@univerjs-pro/mcp-ui 0.10.6-experimental.20250904-44da50e → 0.10.6-experimental.20250904-9591d16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +1 -0
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/plugin.d.ts +0 -16
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +5 -5
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var _0x1ff1df=_0x5058;(function(_0x407a5b,_0x451b42){var _0x4973fb=_0x5058,_0x425432=_0x407a5b();while(!![]){try{var _0x277472=parseInt(_0x4973fb(0x231))/0x1+parseInt(_0x4973fb(0x222))/0x2+parseInt(_0x4973fb(0x1cb))/0x3+parseInt(_0x4973fb(0x2f5))/0x4+-parseInt(_0x4973fb(0x1ec))/0x5*(-parseInt(_0x4973fb(0x29f))/0x6)+parseInt(_0x4973fb(0x244))/0x7*(parseInt(_0x4973fb(0x271))/0x8)+-parseInt(_0x4973fb(0x245))/0x9;if(_0x277472===_0x451b42)break;else _0x425432['push'](_0x425432['shift']());}catch(_0x286322){_0x425432['push'](_0x425432['shift']());}}}(_0x174d,0xb83ea));var se=Object[_0x1ff1df(0x253)],ce=(_0x477e7f,_0x542db4,_0x4f3346)=>_0x542db4 in _0x477e7f?se(_0x477e7f,_0x542db4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f3346}):_0x477e7f[_0x542db4]=_0x4f3346,_=(_0x1822c9,_0x45af26,_0x183760)=>ce(_0x1822c9,typeof _0x45af26!=_0x1ff1df(0x1c5)?_0x45af26+'':_0x45af26,_0x183760);Object[_0x1ff1df(0x253)](exports,Symbol[_0x1ff1df(0x21c)],{'value':_0x1ff1df(0x2f0)});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x53556f=_0x1ff1df;return C=Object[_0x53556f(0x256)]||function(_0x265776){var _0x349b32=_0x53556f;for(var _0x3a88d7,_0x2504ab=0x1,_0x261caa=arguments[_0x349b32(0x275)];_0x2504ab<_0x261caa;_0x2504ab++){_0x3a88d7=arguments[_0x2504ab];for(var _0x1f5c3e in _0x3a88d7)Object[_0x349b32(0x2e2)][_0x349b32(0x26f)][_0x349b32(0x31f)](_0x3a88d7,_0x1f5c3e)&&(_0x265776[_0x1f5c3e]=_0x3a88d7[_0x1f5c3e]);}return _0x265776;},C[_0x53556f(0x215)](this,arguments);},ae=function(_0x35a798,_0x524882){var _0x1403f0=_0x1ff1df,_0x202b11={};for(var _0x16196b in _0x35a798)Object['prototype'][_0x1403f0(0x26f)]['call'](_0x35a798,_0x16196b)&&_0x524882[_0x1403f0(0x1be)](_0x16196b)<0x0&&(_0x202b11[_0x16196b]=_0x35a798[_0x16196b]);if(_0x35a798!=null&&typeof Object['getOwnPropertySymbols']==_0x1403f0(0x1ff)){for(var _0x310491=0x0,_0x16196b=Object['getOwnPropertySymbols'](_0x35a798);_0x310491<_0x16196b[_0x1403f0(0x275)];_0x310491++)_0x524882[_0x1403f0(0x1be)](_0x16196b[_0x310491])<0x0&&Object[_0x1403f0(0x2e2)][_0x1403f0(0x262)]['call'](_0x35a798,_0x16196b[_0x310491])&&(_0x202b11[_0x16196b[_0x310491]]=_0x35a798[_0x16196b[_0x310491]]);}return _0x202b11;},P=d[_0x1ff1df(0x204)](function(_0x845a51,_0x318f73){var _0x2b7509=_0x1ff1df,_0x30b8c2=_0x845a51[_0x2b7509(0x2b1)],_0x4fb721=_0x845a51['id'],_0x410124=_0x845a51[_0x2b7509(0x212)],_0x459212=_0x845a51[_0x2b7509(0x298)],_0x40395a=ae(_0x845a51,[_0x2b7509(0x2b1),'id',_0x2b7509(0x212),_0x2b7509(0x298)]),_0x8f2378=_0x2b7509(0x2cc)[_0x2b7509(0x2d7)](_0x4fb721,'\x20')[_0x2b7509(0x2d7)](_0x410124||'')[_0x2b7509(0x318)](),_0x3cc889=d[_0x2b7509(0x243)]('_'[_0x2b7509(0x2d7)](ve()));return $(_0x30b8c2,''[_0x2b7509(0x2d7)](_0x4fb721),{'defIds':_0x30b8c2[_0x2b7509(0x1c4)],'idSuffix':_0x3cc889['current']},C({'ref':_0x318f73,'className':_0x8f2378},_0x40395a),_0x459212);});function $(_0x1ca96e,_0x2f4698,_0x254420,_0xb1e534,_0x13b704){var _0x7fd028=_0x1ff1df;return d[_0x7fd028(0x29e)](_0x1ca96e['tag'],C(C({'key':_0x2f4698},le(_0x1ca96e,_0x254420,_0x13b704)),_0xb1e534),(ue(_0x1ca96e,_0x254420)[_0x7fd028(0x248)]||[])[_0x7fd028(0x29c)](function(_0x42be51,_0x204774){var _0x402db9=_0x7fd028;return $(_0x42be51,''[_0x402db9(0x2d7)](_0x2f4698,'-')[_0x402db9(0x2d7)](_0x1ca96e['tag'],'-')['concat'](_0x204774),_0x254420,void 0x0,_0x13b704);}));}function le(_0x114c01,_0x3ab35c,_0x80f6e6){var _0x383d43=_0x1ff1df,_0x4d55ef=C({},_0x114c01[_0x383d43(0x2ff)]);_0x80f6e6!=null&&_0x80f6e6['colorChannel1']&&_0x4d55ef['fill']===_0x383d43(0x205)&&(_0x4d55ef[_0x383d43(0x2f9)]=_0x80f6e6[_0x383d43(0x205)]),_0x114c01['tag']===_0x383d43(0x1af)&&_0x4d55ef['id']&&(_0x4d55ef['id']=_0x4d55ef['id']+_0x3ab35c['idSuffix']),Object['entries'](_0x4d55ef)[_0x383d43(0x1e9)](function(_0x2c8189){var _0x1caeb4=_0x383d43,_0x35191=_0x2c8189[0x0],_0x217c4a=_0x2c8189[0x1];_0x35191===_0x1caeb4(0x1af)&&typeof _0x217c4a=='string'&&(_0x4d55ef[_0x35191]=_0x217c4a[_0x1caeb4(0x2b7)](/url\(#(.*)\)/,'url(#$1'[_0x1caeb4(0x2d7)](_0x3ab35c['idSuffix'],')')));});var _0x1f0181=_0x3ab35c['defIds'];return!_0x1f0181||_0x1f0181[_0x383d43(0x275)]===0x0||(_0x114c01[_0x383d43(0x31c)]===_0x383d43(0x2eb)&&_0x4d55ef['xlink:href']&&(_0x4d55ef['xlink:href']=_0x4d55ef[_0x383d43(0x1c1)]+_0x3ab35c['idSuffix']),Object[_0x383d43(0x286)](_0x4d55ef)[_0x383d43(0x1e9)](function(_0x3dcc3c){var _0x2697b2=_0x383d43,_0x5cbbd6=_0x3dcc3c[0x0],_0x4fbf26=_0x3dcc3c[0x1];typeof _0x4fbf26==_0x2697b2(0x21e)&&(_0x4d55ef[_0x5cbbd6]=_0x4fbf26['replace'](/url\(#(.*)\)/,_0x2697b2(0x21b)['concat'](_0x3ab35c['idSuffix'],')')));})),_0x4d55ef;}function ue(_0x14aea9,_0x2d4e43){var _0xb2ea85=_0x1ff1df,_0x473e88,_0x18187f=_0x2d4e43[_0xb2ea85(0x1c4)];return!_0x18187f||_0x18187f[_0xb2ea85(0x275)]===0x0?_0x14aea9:_0x14aea9[_0xb2ea85(0x31c)]===_0xb2ea85(0x2da)&&(!((_0x473e88=_0x14aea9['children'])===null||_0x473e88===void 0x0)&&_0x473e88[_0xb2ea85(0x275)])?C(C({},_0x14aea9),{'children':_0x14aea9[_0xb2ea85(0x248)][_0xb2ea85(0x29c)](function(_0x12bcd0){var _0x44144e=_0xb2ea85;return typeof _0x12bcd0['attrs']['id']==_0x44144e(0x21e)&&_0x18187f&&_0x18187f[_0x44144e(0x1bd)](_0x12bcd0[_0x44144e(0x2ff)]['id'])?C(C({},_0x12bcd0),{'attrs':C(C({},_0x12bcd0['attrs']),{'id':_0x12bcd0[_0x44144e(0x2ff)]['id']+_0x2d4e43[_0x44144e(0x2ab)]})}):_0x12bcd0;})}):_0x14aea9;}function ve(){var _0x596df4=_0x1ff1df;return Math[_0x596df4(0x2f3)]()[_0x596df4(0x1c8)](0x24)[_0x596df4(0x22d)](0x2,0x8);}P[_0x1ff1df(0x1b6)]=_0x1ff1df(0x272);var de={'tag':_0x1ff1df(0x1e7),'attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x1a5),'width':_0x1ff1df(0x268),'height':_0x1ff1df(0x268)},'children':[{'tag':'path','attrs':{'fill':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x224),'fillRule':'evenodd','clipRule':_0x1ff1df(0x310)}}]},L=d[_0x1ff1df(0x204)](function(_0x384a9a,_0x1eb473){return d['createElement'](P,Object['assign']({},_0x384a9a,{'id':'check-mark-icon','ref':_0x1eb473,'icon':de}));});L['displayName']=_0x1ff1df(0x20c);var Ce={'tag':'svg','attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x267),'width':_0x1ff1df(0x268),'height':'1em'},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x255),'strokeLinecap':_0x1ff1df(0x1f4),'strokeLinejoin':_0x1ff1df(0x1f4),'strokeWidth':1.33}},{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x2a8),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.33}}]},G=d[_0x1ff1df(0x204)](function(_0x2b9ba9,_0x3e9b03){var _0x1e25be=_0x1ff1df;return d[_0x1e25be(0x29e)](P,Object[_0x1e25be(0x256)]({},_0x2b9ba9,{'id':_0x1e25be(0x250),'ref':_0x3e9b03,'icon':Ce}));});G[_0x1ff1df(0x1b6)]=_0x1ff1df(0x1b5);var ge={'tag':_0x1ff1df(0x1e7),'attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x1a5),'width':_0x1ff1df(0x268),'height':_0x1ff1df(0x268)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x1d7),'d':'M5.48291\x206.27979C5.48291\x204.88937\x206.61007\x203.76221\x208.00049\x203.76221C9.39091\x203.76221\x2010.5181\x204.88937\x2010.5181\x206.27979C10.5181\x207.46343\x209.70122\x208.4563\x208.60049\x208.72542V9.47575C8.60049\x209.80712\x208.33186\x2010.0757\x208.00049\x2010.0757C7.66912\x2010.0757\x207.40049\x209.80712\x207.40049\x209.47575V8.19736C7.40049\x207.86599\x207.66912\x207.59736\x208.00049\x207.59736C8.72816\x207.59736\x209.31807\x207.00746\x209.31807\x206.27979C9.31807\x205.55211\x208.72816\x204.96221\x208.00049\x204.96221C7.27281\x204.96221\x206.68291\x205.55211\x206.68291\x206.27979C6.68291\x206.61116\x206.41428\x206.87979\x206.08291\x206.87979C5.75154\x206.87979\x205.48291\x206.61116\x205.48291\x206.27979Z'}},{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x1de)}},{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x1f6),'fillRule':_0x1ff1df(0x310),'clipRule':'evenodd'}}]},Y=d[_0x1ff1df(0x204)](function(_0x379dc0,_0x23507a){var _0x1904a3=_0x1ff1df;return d['createElement'](P,Object[_0x1904a3(0x256)]({},_0x379dc0,{'id':_0x1904a3(0x2dc),'ref':_0x23507a,'icon':ge}));});Y[_0x1ff1df(0x1b6)]=_0x1ff1df(0x291);var fe={'tag':_0x1ff1df(0x1e7),'attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x1a5),'width':_0x1ff1df(0x268),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1ff1df(0x201)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x1f1),'strokeLinecap':_0x1ff1df(0x1f4),'strokeLinejoin':_0x1ff1df(0x1f4),'strokeWidth':1.2}}]},{'tag':_0x1ff1df(0x2da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ff1df(0x29d)},'children':[{'tag':'path','attrs':{'fill':_0x1ff1df(0x2d4),'d':_0x1ff1df(0x1cc)}}]}]}],'defIds':[_0x1ff1df(0x29d)]},F=d[_0x1ff1df(0x204)](function(_0x49563e,_0x1098f3){var _0x3a4dca=_0x1ff1df;return d[_0x3a4dca(0x29e)](P,Object[_0x3a4dca(0x256)]({},_0x49563e,{'id':_0x3a4dca(0x28e),'ref':_0x1098f3,'icon':fe}));});F[_0x1ff1df(0x1b6)]=_0x1ff1df(0x1ab);var pe={'tag':'svg','attrs':{'xmlns':_0x1ff1df(0x2df),'fill':_0x1ff1df(0x1f9),'viewBox':_0x1ff1df(0x263),'width':_0x1ff1df(0x268),'height':_0x1ff1df(0x268)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ff1df(0x1e3)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'stroke':_0x1ff1df(0x1d7),'d':_0x1ff1df(0x2d1),'strokeLinecap':_0x1ff1df(0x1f4),'strokeLinejoin':_0x1ff1df(0x1f4),'strokeWidth':1.2}}]},{'tag':_0x1ff1df(0x2da),'attrs':{},'children':[{'tag':_0x1ff1df(0x2b8),'attrs':{'id':_0x1ff1df(0x2f6)},'children':[{'tag':_0x1ff1df(0x1bc),'attrs':{'fill':_0x1ff1df(0x2d4),'d':_0x1ff1df(0x1cc),'transform':_0x1ff1df(0x1ac)}}]}]}],'defIds':[_0x1ff1df(0x2f6)]},V=d[_0x1ff1df(0x204)](function(_0x82da9e,_0x11a11a){var _0x3168fa=_0x1ff1df;return d[_0x3168fa(0x29e)](P,Object[_0x3168fa(0x256)]({},_0x82da9e,{'id':_0x3168fa(0x266),'ref':_0x11a11a,'icon':pe}));});V[_0x1ff1df(0x1b6)]=_0x1ff1df(0x236);function B(_0x3b405a){var _0x2a392b=_0x1ff1df,_0x1579d1,_0x331546;const {mcpCoreConfig:_0x272cf9,onSave:_0x58b189,loading:_0x4b0699=!0x1,config:_0x12a749,connectionStatus$:_0x385cf4,connectionError$:_0x272123}=_0x3b405a,_0x1a5205=v[_0x2a392b(0x22e)](u[_0x2a392b(0x2e7)]),_0x11b3cc=v[_0x2a392b(0x2cf)](_0x385cf4,s[_0x2a392b(0x232)][_0x2a392b(0x200)]),_0x3fb99b=v['useObservable'](_0x272123,s[_0x2a392b(0x1d5)]['NONE']),[_0x5efa25,_0x4b1221]=d['useState'](_0x272cf9['apiKey']||''),_0x4b2d66=!0x0,_0x12c45d=_0x12a749[_0x2a392b(0x1f5)]&&_0x272cf9[_0x2a392b(0x2ae)]&&(_0x272cf9[_0x2a392b(0x2ae)][_0x2a392b(0x1bd)](_0x2a392b(0x265))||_0x272cf9[_0x2a392b(0x2ae)][_0x2a392b(0x1bd)](_0x2a392b(0x26c))),_0x2738ca=(_0x1579d1=_0x272cf9['mcpServerUrl'])==null?void 0x0:_0x1579d1['includes'](_0x2a392b(0x265)),_0x5cd279=(_0x331546=_0x272cf9[_0x2a392b(0x2ae)])==null?void 0x0:_0x331546[_0x2a392b(0x1bd)](_0x2a392b(0x26c)),_0x28fd98=_0x2738ca?_0x2a392b(0x247):'https://console.univer.ai',_0x105d75=_0x12a749['showDeveloperTools']&&(_0x2738ca||_0x5cd279),[_0x8138ae,_0x3baaf2]=d['useState'](!_0x5efa25[_0x2a392b(0x318)]()),_0x439a5d=(_0x21d4cc,_0x58e8fb)=>{var _0x4abd4a=_0x2a392b;if(_0x58e8fb===s[_0x4abd4a(0x1d5)]['MISSING_API_KEY']||_0x58e8fb===s[_0x4abd4a(0x1d5)]['INVALID_API_KEY'])return _0x4abd4a(0x1b8);switch(_0x21d4cc){case s['MCPConnectionStatus'][_0x4abd4a(0x260)]:return _0x4abd4a(0x301);case s['MCPConnectionStatus']['CONNECTING']:case s['MCPConnectionStatus'][_0x4abd4a(0x2e1)]:return _0x4abd4a(0x1ba);case s[_0x4abd4a(0x232)][_0x4abd4a(0x1fc)]:return _0x4abd4a(0x1b8);default:return _0x4abd4a(0x2b3);}},_0x2021e1=(_0x523313,_0x69facf)=>{var _0x2de5b3=_0x2a392b;if(_0x69facf===s[_0x2de5b3(0x1d5)][_0x2de5b3(0x1f2)]||_0x69facf===s[_0x2de5b3(0x1d5)][_0x2de5b3(0x311)])return _0x2de5b3(0x202);switch(_0x523313){case s[_0x2de5b3(0x232)]['CONNECTED']:return _0x2de5b3(0x2b4);case s[_0x2de5b3(0x232)]['CONNECTING']:case s[_0x2de5b3(0x232)][_0x2de5b3(0x2e1)]:return _0x2de5b3(0x28d);case s[_0x2de5b3(0x232)][_0x2de5b3(0x1fc)]:return'univer-bg-red-500';default:return _0x2de5b3(0x30d);}},_0x2e622f=_0x2a736e=>{var _0x5d6d8c=_0x2a392b;switch(_0x2a736e){case s['MCPConnectionStatus'][_0x5d6d8c(0x260)]:return _0x1a5205['t']('mcpConfig.connectionStatus.connected');case s[_0x5d6d8c(0x232)]['CONNECTING']:return _0x1a5205['t'](_0x5d6d8c(0x2f7));case s[_0x5d6d8c(0x232)]['FAILED']:return _0x1a5205['t'](_0x5d6d8c(0x2fd));case s[_0x5d6d8c(0x232)][_0x5d6d8c(0x2e1)]:return _0x1a5205['t']('mcpConfig.connectionStatus.retrying');default:return _0x1a5205['t']('mcpConfig.connectionStatus.disconnected');}},_0x1fc2b1=_0x3bb129=>{var _0x231bb3=_0x2a392b;switch(_0x3bb129){case s[_0x231bb3(0x1d5)][_0x231bb3(0x1f2)]:return _0x1a5205['t'](_0x231bb3(0x305));case s[_0x231bb3(0x1d5)][_0x231bb3(0x311)]:return _0x1a5205['t'](_0x231bb3(0x2a3));case s[_0x231bb3(0x1d5)]['SESSION_ID_OCCUPIED']:return _0x1a5205['t'](_0x231bb3(0x211));case s[_0x231bb3(0x1d5)]['NETWORK_ERROR']:return _0x1a5205['t']('mcpConfig.connectionError.networkError');case s[_0x231bb3(0x1d5)][_0x231bb3(0x22c)]:return _0x1a5205['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x291fc0=d['useCallback'](()=>{const _0x27a3f8={..._0x272cf9,'apiKey':_0x5efa25['trim'](),'enableAuth':_0x4b2d66};_0x58b189(_0x27a3f8);},[_0x272cf9,_0x5efa25,_0x4b2d66,_0x58b189]),_0x239463=_0x5efa25['trim']()[_0x2a392b(0x275)]>0x0;return o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x317),'children':[o[_0x2a392b(0x251)]('div',{'className':_0x2a392b(0x313),'children':o['jsxs']('div',{'className':_0x2a392b(0x25a),'children':[o['jsx'](_0x2a392b(0x1d1),{'className':_0x2a392b(0x276),'children':o[_0x2a392b(0x251)](_0x2a392b(0x292),{'className':_0x2a392b(0x30c),'children':'⚙'})}),o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'children':o['jsx']('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x1a5205['t'](_0x2a392b(0x1e2))})})]})}),o[_0x2a392b(0x2d0)]('div',{'className':_0x2a392b(0x315),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2a9)+_0x439a5d(_0x11b3cc,_0x3fb99b)+_0x2a392b(0x20a),'children':o['jsxs'](_0x2a392b(0x1d1),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x1df)+_0x2021e1(_0x11b3cc,_0x3fb99b)+_0x2a392b(0x21d)}),o['jsx']('span',{'className':_0x2a392b(0x2e5),'children':_0x2e622f(_0x11b3cc)})]})}),_0x3fb99b!==s[_0x2a392b(0x1d5)][_0x2a392b(0x1a4)]&&(_0x11b3cc===s[_0x2a392b(0x232)][_0x2a392b(0x1fc)]||_0x3fb99b===s['MCPConnectionError'][_0x2a392b(0x1f2)]||_0x3fb99b===s[_0x2a392b(0x1d5)][_0x2a392b(0x311)])&&o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x28b),'children':o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x295),'children':[o[_0x2a392b(0x251)]('span',{'className':'univer-flex-shrink-0\x20univer-text-red-500','children':'⚠️'}),o[_0x2a392b(0x251)]('p',{'className':_0x2a392b(0x2fc),'children':_0x1fc2b1(_0x3fb99b)})]})})]}),o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x30f),'children':o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x25b),'children':[o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x307),'children':[o[_0x2a392b(0x2d0)](_0x2a392b(0x264),{'className':_0x2a392b(0x2b5),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x292),{'children':'🔑'}),'\x20',_0x1a5205['t'](_0x2a392b(0x229)),o['jsx'](_0x2a392b(0x292),{'className':_0x2a392b(0x2ee),'children':'*'}),_0x12c45d&&o[_0x2a392b(0x251)]('a',{'href':_0x2a392b(0x1c3),'onClick':()=>_0x3baaf2(!0x0),'className':_0x2a392b(0x23f),'title':_0x1a5205['t']('mcpConfig.apiApplyInfo.title'),'children':o[_0x2a392b(0x251)](Y,{})})]}),o[_0x2a392b(0x251)](x['Input'],{'type':_0x2a392b(0x290),'placeholder':_0x1a5205['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x5efa25,'onChange':_0x4b1221,'disabled':_0x4b0699,'autoComplete':_0x2a392b(0x27b)}),o[_0x2a392b(0x251)]('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x1a5205['t'](_0x2a392b(0x2c8))})]}),_0x12c45d&&_0x8138ae&&o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'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':[o['jsx']('a',{'href':_0x2a392b(0x1c3),'onClick':()=>_0x3baaf2(!0x1),'className':_0x2a392b(0x1da),'title':_0x2a392b(0x1ea),'children':o[_0x2a392b(0x251)](G,{})}),o['jsxs'](_0x2a392b(0x1d1),{'className':_0x2a392b(0x1d2),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x241),'children':o[_0x2a392b(0x251)](_0x2a392b(0x292),{'className':'univer-text-blue-600','children':'🚀'})}),o['jsxs'](_0x2a392b(0x1d1),{'className':_0x2a392b(0x1fa),'children':[o[_0x2a392b(0x251)]('h4',{'className':_0x2a392b(0x283),'children':_0x1a5205['t'](_0x2a392b(0x2e6))}),o[_0x2a392b(0x251)]('p',{'className':_0x2a392b(0x25d),'children':_0x1a5205['t']('mcpConfig.apiApplyInfo.description')}),o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x105d75&&o['jsxs']('a',{'href':_0x28fd98,'target':_0x2a392b(0x2d9),'rel':_0x2a392b(0x279),'className':_0x2a392b(0x26e),'children':[o[_0x2a392b(0x251)]('span',{'children':'🤖'}),_0x1a5205['t']('mcpConfig.apiApplyInfo.univerAiLabel'),o['jsx']('span',{'className':'univer-text-gray-400','children':'↗'})]})}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x1a5205['t'](_0x2a392b(0x2f4))]})]})]})]}),_0x12a749[_0x2a392b(0x1f5)]&&o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x300),'children':[o[_0x2a392b(0x2d0)]('h4',{'className':_0x2a392b(0x1b0),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x292),{'children':'🔗'}),'\x20',_0x1a5205['t'](_0x2a392b(0x246))]}),o[_0x2a392b(0x2d0)]('div',{'className':'univer-space-y-3','children':[o[_0x2a392b(0x2d0)]('div',{'className':_0x2a392b(0x254),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2d6)}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x227),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2ac),'children':_0x1a5205['t'](_0x2a392b(0x2d2))}),o[_0x2a392b(0x251)](_0x2a392b(0x233),{'className':_0x2a392b(0x1ca),'children':_0x272cf9[_0x2a392b(0x2ae)]})]})]}),o[_0x2a392b(0x2d0)]('div',{'className':_0x2a392b(0x254),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x2d6)}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':_0x2a392b(0x227),'children':[o[_0x2a392b(0x251)](_0x2a392b(0x1d1),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x1a5205['t'](_0x2a392b(0x2fe))}),o[_0x2a392b(0x251)](_0x2a392b(0x233),{'className':_0x2a392b(0x2e9),'children':_0x272cf9[_0x2a392b(0x28c)]||_0x2a392b(0x2a6)})]})]})]})]}),o[_0x2a392b(0x251)](x[_0x2a392b(0x2ca)],{'onClick':_0x291fc0,'disabled':!_0x239463||_0x4b0699,'className':_0x2a392b(0x1eb),'children':_0x4b0699?o[_0x2a392b(0x2d0)]('span',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o['jsx'](_0x2a392b(0x292),{'children':'⟲'}),_0x1a5205['t']('mcpConfig.saving')]}):o[_0x2a392b(0x2d0)](_0x2a392b(0x292),{'className':_0x2a392b(0x21f),'children':[o[_0x2a392b(0x251)](L,{}),_0x1a5205['t'](_0x2a392b(0x2cb))]})}),o[_0x2a392b(0x251)]('div',{'className':_0x2a392b(0x1ee),'children':o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'className':'univer-flex\x20univer-gap-3','children':[o[_0x2a392b(0x251)](_0x2a392b(0x292),{'className':'univer-flex-shrink-0\x20univer-text-blue-500','children':'💡'}),o['jsxs'](_0x2a392b(0x1d1),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[o[_0x2a392b(0x251)]('div',{'className':_0x2a392b(0x2e3),'children':_0x2a392b(0x230)}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'children':['•',_0x1a5205['t'](_0x2a392b(0x30a))]}),o[_0x2a392b(0x2d0)](_0x2a392b(0x1d1),{'children':['•',_0x1a5205['t']('mcpConfig.note2')]})]})]})})]})})]});}const k='mcp-ui.config',T={'showDeveloperTools':!0x1};function _0x174d(){var _0x584989=['replace','clipPath','Configuration\x20saved\x20successfully','zhCN','IDialogService','DependentOn','配置保存失败','MCP:\x20会话被占用','CONNECTING','get','next','merge','_localStorageService','MCP:\x20Session\x20Occupied','ICommandService','_logService','_connectionController','mcpConfig.apiKeyHint','connectInjector','Button','mcpConfig.save','univerjs-icon\x20univerjs-icon-','CommandType','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','useObservable','jsxs','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','mcpConfig.serverEndpoint','Univer\x20AI\x20Console','white','setConfig','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','concat','什么是\x20API\x20密钥?','_blank','defs','What\x20is\x20API\x20Key?','help-single','MCP\x20Connected','保存配置','http://www.w3.org/2000/svg','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','RETRYING','prototype','univer-font-medium','Disposable','univer-text-sm\x20univer-font-medium','mcpConfig.apiApplyInfo.title','LocaleService','getItem','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','Connecting...','use','MCP\x20Configuration','register','univer-text-red-500','MCP:\x20API\x20Key\x20Missing','Module','_createConfigPanelComponent','close','random','mcpConfig.apiApplyInfo.getStarted','2812884HkmaPX','on-line-icon_clip0_910_349','mcpConfig.connectionStatus.connecting','已连接','fill','RibbonStartGroup','BuiltInUIPart','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','mcpConfig.connectionStatus.failed','mcpConfig.sessionId','attrs','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','MCP\x20状态未知','_uiPartsService','UniverMCPPlugin','mcpConfig.connectionError.missingApiKey','mcp-ui.command.openConfigPanel','univer-space-y-2','bottom','IMessageService','mcpConfig.note1','Success','univer-text-white','univer-bg-gray-500','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','evenodd','INVALID_API_KEY','需要\x20API\x20密钥才能连接','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','Injector','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','pluginName','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','trim','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','_initConfigSync','_loadStoredApiKey','tag','_mcpCoreConfig$','API\x20密钥','call','_componentManager','NONE','0\x200\x2016\x2016','_config$','几秒钟内获取您的\x20API\x20密钥','Saving...','apiKey','_dialogService','OffLineIcon','translate(.97)','服务器端点','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','mask','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','MCP:\x20Invalid\x20API\x20Key','_validateConfig','Error','mcpConfig.validation.apiKeyRequired','CloseSmallSingle','displayName','mcpStatus.missingApiKey','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','MCP\x20Unknown\x20Status','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','COMMAND','path','includes','indexOf','registerComponent','mcpConfig.validation.invalidConfig','xlink:href','getOwnPropertyDescriptor','javascript:void(0)','defIds','symbol','启用身份验证以获得安全连接','连接信息','toString','MessageType','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','3853755vUUzMV','M0\x200H16V16H0z','保存中...','MCP:\x20无效的\x20API\x20密钥','errorMessage','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','div','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','API\x20密钥不能为空','BehaviorSubject','MCPConnectionError','\x20-\x20','currentColor','mcpStatus.connecting','mcpStatus.disconnected','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','setItem','mcp.apiKey','mcpStatus.failed','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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mcpStatus.networkError','Plugin','mcpConfig.description','url(#on-line-icon_clip0_910_349)','配置更改将立即生效','MCPConnectionController','MCPConfigPanel','svg','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','forEach','Close','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','5vnJCIa','_initializeCommands','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','未连接','ComponentManager','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','MISSING_API_KEY','API\x20密钥无效,请检查密钥是否正确','round','showDeveloperTools','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','UniverMCPUIPlugin','MCP\x20连接失败','none','univer-flex-1','Inject','FAILED','MCP\x20连接中...','Server\x20Endpoint','function','DISCONNECTED','url(#off-line-icon_clip0_910_343)','univer-bg-red-500','NETWORK_ERROR','forwardRef','colorChannel1','MCP_UI_PLUGIN','clsx','MCP\x20Retrying...','warn','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getCurrentConfig','CheckMarkIcon','mcpConfig.validation.apiKeyTooShort','Get\x20your\x20API\x20key\x20in\x20seconds','IConfigService','error','mcpConfig.connectionError.sessionOccupied','className','_loading$','API\x20密钥无效,请检查您的密钥后重试','apply','超出最大重试次数,请稍后再试','show','isValid','Retrying...','mcpStatus.clickToConfigure','url(#$1','toStringTag','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','string','univer-flex\x20univer-items-center\x20univer-gap-2','_handleConfigSave','Connection\x20Information','2252712BTSpfs','onStarting','M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','_registerComponent','value','univer-min-w-0\x20univer-flex-1','_injector','mcpConfig.apiKey','showConfigPanel','mcpConfig.title','MAX_RETRIES_EXCEEDED','substring','useDependency','univer-mr-2\x20univer-flex\x20univer-text-xl','Configuration\x20Notes:','1475507saUXmk','MCPConnectionStatus','code','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20密钥长度至少需要\x2010\x20位','OnLineIcon','_menuManagerService','API\x20key\x20is\x20required','点击连接\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20超出最大重试次数','connectionStatus$','网络连接错误,请检查您的网络连接','MCP\x20Connecting...','univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','MCPConnectionUIController','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','MCP\x20Connection\x20Failed','useRef','1463WJLnMJ','56060091fUjLox','mcpConfig.connectionInfo','https://console.univer.plus','children','univer-text-gray-500','IUIPartsService','_config','MCP_PLUGIN_CONFIG_KEY','Click\x20to\x20connect\x20MCP','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','配置无效','close-small-single','jsx','连接中...','defineProperty','univer-flex\x20univer-items-start\x20univer-gap-3','M5.21243\x205.62036L11.8791\x2012.287','assign','启用身份验证','univer-flex\x20univer-cursor-pointer\x20univer-items-center','Disconnected','univer-flex\x20univer-items-center\x20univer-gap-3','univer-space-y-5','disposeWithMe','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','Save\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','CONNECTED','Failed\x20to\x20save\x20configuration','propertyIsEnumerable','0\x200\x2017\x2016','label','univer.plus','on-line-icon','0\x200\x2017\x2017','1em','最大重试次数','_messageService','您的\x20API\x20密钥将在此浏览器中本地存储','univer.ai','_configService','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','hasOwnProperty','点击配置\x20MCP','43656amwzgL','UniverIcon','MCP:\x20网络错误','_mcpConnectionController','length','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Tooltip','MCP:\x20Network\x20Error','noopener\x20noreferrer','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','off','hover:univer-opacity-80','load','mcp-config-dialog','Click\x20to\x20configure\x20MCP','useCallback','subscribe','_initializeMenus','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpStatus.unknown','entries','connectionError$','validateApiKey','mcpConfig.configSaved','请输入您的\x20API\x20密钥','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','sessionId','univer-bg-blue-500','off-line-icon','配置\x20MCP\x20使用\x20AI\x20操作电子表格','text','HelpSingle','span','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20已断开','univer-flex\x20univer-items-start\x20univer-gap-2','subscribeConfigValue$','_localeService','extend','add','getConfig','removeItem','map','off-line-icon_clip0_910_343','createElement','7520298fHFYxd','MCPUIMenuController','enUS','_commandService','mcpConfig.connectionError.invalidApiKey','mcpConfig.validation.invalidApiKey','OTHERS','default','ILogService','M5.21243\x2012.287L11.8791\x205.62036','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCPConfigUIController','idSuffix','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','BUTTON','mcpServerUrl','MenuItemType','ILocalStorageService','icon','univer-text-green-500','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','univer-bg-green-500','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','重连中...'];_0x174d=function(){return _0x584989;};return _0x174d();}var he=Object[_0x1ff1df(0x1c2)],me=(_0x4432a8,_0x341ba8,_0x13c144,_0x346950)=>{var _0x37d97a=_0x1ff1df;for(var _0x440744=_0x346950>0x1?void 0x0:_0x346950?he(_0x341ba8,_0x13c144):_0x341ba8,_0x4c968c=_0x4432a8[_0x37d97a(0x275)]-0x1,_0x510357;_0x4c968c>=0x0;_0x4c968c--)(_0x510357=_0x4432a8[_0x4c968c])&&(_0x440744=_0x510357(_0x440744)||_0x440744);return _0x440744;},p=(_0x1bc7e2,_0x10a318)=>(_0x39f8dc,_0x5cdd6b)=>_0x10a318(_0x39f8dc,_0x5cdd6b,_0x1bc7e2);const w=_0x1ff1df(0x1dc),A=_0x1ff1df(0x27e);exports['MCPConfigUIController']=class extends u[_0x1ff1df(0x2e4)]{constructor(_0x54daa4,_0x316828,_0x5accdf,_0x2776f4,_0x2cc4c7,_0x554806,_0x1596e7,_0x867a98,_0x1d1f8a,_0x171e74){var _0x21e736=_0x1ff1df;super(),_(this,'_loading$',new j[(_0x21e736(0x1d4))](!0x1)),_(this,_0x21e736(0x31d),new j[(_0x21e736(0x1d4))]({})),_(this,_0x21e736(0x1a6),new j[(_0x21e736(0x1d4))]({})),_(this,_0x21e736(0x220),async _0x385d37=>{var _0x1d90b9=_0x21e736;this[_0x1d90b9(0x213)]['next'](!0x0);try{const _0x1a84c7=await this[_0x1d90b9(0x1b2)](_0x385d37);if(!_0x1a84c7[_0x1d90b9(0x218)]){this[_0x1d90b9(0x26a)][_0x1d90b9(0x217)]({'type':x['MessageType'][_0x1d90b9(0x1b3)],'content':_0x1a84c7[_0x1d90b9(0x1cf)]||this[_0x1d90b9(0x297)]['t'](_0x1d90b9(0x1c0))});return;}_0x385d37[_0x1d90b9(0x1a9)]?await this[_0x1d90b9(0x2c3)][_0x1d90b9(0x1db)](w,_0x385d37['apiKey'][_0x1d90b9(0x318)]()):await this[_0x1d90b9(0x2c3)][_0x1d90b9(0x29b)](w),this[_0x1d90b9(0x26d)][_0x1d90b9(0x2d5)](s[_0x1d90b9(0x24c)],{..._0x385d37,'apiKey':_0x385d37[_0x1d90b9(0x1a9)][_0x1d90b9(0x318)]()}),this['_mcpCoreConfig$']['next']({..._0x385d37,'apiKey':_0x385d37['apiKey'][_0x1d90b9(0x318)]()}),this[_0x1d90b9(0x26a)][_0x1d90b9(0x217)]({'type':x[_0x1d90b9(0x1c9)][_0x1d90b9(0x30b)],'content':this[_0x1d90b9(0x297)]['t'](_0x1d90b9(0x289))}),setTimeout(()=>{var _0x37fe11=_0x1d90b9;this['_dialogService'][_0x37fe11(0x2f2)](A);},0x320);}catch(_0x48aa49){this['_logService'][_0x1d90b9(0x210)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x48aa49),this['_messageService'][_0x1d90b9(0x217)]({'type':x['MessageType'][_0x1d90b9(0x1b3)],'content':this[_0x1d90b9(0x297)]['t']('mcpConfig.configError')});}finally{this[_0x1d90b9(0x213)][_0x1d90b9(0x2c1)](!0x1);}}),(this[_0x21e736(0x228)]=_0x54daa4,this[_0x21e736(0x303)]=_0x316828,this[_0x21e736(0x26d)]=_0x5accdf,this[_0x21e736(0x2c3)]=_0x2776f4,this[_0x21e736(0x1aa)]=_0x2cc4c7,this['_messageService']=_0x554806,this[_0x21e736(0x320)]=_0x1596e7,this[_0x21e736(0x297)]=_0x867a98,this[_0x21e736(0x2c6)]=_0x1d1f8a,this[_0x21e736(0x274)]=_0x171e74,this[_0x21e736(0x31a)](),this[_0x21e736(0x31b)](),this[_0x21e736(0x225)]());}[_0x1ff1df(0x22a)](){var _0x2e4d56=_0x1ff1df;this[_0x2e4d56(0x1aa)]['open']({'id':A,'title':{'title':this[_0x2e4d56(0x297)]['t'](_0x2e4d56(0x22b))},'children':{'label':'MCPConfigPanel'},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0xe11a95=_0x2e4d56;this[_0xe11a95(0x1aa)][_0xe11a95(0x2f2)](A);}});}[_0x1ff1df(0x20b)](){var _0x3c3561=_0x1ff1df;return this[_0x3c3561(0x31d)]['value'];}[_0x1ff1df(0x225)](){var _0x3f7459=_0x1ff1df;this[_0x3f7459(0x25c)](this['_componentManager'][_0x3f7459(0x2ed)](_0x3f7459(0x1e6),this[_0x3f7459(0x2f1)]()));}['_createConfigPanelComponent'](){var _0x825bc4=_0x1ff1df;return v[_0x825bc4(0x2c9)](()=>{var _0x24dd18=_0x825bc4,_0x56889e,_0x3ed3ff;return o[_0x24dd18(0x251)](B,{'config':this[_0x24dd18(0x1a6)][_0x24dd18(0x226)],'mcpCoreConfig':this[_0x24dd18(0x31d)][_0x24dd18(0x226)],'onSave':this[_0x24dd18(0x220)],'loading':this[_0x24dd18(0x213)][_0x24dd18(0x226)],'connectionStatus$':(_0x56889e=this[_0x24dd18(0x274)])==null?void 0x0:_0x56889e[_0x24dd18(0x23c)],'connectionError$':(_0x3ed3ff=this[_0x24dd18(0x274)])==null?void 0x0:_0x3ed3ff[_0x24dd18(0x287)]});},this[_0x825bc4(0x228)]);}['_initConfigSync'](){var _0x559979=_0x1ff1df;this[_0x559979(0x25c)](this[_0x559979(0x26d)][_0x559979(0x296)](s[_0x559979(0x24c)])['subscribe'](_0x5eb618=>{var _0x44527a=_0x559979;this['_mcpCoreConfig$'][_0x44527a(0x2c1)](_0x5eb618||{});}));const _0xe7ddf5=this[_0x559979(0x26d)]['getConfig'](s[_0x559979(0x24c)]);this['_mcpCoreConfig$'][_0x559979(0x2c1)](_0xe7ddf5||{}),this[_0x559979(0x25c)](this[_0x559979(0x26d)][_0x559979(0x296)](k)[_0x559979(0x281)](_0x169e9e=>{var _0x2b7926=_0x559979;this[_0x2b7926(0x1a6)][_0x2b7926(0x2c1)](_0x169e9e||{});}));const _0x3fb4c0=this[_0x559979(0x26d)][_0x559979(0x29a)](k);this[_0x559979(0x1a6)][_0x559979(0x2c1)](_0x3fb4c0||{});}async[_0x1ff1df(0x31b)](){var _0x3c7863=_0x1ff1df;const _0x37955d=await this[_0x3c7863(0x2c3)][_0x3c7863(0x2e8)](w);if(_0x37955d){const _0x47f30c={...this[_0x3c7863(0x31d)][_0x3c7863(0x226)],'apiKey':_0x37955d};this['_configService'][_0x3c7863(0x2d5)](s[_0x3c7863(0x24c)],_0x47f30c),this[_0x3c7863(0x31d)][_0x3c7863(0x2c1)](_0x47f30c);}}async[_0x1ff1df(0x1b2)](_0x8c7faf){var _0x3d4a34=_0x1ff1df;if(!_0x8c7faf[_0x3d4a34(0x1a9)]||_0x8c7faf['apiKey'][_0x3d4a34(0x318)]()[_0x3d4a34(0x275)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x3d4a34(0x297)]['t'](_0x3d4a34(0x1b4))};if(_0x8c7faf[_0x3d4a34(0x1a9)][_0x3d4a34(0x318)]()[_0x3d4a34(0x275)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x3d4a34(0x297)]['t'](_0x3d4a34(0x20d))};try{const _0x33dbdd=await this[_0x3d4a34(0x228)][_0x3d4a34(0x2c0)](s[_0x3d4a34(0x1e5)])[_0x3d4a34(0x288)](_0x8c7faf[_0x3d4a34(0x1a9)]['trim']());return _0x33dbdd[_0x3d4a34(0x218)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x33dbdd[_0x3d4a34(0x210)]||this[_0x3d4a34(0x297)]['t'](_0x3d4a34(0x2a4))};}catch(_0x827b67){return console[_0x3d4a34(0x209)](_0x3d4a34(0x2ce),_0x827b67),{'isValid':!0x0};}}},exports[_0x1ff1df(0x2aa)]=me([p(0x0,u[_0x1ff1df(0x1fb)](u['Injector'])),p(0x1,v[_0x1ff1df(0x24a)]),p(0x2,u[_0x1ff1df(0x20f)]),p(0x3,u[_0x1ff1df(0x2b0)]),p(0x4,v[_0x1ff1df(0x2bb)]),p(0x5,v[_0x1ff1df(0x309)]),p(0x6,u['Inject'](v[_0x1ff1df(0x1f0)])),p(0x7,u['Inject'](u[_0x1ff1df(0x2e7)])),p(0x8,u[_0x1ff1df(0x2a7)]),p(0x9,u['Inject'](s['MCPConnectionController']))],exports[_0x1ff1df(0x2aa)]);function _0x5058(_0x146263,_0x7b90d6){var _0x174de2=_0x174d();return _0x5058=function(_0x5058d8,_0x5d33d7){_0x5058d8=_0x5058d8-0x1a4;var _0x359d0c=_0x174de2[_0x5058d8];return _0x359d0c;},_0x5058(_0x146263,_0x7b90d6);}const b={'id':_0x1ff1df(0x306),'type':u[_0x1ff1df(0x2cd)][_0x1ff1df(0x1bb)],'handler':async(_0x330b57,_0x582a4a)=>(_0x330b57['get'](exports['MCPConfigUIController'])[_0x1ff1df(0x22a)](),!0x0)};function H(_0x297e5a,_0x53df42){var _0x28ec7d=_0x1ff1df;switch(_0x297e5a){case s[_0x28ec7d(0x232)][_0x28ec7d(0x200)]:return _0x53df42===s[_0x28ec7d(0x1d5)][_0x28ec7d(0x1f2)]?_0x28ec7d(0x1b7):_0x28ec7d(0x1d9);case s[_0x28ec7d(0x232)][_0x28ec7d(0x2bf)]:return _0x28ec7d(0x1d8);case s[_0x28ec7d(0x232)][_0x28ec7d(0x260)]:return'mcpStatus.connected';case s[_0x28ec7d(0x232)][_0x28ec7d(0x1fc)]:switch(_0x53df42){case s['MCPConnectionError'][_0x28ec7d(0x311)]:return'mcpStatus.invalidApiKey';case s[_0x28ec7d(0x1d5)]['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case s['MCPConnectionError'][_0x28ec7d(0x203)]:return _0x28ec7d(0x1e0);case s[_0x28ec7d(0x1d5)]['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return _0x28ec7d(0x1dd);}case s['MCPConnectionStatus'][_0x28ec7d(0x2e1)]:return'mcpStatus.retrying';default:return _0x28ec7d(0x285);}}function xe(_0x1d2355,_0x3ad568,_0x3e0763){var _0x34b51d=_0x1ff1df;const _0x1a895e=H(_0x1d2355,_0x3ad568),_0x59631d=_0x3e0763['t'](_0x1a895e);return _0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x200)]&&_0x3ad568===s[_0x34b51d(0x1d5)][_0x34b51d(0x1f2)]?_0x59631d+'\x20-\x20'+_0x3e0763['t'](_0x34b51d(0x21a)):_0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x260)]?''+_0x59631d:_0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x200)]||_0x1d2355===s[_0x34b51d(0x232)][_0x34b51d(0x1fc)]?_0x59631d+_0x34b51d(0x1d6)+_0x3e0763['t']('mcpStatus.clickToConnect'):_0x59631d;}function Pe(_0x861feb){var _0x5c4493=_0x1ff1df;switch(_0x861feb){case s[_0x5c4493(0x232)][_0x5c4493(0x260)]:return _0x5c4493(0x2b2);case s[_0x5c4493(0x232)][_0x5c4493(0x2bf)]:case s['MCPConnectionStatus']['RETRYING']:return'univer-text-yellow-500';case s[_0x5c4493(0x232)][_0x5c4493(0x1fc)]:case s['MCPConnectionStatus'][_0x5c4493(0x200)]:return'univer-text-red-500';default:return _0x5c4493(0x249);}}function q(_0x33a3da){var _0x15e0a4=_0x1ff1df;const {status$:_0x340dae,error$:_0xb96a43,onConfigure:_0x2b1206}=_0x33a3da,_0x839891=v['useObservable'](_0x340dae,s[_0x15e0a4(0x232)]['DISCONNECTED']),_0x36cbd5=v[_0x15e0a4(0x2cf)](_0xb96a43,s['MCPConnectionError'][_0x15e0a4(0x1a4)]),_0xe5fd06=v['useDependency'](u[_0x15e0a4(0x2e7)]),_0x4034b7=_0x839891===s['MCPConnectionStatus'][_0x15e0a4(0x260)],_0x66d136=_0x839891===s['MCPConnectionStatus'][_0x15e0a4(0x2bf)]||_0x839891===s[_0x15e0a4(0x232)][_0x15e0a4(0x2e1)],_0x1e7ed6=_0xe5fd06['t'](H(_0x839891,_0x36cbd5)),_0x55b5ab=xe(_0x839891,_0x36cbd5,_0xe5fd06),_0x56e476=Pe(_0x839891),_0xc29c8=_0x4034b7?o[_0x15e0a4(0x251)](V,{}):o[_0x15e0a4(0x251)](F,{}),_0xa6022e=d[_0x15e0a4(0x280)](()=>{_0x2b1206&&_0x2b1206();},[_0x4034b7,_0x66d136,_0x2b1206]);function _0x10d3b7(){var _0x12cb27=_0x15e0a4;return o['jsxs'](_0x12cb27(0x1d1),{'className':x[_0x12cb27(0x207)](_0x12cb27(0x258),_0x2b1206&&_0x12cb27(0x27c)),'onClick':_0x2b1206?_0xa6022e:void 0x0,'children':[o['jsx'](_0x12cb27(0x1d1),{'className':x[_0x12cb27(0x207)](_0x12cb27(0x22f),_0x56e476),'children':_0xc29c8}),o[_0x12cb27(0x251)](_0x12cb27(0x1d1),{'className':_0x12cb27(0x1d0),'children':_0x1e7ed6})]});}return o[_0x15e0a4(0x251)](x[_0x15e0a4(0x277)],{'title':_0x55b5ab,'placement':_0x15e0a4(0x308),'children':_0x10d3b7()});}var Ie=Object[_0x1ff1df(0x1c2)],Se=(_0xce25f2,_0x27c874,_0x393d22,_0x3ac0a2)=>{var _0x37e7c6=_0x1ff1df;for(var _0x339d9b=_0x3ac0a2>0x1?void 0x0:_0x3ac0a2?Ie(_0x27c874,_0x393d22):_0x27c874,_0x3f0a57=_0xce25f2[_0x37e7c6(0x275)]-0x1,_0xec2758;_0x3f0a57>=0x0;_0x3f0a57--)(_0xec2758=_0xce25f2[_0x3f0a57])&&(_0x339d9b=_0xec2758(_0x339d9b)||_0x339d9b);return _0x339d9b;},O=(_0x196454,_0x1c4ab2)=>(_0x1ab5a2,_0x5b397d)=>_0x1c4ab2(_0x1ab5a2,_0x5b397d,_0x196454);exports['MCPConnectionUIController']=class extends u[_0x1ff1df(0x2e4)]{constructor(_0x7db582,_0x3ecc21,_0x41e8b0){var _0x1d211e=_0x1ff1df;super(),this[_0x1d211e(0x228)]=_0x7db582,this[_0x1d211e(0x2c7)]=_0x3ecc21,this[_0x1d211e(0x303)]=_0x41e8b0,this['_initStatusComponent']();}['_initStatusComponent'](){var _0xf716e4=_0x1ff1df;this['disposeWithMe'](this['_uiPartsService'][_0xf716e4(0x1bf)](v[_0xf716e4(0x2fb)]['HEADER_MENU'],()=>v[_0xf716e4(0x2c9)](_e({'status$':this[_0xf716e4(0x2c7)][_0xf716e4(0x23c)],'error$':this[_0xf716e4(0x2c7)][_0xf716e4(0x287)],'onConfigure':()=>this['_handleConfigure']()}),this['_injector'])));}['_handleConfigure'](){var _0x301f62=_0x1ff1df;this[_0x301f62(0x228)][_0x301f62(0x2c0)](exports['MCPConfigUIController'])[_0x301f62(0x22a)]();}},exports['MCPConnectionUIController']=Se([O(0x0,u[_0x1ff1df(0x1fb)](u[_0x1ff1df(0x314)])),O(0x1,u[_0x1ff1df(0x1fb)](s[_0x1ff1df(0x1e5)])),O(0x2,v[_0x1ff1df(0x24a)])],exports[_0x1ff1df(0x240)]);function _e(_0xeaca33){const {status$:_0x129957,error$:_0x2c4925,onConfigure:_0xb6b4d4}=_0xeaca33;return function(){var _0x31bc57=_0x5058;return o[_0x31bc57(0x251)](q,{'status$':_0x129957,'error$':_0x2c4925,'onConfigure':_0xb6b4d4});};}function ye(_0x5e9523){var _0x55df9a=_0x1ff1df;return{'id':b['id'],'type':v[_0x55df9a(0x2af)][_0x55df9a(0x2ad)],'icon':'MenuIcon','title':'mcpConfig.title','tooltip':_0x55df9a(0x22b)};}const Me={[v[_0x1ff1df(0x2fa)][_0x1ff1df(0x2a5)]]:{[b['id']]:{'order':0xa,'menuItemFactory':ye}}};var Ee=Object['getOwnPropertyDescriptor'],Ne=(_0x53348a,_0x538343,_0xc59761,_0x560037)=>{var _0x50d381=_0x1ff1df;for(var _0x5e7c88=_0x560037>0x1?void 0x0:_0x560037?Ee(_0x538343,_0xc59761):_0x538343,_0x4db391=_0x53348a[_0x50d381(0x275)]-0x1,_0x320c57;_0x4db391>=0x0;_0x4db391--)(_0x320c57=_0x53348a[_0x4db391])&&(_0x5e7c88=_0x320c57(_0x5e7c88)||_0x5e7c88);return _0x5e7c88;},R=(_0x59ffbf,_0x4dc59f)=>(_0x16e6e5,_0x55306f)=>_0x4dc59f(_0x16e6e5,_0x55306f,_0x59ffbf);exports['MCPUIMenuController']=class extends u[_0x1ff1df(0x2e4)]{constructor(_0x212dcc,_0x1ba2bb){var _0x4d1339=_0x1ff1df;super(),this['_commandService']=_0x212dcc,this[_0x4d1339(0x237)]=_0x1ba2bb,this[_0x4d1339(0x1ed)](),this[_0x4d1339(0x282)]();}['_initializeCommands'](){var _0xaaae50=_0x1ff1df;[b][_0xaaae50(0x1e9)](_0x3ac819=>{var _0x2347f9=_0xaaae50;this['disposeWithMe'](this[_0x2347f9(0x2a2)]['registerCommand'](_0x3ac819));});}['_initializeMenus'](){var _0x399ef7=_0x1ff1df;this[_0x399ef7(0x237)]['mergeMenu'](Me);}},exports[_0x1ff1df(0x2a0)]=Ne([R(0x0,u[_0x1ff1df(0x2c5)]),R(0x1,v['IMenuManagerService'])],exports['MCPUIMenuController']);const W={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x1ff1df(0x23e),'connected':_0x1ff1df(0x2dd),'failed':_0x1ff1df(0x242),'retrying':_0x1ff1df(0x208),'unknown':_0x1ff1df(0x1b9),'missingApiKey':_0x1ff1df(0x2ef),'invalidApiKey':_0x1ff1df(0x1b1),'sessionOccupied':_0x1ff1df(0x2c4),'networkError':_0x1ff1df(0x278),'maxRetriesExceeded':_0x1ff1df(0x25f),'clickToConnect':_0x1ff1df(0x24d),'clickToConfigure':_0x1ff1df(0x27f)},'mcpConfig':{'title':_0x1ff1df(0x2ec),'description':_0x1ff1df(0x27a),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1ff1df(0x234),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1ff1df(0x221),'serverEndpoint':_0x1ff1df(0x1fe),'sessionId':'Session\x20ID','maxRetries':'Max\x20Retries','save':_0x1ff1df(0x25e),'saving':_0x1ff1df(0x1a8),'note1':_0x1ff1df(0x284),'note2':_0x1ff1df(0x30e),'configSaved':_0x1ff1df(0x2b9),'configError':_0x1ff1df(0x261),'apiApplyInfo':{'title':_0x1ff1df(0x2db),'description':_0x1ff1df(0x1e8),'univerAiLabel':_0x1ff1df(0x2d3),'getStarted':_0x1ff1df(0x20e)},'validation':{'apiKeyRequired':_0x1ff1df(0x238),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x1ff1df(0x24e)},'connectionStatus':{'disconnected':_0x1ff1df(0x259),'connecting':_0x1ff1df(0x2ea),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x1ff1df(0x219)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x1ff1df(0x1ae),'sessionOccupied':_0x1ff1df(0x293),'networkError':_0x1ff1df(0x2e0),'maxRetriesExceeded':_0x1ff1df(0x23a)}}},z={'mcpStatus':{'disconnected':_0x1ff1df(0x294),'connecting':_0x1ff1df(0x1fd),'connected':'MCP\x20已连接','failed':_0x1ff1df(0x1f8),'retrying':'MCP\x20重连中...','unknown':_0x1ff1df(0x302),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':_0x1ff1df(0x1ce),'sessionOccupied':_0x1ff1df(0x2be),'networkError':_0x1ff1df(0x273),'maxRetriesExceeded':_0x1ff1df(0x23b),'clickToConnect':_0x1ff1df(0x239),'clickToConfigure':_0x1ff1df(0x270)},'mcpConfig':{'title':'MCP\x20配置','description':_0x1ff1df(0x28f),'apiKey':_0x1ff1df(0x31e),'apiKeyPlaceholder':_0x1ff1df(0x28a),'apiKeyHint':_0x1ff1df(0x26b),'enableAuth':_0x1ff1df(0x257),'enableAuthHint':_0x1ff1df(0x1c6),'connectionInfo':_0x1ff1df(0x1c7),'serverEndpoint':_0x1ff1df(0x1ad),'sessionId':'会话ID','maxRetries':_0x1ff1df(0x269),'save':_0x1ff1df(0x2de),'saving':_0x1ff1df(0x1cd),'note1':_0x1ff1df(0x1e4),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':'配置保存成功','configError':_0x1ff1df(0x2bd),'apiApplyInfo':{'title':_0x1ff1df(0x2d8),'description':_0x1ff1df(0x319),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x1ff1df(0x1a7)},'validation':{'apiKeyRequired':_0x1ff1df(0x1d3),'apiKeyTooShort':_0x1ff1df(0x235),'invalidConfig':_0x1ff1df(0x24f),'invalidApiKey':_0x1ff1df(0x1f3)},'connectionStatus':{'disconnected':_0x1ff1df(0x1ef),'connecting':_0x1ff1df(0x252),'connected':_0x1ff1df(0x2f8),'failed':'连接失败','retrying':_0x1ff1df(0x2b6)},'connectionError':{'missingApiKey':_0x1ff1df(0x312),'invalidApiKey':_0x1ff1df(0x214),'sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x1ff1df(0x23d),'maxRetriesExceeded':_0x1ff1df(0x216)}}};var be=Object['defineProperty'],je=Object[_0x1ff1df(0x1c2)],we=(_0x48c5bc,_0x523257,_0x40b2ef)=>_0x523257 in _0x48c5bc?be(_0x48c5bc,_0x523257,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40b2ef}):_0x48c5bc[_0x523257]=_0x40b2ef,Ae=(_0x5ace6c,_0xdddf6,_0xf41b40,_0x1fc32c)=>{var _0x331072=_0x1ff1df;for(var _0x29acf0=_0x1fc32c>0x1?void 0x0:_0x1fc32c?je(_0xdddf6,_0xf41b40):_0xdddf6,_0x429310=_0x5ace6c[_0x331072(0x275)]-0x1,_0x399ce3;_0x429310>=0x0;_0x429310--)(_0x399ce3=_0x5ace6c[_0x429310])&&(_0x29acf0=_0x399ce3(_0x29acf0)||_0x29acf0);return _0x29acf0;},y=(_0x4ffb1b,_0x45c983)=>(_0x5cba5c,_0x333494)=>_0x45c983(_0x5cba5c,_0x333494,_0x4ffb1b),Oe=(_0x426b6e,_0x1df087,_0x425764)=>we(_0x426b6e,_0x1df087+'',_0x425764);exports[_0x1ff1df(0x1f7)]=class extends u[_0x1ff1df(0x1e1)]{constructor(_0x3ea8dc=T,_0x345810,_0xb42f72,_0x94b19,_0x105d30,_0x579ade){var _0x5975e6=_0x1ff1df;super(),this[_0x5975e6(0x24b)]=_0x3ea8dc,this[_0x5975e6(0x228)]=_0x345810,this[_0x5975e6(0x26d)]=_0xb42f72,this[_0x5975e6(0x303)]=_0x94b19,this[_0x5975e6(0x2c3)]=_0x105d30,this[_0x5975e6(0x297)]=_0x579ade;const {..._0x48e0fe}=u[_0x5975e6(0x2c2)]({},T,this['_config']);this[_0x5975e6(0x26d)][_0x5975e6(0x2d5)](k,_0x48e0fe),this[_0x5975e6(0x297)][_0x5975e6(0x27d)]({'zhCN':z,'enUS':W});}async[_0x1ff1df(0x223)](){var _0x493f7a=_0x1ff1df;[[exports[_0x493f7a(0x240)]],[exports[_0x493f7a(0x2aa)]],[exports['MCPUIMenuController']]][_0x493f7a(0x1e9)](_0x89d865=>this[_0x493f7a(0x228)][_0x493f7a(0x299)](_0x89d865)),this[_0x493f7a(0x228)]['get'](exports['MCPConnectionUIController']),this[_0x493f7a(0x228)][_0x493f7a(0x2c0)](exports['MCPConfigUIController']),this[_0x493f7a(0x228)]['get'](exports[_0x493f7a(0x2a0)]);}},Oe(exports['UniverMCPUIPlugin'],_0x1ff1df(0x316),_0x1ff1df(0x206)),exports[_0x1ff1df(0x1f7)]=Ae([u[_0x1ff1df(0x2bc)](s[_0x1ff1df(0x304)]),y(0x1,u[_0x1ff1df(0x1fb)](u[_0x1ff1df(0x314)])),y(0x2,u[_0x1ff1df(0x20f)]),y(0x3,v[_0x1ff1df(0x24a)]),y(0x4,u[_0x1ff1df(0x2b0)]),y(0x5,u[_0x1ff1df(0x1fb)](u[_0x1ff1df(0x2e7)]))],exports[_0x1ff1df(0x1f7)]),exports['MCPConfigPanel']=B,exports['MCPStatusDisplay']=q,exports['OpenMCPConfigPanelCommand']=b,exports[_0x1ff1df(0x2a1)]=W,exports[_0x1ff1df(0x2ba)]=z;
|
|
1
|
+
'use strict';var _0x1506c4=_0x4201;(function(_0x1e13f0,_0x4bd58b){var _0x17a162=_0x4201,_0x1fbfbf=_0x1e13f0();while(!![]){try{var _0x10f40e=-parseInt(_0x17a162(0x2ae))/0x1*(parseInt(_0x17a162(0x27b))/0x2)+-parseInt(_0x17a162(0x250))/0x3*(parseInt(_0x17a162(0x19a))/0x4)+parseInt(_0x17a162(0x200))/0x5+parseInt(_0x17a162(0x2fd))/0x6*(parseInt(_0x17a162(0x29a))/0x7)+parseInt(_0x17a162(0x230))/0x8+-parseInt(_0x17a162(0x245))/0x9*(-parseInt(_0x17a162(0x1c5))/0xa)+-parseInt(_0x17a162(0x24d))/0xb;if(_0x10f40e===_0x4bd58b)break;else _0x1fbfbf['push'](_0x1fbfbf['shift']());}catch(_0x173aee){_0x1fbfbf['push'](_0x1fbfbf['shift']());}}}(_0x2cc8,0x7218a));var te=Object['defineProperty'],oe=(_0x10fac5,_0x2434be,_0x450377)=>_0x2434be in _0x10fac5?te(_0x10fac5,_0x2434be,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x450377}):_0x10fac5[_0x2434be]=_0x450377,_=(_0x414c69,_0xa63b9c,_0x1013e7)=>oe(_0x414c69,typeof _0xa63b9c!=_0x1506c4(0x2d0)?_0xa63b9c+'':_0xa63b9c,_0x1013e7);Object[_0x1506c4(0x2d6)](exports,Symbol[_0x1506c4(0x2f8)],{'value':_0x1506c4(0x1c9)});const u=require('@univerjs/core'),o=require('react/jsx-runtime'),s=require('@univerjs-pro/mcp'),x=require('@univerjs/design'),v=require('@univerjs/ui'),j=require('rxjs'),d=require('react');var C=function(){var _0x1cac1b=_0x1506c4;return C=Object[_0x1cac1b(0x1ac)]||function(_0x52e292){var _0x2a3adf=_0x1cac1b;for(var _0x788a4b,_0x2b8b32=0x1,_0x1f5dc9=arguments[_0x2a3adf(0x1a2)];_0x2b8b32<_0x1f5dc9;_0x2b8b32++){_0x788a4b=arguments[_0x2b8b32];for(var _0x4ee4da in _0x788a4b)Object[_0x2a3adf(0x299)][_0x2a3adf(0x1f6)][_0x2a3adf(0x26a)](_0x788a4b,_0x4ee4da)&&(_0x52e292[_0x4ee4da]=_0x788a4b[_0x4ee4da]);}return _0x52e292;},C['apply'](this,arguments);},se=function(_0x174490,_0x557591){var _0x316c13=_0x1506c4,_0x19ad65={};for(var _0x3f6832 in _0x174490)Object[_0x316c13(0x299)][_0x316c13(0x1f6)][_0x316c13(0x26a)](_0x174490,_0x3f6832)&&_0x557591[_0x316c13(0x290)](_0x3f6832)<0x0&&(_0x19ad65[_0x3f6832]=_0x174490[_0x3f6832]);if(_0x174490!=null&&typeof Object['getOwnPropertySymbols']==_0x316c13(0x2c4)){for(var _0x439879=0x0,_0x3f6832=Object[_0x316c13(0x2e8)](_0x174490);_0x439879<_0x3f6832['length'];_0x439879++)_0x557591[_0x316c13(0x290)](_0x3f6832[_0x439879])<0x0&&Object['prototype'][_0x316c13(0x289)][_0x316c13(0x26a)](_0x174490,_0x3f6832[_0x439879])&&(_0x19ad65[_0x3f6832[_0x439879]]=_0x174490[_0x3f6832[_0x439879]]);}return _0x19ad65;},P=d[_0x1506c4(0x19d)](function(_0x5b4cc9,_0x164486){var _0x5cdec8=_0x1506c4,_0x188375=_0x5b4cc9['icon'],_0x6470b8=_0x5b4cc9['id'],_0xc0dc3f=_0x5b4cc9[_0x5cdec8(0x2ce)],_0x238e3d=_0x5b4cc9['extend'],_0x805d54=se(_0x5b4cc9,[_0x5cdec8(0x1aa),'id',_0x5cdec8(0x2ce),_0x5cdec8(0x22c)]),_0x2cac58=_0x5cdec8(0x222)[_0x5cdec8(0x2b0)](_0x6470b8,'\x20')['concat'](_0xc0dc3f||'')['trim'](),_0x1f2aaf=d[_0x5cdec8(0x27a)]('_'[_0x5cdec8(0x2b0)](le()));return $(_0x188375,''[_0x5cdec8(0x2b0)](_0x6470b8),{'defIds':_0x188375[_0x5cdec8(0x1f7)],'idSuffix':_0x1f2aaf[_0x5cdec8(0x2b7)]},C({'ref':_0x164486,'className':_0x2cac58},_0x805d54),_0x238e3d);});function $(_0x33136c,_0x595744,_0x3b9a00,_0x4fc023,_0x4c39d9){var _0x1460e6=_0x1506c4;return d[_0x1460e6(0x2fb)](_0x33136c[_0x1460e6(0x2f9)],C(C({'key':_0x595744},ce(_0x33136c,_0x3b9a00,_0x4c39d9)),_0x4fc023),(ae(_0x33136c,_0x3b9a00)[_0x1460e6(0x25e)]||[])[_0x1460e6(0x1cd)](function(_0x3f24ed,_0x1b96c7){var _0x49b949=_0x1460e6;return $(_0x3f24ed,''['concat'](_0x595744,'-')[_0x49b949(0x2b0)](_0x33136c[_0x49b949(0x2f9)],'-')[_0x49b949(0x2b0)](_0x1b96c7),_0x3b9a00,void 0x0,_0x4c39d9);}));}function ce(_0x4d4fd5,_0x58237a,_0x562c76){var _0x3e6ec2=_0x1506c4,_0x27c9e8=C({},_0x4d4fd5[_0x3e6ec2(0x1f2)]);_0x562c76!=null&&_0x562c76[_0x3e6ec2(0x2f5)]&&_0x27c9e8[_0x3e6ec2(0x273)]===_0x3e6ec2(0x2f5)&&(_0x27c9e8[_0x3e6ec2(0x273)]=_0x562c76['colorChannel1']),_0x4d4fd5[_0x3e6ec2(0x2f9)]===_0x3e6ec2(0x257)&&_0x27c9e8['id']&&(_0x27c9e8['id']=_0x27c9e8['id']+_0x58237a[_0x3e6ec2(0x1cb)]),Object[_0x3e6ec2(0x1ee)](_0x27c9e8)[_0x3e6ec2(0x29c)](function(_0x452ba0){var _0x5a3e94=_0x3e6ec2,_0x5be52b=_0x452ba0[0x0],_0x860f89=_0x452ba0[0x1];_0x5be52b===_0x5a3e94(0x257)&&typeof _0x860f89==_0x5a3e94(0x2a5)&&(_0x27c9e8[_0x5be52b]=_0x860f89[_0x5a3e94(0x2e0)](/url\(#(.*)\)/,_0x5a3e94(0x1fb)[_0x5a3e94(0x2b0)](_0x58237a[_0x5a3e94(0x1cb)],')')));});var _0x540289=_0x58237a[_0x3e6ec2(0x1f7)];return!_0x540289||_0x540289['length']===0x0||(_0x4d4fd5[_0x3e6ec2(0x2f9)]==='use'&&_0x27c9e8[_0x3e6ec2(0x2ea)]&&(_0x27c9e8[_0x3e6ec2(0x2ea)]=_0x27c9e8[_0x3e6ec2(0x2ea)]+_0x58237a[_0x3e6ec2(0x1cb)]),Object[_0x3e6ec2(0x1ee)](_0x27c9e8)[_0x3e6ec2(0x29c)](function(_0xe0519e){var _0x4043c9=_0x3e6ec2,_0x50aa44=_0xe0519e[0x0],_0xb80e50=_0xe0519e[0x1];typeof _0xb80e50==_0x4043c9(0x2a5)&&(_0x27c9e8[_0x50aa44]=_0xb80e50[_0x4043c9(0x2e0)](/url\(#(.*)\)/,_0x4043c9(0x1fb)[_0x4043c9(0x2b0)](_0x58237a[_0x4043c9(0x1cb)],')')));})),_0x27c9e8;}function ae(_0x607158,_0x4c134b){var _0x1f571c=_0x1506c4,_0x43fda1,_0x571e41=_0x4c134b[_0x1f571c(0x1f7)];return!_0x571e41||_0x571e41[_0x1f571c(0x1a2)]===0x0?_0x607158:_0x607158[_0x1f571c(0x2f9)]==='defs'&&(!((_0x43fda1=_0x607158[_0x1f571c(0x25e)])===null||_0x43fda1===void 0x0)&&_0x43fda1['length'])?C(C({},_0x607158),{'children':_0x607158[_0x1f571c(0x25e)]['map'](function(_0x2539e7){var _0x58b837=_0x1f571c;return typeof _0x2539e7[_0x58b837(0x1f2)]['id']==_0x58b837(0x2a5)&&_0x571e41&&_0x571e41[_0x58b837(0x1ea)](_0x2539e7['attrs']['id'])?C(C({},_0x2539e7),{'attrs':C(C({},_0x2539e7[_0x58b837(0x1f2)]),{'id':_0x2539e7[_0x58b837(0x1f2)]['id']+_0x4c134b['idSuffix']})}):_0x2539e7;})}):_0x607158;}function le(){var _0x3eaf08=_0x1506c4;return Math[_0x3eaf08(0x1d4)]()[_0x3eaf08(0x23a)](0x24)[_0x3eaf08(0x295)](0x2,0x8);}P[_0x1506c4(0x234)]=_0x1506c4(0x279);var ue={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':_0x1506c4(0x19e),'fill':'none','viewBox':_0x1506c4(0x1f8),'width':_0x1506c4(0x24f),'height':_0x1506c4(0x24f)},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'fill':'currentColor','d':'M14.1544\x203.75557C14.3887\x203.98988\x2014.3887\x204.36978\x2014.1544\x204.6041L6.51409\x2012.2444C6.40157\x2012.3569\x206.24896\x2012.4201\x206.08983\x2012.4201C5.9307\x2012.4201\x205.77808\x2012.3569\x205.66556\x2012.2444L1.84541\x208.42425C1.6111\x208.18993\x201.6111\x207.81003\x201.84541\x207.57572C2.07973\x207.34141\x202.45963\x207.34141\x202.69394\x207.57572L6.08983\x2010.9716L13.3059\x203.75557C13.5402\x203.52126\x2013.9201\x203.52126\x2014.1544\x203.75557Z','fillRule':'evenodd','clipRule':_0x1506c4(0x251)}}]},L=d[_0x1506c4(0x19d)](function(_0x323026,_0x5cc623){return d['createElement'](P,Object['assign']({},_0x323026,{'id':'check-mark-icon','ref':_0x5cc623,'icon':ue}));});L[_0x1506c4(0x234)]=_0x1506c4(0x26d);var ve={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1506c4(0x1dd),'viewBox':'0\x200\x2017\x2017','width':_0x1506c4(0x24f),'height':_0x1506c4(0x24f)},'children':[{'tag':'path','attrs':{'stroke':_0x1506c4(0x2c0),'d':_0x1506c4(0x26e),'strokeLinecap':'round','strokeLinejoin':_0x1506c4(0x1e9),'strokeWidth':1.33}},{'tag':_0x1506c4(0x2fc),'attrs':{'stroke':_0x1506c4(0x2c0),'d':_0x1506c4(0x1cf),'strokeLinecap':_0x1506c4(0x1e9),'strokeLinejoin':_0x1506c4(0x1e9),'strokeWidth':1.33}}]},G=d[_0x1506c4(0x19d)](function(_0x44a92f,_0x1d561b){var _0x52ccc4=_0x1506c4;return d[_0x52ccc4(0x2fb)](P,Object[_0x52ccc4(0x1ac)]({},_0x44a92f,{'id':_0x52ccc4(0x1d0),'ref':_0x1d561b,'icon':ve}));});G['displayName']=_0x1506c4(0x1ab);var de={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1506c4(0x1dd),'viewBox':_0x1506c4(0x1f8),'width':'1em','height':'1em'},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'fill':'currentColor','d':_0x1506c4(0x2d7)}},{'tag':_0x1506c4(0x2fc),'attrs':{'fill':_0x1506c4(0x2c0),'d':_0x1506c4(0x1a0)}},{'tag':'path','attrs':{'fill':_0x1506c4(0x2c0),'d':_0x1506c4(0x2ec),'fillRule':_0x1506c4(0x251),'clipRule':'evenodd'}}]},Y=d[_0x1506c4(0x19d)](function(_0x16f4ad,_0x162526){return d['createElement'](P,Object['assign']({},_0x16f4ad,{'id':'help-single','ref':_0x162526,'icon':de}));});Y['displayName']=_0x1506c4(0x22b);var Ce={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':_0x1506c4(0x19e),'fill':'none','viewBox':_0x1506c4(0x1f8),'width':_0x1506c4(0x24f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'stroke':_0x1506c4(0x2c0),'d':_0x1506c4(0x226),'strokeLinecap':_0x1506c4(0x1e9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1506c4(0x296),'attrs':{},'children':[{'tag':_0x1506c4(0x1c6),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x1506c4(0x2dc),'d':_0x1506c4(0x2c9)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},F=d[_0x1506c4(0x19d)](function(_0xadf413,_0x48f115){var _0x260198=_0x1506c4;return d[_0x260198(0x2fb)](P,Object[_0x260198(0x1ac)]({},_0xadf413,{'id':'off-line-icon','ref':_0x48f115,'icon':Ce}));});F['displayName']=_0x1506c4(0x252);function _0x4201(_0x16366d,_0x4ec7ef){var _0x2cc8bf=_0x2cc8();return _0x4201=function(_0x420115,_0x34904e){_0x420115=_0x420115-0x199;var _0x4e0430=_0x2cc8bf[_0x420115];return _0x4e0430;},_0x4201(_0x16366d,_0x4ec7ef);}var ge={'tag':_0x1506c4(0x2cd),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x1506c4(0x27f),'width':_0x1506c4(0x24f),'height':_0x1506c4(0x24f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1506c4(0x236)},'children':[{'tag':_0x1506c4(0x2fc),'attrs':{'stroke':_0x1506c4(0x2c0),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1506c4(0x1e9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1506c4(0x296),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1506c4(0x233)},'children':[{'tag':'path','attrs':{'fill':_0x1506c4(0x2dc),'d':_0x1506c4(0x2c9),'transform':_0x1506c4(0x1a7)}}]}]}],'defIds':[_0x1506c4(0x233)]},V=d[_0x1506c4(0x19d)](function(_0x13b0e5,_0x57181c){var _0x4421b1=_0x1506c4;return d['createElement'](P,Object[_0x4421b1(0x1ac)]({},_0x13b0e5,{'id':'on-line-icon','ref':_0x57181c,'icon':ge}));});V[_0x1506c4(0x234)]=_0x1506c4(0x249);function B(_0x1317d4){var _0x12dbb1=_0x1506c4,_0x593e93,_0x5eb3cc;const {mcpCoreConfig:_0x1ab216,onSave:_0x2ebf37,loading:_0x1d96e0=!0x1,config:_0x1a95fc,connectionStatus$:_0x199fd4,connectionError$:_0xb47aa9}=_0x1317d4,_0x17081c=v['useDependency'](u[_0x12dbb1(0x2c8)]),_0x105ee0=v['useObservable'](_0x199fd4,s[_0x12dbb1(0x1fd)]['DISCONNECTED']),_0x1d0ea7=v['useObservable'](_0xb47aa9,s[_0x12dbb1(0x1a6)][_0x12dbb1(0x266)]),[_0x52f9fc,_0x2e034d]=d[_0x12dbb1(0x27c)](_0x1ab216[_0x12dbb1(0x2b5)]||''),_0x27be0c=!0x0,_0x5160c3=_0x1a95fc['showDeveloperTools']&&_0x1ab216[_0x12dbb1(0x1b5)]&&(_0x1ab216[_0x12dbb1(0x1b5)][_0x12dbb1(0x1ea)](_0x12dbb1(0x300))||_0x1ab216[_0x12dbb1(0x1b5)][_0x12dbb1(0x1ea)]('univer.ai')),_0x3d3d34=(_0x593e93=_0x1ab216['mcpServerUrl'])==null?void 0x0:_0x593e93[_0x12dbb1(0x1ea)](_0x12dbb1(0x300)),_0x50875c=(_0x5eb3cc=_0x1ab216['mcpServerUrl'])==null?void 0x0:_0x5eb3cc[_0x12dbb1(0x1ea)](_0x12dbb1(0x2da)),_0x5315bd=_0x3d3d34?'https://console.univer.plus':'https://console.univer.ai',_0x31b3c1=_0x1a95fc['showDeveloperTools']&&(_0x3d3d34||_0x50875c),[_0x2d58a5,_0x1b6dfc]=d[_0x12dbb1(0x27c)](!_0x52f9fc[_0x12dbb1(0x2ab)]()),_0x2a1be5=(_0x1d877a,_0x3c2905)=>{var _0x6e37f0=_0x12dbb1;if(_0x3c2905===s[_0x6e37f0(0x1a6)][_0x6e37f0(0x291)]||_0x3c2905===s[_0x6e37f0(0x1a6)][_0x6e37f0(0x1e0)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x1d877a){case s[_0x6e37f0(0x1fd)][_0x6e37f0(0x263)]:return _0x6e37f0(0x1b9);case s['MCPConnectionStatus'][_0x6e37f0(0x203)]:case s[_0x6e37f0(0x1fd)][_0x6e37f0(0x20a)]:return _0x6e37f0(0x1da);case s[_0x6e37f0(0x1fd)][_0x6e37f0(0x23b)]: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';}},_0x34b861=(_0x327f51,_0x1e140)=>{var _0xd38f34=_0x12dbb1;if(_0x1e140===s[_0xd38f34(0x1a6)]['MISSING_API_KEY']||_0x1e140===s['MCPConnectionError'][_0xd38f34(0x1e0)])return _0xd38f34(0x2c6);switch(_0x327f51){case s[_0xd38f34(0x1fd)]['CONNECTED']:return'univer-bg-green-500';case s[_0xd38f34(0x1fd)][_0xd38f34(0x203)]:case s[_0xd38f34(0x1fd)][_0xd38f34(0x20a)]:return'univer-bg-blue-500';case s[_0xd38f34(0x1fd)]['FAILED']:return'univer-bg-red-500';default:return'univer-bg-gray-500';}},_0xe8cb24=_0x5726d7=>{var _0x179fce=_0x12dbb1;switch(_0x5726d7){case s['MCPConnectionStatus'][_0x179fce(0x263)]:return _0x17081c['t']('mcpConfig.connectionStatus.connected');case s[_0x179fce(0x1fd)]['CONNECTING']:return _0x17081c['t'](_0x179fce(0x1ba));case s[_0x179fce(0x1fd)][_0x179fce(0x23b)]:return _0x17081c['t'](_0x179fce(0x2bf));case s['MCPConnectionStatus'][_0x179fce(0x20a)]:return _0x17081c['t'](_0x179fce(0x1c2));default:return _0x17081c['t'](_0x179fce(0x2a1));}},_0x13a309=_0x39df0c=>{var _0x5df8b5=_0x12dbb1;switch(_0x39df0c){case s[_0x5df8b5(0x1a6)]['MISSING_API_KEY']:return _0x17081c['t'](_0x5df8b5(0x1de));case s[_0x5df8b5(0x1a6)][_0x5df8b5(0x1e0)]:return _0x17081c['t'](_0x5df8b5(0x205));case s[_0x5df8b5(0x1a6)][_0x5df8b5(0x216)]:return _0x17081c['t'](_0x5df8b5(0x1e7));case s[_0x5df8b5(0x1a6)]['NETWORK_ERROR']:return _0x17081c['t']('mcpConfig.connectionError.networkError');case s['MCPConnectionError'][_0x5df8b5(0x207)]:return _0x17081c['t'](_0x5df8b5(0x22f));default:return'';}},_0xd6b02f=d[_0x12dbb1(0x2b3)](()=>{var _0x55e448=_0x12dbb1;const _0x3a0ace={..._0x1ab216,'apiKey':_0x52f9fc[_0x55e448(0x2ab)](),'enableAuth':_0x27be0c};_0x2ebf37(_0x3a0ace);},[_0x1ab216,_0x52f9fc,_0x27be0c,_0x2ebf37]),_0x4fc17a=_0x52f9fc[_0x12dbb1(0x2ab)]()[_0x12dbb1(0x1a2)]>0x0;return o[_0x12dbb1(0x1d3)]('div',{'className':_0x12dbb1(0x2ff),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x243),'children':o[_0x12dbb1(0x1d3)]('div',{'className':_0x12dbb1(0x2ad),'children':[o['jsx']('div',{'className':_0x12dbb1(0x26f),'children':o[_0x12dbb1(0x20c)]('span',{'className':_0x12dbb1(0x2cc),'children':'⚙'})}),o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'children':o[_0x12dbb1(0x20c)]('p',{'className':_0x12dbb1(0x248),'children':_0x17081c['t'](_0x12dbb1(0x292))})})]})}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2e1),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1a8)+_0x2a1be5(_0x105ee0,_0x1d0ea7)+_0x12dbb1(0x2a3),'children':o['jsxs']('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[o[_0x12dbb1(0x20c)]('div',{'className':_0x12dbb1(0x246)+_0x34b861(_0x105ee0,_0x1d0ea7)+_0x12dbb1(0x2b9)}),o['jsx'](_0x12dbb1(0x293),{'className':_0x12dbb1(0x229),'children':_0xe8cb24(_0x105ee0)})]})}),_0x1d0ea7!==s[_0x12dbb1(0x1a6)]['NONE']&&(_0x105ee0===s['MCPConnectionStatus'][_0x12dbb1(0x23b)]||_0x1d0ea7===s[_0x12dbb1(0x1a6)]['MISSING_API_KEY']||_0x1d0ea7===s[_0x12dbb1(0x1a6)][_0x12dbb1(0x1e0)])&&o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x223),'children':o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2b4),'children':[o[_0x12dbb1(0x20c)]('span',{'className':_0x12dbb1(0x278),'children':'⚠️'}),o[_0x12dbb1(0x20c)]('p',{'className':_0x12dbb1(0x269),'children':_0x13a309(_0x1d0ea7)})]})})]}),o['jsx'](_0x12dbb1(0x282),{'className':_0x12dbb1(0x199),'children':o['jsxs'](_0x12dbb1(0x282),{'className':'univer-space-y-5','children':[o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-space-y-2','children':[o['jsxs'](_0x12dbb1(0x283),{'className':_0x12dbb1(0x28b),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'🔑'}),'\x20',_0x17081c['t'](_0x12dbb1(0x2a2)),o[_0x12dbb1(0x20c)]('span',{'className':_0x12dbb1(0x21d),'children':'*'}),_0x5160c3&&o['jsx']('a',{'href':_0x12dbb1(0x297),'onClick':()=>_0x1b6dfc(!0x0),'className':'univer-ml-1\x20univer-flex\x20univer-h-4\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','title':_0x17081c['t'](_0x12dbb1(0x237)),'children':o[_0x12dbb1(0x20c)](Y,{})})]}),o[_0x12dbb1(0x20c)](x[_0x12dbb1(0x1af)],{'type':_0x12dbb1(0x270),'placeholder':_0x17081c['t'](_0x12dbb1(0x29b)),'value':_0x52f9fc,'onChange':_0x2e034d,'disabled':_0x1d96e0,'autoComplete':'off'}),o['jsx']('p',{'className':_0x12dbb1(0x24e),'children':_0x17081c['t'](_0x12dbb1(0x1fa))})]}),_0x5160c3&&_0x2d58a5&&o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x265),'children':[o[_0x12dbb1(0x20c)]('a',{'href':_0x12dbb1(0x297),'onClick':()=>_0x1b6dfc(!0x1),'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','title':_0x12dbb1(0x28f),'children':o[_0x12dbb1(0x20c)](G,{})}),o['jsxs'](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2aa),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2ba),'children':o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x2a9),'children':'🚀'})}),o[_0x12dbb1(0x1d3)]('div',{'className':'univer-flex-1','children':[o['jsx']('h4',{'className':_0x12dbb1(0x29d),'children':_0x17081c['t'](_0x12dbb1(0x237))}),o['jsx']('p',{'className':_0x12dbb1(0x2c5),'children':_0x17081c['t'](_0x12dbb1(0x2b1))}),o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x31b3c1&&o[_0x12dbb1(0x1d3)]('a',{'href':_0x5315bd,'target':_0x12dbb1(0x288),'rel':_0x12dbb1(0x220),'className':_0x12dbb1(0x25d),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'🤖'}),_0x17081c['t'](_0x12dbb1(0x277)),o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x24c),'children':'↗'})]})}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x17081c['t']('mcpConfig.apiApplyInfo.getStarted')]})]})]})]}),_0x1a95fc['showDeveloperTools']&&o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2e3),'children':[o[_0x12dbb1(0x1d3)]('h4',{'className':_0x12dbb1(0x1ed),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'🔗'}),'\x20',_0x17081c['t'](_0x12dbb1(0x29f))]}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-space-y-3','children':[o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1eb),'children':[o[_0x12dbb1(0x20c)]('div',{'className':'univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),o['jsxs']('div',{'className':_0x12dbb1(0x2a7),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2f6),'children':_0x17081c['t']('mcpConfig.serverEndpoint')}),o[_0x12dbb1(0x20c)]('code',{'className':_0x12dbb1(0x256),'children':_0x1ab216['mcpServerUrl']})]})]}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[o['jsx'](_0x12dbb1(0x282),{'className':_0x12dbb1(0x2e2)}),o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':'univer-min-w-0\x20univer-flex-1','children':[o[_0x12dbb1(0x20c)]('div',{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x17081c['t'](_0x12dbb1(0x1ec))}),o['jsx']('code',{'className':_0x12dbb1(0x253),'children':_0x1ab216['sessionId']||'default'})]})]})]})]}),o[_0x12dbb1(0x20c)](x[_0x12dbb1(0x2a0)],{'onClick':_0xd6b02f,'disabled':!_0x4fc17a||_0x1d96e0,'className':_0x12dbb1(0x27d),'children':_0x1d96e0?o['jsxs']('span',{'className':_0x12dbb1(0x1d1),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'children':'⟲'}),_0x17081c['t'](_0x12dbb1(0x254))]}):o[_0x12dbb1(0x1d3)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x1d1),'children':[o[_0x12dbb1(0x20c)](L,{}),_0x17081c['t'](_0x12dbb1(0x1e3))]})}),o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':'univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','children':o[_0x12dbb1(0x1d3)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1cc),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x293),{'className':_0x12dbb1(0x23c),'children':'💡'}),o[_0x12dbb1(0x1d3)]('div',{'className':_0x12dbb1(0x208),'children':[o[_0x12dbb1(0x20c)](_0x12dbb1(0x282),{'className':_0x12dbb1(0x1dc),'children':_0x12dbb1(0x2fe)}),o['jsxs'](_0x12dbb1(0x282),{'children':['•',_0x17081c['t'](_0x12dbb1(0x268))]}),o['jsxs'](_0x12dbb1(0x282),{'children':['•',_0x17081c['t'](_0x12dbb1(0x217))]})]})]})})]})})]});}const k=_0x1506c4(0x1fe),T={'showDeveloperTools':!0x1};var fe=Object[_0x1506c4(0x1c3)],pe=(_0x239521,_0x5b3fe5,_0x1c2c5a,_0x376776)=>{for(var _0x20d76f=_0x376776>0x1?void 0x0:_0x376776?fe(_0x5b3fe5,_0x1c2c5a):_0x5b3fe5,_0x4b2cd5=_0x239521['length']-0x1,_0x12457b;_0x4b2cd5>=0x0;_0x4b2cd5--)(_0x12457b=_0x239521[_0x4b2cd5])&&(_0x20d76f=_0x12457b(_0x20d76f)||_0x20d76f);return _0x20d76f;},p=(_0x246b74,_0x145f90)=>(_0xc48a79,_0x2033f8)=>_0x145f90(_0xc48a79,_0x2033f8,_0x246b74);const w=_0x1506c4(0x239),A='mcp-config-dialog';exports[_0x1506c4(0x28e)]=class extends u[_0x1506c4(0x228)]{constructor(_0x52fecc,_0x2f96dc,_0x2e5723,_0x32198c,_0x1ce4aa,_0x1b3f18,_0x58be8f,_0x325986,_0x422ebe,_0x436425){var _0x46dd36=_0x1506c4;super(),_(this,'_loading$',new j['BehaviorSubject'](!0x1)),_(this,_0x46dd36(0x28c),new j[(_0x46dd36(0x21c))]({})),_(this,_0x46dd36(0x2a6),new j['BehaviorSubject']({})),_(this,_0x46dd36(0x204),async _0x13ba23=>{var _0x2bf02e=_0x46dd36;this['_loading$'][_0x2bf02e(0x255)](!0x0);try{const _0x2e3b40=await this[_0x2bf02e(0x1a5)](_0x13ba23);if(!_0x2e3b40[_0x2bf02e(0x25b)]){this['_messageService'][_0x2bf02e(0x21f)]({'type':x[_0x2bf02e(0x2c1)]['Error'],'content':_0x2e3b40[_0x2bf02e(0x275)]||this['_localeService']['t'](_0x2bf02e(0x25f))});return;}_0x13ba23[_0x2bf02e(0x2b5)]?await this['_localStorageService'][_0x2bf02e(0x261)](w,_0x13ba23['apiKey'][_0x2bf02e(0x2ab)]()):await this[_0x2bf02e(0x1e1)][_0x2bf02e(0x2fa)](w),this[_0x2bf02e(0x209)]['setConfig'](s[_0x2bf02e(0x1bb)],{..._0x13ba23,'apiKey':_0x13ba23[_0x2bf02e(0x2b5)][_0x2bf02e(0x2ab)]()}),this['_mcpCoreConfig$'][_0x2bf02e(0x255)]({..._0x13ba23,'apiKey':_0x13ba23[_0x2bf02e(0x2b5)][_0x2bf02e(0x2ab)]()}),this['_messageService'][_0x2bf02e(0x21f)]({'type':x[_0x2bf02e(0x2c1)][_0x2bf02e(0x20f)],'content':this[_0x2bf02e(0x285)]['t'](_0x2bf02e(0x286))}),setTimeout(()=>{var _0x1c8e57=_0x2bf02e;this['_dialogService'][_0x1c8e57(0x2f3)](A);},0x320);}catch(_0x36dd52){this[_0x2bf02e(0x1bc)][_0x2bf02e(0x24a)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x36dd52),this['_messageService'][_0x2bf02e(0x21f)]({'type':x[_0x2bf02e(0x2c1)]['Error'],'content':this[_0x2bf02e(0x285)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x2bf02e(0x255)](!0x1);}}),(this[_0x46dd36(0x247)]=_0x52fecc,this[_0x46dd36(0x2f0)]=_0x2f96dc,this[_0x46dd36(0x209)]=_0x2e5723,this[_0x46dd36(0x1e1)]=_0x32198c,this[_0x46dd36(0x26b)]=_0x1ce4aa,this[_0x46dd36(0x1b4)]=_0x1b3f18,this['_componentManager']=_0x58be8f,this['_localeService']=_0x325986,this[_0x46dd36(0x1bc)]=_0x422ebe,this[_0x46dd36(0x224)]=_0x436425,this[_0x46dd36(0x1c0)](),this[_0x46dd36(0x1e2)](),this['_registerComponent']());}[_0x1506c4(0x2eb)](){var _0x25a405=_0x1506c4;this[_0x25a405(0x26b)][_0x25a405(0x2db)]({'id':A,'title':{'title':this[_0x25a405(0x285)]['t'](_0x25a405(0x276))},'children':{'label':_0x25a405(0x267)},'width':0x1e0,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{var _0x4f4818=_0x25a405;this[_0x4f4818(0x26b)][_0x4f4818(0x2f3)](A);}});}[_0x1506c4(0x2d8)](){var _0x4568f6=_0x1506c4;return this[_0x4568f6(0x28c)][_0x4568f6(0x1df)];}[_0x1506c4(0x211)](){var _0x3893dd=_0x1506c4;this[_0x3893dd(0x281)](this[_0x3893dd(0x2bd)][_0x3893dd(0x1d9)](_0x3893dd(0x267),this[_0x3893dd(0x25c)]()));}['_createConfigPanelComponent'](){var _0x29b7cf=_0x1506c4;return v[_0x29b7cf(0x1bd)](()=>{var _0x352116=_0x29b7cf,_0x219832,_0x10ab9b;return o[_0x352116(0x20c)](B,{'config':this['_config$'][_0x352116(0x1df)],'mcpCoreConfig':this['_mcpCoreConfig$'][_0x352116(0x1df)],'onSave':this['_handleConfigSave'],'loading':this['_loading$'][_0x352116(0x1df)],'connectionStatus$':(_0x219832=this[_0x352116(0x224)])==null?void 0x0:_0x219832[_0x352116(0x1be)],'connectionError$':(_0x10ab9b=this[_0x352116(0x224)])==null?void 0x0:_0x10ab9b['connectionError$']});},this[_0x29b7cf(0x247)]);}[_0x1506c4(0x1c0)](){var _0x565460=_0x1506c4;this[_0x565460(0x281)](this[_0x565460(0x209)][_0x565460(0x19f)](s[_0x565460(0x1bb)])[_0x565460(0x213)](_0xf78a89=>{var _0x4fbf8f=_0x565460;this[_0x4fbf8f(0x28c)]['next'](_0xf78a89||{});}));const _0x18d6ec=this['_configService']['getConfig'](s[_0x565460(0x1bb)]);this[_0x565460(0x28c)][_0x565460(0x255)](_0x18d6ec||{}),this['disposeWithMe'](this[_0x565460(0x209)][_0x565460(0x19f)](k)[_0x565460(0x213)](_0x6d879=>{var _0x582d8b=_0x565460;this[_0x582d8b(0x2a6)][_0x582d8b(0x255)](_0x6d879||{});}));const _0x165230=this[_0x565460(0x209)]['getConfig'](k);this['_config$']['next'](_0x165230||{});}async[_0x1506c4(0x1e2)](){var _0x2aed2a=_0x1506c4;const _0x5590e7=await this['_localStorageService'][_0x2aed2a(0x202)](w);if(_0x5590e7){const _0x5544e8={...this[_0x2aed2a(0x28c)]['value'],'apiKey':_0x5590e7};this[_0x2aed2a(0x209)][_0x2aed2a(0x2e7)](s[_0x2aed2a(0x1bb)],_0x5544e8),this[_0x2aed2a(0x28c)][_0x2aed2a(0x255)](_0x5544e8);}}async['_validateConfig'](_0x677994){var _0x1576b3=_0x1506c4;if(!_0x677994[_0x1576b3(0x2b5)]||_0x677994[_0x1576b3(0x2b5)][_0x1576b3(0x2ab)]()[_0x1576b3(0x1a2)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x1576b3(0x285)]['t'](_0x1576b3(0x212))};if(_0x677994['apiKey'][_0x1576b3(0x2ab)]()[_0x1576b3(0x1a2)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x1576b3(0x285)]['t'](_0x1576b3(0x1a1))};try{const _0x25613f=await this['_injector']['get'](s['MCPConnectionController'])[_0x1576b3(0x23f)](_0x677994[_0x1576b3(0x2b5)][_0x1576b3(0x2ab)]());return _0x25613f[_0x1576b3(0x25b)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x25613f[_0x1576b3(0x24a)]||this[_0x1576b3(0x285)]['t'](_0x1576b3(0x26c))};}catch(_0x2e5740){return console[_0x1576b3(0x2f1)](_0x1576b3(0x232),_0x2e5740),{'isValid':!0x0};}}},exports[_0x1506c4(0x28e)]=pe([p(0x0,u[_0x1506c4(0x272)](u['Injector'])),p(0x1,v[_0x1506c4(0x21a)]),p(0x2,u[_0x1506c4(0x1fc)]),p(0x3,u['ILocalStorageService']),p(0x4,v['IDialogService']),p(0x5,v['IMessageService']),p(0x6,u[_0x1506c4(0x272)](v[_0x1506c4(0x2c3)])),p(0x7,u[_0x1506c4(0x272)](u['LocaleService'])),p(0x8,u[_0x1506c4(0x1f9)]),p(0x9,u['Inject'](s[_0x1506c4(0x24b)]))],exports[_0x1506c4(0x28e)]);const b={'id':_0x1506c4(0x20b),'type':u[_0x1506c4(0x2bb)]['COMMAND'],'handler':async(_0x59331d,_0x38933b)=>(_0x59331d['get'](exports[_0x1506c4(0x28e)])[_0x1506c4(0x2eb)](),!0x0)};function H(_0x1a0c45,_0x1ab0e9){var _0x360ded=_0x1506c4;switch(_0x1a0c45){case s[_0x360ded(0x1fd)][_0x360ded(0x29e)]:return _0x1ab0e9===s[_0x360ded(0x1a6)][_0x360ded(0x291)]?_0x360ded(0x1d5):'mcpStatus.disconnected';case s[_0x360ded(0x1fd)]['CONNECTING']:return'mcpStatus.connecting';case s[_0x360ded(0x1fd)][_0x360ded(0x263)]:return _0x360ded(0x2a8);case s['MCPConnectionStatus']['FAILED']:switch(_0x1ab0e9){case s[_0x360ded(0x1a6)]['INVALID_API_KEY']:return _0x360ded(0x1d6);case s[_0x360ded(0x1a6)]['SESSION_ID_OCCUPIED']:return _0x360ded(0x1c4);case s[_0x360ded(0x1a6)][_0x360ded(0x242)]:return'mcpStatus.networkError';case s['MCPConnectionError']['MAX_RETRIES_EXCEEDED']:return'mcpStatus.maxRetriesExceeded';default:return _0x360ded(0x1bf);}case s[_0x360ded(0x1fd)][_0x360ded(0x20a)]:return _0x360ded(0x2bc);default:return _0x360ded(0x28d);}}function he(_0x169d69,_0x1581d0,_0x5ddc6c){var _0xae6586=_0x1506c4;const _0x11e2f7=H(_0x169d69,_0x1581d0),_0x1df0b6=_0x5ddc6c['t'](_0x11e2f7);return _0x169d69===s[_0xae6586(0x1fd)]['DISCONNECTED']&&_0x1581d0===s[_0xae6586(0x1a6)][_0xae6586(0x291)]?_0x1df0b6+_0xae6586(0x302)+_0x5ddc6c['t'](_0xae6586(0x241)):_0x169d69===s[_0xae6586(0x1fd)]['CONNECTED']?''+_0x1df0b6:_0x169d69===s[_0xae6586(0x1fd)][_0xae6586(0x29e)]||_0x169d69===s[_0xae6586(0x1fd)][_0xae6586(0x23b)]?_0x1df0b6+_0xae6586(0x302)+_0x5ddc6c['t']('mcpStatus.clickToConnect'):_0x1df0b6;}function me(_0x3ee347){var _0x567707=_0x1506c4;switch(_0x3ee347){case s[_0x567707(0x1fd)][_0x567707(0x263)]:return _0x567707(0x271);case s['MCPConnectionStatus'][_0x567707(0x203)]:case s['MCPConnectionStatus'][_0x567707(0x20a)]:return _0x567707(0x2c7);case s[_0x567707(0x1fd)]['FAILED']:case s[_0x567707(0x1fd)][_0x567707(0x29e)]:return _0x567707(0x21d);default:return _0x567707(0x1c7);}}function q(_0x1970e0){var _0x13b7ab=_0x1506c4;const {status$:_0x6d9685,error$:_0x1db9eb,onConfigure:_0x2ac357}=_0x1970e0,_0x2117ff=v[_0x13b7ab(0x2f4)](_0x6d9685,s[_0x13b7ab(0x1fd)]['DISCONNECTED']),_0xf9d9fb=v[_0x13b7ab(0x2f4)](_0x1db9eb,s['MCPConnectionError'][_0x13b7ab(0x266)]),_0xb86a64=v[_0x13b7ab(0x210)](u[_0x13b7ab(0x2c8)]),_0x37baf0=_0x2117ff===s[_0x13b7ab(0x1fd)][_0x13b7ab(0x263)],_0x3772f7=_0x2117ff===s['MCPConnectionStatus'][_0x13b7ab(0x203)]||_0x2117ff===s[_0x13b7ab(0x1fd)]['RETRYING'],_0x576ab0=_0xb86a64['t'](H(_0x2117ff,_0xf9d9fb)),_0x2b2b77=he(_0x2117ff,_0xf9d9fb,_0xb86a64),_0x276d6f=me(_0x2117ff),_0x16d841=_0x37baf0?o[_0x13b7ab(0x20c)](V,{}):o[_0x13b7ab(0x20c)](F,{}),_0x4e0ab6=d[_0x13b7ab(0x2b3)](()=>{_0x2ac357&&_0x2ac357();},[_0x37baf0,_0x3772f7,_0x2ac357]);function _0x4079eb(){var _0x4b3260=_0x13b7ab;return o[_0x4b3260(0x1d3)]('div',{'className':x[_0x4b3260(0x304)](_0x4b3260(0x1ca),_0x2ac357&&_0x4b3260(0x1c8)),'onClick':_0x2ac357?_0x4e0ab6:void 0x0,'children':[o[_0x4b3260(0x20c)]('div',{'className':x[_0x4b3260(0x304)](_0x4b3260(0x1f4),_0x276d6f),'children':_0x16d841}),o['jsx'](_0x4b3260(0x282),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x576ab0})]});}return o['jsx'](x[_0x13b7ab(0x25a)],{'title':_0x2b2b77,'placement':_0x13b7ab(0x259),'children':_0x4079eb()});}var xe=Object[_0x1506c4(0x1c3)],Pe=(_0x5e68dd,_0x18d718,_0x25c70b,_0x22ef45)=>{var _0x14a0f0=_0x1506c4;for(var _0xd74b18=_0x22ef45>0x1?void 0x0:_0x22ef45?xe(_0x18d718,_0x25c70b):_0x18d718,_0x103239=_0x5e68dd[_0x14a0f0(0x1a2)]-0x1,_0x2ccb7b;_0x103239>=0x0;_0x103239--)(_0x2ccb7b=_0x5e68dd[_0x103239])&&(_0xd74b18=_0x2ccb7b(_0xd74b18)||_0xd74b18);return _0xd74b18;},O=(_0x2b155a,_0xf99761)=>(_0x42343a,_0x3cf6f1)=>_0xf99761(_0x42343a,_0x3cf6f1,_0x2b155a);exports[_0x1506c4(0x2d9)]=class extends u[_0x1506c4(0x228)]{constructor(_0x4cebce,_0x24f2a7,_0x57098f){var _0x3692c1=_0x1506c4;super(),this[_0x3692c1(0x247)]=_0x4cebce,this['_connectionController']=_0x24f2a7,this[_0x3692c1(0x2f0)]=_0x57098f,this['_initStatusComponent']();}[_0x1506c4(0x219)](){var _0x5b3542=_0x1506c4;this[_0x5b3542(0x281)](this['_uiPartsService']['registerComponent'](v[_0x5b3542(0x1b0)][_0x5b3542(0x2af)],()=>v[_0x5b3542(0x1bd)](Ie({'status$':this[_0x5b3542(0x215)][_0x5b3542(0x1be)],'error$':this[_0x5b3542(0x215)][_0x5b3542(0x2df)],'onConfigure':()=>this[_0x5b3542(0x22a)]()}),this[_0x5b3542(0x247)])));}[_0x1506c4(0x22a)](){var _0x141b93=_0x1506c4;this['_injector'][_0x141b93(0x2b8)](exports[_0x141b93(0x28e)])[_0x141b93(0x2eb)]();}},exports['MCPConnectionUIController']=Pe([O(0x0,u[_0x1506c4(0x272)](u[_0x1506c4(0x2ac)])),O(0x1,u['Inject'](s[_0x1506c4(0x24b)])),O(0x2,v['IUIPartsService'])],exports[_0x1506c4(0x2d9)]);function Ie(_0x4a93e2){const {status$:_0x8621b3,error$:_0x57b291,onConfigure:_0x459eaa}=_0x4a93e2;return function(){return o['jsx'](q,{'status$':_0x8621b3,'error$':_0x57b291,'onConfigure':_0x459eaa});};}function Se(_0x14567){var _0x80b09b=_0x1506c4;return{'id':b['id'],'type':v[_0x80b09b(0x1f1)][_0x80b09b(0x2b6)],'icon':'MenuIcon','title':_0x80b09b(0x276),'tooltip':_0x80b09b(0x276)};}const _e={[v[_0x1506c4(0x260)][_0x1506c4(0x2be)]]:{[b['id']]:{'order':0xa,'menuItemFactory':Se}}};var ye=Object['getOwnPropertyDescriptor'],Me=(_0xb6c46b,_0x5e9301,_0x16b345,_0x346a4f)=>{var _0x4b9485=_0x1506c4;for(var _0x413343=_0x346a4f>0x1?void 0x0:_0x346a4f?ye(_0x5e9301,_0x16b345):_0x5e9301,_0x3ab154=_0xb6c46b[_0x4b9485(0x1a2)]-0x1,_0x580384;_0x3ab154>=0x0;_0x3ab154--)(_0x580384=_0xb6c46b[_0x3ab154])&&(_0x413343=_0x580384(_0x413343)||_0x413343);return _0x413343;},R=(_0x570be4,_0x4c6765)=>(_0x54c53d,_0x5f4ab3)=>_0x4c6765(_0x54c53d,_0x5f4ab3,_0x570be4);function _0x2cc8(){var _0x588aed=['univer-min-w-0\x20univer-flex-1','mcpStatus.connected','univer-text-blue-600','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','trim','Injector','univer-flex\x20univer-items-center\x20univer-gap-3','2gdVRNB','HEADER_MENU','concat','mcpConfig.apiApplyInfo.description','UniverMCPPlugin','useCallback','univer-flex\x20univer-items-start\x20univer-gap-2','apiKey','BUTTON','current','get','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','univer-flex\x20univer-h-10\x20univer-w-10\x20univer-flex-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','CommandType','mcpStatus.retrying','_componentManager','OTHERS','mcpConfig.connectionStatus.failed','currentColor','MessageType','_initializeCommands','ComponentManager','function','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','univer-bg-red-500','univer-text-yellow-500','LocaleService','M0\x200H16V16H0z','会话ID','API\x20密钥长度至少需要\x2010\x20位','univer-text-white','svg','className','MCP:\x20Session\x20Occupied','symbol','您的\x20API\x20密钥安全存储在本地存储中','请输入您的\x20API\x20密钥','Failed\x20to\x20save\x20configuration','点击连接\x20MCP','Connection\x20Failed','defineProperty','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','getCurrentConfig','MCPConnectionUIController','univer.ai','open','white','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','UniverMCPUIPlugin','connectionError$','replace','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','univer-mt-1.5\x20univer-h-2\x20univer-w-2\x20univer-flex-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','IMenuManagerService','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','registerCommand','setConfig','getOwnPropertySymbols','MCP:\x20API\x20Key\x20Missing','xlink:href','showConfigPanel','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','连接中...','什么是\x20API\x20密钥?','_config','_uiPartsService','warn','MCP\x20Connected','close','useObservable','colorChannel1','univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCP\x20已断开','toStringTag','tag','removeItem','createElement','path','12KxHyPv','Configuration\x20Notes:','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','univer.plus','OpenMCPConfigPanelCommand','\x20-\x20','Retrying...','clsx','ICommandService','MCP:\x20网络错误','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','4jMmoin','配置\x20MCP\x20使用\x20AI\x20操作电子表格','mergeMenu','forwardRef','http://www.w3.org/2000/svg','subscribeConfigValue$','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','mcpConfig.validation.apiKeyTooShort','length','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_validateConfig','MCPConnectionError','translate(.97)','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-py-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP\x20Configuration','icon','CloseSmallSingle','assign','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Disconnected','Input','BuiltInUIPart','MCP\x20Unknown\x20Status','enUS','MCPStatusDisplay','_messageService','mcpServerUrl','已连接','API\x20key\x20is\x20required','网络连接错误,请检查您的网络连接','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','mcpConfig.connectionStatus.connecting','MCP_PLUGIN_CONFIG_KEY','_logService','connectInjector','connectionStatus$','mcpStatus.failed','_initConfigSync','API\x20密钥','mcpConfig.connectionStatus.retrying','getOwnPropertyDescriptor','mcpStatus.sessionOccupied','155360azmglO','clipPath','univer-text-gray-500','hover:univer-opacity-80','Module','univer-flex\x20univer-cursor-pointer\x20univer-items-center','idSuffix','univer-flex\x20univer-gap-3','map','Max\x20Retries','M5.21243\x2012.287L11.8791\x205.62036','close-small-single','univer-flex\x20univer-items-center\x20univer-gap-2','Disconnected','jsxs','random','mcpStatus.missingApiKey','mcpStatus.invalidApiKey','MCP:\x20缺少\x20API\x20密钥','Connected','register','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','univer-font-medium','none','mcpConfig.connectionError.missingApiKey','value','INVALID_API_KEY','_localStorageService','_loadStoredApiKey','mcpConfig.save','_menuManagerService','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20已连接','mcpConfig.connectionError.sessionOccupied','MCPUIMenuController','round','includes','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.sessionId','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','entries','MCP_UI_PLUGIN','add','MenuItemType','attrs','重连中...','univer-mr-2\x20univer-flex\x20univer-text-xl','Invalid\x20configuration','hasOwnProperty','defIds','0\x200\x2016\x2016','ILogService','mcpConfig.apiKeyHint','url(#$1','IConfigService','MCPConnectionStatus','mcp-ui.config','配置保存成功','2747040BTjseh','启用身份验证以获得安全连接','getItem','CONNECTING','_handleConfigSave','mcpConfig.connectionError.invalidApiKey','DependentOn','MAX_RETRIES_EXCEEDED','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','_configService','RETRYING','mcp-ui.command.openConfigPanel','jsx','点击配置\x20MCP','配置更改将立即生效','Success','useDependency','_registerComponent','mcpConfig.validation.apiKeyRequired','subscribe','保存配置','_connectionController','SESSION_ID_OCCUPIED','mcpConfig.note2','Connecting...','_initStatusComponent','IUIPartsService','onStarting','BehaviorSubject','univer-text-red-500','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','show','noopener\x20noreferrer','Session\x20ID','univerjs-icon\x20univerjs-icon-','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','_mcpConnectionController','超出最大重试次数,请稍后再试','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\x20Connecting...','Disposable','univer-text-sm\x20univer-font-medium','_handleConfigure','HelpSingle','extend','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP:\x20Max\x20Retries\x20Exceeded','mcpConfig.connectionError.maxRetriesExceeded','497344kCkEvA','Click\x20to\x20connect\x20MCP','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','on-line-icon_clip0_910_349','displayName','Plugin','url(#on-line-icon_clip0_910_349)','mcpConfig.apiApplyInfo.title','连接失败','mcp.apiKey','toString','FAILED','univer-flex-shrink-0\x20univer-text-blue-500','Saving...','MCP\x20状态未知','validateApiKey','_commandService','mcpStatus.clickToConfigure','NETWORK_ERROR','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','MCP:\x20Network\x20Error','90ZaYJSA','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-2\x20univer-w-2\x20univer-rounded-full\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_injector','univer-text-sm\x20univer-text-gray-500','OnLineIcon','error','MCPConnectionController','univer-text-gray-400','8076145jIpkDg','univer-text-xs\x20univer-text-gray-500','1em','1129425VAZYWz','evenodd','OffLineIcon','univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-gray-700','mcpConfig.saving','next','univer-break-all\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-px-2\x20univer-py-1\x20univer-font-mono\x20univer-text-xs\x20univer-text-blue-600','mask','Univer\x20AI\x20Console','bottom','Tooltip','isValid','_createConfigPanelComponent','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','children','mcpConfig.validation.invalidConfig','RibbonStartGroup','setItem','配置保存失败','CONNECTED','Get\x20your\x20API\x20key\x20in\x20seconds','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','NONE','MCPConfigPanel','mcpConfig.note1','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','call','_dialogService','mcpConfig.validation.invalidApiKey','CheckMarkIcon','M5.21243\x205.62036L11.8791\x2012.287','univer-flex\x20univer-h-8\x20univer-w-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','text','univer-text-green-500','Inject','fill','Server\x20Endpoint','errorMessage','mcpConfig.title','mcpConfig.apiApplyInfo.univerAiLabel','univer-flex-shrink-0\x20univer-text-red-500','UniverIcon','useRef','24292aTxCpH','useState','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','_initializeMenus','0\x200\x2017\x2016','配置无效','disposeWithMe','div','label','API\x20Key','_localeService','mcpConfig.configSaved','MCP\x20连接失败','_blank','propertyIsEnumerable','API\x20key\x20is\x20required\x20to\x20connect','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','_mcpCoreConfig$','mcpStatus.unknown','MCPConfigUIController','Close','indexOf','MISSING_API_KEY','mcpConfig.description','span','zhCN','substring','defs','javascript:void(0)','Configuration\x20saved\x20successfully','prototype','2923774ivaPYZ','mcpConfig.apiKeyPlaceholder','forEach','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','DISCONNECTED','mcpConfig.connectionInfo','Button','mcpConfig.connectionStatus.disconnected','mcpConfig.apiKey','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ILocalStorageService','string','_config$'];_0x2cc8=function(){return _0x588aed;};return _0x2cc8();}exports['MCPUIMenuController']=class extends u[_0x1506c4(0x228)]{constructor(_0x4598f9,_0xca47e5){var _0xa8217e=_0x1506c4;super(),this[_0xa8217e(0x240)]=_0x4598f9,this[_0xa8217e(0x1e4)]=_0xca47e5,this[_0xa8217e(0x2c2)](),this['_initializeMenus']();}[_0x1506c4(0x2c2)](){[b]['forEach'](_0x4bef6b=>{var _0x405b9a=_0x4201;this[_0x405b9a(0x281)](this[_0x405b9a(0x240)][_0x405b9a(0x2e6)](_0x4bef6b));});}[_0x1506c4(0x27e)](){var _0x18c8cb=_0x1506c4;this[_0x18c8cb(0x1e4)][_0x18c8cb(0x19c)](_e);}},exports['MCPUIMenuController']=Me([R(0x0,u[_0x1506c4(0x305)]),R(0x1,v[_0x1506c4(0x2e4)])],exports[_0x1506c4(0x1e8)]);const Ee={'mcpStatus':{'disconnected':_0x1506c4(0x1ae),'connecting':_0x1506c4(0x227),'connected':_0x1506c4(0x2f2),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x1506c4(0x1b1),'missingApiKey':_0x1506c4(0x2e9),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x1506c4(0x2cf),'networkError':_0x1506c4(0x244),'maxRetriesExceeded':_0x1506c4(0x22e),'clickToConnect':_0x1506c4(0x231),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x1506c4(0x1a9),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1506c4(0x284),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x1506c4(0x1a4),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':_0x1506c4(0x274),'sessionId':_0x1506c4(0x221),'maxRetries':_0x1506c4(0x1ce),'save':'Save\x20Configuration','saving':_0x1506c4(0x23d),'note1':_0x1506c4(0x21e),'note2':_0x1506c4(0x22d),'configSaved':_0x1506c4(0x298),'configError':_0x1506c4(0x2d3),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x1506c4(0x2dd),'univerAiLabel':_0x1506c4(0x258),'getStarted':_0x1506c4(0x264)},'validation':{'apiKeyRequired':_0x1506c4(0x1b7),'apiKeyTooShort':_0x1506c4(0x1ad),'invalidConfig':_0x1506c4(0x1f5),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x1506c4(0x1d2),'connecting':_0x1506c4(0x218),'connected':_0x1506c4(0x1d8),'failed':_0x1506c4(0x2d5),'retrying':_0x1506c4(0x303)},'connectionError':{'missingApiKey':_0x1506c4(0x28a),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x1506c4(0x1db),'networkError':_0x1506c4(0x1a3),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},Ne={'mcpStatus':{'disconnected':_0x1506c4(0x2f7),'connecting':'MCP\x20连接中...','connected':_0x1506c4(0x1e6),'failed':_0x1506c4(0x287),'retrying':'MCP\x20重连中...','unknown':_0x1506c4(0x23e),'missingApiKey':_0x1506c4(0x1d7),'invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':'MCP:\x20会话被占用','networkError':_0x1506c4(0x306),'maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x1506c4(0x2d4),'clickToConfigure':_0x1506c4(0x20d)},'mcpConfig':{'title':'MCP\x20配置','description':_0x1506c4(0x19b),'apiKey':_0x1506c4(0x1c1),'apiKeyPlaceholder':_0x1506c4(0x2d2),'apiKeyHint':_0x1506c4(0x1e5),'enableAuth':'启用身份验证','enableAuthHint':_0x1506c4(0x201),'connectionInfo':'连接信息','serverEndpoint':'服务器端点','sessionId':_0x1506c4(0x2ca),'maxRetries':'最大重试次数','save':_0x1506c4(0x214),'saving':'保存中...','note1':_0x1506c4(0x20e),'note2':_0x1506c4(0x2d1),'configSaved':_0x1506c4(0x1ff),'configError':_0x1506c4(0x262),'apiApplyInfo':{'title':_0x1506c4(0x2ee),'description':_0x1506c4(0x2e5),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x1506c4(0x2cb),'invalidConfig':_0x1506c4(0x280),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x1506c4(0x2ed),'connected':_0x1506c4(0x1b6),'failed':_0x1506c4(0x238),'retrying':_0x1506c4(0x1f3)},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x1506c4(0x1b8),'maxRetriesExceeded':_0x1506c4(0x225)}}};var be=Object[_0x1506c4(0x2d6)],je=Object[_0x1506c4(0x1c3)],we=(_0x32bb06,_0x488956,_0x45791d)=>_0x488956 in _0x32bb06?be(_0x32bb06,_0x488956,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45791d}):_0x32bb06[_0x488956]=_0x45791d,Ae=(_0xeacb4,_0x3bdde9,_0x5a91f8,_0x3a7003)=>{var _0x1f5fe2=_0x1506c4;for(var _0x1a75fe=_0x3a7003>0x1?void 0x0:_0x3a7003?je(_0x3bdde9,_0x5a91f8):_0x3bdde9,_0x5b1ce1=_0xeacb4[_0x1f5fe2(0x1a2)]-0x1,_0x36e694;_0x5b1ce1>=0x0;_0x5b1ce1--)(_0x36e694=_0xeacb4[_0x5b1ce1])&&(_0x1a75fe=_0x36e694(_0x1a75fe)||_0x1a75fe);return _0x1a75fe;},y=(_0x3fddaa,_0x15fbd3)=>(_0x212763,_0x5586f7)=>_0x15fbd3(_0x212763,_0x5586f7,_0x3fddaa),Oe=(_0x384f0e,_0x3237e8,_0x3c821a)=>we(_0x384f0e,_0x3237e8+'',_0x3c821a);exports[_0x1506c4(0x2de)]=class extends u[_0x1506c4(0x235)]{constructor(_0x69500b=T,_0x53e445,_0x9d756b,_0x3c4fa4,_0x598689,_0x5ed61f){var _0x405040=_0x1506c4;super(),this[_0x405040(0x2ef)]=_0x69500b,this[_0x405040(0x247)]=_0x53e445,this[_0x405040(0x209)]=_0x9d756b,this['_uiPartsService']=_0x3c4fa4,this[_0x405040(0x1e1)]=_0x598689,this[_0x405040(0x285)]=_0x5ed61f;const {..._0xfb7b10}=u['merge']({},T,this['_config']);this[_0x405040(0x209)][_0x405040(0x2e7)](k,_0xfb7b10);}async[_0x1506c4(0x21b)](){var _0x2d00c2=_0x1506c4;[[exports[_0x2d00c2(0x2d9)]],[exports[_0x2d00c2(0x28e)]],[exports['MCPUIMenuController']]]['forEach'](_0x29a7df=>this[_0x2d00c2(0x247)][_0x2d00c2(0x1f0)](_0x29a7df)),this[_0x2d00c2(0x247)][_0x2d00c2(0x2b8)](exports['MCPConnectionUIController']),this[_0x2d00c2(0x247)][_0x2d00c2(0x2b8)](exports[_0x2d00c2(0x28e)]),this[_0x2d00c2(0x247)][_0x2d00c2(0x2b8)](exports[_0x2d00c2(0x1e8)]);}},Oe(exports[_0x1506c4(0x2de)],'pluginName',_0x1506c4(0x1ef)),exports[_0x1506c4(0x2de)]=Ae([u[_0x1506c4(0x206)](s[_0x1506c4(0x2b2)]),y(0x1,u[_0x1506c4(0x272)](u[_0x1506c4(0x2ac)])),y(0x2,u[_0x1506c4(0x1fc)]),y(0x3,v[_0x1506c4(0x21a)]),y(0x4,u[_0x1506c4(0x2a4)]),y(0x5,u[_0x1506c4(0x272)](u[_0x1506c4(0x2c8)]))],exports[_0x1506c4(0x2de)]),exports[_0x1506c4(0x267)]=B,exports[_0x1506c4(0x1b3)]=q,exports[_0x1506c4(0x301)]=b,exports[_0x1506c4(0x1b2)]=Ee,exports[_0x1506c4(0x294)]=Ne;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x23f670=_0x22b8;(function(_0x3a5bd7,_0x1ae45c){const _0x4218d5=_0x22b8,_0x275add=_0x3a5bd7();while(!![]){try{const _0x264102=-parseInt(_0x4218d5(0x11c))/0x1+parseInt(_0x4218d5(0x130))/0x2*(-parseInt(_0x4218d5(0x125))/0x3)+-parseInt(_0x4218d5(0x10a))/0x4+parseInt(_0x4218d5(0x112))/0x5*(parseInt(_0x4218d5(0x12a))/0x6)+parseInt(_0x4218d5(0x121))/0x7+-parseInt(_0x4218d5(0x11d))/0x8*(-parseInt(_0x4218d5(0x114))/0x9)+parseInt(_0x4218d5(0x11f))/0xa*(parseInt(_0x4218d5(0x122))/0xb);if(_0x264102===_0x1ae45c)break;else _0x275add['push'](_0x275add['shift']());}catch(_0x4768a5){_0x275add['push'](_0x275add['shift']());}}}(_0x421d,0x664cf));function _0x421d(){const _0x16e64b=['Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Connected','MCP\x20Configuration','MCP:\x20Invalid\x20API\x20Key','395642kAiBfY','8ASpZcR','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','50bOswBS','MCP:\x20Max\x20Retries\x20Exceeded','206276iNBTbO','2254186zrgMsM','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Univer\x20AI\x20Console','3YtlFtN','MCP\x20Disconnected','Server\x20Endpoint','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','234yRZfnB','Enable\x20Authentication','Invalid\x20configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Retrying...','MCP\x20Connecting...','1045066rjvSlP','MCP:\x20API\x20Key\x20Missing','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','Saving...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','API\x20Key','Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','exports','511768HXIBFm','Configuration\x20saved\x20successfully','MCP\x20Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Click\x20to\x20configure\x20MCP','Retrying...','Connection\x20Information','MCP:\x20Network\x20Error','40885VvUkPk','Disconnected','829251lwhfly','Connection\x20Failed','MCP:\x20Session\x20Occupied','Session\x20ID'];_0x421d=function(){return _0x16e64b;};return _0x421d();}const e={'mcpStatus':{'disconnected':_0x23f670(0x126),'connecting':_0x23f670(0x12f),'connected':_0x23f670(0x119),'failed':_0x23f670(0x10c),'retrying':_0x23f670(0x12e),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x23f670(0x131),'invalidApiKey':_0x23f670(0x11b),'sessionOccupied':_0x23f670(0x116),'networkError':_0x23f670(0x111),'maxRetriesExceeded':_0x23f670(0x120),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x23f670(0x10e)},'mcpConfig':{'title':_0x23f670(0x11a),'description':_0x23f670(0x128),'apiKey':_0x23f670(0x106),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x23f670(0x12d),'enableAuth':_0x23f670(0x12b),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x23f670(0x110),'serverEndpoint':_0x23f670(0x127),'sessionId':_0x23f670(0x117),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x23f670(0x136),'note1':_0x23f670(0x11e),'note2':_0x23f670(0x129),'configSaved':_0x23f670(0x10b),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x23f670(0x135),'description':_0x23f670(0x123),'univerAiLabel':_0x23f670(0x124),'getStarted':_0x23f670(0x132)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x23f670(0x133),'invalidConfig':_0x23f670(0x12c),'invalidApiKey':_0x23f670(0x108)},'connectionStatus':{'disconnected':_0x23f670(0x113),'connecting':_0x23f670(0x107),'connected':'Connected','failed':_0x23f670(0x115),'retrying':_0x23f670(0x10f)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x23f670(0x105),'sessionOccupied':_0x23f670(0x118),'networkError':_0x23f670(0x10d),'maxRetriesExceeded':_0x23f670(0x134)}}},n=e;function _0x22b8(_0x5f22a5,_0x468c14){const _0x421d3a=_0x421d();return _0x22b8=function(_0x22b8bd,_0x293928){_0x22b8bd=_0x22b8bd-0x105;let _0x4d31ce=_0x421d3a[_0x22b8bd];return _0x4d31ce;},_0x22b8(_0x5f22a5,_0x468c14);}module[_0x23f670(0x109)]=n;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x35ad29=_0x15bb;(function(_0x1405c0,_0x50ac19){const _0x4db08d=_0x15bb,_0xc0580c=_0x1405c0();while(!![]){try{const _0x4aac29=-parseInt(_0x4db08d(0x1f0))/0x1+parseInt(_0x4db08d(0x1f9))/0x2*(parseInt(_0x4db08d(0x1fa))/0x3)+-parseInt(_0x4db08d(0x1fd))/0x4*(-parseInt(_0x4db08d(0x1ef))/0x5)+parseInt(_0x4db08d(0x1e3))/0x6+-parseInt(_0x4db08d(0x1d2))/0x7+-parseInt(_0x4db08d(0x1d8))/0x8*(parseInt(_0x4db08d(0x1db))/0x9)+parseInt(_0x4db08d(0x1d1))/0xa;if(_0x4aac29===_0x50ac19)break;else _0xc0580c['push'](_0xc0580c['shift']());}catch(_0x5ebf2f){_0xc0580c['push'](_0xc0580c['shift']());}}}(_0x24cd,0x6750c));function _0x24cd(){const _0x1dbd17=['4912956ZhIKkB','Connecting...','Saving...','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Invalid\x20API\x20Key','Retrying...','Session\x20ID','MCP:\x20Network\x20Error','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20API\x20Key\x20Missing','Click\x20to\x20configure\x20MCP','2601095PFJopn','835003sidMrh','Enable\x20Authentication','MCP\x20Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Save\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','MCP\x20Retrying...','10PuElVg','230049DlvtCE','Connection\x20Information','Failed\x20to\x20save\x20configuration','4dHXkXr','API\x20key\x20is\x20required\x20to\x20connect','6998060BnCoNN','2572276qyuAuz','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Max\x20Retries\x20Exceeded','exports','MCP\x20Configuration','1274584uRPIBP','Univer\x20AI\x20Console','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','45JwjlNu','MCP\x20Connecting...','Connection\x20Failed','Connected','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','MCP:\x20Session\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections'];_0x24cd=function(){return _0x1dbd17;};return _0x24cd();}function _0x15bb(_0x9b391b,_0x3ba0d3){const _0x24cd37=_0x24cd();return _0x15bb=function(_0x15bb4c,_0x4c4bab){_0x15bb4c=_0x15bb4c-0x1d0;let _0xfa7010=_0x24cd37[_0x15bb4c];return _0xfa7010;},_0x15bb(_0x9b391b,_0x3ba0d3);}const e={'mcpStatus':{'disconnected':_0x35ad29(0x1f2),'connecting':_0x35ad29(0x1dc),'connected':'MCP\x20Connected','failed':_0x35ad29(0x1e0),'retrying':_0x35ad29(0x1f8),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x35ad29(0x1ed),'invalidApiKey':_0x35ad29(0x1e8),'sessionOccupied':_0x35ad29(0x1e1),'networkError':_0x35ad29(0x1eb),'maxRetriesExceeded':_0x35ad29(0x1d5),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x35ad29(0x1ee)},'mcpConfig':{'title':_0x35ad29(0x1d7),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x35ad29(0x1d3),'apiKeyHint':_0x35ad29(0x1ec),'enableAuth':_0x35ad29(0x1f1),'enableAuthHint':_0x35ad29(0x1e2),'connectionInfo':_0x35ad29(0x1fb),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x35ad29(0x1ea),'maxRetries':'Max\x20Retries','save':_0x35ad29(0x1f4),'saving':_0x35ad29(0x1e5),'note1':_0x35ad29(0x1f5),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x35ad29(0x1e6),'configError':_0x35ad29(0x1fc),'apiApplyInfo':{'title':_0x35ad29(0x1f7),'description':_0x35ad29(0x1d4),'univerAiLabel':_0x35ad29(0x1d9),'getStarted':_0x35ad29(0x1df)},'validation':{'apiKeyRequired':_0x35ad29(0x1f6),'apiKeyTooShort':_0x35ad29(0x1e7),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x35ad29(0x1da)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x35ad29(0x1e4),'connected':_0x35ad29(0x1de),'failed':_0x35ad29(0x1dd),'retrying':_0x35ad29(0x1e9)},'connectionError':{'missingApiKey':_0x35ad29(0x1d0),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x35ad29(0x1f3)}}};module[_0x35ad29(0x1d6)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x1b91(_0x7a1357,_0xba826){const _0x1937cc=_0x1937();return _0x1b91=function(_0x1b9168,_0x20eced){_0x1b9168=_0x1b9168-0xe0;let _0x5f5716=_0x1937cc[_0x1b9168];return _0x5f5716;},_0x1b91(_0x7a1357,_0xba826);}const _0x10bb26=_0x1b91;(function(_0x120c4b,_0x3edc3f){const _0x2272f8=_0x1b91,_0x35cfd3=_0x120c4b();while(!![]){try{const _0x7eabe0=-parseInt(_0x2272f8(0x103))/0x1+parseInt(_0x2272f8(0xf6))/0x2+-parseInt(_0x2272f8(0xe8))/0x3+parseInt(_0x2272f8(0xfb))/0x4+parseInt(_0x2272f8(0xf5))/0x5+-parseInt(_0x2272f8(0x104))/0x6*(-parseInt(_0x2272f8(0xfd))/0x7)+parseInt(_0x2272f8(0x102))/0x8*(-parseInt(_0x2272f8(0xe7))/0x9);if(_0x7eabe0===_0x3edc3f)break;else _0x35cfd3['push'](_0x35cfd3['shift']());}catch(_0x39e7b1){_0x35cfd3['push'](_0x35cfd3['shift']());}}}(_0x1937,0x45f79));function _0x1937(){const _0x5b245d=['Save\x20Configuration','8LdkDcR','545597rNSUzK','5766XdrNLi','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','Enter\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connection\x20Information','API\x20Key','Max\x20Retries','MCP\x20Disconnected','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20saved\x20successfully','MCP\x20Unknown\x20Status','MCP:\x20Invalid\x20API\x20Key','Saving...','912411aUmuYi','663882bEnVwJ','What\x20is\x20API\x20Key?','Click\x20to\x20connect\x20MCP','Disconnected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','Failed\x20to\x20save\x20configuration','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20API\x20Key\x20Missing','MCP:\x20Network\x20Error','Connected','Enable\x20Authentication','2733230nqqXQB','110210srfkqQ','Connecting...','Click\x20to\x20configure\x20MCP','API\x20key\x20is\x20required','MCP\x20Connected','132812KZHsJI','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','3787xiqqYe','MCP:\x20Session\x20Occupied','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x1937=function(){return _0x5b245d;};return _0x1937();}const e={'mcpStatus':{'disconnected':_0x10bb26(0x10d),'connecting':_0x10bb26(0x10e),'connected':_0x10bb26(0xfa),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x10bb26(0xe4),'missingApiKey':_0x10bb26(0xf1),'invalidApiKey':_0x10bb26(0xe5),'sessionOccupied':_0x10bb26(0xfe),'networkError':_0x10bb26(0xf2),'maxRetriesExceeded':_0x10bb26(0xff),'clickToConnect':_0x10bb26(0xea),'clickToConfigure':_0x10bb26(0xf8)},'mcpConfig':{'title':_0x10bb26(0xed),'description':_0x10bb26(0xe2),'apiKey':_0x10bb26(0x10b),'apiKeyPlaceholder':_0x10bb26(0x107),'apiKeyHint':_0x10bb26(0xf0),'enableAuth':_0x10bb26(0xf4),'enableAuthHint':_0x10bb26(0xe1),'connectionInfo':_0x10bb26(0x10a),'serverEndpoint':'Server\x20Endpoint','sessionId':'Session\x20ID','maxRetries':_0x10bb26(0x10c),'save':_0x10bb26(0x101),'saving':_0x10bb26(0xe6),'note1':_0x10bb26(0x100),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x10bb26(0xe3),'configError':_0x10bb26(0xee),'apiApplyInfo':{'title':_0x10bb26(0xe9),'description':_0x10bb26(0xe0),'univerAiLabel':_0x10bb26(0x105),'getStarted':_0x10bb26(0x106)},'validation':{'apiKeyRequired':_0x10bb26(0xf9),'apiKeyTooShort':_0x10bb26(0x108),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x10bb26(0xeb),'connecting':_0x10bb26(0xf7),'connected':_0x10bb26(0xf3),'failed':'Connection\x20Failed','retrying':_0x10bb26(0xef)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x10bb26(0x109),'sessionOccupied':_0x10bb26(0xfc),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x10bb26(0xec)}}},n=e;module['exports']=n;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x3b0b(_0x1e7d9b,_0x36cfd5){const _0x580ebf=_0x580e();return _0x3b0b=function(_0x3b0bc4,_0x5c37bc){_0x3b0bc4=_0x3b0bc4-0x135;let _0x167225=_0x580ebf[_0x3b0bc4];return _0x167225;},_0x3b0b(_0x1e7d9b,_0x36cfd5);}const _0x1b2c83=_0x3b0b;(function(_0x582bca,_0x176603){const _0x55c325=_0x3b0b,_0x40c499=_0x582bca();while(!![]){try{const _0x18485c=parseInt(_0x55c325(0x137))/0x1*(parseInt(_0x55c325(0x140))/0x2)+parseInt(_0x55c325(0x15c))/0x3*(-parseInt(_0x55c325(0x150))/0x4)+-parseInt(_0x55c325(0x13f))/0x5*(-parseInt(_0x55c325(0x164))/0x6)+-parseInt(_0x55c325(0x144))/0x7+parseInt(_0x55c325(0x13a))/0x8+parseInt(_0x55c325(0x135))/0x9*(-parseInt(_0x55c325(0x136))/0xa)+parseInt(_0x55c325(0x14a))/0xb;if(_0x18485c===_0x176603)break;else _0x40c499['push'](_0x40c499['shift']());}catch(_0x532b7b){_0x40c499['push'](_0x40c499['shift']());}}}(_0x580e,0x52094));function _0x580e(){const _0x4e692a=['MCP\x20Configuration','Retrying...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP:\x20Invalid\x20API\x20Key','138052JVFIFt','Connected','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20API\x20Key\x20Missing','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','exports','Click\x20to\x20configure\x20MCP','MCP\x20Connection\x20Failed','Saving...','Disconnected','Connection\x20Failed','18yjMeqR','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Invalid\x20configuration','Save\x20Configuration','MCP\x20Disconnected','Connection\x20Information','Server\x20Endpoint','Failed\x20to\x20save\x20configuration','78uTpQDU','MCP\x20Connecting...','2693529sFiVkR','10JxeMoM','1481YNCAHC','MCP\x20Connected','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1456696GjKxSd','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Retrying...','Connecting...','Enable\x20Authentication','7870tlxtLX','254ZTQkOg','Click\x20to\x20connect\x20MCP','MCP\x20Unknown\x20Status','MCP:\x20Network\x20Error','1424759scwMJE','MCP:\x20Session\x20Occupied','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','API\x20Key','API\x20key\x20is\x20required','7208080CnecYd','Enter\x20your\x20API\x20key'];_0x580e=function(){return _0x4e692a;};return _0x580e();}const e={'mcpStatus':{'disconnected':_0x1b2c83(0x160),'connecting':_0x1b2c83(0x165),'connected':_0x1b2c83(0x138),'failed':_0x1b2c83(0x158),'retrying':_0x1b2c83(0x13c),'unknown':_0x1b2c83(0x142),'missingApiKey':_0x1b2c83(0x154),'invalidApiKey':_0x1b2c83(0x14f),'sessionOccupied':_0x1b2c83(0x145),'networkError':_0x1b2c83(0x143),'maxRetriesExceeded':_0x1b2c83(0x152),'clickToConnect':_0x1b2c83(0x141),'clickToConfigure':_0x1b2c83(0x157)},'mcpConfig':{'title':_0x1b2c83(0x14c),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x1b2c83(0x148),'apiKeyPlaceholder':_0x1b2c83(0x14b),'apiKeyHint':_0x1b2c83(0x155),'enableAuth':_0x1b2c83(0x13e),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x1b2c83(0x161),'serverEndpoint':_0x1b2c83(0x162),'sessionId':'Session\x20ID','maxRetries':'Max\x20Retries','save':_0x1b2c83(0x15f),'saving':_0x1b2c83(0x159),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x1b2c83(0x146),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x1b2c83(0x163),'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':'Univer\x20AI\x20Console','getStarted':_0x1b2c83(0x13b)},'validation':{'apiKeyRequired':_0x1b2c83(0x149),'apiKeyTooShort':_0x1b2c83(0x153),'invalidConfig':_0x1b2c83(0x15e),'invalidApiKey':_0x1b2c83(0x15d)},'connectionStatus':{'disconnected':_0x1b2c83(0x15a),'connecting':_0x1b2c83(0x13d),'connected':_0x1b2c83(0x151),'failed':_0x1b2c83(0x15b),'retrying':_0x1b2c83(0x14d)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':_0x1b2c83(0x147),'networkError':_0x1b2c83(0x14e),'maxRetriesExceeded':_0x1b2c83(0x139)}}},n=e;module[_0x1b2c83(0x156)]=n;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x4c4f(_0x1ee488,_0x39ff2b){const _0x1730c4=_0x1730();return _0x4c4f=function(_0x4c4f42,_0x5b27b8){_0x4c4f42=_0x4c4f42-0xac;let _0x1e6772=_0x1730c4[_0x4c4f42];return _0x1e6772;},_0x4c4f(_0x1ee488,_0x39ff2b);}const _0x499a77=_0x4c4f;(function(_0x1b3c48,_0x38be09){const _0x3217a6=_0x4c4f,_0x707c67=_0x1b3c48();while(!![]){try{const _0x1f51df=-parseInt(_0x3217a6(0xc6))/0x1+parseInt(_0x3217a6(0xd0))/0x2*(parseInt(_0x3217a6(0xb4))/0x3)+parseInt(_0x3217a6(0xd8))/0x4*(parseInt(_0x3217a6(0xc8))/0x5)+-parseInt(_0x3217a6(0xd3))/0x6+parseInt(_0x3217a6(0xd1))/0x7+parseInt(_0x3217a6(0xdb))/0x8*(-parseInt(_0x3217a6(0xbd))/0x9)+-parseInt(_0x3217a6(0xd5))/0xa*(parseInt(_0x3217a6(0xc4))/0xb);if(_0x1f51df===_0x38be09)break;else _0x707c67['push'](_0x707c67['shift']());}catch(_0x4fa5b2){_0x707c67['push'](_0x707c67['shift']());}}}(_0x1730,0x90af9));function _0x1730(){const _0x152226=['Invalid\x20configuration','What\x20is\x20API\x20Key?','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','11QfRWCW','MCP:\x20Session\x20Occupied','89251TOiLcb','Disconnected','25emXHsV','MCP\x20Connected','exports','Enable\x20Authentication','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Retrying...','Save\x20Configuration','16AzOAlE','5707044NYKCri','Session\x20ID','96816YICvea','MCP\x20Connection\x20Failed','9149890EDYGHp','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Retrying...','98092nrkWra','MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','2477008dBRwDt','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20Key','Connecting...','API\x20key\x20is\x20required\x20to\x20connect','Failed\x20to\x20save\x20configuration','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20connect\x20MCP','MCP\x20Configuration','369273NXabEd','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Disconnected','Univer\x20AI\x20Console','MCP:\x20API\x20Key\x20Missing','Click\x20to\x20configure\x20MCP','MCP:\x20Max\x20Retries\x20Exceeded','9hoanBw','Enter\x20your\x20API\x20key','Get\x20your\x20API\x20key\x20in\x20seconds'];_0x1730=function(){return _0x152226;};return _0x1730();}const e={'mcpStatus':{'disconnected':_0x499a77(0xb8),'connecting':_0x499a77(0xd9),'connected':_0x499a77(0xc9),'failed':_0x499a77(0xd4),'retrying':_0x499a77(0xce),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x499a77(0xba),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':_0x499a77(0xc5),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x499a77(0xbc),'clickToConnect':_0x499a77(0xb2),'clickToConfigure':_0x499a77(0xbb)},'mcpConfig':{'title':_0x499a77(0xb3),'description':_0x499a77(0xb1),'apiKey':_0x499a77(0xac),'apiKeyPlaceholder':_0x499a77(0xbe),'apiKeyHint':_0x499a77(0xb7),'enableAuth':_0x499a77(0xcb),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'Connection\x20Information','serverEndpoint':'Server\x20Endpoint','sessionId':_0x499a77(0xd2),'maxRetries':'Max\x20Retries','save':_0x499a77(0xcf),'saving':_0x499a77(0xcc),'note1':_0x499a77(0xda),'note2':_0x499a77(0xcd),'configSaved':_0x499a77(0xc2),'configError':_0x499a77(0xaf),'apiApplyInfo':{'title':_0x499a77(0xc1),'description':_0x499a77(0xd6),'univerAiLabel':_0x499a77(0xb9),'getStarted':_0x499a77(0xbf)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x499a77(0xb5),'invalidConfig':_0x499a77(0xc0),'invalidApiKey':_0x499a77(0xdc)},'connectionStatus':{'disconnected':_0x499a77(0xc7),'connecting':_0x499a77(0xad),'connected':_0x499a77(0xb6),'failed':'Connection\x20Failed','retrying':_0x499a77(0xd7)},'connectionError':{'missingApiKey':_0x499a77(0xae),'invalidApiKey':_0x499a77(0xb0),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0x499a77(0xc3),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;module[_0x499a77(0xca)]=n;
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x363d80=_0x5220;function _0x5172(){const _0x3738af=['Click\x20to\x20configure\x20MCP','Enable\x20Authentication','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','5BpxFyd','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session\x20ID','2281nJYroK','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','694wLquFN','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','MCP\x20Connection\x20Failed','99sfXnHb','1088330maywCv','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP\x20Connected','Enter\x20your\x20API\x20key','14rEeENZ','MCP:\x20API\x20Key\x20Missing','2114856wzEqZu','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','MCP\x20Unknown\x20Status','API\x20key\x20is\x20required\x20to\x20connect','Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','18eMoFOf','Connecting...','MCP\x20Configuration','API\x20key\x20is\x20required','Connection\x20Information','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Enable\x20authentication\x20for\x20secure\x20connections','Failed\x20to\x20save\x20configuration','6006824nYeiRs','Saving...','exports','Max\x20Retries','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','6011370mexarG','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','1085748pPVgPA','Save\x20Configuration','1028757ZhMMFX','Invalid\x20configuration'];_0x5172=function(){return _0x3738af;};return _0x5172();}(function(_0x455195,_0x1f85be){const _0x2ef3a6=_0x5220,_0x48c0eb=_0x455195();while(!![]){try{const _0x4b5b63=parseInt(_0x2ef3a6(0x93))/0x1*(-parseInt(_0x2ef3a6(0x66))/0x2)+-parseInt(_0x2ef3a6(0x89))/0x3+parseInt(_0x2ef3a6(0x70))/0x4+-parseInt(_0x2ef3a6(0x90))/0x5*(-parseInt(_0x2ef3a6(0x85))/0x6)+parseInt(_0x2ef3a6(0x6e))/0x7*(parseInt(_0x2ef3a6(0x7f))/0x8)+-parseInt(_0x2ef3a6(0x77))/0x9*(parseInt(_0x2ef3a6(0x6a))/0xa)+-parseInt(_0x2ef3a6(0x69))/0xb*(parseInt(_0x2ef3a6(0x87))/0xc);if(_0x4b5b63===_0x1f85be)break;else _0x48c0eb['push'](_0x48c0eb['shift']());}catch(_0x8b8d7e){_0x48c0eb['push'](_0x48c0eb['shift']());}}}(_0x5172,0xd3678));function _0x5220(_0xb4aed2,_0x2b30de){const _0x517268=_0x5172();return _0x5220=function(_0x5220f7,_0x1d711c){_0x5220f7=_0x5220f7-0x65;let _0x6b8b8e=_0x517268[_0x5220f7];return _0x6b8b8e;},_0x5220(_0xb4aed2,_0x2b30de);}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x363d80(0x6c),'failed':_0x363d80(0x68),'retrying':_0x363d80(0x8e),'unknown':_0x363d80(0x73),'missingApiKey':_0x363d80(0x6f),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x363d80(0x72),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x363d80(0x8f),'clickToConfigure':_0x363d80(0x8b)},'mcpConfig':{'title':_0x363d80(0x79),'description':_0x363d80(0x8d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x363d80(0x6d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x363d80(0x8c),'enableAuthHint':_0x363d80(0x7d),'connectionInfo':_0x363d80(0x7b),'serverEndpoint':'Server\x20Endpoint','sessionId':_0x363d80(0x92),'maxRetries':_0x363d80(0x82),'save':_0x363d80(0x88),'saving':_0x363d80(0x80),'note1':_0x363d80(0x71),'note2':_0x363d80(0x84),'configSaved':_0x363d80(0x95),'configError':_0x363d80(0x7e),'apiApplyInfo':{'title':_0x363d80(0x65),'description':_0x363d80(0x6b),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x363d80(0x94)},'validation':{'apiKeyRequired':_0x363d80(0x7a),'apiKeyTooShort':_0x363d80(0x91),'invalidConfig':_0x363d80(0x8a),'invalidApiKey':_0x363d80(0x76)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x363d80(0x78),'connected':'Connected','failed':_0x363d80(0x75),'retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x363d80(0x74),'invalidApiKey':_0x363d80(0x7c),'sessionOccupied':_0x363d80(0x67),'networkError':_0x363d80(0x83),'maxRetriesExceeded':_0x363d80(0x86)}}},n=e;module[_0x363d80(0x81)]=n;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x10304d=_0x5d0d;(function(_0x5a88ed,_0x254a45){const _0x22c426=_0x5d0d,_0x330ed9=_0x5a88ed();while(!![]){try{const _0x4ce209=-parseInt(_0x22c426(0x199))/0x1+parseInt(_0x22c426(0x196))/0x2+parseInt(_0x22c426(0x17a))/0x3+parseInt(_0x22c426(0x185))/0x4+parseInt(_0x22c426(0x184))/0x5*(-parseInt(_0x22c426(0x17d))/0x6)+-parseInt(_0x22c426(0x180))/0x7*(-parseInt(_0x22c426(0x194))/0x8)+-parseInt(_0x22c426(0x192))/0x9;if(_0x4ce209===_0x254a45)break;else _0x330ed9['push'](_0x330ed9['shift']());}catch(_0x2c524e){_0x330ed9['push'](_0x330ed9['shift']());}}}(_0x3000,0x1ae86));function _0x3000(){const _0xc603d7=['Configuration\x20saved\x20successfully','6lTOhNj','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20Network\x20Error','7wfqSWd','Connection\x20Failed','Invalid\x20configuration','exports','1093825KJIiMe','778120IHOIRX','Max\x20Retries','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Invalid\x20API\x20Key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','Saving...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Univer\x20AI\x20Console','Connection\x20Information','463779UQkwUi','What\x20is\x20API\x20Key?','802888kepyZo','MCP\x20Configuration','337412CJdjze','MCP\x20Disconnected','API\x20key\x20is\x20required\x20to\x20connect','172740lAdqEA','MCP\x20Retrying...','Retrying...','Server\x20Endpoint','MCP\x20Unknown\x20Status','MCP\x20Connection\x20Failed','Connecting...','MCP:\x20API\x20Key\x20Missing','Disconnected','268959MsYTpS','Connected'];_0x3000=function(){return _0xc603d7;};return _0x3000();}function _0x5d0d(_0x5bd604,_0x19fd0d){const _0x300062=_0x3000();return _0x5d0d=function(_0x5d0d2b,_0x1f0370){_0x5d0d2b=_0x5d0d2b-0x172;let _0x13f48d=_0x300062[_0x5d0d2b];return _0x13f48d;},_0x5d0d(_0x5bd604,_0x19fd0d);}const e={'mcpStatus':{'disconnected':_0x10304d(0x197),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x10304d(0x176),'retrying':_0x10304d(0x172),'unknown':_0x10304d(0x175),'missingApiKey':_0x10304d(0x178),'invalidApiKey':_0x10304d(0x188),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x10304d(0x17f),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x10304d(0x18a)},'mcpConfig':{'title':_0x10304d(0x195),'description':_0x10304d(0x18c),'apiKey':_0x10304d(0x18e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x10304d(0x189),'enableAuth':'Enable\x20Authentication','enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x10304d(0x191),'serverEndpoint':_0x10304d(0x174),'sessionId':'Session\x20ID','maxRetries':_0x10304d(0x186),'save':'Save\x20Configuration','saving':_0x10304d(0x18b),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x10304d(0x18f),'configSaved':_0x10304d(0x17c),'configError':_0x10304d(0x18d),'apiApplyInfo':{'title':_0x10304d(0x193),'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':_0x10304d(0x190),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x10304d(0x182),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x10304d(0x179),'connecting':_0x10304d(0x177),'connected':_0x10304d(0x17b),'failed':_0x10304d(0x181),'retrying':_0x10304d(0x173)},'connectionError':{'missingApiKey':_0x10304d(0x198),'invalidApiKey':_0x10304d(0x17e),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x10304d(0x187)}}},n=e;module[_0x10304d(0x183)]=n;
|