@univerjs-pro/mcp-ui 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ja-JP.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/sk-SK.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +11 -11
@@ -1 +1 @@
1
- function _0x372b(){const _0x2813ac=['Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','MCP:\x20Prekročený\x20počet\x20pokusov','MCP:\x20Sieťová\x20chyba','Odpojené','Pripojenie\x20MCP\x20zlyhalo','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','MCP\x20sa\x20pripája...','156cvcKjn','482517yMLvwx','API\x20kľúč','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','MCP\x20opakuje\x20pokus...','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','Skúša\x20sa\x20znova...','Univer\x20AI\x20konzola','Čo\x20je\x20API\x20kľúč?','API\x20kľúč\x20je\x20povinný','68863qOqLKD','238xswkPw','MCP\x20odpojené','1018632fmdLRw','Konfigurácia\x20klienta\x20MCP','Pripojenie\x20zlyhalo','Pripája\x20sa...','Kliknite\x20na\x20konfiguráciu\x20MCP','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','43900CRNfDU','ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','9EjwYWV','MCP:\x20Neautorizované','ID\x20relácie','Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr','79278LiiHIN','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','40450LJfMKf','MCP\x20neznámy\x20stav','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','MCP:\x20ID\x20relácie\x20je\x20obsadené','2481766rHXHkq','Ukladá\x20sa...','Zadajte\x20svoj\x20API\x20kľúč','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.','Konfigurácia\x20MCP','Kliknite\x20na\x20pripojenie\x20MCP','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.','Maximálny\x20počet\x20pokusov','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','429voJJxc','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Uložiť\x20konfiguráciu','Konfigurácia\x20bola\x20úspešne\x20uložená'];_0x372b=function(){return _0x2813ac;};return _0x372b();}const _0x287570=_0x59f9;(function(_0x25230a,_0x31ddde){const _0xb96ff4=_0x59f9,_0x1f7c57=_0x25230a();while(!![]){try{const _0x5f4254=-parseInt(_0xb96ff4(0x1f2))/0x1+parseInt(_0xb96ff4(0x1d2))/0x2+-parseInt(_0xb96ff4(0x1e8))/0x3+parseInt(_0xb96ff4(0x1e7))/0x4*(-parseInt(_0xb96ff4(0x1cd))/0x5)+parseInt(_0xb96ff4(0x1cb))/0x6*(parseInt(_0xb96ff4(0x1f3))/0x7)+parseInt(_0xb96ff4(0x1bf))/0x8*(-parseInt(_0xb96ff4(0x1c7))/0x9)+-parseInt(_0xb96ff4(0x1c5))/0xa*(parseInt(_0xb96ff4(0x1db))/0xb);if(_0x5f4254===_0x31ddde)break;else _0x1f7c57['push'](_0x1f7c57['shift']());}catch(_0x4e1609){_0x1f7c57['push'](_0x1f7c57['shift']());}}}(_0x372b,0xcea26));const locale={'mcpStatus':{'disconnected':_0x287570(0x1f4),'connecting':_0x287570(0x1e6),'connected':'MCP\x20pripojené','failed':_0x287570(0x1e3),'retrying':_0x287570(0x1eb),'unknown':_0x287570(0x1ce),'unauthorized':_0x287570(0x1c8),'sessionOccupied':_0x287570(0x1d1),'networkError':_0x287570(0x1e1),'maxRetriesExceeded':_0x287570(0x1e0),'clickToConnect':_0x287570(0x1d7),'clickToConfigure':_0x287570(0x1c3)},'mcpConfig':{'title':_0x287570(0x1d6),'description':_0x287570(0x1dc),'apiKey':_0x287570(0x1e9),'apiKeyPlaceholder':_0x287570(0x1d4),'apiKeyHint':'Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','enableAuth':'Povoliť\x20overenie','enableAuthHint':_0x287570(0x1cf),'connectionInfo':_0x287570(0x1c0),'mcpClientConfig':_0x287570(0x1c0),'configInstructions':_0x287570(0x1cc),'configStepTitle':'Kroky\x20konfigurácie:','configStep1':_0x287570(0x1ed),'configStep2':_0x287570(0x1ec),'configStep3':'Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','sessionId':_0x287570(0x1c9),'sessionIdDescription':_0x287570(0x1d5),'authorizationDescription':'API\x20kľúč\x20s\x20prefixom\x20Bearer.','configParameters':'Parametre\x20konfigurácie:','maxRetries':_0x287570(0x1d9),'save':_0x287570(0x1dd),'saving':_0x287570(0x1d3),'note1':_0x287570(0x1df),'note2':_0x287570(0x1e4),'configSaved':_0x287570(0x1de),'configError':_0x287570(0x1da),'apiApplyInfo':{'title':_0x287570(0x1f0),'description':_0x287570(0x1d8),'univerAiLabel':_0x287570(0x1ef),'getStarted':'Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd'},'validation':{'apiKeyRequired':_0x287570(0x1f1),'apiKeyTooShort':_0x287570(0x1c4),'invalidConfig':'Neplatná\x20konfigurácia','invalidApiKey':_0x287570(0x1ea)},'connectionStatus':{'disconnected':_0x287570(0x1e2),'connecting':_0x287570(0x1c2),'connected':'Pripojené','failed':_0x287570(0x1c1),'retrying':_0x287570(0x1ee)},'connectionError':{'unauthorized':_0x287570(0x1e5),'sessionOccupied':_0x287570(0x1c6),'networkError':_0x287570(0x1d0),'maxRetriesExceeded':_0x287570(0x1ca)}}};function _0x59f9(_0x3e0415,_0x304545){_0x3e0415=_0x3e0415-0x1bf;const _0x372ba5=_0x372b();let _0x59f9fb=_0x372ba5[_0x3e0415];return _0x59f9fb;}export{locale as default};
1
+ function _0x456b(_0x11cb2a,_0x1e3af7){_0x11cb2a=_0x11cb2a-0x129;const _0x475267=_0x4752();let _0x456b9d=_0x475267[_0x11cb2a];return _0x456b9d;}const _0x338598=_0x456b;(function(_0x1928c4,_0x26b5e9){const _0x10e355=_0x456b,_0x33f0e1=_0x1928c4();while(!![]){try{const _0x269719=-parseInt(_0x10e355(0x159))/0x1*(parseInt(_0x10e355(0x157))/0x2)+-parseInt(_0x10e355(0x146))/0x3+-parseInt(_0x10e355(0x140))/0x4+parseInt(_0x10e355(0x143))/0x5*(parseInt(_0x10e355(0x15a))/0x6)+-parseInt(_0x10e355(0x148))/0x7+-parseInt(_0x10e355(0x134))/0x8+-parseInt(_0x10e355(0x14d))/0x9*(-parseInt(_0x10e355(0x129))/0xa);if(_0x269719===_0x26b5e9)break;else _0x33f0e1['push'](_0x33f0e1['shift']());}catch(_0x302314){_0x33f0e1['push'](_0x33f0e1['shift']());}}}(_0x4752,0xca2b1));const locale={'mcpStatus':{'disconnected':_0x338598(0x154),'connecting':'MCP\x20sa\x20pripája...','connected':_0x338598(0x147),'failed':_0x338598(0x12a),'retrying':_0x338598(0x131),'unknown':_0x338598(0x136),'unauthorized':_0x338598(0x13d),'sessionOccupied':_0x338598(0x13c),'networkError':_0x338598(0x14c),'maxRetriesExceeded':_0x338598(0x13f),'clickToConnect':_0x338598(0x14b),'clickToConfigure':_0x338598(0x138)},'mcpConfig':{'title':_0x338598(0x135),'description':_0x338598(0x12b),'apiKey':_0x338598(0x14f),'apiKeyPlaceholder':_0x338598(0x14e),'apiKeyHint':'Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','enableAuth':'Povoliť\x20overenie','enableAuthHint':_0x338598(0x13e),'connectionInfo':'Konfigurácia\x20klienta\x20MCP','mcpClientConfig':'Konfigurácia\x20klienta\x20MCP','configInstructions':'Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','configStepTitle':'Kroky\x20konfigurácie:','configStep1':'Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','configStep2':_0x338598(0x151),'configStep3':_0x338598(0x150),'sessionId':_0x338598(0x152),'sessionIdDescription':'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.','authorizationDescription':'API\x20kľúč\x20s\x20prefixom\x20Bearer.','configParameters':_0x338598(0x139),'maxRetries':_0x338598(0x141),'save':_0x338598(0x156),'saving':_0x338598(0x142),'note1':_0x338598(0x144),'note2':_0x338598(0x145),'configSaved':_0x338598(0x12e),'configError':_0x338598(0x155),'apiApplyInfo':{'title':_0x338598(0x13b),'description':_0x338598(0x12f),'univerAiLabel':'Univer\x20AI\x20konzola','getStarted':_0x338598(0x12c)},'validation':{'apiKeyRequired':_0x338598(0x137),'apiKeyTooShort':_0x338598(0x132),'invalidConfig':_0x338598(0x15b),'invalidApiKey':_0x338598(0x13a)},'connectionStatus':{'disconnected':_0x338598(0x14a),'connecting':_0x338598(0x158),'connected':_0x338598(0x149),'failed':_0x338598(0x12d),'retrying':_0x338598(0x153)},'connectionError':{'unauthorized':_0x338598(0x130),'sessionOccupied':'ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','networkError':_0x338598(0x133),'maxRetriesExceeded':'Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr'}}};function _0x4752(){const _0x30a31d=['MCP:\x20ID\x20relácie\x20je\x20obsadené','MCP:\x20Neautorizované','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','MCP:\x20Prekročený\x20počet\x20pokusov','3623472jVzYzh','Maximálny\x20počet\x20pokusov','Ukladá\x20sa...','10IZEDBv','Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','4569882aQFpsN','MCP\x20pripojené','3802274lCXRvr','Pripojené','Odpojené','Kliknite\x20na\x20pripojenie\x20MCP','MCP:\x20Sieťová\x20chyba','13491axmfnR','Zadajte\x20svoj\x20API\x20kľúč','API\x20kľúč','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','ID\x20relácie','Skúša\x20sa\x20znova...','MCP\x20odpojené','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','Uložiť\x20konfiguráciu','1781618dTbuFG','Pripája\x20sa...','1pceukK','1579884TQyAwD','Neplatná\x20konfigurácia','34020UFouor','Pripojenie\x20MCP\x20zlyhalo','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','Pripojenie\x20zlyhalo','Konfigurácia\x20bola\x20úspešne\x20uložená','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.','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','MCP\x20opakuje\x20pokus...','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','7479936uDXsXK','Konfigurácia\x20MCP','MCP\x20neznámy\x20stav','API\x20kľúč\x20je\x20povinný','Kliknite\x20na\x20konfiguráciu\x20MCP','Parametre\x20konfigurácie:','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','Čo\x20je\x20API\x20kľúč?'];_0x4752=function(){return _0x30a31d;};return _0x4752();}export{locale as default};
@@ -1 +1 @@
1
- function _0x156a(_0x417aaf,_0x556891){_0x417aaf=_0x417aaf-0xae;const _0x5ad9e4=_0x5ad9();let _0x156a26=_0x5ad9e4[_0x417aaf];return _0x156a26;}const _0x5bd314=_0x156a;(function(_0x16a0ba,_0x5f25ff){const _0x116623=_0x156a,_0x2018f1=_0x16a0ba();while(!![]){try{const _0x1cabf5=-parseInt(_0x116623(0xcf))/0x1*(-parseInt(_0x116623(0xb4))/0x2)+parseInt(_0x116623(0xcc))/0x3+parseInt(_0x116623(0xb7))/0x4+-parseInt(_0x116623(0xd4))/0x5+-parseInt(_0x116623(0xc3))/0x6*(parseInt(_0x116623(0xd7))/0x7)+-parseInt(_0x116623(0xc9))/0x8*(-parseInt(_0x116623(0xc0))/0x9)+-parseInt(_0x116623(0xbc))/0xa;if(_0x1cabf5===_0x5f25ff)break;else _0x2018f1['push'](_0x2018f1['shift']());}catch(_0x301185){_0x2018f1['push'](_0x2018f1['shift']());}}}(_0x5ad9,0x26857));function _0x5ad9(){const _0x198c2b=['Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','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.','MCP\x20Đã\x20ngắt\x20kết\x20nối','710370mozSAm','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Đang\x20thử\x20lại...','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','9DYdPQG','Kết\x20nối\x20thất\x20bại','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','582XvxpHQ','Đang\x20lưu...','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','Đị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.','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Nhập\x20khóa\x20API\x20của\x20bạn','1126696FvcJac','Yêu\x20cầu\x20khóa\x20API','MCP:\x20Lỗi\x20mạng','782241LMvASA','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','32774suYqbM','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','MCP\x20Đã\x20kết\x20nối','993265AfjBhH','Nhấp\x20để\x20kết\x20nối\x20MCP','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','8141gtlbJB','Cấu\x20hình\x20không\x20hợp\x20lệ','MCP\x20Đang\x20kết\x20nối...','Bật\x20xác\x20thực','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Lưu\x20cấu\x20hình','Các\x20bước\x20cấu\x20hình:','Lưu\x20cấu\x20hình\x20thất\x20bại','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','ID\x20phiên','Nhấp\x20để\x20cấu\x20hình\x20MCP','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP\x20Đang\x20thử\x20lại...','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Khóa\x20API\x20là\x20gì?','Bảng\x20điều\x20khiển\x20Univer\x20AI','Số\x20lần\x20thử\x20lại\x20tối\x20đa','2vHMhVF','Cấu\x20hình\x20máy\x20khách\x20MCP','Đang\x20kết\x20nối...','423704YqfzPx','Đã\x20kết\x20nối'];_0x5ad9=function(){return _0x198c2b;};return _0x5ad9();}const locale={'mcpStatus':{'disconnected':_0x5bd314(0xbb),'connecting':_0x5bd314(0xd9),'connected':_0x5bd314(0xd3),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x5bd314(0xaf),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':'MCP:\x20Không\x20được\x20phép','sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':_0x5bd314(0xcb),'maxRetriesExceeded':_0x5bd314(0xdf),'clickToConnect':_0x5bd314(0xd5),'clickToConfigure':_0x5bd314(0xe1)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':_0x5bd314(0xce),'apiKey':'Khóa\x20API','apiKeyPlaceholder':_0x5bd314(0xc8),'apiKeyHint':_0x5bd314(0xd1),'enableAuth':_0x5bd314(0xda),'enableAuthHint':_0x5bd314(0xb9),'connectionInfo':_0x5bd314(0xb5),'mcpClientConfig':_0x5bd314(0xb5),'configInstructions':_0x5bd314(0xc7),'configStepTitle':_0x5bd314(0xdd),'configStep1':_0x5bd314(0xc2),'configStep2':'Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','configStep3':_0x5bd314(0xdb),'sessionId':_0x5bd314(0xe0),'sessionIdDescription':_0x5bd314(0xc6),'authorizationDescription':_0x5bd314(0xd6),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':_0x5bd314(0xb3),'save':_0x5bd314(0xdc),'saving':_0x5bd314(0xc4),'note1':_0x5bd314(0xae),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':_0x5bd314(0xb0),'configError':_0x5bd314(0xde),'apiApplyInfo':{'title':_0x5bd314(0xb1),'description':_0x5bd314(0xba),'univerAiLabel':_0x5bd314(0xb2),'getStarted':_0x5bd314(0xd2)},'validation':{'apiKeyRequired':_0x5bd314(0xca),'apiKeyTooShort':_0x5bd314(0xbf),'invalidConfig':_0x5bd314(0xd8),'invalidApiKey':_0x5bd314(0xcd)},'connectionStatus':{'disconnected':'Đã\x20ngắt\x20kết\x20nối','connecting':_0x5bd314(0xb6),'connected':_0x5bd314(0xb8),'failed':_0x5bd314(0xc1),'retrying':_0x5bd314(0xbe)},'connectionError':{'unauthorized':_0x5bd314(0xc5),'sessionOccupied':'Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','networkError':_0x5bd314(0xd0),'maxRetriesExceeded':_0x5bd314(0xbd)}}};export{locale as default};
1
+ function _0x5d51(){const _0x4dffc1=['Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Khóa\x20API','18QscODp','MCP\x20Đang\x20kết\x20nối...','Đang\x20lưu...','Cấu\x20hình\x20không\x20hợp\x20lệ','Đang\x20kết\x20nối...','Bảng\x20điều\x20khiển\x20Univer\x20AI','Kết\x20nối\x20thất\x20bại','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.','8187616AngAyC','Đã\x20kết\x20nối','Nhập\x20khóa\x20API\x20của\x20bạn','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','2855052Ngbkug','MCP\x20Đã\x20kết\x20nối','Nhấp\x20để\x20cấu\x20hình\x20MCP','680570GmIBOY','4158895yfRkAK','Lưu\x20cấu\x20hình','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20b','24YNErnG','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','MCP\x20Đang\x20thử\x20lại...','Nhấp\x20để\x20kết\x20nối\x20MCP','4ehRWyO','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','MCP:\x20Không\x20được\x20phép','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Cấu\x20hình\x20máy\x20khách\x20MCP','MCP\x20Kết\x20nối\x20thất\x20bại','931669mieKjn','666071gdophx','Các\x20bước\x20cấu\x20hình:','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','13886200LJUaos','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Tham\x20số\x20cấu\x20hình:','Bật\x20xác\x20thực','ID\x20phiên','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Yêu\x20cầu\x20khóa\x20API','Cấu\x20hình\x20MCP','Khóa\x20API\x20là\x20gì?','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn'];_0x5d51=function(){return _0x4dffc1;};return _0x5d51();}const _0x5ac4ff=_0x35af;function _0x35af(_0x91b791,_0x26eb5c){_0x91b791=_0x91b791-0x177;const _0x5d519e=_0x5d51();let _0x35afef=_0x5d519e[_0x91b791];return _0x35afef;}(function(_0x2c2040,_0xe3cd7b){const _0x303b0d=_0x35af,_0x4375b8=_0x2c2040();while(!![]){try{const _0x5125f6=-parseInt(_0x303b0d(0x182))/0x1+-parseInt(_0x303b0d(0x1a5))/0x2+-parseInt(_0x303b0d(0x1a2))/0x3+parseInt(_0x303b0d(0x17c))/0x4*(parseInt(_0x303b0d(0x1a6))/0x5)+parseInt(_0x303b0d(0x178))/0x6*(parseInt(_0x303b0d(0x183))/0x7)+-parseInt(_0x303b0d(0x19d))/0x8+-parseInt(_0x303b0d(0x195))/0x9*(-parseInt(_0x303b0d(0x187))/0xa);if(_0x5125f6===_0xe3cd7b)break;else _0x4375b8['push'](_0x4375b8['shift']());}catch(_0x10c86c){_0x4375b8['push'](_0x4375b8['shift']());}}}(_0x5d51,0xb548d));const locale={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':_0x5ac4ff(0x196),'connected':_0x5ac4ff(0x1a3),'failed':_0x5ac4ff(0x181),'retrying':_0x5ac4ff(0x17a),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':_0x5ac4ff(0x17e),'sessionOccupied':'MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':_0x5ac4ff(0x17b),'clickToConfigure':_0x5ac4ff(0x1a4)},'mcpConfig':{'title':_0x5ac4ff(0x18f),'description':_0x5ac4ff(0x17f),'apiKey':_0x5ac4ff(0x194),'apiKeyPlaceholder':_0x5ac4ff(0x19f),'apiKeyHint':'Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','enableAuth':_0x5ac4ff(0x18a),'enableAuthHint':_0x5ac4ff(0x17d),'connectionInfo':_0x5ac4ff(0x180),'mcpClientConfig':'Cấu\x20hình\x20máy\x20khách\x20MCP','configInstructions':'Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','configStepTitle':_0x5ac4ff(0x184),'configStep1':_0x5ac4ff(0x192),'configStep2':_0x5ac4ff(0x191),'configStep3':'Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','sessionId':_0x5ac4ff(0x18b),'sessionIdDescription':'Đị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.','authorizationDescription':_0x5ac4ff(0x18c),'configParameters':_0x5ac4ff(0x189),'maxRetries':_0x5ac4ff(0x18d),'save':_0x5ac4ff(0x1a7),'saving':_0x5ac4ff(0x197),'note1':_0x5ac4ff(0x1a0),'note2':_0x5ac4ff(0x177),'configSaved':_0x5ac4ff(0x185),'configError':'Lưu\x20cấu\x20hình\x20thất\x20bại','apiApplyInfo':{'title':_0x5ac4ff(0x190),'description':_0x5ac4ff(0x19c),'univerAiLabel':_0x5ac4ff(0x19a),'getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x5ac4ff(0x18e),'apiKeyTooShort':'Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','invalidConfig':_0x5ac4ff(0x198),'invalidApiKey':_0x5ac4ff(0x186)},'connectionStatus':{'disconnected':'Đã\x20ngắt\x20kết\x20nối','connecting':_0x5ac4ff(0x199),'connected':_0x5ac4ff(0x19e),'failed':_0x5ac4ff(0x19b),'retrying':'Đang\x20thử\x20lại...'},'connectionError':{'unauthorized':_0x5ac4ff(0x1a1),'sessionOccupied':_0x5ac4ff(0x179),'networkError':_0x5ac4ff(0x193),'maxRetriesExceeded':_0x5ac4ff(0x188)}}};export{locale as default};
@@ -1 +1 @@
1
- const _0x2b01af=_0x13ed;function _0x2956(){const _0x51a5f9=['会话ID','1011mBstYH','6663312aYykmB','配置\x20MCP\x20使用\x20AI\x20操作电子表格','4112MHQOey','MCP:\x20会话\x20ID\x20已被占用','启用身份验证以获得安全连接','复制以下\x20JSON\x20配置','1501507sbMPNJ','几秒钟内获取您的\x20API\x20密钥','保存中...','API\x20密钥无效,请检查密钥是否正确','MCP\x20连接失败','配置参数:','将配置添加到您的\x20MCP\x20客户端设置文件中','配置保存失败','配置保存成功','751545mjJDAE','MCP\x20客户端配置','MCP:\x20未授权','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20已断开','启用身份验证','MCP\x20重连中...','API\x20密钥','MCP\x20状态未知','54771vjJeaU','重启您的\x20MCP\x20客户端以使配置生效','MCP:\x20网络错误','API\x20密钥长度至少需要\x2010\x20位','将以下配置添加到您的\x20MCP\x20客户端设置中:','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP\x20已连接','配置无效','未连接','Univer\x20AI\x20控制台','已连接','连接失败','点击配置\x20MCP','API\x20密钥不能为空','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20连接中...','MCP:\x20超出最大重试次数','什么是\x20API\x20密钥?','最大重试次数','您的\x20API\x20密钥将在此浏览器中本地存储','380210oaysIL','16AMxhmH','2488968yBsbPp','带有\x20Bearer\x20前缀的\x20API\x20密钥。'];_0x2956=function(){return _0x51a5f9;};return _0x2956();}(function(_0x16bce2,_0x4f8cc4){const _0x53928c=_0x13ed,_0x1f2ba5=_0x16bce2();while(!![]){try{const _0x4566fa=parseInt(_0x53928c(0x1e2))/0x1+-parseInt(_0x53928c(0x1c4))/0x2+-parseInt(_0x53928c(0x1c9))/0x3*(-parseInt(_0x53928c(0x1cc))/0x4)+parseInt(_0x53928c(0x1d9))/0x5+-parseInt(_0x53928c(0x1c6))/0x6+parseInt(_0x53928c(0x1d0))/0x7*(-parseInt(_0x53928c(0x1c5))/0x8)+parseInt(_0x53928c(0x1ca))/0x9;if(_0x4566fa===_0x4f8cc4)break;else _0x1f2ba5['push'](_0x1f2ba5['shift']());}catch(_0x229952){_0x1f2ba5['push'](_0x1f2ba5['shift']());}}}(_0x2956,0x3ef9d));function _0x13ed(_0x1e44f1,_0x2471fb){_0x1e44f1=_0x1e44f1-0x1b4;const _0x295683=_0x2956();let _0x13ed25=_0x295683[_0x1e44f1];return _0x13ed25;}const locale={'mcpStatus':{'disconnected':_0x2b01af(0x1dd),'connecting':_0x2b01af(0x1bf),'connected':_0x2b01af(0x1b6),'failed':_0x2b01af(0x1d4),'retrying':_0x2b01af(0x1df),'unknown':_0x2b01af(0x1e1),'unauthorized':_0x2b01af(0x1db),'sessionOccupied':_0x2b01af(0x1cd),'networkError':_0x2b01af(0x1e4),'maxRetriesExceeded':_0x2b01af(0x1c0),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x2b01af(0x1bc)},'mcpConfig':{'title':'MCP\x20配置','description':_0x2b01af(0x1cb),'apiKey':_0x2b01af(0x1e0),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x2b01af(0x1c3),'enableAuth':_0x2b01af(0x1de),'enableAuthHint':_0x2b01af(0x1ce),'connectionInfo':_0x2b01af(0x1da),'mcpClientConfig':_0x2b01af(0x1da),'configInstructions':_0x2b01af(0x1b4),'configStepTitle':'配置步骤:','configStep1':_0x2b01af(0x1cf),'configStep2':_0x2b01af(0x1d6),'configStep3':_0x2b01af(0x1e3),'sessionId':_0x2b01af(0x1c8),'sessionIdDescription':_0x2b01af(0x1be),'authorizationDescription':_0x2b01af(0x1c7),'configParameters':_0x2b01af(0x1d5),'maxRetries':_0x2b01af(0x1c2),'save':'保存配置','saving':_0x2b01af(0x1d2),'note1':'配置更改将立即生效','note2':_0x2b01af(0x1dc),'configSaved':_0x2b01af(0x1d8),'configError':_0x2b01af(0x1d7),'apiApplyInfo':{'title':_0x2b01af(0x1c1),'description':_0x2b01af(0x1b5),'univerAiLabel':_0x2b01af(0x1b9),'getStarted':_0x2b01af(0x1d1)},'validation':{'apiKeyRequired':_0x2b01af(0x1bd),'apiKeyTooShort':_0x2b01af(0x1e5),'invalidConfig':_0x2b01af(0x1b7),'invalidApiKey':_0x2b01af(0x1d3)},'connectionStatus':{'disconnected':_0x2b01af(0x1b8),'connecting':'连接中...','connected':_0x2b01af(0x1ba),'failed':_0x2b01af(0x1bb),'retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{locale as default};
1
+ const _0x435012=_0x27d8;function _0x27d8(_0x33a559,_0x47af8a){_0x33a559=_0x33a559-0x113;const _0x32eff2=_0x32ef();let _0x27d84e=_0x32eff2[_0x33a559];return _0x27d84e;}(function(_0x28b8d5,_0x118178){const _0x3cbe1b=_0x27d8,_0x392b2f=_0x28b8d5();while(!![]){try{const _0x27147d=parseInt(_0x3cbe1b(0x137))/0x1*(parseInt(_0x3cbe1b(0x125))/0x2)+parseInt(_0x3cbe1b(0x13a))/0x3+-parseInt(_0x3cbe1b(0x11d))/0x4+-parseInt(_0x3cbe1b(0x13d))/0x5*(parseInt(_0x3cbe1b(0x11f))/0x6)+parseInt(_0x3cbe1b(0x12c))/0x7+-parseInt(_0x3cbe1b(0x135))/0x8+parseInt(_0x3cbe1b(0x13e))/0x9*(-parseInt(_0x3cbe1b(0x121))/0xa);if(_0x27147d===_0x118178)break;else _0x392b2f['push'](_0x392b2f['shift']());}catch(_0x31c4c3){_0x392b2f['push'](_0x392b2f['shift']());}}}(_0x32ef,0xce8ca));const locale={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x435012(0x114),'failed':_0x435012(0x12b),'retrying':_0x435012(0x127),'unknown':_0x435012(0x129),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x435012(0x132),'networkError':_0x435012(0x120),'maxRetriesExceeded':_0x435012(0x131),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x435012(0x119)},'mcpConfig':{'title':'MCP\x20配置','description':_0x435012(0x130),'apiKey':_0x435012(0x116),'apiKeyPlaceholder':_0x435012(0x138),'apiKeyHint':_0x435012(0x12d),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x435012(0x133),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x435012(0x11c),'sessionId':'会话ID','sessionIdDescription':_0x435012(0x113),'authorizationDescription':_0x435012(0x134),'configParameters':_0x435012(0x13c),'maxRetries':_0x435012(0x115),'save':_0x435012(0x136),'saving':_0x435012(0x117),'note1':_0x435012(0x118),'note2':_0x435012(0x11e),'configSaved':_0x435012(0x128),'configError':'配置保存失败','apiApplyInfo':{'title':_0x435012(0x126),'description':_0x435012(0x12e),'univerAiLabel':_0x435012(0x139),'getStarted':_0x435012(0x11a)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':'配置无效','invalidApiKey':_0x435012(0x123)},'connectionStatus':{'disconnected':_0x435012(0x122),'connecting':_0x435012(0x12f),'connected':'已连接','failed':'连接失败','retrying':_0x435012(0x12a)},'connectionError':{'unauthorized':_0x435012(0x124),'sessionOccupied':_0x435012(0x11b),'networkError':_0x435012(0x13b),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};export{locale as default};function _0x32ef(){const _0xdf7fcd=['权限验证失败,请检查您的\x20API\x20密钥','3016362GOvAfv','什么是\x20API\x20密钥?','MCP\x20重连中...','配置保存成功','MCP\x20状态未知','重连中...','MCP\x20连接失败','3191370yNpRYg','您的\x20API\x20密钥将在此浏览器中本地存储','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','连接中...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP:\x20超出最大重试次数','MCP:\x20会话\x20ID\x20已被占用','配置步骤:','带有\x20Bearer\x20前缀的\x20API\x20密钥。','4447096FaUZMw','保存配置','1Mvomag','请输入您的\x20API\x20密钥','Univer\x20AI\x20控制台','3880602RmFpsB','网络连接错误,请检查您的网络连接','配置参数:','115905mYsdCg','6218001TwBLnS','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20已连接','最大重试次数','API\x20密钥','保存中...','配置更改将立即生效','点击配置\x20MCP','几秒钟内获取您的\x20API\x20密钥','会话\x20ID\x20已被占用,请稍后再试','重启您的\x20MCP\x20客户端以使配置生效','2712088VIYJNc','您的\x20API\x20密钥安全存储在本地存储中','126FjBxCg','MCP:\x20网络错误','10NuqbTu','未连接','API\x20密钥无效,请检查密钥是否正确'];_0x32ef=function(){return _0xdf7fcd;};return _0x32ef();}
@@ -1 +1 @@
1
- const _0x1c1f6c=_0xbc98;(function(_0x1b7c73,_0x484b10){const _0x5d442b=_0xbc98,_0x1f64b2=_0x1b7c73();while(!![]){try{const _0x106a98=parseInt(_0x5d442b(0xa8))/0x1*(parseInt(_0x5d442b(0xa7))/0x2)+parseInt(_0x5d442b(0xa3))/0x3+parseInt(_0x5d442b(0xa0))/0x4*(-parseInt(_0x5d442b(0xb5))/0x5)+-parseInt(_0x5d442b(0xa2))/0x6*(parseInt(_0x5d442b(0x97))/0x7)+-parseInt(_0x5d442b(0xaa))/0x8*(-parseInt(_0x5d442b(0xb8))/0x9)+parseInt(_0x5d442b(0xaf))/0xa*(-parseInt(_0x5d442b(0xb0))/0xb)+-parseInt(_0x5d442b(0x8b))/0xc*(-parseInt(_0x5d442b(0x8d))/0xd);if(_0x106a98===_0x484b10)break;else _0x1f64b2['push'](_0x1f64b2['shift']());}catch(_0x2cbac3){_0x1f64b2['push'](_0x1f64b2['shift']());}}}(_0x41bc,0xd2801));function _0xbc98(_0x30a5b9,_0x94c6e4){_0x30a5b9=_0x30a5b9-0x8a;const _0x41bcb5=_0x41bc();let _0xbc987a=_0x41bcb5[_0x30a5b9];return _0xbc987a;}function _0x41bc(){const _0x5149cb=['686670Svsnva','2841015UQKInr','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2ewFJHc','1134443uYWbQV','Configuration\x20Steps:','88QoZuEe','Univer\x20AI\x20Console','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Session\x20ID\x20Occupied','Session\x20ID','37880UvXINX','22WBfNat','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Connecting...','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','5575610qmAAli','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20authentication\x20for\x20secure\x20connections','181341zobkBg','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','12LpaGxi','What\x20is\x20API\x20Key?','3302585hzHFpL','Connection\x20Failed','Click\x20to\x20configure\x20MCP','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connecting...','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','35FHNTCm','MCP\x20Disconnected','Connected','MCP\x20Configuration','MCP\x20Client\x20Configuration','Invalid\x20configuration','MCP:\x20Network\x20Error','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20Key','4yrOSVP','Copy\x20the\x20JSON\x20configuration\x20below'];_0x41bc=function(){return _0x5149cb;};return _0x41bc();}const locale$1={'mcpStatus':{'disconnected':_0x1c1f6c(0x98),'connecting':_0x1c1f6c(0xb2),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1c1f6c(0xad),'networkError':_0x1c1f6c(0x9d),'maxRetriesExceeded':_0x1c1f6c(0xb3),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x1c1f6c(0x8f)},'mcpConfig':{'title':_0x1c1f6c(0x9a),'description':_0x1c1f6c(0xba),'apiKey':_0x1c1f6c(0x9f),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1c1f6c(0xa5),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x1c1f6c(0xb7),'connectionInfo':_0x1c1f6c(0x9b),'mcpClientConfig':_0x1c1f6c(0x9b),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x1c1f6c(0xa9),'configStep1':_0x1c1f6c(0xa1),'configStep2':_0x1c1f6c(0x90),'configStep3':_0x1c1f6c(0x95),'sessionId':_0x1c1f6c(0xae),'sessionIdDescription':_0x1c1f6c(0xb9),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x1c1f6c(0x93),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':'Saving...','note1':_0x1c1f6c(0xa6),'note2':_0x1c1f6c(0xb1),'configSaved':_0x1c1f6c(0x92),'configError':_0x1c1f6c(0x8a),'apiApplyInfo':{'title':_0x1c1f6c(0x8c),'description':_0x1c1f6c(0xb4),'univerAiLabel':_0x1c1f6c(0xab),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x1c1f6c(0xb6),'invalidConfig':_0x1c1f6c(0x9c),'invalidApiKey':_0x1c1f6c(0xac)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x1c1f6c(0x91),'connected':_0x1c1f6c(0x99),'failed':_0x1c1f6c(0x8e),'retrying':_0x1c1f6c(0x96)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x1c1f6c(0xa4),'networkError':_0x1c1f6c(0x94),'maxRetriesExceeded':_0x1c1f6c(0x9e)}}},locale=locale$1;export{locale as default};
1
+ function _0x4da3(){const _0x10efa2=['Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connecting...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Configuration','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','15dHlSpI','214628eaulVp','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Retrying...','Session\x20ID','Connecting...','Failed\x20to\x20save\x20configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Click\x20to\x20connect\x20MCP','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','585XVqjNx','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Univer\x20AI\x20Console','7yZPbTu','57104JVfTTD','Saving...','MCP\x20Connected','Connected','MCP:\x20Unauthorized','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20Parameters:','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connection\x20Failed','Invalid\x20configuration','2097666trWUgv','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Network\x20Error','2043230nmPZZG','215282eSLvHn','2647011IkaPDO','68544VELxah','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'];_0x4da3=function(){return _0x10efa2;};return _0x4da3();}const _0x5a88b2=_0x5e6b;(function(_0x31da5b,_0x307959){const _0x5da06e=_0x5e6b,_0x51050c=_0x31da5b();while(!![]){try{const _0x6b9247=-parseInt(_0x5da06e(0x1cc))/0x1*(-parseInt(_0x5da06e(0x1de))/0x2)+parseInt(_0x5da06e(0x1df))/0x3+parseInt(_0x5da06e(0x1eb))/0x4*(-parseInt(_0x5da06e(0x1ea))/0x5)+-parseInt(_0x5da06e(0x1d9))/0x6+-parseInt(_0x5da06e(0x1e0))/0x7+parseInt(_0x5da06e(0x1cd))/0x8*(-parseInt(_0x5da06e(0x1fa))/0x9)+-parseInt(_0x5da06e(0x1dd))/0xa;if(_0x6b9247===_0x307959)break;else _0x51050c['push'](_0x51050c['shift']());}catch(_0x197989){_0x51050c['push'](_0x51050c['shift']());}}}(_0x4da3,0x6d2b5));const locale$1={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5a88b2(0x1e3),'connected':_0x5a88b2(0x1cf),'failed':_0x5a88b2(0x1d7),'retrying':_0x5a88b2(0x1ed),'unknown':_0x5a88b2(0x1fb),'unauthorized':_0x5a88b2(0x1d1),'sessionOccupied':_0x5a88b2(0x1d2),'networkError':_0x5a88b2(0x1dc),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x5a88b2(0x1f5),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5a88b2(0x1e7),'description':_0x5a88b2(0x1f3),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x5a88b2(0x1e8),'apiKeyHint':_0x5a88b2(0x1e4),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5a88b2(0x1e2),'connectionInfo':_0x5a88b2(0x1fc),'mcpClientConfig':_0x5a88b2(0x1fc),'configInstructions':_0x5a88b2(0x1fd),'configStepTitle':_0x5a88b2(0x1f6),'configStep1':_0x5a88b2(0x1f7),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x5a88b2(0x1d6),'sessionId':_0x5a88b2(0x1ef),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x5a88b2(0x1d4),'configParameters':_0x5a88b2(0x1d5),'maxRetries':_0x5a88b2(0x1da),'save':'Save\x20Configuration','saving':_0x5a88b2(0x1ce),'note1':_0x5a88b2(0x1f2),'note2':_0x5a88b2(0x1e6),'configSaved':_0x5a88b2(0x1d3),'configError':_0x5a88b2(0x1f1),'apiApplyInfo':{'title':_0x5a88b2(0x1e9),'description':_0x5a88b2(0x1f4),'univerAiLabel':_0x5a88b2(0x1fe),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5a88b2(0x1f8),'invalidConfig':_0x5a88b2(0x1d8),'invalidApiKey':_0x5a88b2(0x1ec)},'connectionStatus':{'disconnected':_0x5a88b2(0x1e5),'connecting':_0x5a88b2(0x1f0),'connected':_0x5a88b2(0x1d0),'failed':'Connection\x20Failed','retrying':_0x5a88b2(0x1ee)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5a88b2(0x1f9),'networkError':_0x5a88b2(0x1db),'maxRetriesExceeded':_0x5a88b2(0x1e1)}}},locale=locale$1;function _0x5e6b(_0x2bcded,_0x42e188){_0x2bcded=_0x2bcded-0x1cc;const _0x4da340=_0x4da3();let _0x5e6b1a=_0x4da340[_0x2bcded];return _0x5e6b1a;}export{locale as default};
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x462a(_0x340496,_0x5834ec){_0x340496=_0x340496-0x1c8;const _0x437dfe=_0x437d();let _0x462a46=_0x437dfe[_0x340496];return _0x462a46;}(function(_0x5ce36d,_0x434145){const _0x4e065e=_0x462a,_0x241434=_0x5ce36d();while(!![]){try{const _0x276c2a=parseInt(_0x4e065e(0x204))/0x1+-parseInt(_0x4e065e(0x243))/0x2+parseInt(_0x4e065e(0x1d6))/0x3+-parseInt(_0x4e065e(0x248))/0x4+parseInt(_0x4e065e(0x35e))/0x5+parseInt(_0x4e065e(0x362))/0x6+-parseInt(_0x4e065e(0x350))/0x7*(-parseInt(_0x4e065e(0x346))/0x8);if(_0x276c2a===_0x434145)break;else _0x241434['push'](_0x241434['shift']());}catch(_0x55c0a7){_0x241434['push'](_0x241434['shift']());}}}(_0x437d,0x20c74),function(_0x5b9697,_0x58a2dd){const _0x2c544c=_0x462a;typeof exports==_0x2c544c(0x28e)&&typeof module<'u'?_0x58a2dd(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==_0x2c544c(0x1d2)&&define[_0x2c544c(0x271)]?define([_0x2c544c(0x239),'@univerjs/core',_0x2c544c(0x2f2),_0x2c544c(0x2b7),_0x2c544c(0x2c6),_0x2c544c(0x354),_0x2c544c(0x34b),'react/jsx-runtime',_0x2c544c(0x2fd)],_0x58a2dd):(_0x5b9697=typeof globalThis<'u'?globalThis:_0x5b9697||self,_0x58a2dd(_0x5b9697[_0x2c544c(0x34c)]={},_0x5b9697[_0x2c544c(0x2e1)],_0x5b9697[_0x2c544c(0x335)],_0x5b9697['UniverDesign'],_0x5b9697[_0x2c544c(0x2ff)],_0x5b9697[_0x2c544c(0x354)],_0x5b9697['React'],_0x5b9697[_0x2c544c(0x319)],_0x5b9697[_0x2c544c(0x203)]));}(this,function(_0x54b705,_0x1911b9,_0x4892eb,_0x18bd2a,_0x18c29b,_0x2c14c0,_0x477a26,_0x3edaaa,_0x44589b){const _0x1abd98=_0x462a;Object['defineProperty'](_0x54b705,Symbol[_0x1abd98(0x1cf)],{'value':_0x1abd98(0x20f)});function _0x38e7b4({ref:_0x547034,..._0x5a3920}){const _0x25d496=_0x1abd98;let {icon:_0xaa6039,id:_0x163784,className:_0x2385f6,extend:_0x38829a,..._0xa6bd39}=_0x5a3920,_0x265c80=(_0x25d496(0x216)+_0x163784+'\x20'+(_0x2385f6||''))['trim'](),_0x5c5113=(0x0,_0x477a26[_0x25d496(0x229)])('_'+_0x539851());return _0x4058b9(_0xaa6039,''+_0x163784,{'defIds':_0xaa6039['defIds'],'idSuffix':_0x5c5113['current']},{'ref':_0x547034,'className':_0x265c80,..._0xa6bd39},_0x38829a);}function _0x4058b9(_0x56d980,_0x373de7,_0x31cab4,_0x1fc70a,_0x1f11c1){const _0x3e9f9e=_0x1abd98;return(0x0,_0x477a26[_0x3e9f9e(0x2be)])(_0x56d980[_0x3e9f9e(0x24d)],{'key':_0x373de7,..._0x29122b(_0x56d980,_0x31cab4,_0x1f11c1),..._0x1fc70a},(_0x2322cd(_0x56d980,_0x31cab4)['children']||[])[_0x3e9f9e(0x2a5)]((_0x439654,_0x2b6fbe)=>_0x4058b9(_0x439654,_0x373de7+'-'+_0x56d980[_0x3e9f9e(0x24d)]+'-'+_0x2b6fbe,_0x31cab4,void 0x0,_0x1f11c1)));}function _0x29122b(_0x2bd4b2,_0xc2f63b,_0x40514d){const _0x318d7c=_0x1abd98;let _0xeb95c0={..._0x2bd4b2['attrs']};_0x40514d!=null&&_0x40514d[_0x318d7c(0x330)]&&_0xeb95c0['fill']==='colorChannel1'&&(_0xeb95c0[_0x318d7c(0x246)]=_0x40514d['colorChannel1']),_0x2bd4b2[_0x318d7c(0x24d)]===_0x318d7c(0x315)&&_0xeb95c0['id']&&(_0xeb95c0['id']+=_0xc2f63b[_0x318d7c(0x263)]),Object[_0x318d7c(0x2f6)](_0xeb95c0)[_0x318d7c(0x259)](([_0x1de542,_0x47a390])=>{const _0x5a9852=_0x318d7c;_0x1de542===_0x5a9852(0x315)&&typeof _0x47a390=='string'&&(_0xeb95c0[_0x1de542]=_0x47a390[_0x5a9852(0x253)](/url\(#(.*)\)/,_0x5a9852(0x275)+_0xc2f63b[_0x5a9852(0x263)]+')'));});let {defIds:_0x27e138}=_0xc2f63b;return!_0x27e138||_0x27e138[_0x318d7c(0x299)]===0x0?_0xeb95c0:(_0x2bd4b2['tag']==='use'&&_0xeb95c0['xlink:href']&&(_0xeb95c0[_0x318d7c(0x2cf)]+=_0xc2f63b[_0x318d7c(0x263)]),Object[_0x318d7c(0x2f6)](_0xeb95c0)[_0x318d7c(0x259)](([_0x26b2c6,_0x795f6f])=>{const _0xc001b6=_0x318d7c;typeof _0x795f6f=='string'&&(_0xeb95c0[_0x26b2c6]=_0x795f6f[_0xc001b6(0x253)](/url\(#(.*)\)/,'url(#$1'+_0xc2f63b[_0xc001b6(0x263)]+')'));}),_0xeb95c0);}function _0x2322cd(_0x58cc8f,_0x1af29c){const _0xd24eaf=_0x1abd98;var _0x43ed88;let {defIds:_0x5f1903}=_0x1af29c;return!_0x5f1903||_0x5f1903[_0xd24eaf(0x299)]===0x0?_0x58cc8f:_0x58cc8f[_0xd24eaf(0x24d)]===_0xd24eaf(0x32e)&&(_0x43ed88=_0x58cc8f['children'])!=null&&_0x43ed88[_0xd24eaf(0x299)]?{..._0x58cc8f,'children':_0x58cc8f['children']['map'](_0x18be8b=>typeof _0x18be8b[_0xd24eaf(0x207)]['id']==_0xd24eaf(0x2db)&&_0x5f1903&&_0x5f1903[_0xd24eaf(0x24a)](_0x18be8b[_0xd24eaf(0x207)]['id'])?{..._0x18be8b,'attrs':{..._0x18be8b['attrs'],'id':_0x18be8b[_0xd24eaf(0x207)]['id']+_0x1af29c['idSuffix']}}:_0x18be8b)}:_0x58cc8f;}function _0x539851(){const _0x535795=_0x1abd98;return Math[_0x535795(0x31b)]()['toString'](0x24)['substring'](0x2,0x8);}_0x38e7b4[_0x1abd98(0x1e9)]=_0x1abd98(0x302);let _0xbd3d9b={'tag':_0x1abd98(0x212),'attrs':{'xmlns':_0x1abd98(0x265),'fill':_0x1abd98(0x304),'viewBox':'0\x200\x2016\x2016','width':_0x1abd98(0x1d9),'height':'1em'},'children':[{'tag':_0x1abd98(0x277),'attrs':{'fill':'currentColor','d':_0x1abd98(0x32f),'fillRule':'evenodd','clipRule':_0x1abd98(0x359)}}]},_0x1c991e=(0x0,_0x477a26[_0x1abd98(0x2b4)])(function(_0x992ecf,_0xaf37c8){const _0x3443e4=_0x1abd98;return(0x0,_0x477a26[_0x3443e4(0x2be)])(_0x38e7b4,Object[_0x3443e4(0x27c)]({},_0x992ecf,{'id':_0x3443e4(0x22d),'ref':_0xaf37c8,'icon':_0xbd3d9b}));});_0x1c991e[_0x1abd98(0x1e9)]=_0x1abd98(0x29a);let _0x2305e8={'tag':_0x1abd98(0x212),'attrs':{'xmlns':_0x1abd98(0x265),'fill':'none','viewBox':_0x1abd98(0x23d),'width':'1em','height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x1abd98(0x236),'d':_0x1abd98(0x25f)}}]},_0x3eefb1=(0x0,_0x477a26[_0x1abd98(0x2b4)])(function(_0x18cf0a,_0x1d431d){const _0x52d5a8=_0x1abd98;return(0x0,_0x477a26['createElement'])(_0x38e7b4,Object[_0x52d5a8(0x27c)]({},_0x18cf0a,{'id':_0x52d5a8(0x262),'ref':_0x1d431d,'icon':_0x2305e8}));});_0x3eefb1['displayName']=_0x1abd98(0x25c);let _0x4b6903={'tag':_0x1abd98(0x212),'attrs':{'xmlns':_0x1abd98(0x265),'fill':'none','viewBox':_0x1abd98(0x23d),'width':_0x1abd98(0x1d9),'height':_0x1abd98(0x1d9)},'children':[{'tag':_0x1abd98(0x277),'attrs':{'fill':_0x1abd98(0x236),'d':_0x1abd98(0x25b)}},{'tag':_0x1abd98(0x277),'attrs':{'fill':_0x1abd98(0x236),'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':_0x1abd98(0x277),'attrs':{'fill':_0x1abd98(0x236),'d':_0x1abd98(0x228),'fillRule':_0x1abd98(0x359),'clipRule':_0x1abd98(0x359)}}]},_0x250693=(0x0,_0x477a26[_0x1abd98(0x2b4)])(function(_0x326ba5,_0x9a20ac){const _0x3c5f06=_0x1abd98;return(0x0,_0x477a26['createElement'])(_0x38e7b4,Object[_0x3c5f06(0x27c)]({},_0x326ba5,{'id':'help-icon','ref':_0x9a20ac,'icon':_0x4b6903}));});_0x250693[_0x1abd98(0x1e9)]='HelpIcon';let _0x3cb1c7={'tag':'svg','attrs':{'xmlns':_0x1abd98(0x265),'fill':_0x1abd98(0x304),'viewBox':_0x1abd98(0x23d),'width':_0x1abd98(0x1d9),'height':_0x1abd98(0x1d9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1abd98(0x277),'attrs':{'stroke':'currentColor','d':_0x1abd98(0x1ec),'strokeLinecap':'round','strokeLinejoin':_0x1abd98(0x1ea),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1abd98(0x295),'attrs':{'id':_0x1abd98(0x2fa)},'children':[{'tag':_0x1abd98(0x277),'attrs':{'fill':_0x1abd98(0x244),'d':_0x1abd98(0x2f5)}}]}]}],'defIds':[_0x1abd98(0x2fa)]},_0x5b1c76=(0x0,_0x477a26[_0x1abd98(0x2b4)])(function(_0x3d2c37,_0x302aa8){const _0x2b628f=_0x1abd98;return(0x0,_0x477a26[_0x2b628f(0x2be)])(_0x38e7b4,Object['assign']({},_0x3d2c37,{'id':_0x2b628f(0x26e),'ref':_0x302aa8,'icon':_0x3cb1c7}));});_0x5b1c76[_0x1abd98(0x1e9)]=_0x1abd98(0x27b);let _0x486e9b={'tag':_0x1abd98(0x212),'attrs':{'xmlns':_0x1abd98(0x265),'fill':_0x1abd98(0x304),'viewBox':_0x1abd98(0x1fb),'width':_0x1abd98(0x1d9),'height':_0x1abd98(0x1d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x1abd98(0x285)},'children':[{'tag':'path','attrs':{'stroke':_0x1abd98(0x236),'d':_0x1abd98(0x267),'strokeLinecap':_0x1abd98(0x1ea),'strokeLinejoin':_0x1abd98(0x1ea),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1abd98(0x295),'attrs':{'id':_0x1abd98(0x2b5)},'children':[{'tag':_0x1abd98(0x277),'attrs':{'fill':_0x1abd98(0x244),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1abd98(0x2b5)]},_0x4796b4=(0x0,_0x477a26['forwardRef'])(function(_0x24940d,_0x5dbcca){const _0xa8fd26=_0x1abd98;return(0x0,_0x477a26['createElement'])(_0x38e7b4,Object[_0xa8fd26(0x27c)]({},_0x24940d,{'id':_0xa8fd26(0x2a8),'ref':_0x5dbcca,'icon':_0x486e9b}));});_0x4796b4['displayName']='OnLineIcon';function _0x4ab373(_0x2ee9ab){const _0x449805=_0x1abd98;var _0x19ea7d,_0x923cf9;let {mcpCoreConfig:_0x25cb15,onSave:_0x5d8a49,loading:_0x12bf0f=!0x1,config:_0x4f0c27,connectionStatus$:_0x267cc8,connectionError$:_0x4a44c5,currentApiKey$:_0x46d8a9,currentSessionId$:_0x242979}=_0x2ee9ab,_0x1eba53=(0x0,_0x18c29b[_0x449805(0x2cb)])(_0x1911b9['LocaleService']),_0x34f542=(0x0,_0x18c29b['useObservable'])(_0x267cc8,_0x4892eb[_0x449805(0x27e)][_0x449805(0x213)]),_0x2b5681=(0x0,_0x18c29b[_0x449805(0x338)])(_0x4a44c5,_0x4892eb[_0x449805(0x1d1)][_0x449805(0x33d)]),_0x48828c=(0x0,_0x18c29b[_0x449805(0x338)])(_0x242979,''),[_0x25af8c,_0x48d5e1]=(0x0,_0x477a26['useState'])((0x0,_0x18c29b[_0x449805(0x338)])(_0x46d8a9,'')||''),_0x307e7f=_0x4f0c27['showDeveloperTools']&&_0x25cb15[_0x449805(0x33b)]&&(_0x25cb15[_0x449805(0x33b)][_0x449805(0x24a)](_0x449805(0x303))||_0x25cb15[_0x449805(0x33b)][_0x449805(0x24a)](_0x449805(0x355))),_0x478463=(_0x19ea7d=_0x25cb15[_0x449805(0x33b)])==null?void 0x0:_0x19ea7d['includes'](_0x449805(0x303)),_0x2a4399=(_0x923cf9=_0x25cb15[_0x449805(0x33b)])==null?void 0x0:_0x923cf9['includes']('univer.ai'),_0x1ee938=_0x478463?_0x449805(0x252):_0x449805(0x2c9),_0x512885=_0x4f0c27[_0x449805(0x26f)]&&(_0x478463||_0x2a4399),[_0x499b78,_0x420c83]=(0x0,_0x477a26[_0x449805(0x249)])(!_0x25af8c['trim']()),_0x514f09=(_0x1398eb,_0x3c5f05)=>{const _0x17ba40=_0x449805;if(_0x3c5f05===_0x4892eb[_0x17ba40(0x1d1)][_0x17ba40(0x284)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x1398eb){case _0x4892eb[_0x17ba40(0x27e)][_0x17ba40(0x309)]:return _0x17ba40(0x2cd);case _0x4892eb[_0x17ba40(0x27e)][_0x17ba40(0x2aa)]:case _0x4892eb[_0x17ba40(0x27e)][_0x17ba40(0x343)]:return _0x17ba40(0x2e4);case _0x4892eb[_0x17ba40(0x27e)][_0x17ba40(0x219)]:return _0x17ba40(0x2f1);default:return _0x17ba40(0x1e0);}},_0x24a8a1=(_0x4a5102,_0x3d34ab)=>{const _0x59ef5f=_0x449805;if(_0x3d34ab===_0x4892eb[_0x59ef5f(0x1d1)][_0x59ef5f(0x284)])return'univer-bg-red-500';switch(_0x4a5102){case _0x4892eb[_0x59ef5f(0x27e)]['CONNECTED']:return _0x59ef5f(0x26a);case _0x4892eb[_0x59ef5f(0x27e)][_0x59ef5f(0x2aa)]:case _0x4892eb['MCPConnectionStatus'][_0x59ef5f(0x343)]:return _0x59ef5f(0x240);case _0x4892eb['MCPConnectionStatus'][_0x59ef5f(0x219)]:return _0x59ef5f(0x211);default:return'univer-bg-gray-500';}},_0x46ff5d=_0x23f5bf=>{const _0x374df1=_0x449805;switch(_0x23f5bf){case _0x4892eb[_0x374df1(0x27e)][_0x374df1(0x309)]:return _0x1eba53['t'](_0x374df1(0x2ca));case _0x4892eb['MCPConnectionStatus']['CONNECTING']:return _0x1eba53['t'](_0x374df1(0x21e));case _0x4892eb[_0x374df1(0x27e)][_0x374df1(0x219)]:return _0x1eba53['t'](_0x374df1(0x2dd));case _0x4892eb['MCPConnectionStatus'][_0x374df1(0x343)]:return _0x1eba53['t'](_0x374df1(0x325));default:return _0x1eba53['t'](_0x374df1(0x21c));}},_0x504eb7=_0x369d94=>{const _0x135251=_0x449805;switch(_0x369d94){case _0x4892eb[_0x135251(0x1d1)][_0x135251(0x284)]:return _0x1eba53['t'](_0x135251(0x23f));case _0x4892eb['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x1eba53['t'](_0x135251(0x1cc));case _0x4892eb[_0x135251(0x1d1)][_0x135251(0x341)]:return _0x1eba53['t'](_0x135251(0x230));case _0x4892eb[_0x135251(0x1d1)][_0x135251(0x358)]:return _0x1eba53['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x2a7b20=(0x0,_0x477a26[_0x449805(0x218)])(()=>{_0x5d8a49({..._0x25cb15,'apiKey':_0x25af8c['trim'](),'enableAuth':!0x0});},[_0x25cb15,_0x25af8c,!0x0,_0x5d8a49]),_0x25e615=_0x25af8c[_0x449805(0x2d6)]()[_0x449805(0x299)]>0x0;return(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x202),'children':[(0x0,_0x3edaaa['jsx'])(_0x449805(0x200),{'className':_0x449805(0x33f),'children':(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':_0x449805(0x27d),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'className':'univer-text-white','children':'⚙'})}),(0x0,_0x3edaaa[_0x449805(0x264)])('div',{'children':(0x0,_0x3edaaa['jsx'])('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x1eba53['t']('mcpConfig.description')})})]})}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':(0x0,_0x18bd2a[_0x449805(0x298)])(_0x449805(0x320),_0x514f09(_0x34f542,_0x2b5681)),'children':(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x349),'children':[(0x0,_0x3edaaa['jsx'])(_0x449805(0x200),{'className':(0x0,_0x18bd2a[_0x449805(0x298)])('univer-size-2\x20univer-rounded-full',_0x24a8a1(_0x34f542,_0x2b5681))}),(0x0,_0x3edaaa['jsx'])(_0x449805(0x1f7),{'className':_0x449805(0x293),'children':_0x46ff5d(_0x34f542)})]})}),_0x2b5681!==_0x4892eb[_0x449805(0x1d1)][_0x449805(0x33d)]&&(_0x34f542===_0x4892eb[_0x449805(0x27e)][_0x449805(0x219)]||_0x2b5681===_0x4892eb[_0x449805(0x1d1)][_0x449805(0x284)])&&(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x231),'children':(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':_0x449805(0x283),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])('span',{'className':_0x449805(0x1e8),'children':'⚠️'}),(0x0,_0x3edaaa['jsx'])('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x504eb7(_0x2b5681)})]})})]}),(0x0,_0x3edaaa['jsx'])(_0x449805(0x200),{'className':_0x449805(0x347),'children':(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':'univer-space-y-5','children':[(0x0,_0x3edaaa[_0x449805(0x24f)])('div',{'className':_0x449805(0x321),'children':[(0x0,_0x3edaaa['jsxs'])(_0x449805(0x24b),{'className':_0x449805(0x1d4),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'children':'🔑'}),'\x20',_0x1eba53['t']('mcpConfig.apiKey'),(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'className':_0x449805(0x288),'children':'*'}),_0x307e7f&&(0x0,_0x3edaaa[_0x449805(0x264)])('a',{'className':_0x449805(0x278),'title':_0x1eba53['t'](_0x449805(0x2b2)),'role':_0x449805(0x2d9),'onClick':()=>_0x420c83(!0x0),'children':(0x0,_0x3edaaa[_0x449805(0x264)])(_0x250693,{})})]}),(0x0,_0x3edaaa[_0x449805(0x264)])(_0x18bd2a['Input'],{'type':_0x449805(0x32a),'placeholder':_0x1eba53['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x25af8c,'disabled':_0x12bf0f,'autoComplete':_0x449805(0x25a),'onChange':_0x48d5e1}),(0x0,_0x3edaaa[_0x449805(0x264)])('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x1eba53['t'](_0x449805(0x254))})]}),_0x307e7f&&_0x499b78&&(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'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,_0x3edaaa[_0x449805(0x264)])('a',{'className':'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','role':'button','onClick':()=>_0x420c83(!0x1),'children':(0x0,_0x3edaaa[_0x449805(0x264)])(_0x3eefb1,{'className':_0x449805(0x1e1)})}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x34a),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x297),'children':(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'className':_0x449805(0x31f),'children':'🚀'})}),(0x0,_0x3edaaa[_0x449805(0x24f)])('div',{'className':_0x449805(0x28d),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])('h4',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','children':_0x1eba53['t'](_0x449805(0x2b2))}),(0x0,_0x3edaaa[_0x449805(0x264)])('p',{'className':_0x449805(0x201),'children':_0x1eba53['t'](_0x449805(0x2a7))}),(0x0,_0x3edaaa[_0x449805(0x264)])('div',{'className':_0x449805(0x35c),'children':_0x512885&&(0x0,_0x3edaaa['jsxs'])('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':_0x1ee938,'target':'_blank','rel':'noopener\x20noreferrer','children':[(0x0,_0x3edaaa['jsx'])(_0x449805(0x1f7),{'children':'🤖'}),_0x1eba53['t'](_0x449805(0x30f)),(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'className':_0x449805(0x361),'children':'↗'})]})}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x1d3),'children':['✨','\x20',_0x1eba53['t'](_0x449805(0x280))]})]})]})]}),_0x4f0c27[_0x449805(0x26f)]&&(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x2d8),'children':[(0x0,_0x3edaaa[_0x449805(0x24f)])('h4',{'className':_0x449805(0x334),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'children':'🔗'}),'\x20',_0x1eba53['t'](_0x449805(0x2bb))]}),(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':'univer-space-y-4','children':[(0x0,_0x3edaaa[_0x449805(0x24f)])('div',{'className':'univer-space-y-3','children':[(0x0,_0x3edaaa[_0x449805(0x264)])('p',{'className':_0x449805(0x30b),'children':_0x1eba53['t']('mcpConfig.configInstructions')}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x321),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])('div',{'className':_0x449805(0x289),'children':_0x1eba53['t'](_0x449805(0x23b))}),(0x0,_0x3edaaa['jsxs'])('div',{'className':_0x449805(0x2ef),'children':[(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':_0x449805(0x349),'children':[(0x0,_0x3edaaa['jsx'])(_0x449805(0x1f7),{'className':_0x449805(0x282),'children':'1'}),_0x1eba53['t']('mcpConfig.configStep1')]}),(0x0,_0x3edaaa[_0x449805(0x24f)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x3edaaa[_0x449805(0x264)])('span',{'className':_0x449805(0x282),'children':'2'}),_0x1eba53['t'](_0x449805(0x2fe))]}),(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':_0x449805(0x349),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x1eba53['t'](_0x449805(0x221))]})]})]})]}),(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':_0x449805(0x321),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':'MCP\x20Configuration'}),(0x0,_0x3edaaa['jsx'])(_0x449805(0x200),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x339),{'className':_0x449805(0x2ea),'children':JSON[_0x449805(0x208)]({'mcpServers':{'univer':{'url':_0x449805(0x2e9)+(_0x48828c||_0x449805(0x2e5)),'type':_0x449805(0x241),'headers':{'Authorization':_0x449805(0x301)+(_0x25af8c||_0x449805(0x35f))}}}},null,0x2)})})]}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':'univer-space-y-3','children':[(0x0,_0x3edaaa['jsx'])(_0x449805(0x200),{'className':_0x449805(0x289),'children':_0x1eba53['t'](_0x449805(0x209))}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':'univer-space-y-2','children':[(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x2ed)}),(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'className':_0x449805(0x337),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x1ef),'children':_0x449805(0x332)}),(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x2a4),'children':_0x1eba53['t'](_0x449805(0x272))})]})]}),(0x0,_0x3edaaa[_0x449805(0x24f)])('div',{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x2ed)}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x337),'children':[(0x0,_0x3edaaa['jsx'])(_0x449805(0x200),{'className':_0x449805(0x1ef),'children':_0x449805(0x1fd)}),(0x0,_0x3edaaa[_0x449805(0x264)])('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x1eba53['t'](_0x449805(0x30c))})]})]})]})]})]})]}),(0x0,_0x3edaaa['jsx'])(_0x18bd2a[_0x449805(0x327)],{'onClick':_0x2a7b20,'disabled':!_0x25e615||_0x12bf0f,'className':_0x449805(0x2a3),'children':_0x12bf0f?(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x1f7),{'className':_0x449805(0x349),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'children':'⟲'}),_0x1eba53['t']('mcpConfig.saving')]}):(0x0,_0x3edaaa[_0x449805(0x24f)])('span',{'className':_0x449805(0x349),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x1c991e,{}),_0x1eba53['t'](_0x449805(0x26b))]})}),(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x2ec),'children':(0x0,_0x3edaaa[_0x449805(0x24f)])('div',{'className':_0x449805(0x2d3),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x1f7),{'className':_0x449805(0x22f),'children':'💡'}),(0x0,_0x3edaaa[_0x449805(0x24f)])(_0x449805(0x200),{'className':_0x449805(0x1c8),'children':[(0x0,_0x3edaaa[_0x449805(0x264)])(_0x449805(0x200),{'className':_0x449805(0x2c0),'children':_0x449805(0x2c2)}),(0x0,_0x3edaaa['jsxs'])('div',{'children':['•',_0x1eba53['t']('mcpConfig.note1')]}),(0x0,_0x3edaaa['jsxs'])(_0x449805(0x200),{'children':['•',_0x1eba53['t'](_0x449805(0x26d))]})]})]})})]})})]});}let _0x2de6c4='mcp-ui.config';Symbol(_0x2de6c4);let _0x732be6={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x4c6961(_0xa6ecb5){'@babel/helpers - typeof';const _0x5bb381=_0x1abd98;return _0x4c6961=typeof Symbol==_0x5bb381(0x1d2)&&typeof Symbol['iterator']==_0x5bb381(0x29f)?function(_0x27297e){return typeof _0x27297e;}:function(_0xf8628a){const _0x472a9b=_0x5bb381;return _0xf8628a&&typeof Symbol=='function'&&_0xf8628a[_0x472a9b(0x2d5)]===Symbol&&_0xf8628a!==Symbol[_0x472a9b(0x306)]?_0x472a9b(0x29f):typeof _0xf8628a;},_0x4c6961(_0xa6ecb5);}function _0x3ce7ac(_0xeb5a4a,_0x5c1cb4){const _0x5b685a=_0x1abd98;if(_0x4c6961(_0xeb5a4a)!=_0x5b685a(0x28e)||!_0xeb5a4a)return _0xeb5a4a;var _0x5cb848=_0xeb5a4a[Symbol[_0x5b685a(0x245)]];if(_0x5cb848!==void 0x0){var _0x251c96=_0x5cb848['call'](_0xeb5a4a,_0x5c1cb4||_0x5b685a(0x2fc));if(_0x4c6961(_0x251c96)!=_0x5b685a(0x28e))return _0x251c96;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5c1cb4===_0x5b685a(0x2db)?String:Number)(_0xeb5a4a);}function _0xfc7c30(_0x3f9bae){const _0x4d7ef4=_0x1abd98;var _0x438585=_0x3ce7ac(_0x3f9bae,_0x4d7ef4(0x2db));return _0x4c6961(_0x438585)==_0x4d7ef4(0x29f)?_0x438585:_0x438585+'';}function _0x433eb1(_0x532dce,_0x258b1c,_0x2f8623){return(_0x258b1c=_0xfc7c30(_0x258b1c))in _0x532dce?Object['defineProperty'](_0x532dce,_0x258b1c,{'value':_0x2f8623,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x532dce[_0x258b1c]=_0x2f8623,_0x532dce;}function _0x295925(_0x33fd3c,_0x360fd6){return function(_0x19f80c,_0x33e322){_0x360fd6(_0x19f80c,_0x33e322,_0x33fd3c);};}function _0x1bc844(_0x506054,_0x773306,_0x46732a,_0x5ba8b1){const _0x41da4c=_0x1abd98;var _0x2e1a57=arguments[_0x41da4c(0x299)],_0x543f51=_0x2e1a57<0x3?_0x773306:_0x5ba8b1===null?_0x5ba8b1=Object[_0x41da4c(0x27f)](_0x773306,_0x46732a):_0x5ba8b1,_0x4ac7c7;if(typeof Reflect=='object'&&typeof Reflect[_0x41da4c(0x258)]==_0x41da4c(0x1d2))_0x543f51=Reflect['decorate'](_0x506054,_0x773306,_0x46732a,_0x5ba8b1);else{for(var _0x12c12f=_0x506054[_0x41da4c(0x299)]-0x1;_0x12c12f>=0x0;_0x12c12f--)(_0x4ac7c7=_0x506054[_0x12c12f])&&(_0x543f51=(_0x2e1a57<0x3?_0x4ac7c7(_0x543f51):_0x2e1a57>0x3?_0x4ac7c7(_0x773306,_0x46732a,_0x543f51):_0x4ac7c7(_0x773306,_0x46732a))||_0x543f51);}return _0x2e1a57>0x3&&_0x543f51&&Object[_0x41da4c(0x31e)](_0x773306,_0x46732a,_0x543f51),_0x543f51;}let _0x21b983=_0x1abd98(0x2bf),_0x5e5fd7=_0x1abd98(0x33e),_0x20adc2=class extends _0x1911b9[_0x1abd98(0x20d)]{constructor(_0x514a01,_0x3cfb29,_0x2eefb8,_0x30ff04,_0xfbf897,_0x45dedc,_0x44b96d,_0xcca52b,_0x524bf7,_0x3618d7){const _0xd35b9f=_0x1abd98;super(),this[_0xd35b9f(0x2d7)]=_0x514a01,this['_uiPartsService']=_0x3cfb29,this[_0xd35b9f(0x238)]=_0x2eefb8,this[_0xd35b9f(0x1eb)]=_0x30ff04,this[_0xd35b9f(0x328)]=_0xfbf897,this[_0xd35b9f(0x210)]=_0x45dedc,this[_0xd35b9f(0x2ba)]=_0x44b96d,this[_0xd35b9f(0x224)]=_0xcca52b,this[_0xd35b9f(0x261)]=_0x524bf7,this[_0xd35b9f(0x1db)]=_0x3618d7,_0x433eb1(this,_0xd35b9f(0x2c4),new _0x2c14c0[(_0xd35b9f(0x300))](!0x1)),_0x433eb1(this,_0xd35b9f(0x291),new _0x2c14c0[(_0xd35b9f(0x300))]({})),_0x433eb1(this,_0xd35b9f(0x1fe),new _0x2c14c0[(_0xd35b9f(0x300))]({})),_0x433eb1(this,_0xd35b9f(0x214),new _0x2c14c0[(_0xd35b9f(0x300))]('')),_0x433eb1(this,_0xd35b9f(0x31c),async _0x2d99ee=>{const _0x5b255f=_0xd35b9f;this[_0x5b255f(0x2c4)]['next'](!0x0);try{var _0x2315ad,_0x1fd969;let _0x12d661=await this[_0x5b255f(0x2dc)](_0x2d99ee);if(!_0x12d661[_0x5b255f(0x287)]){this['_messageService'][_0x5b255f(0x1e5)]({'type':_0x18bd2a[_0x5b255f(0x1f9)][_0x5b255f(0x1ca)],'content':_0x12d661[_0x5b255f(0x1f8)]||this[_0x5b255f(0x224)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x2d99ee[_0x5b255f(0x21f)]?await this['_localStorageService'][_0x5b255f(0x1ce)](_0x21b983,_0x2d99ee[_0x5b255f(0x21f)][_0x5b255f(0x2d6)]()):await this[_0x5b255f(0x1eb)][_0x5b255f(0x29c)](_0x21b983),this[_0x5b255f(0x214)][_0x5b255f(0x1cb)](((_0x2315ad=_0x2d99ee[_0x5b255f(0x21f)])==null?void 0x0:_0x2315ad['trim']())||''),this[_0x5b255f(0x1db)][_0x5b255f(0x1e2)]({'Authorization':_0x5b255f(0x301)+((_0x1fd969=_0x2d99ee[_0x5b255f(0x21f)])==null?void 0x0:_0x1fd969['trim']())}),this[_0x5b255f(0x210)][_0x5b255f(0x1e5)]({'type':_0x18bd2a['MessageType'][_0x5b255f(0x1f5)],'content':this[_0x5b255f(0x224)]['t'](_0x5b255f(0x232))}),setTimeout(()=>{const _0x13ce50=_0x5b255f;this['_dialogService'][_0x13ce50(0x2c7)](_0x5e5fd7);},0x320);}catch(_0x30744c){this[_0x5b255f(0x261)][_0x5b255f(0x1ee)](_0x5b255f(0x32d),_0x30744c),this['_messageService']['show']({'type':_0x18bd2a[_0x5b255f(0x1f9)]['Error'],'content':this[_0x5b255f(0x224)]['t'](_0x5b255f(0x2e2))});}finally{this[_0x5b255f(0x2c4)][_0x5b255f(0x1cb)](!0x1);}}),this[_0xd35b9f(0x251)](),this['_loadStoredApiKey'](),this[_0xd35b9f(0x34d)]();}[_0x1abd98(0x220)](){const _0x4673ac=_0x1abd98;let _0xcb601a=this['_configService'][_0x4673ac(0x35d)](_0x2de6c4);_0xcb601a!=null&&_0xcb601a['showDeveloperTools']&&this['_dialogService']['open']({'id':_0x5e5fd7,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x4673ac(0x233)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x476936=_0x4673ac;this[_0x476936(0x328)]['close'](_0x5e5fd7);}});}[_0x1abd98(0x2ab)](){const _0x2c273f=_0x1abd98;return this[_0x2c273f(0x291)]['value'];}[_0x1abd98(0x34d)](){const _0x1fe9ea=_0x1abd98;this['disposeWithMe'](this['_componentManager']['register'](_0x1fe9ea(0x233),this[_0x1fe9ea(0x20e)]()));}[_0x1abd98(0x20e)](){const _0x1cbf44=_0x1abd98;return(0x0,_0x18c29b[_0x1cbf44(0x234)])(()=>{const _0x86c956=_0x1cbf44;var _0x4b28fd,_0x1648c3,_0x40d5a9;return(0x0,_0x3edaaa['jsx'])(_0x4ab373,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x86c956(0x291)][_0x86c956(0x290)],'currentApiKey$':this[_0x86c956(0x214)],'onSave':this[_0x86c956(0x31c)],'loading':this[_0x86c956(0x2c4)][_0x86c956(0x290)],'connectionStatus$':(_0x4b28fd=this[_0x86c956(0x1db)])==null?void 0x0:_0x4b28fd['connectionStatus$'],'connectionError$':(_0x1648c3=this[_0x86c956(0x1db)])==null?void 0x0:_0x1648c3['connectionError$'],'currentSessionId$':(_0x40d5a9=this[_0x86c956(0x1db)])==null?void 0x0:_0x40d5a9[_0x86c956(0x2f8)]});},this[_0x1cbf44(0x2d7)]);}[_0x1abd98(0x251)](){const _0x5cae34=_0x1abd98;this['disposeWithMe'](this[_0x5cae34(0x238)][_0x5cae34(0x2d2)](_0x4892eb[_0x5cae34(0x32c)])['subscribe'](_0x3ec8a3=>{const _0x1bbfb6=_0x5cae34;this['_mcpCoreConfig$'][_0x1bbfb6(0x1cb)](_0x3ec8a3||{});}));let _0x9590b4=this[_0x5cae34(0x238)]['getConfig'](_0x4892eb['MCP_PLUGIN_CONFIG_KEY']);this[_0x5cae34(0x291)][_0x5cae34(0x1cb)](_0x9590b4||{}),this[_0x5cae34(0x2f3)](this[_0x5cae34(0x238)][_0x5cae34(0x2d2)](_0x2de6c4)['subscribe'](_0x41c072=>{const _0x5882c8=_0x5cae34;this[_0x5882c8(0x1fe)][_0x5882c8(0x1cb)](_0x41c072||{});}));let _0x1ca79c=this['_configService'][_0x5cae34(0x35d)](_0x2de6c4);this[_0x5cae34(0x1fe)][_0x5cae34(0x1cb)](_0x1ca79c||{});}async[_0x1abd98(0x20a)](){const _0x277d00=_0x1abd98;let _0x38e0e1=this[_0x277d00(0x238)]['getConfig'](_0x2de6c4);if(!(_0x38e0e1!=null&&_0x38e0e1[_0x277d00(0x26f)]))return;let _0x39a31f=await this[_0x277d00(0x1eb)][_0x277d00(0x237)](_0x21b983);_0x39a31f&&(this[_0x277d00(0x1db)][_0x277d00(0x1e2)]({'Authorization':'Bearer\x20'+_0x39a31f}),this[_0x277d00(0x214)][_0x277d00(0x1cb)](_0x39a31f));}async[_0x1abd98(0x2dc)](_0x3a7ff6){const _0x49a80e=_0x1abd98;if(!_0x3a7ff6['apiKey']||_0x3a7ff6[_0x49a80e(0x21f)][_0x49a80e(0x2d6)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x49a80e(0x23a))};if(_0x3a7ff6['apiKey'][_0x49a80e(0x2d6)]()[_0x49a80e(0x299)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x49a80e(0x224)]['t'](_0x49a80e(0x340))};try{let _0x9c135f=await this['_injector'][_0x49a80e(0x2de)](_0x4892eb['MCPConnectionController'])['validateApiKey'](_0x3a7ff6[_0x49a80e(0x21f)]['trim']());return _0x9c135f[_0x49a80e(0x287)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x9c135f[_0x49a80e(0x1ee)]||this[_0x49a80e(0x224)]['t'](_0x49a80e(0x1d8))};}catch(_0x3e3163){return console[_0x49a80e(0x276)](_0x49a80e(0x1de),_0x3e3163),{'isValid':!0x0};}}};_0x20adc2=_0x1bc844([_0x295925(0x0,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x1911b9[_0x1abd98(0x2c8)])),_0x295925(0x1,_0x18c29b[_0x1abd98(0x2ad)]),_0x295925(0x2,_0x1911b9[_0x1abd98(0x28a)]),_0x295925(0x3,_0x1911b9[_0x1abd98(0x356)]),_0x295925(0x4,_0x18c29b[_0x1abd98(0x215)]),_0x295925(0x5,_0x18c29b[_0x1abd98(0x344)]),_0x295925(0x6,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x18c29b[_0x1abd98(0x33a)])),_0x295925(0x7,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x1911b9[_0x1abd98(0x311)])),_0x295925(0x8,_0x1911b9[_0x1abd98(0x217)]),_0x295925(0x9,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x4892eb[_0x1abd98(0x2df)]))],_0x20adc2);let _0x5f0af1={'id':_0x1abd98(0x2d0),'type':_0x1911b9[_0x1abd98(0x2c3)]['COMMAND'],'handler':async(_0x1e5477,_0x421648)=>(_0x1e5477[_0x1abd98(0x2de)](_0x20adc2)[_0x1abd98(0x220)](),!0x0)};function _0x6b5645(_0x1fe57b,_0x48eefa){const _0x390d94=_0x1abd98;switch(_0x1fe57b){case _0x4892eb['MCPConnectionStatus'][_0x390d94(0x213)]:return'mcpStatus.disconnected';case _0x4892eb[_0x390d94(0x27e)][_0x390d94(0x2aa)]:return _0x390d94(0x223);case _0x4892eb[_0x390d94(0x27e)][_0x390d94(0x309)]:return _0x390d94(0x32b);case _0x4892eb[_0x390d94(0x27e)][_0x390d94(0x219)]:switch(_0x48eefa){case _0x4892eb[_0x390d94(0x1d1)]['UNAUTHORIZED']:return'mcpStatus.unauthorized';case _0x4892eb[_0x390d94(0x1d1)][_0x390d94(0x2ac)]:return _0x390d94(0x2bd);case _0x4892eb[_0x390d94(0x1d1)]['NETWORK_ERROR']:return _0x390d94(0x307);case _0x4892eb['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x390d94(0x34f);default:return _0x390d94(0x270);}case _0x4892eb[_0x390d94(0x27e)][_0x390d94(0x343)]:return _0x390d94(0x1fc);default:return'mcpStatus.unknown';}}function _0x224952(_0x374126,_0x4f4c18,_0x53b175,_0x2bdaf0=!0x0){const _0x5819e3=_0x1abd98;let _0x38e616=_0x6b5645(_0x374126,_0x4f4c18),_0x1edd0d=_0x53b175['t'](_0x38e616);return _0x2bdaf0?_0x374126===_0x4892eb[_0x5819e3(0x27e)][_0x5819e3(0x213)]&&_0x4f4c18===_0x4892eb[_0x5819e3(0x1d1)]['UNAUTHORIZED']?_0x1edd0d+_0x5819e3(0x34e)+_0x53b175['t'](_0x5819e3(0x29b)):_0x374126===_0x4892eb[_0x5819e3(0x27e)][_0x5819e3(0x309)]?''+_0x1edd0d:_0x374126===_0x4892eb[_0x5819e3(0x27e)][_0x5819e3(0x213)]||_0x374126===_0x4892eb[_0x5819e3(0x27e)][_0x5819e3(0x219)]?_0x1edd0d+_0x5819e3(0x34e)+_0x53b175['t']('mcpStatus.clickToConnect'):_0x1edd0d:_0x1edd0d;}function _0x48b546(_0x561574){const _0x55dda0=_0x1abd98;switch(_0x561574){case _0x4892eb[_0x55dda0(0x27e)][_0x55dda0(0x309)]:return'univer-text-green-500';case _0x4892eb[_0x55dda0(0x27e)][_0x55dda0(0x2aa)]:case _0x4892eb['MCPConnectionStatus'][_0x55dda0(0x343)]:return _0x55dda0(0x2da);case _0x4892eb[_0x55dda0(0x27e)]['FAILED']:case _0x4892eb[_0x55dda0(0x27e)][_0x55dda0(0x213)]:return _0x55dda0(0x288);default:return'univer-text-gray-500';}}function _0x1b446a(_0x167fdb){const _0x1896b0=_0x1abd98;let {status$:_0x156154,error$:_0x4fd206,onConfigure:_0x1e7a01,showClickable:_0x21b778=!0x0}=_0x167fdb,_0x485c0f=(0x0,_0x18c29b[_0x1896b0(0x338)])(_0x156154,_0x4892eb['MCPConnectionStatus'][_0x1896b0(0x213)]),_0x45ea23=(0x0,_0x18c29b[_0x1896b0(0x338)])(_0x4fd206,_0x4892eb[_0x1896b0(0x1d1)][_0x1896b0(0x33d)]),_0x13ff54=(0x0,_0x18c29b[_0x1896b0(0x2cb)])(_0x1911b9[_0x1896b0(0x311)]),_0xd9a0e7=_0x485c0f===_0x4892eb['MCPConnectionStatus'][_0x1896b0(0x309)];_0x485c0f===_0x4892eb[_0x1896b0(0x27e)][_0x1896b0(0x2aa)]||_0x4892eb[_0x1896b0(0x27e)][_0x1896b0(0x343)];let _0x12c7e2=_0x13ff54['t'](_0x6b5645(_0x485c0f,_0x45ea23)),_0x1da30b=_0x224952(_0x485c0f,_0x45ea23,_0x13ff54,_0x21b778),_0x4f8cb3=_0x48b546(_0x485c0f),_0x5d51b1=_0xd9a0e7?(0x0,_0x3edaaa['jsx'])(_0x4796b4,{}):(0x0,_0x3edaaa['jsx'])(_0x5b1c76,{}),_0x368e3f=(0x0,_0x477a26[_0x1896b0(0x218)])(()=>{_0x21b778&&_0x1e7a01&&_0x1e7a01();},[_0x21b778,_0x1e7a01]);function _0x3d361a(){const _0xe2f22b=_0x1896b0;return(0x0,_0x3edaaa['jsxs'])(_0xe2f22b(0x200),{'className':(0x0,_0x18bd2a['clsx'])('univer-flex\x20univer-items-center',_0x21b778&&_0x1e7a01&&_0xe2f22b(0x2f4)),'role':'button','onClick':_0x21b778&&_0x1e7a01?_0x368e3f:void 0x0,'children':[(0x0,_0x3edaaa[_0xe2f22b(0x264)])(_0xe2f22b(0x200),{'className':(0x0,_0x18bd2a[_0xe2f22b(0x298)])(_0xe2f22b(0x286),_0x4f8cb3),'children':_0x5d51b1}),(0x0,_0x3edaaa[_0xe2f22b(0x264)])(_0xe2f22b(0x200),{'className':_0xe2f22b(0x313),'children':_0x12c7e2})]});}return(0x0,_0x3edaaa[_0x1896b0(0x264)])(_0x18bd2a[_0x1896b0(0x357)],{'title':_0x1da30b,'placement':_0x1896b0(0x353),'children':_0x3d361a()});}let _0x4ec1b0=class extends _0x1911b9[_0x1abd98(0x20d)]{constructor(_0x3cf559,_0x1af7bc,_0x457b42,_0x1361b2){const _0x4667dd=_0x1abd98;super(),this[_0x4667dd(0x2d7)]=_0x3cf559,this[_0x4667dd(0x2e0)]=_0x1af7bc,this[_0x4667dd(0x322)]=_0x457b42,this[_0x4667dd(0x238)]=_0x1361b2,this['_initAutoConnect'](),this[_0x4667dd(0x250)]();}[_0x1abd98(0x308)](){const _0x34a51b=_0x1abd98;let _0x566430=this[_0x34a51b(0x238)][_0x34a51b(0x35d)](_0x2de6c4);_0x566430!=null&&_0x566430['showDeveloperTools']&&(this[_0x34a51b(0x2e0)][_0x34a51b(0x22b)]=!0x1);}['_initStatusComponent'](){const _0x27aa61=_0x1abd98;let _0x296d57=this[_0x27aa61(0x238)][_0x27aa61(0x35d)](_0x2de6c4);(_0x296d57==null?void 0x0:_0x296d57[_0x27aa61(0x296)])!==!0x1&&this[_0x27aa61(0x2f3)](this['_uiPartsService'][_0x27aa61(0x29d)](_0x18c29b[_0x27aa61(0x2ce)][_0x27aa61(0x35a)],()=>{const _0x5d0c23=_0x27aa61;var _0x39dc85;return(0x0,_0x18c29b['connectInjector'])(_0x4b32d9({'status$':this[_0x5d0c23(0x2e0)][_0x5d0c23(0x273)],'error$':this[_0x5d0c23(0x2e0)][_0x5d0c23(0x1f0)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x39dc85=_0x296d57==null?void 0x0:_0x296d57[_0x5d0c23(0x26f)])==null?!0x1:_0x39dc85}),this[_0x5d0c23(0x2d7)]);}));}[_0x1abd98(0x1ff)](){const _0x198b31=_0x1abd98;this[_0x198b31(0x2d7)]['get'](_0x20adc2)['showConfigPanel']();}};_0x4ec1b0=_0x1bc844([_0x295925(0x0,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x1911b9[_0x1abd98(0x2c8)])),_0x295925(0x1,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x4892eb[_0x1abd98(0x2df)])),_0x295925(0x2,_0x18c29b[_0x1abd98(0x2ad)]),_0x295925(0x3,_0x1911b9[_0x1abd98(0x28a)])],_0x4ec1b0);function _0x4b32d9(_0x22dbc9){let {status$:_0xf771e5,error$:_0x53089d,onConfigure:_0x4bf4b2,showClickable:_0x554e17}=_0x22dbc9;return function(){const _0x48f92e=_0x462a;return(0x0,_0x3edaaa[_0x48f92e(0x264)])(_0x1b446a,{'status$':_0xf771e5,'error$':_0x53089d,'onConfigure':_0x4bf4b2,'showClickable':_0x554e17});};}function _0x489e72(_0x4103d3){const _0x4d410d=_0x1abd98;return{'id':_0x5f0af1['id'],'type':_0x18c29b[_0x4d410d(0x31a)][_0x4d410d(0x25e)],'icon':_0x4d410d(0x305),'title':'mcpConfig.title','tooltip':_0x4d410d(0x2f0)};}let _0x46cc52={[_0x18c29b[_0x1abd98(0x2e8)]['OTHERS']]:{[_0x5f0af1['id']]:{'order':0xa,'menuItemFactory':_0x489e72}}},_0x1abfd1=class extends _0x1911b9[_0x1abd98(0x20d)]{constructor(_0x50b42a,_0x848ced){const _0x236424=_0x1abd98;super(),this[_0x236424(0x21a)]=_0x50b42a,this[_0x236424(0x292)]=_0x848ced,this['_initializeCommands'](),this['_initializeMenus']();}[_0x1abd98(0x1f6)](){[_0x5f0af1]['forEach'](_0x125339=>{const _0x3962f9=_0x462a;this[_0x3962f9(0x2f3)](this['_commandService'][_0x3962f9(0x33c)](_0x125339));});}[_0x1abd98(0x1f2)](){const _0x2e346d=_0x1abd98;this[_0x2e346d(0x292)][_0x2e346d(0x30e)](_0x46cc52);}};_0x1abfd1=_0x1bc844([_0x295925(0x0,_0x1911b9[_0x1abd98(0x2b6)]),_0x295925(0x1,_0x18c29b[_0x1abd98(0x25d)])],_0x1abfd1);let _0x308166={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1abd98(0x2ee),'connected':_0x1abd98(0x1f4),'failed':'MCP\x20Connection\x20Failed','retrying':_0x1abd98(0x256),'unknown':_0x1abd98(0x360),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x1abd98(0x24c),'networkError':_0x1abd98(0x31d),'maxRetriesExceeded':_0x1abd98(0x1dc),'clickToConnect':_0x1abd98(0x2b8),'clickToConfigure':_0x1abd98(0x1cd)},'mcpConfig':{'title':_0x1abd98(0x331),'description':_0x1abd98(0x23c),'apiKey':_0x1abd98(0x1c9),'apiKeyPlaceholder':_0x1abd98(0x310),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x1abd98(0x1dd),'enableAuthHint':_0x1abd98(0x318),'connectionInfo':_0x1abd98(0x2e6),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x1abd98(0x28c),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x1abd98(0x1da),'configStep3':_0x1abd98(0x1e6),'sessionId':_0x1abd98(0x28b),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x1abd98(0x2bc),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x1abd98(0x26c),'save':'Save\x20Configuration','saving':_0x1abd98(0x27a),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1abd98(0x1d5),'configSaved':_0x1abd98(0x316),'configError':_0x1abd98(0x29e),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1abd98(0x2ae),'univerAiLabel':_0x1abd98(0x2b9),'getStarted':_0x1abd98(0x329)},'validation':{'apiKeyRequired':_0x1abd98(0x2eb),'apiKeyTooShort':_0x1abd98(0x30a),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1abd98(0x2a0)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x1abd98(0x351),'failed':_0x1abd98(0x21b),'retrying':_0x1abd98(0x2c5)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x1abd98(0x348)}}},_0x35947b={'mcpStatus':{'disconnected':_0x1abd98(0x260),'connecting':'MCP\x20连接中...','connected':'MCP\x20已连接','failed':'MCP\x20连接失败','retrying':_0x1abd98(0x1ed),'unknown':_0x1abd98(0x326),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x1abd98(0x317),'networkError':_0x1abd98(0x324),'maxRetriesExceeded':_0x1abd98(0x323),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x1abd98(0x2b0)},'mcpConfig':{'title':_0x1abd98(0x1e3),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x1abd98(0x21d),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x1abd98(0x227),'enableAuth':_0x1abd98(0x1e4),'enableAuthHint':_0x1abd98(0x1f1),'connectionInfo':_0x1abd98(0x35b),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x1abd98(0x2a6),'configStepTitle':_0x1abd98(0x1f3),'configStep1':_0x1abd98(0x2d4),'configStep2':_0x1abd98(0x2af),'configStep3':_0x1abd98(0x2d1),'sessionId':'会话ID','sessionIdDescription':_0x1abd98(0x20b),'authorizationDescription':_0x1abd98(0x2cc),'configParameters':_0x1abd98(0x2a9),'maxRetries':_0x1abd98(0x281),'save':'保存配置','saving':_0x1abd98(0x2a1),'note1':_0x1abd98(0x266),'note2':_0x1abd98(0x28f),'configSaved':_0x1abd98(0x205),'configError':_0x1abd98(0x279),'apiApplyInfo':{'title':_0x1abd98(0x333),'description':_0x1abd98(0x2f9),'univerAiLabel':_0x1abd98(0x269),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x1abd98(0x23e),'apiKeyTooShort':_0x1abd98(0x2f7),'invalidConfig':_0x1abd98(0x1d7),'invalidApiKey':_0x1abd98(0x2e3)},'connectionStatus':{'disconnected':_0x1abd98(0x257),'connecting':_0x1abd98(0x206),'connected':_0x1abd98(0x225),'failed':_0x1abd98(0x226),'retrying':_0x1abd98(0x345)},'connectionError':{'unauthorized':_0x1abd98(0x2c1),'sessionOccupied':_0x1abd98(0x1df),'networkError':_0x1abd98(0x352),'maxRetriesExceeded':_0x1abd98(0x1e7)}}};var _0x5b5e5c=_0x1abd98(0x274),_0x2cb732=_0x1abd98(0x2b3);let _0x12b8be=class extends _0x1911b9[_0x1abd98(0x24e)]{constructor(_0x41e2c8=_0x732be6,_0x17cae7,_0x1c90cc,_0x47d913,_0x422e8e,_0xa767da){const _0x70ddd5=_0x1abd98;super(),this[_0x70ddd5(0x30d)]=_0x41e2c8,this[_0x70ddd5(0x2d7)]=_0x17cae7,this['_configService']=_0x1c90cc,this[_0x70ddd5(0x322)]=_0x47d913,this[_0x70ddd5(0x1eb)]=_0x422e8e,this[_0x70ddd5(0x224)]=_0xa767da;let {..._0x10287a}=(0x0,_0x1911b9[_0x70ddd5(0x268)])({},_0x732be6,this[_0x70ddd5(0x30d)]);this[_0x70ddd5(0x238)][_0x70ddd5(0x242)](_0x2de6c4,_0x10287a);}async[_0x1abd98(0x312)](){const _0x1e7438=_0x1abd98;let _0x1a610e=[[_0x4ec1b0],[_0x20adc2],[_0x1abfd1]];this[_0x1e7438(0x2d7)][_0x1e7438(0x336)](_0x44589b[_0x1e7438(0x22a)])||_0x1a610e[_0x1e7438(0x2e7)]([_0x44589b[_0x1e7438(0x22a)],{'useClass':_0x44589b[_0x1e7438(0x222)]}]),_0x1a610e[_0x1e7438(0x259)](_0x7651a9=>this[_0x1e7438(0x2d7)][_0x1e7438(0x1d0)](_0x7651a9)),this[_0x1e7438(0x2d7)]['get'](_0x4ec1b0),this['_injector']['get'](_0x20adc2),this[_0x1e7438(0x2d7)][_0x1e7438(0x2de)](_0x1abfd1);}};_0x433eb1(_0x12b8be,_0x1abd98(0x247),_0x1abd98(0x314)),_0x433eb1(_0x12b8be,_0x1abd98(0x255),_0x5b5e5c),_0x433eb1(_0x12b8be,_0x1abd98(0x235),_0x2cb732),_0x12b8be=_0x1bc844([(0x0,_0x1911b9[_0x1abd98(0x2b1)])(_0x4892eb[_0x1abd98(0x2fb)]),_0x295925(0x1,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x1911b9[_0x1abd98(0x2c8)])),_0x295925(0x2,_0x1911b9[_0x1abd98(0x28a)]),_0x295925(0x3,_0x18c29b[_0x1abd98(0x2ad)]),_0x295925(0x4,_0x1911b9[_0x1abd98(0x356)]),_0x295925(0x5,(0x0,_0x1911b9[_0x1abd98(0x22e)])(_0x1911b9['LocaleService']))],_0x12b8be),_0x54b705['MCPConfigPanel']=_0x4ab373,Object[_0x1abd98(0x31e)](_0x54b705,_0x1abd98(0x20c),{'enumerable':!0x0,'get':function(){return _0x20adc2;}}),Object[_0x1abd98(0x31e)](_0x54b705,_0x1abd98(0x2a2),{'enumerable':!0x0,'get':function(){return _0x4ec1b0;}}),_0x54b705[_0x1abd98(0x294)]=_0x1b446a,Object[_0x1abd98(0x31e)](_0x54b705,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return _0x1abfd1;}}),_0x54b705['OpenMCPConfigPanelCommand']=_0x5f0af1,Object[_0x1abd98(0x31e)](_0x54b705,_0x1abd98(0x22c),{'enumerable':!0x0,'get':function(){return _0x12b8be;}}),_0x54b705[_0x1abd98(0x342)]=_0x308166,_0x54b705[_0x1abd98(0x1fa)]=_0x35947b;}));function _0x437d(){const _0x1af4d9=['white','toPrimitive','fill','pluginName','218744tcsidy','useState','includes','label','MCP:\x20Session\x20ID\x20Occupied','tag','Plugin','jsxs','_initStatusComponent','_initConfigSync','https://console.univer.plus','replace','mcpConfig.apiKeyHint','packageName','MCP\x20Retrying...','未连接','decorate','forEach','off','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','CloseIcon','IMenuManagerService','BUTTON','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','MCP\x20已断开','_logService','close-icon','idSuffix','jsx','http://www.w3.org/2000/svg','配置更改将立即生效','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','merge','Univer\x20AI\x20控制台','univer-bg-green-500','mcpConfig.save','Max\x20Retries','mcpConfig.note2','off-line-icon','showDeveloperTools','mcpStatus.failed','amd','mcpConfig.sessionIdDescription','connectionStatus$','@univerjs-pro/mcp-ui','url(#$1','warn','path','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','配置保存失败','Saving...','OffLineIcon','assign','univer-flex\x20univer-items-center\x20univer-gap-3','MCPConnectionStatus','getOwnPropertyDescriptor','mcpConfig.apiApplyInfo.getStarted','最大重试次数','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-flex\x20univer-items-start\x20univer-gap-2','UNAUTHORIZED','url(#on-line-icon_clip0_910_349)','univer-mr-2\x20univer-flex\x20univer-text-xl','isValid','univer-text-red-500','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','IConfigService','Session\x20ID','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-flex-1','object','您的\x20API\x20密钥安全存储在本地存储中','value','_mcpCoreConfig$','_menuManagerService','univer-text-sm\x20univer-font-medium','MCPStatusDisplay','clipPath','showStatus','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','clsx','length','CheckMarkIcon','mcpStatus.clickToConfigure','removeItem','registerComponent','Failed\x20to\x20save\x20configuration','symbol','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','保存中...','MCPConnectionUIController','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-xs\x20univer-text-gray-500','map','将以下配置添加到您的\x20MCP\x20客户端设置中:','mcpConfig.apiApplyInfo.description','on-line-icon','配置参数:','CONNECTING','getCurrentConfig','SESSION_ID_OCCUPIED','IUIPartsService','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','将配置添加到您的\x20MCP\x20客户端设置文件中','点击配置\x20MCP','DependentOn','mcpConfig.apiApplyInfo.title','0.21.0','forwardRef','on-line-icon_clip0_910_349','ICommandService','@univerjs/design','Click\x20to\x20connect\x20MCP','Univer\x20AI\x20Console','_componentManager','mcpConfig.connectionInfo','API\x20key\x20with\x20Bearer\x20prefix.','mcpStatus.sessionOccupied','createElement','mcp.apiKey','univer-font-medium','权限验证失败,请检查您的\x20API\x20密钥','Configuration\x20Notes:','CommandType','_loading$','Retrying...','@univerjs/ui','close','Injector','https://console.univer.ai','mcpConfig.connectionStatus.connected','useDependency','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','BuiltInUIPart','xlink:href','mcp-ui.command.openConfigPanel','重启您的\x20MCP\x20客户端以使配置生效','subscribeConfigValue$','univer-flex\x20univer-gap-3','复制以下\x20JSON\x20配置','constructor','trim','_injector','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','button','univer-text-yellow-500','string','_validateConfig','mcpConfig.connectionStatus.failed','get','MCPConnectionController','_connectionController','UniverCore','mcpConfig.configError','API\x20密钥无效,请检查密钥是否正确','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','<SESSION_ID>','MCP\x20Client\x20Configuration','push','RibbonStartGroup','https://mcp.univer.ai/mcp/?univer_session_id=','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','API\x20key\x20is\x20required','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','MCP\x20Connecting...','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.title','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','@univerjs-pro/mcp','disposeWithMe','\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','M0\x200H16V16H0z','entries','API\x20密钥长度至少需要\x2010\x20位','sessionId$','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','off-line-icon_clip0_910_343','UniverMCPPlugin','default','@univerjs/network','mcpConfig.configStep2','UniverUi','BehaviorSubject','Bearer\x20','UniverIcon','univer.plus','none','MenuIcon','prototype','mcpStatus.networkError','_initAutoConnect','CONNECTED','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','univer-text-xs\x20univer-text-gray-600','mcpConfig.authorizationDescription','_config','mergeMenu','mcpConfig.apiApplyInfo.univerAiLabel','Enter\x20your\x20API\x20key','LocaleService','onStarting','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MCP_UI_PLUGIN','mask','Configuration\x20saved\x20successfully','MCP:\x20会话\x20ID\x20已被占用','Enable\x20authentication\x20for\x20secure\x20connections','React','MenuItemType','random','_handleConfigSave','MCP:\x20Network\x20Error','defineProperty','univer-text-blue-600','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','univer-space-y-2','_uiPartsService','MCP:\x20超出最大重试次数','MCP:\x20网络错误','mcpConfig.connectionStatus.retrying','MCP\x20状态未知','Button','_dialogService','Get\x20your\x20API\x20key\x20in\x20seconds','text','mcpStatus.connected','MCP_PLUGIN_CONFIG_KEY','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','defs','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','colorChannel1','MCP\x20Configuration','univer_session_id:','什么是\x20API\x20密钥?','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','UniverProMcp','has','univer-min-w-0\x20univer-flex-1','useObservable','pre','ComponentManager','mcpServerUrl','registerCommand','NONE','mcp-config-dialog','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.validation.apiKeyTooShort','NETWORK_ERROR','enUS','RETRYING','IMessageService','重连中...','40TksIbL','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','univer-flex\x20univer-items-center\x20univer-gap-2','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','react','UniverProMcpUi','_registerComponent','\x20-\x20','mcpStatus.maxRetriesExceeded','168133AUwwdg','Connected','网络连接错误,请检查您的网络连接','bottom','rxjs','univer.ai','ILocalStorageService','Tooltip','MAX_RETRIES_EXCEEDED','evenodd','HEADER_MENU','MCP\x20客户端配置','univer-flex\x20univer-flex-wrap\x20univer-gap-2','getConfig','697835zXkscm','<API_KEY>','MCP\x20Unknown\x20Status','univer-text-gray-400','175638rWVokJ','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','API\x20Key','Error','next','mcpConfig.connectionError.sessionOccupied','Click\x20to\x20configure\x20MCP','setItem','toStringTag','add','MCPConnectionError','function','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','97899pXqdrH','配置无效','mcpConfig.validation.invalidApiKey','1em','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_mcpConnectionController','MCP:\x20Max\x20Retries\x20Exceeded','Enable\x20Authentication','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','会话\x20ID\x20已被占用,请稍后再试','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-size-4','__setCustomHeaders','MCP\x20配置','启用身份验证','show','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','超出最大重试次数,请稍后再试','univer-shrink-0\x20univer-text-red-500','displayName','round','_localStorageService','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','MCP\x20重连中...','error','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','connectionError$','启用身份验证以获得安全连接','_initializeMenus','配置步骤:','MCP\x20Connected','Success','_initializeCommands','span','errorMessage','MessageType','zhCN','0\x200\x2017\x2016','mcpStatus.retrying','Authorization:','_config$','_handleConfigure','div','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','UniverNetwork','79632jIBLfM','配置保存成功','连接中...','attrs','stringify','mcpConfig.configParameters','_loadStoredApiKey','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCPConfigUIController','Disposable','_createConfigPanelComponent','Module','_messageService','univer-bg-red-500','svg','DISCONNECTED','_apiKey$','IDialogService','univerjs-icon\x20univerjs-icon-','ILogService','useCallback','FAILED','_commandService','Connection\x20Failed','mcpConfig.connectionStatus.disconnected','API\x20密钥','mcpConfig.connectionStatus.connecting','apiKey','showConfigPanel','mcpConfig.configStep3','WebSocketService','mcpStatus.connecting','_localeService','已连接','连接失败','您的\x20API\x20密钥将在此浏览器中本地存储','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','useRef','ISocketService','enableAutoConnect','UniverMCPUIPlugin','check-mark-icon','Inject','univer-shrink-0\x20univer-text-blue-500','mcpConfig.connectionError.networkError','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','mcpConfig.configSaved','MCPConfigPanel','connectInjector','version','currentColor','getItem','_configService','exports','mcpConfig.validation.apiKeyRequired','mcpConfig.configStepTitle','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','0\x200\x2016\x2016','API\x20密钥不能为空','mcpConfig.connectionError.unauthorized','univer-bg-blue-500','http','setConfig','424508pWSFmK'];_0x437d=function(){return _0x1af4d9;};return _0x437d();}
1
+ (function(_0x514ec7,_0x2694e3){const _0x1dd384=_0x661d,_0x354960=_0x514ec7();while(!![]){try{const _0x42a27e=parseInt(_0x1dd384(0x1d1))/0x1*(-parseInt(_0x1dd384(0x9a))/0x2)+-parseInt(_0x1dd384(0x142))/0x3+parseInt(_0x1dd384(0x1e8))/0x4+-parseInt(_0x1dd384(0x17b))/0x5+-parseInt(_0x1dd384(0x172))/0x6+parseInt(_0x1dd384(0x11c))/0x7+-parseInt(_0x1dd384(0x108))/0x8*(-parseInt(_0x1dd384(0x14c))/0x9);if(_0x42a27e===_0x2694e3)break;else _0x354960['push'](_0x354960['shift']());}catch(_0x4a4ec9){_0x354960['push'](_0x354960['shift']());}}}(_0x42fd,0x34647),function(_0x812180,_0x2f8557){const _0x250adf=_0x661d;typeof exports==_0x250adf(0x1ea)&&typeof module<'u'?_0x2f8557(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==_0x250adf(0xec)&&define[_0x250adf(0x1e2)]?define([_0x250adf(0x116),'@univerjs/core','@univerjs-pro/mcp',_0x250adf(0x1e6),_0x250adf(0x1b6),_0x250adf(0xa0),_0x250adf(0x18f),'react/jsx-runtime',_0x250adf(0xfd)],_0x2f8557):(_0x812180=typeof globalThis<'u'?globalThis:_0x812180||self,_0x2f8557(_0x812180['UniverProMcpUi']={},_0x812180[_0x250adf(0x85)],_0x812180[_0x250adf(0x170)],_0x812180['UniverDesign'],_0x812180[_0x250adf(0x1b8)],_0x812180[_0x250adf(0xa0)],_0x812180[_0x250adf(0xbe)],_0x812180[_0x250adf(0xbe)],_0x812180[_0x250adf(0xb2)]));}(this,function(_0x5eb436,_0x13cad6,_0x23c1f9,_0x4ee172,_0x5b1179,_0x866f4d,_0x557e69,_0x23712e,_0x11d426){const _0x15014b=_0x661d;Object[_0x15014b(0x1a1)](_0x5eb436,Symbol[_0x15014b(0xef)],{'value':'Module'});function _0x32769f({ref:_0x774060,..._0x543e82}){const _0x30f92b=_0x15014b;let {icon:_0x54892d,id:_0x4a5224,className:_0x159cf5,extend:_0x534118,..._0x336794}=_0x543e82,_0x3af229=(_0x30f92b(0x114)+_0x4a5224+'\x20'+(_0x159cf5||''))[_0x30f92b(0xf9)](),_0x5c26cf=(0x0,_0x557e69['useRef'])('_'+_0x4821d1());return _0x566a2f(_0x54892d,''+_0x4a5224,{'defIds':_0x54892d['defIds'],'idSuffix':_0x5c26cf[_0x30f92b(0xfe)]},{'ref':_0x774060,'className':_0x3af229,..._0x336794},_0x534118);}function _0x566a2f(_0x5c8f61,_0xef55d5,_0x52dfa2,_0x465359,_0xca7eab){const _0x310793=_0x15014b;return(0x0,_0x557e69['createElement'])(_0x5c8f61['tag'],{'key':_0xef55d5,..._0x41e6e8(_0x5c8f61,_0x52dfa2,_0xca7eab),..._0x465359},(_0xa84d61(_0x5c8f61,_0x52dfa2)[_0x310793(0x13c)]||[])[_0x310793(0x18c)]((_0x3f445d,_0x89ced3)=>_0x566a2f(_0x3f445d,_0xef55d5+'-'+_0x5c8f61['tag']+'-'+_0x89ced3,_0x52dfa2,void 0x0,_0xca7eab)));}function _0x41e6e8(_0x93517,_0x2a1b9c,_0xe1e9d2){const _0x1cbe18=_0x15014b;let _0x70d0bd={..._0x93517[_0x1cbe18(0x1fd)]};_0xe1e9d2!=null&&_0xe1e9d2[_0x1cbe18(0xc9)]&&_0x70d0bd['fill']==='colorChannel1'&&(_0x70d0bd[_0x1cbe18(0xde)]=_0xe1e9d2[_0x1cbe18(0xc9)]),_0x93517[_0x1cbe18(0x1bc)]===_0x1cbe18(0xd1)&&_0x70d0bd['id']&&(_0x70d0bd['id']+=_0x2a1b9c['idSuffix']),Object['entries'](_0x70d0bd)[_0x1cbe18(0x150)](([_0x20cc8f,_0x39b521])=>{const _0x302223=_0x1cbe18;_0x20cc8f==='mask'&&typeof _0x39b521=='string'&&(_0x70d0bd[_0x20cc8f]=_0x39b521['replace'](/url\(#(.*)\)/,'url(#$1'+_0x2a1b9c[_0x302223(0xf0)]+')'));});let {defIds:_0x5944f0}=_0x2a1b9c;return!_0x5944f0||_0x5944f0[_0x1cbe18(0xd4)]===0x0?_0x70d0bd:(_0x93517[_0x1cbe18(0x1bc)]===_0x1cbe18(0xc4)&&_0x70d0bd[_0x1cbe18(0xaf)]&&(_0x70d0bd['xlink:href']+=_0x2a1b9c[_0x1cbe18(0xf0)]),Object['entries'](_0x70d0bd)[_0x1cbe18(0x150)](([_0x2db437,_0x1f2317])=>{const _0xb32c67=_0x1cbe18;typeof _0x1f2317==_0xb32c67(0x183)&&(_0x70d0bd[_0x2db437]=_0x1f2317[_0xb32c67(0x175)](/url\(#(.*)\)/,'url(#$1'+_0x2a1b9c[_0xb32c67(0xf0)]+')'));}),_0x70d0bd);}function _0xa84d61(_0xb342a9,_0x3c419f){const _0x1ddd2e=_0x15014b;var _0x3edc7a;let {defIds:_0x3a37e3}=_0x3c419f;return!_0x3a37e3||_0x3a37e3[_0x1ddd2e(0xd4)]===0x0?_0xb342a9:_0xb342a9[_0x1ddd2e(0x1bc)]==='defs'&&(_0x3edc7a=_0xb342a9[_0x1ddd2e(0x13c)])!=null&&_0x3edc7a['length']?{..._0xb342a9,'children':_0xb342a9['children'][_0x1ddd2e(0x18c)](_0x8bc998=>typeof _0x8bc998['attrs']['id']==_0x1ddd2e(0x183)&&_0x3a37e3&&_0x3a37e3[_0x1ddd2e(0x16b)](_0x8bc998[_0x1ddd2e(0x1fd)]['id'])?{..._0x8bc998,'attrs':{..._0x8bc998['attrs'],'id':_0x8bc998[_0x1ddd2e(0x1fd)]['id']+_0x3c419f[_0x1ddd2e(0xf0)]}}:_0x8bc998)}:_0xb342a9;}function _0x4821d1(){const _0x18cd44=_0x15014b;return Math['random']()[_0x18cd44(0x99)](0x24)[_0x18cd44(0x120)](0x2,0x8);}_0x32769f[_0x15014b(0x134)]='UniverIcon';let _0x5eecf3={'tag':_0x15014b(0x1d6),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x15014b(0x88),'viewBox':'0\x200\x2016\x2016','width':_0x15014b(0x159),'height':_0x15014b(0x159)},'children':[{'tag':_0x15014b(0x103),'attrs':{'fill':_0x15014b(0x1ce),'d':_0x15014b(0x144),'fillRule':_0x15014b(0x107),'clipRule':_0x15014b(0x107)}}]},_0x15de38=(0x0,_0x557e69[_0x15014b(0x75)])(function(_0x2f854a,_0x4a163e){const _0x454626=_0x15014b;return(0x0,_0x557e69[_0x454626(0x163)])(_0x32769f,Object['assign']({},_0x2f854a,{'id':'check-mark-icon','ref':_0x4a163e,'icon':_0x5eecf3}));});_0x15de38['displayName']=_0x15014b(0xae);let _0x4e92d9={'tag':'svg','attrs':{'xmlns':_0x15014b(0x1b4),'fill':_0x15014b(0x88),'viewBox':_0x15014b(0xda),'width':_0x15014b(0x159),'height':_0x15014b(0x159)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x15014b(0x136)}}]},_0x31efd6=(0x0,_0x557e69[_0x15014b(0x75)])(function(_0x3f5a0b,_0x1cf56d){const _0x275374=_0x15014b;return(0x0,_0x557e69[_0x275374(0x163)])(_0x32769f,Object[_0x275374(0x1a9)]({},_0x3f5a0b,{'id':_0x275374(0x1b9),'ref':_0x1cf56d,'icon':_0x4e92d9}));});_0x31efd6[_0x15014b(0x134)]=_0x15014b(0x80);let _0x569e16={'tag':_0x15014b(0x1d6),'attrs':{'xmlns':_0x15014b(0x1b4),'fill':_0x15014b(0x88),'viewBox':_0x15014b(0xda),'width':_0x15014b(0x159),'height':_0x15014b(0x159)},'children':[{'tag':_0x15014b(0x103),'attrs':{'fill':_0x15014b(0x1ce),'d':_0x15014b(0x90)}},{'tag':'path','attrs':{'fill':_0x15014b(0x1ce),'d':_0x15014b(0xcb)}},{'tag':_0x15014b(0x103),'attrs':{'fill':_0x15014b(0x1ce),'d':_0x15014b(0xac),'fillRule':_0x15014b(0x107),'clipRule':_0x15014b(0x107)}}]},_0x474549=(0x0,_0x557e69[_0x15014b(0x75)])(function(_0x2c3102,_0x26f4a2){const _0x5e2b70=_0x15014b;return(0x0,_0x557e69[_0x5e2b70(0x163)])(_0x32769f,Object[_0x5e2b70(0x1a9)]({},_0x2c3102,{'id':_0x5e2b70(0x19b),'ref':_0x26f4a2,'icon':_0x569e16}));});_0x474549[_0x15014b(0x134)]=_0x15014b(0x16e);let _0x53c6a6={'tag':_0x15014b(0x1d6),'attrs':{'xmlns':_0x15014b(0x1b4),'fill':_0x15014b(0x88),'viewBox':'0\x200\x2016\x2016','width':_0x15014b(0x159),'height':_0x15014b(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x15014b(0x1f6)},'children':[{'tag':'path','attrs':{'stroke':_0x15014b(0x1ce),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x15014b(0xb7),'strokeWidth':1.2}}]},{'tag':_0x15014b(0x10b),'attrs':{},'children':[{'tag':_0x15014b(0xe6),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x15014b(0x103),'attrs':{'fill':_0x15014b(0x13e),'d':_0x15014b(0x1fa)}}]}]}],'defIds':[_0x15014b(0x141)]},_0x5099b1=(0x0,_0x557e69[_0x15014b(0x75)])(function(_0x5d9648,_0x3dcc32){const _0x336795=_0x15014b;return(0x0,_0x557e69[_0x336795(0x163)])(_0x32769f,Object[_0x336795(0x1a9)]({},_0x5d9648,{'id':_0x336795(0x204),'ref':_0x3dcc32,'icon':_0x53c6a6}));});_0x5099b1[_0x15014b(0x134)]=_0x15014b(0x140);let _0x28e5b0={'tag':_0x15014b(0x1d6),'attrs':{'xmlns':_0x15014b(0x1b4),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x15014b(0x159),'height':_0x15014b(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x15014b(0x132)},'children':[{'tag':_0x15014b(0x103),'attrs':{'stroke':_0x15014b(0x1ce),'d':_0x15014b(0xf1),'strokeLinecap':_0x15014b(0xb7),'strokeLinejoin':_0x15014b(0xb7),'strokeWidth':1.2}}]},{'tag':_0x15014b(0x10b),'attrs':{},'children':[{'tag':_0x15014b(0xe6),'attrs':{'id':_0x15014b(0x200)},'children':[{'tag':_0x15014b(0x103),'attrs':{'fill':_0x15014b(0x13e),'d':_0x15014b(0x1fa),'transform':'translate(.97)'}}]}]}],'defIds':[_0x15014b(0x200)]},_0x252d3d=(0x0,_0x557e69[_0x15014b(0x75)])(function(_0x5d3c61,_0xcf958a){const _0x586138=_0x15014b;return(0x0,_0x557e69[_0x586138(0x163)])(_0x32769f,Object[_0x586138(0x1a9)]({},_0x5d3c61,{'id':_0x586138(0x1a7),'ref':_0xcf958a,'icon':_0x28e5b0}));});_0x252d3d[_0x15014b(0x134)]=_0x15014b(0x15e);function _0x13569d(_0x18dd5b){const _0x14a5a8=_0x15014b;var _0x3eaa0b,_0x21ce99;let {mcpCoreConfig:_0x16b3ac,onSave:_0x45db37,loading:_0x4bc868=!0x1,config:_0x340a50,connectionStatus$:_0x344ab8,connectionError$:_0x3b55dd,currentApiKey$:_0x3574db,currentSessionId$:_0x138429}=_0x18dd5b,_0x194580=(0x0,_0x5b1179[_0x14a5a8(0x8f)])(_0x13cad6['LocaleService']),_0x150281=(0x0,_0x5b1179['useObservable'])(_0x344ab8,_0x23c1f9['MCPConnectionStatus'][_0x14a5a8(0x1ab)]),_0x2320b4=(0x0,_0x5b1179[_0x14a5a8(0x16a)])(_0x3b55dd,_0x23c1f9['MCPConnectionError'][_0x14a5a8(0x17c)]),_0x1f3779=(0x0,_0x5b1179[_0x14a5a8(0x16a)])(_0x138429,''),[_0x4108ac,_0x4d66fb]=(0x0,_0x557e69['useState'])((0x0,_0x5b1179[_0x14a5a8(0x16a)])(_0x3574db,'')||''),_0xf74bca=_0x340a50[_0x14a5a8(0x189)]&&_0x16b3ac[_0x14a5a8(0x18d)]&&(_0x16b3ac[_0x14a5a8(0x18d)][_0x14a5a8(0x16b)](_0x14a5a8(0x19f))||_0x16b3ac[_0x14a5a8(0x18d)][_0x14a5a8(0x16b)](_0x14a5a8(0x12a))),_0x4ee4c5=(_0x3eaa0b=_0x16b3ac['mcpServerUrl'])==null?void 0x0:_0x3eaa0b[_0x14a5a8(0x16b)](_0x14a5a8(0x19f)),_0x19c50d=(_0x21ce99=_0x16b3ac[_0x14a5a8(0x18d)])==null?void 0x0:_0x21ce99[_0x14a5a8(0x16b)](_0x14a5a8(0x12a)),_0xbfab1b=_0x4ee4c5?_0x14a5a8(0xab):_0x14a5a8(0x1b0),_0x299e08=_0x340a50[_0x14a5a8(0x189)]&&(_0x4ee4c5||_0x19c50d),[_0x752b4,_0x157112]=(0x0,_0x557e69[_0x14a5a8(0x12c)])(!_0x4108ac[_0x14a5a8(0xf9)]()),_0x3d84ee=(_0x1438b9,_0x572a2c)=>{const _0x2f7f99=_0x14a5a8;if(_0x572a2c===_0x23c1f9['MCPConnectionError']['UNAUTHORIZED'])return _0x2f7f99(0x1df);switch(_0x1438b9){case _0x23c1f9[_0x2f7f99(0xee)][_0x2f7f99(0x10e)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x23c1f9['MCPConnectionStatus'][_0x2f7f99(0xe9)]:case _0x23c1f9['MCPConnectionStatus'][_0x2f7f99(0x10f)]:return _0x2f7f99(0x82);case _0x23c1f9['MCPConnectionStatus'][_0x2f7f99(0x78)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x2309e4=(_0x129d8b,_0x170854)=>{const _0x49eddc=_0x14a5a8;if(_0x170854===_0x23c1f9[_0x49eddc(0x86)]['UNAUTHORIZED'])return _0x49eddc(0x1a3);switch(_0x129d8b){case _0x23c1f9[_0x49eddc(0xee)][_0x49eddc(0x10e)]:return'univer-bg-green-500';case _0x23c1f9['MCPConnectionStatus'][_0x49eddc(0xe9)]:case _0x23c1f9['MCPConnectionStatus'][_0x49eddc(0x10f)]:return _0x49eddc(0x190);case _0x23c1f9[_0x49eddc(0xee)]['FAILED']:return _0x49eddc(0x1a3);default:return _0x49eddc(0x11b);}},_0x4d544a=_0x1e9692=>{const _0x5af625=_0x14a5a8;switch(_0x1e9692){case _0x23c1f9[_0x5af625(0xee)][_0x5af625(0x10e)]:return _0x194580['t']('mcpConfig.connectionStatus.connected');case _0x23c1f9[_0x5af625(0xee)]['CONNECTING']:return _0x194580['t'](_0x5af625(0x123));case _0x23c1f9[_0x5af625(0xee)][_0x5af625(0x78)]:return _0x194580['t']('mcpConfig.connectionStatus.failed');case _0x23c1f9['MCPConnectionStatus'][_0x5af625(0x10f)]:return _0x194580['t'](_0x5af625(0x72));default:return _0x194580['t'](_0x5af625(0x81));}},_0x147c8e=_0x5c94e8=>{const _0x24e59e=_0x14a5a8;switch(_0x5c94e8){case _0x23c1f9[_0x24e59e(0x86)][_0x24e59e(0x1e7)]:return _0x194580['t'](_0x24e59e(0x79));case _0x23c1f9['MCPConnectionError']['SESSION_ID_OCCUPIED']:return _0x194580['t'](_0x24e59e(0x1c8));case _0x23c1f9['MCPConnectionError'][_0x24e59e(0xd3)]:return _0x194580['t'](_0x24e59e(0x1e5));case _0x23c1f9['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return _0x194580['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x1f9fb9=(0x0,_0x557e69[_0x14a5a8(0x19e)])(()=>{const _0x2c6a17=_0x14a5a8;_0x45db37({..._0x16b3ac,'apiKey':_0x4108ac[_0x2c6a17(0xf9)](),'enableAuth':!0x0});},[_0x16b3ac,_0x4108ac,!0x0,_0x45db37]),_0x50922c=_0x4108ac[_0x14a5a8(0xf9)]()[_0x14a5a8(0xd4)]>0x0;return(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[(0x0,_0x23712e['jsx'])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x154),'children':(0x0,_0x23712e['jsxs'])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x17a),'children':[(0x0,_0x23712e['jsx'])(_0x14a5a8(0x1f8),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':(0x0,_0x23712e[_0x14a5a8(0x1f0)])('span',{'className':_0x14a5a8(0x94),'children':'⚙'})}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])('div',{'children':(0x0,_0x23712e['jsx'])('p',{'className':_0x14a5a8(0xb9),'children':_0x194580['t']('mcpConfig.description')})})]})}),(0x0,_0x23712e[_0x14a5a8(0x168)])('div',{'className':_0x14a5a8(0x1b1),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':(0x0,_0x4ee172[_0x14a5a8(0x14e)])(_0x14a5a8(0x1f9),_0x3d84ee(_0x150281,_0x2320b4)),'children':(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0xbb),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':(0x0,_0x4ee172[_0x14a5a8(0x14e)])(_0x14a5a8(0x93),_0x2309e4(_0x150281,_0x2320b4))}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])('span',{'className':_0x14a5a8(0x17e),'children':_0x4d544a(_0x150281)})]})}),_0x2320b4!==_0x23c1f9[_0x14a5a8(0x86)][_0x14a5a8(0x17c)]&&(_0x150281===_0x23c1f9[_0x14a5a8(0xee)]['FAILED']||_0x2320b4===_0x23c1f9[_0x14a5a8(0x86)][_0x14a5a8(0x1e7)])&&(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x185),'children':(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x13b),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x167),{'className':_0x14a5a8(0xff),'children':'⚠️'}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x147c8e(_0x2320b4)})]})})]}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':(0x0,_0x23712e[_0x14a5a8(0x168)])('div',{'className':_0x14a5a8(0x1e4),'children':[(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x14a),'children':[(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x7b),{'className':_0x14a5a8(0xe4),'children':[(0x0,_0x23712e['jsx'])('span',{'children':'🔑'}),'\x20',_0x194580['t'](_0x14a5a8(0x137)),(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x167),{'className':_0x14a5a8(0xbd),'children':'*'}),_0xf74bca&&(0x0,_0x23712e['jsx'])('a',{'className':_0x14a5a8(0x12b),'title':_0x194580['t'](_0x14a5a8(0x98)),'role':_0x14a5a8(0x92),'onClick':()=>_0x157112(!0x0),'children':(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x474549,{})})]}),(0x0,_0x23712e['jsx'])(_0x4ee172[_0x14a5a8(0x18b)],{'type':_0x14a5a8(0x76),'placeholder':_0x194580['t'](_0x14a5a8(0x9e)),'value':_0x4108ac,'disabled':_0x4bc868,'autoComplete':_0x14a5a8(0xb4),'onChange':_0x4d66fb}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])('p',{'className':_0x14a5a8(0x11e),'children':_0x194580['t'](_0x14a5a8(0x158))})]}),_0xf74bca&&_0x752b4&&(0x0,_0x23712e[_0x14a5a8(0x168)])('div',{'className':_0x14a5a8(0x119),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])('a',{'className':'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','role':_0x14a5a8(0x92),'onClick':()=>_0x157112(!0x1),'children':(0x0,_0x23712e['jsx'])(_0x31efd6,{'className':_0x14a5a8(0x193)})}),(0x0,_0x23712e['jsxs'])(_0x14a5a8(0x1f8),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':'univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','children':(0x0,_0x23712e['jsx'])('span',{'className':_0x14a5a8(0x1c7),'children':'🚀'})}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x7a),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])('h4',{'className':_0x14a5a8(0x203),'children':_0x194580['t'](_0x14a5a8(0x98))}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])('p',{'className':_0x14a5a8(0xdd),'children':_0x194580['t'](_0x14a5a8(0xc8))}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x118),'children':_0x299e08&&(0x0,_0x23712e[_0x14a5a8(0x168)])('a',{'className':_0x14a5a8(0x102),'href':_0xbfab1b,'target':'_blank','rel':_0x14a5a8(0x1b3),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x167),{'children':'🤖'}),_0x194580['t']('mcpConfig.apiApplyInfo.univerAiLabel'),(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x167),{'className':'univer-text-gray-400','children':'↗'})]})}),(0x0,_0x23712e['jsxs'])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x152),'children':['✨','\x20',_0x194580['t'](_0x14a5a8(0x1eb))]})]})]})]}),_0x340a50['showDeveloperTools']&&(0x0,_0x23712e['jsxs'])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x145),'children':[(0x0,_0x23712e[_0x14a5a8(0x168)])('h4',{'className':_0x14a5a8(0x12d),'children':[(0x0,_0x23712e['jsx'])(_0x14a5a8(0x167),{'children':'🔗'}),'\x20',_0x194580['t'](_0x14a5a8(0x176))]}),(0x0,_0x23712e['jsxs'])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x125),'children':[(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x17f),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x194580['t'](_0x14a5a8(0xc1))}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x14a),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x194580['t']('mcpConfig.configStepTitle')}),(0x0,_0x23712e['jsxs'])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x111),'children':[(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x23712e['jsx'])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'1'}),_0x194580['t'](_0x14a5a8(0xe3))]}),(0x0,_0x23712e[_0x14a5a8(0x168)])('div',{'className':_0x14a5a8(0xbb),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])('span',{'className':_0x14a5a8(0xb3),'children':'2'}),_0x194580['t'](_0x14a5a8(0xce))]}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x194580['t'](_0x14a5a8(0x14f))]})]})]})]}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x14a),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x1cd),'children':_0x14a5a8(0xa4)}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])('div',{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0xc3),{'className':_0x14a5a8(0x1c4),'children':JSON[_0x14a5a8(0x1cc)]({'mcpServers':{'univer':{'url':_0x14a5a8(0x198)+(_0x1f3779||'<SESSION_ID>'),'type':_0x14a5a8(0x1c6),'headers':{'Authorization':_0x14a5a8(0x13f)+(_0x4108ac||_0x14a5a8(0x156))}}}},null,0x2)})})]}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x17f),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x1cd),'children':_0x194580['t'](_0x14a5a8(0xc0))}),(0x0,_0x23712e[_0x14a5a8(0x168)])('div',{'className':'univer-space-y-2','children':[(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x8c),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x10a),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])('div',{'className':_0x14a5a8(0x1ef),'children':_0x14a5a8(0x1c0)}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x11e),'children':_0x194580['t'](_0x14a5a8(0x8e))})]})]}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x8d)}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x10a),'children':[(0x0,_0x23712e['jsx'])('div',{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x14a5a8(0xc2)}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x11e),'children':_0x194580['t'](_0x14a5a8(0x1a6))})]})]})]})]})]})]}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x4ee172['Button'],{'onClick':_0x1f9fb9,'disabled':!_0x50922c||_0x4bc868,'className':'univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','children':_0x4bc868?(0x0,_0x23712e[_0x14a5a8(0x168)])('span',{'className':_0x14a5a8(0xbb),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x167),{'children':'⟲'}),_0x194580['t'](_0x14a5a8(0x130))]}):(0x0,_0x23712e['jsxs'])(_0x14a5a8(0x167),{'className':_0x14a5a8(0xbb),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x15de38,{}),_0x194580['t'](_0x14a5a8(0xca))]})}),(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0xd8),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x167),{'className':_0x14a5a8(0xe1),'children':'💡'}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0xb0),'children':[(0x0,_0x23712e[_0x14a5a8(0x1f0)])(_0x14a5a8(0x1f8),{'className':_0x14a5a8(0x121),'children':'Configuration\x20Notes:'}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'children':['•',_0x194580['t']('mcpConfig.note1')]}),(0x0,_0x23712e[_0x14a5a8(0x168)])(_0x14a5a8(0x1f8),{'children':['•',_0x194580['t']('mcpConfig.note2')]})]})]})})]})})]});}let _0x14a9a6='mcp-ui.config';Symbol(_0x14a9a6);let _0x16265d={'showDeveloperTools':!0x1,'showStatus':!0x0};function _0x3137db(_0x31a45c){'@babel/helpers - typeof';const _0x92cdb6=_0x15014b;return _0x3137db=typeof Symbol==_0x92cdb6(0xec)&&typeof Symbol['iterator']=='symbol'?function(_0x24ee68){return typeof _0x24ee68;}:function(_0x18d70e){const _0x2490cb=_0x92cdb6;return _0x18d70e&&typeof Symbol=='function'&&_0x18d70e[_0x2490cb(0x12f)]===Symbol&&_0x18d70e!==Symbol[_0x2490cb(0x202)]?_0x2490cb(0xe5):typeof _0x18d70e;},_0x3137db(_0x31a45c);}function _0x4a5406(_0x4ee868,_0x27f275){const _0x237314=_0x15014b;if(_0x3137db(_0x4ee868)!=_0x237314(0x1ea)||!_0x4ee868)return _0x4ee868;var _0x2de035=_0x4ee868[Symbol[_0x237314(0x1da)]];if(_0x2de035!==void 0x0){var _0x3c3df3=_0x2de035['call'](_0x4ee868,_0x27f275||_0x237314(0x1db));if(_0x3137db(_0x3c3df3)!=_0x237314(0x1ea))return _0x3c3df3;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x27f275==='string'?String:Number)(_0x4ee868);}function _0x53e5c6(_0x5787ec){const _0x74e3c6=_0x15014b;var _0x224f39=_0x4a5406(_0x5787ec,_0x74e3c6(0x183));return _0x3137db(_0x224f39)==_0x74e3c6(0xe5)?_0x224f39:_0x224f39+'';}function _0x407c35(_0xa8029e,_0x1ba334,_0x5df767){return(_0x1ba334=_0x53e5c6(_0x1ba334))in _0xa8029e?Object['defineProperty'](_0xa8029e,_0x1ba334,{'value':_0x5df767,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xa8029e[_0x1ba334]=_0x5df767,_0xa8029e;}function _0x4df38f(_0x354153,_0x1f9973){return function(_0x56c56c,_0x3f813c){_0x1f9973(_0x56c56c,_0x3f813c,_0x354153);};}function _0x1852b0(_0x461d55,_0x2e65ca,_0x1e3bfc,_0x17fe4f){const _0x56fcd8=_0x15014b;var _0x5523de=arguments['length'],_0x159a15=_0x5523de<0x3?_0x2e65ca:_0x17fe4f===null?_0x17fe4f=Object[_0x56fcd8(0xcd)](_0x2e65ca,_0x1e3bfc):_0x17fe4f,_0x19a83e;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x56fcd8(0xec))_0x159a15=Reflect[_0x56fcd8(0x1a0)](_0x461d55,_0x2e65ca,_0x1e3bfc,_0x17fe4f);else{for(var _0x286f07=_0x461d55[_0x56fcd8(0xd4)]-0x1;_0x286f07>=0x0;_0x286f07--)(_0x19a83e=_0x461d55[_0x286f07])&&(_0x159a15=(_0x5523de<0x3?_0x19a83e(_0x159a15):_0x5523de>0x3?_0x19a83e(_0x2e65ca,_0x1e3bfc,_0x159a15):_0x19a83e(_0x2e65ca,_0x1e3bfc))||_0x159a15);}return _0x5523de>0x3&&_0x159a15&&Object[_0x56fcd8(0x1a1)](_0x2e65ca,_0x1e3bfc,_0x159a15),_0x159a15;}let _0xd5cbaa=_0x15014b(0x179),_0x45096b=_0x15014b(0xcf),_0x5ea3d0=class extends _0x13cad6[_0x15014b(0x113)]{constructor(_0x444e52,_0x245962,_0x4f5cbc,_0x2bf769,_0x40c8a4,_0x2b08cc,_0xd23fa0,_0x3fe701,_0x360e68,_0xfc9b45){const _0x11ca8a=_0x15014b;super(),this['_injector']=_0x444e52,this[_0x11ca8a(0x71)]=_0x245962,this[_0x11ca8a(0xd6)]=_0x4f5cbc,this[_0x11ca8a(0x112)]=_0x2bf769,this['_dialogService']=_0x40c8a4,this[_0x11ca8a(0x171)]=_0x2b08cc,this[_0x11ca8a(0x1b5)]=_0xd23fa0,this[_0x11ca8a(0x1f7)]=_0x3fe701,this['_logService']=_0x360e68,this[_0x11ca8a(0x1f5)]=_0xfc9b45,_0x407c35(this,_0x11ca8a(0x16d),new _0x866f4d[(_0x11ca8a(0x13d))](!0x1)),_0x407c35(this,_0x11ca8a(0x115),new _0x866f4d[(_0x11ca8a(0x13d))]({})),_0x407c35(this,_0x11ca8a(0x162),new _0x866f4d[(_0x11ca8a(0x13d))]({})),_0x407c35(this,'_apiKey$',new _0x866f4d[(_0x11ca8a(0x13d))]('')),_0x407c35(this,'_handleConfigSave',async _0x14a03f=>{const _0x2221b1=_0x11ca8a;this['_loading$'][_0x2221b1(0x9c)](!0x0);try{var _0x1d550b,_0x28d9c5;let _0x298587=await this['_validateConfig'](_0x14a03f);if(!_0x298587[_0x2221b1(0x74)]){this[_0x2221b1(0x171)]['show']({'type':_0x4ee172[_0x2221b1(0x135)][_0x2221b1(0xdf)],'content':_0x298587[_0x2221b1(0x181)]||this[_0x2221b1(0x1f7)]['t'](_0x2221b1(0x15d))});return;}_0x14a03f[_0x2221b1(0x129)]?await this['_localStorageService'][_0x2221b1(0xe0)](_0xd5cbaa,_0x14a03f[_0x2221b1(0x129)][_0x2221b1(0xf9)]()):await this[_0x2221b1(0x112)][_0x2221b1(0x165)](_0xd5cbaa),this[_0x2221b1(0x19d)][_0x2221b1(0x9c)](((_0x1d550b=_0x14a03f[_0x2221b1(0x129)])==null?void 0x0:_0x1d550b['trim']())||''),this[_0x2221b1(0x1f5)][_0x2221b1(0x91)]({'Authorization':_0x2221b1(0x13f)+((_0x28d9c5=_0x14a03f['apiKey'])==null?void 0x0:_0x28d9c5[_0x2221b1(0xf9)]())}),this[_0x2221b1(0x171)][_0x2221b1(0x1f3)]({'type':_0x4ee172[_0x2221b1(0x135)]['Success'],'content':this[_0x2221b1(0x1f7)]['t'](_0x2221b1(0xbf))}),setTimeout(()=>{this['_dialogService']['close'](_0x45096b);},0x320);}catch(_0x45f260){this[_0x2221b1(0x1af)][_0x2221b1(0x8b)](_0x2221b1(0xba),_0x45f260),this[_0x2221b1(0x171)][_0x2221b1(0x1f3)]({'type':_0x4ee172['MessageType'][_0x2221b1(0xdf)],'content':this[_0x2221b1(0x1f7)]['t'](_0x2221b1(0x1de))});}finally{this[_0x2221b1(0x16d)][_0x2221b1(0x9c)](!0x1);}}),this[_0x11ca8a(0x83)](),this[_0x11ca8a(0x7d)](),this['_registerComponent']();}[_0x15014b(0x195)](){const _0x41e2c2=_0x15014b;let _0x1365ed=this[_0x41e2c2(0xd6)][_0x41e2c2(0x77)](_0x14a9a6);_0x1365ed!=null&&_0x1365ed[_0x41e2c2(0x189)]&&this[_0x41e2c2(0x15f)][_0x41e2c2(0x1cb)]({'id':_0x45096b,'title':{'title':this[_0x41e2c2(0x1f7)]['t'](_0x41e2c2(0xdc))},'children':{'label':_0x41e2c2(0x84)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3153f3=_0x41e2c2;this[_0x3153f3(0x15f)][_0x3153f3(0x18e)](_0x45096b);}});}['getCurrentConfig'](){const _0x5f572c=_0x15014b;return this[_0x5f572c(0x115)][_0x5f572c(0x12e)];}[_0x15014b(0x104)](){const _0x385a6e=_0x15014b;this[_0x385a6e(0x9f)](this[_0x385a6e(0x1b5)]['register']('MCPConfigPanel',this[_0x385a6e(0xa2)]()));}['_createConfigPanelComponent'](){const _0x4f5272=_0x15014b;return(0x0,_0x5b1179[_0x4f5272(0x19a)])(()=>{const _0x4ef594=_0x4f5272;var _0x55e814,_0x33e454,_0x2a779f;return(0x0,_0x23712e['jsx'])(_0x13569d,{'config':this[_0x4ef594(0x162)]['value'],'mcpCoreConfig':this[_0x4ef594(0x115)]['value'],'currentApiKey$':this[_0x4ef594(0x19d)],'onSave':this['_handleConfigSave'],'loading':this[_0x4ef594(0x16d)][_0x4ef594(0x12e)],'connectionStatus$':(_0x55e814=this['_mcpConnectionController'])==null?void 0x0:_0x55e814[_0x4ef594(0x1aa)],'connectionError$':(_0x33e454=this['_mcpConnectionController'])==null?void 0x0:_0x33e454[_0x4ef594(0xf3)],'currentSessionId$':(_0x2a779f=this[_0x4ef594(0x1f5)])==null?void 0x0:_0x2a779f[_0x4ef594(0x133)]});},this[_0x4f5272(0x15a)]);}[_0x15014b(0x83)](){const _0x19fb87=_0x15014b;this[_0x19fb87(0x9f)](this['_configService'][_0x19fb87(0xc5)](_0x23c1f9[_0x19fb87(0x148)])[_0x19fb87(0x1be)](_0x336b19=>{const _0x5d75a7=_0x19fb87;this[_0x5d75a7(0x115)][_0x5d75a7(0x9c)](_0x336b19||{});}));let _0x578125=this['_configService'][_0x19fb87(0x77)](_0x23c1f9[_0x19fb87(0x148)]);this[_0x19fb87(0x115)][_0x19fb87(0x9c)](_0x578125||{}),this[_0x19fb87(0x9f)](this[_0x19fb87(0xd6)][_0x19fb87(0xc5)](_0x14a9a6)[_0x19fb87(0x1be)](_0x23307b=>{const _0x3fc342=_0x19fb87;this[_0x3fc342(0x162)][_0x3fc342(0x9c)](_0x23307b||{});}));let _0xae5416=this['_configService'][_0x19fb87(0x77)](_0x14a9a6);this[_0x19fb87(0x162)][_0x19fb87(0x9c)](_0xae5416||{});}async[_0x15014b(0x7d)](){const _0x444847=_0x15014b;let _0x4f0f07=this[_0x444847(0xd6)]['getConfig'](_0x14a9a6);if(!(_0x4f0f07!=null&&_0x4f0f07[_0x444847(0x189)]))return;let _0x239fcc=await this[_0x444847(0x112)][_0x444847(0x127)](_0xd5cbaa);_0x239fcc&&(this['_mcpConnectionController']['__setCustomHeaders']({'Authorization':'Bearer\x20'+_0x239fcc}),this[_0x444847(0x19d)][_0x444847(0x9c)](_0x239fcc));}async['_validateConfig'](_0x92ef4a){const _0x19a1e3=_0x15014b;if(!_0x92ef4a['apiKey']||_0x92ef4a['apiKey'][_0x19a1e3(0xf9)]()['length']===0x0)return{'isValid':!0x1,'errorMessage':this[_0x19a1e3(0x1f7)]['t'](_0x19a1e3(0x1c1))};if(_0x92ef4a['apiKey']['trim']()[_0x19a1e3(0xd4)]<0xa)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x19a1e3(0x96))};try{let _0x46d165=await this[_0x19a1e3(0x15a)][_0x19a1e3(0xa9)](_0x23c1f9['MCPConnectionController'])['validateApiKey'](_0x92ef4a[_0x19a1e3(0x129)][_0x19a1e3(0xf9)]());return _0x46d165['isValid']?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x46d165[_0x19a1e3(0x8b)]||this[_0x19a1e3(0x1f7)]['t'](_0x19a1e3(0x10d))};}catch(_0x1b8dbb){return console[_0x19a1e3(0x1ac)](_0x19a1e3(0xfc),_0x1b8dbb),{'isValid':!0x0};}}};_0x5ea3d0=_0x1852b0([_0x4df38f(0x0,(0x0,_0x13cad6[_0x15014b(0x109)])(_0x13cad6[_0x15014b(0xfa)])),_0x4df38f(0x1,_0x5b1179[_0x15014b(0xf7)]),_0x4df38f(0x2,_0x13cad6[_0x15014b(0x1d0)]),_0x4df38f(0x3,_0x13cad6[_0x15014b(0x1dd)]),_0x4df38f(0x4,_0x5b1179[_0x15014b(0x10c)]),_0x4df38f(0x5,_0x5b1179[_0x15014b(0xc6)]),_0x4df38f(0x6,(0x0,_0x13cad6['Inject'])(_0x5b1179['ComponentManager'])),_0x4df38f(0x7,(0x0,_0x13cad6[_0x15014b(0x109)])(_0x13cad6['LocaleService'])),_0x4df38f(0x8,_0x13cad6[_0x15014b(0x19c)]),_0x4df38f(0x9,(0x0,_0x13cad6[_0x15014b(0x109)])(_0x23c1f9[_0x15014b(0x155)]))],_0x5ea3d0);let _0x5eeebf={'id':_0x15014b(0xeb),'type':_0x13cad6['CommandType'][_0x15014b(0x131)],'handler':async(_0x118523,_0x429c6b)=>(_0x118523['get'](_0x5ea3d0)[_0x15014b(0x195)](),!0x0)};function _0x5f0c1c(_0x284471,_0x9027fc){const _0x4a7865=_0x15014b;switch(_0x284471){case _0x23c1f9[_0x4a7865(0xee)]['DISCONNECTED']:return _0x4a7865(0x14b);case _0x23c1f9[_0x4a7865(0xee)][_0x4a7865(0xe9)]:return _0x4a7865(0x126);case _0x23c1f9[_0x4a7865(0xee)][_0x4a7865(0x10e)]:return _0x4a7865(0x1f4);case _0x23c1f9['MCPConnectionStatus'][_0x4a7865(0x78)]:switch(_0x9027fc){case _0x23c1f9['MCPConnectionError']['UNAUTHORIZED']:return'mcpStatus.unauthorized';case _0x23c1f9[_0x4a7865(0x86)][_0x4a7865(0x1e3)]:return _0x4a7865(0xf6);case _0x23c1f9[_0x4a7865(0x86)]['NETWORK_ERROR']:return _0x4a7865(0x197);case _0x23c1f9[_0x4a7865(0x86)]['MAX_RETRIES_EXCEEDED']:return _0x4a7865(0x17d);default:return _0x4a7865(0x1fb);}case _0x23c1f9[_0x4a7865(0xee)][_0x4a7865(0x10f)]:return _0x4a7865(0x11f);default:return _0x4a7865(0x201);}}function _0x30f97b(_0x55d997,_0x259a48,_0x18557f,_0x297a64=!0x0){const _0x76c40b=_0x15014b;let _0x8a6f91=_0x5f0c1c(_0x55d997,_0x259a48),_0x49d18d=_0x18557f['t'](_0x8a6f91);return _0x297a64?_0x55d997===_0x23c1f9[_0x76c40b(0xee)]['DISCONNECTED']&&_0x259a48===_0x23c1f9['MCPConnectionError'][_0x76c40b(0x1e7)]?_0x49d18d+_0x76c40b(0x11d)+_0x18557f['t'](_0x76c40b(0x1bd)):_0x55d997===_0x23c1f9[_0x76c40b(0xee)][_0x76c40b(0x10e)]?''+_0x49d18d:_0x55d997===_0x23c1f9['MCPConnectionStatus']['DISCONNECTED']||_0x55d997===_0x23c1f9['MCPConnectionStatus'][_0x76c40b(0x78)]?_0x49d18d+'\x20-\x20'+_0x18557f['t'](_0x76c40b(0x147)):_0x49d18d:_0x49d18d;}function _0x5579ed(_0x23098b){const _0x5e54fb=_0x15014b;switch(_0x23098b){case _0x23c1f9['MCPConnectionStatus'][_0x5e54fb(0x10e)]:return _0x5e54fb(0xb6);case _0x23c1f9[_0x5e54fb(0xee)][_0x5e54fb(0xe9)]:case _0x23c1f9[_0x5e54fb(0xee)][_0x5e54fb(0x10f)]:return'univer-text-yellow-500';case _0x23c1f9[_0x5e54fb(0xee)][_0x5e54fb(0x78)]:case _0x23c1f9[_0x5e54fb(0xee)]['DISCONNECTED']:return'univer-text-red-500';default:return'univer-text-gray-500';}}function _0x111427(_0x586bf4){const _0xc17d8c=_0x15014b;let {status$:_0x1e8abc,error$:_0x4e50e5,onConfigure:_0x5822dc,showClickable:_0x63d14=!0x0}=_0x586bf4,_0x54f972=(0x0,_0x5b1179[_0xc17d8c(0x16a)])(_0x1e8abc,_0x23c1f9[_0xc17d8c(0xee)][_0xc17d8c(0x1ab)]),_0x242d95=(0x0,_0x5b1179[_0xc17d8c(0x16a)])(_0x4e50e5,_0x23c1f9[_0xc17d8c(0x86)][_0xc17d8c(0x17c)]),_0x5cdc5b=(0x0,_0x5b1179[_0xc17d8c(0x8f)])(_0x13cad6[_0xc17d8c(0x1e9)]),_0x5c756d=_0x54f972===_0x23c1f9[_0xc17d8c(0xee)][_0xc17d8c(0x10e)];_0x54f972===_0x23c1f9[_0xc17d8c(0xee)][_0xc17d8c(0xe9)]||_0x23c1f9['MCPConnectionStatus'][_0xc17d8c(0x10f)];let _0x1292d5=_0x5cdc5b['t'](_0x5f0c1c(_0x54f972,_0x242d95)),_0x2ee9af=_0x30f97b(_0x54f972,_0x242d95,_0x5cdc5b,_0x63d14),_0x372083=_0x5579ed(_0x54f972),_0x2ddc5a=_0x5c756d?(0x0,_0x23712e[_0xc17d8c(0x1f0)])(_0x252d3d,{}):(0x0,_0x23712e[_0xc17d8c(0x1f0)])(_0x5099b1,{}),_0x2d244f=(0x0,_0x557e69['useCallback'])(()=>{_0x63d14&&_0x5822dc&&_0x5822dc();},[_0x63d14,_0x5822dc]);function _0x103ced(){const _0x35944c=_0xc17d8c;return(0x0,_0x23712e[_0x35944c(0x168)])('div',{'className':(0x0,_0x4ee172['clsx'])(_0x35944c(0x122),_0x63d14&&_0x5822dc&&_0x35944c(0x173)),'role':_0x35944c(0x92),'onClick':_0x63d14&&_0x5822dc?_0x2d244f:void 0x0,'children':[(0x0,_0x23712e[_0x35944c(0x1f0)])(_0x35944c(0x1f8),{'className':(0x0,_0x4ee172[_0x35944c(0x14e)])(_0x35944c(0x1ca),_0x372083),'children':_0x2ddc5a}),(0x0,_0x23712e[_0x35944c(0x1f0)])(_0x35944c(0x1f8),{'className':_0x35944c(0x184),'children':_0x1292d5})]});}return(0x0,_0x23712e[_0xc17d8c(0x1f0)])(_0x4ee172[_0xc17d8c(0x7c)],{'title':_0x2ee9af,'placement':_0xc17d8c(0xad),'children':_0x103ced()});}let _0x2c51ca=class extends _0x13cad6[_0x15014b(0x113)]{constructor(_0x3a9bda,_0x435d64,_0x142970,_0x156a5f){const _0x5d2c14=_0x15014b;super(),this[_0x5d2c14(0x15a)]=_0x3a9bda,this['_connectionController']=_0x435d64,this[_0x5d2c14(0x71)]=_0x142970,this[_0x5d2c14(0xd6)]=_0x156a5f,this['_initAutoConnect'](),this[_0x5d2c14(0x1fc)]();}['_initAutoConnect'](){const _0x3fa45e=_0x15014b;let _0x31b8a5=this[_0x3fa45e(0xd6)][_0x3fa45e(0x77)](_0x14a9a6);_0x31b8a5!=null&&_0x31b8a5['showDeveloperTools']&&(this['_connectionController'][_0x3fa45e(0xdb)]=!0x1);}['_initStatusComponent'](){const _0x8cdc9e=_0x15014b;let _0x43b74f=this[_0x8cdc9e(0xd6)]['getConfig'](_0x14a9a6);(_0x43b74f==null?void 0x0:_0x43b74f['showStatus'])!==!0x1&&this[_0x8cdc9e(0x9f)](this[_0x8cdc9e(0x71)][_0x8cdc9e(0x87)](_0x5b1179['BuiltInUIPart'][_0x8cdc9e(0x1f2)],()=>{const _0x5e3e79=_0x8cdc9e;var _0x3bf2e4;return(0x0,_0x5b1179[_0x5e3e79(0x19a)])(_0x3630b2({'status$':this[_0x5e3e79(0xf5)][_0x5e3e79(0x1aa)],'error$':this[_0x5e3e79(0xf5)][_0x5e3e79(0xf3)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x3bf2e4=_0x43b74f==null?void 0x0:_0x43b74f['showDeveloperTools'])==null?!0x1:_0x3bf2e4}),this[_0x5e3e79(0x15a)]);}));}[_0x15014b(0x9d)](){const _0x4f9e7d=_0x15014b;this[_0x4f9e7d(0x15a)][_0x4f9e7d(0xa9)](_0x5ea3d0)[_0x4f9e7d(0x195)]();}};_0x2c51ca=_0x1852b0([_0x4df38f(0x0,(0x0,_0x13cad6[_0x15014b(0x109)])(_0x13cad6[_0x15014b(0xfa)])),_0x4df38f(0x1,(0x0,_0x13cad6[_0x15014b(0x109)])(_0x23c1f9[_0x15014b(0x155)])),_0x4df38f(0x2,_0x5b1179[_0x15014b(0xf7)]),_0x4df38f(0x3,_0x13cad6[_0x15014b(0x1d0)])],_0x2c51ca);function _0x3630b2(_0x899e50){let {status$:_0x3f9774,error$:_0x2fee63,onConfigure:_0x5028e0,showClickable:_0x102d00}=_0x899e50;return function(){return(0x0,_0x23712e['jsx'])(_0x111427,{'status$':_0x3f9774,'error$':_0x2fee63,'onConfigure':_0x5028e0,'showClickable':_0x102d00});};}function _0x13b7eb(_0xa5e12a){const _0x213e96=_0x15014b;return{'id':_0x5eeebf['id'],'type':_0x5b1179[_0x213e96(0x16c)][_0x213e96(0xfb)],'icon':_0x213e96(0x196),'title':_0x213e96(0xdc),'tooltip':_0x213e96(0xdc)};}let _0x47e285={[_0x5b1179[_0x15014b(0xb8)][_0x15014b(0xa7)]]:{[_0x5eeebf['id']]:{'order':0xa,'menuItemFactory':_0x13b7eb}}},_0x17eac9=class extends _0x13cad6['Disposable']{constructor(_0x5e5ae0,_0x1d436a){const _0x28380f=_0x15014b;super(),this[_0x28380f(0xb1)]=_0x5e5ae0,this['_menuManagerService']=_0x1d436a,this[_0x28380f(0x180)](),this[_0x28380f(0x1c3)]();}[_0x15014b(0x180)](){const _0x3c0ebd=_0x15014b;[_0x5eeebf][_0x3c0ebd(0x150)](_0x2a6858=>{const _0x508984=_0x3c0ebd;this[_0x508984(0x9f)](this['_commandService'][_0x508984(0xcc)](_0x2a6858));});}['_initializeMenus'](){const _0x7ce5de=_0x15014b;this[_0x7ce5de(0xd0)][_0x7ce5de(0x106)](_0x47e285);}};_0x17eac9=_0x1852b0([_0x4df38f(0x0,_0x13cad6[_0x15014b(0x1e1)]),_0x4df38f(0x1,_0x5b1179[_0x15014b(0x188)])],_0x17eac9);let _0x49d299={'mcpStatus':{'disconnected':_0x15014b(0x1c2),'connecting':'MCP\x20Connecting...','connected':_0x15014b(0x1f1),'failed':_0x15014b(0xa3),'retrying':'MCP\x20Retrying...','unknown':_0x15014b(0xed),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x15014b(0x1d9),'maxRetriesExceeded':_0x15014b(0x14d),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x15014b(0x160)},'mcpConfig':{'title':_0x15014b(0xa4),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x15014b(0x15c),'apiKeyHint':_0x15014b(0x13a),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x15014b(0xd5),'connectionInfo':_0x15014b(0x89),'mcpClientConfig':_0x15014b(0x89),'configInstructions':_0x15014b(0x95),'configStepTitle':_0x15014b(0x1d7),'configStep1':_0x15014b(0x1ed),'configStep2':_0x15014b(0x1dc),'configStep3':_0x15014b(0x105),'sessionId':_0x15014b(0x192),'sessionIdDescription':_0x15014b(0x15b),'authorizationDescription':_0x15014b(0x97),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x15014b(0x1a2),'save':'Save\x20Configuration','saving':_0x15014b(0x1c9),'note1':_0x15014b(0x1ff),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x15014b(0x128),'configError':_0x15014b(0xf4),'apiApplyInfo':{'title':_0x15014b(0x194),'description':_0x15014b(0x166),'univerAiLabel':_0x15014b(0x1b7),'getStarted':_0x15014b(0x1bb)},'validation':{'apiKeyRequired':_0x15014b(0x177),'apiKeyTooShort':_0x15014b(0x100),'invalidConfig':_0x15014b(0xf8),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x15014b(0x8a),'failed':_0x15014b(0xaa),'retrying':_0x15014b(0x164)},'connectionError':{'unauthorized':_0x15014b(0x7f),'sessionOccupied':_0x15014b(0x182),'networkError':_0x15014b(0x1ad),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},_0x134e7e={'mcpStatus':{'disconnected':_0x15014b(0xd7),'connecting':'MCP\x20连接中...','connected':_0x15014b(0x199),'failed':'MCP\x20连接失败','retrying':_0x15014b(0x1a4),'unknown':_0x15014b(0x186),'unauthorized':_0x15014b(0x110),'sessionOccupied':'MCP:\x20会话\x20ID\x20已被占用','networkError':_0x15014b(0xc7),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x15014b(0x1ba),'clickToConfigure':_0x15014b(0x1a8)},'mcpConfig':{'title':_0x15014b(0xa5),'description':_0x15014b(0xe8),'apiKey':_0x15014b(0x178),'apiKeyPlaceholder':_0x15014b(0x1d2),'apiKeyHint':_0x15014b(0x187),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x15014b(0x1d3),'configInstructions':_0x15014b(0x9b),'configStepTitle':_0x15014b(0x151),'configStep1':_0x15014b(0x174),'configStep2':_0x15014b(0xd9),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x15014b(0x143),'sessionIdDescription':_0x15014b(0x18a),'authorizationDescription':_0x15014b(0x73),'configParameters':_0x15014b(0x1a5),'maxRetries':_0x15014b(0x157),'save':_0x15014b(0x1c5),'saving':_0x15014b(0xd2),'note1':_0x15014b(0xf2),'note2':_0x15014b(0x153),'configSaved':'配置保存成功','configError':_0x15014b(0x101),'apiApplyInfo':{'title':_0x15014b(0x1d8),'description':_0x15014b(0x191),'univerAiLabel':_0x15014b(0xa6),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x15014b(0xea),'invalidConfig':_0x15014b(0xa8),'invalidApiKey':_0x15014b(0x1d5)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x15014b(0x124),'failed':'连接失败','retrying':_0x15014b(0x146)},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x15014b(0xe2),'networkError':_0x15014b(0x149),'maxRetriesExceeded':_0x15014b(0x7e)}}};var _0x1c51f1=_0x15014b(0x1ec),_0x12fc1c=_0x15014b(0x1fe);let _0x229321=class extends _0x13cad6['Plugin']{constructor(_0x4c58a1=_0x16265d,_0x2c803e,_0x35b374,_0x1fa006,_0x1ec19c,_0x47843d){const _0x14a38c=_0x15014b;super(),this[_0x14a38c(0x16f)]=_0x4c58a1,this[_0x14a38c(0x15a)]=_0x2c803e,this[_0x14a38c(0xd6)]=_0x35b374,this['_uiPartsService']=_0x1fa006,this[_0x14a38c(0x112)]=_0x1ec19c,this[_0x14a38c(0x1f7)]=_0x47843d;let {..._0x883824}=(0x0,_0x13cad6['merge'])({},_0x16265d,this[_0x14a38c(0x16f)]);this[_0x14a38c(0xd6)][_0x14a38c(0x1cf)](_0x14a9a6,_0x883824);}async[_0x15014b(0x1e0)](){const _0x4cf826=_0x15014b;let _0x514571=[[_0x2c51ca],[_0x5ea3d0],[_0x17eac9]];this[_0x4cf826(0x15a)]['has'](_0x11d426[_0x4cf826(0xb5)])||_0x514571['push']([_0x11d426[_0x4cf826(0xb5)],{'useClass':_0x11d426[_0x4cf826(0xbc)]}]),_0x514571[_0x4cf826(0x150)](_0x5dcd8d=>this[_0x4cf826(0x15a)][_0x4cf826(0x1d4)](_0x5dcd8d)),this[_0x4cf826(0x15a)][_0x4cf826(0xa9)](_0x2c51ca),this[_0x4cf826(0x15a)]['get'](_0x5ea3d0),this[_0x4cf826(0x15a)][_0x4cf826(0xa9)](_0x17eac9);}};_0x407c35(_0x229321,_0x15014b(0xe7),_0x15014b(0x139)),_0x407c35(_0x229321,_0x15014b(0x1bf),_0x1c51f1),_0x407c35(_0x229321,_0x15014b(0xa1),_0x12fc1c),_0x229321=_0x1852b0([(0x0,_0x13cad6[_0x15014b(0x1ee)])(_0x23c1f9[_0x15014b(0x1ae)]),_0x4df38f(0x1,(0x0,_0x13cad6['Inject'])(_0x13cad6[_0x15014b(0xfa)])),_0x4df38f(0x2,_0x13cad6[_0x15014b(0x1d0)]),_0x4df38f(0x3,_0x5b1179[_0x15014b(0xf7)]),_0x4df38f(0x4,_0x13cad6[_0x15014b(0x1dd)]),_0x4df38f(0x5,(0x0,_0x13cad6[_0x15014b(0x109)])(_0x13cad6[_0x15014b(0x1e9)]))],_0x229321),_0x5eb436['MCPConfigPanel']=_0x13569d,Object[_0x15014b(0x1a1)](_0x5eb436,_0x15014b(0x11a),{'enumerable':!0x0,'get':function(){return _0x5ea3d0;}}),Object[_0x15014b(0x1a1)](_0x5eb436,_0x15014b(0x1b2),{'enumerable':!0x0,'get':function(){return _0x2c51ca;}}),_0x5eb436[_0x15014b(0x169)]=_0x111427,Object['defineProperty'](_0x5eb436,'MCPUIMenuController',{'enumerable':!0x0,'get':function(){return _0x17eac9;}}),_0x5eb436[_0x15014b(0x117)]=_0x5eeebf,Object[_0x15014b(0x1a1)](_0x5eb436,_0x15014b(0x138),{'enumerable':!0x0,'get':function(){return _0x229321;}}),_0x5eb436[_0x15014b(0x161)]=_0x49d299,_0x5eb436['zhCN']=_0x134e7e;}));function _0x661d(_0x36bf61,_0x51ccc6){_0x36bf61=_0x36bf61-0x71;const _0x42fd11=_0x42fd();let _0x661d10=_0x42fd11[_0x36bf61];return _0x661d10;}function _0x42fd(){const _0x2c33ab=['_componentManager','@univerjs/ui','Univer\x20AI\x20Console','UniverUi','close-icon','点击连接\x20MCP','Get\x20your\x20API\x20key\x20in\x20seconds','tag','mcpStatus.clickToConfigure','subscribe','packageName','univer_session_id:','mcpConfig.validation.apiKeyRequired','MCP\x20Disconnected','_initializeMenus','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','保存配置','http','univer-text-blue-600','mcpConfig.connectionError.sessionOccupied','Saving...','univer-mr-2\x20univer-flex\x20univer-text-xl','open','stringify','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','currentColor','setConfig','IConfigService','41252MCmIdo','请输入您的\x20API\x20密钥','MCP\x20客户端配置','add','API\x20密钥无效,请检查密钥是否正确','svg','Configuration\x20Steps:','什么是\x20API\x20密钥?','MCP:\x20Network\x20Error','toPrimitive','default','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','ILocalStorageService','mcpConfig.configError','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','onStarting','ICommandService','amd','SESSION_ID_OCCUPIED','univer-space-y-5','mcpConfig.connectionError.networkError','@univerjs/design','UNAUTHORIZED','1097636wzbRyx','LocaleService','object','mcpConfig.apiApplyInfo.getStarted','@univerjs-pro/mcp-ui','Copy\x20the\x20JSON\x20configuration\x20below','DependentOn','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','jsx','MCP\x20Connected','HEADER_MENU','show','mcpStatus.connected','_mcpConnectionController','url(#off-line-icon_clip0_910_343)','_localeService','div','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','M0\x200H16V16H0z','mcpStatus.failed','_initStatusComponent','attrs','0.22.0','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','on-line-icon_clip0_910_349','mcpStatus.unknown','prototype','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','off-line-icon','_uiPartsService','mcpConfig.connectionStatus.retrying','带有\x20Bearer\x20前缀的\x20API\x20密钥。','isValid','forwardRef','text','getConfig','FAILED','mcpConfig.connectionError.unauthorized','univer-flex-1','label','Tooltip','_loadStoredApiKey','超出最大重试次数,请稍后再试','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','CloseIcon','mcpConfig.connectionStatus.disconnected','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_initConfigSync','MCPConfigPanel','UniverCore','MCPConnectionError','registerComponent','none','MCP\x20Client\x20Configuration','Connected','error','univer-flex\x20univer-items-start\x20univer-gap-3','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcpConfig.sessionIdDescription','useDependency','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','__setCustomHeaders','button','univer-size-2\x20univer-rounded-full','univer-text-white','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','mcpConfig.validation.apiKeyTooShort','API\x20key\x20with\x20Bearer\x20prefix.','mcpConfig.apiApplyInfo.title','toString','18XbBYKv','将以下配置添加到您的\x20MCP\x20客户端设置中:','next','_handleConfigure','mcpConfig.apiKeyPlaceholder','disposeWithMe','rxjs','version','_createConfigPanelComponent','MCP\x20Connection\x20Failed','MCP\x20Configuration','MCP\x20配置','Univer\x20AI\x20控制台','OTHERS','配置无效','get','Connection\x20Failed','https://console.univer.plus','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','bottom','CheckMarkIcon','xlink:href','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_commandService','UniverNetwork','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','off','ISocketService','univer-text-green-500','round','RibbonStartGroup','univer-text-sm\x20univer-text-gray-500','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-items-center\x20univer-gap-2','WebSocketService','univer-text-red-500','React','mcpConfig.configSaved','mcpConfig.configParameters','mcpConfig.configInstructions','Authorization:','pre','use','subscribeConfigValue$','IMessageService','MCP:\x20网络错误','mcpConfig.apiApplyInfo.description','colorChannel1','mcpConfig.save','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','registerCommand','getOwnPropertyDescriptor','mcpConfig.configStep2','mcp-config-dialog','_menuManagerService','mask','保存中...','NETWORK_ERROR','length','Enable\x20authentication\x20for\x20secure\x20connections','_configService','MCP\x20已断开','univer-flex\x20univer-gap-3','将配置添加到您的\x20MCP\x20客户端设置文件中','0\x200\x2016\x2016','enableAutoConnect','mcpConfig.title','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','fill','Error','setItem','univer-shrink-0\x20univer-text-blue-500','会话\x20ID\x20已被占用,请稍后再试','mcpConfig.configStep1','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','symbol','clipPath','pluginName','配置\x20MCP\x20使用\x20AI\x20操作电子表格','CONNECTING','API\x20密钥长度至少需要\x2010\x20位','mcp-ui.command.openConfigPanel','function','MCP\x20Unknown\x20Status','MCPConnectionStatus','toStringTag','idSuffix','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','配置更改将立即生效','connectionError$','Failed\x20to\x20save\x20configuration','_connectionController','mcpStatus.sessionOccupied','IUIPartsService','Invalid\x20configuration','trim','Injector','BUTTON','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','@univerjs/network','current','univer-shrink-0\x20univer-text-red-500','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','配置保存失败','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','path','_registerComponent','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','mergeMenu','evenodd','6949256JmqHTm','Inject','univer-min-w-0\x20univer-flex-1','defs','IDialogService','mcpConfig.validation.invalidApiKey','CONNECTED','RETRYING','MCP:\x20未授权','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','_localStorageService','Disposable','univerjs-icon\x20univerjs-icon-','_mcpCoreConfig$','exports','OpenMCPConfigPanelCommand','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','MCPConfigUIController','univer-bg-gray-500','1393007QgknVI','\x20-\x20','univer-text-xs\x20univer-text-gray-500','mcpStatus.retrying','substring','univer-font-medium','univer-flex\x20univer-items-center','mcpConfig.connectionStatus.connecting','已连接','univer-space-y-4','mcpStatus.connecting','getItem','Configuration\x20saved\x20successfully','apiKey','univer.ai','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','useState','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','value','constructor','mcpConfig.saving','COMMAND','url(#on-line-icon_clip0_910_349)','sessionId$','displayName','MessageType','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','mcpConfig.apiKey','UniverMCPUIPlugin','MCP_UI_PLUGIN','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','univer-flex\x20univer-items-start\x20univer-gap-2','children','BehaviorSubject','white','Bearer\x20','OffLineIcon','off-line-icon_clip0_910_343','1053390YPxEWe','会话ID','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','重连中...','mcpStatus.clickToConnect','MCP_PLUGIN_CONFIG_KEY','网络连接错误,请检查您的网络连接','univer-space-y-2','mcpStatus.disconnected','9NxtDid','MCP:\x20Max\x20Retries\x20Exceeded','clsx','mcpConfig.configStep3','forEach','配置步骤:','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','您的\x20API\x20密钥安全存储在本地存储中','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MCPConnectionController','<API_KEY>','最大重试次数','mcpConfig.apiKeyHint','1em','_injector','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enter\x20your\x20API\x20key','mcpConfig.validation.invalidConfig','OnLineIcon','_dialogService','Click\x20to\x20configure\x20MCP','enUS','_config$','createElement','Retrying...','removeItem','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','span','jsxs','MCPStatusDisplay','useObservable','includes','MenuItemType','_loading$','HelpIcon','_config','UniverProMcp','_messageService','351354fifgiW','\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','复制以下\x20JSON\x20配置','replace','mcpConfig.connectionInfo','API\x20key\x20is\x20required','API\x20密钥','mcp.apiKey','univer-flex\x20univer-items-center\x20univer-gap-3','1732555vGujiM','NONE','mcpStatus.maxRetriesExceeded','univer-text-sm\x20univer-font-medium','univer-space-y-3','_initializeCommands','errorMessage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','string','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','MCP\x20状态未知','您的\x20API\x20密钥将在此浏览器中本地存储','IMenuManagerService','showDeveloperTools','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Input','map','mcpServerUrl','close','react','univer-bg-blue-500','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','Session\x20ID','univer-size-4','What\x20is\x20API\x20Key?','showConfigPanel','MenuIcon','mcpStatus.networkError','https://mcp.univer.ai/mcp/?univer_session_id=','MCP\x20已连接','connectInjector','help-icon','ILogService','_apiKey$','useCallback','univer.plus','decorate','defineProperty','Max\x20Retries','univer-bg-red-500','MCP\x20重连中...','配置参数:','mcpConfig.authorizationDescription','on-line-icon','点击配置\x20MCP','assign','connectionStatus$','DISCONNECTED','warn','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','UniverMCPPlugin','_logService','https://console.univer.ai','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','MCPConnectionUIController','noopener\x20noreferrer','http://www.w3.org/2000/svg'];_0x42fd=function(){return _0x2c33ab;};return _0x42fd();}
@@ -1 +1 @@
1
- function _0x2191(){var _0x331974=['Max\x20Retries','16GVXETx','335545dAfyeJ','Saving...','exports','Save\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','API\x20Key','MCP:\x20Session\x20ID\x20Occupied','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20is\x20required','7827990HsooWm','MCP:\x20Unauthorized','MCP\x20Configuration','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Invalid\x20configuration','3IAJVyX','Click\x20to\x20configure\x20MCP','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Session\x20ID','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Retrying...','9316962dxJIoR','MCP\x20Connecting...','object','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Failed\x20to\x20save\x20configuration','76DbHsMf','Click\x20to\x20connect\x20MCP','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Retrying...','Univer\x20AI\x20Console','MCP\x20Connected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','amd','Enter\x20your\x20API\x20key','999607NgabEl','Enable\x20authentication\x20for\x20secure\x20connections','939765ciPTsn','1896282mzkeWm','MCP\x20Connection\x20Failed','22FezzoV','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20with\x20Bearer\x20prefix.','709474xfRyOX','Connection\x20Failed'];_0x2191=function(){return _0x331974;};return _0x2191();}function _0x5d26(_0x18cd0c,_0x1fa65c){_0x18cd0c=_0x18cd0c-0x136;var _0x2191c0=_0x2191();var _0x5d26db=_0x2191c0[_0x18cd0c];return _0x5d26db;}(function(_0x2d1f3d,_0xf004a9){var _0x507fba=_0x5d26,_0x5c767b=_0x2d1f3d();while(!![]){try{var _0x302bf4=-parseInt(_0x507fba(0x146))/0x1+parseInt(_0x507fba(0x14c))/0x2*(parseInt(_0x507fba(0x15f))/0x3)+-parseInt(_0x507fba(0x13a))/0x4*(parseInt(_0x507fba(0x150))/0x5)+-parseInt(_0x507fba(0x147))/0x6+parseInt(_0x507fba(0x144))/0x7*(parseInt(_0x507fba(0x14f))/0x8)+parseInt(_0x507fba(0x166))/0x9+parseInt(_0x507fba(0x159))/0xa*(parseInt(_0x507fba(0x149))/0xb);if(_0x302bf4===_0xf004a9)break;else _0x5c767b['push'](_0x5c767b['shift']());}catch(_0xf70c7c){_0x5c767b['push'](_0x5c767b['shift']());}}}(_0x2191,0xad680),function(_0x1a4507,_0x13a527){var _0x35e154=_0x5d26;typeof exports==_0x35e154(0x168)&&typeof module<'u'?module[_0x35e154(0x152)]=_0x13a527():typeof define=='function'&&define[_0x35e154(0x142)]?define([],_0x13a527):(_0x1a4507=typeof globalThis<'u'?globalThis:_0x1a4507||self,_0x1a4507['UniverProMcpUiCaES']=_0x13a527());}(this,function(){var _0x3eb462=_0x5d26;return{'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x3eb462(0x167),'connected':_0x3eb462(0x140),'failed':_0x3eb462(0x148),'retrying':_0x3eb462(0x13e),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x3eb462(0x15a),'sessionOccupied':_0x3eb462(0x156),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x3eb462(0x13b),'clickToConfigure':_0x3eb462(0x160)},'mcpConfig':{'title':_0x3eb462(0x15b),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x3eb462(0x155),'apiKeyPlaceholder':_0x3eb462(0x143),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x3eb462(0x145),'connectionInfo':_0x3eb462(0x15c),'mcpClientConfig':_0x3eb462(0x15c),'configInstructions':_0x3eb462(0x138),'configStepTitle':_0x3eb462(0x137),'configStep1':_0x3eb462(0x136),'configStep2':_0x3eb462(0x141),'configStep3':_0x3eb462(0x164),'sessionId':_0x3eb462(0x163),'sessionIdDescription':_0x3eb462(0x162),'authorizationDescription':_0x3eb462(0x14b),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x3eb462(0x14e),'save':_0x3eb462(0x153),'saving':_0x3eb462(0x151),'note1':_0x3eb462(0x161),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x3eb462(0x139),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x3eb462(0x13f),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x3eb462(0x158),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x3eb462(0x15e),'invalidApiKey':_0x3eb462(0x15d)},'connectionStatus':{'disconnected':_0x3eb462(0x13c),'connecting':'Connecting...','connected':'Connected','failed':_0x3eb462(0x14d),'retrying':_0x3eb462(0x165)},'connectionError':{'unauthorized':_0x3eb462(0x154),'sessionOccupied':_0x3eb462(0x14a),'networkError':_0x3eb462(0x157),'maxRetriesExceeded':_0x3eb462(0x13d)}}};}));
1
+ function _0x4ab5(_0x44851f,_0x502168){_0x44851f=_0x44851f-0x113;var _0x4f577b=_0x4f57();var _0x4ab5bc=_0x4f577b[_0x44851f];return _0x4ab5bc;}(function(_0x36b34f,_0x4ef2ba){var _0x3fedc=_0x4ab5,_0x2c5b8b=_0x36b34f();while(!![]){try{var _0x4f3097=-parseInt(_0x3fedc(0x136))/0x1+-parseInt(_0x3fedc(0x118))/0x2+-parseInt(_0x3fedc(0x140))/0x3*(parseInt(_0x3fedc(0x13a))/0x4)+parseInt(_0x3fedc(0x135))/0x5+-parseInt(_0x3fedc(0x128))/0x6*(parseInt(_0x3fedc(0x14b))/0x7)+-parseInt(_0x3fedc(0x11f))/0x8*(-parseInt(_0x3fedc(0x121))/0x9)+-parseInt(_0x3fedc(0x12d))/0xa*(-parseInt(_0x3fedc(0x11e))/0xb);if(_0x4f3097===_0x4ef2ba)break;else _0x2c5b8b['push'](_0x2c5b8b['shift']());}catch(_0x52912c){_0x2c5b8b['push'](_0x2c5b8b['shift']());}}}(_0x4f57,0xafe7c),function(_0x1c4275,_0x1d51a3){var _0x426338=_0x4ab5;typeof exports==_0x426338(0x13b)&&typeof module<'u'?module[_0x426338(0x127)]=_0x1d51a3():typeof define==_0x426338(0x129)&&define['amd']?define([],_0x1d51a3):(_0x1c4275=typeof globalThis<'u'?globalThis:_0x1c4275||self,_0x1c4275[_0x426338(0x145)]=_0x1d51a3());}(this,function(){var _0x40cac8=_0x4ab5;return{'mcpStatus':{'disconnected':_0x40cac8(0x11c),'connecting':_0x40cac8(0x116),'connected':'MCP\x20Connected','failed':_0x40cac8(0x11b),'retrying':_0x40cac8(0x124),'unknown':_0x40cac8(0x12e),'unauthorized':_0x40cac8(0x139),'sessionOccupied':_0x40cac8(0x148),'networkError':_0x40cac8(0x12b),'maxRetriesExceeded':_0x40cac8(0x12f),'clickToConnect':_0x40cac8(0x114),'clickToConfigure':_0x40cac8(0x13e)},'mcpConfig':{'title':_0x40cac8(0x14c),'description':_0x40cac8(0x115),'apiKey':_0x40cac8(0x134),'apiKeyPlaceholder':_0x40cac8(0x12c),'apiKeyHint':_0x40cac8(0x13c),'enableAuth':_0x40cac8(0x12a),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x40cac8(0x137),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x40cac8(0x13f),'configStepTitle':_0x40cac8(0x14a),'configStep1':_0x40cac8(0x117),'configStep2':_0x40cac8(0x138),'configStep3':_0x40cac8(0x132),'sessionId':'Session\x20ID','sessionIdDescription':_0x40cac8(0x123),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x40cac8(0x141),'maxRetries':_0x40cac8(0x122),'save':_0x40cac8(0x144),'saving':_0x40cac8(0x125),'note1':_0x40cac8(0x131),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x40cac8(0x147),'configError':_0x40cac8(0x133),'apiApplyInfo':{'title':_0x40cac8(0x130),'description':_0x40cac8(0x142),'univerAiLabel':_0x40cac8(0x120),'getStarted':_0x40cac8(0x126)},'validation':{'apiKeyRequired':_0x40cac8(0x149),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x40cac8(0x119),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x40cac8(0x146),'connecting':'Connecting...','connected':'Connected','failed':_0x40cac8(0x11d),'retrying':_0x40cac8(0x113)},'connectionError':{'unauthorized':_0x40cac8(0x13d),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x40cac8(0x11a),'maxRetriesExceeded':_0x40cac8(0x143)}}};}));function _0x4f57(){var _0x11650c=['Enter\x20your\x20API\x20key','448870yuImeA','MCP\x20Unknown\x20Status','MCP:\x20Max\x20Retries\x20Exceeded','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Failed\x20to\x20save\x20configuration','API\x20Key','1398930DDNjPj','654364llOice','MCP\x20Client\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','MCP:\x20Unauthorized','204tWRnXD','object','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','71037OEoSPI','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.','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','UniverProMcpUiCaES','Disconnected','Configuration\x20saved\x20successfully','MCP:\x20Session\x20ID\x20Occupied','API\x20key\x20is\x20required','Configuration\x20Steps:','150696mgdnLO','MCP\x20Configuration','Retrying...','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','2000098CdiKnP','Invalid\x20configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connection\x20Failed','MCP\x20Disconnected','Connection\x20Failed','803siEQAO','1144YTPUpk','Univer\x20AI\x20Console','4347kCUCjs','Max\x20Retries','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Retrying...','Saving...','Get\x20your\x20API\x20key\x20in\x20seconds','exports','12uOJNVN','function','Enable\x20Authentication','MCP:\x20Network\x20Error'];_0x4f57=function(){return _0x11650c;};return _0x4f57();}