@univerjs-pro/mcp-ui 0.10.6-nightly.202509060832 → 0.10.7-nightly.202509080357
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +6 -6
package/lib/es/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4c4945=_0xb437;(function(_0x266d9e,_0x54b1dc){const _0x361ae9=_0xb437,_0x1adcc6=_0x266d9e();while(!![]){try{const _0x3a5c2d=parseInt(_0x361ae9(0x1ba))/0x1*(-parseInt(_0x361ae9(0x1be))/0x2)+-parseInt(_0x361ae9(0x1c9))/0x3+-parseInt(_0x361ae9(0x1b8))/0x4*(parseInt(_0x361ae9(0x1b7))/0x5)+parseInt(_0x361ae9(0x1c6))/0x6+parseInt(_0x361ae9(0x1cb))/0x7+-parseInt(_0x361ae9(0x1dc))/0x8*(-parseInt(_0x361ae9(0x1db))/0x9)+-parseInt(_0x361ae9(0x1de))/0xa*(-parseInt(_0x361ae9(0x1dd))/0xb);if(_0x3a5c2d===_0x54b1dc)break;else _0x1adcc6['push'](_0x1adcc6['shift']());}catch(_0x2d9afd){_0x1adcc6['push'](_0x1adcc6['shift']());}}}(_0x1881,0xa2bf3));function _0xb437(_0x58a788,_0xf5d9bc){const _0x1881b3=_0x1881();return _0xb437=function(_0xb43734,_0x4ea762){_0xb43734=_0xb43734-0x1b5;let _0x47341e=_0x1881b3[_0xb43734];return _0x47341e;},_0xb437(_0x58a788,_0xf5d9bc);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4c4945(0x1b9),'connected':_0x4c4945(0x1d6),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4c4945(0x1c8),'unknown':_0x4c4945(0x1b5),'missingApiKey':_0x4c4945(0x1ce),'invalidApiKey':_0x4c4945(0x1d9),'sessionOccupied':_0x4c4945(0x1ca),'networkError':_0x4c4945(0x1e4),'maxRetriesExceeded':_0x4c4945(0x1c7),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x4c4945(0x1e7)},'mcpConfig':{'title':_0x4c4945(0x1df),'description':_0x4c4945(0x1d2),'apiKey':_0x4c4945(0x1e5),'apiKeyPlaceholder':_0x4c4945(0x1c5),'apiKeyHint':_0x4c4945(0x1bb),'enableAuth':_0x4c4945(0x1bd),'enableAuthHint':_0x4c4945(0x1bc),'connectionInfo':_0x4c4945(0x1d7),'serverEndpoint':_0x4c4945(0x1d4),'sessionId':_0x4c4945(0x1c4),'maxRetries':'Max\x20Retries','save':_0x4c4945(0x1d3),'saving':_0x4c4945(0x1e2),'note1':_0x4c4945(0x1c1),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4c4945(0x1e6),'configError':_0x4c4945(0x1d1),'apiApplyInfo':{'title':_0x4c4945(0x1c0),'description':_0x4c4945(0x1c2),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4c4945(0x1cc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x4c4945(0x1d8),'invalidApiKey':_0x4c4945(0x1e1)},'connectionStatus':{'disconnected':_0x4c4945(0x1bf),'connecting':_0x4c4945(0x1e0),'connected':_0x4c4945(0x1e3),'failed':_0x4c4945(0x1c3),'retrying':_0x4c4945(0x1cd)},'connectionError':{'missingApiKey':_0x4c4945(0x1d0),'invalidApiKey':_0x4c4945(0x1cf),'sessionOccupied':_0x4c4945(0x1d5),'networkError':_0x4c4945(0x1da),'maxRetriesExceeded':_0x4c4945(0x1b6)}}},n=e;export{n as default};function _0x1881(){const _0xb34d3a=['33190rGVDkc','MCP\x20Configuration','Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Saving...','Connected','MCP:\x20Network\x20Error','API\x20Key','Configuration\x20saved\x20successfully','Click\x20to\x20configure\x20MCP','MCP\x20Unknown\x20Status','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','25Mjugin','1061252VMYEoI','MCP\x20Connecting...','63XbVpAx','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','Enable\x20Authentication','18966UNjVFn','Disconnected','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connection\x20Failed','Session\x20ID','Enter\x20your\x20API\x20key','963762WtAvYy','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Retrying...','3061512Rtpexm','MCP:\x20Session\x20Occupied','9151625dDgHyW','Get\x20your\x20API\x20key\x20in\x20seconds','Retrying...','MCP:\x20API\x20Key\x20Missing','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','API\x20key\x20is\x20required\x20to\x20connect','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','Server\x20Endpoint','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Connected','Connection\x20Information','Invalid\x20configuration','MCP:\x20Invalid\x20API\x20Key','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','962928MdhxlR','24Tfimai','6039VFNteK'];_0x1881=function(){return _0xb34d3a;};return _0x1881();}
|
package/lib/es/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xfc51(_0x50805b,_0x23d6d0){const _0x4e90b5=_0x4e90();return _0xfc51=function(_0xfc51b6,_0x2958f4){_0xfc51b6=_0xfc51b6-0x1a9;let _0x4b4a11=_0x4e90b5[_0xfc51b6];return _0x4b4a11;},_0xfc51(_0x50805b,_0x23d6d0);}function _0x4e90(){const _0x3fecde=['18tMxhsk','What\x20is\x20API\x20Key?','4353470FnXMvT','7658112IFBnqm','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20saved\x20successfully','Enter\x20your\x20API\x20key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','3xwdKXx','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20key\x20is\x20required','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Configuration','MCP:\x20API\x20Key\x20Missing','Server\x20Endpoint','Max\x20Retries','MCP:\x20Invalid\x20API\x20Key','MCP\x20Connected','Connection\x20Failed','API\x20Key','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','15955PvufFG','10228608IbrcMx','Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','4044608WkXrSt','MCP\x20Connection\x20Failed','MCP\x20Unknown\x20Status','28McGyJz','Save\x20Configuration','Disconnected','Connection\x20Information','MCP:\x20Network\x20Error','MCP\x20Connecting...','316288cbhaoV','MCP\x20Disconnected','Univer\x20AI\x20Console','MCP\x20Retrying...','Failed\x20to\x20save\x20configuration','98LqlZeg','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20connect\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','78134qUvHcL','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x4e90=function(){return _0x3fecde;};return _0x4e90();}const _0x5494fc=_0xfc51;(function(_0x18b762,_0x27aa61){const _0x55d6c7=_0xfc51,_0x79ce69=_0x18b762();while(!![]){try{const _0x1e4f65=parseInt(_0x55d6c7(0x1b2))/0x1*(parseInt(_0x55d6c7(0x1d2))/0x2)+-parseInt(_0x55d6c7(0x1bc))/0x3*(parseInt(_0x55d6c7(0x1cf))/0x4)+parseInt(_0x55d6c7(0x1cb))/0x5*(-parseInt(_0x55d6c7(0x1b4))/0x6)+-parseInt(_0x55d6c7(0x1ae))/0x7*(-parseInt(_0x55d6c7(0x1a9))/0x8)+parseInt(_0x55d6c7(0x1cc))/0x9+-parseInt(_0x55d6c7(0x1b6))/0xa+-parseInt(_0x55d6c7(0x1b7))/0xb;if(_0x1e4f65===_0x27aa61)break;else _0x79ce69['push'](_0x79ce69['shift']());}catch(_0x541594){_0x79ce69['push'](_0x79ce69['shift']());}}}(_0x4e90,0x9a34c));const e={'mcpStatus':{'disconnected':_0x5494fc(0x1aa),'connecting':_0x5494fc(0x1d7),'connected':_0x5494fc(0x1c6),'failed':_0x5494fc(0x1d0),'retrying':_0x5494fc(0x1ac),'unknown':_0x5494fc(0x1d1),'missingApiKey':_0x5494fc(0x1c2),'invalidApiKey':_0x5494fc(0x1c5),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x5494fc(0x1d6),'maxRetriesExceeded':_0x5494fc(0x1c0),'clickToConnect':_0x5494fc(0x1b0),'clickToConfigure':_0x5494fc(0x1c9)},'mcpConfig':{'title':_0x5494fc(0x1c1),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5494fc(0x1c8),'apiKeyPlaceholder':_0x5494fc(0x1ba),'apiKeyHint':_0x5494fc(0x1b3),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5494fc(0x1ca),'connectionInfo':_0x5494fc(0x1d5),'serverEndpoint':_0x5494fc(0x1c3),'sessionId':'Session\x20ID','maxRetries':_0x5494fc(0x1c4),'save':_0x5494fc(0x1d3),'saving':'Saving...','note1':_0x5494fc(0x1bb),'note2':_0x5494fc(0x1b8),'configSaved':_0x5494fc(0x1b9),'configError':_0x5494fc(0x1ad),'apiApplyInfo':{'title':_0x5494fc(0x1b5),'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':_0x5494fc(0x1ab),'getStarted':_0x5494fc(0x1b1)},'validation':{'apiKeyRequired':_0x5494fc(0x1bf),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5494fc(0x1d4),'connecting':'Connecting...','connected':_0x5494fc(0x1cd),'failed':_0x5494fc(0x1c7),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x5494fc(0x1bd),'sessionOccupied':_0x5494fc(0x1be),'networkError':_0x5494fc(0x1af),'maxRetriesExceeded':_0x5494fc(0x1ce)}}},n=e;export{n as default};
|
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x5931f4=_0x3320;(function(_0x37e2c2,_0x4975d4){const _0x1eb738=_0x3320,_0x299493=_0x37e2c2();while(!![]){try{const _0x5e4284=parseInt(_0x1eb738(0x1d3))/0x1+parseInt(_0x1eb738(0x1d7))/0x2*(parseInt(_0x1eb738(0x1dd))/0x3)+-parseInt(_0x1eb738(0x1c4))/0x4*(-parseInt(_0x1eb738(0x1d8))/0x5)+parseInt(_0x1eb738(0x1d9))/0x6*(-parseInt(_0x1eb738(0x1e1))/0x7)+-parseInt(_0x1eb738(0x1c6))/0x8*(-parseInt(_0x1eb738(0x1c5))/0x9)+parseInt(_0x1eb738(0x1d0))/0xa*(parseInt(_0x1eb738(0x1c9))/0xb)+-parseInt(_0x1eb738(0x1d5))/0xc;if(_0x5e4284===_0x4975d4)break;else _0x299493['push'](_0x299493['shift']());}catch(_0xd6ba22){_0x299493['push'](_0x299493['shift']());}}}(_0x172a,0x661a7));function _0x172a(){const _0x3acea1=['Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','27890MyfnOL','Enable\x20Authentication','MCP:\x20API\x20Key\x20Missing','806528ypsEcg','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','14455248uzLFOB','Retrying...','24lYQoxF','217760SucZJN','174DLVMRd','MCP\x20Configuration','MCP:\x20Invalid\x20API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','71163YMXQNf','Server\x20Endpoint','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Max\x20Retries\x20Exceeded','95123bgSbxS','Connecting...','Connection\x20Failed','Max\x20Retries','API\x20key\x20is\x20required\x20to\x20connect','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Connection\x20Failed','MCP:\x20Session\x20Occupied','What\x20is\x20API\x20Key?','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','12YnMnVw','6678657WoCWwk','8ISGdwN','MCP\x20Connecting...','MCP\x20Retrying...','209kVsJBS','MCP\x20Connected'];_0x172a=function(){return _0x3acea1;};return _0x172a();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5931f4(0x1c7),'connected':_0x5931f4(0x1ca),'failed':_0x5931f4(0x1e8),'retrying':_0x5931f4(0x1c8),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x5931f4(0x1d2),'invalidApiKey':_0x5931f4(0x1db),'sessionOccupied':_0x5931f4(0x1e9),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x5931f4(0x1e0),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5931f4(0x1cf)},'mcpConfig':{'title':_0x5931f4(0x1da),'description':_0x5931f4(0x1cb),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5931f4(0x1ce),'apiKeyHint':_0x5931f4(0x1cc),'enableAuth':_0x5931f4(0x1d1),'enableAuthHint':_0x5931f4(0x1df),'connectionInfo':'Connection\x20Information','serverEndpoint':_0x5931f4(0x1de),'sessionId':'Session\x20ID','maxRetries':_0x5931f4(0x1e4),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x5931f4(0x1e6),'note2':_0x5931f4(0x1ed),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x5931f4(0x1ea),'description':_0x5931f4(0x1eb),'univerAiLabel':_0x5931f4(0x1cd),'getStarted':_0x5931f4(0x1dc)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5931f4(0x1ee),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x5931f4(0x1d4)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5931f4(0x1e2),'connected':_0x5931f4(0x1ec),'failed':_0x5931f4(0x1e3),'retrying':_0x5931f4(0x1d6)},'connectionError':{'missingApiKey':_0x5931f4(0x1e5),'invalidApiKey':_0x5931f4(0x1e7),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x3320(_0x4dd67f,_0x5acb0b){const _0x172a83=_0x172a();return _0x3320=function(_0x332063,_0x33eb61){_0x332063=_0x332063-0x1c4;let _0x33c476=_0x172a83[_0x332063];return _0x33c476;},_0x3320(_0x4dd67f,_0x5acb0b);}export{n as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x251688=_0x640d;(function(_0x5d7964,_0x5be605){const _0x802ec4=_0x640d,_0x507ceb=_0x5d7964();while(!![]){try{const _0x37a1d4=-parseInt(_0x802ec4(0x18b))/0x1+parseInt(_0x802ec4(0x188))/0x2*(-parseInt(_0x802ec4(0x1a9))/0x3)+-parseInt(_0x802ec4(0x191))/0x4+parseInt(_0x802ec4(0x199))/0x5*(parseInt(_0x802ec4(0x18e))/0x6)+parseInt(_0x802ec4(0x195))/0x7+-parseInt(_0x802ec4(0x19e))/0x8*(-parseInt(_0x802ec4(0x189))/0x9)+parseInt(_0x802ec4(0x187))/0xa*(parseInt(_0x802ec4(0x19f))/0xb);if(_0x37a1d4===_0x5be605)break;else _0x507ceb['push'](_0x507ceb['shift']());}catch(_0x1f51df){_0x507ceb['push'](_0x507ceb['shift']());}}}(_0x2a09,0xa263f));const e={'mcpStatus':{'disconnected':_0x251688(0x184),'connecting':'MCP\x20Connecting...','connected':_0x251688(0x181),'failed':_0x251688(0x1a5),'retrying':_0x251688(0x180),'unknown':_0x251688(0x1a1),'missingApiKey':_0x251688(0x182),'invalidApiKey':_0x251688(0x186),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x251688(0x194),'clickToConnect':_0x251688(0x197),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x251688(0x1aa),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x251688(0x18d),'apiKeyPlaceholder':_0x251688(0x185),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x251688(0x19c),'enableAuthHint':_0x251688(0x1a3),'connectionInfo':_0x251688(0x18a),'serverEndpoint':_0x251688(0x196),'sessionId':_0x251688(0x17f),'maxRetries':'Max\x20Retries','save':_0x251688(0x1a2),'saving':_0x251688(0x19a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x251688(0x198),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0x251688(0x1a0),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x251688(0x1a4),'apiKeyTooShort':_0x251688(0x183),'invalidConfig':_0x251688(0x193),'invalidApiKey':_0x251688(0x19b)},'connectionStatus':{'disconnected':_0x251688(0x19d),'connecting':'Connecting...','connected':_0x251688(0x18f),'failed':'Connection\x20Failed','retrying':_0x251688(0x190)},'connectionError':{'missingApiKey':_0x251688(0x1a8),'invalidApiKey':_0x251688(0x1a6),'sessionOccupied':_0x251688(0x18c),'networkError':_0x251688(0x1a7),'maxRetriesExceeded':_0x251688(0x192)}}},n=e;function _0x2a09(){const _0x59c0f9=['Enable\x20Authentication','Disconnected','128NfgeyK','969969aBVeHt','Univer\x20AI\x20Console','MCP\x20Unknown\x20Status','Save\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','MCP\x20Connection\x20Failed','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required\x20to\x20connect','95967vGjTWN','MCP\x20Configuration','Session\x20ID','MCP\x20Retrying...','MCP\x20Connected','MCP:\x20API\x20Key\x20Missing','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Disconnected','Enter\x20your\x20API\x20key','MCP:\x20Invalid\x20API\x20Key','80CpOnsW','14TuCUbc','623070RuprJU','Connection\x20Information','847443RIzvqK','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20Key','2378394jKOJHd','Connected','Retrying...','4778900fbgzlI','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','2277324ZrCXmk','Server\x20Endpoint','Click\x20to\x20connect\x20MCP','Configuration\x20saved\x20successfully','10tcsHKR','Saving...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x2a09=function(){return _0x59c0f9;};return _0x2a09();}function _0x640d(_0x36665a,_0x3eead9){const _0x2a092d=_0x2a09();return _0x640d=function(_0x640dab,_0x5b50fa){_0x640dab=_0x640dab-0x17f;let _0x394dcd=_0x2a092d[_0x640dab];return _0x394dcd;},_0x640d(_0x36665a,_0x3eead9);}export{n as default};
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x16ca(_0x2874bb,_0x274990){const _0x3b0e2f=_0x3b0e();return _0x16ca=function(_0x16ca7e,_0x41b0ca){_0x16ca7e=_0x16ca7e-0x107;let _0x19a48b=_0x3b0e2f[_0x16ca7e];return _0x19a48b;},_0x16ca(_0x2874bb,_0x274990);}const _0x4084f9=_0x16ca;(function(_0x165c79,_0x4cdb8c){const _0x51f50f=_0x16ca,_0x430f52=_0x165c79();while(!![]){try{const _0x305c29=-parseInt(_0x51f50f(0x10b))/0x1+parseInt(_0x51f50f(0x108))/0x2*(-parseInt(_0x51f50f(0x126))/0x3)+-parseInt(_0x51f50f(0x10a))/0x4+parseInt(_0x51f50f(0x129))/0x5+parseInt(_0x51f50f(0x127))/0x6+-parseInt(_0x51f50f(0x122))/0x7*(-parseInt(_0x51f50f(0x11a))/0x8)+-parseInt(_0x51f50f(0x130))/0x9*(-parseInt(_0x51f50f(0x118))/0xa);if(_0x305c29===_0x4cdb8c)break;else _0x430f52['push'](_0x430f52['shift']());}catch(_0x317457){_0x430f52['push'](_0x430f52['shift']());}}}(_0x3b0e,0x95180));const e={'mcpStatus':{'disconnected':_0x4084f9(0x121),'connecting':_0x4084f9(0x10f),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':_0x4084f9(0x10e),'missingApiKey':_0x4084f9(0x10c),'invalidApiKey':_0x4084f9(0x11f),'sessionOccupied':'MCP:\x20会话被占用','networkError':_0x4084f9(0x119),'maxRetriesExceeded':_0x4084f9(0x113),'clickToConnect':_0x4084f9(0x116),'clickToConfigure':_0x4084f9(0x12b)},'mcpConfig':{'title':_0x4084f9(0x112),'description':_0x4084f9(0x125),'apiKey':_0x4084f9(0x12e),'apiKeyPlaceholder':_0x4084f9(0x111),'apiKeyHint':_0x4084f9(0x110),'enableAuth':_0x4084f9(0x133),'enableAuthHint':_0x4084f9(0x132),'connectionInfo':_0x4084f9(0x109),'serverEndpoint':_0x4084f9(0x134),'sessionId':'会话ID','maxRetries':_0x4084f9(0x10d),'save':_0x4084f9(0x120),'saving':_0x4084f9(0x12f),'note1':'配置更改将立即生效','note2':_0x4084f9(0x124),'configSaved':'配置保存成功','configError':_0x4084f9(0x114),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x4084f9(0x11c),'univerAiLabel':_0x4084f9(0x11e),'getStarted':_0x4084f9(0x128)},'validation':{'apiKeyRequired':_0x4084f9(0x11b),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x4084f9(0x11d),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x4084f9(0x117),'connected':_0x4084f9(0x123),'failed':'连接失败','retrying':_0x4084f9(0x131)},'connectionError':{'missingApiKey':_0x4084f9(0x107),'invalidApiKey':_0x4084f9(0x12a),'sessionOccupied':_0x4084f9(0x12d),'networkError':_0x4084f9(0x12c),'maxRetriesExceeded':_0x4084f9(0x115)}}};export{e as default};function _0x3b0e(){const _0x482648=['API\x20密钥不能为空','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置无效','Univer\x20AI\x20控制台','MCP:\x20无效的\x20API\x20密钥','保存配置','MCP\x20已断开','301DbJFaz','已连接','您的\x20API\x20密钥安全存储在本地存储中','配置\x20MCP\x20使用\x20AI\x20操作电子表格','45sBPlOG','2596650IAkvGC','几秒钟内获取您的\x20API\x20密钥','2307780OcBaLe','API\x20密钥无效,请检查您的密钥后重试','点击配置\x20MCP','网络连接错误,请检查您的网络连接','会话当前被占用,请稍后再试','API\x20密钥','保存中...','18YWoAPw','重连中...','启用身份验证以获得安全连接','启用身份验证','服务器端点','需要\x20API\x20密钥才能连接','30390PfhHRZ','连接信息','3321728TPVddT','644349fEqXXA','MCP:\x20缺少\x20API\x20密钥','最大重试次数','MCP\x20状态未知','MCP\x20连接中...','您的\x20API\x20密钥将在此浏览器中本地存储','请输入您的\x20API\x20密钥','MCP\x20配置','MCP:\x20超出最大重试次数','配置保存失败','超出最大重试次数,请稍后再试','点击连接\x20MCP','连接中...','1719670gzSrqh','MCP:\x20网络错误','200024KhnVgV'];_0x3b0e=function(){return _0x482648;};return _0x3b0e();}
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1dfc(_0x277db8,_0x31f733){const _0xf9096b=_0xf909();return _0x1dfc=function(_0x1dfcad,_0x262b31){_0x1dfcad=_0x1dfcad-0x78;let _0x352972=_0xf9096b[_0x1dfcad];return _0x352972;},_0x1dfc(_0x277db8,_0x31f733);}const _0x45d3ab=_0x1dfc;(function(_0x347a75,_0x2746e7){const _0x1da0b5=_0x1dfc,_0x46057d=_0x347a75();while(!![]){try{const _0x534e7f=parseInt(_0x1da0b5(0x79))/0x1*(-parseInt(_0x1da0b5(0x96))/0x2)+-parseInt(_0x1da0b5(0x9a))/0x3+-parseInt(_0x1da0b5(0x83))/0x4+parseInt(_0x1da0b5(0x93))/0x5+-parseInt(_0x1da0b5(0x89))/0x6+parseInt(_0x1da0b5(0x9d))/0x7+-parseInt(_0x1da0b5(0x8b))/0x8*(-parseInt(_0x1da0b5(0x9b))/0x9);if(_0x534e7f===_0x2746e7)break;else _0x46057d['push'](_0x46057d['shift']());}catch(_0x29b3d5){_0x46057d['push'](_0x46057d['shift']());}}}(_0xf909,0x760a2));function _0xf909(){const _0x308234=['Enter\x20your\x20API\x20key','MCP:\x20Network\x20Error','MCP\x20Connecting...','Disconnected','Invalid\x20configuration','191912rnkGIe','MCP\x20Connected','Configuration\x20saved\x20successfully','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Connection\x20Failed','MCP\x20Configuration','2783298mNffTl','Server\x20Endpoint','6544qMqKjX','Connection\x20Information','Click\x20to\x20connect\x20MCP','Connection\x20Failed','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Max\x20Retries','2627110Oxhzsr','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connecting...','8826rbMoZB','MCP\x20Unknown\x20Status','Univer\x20AI\x20Console','API\x20key\x20is\x20required','2589519nOjKOq','19494PSnqFY','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','3478090kQkDbl','MCP\x20Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20ID','212NzESvc','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','Connected','What\x20is\x20API\x20Key?'];_0xf909=function(){return _0x308234;};return _0xf909();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x45d3ab(0x80),'connected':_0x45d3ab(0x84),'failed':_0x45d3ab(0x87),'retrying':_0x45d3ab(0x9e),'unknown':_0x45d3ab(0x97),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x45d3ab(0x7f),'maxRetriesExceeded':_0x45d3ab(0x86),'clickToConnect':_0x45d3ab(0x8d),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x45d3ab(0x88),'description':_0x45d3ab(0x7a),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x45d3ab(0x7e),'apiKeyHint':_0x45d3ab(0x9c),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x45d3ab(0x8c),'serverEndpoint':_0x45d3ab(0x8a),'sessionId':_0x45d3ab(0x78),'maxRetries':_0x45d3ab(0x92),'save':'Save\x20Configuration','saving':'Saving...','note1':_0x45d3ab(0x90),'note2':_0x45d3ab(0x9f),'configSaved':_0x45d3ab(0x85),'configError':_0x45d3ab(0x7b),'apiApplyInfo':{'title':_0x45d3ab(0x7d),'description':_0x45d3ab(0x91),'univerAiLabel':_0x45d3ab(0x98),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x45d3ab(0x99),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x45d3ab(0x82),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x45d3ab(0x81),'connecting':_0x45d3ab(0x95),'connected':_0x45d3ab(0x7c),'failed':_0x45d3ab(0x8e),'retrying':'Retrying...'},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x45d3ab(0x94),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x45d3ab(0x8f)}}},n=e;export{n as default};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x2a39ed=_0x3af1;(function(_0x35681a,_0x3d50aa){var _0x4760c2=_0x3af1,_0x55320=_0x35681a();while(!![]){try{var _0x15c538=parseInt(_0x4760c2(0x148))/0x1*(parseInt(_0x4760c2(0x89))/0x2)+parseInt(_0x4760c2(0xa5))/0x3+parseInt(_0x4760c2(0xc3))/0x4*(parseInt(_0x4760c2(0xf4))/0x5)+parseInt(_0x4760c2(0x184))/0x6+parseInt(_0x4760c2(0x10f))/0x7+parseInt(_0x4760c2(0x187))/0x8*(-parseInt(_0x4760c2(0xf0))/0x9)+-parseInt(_0x4760c2(0xa1))/0xa*(parseInt(_0x4760c2(0x197))/0xb);if(_0x15c538===_0x3d50aa)break;else _0x55320['push'](_0x55320['shift']());}catch(_0x32c9e7){_0x55320['push'](_0x55320['shift']());}}}(_0x32ce,0x46f4b));var Se=Object[_0x2a39ed(0xcb)],xe=(_0x2267e6,_0x35bf4b,_0x425d08)=>_0x35bf4b in _0x2267e6?Se(_0x2267e6,_0x35bf4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425d08}):_0x2267e6[_0x35bf4b]=_0x425d08,N=(_0x2460dc,_0x14271e,_0x63a180)=>xe(_0x2460dc,typeof _0x14271e!='symbol'?_0x14271e+'':_0x14271e,_0x63a180);import{LocaleService as _0x1457f3,Inject as _0x54fe84,Injector as _0x251fc2,IConfigService as _0x2853c3,ILocalStorageService as _0x122f1b,ILogService as _0x49dda7,Disposable as _0x888610,CommandType as _0x215a19,ICommandService as _0x5f404e,DependentOn as _0x4726b7,Plugin as _0x1813e7,merge as _0x2246be}from'@univerjs/core';import{jsxs as _0x2113a0,jsx as _0x3a9243}from'react/jsx-runtime';import{MCPConnectionStatus as _0x465257,MCPConnectionError as _0x331fcf,MCPConnectionController as _0x4601ab,MCP_PLUGIN_CONFIG_KEY as _0x59a440,UniverMCPPlugin as _0x1cef3b}from'@univerjs-pro/mcp';import{Input as _0x5f067c,Button as _0x21f73d,MessageType as _0x53680e,Tooltip as _0x393e3d,clsx as _0x45baf8}from'@univerjs/design';import{useDependency as _0x527b81,useObservable as _0xb9f560,IUIPartsService as _0x4c0dea,IDialogService as _0x543447,IMessageService as _0x54f0a6,ComponentManager as _0xab8ce1,connectInjector as _0x27bd0d,BuiltInUIPart as _0x25f665,MenuItemType as _0x113af3,RibbonStartGroup as _0x38e781,IMenuManagerService as _0x3f1668}from'@univerjs/ui';import{BehaviorSubject as _0x312b71}from'rxjs';import{forwardRef as _0x15ccf8,useRef as _0xa666d2,createElement as _0x171545,useState as _0x2cd47d,useCallback as _0x51bcbf}from'react';var d=function(){var _0x4f627e=_0x2a39ed;return d=Object[_0x4f627e(0x117)]||function(_0x427e3f){var _0x31b8f2=_0x4f627e;for(var _0x19f245,_0x382c0d=0x1,_0x548435=arguments[_0x31b8f2(0x118)];_0x382c0d<_0x548435;_0x382c0d++){_0x19f245=arguments[_0x382c0d];for(var _0x3d73d2 in _0x19f245)Object[_0x31b8f2(0x70)]['hasOwnProperty'][_0x31b8f2(0x1b6)](_0x19f245,_0x3d73d2)&&(_0x427e3f[_0x3d73d2]=_0x19f245[_0x3d73d2]);}return _0x427e3f;},d[_0x4f627e(0xf1)](this,arguments);},Ye=function(_0x5c750d,_0x5672ab){var _0xac25cf=_0x2a39ed,_0x4f5700={};for(var _0xbfbe02 in _0x5c750d)Object['prototype'][_0xac25cf(0x7b)][_0xac25cf(0x1b6)](_0x5c750d,_0xbfbe02)&&_0x5672ab[_0xac25cf(0x12e)](_0xbfbe02)<0x0&&(_0x4f5700[_0xbfbe02]=_0x5c750d[_0xbfbe02]);if(_0x5c750d!=null&&typeof Object[_0xac25cf(0x151)]==_0xac25cf(0x165)){for(var _0x12c846=0x0,_0xbfbe02=Object['getOwnPropertySymbols'](_0x5c750d);_0x12c846<_0xbfbe02[_0xac25cf(0x118)];_0x12c846++)_0x5672ab[_0xac25cf(0x12e)](_0xbfbe02[_0x12c846])<0x0&&Object[_0xac25cf(0x70)][_0xac25cf(0xd4)]['call'](_0x5c750d,_0xbfbe02[_0x12c846])&&(_0x4f5700[_0xbfbe02[_0x12c846]]=_0x5c750d[_0xbfbe02[_0x12c846]]);}return _0x4f5700;},S=_0x15ccf8(function(_0x3cb5bc,_0x188633){var _0x33a164=_0x2a39ed,_0x10d053=_0x3cb5bc[_0x33a164(0xc2)],_0x48748d=_0x3cb5bc['id'],_0x3e3da5=_0x3cb5bc[_0x33a164(0xaa)],_0x4a9b8f=_0x3cb5bc[_0x33a164(0x15a)],_0x17fbee=Ye(_0x3cb5bc,[_0x33a164(0xc2),'id',_0x33a164(0xaa),_0x33a164(0x15a)]),_0x2064cb='univerjs-icon\x20univerjs-icon-'[_0x33a164(0x160)](_0x48748d,'\x20')[_0x33a164(0x160)](_0x3e3da5||'')[_0x33a164(0xce)](),_0x5d948a=_0xa666d2('_'[_0x33a164(0x160)](He()));return oe(_0x10d053,''[_0x33a164(0x160)](_0x48748d),{'defIds':_0x10d053[_0x33a164(0x194)],'idSuffix':_0x5d948a[_0x33a164(0x1a1)]},d({'ref':_0x188633,'className':_0x2064cb},_0x17fbee),_0x4a9b8f);});function oe(_0x97cda8,_0x5d7e91,_0x6791d8,_0x35daaf,_0x5f3ebf){var _0x10a31b=_0x2a39ed;return _0x171545(_0x97cda8['tag'],d(d({'key':_0x5d7e91},Ve(_0x97cda8,_0x6791d8,_0x5f3ebf)),_0x35daaf),(Fe(_0x97cda8,_0x6791d8)[_0x10a31b(0xc8)]||[])[_0x10a31b(0x121)](function(_0x1e80ad,_0x17f0c2){var _0x27428f=_0x10a31b;return oe(_0x1e80ad,''['concat'](_0x5d7e91,'-')['concat'](_0x97cda8[_0x27428f(0x179)],'-')[_0x27428f(0x160)](_0x17f0c2),_0x6791d8,void 0x0,_0x5f3ebf);}));}function Ve(_0x2c640f,_0x243d40,_0x9eebbc){var _0xe8e559=_0x2a39ed,_0x2da70a=d({},_0x2c640f[_0xe8e559(0xdd)]);_0x9eebbc!=null&&_0x9eebbc[_0xe8e559(0x1b9)]&&_0x2da70a[_0xe8e559(0xb2)]==='colorChannel1'&&(_0x2da70a[_0xe8e559(0xb2)]=_0x9eebbc[_0xe8e559(0x1b9)]),_0x2c640f[_0xe8e559(0x179)]===_0xe8e559(0x1ae)&&_0x2da70a['id']&&(_0x2da70a['id']=_0x2da70a['id']+_0x243d40[_0xe8e559(0x72)]),Object[_0xe8e559(0x180)](_0x2da70a)[_0xe8e559(0x113)](function(_0x1a6ef8){var _0x2da632=_0xe8e559,_0x394e75=_0x1a6ef8[0x0],_0x5be8fa=_0x1a6ef8[0x1];_0x394e75===_0x2da632(0x1ae)&&typeof _0x5be8fa==_0x2da632(0xe0)&&(_0x2da70a[_0x394e75]=_0x5be8fa[_0x2da632(0xb8)](/url\(#(.*)\)/,_0x2da632(0x16b)[_0x2da632(0x160)](_0x243d40[_0x2da632(0x72)],')')));});var _0x57894c=_0x243d40[_0xe8e559(0x194)];return!_0x57894c||_0x57894c[_0xe8e559(0x118)]===0x0||(_0x2c640f[_0xe8e559(0x179)]===_0xe8e559(0x120)&&_0x2da70a['xlink:href']&&(_0x2da70a[_0xe8e559(0x1be)]=_0x2da70a[_0xe8e559(0x1be)]+_0x243d40['idSuffix']),Object[_0xe8e559(0x180)](_0x2da70a)[_0xe8e559(0x113)](function(_0xb07a5f){var _0x26f69a=_0xe8e559,_0xb97269=_0xb07a5f[0x0],_0x48eb60=_0xb07a5f[0x1];typeof _0x48eb60==_0x26f69a(0xe0)&&(_0x2da70a[_0xb97269]=_0x48eb60[_0x26f69a(0xb8)](/url\(#(.*)\)/,_0x26f69a(0x16b)[_0x26f69a(0x160)](_0x243d40['idSuffix'],')')));})),_0x2da70a;}function Fe(_0x27f874,_0x5cc39c){var _0x50801b=_0x2a39ed,_0x24ae9e,_0x4b8b3f=_0x5cc39c[_0x50801b(0x194)];return!_0x4b8b3f||_0x4b8b3f[_0x50801b(0x118)]===0x0?_0x27f874:_0x27f874[_0x50801b(0x179)]===_0x50801b(0x9f)&&(!((_0x24ae9e=_0x27f874[_0x50801b(0xc8)])===null||_0x24ae9e===void 0x0)&&_0x24ae9e[_0x50801b(0x118)])?d(d({},_0x27f874),{'children':_0x27f874[_0x50801b(0xc8)][_0x50801b(0x121)](function(_0x375353){var _0x3e7a91=_0x50801b;return typeof _0x375353[_0x3e7a91(0xdd)]['id']==_0x3e7a91(0xe0)&&_0x4b8b3f&&_0x4b8b3f[_0x3e7a91(0x82)](_0x375353[_0x3e7a91(0xdd)]['id'])?d(d({},_0x375353),{'attrs':d(d({},_0x375353[_0x3e7a91(0xdd)]),{'id':_0x375353[_0x3e7a91(0xdd)]['id']+_0x5cc39c[_0x3e7a91(0x72)]})}):_0x375353;})}):_0x27f874;}function He(){var _0x5f1f22=_0x2a39ed;return Math['random']()[_0x5f1f22(0xb7)](0x24)[_0x5f1f22(0x1ab)](0x2,0x8);}function _0x3af1(_0x2594de,_0x4b911a){var _0x32ce98=_0x32ce();return _0x3af1=function(_0x3af167,_0x57a78d){_0x3af167=_0x3af167-0x70;var _0x426733=_0x32ce98[_0x3af167];return _0x426733;},_0x3af1(_0x2594de,_0x4b911a);}S[_0x2a39ed(0x107)]=_0x2a39ed(0x159);var We={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0xfd),'width':_0x2a39ed(0xb3),'height':'1em'},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'fill':_0x2a39ed(0x11a),'d':_0x2a39ed(0x192),'fillRule':_0x2a39ed(0x8a),'clipRule':_0x2a39ed(0x8a)}}]},ce=_0x15ccf8(function(_0x18420b,_0x1bc8e4){var _0x55aa9d=_0x2a39ed;return _0x171545(S,Object['assign']({},_0x18420b,{'id':_0x55aa9d(0x10d),'ref':_0x1bc8e4,'icon':We}));});ce[_0x2a39ed(0x107)]='CheckMarkIcon';var Be={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':_0x2a39ed(0x9c),'fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0x75),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':'path','attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0x196),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':'round','strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0x9e),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':_0x2a39ed(0x178),'strokeWidth':1.33}}]},ae=_0x15ccf8(function(_0x3aaa53,_0x40a777){var _0xd44465=_0x2a39ed;return _0x171545(S,Object[_0xd44465(0x117)]({},_0x3aaa53,{'id':_0xd44465(0x1b5),'ref':_0x40a777,'icon':Be}));});ae[_0x2a39ed(0x107)]='CloseSmallSingle';var ze={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':_0x2a39ed(0x9c),'fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0xfd),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'fill':_0x2a39ed(0x11a),'d':_0x2a39ed(0x12a)}},{'tag':_0x2a39ed(0x154),'attrs':{'fill':'currentColor','d':_0x2a39ed(0x175)}},{'tag':'path','attrs':{'fill':'currentColor','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':'evenodd','clipRule':_0x2a39ed(0x8a)}}]},se=_0x15ccf8(function(_0x1f2242,_0x4778f0){var _0x19c30a=_0x2a39ed;return _0x171545(S,Object[_0x19c30a(0x117)]({},_0x1f2242,{'id':'help-single','ref':_0x4778f0,'icon':ze}));});se[_0x2a39ed(0x107)]=_0x2a39ed(0x166);var qe={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0xfd),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a39ed(0xfc)},'children':[{'tag':'path','attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0xc0),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':_0x2a39ed(0x178),'strokeWidth':1.2}}]},{'tag':_0x2a39ed(0x9f),'attrs':{},'children':[{'tag':_0x2a39ed(0x186),'attrs':{'id':_0x2a39ed(0xb6)},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'fill':'white','d':_0x2a39ed(0x191)}}]}]}],'defIds':[_0x2a39ed(0xb6)]},le=_0x15ccf8(function(_0x188591,_0x2ab5fa){var _0x20010a=_0x2a39ed;return _0x171545(S,Object[_0x20010a(0x117)]({},_0x188591,{'id':_0x20010a(0xa3),'ref':_0x2ab5fa,'icon':qe}));});le[_0x2a39ed(0x107)]=_0x2a39ed(0x100);var Ze={'tag':_0x2a39ed(0x14e),'attrs':{'xmlns':_0x2a39ed(0x9c),'fill':_0x2a39ed(0x14f),'viewBox':_0x2a39ed(0x18c),'width':_0x2a39ed(0xb3),'height':_0x2a39ed(0xb3)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a39ed(0x16e)},'children':[{'tag':_0x2a39ed(0x154),'attrs':{'stroke':_0x2a39ed(0x11a),'d':_0x2a39ed(0x1ad),'strokeLinecap':_0x2a39ed(0x178),'strokeLinejoin':_0x2a39ed(0x178),'strokeWidth':1.2}}]},{'tag':_0x2a39ed(0x9f),'attrs':{},'children':[{'tag':_0x2a39ed(0x186),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2a39ed(0x1c0),'d':_0x2a39ed(0x191),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2a39ed(0xb4)]},ue=_0x15ccf8(function(_0x5d8d35,_0xc035be){var _0x2d9fe0=_0x2a39ed;return _0x171545(S,Object[_0x2d9fe0(0x117)]({},_0x5d8d35,{'id':_0x2d9fe0(0x142),'ref':_0xc035be,'icon':Ze}));});ue['displayName']=_0x2a39ed(0x10a);function Xe(_0x47273d){var _0x5e7f17=_0x2a39ed,_0x1fc2de,_0x1af37c;const {mcpCoreConfig:_0x5be27b,onSave:_0x4e8e45,loading:_0x952699=!0x1,config:_0x338f38,connectionStatus$:_0x267866,connectionError$:_0x42a143}=_0x47273d,_0x2feb02=_0x527b81(_0x1457f3),_0x2a39ef=_0xb9f560(_0x267866,_0x465257[_0x5e7f17(0xd0)]),_0x2af734=_0xb9f560(_0x42a143,_0x331fcf[_0x5e7f17(0x176)]),[_0x3ea70d,_0x156bd7]=_0x2cd47d(_0x5be27b['apiKey']||''),_0x368997=!0x0,_0x265154=_0x338f38[_0x5e7f17(0xee)]&&_0x5be27b[_0x5e7f17(0x114)]&&(_0x5be27b[_0x5e7f17(0x114)][_0x5e7f17(0x82)]('univer.plus')||_0x5be27b[_0x5e7f17(0x114)]['includes'](_0x5e7f17(0x17e))),_0xd96574=(_0x1fc2de=_0x5be27b[_0x5e7f17(0x114)])==null?void 0x0:_0x1fc2de[_0x5e7f17(0x82)](_0x5e7f17(0xae)),_0x5f423f=(_0x1af37c=_0x5be27b['mcpServerUrl'])==null?void 0x0:_0x1af37c[_0x5e7f17(0x82)]('univer.ai'),_0x2341bd=_0xd96574?_0x5e7f17(0x12d):'https://console.univer.ai',_0x1675ae=_0x338f38[_0x5e7f17(0xee)]&&(_0xd96574||_0x5f423f),[_0x3ae706,_0x2bc86a]=_0x2cd47d(!_0x3ea70d[_0x5e7f17(0xce)]()),_0x3d7d26=(_0x453463,_0x1b5be6)=>{var _0x5534b0=_0x5e7f17;if(_0x1b5be6===_0x331fcf[_0x5534b0(0xcd)]||_0x1b5be6===_0x331fcf['INVALID_API_KEY'])return _0x5534b0(0x15c);switch(_0x453463){case _0x465257[_0x5534b0(0xf5)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x465257['CONNECTING']:case _0x465257['RETRYING']:return _0x5534b0(0x125);case _0x465257['FAILED']:return _0x5534b0(0x15c);default:return _0x5534b0(0x181);}},_0x53c392=(_0x507a41,_0x444add)=>{var _0x2fad07=_0x5e7f17;if(_0x444add===_0x331fcf[_0x2fad07(0xcd)]||_0x444add===_0x331fcf[_0x2fad07(0x167)])return _0x2fad07(0x96);switch(_0x507a41){case _0x465257['CONNECTED']:return _0x2fad07(0x13c);case _0x465257['CONNECTING']:case _0x465257['RETRYING']:return'univer-bg-blue-500';case _0x465257[_0x2fad07(0x11c)]:return _0x2fad07(0x96);default:return'univer-bg-gray-500';}},_0x22fbb6=_0x456f8b=>{var _0x3b3b81=_0x5e7f17;switch(_0x456f8b){case _0x465257[_0x3b3b81(0xf5)]:return _0x2feb02['t'](_0x3b3b81(0xe2));case _0x465257['CONNECTING']:return _0x2feb02['t'](_0x3b3b81(0x188));case _0x465257[_0x3b3b81(0x11c)]:return _0x2feb02['t'](_0x3b3b81(0x8b));case _0x465257[_0x3b3b81(0xd5)]:return _0x2feb02['t'](_0x3b3b81(0xe8));default:return _0x2feb02['t'](_0x3b3b81(0xfe));}},_0x2b9a4e=_0x2575e6=>{var _0x56500f=_0x5e7f17;switch(_0x2575e6){case _0x331fcf[_0x56500f(0xcd)]:return _0x2feb02['t'](_0x56500f(0x1bd));case _0x331fcf[_0x56500f(0x167)]:return _0x2feb02['t'](_0x56500f(0x130));case _0x331fcf[_0x56500f(0xf9)]:return _0x2feb02['t'](_0x56500f(0x131));case _0x331fcf[_0x56500f(0x13e)]:return _0x2feb02['t'](_0x56500f(0x106));case _0x331fcf[_0x56500f(0x170)]:return _0x2feb02['t'](_0x56500f(0xd9));default:return'';}},_0x886ed1=_0x51bcbf(()=>{const _0x823829={..._0x5be27b,'apiKey':_0x3ea70d['trim'](),'enableAuth':_0x368997};_0x4e8e45(_0x823829);},[_0x5be27b,_0x3ea70d,_0x368997,_0x4e8e45]),_0x28b410=_0x3ea70d[_0x5e7f17(0xce)]()[_0x5e7f17(0x118)]>0x0;return _0x2113a0(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x1b8),'children':_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x1bb),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x3a9243('span',{'className':_0x5e7f17(0x7c),'children':'⚙'})}),_0x3a9243(_0x5e7f17(0x143),{'children':_0x3a9243('p',{'className':_0x5e7f17(0x162),'children':_0x2feb02['t'](_0x5e7f17(0x111))})})]})}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0xc1),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0xe3)+_0x3d7d26(_0x2a39ef,_0x2af734)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x2113a0(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x141)+_0x53c392(_0x2a39ef,_0x2af734)+_0x5e7f17(0xe5)}),_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x11b),'children':_0x22fbb6(_0x2a39ef)})]})}),_0x2af734!==_0x331fcf['NONE']&&(_0x2a39ef===_0x465257[_0x5e7f17(0x11c)]||_0x2af734===_0x331fcf[_0x5e7f17(0xcd)]||_0x2af734===_0x331fcf[_0x5e7f17(0x167)])&&_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x98),'children':_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x77),'children':[_0x3a9243('span',{'className':_0x5e7f17(0xff),'children':'⚠️'}),_0x3a9243('p',{'className':_0x5e7f17(0x177),'children':_0x2b9a4e(_0x2af734)})]})})]}),_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x123),'children':_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x182),'children':[_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0xed),'children':[_0x2113a0(_0x5e7f17(0x137),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x3a9243(_0x5e7f17(0x138),{'children':'🔑'}),'\x20',_0x2feb02['t'](_0x5e7f17(0x12f)),_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x109),'children':'*'}),_0x265154&&_0x3a9243('a',{'href':_0x5e7f17(0x92),'onClick':()=>_0x2bc86a(!0x0),'className':_0x5e7f17(0x198),'title':_0x2feb02['t'](_0x5e7f17(0xda)),'children':_0x3a9243(se,{})})]}),_0x3a9243(_0x5f067c,{'type':_0x5e7f17(0xad),'placeholder':_0x2feb02['t'](_0x5e7f17(0xf2)),'value':_0x3ea70d,'onChange':_0x156bd7,'disabled':_0x952699,'autoComplete':_0x5e7f17(0x7f)}),_0x3a9243('p',{'className':_0x5e7f17(0x88),'children':_0x2feb02['t'](_0x5e7f17(0xaf))})]}),_0x265154&&_0x3ae706&&_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x9d),'children':[_0x3a9243('a',{'href':'javascript:void(0)','onClick':()=>_0x2bc86a(!0x1),'className':_0x5e7f17(0x8d),'title':_0x5e7f17(0x101),'children':_0x3a9243(ae,{})}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x1a5),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x190),'children':'🚀'})}),_0x2113a0('div',{'className':_0x5e7f17(0x71),'children':[_0x3a9243('h4',{'className':_0x5e7f17(0x10e),'children':_0x2feb02['t']('mcpConfig.apiApplyInfo.title')}),_0x3a9243('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x2feb02['t'](_0x5e7f17(0xcf))}),_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x14c),'children':_0x1675ae&&_0x2113a0('a',{'href':_0x2341bd,'target':_0x5e7f17(0x199),'rel':'noopener\x20noreferrer','className':_0x5e7f17(0x17c),'children':[_0x3a9243(_0x5e7f17(0x138),{'children':'🤖'}),_0x2feb02['t'](_0x5e7f17(0x1a4)),_0x3a9243(_0x5e7f17(0x138),{'className':_0x5e7f17(0x1a8),'children':'↗'})]})}),_0x2113a0('div',{'className':_0x5e7f17(0x17a),'children':['✨','\x20',_0x2feb02['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x338f38[_0x5e7f17(0xee)]&&_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x18e),'children':[_0x2113a0('h4',{'className':_0x5e7f17(0xd3),'children':[_0x3a9243(_0x5e7f17(0x138),{'children':'🔗'}),'\x20',_0x2feb02['t']('mcpConfig.connectionInfo')]}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x105),'children':[_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x18b),'children':[_0x3a9243('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2113a0('div',{'className':_0x5e7f17(0xbf),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x110),'children':_0x2feb02['t'](_0x5e7f17(0xeb))}),_0x3a9243(_0x5e7f17(0x169),{'className':_0x5e7f17(0x144),'children':_0x5be27b[_0x5e7f17(0x114)]})]})]}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0x18b),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x2113a0(_0x5e7f17(0x143),{'className':_0x5e7f17(0xbf),'children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x110),'children':_0x2feb02['t'](_0x5e7f17(0x1b7))}),_0x3a9243(_0x5e7f17(0x169),{'className':'univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','children':_0x5be27b[_0x5e7f17(0x163)]||'default'})]})]})]})]}),_0x3a9243(_0x21f73d,{'onClick':_0x886ed1,'disabled':!_0x28b410||_0x952699,'className':_0x5e7f17(0x127),'children':_0x952699?_0x2113a0(_0x5e7f17(0x138),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x3a9243(_0x5e7f17(0x138),{'children':'⟲'}),_0x2feb02['t'](_0x5e7f17(0xbb))]}):_0x2113a0('span',{'className':_0x5e7f17(0x91),'children':[_0x3a9243(ce,{}),_0x2feb02['t'](_0x5e7f17(0x128))]})}),_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x149),'children':_0x2113a0(_0x5e7f17(0x143),{'className':'univer-flex\x20univer-gap-3','children':[_0x3a9243('span',{'className':_0x5e7f17(0x1bc),'children':'💡'}),_0x2113a0(_0x5e7f17(0x143),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x3a9243(_0x5e7f17(0x143),{'className':_0x5e7f17(0x126),'children':'Configuration\x20Notes:'}),_0x2113a0(_0x5e7f17(0x143),{'children':['•',_0x2feb02['t'](_0x5e7f17(0xbd))]}),_0x2113a0(_0x5e7f17(0x143),{'children':['•',_0x2feb02['t']('mcpConfig.note2')]})]})]})})]})})]});}const U='mcp-ui.config',J={'showDeveloperTools':!0x1};var Je=Object[_0x2a39ed(0x1a0)],Qe=(_0x26c40d,_0x3bd7cd,_0x3dbdff,_0x4034e0)=>{var _0x49252f=_0x2a39ed;for(var _0x45af1c=_0x4034e0>0x1?void 0x0:_0x4034e0?Je(_0x3bd7cd,_0x3dbdff):_0x3bd7cd,_0x43c18c=_0x26c40d[_0x49252f(0x118)]-0x1,_0x3aa525;_0x43c18c>=0x0;_0x43c18c--)(_0x3aa525=_0x26c40d[_0x43c18c])&&(_0x45af1c=_0x3aa525(_0x45af1c)||_0x45af1c);return _0x45af1c;},p=(_0x49fe99,_0x5ece28)=>(_0x18e44f,_0x58d384)=>_0x5ece28(_0x18e44f,_0x58d384,_0x49fe99);function _0x32ce(){var _0x39801f=['Connection\x20Information','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','NONE','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','round','tag','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','会话当前被占用,请稍后再试','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','\x20-\x20','univer.ai','配置保存成功','entries','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-space-y-5','removeItem','2854338gvlNhb','_injector','clipPath','8hDKmGz','mcpConfig.connectionStatus.connecting','next','_dialogService','univer-flex\x20univer-items-start\x20univer-gap-3','0\x200\x2017\x2016','univer-text-yellow-500','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','您的\x20API\x20密钥安全存储在本地存储中','univer-text-blue-600','M0\x200H16V16H0z','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','MenuIcon','defIds','启用身份验证','M5.21243\x205.62036L11.8791\x2012.287','143XIuguE','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','_blank','您的\x20API\x20密钥将在此浏览器中本地存储','add','mcpConfig.validation.apiKeyTooShort','MCP\x20Connection\x20Failed','_uiPartsService','MCP\x20配置','getOwnPropertyDescriptor','current','_initConfigSync','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','mcpConfig.apiApplyInfo.univerAiLabel','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','onStarting','保存配置','univer-text-gray-400','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','substring','Enable\x20Authentication','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','mask','mcpConfig.configError','univer-text-green-500','连接中...','_registerComponent','mcpStatus.networkError','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','close-small-single','call','mcpConfig.sessionId','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','colorChannel1','MCP:\x20Network\x20Error','univer-flex\x20univer-items-center\x20univer-gap-3','univer-flex-shrink-0\x20univer-text-blue-500','mcpConfig.connectionError.missingApiKey','xlink:href','API\x20key\x20is\x20required\x20to\x20connect','white','_validateConfig','prototype','univer-flex-1','idSuffix','univer-flex\x20univer-cursor-pointer\x20univer-items-center','Get\x20your\x20API\x20key\x20in\x20seconds','0\x200\x2017\x2017','setItem','univer-flex\x20univer-items-start\x20univer-gap-2','MCP:\x20无效的\x20API\x20密钥','MCP_UI_PLUGIN','点击配置\x20MCP','hasOwnProperty','univer-text-white','最大重试次数','What\x20is\x20API\x20Key?','off','Click\x20to\x20configure\x20MCP','MCP:\x20会话被占用','includes','_handleConfigure','OTHERS','配置更改将立即生效','showConfigPanel','Univer\x20AI\x20Console','univer-text-xs\x20univer-text-gray-500','7186jRaGRr','evenodd','mcpConfig.connectionStatus.failed','_localeService','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','mcpStatus.clickToConfigure','close','apiKey','univer-flex\x20univer-items-center\x20univer-gap-2','javascript:void(0)','重连中...','未连接','_componentManager','univer-bg-red-500','Configuration\x20saved\x20successfully','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Invalid\x20configuration','mcpConfig.configSaved','配置\x20MCP\x20使用\x20AI\x20操作电子表格','http://www.w3.org/2000/svg','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','M5.21243\x2012.287L11.8791\x205.62036','defs','pluginName','1306810fCJEsO','_messageService','off-line-icon','_menuManagerService','1651530iBlAld','_connectionController','MCP\x20重连中...','registerCommand','error','className','BUTTON','getItem','text','univer.plus','mcpConfig.apiKeyHint','MCP:\x20Session\x20Occupied','_initializeCommands','fill','1em','on-line-icon_clip0_910_349','mcpStatus.invalidApiKey','off-line-icon_clip0_910_343','toString','replace','连接失败','connectionStatus$','mcpConfig.saving','MCP\x20连接中...','mcpConfig.note1','MCP:\x20网络错误','univer-min-w-0\x20univer-flex-1','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-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','icon','44WyqpUm','HEADER_MENU','MCP\x20连接失败','API\x20密钥无效,请检查密钥是否正确','mcpStatus.missingApiKey','children','isValid','errorMessage','defineProperty','什么是\x20API\x20密钥?','MISSING_API_KEY','trim','mcpConfig.apiApplyInfo.description','DISCONNECTED','CONNECTING','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','propertyIsEnumerable','RETRYING','API\x20密钥','bottom','_loadStoredApiKey','mcpConfig.connectionError.maxRetriesExceeded','mcpConfig.apiApplyInfo.title','MCP\x20Unknown\x20Status','API\x20密钥长度至少需要\x2010\x20位','attrs','MCP:\x20API\x20Key\x20Missing','服务器端点','string','MCP\x20Retrying...','mcpConfig.connectionStatus.connected','\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','Session\x20ID','\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','网络连接错误,请检查您的网络连接','_localStorageService','mcpConfig.connectionStatus.retrying','setConfig','open','mcpConfig.serverEndpoint','_logService','univer-space-y-2','showDeveloperTools','Retrying...','2820393AxXntk','apply','mcpConfig.apiKeyPlaceholder','_config$','193345oQCLMl','CONNECTED','_commandService','_configService','value','SESSION_ID_OCCUPIED','Error','MCP\x20已断开','url(#off-line-icon_clip0_910_343)','0\x200\x2016\x2016','mcpConfig.connectionStatus.disconnected','univer-flex-shrink-0\x20univer-text-red-500','OffLineIcon','Close','show','mcpStatus.retrying','Save\x20Configuration','univer-space-y-3','mcpConfig.connectionError.networkError','displayName','Enter\x20your\x20API\x20key','univer-text-red-500','OnLineIcon','_handleConfigSave','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','check-mark-icon','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','2664130NISmtW','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.description','Disconnected','forEach','mcpServerUrl','mcpConfig.title','MCP:\x20Invalid\x20API\x20Key','assign','length','_createConfigPanelComponent','currentColor','univer-text-sm\x20univer-font-medium','FAILED','几秒钟内获取您的\x20API\x20密钥','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','保存中...','use','map','mcp-ui.command.openConfigPanel','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','mcpStatus.connected','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univer-font-medium','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','mcpConfig.save','MCPConfigPanel','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','disposeWithMe','Failed\x20to\x20save\x20configuration','https://console.univer.plus','indexOf','mcpConfig.apiKey','mcpConfig.connectionError.invalidApiKey','mcpConfig.connectionError.sessionOccupied','mcpConfig.validation.apiKeyRequired','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Connection\x20Failed','Connected','getCurrentConfig','label','span','Server\x20Endpoint','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-bg-green-500','MCP\x20Configuration','NETWORK_ERROR','_mcpCoreConfig$','_initStatusComponent','\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','on-line-icon','div','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpStatus.clickToConnect','mcp.apiKey','131yEcntJ','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','需要\x20API\x20密钥才能连接','MCP\x20已连接','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_mcpConnectionController','svg','none','mcpStatus.unknown','getOwnPropertySymbols','mergeMenu','univer-text-gray-500','path','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','hover:univer-opacity-80','getConfig','_initializeMenus','UniverIcon','extend','配置保存失败','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','connectionError$','mcpConfig.validation.invalidApiKey','请输入您的\x20API\x20密钥','concat','get','univer-text-sm\x20univer-text-gray-500','sessionId','mcpStatus.disconnected','function','HelpSingle','INVALID_API_KEY','_config','code','API\x20Key','url(#$1','subscribe','_loading$','url(#on-line-icon_clip0_910_349)','validateApiKey','MAX_RETRIES_EXCEEDED','univer-mr-2\x20univer-flex\x20univer-text-xl','subscribeConfigValue$','mcpStatus.connecting'];_0x32ce=function(){return _0x39801f;};return _0x32ce();}const R=_0x2a39ed(0x147),j='mcp-config-dialog';let _=class extends _0x888610{constructor(_0x254d48,_0x48ab71,_0x483e63,_0x453e49,_0x185f28,_0x465c53,_0x3c4547,_0x1cefca,_0xa58d9c,_0x2d0bd3){var _0x2bf7db=_0x2a39ed;super(),N(this,_0x2bf7db(0x16d),new _0x312b71(!0x1)),N(this,_0x2bf7db(0x13f),new _0x312b71({})),N(this,_0x2bf7db(0xf3),new _0x312b71({})),N(this,_0x2bf7db(0x10b),async _0x537795=>{var _0x30b931=_0x2bf7db;this[_0x30b931(0x16d)][_0x30b931(0x189)](!0x0);try{const _0x5ef49c=await this[_0x30b931(0x1c1)](_0x537795);if(!_0x5ef49c[_0x30b931(0xc9)]){this[_0x30b931(0xa2)][_0x30b931(0x102)]({'type':_0x53680e['Error'],'content':_0x5ef49c[_0x30b931(0xca)]||this[_0x30b931(0x8c)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x537795[_0x30b931(0x90)]?await this[_0x30b931(0xe7)][_0x30b931(0x76)](R,_0x537795['apiKey'][_0x30b931(0xce)]()):await this['_localStorageService'][_0x30b931(0x183)](R),this[_0x30b931(0xf7)][_0x30b931(0xe9)](_0x59a440,{..._0x537795,'apiKey':_0x537795[_0x30b931(0x90)]['trim']()}),this[_0x30b931(0x13f)][_0x30b931(0x189)]({..._0x537795,'apiKey':_0x537795['apiKey']['trim']()}),this[_0x30b931(0xa2)]['show']({'type':_0x53680e['Success'],'content':this['_localeService']['t'](_0x30b931(0x9a))}),setTimeout(()=>{var _0xc921ee=_0x30b931;this['_dialogService'][_0xc921ee(0x8f)](j);},0x320);}catch(_0x32b520){this[_0x30b931(0xec)][_0x30b931(0xa9)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x32b520),this[_0x30b931(0xa2)][_0x30b931(0x102)]({'type':_0x53680e[_0x30b931(0xfa)],'content':this[_0x30b931(0x8c)]['t'](_0x30b931(0x1af))});}finally{this[_0x30b931(0x16d)][_0x30b931(0x189)](!0x1);}}),(this['_injector']=_0x254d48,this[_0x2bf7db(0x19e)]=_0x48ab71,this[_0x2bf7db(0xf7)]=_0x483e63,this[_0x2bf7db(0xe7)]=_0x453e49,this[_0x2bf7db(0x18a)]=_0x185f28,this[_0x2bf7db(0xa2)]=_0x465c53,this[_0x2bf7db(0x95)]=_0x3c4547,this['_localeService']=_0x1cefca,this[_0x2bf7db(0xec)]=_0xa58d9c,this[_0x2bf7db(0x14d)]=_0x2d0bd3,this[_0x2bf7db(0x1a2)](),this['_loadStoredApiKey'](),this[_0x2bf7db(0x1b2)]());}[_0x2a39ed(0x86)](){var _0x122cf1=_0x2a39ed;this['_dialogService'][_0x122cf1(0xea)]({'id':j,'title':{'title':this['_localeService']['t'](_0x122cf1(0x115))},'children':{'label':_0x122cf1(0x129)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x48bcc9=_0x122cf1;this[_0x48bcc9(0x18a)][_0x48bcc9(0x8f)](j);}});}[_0x2a39ed(0x136)](){var _0x118ea8=_0x2a39ed;return this[_0x118ea8(0x13f)][_0x118ea8(0xf8)];}['_registerComponent'](){var _0x33698b=_0x2a39ed;this[_0x33698b(0x12b)](this[_0x33698b(0x95)]['register'](_0x33698b(0x129),this['_createConfigPanelComponent']()));}[_0x2a39ed(0x119)](){var _0x5846b6=_0x2a39ed;return _0x27bd0d(()=>{var _0xd8b7de=_0x3af1,_0x5f1a06,_0x3208c8;return _0x3a9243(Xe,{'config':this[_0xd8b7de(0xf3)][_0xd8b7de(0xf8)],'mcpCoreConfig':this[_0xd8b7de(0x13f)]['value'],'onSave':this[_0xd8b7de(0x10b)],'loading':this['_loading$'][_0xd8b7de(0xf8)],'connectionStatus$':(_0x5f1a06=this['_mcpConnectionController'])==null?void 0x0:_0x5f1a06[_0xd8b7de(0xba)],'connectionError$':(_0x3208c8=this[_0xd8b7de(0x14d)])==null?void 0x0:_0x3208c8[_0xd8b7de(0x15d)]});},this[_0x5846b6(0x185)]);}['_initConfigSync'](){var _0x444108=_0x2a39ed;this[_0x444108(0x12b)](this['_configService'][_0x444108(0x172)](_0x59a440)[_0x444108(0x16c)](_0x5b572a=>{var _0x20cc9f=_0x444108;this['_mcpCoreConfig$'][_0x20cc9f(0x189)](_0x5b572a||{});}));const _0x47dc9a=this[_0x444108(0xf7)][_0x444108(0x157)](_0x59a440);this['_mcpCoreConfig$']['next'](_0x47dc9a||{}),this[_0x444108(0x12b)](this['_configService']['subscribeConfigValue$'](U)[_0x444108(0x16c)](_0x19182d=>{var _0x1d61ed=_0x444108;this['_config$'][_0x1d61ed(0x189)](_0x19182d||{});}));const _0x262eb5=this[_0x444108(0xf7)][_0x444108(0x157)](U);this[_0x444108(0xf3)][_0x444108(0x189)](_0x262eb5||{});}async[_0x2a39ed(0xd8)](){var _0x245ea2=_0x2a39ed;const _0x816f7f=await this[_0x245ea2(0xe7)][_0x245ea2(0xac)](R);if(_0x816f7f){const _0x24dd03={...this[_0x245ea2(0x13f)][_0x245ea2(0xf8)],'apiKey':_0x816f7f};this[_0x245ea2(0xf7)][_0x245ea2(0xe9)](_0x59a440,_0x24dd03),this['_mcpCoreConfig$']['next'](_0x24dd03);}}async[_0x2a39ed(0x1c1)](_0x19a95c){var _0x4a5e53=_0x2a39ed;if(!_0x19a95c[_0x4a5e53(0x90)]||_0x19a95c[_0x4a5e53(0x90)]['trim']()[_0x4a5e53(0x118)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x4a5e53(0x132))};if(_0x19a95c[_0x4a5e53(0x90)][_0x4a5e53(0xce)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4a5e53(0x8c)]['t'](_0x4a5e53(0x19c))};try{const _0x1e709e=await this['_injector'][_0x4a5e53(0x161)](_0x4601ab)[_0x4a5e53(0x16f)](_0x19a95c[_0x4a5e53(0x90)][_0x4a5e53(0xce)]());return _0x1e709e[_0x4a5e53(0xc9)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x1e709e[_0x4a5e53(0xa9)]||this['_localeService']['t'](_0x4a5e53(0x15e))};}catch(_0x3dbb03){return console['warn'](_0x4a5e53(0x155),_0x3dbb03),{'isValid':!0x0};}}};_=Qe([p(0x0,_0x54fe84(_0x251fc2)),p(0x1,_0x4c0dea),p(0x2,_0x2853c3),p(0x3,_0x122f1b),p(0x4,_0x543447),p(0x5,_0x54f0a6),p(0x6,_0x54fe84(_0xab8ce1)),p(0x7,_0x54fe84(_0x1457f3)),p(0x8,_0x49dda7),p(0x9,_0x54fe84(_0x4601ab))],_);const W={'id':_0x2a39ed(0x122),'type':_0x215a19['COMMAND'],'handler':async(_0x38c80d,_0x48eb1b)=>(_0x38c80d[_0x2a39ed(0x161)](_)[_0x2a39ed(0x86)](),!0x0)};function ve(_0x1b703e,_0x48908f){var _0x3f08ca=_0x2a39ed;switch(_0x1b703e){case _0x465257[_0x3f08ca(0xd0)]:return _0x48908f===_0x331fcf[_0x3f08ca(0xcd)]?_0x3f08ca(0xc7):_0x3f08ca(0x164);case _0x465257[_0x3f08ca(0xd1)]:return _0x3f08ca(0x173);case _0x465257[_0x3f08ca(0xf5)]:return _0x3f08ca(0x124);case _0x465257[_0x3f08ca(0x11c)]:switch(_0x48908f){case _0x331fcf[_0x3f08ca(0x167)]:return _0x3f08ca(0xb5);case _0x331fcf[_0x3f08ca(0xf9)]:return'mcpStatus.sessionOccupied';case _0x331fcf[_0x3f08ca(0x13e)]:return _0x3f08ca(0x1b3);case _0x331fcf[_0x3f08ca(0x170)]:return'mcpStatus.maxRetriesExceeded';default:return'mcpStatus.failed';}case _0x465257[_0x3f08ca(0xd5)]:return _0x3f08ca(0x103);default:return _0x3f08ca(0x150);}}function en(_0x3e3161,_0x3c90d6,_0x5082ea){var _0x3c5f73=_0x2a39ed;const _0x5b2305=ve(_0x3e3161,_0x3c90d6),_0x1aab08=_0x5082ea['t'](_0x5b2305);return _0x3e3161===_0x465257[_0x3c5f73(0xd0)]&&_0x3c90d6===_0x331fcf['MISSING_API_KEY']?_0x1aab08+_0x3c5f73(0x17d)+_0x5082ea['t'](_0x3c5f73(0x8e)):_0x3e3161===_0x465257[_0x3c5f73(0xf5)]?''+_0x1aab08:_0x3e3161===_0x465257[_0x3c5f73(0xd0)]||_0x3e3161===_0x465257[_0x3c5f73(0x11c)]?_0x1aab08+_0x3c5f73(0x17d)+_0x5082ea['t'](_0x3c5f73(0x146)):_0x1aab08;}function nn(_0x50df42){var _0xeff6c4=_0x2a39ed;switch(_0x50df42){case _0x465257[_0xeff6c4(0xf5)]:return _0xeff6c4(0x1b0);case _0x465257[_0xeff6c4(0xd1)]:case _0x465257['RETRYING']:return _0xeff6c4(0x18d);case _0x465257[_0xeff6c4(0x11c)]:case _0x465257[_0xeff6c4(0xd0)]:return _0xeff6c4(0x109);default:return _0xeff6c4(0x153);}}function rn(_0xd7c2db){var _0x5eecd6=_0x2a39ed;const {status$:_0x4921fb,error$:_0x1d66a4,onConfigure:_0x4e85e4}=_0xd7c2db,_0x142a2c=_0xb9f560(_0x4921fb,_0x465257['DISCONNECTED']),_0x44b19e=_0xb9f560(_0x1d66a4,_0x331fcf[_0x5eecd6(0x176)]),_0x33c7b0=_0x527b81(_0x1457f3),_0x965268=_0x142a2c===_0x465257['CONNECTED'],_0x21a5d8=_0x142a2c===_0x465257[_0x5eecd6(0xd1)]||_0x142a2c===_0x465257[_0x5eecd6(0xd5)],_0x15122f=_0x33c7b0['t'](ve(_0x142a2c,_0x44b19e)),_0xb379cf=en(_0x142a2c,_0x44b19e,_0x33c7b0),_0x180260=nn(_0x142a2c),_0x374c0a=_0x965268?_0x3a9243(ue,{}):_0x3a9243(le,{}),_0x472c69=_0x51bcbf(()=>{_0x4e85e4&&_0x4e85e4();},[_0x965268,_0x21a5d8,_0x4e85e4]);function _0x1b23b7(){var _0x2ea77e=_0x5eecd6;return _0x2113a0('div',{'className':_0x45baf8(_0x2ea77e(0x73),_0x4e85e4&&_0x2ea77e(0x156)),'onClick':_0x4e85e4?_0x472c69:void 0x0,'children':[_0x3a9243(_0x2ea77e(0x143),{'className':_0x45baf8(_0x2ea77e(0x171),_0x180260),'children':_0x374c0a}),_0x3a9243(_0x2ea77e(0x143),{'className':_0x2ea77e(0x145),'children':_0x15122f})]});}return _0x3a9243(_0x393e3d,{'title':_0xb379cf,'placement':_0x5eecd6(0xd7),'children':_0x1b23b7()});}var tn=Object['getOwnPropertyDescriptor'],on=(_0x162a7d,_0x525fe9,_0x2f698f,_0x282111)=>{for(var _0x5c345c=_0x282111>0x1?void 0x0:_0x282111?tn(_0x525fe9,_0x2f698f):_0x525fe9,_0x2cff3a=_0x162a7d['length']-0x1,_0x16daea;_0x2cff3a>=0x0;_0x2cff3a--)(_0x16daea=_0x162a7d[_0x2cff3a])&&(_0x5c345c=_0x16daea(_0x5c345c)||_0x5c345c);return _0x5c345c;},L=(_0xb0b1a1,_0x415640)=>(_0x3916aa,_0x4c7e99)=>_0x415640(_0x3916aa,_0x4c7e99,_0xb0b1a1);let O=class extends _0x888610{constructor(_0x1799eb,_0x5e3fe3,_0x3f0171){var _0x3736a3=_0x2a39ed;super(),this[_0x3736a3(0x185)]=_0x1799eb,this['_connectionController']=_0x5e3fe3,this[_0x3736a3(0x19e)]=_0x3f0171,this[_0x3736a3(0x140)]();}[_0x2a39ed(0x140)](){var _0x580253=_0x2a39ed;this[_0x580253(0x12b)](this['_uiPartsService']['registerComponent'](_0x25f665[_0x580253(0xc4)],()=>_0x27bd0d(cn({'status$':this['_connectionController']['connectionStatus$'],'error$':this[_0x580253(0xa6)][_0x580253(0x15d)],'onConfigure':()=>this['_handleConfigure']()}),this[_0x580253(0x185)])));}[_0x2a39ed(0x83)](){var _0x3c350b=_0x2a39ed;this[_0x3c350b(0x185)][_0x3c350b(0x161)](_)[_0x3c350b(0x86)]();}};O=on([L(0x0,_0x54fe84(_0x251fc2)),L(0x1,_0x54fe84(_0x4601ab)),L(0x2,_0x4c0dea)],O);function cn(_0x394baf){const {status$:_0x1a25e6,error$:_0x2d3b29,onConfigure:_0x4569d1}=_0x394baf;return function(){return _0x3a9243(rn,{'status$':_0x1a25e6,'error$':_0x2d3b29,'onConfigure':_0x4569d1});};}function an(_0x1b29ff){var _0x5c9af6=_0x2a39ed;return{'id':W['id'],'type':_0x113af3[_0x5c9af6(0xab)],'icon':_0x5c9af6(0x193),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const sn={[_0x38e781[_0x2a39ed(0x84)]]:{[W['id']]:{'order':0xa,'menuItemFactory':an}}};var ln=Object[_0x2a39ed(0x1a0)],un=(_0x130a7e,_0x4f420e,_0x5cadbd,_0x93ea7c)=>{var _0x3a6f00=_0x2a39ed;for(var _0x31cc1e=_0x93ea7c>0x1?void 0x0:_0x93ea7c?ln(_0x4f420e,_0x5cadbd):_0x4f420e,_0x443148=_0x130a7e[_0x3a6f00(0x118)]-0x1,_0xdac3f6;_0x443148>=0x0;_0x443148--)(_0xdac3f6=_0x130a7e[_0x443148])&&(_0x31cc1e=_0xdac3f6(_0x31cc1e)||_0x31cc1e);return _0x31cc1e;},Q=(_0x574569,_0x4639b9)=>(_0xb276da,_0x578503)=>_0x4639b9(_0xb276da,_0x578503,_0x574569);let k=class extends _0x888610{constructor(_0x4ec491,_0x4b1b5f){var _0x34a0d0=_0x2a39ed;super(),this[_0x34a0d0(0xf6)]=_0x4ec491,this[_0x34a0d0(0xa4)]=_0x4b1b5f,this[_0x34a0d0(0xb1)](),this['_initializeMenus']();}['_initializeCommands'](){var _0x10805f=_0x2a39ed;[W][_0x10805f(0x113)](_0x5e0791=>{var _0x10260c=_0x10805f;this['disposeWithMe'](this[_0x10260c(0xf6)][_0x10260c(0xa8)](_0x5e0791));});}[_0x2a39ed(0x158)](){var _0x30c58b=_0x2a39ed;this['_menuManagerService'][_0x30c58b(0x152)](sn);}};k=un([Q(0x0,_0x5f404e),Q(0x1,_0x3f1668)],k);const Nn={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x2a39ed(0x19d),'retrying':_0x2a39ed(0xe1),'unknown':_0x2a39ed(0xdb),'missingApiKey':_0x2a39ed(0xde),'invalidApiKey':_0x2a39ed(0x116),'sessionOccupied':_0x2a39ed(0xb0),'networkError':_0x2a39ed(0x1ba),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2a39ed(0x80)},'mcpConfig':{'title':_0x2a39ed(0x13d),'description':_0x2a39ed(0x133),'apiKey':_0x2a39ed(0x16a),'apiKeyPlaceholder':_0x2a39ed(0x108),'apiKeyHint':_0x2a39ed(0x1aa),'enableAuth':_0x2a39ed(0x1ac),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x2a39ed(0x174),'serverEndpoint':_0x2a39ed(0x139),'sessionId':_0x2a39ed(0xe4),'maxRetries':'Max\x20Retries','save':_0x2a39ed(0x104),'saving':'Saving...','note1':_0x2a39ed(0x10c),'note2':_0x2a39ed(0x1b4),'configSaved':_0x2a39ed(0x97),'configError':_0x2a39ed(0x12c),'apiApplyInfo':{'title':_0x2a39ed(0x7e),'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':_0x2a39ed(0x87),'getStarted':_0x2a39ed(0x74)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2a39ed(0x11e),'invalidConfig':_0x2a39ed(0x99),'invalidApiKey':_0x2a39ed(0x1a3)},'connectionStatus':{'disconnected':_0x2a39ed(0x112),'connecting':'Connecting...','connected':_0x2a39ed(0x135),'failed':_0x2a39ed(0x134),'retrying':_0x2a39ed(0xef)},'connectionError':{'missingApiKey':_0x2a39ed(0x1bf),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x2a39ed(0xd2),'networkError':_0x2a39ed(0x13b),'maxRetriesExceeded':_0x2a39ed(0x13a)}}},Pn={'mcpStatus':{'disconnected':_0x2a39ed(0xfb),'connecting':_0x2a39ed(0xbc),'connected':_0x2a39ed(0x14b),'failed':_0x2a39ed(0xc5),'retrying':_0x2a39ed(0xa7),'unknown':'MCP\x20状态未知','missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x2a39ed(0x78),'sessionOccupied':_0x2a39ed(0x81),'networkError':_0x2a39ed(0xbe),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x2a39ed(0x7a)},'mcpConfig':{'title':_0x2a39ed(0x19f),'description':_0x2a39ed(0x9b),'apiKey':_0x2a39ed(0xd6),'apiKeyPlaceholder':_0x2a39ed(0x15f),'apiKeyHint':_0x2a39ed(0x19a),'enableAuth':_0x2a39ed(0x195),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'连接信息','serverEndpoint':_0x2a39ed(0xdf),'sessionId':'会话ID','maxRetries':_0x2a39ed(0x7d),'save':_0x2a39ed(0x1a7),'saving':_0x2a39ed(0x11f),'note1':_0x2a39ed(0x85),'note2':_0x2a39ed(0x18f),'configSaved':_0x2a39ed(0x17f),'configError':_0x2a39ed(0x15b),'apiApplyInfo':{'title':_0x2a39ed(0xcc),'description':_0x2a39ed(0x1a9),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x2a39ed(0x11d)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x2a39ed(0xdc),'invalidConfig':'配置无效','invalidApiKey':_0x2a39ed(0xc6)},'connectionStatus':{'disconnected':_0x2a39ed(0x94),'connecting':_0x2a39ed(0x1b1),'connected':'已连接','failed':_0x2a39ed(0xb9),'retrying':_0x2a39ed(0x93)},'connectionError':{'missingApiKey':_0x2a39ed(0x14a),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0x2a39ed(0x17b),'networkError':_0x2a39ed(0xe6),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var vn=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],gn=(_0xdf7aa3,_0x201a65,_0x1baa8d)=>_0x201a65 in _0xdf7aa3?vn(_0xdf7aa3,_0x201a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1baa8d}):_0xdf7aa3[_0x201a65]=_0x1baa8d,fn=(_0x479e7d,_0x483b34,_0x2a2fd0,_0x1ed54b)=>{var _0xd1600a=_0x2a39ed;for(var _0x435519=_0x1ed54b>0x1?void 0x0:_0x1ed54b?dn(_0x483b34,_0x2a2fd0):_0x483b34,_0x148778=_0x479e7d[_0xd1600a(0x118)]-0x1,_0x6612ab;_0x148778>=0x0;_0x148778--)(_0x6612ab=_0x479e7d[_0x148778])&&(_0x435519=_0x6612ab(_0x435519)||_0x435519);return _0x435519;},P=(_0x500f55,_0x4d5963)=>(_0x3bf859,_0x2e6b5f)=>_0x4d5963(_0x3bf859,_0x2e6b5f,_0x500f55),pn=(_0x59aeff,_0x29d7d3,_0x1d08be)=>gn(_0x59aeff,_0x29d7d3+'',_0x1d08be);let G=class extends _0x1813e7{constructor(_0x4512b9=J,_0x413857,_0x3293f6,_0x39064d,_0x8bc3a3,_0x2ffc1a){var _0xb0fa35=_0x2a39ed;super(),this[_0xb0fa35(0x168)]=_0x4512b9,this[_0xb0fa35(0x185)]=_0x413857,this['_configService']=_0x3293f6,this[_0xb0fa35(0x19e)]=_0x39064d,this['_localStorageService']=_0x8bc3a3,this[_0xb0fa35(0x8c)]=_0x2ffc1a;const {..._0x4e70d2}=_0x2246be({},J,this[_0xb0fa35(0x168)]);this['_configService'][_0xb0fa35(0xe9)](U,_0x4e70d2);}async[_0x2a39ed(0x1a6)](){var _0x4b1be2=_0x2a39ed;[[O],[_],[k]][_0x4b1be2(0x113)](_0x2e2b02=>this['_injector'][_0x4b1be2(0x19b)](_0x2e2b02)),this['_injector'][_0x4b1be2(0x161)](O),this['_injector']['get'](_),this[_0x4b1be2(0x185)][_0x4b1be2(0x161)](k);}};pn(G,_0x2a39ed(0xa0),_0x2a39ed(0x79)),G=fn([_0x4726b7(_0x1cef3b),P(0x1,_0x54fe84(_0x251fc2)),P(0x2,_0x2853c3),P(0x3,_0x4c0dea),P(0x4,_0x122f1b),P(0x5,_0x54fe84(_0x1457f3))],G);export{Xe as MCPConfigPanel,_ as MCPConfigUIController,O as MCPConnectionUIController,rn as MCPStatusDisplay,k as MCPUIMenuController,W as OpenMCPConfigPanelCommand,G as UniverMCPUIPlugin,Nn as enUS,Pn as zhCN};
|
|
1
|
+
var _0xc1789a=_0x33ae;(function(_0x3ba8ae,_0x3239e5){var _0x21372c=_0x33ae,_0x394b36=_0x3ba8ae();while(!![]){try{var _0x205199=parseInt(_0x21372c(0x274))/0x1*(parseInt(_0x21372c(0x235))/0x2)+parseInt(_0x21372c(0x1fc))/0x3*(parseInt(_0x21372c(0x1aa))/0x4)+parseInt(_0x21372c(0x22d))/0x5+-parseInt(_0x21372c(0x18b))/0x6*(-parseInt(_0x21372c(0x15d))/0x7)+parseInt(_0x21372c(0x1b5))/0x8*(-parseInt(_0x21372c(0x214))/0x9)+parseInt(_0x21372c(0x236))/0xa*(-parseInt(_0x21372c(0x1ed))/0xb)+-parseInt(_0x21372c(0x175))/0xc;if(_0x205199===_0x3239e5)break;else _0x394b36['push'](_0x394b36['shift']());}catch(_0x108e5b){_0x394b36['push'](_0x394b36['shift']());}}}(_0x4de0,0xdde9b));var Se=Object['defineProperty'],xe=(_0x537fea,_0x256088,_0x5f3380)=>_0x256088 in _0x537fea?Se(_0x537fea,_0x256088,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f3380}):_0x537fea[_0x256088]=_0x5f3380,N=(_0x4d093a,_0x266118,_0x2f6a0f)=>xe(_0x4d093a,typeof _0x266118!=_0xc1789a(0x18e)?_0x266118+'':_0x266118,_0x2f6a0f);import{LocaleService as _0xbaffd5,Inject as _0x4cb90b,Injector as _0x448b06,IConfigService as _0x5a06e9,ILocalStorageService as _0xf37a6b,ILogService as _0x4fb853,Disposable as _0x225cf9,CommandType as _0x661ca2,ICommandService as _0xcc8eb2,DependentOn as _0x1988ce,Plugin as _0x156b89,merge as _0x37b7f4}from'@univerjs/core';import{jsxs as _0x556a41,jsx as _0x2bf37b}from'react/jsx-runtime';import{MCPConnectionStatus as _0x48936c,MCPConnectionError as _0x5a4b8c,MCPConnectionController as _0x27dad2,MCP_PLUGIN_CONFIG_KEY as _0x39db2a,UniverMCPPlugin as _0x2bb3c7}from'@univerjs-pro/mcp';import{Input as _0x35757a,Button as _0x1abec0,MessageType as _0x5ce56f,Tooltip as _0x7efe13,clsx as _0x6a6f5c}from'@univerjs/design';import{useDependency as _0x28253d,useObservable as _0xb93d84,IUIPartsService as _0x13ba0a,IDialogService as _0x459b51,IMessageService as _0x54e4f9,ComponentManager as _0x37c218,connectInjector as _0x150892,BuiltInUIPart as _0x5304a3,MenuItemType as _0x5a6c3f,RibbonStartGroup as _0x2085ed,IMenuManagerService as _0x3e1938}from'@univerjs/ui';import{BehaviorSubject as _0x18dae0}from'rxjs';import{forwardRef as _0x306804,useRef as _0x4c8ada,createElement as _0x31e930,useState as _0x4d08e2,useCallback as _0x262585}from'react';var d=function(){return d=Object['assign']||function(_0x9a8210){var _0x274d81=_0x33ae;for(var _0x16b0a3,_0x56d4fb=0x1,_0x3821ea=arguments[_0x274d81(0x1fb)];_0x56d4fb<_0x3821ea;_0x56d4fb++){_0x16b0a3=arguments[_0x56d4fb];for(var _0x5591f1 in _0x16b0a3)Object[_0x274d81(0x241)][_0x274d81(0x20c)][_0x274d81(0x13a)](_0x16b0a3,_0x5591f1)&&(_0x9a8210[_0x5591f1]=_0x16b0a3[_0x5591f1]);}return _0x9a8210;},d['apply'](this,arguments);},Ye=function(_0x2bca65,_0x10bbc4){var _0x4e4a6b=_0xc1789a,_0x3e13bb={};for(var _0x466ac8 in _0x2bca65)Object[_0x4e4a6b(0x241)][_0x4e4a6b(0x20c)]['call'](_0x2bca65,_0x466ac8)&&_0x10bbc4['indexOf'](_0x466ac8)<0x0&&(_0x3e13bb[_0x466ac8]=_0x2bca65[_0x466ac8]);if(_0x2bca65!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x178f5d=0x0,_0x466ac8=Object[_0x4e4a6b(0x1a5)](_0x2bca65);_0x178f5d<_0x466ac8['length'];_0x178f5d++)_0x10bbc4[_0x4e4a6b(0x267)](_0x466ac8[_0x178f5d])<0x0&&Object['prototype'][_0x4e4a6b(0x21d)][_0x4e4a6b(0x13a)](_0x2bca65,_0x466ac8[_0x178f5d])&&(_0x3e13bb[_0x466ac8[_0x178f5d]]=_0x2bca65[_0x466ac8[_0x178f5d]]);}return _0x3e13bb;},S=_0x306804(function(_0x1d297e,_0x2d1996){var _0x1b95a5=_0xc1789a,_0x1209e1=_0x1d297e[_0x1b95a5(0x27d)],_0x2ee2d6=_0x1d297e['id'],_0xf22312=_0x1d297e[_0x1b95a5(0x202)],_0x2e2a4b=_0x1d297e[_0x1b95a5(0x238)],_0x31d508=Ye(_0x1d297e,[_0x1b95a5(0x27d),'id','className',_0x1b95a5(0x238)]),_0x4e60a8=_0x1b95a5(0x199)[_0x1b95a5(0x21e)](_0x2ee2d6,'\x20')[_0x1b95a5(0x21e)](_0xf22312||'')[_0x1b95a5(0x247)](),_0x3316bf=_0x4c8ada('_'[_0x1b95a5(0x21e)](He()));return oe(_0x1209e1,''[_0x1b95a5(0x21e)](_0x2ee2d6),{'defIds':_0x1209e1[_0x1b95a5(0x1f2)],'idSuffix':_0x3316bf['current']},d({'ref':_0x2d1996,'className':_0x4e60a8},_0x31d508),_0x2e2a4b);});function oe(_0x2a9783,_0x851808,_0x3cbaed,_0xd79a3b,_0x206499){var _0x5d339a=_0xc1789a;return _0x31e930(_0x2a9783['tag'],d(d({'key':_0x851808},Ve(_0x2a9783,_0x3cbaed,_0x206499)),_0xd79a3b),(Fe(_0x2a9783,_0x3cbaed)[_0x5d339a(0x226)]||[])[_0x5d339a(0x1cc)](function(_0x1af9eb,_0x47ec3b){var _0x1b707a=_0x5d339a;return oe(_0x1af9eb,''[_0x1b707a(0x21e)](_0x851808,'-')[_0x1b707a(0x21e)](_0x2a9783[_0x1b707a(0x193)],'-')[_0x1b707a(0x21e)](_0x47ec3b),_0x3cbaed,void 0x0,_0x206499);}));}function _0x4de0(){var _0x136eea=['next','Configuration\x20Notes:','配置无效','mcpStatus.invalidApiKey','showDeveloperTools','onStarting','0\x200\x2017\x2017','mcpConfig.note1','length','11103DxLCXm','mcpConfig.serverEndpoint','mcpServerUrl','off-line-icon_clip0_910_343','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','M5.21243\x205.62036L11.8791\x2012.287','className','_connectionController','currentColor','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','label','0\x200\x2017\x2016','INVALID_API_KEY','M0\x200H16V16H0z','您的\x20API\x20密钥安全存储在本地存储中','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','hasOwnProperty','clipPath','_mcpConnectionController','_initStatusComponent','Retrying...','_mcpCoreConfig$','xlink:href','univer-flex-shrink-0\x20univer-text-red-500','3104190ozxhwB','_uiPartsService','MCP:\x20Network\x20Error','mcpStatus.maxRetriesExceeded','mcpConfig.validation.invalidApiKey','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-green-500','_config$','API\x20key\x20is\x20required\x20to\x20connect','propertyIsEnumerable','concat','mcp-ui.command.openConfigPanel','univer-space-y-3','Click\x20to\x20configure\x20MCP','showConfigPanel','colorChannel1','_initConfigSync','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children','NETWORK_ERROR','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer.plus','univer-bg-gray-500','mcpConfig.connectionStatus.connecting','API\x20密钥无效,请检查您的密钥后重试','4002255QxNyaF','mcpStatus.unknown','defs','univer-flex-shrink-0\x20univer-text-blue-500','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','mcp-ui.config','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','round','10FASAEm','3040sasrTQ','_validateConfig','extend','MCP:\x20Max\x20Retries\x20Exceeded','close','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','open','Click\x20to\x20connect\x20MCP','未连接','substring','连接信息','prototype','pluginName','replace','Disconnected','MCP\x20重连中...','_handleConfigSave','trim','MCP\x20Connecting...','none','会话当前被占用,请稍后再试','_loading$','mcpConfig.validation.apiKeyTooShort','MCP\x20已连接','mcpConfig.validation.apiKeyRequired','MCP\x20Configuration','register','Connection\x20Information','Univer\x20AI\x20控制台','get','idSuffix','default','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-flex\x20univer-cursor-pointer\x20univer-items-center','mask','连接中...','0\x200\x2016\x2016','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','univer-text-red-500','FAILED','path','配置更改将立即生效','disposeWithMe','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','_localStorageService','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','off','mcpStatus.connecting','BUTTON','indexOf','mcpConfig.connectionStatus.retrying','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','启用身份验证','保存中...','mcpStatus.networkError','OTHERS','MCP\x20连接中...','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','noopener\x20noreferrer','connectionError$','entries','308234nYvWOh','url(#$1','mcpConfig.connectionError.missingApiKey','connectionStatus$','SESSION_ID_OCCUPIED','_localeService','use','M5.21243\x2012.287L11.8791\x205.62036','配置保存成功','icon','bottom','几秒钟内获取您的\x20API\x20密钥','1em','string','Enable\x20authentication\x20for\x20secure\x20connections','includes','UniverIcon','MCP\x20Retrying...','NONE','call','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','validateApiKey','MCP\x20Connected','_dialogService','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer.ai','\x20-\x20','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','需要\x20API\x20密钥才能连接','errorMessage','_messageService','_commandService','sessionId','Success','点击连接\x20MCP','univer-space-y-5','warn','Server\x20Endpoint','会话ID','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','Save\x20Configuration','MCP:\x20超出最大重试次数','univer-flex\x20univer-items-center\x20univer-gap-2','univer-bg-red-500','COMMAND','mcpStatus.disconnected','assign','text','_loadStoredApiKey','OnLineIcon','univer-flex\x20univer-items-start\x20univer-gap-3','code','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','14bWTOOw','_initializeMenus','MCP:\x20API\x20Key\x20Missing','mcpConfig.apiApplyInfo.univerAiLabel','javascript:void(0)','Close','MCP\x20配置','OffLineIcon','mcpConfig.configSaved','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-flex\x20univer-items-start\x20univer-gap-2','setConfig','_injector','mcpConfig.apiKeyPlaceholder','mcpStatus.clickToConnect','mcpConfig.title','registerComponent','getCurrentConfig','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','mcpStatus.failed','MCP\x20已断开','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','https://console.univer.plus','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','32731860OGtLSM','HelpSingle','_registerComponent','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','apiKey','Connection\x20Failed','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','CloseSmallSingle','mcpConfig.connectionError.networkError','API\x20密钥不能为空','保存配置','value','white','mcpConfig.save','evenodd','mcpConfig.connectionError.invalidApiKey','Invalid\x20configuration','_menuManagerService','univer-text-xs\x20univer-text-gray-500','什么是\x20API\x20密钥?','DISCONNECTED','Session\x20ID','1651002HyQNAj','subscribeConfigValue$','off-line-icon','symbol','univer-text-sm\x20univer-font-medium','attrs','mcp.apiKey','univer-mr-2\x20univer-flex\x20univer-text-xl','tag','MCP\x20Connection\x20Failed','displayName','CONNECTED','Connecting...','MCP_UI_PLUGIN','univerjs-icon\x20univerjs-icon-','univer-min-w-0\x20univer-flex-1','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MCP:\x20会话被占用','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP\x20状态未知','MCP\x20Disconnected','Enter\x20your\x20API\x20key','MCP:\x20无效的\x20API\x20密钥','重连中...','_config','univer-text-white','getOwnPropertySymbols','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','_createConfigPanelComponent','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','toString','1700otODNE','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','getItem','univer-flex\x20univer-gap-3','MISSING_API_KEY','点击配置\x20MCP','univer-text-gray-500','mcpConfig.connectionStatus.connected','已连接','show','8oYyJFC','on-line-icon','url(#off-line-icon_clip0_910_343)','url(#on-line-icon_clip0_910_349)','fill','http://www.w3.org/2000/svg','getConfig','univer-text-gray-400','svg','mcpConfig.apiApplyInfo.title','_initializeCommands','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-bg-green-500','MAX_RETRIES_EXCEEDED','removeItem','CONNECTING','forEach','add','mcpConfig.apiKey','网络连接错误,请检查您的网络连接','span','_configService','服务器端点','map','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','setItem','您的\x20API\x20密钥将在此浏览器中本地存储','on-line-icon_clip0_910_349','Error','mcpStatus.clickToConfigure','isValid','mcpConfig.apiKeyHint','close-small-single','getOwnPropertyDescriptor','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-bg-blue-500','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.connectionStatus.disconnected','random','请输入您的\x20API\x20密钥','_handleConfigure','MCP:\x20网络错误','registerCommand','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','mcpStatus.retrying','_componentManager','MCPConfigPanel','div','mcpConfig.validation.invalidConfig','mcpConfig.connectionError.sessionOccupied','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','MCP\x20连接失败','univer-space-y-2','defineProperty','RETRYING','MenuIcon','17490wRlVzv','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcp-config-dialog','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','_logService','defIds'];_0x4de0=function(){return _0x136eea;};return _0x4de0();}function Ve(_0x5cb47c,_0x4e1635,_0x5ee1c0){var _0x25cc2f=_0xc1789a,_0xf6c04f=d({},_0x5cb47c[_0x25cc2f(0x190)]);_0x5ee1c0!=null&&_0x5ee1c0[_0x25cc2f(0x223)]&&_0xf6c04f[_0x25cc2f(0x1b9)]===_0x25cc2f(0x223)&&(_0xf6c04f[_0x25cc2f(0x1b9)]=_0x5ee1c0[_0x25cc2f(0x223)]),_0x5cb47c[_0x25cc2f(0x193)]==='mask'&&_0xf6c04f['id']&&(_0xf6c04f['id']=_0xf6c04f['id']+_0x4e1635[_0x25cc2f(0x254)]),Object[_0x25cc2f(0x273)](_0xf6c04f)[_0x25cc2f(0x1c5)](function(_0x597e3){var _0x47bf15=_0x25cc2f,_0x4a9f15=_0x597e3[0x0],_0x3edfb0=_0x597e3[0x1];_0x4a9f15===_0x47bf15(0x258)&&typeof _0x3edfb0=='string'&&(_0xf6c04f[_0x4a9f15]=_0x3edfb0[_0x47bf15(0x243)](/url\(#(.*)\)/,'url(#$1'[_0x47bf15(0x21e)](_0x4e1635[_0x47bf15(0x254)],')')));});var _0x51df6d=_0x4e1635[_0x25cc2f(0x1f2)];return!_0x51df6d||_0x51df6d[_0x25cc2f(0x1fb)]===0x0||(_0x5cb47c['tag']===_0x25cc2f(0x27a)&&_0xf6c04f['xlink:href']&&(_0xf6c04f[_0x25cc2f(0x212)]=_0xf6c04f[_0x25cc2f(0x212)]+_0x4e1635[_0x25cc2f(0x254)]),Object[_0x25cc2f(0x273)](_0xf6c04f)[_0x25cc2f(0x1c5)](function(_0x2d4854){var _0x473e0c=_0x25cc2f,_0x1acd6f=_0x2d4854[0x0],_0x2ed7b2=_0x2d4854[0x1];typeof _0x2ed7b2==_0x473e0c(0x281)&&(_0xf6c04f[_0x1acd6f]=_0x2ed7b2[_0x473e0c(0x243)](/url\(#(.*)\)/,_0x473e0c(0x275)[_0x473e0c(0x21e)](_0x4e1635['idSuffix'],')')));})),_0xf6c04f;}function Fe(_0x48b697,_0x4a7753){var _0x49f801=_0xc1789a,_0x445eac,_0x1944ac=_0x4a7753[_0x49f801(0x1f2)];return!_0x1944ac||_0x1944ac[_0x49f801(0x1fb)]===0x0?_0x48b697:_0x48b697[_0x49f801(0x193)]==='defs'&&(!((_0x445eac=_0x48b697[_0x49f801(0x226)])===null||_0x445eac===void 0x0)&&_0x445eac['length'])?d(d({},_0x48b697),{'children':_0x48b697[_0x49f801(0x226)][_0x49f801(0x1cc)](function(_0x176c0b){var _0x5a78df=_0x49f801;return typeof _0x176c0b[_0x5a78df(0x190)]['id']==_0x5a78df(0x281)&&_0x1944ac&&_0x1944ac['includes'](_0x176c0b[_0x5a78df(0x190)]['id'])?d(d({},_0x176c0b),{'attrs':d(d({},_0x176c0b[_0x5a78df(0x190)]),{'id':_0x176c0b[_0x5a78df(0x190)]['id']+_0x4a7753[_0x5a78df(0x254)]})}):_0x176c0b;})}):_0x48b697;}function He(){var _0x3e7872=_0xc1789a;return Math[_0x3e7872(0x1db)]()[_0x3e7872(0x1a9)](0x24)[_0x3e7872(0x23f)](0x2,0x8);}S['displayName']=_0xc1789a(0x284);var We={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xc1789a(0x249),'viewBox':'0\x200\x2016\x2016','width':_0xc1789a(0x280),'height':_0xc1789a(0x280)},'children':[{'tag':_0xc1789a(0x25e),'attrs':{'fill':_0xc1789a(0x204),'d':_0xc1789a(0x1e0),'fillRule':_0xc1789a(0x183),'clipRule':_0xc1789a(0x183)}}]},ce=_0x306804(function(_0x254e9e,_0x57b595){var _0x7f056d=_0xc1789a;return _0x31e930(S,Object[_0x7f056d(0x155)]({},_0x254e9e,{'id':'check-mark-icon','ref':_0x57b595,'icon':We}));});ce[_0xc1789a(0x195)]='CheckMarkIcon';var Be={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xc1789a(0x249),'viewBox':_0xc1789a(0x1f9),'width':'1em','height':_0xc1789a(0x280)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0xc1789a(0x201),'strokeLinecap':'round','strokeLinejoin':_0xc1789a(0x234),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0xc1789a(0x204),'d':_0xc1789a(0x27b),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},ae=_0x306804(function(_0x5e972c,_0xc435e3){var _0x2cd33f=_0xc1789a;return _0x31e930(S,Object[_0x2cd33f(0x155)]({},_0x5e972c,{'id':_0x2cd33f(0x1d5),'ref':_0xc435e3,'icon':Be}));});ae[_0xc1789a(0x195)]=_0xc1789a(0x17c);var ze={'tag':_0xc1789a(0x1bd),'attrs':{'xmlns':_0xc1789a(0x1ba),'fill':_0xc1789a(0x249),'viewBox':_0xc1789a(0x25a),'width':_0xc1789a(0x280),'height':_0xc1789a(0x280)},'children':[{'tag':'path','attrs':{'fill':_0xc1789a(0x204),'d':_0xc1789a(0x17b)}},{'tag':_0xc1789a(0x25e),'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':_0xc1789a(0x25e),'attrs':{'fill':_0xc1789a(0x204),'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':_0xc1789a(0x183),'clipRule':_0xc1789a(0x183)}}]},se=_0x306804(function(_0x3569f9,_0x189399){return _0x31e930(S,Object['assign']({},_0x3569f9,{'id':'help-single','ref':_0x189399,'icon':ze}));});se[_0xc1789a(0x195)]=_0xc1789a(0x176);var qe={'tag':_0xc1789a(0x1bd),'attrs':{'xmlns':_0xc1789a(0x1ba),'fill':_0xc1789a(0x249),'viewBox':_0xc1789a(0x25a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xc1789a(0x1b7)},'children':[{'tag':_0xc1789a(0x25e),'attrs':{'stroke':_0xc1789a(0x204),'d':_0xc1789a(0x1d9),'strokeLinecap':_0xc1789a(0x234),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xc1789a(0x22f),'attrs':{},'children':[{'tag':_0xc1789a(0x20d),'attrs':{'id':_0xc1789a(0x1ff)},'children':[{'tag':_0xc1789a(0x25e),'attrs':{'fill':_0xc1789a(0x181),'d':_0xc1789a(0x209)}}]}]}],'defIds':[_0xc1789a(0x1ff)]},le=_0x306804(function(_0x4ad9d3,_0x5382d3){var _0x5d8175=_0xc1789a;return _0x31e930(S,Object['assign']({},_0x4ad9d3,{'id':_0x5d8175(0x18d),'ref':_0x5382d3,'icon':qe}));});le[_0xc1789a(0x195)]=_0xc1789a(0x164);var Ze={'tag':_0xc1789a(0x1bd),'attrs':{'xmlns':_0xc1789a(0x1ba),'fill':_0xc1789a(0x249),'viewBox':_0xc1789a(0x207),'width':'1em','height':_0xc1789a(0x280)},'children':[{'tag':'g','attrs':{'clipPath':_0xc1789a(0x1b8)},'children':[{'tag':_0xc1789a(0x25e),'attrs':{'stroke':_0xc1789a(0x204),'d':_0xc1789a(0x142),'strokeLinecap':_0xc1789a(0x234),'strokeLinejoin':_0xc1789a(0x234),'strokeWidth':1.2}}]},{'tag':_0xc1789a(0x22f),'attrs':{},'children':[{'tag':_0xc1789a(0x20d),'attrs':{'id':_0xc1789a(0x1d0)},'children':[{'tag':_0xc1789a(0x25e),'attrs':{'fill':'white','d':_0xc1789a(0x209),'transform':'translate(.97)'}}]}]}],'defIds':[_0xc1789a(0x1d0)]},ue=_0x306804(function(_0x4db156,_0x38ccb3){var _0x3488cd=_0xc1789a;return _0x31e930(S,Object['assign']({},_0x4db156,{'id':_0x3488cd(0x1b6),'ref':_0x38ccb3,'icon':Ze}));});ue[_0xc1789a(0x195)]=_0xc1789a(0x158);function _0x33ae(_0x5c22fc,_0x4a8cc7){var _0x4de0e2=_0x4de0();return _0x33ae=function(_0x33ae3e,_0x169f83){_0x33ae3e=_0x33ae3e-0x138;var _0x197731=_0x4de0e2[_0x33ae3e];return _0x197731;},_0x33ae(_0x5c22fc,_0x4a8cc7);}function Xe(_0xdef1ee){var _0x2ac33a=_0xc1789a,_0x3c4d80,_0x2b2309;const {mcpCoreConfig:_0x253848,onSave:_0x5b2c4a,loading:_0x22403b=!0x1,config:_0x4dbf82,connectionStatus$:_0x1749d5,connectionError$:_0x136b17}=_0xdef1ee,_0x19d372=_0x28253d(_0xbaffd5),_0x336e13=_0xb93d84(_0x1749d5,_0x48936c['DISCONNECTED']),_0xde438a=_0xb93d84(_0x136b17,_0x5a4b8c[_0x2ac33a(0x139)]),[_0x2bd837,_0x3b96de]=_0x4d08e2(_0x253848['apiKey']||''),_0xe6a8a4=!0x0,_0x386d6a=_0x4dbf82[_0x2ac33a(0x1f7)]&&_0x253848[_0x2ac33a(0x1fe)]&&(_0x253848[_0x2ac33a(0x1fe)]['includes'](_0x2ac33a(0x229))||_0x253848[_0x2ac33a(0x1fe)][_0x2ac33a(0x283)](_0x2ac33a(0x140))),_0x3eb6f2=(_0x3c4d80=_0x253848[_0x2ac33a(0x1fe)])==null?void 0x0:_0x3c4d80[_0x2ac33a(0x283)]('univer.plus'),_0x3b844a=(_0x2b2309=_0x253848[_0x2ac33a(0x1fe)])==null?void 0x0:_0x2b2309[_0x2ac33a(0x283)]('univer.ai'),_0x433846=_0x3eb6f2?_0x2ac33a(0x173):'https://console.univer.ai',_0x2516eb=_0x4dbf82[_0x2ac33a(0x1f7)]&&(_0x3eb6f2||_0x3b844a),[_0x4f1810,_0x3896a0]=_0x4d08e2(!_0x2bd837[_0x2ac33a(0x247)]()),_0x1adbf1=(_0x27e0ec,_0x3f9af2)=>{var _0x3194f1=_0x2ac33a;if(_0x3f9af2===_0x5a4b8c[_0x3194f1(0x1af)]||_0x3f9af2===_0x5a4b8c[_0x3194f1(0x208)])return _0x3194f1(0x20b);switch(_0x27e0ec){case _0x48936c[_0x3194f1(0x196)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x48936c[_0x3194f1(0x1c4)]:case _0x48936c[_0x3194f1(0x1eb)]:return _0x3194f1(0x200);case _0x48936c['FAILED']:return _0x3194f1(0x20b);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x3afeeb=(_0x1eaad4,_0x108265)=>{var _0x482420=_0x2ac33a;if(_0x108265===_0x5a4b8c[_0x482420(0x1af)]||_0x108265===_0x5a4b8c[_0x482420(0x208)])return _0x482420(0x152);switch(_0x1eaad4){case _0x48936c[_0x482420(0x196)]:return _0x482420(0x1c1);case _0x48936c[_0x482420(0x1c4)]:case _0x48936c['RETRYING']:return _0x482420(0x1d8);case _0x48936c[_0x482420(0x25d)]:return _0x482420(0x152);default:return _0x482420(0x22a);}},_0x462528=_0xb94a6a=>{var _0x289db6=_0x2ac33a;switch(_0xb94a6a){case _0x48936c[_0x289db6(0x196)]:return _0x19d372['t'](_0x289db6(0x1b2));case _0x48936c['CONNECTING']:return _0x19d372['t'](_0x289db6(0x22b));case _0x48936c[_0x289db6(0x25d)]:return _0x19d372['t']('mcpConfig.connectionStatus.failed');case _0x48936c[_0x289db6(0x1eb)]:return _0x19d372['t'](_0x289db6(0x268));default:return _0x19d372['t'](_0x289db6(0x1da));}},_0x17a9b5=_0x5651c2=>{var _0xda81b=_0x2ac33a;switch(_0x5651c2){case _0x5a4b8c[_0xda81b(0x1af)]:return _0x19d372['t'](_0xda81b(0x276));case _0x5a4b8c[_0xda81b(0x208)]:return _0x19d372['t'](_0xda81b(0x184));case _0x5a4b8c[_0xda81b(0x278)]:return _0x19d372['t'](_0xda81b(0x1e6));case _0x5a4b8c[_0xda81b(0x227)]:return _0x19d372['t'](_0xda81b(0x17d));case _0x5a4b8c['MAX_RETRIES_EXCEEDED']:return _0x19d372['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x1d7015=_0x262585(()=>{var _0x30865c=_0x2ac33a;const _0x1dd6f1={..._0x253848,'apiKey':_0x2bd837[_0x30865c(0x247)](),'enableAuth':_0xe6a8a4};_0x5b2c4a(_0x1dd6f1);},[_0x253848,_0x2bd837,_0xe6a8a4,_0x5b2c4a]),_0xc9c7b6=_0x2bd837['trim']()[_0x2ac33a(0x1fb)]>0x0;return _0x556a41(_0x2ac33a(0x1e4),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x19b),'children':_0x556a41(_0x2ac33a(0x1e4),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x1c0),'children':_0x2bf37b(_0x2ac33a(0x1c9),{'className':_0x2ac33a(0x1a4),'children':'⚙'})}),_0x2bf37b(_0x2ac33a(0x1e4),{'children':_0x2bf37b('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x19d372['t']('mcpConfig.description')})})]})}),_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x270),'children':[_0x2bf37b(_0x2ac33a(0x1e4),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1adbf1(_0x336e13,_0xde438a)+_0x2ac33a(0x19d),'children':_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x151),'children':[_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x219)+_0x3afeeb(_0x336e13,_0xde438a)+'\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'}),_0x2bf37b(_0x2ac33a(0x1c9),{'className':_0x2ac33a(0x18f),'children':_0x462528(_0x336e13)})]})}),_0xde438a!==_0x5a4b8c[_0x2ac33a(0x139)]&&(_0x336e13===_0x48936c[_0x2ac33a(0x25d)]||_0xde438a===_0x5a4b8c[_0x2ac33a(0x1af)]||_0xde438a===_0x5a4b8c[_0x2ac33a(0x208)])&&_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x1f0),'children':_0x556a41('div',{'className':_0x2ac33a(0x167),'children':[_0x2bf37b('span',{'className':_0x2ac33a(0x213),'children':'⚠️'}),_0x2bf37b('p',{'className':_0x2ac33a(0x225),'children':_0x17a9b5(_0xde438a)})]})})]}),_0x2bf37b(_0x2ac33a(0x1e4),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x14a),'children':[_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x1e9),'children':[_0x556a41(_0x2ac33a(0x206),{'className':_0x2ac33a(0x166),'children':[_0x2bf37b(_0x2ac33a(0x1c9),{'children':'🔑'}),'\x20',_0x19d372['t'](_0x2ac33a(0x1c7)),_0x2bf37b(_0x2ac33a(0x1c9),{'className':_0x2ac33a(0x25c),'children':'*'}),_0x386d6a&&_0x2bf37b('a',{'href':_0x2ac33a(0x161),'onClick':()=>_0x3896a0(!0x0),'className':_0x2ac33a(0x233),'title':_0x19d372['t']('mcpConfig.apiApplyInfo.title'),'children':_0x2bf37b(se,{})})]}),_0x2bf37b(_0x35757a,{'type':_0x2ac33a(0x156),'placeholder':_0x19d372['t'](_0x2ac33a(0x16a)),'value':_0x2bd837,'onChange':_0x3b96de,'disabled':_0x22403b,'autoComplete':_0x2ac33a(0x264)}),_0x2bf37b('p',{'className':_0x2ac33a(0x187),'children':_0x19d372['t'](_0x2ac33a(0x1d4))})]}),_0x386d6a&&_0x4f1810&&_0x556a41('div',{'className':_0x2ac33a(0x231),'children':[_0x2bf37b('a',{'href':_0x2ac33a(0x161),'onClick':()=>_0x3896a0(!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':_0x2ac33a(0x162),'children':_0x2bf37b(ae,{})}),_0x556a41(_0x2ac33a(0x1e4),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x14e),'children':_0x2bf37b(_0x2ac33a(0x1c9),{'className':'univer-text-blue-600','children':'🚀'})}),_0x556a41(_0x2ac33a(0x1e4),{'className':'univer-flex-1','children':[_0x2bf37b('h4',{'className':_0x2ac33a(0x1ab),'children':_0x19d372['t'](_0x2ac33a(0x1be))}),_0x2bf37b('p',{'className':_0x2ac33a(0x1d7),'children':_0x19d372['t']('mcpConfig.apiApplyInfo.description')}),_0x2bf37b(_0x2ac33a(0x1e4),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x2516eb&&_0x556a41('a',{'href':_0x433846,'target':'_blank','rel':_0x2ac33a(0x271),'className':_0x2ac33a(0x1a6),'children':[_0x2bf37b(_0x2ac33a(0x1c9),{'children':'🤖'}),_0x19d372['t'](_0x2ac33a(0x160)),_0x2bf37b(_0x2ac33a(0x1c9),{'className':_0x2ac33a(0x1bc),'children':'↗'})]})}),_0x556a41('div',{'className':_0x2ac33a(0x205),'children':['✨','\x20',_0x19d372['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x4dbf82[_0x2ac33a(0x1f7)]&&_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x13b),'children':[_0x556a41('h4',{'className':'univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':[_0x2bf37b('span',{'children':'🔗'}),'\x20',_0x19d372['t']('mcpConfig.connectionInfo')]}),_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x220),'children':[_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x159),'children':[_0x2bf37b('div',{'className':_0x2ac33a(0x1ee)}),_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x19a),'children':[_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x178),'children':_0x19d372['t'](_0x2ac33a(0x1fd))}),_0x2bf37b(_0x2ac33a(0x15a),{'className':_0x2ac33a(0x15b),'children':_0x253848[_0x2ac33a(0x1fe)]})]})]}),_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x159),'children':[_0x2bf37b('div',{'className':_0x2ac33a(0x1ee)}),_0x556a41(_0x2ac33a(0x1e4),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x178),'children':_0x19d372['t']('mcpConfig.sessionId')}),_0x2bf37b(_0x2ac33a(0x15a),{'className':_0x2ac33a(0x1e7),'children':_0x253848[_0x2ac33a(0x147)]||_0x2ac33a(0x255)})]})]})]})]}),_0x2bf37b(_0x1abec0,{'onClick':_0x1d7015,'disabled':!_0xc9c7b6||_0x22403b,'className':_0x2ac33a(0x25b),'children':_0x22403b?_0x556a41(_0x2ac33a(0x1c9),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2bf37b(_0x2ac33a(0x1c9),{'children':'⟲'}),_0x19d372['t']('mcpConfig.saving')]}):_0x556a41(_0x2ac33a(0x1c9),{'className':_0x2ac33a(0x151),'children':[_0x2bf37b(ce,{}),_0x19d372['t'](_0x2ac33a(0x182))]})}),_0x2bf37b(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x256),'children':_0x556a41(_0x2ac33a(0x1e4),{'className':_0x2ac33a(0x1ae),'children':[_0x2bf37b(_0x2ac33a(0x1c9),{'className':_0x2ac33a(0x230),'children':'💡'}),_0x556a41(_0x2ac33a(0x1e4),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x2bf37b('div',{'className':'univer-font-medium','children':_0x2ac33a(0x1f4)}),_0x556a41('div',{'children':['•',_0x19d372['t'](_0x2ac33a(0x1fa))]}),_0x556a41(_0x2ac33a(0x1e4),{'children':['•',_0x19d372['t']('mcpConfig.note2')]})]})]})})]})})]});}const U=_0xc1789a(0x232),J={'showDeveloperTools':!0x1};var Je=Object[_0xc1789a(0x1d6)],Qe=(_0x2be9ba,_0x3679bf,_0x106cad,_0x29f9aa)=>{var _0x124724=_0xc1789a;for(var _0x62f37f=_0x29f9aa>0x1?void 0x0:_0x29f9aa?Je(_0x3679bf,_0x106cad):_0x3679bf,_0x525eb8=_0x2be9ba[_0x124724(0x1fb)]-0x1,_0x242a0e;_0x525eb8>=0x0;_0x525eb8--)(_0x242a0e=_0x2be9ba[_0x525eb8])&&(_0x62f37f=_0x242a0e(_0x62f37f)||_0x62f37f);return _0x62f37f;},p=(_0x520fc5,_0x242234)=>(_0x52e849,_0x3e42e4)=>_0x242234(_0x52e849,_0x3e42e4,_0x520fc5);const R=_0xc1789a(0x191),j=_0xc1789a(0x1ef);let _=class extends _0x225cf9{constructor(_0x13c01f,_0xf90d45,_0x2bc5ad,_0x281759,_0x5648d7,_0x4633eb,_0x53fe80,_0x4f2880,_0x49e9a,_0x4f4e56){var _0x4dcd5f=_0xc1789a;super(),N(this,_0x4dcd5f(0x24b),new _0x18dae0(!0x1)),N(this,_0x4dcd5f(0x211),new _0x18dae0({})),N(this,_0x4dcd5f(0x21b),new _0x18dae0({})),N(this,_0x4dcd5f(0x246),async _0x3dbf9f=>{var _0xa0e561=_0x4dcd5f;this[_0xa0e561(0x24b)][_0xa0e561(0x1f3)](!0x0);try{const _0x9fb5ff=await this[_0xa0e561(0x237)](_0x3dbf9f);if(!_0x9fb5ff['isValid']){this['_messageService'][_0xa0e561(0x1b4)]({'type':_0x5ce56f[_0xa0e561(0x1d1)],'content':_0x9fb5ff[_0xa0e561(0x144)]||this['_localeService']['t'](_0xa0e561(0x1e5))});return;}_0x3dbf9f[_0xa0e561(0x179)]?await this[_0xa0e561(0x262)][_0xa0e561(0x1ce)](R,_0x3dbf9f[_0xa0e561(0x179)][_0xa0e561(0x247)]()):await this[_0xa0e561(0x262)][_0xa0e561(0x1c3)](R),this[_0xa0e561(0x1ca)][_0xa0e561(0x168)](_0x39db2a,{..._0x3dbf9f,'apiKey':_0x3dbf9f[_0xa0e561(0x179)]['trim']()}),this[_0xa0e561(0x211)][_0xa0e561(0x1f3)]({..._0x3dbf9f,'apiKey':_0x3dbf9f[_0xa0e561(0x179)][_0xa0e561(0x247)]()}),this[_0xa0e561(0x145)][_0xa0e561(0x1b4)]({'type':_0x5ce56f[_0xa0e561(0x148)],'content':this['_localeService']['t'](_0xa0e561(0x165))}),setTimeout(()=>{var _0x1cb616=_0xa0e561;this[_0x1cb616(0x13e)][_0x1cb616(0x23a)](j);},0x320);}catch(_0x5f142e){this[_0xa0e561(0x1f1)]['error'](_0xa0e561(0x263),_0x5f142e),this[_0xa0e561(0x145)][_0xa0e561(0x1b4)]({'type':_0x5ce56f[_0xa0e561(0x1d1)],'content':this[_0xa0e561(0x279)]['t']('mcpConfig.configError')});}finally{this[_0xa0e561(0x24b)][_0xa0e561(0x1f3)](!0x1);}}),(this[_0x4dcd5f(0x169)]=_0x13c01f,this[_0x4dcd5f(0x215)]=_0xf90d45,this[_0x4dcd5f(0x1ca)]=_0x2bc5ad,this[_0x4dcd5f(0x262)]=_0x281759,this[_0x4dcd5f(0x13e)]=_0x5648d7,this[_0x4dcd5f(0x145)]=_0x4633eb,this[_0x4dcd5f(0x1e2)]=_0x53fe80,this['_localeService']=_0x4f2880,this[_0x4dcd5f(0x1f1)]=_0x49e9a,this[_0x4dcd5f(0x20e)]=_0x4f4e56,this[_0x4dcd5f(0x224)](),this[_0x4dcd5f(0x157)](),this[_0x4dcd5f(0x177)]());}['showConfigPanel'](){var _0x3da134=_0xc1789a;this[_0x3da134(0x13e)][_0x3da134(0x23c)]({'id':j,'title':{'title':this[_0x3da134(0x279)]['t']('mcpConfig.title')},'children':{'label':_0x3da134(0x1e3)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{this['_dialogService']['close'](j);}});}[_0xc1789a(0x16e)](){var _0x2ae4e9=_0xc1789a;return this['_mcpCoreConfig$'][_0x2ae4e9(0x180)];}[_0xc1789a(0x177)](){var _0x2009c8=_0xc1789a;this[_0x2009c8(0x260)](this['_componentManager'][_0x2009c8(0x250)](_0x2009c8(0x1e3),this[_0x2009c8(0x1a7)]()));}['_createConfigPanelComponent'](){return _0x150892(()=>{var _0x3eff71=_0x33ae,_0x4afc21,_0x57032b;return _0x2bf37b(Xe,{'config':this[_0x3eff71(0x21b)][_0x3eff71(0x180)],'mcpCoreConfig':this[_0x3eff71(0x211)][_0x3eff71(0x180)],'onSave':this[_0x3eff71(0x246)],'loading':this[_0x3eff71(0x24b)][_0x3eff71(0x180)],'connectionStatus$':(_0x4afc21=this[_0x3eff71(0x20e)])==null?void 0x0:_0x4afc21[_0x3eff71(0x277)],'connectionError$':(_0x57032b=this['_mcpConnectionController'])==null?void 0x0:_0x57032b[_0x3eff71(0x272)]});},this['_injector']);}['_initConfigSync'](){var _0x1d2627=_0xc1789a;this[_0x1d2627(0x260)](this[_0x1d2627(0x1ca)][_0x1d2627(0x18c)](_0x39db2a)['subscribe'](_0x421cf6=>{var _0x5a6979=_0x1d2627;this[_0x5a6979(0x211)]['next'](_0x421cf6||{});}));const _0x2017cb=this[_0x1d2627(0x1ca)][_0x1d2627(0x1bb)](_0x39db2a);this[_0x1d2627(0x211)][_0x1d2627(0x1f3)](_0x2017cb||{}),this[_0x1d2627(0x260)](this[_0x1d2627(0x1ca)][_0x1d2627(0x18c)](U)['subscribe'](_0x16fdd2=>{var _0x1b9272=_0x1d2627;this[_0x1b9272(0x21b)][_0x1b9272(0x1f3)](_0x16fdd2||{});}));const _0x480f78=this[_0x1d2627(0x1ca)][_0x1d2627(0x1bb)](U);this[_0x1d2627(0x21b)][_0x1d2627(0x1f3)](_0x480f78||{});}async['_loadStoredApiKey'](){var _0x3bf186=_0xc1789a;const _0x20875b=await this[_0x3bf186(0x262)][_0x3bf186(0x1ad)](R);if(_0x20875b){const _0x2fe66c={...this[_0x3bf186(0x211)]['value'],'apiKey':_0x20875b};this[_0x3bf186(0x1ca)]['setConfig'](_0x39db2a,_0x2fe66c),this[_0x3bf186(0x211)]['next'](_0x2fe66c);}}async[_0xc1789a(0x237)](_0x49ac02){var _0xb2c232=_0xc1789a;if(!_0x49ac02[_0xb2c232(0x179)]||_0x49ac02[_0xb2c232(0x179)]['trim']()[_0xb2c232(0x1fb)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0xb2c232(0x279)]['t'](_0xb2c232(0x24e))};if(_0x49ac02['apiKey']['trim']()[_0xb2c232(0x1fb)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0xb2c232(0x279)]['t'](_0xb2c232(0x24c))};try{const _0x4bc3b6=await this[_0xb2c232(0x169)][_0xb2c232(0x253)](_0x27dad2)[_0xb2c232(0x13c)](_0x49ac02['apiKey'][_0xb2c232(0x247)]());return _0x4bc3b6[_0xb2c232(0x1d3)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x4bc3b6['error']||this[_0xb2c232(0x279)]['t'](_0xb2c232(0x218))};}catch(_0x1fc673){return console[_0xb2c232(0x14b)](_0xb2c232(0x1ac),_0x1fc673),{'isValid':!0x0};}}};_=Qe([p(0x0,_0x4cb90b(_0x448b06)),p(0x1,_0x13ba0a),p(0x2,_0x5a06e9),p(0x3,_0xf37a6b),p(0x4,_0x459b51),p(0x5,_0x54e4f9),p(0x6,_0x4cb90b(_0x37c218)),p(0x7,_0x4cb90b(_0xbaffd5)),p(0x8,_0x4fb853),p(0x9,_0x4cb90b(_0x27dad2))],_);const W={'id':_0xc1789a(0x21f),'type':_0x661ca2[_0xc1789a(0x153)],'handler':async(_0x5cb09a,_0x497a73)=>(_0x5cb09a[_0xc1789a(0x253)](_)[_0xc1789a(0x222)](),!0x0)};function ve(_0x33b16a,_0x5ef3b2){var _0x143c15=_0xc1789a;switch(_0x33b16a){case _0x48936c[_0x143c15(0x189)]:return _0x5ef3b2===_0x5a4b8c[_0x143c15(0x1af)]?'mcpStatus.missingApiKey':_0x143c15(0x154);case _0x48936c[_0x143c15(0x1c4)]:return _0x143c15(0x265);case _0x48936c['CONNECTED']:return'mcpStatus.connected';case _0x48936c[_0x143c15(0x25d)]:switch(_0x5ef3b2){case _0x5a4b8c['INVALID_API_KEY']:return _0x143c15(0x1f6);case _0x5a4b8c[_0x143c15(0x278)]:return'mcpStatus.sessionOccupied';case _0x5a4b8c['NETWORK_ERROR']:return _0x143c15(0x26d);case _0x5a4b8c[_0x143c15(0x1c2)]:return _0x143c15(0x217);default:return _0x143c15(0x170);}case _0x48936c[_0x143c15(0x1eb)]:return _0x143c15(0x1e1);default:return _0x143c15(0x22e);}}function en(_0x12e4db,_0x2a049e,_0x164868){var _0x37cf0e=_0xc1789a;const _0x118389=ve(_0x12e4db,_0x2a049e),_0x287557=_0x164868['t'](_0x118389);return _0x12e4db===_0x48936c['DISCONNECTED']&&_0x2a049e===_0x5a4b8c['MISSING_API_KEY']?_0x287557+_0x37cf0e(0x141)+_0x164868['t'](_0x37cf0e(0x1d2)):_0x12e4db===_0x48936c[_0x37cf0e(0x196)]?''+_0x287557:_0x12e4db===_0x48936c[_0x37cf0e(0x189)]||_0x12e4db===_0x48936c[_0x37cf0e(0x25d)]?_0x287557+_0x37cf0e(0x141)+_0x164868['t'](_0x37cf0e(0x16b)):_0x287557;}function nn(_0x9ba6be){var _0x5cf8ca=_0xc1789a;switch(_0x9ba6be){case _0x48936c['CONNECTED']:return _0x5cf8ca(0x21a);case _0x48936c[_0x5cf8ca(0x1c4)]:case _0x48936c[_0x5cf8ca(0x1eb)]:return'univer-text-yellow-500';case _0x48936c[_0x5cf8ca(0x25d)]:case _0x48936c[_0x5cf8ca(0x189)]:return'univer-text-red-500';default:return _0x5cf8ca(0x1b1);}}function rn(_0x3f5e85){var _0x830901=_0xc1789a;const {status$:_0x42b6be,error$:_0x1271a0,onConfigure:_0x579616}=_0x3f5e85,_0x567de7=_0xb93d84(_0x42b6be,_0x48936c[_0x830901(0x189)]),_0x13ecc0=_0xb93d84(_0x1271a0,_0x5a4b8c[_0x830901(0x139)]),_0x3618ec=_0x28253d(_0xbaffd5),_0x353f79=_0x567de7===_0x48936c[_0x830901(0x196)],_0x2a84aa=_0x567de7===_0x48936c['CONNECTING']||_0x567de7===_0x48936c[_0x830901(0x1eb)],_0xf523a5=_0x3618ec['t'](ve(_0x567de7,_0x13ecc0)),_0x55076a=en(_0x567de7,_0x13ecc0,_0x3618ec),_0x5bf1e5=nn(_0x567de7),_0x3490c9=_0x353f79?_0x2bf37b(ue,{}):_0x2bf37b(le,{}),_0x171676=_0x262585(()=>{_0x579616&&_0x579616();},[_0x353f79,_0x2a84aa,_0x579616]);function _0xecbdfb(){var _0x178fa5=_0x830901;return _0x556a41(_0x178fa5(0x1e4),{'className':_0x6a6f5c(_0x178fa5(0x257),_0x579616&&'hover:univer-opacity-80'),'onClick':_0x579616?_0x171676:void 0x0,'children':[_0x2bf37b(_0x178fa5(0x1e4),{'className':_0x6a6f5c(_0x178fa5(0x192),_0x5bf1e5),'children':_0x3490c9}),_0x2bf37b(_0x178fa5(0x1e4),{'className':_0x178fa5(0x174),'children':_0xf523a5})]});}return _0x2bf37b(_0x7efe13,{'title':_0x55076a,'placement':_0x830901(0x27e),'children':_0xecbdfb()});}var tn=Object['getOwnPropertyDescriptor'],on=(_0x13a001,_0x4e1023,_0x12f0e3,_0x58daaa)=>{for(var _0x5a95f4=_0x58daaa>0x1?void 0x0:_0x58daaa?tn(_0x4e1023,_0x12f0e3):_0x4e1023,_0x417f54=_0x13a001['length']-0x1,_0x33d5c6;_0x417f54>=0x0;_0x417f54--)(_0x33d5c6=_0x13a001[_0x417f54])&&(_0x5a95f4=_0x33d5c6(_0x5a95f4)||_0x5a95f4);return _0x5a95f4;},L=(_0x565a88,_0x2271e7)=>(_0x20568b,_0x51c2ab)=>_0x2271e7(_0x20568b,_0x51c2ab,_0x565a88);let O=class extends _0x225cf9{constructor(_0x414136,_0x15ab20,_0x75d40c){var _0xd410d7=_0xc1789a;super(),this[_0xd410d7(0x169)]=_0x414136,this[_0xd410d7(0x203)]=_0x15ab20,this['_uiPartsService']=_0x75d40c,this[_0xd410d7(0x20f)]();}[_0xc1789a(0x20f)](){var _0x509820=_0xc1789a;this[_0x509820(0x260)](this['_uiPartsService'][_0x509820(0x16d)](_0x5304a3['HEADER_MENU'],()=>_0x150892(cn({'status$':this[_0x509820(0x203)]['connectionStatus$'],'error$':this['_connectionController']['connectionError$'],'onConfigure':()=>this[_0x509820(0x1dd)]()}),this['_injector'])));}[_0xc1789a(0x1dd)](){var _0x5d9d88=_0xc1789a;this[_0x5d9d88(0x169)][_0x5d9d88(0x253)](_)['showConfigPanel']();}};O=on([L(0x0,_0x4cb90b(_0x448b06)),L(0x1,_0x4cb90b(_0x27dad2)),L(0x2,_0x13ba0a)],O);function cn(_0x497e14){const {status$:_0x341bbf,error$:_0x447407,onConfigure:_0x469499}=_0x497e14;return function(){return _0x2bf37b(rn,{'status$':_0x341bbf,'error$':_0x447407,'onConfigure':_0x469499});};}function an(_0x5091e5){var _0x4e7734=_0xc1789a;return{'id':W['id'],'type':_0x5a6c3f[_0x4e7734(0x266)],'icon':_0x4e7734(0x1ec),'title':_0x4e7734(0x16c),'tooltip':_0x4e7734(0x16c)};}const sn={[_0x2085ed[_0xc1789a(0x26e)]]:{[W['id']]:{'order':0xa,'menuItemFactory':an}}};var ln=Object[_0xc1789a(0x1d6)],un=(_0x465434,_0x5eea8b,_0x28b29a,_0x5e78bc)=>{var _0xaa25d8=_0xc1789a;for(var _0x5e3cd2=_0x5e78bc>0x1?void 0x0:_0x5e78bc?ln(_0x5eea8b,_0x28b29a):_0x5eea8b,_0x177568=_0x465434[_0xaa25d8(0x1fb)]-0x1,_0x56d298;_0x177568>=0x0;_0x177568--)(_0x56d298=_0x465434[_0x177568])&&(_0x5e3cd2=_0x56d298(_0x5e3cd2)||_0x5e3cd2);return _0x5e3cd2;},Q=(_0x4edf0c,_0xbca2e4)=>(_0x388515,_0x21c7fe)=>_0xbca2e4(_0x388515,_0x21c7fe,_0x4edf0c);let k=class extends _0x225cf9{constructor(_0x1074c6,_0x24774e){var _0xce123e=_0xc1789a;super(),this[_0xce123e(0x146)]=_0x1074c6,this[_0xce123e(0x186)]=_0x24774e,this[_0xce123e(0x1bf)](),this[_0xce123e(0x15e)]();}[_0xc1789a(0x1bf)](){var _0x7ffe53=_0xc1789a;[W][_0x7ffe53(0x1c5)](_0x123898=>{var _0x3c7f52=_0x7ffe53;this['disposeWithMe'](this[_0x3c7f52(0x146)][_0x3c7f52(0x1df)](_0x123898));});}[_0xc1789a(0x15e)](){var _0x5510d9=_0xc1789a;this[_0x5510d9(0x186)]['mergeMenu'](sn);}};k=un([Q(0x0,_0xcc8eb2),Q(0x1,_0x3e1938)],k);const Nn={'mcpStatus':{'disconnected':_0xc1789a(0x19f),'connecting':_0xc1789a(0x248),'connected':_0xc1789a(0x13d),'failed':_0xc1789a(0x194),'retrying':_0xc1789a(0x138),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0xc1789a(0x15f),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0xc1789a(0x216),'maxRetriesExceeded':_0xc1789a(0x239),'clickToConnect':_0xc1789a(0x23d),'clickToConfigure':_0xc1789a(0x221)},'mcpConfig':{'title':_0xc1789a(0x24f),'description':_0xc1789a(0x1cd),'apiKey':'API\x20Key','apiKeyPlaceholder':_0xc1789a(0x1a0),'apiKeyHint':_0xc1789a(0x15c),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0xc1789a(0x282),'connectionInfo':_0xc1789a(0x251),'serverEndpoint':_0xc1789a(0x14c),'sessionId':_0xc1789a(0x18a),'maxRetries':'Max\x20Retries','save':_0xc1789a(0x14f),'saving':'Saving...','note1':_0xc1789a(0x23b),'note2':_0xc1789a(0x228),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0xc1789a(0x16f),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0xc1789a(0x185),'invalidApiKey':_0xc1789a(0x261)},'connectionStatus':{'disconnected':_0xc1789a(0x244),'connecting':_0xc1789a(0x197),'connected':'Connected','failed':_0xc1789a(0x17a),'retrying':_0xc1789a(0x210)},'connectionError':{'missingApiKey':_0xc1789a(0x21c),'invalidApiKey':_0xc1789a(0x1a8),'sessionOccupied':_0xc1789a(0x26a),'networkError':_0xc1789a(0x269),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Pn={'mcpStatus':{'disconnected':_0xc1789a(0x171),'connecting':_0xc1789a(0x26f),'connected':_0xc1789a(0x24d),'failed':_0xc1789a(0x1e8),'retrying':_0xc1789a(0x245),'unknown':_0xc1789a(0x19e),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0xc1789a(0x1a1),'sessionOccupied':_0xc1789a(0x19c),'networkError':_0xc1789a(0x1de),'maxRetriesExceeded':_0xc1789a(0x150),'clickToConnect':_0xc1789a(0x149),'clickToConfigure':_0xc1789a(0x1b0)},'mcpConfig':{'title':_0xc1789a(0x163),'description':_0xc1789a(0x13f),'apiKey':'API\x20密钥','apiKeyPlaceholder':_0xc1789a(0x1dc),'apiKeyHint':_0xc1789a(0x1cf),'enableAuth':_0xc1789a(0x26b),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0xc1789a(0x240),'serverEndpoint':_0xc1789a(0x1cb),'sessionId':_0xc1789a(0x14d),'maxRetries':'最大重试次数','save':_0xc1789a(0x17f),'saving':_0xc1789a(0x26c),'note1':_0xc1789a(0x25f),'note2':_0xc1789a(0x20a),'configSaved':_0xc1789a(0x27c),'configError':'配置保存失败','apiApplyInfo':{'title':_0xc1789a(0x188),'description':_0xc1789a(0x172),'univerAiLabel':_0xc1789a(0x252),'getStarted':_0xc1789a(0x27f)},'validation':{'apiKeyRequired':_0xc1789a(0x17e),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0xc1789a(0x1f5),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0xc1789a(0x23e),'connecting':_0xc1789a(0x259),'connected':_0xc1789a(0x1b3),'failed':'连接失败','retrying':_0xc1789a(0x1a2)},'connectionError':{'missingApiKey':_0xc1789a(0x143),'invalidApiKey':_0xc1789a(0x22c),'sessionOccupied':_0xc1789a(0x24a),'networkError':_0xc1789a(0x1c8),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var vn=Object[_0xc1789a(0x1ea)],dn=Object[_0xc1789a(0x1d6)],gn=(_0x18f8a5,_0x16d160,_0x1e9e8d)=>_0x16d160 in _0x18f8a5?vn(_0x18f8a5,_0x16d160,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e9e8d}):_0x18f8a5[_0x16d160]=_0x1e9e8d,fn=(_0x16fe1a,_0x51aa64,_0x1bbf7d,_0x4ae4a4)=>{var _0x2026a3=_0xc1789a;for(var _0x252ef2=_0x4ae4a4>0x1?void 0x0:_0x4ae4a4?dn(_0x51aa64,_0x1bbf7d):_0x51aa64,_0x207aab=_0x16fe1a[_0x2026a3(0x1fb)]-0x1,_0x8828e0;_0x207aab>=0x0;_0x207aab--)(_0x8828e0=_0x16fe1a[_0x207aab])&&(_0x252ef2=_0x8828e0(_0x252ef2)||_0x252ef2);return _0x252ef2;},P=(_0x2c2b1e,_0x3fdf27)=>(_0x3c58ae,_0x29a343)=>_0x3fdf27(_0x3c58ae,_0x29a343,_0x2c2b1e),pn=(_0x1374f6,_0x32aa08,_0x16374b)=>gn(_0x1374f6,_0x32aa08+'',_0x16374b);let G=class extends _0x156b89{constructor(_0x1c91b1=J,_0x163681,_0x130dde,_0x24f557,_0x243f0c,_0x2e8027){var _0x32360c=_0xc1789a;super(),this[_0x32360c(0x1a3)]=_0x1c91b1,this['_injector']=_0x163681,this[_0x32360c(0x1ca)]=_0x130dde,this[_0x32360c(0x215)]=_0x24f557,this[_0x32360c(0x262)]=_0x243f0c,this[_0x32360c(0x279)]=_0x2e8027;const {..._0x325500}=_0x37b7f4({},J,this['_config']);this[_0x32360c(0x1ca)]['setConfig'](U,_0x325500);}async[_0xc1789a(0x1f8)](){var _0x11c6de=_0xc1789a;[[O],[_],[k]][_0x11c6de(0x1c5)](_0xa6c780=>this[_0x11c6de(0x169)][_0x11c6de(0x1c6)](_0xa6c780)),this[_0x11c6de(0x169)][_0x11c6de(0x253)](O),this[_0x11c6de(0x169)][_0x11c6de(0x253)](_),this[_0x11c6de(0x169)][_0x11c6de(0x253)](k);}};pn(G,_0xc1789a(0x242),_0xc1789a(0x198)),G=fn([_0x1988ce(_0x2bb3c7),P(0x1,_0x4cb90b(_0x448b06)),P(0x2,_0x5a06e9),P(0x3,_0x13ba0a),P(0x4,_0xf37a6b),P(0x5,_0x4cb90b(_0xbaffd5))],G);export{Xe as MCPConfigPanel,_ as MCPConfigUIController,O as MCPConnectionUIController,rn as MCPStatusDisplay,k as MCPUIMenuController,W as OpenMCPConfigPanelCommand,G as UniverMCPUIPlugin,Nn as enUS,Pn as zhCN};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4ee60e=_0x20c1;(function(_0x5a19d1,_0x250d00){const _0x18add5=_0x20c1,_0x13a346=_0x5a19d1();while(!![]){try{const _0x110310=-parseInt(_0x18add5(0x124))/0x1+parseInt(_0x18add5(0x148))/0x2*(parseInt(_0x18add5(0x13b))/0x3)+-parseInt(_0x18add5(0x14a))/0x4+-parseInt(_0x18add5(0x12b))/0x5*(parseInt(_0x18add5(0x134))/0x6)+parseInt(_0x18add5(0x149))/0x7+parseInt(_0x18add5(0x133))/0x8*(parseInt(_0x18add5(0x126))/0x9)+-parseInt(_0x18add5(0x131))/0xa*(-parseInt(_0x18add5(0x123))/0xb);if(_0x110310===_0x250d00)break;else _0x13a346['push'](_0x13a346['shift']());}catch(_0x655cd0){_0x13a346['push'](_0x13a346['shift']());}}}(_0xa7fd,0xce70a));function _0x20c1(_0x69d50,_0x4027de){const _0xa7fd20=_0xa7fd();return _0x20c1=function(_0x20c116,_0x234ad3){_0x20c116=_0x20c116-0x11d;let _0x23be02=_0xa7fd20[_0x20c116];return _0x23be02;},_0x20c1(_0x69d50,_0x4027de);}const e={'mcpStatus':{'disconnected':_0x4ee60e(0x127),'connecting':_0x4ee60e(0x130),'connected':_0x4ee60e(0x14d),'failed':_0x4ee60e(0x125),'retrying':_0x4ee60e(0x11d),'unknown':_0x4ee60e(0x146),'missingApiKey':_0x4ee60e(0x128),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x4ee60e(0x139),'networkError':_0x4ee60e(0x13c),'maxRetriesExceeded':_0x4ee60e(0x12e),'clickToConnect':_0x4ee60e(0x132),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x4ee60e(0x145),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x4ee60e(0x14e),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4ee60e(0x136),'connectionInfo':_0x4ee60e(0x138),'serverEndpoint':_0x4ee60e(0x14c),'sessionId':_0x4ee60e(0x143),'maxRetries':_0x4ee60e(0x12c),'save':_0x4ee60e(0x129),'saving':_0x4ee60e(0x142),'note1':_0x4ee60e(0x12a),'note2':_0x4ee60e(0x13e),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4ee60e(0x144),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0x4ee60e(0x141),'getStarted':_0x4ee60e(0x13a)},'validation':{'apiKeyRequired':_0x4ee60e(0x121),'apiKeyTooShort':_0x4ee60e(0x12f),'invalidConfig':_0x4ee60e(0x137),'invalidApiKey':_0x4ee60e(0x13d)},'connectionStatus':{'disconnected':_0x4ee60e(0x140),'connecting':_0x4ee60e(0x13f),'connected':_0x4ee60e(0x11f),'failed':_0x4ee60e(0x11e),'retrying':_0x4ee60e(0x147)},'connectionError':{'missingApiKey':_0x4ee60e(0x12d),'invalidApiKey':_0x4ee60e(0x122),'sessionOccupied':_0x4ee60e(0x135),'networkError':_0x4ee60e(0x120),'maxRetriesExceeded':_0x4ee60e(0x14b)}}},n=e;export{n as default};function _0xa7fd(){const _0x1ffebc=['MCP\x20Unknown\x20Status','Retrying...','976606ChXbfH','1798055sGrxVw','2382932EsncwE','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Server\x20Endpoint','MCP\x20Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','Connection\x20Failed','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','11Jlwvkc','690885SGgfEZ','MCP\x20Connection\x20Failed','8838lPgmGz','MCP\x20Disconnected','MCP:\x20API\x20Key\x20Missing','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','15qqHFoB','Max\x20Retries','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Connecting...','6661670cPouKV','Click\x20to\x20connect\x20MCP','7312bXPFNK','2306586GluICi','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Enable\x20authentication\x20for\x20secure\x20connections','Invalid\x20configuration','Connection\x20Information','MCP:\x20Session\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','9fSwMZD','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Connecting...','Disconnected','Univer\x20AI\x20Console','Saving...','Session\x20ID','Failed\x20to\x20save\x20configuration','API\x20Key'];_0xa7fd=function(){return _0x1ffebc;};return _0xa7fd();}
|