@univerjs-pro/mcp-ui 0.10.12 → 0.10.13

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
- const _0x4350c0=_0x5777;(function(_0x62c694,_0x45986b){const _0x2bd4f5=_0x5777,_0x182845=_0x62c694();while(!![]){try{const _0x4c24e7=parseInt(_0x2bd4f5(0xb0))/0x1*(parseInt(_0x2bd4f5(0xbd))/0x2)+-parseInt(_0x2bd4f5(0xba))/0x3+-parseInt(_0x2bd4f5(0xc1))/0x4+parseInt(_0x2bd4f5(0xdf))/0x5*(-parseInt(_0x2bd4f5(0xd9))/0x6)+-parseInt(_0x2bd4f5(0xda))/0x7*(-parseInt(_0x2bd4f5(0xcb))/0x8)+parseInt(_0x2bd4f5(0xdb))/0x9*(-parseInt(_0x2bd4f5(0xdd))/0xa)+parseInt(_0x2bd4f5(0xce))/0xb;if(_0x4c24e7===_0x45986b)break;else _0x182845['push'](_0x182845['shift']());}catch(_0x381bde){_0x182845['push'](_0x182845['shift']());}}}(_0x3478,0x9d700));function _0x3478(){const _0x4568ce=['Save\x20Configuration','Failed\x20to\x20save\x20configuration','Invalid\x20configuration','Configuration\x20Steps:','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','MCP\x20Connection\x20Failed','Disconnected','2674161epKIvc','MCP\x20Client\x20Configuration','Click\x20to\x20connect\x20MCP','301766rCxYoc','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enter\x20your\x20API\x20key','MCP\x20Unknown\x20Status','251544WlEhit','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\x20Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Parameters:','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','108776bkrOXt','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','9825794vcUZjh','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Configuration','Saving...','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1758252qsZDsM','469HmEVpp','3361023pFyScU','Get\x20your\x20API\x20key\x20in\x20seconds','10FZgOKT','MCP\x20Connecting...','10VQjGaa','Connected','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','5NpdSCN','Retrying...'];_0x3478=function(){return _0x4568ce;};return _0x3478();}const e={'mcpStatus':{'disconnected':_0x4350c0(0xd6),'connecting':_0x4350c0(0xde),'connected':_0x4350c0(0xc3),'failed':_0x4350c0(0xb8),'retrying':_0x4350c0(0xcc),'unknown':_0x4350c0(0xc0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x4350c0(0xd3),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x4350c0(0xc8),'clickToConnect':_0x4350c0(0xbc),'clickToConfigure':_0x4350c0(0xcd)},'mcpConfig':{'title':_0x4350c0(0xd1),'description':_0x4350c0(0xbe),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4350c0(0xbf),'apiKeyHint':_0x4350c0(0xca),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4350c0(0xd0),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x4350c0(0xbb),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x4350c0(0xb5),'configStep1':_0x4350c0(0xc5),'configStep2':_0x4350c0(0xd8),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x4350c0(0xd4),'sessionIdDescription':_0x4350c0(0xe1),'authorizationDescription':_0x4350c0(0xb6),'configParameters':_0x4350c0(0xc6),'maxRetries':_0x4350c0(0xb7),'save':_0x4350c0(0xb2),'saving':_0x4350c0(0xd2),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x4350c0(0xc9),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4350c0(0xb3),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4350c0(0xc2),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4350c0(0xdc)},'validation':{'apiKeyRequired':_0x4350c0(0xc7),'apiKeyTooShort':_0x4350c0(0xcf),'invalidConfig':_0x4350c0(0xb4),'invalidApiKey':_0x4350c0(0xd5)},'connectionStatus':{'disconnected':_0x4350c0(0xb9),'connecting':'Connecting...','connected':_0x4350c0(0xe0),'failed':_0x4350c0(0xae),'retrying':_0x4350c0(0xb1)},'connectionError':{'unauthorized':_0x4350c0(0xd7),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4350c0(0xc4),'maxRetriesExceeded':_0x4350c0(0xaf)}}},n=e;function _0x5777(_0x1afbfc,_0x489d0c){const _0x347884=_0x3478();return _0x5777=function(_0x5777f5,_0x53cd0b){_0x5777f5=_0x5777f5-0xae;let _0x4886df=_0x347884[_0x5777f5];return _0x4886df;},_0x5777(_0x1afbfc,_0x489d0c);}export{n as default};
1
+ const _0x5adb75=_0x53a5;(function(_0x24996f,_0x74604){const _0x1cf045=_0x53a5,_0x4b8fc5=_0x24996f();while(!![]){try{const _0x1d3b35=parseInt(_0x1cf045(0x72))/0x1*(-parseInt(_0x1cf045(0x6d))/0x2)+-parseInt(_0x1cf045(0x81))/0x3*(parseInt(_0x1cf045(0x98))/0x4)+parseInt(_0x1cf045(0x99))/0x5*(-parseInt(_0x1cf045(0x75))/0x6)+parseInt(_0x1cf045(0x77))/0x7+-parseInt(_0x1cf045(0x91))/0x8+-parseInt(_0x1cf045(0x94))/0x9+parseInt(_0x1cf045(0x6f))/0xa;if(_0x1d3b35===_0x74604)break;else _0x4b8fc5['push'](_0x4b8fc5['shift']());}catch(_0xbb8605){_0x4b8fc5['push'](_0x4b8fc5['shift']());}}}(_0x43a1,0x3c768));const e={'mcpStatus':{'disconnected':_0x5adb75(0x69),'connecting':_0x5adb75(0x8c),'connected':_0x5adb75(0x9b),'failed':_0x5adb75(0x7e),'retrying':_0x5adb75(0x8d),'unknown':_0x5adb75(0x8b),'unauthorized':_0x5adb75(0x7c),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x5adb75(0x7a),'clickToConnect':_0x5adb75(0x79),'clickToConfigure':_0x5adb75(0x6e)},'mcpConfig':{'title':_0x5adb75(0x83),'description':_0x5adb75(0x86),'apiKey':_0x5adb75(0x93),'apiKeyPlaceholder':_0x5adb75(0x87),'apiKeyHint':_0x5adb75(0x96),'enableAuth':_0x5adb75(0x82),'enableAuthHint':_0x5adb75(0x89),'connectionInfo':_0x5adb75(0x90),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5adb75(0x70),'configStepTitle':_0x5adb75(0x74),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5adb75(0x6c),'configStep3':_0x5adb75(0x8a),'sessionId':_0x5adb75(0x97),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x5adb75(0x9a),'configParameters':_0x5adb75(0x84),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x5adb75(0x95),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5adb75(0x80),'configSaved':_0x5adb75(0x78),'configError':_0x5adb75(0x8f),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5adb75(0x85),'univerAiLabel':_0x5adb75(0x92),'getStarted':_0x5adb75(0x6a)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5adb75(0x8e),'invalidConfig':_0x5adb75(0x71),'invalidApiKey':_0x5adb75(0x88)},'connectionStatus':{'disconnected':_0x5adb75(0x7d),'connecting':_0x5adb75(0x7f),'connected':_0x5adb75(0x76),'failed':_0x5adb75(0x73),'retrying':_0x5adb75(0x67)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5adb75(0x68),'networkError':_0x5adb75(0x6b),'maxRetriesExceeded':_0x5adb75(0x7b)}}},n=e;function _0x53a5(_0x2b69bf,_0x3ba19a){const _0x43a189=_0x43a1();return _0x53a5=function(_0x53a56a,_0x18bc58){_0x53a56a=_0x53a56a-0x67;let _0x34b3ab=_0x43a189[_0x53a56a];return _0x34b3ab;},_0x53a5(_0x2b69bf,_0x3ba19a);}export{n as default};function _0x43a1(){const _0x2453b2=['1512882zEeLAR','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','Disconnected','MCP\x20Connection\x20Failed','Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1833OXkvzb','Enable\x20Authentication','MCP\x20Configuration','Configuration\x20Parameters:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enter\x20your\x20API\x20key','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Unknown\x20Status','MCP\x20Connecting...','MCP\x20Retrying...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Failed\x20to\x20save\x20configuration','MCP\x20Client\x20Configuration','1379664AJgXtf','Univer\x20AI\x20Console','API\x20Key','540963dqRvzI','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20ID','316Ejqkrm','2189135IDrsox','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connected','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','8732qlAbNv','Click\x20to\x20configure\x20MCP','8899030qVuIRC','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20configuration','32FyGflJ','Connection\x20Failed','Configuration\x20Steps:','6eKjTim','Connected'];_0x43a1=function(){return _0x2453b2;};return _0x43a1();}
@@ -1 +1 @@
1
- function _0x1145(_0x23d900,_0x251f10){const _0x53a231=_0x53a2();return _0x1145=function(_0x11456b,_0x5331d9){_0x11456b=_0x11456b-0x1e2;let _0x5c27a0=_0x53a231[_0x11456b];return _0x5c27a0;},_0x1145(_0x23d900,_0x251f10);}const _0x23bc22=_0x1145;(function(_0x176ae9,_0x236129){const _0x21ce3c=_0x1145,_0x29373a=_0x176ae9();while(!![]){try{const _0x25d09d=-parseInt(_0x21ce3c(0x1e4))/0x1*(-parseInt(_0x21ce3c(0x1f8))/0x2)+parseInt(_0x21ce3c(0x20b))/0x3*(parseInt(_0x21ce3c(0x1ed))/0x4)+parseInt(_0x21ce3c(0x205))/0x5+parseInt(_0x21ce3c(0x209))/0x6+-parseInt(_0x21ce3c(0x1fd))/0x7*(-parseInt(_0x21ce3c(0x1eb))/0x8)+-parseInt(_0x21ce3c(0x212))/0x9+parseInt(_0x21ce3c(0x1e6))/0xa*(-parseInt(_0x21ce3c(0x201))/0xb);if(_0x25d09d===_0x236129)break;else _0x29373a['push'](_0x29373a['shift']());}catch(_0x14646b){_0x29373a['push'](_0x29373a['shift']());}}}(_0x53a2,0x8a835));const e={'mcpStatus':{'disconnected':_0x23bc22(0x1f6),'connecting':_0x23bc22(0x1f9),'connected':_0x23bc22(0x1fe),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x23bc22(0x1ef),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x23bc22(0x1e5),'networkError':_0x23bc22(0x20a),'maxRetriesExceeded':_0x23bc22(0x20e),'clickToConnect':_0x23bc22(0x1f4),'clickToConfigure':_0x23bc22(0x1e3)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x23bc22(0x202),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x23bc22(0x1f3),'enableAuth':_0x23bc22(0x1fa),'enableAuthHint':_0x23bc22(0x203),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x23bc22(0x1f1),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x23bc22(0x1ff),'configStep2':_0x23bc22(0x211),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x23bc22(0x1ea),'sessionIdDescription':_0x23bc22(0x204),'authorizationDescription':_0x23bc22(0x20f),'configParameters':_0x23bc22(0x1fc),'maxRetries':'Max\x20Retries','save':_0x23bc22(0x20d),'saving':_0x23bc22(0x1f2),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x23bc22(0x210),'configSaved':_0x23bc22(0x208),'configError':_0x23bc22(0x206),'apiApplyInfo':{'title':_0x23bc22(0x1ee),'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':_0x23bc22(0x1f0),'getStarted':_0x23bc22(0x200)},'validation':{'apiKeyRequired':_0x23bc22(0x1e2),'apiKeyTooShort':_0x23bc22(0x207),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x23bc22(0x1f5),'connecting':'Connecting...','connected':_0x23bc22(0x20c),'failed':_0x23bc22(0x1e7),'retrying':_0x23bc22(0x1e9)},'connectionError':{'unauthorized':_0x23bc22(0x1e8),'sessionOccupied':_0x23bc22(0x1ec),'networkError':_0x23bc22(0x1fb),'maxRetriesExceeded':_0x23bc22(0x1f7)}}},n=e;function _0x53a2(){const _0x19ffc2=['Connected','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','5412978JvOzhu','API\x20key\x20is\x20required','Click\x20to\x20configure\x20MCP','9411aGAkvC','MCP:\x20Session\x20ID\x20Occupied','1500nmHebZ','Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Retrying...','Session\x20ID','880216mFERzT','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1243984VMBVFZ','What\x20is\x20API\x20Key?','MCP\x20Unknown\x20Status','Univer\x20AI\x20Console','MCP\x20Client\x20Configuration','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20connect\x20MCP','Disconnected','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','236AUwOEw','MCP\x20Connecting...','Enable\x20Authentication','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20Parameters:','14cdoJxu','MCP\x20Connected','Copy\x20the\x20JSON\x20configuration\x20below','Get\x20your\x20API\x20key\x20in\x20seconds','75955OhQzhI','API\x20Key','Enable\x20authentication\x20for\x20secure\x20connections','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','863830evmTRr','Failed\x20to\x20save\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20saved\x20successfully','475386dYGcOD','MCP:\x20Network\x20Error','6dPmZzf'];_0x53a2=function(){return _0x19ffc2;};return _0x53a2();}export{n as default};
1
+ const _0x56c60b=_0xf33c;(function(_0x259938,_0x444a50){const _0x6c8ec6=_0xf33c,_0xd9d8cf=_0x259938();while(!![]){try{const _0x458ccf=parseInt(_0x6c8ec6(0x1a7))/0x1+parseInt(_0x6c8ec6(0x1ac))/0x2*(-parseInt(_0x6c8ec6(0x19e))/0x3)+-parseInt(_0x6c8ec6(0x1b2))/0x4*(-parseInt(_0x6c8ec6(0x196))/0x5)+-parseInt(_0x6c8ec6(0x18c))/0x6*(parseInt(_0x6c8ec6(0x1a8))/0x7)+-parseInt(_0x6c8ec6(0x19c))/0x8+-parseInt(_0x6c8ec6(0x19b))/0x9*(parseInt(_0x6c8ec6(0x1a1))/0xa)+parseInt(_0x6c8ec6(0x1ad))/0xb;if(_0x458ccf===_0x444a50)break;else _0xd9d8cf['push'](_0xd9d8cf['shift']());}catch(_0x4f8895){_0xd9d8cf['push'](_0xd9d8cf['shift']());}}}(_0x5ca3,0xaa3e0));const e={'mcpStatus':{'disconnected':_0x56c60b(0x1a5),'connecting':_0x56c60b(0x1a2),'connected':_0x56c60b(0x18d),'failed':_0x56c60b(0x1a0),'retrying':'MCP\x20Retrying...','unknown':_0x56c60b(0x1a4),'unauthorized':_0x56c60b(0x189),'sessionOccupied':_0x56c60b(0x185),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x56c60b(0x198),'clickToConnect':_0x56c60b(0x1a6),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x56c60b(0x1a9),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x56c60b(0x188),'apiKeyPlaceholder':_0x56c60b(0x199),'apiKeyHint':_0x56c60b(0x19a),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x56c60b(0x19f),'connectionInfo':_0x56c60b(0x18f),'mcpClientConfig':_0x56c60b(0x18f),'configInstructions':_0x56c60b(0x1af),'configStepTitle':_0x56c60b(0x190),'configStep1':_0x56c60b(0x1b4),'configStep2':_0x56c60b(0x18b),'configStep3':_0x56c60b(0x1aa),'sessionId':_0x56c60b(0x1b3),'sessionIdDescription':_0x56c60b(0x191),'authorizationDescription':_0x56c60b(0x192),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x56c60b(0x1b0),'save':_0x56c60b(0x1ae),'saving':_0x56c60b(0x1b1),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x56c60b(0x187),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x56c60b(0x197),'description':_0x56c60b(0x1ab),'univerAiLabel':_0x56c60b(0x195),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x56c60b(0x1a3)},'connectionStatus':{'disconnected':_0x56c60b(0x18a),'connecting':_0x56c60b(0x186),'connected':_0x56c60b(0x194),'failed':_0x56c60b(0x18e),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x56c60b(0x193),'maxRetriesExceeded':_0x56c60b(0x19d)}}},n=e;function _0xf33c(_0x111156,_0x92f284){const _0x5ca319=_0x5ca3();return _0xf33c=function(_0xf33ca1,_0x503d69){_0xf33ca1=_0xf33ca1-0x185;let _0x2d63a3=_0x5ca319[_0xf33ca1];return _0x2d63a3;},_0xf33c(_0x111156,_0x92f284);}function _0x5ca3(){const _0x2c5b21=['Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Max\x20Retries','Saving...','315340DFZlDP','Session\x20ID','Copy\x20the\x20JSON\x20configuration\x20below','MCP:\x20Session\x20ID\x20Occupied','Connecting...','Configuration\x20saved\x20successfully','API\x20Key','MCP:\x20Unauthorized','Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','819180fCaRgw','MCP\x20Connected','Connection\x20Failed','MCP\x20Client\x20Configuration','Configuration\x20Steps:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Connected','Univer\x20AI\x20Console','45cdaZqu','What\x20is\x20API\x20Key?','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','81ppNAIQ','9038832PMRIoh','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','3deiBVN','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connection\x20Failed','94470YOTadC','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Unknown\x20Status','MCP\x20Disconnected','Click\x20to\x20connect\x20MCP','532659SNJJGu','70OxdMkk','MCP\x20Configuration','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.','1734754pOBWGj','31929612TmQmuf','Save\x20Configuration'];_0x5ca3=function(){return _0x2c5b21;};return _0x5ca3();}export{n as default};
@@ -1 +1 @@
1
- function _0x2fe1(){const _0x4e29b3=['配置无效','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP\x20重连中...','您的\x20API\x20密钥安全存储在本地存储中','请输入您的\x20API\x20密钥','MCP\x20连接中...','您的\x20API\x20密钥将在此浏览器中本地存储','2784015viGRNO','带有\x20Bearer\x20前缀的\x20API\x20密钥。','14oNWQhS','114mDOXMW','会话\x20ID\x20已被占用,请稍后再试','保存配置','5398TJvEgf','启用身份验证','MCP\x20状态未知','MCP:\x20超出最大重试次数','Univer\x20AI\x20控制台','MCP\x20已断开','会话ID','MCP:\x20未授权','最大重试次数','配置保存成功','将配置添加到您的\x20MCP\x20客户端设置文件中','2123336DInAXy','MCP\x20配置','325747yiLyZM','启用身份验证以获得安全连接','重启您的\x20MCP\x20客户端以使配置生效','将以下配置添加到您的\x20MCP\x20客户端设置中:','已连接','MCP\x20客户端配置','API\x20密钥无效,请检查密钥是否正确','1598548qmNDtI','API\x20密钥不能为空','保存中...','重连中...','连接中...','MCP:\x20网络错误','权限验证失败,请检查您的\x20API\x20密钥','几秒钟内获取您的\x20API\x20密钥','配置保存失败','7222330aHgPDJ','配置步骤:','330qBQHlw','连接失败','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','配置参数:','13805SmeNzk','超出最大重试次数,请稍后再试','MCP\x20已连接'];_0x2fe1=function(){return _0x4e29b3;};return _0x2fe1();}const _0x150878=_0xed53;(function(_0x9ca0dc,_0x59c678){const _0x210e82=_0xed53,_0x26b936=_0x9ca0dc();while(!![]){try{const _0x2204ac=parseInt(_0x210e82(0x1f9))/0x1+parseInt(_0x210e82(0x1ec))/0x2*(parseInt(_0x210e82(0x1d8))/0x3)+-parseInt(_0x210e82(0x1cd))/0x4+parseInt(_0x210e82(0x1dc))/0x5*(-parseInt(_0x210e82(0x1e9))/0x6)+-parseInt(_0x210e82(0x1e8))/0x7*(-parseInt(_0x210e82(0x1f7))/0x8)+parseInt(_0x210e82(0x1e6))/0x9+-parseInt(_0x210e82(0x1d6))/0xa;if(_0x2204ac===_0x59c678)break;else _0x26b936['push'](_0x26b936['shift']());}catch(_0x52b556){_0x26b936['push'](_0x26b936['shift']());}}}(_0x2fe1,0x466dd));const e={'mcpStatus':{'disconnected':_0x150878(0x1f1),'connecting':_0x150878(0x1e4),'connected':_0x150878(0x1de),'failed':'MCP\x20连接失败','retrying':_0x150878(0x1e1),'unknown':_0x150878(0x1ee),'unauthorized':_0x150878(0x1f3),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x150878(0x1d2),'maxRetriesExceeded':_0x150878(0x1ef),'clickToConnect':'点击连接\x20MCP','clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x150878(0x1f8),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':'API\x20密钥','apiKeyPlaceholder':_0x150878(0x1e3),'apiKeyHint':_0x150878(0x1e5),'enableAuth':_0x150878(0x1ed),'enableAuthHint':_0x150878(0x1fa),'connectionInfo':_0x150878(0x1cb),'mcpClientConfig':_0x150878(0x1cb),'configInstructions':_0x150878(0x1fc),'configStepTitle':_0x150878(0x1d7),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x150878(0x1f6),'configStep3':_0x150878(0x1fb),'sessionId':_0x150878(0x1f2),'sessionIdDescription':_0x150878(0x1da),'authorizationDescription':_0x150878(0x1e7),'configParameters':_0x150878(0x1db),'maxRetries':_0x150878(0x1f4),'save':_0x150878(0x1eb),'saving':_0x150878(0x1cf),'note1':'配置更改将立即生效','note2':_0x150878(0x1e2),'configSaved':_0x150878(0x1f5),'configError':_0x150878(0x1d5),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x150878(0x1e0),'univerAiLabel':_0x150878(0x1f0),'getStarted':_0x150878(0x1d4)},'validation':{'apiKeyRequired':_0x150878(0x1ce),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x150878(0x1df),'invalidApiKey':_0x150878(0x1cc)},'connectionStatus':{'disconnected':'未连接','connecting':_0x150878(0x1d1),'connected':_0x150878(0x1fd),'failed':_0x150878(0x1d9),'retrying':_0x150878(0x1d0)},'connectionError':{'unauthorized':_0x150878(0x1d3),'sessionOccupied':_0x150878(0x1ea),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x150878(0x1dd)}}};function _0xed53(_0x346863,_0x1e4dc0){const _0x2fe143=_0x2fe1();return _0xed53=function(_0xed5351,_0x4f449d){_0xed5351=_0xed5351-0x1cb;let _0x5b07f0=_0x2fe143[_0xed5351];return _0x5b07f0;},_0xed53(_0x346863,_0x1e4dc0);}export{e as default};
1
+ function _0x5cdd(_0x18c271,_0x360eb2){const _0x59c5ce=_0x59c5();return _0x5cdd=function(_0x5cdd81,_0x232df7){_0x5cdd81=_0x5cdd81-0x7a;let _0x2ee706=_0x59c5ce[_0x5cdd81];return _0x2ee706;},_0x5cdd(_0x18c271,_0x360eb2);}const _0x4b8aee=_0x5cdd;(function(_0x15fa90,_0x590325){const _0x4857e4=_0x5cdd,_0x66ba1=_0x15fa90();while(!![]){try{const _0x4aca99=-parseInt(_0x4857e4(0x91))/0x1*(parseInt(_0x4857e4(0x8f))/0x2)+-parseInt(_0x4857e4(0x97))/0x3*(-parseInt(_0x4857e4(0x9b))/0x4)+parseInt(_0x4857e4(0x80))/0x5*(parseInt(_0x4857e4(0x9c))/0x6)+parseInt(_0x4857e4(0x7b))/0x7+-parseInt(_0x4857e4(0x83))/0x8*(-parseInt(_0x4857e4(0x7a))/0x9)+parseInt(_0x4857e4(0x8c))/0xa+-parseInt(_0x4857e4(0x98))/0xb;if(_0x4aca99===_0x590325)break;else _0x66ba1['push'](_0x66ba1['shift']());}catch(_0x2fcc5d){_0x66ba1['push'](_0x66ba1['shift']());}}}(_0x59c5,0x42473));const e={'mcpStatus':{'disconnected':_0x4b8aee(0xa7),'connecting':_0x4b8aee(0x7c),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x4b8aee(0xa5),'unknown':_0x4b8aee(0xa1),'unauthorized':'MCP:\x20未授权','sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x4b8aee(0x85),'maxRetriesExceeded':_0x4b8aee(0x7d),'clickToConnect':_0x4b8aee(0x8b),'clickToConfigure':_0x4b8aee(0x9a)},'mcpConfig':{'title':_0x4b8aee(0x8a),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':'API\x20密钥','apiKeyPlaceholder':_0x4b8aee(0x9e),'apiKeyHint':_0x4b8aee(0x8e),'enableAuth':'启用身份验证','enableAuthHint':_0x4b8aee(0x9d),'connectionInfo':_0x4b8aee(0xa6),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x4b8aee(0xa0),'configStepTitle':'配置步骤:','configStep1':_0x4b8aee(0x86),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x4b8aee(0xa8),'sessionId':_0x4b8aee(0x95),'sessionIdDescription':_0x4b8aee(0x94),'authorizationDescription':_0x4b8aee(0x8d),'configParameters':_0x4b8aee(0x87),'maxRetries':_0x4b8aee(0x96),'save':_0x4b8aee(0xa2),'saving':'保存中...','note1':_0x4b8aee(0xa4),'note2':_0x4b8aee(0x84),'configSaved':_0x4b8aee(0x82),'configError':'配置保存失败','apiApplyInfo':{'title':_0x4b8aee(0x99),'description':_0x4b8aee(0xa3),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x4b8aee(0x92)},'validation':{'apiKeyRequired':_0x4b8aee(0x9f),'apiKeyTooShort':_0x4b8aee(0x93),'invalidConfig':_0x4b8aee(0x89),'invalidApiKey':_0x4b8aee(0x90)},'connectionStatus':{'disconnected':_0x4b8aee(0x81),'connecting':_0x4b8aee(0x7f),'connected':'已连接','failed':'连接失败','retrying':_0x4b8aee(0x88)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x4b8aee(0x7e),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x59c5(){const _0xf4e8e4=['带有\x20Bearer\x20前缀的\x20API\x20密钥。','您的\x20API\x20密钥将在此浏览器中本地存储','236JYBrlq','API\x20密钥无效,请检查密钥是否正确','1652wmcwnD','几秒钟内获取您的\x20API\x20密钥','API\x20密钥长度至少需要\x2010\x20位','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','会话ID','最大重试次数','651603BIENif','12656809LfCxXf','什么是\x20API\x20密钥?','点击配置\x20MCP','4GJycyw','6OYDxzD','启用身份验证以获得安全连接','请输入您的\x20API\x20密钥','API\x20密钥不能为空','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP\x20状态未知','保存配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置更改将立即生效','MCP\x20重连中...','MCP\x20客户端配置','MCP\x20已断开','重启您的\x20MCP\x20客户端以使配置生效','306VtuGSa','984095yvgwIC','MCP\x20连接中...','MCP:\x20超出最大重试次数','网络连接错误,请检查您的网络连接','连接中...','1003265qCkyqI','未连接','配置保存成功','122584kGFrxG','您的\x20API\x20密钥安全存储在本地存储中','MCP:\x20网络错误','复制以下\x20JSON\x20配置','配置参数:','重连中...','配置无效','MCP\x20配置','点击连接\x20MCP','5376090rCpBGb'];_0x59c5=function(){return _0xf4e8e4;};return _0x59c5();}export{e as default};
@@ -1 +1 @@
1
- const _0x58dde4=_0x449d;(function(_0x2e356c,_0x2bfe77){const _0x16bce3=_0x449d,_0x38f6b0=_0x2e356c();while(!![]){try{const _0x469329=parseInt(_0x16bce3(0x77))/0x1+parseInt(_0x16bce3(0x7d))/0x2+parseInt(_0x16bce3(0x9d))/0x3+-parseInt(_0x16bce3(0x97))/0x4+parseInt(_0x16bce3(0x89))/0x5*(parseInt(_0x16bce3(0x9a))/0x6)+parseInt(_0x16bce3(0x84))/0x7*(-parseInt(_0x16bce3(0x79))/0x8)+-parseInt(_0x16bce3(0x99))/0x9;if(_0x469329===_0x2bfe77)break;else _0x38f6b0['push'](_0x38f6b0['shift']());}catch(_0x956991){_0x38f6b0['push'](_0x38f6b0['shift']());}}}(_0x4743,0xb0081));function _0x4743(){const _0x15b297=['MCP\x20Retrying...','Enter\x20your\x20API\x20key','Click\x20to\x20connect\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20ID','Retrying...','Failed\x20to\x20save\x20configuration','API\x20key\x20is\x20required','1372408bEFThu','Connecting...','14456097hXQojb','15486HgtNYd','Configuration\x20Parameters:','MCP\x20Disconnected','3841272cyhEBo','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20configuration','Configuration\x20saved\x20successfully','API\x20Key','MCP\x20Unknown\x20Status','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','194254mQPtXy','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','3466864iEtmvS','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','579002ukwhsV','MCP\x20Client\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Session\x20ID\x20Occupied','Univer\x20AI\x20Console','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','7YyIPys','Click\x20to\x20configure\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20Authentication','2595LRQtAa','Disconnected','MCP\x20Connection\x20Failed'];_0x4743=function(){return _0x15b297;};return _0x4743();}function _0x449d(_0x5f18ce,_0x185202){const _0x474371=_0x4743();return _0x449d=function(_0x449dec,_0x1f8a20){_0x449dec=_0x449dec-0x74;let _0x4c151d=_0x474371[_0x449dec];return _0x4c151d;},_0x449d(_0x5f18ce,_0x185202);}const e={'mcpStatus':{'disconnected':_0x58dde4(0x9c),'connecting':'MCP\x20Connecting...','connected':_0x58dde4(0xa1),'failed':_0x58dde4(0x8b),'retrying':_0x58dde4(0x8c),'unknown':_0x58dde4(0xa6),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x58dde4(0x81),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x58dde4(0x7c),'clickToConnect':_0x58dde4(0x8e),'clickToConfigure':_0x58dde4(0x85)},'mcpConfig':{'title':_0x58dde4(0x7b),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x58dde4(0xa5),'apiKeyPlaceholder':_0x58dde4(0x8d),'apiKeyHint':_0x58dde4(0x92),'enableAuth':_0x58dde4(0x88),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x58dde4(0x7e),'configInstructions':_0x58dde4(0x78),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x58dde4(0x7f),'configStep2':_0x58dde4(0x76),'configStep3':_0x58dde4(0x90),'sessionId':_0x58dde4(0x93),'sessionIdDescription':_0x58dde4(0x83),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x58dde4(0x9b),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x58dde4(0x91),'note1':_0x58dde4(0x9e),'note2':_0x58dde4(0x87),'configSaved':_0x58dde4(0xa4),'configError':_0x58dde4(0x95),'apiApplyInfo':{'title':_0x58dde4(0x9f),'description':_0x58dde4(0xa2),'univerAiLabel':_0x58dde4(0x82),'getStarted':_0x58dde4(0x80)},'validation':{'apiKeyRequired':_0x58dde4(0x96),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x58dde4(0xa3),'invalidApiKey':_0x58dde4(0x86)},'connectionStatus':{'disconnected':_0x58dde4(0x8a),'connecting':_0x58dde4(0x98),'connected':_0x58dde4(0x75),'failed':'Connection\x20Failed','retrying':_0x58dde4(0x94)},'connectionError':{'unauthorized':_0x58dde4(0x8f),'sessionOccupied':_0x58dde4(0x74),'networkError':_0x58dde4(0xa0),'maxRetriesExceeded':_0x58dde4(0x7a)}}},n=e;export{n as default};
1
+ const _0x1fbf47=_0x39a2;(function(_0x37eecb,_0x25db4f){const _0x3a7965=_0x39a2,_0x2811b9=_0x37eecb();while(!![]){try{const _0x48355b=-parseInt(_0x3a7965(0x181))/0x1+-parseInt(_0x3a7965(0x166))/0x2*(parseInt(_0x3a7965(0x184))/0x3)+-parseInt(_0x3a7965(0x161))/0x4+-parseInt(_0x3a7965(0x16b))/0x5+parseInt(_0x3a7965(0x16d))/0x6*(-parseInt(_0x3a7965(0x16a))/0x7)+parseInt(_0x3a7965(0x15a))/0x8+parseInt(_0x3a7965(0x17e))/0x9;if(_0x48355b===_0x25db4f)break;else _0x2811b9['push'](_0x2811b9['shift']());}catch(_0x5387ff){_0x2811b9['push'](_0x2811b9['shift']());}}}(_0x1b88,0x88795));function _0x39a2(_0x37a087,_0x4d3041){const _0x1b88e5=_0x1b88();return _0x39a2=function(_0x39a21c,_0xf406e7){_0x39a21c=_0x39a21c-0x158;let _0x41d1df=_0x1b88e5[_0x39a21c];return _0x41d1df;},_0x39a2(_0x37a087,_0x4d3041);}const e={'mcpStatus':{'disconnected':_0x1fbf47(0x16c),'connecting':_0x1fbf47(0x158),'connected':_0x1fbf47(0x160),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1fbf47(0x15f),'unknown':_0x1fbf47(0x17b),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1fbf47(0x16e),'networkError':_0x1fbf47(0x17d),'maxRetriesExceeded':_0x1fbf47(0x170),'clickToConnect':_0x1fbf47(0x179),'clickToConfigure':_0x1fbf47(0x168)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x1fbf47(0x15b),'apiKeyHint':_0x1fbf47(0x15c),'enableAuth':_0x1fbf47(0x167),'enableAuthHint':_0x1fbf47(0x159),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x1fbf47(0x183),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x1fbf47(0x165),'configStep2':_0x1fbf47(0x17a),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x1fbf47(0x177),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x1fbf47(0x185),'configParameters':_0x1fbf47(0x17f),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x1fbf47(0x178),'note1':_0x1fbf47(0x16f),'note2':_0x1fbf47(0x173),'configSaved':_0x1fbf47(0x171),'configError':_0x1fbf47(0x175),'apiApplyInfo':{'title':_0x1fbf47(0x15e),'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':_0x1fbf47(0x162),'getStarted':_0x1fbf47(0x17c)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x1fbf47(0x180),'invalidApiKey':_0x1fbf47(0x163)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1fbf47(0x182),'connected':_0x1fbf47(0x15d),'failed':_0x1fbf47(0x164),'retrying':_0x1fbf47(0x176)},'connectionError':{'unauthorized':_0x1fbf47(0x172),'sessionOccupied':_0x1fbf47(0x174),'networkError':_0x1fbf47(0x169),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};function _0x1b88(){const _0x2b3134=['MCP\x20Connected','1616812QkCxRL','Univer\x20AI\x20Console','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','6fVBxgV','Enable\x20Authentication','Click\x20to\x20configure\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','287phkYpm','4002445xonzym','MCP\x20Disconnected','35256fTHFHG','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20saved\x20successfully','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Retrying...','Session\x20ID','Saving...','Click\x20to\x20connect\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Unknown\x20Status','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Network\x20Error','23818212bNJEGR','Configuration\x20Parameters:','Invalid\x20configuration','1047352aArZHO','Connecting...','MCP\x20Client\x20Configuration','594234PixpJs','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','7997784ffOKIf','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connected','What\x20is\x20API\x20Key?','MCP\x20Retrying...'];_0x1b88=function(){return _0x2b3134;};return _0x1b88();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x418414,_0xb886fb){var _0x27a8a3=_0x56db,_0x14fc65=_0x418414();while(!![]){try{var _0x3afd7d=parseInt(_0x27a8a3(0xe7))/0x1*(parseInt(_0x27a8a3(0x1cf))/0x2)+parseInt(_0x27a8a3(0x15c))/0x3+-parseInt(_0x27a8a3(0x1d1))/0x4+-parseInt(_0x27a8a3(0x1da))/0x5*(-parseInt(_0x27a8a3(0xbe))/0x6)+parseInt(_0x27a8a3(0x20a))/0x7*(-parseInt(_0x27a8a3(0x161))/0x8)+-parseInt(_0x27a8a3(0xdb))/0x9*(-parseInt(_0x27a8a3(0x158))/0xa)+-parseInt(_0x27a8a3(0xa9))/0xb;if(_0x3afd7d===_0xb886fb)break;else _0x14fc65['push'](_0x14fc65['shift']());}catch(_0x4adc64){_0x14fc65['push'](_0x14fc65['shift']());}}}(_0x1266,0x205f2),function(_0x1aa7e6,_0x7080d3){var _0x7cbd7b=_0x56db;typeof exports==_0x7cbd7b(0xe6)&&typeof module<'u'?_0x7080d3(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x7cbd7b(0x1af)&&define[_0x7cbd7b(0x1bb)]?define(['exports','@univerjs/core','react/jsx-runtime',_0x7cbd7b(0x13d),'@univerjs/design',_0x7cbd7b(0x159),_0x7cbd7b(0x116),_0x7cbd7b(0x224),'@univerjs/network'],_0x7080d3):(_0x1aa7e6=typeof globalThis<'u'?globalThis:_0x1aa7e6||self,_0x7080d3(_0x1aa7e6[_0x7cbd7b(0x142)]={},_0x1aa7e6[_0x7cbd7b(0x1df)],_0x1aa7e6[_0x7cbd7b(0xe0)],_0x1aa7e6[_0x7cbd7b(0x1f3)],_0x1aa7e6[_0x7cbd7b(0x1b1)],_0x1aa7e6[_0x7cbd7b(0x138)],_0x1aa7e6['rxjs'],_0x1aa7e6[_0x7cbd7b(0xe0)],_0x1aa7e6['UniverNetwork']));}(this,function(_0x526763,_0x500e45,_0x35442b,_0x13cda6,_0x52e301,_0x20781d,_0x39358c,_0x1257d6,_0x4b5635){'use strict';var _0x90d58e=_0x56db;var _0x77b19d=Object[_0x90d58e(0x144)],_0x44ac3e=(_0x24a5cd,_0x26c356,_0x1bb157)=>_0x26c356 in _0x24a5cd?_0x77b19d(_0x24a5cd,_0x26c356,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bb157}):_0x24a5cd[_0x26c356]=_0x1bb157,_0x517686=(_0xd9eb0,_0x47d3b2,_0x1b2c47)=>_0x44ac3e(_0xd9eb0,typeof _0x47d3b2!='symbol'?_0x47d3b2+'':_0x47d3b2,_0x1b2c47),_0x1f0567=function(){var _0x2d8864=_0x90d58e;return _0x1f0567=Object['assign']||function(_0x13ce79){var _0x4e0680=_0x56db;for(var _0x4a7312,_0x54b7f3=0x1,_0x112982=arguments[_0x4e0680(0xaa)];_0x54b7f3<_0x112982;_0x54b7f3++){_0x4a7312=arguments[_0x54b7f3];for(var _0x1fd935 in _0x4a7312)Object[_0x4e0680(0x16b)][_0x4e0680(0x156)][_0x4e0680(0xea)](_0x4a7312,_0x1fd935)&&(_0x13ce79[_0x1fd935]=_0x4a7312[_0x1fd935]);}return _0x13ce79;},_0x1f0567[_0x2d8864(0x1fc)](this,arguments);},_0x246adc=function(_0x1519c2,_0x12190d){var _0x29cf54=_0x90d58e,_0x50b41d={};for(var _0x2d080c in _0x1519c2)Object[_0x29cf54(0x16b)][_0x29cf54(0x156)]['call'](_0x1519c2,_0x2d080c)&&_0x12190d[_0x29cf54(0x114)](_0x2d080c)<0x0&&(_0x50b41d[_0x2d080c]=_0x1519c2[_0x2d080c]);if(_0x1519c2!=null&&typeof Object[_0x29cf54(0x15d)]==_0x29cf54(0x1af)){for(var _0x357546=0x0,_0x2d080c=Object['getOwnPropertySymbols'](_0x1519c2);_0x357546<_0x2d080c[_0x29cf54(0xaa)];_0x357546++)_0x12190d[_0x29cf54(0x114)](_0x2d080c[_0x357546])<0x0&&Object[_0x29cf54(0x16b)][_0x29cf54(0xaf)][_0x29cf54(0xea)](_0x1519c2,_0x2d080c[_0x357546])&&(_0x50b41d[_0x2d080c[_0x357546]]=_0x1519c2[_0x2d080c[_0x357546]]);}return _0x50b41d;},_0x2b0d8e=_0x1257d6['forwardRef'](function(_0x5eda94,_0xfac694){var _0x54c589=_0x90d58e,_0x435fad=_0x5eda94[_0x54c589(0x109)],_0x30a753=_0x5eda94['id'],_0x86827d=_0x5eda94[_0x54c589(0x217)],_0x1d301a=_0x5eda94[_0x54c589(0x172)],_0x4f39c0=_0x246adc(_0x5eda94,['icon','id',_0x54c589(0x217),'extend']),_0x5ce523=_0x54c589(0x220)[_0x54c589(0x130)](_0x30a753,'\x20')['concat'](_0x86827d||'')['trim'](),_0xa2ec37=_0x1257d6[_0x54c589(0x171)]('_'['concat'](_0x3bec99()));return _0x12872e(_0x435fad,''['concat'](_0x30a753),{'defIds':_0x435fad[_0x54c589(0x10a)],'idSuffix':_0xa2ec37[_0x54c589(0x106)]},_0x1f0567({'ref':_0xfac694,'className':_0x5ce523},_0x4f39c0),_0x1d301a);});function _0x12872e(_0x3893eb,_0x2f5759,_0xdab340,_0x346e26,_0x2dc22b){var _0x126f73=_0x90d58e;return _0x1257d6[_0x126f73(0x1d7)](_0x3893eb[_0x126f73(0x18b)],_0x1f0567(_0x1f0567({'key':_0x2f5759},_0x524118(_0x3893eb,_0xdab340,_0x2dc22b)),_0x346e26),(_0x21bf67(_0x3893eb,_0xdab340)[_0x126f73(0x216)]||[])[_0x126f73(0x11c)](function(_0xbe1a63,_0x118bc6){var _0x5e811c=_0x126f73;return _0x12872e(_0xbe1a63,''['concat'](_0x2f5759,'-')[_0x5e811c(0x130)](_0x3893eb['tag'],'-')['concat'](_0x118bc6),_0xdab340,void 0x0,_0x2dc22b);}));}function _0x524118(_0x21d150,_0x56ed55,_0x4b1478){var _0x123eec=_0x90d58e,_0x18526b=_0x1f0567({},_0x21d150[_0x123eec(0x14d)]);_0x4b1478!=null&&_0x4b1478[_0x123eec(0xfc)]&&_0x18526b[_0x123eec(0xcf)]===_0x123eec(0xfc)&&(_0x18526b[_0x123eec(0xcf)]=_0x4b1478[_0x123eec(0xfc)]),_0x21d150['tag']===_0x123eec(0x1ed)&&_0x18526b['id']&&(_0x18526b['id']=_0x18526b['id']+_0x56ed55[_0x123eec(0x19a)]),Object['entries'](_0x18526b)[_0x123eec(0xf6)](function(_0x3b8995){var _0x157ef3=_0x123eec,_0x16e28f=_0x3b8995[0x0],_0x338d42=_0x3b8995[0x1];_0x16e28f==='mask'&&typeof _0x338d42==_0x157ef3(0x12d)&&(_0x18526b[_0x16e28f]=_0x338d42['replace'](/url\(#(.*)\)/,_0x157ef3(0xf1)['concat'](_0x56ed55[_0x157ef3(0x19a)],')')));});var _0x47cec3=_0x56ed55[_0x123eec(0x10a)];return!_0x47cec3||_0x47cec3[_0x123eec(0xaa)]===0x0||(_0x21d150[_0x123eec(0x18b)]===_0x123eec(0x127)&&_0x18526b[_0x123eec(0xf5)]&&(_0x18526b['xlink:href']=_0x18526b[_0x123eec(0xf5)]+_0x56ed55[_0x123eec(0x19a)]),Object['entries'](_0x18526b)[_0x123eec(0xf6)](function(_0x3fbb36){var _0x256b02=_0x123eec,_0xda7869=_0x3fbb36[0x0],_0x2bd208=_0x3fbb36[0x1];typeof _0x2bd208=='string'&&(_0x18526b[_0xda7869]=_0x2bd208[_0x256b02(0x125)](/url\(#(.*)\)/,_0x256b02(0xf1)[_0x256b02(0x130)](_0x56ed55[_0x256b02(0x19a)],')')));})),_0x18526b;}function _0x21bf67(_0x2ecaec,_0x23153a){var _0x8e496c=_0x90d58e,_0x859b77,_0x5d2342=_0x23153a[_0x8e496c(0x10a)];return!_0x5d2342||_0x5d2342[_0x8e496c(0xaa)]===0x0?_0x2ecaec:_0x2ecaec['tag']==='defs'&&(!((_0x859b77=_0x2ecaec[_0x8e496c(0x216)])===null||_0x859b77===void 0x0)&&_0x859b77[_0x8e496c(0xaa)])?_0x1f0567(_0x1f0567({},_0x2ecaec),{'children':_0x2ecaec['children'][_0x8e496c(0x11c)](function(_0x5907e3){var _0x5a4738=_0x8e496c;return typeof _0x5907e3[_0x5a4738(0x14d)]['id']==_0x5a4738(0x12d)&&_0x5d2342&&_0x5d2342[_0x5a4738(0x12c)](_0x5907e3[_0x5a4738(0x14d)]['id'])?_0x1f0567(_0x1f0567({},_0x5907e3),{'attrs':_0x1f0567(_0x1f0567({},_0x5907e3[_0x5a4738(0x14d)]),{'id':_0x5907e3[_0x5a4738(0x14d)]['id']+_0x23153a[_0x5a4738(0x19a)]})}):_0x5907e3;})}):_0x2ecaec;}function _0x3bec99(){var _0x53e073=_0x90d58e;return Math[_0x53e073(0xef)]()[_0x53e073(0x176)](0x24)[_0x53e073(0xae)](0x2,0x8);}_0x2b0d8e[_0x90d58e(0x1b5)]=_0x90d58e(0x1c8);var _0x2238c1={'tag':'svg','attrs':{'xmlns':_0x90d58e(0x1d3),'fill':'none','viewBox':_0x90d58e(0x1ca),'width':'1em','height':_0x90d58e(0xb1)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x90d58e(0xe4),'fillRule':_0x90d58e(0xc1),'clipRule':'evenodd'}}]},_0x4ea0bf=_0x1257d6[_0x90d58e(0x183)](function(_0x202ded,_0x5c4301){var _0x5507d6=_0x90d58e;return _0x1257d6[_0x5507d6(0x1d7)](_0x2b0d8e,Object[_0x5507d6(0x120)]({},_0x202ded,{'id':_0x5507d6(0x164),'ref':_0x5c4301,'icon':_0x2238c1}));});_0x4ea0bf['displayName']=_0x90d58e(0x1f4);var _0x12879b={'tag':_0x90d58e(0x147),'attrs':{'xmlns':_0x90d58e(0x1d3),'fill':_0x90d58e(0x135),'viewBox':'0\x200\x2017\x2017','width':_0x90d58e(0xb1),'height':_0x90d58e(0xb1)},'children':[{'tag':_0x90d58e(0x1b7),'attrs':{'stroke':_0x90d58e(0xb9),'d':_0x90d58e(0x20c),'strokeLinecap':_0x90d58e(0x131),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':_0x90d58e(0x131),'strokeLinejoin':'round','strokeWidth':1.33}}]},_0x1bbe5c=_0x1257d6[_0x90d58e(0x183)](function(_0x559ed1,_0x3bb08a){var _0x4a9786=_0x90d58e;return _0x1257d6[_0x4a9786(0x1d7)](_0x2b0d8e,Object[_0x4a9786(0x120)]({},_0x559ed1,{'id':_0x4a9786(0x150),'ref':_0x3bb08a,'icon':_0x12879b}));});_0x1bbe5c[_0x90d58e(0x1b5)]=_0x90d58e(0x110);var _0x3aa8a4={'tag':_0x90d58e(0x147),'attrs':{'xmlns':_0x90d58e(0x1d3),'fill':'none','viewBox':_0x90d58e(0x1ca),'width':_0x90d58e(0xb1),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x90d58e(0xb9),'d':_0x90d58e(0xf8)}},{'tag':_0x90d58e(0x1b7),'attrs':{'fill':'currentColor','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':_0x90d58e(0x1b7),'attrs':{'fill':_0x90d58e(0xb9),'d':_0x90d58e(0x105),'fillRule':_0x90d58e(0xc1),'clipRule':_0x90d58e(0xc1)}}]},_0x1c64b0=_0x1257d6[_0x90d58e(0x183)](function(_0x549e57,_0xba2a06){var _0x189cb6=_0x90d58e;return _0x1257d6[_0x189cb6(0x1d7)](_0x2b0d8e,Object['assign']({},_0x549e57,{'id':_0x189cb6(0x227),'ref':_0xba2a06,'icon':_0x3aa8a4}));});_0x1c64b0[_0x90d58e(0x1b5)]=_0x90d58e(0xc3);var _0x5a1c67={'tag':_0x90d58e(0x147),'attrs':{'xmlns':_0x90d58e(0x1d3),'fill':_0x90d58e(0x135),'viewBox':'0\x200\x2016\x2016','width':_0x90d58e(0xb1),'height':_0x90d58e(0xb1)},'children':[{'tag':'g','attrs':{'clipPath':_0x90d58e(0xc0)},'children':[{'tag':_0x90d58e(0x1b7),'attrs':{'stroke':'currentColor','d':_0x90d58e(0x145),'strokeLinecap':_0x90d58e(0x131),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x90d58e(0x123),'attrs':{},'children':[{'tag':_0x90d58e(0x19b),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x90d58e(0x1b7),'attrs':{'fill':_0x90d58e(0x1b4),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x90d58e(0x1e2)]},_0x3d56dd=_0x1257d6[_0x90d58e(0x183)](function(_0x23c784,_0x3ae99e){var _0x58fab1=_0x90d58e;return _0x1257d6[_0x58fab1(0x1d7)](_0x2b0d8e,Object[_0x58fab1(0x120)]({},_0x23c784,{'id':_0x58fab1(0x1ab),'ref':_0x3ae99e,'icon':_0x5a1c67}));});_0x3d56dd[_0x90d58e(0x1b5)]=_0x90d58e(0xd4);var _0x495e12={'tag':'svg','attrs':{'xmlns':_0x90d58e(0x1d3),'fill':_0x90d58e(0x135),'viewBox':_0x90d58e(0x178),'width':_0x90d58e(0xb1),'height':_0x90d58e(0xb1)},'children':[{'tag':'g','attrs':{'clipPath':_0x90d58e(0x228)},'children':[{'tag':_0x90d58e(0x1b7),'attrs':{'stroke':_0x90d58e(0xb9),'d':_0x90d58e(0x21e),'strokeLinecap':'round','strokeLinejoin':_0x90d58e(0x131),'strokeWidth':1.2}}]},{'tag':_0x90d58e(0x123),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x90d58e(0x1b4),'d':'M0\x200H16V16H0z','transform':_0x90d58e(0x191)}}]}]}],'defIds':[_0x90d58e(0x1bd)]},_0x1d4da4=_0x1257d6[_0x90d58e(0x183)](function(_0x228e4c,_0x19c27d){var _0x5d84ae=_0x90d58e;return _0x1257d6[_0x5d84ae(0x1d7)](_0x2b0d8e,Object[_0x5d84ae(0x120)]({},_0x228e4c,{'id':'on-line-icon','ref':_0x19c27d,'icon':_0x495e12}));});_0x1d4da4[_0x90d58e(0x1b5)]=_0x90d58e(0x186);function _0x16c605(_0x3781f9){var _0x2398f2=_0x90d58e,_0x2d2ffa,_0x460875;const {mcpCoreConfig:_0x8ec14e,onSave:_0x3a31da,loading:_0x2fbeb2=!0x1,config:_0x4b6dc0,connectionStatus$:_0x22add7,connectionError$:_0x4c42be,currentApiKey$:_0x33005a,currentSessionId$:_0x4fc56f}=_0x3781f9,_0x7b0402=_0x20781d['useDependency'](_0x500e45[_0x2398f2(0x16f)]),_0x4355b1=_0x20781d[_0x2398f2(0x9c)](_0x22add7,_0x13cda6[_0x2398f2(0xa1)][_0x2398f2(0x219)]),_0x100301=_0x20781d[_0x2398f2(0x9c)](_0x4c42be,_0x13cda6[_0x2398f2(0x163)]['NONE']),_0x4f4c49=_0x20781d[_0x2398f2(0x9c)](_0x4fc56f,''),_0x4a936a=_0x20781d[_0x2398f2(0x9c)](_0x33005a,''),[_0x3e7a0f,_0x64ca0c]=_0x1257d6['useState'](_0x4a936a||''),_0x1c8b29=!0x0,_0x15a36e=_0x4b6dc0[_0x2398f2(0x196)]&&_0x8ec14e[_0x2398f2(0x1cc)]&&(_0x8ec14e[_0x2398f2(0x1cc)][_0x2398f2(0x12c)](_0x2398f2(0x11e))||_0x8ec14e[_0x2398f2(0x1cc)]['includes']('univer.ai')),_0x16725c=(_0x2d2ffa=_0x8ec14e[_0x2398f2(0x1cc)])==null?void 0x0:_0x2d2ffa[_0x2398f2(0x12c)]('univer.plus'),_0x3c20b4=(_0x460875=_0x8ec14e[_0x2398f2(0x1cc)])==null?void 0x0:_0x460875[_0x2398f2(0x12c)](_0x2398f2(0x124)),_0x275136=_0x16725c?_0x2398f2(0xe2):'https://console.univer.ai',_0x10d6f9=_0x4b6dc0[_0x2398f2(0x196)]&&(_0x16725c||_0x3c20b4),[_0x1ae6d5,_0x28b526]=_0x1257d6[_0x2398f2(0x17d)](!_0x3e7a0f[_0x2398f2(0x13b)]()),_0x1e84b7=(_0x382e07,_0x12bb97)=>{var _0x4a881e=_0x2398f2;if(_0x12bb97===_0x13cda6['MCPConnectionError'][_0x4a881e(0x1ae)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x382e07){case _0x13cda6['MCPConnectionStatus'][_0x4a881e(0xb3)]:return _0x4a881e(0x13a);case _0x13cda6[_0x4a881e(0xa1)]['CONNECTING']:case _0x13cda6[_0x4a881e(0xa1)][_0x4a881e(0x18a)]:return _0x4a881e(0x19c);case _0x13cda6[_0x4a881e(0xa1)][_0x4a881e(0x11b)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x4a881e(0x206);}},_0x209b07=(_0x267214,_0x55df9f)=>{var _0x3af926=_0x2398f2;if(_0x55df9f===_0x13cda6[_0x3af926(0x163)]['UNAUTHORIZED'])return _0x3af926(0x1f7);switch(_0x267214){case _0x13cda6[_0x3af926(0xa1)][_0x3af926(0xb3)]:return _0x3af926(0xce);case _0x13cda6[_0x3af926(0xa1)][_0x3af926(0x9d)]:case _0x13cda6[_0x3af926(0xa1)]['RETRYING']:return _0x3af926(0x100);case _0x13cda6[_0x3af926(0xa1)][_0x3af926(0x11b)]:return _0x3af926(0x1f7);default:return _0x3af926(0x1d8);}},_0x543c55=_0x4c3b74=>{var _0xdcb11f=_0x2398f2;switch(_0x4c3b74){case _0x13cda6[_0xdcb11f(0xa1)][_0xdcb11f(0xb3)]:return _0x7b0402['t'](_0xdcb11f(0x1aa));case _0x13cda6['MCPConnectionStatus'][_0xdcb11f(0x9d)]:return _0x7b0402['t'](_0xdcb11f(0x17c));case _0x13cda6[_0xdcb11f(0xa1)][_0xdcb11f(0x11b)]:return _0x7b0402['t']('mcpConfig.connectionStatus.failed');case _0x13cda6['MCPConnectionStatus'][_0xdcb11f(0x18a)]:return _0x7b0402['t'](_0xdcb11f(0x162));default:return _0x7b0402['t']('mcpConfig.connectionStatus.disconnected');}},_0x12512e=_0x952d92=>{var _0x11b8de=_0x2398f2;switch(_0x952d92){case _0x13cda6[_0x11b8de(0x163)][_0x11b8de(0x1ae)]:return _0x7b0402['t']('mcpConfig.connectionError.unauthorized');case _0x13cda6[_0x11b8de(0x163)][_0x11b8de(0xa2)]:return _0x7b0402['t']('mcpConfig.connectionError.sessionOccupied');case _0x13cda6[_0x11b8de(0x163)]['NETWORK_ERROR']:return _0x7b0402['t'](_0x11b8de(0x1a0));case _0x13cda6['MCPConnectionError'][_0x11b8de(0x17b)]:return _0x7b0402['t'](_0x11b8de(0x14a));default:return'';}},_0x562e92=_0x1257d6['useCallback'](()=>{const _0x24f7f7={..._0x8ec14e,'apiKey':_0x3e7a0f['trim'](),'enableAuth':_0x1c8b29};_0x3a31da(_0x24f7f7);},[_0x8ec14e,_0x3e7a0f,_0x1c8b29,_0x3a31da]),_0x51a9a0=_0x3e7a0f['trim']()[_0x2398f2(0xaa)]>0x0;return _0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1fe),'children':[_0x35442b[_0x2398f2(0x15b)]('div',{'className':_0x2398f2(0x10b),'children':_0x35442b[_0x2398f2(0x1e0)]('div',{'className':_0x2398f2(0x16d),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1d2),'children':_0x35442b['jsx'](_0x2398f2(0x19d),{'className':'univer-text-white','children':'⚙'})}),_0x35442b[_0x2398f2(0x15b)]('div',{'children':_0x35442b[_0x2398f2(0x15b)]('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x7b0402['t'](_0x2398f2(0x1f5))})})]})}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0xad),'children':[_0x35442b[_0x2398f2(0x15b)]('div',{'className':_0x2398f2(0x1c5)+_0x1e84b7(_0x4355b1,_0x100301)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x35442b[_0x2398f2(0x15b)]('div',{'className':_0x2398f2(0x1c3)+_0x209b07(_0x4355b1,_0x100301)+_0x2398f2(0xe1)}),_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':'univer-text-sm\x20univer-font-medium','children':_0x543c55(_0x4355b1)})]})}),_0x100301!==_0x13cda6[_0x2398f2(0x163)]['NONE']&&(_0x4355b1===_0x13cda6[_0x2398f2(0xa1)][_0x2398f2(0x11b)]||_0x100301===_0x13cda6[_0x2398f2(0x163)][_0x2398f2(0x1ae)])&&_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1dc),'children':_0x35442b['jsxs'](_0x2398f2(0x19f),{'className':_0x2398f2(0x139),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':_0x2398f2(0x1c1),'children':'⚠️'}),_0x35442b['jsx']('p',{'className':_0x2398f2(0x195),'children':_0x12512e(_0x100301)})]})})]}),_0x35442b[_0x2398f2(0x15b)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':'univer-space-y-5','children':[_0x35442b[_0x2398f2(0x1e0)]('div',{'className':_0x2398f2(0x9b),'children':[_0x35442b[_0x2398f2(0x1e0)]('label',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'children':'🔑'}),'\x20',_0x7b0402['t'](_0x2398f2(0x222)),_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':_0x2398f2(0x225),'children':'*'}),_0x15a36e&&_0x35442b['jsx']('a',{'href':_0x2398f2(0xb2),'onClick':()=>_0x28b526(!0x0),'className':_0x2398f2(0xa8),'title':_0x7b0402['t'](_0x2398f2(0x212)),'children':_0x35442b['jsx'](_0x1c64b0,{})})]}),_0x35442b[_0x2398f2(0x15b)](_0x52e301[_0x2398f2(0x10d)],{'type':_0x2398f2(0x1e3),'placeholder':_0x7b0402['t'](_0x2398f2(0x1ad)),'value':_0x3e7a0f,'onChange':_0x64ca0c,'disabled':_0x2fbeb2,'autoComplete':'off'}),_0x35442b[_0x2398f2(0x15b)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x7b0402['t'](_0x2398f2(0x165))})]}),_0x15a36e&&_0x1ae6d5&&_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1c7),'children':[_0x35442b['jsx']('a',{'href':_0x2398f2(0xb2),'onClick':()=>_0x28b526(!0x1),'className':'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','title':_0x2398f2(0xcc),'children':_0x35442b[_0x2398f2(0x15b)](_0x1bbe5c,{})}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0x223),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0xd2),'children':_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':_0x2398f2(0x1a3),'children':'🚀'})}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0x181),'children':[_0x35442b[_0x2398f2(0x15b)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x7b0402['t']('mcpConfig.apiApplyInfo.title')}),_0x35442b['jsx']('p',{'className':_0x2398f2(0x97),'children':_0x7b0402['t'](_0x2398f2(0xf3))}),_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0xa3),'children':_0x10d6f9&&_0x35442b['jsxs']('a',{'href':_0x275136,'target':'_blank','rel':'noopener\x20noreferrer','className':_0x2398f2(0x210),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'children':'🤖'}),_0x7b0402['t'](_0x2398f2(0x179)),_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':_0x2398f2(0x1ea),'children':'↗'})]})}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x7b0402['t'](_0x2398f2(0x154))]})]})]})]}),_0x4b6dc0[_0x2398f2(0x196)]&&_0x35442b['jsxs'](_0x2398f2(0x19f),{'className':_0x2398f2(0x14b),'children':[_0x35442b[_0x2398f2(0x1e0)]('h4',{'className':_0x2398f2(0x21a),'children':[_0x35442b[_0x2398f2(0x15b)]('span',{'children':'🔗'}),'\x20',_0x7b0402['t'](_0x2398f2(0x1d4))]}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0xa6),'children':[_0x35442b['jsxs']('div',{'className':_0x2398f2(0x1ff),'children':[_0x35442b[_0x2398f2(0x15b)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x7b0402['t']('mcpConfig.configInstructions')}),_0x35442b[_0x2398f2(0x1e0)]('div',{'className':'univer-space-y-2','children':[_0x35442b['jsx'](_0x2398f2(0x19f),{'className':_0x2398f2(0x1f0),'children':_0x7b0402['t']('mcpConfig.configStepTitle')}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x35442b[_0x2398f2(0x1e0)]('div',{'className':_0x2398f2(0x208),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':_0x2398f2(0x152),'children':'1'}),_0x7b0402['t']('mcpConfig.configStep1')]}),_0x35442b['jsxs'](_0x2398f2(0x19f),{'className':_0x2398f2(0x208),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':_0x2398f2(0x152),'children':'2'}),_0x7b0402['t'](_0x2398f2(0x21f))]}),_0x35442b['jsxs'](_0x2398f2(0x19f),{'className':_0x2398f2(0x208),'children':[_0x35442b['jsx'](_0x2398f2(0x19d),{'className':_0x2398f2(0x152),'children':'3'}),_0x7b0402['t'](_0x2398f2(0x146))]})]})]})]}),_0x35442b[_0x2398f2(0x1e0)]('div',{'className':'univer-space-y-2','children':[_0x35442b[_0x2398f2(0x15b)]('div',{'className':_0x2398f2(0x1f0),'children':_0x2398f2(0x1b0)}),_0x35442b['jsx'](_0x2398f2(0x19f),{'className':_0x2398f2(0x1dd),'children':_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x185),{'className':_0x2398f2(0x95),'children':_0x2398f2(0x21d)+_0x4f4c49+_0x2398f2(0x1ec)+(_0x3e7a0f||_0x2398f2(0x1e1))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),_0x35442b[_0x2398f2(0x1e0)]('div',{'className':_0x2398f2(0x1ff),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1f0),'children':_0x7b0402['t'](_0x2398f2(0xff))}),_0x35442b[_0x2398f2(0x1e0)]('div',{'className':_0x2398f2(0x9b),'children':[_0x35442b[_0x2398f2(0x1e0)]('div',{'className':_0x2398f2(0xbc),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1c9)}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0xbf),'children':[_0x35442b[_0x2398f2(0x15b)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2398f2(0x1cd)}),_0x35442b[_0x2398f2(0x15b)]('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x7b0402['t']('mcpConfig.sessionIdDescription')})]})]}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0xbc),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1c9)}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0xbf),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0x199),'children':_0x2398f2(0xb4)}),_0x35442b['jsx'](_0x2398f2(0x19f),{'className':_0x2398f2(0x20d),'children':_0x7b0402['t'](_0x2398f2(0x155))})]})]})]})]})]})]}),_0x35442b[_0x2398f2(0x15b)](_0x52e301[_0x2398f2(0x18c)],{'onClick':_0x562e92,'disabled':!_0x51a9a0||_0x2fbeb2,'className':_0x2398f2(0x15f),'children':_0x2fbeb2?_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x35442b[_0x2398f2(0x15b)]('span',{'children':'⟲'}),_0x7b0402['t'](_0x2398f2(0x151))]}):_0x35442b['jsxs'](_0x2398f2(0x19d),{'className':_0x2398f2(0x208),'children':[_0x35442b[_0x2398f2(0x15b)](_0x4ea0bf,{}),_0x7b0402['t']('mcpConfig.save')]})}),_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19f),{'className':_0x2398f2(0x1e5),'children':_0x35442b[_0x2398f2(0x1e0)]('div',{'className':_0x2398f2(0x13f),'children':[_0x35442b[_0x2398f2(0x15b)](_0x2398f2(0x19d),{'className':_0x2398f2(0x18e),'children':'💡'}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'className':_0x2398f2(0xeb),'children':[_0x35442b[_0x2398f2(0x15b)]('div',{'className':_0x2398f2(0xd1),'children':_0x2398f2(0x1f8)}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'children':['•',_0x7b0402['t'](_0x2398f2(0xd3))]}),_0x35442b[_0x2398f2(0x1e0)](_0x2398f2(0x19f),{'children':['•',_0x7b0402['t'](_0x2398f2(0xab))]})]})]})})]})})]});}const _0x5644ef=_0x90d58e(0x1f6),_0x38cd84={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x5d279f=Object[_0x90d58e(0x1f2)],_0x4edaff=(_0xf35ed3,_0x348561,_0x3efbab,_0x285069)=>{var _0x2fc071=_0x90d58e;for(var _0x2779cb=_0x285069>0x1?void 0x0:_0x285069?_0x5d279f(_0x348561,_0x3efbab):_0x348561,_0x41b715=_0xf35ed3[_0x2fc071(0xaa)]-0x1,_0x35e3d2;_0x41b715>=0x0;_0x41b715--)(_0x35e3d2=_0xf35ed3[_0x41b715])&&(_0x2779cb=_0x35e3d2(_0x2779cb)||_0x2779cb);return _0x2779cb;},_0x4af98e=(_0x29c210,_0x3eeaf1)=>(_0x373038,_0xe1bc6)=>_0x3eeaf1(_0x373038,_0xe1bc6,_0x29c210);const _0x89e307=_0x90d58e(0xf0),_0x1e2b6e='mcp-config-dialog';_0x526763['MCPConfigUIController']=class extends _0x500e45[_0x90d58e(0x1e8)]{constructor(_0x1ba37c,_0x420205,_0x1003d7,_0x3b455a,_0x19238d,_0x365d68,_0x1a0eec,_0x410029,_0x435d00,_0x3d7274){var _0x5c8cc7=_0x90d58e;super(),_0x517686(this,_0x5c8cc7(0x11d),new _0x39358c['BehaviorSubject'](!0x1)),_0x517686(this,_0x5c8cc7(0xac),new _0x39358c['BehaviorSubject']({})),_0x517686(this,_0x5c8cc7(0x1eb),new _0x39358c[(_0x5c8cc7(0x153))]({})),_0x517686(this,_0x5c8cc7(0xc6),new _0x39358c[(_0x5c8cc7(0x153))]('')),_0x517686(this,_0x5c8cc7(0x1c0),async _0x178df8=>{var _0x2087ee=_0x5c8cc7,_0x128925,_0x5d89b6;this[_0x2087ee(0x11d)]['next'](!0x0);try{const _0x59f374=await this[_0x2087ee(0x14f)](_0x178df8);if(!_0x59f374['isValid']){this[_0x2087ee(0x108)][_0x2087ee(0xed)]({'type':_0x52e301[_0x2087ee(0x1a5)][_0x2087ee(0x1a2)],'content':_0x59f374['errorMessage']||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x178df8[_0x2087ee(0x1bf)]?await this['_localStorageService'][_0x2087ee(0x20f)](_0x89e307,_0x178df8[_0x2087ee(0x1bf)][_0x2087ee(0x13b)]()):await this[_0x2087ee(0x221)][_0x2087ee(0xf2)](_0x89e307),this[_0x2087ee(0xc6)]['next'](((_0x128925=_0x178df8[_0x2087ee(0x1bf)])==null?void 0x0:_0x128925[_0x2087ee(0x13b)]())||''),this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':_0x2087ee(0x122)+((_0x5d89b6=_0x178df8['apiKey'])==null?void 0x0:_0x5d89b6['trim']())}),this[_0x2087ee(0x108)][_0x2087ee(0xed)]({'type':_0x52e301['MessageType'][_0x2087ee(0xb7)],'content':this[_0x2087ee(0x10f)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{var _0x52b5f5=_0x2087ee;this[_0x52b5f5(0x101)][_0x52b5f5(0x20e)](_0x1e2b6e);},0x320);}catch(_0x239cc2){this[_0x2087ee(0x11a)][_0x2087ee(0x189)](_0x2087ee(0x10e),_0x239cc2),this[_0x2087ee(0x108)][_0x2087ee(0xed)]({'type':_0x52e301[_0x2087ee(0x1a5)][_0x2087ee(0x1a2)],'content':this[_0x2087ee(0x10f)]['t'](_0x2087ee(0x126))});}finally{this[_0x2087ee(0x11d)][_0x2087ee(0xd0)](!0x1);}}),(this[_0x5c8cc7(0x119)]=_0x1ba37c,this[_0x5c8cc7(0xca)]=_0x420205,this[_0x5c8cc7(0x198)]=_0x1003d7,this[_0x5c8cc7(0x221)]=_0x3b455a,this[_0x5c8cc7(0x101)]=_0x19238d,this[_0x5c8cc7(0x108)]=_0x365d68,this[_0x5c8cc7(0x13e)]=_0x1a0eec,this['_localeService']=_0x410029,this[_0x5c8cc7(0x11a)]=_0x435d00,this[_0x5c8cc7(0x1f9)]=_0x3d7274,this[_0x5c8cc7(0xde)](),this[_0x5c8cc7(0x11f)](),this[_0x5c8cc7(0xe5)]());}['showConfigPanel'](){var _0x190691=_0x90d58e;const _0x488fc9=this['_configService'][_0x190691(0x21c)](_0x5644ef);_0x488fc9!=null&&_0x488fc9[_0x190691(0x196)]&&this[_0x190691(0x101)][_0x190691(0x1db)]({'id':_0x1e2b6e,'title':{'title':this[_0x190691(0x10f)]['t'](_0x190691(0xd9))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x244c58=_0x190691;this[_0x244c58(0x101)]['close'](_0x1e2b6e);}});}[_0x90d58e(0xb0)](){var _0x1a0ff2=_0x90d58e;return this[_0x1a0ff2(0xac)][_0x1a0ff2(0x9e)];}[_0x90d58e(0xe5)](){var _0x7ffbed=_0x90d58e;this[_0x7ffbed(0xec)](this[_0x7ffbed(0x13e)]['register'](_0x7ffbed(0x1a6),this['_createConfigPanelComponent']()));}['_createConfigPanelComponent'](){var _0x22e660=_0x90d58e;return _0x20781d[_0x22e660(0x16a)](()=>{var _0x273025=_0x22e660,_0x52140f,_0x5c94c9,_0x557e1b;return _0x35442b['jsx'](_0x16c605,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x273025(0xac)][_0x273025(0x9e)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x273025(0x1c0)],'loading':this['_loading$'][_0x273025(0x9e)],'connectionStatus$':(_0x52140f=this[_0x273025(0x1f9)])==null?void 0x0:_0x52140f[_0x273025(0x12f)],'connectionError$':(_0x5c94c9=this[_0x273025(0x1f9)])==null?void 0x0:_0x5c94c9[_0x273025(0x16c)],'currentSessionId$':(_0x557e1b=this[_0x273025(0x1f9)])==null?void 0x0:_0x557e1b[_0x273025(0x94)]});},this[_0x22e660(0x119)]);}[_0x90d58e(0xde)](){var _0x136d46=_0x90d58e;this[_0x136d46(0xec)](this['_configService'][_0x136d46(0x166)](_0x13cda6['MCP_PLUGIN_CONFIG_KEY'])[_0x136d46(0xba)](_0x21940f=>{var _0x438f3c=_0x136d46;this[_0x438f3c(0xac)]['next'](_0x21940f||{});}));const _0x300799=this[_0x136d46(0x198)][_0x136d46(0x21c)](_0x13cda6[_0x136d46(0x21b)]);this['_mcpCoreConfig$'][_0x136d46(0xd0)](_0x300799||{}),this[_0x136d46(0xec)](this[_0x136d46(0x198)][_0x136d46(0x166)](_0x5644ef)[_0x136d46(0xba)](_0x89f660=>{var _0x4c63db=_0x136d46;this[_0x4c63db(0x1eb)][_0x4c63db(0xd0)](_0x89f660||{});}));const _0x3352f7=this[_0x136d46(0x198)][_0x136d46(0x21c)](_0x5644ef);this[_0x136d46(0x1eb)]['next'](_0x3352f7||{});}async[_0x90d58e(0x11f)](){var _0x35b25c=_0x90d58e;const _0xc0dc11=this[_0x35b25c(0x198)][_0x35b25c(0x21c)](_0x5644ef);if(!(_0xc0dc11!=null&&_0xc0dc11[_0x35b25c(0x196)]))return;const _0x1a19c4=await this['_localStorageService'][_0x35b25c(0x129)](_0x89e307);_0x1a19c4&&(this[_0x35b25c(0x1f9)][_0x35b25c(0x1fb)]({'Authorization':_0x35b25c(0x122)+_0x1a19c4}),this[_0x35b25c(0xc6)][_0x35b25c(0xd0)](_0x1a19c4));}async[_0x90d58e(0x14f)](_0x11a123){var _0x22872a=_0x90d58e;if(!_0x11a123[_0x22872a(0x1bf)]||_0x11a123[_0x22872a(0x1bf)][_0x22872a(0x13b)]()[_0x22872a(0xaa)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x22872a(0x10f)]['t'](_0x22872a(0x18d))};if(_0x11a123[_0x22872a(0x1bf)][_0x22872a(0x13b)]()[_0x22872a(0xaa)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x22872a(0xb8))};try{const _0x35452d=await this[_0x22872a(0x119)][_0x22872a(0x9a)](_0x13cda6['MCPConnectionController'])['validateApiKey'](_0x11a123['apiKey'][_0x22872a(0x13b)]());return _0x35452d[_0x22872a(0xcb)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x35452d[_0x22872a(0x189)]||this[_0x22872a(0x10f)]['t'](_0x22872a(0x15a))};}catch(_0x26ada5){return console[_0x22872a(0xe9)]('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x26ada5),{'isValid':!0x0};}}},_0x526763[_0x90d58e(0x1ef)]=_0x4edaff([_0x4af98e(0x0,_0x500e45['Inject'](_0x500e45[_0x90d58e(0x148)])),_0x4af98e(0x1,_0x20781d[_0x90d58e(0x1f1)]),_0x4af98e(0x2,_0x500e45[_0x90d58e(0xd8)]),_0x4af98e(0x3,_0x500e45[_0x90d58e(0x9f)]),_0x4af98e(0x4,_0x20781d['IDialogService']),_0x4af98e(0x5,_0x20781d[_0x90d58e(0xb5)]),_0x4af98e(0x6,_0x500e45['Inject'](_0x20781d[_0x90d58e(0x187)])),_0x4af98e(0x7,_0x500e45['Inject'](_0x500e45['LocaleService'])),_0x4af98e(0x8,_0x500e45[_0x90d58e(0x14e)]),_0x4af98e(0x9,_0x500e45[_0x90d58e(0xd5)](_0x13cda6[_0x90d58e(0x12e)]))],_0x526763['MCPConfigUIController']);const _0x114f18={'id':'mcp-ui.command.openConfigPanel','type':_0x500e45['CommandType'][_0x90d58e(0x1a8)],'handler':async(_0xe05e25,_0xaa87de)=>(_0xe05e25['get'](_0x526763['MCPConfigUIController'])['showConfigPanel'](),!0x0)};function _0x320f45(_0x117b16,_0xfc23b2){var _0x44e6ed=_0x90d58e;switch(_0x117b16){case _0x13cda6[_0x44e6ed(0xa1)][_0x44e6ed(0x219)]:return _0x44e6ed(0x14c);case _0x13cda6[_0x44e6ed(0xa1)]['CONNECTING']:return _0x44e6ed(0x202);case _0x13cda6[_0x44e6ed(0xa1)][_0x44e6ed(0xb3)]:return _0x44e6ed(0x160);case _0x13cda6[_0x44e6ed(0xa1)][_0x44e6ed(0x11b)]:switch(_0xfc23b2){case _0x13cda6[_0x44e6ed(0x163)][_0x44e6ed(0x1ae)]:return _0x44e6ed(0x1e7);case _0x13cda6[_0x44e6ed(0x163)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x13cda6[_0x44e6ed(0x163)][_0x44e6ed(0x218)]:return _0x44e6ed(0x118);case _0x13cda6['MCPConnectionError'][_0x44e6ed(0x17b)]:return'mcpStatus.maxRetriesExceeded';default:return _0x44e6ed(0x192);}case _0x13cda6[_0x44e6ed(0xa1)]['RETRYING']:return _0x44e6ed(0x170);default:return'mcpStatus.unknown';}}function _0x5e43dd(_0xb68e19,_0xf0f493,_0x3e6fd9,_0x44c7a0=!0x0){var _0x2f27ed=_0x90d58e;const _0x186ea3=_0x320f45(_0xb68e19,_0xf0f493),_0x2324c8=_0x3e6fd9['t'](_0x186ea3);return _0x44c7a0?_0xb68e19===_0x13cda6[_0x2f27ed(0xa1)][_0x2f27ed(0x219)]&&_0xf0f493===_0x13cda6[_0x2f27ed(0x163)][_0x2f27ed(0x1ae)]?_0x2324c8+_0x2f27ed(0x99)+_0x3e6fd9['t'](_0x2f27ed(0x200)):_0xb68e19===_0x13cda6[_0x2f27ed(0xa1)][_0x2f27ed(0xb3)]?''+_0x2324c8:_0xb68e19===_0x13cda6[_0x2f27ed(0xa1)][_0x2f27ed(0x219)]||_0xb68e19===_0x13cda6[_0x2f27ed(0xa1)]['FAILED']?_0x2324c8+_0x2f27ed(0x99)+_0x3e6fd9['t'](_0x2f27ed(0x13c)):_0x2324c8:_0x2324c8;}function _0x6057d7(_0x59ceb4){var _0x565056=_0x90d58e;switch(_0x59ceb4){case _0x13cda6[_0x565056(0xa1)]['CONNECTED']:return'univer-text-green-500';case _0x13cda6[_0x565056(0xa1)][_0x565056(0x9d)]:case _0x13cda6[_0x565056(0xa1)][_0x565056(0x18a)]:return _0x565056(0x211);case _0x13cda6[_0x565056(0xa1)][_0x565056(0x11b)]:case _0x13cda6['MCPConnectionStatus'][_0x565056(0x219)]:return _0x565056(0x225);default:return'univer-text-gray-500';}}function _0x400aa9(_0x3dcc4f){var _0x4b31f4=_0x90d58e;const {status$:_0x1d3eea,error$:_0x2b1059,onConfigure:_0xff30cd,showClickable:_0x470e35=!0x0}=_0x3dcc4f,_0x2f4640=_0x20781d[_0x4b31f4(0x9c)](_0x1d3eea,_0x13cda6[_0x4b31f4(0xa1)][_0x4b31f4(0x219)]),_0x2c245b=_0x20781d[_0x4b31f4(0x9c)](_0x2b1059,_0x13cda6[_0x4b31f4(0x163)]['NONE']),_0x30ecbd=_0x20781d['useDependency'](_0x500e45['LocaleService']),_0x27f88e=_0x2f4640===_0x13cda6[_0x4b31f4(0xa1)][_0x4b31f4(0xb3)];_0x2f4640===_0x13cda6[_0x4b31f4(0xa1)][_0x4b31f4(0x9d)]||_0x13cda6['MCPConnectionStatus']['RETRYING'];const _0x51309c=_0x30ecbd['t'](_0x320f45(_0x2f4640,_0x2c245b)),_0xccdeb=_0x5e43dd(_0x2f4640,_0x2c245b,_0x30ecbd,_0x470e35),_0x5998bf=_0x6057d7(_0x2f4640),_0x5704b2=_0x27f88e?_0x35442b[_0x4b31f4(0x15b)](_0x1d4da4,{}):_0x35442b['jsx'](_0x3d56dd,{}),_0x3963fd=_0x1257d6['useCallback'](()=>{_0x470e35&&_0xff30cd&&_0xff30cd();},[_0x470e35,_0xff30cd]);function _0x126f25(){var _0x31a5b5=_0x4b31f4;return _0x35442b[_0x31a5b5(0x1e0)](_0x31a5b5(0x19f),{'className':_0x52e301['clsx'](_0x31a5b5(0x1d5),_0x470e35&&_0xff30cd&&_0x31a5b5(0x188)),'onClick':_0x470e35&&_0xff30cd?_0x3963fd:void 0x0,'children':[_0x35442b['jsx'](_0x31a5b5(0x19f),{'className':_0x52e301['clsx'](_0x31a5b5(0x17a),_0x5998bf),'children':_0x5704b2}),_0x35442b[_0x31a5b5(0x15b)]('div',{'className':_0x31a5b5(0xc8),'children':_0x51309c})]});}return _0x35442b[_0x4b31f4(0x15b)](_0x52e301[_0x4b31f4(0x19e)],{'title':_0xccdeb,'placement':_0x4b31f4(0xc2),'children':_0x126f25()});}var _0x2d47c1=Object[_0x90d58e(0x1f2)],_0x2e7975=(_0xe069b5,_0x31130a,_0x5249e7,_0x1add5c)=>{var _0x222688=_0x90d58e;for(var _0x416ce2=_0x1add5c>0x1?void 0x0:_0x1add5c?_0x2d47c1(_0x31130a,_0x5249e7):_0x31130a,_0x1cacc4=_0xe069b5[_0x222688(0xaa)]-0x1,_0x47d23b;_0x1cacc4>=0x0;_0x1cacc4--)(_0x47d23b=_0xe069b5[_0x1cacc4])&&(_0x416ce2=_0x47d23b(_0x416ce2)||_0x416ce2);return _0x416ce2;},_0x1457b8=(_0x16139d,_0x44d765)=>(_0xcdae00,_0x51f528)=>_0x44d765(_0xcdae00,_0x51f528,_0x16139d);_0x526763[_0x90d58e(0x1e9)]=class extends _0x500e45[_0x90d58e(0x1e8)]{constructor(_0x276aa9,_0x139202,_0x153fda,_0x4d163f){var _0x5b5e35=_0x90d58e;super(),this[_0x5b5e35(0x119)]=_0x276aa9,this[_0x5b5e35(0x1d0)]=_0x139202,this[_0x5b5e35(0xca)]=_0x153fda,this[_0x5b5e35(0x198)]=_0x4d163f,this[_0x5b5e35(0x175)](),this[_0x5b5e35(0xa7)]();}[_0x90d58e(0x175)](){var _0xbbf06b=_0x90d58e;const _0x131fa1=this['_configService'][_0xbbf06b(0x21c)](_0x5644ef);_0x131fa1!=null&&_0x131fa1['showDeveloperTools']&&(this[_0xbbf06b(0x1d0)]['enableAutoConnect']=!0x1);}['_initStatusComponent'](){var _0x106d02=_0x90d58e;const _0x4136df=this['_configService']['getConfig'](_0x5644ef);(_0x4136df==null?void 0x0:_0x4136df[_0x106d02(0x1a1)])!==!0x1&&this[_0x106d02(0xec)](this[_0x106d02(0xca)]['registerComponent'](_0x20781d['BuiltInUIPart'][_0x106d02(0x12a)],()=>{var _0x52c6d1=_0x106d02,_0xeeeb90;return _0x20781d[_0x52c6d1(0x16a)](_0x400e3c({'status$':this['_connectionController'][_0x52c6d1(0x12f)],'error$':this[_0x52c6d1(0x1d0)]['connectionError$'],'onConfigure':()=>this[_0x52c6d1(0x1ba)](),'showClickable':(_0xeeeb90=_0x4136df==null?void 0x0:_0x4136df[_0x52c6d1(0x196)])!=null?_0xeeeb90:!0x1}),this[_0x52c6d1(0x119)]);}));}[_0x90d58e(0x1ba)](){var _0x38c654=_0x90d58e;this['_injector']['get'](_0x526763[_0x38c654(0x1ef)])['showConfigPanel']();}},_0x526763[_0x90d58e(0x1e9)]=_0x2e7975([_0x1457b8(0x0,_0x500e45[_0x90d58e(0xd5)](_0x500e45[_0x90d58e(0x148)])),_0x1457b8(0x1,_0x500e45[_0x90d58e(0xd5)](_0x13cda6[_0x90d58e(0x12e)])),_0x1457b8(0x2,_0x20781d[_0x90d58e(0x1f1)]),_0x1457b8(0x3,_0x500e45[_0x90d58e(0xd8)])],_0x526763[_0x90d58e(0x1e9)]);function _0x400e3c(_0x465a8f){const {status$:_0x5d00f4,error$:_0x4d76f8,onConfigure:_0x4c7cfd,showClickable:_0x23bdfe}=_0x465a8f;return function(){var _0x18d5fb=_0x56db;return _0x35442b[_0x18d5fb(0x15b)](_0x400aa9,{'status$':_0x5d00f4,'error$':_0x4d76f8,'onConfigure':_0x4c7cfd,'showClickable':_0x23bdfe});};}function _0x5483a3(_0x26d32f){var _0x32552e=_0x90d58e;return{'id':_0x114f18['id'],'type':_0x20781d[_0x32552e(0x1de)][_0x32552e(0x1b9)],'icon':_0x32552e(0x12b),'title':_0x32552e(0xd9),'tooltip':_0x32552e(0xd9)};}const _0x5cbc32={[_0x20781d['RibbonStartGroup'][_0x90d58e(0xc4)]]:{[_0x114f18['id']]:{'order':0xa,'menuItemFactory':_0x5483a3}}};var _0x349f61=Object['getOwnPropertyDescriptor'],_0x38a7e3=(_0x50dda2,_0x4dc3c8,_0x5c6f59,_0x581e7e)=>{var _0x2a3832=_0x90d58e;for(var _0x56442d=_0x581e7e>0x1?void 0x0:_0x581e7e?_0x349f61(_0x4dc3c8,_0x5c6f59):_0x4dc3c8,_0x34cb90=_0x50dda2[_0x2a3832(0xaa)]-0x1,_0x49da63;_0x34cb90>=0x0;_0x34cb90--)(_0x49da63=_0x50dda2[_0x34cb90])&&(_0x56442d=_0x49da63(_0x56442d)||_0x56442d);return _0x56442d;},_0x220d12=(_0x27b35d,_0x23e4a3)=>(_0x13f725,_0x195c50)=>_0x23e4a3(_0x13f725,_0x195c50,_0x27b35d);_0x526763['MCPUIMenuController']=class extends _0x500e45[_0x90d58e(0x1e8)]{constructor(_0x23f731,_0x8de2e5){var _0x1ab228=_0x90d58e;super(),this[_0x1ab228(0x184)]=_0x23f731,this[_0x1ab228(0x182)]=_0x8de2e5,this[_0x1ab228(0xfa)](),this[_0x1ab228(0xd6)]();}[_0x90d58e(0xfa)](){var _0x2d7f0a=_0x90d58e;[_0x114f18][_0x2d7f0a(0xf6)](_0x142d03=>{var _0x4043ca=_0x2d7f0a;this[_0x4043ca(0xec)](this['_commandService'][_0x4043ca(0x133)](_0x142d03));});}[_0x90d58e(0xd6)](){var _0x442356=_0x90d58e;this[_0x442356(0x182)][_0x442356(0x1cb)](_0x5cbc32);}},_0x526763[_0x90d58e(0x1c2)]=_0x38a7e3([_0x220d12(0x0,_0x500e45[_0x90d58e(0xf9)]),_0x220d12(0x1,_0x20781d[_0x90d58e(0x132)])],_0x526763['MCPUIMenuController']);const _0x463f9e={'mcpStatus':{'disconnected':_0x90d58e(0x137),'connecting':_0x90d58e(0x201),'connected':_0x90d58e(0x190),'failed':_0x90d58e(0x98),'retrying':'MCP\x20Retrying...','unknown':_0x90d58e(0x180),'unauthorized':_0x90d58e(0xdd),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x90d58e(0x103),'maxRetriesExceeded':_0x90d58e(0x1d9),'clickToConnect':_0x90d58e(0x1e4),'clickToConfigure':_0x90d58e(0x102)},'mcpConfig':{'title':_0x90d58e(0x1b0),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x90d58e(0x113),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x90d58e(0x107),'connectionInfo':_0x90d58e(0xbb),'mcpClientConfig':_0x90d58e(0xbb),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x90d58e(0x136),'configStep1':_0x90d58e(0x226),'configStep2':_0x90d58e(0xc5),'configStep3':_0x90d58e(0x194),'sessionId':'Session\x20ID','sessionIdDescription':_0x90d58e(0x1b2),'authorizationDescription':_0x90d58e(0x168),'configParameters':_0x90d58e(0xbd),'maxRetries':_0x90d58e(0x1fa),'save':'Save\x20Configuration','saving':_0x90d58e(0x1a4),'note1':_0x90d58e(0x157),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x90d58e(0x143),'configError':_0x90d58e(0xe8),'apiApplyInfo':{'title':_0x90d58e(0x207),'description':_0x90d58e(0xdf),'univerAiLabel':_0x90d58e(0xfb),'getStarted':_0x90d58e(0x215)},'validation':{'apiKeyRequired':_0x90d58e(0x140),'apiKeyTooShort':_0x90d58e(0x10c),'invalidConfig':_0x90d58e(0x1a9),'invalidApiKey':_0x90d58e(0xb6)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x90d58e(0x15e),'failed':_0x90d58e(0x1b3),'retrying':_0x90d58e(0xe3)},'connectionError':{'unauthorized':_0x90d58e(0x1ce),'sessionOccupied':_0x90d58e(0xdc),'networkError':_0x90d58e(0xa4),'maxRetriesExceeded':_0x90d58e(0x203)}}},_0x38c5d2={'mcpStatus':{'disconnected':_0x90d58e(0x213),'connecting':'MCP\x20连接中...','connected':_0x90d58e(0x1a7),'failed':_0x90d58e(0x167),'retrying':'MCP\x20重连中...','unknown':_0x90d58e(0x1b6),'unauthorized':_0x90d58e(0x1fd),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x90d58e(0x141),'clickToConfigure':_0x90d58e(0x112)},'mcpConfig':{'title':_0x90d58e(0x121),'description':_0x90d58e(0xcd),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0x90d58e(0x197),'apiKeyHint':_0x90d58e(0x117),'enableAuth':_0x90d58e(0x174),'enableAuthHint':_0x90d58e(0x1ee),'connectionInfo':_0x90d58e(0x173),'mcpClientConfig':_0x90d58e(0x173),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x90d58e(0x18f),'configStep1':_0x90d58e(0x214),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x90d58e(0x1c6),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x90d58e(0xee),'configParameters':_0x90d58e(0x1c4),'maxRetries':_0x90d58e(0x177),'save':_0x90d58e(0x111),'saving':_0x90d58e(0x128),'note1':_0x90d58e(0x1d6),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x90d58e(0xfe),'configError':_0x90d58e(0x16e),'apiApplyInfo':{'title':_0x90d58e(0xa5),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0x90d58e(0xc7),'getStarted':_0x90d58e(0x205)},'validation':{'apiKeyRequired':_0x90d58e(0x1e6),'apiKeyTooShort':_0x90d58e(0x17e),'invalidConfig':_0x90d58e(0xf7),'invalidApiKey':_0x90d58e(0x149)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x90d58e(0xda),'failed':_0x90d58e(0x209),'retrying':_0x90d58e(0x204)},'connectionError':{'unauthorized':_0x90d58e(0x193),'sessionOccupied':_0x90d58e(0x1b8),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x90d58e(0xc9)}}};var _0x1127ce=Object[_0x90d58e(0x144)],_0x5bc0e5=Object[_0x90d58e(0x1f2)],_0x24298f=(_0x12683d,_0x1ddcd7,_0x337660)=>_0x1ddcd7 in _0x12683d?_0x1127ce(_0x12683d,_0x1ddcd7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x337660}):_0x12683d[_0x1ddcd7]=_0x337660,_0x3fa151=(_0x20386b,_0x5d8d9c,_0x1104de,_0x7563b7)=>{for(var _0x4529df=_0x7563b7>0x1?void 0x0:_0x7563b7?_0x5bc0e5(_0x5d8d9c,_0x1104de):_0x5d8d9c,_0x286385=_0x20386b['length']-0x1,_0x14f786;_0x286385>=0x0;_0x286385--)(_0x14f786=_0x20386b[_0x286385])&&(_0x4529df=_0x14f786(_0x4529df)||_0x4529df);return _0x4529df;},_0x38c388=(_0x4002e0,_0x8ca51c)=>(_0x6de69b,_0x303559)=>_0x8ca51c(_0x6de69b,_0x303559,_0x4002e0),_0x553fd1=(_0x3c4e4b,_0x1cbeda,_0x46c95b)=>_0x24298f(_0x3c4e4b,_0x1cbeda+'',_0x46c95b);_0x526763['UniverMCPUIPlugin']=class extends _0x500e45[_0x90d58e(0x169)]{constructor(_0x1213e5=_0x38cd84,_0x174162,_0x5bbee3,_0xcac1b8,_0x488159,_0x4c8411){var _0x1b36e9=_0x90d58e;super(),this[_0x1b36e9(0xfd)]=_0x1213e5,this[_0x1b36e9(0x119)]=_0x174162,this['_configService']=_0x5bbee3,this[_0x1b36e9(0xca)]=_0xcac1b8,this['_localStorageService']=_0x488159,this[_0x1b36e9(0x10f)]=_0x4c8411;const {..._0x3a4fec}=_0x500e45[_0x1b36e9(0x1be)]({},_0x38cd84,this[_0x1b36e9(0xfd)]);this['_configService']['setConfig'](_0x5644ef,_0x3a4fec);}async[_0x90d58e(0x115)](){var _0x349d63=_0x90d58e;const _0x8797ff=[[_0x526763[_0x349d63(0x1e9)]],[_0x526763[_0x349d63(0x1ef)]],[_0x526763[_0x349d63(0x1c2)]]];this[_0x349d63(0x119)][_0x349d63(0x20b)](_0x4b5635['ISocketService'])||_0x8797ff[_0x349d63(0xf4)]([_0x4b5635[_0x349d63(0x1ac)],{'useClass':_0x4b5635['WebSocketService']}]),_0x8797ff[_0x349d63(0xf6)](_0x111372=>this['_injector'][_0x349d63(0x17f)](_0x111372)),this[_0x349d63(0x119)][_0x349d63(0x9a)](_0x526763[_0x349d63(0x1e9)]),this[_0x349d63(0x119)]['get'](_0x526763[_0x349d63(0x1ef)]),this['_injector'][_0x349d63(0x9a)](_0x526763[_0x349d63(0x1c2)]);}},_0x553fd1(_0x526763['UniverMCPUIPlugin'],_0x90d58e(0x1bc),'MCP_UI_PLUGIN'),_0x526763['UniverMCPUIPlugin']=_0x3fa151([_0x500e45['DependentOn'](_0x13cda6[_0x90d58e(0xd7)]),_0x38c388(0x1,_0x500e45[_0x90d58e(0xd5)](_0x500e45[_0x90d58e(0x148)])),_0x38c388(0x2,_0x500e45[_0x90d58e(0xd8)]),_0x38c388(0x3,_0x20781d[_0x90d58e(0x1f1)]),_0x38c388(0x4,_0x500e45[_0x90d58e(0x9f)]),_0x38c388(0x5,_0x500e45[_0x90d58e(0xd5)](_0x500e45['LocaleService']))],_0x526763[_0x90d58e(0x96)]),_0x526763['MCPConfigPanel']=_0x16c605,_0x526763[_0x90d58e(0xa0)]=_0x400aa9,_0x526763['OpenMCPConfigPanelCommand']=_0x114f18,_0x526763[_0x90d58e(0x104)]=_0x463f9e,_0x526763[_0x90d58e(0x134)]=_0x38c5d2,Object['defineProperty'](_0x526763,Symbol['toStringTag'],{'value':'Module'});}));function _0x56db(_0x2c4898,_0x55b03d){var _0x1266e1=_0x1266();return _0x56db=function(_0x56db14,_0x386ab5){_0x56db14=_0x56db14-0x94;var _0x1b1c22=_0x1266e1[_0x56db14];return _0x1b1c22;},_0x56db(_0x2c4898,_0x55b03d);}function _0x1266(){var _0x5cc037=['MCP\x20Connecting...','mcpStatus.connecting','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','重连中...','几秒钟内获取您的\x20API\x20密钥','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','What\x20is\x20API\x20Key?','univer-flex\x20univer-items-center\x20univer-gap-2','连接失败','49SdDKBw','has','M5.21243\x205.62036L11.8791\x2012.287','univer-text-xs\x20univer-text-gray-500','close','setItem','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','univer-text-yellow-500','mcpConfig.apiApplyInfo.title','MCP\x20已断开','复制以下\x20JSON\x20配置','Get\x20your\x20API\x20key\x20in\x20seconds','children','className','NETWORK_ERROR','DISCONNECTED','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP_PLUGIN_CONFIG_KEY','getConfig','{\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=','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','mcpConfig.configStep2','univerjs-icon\x20univerjs-icon-','_localStorageService','mcpConfig.apiKey','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','react','univer-text-red-500','Copy\x20the\x20JSON\x20configuration\x20below','help-single','url(#on-line-icon_clip0_910_349)','sessionId$','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','UniverMCPUIPlugin','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','MCP\x20Connection\x20Failed','\x20-\x20','get','univer-space-y-2','useObservable','CONNECTING','value','ILocalStorageService','MCPStatusDisplay','MCPConnectionStatus','SESSION_ID_OCCUPIED','univer-flex\x20univer-flex-wrap\x20univer-gap-2','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','什么是\x20API\x20密钥?','univer-space-y-4','_initStatusComponent','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','2762485ZlemVz','length','mcpConfig.note2','_mcpCoreConfig$','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','substring','propertyIsEnumerable','getCurrentConfig','1em','javascript:void(0)','CONNECTED','Authorization:','IMessageService','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Success','mcpConfig.validation.apiKeyTooShort','currentColor','subscribe','MCP\x20Client\x20Configuration','univer-flex\x20univer-items-start\x20univer-gap-3','Configuration\x20Parameters:','60234ylFRzn','univer-min-w-0\x20univer-flex-1','url(#off-line-icon_clip0_910_343)','evenodd','bottom','HelpSingle','OTHERS','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_apiKey$','Univer\x20AI\x20控制台','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','超出最大重试次数,请稍后再试','_uiPartsService','isValid','Close','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-bg-green-500','fill','next','univer-font-medium','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','mcpConfig.note1','OffLineIcon','Inject','_initializeMenus','UniverMCPPlugin','IConfigService','mcpConfig.title','已连接','18XaCtCa','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','_initConfigSync','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','React','\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','https://console.univer.plus','Retrying...','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','_registerComponent','object','130431PzjcOf','Failed\x20to\x20save\x20configuration','warn','call','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','disposeWithMe','show','带有\x20Bearer\x20前缀的\x20API\x20密钥。','random','mcp.apiKey','url(#$1','removeItem','mcpConfig.apiApplyInfo.description','push','xlink:href','forEach','配置无效','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','ICommandService','_initializeCommands','Univer\x20AI\x20Console','colorChannel1','_config','配置保存成功','mcpConfig.configParameters','univer-bg-blue-500','_dialogService','Click\x20to\x20configure\x20MCP','MCP:\x20Network\x20Error','enUS','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','current','Enable\x20authentication\x20for\x20secure\x20connections','_messageService','icon','defIds','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Input','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_localeService','CloseSmallSingle','保存配置','点击配置\x20MCP','API\x20Key','indexOf','onStarting','rxjs','您的\x20API\x20密钥将在此浏览器中本地存储','mcpStatus.networkError','_injector','_logService','FAILED','map','_loading$','univer.plus','_loadStoredApiKey','assign','MCP\x20配置','Bearer\x20','defs','univer.ai','replace','mcpConfig.configError','use','保存中...','getItem','HEADER_MENU','MenuIcon','includes','string','MCPConnectionController','connectionStatus$','concat','round','IMenuManagerService','registerCommand','zhCN','none','Configuration\x20Steps:','MCP\x20Disconnected','UniverUi','univer-flex\x20univer-items-start\x20univer-gap-2','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','trim','mcpStatus.clickToConnect','@univerjs-pro/mcp','_componentManager','univer-flex\x20univer-gap-3','API\x20key\x20is\x20required','点击连接\x20MCP','UniverProMcpUi','Configuration\x20saved\x20successfully','defineProperty','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','mcpConfig.configStep3','svg','Injector','API\x20密钥无效,请检查密钥是否正确','mcpConfig.connectionError.maxRetriesExceeded','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','mcpStatus.disconnected','attrs','ILogService','_validateConfig','close-small-single','mcpConfig.saving','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','BehaviorSubject','mcpConfig.apiApplyInfo.getStarted','mcpConfig.authorizationDescription','hasOwnProperty','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','882370imvgYc','@univerjs/ui','mcpConfig.validation.invalidApiKey','jsx','263106gMQFin','getOwnPropertySymbols','Connected','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','mcpStatus.connected','287048jQIlUN','mcpConfig.connectionStatus.retrying','MCPConnectionError','check-mark-icon','mcpConfig.apiKeyHint','subscribeConfigValue$','MCP\x20连接失败','API\x20key\x20with\x20Bearer\x20prefix.','Plugin','connectInjector','prototype','connectionError$','univer-flex\x20univer-items-center\x20univer-gap-3','配置保存失败','LocaleService','mcpStatus.retrying','useRef','extend','MCP\x20客户端配置','启用身份验证','_initAutoConnect','toString','最大重试次数','0\x200\x2017\x2016','mcpConfig.apiApplyInfo.univerAiLabel','univer-mr-2\x20univer-flex\x20univer-text-xl','MAX_RETRIES_EXCEEDED','mcpConfig.connectionStatus.connecting','useState','API\x20密钥长度至少需要\x2010\x20位','add','MCP\x20Unknown\x20Status','univer-flex-1','_menuManagerService','forwardRef','_commandService','pre','OnLineIcon','ComponentManager','\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','RETRYING','tag','Button','mcpConfig.validation.apiKeyRequired','univer-flex-shrink-0\x20univer-text-blue-500','配置步骤:','MCP\x20Connected','translate(.97)','mcpStatus.failed','权限验证失败,请检查您的\x20API\x20密钥','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','showDeveloperTools','请输入您的\x20API\x20密钥','_configService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','idSuffix','clipPath','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','span','Tooltip','div','mcpConfig.connectionError.networkError','showStatus','Error','univer-text-blue-600','Saving...','MessageType','MCPConfigPanel','MCP\x20已连接','COMMAND','Invalid\x20configuration','mcpConfig.connectionStatus.connected','off-line-icon','ISocketService','mcpConfig.apiKeyPlaceholder','UNAUTHORIZED','function','MCP\x20Configuration','UniverDesign','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connection\x20Failed','white','displayName','MCP\x20状态未知','path','会话\x20ID\x20已被占用,请稍后再试','BUTTON','_handleConfigure','amd','pluginName','on-line-icon_clip0_910_349','merge','apiKey','_handleConfigSave','univer-flex-shrink-0\x20univer-text-red-500','MCPUIMenuController','\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','配置参数:','\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','会话ID','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','UniverIcon','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','0\x200\x2016\x2016','mergeMenu','mcpServerUrl','univer_session_id:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','4cajFrW','_connectionController','82596DEFjYg','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','http://www.w3.org/2000/svg','mcpConfig.connectionInfo','univer-flex\x20univer-items-center','配置更改将立即生效','createElement','univer-bg-gray-500','MCP:\x20Max\x20Retries\x20Exceeded','65Dwblyp','open','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','MenuItemType','UniverCore','jsxs','<API_KEY>','off-line-icon_clip0_910_343','text','Click\x20to\x20connect\x20MCP','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','API\x20密钥不能为空','mcpStatus.unauthorized','Disposable','MCPConnectionUIController','univer-text-gray-400','_config$','\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','mask','启用身份验证以获得安全连接','MCPConfigUIController','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','IUIPartsService','getOwnPropertyDescriptor','UniverProMcp','CheckMarkIcon','mcpConfig.description','mcp-ui.config','univer-bg-red-500','Configuration\x20Notes:','_mcpConnectionController','Max\x20Retries','__setCustomHeaders','apply','MCP:\x20未授权','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-space-y-3','mcpStatus.clickToConfigure'];_0x1266=function(){return _0x5cc037;};return _0x1266();}
1
+ (function(_0x4f070e,_0x2340c4){const _0x22966a=_0x38f6,_0x642066=_0x4f070e();while(!![]){try{const _0x4466a1=-parseInt(_0x22966a(0x13c))/0x1+-parseInt(_0x22966a(0x1ab))/0x2*(parseInt(_0x22966a(0x2b4))/0x3)+parseInt(_0x22966a(0x1b8))/0x4+-parseInt(_0x22966a(0x264))/0x5+-parseInt(_0x22966a(0x1c6))/0x6*(-parseInt(_0x22966a(0x28c))/0x7)+parseInt(_0x22966a(0x2c6))/0x8+parseInt(_0x22966a(0x288))/0x9;if(_0x4466a1===_0x2340c4)break;else _0x642066['push'](_0x642066['shift']());}catch(_0x76b3c7){_0x642066['push'](_0x642066['shift']());}}}(_0x97c7,0xed06c),function(_0x27d4ae,_0xebb4db){const _0x1739df=_0x38f6;typeof exports==_0x1739df(0x225)&&typeof module<'u'?_0xebb4db(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x1739df(0x295)&&define[_0x1739df(0x211)]?define([_0x1739df(0x1df),'@univerjs/core',_0x1739df(0x228),_0x1739df(0x1dc),_0x1739df(0x1a0),'@univerjs/ui','rxjs',_0x1739df(0x190),_0x1739df(0x1e8)],_0xebb4db):(_0x27d4ae=typeof globalThis<'u'?globalThis:_0x27d4ae||self,_0xebb4db(_0x27d4ae[_0x1739df(0x206)]={},_0x27d4ae[_0x1739df(0x24b)],_0x27d4ae[_0x1739df(0x1af)],_0x27d4ae['UniverProMcp'],_0x27d4ae[_0x1739df(0x275)],_0x27d4ae[_0x1739df(0x159)],_0x27d4ae[_0x1739df(0x148)],_0x27d4ae[_0x1739df(0x1af)],_0x27d4ae[_0x1739df(0x29b)]));}(this,function(_0x206ed9,_0x3319ac,_0x10b018,_0x3f7317,_0x5c3514,_0x3faf3e,_0x12517b,_0x545aac,_0x4f831d){'use strict';const _0x2f19b3=_0x38f6;var _0x2be2f4=Object['defineProperty'],_0x2a3541=(_0x1c7f38,_0x1dc77d,_0x203ac5)=>_0x1dc77d in _0x1c7f38?_0x2be2f4(_0x1c7f38,_0x1dc77d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x203ac5}):_0x1c7f38[_0x1dc77d]=_0x203ac5,_0x167563=(_0x3d2d66,_0x1131bf,_0x164a11)=>_0x2a3541(_0x3d2d66,typeof _0x1131bf!=_0x2f19b3(0x2c9)?_0x1131bf+'':_0x1131bf,_0x164a11);function _0x22b938({ref:_0x3781e5,..._0x3441ec}){const _0x52cbe0=_0x2f19b3,{icon:_0x5010bc,id:_0x2c5fcd,className:_0x35c7fb,extend:_0x2231aa,..._0x4fecd1}=_0x3441ec,_0x133a0a=(_0x52cbe0(0x140)+_0x2c5fcd+'\x20'+(_0x35c7fb||''))[_0x52cbe0(0x207)](),_0x38eb04=_0x545aac[_0x52cbe0(0x272)]('_'+_0x1c88b1());return _0x531f47(_0x5010bc,''+_0x2c5fcd,{'defIds':_0x5010bc[_0x52cbe0(0x1d2)],'idSuffix':_0x38eb04[_0x52cbe0(0x276)]},{'ref':_0x3781e5,'className':_0x133a0a,..._0x4fecd1},_0x2231aa);}function _0x531f47(_0x5d28be,_0x22b723,_0x22cada,_0x28efaf,_0x1f93ca){const _0x45893c=_0x2f19b3;return _0x545aac[_0x45893c(0x25e)](_0x5d28be[_0x45893c(0x25c)],{'key':_0x22b723,..._0x23a16e(_0x5d28be,_0x22cada,_0x1f93ca),..._0x28efaf},(_0x535361(_0x5d28be,_0x22cada)['children']||[])[_0x45893c(0x255)]((_0xc6994f,_0x42179d)=>_0x531f47(_0xc6994f,_0x22b723+'-'+_0x5d28be['tag']+'-'+_0x42179d,_0x22cada,void 0x0,_0x1f93ca)));}function _0x23a16e(_0x225311,_0x42b13e,_0x322274){const _0x454d44=_0x2f19b3,_0x20324b={..._0x225311[_0x454d44(0x240)]};_0x322274!=null&&_0x322274['colorChannel1']&&_0x20324b[_0x454d44(0x2cc)]===_0x454d44(0x227)&&(_0x20324b['fill']=_0x322274[_0x454d44(0x227)]),_0x225311['tag']==='mask'&&_0x20324b['id']&&(_0x20324b['id']=_0x20324b['id']+_0x42b13e['idSuffix']),Object[_0x454d44(0x15a)](_0x20324b)[_0x454d44(0x17e)](([_0x56af3d,_0x38ade7])=>{const _0x179ff7=_0x454d44;_0x56af3d===_0x179ff7(0x2d5)&&typeof _0x38ade7==_0x179ff7(0x25f)&&(_0x20324b[_0x56af3d]=_0x38ade7[_0x179ff7(0x2b2)](/url\(#(.*)\)/,_0x179ff7(0x2c2)+_0x42b13e[_0x179ff7(0x22b)]+')'));});const {defIds:_0x42bfce}=_0x42b13e;return!_0x42bfce||_0x42bfce[_0x454d44(0x20a)]===0x0||(_0x225311[_0x454d44(0x25c)]===_0x454d44(0x27b)&&_0x20324b[_0x454d44(0x1cc)]&&(_0x20324b[_0x454d44(0x1cc)]=_0x20324b['xlink:href']+_0x42b13e[_0x454d44(0x22b)]),Object[_0x454d44(0x15a)](_0x20324b)['forEach'](([_0x4ac352,_0x5117fe])=>{const _0x4135a9=_0x454d44;typeof _0x5117fe==_0x4135a9(0x25f)&&(_0x20324b[_0x4ac352]=_0x5117fe[_0x4135a9(0x2b2)](/url\(#(.*)\)/,'url(#$1'+_0x42b13e[_0x4135a9(0x22b)]+')'));})),_0x20324b;}function _0x535361(_0x5cdcb7,_0x273346){const _0x5a5226=_0x2f19b3;var _0x28a481;const {defIds:_0xc4f71c}=_0x273346;return!_0xc4f71c||_0xc4f71c['length']===0x0?_0x5cdcb7:_0x5cdcb7[_0x5a5226(0x25c)]==='defs'&&((_0x28a481=_0x5cdcb7[_0x5a5226(0x1ac)])!=null&&_0x28a481[_0x5a5226(0x20a)])?{..._0x5cdcb7,'children':_0x5cdcb7[_0x5a5226(0x1ac)][_0x5a5226(0x255)](_0xa9d628=>typeof _0xa9d628[_0x5a5226(0x240)]['id']=='string'&&_0xc4f71c&&_0xc4f71c['includes'](_0xa9d628[_0x5a5226(0x240)]['id'])?{..._0xa9d628,'attrs':{..._0xa9d628[_0x5a5226(0x240)],'id':_0xa9d628[_0x5a5226(0x240)]['id']+_0x273346[_0x5a5226(0x22b)]}}:_0xa9d628)}:_0x5cdcb7;}function _0x1c88b1(){const _0x1bdc8b=_0x2f19b3;return Math['random']()[_0x1bdc8b(0x21a)](0x24)['substring'](0x2,0x8);}_0x22b938[_0x2f19b3(0x1b0)]=_0x2f19b3(0x26d);const _0x50cc5c={'tag':_0x2f19b3(0x198),'attrs':{'xmlns':_0x2f19b3(0x2b1),'fill':_0x2f19b3(0x1e3),'viewBox':_0x2f19b3(0x165),'width':_0x2f19b3(0x1e6),'height':_0x2f19b3(0x1e6)},'children':[{'tag':_0x2f19b3(0x252),'attrs':{'fill':'currentColor','d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':'evenodd','clipRule':_0x2f19b3(0x14e)}}]},_0x48ce24=_0x545aac[_0x2f19b3(0x214)](function(_0x437d47,_0x55d6a3){const _0x348a89=_0x2f19b3;return _0x545aac['createElement'](_0x22b938,Object[_0x348a89(0x27f)]({},_0x437d47,{'id':_0x348a89(0x2d4),'ref':_0x55d6a3,'icon':_0x50cc5c}));});_0x48ce24[_0x2f19b3(0x1b0)]=_0x2f19b3(0x222);const _0x12c742={'tag':_0x2f19b3(0x198),'attrs':{'xmlns':_0x2f19b3(0x2b1),'fill':_0x2f19b3(0x1e3),'viewBox':_0x2f19b3(0x165),'width':_0x2f19b3(0x1e6),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x2f19b3(0x249),'d':_0x2f19b3(0x2b3)}}]},_0x2c31c5=_0x545aac[_0x2f19b3(0x214)](function(_0x4f1406,_0x2078ab){const _0x38a606=_0x2f19b3;return _0x545aac[_0x38a606(0x25e)](_0x22b938,Object[_0x38a606(0x27f)]({},_0x4f1406,{'id':_0x38a606(0x24f),'ref':_0x2078ab,'icon':_0x12c742}));});_0x2c31c5[_0x2f19b3(0x1b0)]=_0x2f19b3(0x2a6);const _0x394310={'tag':_0x2f19b3(0x198),'attrs':{'xmlns':_0x2f19b3(0x2b1),'fill':_0x2f19b3(0x1e3),'viewBox':_0x2f19b3(0x165),'width':_0x2f19b3(0x1e6),'height':_0x2f19b3(0x1e6)},'children':[{'tag':_0x2f19b3(0x252),'attrs':{'fill':_0x2f19b3(0x249),'d':_0x2f19b3(0x2bd)}},{'tag':_0x2f19b3(0x252),'attrs':{'fill':_0x2f19b3(0x249),'d':_0x2f19b3(0x253)}},{'tag':_0x2f19b3(0x252),'attrs':{'fill':_0x2f19b3(0x249),'d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x2f19b3(0x14e),'clipRule':_0x2f19b3(0x14e)}}]},_0x5a4d5a=_0x545aac[_0x2f19b3(0x214)](function(_0x48d0d0,_0x2e5c45){const _0x263505=_0x2f19b3;return _0x545aac[_0x263505(0x25e)](_0x22b938,Object['assign']({},_0x48d0d0,{'id':_0x263505(0x239),'ref':_0x2e5c45,'icon':_0x394310}));});_0x5a4d5a[_0x2f19b3(0x1b0)]=_0x2f19b3(0x246);const _0x1ba0d5={'tag':'svg','attrs':{'xmlns':_0x2f19b3(0x2b1),'fill':_0x2f19b3(0x1e3),'viewBox':'0\x200\x2016\x2016','width':_0x2f19b3(0x1e6),'height':_0x2f19b3(0x1e6)},'children':[{'tag':'g','attrs':{'clipPath':_0x2f19b3(0x2cd)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2f19b3(0x1b1),'strokeLinecap':_0x2f19b3(0x2a8),'strokeLinejoin':_0x2f19b3(0x2a8),'strokeWidth':1.2}}]},{'tag':_0x2f19b3(0x1f0),'attrs':{},'children':[{'tag':_0x2f19b3(0x269),'attrs':{'id':_0x2f19b3(0x17b)},'children':[{'tag':_0x2f19b3(0x252),'attrs':{'fill':_0x2f19b3(0x208),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2c9ab5=_0x545aac[_0x2f19b3(0x214)](function(_0x5ba38d,_0x49ad6f){const _0x318568=_0x2f19b3;return _0x545aac[_0x318568(0x25e)](_0x22b938,Object['assign']({},_0x5ba38d,{'id':_0x318568(0x216),'ref':_0x49ad6f,'icon':_0x1ba0d5}));});_0x2c9ab5[_0x2f19b3(0x1b0)]='OffLineIcon';const _0x5efae3={'tag':_0x2f19b3(0x198),'attrs':{'xmlns':_0x2f19b3(0x2b1),'fill':_0x2f19b3(0x1e3),'viewBox':_0x2f19b3(0x142),'width':'1em','height':_0x2f19b3(0x1e6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2f19b3(0x252),'attrs':{'stroke':_0x2f19b3(0x249),'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':_0x2f19b3(0x2a8),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2f19b3(0x1f0),'attrs':{},'children':[{'tag':_0x2f19b3(0x269),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2f19b3(0x208),'d':'M0\x200H16V16H0z','transform':_0x2f19b3(0x1fc)}}]}]}],'defIds':[_0x2f19b3(0x19b)]},_0xc5ccb0=_0x545aac[_0x2f19b3(0x214)](function(_0x38b57b,_0x4e5cfd){const _0x24475c=_0x2f19b3;return _0x545aac[_0x24475c(0x25e)](_0x22b938,Object[_0x24475c(0x27f)]({},_0x38b57b,{'id':_0x24475c(0x1f8),'ref':_0x4e5cfd,'icon':_0x5efae3}));});_0xc5ccb0[_0x2f19b3(0x1b0)]=_0x2f19b3(0x27d);function _0x4a8305(_0x36b6b4){const _0x397326=_0x2f19b3;var _0x310f52,_0x26b728;const {mcpCoreConfig:_0x2fa0aa,onSave:_0x5a41fb,loading:_0x1b167c=!0x1,config:_0x19f131,connectionStatus$:_0x160181,connectionError$:_0x370eb2,currentApiKey$:_0x533884,currentSessionId$:_0x61468}=_0x36b6b4,_0x23d6f6=_0x3faf3e[_0x397326(0x260)](_0x3319ac[_0x397326(0x1e5)]),_0x4bd4c6=_0x3faf3e[_0x397326(0x21b)](_0x160181,_0x3f7317['MCPConnectionStatus'][_0x397326(0x175)]),_0x19b1de=_0x3faf3e[_0x397326(0x21b)](_0x370eb2,_0x3f7317[_0x397326(0x243)]['NONE']),_0x5c85a9=_0x3faf3e[_0x397326(0x21b)](_0x61468,''),_0x4c42fd=_0x3faf3e[_0x397326(0x21b)](_0x533884,''),[_0x3fe171,_0x55e705]=_0x545aac[_0x397326(0x1ae)](_0x4c42fd||''),_0x4d8cee=!0x0,_0x58babe=_0x19f131[_0x397326(0x1b4)]&&_0x2fa0aa[_0x397326(0x28d)]&&(_0x2fa0aa[_0x397326(0x28d)][_0x397326(0x1c3)]('univer.plus')||_0x2fa0aa[_0x397326(0x28d)][_0x397326(0x1c3)](_0x397326(0x29f))),_0x5d9863=(_0x310f52=_0x2fa0aa[_0x397326(0x28d)])==null?void 0x0:_0x310f52[_0x397326(0x1c3)](_0x397326(0x192)),_0x371593=(_0x26b728=_0x2fa0aa[_0x397326(0x28d)])==null?void 0x0:_0x26b728['includes'](_0x397326(0x29f)),_0x1d2692=_0x5d9863?'https://console.univer.plus':_0x397326(0x28b),_0x13e289=_0x19f131[_0x397326(0x1b4)]&&(_0x5d9863||_0x371593),[_0x4a38c7,_0x3cdbc8]=_0x545aac['useState'](!_0x3fe171[_0x397326(0x207)]()),_0x3b829d=(_0x5c3287,_0x5dc500)=>{const _0x1ea5a4=_0x397326;if(_0x5dc500===_0x3f7317[_0x1ea5a4(0x243)][_0x1ea5a4(0x1ca)])return _0x1ea5a4(0x2a4);switch(_0x5c3287){case _0x3f7317['MCPConnectionStatus'][_0x1ea5a4(0x1d6)]:return _0x1ea5a4(0x1b2);case _0x3f7317[_0x1ea5a4(0x289)][_0x1ea5a4(0x1fd)]:case _0x3f7317[_0x1ea5a4(0x289)]['RETRYING']:return _0x1ea5a4(0x2be);case _0x3f7317[_0x1ea5a4(0x289)][_0x1ea5a4(0x18c)]:return _0x1ea5a4(0x2a4);default:return _0x1ea5a4(0x158);}},_0x3044db=(_0x61a410,_0x5caefd)=>{const _0x1626a0=_0x397326;if(_0x5caefd===_0x3f7317['MCPConnectionError'][_0x1626a0(0x1ca)])return _0x1626a0(0x16a);switch(_0x61a410){case _0x3f7317[_0x1626a0(0x289)][_0x1626a0(0x1d6)]:return _0x1626a0(0x2d6);case _0x3f7317[_0x1626a0(0x289)][_0x1626a0(0x1fd)]:case _0x3f7317['MCPConnectionStatus'][_0x1626a0(0x2ab)]:return _0x1626a0(0x26a);case _0x3f7317['MCPConnectionStatus']['FAILED']:return _0x1626a0(0x16a);default:return'univer-bg-gray-500';}},_0x176cfa=_0x5e4ccb=>{const _0x32323e=_0x397326;switch(_0x5e4ccb){case _0x3f7317['MCPConnectionStatus'][_0x32323e(0x1d6)]:return _0x23d6f6['t'](_0x32323e(0x2d1));case _0x3f7317[_0x32323e(0x289)][_0x32323e(0x1fd)]:return _0x23d6f6['t']('mcpConfig.connectionStatus.connecting');case _0x3f7317[_0x32323e(0x289)]['FAILED']:return _0x23d6f6['t'](_0x32323e(0x1f1));case _0x3f7317[_0x32323e(0x289)][_0x32323e(0x2ab)]:return _0x23d6f6['t'](_0x32323e(0x218));default:return _0x23d6f6['t']('mcpConfig.connectionStatus.disconnected');}},_0x2eaf3d=_0x12fc17=>{const _0x2b3bb9=_0x397326;switch(_0x12fc17){case _0x3f7317[_0x2b3bb9(0x243)][_0x2b3bb9(0x1ca)]:return _0x23d6f6['t'](_0x2b3bb9(0x1ff));case _0x3f7317[_0x2b3bb9(0x243)][_0x2b3bb9(0x1be)]:return _0x23d6f6['t']('mcpConfig.connectionError.sessionOccupied');case _0x3f7317[_0x2b3bb9(0x243)][_0x2b3bb9(0x2ca)]:return _0x23d6f6['t'](_0x2b3bb9(0x17d));case _0x3f7317[_0x2b3bb9(0x243)]['MAX_RETRIES_EXCEEDED']:return _0x23d6f6['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x34b335=_0x545aac[_0x397326(0x179)](()=>{const _0x27a146=_0x397326,_0x7255bd={..._0x2fa0aa,'apiKey':_0x3fe171[_0x27a146(0x207)](),'enableAuth':_0x4d8cee};_0x5a41fb(_0x7255bd);},[_0x2fa0aa,_0x3fe171,_0x4d8cee,_0x5a41fb]),_0x26ae9f=_0x3fe171[_0x397326(0x207)]()[_0x397326(0x20a)]>0x0;return _0x10b018[_0x397326(0x2b6)]('div',{'className':_0x397326(0x180),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x261),'children':_0x10b018[_0x397326(0x2b6)]('div',{'className':_0x397326(0x298),'children':[_0x10b018[_0x397326(0x245)]('div',{'className':_0x397326(0x2a9),'children':_0x10b018[_0x397326(0x245)]('span',{'className':_0x397326(0x2a3),'children':'⚙'})}),_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'children':_0x10b018[_0x397326(0x245)]('p',{'className':_0x397326(0x21d),'children':_0x23d6f6['t'](_0x397326(0x236))})})]})}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x20e),'children':[_0x10b018[_0x397326(0x245)]('div',{'className':_0x5c3514[_0x397326(0x2c8)](_0x397326(0x1a9),_0x3b829d(_0x4bd4c6,_0x19b1de)),'children':_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x5c3514[_0x397326(0x2c8)](_0x397326(0x186),_0x3044db(_0x4bd4c6,_0x19b1de))}),_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'className':_0x397326(0x1dd),'children':_0x176cfa(_0x4bd4c6)})]})}),_0x19b1de!==_0x3f7317[_0x397326(0x243)][_0x397326(0x1d1)]&&(_0x4bd4c6===_0x3f7317[_0x397326(0x289)][_0x397326(0x18c)]||_0x19b1de===_0x3f7317['MCPConnectionError'][_0x397326(0x1ca)])&&_0x10b018[_0x397326(0x245)]('div',{'className':_0x397326(0x1ef),'children':_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x29e),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'className':_0x397326(0x1d3),'children':'⚠️'}),_0x10b018['jsx']('p',{'className':_0x397326(0x178),'children':_0x2eaf3d(_0x19b1de)})]})})]}),_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':'univer-space-y-5','children':[_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x27c),'children':[_0x10b018[_0x397326(0x2b6)](_0x397326(0x1b9),{'className':_0x397326(0x2b0),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'children':'🔑'}),'\x20',_0x23d6f6['t'](_0x397326(0x23f)),_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'className':_0x397326(0x294),'children':'*'}),_0x58babe&&_0x10b018[_0x397326(0x245)]('a',{'className':_0x397326(0x27a),'title':_0x23d6f6['t'](_0x397326(0x145)),'role':_0x397326(0x1c0),'onClick':()=>_0x3cdbc8(!0x0),'children':_0x10b018['jsx'](_0x5a4d5a,{})})]}),_0x10b018[_0x397326(0x245)](_0x5c3514[_0x397326(0x262)],{'type':_0x397326(0x1bd),'placeholder':_0x23d6f6['t'](_0x397326(0x1c4)),'value':_0x3fe171,'disabled':_0x1b167c,'autoComplete':_0x397326(0x196),'onChange':_0x55e705}),_0x10b018[_0x397326(0x245)]('p',{'className':_0x397326(0x2b5),'children':_0x23d6f6['t'](_0x397326(0x223))})]}),_0x58babe&&_0x4a38c7&&_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x1e0),'children':[_0x10b018[_0x397326(0x245)]('a',{'className':_0x397326(0x164),'role':'button','onClick':()=>_0x3cdbc8(!0x1),'children':_0x10b018[_0x397326(0x245)](_0x2c31c5,{'className':_0x397326(0x285)})}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x2b9),'children':_0x10b018['jsx'](_0x397326(0x1e2),{'className':_0x397326(0x17f),'children':'🚀'})}),_0x10b018[_0x397326(0x2b6)]('div',{'className':_0x397326(0x174),'children':[_0x10b018['jsx']('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x23d6f6['t'](_0x397326(0x145))}),_0x10b018[_0x397326(0x245)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x23d6f6['t']('mcpConfig.apiApplyInfo.description')}),_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x2b8),'children':_0x13e289&&_0x10b018[_0x397326(0x2b6)]('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':_0x1d2692,'target':'_blank','rel':_0x397326(0x20f),'children':[_0x10b018['jsx']('span',{'children':'🤖'}),_0x23d6f6['t'](_0x397326(0x280)),_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x10b018[_0x397326(0x2b6)]('div',{'className':_0x397326(0x29a),'children':['✨','\x20',_0x23d6f6['t'](_0x397326(0x17c))]})]})]})]}),_0x19f131[_0x397326(0x1b4)]&&_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x10b018[_0x397326(0x2b6)]('h4',{'className':_0x397326(0x28f),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'children':'🔗'}),'\x20',_0x23d6f6['t'](_0x397326(0x204))]}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':'univer-space-y-4','children':[_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x2a0),'children':[_0x10b018[_0x397326(0x245)]('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x23d6f6['t'](_0x397326(0x2d9))}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x27c),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x22d),'children':_0x23d6f6['t'](_0x397326(0x235))}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x16e),'children':[_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x1a6),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'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'}),_0x23d6f6['t'](_0x397326(0x2bb))]}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x1a6),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'className':_0x397326(0x157),'children':'2'}),_0x23d6f6['t']('mcpConfig.configStep2')]}),_0x10b018['jsxs'](_0x397326(0x26c),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x10b018['jsx']('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x23d6f6['t'](_0x397326(0x256))]})]})]})]}),_0x10b018[_0x397326(0x2b6)]('div',{'className':_0x397326(0x27c),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x397326(0x2ad)}),_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x263),'children':_0x10b018[_0x397326(0x245)](_0x397326(0x270),{'className':_0x397326(0x250),'children':JSON[_0x397326(0x23e)]({'mcpServers':{'univer':{'url':'https://mcp.univer.ai/mcp/?univer_session_id='+(_0x5c85a9||_0x397326(0x160)),'type':_0x397326(0x1a7),'headers':{'Authorization':'Bearer\x20'+(_0x3fe171||'<API_KEY>')}}}},null,0x2)})})]}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x2a0),'children':[_0x10b018[_0x397326(0x245)]('div',{'className':_0x397326(0x22d),'children':_0x23d6f6['t'](_0x397326(0x241))}),_0x10b018['jsxs'](_0x397326(0x26c),{'className':'univer-space-y-2','children':[_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x147),'children':[_0x10b018['jsx'](_0x397326(0x26c),{'className':_0x397326(0x26f)}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x281),'children':[_0x10b018['jsx'](_0x397326(0x26c),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x397326(0x152)}),_0x10b018[_0x397326(0x245)]('div',{'className':_0x397326(0x2b5),'children':_0x23d6f6['t'](_0x397326(0x238))})]})]}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x147),'children':[_0x10b018[_0x397326(0x245)]('div',{'className':_0x397326(0x26f)}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'className':_0x397326(0x281),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x24e),'children':'Authorization:'}),_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x2b5),'children':_0x23d6f6['t'](_0x397326(0x2bf))})]})]})]})]})]})]}),_0x10b018[_0x397326(0x245)](_0x5c3514[_0x397326(0x14c)],{'onClick':_0x34b335,'disabled':!_0x26ae9f||_0x1b167c,'className':_0x397326(0x1f3),'children':_0x1b167c?_0x10b018['jsxs'](_0x397326(0x1e2),{'className':_0x397326(0x1a6),'children':[_0x10b018[_0x397326(0x245)](_0x397326(0x1e2),{'children':'⟲'}),_0x23d6f6['t'](_0x397326(0x296))]}):_0x10b018['jsxs'](_0x397326(0x1e2),{'className':_0x397326(0x1a6),'children':[_0x10b018[_0x397326(0x245)](_0x48ce24,{}),_0x23d6f6['t'](_0x397326(0x297))]})}),_0x10b018[_0x397326(0x245)](_0x397326(0x26c),{'className':_0x397326(0x1c1),'children':_0x10b018[_0x397326(0x2b6)]('div',{'className':_0x397326(0x1b6),'children':[_0x10b018['jsx'](_0x397326(0x1e2),{'className':_0x397326(0x23a),'children':'💡'}),_0x10b018['jsxs'](_0x397326(0x26c),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x10b018['jsx'](_0x397326(0x26c),{'className':_0x397326(0x28a),'children':_0x397326(0x161)}),_0x10b018[_0x397326(0x2b6)](_0x397326(0x26c),{'children':['•',_0x23d6f6['t'](_0x397326(0x1d0))]}),_0x10b018['jsxs'](_0x397326(0x26c),{'children':['•',_0x23d6f6['t']('mcpConfig.note2')]})]})]})})]})})]});}const _0x2de7a7='mcp-ui.config',_0x252523={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x35efa8=Object['getOwnPropertyDescriptor'],_0x38a1a4=(_0x1aa388,_0x295af3,_0xb02790,_0x880d7c)=>{const _0x8d47c8=_0x2f19b3;for(var _0x39d2e8=_0x880d7c>0x1?void 0x0:_0x880d7c?_0x35efa8(_0x295af3,_0xb02790):_0x295af3,_0x327cda=_0x1aa388[_0x8d47c8(0x20a)]-0x1,_0x46e1d7;_0x327cda>=0x0;_0x327cda--)(_0x46e1d7=_0x1aa388[_0x327cda])&&(_0x39d2e8=_0x46e1d7(_0x39d2e8)||_0x39d2e8);return _0x39d2e8;},_0x1bab44=(_0x422f96,_0x5e78ab)=>(_0x438070,_0x4083fc)=>_0x5e78ab(_0x438070,_0x4083fc,_0x422f96);const _0x4b4168='mcp.apiKey',_0xc31e9c=_0x2f19b3(0x2d0);_0x206ed9['MCPConfigUIController']=class extends _0x3319ac[_0x2f19b3(0x284)]{constructor(_0x26d815,_0x4bdc04,_0x22f6d3,_0x2b9abe,_0x111c35,_0x2b45f0,_0x62e524,_0x20a99b,_0x3871ee,_0x27c742){const _0x47b30a=_0x2f19b3;super(),_0x167563(this,_0x47b30a(0x2a7),new _0x12517b['BehaviorSubject'](!0x1)),_0x167563(this,_0x47b30a(0x1c8),new _0x12517b[(_0x47b30a(0x200))]({})),_0x167563(this,'_config$',new _0x12517b[(_0x47b30a(0x200))]({})),_0x167563(this,_0x47b30a(0x292),new _0x12517b[(_0x47b30a(0x200))]('')),_0x167563(this,'_handleConfigSave',async _0x557d3d=>{const _0x27569a=_0x47b30a;var _0x142f83,_0x1a6402;this[_0x27569a(0x2a7)][_0x27569a(0x14f)](!0x0);try{const _0x4a9de6=await this[_0x27569a(0x171)](_0x557d3d);if(!_0x4a9de6[_0x27569a(0x1e7)]){this[_0x27569a(0x1a8)][_0x27569a(0x259)]({'type':_0x5c3514[_0x27569a(0x1ba)][_0x27569a(0x188)],'content':_0x4a9de6[_0x27569a(0x1e1)]||this[_0x27569a(0x1c9)]['t'](_0x27569a(0x1de))});return;}_0x557d3d[_0x27569a(0x1e9)]?await this[_0x27569a(0x1f7)][_0x27569a(0x266)](_0x4b4168,_0x557d3d[_0x27569a(0x1e9)][_0x27569a(0x207)]()):await this[_0x27569a(0x1f7)][_0x27569a(0x189)](_0x4b4168),this[_0x27569a(0x292)]['next'](((_0x142f83=_0x557d3d[_0x27569a(0x1e9)])==null?void 0x0:_0x142f83[_0x27569a(0x207)]())||''),this[_0x27569a(0x1bb)][_0x27569a(0x150)]({'Authorization':_0x27569a(0x237)+((_0x1a6402=_0x557d3d[_0x27569a(0x1e9)])==null?void 0x0:_0x1a6402[_0x27569a(0x207)]())}),this[_0x27569a(0x1a8)][_0x27569a(0x259)]({'type':_0x5c3514[_0x27569a(0x1ba)][_0x27569a(0x194)],'content':this[_0x27569a(0x1c9)]['t']('mcpConfig.configSaved')}),setTimeout(()=>{const _0x608101=_0x27569a;this[_0x608101(0x2ae)][_0x608101(0x21c)](_0xc31e9c);},0x320);}catch(_0x4ee062){this[_0x27569a(0x182)][_0x27569a(0x170)](_0x27569a(0x1d9),_0x4ee062),this[_0x27569a(0x1a8)][_0x27569a(0x259)]({'type':_0x5c3514['MessageType']['Error'],'content':this['_localeService']['t'](_0x27569a(0x143))});}finally{this[_0x27569a(0x2a7)][_0x27569a(0x14f)](!0x1);}}),(this['_injector']=_0x26d815,this[_0x47b30a(0x257)]=_0x4bdc04,this['_configService']=_0x22f6d3,this['_localStorageService']=_0x2b9abe,this[_0x47b30a(0x2ae)]=_0x111c35,this[_0x47b30a(0x1a8)]=_0x2b45f0,this['_componentManager']=_0x62e524,this[_0x47b30a(0x1c9)]=_0x20a99b,this[_0x47b30a(0x182)]=_0x3871ee,this['_mcpConnectionController']=_0x27c742,this['_initConfigSync'](),this[_0x47b30a(0x202)](),this[_0x47b30a(0x13b)]());}[_0x2f19b3(0x254)](){const _0x4a2919=_0x2f19b3,_0x42525f=this[_0x4a2919(0x153)][_0x4a2919(0x1ec)](_0x2de7a7);_0x42525f!=null&&_0x42525f[_0x4a2919(0x1b4)]&&this[_0x4a2919(0x2ae)][_0x4a2919(0x1a4)]({'id':_0xc31e9c,'title':{'title':this[_0x4a2919(0x1c9)]['t']('mcpConfig.title')},'children':{'label':_0x4a2919(0x219)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x595a80=_0x4a2919;this[_0x595a80(0x2ae)][_0x595a80(0x21c)](_0xc31e9c);}});}['getCurrentConfig'](){const _0x8fa39c=_0x2f19b3;return this[_0x8fa39c(0x1c8)]['value'];}[_0x2f19b3(0x13b)](){const _0x4eefd9=_0x2f19b3;this[_0x4eefd9(0x1a1)](this['_componentManager'][_0x4eefd9(0x21f)](_0x4eefd9(0x219),this['_createConfigPanelComponent']()));}[_0x2f19b3(0x215)](){const _0x3f8ad4=_0x2f19b3;return _0x3faf3e[_0x3f8ad4(0x173)](()=>{const _0x567ddc=_0x3f8ad4;var _0xc29af9,_0x4655bf,_0x4d9ed4;return _0x10b018['jsx'](_0x4a8305,{'config':this[_0x567ddc(0x1d5)][_0x567ddc(0x1eb)],'mcpCoreConfig':this[_0x567ddc(0x1c8)]['value'],'currentApiKey$':this[_0x567ddc(0x292)],'onSave':this[_0x567ddc(0x1f4)],'loading':this['_loading$'][_0x567ddc(0x1eb)],'connectionStatus$':(_0xc29af9=this['_mcpConnectionController'])==null?void 0x0:_0xc29af9[_0x567ddc(0x1ea)],'connectionError$':(_0x4655bf=this[_0x567ddc(0x1bb)])==null?void 0x0:_0x4655bf[_0x567ddc(0x244)],'currentSessionId$':(_0x4d9ed4=this[_0x567ddc(0x1bb)])==null?void 0x0:_0x4d9ed4[_0x567ddc(0x18b)]});},this['_injector']);}['_initConfigSync'](){const _0x4f2e7b=_0x2f19b3;this[_0x4f2e7b(0x1a1)](this[_0x4f2e7b(0x153)]['subscribeConfigValue$'](_0x3f7317['MCP_PLUGIN_CONFIG_KEY'])[_0x4f2e7b(0x1a2)](_0x1e40c9=>{this['_mcpCoreConfig$']['next'](_0x1e40c9||{});}));const _0x4a9b4e=this[_0x4f2e7b(0x153)][_0x4f2e7b(0x1ec)](_0x3f7317[_0x4f2e7b(0x163)]);this['_mcpCoreConfig$'][_0x4f2e7b(0x14f)](_0x4a9b4e||{}),this['disposeWithMe'](this[_0x4f2e7b(0x153)][_0x4f2e7b(0x1ad)](_0x2de7a7)[_0x4f2e7b(0x1a2)](_0xf3c50b=>{const _0x10db2a=_0x4f2e7b;this[_0x10db2a(0x1d5)][_0x10db2a(0x14f)](_0xf3c50b||{});}));const _0x1414a7=this[_0x4f2e7b(0x153)][_0x4f2e7b(0x1ec)](_0x2de7a7);this['_config$'][_0x4f2e7b(0x14f)](_0x1414a7||{});}async[_0x2f19b3(0x202)](){const _0x1a6351=_0x2f19b3,_0x5222e0=this[_0x1a6351(0x153)][_0x1a6351(0x1ec)](_0x2de7a7);if(!(_0x5222e0!=null&&_0x5222e0['showDeveloperTools']))return;const _0x815785=await this[_0x1a6351(0x1f7)][_0x1a6351(0x23d)](_0x4b4168);_0x815785&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':'Bearer\x20'+_0x815785}),this[_0x1a6351(0x292)][_0x1a6351(0x14f)](_0x815785));}async[_0x2f19b3(0x171)](_0x4d7ef8){const _0x45c773=_0x2f19b3;if(!_0x4d7ef8['apiKey']||_0x4d7ef8[_0x45c773(0x1e9)][_0x45c773(0x207)]()[_0x45c773(0x20a)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x45c773(0x1c9)]['t'](_0x45c773(0x22e))};if(_0x4d7ef8[_0x45c773(0x1e9)]['trim']()[_0x45c773(0x20a)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x45c773(0x1c9)]['t'](_0x45c773(0x2a5))};try{const _0x2c48af=await this[_0x45c773(0x2c3)][_0x45c773(0x144)](_0x3f7317[_0x45c773(0x18e)])[_0x45c773(0x20b)](_0x4d7ef8[_0x45c773(0x1e9)][_0x45c773(0x207)]());return _0x2c48af[_0x45c773(0x1e7)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2c48af[_0x45c773(0x170)]||this['_localeService']['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x1a5d7b){return console[_0x45c773(0x213)](_0x45c773(0x1cf),_0x1a5d7b),{'isValid':!0x0};}}},_0x206ed9[_0x2f19b3(0x151)]=_0x38a1a4([_0x1bab44(0x0,_0x3319ac[_0x2f19b3(0x24c)](_0x3319ac['Injector'])),_0x1bab44(0x1,_0x3faf3e[_0x2f19b3(0x22c)]),_0x1bab44(0x2,_0x3319ac['IConfigService']),_0x1bab44(0x3,_0x3319ac[_0x2f19b3(0x13e)]),_0x1bab44(0x4,_0x3faf3e['IDialogService']),_0x1bab44(0x5,_0x3faf3e[_0x2f19b3(0x271)]),_0x1bab44(0x6,_0x3319ac[_0x2f19b3(0x24c)](_0x3faf3e[_0x2f19b3(0x1c5)])),_0x1bab44(0x7,_0x3319ac[_0x2f19b3(0x24c)](_0x3319ac[_0x2f19b3(0x1e5)])),_0x1bab44(0x8,_0x3319ac[_0x2f19b3(0x21e)]),_0x1bab44(0x9,_0x3319ac[_0x2f19b3(0x24c)](_0x3f7317[_0x2f19b3(0x18e)]))],_0x206ed9[_0x2f19b3(0x151)]);const _0x155637={'id':_0x2f19b3(0x16f),'type':_0x3319ac[_0x2f19b3(0x287)][_0x2f19b3(0x162)],'handler':async(_0x5e9067,_0x557753)=>(_0x5e9067[_0x2f19b3(0x144)](_0x206ed9['MCPConfigUIController'])[_0x2f19b3(0x254)](),!0x0)};function _0x27892b(_0x2b6c17,_0x58b835){const _0xbdb3aa=_0x2f19b3;switch(_0x2b6c17){case _0x3f7317[_0xbdb3aa(0x289)][_0xbdb3aa(0x175)]:return _0xbdb3aa(0x242);case _0x3f7317['MCPConnectionStatus']['CONNECTING']:return'mcpStatus.connecting';case _0x3f7317[_0xbdb3aa(0x289)][_0xbdb3aa(0x1d6)]:return'mcpStatus.connected';case _0x3f7317[_0xbdb3aa(0x289)][_0xbdb3aa(0x18c)]:switch(_0x58b835){case _0x3f7317['MCPConnectionError'][_0xbdb3aa(0x1ca)]:return'mcpStatus.unauthorized';case _0x3f7317[_0xbdb3aa(0x243)][_0xbdb3aa(0x1be)]:return _0xbdb3aa(0x1cb);case _0x3f7317[_0xbdb3aa(0x243)][_0xbdb3aa(0x2ca)]:return'mcpStatus.networkError';case _0x3f7317['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0x3f7317[_0xbdb3aa(0x289)][_0xbdb3aa(0x2ab)]:return _0xbdb3aa(0x1c7);default:return _0xbdb3aa(0x1f6);}}function _0x2e8958(_0x4d297a,_0x416ba9,_0x4e3e34,_0x17884e=!0x0){const _0x16a3f2=_0x2f19b3,_0x55e531=_0x27892b(_0x4d297a,_0x416ba9),_0x18785c=_0x4e3e34['t'](_0x55e531);return _0x17884e?_0x4d297a===_0x3f7317[_0x16a3f2(0x289)][_0x16a3f2(0x175)]&&_0x416ba9===_0x3f7317['MCPConnectionError']['UNAUTHORIZED']?_0x18785c+_0x16a3f2(0x14d)+_0x4e3e34['t'](_0x16a3f2(0x17a)):_0x4d297a===_0x3f7317[_0x16a3f2(0x289)]['CONNECTED']?''+_0x18785c:_0x4d297a===_0x3f7317[_0x16a3f2(0x289)][_0x16a3f2(0x175)]||_0x4d297a===_0x3f7317[_0x16a3f2(0x289)][_0x16a3f2(0x18c)]?_0x18785c+_0x16a3f2(0x14d)+_0x4e3e34['t'](_0x16a3f2(0x1fe)):_0x18785c:_0x18785c;}function _0x23cbdb(_0x1d268a){const _0x2e4134=_0x2f19b3;switch(_0x1d268a){case _0x3f7317[_0x2e4134(0x289)][_0x2e4134(0x1d6)]:return'univer-text-green-500';case _0x3f7317['MCPConnectionStatus'][_0x2e4134(0x1fd)]:case _0x3f7317[_0x2e4134(0x289)]['RETRYING']:return'univer-text-yellow-500';case _0x3f7317['MCPConnectionStatus'][_0x2e4134(0x18c)]:case _0x3f7317[_0x2e4134(0x289)][_0x2e4134(0x175)]:return _0x2e4134(0x294);default:return'univer-text-gray-500';}}function _0x149de5(_0x4490f2){const _0x54ff80=_0x2f19b3,{status$:_0x49e8e6,error$:_0x41d10f,onConfigure:_0x339907,showClickable:_0x4f6a7f=!0x0}=_0x4490f2,_0x560368=_0x3faf3e['useObservable'](_0x49e8e6,_0x3f7317['MCPConnectionStatus'][_0x54ff80(0x175)]),_0x4a392e=_0x3faf3e[_0x54ff80(0x21b)](_0x41d10f,_0x3f7317['MCPConnectionError'][_0x54ff80(0x1d1)]),_0x5bab20=_0x3faf3e[_0x54ff80(0x260)](_0x3319ac[_0x54ff80(0x1e5)]),_0x2b2d8e=_0x560368===_0x3f7317[_0x54ff80(0x289)]['CONNECTED'];_0x560368===_0x3f7317[_0x54ff80(0x289)][_0x54ff80(0x1fd)]||_0x3f7317['MCPConnectionStatus'][_0x54ff80(0x2ab)];const _0x442d3e=_0x5bab20['t'](_0x27892b(_0x560368,_0x4a392e)),_0xe75d2d=_0x2e8958(_0x560368,_0x4a392e,_0x5bab20,_0x4f6a7f),_0x52b36c=_0x23cbdb(_0x560368),_0x3e85f6=_0x2b2d8e?_0x10b018[_0x54ff80(0x245)](_0xc5ccb0,{}):_0x10b018['jsx'](_0x2c9ab5,{}),_0x58d584=_0x545aac[_0x54ff80(0x179)](()=>{_0x4f6a7f&&_0x339907&&_0x339907();},[_0x4f6a7f,_0x339907]);function _0x444a54(){const _0xceb43=_0x54ff80;return _0x10b018['jsxs'](_0xceb43(0x26c),{'className':_0x5c3514[_0xceb43(0x2c8)](_0xceb43(0x205),_0x4f6a7f&&_0x339907&&_0xceb43(0x267)),'role':'button','onClick':_0x4f6a7f&&_0x339907?_0x58d584:void 0x0,'children':[_0x10b018[_0xceb43(0x245)](_0xceb43(0x26c),{'className':_0x5c3514[_0xceb43(0x2c8)](_0xceb43(0x1f2),_0x52b36c),'children':_0x3e85f6}),_0x10b018[_0xceb43(0x245)](_0xceb43(0x26c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x442d3e})]});}return _0x10b018[_0x54ff80(0x245)](_0x5c3514[_0x54ff80(0x27e)],{'title':_0xe75d2d,'placement':_0x54ff80(0x156),'children':_0x444a54()});}var _0x43c29d=Object[_0x2f19b3(0x220)],_0xb8b89a=(_0x30bf19,_0x1f10d6,_0x1d9415,_0x103ca7)=>{const _0x2df7f0=_0x2f19b3;for(var _0x3bc26b=_0x103ca7>0x1?void 0x0:_0x103ca7?_0x43c29d(_0x1f10d6,_0x1d9415):_0x1f10d6,_0x3d2620=_0x30bf19[_0x2df7f0(0x20a)]-0x1,_0x6e6145;_0x3d2620>=0x0;_0x3d2620--)(_0x6e6145=_0x30bf19[_0x3d2620])&&(_0x3bc26b=_0x6e6145(_0x3bc26b)||_0x3bc26b);return _0x3bc26b;},_0x169b0a=(_0x4ef821,_0x1ddbb9)=>(_0x342c0d,_0x377304)=>_0x1ddbb9(_0x342c0d,_0x377304,_0x4ef821);_0x206ed9[_0x2f19b3(0x1d4)]=class extends _0x3319ac[_0x2f19b3(0x284)]{constructor(_0x1ca2f5,_0x2349e2,_0x772c8,_0x4fcae2){const _0xbeadd6=_0x2f19b3;super(),this[_0xbeadd6(0x2c3)]=_0x1ca2f5,this[_0xbeadd6(0x13f)]=_0x2349e2,this[_0xbeadd6(0x257)]=_0x772c8,this[_0xbeadd6(0x153)]=_0x4fcae2,this['_initAutoConnect'](),this[_0xbeadd6(0x16d)]();}[_0x2f19b3(0x29d)](){const _0x18431e=_0x2f19b3,_0x26b7ac=this[_0x18431e(0x153)][_0x18431e(0x1ec)](_0x2de7a7);_0x26b7ac!=null&&_0x26b7ac['showDeveloperTools']&&(this['_connectionController'][_0x18431e(0x2aa)]=!0x1);}[_0x2f19b3(0x16d)](){const _0x80529=_0x2f19b3,_0x46bac2=this['_configService'][_0x80529(0x1ec)](_0x2de7a7);(_0x46bac2==null?void 0x0:_0x46bac2[_0x80529(0x2ba)])!==!0x1&&this[_0x80529(0x1a1)](this['_uiPartsService'][_0x80529(0x23b)](_0x3faf3e[_0x80529(0x1b3)][_0x80529(0x184)],()=>{const _0x3cba04=_0x80529;var _0x46e020;return _0x3faf3e[_0x3cba04(0x173)](_0x5a4a81({'status$':this[_0x3cba04(0x13f)][_0x3cba04(0x1ea)],'error$':this['_connectionController'][_0x3cba04(0x244)],'onConfigure':()=>this[_0x3cba04(0x2ac)](),'showClickable':(_0x46e020=_0x46bac2==null?void 0x0:_0x46bac2[_0x3cba04(0x1b4)])!=null?_0x46e020:!0x1}),this[_0x3cba04(0x2c3)]);}));}[_0x2f19b3(0x2ac)](){const _0x24f596=_0x2f19b3;this[_0x24f596(0x2c3)][_0x24f596(0x144)](_0x206ed9['MCPConfigUIController'])['showConfigPanel']();}},_0x206ed9[_0x2f19b3(0x1d4)]=_0xb8b89a([_0x169b0a(0x0,_0x3319ac[_0x2f19b3(0x24c)](_0x3319ac[_0x2f19b3(0x2d7)])),_0x169b0a(0x1,_0x3319ac['Inject'](_0x3f7317[_0x2f19b3(0x18e)])),_0x169b0a(0x2,_0x3faf3e['IUIPartsService']),_0x169b0a(0x3,_0x3319ac[_0x2f19b3(0x187)])],_0x206ed9[_0x2f19b3(0x1d4)]);function _0x5a4a81(_0xbcf2a2){const {status$:_0x4fa29a,error$:_0x34836c,onConfigure:_0x420aba,showClickable:_0x5a2697}=_0xbcf2a2;return function(){const _0x4ef1f1=_0x38f6;return _0x10b018[_0x4ef1f1(0x245)](_0x149de5,{'status$':_0x4fa29a,'error$':_0x34836c,'onConfigure':_0x420aba,'showClickable':_0x5a2697});};}function _0x435106(_0x5d50c2){const _0x57049f=_0x2f19b3;return{'id':_0x155637['id'],'type':_0x3faf3e[_0x57049f(0x282)][_0x57049f(0x16b)],'icon':_0x57049f(0x1d8),'title':_0x57049f(0x232),'tooltip':_0x57049f(0x232)};}const _0x769a30={[_0x3faf3e[_0x2f19b3(0x28e)][_0x2f19b3(0x233)]]:{[_0x155637['id']]:{'order':0xa,'menuItemFactory':_0x435106}}};var _0x52d0c1=Object[_0x2f19b3(0x220)],_0x436ef8=(_0x23228e,_0x730d18,_0x3985ff,_0x13b340)=>{for(var _0x1948d8=_0x13b340>0x1?void 0x0:_0x13b340?_0x52d0c1(_0x730d18,_0x3985ff):_0x730d18,_0x174d7e=_0x23228e['length']-0x1,_0x1c9661;_0x174d7e>=0x0;_0x174d7e--)(_0x1c9661=_0x23228e[_0x174d7e])&&(_0x1948d8=_0x1c9661(_0x1948d8)||_0x1948d8);return _0x1948d8;},_0x28add1=(_0x481394,_0x43b5a0)=>(_0x285fe1,_0x420398)=>_0x43b5a0(_0x285fe1,_0x420398,_0x481394);_0x206ed9[_0x2f19b3(0x15c)]=class extends _0x3319ac['Disposable']{constructor(_0x42bcc5,_0x202ecf){const _0x51ac7a=_0x2f19b3;super(),this[_0x51ac7a(0x183)]=_0x42bcc5,this['_menuManagerService']=_0x202ecf,this['_initializeCommands'](),this[_0x51ac7a(0x291)]();}[_0x2f19b3(0x176)](){const _0x3e8277=_0x2f19b3;[_0x155637][_0x3e8277(0x17e)](_0x2db2a6=>{const _0x4492bf=_0x3e8277;this['disposeWithMe'](this[_0x4492bf(0x183)][_0x4492bf(0x278)](_0x2db2a6));});}['_initializeMenus'](){const _0x3312c0=_0x2f19b3;this[_0x3312c0(0x169)][_0x3312c0(0x167)](_0x769a30);}},_0x206ed9[_0x2f19b3(0x15c)]=_0x436ef8([_0x28add1(0x0,_0x3319ac[_0x2f19b3(0x23c)]),_0x28add1(0x1,_0x3faf3e[_0x2f19b3(0x19f)])],_0x206ed9['MCPUIMenuController']);const _0x5038b9={'mcpStatus':{'disconnected':_0x2f19b3(0x1ee),'connecting':_0x2f19b3(0x18f),'connected':_0x2f19b3(0x19c),'failed':_0x2f19b3(0x16c),'retrying':_0x2f19b3(0x20d),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x2f19b3(0x25d),'sessionOccupied':_0x2f19b3(0x286),'networkError':_0x2f19b3(0x2a1),'maxRetriesExceeded':_0x2f19b3(0x1bc),'clickToConnect':_0x2f19b3(0x226),'clickToConfigure':_0x2f19b3(0x1a3)},'mcpConfig':{'title':_0x2f19b3(0x2ad),'description':_0x2f19b3(0x26b),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x2f19b3(0x141),'enableAuth':_0x2f19b3(0x24d),'enableAuthHint':_0x2f19b3(0x24a),'connectionInfo':_0x2f19b3(0x15d),'mcpClientConfig':_0x2f19b3(0x15d),'configInstructions':_0x2f19b3(0x1d7),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x2f19b3(0x2bc),'configStep3':_0x2f19b3(0x2ce),'sessionId':'Session\x20ID','sessionIdDescription':_0x2f19b3(0x1a5),'authorizationDescription':_0x2f19b3(0x15e),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x2f19b3(0x283),'note1':_0x2f19b3(0x195),'note2':_0x2f19b3(0x2cb),'configSaved':_0x2f19b3(0x212),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x2f19b3(0x14a),'description':_0x2f19b3(0x248),'univerAiLabel':_0x2f19b3(0x1b5),'getStarted':_0x2f19b3(0x146)},'validation':{'apiKeyRequired':_0x2f19b3(0x25a),'apiKeyTooShort':_0x2f19b3(0x299),'invalidConfig':_0x2f19b3(0x19e),'invalidApiKey':_0x2f19b3(0x19d)},'connectionStatus':{'disconnected':_0x2f19b3(0x210),'connecting':_0x2f19b3(0x1aa),'connected':_0x2f19b3(0x2af),'failed':_0x2f19b3(0x199),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x2f19b3(0x277),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2f19b3(0x26e)}}},_0x31605d={'mcpStatus':{'disconnected':_0x2f19b3(0x2c1),'connecting':_0x2f19b3(0x22f),'connected':_0x2f19b3(0x1cd),'failed':_0x2f19b3(0x251),'retrying':_0x2f19b3(0x25b),'unknown':_0x2f19b3(0x230),'unauthorized':_0x2f19b3(0x154),'sessionOccupied':_0x2f19b3(0x172),'networkError':_0x2f19b3(0x168),'maxRetriesExceeded':_0x2f19b3(0x1e4),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x2f19b3(0x265)},'mcpConfig':{'title':_0x2f19b3(0x197),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x2f19b3(0x15b),'apiKeyPlaceholder':_0x2f19b3(0x221),'apiKeyHint':_0x2f19b3(0x290),'enableAuth':_0x2f19b3(0x1fa),'enableAuthHint':_0x2f19b3(0x1c2),'connectionInfo':_0x2f19b3(0x1db),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x2f19b3(0x193),'configStepTitle':_0x2f19b3(0x18d),'configStep1':_0x2f19b3(0x201),'configStep2':_0x2f19b3(0x2b7),'configStep3':_0x2f19b3(0x2cf),'sessionId':_0x2f19b3(0x229),'sessionIdDescription':_0x2f19b3(0x1bf),'authorizationDescription':_0x2f19b3(0x2d3),'configParameters':_0x2f19b3(0x166),'maxRetries':_0x2f19b3(0x2c4),'save':'保存配置','saving':_0x2f19b3(0x217),'note1':_0x2f19b3(0x2c7),'note2':_0x2f19b3(0x20c),'configSaved':_0x2f19b3(0x247),'configError':_0x2f19b3(0x2c5),'apiApplyInfo':{'title':_0x2f19b3(0x293),'description':_0x2f19b3(0x224),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2f19b3(0x2d2)},'validation':{'apiKeyRequired':_0x2f19b3(0x1b7),'apiKeyTooShort':_0x2f19b3(0x279),'invalidConfig':_0x2f19b3(0x1ed),'invalidApiKey':_0x2f19b3(0x185)},'connectionStatus':{'disconnected':_0x2f19b3(0x29c),'connecting':_0x2f19b3(0x1ce),'connected':_0x2f19b3(0x273),'failed':_0x2f19b3(0x203),'retrying':_0x2f19b3(0x274)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x2f19b3(0x231),'networkError':_0x2f19b3(0x155),'maxRetriesExceeded':_0x2f19b3(0x2c0)}}};var _0x510d5f=Object[_0x2f19b3(0x1f5)],_0x540935=Object[_0x2f19b3(0x220)],_0x4001fe=(_0x1da791,_0x4f2c2f,_0x4bfbc6)=>_0x4f2c2f in _0x1da791?_0x510d5f(_0x1da791,_0x4f2c2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bfbc6}):_0x1da791[_0x4f2c2f]=_0x4bfbc6,_0x2f474f=(_0xbc0c03,_0x28e8ab,_0x277dc1,_0x3d40ad)=>{const _0x17589f=_0x2f19b3;for(var _0x40a97a=_0x3d40ad>0x1?void 0x0:_0x3d40ad?_0x540935(_0x28e8ab,_0x277dc1):_0x28e8ab,_0x194420=_0xbc0c03[_0x17589f(0x20a)]-0x1,_0x450f80;_0x194420>=0x0;_0x194420--)(_0x450f80=_0xbc0c03[_0x194420])&&(_0x40a97a=_0x450f80(_0x40a97a)||_0x40a97a);return _0x40a97a;},_0x47abc0=(_0x42dc9c,_0x15c8df)=>(_0x2c1f6d,_0x556e0c)=>_0x15c8df(_0x2c1f6d,_0x556e0c,_0x42dc9c),_0x59380c=(_0x4079dc,_0x1d28a3,_0x418e17)=>_0x4001fe(_0x4079dc,_0x1d28a3+'',_0x418e17);_0x206ed9[_0x2f19b3(0x1fb)]=class extends _0x3319ac[_0x2f19b3(0x258)]{constructor(_0x3d786b=_0x252523,_0x579735,_0xc18be0,_0x1b0d45,_0x12403f,_0x28fb2f){const _0x493d8f=_0x2f19b3;super(),this[_0x493d8f(0x1da)]=_0x3d786b,this[_0x493d8f(0x2c3)]=_0x579735,this['_configService']=_0xc18be0,this['_uiPartsService']=_0x1b0d45,this[_0x493d8f(0x1f7)]=_0x12403f,this[_0x493d8f(0x1c9)]=_0x28fb2f;const {..._0x112835}=_0x3319ac[_0x493d8f(0x19a)]({},_0x252523,this[_0x493d8f(0x1da)]);this[_0x493d8f(0x153)]['setConfig'](_0x2de7a7,_0x112835);}async[_0x2f19b3(0x1f9)](){const _0x1f6730=_0x2f19b3,_0x30e8cc=[[_0x206ed9['MCPConnectionUIController']],[_0x206ed9[_0x1f6730(0x151)]],[_0x206ed9[_0x1f6730(0x15c)]]];this[_0x1f6730(0x2c3)][_0x1f6730(0x191)](_0x4f831d['ISocketService'])||_0x30e8cc['push']([_0x4f831d[_0x1f6730(0x2a2)],{'useClass':_0x4f831d[_0x1f6730(0x149)]}]),_0x30e8cc[_0x1f6730(0x17e)](_0x431943=>this[_0x1f6730(0x2c3)][_0x1f6730(0x268)](_0x431943)),this[_0x1f6730(0x2c3)][_0x1f6730(0x144)](_0x206ed9['MCPConnectionUIController']),this[_0x1f6730(0x2c3)][_0x1f6730(0x144)](_0x206ed9[_0x1f6730(0x151)]),this['_injector'][_0x1f6730(0x144)](_0x206ed9[_0x1f6730(0x15c)]);}},_0x59380c(_0x206ed9[_0x2f19b3(0x1fb)],_0x2f19b3(0x209),_0x2f19b3(0x13d)),_0x206ed9[_0x2f19b3(0x1fb)]=_0x2f474f([_0x3319ac[_0x2f19b3(0x14b)](_0x3f7317[_0x2f19b3(0x22a)]),_0x47abc0(0x1,_0x3319ac[_0x2f19b3(0x24c)](_0x3319ac[_0x2f19b3(0x2d7)])),_0x47abc0(0x2,_0x3319ac['IConfigService']),_0x47abc0(0x3,_0x3faf3e[_0x2f19b3(0x22c)]),_0x47abc0(0x4,_0x3319ac[_0x2f19b3(0x13e)]),_0x47abc0(0x5,_0x3319ac[_0x2f19b3(0x24c)](_0x3319ac[_0x2f19b3(0x1e5)]))],_0x206ed9[_0x2f19b3(0x1fb)]),_0x206ed9['MCPConfigPanel']=_0x4a8305,_0x206ed9[_0x2f19b3(0x181)]=_0x149de5,_0x206ed9[_0x2f19b3(0x18a)]=_0x155637,_0x206ed9[_0x2f19b3(0x15f)]=_0x5038b9,_0x206ed9[_0x2f19b3(0x234)]=_0x31605d,Object['defineProperty'](_0x206ed9,Symbol[_0x2f19b3(0x177)],{'value':_0x2f19b3(0x2d8)});}));function _0x38f6(_0x1c7290,_0x4241dc){const _0x97c700=_0x97c7();return _0x38f6=function(_0x38f61e,_0x480df6){_0x38f61e=_0x38f61e-0x13b;let _0x294140=_0x97c700[_0x38f61e];return _0x294140;},_0x38f6(_0x1c7290,_0x4241dc);}function _0x97c7(){const _0x21b3f3=['@univerjs/network','apiKey','connectionStatus$','value','getConfig','配置无效','MCP\x20Disconnected','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','defs','mcpConfig.connectionStatus.failed','univer-mr-2\x20univer-flex\x20univer-text-xl','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','_handleConfigSave','defineProperty','mcpStatus.unknown','_localStorageService','on-line-icon','onStarting','启用身份验证','UniverMCPUIPlugin','translate(.97)','CONNECTING','mcpStatus.clickToConnect','mcpConfig.connectionError.unauthorized','BehaviorSubject','复制以下\x20JSON\x20配置','_loadStoredApiKey','连接失败','mcpConfig.connectionInfo','univer-flex\x20univer-items-center','UniverProMcpUi','trim','white','pluginName','length','validateApiKey','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20Retrying...','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','noopener\x20noreferrer','Disconnected','amd','Configuration\x20saved\x20successfully','warn','forwardRef','_createConfigPanelComponent','off-line-icon','保存中...','mcpConfig.connectionStatus.retrying','MCPConfigPanel','toString','useObservable','close','univer-text-sm\x20univer-text-gray-500','ILogService','register','getOwnPropertyDescriptor','请输入您的\x20API\x20密钥','CheckMarkIcon','mcpConfig.apiKeyHint','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','object','Click\x20to\x20connect\x20MCP','colorChannel1','react/jsx-runtime','会话ID','UniverMCPPlugin','idSuffix','IUIPartsService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcpConfig.validation.apiKeyRequired','MCP\x20连接中...','MCP\x20状态未知','会话\x20ID\x20已被占用,请稍后再试','mcpConfig.title','OTHERS','zhCN','mcpConfig.configStepTitle','mcpConfig.description','Bearer\x20','mcpConfig.sessionIdDescription','help-icon','univer-shrink-0\x20univer-text-blue-500','registerComponent','ICommandService','getItem','stringify','mcpConfig.apiKey','attrs','mcpConfig.configParameters','mcpStatus.disconnected','MCPConnectionError','connectionError$','jsx','HelpIcon','配置保存成功','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','currentColor','Enable\x20authentication\x20for\x20secure\x20connections','UniverCore','Inject','Enable\x20Authentication','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','close-icon','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','MCP\x20连接失败','path','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','showConfigPanel','map','mcpConfig.configStep3','_uiPartsService','Plugin','show','API\x20key\x20is\x20required','MCP\x20重连中...','tag','MCP:\x20Unauthorized','createElement','string','useDependency','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Input','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','7003505IfZWQm','点击配置\x20MCP','setItem','\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','add','clipPath','univer-bg-blue-500','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','div','UniverIcon','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','pre','IMessageService','useRef','已连接','重连中...','UniverDesign','current','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','registerCommand','API\x20密钥长度至少需要\x2010\x20位','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','use','univer-space-y-2','OnLineIcon','Tooltip','assign','mcpConfig.apiApplyInfo.univerAiLabel','univer-min-w-0\x20univer-flex-1','MenuItemType','Saving...','Disposable','univer-size-4','MCP:\x20Session\x20ID\x20Occupied','CommandType','5690574qJLZjU','MCPConnectionStatus','univer-font-medium','https://console.univer.ai','17311JiHzzY','mcpServerUrl','RibbonStartGroup','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','您的\x20API\x20密钥将在此浏览器中本地存储','_initializeMenus','_apiKey$','什么是\x20API\x20密钥?','univer-text-red-500','function','mcpConfig.saving','mcpConfig.save','univer-flex\x20univer-items-center\x20univer-gap-3','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','UniverNetwork','未连接','_initAutoConnect','univer-flex\x20univer-items-start\x20univer-gap-2','univer.ai','univer-space-y-3','MCP:\x20Network\x20Error','ISocketService','univer-text-white','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcpConfig.validation.apiKeyTooShort','CloseIcon','_loading$','round','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','enableAutoConnect','RETRYING','_handleConfigure','MCP\x20Configuration','_dialogService','Connected','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','http://www.w3.org/2000/svg','replace','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','2928381etugKm','univer-text-xs\x20univer-text-gray-500','jsxs','将配置添加到您的\x20MCP\x20客户端设置文件中','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','showStatus','mcpConfig.configStep1','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpConfig.authorizationDescription','超出最大重试次数,请稍后再试','MCP\x20已断开','url(#$1','_injector','最大重试次数','配置保存失败','9357160gwnidx','配置更改将立即生效','clsx','symbol','NETWORK_ERROR','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','fill','url(#off-line-icon_clip0_910_343)','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','重启您的\x20MCP\x20客户端以使配置生效','mcp-config-dialog','mcpConfig.connectionStatus.connected','几秒钟内获取您的\x20API\x20密钥','带有\x20Bearer\x20前缀的\x20API\x20密钥。','check-mark-icon','mask','univer-bg-green-500','Injector','Module','mcpConfig.configInstructions','_registerComponent','534369MYvecf','MCP_UI_PLUGIN','ILocalStorageService','_connectionController','univerjs-icon\x20univerjs-icon-','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','0\x200\x2017\x2016','mcpConfig.configError','get','mcpConfig.apiApplyInfo.title','Get\x20your\x20API\x20key\x20in\x20seconds','univer-flex\x20univer-items-start\x20univer-gap-3','rxjs','WebSocketService','What\x20is\x20API\x20Key?','DependentOn','Button','\x20-\x20','evenodd','next','__setCustomHeaders','MCPConfigUIController','univer_session_id:','_configService','MCP:\x20未授权','网络连接错误,请检查您的网络连接','bottom','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','UniverUi','entries','API\x20密钥','MCPUIMenuController','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','enUS','<SESSION_ID>','Configuration\x20Notes:','COMMAND','MCP_PLUGIN_CONFIG_KEY','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','0\x200\x2016\x2016','配置参数:','mergeMenu','MCP:\x20网络错误','_menuManagerService','univer-bg-red-500','BUTTON','MCP\x20Connection\x20Failed','_initStatusComponent','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcp-ui.command.openConfigPanel','error','_validateConfig','MCP:\x20会话\x20ID\x20已被占用','connectInjector','univer-flex-1','DISCONNECTED','_initializeCommands','toStringTag','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','useCallback','mcpStatus.clickToConfigure','off-line-icon_clip0_910_343','mcpConfig.apiApplyInfo.getStarted','mcpConfig.connectionError.networkError','forEach','univer-text-blue-600','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','MCPStatusDisplay','_logService','_commandService','HEADER_MENU','API\x20密钥无效,请检查密钥是否正确','univer-size-2\x20univer-rounded-full','IConfigService','Error','removeItem','OpenMCPConfigPanelCommand','sessionId$','FAILED','配置步骤:','MCPConnectionController','MCP\x20Connecting...','react','has','univer.plus','将以下配置添加到您的\x20MCP\x20客户端设置中:','Success','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','off','MCP\x20配置','svg','Connection\x20Failed','merge','on-line-icon_clip0_910_349','MCP\x20Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Invalid\x20configuration','IMenuManagerService','@univerjs/design','disposeWithMe','subscribe','Click\x20to\x20configure\x20MCP','open','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-flex\x20univer-items-center\x20univer-gap-2','http','_messageService','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','Connecting...','2njkuMG','children','subscribeConfigValue$','useState','React','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','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','BuiltInUIPart','showDeveloperTools','Univer\x20AI\x20Console','univer-flex\x20univer-gap-3','API\x20密钥不能为空','1623620FlGJfH','label','MessageType','_mcpConnectionController','MCP:\x20Max\x20Retries\x20Exceeded','text','SESSION_ID_OCCUPIED','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','button','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','启用身份验证以获得安全连接','includes','mcpConfig.apiKeyPlaceholder','ComponentManager','4062CRNsZn','mcpStatus.retrying','_mcpCoreConfig$','_localeService','UNAUTHORIZED','mcpStatus.sessionOccupied','xlink:href','MCP\x20已连接','连接中...','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','mcpConfig.note1','NONE','defIds','univer-shrink-0\x20univer-text-red-500','MCPConnectionUIController','_config$','CONNECTED','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MenuIcon','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_config','MCP\x20客户端配置','@univerjs-pro/mcp','univer-text-sm\x20univer-font-medium','mcpConfig.validation.invalidConfig','exports','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','errorMessage','span','none','MCP:\x20超出最大重试次数','LocaleService','1em','isValid'];_0x97c7=function(){return _0x21b3f3;};return _0x97c7();}
@@ -1 +1 @@
1
- function _0x2072(_0x34e3d3,_0x281435){var _0xd66d92=_0xd66d();return _0x2072=function(_0x2072d4,_0x472ad0){_0x2072d4=_0x2072d4-0x114;var _0x30fcd8=_0xd66d92[_0x2072d4];return _0x30fcd8;},_0x2072(_0x34e3d3,_0x281435);}function _0xd66d(){var _0x5c9df9=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Parameters:','MCP:\x20Session\x20ID\x20Occupied','7628920CGlnTZ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Disconnected','35ebCknG','function','MCP\x20Client\x20Configuration','Invalid\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Retrying...','Retrying...','15900uthDkt','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','Connection\x20Failed','1478190ZXUmmS','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Saving...','exports','Configuration\x20Steps:','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','1687452BQmAZX','MCP\x20Connected','Click\x20to\x20configure\x20MCP','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Network\x20Error','MCP\x20Connecting...','API\x20key\x20is\x20required','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Configuration','1116344LthTAH','Failed\x20to\x20save\x20configuration','object','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Univer\x20AI\x20Console','MCP\x20Unknown\x20Status','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Max\x20Retries','MCP\x20Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','amd','Save\x20Configuration','111856pgzgRZ','What\x20is\x20API\x20Key?','4249uchiHl','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','5708781uluBMO','Enter\x20your\x20API\x20key','Configuration\x20saved\x20successfully'];_0xd66d=function(){return _0x5c9df9;};return _0xd66d();}(function(_0x438697,_0x5c9e61){var _0x43a95d=_0x2072,_0xc359b8=_0x438697();while(!![]){try{var _0x4c0ace=-parseInt(_0x43a95d(0x140))/0x1+parseInt(_0x43a95d(0x135))/0x2+-parseInt(_0x43a95d(0x12e))/0x3+-parseInt(_0x43a95d(0x115))/0x4*(parseInt(_0x43a95d(0x123))/0x5)+parseInt(_0x43a95d(0x12a))/0x6*(parseInt(_0x43a95d(0x117))/0x7)+parseInt(_0x43a95d(0x120))/0x8+-parseInt(_0x43a95d(0x11a))/0x9;if(_0x4c0ace===_0x5c9e61)break;else _0xc359b8['push'](_0xc359b8['shift']());}catch(_0x54cd4c){_0xc359b8['push'](_0xc359b8['shift']());}}}(_0xd66d,0xec068),function(_0x3c7fe7,_0x43d806){var _0x381618=_0x2072;typeof exports==_0x381618(0x142)&&typeof module<'u'?module[_0x381618(0x131)]=_0x43d806():typeof define==_0x381618(0x124)&&define[_0x381618(0x14b)]?define(_0x43d806):(_0x3c7fe7=typeof globalThis<'u'?globalThis:_0x3c7fe7||self,_0x3c7fe7['UniverProMcpUiCaES']=_0x43d806());}(this,function(){'use strict';var _0x209472=_0x2072;return{'mcpStatus':{'disconnected':_0x209472(0x149),'connecting':_0x209472(0x13b),'connected':_0x209472(0x136),'failed':'MCP\x20Connection\x20Failed','retrying':_0x209472(0x128),'unknown':_0x209472(0x145),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x209472(0x11f),'networkError':_0x209472(0x13a),'maxRetriesExceeded':_0x209472(0x13e),'clickToConnect':_0x209472(0x138),'clickToConfigure':_0x209472(0x137)},'mcpConfig':{'title':_0x209472(0x13f),'description':_0x209472(0x11d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x209472(0x11b),'apiKeyHint':_0x209472(0x143),'enableAuth':_0x209472(0x12c),'enableAuthHint':_0x209472(0x139),'connectionInfo':_0x209472(0x125),'mcpClientConfig':_0x209472(0x125),'configInstructions':_0x209472(0x119),'configStepTitle':_0x209472(0x132),'configStep1':_0x209472(0x14a),'configStep2':_0x209472(0x121),'configStep3':_0x209472(0x12b),'sessionId':_0x209472(0x134),'sessionIdDescription':_0x209472(0x133),'authorizationDescription':_0x209472(0x127),'configParameters':_0x209472(0x11e),'maxRetries':_0x209472(0x148),'save':_0x209472(0x114),'saving':_0x209472(0x130),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x209472(0x147),'configSaved':_0x209472(0x11c),'configError':_0x209472(0x141),'apiApplyInfo':{'title':_0x209472(0x116),'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':_0x209472(0x144),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x209472(0x13c),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x209472(0x126),'invalidApiKey':_0x209472(0x13d)},'connectionStatus':{'disconnected':_0x209472(0x122),'connecting':'Connecting...','connected':'Connected','failed':_0x209472(0x12d),'retrying':_0x209472(0x129)},'connectionError':{'unauthorized':_0x209472(0x12f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x209472(0x118),'maxRetriesExceeded':_0x209472(0x146)}}};}));
1
+ function _0x42c1(_0x73f62,_0x593986){var _0x540a96=_0x540a();return _0x42c1=function(_0x42c13a,_0x11e67c){_0x42c13a=_0x42c13a-0x1ce;var _0x3bb297=_0x540a96[_0x42c13a];return _0x3bb297;},_0x42c1(_0x73f62,_0x593986);}function _0x540a(){var _0x4e8b2e=['Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','421344MAIQVK','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Client\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Retrying...','Connecting...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','536LwmtNx','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','amd','Saving...','API\x20Key','Session\x20ID','Invalid\x20configuration','MCP\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','object','44YvUoGN','Univer\x20AI\x20Console','Disconnected','function','UniverProMcpUiCaES','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','561237AedFkt','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','8344Tgrhmo','Connected','1132164BxqRCJ','What\x20is\x20API\x20Key?','81080gtsSzc','37611RddriS','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','Failed\x20to\x20save\x20configuration','Configuration\x20Steps:','API\x20key\x20is\x20required','Enable\x20Authentication','189984GQJitd','Click\x20to\x20configure\x20MCP'];_0x540a=function(){return _0x4e8b2e;};return _0x540a();}(function(_0x597ef4,_0x52fa45){var _0x4129be=_0x42c1,_0x18cce9=_0x597ef4();while(!![]){try{var _0x2c9b95=-parseInt(_0x4129be(0x1f7))/0x1+parseInt(_0x4129be(0x200))/0x2+-parseInt(_0x4129be(0x1ef))/0x3+-parseInt(_0x4129be(0x1e8))/0x4*(-parseInt(_0x4129be(0x1f6))/0x5)+parseInt(_0x4129be(0x1f4))/0x6+-parseInt(_0x4129be(0x1f2))/0x7*(parseInt(_0x4129be(0x1dd))/0x8)+-parseInt(_0x4129be(0x1d3))/0x9;if(_0x2c9b95===_0x52fa45)break;else _0x18cce9['push'](_0x18cce9['shift']());}catch(_0x302317){_0x18cce9['push'](_0x18cce9['shift']());}}}(_0x540a,0x1b064),function(_0x1cf9c7,_0x4afa06){var _0x5d0076=_0x42c1;typeof exports==_0x5d0076(0x1e7)&&typeof module<'u'?module['exports']=_0x4afa06():typeof define==_0x5d0076(0x1eb)&&define[_0x5d0076(0x1e0)]?define(_0x4afa06):(_0x1cf9c7=typeof globalThis<'u'?globalThis:_0x1cf9c7||self,_0x1cf9c7[_0x5d0076(0x1ec)]=_0x4afa06());}(this,function(){'use strict';var _0x590122=_0x42c1;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x590122(0x1ee),'retrying':_0x590122(0x1f9),'unknown':_0x590122(0x1dc),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x590122(0x1e6),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x590122(0x1d2),'clickToConfigure':_0x590122(0x1ce)},'mcpConfig':{'title':_0x590122(0x1e5),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x590122(0x1e2),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x590122(0x1f8),'enableAuth':_0x590122(0x1ff),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x590122(0x1d5),'mcpClientConfig':_0x590122(0x1d5),'configInstructions':_0x590122(0x1ed),'configStepTitle':_0x590122(0x1fd),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x590122(0x1cf),'configStep3':_0x590122(0x1df),'sessionId':_0x590122(0x1e3),'sessionIdDescription':_0x590122(0x1f1),'authorizationDescription':_0x590122(0x1d6),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x590122(0x1fb),'saving':_0x590122(0x1e1),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x590122(0x1db),'configError':_0x590122(0x1fc),'apiApplyInfo':{'title':_0x590122(0x1f5),'description':_0x590122(0x1fa),'univerAiLabel':_0x590122(0x1e9),'getStarted':_0x590122(0x1d4)},'validation':{'apiKeyRequired':_0x590122(0x1fe),'apiKeyTooShort':_0x590122(0x1d7),'invalidConfig':_0x590122(0x1e4),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x590122(0x1ea),'connecting':_0x590122(0x1d9),'connected':_0x590122(0x1f3),'failed':_0x590122(0x1d0),'retrying':_0x590122(0x1d8)},'connectionError':{'unauthorized':_0x590122(0x1da),'sessionOccupied':_0x590122(0x1de),'networkError':_0x590122(0x1d1),'maxRetriesExceeded':_0x590122(0x1f0)}}};}));