@univerjs-pro/mcp-ui 0.10.11 → 0.10.12-nightly.202510251119

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 (46) 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.css +1 -1
  24. package/lib/index.js +1 -1
  25. package/lib/locale/ca-ES.js +1 -1
  26. package/lib/locale/en-US.js +1 -1
  27. package/lib/locale/es-ES.js +1 -1
  28. package/lib/locale/fa-IR.js +1 -1
  29. package/lib/locale/fr-FR.js +1 -1
  30. package/lib/locale/ko-KR.js +1 -1
  31. package/lib/locale/ru-RU.js +1 -1
  32. package/lib/locale/vi-VN.js +1 -1
  33. package/lib/locale/zh-CN.js +1 -1
  34. package/lib/locale/zh-TW.js +1 -1
  35. package/lib/umd/index.js +1 -1
  36. package/lib/umd/locale/ca-ES.js +1 -1
  37. package/lib/umd/locale/en-US.js +1 -1
  38. package/lib/umd/locale/es-ES.js +1 -1
  39. package/lib/umd/locale/fa-IR.js +1 -1
  40. package/lib/umd/locale/fr-FR.js +1 -1
  41. package/lib/umd/locale/ko-KR.js +1 -1
  42. package/lib/umd/locale/ru-RU.js +1 -1
  43. package/lib/umd/locale/vi-VN.js +1 -1
  44. package/lib/umd/locale/zh-CN.js +1 -1
  45. package/lib/umd/locale/zh-TW.js +1 -1
  46. package/package.json +8 -8
@@ -1 +1 @@
1
- 'use strict';const _0x6a7683=_0x4ed1;function _0x2de9(){const _0xecaae3=['MCP\x20Connecting...','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connection\x20Failed','218589eJcmey','Saving...','60NnxDbf','2934024WmETtK','162116LsvcDm','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','1101048YzAsVZ','API\x20key\x20with\x20Bearer\x20prefix.','Enter\x20your\x20API\x20key','5OUgBBn','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Disconnected','MCP\x20Retrying...','MCP:\x20Network\x20Error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','Save\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','87890ooraSE','Invalid\x20configuration','40578etDPcH','312432tHHNSd','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\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.','117uhhDxL','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Unauthorized','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','Get\x20your\x20API\x20key\x20in\x20seconds'];_0x2de9=function(){return _0xecaae3;};return _0x2de9();}function _0x4ed1(_0x592d54,_0x5544ce){const _0x2de9f2=_0x2de9();return _0x4ed1=function(_0x4ed153,_0x1be448){_0x4ed153=_0x4ed153-0xdb;let _0x35fa14=_0x2de9f2[_0x4ed153];return _0x35fa14;},_0x4ed1(_0x592d54,_0x5544ce);}(function(_0x74367b,_0x5eafc3){const _0x523837=_0x4ed1,_0x58a5cd=_0x74367b();while(!![]){try{const _0x1d69b3=-parseInt(_0x523837(0xe4))/0x1+-parseInt(_0x523837(0xf4))/0x2*(-parseInt(_0x523837(0xe3))/0x3)+parseInt(_0x523837(0xf6))/0x4+parseInt(_0x523837(0x100))/0x5*(-parseInt(_0x523837(0xfd))/0x6)+parseInt(_0x523837(0xf2))/0x7+parseInt(_0x523837(0xf5))/0x8+parseInt(_0x523837(0xe7))/0x9*(-parseInt(_0x523837(0xe1))/0xa);if(_0x1d69b3===_0x5eafc3)break;else _0x58a5cd['push'](_0x58a5cd['shift']());}catch(_0x44ca77){_0x58a5cd['push'](_0x58a5cd['shift']());}}}(_0x2de9,0x3926c));const e={'mcpStatus':{'disconnected':_0x6a7683(0x102),'connecting':_0x6a7683(0xee),'connected':_0x6a7683(0xde),'failed':_0x6a7683(0xf1),'retrying':_0x6a7683(0x109),'unknown':_0x6a7683(0xf8),'unauthorized':_0x6a7683(0xea),'sessionOccupied':_0x6a7683(0x10c),'networkError':_0x6a7683(0x10a),'maxRetriesExceeded':_0x6a7683(0x104),'clickToConnect':_0x6a7683(0xfa),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x6a7683(0xfb),'description':_0x6a7683(0x107),'apiKey':_0x6a7683(0xe8),'apiKeyPlaceholder':_0x6a7683(0xff),'apiKeyHint':_0x6a7683(0xf0),'enableAuth':_0x6a7683(0x106),'enableAuthHint':_0x6a7683(0x105),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x6a7683(0xf9),'configInstructions':_0x6a7683(0xfc),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x6a7683(0xf7),'configStep2':_0x6a7683(0xdf),'configStep3':_0x6a7683(0xe5),'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':_0x6a7683(0xfe),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x6a7683(0xdb),'saving':_0x6a7683(0xf3),'note1':_0x6a7683(0xe9),'note2':_0x6a7683(0xdd),'configSaved':_0x6a7683(0xeb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x6a7683(0xec),'description':_0x6a7683(0xe6),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x6a7683(0xed)},'validation':{'apiKeyRequired':_0x6a7683(0x103),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x6a7683(0xe2),'invalidApiKey':_0x6a7683(0x101)},'connectionStatus':{'disconnected':_0x6a7683(0x108),'connecting':'Connecting...','connected':'Connected','failed':_0x6a7683(0xe0),'retrying':_0x6a7683(0xef)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x6a7683(0xdc),'maxRetriesExceeded':_0x6a7683(0x10b)}}},n=e;module['exports']=n;
1
+ 'use strict';const _0x321bf8=_0x3680;function _0x4cd2(){const _0x4c7211=['MCP\x20Client\x20Configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','784483cpKUWU','1146990WrdFgS','16fWtCLa','MCP\x20Unknown\x20Status','Session\x20ID','176228KxNTaP','25jcVVNJ','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20configure\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Get\x20your\x20API\x20key\x20in\x20seconds','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20Console','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Parameters:','Connecting...','618639AyPJhl','Invalid\x20configuration','Enter\x20your\x20API\x20key','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','Copy\x20the\x20JSON\x20configuration\x20below','Disconnected','60689HFwlPz','Retrying...','Enable\x20Authentication','1877139ikLIZO','Save\x20Configuration','MCP\x20Connection\x20Failed','Connection\x20Failed','MCP:\x20Unauthorized','9kfNyCN','Saving...','Configuration\x20saved\x20successfully','1473816yKZOEy','MCP\x20Connected','Click\x20to\x20connect\x20MCP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20with\x20Bearer\x20prefix.','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required','2nhztSz','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Network\x20Error','Configuration\x20Steps:','Connected'];_0x4cd2=function(){return _0x4c7211;};return _0x4cd2();}function _0x3680(_0x9bc03,_0x3ceaf9){const _0x4cd28f=_0x4cd2();return _0x3680=function(_0x368066,_0x4c7b72){_0x368066=_0x368066-0xb5;let _0x494da1=_0x4cd28f[_0x368066];return _0x494da1;},_0x3680(_0x9bc03,_0x3ceaf9);}(function(_0x5538df,_0xe9b2f9){const _0x5da068=_0x3680,_0x7c4788=_0x5538df();while(!![]){try{const _0x4fe41a=parseInt(_0x5da068(0xc8))/0x1*(parseInt(_0x5da068(0xda))/0x2)+parseInt(_0x5da068(0xc1))/0x3+parseInt(_0x5da068(0xe6))/0x4*(-parseInt(_0x5da068(0xe7))/0x5)+parseInt(_0x5da068(0xd3))/0x6+-parseInt(_0x5da068(0xe1))/0x7*(parseInt(_0x5da068(0xe3))/0x8)+-parseInt(_0x5da068(0xd0))/0x9*(parseInt(_0x5da068(0xe2))/0xa)+parseInt(_0x5da068(0xcb))/0xb;if(_0x4fe41a===_0xe9b2f9)break;else _0x7c4788['push'](_0x7c4788['shift']());}catch(_0xace8e8){_0x7c4788['push'](_0x7c4788['shift']());}}}(_0x4cd2,0x1e4a1));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x321bf8(0xd4),'failed':_0x321bf8(0xcd),'retrying':'MCP\x20Retrying...','unknown':_0x321bf8(0xe4),'unauthorized':_0x321bf8(0xcf),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x321bf8(0xdc),'maxRetriesExceeded':_0x321bf8(0xc4),'clickToConnect':_0x321bf8(0xd5),'clickToConfigure':_0x321bf8(0xb8)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x321bf8(0xdb),'apiKey':_0x321bf8(0xc5),'apiKeyPlaceholder':_0x321bf8(0xc3),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x321bf8(0xca),'enableAuthHint':_0x321bf8(0xbe),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x321bf8(0xdf),'configInstructions':_0x321bf8(0xb7),'configStepTitle':_0x321bf8(0xdd),'configStep1':_0x321bf8(0xc6),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x321bf8(0xe5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x321bf8(0xd7),'configParameters':_0x321bf8(0xbf),'maxRetries':'Max\x20Retries','save':_0x321bf8(0xcc),'saving':_0x321bf8(0xd1),'note1':_0x321bf8(0xb6),'note2':_0x321bf8(0xbc),'configSaved':_0x321bf8(0xd2),'configError':_0x321bf8(0xd8),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x321bf8(0xd6),'univerAiLabel':_0x321bf8(0xbd),'getStarted':_0x321bf8(0xba)},'validation':{'apiKeyRequired':_0x321bf8(0xd9),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x321bf8(0xc2),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x321bf8(0xc7),'connecting':_0x321bf8(0xc0),'connected':_0x321bf8(0xde),'failed':_0x321bf8(0xce),'retrying':_0x321bf8(0xc9)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x321bf8(0xb5),'networkError':_0x321bf8(0xb9),'maxRetriesExceeded':_0x321bf8(0xe0)}}},n=e;module[_0x321bf8(0xbb)]=n;
@@ -1 +1 @@
1
- 'use strict';function _0x24a6(_0x2028f9,_0xff8777){const _0x29b987=_0x29b9();return _0x24a6=function(_0x24a620,_0x7db597){_0x24a620=_0x24a620-0x1c2;let _0x43b45a=_0x29b987[_0x24a620];return _0x43b45a;},_0x24a6(_0x2028f9,_0xff8777);}function _0x29b9(){const _0x49d2d5=['MCP\x20Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','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\x20Configuration','MCP\x20Disconnected','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Parameters:','726PuHbeE','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Copy\x20the\x20JSON\x20configuration\x20below','2833jKKwNA','1105539vMnIcg','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Get\x20your\x20API\x20key\x20in\x20seconds','6403020mmJkZX','API\x20Key','Failed\x20to\x20save\x20configuration','Configuration\x20Steps:','1189971VWEMBO','18155EwApAd','5610650aLLdLn','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','exports','Enter\x20your\x20API\x20key','MCP\x20Connected','API\x20key\x20is\x20required','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Unknown\x20Status','2121wXzKmG','Enable\x20Authentication','MCP\x20Client\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Disconnected','Session\x20ID','Click\x20to\x20configure\x20MCP','Connecting...','MCP:\x20Network\x20Error','5960KWuMHA','API\x20key\x20with\x20Bearer\x20prefix.','22OSyJhA','Click\x20to\x20connect\x20MCP','What\x20is\x20API\x20Key?','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','8BnQTqC','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','406EspeyL','Max\x20Retries','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x29b9=function(){return _0x49d2d5;};return _0x29b9();}const _0xd3dac7=_0x24a6;(function(_0x32373d,_0x3078b5){const _0x1ede7b=_0x24a6,_0xa6993d=_0x32373d();while(!![]){try{const _0x1374cd=-parseInt(_0x1ede7b(0x1d4))/0x1*(-parseInt(_0x1ede7b(0x1c5))/0x2)+-parseInt(_0x1ede7b(0x1d5))/0x3*(-parseInt(_0x1ede7b(0x1c3))/0x4)+-parseInt(_0x1ede7b(0x1de))/0x5*(parseInt(_0x1ede7b(0x1d0))/0x6)+-parseInt(_0x1ede7b(0x1ea))/0x7*(-parseInt(_0x1ede7b(0x1f3))/0x8)+-parseInt(_0x1ede7b(0x1dd))/0x9+parseInt(_0x1ede7b(0x1df))/0xa+-parseInt(_0x1ede7b(0x1f5))/0xb*(parseInt(_0x1ede7b(0x1d9))/0xc);if(_0x1374cd===_0x3078b5)break;else _0xa6993d['push'](_0xa6993d['shift']());}catch(_0x25a2b8){_0xa6993d['push'](_0xa6993d['shift']());}}}(_0x29b9,0x70599));const e={'mcpStatus':{'disconnected':_0xd3dac7(0x1cc),'connecting':'MCP\x20Connecting...','connected':_0xd3dac7(0x1e6),'failed':'MCP\x20Connection\x20Failed','retrying':_0xd3dac7(0x1c8),'unknown':_0xd3dac7(0x1e9),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0xd3dac7(0x1e0),'networkError':_0xd3dac7(0x1f2),'maxRetriesExceeded':_0xd3dac7(0x1ce),'clickToConnect':_0xd3dac7(0x1f6),'clickToConfigure':_0xd3dac7(0x1f0)},'mcpConfig':{'title':_0xd3dac7(0x1cb),'description':_0xd3dac7(0x1d2),'apiKey':_0xd3dac7(0x1da),'apiKeyPlaceholder':_0xd3dac7(0x1e5),'apiKeyHint':_0xd3dac7(0x1e3),'enableAuth':_0xd3dac7(0x1eb),'enableAuthHint':_0xd3dac7(0x1c9),'connectionInfo':_0xd3dac7(0x1ec),'mcpClientConfig':_0xd3dac7(0x1ec),'configInstructions':_0xd3dac7(0x1d6),'configStepTitle':_0xd3dac7(0x1dc),'configStep1':_0xd3dac7(0x1d3),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xd3dac7(0x1ef),'sessionIdDescription':_0xd3dac7(0x1e8),'authorizationDescription':_0xd3dac7(0x1f4),'configParameters':_0xd3dac7(0x1cf),'maxRetries':_0xd3dac7(0x1c6),'save':_0xd3dac7(0x1cd),'saving':'Saving...','note1':_0xd3dac7(0x1c7),'note2':_0xd3dac7(0x1f8),'configSaved':_0xd3dac7(0x1e1),'configError':_0xd3dac7(0x1db),'apiApplyInfo':{'title':_0xd3dac7(0x1f7),'description':_0xd3dac7(0x1ca),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0xd3dac7(0x1d8)},'validation':{'apiKeyRequired':_0xd3dac7(0x1e7),'apiKeyTooShort':_0xd3dac7(0x1d7),'invalidConfig':_0xd3dac7(0x1c2),'invalidApiKey':_0xd3dac7(0x1c4)},'connectionStatus':{'disconnected':_0xd3dac7(0x1ee),'connecting':_0xd3dac7(0x1f1),'connected':'Connected','failed':_0xd3dac7(0x1d1),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0xd3dac7(0x1ed),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0xd3dac7(0x1e2),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0xd3dac7(0x1e4)]=n;
1
+ 'use strict';const _0x1cc0dd=_0x33b5;(function(_0x314f3d,_0x406e64){const _0x392fe5=_0x33b5,_0x44bdd8=_0x314f3d();while(!![]){try{const _0x55e0af=parseInt(_0x392fe5(0x119))/0x1*(-parseInt(_0x392fe5(0x127))/0x2)+-parseInt(_0x392fe5(0x13b))/0x3*(-parseInt(_0x392fe5(0x141))/0x4)+parseInt(_0x392fe5(0x143))/0x5*(-parseInt(_0x392fe5(0x145))/0x6)+parseInt(_0x392fe5(0x132))/0x7+-parseInt(_0x392fe5(0x126))/0x8+parseInt(_0x392fe5(0x139))/0x9*(-parseInt(_0x392fe5(0x140))/0xa)+parseInt(_0x392fe5(0x147))/0xb*(parseInt(_0x392fe5(0x11b))/0xc);if(_0x55e0af===_0x406e64)break;else _0x44bdd8['push'](_0x44bdd8['shift']());}catch(_0x54aa17){_0x44bdd8['push'](_0x44bdd8['shift']());}}}(_0x54cc,0x6de83));function _0x33b5(_0x140931,_0x213640){const _0x54cc2c=_0x54cc();return _0x33b5=function(_0x33b5b9,_0x1e9013){_0x33b5b9=_0x33b5b9-0x117;let _0x2f78cd=_0x54cc2c[_0x33b5b9];return _0x2f78cd;},_0x33b5(_0x140931,_0x213640);}function _0x54cc(){const _0xd70e47=['144108FlBSUr','Max\x20Retries','Session\x20ID','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20is\x20required','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','3510368KknOTh','2976KTgupc','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','Enter\x20your\x20API\x20key','MCP\x20Configuration','Configuration\x20saved\x20successfully','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connection\x20Failed','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1640212lUqNyR','MCP\x20Connected','MCP\x20Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Disconnected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','405KDprnD','MCP:\x20Session\x20ID\x20Occupied','3UGMHWf','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','MCP\x20Client\x20Configuration','Connection\x20Failed','176690onSzkV','1771484PLdVcc','Disconnected','5HBviwb','Enable\x20Authentication','372600CQJwvu','What\x20is\x20API\x20Key?','1155SvAFRR','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enable\x20authentication\x20for\x20secure\x20connections','129omdqMi','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file'];_0x54cc=function(){return _0xd70e47;};return _0x54cc();}const e={'mcpStatus':{'disconnected':_0x1cc0dd(0x136),'connecting':_0x1cc0dd(0x134),'connected':_0x1cc0dd(0x133),'failed':_0x1cc0dd(0x12e),'retrying':'MCP\x20Retrying...','unknown':_0x1cc0dd(0x148),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1cc0dd(0x13a),'networkError':_0x1cc0dd(0x130),'maxRetriesExceeded':_0x1cc0dd(0x123),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1cc0dd(0x121)},'mcpConfig':{'title':_0x1cc0dd(0x12b),'description':_0x1cc0dd(0x117),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x1cc0dd(0x12a),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1cc0dd(0x144),'enableAuthHint':_0x1cc0dd(0x118),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x1cc0dd(0x13e),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x1cc0dd(0x129),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1cc0dd(0x11a),'configStep3':_0x1cc0dd(0x12d),'sessionId':_0x1cc0dd(0x11d),'sessionIdDescription':_0x1cc0dd(0x128),'authorizationDescription':_0x1cc0dd(0x12f),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x1cc0dd(0x11c),'save':'Save\x20Configuration','saving':_0x1cc0dd(0x138),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1cc0dd(0x131),'configSaved':_0x1cc0dd(0x12c),'configError':_0x1cc0dd(0x122),'apiApplyInfo':{'title':_0x1cc0dd(0x146),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x1cc0dd(0x125)},'validation':{'apiKeyRequired':_0x1cc0dd(0x120),'apiKeyTooShort':_0x1cc0dd(0x137),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1cc0dd(0x142),'connecting':_0x1cc0dd(0x13d),'connected':_0x1cc0dd(0x124),'failed':_0x1cc0dd(0x13f),'retrying':_0x1cc0dd(0x11e)},'connectionError':{'unauthorized':_0x1cc0dd(0x13c),'sessionOccupied':_0x1cc0dd(0x11f),'networkError':_0x1cc0dd(0x135),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module['exports']=n;
@@ -1 +1 @@
1
- 'use strict';const _0x2e0218=_0x2d4a;function _0x2d4a(_0x45d33a,_0x3a1e6a){const _0x49458e=_0x4945();return _0x2d4a=function(_0x2d4aa9,_0x273a34){_0x2d4aa9=_0x2d4aa9-0xb6;let _0x2fcd64=_0x49458e[_0x2d4aa9];return _0x2fcd64;},_0x2d4a(_0x45d33a,_0x3a1e6a);}(function(_0x362865,_0x51cb57){const _0x4116b6=_0x2d4a,_0x2020d9=_0x362865();while(!![]){try{const _0x163031=parseInt(_0x4116b6(0xda))/0x1*(parseInt(_0x4116b6(0xd9))/0x2)+parseInt(_0x4116b6(0xdf))/0x3*(parseInt(_0x4116b6(0xc8))/0x4)+parseInt(_0x4116b6(0xd0))/0x5+parseInt(_0x4116b6(0xe4))/0x6*(parseInt(_0x4116b6(0xc6))/0x7)+-parseInt(_0x4116b6(0xea))/0x8+parseInt(_0x4116b6(0xbd))/0x9+-parseInt(_0x4116b6(0xe2))/0xa*(parseInt(_0x4116b6(0xe9))/0xb);if(_0x163031===_0x51cb57)break;else _0x2020d9['push'](_0x2020d9['shift']());}catch(_0x359819){_0x2020d9['push'](_0x2020d9['shift']());}}}(_0x4945,0xa4afa));function _0x4945(){const _0xe91eb6=['1787613CcbxEw','API\x20密钥长度至少需要\x2010\x20位','网络连接错误,请检查您的网络连接','970EIOAzc','连接中...','6581022nQBXzP','未连接','几秒钟内获取您的\x20API\x20密钥','配置参数:','MCP:\x20未授权','456038TBtCWJ','2997496xsXeyh','启用身份验证以获得安全连接','配置\x20MCP\x20使用\x20AI\x20操作电子表格','权限验证失败,请检查您的\x20API\x20密钥','API\x20密钥无效,请检查密钥是否正确','复制以下\x20JSON\x20配置','MCP\x20配置','保存配置','会话\x20ID\x20已被占用,请稍后再试','11563920WYAUWU','请输入您的\x20API\x20密钥','配置保存失败','MCP\x20重连中...','exports','配置更改将立即生效','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','连接失败','最大重试次数','7pBynXZ','MCP\x20连接失败','4DlbCzp','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP:\x20网络错误','点击连接\x20MCP','重启您的\x20MCP\x20客户端以使配置生效','重连中...','您的\x20API\x20密钥安全存储在本地存储中','将配置添加到您的\x20MCP\x20客户端设置文件中','5954860cVXJzu','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Univer\x20AI\x20控制台','配置步骤:','MCP:\x20会话\x20ID\x20已被占用','API\x20密钥不能为空','MCP\x20已断开','点击配置\x20MCP','配置保存成功','4306dJnrSR','419AIPyPK','配置无效','什么是\x20API\x20密钥?','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP\x20客户端配置'];_0x4945=function(){return _0xe91eb6;};return _0x4945();}const e={'mcpStatus':{'disconnected':_0x2e0218(0xd6),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':_0x2e0218(0xc7),'retrying':_0x2e0218(0xc0),'unknown':'MCP\x20状态未知','unauthorized':_0x2e0218(0xe8),'sessionOccupied':_0x2e0218(0xd4),'networkError':_0x2e0218(0xca),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x2e0218(0xcb),'clickToConfigure':_0x2e0218(0xd7)},'mcpConfig':{'title':_0x2e0218(0xba),'description':_0x2e0218(0xb6),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x2e0218(0xbe),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x2e0218(0xeb),'connectionInfo':_0x2e0218(0xde),'mcpClientConfig':_0x2e0218(0xde),'configInstructions':_0x2e0218(0xc9),'configStepTitle':_0x2e0218(0xd3),'configStep1':_0x2e0218(0xb9),'configStep2':_0x2e0218(0xcf),'configStep3':_0x2e0218(0xcc),'sessionId':'会话ID','sessionIdDescription':_0x2e0218(0xd1),'authorizationDescription':_0x2e0218(0xdd),'configParameters':_0x2e0218(0xe7),'maxRetries':_0x2e0218(0xc5),'save':_0x2e0218(0xbb),'saving':'保存中...','note1':_0x2e0218(0xc2),'note2':_0x2e0218(0xce),'configSaved':_0x2e0218(0xd8),'configError':_0x2e0218(0xbf),'apiApplyInfo':{'title':_0x2e0218(0xdc),'description':_0x2e0218(0xc3),'univerAiLabel':_0x2e0218(0xd2),'getStarted':_0x2e0218(0xe6)},'validation':{'apiKeyRequired':_0x2e0218(0xd5),'apiKeyTooShort':_0x2e0218(0xe0),'invalidConfig':_0x2e0218(0xdb),'invalidApiKey':_0x2e0218(0xb8)},'connectionStatus':{'disconnected':_0x2e0218(0xe5),'connecting':_0x2e0218(0xe3),'connected':'已连接','failed':_0x2e0218(0xc4),'retrying':_0x2e0218(0xcd)},'connectionError':{'unauthorized':_0x2e0218(0xb7),'sessionOccupied':_0x2e0218(0xbc),'networkError':_0x2e0218(0xe1),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};module[_0x2e0218(0xc1)]=e;
1
+ 'use strict';const _0x34d372=_0xf987;(function(_0x1df404,_0x54f0c9){const _0x1d6bb3=_0xf987,_0x4a69b3=_0x1df404();while(!![]){try{const _0xd6a140=-parseInt(_0x1d6bb3(0x210))/0x1+parseInt(_0x1d6bb3(0x217))/0x2*(-parseInt(_0x1d6bb3(0x1ea))/0x3)+parseInt(_0x1d6bb3(0x1fe))/0x4*(-parseInt(_0x1d6bb3(0x1e6))/0x5)+-parseInt(_0x1d6bb3(0x215))/0x6+-parseInt(_0x1d6bb3(0x1f9))/0x7*(-parseInt(_0x1d6bb3(0x204))/0x8)+-parseInt(_0x1d6bb3(0x1fa))/0x9+parseInt(_0x1d6bb3(0x1ed))/0xa*(parseInt(_0x1d6bb3(0x20d))/0xb);if(_0xd6a140===_0x54f0c9)break;else _0x4a69b3['push'](_0x4a69b3['shift']());}catch(_0x36f631){_0x4a69b3['push'](_0x4a69b3['shift']());}}}(_0x5f17,0xbf378));const e={'mcpStatus':{'disconnected':_0x34d372(0x203),'connecting':_0x34d372(0x200),'connected':_0x34d372(0x20b),'failed':_0x34d372(0x20c),'retrying':_0x34d372(0x20f),'unknown':_0x34d372(0x1fb),'unauthorized':_0x34d372(0x205),'sessionOccupied':_0x34d372(0x1ef),'networkError':_0x34d372(0x1ec),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x34d372(0x214)},'mcpConfig':{'title':'MCP\x20配置','description':_0x34d372(0x1f1),'apiKey':_0x34d372(0x202),'apiKeyPlaceholder':_0x34d372(0x1e9),'apiKeyHint':_0x34d372(0x1f4),'enableAuth':_0x34d372(0x209),'enableAuthHint':_0x34d372(0x206),'connectionInfo':_0x34d372(0x208),'mcpClientConfig':_0x34d372(0x208),'configInstructions':_0x34d372(0x211),'configStepTitle':'配置步骤:','configStep1':_0x34d372(0x1ee),'configStep2':_0x34d372(0x1fd),'configStep3':_0x34d372(0x1f6),'sessionId':_0x34d372(0x1f0),'sessionIdDescription':_0x34d372(0x1f7),'authorizationDescription':_0x34d372(0x1f2),'configParameters':'配置参数:','maxRetries':_0x34d372(0x1e7),'save':'保存配置','saving':_0x34d372(0x201),'note1':_0x34d372(0x207),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x34d372(0x1f8),'configError':_0x34d372(0x1fc),'apiApplyInfo':{'title':_0x34d372(0x20e),'description':_0x34d372(0x1f5),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x34d372(0x216),'apiKeyTooShort':_0x34d372(0x1e8),'invalidConfig':_0x34d372(0x1eb),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x34d372(0x1ff),'failed':_0x34d372(0x212),'retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x34d372(0x20a),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x34d372(0x1f3)}}};module[_0x34d372(0x213)]=e;function _0xf987(_0x50cfc0,_0x5a1088){const _0x5f17fc=_0x5f17();return _0xf987=function(_0xf98760,_0x53585f){_0xf98760=_0xf98760-0x1e6;let _0x3f1c2d=_0x5f17fc[_0xf98760];return _0x3f1c2d;},_0xf987(_0x50cfc0,_0x5a1088);}function _0x5f17(){const _0x35e569=['MCP\x20客户端配置','启用身份验证','会话\x20ID\x20已被占用,请稍后再试','MCP\x20已连接','MCP\x20连接失败','12045wmNLZR','什么是\x20API\x20密钥?','MCP\x20重连中...','866741DULfOi','将以下配置添加到您的\x20MCP\x20客户端设置中:','连接失败','exports','点击配置\x20MCP','1941516CuVRNd','API\x20密钥不能为空','8PadUEx','1795135vfKUtq','最大重试次数','API\x20密钥长度至少需要\x2010\x20位','请输入您的\x20API\x20密钥','756393JlCrMh','配置无效','MCP:\x20网络错误','27010gzTxul','复制以下\x20JSON\x20配置','MCP:\x20会话\x20ID\x20已被占用','会话ID','配置\x20MCP\x20使用\x20AI\x20操作电子表格','带有\x20Bearer\x20前缀的\x20API\x20密钥。','超出最大重试次数,请稍后再试','您的\x20API\x20密钥将在此浏览器中本地存储','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','重启您的\x20MCP\x20客户端以使配置生效','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置保存成功','49lkIYOW','1612431tHYpQT','MCP\x20状态未知','配置保存失败','将配置添加到您的\x20MCP\x20客户端设置文件中','12hWnKOU','已连接','MCP\x20连接中...','保存中...','API\x20密钥','MCP\x20已断开','1463680UpIapo','MCP:\x20未授权','启用身份验证以获得安全连接','配置更改将立即生效'];_0x5f17=function(){return _0x35e569;};return _0x5f17();}
@@ -1 +1 @@
1
- 'use strict';const _0x17d821=_0x3801;function _0x5488(){const _0x20368d=['MCP\x20Disconnected','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','568TxJASv','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Failed\x20to\x20save\x20configuration','MCP\x20Connected','Enable\x20authentication\x20for\x20secure\x20connections','Connection\x20Failed','36939QGCEmv','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:\x20Session\x20ID\x20Occupied','Configuration\x20Parameters:','Invalid\x20configuration','4WLsFwG','Max\x20Retries','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required','Saving...','MCP\x20Unknown\x20Status','exports','API\x20Key','5804508jQWWHU','Configuration\x20Steps:','MCP\x20Connecting...','MCP\x20Configuration','157360gGEJdR','Session\x20ID','476701cCkNdT','Retrying...','MCP\x20Connection\x20Failed','Disconnected','24116463KXIzPf','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','657633OJMWfh','Get\x20your\x20API\x20key\x20in\x20seconds','9580GXOoCw'];_0x5488=function(){return _0x20368d;};return _0x5488();}function _0x3801(_0x6045d3,_0x5df5d7){const _0x5488ac=_0x5488();return _0x3801=function(_0x3801ee,_0x5241db){_0x3801ee=_0x3801ee-0xaa;let _0x5cca8d=_0x5488ac[_0x3801ee];return _0x5cca8d;},_0x3801(_0x6045d3,_0x5df5d7);}(function(_0x36bbe3,_0x583fa5){const _0x321836=_0x3801,_0x3e0d68=_0x36bbe3();while(!![]){try{const _0x387b20=-parseInt(_0x321836(0xc5))/0x1+-parseInt(_0x321836(0xc3))/0x2+-parseInt(_0x321836(0xcc))/0x3+-parseInt(_0x321836(0xb5))/0x4*(parseInt(_0x321836(0xce))/0x5)+-parseInt(_0x321836(0xbf))/0x6+-parseInt(_0x321836(0xb0))/0x7*(parseInt(_0x321836(0xd1))/0x8)+parseInt(_0x321836(0xc9))/0x9;if(_0x387b20===_0x583fa5)break;else _0x3e0d68['push'](_0x3e0d68['shift']());}catch(_0x4a06bc){_0x3e0d68['push'](_0x3e0d68['shift']());}}}(_0x5488,0x88f76));const e={'mcpStatus':{'disconnected':_0x17d821(0xcf),'connecting':_0x17d821(0xc1),'connected':_0x17d821(0xad),'failed':_0x17d821(0xc7),'retrying':'MCP\x20Retrying...','unknown':_0x17d821(0xbc),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x17d821(0xb2),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x17d821(0xd3),'clickToConfigure':_0x17d821(0xd4)},'mcpConfig':{'title':_0x17d821(0xc2),'description':_0x17d821(0xb8),'apiKey':_0x17d821(0xbe),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x17d821(0xcb),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x17d821(0xae),'connectionInfo':_0x17d821(0xd2),'mcpClientConfig':_0x17d821(0xd2),'configInstructions':_0x17d821(0xab),'configStepTitle':_0x17d821(0xc0),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x17d821(0xc4),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x17d821(0xca),'configParameters':_0x17d821(0xb3),'maxRetries':_0x17d821(0xb6),'save':'Save\x20Configuration','saving':_0x17d821(0xbb),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x17d821(0xac),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x17d821(0xb1),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x17d821(0xcd)},'validation':{'apiKeyRequired':_0x17d821(0xba),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x17d821(0xb4),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x17d821(0xc8),'connecting':'Connecting...','connected':_0x17d821(0xaa),'failed':_0x17d821(0xaf),'retrying':_0x17d821(0xc6)},'connectionError':{'unauthorized':_0x17d821(0xb7),'sessionOccupied':_0x17d821(0xd0),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x17d821(0xb9)}}},n=e;module[_0x17d821(0xbd)]=n;
1
+ 'use strict';const _0x4d8531=_0x5e59;(function(_0x24d224,_0x555ad5){const _0x42b831=_0x5e59,_0x34dde2=_0x24d224();while(!![]){try{const _0x4b0302=parseInt(_0x42b831(0x1b9))/0x1*(parseInt(_0x42b831(0x1d7))/0x2)+parseInt(_0x42b831(0x1bf))/0x3+parseInt(_0x42b831(0x1c4))/0x4+parseInt(_0x42b831(0x1bc))/0x5+-parseInt(_0x42b831(0x1dd))/0x6*(-parseInt(_0x42b831(0x1d4))/0x7)+parseInt(_0x42b831(0x1db))/0x8+-parseInt(_0x42b831(0x1bd))/0x9;if(_0x4b0302===_0x555ad5)break;else _0x34dde2['push'](_0x34dde2['shift']());}catch(_0x54527a){_0x34dde2['push'](_0x34dde2['shift']());}}}(_0x10cd,0x602d5));function _0x5e59(_0x2e28e0,_0x4b2ab6){const _0x10cde8=_0x10cd();return _0x5e59=function(_0x5e59c7,_0x38b0d7){_0x5e59c7=_0x5e59c7-0x1ae;let _0x2dfbc7=_0x10cde8[_0x5e59c7];return _0x2dfbc7;},_0x5e59(_0x2e28e0,_0x4b2ab6);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x4d8531(0x1c5),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4d8531(0x1ba),'maxRetriesExceeded':_0x4d8531(0x1b1),'clickToConnect':_0x4d8531(0x1dc),'clickToConfigure':_0x4d8531(0x1d6)},'mcpConfig':{'title':_0x4d8531(0x1b3),'description':_0x4d8531(0x1d5),'apiKey':_0x4d8531(0x1b8),'apiKeyPlaceholder':_0x4d8531(0x1cb),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4d8531(0x1c9),'enableAuthHint':_0x4d8531(0x1d9),'connectionInfo':_0x4d8531(0x1c0),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4d8531(0x1af),'configStepTitle':_0x4d8531(0x1b2),'configStep1':_0x4d8531(0x1be),'configStep2':_0x4d8531(0x1c3),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4d8531(0x1bb),'sessionIdDescription':_0x4d8531(0x1cd),'authorizationDescription':_0x4d8531(0x1d2),'configParameters':_0x4d8531(0x1c1),'maxRetries':_0x4d8531(0x1e0),'save':_0x4d8531(0x1d3),'saving':_0x4d8531(0x1b4),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4d8531(0x1ce),'configSaved':_0x4d8531(0x1da),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4d8531(0x1df),'description':_0x4d8531(0x1d8),'univerAiLabel':_0x4d8531(0x1b6),'getStarted':_0x4d8531(0x1c2)},'validation':{'apiKeyRequired':_0x4d8531(0x1b5),'apiKeyTooShort':_0x4d8531(0x1c7),'invalidConfig':_0x4d8531(0x1d0),'invalidApiKey':_0x4d8531(0x1c8)},'connectionStatus':{'disconnected':_0x4d8531(0x1b7),'connecting':_0x4d8531(0x1cc),'connected':_0x4d8531(0x1d1),'failed':'Connection\x20Failed','retrying':_0x4d8531(0x1de)},'connectionError':{'unauthorized':_0x4d8531(0x1ae),'sessionOccupied':_0x4d8531(0x1ca),'networkError':_0x4d8531(0x1c6),'maxRetriesExceeded':_0x4d8531(0x1cf)}}},n=e;function _0x10cd(){const _0x330579=['MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','MCP\x20Configuration','Saving...','API\x20key\x20is\x20required','Univer\x20AI\x20Console','Disconnected','API\x20Key','6ZQnqbR','MCP:\x20Network\x20Error','Session\x20ID','1722675pQIdmE','6178815WoTBvt','Copy\x20the\x20JSON\x20configuration\x20below','5289HdDBNY','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Get\x20your\x20API\x20key\x20in\x20seconds','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','167772HAqLYb','MCP\x20Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enter\x20your\x20API\x20key','Connecting...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','Connected','API\x20key\x20with\x20Bearer\x20prefix.','Save\x20Configuration','159509KJCPiy','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20configure\x20MCP','171718wUyQlx','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20saved\x20successfully','869760edusGa','Click\x20to\x20connect\x20MCP','18dTdzKN','Retrying...','What\x20is\x20API\x20Key?','Max\x20Retries','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','exports'];_0x10cd=function(){return _0x330579;};return _0x10cd();}module[_0x4d8531(0x1b0)]=n;
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x4d8f51=_0x19b5;(function(_0x300f26,_0x1cd1c7){var _0x48561f=_0x19b5,_0x23860a=_0x300f26();while(!![]){try{var _0x47a6c8=parseInt(_0x48561f(0x145))/0x1*(-parseInt(_0x48561f(0x17c))/0x2)+-parseInt(_0x48561f(0x1fc))/0x3+parseInt(_0x48561f(0x1a9))/0x4+-parseInt(_0x48561f(0x13f))/0x5*(-parseInt(_0x48561f(0x14b))/0x6)+-parseInt(_0x48561f(0x19b))/0x7*(parseInt(_0x48561f(0x121))/0x8)+-parseInt(_0x48561f(0x1d9))/0x9*(parseInt(_0x48561f(0x1a7))/0xa)+parseInt(_0x48561f(0x19e))/0xb;if(_0x47a6c8===_0x1cd1c7)break;else _0x23860a['push'](_0x23860a['shift']());}catch(_0x500b6a){_0x23860a['push'](_0x23860a['shift']());}}}(_0x4d38,0xa899b));var we=Object[_0x4d8f51(0xe6)],Ee=(_0x2f08b2,_0x44fd16,_0x442ceb)=>_0x44fd16 in _0x2f08b2?we(_0x2f08b2,_0x44fd16,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x442ceb}):_0x2f08b2[_0x44fd16]=_0x442ceb,S=(_0x2b3014,_0x2f504a,_0x31b5bc)=>Ee(_0x2b3014,typeof _0x2f504a!='symbol'?_0x2f504a+'':_0x2f504a,_0x31b5bc);import{LocaleService as _0x4e1c5e,Inject as _0x3b0792,Injector as _0x411d26,IConfigService as _0x1ac548,ILocalStorageService as _0xc9fca9,ILogService as _0x4cfa88,Disposable as _0x428065,CommandType as _0x258e53,ICommandService as _0x1d64a9,DependentOn as _0x29f989,Plugin as _0x5d9bb9,merge as _0x5ce5aa}from'@univerjs/core';import{jsxs as _0x3e91a3,jsx as _0x545b8f}from'react/jsx-runtime';import{MCPConnectionStatus as _0x222185,MCPConnectionError as _0x15ebfc,MCPConnectionController as _0x44417d,MCP_PLUGIN_CONFIG_KEY as _0x118351,UniverMCPPlugin as _0x658713}from'@univerjs-pro/mcp';import{Input as _0x5ea6cf,Button as _0x170022,MessageType as _0x2d3162,Tooltip as _0x5d6c61,clsx as _0x2dc55a}from'@univerjs/design';import{useDependency as _0x4f1abc,useObservable as _0xb4b57b,IUIPartsService as _0x48c0c0,IDialogService as _0xabbea1,IMessageService as _0x10be1c,ComponentManager as _0x2cfcc6,connectInjector as _0x342000,BuiltInUIPart as _0x1eea1b,MenuItemType as _0x15fbbd,RibbonStartGroup as _0x56f0cf,IMenuManagerService as _0x21e6bc}from'@univerjs/ui';import{BehaviorSubject as _0x44dd94}from'rxjs';import{forwardRef as _0x3ff9b4,useRef as _0x434671,createElement as _0x30deec,useState as _0x6a6c9a,useCallback as _0x86bd20}from'react';import{ISocketService as _0x421c1d,WebSocketService as _0x56bed1}from'@univerjs/network';var f=function(){var _0x435e1c=_0x4d8f51;return f=Object[_0x435e1c(0xcc)]||function(_0x3bf003){var _0x358dad=_0x435e1c;for(var _0x30daf7,_0x4583ed=0x1,_0x71013=arguments[_0x358dad(0x217)];_0x4583ed<_0x71013;_0x4583ed++){_0x30daf7=arguments[_0x4583ed];for(var _0x40e718 in _0x30daf7)Object[_0x358dad(0x1f3)]['hasOwnProperty'][_0x358dad(0x13b)](_0x30daf7,_0x40e718)&&(_0x3bf003[_0x40e718]=_0x30daf7[_0x40e718]);}return _0x3bf003;},f[_0x435e1c(0x122)](this,arguments);},Ye=function(_0x192068,_0x5125c7){var _0x19dffe=_0x4d8f51,_0x2faf00={};for(var _0x2735ec in _0x192068)Object[_0x19dffe(0x1f3)][_0x19dffe(0x137)][_0x19dffe(0x13b)](_0x192068,_0x2735ec)&&_0x5125c7['indexOf'](_0x2735ec)<0x0&&(_0x2faf00[_0x2735ec]=_0x192068[_0x2735ec]);if(_0x192068!=null&&typeof Object[_0x19dffe(0x19a)]=='function'){for(var _0x8224b1=0x0,_0x2735ec=Object['getOwnPropertySymbols'](_0x192068);_0x8224b1<_0x2735ec[_0x19dffe(0x217)];_0x8224b1++)_0x5125c7[_0x19dffe(0x16f)](_0x2735ec[_0x8224b1])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x192068,_0x2735ec[_0x8224b1])&&(_0x2faf00[_0x2735ec[_0x8224b1]]=_0x192068[_0x2735ec[_0x8224b1]]);}return _0x2faf00;},w=_0x3ff9b4(function(_0xbd563d,_0x1547ce){var _0x583a4b=_0x4d8f51,_0x4ff4c5=_0xbd563d[_0x583a4b(0x15b)],_0x3b9c2c=_0xbd563d['id'],_0x5f0a4f=_0xbd563d[_0x583a4b(0xe5)],_0x1351df=_0xbd563d[_0x583a4b(0x1b4)],_0x5bce56=Ye(_0xbd563d,[_0x583a4b(0x15b),'id',_0x583a4b(0xe5),'extend']),_0x5f17b7=_0x583a4b(0x17b)[_0x583a4b(0x10a)](_0x3b9c2c,'\x20')['concat'](_0x5f0a4f||'')[_0x583a4b(0xcf)](),_0x3d21ee=_0x434671('_'[_0x583a4b(0x10a)](Xe()));return ue(_0x4ff4c5,''[_0x583a4b(0x10a)](_0x3b9c2c),{'defIds':_0x4ff4c5[_0x583a4b(0x20c)],'idSuffix':_0x3d21ee[_0x583a4b(0x192)]},f({'ref':_0x1547ce,'className':_0x5f17b7},_0x5bce56),_0x1351df);});function ue(_0x2e8bd7,_0x571721,_0x488862,_0x2b1e2b,_0x1baa0e){var _0x1d4bf7=_0x4d8f51;return _0x30deec(_0x2e8bd7[_0x1d4bf7(0xd5)],f(f({'key':_0x571721},Ze(_0x2e8bd7,_0x488862,_0x1baa0e)),_0x2b1e2b),(qe(_0x2e8bd7,_0x488862)[_0x1d4bf7(0x105)]||[])[_0x1d4bf7(0xf3)](function(_0x6b3e89,_0x36d848){var _0xbd9fdc=_0x1d4bf7;return ue(_0x6b3e89,''[_0xbd9fdc(0x10a)](_0x571721,'-')[_0xbd9fdc(0x10a)](_0x2e8bd7[_0xbd9fdc(0xd5)],'-')[_0xbd9fdc(0x10a)](_0x36d848),_0x488862,void 0x0,_0x1baa0e);}));}function Ze(_0x136072,_0x1b77c5,_0x420af0){var _0x545302=_0x4d8f51,_0x104cef=f({},_0x136072[_0x545302(0x195)]);_0x420af0!=null&&_0x420af0[_0x545302(0xaf)]&&_0x104cef[_0x545302(0x1bf)]==='colorChannel1'&&(_0x104cef['fill']=_0x420af0[_0x545302(0xaf)]),_0x136072[_0x545302(0xd5)]==='mask'&&_0x104cef['id']&&(_0x104cef['id']=_0x104cef['id']+_0x1b77c5[_0x545302(0x159)]),Object['entries'](_0x104cef)[_0x545302(0x12d)](function(_0x5107ba){var _0x44751b=_0x545302,_0x42b116=_0x5107ba[0x0],_0x3ba1ff=_0x5107ba[0x1];_0x42b116==='mask'&&typeof _0x3ba1ff==_0x44751b(0x108)&&(_0x104cef[_0x42b116]=_0x3ba1ff['replace'](/url\(#(.*)\)/,_0x44751b(0x10b)[_0x44751b(0x10a)](_0x1b77c5[_0x44751b(0x159)],')')));});var _0x408421=_0x1b77c5['defIds'];return!_0x408421||_0x408421[_0x545302(0x217)]===0x0||(_0x136072[_0x545302(0xd5)]==='use'&&_0x104cef['xlink:href']&&(_0x104cef['xlink:href']=_0x104cef[_0x545302(0xeb)]+_0x1b77c5['idSuffix']),Object['entries'](_0x104cef)[_0x545302(0x12d)](function(_0x261752){var _0x3045eb=_0x545302,_0x908b51=_0x261752[0x0],_0x182d8b=_0x261752[0x1];typeof _0x182d8b==_0x3045eb(0x108)&&(_0x104cef[_0x908b51]=_0x182d8b[_0x3045eb(0x155)](/url\(#(.*)\)/,_0x3045eb(0x10b)['concat'](_0x1b77c5['idSuffix'],')')));})),_0x104cef;}function _0x19b5(_0x10b3da,_0x28640){var _0x4d3893=_0x4d38();return _0x19b5=function(_0x19b599,_0x5f18b5){_0x19b599=_0x19b599-0xaa;var _0x1eb620=_0x4d3893[_0x19b599];return _0x1eb620;},_0x19b5(_0x10b3da,_0x28640);}function qe(_0x137eda,_0x3cfa28){var _0x2fed02=_0x4d8f51,_0x53a367,_0x2612d2=_0x3cfa28[_0x2fed02(0x20c)];return!_0x2612d2||_0x2612d2[_0x2fed02(0x217)]===0x0?_0x137eda:_0x137eda[_0x2fed02(0xd5)]===_0x2fed02(0x184)&&(!((_0x53a367=_0x137eda[_0x2fed02(0x105)])===null||_0x53a367===void 0x0)&&_0x53a367[_0x2fed02(0x217)])?f(f({},_0x137eda),{'children':_0x137eda[_0x2fed02(0x105)]['map'](function(_0x51fd39){var _0xb4f3ad=_0x2fed02;return typeof _0x51fd39[_0xb4f3ad(0x195)]['id']=='string'&&_0x2612d2&&_0x2612d2[_0xb4f3ad(0x1f1)](_0x51fd39[_0xb4f3ad(0x195)]['id'])?f(f({},_0x51fd39),{'attrs':f(f({},_0x51fd39[_0xb4f3ad(0x195)]),{'id':_0x51fd39[_0xb4f3ad(0x195)]['id']+_0x3cfa28[_0xb4f3ad(0x159)]})}):_0x51fd39;})}):_0x137eda;}function Xe(){var _0x346a14=_0x4d8f51;return Math[_0x346a14(0x1c6)]()[_0x346a14(0x213)](0x24)['substring'](0x2,0x8);}w[_0x4d8f51(0xc1)]=_0x4d8f51(0x179);var Je={'tag':_0x4d8f51(0xc7),'attrs':{'xmlns':_0x4d8f51(0x1e1),'fill':_0x4d8f51(0x113),'viewBox':_0x4d8f51(0x112),'width':_0x4d8f51(0xea),'height':_0x4d8f51(0xea)},'children':[{'tag':_0x4d8f51(0x1ed),'attrs':{'fill':'currentColor','d':_0x4d8f51(0xd8),'fillRule':_0x4d8f51(0x1f2),'clipRule':'evenodd'}}]},le=_0x3ff9b4(function(_0x390591,_0x420fb3){var _0x3c411b=_0x4d8f51;return _0x30deec(w,Object[_0x3c411b(0xcc)]({},_0x390591,{'id':_0x3c411b(0x1da),'ref':_0x420fb3,'icon':Je}));});function _0x4d38(){var _0x3b7fc0=['univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','_localeService','toString','javascript:void(0)','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpStatus.networkError','length','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','DISCONNECTED','API\x20key\x20with\x20Bearer\x20prefix.','apiKey','_initializeCommands','colorChannel1','mcpConfig.configInstructions','_config','connectionStatus$','未连接','\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','mcpConfig.connectionError.networkError','subscribeConfigValue$','translate(.97)','mcpConfig.save','MAX_RETRIES_EXCEEDED','mcpConfig.validation.invalidApiKey','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','API\x20密钥','next','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpConfig.connectionError.maxRetriesExceeded','connectionError$','displayName','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','_messageService','univer-text-white','MCP_UI_PLUGIN','warn','svg','配置无效','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','mcp-ui.command.openConfigPanel','_injector','assign','show','univer-text-green-500','trim','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Success','Close','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','tag','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','error','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-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','您的\x20API\x20密钥安全存储在本地存储中','setConfig','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP\x20状态未知','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','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','_initAutoConnect','mcpStatus.clickToConfigure','_menuManagerService','mcpConfig.title','_dialogService','className','defineProperty','disposeWithMe','mcpConfig.connectionError.sessionOccupied','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','1em','xlink:href','Configuration\x20Parameters:','NETWORK_ERROR','API\x20key\x20is\x20required','sessionId$','univer-bg-red-500','white','mcpConfig.connectionStatus.retrying','map','CONNECTED','OnLineIcon','univer.plus','mcpConfig.connectionStatus.failed','将配置添加到您的\x20MCP\x20客户端设置文件中','Bearer\x20','配置保存失败','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-mr-2\x20univer-flex\x20univer-text-xl','span','https://console.univer.ai','isValid','univer-min-w-0\x20univer-flex-1','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-bg-gray-500','get','children','保存中...','M0\x200H16V16H0z','string','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','concat','url(#$1','API\x20密钥长度至少需要\x2010\x20位','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Steps:','close-small-single','BUTTON','HEADER_MENU','0\x200\x2016\x2016','none','univer-bg-blue-500','clipPath','off-line-icon','Univer\x20AI\x20控制台','MCP\x20重连中...','registerCommand','\x20-\x20','on-line-icon','COMMAND','mcpConfig.validation.apiKeyTooShort','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','配置保存成功','MCP\x20已连接','1718536PYJvGh','apply','\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','round','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','会话\x20ID\x20已被占用,请稍后再试','univer-bg-green-500','连接中...','_validateConfig','OTHERS','forEach','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-font-medium','mcpConfig.note2','univer-flex-shrink-0\x20univer-text-red-500','MCP\x20Unknown\x20Status','MCP:\x20超出最大重试次数','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpServerUrl','hasOwnProperty','https://console.univer.plus','0\x200\x2017\x2017','_createConfigPanelComponent','call','subscribe','mcpConfig.connectionError.unauthorized','<API_KEY>','12185xIcSeW','mcpConfig.apiKey','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','errorMessage','Connection\x20Failed','mcpConfig.connectionStatus.connecting','1BhSOqR','getConfig','_initializeMenus','RETRYING','MCP:\x20Network\x20Error','_connectionController','2460DLyqMk','_componentManager','univer-flex-1','MCPConfigPanel','MCP\x20客户端配置','MCP\x20连接中...','mcpStatus.maxRetriesExceeded','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','noopener\x20noreferrer','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','replace','univer-space-y-2','保存配置','网络连接错误,请检查您的网络连接','idSuffix','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','icon','pluginName','help-single','univer-text-gray-500','univer-text-xs\x20univer-text-gray-500','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','SESSION_ID_OCCUPIED','url(#off-line-icon_clip0_910_343)','最大重试次数','register','close','value','univer-text-sm\x20univer-text-gray-500','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','MCP\x20Connection\x20Failed','mcpStatus.unknown','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','配置步骤:','What\x20is\x20API\x20Key?','bottom','indexOf','API\x20密钥无效,请检查密钥是否正确','mcpConfig.apiKeyHint','OffLineIcon','\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','getOwnPropertyDescriptor','mcpConfig.validation.apiKeyRequired','_uiPartsService','MCP:\x20Session\x20ID\x20Occupied','showDeveloperTools','UniverIcon','MCP\x20Retrying...','univerjs-icon\x20univerjs-icon-','4694NWZAdI','配置\x20MCP\x20使用\x20AI\x20操作电子表格','重启您的\x20MCP\x20客户端以使配置生效','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer-flex\x20univer-items-center\x20univer-gap-3','univer.ai','_configService','Configuration\x20Notes:','defs','_loadStoredApiKey','CONNECTING','push','Save\x20Configuration','registerComponent','mcpStatus.clickToConnect','配置参数:','API\x20密钥不能为空','currentColor','0\x200\x2017\x2016','{\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=','__setCustomHeaders','mcpConfig.configStepTitle','current','mcpStatus.connected','off-line-icon_clip0_910_343','attrs','Copy\x20the\x20JSON\x20configuration\x20below','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','复制以下\x20JSON\x20配置','url(#on-line-icon_clip0_910_349)','getOwnPropertySymbols','35VSJuMm','Disconnected','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','20661311gjXitW','mcpConfig.configStep3','MCP\x20Configuration','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-text-sm\x20univer-font-medium','removeItem','mcpConfig.apiApplyInfo.title','启用身份验证以获得安全连接','mcpConfig.sessionIdDescription','3970OxNqBM','配置更改将立即生效','619244QCMnKe','div','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Saving...','mcpConfig.configParameters','mcpStatus.connecting','mcpConfig.connectionStatus.connected','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','mcp.apiKey','\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','univer-flex\x20univer-gap-3','extend','univer-space-y-3','mcpConfig.note1','_mcpCoreConfig$','启用身份验证','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','MCP\x20连接失败','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','点击连接\x20MCP','连接失败','fill','Click\x20to\x20connect\x20MCP','Connecting...','_localStorageService','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-text-blue-600','univer-flex-shrink-0\x20univer-text-blue-500','random','_config$','已连接','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','mcpStatus.failed','MCP:\x20会话\x20ID\x20已被占用','on-line-icon_clip0_910_349','MCP:\x20Unauthorized','mcpConfig.saving','univer-text-yellow-500','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCP\x20已断开','NONE','MCP:\x20未授权','_commandService','_logService','mcpConfig.connectionStatus.disconnected','\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','univer-space-y-5','21447qUHcTU','check-mark-icon','univer-text-red-500','open','Session\x20ID','univer-text-gray-400','label','mcpConfig.connectionInfo','http://www.w3.org/2000/svg','showConfigPanel','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','_initConfigSync','text','enableAutoConnect','univer-text-xs\x20univer-text-gray-600','univer_session_id:','什么是\x20API\x20密钥?','FAILED','MCP\x20Client\x20Configuration','mcpConfig.apiApplyInfo.univerAiLabel','path','_registerComponent','univer-space-y-4','off','includes','evenodd','prototype','_loading$','Connected','Enable\x20Authentication','mergeMenu','mcpConfig.validation.invalidConfig','CloseSmallSingle','UNAUTHORIZED','getItem','957636AWApwY','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','权限验证失败,请检查您的\x20API\x20密钥','API\x20Key','MenuIcon','M5.21243\x2012.287L11.8791\x205.62036','univer-flex\x20univer-items-center\x20univer-gap-2','pre','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Failed\x20to\x20save\x20configuration','Error','MCP:\x20Max\x20Retries\x20Exceeded','mcpConfig.apiApplyInfo.getStarted','_handleConfigure','_mcpConnectionController','Invalid\x20configuration','defIds','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','请输入您的\x20API\x20密钥','_apiKey$','会话ID'];_0x4d38=function(){return _0x3b7fc0;};return _0x4d38();}le[_0x4d8f51(0xc1)]='CheckMarkIcon';var Qe={'tag':_0x4d8f51(0xc7),'attrs':{'xmlns':_0x4d8f51(0x1e1),'fill':_0x4d8f51(0x113),'viewBox':_0x4d8f51(0x139),'width':_0x4d8f51(0xea),'height':'1em'},'children':[{'tag':_0x4d8f51(0x1ed),'attrs':{'stroke':_0x4d8f51(0x18d),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x4d8f51(0x124),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':_0x4d8f51(0x1ed),'attrs':{'stroke':_0x4d8f51(0x18d),'d':_0x4d8f51(0x201),'strokeLinecap':_0x4d8f51(0x124),'strokeLinejoin':_0x4d8f51(0x124),'strokeWidth':1.33}}]},ve=_0x3ff9b4(function(_0x1c18cd,_0x5dc5d4){var _0x161f58=_0x4d8f51;return _0x30deec(w,Object[_0x161f58(0xcc)]({},_0x1c18cd,{'id':_0x161f58(0x10f),'ref':_0x5dc5d4,'icon':Qe}));});ve['displayName']=_0x4d8f51(0x1f9);var en={'tag':_0x4d8f51(0xc7),'attrs':{'xmlns':_0x4d8f51(0x1e1),'fill':_0x4d8f51(0x113),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x4d8f51(0xea)},'children':[{'tag':_0x4d8f51(0x1ed),'attrs':{'fill':_0x4d8f51(0x18d),'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':_0x4d8f51(0x1ed),'attrs':{'fill':_0x4d8f51(0x18d),'d':'M8.79964\x2011.5573C8.79964\x2011.9986\x208.44192\x2012.3563\x208.00065\x2012.3563C7.55938\x2012.3563\x207.20166\x2011.9986\x207.20166\x2011.5573C7.20166\x2011.116\x207.55938\x2010.7583\x208.00065\x2010.7583C8.44192\x2010.7583\x208.79964\x2011.116\x208.79964\x2011.5573Z'}},{'tag':_0x4d8f51(0x1ed),'attrs':{'fill':'currentColor','d':_0x4d8f51(0x1e3),'fillRule':_0x4d8f51(0x1f2),'clipRule':_0x4d8f51(0x1f2)}}]},de=_0x3ff9b4(function(_0x476d26,_0x2ee098){var _0x2b8cc9=_0x4d8f51;return _0x30deec(w,Object['assign']({},_0x476d26,{'id':_0x2b8cc9(0x15d),'ref':_0x2ee098,'icon':en}));});de[_0x4d8f51(0xc1)]='HelpSingle';var nn={'tag':_0x4d8f51(0xc7),'attrs':{'xmlns':_0x4d8f51(0x1e1),'fill':_0x4d8f51(0x113),'viewBox':_0x4d8f51(0x112),'width':'1em','height':_0x4d8f51(0xea)},'children':[{'tag':'g','attrs':{'clipPath':_0x4d8f51(0x162)},'children':[{'tag':_0x4d8f51(0x1ed),'attrs':{'stroke':_0x4d8f51(0x18d),'d':_0x4d8f51(0xc2),'strokeLinecap':_0x4d8f51(0x124),'strokeLinejoin':_0x4d8f51(0x124),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4d8f51(0x115),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4d8f51(0x1ed),'attrs':{'fill':_0x4d8f51(0xf1),'d':_0x4d8f51(0x107)}}]}]}],'defIds':[_0x4d8f51(0x194)]},fe=_0x3ff9b4(function(_0x20079f,_0x232883){var _0x315c60=_0x4d8f51;return _0x30deec(w,Object[_0x315c60(0xcc)]({},_0x20079f,{'id':_0x315c60(0x116),'ref':_0x232883,'icon':nn}));});fe['displayName']=_0x4d8f51(0x172);var rn={'tag':_0x4d8f51(0xc7),'attrs':{'xmlns':_0x4d8f51(0x1e1),'fill':'none','viewBox':_0x4d8f51(0x18e),'width':_0x4d8f51(0xea),'height':_0x4d8f51(0xea)},'children':[{'tag':'g','attrs':{'clipPath':_0x4d8f51(0x199)},'children':[{'tag':_0x4d8f51(0x1ed),'attrs':{'stroke':_0x4d8f51(0x18d),'d':_0x4d8f51(0x1b0),'strokeLinecap':_0x4d8f51(0x124),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4d8f51(0x184),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4d8f51(0x1cc)},'children':[{'tag':_0x4d8f51(0x1ed),'attrs':{'fill':'white','d':_0x4d8f51(0x107),'transform':_0x4d8f51(0xb7)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},ge=_0x3ff9b4(function(_0x1edf31,_0x2d9bef){var _0x123c80=_0x4d8f51;return _0x30deec(w,Object['assign']({},_0x1edf31,{'id':_0x123c80(0x11b),'ref':_0x2d9bef,'icon':rn}));});ge[_0x4d8f51(0xc1)]=_0x4d8f51(0xf5);function tn(_0x741e31){var _0x1fbb3a=_0x4d8f51,_0x3acfc6,_0x537c9f;const {mcpCoreConfig:_0x2f7225,onSave:_0x15eaae,loading:_0x32f8fc=!0x1,config:_0x532156,connectionStatus$:_0x846f71,connectionError$:_0x1cc2e7,currentApiKey$:_0x45ccaa,currentSessionId$:_0x44c2f9}=_0x741e31,_0x5d12cb=_0x4f1abc(_0x4e1c5e),_0x369525=_0xb4b57b(_0x846f71,_0x222185[_0x1fbb3a(0xab)]),_0x482f42=_0xb4b57b(_0x1cc2e7,_0x15ebfc[_0x1fbb3a(0x1d2)]),_0x13b3f5=_0xb4b57b(_0x44c2f9,''),_0x37b15f=_0xb4b57b(_0x45ccaa,''),[_0x4d9165,_0x105ea9]=_0x6a6c9a(_0x37b15f||''),_0x120d5b=!0x0,_0x222210=_0x532156[_0x1fbb3a(0x178)]&&_0x2f7225[_0x1fbb3a(0x136)]&&(_0x2f7225[_0x1fbb3a(0x136)]['includes']('univer.plus')||_0x2f7225[_0x1fbb3a(0x136)][_0x1fbb3a(0x1f1)]('univer.ai')),_0x469847=(_0x3acfc6=_0x2f7225['mcpServerUrl'])==null?void 0x0:_0x3acfc6['includes'](_0x1fbb3a(0xf6)),_0x22c905=(_0x537c9f=_0x2f7225[_0x1fbb3a(0x136)])==null?void 0x0:_0x537c9f[_0x1fbb3a(0x1f1)](_0x1fbb3a(0x181)),_0x5ec886=_0x469847?_0x1fbb3a(0x138):_0x1fbb3a(0xff),_0x31bf7a=_0x532156[_0x1fbb3a(0x178)]&&(_0x469847||_0x22c905),[_0xea5956,_0x10b7a6]=_0x6a6c9a(!_0x4d9165[_0x1fbb3a(0xcf)]()),_0x4507a6=(_0x42749a,_0x187344)=>{var _0x2010ed=_0x1fbb3a;if(_0x187344===_0x15ebfc[_0x2010ed(0x1fa)])return _0x2010ed(0x19d);switch(_0x42749a){case _0x222185['CONNECTED']:return _0x2010ed(0x211);case _0x222185[_0x2010ed(0x186)]:case _0x222185[_0x2010ed(0x148)]:return _0x2010ed(0x12f);case _0x222185[_0x2010ed(0x1ea)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x2010ed(0xbb);}},_0x41986e=(_0x497691,_0x4c608c)=>{var _0x2ed4f0=_0x1fbb3a;if(_0x4c608c===_0x15ebfc['UNAUTHORIZED'])return _0x2ed4f0(0xf0);switch(_0x497691){case _0x222185[_0x2ed4f0(0xf4)]:return _0x2ed4f0(0x129);case _0x222185[_0x2ed4f0(0x186)]:case _0x222185[_0x2ed4f0(0x148)]:return _0x2ed4f0(0x114);case _0x222185[_0x2ed4f0(0x1ea)]:return _0x2ed4f0(0xf0);default:return _0x2ed4f0(0x103);}},_0x234acb=_0x2b816a=>{var _0x54d3f3=_0x1fbb3a;switch(_0x2b816a){case _0x222185['CONNECTED']:return _0x5d12cb['t'](_0x54d3f3(0x1af));case _0x222185[_0x54d3f3(0x186)]:return _0x5d12cb['t'](_0x54d3f3(0x144));case _0x222185[_0x54d3f3(0x1ea)]:return _0x5d12cb['t'](_0x54d3f3(0xf7));case _0x222185['RETRYING']:return _0x5d12cb['t'](_0x54d3f3(0xf2));default:return _0x5d12cb['t'](_0x54d3f3(0x1d6));}},_0x1a1867=_0x3ee272=>{var _0xf42d1c=_0x1fbb3a;switch(_0x3ee272){case _0x15ebfc[_0xf42d1c(0x1fa)]:return _0x5d12cb['t'](_0xf42d1c(0x13d));case _0x15ebfc[_0xf42d1c(0x161)]:return _0x5d12cb['t'](_0xf42d1c(0xe8));case _0x15ebfc[_0xf42d1c(0xed)]:return _0x5d12cb['t'](_0xf42d1c(0xb5));case _0x15ebfc[_0xf42d1c(0xb9)]:return _0x5d12cb['t'](_0xf42d1c(0xbf));default:return'';}},_0x24b923=_0x86bd20(()=>{const _0x3872c8={..._0x2f7225,'apiKey':_0x4d9165['trim'](),'enableAuth':_0x120d5b};_0x15eaae(_0x3872c8);},[_0x2f7225,_0x4d9165,_0x120d5b,_0x15eaae]),_0x12a897=_0x4d9165[_0x1fbb3a(0xcf)]()[_0x1fbb3a(0x217)]>0x0;return _0x3e91a3('div',{'className':_0x1fbb3a(0x1b9),'children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x127),'children':_0x3e91a3('div',{'className':_0x1fbb3a(0x180),'children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0xd0),'children':_0x545b8f(_0x1fbb3a(0xfe),{'className':_0x1fbb3a(0xc4),'children':'⚙'})}),_0x545b8f(_0x1fbb3a(0x1aa),{'children':_0x545b8f('p',{'className':_0x1fbb3a(0x167),'children':_0x5d12cb['t']('mcpConfig.description')})})]})}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0xaa),'children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1d7)+_0x4507a6(_0x369525,_0x482f42)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x202),'children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x123)+_0x41986e(_0x369525,_0x482f42)+_0x1fbb3a(0x1b2)}),_0x545b8f('span',{'className':_0x1fbb3a(0x1a2),'children':_0x234acb(_0x369525)})]})}),_0x482f42!==_0x15ebfc[_0x1fbb3a(0x1d2)]&&(_0x369525===_0x222185['FAILED']||_0x482f42===_0x15ebfc['UNAUTHORIZED'])&&_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x12e),'children':_0x3e91a3(_0x1fbb3a(0x1aa),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x545b8f(_0x1fbb3a(0xfe),{'className':_0x1fbb3a(0x132),'children':'⚠️'}),_0x545b8f('p',{'className':_0x1fbb3a(0xdf),'children':_0x1a1867(_0x482f42)})]})})]}),_0x545b8f(_0x1fbb3a(0x1aa),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1d8),'children':[_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x156),'children':[_0x3e91a3(_0x1fbb3a(0x1df),{'className':_0x1fbb3a(0xfc),'children':[_0x545b8f(_0x1fbb3a(0xfe),{'children':'🔑'}),'\x20',_0x5d12cb['t'](_0x1fbb3a(0x140)),_0x545b8f(_0x1fbb3a(0xfe),{'className':'univer-text-red-500','children':'*'}),_0x222210&&_0x545b8f('a',{'href':_0x1fbb3a(0x214),'onClick':()=>_0x10b7a6(!0x0),'className':_0x1fbb3a(0xde),'title':_0x5d12cb['t'](_0x1fbb3a(0x1a4)),'children':_0x545b8f(de,{})})]}),_0x545b8f(_0x5ea6cf,{'type':_0x1fbb3a(0x1e5),'placeholder':_0x5d12cb['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x4d9165,'onChange':_0x105ea9,'disabled':_0x32f8fc,'autoComplete':_0x1fbb3a(0x1f0)}),_0x545b8f('p',{'className':_0x1fbb3a(0x15f),'children':_0x5d12cb['t'](_0x1fbb3a(0x171))})]}),_0x222210&&_0xea5956&&_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1a1),'children':[_0x545b8f('a',{'href':_0x1fbb3a(0x214),'onClick':()=>_0x10b7a6(!0x1),'className':_0x1fbb3a(0xd9),'title':_0x1fbb3a(0xd3),'children':_0x545b8f(ve,{})}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x20d),'children':[_0x545b8f(_0x1fbb3a(0x1aa),{'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':_0x545b8f(_0x1fbb3a(0xfe),{'className':_0x1fbb3a(0x1c4),'children':'🚀'})}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x14d),'children':[_0x545b8f('h4',{'className':_0x1fbb3a(0x204),'children':_0x5d12cb['t'](_0x1fbb3a(0x1a4))}),_0x545b8f('p',{'className':_0x1fbb3a(0x126),'children':_0x5d12cb['t']('mcpConfig.apiApplyInfo.description')}),_0x545b8f('div',{'className':_0x1fbb3a(0xd1),'children':_0x31bf7a&&_0x3e91a3('a',{'href':_0x5ec886,'target':'_blank','rel':_0x1fbb3a(0x153),'className':_0x1fbb3a(0x1c9),'children':[_0x545b8f('span',{'children':'🤖'}),_0x5d12cb['t'](_0x1fbb3a(0x1ec)),_0x545b8f(_0x1fbb3a(0xfe),{'className':_0x1fbb3a(0x1de),'children':'↗'})]})}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x11e),'children':['✨','\x20',_0x5d12cb['t'](_0x1fbb3a(0x208))]})]})]})]}),_0x532156['showDeveloperTools']&&_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0xbe),'children':[_0x3e91a3('h4',{'className':_0x1fbb3a(0xe9),'children':[_0x545b8f(_0x1fbb3a(0xfe),{'children':'🔗'}),'\x20',_0x5d12cb['t'](_0x1fbb3a(0x1e0))]}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1ef),'children':[_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1b5),'children':[_0x545b8f('p',{'className':_0x1fbb3a(0x1e7),'children':_0x5d12cb['t'](_0x1fbb3a(0xb0))}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x156),'children':[_0x545b8f('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5d12cb['t'](_0x1fbb3a(0x191))}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1fd),'children':[_0x3e91a3('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x545b8f('span',{'className':_0x1fbb3a(0x197),'children':'1'}),_0x5d12cb['t']('mcpConfig.configStep1')]}),_0x3e91a3('div',{'className':_0x1fbb3a(0x202),'children':[_0x545b8f('span',{'className':_0x1fbb3a(0x197),'children':'2'}),_0x5d12cb['t']('mcpConfig.configStep2')]}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x202),'children':[_0x545b8f(_0x1fbb3a(0xfe),{'className':_0x1fbb3a(0x197),'children':'3'}),_0x5d12cb['t'](_0x1fbb3a(0x19f))]})]})]})]}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':'univer-space-y-2','children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1ab),'children':'MCP\x20Configuration'}),_0x545b8f('div',{'className':_0x1fbb3a(0xfb),'children':_0x545b8f(_0x1fbb3a(0x203),{'className':_0x1fbb3a(0x168),'children':_0x1fbb3a(0x18f)+_0x13b3f5+_0x1fbb3a(0xb4)+(_0x4d9165||_0x1fbb3a(0x13e))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1b5),'children':[_0x545b8f('div',{'className':_0x1fbb3a(0x1ab),'children':_0x5d12cb['t'](_0x1fbb3a(0x1ad))}),_0x3e91a3('div',{'className':_0x1fbb3a(0x156),'children':[_0x3e91a3('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x215)}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x101),'children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1d0),'children':_0x1fbb3a(0x1e8)}),_0x545b8f('div',{'className':_0x1fbb3a(0x15f),'children':_0x5d12cb['t'](_0x1fbb3a(0x1a6))})]})]}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x3e91a3(_0x1fbb3a(0x1aa),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x545b8f(_0x1fbb3a(0x1aa),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'Authorization:'}),_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x15f),'children':_0x5d12cb['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x545b8f(_0x170022,{'onClick':_0x24b923,'disabled':!_0x12a897||_0x32f8fc,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x32f8fc?_0x3e91a3('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x545b8f(_0x1fbb3a(0xfe),{'children':'⟲'}),_0x5d12cb['t'](_0x1fbb3a(0x1ce))]}):_0x3e91a3(_0x1fbb3a(0xfe),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x545b8f(le,{}),_0x5d12cb['t'](_0x1fbb3a(0xb8))]})}),_0x545b8f(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x152),'children':_0x3e91a3(_0x1fbb3a(0x1aa),{'className':_0x1fbb3a(0x1b3),'children':[_0x545b8f(_0x1fbb3a(0xfe),{'className':_0x1fbb3a(0x1c5),'children':'💡'}),_0x3e91a3('div',{'className':_0x1fbb3a(0x17f),'children':[_0x545b8f('div',{'className':_0x1fbb3a(0x130),'children':_0x1fbb3a(0x183)}),_0x3e91a3(_0x1fbb3a(0x1aa),{'children':['•',_0x5d12cb['t'](_0x1fbb3a(0x1b6))]}),_0x3e91a3(_0x1fbb3a(0x1aa),{'children':['•',_0x5d12cb['t'](_0x1fbb3a(0x131))]})]})]})})]})})]});}const x='mcp-ui.config',re={'showDeveloperTools':!0x1,'showStatus':!0x0};var on=Object[_0x4d8f51(0x174)],sn=(_0x5cbffb,_0x3e6342,_0x810a17,_0x4b2639)=>{var _0x456a4d=_0x4d8f51;for(var _0x3cc735=_0x4b2639>0x1?void 0x0:_0x4b2639?on(_0x3e6342,_0x810a17):_0x3e6342,_0x386e82=_0x5cbffb[_0x456a4d(0x217)]-0x1,_0x24a591;_0x386e82>=0x0;_0x386e82--)(_0x24a591=_0x5cbffb[_0x386e82])&&(_0x3cc735=_0x24a591(_0x3cc735)||_0x3cc735);return _0x3cc735;},g=(_0x47228b,_0x1acbe7)=>(_0x190663,_0x4fd4c9)=>_0x1acbe7(_0x190663,_0x4fd4c9,_0x47228b);const j=_0x4d8f51(0x1b1),U='mcp-config-dialog';let I=class extends _0x428065{constructor(_0xd0ebce,_0x2d3d55,_0x224dd0,_0x27bc47,_0x4617ec,_0x2cbb33,_0x29904d,_0x5b78f4,_0xff6edc,_0x4d1060){var _0x41b6b2=_0x4d8f51;super(),S(this,_0x41b6b2(0x1f4),new _0x44dd94(!0x1)),S(this,'_mcpCoreConfig$',new _0x44dd94({})),S(this,'_config$',new _0x44dd94({})),S(this,'_apiKey$',new _0x44dd94('')),S(this,'_handleConfigSave',async _0x171901=>{var _0x16a2b2=_0x41b6b2,_0x4da19c,_0x31313d;this[_0x16a2b2(0x1f4)][_0x16a2b2(0xbd)](!0x0);try{const _0x3bc71f=await this[_0x16a2b2(0x12b)](_0x171901);if(!_0x3bc71f[_0x16a2b2(0x100)]){this[_0x16a2b2(0xc3)][_0x16a2b2(0xcd)]({'type':_0x2d3162[_0x16a2b2(0x206)],'content':_0x3bc71f[_0x16a2b2(0x142)]||this[_0x16a2b2(0x212)]['t'](_0x16a2b2(0x1f8))});return;}_0x171901['apiKey']?await this['_localStorageService']['setItem'](j,_0x171901['apiKey'][_0x16a2b2(0xcf)]()):await this[_0x16a2b2(0x1c2)][_0x16a2b2(0x1a3)](j),this[_0x16a2b2(0x20f)][_0x16a2b2(0xbd)](((_0x4da19c=_0x171901[_0x16a2b2(0xad)])==null?void 0x0:_0x4da19c[_0x16a2b2(0xcf)]())||''),this[_0x16a2b2(0x20a)][_0x16a2b2(0x190)]({'Authorization':_0x16a2b2(0xf9)+((_0x31313d=_0x171901['apiKey'])==null?void 0x0:_0x31313d[_0x16a2b2(0xcf)]())}),this[_0x16a2b2(0xc3)]['show']({'type':_0x2d3162[_0x16a2b2(0xd2)],'content':this['_localeService']['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x303dfc=_0x16a2b2;this[_0x303dfc(0xe4)][_0x303dfc(0x165)](U);},0x320);}catch(_0x7cbb22){this[_0x16a2b2(0x1d5)][_0x16a2b2(0xd7)](_0x16a2b2(0xd4),_0x7cbb22),this[_0x16a2b2(0xc3)][_0x16a2b2(0xcd)]({'type':_0x2d3162[_0x16a2b2(0x206)],'content':this[_0x16a2b2(0x212)]['t']('mcpConfig.configError')});}finally{this[_0x16a2b2(0x1f4)][_0x16a2b2(0xbd)](!0x1);}}),(this[_0x41b6b2(0xcb)]=_0xd0ebce,this[_0x41b6b2(0x176)]=_0x2d3d55,this[_0x41b6b2(0x182)]=_0x224dd0,this[_0x41b6b2(0x1c2)]=_0x27bc47,this[_0x41b6b2(0xe4)]=_0x4617ec,this[_0x41b6b2(0xc3)]=_0x2cbb33,this[_0x41b6b2(0x14c)]=_0x29904d,this[_0x41b6b2(0x212)]=_0x5b78f4,this[_0x41b6b2(0x1d5)]=_0xff6edc,this[_0x41b6b2(0x20a)]=_0x4d1060,this[_0x41b6b2(0x1e4)](),this[_0x41b6b2(0x185)](),this[_0x41b6b2(0x1ee)]());}[_0x4d8f51(0x1e2)](){var _0x5ef873=_0x4d8f51;const _0x105e4e=this[_0x5ef873(0x182)][_0x5ef873(0x146)](x);_0x105e4e!=null&&_0x105e4e[_0x5ef873(0x178)]&&this[_0x5ef873(0xe4)][_0x5ef873(0x1dc)]({'id':U,'title':{'title':this['_localeService']['t'](_0x5ef873(0xe3))},'children':{'label':_0x5ef873(0x14e)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x1f84c9=_0x5ef873;this[_0x1f84c9(0xe4)][_0x1f84c9(0x165)](U);}});}['getCurrentConfig'](){var _0x3fe65c=_0x4d8f51;return this[_0x3fe65c(0x1b7)][_0x3fe65c(0x166)];}['_registerComponent'](){var _0xaa4bcb=_0x4d8f51;this['disposeWithMe'](this['_componentManager'][_0xaa4bcb(0x164)]('MCPConfigPanel',this['_createConfigPanelComponent']()));}[_0x4d8f51(0x13a)](){var _0xbbefc2=_0x4d8f51;return _0x342000(()=>{var _0x29ed02=_0x19b5,_0x595833,_0x43ae69,_0x5702d2;return _0x545b8f(tn,{'config':this[_0x29ed02(0x1c7)][_0x29ed02(0x166)],'mcpCoreConfig':this[_0x29ed02(0x1b7)][_0x29ed02(0x166)],'currentApiKey$':this['_apiKey$'],'onSave':this['_handleConfigSave'],'loading':this[_0x29ed02(0x1f4)][_0x29ed02(0x166)],'connectionStatus$':(_0x595833=this[_0x29ed02(0x20a)])==null?void 0x0:_0x595833['connectionStatus$'],'connectionError$':(_0x43ae69=this[_0x29ed02(0x20a)])==null?void 0x0:_0x43ae69[_0x29ed02(0xc0)],'currentSessionId$':(_0x5702d2=this[_0x29ed02(0x20a)])==null?void 0x0:_0x5702d2[_0x29ed02(0xef)]});},this[_0xbbefc2(0xcb)]);}[_0x4d8f51(0x1e4)](){var _0x2a6ce8=_0x4d8f51;this[_0x2a6ce8(0xe7)](this['_configService'][_0x2a6ce8(0xb6)](_0x118351)[_0x2a6ce8(0x13c)](_0x2858c4=>{var _0x20bba9=_0x2a6ce8;this['_mcpCoreConfig$'][_0x20bba9(0xbd)](_0x2858c4||{});}));const _0x3e3fb0=this[_0x2a6ce8(0x182)]['getConfig'](_0x118351);this[_0x2a6ce8(0x1b7)][_0x2a6ce8(0xbd)](_0x3e3fb0||{}),this[_0x2a6ce8(0xe7)](this[_0x2a6ce8(0x182)][_0x2a6ce8(0xb6)](x)[_0x2a6ce8(0x13c)](_0x4f8d84=>{var _0x249fd6=_0x2a6ce8;this[_0x249fd6(0x1c7)][_0x249fd6(0xbd)](_0x4f8d84||{});}));const _0x50960d=this['_configService'][_0x2a6ce8(0x146)](x);this[_0x2a6ce8(0x1c7)][_0x2a6ce8(0xbd)](_0x50960d||{});}async[_0x4d8f51(0x185)](){var _0x1fabf7=_0x4d8f51;const _0x51e9d0=this[_0x1fabf7(0x182)][_0x1fabf7(0x146)](x);if(!(_0x51e9d0!=null&&_0x51e9d0[_0x1fabf7(0x178)]))return;const _0x18b903=await this['_localStorageService'][_0x1fabf7(0x1fb)](j);_0x18b903&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x1fabf7(0xf9)+_0x18b903}),this[_0x1fabf7(0x20f)]['next'](_0x18b903));}async[_0x4d8f51(0x12b)](_0x4ec3e5){var _0xbb0cdc=_0x4d8f51;if(!_0x4ec3e5[_0xbb0cdc(0xad)]||_0x4ec3e5[_0xbb0cdc(0xad)][_0xbb0cdc(0xcf)]()[_0xbb0cdc(0x217)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0xbb0cdc(0x212)]['t'](_0xbb0cdc(0x175))};if(_0x4ec3e5['apiKey'][_0xbb0cdc(0xcf)]()[_0xbb0cdc(0x217)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0xbb0cdc(0x212)]['t'](_0xbb0cdc(0x11d))};try{const _0x59cc1c=await this[_0xbb0cdc(0xcb)]['get'](_0x44417d)['validateApiKey'](_0x4ec3e5[_0xbb0cdc(0xad)][_0xbb0cdc(0xcf)]());return _0x59cc1c[_0xbb0cdc(0x100)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x59cc1c[_0xbb0cdc(0xd7)]||this['_localeService']['t'](_0xbb0cdc(0xba))};}catch(_0xcf0fdc){return console[_0xbb0cdc(0xc6)](_0xbb0cdc(0x102),_0xcf0fdc),{'isValid':!0x0};}}};I=sn([g(0x0,_0x3b0792(_0x411d26)),g(0x1,_0x48c0c0),g(0x2,_0x1ac548),g(0x3,_0xc9fca9),g(0x4,_0xabbea1),g(0x5,_0x10be1c),g(0x6,_0x3b0792(_0x2cfcc6)),g(0x7,_0x3b0792(_0x4e1c5e)),g(0x8,_0x4cfa88),g(0x9,_0x3b0792(_0x44417d))],I);const V={'id':_0x4d8f51(0xca),'type':_0x258e53[_0x4d8f51(0x11c)],'handler':async(_0x359165,_0x44fe6d)=>(_0x359165[_0x4d8f51(0x104)](I)[_0x4d8f51(0x1e2)](),!0x0)};function pe(_0x5e0e0c,_0x3d6b11){var _0x3cf959=_0x4d8f51;switch(_0x5e0e0c){case _0x222185['DISCONNECTED']:return'mcpStatus.disconnected';case _0x222185[_0x3cf959(0x186)]:return _0x3cf959(0x1ae);case _0x222185[_0x3cf959(0xf4)]:return _0x3cf959(0x193);case _0x222185[_0x3cf959(0x1ea)]:switch(_0x3d6b11){case _0x15ebfc[_0x3cf959(0x1fa)]:return'mcpStatus.unauthorized';case _0x15ebfc[_0x3cf959(0x161)]:return'mcpStatus.sessionOccupied';case _0x15ebfc[_0x3cf959(0xed)]:return _0x3cf959(0x216);case _0x15ebfc[_0x3cf959(0xb9)]:return _0x3cf959(0x151);default:return _0x3cf959(0x1ca);}case _0x222185[_0x3cf959(0x148)]:return'mcpStatus.retrying';default:return _0x3cf959(0x16a);}}function cn(_0x34dec3,_0xd88066,_0x4b20a9,_0x7e38c0=!0x0){var _0x5617c3=_0x4d8f51;const _0xe2b2bc=pe(_0x34dec3,_0xd88066),_0x516125=_0x4b20a9['t'](_0xe2b2bc);return _0x7e38c0?_0x34dec3===_0x222185[_0x5617c3(0xab)]&&_0xd88066===_0x15ebfc[_0x5617c3(0x1fa)]?_0x516125+_0x5617c3(0x11a)+_0x4b20a9['t'](_0x5617c3(0xe1)):_0x34dec3===_0x222185[_0x5617c3(0xf4)]?''+_0x516125:_0x34dec3===_0x222185[_0x5617c3(0xab)]||_0x34dec3===_0x222185[_0x5617c3(0x1ea)]?_0x516125+_0x5617c3(0x11a)+_0x4b20a9['t'](_0x5617c3(0x18a)):_0x516125:_0x516125;}function an(_0x30400e){var _0x5cf75d=_0x4d8f51;switch(_0x30400e){case _0x222185[_0x5cf75d(0xf4)]:return _0x5cf75d(0xce);case _0x222185[_0x5cf75d(0x186)]:case _0x222185['RETRYING']:return _0x5cf75d(0x1cf);case _0x222185[_0x5cf75d(0x1ea)]:case _0x222185[_0x5cf75d(0xab)]:return _0x5cf75d(0x1db);default:return _0x5cf75d(0x15e);}}function un(_0x43d154){var _0x121d90=_0x4d8f51;const {status$:_0xb61577,error$:_0x2a6497,onConfigure:_0x5d0e99,showClickable:_0x5cada5=!0x0}=_0x43d154,_0x19f7ed=_0xb4b57b(_0xb61577,_0x222185[_0x121d90(0xab)]),_0x195956=_0xb4b57b(_0x2a6497,_0x15ebfc['NONE']),_0x4fc606=_0x4f1abc(_0x4e1c5e),_0x243397=_0x19f7ed===_0x222185[_0x121d90(0xf4)];_0x19f7ed===_0x222185['CONNECTING']||_0x222185['RETRYING'];const _0x20ca32=_0x4fc606['t'](pe(_0x19f7ed,_0x195956)),_0x1334bc=cn(_0x19f7ed,_0x195956,_0x4fc606,_0x5cada5),_0x5f3691=an(_0x19f7ed),_0x4cebb8=_0x243397?_0x545b8f(ge,{}):_0x545b8f(fe,{}),_0x23d191=_0x86bd20(()=>{_0x5cada5&&_0x5d0e99&&_0x5d0e99();},[_0x5cada5,_0x5d0e99]);function _0x18893e(){var _0x3fcafd=_0x121d90;return _0x3e91a3('div',{'className':_0x2dc55a('univer-flex\x20univer-items-center',_0x5cada5&&_0x5d0e99&&_0x3fcafd(0x173)),'onClick':_0x5cada5&&_0x5d0e99?_0x23d191:void 0x0,'children':[_0x545b8f(_0x3fcafd(0x1aa),{'className':_0x2dc55a(_0x3fcafd(0xfd),_0x5f3691),'children':_0x4cebb8}),_0x545b8f(_0x3fcafd(0x1aa),{'className':_0x3fcafd(0x135),'children':_0x20ca32})]});}return _0x545b8f(_0x5d6c61,{'title':_0x1334bc,'placement':_0x121d90(0x16e),'children':_0x18893e()});}var ln=Object[_0x4d8f51(0x174)],vn=(_0x36511e,_0x31fb3a,_0x1ee800,_0x2c8ce9)=>{var _0x251f78=_0x4d8f51;for(var _0x422201=_0x2c8ce9>0x1?void 0x0:_0x2c8ce9?ln(_0x31fb3a,_0x1ee800):_0x31fb3a,_0xdff16e=_0x36511e[_0x251f78(0x217)]-0x1,_0x32a4cb;_0xdff16e>=0x0;_0xdff16e--)(_0x32a4cb=_0x36511e[_0xdff16e])&&(_0x422201=_0x32a4cb(_0x422201)||_0x422201);return _0x422201;},A=(_0x248158,_0x1035ab)=>(_0x12663b,_0x12309a)=>_0x1035ab(_0x12663b,_0x12309a,_0x248158);let O=class extends _0x428065{constructor(_0x297197,_0x97d3b6,_0x5b398d,_0x571d69){var _0x10201a=_0x4d8f51;super(),this[_0x10201a(0xcb)]=_0x297197,this[_0x10201a(0x14a)]=_0x97d3b6,this['_uiPartsService']=_0x5b398d,this['_configService']=_0x571d69,this[_0x10201a(0xe0)](),this['_initStatusComponent']();}['_initAutoConnect'](){var _0x59bcbd=_0x4d8f51;const _0xd29146=this[_0x59bcbd(0x182)]['getConfig'](x);_0xd29146!=null&&_0xd29146[_0x59bcbd(0x178)]&&(this['_connectionController'][_0x59bcbd(0x1e6)]=!0x1);}['_initStatusComponent'](){var _0x1461ba=_0x4d8f51;const _0x4ecc3f=this['_configService'][_0x1461ba(0x146)](x);(_0x4ecc3f==null?void 0x0:_0x4ecc3f['showStatus'])!==!0x1&&this[_0x1461ba(0xe7)](this[_0x1461ba(0x176)][_0x1461ba(0x189)](_0x1eea1b[_0x1461ba(0x111)],()=>{var _0x5e135f=_0x1461ba,_0x48dffe;return _0x342000(dn({'status$':this['_connectionController'][_0x5e135f(0xb2)],'error$':this['_connectionController'][_0x5e135f(0xc0)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x48dffe=_0x4ecc3f==null?void 0x0:_0x4ecc3f['showDeveloperTools'])!=null?_0x48dffe:!0x1}),this[_0x5e135f(0xcb)]);}));}[_0x4d8f51(0x209)](){var _0x318994=_0x4d8f51;this[_0x318994(0xcb)][_0x318994(0x104)](I)[_0x318994(0x1e2)]();}};O=vn([A(0x0,_0x3b0792(_0x411d26)),A(0x1,_0x3b0792(_0x44417d)),A(0x2,_0x48c0c0),A(0x3,_0x1ac548)],O);function dn(_0x231a5f){const {status$:_0x29354b,error$:_0x3e882e,onConfigure:_0x36d03f,showClickable:_0x5ab0a7}=_0x231a5f;return function(){return _0x545b8f(un,{'status$':_0x29354b,'error$':_0x3e882e,'onConfigure':_0x36d03f,'showClickable':_0x5ab0a7});};}function fn(_0x22c7d6){var _0x402f49=_0x4d8f51;return{'id':V['id'],'type':_0x15fbbd[_0x402f49(0x110)],'icon':_0x402f49(0x200),'title':_0x402f49(0xe3),'tooltip':_0x402f49(0xe3)};}const gn={[_0x56f0cf[_0x4d8f51(0x12c)]]:{[V['id']]:{'order':0xa,'menuItemFactory':fn}}};var pn=Object['getOwnPropertyDescriptor'],hn=(_0xd44223,_0x12398a,_0x7d910c,_0x2c7857)=>{for(var _0x4e8eaf=_0x2c7857>0x1?void 0x0:_0x2c7857?pn(_0x12398a,_0x7d910c):_0x12398a,_0x285db3=_0xd44223['length']-0x1,_0x4b0f0b;_0x285db3>=0x0;_0x285db3--)(_0x4b0f0b=_0xd44223[_0x285db3])&&(_0x4e8eaf=_0x4b0f0b(_0x4e8eaf)||_0x4e8eaf);return _0x4e8eaf;},te=(_0x4d2d1f,_0x39be9f)=>(_0x5b26c4,_0x38d69e)=>_0x39be9f(_0x5b26c4,_0x38d69e,_0x4d2d1f);let k=class extends _0x428065{constructor(_0x42780b,_0x539fe8){var _0x5dac67=_0x4d8f51;super(),this[_0x5dac67(0x1d4)]=_0x42780b,this['_menuManagerService']=_0x539fe8,this[_0x5dac67(0xae)](),this[_0x5dac67(0x147)]();}['_initializeCommands'](){var _0x4d8f67=_0x4d8f51;[V][_0x4d8f67(0x12d)](_0x1d3f57=>{var _0x5f0c94=_0x4d8f67;this['disposeWithMe'](this[_0x5f0c94(0x1d4)][_0x5f0c94(0x119)](_0x1d3f57));});}[_0x4d8f51(0x147)](){var _0x12e8ba=_0x4d8f51;this[_0x12e8ba(0xe2)][_0x12e8ba(0x1f7)](gn);}};k=hn([te(0x0,_0x1d64a9),te(0x1,_0x21e6bc)],k);const On={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x4d8f51(0x169),'retrying':_0x4d8f51(0x17a),'unknown':_0x4d8f51(0x133),'unauthorized':_0x4d8f51(0x1cd),'sessionOccupied':_0x4d8f51(0x177),'networkError':_0x4d8f51(0x149),'maxRetriesExceeded':_0x4d8f51(0x207),'clickToConnect':_0x4d8f51(0x1c0),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4d8f51(0x1a0),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4d8f51(0x1ff),'apiKeyPlaceholder':_0x4d8f51(0x1bc),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4d8f51(0x1f6),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4d8f51(0x1eb),'mcpClientConfig':_0x4d8f51(0x1eb),'configInstructions':_0x4d8f51(0x125),'configStepTitle':_0x4d8f51(0x10e),'configStep1':_0x4d8f51(0x196),'configStep2':_0x4d8f51(0x154),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4d8f51(0x1dd),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x4d8f51(0xac),'configParameters':_0x4d8f51(0xec),'maxRetries':'Max\x20Retries','save':_0x4d8f51(0x188),'saving':_0x4d8f51(0x1ac),'note1':_0x4d8f51(0x109),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x4d8f51(0x205),'apiApplyInfo':{'title':_0x4d8f51(0x16d),'description':_0x4d8f51(0x15a),'univerAiLabel':_0x4d8f51(0x1bb),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x4d8f51(0xee),'apiKeyTooShort':_0x4d8f51(0x10d),'invalidConfig':_0x4d8f51(0x20b),'invalidApiKey':_0x4d8f51(0x16b)},'connectionStatus':{'disconnected':_0x4d8f51(0x19c),'connecting':_0x4d8f51(0x1c1),'connected':_0x4d8f51(0x1f5),'failed':_0x4d8f51(0x143),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x4d8f51(0xd6),'sessionOccupied':_0x4d8f51(0xc9),'networkError':_0x4d8f51(0x141),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},kn={'mcpStatus':{'disconnected':_0x4d8f51(0x1d1),'connecting':_0x4d8f51(0x150),'connected':_0x4d8f51(0x120),'failed':_0x4d8f51(0x1ba),'retrying':_0x4d8f51(0x118),'unknown':_0x4d8f51(0xdd),'unauthorized':_0x4d8f51(0x1d3),'sessionOccupied':_0x4d8f51(0x1cb),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x4d8f51(0x134),'clickToConnect':_0x4d8f51(0x1bd),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x4d8f51(0x17d),'apiKey':_0x4d8f51(0xbc),'apiKeyPlaceholder':_0x4d8f51(0x20e),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x4d8f51(0x1b8),'enableAuthHint':_0x4d8f51(0x1a5),'connectionInfo':_0x4d8f51(0x14f),'mcpClientConfig':_0x4d8f51(0x14f),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x4d8f51(0x16c),'configStep1':_0x4d8f51(0x198),'configStep2':_0x4d8f51(0xf8),'configStep3':_0x4d8f51(0x17e),'sessionId':_0x4d8f51(0x210),'sessionIdDescription':_0x4d8f51(0x160),'authorizationDescription':_0x4d8f51(0x1c3),'configParameters':_0x4d8f51(0x18b),'maxRetries':_0x4d8f51(0x163),'save':_0x4d8f51(0x157),'saving':_0x4d8f51(0x106),'note1':_0x4d8f51(0x1a8),'note2':_0x4d8f51(0xda),'configSaved':_0x4d8f51(0x11f),'configError':_0x4d8f51(0xfa),'apiApplyInfo':{'title':_0x4d8f51(0x1e9),'description':_0x4d8f51(0xdc),'univerAiLabel':_0x4d8f51(0x117),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x4d8f51(0x18c),'apiKeyTooShort':_0x4d8f51(0x10c),'invalidConfig':_0x4d8f51(0xc8),'invalidApiKey':_0x4d8f51(0x170)},'connectionStatus':{'disconnected':_0x4d8f51(0xb3),'connecting':_0x4d8f51(0x12a),'connected':_0x4d8f51(0x1c8),'failed':_0x4d8f51(0x1be),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x4d8f51(0x1fe),'sessionOccupied':_0x4d8f51(0x128),'networkError':_0x4d8f51(0x158),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var mn=Object[_0x4d8f51(0xe6)],Cn=Object[_0x4d8f51(0x174)],yn=(_0x10cade,_0x44b898,_0x42981a)=>_0x44b898 in _0x10cade?mn(_0x10cade,_0x44b898,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42981a}):_0x10cade[_0x44b898]=_0x42981a,_n=(_0x1d02c1,_0x4341a2,_0x319c2a,_0x5224a1)=>{for(var _0x6e0b57=_0x5224a1>0x1?void 0x0:_0x5224a1?Cn(_0x4341a2,_0x319c2a):_0x4341a2,_0x2275b3=_0x1d02c1['length']-0x1,_0x5b3c21;_0x2275b3>=0x0;_0x2275b3--)(_0x5b3c21=_0x1d02c1[_0x2275b3])&&(_0x6e0b57=_0x5b3c21(_0x6e0b57)||_0x6e0b57);return _0x6e0b57;},E=(_0x4b9b86,_0x1f7756)=>(_0x1bd272,_0x5ab052)=>_0x1f7756(_0x1bd272,_0x5ab052,_0x4b9b86),xn=(_0x5a689c,_0x4e9145,_0x382fe8)=>yn(_0x5a689c,_0x4e9145+'',_0x382fe8);let L=class extends _0x5d9bb9{constructor(_0x394c0a=re,_0x58f270,_0x39797c,_0x3df6eb,_0x9f29cc,_0x4d3999){var _0xc0301d=_0x4d8f51;super(),this[_0xc0301d(0xb1)]=_0x394c0a,this[_0xc0301d(0xcb)]=_0x58f270,this[_0xc0301d(0x182)]=_0x39797c,this[_0xc0301d(0x176)]=_0x3df6eb,this['_localStorageService']=_0x9f29cc,this[_0xc0301d(0x212)]=_0x4d3999;const {..._0xd3290e}=_0x5ce5aa({},re,this[_0xc0301d(0xb1)]);this[_0xc0301d(0x182)][_0xc0301d(0xdb)](x,_0xd3290e);}async['onStarting'](){var _0x3802d6=_0x4d8f51;const _0x17644d=[[O],[I],[k]];this[_0x3802d6(0xcb)]['has'](_0x421c1d)||_0x17644d[_0x3802d6(0x187)]([_0x421c1d,{'useClass':_0x56bed1}]),_0x17644d[_0x3802d6(0x12d)](_0x4b06b8=>this[_0x3802d6(0xcb)]['add'](_0x4b06b8)),this['_injector']['get'](O),this[_0x3802d6(0xcb)][_0x3802d6(0x104)](I),this[_0x3802d6(0xcb)][_0x3802d6(0x104)](k);}};xn(L,_0x4d8f51(0x15c),_0x4d8f51(0xc5)),L=_n([_0x29f989(_0x658713),E(0x1,_0x3b0792(_0x411d26)),E(0x2,_0x1ac548),E(0x3,_0x48c0c0),E(0x4,_0xc9fca9),E(0x5,_0x3b0792(_0x4e1c5e))],L);export{tn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,un as MCPStatusDisplay,k as MCPUIMenuController,V as OpenMCPConfigPanelCommand,L as UniverMCPUIPlugin,On as enUS,kn as zhCN};
1
+ const _0x4721d=_0x226a;(function(_0x2d4d8d,_0x192329){const _0x2a1d77=_0x226a,_0x5680bd=_0x2d4d8d();while(!![]){try{const _0x12fbeb=parseInt(_0x2a1d77(0x2b9))/0x1*(-parseInt(_0x2a1d77(0x30b))/0x2)+-parseInt(_0x2a1d77(0x281))/0x3*(-parseInt(_0x2a1d77(0x1e7))/0x4)+parseInt(_0x2a1d77(0x26d))/0x5*(-parseInt(_0x2a1d77(0x24e))/0x6)+parseInt(_0x2a1d77(0x200))/0x7+parseInt(_0x2a1d77(0x243))/0x8*(parseInt(_0x2a1d77(0x2ff))/0x9)+parseInt(_0x2a1d77(0x2fc))/0xa*(-parseInt(_0x2a1d77(0x286))/0xb)+parseInt(_0x2a1d77(0x1da))/0xc;if(_0x12fbeb===_0x192329)break;else _0x5680bd['push'](_0x5680bd['shift']());}catch(_0x2d0193){_0x5680bd['push'](_0x5680bd['shift']());}}}(_0x4b37,0x3da33));var Pe=Object[_0x4721d(0x221)],Ee=(_0x2f1c98,_0x18a7cb,_0xe12123)=>_0x18a7cb in _0x2f1c98?Pe(_0x2f1c98,_0x18a7cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe12123}):_0x2f1c98[_0x18a7cb]=_0xe12123,x=(_0x2c71d8,_0x2ad183,_0x319ccd)=>Ee(_0x2c71d8,typeof _0x2ad183!='symbol'?_0x2ad183+'':_0x2ad183,_0x319ccd);import{LocaleService as _0x449b31,Inject as _0xa6816e,Injector as _0x541a5c,IConfigService as _0x322e87,ILocalStorageService as _0x51e914,ILogService as _0x466f9d,Disposable as _0x1dd7fd,CommandType as _0x82f273,ICommandService as _0x4372fc,DependentOn as _0x2960b3,Plugin as _0x1b86ad,merge as _0x4710af}from'@univerjs/core';import{jsxs as _0x1bd020,jsx as _0x71d551}from'react/jsx-runtime';import{MCPConnectionStatus as _0x26985a,MCPConnectionError as _0x4f6500,MCPConnectionController as _0xf9b0c1,MCP_PLUGIN_CONFIG_KEY as _0x11f737,UniverMCPPlugin as _0xa3b208}from'@univerjs-pro/mcp';import{clsx as _0x4f2249,Input as _0x1c1bd9,Button as _0x56bcc2,MessageType as _0x2e8040,Tooltip as _0xaee0b3}from'@univerjs/design';import{useDependency as _0x357040,useObservable as _0x3580f4,IUIPartsService as _0x1e1885,IDialogService as _0x6baade,IMessageService as _0x671585,ComponentManager as _0x38f699,connectInjector as _0x16d407,BuiltInUIPart as _0x442c44,MenuItemType as _0x1fb06e,RibbonStartGroup as _0xe3f608,IMenuManagerService as _0x23bcea}from'@univerjs/ui';import{BehaviorSubject as _0x37c39b}from'rxjs';import{useRef as _0x5e523d,createElement as _0x56d3b5,forwardRef as _0x2399dd,useState as _0x69cec1,useCallback as _0x23973d}from'react';import{ISocketService as _0x494737,WebSocketService as _0x321007}from'@univerjs/network';function b({ref:_0x5be806,..._0x436b33}){const _0x5bafda=_0x4721d,{icon:_0x320466,id:_0x3244f5,className:_0x1ca1b4,extend:_0x2fa13b,..._0x179c24}=_0x436b33,_0x3ea295=(_0x5bafda(0x202)+_0x3244f5+'\x20'+(_0x1ca1b4||''))[_0x5bafda(0x233)](),_0x25ad42=_0x5e523d('_'+We());return ae(_0x320466,''+_0x3244f5,{'defIds':_0x320466['defIds'],'idSuffix':_0x25ad42['current']},{'ref':_0x5be806,'className':_0x3ea295,..._0x179c24},_0x2fa13b);}function ae(_0x2baa90,_0x4f7f07,_0x26078c,_0x16bcc0,_0x1d0556){const _0x3e6610=_0x4721d;return _0x56d3b5(_0x2baa90[_0x3e6610(0x234)],{'key':_0x4f7f07,...Ye(_0x2baa90,_0x26078c,_0x1d0556),..._0x16bcc0},(Ze(_0x2baa90,_0x26078c)[_0x3e6610(0x236)]||[])[_0x3e6610(0x32a)]((_0x264629,_0x373dac)=>ae(_0x264629,_0x4f7f07+'-'+_0x2baa90[_0x3e6610(0x234)]+'-'+_0x373dac,_0x26078c,void 0x0,_0x1d0556)));}function Ye(_0x555613,_0x365dc2,_0x335db7){const _0x46c65a=_0x4721d,_0x349b04={..._0x555613[_0x46c65a(0x283)]};_0x335db7!=null&&_0x335db7[_0x46c65a(0x237)]&&_0x349b04[_0x46c65a(0x22a)]===_0x46c65a(0x237)&&(_0x349b04['fill']=_0x335db7[_0x46c65a(0x237)]),_0x555613[_0x46c65a(0x234)]===_0x46c65a(0x2ad)&&_0x349b04['id']&&(_0x349b04['id']=_0x349b04['id']+_0x365dc2[_0x46c65a(0x311)]),Object['entries'](_0x349b04)[_0x46c65a(0x296)](([_0x381ddd,_0x50f20f])=>{const _0x3dbba2=_0x46c65a;_0x381ddd===_0x3dbba2(0x2ad)&&typeof _0x50f20f==_0x3dbba2(0x2e7)&&(_0x349b04[_0x381ddd]=_0x50f20f[_0x3dbba2(0x2f7)](/url\(#(.*)\)/,'url(#$1'+_0x365dc2[_0x3dbba2(0x311)]+')'));});const {defIds:_0x466ea7}=_0x365dc2;return!_0x466ea7||_0x466ea7['length']===0x0||(_0x555613[_0x46c65a(0x234)]===_0x46c65a(0x255)&&_0x349b04[_0x46c65a(0x2bb)]&&(_0x349b04[_0x46c65a(0x2bb)]=_0x349b04[_0x46c65a(0x2bb)]+_0x365dc2[_0x46c65a(0x311)]),Object[_0x46c65a(0x250)](_0x349b04)[_0x46c65a(0x296)](([_0x140630,_0x472b9d])=>{const _0x3e9683=_0x46c65a;typeof _0x472b9d==_0x3e9683(0x2e7)&&(_0x349b04[_0x140630]=_0x472b9d['replace'](/url\(#(.*)\)/,_0x3e9683(0x228)+_0x365dc2[_0x3e9683(0x311)]+')'));})),_0x349b04;}function _0x4b37(){const _0x5eb5df=['mcpConfig.title','_createConfigPanelComponent','mcp-ui.config','univer-flex-1','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','您的\x20API\x20密钥安全存储在本地存储中','保存中...','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','evenodd','defineProperty','substring','translate(.97)','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','subscribeConfigValue$','MCP\x20Unknown\x20Status','url(#$1','open','fill','Authorization:','mcpConfig.apiApplyInfo.title','MCP\x20Connected','配置参数:','Saving...','Connection\x20Failed','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','close-icon','trim','tag','HEADER_MENU','children','colorChannel1','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','0\x200\x2016\x2016','mcpConfig.connectionStatus.failed','将以下配置添加到您的\x20MCP\x20客户端设置中:','Configuration\x20Notes:','COMMAND','univer-flex\x20univer-gap-3','url(#off-line-icon_clip0_910_343)','getOwnPropertyDescriptor','HelpIcon','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','13496uLVUMR','univer-text-green-500','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','mcpStatus.unauthorized','NONE','未连接','registerComponent','includes','on-line-icon_clip0_910_349','MCP:\x20Unauthorized','sessionId$','12846NxbltT','showConfigPanel','entries','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.validation.invalidApiKey','univer-flex\x20univer-items-center\x20univer-gap-2','CheckMarkIcon','use','_commandService','Success','univer-space-y-3','assign','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-bg-blue-500','mcpConfig.saving','div','网络连接错误,请检查您的网络连接','univer-shrink-0\x20univer-text-red-500','mcpConfig.sessionIdDescription','mcpConfig.connectionError.unauthorized','mcpConfig.connectionStatus.retrying','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','enableAutoConnect','mcpConfig.apiApplyInfo.univerAiLabel','currentColor','MCP\x20Disconnected','warn','mcpConfig.connectionStatus.connected','1020NtJKFd','_handleConfigSave','add','您的\x20API\x20密钥将在此浏览器中本地存储','重启您的\x20MCP\x20客户端以使配置生效','Invalid\x20configuration','_initConfigSync','_loadStoredApiKey','mcpConfig.configStep1','validateApiKey','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','CloseIcon','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','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','showDeveloperTools','off-line-icon_clip0_910_343','什么是\x20API\x20密钥?','disposeWithMe','最大重试次数','mcpConfig.configStep3','3gWUOtK','univer-flex\x20univer-items-start\x20univer-gap-2','attrs','MCP\x20Connection\x20Failed','on-line-icon','2123EAngrS','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connected','showStatus','mcp.apiKey','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','\x20-\x20','_registerComponent','univer.plus','mcpConfig.note2','univer-min-w-0\x20univer-flex-1','univer-text-xs\x20univer-text-gray-500','mcpConfig.description','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.note1','MCP\x20客户端配置','forEach','MenuIcon','show','_mcpCoreConfig$','MCP\x20连接中...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','removeItem','会话\x20ID\x20已被占用,请稍后再试','Connecting...','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.validation.apiKeyRequired','权限验证失败,请检查您的\x20API\x20密钥','_localeService','MCPConfigPanel','white','span','univer-bg-red-500','mcpStatus.unknown','https://console.univer.plus','mcpStatus.clickToConfigure','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','MCP:\x20超出最大重试次数','mask','univer.ai','API\x20Key','push','connectionError$','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-bg-green-500','CONNECTED','SESSION_ID_OCCUPIED','配置步骤:','noopener\x20noreferrer','UNAUTHORIZED','5AZQiaC','_apiKey$','xlink:href','mcpStatus.maxRetriesExceeded','MCP:\x20Network\x20Error','close','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpConfig.save','请输入您的\x20API\x20密钥','url(#on-line-icon_clip0_910_349)','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_validateConfig','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-text-yellow-500','univer-font-medium','Failed\x20to\x20save\x20configuration','next','M0\x200H16V16H0z','setItem','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','mcpStatus.sessionOccupied','Retrying...','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.validation.apiKeyTooShort','mcpConfig.configStepTitle','button','mcpStatus.connecting','_config','0\x200\x2017\x2016','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-text-gray-400','univer-text-gray-500','registerCommand','mcpConfig.connectionStatus.connecting','1em','defs','https://mcp.univer.ai/mcp/?univer_session_id=','BUTTON','_localStorageService','has','Enter\x20your\x20API\x20key','_dialogService','_initStatusComponent','Configuration\x20saved\x20successfully','MCP\x20Client\x20Configuration','string','_componentManager','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','将配置添加到您的\x20MCP\x20客户端设置文件中','API\x20密钥','none','MCP\x20状态未知','_blank','Bearer\x20','univer-size-4','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','clipPath','path','DISCONNECTED','_initAutoConnect','mcpStatus.disconnected','replace','univer-flex\x20univer-items-center','univer-text-sm\x20univer-font-medium','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','Univer\x20AI\x20控制台','23410rDyfxy','isValid','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','2502xLxngK','MCP\x20配置','保存配置','off-line-icon','mcpConfig.apiApplyInfo.getStarted','API\x20密钥不能为空','univer-space-y-2','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_logService','connectionStatus$','length','_connectionController','152002tGoKxQ','_menuManagerService','univer-bg-gray-500','What\x20is\x20API\x20Key?','displayName','http://www.w3.org/2000/svg','idSuffix','Configuration\x20Parameters:','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20key\x20with\x20Bearer\x20prefix.','带有\x20Bearer\x20前缀的\x20API\x20密钥。','http','mcpStatus.failed','mcpConfig.connectionInfo','mcpConfig.validation.invalidConfig','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','_loading$','配置保存成功','MCP:\x20会话\x20ID\x20已被占用','Click\x20to\x20connect\x20MCP','已连接','UniverIcon','round','Disconnected','get','启用身份验证','NETWORK_ERROR','_config$','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-text-white','mcpConfig.apiApplyInfo.description','map','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Save\x20Configuration','univer-flex\x20univer-items-start\x20univer-gap-3','8671056wVOnlc','mcpConfig.apiKeyPlaceholder','Univer\x20AI\x20Console','OnLineIcon','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpServerUrl','_initializeMenus','MCP\x20Connecting...','mcpStatus.clickToConnect','MCP\x20Configuration','mcpStatus.connected','MCP\x20重连中...','subscribe','116264hjtPIw','mcpStatus.retrying','连接中...','getConfig','error','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','配置\x20MCP\x20使用\x20AI\x20操作电子表格','errorMessage','univer-text-red-500','value','复制以下\x20JSON\x20配置','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20密钥长度至少需要\x2010\x20位','_handleConfigure','svg','MCP:\x20Max\x20Retries\x20Exceeded','MCP_UI_PLUGIN','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','_uiPartsService','会话ID','bottom','RETRYING','\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','Error','超出最大重试次数,请稍后再试','2102863nEtZjv','getCurrentConfig','univerjs-icon\x20univerjs-icon-','MCP:\x20网络错误','mcpConfig.configError','MCP\x20连接失败','FAILED','MAX_RETRIES_EXCEEDED','_configService','mcpConfig.apiKeyHint','Copy\x20the\x20JSON\x20configuration\x20below','<API_KEY>','__setCustomHeaders','_injector','CONNECTING','点击配置\x20MCP','apiKey','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','onStarting','univer-size-2\x20univer-rounded-full','_messageService','Get\x20your\x20API\x20key\x20in\x20seconds','mergeMenu','_mcpConnectionController'];_0x4b37=function(){return _0x5eb5df;};return _0x4b37();}function Ze(_0x19bb9e,_0x504924){const _0x4ac9c4=_0x4721d;var _0x4f07b0;const {defIds:_0x2779ff}=_0x504924;return!_0x2779ff||_0x2779ff[_0x4ac9c4(0x309)]===0x0?_0x19bb9e:_0x19bb9e['tag']===_0x4ac9c4(0x2dd)&&((_0x4f07b0=_0x19bb9e[_0x4ac9c4(0x236)])!=null&&_0x4f07b0[_0x4ac9c4(0x309)])?{..._0x19bb9e,'children':_0x19bb9e[_0x4ac9c4(0x236)][_0x4ac9c4(0x32a)](_0x1a35a8=>typeof _0x1a35a8[_0x4ac9c4(0x283)]['id']=='string'&&_0x2779ff&&_0x2779ff[_0x4ac9c4(0x24a)](_0x1a35a8[_0x4ac9c4(0x283)]['id'])?{..._0x1a35a8,'attrs':{..._0x1a35a8['attrs'],'id':_0x1a35a8[_0x4ac9c4(0x283)]['id']+_0x504924[_0x4ac9c4(0x311)]}}:_0x1a35a8)}:_0x19bb9e;}function We(){const _0x2cd63b=_0x4721d;return Math['random']()['toString'](0x24)[_0x2cd63b(0x222)](0x2,0x8);}function _0x226a(_0xbb43bb,_0x427b4c){const _0x4b3704=_0x4b37();return _0x226a=function(_0x226ab8,_0x494262){_0x226ab8=_0x226ab8-0x1d8;let _0x2f0cf1=_0x4b3704[_0x226ab8];return _0x2f0cf1;},_0x226a(_0xbb43bb,_0x427b4c);}b['displayName']=_0x4721d(0x320);const qe={'tag':_0x4721d(0x1f5),'attrs':{'xmlns':_0x4721d(0x310),'fill':_0x4721d(0x2ec),'viewBox':'0\x200\x2016\x2016','width':_0x4721d(0x2dc),'height':_0x4721d(0x2dc)},'children':[{'tag':_0x4721d(0x2f3),'attrs':{'fill':_0x4721d(0x269),'d':_0x4721d(0x279),'fillRule':'evenodd','clipRule':_0x4721d(0x220)}}]},le=_0x2399dd(function(_0x42a9ef,_0x2b0c2d){const _0x5543b9=_0x4721d;return _0x56d3b5(b,Object[_0x5543b9(0x259)]({},_0x42a9ef,{'id':'check-mark-icon','ref':_0x2b0c2d,'icon':qe}));});le[_0x4721d(0x30f)]=_0x4721d(0x254);const Xe={'tag':_0x4721d(0x1f5),'attrs':{'xmlns':_0x4721d(0x310),'fill':_0x4721d(0x2ec),'viewBox':'0\x200\x2016\x2016','width':_0x4721d(0x2dc),'height':_0x4721d(0x2dc)},'children':[{'tag':_0x4721d(0x2f3),'attrs':{'fill':'currentColor','d':'M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z'}}]},ue=_0x2399dd(function(_0x4c30c4,_0x2f752c){const _0x3cad94=_0x4721d;return _0x56d3b5(b,Object[_0x3cad94(0x259)]({},_0x4c30c4,{'id':_0x3cad94(0x232),'ref':_0x2f752c,'icon':Xe}));});ue['displayName']=_0x4721d(0x278);const Je={'tag':_0x4721d(0x1f5),'attrs':{'xmlns':_0x4721d(0x310),'fill':_0x4721d(0x2ec),'viewBox':_0x4721d(0x239),'width':_0x4721d(0x2dc),'height':_0x4721d(0x2dc)},'children':[{'tag':_0x4721d(0x2f3),'attrs':{'fill':_0x4721d(0x269),'d':_0x4721d(0x2f1)}},{'tag':'path','attrs':{'fill':_0x4721d(0x269),'d':_0x4721d(0x27a)}},{'tag':_0x4721d(0x2f3),'attrs':{'fill':'currentColor','d':_0x4721d(0x21c),'fillRule':_0x4721d(0x220),'clipRule':'evenodd'}}]},ve=_0x2399dd(function(_0x58cb01,_0x2ec15c){const _0x48fdb4=_0x4721d;return _0x56d3b5(b,Object[_0x48fdb4(0x259)]({},_0x58cb01,{'id':'help-icon','ref':_0x2ec15c,'icon':Je}));});ve[_0x4721d(0x30f)]=_0x4721d(0x241);const Qe={'tag':'svg','attrs':{'xmlns':_0x4721d(0x310),'fill':_0x4721d(0x2ec),'viewBox':_0x4721d(0x239),'width':'1em','height':_0x4721d(0x2dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x4721d(0x23f)},'children':[{'tag':_0x4721d(0x2f3),'attrs':{'stroke':_0x4721d(0x269),'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':_0x4721d(0x321),'strokeLinejoin':_0x4721d(0x321),'strokeWidth':1.2}}]},{'tag':_0x4721d(0x2dd),'attrs':{},'children':[{'tag':_0x4721d(0x2f2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x4721d(0x2a5),'d':_0x4721d(0x2ca)}}]}]}],'defIds':[_0x4721d(0x27c)]},de=_0x2399dd(function(_0x5b1d6a,_0xe4750b){const _0x1944db=_0x4721d;return _0x56d3b5(b,Object[_0x1944db(0x259)]({},_0x5b1d6a,{'id':_0x1944db(0x302),'ref':_0xe4750b,'icon':Qe}));});de[_0x4721d(0x30f)]='OffLineIcon';const en={'tag':_0x4721d(0x1f5),'attrs':{'xmlns':_0x4721d(0x310),'fill':_0x4721d(0x2ec),'viewBox':_0x4721d(0x2d5),'width':'1em','height':_0x4721d(0x2dc)},'children':[{'tag':'g','attrs':{'clipPath':_0x4721d(0x2c2)},'children':[{'tag':_0x4721d(0x2f3),'attrs':{'stroke':'currentColor','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':_0x4721d(0x321),'strokeLinejoin':_0x4721d(0x321),'strokeWidth':1.2}}]},{'tag':_0x4721d(0x2dd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x4721d(0x2f3),'attrs':{'fill':_0x4721d(0x2a5),'d':_0x4721d(0x2ca),'transform':_0x4721d(0x223)}}]}]}],'defIds':[_0x4721d(0x24b)]},ge=_0x2399dd(function(_0x344dfe,_0x1810ce){const _0x2f3ec4=_0x4721d;return _0x56d3b5(b,Object[_0x2f3ec4(0x259)]({},_0x344dfe,{'id':_0x2f3ec4(0x285),'ref':_0x1810ce,'icon':en}));});ge[_0x4721d(0x30f)]=_0x4721d(0x1dd);function nn(_0xf81769){const _0x21587f=_0x4721d;var _0x1d6849,_0x11dbb9;const {mcpCoreConfig:_0x44e111,onSave:_0x4b94e0,loading:_0x201804=!0x1,config:_0x1b68e6,connectionStatus$:_0x3978b9,connectionError$:_0x3ef7b0,currentApiKey$:_0x59df57,currentSessionId$:_0x3cebfe}=_0xf81769,_0x129a37=_0x357040(_0x449b31),_0x4653e0=_0x3580f4(_0x3978b9,_0x26985a[_0x21587f(0x2f4)]),_0x4ea5db=_0x3580f4(_0x3ef7b0,_0x4f6500[_0x21587f(0x247)]),_0x48678d=_0x3580f4(_0x3cebfe,''),_0xfdfb1f=_0x3580f4(_0x59df57,''),[_0x32ebcd,_0x57d456]=_0x69cec1(_0xfdfb1f||''),_0x2e4d2e=!0x0,_0x4fb7f7=_0x1b68e6[_0x21587f(0x27b)]&&_0x44e111[_0x21587f(0x1df)]&&(_0x44e111[_0x21587f(0x1df)][_0x21587f(0x24a)]('univer.plus')||_0x44e111[_0x21587f(0x1df)]['includes'](_0x21587f(0x2ae))),_0x31da56=(_0x1d6849=_0x44e111['mcpServerUrl'])==null?void 0x0:_0x1d6849[_0x21587f(0x24a)](_0x21587f(0x28e)),_0x2d3c99=(_0x11dbb9=_0x44e111[_0x21587f(0x1df)])==null?void 0x0:_0x11dbb9[_0x21587f(0x24a)](_0x21587f(0x2ae)),_0x3b0cfa=_0x31da56?_0x21587f(0x2a9):'https://console.univer.ai',_0x482255=_0x1b68e6[_0x21587f(0x27b)]&&(_0x31da56||_0x2d3c99),[_0x588224,_0x10d97d]=_0x69cec1(!_0x32ebcd[_0x21587f(0x233)]()),_0x5ed70c=(_0x1543f1,_0x36ee8f)=>{const _0x17df80=_0x21587f;if(_0x36ee8f===_0x4f6500['UNAUTHORIZED'])return _0x17df80(0x224);switch(_0x1543f1){case _0x26985a[_0x17df80(0x2b4)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x26985a[_0x17df80(0x20e)]:case _0x26985a['RETRYING']:return _0x17df80(0x2fe);case _0x26985a['FAILED']:return _0x17df80(0x224);default:return _0x17df80(0x2cc);}},_0x1e64ce=(_0x57159d,_0x1ec520)=>{const _0x3e8516=_0x21587f;if(_0x1ec520===_0x4f6500[_0x3e8516(0x2b8)])return _0x3e8516(0x2a7);switch(_0x57159d){case _0x26985a['CONNECTED']:return _0x3e8516(0x2b3);case _0x26985a[_0x3e8516(0x20e)]:case _0x26985a[_0x3e8516(0x1fc)]:return _0x3e8516(0x25d);case _0x26985a[_0x3e8516(0x206)]:return _0x3e8516(0x2a7);default:return _0x3e8516(0x30d);}},_0x445ffe=_0x18eb4e=>{const _0x203afb=_0x21587f;switch(_0x18eb4e){case _0x26985a[_0x203afb(0x2b4)]:return _0x129a37['t'](_0x203afb(0x26c));case _0x26985a[_0x203afb(0x20e)]:return _0x129a37['t'](_0x203afb(0x2db));case _0x26985a[_0x203afb(0x206)]:return _0x129a37['t'](_0x203afb(0x23a));case _0x26985a[_0x203afb(0x1fc)]:return _0x129a37['t'](_0x203afb(0x264));default:return _0x129a37['t']('mcpConfig.connectionStatus.disconnected');}},_0x1b7212=_0xf6815b=>{const _0xf137a2=_0x21587f;switch(_0xf6815b){case _0x4f6500[_0xf137a2(0x2b8)]:return _0x129a37['t'](_0xf137a2(0x263));case _0x4f6500[_0xf137a2(0x2b5)]:return _0x129a37['t']('mcpConfig.connectionError.sessionOccupied');case _0x4f6500[_0xf137a2(0x325)]:return _0x129a37['t']('mcpConfig.connectionError.networkError');case _0x4f6500[_0xf137a2(0x207)]:return _0x129a37['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x4815fc=_0x23973d(()=>{const _0x45a86d=_0x21587f,_0x1c8aaf={..._0x44e111,'apiKey':_0x32ebcd[_0x45a86d(0x233)](),'enableAuth':_0x2e4d2e};_0x4b94e0(_0x1c8aaf);},[_0x44e111,_0x32ebcd,_0x2e4d2e,_0x4b94e0]),_0x456c61=_0x32ebcd[_0x21587f(0x233)]()[_0x21587f(0x309)]>0x0;return _0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x251),'children':[_0x71d551('div',{'className':_0x21587f(0x1f8),'children':_0x1bd020(_0x21587f(0x25f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x28b),'children':_0x71d551('span',{'className':_0x21587f(0x328),'children':'⚙'})}),_0x71d551('div',{'children':_0x71d551('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x129a37['t'](_0x21587f(0x292))})})]})}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x2c5),'children':[_0x71d551('div',{'className':_0x4f2249(_0x21587f(0x327),_0x5ed70c(_0x4653e0,_0x4ea5db)),'children':_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x253),'children':[_0x71d551(_0x21587f(0x25f),{'className':_0x4f2249(_0x21587f(0x213),_0x1e64ce(_0x4653e0,_0x4ea5db))}),_0x71d551('span',{'className':_0x21587f(0x2f9),'children':_0x445ffe(_0x4653e0)})]})}),_0x4ea5db!==_0x4f6500[_0x21587f(0x247)]&&(_0x4653e0===_0x26985a[_0x21587f(0x206)]||_0x4ea5db===_0x4f6500['UNAUTHORIZED'])&&_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x2ab),'children':_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x282),'children':[_0x71d551(_0x21587f(0x2a6),{'className':_0x21587f(0x261),'children':'⚠️'}),_0x71d551('p',{'className':_0x21587f(0x231),'children':_0x1b7212(_0x4ea5db)})]})})]}),_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x1ec),'children':_0x1bd020(_0x21587f(0x25f),{'className':'univer-space-y-5','children':[_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x305),'children':[_0x1bd020('label',{'className':_0x21587f(0x245),'children':[_0x71d551(_0x21587f(0x2a6),{'children':'🔑'}),'\x20',_0x129a37['t']('mcpConfig.apiKey'),_0x71d551(_0x21587f(0x2a6),{'className':_0x21587f(0x1ef),'children':'*'}),_0x4fb7f7&&_0x71d551('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x129a37['t'](_0x21587f(0x22c)),'role':_0x21587f(0x2d2),'onClick':()=>_0x10d97d(!0x0),'children':_0x71d551(ve,{})})]}),_0x71d551(_0x1c1bd9,{'type':'text','placeholder':_0x129a37['t'](_0x21587f(0x1db)),'value':_0x32ebcd,'disabled':_0x201804,'autoComplete':'off','onChange':_0x57d456}),_0x71d551('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x129a37['t'](_0x21587f(0x209))})]}),_0x4fb7f7&&_0x588224&&_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x21f),'children':[_0x71d551('a',{'className':_0x21587f(0x2e9),'role':_0x21587f(0x2d2),'onClick':()=>_0x10d97d(!0x1),'children':_0x71d551(ue,{'className':_0x21587f(0x2f0)})}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x31a),'children':[_0x71d551('div',{'className':_0x21587f(0x225),'children':_0x71d551('span',{'className':'univer-text-blue-600','children':'🚀'})}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x21b),'children':[_0x71d551('h4',{'className':_0x21587f(0x2b2),'children':_0x129a37['t'](_0x21587f(0x22c))}),_0x71d551('p',{'className':_0x21587f(0x265),'children':_0x129a37['t'](_0x21587f(0x329))}),_0x71d551('div',{'className':_0x21587f(0x29f),'children':_0x482255&&_0x1bd020('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x3b0cfa,'target':_0x21587f(0x2ee),'rel':_0x21587f(0x2b7),'children':[_0x71d551(_0x21587f(0x2a6),{'children':'🤖'}),_0x129a37['t'](_0x21587f(0x268)),_0x71d551('span',{'className':_0x21587f(0x2d8),'children':'↗'})]})}),_0x1bd020(_0x21587f(0x25f),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x129a37['t'](_0x21587f(0x303))]})]})]})]}),_0x1b68e6['showDeveloperTools']&&_0x1bd020(_0x21587f(0x25f),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x1bd020('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x71d551(_0x21587f(0x2a6),{'children':'🔗'}),'\x20',_0x129a37['t'](_0x21587f(0x318))]}),_0x1bd020(_0x21587f(0x25f),{'className':'univer-space-y-4','children':[_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x258),'children':[_0x71d551('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x129a37['t']('mcpConfig.configInstructions')}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x305),'children':[_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x2fa),'children':_0x129a37['t'](_0x21587f(0x2d1))}),_0x1bd020('div',{'className':_0x21587f(0x266),'children':[_0x1bd020('div',{'className':_0x21587f(0x253),'children':[_0x71d551(_0x21587f(0x2a6),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x129a37['t'](_0x21587f(0x275))]}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x253),'children':[_0x71d551(_0x21587f(0x2a6),{'className':_0x21587f(0x238),'children':'2'}),_0x129a37['t']('mcpConfig.configStep2')]}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x253),'children':[_0x71d551(_0x21587f(0x2a6),{'className':_0x21587f(0x238),'children':'3'}),_0x129a37['t'](_0x21587f(0x280))]})]})]})]}),_0x1bd020('div',{'className':_0x21587f(0x305),'children':[_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x2fa),'children':_0x21587f(0x1e3)}),_0x71d551(_0x21587f(0x25f),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x71d551('pre',{'className':_0x21587f(0x1de),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x21587f(0x2de)+(_0x48678d||'<SESSION_ID>'),'type':_0x21587f(0x316),'headers':{'Authorization':_0x21587f(0x2ef)+(_0x32ebcd||_0x21587f(0x20b))}}}},null,0x2)})})]}),_0x1bd020(_0x21587f(0x25f),{'className':'univer-space-y-3','children':[_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x2fa),'children':_0x129a37['t']('mcpConfig.configParameters')}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x305),'children':[_0x1bd020(_0x21587f(0x25f),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x2cf)}),_0x1bd020('div',{'className':_0x21587f(0x290),'children':[_0x71d551('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x291),'children':_0x129a37['t'](_0x21587f(0x262))})]})]}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x1d9),'children':[_0x71d551('div',{'className':_0x21587f(0x2cf)}),_0x1bd020('div',{'className':_0x21587f(0x290),'children':[_0x71d551('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x21587f(0x22b)}),_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x291),'children':_0x129a37['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x71d551(_0x56bcc2,{'onClick':_0x4815fc,'disabled':!_0x456c61||_0x201804,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x201804?_0x1bd020(_0x21587f(0x2a6),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x71d551(_0x21587f(0x2a6),{'children':'⟲'}),_0x129a37['t'](_0x21587f(0x25e))]}):_0x1bd020(_0x21587f(0x2a6),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x71d551(le,{}),_0x129a37['t'](_0x21587f(0x2c0))]})}),_0x71d551(_0x21587f(0x25f),{'className':_0x21587f(0x313),'children':_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x23e),'children':[_0x71d551(_0x21587f(0x2a6),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x1bd020(_0x21587f(0x25f),{'className':_0x21587f(0x2d6),'children':[_0x71d551('div',{'className':_0x21587f(0x2c7),'children':_0x21587f(0x23c)}),_0x1bd020(_0x21587f(0x25f),{'children':['•',_0x129a37['t'](_0x21587f(0x294))]}),_0x1bd020(_0x21587f(0x25f),{'children':['•',_0x129a37['t'](_0x21587f(0x28f))]})]})]})})]})})]});}const y=_0x4721d(0x21a),ie={'showDeveloperTools':!0x1,'showStatus':!0x0};var rn=Object[_0x4721d(0x240)],tn=(_0x595c29,_0x48b406,_0x11caf2,_0x12e215)=>{const _0x2b5980=_0x4721d;for(var _0x55e337=_0x12e215>0x1?void 0x0:_0x12e215?rn(_0x48b406,_0x11caf2):_0x48b406,_0x2eda07=_0x595c29[_0x2b5980(0x309)]-0x1,_0x5dd52b;_0x2eda07>=0x0;_0x2eda07--)(_0x5dd52b=_0x595c29[_0x2eda07])&&(_0x55e337=_0x5dd52b(_0x55e337)||_0x55e337);return _0x55e337;},d=(_0x1e1de3,_0x4364e0)=>(_0x2cfabe,_0x321f2b)=>_0x4364e0(_0x2cfabe,_0x321f2b,_0x1e1de3);const U=_0x4721d(0x28a),L='mcp-config-dialog';let I=class extends _0x1dd7fd{constructor(_0x16d903,_0x3e1c64,_0x2d8424,_0x1d8d8d,_0x1cc57,_0x479fb8,_0x1aa09f,_0x1408e3,_0x44c49e,_0x1eb98a){const _0x125b9a=_0x4721d;super(),x(this,'_loading$',new _0x37c39b(!0x1)),x(this,'_mcpCoreConfig$',new _0x37c39b({})),x(this,_0x125b9a(0x326),new _0x37c39b({})),x(this,_0x125b9a(0x2ba),new _0x37c39b('')),x(this,_0x125b9a(0x26e),async _0x4667c9=>{const _0x1b5dcb=_0x125b9a;var _0x2579ca,_0x271d17;this['_loading$'][_0x1b5dcb(0x2c9)](!0x0);try{const _0x4941d8=await this[_0x1b5dcb(0x2c4)](_0x4667c9);if(!_0x4941d8[_0x1b5dcb(0x2fd)]){this[_0x1b5dcb(0x214)][_0x1b5dcb(0x298)]({'type':_0x2e8040[_0x1b5dcb(0x1fe)],'content':_0x4941d8[_0x1b5dcb(0x1ee)]||this[_0x1b5dcb(0x2a3)]['t'](_0x1b5dcb(0x319))});return;}_0x4667c9[_0x1b5dcb(0x210)]?await this[_0x1b5dcb(0x2e0)][_0x1b5dcb(0x2cb)](U,_0x4667c9[_0x1b5dcb(0x210)][_0x1b5dcb(0x233)]()):await this[_0x1b5dcb(0x2e0)][_0x1b5dcb(0x29c)](U),this['_apiKey$'][_0x1b5dcb(0x2c9)](((_0x2579ca=_0x4667c9[_0x1b5dcb(0x210)])==null?void 0x0:_0x2579ca[_0x1b5dcb(0x233)]())||''),this[_0x1b5dcb(0x217)][_0x1b5dcb(0x20c)]({'Authorization':_0x1b5dcb(0x2ef)+((_0x271d17=_0x4667c9[_0x1b5dcb(0x210)])==null?void 0x0:_0x271d17['trim']())}),this[_0x1b5dcb(0x214)][_0x1b5dcb(0x298)]({'type':_0x2e8040[_0x1b5dcb(0x257)],'content':this[_0x1b5dcb(0x2a3)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x302464=_0x1b5dcb;this[_0x302464(0x2e3)][_0x302464(0x2be)](L);},0x320);}catch(_0x10b989){this[_0x1b5dcb(0x307)][_0x1b5dcb(0x1eb)](_0x1b5dcb(0x306),_0x10b989),this[_0x1b5dcb(0x214)][_0x1b5dcb(0x298)]({'type':_0x2e8040[_0x1b5dcb(0x1fe)],'content':this['_localeService']['t'](_0x1b5dcb(0x204))});}finally{this['_loading$'][_0x1b5dcb(0x2c9)](!0x1);}}),(this[_0x125b9a(0x20d)]=_0x16d903,this['_uiPartsService']=_0x3e1c64,this['_configService']=_0x2d8424,this[_0x125b9a(0x2e0)]=_0x1d8d8d,this[_0x125b9a(0x2e3)]=_0x1cc57,this[_0x125b9a(0x214)]=_0x479fb8,this[_0x125b9a(0x2e8)]=_0x1aa09f,this[_0x125b9a(0x2a3)]=_0x1408e3,this['_logService']=_0x44c49e,this[_0x125b9a(0x217)]=_0x1eb98a,this[_0x125b9a(0x273)](),this[_0x125b9a(0x274)](),this['_registerComponent']());}['showConfigPanel'](){const _0x465a18=_0x4721d,_0x28b3f3=this['_configService']['getConfig'](y);_0x28b3f3!=null&&_0x28b3f3[_0x465a18(0x27b)]&&this['_dialogService'][_0x465a18(0x229)]({'id':L,'title':{'title':this[_0x465a18(0x2a3)]['t'](_0x465a18(0x218))},'children':{'label':_0x465a18(0x2a4)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5867d7=_0x465a18;this[_0x5867d7(0x2e3)][_0x5867d7(0x2be)](L);}});}[_0x4721d(0x201)](){const _0x224960=_0x4721d;return this[_0x224960(0x299)]['value'];}[_0x4721d(0x28d)](){const _0x4b9048=_0x4721d;this[_0x4b9048(0x27e)](this[_0x4b9048(0x2e8)]['register'](_0x4b9048(0x2a4),this[_0x4b9048(0x219)]()));}[_0x4721d(0x219)](){const _0x39fdf1=_0x4721d;return _0x16d407(()=>{const _0x2e320d=_0x226a;var _0x1741ca,_0x5b2c2a,_0x20a57a;return _0x71d551(nn,{'config':this[_0x2e320d(0x326)][_0x2e320d(0x1f0)],'mcpCoreConfig':this['_mcpCoreConfig$']['value'],'currentApiKey$':this[_0x2e320d(0x2ba)],'onSave':this[_0x2e320d(0x26e)],'loading':this[_0x2e320d(0x31b)][_0x2e320d(0x1f0)],'connectionStatus$':(_0x1741ca=this[_0x2e320d(0x217)])==null?void 0x0:_0x1741ca['connectionStatus$'],'connectionError$':(_0x5b2c2a=this[_0x2e320d(0x217)])==null?void 0x0:_0x5b2c2a[_0x2e320d(0x2b1)],'currentSessionId$':(_0x20a57a=this[_0x2e320d(0x217)])==null?void 0x0:_0x20a57a[_0x2e320d(0x24d)]});},this[_0x39fdf1(0x20d)]);}['_initConfigSync'](){const _0x3c65a0=_0x4721d;this['disposeWithMe'](this['_configService'][_0x3c65a0(0x226)](_0x11f737)[_0x3c65a0(0x1e6)](_0x4d5855=>{const _0x3dac05=_0x3c65a0;this['_mcpCoreConfig$'][_0x3dac05(0x2c9)](_0x4d5855||{});}));const _0x3e7b48=this[_0x3c65a0(0x208)]['getConfig'](_0x11f737);this[_0x3c65a0(0x299)][_0x3c65a0(0x2c9)](_0x3e7b48||{}),this['disposeWithMe'](this[_0x3c65a0(0x208)][_0x3c65a0(0x226)](y)['subscribe'](_0x2d9760=>{const _0x574149=_0x3c65a0;this[_0x574149(0x326)]['next'](_0x2d9760||{});}));const _0x2e1ce9=this[_0x3c65a0(0x208)]['getConfig'](y);this[_0x3c65a0(0x326)][_0x3c65a0(0x2c9)](_0x2e1ce9||{});}async['_loadStoredApiKey'](){const _0x4788a6=_0x4721d,_0x19644f=this['_configService'][_0x4788a6(0x1ea)](y);if(!(_0x19644f!=null&&_0x19644f[_0x4788a6(0x27b)]))return;const _0x7fa114=await this[_0x4788a6(0x2e0)]['getItem'](U);_0x7fa114&&(this[_0x4788a6(0x217)][_0x4788a6(0x20c)]({'Authorization':'Bearer\x20'+_0x7fa114}),this[_0x4788a6(0x2ba)][_0x4788a6(0x2c9)](_0x7fa114));}async[_0x4721d(0x2c4)](_0xe50baa){const _0x12a275=_0x4721d;if(!_0xe50baa[_0x12a275(0x210)]||_0xe50baa['apiKey'][_0x12a275(0x233)]()[_0x12a275(0x309)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x12a275(0x2a3)]['t'](_0x12a275(0x2a1))};if(_0xe50baa[_0x12a275(0x210)]['trim']()[_0x12a275(0x309)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x12a275(0x2a3)]['t'](_0x12a275(0x2d0))};try{const _0x3bde53=await this[_0x12a275(0x20d)][_0x12a275(0x323)](_0xf9b0c1)[_0x12a275(0x276)](_0xe50baa[_0x12a275(0x210)][_0x12a275(0x233)]());return _0x3bde53['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3bde53[_0x12a275(0x1eb)]||this[_0x12a275(0x2a3)]['t'](_0x12a275(0x252))};}catch(_0x108648){return console[_0x12a275(0x26b)](_0x12a275(0x277),_0x108648),{'isValid':!0x0};}}};I=tn([d(0x0,_0xa6816e(_0x541a5c)),d(0x1,_0x1e1885),d(0x2,_0x322e87),d(0x3,_0x51e914),d(0x4,_0x6baade),d(0x5,_0x671585),d(0x6,_0xa6816e(_0x38f699)),d(0x7,_0xa6816e(_0x449b31)),d(0x8,_0x466f9d),d(0x9,_0xa6816e(_0xf9b0c1))],I);const V={'id':'mcp-ui.command.openConfigPanel','type':_0x82f273[_0x4721d(0x23d)],'handler':async(_0x37133a,_0x10fb80)=>(_0x37133a['get'](I)[_0x4721d(0x24f)](),!0x0)};function pe(_0x1d190c,_0x211fac){const _0x3f5c5b=_0x4721d;switch(_0x1d190c){case _0x26985a[_0x3f5c5b(0x2f4)]:return _0x3f5c5b(0x2f6);case _0x26985a[_0x3f5c5b(0x20e)]:return _0x3f5c5b(0x2d3);case _0x26985a['CONNECTED']:return _0x3f5c5b(0x1e4);case _0x26985a[_0x3f5c5b(0x206)]:switch(_0x211fac){case _0x4f6500[_0x3f5c5b(0x2b8)]:return _0x3f5c5b(0x246);case _0x4f6500[_0x3f5c5b(0x2b5)]:return _0x3f5c5b(0x2cd);case _0x4f6500[_0x3f5c5b(0x325)]:return'mcpStatus.networkError';case _0x4f6500['MAX_RETRIES_EXCEEDED']:return _0x3f5c5b(0x2bc);default:return _0x3f5c5b(0x317);}case _0x26985a[_0x3f5c5b(0x1fc)]:return _0x3f5c5b(0x1e8);default:return _0x3f5c5b(0x2a8);}}function on(_0x3c680c,_0x43af9a,_0xa4f91b,_0x2fff05=!0x0){const _0x1e9725=_0x4721d,_0x4a5bda=pe(_0x3c680c,_0x43af9a),_0x433dee=_0xa4f91b['t'](_0x4a5bda);return _0x2fff05?_0x3c680c===_0x26985a[_0x1e9725(0x2f4)]&&_0x43af9a===_0x4f6500['UNAUTHORIZED']?_0x433dee+_0x1e9725(0x28c)+_0xa4f91b['t'](_0x1e9725(0x2aa)):_0x3c680c===_0x26985a[_0x1e9725(0x2b4)]?''+_0x433dee:_0x3c680c===_0x26985a[_0x1e9725(0x2f4)]||_0x3c680c===_0x26985a['FAILED']?_0x433dee+'\x20-\x20'+_0xa4f91b['t'](_0x1e9725(0x1e2)):_0x433dee:_0x433dee;}function sn(_0x3fb69a){const _0x2e2323=_0x4721d;switch(_0x3fb69a){case _0x26985a[_0x2e2323(0x2b4)]:return _0x2e2323(0x244);case _0x26985a[_0x2e2323(0x20e)]:case _0x26985a[_0x2e2323(0x1fc)]:return _0x2e2323(0x2c6);case _0x26985a[_0x2e2323(0x206)]:case _0x26985a[_0x2e2323(0x2f4)]:return _0x2e2323(0x1ef);default:return _0x2e2323(0x2d9);}}function cn(_0xa8d883){const _0x332273=_0x4721d,{status$:_0x4f279e,error$:_0x55911e,onConfigure:_0x154414,showClickable:_0x270ed9=!0x0}=_0xa8d883,_0x11455c=_0x3580f4(_0x4f279e,_0x26985a[_0x332273(0x2f4)]),_0x3340e5=_0x3580f4(_0x55911e,_0x4f6500['NONE']),_0x5f427d=_0x357040(_0x449b31),_0x1388ba=_0x11455c===_0x26985a[_0x332273(0x2b4)];_0x11455c===_0x26985a[_0x332273(0x20e)]||_0x26985a[_0x332273(0x1fc)];const _0x2d85a7=_0x5f427d['t'](pe(_0x11455c,_0x3340e5)),_0x21cf5b=on(_0x11455c,_0x3340e5,_0x5f427d,_0x270ed9),_0x184c37=sn(_0x11455c),_0x47c03e=_0x1388ba?_0x71d551(ge,{}):_0x71d551(de,{}),_0x439398=_0x23973d(()=>{_0x270ed9&&_0x154414&&_0x154414();},[_0x270ed9,_0x154414]);function _0xbd4c02(){const _0x47453b=_0x332273;return _0x1bd020(_0x47453b(0x25f),{'className':_0x4f2249(_0x47453b(0x2f8),_0x270ed9&&_0x154414&&_0x47453b(0x1fd)),'role':_0x47453b(0x2d2),'onClick':_0x270ed9&&_0x154414?_0x439398:void 0x0,'children':[_0x71d551(_0x47453b(0x25f),{'className':_0x4f2249('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x184c37),'children':_0x47c03e}),_0x71d551(_0x47453b(0x25f),{'className':_0x47453b(0x293),'children':_0x2d85a7})]});}return _0x71d551(_0xaee0b3,{'title':_0x21cf5b,'placement':_0x332273(0x1fb),'children':_0xbd4c02()});}var an=Object[_0x4721d(0x240)],ln=(_0x4248e4,_0x22ec22,_0x59e402,_0x3d041f)=>{for(var _0xf31110=_0x3d041f>0x1?void 0x0:_0x3d041f?an(_0x22ec22,_0x59e402):_0x22ec22,_0x207e68=_0x4248e4['length']-0x1,_0x243011;_0x207e68>=0x0;_0x207e68--)(_0x243011=_0x4248e4[_0x207e68])&&(_0xf31110=_0x243011(_0xf31110)||_0xf31110);return _0xf31110;},M=(_0x92dec7,_0x4a3409)=>(_0x2dd1d8,_0x40d28d)=>_0x4a3409(_0x2dd1d8,_0x40d28d,_0x92dec7);let O=class extends _0x1dd7fd{constructor(_0x244ad3,_0x36175d,_0x16ffe4,_0x1ce00f){const _0x5c5833=_0x4721d;super(),this[_0x5c5833(0x20d)]=_0x244ad3,this[_0x5c5833(0x30a)]=_0x36175d,this[_0x5c5833(0x1f9)]=_0x16ffe4,this[_0x5c5833(0x208)]=_0x1ce00f,this[_0x5c5833(0x2f5)](),this[_0x5c5833(0x2e4)]();}[_0x4721d(0x2f5)](){const _0x12b0af=_0x4721d,_0x5bbc18=this['_configService'][_0x12b0af(0x1ea)](y);_0x5bbc18!=null&&_0x5bbc18[_0x12b0af(0x27b)]&&(this[_0x12b0af(0x30a)][_0x12b0af(0x267)]=!0x1);}[_0x4721d(0x2e4)](){const _0x3db15f=_0x4721d,_0x3111dd=this['_configService']['getConfig'](y);(_0x3111dd==null?void 0x0:_0x3111dd[_0x3db15f(0x289)])!==!0x1&&this[_0x3db15f(0x27e)](this['_uiPartsService'][_0x3db15f(0x249)](_0x442c44[_0x3db15f(0x235)],()=>{const _0x15950f=_0x3db15f;var _0xb18613;return _0x16d407(un({'status$':this[_0x15950f(0x30a)][_0x15950f(0x308)],'error$':this[_0x15950f(0x30a)][_0x15950f(0x2b1)],'onConfigure':()=>this[_0x15950f(0x1f4)](),'showClickable':(_0xb18613=_0x3111dd==null?void 0x0:_0x3111dd['showDeveloperTools'])!=null?_0xb18613:!0x1}),this[_0x15950f(0x20d)]);}));}[_0x4721d(0x1f4)](){const _0x456f89=_0x4721d;this['_injector'][_0x456f89(0x323)](I)[_0x456f89(0x24f)]();}};O=ln([M(0x0,_0xa6816e(_0x541a5c)),M(0x1,_0xa6816e(_0xf9b0c1)),M(0x2,_0x1e1885),M(0x3,_0x322e87)],O);function un(_0x289b0c){const {status$:_0x1289b8,error$:_0x383a5a,onConfigure:_0x38440c,showClickable:_0x102656}=_0x289b0c;return function(){return _0x71d551(cn,{'status$':_0x1289b8,'error$':_0x383a5a,'onConfigure':_0x38440c,'showClickable':_0x102656});};}function vn(_0xac9985){const _0x4f72bd=_0x4721d;return{'id':V['id'],'type':_0x1fb06e[_0x4f72bd(0x2df)],'icon':_0x4f72bd(0x297),'title':_0x4f72bd(0x218),'tooltip':_0x4f72bd(0x218)};}const dn={[_0xe3f608['OTHERS']]:{[V['id']]:{'order':0xa,'menuItemFactory':vn}}};var gn=Object[_0x4721d(0x240)],pn=(_0x11567d,_0x55aa07,_0x36d55b,_0x477947)=>{for(var _0x1b2fc3=_0x477947>0x1?void 0x0:_0x477947?gn(_0x55aa07,_0x36d55b):_0x55aa07,_0x4b9bd1=_0x11567d['length']-0x1,_0xd4a987;_0x4b9bd1>=0x0;_0x4b9bd1--)(_0xd4a987=_0x11567d[_0x4b9bd1])&&(_0x1b2fc3=_0xd4a987(_0x1b2fc3)||_0x1b2fc3);return _0x1b2fc3;},re=(_0x4fe74a,_0x182d98)=>(_0x48a573,_0xea88a6)=>_0x182d98(_0x48a573,_0xea88a6,_0x4fe74a);let D=class extends _0x1dd7fd{constructor(_0xf714ce,_0x444e02){const _0x4e2f71=_0x4721d;super(),this[_0x4e2f71(0x256)]=_0xf714ce,this['_menuManagerService']=_0x444e02,this['_initializeCommands'](),this['_initializeMenus']();}['_initializeCommands'](){const _0x53b77f=_0x4721d;[V][_0x53b77f(0x296)](_0x38abb3=>{const _0x4a7845=_0x53b77f;this['disposeWithMe'](this[_0x4a7845(0x256)][_0x4a7845(0x2da)](_0x38abb3));});}[_0x4721d(0x1e0)](){const _0x2f7edf=_0x4721d;this[_0x2f7edf(0x30c)][_0x2f7edf(0x216)](dn);}};D=pn([re(0x0,_0x4372fc),re(0x1,_0x23bcea)],D);const Mn={'mcpStatus':{'disconnected':_0x4721d(0x26a),'connecting':_0x4721d(0x1e1),'connected':_0x4721d(0x22d),'failed':_0x4721d(0x284),'retrying':'MCP\x20Retrying...','unknown':_0x4721d(0x227),'unauthorized':_0x4721d(0x24c),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4721d(0x2bd),'maxRetriesExceeded':_0x4721d(0x1f6),'clickToConnect':_0x4721d(0x31e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4721d(0x1e3),'description':_0x4721d(0x287),'apiKey':_0x4721d(0x2af),'apiKeyPlaceholder':_0x4721d(0x2e2),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4721d(0x2a0),'connectionInfo':_0x4721d(0x2e6),'mcpClientConfig':_0x4721d(0x2e6),'configInstructions':_0x4721d(0x2d7),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4721d(0x20a),'configStep2':_0x4721d(0x242),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x4721d(0x25c),'authorizationDescription':_0x4721d(0x314),'configParameters':_0x4721d(0x312),'maxRetries':'Max\x20Retries','save':_0x4721d(0x1d8),'saving':_0x4721d(0x22f),'note1':_0x4721d(0x1f2),'note2':_0x4721d(0x25a),'configSaved':_0x4721d(0x2e5),'configError':_0x4721d(0x2c8),'apiApplyInfo':{'title':_0x4721d(0x30e),'description':_0x4721d(0x29b),'univerAiLabel':_0x4721d(0x1dc),'getStarted':_0x4721d(0x215)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4721d(0x211),'invalidConfig':_0x4721d(0x272),'invalidApiKey':_0x4721d(0x2bf)},'connectionStatus':{'disconnected':_0x4721d(0x322),'connecting':_0x4721d(0x29e),'connected':_0x4721d(0x288),'failed':_0x4721d(0x230),'retrying':_0x4721d(0x2ce)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4721d(0x32b),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4721d(0x2c3)}}},An={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x4721d(0x29a),'connected':'MCP\x20已连接','failed':_0x4721d(0x205),'retrying':_0x4721d(0x1e5),'unknown':_0x4721d(0x2ed),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x4721d(0x31d),'networkError':_0x4721d(0x203),'maxRetriesExceeded':_0x4721d(0x2ac),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x4721d(0x20f)},'mcpConfig':{'title':_0x4721d(0x300),'description':_0x4721d(0x1ed),'apiKey':_0x4721d(0x2eb),'apiKeyPlaceholder':_0x4721d(0x2c1),'apiKeyHint':_0x4721d(0x270),'enableAuth':_0x4721d(0x324),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x4721d(0x295),'mcpClientConfig':_0x4721d(0x295),'configInstructions':_0x4721d(0x23b),'configStepTitle':_0x4721d(0x2b6),'configStep1':_0x4721d(0x1f1),'configStep2':_0x4721d(0x2ea),'configStep3':_0x4721d(0x271),'sessionId':_0x4721d(0x1fa),'sessionIdDescription':_0x4721d(0x25b),'authorizationDescription':_0x4721d(0x315),'configParameters':_0x4721d(0x22e),'maxRetries':_0x4721d(0x27f),'save':_0x4721d(0x301),'saving':_0x4721d(0x21e),'note1':'配置更改将立即生效','note2':_0x4721d(0x21d),'configSaved':_0x4721d(0x31c),'configError':'配置保存失败','apiApplyInfo':{'title':_0x4721d(0x27d),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x4721d(0x2fb),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x4721d(0x304),'apiKeyTooShort':_0x4721d(0x1f3),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x4721d(0x248),'connecting':_0x4721d(0x1e9),'connected':_0x4721d(0x31f),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x4721d(0x2a2),'sessionOccupied':_0x4721d(0x29d),'networkError':_0x4721d(0x260),'maxRetriesExceeded':_0x4721d(0x1ff)}}};var fn=Object[_0x4721d(0x221)],hn=Object[_0x4721d(0x240)],Cn=(_0x4b75bf,_0x17bf8a,_0xba7c34)=>_0x17bf8a in _0x4b75bf?fn(_0x4b75bf,_0x17bf8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xba7c34}):_0x4b75bf[_0x17bf8a]=_0xba7c34,mn=(_0x299d05,_0x5c3cfa,_0xed7b1,_0x4f9056)=>{const _0x79a637=_0x4721d;for(var _0x32484e=_0x4f9056>0x1?void 0x0:_0x4f9056?hn(_0x5c3cfa,_0xed7b1):_0x5c3cfa,_0x40602c=_0x299d05[_0x79a637(0x309)]-0x1,_0x16e8cc;_0x40602c>=0x0;_0x40602c--)(_0x16e8cc=_0x299d05[_0x40602c])&&(_0x32484e=_0x16e8cc(_0x32484e)||_0x32484e);return _0x32484e;},P=(_0x7868c,_0x49ce84)=>(_0x496d62,_0x5cdeb4)=>_0x49ce84(_0x496d62,_0x5cdeb4,_0x7868c),_n=(_0x272f1d,_0x8ddee0,_0x4c22c0)=>Cn(_0x272f1d,_0x8ddee0+'',_0x4c22c0);let j=class extends _0x1b86ad{constructor(_0x272f39=ie,_0x4f08a8,_0x135bcd,_0x1b76c4,_0x1fc1e5,_0x1800aa){const _0x5a054a=_0x4721d;super(),this[_0x5a054a(0x2d4)]=_0x272f39,this[_0x5a054a(0x20d)]=_0x4f08a8,this[_0x5a054a(0x208)]=_0x135bcd,this[_0x5a054a(0x1f9)]=_0x1b76c4,this[_0x5a054a(0x2e0)]=_0x1fc1e5,this[_0x5a054a(0x2a3)]=_0x1800aa;const {..._0x119ed0}=_0x4710af({},ie,this['_config']);this['_configService']['setConfig'](y,_0x119ed0);}async[_0x4721d(0x212)](){const _0x706e23=_0x4721d,_0xf35f54=[[O],[I],[D]];this['_injector'][_0x706e23(0x2e1)](_0x494737)||_0xf35f54[_0x706e23(0x2b0)]([_0x494737,{'useClass':_0x321007}]),_0xf35f54[_0x706e23(0x296)](_0xd38f72=>this[_0x706e23(0x20d)][_0x706e23(0x26f)](_0xd38f72)),this[_0x706e23(0x20d)]['get'](O),this['_injector'][_0x706e23(0x323)](I),this[_0x706e23(0x20d)][_0x706e23(0x323)](D);}};_n(j,'pluginName',_0x4721d(0x1f7)),j=mn([_0x2960b3(_0xa3b208),P(0x1,_0xa6816e(_0x541a5c)),P(0x2,_0x322e87),P(0x3,_0x1e1885),P(0x4,_0x51e914),P(0x5,_0xa6816e(_0x449b31))],j);export{nn as MCPConfigPanel,I as MCPConfigUIController,O as MCPConnectionUIController,cn as MCPStatusDisplay,D as MCPUIMenuController,V as OpenMCPConfigPanelCommand,j as UniverMCPUIPlugin,Mn as enUS,An as zhCN};
@@ -1 +1 @@
1
- function _0x2cf9(){const _0x2162e6=['Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connected','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enter\x20your\x20API\x20key','Configuration\x20saved\x20successfully','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','72GTQfyY','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Enable\x20Authentication','Configuration\x20Steps:','MCP\x20Connecting...','Configuration\x20Parameters:','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','14418684FbIrRC','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Unknown\x20Status','14GpYnrg','MCP\x20Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Client\x20Configuration','Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connecting...','MCP\x20Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','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:\x20Session\x20ID\x20Occupied','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Authorization\x20failed,\x20please\x20check\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.','Failed\x20to\x20save\x20configuration','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','23132GDNHfi','591642bRfZMM','668102XgomOb','329726mHUNVW','Connected','3193912schEHa','Univer\x20AI\x20Console','7530PpxDqb','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage'];_0x2cf9=function(){return _0x2162e6;};return _0x2cf9();}const _0x516a9e=_0x5e9a;(function(_0x3c5122,_0x294929){const _0x3f767a=_0x5e9a,_0x4e4f78=_0x3c5122();while(!![]){try{const _0x2ae644=-parseInt(_0x3f767a(0x20b))/0x1+-parseInt(_0x3f767a(0x20a))/0x2+parseInt(_0x3f767a(0x1ea))/0x3*(-parseInt(_0x3f767a(0x208))/0x4)+-parseInt(_0x3f767a(0x20f))/0x5+-parseInt(_0x3f767a(0x209))/0x6*(parseInt(_0x3f767a(0x1f5))/0x7)+-parseInt(_0x3f767a(0x20d))/0x8+parseInt(_0x3f767a(0x1f2))/0x9;if(_0x2ae644===_0x294929)break;else _0x4e4f78['push'](_0x4e4f78['shift']());}catch(_0x2e7ba0){_0x4e4f78['push'](_0x4e4f78['shift']());}}}(_0x2cf9,0x3134c));const e={'mcpStatus':{'disconnected':_0x516a9e(0x1ff),'connecting':_0x516a9e(0x1ee),'connected':_0x516a9e(0x213),'failed':_0x516a9e(0x1f6),'retrying':_0x516a9e(0x210),'unknown':_0x516a9e(0x1f4),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x516a9e(0x202),'networkError':_0x516a9e(0x1e9),'maxRetriesExceeded':_0x516a9e(0x1e8),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x516a9e(0x1e1)},'mcpConfig':{'title':_0x516a9e(0x1e0),'description':_0x516a9e(0x1f7),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x516a9e(0x1e4),'apiKeyHint':_0x516a9e(0x203),'enableAuth':_0x516a9e(0x1ec),'enableAuthHint':_0x516a9e(0x200),'connectionInfo':_0x516a9e(0x1fb),'mcpClientConfig':_0x516a9e(0x1fb),'configInstructions':_0x516a9e(0x212),'configStepTitle':_0x516a9e(0x1ed),'configStep1':_0x516a9e(0x1e6),'configStep2':_0x516a9e(0x1fd),'configStep3':_0x516a9e(0x1fa),'sessionId':'Session\x20ID','sessionIdDescription':_0x516a9e(0x205),'authorizationDescription':_0x516a9e(0x1f3),'configParameters':_0x516a9e(0x1ef),'maxRetries':_0x516a9e(0x1e2),'save':'Save\x20Configuration','saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x516a9e(0x211),'configSaved':_0x516a9e(0x1e5),'configError':_0x516a9e(0x206),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x516a9e(0x201),'univerAiLabel':_0x516a9e(0x20e),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x516a9e(0x1f1),'apiKeyTooShort':_0x516a9e(0x1f0),'invalidConfig':_0x516a9e(0x1e7),'invalidApiKey':_0x516a9e(0x1f9)},'connectionStatus':{'disconnected':_0x516a9e(0x1fc),'connecting':_0x516a9e(0x1fe),'connected':_0x516a9e(0x20c),'failed':_0x516a9e(0x1f8),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x516a9e(0x204),'sessionOccupied':_0x516a9e(0x1eb),'networkError':_0x516a9e(0x1e3),'maxRetriesExceeded':_0x516a9e(0x207)}}},n=e;function _0x5e9a(_0x561452,_0x284b15){const _0x2cf982=_0x2cf9();return _0x5e9a=function(_0x5e9ab9,_0x40b3a5){_0x5e9ab9=_0x5e9ab9-0x1e0;let _0x4deef7=_0x2cf982[_0x5e9ab9];return _0x4deef7;},_0x5e9a(_0x561452,_0x284b15);}export{n as default};
1
+ const _0x5e8644=_0x55eb;function _0xb04a(){const _0x21c1af=['MCP\x20Connected','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','Configuration\x20saved\x20successfully','1493764fXRbtS','5206728bDdiEb','Enable\x20Authentication','Max\x20Retries','8919810xIWpRQ','44tXdtQU','What\x20is\x20API\x20Key?','Copy\x20the\x20JSON\x20configuration\x20below','Save\x20Configuration','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','9345285kmZEmM','48tWFTpI','Click\x20to\x20configure\x20MCP','Connected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Retrying...','5wcSFhc','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Session\x20ID','6uuaVuU','Enter\x20your\x20API\x20key','API\x20Key','Failed\x20to\x20save\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Max\x20Retries\x20Exceeded','618548vtoLfk','MCP:\x20Session\x20ID\x20Occupied','4947552yjHlKb','Invalid\x20configuration','Connecting...','Retrying...','MCP\x20Disconnected','MCP\x20Connecting...','544848yfFFea','MCP\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP:\x20Unauthorized','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20is\x20required','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Univer\x20AI\x20Console'];_0xb04a=function(){return _0x21c1af;};return _0xb04a();}function _0x55eb(_0xd4a071,_0x3eb9d9){const _0xb04ae1=_0xb04a();return _0x55eb=function(_0x55eb64,_0x1733f4){_0x55eb64=_0x55eb64-0xaa;let _0x269d55=_0xb04ae1[_0x55eb64];return _0x269d55;},_0x55eb(_0xd4a071,_0x3eb9d9);}(function(_0x3c9f16,_0x45dd07){const _0x128aea=_0x55eb,_0x1d8396=_0x3c9f16();while(!![]){try{const _0x5626e4=-parseInt(_0x128aea(0xba))/0x1*(parseInt(_0x128aea(0xac))/0x2)+-parseInt(_0x128aea(0xcb))/0x3+-parseInt(_0x128aea(0xca))/0x4*(parseInt(_0x128aea(0xdb))/0x5)+-parseInt(_0x128aea(0xd6))/0x6*(-parseInt(_0x128aea(0xb2))/0x7)+-parseInt(_0x128aea(0xb4))/0x8+parseInt(_0x128aea(0xd5))/0x9+parseInt(_0x128aea(0xce))/0xa*(parseInt(_0x128aea(0xcf))/0xb);if(_0x5626e4===_0x45dd07)break;else _0x1d8396['push'](_0x1d8396['shift']());}catch(_0x3133c6){_0x1d8396['push'](_0x1d8396['shift']());}}}(_0xb04a,0xe839c));const e={'mcpStatus':{'disconnected':_0x5e8644(0xb8),'connecting':_0x5e8644(0xb9),'connected':_0x5e8644(0xc4),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5e8644(0xda),'unknown':_0x5e8644(0xc7),'unauthorized':_0x5e8644(0xbd),'sessionOccupied':_0x5e8644(0xb3),'networkError':_0x5e8644(0xc6),'maxRetriesExceeded':_0x5e8644(0xb1),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5e8644(0xd7)},'mcpConfig':{'title':_0x5e8644(0xbb),'description':_0x5e8644(0xc0),'apiKey':_0x5e8644(0xae),'apiKeyPlaceholder':_0x5e8644(0xad),'apiKeyHint':_0x5e8644(0xd4),'enableAuth':_0x5e8644(0xcc),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5e8644(0xc5),'mcpClientConfig':_0x5e8644(0xc5),'configInstructions':_0x5e8644(0xdc),'configStepTitle':_0x5e8644(0xd3),'configStep1':_0x5e8644(0xd1),'configStep2':_0x5e8644(0xc2),'configStep3':_0x5e8644(0xd9),'sessionId':_0x5e8644(0xab),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x5e8644(0xbc),'configParameters':_0x5e8644(0xc8),'maxRetries':_0x5e8644(0xcd),'save':_0x5e8644(0xd2),'saving':'Saving...','note1':_0x5e8644(0xaa),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5e8644(0xc9),'configError':_0x5e8644(0xaf),'apiApplyInfo':{'title':_0x5e8644(0xd0),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x5e8644(0xc3),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x5e8644(0xc1),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5e8644(0xb5),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5e8644(0xbe),'connecting':_0x5e8644(0xb6),'connected':_0x5e8644(0xd8),'failed':'Connection\x20Failed','retrying':_0x5e8644(0xb7)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5e8644(0xdd),'networkError':_0x5e8644(0xb0),'maxRetriesExceeded':_0x5e8644(0xbf)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x46d8aa=_0x30e4;function _0x4ddf(){const _0x29c18b=['MCP\x20Connected','Invalid\x20configuration','MCP\x20Connecting...','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','253524qjDpyX','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Copy\x20the\x20JSON\x20configuration\x20below','9xkLbaP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20Key','MCP\x20Retrying...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','42vKvAqC','Disconnected','7310080OPqSTV','API\x20key\x20with\x20Bearer\x20prefix.','1265902vYfHPW','27720135zWZqmA','8996064kCLHhQ','Retrying...','MCP\x20Connection\x20Failed','Saving...','1289988AYfzrM','Get\x20your\x20API\x20key\x20in\x20seconds','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','MCP:\x20Network\x20Error','Click\x20to\x20connect\x20MCP','Configuration\x20Steps:','Click\x20to\x20configure\x20MCP','Enable\x20Authentication','Univer\x20AI\x20Console','Session\x20ID','Connection\x20Failed','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','1418767aqBnLR'];_0x4ddf=function(){return _0x29c18b;};return _0x4ddf();}(function(_0x198a20,_0x3b1102){const _0x47a05b=_0x30e4,_0x38c5dd=_0x198a20();while(!![]){try{const _0xef9275=-parseInt(_0x47a05b(0xcc))/0x1+parseInt(_0x47a05b(0xc0))/0x2*(parseInt(_0x47a05b(0xc3))/0x3)+-parseInt(_0x47a05b(0xd2))/0x4+parseInt(_0x47a05b(0xca))/0x5+-parseInt(_0x47a05b(0xc8))/0x6*(parseInt(_0x47a05b(0xba))/0x7)+-parseInt(_0x47a05b(0xce))/0x8+parseInt(_0x47a05b(0xcd))/0x9;if(_0xef9275===_0x3b1102)break;else _0x38c5dd['push'](_0x38c5dd['shift']());}catch(_0x54b47b){_0x38c5dd['push'](_0x38c5dd['shift']());}}}(_0x4ddf,0xc1073));const e={'mcpStatus':{'disconnected':_0x46d8aa(0xab),'connecting':_0x46d8aa(0xbd),'connected':_0x46d8aa(0xbb),'failed':_0x46d8aa(0xd0),'retrying':_0x46d8aa(0xc6),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x46d8aa(0xb7),'networkError':_0x46d8aa(0xac),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x46d8aa(0xad),'clickToConfigure':_0x46d8aa(0xaf)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x46d8aa(0xb9),'apiKey':_0x46d8aa(0xc5),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x46d8aa(0xb5),'enableAuth':_0x46d8aa(0xb0),'enableAuthHint':_0x46d8aa(0xb6),'connectionInfo':_0x46d8aa(0xbe),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x46d8aa(0xa8),'configStepTitle':_0x46d8aa(0xae),'configStep1':_0x46d8aa(0xc2),'configStep2':_0x46d8aa(0xc1),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x46d8aa(0xb2),'sessionIdDescription':_0x46d8aa(0xc7),'authorizationDescription':_0x46d8aa(0xcb),'configParameters':_0x46d8aa(0xbf),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x46d8aa(0xd1),'note1':_0x46d8aa(0xaa),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x46d8aa(0xc4),'univerAiLabel':_0x46d8aa(0xb1),'getStarted':_0x46d8aa(0xa7)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x46d8aa(0xb8),'invalidConfig':_0x46d8aa(0xbc),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x46d8aa(0xc9),'connecting':'Connecting...','connected':_0x46d8aa(0xb4),'failed':_0x46d8aa(0xb3),'retrying':_0x46d8aa(0xcf)},'connectionError':{'unauthorized':_0x46d8aa(0xa9),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x30e4(_0x583208,_0x1c391){const _0x4ddf93=_0x4ddf();return _0x30e4=function(_0x30e46e,_0x165599){_0x30e46e=_0x30e46e-0xa7;let _0x29e92c=_0x4ddf93[_0x30e46e];return _0x29e92c;},_0x30e4(_0x583208,_0x1c391);}export{e as default};
1
+ const _0x24af1f=_0x44ed;(function(_0x377f6d,_0x18dc64){const _0x2c00e1=_0x44ed,_0x559995=_0x377f6d();while(!![]){try{const _0x59c6c0=-parseInt(_0x2c00e1(0x104))/0x1+-parseInt(_0x2c00e1(0xed))/0x2*(-parseInt(_0x2c00e1(0x10c))/0x3)+-parseInt(_0x2c00e1(0xf4))/0x4+parseInt(_0x2c00e1(0xf2))/0x5+-parseInt(_0x2c00e1(0x109))/0x6*(-parseInt(_0x2c00e1(0x115))/0x7)+parseInt(_0x2c00e1(0x108))/0x8*(-parseInt(_0x2c00e1(0xfe))/0x9)+-parseInt(_0x2c00e1(0x116))/0xa;if(_0x59c6c0===_0x18dc64)break;else _0x559995['push'](_0x559995['shift']());}catch(_0x2acd90){_0x559995['push'](_0x559995['shift']());}}}(_0x1afe,0x431f2));function _0x1afe(){const _0x4fc668=['272124DawYAh','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20connect\x20MCP','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Unknown\x20Status','14vxMBrO','834690VsMJyL','Connecting...','Univer\x20AI\x20Console','Enable\x20Authentication','Failed\x20to\x20save\x20configuration','Connected','MCP\x20Connected','12zlzLgd','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','Configuration\x20saved\x20successfully','286800HrZgqw','Session\x20ID','1362264nnIlAH','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Max\x20Retries','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required','MCP:\x20Session\x20ID\x20Occupied','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','18QKnZQL','Configuration\x20Parameters:','MCP:\x20Unauthorized','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Configuration','30185AeDkeD','MCP\x20Client\x20Configuration','Invalid\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1000096GKRrij','1132698ggZUap','API\x20key\x20with\x20Bearer\x20prefix.','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration'];_0x1afe=function(){return _0x4fc668;};return _0x1afe();}function _0x44ed(_0x3e6a2d,_0x23ce76){const _0x1afed5=_0x1afe();return _0x44ed=function(_0x44ede4,_0x4dad23){_0x44ede4=_0x44ede4-0xed;let _0x15bcf6=_0x1afed5[_0x44ede4];return _0x15bcf6;},_0x44ed(_0x3e6a2d,_0x23ce76);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x24af1f(0x11c),'failed':_0x24af1f(0xfd),'retrying':_0x24af1f(0x10e),'unknown':_0x24af1f(0x114),'unauthorized':_0x24af1f(0x100),'sessionOccupied':_0x24af1f(0xfa),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x24af1f(0x102),'clickToConnect':_0x24af1f(0x111),'clickToConfigure':_0x24af1f(0x101)},'mcpConfig':{'title':_0x24af1f(0x103),'description':_0x24af1f(0xf5),'apiKey':_0x24af1f(0xfb),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x24af1f(0x112),'enableAuth':_0x24af1f(0x119),'enableAuthHint':_0x24af1f(0x110),'connectionInfo':_0x24af1f(0x105),'mcpClientConfig':_0x24af1f(0x105),'configInstructions':_0x24af1f(0xef),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x24af1f(0x10b),'sessionId':_0x24af1f(0xf3),'sessionIdDescription':_0x24af1f(0x113),'authorizationDescription':_0x24af1f(0x10a),'configParameters':_0x24af1f(0xff),'maxRetries':_0x24af1f(0xf6),'save':_0x24af1f(0xf0),'saving':_0x24af1f(0xee),'note1':_0x24af1f(0x10f),'note2':_0x24af1f(0x107),'configSaved':_0x24af1f(0xf1),'configError':_0x24af1f(0x11a),'apiApplyInfo':{'title':_0x24af1f(0xf8),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x24af1f(0x118),'getStarted':_0x24af1f(0xfc)},'validation':{'apiKeyRequired':_0x24af1f(0xf9),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x24af1f(0x106),'invalidApiKey':_0x24af1f(0x10d)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x24af1f(0x117),'connected':_0x24af1f(0x11b),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x24af1f(0xf7),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};export{e as default};