@univerjs-pro/mcp-ui 0.25.0 → 0.25.1
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/ja-JP.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/sk-SK.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/ja-JP.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/sk-SK.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.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/ja-JP.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/sk-SK.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/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b98d2=_0x41ea;function _0x41ea(_0x56c11e,_0x48d1f9){_0x56c11e=_0x56c11e-0x94;const _0x43685d=_0x4368();let _0x41ea50=_0x43685d[_0x56c11e];return _0x41ea50;}function _0x4368(){const _0x34a6be=['Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Pripojené','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Univer\x20AI\x20konzola','MCP\x20neznámy\x20stav','327432yGGKlK','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','803133XLfZMU','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','MCP:\x20ID\x20relácie\x20je\x20obsadené','Parametre\x20konfigurácie:','Skúša\x20sa\x20znova...','2179gUWSSH','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','Konfigurácia\x20klienta\x20MCP','MCP:\x20Sieťová\x20chyba','Kliknite\x20na\x20konfiguráciu\x20MCP','495652qntodR','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','API\x20kľúč\x20je\x20povinný','1587850RaSwUk','3CIEPjV','MCP:\x20Prekročený\x20počet\x20pokusov','Odpojené','Kroky\x20konfigurácie:','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','Povoliť\x20overenie','API\x20kľúč','Konfigurácia\x20bola\x20úspešne\x20uložená','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','MCP:\x20Neautorizované','MCP\x20opakuje\x20pokus...','MCP\x20pripojené','4692ZhPWNb','API\x20kľúč\x20s\x20prefixom\x20Bearer.','556JprlDn','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','Zadajte\x20svoj\x20API\x20kľúč','4812vnjVhW','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Pripojenie\x20zlyhalo','40fPkoNm','Ukladá\x20sa...','MCP\x20odpojené','2807kWoOKe','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','ID\x20relácie','21604ycHTrc','MCP\x20sa\x20pripája...','Kliknite\x20na\x20pripojenie\x20MCP'];_0x4368=function(){return _0x34a6be;};return _0x4368();}(function(_0x41b176,_0x5258cc){const _0x16a6d9=_0x41ea,_0x399cb9=_0x41b176();while(!![]){try{const _0x525b95=-parseInt(_0x16a6d9(0x9a))/0x1*(parseInt(_0x16a6d9(0xb1))/0x2)+-parseInt(_0x16a6d9(0xa3))/0x3*(parseInt(_0x16a6d9(0x9f))/0x4)+-parseInt(_0x16a6d9(0xa2))/0x5+parseInt(_0x16a6d9(0xb4))/0x6*(parseInt(_0x16a6d9(0xba))/0x7)+-parseInt(_0x16a6d9(0xc6))/0x8+-parseInt(_0x16a6d9(0x94))/0x9*(-parseInt(_0x16a6d9(0xb7))/0xa)+-parseInt(_0x16a6d9(0xbd))/0xb*(-parseInt(_0x16a6d9(0xaf))/0xc);if(_0x525b95===_0x5258cc)break;else _0x399cb9['push'](_0x399cb9['shift']());}catch(_0x375b0f){_0x399cb9['push'](_0x399cb9['shift']());}}}(_0x4368,0x5779c));const e={'mcpStatus':{'disconnected':_0x5b98d2(0xb9),'connecting':_0x5b98d2(0xbe),'connected':_0x5b98d2(0xae),'failed':'Pripojenie\x20MCP\x20zlyhalo','retrying':_0x5b98d2(0xad),'unknown':_0x5b98d2(0xc5),'unauthorized':_0x5b98d2(0xac),'sessionOccupied':_0x5b98d2(0x97),'networkError':_0x5b98d2(0x9d),'maxRetriesExceeded':_0x5b98d2(0xa4),'clickToConnect':_0x5b98d2(0xbf),'clickToConfigure':_0x5b98d2(0x9e)},'mcpConfig':{'title':'Konfigurácia\x20MCP','description':_0x5b98d2(0xc3),'apiKey':_0x5b98d2(0xa9),'apiKeyPlaceholder':_0x5b98d2(0xb3),'apiKeyHint':'Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','enableAuth':_0x5b98d2(0xa8),'enableAuthHint':_0x5b98d2(0x96),'connectionInfo':_0x5b98d2(0x9c),'mcpClientConfig':'Konfigurácia\x20klienta\x20MCP','configInstructions':_0x5b98d2(0xab),'configStepTitle':_0x5b98d2(0xa6),'configStep1':'Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','configStep2':_0x5b98d2(0xc7),'configStep3':_0x5b98d2(0xc0),'sessionId':_0x5b98d2(0xbc),'sessionIdDescription':_0x5b98d2(0xb5),'authorizationDescription':_0x5b98d2(0xb0),'configParameters':_0x5b98d2(0x98),'maxRetries':'Maximálny\x20počet\x20pokusov','save':'Uložiť\x20konfiguráciu','saving':_0x5b98d2(0xb8),'note1':_0x5b98d2(0x95),'note2':_0x5b98d2(0xc2),'configSaved':_0x5b98d2(0xaa),'configError':'Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','apiApplyInfo':{'title':'Čo\x20je\x20API\x20kľúč?','description':_0x5b98d2(0xb2),'univerAiLabel':_0x5b98d2(0xc4),'getStarted':'Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd'},'validation':{'apiKeyRequired':_0x5b98d2(0xa1),'apiKeyTooShort':'API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','invalidConfig':'Neplatná\x20konfigurácia','invalidApiKey':_0x5b98d2(0x9b)},'connectionStatus':{'disconnected':_0x5b98d2(0xa5),'connecting':'Pripája\x20sa...','connected':_0x5b98d2(0xc1),'failed':_0x5b98d2(0xb6),'retrying':_0x5b98d2(0x99)},'connectionError':{'unauthorized':'Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','sessionOccupied':_0x5b98d2(0xa0),'networkError':_0x5b98d2(0xbb),'maxRetriesExceeded':_0x5b98d2(0xa7)}}};export{e as default};
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4673(){const _0x219dcd=['Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Đã\x20kết\x20nối','MCP\x20Kết\x20nối\x20thất\x20bại','Tham\x20số\x20cấu\x20hình:','Cấu\x20hình\x20máy\x20khách\x20MCP','MCP\x20Đã\x20kết\x20nối','2myWOXt','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','4172166jrCBQd','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','ID\x20phiên','Nhấp\x20để\x20cấu\x20hình\x20MCP','Đang\x20lưu...','728237CPzHYX','652MSvSUs','Nhập\x20khóa\x20API\x20của\x20bạn','Đã\x20ngắt\x20kết\x20nối','Đang\x20kết\x20nối...','408yuBCqg','2381448hDYBtc','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','610fdWoYy','Các\x20bước\x20cấu\x20hình:','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Khóa\x20API','1296219SQfwuz','Yêu\x20cầu\x20khóa\x20API','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','MCP\x20Đang\x20kết\x20nối...','8011810JDsHxn','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Bảng\x20điều\x20khiển\x20Univer\x20AI','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','MCP:\x20Không\x20được\x20phép','Bật\x20xác\x20thực','Cấu\x20hình\x20không\x20hợp\x20lệ','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','10493utHxNR','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Khóa\x20API\x20là\x20gì?','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Cấu\x20hình\x20MCP','Đang\x20thử\x20lại...'];_0x4673=function(){return _0x219dcd;};return _0x4673();}const _0x1555e8=_0x4834;(function(_0x5410d6,_0x5f336a){const _0x1f0778=_0x4834,_0x218350=_0x5410d6();while(!![]){try{const _0x28ab23=-parseInt(_0x1f0778(0x167))/0x1+parseInt(_0x1f0778(0x160))/0x2*(parseInt(_0x1f0778(0x175))/0x3)+-parseInt(_0x1f0778(0x168))/0x4*(parseInt(_0x1f0778(0x171))/0x5)+-parseInt(_0x1f0778(0x16d))/0x6+-parseInt(_0x1f0778(0x151))/0x7*(parseInt(_0x1f0778(0x16c))/0x8)+parseInt(_0x1f0778(0x162))/0x9+parseInt(_0x1f0778(0x179))/0xa;if(_0x28ab23===_0x5f336a)break;else _0x218350['push'](_0x218350['shift']());}catch(_0x3d8ed3){_0x218350['push'](_0x218350['shift']());}}}(_0x4673,0x740d4));const e={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x1555e8(0x178),'connected':_0x1555e8(0x15f),'failed':_0x1555e8(0x15c),'retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x1555e8(0x17b),'unauthorized':_0x1555e8(0x14d),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x1555e8(0x150),'clickToConnect':'Nhấp\x20để\x20kết\x20nối\x20MCP','clickToConfigure':_0x1555e8(0x165)},'mcpConfig':{'title':_0x1555e8(0x158),'description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x1555e8(0x174),'apiKeyPlaceholder':_0x1555e8(0x169),'apiKeyHint':_0x1555e8(0x17a),'enableAuth':_0x1555e8(0x14e),'enableAuthHint':_0x1555e8(0x170),'connectionInfo':_0x1555e8(0x15e),'mcpClientConfig':_0x1555e8(0x15e),'configInstructions':_0x1555e8(0x173),'configStepTitle':_0x1555e8(0x172),'configStep1':_0x1555e8(0x17c),'configStep2':_0x1555e8(0x16e),'configStep3':_0x1555e8(0x177),'sessionId':_0x1555e8(0x164),'sessionIdDescription':_0x1555e8(0x154),'authorizationDescription':_0x1555e8(0x157),'configParameters':_0x1555e8(0x15d),'maxRetries':_0x1555e8(0x153),'save':'Lưu\x20cấu\x20hình','saving':_0x1555e8(0x166),'note1':_0x1555e8(0x152),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':_0x1555e8(0x163),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x1555e8(0x156),'description':'Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','univerAiLabel':_0x1555e8(0x17d),'getStarted':_0x1555e8(0x14b)},'validation':{'apiKeyRequired':_0x1555e8(0x176),'apiKeyTooShort':_0x1555e8(0x16f),'invalidConfig':_0x1555e8(0x14f),'invalidApiKey':_0x1555e8(0x155)},'connectionStatus':{'disconnected':_0x1555e8(0x16a),'connecting':_0x1555e8(0x16b),'connected':_0x1555e8(0x15b),'failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x1555e8(0x159)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x1555e8(0x15a),'networkError':_0x1555e8(0x161),'maxRetriesExceeded':_0x1555e8(0x14c)}}};function _0x4834(_0x126363,_0x5d3c80){_0x126363=_0x126363-0x14b;const _0x4673f3=_0x4673();let _0x4834e3=_0x4673f3[_0x126363];return _0x4834e3;}export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5b54(_0x141e50,_0x26335){_0x141e50=_0x141e50-0xbf;const _0x4a9e96=_0x4a9e();let _0x5b5471=_0x4a9e96[_0x141e50];return _0x5b5471;}const _0x1237ff=_0x5b54;function _0x4a9e(){const _0x4b881a=['几秒钟内获取您的\x20API\x20密钥','点击连接\x20MCP','启用身份验证','2429802CcyKTm','启用身份验证以获得安全连接','MCP\x20重连中...','50390vEcKFm','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20连接中...','超出最大重试次数,请稍后再试','复制以下\x20JSON\x20配置','您的\x20API\x20密钥安全存储在本地存储中','56IyOcvK','3457184rqUiIe','6ZpKREC','MCP\x20连接失败','12688360ejfeNa','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20位','MCP\x20配置','权限验证失败,请检查您的\x20API\x20密钥','带有\x20Bearer\x20前缀的\x20API\x20密钥。','连接中...','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP:\x20网络错误','2202242aPfABQ','保存配置','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','API\x20密钥无效,请检查密钥是否正确','最大重试次数','连接失败','什么是\x20API\x20密钥?','MCP\x20客户端配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','配置更改将立即生效','6vKhvnD','未连接','MCP\x20已断开','MCP:\x20超出最大重试次数','345684KsvXrM','93251AlhUPX','已连接','配置参数:','MCP:\x20未授权'];_0x4a9e=function(){return _0x4b881a;};return _0x4a9e();}(function(_0x363855,_0x5afe93){const _0x2525d8=_0x5b54,_0x4bf510=_0x363855();while(!![]){try{const _0x4a1696=parseInt(_0x2525d8(0xce))/0x1*(-parseInt(_0x2525d8(0xe0))/0x2)+parseInt(_0x2525d8(0xcd))/0x3+parseInt(_0x2525d8(0xde))/0x4*(parseInt(_0x2525d8(0xd8))/0x5)+-parseInt(_0x2525d8(0xc9))/0x6*(parseInt(_0x2525d8(0xbf))/0x7)+-parseInt(_0x2525d8(0xdf))/0x8+-parseInt(_0x2525d8(0xd5))/0x9+parseInt(_0x2525d8(0xe2))/0xa;if(_0x4a1696===_0x5afe93)break;else _0x4bf510['push'](_0x4bf510['shift']());}catch(_0x28deca){_0x4bf510['push'](_0x4bf510['shift']());}}}(_0x4a9e,0x37d3f));const e={'mcpStatus':{'disconnected':_0x1237ff(0xcb),'connecting':_0x1237ff(0xda),'connected':'MCP\x20已连接','failed':_0x1237ff(0xe1),'retrying':_0x1237ff(0xd7),'unknown':'MCP\x20状态未知','unauthorized':_0x1237ff(0xd1),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x1237ff(0xea),'maxRetriesExceeded':_0x1237ff(0xcc),'clickToConnect':_0x1237ff(0xd3),'clickToConfigure':_0x1237ff(0xe3)},'mcpConfig':{'title':_0x1237ff(0xe5),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':'API\x20密钥','apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x1237ff(0xd4),'enableAuthHint':_0x1237ff(0xd6),'connectionInfo':_0x1237ff(0xc6),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x1237ff(0xe9),'configStepTitle':'配置步骤:','configStep1':_0x1237ff(0xdc),'configStep2':_0x1237ff(0xd9),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':'会话ID','sessionIdDescription':_0x1237ff(0xc1),'authorizationDescription':_0x1237ff(0xe7),'configParameters':_0x1237ff(0xd0),'maxRetries':_0x1237ff(0xc3),'save':_0x1237ff(0xc0),'saving':'保存中...','note1':_0x1237ff(0xc8),'note2':_0x1237ff(0xdd),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':_0x1237ff(0xc5),'description':_0x1237ff(0xc7),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x1237ff(0xd2)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1237ff(0xe4),'invalidConfig':'配置无效','invalidApiKey':_0x1237ff(0xc2)},'connectionStatus':{'disconnected':_0x1237ff(0xca),'connecting':_0x1237ff(0xe8),'connected':_0x1237ff(0xcf),'failed':_0x1237ff(0xc4),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x1237ff(0xe6),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x1237ff(0xdb)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3a8060=_0xd671;(function(_0x40bb67,_0x24c968){const _0x5b82d6=_0xd671,_0x252df5=_0x40bb67();while(!![]){try{const _0x56de24=parseInt(_0x5b82d6(0x1aa))/0x1*(-parseInt(_0x5b82d6(0x1b0))/0x2)+parseInt(_0x5b82d6(0x1c7))/0x3+-parseInt(_0x5b82d6(0x1b4))/0x4*(parseInt(_0x5b82d6(0x1cb))/0x5)+-parseInt(_0x5b82d6(0x1a7))/0x6*(-parseInt(_0x5b82d6(0x1a4))/0x7)+parseInt(_0x5b82d6(0x1ca))/0x8+parseInt(_0x5b82d6(0x1ab))/0x9+-parseInt(_0x5b82d6(0x1d1))/0xa;if(_0x56de24===_0x24c968)break;else _0x252df5['push'](_0x252df5['shift']());}catch(_0x1b4b6c){_0x252df5['push'](_0x252df5['shift']());}}}(_0x534d,0x236d5));const e={'mcpStatus':{'disconnected':_0x3a8060(0x1b9),'connecting':_0x3a8060(0x1bf),'connected':_0x3a8060(0x1cc),'failed':_0x3a8060(0x1af),'retrying':_0x3a8060(0x1c2),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x3a8060(0x1a9),'sessionOccupied':_0x3a8060(0x1ba),'networkError':_0x3a8060(0x1bc),'maxRetriesExceeded':_0x3a8060(0x1ad),'clickToConnect':_0x3a8060(0x1a3),'clickToConfigure':_0x3a8060(0x1c4)},'mcpConfig':{'title':_0x3a8060(0x1b8),'description':_0x3a8060(0x1b6),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x3a8060(0x1b3),'apiKeyHint':_0x3a8060(0x1a8),'enableAuth':_0x3a8060(0x1b2),'enableAuthHint':_0x3a8060(0x1b5),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x3a8060(0x1bb),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x3a8060(0x1be),'configStep3':_0x3a8060(0x1b1),'sessionId':_0x3a8060(0x1a5),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x3a8060(0x1c8),'maxRetries':'Max\x20Retries','save':_0x3a8060(0x1c3),'saving':_0x3a8060(0x1ac),'note1':_0x3a8060(0x1c1),'note2':_0x3a8060(0x1a2),'configSaved':_0x3a8060(0x1b7),'configError':_0x3a8060(0x1ae),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3a8060(0x1c9),'univerAiLabel':_0x3a8060(0x1c0),'getStarted':_0x3a8060(0x1c6)},'validation':{'apiKeyRequired':_0x3a8060(0x1d2),'apiKeyTooShort':_0x3a8060(0x1cd),'invalidConfig':_0x3a8060(0x1d0),'invalidApiKey':_0x3a8060(0x1bd)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x3a8060(0x1c5),'retrying':_0x3a8060(0x1cf)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x3a8060(0x1ce),'networkError':_0x3a8060(0x1a6),'maxRetriesExceeded':_0x3a8060(0x1d3)}}};function _0x534d(){const _0x4bf595=['Configuration\x20saved\x20successfully','MCP\x20Configuration','MCP\x20Disconnected','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20Steps:','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP\x20Connecting...','Univer\x20AI\x20Console','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Retrying...','Save\x20Configuration','Click\x20to\x20configure\x20MCP','Connection\x20Failed','Get\x20your\x20API\x20key\x20in\x20seconds','373512lSQvUu','Configuration\x20Parameters:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1690360wOqzfR','135065ltelTu','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Retrying...','Invalid\x20configuration','3859210aTbPsW','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Click\x20to\x20connect\x20MCP','607901wRkxwK','Session\x20ID','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','18RLKGOm','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Unauthorized','1PTypTM','2293731jlXyMC','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','Failed\x20to\x20save\x20configuration','MCP\x20Connection\x20Failed','100054KKxZWW','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20Authentication','Enter\x20your\x20API\x20key','40UJGwBF','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets'];_0x534d=function(){return _0x4bf595;};return _0x534d();}function _0xd671(_0x23375d,_0x5487b2){_0x23375d=_0x23375d-0x1a2;const _0x534d1a=_0x534d();let _0xd67122=_0x534d1a[_0x23375d];return _0xd67122;}export{e as default};
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x5739ff,_0x5b309d){const _0x25aa62=_0x2f3a,_0x1fe86d=_0x5739ff();while(!![]){try{const _0x5ad858=-parseInt(_0x25aa62(0x303))/0x1+parseInt(_0x25aa62(0x1bf))/0x2*(-parseInt(_0x25aa62(0x18f))/0x3)+-parseInt(_0x25aa62(0x25d))/0x4*(parseInt(_0x25aa62(0x272))/0x5)+-parseInt(_0x25aa62(0x30d))/0x6+parseInt(_0x25aa62(0x219))/0x7+-parseInt(_0x25aa62(0x1b0))/0x8*(-parseInt(_0x25aa62(0x2c7))/0x9)+parseInt(_0x25aa62(0x281))/0xa;if(_0x5ad858===_0x5b309d)break;else _0x1fe86d['push'](_0x1fe86d['shift']());}catch(_0xd50122){_0x1fe86d['push'](_0x1fe86d['shift']());}}}(_0x2cd3,0x3bf64),function(_0x56bb93,_0x29b779){const _0x20ce9f=_0x2f3a;typeof exports==_0x20ce9f(0x1ba)&&typeof module<'u'?_0x29b779(exports,require('@univerjs/core'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('react/jsx-runtime'),require('@univerjs/network')):typeof define==_0x20ce9f(0x2e8)&&define[_0x20ce9f(0x26e)]?define([_0x20ce9f(0x238),_0x20ce9f(0x24d),_0x20ce9f(0x258),_0x20ce9f(0x2eb),_0x20ce9f(0x2ab),_0x20ce9f(0x1eb),_0x20ce9f(0x196),_0x20ce9f(0x2c0),'@univerjs/network'],_0x29b779):(_0x56bb93=typeof globalThis<'u'?globalThis:_0x56bb93||self,_0x29b779(_0x56bb93[_0x20ce9f(0x200)]={},_0x56bb93[_0x20ce9f(0x2de)],_0x56bb93['UniverProMcp'],_0x56bb93[_0x20ce9f(0x208)],_0x56bb93['UniverUi'],_0x56bb93['rxjs'],_0x56bb93['React'],_0x56bb93[_0x20ce9f(0x1d2)],_0x56bb93[_0x20ce9f(0x207)]));}(this,function(_0x3f038c,_0x438e6f,_0x4ecef8,_0x2b4c41,_0x377de7,_0x4efed4,_0x58ab96,_0x3b596d,_0x55294){const _0x5c97d8=_0x2f3a;Object['defineProperty'](_0x3f038c,Symbol[_0x5c97d8(0x2cb)],{'value':_0x5c97d8(0x243)});function _0x340066({ref:_0x3e59b5,..._0x4b0c49}){const _0x2dbb5a=_0x5c97d8;let {icon:_0x144fcf,id:_0x4ca16b,className:_0x5ad54b,extend:_0x10efdf,..._0xafcd79}=_0x4b0c49,_0x417caa=(_0x2dbb5a(0x18d)+_0x4ca16b+'\x20'+(_0x5ad54b||''))[_0x2dbb5a(0x20b)](),_0x4611ef=(0x0,_0x58ab96[_0x2dbb5a(0x2c4)])('_'+_0x376985());return _0x437c4d(_0x144fcf,''+_0x4ca16b,{'defIds':_0x144fcf[_0x2dbb5a(0x1fb)],'idSuffix':_0x4611ef[_0x2dbb5a(0x20d)]},{'ref':_0x3e59b5,'className':_0x417caa,..._0xafcd79},_0x10efdf);}function _0x437c4d(_0x1a3d2a,_0x338ed3,_0x543fc1,_0x40b1dd,_0x3da9ea){const _0x52810b=_0x5c97d8;return(0x0,_0x58ab96[_0x52810b(0x2a1)])(_0x1a3d2a[_0x52810b(0x253)],{'key':_0x338ed3,..._0x378d93(_0x1a3d2a,_0x543fc1,_0x3da9ea),..._0x40b1dd},(_0x2a2b87(_0x1a3d2a,_0x543fc1)['children']||[])[_0x52810b(0x25b)]((_0x965eb4,_0x2b62d7)=>_0x437c4d(_0x965eb4,_0x338ed3+'-'+_0x1a3d2a[_0x52810b(0x253)]+'-'+_0x2b62d7,_0x543fc1,void 0x0,_0x3da9ea)));}function _0x378d93(_0x1482e4,_0x5dcd53,_0x4b2e4d){const _0x11cdc8=_0x5c97d8;let _0x163eaa={..._0x1482e4[_0x11cdc8(0x245)]};_0x4b2e4d!=null&&_0x4b2e4d[_0x11cdc8(0x191)]&&_0x163eaa[_0x11cdc8(0x222)]===_0x11cdc8(0x191)&&(_0x163eaa[_0x11cdc8(0x222)]=_0x4b2e4d[_0x11cdc8(0x191)]),_0x1482e4['tag']===_0x11cdc8(0x23d)&&_0x163eaa['id']&&(_0x163eaa['id']+=_0x5dcd53[_0x11cdc8(0x2d2)]),Object['entries'](_0x163eaa)[_0x11cdc8(0x21c)](([_0x3934ca,_0x558550])=>{const _0x5e43c8=_0x11cdc8;_0x3934ca==='mask'&&typeof _0x558550==_0x5e43c8(0x2d3)&&(_0x163eaa[_0x3934ca]=_0x558550[_0x5e43c8(0x21f)](/url\(#(.*)\)/,_0x5e43c8(0x1ce)+_0x5dcd53[_0x5e43c8(0x2d2)]+')'));});let {defIds:_0x618f6b}=_0x5dcd53;return!_0x618f6b||_0x618f6b[_0x11cdc8(0x188)]===0x0?_0x163eaa:(_0x1482e4[_0x11cdc8(0x253)]===_0x11cdc8(0x226)&&_0x163eaa[_0x11cdc8(0x29d)]&&(_0x163eaa[_0x11cdc8(0x29d)]+=_0x5dcd53['idSuffix']),Object[_0x11cdc8(0x2ef)](_0x163eaa)[_0x11cdc8(0x21c)](([_0x3f4f13,_0x15bc57])=>{const _0x35ba35=_0x11cdc8;typeof _0x15bc57=='string'&&(_0x163eaa[_0x3f4f13]=_0x15bc57['replace'](/url\(#(.*)\)/,_0x35ba35(0x1ce)+_0x5dcd53[_0x35ba35(0x2d2)]+')'));}),_0x163eaa);}function _0x2a2b87(_0x4133ab,_0x4e2c72){const _0x33c5a5=_0x5c97d8;var _0x2bee9b;let {defIds:_0x1ecd01}=_0x4e2c72;return!_0x1ecd01||_0x1ecd01[_0x33c5a5(0x188)]===0x0?_0x4133ab:_0x4133ab[_0x33c5a5(0x253)]===_0x33c5a5(0x1ed)&&(_0x2bee9b=_0x4133ab['children'])!=null&&_0x2bee9b[_0x33c5a5(0x188)]?{..._0x4133ab,'children':_0x4133ab[_0x33c5a5(0x2d5)][_0x33c5a5(0x25b)](_0x504dd0=>typeof _0x504dd0[_0x33c5a5(0x245)]['id']==_0x33c5a5(0x2d3)&&_0x1ecd01&&_0x1ecd01['includes'](_0x504dd0[_0x33c5a5(0x245)]['id'])?{..._0x504dd0,'attrs':{..._0x504dd0[_0x33c5a5(0x245)],'id':_0x504dd0[_0x33c5a5(0x245)]['id']+_0x4e2c72[_0x33c5a5(0x2d2)]}}:_0x504dd0)}:_0x4133ab;}function _0x376985(){const _0x1a6981=_0x5c97d8;return Math[_0x1a6981(0x194)]()['toString'](0x24)[_0x1a6981(0x237)](0x2,0x8);}_0x340066['displayName']=_0x5c97d8(0x2d7);let _0x47a395={'tag':_0x5c97d8(0x257),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5c97d8(0x299),'viewBox':_0x5c97d8(0x307),'width':'1em','height':_0x5c97d8(0x274)},'children':[{'tag':_0x5c97d8(0x30f),'attrs':{'fill':_0x5c97d8(0x18b),'d':_0x5c97d8(0x23a),'fillRule':_0x5c97d8(0x1d6),'clipRule':_0x5c97d8(0x1d6)}}]},_0x484a40=(0x0,_0x58ab96['forwardRef'])(function(_0x5d86d3,_0x340f90){const _0x19b186=_0x5c97d8;return(0x0,_0x58ab96[_0x19b186(0x2a1)])(_0x340066,Object[_0x19b186(0x22e)]({},_0x5d86d3,{'id':'check-mark-icon','ref':_0x340f90,'icon':_0x47a395}));});_0x484a40[_0x5c97d8(0x310)]='CheckMarkIcon';let _0x4637a0={'tag':'svg','attrs':{'xmlns':_0x5c97d8(0x319),'fill':_0x5c97d8(0x299),'viewBox':_0x5c97d8(0x307),'width':'1em','height':_0x5c97d8(0x274)},'children':[{'tag':'path','attrs':{'fill':_0x5c97d8(0x18b),'d':_0x5c97d8(0x187)}}]},_0x23f9f2=(0x0,_0x58ab96[_0x5c97d8(0x311)])(function(_0x4b09cd,_0x4e2bc7){const _0x2f0beb=_0x5c97d8;return(0x0,_0x58ab96[_0x2f0beb(0x2a1)])(_0x340066,Object['assign']({},_0x4b09cd,{'id':_0x2f0beb(0x223),'ref':_0x4e2bc7,'icon':_0x4637a0}));});_0x23f9f2[_0x5c97d8(0x310)]=_0x5c97d8(0x267);let _0x24f08d={'tag':_0x5c97d8(0x257),'attrs':{'xmlns':_0x5c97d8(0x319),'fill':_0x5c97d8(0x299),'viewBox':_0x5c97d8(0x307),'width':_0x5c97d8(0x274),'height':_0x5c97d8(0x274)},'children':[{'tag':'path','attrs':{'fill':_0x5c97d8(0x18b),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x5c97d8(0x30f),'attrs':{'fill':_0x5c97d8(0x18b),'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':'path','attrs':{'fill':'currentColor','d':'M3.05619\x203.05618C4.32084\x201.79156\x206.06964\x201.0083\x208.00023\x201.0083C9.93081\x201.0083\x2011.6796\x201.79156\x2012.9443\x203.05619C14.2089\x204.32083\x2014.9922\x206.06964\x2014.9922\x208.00023C14.9922\x209.93082\x2014.2089\x2011.6796\x2012.9443\x2012.9443C11.6796\x2014.2089\x209.93082\x2014.9922\x208.00023\x2014.9922C6.06964\x2014.9922\x204.32084\x2014.2089\x203.05619\x2012.9443C1.79156\x2011.6796\x201.0083\x209.93081\x201.0083\x208.00023C1.0083\x206.06964\x201.79156\x204.32083\x203.05619\x203.05618ZM8.00023\x202.2083C6.40068\x202.2083\x204.95352\x202.85593\x203.90471\x203.90472C2.85592\x204.95353\x202.2083\x206.40068\x202.2083\x208.00023C2.2083\x209.59977\x202.85593\x2011.0469\x203.90472\x2012.0957C4.95352\x2013.1445\x206.40068\x2013.7922\x208.00023\x2013.7922C9.59977\x2013.7922\x2011.0469\x2013.1445\x2012.0957\x2012.0957C13.1445\x2011.0469\x2013.7922\x209.59977\x2013.7922\x208.00023C13.7922\x206.40068\x2013.1445\x204.95352\x2012.0957\x203.90472C11.0469\x202.85593\x209.59977\x202.2083\x208.00023\x202.2083Z','fillRule':_0x5c97d8(0x1d6),'clipRule':_0x5c97d8(0x1d6)}}]},_0xc9f7f9=(0x0,_0x58ab96[_0x5c97d8(0x311)])(function(_0x3fa433,_0x6837a0){const _0x494158=_0x5c97d8;return(0x0,_0x58ab96[_0x494158(0x2a1)])(_0x340066,Object['assign']({},_0x3fa433,{'id':'help-icon','ref':_0x6837a0,'icon':_0x24f08d}));});_0xc9f7f9['displayName']='HelpIcon';let _0x2bf469={'tag':_0x5c97d8(0x257),'attrs':{'xmlns':_0x5c97d8(0x319),'fill':_0x5c97d8(0x299),'viewBox':_0x5c97d8(0x307),'width':_0x5c97d8(0x274),'height':_0x5c97d8(0x274)},'children':[{'tag':'g','attrs':{'clipPath':_0x5c97d8(0x21a)},'children':[{'tag':_0x5c97d8(0x30f),'attrs':{'stroke':_0x5c97d8(0x18b),'d':_0x5c97d8(0x28f),'strokeLinecap':_0x5c97d8(0x19c),'strokeLinejoin':_0x5c97d8(0x19c),'strokeWidth':1.2}}]},{'tag':_0x5c97d8(0x1ed),'attrs':{},'children':[{'tag':_0x5c97d8(0x23b),'attrs':{'id':_0x5c97d8(0x2cf)},'children':[{'tag':'path','attrs':{'fill':_0x5c97d8(0x31b),'d':_0x5c97d8(0x2f5)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x763e00=(0x0,_0x58ab96[_0x5c97d8(0x311)])(function(_0x57b92d,_0x55bd3c){return(0x0,_0x58ab96['createElement'])(_0x340066,Object['assign']({},_0x57b92d,{'id':'off-line-icon','ref':_0x55bd3c,'icon':_0x2bf469}));});_0x763e00[_0x5c97d8(0x310)]='OffLineIcon';let _0x2a4111={'tag':_0x5c97d8(0x257),'attrs':{'xmlns':_0x5c97d8(0x319),'fill':'none','viewBox':_0x5c97d8(0x18c),'width':_0x5c97d8(0x274),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5c97d8(0x2f9)},'children':[{'tag':_0x5c97d8(0x30f),'attrs':{'stroke':_0x5c97d8(0x18b),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5c97d8(0x19c),'strokeLinejoin':_0x5c97d8(0x19c),'strokeWidth':1.2}}]},{'tag':_0x5c97d8(0x1ed),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5c97d8(0x2b9)},'children':[{'tag':_0x5c97d8(0x30f),'attrs':{'fill':_0x5c97d8(0x31b),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x51ac68=(0x0,_0x58ab96[_0x5c97d8(0x311)])(function(_0x4134dd,_0x5ecdd1){const _0x473320=_0x5c97d8;return(0x0,_0x58ab96[_0x473320(0x2a1)])(_0x340066,Object[_0x473320(0x22e)]({},_0x4134dd,{'id':_0x473320(0x1ef),'ref':_0x5ecdd1,'icon':_0x2a4111}));});_0x51ac68[_0x5c97d8(0x310)]='OnLineIcon';function _0xaaad2e(_0x3d3390){const _0x506ddc=_0x5c97d8;var _0x4d2487,_0x2513ad;let {mcpCoreConfig:_0x180660,onSave:_0x373bfc,loading:_0x1587eb=!0x1,config:_0x2b6602,connectionStatus$:_0x349ea8,connectionError$:_0x1e8b4c,currentApiKey$:_0x113a3e,currentSessionId$:_0x1f9d4f}=_0x3d3390,_0x486216=(0x0,_0x377de7[_0x506ddc(0x1d7)])(_0x438e6f['LocaleService']),_0x1bf372=(0x0,_0x377de7[_0x506ddc(0x198)])(_0x349ea8,_0x4ecef8[_0x506ddc(0x1cd)][_0x506ddc(0x29b)]),_0x3d0cbb=(0x0,_0x377de7[_0x506ddc(0x198)])(_0x1e8b4c,_0x4ecef8[_0x506ddc(0x265)][_0x506ddc(0x1aa)]),_0x15fb58=(0x0,_0x377de7['useObservable'])(_0x1f9d4f,''),[_0x4c0854,_0x50a694]=(0x0,_0x58ab96['useState'])((0x0,_0x377de7[_0x506ddc(0x198)])(_0x113a3e,'')||''),_0x201d5c=_0x2b6602[_0x506ddc(0x31d)]&&_0x180660[_0x506ddc(0x1f4)]&&(_0x180660['mcpServerUrl'][_0x506ddc(0x306)](_0x506ddc(0x1ae))||_0x180660[_0x506ddc(0x1f4)][_0x506ddc(0x306)](_0x506ddc(0x216))),_0x5e5d63=(_0x4d2487=_0x180660[_0x506ddc(0x1f4)])==null?void 0x0:_0x4d2487['includes'](_0x506ddc(0x1ae)),_0x3111a6=(_0x2513ad=_0x180660[_0x506ddc(0x1f4)])==null?void 0x0:_0x2513ad['includes'](_0x506ddc(0x216)),_0x2bbe81=_0x5e5d63?_0x506ddc(0x264):_0x506ddc(0x289),_0x2f7211=_0x2b6602['showDeveloperTools']&&(_0x5e5d63||_0x3111a6),[_0x8badfe,_0x22e118]=(0x0,_0x58ab96[_0x506ddc(0x1ea)])(!_0x4c0854[_0x506ddc(0x20b)]()),_0x35022a=(_0x49bce3,_0x12f6b6)=>{const _0x53f52d=_0x506ddc;if(_0x12f6b6===_0x4ecef8[_0x53f52d(0x265)][_0x53f52d(0x1bd)])return _0x53f52d(0x2d1);switch(_0x49bce3){case _0x4ecef8[_0x53f52d(0x1cd)][_0x53f52d(0x246)]:return _0x53f52d(0x1f7);case _0x4ecef8[_0x53f52d(0x1cd)][_0x53f52d(0x211)]:case _0x4ecef8[_0x53f52d(0x1cd)]['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x4ecef8[_0x53f52d(0x1cd)]['FAILED']:return _0x53f52d(0x2d1);default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x1314cb=(_0x262285,_0x2725b5)=>{const _0x20c9f1=_0x506ddc;if(_0x2725b5===_0x4ecef8['MCPConnectionError'][_0x20c9f1(0x1bd)])return _0x20c9f1(0x31a);switch(_0x262285){case _0x4ecef8[_0x20c9f1(0x1cd)][_0x20c9f1(0x246)]:return'univer-bg-green-500';case _0x4ecef8['MCPConnectionStatus'][_0x20c9f1(0x211)]:case _0x4ecef8['MCPConnectionStatus'][_0x20c9f1(0x2f2)]:return _0x20c9f1(0x1ca);case _0x4ecef8[_0x20c9f1(0x1cd)]['FAILED']:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0x17f595=_0x2688c0=>{const _0x4b028c=_0x506ddc;switch(_0x2688c0){case _0x4ecef8[_0x4b028c(0x1cd)]['CONNECTED']:return _0x486216['t'](_0x4b028c(0x1cc));case _0x4ecef8[_0x4b028c(0x1cd)]['CONNECTING']:return _0x486216['t'](_0x4b028c(0x2ac));case _0x4ecef8[_0x4b028c(0x1cd)][_0x4b028c(0x2da)]:return _0x486216['t'](_0x4b028c(0x1b6));case _0x4ecef8[_0x4b028c(0x1cd)][_0x4b028c(0x2f2)]:return _0x486216['t'](_0x4b028c(0x214));default:return _0x486216['t'](_0x4b028c(0x242));}},_0xb7988b=_0x2325fd=>{const _0x6430dc=_0x506ddc;switch(_0x2325fd){case _0x4ecef8['MCPConnectionError'][_0x6430dc(0x1bd)]:return _0x486216['t'](_0x6430dc(0x250));case _0x4ecef8[_0x6430dc(0x265)][_0x6430dc(0x235)]:return _0x486216['t'](_0x6430dc(0x1c0));case _0x4ecef8[_0x6430dc(0x265)]['NETWORK_ERROR']:return _0x486216['t'](_0x6430dc(0x262));case _0x4ecef8[_0x6430dc(0x265)][_0x6430dc(0x24a)]:return _0x486216['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x3e6040=(0x0,_0x58ab96[_0x506ddc(0x190)])(()=>{_0x373bfc({..._0x180660,'apiKey':_0x4c0854['trim'](),'enableAuth':!0x0});},[_0x180660,_0x4c0854,!0x0,_0x373bfc]),_0x1612cc=_0x4c0854['trim']()[_0x506ddc(0x188)]>0x0;return(0x0,_0x3b596d['jsxs'])(_0x506ddc(0x203),{'className':_0x506ddc(0x228),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'className':_0x506ddc(0x1ac),'children':(0x0,_0x3b596d['jsxs'])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':_0x506ddc(0x305),'children':(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x1fa),{'className':'univer-text-white','children':'⚙'})}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'children':(0x0,_0x3b596d[_0x506ddc(0x2fe)])('p',{'className':_0x506ddc(0x28e),'children':_0x486216['t'](_0x506ddc(0x1d5))})})]})}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x27f),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'className':(0x0,_0x2b4c41[_0x506ddc(0x291)])('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x35022a(_0x1bf372,_0x3d0cbb)),'children':(0x0,_0x3b596d[_0x506ddc(0x251)])('div',{'className':_0x506ddc(0x2f4),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'className':(0x0,_0x2b4c41[_0x506ddc(0x291)])(_0x506ddc(0x288),_0x1314cb(_0x1bf372,_0x3d0cbb))}),(0x0,_0x3b596d['jsx'])(_0x506ddc(0x1fa),{'className':_0x506ddc(0x2b2),'children':_0x17f595(_0x1bf372)})]})}),_0x3d0cbb!==_0x4ecef8[_0x506ddc(0x265)][_0x506ddc(0x1aa)]&&(_0x1bf372===_0x4ecef8[_0x506ddc(0x1cd)]['FAILED']||_0x3d0cbb===_0x4ecef8[_0x506ddc(0x265)][_0x506ddc(0x1bd)])&&(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':(0x0,_0x3b596d['jsxs'])(_0x506ddc(0x203),{'className':_0x506ddc(0x28b),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x1fa),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])('p',{'className':_0x506ddc(0x23e),'children':_0xb7988b(_0x3d0cbb)})]})})]}),(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':(0x0,_0x3b596d[_0x506ddc(0x251)])('div',{'className':_0x506ddc(0x215),'children':[(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':'univer-space-y-2','children':[(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x21d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x1fa),{'children':'🔑'}),'\x20',_0x486216['t'](_0x506ddc(0x240)),(0x0,_0x3b596d[_0x506ddc(0x2fe)])('span',{'className':_0x506ddc(0x1d0),'children':'*'}),_0x201d5c&&(0x0,_0x3b596d['jsx'])('a',{'className':_0x506ddc(0x283),'title':_0x486216['t'](_0x506ddc(0x249)),'role':'button','onClick':()=>_0x22e118(!0x0),'children':(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0xc9f7f9,{})})]}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x2b4c41['Input'],{'type':_0x506ddc(0x23f),'placeholder':_0x486216['t'](_0x506ddc(0x29a)),'value':_0x4c0854,'disabled':_0x1587eb,'autoComplete':'off','onChange':_0x50a694}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])('p',{'className':_0x506ddc(0x229),'children':_0x486216['t'](_0x506ddc(0x2b1))})]}),_0x201d5c&&_0x8badfe&&(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])('a',{'className':_0x506ddc(0x2a2),'role':_0x506ddc(0x1b4),'onClick':()=>_0x22e118(!0x1),'children':(0x0,_0x3b596d['jsx'])(_0x23f9f2,{'className':'univer-size-4'})}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x1b3),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'className':_0x506ddc(0x22d),'children':(0x0,_0x3b596d[_0x506ddc(0x2fe)])('span',{'className':_0x506ddc(0x30c),'children':'🚀'})}),(0x0,_0x3b596d['jsxs'])('div',{'className':_0x506ddc(0x1c6),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])('h4',{'className':_0x506ddc(0x26f),'children':_0x486216['t']('mcpConfig.apiApplyInfo.title')}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])('p',{'className':_0x506ddc(0x1a7),'children':_0x486216['t'](_0x506ddc(0x1b9))}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])('div',{'className':_0x506ddc(0x1dc),'children':_0x2f7211&&(0x0,_0x3b596d[_0x506ddc(0x251)])('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x2bbe81,'target':_0x506ddc(0x2e5),'rel':_0x506ddc(0x1a8),'children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x1fa),{'children':'🤖'}),_0x486216['t'](_0x506ddc(0x2a8)),(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x1fa),{'className':_0x506ddc(0x21e),'children':'↗'})]})}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x22c),'children':['✨','\x20',_0x486216['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x2b6602[_0x506ddc(0x31d)]&&(0x0,_0x3b596d[_0x506ddc(0x251)])('div',{'className':_0x506ddc(0x2b6),'children':[(0x0,_0x3b596d[_0x506ddc(0x251)])('h4',{'className':_0x506ddc(0x2a9),'children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x1fa),{'children':'🔗'}),'\x20',_0x486216['t'](_0x506ddc(0x1c3))]}),(0x0,_0x3b596d[_0x506ddc(0x251)])('div',{'className':'univer-space-y-4','children':[(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x2b8),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])('p',{'className':_0x506ddc(0x278),'children':_0x486216['t']('mcpConfig.configInstructions')}),(0x0,_0x3b596d['jsxs'])(_0x506ddc(0x203),{'className':'univer-space-y-2','children':[(0x0,_0x3b596d['jsx'])('div',{'className':_0x506ddc(0x193),'children':_0x486216['t'](_0x506ddc(0x1c8))}),(0x0,_0x3b596d['jsxs'])(_0x506ddc(0x203),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x2f4),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x1fa),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x486216['t'](_0x506ddc(0x192))]}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x2f4),'children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x1fa),{'className':_0x506ddc(0x252),'children':'2'}),_0x486216['t'](_0x506ddc(0x301))]}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x2f4),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])('span',{'className':_0x506ddc(0x252),'children':'3'}),_0x486216['t'](_0x506ddc(0x2c1))]})]})]})]}),(0x0,_0x3b596d[_0x506ddc(0x251)])('div',{'className':_0x506ddc(0x220),'children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':_0x506ddc(0x193),'children':'MCP\x20Configuration'}),(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':_0x506ddc(0x290),'children':(0x0,_0x3b596d['jsx'])(_0x506ddc(0x221),{'className':'univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','children':JSON[_0x506ddc(0x20a)]({'mcpServers':{'univer':{'url':_0x506ddc(0x31c)+(_0x15fb58||_0x506ddc(0x2bd)),'type':'http','headers':{'Authorization':_0x506ddc(0x1cb)+(_0x4c0854||_0x506ddc(0x308))}}}},null,0x2)})})]}),(0x0,_0x3b596d['jsxs'])('div',{'className':'univer-space-y-3','children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':_0x506ddc(0x193),'children':_0x486216['t'](_0x506ddc(0x217))}),(0x0,_0x3b596d['jsxs'])(_0x506ddc(0x203),{'className':'univer-space-y-2','children':[(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':_0x506ddc(0x2bf),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])('div',{'className':_0x506ddc(0x25e)}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':_0x506ddc(0x2e2),'children':_0x506ddc(0x297)}),(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':_0x506ddc(0x229),'children':_0x486216['t'](_0x506ddc(0x2cc))})]})]}),(0x0,_0x3b596d['jsxs'])(_0x506ddc(0x203),{'className':_0x506ddc(0x2bf),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'className':_0x506ddc(0x25e)}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':'univer-min-w-0\x20univer-flex-1','children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x203),{'className':_0x506ddc(0x2e2),'children':_0x506ddc(0x20c)}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x203),{'className':_0x506ddc(0x229),'children':_0x486216['t'](_0x506ddc(0x1dd))})]})]})]})]})]})]}),(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x2b4c41[_0x506ddc(0x318)],{'onClick':_0x3e6040,'disabled':!_0x1612cc||_0x1587eb,'className':_0x506ddc(0x18a),'children':_0x1587eb?(0x0,_0x3b596d['jsxs'])('span',{'className':_0x506ddc(0x2f4),'children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x506ddc(0x1fa),{'children':'⟲'}),_0x486216['t'](_0x506ddc(0x2d4))]}):(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x1fa),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])(_0x484a40,{}),_0x486216['t'](_0x506ddc(0x184))]})}),(0x0,_0x3b596d['jsx'])('div',{'className':_0x506ddc(0x2c5),'children':(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':'univer-flex\x20univer-gap-3','children':[(0x0,_0x3b596d['jsx'])(_0x506ddc(0x1fa),{'className':_0x506ddc(0x2a3),'children':'💡'}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[(0x0,_0x3b596d[_0x506ddc(0x2fe)])('div',{'className':'univer-font-medium','children':_0x506ddc(0x2f8)}),(0x0,_0x3b596d['jsxs'])(_0x506ddc(0x203),{'children':['•',_0x486216['t']('mcpConfig.note1')]}),(0x0,_0x3b596d[_0x506ddc(0x251)])(_0x506ddc(0x203),{'children':['•',_0x486216['t']('mcpConfig.note2')]})]})]})})]})})]});}let _0x177ad6='mcp-ui.config',_0x4172a1={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0xa923d4(_0x38c616){'@babel/helpers - typeof';const _0x4e6d46=_0x5c97d8;return _0xa923d4=typeof Symbol==_0x4e6d46(0x2e8)&&typeof Symbol[_0x4e6d46(0x19e)]==_0x4e6d46(0x1f3)?function(_0x4bc76e){return typeof _0x4bc76e;}:function(_0x545356){const _0x185785=_0x4e6d46;return _0x545356&&typeof Symbol==_0x185785(0x2e8)&&_0x545356[_0x185785(0x30b)]===Symbol&&_0x545356!==Symbol['prototype']?_0x185785(0x1f3):typeof _0x545356;},_0xa923d4(_0x38c616);}function _0x87ca85(_0x4eddc4,_0x4ee185){const _0x307416=_0x5c97d8;if(_0xa923d4(_0x4eddc4)!=_0x307416(0x1ba)||!_0x4eddc4)return _0x4eddc4;var _0x4067b=_0x4eddc4[Symbol[_0x307416(0x239)]];if(_0x4067b!==void 0x0){var _0x356135=_0x4067b[_0x307416(0x213)](_0x4eddc4,_0x4ee185||_0x307416(0x1a3));if(_0xa923d4(_0x356135)!=_0x307416(0x1ba))return _0x356135;throw TypeError(_0x307416(0x2b7));}return(_0x4ee185===_0x307416(0x2d3)?String:Number)(_0x4eddc4);}function _0x3d706c(_0x1b0e2f){const _0x33365b=_0x5c97d8;var _0x1e0151=_0x87ca85(_0x1b0e2f,_0x33365b(0x2d3));return _0xa923d4(_0x1e0151)==_0x33365b(0x1f3)?_0x1e0151:_0x1e0151+'';}function _0x59d8f3(_0x567829,_0x21435b,_0x50af62){const _0x11ffd8=_0x5c97d8;return(_0x21435b=_0x3d706c(_0x21435b))in _0x567829?Object[_0x11ffd8(0x2a0)](_0x567829,_0x21435b,{'value':_0x50af62,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x567829[_0x21435b]=_0x50af62,_0x567829;}function _0x116ed5(_0x38bad2,_0x281f56){return function(_0x5d6fa4,_0x576d66){_0x281f56(_0x5d6fa4,_0x576d66,_0x38bad2);};}function _0x50d53e(_0x3ec519,_0xc21ac7,_0x35eced,_0x9a78db){const _0x17a8f3=_0x5c97d8;var _0x1f0be4=arguments[_0x17a8f3(0x188)],_0x309818=_0x1f0be4<0x3?_0xc21ac7:_0x9a78db===null?_0x9a78db=Object[_0x17a8f3(0x2fd)](_0xc21ac7,_0x35eced):_0x9a78db,_0x508ae7;if(typeof Reflect==_0x17a8f3(0x1ba)&&typeof Reflect[_0x17a8f3(0x1f8)]==_0x17a8f3(0x2e8))_0x309818=Reflect[_0x17a8f3(0x1f8)](_0x3ec519,_0xc21ac7,_0x35eced,_0x9a78db);else{for(var _0xdcd006=_0x3ec519[_0x17a8f3(0x188)]-0x1;_0xdcd006>=0x0;_0xdcd006--)(_0x508ae7=_0x3ec519[_0xdcd006])&&(_0x309818=(_0x1f0be4<0x3?_0x508ae7(_0x309818):_0x1f0be4>0x3?_0x508ae7(_0xc21ac7,_0x35eced,_0x309818):_0x508ae7(_0xc21ac7,_0x35eced))||_0x309818);}return _0x1f0be4>0x3&&_0x309818&&Object[_0x17a8f3(0x2a0)](_0xc21ac7,_0x35eced,_0x309818),_0x309818;}let _0x13d7b6='mcp.apiKey',_0x104fdf='mcp-config-dialog',_0x4c13de=class extends _0x438e6f['Disposable']{constructor(_0x4a5ae3,_0x56c79e,_0x3422e9,_0x468fbd,_0x261367,_0xff2ada,_0x287b05,_0x113e48,_0x27f3b0,_0x3d667b){const _0x511a0a=_0x5c97d8;super(),this[_0x511a0a(0x27a)]=_0x4a5ae3,this[_0x511a0a(0x24e)]=_0x56c79e,this[_0x511a0a(0x22a)]=_0x3422e9,this['_localStorageService']=_0x468fbd,this[_0x511a0a(0x268)]=_0x261367,this[_0x511a0a(0x22f)]=_0xff2ada,this[_0x511a0a(0x298)]=_0x287b05,this[_0x511a0a(0x2db)]=_0x113e48,this[_0x511a0a(0x2f7)]=_0x27f3b0,this[_0x511a0a(0x270)]=_0x3d667b,_0x59d8f3(this,_0x511a0a(0x189),new _0x4efed4[(_0x511a0a(0x1a5))](!0x1)),_0x59d8f3(this,_0x511a0a(0x1a9),new _0x4efed4[(_0x511a0a(0x1a5))]({})),_0x59d8f3(this,_0x511a0a(0x25f),new _0x4efed4['BehaviorSubject']({})),_0x59d8f3(this,_0x511a0a(0x312),new _0x4efed4[(_0x511a0a(0x1a5))]('')),_0x59d8f3(this,_0x511a0a(0x2be),async _0x524672=>{const _0x1e07c5=_0x511a0a;this[_0x1e07c5(0x189)][_0x1e07c5(0x2fc)](!0x0);try{var _0x39185f,_0x2700c6;let _0x1d4285=await this[_0x1e07c5(0x292)](_0x524672);if(!_0x1d4285[_0x1e07c5(0x31e)]){this[_0x1e07c5(0x22f)][_0x1e07c5(0x27b)]({'type':_0x2b4c41[_0x1e07c5(0x1e6)]['Error'],'content':_0x1d4285['errorMessage']||this['_localeService']['t'](_0x1e07c5(0x2df))});return;}_0x524672[_0x1e07c5(0x29e)]?await this[_0x1e07c5(0x2c9)][_0x1e07c5(0x212)](_0x13d7b6,_0x524672['apiKey'][_0x1e07c5(0x20b)]()):await this[_0x1e07c5(0x2c9)]['removeItem'](_0x13d7b6),this[_0x1e07c5(0x312)][_0x1e07c5(0x2fc)](((_0x39185f=_0x524672[_0x1e07c5(0x29e)])==null?void 0x0:_0x39185f['trim']())||''),this[_0x1e07c5(0x270)][_0x1e07c5(0x254)]({'Authorization':_0x1e07c5(0x1cb)+((_0x2700c6=_0x524672[_0x1e07c5(0x29e)])==null?void 0x0:_0x2700c6[_0x1e07c5(0x20b)]())}),this[_0x1e07c5(0x22f)][_0x1e07c5(0x27b)]({'type':_0x2b4c41[_0x1e07c5(0x1e6)][_0x1e07c5(0x233)],'content':this[_0x1e07c5(0x2db)]['t'](_0x1e07c5(0x2bc))}),setTimeout(()=>{const _0x12288=_0x1e07c5;this[_0x12288(0x268)][_0x12288(0x202)](_0x104fdf);},0x320);}catch(_0x463062){this['_logService'][_0x1e07c5(0x304)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x463062),this[_0x1e07c5(0x22f)][_0x1e07c5(0x27b)]({'type':_0x2b4c41[_0x1e07c5(0x1e6)][_0x1e07c5(0x1a2)],'content':this[_0x1e07c5(0x2db)]['t'](_0x1e07c5(0x314))});}finally{this[_0x1e07c5(0x189)][_0x1e07c5(0x2fc)](!0x1);}}),this[_0x511a0a(0x2b5)](),this[_0x511a0a(0x26b)](),this[_0x511a0a(0x224)]();}['showConfigPanel'](){const _0xde028b=_0x5c97d8;let _0x25fbef=this[_0xde028b(0x22a)][_0xde028b(0x1ad)](_0x177ad6);_0x25fbef!=null&&_0x25fbef[_0xde028b(0x31d)]&&this[_0xde028b(0x268)][_0xde028b(0x1a6)]({'id':_0x104fdf,'title':{'title':this['_localeService']['t'](_0xde028b(0x1a0))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x5e1b32=_0xde028b;this[_0x5e1b32(0x268)]['close'](_0x104fdf);}});}[_0x5c97d8(0x29c)](){const _0x37d3d0=_0x5c97d8;return this[_0x37d3d0(0x1a9)][_0x37d3d0(0x2a6)];}[_0x5c97d8(0x224)](){const _0x28bc70=_0x5c97d8;this[_0x28bc70(0x195)](this[_0x28bc70(0x298)][_0x28bc70(0x1bc)](_0x28bc70(0x2c6),this[_0x28bc70(0x309)]()));}['_createConfigPanelComponent'](){const _0x43e4be=_0x5c97d8;return(0x0,_0x377de7[_0x43e4be(0x1c5)])(()=>{const _0x300969=_0x43e4be;var _0x27eec1,_0x4867b1,_0x1b659b;return(0x0,_0x3b596d['jsx'])(_0xaaad2e,{'config':this[_0x300969(0x25f)][_0x300969(0x2a6)],'mcpCoreConfig':this[_0x300969(0x1a9)][_0x300969(0x2a6)],'currentApiKey$':this[_0x300969(0x312)],'onSave':this[_0x300969(0x2be)],'loading':this[_0x300969(0x189)][_0x300969(0x2a6)],'connectionStatus$':(_0x27eec1=this[_0x300969(0x270)])==null?void 0x0:_0x27eec1[_0x300969(0x30e)],'connectionError$':(_0x4867b1=this[_0x300969(0x270)])==null?void 0x0:_0x4867b1[_0x300969(0x1f9)],'currentSessionId$':(_0x1b659b=this[_0x300969(0x270)])==null?void 0x0:_0x1b659b['sessionId$']});},this[_0x43e4be(0x27a)]);}[_0x5c97d8(0x2b5)](){const _0x405814=_0x5c97d8;this[_0x405814(0x195)](this['_configService'][_0x405814(0x2ff)](_0x4ecef8[_0x405814(0x316)])[_0x405814(0x1da)](_0x2d5fcc=>{const _0x1793f5=_0x405814;this[_0x1793f5(0x1a9)][_0x1793f5(0x2fc)](_0x2d5fcc||{});}));let _0x5b8f13=this[_0x405814(0x22a)]['getConfig'](_0x4ecef8['MCP_PLUGIN_CONFIG_KEY']);this[_0x405814(0x1a9)][_0x405814(0x2fc)](_0x5b8f13||{}),this[_0x405814(0x195)](this[_0x405814(0x22a)][_0x405814(0x2ff)](_0x177ad6)[_0x405814(0x1da)](_0x17fc04=>{const _0x28f1ee=_0x405814;this[_0x28f1ee(0x25f)][_0x28f1ee(0x2fc)](_0x17fc04||{});}));let _0x4f9f8c=this[_0x405814(0x22a)][_0x405814(0x1ad)](_0x177ad6);this[_0x405814(0x25f)][_0x405814(0x2fc)](_0x4f9f8c||{});}async[_0x5c97d8(0x26b)](){const _0x260527=_0x5c97d8;let _0x216627=this[_0x260527(0x22a)][_0x260527(0x1ad)](_0x177ad6);if(!(_0x216627!=null&&_0x216627[_0x260527(0x31d)]))return;let _0x5d4cc6=await this[_0x260527(0x2c9)][_0x260527(0x1f2)](_0x13d7b6);_0x5d4cc6&&(this[_0x260527(0x270)][_0x260527(0x254)]({'Authorization':_0x260527(0x1cb)+_0x5d4cc6}),this[_0x260527(0x312)]['next'](_0x5d4cc6));}async[_0x5c97d8(0x292)](_0x3aa9a8){const _0x4b6788=_0x5c97d8;if(!_0x3aa9a8[_0x4b6788(0x29e)]||_0x3aa9a8['apiKey'][_0x4b6788(0x20b)]()[_0x4b6788(0x188)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x4b6788(0x1db))};if(_0x3aa9a8[_0x4b6788(0x29e)][_0x4b6788(0x20b)]()['length']<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4b6788(0x2db)]['t'](_0x4b6788(0x210))};try{let _0x3367bd=await this[_0x4b6788(0x27a)]['get'](_0x4ecef8['MCPConnectionController'])['validateApiKey'](_0x3aa9a8[_0x4b6788(0x29e)]['trim']());return _0x3367bd['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3367bd[_0x4b6788(0x304)]||this[_0x4b6788(0x2db)]['t']('mcpConfig.validation.invalidApiKey')};}catch(_0x2b4617){return console[_0x4b6788(0x25a)](_0x4b6788(0x287),_0x2b4617),{'isValid':!0x0};}}};_0x4c13de=_0x50d53e([_0x116ed5(0x0,(0x0,_0x438e6f['Inject'])(_0x438e6f['Injector'])),_0x116ed5(0x1,_0x377de7['IUIPartsService']),_0x116ed5(0x2,_0x438e6f['IConfigService']),_0x116ed5(0x3,_0x438e6f[_0x5c97d8(0x1e5)]),_0x116ed5(0x4,_0x377de7[_0x5c97d8(0x19d)]),_0x116ed5(0x5,_0x377de7[_0x5c97d8(0x259)]),_0x116ed5(0x6,(0x0,_0x438e6f['Inject'])(_0x377de7[_0x5c97d8(0x294)])),_0x116ed5(0x7,(0x0,_0x438e6f[_0x5c97d8(0x2ce)])(_0x438e6f[_0x5c97d8(0x241)])),_0x116ed5(0x8,_0x438e6f[_0x5c97d8(0x1a1)]),_0x116ed5(0x9,(0x0,_0x438e6f[_0x5c97d8(0x2ce)])(_0x4ecef8['MCPConnectionController']))],_0x4c13de);let _0x29f2d8={'id':_0x5c97d8(0x1be),'type':_0x438e6f[_0x5c97d8(0x2f1)][_0x5c97d8(0x27e)],'handler':async(_0x265ed7,_0x4c4d58)=>(_0x265ed7['get'](_0x4c13de)[_0x5c97d8(0x2a5)](),!0x0)};function _0x2ddc5a(_0x54744e,_0x3355ee){const _0x5461ee=_0x5c97d8;switch(_0x54744e){case _0x4ecef8[_0x5461ee(0x1cd)]['DISCONNECTED']:return _0x5461ee(0x315);case _0x4ecef8['MCPConnectionStatus']['CONNECTING']:return _0x5461ee(0x1e1);case _0x4ecef8['MCPConnectionStatus'][_0x5461ee(0x246)]:return _0x5461ee(0x1d3);case _0x4ecef8[_0x5461ee(0x1cd)][_0x5461ee(0x2da)]:switch(_0x3355ee){case _0x4ecef8['MCPConnectionError'][_0x5461ee(0x1bd)]:return _0x5461ee(0x30a);case _0x4ecef8[_0x5461ee(0x265)][_0x5461ee(0x235)]:return _0x5461ee(0x286);case _0x4ecef8['MCPConnectionError'][_0x5461ee(0x185)]:return _0x5461ee(0x2e3);case _0x4ecef8[_0x5461ee(0x265)]['MAX_RETRIES_EXCEEDED']:return _0x5461ee(0x2c8);default:return _0x5461ee(0x277);}case _0x4ecef8[_0x5461ee(0x1cd)][_0x5461ee(0x2f2)]:return _0x5461ee(0x271);default:return _0x5461ee(0x1e7);}}function _0x661f90(_0x41c669,_0x2a3a7b,_0x52f60f,_0x92eb92=!0x0){const _0x54dbc9=_0x5c97d8;let _0x33712b=_0x2ddc5a(_0x41c669,_0x2a3a7b),_0x51d421=_0x52f60f['t'](_0x33712b);return _0x92eb92?_0x41c669===_0x4ecef8[_0x54dbc9(0x1cd)][_0x54dbc9(0x29b)]&&_0x2a3a7b===_0x4ecef8[_0x54dbc9(0x265)]['UNAUTHORIZED']?_0x51d421+_0x54dbc9(0x27c)+_0x52f60f['t'](_0x54dbc9(0x1d1)):_0x41c669===_0x4ecef8[_0x54dbc9(0x1cd)][_0x54dbc9(0x246)]?''+_0x51d421:_0x41c669===_0x4ecef8[_0x54dbc9(0x1cd)][_0x54dbc9(0x29b)]||_0x41c669===_0x4ecef8[_0x54dbc9(0x1cd)]['FAILED']?_0x51d421+_0x54dbc9(0x27c)+_0x52f60f['t'](_0x54dbc9(0x18e)):_0x51d421:_0x51d421;}function _0xb6f205(_0x25e867){const _0x3e384f=_0x5c97d8;switch(_0x25e867){case _0x4ecef8['MCPConnectionStatus'][_0x3e384f(0x246)]:return _0x3e384f(0x2dd);case _0x4ecef8['MCPConnectionStatus']['CONNECTING']:case _0x4ecef8[_0x3e384f(0x1cd)][_0x3e384f(0x2f2)]:return _0x3e384f(0x2b0);case _0x4ecef8[_0x3e384f(0x1cd)]['FAILED']:case _0x4ecef8[_0x3e384f(0x1cd)]['DISCONNECTED']:return _0x3e384f(0x1d0);default:return _0x3e384f(0x1c1);}}function _0x14990d(_0x1ea3fc){const _0x34e7f4=_0x5c97d8;let {status$:_0x9f3d14,error$:_0x54ee00,onConfigure:_0x4e1ba2,showClickable:_0x3a5a6e=!0x0}=_0x1ea3fc,_0x3ae09c=(0x0,_0x377de7['useObservable'])(_0x9f3d14,_0x4ecef8['MCPConnectionStatus'][_0x34e7f4(0x29b)]),_0x3d7d4f=(0x0,_0x377de7['useObservable'])(_0x54ee00,_0x4ecef8[_0x34e7f4(0x265)][_0x34e7f4(0x1aa)]),_0x21d0ac=(0x0,_0x377de7['useDependency'])(_0x438e6f[_0x34e7f4(0x241)]),_0x3df053=_0x3ae09c===_0x4ecef8['MCPConnectionStatus'][_0x34e7f4(0x246)];_0x3ae09c===_0x4ecef8[_0x34e7f4(0x1cd)][_0x34e7f4(0x211)]||_0x4ecef8['MCPConnectionStatus'][_0x34e7f4(0x2f2)];let _0x536eba=_0x21d0ac['t'](_0x2ddc5a(_0x3ae09c,_0x3d7d4f)),_0x47e697=_0x661f90(_0x3ae09c,_0x3d7d4f,_0x21d0ac,_0x3a5a6e),_0x4586dd=_0xb6f205(_0x3ae09c),_0x4589ef=_0x3df053?(0x0,_0x3b596d['jsx'])(_0x51ac68,{}):(0x0,_0x3b596d[_0x34e7f4(0x2fe)])(_0x763e00,{}),_0x3340e0=(0x0,_0x58ab96[_0x34e7f4(0x190)])(()=>{_0x3a5a6e&&_0x4e1ba2&&_0x4e1ba2();},[_0x3a5a6e,_0x4e1ba2]);function _0x1e4fc4(){const _0x2d3b2d=_0x34e7f4;return(0x0,_0x3b596d[_0x2d3b2d(0x251)])(_0x2d3b2d(0x203),{'className':(0x0,_0x2b4c41[_0x2d3b2d(0x291)])(_0x2d3b2d(0x20f),_0x3a5a6e&&_0x4e1ba2&&_0x2d3b2d(0x285)),'role':_0x2d3b2d(0x1b4),'onClick':_0x3a5a6e&&_0x4e1ba2?_0x3340e0:void 0x0,'children':[(0x0,_0x3b596d['jsx'])(_0x2d3b2d(0x203),{'className':(0x0,_0x2b4c41[_0x2d3b2d(0x291)])(_0x2d3b2d(0x24f),_0x4586dd),'children':_0x4589ef}),(0x0,_0x3b596d['jsx'])(_0x2d3b2d(0x203),{'className':_0x2d3b2d(0x1b8),'children':_0x536eba})]});}return(0x0,_0x3b596d[_0x34e7f4(0x2fe)])(_0x2b4c41[_0x34e7f4(0x234)],{'title':_0x47e697,'placement':_0x34e7f4(0x27d),'children':_0x1e4fc4()});}let _0x17925d=class extends _0x438e6f[_0x5c97d8(0x2c2)]{constructor(_0x1f964b,_0xbc5403,_0x441937,_0x13f20a){const _0x26d356=_0x5c97d8;super(),this[_0x26d356(0x27a)]=_0x1f964b,this[_0x26d356(0x231)]=_0xbc5403,this[_0x26d356(0x24e)]=_0x441937,this[_0x26d356(0x22a)]=_0x13f20a,this[_0x26d356(0x261)](),this[_0x26d356(0x22b)]();}[_0x5c97d8(0x261)](){const _0x2ce6e4=_0x5c97d8;let _0x548f91=this[_0x2ce6e4(0x22a)][_0x2ce6e4(0x1ad)](_0x177ad6);_0x548f91!=null&&_0x548f91[_0x2ce6e4(0x31d)]&&(this[_0x2ce6e4(0x231)][_0x2ce6e4(0x25c)]=!0x1);}[_0x5c97d8(0x22b)](){const _0x1520a4=_0x5c97d8;let _0x5095d1=this[_0x1520a4(0x22a)][_0x1520a4(0x1ad)](_0x177ad6);(_0x5095d1==null?void 0x0:_0x5095d1[_0x1520a4(0x1e8)])!==!0x1&&this[_0x1520a4(0x195)](this[_0x1520a4(0x24e)][_0x1520a4(0x1e3)](_0x377de7['BuiltInUIPart'][_0x1520a4(0x183)],()=>{const _0x2d685a=_0x1520a4;var _0x4e66dd;return(0x0,_0x377de7['connectInjector'])(_0x7e92d3({'status$':this[_0x2d685a(0x231)][_0x2d685a(0x30e)],'error$':this[_0x2d685a(0x231)]['connectionError$'],'onConfigure':()=>this[_0x2d685a(0x197)](),'showClickable':(_0x4e66dd=_0x5095d1==null?void 0x0:_0x5095d1[_0x2d685a(0x31d)])==null?!0x1:_0x4e66dd}),this[_0x2d685a(0x27a)]);}));}[_0x5c97d8(0x197)](){const _0x1274f2=_0x5c97d8;this['_injector'][_0x1274f2(0x2af)](_0x4c13de)[_0x1274f2(0x2a5)]();}};_0x17925d=_0x50d53e([_0x116ed5(0x0,(0x0,_0x438e6f[_0x5c97d8(0x2ce)])(_0x438e6f['Injector'])),_0x116ed5(0x1,(0x0,_0x438e6f['Inject'])(_0x4ecef8[_0x5c97d8(0x1c7)])),_0x116ed5(0x2,_0x377de7[_0x5c97d8(0x1af)]),_0x116ed5(0x3,_0x438e6f['IConfigService'])],_0x17925d);function _0x7e92d3(_0x5c0e1e){let {status$:_0x1a6c86,error$:_0x31469c,onConfigure:_0x5f475f,showClickable:_0x28718b}=_0x5c0e1e;return function(){const _0x29a69b=_0x2f3a;return(0x0,_0x3b596d[_0x29a69b(0x2fe)])(_0x14990d,{'status$':_0x1a6c86,'error$':_0x31469c,'onConfigure':_0x5f475f,'showClickable':_0x28718b});};}function _0x12a4bd(_0x28ccf5){const _0x35142d=_0x5c97d8;return{'id':_0x29f2d8['id'],'type':_0x377de7[_0x35142d(0x2e0)]['BUTTON'],'icon':'MenuIcon','title':_0x35142d(0x1a0),'tooltip':_0x35142d(0x1a0)};}let _0x3e3ed6={[_0x377de7[_0x5c97d8(0x1f1)][_0x5c97d8(0x227)]]:{[_0x29f2d8['id']]:{'order':0xa,'menuItemFactory':_0x12a4bd}}},_0x4916b4=class extends _0x438e6f[_0x5c97d8(0x2c2)]{constructor(_0x62628c,_0x431e53){const _0x3e990c=_0x5c97d8;super(),this[_0x3e990c(0x248)]=_0x62628c,this[_0x3e990c(0x2fa)]=_0x431e53,this['_initializeCommands'](),this[_0x3e990c(0x1fc)]();}[_0x5c97d8(0x1c9)](){const _0x2613c2=_0x5c97d8;[_0x29f2d8][_0x2613c2(0x21c)](_0x411aca=>{const _0x44ed80=_0x2613c2;this[_0x44ed80(0x195)](this[_0x44ed80(0x248)][_0x44ed80(0x1ee)](_0x411aca));});}['_initializeMenus'](){const _0x285325=_0x5c97d8;this[_0x285325(0x2fa)][_0x285325(0x263)](_0x3e3ed6);}};_0x4916b4=_0x50d53e([_0x116ed5(0x0,_0x438e6f[_0x5c97d8(0x1b7)]),_0x116ed5(0x1,_0x377de7[_0x5c97d8(0x29f)])],_0x4916b4);let _0x1793f8={'mcpStatus':{'disconnected':_0x5c97d8(0x2ae),'connecting':_0x5c97d8(0x302),'connected':_0x5c97d8(0x1e4),'failed':'MCP\x20Connection\x20Failed','retrying':_0x5c97d8(0x28d),'unknown':_0x5c97d8(0x1f0),'unauthorized':_0x5c97d8(0x186),'sessionOccupied':_0x5c97d8(0x269),'networkError':_0x5c97d8(0x2a4),'maxRetriesExceeded':_0x5c97d8(0x28a),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5c97d8(0x256)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x5c97d8(0x284),'apiKeyPlaceholder':_0x5c97d8(0x255),'apiKeyHint':_0x5c97d8(0x293),'enableAuth':_0x5c97d8(0x2ee),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x5c97d8(0x2bb),'mcpClientConfig':_0x5c97d8(0x2bb),'configInstructions':_0x5c97d8(0x247),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x5c97d8(0x2c3),'configStep2':_0x5c97d8(0x1bb),'configStep3':_0x5c97d8(0x2d9),'sessionId':_0x5c97d8(0x1ff),'sessionIdDescription':_0x5c97d8(0x280),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5c97d8(0x282),'maxRetries':_0x5c97d8(0x1d9),'save':_0x5c97d8(0x2fb),'saving':_0x5c97d8(0x1e9),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5c97d8(0x2ec),'configSaved':_0x5c97d8(0x28c),'configError':_0x5c97d8(0x2cd),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5c97d8(0x1fe),'univerAiLabel':_0x5c97d8(0x20e),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5c97d8(0x2e6),'invalidConfig':_0x5c97d8(0x26a),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5c97d8(0x19f),'connecting':'Connecting...','connected':'Connected','failed':_0x5c97d8(0x1de),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x5c97d8(0x199),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5c97d8(0x1df),'maxRetriesExceeded':_0x5c97d8(0x26c)}}},_0x271929={'mcpStatus':{'disconnected':_0x5c97d8(0x1e2),'connecting':'MCP\x20连接中...','connected':_0x5c97d8(0x26d),'failed':_0x5c97d8(0x317),'retrying':_0x5c97d8(0x1fd),'unknown':_0x5c97d8(0x275),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x5c97d8(0x209),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x5c97d8(0x23c),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x5c97d8(0x21b)},'mcpConfig':{'title':_0x5c97d8(0x2b3),'description':_0x5c97d8(0x1a4),'apiKey':_0x5c97d8(0x2a7),'apiKeyPlaceholder':_0x5c97d8(0x2d0),'apiKeyHint':_0x5c97d8(0x2d6),'enableAuth':'启用身份验证','enableAuthHint':_0x5c97d8(0x2e4),'connectionInfo':_0x5c97d8(0x295),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x5c97d8(0x276),'configStepTitle':'配置步骤:','configStep1':_0x5c97d8(0x1f6),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x5c97d8(0x1f5),'sessionId':'会话ID','sessionIdDescription':_0x5c97d8(0x19a),'authorizationDescription':_0x5c97d8(0x2ea),'configParameters':_0x5c97d8(0x2d8),'maxRetries':_0x5c97d8(0x204),'save':'保存配置','saving':_0x5c97d8(0x201),'note1':_0x5c97d8(0x313),'note2':_0x5c97d8(0x230),'configSaved':_0x5c97d8(0x225),'configError':_0x5c97d8(0x1d4),'apiApplyInfo':{'title':_0x5c97d8(0x2e9),'description':_0x5c97d8(0x2aa),'univerAiLabel':_0x5c97d8(0x260),'getStarted':_0x5c97d8(0x2ad)},'validation':{'apiKeyRequired':_0x5c97d8(0x2ba),'apiKeyTooShort':_0x5c97d8(0x1c2),'invalidConfig':_0x5c97d8(0x296),'invalidApiKey':_0x5c97d8(0x2ed)},'connectionStatus':{'disconnected':_0x5c97d8(0x236),'connecting':_0x5c97d8(0x1b1),'connected':_0x5c97d8(0x2dc),'failed':_0x5c97d8(0x1d8),'retrying':_0x5c97d8(0x2b4)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x5c97d8(0x205),'maxRetriesExceeded':_0x5c97d8(0x244)}}};var _0x6937bb='@univerjs-pro/mcp-ui',_0x2a2580='0.25.0';let _0x5d778b=class extends _0x438e6f['Plugin']{constructor(_0x36674f=_0x4172a1,_0x2d9d9a,_0x2d9f1f,_0x4ab296,_0x1a36be,_0x51e292){const _0x38dd78=_0x5c97d8;super(),this[_0x38dd78(0x1b5)]=_0x36674f,this['_injector']=_0x2d9d9a,this['_configService']=_0x2d9f1f,this[_0x38dd78(0x24e)]=_0x4ab296,this[_0x38dd78(0x2c9)]=_0x1a36be,this[_0x38dd78(0x2db)]=_0x51e292;let {..._0x3adffb}=(0x0,_0x438e6f[_0x38dd78(0x206)])({},_0x4172a1,this[_0x38dd78(0x1b5)]);this[_0x38dd78(0x22a)][_0x38dd78(0x24c)](_0x177ad6,_0x3adffb);}async[_0x5c97d8(0x1b2)](){const _0x103d37=_0x5c97d8;let _0x48384a=[[_0x17925d],[_0x4c13de],[_0x4916b4]];this[_0x103d37(0x27a)][_0x103d37(0x273)](_0x55294[_0x103d37(0x1ab)])||_0x48384a[_0x103d37(0x232)]([_0x55294[_0x103d37(0x1ab)],{'useClass':_0x55294[_0x103d37(0x1c4)]}]),_0x48384a[_0x103d37(0x21c)](_0x5a671e=>this[_0x103d37(0x27a)][_0x103d37(0x1ec)](_0x5a671e)),this[_0x103d37(0x27a)]['get'](_0x17925d),this[_0x103d37(0x27a)][_0x103d37(0x2af)](_0x4c13de),this[_0x103d37(0x27a)][_0x103d37(0x2af)](_0x4916b4);}};_0x59d8f3(_0x5d778b,_0x5c97d8(0x2ca),_0x5c97d8(0x2e1)),_0x59d8f3(_0x5d778b,'packageName',_0x6937bb),_0x59d8f3(_0x5d778b,_0x5c97d8(0x266),_0x2a2580),_0x5d778b=_0x50d53e([(0x0,_0x438e6f['DependentOn'])(_0x4ecef8[_0x5c97d8(0x2f3)]),_0x116ed5(0x1,(0x0,_0x438e6f[_0x5c97d8(0x2ce)])(_0x438e6f[_0x5c97d8(0x19b)])),_0x116ed5(0x2,_0x438e6f[_0x5c97d8(0x2f0)]),_0x116ed5(0x3,_0x377de7[_0x5c97d8(0x1af)]),_0x116ed5(0x4,_0x438e6f[_0x5c97d8(0x1e5)]),_0x116ed5(0x5,(0x0,_0x438e6f[_0x5c97d8(0x2ce)])(_0x438e6f[_0x5c97d8(0x241)]))],_0x5d778b),_0x3f038c[_0x5c97d8(0x2c6)]=_0xaaad2e,Object[_0x5c97d8(0x2a0)](_0x3f038c,_0x5c97d8(0x218),{'enumerable':!0x0,'get':function(){return _0x4c13de;}}),Object[_0x5c97d8(0x2a0)](_0x3f038c,_0x5c97d8(0x1cf),{'enumerable':!0x0,'get':function(){return _0x17925d;}}),_0x3f038c[_0x5c97d8(0x2e7)]=_0x14990d,Object[_0x5c97d8(0x2a0)](_0x3f038c,_0x5c97d8(0x1e0),{'enumerable':!0x0,'get':function(){return _0x4916b4;}}),_0x3f038c[_0x5c97d8(0x2f6)]=_0x29f2d8,Object[_0x5c97d8(0x2a0)](_0x3f038c,_0x5c97d8(0x24b),{'enumerable':!0x0,'get':function(){return _0x5d778b;}}),_0x3f038c[_0x5c97d8(0x300)]=_0x1793f8,_0x3f038c[_0x5c97d8(0x279)]=_0x271929;}));function _0x2f3a(_0x586555,_0x240c61){_0x586555=_0x586555-0x183;const _0x2cd35c=_0x2cd3();let _0x2f3ac1=_0x2cd35c[_0x586555];return _0x2f3ac1;}function _0x2cd3(){const _0x13db3a=['univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_mcpConnectionController','mcpStatus.retrying','2032450DQPKEf','has','1em','MCP\x20状态未知','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpStatus.failed','univer-text-xs\x20univer-text-gray-600','zhCN','_injector','show','\x20-\x20','bottom','COMMAND','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','5962040MOWIVG','Configuration\x20Parameters:','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','API\x20Key','\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','mcpStatus.sessionOccupied','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','univer-size-2\x20univer-rounded-full','https://console.univer.ai','MCP:\x20Max\x20Retries\x20Exceeded','univer-flex\x20univer-items-start\x20univer-gap-2','Configuration\x20saved\x20successfully','MCP\x20Retrying...','univer-text-sm\x20univer-text-gray-500','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','clsx','_validateConfig','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','ComponentManager','MCP\x20客户端配置','配置无效','univer_session_id:','_componentManager','none','mcpConfig.apiKeyPlaceholder','DISCONNECTED','getCurrentConfig','xlink:href','apiKey','IMenuManagerService','defineProperty','createElement','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','univer-shrink-0\x20univer-text-blue-500','MCP:\x20Network\x20Error','showConfigPanel','value','API\x20密钥','mcpConfig.apiApplyInfo.univerAiLabel','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','@univerjs/ui','mcpConfig.connectionStatus.connecting','几秒钟内获取您的\x20API\x20密钥','MCP\x20Disconnected','get','univer-text-yellow-500','mcpConfig.apiKeyHint','univer-text-sm\x20univer-font-medium','MCP\x20配置','重连中...','_initConfigSync','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','univer-space-y-3','on-line-icon_clip0_910_349','API\x20密钥不能为空','MCP\x20Client\x20Configuration','mcpConfig.configSaved','<SESSION_ID>','_handleConfigSave','univer-flex\x20univer-items-start\x20univer-gap-3','react/jsx-runtime','mcpConfig.configStep3','Disposable','Copy\x20the\x20JSON\x20configuration\x20below','useRef','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','MCPConfigPanel','9Slougv','mcpStatus.maxRetriesExceeded','_localStorageService','pluginName','toStringTag','mcpConfig.sessionIdDescription','Failed\x20to\x20save\x20configuration','Inject','off-line-icon_clip0_910_343','请输入您的\x20API\x20密钥','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','idSuffix','string','mcpConfig.saving','children','您的\x20API\x20密钥将在此浏览器中本地存储','UniverIcon','配置参数:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','FAILED','_localeService','已连接','univer-text-green-500','UniverCore','mcpConfig.validation.invalidConfig','MenuItemType','MCP_UI_PLUGIN','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpStatus.networkError','启用身份验证以获得安全连接','_blank','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCPStatusDisplay','function','什么是\x20API\x20密钥?','带有\x20Bearer\x20前缀的\x20API\x20密钥。','@univerjs/design','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20密钥无效,请检查密钥是否正确','Enable\x20Authentication','entries','IConfigService','CommandType','RETRYING','UniverMCPPlugin','univer-flex\x20univer-items-center\x20univer-gap-2','M0\x200H16V16H0z','OpenMCPConfigPanelCommand','_logService','Configuration\x20Notes:','url(#on-line-icon_clip0_910_349)','_menuManagerService','Save\x20Configuration','next','getOwnPropertyDescriptor','jsx','subscribeConfigValue$','enUS','mcpConfig.configStep2','MCP\x20Connecting...','133170NrsSWm','error','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','includes','0\x200\x2016\x2016','<API_KEY>','_createConfigPanelComponent','mcpStatus.unauthorized','constructor','univer-text-blue-600','1623996FnyImC','connectionStatus$','path','displayName','forwardRef','_apiKey$','配置更改将立即生效','mcpConfig.configError','mcpStatus.disconnected','MCP_PLUGIN_CONFIG_KEY','MCP\x20连接失败','Button','http://www.w3.org/2000/svg','univer-bg-red-500','white','https://mcp.univer.ai/mcp/?univer_session_id=','showDeveloperTools','isValid','HEADER_MENU','mcpConfig.save','NETWORK_ERROR','MCP:\x20Unauthorized','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','length','_loading$','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','currentColor','0\x200\x2017\x2016','univerjs-icon\x20univerjs-icon-','mcpStatus.clickToConnect','442851ZHGNUd','useCallback','colorChannel1','mcpConfig.configStep1','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','random','disposeWithMe','react','_handleConfigure','useObservable','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Injector','round','IDialogService','iterator','Disconnected','mcpConfig.title','ILogService','Error','default','配置\x20MCP\x20使用\x20AI\x20操作电子表格','BehaviorSubject','open','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','noopener\x20noreferrer','_mcpCoreConfig$','NONE','ISocketService','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','getConfig','univer.plus','IUIPartsService','3754448SGnreG','连接中...','onStarting','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','button','_config','mcpConfig.connectionStatus.failed','ICommandService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','mcpConfig.apiApplyInfo.description','object','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','register','UNAUTHORIZED','mcp-ui.command.openConfigPanel','2Ydzjcy','mcpConfig.connectionError.sessionOccupied','univer-text-gray-500','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.connectionInfo','WebSocketService','connectInjector','univer-flex-1','MCPConnectionController','mcpConfig.configStepTitle','_initializeCommands','univer-bg-blue-500','Bearer\x20','mcpConfig.connectionStatus.connected','MCPConnectionStatus','url(#$1','MCPConnectionUIController','univer-text-red-500','mcpStatus.clickToConfigure','React','mcpStatus.connected','配置保存失败','mcpConfig.description','evenodd','useDependency','连接失败','Max\x20Retries','subscribe','mcpConfig.validation.apiKeyRequired','univer-flex\x20univer-flex-wrap\x20univer-gap-2','mcpConfig.authorizationDescription','Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCPUIMenuController','mcpStatus.connecting','MCP\x20已断开','registerComponent','MCP\x20Connected','ILocalStorageService','MessageType','mcpStatus.unknown','showStatus','Saving...','useState','rxjs','add','defs','registerCommand','on-line-icon','MCP\x20Unknown\x20Status','RibbonStartGroup','getItem','symbol','mcpServerUrl','重启您的\x20MCP\x20客户端以使配置生效','复制以下\x20JSON\x20配置','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','decorate','connectionError$','span','defIds','_initializeMenus','MCP\x20重连中...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session\x20ID','UniverProMcpUi','保存中...','close','div','最大重试次数','网络连接错误,请检查您的网络连接','merge','UniverNetwork','UniverDesign','MCP:\x20会话\x20ID\x20已被占用','stringify','trim','Authorization:','current','Univer\x20AI\x20Console','univer-flex\x20univer-items-center','mcpConfig.validation.apiKeyTooShort','CONNECTING','setItem','call','mcpConfig.connectionStatus.retrying','univer-space-y-5','univer.ai','mcpConfig.configParameters','MCPConfigUIController','966259oLsxma','url(#off-line-icon_clip0_910_343)','点击配置\x20MCP','forEach','label','univer-text-gray-400','replace','univer-space-y-2','pre','fill','close-icon','_registerComponent','配置保存成功','use','OTHERS','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer-text-xs\x20univer-text-gray-500','_configService','_initStatusComponent','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','assign','_messageService','您的\x20API\x20密钥安全存储在本地存储中','_connectionController','push','Success','Tooltip','SESSION_ID_OCCUPIED','未连接','substring','exports','toPrimitive','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','clipPath','MCP:\x20超出最大重试次数','mask','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','text','mcpConfig.apiKey','LocaleService','mcpConfig.connectionStatus.disconnected','Module','超出最大重试次数,请稍后再试','attrs','CONNECTED','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','_commandService','mcpConfig.apiApplyInfo.title','MAX_RETRIES_EXCEEDED','UniverMCPUIPlugin','setConfig','@univerjs/core','_uiPartsService','univer-mr-2\x20univer-flex\x20univer-text-xl','mcpConfig.connectionError.unauthorized','jsxs','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','tag','__setCustomHeaders','Enter\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','svg','@univerjs-pro/mcp','IMessageService','warn','map','enableAutoConnect','4lzBTQs','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_config$','Univer\x20AI\x20控制台','_initAutoConnect','mcpConfig.connectionError.networkError','mergeMenu','https://console.univer.plus','MCPConnectionError','version','CloseIcon','_dialogService','MCP:\x20Session\x20ID\x20Occupied','Invalid\x20configuration','_loadStoredApiKey','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20已连接','amd'];_0x2cd3=function(){return _0x13db3a;};return _0x2cd3();}
|
|
1
|
+
function _0x39e4(_0x4cf459,_0x207ab8){_0x4cf459=_0x4cf459-0x13c;const _0x58d465=_0x58d4();let _0x39e4e0=_0x58d465[_0x4cf459];return _0x39e4e0;}function _0x58d4(){const _0x4fa097=['@univerjs/core','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','value','OpenMCPConfigPanelCommand','0\x200\x2017\x2016','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','_messageService','_initStatusComponent','showStatus','Univer\x20AI\x20Console','colorChannel1','translate(.97)','CONNECTED','RETRYING','https://console.univer.ai','MCP\x20连接中...','mcpConfig.configSaved','mcpConfig.connectionError.networkError','Configuration\x20Steps:','_commandService','mcpConfig.apiKeyPlaceholder','entries','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','_createConfigPanelComponent','__setCustomHeaders','iterator','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','ComponentManager','connectInjector','UniverMCPPlugin','off','MCP\x20配置','MCPConnectionUIController','univer-text-white','@univerjs/design','errorMessage','substring','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','MCP\x20客户端配置','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.title','MCP\x20重连中...','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','isValid','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','disposeWithMe','<SESSION_ID>','OffLineIcon','mcpConfig.configInstructions','mcpStatus.clickToConnect','DISCONNECTED','_config','UniverNetwork','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','Error','react','univer_session_id:','配置保存成功','map','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.connectionStatus.failed','univer-text-green-500','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','help-icon','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','MAX_RETRIES_EXCEEDED','mcpConfig.connectionError.sessionOccupied','mcp-config-dialog','forwardRef','CloseIcon','MCP:\x20网络错误','<API_KEY>','registerComponent','replace','round','object','univer-font-medium','_configService','IDialogService','mcpConfig.connectionInfo','mcpConfig.configStep3','What\x20is\x20API\x20Key?','jsxs','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','close','open','_handleConfigSave','mcpConfig.validation.apiKeyRequired','LocaleService','SESSION_ID_OCCUPIED','trim','random','API\x20密钥无效,请检查密钥是否正确','subscribe','超出最大重试次数,请稍后再试','启用身份验证','fill','mcpConfig.connectionStatus.connected','会话\x20ID\x20已被占用,请稍后再试','Univer\x20AI\x20控制台','mcpConfig.connectionStatus.retrying','启用身份验证以获得安全连接','off-line-icon_clip0_910_343','Copy\x20the\x20JSON\x20configuration\x20below','merge','mcpStatus.disconnected','_validateConfig','已连接','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','exports','mcp-ui.command.openConfigPanel','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','xlink:href','_loadStoredApiKey','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','配置保存失败','mcpConfig.connectionStatus.connecting','API\x20密钥','4dGlPmI','WebSocketService','mcpConfig.apiKeyHint','univer-bg-gray-500','useRef','15719052npkBER','on-line-icon_clip0_910_349','Plugin','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','error','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','on-line-icon','mcpConfig.connectionStatus.disconnected','http','univer-flex\x20univer-items-center','svg','1694247uwblIA','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.configError','mcpServerUrl','univer-flex\x20univer-items-start\x20univer-gap-3','什么是\x20API\x20密钥?','几秒钟内获取您的\x20API\x20密钥','MCP\x20Unknown\x20Status','mcpConfig.configStep2','getConfig','useCallback','M0\x200H16V16H0z','_mcpCoreConfig$','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-space-y-2','Module','MCP:\x20Max\x20Retries\x20Exceeded','univer-space-y-5','MCP:\x20超出最大重试次数','Injector','mcpStatus.maxRetriesExceeded','_blank','mergeMenu','registerCommand','function','default','check-mark-icon','currentColor','点击连接\x20MCP','idSuffix','M3.71274\x202.86421C3.47843\x202.6299\x203.09853\x202.6299\x202.86421\x202.86421C2.6299\x203.09853\x202.6299\x203.47843\x202.86421\x203.71274L7.15154\x208.00007L2.86421\x2012.2874C2.6299\x2012.5217\x202.6299\x2012.9016\x202.86421\x2013.1359C3.09853\x2013.3702\x203.47843\x2013.3702\x203.71274\x2013.1359L8.00007\x208.84859L12.2874\x2013.1359C12.5217\x2013.3702\x2012.9016\x2013.3702\x2013.1359\x2013.1359C13.3702\x2012.9016\x2013.3702\x2012.5217\x2013.1359\x2012.2874L8.84859\x208.00007L13.1359\x203.71274C13.3702\x203.47843\x2013.3702\x203.09853\x2013.1359\x202.86421C12.9016\x202.6299\x2012.5217\x202.6299\x2012.2874\x202.86421L8.00007\x207.15154L3.71274\x202.86421Z','1528RUekAJ','MenuItemType','BehaviorSubject','最大重试次数','_injector','Connected','univer-min-w-0\x20univer-flex-1','displayName','mcpStatus.connecting','path','配置步骤:','mcpConfig.authorizationDescription','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','Enable\x20Authentication','\x20-\x20','@univerjs-pro/mcp-ui','配置无效','MCP:\x20未授权','MCP_PLUGIN_CONFIG_KEY','UniverUi','API\x20key\x20is\x20required','322541ZElylf','MCP\x20Connected','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','FAILED','useState','会话ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','span','sessionId$','url(#off-line-icon_clip0_910_343)','mcpConfig.apiKey','点击配置\x20MCP','mcpStatus.sessionOccupied','mcpConfig.configStepTitle','MCP\x20已连接','attrs','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','get','rxjs','IConfigService','BuiltInUIPart','未连接','connectionStatus$','univer-text-red-500','noopener\x20noreferrer','CommandType','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','_connectionController','removeItem','_componentManager','clsx','https://mcp.univer.ai/mcp/?univer_session_id=','constructor','Max\x20Retries','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mask','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','string','univer-text-xs\x20univer-text-gray-500','has','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','showConfigPanel','mcpConfig.save','mcpConfig.note1','mcpStatus.failed','9631762BfiLYl','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','连接中...','label','none','zhCN','MenuIcon','MCPConfigUIController','配置更改将立即生效','connectionError$','univer-size-4','Saving...','https://console.univer.plus','1em','bottom','MCP:\x20会话\x20ID\x20已被占用','univer-flex\x20univer-items-center\x20univer-gap-2','_menuManagerService','MCPConnectionStatus','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','mcp-ui.config','univer-flex\x20univer-items-center\x20univer-gap-3','clipPath','MCP\x20连接失败','subscribeConfigValue$','ILogService','mcpConfig.configStep1','Get\x20your\x20API\x20key\x20in\x20seconds','http://www.w3.org/2000/svg','UNAUTHORIZED','includes','url(#$1','_localeService','MessageType','createElement','useDependency','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','univerjs-icon\x20univerjs-icon-','Disconnected','权限验证失败,请检查您的\x20API\x20密钥','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','32742tJgvnQ','MCPConnectionError','mcpStatus.connected','_initializeCommands','ICommandService','tag','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_apiKey$','show','_config$','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','DependentOn','MCPConfigPanel','next','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','_uiPartsService','HEADER_MENU','mcpConfig.sessionIdDescription','Disposable','_logService','stringify','保存配置','MCP\x20Connecting...','Inject','MCP:\x20Unauthorized','MCPConnectionController','decorate','Click\x20to\x20connect\x20MCP','NETWORK_ERROR','length','register','1465nTLMsu','重启您的\x20MCP\x20客户端以使配置生效','保存中...','MCP\x20Disconnected','_initAutoConnect','div','_initializeMenus','NONE','配置参数:','ISocketService','MCP\x20Connection\x20Failed','0\x200\x2016\x2016','React','_mcpConnectionController','amd','white','Invalid\x20configuration','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP_UI_PLUGIN','close-icon','mcpStatus.unauthorized','mcpStatus.clickToConfigure','Connection\x20Failed','defineProperty','univer-flex-1','assign','univer.ai','_registerComponent','univer-text-yellow-500','button','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','mcpConfig.validation.apiKeyTooShort','OTHERS','Tooltip','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','UniverCore','mcpConfig.validation.invalidApiKey','0.25.1','univer-space-y-3','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','univer-bg-green-500','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','evenodd','HelpIcon','UniverIcon','MCP:\x20Network\x20Error','mcpStatus.unknown','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-bg-red-500','apiKey','mcpConfig.note2','showDeveloperTools','mcpConfig.apiApplyInfo.title','mcpConfig.connectionError.unauthorized','_loading$','univer-space-y-4','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Button','IUIPartsService','API\x20key\x20with\x20Bearer\x20prefix.','_dialogService','4aGOHWt','univer-text-sm\x20univer-text-gray-500','packageName','CONNECTING','getCurrentConfig','COMMAND','Success','mcpConfig.saving','children','symbol','text','82590xySqGO','univer-shrink-0\x20univer-text-red-500','MCP\x20状态未知','Enable\x20authentication\x20for\x20secure\x20connections','add','@univerjs/ui','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','univer-text-gray-400','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','OnLineIcon','Configuration\x20Notes:','univer-text-gray-500','univer-flex\x20univer-items-start\x20univer-gap-2','univer-shrink-0\x20univer-text-blue-500','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Bearer\x20','_initConfigSync','复制以下\x20JSON\x20配置','_localStorageService','@univerjs-pro/mcp','useObservable','forEach','MCP\x20已断开','20274UuYmkk','defs','jsx','MCP\x20Retrying...','451uoDEnX','use','API\x20密钥长度至少需要\x2010\x20位','BUTTON'];_0x58d4=function(){return _0x4fa097;};return _0x58d4();}(function(_0x1da4e4,_0x517488){const _0x3023d8=_0x39e4,_0x32c539=_0x1da4e4();while(!![]){try{const _0x25066b=-parseInt(_0x3023d8(0x20a))/0x1*(parseInt(_0x3023d8(0x1c6))/0x2)+parseInt(_0x3023d8(0x1d6))/0x3*(-parseInt(_0x3023d8(0x2c2))/0x4)+parseInt(_0x3023d8(0x282))/0x5*(parseInt(_0x3023d8(0x146))/0x6)+-parseInt(_0x3023d8(0x238))/0x7+-parseInt(_0x3023d8(0x1f5))/0x8*(-parseInt(_0x3023d8(0x261))/0x9)+parseInt(_0x3023d8(0x2cd))/0xa*(parseInt(_0x3023d8(0x14a))/0xb)+parseInt(_0x3023d8(0x1cb))/0xc;if(_0x25066b===_0x517488)break;else _0x32c539['push'](_0x32c539['shift']());}catch(_0x5f25fa){_0x32c539['push'](_0x32c539['shift']());}}}(_0x58d4,0xb6880),function(_0x395b40,_0x379d7b){const _0x3658da=_0x39e4;typeof exports==_0x3658da(0x199)&&typeof module<'u'?_0x379d7b(exports,require('@univerjs/core'),require('@univerjs-pro/mcp'),require('@univerjs/design'),require('@univerjs/ui'),require('rxjs'),require('react'),require('react/jsx-runtime'),require('@univerjs/network')):typeof define==_0x3658da(0x1ee)&&define[_0x3658da(0x290)]?define([_0x3658da(0x1bb),_0x3658da(0x14e),_0x3658da(0x142),_0x3658da(0x170),_0x3658da(0x2d2),_0x3658da(0x21d),_0x3658da(0x185),'react/jsx-runtime','@univerjs/network'],_0x379d7b):(_0x395b40=typeof globalThis<'u'?globalThis:_0x395b40||self,_0x379d7b(_0x395b40['UniverProMcpUi']={},_0x395b40[_0x3658da(0x2a6)],_0x395b40['UniverProMcp'],_0x395b40['UniverDesign'],_0x395b40[_0x3658da(0x208)],_0x395b40['rxjs'],_0x395b40[_0x3658da(0x28e)],_0x395b40[_0x3658da(0x28e)],_0x395b40[_0x3658da(0x182)]));}(this,function(_0x5ca7ab,_0x2d885c,_0x9761bf,_0x46debc,_0x27d17d,_0x588c49,_0x551a8a,_0x141089,_0x185819){const _0x7e5a6c=_0x39e4;Object[_0x7e5a6c(0x299)](_0x5ca7ab,Symbol['toStringTag'],{'value':_0x7e5a6c(0x1e5)});function _0xf2e0ca({ref:_0x5d3b1b,..._0x5c22b3}){const _0x51a885=_0x7e5a6c;let {icon:_0x378aaa,id:_0xecd003,className:_0x5d5138,extend:_0x430c8f,..._0x380f1d}=_0x5c22b3,_0x1e91c7=(_0x51a885(0x25d)+_0xecd003+'\x20'+(_0x5d5138||''))[_0x51a885(0x1a8)](),_0x286043=(0x0,_0x551a8a[_0x51a885(0x1ca)])('_'+_0xbccbfc());return _0x30ec53(_0x378aaa,''+_0xecd003,{'defIds':_0x378aaa['defIds'],'idSuffix':_0x286043['current']},{'ref':_0x5d3b1b,'className':_0x1e91c7,..._0x380f1d},_0x430c8f);}function _0x30ec53(_0x5a38f,_0x20fba7,_0x233931,_0x5e239e,_0x1760fe){const _0x133f52=_0x7e5a6c;return(0x0,_0x551a8a[_0x133f52(0x25a)])(_0x5a38f[_0x133f52(0x266)],{'key':_0x20fba7,..._0x28d24c(_0x5a38f,_0x233931,_0x1760fe),..._0x5e239e},(_0x20f9b1(_0x5a38f,_0x233931)[_0x133f52(0x2ca)]||[])[_0x133f52(0x188)]((_0x5c7273,_0x24bf09)=>_0x30ec53(_0x5c7273,_0x20fba7+'-'+_0x5a38f[_0x133f52(0x266)]+'-'+_0x24bf09,_0x233931,void 0x0,_0x1760fe)));}function _0x28d24c(_0x4efb5d,_0x245429,_0x180d57){const _0x4fdde8=_0x7e5a6c;let _0xe85f14={..._0x4efb5d['attrs']};_0x180d57!=null&&_0x180d57[_0x4fdde8(0x158)]&&_0xe85f14[_0x4fdde8(0x1ae)]===_0x4fdde8(0x158)&&(_0xe85f14[_0x4fdde8(0x1ae)]=_0x180d57[_0x4fdde8(0x158)]),_0x4efb5d[_0x4fdde8(0x266)]===_0x4fdde8(0x22e)&&_0xe85f14['id']&&(_0xe85f14['id']+=_0x245429[_0x4fdde8(0x1f3)]),Object[_0x4fdde8(0x163)](_0xe85f14)['forEach'](([_0x2a8000,_0x428e88])=>{const _0x269368=_0x4fdde8;_0x2a8000===_0x269368(0x22e)&&typeof _0x428e88==_0x269368(0x230)&&(_0xe85f14[_0x2a8000]=_0x428e88[_0x269368(0x197)](/url\(#(.*)\)/,_0x269368(0x257)+_0x245429[_0x269368(0x1f3)]+')'));});let {defIds:_0x337069}=_0x245429;return!_0x337069||_0x337069['length']===0x0?_0xe85f14:(_0x4efb5d[_0x4fdde8(0x266)]===_0x4fdde8(0x14b)&&_0xe85f14[_0x4fdde8(0x1bf)]&&(_0xe85f14[_0x4fdde8(0x1bf)]+=_0x245429[_0x4fdde8(0x1f3)]),Object['entries'](_0xe85f14)[_0x4fdde8(0x144)](([_0x226871,_0x565c16])=>{const _0x1a26af=_0x4fdde8;typeof _0x565c16==_0x1a26af(0x230)&&(_0xe85f14[_0x226871]=_0x565c16[_0x1a26af(0x197)](/url\(#(.*)\)/,_0x1a26af(0x257)+_0x245429[_0x1a26af(0x1f3)]+')'));}),_0xe85f14);}function _0x20f9b1(_0xe8f890,_0x3250cb){const _0x2a46bc=_0x7e5a6c;var _0x45d7a3;let {defIds:_0x3cee83}=_0x3250cb;return!_0x3cee83||_0x3cee83['length']===0x0?_0xe8f890:_0xe8f890[_0x2a46bc(0x266)]===_0x2a46bc(0x147)&&(_0x45d7a3=_0xe8f890[_0x2a46bc(0x2ca)])!=null&&_0x45d7a3['length']?{..._0xe8f890,'children':_0xe8f890[_0x2a46bc(0x2ca)][_0x2a46bc(0x188)](_0xf0b707=>typeof _0xf0b707[_0x2a46bc(0x21a)]['id']==_0x2a46bc(0x230)&&_0x3cee83&&_0x3cee83[_0x2a46bc(0x256)](_0xf0b707[_0x2a46bc(0x21a)]['id'])?{..._0xf0b707,'attrs':{..._0xf0b707[_0x2a46bc(0x21a)],'id':_0xf0b707[_0x2a46bc(0x21a)]['id']+_0x3250cb['idSuffix']}}:_0xf0b707)}:_0xe8f890;}function _0xbccbfc(){const _0x570166=_0x7e5a6c;return Math[_0x570166(0x1a9)]()['toString'](0x24)[_0x570166(0x172)](0x2,0x8);}_0xf2e0ca[_0x7e5a6c(0x1fc)]=_0x7e5a6c(0x2b0);let _0x2b36a9={'tag':'svg','attrs':{'xmlns':_0x7e5a6c(0x254),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x7e5a6c(0x245),'height':_0x7e5a6c(0x245)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':'currentColor','d':_0x7e5a6c(0x225),'fillRule':_0x7e5a6c(0x2ae),'clipRule':'evenodd'}}]},_0x374b6f=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0x3a717c,_0x197b47){const _0x39eef6=_0x7e5a6c;return(0x0,_0x551a8a[_0x39eef6(0x25a)])(_0xf2e0ca,Object[_0x39eef6(0x29b)]({},_0x3a717c,{'id':_0x39eef6(0x1f0),'ref':_0x197b47,'icon':_0x2b36a9}));});_0x374b6f[_0x7e5a6c(0x1fc)]='CheckMarkIcon';let _0x3d1e70={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':_0x7e5a6c(0x254),'fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x28d),'width':_0x7e5a6c(0x245),'height':'1em'},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x1f1),'d':_0x7e5a6c(0x1f4)}}]},_0x5192af=(0x0,_0x551a8a['forwardRef'])(function(_0x4b931b,_0x38916d){const _0x36043f=_0x7e5a6c;return(0x0,_0x551a8a['createElement'])(_0xf2e0ca,Object['assign']({},_0x4b931b,{'id':_0x36043f(0x295),'ref':_0x38916d,'icon':_0x3d1e70}));});_0x5192af[_0x7e5a6c(0x1fc)]=_0x7e5a6c(0x193);let _0xb96e33={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':_0x7e5a6c(0x254),'fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x28d),'width':_0x7e5a6c(0x245),'height':_0x7e5a6c(0x245)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':'currentColor','d':_0x7e5a6c(0x201)}},{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x1f1),'d':_0x7e5a6c(0x26c)}},{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':'currentColor','d':_0x7e5a6c(0x2d3),'fillRule':_0x7e5a6c(0x2ae),'clipRule':_0x7e5a6c(0x2ae)}}]},_0x3aa0f0=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0x127853,_0x85e53c){const _0x12cbdc=_0x7e5a6c;return(0x0,_0x551a8a[_0x12cbdc(0x25a)])(_0xf2e0ca,Object[_0x12cbdc(0x29b)]({},_0x127853,{'id':_0x12cbdc(0x18d),'ref':_0x85e53c,'icon':_0xb96e33}));});_0x3aa0f0['displayName']=_0x7e5a6c(0x2af);let _0x109b87={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':_0x7e5a6c(0x254),'fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x28d),'width':_0x7e5a6c(0x245),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x7e5a6c(0x214)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'stroke':_0x7e5a6c(0x1f1),'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':_0x7e5a6c(0x198),'strokeLinejoin':_0x7e5a6c(0x198),'strokeWidth':1.2}}]},{'tag':_0x7e5a6c(0x147),'attrs':{},'children':[{'tag':_0x7e5a6c(0x24e),'attrs':{'id':_0x7e5a6c(0x1b4)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x291),'d':_0x7e5a6c(0x1e1)}}]}]}],'defIds':[_0x7e5a6c(0x1b4)]},_0x5ae4be=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0x677f6b,_0xd94393){const _0x1ac8bc=_0x7e5a6c;return(0x0,_0x551a8a[_0x1ac8bc(0x25a)])(_0xf2e0ca,Object[_0x1ac8bc(0x29b)]({},_0x677f6b,{'id':'off-line-icon','ref':_0xd94393,'icon':_0x109b87}));});_0x5ae4be[_0x7e5a6c(0x1fc)]=_0x7e5a6c(0x17d);let _0x5d80bf={'tag':_0x7e5a6c(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x7e5a6c(0x23c),'viewBox':_0x7e5a6c(0x152),'width':'1em','height':_0x7e5a6c(0x245)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'stroke':_0x7e5a6c(0x1f1),'d':_0x7e5a6c(0x14f),'strokeLinecap':_0x7e5a6c(0x198),'strokeLinejoin':_0x7e5a6c(0x198),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x7e5a6c(0x24e),'attrs':{'id':_0x7e5a6c(0x1cc)},'children':[{'tag':_0x7e5a6c(0x1fe),'attrs':{'fill':_0x7e5a6c(0x291),'d':_0x7e5a6c(0x1e1),'transform':_0x7e5a6c(0x159)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3a00d5=(0x0,_0x551a8a[_0x7e5a6c(0x192)])(function(_0xb0ac76,_0xbb596f){const _0x1dfbb5=_0x7e5a6c;return(0x0,_0x551a8a[_0x1dfbb5(0x25a)])(_0xf2e0ca,Object['assign']({},_0xb0ac76,{'id':_0x1dfbb5(0x1d1),'ref':_0xbb596f,'icon':_0x5d80bf}));});_0x3a00d5['displayName']=_0x7e5a6c(0x2d6);function _0x358888(_0x348e69){const _0x2bc7ef=_0x7e5a6c;var _0x1e1d87,_0x1979ed;let {mcpCoreConfig:_0x395e3b,onSave:_0x28615a,loading:_0x7c339d=!0x1,config:_0x505be5,connectionStatus$:_0x2768bb,connectionError$:_0x5d86f1,currentApiKey$:_0xf7a602,currentSessionId$:_0x4b6479}=_0x348e69,_0x2c0e10=(0x0,_0x27d17d['useDependency'])(_0x2d885c['LocaleService']),_0x9a3744=(0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0x2768bb,_0x9761bf[_0x2bc7ef(0x24a)]['DISCONNECTED']),_0x4e2a47=(0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0x5d86f1,_0x9761bf[_0x2bc7ef(0x262)][_0x2bc7ef(0x289)]),_0x119aef=(0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0x4b6479,''),[_0x4d71df,_0x5cb384]=(0x0,_0x551a8a[_0x2bc7ef(0x20f)])((0x0,_0x27d17d[_0x2bc7ef(0x143)])(_0xf7a602,'')||''),_0x1d0fb5=_0x505be5['showDeveloperTools']&&_0x395e3b['mcpServerUrl']&&(_0x395e3b[_0x2bc7ef(0x1d9)][_0x2bc7ef(0x256)]('univer.plus')||_0x395e3b[_0x2bc7ef(0x1d9)]['includes'](_0x2bc7ef(0x29c))),_0x5e1f67=(_0x1e1d87=_0x395e3b[_0x2bc7ef(0x1d9)])==null?void 0x0:_0x1e1d87[_0x2bc7ef(0x256)]('univer.plus'),_0x13f462=(_0x1979ed=_0x395e3b[_0x2bc7ef(0x1d9)])==null?void 0x0:_0x1979ed[_0x2bc7ef(0x256)](_0x2bc7ef(0x29c)),_0xe856da=_0x5e1f67?_0x2bc7ef(0x244):_0x2bc7ef(0x15c),_0x2758f9=_0x505be5[_0x2bc7ef(0x2b7)]&&(_0x5e1f67||_0x13f462),[_0x2d0609,_0x45ef4e]=(0x0,_0x551a8a['useState'])(!_0x4d71df[_0x2bc7ef(0x1a8)]()),_0x248654=(_0xd05778,_0x3e7582)=>{const _0x5e3f00=_0x2bc7ef;if(_0x3e7582===_0x9761bf[_0x5e3f00(0x262)][_0x5e3f00(0x255)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0xd05778){case _0x9761bf[_0x5e3f00(0x24a)][_0x5e3f00(0x15a)]:return _0x5e3f00(0x2aa);case _0x9761bf['MCPConnectionStatus'][_0x5e3f00(0x2c5)]:case _0x9761bf[_0x5e3f00(0x24a)]['RETRYING']:return _0x5e3f00(0x25c);case _0x9761bf[_0x5e3f00(0x24a)][_0x5e3f00(0x20e)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return _0x5e3f00(0x173);}},_0x3df797=(_0x31f6c6,_0x5da211)=>{const _0x8bcea1=_0x2bc7ef;if(_0x5da211===_0x9761bf[_0x8bcea1(0x262)][_0x8bcea1(0x255)])return _0x8bcea1(0x2b4);switch(_0x31f6c6){case _0x9761bf['MCPConnectionStatus'][_0x8bcea1(0x15a)]:return _0x8bcea1(0x2ab);case _0x9761bf[_0x8bcea1(0x24a)]['CONNECTING']:case _0x9761bf['MCPConnectionStatus'][_0x8bcea1(0x15b)]:return'univer-bg-blue-500';case _0x9761bf[_0x8bcea1(0x24a)][_0x8bcea1(0x20e)]:return _0x8bcea1(0x2b4);default:return _0x8bcea1(0x1c9);}},_0x2e5cb9=_0x42d1ac=>{const _0x1db611=_0x2bc7ef;switch(_0x42d1ac){case _0x9761bf[_0x1db611(0x24a)][_0x1db611(0x15a)]:return _0x2c0e10['t'](_0x1db611(0x1af));case _0x9761bf[_0x1db611(0x24a)][_0x1db611(0x2c5)]:return _0x2c0e10['t'](_0x1db611(0x1c4));case _0x9761bf['MCPConnectionStatus'][_0x1db611(0x20e)]:return _0x2c0e10['t'](_0x1db611(0x18a));case _0x9761bf['MCPConnectionStatus'][_0x1db611(0x15b)]:return _0x2c0e10['t'](_0x1db611(0x1b2));default:return _0x2c0e10['t'](_0x1db611(0x1d2));}},_0x3219a9=_0x5c1faf=>{const _0x4c2164=_0x2bc7ef;switch(_0x5c1faf){case _0x9761bf[_0x4c2164(0x262)][_0x4c2164(0x255)]:return _0x2c0e10['t'](_0x4c2164(0x2b9));case _0x9761bf[_0x4c2164(0x262)][_0x4c2164(0x1a7)]:return _0x2c0e10['t'](_0x4c2164(0x190));case _0x9761bf['MCPConnectionError'][_0x4c2164(0x27f)]:return _0x2c0e10['t'](_0x4c2164(0x15f));case _0x9761bf['MCPConnectionError'][_0x4c2164(0x18f)]:return _0x2c0e10['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0xfaf747=(0x0,_0x551a8a[_0x2bc7ef(0x1e0)])(()=>{const _0x16da83=_0x2bc7ef;_0x28615a({..._0x395e3b,'apiKey':_0x4d71df[_0x16da83(0x1a8)](),'enableAuth':!0x0});},[_0x395e3b,_0x4d71df,!0x0,_0x28615a]),_0x18d461=_0x4d71df['trim']()['length']>0x0;return(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,_0x141089['jsx'])('div',{'className':_0x2bc7ef(0x233),'children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x24d),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x168),'children':(0x0,_0x141089['jsx'])('span',{'className':_0x2bc7ef(0x16f),'children':'⚙'})}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'children':(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x2c3),'children':_0x2c0e10['t']('mcpConfig.description')})})]})}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1d0),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':(0x0,_0x46debc['clsx'])(_0x2bc7ef(0x2a0),_0x248654(_0x9a3744,_0x4e2a47)),'children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('div',{'className':(0x0,_0x46debc['clsx'])('univer-size-2\x20univer-rounded-full',_0x3df797(_0x9a3744,_0x4e2a47))}),(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'className':'univer-text-sm\x20univer-font-medium','children':_0x2e5cb9(_0x9a3744)})]})}),_0x4e2a47!==_0x9761bf[_0x2bc7ef(0x262)]['NONE']&&(_0x9a3744===_0x9761bf[_0x2bc7ef(0x24a)][_0x2bc7ef(0x20e)]||_0x4e2a47===_0x9761bf[_0x2bc7ef(0x262)][_0x2bc7ef(0x255)])&&(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x2d9),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'className':_0x2bc7ef(0x2ce),'children':'⚠️'}),(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x175),'children':_0x3219a9(_0x4e2a47)})]})})]}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e3),'children':(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e7),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x23b),{'className':_0x2bc7ef(0x270),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x212),{'children':'🔑'}),'\x20',_0x2c0e10['t'](_0x2bc7ef(0x215)),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x212),{'className':_0x2bc7ef(0x222),'children':'*'}),_0x1d0fb5&&(0x0,_0x141089['jsx'])('a',{'className':'univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x2c0e10['t'](_0x2bc7ef(0x2b8)),'role':_0x2bc7ef(0x29f),'onClick':()=>_0x45ef4e(!0x0),'children':(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x3aa0f0,{})})]}),(0x0,_0x141089['jsx'])(_0x46debc['Input'],{'type':_0x2bc7ef(0x2cc),'placeholder':_0x2c0e10['t'](_0x2bc7ef(0x162)),'value':_0x4d71df,'disabled':_0x7c339d,'autoComplete':_0x2bc7ef(0x16c),'onChange':_0x5cb384}),(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x231),'children':_0x2c0e10['t'](_0x2bc7ef(0x1c8))})]}),_0x1d0fb5&&_0x2d0609&&(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x18e),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('a',{'className':_0x2bc7ef(0x21b),'role':_0x2bc7ef(0x29f),'onClick':()=>_0x45ef4e(!0x1),'children':(0x0,_0x141089['jsx'])(_0x5192af,{'className':_0x2bc7ef(0x242)})}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x22d),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x2bc),'children':(0x0,_0x141089['jsx'])('span',{'className':'univer-text-blue-600','children':'🚀'})}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x29a),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('h4',{'className':_0x2bc7ef(0x1a1),'children':_0x2c0e10['t']('mcpConfig.apiApplyInfo.title')}),(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':_0x2bc7ef(0x267),'children':_0x2c0e10['t']('mcpConfig.apiApplyInfo.description')}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x2758f9&&(0x0,_0x141089[_0x2bc7ef(0x1a0)])('a',{'className':_0x2bc7ef(0x2ac),'href':_0xe856da,'target':_0x2bc7ef(0x1eb),'rel':_0x2bc7ef(0x223),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'children':'🤖'}),_0x2c0e10['t']('mcpConfig.apiApplyInfo.univerAiLabel'),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x212),{'className':_0x2bc7ef(0x2d4),'children':'↗'})]})}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x17a),'children':['✨','\x20',_0x2c0e10['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x505be5['showDeveloperTools']&&(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1ba),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])('h4',{'className':_0x2bc7ef(0x153),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'children':'🔗'}),'\x20',_0x2c0e10['t'](_0x2bc7ef(0x19d))]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x2bb),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':_0x2bc7ef(0x2a9),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x2c0e10['t'](_0x2bc7ef(0x17e))}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x178),'children':_0x2c0e10['t'](_0x2bc7ef(0x218))}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x189),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x2c0e10['t'](_0x2bc7ef(0x252))]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'className':_0x2bc7ef(0x24b),'children':'2'}),_0x2c0e10['t'](_0x2bc7ef(0x1de))]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x2c0e10['t'](_0x2bc7ef(0x19e))]})]})]})]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x178),'children':'MCP\x20Configuration'}),(0x0,_0x141089['jsx'])(_0x2bc7ef(0x287),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,_0x141089[_0x2bc7ef(0x148)])('pre',{'className':_0x2bc7ef(0x268),'children':JSON[_0x2bc7ef(0x277)]({'mcpServers':{'univer':{'url':_0x2bc7ef(0x22a)+(_0x119aef||_0x2bc7ef(0x17c)),'type':_0x2bc7ef(0x1d3),'headers':{'Authorization':_0x2bc7ef(0x13e)+(_0x4d71df||_0x2bc7ef(0x195))}}}},null,0x2)})})]}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':_0x2bc7ef(0x2a9),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x2c0e10['t']('mcpConfig.configParameters')}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1e4),'children':[(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x164)}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1fb),'children':[(0x0,_0x141089['jsx'])('div',{'className':_0x2bc7ef(0x22f),'children':_0x2bc7ef(0x186)}),(0x0,_0x141089['jsx'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x231),'children':_0x2c0e10['t'](_0x2bc7ef(0x274))})]})]}),(0x0,_0x141089['jsxs'])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1da),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x164)}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x1fb),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('div',{'className':_0x2bc7ef(0x22f),'children':'Authorization:'}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x231),'children':_0x2c0e10['t'](_0x2bc7ef(0x200))})]})]})]})]})]})]}),(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x46debc[_0x2bc7ef(0x2be)],{'onClick':_0xfaf747,'disabled':!_0x18d461||_0x7c339d,'className':_0x2bc7ef(0x183),'children':_0x7c339d?(0x0,_0x141089['jsxs'])('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x141089['jsx'])(_0x2bc7ef(0x212),{'children':'⟲'}),_0x2c0e10['t'](_0x2bc7ef(0x2c9))]}):(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x212),{'className':_0x2bc7ef(0x248),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x374b6f,{}),_0x2c0e10['t'](_0x2bc7ef(0x235))]})}),(0x0,_0x141089['jsx'])('div',{'className':_0x2bc7ef(0x271),'children':(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':'univer-flex\x20univer-gap-3','children':[(0x0,_0x141089[_0x2bc7ef(0x148)])('span',{'className':_0x2bc7ef(0x13c),'children':'💡'}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])('div',{'className':_0x2bc7ef(0x18c),'children':[(0x0,_0x141089[_0x2bc7ef(0x148)])(_0x2bc7ef(0x287),{'className':_0x2bc7ef(0x19a),'children':_0x2bc7ef(0x2d7)}),(0x0,_0x141089[_0x2bc7ef(0x1a0)])(_0x2bc7ef(0x287),{'children':['•',_0x2c0e10['t'](_0x2bc7ef(0x236))]}),(0x0,_0x141089['jsxs'])('div',{'children':['•',_0x2c0e10['t'](_0x2bc7ef(0x2b6))]})]})]})})]})})]});}let _0x5bd107=_0x7e5a6c(0x24c),_0xaddecc={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x5ba58e(_0x2f1f78){'@babel/helpers - typeof';const _0x4ac408=_0x7e5a6c;return _0x5ba58e=typeof Symbol==_0x4ac408(0x1ee)&&typeof Symbol[_0x4ac408(0x167)]==_0x4ac408(0x2cb)?function(_0x215239){return typeof _0x215239;}:function(_0xf922aa){const _0x5cfa6d=_0x4ac408;return _0xf922aa&&typeof Symbol=='function'&&_0xf922aa[_0x5cfa6d(0x22b)]===Symbol&&_0xf922aa!==Symbol['prototype']?_0x5cfa6d(0x2cb):typeof _0xf922aa;},_0x5ba58e(_0x2f1f78);}function _0x5129fd(_0x5d98fb,_0x2d02b7){const _0x168d5c=_0x7e5a6c;if(_0x5ba58e(_0x5d98fb)!=_0x168d5c(0x199)||!_0x5d98fb)return _0x5d98fb;var _0x373727=_0x5d98fb[Symbol['toPrimitive']];if(_0x373727!==void 0x0){var _0x14f8f8=_0x373727['call'](_0x5d98fb,_0x2d02b7||_0x168d5c(0x1ef));if(_0x5ba58e(_0x14f8f8)!=_0x168d5c(0x199))return _0x14f8f8;throw TypeError(_0x168d5c(0x239));}return(_0x2d02b7===_0x168d5c(0x230)?String:Number)(_0x5d98fb);}function _0x11d061(_0x1bb90d){const _0x57a05f=_0x7e5a6c;var _0x35360d=_0x5129fd(_0x1bb90d,_0x57a05f(0x230));return _0x5ba58e(_0x35360d)==_0x57a05f(0x2cb)?_0x35360d:_0x35360d+'';}function _0x278982(_0x26e080,_0x55ab8e,_0x40cdc3){return(_0x55ab8e=_0x11d061(_0x55ab8e))in _0x26e080?Object['defineProperty'](_0x26e080,_0x55ab8e,{'value':_0x40cdc3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x26e080[_0x55ab8e]=_0x40cdc3,_0x26e080;}function _0x2b6fe6(_0x3aff4b,_0x1b50a8){return function(_0x290b87,_0x313135){_0x1b50a8(_0x290b87,_0x313135,_0x3aff4b);};}function _0x369bc1(_0x240498,_0x22d771,_0x55ae65,_0x80e58d){const _0xcf474e=_0x7e5a6c;var _0x2e9f9=arguments[_0xcf474e(0x280)],_0x4df8b2=_0x2e9f9<0x3?_0x22d771:_0x80e58d===null?_0x80e58d=Object['getOwnPropertyDescriptor'](_0x22d771,_0x55ae65):_0x80e58d,_0x2523e4;if(typeof Reflect==_0xcf474e(0x199)&&typeof Reflect[_0xcf474e(0x27d)]==_0xcf474e(0x1ee))_0x4df8b2=Reflect[_0xcf474e(0x27d)](_0x240498,_0x22d771,_0x55ae65,_0x80e58d);else{for(var _0x2b83df=_0x240498['length']-0x1;_0x2b83df>=0x0;_0x2b83df--)(_0x2523e4=_0x240498[_0x2b83df])&&(_0x4df8b2=(_0x2e9f9<0x3?_0x2523e4(_0x4df8b2):_0x2e9f9>0x3?_0x2523e4(_0x22d771,_0x55ae65,_0x4df8b2):_0x2523e4(_0x22d771,_0x55ae65))||_0x4df8b2);}return _0x2e9f9>0x3&&_0x4df8b2&&Object[_0xcf474e(0x299)](_0x22d771,_0x55ae65,_0x4df8b2),_0x4df8b2;}let _0x2f8098='mcp.apiKey',_0x36d0e5=_0x7e5a6c(0x191),_0x255bb6=class extends _0x2d885c[_0x7e5a6c(0x275)]{constructor(_0x1221ce,_0x33cab4,_0x5d70b0,_0x4dbb72,_0x469f10,_0x514a66,_0x50f3f3,_0x146a1c,_0x2866a2,_0x56daa1){const _0x2d30b2=_0x7e5a6c;super(),this[_0x2d30b2(0x1f9)]=_0x1221ce,this[_0x2d30b2(0x272)]=_0x33cab4,this[_0x2d30b2(0x19b)]=_0x5d70b0,this[_0x2d30b2(0x141)]=_0x4dbb72,this[_0x2d30b2(0x2c1)]=_0x469f10,this['_messageService']=_0x514a66,this[_0x2d30b2(0x228)]=_0x50f3f3,this['_localeService']=_0x146a1c,this['_logService']=_0x2866a2,this[_0x2d30b2(0x28f)]=_0x56daa1,_0x278982(this,'_loading$',new _0x588c49[(_0x2d30b2(0x1f7))](!0x1)),_0x278982(this,_0x2d30b2(0x1e2),new _0x588c49['BehaviorSubject']({})),_0x278982(this,_0x2d30b2(0x26b),new _0x588c49[(_0x2d30b2(0x1f7))]({})),_0x278982(this,_0x2d30b2(0x269),new _0x588c49[(_0x2d30b2(0x1f7))]('')),_0x278982(this,'_handleConfigSave',async _0x3fcf98=>{const _0xd99dde=_0x2d30b2;this['_loading$'][_0xd99dde(0x26f)](!0x0);try{var _0x3a5dac,_0x1ec28a;let _0x432d5d=await this[_0xd99dde(0x1b8)](_0x3fcf98);if(!_0x432d5d['isValid']){this[_0xd99dde(0x154)][_0xd99dde(0x26a)]({'type':_0x46debc[_0xd99dde(0x259)][_0xd99dde(0x184)],'content':_0x432d5d[_0xd99dde(0x171)]||this[_0xd99dde(0x258)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x3fcf98[_0xd99dde(0x2b5)]?await this[_0xd99dde(0x141)]['setItem'](_0x2f8098,_0x3fcf98['apiKey'][_0xd99dde(0x1a8)]()):await this[_0xd99dde(0x141)][_0xd99dde(0x227)](_0x2f8098),this[_0xd99dde(0x269)][_0xd99dde(0x26f)](((_0x3a5dac=_0x3fcf98[_0xd99dde(0x2b5)])==null?void 0x0:_0x3a5dac[_0xd99dde(0x1a8)]())||''),this[_0xd99dde(0x28f)]['__setCustomHeaders']({'Authorization':'Bearer\x20'+((_0x1ec28a=_0x3fcf98[_0xd99dde(0x2b5)])==null?void 0x0:_0x1ec28a['trim']())}),this[_0xd99dde(0x154)][_0xd99dde(0x26a)]({'type':_0x46debc[_0xd99dde(0x259)][_0xd99dde(0x2c8)],'content':this[_0xd99dde(0x258)]['t'](_0xd99dde(0x15e))}),setTimeout(()=>{const _0x331aa5=_0xd99dde;this[_0x331aa5(0x2c1)]['close'](_0x36d0e5);},0x320);}catch(_0x1d352c){this[_0xd99dde(0x276)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x1d352c),this[_0xd99dde(0x154)][_0xd99dde(0x26a)]({'type':_0x46debc[_0xd99dde(0x259)]['Error'],'content':this[_0xd99dde(0x258)]['t'](_0xd99dde(0x1d8))});}finally{this['_loading$'][_0xd99dde(0x26f)](!0x1);}}),this[_0x2d30b2(0x13f)](),this[_0x2d30b2(0x1c0)](),this[_0x2d30b2(0x29d)]();}[_0x7e5a6c(0x234)](){const _0x1d875f=_0x7e5a6c;let _0x4f3fdc=this[_0x1d875f(0x19b)][_0x1d875f(0x1df)](_0x5bd107);_0x4f3fdc!=null&&_0x4f3fdc[_0x1d875f(0x2b7)]&&this[_0x1d875f(0x2c1)][_0x1d875f(0x1a3)]({'id':_0x36d0e5,'title':{'title':this[_0x1d875f(0x258)]['t']('mcpConfig.title')},'children':{'label':_0x1d875f(0x26e)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x1615da=_0x1d875f;this['_dialogService'][_0x1615da(0x1a2)](_0x36d0e5);}});}[_0x7e5a6c(0x2c6)](){const _0xee6e1c=_0x7e5a6c;return this[_0xee6e1c(0x1e2)][_0xee6e1c(0x150)];}[_0x7e5a6c(0x29d)](){const _0x23693c=_0x7e5a6c;this[_0x23693c(0x17b)](this[_0x23693c(0x228)][_0x23693c(0x281)](_0x23693c(0x26e),this[_0x23693c(0x165)]()));}[_0x7e5a6c(0x165)](){const _0x4cdd92=_0x7e5a6c;return(0x0,_0x27d17d[_0x4cdd92(0x16a)])(()=>{const _0x180bca=_0x4cdd92;var _0x246c77,_0x396065,_0x1f0d26;return(0x0,_0x141089[_0x180bca(0x148)])(_0x358888,{'config':this['_config$'][_0x180bca(0x150)],'mcpCoreConfig':this[_0x180bca(0x1e2)][_0x180bca(0x150)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x180bca(0x1a4)],'loading':this[_0x180bca(0x2ba)][_0x180bca(0x150)],'connectionStatus$':(_0x246c77=this['_mcpConnectionController'])==null?void 0x0:_0x246c77[_0x180bca(0x221)],'connectionError$':(_0x396065=this['_mcpConnectionController'])==null?void 0x0:_0x396065[_0x180bca(0x241)],'currentSessionId$':(_0x1f0d26=this[_0x180bca(0x28f)])==null?void 0x0:_0x1f0d26[_0x180bca(0x213)]});},this[_0x4cdd92(0x1f9)]);}[_0x7e5a6c(0x13f)](){const _0x59921d=_0x7e5a6c;this[_0x59921d(0x17b)](this[_0x59921d(0x19b)][_0x59921d(0x250)](_0x9761bf[_0x59921d(0x207)])[_0x59921d(0x1ab)](_0x34c790=>{const _0x312963=_0x59921d;this[_0x312963(0x1e2)]['next'](_0x34c790||{});}));let _0x1ab0a2=this[_0x59921d(0x19b)][_0x59921d(0x1df)](_0x9761bf[_0x59921d(0x207)]);this[_0x59921d(0x1e2)][_0x59921d(0x26f)](_0x1ab0a2||{}),this['disposeWithMe'](this[_0x59921d(0x19b)]['subscribeConfigValue$'](_0x5bd107)[_0x59921d(0x1ab)](_0x11f02f=>{const _0x485595=_0x59921d;this[_0x485595(0x26b)]['next'](_0x11f02f||{});}));let _0x3d2ed2=this['_configService'][_0x59921d(0x1df)](_0x5bd107);this[_0x59921d(0x26b)][_0x59921d(0x26f)](_0x3d2ed2||{});}async[_0x7e5a6c(0x1c0)](){const _0x1f9f5f=_0x7e5a6c;let _0x3289a6=this['_configService'][_0x1f9f5f(0x1df)](_0x5bd107);if(!(_0x3289a6!=null&&_0x3289a6['showDeveloperTools']))return;let _0x307a3e=await this['_localStorageService']['getItem'](_0x2f8098);_0x307a3e&&(this[_0x1f9f5f(0x28f)][_0x1f9f5f(0x166)]({'Authorization':'Bearer\x20'+_0x307a3e}),this[_0x1f9f5f(0x269)][_0x1f9f5f(0x26f)](_0x307a3e));}async[_0x7e5a6c(0x1b8)](_0x296fb5){const _0x5e1537=_0x7e5a6c;if(!_0x296fb5[_0x5e1537(0x2b5)]||_0x296fb5[_0x5e1537(0x2b5)][_0x5e1537(0x1a8)]()[_0x5e1537(0x280)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x5e1537(0x258)]['t'](_0x5e1537(0x1a5))};if(_0x296fb5[_0x5e1537(0x2b5)][_0x5e1537(0x1a8)]()[_0x5e1537(0x280)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x5e1537(0x258)]['t'](_0x5e1537(0x2a1))};try{let _0x28b7ea=await this[_0x5e1537(0x1f9)][_0x5e1537(0x21c)](_0x9761bf[_0x5e1537(0x27c)])['validateApiKey'](_0x296fb5[_0x5e1537(0x2b5)][_0x5e1537(0x1a8)]());return _0x28b7ea[_0x5e1537(0x179)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x28b7ea[_0x5e1537(0x1cf)]||this[_0x5e1537(0x258)]['t'](_0x5e1537(0x2a7))};}catch(_0x24c77e){return console['warn']('[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:',_0x24c77e),{'isValid':!0x0};}}};_0x255bb6=_0x369bc1([_0x2b6fe6(0x0,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c[_0x7e5a6c(0x1e9)])),_0x2b6fe6(0x1,_0x27d17d[_0x7e5a6c(0x2bf)]),_0x2b6fe6(0x2,_0x2d885c['IConfigService']),_0x2b6fe6(0x3,_0x2d885c['ILocalStorageService']),_0x2b6fe6(0x4,_0x27d17d[_0x7e5a6c(0x19c)]),_0x2b6fe6(0x5,_0x27d17d['IMessageService']),_0x2b6fe6(0x6,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x27d17d[_0x7e5a6c(0x169)])),_0x2b6fe6(0x7,(0x0,_0x2d885c['Inject'])(_0x2d885c[_0x7e5a6c(0x1a6)])),_0x2b6fe6(0x8,_0x2d885c[_0x7e5a6c(0x251)]),_0x2b6fe6(0x9,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x9761bf[_0x7e5a6c(0x27c)]))],_0x255bb6);let _0x32d70c={'id':_0x7e5a6c(0x1bc),'type':_0x2d885c[_0x7e5a6c(0x224)][_0x7e5a6c(0x2c7)],'handler':async(_0xc1b95b,_0x1004f6)=>(_0xc1b95b[_0x7e5a6c(0x21c)](_0x255bb6)[_0x7e5a6c(0x234)](),!0x0)};function _0x5c7067(_0x199e56,_0x2d9e1c){const _0x2259fa=_0x7e5a6c;switch(_0x199e56){case _0x9761bf[_0x2259fa(0x24a)][_0x2259fa(0x180)]:return _0x2259fa(0x1b7);case _0x9761bf[_0x2259fa(0x24a)]['CONNECTING']:return _0x2259fa(0x1fd);case _0x9761bf['MCPConnectionStatus'][_0x2259fa(0x15a)]:return _0x2259fa(0x263);case _0x9761bf[_0x2259fa(0x24a)][_0x2259fa(0x20e)]:switch(_0x2d9e1c){case _0x9761bf['MCPConnectionError'][_0x2259fa(0x255)]:return _0x2259fa(0x296);case _0x9761bf[_0x2259fa(0x262)][_0x2259fa(0x1a7)]:return _0x2259fa(0x217);case _0x9761bf['MCPConnectionError'][_0x2259fa(0x27f)]:return'mcpStatus.networkError';case _0x9761bf[_0x2259fa(0x262)]['MAX_RETRIES_EXCEEDED']:return _0x2259fa(0x1ea);default:return _0x2259fa(0x237);}case _0x9761bf['MCPConnectionStatus']['RETRYING']:return'mcpStatus.retrying';default:return _0x2259fa(0x2b2);}}function _0x31e600(_0x162f0c,_0x446eca,_0x28dddc,_0x15700c=!0x0){const _0x50c71a=_0x7e5a6c;let _0x2b0a22=_0x5c7067(_0x162f0c,_0x446eca),_0xa4f371=_0x28dddc['t'](_0x2b0a22);return _0x15700c?_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x180)]&&_0x446eca===_0x9761bf[_0x50c71a(0x262)][_0x50c71a(0x255)]?_0xa4f371+_0x50c71a(0x203)+_0x28dddc['t'](_0x50c71a(0x297)):_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x15a)]?''+_0xa4f371:_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x180)]||_0x162f0c===_0x9761bf[_0x50c71a(0x24a)][_0x50c71a(0x20e)]?_0xa4f371+_0x50c71a(0x203)+_0x28dddc['t'](_0x50c71a(0x17f)):_0xa4f371:_0xa4f371;}function _0x1ad80d(_0xd46ac8){const _0x2ee768=_0x7e5a6c;switch(_0xd46ac8){case _0x9761bf[_0x2ee768(0x24a)][_0x2ee768(0x15a)]:return _0x2ee768(0x18b);case _0x9761bf[_0x2ee768(0x24a)]['CONNECTING']:case _0x9761bf[_0x2ee768(0x24a)]['RETRYING']:return _0x2ee768(0x29e);case _0x9761bf[_0x2ee768(0x24a)][_0x2ee768(0x20e)]:case _0x9761bf[_0x2ee768(0x24a)][_0x2ee768(0x180)]:return _0x2ee768(0x222);default:return _0x2ee768(0x2d8);}}function _0x3d73d5(_0x326894){const _0x4c53f2=_0x7e5a6c;let {status$:_0x30bcea,error$:_0x6007d3,onConfigure:_0x257621,showClickable:_0x535ca4=!0x0}=_0x326894,_0x1e7d05=(0x0,_0x27d17d[_0x4c53f2(0x143)])(_0x30bcea,_0x9761bf[_0x4c53f2(0x24a)][_0x4c53f2(0x180)]),_0x4effa0=(0x0,_0x27d17d[_0x4c53f2(0x143)])(_0x6007d3,_0x9761bf[_0x4c53f2(0x262)]['NONE']),_0xb80db5=(0x0,_0x27d17d[_0x4c53f2(0x25b)])(_0x2d885c[_0x4c53f2(0x1a6)]),_0xe5e31d=_0x1e7d05===_0x9761bf[_0x4c53f2(0x24a)]['CONNECTED'];_0x1e7d05===_0x9761bf[_0x4c53f2(0x24a)][_0x4c53f2(0x2c5)]||_0x9761bf[_0x4c53f2(0x24a)]['RETRYING'];let _0x5557c6=_0xb80db5['t'](_0x5c7067(_0x1e7d05,_0x4effa0)),_0xb89bc7=_0x31e600(_0x1e7d05,_0x4effa0,_0xb80db5,_0x535ca4),_0xb056bd=_0x1ad80d(_0x1e7d05),_0x4951a2=_0xe5e31d?(0x0,_0x141089['jsx'])(_0x3a00d5,{}):(0x0,_0x141089[_0x4c53f2(0x148)])(_0x5ae4be,{}),_0x5aa6b4=(0x0,_0x551a8a[_0x4c53f2(0x1e0)])(()=>{_0x535ca4&&_0x257621&&_0x257621();},[_0x535ca4,_0x257621]);function _0x501556(){const _0x35acec=_0x4c53f2;return(0x0,_0x141089[_0x35acec(0x1a0)])(_0x35acec(0x287),{'className':(0x0,_0x46debc['clsx'])(_0x35acec(0x1d4),_0x535ca4&&_0x257621&&'\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'),'role':'button','onClick':_0x535ca4&&_0x257621?_0x5aa6b4:void 0x0,'children':[(0x0,_0x141089[_0x35acec(0x148)])(_0x35acec(0x287),{'className':(0x0,_0x46debc[_0x35acec(0x229)])('univer-mr-2\x20univer-flex\x20univer-text-xl',_0xb056bd),'children':_0x4951a2}),(0x0,_0x141089[_0x35acec(0x148)])(_0x35acec(0x287),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5557c6})]});}return(0x0,_0x141089['jsx'])(_0x46debc[_0x4c53f2(0x2a3)],{'title':_0xb89bc7,'placement':_0x4c53f2(0x246),'children':_0x501556()});}let _0x318fb0=class extends _0x2d885c[_0x7e5a6c(0x275)]{constructor(_0x2b0bad,_0x27d1f2,_0x2d6b2f,_0x4ba168){const _0x156d0b=_0x7e5a6c;super(),this[_0x156d0b(0x1f9)]=_0x2b0bad,this[_0x156d0b(0x226)]=_0x27d1f2,this[_0x156d0b(0x272)]=_0x2d6b2f,this[_0x156d0b(0x19b)]=_0x4ba168,this[_0x156d0b(0x286)](),this['_initStatusComponent']();}[_0x7e5a6c(0x286)](){const _0x213862=_0x7e5a6c;let _0x461b1a=this[_0x213862(0x19b)][_0x213862(0x1df)](_0x5bd107);_0x461b1a!=null&&_0x461b1a[_0x213862(0x2b7)]&&(this['_connectionController']['enableAutoConnect']=!0x1);}[_0x7e5a6c(0x155)](){const _0x1ef480=_0x7e5a6c;let _0x42127f=this[_0x1ef480(0x19b)][_0x1ef480(0x1df)](_0x5bd107);(_0x42127f==null?void 0x0:_0x42127f[_0x1ef480(0x156)])!==!0x1&&this[_0x1ef480(0x17b)](this[_0x1ef480(0x272)][_0x1ef480(0x196)](_0x27d17d[_0x1ef480(0x21f)][_0x1ef480(0x273)],()=>{const _0x32d604=_0x1ef480;var _0x294e4b;return(0x0,_0x27d17d[_0x32d604(0x16a)])(_0x1f5242({'status$':this[_0x32d604(0x226)][_0x32d604(0x221)],'error$':this[_0x32d604(0x226)][_0x32d604(0x241)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x294e4b=_0x42127f==null?void 0x0:_0x42127f['showDeveloperTools'])==null?!0x1:_0x294e4b}),this[_0x32d604(0x1f9)]);}));}['_handleConfigure'](){const _0x3116fb=_0x7e5a6c;this['_injector'][_0x3116fb(0x21c)](_0x255bb6)[_0x3116fb(0x234)]();}};_0x318fb0=_0x369bc1([_0x2b6fe6(0x0,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c['Injector'])),_0x2b6fe6(0x1,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x9761bf['MCPConnectionController'])),_0x2b6fe6(0x2,_0x27d17d['IUIPartsService']),_0x2b6fe6(0x3,_0x2d885c[_0x7e5a6c(0x21e)])],_0x318fb0);function _0x1f5242(_0x4bdc1b){let {status$:_0x3e2255,error$:_0x181e22,onConfigure:_0x109fab,showClickable:_0x3c9678}=_0x4bdc1b;return function(){const _0xda7c6=_0x39e4;return(0x0,_0x141089[_0xda7c6(0x148)])(_0x3d73d5,{'status$':_0x3e2255,'error$':_0x181e22,'onConfigure':_0x109fab,'showClickable':_0x3c9678});};}function _0x23679c(_0x3b3175){const _0x131f93=_0x7e5a6c;return{'id':_0x32d70c['id'],'type':_0x27d17d[_0x131f93(0x1f6)][_0x131f93(0x14d)],'icon':_0x131f93(0x23e),'title':_0x131f93(0x176),'tooltip':_0x131f93(0x176)};}let _0x305325={[_0x27d17d['RibbonStartGroup'][_0x7e5a6c(0x2a2)]]:{[_0x32d70c['id']]:{'order':0xa,'menuItemFactory':_0x23679c}}},_0x164824=class extends _0x2d885c[_0x7e5a6c(0x275)]{constructor(_0x2420c3,_0xb93b0d){const _0xd4b021=_0x7e5a6c;super(),this[_0xd4b021(0x161)]=_0x2420c3,this[_0xd4b021(0x249)]=_0xb93b0d,this[_0xd4b021(0x264)](),this[_0xd4b021(0x288)]();}['_initializeCommands'](){const _0x5eadd5=_0x7e5a6c;[_0x32d70c][_0x5eadd5(0x144)](_0x17f6d1=>{const _0x1f74b6=_0x5eadd5;this['disposeWithMe'](this[_0x1f74b6(0x161)][_0x1f74b6(0x1ed)](_0x17f6d1));});}[_0x7e5a6c(0x288)](){const _0x4ed919=_0x7e5a6c;this[_0x4ed919(0x249)][_0x4ed919(0x1ec)](_0x305325);}};_0x164824=_0x369bc1([_0x2b6fe6(0x0,_0x2d885c[_0x7e5a6c(0x265)]),_0x2b6fe6(0x1,_0x27d17d['IMenuManagerService'])],_0x164824);let _0x2b4353={'mcpStatus':{'disconnected':_0x7e5a6c(0x285),'connecting':_0x7e5a6c(0x279),'connected':_0x7e5a6c(0x20b),'failed':_0x7e5a6c(0x28c),'retrying':_0x7e5a6c(0x149),'unknown':_0x7e5a6c(0x1dd),'unauthorized':_0x7e5a6c(0x27b),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x7e5a6c(0x2b1),'maxRetriesExceeded':_0x7e5a6c(0x1e6),'clickToConnect':_0x7e5a6c(0x27e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x7e5a6c(0x1c2),'apiKey':_0x7e5a6c(0x2a5),'apiKeyPlaceholder':_0x7e5a6c(0x1be),'apiKeyHint':_0x7e5a6c(0x2a4),'enableAuth':_0x7e5a6c(0x202),'enableAuthHint':_0x7e5a6c(0x2d0),'connectionInfo':_0x7e5a6c(0x1bd),'mcpClientConfig':_0x7e5a6c(0x1bd),'configInstructions':_0x7e5a6c(0x260),'configStepTitle':_0x7e5a6c(0x160),'configStep1':_0x7e5a6c(0x1b5),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x7e5a6c(0x20d),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x7e5a6c(0x2c0),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x7e5a6c(0x22c),'save':'Save\x20Configuration','saving':_0x7e5a6c(0x243),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x7e5a6c(0x1c1),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x7e5a6c(0x19f),'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':_0x7e5a6c(0x157),'getStarted':_0x7e5a6c(0x253)},'validation':{'apiKeyRequired':_0x7e5a6c(0x209),'apiKeyTooShort':_0x7e5a6c(0x2d5),'invalidConfig':_0x7e5a6c(0x292),'invalidApiKey':_0x7e5a6c(0x20c)},'connectionStatus':{'disconnected':_0x7e5a6c(0x25e),'connecting':'Connecting...','connected':_0x7e5a6c(0x1fa),'failed':_0x7e5a6c(0x298),'retrying':'Retrying...'},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x7e5a6c(0x1ce),'networkError':_0x7e5a6c(0x13d),'maxRetriesExceeded':_0x7e5a6c(0x211)}}},_0x3c325b={'mcpStatus':{'disconnected':_0x7e5a6c(0x145),'connecting':_0x7e5a6c(0x15d),'connected':_0x7e5a6c(0x219),'failed':_0x7e5a6c(0x24f),'retrying':_0x7e5a6c(0x177),'unknown':_0x7e5a6c(0x2cf),'unauthorized':_0x7e5a6c(0x206),'sessionOccupied':_0x7e5a6c(0x247),'networkError':_0x7e5a6c(0x194),'maxRetriesExceeded':_0x7e5a6c(0x1e8),'clickToConnect':_0x7e5a6c(0x1f2),'clickToConfigure':_0x7e5a6c(0x216)},'mcpConfig':{'title':_0x7e5a6c(0x16d),'description':_0x7e5a6c(0x2b3),'apiKey':_0x7e5a6c(0x1c5),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x7e5a6c(0x1ad),'enableAuthHint':_0x7e5a6c(0x1b3),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x7e5a6c(0x174),'configInstructions':_0x7e5a6c(0x1d7),'configStepTitle':_0x7e5a6c(0x1ff),'configStep1':_0x7e5a6c(0x140),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x7e5a6c(0x283),'sessionId':_0x7e5a6c(0x210),'sessionIdDescription':_0x7e5a6c(0x2ad),'authorizationDescription':_0x7e5a6c(0x293),'configParameters':_0x7e5a6c(0x28a),'maxRetries':_0x7e5a6c(0x1f8),'save':_0x7e5a6c(0x278),'saving':_0x7e5a6c(0x284),'note1':_0x7e5a6c(0x240),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x7e5a6c(0x187),'configError':_0x7e5a6c(0x1c3),'apiApplyInfo':{'title':_0x7e5a6c(0x1db),'description':_0x7e5a6c(0x2bd),'univerAiLabel':_0x7e5a6c(0x1b1),'getStarted':_0x7e5a6c(0x1dc)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x7e5a6c(0x14c),'invalidConfig':_0x7e5a6c(0x205),'invalidApiKey':_0x7e5a6c(0x1aa)},'connectionStatus':{'disconnected':_0x7e5a6c(0x220),'connecting':_0x7e5a6c(0x23a),'connected':_0x7e5a6c(0x1b9),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':_0x7e5a6c(0x25f),'sessionOccupied':_0x7e5a6c(0x1b0),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x7e5a6c(0x1ac)}}};var _0x441b36=_0x7e5a6c(0x204),_0xe70563=_0x7e5a6c(0x2a8);let _0x47e397=class extends _0x2d885c[_0x7e5a6c(0x1cd)]{constructor(_0x2c499a=_0xaddecc,_0x311208,_0x4f2be3,_0x31abf4,_0x2e18d6,_0x2d1d32){const _0x550fdd=_0x7e5a6c;super(),this[_0x550fdd(0x181)]=_0x2c499a,this[_0x550fdd(0x1f9)]=_0x311208,this[_0x550fdd(0x19b)]=_0x4f2be3,this[_0x550fdd(0x272)]=_0x31abf4,this[_0x550fdd(0x141)]=_0x2e18d6,this[_0x550fdd(0x258)]=_0x2d1d32;let {..._0x20f6cb}=(0x0,_0x2d885c[_0x550fdd(0x1b6)])({},_0xaddecc,this['_config']);this[_0x550fdd(0x19b)]['setConfig'](_0x5bd107,_0x20f6cb);}async['onStarting'](){const _0x402665=_0x7e5a6c;let _0x470459=[[_0x318fb0],[_0x255bb6],[_0x164824]];this[_0x402665(0x1f9)][_0x402665(0x232)](_0x185819[_0x402665(0x28b)])||_0x470459['push']([_0x185819[_0x402665(0x28b)],{'useClass':_0x185819[_0x402665(0x1c7)]}]),_0x470459[_0x402665(0x144)](_0x22c99a=>this[_0x402665(0x1f9)][_0x402665(0x2d1)](_0x22c99a)),this[_0x402665(0x1f9)][_0x402665(0x21c)](_0x318fb0),this['_injector'][_0x402665(0x21c)](_0x255bb6),this[_0x402665(0x1f9)]['get'](_0x164824);}};_0x278982(_0x47e397,'pluginName',_0x7e5a6c(0x294)),_0x278982(_0x47e397,_0x7e5a6c(0x2c4),_0x441b36),_0x278982(_0x47e397,'version',_0xe70563),_0x47e397=_0x369bc1([(0x0,_0x2d885c[_0x7e5a6c(0x26d)])(_0x9761bf[_0x7e5a6c(0x16b)]),_0x2b6fe6(0x1,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c['Injector'])),_0x2b6fe6(0x2,_0x2d885c[_0x7e5a6c(0x21e)]),_0x2b6fe6(0x3,_0x27d17d[_0x7e5a6c(0x2bf)]),_0x2b6fe6(0x4,_0x2d885c['ILocalStorageService']),_0x2b6fe6(0x5,(0x0,_0x2d885c[_0x7e5a6c(0x27a)])(_0x2d885c[_0x7e5a6c(0x1a6)]))],_0x47e397),_0x5ca7ab['MCPConfigPanel']=_0x358888,Object['defineProperty'](_0x5ca7ab,_0x7e5a6c(0x23f),{'enumerable':!0x0,'get':function(){return _0x255bb6;}}),Object[_0x7e5a6c(0x299)](_0x5ca7ab,_0x7e5a6c(0x16e),{'enumerable':!0x0,'get':function(){return _0x318fb0;}}),_0x5ca7ab['MCPStatusDisplay']=_0x3d73d5,Object[_0x7e5a6c(0x299)](_0x5ca7ab,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return _0x164824;}}),_0x5ca7ab[_0x7e5a6c(0x151)]=_0x32d70c,Object[_0x7e5a6c(0x299)](_0x5ca7ab,'UniverMCPUIPlugin',{'enumerable':!0x0,'get':function(){return _0x47e397;}}),_0x5ca7ab['enUS']=_0x2b4353,_0x5ca7ab[_0x7e5a6c(0x23d)]=_0x3c325b;}));
|
package/lib/umd/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x94a8(_0x4c47cf,_0x1a2b89){_0x4c47cf=_0x4c47cf-0x189;var _0xb57ce4=_0xb57c();var _0x94a84a=_0xb57ce4[_0x4c47cf];return _0x94a84a;}(function(_0x4bb21f,_0x240fd4){var _0x5565e7=_0x94a8,_0x1ef183=_0x4bb21f();while(!![]){try{var _0x48f95e=-parseInt(_0x5565e7(0x1af))/0x1*(parseInt(_0x5565e7(0x18e))/0x2)+parseInt(_0x5565e7(0x1ae))/0x3+-parseInt(_0x5565e7(0x18a))/0x4+-parseInt(_0x5565e7(0x1a9))/0x5+parseInt(_0x5565e7(0x1a8))/0x6+parseInt(_0x5565e7(0x19e))/0x7+parseInt(_0x5565e7(0x1b8))/0x8*(parseInt(_0x5565e7(0x193))/0x9);if(_0x48f95e===_0x240fd4)break;else _0x1ef183['push'](_0x1ef183['shift']());}catch(_0x59b703){_0x1ef183['push'](_0x1ef183['shift']());}}}(_0xb57c,0xe634b),function(_0x5c80da,_0x2c03fb){var _0x55ba13=_0x94a8;typeof exports==_0x55ba13(0x19c)&&typeof module<'u'?module[_0x55ba13(0x1b9)]=_0x2c03fb():typeof define==_0x55ba13(0x1a4)&&define[_0x55ba13(0x1a0)]?define([],_0x2c03fb):(_0x5c80da=typeof globalThis<'u'?globalThis:_0x5c80da||self,_0x5c80da[_0x55ba13(0x195)]=_0x2c03fb());}(this,function(){var _0x191c15=_0x94a8;return{'mcpStatus':{'disconnected':_0x191c15(0x19b),'connecting':_0x191c15(0x18d),'connected':'MCP\x20Connected','failed':_0x191c15(0x1b4),'retrying':_0x191c15(0x1a7),'unknown':_0x191c15(0x189),'unauthorized':_0x191c15(0x192),'sessionOccupied':_0x191c15(0x1a1),'networkError':_0x191c15(0x1ba),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x191c15(0x1aa),'clickToConfigure':_0x191c15(0x18f)},'mcpConfig':{'title':_0x191c15(0x19f),'description':_0x191c15(0x196),'apiKey':_0x191c15(0x1be),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x191c15(0x1a5),'enableAuth':_0x191c15(0x190),'enableAuthHint':_0x191c15(0x1b1),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x191c15(0x19a),'configInstructions':_0x191c15(0x197),'configStepTitle':_0x191c15(0x1b0),'configStep1':_0x191c15(0x1a2),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x191c15(0x1b2),'sessionId':_0x191c15(0x1b7),'sessionIdDescription':_0x191c15(0x18b),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x191c15(0x1ad),'maxRetries':_0x191c15(0x1bd),'save':_0x191c15(0x194),'saving':_0x191c15(0x1bc),'note1':_0x191c15(0x1b6),'note2':_0x191c15(0x19d),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x191c15(0x1bb),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x191c15(0x1b5),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x191c15(0x1a3),'apiKeyTooShort':_0x191c15(0x1ac),'invalidConfig':_0x191c15(0x1ab),'invalidApiKey':_0x191c15(0x198)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x191c15(0x1a6),'connected':_0x191c15(0x199),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x191c15(0x1b3),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x191c15(0x18c),'maxRetriesExceeded':_0x191c15(0x191)}}};}));function _0xb57c(){var _0x4bdf03=['Invalid\x20configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configuration\x20Parameters:','4501383kNZaJf','4zBjlvG','Configuration\x20Steps:','Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','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','Session\x20ID','2175736yarqyb','exports','MCP:\x20Network\x20Error','Failed\x20to\x20save\x20configuration','Saving...','Max\x20Retries','API\x20Key','MCP\x20Unknown\x20Status','3964128YkoGHQ','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','289288hkSLCP','Click\x20to\x20configure\x20MCP','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','54ZrFnFf','Save\x20Configuration','UniverProMcpUiCaES','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Connected','MCP\x20Client\x20Configuration','MCP\x20Disconnected','object','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','3087763CAVswF','MCP\x20Configuration','amd','MCP:\x20Session\x20ID\x20Occupied','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20is\x20required','function','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connecting...','MCP\x20Retrying...','4147428crOzeH','8760395hGfUlZ','Click\x20to\x20connect\x20MCP'];_0xb57c=function(){return _0x4bdf03;};return _0xb57c();}
|