@univerjs-pro/mcp-ui 0.10.11-nightly.202510220308 → 0.10.12-nightly.202510221114
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 +7 -7
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x20cda9=_0xd09c;(function(_0x5c451b,_0x21d15b){const _0x329b7f=_0xd09c,_0x558ec9=_0x5c451b();while(!![]){try{const _0x327313=parseInt(_0x329b7f(0x1d4))/0x1*(parseInt(_0x329b7f(0x1e2))/0x2)+parseInt(_0x329b7f(0x1fd))/0x3*(parseInt(_0x329b7f(0x1f2))/0x4)+-parseInt(_0x329b7f(0x1eb))/0x5+-parseInt(_0x329b7f(0x1e6))/0x6+parseInt(_0x329b7f(0x1f3))/0x7*(-parseInt(_0x329b7f(0x1d7))/0x8)+-parseInt(_0x329b7f(0x1fc))/0x9*(parseInt(_0x329b7f(0x1e8))/0xa)+-parseInt(_0x329b7f(0x1ed))/0xb*(-parseInt(_0x329b7f(0x203))/0xc);if(_0x327313===_0x21d15b)break;else _0x558ec9['push'](_0x558ec9['shift']());}catch(_0xea4fdb){_0x558ec9['push'](_0x558ec9['shift']());}}}(_0x4738,0xbaa23));const e={'mcpStatus':{'disconnected':_0x20cda9(0x1dd),'connecting':_0x20cda9(0x1f7),'connected':_0x20cda9(0x1e3),'failed':_0x20cda9(0x1f0),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x20cda9(0x1fa),'sessionOccupied':_0x20cda9(0x1e7),'networkError':_0x20cda9(0x1fe),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x20cda9(0x1f1),'clickToConfigure':_0x20cda9(0x1e0)},'mcpConfig':{'title':_0x20cda9(0x1db),'description':_0x20cda9(0x1d9),'apiKey':_0x20cda9(0x1ff),'apiKeyPlaceholder':_0x20cda9(0x1f4),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x20cda9(0x1e4),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x20cda9(0x1de),'configInstructions':_0x20cda9(0x1ef),'configStepTitle':_0x20cda9(0x1e9),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x20cda9(0x1da),'configParameters':_0x20cda9(0x1df),'maxRetries':_0x20cda9(0x1d8),'save':_0x20cda9(0x1fb),'saving':'Saving...','note1':_0x20cda9(0x1dc),'note2':_0x20cda9(0x1ee),'configSaved':_0x20cda9(0x1ea),'configError':_0x20cda9(0x1f9),'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':_0x20cda9(0x1f6),'getStarted':_0x20cda9(0x1e5)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x20cda9(0x201),'invalidApiKey':_0x20cda9(0x202)},'connectionStatus':{'disconnected':_0x20cda9(0x1d6),'connecting':_0x20cda9(0x1ec),'connected':_0x20cda9(0x1f8),'failed':_0x20cda9(0x1d5),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x20cda9(0x200),'sessionOccupied':_0x20cda9(0x1e1),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x20cda9(0x1f5)}}},n=e;function _0xd09c(_0x3685c0,_0x5161d7){const _0x47384f=_0x4738();return _0xd09c=function(_0xd09c3f,_0x348829){_0xd09c3f=_0xd09c3f-0x1d4;let _0x40f292=_0x47384f[_0xd09c3f];return _0x40f292;},_0xd09c(_0x3685c0,_0x5161d7);}export{n as default};function _0x4738(){const _0x358288=['MCP:\x20Unauthorized','Save\x20Configuration','130563OvEsjM','1457322ehIyyc','MCP:\x20Network\x20Error','API\x20Key','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','19612884szRQfD','223FUFmeY','Connection\x20Failed','Disconnected','100208xYtSAn','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Disconnected','MCP\x20Client\x20Configuration','Configuration\x20Parameters:','Click\x20to\x20configure\x20MCP','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','922gpugCY','MCP\x20Connected','Enable\x20Authentication','Get\x20your\x20API\x20key\x20in\x20seconds','5355378YphMtA','MCP:\x20Session\x20ID\x20Occupied','60YUdGJu','Configuration\x20Steps:','Configuration\x20saved\x20successfully','2743020ZXrrcK','Connecting...','11OkgESG','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','Click\x20to\x20connect\x20MCP','12FFmkxH','504TBjVFZ','Enter\x20your\x20API\x20key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','MCP\x20Connecting...','Connected','Failed\x20to\x20save\x20configuration'];_0x4738=function(){return _0x358288;};return _0x4738();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x26972f=_0x3b45;(function(_0x1094a2,_0x324c17){const _0x2353c1=_0x3b45,_0x3c7af0=_0x1094a2();while(!![]){try{const _0x28f6ef=-parseInt(_0x2353c1(0x1b6))/0x1*(-parseInt(_0x2353c1(0x1ca))/0x2)+parseInt(_0x2353c1(0x1b4))/0x3*(-parseInt(_0x2353c1(0x1e1))/0x4)+parseInt(_0x2353c1(0x1d4))/0x5*(parseInt(_0x2353c1(0x1bd))/0x6)+-parseInt(_0x2353c1(0x1e5))/0x7+parseInt(_0x2353c1(0x1b7))/0x8*(parseInt(_0x2353c1(0x1d9))/0x9)+parseInt(_0x2353c1(0x1b9))/0xa*(-parseInt(_0x2353c1(0x1d7))/0xb)+parseInt(_0x2353c1(0x1bc))/0xc*(-parseInt(_0x2353c1(0x1d1))/0xd);if(_0x28f6ef===_0x324c17)break;else _0x3c7af0['push'](_0x3c7af0['shift']());}catch(_0x11a174){_0x3c7af0['push'](_0x3c7af0['shift']());}}}(_0x419e,0xbf70c));const e={'mcpStatus':{'disconnected':_0x26972f(0x1c2),'connecting':_0x26972f(0x1d2),'connected':_0x26972f(0x1b5),'failed':'MCP\x20Connection\x20Failed','retrying':_0x26972f(0x1c0),'unknown':_0x26972f(0x1d8),'unauthorized':_0x26972f(0x1db),'sessionOccupied':_0x26972f(0x1be),'networkError':_0x26972f(0x1c3),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x26972f(0x1c5),'clickToConfigure':_0x26972f(0x1de)},'mcpConfig':{'title':_0x26972f(0x1dc),'description':_0x26972f(0x1e2),'apiKey':_0x26972f(0x1ce),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x26972f(0x1d5),'enableAuth':_0x26972f(0x1d3),'enableAuthHint':_0x26972f(0x1bf),'connectionInfo':_0x26972f(0x1df),'mcpClientConfig':_0x26972f(0x1df),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x26972f(0x1e6),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x26972f(0x1c4),'configStep3':_0x26972f(0x1cb),'sessionId':_0x26972f(0x1b8),'sessionIdDescription':_0x26972f(0x1bb),'authorizationDescription':_0x26972f(0x1ba),'configParameters':_0x26972f(0x1c8),'maxRetries':_0x26972f(0x1cf),'save':_0x26972f(0x1c9),'saving':'Saving...','note1':_0x26972f(0x1d0),'note2':_0x26972f(0x1cd),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x26972f(0x1dd),'univerAiLabel':_0x26972f(0x1cc),'getStarted':_0x26972f(0x1d6)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x26972f(0x1e0),'invalidConfig':_0x26972f(0x1e3),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x26972f(0x1e4),'connecting':'Connecting...','connected':'Connected','failed':_0x26972f(0x1c7),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x26972f(0x1c6),'sessionOccupied':_0x26972f(0x1c1),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x26972f(0x1da)}}},n=e;export{n as default};function _0x3b45(_0x58f2f6,_0x46c22f){const _0x419e27=_0x419e();return _0x3b45=function(_0x3b459a,_0x418693){_0x3b459a=_0x3b459a-0x1b4;let _0x6cbf5f=_0x419e27[_0x3b459a];return _0x6cbf5f;},_0x3b45(_0x58f2f6,_0x46c22f);}function _0x419e(){const _0xca1ecb=['Get\x20your\x20API\x20key\x20in\x20seconds','1617187rdzXgG','MCP\x20Unknown\x20Status','198wIJmjP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','MCP\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20configure\x20MCP','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','216BVSohM','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Invalid\x20configuration','Disconnected','1554154HSZhiU','Configuration\x20Steps:','86841qVbBJL','MCP\x20Connected','11552QnrBnV','557464lIPjRC','Session\x20ID','40znrGMP','API\x20key\x20with\x20Bearer\x20prefix.','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','60dVnNCp','258juDsaa','MCP:\x20Session\x20ID\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Disconnected','MCP:\x20Network\x20Error','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connection\x20Failed','Configuration\x20Parameters:','Save\x20Configuration','186wgzYDd','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Univer\x20AI\x20Console','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key','Max\x20Retries','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1532349yBmYqS','MCP\x20Connecting...','Enable\x20Authentication','132485TaODQk','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser'];_0x419e=function(){return _0xca1ecb;};return _0x419e();}
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x20bcd9=_0x1bcd;(function(_0x5d5574,_0x2158d9){const _0x363a94=_0x1bcd,_0x160dd6=_0x5d5574();while(!![]){try{const _0x580616=parseInt(_0x363a94(0x18f))/0x1*(parseInt(_0x363a94(0x168))/0x2)+parseInt(_0x363a94(0x15d))/0x3*(parseInt(_0x363a94(0x175))/0x4)+-parseInt(_0x363a94(0x15f))/0x5*(-parseInt(_0x363a94(0x16c))/0x6)+parseInt(_0x363a94(0x16b))/0x7+-parseInt(_0x363a94(0x164))/0x8+-parseInt(_0x363a94(0x17b))/0x9*(-parseInt(_0x363a94(0x178))/0xa)+-parseInt(_0x363a94(0x16a))/0xb*(parseInt(_0x363a94(0x17a))/0xc);if(_0x580616===_0x2158d9)break;else _0x160dd6['push'](_0x160dd6['shift']());}catch(_0x2b8336){_0x160dd6['push'](_0x160dd6['shift']());}}}(_0xab33,0x8a811));const e={'mcpStatus':{'disconnected':_0x20bcd9(0x18c),'connecting':_0x20bcd9(0x165),'connected':_0x20bcd9(0x176),'failed':_0x20bcd9(0x182),'retrying':_0x20bcd9(0x181),'unknown':_0x20bcd9(0x169),'unauthorized':_0x20bcd9(0x17e),'sessionOccupied':_0x20bcd9(0x172),'networkError':_0x20bcd9(0x18b),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x20bcd9(0x18d)},'mcpConfig':{'title':_0x20bcd9(0x163),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x20bcd9(0x16f),'apiKeyPlaceholder':_0x20bcd9(0x16d),'apiKeyHint':_0x20bcd9(0x188),'enableAuth':'启用身份验证','enableAuthHint':_0x20bcd9(0x15b),'connectionInfo':_0x20bcd9(0x16e),'mcpClientConfig':_0x20bcd9(0x16e),'configInstructions':_0x20bcd9(0x186),'configStepTitle':_0x20bcd9(0x173),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x20bcd9(0x17d),'configStep3':_0x20bcd9(0x174),'sessionId':_0x20bcd9(0x166),'sessionIdDescription':_0x20bcd9(0x179),'authorizationDescription':_0x20bcd9(0x18e),'configParameters':_0x20bcd9(0x177),'maxRetries':_0x20bcd9(0x185),'save':'保存配置','saving':_0x20bcd9(0x184),'note1':'配置更改将立即生效','note2':_0x20bcd9(0x171),'configSaved':_0x20bcd9(0x15e),'configError':_0x20bcd9(0x187),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x20bcd9(0x17f)},'validation':{'apiKeyRequired':_0x20bcd9(0x180),'apiKeyTooShort':_0x20bcd9(0x161),'invalidConfig':_0x20bcd9(0x162),'invalidApiKey':_0x20bcd9(0x167)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x20bcd9(0x15c),'failed':_0x20bcd9(0x183),'retrying':_0x20bcd9(0x18a)},'connectionError':{'unauthorized':_0x20bcd9(0x170),'sessionOccupied':_0x20bcd9(0x17c),'networkError':_0x20bcd9(0x189),'maxRetriesExceeded':_0x20bcd9(0x160)}}};function _0x1bcd(_0x161dcc,_0x3229bc){const _0xab330a=_0xab33();return _0x1bcd=function(_0x1bcd0f,_0x2f449d){_0x1bcd0f=_0x1bcd0f-0x15b;let _0x4aebf8=_0xab330a[_0x1bcd0f];return _0x4aebf8;},_0x1bcd(_0x161dcc,_0x3229bc);}function _0xab33(){const _0x4080bf=['几秒钟内获取您的\x20API\x20密钥','API\x20密钥不能为空','MCP\x20重连中...','MCP\x20连接失败','连接失败','保存中...','最大重试次数','将以下配置添加到您的\x20MCP\x20客户端设置中:','配置保存失败','您的\x20API\x20密钥将在此浏览器中本地存储','网络连接错误,请检查您的网络连接','重连中...','MCP:\x20网络错误','MCP\x20已断开','点击配置\x20MCP','带有\x20Bearer\x20前缀的\x20API\x20密钥。','13quUmve','启用身份验证以获得安全连接','已连接','699288FDWNxY','配置保存成功','10nZwmjN','超出最大重试次数,请稍后再试','API\x20密钥长度至少需要\x2010\x20位','配置无效','MCP\x20配置','4345888tVYnpD','MCP\x20连接中...','会话ID','API\x20密钥无效,请检查密钥是否正确','156470NxSkkt','MCP\x20状态未知','20336503TGRZWz','3822728sSHOex','2606226wDQXul','请输入您的\x20API\x20密钥','MCP\x20客户端配置','API\x20密钥','权限验证失败,请检查您的\x20API\x20密钥','您的\x20API\x20密钥安全存储在本地存储中','MCP:\x20会话\x20ID\x20已被占用','配置步骤:','重启您的\x20MCP\x20客户端以使配置生效','4soDNsb','MCP\x20已连接','配置参数:','15250GEQVff','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','12OXLmNu','1737JocSuV','会话\x20ID\x20已被占用,请稍后再试','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP:\x20未授权'];_0xab33=function(){return _0x4080bf;};return _0xab33();}export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1508(){const _0x4f114e=['API\x20key\x20with\x20Bearer\x20prefix.','3ByqDuS','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','482364rpdutN','3141752mgJOdf','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Steps:','6bumMOc','MCP\x20Connected','API\x20Key','11wUdpbe','804OAcbmV','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Enable\x20Authentication','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','Click\x20to\x20configure\x20MCP','Invalid\x20configuration','4109AbKGpm','MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Retrying...','532719MilSLE','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','693880QwhWYT','Connection\x20Failed','MCP\x20Client\x20Configuration','Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','4085990EXvGMr','Session\x20ID','Enable\x20authentication\x20for\x20secure\x20connections','15046eUueHR','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connecting...','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Disconnected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'];_0x1508=function(){return _0x4f114e;};return _0x1508();}const _0x41c248=_0x573b;function _0x573b(_0x31f67c,_0x5dc8ee){const _0x15083e=_0x1508();return _0x573b=function(_0x573b45,_0x55cb65){_0x573b45=_0x573b45-0x1f0;let _0x4d1595=_0x15083e[_0x573b45];return _0x4d1595;},_0x573b(_0x31f67c,_0x5dc8ee);}(function(_0xe459ce,_0x40eba6){const _0x27a2a=_0x573b,_0x511b9c=_0xe459ce();while(!![]){try{const _0x2c49d8=parseInt(_0x27a2a(0x20a))/0x1*(parseInt(_0x27a2a(0x1f7))/0x2)+-parseInt(_0x27a2a(0x201))/0x3*(parseInt(_0x27a2a(0x206))/0x4)+parseInt(_0x27a2a(0x220))/0x5+parseInt(_0x27a2a(0x20e))/0x6*(parseInt(_0x27a2a(0x21a))/0x7)+-parseInt(_0x27a2a(0x207))/0x8+parseInt(_0x27a2a(0x21e))/0x9+parseInt(_0x27a2a(0x1f4))/0xa*(parseInt(_0x27a2a(0x20d))/0xb);if(_0x2c49d8===_0x40eba6)break;else _0x511b9c['push'](_0x511b9c['shift']());}catch(_0xa2814a){_0x511b9c['push'](_0x511b9c['shift']());}}}(_0x1508,0x34fdc));const e={'mcpStatus':{'disconnected':_0x41c248(0x1fe),'connecting':_0x41c248(0x217),'connected':_0x41c248(0x20b),'failed':_0x41c248(0x21b),'retrying':_0x41c248(0x21d),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x41c248(0x1fd),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x41c248(0x218)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x41c248(0x203),'apiKey':_0x41c248(0x20c),'apiKeyPlaceholder':_0x41c248(0x204),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x41c248(0x215),'enableAuthHint':_0x41c248(0x1f6),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x41c248(0x222),'configInstructions':_0x41c248(0x211),'configStepTitle':_0x41c248(0x209),'configStep1':_0x41c248(0x1f1),'configStep2':_0x41c248(0x216),'configStep3':_0x41c248(0x1fa),'sessionId':_0x41c248(0x1f5),'sessionIdDescription':_0x41c248(0x21f),'authorizationDescription':_0x41c248(0x200),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x41c248(0x1fc),'save':_0x41c248(0x212),'saving':_0x41c248(0x1f2),'note1':_0x41c248(0x214),'note2':_0x41c248(0x205),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x41c248(0x1f8),'description':_0x41c248(0x213),'univerAiLabel':_0x41c248(0x1f9),'getStarted':_0x41c248(0x20f)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x41c248(0x208),'invalidConfig':_0x41c248(0x219),'invalidApiKey':_0x41c248(0x1ff)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x41c248(0x1fb),'connected':'Connected','failed':_0x41c248(0x221),'retrying':_0x41c248(0x1f0)},'connectionError':{'unauthorized':_0x41c248(0x1f3),'sessionOccupied':_0x41c248(0x202),'networkError':_0x41c248(0x21c),'maxRetriesExceeded':_0x41c248(0x210)}}},n=e;export{n as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2f3b(_0x3a15a0,_0x320b34){var _0x456a53=_0x456a();return _0x2f3b=function(_0x2f3bf8,_0x6aa7dd){_0x2f3bf8=_0x2f3bf8-0x84;var _0x58c81e=_0x456a53[_0x2f3bf8];return _0x58c81e;},_0x2f3b(_0x3a15a0,_0x320b34);}function _0x456a(){var _0x3a51ac=['_initConfigSync','div','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','jsx','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Tooltip','IDialogService','OffLineIcon','\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','_initAutoConnect','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','_commandService','univer-flex\x20univer-items-center','prototype','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','mcpConfig.connectionStatus.retrying','Authorization:','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_mcpConnectionController','https://console.univer.plus','univer-space-y-4','mcpConfig.validation.apiKeyTooShort','API\x20密钥','showDeveloperTools','MCP\x20客户端配置','clsx','_handleConfigure','merge','registerCommand','clipPath','Copy\x20the\x20JSON\x20configuration\x20below','mcpServerUrl','useObservable','2040EfQQQs','mcpConfig.sessionIdDescription','ILocalStorageService','defineProperty','2783jcnrnv','univer_session_id:','_dialogService','Univer\x20AI\x20控制台','getOwnPropertySymbols','UniverMCPUIPlugin','defIds','Plugin','Input','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','配置更改将立即生效','ILogService','pluginName','string','span','mcpStatus.maxRetriesExceeded','MCP\x20Retrying...','MCP_PLUGIN_CONFIG_KEY','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','重启您的\x20MCP\x20客户端以使配置生效','_messageService','ISocketService','MCP\x20Connected','配置步骤:','点击连接\x20MCP','Connected','NONE','MCP\x20配置','MCP:\x20会话\x20ID\x20已被占用','rxjs','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mask','apiKey','svg','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-text-yellow-500','Click\x20to\x20configure\x20MCP','show','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpStatus.connected','attrs','translate(.97)','Connecting...','mcpConfig.apiApplyInfo.title','mcpConfig.connectionStatus.disconnected','bottom','useRef','_localStorageService','289017yUSWbn','univer.ai','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-text-gray-500','on-line-icon','mcp-ui.command.openConfigPanel','MCPUIMenuController','check-mark-icon','mcp-config-dialog','univer-text-white','IUIPartsService','BuiltInUIPart','MCPConnectionStatus','connectInjector','1em','_blank','MCP:\x20未授权','What\x20is\x20API\x20Key?','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','univer.plus','RibbonStartGroup','evenodd','mcpStatus.retrying','带有\x20Bearer\x20前缀的\x20API\x20密钥。','mcp.apiKey','复制以下\x20JSON\x20配置','Close','univer-flex-shrink-0\x20univer-text-red-500','mcpConfig.configStep1','noopener\x20noreferrer','超出最大重试次数,请稍后再试','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','未连接','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','_injector','map','includes','MCP_UI_PLUGIN','getConfig','什么是\x20API\x20密钥?','path','mcpConfig.connectionInfo','univer-text-xs\x20univer-text-gray-500','UniverIcon','重连中...','MCP:\x20超出最大重试次数','UNAUTHORIZED','_loading$','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','react/jsx-runtime','className','API\x20Key','text','react','univer-flex\x20univer-items-center\x20univer-gap-3','MCP\x20Connecting...','url(#on-line-icon_clip0_910_349)','univer-min-w-0\x20univer-flex-1','会话\x20ID\x20已被占用,请稍后再试','Enter\x20your\x20API\x20key','__setCustomHeaders','use','jsxs','API\x20密钥不能为空','on-line-icon_clip0_910_349','current','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','white','mcpConfig.apiApplyInfo.univerAiLabel','IMenuManagerService','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','MCP\x20Disconnected','setConfig','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','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','MCP\x20Client\x20Configuration','Retrying...','RETRYING','_initStatusComponent','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MenuIcon','error','WebSocketService','substring','function','Inject','SESSION_ID_OCCUPIED','5595540gCSdsN','mcpConfig.configParameters','colorChannel1','univer-text-green-500','mcpConfig.saving','COMMAND','sessionId$','univerjs-icon\x20univerjs-icon-','284cSyFNs','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','Configuration\x20Steps:','几秒钟内获取您的\x20API\x20密钥','children','random','配置保存失败','@univerjs/ui','univer-flex\x20univer-items-center\x20univer-gap-2','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','启用身份验证以获得安全连接','MCPConfigUIController','close','FAILED','mcpStatus.networkError','MCP\x20连接中...','setItem','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','CONNECTED','将以下配置添加到您的\x20MCP\x20客户端设置中:','NETWORK_ERROR','add','连接失败','round','hasOwnProperty','_mcpCoreConfig$','BUTTON','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','univer-space-y-3','最大重试次数','CONNECTING','univer-flex\x20univer-items-start\x20univer-gap-2','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.apiKeyHint','_connectionController','MessageType','@univerjs/design','保存中...','mcpStatus.clickToConfigure','_apiKey$','univer-font-medium','615482mvYaND','MenuItemType','univer-bg-gray-500','exports','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','none','univer-bg-red-500','Disposable','mcpConfig.connectionStatus.connected','replace','56kAkkJv','mcpConfig.note2','HelpSingle','_configService','会话ID','连接中...','mcpConfig.connectionStatus.connecting','javascript:void(0)','indexOf','label','React','connectionError$','xlink:href','DependentOn','@univerjs-pro/mcp','close-small-single','Success','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-text-gray-400','extend','mcpConfig.note1','warn','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','fill','help-single','univer-text-sm\x20univer-font-medium','_componentManager','off-line-icon_clip0_910_343','register','toString','entries','length','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','2442864RUyXth','DISCONNECTED','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','mcpConfig.title','call','forEach','subscribeConfigValue$','您的\x20API\x20密钥将在此浏览器中本地存储','_logService','univer-text-red-500','mcpStatus.unauthorized','mcpConfig.configInstructions','showConfigPanel','_menuManagerService','网络连接错误,请检查您的网络连接','API\x20key\x20is\x20required','univer-text-xs\x20univer-text-gray-600','Click\x20to\x20connect\x20MCP','95139fvRIqG','MCP\x20已断开','off','_validateConfig','MAX_RETRIES_EXCEEDED','get','Button','_config','\x20-\x20','removeItem','M0\x200H16V16H0z','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','MCP\x20Configuration','isValid','MCPStatusDisplay','mcpConfig.configStep3','Failed\x20to\x20save\x20configuration','UniverCore','_localeService','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','zhCN','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','univer-text-blue-600','_uiPartsService','url(#$1','currentColor','mcpConfig.validation.invalidConfig','MCP\x20Connection\x20Failed','defs','已连接','_config$','MCPConfigPanel','_initializeMenus','icon','_initializeCommands','value','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Configuration\x20saved\x20successfully','MCP:\x20Session\x20ID\x20Occupied','pre','Session\x20ID','MCPConnectionUIController','off-line-icon','getCurrentConfig','onStarting','getOwnPropertyDescriptor','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpStatus.sessionOccupied','mcpConfig.apiApplyInfo.description','displayName','trim','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Injector','保存配置','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','mcpConfig.connectionStatus.failed','mcpConfig.apiKeyPlaceholder','Configuration\x20Notes:','mcpStatus.disconnected','<API_KEY>','BehaviorSubject','配置保存成功','assign','Module','idSuffix','mcpStatus.connecting','mcpConfig.description','OnLineIcon','CloseSmallSingle','concat','MCPConnectionError','Max\x20Retries','IConfigService','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','push','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','CheckMarkIcon','mcpConfig.connectionError.networkError','useCallback','MCP\x20Unknown\x20Status','MCPConnectionController','tag','2110TwhVhh','univer-flex\x20univer-gap-3','MCP:\x20网络错误','forwardRef','univer-bg-blue-500','useDependency','univer-flex-1','next','univer-text-sm\x20univer-text-gray-500','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-space-y-2','LocaleService','univer-bg-green-500','M5.21243\x2012.287L11.8791\x205.62036','_registerComponent','4218WaCNJI','disposeWithMe','\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','validateApiKey','API\x20密钥无效,请检查密钥是否正确','_createConfigPanelComponent','_loadStoredApiKey','mcpConfig.configError','mcpStatus.failed','配置参数:','subscribe','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Univer\x20AI\x20Console','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','ComponentManager','registerComponent','MCP:\x20Network\x20Error','mcpConfig.configSaved','0\x200\x2016\x2016','@univerjs/core','mcpStatus.clickToConnect','createElement','Save\x20Configuration','connectionStatus$','_handleConfigSave','http://www.w3.org/2000/svg'];_0x456a=function(){return _0x3a51ac;};return _0x456a();}(function(_0x589d63,_0x4ccb03){var _0xcfb00a=_0x2f3b,_0x3f2275=_0x589d63();while(!![]){try{var _0x2aeb62=-parseInt(_0xcfb00a(0x96))/0x1*(parseInt(_0xcfb00a(0x127))/0x2)+parseInt(_0xcfb00a(0x17d))/0x3+-parseInt(_0xcfb00a(0x11f))/0x4+-parseInt(_0xcfb00a(0x1e3))/0x5*(parseInt(_0xcfb00a(0x1f2))/0x6)+parseInt(_0xcfb00a(0x152))/0x7+-parseInt(_0xcfb00a(0x15c))/0x8*(-parseInt(_0xcfb00a(0xc7))/0x9)+-parseInt(_0xcfb00a(0x92))/0xa*(-parseInt(_0xcfb00a(0x18f))/0xb);if(_0x2aeb62===_0x4ccb03)break;else _0x3f2275['push'](_0x3f2275['shift']());}catch(_0x4b1e11){_0x3f2275['push'](_0x3f2275['shift']());}}}(_0x456a,0xc3798),function(_0x1dea45,_0x2a0171){var _0x130762=_0x2f3b;typeof exports=='object'&&typeof module<'u'?_0x2a0171(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x130762(0x11c)&&define['amd']?define([_0x130762(0x155),_0x130762(0x205),_0x130762(0xf9),_0x130762(0x16a),_0x130762(0x14d),_0x130762(0x12e),_0x130762(0xb3),_0x130762(0xfd),'@univerjs/network'],_0x2a0171):(_0x1dea45=typeof globalThis<'u'?globalThis:_0x1dea45||self,_0x2a0171(_0x1dea45['UniverProMcpUi']={},_0x1dea45[_0x130762(0x1a1)],_0x1dea45[_0x130762(0x166)],_0x1dea45['UniverProMcp'],_0x1dea45['UniverDesign'],_0x1dea45['UniverUi'],_0x1dea45[_0x130762(0xb3)],_0x1dea45[_0x130762(0x166)],_0x1dea45['UniverNetwork']));}(this,function(_0x2f44b2,_0x2d2b72,_0x5894a5,_0x497ef3,_0x2b0681,_0x447b69,_0x3fbafd,_0x59d82d,_0x50e67a){'use strict';var _0x37b30b=_0x2f3b;var _0x7952c6=Object[_0x37b30b(0x95)],_0x35ec7b=(_0x19b828,_0x9efd9f,_0x3b7e0e)=>_0x9efd9f in _0x19b828?_0x7952c6(_0x19b828,_0x9efd9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b7e0e}):_0x19b828[_0x9efd9f]=_0x3b7e0e,_0x1ab7a2=(_0x329c19,_0x5329e4,_0x133405)=>_0x35ec7b(_0x329c19,typeof _0x5329e4!='symbol'?_0x5329e4+'':_0x5329e4,_0x133405),_0x5a5c27=function(){var _0x41a68f=_0x37b30b;return _0x5a5c27=Object[_0x41a68f(0x1cf)]||function(_0x1ef48b){var _0x42beb6=_0x41a68f;for(var _0x24eff5,_0x308d5f=0x1,_0x4bc15b=arguments[_0x42beb6(0x17b)];_0x308d5f<_0x4bc15b;_0x308d5f++){_0x24eff5=arguments[_0x308d5f];for(var _0x57e058 in _0x24eff5)Object[_0x42beb6(0x219)][_0x42beb6(0x13f)][_0x42beb6(0x181)](_0x24eff5,_0x57e058)&&(_0x1ef48b[_0x57e058]=_0x24eff5[_0x57e058]);}return _0x1ef48b;},_0x5a5c27['apply'](this,arguments);},_0x20265a=function(_0x286552,_0x503f43){var _0x3c5bc5=_0x37b30b,_0x663f2d={};for(var _0x2351b3 in _0x286552)Object[_0x3c5bc5(0x219)][_0x3c5bc5(0x13f)]['call'](_0x286552,_0x2351b3)&&_0x503f43[_0x3c5bc5(0x164)](_0x2351b3)<0x0&&(_0x663f2d[_0x2351b3]=_0x286552[_0x2351b3]);if(_0x286552!=null&&typeof Object[_0x3c5bc5(0x9a)]=='function'){for(var _0x1bbeac=0x0,_0x2351b3=Object['getOwnPropertySymbols'](_0x286552);_0x1bbeac<_0x2351b3[_0x3c5bc5(0x17b)];_0x1bbeac++)_0x503f43[_0x3c5bc5(0x164)](_0x2351b3[_0x1bbeac])<0x0&&Object[_0x3c5bc5(0x219)]['propertyIsEnumerable']['call'](_0x286552,_0x2351b3[_0x1bbeac])&&(_0x663f2d[_0x2351b3[_0x1bbeac]]=_0x286552[_0x2351b3[_0x1bbeac]]);}return _0x663f2d;},_0x334dd2=_0x59d82d[_0x37b30b(0x1e6)](function(_0x46e63c,_0x10fdac){var _0x2e07d7=_0x37b30b,_0x5ead30=_0x46e63c[_0x2e07d7(0x1b1)],_0x316834=_0x46e63c['id'],_0x2071c0=_0x46e63c['className'],_0x4c494f=_0x46e63c[_0x2e07d7(0x16f)],_0x23763b=_0x20265a(_0x46e63c,[_0x2e07d7(0x1b1),'id',_0x2e07d7(0xfa),_0x2e07d7(0x16f)]),_0x255e10=_0x2e07d7(0x126)[_0x2e07d7(0x1d6)](_0x316834,'\x20')['concat'](_0x2071c0||'')[_0x2e07d7(0x1c3)](),_0x449f5f=_0x59d82d[_0x2e07d7(0xc5)]('_'[_0x2e07d7(0x1d6)](_0x151fb7()));return _0x15a245(_0x5ead30,''[_0x2e07d7(0x1d6)](_0x316834),{'defIds':_0x5ead30[_0x2e07d7(0x9c)],'idSuffix':_0x449f5f[_0x2e07d7(0x109)]},_0x5a5c27({'ref':_0x10fdac,'className':_0x255e10},_0x23763b),_0x4c494f);});function _0x15a245(_0x3c7249,_0x24fb21,_0x33b45f,_0x14cd4f,_0x21e96e){var _0x6bc91d=_0x37b30b;return _0x59d82d[_0x6bc91d(0x207)](_0x3c7249[_0x6bc91d(0x1e2)],_0x5a5c27(_0x5a5c27({'key':_0x24fb21},_0x5d4e3d(_0x3c7249,_0x33b45f,_0x21e96e)),_0x14cd4f),(_0xbdcd80(_0x3c7249,_0x33b45f)[_0x6bc91d(0x12b)]||[])[_0x6bc91d(0xeb)](function(_0x27e0c7,_0x9c489){var _0x281232=_0x6bc91d;return _0x15a245(_0x27e0c7,''[_0x281232(0x1d6)](_0x24fb21,'-')[_0x281232(0x1d6)](_0x3c7249[_0x281232(0x1e2)],'-')['concat'](_0x9c489),_0x33b45f,void 0x0,_0x21e96e);}));}function _0x5d4e3d(_0x1d1bbe,_0x21a7ed,_0x77ba4c){var _0x330409=_0x37b30b,_0x595db7=_0x5a5c27({},_0x1d1bbe[_0x330409(0xbf)]);_0x77ba4c!=null&&_0x77ba4c[_0x330409(0x121)]&&_0x595db7[_0x330409(0x173)]==='colorChannel1'&&(_0x595db7[_0x330409(0x173)]=_0x77ba4c[_0x330409(0x121)]),_0x1d1bbe['tag']===_0x330409(0xb5)&&_0x595db7['id']&&(_0x595db7['id']=_0x595db7['id']+_0x21a7ed[_0x330409(0x1d1)]),Object['entries'](_0x595db7)[_0x330409(0x182)](function(_0x127ba0){var _0x4e0ce9=_0x330409,_0x238d63=_0x127ba0[0x0],_0x1c3dd7=_0x127ba0[0x1];_0x238d63==='mask'&&typeof _0x1c3dd7==_0x4e0ce9(0xa3)&&(_0x595db7[_0x238d63]=_0x1c3dd7[_0x4e0ce9(0x15b)](/url\(#(.*)\)/,_0x4e0ce9(0x1a8)['concat'](_0x21a7ed['idSuffix'],')')));});var _0x4f8d28=_0x21a7ed[_0x330409(0x9c)];return!_0x4f8d28||_0x4f8d28[_0x330409(0x17b)]===0x0||(_0x1d1bbe['tag']===_0x330409(0x105)&&_0x595db7[_0x330409(0x168)]&&(_0x595db7[_0x330409(0x168)]=_0x595db7['xlink:href']+_0x21a7ed[_0x330409(0x1d1)]),Object[_0x330409(0x17a)](_0x595db7)[_0x330409(0x182)](function(_0x119075){var _0xed13bf=_0x330409,_0x5e8245=_0x119075[0x0],_0x4b9341=_0x119075[0x1];typeof _0x4b9341==_0xed13bf(0xa3)&&(_0x595db7[_0x5e8245]=_0x4b9341['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x21a7ed[_0xed13bf(0x1d1)],')')));})),_0x595db7;}function _0xbdcd80(_0x4b240b,_0x3ada77){var _0x1b0321=_0x37b30b,_0x13fe3f,_0x4c7974=_0x3ada77['defIds'];return!_0x4c7974||_0x4c7974[_0x1b0321(0x17b)]===0x0?_0x4b240b:_0x4b240b[_0x1b0321(0x1e2)]===_0x1b0321(0x1ac)&&(!((_0x13fe3f=_0x4b240b[_0x1b0321(0x12b)])===null||_0x13fe3f===void 0x0)&&_0x13fe3f[_0x1b0321(0x17b)])?_0x5a5c27(_0x5a5c27({},_0x4b240b),{'children':_0x4b240b['children'][_0x1b0321(0xeb)](function(_0x3cd5d1){var _0x5ac300=_0x1b0321;return typeof _0x3cd5d1[_0x5ac300(0xbf)]['id']==_0x5ac300(0xa3)&&_0x4c7974&&_0x4c7974['includes'](_0x3cd5d1[_0x5ac300(0xbf)]['id'])?_0x5a5c27(_0x5a5c27({},_0x3cd5d1),{'attrs':_0x5a5c27(_0x5a5c27({},_0x3cd5d1['attrs']),{'id':_0x3cd5d1[_0x5ac300(0xbf)]['id']+_0x3ada77[_0x5ac300(0x1d1)]})}):_0x3cd5d1;})}):_0x4b240b;}function _0x151fb7(){var _0x1890d9=_0x37b30b;return Math[_0x1890d9(0x12c)]()[_0x1890d9(0x179)](0x24)[_0x1890d9(0x11b)](0x2,0x8);}_0x334dd2[_0x37b30b(0x1c2)]=_0x37b30b(0xf3);var _0x46e8eb={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':'none','viewBox':_0x37b30b(0x204),'width':'1em','height':_0x37b30b(0xd6)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x1a9),'d':_0x37b30b(0x1a3),'fillRule':'evenodd','clipRule':_0x37b30b(0xdd)}}]},_0x3d272a=_0x59d82d['forwardRef'](function(_0x39d783,_0x38a8ec){var _0x32fa31=_0x37b30b;return _0x59d82d['createElement'](_0x334dd2,Object[_0x32fa31(0x1cf)]({},_0x39d783,{'id':_0x32fa31(0xcf),'ref':_0x38a8ec,'icon':_0x46e8eb}));});_0x3d272a['displayName']=_0x37b30b(0x1dd);var _0x2631d6={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':'none','viewBox':'0\x200\x2017\x2017','width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x37b30b(0x1f0),'strokeLinecap':'round','strokeLinejoin':_0x37b30b(0x13e),'strokeWidth':1.33}}]},_0x24d4e9=_0x59d82d['forwardRef'](function(_0x637391,_0x42b71d){var _0x1dd301=_0x37b30b;return _0x59d82d[_0x1dd301(0x207)](_0x334dd2,Object[_0x1dd301(0x1cf)]({},_0x637391,{'id':_0x1dd301(0x16b),'ref':_0x42b71d,'icon':_0x2631d6}));});_0x24d4e9['displayName']=_0x37b30b(0x1d5);var _0x3bcdeb={'tag':'svg','attrs':{'xmlns':_0x37b30b(0x20b),'fill':_0x37b30b(0x157),'viewBox':'0\x200\x2016\x2016','width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x1a9),'d':_0x37b30b(0x112)}},{'tag':_0x37b30b(0xf0),'attrs':{'fill':'currentColor','d':_0x37b30b(0x1dc)}},{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x1a9),'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':_0x37b30b(0xdd)}}]},_0x21bdb0=_0x59d82d['forwardRef'](function(_0x42cae5,_0x9730ae){var _0x39df99=_0x37b30b;return _0x59d82d[_0x39df99(0x207)](_0x334dd2,Object[_0x39df99(0x1cf)]({},_0x42cae5,{'id':_0x39df99(0x174),'ref':_0x9730ae,'icon':_0x3bcdeb}));});_0x21bdb0[_0x37b30b(0x1c2)]=_0x37b30b(0x15e);var _0x3e995f={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':_0x37b30b(0x157),'viewBox':_0x37b30b(0x204),'width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x37b30b(0x1ac),'attrs':{},'children':[{'tag':_0x37b30b(0x8e),'attrs':{'id':_0x37b30b(0x177)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x10b),'d':_0x37b30b(0x199)}}]}]}],'defIds':[_0x37b30b(0x177)]},_0x111bd=_0x59d82d[_0x37b30b(0x1e6)](function(_0x19fbdf,_0x5acade){var _0x573cff=_0x37b30b;return _0x59d82d[_0x573cff(0x207)](_0x334dd2,Object['assign']({},_0x19fbdf,{'id':_0x573cff(0x1bb),'ref':_0x5acade,'icon':_0x3e995f}));});_0x111bd['displayName']=_0x37b30b(0x213);var _0x195931={'tag':_0x37b30b(0xb7),'attrs':{'xmlns':_0x37b30b(0x20b),'fill':_0x37b30b(0x157),'viewBox':'0\x200\x2017\x2016','width':_0x37b30b(0xd6),'height':_0x37b30b(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':_0x37b30b(0x100)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'stroke':_0x37b30b(0x1a9),'d':_0x37b30b(0xf8),'strokeLinecap':_0x37b30b(0x13e),'strokeLinejoin':_0x37b30b(0x13e),'strokeWidth':1.2}}]},{'tag':_0x37b30b(0x1ac),'attrs':{},'children':[{'tag':_0x37b30b(0x8e),'attrs':{'id':_0x37b30b(0x108)},'children':[{'tag':_0x37b30b(0xf0),'attrs':{'fill':_0x37b30b(0x10b),'d':_0x37b30b(0x199),'transform':_0x37b30b(0xc0)}}]}]}],'defIds':[_0x37b30b(0x108)]},_0x2646fa=_0x59d82d[_0x37b30b(0x1e6)](function(_0x11f011,_0x29a1fd){var _0x2fc38e=_0x37b30b;return _0x59d82d[_0x2fc38e(0x207)](_0x334dd2,Object[_0x2fc38e(0x1cf)]({},_0x11f011,{'id':_0x2fc38e(0xcc),'ref':_0x29a1fd,'icon':_0x195931}));});_0x2646fa['displayName']=_0x37b30b(0x1d4);function _0xea54ac(_0x60d71f){var _0x2d76ae=_0x37b30b,_0x5a66dc,_0x526bfc;const {mcpCoreConfig:_0x1c294f,onSave:_0x3be38b,loading:_0x5bfa0a=!0x1,config:_0x2b71fa,connectionStatus$:_0x105341,connectionError$:_0x3f8d70,currentApiKey$:_0x4810d9,currentSessionId$:_0x575722}=_0x60d71f,_0x5251aa=_0x447b69[_0x2d76ae(0x1e8)](_0x2d2b72[_0x2d76ae(0x1ee)]),_0x326b4b=_0x447b69[_0x2d76ae(0x91)](_0x105341,_0x497ef3[_0x2d76ae(0xd4)][_0x2d76ae(0x17e)]),_0x215b15=_0x447b69[_0x2d76ae(0x91)](_0x3f8d70,_0x497ef3[_0x2d76ae(0x1d7)][_0x2d76ae(0xb0)]),_0x10e126=_0x447b69[_0x2d76ae(0x91)](_0x575722,''),_0x45d332=_0x447b69['useObservable'](_0x4810d9,''),[_0x58e097,_0x56ff54]=_0x59d82d['useState'](_0x45d332||''),_0x552082=!0x0,_0x342802=_0x2b71fa['showDeveloperTools']&&_0x1c294f[_0x2d76ae(0x90)]&&(_0x1c294f[_0x2d76ae(0x90)][_0x2d76ae(0xec)](_0x2d76ae(0xdb))||_0x1c294f['mcpServerUrl'][_0x2d76ae(0xec)](_0x2d76ae(0xc8))),_0x5ec463=(_0x5a66dc=_0x1c294f[_0x2d76ae(0x90)])==null?void 0x0:_0x5a66dc[_0x2d76ae(0xec)]('univer.plus'),_0x18aed6=(_0x526bfc=_0x1c294f[_0x2d76ae(0x90)])==null?void 0x0:_0x526bfc[_0x2d76ae(0xec)](_0x2d76ae(0xc8)),_0x38ec14=_0x5ec463?_0x2d76ae(0x84):'https://console.univer.ai',_0x4f6d00=_0x2b71fa[_0x2d76ae(0x88)]&&(_0x5ec463||_0x18aed6),[_0xc27f77,_0x7f067c]=_0x59d82d['useState'](!_0x58e097['trim']()),_0xcdd6e7=(_0x97eea8,_0x1e9d8f)=>{var _0x4466b0=_0x2d76ae;if(_0x1e9d8f===_0x497ef3[_0x4466b0(0x1d7)][_0x4466b0(0xf6)])return _0x4466b0(0x111);switch(_0x97eea8){case _0x497ef3[_0x4466b0(0xd4)][_0x4466b0(0x139)]:return _0x4466b0(0x142);case _0x497ef3[_0x4466b0(0xd4)][_0x4466b0(0x146)]:case _0x497ef3[_0x4466b0(0xd4)][_0x4466b0(0x115)]:return _0x4466b0(0x1b5);case _0x497ef3['MCPConnectionStatus'][_0x4466b0(0x134)]:return _0x4466b0(0x111);default:return _0x4466b0(0x148);}},_0x34da55=(_0x239b71,_0x7e744c)=>{var _0x35b38f=_0x2d76ae;if(_0x7e744c===_0x497ef3[_0x35b38f(0x1d7)]['UNAUTHORIZED'])return _0x35b38f(0x158);switch(_0x239b71){case _0x497ef3['MCPConnectionStatus'][_0x35b38f(0x139)]:return _0x35b38f(0x1ef);case _0x497ef3[_0x35b38f(0xd4)][_0x35b38f(0x146)]:case _0x497ef3[_0x35b38f(0xd4)][_0x35b38f(0x115)]:return _0x35b38f(0x1e7);case _0x497ef3['MCPConnectionStatus'][_0x35b38f(0x134)]:return _0x35b38f(0x158);default:return _0x35b38f(0x154);}},_0x397eaa=_0x39e4a2=>{var _0x5349da=_0x2d76ae;switch(_0x39e4a2){case _0x497ef3['MCPConnectionStatus'][_0x5349da(0x139)]:return _0x5251aa['t'](_0x5349da(0x15a));case _0x497ef3[_0x5349da(0xd4)][_0x5349da(0x146)]:return _0x5251aa['t'](_0x5349da(0x162));case _0x497ef3[_0x5349da(0xd4)][_0x5349da(0x134)]:return _0x5251aa['t'](_0x5349da(0x1c8));case _0x497ef3[_0x5349da(0xd4)][_0x5349da(0x115)]:return _0x5251aa['t'](_0x5349da(0x21b));default:return _0x5251aa['t'](_0x5349da(0xc3));}},_0x43c419=_0x530e41=>{var _0x2290e6=_0x2d76ae;switch(_0x530e41){case _0x497ef3[_0x2290e6(0x1d7)]['UNAUTHORIZED']:return _0x5251aa['t']('mcpConfig.connectionError.unauthorized');case _0x497ef3['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x5251aa['t']('mcpConfig.connectionError.sessionOccupied');case _0x497ef3['MCPConnectionError']['NETWORK_ERROR']:return _0x5251aa['t'](_0x2290e6(0x1de));case _0x497ef3[_0x2290e6(0x1d7)][_0x2290e6(0x193)]:return _0x5251aa['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x5e40a8=_0x59d82d[_0x2d76ae(0x1df)](()=>{var _0x4fa2ad=_0x2d76ae;const _0x5d303e={..._0x1c294f,'apiKey':_0x58e097[_0x4fa2ad(0x1c3)](),'enableAuth':_0x552082};_0x3be38b(_0x5d303e);},[_0x1c294f,_0x58e097,_0x552082,_0x3be38b]),_0x53ccf1=_0x58e097[_0x2d76ae(0x1c3)]()[_0x2d76ae(0x17b)]>0x0;return _0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xda),'children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xfe),'children':[_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x10e),'children':_0x5894a5['jsx'](_0x2d76ae(0xa4),{'className':_0x2d76ae(0xd1),'children':'⚙'})}),_0x5894a5[_0x2d76ae(0x20f)]('div',{'children':_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0x1eb),'children':_0x5251aa['t'](_0x2d76ae(0x1d3))})})]})}),_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x156),'children':[_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x1f4)+_0xcdd6e7(_0x326b4b,_0x215b15)+_0x2d76ae(0x17c),'children':_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x34da55(_0x326b4b,_0x215b15)+_0x2d76ae(0x214)}),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x175),'children':_0x397eaa(_0x326b4b)})]})}),_0x215b15!==_0x497ef3[_0x2d76ae(0x1d7)]['NONE']&&(_0x326b4b===_0x497ef3[_0x2d76ae(0xd4)]['FAILED']||_0x215b15===_0x497ef3[_0x2d76ae(0x1d7)][_0x2d76ae(0xf6)])&&_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x149),'children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x147),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0xe3),'children':'⚠️'}),_0x5894a5['jsx']('p',{'className':_0x2d76ae(0x1ec),'children':_0x43c419(_0x215b15)})]})})]}),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':'univer-space-y-5','children':[_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1ed),'children':[_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x165),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'children':'🔑'}),'\x20',_0x5251aa['t']('mcpConfig.apiKey'),_0x5894a5['jsx'](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x186),'children':'*'}),_0x342802&&_0x5894a5['jsx']('a',{'href':'javascript:void(0)','onClick':()=>_0x7f067c(!0x0),'className':_0x2d76ae(0x19a),'title':_0x5251aa['t'](_0x2d76ae(0xc2)),'children':_0x5894a5[_0x2d76ae(0x20f)](_0x21bdb0,{})})]}),_0x5894a5[_0x2d76ae(0x20f)](_0x2b0681[_0x2d76ae(0x9e)],{'type':_0x2d76ae(0xfc),'placeholder':_0x5251aa['t'](_0x2d76ae(0x1c9)),'value':_0x58e097,'onChange':_0x56ff54,'disabled':_0x5bfa0a,'autoComplete':_0x2d76ae(0x191)}),_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0xf2),'children':_0x5251aa['t'](_0x2d76ae(0x14a))})]}),_0x342802&&_0xc27f77&&_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x130),'children':[_0x5894a5[_0x2d76ae(0x20f)]('a',{'href':_0x2d76ae(0x163),'onClick':()=>_0x7f067c(!0x1),'className':_0x2d76ae(0x216),'title':_0x2d76ae(0xe2),'children':_0x5894a5[_0x2d76ae(0x20f)](_0x24d4e9,{})}),_0x5894a5['jsxs']('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x5894a5['jsx']('div',{'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':_0x5894a5[_0x2d76ae(0x20f)]('span',{'className':_0x2d76ae(0x1a6),'children':'🚀'})}),_0x5894a5['jsxs']('div',{'className':_0x2d76ae(0x1e9),'children':[_0x5894a5[_0x2d76ae(0x20f)]('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x5251aa['t']('mcpConfig.apiApplyInfo.title')}),_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0x19b),'children':_0x5251aa['t'](_0x2d76ae(0x1c1))}),_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0xbd),'children':_0x4f6d00&&_0x5894a5[_0x2d76ae(0x106)]('a',{'href':_0x38ec14,'target':_0x2d76ae(0xd7),'rel':_0x2d76ae(0xe5),'className':_0x2d76ae(0x1b4),'children':[_0x5894a5[_0x2d76ae(0x20f)]('span',{'children':'🤖'}),_0x5251aa['t'](_0x2d76ae(0x10c)),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x16e),'children':'↗'})]})}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x17f),'children':['✨','\x20',_0x5251aa['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2b71fa[_0x2d76ae(0x88)]&&_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xa8),'children':[_0x5894a5[_0x2d76ae(0x106)]('h4',{'className':_0x2d76ae(0x1bf),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'children':'🔗'}),'\x20',_0x5251aa['t'](_0x2d76ae(0xf1))]}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x85),'children':[_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':'univer-space-y-3','children':[_0x5894a5[_0x2d76ae(0x20f)]('p',{'className':_0x2d76ae(0x18d),'children':_0x5251aa['t'](_0x2d76ae(0x188))}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1ed),'children':[_0x5894a5['jsx']('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x5251aa['t']('mcpConfig.configStepTitle')}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1a5),'children':[_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x12f),'children':[_0x5894a5['jsx']('span',{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x5251aa['t'](_0x2d76ae(0xe4))]}),_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5['jsx'](_0x2d76ae(0xa4),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x5251aa['t']('mcpConfig.configStep2')]}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x5251aa['t'](_0x2d76ae(0x19f))]})]})]})]}),_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x1ed),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xe7),'children':_0x2d76ae(0x19c)}),_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x1b8),{'className':_0x2d76ae(0x9f),'children':'{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id='+_0x10e126+_0x2d76ae(0x21a)+(_0x58e097||_0x2d76ae(0x1cc))+'\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}'})})]}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x144),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xe7),'children':_0x5251aa['t'](_0x2d76ae(0x120))}),_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':'univer-space-y-2','children':[_0x5894a5[_0x2d76ae(0x106)]('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xb4)}),_0x5894a5[_0x2d76ae(0x106)]('div',{'className':_0x2d76ae(0x101),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x2d76ae(0x97)}),_0x5894a5['jsx'](_0x2d76ae(0x20d),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x5251aa['t'](_0x2d76ae(0x93))})]})]}),_0x5894a5['jsxs'](_0x2d76ae(0x20d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x5894a5['jsx'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xb4)}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x101),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x138),'children':_0x2d76ae(0x21c)}),_0x5894a5['jsx'](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xf2),'children':_0x5251aa['t']('mcpConfig.authorizationDescription')})]})]})]})]})]})]}),_0x5894a5[_0x2d76ae(0x20f)](_0x2b0681[_0x2d76ae(0x195)],{'onClick':_0x5e40a8,'disabled':!_0x53ccf1||_0x5bfa0a,'className':_0x2d76ae(0xe9),'children':_0x5bfa0a?_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'children':'⟲'}),_0x5251aa['t'](_0x2d76ae(0x123))]}):_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0xa4),{'className':_0x2d76ae(0x12f),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x3d272a,{}),_0x5251aa['t']('mcpConfig.save')]})}),_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x128),'children':_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0x1e4),'children':[_0x5894a5[_0x2d76ae(0x20f)](_0x2d76ae(0xa4),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'className':_0x2d76ae(0xc9),'children':[_0x5894a5[_0x2d76ae(0x20f)]('div',{'className':_0x2d76ae(0x151),'children':_0x2d76ae(0x1ca)}),_0x5894a5[_0x2d76ae(0x106)](_0x2d76ae(0x20d),{'children':['•',_0x5251aa['t'](_0x2d76ae(0x170))]}),_0x5894a5[_0x2d76ae(0x106)]('div',{'children':['•',_0x5251aa['t'](_0x2d76ae(0x15d))]})]})]})})]})})]});}const _0x2d0a08='mcp-ui.config',_0x22f26d={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x5814ee=Object[_0x37b30b(0x1be)],_0x30bec7=(_0x115fd4,_0x506217,_0x2e6f90,_0x5f07d9)=>{for(var _0x3e4061=_0x5f07d9>0x1?void 0x0:_0x5f07d9?_0x5814ee(_0x506217,_0x2e6f90):_0x506217,_0x2095ef=_0x115fd4['length']-0x1,_0x564a3f;_0x2095ef>=0x0;_0x2095ef--)(_0x564a3f=_0x115fd4[_0x2095ef])&&(_0x3e4061=_0x564a3f(_0x3e4061)||_0x3e4061);return _0x3e4061;},_0xb1b7fd=(_0x229632,_0x2f4978)=>(_0x5d0fd8,_0x4dde86)=>_0x2f4978(_0x5d0fd8,_0x4dde86,_0x229632);const _0x470a14=_0x37b30b(0xe0),_0x1458e2=_0x37b30b(0xd0);_0x2f44b2[_0x37b30b(0x132)]=class extends _0x2d2b72[_0x37b30b(0x159)]{constructor(_0xb10095,_0x10f40c,_0x467dff,_0x2d9da9,_0x23a79a,_0x3d258d,_0x4508e4,_0x1b02d0,_0x56e614,_0x2500d3){var _0x2a8b06=_0x37b30b;super(),_0x1ab7a2(this,'_loading$',new _0x3fbafd[(_0x2a8b06(0x1cd))](!0x1)),_0x1ab7a2(this,_0x2a8b06(0x140),new _0x3fbafd[(_0x2a8b06(0x1cd))]({})),_0x1ab7a2(this,_0x2a8b06(0x1ae),new _0x3fbafd[(_0x2a8b06(0x1cd))]({})),_0x1ab7a2(this,'_apiKey$',new _0x3fbafd[(_0x2a8b06(0x1cd))]('')),_0x1ab7a2(this,_0x2a8b06(0x20a),async _0x517fd7=>{var _0x25b75b=_0x2a8b06,_0xa5489d,_0x4e2e36;this[_0x25b75b(0xf7)][_0x25b75b(0x1ea)](!0x0);try{const _0x1f11d4=await this[_0x25b75b(0x192)](_0x517fd7);if(!_0x1f11d4[_0x25b75b(0x19d)]){this[_0x25b75b(0xaa)]['show']({'type':_0x2b0681[_0x25b75b(0x14c)]['Error'],'content':_0x1f11d4['errorMessage']||this[_0x25b75b(0x1a2)]['t'](_0x25b75b(0x1aa))});return;}_0x517fd7[_0x25b75b(0xb6)]?await this[_0x25b75b(0xc6)][_0x25b75b(0x137)](_0x470a14,_0x517fd7[_0x25b75b(0xb6)][_0x25b75b(0x1c3)]()):await this['_localStorageService'][_0x25b75b(0x198)](_0x470a14),this['_apiKey$'][_0x25b75b(0x1ea)](((_0xa5489d=_0x517fd7[_0x25b75b(0xb6)])==null?void 0x0:_0xa5489d[_0x25b75b(0x1c3)]())||''),this[_0x25b75b(0x21e)][_0x25b75b(0x104)]({'Authorization':'Bearer\x20'+((_0x4e2e36=_0x517fd7[_0x25b75b(0xb6)])==null?void 0x0:_0x4e2e36[_0x25b75b(0x1c3)]())}),this[_0x25b75b(0xaa)]['show']({'type':_0x2b0681['MessageType'][_0x25b75b(0x16c)],'content':this[_0x25b75b(0x1a2)]['t'](_0x25b75b(0x203))}),setTimeout(()=>{var _0x16eb1d=_0x25b75b;this[_0x16eb1d(0x98)][_0x16eb1d(0x133)](_0x1458e2);},0x320);}catch(_0xf33c37){this[_0x25b75b(0x185)][_0x25b75b(0x119)](_0x25b75b(0x172),_0xf33c37),this[_0x25b75b(0xaa)][_0x25b75b(0xbb)]({'type':_0x2b0681[_0x25b75b(0x14c)]['Error'],'content':this[_0x25b75b(0x1a2)]['t'](_0x25b75b(0x1f9))});}finally{this[_0x25b75b(0xf7)][_0x25b75b(0x1ea)](!0x1);}}),(this['_injector']=_0xb10095,this[_0x2a8b06(0x1a7)]=_0x10f40c,this[_0x2a8b06(0x15f)]=_0x467dff,this[_0x2a8b06(0xc6)]=_0x2d9da9,this['_dialogService']=_0x23a79a,this[_0x2a8b06(0xaa)]=_0x3d258d,this[_0x2a8b06(0x176)]=_0x4508e4,this[_0x2a8b06(0x1a2)]=_0x1b02d0,this[_0x2a8b06(0x185)]=_0x56e614,this[_0x2a8b06(0x21e)]=_0x2500d3,this['_initConfigSync'](),this[_0x2a8b06(0x1f8)](),this[_0x2a8b06(0x1f1)]());}[_0x37b30b(0x189)](){var _0x3293f7=_0x37b30b;const _0x2811d2=this[_0x3293f7(0x15f)][_0x3293f7(0xee)](_0x2d0a08);_0x2811d2!=null&&_0x2811d2[_0x3293f7(0x88)]&&this[_0x3293f7(0x98)]['open']({'id':_0x1458e2,'title':{'title':this['_localeService']['t'](_0x3293f7(0x180))},'children':{'label':_0x3293f7(0x1af)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x436a6a=_0x3293f7;this[_0x436a6a(0x98)][_0x436a6a(0x133)](_0x1458e2);}});}[_0x37b30b(0x1bc)](){var _0x50fecb=_0x37b30b;return this[_0x50fecb(0x140)][_0x50fecb(0x1b3)];}[_0x37b30b(0x1f1)](){var _0x48c136=_0x37b30b;this[_0x48c136(0x1f3)](this[_0x48c136(0x176)][_0x48c136(0x178)](_0x48c136(0x1af),this['_createConfigPanelComponent']()));}[_0x37b30b(0x1f7)](){var _0x371682=_0x37b30b;return _0x447b69[_0x371682(0xd5)](()=>{var _0x4d4896=_0x371682,_0x458777,_0x3dce33,_0x32242d;return _0x5894a5[_0x4d4896(0x20f)](_0xea54ac,{'config':this[_0x4d4896(0x1ae)][_0x4d4896(0x1b3)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x4d4896(0x1b3)],'currentApiKey$':this[_0x4d4896(0x150)],'onSave':this['_handleConfigSave'],'loading':this[_0x4d4896(0xf7)][_0x4d4896(0x1b3)],'connectionStatus$':(_0x458777=this[_0x4d4896(0x21e)])==null?void 0x0:_0x458777[_0x4d4896(0x209)],'connectionError$':(_0x3dce33=this[_0x4d4896(0x21e)])==null?void 0x0:_0x3dce33[_0x4d4896(0x167)],'currentSessionId$':(_0x32242d=this[_0x4d4896(0x21e)])==null?void 0x0:_0x32242d[_0x4d4896(0x125)]});},this[_0x371682(0xea)]);}[_0x37b30b(0x20c)](){var _0xd777f6=_0x37b30b;this[_0xd777f6(0x1f3)](this['_configService'][_0xd777f6(0x183)](_0x497ef3[_0xd777f6(0xa7)])[_0xd777f6(0x1fc)](_0x9f4844=>{var _0x5bca12=_0xd777f6;this[_0x5bca12(0x140)]['next'](_0x9f4844||{});}));const _0x10387d=this['_configService']['getConfig'](_0x497ef3['MCP_PLUGIN_CONFIG_KEY']);this['_mcpCoreConfig$'][_0xd777f6(0x1ea)](_0x10387d||{}),this['disposeWithMe'](this[_0xd777f6(0x15f)][_0xd777f6(0x183)](_0x2d0a08)['subscribe'](_0x28a7c8=>{var _0x48de00=_0xd777f6;this[_0x48de00(0x1ae)]['next'](_0x28a7c8||{});}));const _0x9e8fc7=this[_0xd777f6(0x15f)][_0xd777f6(0xee)](_0x2d0a08);this[_0xd777f6(0x1ae)][_0xd777f6(0x1ea)](_0x9e8fc7||{});}async[_0x37b30b(0x1f8)](){var _0x2e4926=_0x37b30b;const _0x1431ed=this[_0x2e4926(0x15f)][_0x2e4926(0xee)](_0x2d0a08);if(!(_0x1431ed!=null&&_0x1431ed[_0x2e4926(0x88)]))return;const _0x4f597b=await this[_0x2e4926(0xc6)]['getItem'](_0x470a14);_0x4f597b&&(this[_0x2e4926(0x21e)][_0x2e4926(0x104)]({'Authorization':'Bearer\x20'+_0x4f597b}),this['_apiKey$']['next'](_0x4f597b));}async['_validateConfig'](_0x539302){var _0x53abef=_0x37b30b;if(!_0x539302[_0x53abef(0xb6)]||_0x539302['apiKey']['trim']()[_0x53abef(0x17b)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x53abef(0x1a2)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x539302['apiKey'][_0x53abef(0x1c3)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x53abef(0x86))};try{const _0x4456c8=await this[_0x53abef(0xea)][_0x53abef(0x194)](_0x497ef3[_0x53abef(0x1e1)])[_0x53abef(0x1f5)](_0x539302[_0x53abef(0xb6)][_0x53abef(0x1c3)]());return _0x4456c8[_0x53abef(0x19d)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x4456c8[_0x53abef(0x119)]||this[_0x53abef(0x1a2)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x4fec6f){return console[_0x53abef(0x171)](_0x53abef(0xbc),_0x4fec6f),{'isValid':!0x0};}}},_0x2f44b2[_0x37b30b(0x132)]=_0x30bec7([_0xb1b7fd(0x0,_0x2d2b72['Inject'](_0x2d2b72[_0x37b30b(0x1c5)])),_0xb1b7fd(0x1,_0x447b69[_0x37b30b(0xd2)]),_0xb1b7fd(0x2,_0x2d2b72['IConfigService']),_0xb1b7fd(0x3,_0x2d2b72[_0x37b30b(0x94)]),_0xb1b7fd(0x4,_0x447b69[_0x37b30b(0x212)]),_0xb1b7fd(0x5,_0x447b69['IMessageService']),_0xb1b7fd(0x6,_0x2d2b72[_0x37b30b(0x11d)](_0x447b69[_0x37b30b(0x200)])),_0xb1b7fd(0x7,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72['LocaleService'])),_0xb1b7fd(0x8,_0x2d2b72[_0x37b30b(0xa1)]),_0xb1b7fd(0x9,_0x2d2b72[_0x37b30b(0x11d)](_0x497ef3['MCPConnectionController']))],_0x2f44b2[_0x37b30b(0x132)]);const _0xc26e02={'id':_0x37b30b(0xcd),'type':_0x2d2b72['CommandType'][_0x37b30b(0x124)],'handler':async(_0x446757,_0x2f3e86)=>(_0x446757['get'](_0x2f44b2[_0x37b30b(0x132)])[_0x37b30b(0x189)](),!0x0)};function _0x515ef7(_0x38afd4,_0x2c0780){var _0x30006c=_0x37b30b;switch(_0x38afd4){case _0x497ef3[_0x30006c(0xd4)]['DISCONNECTED']:return _0x30006c(0x1cb);case _0x497ef3[_0x30006c(0xd4)]['CONNECTING']:return _0x30006c(0x1d2);case _0x497ef3['MCPConnectionStatus'][_0x30006c(0x139)]:return _0x30006c(0xbe);case _0x497ef3[_0x30006c(0xd4)][_0x30006c(0x134)]:switch(_0x2c0780){case _0x497ef3[_0x30006c(0x1d7)]['UNAUTHORIZED']:return _0x30006c(0x187);case _0x497ef3[_0x30006c(0x1d7)][_0x30006c(0x11e)]:return _0x30006c(0x1c0);case _0x497ef3[_0x30006c(0x1d7)][_0x30006c(0x13b)]:return _0x30006c(0x135);case _0x497ef3[_0x30006c(0x1d7)][_0x30006c(0x193)]:return _0x30006c(0xa5);default:return _0x30006c(0x1fa);}case _0x497ef3[_0x30006c(0xd4)][_0x30006c(0x115)]:return _0x30006c(0xde);default:return'mcpStatus.unknown';}}function _0x24c54f(_0x5e0257,_0x45f226,_0x380ba8,_0x162708=!0x0){var _0x4b57a9=_0x37b30b;const _0x23adab=_0x515ef7(_0x5e0257,_0x45f226),_0x428822=_0x380ba8['t'](_0x23adab);return _0x162708?_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x17e)]&&_0x45f226===_0x497ef3['MCPConnectionError'][_0x4b57a9(0xf6)]?_0x428822+_0x4b57a9(0x197)+_0x380ba8['t'](_0x4b57a9(0x14f)):_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x139)]?''+_0x428822:_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x17e)]||_0x5e0257===_0x497ef3[_0x4b57a9(0xd4)][_0x4b57a9(0x134)]?_0x428822+'\x20-\x20'+_0x380ba8['t'](_0x4b57a9(0x206)):_0x428822:_0x428822;}function _0x24426b(_0x2ed44d){var _0x5603d2=_0x37b30b;switch(_0x2ed44d){case _0x497ef3['MCPConnectionStatus']['CONNECTED']:return _0x5603d2(0x122);case _0x497ef3[_0x5603d2(0xd4)][_0x5603d2(0x146)]:case _0x497ef3['MCPConnectionStatus'][_0x5603d2(0x115)]:return _0x5603d2(0xb9);case _0x497ef3[_0x5603d2(0xd4)][_0x5603d2(0x134)]:case _0x497ef3[_0x5603d2(0xd4)]['DISCONNECTED']:return _0x5603d2(0x186);default:return _0x5603d2(0xcb);}}function _0xe1e11b(_0x3c5f40){var _0x251407=_0x37b30b;const {status$:_0x26062b,error$:_0x383fa3,onConfigure:_0x437ae2,showClickable:_0x462184=!0x0}=_0x3c5f40,_0x5cdfcd=_0x447b69[_0x251407(0x91)](_0x26062b,_0x497ef3[_0x251407(0xd4)]['DISCONNECTED']),_0x94f28f=_0x447b69[_0x251407(0x91)](_0x383fa3,_0x497ef3[_0x251407(0x1d7)]['NONE']),_0x419caa=_0x447b69[_0x251407(0x1e8)](_0x2d2b72['LocaleService']),_0x46e864=_0x5cdfcd===_0x497ef3['MCPConnectionStatus'][_0x251407(0x139)];_0x5cdfcd===_0x497ef3[_0x251407(0xd4)][_0x251407(0x146)]||_0x497ef3['MCPConnectionStatus'][_0x251407(0x115)];const _0x436fc9=_0x419caa['t'](_0x515ef7(_0x5cdfcd,_0x94f28f)),_0x411526=_0x24c54f(_0x5cdfcd,_0x94f28f,_0x419caa,_0x462184),_0x50763e=_0x24426b(_0x5cdfcd),_0x4b952e=_0x46e864?_0x5894a5[_0x251407(0x20f)](_0x2646fa,{}):_0x5894a5[_0x251407(0x20f)](_0x111bd,{}),_0x44a1c6=_0x59d82d[_0x251407(0x1df)](()=>{_0x462184&&_0x437ae2&&_0x437ae2();},[_0x462184,_0x437ae2]);function _0x1ace0d(){var _0x10a3ca=_0x251407;return _0x5894a5[_0x10a3ca(0x106)](_0x10a3ca(0x20d),{'className':_0x2b0681[_0x10a3ca(0x8a)](_0x10a3ca(0x218),_0x462184&&_0x437ae2&&_0x10a3ca(0xca)),'onClick':_0x462184&&_0x437ae2?_0x44a1c6:void 0x0,'children':[_0x5894a5[_0x10a3ca(0x20f)](_0x10a3ca(0x20d),{'className':_0x2b0681[_0x10a3ca(0x8a)]('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x50763e),'children':_0x4b952e}),_0x5894a5[_0x10a3ca(0x20f)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x436fc9})]});}return _0x5894a5[_0x251407(0x20f)](_0x2b0681[_0x251407(0x211)],{'title':_0x411526,'placement':_0x251407(0xc4),'children':_0x1ace0d()});}var _0x3f85af=Object['getOwnPropertyDescriptor'],_0x559e7b=(_0x366219,_0x2092d8,_0xf71ae0,_0x1dc68)=>{for(var _0x404715=_0x1dc68>0x1?void 0x0:_0x1dc68?_0x3f85af(_0x2092d8,_0xf71ae0):_0x2092d8,_0x48808c=_0x366219['length']-0x1,_0x4ef0c6;_0x48808c>=0x0;_0x48808c--)(_0x4ef0c6=_0x366219[_0x48808c])&&(_0x404715=_0x4ef0c6(_0x404715)||_0x404715);return _0x404715;},_0x2b7d2=(_0x36b942,_0x50f60f)=>(_0xabd1ef,_0x14a85b)=>_0x50f60f(_0xabd1ef,_0x14a85b,_0x36b942);_0x2f44b2['MCPConnectionUIController']=class extends _0x2d2b72[_0x37b30b(0x159)]{constructor(_0x3cc50a,_0x1d1889,_0x58d744,_0x4e71d3){var _0x37c0ce=_0x37b30b;super(),this['_injector']=_0x3cc50a,this[_0x37c0ce(0x14b)]=_0x1d1889,this['_uiPartsService']=_0x58d744,this[_0x37c0ce(0x15f)]=_0x4e71d3,this['_initAutoConnect'](),this[_0x37c0ce(0x116)]();}[_0x37b30b(0x215)](){var _0x4626e0=_0x37b30b;const _0x579ca1=this['_configService'][_0x4626e0(0xee)](_0x2d0a08);_0x579ca1!=null&&_0x579ca1['showDeveloperTools']&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x37b30b(0x116)](){var _0xba83f7=_0x37b30b;const _0xdda602=this[_0xba83f7(0x15f)]['getConfig'](_0x2d0a08);(_0xdda602==null?void 0x0:_0xdda602['showStatus'])!==!0x1&&this[_0xba83f7(0x1f3)](this[_0xba83f7(0x1a7)][_0xba83f7(0x201)](_0x447b69[_0xba83f7(0xd3)]['HEADER_MENU'],()=>{var _0x2029f5=_0xba83f7,_0x2b8a4f;return _0x447b69[_0x2029f5(0xd5)](_0x16c3a5({'status$':this[_0x2029f5(0x14b)][_0x2029f5(0x209)],'error$':this[_0x2029f5(0x14b)][_0x2029f5(0x167)],'onConfigure':()=>this[_0x2029f5(0x8b)](),'showClickable':(_0x2b8a4f=_0xdda602==null?void 0x0:_0xdda602['showDeveloperTools'])!=null?_0x2b8a4f:!0x1}),this[_0x2029f5(0xea)]);}));}[_0x37b30b(0x8b)](){var _0x3a488d=_0x37b30b;this['_injector'][_0x3a488d(0x194)](_0x2f44b2[_0x3a488d(0x132)])[_0x3a488d(0x189)]();}},_0x2f44b2[_0x37b30b(0x1ba)]=_0x559e7b([_0x2b7d2(0x0,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72[_0x37b30b(0x1c5)])),_0x2b7d2(0x1,_0x2d2b72[_0x37b30b(0x11d)](_0x497ef3[_0x37b30b(0x1e1)])),_0x2b7d2(0x2,_0x447b69['IUIPartsService']),_0x2b7d2(0x3,_0x2d2b72[_0x37b30b(0x1d9)])],_0x2f44b2['MCPConnectionUIController']);function _0x16c3a5(_0x2f1ac9){const {status$:_0xa11283,error$:_0x3f18ce,onConfigure:_0x11ab8f,showClickable:_0x1325af}=_0x2f1ac9;return function(){return _0x5894a5['jsx'](_0xe1e11b,{'status$':_0xa11283,'error$':_0x3f18ce,'onConfigure':_0x11ab8f,'showClickable':_0x1325af});};}function _0x8a89d4(_0x521b34){var _0x2740e2=_0x37b30b;return{'id':_0xc26e02['id'],'type':_0x447b69[_0x2740e2(0x153)][_0x2740e2(0x141)],'icon':_0x2740e2(0x118),'title':_0x2740e2(0x180),'tooltip':_0x2740e2(0x180)};}const _0x3f94d6={[_0x447b69[_0x37b30b(0xdc)]['OTHERS']]:{[_0xc26e02['id']]:{'order':0xa,'menuItemFactory':_0x8a89d4}}};var _0x53928e=Object[_0x37b30b(0x1be)],_0xb428ef=(_0x318285,_0x2e84d7,_0x48bff8,_0x278e60)=>{var _0x3351cd=_0x37b30b;for(var _0x18bb96=_0x278e60>0x1?void 0x0:_0x278e60?_0x53928e(_0x2e84d7,_0x48bff8):_0x2e84d7,_0xf37853=_0x318285[_0x3351cd(0x17b)]-0x1,_0x3dda7a;_0xf37853>=0x0;_0xf37853--)(_0x3dda7a=_0x318285[_0xf37853])&&(_0x18bb96=_0x3dda7a(_0x18bb96)||_0x18bb96);return _0x18bb96;},_0x3d4367=(_0x29ce86,_0x12c48e)=>(_0x38a634,_0x440b91)=>_0x12c48e(_0x38a634,_0x440b91,_0x29ce86);_0x2f44b2['MCPUIMenuController']=class extends _0x2d2b72[_0x37b30b(0x159)]{constructor(_0x4d93b4,_0x543f76){var _0xe04c45=_0x37b30b;super(),this[_0xe04c45(0x217)]=_0x4d93b4,this[_0xe04c45(0x18a)]=_0x543f76,this['_initializeCommands'](),this['_initializeMenus']();}[_0x37b30b(0x1b2)](){var _0x19ad0d=_0x37b30b;[_0xc26e02][_0x19ad0d(0x182)](_0x293db3=>{var _0x36cecb=_0x19ad0d;this['disposeWithMe'](this[_0x36cecb(0x217)][_0x36cecb(0x8d)](_0x293db3));});}[_0x37b30b(0x1b0)](){var _0x50ff4d=_0x37b30b;this[_0x50ff4d(0x18a)]['mergeMenu'](_0x3f94d6);}},_0x2f44b2[_0x37b30b(0xce)]=_0xb428ef([_0x3d4367(0x0,_0x2d2b72['ICommandService']),_0x3d4367(0x1,_0x447b69[_0x37b30b(0x10d)])],_0x2f44b2['MCPUIMenuController']);const _0x1682db={'mcpStatus':{'disconnected':_0x37b30b(0x10f),'connecting':_0x37b30b(0xff),'connected':_0x37b30b(0xac),'failed':_0x37b30b(0x1ab),'retrying':_0x37b30b(0xa6),'unknown':_0x37b30b(0x1e0),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x37b30b(0x1b7),'networkError':_0x37b30b(0x202),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x37b30b(0x18e),'clickToConfigure':_0x37b30b(0xba)},'mcpConfig':{'title':_0x37b30b(0x19c),'description':_0x37b30b(0x117),'apiKey':_0x37b30b(0xfb),'apiKeyPlaceholder':_0x37b30b(0x103),'apiKeyHint':_0x37b30b(0xb8),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x37b30b(0x113),'mcpClientConfig':_0x37b30b(0x113),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x37b30b(0x129),'configStep1':_0x37b30b(0x8f),'configStep2':_0x37b30b(0x210),'configStep3':_0x37b30b(0x1c4),'sessionId':_0x37b30b(0x1b9),'sessionIdDescription':_0x37b30b(0x1da),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':'Configuration\x20Parameters:','maxRetries':_0x37b30b(0x1d8),'save':_0x37b30b(0x208),'saving':'Saving...','note1':_0x37b30b(0x20e),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x37b30b(0x1b6),'configError':_0x37b30b(0x1a0),'apiApplyInfo':{'title':_0x37b30b(0xd9),'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':_0x37b30b(0x1fe),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x37b30b(0x18c),'apiKeyTooShort':_0x37b30b(0x1ff),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x37b30b(0xc1),'connected':_0x37b30b(0xaf),'failed':'Connection\x20Failed','retrying':_0x37b30b(0x114)},'connectionError':{'unauthorized':_0x37b30b(0x21d),'sessionOccupied':_0x37b30b(0x143),'networkError':_0x37b30b(0x1fd),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x42f658={'mcpStatus':{'disconnected':_0x37b30b(0x190),'connecting':_0x37b30b(0x136),'connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0x37b30b(0xd8),'sessionOccupied':_0x37b30b(0xb2),'networkError':_0x37b30b(0x1e5),'maxRetriesExceeded':_0x37b30b(0xf5),'clickToConnect':_0x37b30b(0xae),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x37b30b(0xb1),'description':_0x37b30b(0x16d),'apiKey':_0x37b30b(0x87),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x37b30b(0x184),'enableAuth':'启用身份验证','enableAuthHint':_0x37b30b(0x131),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x37b30b(0x89),'configInstructions':_0x37b30b(0x13a),'configStepTitle':_0x37b30b(0xad),'configStep1':_0x37b30b(0xe1),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x37b30b(0xa9),'sessionId':_0x37b30b(0x160),'sessionIdDescription':_0x37b30b(0x1c7),'authorizationDescription':_0x37b30b(0xdf),'configParameters':_0x37b30b(0x1fb),'maxRetries':_0x37b30b(0x145),'save':_0x37b30b(0x1c6),'saving':_0x37b30b(0x14e),'note1':_0x37b30b(0xa0),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x37b30b(0x1ce),'configError':_0x37b30b(0x12d),'apiApplyInfo':{'title':_0x37b30b(0xef),'description':_0x37b30b(0x10a),'univerAiLabel':_0x37b30b(0x99),'getStarted':_0x37b30b(0x12a)},'validation':{'apiKeyRequired':_0x37b30b(0x107),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x37b30b(0x1f6)},'connectionStatus':{'disconnected':_0x37b30b(0xe8),'connecting':_0x37b30b(0x161),'connected':_0x37b30b(0x1ad),'failed':_0x37b30b(0x13d),'retrying':_0x37b30b(0xf4)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x37b30b(0x102),'networkError':_0x37b30b(0x18b),'maxRetriesExceeded':_0x37b30b(0xe6)}}};var _0x1fb6b2=Object[_0x37b30b(0x95)],_0x42da40=Object[_0x37b30b(0x1be)],_0x5c6530=(_0x29cf16,_0x30e66a,_0x7e3be5)=>_0x30e66a in _0x29cf16?_0x1fb6b2(_0x29cf16,_0x30e66a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7e3be5}):_0x29cf16[_0x30e66a]=_0x7e3be5,_0x31216a=(_0x3f2b2c,_0x66486b,_0x193980,_0x4b98c2)=>{for(var _0x387707=_0x4b98c2>0x1?void 0x0:_0x4b98c2?_0x42da40(_0x66486b,_0x193980):_0x66486b,_0x5ee5e0=_0x3f2b2c['length']-0x1,_0x5ad258;_0x5ee5e0>=0x0;_0x5ee5e0--)(_0x5ad258=_0x3f2b2c[_0x5ee5e0])&&(_0x387707=_0x5ad258(_0x387707)||_0x387707);return _0x387707;},_0x4d9e94=(_0x8cf797,_0x343051)=>(_0x2fecde,_0x59ae1f)=>_0x343051(_0x2fecde,_0x59ae1f,_0x8cf797),_0x313f32=(_0x3276cd,_0x4f5363,_0x52cb6e)=>_0x5c6530(_0x3276cd,_0x4f5363+'',_0x52cb6e);_0x2f44b2[_0x37b30b(0x9b)]=class extends _0x2d2b72[_0x37b30b(0x9d)]{constructor(_0x3f07f5=_0x22f26d,_0x48dbd4,_0x363668,_0x479dbb,_0x2020dc,_0x48e361){var _0xc07e8d=_0x37b30b;super(),this['_config']=_0x3f07f5,this[_0xc07e8d(0xea)]=_0x48dbd4,this[_0xc07e8d(0x15f)]=_0x363668,this['_uiPartsService']=_0x479dbb,this[_0xc07e8d(0xc6)]=_0x2020dc,this['_localeService']=_0x48e361;const {..._0x478b0e}=_0x2d2b72[_0xc07e8d(0x8c)]({},_0x22f26d,this[_0xc07e8d(0x196)]);this[_0xc07e8d(0x15f)][_0xc07e8d(0x110)](_0x2d0a08,_0x478b0e);}async[_0x37b30b(0x1bd)](){var _0x5abfa6=_0x37b30b;const _0x58b28=[[_0x2f44b2[_0x5abfa6(0x1ba)]],[_0x2f44b2[_0x5abfa6(0x132)]],[_0x2f44b2[_0x5abfa6(0xce)]]];this[_0x5abfa6(0xea)]['has'](_0x50e67a['ISocketService'])||_0x58b28[_0x5abfa6(0x1db)]([_0x50e67a[_0x5abfa6(0xab)],{'useClass':_0x50e67a[_0x5abfa6(0x11a)]}]),_0x58b28[_0x5abfa6(0x182)](_0x365a06=>this[_0x5abfa6(0xea)][_0x5abfa6(0x13c)](_0x365a06)),this[_0x5abfa6(0xea)][_0x5abfa6(0x194)](_0x2f44b2['MCPConnectionUIController']),this[_0x5abfa6(0xea)]['get'](_0x2f44b2['MCPConfigUIController']),this[_0x5abfa6(0xea)][_0x5abfa6(0x194)](_0x2f44b2['MCPUIMenuController']);}},_0x313f32(_0x2f44b2[_0x37b30b(0x9b)],_0x37b30b(0xa2),_0x37b30b(0xed)),_0x2f44b2[_0x37b30b(0x9b)]=_0x31216a([_0x2d2b72[_0x37b30b(0x169)](_0x497ef3['UniverMCPPlugin']),_0x4d9e94(0x1,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72[_0x37b30b(0x1c5)])),_0x4d9e94(0x2,_0x2d2b72[_0x37b30b(0x1d9)]),_0x4d9e94(0x3,_0x447b69[_0x37b30b(0xd2)]),_0x4d9e94(0x4,_0x2d2b72[_0x37b30b(0x94)]),_0x4d9e94(0x5,_0x2d2b72[_0x37b30b(0x11d)](_0x2d2b72[_0x37b30b(0x1ee)]))],_0x2f44b2[_0x37b30b(0x9b)]),_0x2f44b2[_0x37b30b(0x1af)]=_0xea54ac,_0x2f44b2[_0x37b30b(0x19e)]=_0xe1e11b,_0x2f44b2['OpenMCPConfigPanelCommand']=_0xc26e02,_0x2f44b2['enUS']=_0x1682db,_0x2f44b2[_0x37b30b(0x1a4)]=_0x42f658,Object[_0x37b30b(0x95)](_0x2f44b2,Symbol['toStringTag'],{'value':_0x37b30b(0x1d0)});}));
|
|
1
|
+
(function(_0x2052a2,_0x233a78){var _0x4ff4c1=_0x1ff0,_0x2fa2e9=_0x2052a2();while(!![]){try{var _0x4e94d8=parseInt(_0x4ff4c1(0x206))/0x1+parseInt(_0x4ff4c1(0x1d2))/0x2*(-parseInt(_0x4ff4c1(0x16a))/0x3)+parseInt(_0x4ff4c1(0x23d))/0x4+-parseInt(_0x4ff4c1(0x188))/0x5+parseInt(_0x4ff4c1(0x25b))/0x6+parseInt(_0x4ff4c1(0x1b1))/0x7*(-parseInt(_0x4ff4c1(0xec))/0x8)+parseInt(_0x4ff4c1(0x1c0))/0x9;if(_0x4e94d8===_0x233a78)break;else _0x2fa2e9['push'](_0x2fa2e9['shift']());}catch(_0x1c30e7){_0x2fa2e9['push'](_0x2fa2e9['shift']());}}}(_0x4901,0x4df02),function(_0x4633de,_0x354086){var _0x5146ee=_0x1ff0;typeof exports==_0x5146ee(0x1b8)&&typeof module<'u'?_0x354086(exports,require('@univerjs/core'),require('react/jsx-runtime'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('@univerjs/network')):typeof define==_0x5146ee(0x208)&&define[_0x5146ee(0xf1)]?define([_0x5146ee(0x197),_0x5146ee(0x1f5),_0x5146ee(0x17f),_0x5146ee(0x1c4),_0x5146ee(0x207),_0x5146ee(0x20d),'rxjs',_0x5146ee(0x256),_0x5146ee(0x258)],_0x354086):(_0x4633de=typeof globalThis<'u'?globalThis:_0x4633de||self,_0x354086(_0x4633de[_0x5146ee(0x1a6)]={},_0x4633de['UniverCore'],_0x4633de[_0x5146ee(0x1fc)],_0x4633de['UniverProMcp'],_0x4633de[_0x5146ee(0x24f)],_0x4633de['UniverUi'],_0x4633de[_0x5146ee(0x153)],_0x4633de[_0x5146ee(0x1fc)],_0x4633de[_0x5146ee(0xfd)]));}(this,function(_0x390653,_0x1c0671,_0x4ee893,_0x58715a,_0x26d26a,_0x1285f5,_0x13838f,_0x112f10,_0x4809fb){'use strict';var _0x5197a1=_0x1ff0;var _0xc3267=Object['defineProperty'],_0x725410=(_0x117ccb,_0x638f18,_0x1df55e)=>_0x638f18 in _0x117ccb?_0xc3267(_0x117ccb,_0x638f18,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1df55e}):_0x117ccb[_0x638f18]=_0x1df55e,_0x113228=(_0xd7ca20,_0x3034fd,_0x2729dc)=>_0x725410(_0xd7ca20,typeof _0x3034fd!='symbol'?_0x3034fd+'':_0x3034fd,_0x2729dc),_0x250081=function(){var _0xdf1be5=_0x1ff0;return _0x250081=Object[_0xdf1be5(0x1c9)]||function(_0xcee3af){var _0xaa5827=_0xdf1be5;for(var _0x103032,_0x4eafa2=0x1,_0x273565=arguments['length'];_0x4eafa2<_0x273565;_0x4eafa2++){_0x103032=arguments[_0x4eafa2];for(var _0x18489c in _0x103032)Object[_0xaa5827(0xf6)][_0xaa5827(0x157)]['call'](_0x103032,_0x18489c)&&(_0xcee3af[_0x18489c]=_0x103032[_0x18489c]);}return _0xcee3af;},_0x250081['apply'](this,arguments);},_0xd10705=function(_0x31b0f3,_0x3de955){var _0x2b5da3=_0x1ff0,_0x3401d3={};for(var _0x1a6271 in _0x31b0f3)Object[_0x2b5da3(0xf6)]['hasOwnProperty'][_0x2b5da3(0x19f)](_0x31b0f3,_0x1a6271)&&_0x3de955['indexOf'](_0x1a6271)<0x0&&(_0x3401d3[_0x1a6271]=_0x31b0f3[_0x1a6271]);if(_0x31b0f3!=null&&typeof Object[_0x2b5da3(0x135)]==_0x2b5da3(0x208)){for(var _0x3dfd33=0x0,_0x1a6271=Object[_0x2b5da3(0x135)](_0x31b0f3);_0x3dfd33<_0x1a6271['length'];_0x3dfd33++)_0x3de955['indexOf'](_0x1a6271[_0x3dfd33])<0x0&&Object[_0x2b5da3(0xf6)][_0x2b5da3(0x18f)][_0x2b5da3(0x19f)](_0x31b0f3,_0x1a6271[_0x3dfd33])&&(_0x3401d3[_0x1a6271[_0x3dfd33]]=_0x31b0f3[_0x1a6271[_0x3dfd33]]);}return _0x3401d3;},_0x4f0e64=_0x112f10['forwardRef'](function(_0x31d1d8,_0x50e4f5){var _0x964570=_0x1ff0,_0x370ba9=_0x31d1d8['icon'],_0x24b99c=_0x31d1d8['id'],_0x9f65a9=_0x31d1d8[_0x964570(0x1e7)],_0x1401ff=_0x31d1d8['extend'],_0x32fc62=_0xd10705(_0x31d1d8,['icon','id','className',_0x964570(0xe7)]),_0x155369=_0x964570(0x231)[_0x964570(0x255)](_0x24b99c,'\x20')['concat'](_0x9f65a9||'')[_0x964570(0xee)](),_0x310ed3=_0x112f10['useRef']('_'['concat'](_0x131ada()));return _0x27946f(_0x370ba9,''['concat'](_0x24b99c),{'defIds':_0x370ba9[_0x964570(0x165)],'idSuffix':_0x310ed3['current']},_0x250081({'ref':_0x50e4f5,'className':_0x155369},_0x32fc62),_0x1401ff);});function _0x27946f(_0x481e10,_0x342539,_0x17c0f2,_0x165af8,_0x12c249){var _0x4f63f9=_0x1ff0;return _0x112f10['createElement'](_0x481e10[_0x4f63f9(0x230)],_0x250081(_0x250081({'key':_0x342539},_0x35affe(_0x481e10,_0x17c0f2,_0x12c249)),_0x165af8),(_0x11d47b(_0x481e10,_0x17c0f2)['children']||[])[_0x4f63f9(0x14f)](function(_0x354276,_0x2eec6d){var _0x4f8585=_0x4f63f9;return _0x27946f(_0x354276,''['concat'](_0x342539,'-')[_0x4f8585(0x255)](_0x481e10[_0x4f8585(0x230)],'-')[_0x4f8585(0x255)](_0x2eec6d),_0x17c0f2,void 0x0,_0x12c249);}));}function _0x35affe(_0x3390c5,_0x5efd6a,_0x538a25){var _0x5137d3=_0x1ff0,_0x22fe7e=_0x250081({},_0x3390c5[_0x5137d3(0x221)]);_0x538a25!=null&&_0x538a25[_0x5137d3(0x213)]&&_0x22fe7e[_0x5137d3(0x202)]==='colorChannel1'&&(_0x22fe7e[_0x5137d3(0x202)]=_0x538a25[_0x5137d3(0x213)]),_0x3390c5[_0x5137d3(0x230)]===_0x5137d3(0x16c)&&_0x22fe7e['id']&&(_0x22fe7e['id']=_0x22fe7e['id']+_0x5efd6a[_0x5137d3(0x218)]),Object[_0x5137d3(0xd7)](_0x22fe7e)[_0x5137d3(0x242)](function(_0x34dddf){var _0xb6eebf=_0x5137d3,_0x3fa1a9=_0x34dddf[0x0],_0x44b976=_0x34dddf[0x1];_0x3fa1a9===_0xb6eebf(0x16c)&&typeof _0x44b976==_0xb6eebf(0xe0)&&(_0x22fe7e[_0x3fa1a9]=_0x44b976[_0xb6eebf(0x14e)](/url\(#(.*)\)/,_0xb6eebf(0x1c5)[_0xb6eebf(0x255)](_0x5efd6a[_0xb6eebf(0x218)],')')));});var _0x4bebae=_0x5efd6a[_0x5137d3(0x165)];return!_0x4bebae||_0x4bebae['length']===0x0||(_0x3390c5[_0x5137d3(0x230)]===_0x5137d3(0x184)&&_0x22fe7e[_0x5137d3(0xff)]&&(_0x22fe7e[_0x5137d3(0xff)]=_0x22fe7e[_0x5137d3(0xff)]+_0x5efd6a['idSuffix']),Object[_0x5137d3(0xd7)](_0x22fe7e)[_0x5137d3(0x242)](function(_0x28c115){var _0x581977=_0x5137d3,_0x50b27f=_0x28c115[0x0],_0x3e5487=_0x28c115[0x1];typeof _0x3e5487==_0x581977(0xe0)&&(_0x22fe7e[_0x50b27f]=_0x3e5487['replace'](/url\(#(.*)\)/,_0x581977(0x1c5)[_0x581977(0x255)](_0x5efd6a[_0x581977(0x218)],')')));})),_0x22fe7e;}function _0x11d47b(_0x50decd,_0x22d521){var _0x360b48=_0x1ff0,_0x281056,_0x331873=_0x22d521[_0x360b48(0x165)];return!_0x331873||_0x331873[_0x360b48(0x120)]===0x0?_0x50decd:_0x50decd[_0x360b48(0x230)]===_0x360b48(0x143)&&(!((_0x281056=_0x50decd['children'])===null||_0x281056===void 0x0)&&_0x281056[_0x360b48(0x120)])?_0x250081(_0x250081({},_0x50decd),{'children':_0x50decd[_0x360b48(0x158)]['map'](function(_0x4a74f4){var _0x47c31a=_0x360b48;return typeof _0x4a74f4[_0x47c31a(0x221)]['id']==_0x47c31a(0xe0)&&_0x331873&&_0x331873[_0x47c31a(0x235)](_0x4a74f4[_0x47c31a(0x221)]['id'])?_0x250081(_0x250081({},_0x4a74f4),{'attrs':_0x250081(_0x250081({},_0x4a74f4[_0x47c31a(0x221)]),{'id':_0x4a74f4[_0x47c31a(0x221)]['id']+_0x22d521['idSuffix']})}):_0x4a74f4;})}):_0x50decd;}function _0x131ada(){var _0x4c413a=_0x1ff0;return Math[_0x4c413a(0xd1)]()[_0x4c413a(0x113)](0x24)['substring'](0x2,0x8);}_0x4f0e64[_0x5197a1(0x10d)]=_0x5197a1(0x1c7);var _0x34941a={'tag':_0x5197a1(0xc5),'attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0x1fb),'width':_0x5197a1(0x1d1),'height':_0x5197a1(0x1d1)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x5197a1(0x209),'fillRule':_0x5197a1(0x1a3),'clipRule':_0x5197a1(0x1a3)}}]},_0x20f6b6=_0x112f10[_0x5197a1(0x126)](function(_0x3cef96,_0x52bc4e){var _0xbfcc54=_0x5197a1;return _0x112f10[_0xbfcc54(0x166)](_0x4f0e64,Object['assign']({},_0x3cef96,{'id':_0xbfcc54(0x21b),'ref':_0x52bc4e,'icon':_0x34941a}));});_0x20f6b6['displayName']=_0x5197a1(0x24b);var _0x23ca41={'tag':_0x5197a1(0xc5),'attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0xde),'width':_0x5197a1(0x1d1),'height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x5197a1(0x11e),'d':'M5.21243\x205.62036L11.8791\x2012.287','strokeLinecap':_0x5197a1(0x251),'strokeLinejoin':_0x5197a1(0x251),'strokeWidth':1.33}},{'tag':'path','attrs':{'stroke':_0x5197a1(0x11e),'d':'M5.21243\x2012.287L11.8791\x205.62036','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},_0x31d797=_0x112f10[_0x5197a1(0x126)](function(_0x16bf32,_0x4dfdc3){var _0x41a0a4=_0x5197a1;return _0x112f10[_0x41a0a4(0x166)](_0x4f0e64,Object[_0x41a0a4(0x1c9)]({},_0x16bf32,{'id':_0x41a0a4(0x22f),'ref':_0x4dfdc3,'icon':_0x23ca41}));});_0x31d797[_0x5197a1(0x10d)]=_0x5197a1(0x164);var _0x373560={'tag':_0x5197a1(0xc5),'attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':'0\x200\x2016\x2016','width':_0x5197a1(0x1d1),'height':'1em'},'children':[{'tag':_0x5197a1(0x243),'attrs':{'fill':_0x5197a1(0x11e),'d':_0x5197a1(0x19e)}},{'tag':_0x5197a1(0x243),'attrs':{'fill':_0x5197a1(0x11e),'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':_0x5197a1(0x243),'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':_0x5197a1(0x1a3),'clipRule':_0x5197a1(0x1a3)}}]},_0x81f444=_0x112f10[_0x5197a1(0x126)](function(_0x5605dc,_0x725dc6){var _0x323edd=_0x5197a1;return _0x112f10[_0x323edd(0x166)](_0x4f0e64,Object['assign']({},_0x5605dc,{'id':_0x323edd(0x12b),'ref':_0x725dc6,'icon':_0x373560}));});_0x81f444[_0x5197a1(0x10d)]=_0x5197a1(0x140);var _0xdf4b9c={'tag':'svg','attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0x1fb),'width':_0x5197a1(0x1d1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5197a1(0xd5)},'children':[{'tag':_0x5197a1(0x243),'attrs':{'stroke':_0x5197a1(0x11e),'d':_0x5197a1(0x12e),'strokeLinecap':_0x5197a1(0x251),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5197a1(0x143),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5197a1(0x1fd)},'children':[{'tag':_0x5197a1(0x243),'attrs':{'fill':_0x5197a1(0x200),'d':_0x5197a1(0xdb)}}]}]}],'defIds':[_0x5197a1(0x1fd)]},_0x382e9c=_0x112f10[_0x5197a1(0x126)](function(_0x229293,_0x1b1060){var _0xd02a28=_0x5197a1;return _0x112f10[_0xd02a28(0x166)](_0x4f0e64,Object['assign']({},_0x229293,{'id':_0xd02a28(0x102),'ref':_0x1b1060,'icon':_0xdf4b9c}));});_0x382e9c['displayName']=_0x5197a1(0x177);var _0x222dcf={'tag':'svg','attrs':{'xmlns':_0x5197a1(0x1c2),'fill':_0x5197a1(0x14d),'viewBox':_0x5197a1(0x156),'width':_0x5197a1(0x1d1),'height':_0x5197a1(0x1d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x5197a1(0x1e2)},'children':[{'tag':'path','attrs':{'stroke':_0x5197a1(0x11e),'d':_0x5197a1(0x18e),'strokeLinecap':_0x5197a1(0x251),'strokeLinejoin':_0x5197a1(0x251),'strokeWidth':1.2}}]},{'tag':_0x5197a1(0x143),'attrs':{},'children':[{'tag':_0x5197a1(0xda),'attrs':{'id':_0x5197a1(0x23f)},'children':[{'tag':'path','attrs':{'fill':_0x5197a1(0x200),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x5197a1(0x23f)]},_0x106b55=_0x112f10[_0x5197a1(0x126)](function(_0x56559c,_0x217467){var _0x1d1222=_0x5197a1;return _0x112f10['createElement'](_0x4f0e64,Object['assign']({},_0x56559c,{'id':_0x1d1222(0x12c),'ref':_0x217467,'icon':_0x222dcf}));});_0x106b55['displayName']=_0x5197a1(0x123);function _0xa2f4ab(_0x274fc9){var _0x55c3b1=_0x5197a1,_0xb18d7b,_0x1ffb45;const {mcpCoreConfig:_0xe26432,onSave:_0x2667f8,loading:_0xb236d5=!0x1,config:_0x578405,connectionStatus$:_0x4b61f5,connectionError$:_0x143775,currentApiKey$:_0x34758d,currentSessionId$:_0x1e8fe0}=_0x274fc9,_0x184f6b=_0x1285f5['useDependency'](_0x1c0671['LocaleService']),_0x3de39d=_0x1285f5[_0x55c3b1(0x105)](_0x4b61f5,_0x58715a[_0x55c3b1(0x136)][_0x55c3b1(0x12a)]),_0x3ea01d=_0x1285f5['useObservable'](_0x143775,_0x58715a[_0x55c3b1(0x212)]['NONE']),_0x3ec330=_0x1285f5[_0x55c3b1(0x105)](_0x1e8fe0,''),_0x30d7bb=_0x1285f5[_0x55c3b1(0x105)](_0x34758d,''),[_0x494996,_0x389a8b]=_0x112f10[_0x55c3b1(0x1cb)](_0x30d7bb||''),_0x20c32f=!0x0,_0x486d6c=_0x578405[_0x55c3b1(0x234)]&&_0xe26432['mcpServerUrl']&&(_0xe26432[_0x55c3b1(0x112)][_0x55c3b1(0x235)](_0x55c3b1(0x254))||_0xe26432[_0x55c3b1(0x112)]['includes'](_0x55c3b1(0x14c))),_0x2b9654=(_0xb18d7b=_0xe26432[_0x55c3b1(0x112)])==null?void 0x0:_0xb18d7b[_0x55c3b1(0x235)](_0x55c3b1(0x254)),_0x21ee9e=(_0x1ffb45=_0xe26432[_0x55c3b1(0x112)])==null?void 0x0:_0x1ffb45[_0x55c3b1(0x235)](_0x55c3b1(0x14c)),_0x30c594=_0x2b9654?_0x55c3b1(0x115):'https://console.univer.ai',_0x3384bc=_0x578405[_0x55c3b1(0x234)]&&(_0x2b9654||_0x21ee9e),[_0x57bcc5,_0x3ccff8]=_0x112f10[_0x55c3b1(0x1cb)](!_0x494996[_0x55c3b1(0xee)]()),_0x4306c9=(_0x1093fb,_0x448dfc)=>{var _0x54d195=_0x55c3b1;if(_0x448dfc===_0x58715a[_0x54d195(0x212)][_0x54d195(0x1ae)])return _0x54d195(0x1db);switch(_0x1093fb){case _0x58715a[_0x54d195(0x136)][_0x54d195(0x14b)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x58715a[_0x54d195(0x136)][_0x54d195(0x1b3)]:case _0x58715a[_0x54d195(0x136)]['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x58715a['MCPConnectionStatus'][_0x54d195(0x1aa)]:return _0x54d195(0x1db);default:return _0x54d195(0x1ad);}},_0x4f0b44=(_0x5bbe4a,_0x1d353b)=>{var _0x1df014=_0x55c3b1;if(_0x1d353b===_0x58715a[_0x1df014(0x212)][_0x1df014(0x1ae)])return _0x1df014(0xe2);switch(_0x5bbe4a){case _0x58715a[_0x1df014(0x136)]['CONNECTED']:return'univer-bg-green-500';case _0x58715a[_0x1df014(0x136)][_0x1df014(0x1b3)]:case _0x58715a[_0x1df014(0x136)][_0x1df014(0x1e6)]:return _0x1df014(0xe6);case _0x58715a['MCPConnectionStatus']['FAILED']:return _0x1df014(0xe2);default:return'univer-bg-gray-500';}},_0x117f85=_0xc4f075=>{var _0x4ac989=_0x55c3b1;switch(_0xc4f075){case _0x58715a[_0x4ac989(0x136)][_0x4ac989(0x14b)]:return _0x184f6b['t'](_0x4ac989(0x11c));case _0x58715a[_0x4ac989(0x136)][_0x4ac989(0x1b3)]:return _0x184f6b['t'](_0x4ac989(0x1eb));case _0x58715a['MCPConnectionStatus']['FAILED']:return _0x184f6b['t'](_0x4ac989(0xfc));case _0x58715a['MCPConnectionStatus'][_0x4ac989(0x1e6)]:return _0x184f6b['t'](_0x4ac989(0xe8));default:return _0x184f6b['t'](_0x4ac989(0x1ee));}},_0x3141e6=_0x36e6f8=>{var _0x4fb567=_0x55c3b1;switch(_0x36e6f8){case _0x58715a[_0x4fb567(0x212)][_0x4fb567(0x1ae)]:return _0x184f6b['t'](_0x4fb567(0x1c3));case _0x58715a[_0x4fb567(0x212)][_0x4fb567(0x1f3)]:return _0x184f6b['t'](_0x4fb567(0x15e));case _0x58715a[_0x4fb567(0x212)]['NETWORK_ERROR']:return _0x184f6b['t'](_0x4fb567(0xd4));case _0x58715a[_0x4fb567(0x212)][_0x4fb567(0x178)]:return _0x184f6b['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x24aa09=_0x112f10[_0x55c3b1(0x23e)](()=>{var _0x4eab3f=_0x55c3b1;const _0x24c262={..._0xe26432,'apiKey':_0x494996[_0x4eab3f(0xee)](),'enableAuth':_0x20c32f};_0x2667f8(_0x24c262);},[_0xe26432,_0x494996,_0x20c32f,_0x2667f8]),_0x1136de=_0x494996[_0x55c3b1(0xee)]()['length']>0x0;return _0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1df),'children':[_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':_0x55c3b1(0x1be),'children':_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x24e),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1c8),'children':_0x4ee893['jsx']('span',{'className':_0x55c3b1(0x1a4),'children':'⚙'})}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'children':_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0xfb),'children':_0x184f6b['t'](_0x55c3b1(0x134))})})]})}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x181),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1d5)+_0x4306c9(_0x3de39d,_0x3ea01d)+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x13a)+_0x4f0b44(_0x3de39d,_0x3ea01d)+_0x55c3b1(0x138)}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0xcf),'children':_0x117f85(_0x3de39d)})]})}),_0x3ea01d!==_0x58715a['MCPConnectionError'][_0x55c3b1(0x1ba)]&&(_0x3de39d===_0x58715a[_0x55c3b1(0x136)][_0x55c3b1(0x1aa)]||_0x3ea01d===_0x58715a[_0x55c3b1(0x212)][_0x55c3b1(0x1ae)])&&_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1dc),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0xdd),'children':'⚠️'}),_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0x13f),'children':_0x3141e6(_0x3ea01d)})]})})]}),_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':'univer-space-y-5','children':[_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':'univer-space-y-2','children':[_0x4ee893['jsxs'](_0x55c3b1(0x141),{'className':_0x55c3b1(0xe5),'children':[_0x4ee893[_0x55c3b1(0x15f)]('span',{'children':'🔑'}),'\x20',_0x184f6b['t'](_0x55c3b1(0x1d7)),_0x4ee893[_0x55c3b1(0x15f)]('span',{'className':_0x55c3b1(0x239),'children':'*'}),_0x486d6c&&_0x4ee893[_0x55c3b1(0x15f)]('a',{'href':_0x55c3b1(0x137),'onClick':()=>_0x3ccff8(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x184f6b['t']('mcpConfig.apiApplyInfo.title'),'children':_0x4ee893[_0x55c3b1(0x15f)](_0x81f444,{})})]}),_0x4ee893['jsx'](_0x26d26a[_0x55c3b1(0x142)],{'type':_0x55c3b1(0x176),'placeholder':_0x184f6b['t'](_0x55c3b1(0x1d3)),'value':_0x494996,'onChange':_0x389a8b,'disabled':_0xb236d5,'autoComplete':_0x55c3b1(0x1a7)}),_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0x1e5),'children':_0x184f6b['t']('mcpConfig.apiKeyHint')})]}),_0x486d6c&&_0x57bcc5&&_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1ac),'children':[_0x4ee893['jsx']('a',{'href':_0x55c3b1(0x137),'onClick':()=>_0x3ccff8(!0x1),'className':_0x55c3b1(0xc6),'title':_0x55c3b1(0xc9),'children':_0x4ee893[_0x55c3b1(0x15f)](_0x31d797,{})}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x10f),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'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':_0x4ee893['jsx']('span',{'className':_0x55c3b1(0x1f9),'children':'🚀'})}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':'univer-flex-1','children':[_0x4ee893['jsx']('h4',{'className':_0x55c3b1(0x1a0),'children':_0x184f6b['t']('mcpConfig.apiApplyInfo.title')}),_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x184f6b['t'](_0x55c3b1(0xe3))}),_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':_0x55c3b1(0x1e8),'children':_0x3384bc&&_0x4ee893[_0x55c3b1(0x13e)]('a',{'href':_0x30c594,'target':_0x55c3b1(0x246),'rel':_0x55c3b1(0x19b),'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'children':'🤖'}),_0x184f6b['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x4ee893['jsxs']('div',{'className':_0x55c3b1(0x169),'children':['✨','\x20',_0x184f6b['t'](_0x55c3b1(0x229))]})]})]})]}),_0x578405[_0x55c3b1(0x234)]&&_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x23b),'children':[_0x4ee893[_0x55c3b1(0x13e)]('h4',{'className':_0x55c3b1(0x201),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'children':'🔗'}),'\x20',_0x184f6b['t'](_0x55c3b1(0x24d))]}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x10a),'children':[_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x18a),'children':[_0x4ee893[_0x55c3b1(0x15f)]('p',{'className':_0x55c3b1(0x247),'children':_0x184f6b['t'](_0x55c3b1(0x1b5))}),_0x4ee893['jsxs']('div',{'className':_0x55c3b1(0x1dd),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x184f6b['t'](_0x55c3b1(0x1a9))}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x182),'children':[_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)]('span',{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x184f6b['t'](_0x55c3b1(0x21a))]}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0x179),'children':'2'}),_0x184f6b['t']('mcpConfig.configStep2')]}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':'univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x184f6b['t'](_0x55c3b1(0x17d))]})]})]})]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':'univer-space-y-2','children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x238),'children':_0x55c3b1(0x1d8)}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x106),'children':_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0xdc),{'className':_0x55c3b1(0x116),'children':_0x55c3b1(0x16f)+_0x3ec330+_0x55c3b1(0x16d)+(_0x494996||'<API_KEY>')+_0x55c3b1(0x139)})})]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x18a),'children':[_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':_0x55c3b1(0x238),'children':_0x184f6b['t']('mcpConfig.configParameters')}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1dd),'children':[_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x4ee893['jsx']('div',{'className':_0x55c3b1(0x146)}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x4ee893[_0x55c3b1(0x15f)]('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1e5),'children':_0x184f6b['t'](_0x55c3b1(0x149))})]})]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x4ee893['jsx'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x146)}),_0x4ee893[_0x55c3b1(0x13e)]('div',{'className':_0x55c3b1(0x1e3),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1ec),'children':_0x55c3b1(0x16e)}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x184f6b['t'](_0x55c3b1(0xcc))})]})]})]})]})]})]}),_0x4ee893[_0x55c3b1(0x15f)](_0x26d26a[_0x55c3b1(0x18b)],{'onClick':_0x24aa09,'disabled':!_0x1136de||_0xb236d5,'className':_0x55c3b1(0x190),'children':_0xb236d5?_0x4ee893[_0x55c3b1(0x13e)]('span',{'className':_0x55c3b1(0xce),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'children':'⟲'}),_0x184f6b['t'](_0x55c3b1(0xeb))]}):_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x1f7),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x4ee893[_0x55c3b1(0x15f)](_0x20f6b6,{}),_0x184f6b['t'](_0x55c3b1(0xe1))]})}),_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x103),'children':_0x4ee893['jsxs'](_0x55c3b1(0x147),{'className':_0x55c3b1(0x1d0),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x1f7),{'className':_0x55c3b1(0x10c),'children':'💡'}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x124),'children':[_0x4ee893[_0x55c3b1(0x15f)](_0x55c3b1(0x147),{'className':_0x55c3b1(0x237),'children':_0x55c3b1(0x1e4)}),_0x4ee893['jsxs'](_0x55c3b1(0x147),{'children':['•',_0x184f6b['t'](_0x55c3b1(0x1cc))]}),_0x4ee893[_0x55c3b1(0x13e)](_0x55c3b1(0x147),{'children':['•',_0x184f6b['t'](_0x55c3b1(0x250))]})]})]})})]})})]});}const _0x2bcee4=_0x5197a1(0x151),_0x42a7fd={'showDeveloperTools':!0x1,'showStatus':!0x0};var _0x224106=Object[_0x5197a1(0x155)],_0x125619=(_0x4b1c53,_0x14361b,_0x4aaf96,_0x1d1f45)=>{var _0x22357d=_0x5197a1;for(var _0x40cc64=_0x1d1f45>0x1?void 0x0:_0x1d1f45?_0x224106(_0x14361b,_0x4aaf96):_0x14361b,_0xbff49f=_0x4b1c53[_0x22357d(0x120)]-0x1,_0x5bb837;_0xbff49f>=0x0;_0xbff49f--)(_0x5bb837=_0x4b1c53[_0xbff49f])&&(_0x40cc64=_0x5bb837(_0x40cc64)||_0x40cc64);return _0x40cc64;},_0xfb53da=(_0x41e204,_0x4d59ab)=>(_0x3b65bb,_0x487a93)=>_0x4d59ab(_0x3b65bb,_0x487a93,_0x41e204);const _0x2d6213='mcp.apiKey',_0x42c739='mcp-config-dialog';_0x390653['MCPConfigUIController']=class extends _0x1c0671[_0x5197a1(0x20a)]{constructor(_0xf2b6f,_0x39fba8,_0x224674,_0x53bbf5,_0x31c11c,_0x4842b4,_0x4c8fad,_0x3c450a,_0x362a86,_0x5aa1ae){var _0x5782e5=_0x5197a1;super(),_0x113228(this,_0x5782e5(0x122),new _0x13838f[(_0x5782e5(0x13d))](!0x1)),_0x113228(this,_0x5782e5(0x119),new _0x13838f[(_0x5782e5(0x13d))]({})),_0x113228(this,_0x5782e5(0xef),new _0x13838f[(_0x5782e5(0x13d))]({})),_0x113228(this,_0x5782e5(0xd9),new _0x13838f[(_0x5782e5(0x13d))]('')),_0x113228(this,'_handleConfigSave',async _0x5b0baf=>{var _0x48af98=_0x5782e5,_0x4baabd,_0x2e03fe;this['_loading$'][_0x48af98(0x18d)](!0x0);try{const _0x2891a0=await this[_0x48af98(0x20c)](_0x5b0baf);if(!_0x2891a0[_0x48af98(0x1a2)]){this[_0x48af98(0x22d)]['show']({'type':_0x26d26a[_0x48af98(0x1f6)][_0x48af98(0x244)],'content':_0x2891a0['errorMessage']||this['_localeService']['t'](_0x48af98(0x1f8))});return;}_0x5b0baf[_0x48af98(0x222)]?await this[_0x48af98(0x1ef)]['setItem'](_0x2d6213,_0x5b0baf['apiKey'][_0x48af98(0xee)]()):await this[_0x48af98(0x1ef)][_0x48af98(0x1bf)](_0x2d6213),this[_0x48af98(0xd9)][_0x48af98(0x18d)](((_0x4baabd=_0x5b0baf[_0x48af98(0x222)])==null?void 0x0:_0x4baabd[_0x48af98(0xee)]())||''),this[_0x48af98(0x1f0)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x2e03fe=_0x5b0baf[_0x48af98(0x222)])==null?void 0x0:_0x2e03fe[_0x48af98(0xee)]())}),this[_0x48af98(0x22d)][_0x48af98(0x170)]({'type':_0x26d26a['MessageType'][_0x48af98(0x15c)],'content':this[_0x48af98(0x1cd)]['t'](_0x48af98(0x1e1))}),setTimeout(()=>{var _0x170741=_0x48af98;this[_0x170741(0x1a8)]['close'](_0x42c739);},0x320);}catch(_0x207f89){this[_0x48af98(0x1f4)][_0x48af98(0x23a)](_0x48af98(0x107),_0x207f89),this[_0x48af98(0x22d)][_0x48af98(0x170)]({'type':_0x26d26a[_0x48af98(0x1f6)][_0x48af98(0x244)],'content':this[_0x48af98(0x1cd)]['t'](_0x48af98(0xea))});}finally{this[_0x48af98(0x122)][_0x48af98(0x18d)](!0x1);}}),(this[_0x5782e5(0x108)]=_0xf2b6f,this[_0x5782e5(0x204)]=_0x39fba8,this[_0x5782e5(0x1cf)]=_0x224674,this[_0x5782e5(0x1ef)]=_0x53bbf5,this[_0x5782e5(0x1a8)]=_0x31c11c,this[_0x5782e5(0x22d)]=_0x4842b4,this[_0x5782e5(0x1e0)]=_0x4c8fad,this[_0x5782e5(0x1cd)]=_0x3c450a,this['_logService']=_0x362a86,this[_0x5782e5(0x1f0)]=_0x5aa1ae,this[_0x5782e5(0x252)](),this[_0x5782e5(0x111)](),this[_0x5782e5(0xed)]());}[_0x5197a1(0xf3)](){var _0xe3aea0=_0x5197a1;const _0x362c07=this['_configService'][_0xe3aea0(0x114)](_0x2bcee4);_0x362c07!=null&&_0x362c07[_0xe3aea0(0x234)]&&this[_0xe3aea0(0x1a8)][_0xe3aea0(0x1b9)]({'id':_0x42c739,'title':{'title':this[_0xe3aea0(0x1cd)]['t']('mcpConfig.title')},'children':{'label':_0xe3aea0(0x257)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x1566e7=_0xe3aea0;this[_0x1566e7(0x1a8)][_0x1566e7(0x1fa)](_0x42c739);}});}[_0x5197a1(0xd0)](){var _0xaf0c54=_0x5197a1;return this[_0xaf0c54(0x119)][_0xaf0c54(0x174)];}[_0x5197a1(0xed)](){var _0x5fa58d=_0x5197a1;this[_0x5fa58d(0x110)](this[_0x5fa58d(0x1e0)][_0x5fa58d(0x23c)]('MCPConfigPanel',this[_0x5fa58d(0xf9)]()));}[_0x5197a1(0xf9)](){var _0xa78944=_0x5197a1;return _0x1285f5[_0xa78944(0x1f1)](()=>{var _0x2a0df8=_0xa78944,_0x2b4c44,_0x50960f,_0x2604c1;return _0x4ee893['jsx'](_0xa2f4ab,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x2a0df8(0x119)][_0x2a0df8(0x174)],'currentApiKey$':this[_0x2a0df8(0xd9)],'onSave':this[_0x2a0df8(0x109)],'loading':this[_0x2a0df8(0x122)][_0x2a0df8(0x174)],'connectionStatus$':(_0x2b4c44=this[_0x2a0df8(0x1f0)])==null?void 0x0:_0x2b4c44[_0x2a0df8(0xf4)],'connectionError$':(_0x50960f=this[_0x2a0df8(0x1f0)])==null?void 0x0:_0x50960f[_0x2a0df8(0x1bb)],'currentSessionId$':(_0x2604c1=this[_0x2a0df8(0x1f0)])==null?void 0x0:_0x2604c1[_0x2a0df8(0x10b)]});},this['_injector']);}[_0x5197a1(0x252)](){var _0x3fab63=_0x5197a1;this[_0x3fab63(0x110)](this[_0x3fab63(0x1cf)][_0x3fab63(0x19a)](_0x58715a['MCP_PLUGIN_CONFIG_KEY'])[_0x3fab63(0xf7)](_0x3690ef=>{this['_mcpCoreConfig$']['next'](_0x3690ef||{});}));const _0x52f65d=this[_0x3fab63(0x1cf)][_0x3fab63(0x114)](_0x58715a[_0x3fab63(0x216)]);this['_mcpCoreConfig$'][_0x3fab63(0x18d)](_0x52f65d||{}),this[_0x3fab63(0x110)](this['_configService'][_0x3fab63(0x19a)](_0x2bcee4)[_0x3fab63(0xf7)](_0x235d49=>{var _0x32fb66=_0x3fab63;this[_0x32fb66(0xef)][_0x32fb66(0x18d)](_0x235d49||{});}));const _0x8e6563=this[_0x3fab63(0x1cf)]['getConfig'](_0x2bcee4);this[_0x3fab63(0xef)][_0x3fab63(0x18d)](_0x8e6563||{});}async[_0x5197a1(0x111)](){var _0x4837c6=_0x5197a1;const _0x1e4361=this[_0x4837c6(0x1cf)][_0x4837c6(0x114)](_0x2bcee4);if(!(_0x1e4361!=null&&_0x1e4361['showDeveloperTools']))return;const _0xe0f363=await this['_localStorageService'][_0x4837c6(0x187)](_0x2d6213);_0xe0f363&&(this[_0x4837c6(0x1f0)][_0x4837c6(0x125)]({'Authorization':_0x4837c6(0x24c)+_0xe0f363}),this[_0x4837c6(0xd9)][_0x4837c6(0x18d)](_0xe0f363));}async['_validateConfig'](_0x24fc99){var _0x1ea752=_0x5197a1;if(!_0x24fc99[_0x1ea752(0x222)]||_0x24fc99[_0x1ea752(0x222)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1ea752(0x1cd)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x24fc99['apiKey'][_0x1ea752(0xee)]()[_0x1ea752(0x120)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1ea752(0x1cd)]['t']('mcpConfig.validation.apiKeyTooShort')};try{const _0x4b50a6=await this[_0x1ea752(0x108)][_0x1ea752(0x224)](_0x58715a[_0x1ea752(0x195)])[_0x1ea752(0x1da)](_0x24fc99['apiKey'][_0x1ea752(0xee)]());return _0x4b50a6['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x4b50a6['error']||this[_0x1ea752(0x1cd)]['t'](_0x1ea752(0x10e))};}catch(_0x113fb9){return console['warn'](_0x1ea752(0xf0),_0x113fb9),{'isValid':!0x0};}}},_0x390653[_0x5197a1(0x1e9)]=_0x125619([_0xfb53da(0x0,_0x1c0671['Inject'](_0x1c0671[_0x5197a1(0x15b)])),_0xfb53da(0x1,_0x1285f5[_0x5197a1(0x159)]),_0xfb53da(0x2,_0x1c0671[_0x5197a1(0x167)]),_0xfb53da(0x3,_0x1c0671['ILocalStorageService']),_0xfb53da(0x4,_0x1285f5[_0x5197a1(0x1c1)]),_0xfb53da(0x5,_0x1285f5[_0x5197a1(0x1af)]),_0xfb53da(0x6,_0x1c0671[_0x5197a1(0x215)](_0x1285f5[_0x5197a1(0xd8)])),_0xfb53da(0x7,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x1fe)])),_0xfb53da(0x8,_0x1c0671[_0x5197a1(0x13b)]),_0xfb53da(0x9,_0x1c0671[_0x5197a1(0x215)](_0x58715a[_0x5197a1(0x195)]))],_0x390653[_0x5197a1(0x1e9)]);const _0x7e120d={'id':_0x5197a1(0x214),'type':_0x1c0671[_0x5197a1(0x22b)][_0x5197a1(0x132)],'handler':async(_0x46e044,_0x2883ba)=>(_0x46e044['get'](_0x390653[_0x5197a1(0x1e9)])[_0x5197a1(0xf3)](),!0x0)};function _0x5aedbc(_0x209d37,_0x178ca9){var _0x19f164=_0x5197a1;switch(_0x209d37){case _0x58715a[_0x19f164(0x136)][_0x19f164(0x12a)]:return'mcpStatus.disconnected';case _0x58715a[_0x19f164(0x136)]['CONNECTING']:return _0x19f164(0x1b2);case _0x58715a[_0x19f164(0x136)][_0x19f164(0x14b)]:return _0x19f164(0x220);case _0x58715a[_0x19f164(0x136)][_0x19f164(0x1aa)]:switch(_0x178ca9){case _0x58715a[_0x19f164(0x212)][_0x19f164(0x1ae)]:return _0x19f164(0x144);case _0x58715a['MCPConnectionError']['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x58715a[_0x19f164(0x212)][_0x19f164(0x1d6)]:return'mcpStatus.networkError';case _0x58715a[_0x19f164(0x212)]['MAX_RETRIES_EXCEEDED']:return _0x19f164(0x236);default:return'mcpStatus.failed';}case _0x58715a[_0x19f164(0x136)][_0x19f164(0x1e6)]:return _0x19f164(0x198);default:return'mcpStatus.unknown';}}function _0x2c9527(_0x269794,_0x2f8f9e,_0x51eee2,_0x28156b=!0x0){var _0x31bd1f=_0x5197a1;const _0x3e5544=_0x5aedbc(_0x269794,_0x2f8f9e),_0x617d50=_0x51eee2['t'](_0x3e5544);return _0x28156b?_0x269794===_0x58715a['MCPConnectionStatus'][_0x31bd1f(0x12a)]&&_0x2f8f9e===_0x58715a[_0x31bd1f(0x212)][_0x31bd1f(0x1ae)]?_0x617d50+'\x20-\x20'+_0x51eee2['t']('mcpStatus.clickToConfigure'):_0x269794===_0x58715a[_0x31bd1f(0x136)][_0x31bd1f(0x14b)]?''+_0x617d50:_0x269794===_0x58715a[_0x31bd1f(0x136)][_0x31bd1f(0x12a)]||_0x269794===_0x58715a[_0x31bd1f(0x136)][_0x31bd1f(0x1aa)]?_0x617d50+'\x20-\x20'+_0x51eee2['t'](_0x31bd1f(0x11f)):_0x617d50:_0x617d50;}function _0x23b005(_0x52aedd){var _0x177b8d=_0x5197a1;switch(_0x52aedd){case _0x58715a[_0x177b8d(0x136)][_0x177b8d(0x14b)]:return _0x177b8d(0x160);case _0x58715a['MCPConnectionStatus'][_0x177b8d(0x1b3)]:case _0x58715a['MCPConnectionStatus'][_0x177b8d(0x1e6)]:return _0x177b8d(0x225);case _0x58715a[_0x177b8d(0x136)][_0x177b8d(0x1aa)]:case _0x58715a[_0x177b8d(0x136)][_0x177b8d(0x12a)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function _0x375b28(_0x2a75a1){var _0x1b2129=_0x5197a1;const {status$:_0x211c14,error$:_0x2dfa28,onConfigure:_0x200841,showClickable:_0xc3f009=!0x0}=_0x2a75a1,_0x22cf5c=_0x1285f5['useObservable'](_0x211c14,_0x58715a[_0x1b2129(0x136)][_0x1b2129(0x12a)]),_0x3c1d1e=_0x1285f5[_0x1b2129(0x105)](_0x2dfa28,_0x58715a[_0x1b2129(0x212)][_0x1b2129(0x1ba)]),_0x4c20e3=_0x1285f5[_0x1b2129(0x205)](_0x1c0671[_0x1b2129(0x1fe)]),_0x3d085f=_0x22cf5c===_0x58715a[_0x1b2129(0x136)][_0x1b2129(0x14b)];_0x22cf5c===_0x58715a[_0x1b2129(0x136)]['CONNECTING']||_0x58715a[_0x1b2129(0x136)][_0x1b2129(0x1e6)];const _0xcbb3e3=_0x4c20e3['t'](_0x5aedbc(_0x22cf5c,_0x3c1d1e)),_0x5e3a0c=_0x2c9527(_0x22cf5c,_0x3c1d1e,_0x4c20e3,_0xc3f009),_0x22bc20=_0x23b005(_0x22cf5c),_0x5041bc=_0x3d085f?_0x4ee893[_0x1b2129(0x15f)](_0x106b55,{}):_0x4ee893[_0x1b2129(0x15f)](_0x382e9c,{}),_0x4a6f2a=_0x112f10[_0x1b2129(0x23e)](()=>{_0xc3f009&&_0x200841&&_0x200841();},[_0xc3f009,_0x200841]);function _0x19090d(){var _0xda637a=_0x1b2129;return _0x4ee893['jsxs'](_0xda637a(0x147),{'className':_0x26d26a[_0xda637a(0x131)](_0xda637a(0x20b),_0xc3f009&&_0x200841&&_0xda637a(0x148)),'onClick':_0xc3f009&&_0x200841?_0x4a6f2a:void 0x0,'children':[_0x4ee893['jsx'](_0xda637a(0x147),{'className':_0x26d26a['clsx'](_0xda637a(0x130),_0x22bc20),'children':_0x5041bc}),_0x4ee893[_0xda637a(0x15f)](_0xda637a(0x147),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xcbb3e3})]});}return _0x4ee893[_0x1b2129(0x15f)](_0x26d26a[_0x1b2129(0x17a)],{'title':_0x5e3a0c,'placement':_0x1b2129(0x1ca),'children':_0x19090d()});}var _0x16d80d=Object[_0x5197a1(0x155)],_0x3bdfce=(_0x116143,_0x29d1b4,_0x552259,_0x4dd553)=>{for(var _0x58333d=_0x4dd553>0x1?void 0x0:_0x4dd553?_0x16d80d(_0x29d1b4,_0x552259):_0x29d1b4,_0x261a82=_0x116143['length']-0x1,_0x56ffb9;_0x261a82>=0x0;_0x261a82--)(_0x56ffb9=_0x116143[_0x261a82])&&(_0x58333d=_0x56ffb9(_0x58333d)||_0x58333d);return _0x58333d;},_0x2d395d=(_0x531a58,_0x4f9ca1)=>(_0x123894,_0xa14485)=>_0x4f9ca1(_0x123894,_0xa14485,_0x531a58);_0x390653[_0x5197a1(0xf8)]=class extends _0x1c0671[_0x5197a1(0x20a)]{constructor(_0x23a845,_0x2e73d2,_0x103645,_0x3c8a4a){var _0x438274=_0x5197a1;super(),this['_injector']=_0x23a845,this['_connectionController']=_0x2e73d2,this[_0x438274(0x204)]=_0x103645,this[_0x438274(0x1cf)]=_0x3c8a4a,this[_0x438274(0xf2)](),this[_0x438274(0x175)]();}[_0x5197a1(0xf2)](){var _0x3dd0eb=_0x5197a1;const _0x2244a0=this[_0x3dd0eb(0x1cf)][_0x3dd0eb(0x114)](_0x2bcee4);_0x2244a0!=null&&_0x2244a0[_0x3dd0eb(0x234)]&&(this[_0x3dd0eb(0x100)][_0x3dd0eb(0x121)]=!0x1);}[_0x5197a1(0x175)](){var _0x5d861f=_0x5197a1;const _0x4ffdf6=this['_configService']['getConfig'](_0x2bcee4);(_0x4ffdf6==null?void 0x0:_0x4ffdf6[_0x5d861f(0x161)])!==!0x1&&this['disposeWithMe'](this[_0x5d861f(0x204)][_0x5d861f(0x24a)](_0x1285f5[_0x5d861f(0xc7)][_0x5d861f(0x180)],()=>{var _0xf93376=_0x5d861f,_0x44f46b;return _0x1285f5[_0xf93376(0x1f1)](_0x163bf3({'status$':this[_0xf93376(0x100)][_0xf93376(0xf4)],'error$':this[_0xf93376(0x100)]['connectionError$'],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x44f46b=_0x4ffdf6==null?void 0x0:_0x4ffdf6['showDeveloperTools'])!=null?_0x44f46b:!0x1}),this['_injector']);}));}['_handleConfigure'](){var _0x154146=_0x5197a1;this[_0x154146(0x108)][_0x154146(0x224)](_0x390653[_0x154146(0x1e9)])[_0x154146(0xf3)]();}},_0x390653['MCPConnectionUIController']=_0x3bdfce([_0x2d395d(0x0,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x15b)])),_0x2d395d(0x1,_0x1c0671[_0x5197a1(0x215)](_0x58715a[_0x5197a1(0x195)])),_0x2d395d(0x2,_0x1285f5[_0x5197a1(0x159)]),_0x2d395d(0x3,_0x1c0671[_0x5197a1(0x167)])],_0x390653[_0x5197a1(0xf8)]);function _0x163bf3(_0x575ca6){const {status$:_0x288bc4,error$:_0x265ca7,onConfigure:_0x159f2a,showClickable:_0x2a88c7}=_0x575ca6;return function(){var _0x47d86b=_0x1ff0;return _0x4ee893[_0x47d86b(0x15f)](_0x375b28,{'status$':_0x288bc4,'error$':_0x265ca7,'onConfigure':_0x159f2a,'showClickable':_0x2a88c7});};}function _0x3b37c4(_0x51f225){var _0x354491=_0x5197a1;return{'id':_0x7e120d['id'],'type':_0x1285f5[_0x354491(0x171)][_0x354491(0x17b)],'icon':_0x354491(0x189),'title':'mcpConfig.title','tooltip':'mcpConfig.title'};}const _0x2ed55f={[_0x1285f5[_0x5197a1(0x186)][_0x5197a1(0x17e)]]:{[_0x7e120d['id']]:{'order':0xa,'menuItemFactory':_0x3b37c4}}};var _0x2692ce=Object[_0x5197a1(0x155)],_0x4ebbbe=(_0x560d46,_0x362b5f,_0x41838f,_0x24611c)=>{var _0xc4520c=_0x5197a1;for(var _0x3065ce=_0x24611c>0x1?void 0x0:_0x24611c?_0x2692ce(_0x362b5f,_0x41838f):_0x362b5f,_0xc02d88=_0x560d46[_0xc4520c(0x120)]-0x1,_0x21bc9e;_0xc02d88>=0x0;_0xc02d88--)(_0x21bc9e=_0x560d46[_0xc02d88])&&(_0x3065ce=_0x21bc9e(_0x3065ce)||_0x3065ce);return _0x3065ce;},_0x1d9c76=(_0x509f8c,_0x304c0e)=>(_0x298bbf,_0x20de49)=>_0x304c0e(_0x298bbf,_0x20de49,_0x509f8c);_0x390653[_0x5197a1(0x259)]=class extends _0x1c0671[_0x5197a1(0x20a)]{constructor(_0x48ab9a,_0x3304e6){var _0x842185=_0x5197a1;super(),this[_0x842185(0x1ab)]=_0x48ab9a,this[_0x842185(0x241)]=_0x3304e6,this['_initializeCommands'](),this['_initializeMenus']();}[_0x5197a1(0x1b7)](){var _0x158397=_0x5197a1;[_0x7e120d][_0x158397(0x242)](_0x4551ae=>{var _0x5e7210=_0x158397;this[_0x5e7210(0x110)](this[_0x5e7210(0x1ab)][_0x5e7210(0x20e)](_0x4551ae));});}['_initializeMenus'](){var _0x158e26=_0x5197a1;this['_menuManagerService'][_0x158e26(0x15a)](_0x2ed55f);}},_0x390653['MCPUIMenuController']=_0x4ebbbe([_0x1d9c76(0x0,_0x1c0671['ICommandService']),_0x1d9c76(0x1,_0x1285f5['IMenuManagerService'])],_0x390653[_0x5197a1(0x259)]);const _0x5ba88e={'mcpStatus':{'disconnected':_0x5197a1(0x21e),'connecting':_0x5197a1(0x25a),'connected':_0x5197a1(0xcb),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5197a1(0x15d),'unknown':_0x5197a1(0x13c),'unauthorized':_0x5197a1(0x12d),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x5197a1(0x150),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5197a1(0x211),'clickToConfigure':_0x5197a1(0x194)},'mcpConfig':{'title':_0x5197a1(0x1d8),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x5197a1(0x129),'apiKeyHint':_0x5197a1(0x1ea),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5197a1(0x18c),'connectionInfo':_0x5197a1(0x183),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x5197a1(0x228),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5197a1(0x21c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5197a1(0x217),'sessionId':_0x5197a1(0xd2),'sessionIdDescription':_0x5197a1(0x12f),'authorizationDescription':_0x5197a1(0x133),'configParameters':_0x5197a1(0xdf),'maxRetries':_0x5197a1(0x196),'save':_0x5197a1(0x1d4),'saving':_0x5197a1(0x1bc),'note1':_0x5197a1(0x199),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x5197a1(0x248),'configError':_0x5197a1(0x163),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5197a1(0x232),'univerAiLabel':_0x5197a1(0x21f),'getStarted':_0x5197a1(0xc8)},'validation':{'apiKeyRequired':_0x5197a1(0x1ce),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x5197a1(0x19d),'invalidApiKey':_0x5197a1(0x210)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x5197a1(0x1de),'failed':'Connection\x20Failed','retrying':_0x5197a1(0x16b)},'connectionError':{'unauthorized':_0x5197a1(0x1b4),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5197a1(0x1c6),'maxRetriesExceeded':_0x5197a1(0x227)}}},_0x1e1f1c={'mcpStatus':{'disconnected':_0x5197a1(0x11a),'connecting':_0x5197a1(0xca),'connected':_0x5197a1(0xcd),'failed':_0x5197a1(0x104),'retrying':_0x5197a1(0x154),'unknown':_0x5197a1(0x1a1),'unauthorized':_0x5197a1(0x1f2),'sessionOccupied':_0x5197a1(0x101),'networkError':_0x5197a1(0x22a),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x5197a1(0x117),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x5197a1(0x1bd),'apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x5197a1(0x226),'enableAuthHint':_0x5197a1(0xfa),'connectionInfo':_0x5197a1(0x203),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x5197a1(0xfe),'configStepTitle':_0x5197a1(0x1a5),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x5197a1(0x219),'configStep3':_0x5197a1(0x20f),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x5197a1(0x1b6),'configParameters':_0x5197a1(0x193),'maxRetries':_0x5197a1(0x173),'save':_0x5197a1(0x1b0),'saving':_0x5197a1(0x22e),'note1':'配置更改将立即生效','note2':_0x5197a1(0xe4),'configSaved':_0x5197a1(0x253),'configError':_0x5197a1(0x162),'apiApplyInfo':{'title':_0x5197a1(0x233),'description':_0x5197a1(0xd3),'univerAiLabel':_0x5197a1(0x17c),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x5197a1(0x192),'invalidApiKey':_0x5197a1(0x127)},'connectionStatus':{'disconnected':_0x5197a1(0x240),'connecting':'连接中...','connected':_0x5197a1(0xf5),'failed':_0x5197a1(0x145),'retrying':_0x5197a1(0x191)},'connectionError':{'unauthorized':_0x5197a1(0x172),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x5197a1(0x152),'maxRetriesExceeded':_0x5197a1(0x1ff)}}};var _0x535adb=Object[_0x5197a1(0x21d)],_0x519a89=Object[_0x5197a1(0x155)],_0x319dd1=(_0x46dc92,_0x35275a,_0xe8724b)=>_0x35275a in _0x46dc92?_0x535adb(_0x46dc92,_0x35275a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe8724b}):_0x46dc92[_0x35275a]=_0xe8724b,_0x45c737=(_0x3aa8ae,_0x1c9f6f,_0x36eaf8,_0x19382d)=>{for(var _0x345024=_0x19382d>0x1?void 0x0:_0x19382d?_0x519a89(_0x1c9f6f,_0x36eaf8):_0x1c9f6f,_0x122b4d=_0x3aa8ae['length']-0x1,_0x5636bb;_0x122b4d>=0x0;_0x122b4d--)(_0x5636bb=_0x3aa8ae[_0x122b4d])&&(_0x345024=_0x5636bb(_0x345024)||_0x345024);return _0x345024;},_0x358244=(_0x1e5ab5,_0x9da1f9)=>(_0x2d5f1a,_0x36fcb1)=>_0x9da1f9(_0x2d5f1a,_0x36fcb1,_0x1e5ab5),_0x12d92e=(_0x4bd2fa,_0x293b9b,_0xd81df8)=>_0x319dd1(_0x4bd2fa,_0x293b9b+'',_0xd81df8);_0x390653[_0x5197a1(0x1d9)]=class extends _0x1c0671[_0x5197a1(0x118)]{constructor(_0x25f150=_0x42a7fd,_0x1f0ad4,_0x3ec93c,_0x5ddae5,_0x488781,_0x975760){var _0x5523a4=_0x5197a1;super(),this['_config']=_0x25f150,this[_0x5523a4(0x108)]=_0x1f0ad4,this[_0x5523a4(0x1cf)]=_0x3ec93c,this[_0x5523a4(0x204)]=_0x5ddae5,this[_0x5523a4(0x1ef)]=_0x488781,this[_0x5523a4(0x1cd)]=_0x975760;const {..._0x17b2ec}=_0x1c0671['merge']({},_0x42a7fd,this[_0x5523a4(0x22c)]);this['_configService'][_0x5523a4(0xe9)](_0x2bcee4,_0x17b2ec);}async[_0x5197a1(0x245)](){var _0x1691ee=_0x5197a1;const _0x5aea76=[[_0x390653['MCPConnectionUIController']],[_0x390653[_0x1691ee(0x1e9)]],[_0x390653[_0x1691ee(0x259)]]];this[_0x1691ee(0x108)][_0x1691ee(0x1ed)](_0x4809fb[_0x1691ee(0x128)])||_0x5aea76[_0x1691ee(0x223)]([_0x4809fb[_0x1691ee(0x128)],{'useClass':_0x4809fb[_0x1691ee(0x11d)]}]),_0x5aea76[_0x1691ee(0x242)](_0x52be23=>this[_0x1691ee(0x108)][_0x1691ee(0x14a)](_0x52be23)),this['_injector'][_0x1691ee(0x224)](_0x390653[_0x1691ee(0xf8)]),this[_0x1691ee(0x108)][_0x1691ee(0x224)](_0x390653['MCPConfigUIController']),this['_injector'][_0x1691ee(0x224)](_0x390653[_0x1691ee(0x259)]);}},_0x12d92e(_0x390653[_0x5197a1(0x1d9)],'pluginName',_0x5197a1(0x11b)),_0x390653[_0x5197a1(0x1d9)]=_0x45c737([_0x1c0671[_0x5197a1(0xd6)](_0x58715a[_0x5197a1(0x19c)]),_0x358244(0x1,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x15b)])),_0x358244(0x2,_0x1c0671[_0x5197a1(0x167)]),_0x358244(0x3,_0x1285f5[_0x5197a1(0x159)]),_0x358244(0x4,_0x1c0671['ILocalStorageService']),_0x358244(0x5,_0x1c0671[_0x5197a1(0x215)](_0x1c0671[_0x5197a1(0x1fe)]))],_0x390653[_0x5197a1(0x1d9)]),_0x390653[_0x5197a1(0x257)]=_0xa2f4ab,_0x390653[_0x5197a1(0x168)]=_0x375b28,_0x390653['OpenMCPConfigPanelCommand']=_0x7e120d,_0x390653['enUS']=_0x5ba88e,_0x390653[_0x5197a1(0x185)]=_0x1e1f1c,Object[_0x5197a1(0x21d)](_0x390653,Symbol['toStringTag'],{'value':_0x5197a1(0x249)});}));function _0x1ff0(_0x284881,_0x167bb7){var _0x490190=_0x4901();return _0x1ff0=function(_0x1ff05a,_0x7a8dbd){_0x1ff05a=_0x1ff05a-0xc5;var _0x477efc=_0x490190[_0x1ff05a];return _0x477efc;},_0x1ff0(_0x284881,_0x167bb7);}function _0x4901(){var _0x5f136f=['univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','UNAUTHORIZED','IMessageService','保存配置','357bmFfMw','mcpStatus.connecting','CONNECTING','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','mcpConfig.configInstructions','带有\x20Bearer\x20前缀的\x20API\x20密钥。','_initializeCommands','object','open','NONE','connectionError$','Saving...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','removeItem','3134997sllTzJ','IDialogService','http://www.w3.org/2000/svg','mcpConfig.connectionError.unauthorized','@univerjs-pro/mcp','url(#$1','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','UniverIcon','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','assign','bottom','useState','mcpConfig.note1','_localeService','API\x20key\x20is\x20required','_configService','univer-flex\x20univer-gap-3','1em','220170bBiIUx','mcpConfig.apiKeyPlaceholder','Save\x20Configuration','\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','NETWORK_ERROR','mcpConfig.apiKey','MCP\x20Configuration','UniverMCPUIPlugin','validateApiKey','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-flex\x20univer-items-start\x20univer-gap-2','univer-space-y-2','Connected','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','_componentManager','mcpConfig.configSaved','url(#on-line-icon_clip0_910_349)','univer-min-w-0\x20univer-flex-1','Configuration\x20Notes:','univer-text-xs\x20univer-text-gray-500','RETRYING','className','univer-flex\x20univer-flex-wrap\x20univer-gap-2','MCPConfigUIController','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','mcpConfig.connectionStatus.connecting','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','has','mcpConfig.connectionStatus.disconnected','_localStorageService','_mcpConnectionController','connectInjector','MCP:\x20未授权','SESSION_ID_OCCUPIED','_logService','@univerjs/core','MessageType','span','mcpConfig.validation.invalidConfig','univer-text-blue-600','close','0\x200\x2016\x2016','React','off-line-icon_clip0_910_343','LocaleService','超出最大重试次数,请稍后再试','white','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','fill','MCP\x20客户端配置','_uiPartsService','useDependency','130789FMmSUw','@univerjs/design','function','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','Disposable','univer-flex\x20univer-items-center','_validateConfig','@univerjs/ui','registerCommand','重启您的\x20MCP\x20客户端以使配置生效','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Click\x20to\x20connect\x20MCP','MCPConnectionError','colorChannel1','mcp-ui.command.openConfigPanel','Inject','MCP_PLUGIN_CONFIG_KEY','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','idSuffix','将配置添加到您的\x20MCP\x20客户端设置文件中','mcpConfig.configStep1','check-mark-icon','Copy\x20the\x20JSON\x20configuration\x20below','defineProperty','MCP\x20Disconnected','Univer\x20AI\x20Console','mcpStatus.connected','attrs','apiKey','push','get','univer-text-yellow-500','启用身份验证','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.apiApplyInfo.getStarted','MCP:\x20网络错误','CommandType','_config','_messageService','保存中...','close-small-single','tag','univerjs-icon\x20univerjs-icon-','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','什么是\x20API\x20密钥?','showDeveloperTools','includes','mcpStatus.maxRetriesExceeded','univer-font-medium','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-text-red-500','error','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','register','2252360vZbXPH','useCallback','on-line-icon_clip0_910_349','未连接','_menuManagerService','forEach','path','Error','onStarting','_blank','univer-text-xs\x20univer-text-gray-600','Configuration\x20saved\x20successfully','Module','registerComponent','CheckMarkIcon','Bearer\x20','mcpConfig.connectionInfo','univer-flex\x20univer-items-center\x20univer-gap-3','UniverDesign','mcpConfig.note2','round','_initConfigSync','配置保存成功','univer.plus','concat','react','MCPConfigPanel','@univerjs/network','MCPUIMenuController','MCP\x20Connecting...','1391886zBqzdn','svg','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','BuiltInUIPart','Get\x20your\x20API\x20key\x20in\x20seconds','Close','MCP\x20连接中...','MCP\x20Connected','mcpConfig.authorizationDescription','MCP\x20已连接','univer-flex\x20univer-items-center\x20univer-gap-2','univer-text-sm\x20univer-font-medium','getCurrentConfig','random','Session\x20ID','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','mcpConfig.connectionError.networkError','url(#off-line-icon_clip0_910_343)','DependentOn','entries','ComponentManager','_apiKey$','clipPath','M0\x200H16V16H0z','pre','univer-flex-shrink-0\x20univer-text-red-500','0\x200\x2017\x2017','Configuration\x20Parameters:','string','mcpConfig.save','univer-bg-red-500','mcpConfig.apiApplyInfo.description','您的\x20API\x20密钥安全存储在本地存储中','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-bg-blue-500','extend','mcpConfig.connectionStatus.retrying','setConfig','mcpConfig.configError','mcpConfig.saving','63728KyoSfj','_registerComponent','trim','_config$','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','amd','_initAutoConnect','showConfigPanel','connectionStatus$','已连接','prototype','subscribe','MCPConnectionUIController','_createConfigPanelComponent','启用身份验证以获得安全连接','univer-text-sm\x20univer-text-gray-500','mcpConfig.connectionStatus.failed','UniverNetwork','将以下配置添加到您的\x20MCP\x20客户端设置中:','xlink:href','_connectionController','MCP:\x20会话\x20ID\x20已被占用','off-line-icon','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MCP\x20连接失败','useObservable','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_injector','_handleConfigSave','univer-space-y-4','sessionId$','univer-flex-shrink-0\x20univer-text-blue-500','displayName','mcpConfig.validation.invalidApiKey','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','disposeWithMe','_loadStoredApiKey','mcpServerUrl','toString','getConfig','https://console.univer.plus','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','点击连接\x20MCP','Plugin','_mcpCoreConfig$','MCP\x20已断开','MCP_UI_PLUGIN','mcpConfig.connectionStatus.connected','WebSocketService','currentColor','mcpStatus.clickToConnect','length','enableAutoConnect','_loading$','OnLineIcon','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','__setCustomHeaders','forwardRef','API\x20密钥无效,请检查密钥是否正确','ISocketService','Enter\x20your\x20API\x20key','DISCONNECTED','help-single','on-line-icon','MCP:\x20Unauthorized','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','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-mr-2\x20univer-flex\x20univer-text-xl','clsx','COMMAND','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.description','getOwnPropertySymbols','MCPConnectionStatus','javascript:void(0)','\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','\x22\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x20\x20}\x0a}','\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','ILogService','MCP\x20Unknown\x20Status','BehaviorSubject','jsxs','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','HelpSingle','label','Input','defs','mcpStatus.unauthorized','连接失败','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','div','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpConfig.sessionIdDescription','add','CONNECTED','univer.ai','none','replace','map','MCP:\x20Network\x20Error','mcp-ui.config','网络连接错误,请检查您的网络连接','rxjs','MCP\x20重连中...','getOwnPropertyDescriptor','0\x200\x2017\x2016','hasOwnProperty','children','IUIPartsService','mergeMenu','Injector','Success','MCP\x20Retrying...','mcpConfig.connectionError.sessionOccupied','jsx','univer-text-green-500','showStatus','配置保存失败','Failed\x20to\x20save\x20configuration','CloseSmallSingle','defIds','createElement','IConfigService','MCPStatusDisplay','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','12giScyv','Retrying...','mask','\x22,\x0a\x20\x20\x20\x20\x20\x20\x22type\x22:\x20\x22http\x22,\x0a\x20\x20\x20\x20\x20\x20\x22headers\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x22Authorization\x22:\x20\x22Bearer\x20','Authorization:','{\x0a\x20\x20\x22mcpServers\x22:\x20{\x0a\x20\x20\x20\x20\x22univer\x22:\x20{\x0a\x20\x20\x20\x20\x20\x20\x22url\x22:\x20\x22https://mcp.univer.ai/mcp/?univer_session_id=','show','MenuItemType','权限验证失败,请检查您的\x20API\x20密钥','最大重试次数','value','_initStatusComponent','text','OffLineIcon','MAX_RETRIES_EXCEEDED','univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','Tooltip','BUTTON','Univer\x20AI\x20控制台','mcpConfig.configStep3','OTHERS','react/jsx-runtime','HEADER_MENU','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','MCP\x20Client\x20Configuration','use','zhCN','RibbonStartGroup','getItem','541765LMJEHj','MenuIcon','univer-space-y-3','Button','Enable\x20authentication\x20for\x20secure\x20connections','next','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','propertyIsEnumerable','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','重连中...','配置无效','配置参数:','Click\x20to\x20configure\x20MCP','MCPConnectionController','Max\x20Retries','exports','mcpStatus.retrying','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','subscribeConfigValue$','noopener\x20noreferrer','UniverMCPPlugin','Invalid\x20configuration','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','call','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP\x20状态未知','isValid','evenodd','univer-text-white','配置步骤:','UniverProMcpUi','off','_dialogService','mcpConfig.configStepTitle','FAILED','_commandService'];_0x4901=function(){return _0x5f136f;};return _0x4901();}
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xf0a424,_0x183a08){var _0x251aae=_0x51e7,_0xf2d25e=_0xf0a424();while(!![]){try{var _0x57776f=-parseInt(_0x251aae(0x118))/0x1*(parseInt(_0x251aae(0x131))/0x2)+-parseInt(_0x251aae(0x12c))/0x3+-parseInt(_0x251aae(0x108))/0x4+-parseInt(_0x251aae(0x10b))/0x5+parseInt(_0x251aae(0x105))/0x6+-parseInt(_0x251aae(0x132))/0x7*(parseInt(_0x251aae(0x10d))/0x8)+parseInt(_0x251aae(0x124))/0x9*(parseInt(_0x251aae(0x126))/0xa);if(_0x57776f===_0x183a08)break;else _0xf2d25e['push'](_0xf2d25e['shift']());}catch(_0x21cd5e){_0xf2d25e['push'](_0xf2d25e['shift']());}}}(_0x829c,0x8f721),function(_0x17c168,_0x3dfae8){var _0x518f5b=_0x51e7;typeof exports==_0x518f5b(0x133)&&typeof module<'u'?module[_0x518f5b(0x128)]=_0x3dfae8():typeof define==_0x518f5b(0x125)&&define[_0x518f5b(0x106)]?define(_0x3dfae8):(_0x17c168=typeof globalThis<'u'?globalThis:_0x17c168||self,_0x17c168[_0x518f5b(0x10a)]=_0x3dfae8());}(this,function(){'use strict';var _0x47f18d=_0x51e7;return{'mcpStatus':{'disconnected':_0x47f18d(0x11c),'connecting':'MCP\x20Connecting...','connected':_0x47f18d(0x12e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x47f18d(0x12d),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x47f18d(0x11f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x47f18d(0x107),'maxRetriesExceeded':_0x47f18d(0x110),'clickToConnect':_0x47f18d(0x120),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x47f18d(0x11e),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x47f18d(0x11b),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x47f18d(0x12a),'enableAuthHint':_0x47f18d(0x127),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x47f18d(0x10c),'configInstructions':_0x47f18d(0x117),'configStepTitle':_0x47f18d(0x104),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x47f18d(0x102),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x47f18d(0x122),'configParameters':_0x47f18d(0xff),'maxRetries':_0x47f18d(0x116),'save':_0x47f18d(0x100),'saving':_0x47f18d(0x130),'note1':_0x47f18d(0x112),'note2':_0x47f18d(0x129),'configSaved':_0x47f18d(0x11d),'configError':_0x47f18d(0x103),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x47f18d(0x109),'univerAiLabel':_0x47f18d(0x11a),'getStarted':_0x47f18d(0x10f)},'validation':{'apiKeyRequired':_0x47f18d(0x10e),'apiKeyTooShort':_0x47f18d(0x12f),'invalidConfig':_0x47f18d(0x114),'invalidApiKey':_0x47f18d(0x123)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x47f18d(0x113),'failed':_0x47f18d(0x119),'retrying':_0x47f18d(0x111)},'connectionError':{'unauthorized':_0x47f18d(0x101),'sessionOccupied':_0x47f18d(0x12b),'networkError':_0x47f18d(0x115),'maxRetriesExceeded':_0x47f18d(0x121)}}};}));function _0x51e7(_0x16ac10,_0x126984){var _0x829ce4=_0x829c();return _0x51e7=function(_0x51e7a2,_0x3760dc){_0x51e7a2=_0x51e7a2-0xff;var _0x38df66=_0x829ce4[_0x51e7a2];return _0x38df66;},_0x51e7(_0x16ac10,_0x126984);}function _0x829c(){var _0x264e46=['MCP\x20Client\x20Configuration','3112UQudnT','API\x20key\x20is\x20required','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Max\x20Retries\x20Exceeded','Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connected','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','34913tzwvSQ','Connection\x20Failed','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','MCP\x20Disconnected','Configuration\x20saved\x20successfully','MCP\x20Configuration','MCP:\x20Unauthorized','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','9wvGWCC','function','18185870gDICvP','Enable\x20authentication\x20for\x20secure\x20connections','exports','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','99072NerqDD','MCP\x20Retrying...','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','46znfIjm','609kRIlzL','object','Configuration\x20Parameters:','Save\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Failed\x20to\x20save\x20configuration','Configuration\x20Steps:','3613398YIUdcV','amd','MCP:\x20Network\x20Error','1942076qleTcP','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','UniverProMcpUiCaES','2389410wYpuzl'];_0x829c=function(){return _0x264e46;};return _0x829c();}
|