@nuvin/nuvin-cli 1.25.0 → 1.25.2
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/dist/AutoUpdater-B3B4RLR4.js +1 -1
- package/dist/UpdateChecker-2LAM3Q56.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-EL4T27CW.js +1 -1
- package/dist/chunk-H4OGEMSI.js +1 -0
- package/dist/chunk-M6KACDU7.js +1 -1
- package/dist/chunk-SLFD4634.js +1 -0
- package/dist/chunk-ZR5ESX6I.js +1 -0
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-SGHXVJIF.js +1 -0
- package/dist/mcp-handler-CHOW3QDO.js +1 -1
- package/dist/messageProcessor-UE53ZP56.js +1 -0
- package/dist/profile-handler-LQ2UK6EO.js +1 -1
- package/dist/useSessionManagement-DJ3TNMVN.js +1 -0
- package/package.json +3 -3
- package/dist/chunk-CYZYZC7S.js +0 -1
- package/dist/chunk-POTAODEK.js +0 -1
- package/dist/chunk-UOSJQY4R.js +0 -1
- package/dist/demo-mode-4BLLUWSN.js +0 -1
- package/dist/messageProcessor-5N7IAMRM.js +0 -1
- package/dist/useSessionManagement-PFXSL53D.js +0 -1
package/dist/chunk-POTAODEK.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x429746,_0x51cdc9){const _0x3eee78={_0x2fe74d:0x75f,_0x5e5ce8:0x771,_0x294eb0:0x62c,_0x585040:0x4fc,_0x382f57:0x1e0,_0x3f8508:0x5cc,_0x38f0e0:0x568,_0x26e47a:0x5ad,_0x3a9894:0x403,_0x28bad7:0x1cd,_0xf445a4:0x18d,_0x91d00a:0x272,_0xadbe74:0xa5,_0x3c0074:0x69f,_0x3e3c06:0x28b,_0x34b5e5:0x3a6,_0x345f7e:0x17f,_0x356f1b:0x364};function _0x4c097d(_0x13d4bd,_0x1b44a2,_0x1255f3,_0x5ee747){return _0xa481(_0x5ee747- -0x22d,_0x13d4bd);}const _0xc881e2=_0x429746();function _0x5f4dde(_0x58689c,_0x12f12e,_0x855fe0,_0x5f37a1){return _0xa481(_0x5f37a1-0x12,_0x12f12e);}while(!![]){try{const _0x4f6606=parseInt(_0x5f4dde(_0x3eee78._0x2fe74d,0x7b1,_0x3eee78._0x5e5ce8,0x59c))/0x1+parseInt(_0x5f4dde(0x272,0x264,0x2bd,0x195))/0x2*(-parseInt(_0x5f4dde(_0x3eee78._0x294eb0,_0x3eee78._0x585040,0x2d7,0x433))/0x3)+parseInt(_0x5f4dde(0x432,0x173,0x23a,0x21e))/0x4*(parseInt(_0x4c097d(0x4cf,0x3bb,_0x3eee78._0x382f57,0x2f2))/0x5)+-parseInt(_0x4c097d(0xd4,0x52,0x337,0x17a))/0x6*(parseInt(_0x5f4dde(_0x3eee78._0x3f8508,_0x3eee78._0x38f0e0,_0x3eee78._0x26e47a,_0x3eee78._0x3a9894))/0x7)+-parseInt(_0x4c097d(0x19b,_0x3eee78._0x28bad7,_0x3eee78._0xf445a4,_0x3eee78._0x91d00a))/0x8+-parseInt(_0x4c097d(-0x7c,0x16b,-_0x3eee78._0xadbe74,-0x98))/0x9*(parseInt(_0x5f4dde(_0x3eee78._0x3c0074,0x544,0x358,0x4af))/0xa)+parseInt(_0x4c097d(_0x3eee78._0x3e3c06,_0x3eee78._0x34b5e5,_0x3eee78._0x345f7e,_0x3eee78._0x356f1b))/0xb;if(_0x4f6606===_0x51cdc9)break;else _0xc881e2['push'](_0xc881e2['shift']());}catch(_0x192be7){_0xc881e2['push'](_0xc881e2['shift']());}}}(_0x5aff,0x63bd1));import{a as _0x800a1c,c as _0x46198d}from'./chunk-UOSJQY4R.js';import{a as _0x47c445,b as _0x45421a}from'./chunk-CYZYZC7S.js';import{a as _0xa5732f,b as _0x21ba14}from'./chunk-EL4T27CW.js';import{a as _0x5aff65}from'./chunk-AJHDLTY3.js';import{useEffect as _0x54ab70,useRef as _0x4278ad,useCallback as _0x29730a,useMemo as _0x319998,useState as _0x2ed3cf}from'react';import{useStdin as _0x126ae2,useStdout as _0x10fba9}from'ink';import{createContext as _0x211b06}from'react';var gr=()=>()=>{},Ye=_0x211b06({'subscribe':gr,'subscribeMouse':gr,'updateSubscriber':()=>{},'addMiddleware':gr,'setRawMode':()=>{},'isRawModeSupported':!0x1,'enableMouseMode':()=>{},'disableMouseMode':()=>{},'isMouseModeEnabled':!0x1});Ye[_0x5318c5(0x1a1,0x152,0x26,0x13a)]=_0x7f0a6b(0x6b9,0x484,0x6a9,0x3cc);var Vn=!0x1;function mo(_0x5c0d94){Vn=_0x5c0d94;}var uo=()=>({'upArrow':!0x1,'downArrow':!0x1,'leftArrow':!0x1,'rightArrow':!0x1,'pageDown':!0x1,'pageUp':!0x1,'home':!0x1,'end':!0x1,'return':!0x1,'escape':!0x1,'ctrl':!0x1,'shift':!0x1,'tab':!0x1,'backspace':!0x1,'delete':!0x1,'meta':!0x1}),Wn={'OP':'f1','OQ':'f2','OR':'f3','OS':'f4','[11~':'f1','[12~':'f2','[13~':'f3','[14~':'f4','[[A':'f1','[[B':'f2','[[C':'f3','[[D':'f4','[[E':'f5','[15~':'f5','[17~':'f6','[18~':'f7','[19~':'f8','[20~':'f9','[21~':'f10','[23~':_0x5318c5(0x1cf,0x421,0xd9,0x2c6),'[24~':_0x7f0a6b(0x221,0x3f0,0x411,0x2f0),'[A':'up','[B':_0x7f0a6b(0x16,0x1b7,0xc2,-0x36),'[C':_0x7f0a6b(0x2e6,0xf5,0x273,0x2fc),'[D':'left','[E':_0x7f0a6b(0xbc,0x141,-0xd8,0x14),'[F':_0x5318c5(0x11e,-0xc8,0x1fd,-0x7),'[H':_0x7f0a6b(0x58a,0x37c,0x49c,0x47d),'OA':'up','OB':_0x5318c5(0x270,0x239,0x30,0xdf),'OC':_0x5318c5(-0x147,0x152,0x10d,0x1d),'OD':_0x5318c5(0x2e5,0x33a,0x57f,0x3bc),'OE':_0x7f0a6b(-0x3c,0x141,0x2c4,0x2ac),'OF':_0x5318c5(0x170,0x2b,0x229,-0x7),'OH':'home','[1~':_0x7f0a6b(0x530,0x37c,0x371,0x318),'[2~':_0x5318c5(0x98,0x99,0x118,0xe4),'[3~':'delete','[4~':_0x7f0a6b(0x28a,0xd1,0x17,0x2f8),'[5~':_0x5318c5(0x12c,0x1d2,0x13,0x1b4),'[6~':_0x5318c5(0x51b,0x493,0x378,0x3f9),'[[5~':_0x5318c5(0x22a,-0x68,0x1ed,0x1b4),'[[6~':'pagedown','[7~':_0x5318c5(0x210,0x1a9,0x306,0x2a4),'[8~':_0x7f0a6b(-0x7b,0xd1,-0x85,0x10),'[a':'up','[b':_0x5318c5(0x1e0,0x55,0x10a,0xdf),'[c':_0x7f0a6b(0x219,0xf5,-0x6,0x79),'[d':_0x7f0a6b(0x649,0x494,0x4b6,0x3b2),'[e':'clear','[2$':'insert','[3$':_0x5318c5(0x2dd,0x18c,0x22d,0x15d),'[5$':_0x7f0a6b(0x2fa,0x28c,0xc7,0x8e),'[6$':'pagedown','[7$':'home','[8$':'end','Oa':'up','Ob':_0x5318c5(0x1d,-0x151,0x24b,0xdf),'Oc':_0x5318c5(-0xb3,-0x1c2,-0xf7,0x1d),'Od':'left','Oe':_0x5318c5(0xc9,0x8c,-0x17d,0x69),'[2^':_0x5318c5(0x95,0x278,-0x50,0xe4),'[3^':_0x7f0a6b(0x423,0x235,0x173,0x417),'[5^':_0x5318c5(0x189,0x29e,0x7d,0x1b4),'[6^':_0x5318c5(0x581,0x5a7,0x2b6,0x3f9),'[7^':_0x5318c5(0x4d4,0x79,0x4b1,0x2a4),'[8^':_0x5318c5(-0x18,0x123,0x1cd,-0x7),'[Z':_0x5318c5(0x42b,0x523,0x3d8,0x3c2)},Jp=[...Object[_0x7f0a6b(0x170,0x393,0x588,0x21f)](Wn),_0x5318c5(0x401,0x2d2,0x3ee,0x37e),_0x5318c5(-0xea,-0x55,0xe6,0x138)],_a=_0x56fa8b=>['[a','[b','[c','[d','[e','[2$',_0x5318c5(-0x2e,0x36,0x391,0x15c),_0x5318c5(0x13d,0x15b,0x31b,0x2de),_0x7f0a6b(0x13c,0x2c0,0xbd,0x2a1),'[7$','[8$','[Z'][_0x5318c5(0x9,0x129,0x153,-0x29)](_0x56fa8b),Fa=_0x23391d=>['Oa','Ob','Oc','Od','Oe','[2^',_0x5318c5(0x21c,0x3db,0x1e1,0x326),_0x5318c5(0x2a2,0x325,0x4d3,0x3cd),'[6^','[7^','[8^'][_0x7f0a6b(-0x144,0xaf,-0x4,0x109)](_0x23391d),Na=/^(?:\x1b)([a-zA-Z0-9])$/,Oa=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,$a=/^\x1b\[(\d+)(?:;(\d+))?u$/,Ua={0x9:'tab',0xd:_0x5318c5(0x287,0x1b7,-0xa8,0x138),0x1b:_0x5318c5(0x551,0x3c9,0x4dc,0x419),0x7f:'backspace'};function Ha(_0x480809){const _0x2d0c99={_0x14226d:0x74b,_0x3e7617:0x5ca,_0x440a3a:0x86b,_0x4d13a6:0x768,_0x136e4b:0x7bf,_0x4e70d6:0x36c,_0x537533:0x6a,_0x21ca68:0x16a,_0x10f16d:0x95d},_0x24cf17={_0x2e650c:0x1da},_0x1971a7={_0x2914cd:0x43,_0x44fca9:0x25c,_0x3f1bbe:0xec};let _0x1fda6f=$a[_0x392d6a(_0x2d0c99._0x14226d,0x5c7,0x526,0x314)](_0x480809);function _0x279ccc(_0x43c29a,_0x2ae806,_0x3f8cbc,_0x5292df){return _0x7f0a6b(_0x43c29a-_0x1971a7._0x2914cd,_0x5292df- -_0x1971a7._0x44fca9,_0x2ae806,_0x5292df-_0x1971a7._0x3f1bbe);}if(!_0x1fda6f)return null;let _0x35e23a=parseInt(_0x1fda6f[0x1],0xa),_0x2cffdb=_0x1fda6f[0x2]?parseInt(_0x1fda6f[0x2],0xa)-0x1:0x0,_0x189455=uo();_0x189455[_0x392d6a(_0x2d0c99._0x3e7617,_0x2d0c99._0x440a3a,_0x2d0c99._0x4d13a6,_0x2d0c99._0x136e4b)]=!!(_0x2cffdb&0x1),_0x189455[_0x279ccc(-0x365,-_0x2d0c99._0x4e70d6,_0x2d0c99._0x537533,-_0x2d0c99._0x21ca68)]=!!(_0x2cffdb&0x2),_0x189455['ctrl']=!!(_0x2cffdb&0x4);function _0x392d6a(_0x599733,_0x281e37,_0x2917d6,_0x21ef7d){return _0x7f0a6b(_0x599733-0x168,_0x2917d6-0x37e,_0x21ef7d,_0x21ef7d-_0x24cf17._0x2e650c);}let _0x462bd3=Ua[_0x35e23a];if(_0x462bd3&&(_0x189455[_0x462bd3]=!0x0),_0x35e23a===0xd&&_0x189455[_0x392d6a(_0x2d0c99._0x10f16d,0x7fe,_0x2d0c99._0x4d13a6,0x70a)])return{'input':'\x0a','key':uo()};let _0xba1e74='';return _0x35e23a>=0x20&&_0x35e23a<=0x7e&&(_0xba1e74=String['fromCharCode'](_0x35e23a)),{'input':_0xba1e74,'key':_0x189455};}var zn=_0x46fb29=>{const _0x537b4e={_0x2e1f12:0x17,_0x4ae5e6:0x120,_0x50c1c8:0x28e,_0x490d38:0x16a,_0x150aa2:0x1f1,_0x2b20f1:0x2e7,_0x4af686:0x257,_0x5cdb38:0xb6,_0x34bec0:0xef,_0x52a109:0x22,_0x1560ac:0x128,_0x3bfcb2:0x94,_0x5d79b6:0x30b,_0x1e4d40:0x30c,_0x24f76d:0x432,_0x5db6f6:0x2a1,_0x4635a2:0x57c,_0x587eee:0x471,_0x324291:0x9c,_0x25dbfd:0x1c1,_0x4854ac:0xbe,_0x21e2a5:0x23e,_0x41bf1e:0x116,_0x3ef726:0xf6,_0x28a4fd:0x77,_0x17c1fb:0x1c8,_0x4e9636:0x388,_0x5f746d:0x3e9,_0x22cef3:0x308,_0x5bfefc:0x557,_0x1faff1:0x74f,_0x1f5dff:0x51a,_0x24dd5b:0x221,_0x39cce8:0xb4,_0x4696dd:0x480,_0x216565:0x375,_0xad7e46:0x2f1,_0x39c65c:0x162,_0x545dee:0xba,_0x239aa8:0x435,_0x5504b1:0x3d6,_0x56c47d:0x2a1,_0xdfe775:0x37f,_0x37e447:0x209,_0x27d5fc:0x15e,_0x1ad84c:0xb,_0xf0734a:0x27,_0x211916:0x188,_0x78a1ed:0x350,_0x58bcdc:0x42c,_0x2db439:0x41a,_0x1e6b44:0xbc,_0x3aca41:0x139,_0x8b250a:0x7d,_0x55efe8:0x172,_0x4f6076:0x322,_0x37aee8:0x2ea,_0x4c9dbb:0x167,_0x5665d7:0x191,_0x377814:0x3b,_0x193f83:0x152,_0x2b1efd:0xad,_0x53c48a:0x3,_0x427a1e:0x47a,_0x40b01d:0x661,_0x519a14:0x67a,_0x4fa094:0x250,_0x273f6d:0x164,_0x2b73aa:0xa4,_0xaa5219:0x449,_0x5a8146:0x489,_0x2bc218:0x2f0,_0x3bac97:0x1a1,_0x1099e1:0x1a,_0x54d35b:0x24f,_0x4fed84:0x16c,_0xa0076c:0x452,_0x100a12:0x27a,_0x4e8025:0x4c,_0x5bf6cb:0xec,_0x4a1828:0x2da,_0x2c5682:0x25f,_0x59da00:0x3a3,_0xe433e3:0x496,_0x4268ad:0x51b,_0x45c358:0x4a1,_0x2df8d7:0x3bf,_0x58e1e3:0x1c,_0x9a5221:0x120,_0x5439cc:0x1c1,_0x5f577d:0x712,_0x2fb155:0xc5,_0x23d0b5:0x16a,_0x3a4890:0x128,_0x51fb2f:0x2be,_0x54afa0:0x16a,_0x1a5241:0x1cb,_0x18e27d:0x126,_0x41ecc3:0x226,_0x2cfdd8:0x10,_0x265456:0x59f,_0x13e1a7:0xfb,_0x5662cc:0x47,_0x5acb42:0x51a},_0x49a641={_0x390468:0x184,_0x911b0b:0x1a1,_0x174f1:0x258},_0x3dac13={_0x11c059:0x15c,_0x5d18ae:0x1af};if(Vn){let _0x1c4906=Ha(_0x46fb29);if(_0x1c4906)return _0x1c4906;}function _0x3b1753(_0x1af0d6,_0x2661f7,_0x41bbb7,_0x4a01b0){return _0x7f0a6b(_0x1af0d6-_0x3dac13._0x11c059,_0x4a01b0-_0x3dac13._0x5d18ae,_0x1af0d6,_0x4a01b0-0x9a);}function _0x5e7cab(_0x3f2c5a,_0x56979d,_0x295a76,_0x383fee){return _0x5318c5(_0x3f2c5a-_0x49a641._0x390468,_0x295a76,_0x295a76-_0x49a641._0x911b0b,_0x56979d- -_0x49a641._0x174f1);}let _0x2ab372,_0x4684ff=_0x46fb29,_0x51de60=uo();if(_0x4684ff==='\x0d')return _0x51de60[_0x5e7cab(_0x537b4e._0x2e1f12,-_0x537b4e._0x4ae5e6,-0xfe,-0x37)]=!0x0,{'input':'','key':_0x51de60};if(_0x4684ff==='\x0a')return{'input':'\x0a','key':_0x51de60};if(_0x4684ff==='\x09')return _0x51de60[_0x5e7cab(_0x537b4e._0x50c1c8,_0x537b4e._0x490d38,0x300,_0x537b4e._0x150aa2)]=!0x0,{'input':'','key':_0x51de60};if(_0x4684ff==='\x08'||_0x4684ff==='\x1b\x08')return _0x51de60[_0x5e7cab(_0x537b4e._0x2b20f1,0x126,_0x537b4e._0x4af686,_0x537b4e._0x5cdb38)]=!0x0,_0x51de60['meta']=_0x4684ff[_0x5e7cab(-0x25a,-0x6e,_0x537b4e._0x34bec0,_0x537b4e._0x52a109)](0x0)==='\x1b',{'input':'','key':_0x51de60};if(_0x4684ff==='\x7f'||_0x4684ff==='\x1b\x7f')return _0x51de60[_0x5e7cab(_0x537b4e._0x1560ac,-0xfb,-_0x537b4e._0x3bfcb2,-_0x537b4e._0x5d79b6)]=!0x0,_0x51de60[_0x3b1753(_0x537b4e._0x1e4d40,_0x537b4e._0x24f76d,0x37e,_0x537b4e._0x5db6f6)]=_0x4684ff[_0x3b1753(0x23d,_0x537b4e._0x4635a2,0x431,_0x537b4e._0x587eee)](0x0)==='\x1b',{'input':'','key':_0x51de60};if(_0x4684ff==='\x1b'||_0x4684ff==='\x1b\x1b')return _0x51de60[_0x5e7cab(_0x537b4e._0x324291,_0x537b4e._0x25dbfd,0x396,_0x537b4e._0x4854ac)]=!0x0,_0x51de60[_0x5e7cab(-0x1e,-_0x537b4e._0x21e2a5,-0x39f,-0x449)]=_0x4684ff[_0x5e7cab(_0x537b4e._0x41bf1e,-_0x537b4e._0x3ef726,-0x2b3,-0x27d)]===0x2,{'input':'','key':_0x51de60};if(_0x4684ff==='\x20'||_0x4684ff==='\x1b\x20')return _0x51de60[_0x3b1753(_0x537b4e._0x28a4fd,0x2f9,0x2fb,0x2a1)]=_0x4684ff[_0x3b1753(0x418,_0x537b4e._0x17c1fb,_0x537b4e._0x4e9636,_0x537b4e._0x5f746d)]===0x2,{'input':'\x20','key':_0x51de60};if(_0x4684ff[_0x3b1753(0x492,_0x537b4e._0x22cef3,_0x537b4e._0x5bfefc,0x3e9)]===0x1&&_0x4684ff<='\x1a')return _0x51de60[_0x3b1753(0x38d,0x546,_0x537b4e._0x1faff1,_0x537b4e._0x1f5dff)]=!0x0,{'input':String['fromCharCode'](_0x4684ff[_0x5e7cab(-_0x537b4e._0x24dd5b,-_0x537b4e._0x39cce8,-0x239,-0x252)](0x0)+0x61-0x1),'key':_0x51de60};if(_0x4684ff['length']===0x1&&_0x4684ff>='0'&&_0x4684ff<='9')return{'input':_0x4684ff,'key':_0x51de60};if(_0x4684ff[_0x3b1753(_0x537b4e._0x4696dd,_0x537b4e._0x216565,0x4c5,0x3e9)]===0x1&&_0x4684ff>='a'&&_0x4684ff<='z')return{'input':_0x4684ff,'key':_0x51de60};if(_0x4684ff[_0x3b1753(_0x537b4e._0xad7e46,0x1d6,0x340,0x3e9)]===0x1&&_0x4684ff>='A'&&_0x4684ff<='Z')return _0x51de60[_0x5e7cab(-_0x537b4e._0x39c65c,_0x537b4e._0x545dee,0x1cf,-0xb4)]=!0x0,{'input':_0x4684ff,'key':_0x51de60};if(_0x2ab372=Na['exec'](_0x4684ff))return _0x51de60[_0x3b1753(_0x537b4e._0x239aa8,0x269,_0x537b4e._0x5504b1,_0x537b4e._0x56c47d)]=!0x0,_0x51de60['shift']=/^[A-Z]$/['test'](_0x2ab372[0x1]),{'input':_0x2ab372[0x1],'key':_0x51de60};if(_0x4684ff['startsWith']('\x1b[200~')||_0x4684ff[_0x5e7cab(-_0x537b4e._0xdfe775,-_0x537b4e._0x37e447,-_0x537b4e._0x27d5fc,-_0x537b4e._0x1ad84c)]('[200~'))return{'input':_0x46fb29,'key':_0x51de60};if(_0x2ab372=Oa[_0x5e7cab(_0x537b4e._0xf0734a,-_0x537b4e._0x211916,-_0x537b4e._0x78a1ed,-0x371)](_0x4684ff)){let _0x7764cc=[..._0x4684ff];_0x7764cc[0x0]==='\x1b'&&_0x7764cc[0x1]==='\x1b'&&(_0x51de60[_0x3b1753(0x397,_0x537b4e._0x58bcdc,_0x537b4e._0x2db439,0x2a1)]=!0x0);let _0x5425ce=[_0x2ab372[0x1],_0x2ab372[0x2],_0x2ab372[0x4],_0x2ab372[0x6]][_0x5e7cab(_0x537b4e._0x1e6b44,-_0x537b4e._0x3aca41,-0x1b6,-_0x537b4e._0x8b250a)](Boolean)['join'](''),_0xf1077=(_0x2ab372[0x3]||_0x2ab372[0x5]||0x1)-0x1;_0x51de60['ctrl']=!!(_0xf1077&0x4),_0x51de60[_0x3b1753(_0x537b4e._0x55efe8,_0x537b4e._0x4f6076,0x461,_0x537b4e._0x56c47d)]=_0x51de60[_0x3b1753(0x406,_0x537b4e._0x37aee8,_0x537b4e._0x4c9dbb,0x2a1)]||!!(_0xf1077&0xa),_0x51de60[_0x5e7cab(0x56,_0x537b4e._0x545dee,_0x537b4e._0x5665d7,-0xf)]=!!(_0xf1077&0x1);let _0x2398e1=Wn[_0x5425ce]||'';return _0x51de60['shift']=_a(_0x5425ce)||_0x51de60['shift'],_0x51de60[_0x5e7cab(-0x62,_0x537b4e._0x377814,0x17d,0x97)]=Fa(_0x5425ce)||_0x51de60['ctrl'],_0x2398e1==='up'?_0x51de60[_0x5e7cab(-_0x537b4e._0x193f83,-_0x537b4e._0x2b1efd,-_0x537b4e._0x53c48a,-0x1af)]=!0x0:_0x2398e1===_0x3b1753(_0x537b4e._0x427a1e,0x3c3,0x3f5,0x366)?_0x51de60[_0x3b1753(_0x537b4e._0x40b01d,_0x537b4e._0x519a14,0x49e,0x61d)]=!0x0:_0x2398e1===_0x5e7cab(_0x537b4e._0x4fa094,_0x537b4e._0x273f6d,0xc5,0x1ce)?_0x51de60['leftArrow']=!0x0:_0x2398e1==='right'?_0x51de60['rightArrow']=!0x0:_0x2398e1===_0x5e7cab(-0x29,-_0x537b4e._0x2b73aa,0x17f,-0x20c)?_0x51de60[_0x3b1753(_0x537b4e._0xaa5219,_0x537b4e._0x5a8146,0x533,0x3ec)]=!0x0:_0x2398e1===_0x5e7cab(_0x537b4e._0x2bc218,_0x537b4e._0x3bac97,-_0x537b4e._0x1099e1,0x161)?_0x51de60[_0x5e7cab(-_0x537b4e._0x54d35b,-_0x537b4e._0x4fed84,-0x36e,0x74)]=!0x0:_0x2398e1===_0x3b1753(_0x537b4e._0xa0076c,0x35f,0x6f9,0x52b)?_0x51de60[_0x5e7cab(_0x537b4e._0x100a12,_0x537b4e._0x4e8025,_0x537b4e._0x5bf6cb,-0xbe)]=!0x0:_0x2398e1===_0x5e7cab(-_0x537b4e._0x4a1828,-_0x537b4e._0x2c5682,-0x1b1,-_0x537b4e._0x59da00)?_0x51de60[_0x5e7cab(-_0x537b4e._0xe433e3,-_0x537b4e._0x2c5682,-0x1fe,-0x449)]=!0x0:_0x2398e1===_0x3b1753(_0x537b4e._0x4268ad,_0x537b4e._0x45c358,0x58d,_0x537b4e._0x2df8d7)?_0x51de60[_0x5e7cab(-_0x537b4e._0x58e1e3,-_0x537b4e._0x9a5221,-0x155,0x28)]=!0x0:_0x2398e1===_0x5e7cab(0xda,_0x537b4e._0x5439cc,0x302,0x22f)?_0x51de60[_0x3b1753(_0x537b4e._0x5f577d,0x4c8,0x6ef,0x6a0)]=!0x0:_0x2398e1===_0x5e7cab(-_0x537b4e._0x2fb155,_0x537b4e._0x23d0b5,_0x537b4e._0x3a4890,_0x537b4e._0x51fb2f)?_0x51de60[_0x5e7cab(0x28e,_0x537b4e._0x54afa0,0xfe,_0x537b4e._0x1a5241)]=!0x0:_0x2398e1===_0x5e7cab(0x281,_0x537b4e._0x18e27d,_0x537b4e._0x41ecc3,_0x537b4e._0x2cfdd8)?_0x51de60[_0x3b1753(_0x537b4e._0x265456,0x788,0x477,0x605)]=!0x0:_0x2398e1===_0x5e7cab(-0x32e,-_0x537b4e._0x13e1a7,-_0x537b4e._0x53c48a,-_0x537b4e._0x5662cc)&&(_0x51de60['delete']=!0x0),{'input':_0x51de60[_0x3b1753(0x5e8,0x466,0x457,_0x537b4e._0x5acb42)]?_0x2398e1:'','key':_0x51de60};}return{'input':_0x46fb29,'key':uo()};};function Gn(_0x78c6da){const _0x4f4f55={_0x4ff729:0x7c,_0xca484d:0x1b1,_0x1ed163:0x55,_0x10b7ff:0x1d0,_0x2dfdc5:0x157,_0x2f9a1f:0x1a6,_0x6e7c4b:0x626,_0xe757de:0x130,_0x360aae:0xd3,_0x14799f:0xff,_0x5acae5:0x58e,_0x47377b:0x44e,_0x36541e:0x7b3,_0x18ef45:0x63c,_0x4e2056:0x517,_0x1bf154:0x346,_0x47408e:0x243,_0x3bed4:0x37b,_0x2958e0:0x2c2,_0x5a4bfa:0x552,_0x1e7806:0x41d,_0xf851c:0x386,_0x531152:0x295,_0x464b00:0x3fe,_0x53cfd3:0x237,_0x220b39:0x3f7,_0x51da03:0x312,_0x3088c4:0x463,_0x31c614:0x572,_0x499bfa:0x5fe,_0x272c60:0x488},_0x1f6129={_0x41cbe1:0x291};let _0x5db6f7=_0x78c6da[_0x59f53e(0x2fc,0x70,_0x4f4f55._0x4ff729,0xc8)](_0x4cc4ad(0x529,0x2a3,0x3b7,0x311)),_0x2d0961=_0x78c6da[_0x59f53e(_0x4f4f55._0xca484d,-_0x4f4f55._0x1ed163,_0x4f4f55._0x10b7ff,0x140)]('\x1b[M')&&_0x78c6da['length']>=0x6;if(!_0x5db6f7&&!_0x2d0961)return{'mouse':null,'consumed':!0x1};let _0x297c64=/\x1b\[<(\d+);(\d+);(\d+)([Mm])/g,_0x5792d9,_0x3c54f0=0x0,_0xd84801=0x0,_0x57b9fd=null,_0x4a244a=0x0,_0x1bd1dc=0x0;for(;(_0x5792d9=_0x297c64[_0x4cc4ad(0x267,_0x4f4f55._0x2dfdc5,0x361,_0x4f4f55._0x2f9a1f)](_0x78c6da))!==null;){let _0xd63544=parseInt(_0x5792d9[0x1],0xa),_0x48b120=parseInt(_0x5792d9[0x2],0xa),_0x17a31a=parseInt(_0x5792d9[0x3],0xa),_0x195ac5=_0x5792d9[0x4]==='m';_0x4a244a=_0x48b120,_0x1bd1dc=_0x17a31a,_0xd63544===0x40?_0x3c54f0++:_0xd63544===0x41?_0xd84801++:_0xd63544>=0x20&&_0xd63544<0x40?_0x57b9fd={'type':_0x4cc4ad(_0x4f4f55._0x6e7c4b,0x381,0x463,0x567),'button':_0xd63544-0x20,'x':_0x48b120,'y':_0x17a31a}:_0x195ac5?_0x57b9fd={'type':_0x59f53e(-_0x4f4f55._0xe757de,-_0x4f4f55._0x360aae,0x11c,_0x4f4f55._0x14799f),'button':_0xd63544,'x':_0x48b120,'y':_0x17a31a}:_0x57b9fd={'type':_0x4cc4ad(_0x4f4f55._0x5acae5,_0x4f4f55._0x47377b,0x628,_0x4f4f55._0x36541e),'button':_0xd63544,'x':_0x48b120,'y':_0x17a31a};}if(_0x3c54f0>0x0)return{'mouse':{'type':_0x4cc4ad(_0x4f4f55._0x18ef45,0x71d,_0x4f4f55._0x4e2056,0x605),'button':0x40,'x':_0x4a244a,'y':_0x1bd1dc,'count':_0x3c54f0},'consumed':!0x0};function _0x4cc4ad(_0x4e6f3a,_0x1fad23,_0x53b180,_0x1451a9){return _0x5318c5(_0x4e6f3a-0x22,_0x4e6f3a,_0x53b180-0x6f,_0x53b180-_0x1f6129._0x41cbe1);}if(_0xd84801>0x0)return{'mouse':{'type':_0x59f53e(0x95,0x224,_0x4f4f55._0x1bf154,_0x4f4f55._0x47408e),'button':0x41,'x':_0x4a244a,'y':_0x1bd1dc,'count':_0xd84801},'consumed':!0x0};if(_0x57b9fd)return{'mouse':_0x57b9fd,'consumed':!0x0};if(_0x78c6da[_0x4cc4ad(_0x4f4f55._0x3bed4,0x1f1,0x3f3,0x3b8)]>=0x6&&_0x78c6da[_0x4cc4ad(_0x4f4f55._0x2958e0,0x145,0x2e0,0x128)](_0x59f53e(0x4b2,_0x4f4f55._0x5a4bfa,0x355,_0x4f4f55._0x1e7806))){let _0x43a050=_0x78c6da[_0x59f53e(_0x4f4f55._0xf851c,0x3e6,0x49c,_0x4f4f55._0x531152)](0x3)-0x20,_0x31c386=_0x78c6da[_0x4cc4ad(_0x4f4f55._0x464b00,_0x4f4f55._0x53cfd3,0x435,0x381)](0x4)-0x20,_0x4b3688=_0x78c6da[_0x59f53e(0x4b2,_0x4f4f55._0x220b39,0xc7,0x295)](0x5)-0x20,_0x6033bb=_0x43a050&0x3;return _0x43a050===0x40?{'mouse':{'type':'wheel-up','button':0x40,'x':_0x31c386,'y':_0x4b3688,'count':0x1},'consumed':!0x0}:_0x43a050===0x41?{'mouse':{'type':'wheel-down','button':0x41,'x':_0x31c386,'y':_0x4b3688,'count':0x1},'consumed':!0x0}:_0x43a050&0x20?{'mouse':{'type':_0x4cc4ad(0x51e,_0x4f4f55._0x51da03,_0x4f4f55._0x3088c4,0x47b),'button':_0x6033bb,'x':_0x31c386,'y':_0x4b3688},'consumed':!0x0}:_0x43a050===0x3?{'mouse':{'type':'release','button':_0x6033bb,'x':_0x31c386,'y':_0x4b3688},'consumed':!0x0}:{'mouse':{'type':_0x59f53e(_0x4f4f55._0x31c614,0x3b6,_0x4f4f55._0x499bfa,_0x4f4f55._0x272c60),'button':_0x6033bb,'x':_0x31c386,'y':_0x4b3688},'consumed':!0x0};}function _0x59f53e(_0x536a2b,_0x221580,_0xdffd3d,_0x46db58){return _0x7f0a6b(_0x536a2b-0x6a,_0x46db58-0x19,_0x536a2b,_0x46db58-0x8e);}return{'mouse':null,'consumed':!0x1};}import{createContext as _0x391fe8,useContext as _0x476660,useState as _0x2b2ffe,useCallback as _0x58c5ef,useMemo as _0x208ee5,useId as _0x330c4d,useRef as _0x8082c4,useEffect as _0x490a4b}from'react';import{EventEmitter as _0xf879cf}from'events';var hr=class{constructor(){const _0x306939={_0x575c18:0x63e,_0x30b751:0x3ba},_0x2b0bd9={_0x440735:0x49d};function _0x2a316b(_0x26f77b,_0x19a156,_0x216449,_0x579b7c){return _0x5318c5(_0x26f77b-0x188,_0x579b7c,_0x216449-0x38,_0x26f77b-_0x2b0bd9._0x440735);}this[_0x2a316b(0x487,0x63f,_0x306939._0x575c18,_0x306939._0x30b751)]=new _0xf879cf(),this['emitter']['setMaxListeners'](0x1e);}['on'](_0x1203c1,_0x3e4a99){this['emitter']['on'](_0x1203c1,_0x3e4a99);}['off'](_0x51b3ad,_0x1565b6){const _0x105a54={_0x33deac:0x355,_0x1b1941:0x51b,_0x10b351:0x760},_0x40c8e9={_0x5428d3:0x29,_0x5d0c3d:0xf},_0xa44e8={_0x86d9c2:0x3d,_0x58f203:0x293};function _0x119c98(_0xd526d4,_0x2b50ec,_0x2ee34a,_0x128fe6){return _0x7f0a6b(_0xd526d4-_0xa44e8._0x86d9c2,_0xd526d4-_0xa44e8._0x58f203,_0x128fe6,_0x128fe6-0xf1);}function _0x1c3986(_0x4a75fa,_0xc19232,_0x105407,_0x33bc9a){return _0x7f0a6b(_0x4a75fa-_0x40c8e9._0x5428d3,_0x4a75fa-0x350,_0x33bc9a,_0x33bc9a-_0x40c8e9._0x5d0c3d);}this[_0x119c98(_0x105a54._0x33deac,0x32f,_0x105a54._0x1b1941,0x4d6)][_0x1c3986(0x60e,0x6ff,0x531,_0x105a54._0x10b351)](_0x51b3ad,_0x1565b6);}[_0x5318c5(0x237,0x42f,0x2cf,0x314)](_0x3782d1,_0x1fd864){const _0xc2848={_0x351fd3:0x23d,_0x348d22:0x1dc};function _0xa7e8ae(_0x2907cd,_0x453f02,_0x2c4773,_0x2047f9){return _0x5318c5(_0x2907cd-0x101,_0x2047f9,_0x2c4773-0x147,_0x2c4773- -0x1c6);}this[_0xa7e8ae(-_0xc2848._0x351fd3,-0x4b,-_0xc2848._0x348d22,-0x206)]['once'](_0x3782d1,_0x1fd864);}[_0x5318c5(-0xf2,0x32,-0x41,0xad)](_0x3397ae,_0x573db2){const _0x200cd4={_0x494918:0x329},_0x445878={_0x3bf343:0x91,_0x29f37d:0x205,_0x428756:0x16e};function _0xc682c9(_0x1911aa,_0x1c9b4e,_0xa59b92,_0x4c0b77){return _0x7f0a6b(_0x1911aa-_0x445878._0x3bf343,_0x1911aa-_0x445878._0x29f37d,_0xa59b92,_0x4c0b77-_0x445878._0x428756);}this[_0xc682c9(0x2c7,0x4c9,_0x200cd4._0x494918,0x39a)]['emit'](_0x3397ae,_0x573db2);}},B=new hr();import{jsx as _0x389e6b}from'react/jsx-runtime';var br=_0x391fe8(void 0x0);function po({children:_0x58446d}){const _0x38ff92={_0x3fe312:0x65a},_0x19de57={_0xe0629f:0x341,_0x43889c:0x505,_0x40a58c:0x2bd,_0x266d40:0x13c,_0x353e1b:0xce,_0xc5fbb8:0x83},_0xe4e853={_0x152fcb:0x131},_0x33528f={_0xadcbf5:0x4dd,_0x1d9eba:0x407,_0x1c70fe:0x62d,_0xdf683e:0x230},_0x28df5f={_0x2756f8:0x8c4,_0x5293d1:0x889,_0x206e0f:0x4c6,_0x1122c3:0x671},_0x39a9dd={_0x4876d6:0x1ce,_0x2d0162:0x3d};let [_0x44527e,_0xc718ab]=_0x2b2ffe(null),_0x14528a=_0x8082c4(new Set()),_0x1f2207=_0x58c5ef(_0x5ba311=>{_0xc718ab(_0x5ba311);},[]),_0x2c48eb=_0x58c5ef((_0x57599b=_0x33e209(0x5a8,0x79e,0x5ef,0x3bf))=>{const _0x3a6b23={_0x322627:0x17b};let _0xfd44b7=Array[_0x573f47(0x3f9,0x3f1,0x223,0x3d4)](_0x14528a[_0x573f47(_0x33528f._0xadcbf5,_0x33528f._0x1d9eba,0x480,_0x33528f._0x1c70fe)]);function _0x573f47(_0x23ada5,_0x4a09bd,_0x143ad0,_0x1f9161){return _0x33e209(_0x23ada5-_0x39a9dd._0x4876d6,_0x1f9161,_0x23ada5- -_0x39a9dd._0x2d0162,_0x1f9161-0x2a);}function _0x53b84c(_0x21f026,_0x2e7716,_0x591df7,_0x546d8d){return _0x33e209(_0x21f026-0x192,_0x2e7716,_0x591df7-0x84,_0x546d8d-0x17d);}_0xfd44b7[_0x573f47(0x412,0x526,_0x33528f._0xdf683e,0x482)]!==0x0&&_0xc718ab(_0xaee1c7=>{let _0x2e2c9a=_0xaee1c7?_0xfd44b7[_0x4f88e1(_0x28df5f._0x2756f8,0x80c,0x81d,0x73c)](_0xaee1c7):-0x1,_0x1bb8fc;function _0x4f88e1(_0x222418,_0x5891db,_0x496e13,_0x4b47aa){return _0x573f47(_0x496e13-0x25f,_0x5891db-0xcf,_0x496e13-_0x3a6b23._0x322627,_0x222418);}function _0x576517(_0xf4db76,_0x1952e4,_0x3cec47,_0x153365){return _0x53b84c(_0xf4db76-0x20,_0xf4db76,_0x153365- -0x4c2,_0x153365-0x117);}return _0x57599b===_0x4f88e1(0x8ae,0x963,0x811,_0x28df5f._0x5293d1)?_0x1bb8fc=(_0x2e2c9a+0x1)%_0xfd44b7[_0x4f88e1(0x59b,_0x28df5f._0x206e0f,_0x28df5f._0x1122c3,0x6bc)]:_0x1bb8fc=_0x2e2c9a<=0x0?_0xfd44b7['length']-0x1:_0x2e2c9a-0x1,_0xfd44b7[_0x1bb8fc]||null;});},[]);function _0x580e08(_0xf8b5ca,_0x164d01,_0x12b715,_0xb4dbc4){return _0x5318c5(_0xf8b5ca-0x2f,_0x164d01,_0x12b715-_0xe4e853._0x152fcb,_0xb4dbc4-0x484);}_0x490a4b(()=>{const _0x59f9ef={_0x53814a:0x31},_0x2e2ceb={_0x2dde91:0x2d3,_0x45e54f:0xa6},_0x2e4568={_0x13b4be:0x1a9};let _0x53be7c=_0x3f0c5e=>{_0x2c48eb(_0x3f0c5e);};function _0x26d8a6(_0x55bbc3,_0x1fbc23,_0xa03542,_0x2f439a){return _0x33e209(_0x55bbc3-_0x2e4568._0x13b4be,_0x1fbc23,_0x55bbc3- -0x465,_0x2f439a-0x1cd);}return B['on'](_0x26d8a6(-0x197,-0x388,-0x4c,-0x75),_0x53be7c),()=>{function _0x219a1c(_0x5cd50b,_0x181b67,_0x55fa5e,_0x5bd415){return _0x26d8a6(_0x5cd50b-_0x2e2ceb._0x2dde91,_0x5bd415,_0x55fa5e-_0x2e2ceb._0x45e54f,_0x5bd415-0x114);}function _0xc74447(_0x5b9c7c,_0x1aa170,_0x2bdf35,_0x5a74d9){return _0x26d8a6(_0x5b9c7c-0x5a7,_0x2bdf35,_0x2bdf35-_0x59f9ef._0x53814a,_0x5a74d9-0x106);}B[_0x219a1c(_0x19de57._0xe0629f,_0x19de57._0x43889c,0x281,_0x19de57._0x40a58c)](_0x219a1c(_0x19de57._0x266d40,_0x19de57._0x353e1b,0x13c,_0x19de57._0xc5fbb8),_0x53be7c);};},[_0x2c48eb]);function _0x33e209(_0x4aa7bc,_0x3c3ae8,_0x428ed9,_0x852948){return _0x5318c5(_0x4aa7bc-0x136,_0x3c3ae8,_0x428ed9-0xc7,_0x428ed9-0x2ed);}let _0x546934=_0x58c5ef(()=>{_0xc718ab(null);},[]),_0x2d2efe=_0x208ee5(()=>({'focusedId':_0x44527e,'setFocusedId':_0x1f2207,'clearFocus':_0x546934,'focusableIdsRef':_0x14528a,'cycleFocus':_0x2c48eb}),[_0x44527e,_0x1f2207,_0x546934,_0x2c48eb]);return _0x389e6b(br[_0x33e209(0x626,0x64f,_0x38ff92._0x3fe312,0x6fe)],{'value':_0x2d2efe,'children':_0x58446d});}function Ne({active:_0x28d87c,autoFocus:_0x4546c8}={'active':!0x0,'autoFocus':!0x1}){const _0x15fadc={_0x5db677:0x90,_0x24d4ea:0x60,_0x54fe76:0x54},_0x41c3d5={_0x2a6ab9:0x1db,_0x522f3f:0x1ab,_0x2dc095:0x16},_0x194aec={_0x4e925e:0xb,_0x3cf005:0x133},_0x549a03={_0x5c3e58:0x61,_0x1236a8:0x11,_0x59f288:0x85};let _0xb0561b=_0x476660(br);function _0x3805bc(_0x1fd30e,_0x4e3c1a,_0x3f0533,_0x4d33b4){return _0x5318c5(_0x1fd30e-_0x549a03._0x5c3e58,_0x4e3c1a,_0x3f0533-_0x549a03._0x1236a8,_0x3f0533-_0x549a03._0x59f288);}if(!_0xb0561b)throw new Error(_0x5a3f56(_0x15fadc._0x5db677,0x78,_0x15fadc._0x24d4ea,_0x15fadc._0x54fe76));let _0x3b0886=_0x330c4d(),{focusedId:_0x546dd0,setFocusedId:_0x2bc8ff,clearFocus:_0x31d45a,focusableIdsRef:_0x13373}=_0xb0561b,_0x8e1e41=_0x546dd0===_0x3b0886,_0x22c0cf=_0x58c5ef(()=>{_0x2bc8ff(_0x3b0886);},[_0x3b0886,_0x2bc8ff]),_0x49bcc3=_0x58c5ef(()=>{_0x31d45a();},[_0x31d45a]),_0x45847b=_0x58c5ef(()=>(_0x13373[_0x3805bc(0x15c,0x1ae,0x2b2,0x356)][_0x5a3f56(0x84,0xba,0x113,0x69)](_0x3b0886),()=>{const _0x2c1b54={_0x319471:0x198};function _0x26a40e(_0x2b62c2,_0x3d268b,_0x4fe01a,_0x405ab6){return _0x3805bc(_0x2b62c2-_0x2c1b54._0x319471,_0x2b62c2,_0x3d268b- -0x299,_0x405ab6-0x1b8);}_0x13373[_0x26a40e(0x1b4,0x19,-_0x194aec._0x4e925e,_0x194aec._0x3cf005)]['delete'](_0x3b0886);}),[_0x3b0886,_0x13373]);_0x490a4b(()=>{if(_0x28d87c)return _0x45847b();},[_0x45847b,_0x28d87c]);function _0x5a3f56(_0x1d0d38,_0x47bac4,_0x10cef2,_0x166d1f){return _0x5318c5(_0x1d0d38-_0x41c3d5._0x2a6ab9,_0x166d1f,_0x10cef2-_0x41c3d5._0x522f3f,_0x1d0d38- -_0x41c3d5._0x2dc095);}let _0x2f9b61=_0x8082c4(!0x1);return _0x490a4b(()=>{!_0x28d87c||!_0x4546c8||_0x2f9b61['current']||(_0x22c0cf(),_0x2f9b61['current']=!0x0);},[_0x28d87c,_0x4546c8,_0x22c0cf]),_0x208ee5(()=>({'id':_0x3b0886,'isFocused':_0x8e1e41,'focus':_0x22c0cf,'clearFocus':_0x49bcc3}),[_0x3b0886,_0x8e1e41,_0x22c0cf,_0x49bcc3]);}function za(){const _0x229f67={_0x57d00e:0x291},_0x1075b0={_0x4bfabc:0xe9},_0xbbd249={_0x559a96:0xb6};function _0xd626a5(_0xa5229,_0x25a310,_0x5c1593,_0x3cc6e0){return _0x7f0a6b(_0xa5229-0x6c,_0x5c1593-_0xbbd249._0x559a96,_0x3cc6e0,_0x3cc6e0-0x167);}let _0x4acef1=_0x476660(br);function _0x27e1fa(_0x2d2da5,_0x2fe078,_0x2208aa,_0xf4dcd4){return _0x5318c5(_0x2d2da5-_0x1075b0._0x4bfabc,_0x2d2da5,_0x2208aa-0x4b,_0x2208aa- -0x132);}if(!_0x4acef1)throw new Error(_0xd626a5(0xb0,0x210,0x242,_0x229f67._0x57d00e));let {cycleFocus:_0x10b817,focusableIdsRef:_0x1a2588,focusedId:_0x31212e}=_0x4acef1,_0x558ecc=_0x58c5ef(()=>Array[_0x27e1fa(-0x1fa,-0x103,0x17,-0xf0)](_0x1a2588[_0xd626a5(0x307,0x598,0x3bb,0x2dd)]),[_0x1a2588]);return _0x208ee5(()=>({'cycleFocus':_0x10b817,'focusedId':_0x31212e,'getFocusableIds':_0x558ecc}),[_0x10b817,_0x31212e,_0x558ecc]);}import{jsx as _0x479456}from'react/jsx-runtime';var Za='\x1b[>1u',Qa=_0x7f0a6b(0x37f,0x4aa,0x6c9,0x2ed),el=_0x5318c5(0x1a2,0xf0,-0x7f,0x25),Xn=_0x7f0a6b(0x11,0x1a5,-0x3e,0x29b);function tl(){const _0x25de80={_0x130842:0x6fc,_0x1a0de6:0x851,_0x494ab8:0x632,_0x5b7026:0x59e,_0x299042:0x4f8,_0x4f1b3b:0x5c2,_0x51a9c0:0x721,_0x48bcf6:0x606,_0x1bbd17:0x42f,_0x4e676d:0x662,_0x1120e5:0x593,_0x38e811:0x4a9,_0x2b172d:0x3b0,_0x1cd34b:0x4d9,_0x3414a5:0x483,_0x1571d3:0x841,_0x377646:0x34d,_0x541e59:0x43d,_0x519c22:0x53a},_0x1bdaf6={_0x5d200a:0x9d,_0x46c5e1:0x480},_0x5c4abb={_0x570190:0x45e};let _0x5863af=process['env'][_0x4ad0c6(_0x25de80._0x130842,_0x25de80._0x1a0de6,_0x25de80._0x494ab8,0x8a2)]||'',_0x10f76b=process[_0x4ad0c6(0x841,0x8c0,0x756,0x8db)]['TERM_PROGRAM']||'';function _0x4ad0c6(_0x178d49,_0x2a724d,_0x1b4f65,_0x3b1924){return _0x5318c5(_0x178d49-0x1d,_0x2a724d,_0x1b4f65-0x1b4,_0x178d49-_0x5c4abb._0x570190);}if(_0x5863af==='xterm-kitty'||process['env']['KITTY_WINDOW_ID']||[_0x4ad0c6(_0x25de80._0x5b7026,_0x25de80._0x299042,_0x25de80._0x4f1b3b,_0x25de80._0x51a9c0),'ghostty',_0x4bcdf1(_0x25de80._0x48bcf6,_0x25de80._0x1bbd17,_0x25de80._0x4e676d,0x7ee),_0x4ad0c6(_0x25de80._0x1120e5,_0x25de80._0x38e811,0x71b,0x440),'rio'][_0x4bcdf1(_0x25de80._0x2b172d,_0x25de80._0x1cd34b,_0x25de80._0x3414a5,0x2da)](_0x1ca3f0=>_0x10f76b[_0x4ad0c6(0x49d,0x672,0x507,0x56a)]()[_0x4ad0c6(0x435,0x374,0x2c7,0x329)](_0x1ca3f0[_0x4bcdf1(0x60d,0x6ad,0x4bf,0x4ab)]())))return!0x0;function _0x4bcdf1(_0x471f28,_0x3561c8,_0x4a139,_0x3d660a){return _0x5318c5(_0x471f28-0x7f,_0x3561c8,_0x4a139-_0x1bdaf6._0x5d200a,_0x4a139-_0x1bdaf6._0x46c5e1);}for(let _0x42e14f of Object[_0x4ad0c6(0x52f,0x33e,0x5ae,0x473)](process[_0x4ad0c6(_0x25de80._0x1571d3,0x675,0xa65,0x907)]))if(_0x42e14f['startsWith'](_0x4bcdf1(0x4c6,_0x25de80._0x377646,_0x25de80._0x541e59,_0x25de80._0x519c22)))return!0x0;return!0x1;}var ol=({children:_0x281a23,stdout:_0x2a0a5e,middleware:_0x36f1bf=[],enableKittyProtocol:_0x2f113f=_0x5318c5(0x2a6,0x28a,0x413,0x252)})=>{const _0x587f13={_0x569b6c:0x9fc},_0x2934bc={_0x48bf92:0x4ae},_0x1c10c4={_0x1a2408:0x101,_0x18e0c4:0x26},_0x2abfbd={_0x50665b:0x1d6},_0x4c0834={_0x14e325:0x189,_0x1498a3:0x3b6,_0x2c2930:0x617,_0x4aadb2:0x478,_0x19af54:0x528,_0x1a0cc8:0x417,_0x28c411:0x2d8,_0x51caca:0x434,_0x40f4a2:0x3e2},_0x617e77={_0x1f855b:0x414,_0x51790f:0xe8,_0x482f4b:0x1d9},_0x1f23f7={_0x32a579:0x583,_0x3b06fc:0x457,_0x5212a1:0x412,_0x47d552:0x565,_0x5d670f:0x47d,_0x141e9f:0x696,_0x5e5b00:0x4e5,_0x203a99:0x461,_0x5c4e51:0x567,_0x493d5d:0x42d,_0x5598cb:0x414,_0x4284fd:0x365,_0x1ac460:0x56d},_0x24d3c={_0x21c657:0x12d},_0x4d24e2={_0x29b7d3:0x803,_0x2351ab:0x782,_0x331421:0x844,_0x135e75:0x787,_0x13df1a:0x6a8},_0x32c7c2={_0x1f21e0:0x354},_0x18e2e3={_0x1ff055:0x840,_0x5b02d4:0x440,_0x22b0b6:0x74d,_0x1da30e:0x6fe,_0xb767d9:0x856,_0xc87328:0x908,_0x559f74:0x3a7,_0x1b16a8:0x3e6,_0x4c7679:0x394},_0x2fbca8={_0x5153b3:0x3fc,_0x266a31:0x226,_0x538a17:0x35c,_0x3fdbf0:0x324,_0x1b991b:0x54,_0x2a1df4:0x13f,_0x7b163f:0x25,_0x18d555:0x156,_0x4507cc:0x111,_0xe2d63c:0xa4},_0x2d28aa={_0x15b432:0x2f3,_0x5c3d02:0xa5},_0xc927ea={_0x42dae8:0x7b6,_0x54f112:0x10e,_0x18e287:0x17a},_0x1e8eba={_0x5a89fe:0x156,_0x3bf9c3:0x16f},_0xac71e9={_0x112cca:0x4d6,_0x3ade1b:0x304,_0x3a5c1e:0x530,_0x1de5c0:0x6f7,_0x1c08b4:0x671,_0x17948c:0x6b9,_0x3c4f99:0x1e0,_0x1971bc:0x205,_0x2f9382:0x722,_0x416737:0x2eb},_0x2a47e7={_0x4ccdb8:0x128,_0x3e9e4b:0x51},_0x4cc09f={_0x548473:0x1f,_0x5d6a3e:0x102},_0xd7a74d={_0x42b248:0x20,_0x36d1d5:0x154,_0x569c6e:0xe9},_0x261dbf={_0x42009d:0x649,_0x22010a:0x97},_0x61d9c6={_0x12186c:0x1f6,_0x3967cf:0x113,_0x1cb0b9:0x19,_0x1c0e14:0x33,_0x13fadc:0x1d0,_0x5d243a:0x6a,_0x35abca:0x1d8},_0x2cabd3={_0x58a0fb:0x1b},_0x28fa4f={_0x4c23a7:0x564,_0x10986c:0xed,_0x4314fb:0x216,_0x563b90:0xd0,_0x56791a:0x150,_0x17f8ab:0x4},_0x2ddc7c={_0x59853b:0x6a4},_0x1e2b50={_0x737a2f:0x1d9},_0x49246={_0x41ec18:0x355,_0x46f4e7:0x50c,_0x4ac5ae:0x51b,_0x15c2f8:0x647,_0x1362b5:0x41e},_0x186070={_0xb2c7c9:0xcd},_0x3edaf7={_0x582205:0x85,_0x29f787:0x185,_0x6d1778:0xa0},_0x3ad83f={_0x36d3ec:0x20b,_0x8ae740:0x494},_0x52637d={_0x3bba21:0x6},_0x1767e7={_0x3d99a3:0x3d,_0x215e1a:0x1e1};let {stdin:_0x419e79,setRawMode:_0x43f95c,isRawModeSupported:_0x237b0c,internal_eventEmitter:_0x54a8f1}=_0x126ae2(),{stdout:_0x48d383}=_0x10fba9(),_0x55b784=_0x2a0a5e||_0x48d383,_0x1aa89f=_0x4278ad(new Map()),_0xeaa6d6=_0x4278ad(new Map()),_0x57a8fa=_0x4278ad(_0x36f1bf),_0x523195=_0x4278ad(0x0),_0x3cf39e=_0x4278ad(0x0),_0x34f06c=_0x4278ad(!0x1),_0xb30e90=_0x4278ad(!0x1),_0xfb52f4=_0x4278ad(0x0),[_0x18ab1a,_0x997cae]=_0x2ed3cf(!0x1);function _0x177f6e(_0x33c3b2,_0x48af58,_0x99b9e9,_0x34b3ef){return _0x5318c5(_0x33c3b2-_0x1767e7._0x3d99a3,_0x99b9e9,_0x99b9e9-0xe7,_0x33c3b2-_0x1767e7._0x215e1a);}_0x54ab70(()=>{function _0x4a8783(_0x226554,_0x319cc4,_0x1137a5,_0x2bf636){return _0xa481(_0x319cc4-_0x52637d._0x3bba21,_0x1137a5);}_0x57a8fa[_0x4a8783(0x52a,0x3bf,_0x3ad83f._0x36d3ec,_0x3ad83f._0x8ae740)]=_0x36f1bf;},[_0x36f1bf]),_0x54ab70(()=>(_0x237b0c&&!_0x34f06c[_0x317c5f(0x79d,0x7f6,0x8d2,0x621)]&&(_0x43f95c(!0x0),_0x34f06c[_0x177f6e(0x40e,0x2e5,0x551,0x237)]=!0x0),()=>{function _0x561253(_0x33a68f,_0x53f37b,_0x1e8237,_0x3a214d){return _0x177f6e(_0x53f37b- -_0x3edaf7._0x582205,_0x53f37b-_0x3edaf7._0x29f787,_0x1e8237,_0x3a214d-_0x3edaf7._0x6d1778);}function _0x2e7a9b(_0xa06fc5,_0x5878ec,_0x2c12b,_0x423957){return _0x317c5f(_0x5878ec- -0x291,_0x5878ec-0xf2,_0x2c12b,_0x423957-_0x186070._0xb2c7c9);}_0x34f06c[_0x2e7a9b(_0x49246._0x41ec18,_0x49246._0x46f4e7,0x434,_0x49246._0x4ac5ae)]&&(_0x43f95c(!0x1),_0x34f06c[_0x2e7a9b(0x2ec,0x50c,_0x49246._0x15c2f8,_0x49246._0x1362b5)]=!0x1);}),[_0x237b0c,_0x43f95c]),_0x54ab70(()=>((_0x2f113f===!0x0||_0x2f113f===_0x317c5f(0x7c2,0x6e5,0x909,0x96f)&&tl())&&_0x55b784&&!_0xb30e90['current']&&(_0x55b784[_0x177f6e(0x1d1,0x29e,0x391,0x18)](Za),_0xb30e90[_0x317c5f(0x79d,0x9ca,0x890,0x9aa)]=!0x0,mo(!0x0)),()=>{function _0x275891(_0x3c215e,_0x134a57,_0x35e03b,_0x5efde6){return _0x317c5f(_0x35e03b- -0x269,_0x134a57-_0x1e2b50._0x737a2f,_0x3c215e,_0x5efde6-0xec);}_0xb30e90[_0x275891(0x58e,_0x2ddc7c._0x59853b,0x534,0x407)]&&_0x55b784&&(_0x55b784['write'](Qa),_0xb30e90['current']=!0x1,mo(!0x1));}),[_0x2f113f,_0x55b784]);let _0xb5676f=_0x29730a(()=>{const _0x1373a2={_0x27f5a8:0x1e3};function _0x18050e(_0x2ac68c,_0x465dae,_0x118800,_0x34850c){return _0x177f6e(_0x465dae- -0x321,_0x465dae-0x14c,_0x2ac68c,_0x34850c-_0x1373a2._0x27f5a8);}function _0x37db24(_0x5ba25d,_0x5deba8,_0x5c8f08,_0x2d0439){return _0x177f6e(_0x5ba25d-0x11a,_0x5deba8-0xc1,_0x5c8f08,_0x2d0439-0x41);}_0xfb52f4[_0x37db24(0x528,0x740,0x310,_0x28fa4f._0x4c23a7)]++,_0xfb52f4[_0x18050e(-0x2,_0x28fa4f._0x10986c,_0x28fa4f._0x4314fb,0x2f0)]===0x1&&_0x55b784&&(_0x55b784[_0x18050e(-_0x28fa4f._0x563b90,-_0x28fa4f._0x56791a,0x6b,_0x28fa4f._0x17f8ab)](el),_0x997cae(!0x0));},[_0x55b784]),_0x253009=_0x29730a(()=>{const _0x5a076c={_0x4a96e9:0x141};function _0x37d2b7(_0x52234d,_0x51266f,_0x4e5638,_0x30749f){return _0x317c5f(_0x51266f- -0x70a,_0x51266f-0x82,_0x30749f,_0x30749f-_0x5a076c._0x4a96e9);}function _0x1420f2(_0x4425b7,_0x48da1,_0x4feb3a,_0x4b58c6){return _0x177f6e(_0x4425b7- -0x424,_0x48da1-_0x2cabd3._0x58a0fb,_0x48da1,_0x4b58c6-0x162);}_0xfb52f4['current']=Math[_0x37d2b7(-_0x61d9c6._0x12186c,0x1e,-0xab,0x153)](0x0,_0xfb52f4[_0x1420f2(-0x16,_0x61d9c6._0x3967cf,_0x61d9c6._0x1cb0b9,-0x58)]-0x1),_0xfb52f4[_0x1420f2(-0x16,-_0x61d9c6._0x1c0e14,_0x61d9c6._0x13fadc,0x95)]===0x0&&_0x55b784&&(_0x55b784[_0x37d2b7(_0x61d9c6._0x5d243a,-0x1aa,0x3a,-_0x61d9c6._0x35abca)](Xn),_0x997cae(!0x1));},[_0x55b784]);_0x54ab70(()=>()=>{const _0x1cb70b={_0x341e48:0x747,_0x442c14:0x107,_0x2a4d48:0x18};function _0x2f60cb(_0xad349f,_0x2cb1a8,_0x388efb,_0x3ab732){return _0x317c5f(_0x3ab732- -_0x1cb70b._0x341e48,_0x2cb1a8-_0x1cb70b._0x442c14,_0xad349f,_0x3ab732-_0x1cb70b._0x2a4d48);}function _0x250dfa(_0x154c08,_0x5dab09,_0x3b1424,_0x5e60bc){return _0x317c5f(_0x5e60bc- -_0x261dbf._0x42009d,_0x5dab09-0x154,_0x3b1424,_0x5e60bc-_0x261dbf._0x22010a);}_0x55b784&&_0xfb52f4[_0x250dfa(-_0xd7a74d._0x42b248,0x1f1,0x11c,_0xd7a74d._0x36d1d5)]>0x0&&_0x55b784[_0x250dfa(0x3a,-0x28c,0x4f,-_0xd7a74d._0x569c6e)](Xn);},[_0x55b784]);let _0x1e4836=_0x29730a((_0x5bce04,_0x322458={})=>{const _0x13cefb={_0x4cf414:0x40f},_0x1e319a={_0x450b0e:0x58c};function _0x1d6469(_0x497819,_0x1de5e9,_0x119fab,_0x1c8e62){return _0x317c5f(_0x119fab- -0x26d,_0x1de5e9-_0x4cc09f._0x548473,_0x497819,_0x1c8e62-_0x4cc09f._0x5d6a3e);}function _0x2b1bbf(_0x3434fe,_0x31b48b,_0x55c642,_0x19b92f){return _0x317c5f(_0x19b92f- -_0x1e319a._0x450b0e,_0x31b48b-0x1e8,_0x3434fe,_0x19b92f-0x19c);}let _0x20bfc2='input_sub_'+ ++_0x523195[_0x1d6469(_0xac71e9._0x112cca,_0xac71e9._0x3ade1b,_0xac71e9._0x3a5c1e,0x3e9)],_0x412865=_0x322458[_0x1d6469(_0xac71e9._0x1de5c0,_0xac71e9._0x1c08b4,_0xac71e9._0x17948c,0x54f)]??++_0x3cf39e['current'],_0x310188={'id':_0x20bfc2,'handler':_0x5bce04,'priority':_0x412865,'isActive':_0x322458[_0x2b1bbf(_0xac71e9._0x3c4f99,0x108,0x27,_0xac71e9._0x1971bc)]??!0x0};return _0x1aa89f[_0x1d6469(_0xac71e9._0x2f9382,0x577,0x530,0x6e5)][_0x1d6469(0xec,0x27f,_0xac71e9._0x416737,0x119)](_0x20bfc2,_0x310188),()=>{function _0x2bf0af(_0x5dee44,_0x568c9d,_0x1f4f20,_0x3c4ba9){return _0x1d6469(_0x3c4ba9,_0x568c9d-0x3f,_0x1f4f20- -_0x13cefb._0x4cf414,_0x3c4ba9-0x190);}_0x1aa89f['current'][_0x2bf0af(-_0x2a47e7._0x4ccdb8,0x45,_0x2a47e7._0x3e9e4b,-0xe9)](_0x20bfc2);};},[]),_0x2a930b=_0x29730a((_0x1832c7,_0x9192e4={})=>{const _0x489c8b={_0x56c8fd:0x2e4};let _0x308b61=_0x65bfd(_0x2fbca8._0x5153b3,0x273,_0x2fbca8._0x266a31,0x171)+ ++_0x523195[_0x65bfd(0x1be,0x3a9,0x1b8,-0x36)],_0x480ecf=_0x9192e4[_0x65bfd(_0x2fbca8._0x538a17,0x51e,0x341,_0x2fbca8._0x3fdbf0)]??++_0x3cf39e[_0x65bfd(0xed,-_0x2fbca8._0x1b991b,0x1b8,0x388)],_0x1b12fa={'id':_0x308b61,'handler':_0x1832c7,'priority':_0x480ecf,'isActive':_0x9192e4[_0x51672e(_0x2fbca8._0x2a1df4,-_0x2fbca8._0x7b163f,-0x256,-0x1e1)]??!0x0};function _0x65bfd(_0x4cd4e7,_0x231c7f,_0x45a218,_0x122517){return _0x177f6e(_0x45a218- -0x256,_0x231c7f-_0x1e8eba._0x5a89fe,_0x4cd4e7,_0x122517-_0x1e8eba._0x3bf9c3);}function _0x51672e(_0xcbee4d,_0x524b29,_0xb4c2b1,_0x198add){return _0x317c5f(_0x524b29- -_0xc927ea._0x42dae8,_0x524b29-_0xc927ea._0x54f112,_0xb4c2b1,_0x198add-_0xc927ea._0x18e287);}return _0xeaa6d6[_0x51672e(-0x8d,-0x19,0x1c0,-_0x2fbca8._0x18d555)][_0x51672e(-_0x2fbca8._0x4507cc,-0x25e,-0x379,-_0x2fbca8._0xe2d63c)](_0x308b61,_0x1b12fa),()=>{function _0x4da5e3(_0x56c6be,_0x506a99,_0x1834ee,_0x29e7ab){return _0x51672e(_0x56c6be-0x174,_0x29e7ab-_0x489c8b._0x56c8fd,_0x506a99,_0x29e7ab-0x1ab);}_0xeaa6d6[_0x4da5e3(_0x2d28aa._0x15b432,0x1b5,_0x2d28aa._0x5c3d02,0x2cb)]['delete'](_0x308b61);};},[]),_0x58abb2=_0x29730a((_0xe4d1d1,_0x54e536)=>{const _0x5d62fe={_0x3e339a:0x10f},_0xad2581={_0x29c908:0x135,_0x3e8008:0x133};function _0x28385d(_0x4ed0bb,_0x3f1653,_0x46d43a,_0x37b5b5){return _0x317c5f(_0x3f1653- -0x44,_0x3f1653-_0xad2581._0x29c908,_0x37b5b5,_0x37b5b5-_0xad2581._0x3e8008);}let _0x173311=_0x1aa89f[_0x28385d(0x556,0x759,_0x18e2e3._0x1ff055,0x911)][_0x14383d(0x1ba,-0x28,0x29b,0xb1)](_0xe4d1d1)||_0xeaa6d6[_0x14383d(0x21e,_0x18e2e3._0x5b02d4,0x97,0x30c)][_0x14383d(0x1ba,0x257,0x4e,0x2f1)](_0xe4d1d1);function _0x14383d(_0x2d5a5a,_0x5146b8,_0x44bfbc,_0x4a9984){return _0x177f6e(_0x2d5a5a- -0x1f0,_0x5146b8-0x199,_0x44bfbc,_0x4a9984-_0x5d62fe._0x3e339a);}_0x173311&&(_0x54e536[_0x28385d(0x87b,_0x18e2e3._0x22b0b6,0x963,_0x18e2e3._0x1da30e)]!==void 0x0&&(_0x173311[_0x28385d(0x8c8,0x74d,0x88e,_0x18e2e3._0xb767d9)]=_0x54e536['isActive']),_0x54e536[_0x28385d(0x9a3,0x8e2,_0x18e2e3._0xc87328,0x82d)]!==void 0x0&&(_0x173311['priority']=_0x54e536[_0x14383d(_0x18e2e3._0x559f74,_0x18e2e3._0x1b16a8,_0x18e2e3._0x4c7679,0x3fe)]));},[]),_0x19e1d0=_0x29730a(_0x3be75e=>(_0x57a8fa['current'][_0x177f6e(0x445,0x679,0x3fe,0x4aa)](_0x3be75e),()=>{const _0x4119f6={_0x414414:0x2ae};function _0x16a034(_0x92d079,_0x362bb9,_0x5988bc,_0x1fd8a0){return _0x177f6e(_0x1fd8a0-_0x32c7c2._0x1f21e0,_0x362bb9-0x1eb,_0x92d079,_0x1fd8a0-0x15e);}let _0x58b4e8=_0x57a8fa[_0x3cb3f7(_0x4d24e2._0x29b7d3,0x6bc,_0x4d24e2._0x2351ab,0x727)][_0x16a034(0x741,0x929,0x936,0x843)](_0x3be75e);function _0x3cb3f7(_0x100a18,_0x22f650,_0xe0ba3d,_0x5e5544){return _0x177f6e(_0x22f650-_0x4119f6._0x414414,_0x22f650-0x108,_0x5e5544,_0x5e5544-0x2b);}_0x58b4e8!==-0x1&&_0x57a8fa[_0x16a034(_0x4d24e2._0x331421,0x581,0x84e,0x762)][_0x3cb3f7(_0x4d24e2._0x135e75,0x83a,0x94a,_0x4d24e2._0x13df1a)](_0x58b4e8,0x1);}),[]),_0x44aa7f=_0x29730a((_0x52a577,_0x5ec157)=>{const _0x1f2b24={_0x58dc5e:0x320,_0xf9f2b2:0x10b};function _0x4de3c2(_0x4b5f58,_0x33799f,_0x2e47f2,_0x487a15){return _0x317c5f(_0x2e47f2- -_0x1f2b24._0x58dc5e,_0x33799f-_0x1f2b24._0xf9f2b2,_0x33799f,_0x487a15-0x15);}function _0x237639(_0x5a0e52,_0x3869d3,_0x4bf940,_0x5561e9){return _0x177f6e(_0x4bf940-_0x24d3c._0x21c657,_0x3869d3-0x119,_0x5a0e52,_0x5561e9-0xd8);}let _0x41c3f2=Array[_0x237639(_0x1f23f7._0x32a579,0x434,_0x1f23f7._0x3b06fc,_0x1f23f7._0x5212a1)](_0x1aa89f[_0x4de3c2(0x51e,_0x1f23f7._0x47d552,_0x1f23f7._0x5d670f,_0x1f23f7._0x141e9f)][_0x237639(_0x1f23f7._0x5e5b00,0x4a1,0x5c9,_0x1f23f7._0x203a99)]())[_0x237639(0x563,_0x1f23f7._0x5c4e51,_0x1f23f7._0x493d5d,_0x1f23f7._0x5598cb)](_0x6e9099=>_0x6e9099['isActive'])['sort']((_0x3929cc,_0xb7e3cf)=>_0xb7e3cf['priority']-_0x3929cc[_0x4de3c2(0x3dd,0x74d,0x606,0x668)]);for(let _0x42a4c6 of _0x41c3f2)if(_0x42a4c6[_0x4de3c2(_0x1f23f7._0x4284fd,0x4ee,_0x1f23f7._0x1ac460,0x41c)](_0x52a577,_0x5ec157)===!0x0)break;},[]),_0x14f4a5=_0x29730a(_0x540154=>{const _0x43b89b={_0x3bcc3e:0x3b7,_0x3397f3:0x1e7,_0x247198:0x55};function _0x4f00ec(_0x27115d,_0x22cfbf,_0xc1f08c,_0x34defb){return _0x317c5f(_0x34defb- -_0x617e77._0x1f855b,_0x22cfbf-_0x617e77._0x51790f,_0xc1f08c,_0x34defb-_0x617e77._0x482f4b);}let _0x71f5dc=Array[_0x4f00ec(0xab,_0x4c0834._0x14e325,0x497,0x2a5)](_0xeaa6d6[_0x4f00ec(_0x4c0834._0x1498a3,0x1bb,0x39d,0x389)][_0x4f00ec(_0x4c0834._0x2c2930,_0x4c0834._0x4aadb2,_0x4c0834._0x19af54,_0x4c0834._0x1a0cc8)]())[_0x2a0bd3(_0x4c0834._0x28c411,0x2f4,0x181,_0x4c0834._0x51caca)](_0xe108bb=>_0xe108bb['isActive'])[_0x4f00ec(0x338,0x1df,0x230,0x22b)]((_0x58f0d9,_0x875cd4)=>_0x875cd4[_0x2a0bd3(0x56f,0x652,0x4c2,0x4b6)]-_0x58f0d9[_0x4f00ec(0x744,0x32f,0x4c3,0x512)]);function _0x2a0bd3(_0x480e42,_0x2dce9c,_0x2162a0,_0x4e40ad){return _0x317c5f(_0x480e42- -_0x43b89b._0x3bcc3e,_0x2dce9c-_0x43b89b._0x3397f3,_0x2dce9c,_0x4e40ad-_0x43b89b._0x247198);}for(let _0x534cbb of _0x71f5dc)if(_0x534cbb[_0x4f00ec(_0x4c0834._0x40f4a2,0x632,0x3c8,0x479)](_0x540154)===!0x0)break;},[]);function _0x317c5f(_0x462655,_0x48c717,_0x2ebe76,_0xfd9c2e){return _0x5318c5(_0x462655-0xfd,_0x2ebe76,_0x2ebe76-_0x2abfbd._0x50665b,_0x462655-0x570);}_0x54ab70(()=>{const _0x5bf2b2={_0x1c50d9:0x5b9,_0x4981e7:0x541,_0x14fe0a:0x50b,_0x2f3730:0x61,_0x510184:0x33,_0x75dbe7:0x376},_0x5b13eb={_0x50fda9:0x53},_0x308dfc={_0xfaa4fb:0x392},_0x17a821={_0x311750:0x58e,_0x46dc4f:0x3d9},_0x1f3850={_0x490b12:0x690};function _0x595397(_0x2ddbd3,_0x5ec469,_0x1b9530,_0x13dfb0){return _0x317c5f(_0x1b9530- -0x52f,_0x5ec469-_0x1c10c4._0x1a2408,_0x13dfb0,_0x13dfb0-_0x1c10c4._0x18e0c4);}if(!_0x54a8f1)return;let _0x1fa58f=_0x447b91=>{const _0x54b36f={_0x2549fb:0x142,_0x327f52:0x155};let {mouse:_0x362b75,consumed:_0x30f2d0}=Gn(_0x447b91);if(_0x30f2d0&&_0x362b75){_0x14f4a5(_0x362b75);return;}let {input:_0x44cced,key:_0x43c477}=zn(_0x447b91),_0xf937ac=_0x57a8fa[_0x49784f(_0x17a821._0x311750,0x2ed,_0x17a821._0x46dc4f,0x356)],_0x3e5cc1=0x0,_0x32b79c=()=>{function _0x3c6a5f(_0x43eb80,_0x4ab5c5,_0x51bf6b,_0x3b0a8d){return _0x49784f(_0x43eb80,_0x4ab5c5-_0x54b36f._0x2549fb,_0x4ab5c5-0x382,_0x3b0a8d-_0x54b36f._0x327f52);}if(_0x3e5cc1<_0xf937ac[_0x3c6a5f(0x657,_0x1f3850._0x490b12,0x838,0x719)]){let _0x12adb4=_0xf937ac[_0x3e5cc1];_0x3e5cc1++,_0x12adb4?.(_0x44cced,_0x43c477,_0x32b79c);}else _0x44aa7f(_0x44cced,_0x43c477);};function _0x49784f(_0x485cc8,_0x5d49b9,_0xbff36,_0x4cb5a6){return _0xa481(_0xbff36-0x20,_0x485cc8);}_0x32b79c();};return _0x54a8f1['on'](_0x595397(0x8e,_0x2934bc._0x48bf92,0x291,0x44d),_0x1fa58f),()=>{function _0x4da902(_0x2bb439,_0x7ca32,_0x3fe0d8,_0xad91ae){return _0x595397(_0x2bb439-0x63,_0x7ca32-0x169,_0x2bb439-_0x308dfc._0xfaa4fb,_0x7ca32);}function _0x544a58(_0x54d43b,_0x584778,_0x27192e,_0xc506e0){return _0x595397(_0x54d43b-0x44,_0x584778-_0x5b13eb._0x50fda9,_0x27192e- -0xa1,_0x54d43b);}_0x54a8f1[_0x4da902(_0x5bf2b2._0x1c50d9,_0x5bf2b2._0x4981e7,0x3a2,_0x5bf2b2._0x14fe0a)](_0x544a58(_0x5bf2b2._0x2f3730,_0x5bf2b2._0x510184,0x1f0,_0x5bf2b2._0x75dbe7),_0x1fa58f);};},[_0x54a8f1,_0x44aa7f,_0x14f4a5]);let _0x3e2f5c=_0x319998(()=>({'subscribe':_0x1e4836,'subscribeMouse':_0x2a930b,'updateSubscriber':_0x58abb2,'addMiddleware':_0x19e1d0,'setRawMode':_0x43f95c,'isRawModeSupported':_0x237b0c,'enableMouseMode':_0xb5676f,'disableMouseMode':_0x253009,'isMouseModeEnabled':_0x18ab1a}),[_0x1e4836,_0x2a930b,_0x58abb2,_0x19e1d0,_0x43f95c,_0x237b0c,_0xb5676f,_0x253009,_0x18ab1a]);return _0x479456(Ye[_0x317c5f(0x8dd,0xaf4,_0x587f13._0x569b6c,0x875)],{'value':_0x3e2f5c,'children':_0x479456(po,{'children':_0x281a23})});},Zn=(_0x229144,_0x4683ab,_0x565338)=>{const _0x27eb6a={_0x32570b:0x2a7,_0xf72d6a:0x2e5,_0x224477:0x14b,_0x9133ff:0x40d,_0x5c7791:0x642},_0x3deae0={_0x5cc81f:0x15a},_0x3dc146={_0x4052f1:0x156};if(_0x4683ab[_0x1a0af6(0x20d,0x3ed,0x600,_0x27eb6a._0x32570b)]&&_0x229144==='c'){B[_0x665952(0x271,_0x27eb6a._0xf72d6a,0x4a4,_0x27eb6a._0x224477)](_0x665952(0x792,0x645,_0x27eb6a._0x9133ff,_0x27eb6a._0x5c7791),void 0x0);return;}function _0x665952(_0x37fdd1,_0x57eeac,_0x39ea2a,_0x139d0a){return _0x5318c5(_0x37fdd1-_0x3dc146._0x4052f1,_0x139d0a,_0x39ea2a-0x16e,_0x57eeac-0x238);}function _0x1a0af6(_0x5826e0,_0x3e00b4,_0x27028e,_0x961de4){return _0x5318c5(_0x5826e0-0xb6,_0x961de4,_0x27028e-0x10e,_0x3e00b4-_0x3deae0._0x5cc81f);}_0x565338();},Qn=(_0x2e5cf1,_0x373e5c,_0x4da7f4)=>{const _0x41fef1={_0x32d76f:0x59f,_0x1774d6:0x41f,_0x512c22:0x4ce,_0xe596c:0x5f9,_0xc6bd35:0x37b,_0x585764:0x4f3,_0x2a6593:0x7ea,_0x280afa:0x7f8,_0x2b0759:0x76f,_0x442ca9:0x637,_0x5f590d:0x4f6,_0x39d9fc:0x6e9,_0x17da87:0x911,_0x4e503f:0x6d1,_0x50bfa4:0x5bf,_0x197956:0x779,_0x4e914a:0x4b9,_0x5862e1:0x5ab,_0x4926f4:0x31f,_0x468f77:0x58f},_0x2a649c={_0xc395b3:0x254};function _0x122d52(_0x49d5b0,_0x39fa0a,_0x2f2c09,_0x384f4a){return _0x7f0a6b(_0x49d5b0-0xc0,_0x49d5b0-0x3ae,_0x39fa0a,_0x384f4a-0x13f);}function _0x2689e7(_0x228841,_0x5d7633,_0x1e9f8e,_0x14a841){return _0x7f0a6b(_0x228841-0x1c2,_0x1e9f8e-_0x2a649c._0xc395b3,_0x5d7633,_0x14a841-0xb);}_0x2e5cf1['startsWith'](_0x122d52(_0x41fef1._0x32d76f,_0x41fef1._0x1774d6,_0x41fef1._0x512c22,_0x41fef1._0xe596c))||_0x2e5cf1[_0x2689e7(0x3cf,0x59c,_0x41fef1._0xc6bd35,_0x41fef1._0x585764)](_0x122d52(_0x41fef1._0x2a6593,_0x41fef1._0x280afa,_0x41fef1._0x2b0759,0x755))?B[_0x122d52(0x533,_0x41fef1._0x442ca9,0x52e,_0x41fef1._0x5f590d)](_0x122d52(_0x41fef1._0x39d9fc,_0x41fef1._0x17da87,_0x41fef1._0x4e503f,0x641),void 0x0):_0x373e5c[_0x2689e7(0x67d,0x3ab,_0x41fef1._0x50bfa4,_0x41fef1._0x197956)]&&_0x2e5cf1==='v'&&B[_0x122d52(0x533,_0x41fef1._0x4e914a,_0x41fef1._0x5862e1,_0x41fef1._0x4926f4)](_0x2689e7(0x577,0x785,_0x41fef1._0x468f77,0x441),void 0x0),_0x4da7f4();},rl=(_0xfcd78a,_0x4fe5d4,_0xb40b5f)=>{const _0xdcbc62={_0x29592b:0x478,_0x2a0974:0x1b0,_0x31aee0:0x31a,_0xd4bd60:0x295,_0x336e09:0xa5,_0x302487:0xaa,_0x40e419:0x321,_0x3195e3:0x176,_0x173ed4:0x1b3,_0xc20b6b:0x26a,_0x35ce44:0x297,_0x56a693:0x8a,_0x8729d6:0x45,_0x470584:0x57,_0x2a6004:0x3a0,_0xcb978b:0x1eb,_0x41047b:0xaa,_0x133baa:0x1c3,_0x138d7a:0x1ab,_0x590193:0xeb,_0x46c37f:0xd1,_0x458900:0x84,_0x3bd810:0xc7,_0x169934:0x26f,_0x587233:0x68,_0xc0aa33:0x106},_0x11a6f6={_0x140684:0x57},_0x3bf07c={_0x306b20:0x1a8};function _0x3ab17c(_0x58e41a,_0x3e1c98,_0x22c17e,_0x341af9){return _0x7f0a6b(_0x58e41a-0x5e,_0x341af9- -0x22f,_0x3e1c98,_0x341af9-_0x3bf07c._0x306b20);}if(_0x4fe5d4[_0x120fa4(_0xdcbc62._0x29592b,_0xdcbc62._0x2a0974,_0xdcbc62._0x31aee0,_0xdcbc62._0xd4bd60)]&&!_0x4fe5d4['shift']){B[_0x3ab17c(-_0xdcbc62._0x336e09,0x12,0x120,-_0xdcbc62._0x302487)](_0x3ab17c(-0x2a1,-_0xdcbc62._0x40e419,-0x328,-_0xdcbc62._0x3195e3),'forward');return;}function _0x120fa4(_0x1f91b6,_0x49530d,_0x53b5d7,_0x4d8ee5){return _0x7f0a6b(_0x1f91b6-0x8,_0x53b5d7- -0x180,_0x1f91b6,_0x4d8ee5-_0x11a6f6._0x140684);}if(_0x4fe5d4[_0x120fa4(0x383,_0xdcbc62._0x173ed4,_0xdcbc62._0xc20b6b,_0xdcbc62._0x35ce44)]&&_0x4fe5d4['tab']){B['emit'](_0x3ab17c(-0x88,-_0xdcbc62._0x56a693,_0xdcbc62._0x8729d6,-0x176),_0x120fa4(-0x1fe,0x67,-_0xdcbc62._0x470584,-0x145));return;}if(_0x4fe5d4[_0x120fa4(_0xdcbc62._0x2a6004,0x45,_0xdcbc62._0xcb978b,0x31c)]&&_0xfcd78a==='n'){B[_0x3ab17c(-0xd4,0x50,0x8c,-_0xdcbc62._0x41047b)](_0x3ab17c(0x2c,-0x5d,-_0xdcbc62._0x133baa,-0x176),_0x3ab17c(0x2cc,0x183,0x23a,_0xdcbc62._0x138d7a));return;}if(_0x4fe5d4[_0x120fa4(0x149,-0x7,_0xdcbc62._0xcb978b,-0x37)]&&_0xfcd78a==='p'){B[_0x3ab17c(-0x132,-_0xdcbc62._0x590193,0xbf,-0xaa)](_0x120fa4(_0xdcbc62._0x46c37f,_0xdcbc62._0x458900,-_0xdcbc62._0x3bd810,-0x14a),_0x3ab17c(-_0xdcbc62._0x169934,-0x34,-_0xdcbc62._0x587233,-_0xdcbc62._0xc0aa33));return;}_0xb40b5f();},nl=[Zn,Qn,rl];import{useEffect as _0x5b346e,useRef as _0x40b13a,useContext as _0x512f63}from'react';var W=(_0x36f6d3,_0x1dce1f={})=>{const _0x1d0c9e={_0x1b18d1:0x1d,_0x1f901d:0x190};let {subscribe:_0x37402a}=_0x512f63(Ye),_0x346ea5=_0x40b13a(_0x36f6d3),{isActive:_0x54bf12=!0x0,priority:_0xc0ca01}=_0x1dce1f;function _0x5983ea(_0x30dc65,_0x35c8a,_0xbe2902,_0x5c7e5a){return _0x5318c5(_0x30dc65-0xe0,_0xbe2902,_0xbe2902-_0x1d0c9e._0x1b18d1,_0x35c8a- -_0x1d0c9e._0x1f901d);}_0x5b346e(()=>{_0x346ea5['current']=_0x36f6d3;}),_0x5b346e(()=>_0x54bf12?_0x37402a((_0x4b5348,_0x4755f0)=>_0x346ea5[_0x5983ea(0x1b8,0x9d,0xfb,0xa6)](_0x4b5348,_0x4755f0),{'isActive':_0x54bf12,'priority':_0xc0ca01}):void 0x0,[_0x37402a,_0x54bf12,_0xc0ca01]);};import{useEffect as _0x4ae44f,useRef as _0x11afc4,useContext as _0x5f4882}from'react';var Cr=(_0x8162ae,_0x4f56d8={})=>{const _0x5c5b55={_0x23c460:0x6ce,_0x6f056e:0x60a};let {subscribeMouse:_0x3908ae,enableMouseMode:_0x4791eb,disableMouseMode:_0x5555b5}=_0x5f4882(Ye),_0x5545c7=_0x11afc4(_0x8162ae),{isActive:_0x1f2e8e=!0x0,priority:_0x389117}=_0x4f56d8;_0x4ae44f(()=>{const _0x2ff567={_0x172a5c:0x251};function _0x374274(_0x2c51a8,_0x75a12a,_0x507496,_0x2bf770){return _0xa481(_0x2bf770-_0x2ff567._0x172a5c,_0x75a12a);}_0x5545c7[_0x374274(_0x5c5b55._0x23c460,0x78e,0x424,_0x5c5b55._0x6f056e)]=_0x8162ae;}),_0x4ae44f(()=>{const _0xd73686={_0x22f7bf:0xb7};if(!_0x1f2e8e)return;_0x4791eb();let _0x3f6768=_0x3908ae(_0x43c676=>_0x5545c7[_0x8b2a45(0x150,0x49a,0x302,0x228)](_0x43c676),{'isActive':_0x1f2e8e,'priority':_0x389117});function _0x8b2a45(_0x8b4430,_0x27d7da,_0x1ae89b,_0x1beb20){return _0xa481(_0x1ae89b- -_0xd73686._0x22f7bf,_0x8b4430);}return()=>{_0x3f6768(),_0x5555b5();};},[_0x3908ae,_0x4791eb,_0x5555b5,_0x1f2e8e,_0x389117]);};import*as _0x12fa33 from'fs';import*as _0xe695f8 from'path';import*as _0x15cb19 from'os';import*as _0x50ce7b from'crypto';import{AgentOrchestrator as _0x485b15,SimpleContextBuilder as _0x324909,RuntimeEnv as _0xe7d212,renderTemplate as _0x4a9010,buildInjectedSystem as _0x19831a,InMemoryMemory as _0xa000de,PersistedMemory as _0x25177b,JsonFileMemoryPersistence as _0x16b6af,SimpleId as _0x20951d,SystemClock as _0x2b1a67,SimpleCost as _0x4ffe7a,NoopReminders as _0x171c4b,ToolRegistry as _0x106c62,CompositeToolPort as _0x223c89,AgentRegistry as _0x24ba56,AgentFilePersistence as _0x50ae71,generateFolderTree as _0x5e0967,ConversationStore as _0x54ee90,ConversationContext as _0x2db0f0}from'@nuvin/nuvin-core';import{PersistingConsoleEventPort as _0x2adcf0,InMemoryMemory as _0x99445b}from'@nuvin/nuvin-core';import*as _0x31c185 from'crypto';import{AgentEventTypes as _0x23b724,ErrorReason as _0xfcfb99}from'@nuvin/nuvin-core';import{readFile as _0x1f4743}from'fs/promises';import{resolve as _0x1f1074}from'path';function vr(_0x103d0f){const _0x2fb1d4={_0x5d869d:0x531,_0x8209d5:0x49c,_0x352b4c:0x688},_0x386d82={_0x1b2fcd:0x1d7,_0x31e7f5:0xf};function _0x5f3c17(_0x405921,_0x4127dd,_0x40a097,_0x3c2a84){return _0x5318c5(_0x405921-_0x386d82._0x1b2fcd,_0x3c2a84,_0x40a097-_0x386d82._0x31e7f5,_0x405921-0x2e3);}return _0x103d0f[_0x5f3c17(_0x2fb1d4._0x5d869d,_0x2fb1d4._0x8209d5,0x750,_0x2fb1d4._0x352b4c)](/\r\n/g,'\x0a');}function dl(_0x1d9488,_0x4ba66b,_0x1409a5,_0x413b41){const _0x1b19d0={_0x19994a:0x28,_0x347dc1:0x2f4,_0x31e45c:0x15a,_0x2bbbb3:0x3da,_0x378c41:0x4b9,_0x23233a:0x3c7,_0x5e555d:0x2bb,_0x1169c3:0x11e,_0x41c80e:0x17a,_0x445a22:0x4b4,_0x34fee0:0x4b9,_0x33e96c:0x29a,_0x36b647:0x1ba,_0x72fb72:0x1a3,_0x35fd7c:0x62d},_0x43fb63={_0xfbb374:0x27f},_0xb9a9bd={_0x2e9c51:0x26c,_0x1792d9:0xad};let _0x3c7e31=_0x1d9488[_0x5a3a2e(-0x1e5,-0x1d1,-0x1f5,-_0x1b19d0._0x19994a)](0x0,_0x1409a5)[_0x5a3a2e(0x301,_0x1b19d0._0x347dc1,0x311,_0x1b19d0._0x31e45c)]('\x0a')[_0x49367f(_0x1b19d0._0x2bbbb3,_0x1b19d0._0x378c41,_0x1b19d0._0x23233a,_0x1b19d0._0x5e555d)],_0x555b4e=_0x4ba66b[_0x5a3a2e(-_0x1b19d0._0x1169c3,0x7d,-_0x1b19d0._0x41c80e,0xba)](/\n$/,''),_0x4859e5=_0x555b4e[_0x49367f(_0x1b19d0._0x445a22,_0x1b19d0._0x34fee0,_0x1b19d0._0x33e96c,0x325)]===0x0?0x0:_0x555b4e[_0x5a3a2e(-0x9a,_0x1b19d0._0x36b647,_0x1b19d0._0x72fb72,0x15a)]('\x0a')['length'],_0x286d41=_0x3c7e31+_0x4859e5-0x1,_0x3fc8f5=_0x413b41[_0x49367f(0x79e,0x5a5,0x621,_0x1b19d0._0x35fd7c)](/\n$/,''),_0x1a5590=_0x3fc8f5['length']===0x0?0x0:_0x3fc8f5['split']('\x0a')['length'],_0x4a5325=_0x3c7e31,_0x13fc82=_0x4a5325+_0x1a5590-0x1;function _0x5a3a2e(_0x4ca90e,_0x184098,_0x2466a4,_0x4fc18d){return _0x7f0a6b(_0x4ca90e-0x108,_0x4fc18d- -_0xb9a9bd._0x2e9c51,_0x184098,_0x4fc18d-_0xb9a9bd._0x1792d9);}function _0x49367f(_0x14b1c8,_0x3ce14a,_0x348a35,_0x2d7070){return _0x7f0a6b(_0x14b1c8-0x109,_0x3ce14a-_0x43fb63._0xfbb374,_0x348a35,_0x2d7070-0x199);}return{'oldStartLine':_0x3c7e31,'oldEndLine':_0x286d41,'newStartLine':_0x4a5325,'newEndLine':_0x13fc82,'oldLineCount':_0x4859e5,'newLineCount':_0x1a5590};}async function ml(_0x2757ed){const _0x4d9747={_0x2158c9:0x140,_0x124b3c:0x350,_0x1a38d0:0x630,_0x326f1f:0x78e,_0x248c0e:0x731,_0x5469f4:0x576,_0x4832e2:0x5c0,_0x3019eb:0x8b4,_0xa1aa7a:0x8e9,_0x284ee0:0x7e8,_0x3394ba:0x307,_0x58bf11:0x274,_0x418b91:0x2e9,_0x2eacaf:0x79e,_0x994ea2:0x56d,_0x43c4a6:0x96d,_0x48630a:0x95b,_0x5df513:0xb1d,_0x801d45:0x907},_0x2d8299={_0x31a43f:0x1cc};function _0x3cd808(_0x518a9b,_0x27c8e0,_0x2f502e,_0x42724a){return _0x7f0a6b(_0x518a9b-0x12e,_0x42724a-0x428,_0x518a9b,_0x42724a-_0x2d8299._0x31a43f);}function _0x4043d7(_0x516662,_0x509741,_0x5d9772,_0x28fe5f){return _0x7f0a6b(_0x516662-0x7a,_0x509741-0x28a,_0x516662,_0x28fe5f-0x33);}try{let _0xdd122=_0x2757ed[_0x4043d7(_0x4d9747._0x2158c9,_0x4d9747._0x124b3c,0x509,0x3ca)]['arguments']?JSON['parse'](_0x2757ed['function'][_0x3cd808(_0x4d9747._0x1a38d0,_0x4d9747._0x326f1f,0x728,_0x4d9747._0x248c0e)]):{};if(!_0xdd122['file_path']||_0xdd122['old_text']===void 0x0||_0xdd122[_0x4043d7(_0x4d9747._0x5469f4,0x769,0x620,0x5f5)]===void 0x0)return _0x2757ed;let _0x5bf612=_0x1f1074(_0xdd122[_0x3cd808(_0x4d9747._0x4832e2,_0x4d9747._0x3019eb,_0x4d9747._0xa1aa7a,_0x4d9747._0x284ee0)]),_0x256266=await _0x1f4743(_0x5bf612,_0x4043d7(_0x4d9747._0x3394ba,0x447,_0x4d9747._0x58bf11,_0x4d9747._0x418b91)),_0x1e418d=vr(_0x256266),_0x1565c9=vr(_0xdd122[_0x3cd808(0x44b,_0x4d9747._0x2eacaf,0x703,_0x4d9747._0x994ea2)]),_0x3f1a5f=vr(_0xdd122[_0x3cd808(_0x4d9747._0x43c4a6,_0x4d9747._0x48630a,_0x4d9747._0x5df513,_0x4d9747._0x801d45)]),_0x29bb16=_0x1e418d['indexOf'](_0x1565c9);if(_0x29bb16===-0x1)return _0x2757ed;let _0x24abfd=dl(_0x1e418d,_0x1565c9,_0x29bb16,_0x3f1a5f);return{..._0x2757ed,'metadata':{'lineNumbers':_0x24abfd}};}catch{return _0x2757ed;}}async function fo(_0xf4b7b3){const _0x13005e={_0x3396de:0x38c,_0x2b7205:0x542,_0x72795d:0x52a},_0x298428={_0x5112ee:0x17a,_0x3d0d6d:0x21c},_0x448c83={_0xa2cd59:0xcd,_0x3684a1:0x163};function _0x182cec(_0x5c2161,_0x19f0b6,_0x427540,_0x3b1d29){return _0x7f0a6b(_0x5c2161-_0x448c83._0xa2cd59,_0x3b1d29-0x1c2,_0x19f0b6,_0x3b1d29-_0x448c83._0x3684a1);}function _0x396de7(_0x236a99,_0x16df1c,_0x26ac0c,_0x48f8fb){return _0x7f0a6b(_0x236a99-_0x298428._0x5112ee,_0x26ac0c-_0x298428._0x3d0d6d,_0x48f8fb,_0x48f8fb-0x1a8);}return Promise['all'](_0xf4b7b3[_0x396de7(_0x13005e._0x3396de,_0x13005e._0x2b7205,_0x13005e._0x72795d,0x4e2)](_0x5786aa=>_0x5786aa['function'][_0x182cec(0x58c,0x589,0x3b6,0x5c5)]===_0x396de7(0x507,0x566,0x4d8,0x3f1)?ml(_0x5786aa):_0x5786aa));}var vt=()=>new Date()['toISOString'](),pl={'toolCallCount':0x0,'recentToolCalls':new Map(),'streamingMessageId':null,'streamingContent':'','subAgents':new Map(),'lastToolCallMessageId':null,'agentToMessageMap':new Map(),'toolCallToMessageMap':new Map()},os=()=>({...pl,'recentToolCalls':new Map(),'subAgents':new Map(),'lastToolCallMessageId':null,'agentToMessageMap':new Map(),'toolCallToMessageMap':new Map()});function rs(_0x53bbd9,_0x35c776,_0x10a09d){const _0x2bc241={_0x206c84:0x89,_0x144891:0x380,_0x58477b:0x497,_0x1f5922:0x5c6,_0x528c89:0x6ca,_0x348d3a:0x3c7,_0xe15e6c:0x3c3,_0x5d30d5:0x29f,_0x175d76:0x1d9,_0x567c44:0x572,_0x265717:0x344,_0x55ea4d:0x424,_0x47a890:0x23a,_0x19e4de:0x4c5,_0x400f19:0x352,_0x3ca379:0x53f,_0x55fbec:0x44e,_0x86e31b:0xb7,_0x5c5b36:0x49,_0x139dae:0x38c,_0xb089a2:0x5ce,_0x1d407f:0x4db,_0x259f70:0x5f2,_0x12b3f7:0x34b,_0x2fe35f:0x22,_0x5c7931:0x2b3,_0x339134:0x140,_0x5613b0:0xe1,_0x4924c2:0x13a,_0x2bb995:0x120,_0x4ba095:0x306,_0x2508a2:0x42f,_0x27ddb8:0x419,_0x2edb34:0x238,_0x24ffb3:0x132,_0x12adc6:0xe0,_0x173bb4:0x21b,_0x3bf691:0x790,_0x1d6e40:0x631,_0x1a7f73:0x755,_0x3e0a86:0x1ad,_0x4a6e0c:0x300,_0x16f00a:0x491,_0x3084d4:0x331,_0x2b4b6c:0x388,_0x37bf1e:0x25c,_0x5f433d:0x6d3,_0x15903b:0x66f,_0x327dc3:0xcf,_0x4ce370:0x20d,_0x1cdd80:0x37e,_0x3db7b5:0x61f,_0x1f55e3:0x7bb,_0x4973e8:0x5ab,_0x3ea99d:0x504,_0x1396c9:0x694,_0x218ced:0x733,_0x3c5d62:0x5d0,_0x209be8:0x3ec,_0x15fad9:0x1c9,_0xe7413b:0x453,_0x25bd4c:0x2ed,_0x4b184c:0x546,_0x2704cd:0x6d4,_0x5361da:0x421,_0x5a31e4:0x52,_0x172513:0x422,_0x3723cc:0x274,_0x3bdd59:0x14c,_0xd3b5fc:0x234,_0x5b788e:0x7ae,_0x163181:0x695,_0x2081e9:0x7ab,_0x3dee8d:0x66f,_0x525f32:0x826,_0x227848:0x4a3,_0x496ab0:0x2d5,_0x2100f6:0x353,_0x398d40:0x1b8,_0x4ed2f5:0x49,_0x19a4fa:0x59,_0x44a5a1:0x5c,_0x106044:0x8c,_0x12d705:0x55b,_0x17542e:0x269,_0x3016c6:0x442,_0x7619ef:0x60c,_0x37b85b:0x743,_0x202919:0x794,_0x566aec:0x61d,_0x931529:0x76e,_0x1c2aea:0x390,_0xe28ad9:0x4b8,_0x2a2d36:0x3e7,_0x1657b1:0x443,_0x441248:0x3e,_0x2ccaa4:0x4e,_0x49d8b6:0x12e,_0x511940:0x22d,_0x3b30b3:0x3fc,_0x4a9b52:0x50f,_0x4f69bb:0x343,_0x5eac40:0x55a,_0x17d322:0x402,_0x2c2c0a:0x85c,_0x4ecdf7:0x347,_0x20ef4d:0x2f0,_0x852666:0x252,_0x598d8d:0x295,_0x242e84:0x591,_0x12e81c:0x3e9,_0x3a6866:0x4f2,_0x27a50a:0x36e,_0x56f64e:0x20a,_0x5deeaf:0xa9,_0x1671e6:0x868,_0x1d8b28:0x79b,_0x165b8c:0x42a,_0x4f3251:0x4c0,_0x3b3969:0x4e2,_0x10beec:0x196,_0x8e3f90:0x224,_0x11ff31:0x544,_0x356685:0x2a4,_0x490000:0x99,_0x3302af:0x25e,_0x52214e:0x4d4,_0x1a86bc:0x2e7,_0x561d7c:0x9c,_0x5eed6c:0x10b,_0x4975b3:0x4ca,_0x5c3769:0x31b,_0x1292c9:0x3ab,_0x5bb8e2:0x56f,_0xbfe6f7:0x2c2,_0x412135:0x383,_0x18ca62:0x181,_0x374683:0x25a,_0x52414a:0x138,_0x27cd95:0x494,_0x34d996:0x422,_0x1af058:0x268,_0x1fc805:0x161,_0x37b7aa:0x5e3,_0xa4a13e:0x6b1,_0x1f6aba:0x5bd,_0x5c599a:0x38,_0x6b12f7:0x20b,_0x279b35:0x141,_0x35ad24:0x1e2,_0x18bd66:0x23,_0x4a423f:0x390,_0x3ea122:0x44b,_0x276d79:0xca,_0x263835:0x12b,_0x462d4e:0x16a,_0x2b44b1:0x2dc,_0x3fd8bb:0x59,_0x5b7579:0x32d,_0x59d065:0x4bf,_0x5d8f04:0x524,_0x220d57:0xc7,_0x3b3da4:0x30f,_0x1a1511:0x1c8,_0x24245d:0x30a,_0x58ff04:0x520,_0x1ddad8:0x366,_0x3a4a6b:0x44a,_0xb60045:0x549,_0x3e73e1:0x6d6,_0x4bad01:0x31b,_0x109bd1:0x388,_0xf7cae:0x3b9,_0x4bbab1:0x354,_0xe1d028:0x455,_0xac2e3e:0x209,_0x4684c4:0x121,_0x423c6f:0x69,_0x5f01cc:0x7b,_0x4e8eae:0x18d,_0x10e83c:0x459,_0x2c1e97:0x2b5,_0x1a19ca:0x29f,_0x314c2d:0x502,_0x54fe5d:0x109,_0x58ac48:0x7fe,_0x5711f3:0x5db,_0x365a97:0x111,_0x13597f:0x3aa,_0xe0e1f4:0x5f8,_0x37c946:0x1b6,_0x316ea0:0x363,_0x3e9be3:0xcc,_0x2f2634:0x138,_0xf6d55f:0x16,_0x339d06:0x31b,_0x4ee554:0x113,_0x5d5d08:0x5cc,_0x38f02a:0x4bf,_0xc00880:0x3d9,_0xe8d3f6:0x449,_0x1559e4:0x18e,_0x4a5e41:0x15,_0x485476:0x93,_0x310c49:0x43a,_0x2806a3:0x4f4,_0xfae207:0x184,_0xc950c1:0x24d,_0x326bc7:0x411,_0x1507d2:0x58b,_0x50c1fe:0x48c,_0x366fd3:0x220,_0x3cddde:0x1ab,_0x47031b:0xfd,_0x4ecccd:0x63,_0x3f5df6:0x10b,_0x27db66:0x672,_0x1eec49:0x560,_0x41ce57:0x15c,_0x3ffa1e:0x1dc,_0x44f5fc:0x164,_0x500cc5:0x23,_0x5dc59a:0x1ee,_0x6de210:0x399,_0x2d161e:0x71c,_0x902b0c:0x545,_0x491f79:0x581,_0x2d79b5:0x3f2,_0x304a4b:0x37e,_0x11b428:0x28a},_0x410032={_0x526d09:0x51b,_0x28685a:0x5df,_0x51231a:0x592,_0x478d39:0x5b7,_0x31ba82:0x647,_0x5ac298:0x62f,_0x45a347:0x3a9,_0x26a487:0xe,_0x153d55:0x7a,_0x2fcb40:0x118,_0x53a12d:0xdf,_0x3b85f8:0x16,_0x3cce1f:0x154,_0x373d5e:0x1eb,_0x18bc96:0x3bd,_0x12d3ad:0x1ce,_0x1f7961:0x2df,_0xd73fb6:0x2e5,_0x327977:0x369,_0xcfcc03:0x1e7,_0xf6dd57:0x369,_0x320d2c:0x142,_0x5ea310:0x40,_0x24e290:0x52d,_0xf509a:0x6c2},_0x7486ca={_0x1747d2:0x30d,_0x186c16:0x52,_0x464baf:0xbd},_0x30108b={_0x333d21:0x1a8,_0x2e8f7d:0x9e},_0x3fd1d8={_0x29c73d:0xc6,_0x3ca1c3:0x1e7};function _0x4c75b5(_0x217634,_0x3ae050,_0xef189b,_0xce5148){return _0x5318c5(_0x217634-_0x3fd1d8._0x29c73d,_0x3ae050,_0xef189b-_0x3fd1d8._0x3ca1c3,_0xce5148- -0xbe);}function _0x557a34(_0x4c18b3,_0x3f2233,_0x480ced,_0x305e11){return _0x7f0a6b(_0x4c18b3-0xc1,_0x3f2233-_0x30108b._0x333d21,_0x4c18b3,_0x305e11-_0x30108b._0x2e8f7d);}switch(_0x53bbd9['type']){case _0x23b724[_0x4c75b5(-_0x2bc241._0x206c84,0xfa,0x11b,-0x75)]:return _0x4c75b5(_0x2bc241._0x144891,0x3f1,0x1d1,0x1de)in _0x53bbd9&&_0x10a09d[_0x557a34(_0x2bc241._0x58477b,_0x2bc241._0x1f5922,_0x2bc241._0x528c89,_0x2bc241._0x348d3a)]&&_0x53bbd9[_0x557a34(0x557,0x51c,0x3e0,_0x2bc241._0xe15e6c)]&&_0x10a09d[_0x557a34(_0x2bc241._0x5d30d5,0x390,0x38d,_0x2bc241._0x175d76)]({'id':_0x31c185[_0x557a34(0x4df,_0x2bc241._0x567c44,_0x2bc241._0x265717,_0x2bc241._0x55ea4d)](),'type':_0x557a34(_0x2bc241._0x47a890,0x393,_0x2bc241._0x19e4de,0x555),'content':''+_0x53bbd9['userContent'],'metadata':{'timestamp':vt()},'color':_0x557a34(0x29d,_0x2bc241._0x400f19,0x2d1,0x43e)}),{'toolCallCount':0x0,'recentToolCalls':_0x35c776[_0x557a34(0x322,_0x2bc241._0x3ca379,_0x2bc241._0x55fbec,0x5b2)],'streamingMessageId':null,'streamingContent':'','subAgents':_0x35c776[_0x4c75b5(-_0x2bc241._0x86e31b,0x33f,-_0x2bc241._0x5c5b36,0x181)],'lastToolCallMessageId':_0x35c776[_0x557a34(0x587,_0x2bc241._0x139dae,0x1a8,0x18e)],'agentToMessageMap':_0x35c776['agentToMessageMap'],'toolCallToMessageMap':_0x35c776[_0x557a34(_0x2bc241._0xb089a2,_0x2bc241._0x1d407f,_0x2bc241._0x259f70,0x4f5)]};case _0x23b724[_0x4c75b5(_0x2bc241._0x12b3f7,-_0x2bc241._0x2fe35f,_0x2bc241._0x5c7931,_0x2bc241._0x339134)]:return((async()=>{const _0x42018d={_0x3af3d3:0x101};let _0x50a8ed=_0x31c185[_0x390f53(0x81e,0x8a8,0x673,0x4f2)](),_0x58657c=await fo(_0x53bbd9[_0x2a745a(0x2d2,0x20d,0x36d,0x463)]);_0x10a09d[_0x390f53(_0x410032._0x526d09,_0x410032._0x28685a,0x491,_0x410032._0x51231a)]({'id':_0x50a8ed,'type':'tool','content':''+_0x58657c[_0x390f53(0x508,0x5fe,_0x410032._0x478d39,0x5d3)](_0x46198d)['join'](',\x20'),'metadata':{'toolCallCount':_0x58657c[_0x390f53(_0x410032._0x31ba82,_0x410032._0x5ac298,0x4e3,_0x410032._0x45a347)],'timestamp':vt(),'toolCalls':_0x58657c},'color':_0x2a745a(_0x410032._0x26a487,_0x410032._0x153d55,_0x410032._0x2fcb40,_0x410032._0x53a12d)});let _0x16d5c9=new Map(_0x35c776[_0x2a745a(_0x410032._0x3b85f8,_0x410032._0x3cce1f,0x232,_0x410032._0x373d5e)]),_0x19bc0c=new Map(_0x35c776[_0x2a745a(-0x53,_0x410032._0x18bc96,_0x410032._0x12d3ad,_0x410032._0x1f7961)]);function _0x390f53(_0x1b5475,_0x1ea7c6,_0x12473c,_0x28618a){return _0x557a34(_0x28618a,_0x12473c-_0x42018d._0x3af3d3,_0x12473c-0x7c,_0x28618a-0xc3);}for(let _0x217ebe of _0x58657c)_0x16d5c9[_0x390f53(_0x410032._0xd73fb6,0x263,_0x410032._0x327977,_0x410032._0xcfcc03)](_0x217ebe['id'],_0x217ebe),_0x19bc0c[_0x390f53(0x1cf,0x379,_0x410032._0xf6dd57,_0x410032._0x320d2c)](_0x217ebe['id'],_0x50a8ed);function _0x2a745a(_0xf1cda7,_0x439bfb,_0x36e92b,_0x438630){return _0x557a34(_0x438630,_0x36e92b- -_0x7486ca._0x1747d2,_0x36e92b-_0x7486ca._0x186c16,_0x438630-_0x7486ca._0x464baf);}return{..._0x35c776,'toolCallCount':_0x35c776[_0x2a745a(0x20e,0x9,0x161,_0x410032._0x5ea310)]+_0x58657c[_0x390f53(_0x410032._0x24e290,_0x410032._0xf509a,0x4e3,0x456)],'recentToolCalls':_0x16d5c9,'streamingMessageId':null,'streamingContent':'','lastToolCallMessageId':_0x50a8ed,'toolCallToMessageMap':_0x19bc0c};})());case _0x23b724[_0x4c75b5(0x19b,-_0x2bc241._0x5613b0,-_0x2bc241._0x4924c2,0xa6)]:{let _0x30fd74=_0x53bbd9['result'],_0x3f8db3=_0x30fd74['status']==='error'?_0x30fd74[_0x4c75b5(_0x2bc241._0x2bb995,0x273,_0x2bc241._0x4ba095,0x335)]?.[_0x557a34(0x205,_0x2bc241._0x2508a2,0x3e5,_0x2bc241._0x27ddb8)]:void 0x0,_0x148566=_0x3f8db3===_0xfcfb99[_0x4c75b5(_0x2bc241._0x2edb34,_0x2bc241._0x24ffb3,_0x2bc241._0x12adc6,_0x2bc241._0x173bb4)],_0x388bfd=_0x3f8db3===_0xfcfb99[_0x557a34(_0x2bc241._0x3bf691,_0x2bc241._0x1d6e40,0x68d,_0x2bc241._0x1a7f73)],_0x2f1173=_0x3f8db3===_0xfcfb99[_0x4c75b5(0x12c,-0x54,0x103,0x1c5)],_0x5d0c36=_0x148566||_0x388bfd||_0x2f1173||_0x3f8db3===_0xfcfb99[_0x4c75b5(_0x2bc241._0x3e0a86,0xe3,0x3c1,_0x2bc241._0x4a6e0c)],_0x4600d6=_0x30fd74[_0x4c75b5(0x23e,0x413,_0x2bc241._0x16f00a,_0x2bc241._0x3084d4)]==='success'?_0x4c75b5(_0x2bc241._0x2b4b6c,_0x2bc241._0x37bf1e,0x1e3,0x233):_0x5d0c36?'[⊗]':'[!]',_0x441dd8=_0x3f8db3||_0x30fd74[_0x557a34(_0x2bc241._0x5f433d,_0x2bc241._0x15903b,0x5d8,0x4f5)],_0x5122bb=typeof _0x30fd74['durationMs']==_0x4c75b5(0x2b8,_0x2bc241._0x327dc3,_0x2bc241._0x4ce370,0x270)&&Number['isFinite'](_0x30fd74['durationMs'])?'\x20('+_0x30fd74['durationMs']+_0x4c75b5(0x1d3,0x4b1,_0x2bc241._0x1cdd80,0x2e6):'',_0x41dd12=_0x30fd74[_0x557a34(_0x2bc241._0x3db7b5,0x66f,0x57c,0x66e)]==='success'?_0x30fd74[_0x557a34(_0x2bc241._0x1f55e3,_0x2bc241._0x4973e8,_0x2bc241._0x3ea99d,0x41a)]+':\x20'+_0x4600d6+'\x20'+_0x441dd8+_0x5122bb:_0x5d0c36?_0x30fd74[_0x557a34(0x37b,0x5ab,0x79c,0x5ed)]+':\x20'+_0x4600d6+'\x20'+_0x441dd8+_0x5122bb:_0x557a34(0x738,_0x2bc241._0x1396c9,_0x2bc241._0x218ced,0x63b)+_0x800a1c(_0x30fd74)[_0x557a34(_0x2bc241._0x3c5d62,_0x2bc241._0x209be8,0x2d8,_0x2bc241._0x15fad9)](0x0,0x3e8),_0xbd79b7=_0x30fd74['status']===_0x557a34(0x364,_0x2bc241._0xe7413b,0x4b2,0x4dd)?_0x557a34(0x386,0x3b7,_0x2bc241._0x25bd4c,_0x2bc241._0x4b184c):_0x5d0c36?_0x4c75b5(0x136,-0x7c,0x258,0x41):_0x557a34(0x64a,0x5e5,_0x2bc241._0x2704cd,_0x2bc241._0x5361da),_0x27590e=_0x35c776['recentToolCalls']['get'](_0x30fd74['id']);return _0x10a09d[_0x4c75b5(0x168,-0x1a0,-0x6b,_0x2bc241._0x5a31e4)]({'id':_0x31c185[_0x4c75b5(_0x2bc241._0x172513,_0x2bc241._0x3723cc,_0x2bc241._0x3bdd59,_0x2bc241._0xd3b5fc)](),'type':_0x557a34(0x3ef,0x28f,0x71,0x4ac),'content':_0x41dd12,'metadata':{'toolName':_0x30fd74[_0x557a34(_0x2bc241._0x5b788e,0x5ab,_0x2bc241._0x163181,0x41c)],'status':_0x30fd74[_0x557a34(_0x2bc241._0x2081e9,_0x2bc241._0x3dee8d,0x6bd,_0x2bc241._0x525f32)],'duration':_0x30fd74[_0x557a34(0x681,_0x2bc241._0x227848,_0x2bc241._0x496ab0,_0x2bc241._0x2100f6)],'timestamp':vt(),'toolResult':_0x30fd74,'toolCall':_0x27590e},'color':_0xbd79b7}),_0x35c776;}case _0x23b724[_0x4c75b5(-0x2f,-_0x2bc241._0x398d40,0x146,_0x2bc241._0x4ed2f5)]:{if(!_0x10a09d[_0x4c75b5(_0x2bc241._0x19a4fa,-_0x2bc241._0x44a5a1,-0x51,-_0x2bc241._0x106044)])return _0x35c776;let _0x3d4c57=_0x53bbd9[_0x557a34(_0x2bc241._0x12d705,0x454,_0x2bc241._0x17542e,_0x2bc241._0x3016c6)]||'';if(!_0x35c776[_0x557a34(_0x2bc241._0x7619ef,0x681,0x780,_0x2bc241._0x37b85b)]){let _0x12ff06=_0x31c185[_0x557a34(_0x2bc241._0x202919,0x572,_0x2bc241._0x566aec,_0x2bc241._0x931529)]();return _0x10a09d[_0x557a34(0x469,_0x2bc241._0x1c2aea,0x2b3,_0x2bc241._0xe28ad9)]({'id':_0x12ff06,'type':'assistant','content':_0x3d4c57,'metadata':{'timestamp':vt(),'isStreaming':!0x0}}),{..._0x35c776,'streamingMessageId':_0x12ff06,'streamingContent':_0x3d4c57};}let _0x3c020a=_0x35c776['streamingContent']+_0x3d4c57;return _0x10a09d[_0x557a34(0x310,0x402,0x42d,_0x2bc241._0x2a2d36)]?.(_0x35c776[_0x4c75b5(0x1f7,0x427,_0x2bc241._0x1657b1,0x343)],_0x3c020a),{..._0x35c776,'streamingContent':_0x3c020a};}case _0x23b724['AssistantMessage']:return _0x53bbd9[_0x4c75b5(-_0x2bc241._0x441248,-0xb5,0x19c,-_0x2bc241._0x2ccaa4)]?_0x10a09d[_0x4c75b5(_0x2bc241._0x49d8b6,-0x234,-_0x2bc241._0x511940,-0x8c)]&&_0x35c776[_0x4c75b5(_0x2bc241._0x3b30b3,0x1a9,_0x2bc241._0x4a9b52,_0x2bc241._0x4f69bb)]?(_0x10a09d[_0x557a34(_0x2bc241._0x5eac40,_0x2bc241._0x17d322,0x4cf,0x316)]?.(_0x35c776[_0x557a34(0x6ac,0x681,0x4ef,_0x2bc241._0x2c2c0a)],_0x53bbd9['content']),_0x10a09d['updateLineMetadata']?.(_0x35c776[_0x4c75b5(_0x2bc241._0x4ecdf7,0x14c,0x30f,0x343)],{'isStreaming':!0x1}),{..._0x35c776,'streamingContent':_0x53bbd9[_0x557a34(0x4e4,_0x2bc241._0x20ef4d,0x38a,_0x2bc241._0x852666)],'streamingMessageId':null}):(_0x10a09d[_0x557a34(0x3cd,0x390,0x2ee,_0x2bc241._0x598d8d)]({'id':_0x31c185[_0x557a34(_0x2bc241._0x1f5922,0x572,0x6f8,0x41e)](),'type':_0x557a34(_0x2bc241._0x242e84,_0x2bc241._0x12e81c,0x567,_0x2bc241._0x4ecdf7),'content':_0x53bbd9['content'],'metadata':{'timestamp':vt(),'isStreaming':!0x1}}),_0x35c776):_0x35c776;case _0x23b724[_0x557a34(_0x2bc241._0x3a6866,_0x2bc241._0x27a50a,0x4b2,_0x2bc241._0x56f64e)]:return _0x35c776;case _0x23b724['Done']:return _0x35c776;case _0x23b724['Error']:return _0x35c776['streamingMessageId']&&_0x10a09d[_0x4c75b5(0x22c,0x2dc,_0x2bc241._0x5deeaf,0x2ba)]?.(_0x35c776[_0x557a34(_0x2bc241._0x1671e6,0x681,_0x2bc241._0x1d8b28,0x855)],{'isStreaming':!0x1}),_0x10a09d[_0x557a34(_0x2bc241._0x165b8c,0x390,_0x2bc241._0x4f3251,0x442)]({'id':_0x31c185['randomUUID'](),'type':_0x557a34(0x5ee,_0x2bc241._0x3b3969,0x36e,0x501),'content':'error:\x20'+_0x800a1c(_0x53bbd9[_0x4c75b5(0x383,0x28e,_0x2bc241._0x10beec,0x1a4)]),'metadata':{'timestamp':vt()},'color':_0x4c75b5(0x112,_0x2bc241._0x8e3f90,0x2a9,0x2a7)}),{..._0x35c776,'streamingMessageId':null};case _0x23b724[_0x557a34(_0x2bc241._0x11ff31,0x5c8,0x637,0x78b)]:return _0x10a09d[_0x557a34(0x383,_0x2bc241._0x356685,_0x2bc241._0x490000,_0x2bc241._0x3302af)]?.({'toolCalls':_0x53bbd9[_0x4c75b5(_0x2bc241._0x52214e,0x214,0x32c,0x33c)],'approvalId':_0x53bbd9['approvalId'],'conversationId':_0x53bbd9['conversationId'],'messageId':_0x53bbd9[_0x4c75b5(0x2a5,_0x2bc241._0x1a86bc,0x2cb,0xee)]}),_0x35c776;case _0x23b724['SubAgentStarted']:{let _0x2ee956=_0x35c776['toolCallToMessageMap'][_0x4c75b5(_0x2bc241._0x561d7c,0x1a8,0x167,_0x2bc241._0x5eed6c)](_0x53bbd9[_0x557a34(_0x2bc241._0x4975b3,_0x2bc241._0x5c3769,_0x2bc241._0x1292c9,0x103)]);if(!_0x2ee956)return console['warn'](_0x557a34(_0x2bc241._0x17d322,0x4b5,0x413,0x68d)+_0x53bbd9['toolCallId']),_0x35c776;let _0x274b23={'agentId':_0x53bbd9[_0x557a34(0x523,_0x2bc241._0x5bb8e2,0x651,0x4c3)],'agentName':_0x53bbd9['agentName'],'status':'starting','toolCalls':[],'toolCallMessageId':_0x2ee956},_0x1d2a1f=new Map(_0x35c776[_0x4c75b5(0x251,_0x2bc241._0xbfe6f7,_0x2bc241._0x412135,_0x2bc241._0x18ca62)]);_0x1d2a1f['set'](_0x53bbd9[_0x4c75b5(_0x2bc241._0x374683,_0x2bc241._0x52414a,0x40,0x231)],_0x274b23);let _0x51e6da=new Map(_0x35c776[_0x557a34(0x460,0x57f,0x64e,_0x2bc241._0x27cd95)]);return _0x51e6da[_0x557a34(_0x2bc241._0x34d996,_0x2bc241._0x1af058,0x248,_0x2bc241._0x1fc805)](_0x53bbd9[_0x557a34(_0x2bc241._0x37b7aa,_0x2bc241._0x5bb8e2,_0x2bc241._0xa4a13e,_0x2bc241._0x1f6aba)],_0x2ee956),_0x274b23[_0x4c75b5(-0x21d,_0x2bc241._0x5c599a,-0x135,-0x23)]=_0x53bbd9[_0x4c75b5(-_0x2bc241._0x6b12f7,-_0x2bc241._0x279b35,-_0x2bc241._0x35ad24,-_0x2bc241._0x18bd66)],_0x10a09d['updateLineMetadata']?.(_0x2ee956,{[_0x557a34(0x1e8,0x354,_0x2bc241._0x4a423f,_0x2bc241._0x3ea122)+_0x53bbd9[_0x4c75b5(_0x2bc241._0x276d79,_0x2bc241._0x263835,-_0x2bc241._0x462d4e,-_0x2bc241._0x18bd66)]]:_0x274b23}),{..._0x35c776,'subAgents':_0x1d2a1f,'agentToMessageMap':_0x51e6da};}case _0x23b724[_0x557a34(_0x2bc241._0x2b44b1,0x282,_0x2bc241._0x3fd8bb,0xa1)]:{let _0x1ca222=_0x35c776[_0x557a34(_0x2bc241._0x5b7579,_0x2bc241._0x59d065,0x2da,_0x2bc241._0x5d8f04)][_0x4c75b5(_0x2bc241._0x220d57,_0x2bc241._0x3b3da4,-_0x2bc241._0x18bd66,_0x2bc241._0x5eed6c)](_0x53bbd9[_0x4c75b5(0x431,_0x2bc241._0x276d79,_0x2bc241._0x1a1511,0x231)]);return _0x1ca222&&(_0x1ca222['status']=_0x557a34(_0x2bc241._0x24245d,_0x2bc241._0x58ff04,_0x2bc241._0x1ddad8,0x5e1),_0x1ca222['toolCalls']['push']({'id':_0x53bbd9[_0x557a34(_0x2bc241._0x3a4a6b,_0x2bc241._0x5c3769,_0x2bc241._0xb60045,0x196)],'name':_0x53bbd9['toolName'],'arguments':_0x53bbd9['toolArguments']}),_0x1ca222[_0x557a34(_0x2bc241._0x3e73e1,0x58b,0x5b9,0x374)]&&_0x1ca222[_0x557a34(0x506,_0x2bc241._0x4bad01,0x334,0x537)]&&_0x10a09d[_0x4c75b5(_0x2bc241._0x109bd1,_0x2bc241._0xf7cae,0x4ee,0x2ba)]?.(_0x1ca222['toolCallMessageId'],{[_0x557a34(0x15c,_0x2bc241._0x4bbab1,_0x2bc241._0xe1d028,0x175)+_0x1ca222[_0x557a34(0x17a,0x31b,_0x2bc241._0xac2e3e,_0x2bc241._0x4684c4)]]:_0x1ca222})),_0x35c776;}case _0x23b724[_0x4c75b5(-0xf6,-_0x2bc241._0x423c6f,0x2a9,_0x2bc241._0x5f01cc)]:{let _0x4e51c1=_0x35c776[_0x4c75b5(_0x2bc241._0x4e8eae,0x234,0x24b,_0x2bc241._0x18ca62)][_0x557a34(_0x2bc241._0x10e83c,0x449,0x5e8,0x3da)](_0x53bbd9['agentId']);if(!_0x4e51c1)return _0x35c776;let _0x47464e=_0x4e51c1['toolCalls'][_0x557a34(_0x2bc241._0x2c1e97,_0x2bc241._0x1a19ca,0x1b0,0x175)](_0x5b6eea=>_0x5b6eea['id']===_0x53bbd9[_0x557a34(0x37c,0x31b,0x2d9,0x1ac)]);return _0x47464e&&(_0x47464e[_0x557a34(0x2c7,0x4a3,0x54e,_0x2bc241._0x314c2d)]=_0x53bbd9[_0x4c75b5(0x21b,_0x2bc241._0x54fe5d,0x253,0x165)],_0x47464e['status']=_0x53bbd9[_0x557a34(_0x2bc241._0x58ac48,0x66f,0x71f,_0x2bc241._0x5711f3)]),_0x4e51c1[_0x557a34(0x573,0x58b,_0x2bc241._0x27ddb8,0x585)]&&_0x4e51c1[_0x557a34(_0x2bc241._0x365a97,0x31b,0x1d3,_0x2bc241._0x13597f)]&&_0x10a09d[_0x557a34(0x717,_0x2bc241._0xe0e1f4,0x4cc,0x4ac)]?.(_0x4e51c1[_0x4c75b5(_0x2bc241._0x37c946,_0x2bc241._0x316ea0,_0x2bc241._0x3e9be3,0x24d)],{[_0x4c75b5(_0x2bc241._0x2f2634,-0x19e,0x229,_0x2bc241._0xf6d55f)+_0x4e51c1[_0x557a34(0x460,_0x2bc241._0x339d06,_0x2bc241._0x10e83c,_0x2bc241._0x4ee554)]]:_0x4e51c1}),_0x35c776;}case _0x23b724[_0x557a34(_0x2bc241._0x5d5d08,0x539,0x5a9,0x643)]:{let _0x71b3e=_0x35c776[_0x557a34(0x309,_0x2bc241._0x38f02a,0x4a1,_0x2bc241._0xc00880)][_0x557a34(0x60e,_0x2bc241._0xe8d3f6,0x564,0x3f3)](_0x53bbd9['agentId']);return _0x71b3e&&(_0x71b3e[_0x4c75b5(_0x2bc241._0x1559e4,0x31b,0x31d,0x331)]=_0x4c75b5(0x7,0x244,_0x2bc241._0x4a5e41,_0x2bc241._0x485476),_0x71b3e['finalStatus']=_0x53bbd9[_0x557a34(0x6ff,0x66f,0x6bf,_0x2bc241._0x310c49)],_0x71b3e[_0x557a34(0x4b6,0x4af,0x655,0x3d1)]=_0x53bbd9['resultMessage'],_0x71b3e[_0x557a34(_0x2bc241._0x2806a3,0x3c1,0x2f1,0x4b2)]=_0x53bbd9['totalDurationMs'],_0x71b3e[_0x4c75b5(_0x2bc241._0xfae207,0x3a0,0x398,_0x2bc241._0xc950c1)]&&_0x71b3e['toolCallId']&&_0x10a09d[_0x4c75b5(0x45f,_0x2bc241._0x326bc7,0x1b3,0x2ba)]?.(_0x71b3e[_0x557a34(0x713,_0x2bc241._0x1507d2,_0x2bc241._0x50c1fe,0x46e)],{[_0x4c75b5(_0x2bc241._0x366fd3,_0x2bc241._0x3cddde,-0x7f,0x16)+_0x71b3e['toolCallId']]:_0x71b3e})),_0x35c776;}case _0x23b724['SubAgentMetrics']:{let _0x12ec13=_0x35c776['subAgents'][_0x4c75b5(_0x2bc241._0x47031b,-0x105,_0x2bc241._0x4ecccd,_0x2bc241._0x3f5df6)](_0x53bbd9[_0x557a34(0x399,_0x2bc241._0x5bb8e2,_0x2bc241._0x27db66,_0x2bc241._0x1eec49)]);return _0x12ec13&&(_0x12ec13[_0x4c75b5(_0x2bc241._0x1a1511,0x16f,-0x2b,_0x2bc241._0x41ce57)]=_0x53bbd9['metrics'],_0x12ec13['toolCallMessageId']&&_0x12ec13[_0x4c75b5(-_0x2bc241._0xf6d55f,_0x2bc241._0x3ffa1e,_0x2bc241._0x44f5fc,-_0x2bc241._0x500cc5)]&&_0x10a09d[_0x4c75b5(0x1fd,_0x2bc241._0x5dc59a,0x25d,0x2ba)]?.(_0x12ec13[_0x557a34(_0x2bc241._0x6de210,_0x2bc241._0x1507d2,_0x2bc241._0x2d161e,_0x2bc241._0x902b0c)],{[_0x557a34(_0x2bc241._0x491f79,0x354,_0x2bc241._0x2d79b5,_0x2bc241._0x304a4b)+_0x12ec13[_0x557a34(_0x2bc241._0x11b428,_0x2bc241._0x5c3769,0x29a,0x342)]]:_0x12ec13})),_0x35c776;}default:return _0x35c776;}}var _t=class extends _0x2adcf0{constructor(_0x1d32cc,_0x2303c5,_0x1ff07b,_0x24464d){const _0x35ba16={_0x43a465:0x675,_0x395d1e:0x2a6,_0x3ead95:0x596,_0x22b791:0x2f,_0x336450:0xce,_0x3d1c22:0x28,_0x4757ad:0x2d5,_0x49724a:0x1c9,_0x41ec14:0x1f8,_0x5a17a6:0x86,_0x2d45d8:0x10f,_0x3cc992:0x1e6,_0x5edd7f:0x131,_0x2284d9:0x308,_0x1ed41f:0xb1,_0x2856e2:0x462,_0x3c24e7:0x2f,_0x25d628:0x19f,_0x37d5f8:0x6e2,_0x57dcbe:0x4ff,_0x21cfe8:0x604,_0x550bcd:0x4f3},_0xf38a29={_0x58fefc:0x5c2},_0x18277b={_0x248ad3:0x34,_0x2243e5:0x1b4,_0x58fec8:0x121},_0x33e302={_0x167372:0x163,_0x160c64:0x289};super(_0x24464d?.[_0x5e47c6(0x641,_0x35ba16._0x43a465,0x442,_0x35ba16._0x395d1e)]?{'filename':_0x24464d[_0x5e47c6(0x5a7,_0x35ba16._0x3ead95,0x442,0x38a)]}:{'memory':new _0x99445b()}),this['appendLine']=_0x1d32cc,this[_0x5090f0(-_0x35ba16._0x22b791,-0x236,0x1c0,_0x35ba16._0x336450)]=_0x2303c5;function _0x5090f0(_0x29be08,_0x45c0a9,_0x109d4a,_0x77af6c){return _0x7f0a6b(_0x29be08-_0x33e302._0x167372,_0x29be08- -_0x33e302._0x160c64,_0x109d4a,_0x77af6c-0xa7);}this[_0x5090f0(0x1c7,-_0x35ba16._0x3d1c22,_0x35ba16._0x4757ad,_0x35ba16._0x49724a)]=_0x1ff07b,this[_0x5090f0(-_0x35ba16._0x41ec14,-_0x35ba16._0x5a17a6,-_0x35ba16._0x2d45d8,-_0x35ba16._0x3cc992)]=os();function _0x5e47c6(_0x3c88ba,_0x38ccc6,_0x3ab4d7,_0x1f63a5){return _0x7f0a6b(_0x3c88ba-_0x18277b._0x248ad3,_0x3ab4d7-_0x18277b._0x2243e5,_0x1f63a5,_0x1f63a5-_0x18277b._0x58fec8);}this[_0x5e47c6(0x316,0x145,0x2be,_0x35ba16._0x5edd7f)]=_0x24464d?.[_0x5090f0(-0x17f,-0x69,-0x58,-0x181)]??!0x1,this[_0x5e47c6(_0x35ba16._0x2284d9,_0x35ba16._0x1ed41f,0x2dc,_0x35ba16._0x2856e2)]={'appendLine':this[_0x5e47c6(0x332,0x44b,0x39c,0x5d1)],'updateLine':this[_0x5090f0(-_0x35ba16._0x3c24e7,_0x35ba16._0x25d628,-0x1a1,-0x13b)],'updateLineMetadata':this[_0x5e47c6(_0x35ba16._0x37d5f8,_0x35ba16._0x57dcbe,_0x35ba16._0x21cfe8,_0x35ba16._0x550bcd)],'streamingEnabled':this['streamingEnabled'],'onToolApprovalRequired':_0x1e23d5=>{const _0x2c8d6a={_0x49ca0f:0x19f};function _0x2988e4(_0x34e049,_0x37ea26,_0x44398e,_0x12e306){return _0x5090f0(_0x37ea26-0x6c6,_0x37ea26-_0x2c8d6a._0x49ca0f,_0x34e049,_0x12e306-0x28);}B[_0x2988e4(0x503,_0xf38a29._0x58fefc,0x3bf,0x7dd)]('ui:toolApprovalRequired',_0x1e23d5);}};}async[_0x5318c5(0x270,0x1f4,0x2,0xad)](_0x590e2f){const _0x492b6f={_0x52913b:0xa6,_0x171ab7:0x155,_0x3322cd:0x2c3,_0x4cf22e:0x231,_0x329830:0x583},_0x1b59a7={_0x2100bb:0x28a,_0x27640d:0x21},_0x4d364f={_0x4a1b79:0xd,_0x530250:0x1cf,_0x502a79:0x202};function _0x3933fe(_0x1855f7,_0x3cce7d,_0x1435ae,_0x267d80){return _0x5318c5(_0x1855f7-_0x4d364f._0x4a1b79,_0x1855f7,_0x1435ae-_0x4d364f._0x530250,_0x1435ae- -_0x4d364f._0x502a79);}function _0x2f85c4(_0x2351b3,_0x24b98c,_0x180931,_0x4f3d4b){return _0x7f0a6b(_0x2351b3-0x1d2,_0x2351b3-_0x1b59a7._0x2100bb,_0x180931,_0x4f3d4b-_0x1b59a7._0x27640d);}try{await super[_0x3933fe(0xd0,-0x21,-0x155,-0x1d2)](_0x590e2f),this['state']=await this['processEventSafely'](_0x590e2f);}catch(_0x53f8e7){let _0x58c440=_0x53f8e7 instanceof Error?_0x53f8e7['message']:String(_0x53f8e7);B[_0x3933fe(-0x29d,_0x492b6f._0x52913b,-_0x492b6f._0x171ab7,-_0x492b6f._0x3322cd)](_0x3933fe(-0x318,-0x347,-_0x492b6f._0x4cf22e,-0x29f),'[EventAdapter]\x20Failed\x20to\x20process\x20'+_0x590e2f[_0x2f85c4(0x4b0,0x5df,_0x492b6f._0x329830,0x27a)]+':\x20'+_0x58c440);}}async[_0x7f0a6b(0x299,0x3ee,0x350,0x30d)](_0x12f237){const _0x568dcb={_0x3abe47:0x156,_0x458c6b:0x1ab,_0x29e1b5:0x430,_0x4a1dc7:0x3fa,_0x4b0432:0x36a,_0x4f8056:0x2da,_0x92c4c2:0xf9,_0x5162a1:0x180,_0x4373fd:0x5e,_0x316610:0xae,_0x48ddbd:0x217,_0x40b2f5:0x394},_0x35da20={_0x19dfe7:0x1f2,_0x188870:0xaf,_0x5bb586:0x1c7},_0x4be2cc={_0x4aca37:0x117,_0xb12e9b:0x338};this[_0x479c67(_0x568dcb._0x3abe47,0x561,0x388,_0x568dcb._0x458c6b)][_0x479c67(_0x568dcb._0x29e1b5,_0x568dcb._0x4a1dc7,_0x568dcb._0x4b0432,0x373)]=this[_0x40e7f5(0x66,0x1f9,_0x568dcb._0x4f8056,_0x568dcb._0x92c4c2)];function _0x479c67(_0x3a35a9,_0x45672e,_0x1a99ae,_0x5153ae){return _0x5318c5(_0x3a35a9-_0x4be2cc._0x4aca37,_0x5153ae,_0x1a99ae-0x124,_0x1a99ae-_0x4be2cc._0xb12e9b);}let _0x33007c=rs(_0x12f237,this[_0x40e7f5(0x9d,_0x568dcb._0x5162a1,0x240,-_0x568dcb._0x4373fd)],this[_0x40e7f5(_0x568dcb._0x316610,_0x568dcb._0x48ddbd,_0x568dcb._0x40b2f5,0x29d)]);function _0x40e7f5(_0x1faae8,_0x4235ef,_0x63fd51,_0x33dd75){return _0x5318c5(_0x1faae8-_0x35da20._0x19dfe7,_0x1faae8,_0x63fd51-_0x35da20._0x188870,_0x4235ef-_0x35da20._0x5bb586);}return _0x33007c instanceof Promise?await _0x33007c:_0x33007c;}[_0x7f0a6b(0x4d5,0x2ff,0x43d,0x10e)](_0x3dd322){const _0x4d4e49={_0x368b57:0x596},_0x2fdb20={_0x422836:0x564};function _0x565a02(_0xd3258,_0x2ed143,_0x236867,_0x1d9656){return _0x5318c5(_0xd3258-0x31,_0x236867,_0x236867-0x1ef,_0xd3258-_0x2fdb20._0x422836);}this[_0x565a02(_0x4d4e49._0x368b57,0x708,0x6f7,0x783)]=_0x3dd322;}},ns='\x0aYou\x20are\x20Nuvin,\x20an\x20interactive\x20CLI\x20assistant\x20for\x20software\x20engineering.\x20Use\x20available\x20tools\x20to\x20complete\x20the\x20user\x27s\x20task.\x0a\x0a##\x20Scope\x20&\x20Safety\x0a\x0a-\x20Defensive\x20security\x20only.\x0a-\x20Allowed:\x20security\x20analysis,\x20detection\x20rules,\x20vuln\x20explanations,\x20hardening/monitoring\x20tools,\x20security\x20docs.\x0a-\x20Refuse\x20any\x20creation/modification\x20that\x20could\x20enable\x20abuse.\x0a-\x20URLs:\x20Never\x20invent/guess\x20links.\x20Only\x20use\x20user-provided\x20URLs\x20or\x20local\x20files\x20when\x20directly\x20useful\x20for\x20programming.\x0a\x0a##\x20Output\x20Rules\x0a\x0a-\x20Be\x20concise\x20and\x20direct.\x20≤4\x20lines\x20per\x20answer\x20(excluding\x20tool\x20output/code).\x20Minimize\x20tokens;\x20answer\x20only\x20what\x20was\x20asked.\x0a-\x20No\x20pre/post-amble\x20unless\x20requested.\x0a-\x20Exception:\x20When\x20running\x20non-trivial\x20bash\x20(changes\x20state,\x20installs,\x20deletes,\x20modifies\x20config,\x20or\x20runs\x20multi-flag\x20commands),\x20briefly\x20explain\x20what\x20and\x20why\x20in\x20≤1\x20line\x20before\x20execution.\x0a\x0a##\x20Interaction\x0a\x0a-\x20Act\x20when\x20asked;\x20avoid\x20surprise\x20actions.\x20If\x20asked\x20“how,”\x20answer\x20first;\x20only\x20then\x20take\x20follow-ups\x20if\x20requested.\x0a-\x20Skip\x20todo_write\x20for\x20yes/no\x20or\x20single-line\x20answers;\x20use\x20todo_write\x20to\x20plan/track\x20multi-step\x20or\x20non-trivial\x20tasks.\x0a-\x20Mark\x20items\x20\x27in_progress\x27\x20and\x20\x27completed\x27\x20promptly.\x0a\x0a##\x20Repository\x20Conventions\x0a\x0a-\x20Detect\x20and\x20follow\x20existing\x20code\x20style,\x20libs,\x20patterns.\x0a-\x20DO\x20NOT\x20assume\x20libraries—verify\x20via\x20manifests/imports.\x0a-\x20New\x20components\x20mirror\x20existing\x20architecture,\x20naming,\x20typing.\x0a-\x20Never\x20expose/log\x20secrets;\x20never\x20commit\x20secrets.\x0a\x0a##\x20Code\x20Style\x0a\x0a-\x20DO\x20NOT\x20add\x20comments\x20unless\x20the\x20user\x20asks.\x0a-\x20Follow\x20existing\x20code\x20style,\x20naming,\x20and\x20patterns.\x0a\x0a##\x20Doing\x20Tasks\x0a\x0a-\x20Plan(todo_write)\x20→\x20search/inspect\x20codebase\x20→\x20implement\x20→\x20verify/tests.\x0a-\x20Don\x27t\x20assume\x20test/build\x20commands;\x20find\x20them(README/package\x20scripts).\x0a-\x20If\x20unknown,\x20ask\x20and\x20propose\x20documenting.\x0a-\x20For\x20multi-step\x20tasks,\x20use\x20todo_write\x20to\x20plan\x20and\x20track\x20progress.\x0a-\x20DO\x20NOT\x20create\x20any\x20kind\x20of\x20summary\x20document\x20after\x20finish\x20a\x20task.\x0a\x0a##\x20Searching\x0a\x0a-\x20Use\x20the\x20\x27grep_tool\x27\x20for\x20content\x20search\x20(regex\x20patterns\x20in\x20files)\x20and\x20\x27glob_tool\x27\x20for\x20file\x20discovery\x20(glob\x20patterns).\x0a-\x20Prefer\x20specific\x20search\x20terms\x20(e.g.,\x20function/class\x20names)\x20over\x20generic\x20ones\x20(e.g.,\x20\x27the\x27,\x20\x27a\x27).\x0a-\x20Examples:\x0a\x20\x20-\x20grep_tool:\x20{\x20pattern:\x20\x22function.*export\x22,\x20include:\x20\x22*.ts\x22\x20}\x20-\x20Find\x20exported\x20functions\x20in\x20TS\x20files\x0a\x20\x20-\x20glob_tool:\x20{\x20pattern:\x20\x22**/*.test.ts\x22\x20}\x20-\x20Find\x20all\x20test\x20files\x20recursively\x0a-\x20When\x20searching,\x20include\x20relevant\x20context\x20(e.g.,\x20function\x20name,\x20surrounding\x20lines).\x0a-\x20Both\x20tools\x20return\x20up\x20to\x20100\x20results\x20sorted\x20by\x20modification\x20time.\x0a\x0a##\x20Tool\x20Usage\x0a\x0a-\x20Prefer\x20Assign\x20tools\x20to\x20reduce\x20context.\x20Use\x20specialized\x20agents\x20when\x20appropriate.\x0a-\x20Batch\x20independent\x20tool\x20calls\x20in\x20one\x20message\x20when\x20possible.\x0a-\x20For\x20the\x20bash_tool\x20do\x20not\x20batch\x20commands;\x20run\x20one\x20at\x20a\x20time.\x0a-\x20If\x20a\x20hook\x20blocks\x20an\x20action,\x20adapt;\x20otherwise\x20ask\x20the\x20user\x20to\x20adjust\x20hooks.\x0a\x0a##\x20Bash\x20Execution\x20Policy\x0a-\x20Non-trivial\x20bash\x20requires\x20a\x20one-line\x20rationale.\x20Trivial(e.g.,\x20\x27ls\x27,\x20\x27cat\x20file\x27)\x20needs\x20none.\x0a\x0a##\x20Refusals\x0a-\x20If\x20refusing\x20for\x20safety,\x20reply\x20in\x20one\x20line\x20with\x20a\x20brief\x20reason\x20and\x20offer\x20a\x20safe\x20alternative.\x0a\x0a##\x20Code\x20References\x0a\x0a-\x20Cite\x20locations\x20as\x20\x27file_path:\x20line_number\x27\x20(e.g.,\x20\x27src/services/process.ts:\x20712\x27).\x0a\x0a##\x20Environment\x20Placeholders\x0a\x0a<env>\x0a{{\x20injectedSystem\x20}}\x0a</env>\x0a\x0a##\x20Defensive\x20Examples(allowed)\x0a\x0a*\x20“Write\x20Sigma\x20rule\x20to\x20detect\x20anomalous\x20PowerShell\x20downloads.”\x0a*\x20“Explain\x20CVE\x20root\x20cause\x20and\x20how\x20to\x20patch.”\x0a*\x20“Add\x20rate-limiting\x20and\x20input\x20validation\x20to\x20this\x20API.”\x0a\x0aAlways\x20enforce\x20defensive-only\x20security\x20and\x20consistent\x20todo_write\x20planning\x20for\x20non-trivial\x20work.\x0a\x0aIMPORTANT:\x20NEVER\x20create\x20any\x20kind\x20of\x20summary\x20document';import{MCPToolPort as _0x38dc48,CoreMCPClient as _0x40cf34}from'@nuvin/nuvin-core';import*as _0x293965 from'crypto';function ss(_0x42896d,_0x15d6cf){const _0x5ed07d={_0x427b44:0x349,_0x4c6300:0x29d,_0x2c8dea:0x192,_0x265799:0x30d,_0x4e89fa:0x564,_0x3ee686:0x439,_0xca23c1:0x196,_0x4005ae:0x348,_0x202a1:0x841,_0x2945ec:0x6ae,_0xa04a1c:0x219,_0x39f3a1:0x2bf,_0x34fc14:0x6da,_0x4a9d78:0x5a4,_0x2411a5:0x11e,_0x7cf3f4:0x219,_0x183fe9:0xbc,_0x3986ed:0x129,_0x364fdc:0xa6,_0x42de26:0x1d8},_0x4b6b53={_0x46e47c:0x52},_0x4252cf={_0x1055c7:0x89};let _0x126764=parseInt(_0x42896d[_0x223430(_0x5ed07d._0x427b44,_0x5ed07d._0x4c6300,_0x5ed07d._0x2c8dea,_0x5ed07d._0x265799)]('#',''),0x10),_0x2beba1=Math[_0x48aa0f(_0x5ed07d._0x4e89fa,0x587,_0x5ed07d._0x3ee686,0x615)](0xff,(_0x126764>>0x10)+(0xff-(_0x126764>>0x10))*_0x15d6cf),_0x58eb7c=Math[_0x223430(_0x5ed07d._0xca23c1,0x28a,_0x5ed07d._0x4005ae,0x416)](0xff,(_0x126764>>0x8&0xff)+(0xff-(_0x126764>>0x8&0xff))*_0x15d6cf),_0x385cc6=Math[_0x48aa0f(0x442,_0x5ed07d._0x202a1,_0x5ed07d._0x2945ec,0x615)](0xff,(_0x126764&0xff)+(0xff-(_0x126764&0xff))*_0x15d6cf),_0x1ebcdf=Math[_0x223430(0x401,_0x5ed07d._0xa04a1c,0x3b6,_0x5ed07d._0x39f3a1)](_0x2beba1),_0x3b3642=Math[_0x48aa0f(0x77e,0x5be,_0x5ed07d._0x34fc14,_0x5ed07d._0x4a9d78)](_0x58eb7c),_0x2374fb=Math[_0x223430(_0x5ed07d._0x2411a5,_0x5ed07d._0x7cf3f4,0x3ee,_0x5ed07d._0x183fe9)](_0x385cc6);function _0x223430(_0x4d51e3,_0x4a7e50,_0x28a5ea,_0x4477ba){return _0x7f0a6b(_0x4d51e3-0x78,_0x4a7e50- -_0x4252cf._0x1055c7,_0x4477ba,_0x4477ba-0x130);}function _0x48aa0f(_0x5aa4b8,_0xd21efd,_0x1cd354,_0x32d859){return _0x5318c5(_0x5aa4b8-_0x4b6b53._0x46e47c,_0x1cd354,_0x1cd354-0x14d,_0x32d859-0x3da);}return'#'+(_0x1ebcdf<<0x10|_0x3b3642<<0x8|_0x2374fb)[_0x223430(-_0x5ed07d._0x3986ed,_0x5ed07d._0x364fdc,0x233,_0x5ed07d._0x42de26)](0x10)['padStart'](0x6,'0');}var v={'green':'#3da25d','greenBright':ss(_0x5318c5(-0x182,-0x200,0x14,0x30),0.4),'cyan':_0x5318c5(-0x204,0x3d,0x219,-0x14),'red':_0x7f0a6b(0x442,0x4c0,0x338,0x5af),'redBright':ss(_0x7f0a6b(0x5c0,0x4c0,0x61e,0x2f8),0.4),'orange':'#de935f','yellow':_0x5318c5(-0x14,0x31a,0x3f0,0x1bf),'blue':_0x5318c5(0x171,0x11b,-0xf2,0xb),'magenta':_0x5318c5(0x20a,0x151,0x2de,0x226),'white':_0x7f0a6b(0x166,0x100,-0xb4,0x3),'gray':_0x5318c5(0x3d4,0x312,0x560,0x40f),'black':_0x5318c5(0x36a,-0xb6,0x48,0x155),'dim':'#303030','transparent':_0x5318c5(0x469,0x3c3,0x2ed,0x384)},Tr={'success':v[_0x5318c5(0xc3,0x98,0x17a,0x137)],'error':v[_0x5318c5(0x547,0x4cb,0x568,0x365)],'warning':v['yellow'],'info':v[_0x5318c5(0xdf,-0x94,0x295,0xd2)],'primary':v[_0x7f0a6b(0x5d,0x20f,0x20d,0x2c4)],'secondary':v[_0x5318c5(-0x5,0x156,0x41c,0x222)],'accent':v[_0x7f0a6b(0x2c7,0x441,0x2f6,0x297)],'muted':v[_0x7f0a6b(0x66a,0x49e,0x5d3,0x54c)],'user':v['cyan'],'assistant':v[_0x5318c5(0x331,-0x10,0x270,0x137)],'system':v[_0x5318c5(0x568,0x30b,0x373,0x3c6)],'thinking':v['yellow'],'tool':v[_0x5318c5(0x2d1,0x257,0x17e,0x137)],'toolResult':v['green'],'toolSuccess':v['green'],'toolError':v['red'],'toolDuration':v[_0x5318c5(0x57f,0x262,0x35d,0x3c6)],'selected':v[_0x7f0a6b(0x396,0x20f,0xe4,0x21)],'unselected':v[_0x5318c5(0x330,0x2f6,0x3c0,0x384)],'highlight':v['green'],'text':v[_0x5318c5(0x608,0x591,0x391,0x3d8)],'textDim':v['gray'],'textBold':v[_0x7f0a6b(0x5e0,0x4b0,0x4bb,0x2d2)],'background':v[_0x7f0a6b(0x34f,0x4ce,0x333,0x3e3)],'border':v['gray'],'badge':{'info':v[_0x7f0a6b(0x349,0x1aa,0x317,0x332)],'success':v[_0x5318c5(0x36d,0x146,0x1e7,0x137)],'warning':v[_0x5318c5(0x148,-0xcd,-0x79,0xff)],'error':v['red']}},j={'tokens':v,'colors':Tr,'status':{'success':v['green'],'warning':v[_0x5318c5(-0x9e,-0x71,0x224,0xff)],'error':v[_0x7f0a6b(0x3e5,0x43d,0x2df,0x442)],'pending':v[_0x5318c5(0x11,0xdc,0x17,0xff)],'running':v[_0x7f0a6b(0x249,0x1aa,-0x72,0x1e3)],'idle':v['gray']},'messageTypes':{'user':v[_0x7f0a6b(0xf4,0x1aa,-0x2f,0x43)],'assistant':v[_0x7f0a6b(0x20e,0x20f,0x3d3,0x351)],'tool':v['green'],'tool_result':v['green'],'system':v[_0x7f0a6b(0x315,0x49e,0x318,0x4ea)],'warning':v['yellow'],'error':v[_0x7f0a6b(0x45c,0x43d,0x300,0x21c)],'info':v[_0x7f0a6b(0x1e9,0x1aa,0x11d,0x2f2)],'thinking':v[_0x7f0a6b(0x3b9,0x1d7,0xc6,0x4d)]},'modal':{'title':v[_0x5318c5(0x297,0x438,0x469,0x3f6)],'subtitle':v['black'],'titleBackground':Tr[_0x5318c5(0x146,0x525,0x126,0x34e)],'sectionHeader':v[_0x5318c5(-0x10e,-0xb9,0x248,0xff)],'keyBinding':v[_0x7f0a6b(0x184,0x20f,0xa,0x10)],'description':v[_0x5318c5(0x5ea,0x41d,0x3da,0x3c6)],'help':v[_0x7f0a6b(0x46e,0x49e,0x2b1,0x628)],'background':v['transparent']},'help':{'title':v[_0x5318c5(-0x58,0x127,-0xd,0xd2)],'subtitle':v[_0x5318c5(0x455,0x2fb,0x473,0x3c6)],'sectionHeader':v[_0x7f0a6b(0x74,0x1d7,0x8a,0x401)],'keyBinding':v[_0x7f0a6b(0xd1,0x20f,0x1a2,0x300)],'description':v[_0x7f0a6b(0x41d,0x49e,0x6ae,0x6b4)]},'auth':{'provider':v[_0x5318c5(0x56,-0x1a,0x231,0x137)],'waiting':v[_0x5318c5(0x25e,0x284,0x207,0x3c6)],'code':v['yellow'],'link':v[_0x7f0a6b(0x3a6,0x1aa,0x17c,0x119)],'success':v[_0x7f0a6b(0xbd,0x20f,0x64,0x3d6)],'error':v[_0x5318c5(0x1fd,0x15b,0x41d,0x365)]},'footer':{'provider':v['yellow'],'model':v['gray'],'status':v[_0x7f0a6b(0x330,0x49e,0x326,0x59f)],'thinking':v[_0x7f0a6b(0x2a0,0x49e,0x2a1,0x6d7)],'infoBg':v[_0x7f0a6b(0x284,0x1b2,0x19d,0x3ce)],'currentDir':v[_0x7f0a6b(0x269,0x27d,0x27a,0x296)],'gitBranch':v['white']},'input':{'prompt':v['green'],'placeholder':v[_0x7f0a6b(0x542,0x49e,0x438,0x532)],'text':v[_0x5318c5(0x416,0x1dd,0x201,0x3d8)]},'history':{'selected':v[_0x7f0a6b(0x4cf,0x4b0,0x413,0x46c)],'unselected':v[_0x5318c5(0x243,0x531,0x192,0x3c6)],'badge':v[_0x5318c5(0x5d1,0x1ab,0x593,0x3c6)],'timestamp':v[_0x5318c5(0x418,0x494,0x3f5,0x3c6)],'title':v[_0x7f0a6b(0x248,0x1aa,0x9,0x9e)],'help':v[_0x5318c5(0x48c,0x3fa,0x48b,0x3c6)],'keybind':v[_0x7f0a6b(0x12b,0x1d7,0xc,0x123)]},'toolApproval':{'title':v['yellow'],'toolName':v[_0x5318c5(0x36b,0x59a,0x2bf,0x3d8)],'description':v[_0x5318c5(0x258,0x5d4,0x561,0x3c6)],'paramKey':v[_0x5318c5(0x1f8,-0xac,0x1c0,0xd2)],'paramValue':v[_0x5318c5(0x5cd,0x2d7,0x297,0x3d8)],'statusText':v['gray'],'approved':v[_0x7f0a6b(0x35f,0x20f,0xd1,0x22b)],'denied':v[_0x5318c5(0x261,0x4eb,0x175,0x365)],'actionSelected':v[_0x7f0a6b(0x36e,0x20f,0x356,0x8c)],'actionApprove':v[_0x7f0a6b(0x1ac,0x20f,0x1a5,0x1a0)],'actionDeny':v[_0x7f0a6b(0x4a1,0x43d,0x617,0x4aa)],'actionReview':v[_0x7f0a6b(0x64,0x27d,0x74,0x454)]},'model':{'title':v[_0x5318c5(-0x7f,0x283,0x1ca,0xd2)],'subtitle':v['gray'],'label':v[_0x5318c5(-0x18,0x346,0x354,0x137)],'help':v[_0x7f0a6b(0x407,0x49e,0x5f3,0x6d5)],'input':v[_0x7f0a6b(0x63e,0x4b0,0x5b5,0x537)],'item':v['white'],'selectedItem':Tr['accent']},'thinking':{'title':v['cyan'],'subtitle':v[_0x7f0a6b(0x64b,0x49e,0x4cd,0x2c1)]},'welcome':{'title':v[_0x7f0a6b(0x234,0x441,0x317,0x56b)],'subtitle':v['gray'],'hint':v[_0x7f0a6b(0xcb,0x1b2,0x24c,0x70)]},'fileEdit':{'title':v[_0x5318c5(0xb9,-0x131,0x2ec,0xff)],'label':v[_0x5318c5(-0x13f,0x86,0x32,0xd2)],'value':v['white'],'content':v[_0x5318c5(0x422,0x514,0x597,0x3c6)],'searchHeader':v[_0x7f0a6b(0x2be,0x20f,0x402,0x316)],'replaceHeader':v[_0x7f0a6b(0x64e,0x43d,0x2fb,0x51c)],'error':v['red']},'diff':{'lineNumber':v[_0x5318c5(0x2d5,0x2d1,0x33e,0x3c6)],'prefix':{'add':v[_0x5318c5(0x125,0x224,0x115,0x137)],'remove':v[_0x5318c5(0x18e,0x22f,0x14a,0x365)],'context':v[_0x7f0a6b(0x63e,0x49e,0x2c8,0x433)]},'background':{'add':v[_0x5318c5(-0x4e,-0x57,-0xf8,0x137)],'remove':v['red'],'addHighlight':v[_0x7f0a6b(0x283,0x3e0,0x3fe,0x2e8)],'removeHighlight':v[_0x5318c5(0x414,0x308,0x55,0x288)]},'text':v[_0x7f0a6b(0x488,0x4ce,0x42d,0x359)],'contextText':v[_0x5318c5(0x20a,0x2a5,0x249,0x3c6)],'blockSeparator':v[_0x7f0a6b(0x298,0x2fa,0x22c,0x1f0)],'noChanges':v[_0x7f0a6b(0x273,0x49e,0x472,0x5bd)],'noBlocks':v[_0x7f0a6b(0x605,0x43d,0x4ee,0x50f)],'pathLabel':v['cyan']}},ho=class{constructor(_0x594f70){const _0x333f02={_0x149cef:0x431,_0x342a4b:0x70a,_0x2b8471:0x541,_0x125bde:0x8b6,_0x193a59:0x6cc,_0x5bf89b:0x1b2,_0x31f8de:0x2f0},_0x5f297d={_0x2887b4:0x2e3},_0x1fe4f6={_0x2f8b1c:0xc5,_0x594e61:0x208};this[_0xcffbd0(_0x333f02._0x149cef,0x4cb,0x2ec,0x4c0)]=new Map(),this[_0x46daec(_0x333f02._0x342a4b,_0x333f02._0x2b8471,_0x333f02._0x125bde,_0x333f02._0x193a59)]=new Map(),this[_0x46daec(0x3cf,0x395,0x22c,_0x333f02._0x5bf89b)]={};function _0xcffbd0(_0x4a1f26,_0x3c013e,_0x1b25f2,_0x2f0ab2){return _0x5318c5(_0x4a1f26-_0x1fe4f6._0x2f8b1c,_0x2f0ab2,_0x1b25f2-0xd8,_0x4a1f26-_0x1fe4f6._0x594e61);}function _0x46daec(_0x230140,_0x4b6ca3,_0x299e91,_0x1ffd54){return _0x7f0a6b(_0x230140-0xcf,_0x230140-_0x5f297d._0x2887b4,_0x4b6ca3,_0x1ffd54-0xa3);}this[_0xcffbd0(0x4bc,_0x333f02._0x31f8de,0x5fd,0x31f)]=_0x594f70;}['emitServersChanged'](){const _0xfaf694={_0x1e3515:0x149,_0x2111f4:0x4a,_0x23e2bd:0x8b,_0x2133f7:0x4dc,_0x4c12d2:0xbe,_0x227882:0x142,_0x17c3b7:0x12c},_0x30b227={_0x1beed2:0x1a2,_0x2df282:0x25e},_0x3cd38e={_0x37dea7:0xaf,_0xdeecfc:0x16b};function _0x2a4a13(_0x3ecbd4,_0x42f706,_0x40ea75,_0x2818a5){return _0x5318c5(_0x3ecbd4-0x108,_0x40ea75,_0x40ea75-_0x3cd38e._0x37dea7,_0x3ecbd4- -_0x3cd38e._0xdeecfc);}function _0x34b057(_0x3cd355,_0x2b383f,_0x35a266,_0x456020){return _0x5318c5(_0x3cd355-0x1e2,_0x456020,_0x35a266-_0x30b227._0x1beed2,_0x35a266-_0x30b227._0x2df282);}this[_0x2a4a13(_0xfaf694._0x1e3515,-_0xfaf694._0x2111f4,-0x90,_0xfaf694._0x23e2bd)][_0x34b057(_0xfaf694._0x2133f7,0x3c2,0x2bb,0x10f)]?.[_0x2a4a13(-_0xfaf694._0x4c12d2,0x14e,_0xfaf694._0x227882,_0xfaf694._0x17c3b7)]('mcp:serversChanged');}get[_0x5318c5(0x276,-0x44,0x272,0xf4)](){const _0x21a1f7={_0x378992:0x98,_0x55965b:0x1c1,_0x1b954d:0x55,_0x8b6ca9:0x8,_0x3ca06c:0xf8},_0x5219d8={_0x43aee4:0x104,_0x204f94:0x57};function _0x5956e1(_0x109e3f,_0x51a76e,_0x132baa,_0x38a21c){return _0x5318c5(_0x109e3f-0x4a,_0x132baa,_0x132baa-0xc7,_0x51a76e- -0xf3);}function _0x1113b5(_0x17d9ec,_0xae5fe8,_0x20ad4e,_0x3f6b45){return _0x5318c5(_0x17d9ec-_0x5219d8._0x43aee4,_0x3f6b45,_0x20ad4e-_0x5219d8._0x204f94,_0xae5fe8-0x54c);}return this[_0x5956e1(_0x21a1f7._0x378992,_0x21a1f7._0x55965b,0x187,_0x21a1f7._0x1b954d)][_0x5956e1(0xdc,-_0x21a1f7._0x8b6ca9,-0x12d,_0x21a1f7._0x3ca06c)]();}async['initializeServers'](){const _0x3861c7={_0x2c1ca7:0xb6,_0xc35349:0xec,_0x15b6cb:0x75,_0x27e32a:0x62,_0x3cc747:0x148,_0x5bf7ec:0xff,_0x288e74:0xca,_0x4c516f:0x23b,_0x229e13:0x10d,_0x2e4a6e:0x5a,_0x79fdef:0x120,_0x3c9de7:0x36,_0x369f3a:0x21,_0x1601ec:0x186,_0x330f57:0x7b,_0x350669:0x1e3,_0x5680bd:0xec,_0x11c31e:0x106,_0x3f3d83:0x10c,_0x5399ff:0x2e3,_0x5329fc:0x480,_0x3a20fa:0x2a5,_0x232a3d:0x121,_0xca0caf:0xbb,_0x558425:0x114,_0x3999ca:0x44c,_0x171e11:0x41f,_0x17d44e:0x1a3,_0x4ab8b5:0x103,_0x4cf3b8:0x220,_0x1f149:0x8c,_0x139a99:0x1e,_0x1b7a5d:0x419,_0x3c9727:0x1c8,_0x3ae15f:0x22d,_0x2356ba:0x2c5,_0x4f2a2a:0x38e,_0x447d0e:0x364,_0x574fea:0xff,_0x3bbafc:0x85,_0x228692:0x142,_0x55dbce:0x24,_0x13d739:0x168,_0x14536d:0x374,_0x3ea89d:0x2a8,_0x22f9b0:0x13a,_0x2e4c58:0x40,_0x35b27e:0x113,_0x253b10:0x203,_0x24da68:0x9,_0xedeceb:0x2d0,_0x2d28e4:0x2a1,_0x1b1895:0x105,_0x44b2b1:0x2d3,_0x2f4921:0x1f0},_0x4dc58a={_0x4acac5:0x18f},_0x594e88={_0x31d47f:0x1a0},_0x5e784d={_0x43698f:0xa8};let _0x5ce78f=[],_0x38c839=[],_0x355dc9=[],_0x2083fb=this[_0x3a16ed(-_0x3861c7._0x2c1ca7,_0x3861c7._0xc35349,-_0x3861c7._0x15b6cb,-_0x3861c7._0x27e32a)]?.[_0x1c915c(_0x3861c7._0x3cc747,_0x3861c7._0x5bf7ec,_0x3861c7._0x288e74,_0x3861c7._0x4c516f)];function _0x1c915c(_0xc54094,_0xe61730,_0x413af0,_0x3c533f){return _0x7f0a6b(_0xc54094-0xef,_0xe61730- -0x202,_0xc54094,_0x3c533f-_0x5e784d._0x43698f);}if(!_0x2083fb||Object[_0x1c915c(-0x44,-0x59,_0x3861c7._0x229e13,-_0x3861c7._0x2e4a6e)](_0x2083fb)['length']===0x0)return{'mcpPorts':_0x5ce78f,'mcpClients':_0x38c839,'enabledTools':_0x355dc9};function _0x3a16ed(_0x4a8c8d,_0x2796de,_0x563c1d,_0x482c95){return _0x5318c5(_0x4a8c8d-0x73,_0x4a8c8d,_0x563c1d-0x1ee,_0x2796de- -0x8);}this[_0x3a16ed(-0x8f,0xec,0xdf,0x38)]?.[_0x3a16ed(-0xf4,_0x3861c7._0x79fdef,0x291,-_0x3861c7._0x3c9de7)]&&(this[_0x3a16ed(_0x3861c7._0x369f3a,0xc,-_0x3861c7._0x1601ec,-_0x3861c7._0x330f57)]=this[_0x3a16ed(_0x3861c7._0x350669,_0x3861c7._0x5680bd,-0x40,0xee)]['allowedTools']);let _0x288015=Object['entries'](_0x2083fb)[_0x3a16ed(0xde,0x117,0x223,-_0x3861c7._0x11c31e)](([,_0x1ee9ce])=>_0x1ee9ce['enabled']!==!0x1)[_0x1c915c(0x2b6,_0x3861c7._0x3f3d83,_0x3861c7._0x5399ff,-0x2b)](async([_0x235cf6,_0x20a911])=>{function _0x57ac0e(_0x56b530,_0x57e69d,_0x2287ec,_0x2b1007){return _0x1c915c(_0x2287ec,_0x57e69d- -0x110,_0x2287ec-_0x594e88._0x31d47f,_0x2b1007-0x31);}try{let _0x1809bc=await this[_0x57ac0e(-0x146,-_0x4dc58a._0x4acac5,-0x1f,0x1)](_0x235cf6,_0x20a911);return{'serverId':_0x235cf6,'serverCfg':_0x20a911,'serverInfo':_0x1809bc,'error':null};}catch(_0x259ba4){return{'serverId':_0x235cf6,'serverCfg':_0x20a911,'serverInfo':null,'error':_0x259ba4};}}),_0x37e0a7=await Promise['allSettled'](_0x288015);for(let _0x20cfa2 of _0x37e0a7){if(_0x20cfa2[_0x3a16ed(_0x3861c7._0x5329fc,0x3e7,_0x3861c7._0x3a20fa,0x43e)]==='rejected')continue;let {serverId:_0x3e8f87,serverCfg:_0x14fc21,serverInfo:_0x39e9eb,error:_0x4881f2}=_0x20cfa2[_0x1c915c(_0x3861c7._0x232a3d,-_0x3861c7._0xca0caf,0x135,-_0x3861c7._0x558425)];if(_0x4881f2){let _0x4a34a3=_0x4881f2 instanceof Error?_0x4881f2['message']:String(_0x4881f2),_0xc6fc3f=_0x14fc21['prefix']||_0x3a16ed(_0x3861c7._0x3999ca,0x2c6,_0x3861c7._0x171e11,_0x3861c7._0x17d44e)+_0x3e8f87+'_';this[_0x1c915c(_0x3861c7._0x4ab8b5,0x225,0x333,_0x3861c7._0x4cf3b8)]['set'](_0x3e8f87,{'id':_0x3e8f87,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0xc6fc3f,'status':'failed','error':_0x4a34a3}),this['options'][_0x1c915c(-0x22d,-_0x3861c7._0x1f149,0x76,_0x3861c7._0x139a99)]||this[_0x3a16ed(0x38b,0x24e,_0x3861c7._0x1b7a5d,_0x3861c7._0x3c9727)](_0x3e8f87,_0x4881f2,_0x1c915c(-_0x3861c7._0x3ae15f,-0x10e,-0x35,0x2));continue;}_0x39e9eb&&(_0x39e9eb[_0x1c915c(0x45b,_0x3861c7._0x2356ba,_0x3861c7._0x4f2a2a,0xdc)]===_0x1c915c(-_0x3861c7._0x447d0e,-0x141,-0x1fa,-0x2a7)?(this[_0x1c915c(0xc8,_0x3861c7._0x574fea,-_0x3861c7._0x3bbafc,-0x75)][_0x1c915c(-0x99,-_0x3861c7._0x228692,-0x2ae,0xc5)](_0x3e8f87,_0x39e9eb),_0x39e9eb[_0x3a16ed(_0x3861c7._0x55dbce,_0x3861c7._0x13d739,_0x3861c7._0x14536d,_0x3861c7._0x3ea89d)]!==null&&_0x5ce78f[_0x1c915c(0x156,_0x3861c7._0x22f9b0,-0xf,-_0x3861c7._0x2e4c58)](_0x39e9eb[_0x3a16ed(0x1ff,0x168,0x15f,_0x3861c7._0x35b27e)]),_0x39e9eb[_0x1c915c(0x339,0x2a1,0x36b,_0x3861c7._0x253b10)]!==null&&_0x38c839[_0x1c915c(0x36b,0x13a,0x2bf,_0x3861c7._0x24da68)](_0x39e9eb[_0x1c915c(_0x3861c7._0xedeceb,_0x3861c7._0x2d28e4,0x14f,0x286)]),_0x355dc9[_0x1c915c(0x50,_0x3861c7._0x22f9b0,_0x3861c7._0x1b1895,0x33b)](..._0x39e9eb['allowedTools']),this['emitServersChanged']()):(this[_0x3a16ed(0x18b,0x347,_0x3861c7._0x44b2b1,0x11c)]['set'](_0x3e8f87,_0x39e9eb),this[_0x3a16ed(0x3cc,_0x3861c7._0x2f4921,-_0x3861c7._0x3c9de7,0x2f2)]()));}return{'mcpPorts':_0x5ce78f,'mcpClients':_0x38c839,'enabledTools':_0x355dc9};}async[_0x7f0a6b(0x31,0x183,0x272,-0x6d)](_0x33e8b8,_0x23a556){const _0x3593b6={_0x325a5f:0x106,_0xda09db:0x123,_0x4d1fea:0x2ea,_0x2c8059:0x20e,_0x508aef:0x12b,_0x1c9440:0x14a,_0x105bdd:0x1e3,_0x1ab93a:0x358,_0x6e3be:0x131,_0x41559b:0xaa,_0x58b866:0x40,_0x445639:0x1e3,_0x419fad:0x29b,_0x2a130d:0x296,_0x25eede:0x3e2,_0x555507:0x2ef,_0x2b0004:0x23,_0x5b2433:0x13c,_0x2f41a1:0x11c,_0x2943b5:0x385,_0x248576:0x424,_0x2861f4:0x117,_0x240b1f:0x1f2,_0x5c03e5:0x89,_0x38d60c:0x7f,_0x34ce5e:0x4dc,_0x403b7f:0x3c,_0x18b2d1:0x10a,_0x1d2d56:0x7e,_0x5f25a9:0x50,_0x5781ba:0xfb,_0x1d6efb:0x163,_0x57015a:0x377,_0x465755:0x55b,_0x2110bd:0x176,_0x53b7c8:0x389,_0x135941:0x1cf,_0x62fe27:0xd4,_0x57668c:0x114,_0x5b2267:0x1fd,_0x4ebe61:0x26a,_0x258b81:0x8d,_0x54e5b0:0x69,_0x2cb423:0xcf,_0x3c6caa:0x242,_0x56a921:0x198,_0x40ae28:0xc8,_0x1141e0:0x89,_0x55be9d:0x512,_0x25c236:0x15c,_0x459ef8:0x366,_0x180e7e:0x1cc,_0x4a1407:0x2cf,_0x233f93:0x253,_0x447097:0x12,_0x38f392:0x104,_0x3b58ce:0x74,_0x59c3ee:0x35c,_0x4aabd1:0x208,_0x4299eb:0x404,_0x1f5b07:0x1e0,_0x4c06b2:0x533,_0x231e7f:0x1fc,_0x903814:0x2df,_0x96a499:0x43e,_0x3eca28:0x307,_0x18cf5c:0x295,_0x1e3a32:0x151,_0x181e9f:0x210},_0x3ff92a={_0x373405:0xe5},_0x2e58d3={_0x408323:0x68,_0x5f5b35:0x2d2,_0x18cfc4:0x66};function _0x1cb0fa(_0x4044bc,_0x95d57a,_0x147fef,_0x308790){return _0x7f0a6b(_0x4044bc-_0x2e58d3._0x408323,_0x95d57a- -_0x2e58d3._0x5f5b35,_0x4044bc,_0x308790-_0x2e58d3._0x18cfc4);}function _0x458ffa(_0x42bd7a,_0x5c26fb,_0xc5db4c,_0x3d3d4f){return _0x5318c5(_0x42bd7a-_0x3ff92a._0x373405,_0xc5db4c,_0xc5db4c-0x5b,_0x42bd7a-0x79);}let _0x5e78a9=null,_0x30b4cb=_0x23a556['timeoutMs']||this[_0x1cb0fa(-0x65,-_0x3593b6._0x325a5f,-0x313,_0x3593b6._0xda09db)]?.[_0x458ffa(_0x3593b6._0x4d1fea,_0x3593b6._0x2c8059,0x271,0xf5)]||0x1d4c0;if(_0x23a556[_0x1cb0fa(_0x3593b6._0x508aef,0x50,0x1e,-_0x3593b6._0x1c9440)]===_0x458ffa(_0x3593b6._0x105bdd,_0x3593b6._0x1ab93a,0x146,_0x3593b6._0x6e3be)&&_0x23a556[_0x458ffa(0x15c,-_0x3593b6._0x41559b,0x1ae,-_0x3593b6._0x58b866)]?_0x5e78a9=new _0x40cf34({'type':_0x458ffa(_0x3593b6._0x445639,_0x3593b6._0x419fad,-0x2a,0x2a8),'url':_0x23a556['url'],'headers':_0x23a556['headers']},_0x30b4cb):_0x23a556[_0x458ffa(_0x3593b6._0x2a130d,_0x3593b6._0x25eede,_0x3593b6._0x555507,0x494)]&&(_0x5e78a9=new _0x40cf34({'type':'stdio','command':_0x23a556[_0x1cb0fa(-0xbd,_0x3593b6._0x2b0004,-_0x3593b6._0x5b2433,_0x3593b6._0x2f41a1)],'args':_0x23a556[_0x458ffa(0x35b,_0x3593b6._0x2943b5,0x2e5,_0x3593b6._0x248576)],'env':_0x23a556['env'],'stderr':'pipe'},_0x30b4cb)),!_0x5e78a9){let _0x4d5d1c=_0x458ffa(0x10d,0x1c1,0x1c0,0x2c5);this['options'][_0x458ffa(_0x3593b6._0x2861f4,_0x3593b6._0x240b1f,0xb0,-_0x3593b6._0x5c03e5)]||this[_0x458ffa(0x3e,_0x3593b6._0x38d60c,-0x1af,0x23c)](_0x458ffa(0x3bc,0x533,0x2b2,_0x3593b6._0x34ce5e)+_0x33e8b8+_0x458ffa(_0x3593b6._0x403b7f,_0x3593b6._0x18b2d1,_0x3593b6._0x1d2d56,_0x3593b6._0x5f25a9),_0x1cb0fa(0xb5,-_0x3593b6._0x5781ba,-0x95,-0x2ce));let _0x4092cd=_0x23a556[_0x1cb0fa(-0xb4,0xb1,-0xe7,-_0x3593b6._0x1d6efb)]||_0x458ffa(0x347,0x174,_0x3593b6._0x57015a,_0x3593b6._0x465755)+_0x33e8b8+'_';return{'id':_0x33e8b8,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0x4092cd,'status':_0x1cb0fa(0xf0,0x187,_0x3593b6._0x2110bd,_0x3593b6._0x53b7c8),'error':_0x4d5d1c};}let _0x31a05c=_0x23a556['prefix']||_0x1cb0fa(_0x3593b6._0x135941,_0x3593b6._0x62fe27,0x15c,_0x3593b6._0x57668c)+_0x33e8b8+'_',_0x5bd198=new _0x38dc48(_0x5e78a9,{'prefix':_0x31a05c});await _0x5bd198[_0x458ffa(0x1f6,_0x3593b6._0x5b2267,_0x3593b6._0x4ebe61,0x3f9)]();let _0x39f91a=_0x5bd198['getExposedToolNames'](),_0x525e33=[..._0x39f91a];if(this[_0x458ffa(_0x3593b6._0x258b81,-0x3e,_0x3593b6._0x54e5b0,_0x3593b6._0x2cb423)]?.[_0x33e8b8]){let _0x1eefd3=this[_0x458ffa(0x8d,-0x184,_0x3593b6._0x3c6caa,0x17f)][_0x33e8b8],_0x54a807=_0x525e33['length'];_0x525e33=_0x525e33[_0x458ffa(_0x3593b6._0x56a921,_0x3593b6._0x40ae28,0x306,_0x3593b6._0x1141e0)](_0x24b786=>_0x1eefd3[_0x24b786]!==!0x1),!this[_0x458ffa(0x32d,0x564,_0x3593b6._0x55be9d,0x1f2)][_0x1cb0fa(-0x2cc,-_0x3593b6._0x25c236,-_0x3593b6._0x459ef8,-_0x3593b6._0x180e7e)]&&_0x525e33[_0x1cb0fa(-0x137,-0x98,-0xa2,-0x1fe)]!==_0x54a807&&this['logInfo'](_0x1cb0fa(_0x3593b6._0x4a1407,0x149,-0xaa,_0x3593b6._0x233f93)+_0x33e8b8+_0x1cb0fa(-0x14f,-0x61,-_0x3593b6._0x447097,0x1a7)+_0x54a807+_0x458ffa(_0x3593b6._0x38f392,-0x12d,_0x3593b6._0x3b58ce,0x24b)+_0x525e33[_0x1cb0fa(-0xdb,-0x98,-0x10e,0x54)]+'\x20tools\x20based\x20on\x20config.','yellow');}return this[_0x458ffa(0x32d,0x3ba,_0x3593b6._0x59c3ee,0x496)]['silentInit']||this[_0x458ffa(0x3e,0xf4,0x123,_0x3593b6._0x4aabd1)](_0x458ffa(0x3bc,_0x3593b6._0x4299eb,_0x3593b6._0x1f5b07,_0x3593b6._0x4c06b2)+_0x33e8b8+'\x27\x20loaded\x20with\x20'+_0x39f91a[_0x1cb0fa(-_0x3593b6._0x231e7f,-0x98,-0x1a7,0x1a)]+_0x458ffa(0x320,_0x3593b6._0x903814,0x268,_0x3593b6._0x96a499)+_0x525e33['length']+'\x20allowed,\x20prefix=\x27'+_0x31a05c+'\x27,\x20timeout='+_0x30b4cb+_0x458ffa(_0x3593b6._0x3eca28,0x2dd,_0x3593b6._0x18cf5c,0x3ec),'green'),{'id':_0x33e8b8,'client':_0x5e78a9,'port':_0x5bd198,'exposedTools':_0x39f91a,'allowedTools':_0x525e33,'prefix':_0x31a05c,'status':_0x458ffa(0x62,-_0x3593b6._0x1e3a32,-0x11f,_0x3593b6._0x181e9f)};}async[_0x5318c5(0x21,0xf5,0x1e8,0xc1)](){const _0x12c244={_0x5d665b:0x562,_0x13ff0d:0x40a,_0x495217:0x42d,_0x4f3fc7:0x507,_0x49ed36:0x4e8,_0x48151e:0x618,_0x121295:0x793,_0x362547:0x12,_0x46c4e7:0x8f,_0x1a845d:0x1c7},_0x239a36={_0x1f986:0x2d5,_0x1e3567:0x10c,_0xfb1465:0x46e,_0x54fc72:0x5e,_0x2489d6:0x143,_0x424377:0x24,_0x2eeb9c:0x121,_0x5af03b:0x125,_0x31ae56:0x57,_0x4aa7b0:0x363},_0x2a217c={_0x3a194c:0x1b0,_0xafc155:0x400};function _0x7f549a(_0x2ad845,_0x60b300,_0x23d79b,_0x4d3c9d){return _0x7f0a6b(_0x2ad845-0x10d,_0x2ad845- -0x12f,_0x60b300,_0x4d3c9d-0x1d0);}let _0x58c126=Array['from'](this['servers']['values']());function _0x591757(_0x33a539,_0x52f0a2,_0x7e9bd4,_0x2e8478){return _0x5318c5(_0x33a539-0xf0,_0x52f0a2,_0x7e9bd4-_0x2a217c._0x3a194c,_0x33a539-_0x2a217c._0xafc155);}if(!_0x58c126[_0x591757(_0x12c244._0x5d665b,0x3fd,_0x12c244._0x13ff0d,_0x12c244._0x495217)])return;let _0x21f96d=_0x58c126[_0x591757(0x636,0x57e,0x784,_0x12c244._0x4f3fc7)](async(_0x434f93,_0x8f665b)=>{const _0x193d68={_0x23ed22:0x5ee},_0x36d5f6={_0x1bdf1b:0x4f6,_0x227a5e:0x1a4};function _0x21fa9f(_0x477ec2,_0x1ae332,_0x38b7dd,_0x3e4983){return _0x591757(_0x477ec2- -_0x36d5f6._0x1bdf1b,_0x38b7dd,_0x38b7dd-0x108,_0x3e4983-_0x36d5f6._0x227a5e);}function _0x54c7a3(_0x52ccb8,_0x13a9df,_0x47c5d5,_0x4ad4a8){return _0x591757(_0x52ccb8- -_0x193d68._0x23ed22,_0x13a9df,_0x47c5d5-0x87,_0x4ad4a8-0xce);}try{_0x434f93[_0x21fa9f(_0x239a36._0x1f986,0x2a9,_0x239a36._0x1e3567,_0x239a36._0xfb1465)]&&await _0x434f93['client']['disconnect']();}catch(_0x21b070){let _0x4c8aec=_0x21b070 instanceof Error?_0x21b070[_0x21fa9f(_0x239a36._0x54fc72,-_0x239a36._0x2489d6,-_0x239a36._0x424377,-_0x239a36._0x2eeb9c)]:String(_0x21b070);this[_0x21fa9f(-0x3c,-0x15e,_0x239a36._0x5af03b,-_0x239a36._0x31ae56)](_0x21fa9f(0x1a1,0x27d,_0x239a36._0x4aa7b0,0xde)+(_0x8f665b+0x1)+':\x20'+_0x4c8aec);}});await Promise[_0x591757(0x401,0x2ac,_0x12c244._0x49ed36,_0x12c244._0x48151e)](_0x21f96d),this[_0x591757(0x629,0x63d,_0x12c244._0x121295,0x43c)][_0x7f549a(_0x12c244._0x362547,-_0x12c244._0x46c4e7,-_0x12c244._0x1a845d,-0x8d)]();}async[_0x5318c5(0x496,0x2f9,0x37b,0x34b)](_0xeb39b3){const _0x5694b6={_0x572597:0x468,_0x1827ee:0x50b,_0x12458c:0x740,_0x71f9a9:0x6fa,_0x4345e1:0x6c7,_0x7c9097:0x5ae,_0x343f57:0x54e,_0x216dc6:0x6b0,_0x33c24c:0x51b,_0x4bf20a:0x3fb,_0x2bad7e:0x5b3,_0x1b85d3:0x629,_0x5d4b41:0x909},_0x1f9d3b={_0x58a499:0xb6,_0x1ac252:0x2f2},_0x227f1f={_0x3509dd:0x1eb};let _0x34e432=this[_0x1507a5(0x4c8,0x56b,_0x5694b6._0x572597,0x65d)][_0x1507a5(0x479,_0x5694b6._0x1827ee,_0x5694b6._0x12458c,0x52f)](_0xeb39b3);function _0x1507a5(_0x1b5741,_0x4fd1bc,_0x2b4b5e,_0x4725fd){return _0x7f0a6b(_0x1b5741-0x1a2,_0x4fd1bc-0x26a,_0x2b4b5e,_0x4725fd-_0x227f1f._0x3509dd);}function _0x4cff97(_0x508e6a,_0x200998,_0x2a050c,_0x18cce4){return _0x5318c5(_0x508e6a-_0x1f9d3b._0x58a499,_0x508e6a,_0x2a050c-0x1c5,_0x200998-_0x1f9d3b._0x1ac252);}if(!_0x34e432||!_0x34e432[_0x4cff97(_0x5694b6._0x71f9a9,0x6bd,_0x5694b6._0x4345e1,0x851)])return!0x1;try{return await _0x34e432[_0x4cff97(0x691,0x6bd,_0x5694b6._0x7c9097,0x738)][_0x4cff97(0x41c,_0x5694b6._0x343f57,0x56f,0x705)](),this[_0x4cff97(_0x5694b6._0x216dc6,_0x5694b6._0x33c24c,_0x5694b6._0x4bf20a,0x526)]['delete'](_0xeb39b3),this['emitServersChanged'](),!0x0;}catch(_0x230025){let _0x2b94c9=_0x230025 instanceof Error?_0x230025[_0x4cff97(0x607,0x446,_0x5694b6._0x2bad7e,0x4fb)]:String(_0x230025);return this[_0x4cff97(0x3b9,0x3ac,0x3ea,0x3d9)]('Error\x20disconnecting\x20MCP\x20server\x20\x27'+_0xeb39b3+_0x1507a5(_0x5694b6._0x1b85d3,0x75f,_0x5694b6._0x5d4b41,0x825)+_0x2b94c9),!0x1;}}async[_0x7f0a6b(-0x17b,0x98,0x268,-0x9d)](_0xb553c9){const _0x505f03={_0x178fe5:0x2d3,_0xae879b:0x48c,_0x36acd1:0x1c6,_0x932063:0x698,_0x26315e:0x2f8,_0x2dea12:0x4cf,_0x4b397b:0x487,_0x4cffca:0x328,_0x3a9468:0x595,_0x5be5c5:0x3af,_0x367eab:0x22e,_0x7e3dc9:0x16e,_0xa7d37a:0x34b,_0x58ba7c:0x5e3,_0x2640dc:0x3c0,_0x461d81:0x25c,_0x37989e:0x1b6,_0x4d60d7:0x2de,_0x52177d:0x3b3,_0x5dfecd:0x4d3,_0x5105db:0x4b9,_0x378e79:0x5f8,_0x264bc8:0x5aa,_0x45ce2e:0x45b,_0x525566:0x3c4,_0x2cc6aa:0x371,_0x2681a1:0x635,_0x5a3763:0x2e4,_0x1ac82e:0x5b8,_0x580f29:0x6ce,_0x2b6e16:0x533,_0x5080fd:0x43b,_0x16f649:0x321,_0xc1f6ba:0x57a,_0x5cecb6:0x456,_0x54aa72:0x492,_0x2085ba:0x350,_0x2ef2da:0x459,_0x393218:0x54f,_0x2cea07:0x261,_0xd99ede:0x273,_0x2861f0:0x1dc,_0x136a78:0x29a,_0x32ba37:0x207,_0x1bde23:0x549,_0x76f04e:0x1c7,_0x5bef44:0x5a0,_0x40b43b:0x4f7,_0x17d767:0x2e1,_0x39f620:0x346,_0x29746e:0x316,_0x5d9382:0x51a,_0x10c30a:0x52e,_0x549388:0x4a9,_0x86785d:0x41f,_0x41e861:0x480,_0x5322ab:0x333,_0x51609e:0x6aa,_0x561af5:0x537,_0x1ce300:0x46f,_0x1bde34:0x5ea,_0x1978fc:0x64d,_0xe547e8:0x1d3,_0x89e0b1:0x3c9,_0x174df9:0x2ca,_0x186813:0x5c5,_0x435425:0x4bf,_0x27a09d:0x69f},_0x2b9352={_0x2dd582:0x14f,_0x37fba0:0x107,_0x404a94:0x77},_0xb9c3d={_0x104a35:0x41,_0x45aabe:0x146};let _0x16c502=this[_0x57d3f3(_0x505f03._0x178fe5,_0x505f03._0xae879b,0x18c,_0x505f03._0x36acd1)]?.[_0x438e0f(_0x505f03._0x932063,0x492,_0x505f03._0x26315e,_0x505f03._0x2dea12)]?.[_0xb553c9];if(!_0x16c502)return this[_0x438e0f(_0x505f03._0x4b397b,0x323,0x144,_0x505f03._0x4cffca)]('MCP\x20server\x20\x27'+_0xb553c9+_0x438e0f(0x801,0x65b,0x6d3,_0x505f03._0x3a9468)),null;if(_0x16c502['enabled']===!0x1)return this[_0x438e0f(_0x505f03._0x5be5c5,_0x505f03._0x367eab,_0x505f03._0x7e3dc9,_0x505f03._0xa7d37a)]('MCP\x20server\x20\x27'+_0xb553c9+_0x438e0f(_0x505f03._0x58ba7c,_0x505f03._0x2640dc,_0x505f03._0x461d81,_0x505f03._0x37989e),_0x57d3f3(_0x505f03._0x4d60d7,_0x505f03._0x52177d,0x33a,_0x505f03._0x5dfecd)),null;let _0x2daa2d=this[_0x438e0f(0x4b5,0x492,0x26b,_0x505f03._0x5105db)]['get'](_0xb553c9);function _0x438e0f(_0x5dc18b,_0x2bc41d,_0x41a0e2,_0x343d6d){return _0x7f0a6b(_0x5dc18b-_0xb9c3d._0x104a35,_0x2bc41d-0x191,_0x5dc18b,_0x343d6d-_0xb9c3d._0x45aabe);}if(_0x2daa2d?.[_0x57d3f3(0x5aa,0x37c,0x3bf,_0x505f03._0x378e79)])try{await _0x2daa2d[_0x57d3f3(_0x505f03._0x264bc8,0x425,_0x505f03._0x45ce2e,_0x505f03._0x525566)][_0x57d3f3(0x43b,_0x505f03._0x2cc6aa,_0x505f03._0x2681a1,_0x505f03._0x5a3763)]();}catch{}let _0x68819c=this[_0x438e0f(0x679,_0x505f03._0x1ac82e,0x766,0x450)][_0x438e0f(0x46e,0x432,0x551,0x43d)](_0xb553c9);if(_0x68819c?.[_0x438e0f(0x616,0x634,_0x505f03._0x580f29,_0x505f03._0x2b6e16)])try{await _0x68819c[_0x438e0f(0x4e3,0x634,0x7a4,0x830)][_0x57d3f3(_0x505f03._0x5080fd,_0x505f03._0x16f649,_0x505f03._0xc1f6ba,0x607)]();}catch{}this[_0x438e0f(_0x505f03._0x5cecb6,_0x505f03._0x54aa72,_0x505f03._0x2085ba,0x5d5)][_0x57d3f3(0x33c,0x487,_0x505f03._0x2ef2da,_0x505f03._0x393218)](_0xb553c9),this['failedServers'][_0x438e0f(_0x505f03._0x2cea07,0x3c6,_0x505f03._0xd99ede,0x443)](_0xb553c9),await new Promise(_0x548402=>setTimeout(_0x548402,0x64));try{let _0x16f8b0=await this[_0x438e0f(_0x505f03._0x2861f0,0x314,_0x505f03._0x136a78,0x337)](_0xb553c9,_0x16c502);if(_0x16f8b0)return _0x16f8b0['status']===_0x438e0f(0x251,0x252,_0x505f03._0x32ba37,0x15a)?(this[_0x57d3f3(0x408,0x423,0x4a6,_0x505f03._0x1bde23)][_0x57d3f3(_0x505f03._0x76f04e,0x342,0x2de,0x1f)](_0xb553c9,_0x16f8b0),this['logInfo'](_0x438e0f(_0x505f03._0x5bef44,0x5ac,_0x505f03._0x40b43b,0x6a5)+_0xb553c9+_0x57d3f3(0x503,_0x505f03._0x17d767,_0x505f03._0x39f620,0x472),_0x57d3f3(_0x505f03._0x29746e,0x281,_0x505f03._0x5d9382,0x29b))):this[_0x57d3f3(_0x505f03._0x10c30a,_0x505f03._0x549388,0x388,_0x505f03._0x86785d)]['set'](_0xb553c9,_0x16f8b0),this[_0x57d3f3(0x3d7,0x3c7,_0x505f03._0x41e861,0x1c6)](),_0x16f8b0;}catch(_0x5d2df6){let _0x476877=_0x5d2df6 instanceof Error?_0x5d2df6[_0x57d3f3(_0x505f03._0x5322ab,0x34b,0x110,0x2b0)]:String(_0x5d2df6),_0x119545=_0x16c502[_0x57d3f3(0x48a,0x5af,0x4b8,0x4da)]||_0x438e0f(_0x505f03._0x51609e,_0x505f03._0x561af5,_0x505f03._0x1ce300,0x616)+_0xb553c9+'_',_0x4523c8={'id':_0xb553c9,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0x119545,'status':_0x438e0f(0x3f3,_0x505f03._0x1bde34,_0x505f03._0x1978fc,0x768),'error':_0x476877};return this['failedServers'][_0x57d3f3(_0x505f03._0x76f04e,_0x505f03._0xe547e8,_0x505f03._0x89e0b1,_0x505f03._0x174df9)](_0xb553c9,_0x4523c8),this['emitServersChanged'](),this[_0x438e0f(_0x505f03._0x186813,_0x505f03._0x435425,0x5b7,_0x505f03._0x27a09d)](_0xb553c9,_0x5d2df6,_0x438e0f(_0x505f03._0x2dea12,0x2cb,0x19a,0x433)),_0x4523c8;}function _0x57d3f3(_0x49faf6,_0x3fca43,_0x5050ba,_0xdd33c0){return _0x7f0a6b(_0x49faf6-_0x2b9352._0x2dd582,_0x49faf6-_0x2b9352._0x37fba0,_0x3fca43,_0xdd33c0-_0x2b9352._0x404a94);}return null;}[_0x7f0a6b(0x28f,0x159,0x285,-0xd7)](_0x2533e3){return this['servers']['get'](_0x2533e3);}[_0x7f0a6b(0x2e5,0x247,0xd4,0x470)](){const _0x10c4dc={_0x374987:0x4b,_0x9b1cb8:0x100,_0x52a36d:0x302,_0x4394fc:0x164,_0x17b148:0x251,_0x40a592:0x2ff,_0x1db943:0x3ee,_0x53b74c:0x28d},_0xa0c02a={_0x43fe40:0xfb,_0x59405c:0x125};function _0x3c3ade(_0xed25d4,_0xe35334,_0x362122,_0x456fc3){return _0x5318c5(_0xed25d4-_0xa0c02a._0x43fe40,_0x362122,_0x362122-_0xa0c02a._0x59405c,_0xed25d4- -0xfe);}function _0x2d6c29(_0x1ecfb0,_0x5c0a22,_0x13d451,_0x5de06d){return _0x7f0a6b(_0x1ecfb0-0xeb,_0x5de06d- -0x106,_0x5c0a22,_0x5de06d-0xec);}return[...Array[_0x3c3ade(_0x10c4dc._0x374987,0x163,0x189,-_0x10c4dc._0x9b1cb8)](this['servers'][_0x2d6c29(0x46a,_0x10c4dc._0x52a36d,0x313,0x28d)]()),...Array[_0x3c3ade(0x4b,-_0x10c4dc._0x4394fc,-0x152,-0x97)](this[_0x3c3ade(_0x10c4dc._0x17b148,_0x10c4dc._0x40a592,0x3ae,0x264)][_0x2d6c29(0x83,_0x10c4dc._0x1db943,0x401,_0x10c4dc._0x53b74c)]())];}[_0x7f0a6b(0x52f,0x4f0,0x64f,0x614)](){const _0x204b4a={_0x56fb9e:0x72a,_0xb6f447:0x3ff,_0x30beec:0x515,_0x278c70:0x5e4,_0x23b13d:0x568},_0x3eec9d={_0x33d945:0xb6};function _0x30bb46(_0x24e7e5,_0x5a7a92,_0x2f5634,_0x11ea59){return _0x5318c5(_0x24e7e5-0xf4,_0x24e7e5,_0x2f5634-_0x3eec9d._0x33d945,_0x11ea59-0x4d7);}function _0x16ef4d(_0x71b271,_0x3f0026,_0x14a209,_0x19f131){return _0x5318c5(_0x71b271-0x138,_0x3f0026,_0x14a209-0xd3,_0x19f131-0x3cc);}return Array[_0x16ef4d(_0x204b4a._0x56fb9e,0x671,_0x204b4a._0xb6f447,_0x204b4a._0x30beec)](this['servers'][_0x30bb46(_0x204b4a._0x278c70,_0x204b4a._0x23b13d,0x5f0,0x792)]());}[_0x7f0a6b(0x30d,0x3fa,0x498,0x28e)](){const _0x3c9989={_0x7916ad:0x1c1,_0x10db16:0x12d,_0x52933e:0x45,_0x4ee9cd:0xd2},_0xdd43d7={_0x153e4c:0x18,_0x18cba1:0x18e},_0x277255={_0x17bc17:0x180,_0x491f6c:0xc7};function _0x38e285(_0x38727e,_0x2980fe,_0x49c962,_0x89c87c){return _0x7f0a6b(_0x38727e-_0x277255._0x17bc17,_0x89c87c-_0x277255._0x491f6c,_0x49c962,_0x89c87c-0x35);}function _0x4c2ce9(_0x426f8c,_0x35448c,_0x3e7c94,_0x419d70){return _0x5318c5(_0x426f8c-0x1ea,_0x419d70,_0x3e7c94-_0xdd43d7._0x153e4c,_0x35448c- -_0xdd43d7._0x18cba1);}return Array[_0x4c2ce9(0x84,-0x45,0x158,0x69)](this[_0x4c2ce9(0x139,_0x3c9989._0x7916ad,0x3ed,-0x60)][_0x4c2ce9(0x360,_0x3c9989._0x10db16,_0x3c9989._0x52933e,-_0x3c9989._0x4ee9cd)]());}['getConnectedServerIds'](){const _0x44eae8={_0x419a30:0x3f3,_0xa9637b:0x499,_0x11bf80:0xb,_0x599f05:0xa0},_0x5d501b={_0x30363a:0x189},_0x546a18={_0x4fe5fa:0x1bc};function _0x50b53d(_0xa38499,_0x1f6199,_0x3aeb32,_0x3fa982){return _0x7f0a6b(_0xa38499-_0x546a18._0x4fe5fa,_0x3aeb32- -0x3a,_0x1f6199,_0x3fa982-0x5e);}function _0xf8fe53(_0x76326e,_0x57560a,_0x34ae92,_0x45bc6e){return _0x5318c5(_0x76326e-_0x5d501b._0x30363a,_0x57560a,_0x34ae92-0x10b,_0x45bc6e-0x13a);}return Array[_0xf8fe53(0x2aa,_0x44eae8._0x419a30,0x4f,0x283)](this[_0x50b53d(0x208,0x475,0x2c7,_0x44eae8._0xa9637b)][_0x50b53d(-_0x44eae8._0x11bf80,0x2b,0x16f,-_0x44eae8._0x599f05)]());}async['updateAllowedToolsConfig'](_0x3cc306){const _0x30a63a={_0x97b607:0x285,_0x2bd887:0x3d9,_0x478bfa:0x3e1,_0x3e2f12:0x36f,_0x4f53b0:0x464,_0x380a8e:0x5d3,_0x73f686:0x68e,_0x48ac32:0x568,_0x46c7e0:0x64d,_0x7afac8:0x3ec},_0x3c2d97={_0xa00c88:0x368};function _0x5cecc7(_0x176a1b,_0x5291b4,_0x49e50d,_0x2da9c6){return _0x5318c5(_0x176a1b-0x1a2,_0x49e50d,_0x49e50d-0x13f,_0x176a1b- -0x1d);}function _0x5396aa(_0x124e75,_0xfb7ce9,_0x5d731c,_0x45138e){return _0x7f0a6b(_0x124e75-0x9d,_0xfb7ce9-_0x3c2d97._0xa00c88,_0x45138e,_0x45138e-0xf0);}this[_0x5396aa(_0x30a63a._0x97b607,0x454,0x33f,_0x30a63a._0x2bd887)]=_0x3cc306;for(let [_0x171779,_0x2255f8]of this[_0x5cecc7(0x20c,0x12d,0x107,_0x30a63a._0x478bfa)][_0x5cecc7(_0x30a63a._0x3e2f12,_0x30a63a._0x4f53b0,0x372,0x141)]()){let _0x32d0f9=_0x3cc306[_0x171779];if(!_0x32d0f9)continue;let _0x442c48=_0x2255f8[_0x5396aa(0x44d,_0x30a63a._0x380a8e,0x523,0x5c1)][_0x5cecc7(0x102,0x9c,-0x9,0x25a)](_0x217dba=>_0x32d0f9[_0x217dba]!==!0x1);_0x2255f8[_0x5396aa(_0x30a63a._0x73f686,_0x30a63a._0x48ac32,_0x30a63a._0x46c7e0,_0x30a63a._0x7afac8)]=_0x442c48;}}[_0x5318c5(0x381,0x258,0x21d,0x171)](_0xa67b89){const _0x2f0a7b={_0x1eaea0:0x1fc,_0x58b768:0x2e9},_0x7e4543={_0x4a126d:0x1e8};function _0xcc8f7a(_0x295fb9,_0x31ad1c,_0x27044c,_0x3c5a1d){return _0x5318c5(_0x295fb9-0xf7,_0x27044c,_0x27044c-0x5a,_0x31ad1c-_0x7e4543._0x4a126d);}this[_0xcc8f7a(0x2ba,_0x2f0a7b._0x1eaea0,_0x2f0a7b._0x58b768,0x1c3)]=_0xa67b89;}[_0x5318c5(0x23f,0x446,0x1e9,0x256)](_0x41ac85,_0x4fa36c,_0xe4d3b2){const _0x4162ad={_0x103189:0x583,_0x141cc8:0x3f7,_0x1e53ae:0x51a,_0x334753:0x735,_0x567370:0x80f,_0x595a95:0x50c,_0x3c3d78:0x524,_0x324cd9:0x871,_0x3e7ca2:0x882},_0x193b6b={_0x38a9e1:0x176,_0x52215a:0x1c},_0x4dfa69={_0x30a049:0x1e3,_0x559ace:0x377};let _0x422af3=this['extractErrorMessage'](_0x4fa36c);function _0x87a124(_0x49bcce,_0x28f2e0,_0x48f9a6,_0x5a9f95){return _0x5318c5(_0x49bcce-0x10b,_0x48f9a6,_0x48f9a6-_0x4dfa69._0x30a049,_0x49bcce-_0x4dfa69._0x559ace);}function _0x283d35(_0x5c6158,_0x54e6c4,_0x44c8d8,_0x32dabc){return _0x7f0a6b(_0x5c6158-0x172,_0x44c8d8-_0x193b6b._0x38a9e1,_0x32dabc,_0x32dabc-_0x193b6b._0x52215a);}this['options'][_0x283d35(_0x4162ad._0x103189,0x238,_0x4162ad._0x141cc8,_0x4162ad._0x1e53ae)](_0x283d35(_0x4162ad._0x334753,_0x4162ad._0x567370,0x663,0x884)+_0xe4d3b2+_0x87a124(0x572,0x46a,_0x4162ad._0x595a95,_0x4162ad._0x3c3d78)+_0x41ac85+_0x283d35(0x762,_0x4162ad._0x324cd9,0x66b,_0x4162ad._0x3e7ca2)+_0x422af3);}[_0x5318c5(0xac,-0x4d,0xf0,0x1bd)](_0x58ccf2){const _0x2269e9={_0xf14348:0x369,_0x5200bf:0x39,_0x4084aa:0x1c4},_0x5b3de0={_0x178b15:0x13d};function _0x724f01(_0x17743a,_0xfdfb3f,_0x54fb7e,_0x88b264){return _0x7f0a6b(_0x17743a-0x91,_0xfdfb3f- -0x1a0,_0x54fb7e,_0x88b264-_0x5b3de0._0x178b15);}function _0x40459a(_0x567c6d,_0x424f17,_0x352a6c,_0x4635a6){return _0x7f0a6b(_0x567c6d-0x193,_0x567c6d- -0x117,_0x4635a6,_0x4635a6-0xc9);}return typeof _0x58ccf2==_0x40459a(0x1e9,_0x2269e9._0xf14348,0x2c4,0x3ce)&&_0x58ccf2!==null&&'message'in _0x58ccf2?_0x58ccf2['message']??_0x40459a(-_0x2269e9._0x5200bf,-_0x2269e9._0x4084aa,-0x149,-0xc7):String(_0x58ccf2);}[_0x7f0a6b(-0x15b,0x9d,-0x126,0x273)](_0x3a3992,_0x58061e='green'){const _0x4cd829={_0x33d813:0x31,_0x1310bd:0x2a,_0x73b1e9:0x240,_0x511f37:0x179,_0x49fd53:0x440,_0x3b04a9:0x29a,_0x5ab62e:0x1ea,_0x552efc:0x1b5,_0x79b019:0x16,_0x51c923:0xa4,_0x1faaa9:0x24d,_0x28ba3a:0xad,_0x152561:0x93,_0x278547:0x85},_0x3ddb13={_0x191adc:0x5,_0x245d2b:0x9d,_0xe820a7:0xb2},_0x4f81b6={_0x172999:0x169,_0x1790fd:0x130,_0x50f7d7:0xf4};function _0x1c8df9(_0x498473,_0x4a630e,_0x49d2d3,_0x1b1ff4){return _0x5318c5(_0x498473-_0x4f81b6._0x172999,_0x1b1ff4,_0x49d2d3-_0x4f81b6._0x1790fd,_0x4a630e-_0x4f81b6._0x50f7d7);}function _0x277f20(_0x13e366,_0x2ecc96,_0x58cf3e,_0xa8d158){return _0x5318c5(_0x13e366-_0x3ddb13._0x191adc,_0x2ecc96,_0x58cf3e-_0x3ddb13._0x245d2b,_0xa8d158- -_0x3ddb13._0xe820a7);}this['options'][_0x1c8df9(_0x4cd829._0x33d813,0x204,0x3cd,0x3e9)]({'id':_0x293965[_0x277f20(0x32a,_0x4cd829._0x1310bd,0x199,_0x4cd829._0x73b1e9)](),'type':_0x277f20(0x49f,_0x4cd829._0x511f37,_0x4cd829._0x49fd53,_0x4cd829._0x3b04a9),'content':_0x3a3992,'metadata':{'timestamp':new Date()['toISOString']()},'color':j[_0x277f20(-0x5f,-_0x4cd829._0x5ab62e,_0x4cd829._0x552efc,_0x4cd829._0x79b019)][_0x58061e]??j[_0x277f20(-_0x4cd829._0x51c923,-_0x4cd829._0x1faaa9,-0x277,-_0x4cd829._0x28ba3a)][_0x277f20(0x212,0x163,-_0x4cd829._0x152561,_0x4cd829._0x278547)]});}[_0x5318c5(0xa8,0x2d3,-0xbf,0xba)](_0x47f700){const _0x1ba3f1={_0x2c8cd8:0x73b,_0x2742ac:0x118,_0x230591:0x153,_0x251378:0x9b,_0xbd6437:0x866,_0x246e91:0x9b4,_0x51409b:0xcc,_0x12d4b7:0x160,_0x6d57d7:0x113,_0x5bc185:0x5d},_0x562923={_0xa8e1fb:0xd5,_0x2b4259:0x487},_0x2ea83c={_0x8e044a:0x63,_0x5184e5:0x115};function _0x150eae(_0x2b92e2,_0x105abe,_0x36ac0a,_0x4d7f73){return _0x5318c5(_0x2b92e2-_0x2ea83c._0x8e044a,_0x105abe,_0x36ac0a-_0x2ea83c._0x5184e5,_0x4d7f73- -0x228);}function _0xf8ce93(_0x10532c,_0x5ba257,_0x9956c6,_0x1bcba1){return _0x5318c5(_0x10532c-0xc3,_0x1bcba1,_0x9956c6-_0x562923._0xa8e1fb,_0x5ba257-_0x562923._0x2b4259);}this[_0xf8ce93(0x8d2,_0x1ba3f1._0x2c8cd8,0x788,0x6a2)][_0x150eae(-0x2dd,-0x236,0xd0,-_0x1ba3f1._0x2742ac)]({'id':_0x293965['randomUUID'](),'type':_0x150eae(-_0x1ba3f1._0x230591,-0x29,-0x2c9,-_0x1ba3f1._0x251378),'content':_0x47f700,'metadata':{'timestamp':new Date()[_0xf8ce93(0xa2a,_0x1ba3f1._0xbd6437,_0x1ba3f1._0x246e91,0x959)]()},'color':j[_0x150eae(-_0x1ba3f1._0x51409b,-0x1d,-0x5d,-_0x1ba3f1._0x12d4b7)][_0x150eae(-0x148,-_0x1ba3f1._0x6d57d7,-_0x1ba3f1._0x5bc185,-_0x1ba3f1._0x251378)]});}};import{GithubLLM as _0x5ef5e0,AnthropicAISDKLLM as _0x2ce8c0,createLLM as _0x5427cb,supportsGetModels as _0x183210,getAvailableProviders as _0x569d80}from'@nuvin/nuvin-core';import*as _0xb7d51c from'crypto';var vl={'maxRetries':0xa,'baseDelayMs':0x3e8,'maxDelayMs':0xea60,'backoffMultiplier':0x2,'jitterFactor':0.2,'onRetry':(_0x1c1acb,_0x3a5609,_0x529327)=>{const _0x5a43bf={_0x3eb325:0x210,_0x45792d:0x69,_0x533c21:0x22,_0x1cc437:0x18c,_0x268845:0x1ce,_0x19f008:0x138,_0x1f2cff:0x8fc,_0xb3d277:0x919,_0xf12c09:0xa30,_0x49b927:0x6c0,_0x369832:0x43d,_0x1af89e:0x17,_0x1e088e:0x3b,_0x339724:0x1d1,_0x344fad:0xa8,_0x480b9a:0x12d,_0x1cbb0c:0x67},_0x1d3ac4={_0x52ba9a:0x134,_0xbd201f:0x94},_0x12ec6d={_0x32c3b5:0x23e};function _0x60e77f(_0x1f0a21,_0x4cbc58,_0x37d5ce,_0x13f5e4){return _0x7f0a6b(_0x1f0a21-0x64,_0x13f5e4- -_0x12ec6d._0x32c3b5,_0x37d5ce,_0x13f5e4-0x20);}function _0x2966d5(_0x23bb3f,_0x66bd0c,_0x2fad5d,_0x455a61){return _0x5318c5(_0x23bb3f-_0x1d3ac4._0x52ba9a,_0x2fad5d,_0x2fad5d-_0x1d3ac4._0xbd201f,_0x23bb3f-0x500);}B['emit'](_0x60e77f(0x1ac,_0x5a43bf._0x3eb325,-0x122,_0x5a43bf._0x45792d),{'id':_0xb7d51c[_0x60e77f(_0x5a43bf._0x533c21,-0x2a,0x315,_0x5a43bf._0x1cc437)](),'type':_0x60e77f(_0x5a43bf._0x268845,0x29d,_0x5a43bf._0x19f008,0x1df),'content':_0x2966d5(_0x5a43bf._0x1f2cff,_0x5a43bf._0xb3d277,_0x5a43bf._0xf12c09,0x853)+_0x1c1acb+').\x20Retrying\x20in\x20'+Math[_0x2966d5(0x58d,_0x5a43bf._0x49b927,0x4c0,_0x5a43bf._0x369832)](_0x529327/0x3e8)+_0x60e77f(-_0x5a43bf._0x1af89e,-_0x5a43bf._0x1e088e,-_0x5a43bf._0x339724,0x61)+_0x3a5609[_0x60e77f(_0x5a43bf._0x344fad,-0x8c,0xdc,-0x12)],'metadata':{'timestamp':new Date()[_0x60e77f(0x9b,_0x5a43bf._0x480b9a,0x189,0x279)](),'isTransient':!0x0},'color':_0x60e77f(-0x1a2,-0x270,-0x89,-_0x5a43bf._0x1cbb0c)});},'onExhausted':(_0x3dbaed,_0x405b92)=>{const _0x4935c1={_0x24b137:0x228,_0x20dc00:0x146,_0x1a1c3b:0x2a6,_0x1e5479:0x3f4,_0x7cd4d:0x208,_0x5a7d50:0x21c,_0x8f8357:0x12b,_0x36c188:0x203,_0x2e87c7:0x2b,_0x1c0ccd:0x41c,_0x41fa65:0x2bf,_0x3b3231:0x7c,_0x161b82:0x1b4,_0x5757aa:0x22b,_0x2c91e4:0x1e5,_0x459bb5:0x43c,_0x3462e0:0x535,_0x59ecc2:0x46c},_0x40cf7a={_0x50d3bc:0x1,_0x38ce52:0x10b};function _0x22583a(_0x37cc8d,_0x35d440,_0x7be15b,_0x55973f){return _0x7f0a6b(_0x37cc8d-0x156,_0x37cc8d- -_0x40cf7a._0x50d3bc,_0x55973f,_0x55973f-_0x40cf7a._0x38ce52);}function _0x2e1476(_0x475e30,_0x50a8f3,_0x43b9a7,_0x37d39d){return _0x7f0a6b(_0x475e30-0x74,_0x475e30- -0x1ae,_0x37d39d,_0x37d39d-0x1a5);}B[_0x22583a(0x184,_0x4935c1._0x24b137,0x69,_0x4935c1._0x20dc00)](_0x22583a(_0x4935c1._0x1a1c3b,_0x4935c1._0x1e5479,_0x4935c1._0x7cd4d,0x4bb),{'id':_0xb7d51c[_0x2e1476(_0x4935c1._0x5a7d50,_0x4935c1._0x8f8357,_0x4935c1._0x36c188,_0x4935c1._0x2e87c7)](),'type':_0x22583a(_0x4935c1._0x1c0ccd,0x456,0x27a,_0x4935c1._0x41fa65),'content':'Request\x20failed\x20after\x20'+_0x405b92+_0x2e1476(-_0x4935c1._0x3b3231,0x55,-_0x4935c1._0x161b82,0x40)+_0x3dbaed[_0x22583a(_0x4935c1._0x5757aa,0x13b,_0x4935c1._0x2c91e4,0x322)],'metadata':{'timestamp':new Date()['toISOString']()},'color':_0x22583a(_0x4935c1._0x459bb5,0x40c,_0x4935c1._0x3462e0,_0x4935c1._0x59ecc2)});}},yo=class{constructor(_0x21cf25){const _0x552d53={_0x485dcc:0x7e5,_0x1ef2d5:0x68c},_0x26b29b={_0x3f0c22:0x37d};function _0x1ef06b(_0x312f9b,_0x1d0499,_0x260f44,_0x817d46){return _0x7f0a6b(_0x312f9b-0x1d2,_0x1d0499-_0x26b29b._0x3f0c22,_0x260f44,_0x817d46-0x1aa);}this[_0x1ef06b(0x82c,0x82e,_0x552d53._0x485dcc,_0x552d53._0x1ef2d5)]=_0x21cf25;}[_0x7f0a6b(0x470,0x4f7,0x6f7,0x4a0)](){const _0x3f5515={_0xa8f0:0x13c,_0xa518bc:0x6c7,_0x384708:0x871},_0xfbd3a8={_0x154237:0x328,_0x31c1a3:0x119},_0x39feb4={_0x509017:0x75,_0x53b44e:0x145,_0x4d6646:0x206};function _0x38a70a(_0x33771e,_0x499d7b,_0x3fa52c,_0x18f914){return _0x5318c5(_0x33771e-_0x39feb4._0x509017,_0x3fa52c,_0x3fa52c-_0x39feb4._0x53b44e,_0x18f914- -_0x39feb4._0x4d6646);}function _0x237576(_0x212c57,_0x21701d,_0x476c33,_0x346953){return _0x7f0a6b(_0x212c57-0x16e,_0x21701d-_0xfbd3a8._0x154237,_0x212c57,_0x346953-_0xfbd3a8._0x31c1a3);}let _0x1dcdb7=this[_0x38a70a(-0x25d,-0x339,0x4c,-_0x3f5515._0xa8f0)](),_0x1234f8=_0x569d80(_0x1dcdb7),_0x4efa17=[_0x237576(0x73d,_0x3f5515._0xa518bc,_0x3f5515._0x384708,0x626),'anthropic'];return[..._0x1234f8,..._0x4efa17];}[_0x5318c5(-0x11f,0x2dc,-0x132,0xca)](){const _0x7ce69f={_0x5a765e:0x4aa,_0x43574e:0x475,_0x4b9c3c:0x771,_0xe60a97:0x625,_0x413bd2:0x56e,_0x46f9f8:0x47f,_0x7530e8:0x2ff,_0x2d71e1:0x38e,_0x2dc033:0x599,_0x1c318a:0x435,_0x119d9f:0x76b,_0x377011:0x223,_0x51a512:0x3eb,_0x527c88:0x539,_0x1bbe74:0x351},_0x263ef1={_0x2a161d:0xd0,_0x367b87:0x1c1,_0x24f349:0x115},_0x3aca48={_0x11afd9:0x1b1};let _0x57a8a2=this[_0x1b6d0e(_0x7ce69f._0x5a765e,0x672,_0x7ce69f._0x43574e,0x4cd)]['getConfig']()['providers'];if(!_0x57a8a2)return;function _0x3d835a(_0xfededf,_0x2d2ae9,_0x4db02a,_0xec5089){return _0x5318c5(_0xfededf-0x16,_0xec5089,_0x4db02a-0x154,_0x2d2ae9-_0x3aca48._0x11afd9);}function _0x1b6d0e(_0x431cbf,_0x4b8332,_0x4224b9,_0xde4464){return _0x7f0a6b(_0x431cbf-_0x263ef1._0x2a161d,_0x4b8332-_0x263ef1._0x367b87,_0x4224b9,_0xde4464-_0x263ef1._0x24f349);}let _0x15cbc4={};for(let [_0x23281b,_0x145e2f]of Object[_0x1b6d0e(_0x7ce69f._0x4b9c3c,_0x7ce69f._0xe60a97,0x486,0x523)](_0x57a8a2)){let _0x373b3e=_0x145e2f;_0x373b3e[_0x3d835a(0x56a,_0x7ce69f._0x413bd2,0x4f4,_0x7ce69f._0x46f9f8)]&&(_0x15cbc4[_0x23281b]={'type':_0x373b3e[_0x3d835a(0x1f8,_0x7ce69f._0x7530e8,0x293,_0x7ce69f._0x2d71e1)],'baseUrl':_0x373b3e[_0x1b6d0e(_0x7ce69f._0x2dc033,0x656,_0x7ce69f._0x1c318a,_0x7ce69f._0x119d9f)],'models':_0x373b3e[_0x1b6d0e(0x566,0x32e,_0x7ce69f._0x377011,_0x7ce69f._0x51a512)],'customHeaders':_0x373b3e['customHeaders']});}return Object[_0x1b6d0e(_0x7ce69f._0x527c88,0x36a,0x4ce,0x4d1)](_0x15cbc4)[_0x1b6d0e(0x275,0x3fb,0x2b9,_0x7ce69f._0x1bbe74)]>0x0?_0x15cbc4:void 0x0;}[_0x5318c5(0x227,0x257,-0x55,0xaf)](_0x1f7d83){const _0x4ab0fa={_0x4972d6:0x7b4,_0x6a1bca:0x793,_0x4ea92b:0x6d4,_0x5a49b1:0x489,_0x58b84a:0x4a5,_0x2e6057:0x430,_0x30474e:0x3a8,_0x53ebf2:0x7ca,_0x3b0e7b:0x5d7,_0x511321:0x4b7,_0x35fa48:0x699,_0x159124:0x52e,_0x519a66:0x55,_0x224cb7:0x94,_0x551db4:0x203,_0x531645:0x39c,_0x2fd503:0x466,_0x379675:0xbb,_0x5c7020:0x2aa,_0x50f306:0x508,_0x8127:0x41c,_0x23c73f:0x733,_0x15a405:0x559,_0x550d16:0x71c,_0x6b083a:0x1ba,_0x439ba2:0x20,_0x4721e4:0x255,_0x57e4cc:0x180,_0x12a19e:0x2fc,_0x1b7e03:0xec,_0x5c867c:0x47},_0x5394d1={_0x54b8b9:0xb2,_0xb53c23:0xf},_0x26c686={_0x1fb132:0x1dd,_0x21e463:0x2e2};function _0x2fd6d4(_0xce780e,_0x77c03,_0x20a89a,_0x1c2638){return _0x7f0a6b(_0xce780e-_0x26c686._0x1fb132,_0x20a89a-_0x26c686._0x21e463,_0xce780e,_0x1c2638-0x1e0);}let _0x2eee69=this[_0x2fd6d4(0x770,_0x4ab0fa._0x4972d6,_0x4ab0fa._0x6a1bca,0x8a3)][_0x2fd6d4(_0x4ab0fa._0x4ea92b,_0x4ab0fa._0x5a49b1,_0x4ab0fa._0x58b84a,_0x4ab0fa._0x2e6057)]()[_0x2fd6d4(0x16e,_0x4ab0fa._0x30474e,0x38e,0x27b)]?.[_0x1f7d83]?.[_0x2fd6d4(0x8f2,0x59a,_0x4ab0fa._0x53ebf2,0x904)],_0x155587,_0x2c53d0;if(Array[_0x2fd6d4(_0x4ab0fa._0x3b0e7b,_0x4ab0fa._0x511321,_0x4ab0fa._0x35fa48,_0x4ab0fa._0x159124)](_0x2eee69)){let _0x2d21ec=_0x2eee69[_0x85c296(0x2e,-0x1fa,_0x4ab0fa._0x519a66,0x4e)](_0x3c5e10=>_0x3c5e10[_0x85c296(0x15d,0xb1,-0x6f,0x10a)]==='api-key'),_0x3200a7=_0x2eee69[_0x85c296(0x2e,0x86,_0x4ab0fa._0x224cb7,-_0x4ab0fa._0x551db4)](_0x25f920=>_0x25f920[_0x85c296(0x15d,0x180,0x2ab,0x28c)]===_0x2fd6d4(0x6b9,0x774,0x6a4,0x894));_0x2d21ec&&_0x2d21ec['type']===_0x2fd6d4(0x317,_0x4ab0fa._0x531645,_0x4ab0fa._0x2fd503,0x2c1)&&(_0x155587=_0x2d21ec[_0x85c296(_0x4ab0fa._0x379675,_0x4ab0fa._0x5c7020,-0xa9,0xeb)]),_0x3200a7&&_0x3200a7[_0x2fd6d4(0x61a,0x4bc,_0x4ab0fa._0x50f306,_0x4ab0fa._0x8127)]==='oauth'&&_0x1f7d83===_0x2fd6d4(_0x4ab0fa._0x23c73f,_0x4ab0fa._0x15a405,_0x4ab0fa._0x550d16,0x868)&&(_0x2c53d0={'anthropic':{'type':_0x85c296(0x2f9,0x289,0x31a,_0x4ab0fa._0x6b083a),'access':_0x3200a7[_0x85c296(0x11a,0x16c,-0xf1,-_0x4ab0fa._0x439ba2)],'refresh':_0x3200a7[_0x85c296(_0x4ab0fa._0x4721e4,_0x4ab0fa._0x57e4cc,0x3ff,_0x4ab0fa._0x12a19e)],'expires':_0x3200a7[_0x85c296(0x129,_0x4ab0fa._0x1b7e03,_0x4ab0fa._0x5c867c,0x361)]??0x0}});}function _0x85c296(_0x5e79c1,_0x59798a,_0x431747,_0x5c042c){return _0x5318c5(_0x5e79c1-0x83,_0x431747,_0x431747-_0x5394d1._0x54b8b9,_0x5e79c1-_0x5394d1._0xb53c23);}return{'provider':_0x1f7d83,'apiKey':_0x155587,'oauthConfig':_0x2c53d0};}[_0x5318c5(0x243,-0x126,0x1c4,0xd5)](_0x56c116,_0x6b668d={}){const _0x49b24a={_0x3dc0a4:0x3dd,_0x4e97fb:0x51d,_0x39ddfc:0x47c,_0x5f5da5:0x5ed,_0xabf01f:0x4fb,_0x364870:0x793,_0x4eb1bf:0x768,_0x44f613:0x189,_0x27ee0b:0x2da,_0x4b2d6d:0x744,_0xbb52f8:0x717,_0x2d6b7d:0x195,_0x2e3877:0x4e5,_0x3c3888:0x395,_0x1a427a:0x47c,_0x31263e:0x40e,_0xce47f9:0x3e5,_0xc7ec0d:0x711,_0x3ff707:0x7fb,_0x160028:0x6c9,_0x400b2c:0x746,_0x3fafdb:0x6e7,_0x19b48c:0x6c2,_0x29b78b:0x6e6,_0x1f5263:0x19a,_0x4649ae:0x300,_0x3859ec:0x464,_0x1d57da:0x3e5},_0x5a3d29={_0x9d0d11:0x5fe,_0x11639f:0x57b,_0x4e7653:0x79c,_0x12bf83:0x7dd,_0x330fad:0x8f9,_0x4ec078:0x61b,_0x1b01af:0x438,_0x50ffdf:0x299,_0x5e1bf2:0x7fb,_0x42ddf7:0x2e5,_0x2164c:0x1b8,_0x26f5e0:0x43a,_0x2b390a:0x402,_0x537ca3:0x80e,_0x2b0914:0x81a,_0x45b9ab:0x5f3,_0x260f1c:0x53a},_0xe3ab38={_0x5c3a50:0x85,_0x13948c:0xba,_0x29f8c1:0x499};function _0x36ee3f(_0x39eb5a,_0x2a1a37,_0x308523,_0x545e80){return _0x5318c5(_0x39eb5a-0x135,_0x39eb5a,_0x308523-0xd7,_0x545e80-0x1b5);}let _0x5aad5f=this[_0x492f7e(0x36a,_0x49b24a._0x3dc0a4,0x548,0x5e1)](_0x56c116),_0x14cb40=this[_0x492f7e(_0x49b24a._0x4e97fb,_0x49b24a._0x39ddfc,0x563,0x494)](),_0x6f9b93={...vl,..._0x6b668d['retry']};function _0x492f7e(_0x4eb5fd,_0x2ed1c7,_0x1f206b,_0x574ab9){return _0x5318c5(_0x4eb5fd-_0xe3ab38._0x5c3a50,_0x4eb5fd,_0x1f206b-_0xe3ab38._0x13948c,_0x1f206b-_0xe3ab38._0x29f8c1);}switch(_0x56c116){case _0x492f7e(_0x49b24a._0x5f5da5,_0x49b24a._0xabf01f,0x570,0x338):case _0x492f7e(_0x49b24a._0x364870,0x65a,_0x49b24a._0x4eb1bf,0x8d2):case _0x36ee3f(0x3ce,_0x49b24a._0x44f613,0x4fa,_0x49b24a._0x27ee0b):case _0x36ee3f(_0x49b24a._0x4b2d6d,0x798,_0x49b24a._0xbb52f8,0x55f):return _0x5427cb(_0x56c116,{'apiKey':_0x5aad5f['apiKey'],'httpLogFile':_0x6b668d[_0x36ee3f(_0x49b24a._0x2d6b7d,0x31d,0x3a5,0x365)],'version':_0x5aff65(),'retry':_0x6f9b93},_0x14cb40);case _0x36ee3f(0x2f7,_0x49b24a._0x2e3877,_0x49b24a._0x3c3888,_0x49b24a._0x1a427a):return new _0x5ef5e0({'accessToken':_0x5aad5f[_0x36ee3f(0x448,_0x49b24a._0x31263e,0x32a,_0x49b24a._0xce47f9)],'httpLogFile':_0x6b668d['httpLogFile'],'retry':_0x6f9b93});case _0x492f7e(_0x49b24a._0xc7ec0d,0x79f,_0x49b24a._0x3ff707,0x93a):return new _0x2ce8c0({'apiKey':_0x5aad5f[_0x492f7e(0x82d,0x87b,_0x49b24a._0x160028,0x53e)],'oauth':_0x5aad5f[_0x492f7e(0x7ff,0x5ef,_0x49b24a._0x400b2c,_0x49b24a._0x3fafdb)]?.[_0x492f7e(_0x49b24a._0x19b48c,0x6b9,0x7fb,_0x49b24a._0x29b78b)],'httpLogFile':_0x6b668d[_0x36ee3f(0x3f6,_0x49b24a._0x1f5263,0x45b,0x365)],'onTokenUpdate':async _0x4062fd=>{const _0x2f0f5b={_0x54cb23:0x18,_0x5be9f0:0x137,_0x6924bd:0x280},_0x297fe7={_0x2c1be8:0x23};function _0x2b7c54(_0x1181d9,_0x1fc06d,_0x5c4e30,_0x23b600){return _0x36ee3f(_0x1fc06d,_0x1fc06d-0x73,_0x5c4e30-0xd0,_0x23b600- -_0x297fe7._0x2c1be8);}let _0x531433=(this['configManager'][_0x252b6c(_0x5a3d29._0x9d0d11,0x56e,_0x5a3d29._0x11639f,_0x5a3d29._0x4e7653)](_0x252b6c(_0x5a3d29._0x12bf83,_0x5a3d29._0x330fad,_0x5a3d29._0x4ec078,0x6d7))||[])['map'](_0x437edb=>_0x437edb[_0x2b7c54(0xd7,0x471,0x401,0x2e0)]==='oauth'?{'type':_0x252b6c(0x71f,0x889,0x7c1,0x54e),'access':_0x4062fd['access'],'refresh':_0x4062fd[_0x2b7c54(0x5e2,0x49b,0x2f6,0x3d8)],'expires':_0x4062fd['expires']}:_0x437edb);function _0x252b6c(_0x113a13,_0x283ef0,_0x54dbb9,_0x1adf2c){return _0x36ee3f(_0x1adf2c,_0x283ef0-_0x2f0f5b._0x54cb23,_0x54dbb9-_0x2f0f5b._0x5be9f0,_0x113a13-_0x2f0f5b._0x6924bd);}_0x531433[_0x252b6c(_0x5a3d29._0x1b01af,_0x5a3d29._0x50ffdf,0x2ad,0x2c4)](_0x12c44f=>_0x12c44f[_0x252b6c(0x583,0x668,0x6c9,0x376)]===_0x252b6c(0x71f,0x529,0x91d,0x5ef))||_0x531433[_0x252b6c(0x699,_0x5a3d29._0x5e1bf2,0x780,0x6a1)]({'type':'oauth','access':_0x4062fd['access'],'refresh':_0x4062fd[_0x2b7c54(0x43b,_0x5a3d29._0x42ddf7,_0x5a3d29._0x2164c,0x3d8)],'expires':_0x4062fd[_0x2b7c54(0x43f,_0x5a3d29._0x26f5e0,_0x5a3d29._0x2b390a,0x2ac)]}),await this[_0x252b6c(_0x5a3d29._0x537ca3,_0x5a3d29._0x2b0914,0x7e6,0x969)]['set'](_0x2b7c54(0x692,0x63b,_0x5a3d29._0x45b9ab,_0x5a3d29._0x260f1c),_0x531433,'global');}});default:return _0x5427cb(_0x56c116,{'apiKey':_0x5aad5f[_0x36ee3f(_0x49b24a._0x4649ae,_0x49b24a._0x3859ec,0x592,_0x49b24a._0x1d57da)],'httpLogFile':_0x6b668d['httpLogFile'],'version':_0x5aff65(),'retry':_0x6f9b93},_0x14cb40);}}async[_0x5318c5(0x143,0x370,0xcb,0x2a8)](_0x41911c,_0x18db48){const _0x17dfb9={_0x417aa1:0x3ae,_0x490624:0x581,_0x2d888e:0x63b,_0xdf5790:0x6ca,_0x51f294:0x59d,_0x442ab6:0xeb,_0x4c1c4b:0x16c,_0xa80624:0x71d,_0x46e845:0x50f,_0x3a7cce:0x327,_0x151469:0x426,_0x4898b7:0x6ca,_0x5a1185:0x8b7,_0x57625e:0x192,_0x2aebcc:0x610,_0x94c840:0x72e,_0x1eed8c:0x3f4,_0x268123:0x649,_0x13682c:0x6a2,_0x27aa36:0x59e},_0x3e61b9={_0x5e0419:0x97,_0x3dd225:0x1b},_0x3cc138={_0x65088c:0x1d6,_0x43765d:0x368};let _0x809d62=this[_0x2bdd9f(0x432,0x5c2,0x424,_0x17dfb9._0x417aa1)]();if(!_0x183210(_0x41911c,_0x809d62)&&!(_0x41911c===_0x2bdd9f(0x62f,_0x17dfb9._0x490624,_0x17dfb9._0x2d888e,0x52e))&&!(_0x41911c===_0x2bdd9f(_0x17dfb9._0xdf5790,0x87c,0x7ca,_0x17dfb9._0x51f294)))return[];let _0x6d436e=this[_0x303265(_0x17dfb9._0x442ab6,0xd4,_0x17dfb9._0x4c1c4b,-0xc2)](_0x41911c);if(!_0x6d436e[_0x303265(0x101,0x332,0x2ed,0x186)]&&!_0x6d436e[_0x2bdd9f(0x615,0x6e9,_0x17dfb9._0xa80624,0x6ea)]?.['anthropic']&&_0x41911c!==_0x2bdd9f(0x6ca,0x5ee,0x7ff,0x5aa))throw new Error(_0x41911c+'\x20API\x20key\x20not\x20configured.\x20Please\x20run\x20/auth\x20first.');function _0x2bdd9f(_0x5adbf5,_0x28d4a2,_0x21a5e4,_0xebee49){return _0x5318c5(_0x5adbf5-0x1f0,_0x21a5e4,_0x21a5e4-_0x3cc138._0x65088c,_0x5adbf5-_0x3cc138._0x43765d);}function _0x303265(_0x22cb66,_0x571f51,_0xa10bbb,_0x41feb1){return _0x7f0a6b(_0x22cb66-_0x3e61b9._0x5e0419,_0xa10bbb- -_0x3e61b9._0x3dd225,_0x22cb66,_0x41feb1-0x176);}if(_0x41911c===_0x2bdd9f(_0x17dfb9._0xdf5790,0x6b8,0x7d4,_0x17dfb9._0x46e845)&&!_0x6d436e[_0x303265(0x179,_0x17dfb9._0x3a7cce,0x2ed,_0x17dfb9._0x151469)]&&!_0x6d436e['oauthConfig']?.[_0x2bdd9f(_0x17dfb9._0x4898b7,_0x17dfb9._0x5a1185,0x843,0x53e)])throw new Error(_0x41911c+'\x20authentication\x20not\x20configured.\x20Please\x20run\x20/auth\x20first.');let _0x222fb9=this[_0x303265(-0x9a,0x36b,_0x17dfb9._0x57625e,0x163)](_0x41911c);return _0x222fb9?.[_0x2bdd9f(_0x17dfb9._0x2aebcc,_0x17dfb9._0x94c840,0x5ee,_0x17dfb9._0x1eed8c)]?(await _0x222fb9[_0x2bdd9f(0x610,0x40d,_0x17dfb9._0x268123,_0x17dfb9._0x13682c)](_0x18db48))[_0x2bdd9f(_0x17dfb9._0x27aa36,0x557,0x5a1,0x384)](_0x344bc0=>_0x344bc0['id']):[];}};import{getFallbackLimits as _0x1e8e47}from'@nuvin/nuvin-core';var Mr=class{constructor(){const _0x58f079={_0x3be393:0x2a2,_0x1c445e:0x3bd,_0x51bfad:0x21c,_0x29ab23:0x589},_0x51eb8c={_0x517046:0x2,_0x14ff54:0x3cc},_0x364872={_0x3111f7:0x13e};this[_0x1e25a5(_0x58f079._0x3be393,_0x58f079._0x1c445e,0x285,0x3ff)]=new Map();function _0x2336a8(_0x443df4,_0x167a26,_0x27162a,_0x55074d){return _0x5318c5(_0x443df4-_0x364872._0x3111f7,_0x443df4,_0x27162a-0x92,_0x27162a- -0x63);}function _0x1e25a5(_0x1a3950,_0x53e012,_0xa97629,_0x301ded){return _0x5318c5(_0x1a3950-_0x51eb8c._0x517046,_0x301ded,_0xa97629-0x87,_0x53e012-_0x51eb8c._0x14ff54);}this[_0x1e25a5(_0x58f079._0x51bfad,0x40c,0x5bb,_0x58f079._0x29ab23)]=new Map();}async['getLimit'](_0x219c34,_0x388d40,_0xb73484){const _0x2633c0={_0x5a8f41:0x57b,_0x5aecbc:0x399,_0x291317:0x321,_0x2149c2:0x132,_0x3b9c85:0xd1,_0x2e4125:0x16e,_0x495f7a:0xb9,_0x2f4dd1:0x3ee,_0x11f443:0x1b8,_0xf7f12d:0x249,_0x423b08:0x105,_0x4700bf:0x166,_0x1ad049:0x50f,_0x2509f0:0x251,_0x8fa11c:0xd5,_0x114087:0x20},_0x5de0fc={_0x185c8d:0xf8},_0x5a6808={_0x350fc5:0x1c0,_0x54af0c:0x12e};function _0x3a6c91(_0x361c35,_0x1c82d5,_0xe1e287,_0x530350){return _0x5318c5(_0x361c35-0x102,_0xe1e287,_0xe1e287-_0x5a6808._0x350fc5,_0x530350-_0x5a6808._0x54af0c);}let _0x3c526f=_0x219c34+':'+_0x388d40,_0x5bf043=this['cache'][_0x3e5ffb(_0x2633c0._0x5a8f41,0x2c5,_0x2633c0._0x5aecbc,_0x2633c0._0x291317)](_0x3c526f);if(_0x5bf043)return _0x5bf043;if(_0xb73484){let _0x563977=_0x219c34;if(!this['fetchPromises']['has'](_0x563977)){let _0xa1ec1=this[_0x3a6c91(0x321,-0x5,0x168,_0x2633c0._0x2149c2)](_0x219c34,_0xb73484);this[_0x3a6c91(_0x2633c0._0x3b9c85,0x2d8,0x8e,_0x2633c0._0x2e4125)][_0x3e5ffb(_0x2633c0._0x495f7a,_0x2633c0._0x2f4dd1,_0x2633c0._0x11f443,_0x2633c0._0xf7f12d)](_0x563977,_0xa1ec1);}try{await this[_0x3a6c91(_0x2633c0._0x423b08,0x260,_0x2633c0._0x4700bf,0x16e)][_0x3e5ffb(_0x2633c0._0x1ad049,0x2d9,_0x2633c0._0x5aecbc,0x564)](_0x563977);let _0x1c4c31=this[_0x3a6c91(_0x2633c0._0x2509f0,0x1e2,-_0x2633c0._0x8fa11c,0x11f)]['get'](_0x3c526f);if(_0x1c4c31)return _0x1c4c31;}catch{}}let _0x3b2a0d=_0x1e8e47(_0x219c34,_0x388d40);function _0x3e5ffb(_0x4024cc,_0x3524f9,_0x405137,_0x1fa225){return _0x7f0a6b(_0x4024cc-0x1e1,_0x405137-_0x5de0fc._0x185c8d,_0x4024cc,_0x1fa225-0x35);}return _0x3b2a0d&&this[_0x3e5ffb(0x380,0x262,0x1c1,-_0x2633c0._0x114087)]['set'](_0x3c526f,_0x3b2a0d),_0x3b2a0d;}async[_0x7f0a6b(0x120,0xdc,-0x15d,-0x14e)](_0x3e0659,_0x2f318e){const _0x1236ce={_0x5b4f6e:0x26a,_0x1858b8:0x322,_0x9b2e79:0x17a,_0x3b38a7:0x89,_0x23fb45:0xee,_0x2deb06:0x1d,_0x54dd75:0x106,_0x53abed:0x2ce,_0x8a8a32:0x322,_0x1769e4:0x1fc},_0x3c87ee={_0x4534f8:0x45};function _0x4d3ed3(_0xa8b58,_0x3a2d91,_0x5e9272,_0x49d9c2){return _0x7f0a6b(_0xa8b58-0xa5,_0x5e9272- -0xdd,_0x49d9c2,_0x49d9c2-0x1eb);}function _0x4fee82(_0x3ff03f,_0xe2e969,_0x3de706,_0x5be363){return _0x5318c5(_0x3ff03f-_0x3c87ee._0x4534f8,_0xe2e969,_0x3de706-0x1ea,_0x3de706-0x2e4);}try{let _0x3c8cf1=await _0x2f318e();if(_0x3c8cf1){for(let _0x1cc37e of _0x3c8cf1)_0x1cc37e[_0x4fee82(0x31c,_0x1236ce._0x5b4f6e,_0x1236ce._0x1858b8,0x552)]&&this[_0x4d3ed3(-_0x1236ce._0x9b2e79,-0x16e,-0x14,-_0x1236ce._0x3b38a7)][_0x4d3ed3(0x7a,-_0x1236ce._0x23fb45,-_0x1236ce._0x2deb06,0x210)](_0x3e0659+':'+_0x1cc37e['id'],_0x1cc37e[_0x4fee82(_0x1236ce._0x54dd75,_0x1236ce._0x53abed,_0x1236ce._0x8a8a32,_0x1236ce._0x1769e4)]);}}catch{}}[_0x5318c5(0x203,0x117,-0xe,0xe7)](_0x32a80b,_0x1d0458){const _0x9bed3a={_0x1801e9:0x358,_0x3c2170:0x148,_0x567a1b:0x311,_0x44edff:0x15a},_0xd8093={_0x201993:0x8,_0x1e8cfa:0x252},_0xa6eead={_0xdd41c3:0x1a2,_0x4f09ba:0x178};function _0x5ec093(_0x262902,_0x3963fc,_0x3c6d60,_0x484e50){return _0x5318c5(_0x262902-_0xa6eead._0xdd41c3,_0x484e50,_0x3c6d60-_0xa6eead._0x4f09ba,_0x3963fc- -0x139);}function _0x4d1e22(_0x6b3a8c,_0x460176,_0xe6f61f,_0x49726f){return _0x5318c5(_0x6b3a8c-0xc0,_0xe6f61f,_0xe6f61f-_0xd8093._0x201993,_0x6b3a8c- -_0xd8093._0x1e8cfa);}return this[_0x5ec093(-_0x9bed3a._0x1801e9,-_0x9bed3a._0x3c2170,-_0x9bed3a._0x567a1b,-0x11b)][_0x5ec093(-0x1c6,-0x52,-0xb0,-_0x9bed3a._0x44edff)](_0x32a80b+':'+_0x1d0458);}['set'](_0x15b27c,_0x23678b,_0x244541){const _0xd0a10d={_0x37fbee:0x277,_0x5b73bc:0x1bd,_0x1d0971:0x157};function _0x441958(_0x12fbe6,_0x2c7841,_0x6e1d8,_0x107253){return _0x5318c5(_0x12fbe6-0xe5,_0x12fbe6,_0x6e1d8-0x1c4,_0x107253-0x16f);}this['cache'][_0x441958(0x16,_0xd0a10d._0x37fbee,_0xd0a10d._0x5b73bc,_0xd0a10d._0x1d0971)](_0x15b27c+':'+_0x23678b,_0x244541);}[_0x5318c5(0x13f,-0x155,-0x13b,0x69)](){const _0x1e6b17={_0x4f8ac2:0x23b,_0x3997f7:0x21f,_0x5cf475:0x377,_0x2b33f5:0x343,_0x3bd308:0x4b,_0x389c04:0x50,_0x4f1256:0x157,_0x577729:0x27,_0x1c9d0d:0x3f0,_0x468515:0x3ef},_0xb55811={_0x4d65c4:0xe,_0x2d5465:0x2ae},_0x301b6b={_0x2ead57:0xed};function _0x3fc8a2(_0x39924c,_0x40d303,_0x1154ec,_0x25188f){return _0x7f0a6b(_0x39924c-0xd0,_0x1154ec- -0xf1,_0x25188f,_0x25188f-_0x301b6b._0x2ead57);}function _0x10765e(_0x4dc96d,_0x5f0fb6,_0x3b8e1f,_0x4ae11c){return _0x7f0a6b(_0x4dc96d-_0xb55811._0x4d65c4,_0x3b8e1f-_0xb55811._0x2d5465,_0x5f0fb6,_0x4ae11c-0x182);}this[_0x10765e(_0x1e6b17._0x4f8ac2,_0x1e6b17._0x3997f7,_0x1e6b17._0x5cf475,_0x1e6b17._0x2b33f5)][_0x3fc8a2(_0x1e6b17._0x3bd308,0x227,_0x1e6b17._0x389c04,-_0x1e6b17._0x4f1256)](),this[_0x3fc8a2(0x13f,0x177,_0x1e6b17._0x577729,0x10b)][_0x10765e(0x332,_0x1e6b17._0x1c9d0d,_0x1e6b17._0x468515,0x343)]();}},xo=new Mr();import{InMemoryMetricsPort as _0x21ca81,createEmptySnapshot as _0x46509f}from'@nuvin/nuvin-core';var Ir=class{constructor(){const _0x26f266={_0xebb9ab:0x4c4,_0x455a49:0x6b5,_0x3e1702:0x139,_0x20430b:0x99},_0x2e5446={_0xdd14df:0x18d},_0x29de62={_0x27d17e:0x8f};this[_0x5b337e(_0x26f266._0xebb9ab,0x6bd,_0x26f266._0x455a49,0x346)]=new Map();function _0x41af86(_0x5e6a2e,_0x7b83eb,_0x6af8f8,_0x1e827c){return _0x7f0a6b(_0x5e6a2e-_0x29de62._0x27d17e,_0x6af8f8- -0x2d8,_0x5e6a2e,_0x1e827c-0x185);}function _0x5b337e(_0x4af927,_0x27bcf7,_0x4878b0,_0x3a7521){return _0x5318c5(_0x4af927-_0x2e5446._0xdd14df,_0x4878b0,_0x4878b0-0x2,_0x4af927-0x43a);}this[_0x41af86(-0x307,-0x358,-_0x26f266._0x3e1702,-_0x26f266._0x20430b)]=new Set();}[_0x7f0a6b(-0xa7,0x181,0x1db,0x27f)](_0x6f1f7d){const _0x391d2e={_0x3050f7:0x44b,_0x5924a5:0x369,_0x590763:0x3a8,_0x1c542d:0x50f,_0x455eb4:0x44a,_0x4a83eb:0x47a,_0x4c94d0:0x248,_0x256078:0x262,_0x38803c:0x123,_0xa04450:0x41e,_0x2de9f6:0x37b,_0x464fb7:0x291},_0x58b9c8={_0x5b2d2a:0x34a,_0x1e9852:0x13b,_0x554b12:0x165},_0x58c6ff={_0x3a2c94:0x111,_0x3f2e6b:0x179},_0x179196={_0x438d00:0x1e0,_0x27e28d:0x9d},_0x6cd3ad={_0x555ed6:0x21};function _0x144934(_0x5ef615,_0x1eb291,_0x3b7b37,_0xc30d34){return _0x5318c5(_0x5ef615-_0x6cd3ad._0x555ed6,_0x5ef615,_0x3b7b37-0x173,_0x3b7b37-0x393);}function _0x6d54bd(_0x1c3ef8,_0x3df373,_0x4ba6c5,_0x552dde){return _0x7f0a6b(_0x1c3ef8-0x1be,_0x1c3ef8- -_0x179196._0x438d00,_0x3df373,_0x552dde-_0x179196._0x27e28d);}if(this[_0x144934(_0x391d2e._0x3050f7,_0x391d2e._0x5924a5,0x41d,_0x391d2e._0x590763)][_0x144934(_0x391d2e._0x1c542d,_0x391d2e._0x455eb4,_0x391d2e._0x4a83eb,0x370)](_0x6f1f7d))return this[_0x144934(_0x391d2e._0x4c94d0,0x463,0x41d,_0x391d2e._0x256078)][_0x6d54bd(0xc1,0x2d8,-_0x391d2e._0x38803c,0x24f)](_0x6f1f7d);let _0x591327=new _0x21ca81(_0x578ee3=>{function _0x532ccf(_0x2727f2,_0x9448b6,_0x2e543b,_0x43e49e){return _0x6d54bd(_0x9448b6- -_0x58c6ff._0x3a2c94,_0x2e543b,_0x2e543b-_0x58c6ff._0x3f2e6b,_0x43e49e-0x90);}this[_0x532ccf(_0x58b9c8._0x5b2d2a,_0x58b9c8._0x1e9852,0xd8,_0x58b9c8._0x554b12)](_0x6f1f7d,_0x578ee3);});return this['ports'][_0x144934(_0x391d2e._0xa04450,0x27f,_0x391d2e._0x2de9f6,_0x391d2e._0x464fb7)](_0x6f1f7d,_0x591327),_0x591327;}[_0x7f0a6b(0x5b5,0x42c,0x60c,0x62e)](_0x3ad6dd,_0x47d8a8){for(let _0x489e94 of this['subscribers'])try{_0x489e94(_0x3ad6dd,_0x47d8a8);}catch{}}['recordLLMCall'](_0x5e8b46,_0x121309,_0x3965b0){this['getOrCreatePort'](_0x5e8b46)['recordLLMCall'](_0x121309,_0x3965b0);}[_0x7f0a6b(0x631,0x4db,0x3a5,0x5fb)](_0x2953d6){const _0x88f134={_0x1984e0:0x999},_0x284cc0={_0x4a4250:0x2f5};function _0x631803(_0x23850d,_0x20f152,_0x273837,_0xbb8922){return _0x7f0a6b(_0x23850d-0x136,_0x20f152-_0x284cc0._0x4a4250,_0x23850d,_0xbb8922-0x150);}this['getOrCreatePort'](_0x2953d6)[_0x631803(0x5b0,0x7d0,0x88b,_0x88f134._0x1984e0)]();}['recordRequestComplete'](_0x17f93c,_0x3c7bd7){const _0x34f874={_0x1c470e:0x283,_0x565ed2:0x25f,_0x208272:0x3db},_0x36ae8d={_0x591561:0x21b};function _0x287df9(_0x48a8ae,_0x5361a,_0x409863,_0x2aa091){return _0x7f0a6b(_0x48a8ae-0x1dc,_0x5361a-_0x36ae8d._0x591561,_0x2aa091,_0x2aa091-0x185);}this[_0x287df9(_0x34f874._0x1c470e,0x39c,_0x34f874._0x565ed2,_0x34f874._0x208272)](_0x17f93c)['recordRequestComplete'](_0x3c7bd7);}[_0x5318c5(-0x83,0x286,-0xc1,0x161)](_0x4258d8,_0x15e45b,_0x58f81f){const _0x416c7e={_0x5e7a92:0x3c0},_0x55b7f5={_0x152cfa:0x187,_0x5cc64:0x121};function _0x331185(_0x342424,_0x2bfb47,_0x4f698a,_0x3512f9){return _0x7f0a6b(_0x342424-0x2a,_0x2bfb47-_0x55b7f5._0x152cfa,_0x4f698a,_0x3512f9-_0x55b7f5._0x5cc64);}this['getOrCreatePort'](_0x4258d8)[_0x331185(0x4a8,_0x416c7e._0x5e7a92,0x357,0x3ac)](_0x15e45b,_0x58f81f);}[_0x7f0a6b(0x66c,0x4f6,0x3b7,0x5f4)](_0x2824c){const _0xd626cb={_0x184c13:0xe2,_0x190d33:0xa,_0x22fab2:0x415,_0x274ddd:0x41d,_0x408102:0x293,_0x46f409:0x224},_0x570df2={_0x47327f:0xff},_0x397bb5={_0x37c8e0:0x27,_0x343fb3:0x197};let _0x2ffcfa=this[_0x41e1e2(-0x1ae,-0x20b,-0x7f,-_0xd626cb._0x184c13)][_0x4257dd(0xc,0x1c0,-_0xd626cb._0x190d33,-0x3a)](_0x2824c);function _0x41e1e2(_0x59dbec,_0x301598,_0x25bf3f,_0x4b8284){return _0x7f0a6b(_0x59dbec-_0x397bb5._0x37c8e0,_0x59dbec- -0x310,_0x301598,_0x4b8284-_0x397bb5._0x343fb3);}function _0x4257dd(_0x15a93f,_0x6f272d,_0x4a3d27,_0xed7380){return _0x5318c5(_0x15a93f-0x15,_0x15a93f,_0x4a3d27-_0x570df2._0x47327f,_0x6f272d- -0x9);}_0x2ffcfa&&(_0x2ffcfa[_0x4257dd(0x3cb,_0xd626cb._0x22fab2,0x5f8,_0xd626cb._0x274ddd)](),this[_0x4257dd(_0xd626cb._0x408102,0x34b,0x1d4,_0xd626cb._0x46f409)](_0x2824c,_0x46509f()));}[_0x7f0a6b(0x4de,0x381,0x4b3,0x1ae)](_0x40a323){const _0x21098d={_0x15e87c:0x11e,_0x2cab22:0xe4,_0x1e31ec:0x4d9,_0x27f42e:0x54a,_0x215b9f:0x56d,_0x55d9b7:0x71d},_0x116858={_0x510e25:0x13f,_0x1bae54:0x203,_0x43d3a1:0x94},_0x859ab3={_0x4cd69a:0x1b3,_0x151529:0x1ec};function _0x169d5d(_0x2d383d,_0x3fb11a,_0x2cd017,_0x247edf){return _0x7f0a6b(_0x2d383d-_0x859ab3._0x4cd69a,_0x2d383d-_0x859ab3._0x151529,_0x3fb11a,_0x247edf-0x46);}let _0x2b2a1b=this[_0x12fe44(-0xa1,0xd0,_0x21098d._0x15e87c,-_0x21098d._0x2cab22)][_0x169d5d(0x48d,_0x21098d._0x1e31ec,_0x21098d._0x27f42e,0x380)](_0x40a323);function _0x12fe44(_0x2d9ca5,_0x47257f,_0x43331a,_0x231a7b){return _0x7f0a6b(_0x2d9ca5-_0x116858._0x510e25,_0x2d9ca5- -_0x116858._0x1bae54,_0x231a7b,_0x231a7b-_0x116858._0x43d3a1);}return _0x2b2a1b?_0x2b2a1b[_0x169d5d(_0x21098d._0x215b9f,0x441,0x525,_0x21098d._0x55d9b7)]():_0x46509f();}[_0x5318c5(0x26,0x2af,0x168,0x1a3)](_0x5e0887){const _0x179b1c={_0x38ddbf:0x12b,_0x4dfaa5:0x16a},_0x248b81={_0x794bf8:0x14d,_0x5141ac:0x40},_0x555a03={_0x4abf89:0x262};function _0x55bd47(_0xd60e1b,_0x3d260f,_0x1985bb,_0x3b3f44){return _0x7f0a6b(_0xd60e1b-0xa8,_0x3b3f44- -_0x555a03._0x4abf89,_0xd60e1b,_0x3b3f44-0x90);}function _0x3dfd15(_0x1c880b,_0x27cb68,_0x584cf2,_0x5ca0e6){return _0x5318c5(_0x1c880b-_0x248b81._0x794bf8,_0x5ca0e6,_0x584cf2-_0x248b81._0x5141ac,_0x27cb68- -0x1f2);}return this[_0x3dfd15(-0x32,-_0x179b1c._0x38ddbf,-_0x179b1c._0x4dfaa5,-0x1ce)]['add'](_0x5e0887),()=>this[_0x3dfd15(0xdc,-0x12b,0xca,-0x46)][_0x3dfd15(-0x1be,-0x95,-0x268,-0x28)](_0x5e0887);}[_0x7f0a6b(0x287,0x4bd,0x575,0x552)](_0x45c9c5){const _0x270e23={_0x399392:0x261,_0x44f23e:0x263,_0x60b0d6:0x22c,_0x171bed:0x460,_0x52a366:0x93},_0x1c0217={_0x4091fd:0x1b0};function _0x59d235(_0x224bd3,_0x1d0d0f,_0x360838,_0x389747){return _0x7f0a6b(_0x224bd3-0xe0,_0x1d0d0f- -_0x1c0217._0x4091fd,_0x389747,_0x389747-0x180);}function _0x34a4e1(_0x41f80a,_0x37f37b,_0x203181,_0x3bdd69){return _0x7f0a6b(_0x41f80a-0xc2,_0x203181-0x8d,_0x41f80a,_0x3bdd69-0x81);}this[_0x34a4e1(_0x270e23._0x399392,_0x270e23._0x44f23e,_0x270e23._0x60b0d6,_0x270e23._0x171bed)][_0x34a4e1(0x27f,_0x270e23._0x52a366,0x2c2,0x367)](_0x45c9c5);}},Oe=new Ir(),Ol={'openrouter':'openai/gpt-4.1','deepinfra':_0x5318c5(0x436,0x2c1,0x3a3,0x2dd),'github':'gpt-4.1','zai':_0x5318c5(0x49a,0x1d2,0x91,0x274),'anthropic':_0x5318c5(0x1e5,0x303,0x44a,0x368),'moonshot':_0x7f0a6b(0x2ea,0x166,-0x89,0x240)},Ft=[_0x5318c5(-0xbb,-0xc6,0x19f,0x12b),_0x7f0a6b(0x255,0x377,0x388,0x4af),_0x5318c5(0x47c,0x5e2,0x54a,0x3f8),_0x5318c5(0xda,0x35f,0xab,0x192),'file_new',_0x5318c5(0x16,0x284,0x5c,0x1e4),_0x5318c5(0x25b,0x17b,0x2c6,0x300),_0x7f0a6b(0x3ec,0x3e5,0x484,0x5d5),_0x7f0a6b(0x8d,0xbf,-0x167,0x15c),_0x5318c5(0x2d5,0x147,0x258,0x28a),_0x7f0a6b(0x2b8,0x458,0x411,0x34f)],Tt=class{constructor(_0x11fdc2,_0x4e0a54){const _0x897a58={_0x50dba7:0x8b0,_0x5b8f9d:0x582};function _0x5db24d(_0xb5f39c,_0x537cbc,_0x418493,_0x2b2b45){return _0x7f0a6b(_0xb5f39c-0x3e,_0x537cbc-0x3ed,_0x418493,_0x2b2b45-0xa);}this[_0x5db24d(_0x897a58._0x50dba7,0x712,_0x897a58._0x5b8f9d,0x6cd)]=_0x11fdc2,this['service']=_0x4e0a54;}[_0x5318c5(-0x81,0x74,0x17d,0xae)](_0x24afad,_0x1e6865){const _0x6c160d={_0x2b70c6:0x15c,_0x483a7d:0x2bf};function _0x4fb82c(_0x21e224,_0x31f725,_0x19bb74,_0x3a8ce9){return _0x5318c5(_0x21e224-0x18a,_0x21e224,_0x19bb74-0x6c,_0x31f725-0xca);}this[_0x4fb82c(0x15e,_0x6c160d._0x2b70c6,-0x95,_0x6c160d._0x483a7d)]['recordLLMCall'](this['sessionId'],_0x24afad,_0x1e6865);}[_0x5318c5(0x2bf,0x340,0x44e,0x403)](){const _0x1071ee={_0x2987b5:0x3dc,_0x1d1d35:0x375,_0x45b23b:0x22e,_0x4aeab5:0x443},_0x51b096={_0x53e0d7:0x1e1,_0x21b563:0xa2};function _0x50cfcc(_0x3f6ef4,_0x3bd657,_0x21580f,_0x310a76){return _0x7f0a6b(_0x3f6ef4-_0x51b096._0x53e0d7,_0x3f6ef4-0x272,_0x21580f,_0x310a76-_0x51b096._0x21b563);}this[_0x50cfcc(_0x1071ee._0x2987b5,_0x1071ee._0x1d1d35,_0x1071ee._0x45b23b,_0x1071ee._0x4aeab5)]['recordToolCall'](this['sessionId']);}[_0x7f0a6b(-0x20,0x122,-0x110,0x344)](_0x23a9c1){const _0x33ab11={_0x574586:0x24b,_0x20508b:0x1bc,_0x52bec8:0x8b,_0x5ada11:0x126,_0x18f3bb:0x6a,_0x41946e:0x1f},_0x2b61ef={_0x3e71df:0x80,_0x2bb0c8:0x18b,_0x4fd896:0x1b9},_0x550d86={_0x36facb:0x1df,_0x3fd0ac:0x2bb};function _0x379d2c(_0x3034dd,_0x3fe7f2,_0x20ee91,_0x4a6dc0){return _0x7f0a6b(_0x3034dd-_0x550d86._0x36facb,_0x3034dd- -_0x550d86._0x3fd0ac,_0x20ee91,_0x4a6dc0-0xc1);}function _0x39e0f7(_0x41f149,_0x454e54,_0x595819,_0x229b89){return _0x5318c5(_0x41f149-_0x2b61ef._0x3e71df,_0x454e54,_0x595819-_0x2b61ef._0x2bb0c8,_0x41f149-_0x2b61ef._0x4fd896);}this[_0x39e0f7(_0x33ab11._0x574586,0x3b8,_0x33ab11._0x20508b,_0x33ab11._0x52bec8)][_0x379d2c(-0x199,-0x13f,-_0x33ab11._0x5ada11,-0x30b)](this[_0x379d2c(_0x33ab11._0x18f3bb,-0xa4,_0x33ab11._0x41946e,0x110)],_0x23a9c1);}[_0x5318c5(0x13b,0x1b4,0xb3,0x161)](_0x1c4346,_0x40c9df){const _0x5a168e={_0x308637:0xca,_0x526295:0x12c};function _0x3ab544(_0x3f7b3a,_0x5dc9c4,_0x45e98a,_0x244f44){return _0x5318c5(_0x3f7b3a-0x35,_0x5dc9c4,_0x45e98a-0x1b6,_0x45e98a- -0x6d);}this['service'][_0x3ab544(0xde,-_0x5a168e._0x308637,0xf4,_0x5a168e._0x526295)](this['sessionId'],_0x1c4346,_0x40c9df);}[_0x5318c5(0x454,0x4fe,0x2fb,0x41e)](){const _0x6a556c={_0x50279b:0x279,_0x157f4a:0x22d,_0x2eaa88:0x496,_0x57bfe7:0x34a,_0x1af174:0x57f,_0x3da3ed:0x4f6,_0x177956:0x3ee,_0xb1b553:0x666,_0x265a7d:0x505},_0x1bb4df={_0x302256:0x1a9,_0xd8ffda:0xf1},_0x31336b={_0x2db84d:0x2e};function _0x3ebee7(_0x55d91f,_0x58df8a,_0xc8db78,_0x41f584){return _0x5318c5(_0x55d91f-_0x31336b._0x2db84d,_0x55d91f,_0xc8db78-0x194,_0x58df8a-0x92);}function _0x367fb1(_0x4651e3,_0x35bbde,_0x284ea4,_0x5aad0a){return _0x5318c5(_0x4651e3-_0x1bb4df._0x302256,_0x35bbde,_0x284ea4-_0x1bb4df._0xd8ffda,_0x5aad0a-0x2b8);}this[_0x367fb1(_0x6a556c._0x50279b,_0x6a556c._0x157f4a,_0x6a556c._0x2eaa88,_0x6a556c._0x57bfe7)][_0x367fb1(_0x6a556c._0x1af174,0x65c,0x572,0x6d6)](this[_0x367fb1(_0x6a556c._0x3da3ed,_0x6a556c._0x177956,_0x6a556c._0xb1b553,_0x6a556c._0x265a7d)]);}['getSnapshot'](){const _0x41780c={_0x386da4:0x38f,_0x498274:0x232,_0x1eccde:0x326},_0x2fad96={_0x5b8fbb:0x74},_0x38083e={_0x5db2d7:0x54,_0x14e537:0x1b};function _0xbab7c9(_0x1b71f3,_0x11950f,_0x544223,_0x3f11b5){return _0x5318c5(_0x1b71f3-_0x38083e._0x5db2d7,_0x3f11b5,_0x544223-0x102,_0x544223- -_0x38083e._0x14e537);}function _0x4b7a08(_0x44622b,_0x5f2e92,_0x488e80,_0x47e7d0){return _0x5318c5(_0x44622b-_0x2fad96._0x5b8fbb,_0x488e80,_0x488e80-0x8f,_0x47e7d0-0x444);}return this[_0x4b7a08(0x482,0x2d5,_0x41780c._0x386da4,0x4d6)]['getSnapshot'](this[_0xbab7c9(0x35a,0xb8,_0x41780c._0x498274,_0x41780c._0x1eccde)]);}},Er=class t{constructor(){const _0x382c48={_0x1cc2e3:0x380,_0x38455a:0x743,_0x27797c:0x14,_0x159475:0x113,_0x36a794:0x23,_0x3a4538:0x20e,_0x2cca9a:0x194,_0x33ec39:0x706,_0x392860:0x818,_0x31c271:0x690,_0x428881:0x552,_0x91cd23:0xb8,_0x18e38f:0x663,_0x8666d8:0x6f2,_0x1013f9:0x344,_0x41fca1:0xa07,_0x59d649:0x9cb,_0x5a179d:0x865,_0xbc219:0x197,_0x32f3fa:0x393},_0x8d4d60={_0x78ad1:0x4c},_0xc64f0b={_0x3452b1:0x131};function _0x8216c(_0x530556,_0x59aba9,_0x494bda,_0x43a028){return _0x5318c5(_0x530556-_0xc64f0b._0x3452b1,_0x530556,_0x494bda-0x84,_0x494bda-0x4a5);}function _0x58f060(_0x331659,_0x4482fc,_0x23620b,_0x5142b2){return _0x7f0a6b(_0x331659-0xc5,_0x331659- -0x1e1,_0x5142b2,_0x5142b2-_0x8d4d60._0x78ad1);}this['orchestrator']=null,this[_0x8216c(_0x382c48._0x1cc2e3,_0x382c48._0x38455a,0x568,0x4cd)]=null,this[_0x58f060(-0xe8,-0x168,-0x6e,-0x314)]=null,this[_0x58f060(-_0x382c48._0x27797c,_0x382c48._0x159475,0xf,_0x382c48._0x36a794)]='demo-echo',this[_0x58f060(0x2e6,0x1cc,_0x382c48._0x3a4538,0xff)]=_0x58f060(0x1bb,_0x382c48._0x2cca9a,-0x1d,0x331),this[_0x8216c(0x6f6,0x760,0x6f2,0x75a)]=null,this['sessionDir']=null,this[_0x8216c(0x70c,0x48a,0x63d,0x871)]=null,this['handlers']=null,this[_0x8216c(0x6fd,_0x382c48._0x33ec39,0x88c,_0x382c48._0x392860)]=!0x1,this[_0x8216c(_0x382c48._0x31c271,0x867,0x666,_0x382c48._0x428881)]=!0x0,this[_0x58f060(0x6c,_0x382c48._0x91cd23,-0x163,0x2a5)]=!0x1,(this[_0x8216c(0x904,0xa1b,0x87e,_0x382c48._0x18e38f)]=_0x21ba14[_0x8216c(0x79c,_0x382c48._0x8666d8,0x75b,0x72b)](),this[_0x58f060(0x2cc,0x1e7,0x418,_0x382c48._0x1013f9)]=new _0x2db0f0(),this[_0x8216c(_0x382c48._0x41fca1,_0x382c48._0x59d649,_0x382c48._0x5a179d,0xa11)]=new yo(this[_0x58f060(0x2d0,_0x382c48._0xbc219,_0x382c48._0x32f3fa,0x11f)]));}static{this['WARNING_THRESHOLD']=0.85;}static{this[_0x5318c5(0x4f8,0x3cd,0x4df,0x3db)]=0.95;}[_0x5318c5(0x9b,0x361,0x48e,0x29a)](){const _0x5b3a90={_0x4e8d5b:0x678,_0x163fed:0x618,_0x58474d:0x4f5,_0x353ade:0x409,_0x5341a4:0x25,_0x1d4a3d:0x238,_0x17a613:0x61,_0x5966d4:0x9d3,_0x1c5e03:0xab0,_0x5871c5:0x8e0,_0x4823cf:0x16e,_0x4331e4:0x167,_0xd15518:0x21e,_0x51ffe6:0x238,_0x4d49a4:0x96,_0x1d8cac:0x97,_0x10d7c0:0x1ee,_0x2c5796:0x2b,_0x180224:0xdc,_0x55d747:0x4e2,_0x30aaea:0x5e2,_0x3f742b:0x80,_0x24417b:0x97,_0x2a42e2:0x24f,_0x33ddfd:0x716,_0x39fcb3:0x7b3,_0x2cdbec:0x6ff},_0x4ad8cf={_0xca0c27:0x1a2},_0x23c32a={_0x269a9a:0x3};let _0x259d6c=typeof this['configManager'][_0x460ba5(0x3ba,_0x5b3a90._0x4e8d5b,0x5c6,0x652)]==_0x460ba5(_0x5b3a90._0x163fed,0x4b0,_0x5b3a90._0x58474d,_0x5b3a90._0x353ade)?this[_0x200b0b(_0x5b3a90._0x5341a4,0x2bb,_0x5b3a90._0x1d4a3d,_0x5b3a90._0x17a613)]['getProfileManager']():void 0x0,_0x2818ec=typeof this[_0x460ba5(_0x5b3a90._0x5966d4,_0x5b3a90._0x1c5e03,_0x5b3a90._0x5871c5,0xa68)][_0x200b0b(-0x1ec,-_0x5b3a90._0x4823cf,-0x16e,-_0x5b3a90._0x4331e4)]=='function'?this[_0x200b0b(0x307,_0x5b3a90._0xd15518,_0x5b3a90._0x51ffe6,0x12d)][_0x460ba5(0x748,0x440,0x53a,0x536)]():void 0x0;function _0x200b0b(_0x54b947,_0x2f06f2,_0x5990c1,_0x1483c3){return _0x5318c5(_0x54b947-_0x23c32a._0x269a9a,_0x54b947,_0x5990c1-0x4,_0x5990c1- -0x1a1);}if(!_0x259d6c||!_0x2818ec){let _0x1cb74e=_0xe695f8[_0x200b0b(_0x5b3a90._0x4d49a4,0x6d,-_0x5b3a90._0x1d8cac,-_0x5b3a90._0x10d7c0)](_0x15cb19[_0x200b0b(0x2d,-0x169,_0x5b3a90._0x2c5796,-0x87)](),_0x200b0b(0x18,-0xa9,_0x5b3a90._0x180224,0x22d));return{'sessionsDir':_0xe695f8[_0x460ba5(0x51a,_0x5b3a90._0x55d747,0x611,_0x5b3a90._0x30aaea)](_0x1cb74e,'sessions'),'agentsDir':_0xe695f8[_0x200b0b(_0x5b3a90._0x3f742b,0xf9,-_0x5b3a90._0x24417b,0x9a)](_0x1cb74e,_0x200b0b(-0x18d,-_0x5b3a90._0x2a42e2,-0x178,0x7d))};}function _0x460ba5(_0x506c87,_0x3a8448,_0xc0aff2,_0x4eec96){return _0x7f0a6b(_0x506c87-_0x4ad8cf._0xca0c27,_0xc0aff2-0x42f,_0x4eec96,_0x4eec96-0x91);}return{'sessionsDir':_0x259d6c[_0x460ba5(_0x5b3a90._0x33ddfd,_0x5b3a90._0x39fcb3,0x71a,0x684)](_0x2818ec),'agentsDir':_0x259d6c[_0x460ba5(_0x5b3a90._0x2cdbec,0x584,0x568,0x377)](_0x2818ec)};}[_0x5318c5(0x355,0x80,0x362,0x1dc)](){const _0x1f8fef={_0x51ad67:0x12,_0x284985:0x277,_0x21e58f:0x478,_0x29bb35:0x4fa,_0x465f9a:0x301,_0x16f273:0x2d8,_0x373e27:0x338,_0x127fe6:0x17e,_0x3ab9a5:0x85,_0x26c612:0x3c9,_0x19d845:0x1a9,_0x4035fb:0x209,_0x846190:0x21f,_0x2583f5:0x217,_0x588631:0x271},_0x5de104={_0x203c7a:0xfa,_0x59de63:0xa7},_0x46ada2={_0x555008:0xc3};function _0x5d03dd(_0x2a2162,_0x1a59b5,_0x3135f4,_0x4de527){return _0x7f0a6b(_0x2a2162-0x1b1,_0x2a2162-0x55,_0x1a59b5,_0x4de527-_0x46ada2._0x555008);}let _0x43d059=this['configManager'][_0x5d03dd(0x218,-_0x1f8fef._0x51ad67,_0x1f8fef._0x284985,0x3ec)](),_0x2cd204=_0x43d059[_0x4b831d(_0x1f8fef._0x21e58f,_0x1f8fef._0x29bb35,_0x1f8fef._0x465f9a,_0x1f8fef._0x16f273)]||_0x4b831d(0x2cc,_0x1f8fef._0x373e27,_0x1f8fef._0x127fe6,0x23a),_0x10c213=_0x43d059[_0x4b831d(_0x1f8fef._0x3ab9a5,0x2f9,0x19c,_0x1f8fef._0x26c612)]||Ol[_0x2cd204],_0x44339d=_0xa5732f(_0x43d059,_0x2cd204),_0x2000dd=_0x43d059['mcpAllowedTools'],_0xe523ac=_0x43d059[_0x4b831d(-0x14b,0x1e3,0xb7,0x1cc)],_0x161b2b=_0x43d059[_0x5d03dd(0xfb,_0x1f8fef._0x19d845,-0xa6,_0x1f8fef._0x4035fb)],_0x5f1f91=_0x161b2b==='OFF'?void 0x0:_0x161b2b?.['toLowerCase'](),_0x5ec2d6=_0x43d059[_0x4b831d(0x159,0x46e,0x268,_0x1f8fef._0x846190)]??!0x0,_0xad2331=_0x44339d?.['oauth']?{'anthropic':_0x44339d[_0x4b831d(0x2ad,0x2df,0x391,0x4f3)]}:void 0x0;function _0x4b831d(_0xe8fb67,_0x3bfcc4,_0x468567,_0x37cdd4){return _0x5318c5(_0xe8fb67-0x38,_0x37cdd4,_0x468567-_0x5de104._0x203c7a,_0x468567-_0x5de104._0x59de63);}return{'config':_0x43d059,'provider':_0x2cd204,'model':_0x10c213,'auth':_0x44339d,'apiKey':_0x44339d?.[_0x4b831d(0x370,_0x1f8fef._0x2583f5,0x2d7,_0x1f8fef._0x588631)],'oauthConfig':_0xad2331,'mcpAllowedTools':_0x2000dd,'requireToolApproval':_0xe523ac,'reasoningEffort':_0x5f1f91,'streamingChunks':_0x5ec2d6};}[_0x5318c5(-0x82,0x241,-0x74,0x178)](_0x4813e5,_0x176fdb){const _0x21a1e7={_0x5161b6:0x350,_0x2b94fb:0x2,_0x4d24f2:0x136},_0x4c67f3={_0x325479:0x90};function _0x9b16d7(_0x11b97a,_0xb83f16,_0x358682,_0x3f0bd7){return _0x7f0a6b(_0x11b97a-0x1d,_0x358682- -0x2c8,_0x11b97a,_0x3f0bd7-_0x4c67f3._0x325479);}return _0x176fdb?new _0x25177b(new _0x16b6af(_0xe695f8['join'](_0x4813e5,_0x9b16d7(_0x21a1e7._0x5161b6,_0x21a1e7._0x2b94fb,0x181,_0x21a1e7._0x4d24f2)))):new _0xa000de();}['resolveSession'](_0x29ade3){const _0x6e9108={_0x259f52:0x3e1,_0x667e7e:0x2c5,_0x3c76c1:0x283,_0xc8c151:0x680,_0x1a4276:0x714,_0x414bf3:0x78e,_0x4536f3:0x5b8},_0x19f41b={_0x735ed9:0x1d8};function _0x3b31eb(_0x41986e,_0x164bc6,_0x514b4f,_0x419247){return _0x7f0a6b(_0x41986e-0xf5,_0x514b4f-_0x19f41b._0x735ed9,_0x419247,_0x419247-0x1f4);}let _0x297df1=_0x29ade3['sessionId']??String(Date[_0x3b31eb(_0x6e9108._0x259f52,0x45a,_0x6e9108._0x667e7e,_0x6e9108._0x3c76c1)]()),{sessionsDir:_0x138d7f}=this[_0x3b31eb(_0x6e9108._0xc8c151,0x524,0x54a,_0x6e9108._0x1a4276)](),_0x104106=_0x29ade3[_0x3b31eb(_0x6e9108._0x414bf3,0x709,0x5d7,0x6db)]??_0xe695f8[_0x4ee932(0x667,_0x6e9108._0x4536f3,0x773,0x6d8)](_0x138d7f,_0x297df1);function _0x4ee932(_0x1279cc,_0x46dff1,_0x4c6559,_0x1e9bcd){return _0x7f0a6b(_0x1279cc-0x95,_0x46dff1-0x3d6,_0x1e9bcd,_0x1e9bcd-0x144);}return{'sessionId':_0x297df1,'sessionDir':_0x104106};}[_0x7f0a6b(0x4f6,0x303,0x4b4,0x208)](_0x35c5f4,_0x218c81,_0x425ad4,_0x4131ba){const _0x591a00={_0x4ee9ad:0x8fd},_0x589edf={_0x2f1f7c:0x21,_0x20be6b:0x538};function _0x209ff3(_0x2ca7c1,_0x2cc2c8,_0x83631c,_0x160f2d){return _0x5318c5(_0x2ca7c1-0x171,_0x2ca7c1,_0x83631c-_0x589edf._0x2f1f7c,_0x2cc2c8-_0x589edf._0x20be6b);}return new _t(_0x218c81['appendLine'],_0x218c81['updateLine'],_0x218c81[_0x209ff3(0x7be,0x8b0,0xa34,_0x591a00._0x4ee9ad)],_0x425ad4?{'filename':_0xe695f8['join'](_0x35c5f4,'events.json'),'streamingEnabled':_0x4131ba}:{'streamingEnabled':_0x4131ba});}async[_0x7f0a6b(0x37a,0x255,0x2eb,0x31)](_0x288d57,_0x2c9021){const _0x546a3d={_0x20045c:0x4c5,_0x33358d:0x5e7,_0x37f414:0x78b,_0x440b6f:0x8ff,_0x515346:0x597,_0x221953:0x5b5,_0x4b9bef:0x6a1,_0x51fb6f:0x893,_0x177058:0x7bc,_0x4b14cf:0x84f,_0x24bd5e:0x381,_0x5c9139:0x40f,_0x17916b:0x45a,_0xb6fb5a:0x703,_0x4e6e75:0x6fd,_0x2dea4e:0x556,_0x3d8756:0x667,_0x65098c:0x7ab,_0x4e0549:0x8af,_0x2f284e:0x5c4,_0xbb21e4:0x994,_0x5e38b4:0x61a,_0x5e307e:0x7f5,_0x561643:0x626,_0x89dc63:0x8cb,_0x433ba8:0x4dc,_0xf4648d:0x7c6,_0x2631b5:0x5fe,_0x4a5c70:0x4e8,_0x163326:0x2e9,_0x42aa22:0x4bd,_0x1cb55a:0xa53,_0x2cff6b:0x91e,_0x4d9a81:0x4e6,_0xb06d5f:0x293,_0x11efb9:0x9cc,_0x442efa:0x9bd,_0x5ef8ca:0x5ab,_0x3353d3:0x45c,_0x50b84d:0x52c,_0x1f3169:0x438,_0x193d8f:0x55b,_0xb3f59f:0x51a,_0xaae75d:0x2f3,_0x329680:0x422,_0x2181e1:0x60b,_0x156293:0x755,_0x5ae8c1:0x5a5,_0x1e31f5:0x6bf,_0x227b55:0x7ce,_0x56a892:0x735,_0x8bd0ae:0x762,_0x4dffea:0x5a5,_0x2ce0ab:0x6cb,_0x315659:0x60d,_0x546432:0x9c5,_0x1de7fe:0x646,_0x3720e3:0x4fa,_0x2b0f93:0x474,_0x3ea4fa:0x7b0,_0x3eaf51:0x703,_0x8dc28:0x5e9,_0x1ee271:0x6f4,_0x1ee3ef:0x43d,_0x486b9a:0x5f1,_0x734af0:0x757,_0x415f1e:0x97f,_0x5a0161:0x7ba,_0x53e356:0x761,_0x28d8bb:0x758,_0x4f4fde:0x69c,_0x39b8aa:0x943,_0x488db8:0x8d8,_0xf80eac:0x67f,_0x2b38a4:0x48f,_0x477b04:0x72f,_0x2d5fa1:0x512,_0xa95b97:0x323,_0x7178cc:0x3e8,_0x509c0e:0x416,_0x529693:0xa02,_0x234ef5:0x94f,_0x2de2cc:0x676,_0x1c57f1:0x5c9,_0x89e893:0x833,_0x440c24:0x96d,_0x1a1eec:0x81f,_0x1990c0:0x831,_0x595424:0x70f,_0x237a97:0x595,_0x563360:0x665,_0x52ad22:0x44b},_0x19c727={_0x317a74:0xfd,_0x554c43:0x36f},_0x6093dc={_0x57a819:0x459,_0x48c917:0xfd,_0x293685:0x1db},_0x496a87={_0x96b00a:0x435,_0x4177cd:0x5e3,_0x52dc77:0x364,_0x1b581e:0x555,_0x547944:0x132,_0x3a7e16:0x1ac,_0xdda628:0x420,_0x224ba2:0x9a9,_0x2886cf:0x9b2,_0x57eb95:0xa02,_0x55c4a7:0x205,_0x23b90d:0x80,_0x299041:0x7d2,_0x37df63:0x85c,_0x4861d2:0x460,_0x4f4ce2:0x22b,_0x446ff3:0x60c,_0x5a3000:0x6b2,_0x58e801:0x59c,_0x5c09d8:0x6a6,_0x430126:0x670,_0x38c949:0x80c,_0x2ad2c6:0x8cb,_0x229035:0x1b5,_0x4d1f6f:0x155},_0x17fe78={_0x55af72:0xef,_0xb9a2eb:0x50a},_0x214e0b={_0x3edf5f:0x92};this[_0x4eee27(0x769,0x8f0,0x7aa,0x91e)]=_0x4eee27(0x63e,_0x546a3d._0x20045c,0x814,0x81b),this['handlers']=_0x2c9021,this[_0x4eee27(0x761,_0x546a3d._0x33358d,0x759,0x87d)]=_0x288d57[_0x3580ff(0x8f1,_0x546a3d._0x37f414,_0x546a3d._0x440b6f,0xb05)]??!0x0;function _0x4eee27(_0x235a9b,_0x4dc1d8,_0x1badee,_0x516014){return _0x5318c5(_0x235a9b-_0x214e0b._0x3edf5f,_0x1badee,_0x1badee-0x45,_0x235a9b-0x37a);}let _0x55e14a=!!(_0x288d57[_0x4eee27(0x5c7,_0x546a3d._0x515346,_0x546a3d._0x221953,0x48c)]||_0x288d57[_0x4eee27(_0x546a3d._0x4b9bef,_0x546a3d._0x51fb6f,0x7b9,0x593)]),{sessionId:_0x4b0683,sessionDir:_0x1ea77c}=_0x55e14a?this[_0x4eee27(0x6fd,0x8c7,_0x546a3d._0x177058,_0x546a3d._0x4b14cf)](_0x288d57):{'sessionId':_0x4eee27(_0x546a3d._0x24bd5e,0x321,_0x546a3d._0x5c9139,_0x546a3d._0x17916b),'sessionDir':''};function _0x3580ff(_0x1121b1,_0x1142e4,_0x938338,_0x415346){return _0x5318c5(_0x1121b1-0x8,_0x415346,_0x938338-_0x17fe78._0x55af72,_0x1121b1-_0x17fe78._0xb9a2eb);}try{let _0x2b2b57=this['getCurrentConfig'](),_0x4d4894=_0x2b2b57['config'][_0x3580ff(0x70f,_0x546a3d._0xb6fb5a,_0x546a3d._0x4e6e75,_0x546a3d._0x2dea4e)]?.[_0x4eee27(_0x546a3d._0x3d8756,0x74f,0x89d,0x725)]??!0x1,_0x4ebc4d=_0x55e14a?this['createMemory'](_0x1ea77c,this['memPersist']):new _0xa000de(),{agentsDir:_0x493f24}=this['getProfilePaths']();_0x12fa33[_0x3580ff(_0x546a3d._0x65098c,_0x546a3d._0x4e0549,_0x546a3d._0x2f284e,_0x546a3d._0xbb21e4)](_0x493f24,{'recursive':!0x0});let _0x3bddb8=new _0x50ae71({'agentsDir':_0x493f24}),_0x2308e0=new _0x24ba56({'filePersistence':_0x3bddb8});await _0x2308e0['waitForLoad']();let _0x37b2c8=new _0x106c62({'agentRegistry':_0x2308e0}),_0x12b592=_0x37b2c8,_0x30cf92={'createLLM':_0x585d14=>{const _0x3124e7={_0x8d3810:0xbe,_0x13abd9:0xb1,_0x2e84f9:0x103},_0x475c05={_0x526248:0x5e4,_0x59d83b:0x35,_0x2cb9ae:0x6f};function _0xf2051e(_0x28c763,_0x33efce,_0x5aa0c1,_0xb9f02c){return _0x3580ff(_0x28c763- -_0x475c05._0x526248,_0x33efce-_0x475c05._0x59d83b,_0x5aa0c1-_0x475c05._0x2cb9ae,_0x5aa0c1);}let _0x46bfac;if(_0x585d14[_0xda4405(_0x496a87._0x96b00a,0x4df,_0x496a87._0x4177cd,_0x496a87._0x52dc77)]){let _0x4a7d24=_0x585d14[_0xda4405(0x323,0x4df,_0x496a87._0x1b581e,0x3c2)],_0x6e1158=this[_0xf2051e(0x102,-_0x496a87._0x547944,-0x74,_0x496a87._0x3a7e16)]()['config'][_0xda4405(0x38b,_0x496a87._0xdda628,0x398,0x25b)]?.[_0x4a7d24];_0x6e1158?.[_0xda4405(_0x496a87._0x224ba2,0x85c,_0x496a87._0x2886cf,_0x496a87._0x57eb95)]&&Array[_0xf2051e(_0x496a87._0x55c4a7,_0x496a87._0x23b90d,0xf0,0x177)](_0x6e1158[_0xda4405(_0x496a87._0x299041,_0x496a87._0x37df63,0x683,0x64d)])&&_0x6e1158[_0xf2051e(0x336,0x4ed,_0x496a87._0x4861d2,_0x496a87._0x4f4ce2)]['length']>0x0&&(_0x46bfac=_0x4a7d24);}function _0xda4405(_0x182144,_0x4cff29,_0x145624,_0x44611f){return _0x3580ff(_0x4cff29- -_0x3124e7._0x8d3810,_0x4cff29-_0x3124e7._0x13abd9,_0x145624-_0x3124e7._0x2e84f9,_0x44611f);}return _0x46bfac||(_0x46bfac=this['getCurrentConfig']()[_0xda4405(_0x496a87._0x446ff3,0x540,_0x496a87._0x5a3000,0x4d6)][_0xda4405(_0x496a87._0x58e801,_0x496a87._0x5c09d8,_0x496a87._0x430126,0x627)]||_0xf2051e(-0x3,0x2e,0x19e,0xd2)),this[_0xda4405(0x8eb,_0x496a87._0x38c949,0xa20,_0x496a87._0x2ad2c6)][_0xf2051e(-0x5,-_0x496a87._0x229035,-0x211,_0x496a87._0x4d1f6f)](_0x46bfac);}},_0x2c7f47=new ho({'getConfig':()=>this[_0x3580ff(0x8e3,0x70e,0xa38,0x9f8)][_0x4eee27(0x465,0x27e,0x4e0,0x5ed)]()[_0x4eee27(0x760,0x845,0x74c,0x786)],'appendLine':_0x2c9021[_0x3580ff(_0x546a3d._0x5e38b4,_0x546a3d._0x5e307e,0x82f,_0x546a3d._0x561643)],'handleError':_0x2c9021[_0x3580ff(0x6b3,0x789,0x4b3,_0x546a3d._0x89dc63)],'silentInit':!0x0,'eventBus':B});new _0xe7d212({'appName':_0x3580ff(0x7ad,0x6f9,0x685,0x797)})[_0x3580ff(0x687,0x80c,_0x546a3d._0x433ba8,_0x546a3d._0xf4648d)](_0x4b0683);let _0x158518=_0x2b2b57[_0x3580ff(_0x546a3d._0x2631b5,0x443,0x667,0x65b)][_0x3580ff(_0x546a3d._0x4a5c70,_0x546a3d._0x163326,0x447,_0x546a3d._0x42aa22)]||{},_0x5c7418=_0x2308e0[_0x3580ff(0x91c,0xa26,_0x546a3d._0x1cb55a,_0x546a3d._0x2cff6b)]()[_0x3580ff(0x629,0x7f3,_0x546a3d._0x4d9a81,0x534)](_0x255a62=>_0x158518[_0x255a62['id']]!==!0x1)['map'](_0x1d909b=>({'id':_0x1d909b['id'],'name':_0x1d909b['name'],'description':_0x1d909b['description']})),_0x2deacb=await _0x5e0967(process[_0x4eee27(0x47f,0x486,0x2ed,_0x546a3d._0xb06d5f)](),{'maxDepth':0x3,'maxFiles':0x1f4,'includeHidden':!0x1}),_0x1c79ef=_0x19831a({'today':new Date()[_0x3580ff(0x846,0x621,_0x546a3d._0x11efb9,_0x546a3d._0x442efa)](),'platform':process[_0x3580ff(_0x546a3d._0x5ef8ca,_0x546a3d._0x3353d3,0x6f1,0x688)],'arch':process[_0x3580ff(_0x546a3d._0x50b84d,0x74a,0x6b4,0x5c0)],'tempDir':_0x15cb19['tmpdir']?.()??'','workspaceDir':process[_0x4eee27(0x47f,_0x546a3d._0x1f3169,0x275,_0x546a3d._0x193d8f)](),'availableAgents':_0x5c7418,'folderTree':_0x2deacb},{'withSubAgent':!0x0}),_0x45a4aa={'id':'nuvin-agent','systemPrompt':_0x4a9010(ns,{'injectedSystem':_0x1c79ef}),'temperature':0x1,'topP':0x1,'model':_0x2b2b57['model'],'enabledTools':Ft,'maxToolConcurrency':0x3,'requireToolApproval':_0x2b2b57[_0x3580ff(_0x546a3d._0xb3f59f,_0x546a3d._0xaae75d,0x627,_0x546a3d._0x329680)],'reasoningEffort':_0x2b2b57[_0x3580ff(0x528,_0x546a3d._0x2181e1,0x6a5,_0x546a3d._0x156293)]},_0x55c8bb={'memory':_0x4ebc4d,'tools':_0x12b592,'events':_0x55e14a?this[_0x4eee27(_0x546a3d._0x5ae8c1,0x7b8,0x529,_0x546a3d._0x1e31f5)](_0x1ea77c,_0x2c9021,_0x4d4894,this[_0x3580ff(0x6cb,0x53a,0x62f,_0x546a3d._0x227b55)]):this[_0x3580ff(_0x546a3d._0x56a892,_0x546a3d._0x8bd0ae,0x8c9,_0x546a3d._0x4dffea)]('',_0x2c9021,!0x1,this[_0x3580ff(_0x546a3d._0x2ce0ab,0x83e,0x8ad,0x7fa)]),'metrics':new Tt(_0x4b0683,Oe)},_0x47f08b=new _0x485b15(_0x45a4aa,_0x55c8bb);if(_0x37b2c8?.[_0x3580ff(0x7d6,_0x546a3d._0x315659,0x8f2,_0x546a3d._0x546432)]){let _0x34faba=()=>{let _0x122153=this[_0x194cfc(0x273,-0xf5,0x9,_0x19c727._0x317a74)]();function _0x194cfc(_0x352318,_0x1bbdf7,_0x1db47a,_0x1ec861){return _0x4eee27(_0x1ec861- -_0x6093dc._0x57a819,_0x1bbdf7-_0x6093dc._0x48c917,_0x352318,_0x1ec861-_0x6093dc._0x293685);}function _0x3a4873(_0x2815ce,_0x38c71e,_0x4cef91,_0x3d13ed){return _0x3580ff(_0x3d13ed- -0x136,_0x38c71e-0x57,_0x4cef91-0x58,_0x2815ce);}return{'model':_0x122153['model'],'reasoningEffort':_0x122153[_0x3a4873(0x1fb,_0x19c727._0x554c43,0x31f,0x3f2)]};};_0x37b2c8[_0x4eee27(_0x546a3d._0x1de7fe,_0x546a3d._0x3720e3,_0x546a3d._0x2b0f93,0x707)](_0x45a4aa,_0x12b592,_0x30cf92,_0x34faba),_0x37b2c8[_0x3580ff(_0x546a3d._0x3ea4fa,0x9b9,0x7d5,0x632)](_0x158518);}this[_0x4eee27(_0x546a3d._0x3eaf51,0x5c2,_0x546a3d._0x8dc28,_0x546a3d._0x1ee271)]=_0x47f08b,this[_0x4eee27(_0x546a3d._0x1ee3ef,0x5c2,_0x546a3d._0x486b9a,0x4c4)]=_0x4ebc4d,this['conversationStore']=new _0x54ee90(_0x4ebc4d),this['model']=_0x2b2b57[_0x4eee27(0x46f,0x3d6,0x31b,0x2be)],this[_0x3580ff(_0x546a3d._0x734af0,0x5d0,_0x546a3d._0x415f1e,_0x546a3d._0x5a0161)]=_0x55e14a&&this[_0x4eee27(_0x546a3d._0x53e356,0x8b8,_0x546a3d._0x28d8bb,_0x546a3d._0x4f4fde)]?_0x4b0683:null,this[_0x3580ff(0x831,0x879,0x9af,_0x546a3d._0x39b8aa)]=_0x55e14a&&this[_0x4eee27(0x761,0x605,_0x546a3d._0x488db8,0x5b7)]?_0x1ea77c:null,this[_0x3580ff(_0x546a3d._0xf80eac,0x4d3,_0x546a3d._0x2b38a4,_0x546a3d._0x477b04)]=_0x55e14a,this[_0x4eee27(_0x546a3d._0x2d5fa1,_0x546a3d._0xa95b97,0x44f,0x620)]=_0x2c7f47;let _0x1e89ae=this[_0x4eee27(0x44f,_0x546a3d._0x7178cc,_0x546a3d._0x509c0e,0x21b)]();return this[_0x3580ff(0x893,0x680,0x74e,_0x546a3d._0x529693)]['setLLM'](_0x1e89ae),this[_0x4eee27(0x769,_0x546a3d._0x234ef5,0x6aa,_0x546a3d._0x2de2cc)]=_0x4eee27(_0x546a3d._0x1c57f1,0x447,0x64f,0x688),_0x55e14a&&await this['initializeDefaultConversation'](),this['initializeMCPServersInBackground'](_0x2c7f47,_0x2c9021),{'model':this[_0x3580ff(0x5ff,_0x546a3d._0x89e893,0x5b8,0x7ee)],'sessionId':this[_0x3580ff(0x757,_0x546a3d._0x440c24,_0x546a3d._0x1a1eec,0x676)],'sessionDir':this[_0x3580ff(_0x546a3d._0x1990c0,_0x546a3d._0x595424,0x6cc,0x68e)]};}catch(_0x480df4){throw this[_0x4eee27(0x769,_0x546a3d._0x237a97,0x6a2,0x776)]=_0x4eee27(_0x546a3d._0x563360,_0x546a3d._0x52ad22,0x439,0x555),_0x480df4;}}[_0x5318c5(0x12c,-0x18a,-0x1b3,-0x33)](){const _0x1f2398={_0x821350:0x493,_0xd7ace6:0x599},_0x384f13={_0x28f0b3:0xbb};function _0x4f3a83(_0x590588,_0x30788f,_0x4a9320,_0x43752c){return _0x7f0a6b(_0x590588-_0x384f13._0x28f0b3,_0x43752c-0x1e5,_0x4a9320,_0x43752c-0x10d);}return this[_0x4f3a83(_0x1f2398._0x821350,0x6e5,_0x1f2398._0xd7ace6,0x646)];}['getMemory'](){const _0x26cce5={_0x27efd8:0x20f,_0x4f3771:0x33b,_0x5d0a28:0x3e0,_0x235964:0x40f},_0x5d3de8={_0x3fd785:0x12a};function _0x4166cd(_0x45e1b4,_0x467cc0,_0x30272a,_0x591bb2){return _0x5318c5(_0x45e1b4-0x4e,_0x591bb2,_0x30272a-_0x5d3de8._0x3fd785,_0x30272a-0x31d);}return this[_0x4166cd(_0x26cce5._0x27efd8,_0x26cce5._0x4f3771,_0x26cce5._0x5d0a28,_0x26cce5._0x235964)];}[_0x7f0a6b(0x1e7,0x3dc,0x405,0x27d)](){const _0xe9be20={_0x358477:0x498,_0x9091e5:0x473},_0xee5b08={_0x29b597:0x21};function _0x42317e(_0x3c0600,_0x569b0e,_0x319049,_0x4fe8cb){return _0x5318c5(_0x3c0600-0x1ad,_0x4fe8cb,_0x319049-_0xee5b08._0x29b597,_0x319049- -0x9a);}return this[_0x42317e(_0xe9be20._0x358477,_0xe9be20._0x9091e5,0x355,0x500)];}[_0x5318c5(0x2cc,0x583,0x3ae,0x40b)](){const _0x8bd747={_0x2e4c4:0x605,_0x3cf5ed:0x552,_0x5bbf93:0x4c2},_0x4bc6cf={_0xc9e632:0x74,_0x2c48d5:0x1c4};function _0x15a0e0(_0x440e53,_0x3417fd,_0x204d4f,_0x297a54){return _0x5318c5(_0x440e53-_0x4bc6cf._0xc9e632,_0x204d4f,_0x204d4f-_0x4bc6cf._0x2c48d5,_0x3417fd-0x45d);}return this[_0x15a0e0(_0x8bd747._0x2e4c4,_0x8bd747._0x3cf5ed,0x330,_0x8bd747._0x5bbf93)];}[_0x7f0a6b(-0x14,0x152,0x37,0x43)](){const _0x3588a1={_0x4bb7ff:0x8ef,_0x5eb718:0x5aa,_0x7417fe:0x508,_0x5773e1:0x58a},_0x41e0d2={_0x1c88d1:0x5d},_0x487718={_0x4dd20d:0x41e,_0x448cfc:0xf2};function _0x1f9a91(_0x4bcfc9,_0x520bf3,_0x50dbc8,_0x51888f){return _0x7f0a6b(_0x4bcfc9-0x1b6,_0x520bf3-_0x487718._0x4dd20d,_0x50dbc8,_0x51888f-_0x487718._0x448cfc);}function _0x34c0bf(_0x352b4e,_0x1fd3a3,_0x5911f6,_0x579d0c){return _0x5318c5(_0x352b4e-0xab,_0x1fd3a3,_0x5911f6-_0x41e0d2._0x1c88d1,_0x5911f6-0x559);}return this[_0x34c0bf(_0x3588a1._0x4bb7ff,_0x3588a1._0x5eb718,0x6f1,0x519)]?.[_0x34c0bf(0x61a,_0x3588a1._0x7417fe,0x6c8,_0x3588a1._0x5773e1)]()||[];}[_0x5318c5(0x12a,-0x1e,0x1c7,0x12)](){const _0x18a0fa={_0x16acf0:0x94,_0x314e8f:0x253},_0x28cde3={_0x2cb1d6:0x5f};function _0x4bc32e(_0x5d82f3,_0x312286,_0x2e81a3,_0x53917d){return _0x5318c5(_0x5d82f3-0x1e0,_0x312286,_0x2e81a3-_0x28cde3._0x2cb1d6,_0x53917d-0x241);}return this['orchestrator']?.[_0x4bc32e(0x247,0x439,_0x18a0fa._0x16acf0,_0x18a0fa._0x314e8f)]();}[_0x7f0a6b(0x27e,0x276,0x362,0x170)](){const _0x38e062={_0x18f16d:0x3ed,_0x5e984f:0x409},_0x3bd70b={_0x49ce5d:0x182,_0x3b7ba5:0x2ae,_0x1fc8ad:0x14c};function _0x268a9c(_0x59d04a,_0x562e9d,_0x489fe8,_0x1326ba){return _0x7f0a6b(_0x59d04a-_0x3bd70b._0x49ce5d,_0x489fe8-_0x3bd70b._0x3b7ba5,_0x1326ba,_0x1326ba-_0x3bd70b._0x1fc8ad);}return this['orchestrator']?.[_0x268a9c(0x34d,_0x38e062._0x18f16d,0x524,_0x38e062._0x5e984f)]();}[_0x7f0a6b(0xf6,0x1c3,0x126,0x19c)](){const _0xc93cb1={_0x322748:0x6c9,_0x1bf3f3:0x630,_0x2130ee:0x46d,_0x5b58f0:0x267},_0x30029d={_0x223a98:0x83,_0x44806f:0x206},_0x553eac={_0x4b333a:0x3f,_0xe8cd67:0x2a7};function _0x19e6d5(_0x499c52,_0x59b7ea,_0x2404c8,_0x556fb2){return _0x5318c5(_0x499c52-0x90,_0x499c52,_0x2404c8-_0x553eac._0x4b333a,_0x2404c8-_0x553eac._0xe8cd67);}function _0x485817(_0x14448a,_0x5bf3fd,_0x33bf3e,_0x36ae5e){return _0x5318c5(_0x14448a-0xbb,_0x14448a,_0x33bf3e-_0x30029d._0x223a98,_0x33bf3e-_0x30029d._0x44806f);}return this[_0x19e6d5(_0xc93cb1._0x322748,0x685,_0xc93cb1._0x1bf3f3,0x83b)]?.[_0x19e6d5(_0xc93cb1._0x2130ee,_0xc93cb1._0x5b58f0,0x392,0x35a)]();}async['updateMCPAllowedTools'](_0x24dc52){const _0xc9a401={_0x4200f4:0x4df,_0x4f8a45:0x689,_0x5e5de1:0x801,_0x5ebeda:0x60c,_0x14e703:0x610,_0x184283:0x6e3,_0x57764b:0x890,_0x103176:0xa62,_0x53d70f:0x809,_0x5a7885:0x8ab,_0x47f302:0x5a0,_0xebc1b4:0x49a,_0x3bbff2:0x4cf,_0x2de622:0x738,_0x404787:0x724,_0x20345e:0x757,_0x5cd181:0x4d8,_0x5d3f6d:0x34a,_0x4c86bd:0x23b},_0x432192={_0x5c8890:0x2d7},_0x454784={_0x210155:0x100,_0x27e953:0x3a0,_0x424a33:0x11e};function _0x585a87(_0x40474a,_0x3eb182,_0x56506d,_0x579e56){return _0x7f0a6b(_0x40474a-_0x454784._0x210155,_0x40474a-_0x454784._0x27e953,_0x56506d,_0x579e56-_0x454784._0x424a33);}function _0x834ea0(_0x14c034,_0x534cda,_0xc4559a,_0x419898){return _0x7f0a6b(_0x14c034-0x3c,_0x14c034-_0x432192._0x5c8890,_0xc4559a,_0x419898-0x1c1);}if(this[_0x585a87(0x610,_0xc9a401._0x4200f4,_0xc9a401._0x4f8a45,0x6ee)]&&this[_0x585a87(_0xc9a401._0x5e5de1,_0xc9a401._0x5ebeda,0x6e6,0x762)]){await this[_0x585a87(_0xc9a401._0x14e703,_0xc9a401._0x184283,0x5f2,0x52b)]['updateAllowedToolsConfig'](_0x24dc52);let _0x99325e=this[_0x585a87(_0xc9a401._0x14e703,0x723,0x717,0x710)][_0x585a87(_0xc9a401._0x57764b,_0xc9a401._0x103176,_0xc9a401._0x53d70f,_0xc9a401._0x5a7885)](),_0x354d84=[];for(let _0x177957 of _0x99325e)_0x354d84[_0x834ea0(0x613,0x631,0x68d,0x51d)](..._0x177957[_0x585a87(_0xc9a401._0x47f302,0x7d4,_0xc9a401._0xebc1b4,_0xc9a401._0x3bbff2)]);let _0x268cfe=[...Ft,..._0x354d84];this[_0x834ea0(_0xc9a401._0x2de622,_0xc9a401._0x404787,_0xc9a401._0x20345e,0x720)][_0x834ea0(0x451,_0xc9a401._0x5cd181,_0xc9a401._0x5d3f6d,_0xc9a401._0x4c86bd)]({'enabledTools':_0x268cfe});}}async[_0x5318c5(0x396,0x144,0x3c0,0x1ed)](_0x145a7c){const _0x82fc2={_0x876a81:0x199,_0x2bf7fb:0x257,_0x2ec0d2:0xb,_0x20641a:0xda,_0x23d278:0x3f,_0x3ea64c:0x69,_0x4af1f6:0x91,_0x2c430e:0x998,_0x37e01d:0x8d1,_0x22b3b2:0x78b,_0xbe9193:0x44d,_0x5834f5:0x7ed,_0xa37570:0x78e,_0x572f8d:0x199,_0x688a91:0x3d0,_0xd9c059:0x24c,_0x11b5b8:0xa83,_0xb69443:0x694,_0x4b0fe4:0x6c8,_0x5a4305:0x6cd,_0x3d4853:0x49c,_0xe8df40:0x54a},_0x4421f3={_0x14ac81:0xd3,_0x2d56ac:0x1},_0x1c39c1={_0x3801d4:0x1e5};if(!this['mcpManager'])return null;function _0x44d1d7(_0xebde68,_0x13bbff,_0x1c2f83,_0x508082){return _0x5318c5(_0xebde68-_0x1c39c1._0x3801d4,_0xebde68,_0x1c2f83-0x16c,_0x13bbff-0x464);}let _0x3f0840=await this[_0x2c5be6(_0x82fc2._0x876a81,_0x82fc2._0x2bf7fb,-_0x82fc2._0x2ec0d2,_0x82fc2._0x20641a)][_0x2c5be6(-_0x82fc2._0x23d278,-_0x82fc2._0x3ea64c,-0x33,-_0x82fc2._0x4af1f6)](_0x145a7c);if(_0x3f0840&&_0x3f0840[_0x44d1d7(_0x82fc2._0x2c430e,0x853,_0x82fc2._0x37e01d,_0x82fc2._0x22b3b2)]===_0x44d1d7(0x5d2,_0x82fc2._0xbe9193,0x5a6,0x3d1)&&this[_0x44d1d7(0x6a1,_0x82fc2._0x5834f5,0x87f,_0x82fc2._0xa37570)]){let _0x1c68c6=this[_0x2c5be6(_0x82fc2._0x572f8d,0x36f,_0x82fc2._0x688a91,_0x82fc2._0xd9c059)][_0x44d1d7(0x8d0,0x87c,_0x82fc2._0x11b5b8,0xa69)](),_0x568285=[];for(let _0x38bd88 of _0x1c68c6)_0x568285[_0x44d1d7(_0x82fc2._0xb69443,_0x82fc2._0x4b0fe4,_0x82fc2._0x5a4305,_0x82fc2._0x3d4853)](..._0x38bd88[_0x44d1d7(0x436,0x58c,0x759,_0x82fc2._0xe8df40)]);let _0x3f2710=[...Ft,..._0x568285];this['orchestrator']['updateConfig']({'enabledTools':_0x3f2710});}function _0x2c5be6(_0x5946e5,_0x36d0f0,_0x32df37,_0x3a86ac){return _0x5318c5(_0x5946e5-0x12e,_0x32df37,_0x32df37-_0x4421f3._0x14ac81,_0x5946e5-_0x4421f3._0x2d56ac);}return _0x3f0840;}async['disconnectMCPServer'](_0x54c9d8){const _0x207810={_0x3b5b7f:0x4e6,_0x4a3668:0x46e,_0x4e1ff6:0xc4,_0x2cb15c:0x18a,_0x5b790b:0x2b5,_0x2b6ea6:0x386,_0x103a2f:0x4dc,_0x46e2d1:0x63,_0x594b69:0x169,_0x2ba42b:0x78a,_0x743271:0x603,_0x3f506d:0x3ff,_0x4294f9:0x567,_0x20dc54:0x430,_0x5b2bf3:0x3c9,_0x12454c:0x1b6,_0x324b39:0x54,_0x3b2869:0x408,_0x13bdec:0x217},_0x9029b8={_0x1dd033:0x119},_0x235bfb={_0xe70815:0x1af,_0x41d3f6:0x77,_0x4bd104:0x14f};if(!this[_0x29ca0b(0x304,_0x207810._0x3b5b7f,_0x207810._0x4a3668,0x2e7)])return!0x1;function _0x29ca0b(_0x3c10ed,_0x4c7eb7,_0x16edbe,_0x12a42a){return _0x7f0a6b(_0x3c10ed-_0x235bfb._0xe70815,_0x12a42a-_0x235bfb._0x41d3f6,_0x16edbe,_0x12a42a-_0x235bfb._0x4bd104);}let _0x297423=await this[_0x182ac(0x74,_0x207810._0x4e1ff6,_0x207810._0x2cb15c,0x39)]['disconnectServer'](_0x54c9d8);function _0x182ac(_0x5a50b1,_0x96b74c,_0xb64e5a,_0x11c447){return _0x7f0a6b(_0x5a50b1-0x1e2,_0x96b74c- -0x1ac,_0xb64e5a,_0x11c447-_0x9029b8._0x1dd033);}if(_0x297423&&this[_0x182ac(0xa2,_0x207810._0x5b790b,_0x207810._0x2b6ea6,_0x207810._0x103a2f)]){let _0x4a24a9=this[_0x182ac(0x81,_0x207810._0x4e1ff6,_0x207810._0x46e2d1,_0x207810._0x594b69)][_0x29ca0b(_0x207810._0x2ba42b,_0x207810._0x743271,_0x207810._0x3f506d,_0x207810._0x4294f9)](),_0x9ef576=[];for(let _0x18e024 of _0x4a24a9)_0x9ef576[_0x29ca0b(0x183,_0x207810._0x20dc54,_0x207810._0x5b2bf3,0x3b3)](..._0x18e024[_0x182ac(_0x207810._0x12454c,_0x207810._0x324b39,-0x103,0x1a3)]);let _0x7814e4=[...Ft,..._0x9ef576];this[_0x182ac(_0x207810._0x3b2869,0x2b5,0x291,0x24e)][_0x182ac(0x46,-0x32,-0x22d,-_0x207810._0x13bdec)]({'enabledTools':_0x7814e4});}return _0x297423;}['getSession'](){return{'sessionId':this['sessionId'],'sessionDir':this['sessionDir']};}[_0x7f0a6b(0x415,0x40c,0x34e,0x363)](){const _0x1f20a1={_0x55f7f9:0x38,_0xd5e79:0x10f,_0x87f3c7:0x271},_0x3d9118={_0xe797f3:0x192,_0x3b0e21:0x8e,_0x510c19:0x160};function _0x307e96(_0x56c91e,_0x416eaa,_0x132ea7,_0x232b58){return _0x5318c5(_0x56c91e-_0x3d9118._0xe797f3,_0x416eaa,_0x132ea7-_0x3d9118._0x3b0e21,_0x56c91e- -_0x3d9118._0x510c19);}return this[_0x307e96(_0x1f20a1._0x55f7f9,_0x1f20a1._0xd5e79,_0x1f20a1._0x87f3c7,0x7)];}['setMcpManager'](_0x56d297){const _0x3892f4={_0x2317e7:0x234,_0x5916bb:0x39};function _0x23ad96(_0x28f708,_0x27f7d2,_0x46efb5,_0x4f02b6){return _0x7f0a6b(_0x28f708-0x10b,_0x4f02b6- -0x4e,_0x28f708,_0x4f02b6-0x6f);}this[_0x23ad96(_0x3892f4._0x2317e7,0x60,_0x3892f4._0x5916bb,0x222)]=_0x56d297;}async[_0x7f0a6b(0x370,0x40e,0x4b8,0x2f8)](){const _0x19f2c7={_0xf85d01:0xe,_0x412ee7:0x169,_0x481fdf:0x16d,_0x224541:0x15e,_0x17001d:0xd6,_0x39d753:0x277},_0x1de745={_0x5394d3:0x1dd,_0x2d8679:0x1d4,_0x45e91c:0x2b},_0x4c6010={_0x426d34:0x10,_0x535b7b:0x26b};function _0x540e57(_0x341665,_0x372b80,_0xa7ea4a,_0x123a37){return _0x5318c5(_0x341665-_0x4c6010._0x426d34,_0x372b80,_0xa7ea4a-0x1ae,_0xa7ea4a-_0x4c6010._0x535b7b);}function _0x485112(_0x2c85f9,_0x44f19e,_0x1c8d12,_0x291d5){return _0x5318c5(_0x2c85f9-_0x1de745._0x5394d3,_0x2c85f9,_0x1c8d12-_0x1de745._0x2d8679,_0x1c8d12- -_0x1de745._0x45e91c);}await this[_0x485112(-_0x19f2c7._0xf85d01,_0x19f2c7._0x412ee7,_0x19f2c7._0x481fdf,_0x19f2c7._0x224541)]?.[_0x485112(-_0x19f2c7._0x17001d,_0x19f2c7._0x39d753,0x96,0x237)]?.();}async[_0x5318c5(0x19f,-0x177,0x173,0x48)](_0x50fc1b,_0xd79399){const _0x43a8da={_0xcee702:0x2b,_0x1ba070:0x461,_0x4975e2:0x664,_0x3fde92:0x795,_0x4d29c9:0x685,_0x27eab3:0x7d8,_0x5efa97:0x8b9,_0x29325b:0x535,_0x286d51:0xe1,_0x36c410:0x79c,_0x43b4bb:0x5c5,_0x3d1d7c:0x2b,_0xea1c55:0x845,_0x571804:0x6b9,_0x2c3953:0x8a3,_0x4f5593:0x858,_0x59575d:0x199,_0x594b14:0x192},_0x2a5f28={_0x4f5206:0x397};((async()=>{function _0x4504b7(_0x3e9931,_0x4d586d,_0x1ab55a,_0x53cc34){return _0xa481(_0x53cc34- -0x37c,_0x4d586d);}function _0x4b677a(_0x225783,_0xe888e6,_0x51cfc9,_0x326871){return _0xa481(_0x326871-_0x2a5f28._0x4f5206,_0x225783);}try{let {mcpPorts:_0x369440,enabledTools:_0x4e2c8c}=await _0x50fc1b[_0x4504b7(-_0x43a8da._0xcee702,-0x359,-0x30f,-0x1c9)]();if(_0x369440[_0x4b677a(_0x43a8da._0x1ba070,_0x43a8da._0x4975e2,_0x43a8da._0x3fde92,_0x43a8da._0x4d29c9)]>0x0&&this[_0x4b677a(0x94f,_0x43a8da._0x27eab3,_0x43a8da._0x5efa97,0x8ac)]){let _0x372b2b=this['orchestrator'][_0x4b677a(0x364,0x3ee,0x354,_0x43a8da._0x29325b)](),_0x25554d=new _0x223c89([_0x372b2b,..._0x369440]);this['orchestrator'][_0x4504b7(_0x43a8da._0x286d51,0x346,0xed,0x1df)](_0x25554d);let _0x581eea=[...Ft,..._0x4e2c8c];this['orchestrator'][_0x4b677a(0x5ad,_0x43a8da._0x36c410,0x537,_0x43a8da._0x43b4bb)]({'enabledTools':_0x581eea});}}catch(_0x1e5194){console[_0x4504b7(-0xcf,0x11,_0x43a8da._0x3d1d7c,0x72)](_0x4b677a(0xa28,_0x43a8da._0xea1c55,_0x43a8da._0x571804,0x819),_0x1e5194),_0xd79399[_0x4b677a(_0x43a8da._0x2c3953,0x49d,_0x43a8da._0x4f5593,0x6cc)](_0x4504b7(-0xbe,-_0x43a8da._0x59575d,-0x2f7,-_0x43a8da._0x594b14)+(_0x1e5194 instanceof Error?_0x1e5194['message']:String(_0x1e5194)));}})());}[_0x5318c5(0x6e,-0x3b,0x176,0xa2)](_0x2794b4){const _0x347a7b={_0x33e6a8:0x67f,_0x4857a9:0x920,_0x171daa:0x8f1,_0x1cd990:0x2a0,_0x2e413a:0x4e3,_0x5467e4:0x748,_0x2773d6:0x6af,_0x2e6c38:0x790,_0x12e44d:0x605,_0x17c6ed:0x6d0,_0x24e46f:0x468,_0x32a372:0x605,_0x35059c:0x22b,_0xd56d3:0x3a0},_0x31997b={_0x36ad9e:0x2ab};function _0x22fad0(_0x11db10,_0x41b1fc,_0x31cd24,_0x2204c2){return _0x5318c5(_0x11db10-0x1e,_0x31cd24,_0x31cd24-0x6b,_0x2204c2-0x510);}if(!this[_0x22fad0(_0x347a7b._0x33e6a8,_0x347a7b._0x4857a9,_0x347a7b._0x171daa,0x899)])throw new Error(_0x4fa10c(0x3c9,0x5c3,0x4bf,_0x347a7b._0x1cd990));function _0x4fa10c(_0x55a214,_0x187705,_0x31bce1,_0x536860){return _0x5318c5(_0x55a214-0x3e,_0x536860,_0x31bce1-0x3f,_0x31bce1-_0x31997b._0x36ad9e);}this[_0x22fad0(0x6c3,0x8e0,0x92e,0x899)][_0x22fad0(0x47e,0x6f1,_0x347a7b._0x2e413a,0x5b2)](_0x2794b4),_0x2794b4[_0x22fad0(_0x347a7b._0x5467e4,_0x347a7b._0x2773d6,_0x347a7b._0x2e6c38,_0x347a7b._0x12e44d)]&&(this[_0x22fad0(0x430,_0x347a7b._0x17c6ed,_0x347a7b._0x24e46f,_0x347a7b._0x32a372)]=_0x2794b4[_0x4fa10c(0x527,_0x347a7b._0x35059c,_0x347a7b._0xd56d3,0x4ae)]);}async[_0x7f0a6b(0x4e5,0x4f8,0x607,0x37a)](){const _0x55154a={_0x4baa52:0x339,_0x19f8d7:0x118,_0x453e29:0x1dd,_0x40024a:0x2f7,_0x439899:0x555,_0x59dbf8:0x19b,_0x3c61ba:0x2d6,_0x57c1e1:0x146,_0x367973:0x2f8,_0x4a3ffd:0x407,_0x5bfbb4:0x1d1,_0x14acb7:0x160,_0x3d4ddf:0x183,_0x2447cb:0x16a,_0x43e86b:0x341,_0x11bf87:0x4c5,_0x5348c4:0x177,_0x4c6c6d:0x1c,_0x559f15:0x2ff,_0x5cea1c:0x760,_0x1b1e2f:0x5d9,_0x5c4670:0x391,_0xd0d377:0x34d,_0x3e9a10:0x2f6,_0x36b6b7:0x490,_0x40f7dc:0x134,_0x328b5e:0xc0,_0x548fcc:0x7b,_0x3604c0:0x70e,_0x386252:0x3eb,_0x3ea50c:0x33b,_0x28699a:0x204,_0x4b7b45:0x128,_0x9396d3:0xd7,_0x3f7b1e:0x107,_0xf0d042:0x93,_0x94e478:0x258,_0x41360f:0x258,_0x3ef4d0:0x403,_0x10b583:0x34b,_0x2ac103:0x180,_0x54d09f:0x2f9,_0x1219ea:0x278,_0xe9512b:0x78},_0x2cc0d8={_0x2290b6:0x130,_0x33d79a:0xcd},_0x53f027={_0x222fae:0x1b6,_0x561a91:0x10a};function _0x5b09f9(_0x29ea3f,_0x463c46,_0x5e3b72,_0x34f403){return _0x7f0a6b(_0x29ea3f-_0x53f027._0x222fae,_0x463c46-_0x53f027._0x561a91,_0x34f403,_0x34f403-0xe7);}if(!this['orchestrator']||!this[_0x2f8ae9(_0x55154a._0x4baa52,0x16a,_0x55154a._0x19f8d7,0x10f)])throw new Error(_0x5b09f9(0xda,_0x55154a._0x453e29,0x123,-0x42));let {sessionId:_0x4633f6,sessionDir:_0x5e8f90}=this[_0x2f8ae9(_0x55154a._0x40024a,0x38e,0x439,_0x55154a._0x439899)]({}),_0x510bd6=this['getCurrentConfig']()[_0x5b09f9(_0x55154a._0x59dbf8,_0x55154a._0x3c61ba,_0x55154a._0x57c1e1,0x164)]['session']?.[_0x2f8ae9(0x3e6,_0x55154a._0x367973,_0x55154a._0x4a3ffd,_0x55154a._0x5bfbb4)]??!0x1,_0x117762=this[_0x2f8ae9(_0x55154a._0x14acb7,_0x55154a._0x3d4ddf,_0x55154a._0x2447cb,0xa1)](_0x5e8f90,!0x0),_0x3a77b8=this[_0x5b09f9(0x225,0x40d,_0x55154a._0x43e86b,0x2c1)](_0x5e8f90,this[_0x5b09f9(_0x55154a._0x11bf87,0x341,0x157,_0x55154a._0x5348c4)],_0x510bd6,this[_0x2f8ae9(0x1e9,0x1cc,_0x55154a._0x4c6c6d,_0x55154a._0x559f15)]);function _0x2f8ae9(_0x9bcd40,_0x32bc4d,_0x221eea,_0x3e775f){return _0x7f0a6b(_0x9bcd40-_0x2cc0d8._0x2290b6,_0x32bc4d- -_0x2cc0d8._0x33d79a,_0x9bcd40,_0x3e775f-0x41);}this[_0x5b09f9(_0x55154a._0x5cea1c,0x56b,_0x55154a._0x1b1e2f,0x5a4)][_0x2f8ae9(_0x55154a._0x5c4670,_0x55154a._0xd0d377,_0x55154a._0x3e9a10,_0x55154a._0x36b6b7)](_0x117762),this['orchestrator'][_0x2f8ae9(_0x55154a._0x40f7dc,_0x55154a._0x328b5e,0x2f5,-_0x55154a._0x548fcc)](_0x3a77b8),this[_0x5b09f9(_0x55154a._0x3604c0,0x56b,_0x55154a._0x386252,_0x55154a._0x3ea50c)][_0x2f8ae9(_0x55154a._0x28699a,0x18,-_0x55154a._0x4b7b45,_0x55154a._0x9396d3)](new Tt(_0x4633f6,Oe)),this[_0x2f8ae9(-_0x55154a._0x3f7b1e,0xce,-_0x55154a._0xf0d042,-0x111)]=_0x117762,this[_0x5b09f9(0x16d,0x203,0x32d,-0x11)]=new _0x54ee90(_0x117762),this[_0x2f8ae9(_0x55154a._0x94e478,_0x55154a._0x41360f,_0x55154a._0x3ef4d0,_0x55154a._0x10b583)]=_0x4633f6,this['sessionDir']=_0x5e8f90,this[_0x2f8ae9(0xb6,_0x55154a._0x2ac103,_0x55154a._0x54d09f,-0x31)]=!0x0,await this[_0x5b09f9(0xa0,_0x55154a._0x1219ea,_0x55154a._0xe9512b,0x9a)]();}async['initializeDefaultConversation'](){const _0x585821={_0x58808a:0x2c6,_0x39193a:0x1be,_0x468e28:0x11b,_0x580d67:0x2f3,_0x2226e3:0x3c2,_0x111709:0x323,_0x482253:0x1af,_0x381349:0x1db,_0x598b90:0x3c4,_0x4944f6:0x4b,_0x2bb1ad:0xa2,_0x5be73c:0x1b,_0x314bde:0x207,_0x26f56e:0x57c,_0x5d44d9:0x688},_0x4acdaf={_0xe9db3d:0x5,_0x4083ba:0x181},_0x4b0ea5={_0x401526:0x1ee};function _0x459728(_0x349d62,_0x2a87be,_0x408ad9,_0x53ee0e){return _0x5318c5(_0x349d62-0x6c,_0x408ad9,_0x408ad9-_0x4b0ea5._0x401526,_0x349d62-0x19d);}if(!this[_0x459728(0x1be,_0x585821._0x58808a,0x160,0x1dc)])return;let _0x429b20=this['conversationContext'][_0x4b14e3(-0x195,-0x1a7,-0x60,0x14b)]();function _0x4b14e3(_0x554af0,_0x5f5989,_0x16dcdb,_0x184d16){return _0x5318c5(_0x554af0-0x1,_0x554af0,_0x16dcdb-_0x4acdaf._0xe9db3d,_0x16dcdb- -_0x4acdaf._0x4083ba);}(await this[_0x459728(_0x585821._0x39193a,0x3f5,_0x585821._0x468e28,0x1b4)][_0x459728(_0x585821._0x580d67,0x107,_0x585821._0x2226e3,_0x585821._0x111709)](_0x429b20))[_0x4b14e3(_0x585821._0x482253,0x2fe,0x272,_0x585821._0x381349)][_0x459728(0x412,0x463,_0x585821._0x598b90,0x534)]||await this[_0x4b14e3(_0x585821._0x4944f6,-0x24a,-0x160,-_0x585821._0x2bb1ad)][_0x4b14e3(0x1f,_0x585821._0x5be73c,_0x585821._0x314bde,0x3d3)](_0x429b20,{'messages':[],'metadata':{'createdAt':new Date()[_0x459728(_0x585821._0x26f56e,0x42f,0x6f1,_0x585821._0x5d44d9)](),'updatedAt':new Date()[_0x459728(_0x585821._0x26f56e,0x54f,0x642,0x3b6)](),'messageCount':0x0}});}async[_0x5318c5(0x33f,0x115,0x256,0x1f0)](_0x2fae79,_0x34cd45){const _0xbebc0c={_0x1e37c8:0xa4,_0x10a2ce:0xbb,_0x154c04:0x133,_0x554e48:0x4a0,_0x1caf84:0x3fd,_0x295821:0x6c1,_0x21cafa:0x1fa,_0x53bcac:0x179,_0x303f93:0x19,_0x1d91c2:0x125,_0x32b122:0x2e,_0xc6e9b0:0x122,_0x273577:0x5a9,_0x7ccbfd:0x725},_0x23292a={_0x3d3fad:0x1e9,_0x33898d:0x1b4},_0x28ae68={_0x3d593f:0x3dd};if(!this[_0x567c93(-0x28e,_0xbebc0c._0x1e37c8,-_0xbebc0c._0x10a2ce,-_0xbebc0c._0x154c04)]||!this[_0x22313c(_0xbebc0c._0x554e48,_0xbebc0c._0x1caf84,0x3d3,_0xbebc0c._0x295821)])return;let _0x2ffe93=await this[_0x567c93(_0xbebc0c._0x21cafa,_0xbebc0c._0x53bcac,-_0xbebc0c._0x303f93,_0xbebc0c._0x1d91c2)]['get'](_0x2fae79);function _0x22313c(_0x1180b5,_0x36d518,_0x356ce,_0x5dd586){return _0x5318c5(_0x1180b5-0x111,_0x36d518,_0x356ce-0x17d,_0x1180b5-_0x28ae68._0x3d593f);}function _0x567c93(_0x43ff3b,_0x2893dc,_0x51de1c,_0x2c392b){return _0x7f0a6b(_0x43ff3b-_0x23292a._0x3d3fad,_0x51de1c- -_0x23292a._0x33898d,_0x2893dc,_0x2c392b-0x1ca);}await this[_0x567c93(-0x15f,_0xbebc0c._0x32b122,-0xbb,0x3a)][_0x567c93(0x363,0x2bf,0x29e,_0xbebc0c._0xc6e9b0)](_0x2fae79,{'messageCount':_0x2ffe93['length']}),_0x34cd45&&await this[_0x22313c(0x3fe,0x627,_0xbebc0c._0x273577,0x2b9)][_0x22313c(0x620,_0xbebc0c._0x7ccbfd,0x61d,0x819)](_0x2fae79,_0x34cd45);}[_0x5318c5(0xc0,0x1cb,0x1ac,0xd5)](_0x229ee1){const _0x5406b6={_0x2656f7:0x286,_0x529d01:0x1d0,_0x1c252f:0x141,_0x34e7e7:0x18},_0xc2a368={_0x4155fe:0x4a,_0x471e1a:0x11d,_0x255c91:0x2d7},_0x5082b7={_0x54b0a8:0x2d,_0x46e8cb:0x13a};let _0x134074=this['getCurrentConfig']();function _0x53d4ec(_0x565a1b,_0x554891,_0xeeadcd,_0x2fbb80){return _0x5318c5(_0x565a1b-_0x5082b7._0x54b0a8,_0xeeadcd,_0xeeadcd-0x1e8,_0x565a1b- -_0x5082b7._0x46e8cb);}function _0x522917(_0x5f32cd,_0x2cee4c,_0x49fae1,_0x4dae13){return _0x5318c5(_0x5f32cd-_0xc2a368._0x4155fe,_0x2cee4c,_0x49fae1-_0xc2a368._0x471e1a,_0x4dae13-_0xc2a368._0x255c91);}return this[_0x53d4ec(_0x5406b6._0x2656f7,_0x5406b6._0x529d01,0x29b,0x25a)]['createLLM'](_0x134074[_0x53d4ec(-0xa7,-0x225,-_0x5406b6._0x1c252f,_0x5406b6._0x34e7e7)],{'httpLogFile':_0x229ee1});}[_0x7f0a6b(0x3b9,0x24e,0x145,0x9f)](){const _0x477406={_0xe380bc:0x7b7,_0x27c9d3:0x6e9},_0x44ae5f={_0x21e82f:0x1f3,_0x1123b7:0x1d1};function _0x489483(_0x193531,_0x562de0,_0x22858d,_0x351bc4){return _0x5318c5(_0x193531-_0x44ae5f._0x21e82f,_0x22858d,_0x22858d-_0x44ae5f._0x1123b7,_0x562de0-0x329);}return this[_0x489483(_0x477406._0xe380bc,_0x477406._0x27c9d3,0x619,0x8ea)];}async[_0x5318c5(-0x42,0x3c1,0x17,0x1e1)](_0x1afe3b,_0x15383f){const _0x31a4fc={_0x42b3ad:0x2f9,_0x1d6a8f:0x2a5,_0x2e0861:0x29d,_0x16784d:0x26f,_0x5c619b:0x2e,_0x4eed35:0x9c,_0x434f77:0x1ac,_0x5881b5:0x33e,_0x1ab6f9:0x36f,_0x41d85d:0x2f8,_0x24e02d:0x506,_0x47af41:0x203,_0x183b36:0x237,_0x15b929:0x423,_0xa362ce:0x311,_0x40f775:0x50a,_0x349d3a:0x161,_0x55bcfe:0x2dc,_0x469f76:0x9e,_0x10520b:0x2e1,_0x3dc32e:0x1b1,_0x32715f:0x20b,_0x4d9e42:0x29e,_0x5c2b9b:0x1c2,_0x3b589c:0x36d,_0x4eec8e:0x42b,_0x2937e6:0x282,_0x440499:0x230,_0x314e91:0x185,_0x42f21c:0x107,_0x535a33:0x2d1,_0x54c285:0x43e,_0x322f00:0x509,_0x24401b:0x25e,_0x1a096e:0x2a0,_0x492075:0x3d9,_0x162fee:0x38c,_0x45a856:0x1ce,_0x298566:0x257,_0x1c9c36:0x42f,_0x2ff0af:0x10d,_0x2172c7:0x343,_0x2cf97d:0x23e,_0x48a99e:0x332,_0x1804d6:0x233,_0x135ee5:0x194,_0x100afc:0x35f,_0x5d5106:0x25d,_0xc04468:0x187,_0x25ca1a:0x32e,_0x39da39:0x1de,_0x52b2aa:0x297,_0x1d4303:0x49a,_0x3527bb:0x395,_0xf1046b:0x2ec,_0x5db4ec:0x452,_0x3a90df:0x57,_0x3d5dae:0x1b7,_0x13a54d:0x40,_0xb1a88c:0x3b5,_0x4387fd:0x3f6,_0x58cdd8:0x1d7,_0x57e4a4:0x233,_0x2d4189:0xfe,_0x2573ba:0x25f,_0x3d4d62:0x220,_0x1e4c2d:0x293,_0xcc4795:0x1fe,_0x5a0345:0x242,_0x2376eb:0x4a3,_0x2c10a9:0x70,_0x487748:0x1a,_0x71b741:0x21a,_0x4cc4c7:0x181,_0x21668c:0x382,_0x5d6b4c:0x552,_0x220c39:0x541,_0x52ca95:0x46c,_0x54e1ce:0x3e2,_0x127105:0x549,_0x23f1ea:0x150,_0x394218:0x146,_0x5db50b:0x337},_0x251858={_0x5a10fc:0x163,_0x453e83:0x50},_0x113648={_0x2837a9:0x1e};if(!this['sessionId'])return;function _0x3ab1ac(_0x21abac,_0x156a47,_0x49f535,_0x7f8398){return _0x7f0a6b(_0x21abac-_0x113648._0x2837a9,_0x21abac- -0x87,_0x7f8398,_0x7f8398-0x1a3);}let _0x46eaf2=Oe[_0x4b7034(0x229,0x279,_0x31a4fc._0x42b3ad,0x36e)](this[_0x4b7034(_0x31a4fc._0x1d6a8f,0x3aa,_0x31a4fc._0x2e0861,0x1d3)]),_0x724fa=this['orchestrator']?.[_0x4b7034(0xcd,0x270,0x1ee,0x21e)](),_0x2eb228=await xo[_0x4b7034(_0x31a4fc._0x16784d,-_0x31a4fc._0x5c619b,_0x31a4fc._0x4eed35,_0x31a4fc._0x434f77)](_0x1afe3b,_0x15383f,_0x724fa?.[_0x4b7034(_0x31a4fc._0x5881b5,_0x31a4fc._0x1ab6f9,_0x31a4fc._0x41d85d,_0x31a4fc._0x24e02d)]?.[_0x3ab1ac(0x67,_0x31a4fc._0x47af41,_0x31a4fc._0x183b36,0x79)](_0x724fa));function _0x4b7034(_0x2169ed,_0x362a23,_0x78eea0,_0x4970a5){return _0x5318c5(_0x2169ed-_0x251858._0x5a10fc,_0x2169ed,_0x78eea0-0x1cd,_0x78eea0-_0x251858._0x453e83);}if(!_0x2eb228)return;let _0x29ac55=_0x46eaf2[_0x4b7034(0x4a8,0x2e2,0x310,_0x31a4fc._0x15b929)]?_0x46eaf2[_0x3ab1ac(_0x31a4fc._0xa362ce,0xfd,0x21a,_0x31a4fc._0x40f775)]/_0x2eb228[_0x3ab1ac(0x115,_0x31a4fc._0x349d3a,_0x31a4fc._0x55bcfe,_0x31a4fc._0x469f76)]:0x0;if(Oe[_0x4b7034(_0x31a4fc._0x10520b,0x7c,_0x31a4fc._0x3dc32e,_0x31a4fc._0x32715f)](this[_0x3ab1ac(_0x31a4fc._0x4d9e42,0x31d,0x2de,_0x31a4fc._0x5c2b9b)],_0x2eb228['contextWindow'],_0x29ac55),!!_0x46eaf2['currentPromptTokens']){if(_0x29ac55>=t[_0x4b7034(0x39d,_0x31a4fc._0x3b589c,_0x31a4fc._0x4eec8e,0x53a)]){B[_0x4b7034(_0x31a4fc._0x2937e6,_0x31a4fc._0x440499,0xfd,-0xe4)]('ui:line',{'id':_0x50ce7b[_0x4b7034(0x336,0x3a3,0x342,0x436)](),'type':'system','content':'⚠️\x20Context\x20window\x20at\x20'+Math[_0x4b7034(0x190,0x2b3,0x21a,0x34d)](_0x29ac55*0x64)+_0x3ab1ac(_0x31a4fc._0x314e91,0xad,_0x31a4fc._0x42f21c,_0x31a4fc._0x535a33)+_0x46eaf2['currentPromptTokens'][_0x4b7034(0x39e,_0x31a4fc._0x54c285,0x38c,_0x31a4fc._0x322f00)]()+'/'+_0x2eb228[_0x4b7034(0x6f,_0x31a4fc._0x24401b,0x114,_0x31a4fc._0x1a096e)][_0x4b7034(_0x31a4fc._0x492075,0x1a2,_0x31a4fc._0x162fee,_0x31a4fc._0x45a856)]()+'\x20tokens).\x20Running\x20auto-summary...','metadata':{'timestamp':new Date()[_0x4b7034(_0x31a4fc._0x298566,0x3f0,_0x31a4fc._0x1c9c36,0x213)]()},'color':'yellow'});try{await this[_0x3ab1ac(0x332,0x17e,0x360,0x3c1)](),B[_0x3ab1ac(0xfe,-0x3b,0xc7,_0x31a4fc._0x2ff0af)]('ui:line',{'id':_0x50ce7b[_0x3ab1ac(_0x31a4fc._0x2172c7,0x1fc,0x1a7,0x340)](),'type':_0x4b7034(_0x31a4fc._0x2cf97d,_0x31a4fc._0x48a99e,0x395,_0x31a4fc._0x1804d6),'content':_0x4b7034(0x3f,_0x31a4fc._0x135ee5,0x252,0x191),'metadata':{'timestamp':new Date()[_0x3ab1ac(0x430,0x421,0x58f,0x298)]()},'color':_0x4b7034(_0x31a4fc._0x100afc,_0x31a4fc._0x5d5106,_0x31a4fc._0xc04468,_0x31a4fc._0x25ca1a)});}catch(_0x4dbaa0){B['emit'](_0x4b7034(_0x31a4fc._0x39da39,-0x18,0x21f,_0x31a4fc._0x52b2aa),{'id':_0x50ce7b['randomUUID'](),'type':_0x4b7034(_0x31a4fc._0x48a99e,_0x31a4fc._0x1d4303,_0x31a4fc._0x3527bb,_0x31a4fc._0xf1046b),'content':_0x4b7034(0x4df,0x431,0x2e2,_0x31a4fc._0x5db4ec)+(_0x4dbaa0 instanceof Error?_0x4dbaa0['message']:_0x3ab1ac(_0x31a4fc._0x3a90df,-_0x31a4fc._0x3d5dae,0x0,_0x31a4fc._0x13a54d)),'metadata':{'timestamp':new Date()['toISOString']()},'color':_0x4b7034(0x59a,0x487,_0x31a4fc._0xb1a88c,_0x31a4fc._0x4387fd)});}}else _0x29ac55>=t[_0x4b7034(0x2d1,0x3aa,_0x31a4fc._0x58cdd8,_0x31a4fc._0x57e4a4)]&&B[_0x3ab1ac(_0x31a4fc._0x2d4189,0x2fd,_0x31a4fc._0x2573ba,0xdc)](_0x3ab1ac(_0x31a4fc._0x3d4d62,_0x31a4fc._0x1e4c2d,_0x31a4fc._0xcc4795,_0x31a4fc._0x5a0345),{'id':_0x50ce7b[_0x3ab1ac(_0x31a4fc._0x2172c7,0x4ad,0x323,_0x31a4fc._0x2376eb)](),'type':'system','content':_0x4b7034(-_0x31a4fc._0x2c10a9,-_0x31a4fc._0x487748,0xe,-0x70)+Math[_0x4b7034(_0x31a4fc._0x349d3a,0x423,_0x31a4fc._0x71b741,_0x31a4fc._0x4cc4c7)](_0x29ac55*0x64)+'%\x20('+_0x46eaf2['currentPromptTokens'][_0x4b7034(0x3b7,_0x31a4fc._0x21668c,_0x31a4fc._0x162fee,_0x31a4fc._0x5d6b4c)]()+'/'+_0x2eb228['contextWindow']['toLocaleString']()+_0x4b7034(_0x31a4fc._0x220c39,0x503,_0x31a4fc._0x52ca95,_0x31a4fc._0x54e1ce),'metadata':{'timestamp':new Date()[_0x3ab1ac(0x430,0x41d,0x304,_0x31a4fc._0x127105)]()},'color':_0x3ab1ac(_0x31a4fc._0x23f1ea,0x287,_0x31a4fc._0x394218,_0x31a4fc._0x5db50b)});}}async[_0x7f0a6b(0x300,0x3b9,0x43a,0x28b)](_0x20fa77={}){const _0x4d8e0c={_0x29e8a2:0x101,_0x5d0f6f:0x354,_0x4cf2f6:0x248,_0x384138:0x851,_0x1b1f9f:0x6eb,_0x3f96ef:0x156,_0x589efa:0x41b,_0x3383ed:0x49c,_0x4eccc0:0x4f0,_0x4b2977:0x66b,_0x270252:0x638,_0x1b8027:0x520,_0x132a48:0x58e,_0x1979a4:0x801,_0x114053:0x138,_0x545e28:0xb0,_0x3a6135:0xd4,_0x235c9f:0x368,_0x51c1ff:0x6cc,_0x30f69c:0x606,_0xc02ed:0x503,_0x5e53f7:0x4f7,_0x1cc030:0x38a,_0x123bf8:0x233,_0x2f49da:0x556,_0x392294:0x44e,_0x1e8976:0x94f,_0x30ed27:0x745,_0x4dfb15:0x374,_0x141419:0x3ab,_0x592283:0x468,_0x4ed6bf:0x407,_0x356c39:0x606,_0x46ec2d:0x26c,_0x5f0cfe:0xba,_0x3f15d1:0x23b,_0x93b898:0x23a,_0x1be1c0:0x89e,_0x2fe6d0:0x60e,_0x17e403:0x2f3,_0x1b3ce2:0x11f,_0x43def2:0x79e,_0x40e78d:0x8ae,_0x20a7fc:0x74e,_0x6a7fea:0x5a2,_0x7631f8:0x46e,_0x1e1a1c:0x8b,_0x19124b:0x56c,_0x4f6047:0x6ad,_0x3aa690:0x51f},_0x50c686={_0x514a59:0x1e5,_0x92f0cd:0x25},_0x32e5fd={_0x3750be:0x6f};function _0x125831(_0x34db42,_0x2e446f,_0x20de30,_0x31172f){return _0x5318c5(_0x34db42-0x119,_0x2e446f,_0x20de30-_0x32e5fd._0x3750be,_0x31172f-0x344);}if(!this[_0x334589(0x1f0,_0x4d8e0c._0x29e8a2,0x176,_0x4d8e0c._0x5d0f6f)])throw new Error(_0x334589(-0xc5,_0x4d8e0c._0x4cf2f6,0x124,0x131));if(!this['sessionId'])throw new Error(_0x334589(0x241,0x188,0x2bf,0x274));let _0x21ddfe=this['sessionId'],_0x56e598=await this[_0x125831(0x727,0x77b,_0x4d8e0c._0x384138,_0x4d8e0c._0x1b1f9f)](),_0x31d0a7=await this[_0x334589(0x277,0x3a1,0x1fa,_0x4d8e0c._0x3f96ef)]({'memPersist':!0x0});if(!_0x31d0a7[_0x334589(0x3e6,_0x4d8e0c._0x589efa,0x300,0x21a)]||!_0x31d0a7[_0x125831(_0x4d8e0c._0x3383ed,_0x4d8e0c._0x4eccc0,0x6f0,_0x4d8e0c._0x4b2977)])throw new Error(_0x125831(_0x4d8e0c._0x270252,_0x4d8e0c._0x1b8027,0x5c5,0x642));let _0x21c2b9=_0x31d0a7['sessionId'],_0x3f442b=_0x31d0a7[_0x125831(0x7d9,_0x4d8e0c._0x132a48,_0x4d8e0c._0x1979a4,0x66b)];this[_0x334589(0x157,0x25b,0xd4,_0x4d8e0c._0x114053)]&&await this[_0x334589(_0x4d8e0c._0x545e28,0x2cc,_0x4d8e0c._0x3a6135,0x183)][_0x334589(_0x4d8e0c._0x235c9f,0x43b,0x42d,0x619)](_0x125831(_0x4d8e0c._0x51c1ff,0x658,0x40b,_0x4d8e0c._0x30f69c),{'summarizedFrom':_0x21ddfe,'topic':_0x125831(0x4f0,_0x4d8e0c._0xc02ed,_0x4d8e0c._0x5e53f7,_0x4d8e0c._0x1cc030)+_0x21ddfe});function _0x334589(_0x5dacb5,_0x25fc72,_0x3cd0a6,_0x16f6de){return _0x7f0a6b(_0x5dacb5-_0x50c686._0x514a59,_0x3cd0a6- -_0x50c686._0x92f0cd,_0x5dacb5,_0x16f6de-0x1e8);}let _0xea5a8d={'id':_0x50ce7b['randomUUID'](),'role':_0x125831(_0x4d8e0c._0x123bf8,_0x4d8e0c._0x2f49da,_0x4d8e0c._0x392294,0x457),'content':'Previous\x20conversation\x20summary:\x0a\x0a'+_0x56e598,'timestamp':new Date()[_0x125831(_0x4d8e0c._0x1e8976,_0x4d8e0c._0x30ed27,0x7b0,0x723)]()};return await this[_0x125831(_0x4d8e0c._0x4dfb15,_0x4d8e0c._0x141419,_0x4d8e0c._0x592283,_0x4d8e0c._0x4ed6bf)]?.[_0x125831(0x3c8,0x240,_0x4d8e0c._0x356c39,0x44d)]('cli',[_0xea5a8d]),_0x20fa77[_0x334589(_0x4d8e0c._0x46ec2d,-_0x4d8e0c._0x5f0cfe,0xf4,-0x3a)]||(B[_0x125831(_0x4d8e0c._0x3f15d1,0x505,_0x4d8e0c._0x93b898,0x3f1)](_0x125831(0x7bf,_0x4d8e0c._0x1be1c0,_0x4d8e0c._0x2fe6d0,0x677)),B[_0x334589(0x1a5,0x238,0x160,_0x4d8e0c._0x17e403)]('ui:line',{'id':_0x50ce7b['randomUUID'](),'type':'user','content':_0xea5a8d[_0x334589(-0x85,-0x76,0x123,_0x4d8e0c._0x1b3ce2)],'metadata':{'timestamp':_0xea5a8d[_0x125831(0x548,_0x4d8e0c._0x43def2,_0x4d8e0c._0x40e78d,_0x4d8e0c._0x20a7fc)]}}),B[_0x125831(_0x4d8e0c._0x6a7fea,0x41a,_0x4d8e0c._0x7631f8,0x3f1)](_0x334589(-_0x4d8e0c._0x1e1a1c,-0x79,0x93,-0x32))),Oe['reset'](_0x21c2b9),B['emit'](_0x125831(_0x4d8e0c._0x19124b,_0x4d8e0c._0x4f6047,_0x4d8e0c._0x3aa690,0x48f),{'memPersist':!0x0}),{'summary':_0x56e598,'previousSessionId':_0x21ddfe,'newSessionId':_0x21c2b9,'newSessionDir':_0x3f442b};}async['compressAndCreateNewSession'](_0x5a1bb8){const _0xf16025={_0x41228c:0x7bd,_0x30338b:0x5fe,_0x592588:0x5fc,_0x5b4119:0x66a,_0xd713fb:0x57a,_0x38a861:0x6b2,_0x2427a2:0x8b9,_0x12a8b7:0x89c,_0x5da4ca:0x320,_0x5d1f9b:0x804,_0x7beb6e:0x5c7,_0x54b858:0x60b,_0x3576e4:0x7ee,_0x151d12:0x74b,_0x28abff:0x7ab,_0x49963c:0x67c,_0x487ba7:0x6b2,_0x145941:0x7e2,_0x51e22c:0x5db,_0x2bdb01:0x78c,_0x5732bf:0x6f0,_0x282b75:0x599,_0x32c4f8:0x91d,_0x392937:0x610,_0x246265:0x5ae,_0x5f9b73:0x887,_0x4bf0fe:0x719,_0x13004e:0x888,_0x4a5b24:0x682,_0x419098:0x467,_0x3b4f00:0x4f9,_0xa3269c:0x69f,_0x556654:0x683,_0x4d3e1b:0x6b4,_0x45b862:0x50c,_0x380132:0xa81,_0x539428:0xa6f,_0x2bd43f:0x49f,_0xb00fa4:0x31c,_0x4c2b21:0x5d9,_0x48aef4:0x5b0,_0xaaa8be:0x5bf},_0xa04164={_0x2d36fe:0x30,_0x4146cf:0x3f2},_0x302977={_0x40fcfd:0x52};if(!this['memory'])throw new Error('Memory\x20not\x20initialized');function _0x131a85(_0x598799,_0x3156e3,_0x4e839f,_0x3eb9cb){return _0x7f0a6b(_0x598799-_0x302977._0x40fcfd,_0x3156e3-0x38d,_0x598799,_0x3eb9cb-0x1ea);}if(!this[_0x45b163(0x63f,0x5e0,0x69c,_0xf16025._0x41228c)])throw new Error(_0x45b163(_0xf16025._0x30338b,0x5f0,_0xf16025._0x592588,_0xf16025._0x5b4119));let _0x19ce4c=this[_0x131a85(_0xf16025._0xd713fb,_0xf16025._0x38a861,_0xf16025._0x2427a2,_0xf16025._0x12a8b7)],_0x1199da=await this[_0x131a85(_0xf16025._0x5da4ca,0x528,0x399,0x68a)]['get'](_0x45b163(0x6b4,_0xf16025._0x5d1f9b,0x895,0x7b6));if(!_0x1199da||_0x1199da[_0x131a85(0x3c9,_0xf16025._0x7beb6e,_0xf16025._0x54b858,_0xf16025._0x3576e4)]===0x0)throw new Error(_0x131a85(0x5ca,_0xf16025._0x151d12,_0xf16025._0x28abff,_0xf16025._0x49963c));let {compressed:_0x37aaeb,stats:_0x2a8ff7}=_0x5a1bb8(_0x1199da),_0x2e467e=await this['createNewConversation']({'memPersist':!0x0});if(!_0x2e467e[_0x131a85(0x550,_0xf16025._0x487ba7,_0xf16025._0x145941,_0xf16025._0x51e22c)]||!_0x2e467e[_0x131a85(0x8c0,_0xf16025._0x2bdb01,0x6e8,0x8d7)])throw new Error(_0x45b163(_0xf16025._0x5732bf,0x4fd,_0xf16025._0x282b75,_0xf16025._0x32c4f8));let _0x815a14=_0x2e467e[_0x131a85(_0xf16025._0x392937,0x6b2,_0xf16025._0x246265,_0xf16025._0x5f9b73)],_0x52cc18=_0x2e467e[_0x45b163(_0xf16025._0x4bf0fe,0x703,_0xf16025._0x13004e,_0xf16025._0x4a5b24)];function _0x45b163(_0x3d39cb,_0xda9334,_0xf4eb2,_0x479124){return _0x5318c5(_0x3d39cb-0x8c,_0xf4eb2,_0xf4eb2-_0xa04164._0x2d36fe,_0x3d39cb-_0xa04164._0x4146cf);}return this[_0x45b163(0x413,0x502,_0xf16025._0x419098,0x35d)]&&await this[_0x131a85(_0xf16025._0x3b4f00,0x486,0x398,0x47f)]['updateMetadata'](_0x131a85(_0xf16025._0xa3269c,0x727,_0xf16025._0x556654,0x6d5),{'summarizedFrom':_0x19ce4c,'topic':'Compressed\x20from\x20session\x20'+_0x19ce4c}),await this['memory']?.['set'](_0x45b163(_0xf16025._0x4d3e1b,_0xf16025._0x45b862,0x876,0x662),_0x37aaeb),Oe[_0x131a85(_0xf16025._0x380132,0x883,0x7ea,_0xf16025._0x539428)](_0x815a14),B[_0x45b163(_0xf16025._0x2bd43f,_0xf16025._0xb00fa4,0x4e9,_0xf16025._0x4c2b21)](_0x131a85(0x63d,_0xf16025._0x48aef4,_0xf16025._0xaaa8be,0x712),{'memPersist':!0x0}),{'previousSessionId':_0x19ce4c,'newSessionId':_0x815a14,'newSessionDir':_0x52cc18,'stats':_0x2a8ff7};}async[_0x5318c5(0x535,0x587,0x29e,0x3a5)](){const _0x41df21={_0x23993f:0x44b,_0x586e92:0x662,_0x3cbf70:0x53a,_0x50735c:0x18f,_0x5d7715:0x2d4,_0x258958:0x43d,_0x54a730:0x3b3,_0x59b5bd:0x1ef,_0x20b7f4:0x1bb},_0x546814={_0x49ffc2:0x1e0,_0x577290:0x1cb},_0x26803c={_0x478794:0x2a,_0x463c6d:0x129};function _0x489162(_0x490362,_0x342f75,_0x2feefa,_0x21dbbd){return _0x5318c5(_0x490362-_0x26803c._0x478794,_0x490362,_0x2feefa-_0x26803c._0x463c6d,_0x342f75- -0x243);}function _0x58dd10(_0x4c9dbd,_0x1bf1dd,_0x5c7e8d,_0x2cb8bc){return _0x7f0a6b(_0x4c9dbd-_0x546814._0x49ffc2,_0x1bf1dd- -0x16,_0x4c9dbd,_0x2cb8bc-_0x546814._0x577290);}let _0x571c49=this['getCurrentConfig'](),_0x4b19a3=this[_0x58dd10(0x489,_0x41df21._0x23993f,_0x41df21._0x586e92,_0x41df21._0x3cbf70)]?.['getLLM']();return(await xo[_0x489162(-0xd5,-0x1f7,-0x192,-0x1cf)](_0x571c49[_0x489162(-0x222,-0x1b0,-_0x41df21._0x50735c,-_0x41df21._0x5d7715)],_0x571c49[_0x58dd10(0xae,0x1b7,0x1f5,0x398)],_0x4b19a3?.[_0x58dd10(_0x41df21._0x258958,0x36a,0x26a,0x4f1)]))?.[_0x58dd10(_0x41df21._0x54a730,0x186,_0x41df21._0x59b5bd,_0x41df21._0x20b7f4)]??null;}async['ensureContextWindowLimitSet'](_0x54bd9e,_0x385bee){const _0x22ed09={_0x3dfea2:0x78e,_0xe5b23a:0x8bb,_0x582a95:0x783,_0x2c1a3e:0x7af,_0x4901e0:0x7b0,_0x2a4c33:0x869,_0x3b760b:0x66e,_0x398935:0x5eb,_0x5ca185:0x4fb},_0x1b31e6={_0x34d1ea:0xdd,_0x4c7dbe:0x3fa},_0x1fc778={_0x35e6e8:0x7d};let _0x377b29=this['orchestrator']?.['getMetrics']?.();function _0x559c13(_0x5bdbd0,_0x213931,_0x3ba4a3,_0x1d57e6){return _0x7f0a6b(_0x5bdbd0-0xf9,_0x3ba4a3-0x42f,_0x5bdbd0,_0x1d57e6-_0x1fc778._0x35e6e8);}if(!_0x377b29)return;function _0x7324fd(_0x3b59e4,_0x55d5f0,_0x282fc7,_0x1b8a4c){return _0x5318c5(_0x3b59e4-_0x1b31e6._0x34d1ea,_0x55d5f0,_0x282fc7-0x109,_0x282fc7-_0x1b31e6._0x4c7dbe);}let _0x47a1d3=this[_0x7324fd(_0x22ed09._0x3dfea2,_0x22ed09._0xe5b23a,_0x22ed09._0x582a95,0x6c5)]?.['getLLM'](),_0x1eec18=await xo['getLimit'](_0x54bd9e,_0x385bee,_0x47a1d3?.[_0x559c13(0x986,0x5db,_0x22ed09._0x2c1a3e,0x64d)]?.['bind'](_0x47a1d3));if(_0x1eec18){let _0x483a02=_0x377b29[_0x559c13(0x67a,0x773,_0x22ed09._0x4901e0,_0x22ed09._0x2a4c33)]();_0x377b29[_0x7324fd(_0x22ed09._0x3b760b,0x3c5,0x55b,0x747)](_0x1eec18['contextWindow'],_0x483a02[_0x559c13(0x6de,_0x22ed09._0x398935,0x717,_0x22ed09._0x5ca185)]??0x0);}}async['send'](_0x38e2af,_0x31a457={},_0x30dd0a={}){const _0x2b44c4={_0x197d95:0x21b,_0x4005f9:0x198,_0x323bf4:0x44c,_0xb53c1c:0xa6,_0x1668c1:0x10d,_0x1d212f:0xc5,_0xa2f6f3:0x3f1,_0x8538ad:0x4a9,_0x1af0d5:0xd6,_0x303058:0x151,_0x523ae3:0x144,_0x29d8d9:0x4fc,_0x22552f:0x42a,_0x499939:0x23a,_0x17e90d:0x466,_0x2a1692:0x143,_0xc2e67b:0x24c,_0x39b031:0x8e,_0x3eda7a:0x7a,_0xee5955:0x4e,_0x186b2b:0x72,_0x46c5bc:0x20f,_0x3234e0:0x1b2,_0x1be19d:0x269,_0x3f85e4:0x281,_0x59ee8b:0x9c,_0x237c98:0x11c,_0x373ed5:0x193,_0x1b6a4e:0x47,_0x4e2969:0x1e7,_0x276007:0x60,_0x15a91c:0x4c,_0x43fcf0:0x9d,_0x29f10e:0x29b,_0x14ab9d:0x257,_0x7cb49c:0x159,_0x4535d7:0xac,_0x7752c5:0x21b,_0xe0dbdf:0x2,_0x1d4202:0x1c,_0x47c28f:0xff,_0x179089:0x52,_0x4817a3:0x79,_0x5a931b:0x145,_0x21f541:0xf3,_0x3bb50a:0xba,_0xe41ecb:0x27,_0x2fd0e6:0x2a6,_0x411d3f:0x2f2,_0x52bf5b:0x40c,_0x4c1c04:0x25b,_0x22ce05:0x76,_0x27020c:0x11a,_0x35c356:0x3e1,_0x283316:0xa,_0x24547f:0x1a,_0x29060a:0x19d,_0x5a65d4:0x321,_0x53273b:0x270,_0x591a3a:0x1e1,_0x400fec:0x285,_0x3889e7:0x2c6,_0x5a2245:0x48d,_0x1d7214:0x281,_0x5e92ec:0x404,_0x5a9281:0x3af,_0x1b0145:0x2f6,_0xe21c69:0x3fd,_0xbd8fbe:0x48f,_0x16f429:0xae,_0x4123c:0x10e,_0x1dcd66:0x1e8,_0x37a914:0x8b,_0x4d2878:0x2e6,_0x429b5f:0x472,_0x1bd315:0x334,_0x3fd15e:0x390,_0x714249:0x1ff};if(!this[_0x160466(_0x2b44c4._0x197d95,_0x2b44c4._0x4005f9,_0x2b44c4._0x323bf4,0x20)])throw new Error(_0x160466(_0x2b44c4._0xb53c1c,_0x2b44c4._0x1668c1,_0x2b44c4._0x1d212f,0xd));this[_0x12666e(0x3fc,_0x2b44c4._0xa2f6f3,_0x2b44c4._0x8538ad,0x312)]&&!this[_0x160466(0x7,_0x2b44c4._0x1af0d5,_0x2b44c4._0x303058,-_0x2b44c4._0x523ae3)]&&await this[_0x12666e(_0x2b44c4._0x29d8d9,_0x2b44c4._0x22552f,_0x2b44c4._0x499939,_0x2b44c4._0x17e90d)]();function _0x160466(_0x130259,_0x4ee7c5,_0x4c94cd,_0x5336ea){return _0x7f0a6b(_0x130259-0x15c,_0x130259- -0x246,_0x4c94cd,_0x5336ea-0xce);}let _0x150f23=this[_0x160466(0x6e,-_0x2b44c4._0x2a1692,_0x2b44c4._0xc2e67b,-_0x2b44c4._0x39b031)](),_0x4fb94b=(_0x150f23[_0x160466(-_0x2b44c4._0x3eda7a,0x18a,-_0x2b44c4._0xee5955,-0x2a8)][_0x12666e(_0x2b44c4._0x186b2b,_0x2b44c4._0x46c5bc,_0x2b44c4._0x3234e0,0x182)]?.[_0x12666e(_0x2b44c4._0x1be19d,0x14f,_0x2b44c4._0x3f85e4,0x250)]??!0x1)&&this['sessionDir']?_0xe695f8['join'](this['sessionDir'],'http-log.json'):void 0x0,_0x29a86f=this[_0x160466(-0x99,-_0x2b44c4._0x59ee8b,0x170,_0x2b44c4._0x237c98)](_0x4fb94b);this[_0x160466(0x21b,0x3c5,0x1f3,0x38b)][_0x12666e(_0x2b44c4._0x373ed5,_0x2b44c4._0x1b6a4e,_0x2b44c4._0x303058,_0x2b44c4._0x4e2969)](_0x29a86f);function _0x12666e(_0x5838ba,_0x4517ce,_0x3d0ffe,_0x29dca6){return _0x7f0a6b(_0x5838ba-0xb3,_0x4517ce- -0xce,_0x29dca6,_0x29dca6-0xe5);}let _0x5937ad={'model':_0x150f23[_0x12666e(_0x2b44c4._0x276007,0xff,0x277,_0x2b44c4._0x15a91c)],'reasoningEffort':_0x150f23['reasoningEffort'],..._0x30dd0a};Object[_0x160466(-_0x2b44c4._0x43fcf0,-_0x2b44c4._0x29f10e,-_0x2b44c4._0x14ab9d,_0x2b44c4._0x7cb49c)](_0x5937ad)['length']>0x0&&(this['orchestrator'][_0x12666e(-0x13f,_0x2b44c4._0x4535d7,_0x2b44c4._0x7752c5,-_0x2b44c4._0xe0dbdf)](_0x5937ad),_0x5937ad[_0x12666e(_0x2b44c4._0x1d4202,_0x2b44c4._0x47c28f,-0x139,_0x2b44c4._0x179089)]&&(this[_0x160466(-_0x2b44c4._0x4817a3,-_0x2b44c4._0x5a931b,-_0x2b44c4._0x21f541,-_0x2b44c4._0x3bb50a)]=_0x5937ad[_0x160466(-0x79,-_0x2b44c4._0xe41ecb,-0x21,-_0x2b44c4._0x2fd0e6)])),await this[_0x12666e(_0x2b44c4._0x411d3f,0x3cb,_0x2b44c4._0x52bf5b,0x42d)](_0x150f23[_0x12666e(_0x2b44c4._0x4c1c04,0x9d,-_0x2b44c4._0x22ce05,_0x2b44c4._0x27020c)],_0x150f23[_0x160466(-0x79,0x1a1,-0x1d1,-0x1db)]);let _0x531abc=_0x31a457[_0x12666e(0x41e,0x2ba,0x4ad,0x164)]??this['conversationContext']['getActiveConversationId'](),_0x12f960=await this[_0x160466(_0x2b44c4._0x197d95,0x450,_0x2b44c4._0x35c356,0x119)]['send'](_0x38e2af,{..._0x31a457,'conversationId':_0x531abc});return _0x12f960&&this['conversationStore']&&(await this[_0x12666e(-_0x2b44c4._0x283316,0x1fa,0x2a4,_0x2b44c4._0x24547f)](_0x531abc,{'promptTokens':_0x12f960['metadata']?.[_0x160466(0x2b3,_0x2b44c4._0x29060a,0x4b8,0x3e1)],'completionTokens':_0x12f960[_0x160466(0x285,0x3e4,_0x2b44c4._0x5a65d4,0x49a)]?.['completionTokens'],'totalTokens':_0x12f960[_0x12666e(0x55e,0x3fd,_0x2b44c4._0x53273b,_0x2b44c4._0x591a3a)]?.['totalTokens'],'toolCalls':_0x12f960[_0x160466(_0x2b44c4._0x400fec,_0x2b44c4._0x3889e7,_0x2b44c4._0x5a2245,0x443)]?.[_0x12666e(_0x2b44c4._0x1d7214,_0x2b44c4._0x5e92ec,_0x2b44c4._0x5a9281,0x2ba)],'responseTimeMs':_0x12f960[_0x12666e(_0x2b44c4._0x1b0145,_0x2b44c4._0xe21c69,0x44a,_0x2b44c4._0xbd8fbe)]?.[_0x12666e(-_0x2b44c4._0x16f429,_0x2b44c4._0x4123c,_0x2b44c4._0x1dcd66,-_0x2b44c4._0x37a914)],'cost':_0x12f960['metadata']?.[_0x12666e(0x3a0,_0x2b44c4._0x4d2878,_0x2b44c4._0x429b5f,_0x2b44c4._0x1bd315)]??void 0x0}),await this[_0x12666e(0x276,0x1eb,_0x2b44c4._0x3fd15e,0xd3)](_0x150f23['provider'],_0x150f23[_0x160466(-0x79,-0x143,-_0x2b44c4._0x714249,-0x1d)])),_0x12f960;}[_0x5318c5(0x3cc,0x2a6,0x496,0x41e)](){const _0x53a077={_0x514c7e:0x36e,_0x46197e:0x5e8,_0xf15265:0x4bc,_0x6878c2:0x162,_0x50dba6:0x8d,_0x52cc95:0x12e,_0x4ebdb6:0x366,_0xd3ac76:0x160,_0x330f85:0x1d7,_0x2e89da:0x2ed,_0x1a55cc:0x311,_0x291b50:0x18b,_0x367ecd:0x1c7,_0x57658d:0xf6},_0x197da5={_0x2b71b7:0x11a},_0x5b4f6f={_0x3ac787:0x18,_0x2e8bf4:0x6b};function _0x561296(_0x4acc6b,_0x59317a,_0x5b8e40,_0x2406fb){return _0x5318c5(_0x4acc6b-_0x5b4f6f._0x3ac787,_0x59317a,_0x5b8e40-0x1d5,_0x2406fb-_0x5b4f6f._0x2e8bf4);}function _0x36a46e(_0x267128,_0x56d1f0,_0x268048,_0x116507){return _0x7f0a6b(_0x267128-0x82,_0x268048- -0x2ba,_0x267128,_0x116507-_0x197da5._0x2b71b7);}this[_0x561296(_0x53a077._0x514c7e,_0x53a077._0x46197e,_0x53a077._0xf15265,0x3f4)]=null,this[_0x561296(-0x40,_0x53a077._0x6878c2,_0x53a077._0x50dba6,_0x53a077._0x52cc95)]=null,this[_0x561296(0x2f1,_0x53a077._0x4ebdb6,0x1d3,_0x53a077._0xd3ac76)]=_0x561296(_0x53a077._0x330f85,0x396,_0x53a077._0x2e89da,0x28a),this[_0x561296(0x42f,0x45f,0x222,0x45a)]=_0x36a46e(_0x53a077._0x1a55cc,-0x10e,0xe2,_0x53a077._0x291b50),this[_0x561296(0x4ee,_0x53a077._0x367ecd,_0x53a077._0x57658d,0x2b8)]=null,this[_0x561296(0x4a1,0x2cd,0x356,0x392)]=null,this[_0x36a46e(-0x20c,0x4,-0x6d,0xd7)]=!0x1;}async['createNewConversation'](_0x2fc54f={}){const _0xd73d1f={_0x2cc7a2:0x57e,_0xc4f526:0x6e9,_0x1e95d9:0x62f,_0x19f2b8:0x44c,_0x11cac4:0x862,_0x366438:0x4b2,_0x46aa34:0x49c,_0x3100c3:0x681,_0x538ec:0x2c3,_0x4d8c2d:0x30,_0x1de429:0x294,_0x5b9ac1:0x2a,_0x33470e:0x16d,_0x19e02f:0x7e,_0x34090e:0x49,_0x48c048:0x350,_0x5abcdc:0x467,_0x3bb06d:0x380,_0x288744:0x176,_0x5a2445:0x4e6,_0x454444:0x397,_0x22792a:0x472,_0xaa3b5c:0x5c0,_0x3f0ae1:0x3c1,_0x5920fa:0x31f,_0x54a573:0x8ad,_0xe73be4:0x54b,_0x9cc5fd:0x4d7,_0x81e7f8:0x807,_0x4e9c7a:0x5cc,_0x245486:0x334,_0x4deff6:0x771,_0x146475:0x625},_0x28567b={_0x4a84ca:0x20,_0x2d0bb0:0xe},_0x5381f0={_0x3a1c9f:0x1b1};function _0x67f5a9(_0x3618b6,_0x59d349,_0x153855,_0x28c007){return _0x7f0a6b(_0x3618b6-_0x5381f0._0x3a1c9f,_0x28c007-0x226,_0x3618b6,_0x28c007-0xdc);}if(!this[_0x67f5a9(0x5eb,0x4e6,0x6b9,0x687)])throw new Error(_0xb457ae(0x222,0xd7,0xc,0x34d));if(!this['handlers'])throw new Error(_0x67f5a9(0x72a,_0xd73d1f._0x2cc7a2,_0xd73d1f._0xc4f526,_0xd73d1f._0x1e95d9));let _0x5c4575=_0x2fc54f['memPersist']??this[_0xb457ae(0x3f5,_0xd73d1f._0x19f2b8,0x515,0x5db)],{sessionId:_0x2f7503,sessionDir:_0x2890f1}=this[_0x67f5a9(_0xd73d1f._0x11cac4,_0xd73d1f._0x366438,_0xd73d1f._0x46aa34,_0xd73d1f._0x3100c3)]({}),_0x14bcdb=this[_0x67f5a9(0x44b,_0xd73d1f._0x538ec,0x59d,0x4da)]()[_0xb457ae(0x102,0x4f,0xda,_0xd73d1f._0x4d8c2d)][_0xb457ae(0x213,0x16a,0x174,0x3c5)]?.[_0xb457ae(0x2fb,0x181,0xc2,0x240)]??!0x1,_0x4d1287=this[_0xb457ae(0x186,_0xd73d1f._0x1de429,0xda,_0xd73d1f._0x5b9ac1)](_0x2890f1,_0x5c4575),_0x19dfcb=this['createEventAdapter'](_0x2890f1,this[_0xb457ae(_0xd73d1f._0x33470e,-_0xd73d1f._0x19e02f,-_0xd73d1f._0x34090e,0x316)],_0x14bcdb,this['streamingChunks']);function _0xb457ae(_0xd98de2,_0x177b7f,_0x1ab3e0,_0x1868a8){return _0x5318c5(_0xd98de2-0xd8,_0x1868a8,_0x1ab3e0-_0x28567b._0x4a84ca,_0xd98de2-_0x28567b._0x2d0bb0);}return this['orchestrator'][_0xb457ae(_0xd73d1f._0x48c048,_0xd73d1f._0x5abcdc,_0xd73d1f._0x3bb06d,0x45d)](_0x4d1287),this[_0xb457ae(0x397,0x19f,_0xd73d1f._0x288744,0x518)][_0x67f5a9(_0xd73d1f._0x5a2445,0x39e,0x39b,0x3b3)](_0x19dfcb),this[_0xb457ae(_0xd73d1f._0x454444,0x2a6,0x561,0x333)]['setMetrics'](new Tt(_0x2f7503,Oe)),this[_0x67f5a9(_0xd73d1f._0x22792a,0x44e,_0xd73d1f._0xaa3b5c,_0xd73d1f._0x3f0ae1)]=_0x4d1287,this[_0x67f5a9(0x291,0x303,0x37e,_0xd73d1f._0x5920fa)]=new _0x54ee90(_0x4d1287),this[_0x67f5a9(_0xd73d1f._0x54a573,0x760,0x68f,0x6e5)]=_0x5c4575,this[_0x67f5a9(0x5e7,0x594,0x388,_0xd73d1f._0xe73be4)]=_0x5c4575?_0x2f7503:null,this[_0x67f5a9(_0xd73d1f._0x9cc5fd,_0xd73d1f._0x81e7f8,_0xd73d1f._0x4e9c7a,0x625)]=_0x5c4575?_0x2890f1:null,this[_0x67f5a9(_0xd73d1f._0x245486,0x529,0x61e,0x473)]=_0x5c4575,{'sessionId':this['sessionId'],'sessionDir':this[_0x67f5a9(0x621,_0xd73d1f._0x4deff6,0x840,_0xd73d1f._0x146475)],'memory':this['memory']};}async[_0x7f0a6b(0x2af,0x15a,0x352,0x2db)](_0x6f2da1){const _0x1d25f4={_0x47e919:0x2fd,_0x464f53:0x246,_0x3cfb51:0xe2,_0x2d5099:0x85,_0x34ca14:0x633,_0x1b797f:0x611,_0x1db4ba:0x98,_0xa5f1c2:0x512,_0x3b5d49:0x54b,_0x49f070:0x76,_0x4fb174:0x5df,_0x341e1a:0x3ce,_0x4747cd:0x458,_0x1fba2e:0x62b,_0xcc02c9:0x32,_0x4c66bf:0x7ba,_0x4193fa:0x857,_0x5436ec:0x650,_0x31fddc:0x2e8,_0x47f5e2:0x1b0,_0x22c729:0x50b,_0x505485:0x507,_0x327386:0x670,_0xbccc55:0x344,_0x31643c:0x182,_0x5b7182:0x49,_0x4a6b3d:0x83,_0x18d8cd:0x140,_0x4593a0:0x9,_0x353118:0x153,_0x21a7bf:0xbe,_0x3f1954:0x168,_0x52b4a8:0x616,_0x4a24f7:0x2b5,_0x21f252:0x64d,_0x395187:0x59,_0x3d211:0x15,_0x27ad45:0x2cf},_0x4f08fc={_0x3f311e:0x18f},_0x385ddc={_0x26b090:0x64,_0x512de1:0x4d};function _0x5a0247(_0x30f28a,_0x1b983e,_0x336896,_0x36588d){return _0x5318c5(_0x30f28a-_0x385ddc._0x26b090,_0x30f28a,_0x336896-_0x385ddc._0x512de1,_0x1b983e-0x2e0);}if(!this[_0x598113(_0x1d25f4._0x47e919,0x1fa,_0x1d25f4._0x464f53,_0x1d25f4._0x3cfb51)])throw new Error(_0x598113(-0x11d,_0x1d25f4._0x2d5099,0x28a,0xbe));if(!this[_0x5a0247(0x3b8,0x43f,0x535,_0x1d25f4._0x34ca14)])throw new Error(_0x5a0247(0x4da,_0x1d25f4._0x1b797f,0x54d,0x442));let {sessionId:_0xe0cd01,sessionDir:_0x8971b2}=_0x6f2da1,_0x7e4b59=this[_0x598113(-_0x1d25f4._0x1db4ba,0x4d,-0x8c,-0x159)]()[_0x5a0247(_0x1d25f4._0xa5f1c2,0x3d4,_0x1d25f4._0x3b5d49,0x5fd)][_0x598113(0x95,_0x1d25f4._0x49f070,0x15b,-0xd5)]?.[_0x5a0247(_0x1d25f4._0x4fb174,0x5cd,0x62b,0x616)]??!0x1,_0x1693d7=this[_0x5a0247(_0x1d25f4._0x341e1a,_0x1d25f4._0x4747cd,_0x1d25f4._0x1fba2e,0x4de)](_0x8971b2,!0x0),_0x4d896e=this[_0x598113(0x1a9,0x9c,0xf7,0x1b0)](_0x8971b2,this['handlers'],_0x7e4b59,this[_0x598113(0x1a6,_0x1d25f4._0xcc02c9,0x3f,0x17f)]);function _0x598113(_0x4fb48f,_0x31c0fd,_0x2ee261,_0x400f5f){return _0x5318c5(_0x4fb48f-0x1c,_0x4fb48f,_0x2ee261-0x5b,_0x31c0fd- -_0x4f08fc._0x3f311e);}return this[_0x598113(0x29c,0x1fa,0x3dd,0x8a)][_0x5a0247(0x4ea,0x622,0x849,_0x1d25f4._0x4c66bf)](_0x1693d7),this[_0x5a0247(_0x1d25f4._0x4193fa,0x669,_0x1d25f4._0x5436ec,0x6e1)][_0x5a0247(_0x1d25f4._0x31fddc,0x395,0x1bc,_0x1d25f4._0x47f5e2)](_0x4d896e),this[_0x5a0247(_0x1d25f4._0x22c729,0x669,_0x1d25f4._0x505485,_0x1d25f4._0x327386)][_0x598113(-_0x1d25f4._0xbccc55,-_0x1d25f4._0x31643c,-_0x1d25f4._0x5b7182,-_0x1d25f4._0x4a6b3d)](new Tt(_0xe0cd01,Oe)),this['memory']=_0x1693d7,this[_0x598113(0x45,-0x16e,-_0x1d25f4._0x18d8cd,_0x1d25f4._0x4593a0)]=new _0x54ee90(_0x1693d7),this['memPersist']=!0x0,this[_0x598113(_0x1d25f4._0x353118,_0x1d25f4._0x21a7bf,0x172,0x247)]=_0xe0cd01,this[_0x598113(0x35c,0x198,0x33a,_0x1d25f4._0x3f1954)]=_0x8971b2,this[_0x5a0247(_0x1d25f4._0x52b4a8,0x455,_0x1d25f4._0x4a24f7,0x2a7)]=!0x0,{'sessionId':this['sessionId'],'sessionDir':this[_0x5a0247(0x810,0x607,0x76b,_0x1d25f4._0x21f252)],'memory':this[_0x598113(-_0x1d25f4._0x395187,-0xcc,-_0x1d25f4._0x3d211,-_0x1d25f4._0x27ad45)]};}async[_0x7f0a6b(0x46a,0x4d3,0x2f0,0x69f)](_0x3dbe13,_0x45e63a){const _0x43ee95={_0x611e27:0xa02,_0x107eae:0x8ca,_0x139323:0x5d6,_0x544fc7:0x58a,_0x9e5c5a:0x362,_0x176736:0x5a5,_0x4e0f52:0x495,_0x477a66:0x645,_0x2af3c1:0x4b2,_0x4c6700:0x561,_0x2add60:0x643,_0x4cd08e:0x5a4,_0x23f941:0x6b9,_0x2c239b:0x51b,_0x5a828a:0x3ec,_0x6beea1:0x6f1,_0xb68d75:0x4d8,_0x35b336:0x5e9,_0x146137:0x60e,_0x59ea18:0x799,_0x4d5b32:0x584,_0x30ee46:0x59b,_0x467ed3:0x56e,_0x2ccf04:0x313,_0x58cc52:0x6d9,_0x416918:0x3f4,_0x172270:0x7ae,_0x5674e2:0x740,_0x19e4b5:0x769,_0xf3f4e6:0x8fd,_0x5d89a5:0x6ee,_0x24c5da:0x43e,_0x319c91:0x449,_0x26d226:0x29e,_0x4b07f3:0x620,_0x321db3:0x7d9,_0x4a620c:0x7b4,_0x30be45:0x6d6,_0x15053a:0x55e},_0x42d2e3={_0x2a3dfa:0x19e},_0x2decbd={_0x48ba5c:0x1fa,_0x1056ce:0x29c,_0x434d8e:0x4d7,_0xaed760:0x1be,_0x2e39c2:0x13e,_0x3f0e30:0x64,_0x38546b:0x212,_0x328053:0x75,_0x3ba696:0x79,_0x230235:0x1b6,_0x145807:0x1d,_0x5ea47e:0x126,_0x2c5533:0x5a,_0x134d1b:0x8a,_0xfd9a44:0x27,_0x1b652b:0x18a,_0x2c737a:0x12b,_0x31fba5:0x10c,_0x1a9ebb:0xa6},_0xbf08ad={_0x24627c:0x48b},_0x4d3d9b={_0x100014:0x0};function _0x16a8f8(_0x18a34c,_0x42a118,_0x3a4e8c,_0x41cdec){return _0x7f0a6b(_0x18a34c-0x134,_0x41cdec-0x36a,_0x3a4e8c,_0x41cdec-_0x4d3d9b._0x100014);}let _0x15bf75=_0x45e63a??this[_0x16a8f8(_0x43ee95._0x611e27,0x5fe,_0x43ee95._0x107eae,0x817)][_0x16a8f8(0x6b2,_0x43ee95._0x139323,0x45e,0x563)](),_0x47f4f3='';if(this['memory'])try{let _0xb6bc96=await this[_0x564abf(_0x43ee95._0x544fc7,_0x43ee95._0x9e5c5a,0x5a3,0x455)][_0x564abf(_0x43ee95._0x176736,0x397,0x492,0x55b)](_0x15bf75);if(_0xb6bc96&&_0xb6bc96[_0x564abf(_0x43ee95._0x4e0f52,_0x43ee95._0x477a66,0x64c,0x4f4)]>0x0){let _0xc7066c=_0xb6bc96[_0x16a8f8(0x5b2,0x6ff,_0x43ee95._0x2af3c1,_0x43ee95._0x4c6700)](_0x18fa04=>_0x18fa04[_0x16a8f8(0x4f4,0x3fe,0x20e,0x435)]===_0x564abf(0x2e5,0x525,0x384,0x4a5));_0xc7066c[_0x16a8f8(0x6e8,0x4ca,_0x43ee95._0x2add60,_0x43ee95._0x4cd08e)]>0x0&&(_0x47f4f3=_0xc7066c['map'](_0x238b10=>{let _0x57dc2b='';function _0x1a4f43(_0x4031d3,_0x3f2a11,_0x49d6fe,_0x337680){return _0x564abf(_0x4031d3-0x34,_0x3f2a11-0xbd,_0x3f2a11,_0x4031d3- -0x3a8);}function _0x109ec2(_0x565d51,_0x2245c2,_0x424f1a,_0x4cd2ee){return _0x16a8f8(_0x565d51-0x181,_0x2245c2-0x182,_0x565d51,_0x424f1a- -_0xbf08ad._0x24627c);}return typeof _0x238b10[_0x109ec2(-0x202,0x205,0x27,-_0x2decbd._0x48ba5c)]==_0x1a4f43(0x33f,_0x2decbd._0x1056ce,_0x2decbd._0x434d8e,_0x2decbd._0xaed760)?_0x57dc2b=_0x238b10[_0x109ec2(-_0x2decbd._0x2e39c2,-0x1a3,0x27,0xf1)]:_0x238b10['content']&&typeof _0x238b10[_0x1a4f43(0x5a,-0x73,0x124,_0x2decbd._0x3f0e30)]==_0x1a4f43(_0x2decbd._0x38546b,_0x2decbd._0x328053,0x140,_0x2decbd._0x3ba696)&&_0x109ec2(-0x34,-_0x2decbd._0x230235,-_0x2decbd._0x145807,_0x2decbd._0x5ea47e)in _0x238b10[_0x1a4f43(_0x2decbd._0x2c5533,0x173,-0x15a,0x1d3)]&&(_0x57dc2b=_0x238b10[_0x109ec2(_0x2decbd._0x134d1b,-0x138,_0x2decbd._0xfd9a44,-_0x2decbd._0x1b652b)]['parts'][_0x109ec2(0x1be,0x194,0x1ed,0x246)](_0x37413a=>_0x37413a[_0x1a4f43(0x138,0x2c8,-0xd8,0xa1)]===_0x1a4f43(0x2cd,0x4f4,0x476,0x128)?_0x37413a[_0x109ec2(0x2f4,0x4b9,0x29a,0x341)]:'[non-text\x20content]')[_0x109ec2(_0x2decbd._0x2c737a,-_0x2decbd._0x31fba5,0xc1,_0x2decbd._0x1a9ebb)]('\x0a')),_0x57dc2b;})['join']('\x0a\x0a'));}}catch{}let _0x4fa56e=_0x47f4f3?'Analyze\x20the\x20following\x20user\x20messages\x20and\x20extract\x20the\x20main\x20topic\x20or\x20intent\x20in\x205-10\x20words.\x20Be\x20concise\x20and\x20descriptive.\x0a\x0aPrevious\x20user\x20messages:\x0a'+_0x47f4f3+_0x16a8f8(0x689,_0x43ee95._0x23f941,_0x43ee95._0x2c239b,0x695)+_0x3dbe13+_0x564abf(_0x43ee95._0x5a828a,0x62a,_0x43ee95._0x6beea1,_0x43ee95._0xb68d75):_0x564abf(_0x43ee95._0x35b336,_0x43ee95._0x146137,_0x43ee95._0x59ea18,_0x43ee95._0x4d5b32)+_0x3dbe13+'\x0a\x0aRespond\x20with\x20only\x20the\x20topic,\x20no\x20explanation.',_0x358b2a=this[_0x564abf(0x5c2,0x48d,_0x43ee95._0x30ee46,_0x43ee95._0x467ed3)](),_0x5a45b6=(_0x358b2a[_0x16a8f8(0x4c4,_0x43ee95._0x2ccf04,_0x43ee95._0x58cc52,0x536)][_0x16a8f8(0x5a9,0x535,0x695,0x647)]?.[_0x16a8f8(_0x43ee95._0x416918,_0x43ee95._0x172270,_0x43ee95._0x5674e2,0x587)]??!0x1)&&this[_0x16a8f8(0x65f,0x5de,0x7ea,_0x43ee95._0x19e4b5)]?_0xe695f8['join'](this[_0x16a8f8(0x743,0x607,0x840,0x769)],_0x564abf(0x7a9,0x752,_0x43ee95._0xf3f4e6,_0x43ee95._0x5d89a5)):void 0x0,_0x542008=this['createLLM'](_0x5a45b6),_0x128e78=new _0xa000de(),_0x2fa087=new _0x106c62({'agentRegistry':new _0x24ba56({'filePersistence':void 0x0})}),_0x468f4e={'id':_0x564abf(_0x43ee95._0x24c5da,0x644,0x5ab,_0x43ee95._0x319c91),'systemPrompt':'You\x20are\x20a\x20topic\x20analyzer.\x20Extract\x20the\x20main\x20topic\x20from\x20user\x20messages\x20concisely.','temperature':0.3,'topP':0x1,'model':_0x358b2a[_0x16a8f8(0x5f7,_0x43ee95._0x4cd08e,0x471,0x537)],'enabledTools':[],'maxToolConcurrency':0x0,'reasoningEffort':void 0x0},_0x4024d8=new _0x485b15(_0x468f4e,{'memory':_0x128e78,'llm':_0x542008,'tools':_0x2fa087});function _0x564abf(_0x47215d,_0x381016,_0x131c71,_0x4a1242){return _0x7f0a6b(_0x47215d-_0x42d2e3._0x2a3dfa,_0x4a1242-0x2ba,_0x131c71,_0x4a1242-0x7);}try{return(await _0x4024d8[_0x564abf(0x2df,0x235,_0x43ee95._0x26d226,0x3d6)](_0x4fa56e))[_0x564abf(0x415,0x1fd,_0x43ee95._0x4b07f3,0x402)][_0x16a8f8(_0x43ee95._0x321db3,0x501,_0x43ee95._0x4a620c,0x649)]();}catch{return _0x3dbe13[_0x564abf(0x41c,0x462,0x34d,0x4f4)]<0x32?_0x3dbe13:_0x16a8f8(0x500,0x6f9,_0x43ee95._0x30be45,_0x43ee95._0x15053a);}}async[_0x7f0a6b(0x2d7,0x2e0,0xbb,0x21e)](_0x40f538,_0x4772aa){const _0x57f4f6={_0x44c9f3:0x7a3,_0x5dd747:0x6f9,_0x26c61b:0x61a,_0x5f2cdb:0x597},_0xe8c336={_0x3bba42:0x1d1,_0xc3678e:0x4d7},_0x598687={_0x447070:0x8};if(!this['conversationStore'])throw new Error(_0x831fe1(_0x57f4f6._0x44c9f3,_0x57f4f6._0x5dd747,0x753,_0x57f4f6._0x26c61b));function _0x831fe1(_0x493763,_0x5921ba,_0x2589af,_0x4bcfe4){return _0x7f0a6b(_0x493763-0xcf,_0x493763-0x3e7,_0x5921ba,_0x4bcfe4-_0x598687._0x447070);}function _0x58e8b9(_0x577cd0,_0x5b2151,_0x11ad0a,_0x558bbb){return _0x5318c5(_0x577cd0-_0xe8c336._0x3bba42,_0x558bbb,_0x11ad0a-0x51,_0x5b2151-_0xe8c336._0xc3678e);}await this[_0x831fe1(0x4e0,_0x57f4f6._0x5f2cdb,0x699,0x510)]['updateTopic'](_0x40f538,_0x4772aa);}async[_0x5318c5(0x287,0x2e2,0x387,0x267)](_0x703888,_0x17d724){const _0x4df830={_0x30b3ea:0x63a,_0xe36a96:0x76d,_0x4428e3:0x57a},_0x14801b={_0x565778:0x2d},_0x4c525a={_0x38399e:0x29a,_0x4c3af6:0x1c0};function _0xd56eaf(_0x334a36,_0x30f577,_0x4c95c9,_0x54c604){return _0x7f0a6b(_0x334a36-0x1c1,_0x4c95c9-_0x4c525a._0x38399e,_0x30f577,_0x54c604-_0x4c525a._0x4c3af6);}let _0x13eefd=_0x17d724??this['conversationContext'][_0xd56eaf(_0x4df830._0x30b3ea,0x44b,0x493,0x341)](),_0x29ed26=await this[_0xd56eaf(0x8e2,0x6bc,_0x4df830._0xe36a96,0x606)](_0x703888);function _0x6240a3(_0x327172,_0x126def,_0x1c485f,_0x38b907){return _0x5318c5(_0x327172-0x18c,_0x38b907,_0x1c485f-0x17c,_0x126def- -_0x14801b._0x565778);}return await this[_0xd56eaf(0x54c,0x786,_0x4df830._0x4428e3,0x492)](_0x13eefd,_0x29ed26),_0x29ed26;}[_0x7f0a6b(0x199,0x1b6,-0x6b,0x2fe)](){const _0x35ae8b={_0x567e5d:0x85a},_0x3aac65={_0xebd574:0x5e,_0x2048f8:0x485};function _0x19682c(_0x5110bb,_0x48956d,_0x26a9a9,_0x5c38e4){return _0x5318c5(_0x5110bb-0x187,_0x5110bb,_0x26a9a9-_0x3aac65._0xebd574,_0x26a9a9-_0x3aac65._0x2048f8);}return this[_0x19682c(0x91a,0x880,_0x35ae8b._0x567e5d,0x678)];}async['getConversationMetadata'](_0x318695){const _0x4c7759={_0xa1f83b:0x1ba,_0x44b3e2:0x27c,_0x1c2752:0x650,_0x9342cc:0x744,_0x50e420:0x5ab,_0x37af57:0x486,_0x2f5ac0:0x481,_0x20346b:0x4e4,_0x3f6698:0x72e},_0x106d92={_0x10ff0a:0x62},_0x13f9e4={_0x5057d3:0x148,_0x19dae5:0x183};function _0x8079b3(_0x3f93c1,_0x518d71,_0x105886,_0x7c25af){return _0x7f0a6b(_0x3f93c1-_0x13f9e4._0x5057d3,_0x7c25af-_0x13f9e4._0x19dae5,_0x105886,_0x7c25af-0x14c);}function _0x48bb5f(_0x541e65,_0x494c85,_0x3eded2,_0xcb8bed){return _0x5318c5(_0x541e65-0x187,_0x541e65,_0x3eded2-_0x106d92._0x10ff0a,_0x494c85-0x460);}if(!this[_0x8079b3(0x3c4,0x47c,_0x4c7759._0xa1f83b,_0x4c7759._0x44b3e2)])throw new Error(_0x48bb5f(_0x4c7759._0x1c2752,_0x4c7759._0x9342cc,0x70f,_0x4c7759._0x50e420));return(await this[_0x48bb5f(_0x4c7759._0x37af57,_0x4c7759._0x2f5ac0,0x3c3,_0x4c7759._0x20346b)]['getConversation'](_0x318695))[_0x48bb5f(0x7b1,0x853,0xa12,_0x4c7759._0x3f6698)];}async[_0x7f0a6b(0x234,0x1c0,0x48,0x229)](){const _0x1e73e4={_0x3ab7f0:0x2d3,_0x7a848e:0x502,_0x3f6001:0x650,_0x22b033:0x500},_0x1a4229={_0xb88144:0x4f},_0x322bf4={_0x5d4c40:0xd5};function _0x2ed7b4(_0x2365c0,_0x101bd4,_0x547320,_0x4fbe3c){return _0x5318c5(_0x2365c0-0xe7,_0x547320,_0x547320-_0x322bf4._0x5d4c40,_0x2365c0- -0x82);}function _0xf02f34(_0x574940,_0x527208,_0x43c289,_0x2dcd94){return _0x5318c5(_0x574940-_0x1a4229._0xb88144,_0x43c289,_0x43c289-0x3d,_0x2dcd94-0x418);}if(!this['conversationStore'])throw new Error(_0x2ed7b4(0x262,0x375,_0x1e73e4._0x3ab7f0,0x189));return this['conversationStore'][_0xf02f34(0x646,_0x1e73e4._0x7a848e,_0x1e73e4._0x3f6001,_0x1e73e4._0x22b033)]();}[_0x7f0a6b(0x266,0x14a,0x203,-0x3)](){return this['conversationStore'];}async[_0x7f0a6b(0x5d3,0x47f,0x4d4,0x5a5)](){const _0x4b5482={_0x188012:0x15d,_0x48b70c:0x68,_0x289be7:0x5d,_0x3901f5:0x1d6,_0x54807f:0x16,_0x5741a7:0x11d,_0x44911b:0xb6,_0x7ae416:0x68,_0x4aaa14:0x28,_0x3d56b1:0x211,_0x572dbf:0x3d9,_0x5dbd05:0x6f,_0x29da6f:0x203,_0x42ecd3:0x236,_0x21eb80:0x181,_0x249b81:0x435,_0x56db3c:0x36f,_0x285ac4:0x4d5,_0x5eef04:0x106,_0x1a214d:0x2a6,_0x3a2ae7:0x113,_0x1a4955:0x301,_0x46a85a:0x251,_0x649d5f:0x7a,_0x5c28f3:0x1a5,_0x3651bf:0x4a0,_0x3ce761:0x426,_0x1b7c02:0x29,_0x4ee9:0x9a,_0x52fa7b:0x216,_0x2b202a:0x17},_0x340491={_0x37f0d2:0x394,_0x5cab0d:0x472,_0x176044:0x2e4,_0x50cfbf:0x331,_0x421968:0x571,_0x32f744:0x5fa,_0x1e2364:0x83d,_0x52e428:0x7e1,_0x4291e0:0x4c3,_0x49db30:0x5bf,_0x99b5c5:0x3fe,_0x4e3fdd:0x773,_0x445124:0x6b1,_0x2e6d55:0x637,_0x335b52:0x849,_0x32724a:0x4a1,_0x289fbd:0x513,_0x20caa7:0x79e,_0xbb39fa:0x44b,_0x2e87af:0x25e,_0x59999d:0x4bd,_0x2880a1:0x3ae,_0xd5fe6c:0x2ee,_0x15c141:0x4e8,_0x5c6b2b:0x6d3,_0x19c0be:0x4ca,_0x40c8f5:0x49b,_0x2c0406:0x4b9,_0x5823d3:0x261,_0x3f5e0b:0x6a1,_0x3871df:0x486,_0x1f755b:0x4ea,_0x23d998:0x768,_0x2e9d71:0x4ab,_0x51709a:0x51b,_0x294fce:0x690,_0x511982:0x579},_0x27f342={_0x58b379:0x3f,_0x561d08:0x399},_0x441d06={_0xc23dcf:0x30,_0x1241e3:0xa3,_0xd5fd0f:0x5b},_0x3135ce={_0x10065e:0x90};if(!this[_0xfa82e3(_0x4b5482._0x188012,_0x4b5482._0x48b70c,-_0x4b5482._0x289be7,_0x4b5482._0x3901f5)])throw new Error(_0xfa82e3(0x24a,_0x4b5482._0x54807f,0x1d,_0x4b5482._0x5741a7));let _0x20110b=await this[_0xfa82e3(_0x4b5482._0x44911b,_0x4b5482._0x7ae416,0x1f5,-0xff)][_0x230b91(0x12,_0x4b5482._0x4aaa14,_0x4b5482._0x3d56b1,0x298)](_0xfa82e3(_0x4b5482._0x572dbf,0x267,0xdf,0x2e3));function _0x230b91(_0x36e224,_0x97b67f,_0x12bd0f,_0x3f425b){return _0x7f0a6b(_0x36e224-0x1db,_0x12bd0f- -_0x3135ce._0x10065e,_0x3f425b,_0x3f425b-0xa0);}function _0xfa82e3(_0x20fd30,_0x2a19c5,_0x347ef4,_0x2a3da4){return _0x5318c5(_0x20fd30-_0x441d06._0xc23dcf,_0x2a3da4,_0x347ef4-_0x441d06._0x1241e3,_0x2a19c5- -_0x441d06._0xd5fd0f);}if(!_0x20110b||_0x20110b['length']===0x0)return _0x230b91(_0x4b5482._0x5dbd05,0x229,_0x4b5482._0x29da6f,0x1f4);let _0x995b0e=_0x20110b[_0x230b91(0x284,0x49c,0x27e,0x27d)](_0x36b689=>{const _0x59c7c8={_0x49188d:0x412};function _0x1becfe(_0x60365c,_0x393296,_0x36190e,_0x27cd97){return _0x230b91(_0x60365c-0x131,_0x393296-0x76,_0x27cd97-_0x59c7c8._0x49188d,_0x393296);}function _0x2ef9ea(_0x1aee63,_0x123050,_0x3b4add,_0x54cfe7){return _0xfa82e3(_0x1aee63-_0x27f342._0x58b379,_0x54cfe7-_0x27f342._0x561d08,_0x3b4add-0x126,_0x3b4add);}let _0x5f49c5=_0x36b689[_0x2ef9ea(_0x340491._0x37f0d2,_0x340491._0x5cab0d,_0x340491._0x176044,_0x340491._0x50cfbf)]===_0x2ef9ea(_0x340491._0x421968,0x60c,_0x340491._0x32f744,0x451)?_0x1becfe(0x78b,0x801,_0x340491._0x1e2364,_0x340491._0x52e428):_0x36b689[_0x2ef9ea(_0x340491._0x4291e0,0x295,0x1d3,0x331)]===_0x2ef9ea(0x681,_0x340491._0x49db30,_0x340491._0x99b5c5,0x4a7)?_0x1becfe(_0x340491._0x4e3fdd,0x55f,_0x340491._0x445124,_0x340491._0x2e6d55):_0x2ef9ea(_0x340491._0x335b52,0x580,0x7ec,0x678),_0x3fa5e0='';return typeof _0x36b689[_0x2ef9ea(0x4a4,_0x340491._0x32724a,_0x340491._0x289fbd,0x3ae)]==_0x2ef9ea(0x648,_0x340491._0x20caa7,0x88d,0x693)?_0x3fa5e0=_0x36b689[_0x2ef9ea(_0x340491._0xbb39fa,_0x340491._0x2e87af,_0x340491._0x59999d,_0x340491._0x2880a1)]:_0x36b689[_0x1becfe(_0x340491._0xd5fe6c,_0x340491._0x15c141,_0x340491._0x5c6b2b,_0x340491._0x19c0be)]&&typeof _0x36b689[_0x2ef9ea(_0x340491._0x40c8f5,0x263,0x4dc,_0x340491._0x2880a1)]==_0x2ef9ea(_0x340491._0x2c0406,0x4bf,0x69c,0x566)&&_0x1becfe(0x524,_0x340491._0x5823d3,_0x340491._0x3f5e0b,_0x340491._0x3871df)in _0x36b689['content']&&(_0x3fa5e0=_0x36b689['content'][_0x2ef9ea(_0x340491._0x1f755b,0x26e,0x170,0x36a)][_0x1becfe(_0x340491._0x23d998,_0x340491._0x2e9d71,_0x340491._0x51709a,_0x340491._0x294fce)](_0x53290d=>_0x53290d['type']==='text'?_0x53290d[_0x2ef9ea(0x62c,0x71b,0x762,0x621)]:_0x2ef9ea(0x18f,0x4ae,0x33d,0x33d))[_0x1becfe(0x4ad,0x3bd,_0x340491._0x511982,0x564)]('\x0a')),_0x5f49c5+':\x20'+_0x3fa5e0;})[_0xfa82e3(0x67,0xaf,_0x4b5482._0x42ecd3,0x61)]('\x0a\x0a'),_0xdea70e='You\x20are\x20a\x20conversation\x20summarizer.\x20Your\x20task\x20is\x20to\x20create\x20a\x20concise\x20summary\x20of\x20the\x20conversation\x20history\x20provided\x20by\x20the\x20user.\x20Focus\x20on:\x0a-\x20Key\x20topics\x20discussed\x0a-\x20Important\x20decisions\x20or\x20actions\x20taken\x0a-\x20Main\x20questions\x20asked\x20and\x20answers\x20provided\x0a-\x20Overall\x20context\x20and\x20flow\x20of\x20the\x20conversation\x0a\x0aKeep\x20the\x20summary\x20clear\x20and\x20concise,\x20typically\x203-5\x20paragraphs.',_0x98bd19=this[_0xfa82e3(0x13b,_0x4b5482._0x21eb80,0x43,-0xb5)](),_0x2daf8c=this[_0xfa82e3(0x53b,0x38c,0x351,_0x4b5482._0x249b81)]&&this[_0x230b91(0x531,0x518,_0x4b5482._0x56db3c,_0x4b5482._0x285ac4)]?_0xe695f8[_0xfa82e3(0x2cf,0xaf,0x2b3,_0x4b5482._0x5eef04)](this[_0xfa82e3(0x481,0x2cc,_0x4b5482._0x1a214d,_0x4b5482._0x3a2ae7)],_0xfa82e3(0x2ca,_0x4b5482._0x1a4955,0x367,_0x4b5482._0x46a85a)):void 0x0,_0x1125e9=this[_0xfa82e3(0x1e9,_0x4b5482._0x649d5f,-_0x4b5482._0x5c28f3,0x141)](_0x2daf8c),_0x1a12cf=new _0xa000de(),_0x3c606c=new _0x106c62({'agentRegistry':new _0x24ba56({'filePersistence':void 0x0})}),_0x312806={'id':_0x230b91(0x395,_0x4b5482._0x3651bf,0x428,_0x4b5482._0x3ce761),'systemPrompt':_0xdea70e,'temperature':0.7,'topP':0x1,'model':_0x98bd19[_0xfa82e3(-_0x4b5482._0x1b7c02,_0x4b5482._0x4ee9,_0x4b5482._0x52fa7b,-0xd9)],'enabledTools':[],'maxToolConcurrency':0x0,'reasoningEffort':void 0x0},_0x37d0cf={'memory':_0x1a12cf,'llm':_0x1125e9,'tools':_0x3c606c,'context':new _0x324909(),'ids':new _0x20951d(),'clock':new _0x2b1a67(),'cost':new _0x4ffe7a(),'reminders':new _0x171c4b()};return(await new _0x485b15(_0x312806,_0x37d0cf)[_0xfa82e3(0x1c8,-_0x4b5482._0x2b202a,0xa0,-0x40)](_0x995b0e))['content'];}},ce=new Er();import{createContext as _0x554f52,useContext as _0x54ddae,useState as _0x1b8c49,useEffect as _0x5a9a1c,useCallback as _0x4d5c2b,useRef as _0x35c48f,useMemo as _0x516547}from'react';import{jsx as _0x2a5c71}from'react/jsx-runtime';var ms=_0x554f52(void 0x0);function $g({requireToolApproval:_0x32a7c2,onError:_0x477c71,children:_0x22dc03,orchestratorManager:_0x5c5949}){const _0x1e771c={_0x3e7e58:0x2b3,_0x599e77:0x415,_0x49f533:0x385,_0x5a1fd6:0x38c,_0xad73ea:0x872,_0x5f4b4c:0x675,_0x39b7b2:0x265,_0xd94ab3:0x2d6,_0x4d89b5:0x681,_0x20ddee:0x787},_0x53e1e9={_0x123d13:0x64b,_0x1c3874:0x2fe,_0x161d4e:0x27c,_0x4801ee:0x488,_0x26d2a5:0x538,_0x19ed93:0x66b},_0x23e63d={_0x6f6110:0x811,_0x3d192a:0x874,_0x14b1a7:0x741,_0xde55f1:0x7c7,_0x4e8893:0x75d,_0x688cec:0x4f4,_0x4c202e:0x58c,_0x8c348:0x3aa,_0x3c457d:0x439,_0xd2a4d9:0x30b,_0x16ed8d:0x4d4,_0xfc7f33:0x670,_0x33de23:0x7bb,_0x57dfdc:0x621,_0x581915:0x5fc},_0x1c9ef0={_0x362d63:0x65,_0x38f37b:0x36},_0x770d5c={_0x352840:0x182,_0x39baf0:0x370},_0x2543a9={_0x11fcc6:0x2f6,_0x468164:0x5c,_0x3aec99:0x48a,_0x33a4a4:0x5e8,_0x386f66:0x2ad,_0x970cbc:0x264,_0x2da766:0x508,_0x30ab0e:0x48b};let [_0xd67da2,_0x3ce393]=_0x1b8c49(_0x32a7c2),[_0x5a56b9,_0x139703]=_0x1b8c49(null),[_0x5cc3bb,_0x1aab1a]=_0x1b8c49(new Set()),_0x486d4a=_0x4d5c2b(_0x29a914=>{_0x1aab1a(_0x26d4ed=>new Set(_0x26d4ed)['add'](_0x29a914));},[]),_0x44b3fe=_0x4d5c2b(()=>{_0x1aab1a(new Set());},[]),_0x2c7229=_0x4d5c2b((_0x4d2f37,_0x3c959b,_0x4f4bd6)=>{function _0x145fe3(_0xdb40a2,_0x3c3cfe,_0x478442,_0x40b2e9){return _0xa481(_0xdb40a2- -0x72,_0x478442);}function _0x421bdf(_0x5c51cb,_0x5465e6,_0x46c0c0,_0x4cc5ad){return _0xa481(_0x5465e6-0x2a6,_0x46c0c0);}if(!(!_0x5a56b9||!_0x5c5949?.[_0x145fe3(0xe7,_0x2543a9._0x11fcc6,-0xd7,-_0x2543a9._0x468164)]()))try{_0x5c5949?.['getOrchestrator']()?.[_0x421bdf(0x2da,_0x2543a9._0x3aec99,_0x2543a9._0x33a4a4,0x366)](_0x5a56b9['approvalId'],_0x4d2f37,_0x3c959b,_0x4f4bd6),_0x139703(null);}catch(_0xd39147){let _0x9e72af=_0xd39147 instanceof Error?_0xd39147[_0x145fe3(0x26e,0x1c4,_0x2543a9._0x386f66,_0x2543a9._0x970cbc)]:String(_0xd39147);_0x477c71(_0x145fe3(_0x2543a9._0x2da766,_0x2543a9._0x30ab0e,0x71c,0x5b5)+_0x9e72af);}},[_0x5a56b9,_0x477c71,_0x5c5949?.[_0x59b182(_0x1e771c._0x3e7e58,_0x1e771c._0x599e77,_0x1e771c._0x49f533,_0x1e771c._0x5a1fd6)]]),_0x39012a=_0x35c48f(_0x5cc3bb);_0x39012a[_0x59b182(_0x1e771c._0xad73ea,_0x1e771c._0x5f4b4c,0x6c8,0x6e5)]=_0x5cc3bb;let _0x5730d3=_0x35c48f(_0x477c71);function _0x59b182(_0x221d16,_0x51bc7c,_0x5588c1,_0xbb5284){return _0x7f0a6b(_0x221d16-_0x770d5c._0x352840,_0x51bc7c-_0x770d5c._0x39baf0,_0xbb5284,_0xbb5284-0xbc);}_0x5730d3['current']=_0x477c71,_0x5a9a1c(()=>{const _0x583d4b={_0x34af67:0x149,_0x4549a9:0xd},_0x5f1f5e={_0x5ae5c3:0x4f},_0x53e591={_0x399f1a:0x44f,_0x5902c2:0x64c,_0x332906:0x437,_0x4e1669:0x2ec,_0x51b383:0x58f,_0x52c87e:0x1c2,_0x29d443:0x38e,_0x43c59e:0x1ef,_0x1e2f8e:0x2fb,_0x2a9c5f:0x295,_0x1582be:0x5d2,_0x398f14:0x4f4,_0x3d4c04:0x50b,_0x4a9981:0x3cb,_0x5c52ce:0x596,_0x41c5df:0x40b,_0xff2854:0x532,_0x5e15ea:0x409,_0x2f4001:0x28a,_0x426633:0x33a,_0x468908:0x5ea,_0x28d483:0x59b,_0x79e008:0x5ad,_0x4a069b:0x394,_0x1a5bf3:0x37c,_0x55a1d5:0x121,_0x5666a9:0x28f,_0x26be01:0x2c7,_0x150136:0x54e},_0x34bd1f={_0x27d708:0x10d};function _0x29f3e6(_0xf5cfa0,_0x5a3df9,_0x355c64,_0x11c6bc){return _0x59b182(_0xf5cfa0-0x17c,_0x11c6bc- -0x10b,_0x355c64-_0x34bd1f._0x27d708,_0xf5cfa0);}let _0x34a357=async _0x1e8ab9=>{function _0x176ab9(_0x26d177,_0x3e95bd,_0xb4810f,_0x45e977){return _0xa481(_0x45e977-0x11b,_0x26d177);}function _0x4e38de(_0x35b289,_0x7fa447,_0x55658e,_0x30f5fe){return _0xa481(_0x35b289- -0x25,_0x30f5fe);}try{let _0x4f0119=await fo(_0x1e8ab9[_0x4e38de(0x561,_0x53e591._0x399f1a,_0x53e591._0x5902c2,_0x53e591._0x332906)]),_0x499d24=[],_0x193839=[];for(let _0x1215fa of _0x4f0119)_0x39012a['current'][_0x176ab9(_0x53e591._0x4e1669,_0x53e591._0x51b383,_0x53e591._0x52c87e,_0x53e591._0x29d443)](_0x1215fa[_0x176ab9(_0x53e591._0x43c59e,_0x53e591._0x1e2f8e,0x6b,_0x53e591._0x2a9c5f)][_0x176ab9(0x3a7,0x53f,0x644,_0x53e591._0x1582be)])?_0x499d24[_0x176ab9(_0x53e591._0x398f14,0x40c,0x5d4,_0x53e591._0x3d4c04)](_0x1215fa):_0x193839[_0x4e38de(_0x53e591._0x4a9981,_0x53e591._0x5c52ce,0x226,_0x53e591._0x41c5df)](_0x1215fa);if(_0x499d24[_0x176ab9(0x271,_0x53e591._0xff2854,0x335,_0x53e591._0x5e15ea)]>0x0&&_0x5c5949?.[_0x4e38de(0x134,_0x53e591._0x2f4001,_0x53e591._0x426633,0x25a)]())try{_0x5c5949?.['getOrchestrator']()?.['handleToolApproval'](_0x1e8ab9[_0x176ab9(_0x53e591._0x468908,0x608,_0x53e591._0x28d483,_0x53e591._0x79e008)],'approve',_0x499d24);}catch(_0x483609){let _0x4b8bd4=_0x483609 instanceof Error?_0x483609['message']:String(_0x483609);_0x5730d3[_0x4e38de(_0x53e591._0x4a069b,0x5c7,_0x53e591._0x1a5bf3,0x5bf)](_0x4e38de(0x180,0x1a1,_0x53e591._0x55a1d5,0x24c)+_0x4b8bd4);}_0x193839[_0x4e38de(0x2c9,_0x53e591._0x5666a9,0x13b,_0x53e591._0x26be01)]>0x0&&_0x139703({..._0x1e8ab9,'toolCalls':_0x193839});}catch(_0x3c0cfe){let _0x1fefd2=_0x3c0cfe instanceof Error?_0x3c0cfe['message']:String(_0x3c0cfe);_0x5730d3['current'](_0x176ab9(0x405,_0x53e591._0x150136,0x291,0x3a9)+_0x1fefd2);}},_0x535d55=()=>{_0x44b3fe();},_0x22de2b=()=>{_0x44b3fe();};function _0x5064b9(_0x582049,_0x3d44d4,_0x4d3ef,_0x868422){return _0x59b182(_0x582049-_0x1c9ef0._0x362d63,_0x3d44d4- -_0x1c9ef0._0x38f37b,_0x4d3ef-0x3a,_0x4d3ef);}return B['on']('ui:toolApprovalRequired',_0x34a357),B['on'](_0x29f3e6(_0x53e1e9._0x123d13,_0x53e1e9._0x1c3874,_0x53e1e9._0x161d4e,_0x53e1e9._0x4801ee),_0x535d55),B['on'](_0x5064b9(_0x53e1e9._0x26d2a5,0x745,_0x53e1e9._0x19ed93,0x58c),_0x22de2b),()=>{function _0xeff125(_0xfcbd24,_0x88d02a,_0x125e3f,_0xfe1294){return _0x29f3e6(_0xfcbd24,_0x88d02a-0xe3,_0x125e3f-0xee,_0x88d02a- -_0x5f1f5e._0x5ae5c3);}function _0x51f55a(_0x427da8,_0x36753f,_0x6acfb5,_0x238f3b){return _0x5064b9(_0x427da8-0xe7,_0x238f3b-_0x583d4b._0x34af67,_0x6acfb5,_0x238f3b-_0x583d4b._0x4549a9);}B[_0x51f55a(0x57e,_0x23e63d._0x6f6110,_0x23e63d._0x3d192a,_0x23e63d._0x14b1a7)](_0x51f55a(_0x23e63d._0xde55f1,_0x23e63d._0x4e8893,_0x23e63d._0x688cec,0x5c9),_0x34a357),B[_0xeff125(_0x23e63d._0x4c202e,0x4d4,_0x23e63d._0x8c348,0x5f1)](_0xeff125(0x343,_0x23e63d._0x3c457d,0x5e6,_0x23e63d._0xd2a4d9),_0x535d55),B[_0xeff125(0x502,_0x23e63d._0x16ed8d,0x434,_0x23e63d._0xfc7f33)](_0xeff125(_0x23e63d._0x33de23,_0x23e63d._0x57dfdc,0x555,_0x23e63d._0x581915),_0x22de2b);};},[_0x44b3fe,_0x5c5949?.[_0x41bb33(_0x1e771c._0x39b7b2,_0x1e771c._0xd94ab3,0x2ff,0x43e)]]);let _0x56ca08=_0x516547(()=>({'toolApprovalMode':_0xd67da2,'setToolApprovalMode':_0x3ce393,'pendingApproval':_0x5a56b9,'sessionApprovedTools':_0x5cc3bb,'addSessionApprovedTool':_0x486d4a,'clearSessionApprovedTools':_0x44b3fe,'handleApprovalResponse':_0x2c7229}),[_0xd67da2,_0x5a56b9,_0x5cc3bb,_0x486d4a,_0x44b3fe,_0x2c7229]);function _0x41bb33(_0x2a3317,_0x676c9b,_0x4f79b8,_0x325362){return _0x5318c5(_0x2a3317-0x1bf,_0x325362,_0x4f79b8-0x1b3,_0x4f79b8-0x332);}return _0x2a5c71(ms[_0x59b182(_0x1e771c._0x4d89b5,0x7b5,0x5c2,_0x1e771c._0x20ddee)],{'value':_0x56ca08,'children':_0x22dc03});}function Re(){const _0x186fd0={_0x8b9394:0x33f,_0x550b4f:0x1a2},_0x164e57={_0x2c72b6:0xd3};let _0x836523=_0x54ddae(ms);if(!_0x836523)throw new Error(_0x54704a(0x482,_0x186fd0._0x8b9394,_0x186fd0._0x550b4f,0x313));function _0x54704a(_0x18e1d8,_0x41b8c6,_0x4630a4,_0x30042e){return _0x5318c5(_0x18e1d8-_0x164e57._0x2c72b6,_0x4630a4,_0x4630a4-0x13f,_0x41b8c6- -0xc9);}return _0x836523;}import{createContext as _0x5b3cef,useContext as _0x5b54a8,useState as _0xc5b50e,useCallback as _0xe8d511,useRef as _0x4323fa,useEffect as _0x4d1476,useMemo as _0x345c46}from'react';import{jsx as _0x5b444a}from'react/jsx-runtime';var ps=_0x5b3cef(void 0x0),Vg=({children:_0x4b0af4})=>{const _0xd23b73={_0x2b6df5:0x18e},_0x341ac5={_0x2aa39f:0x103,_0x16796c:0x252},_0x2db726={_0x264df3:0x415,_0x2ce16e:0x4b4,_0x4f387b:0x2ed},_0x132c3f={_0x5bf241:0x6d,_0x219549:0x2f7,_0xb95f9b:0x148,_0x19953b:0x68},_0x4c5e63={_0x5b0bf3:0x816,_0x4f8868:0x7c9,_0xc83d8e:0x636,_0x13abd0:0x67a},_0xdb472={_0x1084f5:0x271};let [_0x507056,_0x3b79f6]=_0xc5b50e(null),_0x48e08f=_0x4323fa(null),_0x856f18=_0xe8d511((_0x3ccee0,_0x449869=0xbb8)=>{function _0x1420f1(_0x218079,_0x2016e8,_0x30c37d,_0x1684ac){return _0xa481(_0x30c37d- -0xf4,_0x2016e8);}function _0x1fd2f8(_0x1401cc,_0x679f5f,_0x245b2c,_0x5beedd){return _0xa481(_0x679f5f- -_0xdb472._0x1084f5,_0x1401cc);}_0x48e08f[_0x1fd2f8(_0x132c3f._0x5bf241,0x148,-0xaa,0x8d)]&&(clearTimeout(_0x48e08f[_0x1420f1(0x38b,0x31b,0x2c5,0x4cd)]),_0x48e08f['current']=null),_0x3b79f6(_0x3ccee0),_0x3ccee0&&_0x449869>0x0&&(_0x449869===0x0?_0x3b79f6(null):_0x48e08f[_0x1fd2f8(_0x132c3f._0x219549,_0x132c3f._0xb95f9b,_0x132c3f._0x19953b,0xc2)]=setTimeout(()=>{const _0x3ed40a={_0x455450:0x188};function _0x550e9f(_0x595949,_0x526ce0,_0x4f3a85,_0xdc7d38){return _0x1420f1(_0x595949-_0x3ed40a._0x455450,_0x4f3a85,_0xdc7d38-0x3b5,_0xdc7d38-0x13c);}_0x3b79f6(null),_0x48e08f[_0x550e9f(_0x4c5e63._0x5b0bf3,_0x4c5e63._0x4f8868,_0x4c5e63._0xc83d8e,_0x4c5e63._0x13abd0)]=null;},_0x449869));},[]);_0x4d1476(()=>()=>{const _0x2f1a36={_0x297a0a:0x5c};function _0x9978ac(_0x43d72a,_0x5e5ff8,_0x1c3515,_0x405814){return _0xa481(_0x5e5ff8-_0x2f1a36._0x297a0a,_0x405814);}_0x48e08f['current']&&clearTimeout(_0x48e08f[_0x9978ac(0x3b6,_0x2db726._0x264df3,_0x2db726._0x2ce16e,_0x2db726._0x4f387b)]);},[]);let _0x540187=_0x345c46(()=>({'notification':_0x507056,'setNotification':_0x856f18}),[_0x507056,_0x856f18]);function _0x39d620(_0x18bf8e,_0x3f6374,_0x5c0094,_0x4ce00e){return _0x5318c5(_0x18bf8e-_0x341ac5._0x2aa39f,_0x3f6374,_0x5c0094-0xc1,_0x18bf8e- -_0x341ac5._0x16796c);}return _0x5b444a(ps[_0x39d620(0x11b,-0xb4,_0xd23b73._0x2b6df5,-0x61)],{'value':_0x540187,'children':_0x4b0af4});},fs=()=>{const _0xb46c23={_0x3a3777:0x187,_0x3b95d3:0x168},_0x1cb58d={_0x21b59a:0x1ef,_0xdf6c37:0x2ac};let _0x1b9a67=_0x5b54a8(ps);if(_0x1b9a67===void 0x0)throw new Error(_0x26e609(0x2b2,_0xb46c23._0x3a3777,_0xb46c23._0x3b95d3,0x1bf));function _0x26e609(_0x3dc53a,_0x7d247c,_0x13fc06,_0x1c684a){return _0x7f0a6b(_0x3dc53a-_0x1cb58d._0x21b59a,_0x7d247c- -_0x1cb58d._0xdf6c37,_0x1c684a,_0x1c684a-0xc8);}return _0x1b9a67;};import{createContext as _0x3e5bb5,useContext as _0xb7e74d,useState as _0x35bd2a,useEffect as _0x7bf243}from'react';import{useStdout as _0x344153}from'ink';import{jsx as _0x263234}from'react/jsx-runtime';var gs=0xa,hs=0x5,Nt=0x50,Ot=0x18,ys=_0x3e5bb5({'cols':Nt,'rows':Ot});function Xg({children:_0x3dab1b,altMode:_0x3e9c90}){const _0x37a842={_0x47076d:0x603,_0x317e97:0x795,_0x27e647:0x5e6},_0x23528b={_0x3096c6:0x1f4},_0x16019c={_0x387848:0x1c8,_0x5b9f03:0x1bc,_0x246a15:0x120,_0x58b9dc:0x422,_0xff8d01:0x237,_0x566ecd:0x209,_0x4d498a:0x2fc,_0x243643:0x1f3},_0x447a02={_0xdfa0f:0xc8};let {stdout:_0x513dbc}=_0x344153(),[_0xd9541d,_0x3a88fb]=_0x35bd2a(()=>{const _0x422825={_0x5bbf17:0x268};function _0x183d6b(_0x2da1d7,_0x22209e,_0x5d2b61,_0x53efcd){return _0xa481(_0x53efcd- -_0x422825._0x5bbf17,_0x22209e);}let _0x336bce=Math['max'](gs,Math['min'](_0x513dbc[_0x183d6b(_0x16019c._0x387848,-0x68,_0x16019c._0x5b9f03,_0x16019c._0x246a15)]||Nt,0x3e8))-(_0x3e9c90?0x2:0x0),_0x3c5b5a=Math[_0x1e551d(0x27c,_0x16019c._0x58b9dc,0x2ce,0x2a1)](hs,Math['min'](_0x513dbc[_0x1e551d(_0x16019c._0xff8d01,_0x16019c._0x566ecd,_0x16019c._0x4d498a,_0x16019c._0x243643)]||Ot,0x3e8));function _0x1e551d(_0x3a33f3,_0xd02b27,_0x15a384,_0x3ca981){return _0xa481(_0x3a33f3- -_0x447a02._0xdfa0f,_0x3ca981);}return{'cols':_0x336bce,'rows':_0x3c5b5a};});function _0x35c996(_0x13c51f,_0x1183ed,_0x46a95c,_0x34e84a){return _0x7f0a6b(_0x13c51f-0x1e9,_0x13c51f-0x1be,_0x46a95c,_0x34e84a-_0x23528b._0x3096c6);}return _0x7bf243(()=>{const _0x1570f3={_0x2c79fc:0x4cb,_0x38c0b3:0x126,_0x2bffc1:0x9,_0x12eb78:0x67,_0x19854f:0x3d9,_0x16e1dc:0x142,_0x32e59f:0x1e9,_0x20a572:0x2b1,_0x289762:0x132,_0x39f381:0x4c,_0x4b667c:0x494},_0x1d7d7c={_0xbf2c40:0x198};let _0x10aa96=()=>{const _0x45ac00={_0x57bb1d:0xa3};function _0xe8feae(_0x280e90,_0x376f83,_0xff3bfd,_0x4f23f7){return _0xa481(_0x4f23f7- -_0x1d7d7c._0xbf2c40,_0x376f83);}function _0x4535ff(_0x29165b,_0x58b8be,_0x265d54,_0x1259dc){return _0xa481(_0x29165b- -_0x45ac00._0x57bb1d,_0x58b8be);}try{let _0x32e7f5=_0x513dbc[_0x4535ff(0x2e5,0x47e,_0x1570f3._0x2c79fc,0x21c)],_0x207080=_0x513dbc['rows'],_0x202e80=_0x32e7f5&&_0x32e7f5>0x0&&_0x32e7f5<0x2710?Math[_0xe8feae(_0x1570f3._0x38c0b3,-_0x1570f3._0x2bffc1,_0x1570f3._0x12eb78,0x1ac)](gs,_0x32e7f5):Nt,_0x2268b8=_0x207080&&_0x207080>0x0&&_0x207080<0x2710?Math[_0x4535ff(0x2a1,0x27b,_0x1570f3._0x19854f,_0x1570f3._0x16e1dc)](hs,_0x207080):Ot;_0x3a88fb(_0x4277c9=>_0x4277c9[_0xe8feae(0x67,0x18b,0x219,0x17)]===_0x202e80&&_0x4277c9[_0xe8feae(0x138,0x38b,0xff,0x167)]===_0x2268b8?_0x4277c9:{'cols':_0x202e80-(_0x3e9c90?0x2:0x0),'rows':_0x2268b8});}catch(_0x58570c){console[_0x4535ff(_0x1570f3._0x32e59f,_0x1570f3._0x20a572,_0x1570f3._0x289762,_0x1570f3._0x39f381)](_0x4535ff(0x2ed,0xfe,_0x1570f3._0x4b667c,0x182),_0x58570c),_0x3a88fb(_0x47fbdb=>_0x47fbdb[_0x4535ff(0x10c,-0x10,0x310,0xe0)]===Nt&&_0x47fbdb[_0xe8feae(0xe2,0x27f,-0x1e,0x167)]===Ot?_0x47fbdb:{'cols':Nt,'rows':Ot});}};return _0x513dbc['on']('resize',_0x10aa96),()=>{_0x513dbc['off']('resize',_0x10aa96);};},[_0x513dbc,_0x3e9c90]),_0x263234(ys[_0x35c996(_0x37a842._0x47076d,_0x37a842._0x317e97,0x401,_0x37a842._0x27e647)],{'value':_0xd9541d,'children':_0x3dab1b});}function $t(){let {cols:_0x5ec2bb,rows:_0xf0f418}=_0xb7e74d(ys);return{'cols':_0x5ec2bb,'rows':_0xf0f418};}import{createContext as _0x1c8529,useContext as _0x580455}from'react';import{jsx as _0x1ac124}from'react/jsx-runtime';var xs=_0x1c8529(void 0x0);function oh({children:_0x4f64cd}){const _0x351b42={_0x4e0267:0x5f4,_0x2691ce:0x68f,_0x67a8d1:0x519},_0x3026e3={_0x3ef477:0x18f,_0x26b4f5:0x1ac},_0x22b5c4={_0x5d7d8f:0x1a1,_0x46f6eb:0x39a,_0x364d5d:0x328,_0x4f2863:0x23a,_0x219688:0x373,_0x294fa6:0x56b,_0x1409d2:0x380,_0x4d4b91:0x5ee,_0x5af93b:0x604,_0x1d8e5f:0x49e};let _0x2b9085={'theme':j,'getColor':_0x14ab81=>{function _0x4f9309(_0x1ef33b,_0x7ea62e,_0x3985ee,_0x33db15){return _0xa481(_0x33db15- -0x17a,_0x1ef33b);}let _0x558b04=_0x14ab81['split']('.'),_0xf9299c=j;function _0x212455(_0x1193b2,_0x53177e,_0x295328,_0x5f54b8){return _0xa481(_0x53177e-0x8a,_0x1193b2);}for(let _0x515e3e of _0x558b04)if(_0xf9299c&&typeof _0xf9299c==_0x4f9309(_0x22b5c4._0x5d7d8f,_0x22b5c4._0x46f6eb,_0x22b5c4._0x364d5d,_0x22b5c4._0x4f2863)&&_0x515e3e in _0xf9299c)_0xf9299c=_0xf9299c[_0x515e3e];else return'white';return typeof _0xf9299c==_0x212455(_0x22b5c4._0x219688,_0x22b5c4._0x294fa6,0x70f,_0x22b5c4._0x1409d2)?_0xf9299c:_0x212455(0x69b,_0x22b5c4._0x4d4b91,_0x22b5c4._0x5af93b,_0x22b5c4._0x1d8e5f);}};function _0x1d88cc(_0x4c632e,_0x31b23f,_0x4e84d8,_0x150e88){return _0x5318c5(_0x4c632e-_0x3026e3._0x3ef477,_0x4c632e,_0x4e84d8-0x1d9,_0x4e84d8-_0x3026e3._0x26b4f5);}return _0x1ac124(xs[_0x1d88cc(_0x351b42._0x4e0267,_0x351b42._0x2691ce,_0x351b42._0x67a8d1,0x73b)],{'value':_0x2b9085,'children':_0x4f64cd});}function F(){const _0x36ef81={_0x2d9f29:0x49d,_0x11f642:0x31d},_0x329610={_0x334c7b:0x1c,_0x4540c1:0x362};let _0x8a8a63=_0x580455(xs);if(!_0x8a8a63)throw new Error(_0xb3af17(0x2a6,0x49e,_0x36ef81._0x2d9f29,_0x36ef81._0x11f642));function _0xb3af17(_0x6b3b0a,_0x433a59,_0x178fba,_0x264a27){return _0x5318c5(_0x6b3b0a-0x9c,_0x433a59,_0x178fba-_0x329610._0x334c7b,_0x264a27-_0x329610._0x4540c1);}return _0x8a8a63;}import _0x56a058,{useMemo as _0x382f73,useRef as _0x360ab1}from'react';import{Box as _0x1463fc,Static as _0xf1fe43}from'ink';function ac(_0x3046a0){const _0x9291d6={_0x218959:0xe8,_0x32d510:0x44e,_0x3a2698:0x3b,_0x5c8288:0x1bc,_0x2c9f60:0x54,_0x562405:0x3,_0x4b83ba:0xe7,_0x1e8a4e:0x126},_0x1e2c03={_0x270688:0x177,_0x4a5e5e:0x249},_0x4b4c04={_0x42eae2:0xe0,_0x5f4e44:0xfb};if(_0x3046a0['type']!==_0x5a06ad(0xf2,-0x1d7,0xfd,-0x54))return!0x1;let _0x4b2216=_0x3046a0[_0x3bbdd6(_0x9291d6._0x218959,0x1aa,-0x7b,0x24a)]?.['toolCalls']||[],_0x3af61c=_0x3046a0[_0x5a06ad(0x4f1,_0x9291d6._0x32d510,0x3b5,0x2f8)]?.[_0x3bbdd6(0x71,-_0x9291d6._0x3a2698,-_0x9291d6._0x5c8288,-_0x9291d6._0x2c9f60)];function _0x5a06ad(_0x16be4f,_0x249895,_0x374758,_0x59ce2b){return _0x5318c5(_0x16be4f-_0x4b4c04._0x42eae2,_0x249895,_0x374758-0x11d,_0x59ce2b- -_0x4b4c04._0x5f4e44);}if(_0x4b2216[_0x3bbdd6(-_0x9291d6._0x562405,-_0x9291d6._0x4b83ba,-0x20,_0x9291d6._0x1e8a4e)]===0x0)return!0x1;for(let _0x434b26 of _0x4b2216)if(!_0x3af61c?.[_0x5a06ad(-0x178,0xc0,0xd8,-0x14)](_0x434b26['id']))return!0x0;function _0x3bbdd6(_0x20cb88,_0x4607f6,_0x4a0c4c,_0x368a7d){return _0x5318c5(_0x20cb88-0xf1,_0x4a0c4c,_0x4a0c4c-_0x1e2c03._0x270688,_0x4607f6- -_0x1e2c03._0x4a5e5e);}return!0x1;}function lc(_0x296125){const _0x5abb75={_0x3fb863:0x4dc,_0x54e123:0x30d,_0x2c69f3:0x40f,_0x1d9a55:0x37d,_0x5c24d0:0x25e,_0x2de86d:0x314,_0x4d307f:0x1a,_0x4ca2fb:0x25c,_0x1ab965:0x138},_0x1f9c88={_0x3f7936:0x13b},_0x227938={_0x4c1a39:0x10b,_0x4418fe:0x2a2};function _0x3ac322(_0x5e5fb8,_0x3e3af8,_0x55a4c1,_0x48d5b1){return _0x7f0a6b(_0x5e5fb8-_0x227938._0x4c1a39,_0x5e5fb8-_0x227938._0x4418fe,_0x48d5b1,_0x48d5b1-0x195);}for(let _0x4be4d7=_0x296125[_0x3ac322(_0x5abb75._0x3fb863,_0x5abb75._0x54e123,0x5ac,_0x5abb75._0x2c69f3)]-0x1;_0x4be4d7>=0x0;_0x4be4d7--)if(_0x296125[_0x4be4d7][_0x3f9c45(_0x5abb75._0x1d9a55,0x369,0x235,_0x5abb75._0x5c24d0)]?.[_0x3f9c45(_0x5abb75._0x2de86d,-_0x5abb75._0x4d307f,_0x5abb75._0x4ca2fb,_0x5abb75._0x1ab965)]!==!0x0)return _0x4be4d7;function _0x3f9c45(_0x26cb60,_0x38378e,_0x1f8cdc,_0x540d12){return _0x5318c5(_0x26cb60-_0x1f9c88._0x3f7936,_0x1f8cdc,_0x1f8cdc-0x129,_0x540d12- -0x195);}return-0x1;}function bs(_0x5bf990){const _0x382271={_0x1359e2:0x2e4,_0x10de48:0x568,_0x275ec5:0x76a,_0x4bf811:0x2ac,_0x457fa9:0x39f,_0x5770c1:0x105,_0x3811c5:0x26e,_0x4a1dcd:0x12a},_0x57f1d2={_0x15d6e7:0x168,_0x4f488d:0x5d};let _0x291af6=lc(_0x5bf990),_0x1d3de8=0x0;for(let _0x4d6680=_0x5bf990['length']-0x1;_0x4d6680>=0x0;_0x4d6680--){let _0x4566a8=_0x5bf990[_0x4d6680];if(_0x4566a8['metadata']?.[_0x47b034(0x45f,0x270,_0x382271._0x1359e2,0x25d)]===!0x0)continue;let _0x7be75a=_0x4d6680===_0x291af6;if(_0x4566a8[_0xfcba23(_0x382271._0x10de48,_0x382271._0x275ec5,_0x382271._0x10de48,0x668)]?.[_0xfcba23(_0x382271._0x4bf811,0x5bc,0x478,_0x382271._0x457fa9)]===!0x0&&_0x7be75a){_0x1d3de8=_0x5bf990[_0x47b034(-0x5b,_0x382271._0x5770c1,_0x382271._0x3811c5,0x19b)]-_0x4d6680;break;}if(ac(_0x4566a8)){_0x1d3de8=_0x5bf990['length']-_0x4d6680;break;}}function _0xfcba23(_0x1b0e9e,_0x3aa179,_0x3826ab,_0x50bfdd){return _0x7f0a6b(_0x1b0e9e-0x129,_0x3826ab-0x9d,_0x3aa179,_0x50bfdd-0x40);}function _0x47b034(_0x4fc13b,_0x5e9d1a,_0x3cea89,_0x574530){return _0x5318c5(_0x4fc13b-_0x57f1d2._0x15d6e7,_0x574530,_0x3cea89-0x166,_0x5e9d1a- -_0x57f1d2._0x4f488d);}return Math['max'](0x0,_0x5bf990[_0x47b034(0x48,0x105,0x3c,_0x382271._0x4a1dcd)]-_0x1d3de8);}import _0x3908bc from'react';import{Box as _0x489999,Text as _0x584c0b}from'ink';import{useMemo as _0x256b76,useCallback as _0x310009}from'react';import{Text as _0x1c78ad}from'ink';import{marked as _0x4ad403}from'marked';import _0x21e1bf from'chalk';import _0x1779d7 from'ansi-escapes';import{stdout as _0x28e26c}from'supports-hyperlinks';import _0x37df3e from'string-width';var uc='\x0d',dc=new RegExp(uc),mc=['\x09'];function wt(_0x1b145b){return _0x1b145b;}function To(..._0x4b630f){const _0x1e7dcc={_0x19ceca:0x3e1,_0x3cbb6d:0x250},_0x410ebd={_0x27904d:0xf5};return _0x5bc461=>{let _0x1fbbf1=_0x5bc461;for(let _0x357a1c=_0x4b630f[_0x39f400(_0x1e7dcc._0x19ceca,_0x1e7dcc._0x3cbb6d,0x3e3,0x5cc)];_0x357a1c-->0x0;)_0x1fbbf1=_0x4b630f[_0x357a1c](_0x1fbbf1);function _0x39f400(_0x344d9e,_0x222bd3,_0x524522,_0x24f9f3){return _0xa481(_0x524522-_0x410ebd._0x27904d,_0x24f9f3);}return _0x1fbbf1;};}function wo(_0x47632d){const _0x374fda={_0xd95d05:0x3c9,_0x1754af:0x534,_0x2a48e8:0x198},_0x2a0919={_0x2b49d7:0x1ae},_0x23d282={_0x847476:0x32};function _0x36d358(_0x18f1c7,_0x10eee9,_0x22b584,_0x45c974){return _0x7f0a6b(_0x18f1c7-0x34,_0x10eee9- -0x11f,_0x22b584,_0x45c974-_0x23d282._0x847476);}function _0xeeebcd(_0x24d9a4,_0x4f39ca,_0x55cbe3,_0x1786f8){return _0x5318c5(_0x24d9a4-0x3a,_0x55cbe3,_0x55cbe3-_0x2a0919._0x2b49d7,_0x24d9a4-0x3d3);}return _0x47632d[_0xeeebcd(0x621,0x48b,0x674,0x5c7)](/[-[\]/{}()*+?.\\^$|]/g,_0xeeebcd(_0x374fda._0xd95d05,0x262,_0x374fda._0x1754af,_0x374fda._0x2a48e8));}function Cs(_0x168155){const _0x30f426={_0x439d0a:0x142,_0x58db93:0x20e,_0x14d58a:0x14b,_0x213b4c:0x327,_0xb492d:0x20e,_0x2d3eb0:0xe1,_0x43ef00:0x70,_0x509abb:0x1ae},_0x2d44f2={_0x3dcb7b:0x180,_0x2be53:0x1a5},_0x36ca3a={_0x4bc8c4:0x40};function _0x5d25cb(_0x4356f3,_0x40cad2,_0x5c0856,_0x5c5481){return _0x5318c5(_0x4356f3-0x5e,_0x5c5481,_0x5c0856-0x188,_0x5c0856- -_0x36ca3a._0x4bc8c4);}function _0x1b3489(_0x1bf98d,_0x38fa37,_0x2dd6e2,_0x450798){return _0x5318c5(_0x1bf98d-_0x2d44f2._0x3dcb7b,_0x38fa37,_0x2dd6e2-_0x2d44f2._0x2be53,_0x1bf98d- -0x103);}return _0x168155[_0x5d25cb(0x3f4,0x305,0x20e,0xcb)](/&/g,'&')[_0x5d25cb(0x211,_0x30f426._0x439d0a,_0x30f426._0x58db93,0x3e6)](/</g,'<')[_0x1b3489(_0x30f426._0x14d58a,-0xb0,0x188,0x1e6)](/>/g,'>')[_0x5d25cb(0x2a4,_0x30f426._0x213b4c,_0x30f426._0xb492d,_0x30f426._0x2d3eb0)](/"/g,'\x22')[_0x5d25cb(0x3b3,_0x30f426._0x43ef00,_0x30f426._0x58db93,_0x30f426._0x509abb)](/'/g,'\x27');}function Ae(_0x322bd2){return _0x37df3e(_0x322bd2);}function Ut(_0x557ae0,_0x4dd2f1){return _0x4dd2f1?_0x557ae0['replace'](dc,'\x0a'):_0x557ae0;}function pc(_0x16de30){const _0x22b54e={_0x1f941f:0x30e,_0x169910:0x259,_0x168b94:0x4e3},_0x3a5d46={_0x1302c8:0x119},_0x4641ff={_0x2f2eb1:0x89,_0x3ed6d2:0x145,_0xa616fc:0x9a};function _0xbafcd0(_0x3d278b,_0xce0ccc,_0x46ccdf,_0x1e0c01){return _0x5318c5(_0x3d278b-_0x4641ff._0x2f2eb1,_0x1e0c01,_0x46ccdf-_0x4641ff._0x3ed6d2,_0x3d278b- -_0x4641ff._0xa616fc);}function _0x490fcd(_0x39c3f2,_0x102ac1,_0x3e7612,_0x5329cd){return _0x7f0a6b(_0x39c3f2-0x2b,_0x39c3f2-0x233,_0x3e7612,_0x5329cd-_0x3a5d46._0x1302c8);}return mc[_0x490fcd(_0x22b54e._0x1f941f,_0x22b54e._0x169910,0x147,_0x22b54e._0x168b94)](_0xe50c0e=>_0x16de30[_0x490fcd(0x4f2,0x3d3,0x4ea,0x398)]('^('+_0xe50c0e+_0xbafcd0(0x2a6,0x6f,0x138,0x1b7)));}function vs(_0x5440e6,_0x30a2cf){const _0x2b8e60={_0x342ed4:0x431,_0x17dc14:0x3ef,_0x491718:0x3a8,_0x16509e:0x43f,_0x266b8e:0x249,_0x456597:0x2e1,_0x133061:0x398},_0x2026e9={_0x240fc0:0x85},_0x209566={_0x13b731:0xac,_0x346102:0xcc};function _0x399cd8(_0x23592c,_0xec3701,_0x277aa9,_0x4c84e6){return _0x7f0a6b(_0x23592c-_0x209566._0x13b731,_0x4c84e6-0x1b6,_0x277aa9,_0x4c84e6-_0x209566._0x346102);}function _0x15c18b(_0x51b58d,_0x38b8b2,_0x5861e6,_0x3d34f6){return _0x7f0a6b(_0x51b58d-0x129,_0x51b58d- -_0x2026e9._0x240fc0,_0x5861e6,_0x3d34f6-0x74);}return typeof _0x5440e6==_0x399cd8(0x5f2,0x6a3,0x4f9,0x5bc)?new Array(_0x5440e6+0x1)[_0x399cd8(_0x2b8e60._0x342ed4,_0x2b8e60._0x17dc14,0x308,0x398)]('\x20'):typeof _0x5440e6==_0x15c18b(_0x2b8e60._0x491718,_0x2b8e60._0x16509e,0x19d,0x58d)&&pc(_0x5440e6)?_0x5440e6:new Array(_0x30a2cf+0x1)[_0x399cd8(_0x2b8e60._0x266b8e,0x5ac,_0x2b8e60._0x456597,_0x2b8e60._0x133061)]('\x20');}import*as _0x208bab from'node-emoji';var Dr='*#COLON|*',fc=new RegExp(wo(Dr),'g');function ws(_0x17fe3e){const _0x7a6788={_0x5292e7:0x667,_0x56d472:0x70f,_0x5c23fd:0x5ad,_0x4ef9b6:0x568},_0x176763={_0x1732ad:0x312};return _0x17fe3e['replace'](/:([A-Za-z0-9_\-+]+?):/g,_0x52a5d3=>{let _0x1ee41a=_0x208bab[_0x16e913(_0x7a6788._0x5292e7,_0x7a6788._0x56d472,_0x7a6788._0x5c23fd,_0x7a6788._0x4ef9b6)](_0x52a5d3);function _0x16e913(_0xcbe964,_0x22aa15,_0x4f1d14,_0x88271d){return _0xa481(_0xcbe964-_0x176763._0x1732ad,_0x88271d);}return _0x1ee41a?_0x1ee41a+'\x20':_0x52a5d3;});}function Ss(_0x10aace){return _0x10aace['replace'](fc,':');}import _0x3f5881 from'cli-table3';var Br=_0x5318c5(0x29f,0x296,0x213,0x1c4),So=_0x7f0a6b(0x235,0x2e7,0x37f,0x449),hc=new RegExp(wo(So),'g');function Ms(_0x463964,_0x4e2205){const _0x1cc156={_0x1bbfe7:0x8c7,_0x274fee:0x54c,_0x5432cd:0x6b1,_0x1babaa:0x567,_0x537de5:0x1d6,_0x1d958f:0x368,_0xfb2add:0x22b},_0x53522f={_0x548747:0x13a,_0x2cf1d8:0x48,_0x5378b4:0x264,_0x3e0463:0x137,_0x19da35:0x2da,_0x2a1394:0x29a},_0x21dda3={_0x3d75e9:0xc1,_0x1e60bc:0xb2},_0xb0129c={_0x226721:0x1e0,_0x2cf430:0xee};if(!_0x463964)return[];function _0xd8218a(_0x3191b9,_0x20954b,_0x250e74,_0x4aae53){return _0x7f0a6b(_0x3191b9-0x4,_0x250e74-_0xb0129c._0x226721,_0x20954b,_0x4aae53-_0xb0129c._0x2cf430);}function _0x18f3c5(_0xef36c9,_0x385a92,_0x310f33,_0x4a9c5e){return _0x5318c5(_0xef36c9-_0x21dda3._0x3d75e9,_0xef36c9,_0x310f33-_0x21dda3._0x1e60bc,_0x310f33-0x3c3);}let _0x49471d=(_0x4e2205||wt)(_0x463964)[_0x18f3c5(_0x1cc156._0x1bbfe7,_0x1cc156._0x274fee,_0x1cc156._0x5432cd,_0x1cc156._0x1babaa)]('\x0a'),_0x4b0e89=[];return _0x49471d[_0xd8218a(0x156,_0x1cc156._0x537de5,_0x1cc156._0x1d958f,_0x1cc156._0xfb2add)](_0x42a287=>{const _0x4a70fb={_0x495db5:0x3e5};if(!_0x42a287)return;let _0x1d6362=_0x42a287[_0x1cfe6e(0xdd,_0x53522f._0x548747,0x13d,0xe0)](hc,'')[_0x1cfe6e(-_0x53522f._0x2cf1d8,0x27d,0x1dd,0x206)](Br);function _0x572f5e(_0x5e7e2e,_0x269c4d,_0x4a5c2a,_0x5312f5){return _0xd8218a(_0x5e7e2e-0xfa,_0x5e7e2e,_0x5312f5- -_0x4a70fb._0x495db5,_0x5312f5-0x20);}function _0x1cfe6e(_0x225d7e,_0x23e829,_0x1eb738,_0x5f4d7e){return _0xd8218a(_0x225d7e-0x1b7,_0x5f4d7e,_0x1eb738- -0x3c9,_0x5f4d7e-0xfe);}_0x4b0e89[_0x572f5e(_0x53522f._0x5378b4,0x39,0x216,_0x53522f._0x3e0463)](_0x1d6362[_0x1cfe6e(_0x53522f._0x19da35,0x167,_0x53522f._0x2a1394,0xbd)](0x0,_0x1d6362[_0x572f5e(0x21e,0xb7,-0x8a,0x35)]-0x1));}),_0x4b0e89;}function Is(_0x340aaa,_0x47df64,_0x29ed4f,_0x1bb8ff,_0x835631){const _0x28ae1d={_0x144d1a:0x1ef},_0x10eaa3={_0xe68f2:0x7a5,_0x8649f9:0x86b,_0x2ce5c4:0x8eb};function _0x242ac5(_0x40b147,_0xa6dc2b,_0xed935c,_0x3f0259){return _0x5318c5(_0x40b147-0x6a,_0x40b147,_0xed935c-0x1a2,_0x3f0259-0x91);}let _0x131ac0=new _0x3f5881(Object['assign']({},{'head':Ms(_0x340aaa)[0x0]},_0x29ed4f));return Ms(_0x47df64||'',_0x1bb8ff)[_0x242ac5(0x28c,-0x6b,_0x28ae1d._0x144d1a,0x141)](_0x30f768=>{const _0xae0f3={_0x319b38:0xf,_0x357d64:0x4b0};function _0x3ce307(_0x10d5ce,_0x5bef0d,_0x1855fd,_0x513d8a){return _0x242ac5(_0x1855fd,_0x5bef0d-_0xae0f3._0x319b38,_0x1855fd-0x1b6,_0x10d5ce-_0xae0f3._0x357d64);}_0x131ac0[_0x3ce307(_0x10eaa3._0xe68f2,_0x10eaa3._0x8649f9,_0x10eaa3._0x2ce5c4,0x9b3)](_0x30f768);}),_0x835631(_0x131ac0['toString']());}var yc=_0x5318c5(0x27e,-0xa2,0xdf,0x127),Rs=_0x7f0a6b(0x79,0x9f,-0x1a,-0xc6)+['\x5c*',yc][_0x7f0a6b(0xfb,0x1e2,-0x2c,0x20e)]('|')+')',Mo='*\x20';function As(_0x564d8e,_0x2b461a){const _0x45e99f={_0x34a95b:0x8cd},_0x4a742d={_0x411b2a:0x3e8,_0x13ee9c:0x7e};function _0x5a8f00(_0x593244,_0x238fb6,_0x1da6d2,_0x15d6b9){return _0x7f0a6b(_0x593244-0x14b,_0x1da6d2-_0x4a742d._0x411b2a,_0x238fb6,_0x15d6b9-_0x4a742d._0x13ee9c);}return!!_0x564d8e['match'](_0x5a8f00(_0x45e99f._0x34a95b,0x75f,0x6b1,0x8ab)+_0x2b461a+')*'+Rs);}function Es(_0x3f7af7){return'\x20'['repeat'](_0x3f7af7['length']);}function xc(_0x13cdf4,_0x1b45e0){return As(_0x1b45e0,_0x13cdf4)?_0x1b45e0:Es(Mo)+_0x1b45e0;}function bc(_0x1c4fc6,_0x1dd7ca){const _0x418cdf={_0x249533:0x666,_0x5451aa:0x517,_0x4f1bb7:0x44d,_0x2f7ede:0x14d,_0x5e7c40:0x348,_0x161c1d:0x2c6,_0x488850:0x3a8,_0x1010a7:0x485,_0x32ef08:0x6d7,_0x528487:0x4b0},_0x27ff54={_0x50a230:0x2ce,_0x20c486:0x146},_0x398310={_0x5830a9:0x6f,_0x5b5b2c:0x229};let _0x450743=_0x1ef818=>xc(_0x1dd7ca,_0x1ef818);function _0x1eac2d(_0x3f7a45,_0x5dafb9,_0x337712,_0x22fd7c){return _0x5318c5(_0x3f7a45-_0x398310._0x5830a9,_0x3f7a45,_0x337712-0x110,_0x5dafb9-_0x398310._0x5b5b2c);}function _0x374648(_0x5d9252,_0x5996d7,_0x40f134,_0x432ac7){return _0x7f0a6b(_0x5d9252-0x141,_0x432ac7-_0x27ff54._0x50a230,_0x5d9252,_0x432ac7-_0x27ff54._0x20c486);}return _0x1c4fc6[_0x1eac2d(_0x418cdf._0x249533,_0x418cdf._0x5451aa,0x709,_0x418cdf._0x4f1bb7)]('\x0a')[_0x1eac2d(_0x418cdf._0x2f7ede,_0x418cdf._0x5e7c40,_0x418cdf._0x161c1d,0x317)](_0x2b7b95=>_0x2b7b95[_0x1eac2d(0x4c1,0x430,0x5a1,0x3a4)]()[_0x1eac2d(0x3d1,0x38b,0x588,0x3aa)]>0x0)[_0x374648(_0x418cdf._0x488850,_0x418cdf._0x1010a7,_0x418cdf._0x32ef08,0x5dc)](_0x450743)[_0x374648(0x3c8,0x69d,0x4bd,_0x418cdf._0x528487)]('\x0a');}function Ps(_0x52b54a){return _0x52b54a+'.\x20';}function Cc(_0x3a226f,_0x208796,_0x53c6d7){const _0x1d86e0={_0x12177a:0x218,_0xd1cca6:0x1a6},_0x18aae8={_0x5b694f:0x74,_0x12f74f:0x180};function _0x18b6a9(_0x50e82b,_0x49d06f,_0x122537,_0x40339c){return _0x7f0a6b(_0x50e82b-_0x18aae8._0x5b694f,_0x40339c- -_0x18aae8._0x12f74f,_0x49d06f,_0x40339c-0x1e6);}return As(_0x208796,_0x3a226f)?{'num':_0x53c6d7+0x1,'line':_0x208796[_0x18b6a9(0xc6,_0x1d86e0._0x12177a,0x2ea,_0x1d86e0._0xd1cca6)](Mo,Ps(_0x53c6d7+0x1))}:{'num':_0x53c6d7,'line':Es(Ps(_0x53c6d7))+_0x208796};}function vc(_0x4423dc,_0x18d9bc){const _0x38bbf8={_0x28a142:0x8f8,_0x12dce4:0x5e4,_0x24c9af:0x756,_0x4349b1:0x682,_0x1e0b52:0x632,_0x283a55:0x8b7},_0x31be95={_0x4ffc23:0x17c,_0x2b367d:0x12c},_0x148d06={_0x1b9bf6:0x180,_0x40016d:0xb2},_0x3eceba={_0x3d6ad9:0x100};function _0x2686cc(_0x509242,_0x398f9a,_0x96a9a7,_0x2a3d5c){return _0x5318c5(_0x509242-0x178,_0x2a3d5c,_0x96a9a7-_0x3eceba._0x3d6ad9,_0x398f9a-0x4c5);}function _0x376919(_0x4e69a0,_0x5443fd,_0x156cc7,_0x24e031){return _0x7f0a6b(_0x4e69a0-0xce,_0x4e69a0- -0x9f,_0x156cc7,_0x24e031-0x82);}let _0x1dd78c=0x0;return _0x4423dc[_0x2686cc(0x7e9,0x7b3,0x5ff,_0x38bbf8._0x28a142)]('\x0a')[_0x2686cc(0x47e,_0x38bbf8._0x12dce4,_0x38bbf8._0x24c9af,0x404)](_0x475dac=>_0x475dac[_0x2686cc(0x78f,0x6cc,0x7f6,0x4a2)]()[_0x376919(0x19b,0x262,0x14,0x328)]>0x0)[_0x2686cc(_0x38bbf8._0x4349b1,0x6fb,_0x38bbf8._0x1e0b52,_0x38bbf8._0x283a55)](_0x1b091a=>{function _0x476ff7(_0x17c714,_0x1fec70,_0x238818,_0x4cac5c){return _0x376919(_0x4cac5c- -_0x148d06._0x1b9bf6,_0x1fec70-0x169,_0x1fec70,_0x4cac5c-_0x148d06._0x40016d);}let _0x5a48a2=Cc(_0x18d9bc,_0x1b091a,_0x1dd78c);return _0x1dd78c=_0x5a48a2[_0x476ff7(-_0x31be95._0x4ffc23,-_0x31be95._0x2b367d,0x25b,0x26)],_0x5a48a2['line'];})['join']('\x0a');}function ks(_0x23de7f,_0x48502b,_0x5e28e3){const _0x45025d={_0x518b9a:0x515,_0x35fb1d:0x358},_0x506b50={_0x1c6687:0x5f,_0x524d77:0x30e};function _0x3ae7fe(_0x9ea910,_0x2d4e41,_0x30643e,_0x1796c8){return _0x5318c5(_0x9ea910-_0x506b50._0x1c6687,_0x30643e,_0x30643e-0x66,_0x2d4e41-_0x506b50._0x524d77);}return _0x23de7f=_0x23de7f[_0x3ae7fe(0x33e,_0x45025d._0x518b9a,0x559,_0x45025d._0x35fb1d)](),_0x23de7f=_0x48502b?vc(_0x23de7f,_0x5e28e3):bc(_0x23de7f,_0x5e28e3),_0x23de7f;}function Ls(_0xadcc72,_0x35085d){const _0x22067c={_0x49933f:0x55b,_0x29732a:0x5a0,_0x470e0d:0x323,_0x17e56e:0x393,_0x350bbb:0x685,_0xafb90b:0x499,_0x55f1a1:0x59e,_0x1a28c9:0x50c,_0x42501f:0x7a3,_0x4498bf:0x726,_0x35abed:0x844,_0x45e464:0x557,_0x173421:0x4d7,_0x41f329:0x1be},_0x30c30a={_0x49e054:0x8a},_0x4f7885={_0x2da38d:0x161,_0x10cf08:0x188};let _0x358dd3=new RegExp(_0x36bff2(0x514,0x459,0x5d6,_0x22067c._0x49933f)+_0x35085d+_0x36bff2(_0x22067c._0x29732a,_0x22067c._0x470e0d,0x53e,_0x22067c._0x17e56e)+Rs+_0x362553(_0x22067c._0x350bbb,0x7d2,0x835,_0x22067c._0xafb90b),'gm');function _0x36bff2(_0x19d75d,_0x41afec,_0x5c8f06,_0x49e365){return _0x5318c5(_0x19d75d-0x104,_0x41afec,_0x5c8f06-_0x4f7885._0x2da38d,_0x49e365-_0x4f7885._0x10cf08);}function _0x362553(_0x3238b2,_0x37fa45,_0x55a657,_0x141397){return _0x7f0a6b(_0x3238b2-0xbb,_0x3238b2-0x278,_0x55a657,_0x141397-_0x30c30a._0x49e054);}return _0xadcc72[_0x362553(_0x22067c._0x55f1a1,0x785,_0x22067c._0x1a28c9,_0x22067c._0x42501f)](_0x358dd3,_0x362553(_0x22067c._0x4498bf,0x62e,_0x22067c._0x35abed,_0x22067c._0x45e464)+_0x35085d+_0x362553(0x3cf,_0x22067c._0x173421,0x235,_0x22067c._0x41f329));}function Ds(_0x3ef725,_0x36a021){return _0x36a021['replace'](/(^|\n)(.+)/g,'$1'+_0x3ef725+'$2');}var Bs='\x0d',Tc=new RegExp(Bs),wc=new RegExp(Bs+_0x5318c5(-0x12,-0x7a,0x2fd,0xf2));function Sc(_0x541f57,_0xad5aab){const _0x24567d={_0x1ec179:0x72a,_0x294180:0x32c,_0x14ca10:0x551,_0x196196:0x49c,_0x544875:0x661,_0x201d2c:0x5b8,_0x104fe8:0x30f,_0x44a7e6:0x214,_0x24d63d:0x10a,_0x46a482:0x2d5,_0x25cbf5:0x69d,_0x425cbe:0x4cc,_0x248a92:0x1b0,_0x2e9d8d:0x184,_0x1a872e:0x69,_0x598ee2:0x129,_0x18ddf1:0x24b,_0x127b58:0x2ea,_0x4b1c22:0x442,_0xafa7d0:0x691,_0x382e12:0x50f,_0x29e57c:0x46b,_0x2aae6b:0x53b,_0x25829f:0x92e,_0x211474:0x59d,_0x5ab37d:0x6f7,_0x2893b4:0x125,_0x8b4610:0x8c1,_0x4f9b77:0x8e3,_0x436e2d:0x6f7,_0x5a0e2d:0x602,_0x2ae0b4:0x88},_0xcd9563={_0x4a5ee8:0x9e,_0xb435f0:0xc7},_0x5df723={_0x1c0522:0xe1,_0x4b41b8:0x292};function _0x17e27f(_0x488fda,_0x2d8035,_0xf06fb3,_0x54a231){return _0x7f0a6b(_0x488fda-_0x5df723._0x1c0522,_0x54a231-_0x5df723._0x4b41b8,_0xf06fb3,_0x54a231-0x194);}let _0x314237=_0x541f57[_0x17e27f(0x746,_0x24567d._0x1ec179,_0x24567d._0x294180,_0x24567d._0x14ca10)](/^([ \t]*)/),_0x2e289a=_0x314237?_0x314237[0x1]:'',_0x527b31=_0x2e289a[_0x17e27f(_0x24567d._0x196196,0x7ed,_0x24567d._0x544875,_0x24567d._0x201d2c)](/\t/g,_0x26de82(-_0x24567d._0x104fe8,-0x1f3,-_0x24567d._0x44a7e6,-_0x24567d._0x24d63d))['length'],_0x1e20c1=_0x541f57[_0x17e27f(0x2a1,0x36b,_0x24567d._0x46a482,0x4d6)](_0x2e289a['length']);if(!_0x1e20c1)return[_0x2e289a];function _0x26de82(_0x1d1e9a,_0xdc061c,_0x309354,_0x1d98cc){return _0x5318c5(_0x1d1e9a-_0xcd9563._0x4a5ee8,_0x1d98cc,_0x309354-_0xcd9563._0xb435f0,_0xdc061c- -0x227);}let _0x1809f6=_0xad5aab-_0x527b31;if(_0x1809f6<=0x0)return[_0x541f57];let _0xb2b938=_0x1e20c1['split'](/(\u001b\[(?:\d{1,3})(?:;\d{1,3})*m)/g),_0xbfd963=[],_0x5f5068=0x0,_0x480e21=_0x2e289a,_0x566dc2=!0x1;for(;_0xb2b938[_0x17e27f(0x65e,0x53a,_0x24567d._0x25cbf5,_0x24567d._0x425cbe)];){let _0x432f64=_0xb2b938[0x0];if(_0x432f64===''){_0xb2b938[_0x26de82(_0x24567d._0x248a92,_0x24567d._0x2e9d8d,-_0x24567d._0x1a872e,_0x24567d._0x598ee2)](0x0,0x1),_0x566dc2=!0x1;continue;}if(!Ae(_0x432f64)){_0x480e21+=_0x432f64,_0xb2b938[_0x26de82(_0x24567d._0x18ddf1,_0x24567d._0x2e9d8d,0x216,_0x24567d._0x127b58)](0x0,0x1),_0x566dc2=!0x0;continue;}let _0x3414f8=_0x432f64['split'](/ +/);for(let _0xeafbfc=0x0;_0xeafbfc<_0x3414f8[_0x17e27f(0x2f2,_0x24567d._0x4b1c22,_0x24567d._0xafa7d0,0x4cc)];_0xeafbfc++){let _0x1b7d67=_0x3414f8[_0xeafbfc],_0x404900=Ae(_0x1b7d67),_0x5967a1=_0x5f5068!==0x0;if(_0x566dc2&&(_0x5967a1=!0x1),_0x5f5068+_0x404900+(_0x5967a1?0x1:0x0)>_0x1809f6){if(_0x404900<=_0x1809f6)_0xbfd963['push'](_0x480e21),_0x480e21=_0x2e289a+_0x1b7d67,_0x5f5068=_0x404900;else{let _0x1e65aa=_0x1b7d67[_0x26de82(0x329,0x166,0x1a1,0x111)](0x0,_0x1809f6-_0x5f5068-(_0x5967a1?0x1:0x0)),_0x38c234=Ae(_0x1e65aa);for(_0x5967a1&&(_0x480e21+='\x20'),_0x480e21+=_0x1e65aa,_0xbfd963[_0x17e27f(_0x24567d._0x382e12,0x635,_0x24567d._0x29e57c,0x5ce)](_0x480e21),_0x480e21=_0x2e289a,_0x5f5068=0x0,_0x1b7d67=_0x1b7d67[_0x17e27f(_0x24567d._0x2aae6b,_0x24567d._0x25829f,_0x24567d._0x211474,_0x24567d._0x5ab37d)](_0x1e65aa[_0x26de82(-0x7a,-0xc5,_0x24567d._0x2893b4,0x85)]),_0x404900=Ae(_0x1b7d67);_0x404900&&(_0x1e65aa=_0x1b7d67[_0x17e27f(_0x24567d._0x8b4610,_0x24567d._0x4f9b77,0x8b7,_0x24567d._0x436e2d)](0x0,_0x1809f6),_0x38c234=Ae(_0x1e65aa),!!_0x38c234);)if(_0x38c234<_0x1809f6){_0x480e21=_0x2e289a+_0x1e65aa,_0x5f5068=_0x38c234;break;}else _0xbfd963['push'](_0x2e289a+_0x1e65aa),_0x1b7d67=_0x1b7d67[_0x17e27f(0x819,_0x24567d._0x5a0e2d,0x8c4,0x6f7)](_0x1809f6),_0x404900=Ae(_0x1b7d67);}}else _0x5967a1&&(_0x480e21+='\x20',_0x5f5068++),_0x480e21+=_0x1b7d67,_0x5f5068+=_0x404900;_0x566dc2=!0x1;}_0xb2b938['splice'](0x0,0x1);}return Ae(_0x480e21)&&_0xbfd963[_0x26de82(_0x24567d._0x2ae0b4,0x3d,-0x1fc,0x155)](_0x480e21),_0xbfd963;}function _r(_0x3bd9da,_0x32d203,_0x8033e4){const _0xa6d964={_0x5c7058:0x240,_0x43ad59:0x45a,_0xe88ec3:0x2,_0x3ce6c0:0x8c,_0x564ff9:0x5c,_0xc44404:0x1bc,_0x1fe80a:0x72,_0x1c9c74:0xc4},_0x2d5bc1={_0x56704b:0x91a,_0x4ad2bd:0x816},_0x517097={_0x4a61d5:0x5d6,_0x3318ee:0x9a,_0x26cefb:0xc3},_0x2f59aa={_0x5ad513:0x1d8},_0x4f4913={_0x343b01:0x18c,_0x2bafc1:0xae};function _0x2c09e6(_0x474ed7,_0x48a9e7,_0x148387,_0x5d11a9){return _0x5318c5(_0x474ed7-0xec,_0x148387,_0x148387-_0x4f4913._0x343b01,_0x474ed7- -_0x4f4913._0x2bafc1);}function _0x28a679(_0x254ff2,_0x2bd941,_0x46578d,_0x56ce69){return _0x7f0a6b(_0x254ff2-0xd7,_0x2bd941- -0x178,_0x56ce69,_0x56ce69-_0x2f59aa._0x5ad513);}let _0x3f1b0e=_0x8033e4?wc:Tc,_0x3c4c22=_0x3bd9da[_0x2c09e6(_0xa6d964._0x5c7058,0x440,0x243,_0xa6d964._0x43ad59)](_0x3f1b0e),_0x4f9b95=[];return _0x3c4c22[_0x2c09e6(_0xa6d964._0xe88ec3,-0xa5,0xa1,-_0xa6d964._0x3ce6c0)](_0x22a591=>{function _0x2b9403(_0x289768,_0x5a1491,_0x552f4e,_0xf1192c){return _0x2c09e6(_0x552f4e-_0x517097._0x4a61d5,_0x5a1491-_0x517097._0x3318ee,_0x289768,_0xf1192c-_0x517097._0x26cefb);}let _0x2ed14d=_0x22a591[_0x2b9403(0x76d,_0x2d5bc1._0x56704b,_0x2d5bc1._0x4ad2bd,0x703)]('\x0a');for(let _0x17c98e of _0x2ed14d)_0x4f9b95['push'](...Sc(_0x17c98e,_0x32d203));}),_0x4f9b95[_0x2c09e6(_0xa6d964._0x564ff9,_0xa6d964._0xc44404,_0xa6d964._0x1fe80a,_0xa6d964._0x1c9c74)]('\x0a');}function Fr(_0x213764,_0xd4711c){const _0x166463={_0x135995:0x686,_0x3ff152:0x5f8,_0x359084:0x209,_0xb829a5:0x1fe,_0x4b6b67:0x27e,_0x4ce4d6:0xb3},_0x16d9db={_0x55169e:0xa0};function _0x2bf98e(_0x34ff7e,_0x413b52,_0x1e5954,_0x2aa1b6){return _0x7f0a6b(_0x34ff7e-0x1d,_0x2aa1b6- -0x295,_0x34ff7e,_0x2aa1b6-0x1a7);}function _0x575100(_0x1a19aa,_0x14b4d7,_0x218c38,_0x1c40c2){return _0x7f0a6b(_0x1a19aa-0x1e4,_0x1c40c2-0x232,_0x218c38,_0x1c40c2-_0x16d9db._0x55169e);}return _0xd4711c&&_0x213764+_0xd4711c[_0x575100(0x546,_0x166463._0x135995,0x428,_0x166463._0x3ff152)]('\x0a')[_0x2bf98e(-_0x166463._0x359084,-_0x166463._0xb829a5,-_0x166463._0x4b6b67,-_0x166463._0x4ce4d6)]('\x0a'+_0x213764);}function _s(_0x190e21,_0x867adc){const _0x522358={_0x4ada46:0x823,_0x3ad162:0x622,_0x1dc61b:0x48e,_0x49d73c:0x5f7},_0x26cb72={_0x3104c7:0xa4,_0x5e2e02:0x177};function _0x409fb9(_0x24c2db,_0x3995eb,_0x554952,_0x2c652e){return _0x7f0a6b(_0x24c2db-0x7b,_0x3995eb-_0x26cb72._0x3104c7,_0x24c2db,_0x2c652e-_0x26cb72._0x5e2e02);}let _0x5d4a30=typeof _0x867adc=='number'?_0x867adc:process['stdout'][_0x50cbe3(_0x522358._0x4ada46,0x651,0x8ec,0x6e9)]||0x50;function _0x50cbe3(_0x28b24c,_0x2dc84c,_0x18c9f6,_0x5422ec){return _0x5318c5(_0x28b24c-0x12f,_0x2dc84c,_0x18c9f6-0x145,_0x5422ec-0x4ed);}return new Array(_0x5d4a30)[_0x50cbe3(_0x522358._0x3ad162,0x471,_0x522358._0x1dc61b,_0x522358._0x49d73c)](_0x190e21);}function at(_0x16e4b7){return _0x16e4b7+'\x0a\x0a';}import _0x461bbe from'chalk';import{highlight as _0x410ecd}from'cli-highlight';function Fs(_0x59aadd,_0x1b571c,_0x12e60a,_0x10e01e,_0x5b99da){const _0x16ccc1={_0x16ff23:0x26a,_0x2e883c:0x388},_0x1b48f6={_0xdfe092:0x12b,_0x707058:0x1b};if(_0x461bbe['level']===0x0)return _0x59aadd;function _0x2d58f9(_0x173ff0,_0x57a5c3,_0x4bd313,_0x1fb054){return _0x5318c5(_0x173ff0-_0x1b48f6._0xdfe092,_0x57a5c3,_0x4bd313-_0x1b48f6._0x707058,_0x4bd313-0x144);}_0x59aadd=Ut(_0x59aadd,_0x10e01e);try{return _0x410ecd(_0x59aadd,Object[_0x2d58f9(0x191,_0x16ccc1._0x16ff23,_0x16ccc1._0x2e883c,0x184)]({},{'language':_0x1b571c},_0x5b99da));}catch{return _0x12e60a(_0x59aadd);}}var Ac={'code':_0x21e1bf[_0x5318c5(0x327,0x2f4,-0x118,0xff)],'blockquote':_0x21e1bf[_0x7f0a6b(0x5cc,0x49e,0x2ee,0x50c)][_0x5318c5(0x1ec,-0x4f,0x312,0x18f)],'html':_0x21e1bf['gray'],'heading':_0x21e1bf[_0x7f0a6b(0x328,0x20f,0x368,0xea)][_0x5318c5(0x242,0x388,0x5d3,0x3c7)],'firstHeading':_0x21e1bf['magenta']['underline'][_0x5318c5(0x456,0x5a5,0x584,0x3c7)],'hr':_0x21e1bf['reset'],'listitem':_0x21e1bf['reset'],'list':ks,'table':_0x21e1bf[_0x7f0a6b(0x6eb,0x4f6,0x2d8,0x71b)],'paragraph':_0x21e1bf[_0x7f0a6b(0x6fb,0x4f6,0x6db,0x507)],'strong':_0x21e1bf['bold'],'em':_0x21e1bf[_0x5318c5(0xc9,0x2f2,0x48,0x18f)],'codespan':_0x21e1bf[_0x7f0a6b(0x355,0x1d7,0xe3,0x20e)],'del':_0x21e1bf['dim'][_0x7f0a6b(0x461,0x49e,0x31a,0x32a)][_0x7f0a6b(0x245,0x478,0x5c0,0x605)],'link':_0x21e1bf['blue'],'href':_0x21e1bf['blue']['underline'],'text':wt,'image':void 0x0,'unescape':!0x0,'emoji':!0x0,'width':0x50,'showSectionPrefix':!0x0,'reflowText':!0x1,'tab':0x2,'tableOptions':{}},Nr=class{constructor(_0x184192,_0x166b59){const _0x77cbcc={_0x254c5d:0x419,_0x5d99c2:0x58c,_0x5348eb:0x6b2,_0x311db1:0x54d,_0x1a691f:0x50a,_0x418d7c:0x435,_0x2ed4f4:0x558,_0x22c667:0x5f9,_0x21724c:0x60,_0x193ee2:0x128,_0x8bd795:0x25d,_0x1526df:0x16f,_0x4dbbf3:0x19f},_0x450455={_0x2b9c42:0x192},_0x2ee32a={_0x1cf7e3:0x2f};function _0x27817c(_0xdf5390,_0x3bfbe2,_0x33d5c3,_0x4285df){return _0x5318c5(_0xdf5390-_0x2ee32a._0x1cf7e3,_0x3bfbe2,_0x33d5c3-0x36,_0x33d5c3-0x1ca);}function _0x32f640(_0x3753a7,_0x257a70,_0x30f821,_0x2bbbef){return _0x7f0a6b(_0x3753a7-_0x450455._0x2b9c42,_0x2bbbef- -0x82,_0x30f821,_0x2bbbef-0x6e);}let _0x375864={...Ac,..._0x184192};this[_0x27817c(_0x77cbcc._0x254c5d,0x3fb,_0x77cbcc._0x5d99c2,0x610)]=vs(_0x375864[_0x27817c(_0x77cbcc._0x5348eb,0x4d2,_0x77cbcc._0x5d99c2,0x652)],0x4),this['o']=_0x375864,this['tableSettings']=this['o'][_0x27817c(_0x77cbcc._0x311db1,_0x77cbcc._0x1a691f,_0x77cbcc._0x418d7c,_0x77cbcc._0x2ed4f4)],this['emojiTransform']=this['o'][_0x32f640(0x51e,0x5ae,_0x77cbcc._0x22c667,0x3d8)]?ws:wt,this['unescapeTransform']=this['o']['unescape']?Cs:wt,this[_0x32f640(_0x77cbcc._0x21724c,_0x77cbcc._0x193ee2,0x130,0x259)]=_0x166b59||{},this['transform']=To(Ss,this[_0x32f640(_0x77cbcc._0x8bd795,_0x77cbcc._0x1526df,_0x77cbcc._0x4dbbf3,0x1e4)],this['emojiTransform']);}['textLength'](_0x3a5b0b){return Ae(_0x3a5b0b);}[_0x7f0a6b(0x5a9,0x46d,0x648,0x3c9)](){return'';}['text'](_0x18a5c8){const _0x529742={_0x1adab4:0x1c6,_0x31b069:0x29f,_0x25dfe5:0x11f,_0x2faaf0:0x1ef,_0x3ec453:0x1e1,_0x4e4876:0x1b,_0x1fe84f:0x18a,_0x3f95ea:0xe6,_0x5b3940:0x204,_0x4d3e27:0x6,_0x15ade2:0x14c,_0x53ae84:0x171,_0x1a49a1:0x272,_0x15ad85:0x7d,_0x4eaabb:0x1fe,_0xc48d7a:0x38},_0x3cc6a3={_0x349cbf:0x2f};function _0x1707e0(_0xa7555b,_0x1e0e11,_0x31da38,_0x12f8a9){return _0x5318c5(_0xa7555b-_0x3cc6a3._0x349cbf,_0xa7555b,_0x31da38-0x11b,_0x12f8a9-0xe1);}function _0x6e7658(_0x10aceb,_0x183299,_0x299714,_0x31657a){return _0x5318c5(_0x10aceb-0x118,_0x299714,_0x299714-0x88,_0x10aceb- -0x1c0);}if(typeof _0x18a5c8==_0x6e7658(0x68,0x81,-_0x529742._0x1adab4,-0xbf)){if(_0x18a5c8[_0x6e7658(-0x1bb,-0x284,-0xe0,-_0x529742._0x31b069)]&&Array[_0x6e7658(_0x529742._0x25dfe5,_0x529742._0x2faaf0,-0xa8,_0x529742._0x3ec453)](_0x18a5c8[_0x1707e0(-_0x529742._0x4e4876,-0x50,_0x529742._0x1fe84f,_0x529742._0x3f95ea)])&&_0x18a5c8[_0x1707e0(_0x529742._0x5b3940,-_0x529742._0x4d3e27,-0x136,_0x529742._0x3f95ea)][_0x6e7658(-0x5e,_0x529742._0x15ade2,-0x265,-0x27a)]>0x0&&this[_0x6e7658(0x34,0x19,-0x19c,_0x529742._0x53ae84)]?.['parseInline'])return this[_0x1707e0(0xce,0x194,0x383,0x2d5)][_0x1707e0(0x1be,_0x529742._0x1a49a1,_0x529742._0x15ad85,0x13a)](_0x18a5c8[_0x1707e0(0x135,-0xdb,_0x529742._0x4eaabb,0xe6)]);_0x18a5c8=_0x18a5c8[_0x6e7658(0x123,-_0x529742._0xc48d7a,0x2d0,0x19d)];}return this['o']['text'](_0x18a5c8);}['code'](_0xdbf98b,_0x177651,_0x5ba09a){const _0x1d669f={_0x38aae6:0x593,_0x131bc3:0x51,_0x5f0a4d:0x3b8,_0x86d43b:0x1ad,_0x378db1:0x98,_0x6ffd05:0x209,_0x303b4e:0x88,_0x26e432:0x5c9},_0x562eaf={_0x3e8e17:0x15b,_0xa0f7a2:0x6b,_0x30cbb6:0x44d},_0x482722={_0x175062:0x1bc,_0x4c8864:0x2c,_0x2602d6:0x136};function _0x366fa9(_0x45907c,_0x172076,_0x8bb493,_0x460602){return _0x5318c5(_0x45907c-_0x482722._0x175062,_0x8bb493,_0x8bb493-_0x482722._0x4c8864,_0x460602- -_0x482722._0x2602d6);}function _0x4eab30(_0x5889e3,_0x4b4d20,_0x563bc8,_0xc81bb4){return _0x5318c5(_0x5889e3-_0x562eaf._0x3e8e17,_0x4b4d20,_0x563bc8-_0x562eaf._0xa0f7a2,_0x5889e3-_0x562eaf._0x30cbb6);}return typeof _0xdbf98b==_0x4eab30(0x675,_0x1d669f._0x38aae6,0x578,0x820)&&(_0x177651=_0xdbf98b['lang'],_0xdbf98b=_0xdbf98b[_0x366fa9(0x224,_0x1d669f._0x131bc3,_0x1d669f._0x5f0a4d,_0x1d669f._0x86d43b)]),at(Fr(this['tab'],Fs(_0xdbf98b,_0x177651,this['o'][_0x366fa9(-_0x1d669f._0x378db1,_0x1d669f._0x6ffd05,0x130,_0x1d669f._0x303b4e)],this['o'][_0x4eab30(0x610,0x71a,0x3ed,_0x1d669f._0x26e432)],this['highlightOptions'])));}[_0x5318c5(0x438,0x49a,0x40e,0x390)](_0x153eba){const _0x42fe7a={_0x1c55e2:0x4c4,_0x551d24:0x47f,_0x512a27:0x31a,_0x3ffb4d:0x44b,_0x32d34a:0x1f8,_0x24b55f:0x400},_0x15d556={_0x352bb4:0xfd},_0x42ca8f={_0x52bd62:0x26};function _0x5ee736(_0x2da71c,_0xe5076c,_0xa0ad3f,_0x3184fc){return _0x7f0a6b(_0x2da71c-_0x42ca8f._0x52bd62,_0x2da71c-0x350,_0xa0ad3f,_0x3184fc-0x2d);}function _0x26931d(_0x237e01,_0x2302db,_0x1e60d1,_0x11697c){return _0x5318c5(_0x237e01-_0x15d556._0x352bb4,_0x2302db,_0x1e60d1-0x12f,_0x237e01-0x29c);}let _0x36a3c0;return typeof _0x153eba==_0x26931d(_0x42fe7a._0x1c55e2,_0x42fe7a._0x551d24,0x44c,0x324)?_0x36a3c0=this['parser'][_0x26931d(_0x42fe7a._0x512a27,_0x42fe7a._0x3ffb4d,_0x42fe7a._0x32d34a,_0x42fe7a._0x24b55f)](_0x153eba[_0x5ee736(0x42d,0x491,0x33c,0x4e7)]):_0x36a3c0=_0x153eba,at(this['o']['blockquote'](Fr(this['tab'],_0x36a3c0[_0x5ee736(0x62f,0x654,0x603,0x7fa)]())));}[_0x5318c5(0x125,-0x11e,-0xd4,0x87)](_0x4a8e5f){const _0x5beac9={_0x520464:0x1fb,_0x28fcc9:0x17,_0x2e6b21:0x30,_0x311c51:0x3b},_0x3afb10={_0x131cdd:0x14a,_0x45caa8:0x19e,_0x46a73c:0xb2};function _0x36d088(_0x4f7ef3,_0x4e84a6,_0x103d46,_0x5d75e6){return _0x7f0a6b(_0x4f7ef3-_0x3afb10._0x131cdd,_0x5d75e6- -_0x3afb10._0x45caa8,_0x103d46,_0x5d75e6-_0x3afb10._0x46a73c);}function _0xafca76(_0xe4d165,_0x363a56,_0x377e82,_0xacd832){return _0x5318c5(_0xe4d165-0x12f,_0x377e82,_0x377e82-0x2e,_0xe4d165-0x48);}return typeof _0x4a8e5f==_0xafca76(0x270,0x3ac,0x2b5,_0x5beac9._0x520464)&&(_0x4a8e5f=_0x4a8e5f['text']),this['o'][_0x36d088(_0x5beac9._0x28fcc9,-_0x5beac9._0x2e6b21,-_0x5beac9._0x311c51,-0x3f)](_0x4a8e5f);}[_0x5318c5(0x21f,0x79,-0x8f,0x65)](_0x4ed228,_0x487050){const _0x134520={_0x4880dd:0x11b,_0x5c04b9:0x314,_0x3e02ce:0x4c4,_0x282fb0:0x23c,_0x3a1ff1:0x179,_0xc8b640:0x15b,_0x16bb8e:0x125,_0x340cc7:0x105,_0x21d952:0x8b8,_0x5c9044:0x473,_0xbc3560:0x285,_0x5c3078:0x22a,_0x1b2c54:0x33,_0x5a0ef9:0x84f,_0x56ffc0:0x67d,_0x138263:0x34a,_0x43df82:0x379,_0x1de51a:0x48e,_0x44a811:0x3c5,_0x365b0e:0x3d4,_0x2d3cc7:0x2c3,_0x2a3649:0x5e1,_0x45d83d:0x34f,_0x4a2784:0x487,_0x2f0aad:0x358,_0x15c1c2:0x185,_0x2cda25:0x2ef,_0x23c1ca:0x73},_0xb00ebf={_0x7b3a4e:0x4ac};function _0x5ef08c(_0x58d7ae,_0x4a622d,_0x1fb5b5,_0x26f35e){return _0x5318c5(_0x58d7ae-0xce,_0x26f35e,_0x1fb5b5-0x87,_0x4a622d-0x120);}let _0x34a856;function _0x22861f(_0x5ee5ea,_0x2dfd12,_0x5b5369,_0x37a4e8){return _0x5318c5(_0x5ee5ea-0x58,_0x2dfd12,_0x5b5369-0x18c,_0x5b5369-_0xb00ebf._0x7b3a4e);}return typeof _0x4ed228=='object'?(_0x487050=_0x4ed228['depth'],_0x34a856=this[_0x5ef08c(_0x134520._0x4880dd,_0x134520._0x5c04b9,_0x134520._0x3e02ce,0x19f)][_0x5ef08c(_0x134520._0x282fb0,_0x134520._0x3a1ff1,0x79,_0x134520._0xc8b640)](_0x4ed228[_0x5ef08c(0x16f,_0x134520._0x16bb8e,0x2dd,_0x134520._0x340cc7)])):_0x34a856=_0x4ed228,_0x34a856=this[_0x22861f(0x5d9,_0x134520._0x21d952,0x749,0x581)](_0x34a856),_0x34a856=(this['o'][_0x5ef08c(0x66c,_0x134520._0x5c9044,0x5ce,_0x134520._0xbc3560)]?new Array((_0x487050||0x1)+0x1)[_0x5ef08c(0x80,_0x134520._0x5c3078,_0x134520._0x1b2c54,0x1ff)]('#')+'\x20':'')+_0x34a856,this['o'][_0x22861f(_0x134520._0x5a0ef9,_0x134520._0x56ffc0,0x66f,0x827)]&&(_0x34a856=_r(_0x34a856,this['o'][_0x5ef08c(_0x134520._0x138263,_0x134520._0x43df82,_0x134520._0x1de51a,_0x134520._0x44a811)],this[_0x5ef08c(0x52e,_0x134520._0x365b0e,0x340,_0x134520._0x2d3cc7)][_0x5ef08c(_0x134520._0x2a3649,0x495,_0x134520._0x45d83d,0x3c1)])),at(_0x487050===0x1?this['o'][_0x22861f(0x52a,_0x134520._0x4a2784,0x489,_0x134520._0x2f0aad)](_0x34a856):this['o'][_0x5ef08c(0x12d,_0x134520._0x15c1c2,_0x134520._0x2cda25,-_0x134520._0x23c1ca)](_0x34a856));}['hr'](){const _0x46a57={_0x2424d3:0x52c,_0x5b83df:0x4bf,_0x18dbbf:0x6ce,_0x5deae1:0x928},_0xcc129a={_0x26bf88:0xca,_0x49d412:0x305},_0x1e13b7={_0xbcf4e2:0x1cf};function _0x4705b3(_0xcbb3c3,_0x7a08c0,_0x3110f8,_0x4b412e){return _0x7f0a6b(_0xcbb3c3-_0x1e13b7._0xbcf4e2,_0x4b412e-0x433,_0x7a08c0,_0x4b412e-0x8e);}function _0xeeeebe(_0x4dc81d,_0xc3bbbc,_0xffb3b5,_0x2b8be8){return _0x5318c5(_0x4dc81d-_0xcc129a._0x26bf88,_0xffb3b5,_0xffb3b5-0x108,_0xc3bbbc-_0xcc129a._0x49d412);}return at(this['o']['hr'](_s('⎼',this['o'][_0x4705b3(_0x46a57._0x2424d3,_0x46a57._0x5b83df,0x8c5,_0x46a57._0x18dbbf)]&&this['o'][_0x4705b3(0x7ec,0x891,_0x46a57._0x5deae1,0x764)])));}['list'](_0x2d31d0,_0x131a0d){const _0x1ebe09={_0x2e0402:0x1ec,_0x46fbc1:0x1b5,_0x175c57:0x628,_0x1576eb:0x4a9,_0x258b62:0x292,_0x411702:0xd1,_0x3bb1f8:0x4c7,_0x160e1f:0x59f,_0x30fff0:0x5ed,_0x311654:0x1be,_0x4d7ed4:0xc6,_0x744281:0x1e2,_0x2bb910:0x17f,_0x1f5cd3:0x26,_0x25b05a:0x157,_0x12203a:0x11d},_0x5017df={_0xe0f306:0x103,_0x3d8a07:0x130},_0x1d6aa0={_0xbb82b4:0x6e,_0x53beea:0x22b};let _0x26670c;if(typeof _0x2d31d0=='object'){let _0x41650c=_0x2d31d0;_0x131a0d=_0x41650c['ordered'],_0x26670c='';for(let _0x22d79b=0x0;_0x22d79b<_0x41650c['items']['length'];_0x22d79b++)_0x26670c+=this[_0x3baab8(0x1c1,_0x1ebe09._0x2e0402,0x414,_0x1ebe09._0x46fbc1)](_0x41650c['items'][_0x22d79b]);}else _0x26670c=_0x2d31d0;_0x26670c=this['o'][_0x3baab8(0x7ef,0x63d,0x7da,_0x1ebe09._0x175c57)](_0x26670c,!!_0x131a0d,this[_0x58f492(_0x1ebe09._0x1576eb,_0x1ebe09._0x258b62,_0x1ebe09._0x411702,_0x1ebe09._0x3bb1f8)]);function _0x3baab8(_0x2fa4ea,_0x2ec126,_0x3e3720,_0xf01596){return _0x5318c5(_0x2fa4ea-_0x1d6aa0._0xbb82b4,_0xf01596,_0x3e3720-0x1c4,_0x2ec126-_0x1d6aa0._0x53beea);}let _0x128621=Ls(Ds(this[_0x3baab8(_0x1ebe09._0x160e1f,_0x1ebe09._0x30fff0,0x56a,0x56b)],_0x26670c),this['tab']);function _0x58f492(_0x39abde,_0x54af67,_0x3c4d2c,_0x1e0f8b){return _0x5318c5(_0x39abde-0x113,_0x39abde,_0x3c4d2c-_0x5017df._0xe0f306,_0x54af67- -_0x5017df._0x3d8a07);}return _0x128621=_0x128621[_0x58f492(0x22,_0x1ebe09._0x311654,0x279,0x321)]('\x0a')[_0x58f492(_0x1ebe09._0x4d7ed4,-0x11,-_0x1ebe09._0x744281,0x9d)](_0x3b8d28=>this[_0x3baab8(0xd1,0x206,0x1ee,0xc3)](_0x3b8d28['trim']())>0x0)[_0x58f492(-_0x1ebe09._0x2bb910,-_0x1ebe09._0x1f5cd3,-_0x1ebe09._0x25b05a,-_0x1ebe09._0x12203a)]('\x0a'),_0x128621+'\x0a\x0a';}[_0x7f0a6b(0x14,0x99,0x1f5,0x71)](_0x283270){const _0x4c4b8e={_0x5aadcb:0x616,_0xdd20f:0x576,_0x107a62:0x6b6,_0x1a370a:0x5ed,_0x3fbeba:0x8df,_0x52706a:0x9bc,_0x334547:0xa91,_0x1afd0a:0x63f,_0x2deaba:0x4ce,_0x5d1c5a:0x65c,_0x5bdaea:0x45b,_0x2054b5:0x457,_0x3074a4:0x13b,_0x2d9bec:0x2c5,_0x1c2943:0x29f,_0x16ffd:0x29f,_0x1cb921:0x5a1,_0x2f4eb3:0x558,_0x2fc1c4:0x3fc,_0x3f9c38:0x328,_0x5117a9:0x550,_0x382c5a:0x746,_0x5ac3b7:0x331,_0x185bcd:0x416,_0x4e3efa:0x21e,_0x473edd:0x6b,_0x295fcb:0x6ad,_0x507735:0x1a1,_0x16d879:0x46d,_0x304ac8:0x541,_0x7d5029:0x39f,_0x486309:0x5f0,_0x274ba2:0x8a0,_0x201ea7:0x705,_0x563a40:0x371,_0x4b79c7:0x34b,_0x544402:0x3db,_0xfe30d1:0x5ec,_0x22a1f0:0xa17,_0x23bcc4:0x3e9,_0x4ce7dc:0x541,_0x292cfa:0x3e7,_0x454411:0x6c5,_0x4bc3ca:0x5a6,_0x366a4f:0x6b3,_0x49042c:0x6b5,_0x35f8d3:0x36e,_0x45c50f:0x81f,_0x2d44d4:0x872,_0x51196f:0x62c,_0x1579c0:0xae,_0x1e719f:0x82,_0x2d9817:0x324,_0x1ef0fc:0x44d,_0x274862:0x36b,_0x34d806:0x750,_0x42c2b0:0x119,_0x668a64:0x2f0,_0x4842de:0x2b5,_0x2ed73b:0x74e,_0x45e693:0x55b,_0x2efe70:0x5f9,_0x3117b2:0x2f9,_0x351bdb:0x55d,_0x2b857e:0x6b1,_0x5ee14c:0x82a,_0x4e12c1:0x82e,_0x4a9704:0x787,_0xc3ebb9:0x641,_0x313fe6:0x259,_0x216e3d:0x330,_0x5087a7:0x919,_0x38014c:0x551,_0x3bcb27:0x3dd,_0xbafd86:0x542,_0x28ca51:0x4fe,_0x5b2f71:0x646,_0x10dceb:0x458,_0x38f99d:0x5b0,_0x155475:0x4a1,_0x212733:0x31f},_0x474e02={_0x35da15:0x135,_0x374cb3:0x29a},_0xb82a84={_0x47deb4:0x5e,_0x2fbee9:0x464};if(typeof _0x283270==_0x5a75ca(0x33c,_0x4c4b8e._0x5aadcb,_0x4c4b8e._0xdd20f,0x4c2)){let _0x14e522=_0x283270;if(_0x283270='',_0x14e522[_0x2b508a(0x8c2,_0x4c4b8e._0x107a62,0x694,_0x4c4b8e._0x1a370a)]){let _0xa01b42=this[_0x2b508a(_0x4c4b8e._0x3fbeba,0x8bb,_0x4c4b8e._0x52706a,_0x4c4b8e._0x334547)]({'checked':!!_0x14e522[_0x5a75ca(_0x4c4b8e._0x1afd0a,0x59f,0x635,_0x4c4b8e._0x2deaba)]});_0x14e522[_0x2b508a(0x49f,_0x4c4b8e._0x5d1c5a,_0x4c4b8e._0x5bdaea,0x79b)]?_0x14e522[_0x5a75ca(_0x4c4b8e._0x2054b5,_0x4c4b8e._0x3074a4,_0x4c4b8e._0x2d9bec,_0x4c4b8e._0x1c2943)]&&_0x14e522[_0x5a75ca(0x332,0x4d4,0x2d9,_0x4c4b8e._0x16ffd)][_0x5a75ca(_0x4c4b8e._0x1cb921,_0x4c4b8e._0x2f4eb3,0x2e5,_0x4c4b8e._0x2fc1c4)]>0x0&&_0x14e522['tokens'][0x0][_0x5a75ca(0x565,0x579,_0x4c4b8e._0x3f9c38,0x3e8)]===_0x5a75ca(0x75a,_0x4c4b8e._0x5117a9,0x80b,0x5fa)?(_0x14e522[_0x5a75ca(0x14f,0x155,0x2e0,0x29f)][0x0][_0x5a75ca(0x549,_0x4c4b8e._0x382c5a,0x6f7,0x57d)]=_0xa01b42+'\x20'+_0x14e522[_0x5a75ca(_0x4c4b8e._0x5ac3b7,0x44d,_0x4c4b8e._0x185bcd,0x29f)][0x0]['text'],_0x14e522[_0x5a75ca(_0x4c4b8e._0x4e3efa,_0x4c4b8e._0x473edd,0x439,0x29f)][0x0][_0x2b508a(0x578,0x541,0x63f,_0x4c4b8e._0x295fcb)]&&_0x14e522[_0x5a75ca(0x321,_0x4c4b8e._0x507735,0x1d6,0x29f)][0x0][_0x2b508a(_0x4c4b8e._0x16d879,_0x4c4b8e._0x304ac8,0x72e,_0x4c4b8e._0x7d5029)][_0x2b508a(_0x4c4b8e._0x486309,0x69e,_0x4c4b8e._0x274ba2,_0x4c4b8e._0x201ea7)]>0x0&&_0x14e522[_0x2b508a(_0x4c4b8e._0x563a40,0x541,0x557,0x37b)][0x0][_0x2b508a(_0x4c4b8e._0x4b79c7,0x541,_0x4c4b8e._0x544402,_0x4c4b8e._0xfe30d1)][0x0]['type']===_0x2b508a(_0x4c4b8e._0x22a1f0,0x81f,0x9c3,0x7fc)&&(_0x14e522['tokens'][0x0][_0x2b508a(_0x4c4b8e._0x23bcc4,_0x4c4b8e._0x4ce7dc,_0x4c4b8e._0x292cfa,0x49b)][0x0][_0x5a75ca(_0x4c4b8e._0x454411,0x763,0x47f,0x57d)]=_0xa01b42+'\x20'+_0x14e522[_0x2b508a(_0x4c4b8e._0x4bc3ca,_0x4c4b8e._0x4ce7dc,0x660,_0x4c4b8e._0x366a4f)][0x0][_0x2b508a(_0x4c4b8e._0x49042c,_0x4c4b8e._0x4ce7dc,_0x4c4b8e._0x35f8d3,0x4d6)][0x0][_0x2b508a(0x802,_0x4c4b8e._0x45c50f,_0x4c4b8e._0x2d44d4,_0x4c4b8e._0x51196f)])):(_0x14e522[_0x5a75ca(_0x4c4b8e._0x1579c0,_0x4c4b8e._0x1e719f,_0x4c4b8e._0x2d9817,0x29f)]=_0x14e522[_0x5a75ca(0x6c,0x407,_0x4c4b8e._0x1ef0fc,0x29f)]||[],_0x14e522[_0x2b508a(_0x4c4b8e._0x274862,0x541,_0x4c4b8e._0x34d806,0x564)][_0x5a75ca(_0x4c4b8e._0x42c2b0,_0x4c4b8e._0x668a64,_0x4c4b8e._0x4842de,0x28e)]({'type':_0x5a75ca(0x484,_0x4c4b8e._0x2ed73b,0x65a,0x57d),'raw':_0xa01b42+'\x20','text':_0xa01b42+'\x20'})):_0x283270+=_0xa01b42+'\x20';}_0x283270+=this[_0x2b508a(0x593,0x730,_0x4c4b8e._0x45e693,_0x4c4b8e._0x2efe70)]['parse'](_0x14e522[_0x5a75ca(0x3cc,_0x4c4b8e._0x3117b2,0x184,_0x4c4b8e._0x16ffd)]||[],!!_0x14e522[_0x2b508a(_0x4c4b8e._0x351bdb,0x65c,0x7b1,0x68d)]);}let _0xaa840=_0x283270[_0x2b508a(_0x4c4b8e._0x2b857e,_0x4c4b8e._0x5ee14c,_0x4c4b8e._0x4e12c1,_0x4c4b8e._0x4a9704)]('\x0a'),_0x3a33f9=[];for(let _0x311a5c=0x0;_0x311a5c<_0xaa840[_0x2b508a(_0x4c4b8e._0xc3ebb9,0x69e,0x4da,0x575)];_0x311a5c++){let _0x1207df=_0xaa840[_0x311a5c];this[_0x5a75ca(_0x4c4b8e._0x313fe6,0x142,_0x4c4b8e._0x216e3d,0x275)](_0x1207df[_0x2b508a(_0x4c4b8e._0x5087a7,0x743,0x5cd,_0x4c4b8e._0x38014c)]())>0x0&&_0x3a33f9[_0x5a75ca(0x679,_0x4c4b8e._0x3bcb27,_0x4c4b8e._0xbafd86,_0x4c4b8e._0x28ca51)](_0x1207df);}_0x283270=_0x3a33f9[_0x2b508a(0x825,_0x4c4b8e._0x5b2f71,_0x4c4b8e._0x10dceb,0x540)]('\x0a')[_0x5a75ca(_0x4c4b8e._0x38f99d,0x6c3,0x365,_0x4c4b8e._0x155475)]();function _0x2b508a(_0x436dc5,_0x49390c,_0x8eb111,_0x46ebd7){return _0x7f0a6b(_0x436dc5-_0xb82a84._0x47deb4,_0x49390c-_0xb82a84._0x2fbee9,_0x436dc5,_0x46ebd7-0x2a);}function _0x5a75ca(_0x3280e2,_0x50796a,_0x223588,_0x4a2e39){return _0x5318c5(_0x3280e2-0x135,_0x223588,_0x223588-_0x474e02._0x35da15,_0x4a2e39-_0x474e02._0x374cb3);}let _0x43e91e=To(this['o']['listitem'],this[_0x5a75ca(0x383,_0x4c4b8e._0x212733,0x6f8,0x537)]);return'\x0a'+Mo+_0x43e91e(_0x283270);}[_0x7f0a6b(0x26c,0x457,0x5eb,0x680)](_0x534f3d){return typeof _0x534f3d=='object'&&(_0x534f3d=_0x534f3d['checked']),'['+(_0x534f3d?'X':'\x20')+']\x20';}[_0x7f0a6b(0x5bc,0x438,0x5f0,0x62a)](_0x53f254){const _0x4af984={_0x195be9:0x32d,_0x3209b1:0x3db,_0x5a4539:0x122,_0x4237b6:0x272,_0xbbbec:0x3a1,_0xbdc6e7:0x593,_0x1ccc13:0x4f0,_0x167d4b:0x4bf,_0x5c77ee:0x48e,_0x3de04d:0x3ad,_0x2c04ef:0x453,_0x1a3894:0x4e9,_0xf0fc63:0x3ed,_0x4d0512:0x54d,_0x5b66ae:0x46a},_0x934338={_0x4906c3:0x198,_0x20b245:0x58},_0x2a696c={_0x40e747:0xcd,_0x238dcb:0x1ca};function _0xd35feb(_0x257971,_0xa55fcb,_0xe1f53e,_0x423ed2){return _0x7f0a6b(_0x257971-_0x2a696c._0x40e747,_0x257971-0x61,_0xe1f53e,_0x423ed2-_0x2a696c._0x238dcb);}let _0x3b3a64;function _0x20eda(_0x977e1f,_0x2b2868,_0x147b1d,_0x4d2a02){return _0x7f0a6b(_0x977e1f-_0x934338._0x4906c3,_0x4d2a02-0x1b8,_0x977e1f,_0x4d2a02-_0x934338._0x20b245);}return typeof _0x53f254=='object'?_0x3b3a64=this[_0xd35feb(_0x4af984._0x195be9,0x43d,_0x4af984._0x3209b1,_0x4af984._0x5a4539)][_0xd35feb(0x192,0xce,_0x4af984._0x4237b6,_0x4af984._0xbbbec)](_0x53f254['tokens']):_0x3b3a64=_0x53f254,_0x3b3a64=To(this['o'][_0x20eda(0x495,_0x4af984._0xbdc6e7,_0x4af984._0x1ccc13,0x5f0)],this[_0xd35feb(0x3d6,_0x4af984._0x167d4b,_0x4af984._0x5c77ee,0x546)])(_0x3b3a64),this['o'][_0x20eda(_0x4af984._0x3de04d,0x319,0x5e6,_0x4af984._0x2c04ef)]&&(_0x3b3a64=_r(_0x3b3a64,this['o'][_0x20eda(0x5dd,0x65e,0x6cd,_0x4af984._0x1a3894)],this[_0xd35feb(_0x4af984._0xf0fc63,0x2de,_0x4af984._0x4d0512,_0x4af984._0x5b66ae)][_0x20eda(0x7b5,0x6d3,0x658,0x605)])),at(_0x3b3a64);}[_0x7f0a6b(0x3f6,0x336,0x17c,0x44e)](_0x18f2cb,_0x36156d){const _0x24952a={_0x14c396:0x5bd,_0x22ac71:0x462,_0x38e620:0x274,_0x3233a6:0x3d0,_0xcd232a:0x65d,_0x44e23b:0x542,_0x5d8563:0x7de,_0x32e37c:0x6cd,_0x22b3ba:0x39c,_0x37811e:0x3cf,_0x358aad:0x4de,_0x2ec8ec:0x519,_0xa1c4e:0x728,_0x5de674:0x76b,_0x268ca1:0x62c,_0x1f3acc:0x606,_0x34ca6d:0x79d,_0x409ac2:0x5fe,_0x21ae2d:0x7e1,_0x1678a4:0x770,_0x1bd5d8:0x625},_0x314323={_0x3faa7b:0x447,_0x362c1c:0x158},_0x2ebc18={_0x15cbb9:0x162};function _0x2f5010(_0x1587d3,_0x25853c,_0x373baf,_0x406d4a){return _0x7f0a6b(_0x1587d3-0x105,_0x25853c-_0x2ebc18._0x15cbb9,_0x373baf,_0x406d4a-0xa7);}function _0x500dba(_0x1d4d0d,_0x1c664c,_0x22d9e0,_0x37aa3f){return _0x7f0a6b(_0x1d4d0d-0xed,_0x1c664c-_0x314323._0x3faa7b,_0x1d4d0d,_0x37aa3f-_0x314323._0x362c1c);}if(typeof _0x18f2cb==_0x2f5010(_0x24952a._0x14c396,_0x24952a._0x22ac71,0x3c3,0x4cb)){let _0x3db5f7=_0x18f2cb;_0x18f2cb='';let _0x3ca1e9='';for(let _0x28d367=0x0;_0x28d367<_0x3db5f7['header']['length'];_0x28d367++)_0x3ca1e9+=this[_0x2f5010(_0x24952a._0x38e620,0x486,_0x24952a._0x3233a6,0x25d)](_0x3db5f7[_0x2f5010(0x5f0,_0x24952a._0xcd232a,_0x24952a._0x44e23b,0x7c4)][_0x28d367]);_0x18f2cb+=this[_0x500dba(0x7fe,0x6b5,_0x24952a._0x5d8563,_0x24952a._0x32e37c)]({'text':_0x3ca1e9}),_0x36156d='';for(let _0x243649=0x0;_0x243649<_0x3db5f7['rows'][_0x2f5010(0x563,_0x24952a._0x22b3ba,_0x24952a._0x37811e,_0x24952a._0x37811e)];_0x243649++){let _0x441a85=_0x3db5f7[_0x500dba(_0x24952a._0x358aad,0x692,_0x24952a._0x2ec8ec,_0x24952a._0xa1c4e)][_0x243649];_0x3ca1e9='';for(let _0x414f77=0x0;_0x414f77<_0x441a85['length'];_0x414f77++)_0x3ca1e9+=this[_0x500dba(0x59e,_0x24952a._0x5de674,0x851,0x95e)](_0x441a85[_0x414f77]);_0x36156d+=this['tablerow']({'text':_0x3ca1e9});}}return at(Is(_0x18f2cb,_0x36156d||'',this[_0x2f5010(_0x24952a._0x268ca1,_0x24952a._0x1f3acc,0x71c,_0x24952a._0x34ca6d)],this[_0x2f5010(0x557,0x4d7,_0x24952a._0x409ac2,0x618)],this['o'][_0x500dba(_0x24952a._0x21ae2d,0x77d,_0x24952a._0x1678a4,_0x24952a._0x1bd5d8)]));}[_0x5318c5(0x255,0x1e5,0x225,0x196)](_0x4d89ee){const _0x578a42={_0x3f8ffc:0x22a,_0x1f7bd4:0x54,_0xceb736:0x218},_0x2e7b97={_0x5da736:0x96},_0x10489c={_0x42d23f:0x2ed};function _0x276a4d(_0x4aa086,_0xf1870a,_0x140109,_0x2a9590){return _0x7f0a6b(_0x4aa086-0x24,_0xf1870a- -_0x10489c._0x42d23f,_0x4aa086,_0x2a9590-0x95);}function _0x508471(_0x55ee03,_0x115415,_0x515a10,_0x3f4324){return _0x5318c5(_0x55ee03-0x149,_0x3f4324,_0x515a10-_0x2e7b97._0x5da736,_0x115415-0x176);}return typeof _0x4d89ee==_0x508471(0x238,0x39e,_0x578a42._0x3f8ffc,0x3e6)&&(_0x4d89ee=_0x4d89ee[_0x276a4d(-_0x578a42._0x1f7bd4,0xce,_0x578a42._0xceb736,-0xd9)]),So+_0x4d89ee+So+'\x0a';}[_0x5318c5(0x299,0x268,0x25f,0x24c)](_0x5544e7){const _0x4654c4={_0x4e9d23:0x3b0,_0x4c4763:0x33d,_0x5876cb:0x575,_0x3140f2:0x510,_0x2ffa13:0x3a1,_0x386989:0x369,_0x7273b2:0x2ee,_0x27bff6:0xd},_0x5cc965={_0x58de40:0xd1,_0x1a11f8:0x188},_0x391868={_0x76c655:0x185,_0x1e77b4:0xe7,_0x2a0683:0x295};function _0x5acb9b(_0x43f311,_0x5c7603,_0x521f6f,_0x1e5618){return _0x5318c5(_0x43f311-_0x391868._0x76c655,_0x5c7603,_0x521f6f-_0x391868._0x1e77b4,_0x1e5618-_0x391868._0x2a0683);}function _0x1dbb1c(_0x1e80a3,_0x1d6952,_0x324d16,_0x367a4a){return _0x5318c5(_0x1e80a3-0x119,_0x1d6952,_0x324d16-_0x5cc965._0x58de40,_0x1e80a3-_0x5cc965._0x1a11f8);}return typeof _0x5544e7==_0x1dbb1c(_0x4654c4._0x4e9d23,_0x4654c4._0x4c4763,_0x4654c4._0x5876cb,0x49d)&&(_0x5544e7=this[_0x5acb9b(0x58e,_0x4654c4._0x3140f2,_0x4654c4._0x2ffa13,0x489)][_0x5acb9b(_0x4654c4._0x386989,0x4d6,0x346,_0x4654c4._0x7273b2)](_0x5544e7[_0x1dbb1c(0x18d,-_0x4654c4._0x27bff6,-0x13,-0x59)]||[])),_0x5544e7+Br;}['strong'](_0x3d327a){const _0x3b7969={_0x52d452:0x7ef,_0x4fdba6:0x606,_0x443bdc:0xb1,_0x341a5f:0x11,_0x5fd487:0x245,_0x3f8788:0x457,_0x1b0f5c:0x254,_0x497506:0x4a6},_0x21a33a={_0x321b8c:0x197,_0x27ec6a:0x32},_0x366c7f={_0x1ad1b3:0x78,_0x4259f7:0x412};function _0x29efd0(_0xe0410a,_0x4651e9,_0x261621,_0x2156d4){return _0x5318c5(_0xe0410a-_0x366c7f._0x1ad1b3,_0xe0410a,_0x261621-0x1e1,_0x4651e9-_0x366c7f._0x4259f7);}function _0x7cb0dc(_0x51aa40,_0x3c9352,_0x3f1b82,_0x2ae099){return _0x7f0a6b(_0x51aa40-0xf4,_0x3c9352- -_0x21a33a._0x321b8c,_0x2ae099,_0x2ae099-_0x21a33a._0x27ec6a);}let _0x1d0387;return typeof _0x3d327a=='object'?_0x1d0387=this[_0x29efd0(_0x3b7969._0x52d452,_0x3b7969._0x4fdba6,0x468,0x823)][_0x7cb0dc(_0x3b7969._0x443bdc,-0x66,-0x19c,-0x3f)](_0x3d327a[_0x7cb0dc(_0x3b7969._0x341a5f,-0xba,-0x71,-_0x3b7969._0x5fd487)]):_0x1d0387=_0x3d327a,this['o'][_0x29efd0(0x669,_0x3b7969._0x3f8788,_0x3b7969._0x1b0f5c,_0x3b7969._0x497506)](_0x1d0387);}['em'](_0x1ff3e0){const _0x55230d={_0x4bbac6:0x168,_0x2831a8:0xaa,_0x51aba5:0x56,_0x13f61c:0x67,_0x46fd18:0x237},_0x1b1f17={_0xc9c09c:0xbe,_0xbcf8ec:0xc6,_0xcf32c7:0x8c};function _0x42e50c(_0x3b5f6d,_0x51b1d2,_0x10791c,_0x39bba6){return _0x5318c5(_0x3b5f6d-0x11b,_0x39bba6,_0x10791c-0x125,_0x3b5f6d- -0xc0);}function _0x51d1e5(_0x232625,_0x1ca071,_0x48440e,_0x253114){return _0x7f0a6b(_0x232625-_0x1b1f17._0xc9c09c,_0x48440e-_0x1b1f17._0xbcf8ec,_0x253114,_0x253114-_0x1b1f17._0xcf32c7);}let _0x5a52a9;return typeof _0x1ff3e0==_0x42e50c(_0x55230d._0x4bbac6,0x29,_0x55230d._0x2831a8,-_0x55230d._0x51aba5)?_0x5a52a9=this['parser'][_0x42e50c(-_0x55230d._0x13f61c,-_0x55230d._0x46fd18,-0x283,-0x12b)](_0x1ff3e0['tokens']):_0x5a52a9=_0x1ff3e0,_0x5a52a9=Ut(_0x5a52a9,this['o']['reflowText']),this['o']['em'](_0x5a52a9);}[_0x7f0a6b(0x384,0x31f,0x4ef,0x53a)](_0x43f18c){const _0x542c9f={_0x3efb24:0x892,_0xcd4737:0x713,_0x5bbba6:0x1ed,_0x5db988:0x383,_0x403677:0x2ed,_0x34416a:0x229,_0x22d917:0x158,_0x256c7e:0xf7},_0x47f364={_0x1319e6:0xc5,_0x58a9c7:0x1ce,_0x3fd163:0x1b8},_0x144b1a={_0x489923:0x12c,_0xff683b:0x413,_0x2db48a:0x14d};function _0x3df1d1(_0x42447c,_0x73715b,_0xc4fad8,_0x2c0328){return _0x7f0a6b(_0x42447c-_0x144b1a._0x489923,_0x2c0328-_0x144b1a._0xff683b,_0x42447c,_0x2c0328-_0x144b1a._0x2db48a);}function _0x25164d(_0x2f4ace,_0x3ab4db,_0x5b7423,_0x589d4f){return _0x7f0a6b(_0x2f4ace-_0x47f364._0x1319e6,_0x5b7423- -_0x47f364._0x58a9c7,_0x3ab4db,_0x589d4f-_0x47f364._0x3fd163);}return typeof _0x43f18c==_0x3df1d1(_0x542c9f._0x3efb24,0x5d7,0x554,_0x542c9f._0xcd4737)&&(_0x43f18c=_0x43f18c[_0x25164d(0x17d,0x3a9,_0x542c9f._0x5bbba6,_0x542c9f._0x5db988)]),_0x43f18c=Ut(_0x43f18c,this['o']['reflowText']),this['o']['codespan'](_0x43f18c[_0x25164d(_0x542c9f._0x403677,_0x542c9f._0x34416a,_0x542c9f._0x22d917,_0x542c9f._0x256c7e)](/:/g,Dr));}['br'](){return this['o']['reflowText']?'\x0d':'\x0a';}['del'](_0xc626e2){const _0x1bc14e={_0x5d7d6a:0x462,_0x496350:0x62e,_0x1f58ea:0x6e7,_0x309a1a:0x43f,_0x38f597:0x468,_0x52919d:0x37a,_0x20c634:0x332,_0x5f07ed:0x1f6,_0x2ccc0b:0x2b6},_0x29987e={_0x249bfd:0x1e7},_0x4091a4={_0x34cd06:0xe8,_0xdc182f:0x43a};let _0x3e2f63;function _0x351074(_0x5f054f,_0xe2264a,_0x60febb,_0x4cd43c){return _0x5318c5(_0x5f054f-_0x4091a4._0x34cd06,_0x4cd43c,_0x60febb-0xf2,_0xe2264a-_0x4091a4._0xdc182f);}function _0x19a382(_0x1c0a8e,_0x2c93b9,_0x3e5cd0,_0x470397){return _0x7f0a6b(_0x1c0a8e-0xda,_0x470397- -0x160,_0x3e5cd0,_0x470397-_0x29987e._0x249bfd);}return typeof _0xc626e2=='object'?_0x3e2f63=this[_0x351074(_0x1bc14e._0x5d7d6a,_0x1bc14e._0x496350,0x537,_0x1bc14e._0x1f58ea)]['parseInline'](_0xc626e2[_0x351074(0x59b,_0x1bc14e._0x309a1a,_0x1bc14e._0x38f597,_0x1bc14e._0x52919d)]):_0x3e2f63=_0xc626e2,this['o'][_0x19a382(0x4d2,_0x1bc14e._0x20c634,_0x1bc14e._0x5f07ed,_0x1bc14e._0x2ccc0b)](_0x3e2f63);}[_0x7f0a6b(0x542,0x411,0x512,0x38b)](_0x481b9d,_0x2cfabf,_0x10c863){const _0x3c8bd8={_0x278b8e:0x15c,_0x573457:0x13f,_0x302686:0x106,_0x2450e2:0xad,_0x5271b4:0xac,_0x350b42:0xd4,_0x4c442c:0x27,_0x1c72fd:0x231,_0x3f6afc:0x47b,_0x3f4032:0x64c,_0x44b80d:0x489,_0x3b8747:0x114,_0x1ee1b6:0x1d4,_0x48183f:0x1bb,_0x54f360:0x3f0,_0x5e01e9:0x2ee,_0xdee6a7:0x847,_0x4a1eec:0x6ad,_0x3c8398:0x62c,_0x2be3c5:0x268,_0x79a4f3:0x496,_0x6fdb8d:0x1f5,_0x3a0446:0x3ec,_0x1394c0:0x10a,_0x4c1469:0x20a,_0x33bdf3:0x762,_0x3cadb9:0x5c2,_0xc74908:0x55e},_0x476ca1={_0x5f465d:0x90,_0x3c5427:0x1e6},_0x43c777={_0x32afae:0x15a};if(typeof _0x481b9d=='object'&&(_0x10c863=this['parser'][_0x3c5d12(-0xeb,-0xc9,-0x29b,-_0x3c8bd8._0x278b8e)](_0x481b9d[_0x3c5d12(-_0x3c8bd8._0x573457,-0x225,-_0x3c8bd8._0x302686,-_0x3c8bd8._0x2450e2)]),_0x481b9d=_0x481b9d[_0x3c5d12(-_0x3c8bd8._0x5271b4,-0x151,-0x126,_0x3c8bd8._0x350b42)]),this[_0x3c5d12(0x170,-_0x3c8bd8._0x4c442c,_0x3c8bd8._0x1c72fd,0x9b)]['sanitize'])try{if(decodeURIComponent(unescape(_0x481b9d))[_0x430039(0x5ee,_0x3c8bd8._0x3f6afc,_0x3c8bd8._0x3f4032,_0x3c8bd8._0x44b80d)](/[^\w:]/g,'')[_0x3c5d12(-0x105,_0x3c8bd8._0x3b8747,-_0x3c8bd8._0x1ee1b6,-_0x3c8bd8._0x48183f)]()['indexOf'](_0x3c5d12(0x2a8,0x1eb,_0x3c8bd8._0x54f360,_0x3c8bd8._0x5e01e9))===0x0)return'';}catch{return'';}function _0x430039(_0x1a53fa,_0x2877a5,_0x2f09a7,_0x220cd7){return _0x7f0a6b(_0x1a53fa-0x126,_0x2f09a7-0x326,_0x220cd7,_0x220cd7-_0x43c777._0x32afae);}let _0x48392e=_0x10c863&&_0x10c863!==_0x481b9d,_0x545449='';if(_0x28e26c){let _0x4be691='';_0x10c863?_0x4be691=this['o']['href'](this[_0x430039(_0x3c8bd8._0xdee6a7,0x60f,_0x3c8bd8._0x4a1eec,_0x3c8bd8._0x3c8398)](_0x10c863)):_0x4be691=this['o'][_0x430039(_0x3c8bd8._0x2be3c5,0x291,_0x3c8bd8._0x79a4f3,0x2b9)](_0x481b9d),_0x545449=_0x1779d7[_0x3c5d12(_0x3c8bd8._0x6fdb8d,_0x3c8bd8._0x3a0446,0x5f,0x2f5)](_0x4be691,_0x481b9d[_0x3c5d12(_0x3c8bd8._0x1394c0,0xe6,_0x3c8bd8._0x4c1469,0x1a)](/\+/g,'%20'));}else _0x48392e&&_0x10c863&&(_0x545449+=this[_0x430039(0x766,_0x3c8bd8._0x33bdf3,0x6ad,_0x3c8bd8._0x3cadb9)](_0x10c863)+'\x20('),_0x545449+=this['o']['href'](_0x481b9d),_0x48392e&&(_0x545449+=')');function _0x3c5d12(_0x4023b6,_0x109596,_0x14fe3f,_0x290316){return _0x5318c5(_0x4023b6-_0x476ca1._0x5f465d,_0x14fe3f,_0x14fe3f-_0x476ca1._0x3c5427,_0x4023b6- -0x144);}return this['o'][_0x430039(0x8fe,_0x3c8bd8._0xc74908,0x737,0x8b6)](_0x545449);}['image'](_0x38ffce,_0x277b8f,_0x7ab49b){const _0x11e3e7={_0x919fbb:0x1f9,_0x1027d0:0x5cc,_0x4237d6:0x709,_0xa7d668:0x81e,_0x2ebbc3:0x449,_0x2e72d2:0x131,_0x1fd44f:0x361,_0xdf1997:0x1fe,_0x4698ed:0x2ed,_0x5c9a40:0x547,_0x3c4889:0x6af,_0x10c2e1:0x24d,_0x16315f:0x3af,_0x42a5a6:0x5e2},_0x3e4365={_0x31e350:0x8e,_0x137b2d:0x1a9};function _0x5d03b2(_0x1af045,_0x173ae3,_0x576432,_0x482036){return _0x7f0a6b(_0x1af045-0x7b,_0x576432-_0x3e4365._0x31e350,_0x1af045,_0x482036-_0x3e4365._0x137b2d);}let _0x5e2e9a,_0x6f57e7,_0x3aa766;if(typeof _0x38ffce==_0x5d03b2(_0x11e3e7._0x919fbb,0x3c6,0x38e,0x2ee)?(_0x6f57e7=_0x38ffce[_0x2381b2(_0x11e3e7._0x1027d0,_0x11e3e7._0x4237d6,_0x11e3e7._0xa7d668,0x6d4)],_0x3aa766=_0x38ffce[_0x5d03b2(0x4cf,0x39c,_0x11e3e7._0x2ebbc3,0x2be)],_0x5e2e9a=_0x38ffce[_0x5d03b2(_0x11e3e7._0x2e72d2,_0x11e3e7._0x1fd44f,_0x11e3e7._0xdf1997,_0x11e3e7._0x4698ed)]):(_0x5e2e9a=_0x38ffce,_0x6f57e7=_0x277b8f,_0x3aa766=_0x7ab49b),this['o'][_0x5d03b2(0x40f,0x3f7,_0x11e3e7._0x5c9a40,_0x11e3e7._0x3c4889)])return this['o']['image'](_0x5e2e9a,_0x6f57e7,_0x3aa766);let _0x24dc53='\x0a';}};function Ns(_0x40a929,_0x53022b){const _0x26b682={_0x557873:0x31a,_0x58978b:0x3cd,_0x135548:0x26b,_0x46a5e5:0x3e5,_0x1b98a0:0x160,_0x322ed7:0x10e,_0x467e30:0xf2,_0x401217:0xe3,_0x15e14a:0x20a,_0xa7f389:0x1ea,_0x17e1b0:0x1e6,_0x122cad:0x110,_0x409eae:0xcd,_0x2331a5:0x3a9,_0x5a909a:0x176,_0x385c54:0x42,_0x419447:0xac,_0x5669fa:0x3a4,_0x1ec0e1:0x445,_0x5b6a0c:0x29c,_0x4a6414:0x6e,_0x54d742:0x3e2,_0x4e2a1b:0x44e,_0x20f9b5:0x24c},_0x2165ca={_0x134115:0x2c4,_0x2af15a:0x34a,_0x521f91:0x2b6,_0x11aa75:0x4bf,_0x5d5fa0:0x204,_0x5c0c28:0x17c,_0xde49dd:0x216,_0x3a80e3:0x67c,_0x8ad321:0x689},_0x5945ab={_0x3f98f9:0xd,_0xb5de00:0x1a5};function _0x44a0fb(_0x598564,_0x3ac410,_0x331840,_0x5b5fab){return _0x5318c5(_0x598564-0xfd,_0x598564,_0x331840-0x15d,_0x5b5fab- -0x195);}let _0x452601=new Nr(_0x40a929,_0x53022b);function _0x5c3b11(_0x2e815c,_0x4be7b6,_0x53e5b8,_0x2b79be){return _0x7f0a6b(_0x2e815c-0x27,_0x53e5b8- -0x83,_0x2e815c,_0x2b79be-0xb4);}return[_0x5c3b11(_0x26b682._0x557873,0x56f,0x338,0x47b),'code',_0x5c3b11(_0x26b682._0x58978b,_0x26b682._0x135548,_0x26b682._0x46a5e5,0x29a),_0x44a0fb(-0x23a,-_0x26b682._0x1b98a0,-0x1e4,-_0x26b682._0x322ed7),_0x5c3b11(0x227,_0x26b682._0x467e30,0xba,_0x26b682._0x401217),'hr','list','listitem',_0x44a0fb(0x2bb,0x2bd,_0x26b682._0x15e14a,_0x26b682._0xa7f389),'paragraph','table',_0x44a0fb(-_0x26b682._0x17e1b0,-_0x26b682._0x122cad,-0x1c5,0x1),_0x5c3b11(_0x26b682._0x409eae,_0x26b682._0x2331a5,0x2a1,_0x26b682._0x5a909a),_0x44a0fb(-0x301,_0x26b682._0x385c54,-_0x26b682._0x419447,-0x150),'em',_0x5c3b11(_0x26b682._0x5669fa,_0x26b682._0x1ec0e1,_0x26b682._0x5b6a0c,0x14d),'br',_0x44a0fb(-_0x26b682._0x4a6414,0x173,0x207,0x1a9),'link',_0x44a0fb(_0x26b682._0x54d742,_0x26b682._0x4e2a1b,0x13b,_0x26b682._0x20f9b5)]['reduce']((_0x520516,_0xd6c701)=>(_0x520516[_0x5c3b11(0x6b,0x299,0x19f,0xd1)][_0xd6c701]=function(..._0x5c1111){_0x452601[_0x33add2(_0x2165ca._0x134115,_0x2165ca._0x2af15a,_0x2165ca._0x521f91,_0x2165ca._0x11aa75)]=this['options'],_0x452601['parser']=this[_0x33add2(_0x2165ca._0x5d5fa0,_0x2165ca._0x5c0c28,0x3e3,_0x2165ca._0xde49dd)];function _0x33add2(_0x5dee65,_0x469c8e,_0x20296f,_0x329470){return _0x44a0fb(_0x329470,_0x469c8e-_0x5945ab._0x3f98f9,_0x20296f-0x93,_0x5dee65-_0x5945ab._0xb5de00);}let _0x348182=_0x452601[_0xd6c701];function _0x56c188(_0x3015c9,_0x4a4a33,_0x197a51,_0x24f911){return _0x5c3b11(_0x197a51,_0x4a4a33-0x5e,_0x3015c9-0x4fc,_0x24f911-0x60);}return typeof _0x348182==_0x56c188(0x53f,_0x2165ca._0x3a80e3,0x43a,_0x2165ca._0x8ad321)?_0x348182['apply'](_0x452601,_0x5c1111):'';},_0x520516),{'renderer':{},'useNewRenderer':!0x0});}var Or=class t{constructor(){const _0xa61baf={_0x15f520:0x514,_0x237d4e:0x643,_0x34e3dd:0x620,_0x14721d:0x4f2,_0x4f3917:0x5c8},_0x1e76aa={_0x1e6ffb:0x10e,_0xdecdf4:0x39},_0x48a557={_0x2227a8:0x165};this[_0x391fd2(_0xa61baf._0x15f520,0x36b,_0xa61baf._0x237d4e,_0xa61baf._0x34e3dd)]=null;function _0x391fd2(_0xc0ee4b,_0x3e23dd,_0x58ecdc,_0x472531){return _0x5318c5(_0xc0ee4b-_0x48a557._0x2227a8,_0x3e23dd,_0x58ecdc-_0x48a557._0x2227a8,_0xc0ee4b-0x45e);}function _0x3d8eab(_0x7d4970,_0x553254,_0x49882a,_0x400465){return _0x5318c5(_0x7d4970-_0x1e76aa._0x1e6ffb,_0x553254,_0x49882a-_0x1e76aa._0xdecdf4,_0x7d4970-0x4c);}this[_0x391fd2(0x4c6,_0xa61baf._0x14721d,0x36c,_0xa61baf._0x4f3917)]=_0x4ad403;}static[_0x7f0a6b(0x58b,0x38e,0x18d,0x469)](){const _0x53fb03={_0x54a021:0x4f8,_0x5bdfc:0x565,_0x2c0145:0x647,_0x5d03a8:0x1f5,_0x43bcad:0x20e},_0x21bbed={_0x563a3d:0x15f},_0x36d3ab={_0xda7249:0x5};function _0x21b915(_0x27199a,_0x3309bb,_0x6a84c1,_0x6dd2da){return _0x5318c5(_0x27199a-0x1e1,_0x27199a,_0x6a84c1-_0x36d3ab._0xda7249,_0x6a84c1-0x269);}function _0x1575f4(_0x21cb96,_0x128a15,_0x34344a,_0x44fe32){return _0x5318c5(_0x21cb96-_0x21bbed._0x563a3d,_0x21cb96,_0x34344a-0x9e,_0x44fe32- -0xee);}return t['instance']||(t[_0x21b915(0x3d5,_0x53fb03._0x54a021,_0x53fb03._0x5bdfc,_0x53fb03._0x2c0145)]=new t()),t[_0x1575f4(_0x53fb03._0x5d03a8,0x2e1,0x53,_0x53fb03._0x43bcad)];}['getRenderer'](_0x514bcc){const _0x450b18={_0x591b91:0x1d4,_0x349479:0x28d,_0xb2692e:0x15d,_0x4164af:0x221,_0xfdd83f:0x1d4,_0x4e762a:0x371,_0x3d45dc:0x38c,_0x974b77:0x377,_0x1cd1ac:0x4ed,_0x87f718:0x270,_0x141cb7:0x92,_0x4a25df:0x150,_0x4bcefc:0x378,_0x4a9188:0x2e1,_0x1d1ca9:0x53,_0x1c5dc1:0x105},_0x31faab={_0x512e07:0x86,_0x3fdc5c:0x109},_0x2c1a7c={_0x56ad65:0xdc,_0x429d8c:0xda,_0x196aa5:0x11e};function _0x43db5b(_0x13337e,_0x5ba1dc,_0x1f2106,_0x1a2296){return _0x5318c5(_0x13337e-_0x2c1a7c._0x56ad65,_0x1f2106,_0x1f2106-_0x2c1a7c._0x429d8c,_0x13337e-_0x2c1a7c._0x196aa5);}function _0xdf7b43(_0x5b1c09,_0x23964d,_0x2f80d6,_0x20bdca){return _0x5318c5(_0x5b1c09-0x195,_0x20bdca,_0x2f80d6-_0x31faab._0x512e07,_0x2f80d6- -_0x31faab._0x3fdc5c);}return(!this[_0x43db5b(_0x450b18._0x591b91,_0x450b18._0x349479,_0x450b18._0xb2692e,_0x450b18._0x4164af)]||this[_0x43db5b(_0x450b18._0xfdd83f,_0x450b18._0x4e762a,_0x450b18._0x3d45dc,0x309)][_0x43db5b(_0x450b18._0x974b77,0x3ff,_0x450b18._0x1cd1ac,_0x450b18._0x87f718)]!==_0x514bcc[_0xdf7b43(-_0x450b18._0x141cb7,0x128,_0x450b18._0x4a25df,_0x450b18._0x4bcefc)]||this['currentConfig'][_0x43db5b(_0x450b18._0x4a9188,0x453,0x325,0x48a)]!==_0x514bcc['reflowText'])&&(this['configureRenderer'](_0x514bcc),this[_0xdf7b43(-0x233,-0xe3,-_0x450b18._0x1d1ca9,-_0x450b18._0x1c5dc1)]={..._0x514bcc}),this['markedInstance'];}['configureRenderer'](_0x521031){const _0x3115b5={_0xf324d4:0x56f,_0x5d04f7:0x53c,_0x53caa4:0x8bc,_0x36e606:0x667,_0x37e2f7:0x434,_0x30c361:0x31d,_0x8410ac:0x2da,_0x50142f:0x41e,_0x4cfb0a:0x848,_0x3a2c2f:0x993,_0x31efdc:0x3d2,_0x404d0c:0x1f8,_0x4eeccd:0x320,_0x396e37:0x2de},_0x449b74={_0x410332:0x635,_0x9877b:0x483,_0x115888:0x50b,_0x196334:0x367,_0x39ae69:0x481,_0x53f870:0x344,_0x35e735:0x367,_0x30e70b:0x26e,_0x467e47:0x59a,_0x967d2b:0x4a8,_0x12c881:0x306,_0x3e4585:0x413,_0x501c38:0x611,_0x1d87f0:0x3bb,_0x32872b:0x557,_0x2b8692:0x37a},_0x2b72ed={_0x565835:0xb8};function _0x59852e(_0x37cee3,_0x2e5ff8,_0x1a237e,_0x4039ff){return _0x7f0a6b(_0x37cee3-0x10c,_0x2e5ff8-0x48d,_0x37cee3,_0x4039ff-0x4d);}let _0x43b7c4=Ns({'reflowText':_0x521031['reflowText']??!0x0,'width':_0x521031['width']},{}),_0xee4e90=_0x43b7c4[_0x59852e(_0x3115b5._0xf324d4,0x6af,_0x3115b5._0x5d04f7,_0x3115b5._0x53caa4)][_0x465ff1(0x489,0x473,_0x3115b5._0x36e606,_0x3115b5._0x37e2f7)];function _0x465ff1(_0x3402f1,_0x3390a4,_0x1818b7,_0x569a55){return _0x7f0a6b(_0x3402f1-0x144,_0x3390a4-_0x2b72ed._0x565835,_0x3402f1,_0x569a55-0x75);}_0x43b7c4[_0x465ff1(_0x3115b5._0x30c361,_0x3115b5._0x8410ac,0x246,_0x3115b5._0x50142f)][_0x59852e(0xa61,_0x3115b5._0x4cfb0a,_0x3115b5._0x3a2c2f,0x814)]=function(_0x3d728d){const _0x287031={_0x190497:0x3c1};function _0x297f03(_0x506870,_0x267854,_0x26e83b,_0xd6822f){return _0x59852e(_0x26e83b,_0x506870- -0x203,_0x26e83b-0x5c,_0xd6822f-0x163);}function _0x172959(_0x472fe7,_0x8b3f89,_0x74dbb,_0x102620){return _0x59852e(_0x102620,_0x74dbb- -_0x287031._0x190497,_0x74dbb-0x1db,_0x102620-0xd8);}return typeof _0x3d728d=='object'&&_0x3d728d['tokens']&&Array[_0x172959(0x3b4,_0x449b74._0x410332,_0x449b74._0x9877b,_0x449b74._0x115888)](_0x3d728d[_0x297f03(_0x449b74._0x196334,0x567,_0x449b74._0x39ae69,_0x449b74._0x53f870)])&&_0x3d728d[_0x297f03(_0x449b74._0x35e735,0x29f,_0x449b74._0x30e70b,_0x449b74._0x467e47)][_0x172959(_0x449b74._0x967d2b,0x41b,_0x449b74._0x12c881,_0x449b74._0x3e4585)]>0x0&&this[_0x297f03(0x556,0x78d,_0x449b74._0x501c38,0x4db)]?.['parseInline']?this['parser'][_0x297f03(_0x449b74._0x1d87f0,_0x449b74._0x32872b,0x3da,0x1af)](_0x3d728d['tokens']):_0xee4e90[_0x297f03(0x517,0x345,_0x449b74._0x2b8692,0x38f)](this,_0x3d728d);},this[_0x465ff1(_0x3115b5._0x31efdc,_0x3115b5._0x404d0c,_0x3115b5._0x4eeccd,0x124)][_0x465ff1(0x3dc,0x475,0x3c4,_0x3115b5._0x396e37)](_0x43b7c4);}},Os=Or[_0x5318c5(0x11a,0x274,0x29f,0x2b6)](),$r=class{constructor(){const _0x4527a6={_0x24090e:0xa8},_0x2bb077={_0x39afdc:0x8a};this['cache']=new Map();function _0x569a67(_0x133e97,_0x1f160e,_0x56281c,_0x452fa0){return _0x7f0a6b(_0x133e97-_0x2bb077._0x39afdc,_0x56281c- -0x21f,_0x452fa0,_0x452fa0-0x137);}this[_0x569a67(-0x194,-0x5d,-_0x4527a6._0x24090e,-0x142)]=0x1388,this['maxSize']=0x64;}['get'](_0x316473,_0x16628a){const _0x5b4f5b={_0x41120b:0x273,_0xb9ebcf:0x3be,_0x11fb9a:0x1d7,_0x56f50c:0x113,_0x2a9c1c:0x252,_0x52ee00:0x35b,_0x35d095:0x478,_0x4d7a2d:0x398,_0xf88811:0x114,_0x7bee55:0x310,_0x2e2880:0x10d,_0x3a1936:0x77,_0x27aac6:0x88,_0xde444d:0x5f,_0x29c840:0x58,_0xe8e832:0x117,_0x37cc80:0x1b0,_0x181a68:0x1cb},_0x13a67e={_0x239000:0x6e};let _0x26fef3=this[_0x20d7c8(_0x5b4f5b._0x41120b,_0x5b4f5b._0xb9ebcf,0x3de,0x5f5)](_0x316473,_0x16628a),_0x1f64c4=this['cache'][_0x261233(0x30b,_0x5b4f5b._0x11fb9a,0x503,_0x5b4f5b._0x56f50c)](_0x26fef3);function _0x261233(_0x53b6c2,_0x2b26ae,_0x445edf,_0x601111){return _0x7f0a6b(_0x53b6c2-0xa8,_0x53b6c2-0x6a,_0x2b26ae,_0x601111-0x101);}function _0x20d7c8(_0x4f5803,_0x3dba54,_0x4bebf5,_0x1a19d8){return _0x5318c5(_0x4f5803-0x8b,_0x1a19d8,_0x4bebf5-0x9e,_0x4bebf5-_0x13a67e._0x239000);}return _0x1f64c4?Date['now']()-_0x1f64c4[_0x20d7c8(_0x5b4f5b._0x2a9c1c,_0x5b4f5b._0x52ee00,_0x5b4f5b._0x35d095,_0x5b4f5b._0x4d7a2d)]>this[_0x20d7c8(-_0x5b4f5b._0xf88811,_0x5b4f5b._0x7bee55,_0x5b4f5b._0x2e2880,0x246)]?(this[_0x20d7c8(-_0x5b4f5b._0x3a1936,-_0x5b4f5b._0x27aac6,_0x5b4f5b._0xde444d,_0x5b4f5b._0x29c840)][_0x20d7c8(_0x5b4f5b._0xe8e832,_0x5b4f5b._0x37cc80,_0x5b4f5b._0x181a68,0xcb)](_0x26fef3),null):_0x1f64c4['result']:null;}[_0x7f0a6b(-0x156,0xc0,-0x6e,-0x38)](_0x4acdc6,_0x36c6c8,_0x4375ff){const _0x450053={_0x4847a6:0x78c,_0x1993de:0x62d,_0x2eb3ba:0x350,_0x19b867:0x40d,_0x466bbe:0x616,_0x26bfd0:0x230,_0x3133ea:0x2d0,_0x5af1e4:0x560,_0x464ffc:0x4b6,_0x5f9b0d:0x56d,_0x20101a:0x579,_0x144df0:0x66d,_0x1d1f38:0x3b1,_0x29431c:0x325,_0xbdf3d0:0x3ad,_0x150a5c:0x431,_0xddbb48:0x463},_0x4b56fe={_0x23d476:0xa},_0x1e6d99={_0x106fda:0x82};let _0x205a19=this[_0x464579(0x9b6,0x57e,_0x450053._0x4847a6,_0x450053._0x1993de)](_0x4acdc6,_0x36c6c8);if(this[_0x464579(_0x450053._0x2eb3ba,0x259,_0x450053._0x19b867,_0x450053._0x466bbe)]['size']>=this['maxSize']){let _0x33d8db=this[_0x464579(_0x450053._0x26bfd0,_0x450053._0x3133ea,_0x450053._0x19b867,_0x450053._0x5af1e4)][_0xec3bca(_0x450053._0x464ffc,0x5bf,0x82a,0x637)]()['next']()[_0x464579(0x3c2,0x307,0x48b,0x4a7)];_0x33d8db&&this['cache'][_0x464579(0x4ab,_0x450053._0x5f9b0d,_0x450053._0x20101a,_0x450053._0x144df0)](_0x33d8db);}function _0x464579(_0x2a8abe,_0x2d71c3,_0x5dd134,_0x40ffac){return _0x5318c5(_0x2a8abe-_0x1e6d99._0x106fda,_0x2d71c3,_0x5dd134-0x130,_0x5dd134-0x41c);}function _0xec3bca(_0x395196,_0x45aa20,_0x55c637,_0x504f3c){return _0x5318c5(_0x395196-_0x4b56fe._0x23d476,_0x45aa20,_0x55c637-0x32,_0x504f3c-0x566);}this[_0xec3bca(_0x450053._0x1d1f38,_0x450053._0x29431c,_0x450053._0xbdf3d0,0x557)][_0xec3bca(0x5b0,0x346,0x6c7,0x54e)](_0x205a19,{'content':_0x4acdc6,'timestamp':Date[_0x464579(0x626,0x65a,_0x450053._0x150a5c,_0x450053._0xddbb48)](),'result':_0x4375ff});}['generateKey'](_0x20760e,_0x231017){const _0x848ada={_0x5bbd35:0x101,_0x52dd50:0x1ed,_0x27b0da:0x68,_0x3cc9b7:0xfd},_0xe6fb38={_0xc6278a:0xb1,_0x3d54d1:0x2a2,_0x564f37:0x126},_0x4065cf={_0x267afa:0x441,_0x20e3f2:0x125};function _0x3879b2(_0x4b9ef3,_0x15c316,_0x4dfd5a,_0x4239a9){return _0x7f0a6b(_0x4b9ef3-0x66,_0x4239a9-_0x4065cf._0x267afa,_0x15c316,_0x4239a9-_0x4065cf._0x20e3f2);}function _0x37074c(_0x4b3756,_0x210f29,_0x455c63,_0x2799f1){return _0x7f0a6b(_0x4b3756-_0xe6fb38._0xc6278a,_0x2799f1- -_0xe6fb38._0x3d54d1,_0x210f29,_0x2799f1-_0xe6fb38._0x564f37);}return _0x231017+':'+_0x20760e[_0x37074c(_0x848ada._0x5bbd35,-_0x848ada._0x52dd50,0x137,-_0x848ada._0x27b0da)]+':'+_0x20760e[_0x37074c(-0x164,-_0x848ada._0x3cc9b7,0x61,-0x5e)](0x0,0x64);}['clear'](){const _0x26e8c9={_0x2fbf97:0x115,_0x22dca1:0xc,_0x2f90dd:0x38f,_0x47ff5f:0x6a},_0x3709a6={_0xa5dedc:0xd6},_0x12cdc4={_0x7dc81f:0x101,_0x411c6b:0x1};function _0x266638(_0x2c6fcb,_0x4756eb,_0x292cd0,_0x255f0c){return _0x7f0a6b(_0x2c6fcb-_0x12cdc4._0x7dc81f,_0x255f0c-_0x12cdc4._0x411c6b,_0x292cd0,_0x255f0c-0x35);}function _0x5b1910(_0x1b6345,_0x5d8046,_0x17ed43,_0x1350c6){return _0x5318c5(_0x1b6345-_0x3709a6._0xa5dedc,_0x1350c6,_0x17ed43-0x116,_0x1b6345-0x124);}this[_0x5b1910(_0x26e8c9._0x2fbf97,-0x58,_0x26e8c9._0x22dca1,0x125)][_0x5b1910(0x18d,_0x26e8c9._0x2f90dd,_0x26e8c9._0x47ff5f,0xc6)]();}},Io=new $r();import{useRef as _0x1a635d,useEffect as _0x57178d,useState as _0x2d2b38}from'react';var Dc=({memPersist:_0x30744e=!0x1,appendLine:_0x42d8d4,updateLine:_0x38d476,updateLineMetadata:_0x42db74,handleError:_0x5a83e4})=>{const _0xd19745={_0x54d752:0x2a9,_0x1be575:0x3aa,_0x3dadf9:0x21e,_0xb9b4d9:0x1cb,_0x1ca4e7:0x1e1},_0x128089={_0x1879cd:0x84a,_0x52f629:0x72f,_0x22a658:0x7e2,_0x537825:0x5e7,_0x48964b:0x5bc,_0x16e1b1:0x54f,_0x2aeeed:0x641},_0x6e761b={_0x40104d:0x87},_0x18f301={_0x2d1993:0x2bb,_0xf5f86c:0x55},_0x9e46bd={_0x1cb6ec:0x636,_0xa70956:0x6d3,_0x992d5b:0x76a,_0x574150:0x8d3,_0xa46e40:0x9d},_0x4ec1f3={_0x5c056b:0x7d8,_0x158ae9:0x849};let [_0x218a30,_0x33e19a]=_0x2d2b38(_0x5c1e51(_0xd19745._0x54d752,_0xd19745._0x1be575,0x4a6,0x315)),{toolApprovalMode:_0x452ead}=Re(),_0x68c788=_0x1a635d({'appendLine':_0x42d8d4,'updateLine':_0x38d476,'updateLineMetadata':_0x42db74,'handleError':_0x5a83e4}),_0x59ba43=async()=>{const _0x42c184={_0x22a606:0x3};function _0x46c3dc(_0x124603,_0x3d10d4,_0x20df8e,_0x2b912d){return _0x5c1e51(_0x124603-0xf2,_0x3d10d4-_0x42c184._0x22a606,_0x3d10d4,_0x124603-0x451);}await ce[_0x46c3dc(_0x4ec1f3._0x5c056b,0x703,_0x4ec1f3._0x158ae9,0x602)]();},_0x43f7fa=async(_0x387808,_0x1c6997=!0x1)=>{const _0x35a4d3={_0x3d66b8:0x17e},_0x1b7086={_0x1a9b83:0x136,_0x44e7cd:0x1c8,_0x5cb9a7:0x13b};function _0x4988de(_0x58b3ce,_0x140089,_0x2eaecc,_0x5ac28b){return _0x5c1e51(_0x58b3ce-_0x1b7086._0x1a9b83,_0x140089-_0x1b7086._0x44e7cd,_0x2eaecc,_0x58b3ce- -_0x1b7086._0x5cb9a7);}_0x1c6997&&(_0x33e19a('Initializing'),await ce[_0x57d001(_0x9e46bd._0x1cb6ec,_0x9e46bd._0xa70956,0x60b,_0x9e46bd._0x992d5b)](),ce[_0x57d001(0x71e,0x602,_0x9e46bd._0x574150,0x6a8)]());let _0x23a70f={'memPersist':_0x30744e,'streamingChunks':!0x0,..._0x387808??{}},_0x21651c=await ce['init'](_0x23a70f,_0x68c788[_0x4988de(0x143,-_0x9e46bd._0xa46e40,0x23,0x373)]);function _0x57d001(_0x10b5e2,_0x15a669,_0x55dfde,_0x1f44de){return _0x5c1e51(_0x10b5e2-_0x35a4d3._0x3d66b8,_0x15a669-0x189,_0x15a669,_0x10b5e2-0x2af);}return _0x33e19a(_0x4988de(0x165,0xbc,0x82,-0xa6)),_0x21651c;},_0x451acd=async _0x333a99=>_0x43f7fa(_0x333a99,!0x0);function _0x27961(_0x4c0d90,_0x3f47cf,_0x20ec02,_0x305379){return _0x7f0a6b(_0x4c0d90-0xf1,_0x305379- -_0x18f301._0x2d1993,_0x3f47cf,_0x305379-_0x18f301._0xf5f86c);}function _0x5c1e51(_0x35aac6,_0x12e97b,_0x4e4ae3,_0x22bc06){return _0x7f0a6b(_0x35aac6-0x181,_0x22bc06- -_0x6e761b._0x40104d,_0x4e4ae3,_0x22bc06-0x1cb);}return _0x57178d(()=>{ce['getOrchestrator']()&&ce['updateConfig']({'requireToolApproval':_0x452ead});},[_0x452ead]),_0x57178d(()=>{const _0x4acb03={_0x590986:0x28,_0x17db89:0x1a0,_0x1d6e7b:0x277},_0xda1bc0={_0x3f27e7:0x464},_0x1ad212={_0x1e5c7c:0xfa},_0x55e933={_0x23a944:0x5c};let _0x1ce2ad=!0x1;function _0x1810e7(_0x1237d1,_0x5a3688,_0x211b1a,_0x43b30d){return _0x5c1e51(_0x1237d1-0x1d4,_0x5a3688-_0x55e933._0x23a944,_0x1237d1,_0x43b30d-0x3da);}function _0x252e50(_0x212d3d,_0x38586f,_0x2bd878,_0x3a1415){return _0x5c1e51(_0x212d3d-_0x1ad212._0x1e5c7c,_0x38586f-0x17,_0x3a1415,_0x2bd878-0x347);}return ce[_0x1810e7(_0x128089._0x1879cd,0x588,0x821,_0x128089._0x52f629)]()===_0x252e50(0x547,_0x128089._0x22a658,_0x128089._0x537825,0x758)?(_0x33e19a(_0x1810e7(_0x128089._0x48964b,_0x128089._0x16e1b1,_0x128089._0x2aeeed,0x67a)),()=>{_0x1ce2ad=!0x0;}):(((async()=>{function _0x42e1c3(_0x5d458c,_0x2c3aa3,_0x43cb2e,_0x400e88){return _0x1810e7(_0x43cb2e,_0x2c3aa3-0x7b,_0x43cb2e-0x44,_0x400e88- -_0xda1bc0._0x3f27e7);}function _0x12b32f(_0x2fd0d1,_0x564e6c,_0x3c6c34,_0x215ade){return _0x252e50(_0x2fd0d1-0x32,_0x564e6c-0x2a,_0x564e6c- -0x279,_0x215ade);}try{if(await _0x43f7fa(),_0x1ce2ad)return;}catch(_0x387488){let _0x1ff74d=_0x387488 instanceof Error?_0x387488[_0x42e1c3(0x88,0x1b5,_0x4acb03._0x590986,0x11b)]:String(_0x387488);_0x5a83e4(_0x42e1c3(0x247,0x19e,-0x14,_0x4acb03._0x17db89)+_0x1ff74d),_0x1ce2ad||_0x33e19a(_0x42e1c3(0x29e,_0x4acb03._0x1d6e7b,0x189,0x2b2));}})()),()=>{_0x1ce2ad=!0x0;});},[]),{'status':_0x218a30,'cleanup':_0x59ba43,'reinit':_0x451acd,'send':async(_0x5a86a4,_0x15be86={})=>ce[_0x5c1e51(-0x13c,0x1cb,0x2c4,0x95)](_0x5a86a4,_0x15be86),'createNewConversation':async _0x5ac062=>await ce[_0x5c1e51(0x35c,-0x5a,0xf7,0x198)](_0x5ac062),'sessionId':ce[_0x27961(_0xd19745._0x3dadf9,0x23b,_0xd19745._0xb9b4d9,_0xd19745._0x1ca4e7)]()['sessionId']};};import{useEffect as _0x5a0634,useRef as _0x25e323,useCallback as _0xcb0838}from'react';var Fc=({busy:_0x146303,pendingApproval:_0x240869,inputAreaRef:_0x5a52da,onNotification:_0x4cce54})=>{const _0x1332e8={_0x5920da:0x56c,_0x47e455:0x3c3,_0x33398d:0xfd,_0x325e74:0xb0,_0xb3b024:0x341,_0x225f11:0x13},_0x406e7a={_0xde8edc:0x1fa},_0x5b3c49={_0x165d36:0x92,_0x4fcc2b:0x108,_0x58771a:0x5e,_0x2d5a0d:0x452,_0x38d2cb:0x2ed,_0x1e57f2:0x292,_0x19f1d7:0x89,_0xc0e0ce:0x3c2,_0x579172:0x24f,_0x59e56b:0x267,_0x2f30ee:0x2f,_0x16a187:0x208,_0x42392d:0x33,_0x268201:0x13b,_0x5335d8:0x69,_0x1f66b9:0x362,_0x14bef5:0x11f,_0x1afeda:0xba,_0x28486a:0x24d,_0x3021a7:0x224,_0x3db465:0xfa,_0x72bfaa:0x9f,_0x1b70d7:0x360,_0x227332:0x193,_0x3bbb05:0x11c,_0x49815b:0x2f2,_0x4791bb:0x23,_0x5727df:0x1aa,_0x4da470:0x233,_0x49482c:0x1eb,_0x3228d5:0x219,_0x5e460a:0x441,_0x1ab3f1:0x361,_0x12b94c:0x2d8,_0x1edb21:0x347,_0x18ccf9:0x42e,_0xc72cfd:0x1f9},_0x4ddec2={_0x42750f:0x709,_0xb9ea17:0x6c5,_0xa7c8da:0x742,_0x449730:0x78a,_0x2ee30e:0x960,_0x21139e:0x7fb,_0x255a6f:0x63c,_0x18cf85:0x6f0,_0x54a3da:0x657,_0x423181:0x6dd,_0x4f9e33:0x5c2,_0x4429b3:0x61a,_0x1317b8:0x70d,_0x2b4008:0x3cb,_0x5b957b:0x4b0,_0x4adec4:0x34d,_0x2697cd:0x526,_0x4860ce:0x4a3,_0x3de0e4:0x807,_0x1b807c:0xa17,_0x502884:0x9a1,_0x252a79:0x4e1,_0x56d1cd:0x60a,_0x8c11cf:0x5fb,_0x2a987c:0x6e4,_0x38fc22:0x838,_0x11fc84:0x8dc,_0x22397f:0x51f,_0xd4e3b:0x5b5,_0x2f82ce:0x9e6},_0x592ae2={_0x26acc9:0x192};let _0x253290=_0x25e323(!0x1),_0xeb1e92=_0xcb0838(async()=>{const _0x12a657={_0x388b1d:0x653,_0x3a512c:0x4ef,_0x5ee8bf:0x9d,_0x3c4cc7:0x171,_0x30d4f6:0x270,_0x4ca21f:0x1d5,_0x18038c:0xec,_0x4445a6:0x277},_0x4cc1f6={_0x3e5eb8:0x184,_0x1664f1:0x26},_0x43deb2={_0x1c5635:0x389};function _0x9423cd(_0x29389c,_0x4410fe,_0x2958b3,_0x3aed99){return _0xa481(_0x29389c-_0x43deb2._0x1c5635,_0x2958b3);}function _0x1882b2(_0x2ddea8,_0x5a2b25,_0x134d2b,_0x1e0348){return _0xa481(_0x5a2b25-_0x592ae2._0x26acc9,_0x2ddea8);}if(!_0x253290[_0x9423cd(0x742,_0x4ddec2._0x42750f,0x50a,_0x4ddec2._0xb9ea17)])_0x253290[_0x9423cd(_0x4ddec2._0xa7c8da,0x801,0x51b,_0x4ddec2._0x449730)]=!0x0,_0x4cce54(_0x9423cd(0x788,_0x4ddec2._0x2ee30e,_0x4ddec2._0x21139e,0x637),0x3e8),setTimeout(()=>{_0x253290['current']=!0x1;},0x3e8);else{_0x253290[_0x1882b2(0x54b,0x54b,_0x4ddec2._0x255a6f,_0x4ddec2._0x18cf85)]=!0x1,_0x4cce54(null);let _0x347b73=await import(_0x9423cd(_0x4ddec2._0x54a3da,0x5e5,_0x4ddec2._0x423181,0x625));B[_0x9423cd(_0x4ddec2._0x4f9e33,_0x4ddec2._0x4429b3,0x4b9,_0x4ddec2._0x1317b8)]('ui:exit:start'),B[_0x1882b2(0x23e,_0x4ddec2._0x2b4008,0x231,0x544)](_0x1882b2(_0x4ddec2._0x5b957b,0x4ed,0x2bb,_0x4ddec2._0x4adec4),{'id':_0x347b73[_0x1882b2(0x76d,0x610,0x6e7,_0x4ddec2._0x2697cd)](),'type':_0x1882b2(0x6c5,0x66a,_0x4ddec2._0x4860ce,_0x4ddec2._0x3de0e4),'content':_0x9423cd(0x8f7,_0x4ddec2._0x1b807c,0x813,_0x4ddec2._0x502884),'metadata':{'timestamp':new Date()[_0x1882b2(0x726,0x6fd,_0x4ddec2._0x252a79,0x5ed)]()},'color':'cyan'}),await ce?.['cleanup'](),B[_0x9423cd(_0x4ddec2._0x4f9e33,_0x4ddec2._0x56d1cd,0x434,_0x4ddec2._0x8c11cf)](_0x9423cd(_0x4ddec2._0x2a987c,0x6aa,0x8ea,0x6dc),{'id':_0x347b73['randomUUID'](),'type':_0x9423cd(0x861,0xa0a,_0x4ddec2._0x38fc22,_0x4ddec2._0x11fc84),'content':_0x1882b2(_0x4ddec2._0x22397f,0x55e,_0x4ddec2._0xd4e3b,0x3f4),'metadata':{'timestamp':new Date()[_0x9423cd(0x8f4,_0x4ddec2._0x2f82ce,0x79e,0x7fa)]()},'color':'cyan'}),setTimeout(()=>{function _0x226c3a(_0xcf6569,_0x29775b,_0x3fd18b,_0xe1ed00){return _0x9423cd(_0x29775b- -0x16,_0x29775b-0x177,_0x3fd18b,_0xe1ed00-0x101);}function _0x5a6703(_0x34c961,_0x19a9b7,_0x389111,_0x271232){return _0x1882b2(_0x34c961,_0x271232- -0x19d,_0x389111-_0x4cc1f6._0x3e5eb8,_0x271232-_0x4cc1f6._0x1664f1);}process[_0x5a6703(_0x12a657._0x388b1d,0x6e4,0x61b,_0x12a657._0x3a512c)][_0x5a6703(0x5b,-_0x12a657._0x5ee8bf,0x80,_0x12a657._0x3c4cc7)](_0x5a6703(0x364,0x8f,_0x12a657._0x30d4f6,0x1ba)),process[_0x5a6703(_0x12a657._0x4ca21f,0x404,_0x12a657._0x18038c,_0x12a657._0x4445a6)](0x0);},0x1f4);}},[_0x4cce54]),_0x3efb90=_0xcb0838(async()=>{const _0x3ca3d9={_0x4119a3:0x67};function _0x337adb(_0x1ecad1,_0x3c77e7,_0x3263a5,_0x5df1c2){return _0xa481(_0x3263a5- -0x15b,_0x5df1c2);}function _0x13e6ca(_0x428aa6,_0x362a73,_0x1b74de,_0x5cfbba){return _0xa481(_0x362a73-_0x3ca3d9._0x4119a3,_0x5cfbba);}if(!(_0x146303||_0x240869))try{let {hasClipboardFiles:_0x22e744,getClipboardFiles:_0x5f18a6}=await import(_0x337adb(_0x5b3c49._0x165d36,_0x5b3c49._0x4fcc2b,_0x5b3c49._0x58771a,-0xf6));if(_0x4cce54(_0x337adb(_0x5b3c49._0x2d5a0d,_0x5b3c49._0x38d2cb,_0x5b3c49._0x1e57f2,0xf6),0x3e8),await _0x22e744()){_0x4cce54(_0x337adb(-_0x5b3c49._0x19f1d7,0x38d,0x162,-0xb3),0x3e8);let _0x36a5fc=await _0x5f18a6();if(_0x36a5fc[_0x337adb(0x32,_0x5b3c49._0xc0e0ce,0x193,_0x5b3c49._0x579172)]>0x0){let _0x453844=_0x36a5fc[_0x337adb(0x357,0x10c,_0x5b3c49._0x59e56b,0x292)](_0x3f0036=>_0x3f0036[_0x337adb(0x203,0xc8,0xdb,0x170)]),_0x1d31f5=_0x36a5fc[_0x337adb(_0x5b3c49._0x2f30ee,_0x5b3c49._0x16a187,_0x5b3c49._0x59e56b,0x2b4)]((_0x4ac938,_0x3bfce2)=>'[Image:Pasted\x20#'+(_0x3bfce2+0x1)+']')[_0x337adb(0x158,_0x5b3c49._0x42392d,_0x5b3c49._0x268201,-_0x5b3c49._0x5335d8)]('\x20');_0x5a52da[_0x13e6ca(0x44a,0x420,_0x5b3c49._0x1f66b9,0x641)]?.[_0x337adb(0x9e,-_0x5b3c49._0x14bef5,_0x5b3c49._0x1afeda,_0x5b3c49._0x28486a)](_0x1d31f5),globalThis[_0x337adb(0x12c,0x2c7,0x263,0x235)]=_0x453844;let _0x592cd2=Math['round'](_0x453844[_0x337adb(0x41e,0x30e,_0x5b3c49._0x3021a7,_0x5b3c49._0x3db465)]((_0x4fa784,_0x304c64)=>_0x4fa784+_0x304c64[_0x337adb(-0x35,0x2e3,0x193,0x2c8)],0x0)/0x400);_0x4cce54(_0x36a5fc[_0x337adb(-_0x5b3c49._0x72bfaa,_0x5b3c49._0x1b70d7,_0x5b3c49._0x227332,_0x5b3c49._0x3bbb05)]+_0x13e6ca(0x3cc,0x3df,0x53e,_0x5b3c49._0x49815b)+(_0x36a5fc[_0x337adb(-_0x5b3c49._0x4791bb,-0x8b,_0x5b3c49._0x227332,_0x5b3c49._0x5727df)]>0x1?'s':'')+_0x13e6ca(0x338,0x28c,_0x5b3c49._0x4da470,_0x5b3c49._0x49482c)+_0x592cd2+_0x13e6ca(0x227,_0x5b3c49._0x3228d5,_0x5b3c49._0x5e460a,-0x3),0x7d0);}else _0x4cce54(_0x13e6ca(_0x5b3c49._0x1ab3f1,0x26a,0x36e,_0x5b3c49._0x12b94c),0x3e8);}}catch(_0x32a612){let _0x5dfa6e=_0x32a612 instanceof Error?_0x32a612[_0x13e6ca(0x203,_0x5b3c49._0x1edb21,0x1dc,0x50b)]:_0x13e6ca(_0x5b3c49._0x18ccf9,_0x5b3c49._0xc72cfd,0x43,0x6d);_0x4cce54('Failed\x20to\x20paste\x20from\x20clipboard:\x20'+_0x5dfa6e,0x7d0);}},[_0x146303,_0x240869,_0x4cce54,_0x5a52da]);function _0x1ffd28(_0xa214a4,_0x54c736,_0xf0c4cd,_0x304b8c){return _0x5318c5(_0xa214a4-0xbc,_0xf0c4cd,_0xf0c4cd-0xce,_0x304b8c- -_0x406e7a._0xde8edc);}_0x5a0634(()=>(B['on'](_0x1ffd28(0x3e6,0x289,0x181,0x213),_0xeb1e92),B['on']('ui:keyboard:paste',_0x3efb90),()=>{function _0x42edc1(_0xac4098,_0x213a6e,_0x405317,_0x4b7ddd){return _0x1ffd28(_0xac4098-0xb9,_0x213a6e-0x4,_0x4b7ddd,_0x405317-0x1b0);}function _0xaa103e(_0x2fd293,_0x4465b3,_0x187634,_0x3ccbb){return _0x1ffd28(_0x2fd293-0x1b5,_0x4465b3-0x25,_0x3ccbb,_0x2fd293-0x111);}B['off'](_0x42edc1(0x32b,_0x1332e8._0x5920da,_0x1332e8._0x47e455,0x49c),_0xeb1e92),B[_0xaa103e(_0x1332e8._0x33398d,0x1f,-_0x1332e8._0x325e74,0x116)](_0xaa103e(0x17a,_0x1332e8._0xb3b024,0x239,_0x1332e8._0x225f11),_0x3efb90);}),[_0xeb1e92,_0x3efb90]);},Ht=()=>{let {notification:_0x3421f4,setNotification:_0x4f1b0e}=fs();return{'notification':_0x3421f4,'setNotification':_0x4f1b0e};};function te(){return $t();}import{useCallback as _0x14c494}from'react';import*as _0x5a6755 from'crypto';var Ur=class{constructor(){const _0x1c1b22={_0x4b8804:0x570,_0x40456b:0x5ad,_0x3215a3:0x3ed},_0x84be83={_0x2b3a5b:0x2ed},_0x28412d={_0x545b10:0x40,_0x14fa7a:0x232};this['commands']=new Map(),this[_0x270eda(0x346,_0x1c1b22._0x4b8804,0x49b,0x41b)]=null;function _0x270eda(_0x54d15e,_0x58c094,_0xcd8306,_0x1c3be2){return _0x5318c5(_0x54d15e-0xaa,_0x54d15e,_0xcd8306-_0x28412d._0x545b10,_0xcd8306-_0x28412d._0x14fa7a);}this[_0x1bee42(0x54d,_0x1c1b22._0x40456b,0x58a,0x4ad)]=null;function _0x1bee42(_0x19b521,_0x47444a,_0x312d90,_0x32bc68){return _0x7f0a6b(_0x19b521-0x1b5,_0x312d90-_0x84be83._0x2b3a5b,_0x32bc68,_0x32bc68-0x1d9);}this[_0x270eda(_0x1c1b22._0x3215a3,0x35b,0x37e,0x39e)]=null;}[_0x7f0a6b(0x112,0x123,-0x8f,0xac)](_0x2503e5){const _0x154db7={_0x257317:0x295,_0x30656b:0x7,_0x13778d:0x1f9,_0x1c733b:0x35b,_0x564bf3:0x1f6},_0x3ed96b={_0x58d50c:0xa5,_0x4afdae:0x335};function _0x2e1624(_0x490594,_0xb9b1e0,_0x4c3f10,_0x2a3e16){return _0x5318c5(_0x490594-_0x3ed96b._0x58d50c,_0xb9b1e0,_0x4c3f10-0x165,_0x2a3e16-_0x3ed96b._0x4afdae);}function _0x513c7a(_0x10176d,_0x209a24,_0x31c557,_0x5da2ce){return _0x5318c5(_0x10176d-0xf3,_0x10176d,_0x31c557-0x54,_0x209a24- -0x1e1);}if(this[_0x513c7a(_0x154db7._0x257317,0x244,0x56,0x2e4)][_0x513c7a(-_0x154db7._0x30656b,-_0x154db7._0x13778d,-_0x154db7._0x1c733b,-_0x154db7._0x564bf3)](_0x2503e5['id'],_0x2503e5),_0x2503e5['initialize']){let _0x4de9cd=this['createContext'](_0x2503e5['id']);_0x2503e5['initialize'](_0x4de9cd);}}[_0x7f0a6b(0x18d,0x2a1,0x40e,0x36f)](_0x2245bf){const _0x3f0c13={_0x5d75b3:0x710,_0x225593:0x2a1},_0xab751b={_0x267f2b:0x4c};function _0x3489e1(_0x233622,_0x4984ae,_0x20c333,_0x41a7fc){return _0x7f0a6b(_0x233622-0x1ba,_0x4984ae-0x474,_0x41a7fc,_0x41a7fc-_0xab751b._0x267f2b);}function _0x453315(_0x3d86ff,_0x42db63,_0x2dcb29,_0x261380){return _0x5318c5(_0x3d86ff-0xf0,_0x2dcb29,_0x2dcb29-0x73,_0x42db63-0xd8);}return this[_0x453315(_0x3f0c13._0x5d75b3,0x4fd,0x466,0x5f0)][_0x453315(0x2ea,_0x3f0c13._0x225593,0x2ba,0x44a)](_0x2245bf);}['find'](_0x1d27ea){const _0x51210b={_0x48568b:0x387,_0x46f135:0x741},_0x5de68b={_0x25b06c:0x17},_0x222867={_0x190eff:0x1ce,_0x2e23c6:0x477};function _0x298b3a(_0x7d7c2c,_0x530658,_0x214433,_0x1f225c){return _0x5318c5(_0x7d7c2c-0x1ec,_0x214433,_0x214433-_0x222867._0x190eff,_0x530658-_0x222867._0x2e23c6);}function _0xa7dcdb(_0xec6d3f,_0x365b65,_0x1e56fe,_0x1fcda0){return _0x5318c5(_0xec6d3f-_0x5de68b._0x25b06c,_0x1e56fe,_0x1e56fe-0x1a8,_0x365b65-0x2d2);}return Array['from'](this['commands'][_0xa7dcdb(0x416,0x58d,_0x51210b._0x48568b,0x6f5)]())[_0x298b3a(0x564,0x596,_0x51210b._0x46f135,0x563)](_0x1d27ea);}[_0x5318c5(0x2be,0x373,0x27e,0x412)](_0xce134={}){const _0x4fcd5c={_0x278290:0x233,_0x5e2ac6:0x475,_0x25527f:0x60,_0x502dac:0x14,_0x8c10ae:0xd7,_0x1e7137:0x31c,_0x16f01b:0xfc},_0x1f68b7={_0x481c14:0x67,_0x428917:0x276},_0x2fdf21={_0x2c61ab:0x122},_0x3fef69={_0x25b2a1:0x1b9,_0x15e6da:0x21b},_0x394937={_0x21cf6f:0x164,_0x445d08:0x5f};function _0x1be761(_0x486189,_0x2b31d3,_0x5832d9,_0x441597){return _0x5318c5(_0x486189-0xfb,_0x441597,_0x5832d9-_0x394937._0x21cf6f,_0x486189- -_0x394937._0x445d08);}function _0x7ed476(_0x53f2c6,_0x4dc1f4,_0x305422,_0x376b10){return _0x5318c5(_0x53f2c6-_0x3fef69._0x25b2a1,_0x305422,_0x305422-0x45,_0x376b10- -_0x3fef69._0x15e6da);}let _0x318828=Array[_0x1be761(0xea,0x168,0x180,0x1d0)](this['commands'][_0x1be761(0x25c,_0x4fcd5c._0x278290,0x3d7,_0x4fcd5c._0x5e2ac6)]());return _0xce134[_0x7ed476(-0xc0,_0x4fcd5c._0x25527f,_0x4fcd5c._0x502dac,-_0x4fcd5c._0x8c10ae)]?_0x318828:_0x318828[_0x7ed476(-0x1ed,-0x17e,-_0x4fcd5c._0x1e7137,-_0x4fcd5c._0x16f01b)](_0xe5e71b=>{if(!_0xe5e71b['visible'])return!0x0;let _0x32405e=this['createContext'](_0xe5e71b['id']);function _0x26fe26(_0xad11ce,_0x26ed0f,_0x5cac41,_0x591e46){return _0x7ed476(_0xad11ce-0x19,_0x26ed0f-_0x2fdf21._0x2c61ab,_0x591e46,_0xad11ce-0xea);}return _0xe5e71b[_0x26fe26(0x139,_0x1f68b7._0x481c14,0x7,_0x1f68b7._0x428917)](_0x32405e);});}async[_0x7f0a6b(0x3a6,0x24f,0x469,0x1d0)](_0xf4f2f5){const _0x40449b={_0x2dfedc:0x258,_0x28e547:0x301,_0xeb14ad:0x152,_0x8ea48f:0x33f,_0x13ad79:0x336,_0x3338f3:0x3bd,_0x46d895:0x53,_0x4a6b32:0x12f,_0x48368b:0xfe,_0x1e5aff:0x272,_0xa66bf7:0x2aa,_0x17f261:0x3ed,_0x254636:0x3df,_0x5b94e0:0x218,_0x117f43:0x34,_0x43d6de:0x120,_0x3b7791:0x18c,_0xf98807:0x1a0,_0x271fac:0x4e3,_0x4198d2:0x1de,_0x48340c:0x300,_0x304bef:0x42c,_0x45cb87:0x36f,_0x38707e:0x680,_0xabb48:0x546,_0x27f939:0x328,_0x210d06:0x36e,_0x5876b3:0x640,_0xa313c0:0x4e0,_0x546595:0x41f,_0x15a006:0x764,_0x38069d:0x745,_0x2139c6:0x127,_0x5c1c41:0x258,_0x24c41f:0x22,_0x5f35d8:0x366,_0x1c738c:0x110},_0x133f0e={_0x48aca8:0x87};function _0xfa8b2a(_0x5b1fe8,_0x4fd366,_0x4b4b5f,_0x206977){return _0x5318c5(_0x5b1fe8-0x1a5,_0x206977,_0x4b4b5f-0x151,_0x4b4b5f-0x2d9);}function _0x4babad(_0x5b2589,_0x41d37c,_0x52f162,_0x588e68){return _0x7f0a6b(_0x5b2589-0xe1,_0x5b2589- -_0x133f0e._0x48aca8,_0x52f162,_0x588e68-0x4c);}try{let _0x5250ea=_0xf4f2f5[_0x4babad(_0x40449b._0x2dfedc,_0x40449b._0x28e547,_0x40449b._0xeb14ad,0x47a)]()[_0x4babad(_0x40449b._0x8ea48f,0x2cb,0x556,_0x40449b._0x8ea48f)]('\x20')[0x0],_0x20aab1=this[_0xfa8b2a(_0x40449b._0x13ad79,_0x40449b._0x3338f3,0x4a2,0x68a)](_0x5250ea);if(!_0x20aab1)return B[_0x4babad(0xfe,0x15d,_0x40449b._0x46d895,_0x40449b._0x4a6b32)](_0xfa8b2a(_0x40449b._0x48368b,_0x40449b._0x1e5aff,_0x40449b._0xa66bf7,0xa5),_0xfa8b2a(0x4d8,0x260,_0x40449b._0x17f261,0x479)+_0x5250ea),{'success':!0x1,'commandId':_0x5250ea,'error':new Error('Unknown\x20command:\x20'+_0x5250ea)};let _0x2ae1c2=this[_0xfa8b2a(0x28a,_0x40449b._0x254636,0x295,_0x40449b._0x5b94e0)](_0xf4f2f5);return _0x20aab1[_0x4babad(_0x40449b._0x117f43,_0x40449b._0x43d6de,-_0x40449b._0x3b7791,-_0x40449b._0xf98807)]&&await _0x20aab1[_0xfa8b2a(_0x40449b._0x271fac,0x3a2,0x2bc,0x3d0)](_0x2ae1c2),_0x20aab1[_0x4babad(0x19f,0x142,_0x40449b._0x4198d2,_0x40449b._0x48340c)]==='function'?(await _0x20aab1[_0xfa8b2a(0x5b6,0x445,0x5f6,0x5fb)](_0x2ae1c2),_0x20aab1[_0xfa8b2a(0x55a,0x4ca,0x5b0,_0x40449b._0x304bef)]&&await _0x20aab1['afterInvoke'](_0x2ae1c2),{'success':!0x0,'commandId':_0x5250ea}):_0x20aab1[_0x4babad(0x36e,_0x40449b._0x45cb87,0x505,0x596)]&&_0xf4f2f5['trim']()['split'](/\s+/)[_0xfa8b2a(0x2fb,0x4b4,0x43b,0x394)]>0x1?(await _0x20aab1['handler'](_0x2ae1c2),_0x20aab1[_0xfa8b2a(_0x40449b._0x38707e,_0x40449b._0xabb48,0x5b0,0x37e)]&&await _0x20aab1[_0x4babad(_0x40449b._0x27f939,0x105,_0x40449b._0x210d06,0x1b9)](_0x2ae1c2),{'success':!0x0,'commandId':_0x5250ea}):(this['setActive'](_0x5250ea,_0x2ae1c2),{'success':!0x0,'commandId':_0x5250ea});}catch(_0x50894e){let _0x31c08c=_0xf4f2f5[_0xfa8b2a(_0x40449b._0x5876b3,0x51b,_0x40449b._0xa313c0,_0x40449b._0x546595)]()[_0xfa8b2a(_0x40449b._0x15a006,0x70e,0x5c7,_0x40449b._0x38069d)]('\x20')[0x0];return B['emit'](_0xfa8b2a(_0x40449b._0x2139c6,0x478,0x2aa,_0x40449b._0x5c1c41),_0x4babad(0x442,0x539,0x63d,0x5b7)+(_0x50894e instanceof Error?_0x50894e[_0x4babad(0x1a5,-_0x40449b._0x24c41f,_0x40449b._0x5f35d8,_0x40449b._0x1c738c)]:String(_0x50894e))),{'success':!0x1,'commandId':_0x31c08c,'error':_0x50894e instanceof Error?_0x50894e:new Error(String(_0x50894e))};}}[_0x7f0a6b(0x5a8,0x40f,0x2e5,0x47d)](_0x103205,_0x465e72){const _0x20d4a0={_0x1083f5:0x11f,_0x34b601:0x2a4,_0x533d61:0x52c,_0x450756:0x71b,_0x3e3b39:0x747,_0x5d7e09:0x216,_0x57a414:0x2e1,_0xddb412:0x3ed,_0x1f6511:0x626,_0x27e014:0x254,_0x2cdc78:0x46a,_0x15de69:0x2f6,_0x242711:0x251},_0xb804fc={_0x4095f2:0x1a7,_0xe4a1ce:0xa9};let _0x307eaa=this['get'](_0x103205);if(!_0x307eaa||_0x307eaa['type']!==_0x4bbbb7(0x624,0x6fa,0x5cf,0x60d))return;function _0x42d07(_0x49d270,_0x21f4e9,_0x2f7536,_0x50c1e1){return _0x5318c5(_0x49d270-0x1c2,_0x2f7536,_0x2f7536-_0xb804fc._0x4095f2,_0x50c1e1- -_0xb804fc._0xe4a1ce);}this['activeCommand']&&this[_0x42d07(_0x20d4a0._0x1083f5,0x26d,0x259,_0x20d4a0._0x34b601)]();let _0x2f9582=_0x307eaa[_0x4bbbb7(_0x20d4a0._0x533d61,_0x20d4a0._0x450756,_0x20d4a0._0x3e3b39,0x723)]?_0x307eaa[_0x42d07(0x476,_0x20d4a0._0x5d7e09,0x341,_0x20d4a0._0x57a414)](_0x465e72):void 0x0;function _0x4bbbb7(_0x10ab13,_0xfaa0e9,_0xc854c3,_0x18a676){return _0x7f0a6b(_0x10ab13-0x16f,_0xc854c3-0x2e5,_0x10ab13,_0x18a676-0xc3);}this[_0x4bbbb7(0x6a2,_0x20d4a0._0xddb412,_0x20d4a0._0x1f6511,0x60d)]={'command':_0x307eaa,'context':_0x465e72,'state':_0x2f9582},B[_0x4bbbb7(_0x20d4a0._0x27e014,0x693,_0x20d4a0._0x2cdc78,_0x20d4a0._0x15de69)](_0x42d07(-0x1fd,-_0x20d4a0._0x242711,0x133,-0x4a),_0x103205);}[_0x5318c5(0x470,0x4b1,0x1a8,0x34d)](){const _0x5995f9={_0x156a44:0x17c,_0xb03bc0:0x202,_0xab12c8:0x167,_0xb39914:0xdc,_0x48ae82:0xa3,_0x4c3596:0xf,_0x323e97:0x32d,_0x585fba:0x3d7,_0x1ce790:0x70,_0x211cd7:0x1e7,_0x9ff86f:0x21d,_0x29640a:0x46,_0x3e25b0:0x258,_0x267ebc:0x6d,_0x1b138f:0xfa,_0x2bbfe1:0x100},_0x49f1c5={_0x4c42a3:0x14d},_0x4208b3={_0x4bfc15:0x1dc};function _0x69c9c5(_0x3d3cbc,_0x37f156,_0xfa01ec,_0x350319){return _0x5318c5(_0x3d3cbc-_0x4208b3._0x4bfc15,_0x3d3cbc,_0xfa01ec-0x182,_0xfa01ec-0x2d);}if(!this[_0x1f3b24(0x202,0x62,0x260,_0x5995f9._0x156a44)])return;let {command:_0x54ace2,context:_0x3fe545}=this[_0x1f3b24(_0x5995f9._0xb03bc0,0x409,0x3c4,0x20b)];if(_0x54ace2[_0x69c9c5(_0x5995f9._0xab12c8,_0x5995f9._0xb39914,_0x5995f9._0x48ae82,0x25d)])try{_0x54ace2[_0x1f3b24(_0x5995f9._0x4c3596,-0x18b,-0xed,0x139)](_0x3fe545);}catch(_0x48a671){console[_0x69c9c5(0x345,_0x5995f9._0x323e97,0x28f,_0x5995f9._0x585fba)]('Error\x20in\x20command\x20onExit\x20hook:',_0x48a671);}if(_0x54ace2[_0x1f3b24(0x270,0x144,0x4a4,_0x5995f9._0x1ce790)])try{_0x54ace2[_0x69c9c5(0x374,0x522,0x304,0x255)](_0x3fe545);}catch(_0x1c9e6c){console['error']('Error\x20in\x20command\x20afterInvoke\x20hook:',_0x1c9e6c);}function _0x1f3b24(_0x38778a,_0x28b2f9,_0xb89d3d,_0x2bf2e3){return _0x5318c5(_0x38778a-0x3d,_0x28b2f9,_0xb89d3d-_0x49f1c5._0x4c42a3,_0x38778a- -0x67);}this[_0x1f3b24(_0x5995f9._0xb03bc0,_0x5995f9._0x211cd7,0x9c,_0x5995f9._0x9ff86f)]=null,B[_0x1f3b24(_0x5995f9._0x29640a,0x3,_0x5995f9._0x3e25b0,-0x1ab)](_0x1f3b24(-_0x5995f9._0x267ebc,_0x5995f9._0x1b138f,-_0x5995f9._0x2bbfe1,0xb3),_0x54ace2['id']);}[_0x5318c5(0x320,0x449,0x30f,0x3b0)](){const _0x33f487={_0x44fb8e:0x4bc,_0x37b42b:0x508};function _0x291d07(_0x27b5c0,_0x897c0a,_0x2605e2,_0x3414f4){return _0x5318c5(_0x27b5c0-0x33,_0x2605e2,_0x2605e2-0x1ab,_0x27b5c0-0x253);}return this[_0x291d07(_0x33f487._0x44fb8e,_0x33f487._0x37b42b,0x6c0,0x5bd)];}[_0x5318c5(-0x1b3,-0x43,0x109,0x64)](_0x3ae858){const _0x2f0dde={_0x3d771c:0x347,_0xb5f40a:0x2b2,_0x2bcc8a:0x3fd,_0x22a107:0x2fb,_0x11808f:0x3fb},_0x5983a3={_0x4795bf:0x3e,_0x1faace:0x1ee,_0x4939d3:0x1cb},_0x25be75={_0x1ca69f:0x6};function _0x149c30(_0x3e78fc,_0x3e8f81,_0x37d257,_0x2abfbb){return _0x7f0a6b(_0x3e78fc-0xab,_0x37d257-_0x25be75._0x1ca69f,_0x3e8f81,_0x2abfbb-0xdd);}function _0x511bae(_0x419fce,_0x20f8a1,_0x4cfcb5,_0x20eb94){return _0x7f0a6b(_0x419fce-_0x5983a3._0x4795bf,_0x419fce-_0x5983a3._0x1faace,_0x20f8a1,_0x20eb94-_0x5983a3._0x4939d3);}return this[_0x149c30(0x1fd,0x118,_0x2f0dde._0x3d771c,0x4ea)]?.[_0x149c30(_0x2f0dde._0xb5f40a,_0x2f0dde._0x2bcc8a,_0x2f0dde._0x22a107,_0x2f0dde._0x11808f)]['id']===_0x3ae858;}['setConfigFunctions'](_0x56ba8b){this['configFunctions']=_0x56ba8b;}['setOrchestrator'](_0x553e4c){const _0x462ea6={_0x383a42:0x232};function _0x172ad3(_0x129d92,_0x4ce7da,_0x2ad635,_0x374a3e){return _0x7f0a6b(_0x129d92-0x5b,_0x129d92-0x232,_0x2ad635,_0x374a3e-0x12e);}this[_0x172ad3(0x456,0x2e8,0x34c,_0x462ea6._0x383a42)]=_0x553e4c;}[_0x5318c5(0x1f3,0x15c,-0x175,-0x44)](_0x26851c){const _0xbe9cc4={_0x394363:0x78e,_0x1a9a4e:0x5e0,_0x3e8343:0x791},_0x279205={_0x45ae56:0x113,_0x44d7e0:0x31a};function _0x177918(_0x2de3db,_0x14a713,_0x433793,_0x1320f0){return _0x5318c5(_0x2de3db-0xbd,_0x2de3db,_0x433793-_0x279205._0x45ae56,_0x433793-_0x279205._0x44d7e0);}function _0x16ece6(_0x445911,_0x326f8d,_0x4780f6,_0xb92ff9){return _0x5318c5(_0x445911-0xed,_0x326f8d,_0x4780f6-0x1e9,_0x445911-0x41b);}if(!this[_0x16ece6(0x5e0,0x6f5,0x4cb,0x76d)])throw new Error(_0x16ece6(0x748,0x5b8,_0xbe9cc4._0x394363,0x893));return{'rawInput':_0x26851c,'eventBus':B,'registry':this,'config':this[_0x16ece6(_0xbe9cc4._0x1a9a4e,0x7b1,_0xbe9cc4._0x3e8343,0x594)],'orchestratorManager':this['orchestratorManager']};}},me=new Ur();import{promises as _0x4085fa}from'fs';import _0x512b03 from'os';import*as _0x14b091 from'path';var Hs=/data:image\/[a-zA-Z0-9.+-]+;base64,[a-zA-Z0-9+/=\s]+/g,Hr=/@(?:"([^"]+)"|'([^']+)'|([^\s]+))/g,Ks={'.png':'image/png','.jpg':_0x7f0a6b(0x302,0x419,0x5cd,0x4eb),'.jpeg':'image/jpeg','.gif':_0x5318c5(0xb,0x9e,0x3fa,0x22c),'.webp':_0x7f0a6b(0x4da,0x500,0x472,0x527),'.bmp':'image/bmp','.svg':_0x7f0a6b(0x248,0x30f,0x404,0x3da),'.avif':_0x5318c5(0x220,0xf6,0x445,0x299),'.heic':'image/heic','.heif':_0x5318c5(-0xd4,0x2c8,-0xfb,0xf0),'.jfif':'image/jpeg'},Kr=_0x143750=>'<<nuvin-attachment-'+_0x143750+'>>',$c=_0x1569ea=>_0x1569ea['replace'](/\s+/g,''),Uc=_0x40f40f=>_0x40f40f['startsWith']('~')?_0x14b091[_0x5318c5(0x39,0x134,-0xe0,0x10a)](_0x512b03['homedir'](),_0x40f40f[_0x7f0a6b(0x3a7,0x244,0x43e,0x26e)](0x1)):_0x40f40f,Hc=_0xdf43bd=>_0x14b091['resolve'](Uc(_0xdf43bd)),Kc=_0x2d1c48=>{const _0x3a3471={_0x37644f:0x346,_0x10303b:0x4ec,_0x5a98c1:0x476,_0x335841:0x4eb,_0x15f25e:0x312,_0x266a71:0x2f8,_0x557dae:0x8af,_0xe7e83:0x6b3},_0x2352c6={_0x4bb22a:0x120,_0x38758f:0x2b6,_0x42992b:0xbf},_0x37f7db={_0x4a0252:0x4ac};function _0x10c606(_0x5c2317,_0x496796,_0x281bce,_0xa7bca4){return _0x5318c5(_0x5c2317-0x71,_0x281bce,_0x281bce-0x114,_0x496796-_0x37f7db._0x4a0252);}let _0x5b953c=_0x14b091[_0x50c0a8(0x129,_0x3a3471._0x37644f,_0x3a3471._0x10303b,0x487)](_0x2d1c48)[_0x10c606(_0x3a3471._0x5a98c1,_0x3a3471._0x335841,_0x3a3471._0x15f25e,_0x3a3471._0x266a71)](),_0x39a81a=Ks[_0x5b953c];if(!_0x39a81a)throw new Error(_0x10c606(0x841,0x7a6,_0x3a3471._0x557dae,_0x3a3471._0xe7e83)+_0x2d1c48);function _0x50c0a8(_0x40d3e9,_0x2180a6,_0x19d4e7,_0x397e53){return _0x7f0a6b(_0x40d3e9-_0x2352c6._0x4bb22a,_0x2180a6-_0x2352c6._0x38758f,_0x40d3e9,_0x397e53-_0x2352c6._0x42992b);}return _0x39a81a;};async function js(_0x22a0cb,_0x40ff45){const _0x2b96c0={_0x4a39fe:0x13e,_0x284009:0x14b,_0x5540c6:0x47,_0x9eedd6:0x65e,_0x226a7d:0x410,_0x31abba:0x513,_0x18a61e:0x4de,_0x10dc53:0x5f3,_0x56079d:0x537,_0x58942f:0x252,_0x48e1db:0x20b,_0x19e1d6:0x247,_0x9fbdbe:0x1c8,_0xd86f53:0x4ea,_0xd0bc53:0x281,_0x4e96bc:0x765,_0x3bfdc3:0x65b,_0x5bb764:0x29b,_0x4862c9:0x61e,_0x5a0ba6:0x695,_0x253d92:0x672,_0x41dc0f:0x3a7,_0x2a0f36:0x58b,_0x36264b:0x5ae,_0x4234fb:0x1ad,_0x2e2d36:0x10,_0x388874:0x236,_0x46eb38:0x47,_0x114e38:0x5dc,_0x1a32a5:0x54d,_0x150382:0x239,_0x4e3a5b:0x7a,_0x5588a4:0x2af,_0x145275:0x17c,_0x72174a:0xe7,_0x420121:0x51,_0x19692a:0x4,_0x4c0f9c:0x504,_0x3313d1:0x5ae,_0x2ba1f9:0x712,_0x199277:0x640,_0xc73544:0x520,_0x599ed5:0x1fa,_0x971a59:0x36e,_0x16a998:0x2a9,_0x99e120:0x2c3,_0x31ee47:0xec,_0xe4a1f4:0x71,_0x43829c:0xdc,_0x3ab0e7:0x2d,_0x3c2c03:0x47,_0x1aead7:0x54b,_0x23d184:0x4ec,_0x522adf:0x505,_0x9ae795:0x6e3,_0x573e8:0xa,_0x4a1e20:0x11b,_0x4a51fa:0x588,_0x588466:0x469,_0x1f8962:0x519,_0x370150:0x3dd,_0x4094d8:0x58c,_0x47a2fa:0x4ac,_0x13df4c:0x7f0,_0xb0fedc:0x672,_0x4f5e16:0x5f,_0x242c26:0x47,_0x394199:0xac,_0x3a4f8d:0x131,_0x21ae99:0xba,_0x549995:0x178,_0x4ad3a9:0x1f1,_0x4e987d:0x173,_0x24fd8c:0x11b,_0x56be21:0x592,_0x583754:0x6c7,_0x1e8e02:0x5d2,_0x2f077d:0x3,_0x108904:0x184,_0x4c2ec8:0x170,_0x3ce248:0x130,_0x109c75:0x42,_0x40c344:0x1f,_0x3eb8a4:0x893,_0x47d692:0x8a4,_0x766a39:0x7bd,_0x39e37f:0x4e5,_0x4d832a:0x451,_0x50278d:0x836,_0x4cb3b2:0x404,_0x12d435:0xb6,_0x45a9c3:0xf3,_0x1fa5e3:0x276,_0xd439a7:0x1ad,_0x3bb517:0x23,_0x108a69:0x2bb,_0x186e87:0xd8,_0x4f1643:0x6c3,_0x5dd1b3:0x58e,_0x4dfa75:0x5bd,_0x57b0f1:0x24b,_0xf7cc09:0x5b,_0x444268:0x724,_0x1e14a9:0x430,_0x4eb77b:0x515,_0x2365fc:0x7ef,_0x3fa8c5:0x5bf,_0x527143:0x2fd,_0x19fdc6:0x317,_0x541ac6:0x54c,_0x5de227:0x9,_0x343faa:0x2ad,_0x319183:0x91},_0x14e07f={_0x2f19f7:0x1e3,_0x236c80:0x1f3,_0x220a79:0x30},_0x414ef2={_0x4ca5ee:0xde,_0x2f156f:0x40e},_0x446817={_0xa10b81:0x18c,_0x3d73d0:0x1e3,_0x1cc4be:0x7,_0xefa5d6:0x70f,_0x354418:0x14,_0x4361eb:0x7c,_0x581d06:0x36,_0x595732:0x4e,_0x416057:0xf9,_0x36fe73:0x112,_0x12e169:0x34,_0x3075a0:0x12e,_0x54c89e:0x9e,_0x408382:0x8c,_0x51f94b:0xfb,_0x485400:0x31e,_0x539f8d:0x421},_0x509f08={_0x25bb74:0x153};let _0x2de734=[],_0xa4f634=[];_0x40ff45&&_0x40ff45[_0x487794(_0x2b96c0._0x4a39fe,-_0x2b96c0._0x284009,_0x2b96c0._0x5540c6,0xe0)]>0x0&&_0x40ff45[_0x3afff8(_0x2b96c0._0x9eedd6,_0x2b96c0._0x226a7d,0x67f,0x4be)](_0xc60002=>{const _0x2ff7f7={_0x12e125:0xa3,_0x556579:0x4e};function _0x156c2a(_0x42b63a,_0x48b698,_0x311909,_0x2a6c2a){return _0x487794(_0x42b63a-_0x2ff7f7._0x12e125,_0x48b698,_0x311909- -_0x2ff7f7._0x556579,_0x2a6c2a-0xb);}function _0x42a7ec(_0x24bf74,_0x3e9525,_0x4baf82,_0x34c4b5){return _0x3afff8(_0x24bf74-_0x509f08._0x25bb74,_0x3e9525-0xb4,_0x34c4b5,_0x3e9525-0x9b);}let _0x3b33e4=_0x2de734[_0x156c2a(-_0x446817._0xa10b81,_0x446817._0x3d73d0,-_0x446817._0x1cc4be,0x23)]+0x1,_0x927fe9=Kr(_0x3b33e4),_0x32a887=_0x42a7ec(0x948,_0x446817._0xefa5d6,0x699,0x5d3)+_0x3b33e4,_0x533a9e=_0x156c2a(-_0x446817._0x354418,-_0x446817._0x4361eb,_0x446817._0x581d06,-_0x446817._0x595732)+_0xc60002[_0x156c2a(-0xd7,_0x446817._0x416057,-_0x446817._0x36fe73,_0x446817._0x12e169)](_0x156c2a(-_0x446817._0x3075a0,-0x5c,-0x4b,_0x446817._0x54c89e));_0x2de734[_0x156c2a(0xd1,-_0x446817._0x408382,_0x446817._0x51f94b,-0x32)]({'kind':_0x42a7ec(_0x446817._0x485400,0x4ec,_0x446817._0x539f8d,0x546),'token':_0x927fe9,'label':_0x32a887,'dataUri':_0x533a9e});});let _0x14e3d4=0x0;Hs[_0x487794(0x1ca,0x33,0x1fa,0x22)]=0x0;let _0x319518;for(;(_0x319518=Hs[_0x3afff8(_0x2b96c0._0x31abba,0x59f,0x711,_0x2b96c0._0x18a61e)](_0x22a0cb))!==null;){let _0x9b9c1b=_0x319518[_0x3afff8(_0x2b96c0._0x10dc53,_0x2b96c0._0x56079d,0x7ad,0x6e8)];_0x9b9c1b>_0x14e3d4&&_0xa4f634[_0x487794(0x257,_0x2b96c0._0x58942f,0x149,_0x2b96c0._0x48e1db)]({'kind':_0x487794(0x1e2,_0x2b96c0._0x19e1d6,_0x2b96c0._0x9fbdbe,0x118),'value':_0x22a0cb['slice'](_0x14e3d4,_0x9b9c1b)});let _0xb838b7=_0x2de734['length']+0x1,_0x10ca7b=Kr(_0xb838b7),_0x5774b7=_0x3afff8(0x4ca,_0x2b96c0._0xd86f53,_0x2b96c0._0xd0bc53,0x3cd)+_0xb838b7;_0x2de734[_0x3afff8(_0x2b96c0._0x4e96bc,0x829,_0x2b96c0._0x3bfdc3,0x672)]({'kind':_0x3afff8(_0x2b96c0._0x5bb764,_0x2b96c0._0x4862c9,0x346,0x451),'token':_0x10ca7b,'label':_0x5774b7,'dataUri':_0x319518[0x0]}),_0xa4f634[_0x3afff8(0x5b4,0x65c,_0x2b96c0._0x5a0ba6,_0x2b96c0._0x253d92)]({'kind':_0x3afff8(_0x2b96c0._0x41dc0f,0x6f1,_0x2b96c0._0x2a0f36,_0x2b96c0._0x36264b),'index':_0x2de734[_0x487794(_0x2b96c0._0x4234fb,0x116,0x47,-0x59)]-0x1}),_0x14e3d4=_0x9b9c1b+_0x319518[0x0][_0x487794(-_0x2b96c0._0x2e2d36,_0x2b96c0._0x388874,_0x2b96c0._0x46eb38,-0x1ee)];}_0x14e3d4<_0x22a0cb[_0x3afff8(_0x2b96c0._0x114e38,_0x2b96c0._0x1a32a5,0x3ff,0x570)]&&_0xa4f634[_0x487794(0x242,0x8a,0x149,_0x2b96c0._0x150382)]({'kind':_0x487794(_0x2b96c0._0x4e3a5b,0x13e,0x1c8,_0x2b96c0._0x5588a4),'value':_0x22a0cb[_0x487794(-_0x2b96c0._0x145275,_0x2b96c0._0x72174a,_0x2b96c0._0x420121,_0x2b96c0._0x19692a)](_0x14e3d4)});let _0x247815=[];for(let _0x3d2a4b of _0xa4f634){if(_0x3d2a4b[_0x487794(0x325,0x2d3,0x294,0x11b)]===_0x3afff8(_0x2b96c0._0x4c0f9c,0x55c,0x4ce,_0x2b96c0._0x3313d1)){_0x247815[_0x3afff8(_0x2b96c0._0x2ba1f9,_0x2b96c0._0x199277,_0x2b96c0._0xc73544,_0x2b96c0._0x253d92)](_0x3d2a4b);continue;}let _0x4ddd77=_0x3d2a4b['value'],_0x2ae8f2=0x0;Hr[_0x487794(0x17c,0x136,_0x2b96c0._0x599ed5,0x320)]=0x0;let _0x103a31;for(;(_0x103a31=Hr[_0x3afff8(_0x2b96c0._0x971a59,_0x2b96c0._0x31abba,_0x2b96c0._0x16a998,_0x2b96c0._0x18a61e)](_0x4ddd77))!==null;){let _0x2d7fbf=_0x103a31['index'],_0x42d52d=_0x2d7fbf>0x0?_0x4ddd77[_0x2d7fbf-0x1]:void 0x0;if(_0x42d52d&&!/[\s([{<'"`]/['test'](_0x42d52d))continue;let _0x507963=(_0x103a31[0x1]??_0x103a31[0x2]??_0x103a31[0x3]??'')[_0x487794(_0x2b96c0._0x99e120,0x2f3,_0x2b96c0._0x31ee47,-0x100)]();if(!_0x507963)continue;let _0x3bd8a6=_0x14b091['extname'](_0x507963)[_0x487794(-0x2e6,-_0x2b96c0._0xe4a1f4,-_0x2b96c0._0x43829c,-0x10d)]();if(!Ks[_0x3bd8a6])continue;_0x2d7fbf>_0x2ae8f2&&_0x247815['push']({'kind':'text','value':_0x4ddd77[_0x487794(0x2a,0x244,_0x2b96c0._0x420121,-_0x2b96c0._0x3ab0e7)](_0x2ae8f2,_0x2d7fbf)});let _0x297c6e=_0x2de734[_0x487794(0x181,-0x124,_0x2b96c0._0x3c2c03,0xb6)]+0x1,_0x4020e1=Kr(_0x297c6e),_0x47461f=_0x14b091[_0x3afff8(_0x2b96c0._0x1aead7,_0x2b96c0._0x23d184,_0x2b96c0._0x522adf,_0x2b96c0._0x9ae795)](_0x507963)||_0x487794(_0x2b96c0._0x573e8,-0x2a7,-_0x2b96c0._0x4a1e20,-0x104)+_0x297c6e;_0x2de734['push']({'kind':_0x3afff8(_0x2b96c0._0x4a51fa,_0x2b96c0._0x588466,_0x2b96c0._0x1f8962,_0x2b96c0._0x370150),'token':_0x4020e1,'label':_0x47461f,'path':_0x507963}),_0x247815[_0x3afff8(_0x2b96c0._0x4094d8,_0x2b96c0._0x47a2fa,_0x2b96c0._0x13df4c,_0x2b96c0._0xb0fedc)]({'kind':_0x3afff8(0x3b8,0x7e2,0x668,0x5ae),'index':_0x2de734[_0x487794(0xc9,_0x2b96c0._0x4f5e16,_0x2b96c0._0x242c26,_0x2b96c0._0x394199)]-0x1}),_0x2ae8f2=Hr['lastIndex'];}_0x2ae8f2<_0x4ddd77[_0x487794(0x14,0x204,0x47,-0x15e)]&&_0x247815['push']({'kind':_0x487794(_0x2b96c0._0x3a4f8d,_0x2b96c0._0x21ae99,0x1c8,_0x2b96c0._0x549995),'value':_0x4ddd77[_0x487794(_0x2b96c0._0x4ad3a9,-0x163,_0x2b96c0._0x420121,_0x2b96c0._0x4e987d)](_0x2ae8f2)});}let _0x315a1f=_0x247815['length']>0x0?_0x247815:_0xa4f634,_0x28bcef=_0x315a1f[_0x487794(0xec,-0xa0,_0x2b96c0._0x24fd8c,0xf4)](_0xb23c1b=>_0xb23c1b[_0x3afff8(0x733,0x595,0x870,0x7bd)]===_0x487794(0x3d8,0x2e9,0x1c8,0x3ae)?_0xb23c1b[_0x487794(-0x13e,-0x2b5,-0xac,0x60)]:_0x2de734[_0xb23c1b['index']][_0x3afff8(0x3b2,0x419,0x593,0x5bf)])[_0x3afff8(_0x2b96c0._0x56be21,_0x2b96c0._0x583754,_0x2b96c0._0x1e8e02,0x518)](''),_0x187f43=_0x315a1f[_0x487794(0xf4,0x123,0x11b,_0x2b96c0._0x2f077d)](_0x539efe=>_0x539efe['kind']===_0x487794(0x16f,0x21,0x1c8,0xff)?_0x539efe['value']:_0x487794(0x26b,0x6f,0x1a8,0xf0)+_0x2de734[_0x539efe[_0x487794(0x38c,0x2e8,0x1bf,0xf0)]]['label']+']')[_0x487794(-_0x2b96c0._0x108904,_0x2b96c0._0x4c2ec8,-0x11,-_0x2b96c0._0x3ce248)]('');function _0x3afff8(_0x34a045,_0x10f359,_0x272313,_0x12898c){return _0x5318c5(_0x34a045-0x124,_0x272313,_0x272313-_0x414ef2._0x4ca5ee,_0x12898c-_0x414ef2._0x2f156f);}if(_0x2de734[_0x487794(-_0x2b96c0._0x109c75,0xde,0x47,-_0x2b96c0._0x40c344)]===0x0)return{'text':_0x28bcef||_0x22a0cb,'displayText':_0x187f43||_0x22a0cb};let _0x2cbe7e=[];for(let _0xa3fed2 of _0x2de734){if(_0xa3fed2[_0x3afff8(_0x2b96c0._0x3eb8a4,_0x2b96c0._0x47d692,0x812,_0x2b96c0._0x766a39)]===_0x3afff8(0x21e,_0x2b96c0._0x39e37f,0x3af,_0x2b96c0._0x4d832a)){let _0x390cf0=_0xa3fed2[_0x3afff8(0x50d,_0x2b96c0._0x50278d,0x60d,0x650)][_0x3afff8(0x81d,_0x2b96c0._0x4cb3b2,0x742,0x5f5)](/^data:([^;]+);base64,(.+)$/s);if(!_0x390cf0)throw new Error('Clipboard\x20data\x20did\x20not\x20contain\x20a\x20valid\x20base64\x20image.');let _0x3d6123=_0x390cf0[0x1],_0x473709=$c(_0x390cf0[0x2]);_0x2cbe7e[_0x487794(0x289,_0x2b96c0._0x12d435,0x149,0xb1)]({'type':_0x487794(_0x2b96c0._0x45a9c3,_0x2b96c0._0x1fa5e3,0x2c6,0x485),'token':_0xa3fed2['token'],'mimeType':_0x3d6123,'data':_0x473709,'altText':_0xa3fed2[_0x487794(-_0x2b96c0._0xd439a7,0x80,_0x2b96c0._0x3bb517,-0x32)],'source':_0x487794(0xa9,-_0x2b96c0._0x108a69,-_0x2b96c0._0x186e87,0x90),'name':_0xa3fed2['label']});continue;}let _0x453bc=Hc(_0xa3fed2[_0x3afff8(0x45a,0x382,_0x2b96c0._0x4f1643,_0x2b96c0._0x5dd1b3)]),_0x3e3aef;try{_0x3e3aef=await _0x4085fa[_0x3afff8(0x617,0x2cb,_0x2b96c0._0x4dfa75,0x493)](_0x453bc);}catch(_0x4fccb1){let _0x5b478b=_0x4fccb1 instanceof Error?_0x4fccb1[_0x487794(_0x2b96c0._0x57b0f1,_0x2b96c0._0xf7cc09,0x39,0x66)]:String(_0x4fccb1);throw new Error(_0x3afff8(_0x2b96c0._0x444268,_0x2b96c0._0x1e14a9,0x38d,0x567)+_0xa3fed2[_0x3afff8(_0x2b96c0._0x4eb77b,0x736,0x489,0x58e)]+':\x20'+_0x5b478b);}let _0x26d9d1=Kc(_0x453bc);_0x2cbe7e['push']({'type':_0x3afff8(0x889,0x703,0x874,_0x2b96c0._0x2365fc),'token':_0xa3fed2[_0x3afff8(0x757,0x5ec,_0x2b96c0._0x31abba,_0x2b96c0._0x3fa8c5)],'mimeType':_0x26d9d1,'data':_0x3e3aef[_0x487794(-0x5d,-0x17e,-0xc4,-0x149)](_0x3afff8(0x43e,0x4d2,_0x2b96c0._0x527143,0x52c)),'altText':_0xa3fed2[_0x3afff8(_0x2b96c0._0x19fdc6,0x6d0,0x721,_0x2b96c0._0x541ac6)],'source':_0x487794(-_0x2b96c0._0x5de227,-0x251,-0x14c,-_0x2b96c0._0x343faa),'name':_0x14b091[_0x487794(0x6,_0x2b96c0._0x319183,0x1ba,0x6b)](_0x453bc)});}function _0x487794(_0xfcd9e3,_0x3b5171,_0x65fe4f,_0x29d50a){return _0x7f0a6b(_0xfcd9e3-_0x14e07f._0x2f19f7,_0x65fe4f- -_0x14e07f._0x236c80,_0x3b5171,_0x29d50a-_0x14e07f._0x220a79);}return{'text':_0x28bcef||_0x22a0cb,'displayText':_0x187f43||_0x22a0cb,'attachments':_0x2cbe7e};}function Vc(_0x3f099f){const _0x3fec91={_0x4c5795:0x20d,_0x54d365:0x17f,_0xee5d0b:0x8b4,_0x42a5ba:0x71e,_0x3c17b6:0x3d5,_0x5aa307:0x32e,_0xc3038c:0x27e,_0x53bd3d:0x4da,_0x31cc7e:0x342,_0x5b5649:0x826,_0x39464d:0x78b,_0x229537:0x72e,_0x2dfbe5:0x7db,_0x112e92:0x550,_0x42136d:0x97f,_0x49e500:0x67e,_0x2bac1e:0x961,_0x5b5bb1:0x4b6,_0x27ffc9:0x786,_0x1612a6:0x3ba,_0x176dbc:0x152,_0x300677:0xcd,_0x80340a:0x45,_0x59166d:0x604,_0x593f96:0x422,_0x516a8a:0x69b,_0x282ca3:0x594,_0x43a0d5:0x87a,_0x190a94:0x713,_0x1d0462:0x8f9,_0x22bc69:0x7ee,_0x15f944:0x64d,_0x17e39f:0x874,_0x5bc823:0x8e3,_0x5a63e0:0x7b3,_0x54ca01:0x85b,_0x1cd616:0x7c4,_0x190da6:0x362,_0xaf95cc:0x6c7,_0x35a702:0x6a2,_0x2d8d31:0x779,_0x4d2d75:0x4dc,_0x9d35a2:0x5f1,_0x2c7e24:0x62f},_0x2d050c={_0x27cfa7:0x309};let {appendLine:_0x525f9d,handleError:_0x2f003c,executeCommand:_0x368174,processMessage:_0x84e11e}=_0x3f099f;return _0x14c494(async _0x2b7c8d=>{let _0x393c43=_0x2b7c8d['trim']();if(!_0x393c43)return;function _0x20d63e(_0x4d26ff,_0x37e7f5,_0x21731e,_0x13c2cc){return _0xa481(_0x13c2cc- -0x5c,_0x37e7f5);}if(_0x393c43[_0x20d63e(0x294,0xeb,_0x3fec91._0x4c5795,_0x3fec91._0x54d365)]('/')){let _0x45df31=_0x393c43[_0x33f8e3(0x783,_0x3fec91._0xee5d0b,_0x3fec91._0x42a5ba,0x62f)]('\x20')[0x0],_0x235f81=me[_0x33f8e3(0x65e,0x6af,0x52a,0x720)](_0x45df31),_0xd25a88=!!_0x235f81&&_0x235f81[_0x20d63e(0x274,_0x3fec91._0x3c17b6,_0x3fec91._0x5aa307,_0x3fec91._0xc3038c)]===_0x20d63e(0x439,_0x3fec91._0x53bd3d,0x381,_0x3fec91._0x31cc7e),_0x58c204=!!_0x235f81?.[_0x33f8e3(_0x3fec91._0x5b5649,0x60d,_0x3fec91._0x39464d,_0x3fec91._0x229537)];if(!_0xd25a88&&!_0x58c204&&_0x525f9d({'id':_0x5a6755['randomUUID'](),'type':_0x33f8e3(0x5a8,0x51b,_0x3fec91._0x2dfbe5,_0x3fec91._0x112e92),'content':_0x393c43,'metadata':{'timestamp':new Date()[_0x33f8e3(0x874,_0x3fec91._0x42136d,_0x3fec91._0x49e500,_0x3fec91._0x2bac1e)]()},'color':_0x33f8e3(0x567,_0x3fec91._0x5b5bb1,0x39b,_0x3fec91._0x27ffc9)}),_0x393c43!=='/'){if(_0x235f81){try{await _0x368174(_0x393c43);}catch(_0x32a7fb){let _0x510a49=_0x32a7fb instanceof Error?_0x32a7fb[_0x20d63e(_0x3fec91._0x1612a6,_0x3fec91._0x176dbc,_0x3fec91._0x300677,0x284)]:String(_0x32a7fb);_0x2f003c(_0x20d63e(-_0x3fec91._0x80340a,0xb2,0x2ae,0x12d)+_0x510a49);}return;}else{_0x525f9d({'id':_0x5a6755[_0x20d63e(0x601,0x28e,_0x3fec91._0x59166d,_0x3fec91._0x593f96)](),'type':'error','content':_0x33f8e3(_0x3fec91._0x516a8a,_0x3fec91._0x282ca3,0x6b5,_0x3fec91._0x43a0d5)+_0x45df31,'metadata':{'timestamp':new Date()[_0x33f8e3(0x874,_0x3fec91._0x190a94,_0x3fec91._0x1d0462,0x6e4)]()},'color':_0x33f8e3(0x7fa,0x606,_0x3fec91._0x22bc69,0x5f4)}),_0x525f9d({'id':_0x5a6755['randomUUID'](),'type':_0x20d63e(0x552,0x29f,_0x3fec91._0x15f944,0x47c),'content':'Type\x20/help\x20to\x20see\x20available\x20commands','metadata':{'timestamp':new Date()[_0x33f8e3(_0x3fec91._0x17e39f,_0x3fec91._0x5bc823,_0x3fec91._0x5a63e0,0x9d9)]()},'color':_0x33f8e3(_0x3fec91._0x54ca01,_0x3fec91._0x1cd616,0x87d,0x897)});return;}}}let _0x5a71d9;function _0x33f8e3(_0x27be71,_0x1620fe,_0x5a59d1,_0x349260){return _0xa481(_0x27be71-_0x2d050c._0x27cfa7,_0x1620fe);}try{let _0xf7398a=globalThis[_0x20d63e(0x3cd,0x4b2,0x1cf,_0x3fec91._0x190da6)]??[];_0x5a71d9=await js(_0x2b7c8d,_0xf7398a),globalThis[_0x33f8e3(_0x3fec91._0xaf95cc,_0x3fec91._0x35a702,0x6a1,_0x3fec91._0x2d8d31)]=void 0x0;}catch(_0x510fb6){let _0x5f19f0=_0x510fb6 instanceof Error?_0x510fb6[_0x33f8e3(0x5e9,_0x3fec91._0x4d2d75,_0x3fec91._0x9d35a2,_0x3fec91._0x2c7e24)]:String(_0x510fb6);_0x2f003c(_0x5f19f0);return;}await _0x84e11e(_0x5a71d9);},[_0x525f9d,_0x2f003c,_0x368174,_0x84e11e]);}import{useState as _0x551394,useEffect as _0x360e5b,useCallback as _0x1c5e35}from'react';var Vs=process[_0x7f0a6b(0x6d7,0x4bb,0x48c,0x631)][_0x5318c5(0x25,0x269,0x62,0x7b)]||_0x5318c5(0x369,0xa7,0x30a,0x281);async function Ro(_0x563485){return new Promise(_0x41e869=>setTimeout(_0x41e869,_0x563485));}function Ws(_0x421f75){const _0x453274={_0x18d42d:0x24f,_0x4f4ea4:0x12f,_0x380cae:0x92},_0x291465={_0x52b73e:0x6c},_0x3715b4={_0x424a59:0x17c,_0x408e5a:0xe0};function _0x23b509(_0x42279e,_0x4b2a4b,_0x24dd6f,_0x229387){return _0x7f0a6b(_0x42279e-_0x3715b4._0x424a59,_0x4b2a4b- -0x215,_0x24dd6f,_0x229387-_0x3715b4._0x408e5a);}function _0x5406aa(_0x4ece08,_0x17340d,_0x2daa94,_0xacdb9){return _0x5318c5(_0x4ece08-0xd6,_0x2daa94,_0x2daa94-_0x291465._0x52b73e,_0x17340d- -0x239);}return Object[_0x23b509(0x136,_0x453274._0x18d42d,0x1d3,0x2df)](_0x421f75)['map'](([_0x3da76f,_0x9dbef8])=>encodeURIComponent(_0x3da76f)+'='+encodeURIComponent(_0x9dbef8))[_0x5406aa(-0x117,-_0x453274._0x4f4ea4,-0xd7,_0x453274._0x380cae)]('&');}async function zs(){const _0xaee8cd={_0x1f65a1:0x898,_0x65486c:0x672,_0x423cd1:0x52e,_0x1d4b0e:0x519,_0x2ee962:0x758,_0x1745c8:0x7e5,_0x3f0cba:0x85f,_0x57e2dc:0x6a2,_0x23dc36:0x9db,_0x4135fe:0x874,_0x5a80ee:0x656,_0x35e663:0x80d,_0x3cd293:0x68f,_0xd45f39:0x88e,_0x439d23:0xa25,_0x879bea:0x92e,_0x22e0d0:0xb58,_0x2fdcb0:0xb01,_0x10d255:0x8f2,_0x500aca:0x54b,_0x38bc7e:0x565,_0x4c5423:0x670,_0x5efc8a:0xa97,_0x159b46:0x8fc},_0x18d193={_0x13b04d:0x100,_0x112ff4:0x57},_0x5db44b={_0x52ef27:0x477};function _0xd4c48e(_0x467464,_0x42127f,_0x43a70f,_0x182d4f){return _0x7f0a6b(_0x467464-0x1f1,_0x43a70f-_0x5db44b._0x52ef27,_0x467464,_0x182d4f-0x1db);}let _0x36518c=await fetch(_0xd4c48e(_0xaee8cd._0x1f65a1,0x67d,0x72e,_0xaee8cd._0x65486c),{'method':_0x1e80c1(_0xaee8cd._0x423cd1,0x4c2,_0xaee8cd._0x1d4b0e,0x4a0),'headers':{'Content-Type':_0x1e80c1(_0xaee8cd._0x2ee962,_0xaee8cd._0x1745c8,_0xaee8cd._0x3f0cba,_0xaee8cd._0x57e2dc),'Accept':_0xd4c48e(0x778,_0xaee8cd._0x23dc36,_0xaee8cd._0x4135fe,_0xaee8cd._0x5a80ee),'User-Agent':_0xd4c48e(_0xaee8cd._0x35e663,_0xaee8cd._0x3cd293,_0xaee8cd._0xd45f39,0xa41)},'body':Ws({'client_id':Vs,'scope':_0x1e80c1(0x753,_0xaee8cd._0x3f0cba,0x6c5,0x5d3)})});function _0x1e80c1(_0x21a3ce,_0x2f7b37,_0x433511,_0x3404ce){return _0x7f0a6b(_0x21a3ce-_0x18d193._0x13b04d,_0x433511-0x467,_0x3404ce,_0x3404ce-_0x18d193._0x112ff4);}if(!_0x36518c['ok'])throw new Error('device\x20code\x20request\x20failed:\x20'+_0x36518c[_0x1e80c1(_0xaee8cd._0x439d23,0x7af,_0xaee8cd._0x879bea,_0xaee8cd._0x22e0d0)]);let _0x3b02e3=await _0x36518c['json'](),_0xfef543=_0x3b02e3['verification_uri_complete']||_0x3b02e3[_0x1e80c1(0x9a5,_0xaee8cd._0x2fdcb0,_0xaee8cd._0x10d255,0xb06)];return{'deviceCode':_0x3b02e3[_0x1e80c1(_0xaee8cd._0x500aca,_0xaee8cd._0x38bc7e,0x508,_0xaee8cd._0x4c5423)],'userCode':_0x3b02e3['user_code'],'verificationUri':_0xfef543,'interval':_0x3b02e3[_0xd4c48e(0x7ca,_0xaee8cd._0x5efc8a,_0xaee8cd._0x159b46,0x91d)],'expiresIn':_0x3b02e3[_0x1e80c1(0x864,0x8fd,0x8da,0x795)]};}async function Gs(_0x11ec4e,_0x111e2b=!0x1){const _0xa964={_0x22d972:0x1af,_0x4eeef2:0x1a6,_0x42950a:0x60,_0x1bf80e:0x1b8,_0x9e5c62:0x1dd,_0x4d64e8:0x2a,_0x4725cf:0x296,_0x3d3753:0x38e,_0x363a26:0x36b,_0x20b22d:0x4e1,_0x298bb1:0x8b7,_0x9b87a9:0x6d1,_0x36fb8a:0x869,_0x502019:0x4db,_0x3f92a9:0x6d6,_0x1f25a6:0x505,_0x2023be:0x5d3,_0xcec4bb:0x826,_0x320ffd:0x614,_0x1c91c4:0x60e,_0x59241c:0x468,_0x1dfc8c:0x1be,_0x259290:0x277,_0x54d354:0x3a8,_0x335ad8:0x198,_0x321990:0xcd,_0x5622e1:0x4cc,_0x3622da:0x580,_0x50d59f:0x5cc,_0x55cd88:0x759,_0xee8606:0x489,_0x5a4ba5:0x60e,_0x57ce7d:0x60e,_0x54ea75:0x8a6,_0x3f6eaa:0x976,_0x1dfb65:0x761,_0x4b31ef:0x818,_0x479f6b:0x751,_0xddd2b1:0x755,_0x580a57:0x542,_0x5219f1:0x475,_0x11c7aa:0x7d2,_0x393b56:0x60e,_0x5e944e:0x639,_0x1a8d74:0x574,_0x9ead76:0x5c9,_0x1bd204:0x5ca,_0xcaa7ad:0x95c,_0x1167e1:0x5be,_0x538299:0xb9,_0x5126c4:0xfb,_0x128eb2:0x279,_0x215eed:0x60,_0x3583ff:0x39,_0x2b785c:0x3cd,_0x4c13e1:0x24a},_0x36a292={_0x569e90:0x2d4},_0x5839bd={_0x4594da:0x1c5,_0x5c7761:0x8d};let _0x5f53d8=Date[_0x59263d(0x262,-_0xa964._0x22d972,-_0xa964._0x4eeef2,_0xa964._0x42950a)]()+0xdbba0,_0x4922f9=Math['max'](0x2,0x5);function _0x59263d(_0x27d5a9,_0x81d43,_0x980c,_0x560412){return _0x7f0a6b(_0x27d5a9-_0x5839bd._0x4594da,_0x560412- -_0x5839bd._0x5c7761,_0x27d5a9,_0x560412-0x163);}function _0x343419(_0x2b9fed,_0x22bfa6,_0x13f06b,_0x4f1297){return _0x7f0a6b(_0x2b9fed-0x8e,_0x4f1297-_0x36a292._0x569e90,_0x13f06b,_0x4f1297-0xb);}for(;Date[_0x59263d(_0xa964._0x1bf80e,-0xa5,_0xa964._0x9e5c62,_0xa964._0x42950a)]()<_0x5f53d8;){let _0x4324c5=await fetch(_0x59263d(0x189,0x21a,-0x13f,_0xa964._0x4d64e8),{'method':'POST','headers':{'Content-Type':_0x59263d(_0xa964._0x4725cf,_0xa964._0x3d3753,0x58a,_0xa964._0x363a26),'Accept':_0x343419(_0xa964._0x20b22d,0x4ad,_0xa964._0x298bb1,_0xa964._0x9b87a9),'User-Agent':'nuvin-cli'},'body':Ws({'client_id':Vs,'device_code':_0x11ec4e,'grant_type':_0x343419(_0xa964._0x36fb8a,_0xa964._0x502019,0x5bb,_0xa964._0x3f92a9)})});if(!_0x4324c5['ok']){await Ro(_0x4922f9*0x3e8);continue;}let _0x1165d3=await _0x4324c5[_0x343419(_0xa964._0x1f25a6,0x2a8,_0xa964._0x2023be,0x475)]();if(_0x1165d3['error']){if(_0x1165d3[_0x343419(_0xa964._0xcec4bb,0x595,_0xa964._0x320ffd,_0xa964._0x1c91c4)]===_0x343419(_0xa964._0x59241c,_0xa964._0x1dfc8c,_0xa964._0x259290,_0xa964._0x54d354)||_0x1165d3[_0x59263d(_0xa964._0x335ad8,_0xa964._0x321990,0x367,0x2ad)]===_0x59263d(_0xa964._0x5622e1,_0xa964._0x3622da,_0xa964._0x50d59f,0x3b1)){_0x1165d3[_0x343419(0x542,_0xa964._0x55cd88,_0xa964._0xee8606,_0xa964._0x5a4ba5)]==='slow_down'&&(_0x4922f9=Math['min'](_0x4922f9+0x2,0xf)),await Ro(_0x4922f9*0x3e8);continue;}if(_0x1165d3['error']==='access_denied'||_0x1165d3[_0x343419(0x48c,0x473,0x662,_0xa964._0x57ce7d)]===_0x343419(0x5ba,_0xa964._0x54ea75,_0xa964._0x3f6eaa,_0xa964._0x1dfb65))throw new Error(_0x1165d3[_0x343419(_0xa964._0x4b31ef,0x89b,_0xa964._0x479f6b,_0xa964._0xddd2b1)]||_0x1165d3[_0x343419(_0xa964._0x580a57,_0xa964._0x5219f1,_0xa964._0x11c7aa,_0xa964._0x393b56)]);await Ro(_0x4922f9*0x3e8);continue;}if(_0x1165d3[_0x343419(0x76d,0x7a8,_0xa964._0x5e944e,0x75e)]){let _0x51ce6c=_0x1165d3['access_token'];if(_0x111e2b)try{let _0x2664d3=await fetch('https://api.github.com/copilot_internal/v2/token',{'headers':{'Authorization':_0x343419(_0xa964._0x1a8d74,0x789,_0xa964._0x9ead76,_0xa964._0x1bd204)+_0x1165d3[_0x343419(_0xa964._0xcaa7ad,_0xa964._0x1167e1,0x871,0x75e)],'User-Agent':'nuvin-cli'}});if(_0x2664d3['ok']){let _0x544c58=await _0x2664d3[_0x59263d(_0xa964._0x538299,-_0xa964._0x5126c4,_0xa964._0x128eb2,0x114)]();_0x544c58?.[_0x59263d(_0xa964._0x215eed,-_0xa964._0x3583ff,_0xa964._0x2b785c,0x1fc)]&&(_0x51ce6c=_0x544c58[_0x59263d(_0xa964._0x4c13e1,0x363,0x168,0x1fc)]);}}catch{}return _0x51ce6c;}await Ro(_0x4922f9*0x3e8);}throw new Error('authorization\x20timed\x20out');}import _0x4e9038 from'open';function jr(_0x66a9ea){const _0x1d313b={_0x3a86ab:0x233},_0x3ba516={_0x18ca7c:0x541,_0x482da1:0x588,_0x2a1f01:0x697,_0x3e7d6f:0x37a,_0x37759f:0x617,_0x4c07f0:0x4da},_0x35100d={_0x1d5b78:0x491,_0x361364:0x1b9},_0x3bd331={_0x520136:0x8d,_0x4a99f1:0x263};function _0x2c759f(_0x2b0c3d,_0x2d4f33,_0x186014,_0x2becdf){return _0x5318c5(_0x2b0c3d-_0x3bd331._0x520136,_0x2b0c3d,_0x186014-0x129,_0x2d4f33-_0x3bd331._0x4a99f1);}let [_0x4e23e4,_0x38a0ad]=_0x551394({'status':_0x2c759f(0x45,_0x1d313b._0x3a86ab,0x1f0,0x76)});_0x360e5b(()=>{const _0x218700={_0x329ceb:0x79,_0x1fb074:0x6a,_0x38cc0a:0x232},_0x19c4ec={_0x1edc63:0x314};if(!_0x66a9ea)return;let _0x83c670=!0x1;return((async()=>{const _0x447f21={_0x1f050f:0x30b};function _0x164edd(_0x1844d7,_0x259d3c,_0x5399b4,_0x588dc3){return _0xa481(_0x588dc3- -_0x19c4ec._0x1edc63,_0x5399b4);}function _0x1416b1(_0x4b7af9,_0x5aad51,_0x43a14c,_0x331c9c){return _0xa481(_0x5aad51- -_0x447f21._0x1f050f,_0x4b7af9);}try{_0x38a0ad({'status':_0x164edd(_0x218700._0x329ceb,0x134,_0x218700._0x1fb074,_0x218700._0x38cc0a)});let {deviceCode:_0xc7c788,userCode:_0x4de94b,verificationUri:_0x10a6f7}=await zs();if(_0x83c670)return;_0x38a0ad({'status':'ready','userCode':_0x4de94b,'verificationUri':_0x10a6f7,'deviceCode':_0xc7c788});}catch(_0x47284f){if(_0x83c670)return;_0x38a0ad({'status':_0x1416b1(0x1b3,0xe3,-0xf4,-0x6c),'error':String(_0x47284f)});}})()),()=>{_0x83c670=!0x0;};},[_0x66a9ea]);let _0x309583=_0x1c5e35(async()=>{function _0x48a7b1(_0xf4baaa,_0x2ac807,_0x43669c,_0x51cd6b){return _0x2c759f(_0x51cd6b,_0xf4baaa-0x152,_0x43669c-0x5e,_0x51cd6b-0x16);}if(_0x4e23e4['status']!=='ready')return;let {deviceCode:_0x3acfab,userCode:_0x4058a4,verificationUri:_0x501bc1}=_0x4e23e4;try{await _0x4e9038(_0x501bc1);}catch{}function _0x880146(_0x26aaa7,_0x2f7b3d,_0x220829,_0x2c0c6f){return _0x2c759f(_0x2f7b3d,_0x26aaa7- -_0x35100d._0x1d5b78,_0x220829-0x149,_0x2c0c6f-_0x35100d._0x361364);}_0x38a0ad({'status':_0x48a7b1(0x388,_0x3ba516._0x18ca7c,0x5a0,0x3d9),'userCode':_0x4058a4,'verificationUri':_0x501bc1});try{let _0x10e857=await Gs(_0x3acfab,!0x1);_0x38a0ad({'status':_0x48a7b1(_0x3ba516._0x482da1,_0x3ba516._0x2a1f01,_0x3ba516._0x3e7d6f,0x799),'token':_0x10e857});}catch(_0x2c3451){_0x38a0ad({'status':_0x48a7b1(_0x3ba516._0x37759f,0x74b,_0x3ba516._0x4c07f0,0x4cb),'error':String(_0x2c3451)});}},[_0x4e23e4]);return{'state':_0x4e23e4,'openAndPoll':_0x309583};}import{useState as _0x3cc375,useEffect as _0x1a6985,useCallback as _0x19b8fb}from'react';import{createHash as _0x1ca4bd,randomBytes as _0x277139}from'crypto';function Ys(){const _0x5194de={_0x4935de:0x149,_0x5bc8c8:0x2a7,_0x54b755:0x2e1,_0x30ed68:0x2b5,_0x2a6a7f:0x13e,_0x15c1e7:0x8d,_0x2715e8:0xdd,_0x2328b8:0x3ed,_0x24ace3:0x4da,_0x123499:0x2aa,_0x6f77fa:0xd7,_0x3a8b93:0x13e},_0x434118={_0x4b9045:0xd6},_0x45590e={_0x56b07f:0x1a,_0x1b0e05:0xdb};let _0x3586e5=_0x277139(0x20)[_0x3ab92e(_0x5194de._0x4935de,_0x5194de._0x5bc8c8,0x280,_0x5194de._0x54b755)](_0x31548d(_0x5194de._0x30ed68,_0x5194de._0x2a6a7f,-_0x5194de._0x15c1e7,_0x5194de._0x2715e8)),_0x11084a=_0x1ca4bd(_0x3ab92e(0x1ca,0x8,0x2b7,_0x5194de._0x2328b8))[_0x3ab92e(0x48f,_0x5194de._0x24ace3,0x4c4,0x417)](_0x3586e5)[_0x3ab92e(0x1b4,0x208,_0x5194de._0x123499,0x71)](_0x31548d(-_0x5194de._0x6f77fa,_0x5194de._0x3a8b93,0x270,0x96));function _0x3ab92e(_0x1ea53f,_0x594f72,_0x664e20,_0x548fe9){return _0x7f0a6b(_0x1ea53f-0x1cc,_0x1ea53f-_0x45590e._0x56b07f,_0x548fe9,_0x548fe9-_0x45590e._0x1b0e05);}function _0x31548d(_0x346898,_0x11b96b,_0x20edb2,_0xe5f2fb){return _0x7f0a6b(_0x346898-0x1bd,_0x11b96b-0x37,_0xe5f2fb,_0xe5f2fb-_0x434118._0x4b9045);}return{'verifier':_0x3586e5,'challenge':_0x11084a};}var Vr='9d1c250a-e61b-44d9-88ed-5944d1962f5e',Wr=_0x7f0a6b(0x28e,0x2b6,0x10e,0x2db);async function qs(_0x528553){const _0x1f7b86={_0x1e364e:0x275,_0x2aa3a9:0x2a2,_0x5737e8:0x50b,_0x296f12:0x5a0,_0xa98cd:0x50f,_0x1dbab9:0x3fa,_0x58f26e:0x476,_0x411c96:0x431,_0x42f101:0x565,_0x24bf88:0x636,_0x2fba59:0x660,_0x3b077e:0x635,_0x11083f:0x2b7,_0x58fff5:0x4f,_0x136c8b:0x155,_0x38c4bb:0x1e5,_0x31a1ea:0x2ba,_0x6ff3d0:0x5cc,_0x4412c2:0x3bb,_0x172e38:0x529,_0x3f55d5:0x424,_0x3f7090:0x451,_0x6db0e1:0x26a,_0x6b1caa:0x4a0,_0x5e6070:0x583,_0x25166a:0x3f6,_0x26fdb3:0x610,_0x531413:0x406,_0x16e6c9:0x1bb,_0x1028d1:0x3c2,_0x352db1:0x99,_0x422835:0x4a0,_0x2d393d:0x31b,_0x31a915:0x3bd,_0x491d8e:0x304,_0x2abea9:0x1e5,_0x579130:0x257,_0x4a79d2:0xb1,_0x2b4838:0x12f,_0x3fab9f:0x4c7,_0x3b8794:0x41f,_0x48e5dc:0x45b,_0x26549c:0x1bb,_0x61c46d:0x2ec,_0x34851c:0x2fd,_0x1a2b08:0x331,_0x344af7:0x641,_0x57813d:0x481,_0x5b7352:0x2b2,_0x36b523:0x456,_0x169b7f:0x729,_0x198cae:0x18c,_0x3ae8b4:0x99,_0x4759f2:0x33f,_0x25f583:0x52f,_0x3540ad:0x51c,_0x4305f8:0x39e,_0x433dbe:0x372},_0x11f0c1={_0x84789e:0x9a},_0x4fc100={_0x25313d:0x1b9,_0x183588:0x179,_0x48ba1a:0x1d3};function _0x4d4eb5(_0x1d7154,_0x3c6c23,_0x33a1ca,_0x40a60f){return _0x5318c5(_0x1d7154-_0x4fc100._0x25313d,_0x40a60f,_0x33a1ca-_0x4fc100._0x183588,_0x1d7154-_0x4fc100._0x48ba1a);}function _0x13f5f9(_0x34941a,_0x5471ca,_0x197cd6,_0x4fc89d){return _0x7f0a6b(_0x34941a-0x14c,_0x197cd6-0x125,_0x4fc89d,_0x4fc89d-_0x11f0c1._0x84789e);}let _0x2421b2=Ys(),_0x27d8f8=_0x528553===_0x13f5f9(_0x1f7b86._0x1e364e,0xdb,_0x1f7b86._0x2aa3a9,0x41d)?'console.anthropic.com':_0x4d4eb5(_0x1f7b86._0x5737e8,_0x1f7b86._0x296f12,0x51a,0x340),_0x349cd6=new URL(_0x13f5f9(_0x1f7b86._0xa98cd,_0x1f7b86._0x1dbab9,_0x1f7b86._0x58f26e,_0x1f7b86._0x411c96)+_0x27d8f8+_0x4d4eb5(_0x1f7b86._0x42f101,0x762,_0x1f7b86._0x24bf88,_0x1f7b86._0x2fba59));return _0x349cd6[_0x4d4eb5(0x4c7,_0x1f7b86._0x3b077e,_0x1f7b86._0x11083f,_0x1f7b86._0x2fba59)][_0x13f5f9(_0x1f7b86._0x58fff5,_0x1f7b86._0x136c8b,_0x1f7b86._0x38c4bb,0x240)](_0x13f5f9(_0x1f7b86._0x31a1ea,_0x1f7b86._0x6ff3d0,_0x1f7b86._0x4412c2,_0x1f7b86._0x172e38),_0x13f5f9(0x318,_0x1f7b86._0x3f55d5,0x2fb,0x453)),_0x349cd6['searchParams']['set'](_0x13f5f9(0x579,0x5b6,_0x1f7b86._0x3f7090,_0x1f7b86._0x6db0e1),Vr),_0x349cd6[_0x4d4eb5(0x4c7,0x546,_0x1f7b86._0x6b1caa,_0x1f7b86._0x5e6070)]['set'](_0x13f5f9(0x7b5,_0x1f7b86._0x25166a,_0x1f7b86._0x26fdb3,0x77d),_0x13f5f9(0x3e6,0x34d,0x3bb,_0x1f7b86._0x531413)),_0x349cd6[_0x4d4eb5(0x4c7,0x47b,0x578,0x649)][_0x4d4eb5(_0x1f7b86._0x16e6c9,_0x1f7b86._0x1028d1,_0x1f7b86._0x352db1,0x3dd)]('redirect_uri',Wr),_0x349cd6[_0x4d4eb5(0x4c7,_0x1f7b86._0x422835,_0x1f7b86._0x2d393d,0x3c2)][_0x13f5f9(_0x1f7b86._0x31a915,_0x1f7b86._0x491d8e,_0x1f7b86._0x2abea9,0x223)](_0x4d4eb5(_0x1f7b86._0x579130,0x185,_0x1f7b86._0x4a79d2,_0x1f7b86._0x2b4838),'org:create_api_key\x20user:profile\x20user:inference'),_0x349cd6[_0x4d4eb5(_0x1f7b86._0x3fab9f,_0x1f7b86._0x3b8794,_0x1f7b86._0x48e5dc,0x379)][_0x4d4eb5(_0x1f7b86._0x26549c,0x1a1,_0x1f7b86._0x61c46d,_0x1f7b86._0x34851c)]('code_challenge',_0x2421b2[_0x4d4eb5(_0x1f7b86._0x1a2b08,0x204,0x40c,0x2f2)]),_0x349cd6[_0x4d4eb5(0x4c7,_0x1f7b86._0x344af7,0x4df,0x446)]['set'](_0x4d4eb5(_0x1f7b86._0x57813d,0x670,_0x1f7b86._0x5b7352,_0x1f7b86._0x36b523),_0x13f5f9(0x65b,0x6e4,0x546,_0x1f7b86._0x169b7f)),_0x349cd6['searchParams']['set'](_0x4d4eb5(_0x1f7b86._0x198cae,_0x1f7b86._0x3ae8b4,_0x1f7b86._0x4759f2,-0x6f),_0x2421b2['verifier']),{'url':_0x349cd6['toString'](),'verifier':_0x2421b2[_0x13f5f9(_0x1f7b86._0x1dbab9,0x690,_0x1f7b86._0x25f583,_0x1f7b86._0x3540ad)],'instructions':_0x4d4eb5(0x532,0x51c,_0x1f7b86._0x4305f8,_0x1f7b86._0x433dbe)};}async function Xs(_0x500d0a,_0x5a47a3){const _0x1c5e12={_0x3b334a:0x6e2,_0x38c183:0x99f,_0xb153dc:0x8be,_0x521f37:0x24b,_0x1d6c90:0x9f,_0x268f5f:0xed,_0x2245d8:0xa5,_0x194595:0x162,_0x5ab997:0x665,_0x2cf93a:0x7f0,_0x42bfa0:0x72b,_0x3b54b6:0x208,_0x2bd1fc:0x119,_0x269a79:0x1cf,_0x3ac4d8:0x90b,_0x4e1995:0x6e4,_0x427730:0x665,_0x43210c:0x85e,_0x5213b6:0x4d4,_0x373aee:0x357,_0xbcb060:0x722,_0x266ee6:0x61c,_0x3a7920:0x252,_0x271c6e:0x5d,_0x4481a1:0x87e,_0x728c75:0x663,_0x171d56:0xf8,_0x4c9552:0x52,_0x43203b:0x188,_0x16e71b:0x72f,_0x1c90ae:0x5bd,_0x2e4809:0x42c,_0x2de980:0x52,_0x118ef2:0x18f,_0x42ffe0:0xd4,_0xf58ace:0x1ab,_0x537c20:0x6ee,_0x1ec131:0x2e6,_0x4805db:0xd1,_0x3683c5:0x15d,_0x4ea08a:0x34,_0x315816:0x27b,_0x4a3f16:0xa8,_0x2ce5e9:0x647,_0x24c0d8:0x4ad,_0x4c56b5:0x187,_0x333341:0x7bf,_0x50bd6c:0xd,_0x1bca81:0x96b,_0x456196:0x1e,_0x140245:0xe3,_0x265c4e:0x4f3,_0x3956db:0x530,_0x18780e:0x3f2,_0x34bc60:0x6d4,_0x470ad9:0x7e2,_0x3a7fd6:0x6f4},_0x408fc5={_0xcd4f9a:0x443},_0x52d091={_0x4ddb0d:0x187,_0xcd43d4:0x1c7};let _0x558e09,_0x1e98ab;function _0x41bf8f(_0x302967,_0x40716d,_0x17d178,_0x1e8868){return _0x5318c5(_0x302967-_0x52d091._0x4ddb0d,_0x17d178,_0x17d178-_0x52d091._0xcd43d4,_0x1e8868- -0x255);}try{if(_0x500d0a[_0x1e17d5(_0x1c5e12._0x3b334a,0x56a,0x6be,0x444)](_0x1e17d5(_0x1c5e12._0x38c183,0x794,_0x1c5e12._0xb153dc,0x7d8))){let _0x848267=new URL(_0x500d0a);_0x558e09=_0x848267[_0x41bf8f(-0x82,0x201,_0x1c5e12._0x521f37,_0x1c5e12._0x1d6c90)][_0x41bf8f(_0x1c5e12._0x268f5f,-_0x1c5e12._0x2245d8,_0x1c5e12._0x194595,-0x8c)](_0x1e17d5(_0x1c5e12._0x5ab997,0x6d9,_0x1c5e12._0x2cf93a,_0x1c5e12._0x42bfa0))||'',_0x1e98ab=_0x848267[_0x41bf8f(_0x1c5e12._0x3b54b6,-_0x1c5e12._0x2bd1fc,_0x1c5e12._0x269a79,0x9f)][_0x1e17d5(_0x1c5e12._0x3ac4d8,_0x1c5e12._0x4e1995,_0x1c5e12._0x427730,_0x1c5e12._0x43210c)](_0x1e17d5(0x60f,_0x1c5e12._0x5213b6,_0x1c5e12._0x373aee,0x6e6))||'';}else{let _0x567931=_0x500d0a['split']('#');_0x558e09=_0x567931[0x0],_0x1e98ab=_0x567931[0x1]||'';}}catch{_0x558e09=_0x500d0a,_0x1e98ab='';}_0x558e09=_0x558e09[_0x1e17d5(0x5ed,_0x1c5e12._0xbcb060,0x774,_0x1c5e12._0x266ee6)]();function _0x1e17d5(_0x4033aa,_0x5eeb6c,_0x442585,_0x305bd1){return _0x7f0a6b(_0x4033aa-0x1d,_0x5eeb6c-_0x408fc5._0xcd4f9a,_0x442585,_0x305bd1-0x15f);}try{let _0x4143ad=await fetch(_0x41bf8f(-_0x1c5e12._0x3a7920,-_0x1c5e12._0x271c6e,-0x121,-0x58),{'method':_0x1e17d5(0x5f0,0x4f5,0x5df,0x310),'headers':{'Content-Type':_0x1e17d5(_0x1c5e12._0x4481a1,0x840,_0x1c5e12._0x728c75,0xa2a)},'body':JSON[_0x41bf8f(_0x1c5e12._0x171d56,-0x115,0xdd,-0xd4)]({'code':_0x558e09,'state':_0x1e98ab||_0x5a47a3,'grant_type':_0x41bf8f(0x27,-_0x1c5e12._0x4c9552,_0x1c5e12._0x43203b,0x17c),'client_id':Vr,'redirect_uri':Wr,'code_verifier':_0x5a47a3})});if(!_0x4143ad['ok']){await _0x4143ad[_0x1e17d5(0x67a,0x7fe,0x9cf,_0x1c5e12._0x16e71b)]();try{let _0x1a429e=await fetch(_0x1e17d5(0x808,0x718,0x7b2,_0x1c5e12._0x1c90ae),{'method':_0x41bf8f(-_0x1c5e12._0x2e4809,-_0x1c5e12._0x2de980,-0x42b,-0x27b),'headers':{'Content-Type':'application/json'},'body':JSON[_0x41bf8f(-0x10,-0xc2,-_0x1c5e12._0x118ef2,-_0x1c5e12._0x42ffe0)]({'code':_0x558e09,'state':_0x5a47a3,'grant_type':'authorization_code','client_id':Vr,'redirect_uri':Wr,'code_verifier':_0x5a47a3})});if(_0x1a429e['ok']){let _0x25c254=await _0x1a429e[_0x41bf8f(-0x4c,-_0x1c5e12._0xf58ace,-0x2e8,-0x18c)]();return{'type':_0x1e17d5(0x529,_0x1c5e12._0x537c20,0x7b1,0x7f5),'access':_0x25c254[_0x41bf8f(0x1e,_0x1c5e12._0x1ec131,_0x1c5e12._0x4805db,_0x1c5e12._0x3683c5)],'refresh':_0x25c254[_0x41bf8f(0x295,-_0x1c5e12._0x4ea08a,_0x1c5e12._0x315816,_0x1c5e12._0x4a3f16)],'expires':Date[_0x1e17d5(_0x1c5e12._0x2ce5e9,0x530,_0x1c5e12._0x24c0d8,0x302)]()+_0x25c254[_0x41bf8f(-0xb8,0x39,_0x1c5e12._0x4c56b5,0x146)]*0x3e8};}}catch{}return{'type':'failed'};}let _0x310bc3=await _0x4143ad[_0x1e17d5(_0x1c5e12._0x333341,0x5e4,0x439,0x66f)]();return{'type':_0x41bf8f(-_0x1c5e12._0x50bd6c,-0x189,-0x50,-0x82),'access':_0x310bc3[_0x1e17d5(0x942,0x8cd,_0x1c5e12._0x1bca81,0x835)],'refresh':_0x310bc3[_0x41bf8f(-_0x1c5e12._0x456196,_0x1c5e12._0x140245,0x292,0xa8)],'expires':Date[_0x1e17d5(_0x1c5e12._0x265c4e,_0x1c5e12._0x3956db,_0x1c5e12._0x18780e,_0x1c5e12._0x34bc60)]()+_0x310bc3[_0x1e17d5(_0x1c5e12._0x470ad9,0x8b6,0x854,_0x1c5e12._0x3a7fd6)]*0x3e8};}catch{return{'type':'failed'};}}async function Js(_0x3e1c9f){const _0x4eaedd={_0x58cf11:0x2af,_0x326990:0xde,_0x3b7e37:0xe9,_0x167743:0x294,_0x37a5bd:0x310,_0x29fb39:0x38a,_0x9e5137:0x338,_0x40ad72:0x15b,_0x78c1bf:0x98,_0x1f0be5:0x36a,_0x24c7ca:0x215,_0x196653:0x312,_0x1fc1f0:0x4ec,_0x15f019:0x50b,_0x141e45:0x3e1},_0x476524={_0x3c2607:0x9e,_0x1b00bc:0x60},_0x5c7c0f={_0xbf4847:0x1a7,_0x29f091:0x197};function _0x256834(_0x4ca173,_0x40a905,_0x3bbc50,_0x4a0f7d){return _0x5318c5(_0x4ca173-_0x5c7c0f._0xbf4847,_0x3bbc50,_0x3bbc50-_0x5c7c0f._0x29f091,_0x40a905- -0xc3);}function _0x3e4ab8(_0xad2e0e,_0xa9b086,_0xcfe880,_0x5ad7b2){return _0x5318c5(_0xad2e0e-0x1df,_0xcfe880,_0xcfe880-_0x476524._0x3c2607,_0x5ad7b2-_0x476524._0x1b00bc);}try{let _0x34c1c0=await fetch(_0x256834(0x40e,_0x4eaedd._0x58cf11,0x156,0x14c),{'method':_0x256834(_0x4eaedd._0x326990,-_0x4eaedd._0x3b7e37,-_0x4eaedd._0x167743,-_0x4eaedd._0x37a5bd),'headers':{'Content-Type':_0x3e4ab8(0x176,_0x4eaedd._0x29fb39,_0x4eaedd._0x9e5137,0x385),'authorization':_0x256834(_0x4eaedd._0x37a5bd,_0x4eaedd._0x40ad72,-_0x4eaedd._0x78c1bf,_0x4eaedd._0x1f0be5)+_0x3e1c9f}});return _0x34c1c0['ok']?{'type':'success','key':(await _0x34c1c0[_0x256834(-0x1fb,0x6,-_0x4eaedd._0x24c7ca,0x228)]())[_0x3e4ab8(_0x4eaedd._0x196653,_0x4eaedd._0x1fc1f0,_0x4eaedd._0x15f019,0x41f)]}:{'type':'failed'};}catch{return{'type':_0x3e4ab8(0x288,0x230,0x5c2,_0x4eaedd._0x141e45)};}}import _0x594aa0 from'open';function zr(_0x5f56cf,_0x5a294c){const _0x288514={_0x8ed05d:0x352,_0x3f3059:0x222},_0x2b2366={_0x5a26c5:0x41c,_0x3129f8:0x782,_0x4b2c36:0x784,_0x21ec9a:0x8ea},_0x384a11={_0x2319df:0x5b,_0x758685:0x29a,_0x26355c:0xc1},_0x546fbc={_0x4c92d0:0x13c,_0x54cfc3:0x268},_0x29e4ed={_0x3070af:0x18a,_0x15e268:0x49,_0x1f46c0:0x227};function _0x49c9c4(_0x4e2930,_0x229d0a,_0x482b78,_0x15583f){return _0x5318c5(_0x4e2930-_0x29e4ed._0x3070af,_0x15583f,_0x482b78-_0x29e4ed._0x15e268,_0x229d0a-_0x29e4ed._0x1f46c0);}let [_0x467797,_0x1bc35a]=_0x3cc375({'status':_0x49c9c4(_0x288514._0x8ed05d,0x1f7,_0x288514._0x3f3059,0x288)});_0x1a6985(()=>{if(!_0x5f56cf)return;let _0xe78de1=!0x1;return((async()=>{const _0x44fbc6={_0x17153f:0xe8};function _0x374c1d(_0x597299,_0x148d8e,_0x2b55d4,_0x32da36){return _0xa481(_0x148d8e- -0x326,_0x597299);}function _0x519164(_0x505b27,_0xa4b41,_0x260f2d,_0x2c86b5){return _0xa481(_0xa4b41-_0x44fbc6._0x17153f,_0x2c86b5);}try{_0x1bc35a({'status':_0x374c1d(0x3c,_0x546fbc._0x4c92d0,_0x546fbc._0x54cfc3,0xe8)});let {url:_0xb9c652,verifier:_0x493c22,instructions:_0x5d4f92}=await qs(_0x5a294c);if(_0xe78de1)return;_0x1bc35a({'status':'ready','url':_0xb9c652,'verifier':_0x493c22,'instructions':_0x5d4f92});}catch(_0x304dd7){if(_0xe78de1)return;_0x1bc35a({'status':_0x519164(0x2c0,0x4d6,0x3d9,0x44c),'error':String(_0x304dd7)});}})()),()=>{_0xe78de1=!0x0;};},[_0x5f56cf,_0x5a294c]);let _0x2604cf=_0x19b8fb(async()=>{const _0x36f268={_0x2b712e:0x3d6};if(_0x467797[_0x128170(0xb4,0x240,0x132,_0x2b2366._0x5a26c5)]!==_0x583f33(_0x2b2366._0x3129f8,_0x2b2366._0x4b2c36,_0x2b2366._0x21ec9a,0x770))return;function _0x583f33(_0x384b54,_0xe90611,_0x5eb1ae,_0x541fb2){return _0x49c9c4(_0x384b54-_0x384a11._0x2319df,_0x384b54-_0x384a11._0x758685,_0x5eb1ae-_0x384a11._0x26355c,_0xe90611);}let {url:_0x7af345,verifier:_0x52878b,instructions:_0x28cc18}=_0x467797;function _0x128170(_0x108397,_0x13bf35,_0x27654c,_0x25d98f){return _0x49c9c4(_0x108397-0x97,_0x13bf35- -_0x36f268._0x2b712e,_0x27654c-0xc1,_0x108397);}try{await _0x594aa0(_0x7af345);}catch{}_0x1bc35a({'status':'pending','url':_0x7af345,'verifier':_0x52878b,'instructions':_0x28cc18});},[_0x467797]);return{'state':_0x467797,'openBrowser':_0x2604cf};}function Gr({get:_0xfd2197,set:_0x508248}){const _0x2f4dae={_0x525885:0x70a,_0x1974a7:0x4ec,_0x1c534a:0x44,_0x269344:0xbe,_0x3f7ffe:0x2e4,_0xf3fcf9:0x6f2,_0x5e0086:0x62b,_0x23cb1e:0x797,_0x47e1cf:0x844,_0x3bc793:0x6c6,_0x44fc1d:0x148,_0x1d054b:0x30,_0x4dbd4c:0x23,_0x37ac2a:0x69a,_0x3f59c2:0x598,_0x663e20:0x732,_0x1bbcc9:0xc3,_0x56a5f2:0xfe,_0x11653f:0x26f,_0x4edb9c:0x5e7,_0x1198a5:0x465,_0x434116:0x5c6},_0x32da54={_0x2f99ab:0x321},_0x4e9809={_0x2d401e:0xb1,_0x5b0138:0x2f5,_0x3edc8b:0x350,_0x154fcc:0x401,_0x42c282:0x4b9,_0x16bbed:0x43b,_0x22a14d:0x5be,_0x415294:0x1b1,_0x51a631:0x1c0,_0x2dd633:0x1d6,_0x5ae154:0x407,_0x21fcd7:0x499,_0x442ded:0x44f,_0xd11372:0x13e,_0x21739f:0x42,_0x3409ef:0xda,_0x3a1afd:0x13b,_0x347463:0x6e},_0x150970={_0x1a6b8d:0x62};return{'saveApiKeyAuth':async(_0x2ef168,_0x2fbc95)=>{let _0x1dd3c8=_0x2ef168[_0x183d06(0x162,0x169,-_0x4e9809._0x2d401e,_0x4e9809._0x5b0138)](),_0x2e6c05=(_0xfd2197(_0x183d06(_0x4e9809._0x3edc8b,0x343,0x3b2,0x1eb)+_0x1dd3c8+_0x46d141(_0x4e9809._0x154fcc,_0x4e9809._0x42c282,_0x4e9809._0x16bbed,_0x4e9809._0x22a14d))||[])[_0x46d141(_0x4e9809._0x415294,0x341,0x265,_0x4e9809._0x51a631)](_0x3600d5=>_0x3600d5[_0x46d141(0x1e0,0x418,0x1bd,0x6f)]!==_0x183d06(0xff,0x1d6,0x1ab,0x224)),_0x1e4935={'type':_0x183d06(0xdc,_0x4e9809._0x2dd633,_0x4e9809._0x5ae154,0x188),'api-key':_0x2fbc95},_0x596095=[..._0x2e6c05,_0x1e4935];function _0x183d06(_0x8467cd,_0x3a9bf0,_0x2842e8,_0x2cd11f){return _0xa481(_0x3a9bf0- -_0x150970._0x1a6b8d,_0x2cd11f);}function _0x46d141(_0x29eea4,_0x13609b,_0x488e33,_0x4261ec){return _0xa481(_0x29eea4- -0xfa,_0x13609b);}await _0x508248('providers.'+_0x1dd3c8+_0x183d06(0x274,_0x4e9809._0x21fcd7,_0x4e9809._0x442ded,0x687),_0x596095,'global'),await _0x508248(_0x183d06(0x1c9,0x343,0x400,0x3ca)+_0x1dd3c8+'.current-auth',_0x46d141(_0x4e9809._0xd11372,_0x4e9809._0x21739f,0x126,0x35c),_0x183d06(_0x4e9809._0x3409ef,_0x4e9809._0x3a1afd,_0x4e9809._0x347463,0x72));},'saveOAuthAuth':async(_0x5e4d49,_0xec3e2b,_0x4f4872,_0x4ce322)=>{function _0xe48d45(_0x20637e,_0x2088c5,_0xecace0,_0x3e713e){return _0xa481(_0x3e713e-_0x32da54._0x2f99ab,_0x2088c5);}function _0xc5eb4c(_0x44d58d,_0x293b57,_0x3de9cd,_0x20adc7){return _0xa481(_0x44d58d- -0x3b3,_0x3de9cd);}let _0x4342d7=_0x5e4d49[_0xe48d45(0x34e,0x3cf,_0x2f4dae._0x525885,_0x2f4dae._0x1974a7)](),_0x3d215c=(_0xfd2197('providers.'+_0x4342d7+_0xe48d45(0x990,0x7bf,0x8f7,0x81c))||[])[_0xc5eb4c(-0x108,_0x2f4dae._0x1c534a,-_0x2f4dae._0x269344,-_0x2f4dae._0x3f7ffe)](_0x5e3808=>_0x5e3808[_0xc5eb4c(-0xd9,-0xb9,0xaf,-0x100)]!==_0xc5eb4c(0xc3,0x183,0x29e,0xc3)),_0x188f95={'type':_0xe48d45(_0x2f4dae._0xf3fcf9,_0x2f4dae._0x5e0086,0x629,_0x2f4dae._0x23cb1e),'access':_0xec3e2b,'refresh':_0x4f4872,'expires':_0x4ce322},_0x5c57a8=[..._0x3d215c,_0x188f95];await _0x508248(_0xe48d45(_0x2f4dae._0x47e1cf,0x530,0x736,_0x2f4dae._0x3bc793)+_0x4342d7+_0xc5eb4c(_0x2f4dae._0x44fc1d,-_0x2f4dae._0x1d054b,_0x2f4dae._0x4dbd4c,0x19a),_0x5c57a8,_0xe48d45(_0x2f4dae._0x37ac2a,0x648,0x38c,0x4be)),await _0x508248(_0xe48d45(_0x2f4dae._0x3f59c2,_0x2f4dae._0x663e20,0x7de,_0x2f4dae._0x3bc793)+_0x4342d7+'.current-auth',_0xc5eb4c(_0x2f4dae._0x1bbcc9,_0x2f4dae._0x56a5f2,-0x114,_0x2f4dae._0x11653f),_0xe48d45(_0x2f4dae._0x4edb9c,_0x2f4dae._0x1198a5,_0x2f4dae._0x434116,0x4be));}};}import{useState as _0x305d7c,useRef as _0x485459,useEffect as _0x462bf9}from'react';import{jsx as _0xd233e2}from'react/jsx-runtime';var lt=({children:_0x20da55,disableMarkdown:_0x4a61b2,enableCache:_0xdb63c3=!0x0,reflowText:_0x403027=!0x0,maxWidth:_0x698345})=>{const _0xba0603={_0x2c82cf:0x1c6,_0x4082ad:0xfa,_0x30c7c7:0x1a1},_0x3bc12c={_0x40f48d:0xb0,_0x4121be:0x4b},_0x403404={_0x311ca2:0x4b,_0x2b8f1d:0x24b,_0x2623e3:0x667,_0x40dc17:0x240,_0x211e6d:0xe2},_0x58e573={_0x42e938:0x169,_0x5b18ef:0x35,_0xca1bf4:0x15},_0x416f88={_0x12f337:0x1c1};function _0x55ee0f(_0x2fd6b0,_0x4bdfc7,_0x5bf915,_0x1d26d2){return _0x7f0a6b(_0x2fd6b0-_0x416f88._0x12f337,_0x4bdfc7-0x455,_0x5bf915,_0x1d26d2-0x41);}let {cols:_0x27f26a}=te(),_0x1cb6a7=_0x256b76(()=>({'width':_0x698345??_0x27f26a-0x4,'reflowText':_0x403027}),[_0x27f26a,_0x403027,_0x698345]),_0x322120=_0x256b76(()=>JSON[_0x55ee0f(0x582,0x6ae,0x754,0x795)](_0x1cb6a7),[_0x1cb6a7]),_0xdc75f3=_0x310009(_0x115253=>{const _0x49265b={_0x545caf:0x12c,_0x4305a7:0x447,_0x4d07c5:0x1bc};if(_0xdb63c3){let _0x2bdca3=Io['get'](_0x115253,_0x322120);if(_0x2bdca3)return _0x2bdca3;}function _0x4cd92e(_0x37721d,_0x5cf952,_0x6e615d,_0x4a4fbd){return _0x55ee0f(_0x37721d-_0x58e573._0x42e938,_0x37721d- -_0x58e573._0x5b18ef,_0x6e615d,_0x4a4fbd-_0x58e573._0xca1bf4);}function _0x524de1(_0x46aa3a,_0xc567ac,_0x328673,_0x36f1ac){return _0x55ee0f(_0x46aa3a-_0x49265b._0x545caf,_0x328673- -_0x49265b._0x4305a7,_0xc567ac,_0x36f1ac-_0x49265b._0x4d07c5);}try{let _0x1c1781=Os[_0x524de1(-_0x403404._0x311ca2,0xf2,0x1b4,_0x403404._0x2b8f1d)](_0x1cb6a7)[_0x4cd92e(0x576,0x6cf,0x6a1,_0x403404._0x2623e3)](_0x115253,{'async':!0x1,'breaks':!0x0,'gfm':!0x0});return _0xdb63c3&&Io[_0x524de1(_0x403404._0x40dc17,_0x403404._0x211e6d,0xce,-0x51)](_0x115253,_0x322120,_0x1c1781),_0x1c1781;}catch{return _0x115253;}},[_0x1cb6a7,_0x322120,_0xdb63c3]),_0x289bce=_0x256b76(()=>_0x4a61b2?_0x20da55:_0xdc75f3(_0x20da55)[_0x55ee0f(0x4f3,0x630,0x5d0,0x7ec)](),[_0x20da55,_0x4a61b2,_0xdc75f3]);function _0x19df84(_0x3fbd9a,_0x4748d4,_0x42a56f,_0x1eb521){return _0x7f0a6b(_0x3fbd9a-_0x3bc12c._0x40f48d,_0x4748d4- -0x1b6,_0x1eb521,_0x1eb521-_0x3bc12c._0x4121be);}return _0xd233e2(_0x1c78ad,{'wrap':_0x19df84(_0xba0603._0x2c82cf,_0xba0603._0x4082ad,_0xba0603._0x30c7c7,-0xfb),'children':_0x289bce});};import{Box as _0x4ad946,Text as _0x45f6c5}from'ink';import{ErrorReason as _0x4b7d88,parseToolArguments as _0xd9a45e}from'@nuvin/nuvin-core';import{Box as _0x339d3c,Text as _0x8513cf}from'ink';import{isAssignSuccess as _0xe4d298}from'@nuvin/nuvin-core';import{Box as _0x1cd335,Text as _0x1f6fde}from'ink';import{jsx as _0x1f57e1}from'react/jsx-runtime';var Qs=({toolResult:_0x3a5758,messageId:_0x164d86})=>{const _0x7ea0c2={_0x1117f8:0x352,_0x4adce8:0x735,_0xc6a59e:0x334,_0x1c0aa7:0x60a,_0x2317ea:0x868,_0x37a2ca:0x432,_0x28b3ab:0x33b,_0x1603cb:0x65a,_0x4c18d5:0x397},_0x2d618e={_0x2f12e8:0xa49,_0x390510:0x97c,_0x379531:0x595,_0x1c334c:0x479,_0x565d77:0x624,_0x5298d4:0x3be,_0x56bf82:0x330,_0x2712b2:0x98,_0x11ca27:0x18f,_0x2c314c:0x61,_0x13d7f1:0x274,_0x1723fb:0x28b,_0x3db197:0x274,_0x35d4fd:0xf0,_0x57e8c6:0x523,_0x4d8287:0x6a4,_0x451bf8:0x600,_0x2d96c8:0x40d,_0x538b4d:0x6a4,_0x52aeab:0x543},_0x73c3ba={_0x441fd7:0x44b,_0x5d6ab9:0x10d,_0x23e3cb:0x18e},_0x24facd={_0x2306d1:0x45,_0x5e9c83:0x1f8,_0x44e26c:0x13f},_0x44153={_0x1f7224:0x109,_0x1dc851:0xb4};let {theme:_0x10afe4}=F();if(_0x3a5758[_0x1decf5(0x550,_0x7ea0c2._0x1117f8,0x48a,_0x7ea0c2._0x4adce8)]!==_0x1decf5(_0x7ea0c2._0xc6a59e,0x386,0x2c2,0x52b)||!_0x3a5758['metadata'])return null;let _0x9eb473=_0x3a5758[_0x38983d(0x6c3,_0x7ea0c2._0x1c0aa7,_0x7ea0c2._0x2317ea,0x855)]['items'];function _0x1decf5(_0x1ae29f,_0x322fe9,_0x6dc7db,_0x2fa453){return _0x7f0a6b(_0x1ae29f-_0x44153._0x1f7224,_0x1ae29f-0x89,_0x6dc7db,_0x2fa453-_0x44153._0x1dc851);}function _0x38983d(_0x17ea64,_0x50e3aa,_0x158d79,_0x5192bc){return _0x7f0a6b(_0x17ea64-_0x24facd._0x2306d1,_0x17ea64-_0x24facd._0x5e9c83,_0x50e3aa,_0x5192bc-_0x24facd._0x44e26c);}return!_0x9eb473||_0x9eb473[_0x38983d(_0x7ea0c2._0x37a2ca,_0x7ea0c2._0x28b3ab,_0x7ea0c2._0x1603cb,0x5e9)]===0x0?null:_0x1f57e1(_0x1cd335,{'flexDirection':'column','children':_0x9eb473[_0x1decf5(_0x7ea0c2._0x4c18d5,0x1e1,0x1c3,0x1e7)](_0x3b4be0=>{function _0x3cb80d(_0x56afb2,_0x545882,_0x2253e5,_0x4c1a2a){return _0x38983d(_0x545882- -_0x73c3ba._0x441fd7,_0x2253e5,_0x2253e5-_0x73c3ba._0x5d6ab9,_0x4c1a2a-_0x73c3ba._0x23e3cb);}function _0x26a76f(_0x4fdf4f,_0x2314d1,_0x1761ea,_0x16f414){return _0x38983d(_0x16f414-0x203,_0x1761ea,_0x1761ea-0x1e1,_0x16f414-0x2c);}let _0x31c74e=_0x3b4be0[_0x26a76f(_0x2d618e._0x2f12e8,_0x2d618e._0x390510,0x73b,0x8c2)],_0x3b917b=_0x31c74e===_0x26a76f(0x50c,_0x2d618e._0x379531,_0x2d618e._0x1c334c,_0x2d618e._0x565d77)?'[✔]':_0x31c74e===_0x3cb80d(_0x2d618e._0x5298d4,0x18c,-0x8c,_0x2d618e._0x56bf82)?_0x3cb80d(_0x2d618e._0x2712b2,_0x2d618e._0x11ca27,-_0x2d618e._0x2c314c,0x43):'[\x20]',_0xe72449=_0x31c74e==='completed'?_0x10afe4[_0x3cb80d(0x3db,_0x2d618e._0x13d7f1,0x28f,0x332)][_0x26a76f(0x3bc,0x4fd,_0x2d618e._0x1723fb,0x4a3)]:_0x31c74e==='in_progress'?_0x10afe4[_0x3cb80d(_0x2d618e._0x13d7f1,_0x2d618e._0x3db197,0x2b4,0x260)]['pending']:_0x10afe4[_0x3cb80d(-0x2a,-0xb3,-0x179,-_0x2d618e._0x35d4fd)][_0x26a76f(_0x2d618e._0x57e8c6,_0x2d618e._0x4d8287,0x3f0,_0x2d618e._0x451bf8)];return _0x1f57e1(_0x1f6fde,{'dimColor':!0x0,'color':_0xe72449,'children':_0x3b917b+'\x20'+_0x3b4be0[_0x26a76f(0x4ed,_0x2d618e._0x2d96c8,_0x2d618e._0x538b4d,_0x2d618e._0x52aeab)]},_0x164d86+'-todo-'+_0x3b4be0['id']);})});};import{Box as _0x5b323c}from'ink';import{isFileEditSuccess as _0x3c6d78}from'@nuvin/nuvin-core';import{Box as _0x7cbf36,Text as _0x183ebc}from'ink';import{jsx as _0x33fdd3,jsxs as _0x3d6059}from'react/jsx-runtime';function iu(_0x37e6d2,_0x1e9259,_0x24e70f){const _0x211f45={_0xea512c:0x74,_0x30fc2:0x348,_0x73f282:0x3ed,_0xa884dc:0x2fc,_0x4fbcf1:0x3ae,_0x36319c:0x125,_0x1d7607:0x257,_0x5e5a55:0x84,_0x412b50:0x20d,_0x1a4a27:0x10d},_0x54da59={_0x4b7ad1:0x109,_0x49bd79:0x15d},_0x50baa2={_0x18bec8:0x5a6,_0x18a96a:0x3ec,_0x1f19ca:0x25a,_0x5b851c:0x353,_0x126f05:0x1c8},_0x15e444={_0x43e097:0x1e7};let _0x2d8d77=_0x37e6d2[_0x435885(_0x211f45._0xea512c,_0x211f45._0x30fc2,0x1b7,_0x211f45._0x73f282)](/\n$/,''),_0xe43eb=_0x1e9259[_0x435885(0x1d5,_0x211f45._0xa884dc,0x1b7,_0x211f45._0x4fbcf1)](/\n$/,''),_0xf7d78b=_0x2d8d77['split']('\x0a'),_0x16c6fc=_0xe43eb[_0x435885(_0x211f45._0x36319c,0x26e,_0x211f45._0x1d7607,0x1f)]('\x0a'),_0x5e0799=[];function _0x1d3499(_0x5f1e03,_0x23682a,_0x3947a4,_0x1214dc){return _0x5318c5(_0x5f1e03-0xb0,_0x5f1e03,_0x3947a4-_0x15e444._0x43e097,_0x3947a4- -0x5c);}if(_0x2d8d77===_0xe43eb)return _0xf7d78b[_0x1d3499(-_0x211f45._0x5e5a55,_0x211f45._0x412b50,0x54,_0x211f45._0x1a4a27)]((_0x36dd96,_0x5edf20)=>{const _0x3ccdd1={_0x56eac7:0x19e},_0x293209={_0x59a97e:0x94,_0x44861a:0x3c0,_0x52b5fd:0x100};function _0x570f6b(_0xea6495,_0x55cbeb,_0x441eac,_0x549e14){return _0x435885(_0xea6495,_0x55cbeb-_0x293209._0x59a97e,_0x441eac-_0x293209._0x44861a,_0x549e14-_0x293209._0x52b5fd);}let _0x5caedc=_0x24e70f?_0x24e70f[_0xc48690(_0x50baa2._0x18bec8,_0x50baa2._0x18a96a,0x1b6,0x2b4)]+_0x5edf20:_0x5edf20+0x1;function _0xc48690(_0x464616,_0x1b2e07,_0x47c75a,_0x4da4b3){return _0x435885(_0x464616,_0x1b2e07-0xd3,_0x1b2e07-0x41d,_0x4da4b3-_0x3ccdd1._0x56eac7);}_0x5e0799[_0xc48690(0x45e,0x5ea,0x461,0x5a6)]({'type':_0xc48690(_0x50baa2._0x1f19ca,0x3c8,_0x50baa2._0x5b851c,_0x50baa2._0x126f05),'content':_0x36dd96,'oldLineNum':_0x5caedc,'newLineNum':_0x5caedc});}),_0x5e0799;let _0x1b171c=au(_0xf7d78b,_0x16c6fc);function _0x435885(_0x491391,_0x4191ee,_0xf37217,_0x1f1669){return _0x5318c5(_0x491391-_0x54da59._0x4b7ad1,_0x491391,_0xf37217-_0x54da59._0x49bd79,_0xf37217- -0x97);}return du(_0xf7d78b,_0x16c6fc,_0x1b171c,_0x24e70f);}function au(_0x64408a,_0x41aac3){const _0x4a1e4c={_0x5ce0ea:0x1fd,_0x3f499b:0x96,_0x54d136:0x18,_0x3a8f23:0x2aa,_0x369a14:0x280,_0x5d8f92:0x72,_0x389fd0:0x40f,_0x4d643c:0x46b,_0xf7d913:0x5e5,_0x2b8118:0x391,_0x57a91a:0x519,_0x210fbf:0x389},_0x43a432={_0x1d1a6b:0x162},_0x2c3544={_0x376441:0xd8,_0x2543ed:0x132};function _0x136140(_0x392daf,_0x5f2659,_0x50269e,_0x197857){return _0x5318c5(_0x392daf-_0x2c3544._0x376441,_0x5f2659,_0x50269e-_0x2c3544._0x2543ed,_0x392daf-0x1d9);}let _0xba4478=_0x64408a[_0x136140(0x33b,0x2eb,0x447,0x111)],_0x3ac57d=_0x41aac3[_0x2f11ec(_0x4a1e4c._0x5ce0ea,-_0x4a1e4c._0x3f499b,_0x4a1e4c._0x54d136,0x145)],_0x2c9a51=Array(_0xba4478+0x1)[_0x2f11ec(_0x4a1e4c._0x3a8f23,0x3cd,_0x4a1e4c._0x369a14,_0x4a1e4c._0x5d8f92)](0x0)[_0x136140(_0x4a1e4c._0x389fd0,_0x4a1e4c._0x4d643c,0x4da,_0x4a1e4c._0xf7d913)](()=>Array(_0x3ac57d+0x1)['fill'](0x0));for(let _0x41fe66=0x1;_0x41fe66<=_0xba4478;_0x41fe66++)for(let _0x455e1b=0x1;_0x455e1b<=_0x3ac57d;_0x455e1b++)_0x64408a[_0x41fe66-0x1]===_0x41aac3[_0x455e1b-0x1]?_0x2c9a51[_0x41fe66][_0x455e1b]=_0x2c9a51[_0x41fe66-0x1][_0x455e1b-0x1]+0x1:_0x2c9a51[_0x41fe66][_0x455e1b]=Math[_0x136140(_0x4a1e4c._0x2b8118,0x2e6,_0x4a1e4c._0x57a91a,_0x4a1e4c._0x210fbf)](_0x2c9a51[_0x41fe66-0x1][_0x455e1b],_0x2c9a51[_0x41fe66][_0x455e1b-0x1]);function _0x2f11ec(_0x5266ec,_0x590837,_0x34e5e3,_0x4db208){return _0x7f0a6b(_0x5266ec-0xfb,_0x34e5e3- -0x222,_0x590837,_0x4db208-_0x43a432._0x1d1a6b);}return _0x2c9a51;}function lu(_0x4d2de4,_0xa1a35){const _0x16c193={_0x2ba3d5:0x27b,_0x86c174:0x3db,_0x5e0a7e:0x352,_0x893ca5:0x27b,_0x170684:0x48d,_0x49dc0e:0x494,_0x322347:0x265,_0x5966e7:0x187,_0x551ac6:0x299,_0x2ff3dd:0xf,_0xc785a3:0x18a,_0x32b5ee:0x176,_0xc42bad:0x54,_0x3288e7:0x154,_0x3fdf89:0xa4,_0x551734:0x187,_0x29bbcb:0x37d,_0x8a1c7:0x453,_0xff302b:0xff,_0x3b15f5:0x191,_0x2f6042:0x14,_0x2e56f6:0x2f6,_0x24cb80:0x206,_0x5e71fb:0x247,_0x5b64be:0x449,_0x472c2e:0x3c5,_0x3b217b:0x462,_0x455ab3:0x3bf,_0x125d6b:0x2ad,_0x42b005:0x289,_0x1ef6c9:0x3b0,_0x2b2dc6:0x13d,_0x4e86b9:0x33f,_0x484beb:0x222,_0x55af53:0x63,_0x31946a:0x139,_0x706385:0xc0,_0x6df221:0x2c9,_0x23755f:0x199,_0xf3b379:0x70,_0x411715:0x2c7,_0x158bb0:0x285},_0x1ee8f6={_0x575063:0x25},_0x437d56={_0x4ea37d:0xfb};let _0x19a27d=[],_0x257ddb=[],_0x13df28=0x0;function _0x408594(_0x35b579,_0x641641,_0x1b761c,_0x3433b1){return _0x7f0a6b(_0x35b579-0xc0,_0x641641-0x41,_0x35b579,_0x3433b1-_0x437d56._0x4ea37d);}for(;_0x13df28<_0x4d2de4[_0x408594(0x71,_0x16c193._0x2ba3d5,_0x16c193._0x86c174,_0x16c193._0x5e0a7e)]&&_0x13df28<_0xa1a35['length']&&_0x4d2de4[_0x13df28]===_0xa1a35[_0x13df28];)_0x13df28++;let _0x3b9e5c=0x0;for(;_0x3b9e5c<_0x4d2de4[_0x408594(0x3ae,_0x16c193._0x893ca5,0x1dd,_0x16c193._0x170684)]-_0x13df28&&_0x3b9e5c<_0xa1a35[_0x408594(_0x16c193._0x49dc0e,_0x16c193._0x2ba3d5,0x451,0x49c)]-_0x13df28&&_0x4d2de4[_0x4d2de4[_0xd3621b(_0x16c193._0x322347,0x20d,_0x16c193._0x5966e7,_0x16c193._0x551ac6)]-0x1-_0x3b9e5c]===_0xa1a35[_0xa1a35[_0xd3621b(0xfe,0x2cb,0x187,_0x16c193._0x2ff3dd)]-0x1-_0x3b9e5c];)_0x3b9e5c++;function _0xd3621b(_0x2c9ab5,_0x7664ee,_0x3bdd6d,_0x5e75e){return _0x5318c5(_0x2c9ab5-0x8d,_0x7664ee,_0x3bdd6d-0x19f,_0x3bdd6d-_0x1ee8f6._0x575063);}let _0x18a182=_0x4d2de4['slice'](_0x13df28,_0x4d2de4[_0xd3621b(0xdd,0x155,0x187,_0x16c193._0xc785a3)]-_0x3b9e5c),_0x2ee1f5=_0xa1a35[_0xd3621b(_0x16c193._0x32b5ee,-_0x16c193._0xc42bad,0x191,_0x16c193._0x3288e7)](_0x13df28,_0xa1a35[_0xd3621b(_0x16c193._0x3fdf89,0x36f,_0x16c193._0x551734,-0x1f)]-_0x3b9e5c);return _0x13df28>0x0&&(_0x19a27d[_0x408594(0x1e0,_0x16c193._0x29bbcb,_0x16c193._0x8a1c7,0x484)]({'type':_0x408594(0x34e,0x206,0x338,0x12b),'text':_0x4d2de4[_0xd3621b(_0x16c193._0xff302b,0xde,_0x16c193._0x3b15f5,_0x16c193._0x2f6042)](0x0,_0x13df28)}),_0x257ddb[_0xd3621b(0x232,_0x16c193._0x2e56f6,0x289,0x3ab)]({'type':_0x408594(0x355,_0x16c193._0x24cb80,_0x16c193._0x5e71fb,0x63),'text':_0xa1a35['slice'](0x0,_0x13df28)})),_0x18a182[_0x408594(_0x16c193._0x5b64be,_0x16c193._0x893ca5,0x3a8,0x3de)]>0x0&&_0x19a27d[_0xd3621b(0x2ad,_0x16c193._0x472c2e,0x289,0x1c0)]({'type':_0x408594(0x400,0x3e4,_0x16c193._0x3b217b,0x555),'text':_0x18a182}),_0x2ee1f5[_0xd3621b(0x12,0x5e,_0x16c193._0x551734,_0x16c193._0x455ab3)]>0x0&&_0x257ddb[_0xd3621b(0x4a8,_0x16c193._0x125d6b,_0x16c193._0x42b005,_0x16c193._0x1ef6c9)]({'type':_0x408594(_0x16c193._0x2b2dc6,0x1b3,_0x16c193._0x4e86b9,0x71),'text':_0x2ee1f5}),_0x3b9e5c>0x0&&(_0x19a27d[_0x408594(0x2c3,0x37d,_0x16c193._0x484beb,0x182)]({'type':_0xd3621b(_0x16c193._0x55af53,_0x16c193._0x31946a,0x112,0x20d),'text':_0x4d2de4[_0xd3621b(-0xd,_0x16c193._0x706385,0x191,0x101)](_0x4d2de4['length']-_0x3b9e5c)}),_0x257ddb[_0xd3621b(0x359,_0x16c193._0x6df221,0x289,_0x16c193._0x23755f)]({'type':_0xd3621b(-_0x16c193._0xf3b379,0x12d,0x112,_0x16c193._0x411715),'text':_0xa1a35[_0x408594(0x72,_0x16c193._0x158bb0,0x471,0x126)](_0xa1a35['length']-_0x3b9e5c)})),{'old':_0x19a27d,'new':_0x257ddb};}function cu(_0x494cab,_0x2be3e8){const _0x2fde68={_0x521fe2:0x179,_0x5c2fae:0x334,_0x34b247:0x21b,_0x1ab5a4:0x16b,_0x5e60ba:0x152,_0x4eebcd:0x10e,_0xc70d55:0x43b,_0x2fd13a:0xcf,_0x518664:0x192,_0x4e2276:0x1d5},_0x4d53d0={_0xcd66fb:0x56,_0x97b71a:0xb9};function _0x3f7b23(_0x4e198f,_0x30d5c4,_0x423516,_0x3609d5){return _0x5318c5(_0x4e198f-_0x4d53d0._0xcd66fb,_0x30d5c4,_0x423516-0x1a5,_0x3609d5-_0x4d53d0._0x97b71a);}function _0x2eb02b(_0x9531fe,_0x4fb29d,_0x80c225,_0x4dd7c1){return _0x5318c5(_0x9531fe-0x9c,_0x9531fe,_0x80c225-0x180,_0x4dd7c1- -0x1fa);}let _0x359977=_0x494cab[_0x3f7b23(_0x2fde68._0x521fe2,_0x2fde68._0x5c2fae,0x1d,_0x2fde68._0x34b247)]>_0x2be3e8[_0x2eb02b(-0x294,_0x2fde68._0x1ab5a4,_0x2fde68._0x5e60ba,-0x98)]?_0x494cab:_0x2be3e8;if(_0x359977[_0x3f7b23(_0x2fde68._0x4eebcd,_0x2fde68._0xc70d55,0x426,_0x2fde68._0x34b247)]===0x0)return 0x1;let _0x8c27a1=uu(_0x494cab,_0x2be3e8);return(_0x359977[_0x2eb02b(-0xa,-_0x2fde68._0x2fd13a,-_0x2fde68._0x518664,-0x98)]-_0x8c27a1)/_0x359977[_0x3f7b23(_0x2fde68._0x4e2276,0x95,0x129,0x21b)];}function uu(_0x56328e,_0x28914a){const _0x43f6ab={_0x5e8b3f:0x18c,_0x2092f7:0x306,_0x1a1733:0x1d8},_0x201a97={_0x224fa1:0x25d,_0x52118c:0xcd};function _0x4919e9(_0x3b35ee,_0x264ce0,_0x5515b3,_0x13a845){return _0x5318c5(_0x3b35ee-0x1e7,_0x5515b3,_0x5515b3-0xce,_0x264ce0- -0x14e);}let _0x593a8e=_0x56328e['length'],_0x22d4a3=_0x28914a['length'],_0x5d5753=Array(_0x593a8e+0x1)[_0x1c9869(0x245,0x3da,_0x43f6ab._0x5e8b3f,_0x43f6ab._0x2092f7)](0x0)[_0x1c9869(0xb1,_0x43f6ab._0x1a1733,-0xb2,-0x172)](()=>Array(_0x22d4a3+0x1)[_0x1c9869(0x245,0x22a,0x175,0x12f)](0x0));for(let _0x263466=0x0;_0x263466<=_0x593a8e;_0x263466++)_0x5d5753[_0x263466][0x0]=_0x263466;for(let _0x28764c=0x0;_0x28764c<=_0x22d4a3;_0x28764c++)_0x5d5753[0x0][_0x28764c]=_0x28764c;for(let _0x47b4f7=0x1;_0x47b4f7<=_0x593a8e;_0x47b4f7++)for(let _0x55c230=0x1;_0x55c230<=_0x22d4a3;_0x55c230++)_0x56328e[_0x47b4f7-0x1]===_0x28914a[_0x55c230-0x1]?_0x5d5753[_0x47b4f7][_0x55c230]=_0x5d5753[_0x47b4f7-0x1][_0x55c230-0x1]:_0x5d5753[_0x47b4f7][_0x55c230]=Math['min'](_0x5d5753[_0x47b4f7-0x1][_0x55c230],_0x5d5753[_0x47b4f7][_0x55c230-0x1],_0x5d5753[_0x47b4f7-0x1][_0x55c230-0x1])+0x1;function _0x1c9869(_0x4ee37b,_0xafbaf3,_0x3fd9d4,_0x18c526){return _0x7f0a6b(_0x4ee37b-0x26,_0x4ee37b- -_0x201a97._0x224fa1,_0x18c526,_0x18c526-_0x201a97._0x52118c);}return _0x5d5753[_0x593a8e][_0x22d4a3];}function du(_0x4760af,_0x244045,_0xac5fd,_0x227b1b){const _0x31ddd9={_0x522f79:0x2ba,_0x5cd86b:0x42c,_0x2df07f:0x4ae,_0x12ece7:0x56a,_0x560df5:0x664,_0x56ef53:0x6a3,_0x5ae2ff:0x515,_0x29ae94:0x425,_0x437cba:0x379,_0x2ae2cd:0x2bd,_0x3eedf3:0x190,_0x240778:0x3ec,_0x455c8a:0x40a,_0x4a667d:0x4,_0x1723b0:0xea,_0x82002b:0x2fe,_0x1ca390:0x4a0,_0x40ae0a:0x406,_0x4b3246:0x43e,_0x4e67e7:0x61d,_0x3605da:0x47c,_0x3a1d7d:0x37c,_0x280569:0x9a,_0x2540e6:0x3cd,_0x23943d:0x37b,_0x2775b8:0x2c6,_0x100457:0x321,_0x55e0a6:0x58d,_0x31b86d:0x1ee,_0xa0db22:0x1e9,_0x43e954:0x20c,_0x3e36ce:0x10e,_0x5a3e18:0x5b6,_0x43c006:0x2c5,_0x4788f5:0x624,_0x377b8e:0x3c2,_0x127764:0x25b,_0x3633b3:0x48a,_0x52e2e2:0x3a7,_0x59a22b:0x32a,_0x178d5e:0x552,_0xd58679:0x763,_0x523c20:0x400,_0x5623ec:0x5c8},_0x1c1dcb={_0x469780:0x129,_0x16257a:0x352},_0xe63a5d={_0x6df383:0xc4};let _0x52521c=_0x4760af['length'],_0x3d2d62=_0x244045[_0x2a218f(_0x31ddd9._0x522f79,0x4b4,_0x31ddd9._0x5cd86b,0x2e9)],_0x2fbd9c=_0x227b1b?_0x227b1b[_0x2a218f(_0x31ddd9._0x2df07f,_0x31ddd9._0x12ece7,_0x31ddd9._0x560df5,_0x31ddd9._0x56ef53)]:_0x52521c,_0x502f73=_0x227b1b?_0x227b1b[_0x32703f(_0x31ddd9._0x5ae2ff,_0x31ddd9._0x29ae94,_0x31ddd9._0x437cba,0x558)]:_0x3d2d62,_0x22510d=[];for(;_0x52521c>0x0||_0x3d2d62>0x0;)_0x52521c>0x0&&_0x3d2d62>0x0&&_0x4760af[_0x52521c-0x1]===_0x244045[_0x3d2d62-0x1]?(_0x22510d[_0x2a218f(0x54d,0x346,_0x31ddd9._0x2ae2cd,0x23a)]({'type':'context','content':_0x4760af[_0x52521c-0x1],'oldLineNum':_0x2fbd9c,'newLineNum':_0x502f73}),_0x52521c--,_0x3d2d62--,_0x2fbd9c--,_0x502f73--):_0x3d2d62>0x0&&(_0x52521c===0x0||_0xac5fd[_0x52521c][_0x3d2d62-0x1]>=_0xac5fd[_0x52521c-0x1][_0x3d2d62])?(_0x22510d[_0x32703f(0x1ee,_0x31ddd9._0x3eedf3,0x28c,0x361)]({'type':_0x2a218f(0x3b3,_0x31ddd9._0x240778,_0x31ddd9._0x455c8a,0x1d2),'content':_0x244045[_0x3d2d62-0x1],'newLineNum':_0x502f73}),_0x3d2d62--,_0x502f73--):_0x52521c>0x0&&(_0x22510d[_0x32703f(_0x31ddd9._0x4a667d,_0x31ddd9._0x3eedf3,0xf3,0x188)]({'type':'remove','content':_0x4760af[_0x52521c-0x1],'oldLineNum':_0x2fbd9c}),_0x52521c--,_0x2fbd9c--);let _0x52d78a=[];function _0x32703f(_0x4e1c3f,_0x5aede2,_0x34846d,_0xd6a2cb){return _0x7f0a6b(_0x4e1c3f-0x1e4,_0x5aede2-_0xe63a5d._0x6df383,_0xd6a2cb,_0xd6a2cb-0x17);}for(let _0x4c7fbf=0x0;_0x4c7fbf<_0x22510d[_0x32703f(_0x31ddd9._0x1723b0,_0x31ddd9._0x82002b,0x2ac,0x2b9)];_0x4c7fbf++){let _0x4b710f=_0x22510d[_0x4c7fbf],_0x50d178=_0x22510d[_0x4c7fbf+0x1];if(_0x4b710f[_0x2a218f(0x3c9,_0x31ddd9._0x1ca390,_0x31ddd9._0x40ae0a,0x28d)]===_0x2a218f(_0x31ddd9._0x4b3246,_0x31ddd9._0x4e67e7,0x5a0,_0x31ddd9._0x3605da)&&_0x50d178?.[_0x2a218f(_0x31ddd9._0x3a1d7d,0x4a0,0x5bb,0x5ac)]===_0x32703f(_0x31ddd9._0x280569,0x236,0x2e0,_0x31ddd9._0x2540e6)&&_0x4b710f[_0x32703f(_0x31ddd9._0x23943d,0x454,_0x31ddd9._0x2775b8,_0x31ddd9._0x100457)]&&_0x50d178[_0x2a218f(_0x31ddd9._0x55e0a6,0x3bc,_0x31ddd9._0x31b86d,_0x31ddd9._0xa0db22)]&&cu(_0x4b710f['content'],_0x50d178[_0x32703f(0x2e3,_0x31ddd9._0x43e954,0x309,_0x31ddd9._0x3e36ce)])>0.5){let _0x2fada5=lu(_0x4b710f[_0x2a218f(0x357,0x3c2,0x377,0x278)],_0x50d178['content']);_0x52d78a[_0x2a218f(0x795,_0x31ddd9._0x5a3e18,0x55c,0x6d5)]({'type':_0x2a218f(_0x31ddd9._0x43c006,0x4fa,_0x31ddd9._0x4788f5,0x44a),'content':_0x4b710f[_0x2a218f(0x4ad,_0x31ddd9._0x377b8e,_0x31ddd9._0x127764,_0x31ddd9._0x3633b3)],'oldLineNum':_0x4b710f['oldLineNum'],'segments':_0x2fada5['old']}),_0x52d78a[_0x32703f(_0x31ddd9._0x52e2e2,0x400,0x3ba,_0x31ddd9._0x59a22b)]({'type':'modify','content':_0x50d178['content'],'newLineNum':_0x50d178['newLineNum'],'segments':_0x2fada5[_0x2a218f(_0x31ddd9._0x178d5e,_0x31ddd9._0xd58679,0x78b,0x536)]}),_0x4c7fbf++;}else _0x52d78a[_0x32703f(0x58c,_0x31ddd9._0x523c20,0x365,_0x31ddd9._0x5623ec)](_0x4b710f);}function _0x2a218f(_0x2a7828,_0x30545b,_0x13debb,_0x332e5a){return _0x5318c5(_0x2a7828-_0x1c1dcb._0x469780,_0x2a7828,_0x13debb-0x106,_0x30545b-_0x1c1dcb._0x16257a);}return _0x52d78a;}function mu({line:_0x13f29c,lineNumWidth:_0xcdc656=0x3}){const _0x308e83={_0x48b1e8:0x5f,_0x2b29e8:0x14d,_0x5d38b4:0x2eb,_0xc24158:0x3d7,_0x426d1c:0x50a,_0x10380a:0x1a7,_0xb55707:0x6c,_0x56d3b2:0x594,_0x2d01e5:0x758,_0x37deff:0x8f8,_0x26ba36:0x767,_0xfbfb84:0x916,_0xdf6767:0x85f,_0x15802a:0x50f,_0x31afcc:0x732,_0x5c3196:0x676,_0x5a02e6:0x5d9,_0xd35d3:0x160,_0x3261c1:0x5fa,_0x15b660:0x6bc,_0x14680d:0x482,_0x312668:0x50c,_0x5e0153:0x116,_0x2d7037:0x3b0,_0x5bbfb5:0x4a4,_0x12da50:0xff,_0x401dbe:0x221,_0x43c12c:0x856,_0x3eba1e:0x74f,_0x2ea918:0x678,_0x5c68b0:0xdb,_0x2873ab:0x5b1,_0x100d04:0x4e9,_0x4e9f74:0x57f,_0x295bf7:0x720,_0x48a349:0x76b,_0xd37027:0x4a9,_0x5cad4b:0x6a1,_0x4574d7:0x543,_0x465782:0x67,_0x4bf456:0xa7,_0x341e1d:0x61b,_0x29e70b:0x7ca,_0x2a60f8:0x1bb,_0x3d8662:0xd1,_0x5df052:0x87,_0x1a1b17:0xae,_0x12056d:0x160,_0x18231c:0x1ee,_0x11cafd:0x1b,_0x5275aa:0x452,_0x2327c6:0x4d1,_0x881f97:0x33d,_0x1aedf2:0x2a1,_0x5b308d:0x578,_0x49e796:0x6cf,_0x36ed16:0x76b,_0x12b7bb:0x579,_0x1d13f4:0x738,_0x2c681d:0x72b,_0x3af803:0xc8,_0x3a5d3e:0x614,_0x16431e:0x81d,_0x4e7435:0x715,_0x334ed9:0x3f7,_0x343cdf:0x6ca,_0xb28b2f:0x607,_0x310c37:0x4f7,_0x42a4e5:0x128,_0x2e290b:0x6b,_0x2560f0:0x1de,_0x4f3430:0x159,_0x32e9fb:0x423,_0x46f53d:0x160,_0x5c9d17:0x2b0,_0x59635e:0x27,_0x35afdf:0xa4,_0x172ff6:0xff,_0x2965bd:0x6cf,_0x46a9b9:0x45e,_0x2f2591:0x5ee,_0x206d58:0x11f,_0x2fcfd3:0xbc,_0x5c98e0:0x7c,_0xe0c0ea:0x51,_0xd39ae1:0x1d6,_0x436b33:0x95,_0x12ef05:0x553,_0x2aaa62:0x65f,_0x146806:0x7e5,_0x156cb8:0x783,_0x39662c:0x771,_0x4bf359:0x6ce,_0x1bd74a:0x4c4,_0x5f0a72:0x10c,_0x23d9e0:0x9,_0x574d41:0x71},_0x34601f={_0x5c37e8:0x1bc},_0x4f99d7={_0x362937:0x574,_0x153777:0x460,_0x162c09:0x44f,_0x2db08a:0x18e,_0x38a222:0x35,_0x32f950:0x3bf,_0x3347db:0x38d,_0x867ba6:0x18e,_0x5765e6:0x6dc,_0x3ec343:0x3d7,_0x45dcda:0x511,_0x4163f4:0x7b5,_0xc507d7:0x4e1,_0x3fbd2d:0x625,_0x449623:0x530},_0x534e8a={_0x4555b4:0x79,_0x1d86ca:0x25,_0xc24bf3:0xac},_0x376566={_0x4cce1f:0xe4,_0x1f18c9:0x1c4};let {cols:_0xdf3f90}=te(),_0x52285d=_0x13f29c[_0x484e95(-_0x308e83._0x48b1e8,_0x308e83._0x2b29e8,_0x308e83._0x5d38b4,-0xcb)]||_0x13f29c[_0x398449(0x366,_0x308e83._0xc24158,0x5cb,_0x308e83._0x426d1c)]||0x0,_0x4237bf=String(_0x52285d)[_0x484e95(-0x91,-_0x308e83._0x10380a,-_0x308e83._0xb55707,-0x3ba)](_0xcdc656,'\x20')+'│\x20';function _0x484e95(_0x598359,_0x2f4d29,_0x28db3a,_0x2fe5e5){return _0x7f0a6b(_0x598359-_0x376566._0x4cce1f,_0x2f4d29- -0x243,_0x598359,_0x2fe5e5-_0x376566._0x1f18c9);}if(_0x13f29c[_0x484e95(-0xdb,-0x1d,0x17d,0x79)]==='modify'&&_0x13f29c['segments']){let _0x50ec55=_0x13f29c[_0x398449(0x93a,_0x308e83._0x56d3b2,0x697,_0x308e83._0x2d01e5)]?'-':'+',_0x4604db=!!_0x13f29c['oldLineNum'],_0x27d485=_0x4604db?j['diff'][_0x398449(0x905,_0x308e83._0x37deff,_0x308e83._0x26ba36,0x74b)][_0x398449(_0x308e83._0xfbfb84,0x6de,_0x308e83._0xdf6767,0x76b)]:j[_0x398449(_0x308e83._0x15802a,_0x308e83._0x31afcc,0x65f,0x50c)][_0x484e95(-0x26,0x140,-0xb6,-0x1)]['add'],_0x3c5899=_0x4604db?j[_0x398449(_0x308e83._0x5c3196,_0x308e83._0x5a02e6,0x639,0x50c)]['background'][_0x484e95(0xd,_0x308e83._0xd35d3,0x203,0x235)]:j[_0x398449(_0x308e83._0x3261c1,_0x308e83._0x15b660,_0x308e83._0x14680d,_0x308e83._0x312668)][_0x484e95(0x1c7,0x6b,0x1dc,-_0x308e83._0x5e0153)][_0x398449(_0x308e83._0x2d7037,_0x308e83._0x5bbfb5,0x678,0x53a)];return _0x3d6059(_0x7cbf36,{'children':[_0x3d6059(_0x7cbf36,{'children':[_0x33fdd3(_0x183ebc,{'dimColor':!0x0,'color':j[_0x484e95(-0x2ee,-_0x308e83._0x12da50,0x60,-_0x308e83._0x401dbe)]['lineNumber'],'children':_0x4237bf}),_0x33fdd3(_0x183ebc,{'color':_0x27d485,'children':_0x50ec55})]}),_0x33fdd3(_0x7cbf36,{'flexDirection':_0x398449(0x60a,0x862,0x6ee,0x6eb),'flexWrap':_0x398449(_0x308e83._0x43c12c,0x628,_0x308e83._0x3eba1e,_0x308e83._0x2ea918),'width':_0xdf3f90-_0x4237bf['length']-0x5,'children':_0x13f29c['segments']['map']((_0x5c653d,_0x534200)=>{const _0x3d0cf7={_0x5e9493:0x146,_0x3d8416:0x89};function _0x5467b4(_0x206047,_0x410db7,_0x17a883,_0xf767dc){return _0x398449(_0x206047-_0x534e8a._0x4555b4,_0x410db7-_0x534e8a._0x1d86ca,_0x206047,_0x17a883- -_0x534e8a._0xc24bf3);}let _0x18b4ec=_0x4604db&&_0x5c653d['type']===_0x5467b4(0x728,_0x4f99d7._0x362937,0x6bf,0x699)||!_0x4604db&&_0x5c653d['type']===_0x484c8d(-0xe8,0xa1,-0x5b,-0x171)?_0x4604db?j[_0x5467b4(0x3e1,0x5cc,_0x4f99d7._0x153777,_0x4f99d7._0x162c09)][_0x484c8d(-_0x4f99d7._0x2db08a,-0x213,0x69,-_0x4f99d7._0x38a222)][_0x484c8d(-_0x4f99d7._0x32f950,-0x18d,-_0x4f99d7._0x3347db,-_0x4f99d7._0x867ba6)]:j['diff'][_0x5467b4(_0x4f99d7._0x5765e6,_0x4f99d7._0x3ec343,0x5ca,_0x4f99d7._0x45dcda)]['addHighlight']:_0x3c5899,_0x172d4e=_0x5c653d['text'][_0x5467b4(_0x4f99d7._0x4163f4,0x62c,0x642,_0x4f99d7._0xc507d7)](/\t/g,'\x20\x20');function _0x484c8d(_0x505e5c,_0x2e6fb5,_0x3a6404,_0x38c9b8){return _0x398449(_0x505e5c-_0x3d0cf7._0x5e9493,_0x2e6fb5-_0x3d0cf7._0x3d8416,_0x505e5c,_0x38c9b8- -0x6ab);}return _0x33fdd3(_0x183ebc,{'backgroundColor':_0x18b4ec,'color':j[_0x484c8d(0x18,-0x3,0x6a,-0x19f)][_0x5467b4(0x875,0x769,0x6d7,0x83f)],'children':_0x172d4e},_0x52285d+'-'+_0x534200+'-'+_0x5c653d[_0x5467b4(0x61f,_0x4f99d7._0x3fbd2d,0x542,_0x4f99d7._0x449623)]);})})]});}function _0x398449(_0x4cbd08,_0x5b9b69,_0x100e13,_0x17858e){return _0x7f0a6b(_0x4cbd08-0xdb,_0x17858e-0x3c8,_0x100e13,_0x17858e-_0x34601f._0x5c37e8);}let _0x272364=_0x13f29c['type']===_0x484e95(0x5f,-0xd1,-0xf2,_0x308e83._0x5c68b0)?'+':_0x13f29c[_0x398449(_0x308e83._0x2873ab,0x79b,_0x308e83._0x100d04,0x5ee)]===_0x398449(0x568,_0x308e83._0x4e9f74,_0x308e83._0x295bf7,_0x308e83._0x48a349)?'-':'\x20',_0x6bba1e=_0x13f29c[_0x398449(_0x308e83._0xd37027,_0x308e83._0x5cad4b,_0x308e83._0x4574d7,0x5ee)]===_0x484e95(0xeb,-0xd1,-_0x308e83._0x465782,-0x2ea)?j[_0x484e95(_0x308e83._0x4bf456,-0xff,-0x2b0,-0x3d)][_0x398449(_0x308e83._0x341e1d,_0x308e83._0x29e70b,0x546,0x74b)][_0x484e95(-_0x308e83._0x2a60f8,-_0x308e83._0x3d8662,_0x308e83._0x5df052,-0x171)]:_0x13f29c['type']===_0x484e95(_0x308e83._0x1a1b17,_0x308e83._0x12056d,_0x308e83._0x18231c,_0x308e83._0x11cafd)?j[_0x398449(0x71d,_0x308e83._0x5275aa,_0x308e83._0x2327c6,0x50c)][_0x484e95(_0x308e83._0x881f97,0x140,_0x308e83._0x1aedf2,0x72)][_0x398449(_0x308e83._0x5b308d,0x90e,_0x308e83._0x49e796,_0x308e83._0x36ed16)]:j[_0x398449(_0x308e83._0x12b7bb,_0x308e83._0x1d13f4,_0x308e83._0x2c681d,0x50c)]['prefix'][_0x484e95(-0x217,-0x129,0x6,-_0x308e83._0x3af803)],_0x25b533=_0x13f29c[_0x398449(_0x308e83._0x3a5d3e,_0x308e83._0x16431e,_0x308e83._0x4e7435,0x5ee)]===_0x398449(0x3f5,_0x308e83._0x334ed9,0x56b,0x53a)?j[_0x398449(_0x308e83._0x343cdf,_0x308e83._0xb28b2f,_0x308e83._0x310c37,_0x308e83._0x312668)][_0x484e95(-_0x308e83._0x42a4e5,_0x308e83._0x2e290b,_0x308e83._0x2560f0,_0x308e83._0x4f3430)][_0x398449(0x31e,_0x308e83._0x32e9fb,0x641,0x53a)]:_0x13f29c[_0x398449(0x3e0,0x7ac,0x547,0x5ee)]===_0x484e95(_0x308e83._0x42a4e5,_0x308e83._0x46f53d,_0x308e83._0x5c9d17,-_0x308e83._0x59635e)?j[_0x484e95(_0x308e83._0x35afdf,-_0x308e83._0x172ff6,0x48,0xc4)][_0x398449(_0x308e83._0x2965bd,0x838,0x64c,_0x308e83._0x5c3196)]['remove']:void 0x0,_0x3ce6af=_0x13f29c[_0x398449(_0x308e83._0x46a9b9,0x62a,0x6d3,_0x308e83._0x2f2591)]===_0x484e95(-_0x308e83._0x206d58,-0xd1,_0x308e83._0x2fcfd3,_0x308e83._0x5c98e0)||_0x13f29c[_0x398449(0x7a9,0x553,0x4a8,0x5ee)]===_0x484e95(-_0x308e83._0xe0c0ea,_0x308e83._0x12056d,0x2e,_0x308e83._0xd39ae1)?j[_0x484e95(_0x308e83._0x436b33,-0xff,-0x2b3,-0x5a)][_0x398449(_0x308e83._0x12ef05,_0x308e83._0x2aaa62,_0x308e83._0x146806,_0x308e83._0x156cb8)]:j[_0x398449(0x57f,0x5fb,0x694,_0x308e83._0x312668)]['contextText'],_0x3234dc=_0x13f29c['content'][_0x398449(_0x308e83._0x39662c,0x58b,_0x308e83._0x4bf359,0x6ee)](/\t/g,'\x20\x20');return _0x3d6059(_0x7cbf36,{'children':[_0x3d6059(_0x7cbf36,{'children':[_0x33fdd3(_0x183ebc,{'dimColor':!0x0,'color':j[_0x398449(0x704,_0x308e83._0x1bd74a,0x371,0x50c)]['lineNumber'],'children':_0x4237bf}),_0x33fdd3(_0x183ebc,{'color':_0x6bba1e,'children':_0x272364})]}),_0x33fdd3(_0x7cbf36,{'flexWrap':_0x484e95(0x3a,0x6d,-_0x308e83._0x5f0a72,-0xaa),'width':_0xdf3f90-_0x4237bf[_0x484e95(0x15c,-_0x308e83._0x23d9e0,_0x308e83._0x574d41,-0x43)]-0x5,'children':_0x33fdd3(_0x183ebc,{'backgroundColor':_0x25b533,'color':_0x3ce6af,'children':_0x3234dc})})]});}function Ao({blocks:_0x55b7c4,filePath:_0x5bb69e,showPath:_0x30dd45=!0x1,lineNumbers:_0x82cc4f}){const _0x2ea2a3={_0x483443:0x38a,_0x548651:0x3f4,_0x47c3db:0x265,_0xba9a33:0x343,_0x2664c1:0x37d,_0x52eb46:0x11e,_0x37746f:0x580,_0x1f3005:0x6f1,_0x409fbe:0x7a0,_0x3440ad:0x61d,_0x130682:0x52e,_0x4a109d:0x63d,_0x20d42e:0x527,_0x13e203:0x746,_0x283451:0xdd},_0x21cb1a={_0x12833c:0x14c,_0xf6ed41:0x33,_0x37c388:0x324,_0x38ae6c:0x130,_0x4c089c:0x9b,_0x43e129:0x6be,_0x5354c5:0x87b,_0xccabf0:0x430,_0x290841:0x137,_0x46cb0a:0x413,_0x164acb:0x3cd,_0x2e5c5a:0x310,_0x880d75:0x41,_0x282957:0x134,_0x3dec99:0x10a,_0x486f96:0x1ba,_0x1166d8:0xc3,_0x4b9f11:0x1c4,_0xea82aa:0x71,_0x46c0c4:0x77a,_0xbbd10a:0x8fd,_0x4fde5e:0x30c,_0x4240a6:0x780},_0x5178de={_0x43fc81:0x233,_0x3cd5d1:0x316,_0x1830d9:0x3f2,_0x204c2b:0x385,_0x1e075a:0x1cc,_0x5260fe:0xa6,_0x2e9a6e:0x193},_0x1ab090={_0x5f2a64:0x44d},_0x329260={_0x3be26b:0x3e3,_0x2972b6:0x73},_0xf361f0={_0x1551d6:0xb9};function _0x1df8c5(_0x28730f,_0x5db454,_0x30d140,_0x2fcde7){return _0x5318c5(_0x28730f-0x32,_0x5db454,_0x30d140-0xae,_0x2fcde7-_0xf361f0._0x1551d6);}function _0x51ea49(_0xacad10,_0x4a42f7,_0x5b9ce9,_0x113bd4){return _0x7f0a6b(_0xacad10-0x93,_0x4a42f7-_0x329260._0x3be26b,_0xacad10,_0x113bd4-_0x329260._0x2972b6);}return _0x3d6059(_0x7cbf36,{'flexDirection':_0x1df8c5(0x1e5,_0x2ea2a3._0x483443,0x2ba,_0x2ea2a3._0x548651),'children':[_0x30dd45&&_0x5bb69e&&_0x3d6059(_0x7cbf36,{'marginLeft':0x2,'children':[_0x33fdd3(_0x183ebc,{'color':j[_0x1df8c5(_0x2ea2a3._0x47c3db,0x1ca,0x24a,0x125)]['pathLabel'],'children':_0x1df8c5(_0x2ea2a3._0xba9a33,_0x2ea2a3._0x2664c1,_0x2ea2a3._0x52eb46,0x2f3)}),_0x33fdd3(_0x183ebc,{'children':_0x5bb69e})]}),_0x55b7c4[_0x51ea49(_0x2ea2a3._0x37746f,_0x2ea2a3._0x1f3005,0x8d1,_0x2ea2a3._0x409fbe)]((_0x593fcb,_0x5b5367)=>{const _0x30c727={_0x2b1b72:0x1b0,_0x218c7e:0x154,_0x1b5692:0xab},_0x54a150={_0x1cf580:0x4e6,_0x541785:0x78};function _0x4e5b7a(_0x394c26,_0x2b7c91,_0x4567db,_0x5476a0){return _0x51ea49(_0x5476a0,_0x4567db- -_0x54a150._0x1cf580,_0x4567db-_0x54a150._0x541785,_0x5476a0-0x165);}let _0x4b7487=iu(_0x593fcb['search'],_0x593fcb[_0x4e5b7a(_0x21cb1a._0x12833c,_0x21cb1a._0xf6ed41,0x223,_0x21cb1a._0x37c388)],_0x82cc4f),_0x67ceec=_0x4b7487[_0x4e5b7a(-_0x21cb1a._0x38ae6c,-_0x21cb1a._0x4c089c,-0x28,-0x122)](_0x2e1f7e=>_0x2e1f7e['type']!==_0x4e5b7a(-0x212,-0x1c6,0x17,-0xf9)),_0x4b2b49=Math[_0x458d37(0x6f2,_0x21cb1a._0x43e129,0x626,_0x21cb1a._0x5354c5)](..._0x4b7487[_0x4e5b7a(0x3e3,_0x21cb1a._0xccabf0,0x20b,0x267)](_0x4a51cb=>Math[_0x4e5b7a(0x3aa,0x20,0x18d,0x3a4)](_0x4a51cb[_0x4e5b7a(0x21a,0x41f,0x28d,0xa5)]||0x0,_0x4a51cb['newLineNum']||0x0))),_0x329be1=String(_0x4b2b49)[_0x4e5b7a(0x243,0xe9,_0x21cb1a._0x290841,-0xca)];function _0x458d37(_0x3d5ca0,_0x24547a,_0x329f44,_0x4c7aab){return _0x1df8c5(_0x3d5ca0-0xd5,_0x3d5ca0,_0x329f44-0x37,_0x24547a-_0x1ab090._0x5f2a64);}return _0x3d6059(_0x7cbf36,{'flexDirection':_0x4e5b7a(_0x21cb1a._0x46cb0a,_0x21cb1a._0x164acb,_0x21cb1a._0x2e5c5a,0x10d),'children':[_0x55b7c4['length']>0x1&&_0x3d6059(_0x183ebc,{'color':j[_0x4e5b7a(0x10f,0x223,_0x21cb1a._0x880d75,-0x94)]['blockSeparator'],'dimColor':!0x0,'children':['───\x20Block\x20',_0x5b5367+0x1,'/',_0x55b7c4['length'],'\x20───']}),_0x67ceec?_0x33fdd3(_0x7cbf36,{'flexDirection':'column','children':_0x4b7487[_0x4e5b7a(_0x21cb1a._0x282957,_0x21cb1a._0x3dec99,0x20b,_0x21cb1a._0x486f96)]((_0x1bafa5,_0x21aad0)=>{const _0x43e535={_0x5137f5:0xa5,_0x381459:0x11b};let _0x485086=_0x22783d(_0x5178de._0x43fc81,0x38e,0xb0,_0x5178de._0x3cd5d1)+_0x5b5367+'-'+_0x21aad0+'-'+_0x1bafa5['type']+'-'+(_0x1bafa5[_0xf3d2c5(_0x5178de._0x1830d9,0x2b1,0x1e2,_0x5178de._0x204c2b)]||'')+'-'+(_0x1bafa5[_0x22783d(0x10,_0x5178de._0x1e075a,_0x5178de._0x5260fe,-_0x5178de._0x2e9a6e)]||'');function _0x22783d(_0x1043d0,_0x53978b,_0x20d0b2,_0x38e8ee){return _0x458d37(_0x38e8ee,_0x1043d0- -0x560,_0x20d0b2-_0x43e535._0x5137f5,_0x38e8ee-_0x43e535._0x381459);}function _0xf3d2c5(_0xf19341,_0x3956ad,_0x37b386,_0x1665fe){return _0x4e5b7a(_0xf19341-_0x30c727._0x2b1b72,_0x3956ad-_0x30c727._0x218c7e,_0x37b386- -_0x30c727._0x1b5692,_0xf19341);}return _0x33fdd3(mu,{'line':_0x1bafa5,'lineNumWidth':_0x329be1},_0x485086);})}):_0x3d6059(_0x183ebc,{'color':j[_0x458d37(0x508,0x572,0x49a,0x562)][_0x4e5b7a(_0x21cb1a._0x1166d8,_0x21cb1a._0x4b9f11,_0x21cb1a._0xea82aa,0x15e)],'dimColor':!0x0,'children':['\x20',_0x458d37(_0x21cb1a._0x46c0c4,_0x21cb1a._0xbbd10a,0x8cc,0x8f4)]})]},_0x458d37(_0x21cb1a._0x4fde5e,0x519,0x4d9,0x4e6)+_0x593fcb[_0x458d37(0x868,0x754,_0x21cb1a._0x4240a6,0x5c0)]);}),_0x55b7c4[_0x51ea49(0x3f6,_0x2ea2a3._0x3440ad,0x555,_0x2ea2a3._0x130682)]===0x0&&_0x33fdd3(_0x7cbf36,{'marginLeft':0x2,'children':_0x33fdd3(_0x183ebc,{'color':j[_0x51ea49(_0x2ea2a3._0x4a109d,_0x2ea2a3._0x20d42e,_0x2ea2a3._0x13e203,0x3d2)][_0x1df8c5(-_0x2ea2a3._0x283451,-0x85,0x2ca,0xf5)],'children':'No\x20changes\x20to\x20display'})})]});}import{jsx as _0x4dfa36}from'react/jsx-runtime';var ti=({toolResult:_0x39bfb1,toolCall:_0x14286e})=>{const _0x1c800f={_0x37cbe3:0x48b,_0x510f23:0x61e,_0x9347bb:0x78f,_0xbe2980:0x528,_0x583803:0x4a1,_0x31946e:0x6e7,_0x42c087:0x4c6,_0x411aa0:0x16a,_0x5eebb5:0x2d6,_0x716b64:0x302,_0x513bcd:0x205,_0x5e943b:0x9c5,_0x359a26:0x919,_0x57eeaa:0xa95,_0x229544:0x314,_0x4676ee:0x3e4,_0x3aeb12:0x51c,_0x21e367:0x5d0,_0x4004fd:0x6c8,_0x372af6:0x678,_0x1a5e06:0x57f,_0x1dc910:0x4a4,_0x5e06c2:0x4cf,_0x1e578a:0x69c,_0x3fa596:0x47f},_0x8ea11={_0x26f4b4:0xf3,_0xd1b92a:0x512};let _0x2fbfb8=null;try{_0x2fbfb8=_0x14286e?.[_0x292c9d(_0x1c800f._0x37cbe3,0x500,0x2cc,_0x1c800f._0x510f23)]['arguments']?JSON[_0x292c9d(0x4cb,0x590,_0x1c800f._0x9347bb,0x46c)](_0x14286e[_0x292c9d(0x4bd,0x500,_0x1c800f._0xbe2980,0x5f8)][_0xc6237d(_0x1c800f._0x583803,_0x1c800f._0x31946e,_0x1c800f._0x42c087,0x2cc)]):null;}catch{_0x2fbfb8=null;}if(!_0x3c6d78(_0x39bfb1))return null;function _0xc6237d(_0x1487bb,_0x5f5c1e,_0x4513f6,_0x1f9f73){return _0x5318c5(_0x1487bb-0x1d4,_0x1487bb,_0x4513f6-0x136,_0x4513f6-0x295);}let _0x2e8911=_0x39bfb1['metadata'];function _0x292c9d(_0x296f5f,_0x34e377,_0xd82662,_0x8d1d32){return _0x5318c5(_0x296f5f-0xa0,_0x296f5f,_0xd82662-_0x8ea11._0x26f4b4,_0x34e377-_0x8ea11._0xd1b92a);}if(!_0x2fbfb8||_0x2fbfb8[_0xc6237d(_0x1c800f._0x411aa0,_0x1c800f._0x5eebb5,_0x1c800f._0x716b64,_0x1c800f._0x513bcd)]===void 0x0||_0x2fbfb8[_0x292c9d(_0x1c800f._0x5e943b,_0x1c800f._0x359a26,_0x1c800f._0x57eeaa,0xa67)]===void 0x0)return null;let _0x120e82=_0x2e8911?.[_0xc6237d(_0x1c800f._0x229544,0x222,_0x1c800f._0x4676ee,0x271)];return _0x4dfa36(_0x5b323c,{'flexDirection':_0xc6237d(0x5cb,_0x1c800f._0x3aeb12,_0x1c800f._0x21e367,_0x1c800f._0x4004fd),'children':_0x4dfa36(Ao,{'blocks':[{'search':_0x2fbfb8[_0x292c9d(_0x1c800f._0x372af6,_0x1c800f._0x1a5e06,0x466,_0x1c800f._0x1dc910)],'replace':_0x2fbfb8[_0xc6237d(0x77d,_0x1c800f._0x5e06c2,_0x1c800f._0x1e578a,_0x1c800f._0x3fa596)]}],'filePath':_0x2e8911?.['path']||_0x2fbfb8[_0xc6237d(0x638,0x740,0x57d,0x3d8)],'showPath':!0x1,'lineNumbers':_0x120e82})});};import{Box as _0x374456,Text as _0x1e030b}from'ink';import{isFileReadSuccess as _0x5d8552}from'@nuvin/nuvin-core';var be={'CONTENT_MARGIN':0xa,'PARAM_MARGIN':0x6,'MARKDOWN_MARGIN':0xc},Ue={'DEFAULT_MAX_LINES':0x5,'BASH_MAX_LINES':0xa,'DEFAULT_MAX_LINE_LENGTH':0x96,'BASH_MAX_LINE_LENGTH':0xc8};import{jsx as _0x2802bf}from'react/jsx-runtime';var ri=({toolResult:_0x60ba4,messageId:_0xac73be,messageColor:_0xa5a16d,fullMode:_0x4a11d3=!0x1,cols:_0x4ec753})=>{const _0x1f31d3={_0x25912a:0x1c7,_0x22c2b8:0x2d3,_0x540303:0x2eb,_0x3704a4:0x106,_0x1fe207:0xb3,_0x246945:0x1e,_0x47cb78:0x1ee,_0x1e9740:0x122,_0x4cb367:0x29,_0x24f920:0x13d,_0x5d74bc:0x362,_0x29922b:0x123,_0x3e7f02:0x2e3,_0x497fc6:0x2f2,_0x569827:0x39c,_0xa02de:0x408,_0x5f3ba2:0x1bd,_0x303f37:0x3b,_0x2e5d07:0x23d,_0x42fb1d:0x202,_0xf6cf86:0x253,_0x589be1:0x37e,_0x46247e:0x3ef},_0x433aea={_0x57560b:0x48},_0x48558a={_0x3bed47:0x300,_0x3059f8:0xc0};let {theme:_0x1ae9d0}=F(),_0x2cb973=_0x60ba4[_0x23bad1(_0x1f31d3._0x25912a,_0x1f31d3._0x22c2b8,_0x1f31d3._0x540303,0x350)]==='success'?_0x1ae9d0[_0x49f440(0x240,-0x3e,_0x1f31d3._0x3704a4,_0x1f31d3._0x1fe207)][_0x23bad1(0x19e,-_0x1f31d3._0x246945,0x290,_0x1f31d3._0x47cb78)]:_0x1ae9d0[_0x49f440(-_0x1f31d3._0x1e9740,0x2cf,_0x1f31d3._0x4cb367,0xb3)][_0x23bad1(_0x1f31d3._0x24f920,_0x1f31d3._0x5d74bc,_0x1f31d3._0x29922b,-0xe6)],_0x450b3f=_0xa5a16d??_0x2cb973;function _0x23bad1(_0x3b9294,_0x43e45c,_0x57bcbf,_0x136c0f){return _0x7f0a6b(_0x3b9294-0x140,_0x3b9294- -_0x48558a._0x3bed47,_0x136c0f,_0x136c0f-_0x48558a._0x3059f8);}if(_0x5d8552(_0x60ba4)){if(!_0x4a11d3)return null;let _0x4057a8=_0x60ba4['result'][_0x49f440(_0x1f31d3._0x3e7f02,0x1fc,_0x1f31d3._0x497fc6,_0x1f31d3._0x569827)](/\r?\n/);return _0x2802bf(_0x374456,{'flexDirection':_0x49f440(_0x1f31d3._0xa02de,0x3ec,_0x1f31d3._0x5f3ba2,0x3e9),'width':_0x4ec753-be[_0x23bad1(0x18c,-_0x1f31d3._0x303f37,_0x1f31d3._0x2e5d07,_0x1f31d3._0x42fb1d)],'children':_0x4057a8[_0x49f440(_0x1f31d3._0xf6cf86,_0x1f31d3._0x589be1,_0x1f31d3._0x46247e,0x2e4)]((_0x506c5a,_0x21d556)=>_0x2802bf(_0x1e030b,{'dimColor':!0x0,'color':_0x450b3f,'children':_0x506c5a},_0xac73be+'-'+_0x21d556))});}function _0x49f440(_0x5343b8,_0x31135c,_0x2c6fda,_0x5a9256){return _0x5318c5(_0x5343b8-0x125,_0x5343b8,_0x2c6fda-_0x433aea._0x57560b,_0x5a9256-0xae);}return null;};import{Box as _0x3b8b0c,Text as _0x124e1a}from'ink';import{jsx as _0x1e619b,jsxs as _0x157265}from'react/jsx-runtime';function xu(_0x3690c2){const _0x58feb3={_0x5998ec:0x5c,_0x26d06b:0x12,_0x2aa56f:0x11,_0x499d8f:0x204,_0x19902d:0x1b9,_0x3a430a:0x38,_0x533d4b:0x44d,_0x2986bb:0x2f7,_0xa77da2:0x5be,_0x1c1822:0x26},_0x5f4bbf={_0x22f87d:0xe6};function _0x4bb2bc(_0x5b5943,_0x5aea9c,_0x55fd27,_0x2d3be0){return _0x7f0a6b(_0x5b5943-0xe9,_0x55fd27- -0x2e8,_0x2d3be0,_0x2d3be0-_0x5f4bbf._0x22f87d);}function _0x32021a(_0x2e84a6,_0x259351,_0x2c13bd,_0x239042){return _0x7f0a6b(_0x2e84a6-0x4c,_0x2e84a6-0x213,_0x239042,_0x239042-0x1db);}if(!_0x3690c2)return[];let _0x2bc32b=_0x3690c2[_0x4bb2bc(_0x58feb3._0x5998ec,_0x58feb3._0x26d06b,0xde,0x1bb)]('\x0a'),_0x2e878c=_0x2bc32b['length'][_0x4bb2bc(_0x58feb3._0x2aa56f,-_0x58feb3._0x499d8f,-_0x58feb3._0x19902d,-_0x58feb3._0x3a430a)]()[_0x32021a(_0x58feb3._0x533d4b,0x636,_0x58feb3._0x2986bb,_0x58feb3._0xa77da2)];return _0x2bc32b[_0x4bb2bc(-0x1c1,0x4f,_0x58feb3._0x1c1822,0x1cd)]((_0x4909fb,_0x37dadb)=>({'lineNumber':(_0x37dadb+0x1)[_0x4bb2bc(-0x295,-0xd5,-0x1b9,-0x164)]()[_0x32021a(0x2af,0xcd,0x1e9,0x369)](_0x2e878c,'\x20')+_0x4bb2bc(-0x1eb,0xe4,-0x21,-0x8b),'content':_0x4909fb[_0x4bb2bc(0xab,0x26a,0x3e,-0x36)](/\t/g,'\x20\x20')}));}var ii=({toolResult:_0x115bf5,toolCall:_0x58e730,fullMode:_0x5d90a2=!0x1,cols:_0x3037af})=>{const _0x169106={_0x1c17de:0x3a3,_0x259720:0x1ef,_0x4fcb12:0x3dc,_0x4d8f11:0x58a,_0x191fa5:0x31d,_0x3453b8:0x3a5,_0x1a5a23:0x23e,_0x5a393f:0x79,_0x504725:0xec,_0x4af77a:0x241,_0x21a2bd:0x20a,_0x6f20c4:0x1ea,_0x3f23b8:0xe},_0x30fdaf={_0x1c23e9:0xd4},_0x1fe913={_0x37c985:0x75};if(!_0x5d90a2||_0x115bf5[_0x5d9705(_0x169106._0x1c17de,_0x169106._0x259720,0x2f4,0x381)]!==_0x11e2e9(_0x169106._0x4fcb12,0x458,0x490,_0x169106._0x4d8f11))return null;let _0x3070e7=null;try{_0x3070e7=_0x58e730?.[_0x11e2e9(0x464,_0x169106._0x191fa5,0x55e,_0x169106._0x3453b8)]['arguments']?JSON['parse'](_0x58e730[_0x11e2e9(0x42a,_0x169106._0x1a5a23,0x47a,0x3a5)][_0x5d9705(0x1e5,_0x169106._0x5a393f,0x156,0x1b1)]):null;}catch{_0x3070e7=null;}let _0x1b1287=_0x3070e7?.[_0x5d9705(0x24,0x9c,-_0x169106._0x504725,_0x169106._0x4af77a)]||'';function _0x11e2e9(_0x14ffb7,_0x45c69e,_0x4a188d,_0x435d89){return _0x5318c5(_0x14ffb7-_0x1fe913._0x37c985,_0x14ffb7,_0x4a188d-0x92,_0x435d89-0x3b7);}function _0x5d9705(_0x863a81,_0x493eaa,_0x25ab8f,_0x58c225){return _0x5318c5(_0x863a81-_0x30fdaf._0x1c23e9,_0x25ab8f,_0x25ab8f-0x186,_0x863a81- -0x4c);}if(!_0x1b1287)return null;let _0x9a6a67=xu(_0x1b1287);return _0x1e619b(_0x3b8b0c,{'flexDirection':'column','width':_0x3037af-be[_0x5d9705(0x368,0x28f,0x3b2,_0x169106._0x21a2bd)],'children':_0x9a6a67[_0x5d9705(_0x169106._0x6f20c4,0x304,0xfa,-_0x169106._0x3f23b8)]((_0x13a83d,_0x898f09)=>_0x157265(_0x3b8b0c,{'children':[_0x1e619b(_0x124e1a,{'dimColor':!0x0,'children':_0x13a83d[_0x5d9705(0x2d2,0x41a,0x502,0x2a2)]}),_0x1e619b(_0x124e1a,{'children':_0x13a83d[_0x11e2e9(0x353,0x388,0x264,0x427)]})]},_0x898f09+'-'+_0x13a83d[_0x5d9705(0x24,0xe3,0x1db,-0x1bf)][_0x5d9705(0x120,-0xc,0xca,0x34d)](0x0,0x14)))});};import{Box as _0x47bf70,Text as _0x40604c}from'ink';import{stripAnsiAndControls as _0x12a216}from'@nuvin/nuvin-core';var vu=_0x483c06=>_0x483c06['replace'](/<system-reminder>[\s\S]*?<\/system-reminder>/g,'')[_0x7f0a6b(0x355,0x2df,0x163,0x301)](),Xr=({status:_0xf49983,messageContent:_0x437ac7,toolResult:_0x377afe})=>{const _0xd86c8={_0x389ded:0xde,_0xa0cd76:0x167,_0x4a65d6:0x1ef,_0x377753:0x159,_0x56237e:0x323,_0x2c7a49:0x104,_0xcc8896:0x2de,_0x1dfb9a:0x186,_0x563674:0x28d,_0x531103:0x5b3,_0x33afa6:0x335,_0x1cdd22:0x546,_0x31e7fa:0x404,_0x301a93:0x338,_0x524d78:0x390,_0x5beb89:0x63,_0xa84dc0:0x2c,_0x3b1b22:0x2e,_0x47b9fc:0x147,_0x4f4884:0x12b,_0x42fd23:0x1e6,_0xb66271:0x1cb,_0x557123:0x1f9,_0x4b97ab:0xa1,_0x244be6:0x2ba,_0x7e6f1d:0x234,_0x4b727c:0x27b,_0x1bd999:0x25e},_0x24d505={_0x316b33:0xa2,_0x97cf22:0xa5,_0xa2163b:0xf5},_0x4e6441={_0x13567f:0x161,_0x19732a:0x1e2};function _0xff1e63(_0x263f1a,_0x52e0df,_0x598a6d,_0x5bd818){return _0x7f0a6b(_0x263f1a-_0x4e6441._0x13567f,_0x5bd818-0x67,_0x52e0df,_0x5bd818-_0x4e6441._0x19732a);}let _0x4f8c20=[];if(_0xf49983!==_0x1de95c(0x4,_0xd86c8._0x389ded,_0xd86c8._0xa0cd76,_0xd86c8._0x4a65d6)){let _0x5292d1=_0x437ac7?.[_0x1de95c(0x60,_0xd86c8._0x377753,_0xd86c8._0x56237e,0x94)](/^error:\s*/i,'')[_0x1de95c(0x1ef,0x112,-_0xd86c8._0x2c7a49,0x235)]();_0x4f8c20=_0x5292d1?_0x5292d1['split'](/\r?\n/):[];}if(_0x377afe[_0xff1e63(0x306,_0xd86c8._0xcc8896,_0xd86c8._0x1dfb9a,_0xd86c8._0x563674)]==='text'){let _0x262d35=_0x377afe[_0xff1e63(_0xd86c8._0x531103,_0xd86c8._0x33afa6,_0xd86c8._0x1cdd22,_0xd86c8._0x31e7fa)],_0x3dd9fb=_0x12a216(_0x262d35),_0x5ebeb0=vu(_0x3dd9fb)[_0x1de95c(0x336,0x112,0x235,_0xd86c8._0x301a93)]();_0x4f8c20=_0x5ebeb0?_0x5ebeb0[_0xff1e63(0x3af,0x51f,0x29b,0x42d)](/\r?\n/):[];}else _0x377afe[_0xff1e63(_0xd86c8._0x524d78,0xad,0x235,_0xd86c8._0x563674)]===_0x1de95c(_0xd86c8._0x5beb89,-_0xd86c8._0xa84dc0,_0xd86c8._0x3b1b22,_0xd86c8._0x47b9fc)&&(_0x4f8c20=JSON[_0xff1e63(_0xd86c8._0x4f4884,0x3dd,_0xd86c8._0x42fd23,0x2c0)](_0x377afe['result'],null,0x2)[_0x1de95c(_0xd86c8._0xb66271,_0xd86c8._0x557123,_0xd86c8._0x4b97ab,_0xd86c8._0x244be6)](/\r?\n/));function _0x1de95c(_0x261c38,_0x34b43b,_0x40f54e,_0x2d2a55){return _0x5318c5(_0x261c38-_0x24d505._0x316b33,_0x261c38,_0x40f54e-_0x24d505._0x97cf22,_0x34b43b- -_0x24d505._0xa2163b);}return _0x4f8c20[_0xff1e63(_0xd86c8._0x7e6f1d,0x29,_0xd86c8._0x4b727c,_0xd86c8._0x1bd999)](_0xe0c978=>_0xe0c978[_0xff1e63(0x501,0x2a9,0x3bd,0x346)]()[_0xff1e63(0x359,0x4cd,0x293,0x2a1)]>0x0);};import{jsx as _0x38a8f7,jsxs as _0xe8e618}from'react/jsx-runtime';var wu=(_0x245b70,_0x3de093,_0x294651)=>_0x294651||_0x245b70[_0x7f0a6b(0x345,0x23a,0xc0,0x224)]<=_0x3de093?_0x245b70:_0x245b70[_0x5318c5(-0xc9,-0x1a,0xbe,0x16c)](0x0,_0x3de093)+_0x7f0a6b(0x282,0x191,-0x75,0x2f6)+(_0x245b70['length']-_0x3de093)+_0x5318c5(0x18f,-0x9d,0x15a,0xcb),Eo=({toolResult:_0x417a85,messageId:_0x21e9df,messageContent:_0x5d06c7,messageColor:_0x49d199,fullMode:_0x46b59a=!0x1,cols:_0x208106,maxLines:_0x151080=Ue['DEFAULT_MAX_LINES'],maxLineLength:_0x4899db=Ue['DEFAULT_MAX_LINE_LENGTH'],truncationMode:_0x18df8c=_0x7f0a6b(0xfa,0x1ed,0x3dd,0xde)})=>{const _0x3478af={_0x560143:0x33d,_0x30bd62:0x501,_0x57a01f:0x3bf,_0x60cf05:0x276,_0x421634:0x35e,_0x4b0aa9:0x734,_0x758997:0x6f4,_0x294574:0x333,_0x35834f:0x512,_0x312861:0x7f9,_0x49d38a:0x4f3,_0x800d31:0x693,_0x3bf80d:0x494,_0x151655:0x395,_0x229695:0x36e,_0x1750ed:0x490,_0x551d91:0x545,_0x16b8d8:0x550,_0x4f3852:0x503,_0x5b67e8:0x3f9,_0x27182d:0x5be,_0xd333ba:0x5ff,_0xe40118:0x669,_0x4d2a40:0x647,_0x1e0d7d:0x5a0,_0x4a9ea7:0x3bd,_0x100910:0x305,_0x57daa0:0x57d,_0x5a4b37:0x3e7,_0x5a88bb:0x2aa,_0x98c08f:0x148,_0x474786:0x552,_0x517280:0x34c,_0x41295b:0x285,_0x476c86:0x450},_0x74f2d={_0x410b42:0x177,_0x3631e8:0x293};function _0xf1ceab(_0x12ed0d,_0x1dfa1b,_0x4d0b6d,_0x221b0b){return _0x5318c5(_0x12ed0d-0x1e8,_0x1dfa1b,_0x4d0b6d-0xff,_0x4d0b6d-0x32e);}let {theme:_0x43ee76}=F(),_0x463730=_0x417a85['status']===_0xf1ceab(_0x3478af._0x560143,0x62f,_0x3478af._0x30bd62,_0x3478af._0x57a01f)?_0x43ee76[_0x5f14df(0x298,_0x3478af._0x60cf05,_0x3478af._0x421634,0x232)][_0xf1ceab(0x5b4,_0x3478af._0x4b0aa9,_0x3478af._0x758997,0x4c0)]:_0x43ee76[_0xf1ceab(0x40f,0x16a,_0x3478af._0x294574,_0x3478af._0x35834f)][_0xf1ceab(_0x3478af._0x312861,_0x3478af._0x49d38a,_0x3478af._0x800d31,_0x3478af._0x3bf80d)],_0x1362e0=_0x49d199??_0x463730,_0x41de48=Xr({'status':_0x417a85['status'],'messageContent':_0x5d06c7,'toolResult':_0x417a85});function _0x5f14df(_0xdcfff2,_0x52c167,_0x30475c,_0x3572e5){return _0x5318c5(_0xdcfff2-0x39,_0x52c167,_0x30475c-_0x74f2d._0x410b42,_0xdcfff2-_0x74f2d._0x3631e8);}if(_0x41de48[_0xf1ceab(_0x3478af._0x151655,_0x3478af._0x229695,_0x3478af._0x1750ed,_0x3478af._0x551d91)]===0x0)return null;let _0x439a79=_0x46b59a?Number[_0xf1ceab(0x496,0x6d1,0x5b5,0x737)]:_0x151080,_0x3f4346=_0x46b59a?Number[_0x5f14df(0x51a,0x474,0x538,_0x3478af._0x16b8d8)]:_0x4899db,_0x5173ed=_0x18df8c===_0xf1ceab(0x5a3,_0x3478af._0x4f3852,0x4a7,0x296)?_0x41de48['slice'](-_0x439a79):_0x41de48[_0xf1ceab(0x47c,_0x3478af._0x5b67e8,0x49a,0x36b)](0x0,_0x439a79),_0x188789=_0x46b59a?0x0:_0x41de48['length']-_0x5173ed['length'],_0x409945=_0x18df8c==='tail'&&_0x188789>0x0,_0x783a2f=_0x18df8c==='head'&&_0x188789>0x0;return _0xe8e618(_0x47bf70,{'flexDirection':_0xf1ceab(_0x3478af._0x27182d,_0x3478af._0xd333ba,_0x3478af._0xe40118,0x788),'width':_0x208106-be[_0x5f14df(_0x3478af._0x4d2a40,_0x3478af._0x1e0d7d,0x6df,0x801)],'children':[_0x409945&&_0xe8e618(_0x40604c,{'dimColor':!0x0,'color':_0x43ee76[_0x5f14df(0x35b,_0x3478af._0x4a9ea7,0x366,_0x3478af._0x100910)]['muted'],'children':[_0xf1ceab(0x619,_0x3478af._0x57daa0,_0x3478af._0x5a4b37,0x360),_0x188789,_0x5f14df(_0x3478af._0x5a88bb,_0x3478af._0x98c08f,0x335,0x479)]}),_0x5173ed['map']((_0x515033,_0x4345d7)=>_0x38a8f7(_0x40604c,{'dimColor':!0x0,'color':_0x1362e0,'children':wu(_0x515033,_0x3f4346,_0x46b59a)},_0x21e9df+'-'+_0x4345d7)),_0x783a2f&&_0xe8e618(_0x40604c,{'dimColor':!0x0,'color':_0x43ee76[_0xf1ceab(_0x3478af._0x474786,0x4e1,0x3f6,0x1ea)]['muted'],'children':[_0x5f14df(_0x3478af._0x517280,0x51a,_0x3478af._0x41295b,0x55e),_0x188789,_0x5f14df(_0x3478af._0x5a88bb,0x3f6,0x419,_0x3478af._0x476c86)]})]});};import{jsx as _0x2776bd}from'react/jsx-runtime';var ai=_0x1aed6a=>_0x2776bd(Eo,{..._0x1aed6a,'maxLines':Ue[_0x5318c5(-0x9e,0xc6,0x52,-0x1c)],'maxLineLength':Ue['BASH_MAX_LINE_LENGTH'],'truncationMode':'tail'});import{jsx as _0xe9d6d8}from'react/jsx-runtime';var li=_0xc90974=>_0xe9d6d8(Eo,{..._0xc90974,'maxLines':Ue[_0x5318c5(0x21d,0x2c6,0x37f,0x1eb)],'maxLineLength':Ue[_0x7f0a6b(0xd6,0x254,0x1a9,0x200)],'truncationMode':'head'});import _0x2bc7f5 from'os';import{exec as _0x34bd03}from'child_process';import{promisify as _0x457458}from'util';var Eu=_0x457458(_0x34bd03),He=_0x3252b0=>_0x3252b0==null?'-':_0x3252b0>=0x3b9aca00?(_0x3252b0/0x3b9aca00)['toFixed'](0x2)+'B':_0x3252b0>=0xf4240?(_0x3252b0/0xf4240)['toFixed'](0x2)+'M':_0x3252b0>=0x3e8?(_0x3252b0/0x3e8)['toFixed'](0x1)+'k':_0x3252b0[_0x5318c5(0x208,-0x37,-0x1c9,0x57)](),St=_0x3acd01=>_0x3acd01===0x0?'0.00':_0x3acd01<0.01?_0x3acd01[_0x7f0a6b(0x4bd,0x401,0x256,0x20d)](0x4):_0x3acd01<0x1?_0x3acd01[_0x7f0a6b(0x3d0,0x401,0x37a,0x33f)](0x3):_0x3acd01[_0x7f0a6b(0x515,0x401,0x379,0x56f)](0x2),ci=_0x285e32=>{const _0x3a54cd={_0x9add7d:0x43,_0x4494e5:0xa7,_0x489d20:0x20f},_0x42a35e={_0x2cfe3b:0x20b};let _0x3b2be9=_0x2bc7f5['homedir']();function _0x5b2362(_0x51f629,_0x1a6498,_0x221a5c,_0x59a7be){return _0x5318c5(_0x51f629-0xcd,_0x1a6498,_0x221a5c-0x1d1,_0x51f629- -_0x42a35e._0x2cfe3b);}return _0x285e32[_0x5b2362(_0x3a54cd._0x9add7d,_0x3a54cd._0x4494e5,-0xdf,_0x3a54cd._0x489d20)](_0x3b2be9,'~');},Kt=_0x811045=>{const _0xe0766e={_0x106f3b:0x995,_0x31869c:0x845,_0x457a5e:0x91a,_0x2e6a57:0x78a,_0x2a15de:0x70f,_0x4d4b60:0x792,_0x3bd10a:0x57b,_0x1d1244:0x23b},_0x1af11d={_0x5b1b99:0xb0},_0x462362={_0x3ac080:0x36};function _0x566a4e(_0x1d642b,_0x246b50,_0x3df168,_0x18d8bb){return _0x7f0a6b(_0x1d642b-0xc4,_0x3df168-0x30,_0x1d642b,_0x18d8bb-_0x462362._0x3ac080);}function _0x4d1f63(_0x6060f0,_0x4645eb,_0xb80cf4,_0x2b83c0){return _0x7f0a6b(_0x6060f0-_0x1af11d._0x5b1b99,_0x2b83c0-0x391,_0x4645eb,_0x2b83c0-0x194);}if(_0x811045==null||!Number[_0x4d1f63(_0xe0766e._0x106f3b,_0xe0766e._0x31869c,_0xe0766e._0x457a5e,_0xe0766e._0x2e6a57)](_0x811045))return null;if(_0x811045<0x3e8)return _0x811045+'ms';if(_0x811045<0xea60)return(_0x811045/0x3e8)[_0x4d1f63(0x8ee,0x59b,_0xe0766e._0x2a15de,_0xe0766e._0x4d4b60)](0x1)+'s';{let _0x3d6ff2=Math[_0x566a4e(0x30d,_0xe0766e._0x3bd10a,0x35f,_0xe0766e._0x1d1244)](_0x811045/0xea60),_0x2a64b4=(_0x811045%0xea60/0x3e8)[_0x4d1f63(0x7ad,0x5c0,0x6db,_0xe0766e._0x4d4b60)](0x0);return _0x3d6ff2+'m'+(_0x2a64b4?'\x20'+_0x2a64b4+'s':'');}},ui=_0x6c4ec=>{const _0x27f500={_0x47edd1:0x2d9,_0x37d05b:0x1f5,_0x3200f8:0x1b4,_0x34804c:0x38b,_0x59c498:0x594,_0x4dc2cb:0x3d5,_0x4afced:0x3a1,_0x47f95d:0x844,_0x4d7325:0x858,_0x2ace98:0x958,_0x4b083a:0x837,_0x545ea9:0x6be,_0x40ebc8:0x68a,_0x420f17:0x5e7,_0x21d142:0x267,_0x576661:0x915,_0x2d2077:0x59c,_0xeca816:0x6ce,_0x12a6de:0xa39,_0x3af528:0xa0a,_0x36f1dd:0x8e0,_0x16a484:0x843,_0x5e12a0:0x118,_0x21bd8b:0x1f2,_0x24f74c:0x803,_0xc2e990:0x4bd,_0x3eca1:0x737,_0x85183e:0x772,_0x48b914:0x6ec,_0x20bf6a:0x682,_0x25763e:0x3ff,_0x4ed614:0x58f,_0xcf8213:0x4e0,_0x10fa56:0x3dd,_0x404fbd:0x560,_0x4d492f:0x758,_0x53e526:0xa64,_0x58f62d:0x638,_0x5877b5:0x58f,_0x3d4f9c:0x2c8,_0xc1de49:0x1f2,_0x40a4da:0x5c6,_0x16942f:0x536},_0x5e2e89={_0x3fa248:0x5a,_0x15eca7:0x51b};let _0x29dd44=new Date(_0x6c4ec),_0x431895=Math[_0x13da30(_0x27f500._0x47edd1,0x3e1,_0x27f500._0x37d05b,0x3d5)]((new Date()[_0x15e232(0x576,0x6ef,0x710,0x551)]()-_0x29dd44[_0x13da30(0x12b,0x1a1,0x191,_0x27f500._0x3200f8)]())/(0x3e8*0x3c)),_0x4bac32=Math['floor'](_0x431895/0x3c),_0x119fba=Math[_0x13da30(_0x27f500._0x34804c,0x434,_0x27f500._0x59c498,_0x27f500._0x4dc2cb)](_0x4bac32/0x18);function _0x13da30(_0x84cd2e,_0x15f620,_0x26b716,_0x5cd345){return _0x5318c5(_0x84cd2e-0x189,_0x15f620,_0x26b716-0x122,_0x5cd345-0x17e);}function _0x15e232(_0x4d9183,_0x1df4b7,_0x4a96b3,_0x55e38f){return _0x5318c5(_0x4d9183-_0x5e2e89._0x3fa248,_0x4d9183,_0x4a96b3-0x29,_0x55e38f-_0x5e2e89._0x15eca7);}if(_0x431895<0x5)return _0x13da30(0x3c2,_0x27f500._0x4afced,0x35d,0x35e);if(_0x431895<0x3c)return _0x431895+_0x15e232(0x8c6,_0x27f500._0x47f95d,0x8f8,_0x27f500._0x4d7325);if(_0x4bac32<0x18){let _0x30db4e=_0x29dd44[_0x15e232(0x676,_0x27f500._0x2ace98,0x886,_0x27f500._0x4b083a)](_0x15e232(_0x27f500._0x545ea9,_0x27f500._0x40ebc8,0x81e,0x843),{'hour':'numeric','minute':_0x13da30(_0x27f500._0x420f17,0x473,_0x27f500._0x21d142,0x3dd),'hour12':!0x0});return _0x4bac32<0x6?_0x4bac32+_0x15e232(0x7fe,0x9bc,_0x27f500._0x576661,0x7ec):_0x15e232(0x83a,_0x27f500._0x2d2077,0x4db,_0x27f500._0xeca816)+_0x30db4e;}if(_0x119fba===0x1)return _0x15e232(_0x27f500._0x12a6de,0x9c8,_0x27f500._0x3af528,_0x27f500._0x36f1dd)+_0x29dd44['toLocaleTimeString'](_0x15e232(0x87b,0xa5b,0x7ff,_0x27f500._0x16a484),{'hour':_0x13da30(0x1bc,0x43,_0x27f500._0x5e12a0,_0x27f500._0x21bd8b),'minute':'2-digit','hour12':!0x0});if(_0x119fba<0x7){let _0x312a5e=_0x29dd44['toLocaleDateString'](_0x15e232(_0x27f500._0x24f74c,0x717,0x8ec,0x843),{'weekday':_0x15e232(_0x27f500._0xc2e990,_0x27f500._0x3eca1,_0x27f500._0x85183e,_0x27f500._0x48b914)}),_0x1c4adf=_0x29dd44[_0x15e232(0x816,_0x27f500._0x20bf6a,0xa02,0x837)]('en-US',{'hour':_0x15e232(0x422,0x757,_0x27f500._0x25763e,_0x27f500._0x4ed614),'minute':_0x13da30(0x5c9,_0x27f500._0xcf8213,0x4f9,_0x27f500._0x10fa56),'hour12':!0x0});return _0x312a5e+'\x20'+_0x1c4adf;}return _0x29dd44[_0x15e232(0x7b6,_0x27f500._0x404fbd,0x5b9,_0x27f500._0x4d492f)](_0x15e232(0xa1c,_0x27f500._0x3af528,_0x27f500._0x53e526,0x843),{'month':'short','day':_0x15e232(0x3d8,0x53e,_0x27f500._0x58f62d,_0x27f500._0x5877b5),'hour':_0x13da30(_0x27f500._0x3d4f9c,0x1c1,-0x15,_0x27f500._0xc1de49),'minute':_0x13da30(_0x27f500._0x40a4da,_0x27f500._0x16942f,0x2f0,0x3dd),'hour12':!0x0});},di=_0x415437=>_0x415437[_0x7f0a6b(0x514,0x401,0x515,0x216)](0x0)+'s',mi=(_0xe8097e,_0x33bab9)=>_0xe8097e>=0.95?_0x33bab9['tokens'][_0x5318c5(0x402,0x398,0x1e3,0x365)]:_0xe8097e>=0.85?_0x33bab9[_0x5318c5(-0x1d6,-0x81,-0xdc,0x5)]['yellow']:_0x33bab9[_0x5318c5(0x3e,-0xc,-0x16,0xf3)][_0x7f0a6b(0x1fc,0x1cd,0x1a2,0x35d)],Qr=new Map(),ku=0x1388,pi=async _0xfc96c2=>{const _0x35539b={_0x5b4ea9:0x272,_0x2c7683:0x341,_0x4f8414:0x4b0,_0x516b6d:0x62a,_0x186499:0xb28,_0x54a1ac:0x942,_0x4c155a:0x5c1,_0x688eb1:0x603,_0x23030a:0x44e,_0x599d7d:0x2b0,_0x1d2fb3:0xec,_0x32f1fe:0x91,_0x4d6e34:0x589,_0x5641af:0x7a8,_0x21743d:0xdf,_0x35cb57:0x140},_0x8c03b8={_0x8a3bb2:0x145,_0x5adfbd:0x574};function _0x56b2c4(_0x43e080,_0x2247d7,_0x2a0088,_0x46439f){return _0x5318c5(_0x43e080-0xf,_0x43e080,_0x2a0088-0x108,_0x2247d7-0xa9);}let _0x112b31=Qr[_0x56b2c4(0xed,_0x35539b._0x5b4ea9,0x1ad,0x2b3)](_0xfc96c2);if(_0x112b31&&Date['now']()-_0x112b31[_0x56b2c4(_0x35539b._0x2c7683,0x4b3,_0x35539b._0x4f8414,_0x35539b._0x516b6d)]<ku)return _0x112b31['value'];function _0xeeedae(_0x226e18,_0xe72816,_0x4bf5a3,_0x212be4){return _0x5318c5(_0x226e18-0x156,_0x226e18,_0x4bf5a3-_0x8c03b8._0x8a3bb2,_0x4bf5a3-_0x8c03b8._0x5adfbd);}try{let {stdout:_0x4bde72}=await Eu(_0xeeedae(0xa64,_0x35539b._0x186499,_0x35539b._0x54a1ac,0xa2e),{'cwd':_0xfc96c2,'encoding':_0xeeedae(_0x35539b._0x4c155a,0x5f8,_0x35539b._0x688eb1,_0x35539b._0x4c155a),'timeout':0xbb8}),_0x5ba0a5=_0x4bde72[_0x56b2c4(_0x35539b._0x23030a,_0x35539b._0x599d7d,0x95,_0x35539b._0x1d2fb3)]();return Qr[_0x56b2c4(0x1bf,_0x35539b._0x32f1fe,0x142,0x28e)](_0xfc96c2,{'value':_0x5ba0a5,'timestamp':Date[_0xeeedae(0x43c,0x555,_0x35539b._0x4d6e34,_0x35539b._0x5641af)]()}),_0x5ba0a5;}catch{return Qr['set'](_0xfc96c2,{'value':null,'timestamp':Date[_0x56b2c4(-_0x35539b._0x21743d,0xbe,_0x35539b._0x35cb57,0x22d)]()}),null;}},fi=_0x1a5200=>_0x1a5200===0x1?{'text':'1\x20msg','color':_0x5318c5(0x2c6,0x239,0x3da,0x3c6)}:_0x1a5200<0xa?{'text':_0x1a5200+_0x7f0a6b(0x5c5,0x4bc,0x590,0x68b),'color':'cyan'}:_0x1a5200<0x32?{'text':_0x1a5200+_0x7f0a6b(0x4d3,0x4bc,0x452,0x56b),'color':'green'}:{'text':_0x1a5200+_0x7f0a6b(0x43c,0x4bc,0x6e3,0x567),'color':_0x7f0a6b(0x41b,0x2fa,0x33e,0x3d5)};import{ErrorReason as _0x5b893a}from'@nuvin/nuvin-core';var Lu={[_0x5b893a['Aborted']]:{'text':'Aborted','colorKey':_0x7f0a6b(0x32f,0x265,0x1a2,0x351)},[_0x5b893a[_0x7f0a6b(0x2e2,0x489,0x3ac,0x47f)]]:{'text':_0x7f0a6b(0x2bc,0x489,0x5fd,0x2d2),'colorKey':'warning'},[_0x5b893a[_0x5318c5(0x93,0x82,-0x11b,0x118)]]:{'text':_0x7f0a6b(0x95,0x1f0,0x293,0x2a1),'colorKey':_0x7f0a6b(0x38d,0x265,0x2cf,0x2d1)},[_0x5b893a[_0x5318c5(0x18c,0x3ed,0x31d,0x283)]]:{'text':_0x7f0a6b(0x2e0,0x35b,0x56e,0x12d),'colorKey':'warning'},[_0x5b893a[_0x5318c5(0x88,0x52,0x430,0x233)]]:{'text':_0x7f0a6b(0x6f5,0x4dc,0x353,0x393),'colorKey':_0x5318c5(0x429,0x1d5,0x250,0x262)},[_0x5b893a['NotFound']]:{'text':'Not\x20found','colorKey':_0x7f0a6b(0x408,0x33a,0x402,0x3e1)},[_0x5b893a[_0x5318c5(0x2ec,0x6c,0x71,0xf9)]]:{'text':_0x7f0a6b(0x2d4,0x110,0x2dd,0x1b1),'colorKey':_0x5318c5(0x23b,0x1e1,0x1d6,0x262)},[_0x5b893a[_0x5318c5(0x302,0x4a2,0x296,0x3a1)]]:{'text':_0x7f0a6b(0x4e5,0x44f,0x23f,0x3f8),'colorKey':_0x7f0a6b(0x1cb,0x33a,0x381,0x425)},[_0x5b893a[_0x7f0a6b(0x65a,0x496,0x3b0,0x6cd)]]:{'text':_0x5318c5(0x378,0x113,0x35e,0x32f),'colorKey':_0x7f0a6b(0x35e,0x265,0xea,0x1a7)},[_0x5b893a[_0x7f0a6b(0x583,0x430,0x646,0x5a6)]]:{'text':_0x7f0a6b(0x29d,0x1be,0x3b4,0x31d),'colorKey':'error'},[_0x5b893a['Unknown']]:{'text':'Unknown\x20error','colorKey':_0x7f0a6b(0x2e5,0x33a,0x104,0x510)}};function gi(_0x1a1f21,_0x3f8f29,_0x23f395){const _0x5f5319={_0x2d1db3:0x2aa,_0x4482c4:0x506,_0x5c319f:0x363,_0x3c7698:0x50f,_0x3eff84:0x5c5,_0x318860:0x4a6,_0xdbea07:0x4b9,_0x2155e3:0x310,_0x9fedea:0x35f,_0x234d1b:0x770,_0x3f9cd9:0x80d},_0x2064c4={_0x346f75:0x21,_0x213b28:0x3f,_0x2a4116:0x8e},_0x36ad28={_0x57c20b:0xd,_0x66f11d:0x3a7};if(!_0x1a1f21)return null;let _0x4c3e19=Lu[_0x1a1f21];function _0x45c218(_0x4de45b,_0x381f99,_0x276695,_0x3d6b46){return _0x5318c5(_0x4de45b-0x74,_0x276695,_0x276695-_0x36ad28._0x57c20b,_0x3d6b46-_0x36ad28._0x66f11d);}function _0x3cab8d(_0x24fb6d,_0xb8a26f,_0x3f7267,_0x3b8a46){return _0x5318c5(_0x24fb6d-_0x2064c4._0x346f75,_0x24fb6d,_0x3f7267-_0x2064c4._0x213b28,_0xb8a26f- -_0x2064c4._0x2a4116);}if(!_0x4c3e19)return null;let _0x4f8a64=_0x4c3e19[_0x3cab8d(_0x5f5319._0x2d1db3,0x310,_0x5f5319._0x4482c4,_0x5f5319._0x5c319f)]==='warning'?_0x45c218(_0x5f5319._0x3c7698,_0x5f5319._0x3eff84,0x602,_0x5f5319._0x318860):'red',_0x3c9485=_0x3f8f29['colors'][_0x4c3e19[_0x3cab8d(_0x5f5319._0xdbea07,_0x5f5319._0x2155e3,0x239,_0x5f5319._0x9fedea)]]||_0x4f8a64;return{'text':_0x4c3e19[_0x45c218(_0x5f5319._0x234d1b,0x6f0,_0x5f5319._0x3f9cd9,0x68a)],'color':_0x3c9485,'paramText':_0x23f395};}import{isAssignSuccess as _0x57ed32,isBashSuccess as _0x2e507c,isLsToolSuccess as _0x337453,isGlobSuccess as _0x422198,isGrepSuccess as _0x4969bb,isFileEditSuccess as _0x38c180,isFileNewSuccess as _0x5c085e,isFileReadSuccess as _0x169930,isTodoWriteSuccess as _0x5caf52,isWebFetchSuccess as _0x487f4d,isWebSearchSuccess as _0x4f7a59,ErrorReason as _0x255709}from'@nuvin/nuvin-core';function X(_0x37d208,_0x19b0a5,_0xdad7c0){let _0x373e83=_0x19b0a5['split']('.'),_0x2d4cce=_0x37d208;for(let _0x136790 of _0x373e83){if(_0x2d4cce==null)return _0xdad7c0;_0x2d4cce=_0x2d4cce[_0x136790];}return _0x2d4cce===void 0x0?_0xdad7c0:_0x2d4cce;}function K(_0xb65489,_0x2a374d,_0xe63435='',_0x5e71e8=_0x5318c5(0x47f,0x16e,0x2c4,0x268)){return{'text':_0xb65489,'color':_0x2a374d,'paramText':_0xe63435,'statusPosition':_0x5e71e8};}var ve=_0x384443=>_0x384443['status']==='error'&&_0x384443[_0x7f0a6b(0x335,0x4cb,0x6db,0x6e2)]?.[_0x7f0a6b(0x392,0x287,0x2ef,0x427)]===_0x255709[_0x7f0a6b(0x3bb,0x1f0,0x1ce,0x18b)],ko={'getStatus'(_0x5219a3,_0x408a05){const _0xd5f30c={_0x2313a6:0x465,_0x2d123c:0x514,_0x3e742a:0x4e2,_0x3681fa:0x53b,_0x2505a6:0x4bd,_0x19976b:0x9b8,_0x477368:0x558,_0x5c2714:0x4f7,_0x351399:0x197,_0x41dfdc:0x4b,_0x152222:0x95,_0x6f8cc0:0x2e0,_0xabf18e:0x59c,_0x52cf39:0x4bb,_0x47957f:0x3df,_0x39216c:0x29d,_0xd28a03:0x523,_0x21a975:0x695,_0x44c270:0x741,_0x184835:0x435,_0x2025b7:0x1d4,_0x17d0cd:0x3be,_0x544e91:0x3c7,_0x46902b:0x485,_0x48323e:0x5a7,_0x2b5a33:0x36f,_0x473b83:0x344,_0x5ea38a:0x2b1,_0x23ae3f:0x54f,_0x1d1bfd:0x524};let {statusColor:_0x1b1ff8,subAgentMetrics:_0x33210c}=_0x408a05;function _0x5d341a(_0x491c46,_0x571637,_0x2f1a8b,_0x4f7a4a){return _0x7f0a6b(_0x491c46-0xf4,_0x2f1a8b-0x33,_0x571637,_0x4f7a4a-0x14f);}if(_0x57ed32(_0x5219a3)){let _0x5c55bb=[_0x5d341a(_0xd5f30c._0x2313a6,0x411,_0xd5f30c._0x2d123c,_0xd5f30c._0x3e742a)],_0x15f66a=X(_0x5219a3,_0x5d341a(0x18d,_0xd5f30c._0x3681fa,0x34c,_0xd5f30c._0x2505a6)),_0x6ee95b=X(_0x5219a3,_0x156f37(0x629,0x9b8,0x782,_0xd5f30c._0x19976b)),_0x294c2b=X(_0x5219a3,_0x5d341a(0x2fb,_0xd5f30c._0x477368,0x3fe,_0xd5f30c._0x5c2714));return _0x33210c?(_0x5c55bb[_0x5d341a(0x17e,0x2ef,0x36f,0x462)](_0x33210c[_0x5d341a(_0xd5f30c._0x351399,0x2f4,0xd1,-_0xd5f30c._0x41dfdc)]+'\x20calls'),_0x5c55bb[_0x156f37(0x95d,0x669,0x741,0x679)](He(_0x33210c[_0x5d341a(_0xd5f30c._0x152222,0x322,0x197,-0x7)])+_0x5d341a(0x2e5,_0xd5f30c._0x6f8cc0,0x191,0x158)),_0x33210c[_0x5d341a(_0xd5f30c._0xabf18e,_0xd5f30c._0x52cf39,_0xd5f30c._0x47957f,0x617)]>0x0&&_0x5c55bb['push']('$'+St(_0x33210c[_0x5d341a(_0xd5f30c._0x39216c,0x243,0x3df,_0xd5f30c._0xd28a03)])),_0x15f66a&&_0x5c55bb[_0x156f37(0x7da,_0xd5f30c._0x21a975,_0xd5f30c._0x44c270,0x865)](''+Kt(_0x15f66a))):(_0x6ee95b&&_0x5c55bb['push'](_0x6ee95b+_0x5d341a(_0xd5f30c._0x184835,_0xd5f30c._0x2025b7,_0xd5f30c._0x17d0cd,_0xd5f30c._0x544e91)),_0x294c2b&&_0x5c55bb[_0x5d341a(_0xd5f30c._0x46902b,_0xd5f30c._0x48323e,_0xd5f30c._0x2b5a33,0x229)](He(_0x294c2b)+_0x5d341a(_0xd5f30c._0x473b83,_0xd5f30c._0x5ea38a,0x191,0x1a4)),_0x15f66a&&_0x5c55bb[_0x156f37(0x884,0x956,0x741,0x969)](''+Kt(_0x15f66a))),K(_0x5c55bb[_0x156f37(_0xd5f30c._0x23ae3f,_0xd5f30c._0x1d1bfd,0x5e7,0x421)]('\x20•\x20'),_0x1b1ff8,'');}function _0x156f37(_0x373e4e,_0x2cae80,_0x37c93a,_0x49e9cc){return _0x7f0a6b(_0x373e4e-0x166,_0x37c93a-0x405,_0x49e9cc,_0x49e9cc-0x148);}return K('Error',_0x1b1ff8,'');}},Lo={'getStatus'(_0x13facc,_0x5006ac){const _0x2cf095={_0x6a70b1:0x545,_0xacf6f5:0x323,_0x399587:0x3be,_0x2cad46:0x10d,_0x109c42:0x362,_0x5b999f:0x3d4,_0x2e03d9:0x3fb},_0x42b286={_0x2f51d1:0x9a},_0x5d04ce={_0x552da8:0x26,_0x1c0582:0x2bc};let {statusColor:_0x328ced}=_0x5006ac;if(_0x38c180(_0x13facc)){let _0x1c65be=X(_0x13facc,_0x351e3a(_0x2cf095._0x6a70b1,_0x2cf095._0xacf6f5,_0x2cf095._0x399587,0x4bb)),_0x546041=_0x1c65be?'Edited\x20('+_0x1c65be+_0x351e3a(0x44e,0x31f,0x433,_0x2cf095._0x2cad46):_0x351e3a(0x398,0x2b2,_0x2cf095._0x109c42,0xe4);return K(_0x546041,_0x328ced,'');}function _0x2145b8(_0xc6bd39,_0x51fb7b,_0x196ec9,_0x4b31af){return _0x5318c5(_0xc6bd39-_0x5d04ce._0x552da8,_0x196ec9,_0x196ec9-0x9,_0x51fb7b-_0x5d04ce._0x1c0582);}function _0x351e3a(_0x50b917,_0x430524,_0x3d295f,_0x207c16){return _0x5318c5(_0x50b917-_0x42b286._0x2f51d1,_0x3d295f,_0x3d295f-0x17e,_0x430524-0x19a);}return ve(_0x13facc)?K(_0x2145b8(0x36d,_0x2cf095._0x5b999f,0x439,_0x2cf095._0x2e03d9),_0x328ced,''):K('Edit\x20failed',_0x328ced,'');}},Do={'getStatus'(_0x19d101,_0x32061d){const _0x13393a={_0x3f40e8:0x1bf,_0x283f20:0x96,_0x4c81ae:0x3bd,_0x3c3c83:0x19a,_0x456d89:0x1b,_0x1c25ae:0x74c,_0x37ab49:0x638,_0x2878f4:0x366,_0x54acac:0xa4},_0x5f4a56={_0x2e19c1:0x13e,_0x220424:0x42};let {statusColor:_0x538b32}=_0x32061d;function _0x344b38(_0x6a376e,_0x4d9e89,_0x33ed67,_0x4be556){return _0x5318c5(_0x6a376e-0x118,_0x4d9e89,_0x33ed67-0x1ae,_0x6a376e-0x49a);}function _0x20292a(_0x315c87,_0x1328f0,_0x2f5701,_0x47bb3e){return _0x5318c5(_0x315c87-_0x5f4a56._0x2e19c1,_0x1328f0,_0x2f5701-_0x5f4a56._0x220424,_0x315c87-0x5d);}if(_0x169930(_0x19d101)){let _0x3340df=_0x19d101['result'][_0x20292a(0x34b,0x2e9,0x246,0x30f)](/\r?\n/)[_0x20292a(_0x13393a._0x3f40e8,_0x13393a._0x283f20,_0x13393a._0x4c81ae,0x216)];return K(_0x20292a(_0x13393a._0x3c3c83,0x1f4,0x393,_0x13393a._0x456d89)+_0x3340df+_0x344b38(_0x13393a._0x1c25ae,0x83a,0x59c,_0x13393a._0x37ab49),_0x538b32,'');}return ve(_0x19d101)?K(_0x20292a(0x175,_0x13393a._0x2878f4,_0x13393a._0x54acac,0x31a),_0x538b32,''):K('Read\x20failed',_0x538b32,'');}},Bo={'getStatus'(_0x332b09,_0x417e3e){const _0xb6bbe3={_0x100971:0x698,_0x345a3d:0x680,_0x20bd0:0x70a,_0x2610ff:0x4c5,_0x870774:0x558,_0x16400a:0x2ec,_0xf96c97:0x48a,_0x48a896:0x352},_0x1fdc9b={_0x488000:0x11d,_0x51055a:0x3f},_0x376e9f={_0x273c6e:0x181};let {statusColor:_0x1b23f1}=_0x417e3e;function _0x1b39c6(_0x5c3bf6,_0x26eb30,_0x3342b9,_0x3e8508){return _0x7f0a6b(_0x5c3bf6-0x95,_0x26eb30-0xf5,_0x3e8508,_0x3e8508-_0x376e9f._0x273c6e);}function _0x4d6ce8(_0x8d0f6e,_0x2952ad,_0x317818,_0x3c9a54){return _0x7f0a6b(_0x8d0f6e-_0x1fdc9b._0x488000,_0x3c9a54-0x22d,_0x8d0f6e,_0x3c9a54-_0x1fdc9b._0x51055a);}if(_0x5c085e(_0x332b09)){let _0x146f10=X(_0x332b09,_0x4d6ce8(0x626,_0xb6bbe3._0x100971,0x665,_0xb6bbe3._0x345a3d)),_0xfb824e=X(_0x332b09,_0x4d6ce8(_0xb6bbe3._0x20bd0,0x604,0x8cd,0x6a4)),_0x2bd04f=_0x4d6ce8(0x71f,0x7b3,_0xb6bbe3._0x2610ff,0x6a7);return _0x146f10!==void 0x0?(_0x2bd04f+='\x20('+_0x146f10+_0x1b39c6(0x4c9,0x47f,0x5fe,_0xb6bbe3._0x870774),_0x2bd04f+=_0xfb824e!==void 0x0?',\x20'+_0xfb824e+_0x4d6ce8(_0xb6bbe3._0x16400a,0x5c6,0x437,_0xb6bbe3._0xf96c97):')'):_0xfb824e!==void 0x0&&(_0x2bd04f+='\x20('+_0xfb824e+_0x1b39c6(0x4ee,_0xb6bbe3._0x48a896,0x524,0x472)),K(_0x2bd04f,_0x1b23f1,'');}return ve(_0x332b09)?K(_0x4d6ce8(0x508,0x272,0x444,0x41d),_0x1b23f1,''):K('Creation\x20failed',_0x1b23f1,'');}},_o={'getStatus'(_0x145be6,_0x17e532){const _0x4ebb36={_0x108ddf:0x1a3,_0x1c31e0:0x1b5,_0xffb7b3:0x471,_0x566f5b:0x2a4,_0x4e63f0:0x113,_0xbd804e:0x16d,_0x5cabdb:0x3f5,_0x55b26f:0x41d},_0x39da98={_0x3afb49:0x432,_0x5467b8:0x90};let {statusColor:_0x49b0ba}=_0x17e532;if(_0x2e507c(_0x145be6)){let _0x2eb53a=X(_0x145be6,'metadata.code'),_0x2c6c2d=_0x2eb53a!==void 0x0?_0x3630a0(0x2f1,_0x4ebb36._0x108ddf,_0x4ebb36._0x1c31e0,0x2d9)+_0x2eb53a+')':_0x3630a0(0x528,_0x4ebb36._0xffb7b3,0x540,0x457);return K(_0x2c6c2d,_0x49b0ba,'');}function _0x201425(_0x492652,_0x141aa9,_0x503935,_0x5defae){return _0x7f0a6b(_0x492652-0xf2,_0x503935-_0x39da98._0x3afb49,_0x141aa9,_0x5defae-_0x39da98._0x5467b8);}function _0x3630a0(_0x2286fb,_0x2002ba,_0x1222c7,_0xd91c48){return _0x5318c5(_0x2286fb-0x89,_0x2286fb,_0x1222c7-0x93,_0xd91c48-0x55);}return ve(_0x145be6)?K(_0x3630a0(0x8b,_0x4ebb36._0x566f5b,_0x4ebb36._0x4e63f0,_0x4ebb36._0xbd804e),_0x49b0ba,''):K(_0x3630a0(0x2a2,0x570,_0x4ebb36._0x5cabdb,_0x4ebb36._0x55b26f),_0x49b0ba,'');}},Fo={'getStatus'(_0x2a5149,_0x674bf6){const _0x34a850={_0xa0f3fd:0x25a,_0x489696:0x1b5,_0x2a6490:0x249,_0x203e84:0x1ab,_0xbfe3ae:0x45c,_0x147582:0x2e8,_0x4e722c:0x14c,_0x4d3b4e:0x3f1,_0x4992ac:0x350,_0x3b5563:0x5ef,_0x1e4ef0:0x470,_0x279967:0x456},_0x5011fd={_0x90ab35:0x163},_0x5b43b1={_0xa1e1c4:0x184};let {statusColor:_0x425518}=_0x674bf6;function _0x432bad(_0x34a3f2,_0x221c9a,_0x39212c,_0x17b371){return _0x7f0a6b(_0x34a3f2-0xd3,_0x34a3f2-0x137,_0x221c9a,_0x17b371-_0x5b43b1._0xa1e1c4);}function _0x4bd4c6(_0x34ec2e,_0x292a96,_0x4e1f1a,_0x28e129){return _0x5318c5(_0x34ec2e-0x1c9,_0x28e129,_0x4e1f1a-0x14b,_0x292a96-_0x5011fd._0x90ab35);}if(_0x487f4d(_0x2a5149)){let _0xff3c6e=X(_0x2a5149,'metadata.size'),_0x318540=X(_0x2a5149,_0x4bd4c6(0x20c,_0x34a850._0xa0f3fd,0x290,_0x34a850._0x489696)),_0x5d3e50=_0xff3c6e!==void 0x0&&_0x318540!==void 0x0?_0x432bad(_0x34a850._0x2a6490,_0x34a850._0x203e84,0x453,_0x34a850._0xbfe3ae)+_0x318540+',\x20'+_0xff3c6e+_0x4bd4c6(0x390,_0x34a850._0x147582,_0x34a850._0x4e722c,_0x34a850._0x4d3b4e):_0x432bad(0x3d1,_0x34a850._0x4992ac,_0x34a850._0x3b5563,_0x34a850._0x1e4ef0);return K(_0x5d3e50,_0x425518,'');}return ve(_0x2a5149)?K('Edited',_0x425518,''):K(_0x4bd4c6(_0x34a850._0x279967,0x563,0x5f4,0x54b),_0x425518,'');}},No={'getStatus'(_0x32acb2,_0x520b75){const _0x1b99a2={_0x23e5c5:0x1e1,_0x132c77:0x201,_0x5931b7:0x2c5,_0x355843:0x481,_0xf489b2:0x36c,_0x547d3a:0x4c,_0x3a51c7:0x13a,_0x4789e9:0x1e,_0x387e3d:0x2e0,_0x37a838:0x366};function _0x42d10c(_0x59226d,_0x5398ed,_0x4887e1,_0x244150){return _0x7f0a6b(_0x59226d-0xa1,_0x5398ed- -0x6e,_0x4887e1,_0x244150-0x90);}let {statusColor:_0x29a088}=_0x520b75;if(_0x4f7a59(_0x32acb2)){let _0x38d611=X(_0x32acb2,_0x42d10c(_0x1b99a2._0x23e5c5,_0x1b99a2._0x132c77,0x421,0x408)),_0x47c84d=_0x38d611!==void 0x0?_0x42d10c(_0x1b99a2._0x5931b7,0x2da,0xf6,_0x1b99a2._0x355843)+_0x38d611+_0x5345a4(0x577,_0x1b99a2._0xf489b2,0x49f,0x46a):_0x42d10c(-0x4f,_0x1b99a2._0x547d3a,-_0x1b99a2._0x3a51c7,_0x1b99a2._0x4789e9);return K(_0x47c84d,_0x29a088,'');}function _0x5345a4(_0x10bda6,_0x25a359,_0x2fb3a2,_0xa2397e){return _0x5318c5(_0x10bda6-0xd8,_0x25a359,_0x2fb3a2-0x48,_0x2fb3a2-0x138);}return ve(_0x32acb2)?K('Edited',_0x29a088,''):K(_0x5345a4(0x1ec,_0x1b99a2._0x387e3d,_0x1b99a2._0x37a838,0x49f),_0x29a088,'');}},Oo={'getStatus'(_0x435880,_0x132d31){const _0x4937bb={_0xe92444:0x506,_0x171d08:0x5fc,_0x551bed:0x2c8,_0x4f7c2b:0x40,_0x3297b5:0x196,_0xf75dcf:0x38b,_0x1ef131:0x233,_0x4379ba:0x14c,_0x9dbde7:0x680,_0x32477b:0x8a3,_0x4a0692:0x62c,_0x2b3dd2:0x602,_0x139ec1:0x3f1,_0x412694:0x3e8,_0x155bf1:0x25a,_0x6ca41b:0xad,_0x1533b4:0x23b,_0x3f75d3:0x411},_0xee7374={_0x26172a:0xff,_0x287895:0x54},_0x303d5c={_0x4be096:0x16c,_0x2958ba:0x201};let {statusColor:_0x41f3c6}=_0x132d31;function _0x59a7e0(_0x27d7fc,_0x268a97,_0x328ac7,_0x1c02eb){return _0x7f0a6b(_0x27d7fc-_0x303d5c._0x4be096,_0x328ac7-_0x303d5c._0x2958ba,_0x268a97,_0x1c02eb-0x18b);}function _0x5ed08d(_0x3c85e6,_0x7f1d9,_0x4d2eb8,_0x1b3b8c){return _0x5318c5(_0x3c85e6-0x6a,_0x4d2eb8,_0x4d2eb8-_0xee7374._0x26172a,_0x7f1d9-_0xee7374._0x287895);}if(_0x5caf52(_0x435880)){let _0x391951=X(_0x435880,_0x59a7e0(0x710,_0x4937bb._0xe92444,0x545,_0x4937bb._0x171d08)),_0x23bdc9=X(_0x435880,_0x59a7e0(0x4c0,0x1b1,_0x4937bb._0x551bed,0x1c9)),_0x370b44=_0x391951?_0x5ed08d(-_0x4937bb._0x4f7c2b,0x1f6,_0x4937bb._0x3297b5,_0x4937bb._0xf75dcf)+_0x391951[_0x5ed08d(0x1b8,0x1a5,0x12f,0xad)]+'/'+_0x391951[_0x59a7e0(0x2ba,0x4a2,0x402,_0x4937bb._0x1ef131)]+_0x5ed08d(0x211,_0x4937bb._0x4379ba,0xbc,0x349)+_0x23bdc9+')':_0x59a7e0(_0x4937bb._0x9dbde7,0x554,0x6b6,_0x4937bb._0x32477b);return K(_0x370b44,_0x41f3c6,'',_0x59a7e0(0x4ea,_0x4937bb._0x4a0692,0x66d,0x74e));}return ve(_0x435880)?K(_0x59a7e0(0x37d,_0x4937bb._0x2b3dd2,_0x4937bb._0x139ec1,0x243),_0x41f3c6,'',_0x5ed08d(0x29d,_0x4937bb._0x412694,0x543,_0x4937bb._0x155bf1)):K(_0x5ed08d(0x38f,0x201,0xde,_0x4937bb._0x6ca41b),_0x41f3c6,'',_0x5ed08d(0x45f,_0x4937bb._0x412694,_0x4937bb._0x1533b4,_0x4937bb._0x3f75d3));}},$o={'getStatus'(_0x3459d9,_0x4e50f8){const _0x2b204c={_0x5ec570:0x258,_0xa1a419:0x17c,_0x1c081c:0x2db,_0x5d0d55:0xbd,_0x371e8e:0x30a,_0x45cc02:0x456,_0x5e0e09:0x53d,_0x13b4f7:0x5f5,_0x447da7:0x300,_0x5017f2:0x560,_0x3e543a:0x3be,_0x443d3a:0x3f,_0x2963c7:0x24d,_0x23a3ad:0x79,_0x1b3aca:0x2bc,_0x5f349a:0x456},_0xbf2bdd={_0x438b16:0x15d},_0x18e8c9={_0x2eeaf5:0x1f1};let {statusColor:_0xde7e75}=_0x4e50f8;function _0x22576b(_0x47b230,_0x18c52e,_0x183230,_0x289c74){return _0x5318c5(_0x47b230-0xc8,_0x47b230,_0x183230-_0x18e8c9._0x2eeaf5,_0x18c52e-0x135);}function _0x2ca9b2(_0x55a37c,_0xec7f56,_0x4a6e15,_0x5a373f){return _0x7f0a6b(_0x55a37c-0xb3,_0x55a37c-0xcd,_0x4a6e15,_0x5a373f-_0xbf2bdd._0x438b16);}if(_0x337453(_0x3459d9)){let _0x3cf59b=_0x3459d9[_0x2ca9b2(0x46a,0x357,_0x2b204c._0x5ec570,0x2ec)],_0x18c314=_0x3cf59b['match'](/total:\s*(\d+)/i),_0xcab22=_0x18c314?parseInt(_0x18c314[0x1],0xa):0x0,_0x1f6342=_0x3cf59b[_0x2ca9b2(_0x2b204c._0xa1a419,0x1e4,_0x2b204c._0x1c081c,-_0x2b204c._0x5d0d55)](_0x22576b(_0x2b204c._0x371e8e,0x34a,0x252,0x570))?_0x2ca9b2(_0x2b204c._0x45cc02,0x48f,_0x2b204c._0x5e0e09,_0x2b204c._0x13b4f7):'';return K(_0x22576b(0x2ce,0x1dd,_0x2b204c._0x447da7,0x88)+_0xcab22+_0x2ca9b2(_0x2b204c._0x5017f2,0x513,_0x2b204c._0x3e543a,0x3f0)+_0x1f6342,_0xde7e75,'');}return ve(_0x3459d9)?K(_0x22576b(_0x2b204c._0x443d3a,_0x2b204c._0x2963c7,_0x2b204c._0x23a3ad,0x463),_0xde7e75,''):K(_0x2ca9b2(_0x2b204c._0x1b3aca,_0x2b204c._0x5f349a,0x394,0x30d),_0xde7e75,'');}},hi={'getStatus'(_0x5e5c5d,_0x23c717){const _0xedd44c={_0x2b387f:0x59c,_0x2374bc:0x7f0,_0x2cd868:0x7f2,_0x41c773:0x67e,_0x137766:0x6b0,_0x25674d:0x3f6,_0x3dc9d1:0x4a4,_0x3ddb7c:0x5bb,_0x38434c:0x792,_0x46f8c2:0x6d1},_0x5e6b41={_0x1acdff:0xea},_0x2299b0={_0x25d3a5:0x184};function _0xceb82b(_0x17abb7,_0x59375b,_0x29d165,_0x4a8bd4){return _0x7f0a6b(_0x17abb7-_0x2299b0._0x25d3a5,_0x29d165-0x306,_0x59375b,_0x4a8bd4-0x8f);}let {statusColor:_0x1c1c22}=_0x23c717;if(_0x422198(_0x5e5c5d)){let _0x201ec0=X(_0x5e5c5d,_0xceb82b(0x383,0x719,0x562,_0xedd44c._0x2b387f)),_0x418744=X(_0x5e5c5d,_0x27110c(_0xedd44c._0x2374bc,0x984,0x7f3,_0xedd44c._0x2cd868)),_0x589338=_0x201ec0!==void 0x0?'Found\x20'+_0x201ec0+'\x20files':_0xceb82b(0x4a2,_0xedd44c._0x41c773,_0xedd44c._0x137766,0x641);return _0x418744&&(_0x589338+='\x20(truncated)'),K(_0x589338,_0x1c1c22,'');}function _0x27110c(_0x4ed6f3,_0x25bb33,_0x43275c,_0x3ed660){return _0x7f0a6b(_0x4ed6f3-_0x5e6b41._0x1acdff,_0x43275c-0x3cb,_0x4ed6f3,_0x3ed660-0x167);}return ve(_0x5e5c5d)?K(_0x27110c(_0xedd44c._0x25674d,_0xedd44c._0x3dc9d1,_0xedd44c._0x3ddb7c,0x7cf),_0x1c1c22,''):K(_0x27110c(0x750,_0xedd44c._0x38434c,_0xedd44c._0x46f8c2,0x881),_0x1c1c22,'');}},yi={'getStatus'(_0x50225a,_0x50c58e){const _0x3ed3e5={_0x3e4cdd:0xb4,_0x304a23:0x487,_0xcc438:0x505,_0xd7a7c1:0x288,_0x2430c0:0x66,_0x55d83e:0x1d5,_0x510a63:0x96,_0x5ebc2e:0x117,_0xfbe36e:0x15a,_0x890e7c:0x91,_0x481401:0x326,_0x32815a:0x279,_0x5b3513:0x98,_0x35cacb:0x1b,_0x2acb70:0xef},_0x1f7b18={_0x16bee3:0x152,_0x119f3f:0x11e};function _0x34a3d7(_0x748e,_0x49139b,_0x1e2ff9,_0x56cba1){return _0x7f0a6b(_0x748e-_0x1f7b18._0x16bee3,_0x1e2ff9- -0x101,_0x56cba1,_0x56cba1-_0x1f7b18._0x119f3f);}function _0x57af46(_0x2ee0d2,_0x483255,_0x538562,_0x5265f6){return _0x7f0a6b(_0x2ee0d2-0x14c,_0x538562- -0x2dd,_0x2ee0d2,_0x5265f6-0xaf);}let {statusColor:_0x22a3bd}=_0x50c58e;if(_0x4969bb(_0x50225a)){let _0x585f2d=X(_0x50225a,'metadata.matchCount'),_0x143517=X(_0x50225a,_0x57af46(-_0x3ed3e5._0x3e4cdd,0xa8,-0xd7,-0x96)),_0x1092e8=X(_0x50225a,_0x34a3d7(0x485,_0x3ed3e5._0x304a23,0x327,_0x3ed3e5._0xcc438)),_0x2235b2=_0x585f2d!==void 0x0?_0x57af46(-_0x3ed3e5._0xd7a7c1,-_0x3ed3e5._0x2430c0,-0xf4,-_0x3ed3e5._0x55d83e)+_0x585f2d+'\x20matches':_0x34a3d7(_0x3ed3e5._0x510a63,0x88,0x2a9,_0x3ed3e5._0x5ebc2e);return _0x143517!==void 0x0&&(_0x2235b2+=_0x34a3d7(-0x27,0x30c,_0x3ed3e5._0xfbe36e,_0x3ed3e5._0x890e7c)+_0x143517+_0x34a3d7(0x447,_0x3ed3e5._0x481401,0x2e3,_0x3ed3e5._0x32815a)),_0x1092e8&&(_0x2235b2+='\x20(truncated)'),K(_0x2235b2,_0x22a3bd,'');}return ve(_0x50225a)?K(_0x34a3d7(-_0x3ed3e5._0x5b3513,-_0x3ed3e5._0x35cacb,_0x3ed3e5._0x2acb70,-0x67),_0x22a3bd,''):K('Search\x20failed',_0x22a3bd,'');}},en={'getStatus'(_0x432da1,_0x4b3e6b){const _0x3a7831={_0x16b52c:0x411,_0x51ac34:0x44c,_0x4d29fe:0x1f5,_0x522c36:0x27,_0x142abd:0xad,_0x56f087:0x1f,_0x44848f:0x256},_0x3f5c63={_0x2836e4:0x14f,_0xd4c2ce:0x445},_0x5cde36={_0x104035:0x199};function _0x23530a(_0x5e2648,_0x1a2f4a,_0x36b431,_0x4966b9){return _0x5318c5(_0x5e2648-_0x5cde36._0x104035,_0x4966b9,_0x36b431-0x6a,_0x5e2648-0x22);}function _0x306c06(_0x3762dc,_0x2327be,_0x17b396,_0x3ce7f7){return _0x5318c5(_0x3762dc-0x29,_0x2327be,_0x17b396-_0x3f5c63._0x2836e4,_0x3762dc-_0x3f5c63._0xd4c2ce);}let {statusColor:_0x2965be}=_0x4b3e6b,_0xda4ed1=_0x432da1[_0x23530a(_0x3a7831._0x16b52c,_0x3a7831._0x51ac34,0x1f5,0x29f)]===_0x23530a(_0x3a7831._0x4d29fe,0xb1,-_0x3a7831._0x522c36,_0x3a7831._0x142abd);return!_0xda4ed1&&ve(_0x432da1)?K(_0x23530a(0x13a,-_0x3a7831._0x56f087,0xa5,_0x3a7831._0x44848f),_0x2965be,''):K(_0xda4ed1?'Completed':'Failed',_0x2965be,'');}},Wu={'assign_task':ko,'file_edit':Lo,'file_read':Do,'file_new':Bo,'bash_tool':_o,'web_fetch':Fo,'web_search':No,'todo_write':Oo,'ls_tool':$o};function zu(_0x5385c1){const _0x5bf47d={_0x4411a8:0x4d5,_0x553ffa:0x445,_0x448135:0x66a,_0xcb97e1:0x546,_0x3911f2:0x27e,_0x1b46ea:0x72a,_0x2a45bf:0x7a5,_0x2be4e8:0x73f,_0xe6b755:0x8ad,_0x3cb6eb:0x786,_0x1a2c6d:0x582,_0xcc3a77:0x71f,_0x27df81:0x881,_0x536af5:0x404,_0x53c731:0x3cb,_0x1dde9e:0x724,_0x5480ad:0x5f9,_0x5a1c4f:0x60d,_0x2d3c7f:0x674,_0x31b714:0x84c,_0x170b72:0x3d0,_0x340cd1:0x723,_0x5c3487:0x65a,_0x503786:0x5d8,_0x24df07:0x712,_0x4d5e4e:0x385,_0xa3010:0x4b6,_0x1f7244:0x459,_0x144f5c:0x593,_0xc77e81:0x5b9,_0x2342c4:0x659,_0x2049c7:0x46f,_0x4e245b:0x5fa},_0x7e6992={_0x33f09b:0x166,_0x214ab9:0x3dc},_0x3103a6={_0x3dce72:0x112,_0x288de9:0x457};function _0x2d57c9(_0x2f6ff9,_0x1d62fa,_0x56aba2,_0x5bbc78){return _0x5318c5(_0x2f6ff9-_0x3103a6._0x3dce72,_0x5bbc78,_0x56aba2-0x60,_0x2f6ff9-_0x3103a6._0x288de9);}if(!_0x5385c1)return'';function _0x3a0398(_0x201610,_0x26d190,_0x2f8f5c,_0x321f15){return _0x5318c5(_0x201610-_0x7e6992._0x33f09b,_0x26d190,_0x2f8f5c-0x17d,_0x201610-_0x7e6992._0x214ab9);}try{let _0x41b067=_0x5385c1['function']['arguments']?JSON[_0x2d57c9(_0x5bf47d._0x4411a8,0x674,0x4ea,0x4a5)](_0x5385c1[_0x2d57c9(_0x5bf47d._0x553ffa,_0x5bf47d._0x448135,_0x5bf47d._0xcb97e1,_0x5bf47d._0x3911f2)]['arguments']):{};return _0x41b067[_0x3a0398(0x6c4,_0x5bf47d._0x1b46ea,_0x5bf47d._0x2a45bf,0x6fe)]?_0x41b067[_0x2d57c9(_0x5bf47d._0x2be4e8,0x6b5,_0x5bf47d._0xe6b755,_0x5bf47d._0x3cb6eb)]:_0x41b067['path']?_0x41b067[_0x2d57c9(0x5d7,0x67c,0x432,0x430)]:_0x41b067['url']?_0x41b067['url']:_0x41b067[_0x2d57c9(0x720,_0x5bf47d._0x1a2c6d,0x8ad,0x56b)]?_0x41b067['query'][_0x2d57c9(_0x5bf47d._0xcc3a77,0x8a8,0x572,0x85d)](0x0,0x32)+(_0x41b067[_0x3a0398(0x6a5,0x6d8,_0x5bf47d._0x27df81,0x72b)][_0x2d57c9(0x5b9,_0x5bf47d._0x536af5,0x3ca,_0x5bf47d._0x53c731)]>0x32?_0x2d57c9(0x6d5,_0x5bf47d._0x1dde9e,0x909,0x756):''):_0x41b067['command']?_0x41b067[_0x3a0398(_0x5bf47d._0x5480ad,0x572,_0x5bf47d._0x5a1c4f,0x4be)]['substring'](0x0,0x32)+(_0x41b067[_0x2d57c9(_0x5bf47d._0x2d3c7f,0x4f0,_0x5bf47d._0x31b714,0x70f)][_0x2d57c9(0x5b9,_0x5bf47d._0x170b72,_0x5bf47d._0x340cd1,0x780)]>0x32?_0x3a0398(_0x5bf47d._0x5c3487,_0x5bf47d._0x503786,0x694,_0x5bf47d._0x24df07):''):_0x41b067[_0x3a0398(0x59c,0x4b9,_0x5bf47d._0x4d5e4e,0x6b4)]?_0x41b067[_0x2d57c9(0x617,_0x5bf47d._0xa3010,0x447,0x4bc)]['substring'](0x0,0x32)+(_0x41b067[_0x3a0398(0x59c,_0x5bf47d._0x1f7244,_0x5bf47d._0x144f5c,0x720)][_0x2d57c9(_0x5bf47d._0xc77e81,_0x5bf47d._0x2342c4,0x49f,_0x5bf47d._0x2049c7)]>0x32?_0x3a0398(_0x5bf47d._0x5c3487,_0x5bf47d._0x4e245b,0x7fd,0x5bc):''):'';}catch{return'';}}function tn(_0x471e17,_0x37e03a,_0x3c1bc8,_0x170d9f){const _0xb91425={_0x53d1ed:0x6d4,_0x290906:0x3b5,_0x54cdd6:0x879,_0x594f04:0x66e,_0x30460a:0x90b,_0x278530:0x444,_0x5ddffb:0x2d6,_0x106ba7:0x415,_0x3060f9:0x4fb,_0x17ad97:0x5a6,_0x5e92d5:0x5d3,_0xa05533:0x595,_0x3795ab:0x6ad,_0x522edd:0x5de,_0x50ba38:0x4e4,_0x192689:0x755,_0x2e806a:0x802},_0x2319d0={_0x3e96d0:0x426};let _0x11a073=_0x471e17[_0x317005(0x621,_0xb91425._0x53d1ed,0x5a2,_0xb91425._0x290906)]===_0x42bcec(_0xb91425._0x54cdd6,0x62a,_0xb91425._0x594f04,0x6d1)?_0x3c1bc8['status']['success']:_0x3c1bc8[_0x42bcec(0x9a4,0x6ea,_0xb91425._0x30460a,0x8ed)][_0x317005(0x2c7,0x4a9,0x415,_0xb91425._0x278530)],_0x2a89e2=zu(_0x37e03a),_0x2ffb09=_0x471e17['status']===_0x317005(0x529,_0xb91425._0x5ddffb,_0xb91425._0x106ba7,_0xb91425._0x3060f9)?_0x471e17[_0x317005(0x4d8,0x7a3,_0xb91425._0x17ad97,_0xb91425._0x5e92d5)]?.[_0x42bcec(0x657,0x5c6,_0xb91425._0xa05533,_0xb91425._0x3795ab)]:void 0x0,_0x6c4ff9=gi(_0x2ffb09,_0x3c1bc8,_0x2a89e2);if(_0x6c4ff9)return _0x6c4ff9;function _0x42bcec(_0x12a647,_0x10a309,_0x573b37,_0x5e2cc2){return _0x7f0a6b(_0x12a647-0x1c3,_0x5e2cc2-_0x2319d0._0x3e96d0,_0x12a647,_0x5e2cc2-0xbf);}let _0x4f3062=Wu[_0x471e17[_0x317005(_0xb91425._0x522edd,_0xb91425._0x50ba38,0x4de,0x5aa)]]??en,_0x585034={'toolCall':_0x37e03a,'theme':_0x3c1bc8,'statusColor':_0x11a073,'subAgentMetrics':_0x170d9f};function _0x317005(_0x594938,_0x1b213b,_0x1911e,_0x1c9907){return _0x7f0a6b(_0x594938-0x1b6,_0x1911e-0xdb,_0x594938,_0x1c9907-0x49);}return{..._0x4f3062[_0x42bcec(_0xb91425._0x192689,0x9a1,0x627,_0xb91425._0x2e806a)](_0x471e17,_0x585034),'paramText':_0x2a89e2};}import{Box as _0x1a9312}from'ink';import{jsx as _0x4f22f9}from'react/jsx-runtime';var Ke=({statusColor:_0x461f49,children:_0x330f0c})=>{const _0x4ca172={_0x4c824c:0x61a,_0x48b7cd:0xd3,_0x3ddae5:0x1c,_0x1414ec:0x9f,_0x1fdabd:0x159},_0x34334f={_0x47fcdb:0x38,_0x3ccec2:0x1e9},_0x4407a2={_0x3a2b2d:0x30a};function _0x40c1ee(_0x39b835,_0x2c31c9,_0x1f44d9,_0x14fdbc){return _0x7f0a6b(_0x39b835-0x191,_0x1f44d9- -_0x4407a2._0x3a2b2d,_0x2c31c9,_0x14fdbc-0x53);}function _0x553c1c(_0x556a69,_0x1825b6,_0x19705d,_0x5c857a){return _0x5318c5(_0x556a69-_0x34334f._0x47fcdb,_0x19705d,_0x19705d-_0x34334f._0x3ccec2,_0x1825b6-0x22e);}let {cols:_0x59f7a3}=te();return _0x330f0c?_0x4f22f9(_0x1a9312,{'flexDirection':_0x553c1c(_0x4ca172._0x4c824c,0x569,0x60a,0x774),'marginLeft':0x2,'borderStyle':_0x40c1ee(0x93,_0x4ca172._0x48b7cd,0x26,0xdc),'borderDimColor':!0x0,'borderColor':_0x461f49,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x59f7a3-be[_0x40c1ee(_0x4ca172._0x3ddae5,_0x4ca172._0x1414ec,-_0x4ca172._0x1fdabd,-0x341)],'children':_0x330f0c}):null;};import{Text as _0x2f3af4}from'ink';import{jsx as _0x17ea0a}from'react/jsx-runtime';var Xu=[_0x5318c5(0x7c,0x1d3,0x5b,0x6d),_0x7f0a6b(0x3bb,0x4df,0x4e2,0x438),_0x7f0a6b(-0x83,0xf8,0x168,0xb6)],jt=({args:_0xf50a82,statusColor:_0x162990,formatValue:_0x41edf7})=>{const _0x51191b={_0xee032c:0x4d2},_0x175a17={_0x6bb364:0x1f2,_0x4bbb9d:0x3c0};function _0x2efba1(_0x45cab8,_0x931fdf,_0x29b05a,_0x4de9b2){return _0x5318c5(_0x45cab8-0x145,_0x931fdf,_0x29b05a-_0x175a17._0x6bb364,_0x29b05a-_0x175a17._0x4bbb9d);}let _0x18dc05=Object['entries'](_0xf50a82)[_0x2efba1(0x461,0x5ee,0x4df,_0x51191b._0xee032c)](([_0x41e2c2])=>!Xu['includes'](_0x41e2c2));return _0x18dc05['length']===0x0?null:_0x17ea0a(Ke,{'statusColor':_0x162990,'children':_0x18dc05['map'](([_0x557877,_0x3d7975])=>_0x17ea0a(_0x2f3af4,{'dimColor':!0x0,'children':_0x557877+':\x20'+_0x41edf7(_0x3d7975)},_0x557877))});};import{Text as _0x3899b7}from'ink';import{jsx as _0xeaa828}from'react/jsx-runtime';var Zu=[_0x7f0a6b(0x2b1,0x148,0x243,0xd7),_0x5318c5(-0x1d9,-0x1f1,0x16c,0x20)],Vt=({args:_0x28abcf,statusColor:_0x3f7b99,formatValue:_0x3f893c})=>{const _0x4806b2={_0x3b5d70:0x488,_0x15960c:0x25d,_0x27524a:0x2a1,_0x5cd682:0xf4,_0x277c56:0x34,_0x188253:0x1d6,_0x579acc:0x3d0,_0x1bf8dc:0x511,_0x218ce7:0x27a,_0x25b413:0x664},_0x50a5c={_0xbc8408:0x2,_0x40cfdc:0x1c3},_0x12c9b1={_0x4e00b6:0xf5,_0x3b3814:0x196};let _0x1c1245=Object[_0x32f8d5(_0x4806b2._0x3b5d70,0x2a1,_0x4806b2._0x15960c,_0x4806b2._0x27524a)](_0x28abcf)[_0x32f8d5(_0x4806b2._0x5cd682,_0x4806b2._0x277c56,-0x1af,-_0x4806b2._0x188253)](([_0x326923])=>!Zu['includes'](_0x326923));function _0x59901c(_0x2459ea,_0x1606ff,_0x858092,_0x440193){return _0x7f0a6b(_0x2459ea-_0x12c9b1._0x4e00b6,_0x2459ea-_0x12c9b1._0x3b3814,_0x1606ff,_0x440193-0x40);}function _0x32f8d5(_0x26b269,_0x1391ec,_0x348fa3,_0x249b17){return _0x7f0a6b(_0x26b269-_0x50a5c._0xbc8408,_0x1391ec- -_0x50a5c._0x40cfdc,_0x348fa3,_0x249b17-0x194);}return _0x1c1245[_0x59901c(_0x4806b2._0x579acc,_0x4806b2._0x1bf8dc,_0x4806b2._0x218ce7,0x1b1)]===0x0?null:_0xeaa828(Ke,{'statusColor':_0x3f7b99,'children':_0x1c1245[_0x59901c(0x4a4,0x5ae,_0x4806b2._0x25b413,0x416)](([_0x1f2ebc,_0xa6569])=>_0xeaa828(_0x3899b7,{'dimColor':!0x0,'children':_0x1f2ebc+':\x20'+_0x3f893c(_0xa6569)},_0x1f2ebc))});};import{Text as _0x5fe760}from'ink';import{jsx as _0x24a041}from'react/jsx-runtime';var Te=({args:_0x425c88,statusColor:_0x2ea005,formatValue:_0x418b66})=>{const _0x818018={_0x4fe4af:0x8b9,_0x57de19:0x8b7,_0x1947f8:0x74f,_0x12ad53:0x68d,_0x1ff13c:0x92d,_0x5ddba4:0x994},_0xa17185={_0x59489a:0x453,_0xd0b287:0x1ba};let _0x59c2e7=Object[_0x1c82ea(_0x818018._0x4fe4af,_0x818018._0x57de19,_0x818018._0x1947f8,0x8a7)](_0x425c88)['filter'](([_0x158dcc])=>_0x158dcc!=='description');function _0x3ef625(_0x2c7267,_0x25810b,_0x3f74b9,_0x20f601){return _0x5318c5(_0x2c7267-0x157,_0x25810b,_0x3f74b9-0x164,_0x3f74b9-0x55b);}function _0x1c82ea(_0x7c6e9b,_0x3f9e57,_0x3b78de,_0x42e090){return _0x7f0a6b(_0x7c6e9b-0x1a3,_0x3f9e57-_0xa17185._0x59489a,_0x3b78de,_0x42e090-_0xa17185._0xd0b287);}return _0x59c2e7[_0x1c82ea(0x836,_0x818018._0x12ad53,0x6c6,0x7c3)]===0x0?null:_0x24a041(Ke,{'statusColor':_0x2ea005,'children':_0x59c2e7[_0x1c82ea(_0x818018._0x1ff13c,0x761,_0x818018._0x5ddba4,0x5d6)](([_0x327120,_0x161026])=>_0x24a041(_0x5fe760,{'dimColor':!0x0,'children':_0x327120+':\x20'+_0x418b66(_0x161026)},_0x327120))});};import{Text as _0x938ecb}from'ink';import{jsx as _0x3b2834}from'react/jsx-runtime';var Wt=({args:_0x2e842a,statusColor:_0x15516d,formatValue:_0x320bc9})=>{const _0x3f603f={_0x8befa8:0x466,_0x4863ae:0x2d3,_0x13cd5e:0x223,_0x738ae7:0x1c3,_0x51dc1e:0x66,_0x47cc06:0x594,_0x219a69:0x685,_0x520040:0x63b,_0x12180d:0x61b,_0x4df37a:0x70f},_0x1d36a5={_0x340b91:0x401},_0x3eb010={_0x181c75:0x19e};function _0x2716e3(_0x3792b5,_0x1d422b,_0x84944e,_0x2c869d){return _0x7f0a6b(_0x3792b5-_0x3eb010._0x181c75,_0x2c869d- -0x191,_0x3792b5,_0x2c869d-0x2);}function _0x34e1d6(_0x355c7c,_0x10ad22,_0x34f330,_0x16fb38){return _0x7f0a6b(_0x355c7c-0x17a,_0x16fb38-_0x1d36a5._0x340b91,_0x355c7c,_0x16fb38-0x39);}let _0x2ca403=Object[_0x2716e3(_0x3f603f._0x8befa8,0x11d,0x4f9,_0x3f603f._0x4863ae)](_0x2e842a)[_0x2716e3(_0x3f603f._0x13cd5e,0x40,-_0x3f603f._0x738ae7,_0x3f603f._0x51dc1e)](([_0x1d9d5b])=>_0x1d9d5b!=='description');return _0x2ca403[_0x34e1d6(0x64a,_0x3f603f._0x47cc06,_0x3f603f._0x219a69,_0x3f603f._0x520040)]===0x0?null:_0x3b2834(Ke,{'statusColor':_0x15516d,'children':_0x2ca403[_0x34e1d6(0x714,_0x3f603f._0x12180d,0x515,_0x3f603f._0x4df37a)](([_0x6b1153,_0x56e554])=>_0x3b2834(_0x938ecb,{'dimColor':!0x0,'children':_0x6b1153+':\x20'+_0x320bc9(_0x56e554)},_0x6b1153))});},Ti={'file_read':{'displayName':_0x7f0a6b(0x295,0x11f,0x11c,0x87),'statusStrategy':Do,'paramRenderer':Te,'collapsedByDefault':!0x0},'file_edit':{'displayName':'Edit\x20file','statusStrategy':Lo,'paramRenderer':jt,'collapsedByDefault':!0x1},'file_new':{'displayName':_0x7f0a6b(0xb9,0x260,0x2f0,0x37d),'statusStrategy':Bo,'paramRenderer':Vt,'collapsedByDefault':!0x0},'bash_tool':{'displayName':_0x7f0a6b(0x205,0x436,0x54b,0x2f0),'statusStrategy':_o,'paramRenderer':Te,'collapsedByDefault':!0x1},'web_search':{'displayName':_0x7f0a6b(0x4c6,0x367,0x3cb,0x4ec),'statusStrategy':No,'paramRenderer':Te,'collapsedByDefault':!0x1},'web_fetch':{'displayName':_0x7f0a6b(0x4a9,0x32d,0x3d8,0x1cb),'statusStrategy':Fo,'paramRenderer':Te,'collapsedByDefault':!0x1},'ls_tool':{'displayName':'List\x20directory','statusStrategy':$o,'paramRenderer':Te,'collapsedByDefault':!0x0},'glob_tool':{'displayName':_0x7f0a6b(0xdf,0x213,0x35d,0x28a),'statusStrategy':hi,'paramRenderer':Te,'collapsedByDefault':!0x1},'grep_tool':{'displayName':_0x5318c5(0xc3,0x27c,-0x15,0x133),'statusStrategy':yi,'paramRenderer':Te,'collapsedByDefault':!0x1},'todo_write':{'displayName':_0x7f0a6b(0x267,0x23b,0x122,0x40a),'statusStrategy':Oo,'paramRenderer':null,'collapsedByDefault':!0x1},'assign_task':{'displayName':_0x5318c5(-0x138,-0xbe,0x9,0xd6),'statusStrategy':ko,'paramRenderer':Wt,'collapsedByDefault':!0x0}};function wi(_0x5da16e){const _0x387087={_0x8a053a:0x233,_0xc879fa:0x2e4},_0x3e0907={_0x4322bb:0x183,_0xa24633:0xf9};function _0x4f08b9(_0x6b0a3f,_0x116333,_0x575aa1,_0x25fe34){return _0x5318c5(_0x6b0a3f-0x1d1,_0x575aa1,_0x575aa1-_0x3e0907._0x4322bb,_0x6b0a3f-_0x3e0907._0xa24633);}return Ti[_0x5da16e]?.[_0x4f08b9(_0x387087._0x8a053a,_0x387087._0xc879fa,0x2d2,0x177)]||_0x5da16e;}function Si(_0x34f971){const _0x13a21b={_0x59f9f8:0x4dc,_0x115a62:0x4e8},_0x14366b={_0x47438f:0x17b,_0x4cd9fb:0x6f,_0x25b746:0x19d};function _0x129d69(_0x12a8ba,_0x2cae5a,_0x14074f,_0x8accf8){return _0x5318c5(_0x12a8ba-_0x14366b._0x47438f,_0x14074f,_0x14074f-_0x14366b._0x4cd9fb,_0x12a8ba-_0x14366b._0x25b746);}return Ti[_0x34f971]?.[_0x129d69(0x5b4,0x617,_0x13a21b._0x59f9f8,_0x13a21b._0x115a62)]??!0x1;}import{jsx as _0x12ab6c,jsxs as _0x41d540}from'react/jsx-runtime';var Gt=({toolResult:_0x9b44f6,toolCall:_0x583815,messageId:_0xd256f5,messageContent:_0x3973d7,messageColor:_0x1f9ac9,fullMode:_0x42c265=!0x1,subAgentMetrics:_0x591942})=>{const _0x76ceac={_0x131e8b:0x2e8,_0x3273e2:0x32d,_0x1caaa9:0x236,_0x1aa70c:0x26f,_0x54250a:0x2f2,_0x3e3f66:0x209,_0x2cd72a:0x2b0,_0xea2e28:0x3cd,_0x252740:0x4dd,_0x325a24:0x38a,_0x45c04c:0x42a,_0x9e9496:0x4d0,_0x153442:0x560,_0x3f2895:0x3d2,_0x17f567:0x29e,_0x3b3106:0x1ac,_0x5c240e:0x2f6,_0x4eb871:0x459,_0x1a35a3:0x3d2,_0x475e07:0x251,_0x30b118:0x32d,_0x3639fb:0x17d,_0x179d26:0x2f6,_0x5d3777:0x510,_0x49dad6:0x400,_0x2fb163:0x4a4,_0x40f3db:0x310,_0x29760a:0x2b0,_0x35f4bf:0x3eb,_0x181d7b:0x400,_0x3cc90e:0x518,_0x4a38d4:0x1d1,_0x43cb0f:0x18f,_0x30e6b0:0x2b1,_0x132049:0x53,_0x32dab2:0x4d,_0x167170:0x15b,_0x17a721:0x167,_0x390179:0x33b,_0x5b419e:0xb3,_0x38a2ae:0x32a,_0x41cbd1:0x22c,_0x3468d0:0x18f,_0x515efa:0x156},_0x22a611={_0x472ef9:0x11c,_0x56c4d4:0xf8},_0x226fd5={_0x23615d:0x43e,_0x4e362e:0x539,_0x2a6bd6:0x450,_0x4f84e5:0x39b,_0x236cdf:0x214,_0x219dbf:0x271,_0x331a25:0x42b,_0x3863af:0x472,_0x3b4ca9:0x3fc,_0x128907:0x396,_0x57ec84:0x273,_0x1a2580:0x3a6,_0xb18c24:0x508,_0x1f6394:0x5f6,_0x5b3a63:0x2c7,_0x4a3af9:0x229,_0x36d16f:0x2b0,_0x50aff1:0x3ea,_0x8805c5:0x488,_0x10e54e:0x2f1,_0x3b14c3:0x1ed,_0x3e6d1c:0x425},_0x41fb6d={_0x3bcacf:0x1c4,_0x9d4da9:0x4d},_0x321c2a={_0x425278:0x1cb};function _0x90e07(_0x1c62a1,_0x547d82,_0x12bf96,_0x2e6246){return _0x7f0a6b(_0x1c62a1-0x195,_0x547d82- -0x13,_0x2e6246,_0x2e6246-_0x321c2a._0x425278);}let {theme:_0x753945}=F(),{cols:_0x4be3cd}=te(),_0x5a6055=Kt(_0x9b44f6[_0x90e07(0x43c,_0x76ceac._0x131e8b,0x30e,0xef)]),{text:_0xfdd3d0,color:_0x1e76be,statusPosition:_0x18ea9e=_0x90e07(0x2be,_0x76ceac._0x3273e2,0x453,_0x76ceac._0x1caaa9)}=tn(_0x9b44f6,_0x583815,_0x753945,_0x591942),_0x1c272f=((()=>{const _0x967b7a={_0x5ae1cb:0x1f,_0x41e2d3:0x10d};function _0x30567b(_0x2aec42,_0x4bff3f,_0x183ffd,_0x42bb37){return _0x4f9919(_0x4bff3f-0x30c,_0x4bff3f-_0x967b7a._0x5ae1cb,_0x2aec42,_0x42bb37-_0x967b7a._0x41e2d3);}function _0xf22c69(_0x127689,_0x4dc36a,_0x3b3b9c,_0x1ccc36){return _0x4f9919(_0x1ccc36-0x1e1,_0x4dc36a-_0x41fb6d._0x3bcacf,_0x3b3b9c,_0x1ccc36-_0x41fb6d._0x9d4da9);}switch(_0x9b44f6[_0xf22c69(_0x226fd5._0x23615d,0x646,_0x226fd5._0x4e362e,_0x226fd5._0x2a6bd6)]){case'assign_task':{if(_0xe4d298(_0x9b44f6)){let _0xe90bb6=_0x9b44f6[_0xf22c69(0x4ad,_0x226fd5._0x4f84e5,_0x226fd5._0x236cdf,0x3ea)][_0x30567b(_0x226fd5._0x219dbf,0x49e,_0x226fd5._0x331a25,0x57f)](/\\n/g,'\x0a');return _0x12ab6c(lt,{'maxWidth':_0x4be3cd-be['MARKDOWN_MARGIN'],'children':_0xe90bb6});}let _0x498c6e=_0x9b44f6[_0xf22c69(_0x226fd5._0x3863af,_0x226fd5._0x3b4ca9,_0x226fd5._0x128907,_0x226fd5._0x57ec84)]===_0x30567b(0x687,0x533,_0x226fd5._0x1a2580,0x31e)?_0x9b44f6[_0xf22c69(_0x226fd5._0xb18c24,_0x226fd5._0x1f6394,_0x226fd5._0x5b3a63,0x3ea)]:JSON['stringify'](_0x9b44f6[_0xf22c69(_0x226fd5._0x4a3af9,0x53e,_0x226fd5._0x36d16f,_0x226fd5._0x50aff1)],null,0x2);return _0x12ab6c(lt,{'maxWidth':_0x4be3cd-be['MARKDOWN_MARGIN'],'children':_0x498c6e});}case _0x30567b(0x65b,0x55d,_0x226fd5._0x8805c5,0x410):return _0x12ab6c(Qs,{'toolResult':_0x9b44f6,'messageId':_0xd256f5,'fullMode':_0x42c265});case'file_edit':return _0x12ab6c(ti,{'toolResult':_0x9b44f6,'toolCall':_0x583815,'messageId':_0xd256f5,'fullMode':_0x42c265});case _0xf22c69(_0x226fd5._0x10e54e,0x359,_0x226fd5._0x3b14c3,_0x226fd5._0x3e6d1c):return _0x12ab6c(ri,{'toolResult':_0x9b44f6,'messageId':_0xd256f5,'messageContent':_0x3973d7,'messageColor':_0x1f9ac9,'fullMode':_0x42c265,'cols':_0x4be3cd});case'file_new':return _0x12ab6c(ii,{'toolResult':_0x9b44f6,'toolCall':_0x583815,'messageId':_0xd256f5,'messageContent':_0x3973d7,'messageColor':_0x1f9ac9,'fullMode':_0x42c265,'cols':_0x4be3cd});case'bash_tool':return _0x12ab6c(ai,{'toolResult':_0x9b44f6,'messageId':_0xd256f5,'messageContent':_0x3973d7,'messageColor':_0x1f9ac9,'fullMode':_0x42c265,'cols':_0x4be3cd});default:return _0x12ab6c(li,{'toolResult':_0x9b44f6,'messageId':_0xd256f5,'messageContent':_0x3973d7,'messageColor':_0x1f9ac9,'fullMode':_0x42c265,'cols':_0x4be3cd});}})()),_0x52806e=Si(_0x9b44f6[_0x4f9919(_0x76ceac._0x1aa70c,0x461,_0x76ceac._0x54250a,0x1ec)]),_0x4c8c45=_0x9b44f6[_0x4f9919(_0x76ceac._0x3e3f66,_0x76ceac._0x2cd72a,_0x76ceac._0xea2e28,0x15f)]!=null&&_0x9b44f6[_0x90e07(_0x76ceac._0x252740,_0x76ceac._0x325a24,0x249,0x1a5)]!=='',_0x3918bd=_0x9b44f6[_0x90e07(0x4e0,0x3f0,_0x76ceac._0x45c04c,_0x76ceac._0x9e9496)]===_0x90e07(_0x76ceac._0x153442,_0x76ceac._0x3f2895,0x42a,_0x76ceac._0x17f567),_0x32c878=_0x4c8c45||_0x3918bd,_0x353512=(_0x4c8c45||_0x3918bd)&&(!_0x52806e||_0x42c265),_0x107cd4=!_0x52806e||_0x42c265,_0x4e3575=_0x32c878&&_0x18ea9e===_0x4f9919(_0x76ceac._0x3b3106,_0x76ceac._0x5c240e,0x398,0x2ed),_0x2eb883=_0x32c878&&_0x18ea9e===_0x90e07(0x5d2,_0x76ceac._0x4eb871,_0x76ceac._0x1a35a3,0x682),_0x3d8cb2=_0x107cd4&&_0x18ea9e===_0x90e07(_0x76ceac._0x475e07,_0x76ceac._0x30b118,_0x76ceac._0x3639fb,_0x76ceac._0x179d26);function _0x4f9919(_0x58bbeb,_0x449db5,_0x50961a,_0x31473d){return _0x7f0a6b(_0x58bbeb-_0x22a611._0x472ef9,_0x58bbeb- -0x194,_0x50961a,_0x31473d-_0x22a611._0x56c4d4);}return _0x41d540(_0x339d3c,{'marginLeft':0x2,'flexDirection':_0x90e07(_0x76ceac._0x5d3777,_0x76ceac._0x49dad6,0x5f2,0x3cf),'children':[_0x4e3575&&_0x12ab6c(_0x339d3c,{'flexDirection':_0x90e07(_0x76ceac._0x2fb163,_0x76ceac._0x40f3db,0x1e1,0x287),'children':_0x12ab6c(_0x8513cf,{'dimColor':!0x0,'color':_0x1e76be,'children':(_0x353512||_0x3d8cb2?'├─':'└─')+'\x20'+_0xfdd3d0})}),_0x353512&&_0x12ab6c(_0x339d3c,{'borderStyle':_0x90e07(_0x76ceac._0x29760a,0x31d,_0x76ceac._0x1a35a3,_0x76ceac._0x35f4bf),'borderColor':_0x1e76be,'borderDimColor':!0x0,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'flexDirection':_0x90e07(0x326,_0x76ceac._0x181d7b,_0x76ceac._0x3cc90e,_0x76ceac._0x4a38d4),'paddingLeft':0x2,'width':_0x4be3cd-0xa,'children':_0x1c272f}),_0x3d8cb2&&_0x12ab6c(_0x339d3c,{'flexDirection':_0x4f9919(_0x76ceac._0x43cb0f,_0x76ceac._0x30e6b0,0xe2,-0x94),'children':_0x12ab6c(_0x8513cf,{'dimColor':!0x0,'color':_0x1e76be,'children':_0x4f9919(_0x76ceac._0x132049,-_0x76ceac._0x32dab2,0x166,-_0x76ceac._0x167170)+(_0x5a6055&&(_0x9b44f6[_0x4f9919(_0x76ceac._0x17a721,_0x76ceac._0x390179,0x18a,-_0x76ceac._0x5b419e)]??0x0)>0x3e8?_0x90e07(0x13c,0x248,_0x76ceac._0x38a2ae,_0x76ceac._0x41cbd1)+_0x5a6055:'')})}),_0x2eb883&&_0x12ab6c(_0x339d3c,{'flexDirection':_0x4f9919(_0x76ceac._0x3468d0,0x70,0x349,0x326),'children':_0x12ab6c(_0x8513cf,{'dimColor':!0x0,'color':_0x1e76be,'children':_0x4f9919(0x87,0x7e,-_0x76ceac._0x515efa,0x265)+_0xfdd3d0})})]});};import{Box as _0x8ed5a5,Text as _0x23173e}from'ink';import{parseToolArguments as _0x1fd8a1}from'@nuvin/nuvin-core';import{useState as _0x4faea0,useEffect as _0x2a33c7}from'react';import{Text as _0x580520}from'ink';import{jsx as _0x2cc4cb}from'react/jsx-runtime';var Uo=({hasResult:_0x2e172c,finalDuration:_0xb42577})=>{let [_0x3fa7f3,_0x22eff6]=_0x4faea0(0x0);_0x2a33c7(()=>{function _0x63cb37(_0x27ce04,_0x5eed5b,_0x5b79ad,_0x82801a){return _0xa481(_0x5eed5b-0x3ca,_0x27ce04);}if(_0x2e172c)return;let _0x56a86c=Date[_0x63cb37(0x4be,0x56b,0x72e,0x4e8)](),_0x201ad3=setInterval(()=>{_0x22eff6(Date['now']()-_0x56a86c);},0x3e8);return()=>clearInterval(_0x201ad3);},[_0x2e172c]);let _0x485945=Math['floor']((_0x2e172c&&_0xb42577!==void 0x0?_0xb42577:_0x3fa7f3)/0x3e8);return _0x3fa7f3>0x0?_0x2cc4cb(_0x580520,{'dimColor':!0x0,'children':di(_0x485945)}):null;};import{useEffect as _0x17d823,useMemo as _0x470bae,useState as _0x204477}from'react';import{Text as _0x135794,Box as _0x1ca88d}from'ink';import _0x4c2e7b from'chalk';import{jsx as _0x4df8c9}from'react/jsx-runtime';var dd=0.5,md=0x3,pd=1.2,Ho='#ffffff',Pi=({text:_0x45a263,speedMs:_0x201ad8=0xa0,span:_0x31396d=0x2,stops:_0x5c50ba=['#FF5F6D','#f28715',_0x7f0a6b(0x161,0x297,0x324,0x236)],disabled:_0x272af7=!0x1})=>{const _0x428925={_0x4e98f5:0x285,_0x1bb32c:0x267,_0xd8c184:0xf6,_0x500b1e:0x29c,_0x23ce9f:0x22c,_0x419e41:0x1ad,_0x3cb40f:0x287},_0x5a10e4={_0x440c31:0x358,_0x281b8f:0x4de,_0x341bb1:0x2b3,_0x31979c:0x8fe},_0x2a7a27={_0x16ed2c:0x25a,_0x4131e5:0x23},_0x4980ea={_0x438d92:0x175,_0x2ba44b:0x8f};let _0x5b65c7=_0x470bae(()=>[..._0x45a263],[_0x45a263]),[_0x259e3f,_0x22f2fa]=_0x204477(0x0),_0x2fc263=_0x470bae(()=>fd(_0x5c50ba,_0x5b65c7[_0x56ed29(0x1b3,0xf2,-0x5d,0x28e)]),[_0x5c50ba,_0x5b65c7[_0x56ed29(0x1b3,_0x428925._0x4e98f5,_0x428925._0x1bb32c,_0x428925._0xd8c184)]]);function _0x56ed29(_0x15283e,_0x1c321a,_0xe5cff6,_0x3cf68a){return _0x5318c5(_0x15283e-_0x4980ea._0x438d92,_0xe5cff6,_0xe5cff6-_0x4980ea._0x2ba44b,_0x15283e-0x51);}function _0x3bdd92(_0x3a9269,_0x1a3f85,_0x2be96a,_0x7835f3){return _0x7f0a6b(_0x3a9269-0x126,_0x3a9269- -_0x2a7a27._0x16ed2c,_0x7835f3,_0x7835f3-_0x2a7a27._0x4131e5);}_0x17d823(()=>{const _0x5df564={_0x28dcf0:0x2e6};if(_0x272af7)return;let _0x23d24b=Date['now'](),_0x23a451=setInterval(()=>{const _0x215944={_0x3a9ef5:0x1f7};function _0x5ccdff(_0x57daa9,_0x35088f,_0x23b602,_0x20ba11){return _0xa481(_0x20ba11-_0x215944._0x3a9ef5,_0x23b602);}let _0x188833=Date['now']()-_0x23d24b;_0x22f2fa(_0x188833/_0x201ad8%_0x5b65c7[_0x5ccdff(_0x5df564._0x28dcf0,0x57c,0x381,0x4e5)]);},0x10);return()=>clearInterval(_0x23a451);},[_0x5b65c7['length'],_0x201ad8,_0x272af7]);let _0xf376d4=_0x470bae(()=>_0x5b65c7[_0x3bdd92(0xb4,-0x184,-0x181,-0x95)]((_0x32ecce,_0x575d9e)=>{const _0xecc549={_0x3f75c3:0x2c7},_0x5d0a94={_0x4854c0:0x14e,_0x369d49:0x144,_0x3c6217:0x1f3};function _0xb0da54(_0x4c04cf,_0x1b48fd,_0x33fdac,_0x551cb8){return _0x56ed29(_0x1b48fd-_0x5d0a94._0x4854c0,_0x1b48fd-_0x5d0a94._0x369d49,_0x33fdac,_0x551cb8-_0x5d0a94._0x3c6217);}function _0x1ce605(_0x2313a8,_0x2615b5,_0x17b7a1,_0x5ba920){return _0x56ed29(_0x2313a8-_0xecc549._0x3f75c3,_0x2615b5-0x150,_0x5ba920,_0x5ba920-0x1c3);}if(_0x272af7)return{'char':_0x32ecce,'style':_0x4c2e7b[_0xb0da54(_0x5a10e4._0x440c31,0x306,_0x5a10e4._0x281b8f,_0x5a10e4._0x341bb1)](_0x2fc263[_0x575d9e])(_0x32ecce)};let _0x3cae1b=xd(_0x575d9e,_0x259e3f,_0x5b65c7['length']),_0x4b884f=bd(_0x3cae1b,_0x31396d),_0x310128=_0x2fc263[_0x575d9e],_0x4b585f=hd(_0x310128,_0x4b884f*dd),_0xd66ab1=_0x4c2e7b['hex'](_0x4b585f),_0x46a01e=_0x4b884f>0.6?_0xd66ab1[_0x1ce605(0x6df,_0x5a10e4._0x31979c,0x666,0x8a8)](_0x32ecce):_0xd66ab1(_0x32ecce);return{'char':_0x32ecce,'style':_0x46a01e};}),[_0x5b65c7,_0x259e3f,_0x2fc263,_0x31396d,_0x272af7]);return _0x4df8c9(_0x1ca88d,{'flexDirection':_0x56ed29(_0x428925._0x500b1e,_0x428925._0x23ce9f,0x498,_0x428925._0x419e41),'children':_0xf376d4[_0x56ed29(_0x428925._0x3cb40f,0x80,0x11a,0x1a2)](_0x1f8226=>_0x4df8c9(_0x135794,{'children':_0x1f8226[_0x3bdd92(-0x3a,-0x6e,-0xb2,-0x1a3)]},_0x1f8226[_0x56ed29(0xad,-0xe4,0x299,0xab)]+'-'+_0x1f8226[_0x56ed29(0x199,0xf9,0x2ee,0x307)]))});};function fd(_0x2cb7be,_0x2cd13b){const _0x31f63d={_0xbc5dd7:0x11d,_0x4ae4b8:0xfb,_0x379bb1:0x6,_0x18a1be:0x32,_0x43b453:0x241,_0x404d32:0x2ae,_0x3b0a0e:0x1c4,_0x12995c:0xf5,_0x3418a8:0x151,_0x482eca:0x20f,_0x1bfaab:0x2b2},_0x12a45a={_0x4af6bc:0x37e,_0x76fb84:0x3ef,_0x2a98db:0x281,_0x5456ea:0x485,_0x3af873:0x563},_0x349083={_0x586dbd:0xaf,_0x11d4b9:0x1a7,_0x447cd1:0x106},_0x4db875={_0x590bd1:0x17d};if(_0x2cb7be[_0x43f35b(_0x31f63d._0xbc5dd7,-_0x31f63d._0x4ae4b8,0x171,-0xa4)]===0x0)return Array(Math[_0x43f35b(-_0x31f63d._0x379bb1,-0x27e,-0xad,-0x4e)](0x1,_0x2cd13b))[_0x43f35b(-_0x31f63d._0x18a1be,_0x31f63d._0x43b453,_0x31f63d._0x404d32,_0x31f63d._0x3b0a0e)](Ho);if(_0x2cd13b<=0x1)return[_0x2cb7be[_0x2cb7be[_0x43f35b(-0x100,_0x31f63d._0x12995c,_0x31f63d._0x3418a8,-0xa4)]-0x1]??Ho];function _0x43f35b(_0x1b52df,_0x22f2ca,_0x4bc246,_0x20e5c8){return _0x5318c5(_0x1b52df-0x14c,_0x4bc246,_0x4bc246-_0x4db875._0x590bd1,_0x20e5c8- -0x206);}let _0x29f77f=_0x2cb7be[_0x2de53d(_0x31f63d._0x482eca,_0x31f63d._0x1bfaab,0x11b,0x268)]-0x1;function _0x2de53d(_0xa31554,_0x2f38dc,_0x386563,_0x17efd2){return _0x5318c5(_0xa31554-_0x349083._0x586dbd,_0xa31554,_0x386563-_0x349083._0x11d4b9,_0x17efd2-_0x349083._0x447cd1);}return Array['from']({'length':_0x2cd13b},(_0x401a64,_0x223413)=>{const _0x30514b={_0xc042c5:0xe6,_0x2495e5:0x18b,_0x3ae5f4:0x38c},_0x65c583={_0x25a482:0x6f,_0x1ac47a:0x450};function _0x50e5e5(_0x327eb3,_0x30ae24,_0x1e31ae,_0xcf2077){return _0x43f35b(_0x327eb3-0x1de,_0x30ae24-_0x65c583._0x25a482,_0x327eb3,_0xcf2077-_0x65c583._0x1ac47a);}let _0x3f467d=_0x223413/(_0x2cd13b-0x1),_0x1b086e=Math[_0x50e5e5(_0x12a45a._0x4af6bc,_0x12a45a._0x76fb84,_0x12a45a._0x2a98db,_0x12a45a._0x5456ea)](_0x29f77f-0x1,Math[_0x50e5e5(_0x12a45a._0x3af873,0x447,0x4f0,0x4a1)](_0x3f467d*_0x29f77f)),_0x58a9b1=(_0x3f467d-_0x1b086e/_0x29f77f)*_0x29f77f;function _0xe43b48(_0x338310,_0x3bcb0b,_0x5ec6f1,_0x5e8245){return _0x43f35b(_0x338310-_0x30514b._0xc042c5,_0x3bcb0b-_0x30514b._0x2495e5,_0x3bcb0b,_0x5ec6f1-_0x30514b._0x3ae5f4);}return gd(_0x2cb7be[_0x1b086e],_0x2cb7be[_0x1b086e+0x1],yd(_0x58a9b1));});}function gd(_0x5a9126,_0x26d0cd,_0x231393){const _0x4a0547={_0x2903b1:0x625,_0x3ce26f:0x614,_0x24f0d4:0x4d0},_0x5e9dc7={_0x3676e0:0x1b0},_0x5ee7f1={_0x2feca0:0x51c};let _0x5f23e1=_0x5a9126||Ho,_0x21ff30=_0x26d0cd||Ho,[_0x57c7f1,_0x8fb513,_0x14411d]=nn(_0x5f23e1),[_0x53eb70,_0x153a75,_0x332a17]=nn(_0x21ff30),_0x21a9fd=Math[_0x8a8802(0x6e6,0x6d0,_0x4a0547._0x2903b1,_0x4a0547._0x3ce26f)](_0x57c7f1+(_0x53eb70-_0x57c7f1)*_0x231393),_0x2a0591=Math['round'](_0x8fb513+(_0x153a75-_0x8fb513)*_0x231393),_0x12300b=Math[_0x8a8802(0x6e6,0x6e1,_0x4a0547._0x24f0d4,0x503)](_0x14411d+(_0x332a17-_0x14411d)*_0x231393);function _0x8a8802(_0x29cb72,_0x5edfb8,_0x45f2b8,_0x392b33){return _0x5318c5(_0x29cb72-0x7d,_0x392b33,_0x45f2b8-0x38,_0x29cb72-_0x5ee7f1._0x2feca0);}function _0x4fc712(_0x2fc4f6,_0x45c3bc,_0x2d1818,_0x2a109f){return _0x7f0a6b(_0x2fc4f6-0x37,_0x2fc4f6-0x319,_0x45c3bc,_0x2a109f-_0x5e9dc7._0x3676e0);}return Ri(_0x21a9fd,_0x2a0591,_0x12300b);}function hd(_0x598963,_0x34b681){const _0xb6ed95={_0x2d115a:0x2e,_0xeb21f0:0x718,_0x3b142f:0x141},_0xc3b617={_0x5a53cb:0x180,_0x252ce2:0x2d0,_0x3e61d5:0x5e};function _0x3b8c02(_0x474b63,_0x1c3d64,_0x33f50f,_0x2eda45){return _0x7f0a6b(_0x474b63-0x165,_0x1c3d64-0x494,_0x2eda45,_0x2eda45-0x8c);}function _0x262268(_0x5aabfd,_0x44b6b0,_0x2980af,_0xc9cda9){return _0x7f0a6b(_0x5aabfd-_0xc3b617._0x5a53cb,_0x2980af- -_0xc3b617._0x252ce2,_0x5aabfd,_0xc9cda9-_0xc3b617._0x3e61d5);}let [_0x1d3997,_0x36959e,_0x2f3a6c]=nn(_0x598963),_0xa9a8aa=Math[_0x262268(-0x7d,-0x98,-_0xb6ed95._0x2d115a,0x113)](_0x1d3997+(0xff-_0x1d3997)*_0x34b681),_0x4ad07b=Math[_0x3b8c02(0x883,0x736,_0xb6ed95._0xeb21f0,0x649)](_0x36959e+(0xff-_0x36959e)*_0x34b681),_0x45a460=Math[_0x262268(0x154,0x1e7,-0x2e,_0xb6ed95._0x3b142f)](_0x2f3a6c+(0xff-_0x2f3a6c)*_0x34b681);return Ri(_0xa9a8aa,_0x4ad07b,_0x45a460);}function nn(_0x1aa3d9){const _0x5daf38={_0x3ea04f:0x669,_0x27987f:0x7d3,_0x3ba029:0x64e,_0x596c76:0x5f3,_0x5a3b70:0x13a,_0x2b3ec6:0x215,_0x3eab2b:0x2e,_0x92d641:0x1c2,_0x5b7d6e:0x413,_0x448599:0x319,_0x523489:0x490,_0xc417c3:0x3e2,_0x29dcb3:0x31a,_0xcd8ed9:0x164,_0x4354cc:0x4,_0x1ecdcf:0x147,_0x1464a0:0x173,_0x59ff76:0x17e,_0x11c658:0x65a,_0x1b700a:0x682,_0x75db11:0x695,_0x1c999c:0x477,_0x5a5bc8:0x42e,_0x35abc4:0x23f,_0x3023fe:0x658,_0x131693:0x59a,_0x31a6dc:0x38,_0x210006:0x4e,_0x137930:0xaa},_0x18ec22={_0x5327ab:0x121};if(!_0x1aa3d9||typeof _0x1aa3d9!=_0x4bce7d(0x668,_0x5daf38._0x3ea04f,_0x5daf38._0x27987f,_0x5daf38._0x3ba029))return console['warn'](_0x4bce7d(0x3e6,0x268,0x1fb,_0x5daf38._0x596c76)+_0x1aa3d9+_0x565afb(-0x38,-0xf,_0x5daf38._0x5a3b70,-_0x5daf38._0x2b3ec6)),[0xff,0xff,0xff];function _0x565afb(_0x1d2e87,_0x423881,_0x2759bf,_0x1f0aab){return _0x5318c5(_0x1d2e87-_0x18ec22._0x5327ab,_0x2759bf,_0x2759bf-0x23,_0x1d2e87- -0x168);}let _0x538396=_0x1aa3d9[_0x565afb(0xe6,-0x9f,-_0x5daf38._0x3eab2b,_0x5daf38._0x92d641)]('#','');if(_0x538396[_0x565afb(-0x6,-0xfa,-0x186,-0x121)]!==0x6)return console[_0x4bce7d(_0x5daf38._0x5b7d6e,_0x5daf38._0x448599,_0x5daf38._0x523489,_0x5daf38._0xc417c3)](_0x4bce7d(0x3e6,0x2c1,0x59d,_0x5daf38._0x29dcb3)+_0x1aa3d9+_0x565afb(-0x38,_0x5daf38._0xcd8ed9,0x1d5,-0x91)),[0xff,0xff,0xff];function _0x4bce7d(_0x5c8904,_0x538d23,_0x1f65e6,_0x477cdd){return _0x5318c5(_0x5c8904-0x193,_0x477cdd,_0x1f65e6-0x4d,_0x5c8904-0x313);}let _0x1c54c=parseInt(_0x538396[_0x565afb(_0x5daf38._0x4354cc,-_0x5daf38._0x1ecdcf,-_0x5daf38._0x1464a0,-_0x5daf38._0x59ff76)](0x0,0x2),0x10),_0x135608=parseInt(_0x538396[_0x4bce7d(0x47f,_0x5daf38._0x11c658,_0x5daf38._0x1b700a,0x4ea)](0x2,0x4),0x10),_0x1d89fe=parseInt(_0x538396[_0x4bce7d(0x47f,_0x5daf38._0x75db11,0x2a4,_0x5daf38._0x1c999c)](0x4,0x6),0x10);return Number[_0x4bce7d(_0x5daf38._0x5a5bc8,_0x5daf38._0x35abc4,0x4f8,0x323)](_0x1c54c)||Number[_0x4bce7d(_0x5daf38._0x5a5bc8,0x5f5,_0x5daf38._0x3023fe,_0x5daf38._0x131693)](_0x135608)||Number['isNaN'](_0x1d89fe)?(console['warn']('Invalid\x20hex\x20color:\x20'+_0x1aa3d9+_0x565afb(-_0x5daf38._0x31a6dc,-0x17b,_0x5daf38._0x210006,_0x5daf38._0x137930)),[0xff,0xff,0xff]):[_0x1c54c,_0x135608,_0x1d89fe];}function Ri(_0x12fd60,_0x568593,_0x4b7ae9){const _0x4fb086={_0x192625:0xce,_0x19ed9d:0x90},_0x23fa56={_0x1b862f:0x52,_0x3402cf:0x182};function _0x5159aa(_0x359192,_0x4306d1,_0x1f5ed2,_0x4df903){return _0x7f0a6b(_0x359192-_0x23fa56._0x1b862f,_0x1f5ed2- -0x235,_0x4df903,_0x4df903-_0x23fa56._0x3402cf);}function _0x1267fd(_0x2231a5,_0x34bea7,_0x49ffa0,_0x18ce23){return _0x7f0a6b(_0x2231a5-0x1c5,_0x2231a5-0x3b6,_0x18ce23,_0x18ce23-0x1e0);}return'#'+[_0x12fd60,_0x568593,_0x4b7ae9]['map'](_0x783c49=>Math[_0x1267fd(0x6c9,0x89a,0x812,0x6a9)](0xff,Math[_0x5159aa(0x5e,0x1b5,0x5b,-0x1a)](0x0,_0x783c49))[_0x5159aa(-0x133,-0x284,-0x106,-0xaf)](0x10)[_0x1267fd(0x452,0x4d5,0x37c,0x526)](0x2,'0'))[_0x5159aa(_0x4fb086._0x192625,_0x4fb086._0x19ed9d,-0x53,-0x260)]('');}function yd(_0x2c734f){const _0x525065={_0x37c087:0x320,_0x2029a7:0x206,_0x5a6613:0x543,_0x146566:0x3bb,_0x446104:0x208,_0x1eb116:0x24f},_0x302663={_0x4a6a40:0x124,_0x1ba35e:0xb8},_0x473b51={_0x5518cd:0x139,_0x1a4707:0xf8};function _0x553c3b(_0x2ae58b,_0x21d7af,_0x2fbd69,_0x2fb766){return _0x7f0a6b(_0x2ae58b-_0x473b51._0x5518cd,_0x21d7af- -0x23d,_0x2ae58b,_0x2fb766-_0x473b51._0x1a4707);}function _0x43a836(_0x3067ef,_0x4dc5ca,_0x3f5c54,_0x53b026){return _0x7f0a6b(_0x3067ef-_0x302663._0x4a6a40,_0x4dc5ca-0xa8,_0x3f5c54,_0x53b026-_0x302663._0x1ba35e);}return Math[_0x43a836(0x45c,0x338,_0x525065._0x37c087,_0x525065._0x2029a7)](0x0,Math[_0x43a836(_0x525065._0x5a6613,_0x525065._0x146566,_0x525065._0x446104,_0x525065._0x1eb116)](0x1,_0x2c734f));}function xd(_0x23fd68,_0x568544,_0x29d5f5){const _0x4fbeb9={_0x221e63:0x13a};function _0x4ddb27(_0x32fecc,_0x516d56,_0x3f91bc,_0x51b252){return _0x5318c5(_0x32fecc-_0x4fbeb9._0x221e63,_0x32fecc,_0x3f91bc-0xd0,_0x516d56-0x256);}let _0x41bd86=Math['abs'](_0x23fd68-_0x568544);return Math[_0x4ddb27(0x582,0x491,0x3f0,0x538)](_0x41bd86,_0x29d5f5-_0x41bd86);}function bd(_0x32b844,_0x4147b1){const _0x3b32e7={_0x2a8604:0x29a,_0x7bb21c:0x58f},_0x140901={_0x205059:0x2a8};let _0x398b97=Math[_0x56fc63(_0x3b32e7._0x2a8604,_0x3b32e7._0x7bb21c,0x460,0x530)](pd,_0x4147b1/md);function _0x56fc63(_0x231419,_0xf5eb09,_0x37b73b,_0xa827d7){return _0x5318c5(_0x231419-0x132,_0x231419,_0x37b73b-0x12,_0x37b73b-_0x140901._0x205059);}return Math['exp'](-(_0x32b844*_0x32b844)/(0x2*_0x398b97*_0x398b97));}import{jsx as _0x2b24f9,jsxs as _0x438817}from'react/jsx-runtime';var vd=(_0x147a76,_0x13d76d)=>{const _0x29ab1c={_0x3e376c:0x25e,_0x17bf6b:0x5ae,_0x40354b:0x3b0,_0x38ae94:0x1a5,_0x45f8a7:0x437,_0x5a4477:0x4f7,_0x26de32:0x4bb,_0x3d5e5c:0x435,_0x21fcbe:0x87,_0x5203f3:0x44,_0x838190:0x3cb,_0x5b929d:0x550,_0x2c1684:0x1d1,_0x2be47d:0x71e,_0x5da419:0x510,_0x2f0cee:0x320,_0x383628:0x6ab,_0x24b482:0x757,_0x506393:0x7f6,_0x57cedd:0x3c1,_0x325669:0x521,_0x404742:0x2af,_0x2d0356:0x73,_0x1046d2:0x28e,_0x2cbda6:0x223,_0x597d14:0x3cb,_0x512d38:0x539,_0xf2d2d8:0x50b,_0x51afec:0x1ec,_0x3e864b:0x365,_0x3decda:0x2ac,_0x4024f9:0x1b3,_0x148dec:0x678,_0x38143c:0x5dd,_0x36932a:0x7a7,_0x1e83b2:0x554,_0x3d8500:0x63e,_0x5a27e3:0x416,_0x11cf2d:0x240,_0xf0f3ab:0x1e2,_0x1e146e:0x2ee,_0x28f908:0x4ad,_0x198ec6:0xd4,_0x3c3323:0x54,_0x4d34fa:0x49e,_0x405ed2:0x55b,_0x5da0dc:0x4d7,_0x315853:0x21a,_0x5ddd8b:0x377,_0x1c22a5:0x624,_0x5adebf:0x659,_0xca3363:0x5c4,_0x642429:0x58c,_0x3e0376:0x21b,_0x250bcc:0xd4,_0x159cfb:0xc5,_0x4fb5a7:0x26e,_0x105d9e:0x5cc,_0x42d3e3:0x380,_0xd624a8:0x89,_0x48dd54:0xd6,_0x3ea3a2:0x87,_0xc6966d:0x148,_0x124b9e:0x6,_0x2c1c12:0x5d,_0x4825c3:0x121,_0x580ed6:0x473,_0x2fbae7:0x439,_0x16303b:0x907,_0x1fc657:0x2c0,_0x30a53:0x54e,_0x28b965:0x16,_0x304236:0x1e4,_0x276b97:0x350,_0x41d579:0x45a,_0x254587:0x3f2,_0x71d721:0x1e4,_0x4b957b:0x50a,_0x13ce8d:0x5c9,_0xb8c2a3:0x142,_0x2b7534:0xc4,_0x4996f9:0x34d,_0x5b4d57:0x2c5,_0x282357:0x16d,_0xfe4e37:0x69d,_0x4cfc81:0x468,_0x13341a:0x66f,_0x2ab089:0x6b9,_0x53c240:0x4ce,_0x50f821:0x144,_0x531978:0x328,_0x320db9:0x4af,_0x5a222c:0x44e,_0x400dc6:0x17,_0x1b44e2:0x249,_0x4c9c19:0x3c,_0x11bb1f:0xaf,_0x2c1626:0x2f,_0x258ad3:0xe5,_0x45e6ca:0x9c,_0x31db70:0x158,_0x20dacf:0x18d,_0x4de589:0x606,_0x231d3c:0x4f2,_0x27264d:0x4e8,_0x46a44b:0xef,_0x188f66:0x194,_0x27c106:0x126,_0x3543d5:0xa2,_0x136ebd:0x3f4,_0x388817:0x385,_0x5b874b:0x2d6,_0x2be2bc:0x343,_0x54a2c7:0x145,_0xb2592d:0xd5,_0x53b79c:0x146,_0x48b41a:0x4f2,_0x463621:0x125,_0x141af5:0x8f,_0x44730e:0x100,_0x4cf767:0x32c,_0x22b98c:0x221,_0x3944c6:0x6f7,_0x554f2a:0x613,_0x5b3b3a:0x555,_0x30b117:0x636,_0x3b3576:0x254,_0x541176:0x6c,_0x3062db:0x195,_0x44d7cb:0x2ae,_0x16af1c:0x57c,_0x402835:0x3ff,_0x317d22:0x2b7},_0x21ac35={_0x3f4f46:0x42},_0x107493={_0x461a10:0x1ef};function _0x561fa0(_0x3d3d69,_0x30183,_0x4c9516,_0x2bb5d4){return _0x7f0a6b(_0x3d3d69-_0x107493._0x461a10,_0x2bb5d4- -0x2dc,_0x30183,_0x2bb5d4-0x1d2);}if(_0x2dd74c(0x56b,0x3b0,_0x29ab1c._0x3e376c,0x4ed)in _0x13d76d&&_0x13d76d['description'])return _0x13d76d[_0x2dd74c(_0x29ab1c._0x17bf6b,_0x29ab1c._0x40354b,_0x29ab1c._0x38ae94,_0x29ab1c._0x45f8a7)];function _0x2dd74c(_0x51c245,_0x23e15c,_0x33fffd,_0x1b4b87){return _0x7f0a6b(_0x51c245-0x137,_0x23e15c-0x2b8,_0x51c245,_0x1b4b87-_0x21ac35._0x3f4f46);}switch(_0x147a76){case _0x2dd74c(_0x29ab1c._0x5a4477,_0x29ab1c._0x26de32,0x28c,_0x29ab1c._0x3d5e5c):if(_0x561fa0(0xdd,-_0x29ab1c._0x21fcbe,-0x132,-_0x29ab1c._0x5203f3)in _0x13d76d)return _0x13d76d[_0x2dd74c(_0x29ab1c._0x838190,_0x29ab1c._0x5b929d,0x67a,0x42a)];break;case _0x561fa0(_0x29ab1c._0x2c1684,-0xb8,0x2b,0xfc):if(_0x2dd74c(_0x29ab1c._0x2be47d,_0x29ab1c._0x5da419,0x459,0x6c3)in _0x13d76d){let _0xb45c7c=_0x13d76d[_0x2dd74c(0x3ce,0x510,0x385,0x542)];return _0x561fa0(-0x10d,-_0x29ab1c._0x2f0cee,-0x242,-0x1d3)in _0x13d76d&&_0x2dd74c(_0x29ab1c._0x383628,0x7b7,_0x29ab1c._0x24b482,_0x29ab1c._0x506393)in _0x13d76d&&_0x13d76d[_0x2dd74c(0x297,_0x29ab1c._0x57cedd,_0x29ab1c._0x325669,_0x29ab1c._0x404742)]&&_0x13d76d[_0x561fa0(_0x29ab1c._0x2d0356,_0x29ab1c._0x1046d2,0xb3,_0x29ab1c._0x2cbda6)]&&(_0xb45c7c+=_0x2dd74c(_0x29ab1c._0x597d14,0x37b,0x38d,0x257)+_0x13d76d[_0x2dd74c(_0x29ab1c._0x512d38,_0x29ab1c._0x57cedd,_0x29ab1c._0xf2d2d8,0x5c0)]+'-'+_0x13d76d['lineEnd']+')'),_0xb45c7c;}break;case'file_edit':case _0x561fa0(_0x29ab1c._0x51afec,_0x29ab1c._0x3e864b,_0x29ab1c._0x3decda,_0x29ab1c._0x4024f9):if(_0x2dd74c(0x6b5,_0x29ab1c._0x148dec,_0x29ab1c._0x38143c,_0x29ab1c._0x36932a)in _0x13d76d)return _0x13d76d[_0x2dd74c(0x597,0x678,_0x29ab1c._0x1e83b2,0x501)];break;case _0x2dd74c(_0x29ab1c._0x3d8500,0x62f,_0x29ab1c._0x5a27e3,0x4d1):if(_0x561fa0(-_0x29ab1c._0x11cf2d,-_0x29ab1c._0xf0f3ab,0xc1,-0x84)in _0x13d76d){let _0xe8afa8=_0x13d76d[_0x2dd74c(0x631,0x510,_0x29ab1c._0x1e146e,_0x29ab1c._0x28f908)]||'.';return'limit'in _0x13d76d&&_0x13d76d['limit']&&(_0xe8afa8+=_0x561fa0(_0x29ab1c._0x198ec6,-_0x29ab1c._0x3c3323,0x293,0x16f)+_0x13d76d[_0x2dd74c(_0x29ab1c._0x4d34fa,_0x29ab1c._0x405ed2,0x761,_0x29ab1c._0x5da0dc)]+')'),_0xe8afa8;}return'.';case _0x2dd74c(_0x29ab1c._0x315853,_0x29ab1c._0x5ddd8b,0x162,0x2fd):if(_0x2dd74c(_0x29ab1c._0x1c22a5,_0x29ab1c._0x5adebf,_0x29ab1c._0xca3363,_0x29ab1c._0x642429)in _0x13d76d){let _0x155697=_0x13d76d[_0x561fa0(_0x29ab1c._0x3e0376,0x26f,-_0x29ab1c._0x250bcc,_0x29ab1c._0x159cfb)];return _0x2dd74c(_0x29ab1c._0x4fb5a7,0x44c,_0x29ab1c._0x105d9e,_0x29ab1c._0x42d3e3)in _0x13d76d&&_0x13d76d[_0x561fa0(0xae,_0x29ab1c._0xd624a8,-0x2c1,-0x148)]&&(_0x155697+='\x20('+_0x13d76d[_0x561fa0(-_0x29ab1c._0x48dd54,-_0x29ab1c._0x3ea3a2,0xdb,-_0x29ab1c._0xc6966d)]+'\x20results)'),_0x155697;}break;case'web_fetch':if(_0x561fa0(-_0x29ab1c._0x124b9e,-_0x29ab1c._0x2c1c12,-0x208,-_0x29ab1c._0x4825c3)in _0x13d76d)return _0x13d76d[_0x2dd74c(0x572,_0x29ab1c._0x580ed6,0x66d,_0x29ab1c._0x2fbae7)];break;case _0x2dd74c(0x6b4,0x710,_0x29ab1c._0x16303b,0x623):if(_0x2dd74c(_0x29ab1c._0x1fc657,0x427,_0x29ab1c._0x30a53,0x268)in _0x13d76d&&'task'in _0x13d76d){let _0x2d166b=_0x561fa0(-0x3a3,-_0x29ab1c._0x28b965,-0x2fe,-_0x29ab1c._0x304236)in _0x13d76d&&_0x13d76d[_0x2dd74c(0x56c,0x3b0,_0x29ab1c._0x276b97,_0x29ab1c._0x41d579)]?_0x13d76d[_0x561fa0(-_0x29ab1c._0x254587,-0x2fc,-0x35c,-_0x29ab1c._0x71d721)]:_0x13d76d[_0x2dd74c(0x2fe,_0x29ab1c._0x4b957b,_0x29ab1c._0x13ce8d,0x454)][_0x561fa0(0x1c5,_0x29ab1c._0xb8c2a3,0x1b4,_0x29ab1c._0x2b7534)](0x0,0x32);return _0x13d76d[_0x561fa0(-_0x29ab1c._0x4996f9,-_0x29ab1c._0x5b4d57,-0x203,-_0x29ab1c._0x282357)]+':\x20'+_0x2d166b;}break;case _0x2dd74c(0x6b2,_0x29ab1c._0xfe4e37,0x72a,0x4d8):if('todos'in _0x13d76d&&Array[_0x2dd74c(_0x29ab1c._0x4cfc81,_0x29ab1c._0x13341a,_0x29ab1c._0x2ab089,_0x29ab1c._0x53c240)](_0x13d76d[_0x561fa0(-0xad,-_0x29ab1c._0x50f821,0x1db,-0x3c)])){let _0x2a91b2=_0x13d76d['todos'][_0x2dd74c(_0x29ab1c._0x531978,_0x29ab1c._0x320db9,_0x29ab1c._0x5a222c,0x5c9)](_0x18232e=>_0x18232e['status']===_0x561fa0(-0xb3,-0x102,0x12b,-0xb3)),_0x4d3f3f=_0x13d76d[_0x561fa0(_0x29ab1c._0x400dc6,-0x161,-_0x29ab1c._0x1b44e2,-_0x29ab1c._0x4c9c19)][_0x561fa0(-_0x29ab1c._0x11bb1f,-0x133,_0x29ab1c._0x2c1626,-_0x29ab1c._0x258ad3)](_0x8511c2=>_0x8511c2[_0x2dd74c(0x760,0x77f,0x61c,0x720)]===_0x2dd74c(0x4cc,0x697,0x70f,0x879));return _0x2a91b2[_0x561fa0(0x7,-0xf3,-_0x29ab1c._0x45e6ca,-0xa2)]===0x1&&_0x13d76d[_0x561fa0(_0x29ab1c._0x31db70,-_0x29ab1c._0x20dacf,-0x1c6,-_0x29ab1c._0x4c9c19)][_0x2dd74c(_0x29ab1c._0x4de589,_0x29ab1c._0x231d3c,_0x29ab1c._0x27264d,0x590)]>0x1?_0x2a91b2[0x0][_0x561fa0(-_0x29ab1c._0x46a44b,-0x381,-0xd8,-_0x29ab1c._0x188f66)]+_0x561fa0(0x1cc,-0x54,-0x3d,0x20):_0x4d3f3f[_0x561fa0(-_0x29ab1c._0x124b9e,_0x29ab1c._0x27c106,-0x18d,-_0x29ab1c._0x3543d5)]===0x1&&_0x13d76d[_0x2dd74c(0x3b3,0x558,_0x29ab1c._0x136ebd,_0x29ab1c._0x388817)][_0x561fa0(-_0x29ab1c._0x5b874b,-0x1f1,-0x219,-_0x29ab1c._0x3543d5)]>0x1?_0x4d3f3f[0x0][_0x2dd74c(0x392,0x400,_0x29ab1c._0x2be2bc,0x5f7)]+_0x561fa0(-_0x29ab1c._0x54a2c7,-_0x29ab1c._0xb2592d,_0x29ab1c._0x53b79c,-0x37):_0x13d76d[_0x561fa0(-0x232,0xd3,-0x24a,-0x3c)][_0x2dd74c(0x402,_0x29ab1c._0x48b41a,0x726,0x564)]+_0x561fa0(0x42c,_0x29ab1c._0x463621,0x217,0x212);}break;default:if(_0x561fa0(-_0x29ab1c._0x141af5,-_0x29ab1c._0x44730e,-0x42,0x127)in _0x13d76d&&typeof _0x13d76d['name']==_0x561fa0(-0xa9,_0x29ab1c._0x4cf767,_0x29ab1c._0x22b98c,0x151))return _0x13d76d[_0x2dd74c(_0x29ab1c._0x3944c6,0x6bb,_0x29ab1c._0x554f2a,0x8ca)];if('id'in _0x13d76d&&typeof _0x13d76d['id']==_0x2dd74c(_0x29ab1c._0x5b3b3a,0x6e5,_0x29ab1c._0x30b117,0x4c7))return _0x13d76d['id'];if(_0x561fa0(-_0x29ab1c._0x3b3576,-_0x29ab1c._0x541176,-0x21f,-_0x29ab1c._0x3062db)in _0x13d76d&&typeof _0x13d76d[_0x2dd74c(0x236,0x3ff,0x43c,_0x29ab1c._0x44d7cb)]=='string')return _0x13d76d[_0x2dd74c(_0x29ab1c._0x16af1c,_0x29ab1c._0x402835,0x522,_0x29ab1c._0x317d22)];break;}},sn=({toolCall:_0x4ffb5b,subAgentState:_0x3f3bad,toolResult:_0x21fe7c,messageId:_0x43b420})=>{const _0x10e2e8={_0x453613:0x4cb,_0x8b2f0c:0x34c,_0x329b88:0x378,_0x167eff:0x529,_0x27513f:0xc8,_0x29464b:0x42,_0xaf7e3c:0xeb,_0x547061:0x113,_0xaf387a:0x1de,_0x4ccf30:0x348,_0x59a15e:0x9e,_0x5c39fc:0x126,_0xa43e85:0x6d,_0xdf9175:0x46c,_0x51d07b:0x2a9,_0x4bab63:0x313,_0x41ec78:0x53a,_0x213686:0x15,_0x5d52bb:0x13a,_0x4864ab:0x20f,_0x551bc6:0x45d,_0x15b5cd:0x116,_0x5f225d:0x179,_0x2b8c65:0x2b0,_0x2fe101:0x1df,_0x123d9c:0x31a,_0x461a8c:0x1aa,_0x4c52c4:0x103,_0x201c61:0x32e,_0x3e4936:0x1d1,_0x4ae6e5:0x523,_0x327b8b:0x3a9,_0x26b3b9:0x5f0,_0x23f4ba:0x46a,_0x5eb8aa:0x5d7,_0x32d845:0x4cb,_0x23df5f:0x3a9,_0x30ded0:0x253,_0x27c9d4:0x392,_0x2a7aae:0xfb,_0x1aa37a:0x212,_0x71f691:0x1b2,_0x31fb7a:0x326,_0x3c8547:0x50b,_0x32b1f4:0x3e3,_0x117e3e:0x4b4,_0x51bfd4:0x327,_0x4d1f88:0x331,_0xef0187:0x211,_0x41854c:0x35,_0x396142:0x2ba,_0x137a39:0xb0,_0x2c97e5:0x40c,_0x901021:0xd4,_0xbceaf7:0x180,_0x11e32b:0x1b8,_0xd0fc1b:0x13d,_0x14ad80:0x170,_0x923c:0x2df,_0x4eaeca:0x5d1,_0x4b8072:0x383,_0x5141fc:0x1e1,_0x552df8:0xd4,_0x182ef0:0x8,_0x238d54:0x197,_0xc67491:0x2e,_0x38f8d5:0x8f,_0x2c1124:0x16b,_0x1dc52a:0xd6,_0x142a67:0xbf,_0x4d442f:0x194},_0x530b49={_0x4484d1:0x4fc,_0x3d6164:0x5f6,_0x59e235:0x8f,_0x315cc5:0x449,_0x2ff60d:0x41f,_0x48650c:0x6ba,_0x1bfe8e:0x726,_0x218506:0x7ac,_0x43bec2:0x52d,_0x4f464d:0x611,_0x56aa96:0x3c4,_0x250c1a:0x730,_0x3d784b:0x489,_0x37d3da:0x33d,_0x3acee3:0x215,_0x2a08f2:0x23c,_0x3e0cc7:0x2a5,_0x5f2439:0x32a,_0x4478a1:0x111,_0x34b4c7:0x11b,_0x44a6fe:0x2c1,_0x47d7f7:0xc9,_0x50b01b:0x422,_0x5a70cd:0x3f6,_0xd9f421:0x2d4},_0x1ef6ba={_0x35c42e:0x1d8,_0x58f14b:0x22},_0x294118={_0x38df9f:0x31,_0x301bae:0x13f},_0x4636aa={_0x512728:0x146};let {theme:_0x573a1c}=F(),_0x3277db=typeof _0x4ffb5b[_0x59844a(-0x101,0x275,-0x1a,0x135)][_0x59844a(0x16f,_0x10e2e8._0x453613,_0x10e2e8._0x8b2f0c,_0x10e2e8._0x329b88)]==_0x59844a(0x389,0x43f,_0x10e2e8._0x167eff,0x49c)?JSON[_0x49d57f(-0x144,-_0x10e2e8._0x27513f,-0x29d,-_0x10e2e8._0x29464b)](_0x4ffb5b[_0x59844a(0x10e,-0x24,0xb4,0x135)]['arguments']):_0x4ffb5b['function'][_0x49d57f(0x314,_0x10e2e8._0xaf7e3c,0x137,0x43)],_0x5916c1=_0x3277db[_0x59844a(-0x1,0x3d6,_0x10e2e8._0x547061,_0x10e2e8._0xaf387a)]||_0x59844a(_0x10e2e8._0x4ccf30,0x346,0x3ec,0x25d),_0x4e77ab=_0x3277db[_0x49d57f(_0x10e2e8._0x59a15e,-_0x10e2e8._0x5c39fc,-0xb5,-_0x10e2e8._0xa43e85)]||'',_0x1bdb04=_0x3f3bad[_0x49d57f(_0x10e2e8._0xdf9175,_0x10e2e8._0x51d07b,0x110,0x1bc)]==='completed',_0x5810d2=_0x21fe7c?.[_0x59844a(0x3bd,_0x10e2e8._0x4bab63,0x586,_0x10e2e8._0x41ec78)]?.[_0x49d57f(0x298,0x1ea,0x8a,0x390)],_0x19a484=_0x573a1c[_0x59844a(-_0x10e2e8._0x213686,_0x10e2e8._0x5d52bb,0x111,_0x10e2e8._0x4864ab)][_0x59844a(0x539,_0x10e2e8._0x551bc6,0x505,0x3c7)];function _0x49d57f(_0x1632a7,_0x40e699,_0x5193aa,_0x5b583e){return _0x5318c5(_0x1632a7-0x185,_0x1632a7,_0x5193aa-0x1c6,_0x40e699- -_0x4636aa._0x512728);}_0x1bdb04&&_0x3f3bad[_0x49d57f(_0x10e2e8._0x15b5cd,-0x80,_0x10e2e8._0x5f225d,0x28)]===_0x59844a(0x388,_0x10e2e8._0x2b8c65,_0x10e2e8._0x2fe101,_0x10e2e8._0x123d9c)?_0x19a484=_0x573a1c['status'][_0x49d57f(-_0x10e2e8._0x461a8c,0x8d,-0xd4,_0x10e2e8._0x4c52c4)]:_0x1bdb04&&_0x3f3bad['finalStatus']===_0x59844a(_0x10e2e8._0x201c61,_0x10e2e8._0x3e4936,_0x10e2e8._0x4ae6e5,_0x10e2e8._0x327b8b)&&(_0x19a484=_0x573a1c[_0x59844a(_0x10e2e8._0x26b3b9,_0x10e2e8._0x23f4ba,_0x10e2e8._0x5eb8aa,0x536)][_0x59844a(0x430,0x371,_0x10e2e8._0x32d845,_0x10e2e8._0x23df5f)]);let _0x3887a2=_0x24ac52=>_0x24ac52[_0x49d57f(0xcc,0x1a8,0x21c,0x247)]('-')[_0x59844a(0x1de,0x156,0x481,0x37d)](_0x256f77=>_0x256f77['charAt'](0x0)['toUpperCase']()+_0x256f77['slice'](0x1))[_0x49d57f(-0xc1,-0x3c,0x3d,-0x272)]('\x20');function _0x59844a(_0x32ce3b,_0x13cf71,_0x2f86f4,_0x147eb2){return _0x5318c5(_0x32ce3b-_0x294118._0x38df9f,_0x13cf71,_0x2f86f4-_0x294118._0x301bae,_0x147eb2-0x147);}return _0x438817(_0x8ed5a5,{'flexDirection':'column','marginTop':0x1,'children':[_0x438817(_0x8ed5a5,{'flexDirection':_0x59844a(_0x10e2e8._0x30ded0,0x49f,0x388,_0x10e2e8._0x27c9d4),'children':[_0x2b24f9(_0x8ed5a5,{'flexShrink':0x0,'marginRight':0x1,'children':_0x2b24f9(_0x23173e,{'color':_0x573a1c[_0x49d57f(-0x30d,-0x13a,-0x245,-_0x10e2e8._0x2a7aae)][_0x59844a(_0x10e2e8._0x1aa37a,0xae,_0x10e2e8._0x71f691,0x1ee)],'bold':!0x0,'children':'»'})}),_0x2b24f9(_0x23173e,{'children':''+_0x3887a2(_0x5916c1)+(_0x4e77ab?'\x20('+_0x4e77ab+')':'')})]}),_0x2b24f9(_0x8ed5a5,{'flexDirection':_0x59844a(_0x10e2e8._0x31fb7a,_0x10e2e8._0x3c8547,_0x10e2e8._0x32b1f4,0x482),'marginLeft':0x2,'children':_0x2b24f9(_0x8ed5a5,{'flexDirection':_0x59844a(0x5a7,0x50c,_0x10e2e8._0x117e3e,0x482),'borderStyle':_0x49d57f(0xf0,0x112,_0x10e2e8._0x51bfd4,_0x10e2e8._0x4d1f88),'borderDimColor':!0x0,'borderColor':_0x19a484,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':_0x3f3bad['toolCalls']['map'](_0x330d25=>{function _0x4d4aed(_0x3ff5aa,_0x4c3e06,_0x237c7c,_0x9c1f05){return _0x49d57f(_0x9c1f05,_0x3ff5aa-0x411,_0x237c7c-0x92,_0x9c1f05-0x60);}let _0x171cea='';function _0xef5b02(_0xc30465,_0x214e53,_0x2aeeea,_0x346c9d){return _0x49d57f(_0x2aeeea,_0xc30465-0x1a0,_0x2aeeea-_0x1ef6ba._0x35c42e,_0x346c9d-_0x1ef6ba._0x58f14b);}if(_0x330d25['arguments'])try{let _0x5b4229=_0x1fd8a1(_0x330d25[_0x4d4aed(_0x530b49._0x4484d1,0x5c7,0x525,0x40c)]),_0x45a0a8=vd(_0x330d25[_0x4d4aed(_0x530b49._0x3d6164,0x679,0x4d5,0x4c5)],_0x5b4229);_0x45a0a8&&(_0x171cea='\x20'+_0x45a0a8);}catch{}let _0x54f51c='\x20\x20',_0x3debf6=_0x573a1c[_0xef5b02(0x122,0x3,_0x530b49._0x59e235,0x15c)]['textDim'];return _0x330d25[_0xef5b02(_0x530b49._0x315cc5,0x56e,0x38c,_0x530b49._0x2ff60d)]==='success'?(_0x54f51c='✓\x20',_0x3debf6=_0x573a1c[_0x4d4aed(_0x530b49._0x48650c,0x895,_0x530b49._0x1bfe8e,0x7de)]['success']):_0x330d25[_0x4d4aed(0x6ba,_0x530b49._0x218506,0x535,0x713)]===_0x4d4aed(_0x530b49._0x43bec2,_0x530b49._0x4f464d,_0x530b49._0x56aa96,_0x530b49._0x250c1a)&&(_0x54f51c='✗\x20',_0x3debf6=_0x573a1c[_0x4d4aed(_0x530b49._0x48650c,0x53a,0x7d1,_0x530b49._0x3d784b)][_0x4d4aed(0x52d,_0x530b49._0x37d3da,0x64c,0x3d7)]),_0x2b24f9(_0x8ed5a5,{'flexDirection':_0xef5b02(0x395,_0x530b49._0x3acee3,_0x530b49._0x2a08f2,0x414),'children':_0x438817(_0x8ed5a5,{'flexDirection':_0xef5b02(_0x530b49._0x3e0cc7,_0x530b49._0x5f2439,_0x530b49._0x4478a1,_0x530b49._0x34b4c7),'height':0x1,'children':[_0x54f51c?_0x2b24f9(_0x23173e,{'color':_0x3debf6,'children':_0x54f51c}):null,_0x438817(_0x8ed5a5,{'flexWrap':_0x4d4aed(0x2f6,_0x530b49._0x44a6fe,0x375,_0x530b49._0x47d7f7),'children':[_0x2b24f9(_0x23173e,{'dimColor':!0x0,'children':_0x330d25[_0xef5b02(0x385,0x23d,_0x530b49._0x50b01b,_0x530b49._0x5a70cd)]}),_0x2b24f9(_0x23173e,{'dimColor':!0x0,'wrap':_0xef5b02(_0x530b49._0xd9f421,0x391,0x18c,0x122),'children':_0x171cea})]})]})},_0x330d25['id']);})})}),!_0x1bdb04&&_0x438817(_0x8ed5a5,{'flexDirection':_0x49d57f(_0x10e2e8._0xef0187,0x105,_0x10e2e8._0x41854c,_0x10e2e8._0x396142),'marginLeft':0x2,'children':[_0x438817(_0x23173e,{'dimColor':!0x0,'color':_0x19a484,'children':['└─','\x20']}),_0x2b24f9(Pi,{'text':_0x59844a(_0x10e2e8._0x137a39,_0x10e2e8._0x2c97e5,0x2c3,0x213)}),_0x2b24f9(_0x8ed5a5,{'marginLeft':0x1,'children':_0x2b24f9(Uo,{'hasResult':_0x1bdb04,'finalDuration':_0x3f3bad['totalDurationMs']})}),_0x3f3bad[_0x49d57f(0x25f,_0x10e2e8._0x901021,0x181,0x13)]&&_0x2b24f9(_0x8ed5a5,{'marginLeft':0x1,'children':_0x438817(_0x23173e,{'dimColor':!0x0,'children':['•\x20',_0x3f3bad[_0x49d57f(0x1a9,0xd4,0x110,0x27d)][_0x49d57f(-0x90,-_0x10e2e8._0xbceaf7,-0x2cd,-_0x10e2e8._0x11e32b)],'\x20calls\x20•\x20',He(_0x3f3bad[_0x49d57f(0x1f7,_0x10e2e8._0x901021,0x2a4,0x51)][_0x49d57f(-_0x10e2e8._0xd0fc1b,-0xba,-0x1d0,-0x1d)]),'\x20tokens',_0x3f3bad[_0x59844a(_0x10e2e8._0x14ad80,0x1ac,_0x10e2e8._0x923c,0x361)]['totalCost']>0x0&&_0x59844a(0x1f1,_0x10e2e8._0x4eaeca,_0x10e2e8._0x4b8072,0x3b6)+St(_0x3f3bad[_0x49d57f(_0x10e2e8._0x5141fc,_0x10e2e8._0x552df8,-0xda,-_0x10e2e8._0x182ef0)]['totalCost'])]})})]}),_0x1bdb04&&_0x5810d2&&_0x21fe7c?_0x2b24f9(_0x8ed5a5,{'marginBottom':0x1,'children':_0x2b24f9(Gt,{'toolResult':_0x5810d2,'toolCall':_0x4ffb5b,'messageId':_0x43b420+_0x49d57f(_0x10e2e8._0x238d54,_0x10e2e8._0xc67491,-_0x10e2e8._0x38f8d5,0x1cd)+_0x4ffb5b['id'],'messageContent':_0x21fe7c[_0x49d57f(-_0x10e2e8._0x2c1124,-_0x10e2e8._0x1dc52a,0x28,-0x213)]||'','fullMode':!0x1,'subAgentMetrics':_0x3f3bad[_0x49d57f(-0xfd,_0x10e2e8._0x552df8,-_0x10e2e8._0x142a67,_0x10e2e8._0x4d442f)]})}):null]});};import{jsx as _0x4df909,jsxs as _0x36c651}from'react/jsx-runtime';var an=({toolCall:_0x447a6c,toolResult:_0x1e2695,messageId:_0x4dba81})=>{const _0x509493={_0x88df3d:0x4e5,_0x3bd22c:0x3fb,_0x4b217b:0x242,_0x1d9d86:0xcd,_0x4bbce1:0x32,_0x18b150:0x1b,_0x59590e:0x384,_0xead65a:0x413,_0x3a02e8:0x5b7,_0x5e8232:0x326,_0x5299bb:0x25c,_0x296a36:0x272,_0x2ddee5:0x199,_0x271f7d:0x23a,_0x3dae14:0x1bd,_0x52c80d:0x79,_0x4f60fb:0x6ef,_0x197ec8:0x546,_0x294a13:0x485,_0x4694a4:0xee,_0x17a6bd:0x504,_0x3417df:0x6df,_0x32b98a:0x1c4,_0x12808b:0x2bc,_0x1a0c0e:0x78,_0x5b09b8:0x559,_0x45a1ed:0x281,_0x17a8bc:0x472,_0x2ba4dc:0x441,_0x22ca47:0x166,_0xa5e6e9:0x26b,_0x4aa966:0x157,_0x4c09d0:0x1f5,_0x1851e9:0x109,_0x2efeb4:0x177,_0x110295:0x80,_0x939094:0x8,_0x4dffce:0x1d,_0x4f6d91:0x234,_0x2500dd:0x542,_0x29b4c6:0x580,_0x2fc08d:0x591,_0x309a55:0x605,_0x2e6107:0x331,_0x26234a:0x453,_0x493428:0x123,_0x1a6125:0x25f,_0x23bd89:0x48e,_0x4a339d:0x4a5,_0x5d68b6:0x1a7,_0x27d9fd:0x2d6,_0x1b4dcf:0x1fa,_0xccfadf:0x165,_0x4144d3:0x1f,_0x453639:0x5a2,_0x163753:0x4fd,_0x46dc0b:0x28c,_0x5ce714:0x254,_0x4fce26:0x118,_0x571886:0x40b,_0x2aa93c:0x133,_0xf61160:0x13c,_0x4dbe75:0x4a1,_0x585b42:0x3fc,_0x3c3d7a:0x385,_0x4f22f3:0x49,_0x128e66:0xb4,_0x363828:0x291,_0x447271:0x119,_0x354138:0x150,_0x983863:0x2c7,_0x398a44:0x23c,_0x579ec3:0x82,_0x9a6594:0x8f},_0x4b8593={_0x1e4caa:0x33},_0x511188={_0x1502ab:0x395,_0x4078be:0x1ec,_0x16de99:0x49,_0x55022b:0x243,_0x148432:0x354,_0x19dee2:0x12c,_0x37d367:0x97,_0x401a06:0x12b},_0x386a49={_0x156a6b:0x12b,_0x556c63:0x19b},_0x25415f={_0x176a8c:0x4a},_0x460e85={_0xccb7e:0x126,_0x4f30cd:0x7b,_0x32e42b:0x147};let {theme:_0x5c9e59}=F(),{pendingApproval:_0x425435}=Re();if(_0x425435?.[_0x18f887(_0x509493._0x88df3d,0x54d,0x5e2,_0x509493._0x3bd22c)][_0x18f887(0x1b2,0x156,_0x509493._0x4b217b,_0x509493._0x1d9d86)](_0x46c9c2=>_0x46c9c2['id']===_0x447a6c['id'])??!0x1)return null;function _0x18f887(_0x56b9ed,_0x566d88,_0x1b9378,_0x349298){return _0x7f0a6b(_0x56b9ed-_0x460e85._0xccb7e,_0x566d88-_0x460e85._0x4f30cd,_0x1b9378,_0x349298-_0x460e85._0x32e42b);}let _0x459c01=_0x25f494=>typeof _0x25f494=='string'?_0x25f494:typeof _0x25f494=='object'&&_0x25f494!==null?JSON['stringify'](_0x25f494,null,0x0):String(_0x25f494),_0x1812ef=_0xd9a45e(_0x447a6c[_0xdbd009(_0x509493._0x4bbce1,-0x1a9,-_0x509493._0x18b150,-0xbd)][_0x18f887(0x41f,_0x509493._0x59590e,0x3ff,_0x509493._0xead65a)]),_0xdcc816=_0x1e2695?.[_0x18f887(_0x509493._0x3a02e8,0x546,0x501,_0x509493._0x5e8232)]?.['duration'],_0x2424c6=_0x1e2695?.[_0xdbd009(0x228,_0x509493._0x5299bb,0x2cd,0x352)]?.[_0xdbd009(_0x509493._0x296a36,_0x509493._0x2ddee5,_0x509493._0x271f7d,0x326)],_0x4b8750=_0x2424c6?.[_0xdbd009(_0x509493._0x3dae14,0x258,0x265,_0x509493._0x52c80d)]==='error'&&_0x2424c6[_0x18f887(_0x509493._0x4f60fb,_0x509493._0x197ec8,0x6c3,0x5f6)]?.[_0x18f887(_0x509493._0x294a13,0x302,0x2ea,_0x509493._0x4694a4)]===_0x4b7d88[_0x18f887(0x332,_0x509493._0x17a6bd,_0x509493._0x3417df,0x4e8)],_0x574c17=_0x2424c6?.[_0xdbd009(_0x509493._0x32b98a,0x258,_0x509493._0x12808b,_0x509493._0x1a0c0e)]===_0x18f887(0x355,0x3b5,_0x509493._0x5b09b8,_0x509493._0x45a1ed)&&_0x2424c6[_0x18f887(_0x509493._0x17a8bc,0x546,0x759,_0x509493._0x2ba4dc)]?.[_0xdbd009(-_0x509493._0x22ca47,0x18,0x1e1,-0x1d4)]===_0x4b7d88[_0x18f887(0x381,_0x509493._0xa5e6e9,_0x509493._0x4aa966,_0x509493._0x4c09d0)],_0x84cfa1=!!_0x2424c6&&!_0x4b8750&&!_0x574c17,_0x520764=_0x447a6c[_0xdbd009(-0x99,-0x1a9,0x64,-0xf3)]['name'],_0x5962cf=_0x1812ef[_0xdbd009(-_0x509493._0x1851e9,-_0x509493._0x2efeb4,_0x509493._0x110295,-0x200)]&&typeof _0x1812ef['description']=='string'&&_0x1812ef[_0xdbd009(-0x9a,-0x177,0xa4,0xbe)][_0xdbd009(0xb8,0x70,-_0x509493._0x939094,-0x14c)]()?_0x1812ef[_0xdbd009(-0x16a,-_0x509493._0x2efeb4,_0x509493._0x4dffce,-0x2ac)]:wi(_0x520764),_0xc52fe4=()=>{function _0x4f94df(_0x1326a7,_0x2223e4,_0x5d86a8,_0x20dde2){return _0xdbd009(_0x5d86a8,_0x2223e4- -_0x25415f._0x176a8c,_0x5d86a8-0x18c,_0x20dde2-0xfe);}function _0x31d00d(_0x52e54e,_0x50aecc,_0x28b3d8,_0x4f5c1e){return _0xdbd009(_0x50aecc,_0x4f5c1e- -0x34,_0x28b3d8-_0x386a49._0x156a6b,_0x4f5c1e-_0x386a49._0x556c63);}switch(_0x520764){case'file_edit':return jt;case _0x31d00d(_0x511188._0x1502ab,0x1ad,0x345,_0x511188._0x4078be):return Vt;case _0x4f94df(_0x511188._0x16de99,0x19f,_0x511188._0x55022b,0x2a5):return Wt;case _0x4f94df(_0x511188._0x148432,_0x511188._0x19dee2,-_0x511188._0x37d367,_0x511188._0x401a06):return()=>null;default:return Te;}},_0xb86d39=_0x4b8750||_0x574c17?_0x5c9e59['status']['warning']:_0x2424c6?.[_0x18f887(0x47f,0x542,0x625,0x6ef)]===_0xdbd009(_0x509493._0x110295,0x3c,0xdd,-0xb7)?_0x5c9e59[_0xdbd009(_0x509493._0x4f6d91,0x258,0x2cf,0x1a3)]['success']:_0x2424c6?.[_0x18f887(0x406,_0x509493._0x2500dd,_0x509493._0x29b4c6,0x59a)]===_0x18f887(_0x509493._0x2fc08d,0x3b5,0x4fb,0x535)?_0x5c9e59[_0x18f887(_0x509493._0x309a55,0x542,_0x509493._0x2e6107,_0x509493._0x26234a)]['error']:_0x5c9e59['status'][_0x18f887(0x1f6,_0x509493._0x493428,0x12b,0x1d4)],_0x492c45=_0xc52fe4();function _0xdbd009(_0x910c11,_0x202642,_0x5c7336,_0x31ca69){return _0x7f0a6b(_0x910c11-0x10b,_0x202642- -0x26f,_0x910c11,_0x31ca69-_0x4b8593._0x1e4caa);}return _0x36c651(_0x4ad946,{'flexDirection':_0x18f887(_0x509493._0x1a6125,_0x509493._0x23bd89,_0x509493._0x4a339d,0x3bb),'children':[_0x36c651(_0x4ad946,{'flexDirection':_0xdbd009(_0x509493._0x5d68b6,0xb4,0x62,0x149),'children':[_0x4df909(_0x4ad946,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4df909(_0x45f6c5,{'color':_0x5c9e59['messageTypes'][_0x18f887(_0x509493._0x27d9fd,_0x509493._0x1b4dcf,_0x509493._0xccfadf,-_0x509493._0x4144d3)],'bold':!0x0,'children':'»'})}),_0x4df909(_0x45f6c5,{'bold':!0x0,'children':_0x5962cf})]}),_0x4df909(_0x492c45,{'toolCall':_0x447a6c,'args':_0x1812ef,'statusColor':_0xb86d39,'formatValue':_0x459c01}),!_0x84cfa1&&!_0x4b8750&&!_0x574c17&&_0x36c651(_0x4ad946,{'flexDirection':_0x18f887(_0x509493._0x453639,0x39e,_0x509493._0x163753,_0x509493._0x46dc0b),'marginLeft':0x2,'children':[_0x36c651(_0x45f6c5,{'dimColor':!0x0,'color':_0xb86d39,'children':['└─','\x20']}),_0x4df909(_0x45f6c5,{'children':'Running\x20...'}),_0x4df909(_0x4ad946,{'marginLeft':0x1,'children':_0x4df909(Uo,{'hasResult':_0x84cfa1,'finalDuration':_0xdcc816})})]}),_0x4b8750&&_0x4df909(_0x4ad946,{'flexDirection':_0xdbd009(_0x509493._0x5ce714,0xb4,-_0x509493._0x4fce26,-0x2),'marginLeft':0x2,'children':_0x4df909(_0x45f6c5,{'dimColor':!0x0,'color':_0x5c9e59[_0x18f887(_0x509493._0x571886,0x21b,_0x509493._0x2aa93c,_0x509493._0xf61160)][_0x18f887(_0x509493._0x4dbe75,0x2e0,_0x509493._0x585b42,0x150)],'children':_0x18f887(0x530,0x52f,0x679,_0x509493._0x3c3d7a)})}),_0x574c17&&_0x4df909(_0x4ad946,{'flexDirection':_0xdbd009(-_0x509493._0x4f22f3,_0x509493._0x128e66,0x2f,0x10a),'marginLeft':0x2,'children':_0x4df909(_0x45f6c5,{'dimColor':!0x0,'color':_0x5c9e59['colors']['warning'],'children':_0xdbd009(_0x509493._0x363828,0x268,_0x509493._0x447271,_0x509493._0x354138)})}),_0x84cfa1&&_0x2424c6?_0x4df909(Gt,{'toolResult':_0x2424c6,'toolCall':_0x447a6c,'messageId':_0x4dba81+_0x18f887(_0x509493._0x3c3d7a,_0x509493._0x983863,0x46b,_0x509493._0x398a44)+_0x447a6c['id'],'messageContent':_0x1e2695?.[_0x18f887(_0x509493._0x579ec3,0x1c3,_0x509493._0x9a6594,0x33c)]||'','fullMode':!0x1}):null]});};import{Box as _0x5c4c80,measureElement as _0x29f053,Text as _0x27fc68}from'ink';import{useRef as _0x30e3aa,useEffect as _0x4baefa,useCallback as _0x5a19ea,useState as _0xeb174d}from'react';import{jsx as _0x340f24,jsxs as _0x3469b2}from'react/jsx-runtime';function Id({scrollInfo:_0x5bd6fb,color:_0x2597a0=_0x7f0a6b(0x335,0x49e,0x58a,0x609),trackColor:_0x24d7db=_0x7f0a6b(0x3c3,0x1b2,-0x49,0x324)}){const _0x1ed875={_0x4fc5d0:0x63f,_0x5f4e8e:0x391,_0x11b84f:0x71d,_0x3d23d5:0x521,_0x553455:0x6d6,_0x31e8e9:0x40e,_0x2f1a12:0x6bc,_0x4afe32:0x4f5,_0xd31ef7:0x39c,_0x3e68b4:0x40c,_0xdfcbec:0x5c9,_0x2dd2f3:0x844,_0x308460:0x83b,_0x1cb947:0x50c,_0x3d3b09:0x58d},_0x3a1767={_0x19dc4e:0x1ba,_0x37cca4:0x181};let {scrollY:_0xf9d5d4,containerHeight:_0x3065bd,contentHeight:_0x1ac90f}=_0x5bd6fb;if(_0x1ac90f<=_0x3065bd)return null;function _0x55d465(_0x555f1b,_0x1e9171,_0x44ca3b,_0x2f2f05){return _0x5318c5(_0x555f1b-0x1c0,_0x1e9171,_0x44ca3b-0xe4,_0x2f2f05-0x365);}let _0x2cac73=_0x3065bd,_0x4ac657=Math[_0x55d465(_0x1ed875._0x4fc5d0,0x5c8,_0x1ed875._0x5f4e8e,0x51d)](0x1,Math[_0xd19b22(0x6aa,0x338,_0x1ed875._0x11b84f,_0x1ed875._0x3d23d5)](_0x3065bd/_0x1ac90f*_0x2cac73)),_0x2f6c64=_0x1ac90f-_0x3065bd,_0x384ffb=_0x2f6c64>0x0?_0xf9d5d4/_0x2f6c64:0x0,_0x1a8c96=Math[_0x55d465(0x3f8,_0x1ed875._0x553455,0x714,0x52f)](_0x384ffb*(_0x2cac73-_0x4ac657)),_0x4a3cbc=[];for(let _0x42180e=0x0;_0x42180e<_0x2cac73;_0x42180e++)_0x42180e>=_0x1a8c96&&_0x42180e<_0x1a8c96+_0x4ac657?_0x4a3cbc[_0xd19b22(_0x1ed875._0x31e8e9,_0x1ed875._0x2f1a12,0x46d,0x5bb)]('┃'):_0x4a3cbc[_0x55d465(_0x1ed875._0x4afe32,_0x1ed875._0xd31ef7,_0x1ed875._0x3e68b4,_0x1ed875._0xdfcbec)]('│');function _0xd19b22(_0x2f62f2,_0x1d2b3a,_0x2452aa,_0x371791){return _0x7f0a6b(_0x2f62f2-_0x3a1767._0x19dc4e,_0x371791-0x27f,_0x1d2b3a,_0x371791-_0x3a1767._0x37cca4);}return _0x340f24(_0x5c4c80,{'flexDirection':_0x55d465(_0x1ed875._0x2dd2f3,_0x1ed875._0x308460,0x4a7,0x6a0),'flexShrink':0x0,'children':_0x4a3cbc[_0xd19b22(_0x1ed875._0x1cb947,0x3e1,0x6d5,_0x1ed875._0x3d3b09)]((_0x558319,_0x4fda8d)=>_0x340f24(_0x27fc68,{'color':_0x558319==='┃'?_0x2597a0:_0x24d7db,'children':_0x558319},_0x4fda8d))});}function Go({maxHeight:_0x32bf40,children:_0x56d840,scrollStep:_0x3899b4=0x1,enableMouseScroll:_0x40c5c6=!0x0,showScrollbar:_0x371c78=!0x0,scrollbarColor:_0xcaaaf1='cyan',scrollbarTrackColor:_0x4d4439=_0x7f0a6b(0x4b8,0x49e,0x4d7,0x569),mousePriority:_0x21111e=0x0,enableKeyboardScroll:_0x29353b=!0x0,..._0x16eaa8}){const _0x20e377={_0xa0b661:0x5a1,_0x5d56c4:0x30e,_0x10743e:0x5c9,_0x1e505e:0x20b,_0x4d9772:0x57c,_0xe2ea87:0x3db,_0x56e9d8:0x323,_0x3367af:0x3ce,_0xff55c5:0x1a4,_0x5ced11:0x32b,_0x46c43e:0x69,_0x3184d7:0x96,_0x38ff1b:0x10e,_0x3bd3df:0x5a8,_0x47fede:0x555,_0x494873:0x514,_0x5bbfa5:0x6a7,_0x474d0b:0x543,_0x10a16f:0x456,_0x31b717:0x6d7,_0x53cbbc:0x5d8,_0x261555:0x4cb,_0x29b972:0x414},_0x2546ab={_0x328321:0x5fc,_0x575349:0x2fb,_0x25dd97:0x516,_0x35dc21:0x44c,_0x427023:0x4d,_0x4b6029:0x46,_0x4decbd:0x1bd,_0x1540ad:0x4af,_0x329619:0x267,_0x39a11f:0x336,_0x3535f:0x189},_0x5cc762={_0x4317f6:0x73e,_0x45f409:0x37f,_0x56c060:0x4d8,_0x5156df:0x598,_0x371ff3:0x4a6,_0x52ace3:0x6d7,_0xdff947:0x230,_0x7170e3:0x49,_0x2c1eb4:0x3b},_0x236e83={_0x12e367:0xfb,_0xbfe24:0x1db},_0x3b7d7c={_0x3a8a9f:0x13e},_0x6052a6={_0x24fcbb:0x114,_0x2333dc:0xf4,_0x5ce92f:0x766,_0xfd8b1:0x3e1,_0x5020b3:0x42e,_0x51d38e:0x151,_0x1d2029:0x1f1},_0xe1c467={_0x22ea1f:0x4ef,_0x321fc2:0x48a,_0x331217:0x306,_0x381442:0x25f,_0x3803c7:0xb1,_0x34743f:0x394,_0x205cd9:0x692,_0x36e2b3:0x2fd,_0x10208b:0x2c1,_0x5728bf:0x496,_0x150856:0x1b0,_0x16f747:0x117,_0x522441:0x494,_0x450bb4:0x3ae,_0x7a5450:0x2c1,_0x15b189:0x186},_0x40a3ca={_0x2682b3:0x1b5},_0x301803={_0x3ceaef:0x19a,_0x44c903:0xd7},_0x531d99={_0x3577b3:0x75b,_0x3010a1:0x548,_0x45308e:0x554,_0x9ca4f2:0x5e4,_0x39a38b:0x39e,_0x9a1230:0x2e0,_0x139c91:0x1f9,_0x3ef35f:0x43b,_0x178193:0x4b9,_0x34293d:0x3cd,_0x5e7d9d:0x450,_0x1cd4ca:0x319,_0x42c88f:0x3a9,_0x4e5527:0x31a,_0x5669de:0x319,_0x59da9e:0x2d8},_0x33fd34={_0x9d7aa9:0x48},_0x5acabe={_0x203f70:0x1bf,_0x14b384:0x10},_0x81d0c8={_0x7ca85f:0xbc,_0x414d72:0x1d4},_0x312034={_0x4b708e:0x171};function _0x2b66f1(_0x2b5c45,_0x5df6ca,_0x42fbae,_0x5bfd30){return _0x5318c5(_0x2b5c45-0x35,_0x2b5c45,_0x42fbae-_0x312034._0x4b708e,_0x5bfd30-0x190);}function _0x31d5cf(_0x12e982,_0x3eed00,_0x579a28,_0x507ffd){return _0x7f0a6b(_0x12e982-_0x81d0c8._0x7ca85f,_0x12e982- -0xc9,_0x579a28,_0x507ffd-_0x81d0c8._0x414d72);}let {theme:_0x495464}=F(),_0x3e2032=_0x30e3aa(null),_0x4c1322=_0x30e3aa(null),_0x6bfe4f=_0x30e3aa(_0x56d840),_0x195466=_0x30e3aa(!0x1),[_0x33ef4b,_0x3e6094]=_0xeb174d({'scrollY':0x0,'containerHeight':0x0,'contentHeight':0x0}),_0x2bcd97=_0x371c78&&_0x33ef4b['contentHeight']>_0x33ef4b[_0x2b66f1(_0x20e377._0xa0b661,_0x20e377._0x5d56c4,_0x20e377._0x10743e,0x3c8)],{isFocused:_0x16a65b}=Ne({'active':_0x2bcd97}),_0x3ac98d=_0x5a19ea(()=>{if(!_0x3e2032[_0x335a61(_0x531d99._0x3577b3,_0x531d99._0x3010a1,0x497,0x376)]||!_0x4c1322[_0x591f37(0x3cd,_0x531d99._0x45308e,_0x531d99._0x9ca4f2,0x389)])return;function _0x591f37(_0x9fdae9,_0x1b47d0,_0x23a378,_0x1067a7){return _0x2b66f1(_0x1b47d0,_0x1b47d0-_0x5acabe._0x203f70,_0x23a378-0x130,_0x9fdae9-_0x5acabe._0x14b384);}function _0x335a61(_0x3769b8,_0x6ea911,_0xd0cd64,_0x54e231){return _0x2b66f1(_0x3769b8,_0x6ea911-_0x33fd34._0x9d7aa9,_0xd0cd64-0x64,_0x6ea911-0x18b);}let _0x4cb6c9=_0x3e2032[_0x591f37(0x3cd,0x1f8,_0x531d99._0x39a38b,_0x531d99._0x9a1230)][_0x335a61(_0x531d99._0x139c91,0x313,_0x531d99._0x3ef35f,_0x531d99._0x178193)](),_0xa9776d=_0x29f053(_0x3e2032[_0x591f37(_0x531d99._0x34293d,0x36e,0x33b,_0x531d99._0x5e7d9d)]),_0x40fd93=_0x29f053(_0x4c1322['current']);_0x3e6094({'scrollY':_0x4cb6c9?.['y']??0x0,'containerHeight':_0xa9776d[_0x335a61(0x479,_0x531d99._0x1cd4ca,0x299,_0x531d99._0x42c88f)],'contentHeight':_0x40fd93[_0x335a61(_0x531d99._0x4e5527,_0x531d99._0x5669de,_0x531d99._0x59da9e,0x12f)]});},[]),_0x2e859b=_0x5a19ea(_0x347afc=>{if(!_0x3e2032[_0x2dd4ac(_0xe1c467._0x22ea1f,0x2c1,_0xe1c467._0x321fc2,0x283)]||!_0x4c1322[_0x2dd4ac(0x3e0,0x2c1,0x3ad,_0xe1c467._0x331217)])return;let _0x258100=_0x3e2032[_0x2dd4ac(0x357,0x2c1,0x233,0x4e2)][_0x34a5f1(0x3cf,_0xe1c467._0x381442,_0xe1c467._0x3803c7,_0xe1c467._0x34743f)]();function _0x34a5f1(_0x4dfb8e,_0x4db389,_0x2e96cd,_0x3e27be){return _0x2b66f1(_0x4dfb8e,_0x4db389-0x106,_0x2e96cd-_0x301803._0x3ceaef,_0x4db389-_0x301803._0x44c903);}if(!_0x258100)return;let _0x490026=Math['max'](0x0,_0x258100['y']+_0x347afc);_0x3e2032['current']['scrollTo']({'x':0x0,'y':_0x490026});function _0x2dd4ac(_0x2839dd,_0x1d097c,_0x45ea40,_0xf93040){return _0x2b66f1(_0x45ea40,_0x1d097c-0x51,_0x45ea40-_0x40a3ca._0x2682b3,_0x1d097c- -0xfc);}let _0x539505=_0x3e2032[_0x34a5f1(0x515,0x494,0x558,_0xe1c467._0x205cd9)]['getScrollPosition']();if(_0x539505){let _0x18dbf0=_0x29f053(_0x3e2032['current']),_0x4fec9e=_0x29f053(_0x4c1322[_0x2dd4ac(_0xe1c467._0x36e2b3,_0xe1c467._0x10208b,_0xe1c467._0x5728bf,0x3a7)])['height']-_0x18dbf0[_0x2dd4ac(_0xe1c467._0x150856,0x92,_0xe1c467._0x16f747,-0x72)];_0x539505['y']>=_0x4fec9e-0x1?_0x195466[_0x34a5f1(0x672,_0xe1c467._0x522441,0x260,_0xe1c467._0x450bb4)]=!0x1:_0x539505['y']>0x0&&(_0x195466[_0x2dd4ac(0x4ae,_0xe1c467._0x7a5450,_0xe1c467._0x15b189,0xf1)]=!0x0);}_0x3ac98d();},[_0x3ac98d]),_0xc82bac=_0x5a19ea(_0x51b17b=>{const _0x1cd056={_0x1603d4:0x1e8,_0x525933:0xf9},_0x44d3af={_0x232598:0x323};let _0x2c3f9d=_0x51b17b[_0x3640bd(_0x6052a6._0x24fcbb,_0x6052a6._0x2333dc,-0xd7,-0x2e2)]||0x1;if(_0x51b17b['type']===_0x4aa6f0(0x591,_0x6052a6._0x5ce92f,_0x6052a6._0xfd8b1,_0x6052a6._0x5020b3))return _0x2e859b(-_0x3899b4*_0x2c3f9d),!0x0;function _0x3640bd(_0x287454,_0xdc28c0,_0x3e5fc5,_0x31bc86){return _0x2b66f1(_0xdc28c0,_0xdc28c0-0x56,_0x3e5fc5-0x20,_0x3e5fc5- -_0x44d3af._0x232598);}function _0x4aa6f0(_0x362b77,_0x140f0a,_0x3bb66c,_0x168954){return _0x2b66f1(_0x140f0a,_0x140f0a-_0x1cd056._0x1603d4,_0x3bb66c-_0x1cd056._0x525933,_0x362b77-0x17b);}if(_0x51b17b['type']===_0x3640bd(0x1d2,_0x6052a6._0x51d38e,-0x41,-_0x6052a6._0x1d2029))return _0x2e859b(_0x3899b4*_0x2c3f9d),!0x0;},[_0x2e859b,_0x3899b4]),_0x20341d=_0x5a19ea((_0x2885da,_0xcdfc51)=>{function _0x5ab48f(_0x4dbc4a,_0x5c1f4f,_0x120732,_0x1d9b81){return _0x2b66f1(_0x1d9b81,_0x5c1f4f-0x15d,_0x120732-_0x3b7d7c._0x3a8a9f,_0x120732- -0x3a0);}if(!_0x16a65b||!_0x2bcd97||!_0x29353b)return _0x16a65b&&(_0x2885da==='j'||_0x2885da==='k'||_0x2885da==='g'||_0x2885da==='G')?!0x0:void 0x0;if(_0x2885da==='j')return _0x2e859b(_0x3899b4),!0x0;if(_0x2885da==='k')return _0x2e859b(-_0x3899b4),!0x0;if(_0x2885da==='g')return!_0x3e2032[_0x445a96(0x716,_0x5cc762._0x4317f6,0x598,_0x5cc762._0x45f409)]||!_0x4c1322[_0x445a96(_0x5cc762._0x56c060,0x580,_0x5cc762._0x5156df,0x528)]?void 0x0:(_0x3e2032[_0x445a96(0x40d,0x789,_0x5cc762._0x5156df,_0x5cc762._0x371ff3)][_0x445a96(0x5aa,0x49e,_0x5cc762._0x52ace3,0x54e)]({'x':0x0,'y':0x0}),_0x195466[_0x5ab48f(-0x44,_0x5cc762._0xdff947,0x1d,0x245)]=!0x0,_0x3ac98d(),!0x0);function _0x445a96(_0x387ba4,_0x477eff,_0x4d7c1a,_0x60677b){return _0x2b66f1(_0x387ba4,_0x477eff-_0x236e83._0x12e367,_0x4d7c1a-0xb6,_0x4d7c1a-_0x236e83._0xbfe24);}if(_0x2885da==='G')return _0x3e2032[_0x5ab48f(_0x5cc762._0x7170e3,-0x1b9,0x1d,_0x5cc762._0x2c1eb4)]?.[_0x445a96(0x4f4,0x8fd,0x711,0x7e9)](),_0x195466['current']=!0x1,_0x3ac98d(),!0x0;},[_0x16a65b,_0x2e859b,_0x3899b4,_0x2bcd97,_0x3ac98d,_0x29353b]);return Cr(_0xc82bac,{'isActive':_0x40c5c6&&_0x2bcd97,'priority':_0x21111e}),W(_0x20341d,{'isActive':_0x2bcd97,'priority':_0x21111e}),_0x4baefa(()=>{const _0x53a8e3={_0x527e4b:0x159},_0x54da03={_0x2d12ce:0x19d,_0x4dddb6:0x200};function _0x3bfddc(_0x40dea2,_0x34f1ad,_0x3fa7f6,_0x444a69){return _0x2b66f1(_0x3fa7f6,_0x34f1ad-0x1f2,_0x3fa7f6-_0x54da03._0x2d12ce,_0x444a69- -_0x54da03._0x4dddb6);}function _0x2c85c0(_0x99d64a,_0x2dfd21,_0x1487dc,_0x3b920b){return _0x2b66f1(_0x99d64a,_0x2dfd21-0x172,_0x1487dc-0x14a,_0x1487dc-_0x53a8e3._0x527e4b);}_0x6bfe4f['current']!==_0x56d840&&(_0x195466[_0x2c85c0(_0x2546ab._0x328321,_0x2546ab._0x575349,_0x2546ab._0x25dd97,_0x2546ab._0x35dc21)]||_0x3e2032[_0x3bfddc(_0x2546ab._0x427023,0x335,_0x2546ab._0x4b6029,_0x2546ab._0x4decbd)]?.[_0x3bfddc(_0x2546ab._0x1540ad,_0x2546ab._0x329619,0x48e,_0x2546ab._0x39a11f)](),_0x6bfe4f[_0x3bfddc(_0x2546ab._0x3535f,0x384,0x20b,_0x2546ab._0x4decbd)]=_0x56d840),_0x3ac98d();},[_0x56d840,_0x3ac98d]),_0x3469b2(_0x5c4c80,{'flexDirection':_0x2b66f1(_0x20e377._0x1e505e,_0x20e377._0x4d9772,0x376,_0x20e377._0xe2ea87),..._0x32bf40!==void 0x0?{'maxHeight':_0x32bf40}:{},'overflow':_0x2b66f1(_0x20e377._0x56e9d8,_0x20e377._0x3367af,_0x20e377._0xff55c5,_0x20e377._0x5ced11),'backgroundColor':_0x16a65b?_0x495464[_0x2b66f1(0xe6,_0x20e377._0x46c43e,-_0x20e377._0x3184d7,0x195)][_0x31d5cf(0xe9,0x5d,-_0x20e377._0x38ff1b,-0xf9)]:_0x2b66f1(0x5d2,_0x20e377._0x3bd3df,_0x20e377._0x47fede,_0x20e377._0x494873),'children':[_0x340f24(_0x5c4c80,{'ref':_0x3e2032,'overflow':_0x2b66f1(_0x20e377._0x5bbfa5,_0x20e377._0x474d0b,_0x20e377._0x10a16f,0x5b4),'flexGrow':0x1,..._0x16eaa8,'flexDirection':_0x2b66f1(0x677,_0x20e377._0x31b717,_0x20e377._0x53cbbc,_0x20e377._0x261555),'children':_0x340f24(_0x5c4c80,{'ref':_0x4c1322,'flexShrink':0x0,'flexDirection':_0x31d5cf(0x34a,0x3a5,_0x20e377._0x29b972,0x543),'children':_0x56d840})}),_0x2bcd97&&_0x340f24(Id,{'scrollInfo':_0x33ef4b,'color':_0xcaaaf1,'trackColor':_0x4d4439})]});}import{jsx as _0x4f5a25,jsxs as _0x155aec}from'react/jsx-runtime';var Ad=({message:_0x25a282,backgroundColor:_0x3127d7,liveMessage:_0x8e84a5=!0x1})=>{const _0x1ba837={_0x58d709:0x3e9,_0x9a1828:0x311,_0x4bb0c4:0x279,_0x112151:0x2f9,_0x3fb383:0x274,_0x242dbf:0x124,_0x249170:0x66,_0x5651f5:0x1d6,_0x783518:0xa,_0x33719f:0xcd,_0x555575:0x109},_0x589a15={_0x580a4c:0x4f,_0x33fcb1:0x87},_0x272cda={_0x3bc70d:0xba},_0x122fa0={_0x1f3f50:0x12c,_0x2210ff:0xf6,_0x18b228:0x2ee,_0x234146:0x31e,_0x3cfda6:0x146,_0x4d1e7d:0x1ec,_0x1beaec:0x110,_0x3f65ea:0x16a,_0x61a6e:0x316,_0x51e7d7:0x2e9,_0x4aed71:0x14c,_0x56b513:0x242,_0x33c7a3:0x308,_0x6ab9b8:0x399,_0x113847:0x404,_0x1f619e:0x5f,_0x3ea424:0x75,_0x15a954:0x13c,_0x253e18:0x664,_0x55a603:0x52f,_0x415c04:0x6a3,_0x9c0518:0x52b,_0x24833c:0x4ee,_0x3ebd1c:0x475,_0xbbba11:0x198,_0x57517e:0x11,_0x222b0d:0x70,_0x994564:0x1c2,_0x42a90a:0xef,_0x4baed1:0x4bc,_0x287c06:0x519,_0x4d7f66:0x273,_0x3a90e3:0x304,_0x5d9418:0x5af,_0x5d6089:0x95a,_0x58c704:0x3ce,_0x3ea6ae:0x735,_0x4ab43f:0x3af,_0x3bbb66:0x1e3,_0x435dd4:0x45f,_0x32f49c:0x5ec,_0x29ff21:0x245,_0x2220e1:0x119,_0x36d6aa:0x751,_0x321152:0x3df,_0x564a25:0x3fe,_0x592c76:0x1e6,_0x3d3f5c:0x31b,_0x11999b:0x545,_0x152414:0x11,_0x3dc8c0:0x181,_0x276e2e:0x51d,_0x37c85d:0x166,_0x3455dc:0x28,_0x309f11:0x68a,_0x4a07df:0x203,_0x44afec:0x132,_0x2c0ccf:0x483,_0x4e45c2:0x34b,_0x57824a:0x16f,_0x3cded5:0xea,_0x1f3fd9:0xf4,_0x1d757d:0x4b1,_0x2cfccf:0x6b2,_0x4b6ad3:0x61f,_0x7981d6:0x5d9,_0x1242af:0x47e,_0x3d02bd:0x7ff,_0x1a7201:0x929,_0x24611e:0x34c},_0x2b982f={_0xcc67b0:0x125,_0x1da7a3:0x8a,_0x58a59e:0x67,_0x35cfa9:0x3f,_0x4d6e31:0x287,_0x513304:0x45e,_0x1b2307:0x262,_0x23dc70:0x306,_0x4b4760:0x3fd,_0x490581:0x49c,_0x2e7a3a:0x336,_0x1c8aed:0x23d,_0x160a0d:0x17d,_0xba82d2:0xbf,_0x5e0317:0x257,_0x1dc972:0x106,_0x32b8df:0x177,_0x53e8ef:0x15b,_0x5b1c32:0x2b,_0x13c979:0x16c,_0x4a99b4:0xe1},_0x284a76={_0x45cf0a:0x421,_0x90c5f:0x24};let {theme:_0xfbfc1c}=F(),_0x582b82=_0x25a282[_0x5496f5(0x3af,0x5a9,0x288,_0x1ba837._0x58d709)]?.[_0x5496f5(0xc1,_0x1ba837._0x9a1828,_0x1ba837._0x4bb0c4,_0x1ba837._0x112151)]===!0x0,_0x3fa02b=_0x25a282[_0x5496f5(0x12c,_0x1ba837._0x3fb383,-_0x1ba837._0x242dbf,_0x1ba837._0x249170)],_0x3eb633=()=>{const _0x2f102c={_0x5af7ca:0x1e},_0x4012f0={_0x536dce:0x13};function _0x53dcb3(_0x872256,_0x591f8e,_0xc48e69,_0x49d14a){return _0x5d0eab(_0x872256-0xe3,_0xc48e69,_0x49d14a-_0x284a76._0x45cf0a,_0x49d14a-_0x284a76._0x90c5f);}function _0x1ae4e0(_0x14bd33,_0x2dae6a,_0x52aa10,_0x2e5c29){return _0x5496f5(_0x14bd33-0x143,_0x2dae6a-0xec,_0x52aa10,_0x2dae6a- -_0x4012f0._0x536dce);}switch(_0x25a282['type']){case _0x1ae4e0(-_0x122fa0._0x1f3f50,_0x122fa0._0x2210ff,0x1da,_0x122fa0._0x18b228):return _0x155aec(_0x489999,{'flexDirection':_0x1ae4e0(0x265,_0x122fa0._0x234146,0x486,_0x122fa0._0x3cfda6),'marginY':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c[_0x1ae4e0(_0x122fa0._0x4d1e7d,-0x11,-_0x122fa0._0x1beaec,-_0x122fa0._0x3f65ea)][_0x1ae4e0(_0x122fa0._0x61a6e,0xf6,-0xa9,_0x122fa0._0x51e7d7)],'bold':!0x0,'children':'❯\x20[you]'})}),_0x4f5a25(_0x489999,{'marginX':0x2,'children':_0x4f5a25(lt,{'children':_0x3fa02b})})]});case _0x1ae4e0(0x370,_0x122fa0._0x4aed71,_0x122fa0._0x56b513,_0x122fa0._0x33c7a3):return _0x582b82?_0x155aec(_0x489999,{'flexDirection':_0x1ae4e0(_0x122fa0._0x6ab9b8,0x31e,0x18a,_0x122fa0._0x113847),'marginY':0x1,'width':_0x1ae4e0(-0x148,_0x122fa0._0x1f619e,-_0x122fa0._0x3ea424,-0x74),'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c[_0x1ae4e0(0x173,-0x11,-_0x122fa0._0x15a954,-0x1e6)]['assistant'],'bold':!0x0,'children':_0x53dcb3(0x436,_0x122fa0._0x253e18,0x4d6,_0x122fa0._0x55a603)})}),_0x4f5a25(Go,{'maxHeight':_0x53dcb3(_0x122fa0._0x415c04,_0x122fa0._0x9c0518,0x70b,_0x122fa0._0x24833c),'marginX':0x2,'width':_0x53dcb3(0x2dd,0x5a9,_0x122fa0._0x3ebd1c,0x4ee),'children':_0x4f5a25(lt,{'enableCache':!0x0,'children':_0x3fa02b})})]}):_0x155aec(_0x489999,{'flexDirection':'column','marginY':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c[_0x1ae4e0(-_0x122fa0._0xbbba11,-_0x122fa0._0x57517e,-_0x122fa0._0x222b0d,0x10e)]['assistant'],'bold':!0x0,'children':_0x1ae4e0(_0x122fa0._0x994564,0xa0,-_0x122fa0._0x42a90a,0xaf)})}),_0x4f5a25(_0x489999,{'marginX':0x2,'children':_0x4f5a25(lt,{'enableCache':!0x0,'children':_0x3fa02b})})]});case _0x53dcb3(0x58b,0x5b1,_0x122fa0._0x4baed1,_0x122fa0._0x287c06):{let _0x30aca9=_0x25a282[_0x1ae4e0(_0x122fa0._0x4d7f66,0x3d6,_0x122fa0._0x3a90e3,_0x122fa0._0x5d9418)]?.[_0x53dcb3(_0x122fa0._0x5d6089,0x720,0xa0a,0x86c)]??[],_0x231167=_0x25a282['metadata']?.[_0x1ae4e0(_0x122fa0._0x58c704,0x1f1,0x36b,0x399)];return _0x4f5a25(_0x489999,{'flexDirection':_0x53dcb3(_0x122fa0._0x3ea6ae,0x99d,0x929,0x7ad),'children':_0x30aca9[_0x53dcb3(0x676,0x757,_0x122fa0._0x4ab43f,0x5d4)]>0x0?_0x30aca9[_0x1ae4e0(0x43,0x219,0x364,_0x122fa0._0x3bbb66)]((_0x567fc6,_0x227d51)=>{const _0x5ac113={_0x14c739:0xae,_0x23be28:0x1af};function _0x142d9a(_0x519fd2,_0x45cfd4,_0x222d92,_0x24cc49){return _0x1ae4e0(_0x519fd2-0xab,_0x222d92-0xc6,_0x519fd2,_0x24cc49-_0x2f102c._0x5af7ca);}function _0x3cc89f(_0x139f78,_0x481193,_0x13cf90,_0x5d140f){return _0x1ae4e0(_0x139f78-_0x5ac113._0x14c739,_0x481193- -0x87,_0x13cf90,_0x5d140f-_0x5ac113._0x23be28);}let _0x23fa34=_0x231167?.[_0x3cc89f(0x310,_0x2b982f._0xcc67b0,0x2a7,-_0x2b982f._0x1da7a3)](_0x567fc6['id']);if(_0x567fc6[_0x3cc89f(0x8b,-0xb6,-_0x2b982f._0x58a59e,-_0x2b982f._0x35cfa9)][_0x3cc89f(0x187,_0x2b982f._0x4d6e31,0x92,_0x2b982f._0x513304)]===_0x142d9a(_0x2b982f._0x1b2307,0x26c,0x429,_0x2b982f._0x23dc70)){let _0x2253d9=_0x25a282[_0x142d9a(0x2ad,_0x2b982f._0x4b4760,_0x2b982f._0x490581,_0x2b982f._0x2e7a3a)]?.[_0x142d9a(0x164,_0x2b982f._0x1c8aed,_0x2b982f._0x160a0d,_0x2b982f._0xba82d2)+_0x567fc6['id']];if(_0x2253d9)return _0x4f5a25(sn,{'toolCall':_0x567fc6,'subAgentState':_0x2253d9,'toolResult':_0x23fa34,'messageId':_0x25a282['id']},_0x567fc6['id']||_0x25a282['id']+_0x3cc89f(-0x219,-0x2b,-_0x2b982f._0x5e0317,-_0x2b982f._0x1dc972)+_0x227d51);}return _0x4f5a25(_0x489999,{'marginY':0x1,'children':_0x4f5a25(an,{'toolCall':_0x567fc6,'toolResult':_0x23fa34,'messageId':_0x25a282['id']},_0x567fc6['id']||_0x25a282['id']+_0x142d9a(_0x2b982f._0x32b8df,0x189,0x122,0x29c)+_0x227d51)},_0x567fc6['id']||_0x25a282['id']+_0x3cc89f(_0x2b982f._0x53e8ef,-_0x2b982f._0x5b1c32,_0x2b982f._0x13c979,-_0x2b982f._0x4a99b4)+_0x227d51);}):_0x155aec(_0x489999,{'flexDirection':_0x53dcb3(0x641,0x6de,0x50c,0x6bd),'marginY':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c[_0x53dcb3(_0x122fa0._0x435dd4,0x48e,0x31a,0x47e)]['tool'],'bold':!0x0,'children':'»'})}),_0x4f5a25(_0x584c0b,{'children':_0x25a282['content']})]})});}case _0x53dcb3(0x270,0x4c1,_0x122fa0._0x32f49c,0x481):return null;case _0x1ae4e0(0x1e1,_0x122fa0._0x29ff21,_0x122fa0._0x2220e1,0x464):return _0x155aec(_0x489999,{'flexDirection':'row','marginTop':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c['messageTypes'][_0x53dcb3(0x6b3,0x874,_0x122fa0._0x36d6aa,0x6d4)],'bold':!0x0,'children':'●'})}),_0x4f5a25(_0x584c0b,{'children':_0x25a282[_0x53dcb3(0x518,_0x122fa0._0x321152,_0x122fa0._0x564a25,0x4e2)]})]});case'warning':return _0x155aec(_0x489999,{'flexDirection':'row','marginTop':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c['messageTypes']['warning'],'bold':!0x0,'children':'●'})}),_0x4f5a25(_0x584c0b,{'children':_0x25a282['content']})]});case'info':return _0x155aec(_0x489999,{'flexDirection':_0x1ae4e0(_0x122fa0._0x592c76,0x22e,_0x122fa0._0x3d3f5c,0x182),'marginTop':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0x25a282[_0x53dcb3(0x50a,_0x122fa0._0x11999b,0x699,0x607)]||_0xfbfc1c[_0x1ae4e0(0x211,-_0x122fa0._0x152414,_0x122fa0._0x3dc8c0,-0x6c)][_0x53dcb3(0x9cd,0x809,0x91a,0x7be)],'bold':!0x0,'children':'●'})}),_0x4f5a25(_0x584c0b,{'color':_0x25a282[_0x53dcb3(0x7b2,_0x122fa0._0x276e2e,0x489,0x607)],'children':_0x25a282[_0x1ae4e0(_0x122fa0._0x37c85d,0x53,_0x122fa0._0x3455dc,-0x1c8)]})]});case _0x53dcb3(0x659,0x5fa,_0x122fa0._0x309f11,0x7b7):return _0x155aec(_0x489999,{'flexDirection':'row','marginTop':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c[_0x1ae4e0(_0x122fa0._0x4a07df,-0x11,_0x122fa0._0x44afec,0x37)][_0x1ae4e0(0x427,0x328,_0x122fa0._0x3bbb66,0x1c1)],'bold':!0x0,'children':'●'})}),_0x4f5a25(_0x584c0b,{'children':_0x25a282[_0x53dcb3(_0x122fa0._0x2c0ccf,_0x122fa0._0x4e45c2,0x3c1,0x4e2)]})]});case _0x1ae4e0(-_0x122fa0._0x57824a,-0x4f,_0x122fa0._0x3cded5,-_0x122fa0._0x1f3fd9):return _0x155aec(_0x489999,{'flexDirection':_0x53dcb3(_0x122fa0._0x1d757d,0x4cd,0x50b,0x6bd),'marginTop':0x1,'children':[_0x4f5a25(_0x489999,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c[_0x53dcb3(_0x122fa0._0x2cfccf,_0x122fa0._0x4b6ad3,_0x122fa0._0x7981d6,_0x122fa0._0x1242af)]['thinking'],'bold':!0x0,'children':'●'})}),_0x4f5a25(_0x584c0b,{'color':_0xfbfc1c['colors'][_0x53dcb3(_0x122fa0._0x3d02bd,0x840,_0x122fa0._0x1a7201,0x6f2)],'dimColor':!0x0,'children':_0x25a282[_0x1ae4e0(-0x34,0x53,0x73,0x4a)]})]});default:return _0x4f5a25(_0x584c0b,{'color':_0x25a282[_0x1ae4e0(_0x122fa0._0x24611e,0x178,0x1d,0x138)],'children':_0x25a282['content']});}};function _0x5496f5(_0x29fd22,_0x2c9802,_0xcb641d,_0x5e306d){return _0x7f0a6b(_0x29fd22-0x111,_0x5e306d- -0xe2,_0xcb641d,_0x5e306d-_0x272cda._0x3bc70d);}function _0x5d0eab(_0x234c74,_0xe80e8e,_0x4687df,_0x1ec784){return _0x7f0a6b(_0x234c74-_0x589a15._0x580a4c,_0x4687df- -_0x589a15._0x33fcb1,_0xe80e8e,_0x1ec784-0x157);}return _0x4f5a25(_0x489999,{'width':_0x5d0eab(_0x1ba837._0x5651f5,-_0x1ba837._0x783518,_0x1ba837._0x33719f,_0x1ba837._0x555575),'backgroundColor':_0x3127d7,..._0x8e84a5?{'borderStyle':'single','borderColor':_0xfbfc1c['colors']['accent'],'borderBottom':!0x1,'borderTop':!0x1,'borderLeft':!0x1}:{},'children':_0x3eb633()});},Yo=_0x3908bc[_0x5318c5(-0x10f,0x180,0x1c1,0xa)](Ad,(_0x3e1f83,_0x8fe71c)=>!(_0x3e1f83[_0x5318c5(0x332,0x306,0x37a,0x154)]['id']!==_0x8fe71c[_0x7f0a6b(0x186,0x22c,0x6b,0x1d4)]['id']||_0x3e1f83['message'][_0x7f0a6b(0x24b,0x148,0x28,0x22b)]!==_0x8fe71c[_0x7f0a6b(0xfa,0x22c,0x345,0x27d)]['content']||_0x3e1f83[_0x5318c5(-0xc,0x26c,0x372,0x154)][_0x5318c5(0x5be,0x1e8,0x4c5,0x3f3)]?.[_0x7f0a6b(0x3a0,0x3db,0x1c0,0x523)]!==_0x8fe71c[_0x7f0a6b(0xdb,0x22c,0x17c,0x45e)]['metadata']?.[_0x5318c5(0x32f,0x20e,0x4fe,0x303)]||_0x3e1f83['backgroundColor']!==_0x8fe71c[_0x7f0a6b(0x18a,0x382,0x5ba,0x30a)]||_0x3e1f83['liveMessage']!==_0x8fe71c[_0x5318c5(0x436,0x456,0x576,0x40c)]||_0x3e1f83['message'][_0x7f0a6b(0x42e,0x4cb,0x6fe,0x5cd)]!==_0x8fe71c[_0x7f0a6b(0x65,0x22c,0x343,0xa3)]['metadata']));import{Box as _0x36d2f7,Text as _0x3c60c1}from'ink';import _0x1763f3 from'ink-gradient';import{jsx as _0x2dae5e,jsxs as _0x198e46}from'react/jsx-runtime';var kd=_0x5aff65(),Ld='╭──┴──┴──┴──┴──┴──╮\x0a│\x20\x20●\x20\x20●\x20\x20●\x20─────\x20\x20│\x0a│\x20\x20NUVIN\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20│\x0a│\x20\x20>_\x20\x20\x20\x20\x20'+kd[_0x7f0a6b(0x84,0x1b9,0xa6,-0x75)](0x7,'\x20')+_0x7f0a6b(0x557,0x34e,0x276,0x1fc),Ei=({recentSessions:_0x3e126c})=>{const _0x2fb943={_0x4bd2db:0x25e,_0x510259:0x121,_0x16e5aa:0x318,_0x394f54:0x480,_0x257b1e:0x15e,_0x1121f3:0x34e,_0x371b4c:0x285,_0x1428c7:0x93,_0x5ee7ee:0x321,_0x2b914e:0x3ec};function _0x59cfa6(_0x1b3387,_0x6130eb,_0x51e131,_0x9d1adf){return _0x5318c5(_0x1b3387-0x1e,_0x51e131,_0x51e131-0x86,_0x6130eb-0x127);}function _0x1d3663(_0x1b7479,_0x3bbadb,_0xda5f63,_0x2c9bbb){return _0x7f0a6b(_0x1b7479-0x125,_0x1b7479- -0xc5,_0x3bbadb,_0x2c9bbb-0x9b);}let {cols:_0x4a533f}=$t();return _0x198e46(_0x36d2f7,{'flexDirection':_0x1d3663(_0x2fb943._0x4bd2db,_0x2fb943._0x510259,_0x2fb943._0x16e5aa,_0x2fb943._0x394f54),'width':_0x1d3663(0x8f,0x4f,0xf3,0x217),'marginTop':0x1,'marginBottom':0x4,'flexWrap':'nowrap','children':[_0x2dae5e(_0x36d2f7,{'justifyContent':_0x59cfa6(-0x7,_0x2fb943._0x257b1e,0x6f,0xce),'flexDirection':_0x1d3663(_0x2fb943._0x1121f3,_0x2fb943._0x371b4c,0x310,0x2e8),'alignItems':_0x59cfa6(0x9e,0x15e,0x31e,-_0x2fb943._0x1428c7),'marginRight':0x2,'children':_0x2dae5e(_0x1763f3,{'colors':[_0x59cfa6(0x36d,0x442,_0x2fb943._0x5ee7ee,_0x2fb943._0x2b914e),'#FFC371'],'children':_0x2dae5e(_0x3c60c1,{'children':''+Ld})})}),_0x4a533f>=0x3c&&_0x2dae5e(ki,{'recentSessions':_0x3e126c})]});},ki=({recentSessions:_0x3d26df})=>{const _0x43bc78={_0x18028c:0x534,_0x13fd2d:0x77e,_0x960ba9:0x625,_0x5955ba:0x84f,_0x2f3642:0x6a6,_0x1c842e:0x57e,_0x1962e5:0x4c1,_0x4ec6c1:0x42f,_0x3aebf7:0x88d,_0x66ba20:0xa55,_0x551146:0x97e,_0x404323:0x4bf,_0x56b80a:0x675,_0x50c6b0:0x7a1,_0x203dc9:0x923,_0x137f34:0x8f8,_0x3dad7b:0x714},_0x5976ec={_0x3a27e4:0x50b,_0x51d4b3:0x4b0,_0x3f4154:0x583,_0x2a7c2b:0x1fd,_0x2131fa:0x452,_0x3232f9:0x4bd,_0x3a8e64:0x37c,_0x19cd7e:0x10f,_0x205aa0:0x20a,_0x24a249:0x1fd,_0x1df624:0x33,_0x5d2194:0x1e8,_0x1a3df5:0x438,_0x41cd12:0x27d,_0x1f5776:0x3aa,_0x1fa42e:0x116,_0x3348da:0x123,_0x583afb:0x2f,_0x559633:0x121,_0x477459:0xc4,_0x4e0fe5:0x291,_0x5d17a7:0x2cc,_0x3349a2:0xc,_0x26270c:0x354,_0x5b798e:0x18e,_0x53e1e3:0x3c1,_0x73453d:0x3e4,_0x1f6f32:0x1c0},_0x30a3ef={_0x1bb4db:0x4b},_0x581364={_0x554d56:0x412,_0x18af4d:0x128},_0x980435={_0x2082f6:0x1cc,_0x2057c4:0xe4,_0x79435b:0x2ea};function _0x11b910(_0x19abc4,_0x45803e,_0x1cf6b5,_0x1ec916){return _0x5318c5(_0x19abc4-_0x980435._0x2082f6,_0x1ec916,_0x1cf6b5-_0x980435._0x2057c4,_0x1cf6b5-_0x980435._0x79435b);}let {theme:_0x2ee81e}=F(),{cols:_0x55b62b}=$t();function _0x598c0b(_0x3c40ef,_0xafc82e,_0x289edd,_0x2e3b61){return _0x7f0a6b(_0x3c40ef-0x1a5,_0xafc82e-_0x581364._0x554d56,_0x289edd,_0x2e3b61-_0x581364._0x18af4d);}return _0x198e46(_0x36d2f7,{'flexDirection':_0x11b910(_0x43bc78._0x18028c,_0x43bc78._0x13fd2d,_0x43bc78._0x960ba9,_0x43bc78._0x5955ba),'overflow':_0x598c0b(_0x43bc78._0x2f3642,0x685,0x6b4,_0x43bc78._0x1c842e),'width':_0x55b62b-0x18,'children':[_0x2dae5e(_0x3c60c1,{'color':_0x2ee81e['welcome'][_0x11b910(0x554,0x5fd,_0x43bc78._0x1962e5,_0x43bc78._0x4ec6c1)],'bold':!0x0,'underline':!0x0,'children':_0x598c0b(0xa1e,_0x43bc78._0x3aebf7,_0x43bc78._0x66ba20,_0x43bc78._0x551146)}),_0x3d26df[_0x598c0b(_0x43bc78._0x404323,0x64c,0x87c,0x7dc)]===0x0?_0x2dae5e(_0x3c60c1,{'color':_0x2ee81e[_0x11b910(0x587,0x7c8,_0x43bc78._0x56b80a,0x748)][_0x598c0b(_0x43bc78._0x50c6b0,0x84b,_0x43bc78._0x203dc9,_0x43bc78._0x137f34)],'dimColor':!0x0,'children':'No\x20recent\x20sessions'}):_0x3d26df[_0x598c0b(0x548,0x720,_0x43bc78._0x3dad7b,0x853)](_0x59a78b=>{const _0x3e2eb8={_0x3e3133:0x58,_0x582d75:0x181};function _0x268196(_0x4fc8c2,_0x215fbb,_0x21b486,_0x42b83f){return _0x598c0b(_0x4fc8c2-_0x30a3ef._0x1bb4db,_0x215fbb- -0x3e9,_0x42b83f,_0x42b83f-0x76);}function _0x4ec9b8(_0x634115,_0x449ab0,_0x207288,_0x59bc56){return _0x598c0b(_0x634115-_0x3e2eb8._0x3e3133,_0x59bc56- -0x4f1,_0x449ab0,_0x59bc56-_0x3e2eb8._0x582d75);}let _0x4ce68a=ui(_0x59a78b[_0x268196(0x681,_0x5976ec._0x3a27e4,_0x5976ec._0x51d4b3,_0x5976ec._0x3f4154)]),_0x285e82=(_0x59a78b[_0x268196(0x2a,_0x5976ec._0x2a7c2b,0x29a,0x35c)]||_0x59a78b[_0x268196(0x44d,_0x5976ec._0x2131fa,0x2fe,0x39a)])['split']('\x0a')['join']('\x20'),_0x30b637=fi(_0x59a78b[_0x268196(0x335,0x2e6,_0x5976ec._0x3232f9,_0x5976ec._0x3a8e64)]);return _0x198e46(_0x36d2f7,{'flexDirection':_0x4ec9b8(_0x5976ec._0x19cd7e,0x309,_0x5976ec._0x205aa0,0x244),'flexWrap':_0x4ec9b8(0x145,_0x5976ec._0x24a249,_0x5976ec._0x1df624,0x24),'overflow':_0x268196(_0x5976ec._0x5d2194,0x29c,0x326,_0x5976ec._0x1a3df5),'flexShrink':0x1,'children':[_0x2dae5e(_0x36d2f7,{'flexShrink':0x1,'overflow':'hidden','children':_0x2dae5e(_0x3c60c1,{'color':_0x2ee81e[_0x4ec9b8(0x572,0x43e,0x26e,0x384)][_0x268196(0x434,0x462,_0x5976ec._0x41cd12,_0x5976ec._0x1f5776)],'dimColor':!0x0,'wrap':_0x4ec9b8(_0x5976ec._0x1fa42e,-0x14d,_0x5976ec._0x3348da,-_0x5976ec._0x583afb),'children':_0x4ce68a+_0x268196(0x3ed,0x1f9,0x4d,_0x5976ec._0x559633)+_0x285e82})}),_0x2dae5e(_0x36d2f7,{'flexWrap':_0x268196(-_0x5976ec._0x477459,0x12c,_0x5976ec._0x4e0fe5,_0x5976ec._0x5d17a7),'flexShrink':0x0,'marginLeft':0x1,'children':_0x2dae5e(_0x3c60c1,{'color':_0x30b637[_0x4ec9b8(0x237,-_0x5976ec._0x3349a2,_0x5976ec._0x26270c,_0x5976ec._0x5b798e)],'dimColor':!0x0,'children':_0x30b637[_0x268196(_0x5976ec._0x53e1e3,_0x5976ec._0x73453d,0x27e,_0x5976ec._0x1f6f32)]})})]},_0x59a78b[_0x4ec9b8(0x1a,0x2e8,0xea,0x246)]);})]});};import{jsx as _0x8e5260,jsxs as _0x1a0935}from'react/jsx-runtime';function Bd(_0x14a805,_0x49a48b){const _0x3d2239={_0xf22f0b:0x474,_0x4172a5:0x300,_0x2e0536:0x45c},_0x2294ec={_0x3b96de:0x21c},_0x14d215={_0x36fb57:0x1e7,_0x21a5e7:0xdf};function _0x110377(_0xe4c741,_0x3fb1e5,_0x55d71d,_0x35e38c){return _0x5318c5(_0xe4c741-_0x14d215._0x36fb57,_0x35e38c,_0x55d71d-_0x14d215._0x21a5e7,_0x55d71d-0x3b4);}function _0x225811(_0x41c9ef,_0x1c1d5e,_0x185b18,_0x24fe81){return _0x5318c5(_0x41c9ef-0x2c,_0x185b18,_0x185b18-0xbb,_0x1c1d5e-_0x2294ec._0x3b96de);}if(_0x14a805[_0x110377(_0x3d2239._0xf22f0b,_0x3d2239._0x4172a5,0x516,0x6b3)]!==_0x49a48b[_0x225811(0x307,0x37e,0x4af,_0x3d2239._0x2e0536)])return!0x1;for(let _0x508a0=0x0;_0x508a0<_0x14a805[_0x110377(0x3af,0x4fe,0x516,0x554)];_0x508a0++)if(_0x14a805[_0x508a0]!==_0x49a48b[_0x508a0])return!0x1;return!0x0;}function _d(_0x370e2a,_0x5c9bf9){const _0x43fc6d={_0x54b868:0x68f,_0x14d2b8:0x2ae,_0x39000e:0x835,_0x4a927:0xa26,_0x1d30ac:0x925,_0x59fe8e:0x78b,_0x970848:0x871,_0x4349fc:0x42a,_0x5ae942:0x835,_0x54aa7b:0x73b,_0x5a3c89:0x761,_0x489228:0x772,_0x487789:0x54d,_0x43991d:0x4dc,_0x5035b7:0x3c4,_0x59d695:0x590,_0x5868ff:0x665,_0x1a8159:0x76c,_0x505e22:0x9ce,_0x262129:0x93b,_0x40d96a:0xac5,_0x423db3:0x6af,_0x310c31:0x5bc,_0x82e8ff:0x4ec,_0x524e43:0x86a,_0xa33cc8:0x60b,_0x43a25f:0x819,_0x33d33e:0x7a0,_0x291d4e:0x6f7,_0x16e74f:0x56c,_0x3295ba:0x4f3,_0x542ede:0x658,_0x257cd8:0x63a,_0x5c391a:0x839,_0x965681:0x923,_0x4138c6:0x84c,_0x5948b2:0x6a6,_0x1b3bfe:0x81a,_0x4ae7ff:0x7e1,_0x55d230:0x609,_0x40129d:0x5bf,_0x1eb0bc:0x7a5,_0x230589:0x37a,_0x4815c0:0x544,_0x397c15:0x578,_0xc2248f:0x75c,_0x2ae08c:0x6a6,_0x5baaf4:0x7ec,_0x177c10:0x59f,_0x191c0a:0x6f0},_0x4876f1={_0x5f545b:0x124},_0x5f5040={_0x4bd877:0x198,_0x1e98c7:0x541};let _0xde8751=[],_0x1b13f2=new Map();for(let _0x3e4cf5 of _0x370e2a)_0x3e4cf5[_0x1bdf5b(0x58c,0x63c,_0x43fc6d._0x54b868,0x46f)]===_0x45d25e(0x451,0x3e2,_0x43fc6d._0x14d2b8,0x269)&&_0x3e4cf5[_0x45d25e(_0x43fc6d._0x39000e,0x788,_0x43fc6d._0x4a927,_0x43fc6d._0x1d30ac)]?.[_0x1bdf5b(_0x43fc6d._0x59fe8e,0x89b,_0x43fc6d._0x970848,0x9a4)]?.['id']&&_0x1b13f2[_0x45d25e(_0x43fc6d._0x4349fc,0x58c,0x2db,0x520)](_0x3e4cf5[_0x45d25e(_0x43fc6d._0x5ae942,_0x43fc6d._0x54aa7b,_0x43fc6d._0x5a3c89,0x7ce)][_0x45d25e(_0x43fc6d._0x489228,_0x43fc6d._0x5a3c89,_0x43fc6d._0x487789,0x5b6)]['id'],_0x3e4cf5);function _0x1bdf5b(_0x4fb1d4,_0x32db73,_0x37f02d,_0x2b22f5){return _0x5318c5(_0x4fb1d4-_0x5f5040._0x4bd877,_0x4fb1d4,_0x37f02d-0x64,_0x37f02d-_0x5f5040._0x1e98c7);}let _0x1b4ba4=new Set();function _0x45d25e(_0x591a9b,_0x191fd4,_0x395126,_0x5a0fde){return _0x7f0a6b(_0x591a9b-0x107,_0x591a9b-0x36a,_0x395126,_0x5a0fde-_0x4876f1._0x5f545b);}for(let _0x121414 of _0x370e2a)if(_0x1b4ba4[_0x45d25e(_0x43fc6d._0x43991d,_0x43fc6d._0x5035b7,0x2b7,0x3ef)](_0x121414['id']),_0x121414[_0x45d25e(_0x43fc6d._0x59d695,0x3ee,0x4b6,0x689)]===_0x1bdf5b(_0x43fc6d._0x5868ff,0x430,0x5e8,_0x43fc6d._0x1a8159)){let _0x4d3ed5=_0x121414[_0x1bdf5b(0xa6f,0x7e0,0x934,_0x43fc6d._0x505e22)]?.[_0x1bdf5b(0xb25,0x9ed,_0x43fc6d._0x262129,_0x43fc6d._0x40d96a)]||[],_0xb5037=new Map(),_0x35412b=[];for(let _0x3445bd of _0x4d3ed5){let _0x5d6b54=_0x1b13f2['get'](_0x3445bd['id']);_0x5d6b54&&(_0xb5037['set'](_0x3445bd['id'],_0x5d6b54),_0x35412b['push'](_0x3445bd['id']));}if(_0xb5037[_0x45d25e(_0x43fc6d._0x423db3,_0x43fc6d._0x310c31,_0x43fc6d._0x82e8ff,_0x43fc6d._0x524e43)]>0x0){let _0x59117b=_0x5c9bf9[_0x45d25e(_0x43fc6d._0xa33cc8,0x815,0x3f2,0x558)](_0x121414['id']);if(_0x59117b&&_0x59117b[_0x1bdf5b(0x609,_0x43fc6d._0x43a25f,0x653,_0x43fc6d._0x33d33e)]===_0x121414&&Bd(_0x59117b[_0x45d25e(_0x43fc6d._0x291d4e,0x537,_0x43fc6d._0x16e74f,_0x43fc6d._0x3295ba)],_0x35412b))_0xde8751['push'](_0x59117b[_0x1bdf5b(_0x43fc6d._0x542ede,_0x43fc6d._0x257cd8,_0x43fc6d._0x5c391a,_0x43fc6d._0x965681)]);else{let _0x22c561={..._0x121414,'metadata':{..._0x121414['metadata'],'toolResultsByCallId':_0xb5037}};_0x5c9bf9['set'](_0x121414['id'],{'inputRef':_0x121414,'resultIds':_0x35412b,'output':_0x22c561}),_0xde8751[_0x1bdf5b(0x953,0x690,0x7a5,_0x43fc6d._0x4138c6)](_0x22c561);}for(let [,_0x5e4216]of _0xb5037)_0xde8751[_0x45d25e(_0x43fc6d._0x5948b2,_0x43fc6d._0x1b3bfe,_0x43fc6d._0x4ae7ff,_0x43fc6d._0x55d230)](_0x5e4216);}else _0xde8751[_0x1bdf5b(_0x43fc6d._0x40129d,0x5d9,_0x43fc6d._0x1eb0bc,0x6b7)](_0x121414);}else{if(_0x121414['type']===_0x1bdf5b(0x76e,_0x43fc6d._0x230589,0x550,0x749)){let _0x4db6a8=_0x121414[_0x1bdf5b(0xa08,0xb16,0x934,0x95e)]?.['toolResult']?.['id'];_0x4db6a8&&_0x370e2a[_0x1bdf5b(0x626,0x740,_0x43fc6d._0x4815c0,_0x43fc6d._0x397c15)](_0x2a5417=>_0x2a5417['type']===_0x1bdf5b(0x6fa,0x787,0x5e8,0x50b)&&_0x2a5417[_0x45d25e(0x835,0xa0b,0x6de,0x777)]?.[_0x45d25e(0x83c,0x688,0xa73,0x92d)]?.[_0x1bdf5b(0x5b2,0x4b8,0x544,0x6ea)](_0x47fa87=>_0x47fa87['id']===_0x4db6a8))||_0xde8751[_0x1bdf5b(_0x43fc6d._0xc2248f,0x5b1,0x7a5,0x60c)](_0x121414);}else _0xde8751[_0x45d25e(_0x43fc6d._0x2ae08c,_0x43fc6d._0x5baaf4,0x807,0x771)](_0x121414);}for(let _0x42dc74 of _0x5c9bf9[_0x45d25e(0x513,0x6f9,0x43d,0x456)]())_0x1b4ba4['has'](_0x42dc74)||_0x5c9bf9[_0x45d25e(_0x43fc6d._0x177c10,0x702,_0x43fc6d._0x191c0a,0x418)](_0x42dc74);return _0xde8751;}var Fd=({messages:_0x1d6f4c,headerKey:_0x13a9d2,sessions:_0x1b7c80})=>{const _0x27c12c={_0x51d034:0x53,_0x1660d2:0xf8,_0x4ccb8a:0x19d,_0x1cb9e0:0x2cd,_0x1f3309:0x71,_0x45390e:0x241,_0x4faa82:0x12d,_0x3b4464:0x114,_0x1acacc:0x30,_0xd6d346:0xfa,_0x3ec352:0x1a6,_0x5e450f:0x2c3,_0x4fecd0:0xfe,_0x28846a:0x26},_0x2a6fde={_0x2337d6:0x332,_0x4d0c0d:0x1e8,_0x526f0e:0x56d,_0xd5fbbb:0x5bd,_0x3acdc9:0x3d5,_0x47cc5c:0x320,_0xb1aae2:0x31a,_0x3117b1:0x266,_0x417301:0x253,_0x562e79:0x2fa,_0x310631:0x187,_0x2149eb:0x473,_0x5b863a:0x57d,_0x279918:0x238,_0x5d5e45:0x51f,_0x16a64b:0x458,_0x256f84:0x67,_0xc92ae9:0x42d,_0x5148c6:0x4ee,_0x2e91a0:0x41f,_0x286fbc:0x5da,_0x5ef60a:0x260},_0x1a4ecc={_0x520d94:0x10a},_0x2567c6={_0x4a36cf:0x128,_0x1620f0:0x293,_0x5d0557:0x26d,_0x2e36ba:0x461,_0x39dca3:0x36,_0x1491e0:0x29a,_0x4cda5b:0x283,_0x34e74a:0x1a2,_0x116099:0x404,_0x4a06a2:0x299,_0x525ef7:0x16,_0x1bb99b:0x208,_0x12e247:0x1a2,_0x31074e:0x16e,_0x1e739e:0x34a,_0x3a42f2:0x12f,_0x230313:0x2c0,_0x37e147:0x340},_0x5559c4={_0x1e80b9:0x152,_0x12657e:0x43a},_0xeee19d={_0x3ece23:0x1aa,_0x3f69bd:0x146},_0x3e6542={_0x226d0b:0x165,_0x57317b:0x334};function _0x1ac32e(_0xae5ed2,_0x4473cb,_0x3854bc,_0x41dad8){return _0x7f0a6b(_0xae5ed2-_0x3e6542._0x226d0b,_0x41dad8- -_0x3e6542._0x57317b,_0x3854bc,_0x41dad8-0x156);}function _0x5a077c(_0x3b4879,_0x3a8d9,_0x644a3d,_0x147581){return _0x7f0a6b(_0x3b4879-_0xeee19d._0x3ece23,_0x147581- -_0xeee19d._0x3f69bd,_0x3a8d9,_0x147581-0x147);}let _0x1c8091=_0x1b7c80??null,_0x248fd5=_0x360ab1(new Map()),_0x32ab4d=_0x382f73(()=>_d(_0x1d6f4c,_0x248fd5[_0x5a077c(0x81,-0x1a,0x388,0x1bf)]),[_0x1d6f4c]),_0x2db607=_0x382f73(()=>bs(_0x32ab4d),[_0x32ab4d]),_0x272e23=_0x56a058[_0x5a077c(0x1b0,0x7b,-_0x27c12c._0x51d034,_0x27c12c._0x1660d2)]([]),_0x5c47a4=_0x382f73(()=>{function _0x3ae23b(_0xf02e95,_0x5e3015,_0x401852,_0x2ad627){return _0x5a077c(_0xf02e95-0x16b,_0x401852,_0x401852-0x19d,_0x2ad627-0xae);}let _0x538c7c=_0x272e23[_0x3ae23b(_0x2567c6._0x4a36cf,_0x2567c6._0x1620f0,0x163,_0x2567c6._0x5d0557)],_0xc99f08=_0x32ab4d[_0x4d1e21(_0x2567c6._0x2e36ba,0x34a,0x352,0x3f4)](0x0,_0x2db607),_0x125d5e=_0x1e183c=>(_0x272e23[_0x3ae23b(0x42c,0x3df,0x30a,0x26d)]=_0x1e183c,_0x1e183c);if(_0x538c7c[_0x3ae23b(-_0x2567c6._0x39dca3,_0x2567c6._0x1491e0,_0x2567c6._0x4cda5b,_0x2567c6._0x34e74a)]===0x0||_0x2db607<_0x538c7c['length']||_0xc99f08[_0x4d1e21(_0x2567c6._0x116099,0x340,0x1aa,_0x2567c6._0x4a06a2)]>0x0&&_0x538c7c[0x0]?.['id']!==_0xc99f08[0x0]?.['id'])return _0x125d5e(_0xc99f08);function _0x4d1e21(_0x54d7a9,_0x2e8146,_0x36cb71,_0x33d17f){return _0x1ac32e(_0x54d7a9-0x93,_0x2e8146-_0x5559c4._0x1e80b9,_0x54d7a9,_0x2e8146-_0x5559c4._0x12657e);}if(_0x2db607>_0x538c7c[_0x3ae23b(-_0x2567c6._0x525ef7,0x94,_0x2567c6._0x1bb99b,_0x2567c6._0x12e247)]){let _0x1832b2=_0xc99f08[_0x4d1e21(_0x2567c6._0x31074e,_0x2567c6._0x1e739e,_0x2567c6._0x3a42f2,0x4a1)](_0x538c7c[_0x4d1e21(_0x2567c6._0x230313,_0x2567c6._0x37e147,0x1ba,0x3d6)]);return _0x125d5e([..._0x538c7c,..._0x1832b2]);}return _0x538c7c;},[_0x32ab4d,_0x2db607]),_0x4ce884=_0x360ab1(null),_0x14521d=_0x360ab1([]),_0x2214e4=_0x382f73(()=>{const _0x211873={_0x1799db:0x41,_0x10f754:0xd2};function _0x1ba6e8(_0xb9199d,_0x58fcc7,_0x5aba5e,_0x6e27a3){return _0x5a077c(_0xb9199d-_0x211873._0x1799db,_0xb9199d,_0x5aba5e-_0x211873._0x10f754,_0x58fcc7-0x13b);}let _0xe2a030=_0x1f7d00(0x130,_0x2a6fde._0x2337d6,0x1a7,_0x2a6fde._0x4d0c0d)+_0x13a9d2;(!_0x4ce884[_0x1f7d00(_0x2a6fde._0x526f0e,0x3d5,_0x2a6fde._0xd5fbbb,0x339)]||_0x4ce884[_0x1f7d00(0x27d,_0x2a6fde._0x3acdc9,0x49d,_0x2a6fde._0x47cc5c)]['id']!==_0xe2a030)&&(_0x4ce884['current']={'type':_0x1f7d00(_0x2a6fde._0xb1aae2,_0x2a6fde._0x3117b1,0x235,0x3d1),'id':_0xe2a030,'sessions':_0x1c8091??[]});let _0x15763f=[];_0x15763f[_0x1f7d00(0x2db,0x40c,0x57f,0x1ef)](_0x4ce884[_0x1ba6e8(_0x2a6fde._0x417301,_0x2a6fde._0x562e79,_0x2a6fde._0x310631,_0x2a6fde._0x2149eb)]),_0x15763f[_0x1f7d00(_0x2a6fde._0x5b863a,0x40c,_0x2a6fde._0x279918,_0x2a6fde._0x5d5e45)](..._0x5c47a4);let _0x2b8900=_0x14521d[_0x1ba6e8(0x274,0x2fa,_0x2a6fde._0x16a64b,0xe9)];function _0x1f7d00(_0x170a48,_0x319790,_0x46f631,_0x954b12){return _0x5a077c(_0x170a48-_0x1a4ecc._0x520d94,_0x170a48,_0x46f631-0x96,_0x319790-0x216);}return _0x2b8900[_0x1ba6e8(_0x2a6fde._0x256f84,0x22f,_0x2a6fde._0xc92ae9,0x42f)]===_0x15763f['length']&&_0x2b8900[_0x1ba6e8(_0x2a6fde._0x5148c6,_0x2a6fde._0x2e91a0,_0x2a6fde._0x286fbc,0x593)]((_0x3548ed,_0x38d71d)=>_0x3548ed===_0x15763f[_0x38d71d])?_0x2b8900:(_0x14521d[_0x1ba6e8(0x100,0x2fa,_0x2a6fde._0x5ef60a,0x419)]=_0x15763f,_0x15763f);},[_0x13a9d2,_0x1c8091,_0x5c47a4]),_0x28f245=_0x382f73(()=>_0x32ab4d[_0x5a077c(0x201,0x1dc,0x333,0xfe)](_0x5c47a4[_0x1ac32e(0x10a,-0x18e,0x124,-0xfa)]),[_0x32ab4d,_0x5c47a4]);return _0x1a0935(_0x1463fc,{'flexDirection':_0x5a077c(_0x27c12c._0x4ccb8a,0x4ce,0xd7,_0x27c12c._0x1cb9e0),'flexShrink':0x1,'overflow':_0x5a077c(0x64,_0x27c12c._0x1f3309,_0x27c12c._0x45390e,_0x27c12c._0x4faa82),'children':[_0x2214e4[_0x1ac32e(-0x1a2,_0x27c12c._0x3b4464,_0x27c12c._0x1acacc,-_0x27c12c._0xd6d346)]>0x0&&_0x8e5260(_0x1463fc,{'height':0x0,'flexDirection':_0x5a077c(0x2ff,_0x27c12c._0x3ec352,_0x27c12c._0x5e450f,0x2cd),'children':_0x8e5260(_0xf1fe43,{'items':_0x2214e4,'children':_0x300e6e=>_0x300e6e[_0x5a077c(0x2cd,0x28f,0x230,0xe0)]===_0x5a077c(0xad,0x241,0x139,0x50)?_0x8e5260(Ei,{'recentSessions':_0x300e6e[_0x5a077c(0x364,0x11d,0x334,0x30f)]},_0x300e6e['id']):_0x8e5260(Yo,{'message':_0x300e6e},_0x300e6e['id'])})}),_0x28f245[_0x1ac32e(0x148,-_0x27c12c._0x4fecd0,0xde,-_0x27c12c._0x28846a)](_0x127ee3=>_0x8e5260(Yo,{'message':_0x127ee3},_0x127ee3['id']))]});},Nd=_0x56a058[_0x7f0a6b(0x267,0xe2,0xae,0x111)](Fd);import{createContext as _0x4a69e5,useContext as _0x18c978,useState as _0x226064,useCallback as _0xa561b5,useEffect as _0x24baf4,useMemo as _0x2d2e65}from'react';import{jsx as _0x2a4a91}from'react/jsx-runtime';var _i=_0x4a69e5(null);function iT({children:_0x3964e0,initialConfig:_0x331fa2={}}){const _0x42a33a={_0x5e3354:0xe4},_0x51dc62={_0x1a76a0:0x48,_0x309e5a:0x11c,_0x35cc82:0x347},_0x3cadec={_0x2bf5ee:0x347,_0xe5f983:0x3ae,_0x2612f1:0x121,_0xd81173:0xce,_0x4f8354:0x68,_0x14b8e4:0x317,_0x15f362:0x5a,_0x4c2d42:0x149},_0x777759={_0xe37b4b:0x1d5,_0x51dc60:0x1f9},_0x1442ec={_0x7e224b:0xc0,_0x161e13:0x1c0,_0x3da915:0x29,_0x255791:0x89,_0x5c497f:0x585,_0x464be5:0x3d7,_0x587ea9:0x6d7},_0x5f083f={_0x2e7d96:0x588,_0x3c0ef8:0x7ea,_0x22a4bb:0x622,_0x188b57:0x6a0,_0x443878:0x332},_0x5caf13={_0xb1669f:0x125,_0x5a8c6f:0x28},_0x478f4a={_0x449d1a:0xd5,_0xd4b5:0x2aa},_0x26c858={_0x4c1950:0x7,_0x4787e8:0x30d,_0x4ccab6:0x111,_0x1f7f8f:0x287},_0x3ef559={_0x3e6f1a:0x64b,_0x1c6ce8:0x759,_0x374aed:0x6ce,_0x40292e:0x676,_0x42efdf:0x476,_0x175d1b:0x6db,_0xc809f6:0x6d2,_0x206d4b:0x527,_0x1dff97:0x3a0,_0x4c752d:0x74f,_0x3752f0:0x51e,_0x32c3bc:0x7ea,_0x528c17:0x6e1,_0x40bab6:0x6d4},_0x144bd3={_0x1c8bf9:0x2b0};let [_0xa1932,_0x231b07]=_0x226064(_0x331fa2),[_0x26ca8a,_0x4c7bd1]=_0x226064(),_0x208344=_0x21ba14[_0x4eb2f7(0x1b7,-0x11e,0x2a2,_0x42a33a._0x5e3354)]();_0x24baf4(()=>{const _0x1b07ae={_0x2dbbec:0x2b0},_0x47d9b4={_0x508075:0x74,_0x508557:0x9e};function _0x42b7b0(_0x566dc5,_0x2eb439,_0x416958,_0x5f2aac){return _0x4eb2f7(_0x566dc5-_0x47d9b4._0x508075,_0x416958,_0x416958-_0x47d9b4._0x508557,_0x2eb439-0x4ca);}function _0x2a85e1(_0x567e12,_0x9b32d8,_0x2f3ccc,_0x16b742){return _0x4eb2f7(_0x567e12-0x3c,_0x16b742,_0x2f3ccc-0x54,_0x567e12-_0x144bd3._0x1c8bf9);}let _0x56de34=async()=>{function _0xea24b4(_0x1c7dbe,_0x4b56f2,_0x9366d2,_0x3235a0){return _0xa481(_0x3235a0-_0x1b07ae._0x2dbbec,_0x1c7dbe);}function _0x1e7303(_0x679719,_0x54f88a,_0x307278,_0x4daae9){return _0xa481(_0x4daae9-0x35f,_0x54f88a);}try{await _0x208344[_0x1e7303(_0x3ef559._0x3e6f1a,_0x3ef559._0x1c6ce8,_0x3ef559._0x374aed,_0x3ef559._0x40292e)]();let _0x30d0a4=_0x208344[_0xea24b4(_0x3ef559._0x42efdf,_0x3ef559._0x175d1b,_0x3ef559._0xc809f6,_0x3ef559._0x206d4b)]();_0x231b07(_0x30d0a4);let _0xf80815=_0x208344[_0x1e7303(_0x3ef559._0x1dff97,0x52e,_0x3ef559._0x4c752d,_0x3ef559._0x3752f0)]();_0x4c7bd1(_0xf80815);}catch(_0x2cd958){console[_0xea24b4(0x69b,0x545,0x47a,0x69e)](_0x1e7303(0x733,_0x3ef559._0x32c3bc,_0x3ef559._0x528c17,_0x3ef559._0x40bab6),_0x2cd958);}};if(Object[_0x2a85e1(0x1af,-_0x26c858._0x4c1950,_0x26c858._0x4787e8,0x2d)](_0x331fa2)['length']>0x0){_0x208344['combined']=_0x331fa2;let _0x23b136=_0x208344[_0x2a85e1(_0x26c858._0x4ccab6,0x3e,0x1bb,_0x26c858._0x1f7f8f)]();_0x4c7bd1(_0x23b136);}else _0x56de34();},[_0x208344,_0x331fa2]);function _0x4eb2f7(_0x11c049,_0x2e46c2,_0x17039c,_0x1c89aa){return _0x7f0a6b(_0x11c049-_0x478f4a._0x449d1a,_0x1c89aa- -_0x478f4a._0xd4b5,_0x2e46c2,_0x1c89aa-0xcd);}let _0x1db0aa=_0xa561b5((_0x23b2c7,_0xb5a43c)=>_0x208344[_0x21b9d8(0x54a,0x510,0x53f,0x436)](_0x23b2c7,_0xb5a43c),[_0x208344]),_0x52ebfb=_0xa561b5(async(_0x4428d7,_0x3cd6e4,_0xc3f87)=>{const _0x49d3f5={_0x162c1a:0x79,_0x197052:0x188};function _0x26ec26(_0x3bc75f,_0x131d2a,_0x8d7504,_0x241260){return _0x21b9d8(_0x3bc75f-0xa,_0x131d2a-_0x49d3f5._0x162c1a,_0x8d7504-_0x49d3f5._0x197052,_0x3bc75f);}function _0x312ffa(_0x3892cf,_0xdf0e04,_0x5a6fbf,_0x1a65a5){return _0x21b9d8(_0x3892cf-_0x5caf13._0xb1669f,_0xdf0e04-_0x5caf13._0x5a8c6f,_0x5a6fbf-0x14a,_0x1a65a5);}try{await _0x208344[_0x312ffa(_0x5f083f._0x2e7d96,0x357,0x490,0x463)](_0x4428d7,_0x3cd6e4,_0xc3f87);let _0x5b25b7=_0x208344['getConfig']();_0x231b07(_0x5b25b7);}catch(_0x543806){throw console[_0x26ec26(_0x5f083f._0x3c0ef8,_0x5f083f._0x22a4bb,0x6fa,_0x5f083f._0x188b57)](_0x312ffa(0x3d5,0x33a,0x1c7,_0x5f083f._0x443878)+_0x4428d7+':',_0x543806),_0x543806;}},[_0x208344]),_0x1103bb=_0xa561b5(async(_0x595bd8,_0x331382=_0x21b9d8(0x2de,0x358,0x36b,0x22d))=>{const _0x4b3731={_0x1e579a:0x16c},_0x4f6b9b={_0x540276:0x143,_0x2a1e82:0x10e};function _0x37db5f(_0x47423f,_0x43984d,_0x5277c6,_0x2c4e15){return _0x4eb2f7(_0x47423f-_0x4f6b9b._0x540276,_0x5277c6,_0x5277c6-_0x4f6b9b._0x2a1e82,_0x47423f-0x1a7);}function _0x209980(_0x117d6d,_0xd81a49,_0x2cac66,_0x28dac0){return _0x21b9d8(_0x117d6d-0x1cf,_0x28dac0- -0x24,_0x2cac66-_0x4b3731._0x1e579a,_0x2cac66);}try{await _0x208344['delete'](_0x595bd8,_0x331382);let _0x40c995=_0x208344[_0x37db5f(_0x1442ec._0x7e224b,_0x1442ec._0x161e13,-_0x1442ec._0x3da915,-_0x1442ec._0x255791)]();_0x231b07(_0x40c995);}catch(_0x366aa9){throw console[_0x209980(0x67b,0x5bd,0x4e3,_0x1442ec._0x5c497f)](_0x209980(_0x1442ec._0x464be5,_0x1442ec._0x587ea9,0x529,0x4b7)+_0x595bd8+':',_0x366aa9),_0x366aa9;}},[_0x208344]),_0x4bc984=_0xa561b5(async()=>{function _0xd27c0(_0x58708b,_0x45468a,_0x1bcf9d,_0x1502b1){return _0x4eb2f7(_0x58708b-_0x777759._0xe37b4b,_0x1502b1,_0x1bcf9d-0xe3,_0x1bcf9d-_0x777759._0x51dc60);}function _0x461c74(_0x2adbc0,_0x106296,_0x542798,_0x12e905){return _0x21b9d8(_0x2adbc0-0x67,_0x2adbc0-0x197,_0x542798-0xd2,_0x12e905);}try{await _0x208344[_0xd27c0(0x26a,_0x3cadec._0x2bf5ee,0x1b2,_0x3cadec._0xe5f983)]();let _0x3054d9=_0x208344[_0xd27c0(-_0x3cadec._0x2612f1,_0x3cadec._0xd81173,0x112,-_0x3cadec._0x4f8354)]();_0x231b07(_0x3054d9);}catch(_0x1093ab){throw console[_0xd27c0(_0x3cadec._0x14b8e4,0x358,0x289,0x356)](_0xd27c0(_0x3cadec._0x15f362,-0xd8,_0x3cadec._0x4c2d42,0x2f8),_0x1093ab),_0x1093ab;}},[_0x208344]),_0x486f8f=_0xa561b5(()=>_0x26ca8a,[_0x26ca8a]),_0x1041c7=_0x2d2e65(()=>({'config':_0xa1932,'get':_0x1db0aa,'set':_0x52ebfb,'delete':_0x1103bb,'reload':_0x4bc984,'getCurrentProfile':_0x486f8f}),[_0xa1932,_0x1db0aa,_0x52ebfb,_0x1103bb,_0x4bc984,_0x486f8f]);function _0x21b9d8(_0x257dac,_0x3a381f,_0x43f87f,_0x8f3bc5){return _0x5318c5(_0x257dac-_0x51dc62._0x1a76a0,_0x8f3bc5,_0x43f87f-_0x51dc62._0x309e5a,_0x3a381f-_0x51dc62._0x35cc82);}return _0x2a4a91(_i[_0x4eb2f7(0xac,0x37,0x370,0x19b)],{'value':_0x1041c7,'children':_0x3964e0});}function qo(){const _0x11f2c6={_0x451d1f:0x645,_0x40832b:0x49c},_0x8fb2e0={_0x226596:0xa8,_0x5e9a9b:0x1f};let _0x107cc3=_0x18c978(_i);function _0x1bac70(_0x3056c7,_0x3d3697,_0x364374,_0x10be59){return _0x5318c5(_0x3056c7-_0x8fb2e0._0x226596,_0x10be59,_0x364374-_0x8fb2e0._0x5e9a9b,_0x364374-0x2dd);}if(!_0x107cc3)throw new Error(_0x1bac70(_0x11f2c6._0x451d1f,0x2d3,0x448,_0x11f2c6._0x40832b));return _0x107cc3;}import _0x5b1f56,{useState as _0x1faba6,useEffect as _0x3aa3de}from'react';import{Box as _0x29569c,Text as _0x2192dd}from'ink';var Fi={'OFF':_0x5318c5(-0xb6,0x114,0x23c,0x8),'LOW':_0x5318c5(0x21a,0x296,0x207,0xb2),'MEDIUM':'MEDIUM','HIGH':'HIGH'};import{jsx as _0x5e5a9c,jsxs as _0x3b3255}from'react/jsx-runtime';var Gd=({status:_0x325275,metrics:_0x3ef38d,vimModeEnabled:_0xc1cc18=!0x1,vimMode:_0x283605=_0x7f0a6b(0x1a8,0x1bc,0x203,0x266),workingDirectory:_0x66b107,sessionId:_0x166ea6})=>{const _0x46877e={_0x48429f:0x15b,_0x408d8e:0x4cc,_0x6609f2:0x3a3,_0x5e7475:0x432,_0xf00333:0x55f,_0x4b2295:0x49b,_0x38ace7:0xe1,_0x368f38:0xe3,_0x348b6d:0x2cf,_0x54627b:0x37e,_0x101995:0xfc,_0x138535:0x1f6,_0x4dafc1:0x2e,_0x249114:0x677,_0x2e787d:0x713,_0x54b1a4:0x51c,_0x311848:0x332,_0x48319b:0x112,_0x313f73:0x38b,_0x4b4201:0x63d,_0x4b890e:0x15e,_0x244a48:0x101,_0x283f3b:0x25e,_0x514b38:0x29b,_0x2e8440:0x202,_0x3f138e:0x24,_0xe01f6f:0x75,_0x5c578a:0x330,_0x3fcd85:0x13b,_0x4e5b58:0x10,_0x424c85:0x98,_0x50c6d3:0x2f9,_0x51f150:0x20b,_0xce4c45:0x1a3,_0x39df3c:0x6d2,_0x32d80e:0x2bb,_0x48b4cb:0x133,_0x100905:0x64,_0x273976:0x3e5,_0x11654a:0x2a0,_0x103a34:0x111,_0x3da308:0x25,_0x538908:0x1ea,_0x73205c:0x43,_0x214430:0xb9,_0x39f9b5:0xb2,_0xe2030f:0x17b,_0x14e567:0x405,_0x235cd7:0x2c6,_0x8935c3:0x1ab,_0x504668:0x4ee,_0x834fc6:0x307,_0x4c7119:0x501,_0x3ffa87:0x225,_0x33c922:0x41,_0x2d51d8:0x188,_0x4a1f35:0x7c,_0x47f039:0x3d1,_0x593c15:0x448,_0x4f0988:0x185,_0x5f4394:0x32c,_0x54f500:0x1d3,_0x2534c9:0x153,_0x48a3fc:0x388,_0x3a550d:0x399,_0x438b22:0x1a9,_0x2df16e:0x6e8,_0xd336f2:0x31b,_0x13d6d9:0xbd,_0x4415d8:0x24a,_0x122f1c:0xd1,_0x196a4c:0x100,_0xb98f08:0x21c,_0x3f4f65:0x259,_0x497bb5:0x23e,_0x15bec0:0x401,_0x500496:0x1c3,_0x500db0:0x14d,_0x19af4c:0x52,_0x489f37:0x1a7,_0x5a2b31:0xbd,_0x11f684:0x156,_0x5f2c44:0x25c,_0x4fee38:0x19a,_0x5eabf3:0x136,_0x5522f1:0x2e5,_0x18989d:0x2d9,_0x5a856b:0x23f,_0x29804f:0x2f0,_0x6b1742:0x2fa,_0x17a6dc:0xc,_0x526784:0xf9,_0xe1ad48:0x45a,_0x22aa62:0x358,_0x514fa4:0x1b7,_0xe6634c:0xe9,_0x3aa502:0x228,_0x3b31bd:0x141,_0x1db879:0x10f,_0x482b0e:0x2fc,_0x294392:0x278,_0x170d48:0x3b3,_0x5b6c97:0x62e,_0x4900fe:0x5b9,_0x46e290:0x5bf,_0x1ea3c0:0x676,_0x22f485:0x36a,_0x15b03a:0x3b3,_0xae70d2:0x1f3,_0x5ab4e5:0x4f8,_0x28835e:0x308,_0x2b44c3:0x164,_0x505e4e:0x34,_0x503eb5:0x10c,_0x78cb:0x1bf,_0x1c7dc1:0x1e4,_0x13d694:0x3bf,_0x2e2837:0x4ad,_0x4196ba:0xd3,_0x6aa4bd:0xc8,_0x2ef28b:0x3df,_0x1d99a2:0x51,_0x25160f:0x34,_0x5c6221:0x1db,_0x331c23:0x249,_0x58accc:0x211,_0x28753c:0x105,_0x4bf455:0x339,_0xe1b320:0x4b,_0x3af974:0x243},_0x307166={_0x44722e:0x4f9,_0x5ba1b2:0x463,_0x1fe0a5:0x59a},_0x32c73a={_0x428df7:0xe4},_0x52d294={_0x52cb06:0xe7,_0x5d0b2b:0x143};function _0x3086c1(_0x3c554e,_0x238e40,_0x1bff37,_0x21998b){return _0x7f0a6b(_0x3c554e-_0x52d294._0x52cb06,_0x3c554e-0x1f,_0x21998b,_0x21998b-_0x52d294._0x5d0b2b);}let {notification:_0x30ac3d}=Ht(),{theme:_0x57d5d0}=F(),{toolApprovalMode:_0x24bdc5}=Re(),{get:_0x461980,getCurrentProfile:_0xdabbe0}=qo(),[_0x41b119,_0x11f565]=_0x1faba6(null);function _0xd52923(_0x2e06dc,_0x5d126e,_0x42a507,_0x55878c){return _0x5318c5(_0x2e06dc-_0x32c73a._0x428df7,_0x55878c,_0x42a507-0x153,_0x5d126e-0x1c);}_0x3aa3de(()=>{function _0x2d7027(_0x4a4cae,_0x4e0c36,_0x33031d,_0x3022f5){return _0xa481(_0x4a4cae- -0x19,_0x33031d);}if(!_0x66b107)return;let _0x1330e9=!0x1;return pi(_0x66b107)[_0x2d7027(_0x307166._0x44722e,_0x307166._0x5ba1b2,0x4f1,_0x307166._0x1fe0a5)](_0x431d36=>{_0x1330e9||_0x11f565(_0x431d36);}),()=>{_0x1330e9=!0x0;};},[_0x66b107]);let _0x4948d4=_0x461980(_0x3086c1(0xc5,0x11b,0xbe,-_0x46877e._0x48429f)),_0x5ab0e9=_0x461980(_0x3086c1(0x351,_0x46877e._0x408d8e,_0x46877e._0x6609f2,0x1ee)),_0x501139=_0x461980('model'),_0x1ebbbc=_0xdabbe0?.();return _0x3b3255(_0x29569c,{'justifyContent':'space-between','flexDirection':_0x3086c1(_0x46877e._0x5e7475,_0x46877e._0xf00333,_0x46877e._0x4b2295,0x4be),'children':[_0x3b3255(_0x29569c,{'justifyContent':_0xd52923(0x310,_0x46877e._0x38ace7,-0x113,-_0x46877e._0x368f38),'flexWrap':_0x3086c1(_0x46877e._0x348b6d,0x4b5,_0x46877e._0x54627b,0x1c7),'children':[_0x30ac3d?_0x5e5a9c(_0x2192dd,{'color':_0x57d5d0[_0x3086c1(_0x46877e._0x101995,0x2dc,-0x113,0x110)][_0x3086c1(_0x46877e._0x138535,0xe8,_0x46877e._0x4dafc1,0x25)],'children':_0x30ac3d||''}):_0x3b3255(_0x29569c,{'alignSelf':_0x3086c1(0x51d,_0x46877e._0x249114,_0x46877e._0x2e787d,0x4c6),'children':[_0xc1cc18&&_0x3b3255(_0x2192dd,{'color':_0x57d5d0['footer'][_0xd52923(0x62e,0x40b,_0x46877e._0x54b1a4,_0x46877e._0x311848)],'dimColor':!0x0,'children':[_0x283605==='insert'?_0xd52923(0x4f,0x122,_0x46877e._0x48319b,-0x55):'--\x20NORMAL\x20--','\x20|\x20']}),_0x5e5a9c(_0x2192dd,{'color':_0x57d5d0['footer'][_0x3086c1(0x4e6,0x52c,_0x46877e._0x313f73,_0x46877e._0x4b4201)],'dimColor':!0x0,'children':[_0x1ebbbc&&_0x1ebbbc!==_0xd52923(_0x46877e._0x4b890e,0x124,-_0x46877e._0x244a48,0x20b)?_0x1ebbbc:null,_0x5ab0e9+':'+_0x501139,_0x166ea6&&_0xd52923(0x24c,0x16f,_0x46877e._0x283f3b,_0x46877e._0x514b38)+_0x166ea6,_0x4948d4&&_0x4948d4!==Fi[_0xd52923(_0x46877e._0x2e8440,_0x46877e._0x3f138e,-0x1ec,-_0x46877e._0xe01f6f)]?_0x3086c1(_0x46877e._0x5c578a,0x4da,0x24f,0x2dd)+_0x4948d4:'',_0x24bdc5?'':_0xd52923(0x2ad,0x2d9,0x1c8,0x155)][_0xd52923(0x33e,_0x46877e._0x3fcd85,-_0x46877e._0x4e5b58,0x92)](Boolean)[_0xd52923(-_0x46877e._0x424c85,0x126,-0x97,-0x79)](_0xd52923(_0x46877e._0x50c6d3,_0x46877e._0x51f150,_0x46877e._0xce4c45,0x41f))})]}),_0x3ef38d?.[_0x3086c1(0x4e4,0x32e,_0x46877e._0x39df3c,0x31a)]||_0x3ef38d?.[_0xd52923(_0x46877e._0x32d80e,0xa8,-_0x46877e._0x48b4cb,_0x46877e._0x100905)]?_0x3b3255(_0x29569c,{'alignSelf':_0xd52923(_0x46877e._0x273976,0x442,0x390,0x430),'flexGrow':0x1,'justifyContent':'flex-end','children':[_0x5e5a9c(_0x2192dd,{'color':_0x57d5d0['footer'][_0xd52923(_0x46877e._0x11654a,_0x46877e._0x103a34,-0x2c,-_0x46877e._0x3da308)],'dimColor':!0x0,'bold':!0x0,'children':'Tokens:'}),_0x3b3255(_0x2192dd,{'color':_0x57d5d0[_0x3086c1(_0x46877e._0x538908,0x212,0x396,-_0x46877e._0x73205c)][_0xd52923(_0x46877e._0x214430,0x111,-_0x46877e._0x39f9b5,_0x46877e._0xe2030f)],'bold':!0x0,'children':['\x20',He(_0x3ef38d['currentTokens'])]}),_0x3ef38d[_0xd52923(0x4eb,_0x46877e._0x14e567,_0x46877e._0x235cd7,0x1e8)]&&_0x3ef38d['contextWindowUsage']!==void 0x0?_0x3b3255(_0x2192dd,{'color':mi(_0x3ef38d[_0x3086c1(0x307,_0x46877e._0x8935c3,0x3c0,_0x46877e._0x504668)],_0x57d5d0),'dimColor':!0x0,'children':['\x20','(',Math[_0x3086c1(0x2c1,0x3be,0x213,0x335)](_0x3ef38d[_0x3086c1(_0x46877e._0x834fc6,_0x46877e._0x4c7119,0x3e2,_0x46877e._0x3ffa87)]*0x64),'%)']}):null,_0x3ef38d[_0x3086c1(0x183,-_0x46877e._0x33c922,0x1ef,0x23f)]>0x0&&_0x3b3255(_0x2192dd,{'color':_0x57d5d0[_0x3086c1(0x1ea,0x2b1,-0x4b,_0x46877e._0x2d51d8)]['model'],'dimColor':!0x0,'children':['\x20','/\x20',He(_0x3ef38d[_0xd52923(_0x46877e._0x4a1f35,0xa8,0x1b0,0x27b)])]}),_0x3ef38d[_0xd52923(0x478,0x3df,_0x46877e._0x47f039,_0x46877e._0x593c15)]>0x0&&_0x3b3255(_0x2192dd,{'color':_0x57d5d0[_0x3086c1(0xfc,_0x46877e._0x4f0988,_0x46877e._0x5f4394,_0x46877e._0x54f500)][_0xd52923(-0x75,_0x46877e._0x2534c9,_0x46877e._0x48a3fc,0x302)],'dimColor':!0x0,'children':['\x20',_0x3086c1(_0x46877e._0x3a550d,_0x46877e._0x438b22,0x547,0x478),He(_0x3ef38d[_0x3086c1(0x4ba,_0x46877e._0x2df16e,0x5d2,_0x46877e._0xd336f2)])]}),_0x3ef38d[_0x3086c1(_0x46877e._0x13d6d9,_0x46877e._0x4415d8,-_0x46877e._0x122f1c,_0x46877e._0x196a4c)]>0x0&&_0x3b3255(_0x2192dd,{'color':_0x57d5d0[_0x3086c1(0xfc,_0x46877e._0xb98f08,0x280,_0x46877e._0x3f4f65)][_0xd52923(0x417,_0x46877e._0x497bb5,_0x46877e._0x15bec0,_0x46877e._0x500496)],'dimColor':!0x0,'children':['\x20',_0x3086c1(_0x46877e._0x500db0,_0x46877e._0x19af4c,_0x46877e._0x489f37,0x33b),_0x3ef38d[_0x3086c1(_0x46877e._0x5a2b31,0x2a5,-0xf6,-0x130)]]}),_0x3ef38d[_0xd52923(_0x46877e._0x11f684,0x20a,0xd5,_0x46877e._0x5f2c44)]>0x0&&_0x3b3255(_0x2192dd,{'color':_0x57d5d0['tokens'][_0xd52923(_0x46877e._0x4fee38,0x1c1,0x3c3,_0x46877e._0x5eabf3)],'dimColor':!0x0,'children':['\x20',_0xd52923(0x113,0xad,-0x17e,0x1e8),_0x3ef38d[_0x3086c1(_0x46877e._0x5522f1,0x518,_0x46877e._0x18989d,0x3d3)]]}),_0x3ef38d[_0xd52923(_0x46877e._0x5a856b,_0x46877e._0x29804f,_0x46877e._0x5522f1,0x16d)]>0x0&&_0x3b3255(_0x2192dd,{'color':_0x57d5d0[_0x3086c1(0xfc,-0x5,_0x46877e._0x6b1742,_0x46877e._0x17a6dc)]['cyan'],'dimColor':!0x0,'children':['\x20',_0x3086c1(0x233,0xdd,0xe0,0x3b8),St(_0x3ef38d[_0xd52923(0x428,_0x46877e._0x29804f,_0x46877e._0x526784,_0x46877e._0xe1ad48)])]})]}):null]}),_0x66b107&&_0x3b3255(_0x29569c,{'paddingTop':0x0,'backgroundColor':_0x57d5d0[_0x3086c1(0x1ea,0x3df,0x7b,_0x46877e._0x22aa62)][_0x3086c1(_0x46877e._0x514fa4,0x1cb,0x149,0x3a4)],'justifyContent':'space-between','flexWrap':_0x3086c1(0x2cf,0x403,0x44e,_0x46877e._0xe6634c),'overflow':_0x3086c1(0x292,0x64,0x369,_0x46877e._0x3aa502),'children':[_0x3b3255(_0x29569c,{'children':[_0x5e5a9c(_0x2192dd,{'color':_0x57d5d0[_0xd52923(0x214,0x10f,0xcf,_0x46877e._0x3b31bd)]['currentDir'],'children':ci(_0x66b107)}),_0x5e5a9c(_0x2192dd,{'dimColor':!0x0,'color':_0x57d5d0[_0xd52923(-0xab,_0x46877e._0x1db879,_0x46877e._0x482b0e,_0x46877e._0x294392)][_0xd52923(0x3d2,0x406,_0x46877e._0x170d48,_0x46877e._0x5b6c97)],'children':_0x41b119&&':'+_0x41b119})]}),_0x5e5a9c(_0x29569c,{'alignSelf':'flex-end','flexGrow':0x1,'justifyContent':_0xd52923(_0x46877e._0x4900fe,0x442,_0x46877e._0x46e290,_0x46877e._0x1ea3c0),'children':_0x3b3255(_0x2192dd,{'dimColor':!0x0,'children':[_0x5e5a9c(_0x2192dd,{'color':_0x57d5d0['colors'][_0xd52923(0x340,_0x46877e._0x22f485,0x157,0x316)],'children':'/'}),_0x3086c1(_0x46877e._0x15b03a,_0x46877e._0xae70d2,_0x46877e._0x5ab4e5,_0x46877e._0x28835e),_0xd52923(_0x46877e._0x2b44c3,_0x46877e._0x505e4e,-_0x46877e._0x503eb5,0xe1),_0x5e5a9c(_0x2192dd,{'color':_0x57d5d0[_0x3086c1(_0x46877e._0x78cb,_0x46877e._0x1c7dc1,0xc4,0x137)][_0xd52923(_0x46877e._0x13d694,0x36a,_0x46877e._0x2e2837,0x134)],'children':_0xd52923(_0x46877e._0x4196ba,0x229,_0x46877e._0x6aa4bd,_0x46877e._0x2ef28b)}),_0x3086c1(0x16a,-_0x46877e._0x1d99a2,_0x46877e._0x25160f,_0x46877e._0x5c6221),_0x3086c1(_0x46877e._0x1db879,_0x46877e._0x331c23,_0x46877e._0x58accc,_0x46877e._0x28753c),_0x5e5a9c(_0x2192dd,{'color':_0x57d5d0['colors']['accent'],'children':_0x3086c1(0x16c,_0x46877e._0x4bf455,_0x46877e._0xe1b320,0x119)}),_0xd52923(_0x46877e._0x3af974,0x77,0x85,-_0x46877e._0x103a34)]})})]})]});},Yd=_0x5b1f56['memo'](Gd);import{createContext as _0x59ba93,useContext as _0x54aaef}from'react';import{jsx as _0x471183}from'react/jsx-runtime';var Ni=_0x59ba93(void 0x0),ST=({children:_0xc7197c,altMode:_0x514c20=!0x1})=>_0x471183(Ni[_0x5318c5(0x332,0x388,0x26a,0x36d)],{'value':{'altMode':_0x514c20},'children':_0xc7197c}),Oi=()=>{const _0x13d08b={_0x198d5e:0x121,_0x383125:0x2e6,_0x28ff0b:0x1e8},_0x5674de={_0x1c1f6c:0xbf,_0x38fc05:0x1e6};function _0x314486(_0x5197e1,_0x29353d,_0x4930ec,_0x11c72c){return _0x5318c5(_0x5197e1-0x1b6,_0x5197e1,_0x4930ec-_0x5674de._0x1c1f6c,_0x29353d-_0x5674de._0x38fc05);}let _0xcbc2cf=_0x54aaef(Ni);return _0xcbc2cf||(console[_0x314486(_0x13d08b._0x198d5e,_0x13d08b._0x383125,0x34f,_0x13d08b._0x28ff0b)]('useAltMode\x20used\x20outside\x20AltModeProvider,\x20using\x20defaults'),{'altMode':!0x1});};import{forwardRef as _0x3c6bf6,useMemo as _0xf7e0a0,useCallback as _0x1b4da2,useRef as _0x307caf,useEffect as _0x495443,useState as _0x51d9da}from'react';import{Box as _0x5579ed,Text as _0x260b5a}from'ink';import{useState as _0x294360,useMemo as _0x337db7,useRef as _0xe1a3ef,useCallback as _0xc4265c}from'react';import{Box as _0x43ba1f,Text as _0x5664cc}from'ink';import{Box as _0x3f43f0,Text as _0x3b03e7}from'ink';function _0x5318c5(_0x575c7d,_0x37cc6a,_0x5743e6,_0x193f3b){return _0xa481(_0x193f3b- -0x18c,_0x37cc6a);}import{isTodoWriteArgs as _0x4cd01f,parseToolArguments as _0x21a060}from'@nuvin/nuvin-core';function _0x5aff(){const _0x192964=['Aw1Hz2uVyxzPzG','z2v0uhjVzMLSzvbHDgHZ','Bw91C2vFC3vIxW','DxnLCKnVBNrLBNq','DhjHBNnMB3jT','vevstq','BhnFDg9VBa','CNvUBMLUzW','BwTKAxjtEw5J','FcbdywnOzwq6ia','BNv2Aw4TywDLBNq','Ag9Tzq','Bwv0ywrHDgeUDg9VBenHBgXZrxHLy3v0zwq','C2v0rw5HyMXLzefNzw50CW','ihrVB2XZicG','z2v0tw9KzwXZ','z2v0u25HChnOB3q','yMfJA2DYB3vUzenVBg9Y','ChjLzML4','q29TCgXLDguGyxv0AgvUDgLJyxrPB24GAw4GEw91CIbICM93C2vY','B2f1DgHdB25MAwC','y29Kzv9JAgfSBgvUz2vFBwv0Ag9K','zw1VAMLuCMfUC2zVCM0','y29UDMvYC2f0Aw9Uswq','icH0CNvUy2f0zwqP','igXPBMvZ','ihrVB2XZ','B3b0Aw9UCW','CMvZDwX0swrZ','z2v0sw5ZDgfUy2u','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9KzwvWAw5MCMeUy29Tl2rHC2GVyxbPx2TLExm','B2XKtgLUzu51Bq','u3vIqwDLBNrdB21WBgv0zwq','ig1VCMu','DMfSDwvZ','ignVBw1HBMq','u1vetW','rxjYB3i6ia','CMvJzw50vg9VBenHBgXZ','y3vYCMvUDfbYB21WDfrVA2vUCW','CMvHzhK','y2XP','w2LTywDLoG','sw5PDgLHBgL6Aw5N','CMvZDwX0','zJeX','z2L0AhvI','C3vIC3rYAw5N','CxvLCNK','z3b0ltuTBwLUAq','CMvTB3zL','C2v0t3jJAgvZDhjHDg9Y','AxnuCMfUC2LLBNq','BwnWxW','zgvLCgLUzNjH','CgvUzgLUzW','AcbHz28','u2vHCMnOignVBxbSzxrL','q29UzMLNDxjHDgLVBIbZyxzLzcbZDwnJzxnZzNvSBhKH','Dg90ywXdB3n0','yMfZzw5HBwu','z2vUzxjHDgLUzW','ywz0zxjjBNzVA2u','B3bLBMfPl2DWDc00BW','qwjVCNrLza','Aw5KzxG','q29TBwfUza','zxn0Aw1HDgvKq29ZDa','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms03meiTsw5ZDhj1y3q','wZuK','AxnbCNjHEq','rvndihrVigDVigjHy2S','C3vTBwfYAxPLqw5Kq3jLyxrLtMv3u2vZC2LVBG','yxjNCW','Dgv4Da','q29UDMvYC2f0Aw9Uu3rVCMuGBM90igLUAxrPywXPEMvK','DxnL','tM8Gy29UDMvYC2f0Aw9UigHPC3rVCNKGDg8Gy29TChjLC3m','AgLZDg9YEq','zMLSzv9WyxrO','tM8GChjLDMLVDxmGC2vZC2LVBNmGzM91BMqU','B2f1DgG','rxjYB3i','C2vSzwn0zwqGChjVDMLKzxi','CgvYC2LZDev2zw50tg9N','C3bSAxq','ywDLBNrjza','ywn0Aw9Uu2vSzwn0zwq','wYTD','CMfUzg9Tvvvjra','Bwv0ywrHDgeUDg9Rzw5ZvxnLza','C2vHCMnOugfYyw1Z','u3vJy2vZC2z1BgX5','w01ducbjBML0xsbgywLSzwqGDg8GAw5PDgLHBgL6zsbnq1aGC2vYDMvYCZO','uhjLC3mGrvndigfNywLUihrVihn0B3aGDgHLihbYB2nLC3m','B3v0Chv0','yxv0Ac1PBNb1Da','vw5ZDxbWB3j0zwqGAw1Hz2uGDhLWzsbMB3iG','vvjm','Aw5ZDgfUy2u','CMvMCMvZAf90B2TLBG','rMfPBgvKihrVignYzwf0zsbUzxCGC2vZC2LVBG','ywDLBNruB01LC3nHz2vnyxa','zMLSzv9YzwfK','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms04qI1jBNn0CNvJDa','zM9YD2fYza','AxntDhjLyw1PBMC','z2v0u3rHDhvZ','C2v0u2vSzwn0zwrjBMrLEa','yxbWCM92ywXjza','Aw5FChjVz3jLC3m','z3jLzw5cCMLNAhq','rgLYzwn0B3j5ifbHDgG','w35D','Dg9VBenHBgXnzxnZywDLswq','igzPBgvZ','Dg9KB193CML0zq','Aw5KzxHpzG','y2XHDwrLlxnVBM5LDc00lJu','sw5PDgLHBcbtzxr1Ca','nZKWBePiELn6','C2HPzNq','mtu5nJC2ofz1AvfXua','B25Jzq','BgfZDeLUzgv4','ChjVy2vZC0v2zw50u2fMzwX5','zw50zxiTAw5Zzxj0lw1Vzgu','zJeY','DxnLCI0','rMfPBgvKihrVihnHDMuGyxv0AdO','i0zgnuy2ra','Dg9mB2nHBgvuAw1Lu3rYAw5N','AgfUzgXLCG','BgLUzu51BwjLCG','CMvWzwf0','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvK','AxngAw5PDgu','z2v0rMfPBgvKu2vYDMvYCW','wZiWmx4','jYbYzwnVBM5Ly3rLzcbZDwnJzxnZzNvSBhK','yxbWBgLJyxrPB24VANnVBG','wZnE','C2vZC2LVBKrPCG','zw4Tvvm','Dg9gAxHLza','DxjUoMLLDgy6CgfYyw1ZoM9HDxrOoMDYyw50lxr5Cgu6zgv2AwnLx2nVzgu','BMfTzq','g1Tn','q29UzMLNigz1BMn0Aw9UCYbUB3qGC2v0lIbdywXSihnLDenVBMzPz0z1BMn0Aw9UCYbMAxjZDc4','BNvTyMvY','uMf0zsbSAw1PDa','Dg9VBfjLC3vSDa','sgfUzgXLCNmGBM90igLUAxrPywXPEMvK','DMvYAwzPzxi','DwK6BgLUzxm6y2XLyxi','z2v0twnWtwfUywDLCG','kd86lIOPkYKK','y2XLyw51Ca','C2v0qwn0AxzL','y2XHDwrLlMfP','BgLUAW','vg9VBa','y29SDw1U','Dg9mB2nHBgvtDhjPBMC','BsbHz28','zgvS','BNv2Aw4Ty2XP','ksSK','Aw1Hz2uVANbLzW','C2v0twvTB3j5','tunqihnLCNzLCIaN','z2v0qM91BMrZ','C3LZDgvT','CMvUzgvYvxnLCK1LC3nHz2vZ','rMfPBgvKihrVignYzwf0zsbbueKGA2v5','vg9VBefWChjVDMfSuMvXDwLYzwq','uZi1nG','yxjTzwqTC3rVCa','zgLZy29UBMvJDfnLCNzLCG','Aw5MBW','y2XLyxjby3rPDMu','ywnJzw50','zMfPBgvKu2vYDMvYCW','Bwv0ywrHDgeUDhj1BMnHDgvK','BgfZDe1LC3nHz2u','zxzLCNK','C2HVD1nLy3rPB25qCMvMAxG','BM90Awz5u3vIC2nYAwjLCNm','C3rYAw5N','tM8Gyxv0AgvUDgLJyxrPB24GCMvXDwLYzwq','AgvSCa','sw52ywXPzeLUChv0','qvbjieTLEq','rw50zxiGDg8Gy29UDgLUDwuG4OcIien0CMWRqYb0BYbLEgL0','DxnLtM90AwzPy2f0Aw9Uq29UDgv4DcbTDxn0igjLihvZzwqGD2L0AgLUigeGtM90AwzPy2f0Aw9UuhjVDMLKzxi','Ahr0Cc1SB2CUANnVBG','vMLZAxq6ia','uNvUignVBw1HBMq','qwz0zxiGyxv0Ag9YAxPPBMCSihbHC3rLihrOzsbMDwXSignHBgXIywnRifvstcbVCIbQDxn0ihrOzsbHDxrOB3jPEMf0Aw9UignVzgu6ia','CgfYywDYyxbO','C3vIDgL0Bgu','yw50AhjVCgLJ','vhLWzsb0AguGzxHHy3qGBw9KzwWGBMfTzsbMB3iG','wZiWmh4','CMvK','C2XVD19KB3DU','ihjLC3vSDhmP','y2XHDwrLlxnVBM5LDc00ltu','B3jHBMDL','ugfZDguGDg9Rzw4GAgvYzq','Dg9vChbLCKnHC2u','C2nYB2XSvg8','uhjVDMLKzxi','C3rKB3v0','lMf1DgG','z2vUzxjHDgvlzxK','AgLZDg9YEs5QC29U','Ahr0Chm6lY9HCgKUyw50AhjVCgLJlMnVBs9HCgKVB2f1DgGVy2XHDwrLx2nSAs9JCMvHDgvFyxbPx2TLEq','icHSAw1PDdOG','u3rHCNrPBMCGzgv2AwnLigzSB3CUlI4','z2zT','Cgf5Bg9Hza','tMv0D29YAYbLCNjVCG','DxbKyxrLtgLUzu1LDgfKyxrH','yxbWCM92ywW','DxbKyxrLtwv0ywrHDge','Bwv0ywrHDgeUBgLUzxm','g1SYmdf+','C2vZC2LVBNm','yMfJA3nWywnL','y2HLy2TIB3G','yxnZAwDUx3rHC2S','zMfPBgvK','zw1VAMK','CMvZB2X2zvnLC3nPB24','DhjHBNnWyxjLBNq','uhjLC3mGrw50zxiGDg8GB3bLBIbICM93C2vYlI4U','DgHLBG','vxnLCG','C2v0q29UDMvYC2f0Aw9U','B3jJAgvZDhjHDg9Y','y3jLyxrLu3rHDgu','D2vSy29Tzq','zw50CMLLCW','C3vIC3rY','icSG','zg90CW','yMXVy2TXDw90zq','AxndDxn0B21dB21Tyw5K','l29HDxrOl2f1DgHVCML6zq','oti5mgP6ruvXDG','yM90Dg9T','C3bHy2u','zg93BKfYCM93','y2XPy2S','u2HVD2LUzYa','tM8GBwvZC2fNzsbWCMv2Awv3igf2ywLSywjSzq','B2f1DgGTy29UC29Szq','zxHWAxjLC19PBG','Bg9HzgLUzY1TB2rLBhm','DxbKyxrL','y29SB3jlzxK','Bwv0ywrHDgeUyNL0zxm','C3rYAwTLDgHYB3vNAa','tMv0D29YA0vYCM9Y','q3jLyxrLza','uMvJzw50ifnLC3nPB25Z','BxmP','z2v0tw9KzwXdB250zxH0tgLTAxq','C2nYB2XSvg9cB3r0B20','C3vTBwfYAxPL','ChjVDMLKzxjZlMfUDgHYB3bPyY5HDxrO','zxjYB3jFzgvZy3jPChrPB24','Bw9VBNnOB3q','C3bSAwnL','sw5WDxrdB250zxH0','Aw50zxj2ywW','4PYxievYCM9Yig9Jy3vYCMvK','A2LUza','z2v0qwn0AxzL','rgvUAwvK','ywnJzxnZx3rVA2vU','DMvYAwzPy2f0Aw9Ux3vYAq','q09ovevovf9nqvjhsu4','zxHWAxjLzf90B2TLBG','ChjPB3jPDhK','zMLSzv9UzxC','BgLUzuLUzgv4','t0f1DgGGqxv0Ag9YAxPHDgLVBG','CMvXDwvZDgLUzW','igvUDhjPzxm','BgvMDa','yMfZzvvYBa','uMf0zuXPBwL0','CMf3x2TLEq','BgXTrMfJDg9YEq','zw5ZDxjLq29UDgv4DfDPBMrVD0XPBwL0u2v0','DgfI','y3vYCMvUDenHy2HLzfrVA2vUCW','z2v0u2vZC2LVBG','wwvZDgvYzgf5ia','z3jHEq','yM9Sza','rxHLy3v0Aw9UigzHAwXLza','ywn0Aw9UqxbWCM92zq','zMLSBa','y2XPzw50','DgfIBgvtzxr0Aw5NCW','wZvE','z2L0ihjLDI1WyxjZzsaTlwfIyNjLDI1YzwyGsevbra','C2v0vg9VBhm','z2v0u2vSzwn0zwrjDgvT','yxv0Ag9YAxPHDgLVBL9JB2rL','g1S8Dq','kfXtkd86ihWGicK/ksGOpZO','BMf2AwDHDgvozxH0','y29UDMvYC2f0Aw9Uq29UDgv4Da','jdek','q3jLyxrLiefqssblzxKGDMLHienVBNnVBgu','D2HPDgu','y29UzMLNtwfUywDLCG','y2f0y2G','qvvut19tvu1nqvjzx1riuKvtse9mra','4Psu4PsaierLBMLLza','vxbKyxrLza','DgvZDa','Dg9ju09tDhjPBMC','C3vTBwfYEs1Hz2vUDa','Aw1Hz2u','q2XLyw5PBMCGDxaGCMvZB3vYy2vZlI4U','zw52','ig1Zz3m','Dw5ZDwjZy3jPyMu','BwnW','BwvTugvYC2LZDa','i2m1nty0yW','y29UDgv4DfDPBMrVD0XPBwL0','z2L0qNjHBMnO','ig1VzgvSCYbHDMfPBgfIBgu','AMf2yxnJCMLWDdO','y3vYCMvUDfrVA2vUCW','rMfPBgvKihrVihjLC3bVBMqGDg8GDg9VBcbHChbYB3zHBdOG','C3rHDhvZ','AxrLBq','q29TBwfUzcbLCNjVCJOG','jYbUB3qGzM91BMqGAw4Gy29UzMLN','Bwv0ywrHDge','A2v5','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9VCgvUCM91DgvYlMfPl2TLExm','yMXHy2S','kg5VignOyw5NzxmP','z2XVyL90B29S','CgfNzwrVD24','Dg9VBenHBgXZ','yw5HBhL6zvrVCgLJ','uMvXDwvZDcbMywLSzwqGkgf0DgvTChqG','y3vYC29Yv2LKDgG','mtuWnJe3tKnvwhfz','4Psu4PsaievKAxrLza','rMv0y2GGzMfPBgvK','C3rYzwfTAw5NtwvZC2fNzuLK','rxHLy3v0zwq','CMvJB3jKvg9VBenHBgW','ugvYBwLZC2LVBIbKzw5Pzwq','odu1mdy5nKzkyxfYwa','uhjLC3mG4OAtigfNywLUihrVig5HDMLNyxrLigHPC3rVCNK','BMv3x3rLEhq','DxnLvg9VBefWChjVDMfSig11C3qGyMuGDxnLzcb3AxrOAw4Gvg9VBefWChjVDMfSuhjVDMLKzxi','rg9Uzq','DgLTzxn0yw1W','z2v0tw9KzwW','BgL2zu1LC3nHz2u','DwK6A2v5yM9HCMq6y3rYBgm','u2vSzwn0ie1VzgvS','iZLIowi5yG','yxv0Aa','BMv3','BgLZDa','CMvZCg9UC2vFDhLWzq','zxjYB3i6ia','rMfPBgvKihrVia','ihrVzg9Z','y29SBgfWC2vKqNLezwzHDwX0','z2v0q29UBMvJDgvKu2vYDMvYCW','zxnJyxbL','BgfUzW','Bw92zs1JDxjZB3i','ihrVA2vUCYKUienVBNnPzgvYihvZAw5Nic9ZDw1Tyxj5ihrVihjLzhvJzsbJB250zxH0lG','jZOG','CMvZzxq','z2v0qxzHAwXHyMXLuhjVDMLKzxjZ','Aw5PDgLHBgL6zvbLCNnPC3rLzfnLC3nPB24','ChjVBxb0vg9Rzw5Z','ugfYyw1LDgvYCZO','AgvHzgvY','C2nYB2XS','y29TBwfUzhm','zMXLEc1LBMq','BgLUzuvUza','Aw1Hz2uVD2vICa','D2fPDgLUzW','zxH0BMfTzq','C3rHDgu','BMf2AwDHDgvozxH0oIbLyxjSEsbYzxr1CM4','DxnLvgHLBwuGBxvZDcbIzsb1C2vKihDPDgHPBIbHifrOzw1LuhjVDMLKzxi','y3jLyxrLq29UDgv4Da','s0LuvfLF','4PQG77IpienVBNrLEhqGD2LUzg93igf0ia','y2XPCgjVyxjKlwLTywDLlq','CMvJB25Uzwn0u2vYDMvY','BgLZDgL0zw0','B2f1DgGTBwf4','jYbTAxnZAw5NihrYyw5ZCg9YDcbPBMzVoYbZA2LWCgLUzW','CgfKu3rHCNq','Bg9Nsw5MBW','BgXTq2fSBenVDw50','kd86','C3vJy2vZC2z1BgX5','zgv2AwnLx2nVzgu','twLZC2LUzYbpqxv0AcbJCMvKzw50AwfSCW','rMfPBgvKihrVihnLDcbJB25MAwCG','y3vYC29Yt2zMC2v0','z2v0t3jJAgvZDhjHDg9Y','DgHPBMTPBMC','zMLSzq','AwrSzq','DwK6zxjYB3i','DwK6AgLZDg9YEtPZzwXLy3rLza','Cg9SBgLUzW','ChjVDMLKzxjZ','qxv0AgvUDgLJyxrLihrOCM91z2GGEw91CIbICM93C2vY','zgvIDwC','Aw5JBhvKzxm','Dhj1BMnHDgu','rMfPBgvKihrVigzLDgnOig1VzgvSCW','ue9tva','Dgv4DeXLBMD0Aa','z2v0u2vSzwn0zwrjBMrLEa','zMLYC3rizwfKAw5N','ywDLBNrZrw5HyMXLza','Ahr0Chm6lY9NAxrODwiUy29Tl2XVz2LUl29HDxrOl2fJy2vZC190B2TLBG','DwK6AgvHzgvYoNjLzNjLC2G','DwK6zM9JDxm6y3LJBgu','u2vHCMnOzwq','yMvMB3jLsw52B2TL','qKftsf9nqvHFteLorvm','4PQGie5VihbYB3zPzgvYCYbHCMuGy3vYCMvUDgX5igf2ywLSywjSzs4','tg9HzgvKigHPC3rVCNK','D2vIx3nLyxjJAa','C2v0','y29UBMvJDgvK','zw1PDhrLCG','icHSAw5LCYa','iZaWzdLMzG','zwnOBY1TB2rLBa','zNvUy3rPB24','Bwv0ywrHDgeUChjVz3jLC3m','D3jPDgu','y2fJAgu','vgfIl0n0CMWRtI9qien5y2XLiezVy3vZiokaOIaXlZiVmYbrDwLJAYbtzwXLy3q','CM9Szq','Dw5ZAgLMDa','zMXLEc1ZDgfYDa','xcqM','mZKWmdjyvuvLy1a','z2v0u2nYB2XSug9ZAxrPB24','zw5K','DwK6y29TBwfUzdPKzwfJDgL2yxrLza','t3jJAgvZDhjHDg9Yig9YigHHBMrSzxjZig5VDcbPBML0AwfSAxPLza','yxv0Ag9YAxPHDgLVBL9Wzw5KAw5N','q29TBwfUzcbMywLSzwq6ia','AgvPz2H0','w25VBI10zxH0ignVBNrLBNrD','Aw1Hz2uT','ywXSu2v0DgXLza','u3vIqwDLBNruB29Sq2fSBa','C29Tzq','zMv0y2HbBMrdywnOzu1VzgvSCW','Dg9Rzw5Z','vw5RBM93BIbLCNjVCG','DgvTCa','t0zg','ndKYnJzds0TcDw4','BwvTBW','iZGXytjIzq','BwvZC2fNzvr5CgvZ','C2v0twv0CMLJCW','CMvSzwfZzq','Dg9VBf9Yzxn1Bhq','CMvXDwLYzvrVB2XbChbYB3zHBa','z2XVyMfS','z2v0vg9VBhm','yMXVy2ST','ywXSB3DLzfrVB2XZq29UzMLN','BM93','yMLUza','ig1VCMuGBgLUzxmP','imk3ia','rMfPBgvKihrVigf1Dg8TyxbWCM92zsbZzxnZAw9UihrVB2XZoIa','Bwv0yq','uMvZDwX0CYbdB3vUDa','Aw5PDgLHBgL6zq','CMLNAhq','CMvHC29UAw5NrwzMB3j0','zMLUza','zgvZy3jPChrPB24','y29UDMvYC2f0Aw9Uu3rVCMu','yxjJAa','y29SCW','B25uB29SqxbWCM92ywXszxf1AxjLza','g1S/mtaWmgGBwZ8XmdaYAbTBpZeWmdzO','s0iGDg90ywWP','Aw5PDgLHBgL6zvnLCNzLCNm','i2zMzMzMzG','ywDLBNrZ','qxv0AgvUDgLJyxrPB24Gtwv0Ag9K','BM93CMfW','CgfYDhm','lI9JBgLWyM9HCMqTwLjfr1Pon0SUANm','yNv0Dg9U','yMfZzty0DxjS','iZnKyti1za','BgLUzvn0yxj0','C3rYzwfTAw5Nrw5HyMXLza','z2v0q3vYCMvUDfbYB2zPBgu','icaGia','wwvZ','z2v0vgLTzq','y2vUDgvY','vg9VBcbUB3qGzM91BMq','g1S/mJaWngW','rMv0y2HLzcaO','q29TBwfUzhmGka','BM9cBg9JA3m','C2v0teXn','BgLTAxrZ','Dg9mB3DLCKnHC2u','zMv0y2HqCM9TAxnLCW','C2TPCev2zw50CW','y29UDgv4Da','Aw5SAw5L','C2vUza','C3rYB25N','u3vTBwfYEsbVzIbZzxnZAw9Uia','uMvHzcbMAwXL','Aw5PDgLHBgL6zu1dufnLCNzLCNnjBKjHy2TNCM91BMq','twvZC2fNzvn0yxj0zwq','CMvJB3jKuMvXDwvZDenVBxbSzxrL','CMvNAxn0zxi','z2v0tgLTAxq','BMf2AwDHDgvqCMv2oIbLyxjSEsbYzxr1CM4','u3rHCNqGtgLUzq','C3rHCNrZv2L0Aa','y2fSBgjHy2TZ','yMfJA3DHCMq','rMfPBgvKihrVihnHDMuGy29UzMLNoG','rw1WDhKGC2vZC2LVBG','rw50zxiGEw91CIa','BgvMDefYCM93','Fcbszxe6ia','Dg9tDhjPBMC','AgfUzgXLvg9VBefWChjVDMfS','CgfYC2vjBMXPBMu','igf0DgvTChrZoIa','ihnOB3CGzgv0ywLS','y2HHCG','zxzLBNrcDxm','rMfPBgvKihrVigLUAxrPywXPEMuGtunqihnLCNzLCNm6ia','DwK6y29TBwfUzdPHy3rPDMf0zwq','tgv0j3mGz2v0ihLVDsbZDgfYDgvKlIbdAg9VC2uGEw91CIbbssbWCM92AwrLCJO','z2v0uhjVzMLSzufNzw50C0rPCG','CMvJB25Uzwn0','u1Loq19fwfrfuK5btf9wquXvrq','AxndB21Tyw5Kqwn0AxzL','AgvHzgLUzW','B2XKu3rHCNrmAw5L','CMLNAhrbCNjVDW','BwfYA2vKsw5ZDgfUy2u','y2XLyxi','BMv3tgLUzu51Bq','qvbjieTLEsaVifrVA2vU','zgLMzG','B2XKx3rLEhq','DwK6Dg9VBefWChjVDMfSuMvXDwLYzwq','DMfSDwu','y29UDgvUDa','twvTB3j5ig5VDcbPBML0AwfSAxPLza','z2v0q29UDMvYC2f0Aw9Uu3rVCMu','ihn0B3a','BNvTzxjPyW','q3rYBcTf','B25fEgL0','tM8GDMfSAwqGAw1Hz2uGzgf0ysbMB3vUzcbPBIbJBgLWyM9HCMq','yxjTzwqTy2XLyxi','lxrVB2WT','z2v0tunqu2vYDMvYCW','r0Lusfvcx0nmsuvovf9jra','mtaWjq','CMvTB3zLsgLNAgXPz2H0','CgfYC2u','jdiKmW','nJa0CKvut3DX','z2v0u2vYDMvYsw5MBW','C3DPDgnOvg9tzxnZAw9U','CMvSyxrPDMu','C2nVCgu','CMvHzezPBgu','ihrVA2vUCW','AhrTBa','yxv0Ac1KzxzPy2uTzMXVDW','yxbWzw5KvMfSDwu','Cg9YDhm','ihrVia','Dg90ywXuB2TLBNm','y2vPBa','Bw9VBNnOB3qTDJeTogS','DxrMoa','q2XHDwrLifbYBY9nyxGGqwnJB3vUDa','FcbuB29SCZOG','C2vYDMLJzq','ChjVDMLKzxi','twLZC2LUzYbVCIbPBNzHBgLKihrYyw5ZCg9YDcbJB25MAwD1CMf0Aw9U','Bw9KzwXZ','Aw5PDgLHBgL6zurLzMf1BhrdB252zxjZyxrPB24','ywDLBNq','AhjLzG','ihbHC3rLzcaO','ywrK','Dg9VBenHBgXjza','BM9dAgfUz2vZ','vvjmoIa','C2LSzw50sw5PDa','Bwf4qwDL','rw50zxiGEw91CIbezwvWsw5MCMeGqvbjigTLEq','CgXHDgzVCM0','DxbKyxrLq29UzMLN','zgv2AwnLlwzSB3C','C2v0lxzHBhvL','y29UC29Szq','DxnLrM9JDxmGBxvZDcbIzsb1C2vKihDPDgHPBIbHiezVy3vZuhjVDMLKzxi','Dg9VBa','tgLZDgvKia','z2v0t3jdCMvHDgvqB3j0','zgf0yq','Aw5PDgLHBgL6zvnLCNzLCG','yxbPlwTLEq','zw1PDa','CMvJB3jKteXnq2fSBa','z2v0uhjVDMLKzxjdB25MAwC','zM9YrwfJAa','C3vIBwL0','te9x','C3rHDhvZvgv4Da','DxnLrM9JDxndEwnSzsbTDxn0igjLihvZzwqGD2L0AgLUiezVy3vZuhjVDMLKzxi','C2v0rxzLBNrZ','y3vYCMvUDenVBMzPzW','Dg9WAwmTyw5HBhL6zxi','zgvUEq','lI4UicG','Bg9NrxjYB3i','uhjLC3mGrvndigfNywLUihrVignSzwfYigLUChv0icHVCIbVBMnLig1VCMuGDg8GC3rVCcbWCM9JzxnZkq','y291BNq','4PEpifTHC3nPC3rHBNrD','Bg9NBW','z2v0uhjVzMLSzu1HBMfNzxi','Aw5MB0jN','zgLZy29UBMvJDefSBfnLCNzLCNm','zgLNzxn0','BwvTB3j5','y29UDgv4DfDPBMrVDW','C3bHy2uTyMv0D2vLBG','zMLUywXtDgf0Dxm','C3vIC2nYAwjLCNm','y29SB3jZ','ANnVBG','z2v0q3vZDg9TuhjVDMLKzxjZ','ig1VCMuGy2HHCNmP','v29YA2LUzYaUlI4','g1S/mtaWnMWBwZ8XmdaYBbTBpZeWmdbS','z2v0uMvUzgvYzxi','C29YDa','zxHLyW','A2v5CW','y3LHBG','sw52ywXPzcbOzxGGy29SB3i6ia','C3vIqwDLBNrtDgf0zv8','y3jLyxrLteXn','rgvSzwDHDguGDgfZAW','B3bLBNjVDxrLCG','C2HHmJu2','uefsqu1Ftufsr0Lo','zgLT','sw52ywXPzcbHCMD1BwvUDhm','zw50zxiTAw5Zzxj0lwfUzc1ZzxqTDMfSDwu','Aw52zxjZzq','z2v0q29UDMvYC2f0Aw9Uq29UDgv4Da','zg93BG','z2HWxY4UlG','CgfKrw5K','rgv2AwnLiezSB3CGtg9NAw4','DxjS','Aw5Zzxj0','DxrMltG','sw52ywXPzcbPBNb1Da','AgfZ','BgLZDenVBNzLCNnHDgLVBNm','lI4UigfUzca','ugfZDguGy29KzsbHBMqGChjLC3mGrw50zxi','z2v0q29UzMLN','CgfNzurVD24','Dw5JAgfUz2vK','u3rYzwfTrMLUAxnO','Bw9KzwWTy3vZDg9T','Aw1Hz2uVAgvPzG','tM8Gyxv0AcbUzwvKzwq','FdXICIaVpG','zM9VDgvY','y29UzMLN','Bw9KzwW','zxHPDa','Bwv0ywrHDgeUC3rHDhvZq29Kzq','ic0G','vg9VBe5VDezVDw5K','q3jLyxrLig5LDYbbueKGA2v5ihzPysbICM93C2vY','DxnLCKnVzgu','Dg9WAwm','Bw9KywW','Dhj1zq','EwvSBg93','D2fYBG','DMvYAwzPy2f0Aw9UvxjP','rMfPBgvKihrVihbYB2nLC3mGDg9VBcbHChbYB3zHBdOG','DhjPBuvUza','CMvZCg9UC2vuAw1L','y3DK','ls0Gsu5trvjuic0T','qxnZAxn0yw50q2H1BMS','zgvMyxvSDa','yxbWzw5K','AM9PBG','ywnJzxnZ','BgfZDfrVB2XdywXStwvZC2fNzuLK','z3jLEq','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VC2v0DgLUz3mVA2v5CW','4Psu4PsaierVBMu','yxbWzw5KtgLUzq','rM91BMqG','Aw5WDxrszwy','DxnLCG','vw5RBM93BIbJB21Tyw5KoIa','AgvHza','Dw5RBM93BG','tgLZDgLUzYbMywLSzwq','rwrPDgvK','g1SYmdb+','zxHWAxjLCW','Axnoyu4','vg9WAwmGyw5HBhLZAxmGzMfPBgvK','ChjVy2vZC2vKsw5WDxq','yMfZzty0','zMLSDgvY','Bg9VC2u','z2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','rMfPBgvKihrVihjLBg9HzcbJB25MAwC6','yxbWCM92zq','q3jLyxrLiefqssblzxK','EMfP','g1S8','xgqRxc4','ywXSB3DLzfrVB2XZ','Dg90ywW','zw5KC1DPDgG','yMfZAf90B29S','ignYzwrLBNrPywXZoG','Bxv0zwq','Bwv0ywrHDgeUzMLSzunVDw50','z3jVAY1JB2rLlwzHC3qTmq','lcbMywXSAw5NigjHy2SGDg8GD2HPDgu','uhjVy2vZC2LUzYbJBgLWyM9HCMqGAw1Hz2uUlI4','8j+oRYbfBNrLCIbJDxn0B20GBw9KzwWGBMfTzs4UlG','u2vHCMnOignVBNrLBNq','jsaO','zM9VDa','AgLUDa','z3jLzw4','CMv0DxjU','u3vIqwDLBNruB29SuMvZDwX0','zgLZCgXHEu5HBwu','rMLUzcbMAwXLCW','FcaK','uMvHzca','BgfIzwW','Dw5ZzwXLy3rLza','A2L0DhK','Dg90ywXeDxjHDgLVBK1Z','y3j5ChrV','4Psu4Psaia','Aw5JBhvKzuHPzgrLBG','CgvYC2LZDeH0DhbmB2C','cGPszxnWB25KihDPDgGGB25SEsb0AguGDg9WAwmSig5Vigv4CgXHBMf0Aw9UlG','y3jLyxrLtMv3q29UDMvYC2f0Aw9U','C3r5Bgu','zNjVBq','CMvUzgvYzxi','y29UDMvYC2f0Aw9UoMnYzwf0zwq','B3jJAgvZDhjHDg9YtwfUywDLCG','u0vux1zbtfvf','DhLWzq','BgLUzu51BwjLCNm','rgv2AwnLiezSB3CGtg9NAw4GkfjLy29TBwvUzgvKkq','y29TCgXLDgvK','D2HLzwWTzg93BG','u2vZC2LVBJOG','BwvZC2fNzq','iZeXmteXmq','z2v0q29UDMvYC2f0Aw9U','jYbPCYbKAxnHyMXLza','y2XHDwrLlxnVBM5LDc00','vw5HyMXLihrVihjLywqGAw1Hz2uGyxqG','Dg9VBefWChjVDMfS','tM8GChjLDMLLDYbHDMfPBgfIBgu','wZmK','zgvSzxrL','y2HHBgXLBMDL','AgfUzgXLCNm','y3vZDg9TuMvUzgvYzxi','C2v0q29UDgv4DfDPBMrVDW','BgvUz3rO','vxbKyxrLihrVzg8','vg9VBfjLC3vSDa','CgfNzvvW','DxnLuMvM','Agv4','ig9Mia','yxnZAxn0yw50','Ahr0Ca','DxnLq29UzMLNig11C3qGyMuGDxnLzcb3AxrOAw4GysbdB25MAwDqCM92AwrLCG','C2XPy2u','BNvT','C2vJB25Kyxj5','z2v0qwXSu2vYDMvYCW','Cg9YDa','C2v0qwXSB3DLzfrVB2XZq29UzMLN','BgLUzxm','CM93CW','lxjLC3vSDc0','C2vZC2LVBKLUAxrPywXPEMvK','z2v0teXnrMfJDg9YEq','zxHLy3v0zq','y3jLyxrLtwvTB3j5','DgfPBa','DgfZAW','C2HVDwXKv2fPDezVCK1VCMu','revgqvvmvf9nqvHFteLorv9mru5hveG','Aw5PDa','B2zMC2v0','tw9KzwW6ia','Cgf0Aa','C3rYAw5NAwz5','DxbKyxrLtgLUzq','igLUia','Bwv0ywrHDgeUy291BNq','igj5DgvZkq','CMvHzdP1C2vY','v0fstKLor19usfjfu0Hpteq','q3jLyxrLigzPBgu','Bwv0ywrHDgeUyNL0zxnxCML0DgvU','Bg9NBY0','Bg9Hza','uhjLC3mGrvndigfNywLUihrVignSzwfYihrOzsbPBNb1Da','D2fYBMLUzW','Dw5LC2nHCgvuCMfUC2zVCM0','AxrHBgLJ','C2STyw50ls4UlG','yMfKz2u','z3jLCf90B29S','zxHWB3nLzfrVB2XZ','rMfPBgvKihrVigrLBgv0zsbJB25MAwCG','y29SB3i','DgfIBgvYB3C','CMvZDwX0lMnVDw50','BwnWtwfUywDLCG','jYbMAwX0zxjLzcbMCM9Tia','zMLUywXSEq','AgLKzgvU','vg9VBevKAxrjBNb1Da','z2XTltqUnG','z2v0teXn','zgf0ytPPBwfNzs9WBMC7yMfZzty0la','yxr0ywnOBwvUDa','iokwVca','vxbKyxrLzcaO','C3vIC2nYAwjL','y2HHCKnVzgvbDa','yMX1zq','qwDLBNq','AgLKzq','Bw9KAwz5','AgfUzgXLrxjYB3i','rw50zxiGy29KztO','DxbbCNjVDW','BwvZC2fNzuLK','vxbKyxrLigzHAwXLza','CgfYyw1LDgvYCW','zxjYB3jszwfZB24','Ahr0CeXVz0zPBgu','Dg9Rzw4','uKvtrvq','vg9KyxKG','CgfNzxvW','y2fSBa','zMLSzw5HBwu','BM9YBwfS','Bwf4','Dhj5igfNywLU','rw50CNKGtgLTAxq','tM8Gy29UDMvYC2f0Aw9UigHPC3rVCNKGDg8GC3vTBwfYAxPLlG','BMf2AwDHDgvozxH0oIbYzwnHBgXPBMC','zxH0CMfJDevYCM9YtwvZC2fNzq','y29Kzq','i0zgqZm3mq','y21K','C3rYzwfTAw5Nq2H1BMTZ','rMv0y2HLza','CMvMBg93vgv4Da','xIP8FcPE','y29UzMLNrNvUy3rPB25Z','vhLWzsb5B3vYig1LC3nHz2uUlI4','CY4UlIbfCNjVCJOG','Dg9KB3m','z2v0','CM91BMq','BgLTAxq','Ag9TzwrPCG','id0+ieLUifbYB2DYzxnZ','BMv3u3rHDgu','DwK6BgLUzq','z3b0ltu','C2HVCNq','zhjHzW','C3vJy2vZCW','zgvSDge','vgLTzw91DcaOBxmP','yMfJA2DYB3vUza','DgL0Bgu','D3jHCa','rMfPBgvKihrVigLUAxrPywXPEMuGywDLBNq6ia','C2vSzwn0zwq','z2v0vMfSDwu','z2v0q3vYCMvUDenVBMzPzW','qxnZAxn0yw50','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VB2f1DgGVy29Kzs9JywXSyMfJAW','Ahr0Chm6lY9NAxrODwiUy29Tl2XVz2LUl2rLDMLJzs9JB2rL','sNvZDcbUB3C','y2HLy2TdB250zxH0v2LUzg93vxnHz2u','v2v6vgvYBq','ig1HDgnOzxmGkokgKEkgKYb0BYbUyxzPz2f0zsWGrw50zxiGDg8GC2vSzwn0kq','zMLSzv9LzgL0','BwvZC2fNzunVDw50','B2zM','Bwf0y2G','wZyK','rMfPBgvKihrVigXVywqGy29UzMLNigLUienVBMzPz1bYB3zPzgvYoG','y2HHCKf0','revgqvvmvf9nqvHFteLorvm','igLTywDL','CMvJB25Uzwn0tunqu2vYDMvY','Dg9VBenHBgXdB3vUDa','ihWG','DxbKyxrLq29UDMvYC2f0Aw9Utwv0ywrHDgfbzNrLCLnLBMq','xIG/oG','qw5HBhL6zsb0AguGzM9SBg93Aw5NihvZzxiGBwvZC2fNzsbHBMqGzxH0CMfJDcb0AguGBwfPBIb0B3bPyYbVCIbPBNrLBNqGAw4Gns0Xmcb3B3jKCY4GqMuGy29Uy2LZzsbHBMqGzgvZy3jPChrPDMuUcGPvC2vYig1LC3nHz2u6ia','CMvKDwnL','CgfYC2vY','DgL0BgvcywnRz3jVDw5K','y3vZDg9T','y2XHDwrLlwHHAwT1ltqTnq','zw1PDfnLCNzLCNndAgfUz2vK','ywn0Aw9UrgvUEq','rMfPBgvKihrVigv4y2HHBMDLignVzguGzM9YihrVA2vU','ie1ducbZzxj2zxiGjW','y29SDw1UCW','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VDJeVB2f1DgGVDg9Rzw4','vg9VBenHBgXZ','CMvNAw9U','C2vSzwn0zwrjDgvT','uhjLC3mGrw50zxiGDg8GC2f2zsWGrxnJihrVigDVigjHy2S','4PYtief1Dg8TC3vTBwfYEsbJB21WBgv0zwqUienVBNrLEhqGD2LUzg93igHHCYbIzwvUihjLzhvJzwqU','AgLNAgXPz2H0t3b0Aw9UCW','rxjYB3iGzhvYAw5NihjLC2L6zsWGzMfSBgLUzYbIywnRihrVihnHzMuGzgLTzw5ZAw9UCZO','C2vZC2LVBG','isbvBMTUB3DUignVBw1HBMq6ia','DhjPBq','DxbKyxrLq29UDMvYC2f0Aw9Uvg9WAwm','AxntzwXLy3rLza','yxv0Ac1TzxrOB2q','ksSPka','u2vZC2LVBIbjrcbUB3qGC2v0','rvndW5CY','Dg9VBfjLC3vSDhncEunHBgXjza','kNWQFcP8kG','y29UDgv4DfDPBMrVD1vZywDL','v2fPDgLUzYbMB3iGyxv0Ag9YAxPHDgLVBI4UlG','y29TCg9Uzw50','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','t3jJAgvZDhjHDg9Yig5VDcbPBML0AwfSAxPLzcWGD2fPDcbHig1VBwvUDa','Dhj1BMnHDgvKoG','tM8GBwf0y2HLCYbMB3vUza','CMvJzw5JEurHExm','B2XKrw5KtgLUzq','ChjVDMLKzxjZlG','Bwv0CMLJCW','mtHpu3vHDLK','DgLTzw91De1Z','y29TBwfUza','qMvHCMvYia','zgvTBY1Ly2HV','rw50zxiGq3jLzgvUDgLHBhm','Axnby3rPDMu','BwfNzw50yq','zhvYyxrPB25nCW','id0+ierVBMu','BM9Uzq','i2zMnZLJnG','C2v0u3rYzwfTAw5Nrw5HyMXLza','B2jQzwn0','C2vYDMvYCW','sw5WDxqGEw91CIbJAgfUz2vZigHLCMu','y3jLyxrLrxzLBNrbzgfWDgvY','Aw1Hz2uVz2LM','y3vYCMvUDa','u2vHCMnOigzHAwXLza','CMvZDwX0twvZC2fNzq','yxbPs2v5','yxjNDw1LBNrZ','x19JBgLWyM9HCMrgAwXLCW','ugvYBwLZC2LVBKrLBMLLza','y2HLy2TLza','u3vIqwDLBNrtDgfYDgvKoIbdB3vSzcbUB3qGzMLUzcbTzxnZywDLigzVCIb0B29Sq2fSBeLKia','BwfW','Aw1Hz2uVC3zNk3HTBa','y29UDgfPBMvYsgvPz2H0','vgHPBMTPBMC6ia','Cgf0AdOG','BwLU','uMvJzw5JEsaOzgf5CYK','Dg9mB2nHBgveyxrLu3rYAw5N','rg9TywLUCW','C3vIqwDLBNrZ','q2XLyw51CcbJB21WBgv0zs4GrxHPDgLUzYbUB3CU','Bwv0ywrHDgeUzxHLy3v0Aw9UvgLTzu1Z','zgf0yvvYAq','CMvJB3jKuMvXDwvZDe1LDhjPy3m','yxnZAwDU','zwrPDa','CMvMCMvZAa','y29KzxnWyw4','msbTC2C','iokaKYa','DhjHBNnWB3j0','CM93','DgfIBgvJzwXS','C2vZC2LVBKLK','CMvWBgfJzq','uMvHzhK','Aw5WDxq','yxv0Ac1Vyxv0Aa','yxv0BW','cGPdDxjYzw50ihvZzxiGBwvZC2fNztOG','y2XPzw50x2LK','rMv0y2GGCgfNzq','AgfUzgXLu2vYDMvYrxjYB3i','zMXVB3i','C2LUz2XL','D2LKDgG','ywn0AxzLuhjVDMLKzxi','Dg9VBenHBgXuB01LC3nHz2vnyxa','zgLZy29UBMvJDa','vg9KBYbjDgvTCYaO','DgfIBgu','mI1KAwDPDa','tu9wrv9dvvjtt1i','q2HLy2TPBMCGy2XPCgjVyxjKlI4U','zxjYB3i','DwK6A2v5yM9HCMq6CgfZDgu','ChvZAa','mJu1mZuZzNbJtwv6','y2XPCgjVyxjKlwzPBguT','yw5HBhL6zufUzfvWzgf0zvrVCgLJ','Dg9W','ywn0AxzLq29TBwfUza','DMLZAwjSzq','DgfIBgvpChrPB25Z','Bwv0ywrHDgeUC3rHDhm','C2L6zq','BMf2AwDHDgvqCMv2','iokaOIaK','u2vHCMnOzwqGka','zgvMyxvSDfrPBwvVDxrnCW','teXnigzHy3rVCNKGzg9LCYbUB3qGC3vWCg9YDcbNzxrnB2rLBhm','uhjLC3mGq3rYBcTdigfNywLUihrVigv4Axq','z2XTltqUnq','y3jLyxrLzef0','iokuGGRILBdILidILidILkZILidILidILkZILidILidILkZILidILidILkZILidILidILkZILidILidILA8','z3b0ltqUmq','rgv2AwnLiezSB3C','Ahr0Chm6lY8','Dhj1BMnHDguTzw5K','zMLUzeLUzgv4','u2vHCMnOoIa','lM51DMLUlwnSAq','lI4U','uMvNAw9U','Dgv4DerPBq','sxyXlMi1mdDHmdHJodDLy2zLotG','r2vUzxjHDguGDg9Rzw46igH0DhbZoI8Vz2L0AhvIlMnVBs9Zzxr0Aw5NCY90B2TLBNm','vgLTzw91Da','rxHLy3v0zwqGkgv4AxqG','4PYtifrHC2SGy29TCgXLDgvK','D2HLzwWTDxa','ue9tsvrjvKvFsu5gsu5jvfK','CMvKqNjPz2H0','BMv3rw5KtgLUzq','D2vIx2zLDgnO','A2LTAs1RmI10AgLUA2LUzW','y29TCgXLDgu','BgLUzs0','BxmPlG','u2vHCMnOihDLyG','twvZC2fNzsbXDwv1zwqSihDPBgWGyMuGC2vUDcb3AgvUign1CNjLBNqGCMvXDwvZDcbJB21WBgv0zxm','qwnJzxnZifrVA2vU','4PQG77Ipief1Dg8TC3vTBwfYEsbMywLSzwq6ia','y3rYBa','yNvMzMvY','oxPutMfbyG','ChjVBxb0','rxjYB3iGzgLZy29UBMvJDgLUzYbnq1aGC2vYDMvYia','yxbWCM92zv9ZzxnZAw9U'];_0x5aff=function(){return _0x192964;};return _0x5aff();}import{useMemo as _0x280f60}from'react';import{Box as _0x478dfc,Text as _0x1c6fa7}from'ink';import{jsx as _0x431030}from'react/jsx-runtime';function tm(_0x16f85a){const _0x3d8e22={_0x366b15:0x1e5,_0xb62a38:0x287,_0x4b4916:0x11a,_0xa3d628:0x28a,_0x4a9f31:0x140,_0x13e054:0x21a,_0xa4a0ba:0x1aa,_0xc904a6:0x73,_0x767bdb:0x29,_0x24838d:0xa5,_0x2782e2:0x1eb,_0x233279:0x6},_0x416bbf={_0x131c9e:0x4};function _0x120eaf(_0x118500,_0x2e0077,_0x6783b4,_0x38e18e){return _0x7f0a6b(_0x118500-0x1a5,_0x6783b4-0x54,_0x38e18e,_0x38e18e-0x1f);}function _0x5965d2(_0x1c6a7b,_0x3335eb,_0xf36d76,_0x3bce10){return _0x7f0a6b(_0x1c6a7b-0x1f0,_0xf36d76- -0xef,_0x1c6a7b,_0x3bce10-_0x416bbf._0x131c9e);}try{return _0x16f85a[_0x120eaf(_0x3d8e22._0x366b15,_0x3d8e22._0xb62a38,_0x3d8e22._0x4b4916,0x7d)][_0x5965d2(_0x3d8e22._0xa3d628,_0x3d8e22._0x4a9f31,_0x3d8e22._0x13e054,0x1fb)]?JSON[_0x120eaf(0x173,0x2e0,_0x3d8e22._0xa4a0ba,_0x3d8e22._0xc904a6)](_0x16f85a[_0x5965d2(-0x3a,-0x5,-_0x3d8e22._0x767bdb,0x82)][_0x5965d2(_0x3d8e22._0x24838d,_0x3d8e22._0x2782e2,0x21a,_0x3d8e22._0x233279)]):null;}catch{return null;}}function $i({call:_0x37efb3}){const _0x1e236f={_0x5d311a:0x8bd,_0x10ded1:0xb9,_0x11e852:0xa45,_0x418ff4:0x829,_0x39c61d:0x6e6,_0x31d6d0:0x6e3,_0x34bf51:0x215,_0x1d621c:0x369,_0xb21fe9:0x821,_0x55d949:0x787,_0x3ca2d8:0x771,_0x44d3bd:0x65f,_0x4c54f1:0xfa,_0x5e5adc:0x82,_0x301dad:0x9d},_0x1d7f27={_0x15a095:0x17c},_0x71d5b7={_0x2732fc:0x14,_0x1dc4b3:0xe7};let _0xc035e6=_0x280f60(()=>tm(_0x37efb3),[_0x37efb3]),_0xef890f=_0x37efb3[_0x36006e(0x5e5,0x815,_0x1e236f._0x5d311a,0x9b1)]?.['lineNumbers'];function _0x5468ee(_0x3b7259,_0x26a81d,_0x569ff9,_0x37328d){return _0x7f0a6b(_0x3b7259-_0x71d5b7._0x2732fc,_0x569ff9- -0x1fe,_0x37328d,_0x37328d-_0x71d5b7._0x1dc4b3);}function _0x36006e(_0x2b2c82,_0x21ba6d,_0x213c9c,_0x8818fc){return _0x7f0a6b(_0x2b2c82-_0x1d7f27._0x15a095,_0x21ba6d-0x34a,_0x2b2c82,_0x8818fc-0x119);}return _0xc035e6?_0x431030(Ao,{'blocks':[{'search':_0xc035e6[_0x5468ee(-0x21f,-0x215,-_0x1e236f._0x10ded1,-0x2ac)],'replace':_0xc035e6[_0x36006e(_0x1e236f._0x11e852,_0x1e236f._0x418ff4,_0x1e236f._0x39c61d,_0x1e236f._0x31d6d0)]}],'filePath':_0xc035e6[_0x5468ee(_0x1e236f._0x34bf51,_0x1e236f._0x1d621c,0x1c2,0x251)],'lineNumbers':_0xef890f}):_0x431030(_0x478dfc,{'marginTop':0x1,'children':_0x431030(_0x1c6fa7,{'color':_0x36006e(_0x1e236f._0xb21fe9,_0x1e236f._0x55d949,_0x1e236f._0x3ca2d8,_0x1e236f._0x44d3bd),'children':_0x5468ee(_0x1e236f._0x4c54f1,-_0x1e236f._0x5e5adc,-0x4b,-_0x1e236f._0x301dad)})});}import{useMemo as _0x25fa74}from'react';import{Box as _0x3cc68c,Text as _0x13d2b8}from'ink';import{jsx as _0x3209a9,jsxs as _0x135759}from'react/jsx-runtime';function rm(_0x835aeb){const _0x5697eb={_0x3e89d4:0x8e,_0x16d513:0xb2,_0x5df268:0x215,_0x93939f:0x98,_0x346e9f:0x3a},_0x590238={_0x379f3b:0x1d7},_0x118106={_0x4d6b1a:0xa0};function _0x1eb4c2(_0x5beaa6,_0x43a2c2,_0x48cff4,_0xe8691e){return _0x5318c5(_0x5beaa6-0xa3,_0x48cff4,_0x48cff4-0x18a,_0x5beaa6- -_0x118106._0x4d6b1a);}function _0x1aba59(_0x317e74,_0x3b056e,_0x13bd2b,_0xc4185a){return _0x5318c5(_0x317e74-0xc2,_0x13bd2b,_0x13bd2b-0x192,_0xc4185a- -_0x590238._0x379f3b);}try{return _0x835aeb[_0x1eb4c2(-0xb2,-0xc4,-_0x5697eb._0x3e89d4,-0x19a)]['arguments']?JSON['parse'](_0x835aeb[_0x1eb4c2(-_0x5697eb._0x16d513,-_0x5697eb._0x5df268,_0x5697eb._0x93939f,-0x2a3)][_0x1eb4c2(0x191,0x1f3,0x151,_0x5697eb._0x346e9f)]):null;}catch{return null;}}function nm(_0x879f95){const _0x401661={_0x44f98e:0x1d7,_0x34fd61:0x46d,_0x4cc00a:0x252,_0x50a458:0x2e3,_0x4d7645:0x23a},_0x2fef57={_0x552b9a:0xf0},_0x5eef0d={_0x3cc928:0x32};function _0x58d1bf(_0x132686,_0x2a8713,_0x23b962,_0xf03c30){return _0x5318c5(_0x132686-_0x5eef0d._0x3cc928,_0x132686,_0x23b962-0x2a,_0xf03c30-0x6f);}if(!_0x879f95)return{'lines':[],'lineNumberWidth':0x0};function _0x389948(_0x2e78b9,_0x41522f,_0x405373,_0x36fd79){return _0x5318c5(_0x2e78b9-0x9c,_0x36fd79,_0x405373-0xc2,_0x405373-_0x2fef57._0x552b9a);}let _0x187052=_0x879f95[_0x58d1bf(_0x401661._0x44f98e,_0x401661._0x34fd61,0x196,0x35d)]('\x0a'),_0x24e119=_0x187052[_0x389948(0x21c,0x36b,_0x401661._0x4cc00a,0x322)]['toString']()[_0x58d1bf(0x200,0x38d,_0x401661._0x50a458,0x1d1)];return{'lines':_0x187052[_0x389948(_0x401661._0x4d7645,0x500,0x326,0x368)]((_0x56758c,_0x1bee0e)=>({'lineNumber':(_0x1bee0e+0x1)['toString']()[_0x389948(0x208,0x162,0xb4,-0xa4)](_0x24e119,'\x20'),'content':_0x56758c[_0x389948(0x226,0x456,0x33e,0x1a9)](/\t/g,'\x20\x20')})),'lineNumberWidth':_0x24e119};}function Ui({call:_0x4e6e24}){const _0x3b22be={_0x2d84e7:0x1d4,_0x50821b:0x2a7,_0x4c22d8:0x2b3,_0xe75e5e:0x247,_0x49de3b:0x181,_0x15f2c6:0x2c,_0x466f6d:0x346,_0x2c4065:0x42e,_0x362c29:0x2ac,_0x5d317a:0x49f},_0x556eaa={_0x56ae82:0xeb};let _0x2f3246=_0x25fa74(()=>rm(_0x4e6e24),[_0x4e6e24]),{cols:_0x34a838}=te();function _0x5225c2(_0x5be984,_0x578680,_0x1155a5,_0x1a781e){return _0x7f0a6b(_0x5be984-0x14b,_0x1155a5-_0x556eaa._0x56ae82,_0x5be984,_0x1a781e-0x83);}if(!_0x2f3246)return _0x3209a9(_0x3cc68c,{'marginTop':0x1,'children':_0x3209a9(_0x13d2b8,{'color':'red','children':_0x5225c2(_0x3b22be._0x2d84e7,_0x3b22be._0x50821b,0x29e,0x179)})});let {lines:_0x47737e,lineNumberWidth:_0x2709b5}=nm(_0x2f3246[_0x5cf6c6(_0x3b22be._0x4c22d8,_0x3b22be._0xe75e5e,_0x3b22be._0x49de3b,-_0x3b22be._0x15f2c6)]);function _0x5cf6c6(_0x5e1754,_0xe1a236,_0x5b428b,_0x124153){return _0x5318c5(_0x5e1754-0x6,_0x124153,_0x5b428b-0x120,_0x5b428b-0x111);}return _0x3209a9(_0x3cc68c,{'flexDirection':_0x5cf6c6(0x602,_0x3b22be._0x466f6d,0x44c,_0x3b22be._0x2c4065),'marginTop':0x1,'width':_0x34a838-0x8,'overflow':_0x5cf6c6(0x3ff,0x1ff,_0x3b22be._0x362c29,_0x3b22be._0x5d317a),'children':_0x47737e['map'](_0x2f63d9=>_0x135759(_0x3cc68c,{'children':[_0x3209a9(_0x3cc68c,{'flexWrap':_0x5225c2(0x362,0x1ee,0x1ee,0x66),'width':_0x2709b5+0x1,'children':_0x3209a9(_0x13d2b8,{'dimColor':!0x0,'children':_0x2f63d9[_0x5cf6c6(0x2f0,0x3f0,0x42f,0x212)]})}),_0x3209a9(_0x3cc68c,{'borderStyle':'single','borderDimColor':!0x0,'borderBottom':!0x1,'borderTop':!0x1,'borderRight':!0x1,'marginRight':0x1,'paddingLeft':0x1,'children':_0x3209a9(_0x13d2b8,{'children':_0x2f63d9[_0x5cf6c6(0x330,-0xa1,0x181,0x2f2)]})})]},_0x2f63d9[_0x5225c2(0x3aa,0x350,0x4e1,0x3a9)]+'-'+_0x2f63d9[_0x5cf6c6(0x30a,0x9f,0x181,-0x84)][_0x5cf6c6(0x130,0x20c,0x27d,0xac)](0x0,0x14)))});}import{jsx as _0x1b2232,jsxs as _0x2951e2}from'react/jsx-runtime';var Hi=_0x4a0a09=>typeof _0x4a0a09==_0x7f0a6b(0x408,0x42d,0x220,0x301)?_0x4a0a09:typeof _0x4a0a09=='object'&&_0x4a0a09!==null?JSON[_0x7f0a6b(0x302,0x259,0x58,0x25c)](_0x4a0a09,null,0x0):String(_0x4a0a09),am={'bash_tool':{'parameters':[{'key':'cmd','label':_0x7f0a6b(0x34c,0x3b3,0x436,0x2cf)},{'key':_0x5318c5(0x1c6,0xcd,-0x11b,0x105),'label':'Working\x20Directory'},{'key':_0x7f0a6b(0x270,0x2f4,0x19a,0x28e),'label':_0x5318c5(0x3e,-0x4d,0x193,0x1d5)},{'key':'description','hide':!0x0}]},'file_edit':{'customRenderer':({toolCall:_0x2de3bc})=>_0x1b2232($i,{'call':_0x2de3bc}),'showDefaultParams':!0x1},'file_new':{'customRenderer':({toolCall:_0x478ede})=>_0x1b2232(Ui,{'call':_0x478ede}),'showDefaultParams':!0x1},'assign_task':{'parameters':[{'key':_0x5318c5(-0x13c,0x145,-0x1d,0x97),'label':_0x7f0a6b(0x49e,0x27e,0x1f4,0x423)},{'key':_0x7f0a6b(0x321,0x252,0x3a1,0x2b),'label':'Task'},{'key':_0x5318c5(0x133,0xd2,-0x3e,0x20),'hide':!0x0}]},'file_read':{'parameters':[{'key':'path','label':'File\x20Path'},{'key':_0x7f0a6b(0x338,0x109,0x91,0x262),'label':_0x7f0a6b(0xfe,0x126,-0x30,0x146)},{'key':'lineEnd','label':'End\x20Line'},{'key':_0x5318c5(0x1d2,0xf1,-0xd9,0x20),'hide':!0x0}]},'web_search':{'parameters':[{'key':_0x5318c5(0x32a,0x14a,0x3d5,0x2c9),'label':'Query'},{'key':_0x5318c5(-0x16e,0x26d,0x2e8,0xbc),'label':_0x5318c5(0x211,-0x13e,0x95,0x1b)},{'key':'domains','label':_0x5318c5(0x19e,0x58,0xf2,0x23e)},{'key':_0x5318c5(0x23c,0x37c,0x3ac,0x41a),'label':'Language'},{'key':_0x7f0a6b(0x3f6,0x2d7,0x354,0x408),'label':_0x5318c5(0x128,0x2b5,0x405,0x27f)},{'key':_0x5318c5(0x238,0x393,0x43e,0x217),'label':_0x7f0a6b(0x2b3,0x314,0x2b2,0x164)},{'key':_0x5318c5(-0x19a,0x1b1,0x1e7,0x20),'hide':!0x0}]},'web_fetch':{'parameters':[{'key':_0x7f0a6b(0x3da,0x1bb,0x1ce,0x356),'label':_0x7f0a6b(0x3c8,0x3d3,0x5c9,0x25e)},{'key':_0x5318c5(-0x59,-0x37,0x133,0x20),'hide':!0x0}]},'ls_tool':{'parameters':[{'key':_0x5318c5(0x2d7,0x349,0x2bc,0x180),'label':_0x7f0a6b(0x5ee,0x3e1,0x49d,0x2fc)},{'key':_0x7f0a6b(0x36e,0x2a3,0x4b6,0xed),'label':_0x7f0a6b(0xfa,0x292,0x9a,0x253)}]},'todo_write':{'showDefaultParams':!0x1,'customRenderer':({toolCall:_0x407a44})=>{const _0x24c221={_0x22fac8:0x429,_0x10445d:0x684,_0x10a64d:0x51c,_0x8749f4:0x37e,_0x637bb7:0x510,_0x4a0fd1:0xd1,_0x1d86d2:0x659,_0x2f4177:0x57e,_0x14df8b:0x22,_0x4cd21d:0x10c,_0x3a9dc3:0x197,_0x544ac8:0x18,_0x24023e:0x160,_0x1bbcdc:0x112,_0x3426f9:0x368,_0x3f70a0:0x43d,_0xcf4277:0x2d3,_0x12d7a4:0x37f},_0xa78448={_0x2dfbca:0x1c2,_0x289d61:0xcd},_0x395467={_0x6cc25f:0x34};function _0x28a2e6(_0x359a4c,_0x4d4317,_0x1596d2,_0x585d1d){return _0x5318c5(_0x359a4c-0xcc,_0x585d1d,_0x1596d2-_0x395467._0x6cc25f,_0x4d4317-0x354);}let {theme:_0x5c1cd0}=F(),_0x366546=_0x21a060(_0x407a44[_0x28a2e6(0x27d,0x342,_0x24c221._0x22fac8,0x528)][_0x28a2e6(_0x24c221._0x10445d,0x585,0x53d,0x5e8)]),_0x4604ed=_0x4cd01f(_0x366546)?_0x366546[_0x28a2e6(0x649,_0x24c221._0x10a64d,_0x24c221._0x8749f4,0x4de)]:void 0x0;function _0x1ae3a9(_0x2d671c,_0x484db3,_0x54e53a,_0x5bce68){return _0x5318c5(_0x2d671c-_0xa78448._0x2dfbca,_0x54e53a,_0x54e53a-_0xa78448._0x289d61,_0x5bce68- -0x184);}return!_0x4604ed||!Array[_0x28a2e6(_0x24c221._0x637bb7,0x633,0x797,0x76c)](_0x4604ed)?null:_0x2951e2(_0x3f43f0,{'flexDirection':_0x1ae3a9(0x22f,0x394,0xc6,0x1b7),'children':[_0x1b2232(_0x3f43f0,{'children':_0x2951e2(_0x3b03e7,{'color':_0x5c1cd0['toolApproval'][_0x1ae3a9(-0x122,-0x287,-0x34,-_0x24c221._0x4a0fd1)],'children':[_0x28a2e6(0x68b,0x5b1,_0x24c221._0x1d86d2,_0x24c221._0x2f4177),_0x4604ed[_0x1ae3a9(0x1c9,-0x1fa,-0x13c,-_0x24c221._0x14df8b)],'):']})}),_0x4604ed[_0x1ae3a9(-0x5,-_0x24c221._0x4cd21d,_0x24c221._0x3a9dc3,-_0x24c221._0x544ac8)](0x0,0x5)[_0x1ae3a9(-_0x24c221._0x24023e,-_0x24c221._0x1bbcdc,0x46,0xb2)]((_0x508207,_0x3f50bf)=>_0x1b2232(_0x3f43f0,{'marginLeft':0x2,'flexWrap':_0x28a2e6(0x5cd,0x52c,0x35d,0x320),'children':_0x2951e2(_0x3b03e7,{'dimColor':!0x0,'children':['[',_0x508207['status'],']\x20',_0x508207[_0x1ae3a9(-0x307,-0x24a,-0x157,-0x114)]]})},_0x3f50bf)),_0x4604ed['length']>0x5&&_0x1b2232(_0x3f43f0,{'marginLeft':0x2,'children':_0x2951e2(_0x3b03e7,{'dimColor':!0x0,'children':[_0x28a2e6(_0x24c221._0x3426f9,_0x24c221._0x3f70a0,_0x24c221._0xcf4277,_0x24c221._0x12d7a4),_0x4604ed[_0x28a2e6(0x532,0x4b6,0x296,0x45f)]-0x5,'\x20more']})})]});}}},lm=({toolCall:_0x2e826e,config:_0x4e4e8f})=>{const _0x81a27={_0x5c1393:0xec,_0x8eff3:0x11c,_0x2902f4:0x198,_0x90b64b:0x528,_0x1029d7:0x4a5,_0x578973:0x3d2,_0x46b7f6:0x6a7,_0x26ba98:0xc2,_0x12927e:0x113,_0x4cbfa9:0x2f0,_0x3246d6:0x632,_0x5edd0e:0x689,_0x1f7b4c:0x646,_0xca2599:0x451,_0x5c6874:0x33b,_0x2ac55c:0x234,_0x516e89:0x719,_0x3a82cb:0x17b,_0x5b8e2a:0x1fb},_0x6954b={_0x58267c:0x23d},_0x2cd12b={_0x4b83fb:0x1f0,_0x291f5f:0x2f7};function _0x4be7d6(_0x173392,_0x532f5f,_0x4957ba,_0x5945ad){return _0x5318c5(_0x173392-0x1e9,_0x4957ba,_0x4957ba-_0x2cd12b._0x4b83fb,_0x173392-_0x2cd12b._0x291f5f);}let {theme:_0x55e87e}=F(),_0x1531a1=_0x21a060(_0x2e826e[_0x4b12e2(-0x24f,-_0x81a27._0x5c1393,-_0x81a27._0x8eff3,-_0x81a27._0x2902f4)][_0x4be7d6(_0x81a27._0x90b64b,0x36c,0x510,0x621)]),_0x544d22=(_0x4e4e8f[_0x4be7d6(_0x81a27._0x1029d7,_0x81a27._0x578973,_0x81a27._0x46b7f6,0x592)]||[])[_0x4b12e2(-0x11e,_0x81a27._0x26ba98,_0x81a27._0x12927e,-_0x81a27._0x4cbfa9)](_0x1be69a=>!_0x1be69a[_0x4be7d6(0x49e,0x5cd,0x40e,0x5fe)]&&_0x1531a1[_0x1be69a[_0x4be7d6(0x6eb,0x870,0x637,0x871)]]!==void 0x0);function _0x4b12e2(_0x32d143,_0x15c15d,_0x2daeef,_0x33dcc8){return _0x5318c5(_0x32d143-0xa8,_0x15c15d,_0x2daeef-0x5a,_0x32d143- -_0x6954b._0x58267c);}return _0x544d22['length']===0x0?null:_0x2951e2(_0x3f43f0,{'flexDirection':_0x4be7d6(_0x81a27._0x3246d6,_0x81a27._0x5edd0e,0x629,_0x81a27._0x1f7b4c),'children':[_0x1b2232(_0x3f43f0,{'children':_0x1b2232(_0x3b03e7,{'color':_0x55e87e[_0x4be7d6(_0x81a27._0xca2599,_0x81a27._0x5c6874,0x4f1,_0x81a27._0x2ac55c)][_0x4be7d6(0x3aa,0x297,0x1ba,0x53c)],'children':_0x4be7d6(_0x81a27._0x516e89,0x553,0x81a,0x586)})}),_0x544d22[_0x4b12e2(-0x7,0x1aa,_0x81a27._0x3a82cb,-_0x81a27._0x5b8e2a)](({key:_0x230732,label:_0x48191e,format:_0x4ac40d})=>{let _0x38672c=_0x1531a1[_0x230732],_0xc9e9d6=_0x48191e||_0x230732,_0x2e0a97=_0x4ac40d?_0x4ac40d(_0x38672c):Hi(_0x38672c);return _0x1b2232(_0x3f43f0,{'marginLeft':0x2,'flexWrap':'wrap','children':_0x2951e2(_0x3b03e7,{'dimColor':!0x0,'children':[_0xc9e9d6,':\x20',_0x2e0a97]})},_0x230732);})]});},Ki=({toolCall:_0x21a530})=>{const _0x4b5512={_0x23993b:0x4f7,_0x8706c1:0x2e4,_0x2342e4:0x442,_0x43d023:0x313,_0x4d98e1:0x3dc,_0x302c28:0x642,_0x3ba211:0x43c,_0x2212fe:0x464,_0x243d9f:0x527,_0x43e51c:0x7a6,_0x13ab83:0x61f,_0x5d1479:0x682,_0x37123b:0x5a1,_0x1d232c:0x6fd,_0x3e7bfd:0x81d,_0x431109:0x631,_0x1c2ce1:0x391,_0x124149:0x56b,_0x160e40:0x309,_0x279db8:0x673,_0x2096fa:0x526,_0x2c04ac:0x54e},_0x2b0b69={_0x54166f:0x167},_0x4d6bed={_0x4941e4:0x316};let {theme:_0x2fdfc9}=F(),_0x56eb50=_0x21a530[_0x546f67(0xbf,0x4d3,_0x4b5512._0x23993b,_0x4b5512._0x8706c1)]['name'],_0x48e9a6=am[_0x56eb50];if(!_0x48e9a6){let _0x2f8d83=_0x21a060(_0x21a530[_0x36ec70(_0x4b5512._0x2342e4,_0x4b5512._0x43d023,_0x4b5512._0x4d98e1,0x35f)][_0x546f67(_0x4b5512._0x302c28,_0x4b5512._0x3ba211,_0x4b5512._0x2212fe,_0x4b5512._0x243d9f)]),_0x195be8=Object[_0x546f67(0x5d8,_0x4b5512._0x43e51c,_0x4b5512._0x13ab83,_0x4b5512._0x5d1479)](_0x2f8d83)[_0x36ec70(_0x4b5512._0x37123b,0x721,0x50d,0x641)](([_0x5cc1a0])=>_0x5cc1a0!=='description');return _0x2951e2(_0x3f43f0,{'flexDirection':_0x546f67(0x4dd,_0x4b5512._0x1d232c,_0x4b5512._0x3e7bfd,_0x4b5512._0x431109),'children':[_0x1b2232(_0x3f43f0,{'children':_0x1b2232(_0x3b03e7,{'color':_0x2fdfc9[_0x546f67(0x48a,_0x4b5512._0x1c2ce1,_0x4b5512._0x124149,0x450)]['statusText'],'children':'Parameters:'})}),_0x195be8[_0x546f67(0x40b,_0x4b5512._0x160e40,0x733,0x52c)](([_0x1c1e17,_0x4b3963])=>_0x1b2232(_0x3f43f0,{'marginLeft':0x2,'flexWrap':_0x546f67(0x2b5,0x2a4,0x3a8,0x4ce),'children':_0x1b2232(_0x3b03e7,{'dimColor':!0x0,'children':_0x1c1e17+':\x20'+Hi(_0x4b3963)})},_0x1c1e17))]});}function _0x36ec70(_0x5e5219,_0x209003,_0x1ccbd2,_0x3fbdb2){return _0x7f0a6b(_0x5e5219-0x36,_0x1ccbd2-_0x4d6bed._0x4941e4,_0x3fbdb2,_0x3fbdb2-0x1f3);}function _0x546f67(_0x1159be,_0x5a3ac8,_0x256034,_0x513cac){return _0x7f0a6b(_0x1159be-0x7b,_0x513cac-0x21e,_0x5a3ac8,_0x513cac-_0x2b0b69._0x54166f);}if(_0x48e9a6['customRenderer']){let _0x1c1f82=_0x48e9a6[_0x36ec70(_0x4b5512._0x279db8,_0x4b5512._0x2096fa,_0x4b5512._0x2c04ac,0x34d)];return _0x1b2232(_0x1c1f82,{'toolCall':_0x21a530});}return _0x1b2232(lm,{'toolCall':_0x21a530,'config':_0x48e9a6});};import{jsx as _0x103784}from'react/jsx-runtime';var pn=({toolCall:_0x400a4c})=>{const _0x531e9c={_0x3c2b23:0x1,_0x3fa4c1:0x18a,_0x221be9:0x133};function _0x502aa3(_0x302c80,_0x363aa1,_0x546bd2,_0x345bbe){return _0x7f0a6b(_0x302c80-_0x531e9c._0x3c2b23,_0x363aa1-_0x531e9c._0x3fa4c1,_0x345bbe,_0x345bbe-_0x531e9c._0x221be9);}let {rows:_0x4c9c55}=te(),_0x5b219b=Math[_0x502aa3(0x1f5,0x41a,0x30c,0x3a4)](0x5,_0x4c9c55-0x14);return _0x103784(Go,{'maxHeight':_0x5b219b,'mousePriority':0x64,'children':_0x103784(Ki,{'toolCall':_0x400a4c})});};import{Text as _0x4a234f}from'ink';import{jsxs as _0x5d7184}from'react/jsx-runtime';var fn=({currentIndex:_0x1fe8f7,totalTools:_0x4dbd16})=>{const _0x59f52a={_0x103848:0x627},_0x55a435={_0x2a6478:0x470},_0x2b3225={_0xb59e8a:0x26,_0x188e7e:0x178};function _0x6f0cd(_0x24f60b,_0x4ba8af,_0x66a099,_0x49250f){return _0x5318c5(_0x24f60b-_0x2b3225._0xb59e8a,_0x24f60b,_0x66a099-0x1c5,_0x66a099-_0x2b3225._0x188e7e);}let {theme:_0x59df8e}=F();function _0xc121d2(_0x2552a5,_0x266580,_0x877532,_0xb36774){return _0x5318c5(_0x2552a5-0x12f,_0x2552a5,_0x877532-0x49,_0x266580-_0x55a435._0x2a6478);}return _0x5d7184(_0x4a234f,{'color':_0x59df8e[_0x6f0cd(0x30e,0x3ac,0x2d2,0x412)][_0xc121d2(_0x59f52a._0x103848,0x523,0x40b,0x5ec)],'children':[_0x1fe8f7+0x1,'/',_0x4dbd16]});};import{Box as _0x12f9ba,Text as _0x551c91}from'ink';import{jsx as _0x3f9e1d,jsxs as _0x29655c}from'react/jsx-runtime';var gn=({label:_0xb1a3de,labelSelectedColor:_0x1cdbaf,labelDefaultColor:_0x56e35e,onActionExecute:_0xdd9153,autoFocus:_0x28fe75})=>{const _0x6e359c={_0x26e4e9:0x3f9,_0x4ec5cd:0x411,_0x4f57c4:0x1f7,_0x239798:0x209,_0x31dc92:0x63,_0x1d00b2:0x223,_0x5ef7fb:0x27},_0x4bed71={_0x4852b9:0x623,_0x21b196:0x80f,_0x4618be:0x534,_0x41c157:0x837},_0x3ad517={_0x41f127:0x46},_0x4c7054={_0x316f5d:0x169,_0x2e7005:0x2ea};function _0x14d390(_0x55cf6e,_0x5a575c,_0x7fcc78,_0x1865ad){return _0x7f0a6b(_0x55cf6e-_0x4c7054._0x316f5d,_0x55cf6e-_0x4c7054._0x2e7005,_0x7fcc78,_0x1865ad-0xfa);}function _0x3018eb(_0x47d07d,_0x4b93f2,_0x59faec,_0x45796a){return _0x5318c5(_0x47d07d-0x63,_0x45796a,_0x59faec-_0x3ad517._0x41f127,_0x59faec-0xc9);}let {theme:_0x13860f}=F(),{isFocused:_0x3f7967}=Ne({'active':!0x0,'autoFocus':_0x28fe75});return W((_0x5d02a2,_0x3e720b)=>{function _0xeaa0a9(_0x5ec31f,_0x26d720,_0x1b7808,_0x58b208){return _0xa481(_0x5ec31f-0x35f,_0x58b208);}if(_0x3e720b[_0xeaa0a9(_0x4bed71._0x4852b9,_0x4bed71._0x21b196,_0x4bed71._0x4618be,_0x4bed71._0x41c157)])return _0xdd9153(),!0x0;},{'isActive':_0x3f7967}),_0x29655c(_0x12f9ba,{'alignItems':_0x14d390(_0x6e359c._0x26e4e9,_0x6e359c._0x4ec5cd,0x38a,_0x6e359c._0x4f57c4),'children':[_0x3f9e1d(_0x551c91,{'color':_0x3f7967?_0x13860f[_0x3018eb(_0x6e359c._0x239798,_0x6e359c._0x31dc92,_0x6e359c._0x1d00b2,_0x6e359c._0x5ef7fb)]['actionSelected']:'transparent','bold':!0x0,'children':_0x3f7967?'❯\x20':'\x20\x20'}),_0x3f9e1d(_0x551c91,{'dimColor':!_0x3f7967,'color':_0x3f7967?_0x1cdbaf:_0x56e35e,'bold':!0x0,'children':_0xb1a3de})]});},hn=({onActionExecute:_0x282db6})=>{const _0x1b692e={_0x40ca06:0x346,_0x3112c5:0x3eb,_0x4af1d4:0x47,_0x40f405:0x23c,_0x5c8fd1:0x54e,_0x1d3e17:0x644,_0x46eb08:0x65,_0x29f6f7:0x451},_0x260242={_0x3da116:0x35,_0x4e2f86:0x1d3},_0x551176={_0x449f02:0x167};function _0x24b708(_0x58566d,_0x33a6c7,_0x5c36e3,_0x46bebe){return _0x7f0a6b(_0x58566d-0x102,_0x5c36e3-0x46,_0x58566d,_0x46bebe-_0x551176._0x449f02);}let {theme:_0x36d8fc}=F();function _0x2a2bbc(_0x5d3b4e,_0xf2a984,_0x242d2a,_0x102d56){return _0x7f0a6b(_0x5d3b4e-_0x260242._0x3da116,_0x242d2a- -0x283,_0x5d3b4e,_0x102d56-_0x260242._0x4e2f86);}return _0x29655c(_0x12f9ba,{'flexDirection':_0x24b708(_0x1b692e._0x40ca06,0x189,0x369,_0x1b692e._0x3112c5),'gap':0x2,'children':[_0x3f9e1d(gn,{'label':_0x2a2bbc(-0xae,_0x1b692e._0x4af1d4,-0x176,-0x332),'labelSelectedColor':_0x36d8fc[_0x2a2bbc(-0x24d,0x1d7,-0x51,-_0x1b692e._0x40f405)][_0x24b708(0x668,_0x1b692e._0x5c8fd1,0x4e7,_0x1b692e._0x1d3e17)],'labelDefaultColor':_0x2a2bbc(0x37e,0x244,0x22d,0x3c1),'onActionExecute':()=>_0x282db6(0x0),'autoFocus':!0x0}),_0x3f9e1d(gn,{'label':'No','labelSelectedColor':_0x36d8fc['toolApproval']['actionSelected'],'labelDefaultColor':_0x36d8fc[_0x24b708(0x49e,0x338,0x278,0x39f)][_0x2a2bbc(0x37,_0x1b692e._0x46eb08,0x4e,-0x147)],'onActionExecute':()=>_0x282db6(0x1)}),_0x3f9e1d(gn,{'label':'Yes,\x20for\x20this\x20session','labelSelectedColor':_0x36d8fc[_0x24b708(_0x1b692e._0x29f6f7,0x31c,0x278,0x48c)]['actionSelected'],'labelDefaultColor':_0x36d8fc['toolApproval']['actionReview'],'onActionExecute':()=>_0x282db6(0x2)})]});};import{forwardRef as _0x3b4656,useImperativeHandle as _0x46b6a0,useState as _0x38d4d4,useEffect as _0x40dece}from'react';import{Box as _0x3b627b,Text as _0x4f764a}from'ink';import _0x350b6c,{useEffect as _0x24b593}from'react';import{Text as _0x3d756a}from'ink';function J(_0x2a7819,_0x6416f1){const _0xeac6a={_0x58861e:0x4b2,_0x2ee856:0x354,_0x551a07:0x5ce,_0x414627:0x51c,_0x2705b4:0x3ff,_0x3b0e9b:0xed,_0x40661a:0x25c,_0x1197d5:0x122,_0x21bab2:0x1c8,_0x4467f8:0x493,_0x333bdf:0x699},_0xe8fc70={_0x4d3a66:0x72},_0x45bcf8={_0x2521cb:0x14c,_0x25e72e:0x537};function _0x3441da(_0x49b2a2,_0x5af6c7,_0xa03db7,_0x32444d){return _0x5318c5(_0x49b2a2-0x7c,_0x5af6c7,_0xa03db7-_0x45bcf8._0x2521cb,_0x32444d-_0x45bcf8._0x25e72e);}let _0x1f853e=_0x2a7819[_0x30d9b1(_0xeac6a._0x58861e,0x337,0x1f6,_0xeac6a._0x2ee856)]('\x0a'),_0x287db4=0x0;for(let _0x1bd80c=0x0;_0x1bd80c<_0x1f853e[_0x3441da(_0xeac6a._0x551a07,_0xeac6a._0x414627,0x705,0x699)];_0x1bd80c++){let _0x179bfc=_0x1f853e[_0x1bd80c],_0x10c316=_0x287db4+_0x179bfc['length'];if(_0x6416f1<=_0x10c316)return{'lines':_0x1f853e,'lineIndex':_0x1bd80c,'column':_0x6416f1-_0x287db4,'lineStart':_0x287db4,'lineEnd':_0x10c316};_0x287db4=_0x10c316+0x1;}function _0x30d9b1(_0x3fc5ae,_0x147202,_0x2a3a71,_0x50b623){return _0x7f0a6b(_0x3fc5ae-0x1ee,_0x50b623- -_0xe8fc70._0x4d3a66,_0x3fc5ae,_0x50b623-0x106);}let _0x2b4ab1=Math[_0x30d9b1(0x26,0x28f,_0xeac6a._0x2705b4,0x21e)](0x0,_0x1f853e[_0x30d9b1(_0xeac6a._0x3b0e9b,_0xeac6a._0x40661a,0x162,0x1c8)]-0x1),_0x1425d3=_0x1f853e[_0x2b4ab1]??'',_0x585326=_0x2a7819['length']-_0x1425d3[_0x30d9b1(0x34d,_0xeac6a._0x1197d5,0x2,_0xeac6a._0x21bab2)];return{'lines':_0x1f853e,'lineIndex':_0x2b4ab1,'column':_0x1425d3[_0x3441da(0x655,_0xeac6a._0x4467f8,0x643,_0xeac6a._0x333bdf)],'lineStart':_0x585326,'lineEnd':_0x2a7819['length']};}function Je(_0x29aa1a,_0x18ef84,_0x4b22fe){const _0x6c9edd={_0x440c75:0x8ee,_0xa18f16:0x810,_0x287386:0x7cf,_0x1c0450:0x92c,_0x21ac1e:0x780,_0x231ff0:0x661,_0x2f46b8:0x58e,_0x4197e9:0x5f9,_0x1b4aaa:0x589,_0xef738e:0x3b0,_0x1ef08e:0x588,_0x34bc78:0x57e},_0x1f5ee1={_0x4e9af5:0xcf,_0x433420:0x344};if(!_0x29aa1a['includes']('\x0a'))return null;let _0x23c704=J(_0x29aa1a,_0x18ef84),_0x37b9fd=_0x4b22fe==='up'?_0x23c704[_0x15951f(_0x6c9edd._0x440c75,_0x6c9edd._0xa18f16,_0x6c9edd._0x287386,_0x6c9edd._0x1c0450)]-0x1:_0x23c704['lineIndex']+0x1;if(_0x37b9fd<0x0||_0x37b9fd>=_0x23c704[_0xeef01b(0x6fe,_0x6c9edd._0x21ac1e,_0x6c9edd._0x231ff0,_0x6c9edd._0x2f46b8)]['length'])return null;let _0x24195b=_0x23c704[_0x15951f(0x445,_0x6c9edd._0x4197e9,_0x6c9edd._0x1b4aaa,0x54f)][_0x37b9fd][_0xeef01b(_0x6c9edd._0xef738e,_0x6c9edd._0x1ef08e,0x4e1,_0x6c9edd._0x34bc78)],_0x14c577=Math['min'](_0x23c704['column'],_0x24195b),_0x226664=0x0;function _0xeef01b(_0x409aed,_0x59fac7,_0x2ba736,_0x5bf9f3){return _0x7f0a6b(_0x409aed-_0x1f5ee1._0x4e9af5,_0x5bf9f3-_0x1f5ee1._0x433420,_0x2ba736,_0x5bf9f3-0x16c);}function _0x15951f(_0x1204f6,_0x51e314,_0x1a1bd7,_0x511384){return _0x5318c5(_0x1204f6-0xa5,_0x511384,_0x1a1bd7-0x1af,_0x1a1bd7-0x417);}for(let _0x245bac=0x0;_0x245bac<_0x37b9fd;_0x245bac++)_0x226664+=_0x23c704['lines'][_0x245bac]['length']+0x1;return _0x226664+_0x14c577;}function Gi(_0x2a9f59,_0x4db776){const _0x5d7070={_0x4a494e:0x3dc,_0x3696fc:0x654,_0x3014ca:0x2c3,_0x56e8d6:0x844,_0x5affad:0x7b9,_0x129543:0x764},_0x310231={_0x2d1983:0x69},_0x27b546={_0x430742:0xac};function _0x357556(_0x9bbff3,_0x3e5a93,_0x2f8371,_0x3ea123){return _0x7f0a6b(_0x9bbff3-_0x27b546._0x430742,_0x9bbff3-0x38e,_0x3e5a93,_0x3ea123-0x103);}let _0x8b63cb=_0x4db776;for(;_0x8b63cb<_0x2a9f59[_0x357556(0x5c8,_0x5d7070._0x4a494e,_0x5d7070._0x3696fc,0x5fc)]&&/\s/['test'](_0x2a9f59[_0x8b63cb]);)_0x8b63cb++;for(;_0x8b63cb<_0x2a9f59[_0x342880(0x147,0x8e,_0x5d7070._0x3014ca,-0x174)]&&!/\s/[_0x357556(_0x5d7070._0x56e8d6,_0x5d7070._0x5affad,0xa35,_0x5d7070._0x129543)](_0x2a9f59[_0x8b63cb]);)_0x8b63cb++;function _0x342880(_0x575368,_0x597d0d,_0x17e445,_0x37028d){return _0x7f0a6b(_0x575368-0x13d,_0x597d0d- -0x1ac,_0x17e445,_0x37028d-_0x310231._0x2d1983);}return Math['min'](_0x8b63cb,_0x2a9f59['length']);}function yn(_0x371124,_0x37ad7f,_0x160beb){const _0x5a5121={_0x1bc0f0:0x325,_0x2e1e2c:0x44b,_0x4f284b:0x3bc,_0x5ea758:0x236,_0x22f623:0x5d2,_0x542fc6:0x47f},_0x5e68aa={_0x83e5ce:0x1cf},_0x2b26bf={_0x54975e:0x62,_0x1fd8d7:0x7e};function _0x29f9f7(_0x171e30,_0x3a5712,_0x35e857,_0x3818eb){return _0x5318c5(_0x171e30-0x4d,_0x171e30,_0x35e857-_0x2b26bf._0x54975e,_0x3818eb-_0x2b26bf._0x1fd8d7);}if(_0x371124<=0x0)return 0x0;function _0x18d6b1(_0x115a1a,_0x24f74d,_0x2e44f8,_0x35b33c){return _0x5318c5(_0x115a1a-0x1f,_0x35b33c,_0x2e44f8-_0x5e68aa._0x83e5ce,_0x115a1a-0x2c5);}if(_0x160beb===_0x29f9f7(_0x5a5121._0x1bc0f0,0x45b,_0x5a5121._0x2e1e2c,0x235)){let _0x4bfc72=Math[_0x29f9f7(0xb8,0x71,_0x5a5121._0x4f284b,_0x5a5121._0x5ea758)](0x0,_0x371124-0x1);return Math['max'](0x0,Math['min'](_0x37ad7f,_0x4bfc72));}return Math['max'](0x0,Math[_0x18d6b1(0x500,_0x5a5121._0x22f623,0x6df,_0x5a5121._0x542fc6)](_0x37ad7f,_0x371124));}import{useState as _0x5ebb50,useEffect as _0x5cd831,useCallback as _0xaf66bc,useRef as _0x4aebc3}from'react';function qi({enabled:_0x25a19f,onModeChange:_0x320267}){const _0x52345a={_0x2c1a4a:0x349,_0x42ba3e:0x540},_0x21c46c={_0x3bbded:0x5bb,_0x30cc50:0x529,_0x43bd42:0x5c2,_0x3c6a7b:0x942,_0x1208e5:0x8f7,_0x4ebb7b:0x5c3,_0xfa7ca7:0x189,_0x37d2e4:0x207,_0x5afa67:0x396,_0x1f0cc8:0x4d9,_0x3bcf9d:0x256,_0x216d72:0x374,_0x3051a2:0x1a2,_0x5a05a1:0x6d5,_0x47f118:0x799,_0xf23c41:0x757,_0x561554:0x8f9,_0x2e41c6:0x22c,_0x346ad7:0xa69,_0x33a5bf:0x9ac,_0x4a7d47:0x693,_0x2f6713:0x874,_0x3390fe:0x6b1,_0x22af1e:0x53b,_0x36aa83:0x5bd,_0xc55f07:0x22f,_0x2254fb:0x272,_0x11611c:0x49d,_0x4c63e6:0x606,_0x364522:0x6df,_0x45df96:0x682,_0x410fc1:0x18,_0x5099ab:0xe9,_0x28a1ec:0xdc,_0x1b901c:0x6fe,_0x40a12d:0x64a,_0x11a44a:0x696,_0x44f785:0x687,_0x3d374d:0x582,_0x37c501:0x110,_0x569889:0x2d3,_0x3aacc4:0x924,_0x441a7a:0x51a,_0x4bcdd7:0x703,_0x3cbf5d:0x1af,_0x36b0b1:0x3a4,_0x21dd37:0x78a,_0x315422:0xdf,_0x492698:0x76a,_0x52f09e:0x650,_0x22cf9f:0x56e,_0x1edd8c:0x861,_0x2230a7:0x768,_0x41c73a:0x640,_0x2b7208:0x77e,_0x1a3b3d:0x59b,_0x37aead:0xf0,_0xc28011:0x75a,_0x1214ae:0x4b1,_0x296488:0x433,_0x2eb312:0x482,_0x27ab58:0x2e3,_0x3f0820:0x436,_0x4c8655:0xa7,_0x1c296a:0xe9,_0x1e7a21:0x5ec,_0x5bc5e6:0x555,_0x7025cf:0x21,_0x4d07a7:0x36c,_0x56d553:0x88b,_0x221a6b:0x6ff,_0x57efd2:0x8f9,_0x22171e:0x451,_0x350f83:0x760,_0x1814e7:0x642,_0x36918e:0x811,_0x51c37d:0x2eb,_0x1cc98a:0x69,_0x4d358a:0x37,_0x5c5e0b:0x66c,_0x1f1fb4:0x78,_0x155ba5:0x11f,_0x1af80b:0x248,_0x48a0b5:0xaaa,_0xdf2806:0xabb,_0x35b60a:0x410,_0x1ec204:0x294,_0x5194b7:0x97,_0x208f6a:0x20d,_0x2b6250:0x1f1,_0x13d5a0:0x3a4,_0x1f3583:0x185,_0x4622c8:0x11c,_0x4984cc:0xaf,_0x44235f:0x296,_0xa6361e:0x24e,_0x1c1467:0xe9,_0x1cdf3b:0x73,_0x1aadfa:0x50f,_0x338bed:0x100,_0x20d837:0x279,_0x30c885:0x1b4,_0x496f82:0x4c7,_0x3617b4:0x52b,_0x5c8351:0x64a,_0x2b8b11:0x670,_0x1dff80:0x638,_0x4f5df5:0x719,_0x2cd571:0x762,_0x22d45a:0x640,_0x50ff75:0x627,_0x3f24b1:0x5c,_0x5795ee:0x182,_0x1a9fa3:0x2,_0x555c60:0xbe,_0xb9321e:0x135,_0x152fb0:0xcf,_0x5bf73f:0x76c,_0x350354:0x5ba,_0x353590:0x9e,_0x324518:0xe9,_0x9a170b:0x411,_0x308ba9:0x261,_0x572d8d:0x398,_0x490a2a:0x15d,_0x5ee11c:0x232,_0x5fc451:0x1ac,_0x1b5bcc:0xb30,_0x109633:0xae1,_0x403c51:0x905,_0xa1d520:0x387,_0x28663e:0xef,_0x7a85cf:0x2b8,_0x2c4da5:0x968,_0x56d10c:0xa80,_0x32cd7b:0x8f9,_0x31b30e:0x65c,_0x3d436f:0x893,_0x5f3184:0x6c0,_0x23a95d:0x527,_0x273966:0x8e2,_0x28103e:0x77a,_0x11f055:0x7f,_0x335d66:0x280,_0x37dc6b:0x4,_0x599fbd:0x1d,_0x446c92:0x59,_0xb0f7f9:0x1e4,_0x36bb01:0x1da,_0x20d26b:0x277,_0x2d0638:0x75b,_0x4aa8d9:0x8f9,_0x4fbe7b:0x8a1,_0x20a6b9:0x9d1,_0x34b4a8:0x6b7,_0x124a93:0x752,_0x2fc991:0x7cd,_0x3175e1:0x89b,_0x52ddbe:0x61a},_0x3fead0={_0x542a6c:0x46c},_0x1b4cc1={_0x568b04:0x91,_0x365f0b:0x37b,_0x66d6b:0x194},_0x3792cf={_0x15d96c:0x1f},_0x771c68={_0x2ee272:0xa4,_0x587fe6:0x175,_0x5c3c21:0xd1},_0x42cd3b={_0x1bab8a:0x404,_0x42097b:0x411,_0x4d3fe4:0x2b2,_0x3526e2:0x26e,_0x18290a:0x674,_0x4412b3:0x42d,_0x1a2325:0x2d5,_0x34cd71:0xe0},_0xb1c9b7={_0x1c18bf:0x341,_0x329c86:0x8e},_0x3e6829={_0x47d5b2:0x3f,_0x18297e:0x198};function _0xa625a3(_0x13b81e,_0x599883,_0x9d8631,_0xff45e2){return _0x5318c5(_0x13b81e-0x178,_0xff45e2,_0x9d8631-0xd6,_0x599883-0x3e9);}let [_0x4c7010,_0xcaeb64]=_0x5ebb50(_0xa625a3(0x3cd,0x4cd,_0x52345a._0x2c1a4a,_0x52345a._0x42ba3e)),[_0x53c4ab,_0x4a0aa]=_0x5ebb50(null),_0x36b5dc=_0x4aebc3(!0x1),_0xb572e5=_0xaf66bc(_0x10de23=>{_0xcaeb64(_0x10de23),_0x320267?.(_0x10de23);},[_0x320267]);_0x5cd831(()=>{function _0x1a4638(_0x1f4980,_0x40cf88,_0x234faf,_0x55ec86){return _0xa625a3(_0x1f4980-_0x3e6829._0x47d5b2,_0x234faf-0x159,_0x234faf-_0x3e6829._0x18297e,_0x55ec86);}function _0x5a1a51(_0x1d56cd,_0x5117f0,_0x5c6bda,_0x5e8277){return _0xa625a3(_0x1d56cd-0x8f,_0x1d56cd- -_0xb1c9b7._0x1c18bf,_0x5c6bda-_0xb1c9b7._0x329c86,_0x5117f0);}_0x25a19f?_0x36b5dc[_0x5a1a51(0x2d5,0x4fb,_0x42cd3b._0x1bab8a,_0x42cd3b._0x42097b)]||_0xb572e5('normal'):_0x36b5dc[_0x5a1a51(0x2d5,_0x42cd3b._0x4d3fe4,_0x42cd3b._0x3526e2,0x1f0)]&&_0xb572e5(_0x1a4638(0x763,_0x42cd3b._0x18290a,0x626,_0x42cd3b._0x4412b3)),_0x36b5dc[_0x5a1a51(_0x42cd3b._0x1a2325,0xdd,_0x42cd3b._0x34cd71,0x383)]=_0x25a19f;},[_0x25a19f,_0xb572e5]);let _0x27623a=_0xaf66bc(()=>{const _0x393ea9={_0x2770f9:0x1e8};function _0xe64bb0(_0x100c9f,_0x448a80,_0x2d4ab0,_0x47e745){return _0xa625a3(_0x100c9f-_0x393ea9._0x2770f9,_0x100c9f- -0x407,_0x2d4ab0-0xba,_0x2d4ab0);}_0xb572e5(_0xe64bb0(0xc6,-_0x771c68._0x2ee272,_0x771c68._0x587fe6,_0x771c68._0x5c3c21)),_0x4a0aa(null);},[_0xb572e5]),_0x308cbb=_0xaf66bc(()=>{function _0x3e787d(_0x502722,_0xb22f1f,_0x462beb,_0x4eed56){return _0xa625a3(_0x502722-_0x3792cf._0x15d96c,_0x462beb- -0x40c,_0x462beb-0x195,_0xb22f1f);}_0xb572e5(_0x3e787d(-_0x1b4cc1._0x568b04,_0x1b4cc1._0x365f0b,_0x1b4cc1._0x66d6b,0x36f)),_0x4a0aa(null);},[_0xb572e5]),_0x117572=_0xaf66bc((_0x314734,_0x251312,_0x2a10ad,_0x3e3ebb)=>{const _0x579efe={_0x22c681:0x16a};if(!_0x25a19f)return{'type':_0x38b143(_0x21c46c._0x3bbded,0x6a2,0x84f,0x703)};if(_0x4c7010===_0x38b143(_0x21c46c._0x30cc50,0x41b,0x5da,_0x21c46c._0x43bd42))return _0x251312[_0x38b143(0xacb,0x831,_0x21c46c._0x3c6a7b,_0x21c46c._0x1208e5)]?(_0x308cbb(),{'type':_0x38b143(0x731,0x751,_0x21c46c._0x4ebb7b,0x703)}):{'type':'none'};function _0x220f99(_0x215afe,_0x5822cf,_0x226eea,_0x5272b7){return _0xa625a3(_0x215afe-0x1c,_0x226eea- -_0x3fead0._0x542a6c,_0x226eea-0xc6,_0x5822cf);}if(_0x251312['return'])return{'type':_0x220f99(-0xa3,-_0x21c46c._0xfa7ca7,0x2e,0x13c)};if(_0x251312[_0x220f99(0x53b,_0x21c46c._0x37d2e4,_0x21c46c._0x5afa67,_0x21c46c._0x1f0cc8)])return _0x4a0aa(null),{'type':_0x220f99(_0x21c46c._0x3bcf9d,_0x21c46c._0x216d72,_0x21c46c._0x3051a2,0x3ca)};if(_0x251312[_0x38b143(0x558,_0x21c46c._0x5a05a1,0x617,0x533)])return{'type':'move-cursor','offset':_0x3e3ebb-0x1};if(_0x251312['rightArrow'])return{'type':_0x38b143(_0x21c46c._0x47f118,_0x21c46c._0xf23c41,0x957,_0x21c46c._0x561554),'offset':_0x3e3ebb+0x1};if(_0x251312[_0x220f99(0x2d1,_0x21c46c._0x2e41c6,0x128,0x292)]){let _0x3cfb1c=Je(_0x2a10ad,_0x3e3ebb,'up');return _0x3cfb1c!==null?{'type':_0x38b143(_0x21c46c._0x346ad7,0xacc,0x7df,0x8f9),'offset':_0x3cfb1c}:{'type':'none'};}if(_0x251312[_0x38b143(0x659,_0x21c46c._0x33a5bf,_0x21c46c._0x4a7d47,_0x21c46c._0x2f6713)]){let _0x4de0ae=Je(_0x2a10ad,_0x3e3ebb,_0x38b143(_0x21c46c._0x3390fe,0x7f5,_0x21c46c._0x22af1e,_0x21c46c._0x36aa83));return _0x4de0ae!==null?{'type':'move-cursor','offset':_0x4de0ae}:{'type':'none'};}if(_0x251312[_0x220f99(_0x21c46c._0xc55f07,_0x21c46c._0x2254fb,0x2fb,_0x21c46c._0x11611c)]||_0x251312[_0x38b143(0x630,0x591,_0x21c46c._0x4c63e6,0x63b)]){if(_0x3e3ebb===0x0||_0x2a10ad[_0x38b143(_0x21c46c._0x364522,0x813,_0x21c46c._0x45df96,0x640)]===0x0)return{'type':'none'};let _0x1a0385=_0x3e3ebb-0x1,_0x303914=_0x2a10ad[_0x220f99(-_0x21c46c._0x410fc1,0x22,_0x21c46c._0x5099ab,-_0x21c46c._0x28a1ec)](0x0,_0x1a0385)+_0x2a10ad[_0x38b143(0x857,_0x21c46c._0x1b901c,0x4be,_0x21c46c._0x40a12d)](_0x3e3ebb),_0x15f075=Math[_0x38b143(0x491,0x61c,0x4aa,_0x21c46c._0x11a44a)](0x0,_0x1a0385);return{'type':_0x38b143(_0x21c46c._0x44f785,0x6ba,0x5fc,_0x21c46c._0x3d374d),'value':_0x303914,'offset':_0x15f075};}if(_0x314734[_0x220f99(-_0x21c46c._0x37c501,_0x21c46c._0x569889,0xdf,-0xf0)]>0x1)return{'type':_0x38b143(_0x21c46c._0x3aacc4,_0x21c46c._0x441a7a,0x6f3,_0x21c46c._0x4bcdd7)};if(_0x53c4ab){if(_0x53c4ab==='d'){if(_0x314734==='d'){let _0x51dee7=J(_0x2a10ad,_0x3e3ebb),_0x26dc51=_0x51dee7['lineStart'],_0x1881f0=_0x51dee7[_0x220f99(_0x21c46c._0x3cbf5d,0x4c4,_0x21c46c._0x36b0b1,0x3db)],_0x37b499,_0x142faf;return _0x51dee7[_0x38b143(_0x21c46c._0x21dd37,0x5d9,0x7aa,0x650)][_0x220f99(-0x105,-0xd9,_0x21c46c._0x315422,-0x56)]===0x1?(_0x37b499='',_0x142faf=0x0):_0x51dee7[_0x38b143(0x796,0x9fc,0x6cf,0x896)]===_0x51dee7[_0x38b143(0x4db,_0x21c46c._0x492698,0x813,_0x21c46c._0x52f09e)][_0x38b143(_0x21c46c._0x22cf9f,_0x21c46c._0x1edd8c,_0x21c46c._0x2230a7,_0x21c46c._0x41c73a)]-0x1?(_0x37b499=_0x2a10ad[_0x38b143(0x649,_0x21c46c._0x2b7208,_0x21c46c._0x1a3b3d,0x64a)](0x0,Math[_0x220f99(0x3f,_0x21c46c._0x37aead,0x135,0x66)](0x0,_0x26dc51-0x1)),_0x142faf=Math[_0x38b143(_0x21c46c._0xc28011,0x899,_0x21c46c._0x1214ae,_0x21c46c._0x11a44a)](0x0,_0x26dc51-0x1)):(_0x37b499=_0x2a10ad[_0x38b143(_0x21c46c._0x296488,0x5fb,_0x21c46c._0x2eb312,0x64a)](0x0,_0x26dc51)+_0x2a10ad[_0x220f99(0x4c,-0xcc,_0x21c46c._0x5099ab,_0x21c46c._0x27ab58)](_0x1881f0+0x1),_0x142faf=_0x26dc51),_0x4a0aa(null),{'type':_0x38b143(0x407,_0x21c46c._0x3f0820,0x52c,_0x21c46c._0x3d374d),'value':_0x37b499,'offset':_0x142faf};}else{if(_0x314734==='w'){let _0x33dad8=Gi(_0x2a10ad,_0x3e3ebb),_0x4c0515=_0x2a10ad[_0x220f99(-0xf7,_0x21c46c._0x4c8655,_0x21c46c._0x1c296a,-0x12)](0x0,_0x3e3ebb)+_0x2a10ad['slice'](_0x33dad8),_0x26e293=Math[_0x220f99(0x3ef,-0x5,0x1b8,0x1cd)](_0x3e3ebb,Math[_0x38b143(0x777,_0x21c46c._0x1e7a21,_0x21c46c._0x5bc5e6,_0x21c46c._0x11a44a)](0x0,_0x4c0515[_0x38b143(0x47e,_0x21c46c._0x2f6713,0x549,0x640)]-0x1));return _0x4a0aa(null),{'type':_0x220f99(-0x13e,-0x12e,_0x21c46c._0x7025cf,-0x1bf),'value':_0x4c0515,'offset':_0x26e293};}}}else{if(_0x53c4ab==='g'&&_0x314734==='g')return _0x4a0aa(null),{'type':_0x220f99(0x4e7,_0x21c46c._0x4d07a7,0x398,0x229),'offset':0x0};}return _0x4a0aa(null),{'type':_0x38b143(0x6ec,_0x21c46c._0x56d553,0x59e,0x703)};}function _0x38b143(_0x5f8ed0,_0x243ce1,_0xb9bf2b,_0x258da6){return _0xa625a3(_0x5f8ed0-_0x579efe._0x22c681,_0x258da6-0xf5,_0xb9bf2b-0x13f,_0xb9bf2b);}switch(_0x314734){case'h':return{'type':_0x38b143(0x831,_0x21c46c._0x221a6b,0xa37,_0x21c46c._0x57efd2),'offset':_0x3e3ebb-0x1};case'l':return{'type':'move-cursor','offset':_0x3e3ebb+0x1};case'j':{let _0x48634a=Je(_0x2a10ad,_0x3e3ebb,_0x38b143(_0x21c46c._0x22171e,_0x21c46c._0x350f83,_0x21c46c._0x1814e7,0x5bd));return _0x48634a!==null?{'type':_0x38b143(_0x21c46c._0x36918e,0xa87,0x7e8,_0x21c46c._0x561554),'offset':_0x48634a}:{'type':_0x220f99(_0x21c46c._0x51c37d,-_0x21c46c._0x1cc98a,0x1a2,-_0x21c46c._0x4d358a)};}case'k':{let _0x2709af=Je(_0x2a10ad,_0x3e3ebb,'up');return _0x2709af!==null?{'type':'move-cursor','offset':_0x2709af}:{'type':_0x38b143(_0x21c46c._0x5c5e0b,0x722,0x555,_0x21c46c._0x4bcdd7)};}case'i':return _0x27623a(),{'type':_0x220f99(_0x21c46c._0x1f1fb4,_0x21c46c._0x155ba5,_0x21c46c._0x3051a2,_0x21c46c._0x1af80b)};case'a':return{'type':'enter-insert-mode','offset':_0x3e3ebb+0x1};case'A':return{'type':_0x38b143(0x957,0x77f,0x871,0x7f5),'offset':J(_0x2a10ad,_0x3e3ebb)[_0x38b143(_0x21c46c._0x48a0b5,0x940,_0x21c46c._0xdf2806,0x905)]};case'I':return{'type':_0x220f99(0xc2,_0x21c46c._0x35b60a,_0x21c46c._0x1ec204,0x103),'offset':J(_0x2a10ad,_0x3e3ebb)[_0x220f99(-_0x21c46c._0x5194b7,-_0x21c46c._0x208f6a,-0x52,-_0x21c46c._0x2b6250)]};case'o':{let _0x39f5b8=J(_0x2a10ad,_0x3e3ebb)[_0x220f99(0x3a5,0x330,_0x21c46c._0x13d5a0,0x1a6)];return{'type':_0x220f99(-_0x21c46c._0x1f3583,-_0x21c46c._0x4622c8,0x59,_0x21c46c._0x4984cc),'value':_0x2a10ad[_0x220f99(_0x21c46c._0x44235f,_0x21c46c._0xa6361e,_0x21c46c._0x1c1467,_0x21c46c._0x1cdf3b)](0x0,_0x39f5b8)+'\x0a'+_0x2a10ad['slice'](_0x39f5b8),'offset':_0x39f5b8+0x1};}case'O':{let _0x44c23b=J(_0x2a10ad,_0x3e3ebb)[_0x38b143(0x3f0,0x5fe,0x59e,_0x21c46c._0x1aadfa)];return{'type':_0x220f99(-_0x21c46c._0x338bed,_0x21c46c._0x20d837,0x59,-0x15f),'value':_0x2a10ad['slice'](0x0,_0x44c23b)+'\x0a'+_0x2a10ad['slice'](_0x44c23b),'offset':_0x44c23b};}case'x':{if(_0x2a10ad[_0x220f99(_0x21c46c._0x30c885,0x25a,0xdf,-0x35)]===0x0||_0x3e3ebb>=_0x2a10ad['length'])return{'type':'none'};let _0x545a47=_0x3e3ebb,_0x1f4ad3=_0x2a10ad[_0x220f99(-0x98,-0x20,0xe9,0x254)](0x0,_0x545a47)+_0x2a10ad[_0x38b143(_0x21c46c._0x496f82,0x7b1,_0x21c46c._0x3617b4,_0x21c46c._0x5c8351)](_0x545a47+0x1),_0x176c8b=_0x1f4ad3[_0x38b143(0x779,0x7b1,_0x21c46c._0x2b8b11,_0x21c46c._0x41c73a)]===0x0?0x0:Math[_0x38b143(0x659,0x639,_0x21c46c._0x1dff80,_0x21c46c._0x4f5df5)](_0x545a47,_0x1f4ad3[_0x38b143(0x586,_0x21c46c._0x2cd571,0x616,_0x21c46c._0x22d45a)]-0x1);return{'type':_0x38b143(0x72b,_0x21c46c._0x50ff75,0x682,0x582),'value':_0x1f4ad3,'offset':_0x176c8b};}case's':{if(_0x2a10ad[_0x220f99(_0x21c46c._0x3f24b1,0x255,_0x21c46c._0x315422,_0x21c46c._0x5795ee)]===0x0)return _0x27623a(),{'type':'none'};let _0xdbe606=_0x3e3ebb>=_0x2a10ad['length']?Math[_0x220f99(-_0x21c46c._0x1a9fa3,_0x21c46c._0x555c60,_0x21c46c._0xb9321e,-_0x21c46c._0x152fb0)](0x0,_0x2a10ad['length']-0x1):_0x3e3ebb;return{'type':_0x38b143(0x652,_0x21c46c._0x5bf73f,0x64d,_0x21c46c._0x350354),'value':_0x2a10ad[_0x220f99(-0xb3,-_0x21c46c._0x353590,_0x21c46c._0x324518,0x2d5)](0x0,_0xdbe606)+_0x2a10ad[_0x38b143(_0x21c46c._0x9a170b,0x4f7,0x4c4,0x64a)](_0xdbe606+0x1),'offset':_0xdbe606};}case'0':return{'type':_0x220f99(_0x21c46c._0x308ba9,0x1a1,_0x21c46c._0x572d8d,0x22f),'offset':J(_0x2a10ad,_0x3e3ebb)[_0x220f99(0x14d,_0x21c46c._0x490a2a,-0x52,-_0x21c46c._0x5ee11c)]};case'$':{let _0x39b994=J(_0x2a10ad,_0x3e3ebb);return{'type':'move-cursor','offset':_0x39b994[_0x220f99(0x566,0x574,_0x21c46c._0x13d5a0,_0x21c46c._0x5fc451)]>_0x39b994['lineStart']?_0x39b994[_0x38b143(_0x21c46c._0x1b5bcc,_0x21c46c._0x109633,0x81c,_0x21c46c._0x403c51)]-0x1:_0x39b994[_0x38b143(0x3ea,0x3ca,_0x21c46c._0xa1d520,_0x21c46c._0x1aadfa)]};}case'^':{let _0x1ed93f=J(_0x2a10ad,_0x3e3ebb),_0x2977e8=_0x1ed93f[_0x220f99(0x179,0x1dc,_0x21c46c._0x28663e,_0x21c46c._0x7a85cf)][_0x1ed93f['lineIndex']],_0x4e2f2d=0x0;for(let _0x3bcb79=0x0;_0x3bcb79<_0x2977e8['length'];_0x3bcb79++)if(!/\s/[_0x38b143(0xa20,0x7ee,_0x21c46c._0x2c4da5,0x8bc)](_0x2977e8[_0x3bcb79])){_0x4e2f2d=_0x3bcb79;break;}return{'type':_0x38b143(0x8cb,0xa79,_0x21c46c._0x56d10c,_0x21c46c._0x32cd7b),'offset':_0x1ed93f[_0x38b143(0x57e,0x669,_0x21c46c._0x31b30e,0x50f)]+_0x4e2f2d};}case'd':return _0x4a0aa('d'),{'type':_0x38b143(0x63c,_0x21c46c._0x3d436f,_0x21c46c._0x5f3184,0x703)};case'g':return _0x4a0aa('g'),{'type':_0x38b143(_0x21c46c._0x23a95d,_0x21c46c._0x273966,_0x21c46c._0x28103e,_0x21c46c._0x4bcdd7)};case'G':{let _0x5b8a65=J(_0x2a10ad,_0x3e3ebb),_0x10bcc9=_0x5b8a65['lines'][_0x220f99(0x122,-_0x21c46c._0x11f055,_0x21c46c._0x315422,-0x81)]-0x1,_0x15ac53=0x0;for(let _0x5126b2=0x0;_0x5126b2<_0x10bcc9;_0x5126b2++)_0x15ac53+=_0x5b8a65['lines'][_0x5126b2][_0x220f99(_0x21c46c._0x335d66,-_0x21c46c._0x37dc6b,0xdf,-_0x21c46c._0x599fbd)]+0x1;return{'type':'move-cursor','offset':_0x15ac53};}case'/':return{'type':_0x220f99(0x1ee,0x1c5,_0x21c46c._0x446c92,_0x21c46c._0xb0f7f9),'value':_0x2a10ad[_0x220f99(_0x21c46c._0x36bb01,-0x9e,0xe9,_0x21c46c._0x20d26b)](0x0,_0x3e3ebb)+'/'+_0x2a10ad['slice'](_0x3e3ebb),'offset':_0x3e3ebb+0x1};case'\x20':return{'type':_0x38b143(0x7f0,0x8ad,_0x21c46c._0x2d0638,_0x21c46c._0x4aa8d9),'offset':_0x3e3ebb+0x1};}return/^[0-9]$/[_0x38b143(_0x21c46c._0x4fbe7b,_0x21c46c._0x20a6b9,0x884,0x8bc)](_0x314734)?{'type':_0x38b143(_0x21c46c._0x34b4a8,_0x21c46c._0x124a93,0x804,_0x21c46c._0x4bcdd7)}:{'type':_0x38b143(_0x21c46c._0x2fc991,_0x21c46c._0x3175e1,_0x21c46c._0x52ddbe,_0x21c46c._0x4bcdd7)};},[_0x25a19f,_0x4c7010,_0x53c4ab,_0x27623a,_0x308cbb]);return{'mode':_0x4c7010,'handleVimInput':_0x117572,'enterInsertMode':_0x27623a,'enterNormalMode':_0x308cbb};}import{useRef as _0x30fda6}from'react';import{canonicalizeTerminalPaste as _0x534fcf}from'@nuvin/nuvin-core';var xn='\x1b[200~',Ji=_0x7f0a6b(0x205,0x43c,0x37d,0x205),Jo=_0x7f0a6b(0x372,0x454,0x305,0x44a),Zo=_0x5318c5(0x498,0x281,0x194,0x323);function Pt(_0x123acc,_0x4d067d){const _0x5dfb58={_0x2d000b:0x6c2,_0x792fa5:0x79a,_0x1bfa81:0x219,_0x5ae616:0x1eb,_0x51ae89:0x245,_0xb55ff7:0x7de,_0x3fabc8:0x5d0},_0x1f31de={_0x4326c7:0x16a,_0x4f2cd1:0x472,_0x65bbc7:0xea},_0x4d31ca={_0x2f5274:0xb3};function _0x32df0b(_0xd4b509,_0x3e8e54,_0x13cd5c,_0x2543ca){return _0x7f0a6b(_0xd4b509-0x59,_0x2543ca- -0x127,_0x13cd5c,_0x2543ca-_0x4d31ca._0x2f5274);}function _0x326a42(_0x198456,_0x4bbd41,_0x4095e5,_0x57e181){return _0x7f0a6b(_0x198456-_0x1f31de._0x4326c7,_0x4bbd41-_0x1f31de._0x4f2cd1,_0x57e181,_0x57e181-_0x1f31de._0x65bbc7);}return _0x123acc?.[_0x326a42(_0x5dfb58._0x2d000b,0x599,0x432,_0x5dfb58._0x792fa5)](xn)||_0x123acc?.['startsWith'](Ji)?pm(_0x123acc):_0x4d067d[_0x32df0b(_0x5dfb58._0x1bfa81,0x3c7,_0x5dfb58._0x5ae616,_0x5dfb58._0x51ae89)]!==null?fm(_0x123acc,_0x4d067d[_0x326a42(0x770,_0x5dfb58._0xb55ff7,0x8ca,_0x5dfb58._0x3fabc8)]):{'newState':_0x4d067d,'processedInput':null,'shouldWaitForMore':!0x1,'isPasteStart':!0x1};}function pm(_0x2e990e){const _0x8d7159={_0x58b53d:0x41,_0x16f1f4:0xdc,_0x28a8db:0xd8,_0x39b409:0x254,_0x9adbed:0x16b,_0x51de94:0x559,_0x1f92ab:0x562,_0x577152:0x4b,_0xae9203:0x1fe,_0x1370e6:0x155},_0x5d0130={_0xdf4a88:0x64,_0x3c82cd:0x74},_0x20cfa9={_0x55dfbe:0x161};function _0x26a8ed(_0xccb7a5,_0x160351,_0x3b0822,_0x3a6d9a){return _0x7f0a6b(_0xccb7a5-0x1f2,_0x3a6d9a- -0x4f,_0xccb7a5,_0x3a6d9a-_0x20cfa9._0x55dfbe);}let _0x248971=_0x2e990e[_0x26a8ed(-0xa7,_0x8d7159._0x58b53d,-_0x8d7159._0x16f1f4,_0x8d7159._0x28a8db)](xn),_0x4af1f7=_0x2e990e[_0x26a8ed(_0x8d7159._0x39b409,0x280,_0x8d7159._0x9adbed,0x1f5)](_0x248971?xn['length']:Ji[_0x27b7bc(_0x8d7159._0x51de94,0x59b,_0x8d7159._0x1f92ab,0x72f)]);function _0x27b7bc(_0x43e169,_0x53b9d0,_0x15dde7,_0x29fb9e){return _0x5318c5(_0x43e169-_0x5d0130._0xdf4a88,_0x43e169,_0x15dde7-_0x5d0130._0x3c82cd,_0x53b9d0-0x439);}if(_0x4af1f7[_0x27b7bc(0x739,0x563,0x381,0x518)](Jo)||_0x4af1f7[_0x26a8ed(-_0x8d7159._0x577152,_0x8d7159._0xae9203,_0x8d7159._0x1370e6,0x1b3)](Zo)){let _0x35dba7=Zi(_0x4af1f7),_0x53166b=_0x534fcf(_0x35dba7);return{'newState':{'buffer':null},'processedInput':_0x53166b,'shouldWaitForMore':!0x1,'isPasteStart':!0x0};}return{'newState':{'buffer':_0x4af1f7},'processedInput':null,'shouldWaitForMore':!0x0,'isPasteStart':!0x0};}function fm(_0x349231,_0x332ed8){let _0x71529f=_0x332ed8+_0x349231;if(_0x71529f['endsWith'](Jo)||_0x71529f['endsWith'](Zo)){let _0x34cb79=Zi(_0x71529f),_0x31094b=_0x534fcf(_0x34cb79);return{'newState':{'buffer':null},'processedInput':_0x31094b,'shouldWaitForMore':!0x1,'isPasteStart':!0x1};}return{'newState':{'buffer':_0x71529f},'processedInput':null,'shouldWaitForMore':!0x0,'isPasteStart':!0x1};}function Zi(_0x2d1e4d){const _0x3e3e51={_0x255a1f:0x5bb,_0x2688a6:0x483,_0x406d7c:0x46c,_0x2f4c64:0x580,_0x30ef1b:0x619,_0x3f86d4:0x42d,_0x4f32cb:0x6e4,_0x13d411:0x6b5,_0x282c85:0x4f9,_0x130c02:0x4c8,_0x5362da:0x2e1},_0x1837da={_0x50cfcb:0x176,_0x3febe0:0x366};function _0x5d87b5(_0x567099,_0x2aa035,_0x5e1fb7,_0x452eb8){return _0x5318c5(_0x567099-0x1b5,_0x2aa035,_0x5e1fb7-0x4b,_0x567099-0x300);}function _0x32452c(_0x479bad,_0x429db9,_0x55a45b,_0x2eae88){return _0x5318c5(_0x479bad-_0x1837da._0x50cfcb,_0x429db9,_0x55a45b-0x5e,_0x479bad-_0x1837da._0x3febe0);}return _0x2d1e4d[_0x5d87b5(0x42a,0x571,_0x3e3e51._0x255a1f,_0x3e3e51._0x2688a6)](Jo)?_0x2d1e4d[_0x5d87b5(_0x3e3e51._0x406d7c,_0x3e3e51._0x2f4c64,_0x3e3e51._0x30ef1b,_0x3e3e51._0x3f86d4)](0x0,-Jo[_0x32452c(0x4c8,_0x3e3e51._0x4f32cb,_0x3e3e51._0x13d411,0x2cf)]):_0x2d1e4d[_0x5d87b5(0x42a,0x2ef,0x59f,_0x3e3e51._0x282c85)](Zo)?_0x2d1e4d['slice'](0x0,-Zo[_0x32452c(_0x3e3e51._0x130c02,_0x3e3e51._0x5362da,0x680,0x44f)]):_0x2d1e4d;}function Rt(){return{'buffer':null};}function Qi(){const _0x5f13cd={_0x364a03:0x540,_0x428a03:0x85f,_0x52140d:0x6f6,_0x240e45:0x720,_0x51dab8:0x470,_0x1ef537:0x46d,_0x47e91d:0x65b,_0x201970:0x5cc,_0x40638a:0x5c6};let _0x586776=_0x30fda6(Rt());return{'processPaste':_0x5f39de=>{const _0xe40f01={_0x4362a4:0x2c5};function _0x458a6d(_0x239617,_0x26b9ff,_0x2f4fd0,_0x2f67dc){return _0xa481(_0x2f67dc-0x187,_0x2f4fd0);}let _0xa5112d=Pt(_0x5f39de,_0x586776[_0x458a6d(0x67d,0x737,0x4ae,_0x5f13cd._0x364a03)]);function _0x310946(_0x5c4991,_0x2b61ff,_0x2ff0bd,_0x37c424){return _0xa481(_0x2b61ff-_0xe40f01._0x4362a4,_0x5c4991);}return _0x586776[_0x310946(_0x5f13cd._0x428a03,0x67e,_0x5f13cd._0x52140d,_0x5f13cd._0x240e45)]=_0xa5112d[_0x310946(0x820,0x61f,0x81b,0x66b)],{'processedInput':_0xa5112d[_0x458a6d(_0x5f13cd._0x51dab8,_0x5f13cd._0x1ef537,_0x5f13cd._0x47e91d,0x430)],'shouldWaitForMore':_0xa5112d[_0x310946(0x602,_0x5f13cd._0x201970,_0x5f13cd._0x40638a,0x5d9)],'isPasteStart':_0xa5112d['isPasteStart']};}};}import{useState as _0x3c96b8,useEffect as _0x5c7e04,useRef as _0x235dbf,useCallback as _0x9d7f7a}from'react';import _0x1a754a from'chalk';function ea(){const _0x9fe5dd={_0x3bc1c2:0x4bf,_0x457e06:0x6e3,_0x23662a:0x6f9,_0x574213:0x7d3,_0x3c4999:0x270,_0x2a4617:0x1a8,_0x15cdc9:0x146,_0x124eab:0x256,_0x396940:0x15e,_0xae41e7:0x1c8,_0x521e2b:0x1d1,_0x536ed1:0x77,_0x33ae70:0x260,_0x31da2b:0x101,_0x3ef2fd:0x966,_0x32fa4a:0x2c6,_0x25f992:0x473,_0x263fc5:0x82b,_0x2e0c15:0x76e,_0x2d09a2:0x5d8,_0x5390de:0x598,_0x1a5b05:0x5e3},_0x599655={_0x3498b7:0xf1,_0x1adf61:0xa3,_0x313cab:0x17e,_0x56a1d9:0xc0,_0x1ee48c:0x118,_0x178dab:0xcb,_0x33fb1d:0xfb,_0x3f49e3:0x29e},_0x1a25de={_0x414182:0x32a},_0x5d22bd={_0x21ef96:0x2c4,_0x584e6d:0x3d};let [_0x4edb8e,_0x33e89f]=_0x3c96b8(!0x0),_0x2f184e=_0x235dbf(Date['now']()),_0x3e05a8=_0x235dbf(''),_0x3ee3e1=_0x235dbf(0x0);return _0x5c7e04(()=>{const _0xab1127={_0x571a48:0x123};let _0x18780b=setInterval(()=>{function _0x583e91(_0x449c94,_0x4aedcc,_0x492b7f,_0x20e17d){return _0xa481(_0x20e17d-_0xab1127._0x571a48,_0x449c94);}function _0x871834(_0x4ceee0,_0x11fdd9,_0x467e63,_0x3178b9){return _0xa481(_0x4ceee0- -0x1c8,_0x467e63);}Date[_0x583e91(0x3c4,0x39e,0x306,_0x5d22bd._0x21ef96)]()-_0x2f184e[_0x871834(0x1f1,_0x5d22bd._0x584e6d,0x413,0x219)]>0x12c&&_0x33e89f(_0x21185c=>!_0x21185c);},0x212);return()=>clearInterval(_0x18780b);},[]),{'renderWithCursor':_0x9d7f7a((_0x302c0a,_0x130ed5,_0x17af33,_0x21765b,_0xdda6d)=>{const _0xd5c276={_0x2d8e7b:0x1a7,_0x119d2c:0xcd},_0x39ec6b={_0x71b06c:0x557};(_0x302c0a!==_0x3e05a8['current']||_0x130ed5!==_0x3ee3e1[_0x578e50(0x51a,_0x9fe5dd._0x3bc1c2,_0x9fe5dd._0x457e06,_0x9fe5dd._0x23662a)])&&(_0x2f184e['current']=Date['now'](),_0x3e05a8['current']=_0x302c0a,_0x3ee3e1[_0x578e50(_0x9fe5dd._0x574213,0x8b1,_0x9fe5dd._0x457e06,0x90a)]=_0x130ed5,_0x4edb8e||_0x33e89f(!0x0));let _0x19278a=_0x302c0a,_0x18f5a2=_0x17af33?_0x1a754a['grey'](_0x17af33):void 0x0;if(!_0x21765b||!_0xdda6d)return{'renderedValue':_0x19278a,'renderedPlaceholder':_0x18f5a2};function _0x1de90d(_0x2cb6f4,_0x49b2e1,_0x5e41b0,_0x358c4e){return _0xa481(_0x358c4e- -0x98,_0x49b2e1);}function _0x578e50(_0xb16ba5,_0x46ff25,_0x79bd77,_0x3fb93c){return _0xa481(_0x79bd77-_0x1a25de._0x414182,_0x46ff25);}let _0x309140=_0x4edb8e;if(_0x18f5a2=_0x17af33[_0x1de90d(_0x9fe5dd._0x3c4999,_0x9fe5dd._0x2a4617,_0x9fe5dd._0x15cdc9,_0x9fe5dd._0x124eab)]>0x0?(_0x309140?_0x1a754a[_0x1de90d(0x144,_0x9fe5dd._0x396940,_0x9fe5dd._0xae41e7,_0x9fe5dd._0x521e2b)](_0x17af33[0x0]):_0x1a754a['grey'](_0x17af33[0x0]))+_0x1a754a['grey'](_0x17af33[_0x1de90d(0x314,0x2e8,_0x9fe5dd._0x536ed1,_0x9fe5dd._0x33ae70)](0x1)):_0x309140?_0x1a754a['inverse']('\x20'):'\x20',_0x302c0a[_0x1de90d(0x484,_0x9fe5dd._0x31da2b,0x43a,_0x9fe5dd._0x124eab)]===0x0)return _0x19278a=_0x309140?_0x1a754a[_0x578e50(0x45b,0x6ae,0x593,0x448)]('\x20'):'\x20',{'renderedValue':_0x19278a,'renderedPlaceholder':_0x18f5a2};let _0x155ef3=_0x302c0a[_0x578e50(0x8ed,_0x9fe5dd._0x3ef2fd,0x7a4,0x820)]('\x0a'),_0xd87a=0x0,_0x314c62=0x0,_0x2b652d=0x0;for(let _0x3a671b=0x0;_0x3a671b<_0x155ef3[_0x1de90d(0x432,_0x9fe5dd._0x32fa4a,_0x9fe5dd._0x25f992,0x256)];_0x3a671b++){let _0x3fe1ad=_0xd87a+_0x155ef3[_0x3a671b]['length'];if(_0x130ed5<=_0x3fe1ad){_0x314c62=_0x3a671b,_0x2b652d=_0x130ed5-_0xd87a;break;}_0xd87a=_0x3fe1ad+0x1;}return _0x19278a=_0x155ef3[_0x578e50(0x6d0,_0x9fe5dd._0x263fc5,0x6ec,_0x9fe5dd._0x2e0c15)]((_0x172df5,_0x206295)=>{function _0x3b5525(_0x187e5c,_0x6f6ac6,_0x3ad9be,_0x152289){return _0x578e50(_0x187e5c-0x1ce,_0x6f6ac6,_0x152289- -_0x39ec6b._0x71b06c,_0x152289-0x12c);}function _0x3f3f6f(_0x1df860,_0x7e7442,_0x1848ee,_0x4bbb60){return _0x1de90d(_0x1df860-0x127,_0x1848ee,_0x1848ee-_0xd5c276._0x2d8e7b,_0x7e7442-_0xd5c276._0x119d2c);}if(_0x206295===_0x314c62){if(_0x2b652d>=0x0&&_0x2b652d<_0x172df5[_0x3b5525(0x289,0x200,0x72,0xc1)]){let _0x116450=_0x309140?_0x1a754a[_0x3b5525(0x143,-_0x599655._0x3498b7,_0x599655._0x1adf61,0x3c)](_0x172df5[_0x2b652d]):_0x172df5[_0x2b652d];return _0x172df5[_0x3f3f6f(0x1ee,0x32d,_0x599655._0x313cab,0x487)](0x0,_0x2b652d)+_0x116450+_0x172df5[_0x3b5525(-_0x599655._0x56a1d9,_0x599655._0x1ee48c,0x116,_0x599655._0x178dab)](_0x2b652d+0x1);}else return _0x172df5+(_0x309140?_0x1a754a[_0x3f3f6f(_0x599655._0x33fb1d,_0x599655._0x3f49e3,0x198,0x129)]('\x20'):'');}return _0x172df5;})[_0x578e50(_0x9fe5dd._0x2d09a2,_0x9fe5dd._0x5390de,0x5c0,_0x9fe5dd._0x1a5b05)]('\x0a'),{'renderedValue':_0x19278a,'renderedPlaceholder':_0x18f5a2};},[_0x4edb8e])};}import{useReducer as _0x38135f,useRef as _0x40797e,useEffect as _0x479734}from'react';function vm(_0x2da405,_0x32090e){const _0x63c1ee={_0x2bbff9:0x3ff,_0xd49235:0x4a1,_0x162375:0x4aa,_0x9a3cb5:0x890,_0xfff78e:0x8d4,_0x1c0980:0x7cb,_0x279fcd:0x6ca,_0x4bc1dc:0x8ec,_0x2c8bbd:0x1b3,_0xff99a7:0x83,_0x49fb32:0x177,_0x1a9d34:0x2d9,_0x3cc788:0x16a,_0x353a53:0x1c5,_0xbe6bc8:0x177,_0x1e11a6:0x9a,_0x2f909c:0x81,_0x14555d:0xcd,_0x5f419a:0x15a,_0x13c610:0x108,_0x1a45b4:0x138,_0x3edc19:0x310,_0x4fede8:0x177,_0x368d5b:0x21,_0x456c83:0x23,_0x456f9b:0x36,_0xb5a16b:0xb8,_0x21062b:0x4b,_0x51795b:0x3c7,_0x4c5f07:0x460,_0x46b91b:0x3c3,_0x38e5f6:0x2e5,_0x490f95:0x723,_0x39a89b:0x1fe,_0x2ae2ea:0x403},_0x16f533={_0x21632d:0x1b1,_0x46501b:0xfe};function _0x269d07(_0x5b43e5,_0x58bb7b,_0x44aee2,_0x380bd7){return _0x5318c5(_0x5b43e5-_0x16f533._0x21632d,_0x44aee2,_0x44aee2-_0x16f533._0x46501b,_0x5b43e5- -0x1ff);}function _0x28e0c6(_0x5b9f22,_0x3b49da,_0x149b64,_0x33a7ef){return _0x7f0a6b(_0x5b9f22-0x196,_0x149b64-0x27c,_0x5b9f22,_0x33a7ef-0xe9);}switch(_0x32090e[_0x28e0c6(_0x63c1ee._0x2bbff9,0x6c8,0x4a2,0x5ed)]){case _0x28e0c6(0x31b,0x5ca,_0x63c1ee._0xd49235,0x2f7):return{'value':_0x32090e[_0x28e0c6(_0x63c1ee._0x162375,_0x63c1ee._0x9a3cb5,0x6ca,_0x63c1ee._0xfff78e)]['value'],'cursorOffset':_0x32090e[_0x28e0c6(_0x63c1ee._0x1c0980,0x55a,_0x63c1ee._0x279fcd,_0x63c1ee._0x4bc1dc)][_0x269d07(-0x81,-0x199,_0x63c1ee._0x2c8bbd,-_0x63c1ee._0xff99a7)],'cursorWidth':_0x32090e[_0x269d07(_0x63c1ee._0x49fb32,_0x63c1ee._0x1a9d34,0xf9,_0x63c1ee._0x3cc788)][_0x269d07(0x5a,_0x63c1ee._0x353a53,0xd5,0x28)]??0x0};case'MOVE_CURSOR':return{..._0x2da405,'cursorOffset':_0x32090e[_0x269d07(_0x63c1ee._0xbe6bc8,0x126,0x2ed,-_0x63c1ee._0x1e11a6)][_0x269d07(-_0x63c1ee._0x2f909c,_0x63c1ee._0x14555d,-0xea,0xc1)],'cursorWidth':0x0};case _0x269d07(-0x4d,_0x63c1ee._0x5f419a,0x76,-0x82):return{'value':'','cursorOffset':0x0,'cursorWidth':0x0};case _0x269d07(-0x19c,-_0x63c1ee._0x13c610,-_0x63c1ee._0x1a45b4,-_0x63c1ee._0x3edc19):return{..._0x2da405,'value':_0x32090e[_0x269d07(_0x63c1ee._0x4fede8,-_0x63c1ee._0x368d5b,-_0x63c1ee._0x456c83,_0x63c1ee._0x456f9b)]['value'],'cursorOffset':_0x32090e[_0x269d07(_0x63c1ee._0x49fb32,0x2d4,_0x63c1ee._0xb5a16b,-_0x63c1ee._0x21062b)][_0x28e0c6(_0x63c1ee._0x51795b,_0x63c1ee._0x4c5f07,_0x63c1ee._0x46b91b,_0x63c1ee._0x38e5f6)]===''?0x0:_0x2da405['cursorOffset'],'cursorWidth':_0x32090e[_0x28e0c6(0x61e,0x728,_0x63c1ee._0x279fcd,_0x63c1ee._0x490f95)]['value']===''?0x0:_0x2da405[_0x269d07(_0x63c1ee._0x39a89b,_0x63c1ee._0x2ae2ea,0x222,0xaf)]};default:return _0x2da405;}}function oa({initialValue:_0x1c885d,vimMode:_0x220c40,onChange:_0x269feb}){const _0x4232fd={_0x1e3e11:0x6c4,_0x36f3f8:0x4ac,_0x506c5f:0x4e4,_0x205df1:0x506,_0x327351:0x2ea,_0x5ab4f4:0x302,_0x5cd3a9:0x399,_0x3df7cb:0x6c4,_0x15eeeb:0x875,_0x4922a6:0x64f,_0x2c6d4e:0x63c,_0x259dc3:0x50b,_0x175e86:0x6d2,_0x21f073:0x525},_0x7054dd={_0x1b6c6f:0xc3},_0x12892b={_0x1ec2f3:0x1f4,_0x1ed485:0x695,_0x464e5a:0x663,_0x36376f:0x628},_0x2bf53b={_0x4f063e:0x552,_0x93fc88:0x59f,_0x329abc:0x29a,_0xf1dd2:0x45f},_0x25b678={_0x4888a1:0x264},_0x1fa0ea={_0x51251c:0x600,_0x65923f:0x5a4};let [_0xe4e3c8,_0x45ef0f]=_0x38135f(vm,{'value':_0x1c885d,'cursorOffset':0x0,'cursorWidth':0x0}),_0x5c4883=_0x40797e(_0x1c885d),_0x43909c=_0x40797e(!0x1);_0x479734(()=>{function _0x492fe3(_0x501fb8,_0x3c3895,_0x1fdb41,_0x43a64e){return _0xa481(_0x501fb8-0x10c,_0x43a64e);}function _0x182016(_0x3e1fbf,_0x8b89e4,_0x16069e,_0x5966e8){return _0xa481(_0x16069e-0x2e0,_0x3e1fbf);}_0x1c885d!==_0x5c4883[_0x492fe3(0x4c5,0x2f3,0x37c,_0x1fa0ea._0x51251c)]&&(_0x5c4883[_0x182016(_0x1fa0ea._0x65923f,0x6fb,0x699,0x4f3)]=_0x1c885d,_0x45ef0f({'type':'SYNC_EXTERNAL_VALUE','payload':{'value':_0x1c885d}}),_0x1c885d===''&&(_0x43909c['current']=!0x1));},[_0x1c885d]);let _0x69abd5=(_0x327b73,_0x5551d9,_0x37eb77=0x0)=>{let _0x5c4aa4=yn(_0x327b73[_0x3bed8c(0x452,0x3a4,0x4b3,_0x2bf53b._0x4f063e)],_0x5551d9,_0x220c40);function _0x3bed8c(_0x200d43,_0x4355c4,_0x1e76c6,_0x1b1124){return _0xa481(_0x1b1124-_0x25b678._0x4888a1,_0x1e76c6);}function _0x36f442(_0x5ef8d3,_0x404367,_0x27c835,_0x2f7fd6){return _0xa481(_0x27c835- -0x1ca,_0x404367);}_0x45ef0f({'type':'SET_VALUE','payload':{'value':_0x327b73,'offset':_0x5c4aa4,'width':_0x37eb77}}),_0x327b73!==_0xe4e3c8[_0x3bed8c(0x5ce,_0x2bf53b._0x93fc88,_0x2bf53b._0x329abc,_0x2bf53b._0xf1dd2)]&&_0x269feb(_0x327b73);},_0x5ee073=_0x28575b=>{const _0x246ec4={_0x42c415:0x323},_0x2bbf4b={_0x5a49d6:0x105};function _0x3999fd(_0x257f72,_0x4eb18a,_0xc3319a,_0x2d77d2){return _0xa481(_0x257f72-_0x2bbf4b._0x5a49d6,_0x2d77d2);}function _0x26f791(_0x342710,_0x3b83f8,_0x57c505,_0x45f3c5){return _0xa481(_0x342710-_0x246ec4._0x42c415,_0x45f3c5);}let _0x4ab94a=yn(_0xe4e3c8[_0x3999fd(0x300,_0x12892b._0x1ec2f3,0x112,0x2dd)]['length'],_0x28575b,_0x220c40);_0x45ef0f({'type':_0x3999fd(0x4f1,_0x12892b._0x1ed485,_0x12892b._0x464e5a,_0x12892b._0x36376f),'payload':{'offset':_0x4ab94a}});};return{'state':_0xe4e3c8,'setValue':_0x69abd5,'moveCursor':_0x5ee073,'reset':()=>{function _0x4dc80e(_0xa4fb1c,_0xc4ddc1,_0x2d2885,_0x3a51ef){return _0xa481(_0x2d2885- -0x1f4,_0x3a51ef);}_0x45ef0f({'type':_0x4dc80e(_0x7054dd._0x1b6c6f,0x1a,0x14a,0x15)}),_0x269feb('');},'setInitialCursor':_0xd96dd1=>{function _0x5e3216(_0x21811b,_0x2e7a05,_0x311a5f,_0x112f85){return _0xa481(_0x21811b-0x30b,_0x112f85);}function _0x38e8db(_0x4d3520,_0x2b3f0c,_0x1230a7,_0x2ad2ab){return _0xa481(_0x4d3520- -0x6b,_0x1230a7);}!_0x43909c[_0x5e3216(_0x4232fd._0x1e3e11,0x4a6,0x6f1,_0x4232fd._0x36f3f8)]&&_0xd96dd1&&_0xe4e3c8[_0x5e3216(0x506,_0x4232fd._0x506c5f,0x57e,0x4a8)]&&_0xe4e3c8[_0x5e3216(_0x4232fd._0x205df1,0x526,0x4cb,_0x4232fd._0x327351)][_0x38e8db(0x283,0x4a,_0x4232fd._0x5ab4f4,_0x4232fd._0x5cd3a9)]>0x0&&(_0x43909c[_0x5e3216(_0x4232fd._0x3df7cb,_0x4232fd._0x15eeeb,0x59e,0x7a3)]=!0x0,_0x5ee073(Math[_0x5e3216(_0x4232fd._0x4922a6,0x7a9,0x86e,0x5cd)](0x0,_0xe4e3c8[_0x5e3216(0x506,_0x4232fd._0x2c6d4e,0x6da,_0x4232fd._0x259dc3)][_0x5e3216(0x5f9,_0x4232fd._0x175e86,0x82b,_0x4232fd._0x21f073)])));}};}import{jsx as _0x59f027}from'react/jsx-runtime';function Sm({value:_0x85b62c,placeholder:_0x245fbf='',focus:_0xae51=!0x0,mask:_0x4f8377,showCursor:_0x42aef9=!0x0,onChange:_0x322b4d,onSubmit:_0x69a13f,vimModeEnabled:_0x3e799d=!0x1,onVimModeChange:_0x378a77,onUpArrow:_0x14476d,onDownArrow:_0x3bf980}){const _0xf49fe6={_0x19f934:0x284,_0x300f5a:0x279,_0x5f1a63:0x2f0,_0x6ed5e9:0x43f,_0x3069d4:0x5ee,_0x42f5dd:0x5b3,_0x1c8e5d:0x4ee,_0xdf25b9:0x224,_0x426838:0xda,_0x4df463:0xb1},_0x4490bc={_0x5b5956:0x28,_0x2c1042:0x8,_0x488270:0x451},_0x3f73b5={_0x1db1a7:0x40f,_0x179cf1:0x44e,_0x1c3a13:0x2be,_0x3f5269:0x201,_0xdecc16:0x545,_0x14b7bf:0x85a,_0x395332:0x540,_0x50b0f8:0x451,_0x395cc2:0x58,_0x319042:0x342,_0x531909:0x8d,_0x5252ac:0x1a3,_0x4d4b72:0x9a,_0x3776fe:0x15a,_0x3d9f9c:0xff,_0x4419a0:0x6e,_0x5093db:0x20e,_0x22d31a:0x433,_0x5977eb:0x53,_0x4f6ac4:0x127,_0xbd350:0x19c,_0x540f2a:0x722,_0x596a08:0x6d5,_0x9ba9ba:0x5d,_0x2233d5:0x61d,_0x2f63fb:0x57c,_0xfdd8f2:0x451,_0x1c156a:0x48c,_0x470e7f:0x2ca,_0x20b727:0x253,_0x4bee72:0x421,_0x4102e0:0xe5,_0x11fffe:0x343,_0x376646:0x260,_0x5b723c:0x18c,_0x196f01:0x147,_0x5092b3:0x48a,_0x26e029:0x849,_0x9c6491:0x8cb,_0x26c7d3:0x558,_0x3e9bbc:0x6ec,_0x44ac51:0x109,_0x3c9605:0x227,_0x161437:0xb8,_0x5eb0ba:0x184,_0x1b9def:0x81,_0x587571:0x4fd,_0x1f2868:0x566,_0x55f4b3:0x1e7,_0x410d7a:0xd9,_0x312ca0:0x1c6,_0x5a62ae:0x863,_0x523607:0x695,_0x46ae02:0x483,_0x2bb69f:0x4cf,_0x4b6e63:0x566,_0x380afb:0x496,_0x5dcedf:0x40b,_0x3f7553:0x393,_0x1c8b8a:0x16d,_0x13de8b:0x174,_0x2bde31:0x61,_0x21c527:0x1c1,_0x5d8241:0x14c,_0x33da30:0xc9,_0x62e96f:0x1dc,_0x1ef939:0x24c,_0x2d5d3f:0x547,_0x5a2957:0x6da,_0x30e54e:0x566,_0x1d7f11:0x7cc,_0x200937:0x5b0,_0x516a4c:0x77e,_0x44ceb4:0x540,_0x36382d:0x47e,_0x2adc43:0x1dd,_0xe70c19:0x3f,_0x14ba59:0x1bb,_0x451957:0x174,_0x1b148a:0x87e,_0x2c72e5:0x70a,_0x232b04:0x89d,_0x3cecfe:0x40e,_0xc67cb2:0x3dc,_0x5cf589:0x435,_0x52443b:0x3b2,_0x3a8bdd:0x43a,_0x58004f:0x492,_0x4564ca:0x7e,_0x58ce9a:0xf0,_0x4b6ac1:0x5fe,_0x33d7a6:0x51b,_0x236fd5:0x43f,_0x22cbfc:0x7b,_0x72a25:0x153,_0x4ab319:0x1e6,_0x1fce77:0x4f1,_0x1fdf05:0x4bb,_0x52aee3:0x387,_0x564e55:0x166,_0x40feb1:0x79,_0xdfb3f:0x178,_0x5c734a:0x120,_0x41f28f:0x92,_0x45a641:0x90,_0x51e15b:0x195,_0x358c63:0x49d},_0x281611={_0x2b2c19:0x17e,_0x222631:0xa6};let {mode:_0x1ff435,handleVimInput:_0x262014,enterInsertMode:_0x453703}=qi({'enabled':_0x3e799d,'onModeChange':_0x378a77}),{state:_0x391258,setValue:_0x292a27,moveCursor:_0x5b8dca,setInitialCursor:_0x4bc69f}=oa({'initialValue':_0x85b62c,'vimMode':_0x1ff435,'onChange':_0x322b4d}),{processPaste:_0x5aab36}=Qi(),{renderWithCursor:_0x926e8}=ea();function _0x504ca0(_0x2e8a09,_0x53e68d,_0x2b1f6e,_0x3ee877){return _0x7f0a6b(_0x2e8a09-0x1ce,_0x2b1f6e- -_0x281611._0x2b2c19,_0x2e8a09,_0x3ee877-_0x281611._0x222631);}_0x24b593(()=>{_0x4bc69f(_0xae51);},[_0xae51,_0x4bc69f]),W((_0x47d6f8,_0x6c1370)=>{const _0x38aa36={_0x52e600:0x367};let _0x21c5ed=_0x5aab36(_0x47d6f8);if(_0x21c5ed[_0x496613(0x5ab,0x546,_0x3f73b5._0x1db1a7,_0x3f73b5._0x179cf1)])return!0x0;function _0x496613(_0x37b785,_0x267d4e,_0x3375ef,_0x3cfa4b){return _0xa481(_0x3cfa4b-0x147,_0x3375ef);}_0x21c5ed[_0x5e56eb(-0xbe,-_0x3f73b5._0x1c3a13,-0x2ee,-0x2e9)]!==null&&(_0x47d6f8=_0x21c5ed['processedInput']);let _0x43a850=_0x391258[_0x496613(0x4cc,0xbd,0x491,0x29f)],_0x44385b=_0x391258[_0x496613(_0x3f73b5._0x3f5269,0x188,0x2e2,0x342)],_0x1bf97f=_0x262014(_0x47d6f8,_0x6c1370,_0x44385b,_0x43a850);if(_0x1bf97f[_0x496613(0x261,0x64b,0x583,0x421)]===_0x496613(_0x3f73b5._0xdecc16,_0x3f73b5._0x14b7bf,0x88e,0x6ee))return _0x5b8dca(_0x1bf97f[_0x496613(0x615,_0x3f73b5._0x395332,0x5d1,_0x3f73b5._0x50b0f8)]),!0x0;if(_0x1bf97f['type']===_0x5e56eb(-0x137,_0x3f73b5._0x395cc2,0x101,0xed))return _0x292a27(_0x1bf97f[_0x496613(0x342,0x351,0x372,_0x3f73b5._0x319042)],_0x1bf97f['offset']),!0x0;if(_0x1bf97f[_0x5e56eb(-_0x3f73b5._0x531909,_0x3f73b5._0x5252ac,_0x3f73b5._0x4d4b72,_0x3f73b5._0x3776fe)]===_0x5e56eb(-_0x3f73b5._0x3d9f9c,_0x3f73b5._0x4419a0,-0xa1,-0x325))return _0x292a27(_0x1bf97f[_0x496613(_0x3f73b5._0x5093db,0x25d,_0x3f73b5._0x22d31a,_0x3f73b5._0x319042)],_0x1bf97f[_0x5e56eb(-0x5d,-_0x3f73b5._0x5977eb,-_0x3f73b5._0x4f6ac4,_0x3f73b5._0xbd350)]),_0x453703(),!0x0;if(_0x1bf97f['type']===_0x496613(0x77c,_0x3f73b5._0x540f2a,_0x3f73b5._0x596a08,0x5ea))return _0x453703(),_0x1bf97f[_0x5e56eb(-_0x3f73b5._0x9ba9ba,0xaa,-0x1cd,-0x252)]!==void 0x0&&_0x5b8dca(_0x1bf97f[_0x496613(_0x3f73b5._0x2233d5,_0x3f73b5._0x2f63fb,0x314,_0x3f73b5._0xfdd8f2)]),!0x0;if(_0x1bf97f[_0x496613(_0x3f73b5._0x1c156a,_0x3f73b5._0x470e7f,_0x3f73b5._0x20b727,_0x3f73b5._0x4bee72)]===_0x5e56eb(-0x12a,-0x54,-_0x3f73b5._0x4102e0,-_0x3f73b5._0x11fffe))return _0x69a13f&&_0x69a13f(_0x44385b),!0x0;if(_0x1bf97f['type']!==_0x5e56eb(0x4a,_0x3f73b5._0x376646,-_0x3f73b5._0x5b723c,-_0x3f73b5._0x196f01)||_0x3e799d&&_0x1ff435===_0x496613(0x412,0x5d7,0x36e,_0x3f73b5._0x5092b3))return!0x0;function _0x5e56eb(_0x1e51b5,_0x3efe5c,_0x41c2f9,_0x1ba2a3){return _0xa481(_0x1e51b5- -_0x38aa36._0x52e600,_0x3efe5c);}if(!_0x6c1370[_0x496613(_0x3f73b5._0x26e029,_0x3f73b5._0x9c6491,_0x3f73b5._0x26c7d3,_0x3f73b5._0x3e9bbc)]){if(_0x6c1370[_0x5e56eb(-0x1c1,-_0x3f73b5._0x44ac51,-0xca,-_0x3f73b5._0x3c9605)]&&_0x47d6f8==='\x03')return _0x322b4d('copied'),!0x0;if(_0x6c1370[_0x5e56eb(_0x3f73b5._0x161437,_0x3f73b5._0x5eb0ba,0x1e5,_0x3f73b5._0x1b9def)]&&_0x47d6f8==='c'||_0x6c1370[_0x496613(_0x3f73b5._0x587571,0x767,0x640,_0x3f73b5._0x1f2868)]&&_0x47d6f8==='v'||_0x6c1370[_0x5e56eb(_0x3f73b5._0x55f4b3,_0x3f73b5._0x410d7a,0x324,_0x3f73b5._0x312ca0)]||_0x6c1370['shift']&&_0x6c1370[_0x496613(0x85a,_0x3f73b5._0x5a62ae,0x81e,_0x3f73b5._0x523607)]||_0x6c1370[_0x496613(0x79b,_0x3f73b5._0x46ae02,_0x3f73b5._0x2bb69f,_0x3f73b5._0x4b6e63)]&&_0x47d6f8==='n'||_0x6c1370[_0x5e56eb(0xb8,-0x122,0x4b,0x222)]&&_0x47d6f8==='p')return!0x0;if(_0x6c1370[_0x496613(_0x3f73b5._0x380afb,0x2ca,0x206,_0x3f73b5._0x5dcedf)])return _0x69a13f&&_0x69a13f(_0x44385b),!0x0;if(_0x6c1370['leftArrow']){if(_0x42aef9){if(_0x6c1370[_0x496613(_0x3f73b5._0x3f7553,_0x3f73b5._0x1c8b8a,0x15e,0x2ed)]){let _0x1c8391=J(_0x44385b,_0x43a850);_0x5b8dca(_0x1c8391['lineStart']);}else _0x5b8dca(_0x43a850-0x1);}return!0x0;}else{if(_0x6c1370[_0x5e56eb(-_0x3f73b5._0x13de8b,-0x10,-_0x3f73b5._0x2bde31,-0x33d)]){if(_0x42aef9){if(_0x6c1370[_0x5e56eb(-_0x3f73b5._0x21c527,-0x117,-_0x3f73b5._0x5d8241,-0x3c0)]){let _0x19ed3a=J(_0x44385b,_0x43a850);_0x5b8dca(_0x19ed3a['lineEnd']);}else _0x5b8dca(_0x43a850+0x1);}return!0x0;}else{if(_0x6c1370[_0x5e56eb(_0x3f73b5._0x33da30,0xff,_0x3f73b5._0x62e96f,_0x3f73b5._0x1ef939)]||_0x6c1370[_0x496613(_0x3f73b5._0x2d5d3f,_0x3f73b5._0x5a2957,0x623,_0x3f73b5._0x30e54e)]&&_0x47d6f8==='a'){if(_0x42aef9){let _0x2106af=J(_0x44385b,_0x43a850);_0x5b8dca(_0x2106af['lineStart']);}return!0x0;}else{if(_0x6c1370['end']||_0x6c1370['ctrl']&&_0x47d6f8==='e'){if(_0x42aef9){let _0x1652ee=J(_0x44385b,_0x43a850);_0x5b8dca(_0x1652ee[_0x496613(_0x3f73b5._0x1d7f11,_0x3f73b5._0x200937,_0x3f73b5._0x516a4c,0x6fa)]);}return!0x0;}else{if(_0x6c1370[_0x496613(_0x3f73b5._0x44ceb4,0x4aa,0x50f,_0x3f73b5._0x36382d)]){if(!_0x42aef9)return!0x0;let _0x43cfc4=J(_0x44385b,_0x43a850);if(_0x14476d&&(_0x14476d(_0x43cfc4),_0x43cfc4[_0x5e56eb(_0x3f73b5._0x2adc43,0x2f2,-_0x3f73b5._0xe70c19,0x1ee)]===0x0))return!0x0;let _0x5eba9f=Je(_0x44385b,_0x43a850,'up');return _0x5eba9f!==null&&_0x5b8dca(_0x5eba9f),!0x0;}else{if(_0x6c1370[_0x5e56eb(_0x3f73b5._0x14ba59,-0xa,0x5a,_0x3f73b5._0x451957)]){if(!_0x42aef9)return!0x0;let _0x25275e=J(_0x44385b,_0x43a850);if(_0x3bf980&&(_0x3bf980(_0x25275e),_0x25275e[_0x496613(_0x3f73b5._0x1b148a,_0x3f73b5._0x2c72e5,_0x3f73b5._0x232b04,0x68b)]===_0x25275e[_0x496613(0x4e3,_0x3f73b5._0x3cecfe,0x489,0x445)][_0x496613(0x502,0x4ea,_0x3f73b5._0xc67cb2,_0x3f73b5._0x5cf589)]-0x1))return!0x0;let _0x39a1b7=Je(_0x44385b,_0x43a850,_0x496613(0x4d0,0x3a4,0x572,_0x3f73b5._0x52443b));return _0x39a1b7!==null&&_0x5b8dca(_0x39a1b7),!0x0;}else{if(_0x6c1370[_0x496613(_0x3f73b5._0x3a8bdd,0x7e6,_0x3f73b5._0x58004f,0x651)]||_0x6c1370[_0x5e56eb(-_0x3f73b5._0x4564ca,0xe4,0x14f,_0x3f73b5._0x58ce9a)]){if(_0x43a850>0x0){let _0x33cf55=_0x44385b[_0x496613(_0x3f73b5._0x4b6ac1,_0x3f73b5._0x33d7a6,0x399,_0x3f73b5._0x236fd5)](0x0,_0x43a850-0x1)+_0x44385b[_0x5e56eb(-0x6f,-_0x3f73b5._0x22cbfc,_0x3f73b5._0x72a25,-_0x3f73b5._0x4ab319)](_0x43a850,_0x44385b['length']),_0x274adb=_0x43a850-0x1;_0x292a27(_0x33cf55,_0x274adb);}return!0x0;}else{let _0x8fef55=_0x44385b[_0x496613(0x551,_0x3f73b5._0x1fce77,_0x3f73b5._0x1fdf05,0x43f)](0x0,_0x43a850)+_0x47d6f8+_0x44385b[_0x496613(0x54d,0x612,_0x3f73b5._0x52aee3,0x43f)](_0x43a850,_0x44385b[_0x5e56eb(-0x79,-0x1fb,-0x21b,-_0x3f73b5._0x564e55)]),_0x3067bf=_0x43a850+_0x47d6f8[_0x5e56eb(-_0x3f73b5._0x40feb1,-_0x3f73b5._0xdfb3f,0xc2,_0x3f73b5._0x5c734a)],_0x1b92f8=_0x47d6f8[_0x5e56eb(-_0x3f73b5._0x40feb1,-_0x3f73b5._0x41f28f,-_0x3f73b5._0x45a641,_0x3f73b5._0x51e15b)]>0x1?_0x47d6f8[_0x496613(0x644,_0x3f73b5._0x358c63,0x38b,_0x3f73b5._0x5cf589)]:0x0;return _0x292a27(_0x8fef55,_0x3067bf,_0x1b92f8),!0x0;}}}}}}}}},{'isActive':_0xae51});let _0xdd825f=_0x4f8377?_0x4f8377[_0x504ca0(0x330,_0xf49fe6._0x19f934,_0xf49fe6._0x300f5a,0x1fc)](_0x391258[_0x47610b(_0xf49fe6._0x5f1a63,0x4c0,_0xf49fe6._0x6ed5e9,_0xf49fe6._0x3069d4)][_0x47610b(0x767,_0xf49fe6._0x42f5dd,0x5df,_0xf49fe6._0x1c8e5d)]):_0x391258[_0x504ca0(-0x12a,0x3d,-0x37,0x174)],{renderedValue:_0x3d2831,renderedPlaceholder:_0xd0eb60}=_0x926e8(_0xdd825f,_0x391258[_0x504ca0(-_0xf49fe6._0xdf25b9,0xfd,-_0xf49fe6._0x426838,-_0xf49fe6._0x4df463)],_0x245fbf,_0x42aef9,_0xae51);function _0x47610b(_0x20bc32,_0x512203,_0x1bc47f,_0x42b7f8){return _0x5318c5(_0x20bc32-_0x4490bc._0x5b5956,_0x20bc32,_0x1bc47f-_0x4490bc._0x2c1042,_0x512203-_0x4490bc._0x488270);}return _0x59f027(_0x3d756a,{'children':_0x245fbf?_0xdd825f['length']>0x0?_0x3d2831:_0xd0eb60:_0x3d2831});}var we=Sm;import{jsx as _0x3330bc,jsxs as _0x2f678c}from'react/jsx-runtime';var Qo=_0x3b4656(({value:_0x8c92e1,onSubmit:_0x1c12a6,onCancel:_0x12b9f3},_0x2cb5e6)=>{const _0x509ca3={_0x515270:0x8af,_0x18d4d5:0x8c3,_0x14bcc5:0x67f,_0x2bcce1:0x49e,_0xb8def8:0x2e3,_0x1076fd:0x5d1,_0x3b0cbf:0x488,_0x1d75f3:0x156,_0x1de2ca:0x2fa,_0x417d3c:0x4e,_0x4d4cf7:0x328,_0x3afe19:0x1b,_0x36c772:0x2a,_0x40e272:0x572,_0x443cba:0x7c0},_0x48645f={_0x501a2a:0x45,_0x3790eb:0xce,_0x3952f5:0x8e},_0x18df9c={_0x29885e:0x1d9,_0x571df5:0x3d1,_0x4ee22d:0x86};let {theme:_0x14f9c0}=F(),{isFocused:_0x50233d,focus:_0x4f2557}=Ne(),[_0x57b722,_0x35033c]=_0x38d4d4(_0x8c92e1);function _0x1f7926(_0x2e4dfe,_0x2c1620,_0x135687,_0x42f5b6){return _0x7f0a6b(_0x2e4dfe-_0x18df9c._0x29885e,_0x2c1620-_0x18df9c._0x571df5,_0x2e4dfe,_0x42f5b6-_0x18df9c._0x4ee22d);}function _0x1ebc31(_0x1046a8,_0xf30773,_0x180a27,_0x3dbf7f){return _0x7f0a6b(_0x1046a8-_0x48645f._0x501a2a,_0x3dbf7f- -_0x48645f._0x3790eb,_0x1046a8,_0x3dbf7f-_0x48645f._0x3952f5);}return _0x46b6a0(_0x2cb5e6,()=>({'focus':_0x4f2557}),[_0x4f2557]),_0x40dece(()=>{_0x35033c(_0x8c92e1);},[_0x8c92e1]),W((_0x57a21b,_0x5e7f05)=>_0x5e7f05[_0x1f7926(0x6d5,0x8c2,0xa8a,0x6be)]?(_0x12b9f3(),!0x0):!0x1,{'isActive':_0x50233d}),_0x2f678c(_0x3b627b,{'flexDirection':_0x1f7926(_0x509ca3._0x515270,0x6f4,_0x509ca3._0x18d4d5,0x7ea),'alignItems':_0x1f7926(_0x509ca3._0x14bcc5,_0x509ca3._0x2bcce1,_0x509ca3._0xb8def8,_0x509ca3._0x1076fd),'children':[_0x3330bc(_0x4f764a,{'color':_0x50233d?_0x14f9c0[_0x1f7926(0x585,0x603,_0x509ca3._0x3b0cbf,0x621)][_0x1ebc31(0x318,_0x509ca3._0x1d75f3,0x4f1,_0x509ca3._0x1de2ca)]:_0x14f9c0[_0x1ebc31(_0x509ca3._0x417d3c,0xf5,_0x509ca3._0x4d4cf7,0x164)][_0x1ebc31(-0x20f,_0x509ca3._0x3afe19,0xac,_0x509ca3._0x36c772)],'bold':_0x50233d,'children':_0x50233d?'❯\x20':'│\x20'}),_0x3330bc(_0x3b627b,{'flexGrow':0x1,'children':_0x3330bc(we,{'focus':_0x50233d,'value':_0x57b722,'onChange':_0x35033c,'placeholder':_0x1f7926(_0x509ca3._0x40e272,0x6d3,0x4ac,_0x509ca3._0x443cba),'onSubmit':_0x1c12a6})})]});});Qo[_0x7f0a6b(0x171,0x212,0x53,0xfa)]=_0x7f0a6b(0x292,0x274,0x321,0x136);import{Box as _0x4dde7e,Text as _0x22d61e}from'ink';function _0xa481(_0x8301e6,_0x223213){_0x8301e6=_0x8301e6-0x144;const _0x5affac=_0x5aff();let _0xa481e1=_0x5affac[_0x8301e6];if(_0xa481['jyMYyk']===undefined){var _0xda2688=function(_0x3d9084){const _0x2ae292='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x800a1c='',_0x46198d='';for(let _0x47c445=0x0,_0x45421a,_0xa5732f,_0x21ba14=0x0;_0xa5732f=_0x3d9084['charAt'](_0x21ba14++);~_0xa5732f&&(_0x45421a=_0x47c445%0x4?_0x45421a*0x40+_0xa5732f:_0xa5732f,_0x47c445++%0x4)?_0x800a1c+=String['fromCharCode'](0xff&_0x45421a>>(-0x2*_0x47c445&0x6)):0x0){_0xa5732f=_0x2ae292['indexOf'](_0xa5732f);}for(let _0x5aff65=0x0,_0x54ab70=_0x800a1c['length'];_0x5aff65<_0x54ab70;_0x5aff65++){_0x46198d+='%'+('00'+_0x800a1c['charCodeAt'](_0x5aff65)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x46198d);};_0xa481['bgOXKE']=_0xda2688,_0xa481['sZYnDk']={},_0xa481['jyMYyk']=!![];}const _0x309546=_0x5affac[0x0],_0x54d27f=_0x8301e6+_0x309546,_0x1bf740=_0xa481['sZYnDk'][_0x54d27f];return!_0x1bf740?(_0xa481e1=_0xa481['bgOXKE'](_0xa481e1),_0xa481['sZYnDk'][_0x54d27f]=_0xa481e1):_0xa481e1=_0x1bf740,_0xa481e1;}import{jsx as _0x11d7b2,jsxs as _0x4ee78a}from'react/jsx-runtime';var Tn=({visible:_0x2c797f,title:_0x225f16,rightTitle:_0x1e7aea,titleColor:_0x7d4b70,borderColor:_0x48b1e4,children:_0x37bf02,onClose:_0x543cb6,closeOnEscape:_0x4f1111=!0x0,closeOnEnter:_0x5ba73e=!0x1,paddingX:_0x57cb54=0x2,paddingY:_0x4fc672=0x0,marginX:_0x44967d=0x1,marginY:_0x19f0f6=0x0,height:_0x308f3d,footer:_0x2da431})=>{const _0x161dc5={_0x58dabd:0x38d,_0x97448f:0x2d9,_0x5de86e:0x1c1,_0x52b415:0x398,_0x2b2e91:0x38e,_0x45b1d5:0x39b,_0xe0e80c:0x166,_0x5e4535:0x432,_0x4a8fe1:0x38e,_0x2648ff:0x317,_0x121c29:0x30e,_0x34a5bd:0x2e1,_0x3c5f49:0x578,_0x24be82:0x360,_0x17baa7:0x435,_0x4675e8:0x398,_0x567335:0x490,_0x49f760:0x567,_0x345f94:0x4c4,_0x6fe06c:0x463,_0xf2e5a3:0x420,_0x1ceeba:0x55c,_0x4c3e02:0x4cd,_0x6fa079:0x57c,_0x2baa0d:0x4ce,_0x376477:0x6c1,_0x401039:0x468,_0x3ed2e7:0x5d6,_0x407c98:0x23f,_0xa9c7c1:0x499,_0x28574d:0x471,_0x4d29db:0x496,_0x47b26b:0x1c5},_0x2f079e={_0x12c3af:0x55b},_0x29f4a3={_0x179f90:0x1c3,_0x4bede9:0xd9},_0x4d526f={_0x18817e:0x189,_0x511aaf:0x5e};function _0x325cd(_0x113a35,_0x200821,_0xdfce00,_0x52166c){return _0x7f0a6b(_0x113a35-_0x4d526f._0x18817e,_0x52166c-_0x4d526f._0x511aaf,_0x200821,_0x52166c-0x1ba);}let {theme:_0x30803d}=F(),_0x1af56d=_0x48b1e4,_0x3a9366=_0x7d4b70||_0x30803d[_0x59fa65(_0x161dc5._0x58dabd,_0x161dc5._0x97448f,_0x161dc5._0x5de86e,_0x161dc5._0x52b415)][_0x59fa65(0x483,_0x161dc5._0x2b2e91,_0x161dc5._0x45b1d5,0x472)];function _0x59fa65(_0x2ceffb,_0x18708c,_0x54fc84,_0x2723a0){return _0x7f0a6b(_0x2ceffb-0x18b,_0x2723a0-_0x29f4a3._0x179f90,_0x18708c,_0x2723a0-_0x29f4a3._0x4bede9);}return W((_0x11b10e,_0x2e4bad)=>{const _0x11ec39={_0x4badf3:0x185};if(_0x2e4bad['escape']&&_0x4f1111&&_0x543cb6){_0x543cb6();return;}function _0x340228(_0x587e42,_0x4b6b6f,_0x386e38,_0x51edb1){return _0x59fa65(_0x587e42-_0x11ec39._0x4badf3,_0x587e42,_0x386e38-0x1b1,_0x386e38-0x20a);}if(_0x2e4bad[_0x340228(_0x2f079e._0x12c3af,0x404,0x5dd,0x5eb)]&&_0x5ba73e&&_0x543cb6){_0x543cb6();return;}},{'isActive':_0x2c797f&&!!_0x543cb6}),_0x2c797f?_0x4ee78a(_0x4dde7e,{'height':_0x308f3d,'flexDirection':_0x59fa65(0x47a,0x50f,0x3fb,0x5d6),'borderStyle':_0x325cd(_0x161dc5._0xe0e80c,_0x161dc5._0x5e4535,0x216,_0x161dc5._0x4a8fe1),'borderColor':_0x1af56d,'width':_0x59fa65(0x2c0,0x2c8,0x426,_0x161dc5._0x2648ff),'children':[_0x4ee78a(_0x4dde7e,{'flexWrap':_0x325cd(0x16d,0x221,0x52b,_0x161dc5._0x121c29),'justifyContent':_0x59fa65(0x535,_0x161dc5._0x34a5bd,_0x161dc5._0x3c5f49,_0x161dc5._0x24be82),'backgroundColor':_0x30803d[_0x59fa65(0x3a9,0x4fe,_0x161dc5._0x17baa7,_0x161dc5._0x4675e8)][_0x59fa65(0x25f,0x4b7,0x352,_0x161dc5._0x567335)],'children':[_0x225f16?_0x4ee78a(_0x4dde7e,{'children':[_0x11d7b2(_0x22d61e,{'color':_0x3a9366,'children':_0x325cd(0x3aa,0x64e,_0x161dc5._0x49f760,_0x161dc5._0x345f94)}),_0x11d7b2(_0x22d61e,{'color':_0x3a9366,'bold':!0x0,'children':_0x225f16})]}):null,_0x1e7aea?_0x11d7b2(_0x4dde7e,{'alignItems':_0x325cd(0x51e,_0x161dc5._0x6fe06c,_0x161dc5._0xf2e5a3,_0x161dc5._0x1ceeba),'alignSelf':_0x59fa65(0x8a7,0x4e7,_0x161dc5._0x4c3e02,0x6c1),'justifyContent':_0x59fa65(_0x161dc5._0x6fa079,_0x161dc5._0x2baa0d,0x648,_0x161dc5._0x376477),'flexGrow':0x1,'children':_0x4ee78a(_0x22d61e,{'color':_0x3a9366,'bold':!0x0,'children':[_0x1e7aea,'\x20']})}):null]}),_0x4ee78a(_0x4dde7e,{'flexDirection':_0x59fa65(0x3a8,0x49a,_0x161dc5._0x401039,_0x161dc5._0x3ed2e7),'width':_0x59fa65(_0x161dc5._0x407c98,0x126,0x1f8,_0x161dc5._0x2648ff),'marginTop':0x1,'children':[_0x11d7b2(_0x4dde7e,{'flexDirection':_0x325cd(_0x161dc5._0xa9c7c1,0x470,0x4e9,_0x161dc5._0x28574d),'width':'100%','paddingX':_0x57cb54,'paddingY':_0x4fc672,'marginX':_0x44967d,'marginY':_0x19f0f6,'children':_0x37bf02}),_0x2da431?_0x11d7b2(_0x4dde7e,{'flexGrow':0x1,'borderStyle':_0x59fa65(_0x161dc5._0x4d29db,0x408,0x6d8,0x4f3),'borderLeft':!0x1,'borderRight':!0x1,'borderBottom':!0x1,'borderColor':_0x30803d[_0x59fa65(0x438,_0x161dc5._0x47b26b,0x248,0x2a0)]['gray'],'children':_0x2da431}):null]})]}):null;};import{Fragment as _0x3b4497,jsx as _0x445731,jsxs as _0x2700c5}from'react/jsx-runtime';function _m({toolCalls:_0x500e40,onApproval:_0x472dc6}){const _0x577ff9={_0x303b1f:0x56,_0x55db99:0x188,_0x4dd6df:0x184,_0x505b09:0xb1,_0x194c27:0x141,_0x4a81b9:0x194,_0x373384:0xfa},_0x40ad85={_0x28c146:0x1ae},_0x5bb46e={_0x2ad002:0x15b},_0x23449e={_0x4447b7:0x8d},_0x4ce236={_0x4c581e:0x304,_0x413924:0xe9,_0x1ea691:0x44,_0x20ee97:0xf7},_0x1e516a={_0x4d2b16:0x16},_0x403e44={_0x386ca0:0x5df,_0x4bc50d:0x932,_0x5b0794:0x47c,_0x4b19f0:0x76d,_0x1af4ee:0x65f,_0x30251c:0x935},_0x20354d={_0x1925df:0x1a5,_0x2f9b5b:0x86},_0x33657a={_0x497c75:0x3e,_0x3b8cae:0x502,_0x6f2d0f:0x123},_0x1500ea={_0x3a551d:0x430,_0x1c00ab:0x696,_0x98eb99:0x76d,_0x1b1abd:0x93a,_0x4a3660:0x8ec,_0x361ba0:0x490,_0x4c3aca:0x5d5,_0x4da388:0x380,_0x54f6aa:0xbd,_0x38c04a:0x100,_0x2f9dfc:0x94b,_0x30be94:0x72a,_0x24a1d1:0x15c,_0x1ff831:0x121,_0x29cb65:0x65,_0x363653:0x143,_0x2dd9f8:0x71,_0x29d215:0x239,_0x49eb15:0x106},_0x2ed7e8={_0x45aaba:0x6cb,_0xee8c40:0x7f3,_0x40bedc:0x7d7,_0x595406:0x7b9,_0x1f9788:0x638,_0x385c99:0x2b4,_0x57d9ec:0x48e,_0x25941d:0x2f8,_0x4bb97c:0x506,_0x3d942c:0x48e,_0x2661e8:0x9e1,_0x46fdc8:0x639,_0x5d9e7f:0x3ec,_0x48ef06:0x8c2,_0xf95112:0x6ac,_0x43e154:0x762,_0x50e26c:0x5d6,_0x581610:0x635,_0x286d44:0x602,_0x521012:0x535,_0x48522a:0x644,_0x532c68:0x5bc,_0x3e9a25:0x485,_0x19521c:0x6e9},_0x61afcb={_0xd400e0:0x43c,_0x5953c7:0x151};let {addSessionApprovedTool:_0x35f7a9}=Re(),_0x5ee280=_0xe1a3ef(null),[_0x7fc14a,_0x230655]=_0x294360(0x0),[_0x2f6b11,_0x75051d]=_0x294360([]),[_0x13b1c2,_0x3b08ae]=_0x294360([]),[_0x5ace08,_0xd90dfb]=_0x294360(!0x1),[_0x3290af,_0x531bce]=_0x294360(''),_0x4bd590=_0x500e40[_0x7fc14a],_0x5f026b=_0x7fc14a===_0x500e40[_0x28d2a8(0x217,0x32e,0x1c6,0x1a6)]-0x1,_0x1f253b=_0xc4265c(_0x2905ca=>{function _0x2d7101(_0x2ada7f,_0x9b9f08,_0x57304a,_0x4f2844){return _0x28d2a8(_0x2ada7f-0x1b4,_0x2ada7f,_0x9b9f08-0x4bd,_0x4f2844-0x76);}function _0x1d1805(_0x9333ed,_0x4bd4e5,_0x20805d,_0x53cb1e){return _0x28d2a8(_0x9333ed-0x18c,_0x4bd4e5,_0x53cb1e-_0x61afcb._0xd400e0,_0x53cb1e-_0x61afcb._0x5953c7);}if(_0x2905ca===_0x2d7101(0x709,0x644,_0x2ed7e8._0x45aaba,_0x2ed7e8._0xee8c40))_0x75051d(_0x3099e5=>[..._0x3099e5,_0x4bd590]);else{if(_0x2905ca==='deny')_0x3b08ae(_0x3a5561=>[..._0x3a5561,_0x4bd590]);else{if(_0x2905ca===_0x2d7101(_0x2ed7e8._0x40bedc,_0x2ed7e8._0x595406,0x90e,_0x2ed7e8._0x1f9788)){_0x35f7a9(_0x4bd590[_0x1d1805(0x4a4,_0x2ed7e8._0x385c99,0x679,_0x2ed7e8._0x57d9ec)]['name']);let _0x5e1ec1=_0x4bd590[_0x1d1805(_0x2ed7e8._0x25941d,_0x2ed7e8._0x4bb97c,0x65b,_0x2ed7e8._0x3d942c)][_0x2d7101(0x782,0x84c,_0x2ed7e8._0x2661e8,0x73f)],_0x3482a4=_0x500e40['slice'](_0x7fc14a)[_0x1d1805(0x4e7,0x462,_0x2ed7e8._0x46fdc8,0x5bf)](_0x39ceb2=>_0x39ceb2[_0x1d1805(0x694,0x40c,0x275,0x48e)][_0x2d7101(0xa68,0x84c,0x740,0x782)]===_0x5e1ec1);_0x75051d(_0x3200a8=>[..._0x3200a8,..._0x3482a4]);let _0x1f194b=_0x500e40[_0x1d1805(0x5c3,0x47f,_0x2ed7e8._0x5d9e7f,0x60c)](_0x7fc14a+0x1)[_0x1d1805(_0x2ed7e8._0x48ef06,0x71c,_0x2ed7e8._0xf95112,0x71b)](_0x3f05f8=>_0x3f05f8['function']['name']!==_0x5e1ec1);if(_0x1f194b===-0x1){_0x472dc6('approve',[..._0x2f6b11,..._0x3482a4]);return;}_0x230655(_0x7fc14a+0x1+_0x1f194b);return;}}}if(_0x5f026b){let _0xdd4091=_0x2905ca===_0x1d1805(0x3c1,0x3fd,_0x2ed7e8._0x43e154,0x5c3)?[..._0x2f6b11,_0x4bd590]:_0x2f6b11;_0xdd4091[_0x1d1805(0x658,_0x2ed7e8._0x50e26c,_0x2ed7e8._0x581610,_0x2ed7e8._0x286d44)]>0x0?_0x472dc6(_0x2d7101(_0x2ed7e8._0x521012,_0x2ed7e8._0x48522a,_0x2ed7e8._0x532c68,_0x2ed7e8._0x3e9a25),_0xdd4091):_0x472dc6(_0x2d7101(0x549,0x5d9,0x583,_0x2ed7e8._0x19521c));}else _0x230655(_0xd68d6b=>_0xd68d6b+0x1);},[_0x4bd590,_0x500e40,_0x7fc14a,_0x2f6b11,_0x5f026b,_0x472dc6,_0x35f7a9]),_0x9ec131=_0x337db7(()=>{const _0x3ef2af={_0x328a88:0x1ba,_0xec8750:0x282},_0x26ee49={_0xb11390:0x1ee};function _0x1053a6(_0x818756,_0x490ecc,_0x4413c6,_0x35736b){return _0x28d2a8(_0x818756-0x19c,_0x818756,_0x490ecc-0x3de,_0x35736b-_0x26ee49._0xb11390);}let _0x398a18=_0x4bd590[_0x1053a6(0x295,_0x1500ea._0x3a551d,0x5d3,0x46a)][_0x1053a6(_0x1500ea._0x1c00ab,_0x1500ea._0x98eb99,_0x1500ea._0x1b1abd,_0x1500ea._0x4a3660)];function _0x29036c(_0x351ec6,_0xa63d7e,_0xec3552,_0x4be528){return _0x28d2a8(_0x351ec6-_0x3ef2af._0x328a88,_0x4be528,_0xa63d7e- -_0x3ef2af._0xec8750,_0x4be528-0xf7);}if(_0x398a18==='file_new'||_0x398a18===_0x1053a6(0x491,0x626,0x49a,_0x1500ea._0x361ba0))try{let _0x47796c=JSON[_0x29036c(-0x2a9,-0x1a0,-0x23d,0x68)](_0x4bd590[_0x1053a6(_0x1500ea._0x4c3aca,0x430,0x5b0,_0x1500ea._0x4da388)][_0x29036c(_0x1500ea._0x54f6aa,0x13,_0x1500ea._0x38c04a,-0x9c)]);if(_0x47796c[_0x1053a6(_0x1500ea._0x2f9dfc,_0x1500ea._0x30be94,0x7b7,0x6cc)])return _0x2700c5(_0x3b4497,{'children':[_0x445731(_0x5664cc,{'color':j[_0x29036c(-_0x1500ea._0x24a1d1,-_0x1500ea._0x1ff831,-0x1da,-0x1c3)]['title'],'bold':!0x0,'children':_0x398a18+':\x20'}),_0x445731(_0x5664cc,{'bold':!0x1,'color':j['modal'][_0x29036c(-_0x1500ea._0x29cb65,_0x1500ea._0x363653,-_0x1500ea._0x2dd9f8,_0x1500ea._0x29d215)],'children':_0x47796c[_0x29036c(-0x141,0xca,_0x1500ea._0x49eb15,0x6)]})]});}catch{}return _0x398a18;},[_0x4bd590]),_0x55482a=_0x3fed16=>{function _0x23d353(_0x37aec5,_0x142a32,_0x327a70,_0x45e1df){return _0x28d2a8(_0x37aec5-_0x33657a._0x497c75,_0x45e1df,_0x37aec5-_0x33657a._0x3b8cae,_0x45e1df-_0x33657a._0x6f2d0f);}function _0x52e1ce(_0x377ada,_0x1b66a6,_0x278f18,_0x117e9e){return _0x28d2a8(_0x377ada-_0x20354d._0x1925df,_0x278f18,_0x117e9e-0x1d3,_0x117e9e-_0x20354d._0x2f9b5b);}_0x3fed16[_0x23d353(0x76d,_0x403e44._0x386ca0,_0x403e44._0x4bc50d,0x822)]()['length']!==0x0&&_0x472dc6(_0x52e1ce(0x395,0x3fe,0x50a,_0x403e44._0x5b0794),void 0x0,_0x3fed16[_0x23d353(_0x403e44._0x4b19f0,0x624,_0x403e44._0x1af4ee,_0x403e44._0x30251c)]());},_0x154574=()=>{_0xd90dfb(!0x1),_0x531bce('');},_0x9c032c=_0x5808d9=>{const _0x555dc3={_0x1fc5e2:0x2ad};function _0x51fd5a(_0x5c64c2,_0x194e3b,_0x38f90e,_0xa019ac){return _0x28d2a8(_0x5c64c2-0x102,_0x194e3b,_0x38f90e-_0x555dc3._0x1fc5e2,_0xa019ac-0x1b5);}function _0x4bd16d(_0x438b03,_0x5729db,_0x45ea20,_0x1c5b57){return _0x28d2a8(_0x438b03-0x43,_0x5729db,_0x45ea20- -0x205,_0x1c5b57-_0x1e516a._0x4d2b16);}_0x1f253b(['approve',_0x4bd16d(-_0x4ce236._0x4c581e,-0x25c,-_0x4ce236._0x413924,-0x288),_0x4bd16d(_0x4ce236._0x1ea691,-0x101,_0x4ce236._0x20ee97,0x36)][_0x5808d9]);};W(_0x1befa3=>{const _0x59ba65={_0x509e9a:0x22};let _0x4fb7a9={0x1:_0x53bef5(0x637,0x58b,0x5db,0x7ba),0x2:_0x28dbea(0x4c5,0x2a2,0x61b,0x6c1),0x3:'approve_session'};function _0x53bef5(_0x8d389e,_0x3c1eaf,_0x30527c,_0x511ebe){return _0x28d2a8(_0x8d389e-_0x59ba65._0x509e9a,_0x30527c,_0x3c1eaf-0x404,_0x511ebe-0xc4);}function _0x28dbea(_0x55b304,_0x5a9566,_0x19db9b,_0x10b075){return _0x28d2a8(_0x55b304-0x1cf,_0x19db9b,_0x55b304-0x3a9,_0x10b075-_0x23449e._0x4447b7);}if(_0x4fb7a9[_0x1befa3])return _0x1f253b(_0x4fb7a9[_0x1befa3]),!0x0;},{'isActive':!0x0});function _0x43c582(_0x1def74,_0x37c21f,_0xe3155e,_0x559913){return _0x5318c5(_0x1def74-0x193,_0xe3155e,_0xe3155e-_0x5bb46e._0x2ad002,_0x559913-0x35);}function _0x28d2a8(_0x2579ba,_0x1006fd,_0x18258a,_0x3333b5){return _0x7f0a6b(_0x2579ba-0x7f,_0x18258a- -0x74,_0x1006fd,_0x3333b5-_0x40ad85._0x28c146);}let _0x485ec7=_0x5ace08?'Enter\x20Submit\x20•\x20Esc\x20Cancel':_0x28d2a8(0x97,-0x16f,_0x577ff9._0x303b1f,-_0x577ff9._0x55db99);return _0x445731(Tn,{'visible':!0x0,'title':_0x445731(_0x5664cc,{'children':_0x9ec131}),'footer':_0x445731(_0x43ba1f,{'marginLeft':0x1,'children':_0x445731(_0x5664cc,{'color':j['toolApproval']['description'],'dimColor':!0x0,'children':_0x485ec7})}),'rightTitle':_0x445731(fn,{'currentIndex':_0x7fc14a,'totalTools':_0x500e40['length']}),'children':_0x2700c5(_0x43ba1f,{'flexDirection':'column','width':_0x43c582(-_0x577ff9._0x4dd6df,-0x17f,-0xfb,_0x577ff9._0x505b09),'children':[_0x445731(pn,{'toolCall':_0x4bd590}),_0x445731(_0x43ba1f,{'flexDirection':'row','justifyContent':_0x43c582(_0x577ff9._0x194c27,0x85,_0x577ff9._0x4a81b9,_0x577ff9._0x373384),'alignItems':'center','marginTop':0x1,'children':_0x445731(hn,{'onActionExecute':_0x9c032c})}),_0x445731(_0x43ba1f,{'marginY':0x1,'children':_0x445731(Qo,{'ref':_0x5ee280,'value':_0x3290af,'onChange':_0x531bce,'onSubmit':_0x55482a,'onCancel':_0x154574})})]})});}function or({toolCalls:_0x1dec4b,onApproval:_0x462afb}){return _0x445731(po,{'children':_0x445731(_m,{'toolCalls':_0x1dec4b,'onApproval':_0x462afb})});}import{useState as _0x112996,useEffect as _0x200a92,useCallback as _0x129394,useMemo as _0x81b9f}from'react';function nr(){const _0x63017f={_0x210f77:0x34},_0x472895={_0x2afc58:0x791,_0x348e5c:0x8f2,_0x365dad:0x931},_0x57954a={_0x23d006:0x32e,_0x27bd59:0x554},_0x261ffd={_0x191ff8:0x4e6,_0x4a76bc:0x19c},_0x533787={_0x2f9c7a:0x33e},_0x110180={_0x2d5814:0x2c},_0x198b80={_0x35b75a:0x37f,_0x4cd13:0x191,_0x477d8b:0x410,_0x1c7be0:0x21a,_0x13464b:0x8,_0xb81ae3:0x12d,_0x161555:0x3b1,_0x4699cf:0x32a},_0x19c217={_0x2a0e4a:0x45a,_0x215964:0x382},_0x57fac1={_0x4bb2f7:0x19f};let [_0x4b6a1f,_0xa2f88]=_0x112996(()=>me['list']({'includeHidden':!0x1})),[_0x489f2f,_0x360ba1]=_0x112996(()=>me[_0x3cd734(0x67,0x37c,0xb0,0x28f)]()),_0x3608ec=_0x129394(()=>{function _0x1fa903(_0x199ddf,_0x93ba8f,_0x42e810,_0x34c9ca){return _0x3cd734(_0x199ddf-_0x57fac1._0x4bb2f7,_0x93ba8f-0x59,_0x93ba8f,_0x199ddf- -0xc7);}_0xa2f88(me[_0x1fa903(0x22a,0xaf,_0x19c217._0x2a0e4a,_0x19c217._0x215964)]({'includeHidden':!0x1}));},[]);_0x200a92(()=>{const _0x411219={_0x53071f:0x1b4},_0x5c1953={_0x5caeb6:0x4f5,_0x3b6569:0x568,_0x157cbe:0x532};let _0x5ef7c5=()=>{const _0x4723e7={_0x5b1207:0x47};function _0x398900(_0x15d473,_0x320281,_0x9f5fe8,_0x310ab7){return _0xa481(_0x15d473- -_0x4723e7._0x5b1207,_0x9f5fe8);}_0x360ba1(me[_0x398900(_0x5c1953._0x5caeb6,_0x5c1953._0x3b6569,_0x5c1953._0x157cbe,0x58e)]());},_0x2d57ef=()=>{_0x3608ec();};function _0x5cb449(_0x40f565,_0x914d8,_0x60b309,_0x12fb35){return _0x3cd734(_0x40f565-_0x411219._0x53071f,_0x914d8-0x24,_0x914d8,_0x40f565- -0xf3);}return B['on']('ui:command:activated',_0x5ef7c5),B['on'](_0x5cb449(-0x21a,-0x250,-_0x110180._0x2d5814,-0x81),_0x5ef7c5),B['on']('ui:commands:refresh',_0x2d57ef),()=>{const _0x266a4b={_0x527736:0x24,_0x5c3e03:0xec,_0x374451:0x52},_0x547efc={_0x50616d:0x248,_0x4de1fc:0x1d9,_0x382fb3:0x108};function _0x6a2040(_0x7986c4,_0x51546,_0x3771df,_0x4ab63f){return _0x5cb449(_0x3771df-_0x547efc._0x50616d,_0x7986c4,_0x3771df-_0x547efc._0x4de1fc,_0x4ab63f-_0x547efc._0x382fb3);}function _0x35c8a8(_0x71a36b,_0x30ac35,_0x708e15,_0xe2c42c){return _0x5cb449(_0xe2c42c-_0x266a4b._0x527736,_0x71a36b,_0x708e15-_0x266a4b._0x5c3e03,_0xe2c42c-_0x266a4b._0x374451);}B['off'](_0x35c8a8(-0x13e,-_0x198b80._0x35b75a,-0x53,-_0x198b80._0x4cd13),_0x5ef7c5),B[_0x6a2040(_0x198b80._0x477d8b,0x31c,_0x198b80._0x1c7be0,-_0x198b80._0x13464b)](_0x35c8a8(-_0x198b80._0xb81ae3,-_0x198b80._0x161555,-_0x198b80._0x4699cf,-0x1f6),_0x5ef7c5),B['off']('ui:commands:refresh',_0x2d57ef);};},[_0x3608ec]);let _0x2e273b=_0x129394(async _0x2c1c7a=>{function _0x28bfad(_0x52579a,_0x3488ef,_0x17b03b,_0x1ecd65){return _0x3cd734(_0x52579a-0x156,_0x3488ef-0x1e1,_0x17b03b,_0x3488ef-_0x533787._0x2f9c7a);}await me[_0x28bfad(_0x261ffd._0x191ff8,0x394,_0x261ffd._0x4a76bc,0x39c)](_0x2c1c7a);},[]),_0x3a5fc0=_0x129394((_0x5bf64c,_0x38dba3)=>{const _0x37da77={_0x5d936a:0x4e};function _0x1ea229(_0x9f1c26,_0x4765f9,_0x1effe2,_0x181f08){return _0x3cd734(_0x9f1c26-0xb3,_0x4765f9-_0x37da77._0x5d936a,_0x181f08,_0x4765f9-0x118);}me[_0x1ea229(0x1c6,_0x57954a._0x23d006,_0x57954a._0x27bd59,0x168)](_0x5bf64c,_0x38dba3);},[]),_0x41b8a7=_0x129394(()=>{function _0x49a127(_0x15e22f,_0x3ece72,_0x389388,_0xaeb30a){return _0x3cd734(_0x15e22f-0x116,_0x3ece72-0x24,_0x389388,_0x15e22f-0x565);}me[_0x49a127(_0x472895._0x2afc58,_0x472895._0x348e5c,_0x472895._0x365dad,0x7e8)]();},[]);function _0x3cd734(_0x158c49,_0x5f3535,_0x5e35de,_0x1ef451){return _0x7f0a6b(_0x158c49-_0x63017f._0x210f77,_0x1ef451- -0x1f9,_0x5e35de,_0x1ef451-0x11f);}return _0x81b9f(()=>({'commands':_0x4b6a1f,'activeCommand':_0x489f2f,'execute':_0x2e273b,'setActiveCommand':_0x3a5fc0,'clearActiveCommand':_0x41b8a7,'refreshCommands':_0x3608ec}),[_0x4b6a1f,_0x489f2f,_0x2e273b,_0x3a5fc0,_0x41b8a7,_0x3608ec]);}import{jsx as _0x174e30}from'react/jsx-runtime';function wn(){const _0x429a37={_0x4715e3:0x4af,_0xdec8f2:0x1be},_0x264e49={_0x1a03cd:0xfe};let {activeCommand:_0x37439f,clearActiveCommand:_0x291aa8}=nr();if(!_0x37439f)return null;function _0x1c5dd4(_0x6982dc,_0x337d3f,_0x19e5b0,_0x237911){return _0x5318c5(_0x6982dc-0x1d4,_0x237911,_0x19e5b0-0x132,_0x6982dc-_0x264e49._0x1a03cd);}let {command:_0x2cca51,context:_0x4d97e6}=_0x37439f;return _0x174e30(_0x2cca51[_0x1c5dd4(0x310,_0x429a37._0x4715e3,_0x429a37._0xdec8f2,0x189)],{'context':_0x4d97e6,'deactivate':_0x291aa8,'isActive':!0x0});}import _0x3049fa,{useState as _0x455c53,useEffect as _0x26aef1,useCallback as _0x32a5f1,forwardRef as _0xef7071,useImperativeHandle as _0x4ac063,useMemo as _0x153ff5,useRef as _0x130b8a}from'react';import{Box as _0x4d0d78,Text as _0xd5d828}from'ink';import _0x56a085 from'ink-spinner';import{useState as _0x579169,useEffect as _0x363aa7,useCallback as _0x196321,useRef as _0x3a0c29}from'react';var la=({memory:_0xc6e376,currentInput:_0x1f9caa,onRecall:_0x2de580})=>{const _0x115acf={_0x174d46:0x563,_0x2aff45:0x2c8,_0x61ba03:0x431,_0x127958:0x4d9},_0x5786fe={_0x1df233:0x8d0,_0x44051f:0x700,_0x106aa1:0x5c2,_0x1b0611:0x630,_0x438ca0:0x396,_0x40aecf:0x9db,_0x3e945:0x58d,_0x207e6a:0x556,_0x578ae4:0x987,_0x36bbb3:0x830,_0xd68411:0x889,_0x1e1654:0x78d,_0x4c3ba1:0x798},_0x4fbc75={_0xc2289b:0x222},_0x45f390={_0x46e594:0x4a,_0x2dbd54:0x1d0,_0x6b373e:0x9f,_0x8b88a6:0x24c,_0x2307ce:0x59,_0x2ecd12:0x40,_0x466801:0x1d4,_0x3a9563:0x6e,_0x5e3e8a:0x5d,_0x4521c5:0x38,_0x483291:0x13d,_0x100ebb:0x1df,_0xaca10b:0x48,_0x171a2f:0x290,_0x3e9976:0x443,_0xe80c22:0x38},_0x27f1f1={_0x3a3cda:0x374},_0x351207={_0x24c07f:0x34b},_0x2f4887={_0x1a5dbb:0x371,_0x5cddf0:0x2f8,_0x505803:0x440,_0xba3e09:0x6f,_0x2ed89b:0x214,_0x12c13c:0x17,_0xe735d8:0xdc,_0x34be2c:0x147,_0x5bf70d:0xc8,_0x110e1e:0x5e,_0x2e1f0a:0x3be,_0x80be53:0x198},_0x58ef31={_0x18bea8:0x221},_0x4c395e={_0x3d1d63:0x310,_0xed6ef:0x27a,_0x10dd02:0x14e,_0x15734f:0x2ee,_0x2f38a6:0xa2f,_0x341073:0x30c,_0x109429:0x41a,_0x132112:0x62b,_0x799972:0x49f,_0x1e88ff:0x4cb,_0x2eafb5:0x81e,_0x239db1:0x56e,_0x57d24f:0x685,_0xe15e11:0x6ea,_0x3386d2:0x208},_0x43cb4f={_0x15cca6:0x33d},_0xf20e8b={_0xafd486:0x42,_0x19019f:0x628,_0x5af90f:0x3c8,_0x3f4dbe:0x44f,_0x2e3b53:0x3cc,_0x2dd93d:0x240,_0x4b95bb:0x343,_0x291d3f:0xff,_0x4e0cea:0x225,_0x3ac4b9:0x15c,_0x2e7dba:0x31a,_0x2b460:0xb5,_0x838b43:0x1e7};let {setNotification:_0x58c6e1}=Ht(),[_0x16bac7,_0x34587e]=_0x579169([]),[_0xb0c535,_0x568b10]=_0x579169(-0x1),_0x353f28=_0x3a0c29(!0x1),_0x1c7eda=_0x3a0c29(!0x1);_0x363aa7(()=>{const _0xdf4811={_0x6f6c0b:0x105,_0x5ae483:0x591,_0x5b6d4d:0x9c3,_0x39a998:0x8b8,_0x5e1e55:0x730,_0x3e14bd:0x14c,_0x230176:0x2d6,_0x55bbf3:0x8a1,_0x3a8f44:0x7d0,_0x106fd7:0x17d,_0x265fa7:0x180,_0x4bbe28:0xa5,_0x1edd62:0x67a,_0x104354:0x4d0,_0x3285fa:0x689,_0xaa0813:0x94},_0x39ee40={_0x59ed6e:0x3db};((async()=>{let _0x55da89=_0x21ba14[_0x4d3a5e(0x14d,0xe3,0x23c,_0xdf4811._0x6f6c0b)]()[_0x276073(_0xdf4811._0x5ae483,0x59a,0x4dc,0x732)](),_0x339762=null;try{_0x339762=(await _0x45421a(0x1,_0x55da89))?.[0x0]?.[_0x276073(_0xdf4811._0x5b6d4d,_0xdf4811._0x39a998,0x8e5,0x7ec)]??null;}catch{_0x339762=null;}function _0x4d3a5e(_0x5d0b72,_0x38158a,_0x3a5850,_0x56cbb3){return _0xa481(_0x3a5850- -0x206,_0x5d0b72);}function _0x276073(_0x534d7d,_0xc70238,_0x6d564a,_0x16572c){return _0xa481(_0xc70238-_0x39ee40._0x59ed6e,_0x6d564a);}if(!_0xc6e376){_0x339762&&_0x34587e([_0x339762]);return;}try{let _0x3ed6d4=(await _0xc6e376[_0x276073(0x7be,_0xdf4811._0x5e1e55,0x8c0,0x730)]('cli'))[_0x4d3a5e(-_0xdf4811._0x3e14bd,0x1b6,0xa5,_0xdf4811._0x230176)](_0x3a9425=>_0x3a9425[_0x276073(0x771,0x55a,0x587,0x694)]===_0x276073(0x4ca,0x67a,0x45a,0x63c))[_0x276073(0x8f0,0x79d,_0xdf4811._0x55bbf3,_0xdf4811._0x3a8f44)](_0x4ed95c=>typeof _0x4ed95c['content']==_0x276073(0x791,0x8bc,0x830,0x7e4)?_0x4ed95c[_0x4d3a5e(-0xba,0x7c,-0xa,0x196)]:_0x4ed95c[_0x276073(0x677,0x5d7,0x4b5,0x592)]&&typeof _0x4ed95c['content']==_0x4d3a5e(0x357,0x13e,0x1ae,-0x70)&&'parts'in _0x4ed95c[_0x276073(0x55d,0x5d7,0x4d7,0x4f5)]?_0x4ed95c[_0x4d3a5e(0x5a,0x2e,-0xa,0x220)][_0x4d3a5e(0x17e,-0x271,-0x4e,-0x286)][_0x4d3a5e(-0x26,0x2d7,0xa5,-0x47)](_0x45349d=>_0x45349d[_0x4d3a5e(0x229,0xcb,0xd4,0x3f)]===_0x4d3a5e(0x3b3,0x13e,0x269,0x346))[_0x4d3a5e(0x1db,0x1ac,0x1bc,0x3ce)](_0x1f6610=>_0x1f6610[_0x276073(0x881,0x84a,0x750,0x916)])['join']('\x0a'):'')[_0x4d3a5e(-_0xdf4811._0x106fd7,_0xdf4811._0x265fa7,_0xdf4811._0x4bbe28,0x6c)](_0x23ed37=>_0x23ed37[_0x4d3a5e(0x265,0x2fb,0x18d,0x277)]()!==''),_0x4f214d=_0x339762?[_0x339762,..._0x3ed6d4]:_0x3ed6d4;_0x34587e(_0x4f214d),_0x47c445[_0x276073(_0xdf4811._0x1edd62,0x53d,_0xdf4811._0x104354,_0xdf4811._0x3285fa)](_0x4d3a5e(0x46,-0x91,-_0xdf4811._0xaa0813,0x10f),{'count':_0x4f214d['length']});}catch{_0x339762&&_0x34587e([_0x339762]);}})());},[_0xc6e376]);let _0x3978e5=_0x196321(()=>{const _0x1888c4={_0x4dc434:0x1f6};if(_0x47c445[_0x2af28e(-_0xf20e8b._0xafd486,0x217,-0x9,0x1b7)](_0x2af28e(_0xf20e8b._0x19019f,0x22a,_0xf20e8b._0x5af90f,_0xf20e8b._0x3f4dbe),{'messages':_0x16bac7,'currentIndex':_0xb0c535}),_0x16bac7[_0x2af28e(0x489,_0xf20e8b._0x2e3b53,_0xf20e8b._0x2dd93d,_0xf20e8b._0x4b95bb)]===0x0||_0xb0c535===0x0)return _0x47c445['debug'](_0x5c41f8(-_0xf20e8b._0x291d3f,-_0xf20e8b._0x4e0cea,-_0xf20e8b._0x3ac4b9,-0x1d)),null;let _0x13ef83=_0xb0c535===-0x1?_0x16bac7[_0x5c41f8(_0xf20e8b._0x2e7dba,_0xf20e8b._0x2b460,_0xf20e8b._0x838b43,0xf8)]-0x1:_0xb0c535-0x1;_0x568b10(_0x13ef83);function _0x5c41f8(_0x5bf2d,_0x355fae,_0x37661a,_0x297b9d){return _0xa481(_0x297b9d- -_0x1888c4._0x4dc434,_0x37661a);}let _0x174fb2=_0x16bac7[_0x13ef83];function _0x2af28e(_0x3637b8,_0x522c94,_0x1b9524,_0x26c01c){return _0xa481(_0x26c01c-0x55,_0x3637b8);}return _0x47c445['debug']('navigatePrev:\x20recalling',{'newIndex':_0x13ef83,'message':_0x174fb2}),_0x174fb2??null;},[_0x16bac7,_0xb0c535]),_0x1e9656=_0x196321(()=>{const _0x1f4604={_0x1005af:0x2b0};function _0x334d3b(_0x2c328d,_0x4e2fe7,_0x4682cf,_0x259366){return _0xa481(_0x4682cf- -_0x1f4604._0x1005af,_0x2c328d);}if(_0x47c445[_0x334d3b(-_0x4c395e._0x3d1d63,-_0x4c395e._0xed6ef,-_0x4c395e._0x10dd02,-_0x4c395e._0x15734f)](_0x47ff9d(_0x4c395e._0x2f38a6,0x743,0x89d,0xaa3),{'messages':_0x16bac7,'currentIndex':_0xb0c535}),_0xb0c535===-0x1)return _0x47c445['debug'](_0x47ff9d(_0x4c395e._0x341073,0x5e9,0x483,0x500)),null;function _0x47ff9d(_0x654b9,_0xe7b1a6,_0xe39434,_0x4c8147){return _0xa481(_0xe39434-_0x43cb4f._0x15cca6,_0xe7b1a6);}if(_0xb0c535<_0x16bac7[_0x47ff9d(0x73b,_0x4c395e._0x109429,_0x4c395e._0x132112,0x676)]-0x1){let _0x2a6a53=_0xb0c535+0x1;_0x568b10(_0x2a6a53);let _0x2d2ab5=_0x16bac7[_0x2a6a53];return _0x47c445[_0x47ff9d(0x58d,0x429,_0x4c395e._0x799972,_0x4c395e._0x1e88ff)](_0x47ff9d(_0x4c395e._0x2eafb5,_0x4c395e._0x239db1,_0x4c395e._0x57d24f,_0x4c395e._0xe15e11),{'newIndex':_0x2a6a53,'message':_0x2d2ab5}),_0x2d2ab5??null;}return _0x568b10(-0x1),_0x47c445[_0x334d3b(-0x55,-0x36a,-_0x4c395e._0x10dd02,-_0x4c395e._0x3386d2)]('navigateNext:\x20reset\x20to\x20empty'),'';},[_0x16bac7,_0xb0c535]),_0x30be89=_0x196321(()=>{let _0x1ce7e4=_0x3978e5();_0x1ce7e4!==null&&_0x2de580(_0x1ce7e4);},[_0x3978e5,_0x2de580]),_0x5b2d64=_0x196321(()=>{let _0x3ec7c4=_0x1e9656();_0x3ec7c4!==null&&_0x2de580(_0x3ec7c4);},[_0x1e9656,_0x2de580]),_0x43cb06=_0x196321(_0x33d479=>{function _0x558083(_0x6d4209,_0x924116,_0x34e72e,_0x18297d){return _0xa481(_0x34e72e- -0x24c,_0x18297d);}if(_0x33d479[_0x558083(_0x2f4887._0x1a5dbb,0x14e,_0x2f4887._0x5cddf0,_0x2f4887._0x505803)]!==0x0)return;function _0x19c78a(_0x34ee50,_0x11c681,_0x4b43e1,_0x53bbb3){return _0xa481(_0x53bbb3- -_0x58ef31._0x18bea8,_0x11c681);}!(_0x33d479[_0x19c78a(-0xf2,_0x2f4887._0xba3e09,_0x2f4887._0x2ed89b,0xdd)][_0x558083(0x12b,_0x2f4887._0x12c13c,0xa2,-0x101)]>0x1)||_0x1f9caa[_0x558083(-_0x2f4887._0xe735d8,-0x9c,_0x2f4887._0x34be2c,_0x2f4887._0x5bf70d)]()===''?_0x30be89():_0x353f28[_0x558083(-0xa,0x187,0x16d,-_0x2f4887._0x110e1e)]?(_0x353f28[_0x19c78a(-0x17,_0x2f4887._0x2e1f0a,0x1c2,_0x2f4887._0x80be53)]=!0x1,_0x30be89()):(_0x353f28[_0x19c78a(0x1db,0x253,0x30,0x198)]=!0x0,_0x58c6e1('Press\x20↑\x20again\x20to\x20navigate\x20history',0x3e8),setTimeout(()=>{_0x353f28['current']=!0x1;},0x3e8));},[_0x1f9caa,_0x30be89,_0x58c6e1]),_0x2c47a8=_0x196321(_0x5dd17a=>{function _0x2dd293(_0x830d98,_0x6e501f,_0x5913a4,_0x52f339){return _0xa481(_0x52f339- -_0x351207._0x24c07f,_0x6e501f);}function _0x6dbd8b(_0x6fed68,_0x2252a4,_0x3b5449,_0x33e913){return _0xa481(_0x33e913- -_0x27f1f1._0x3a3cda,_0x6fed68);}if(_0x5dd17a[_0x6dbd8b(-0x56,0x401,-_0x45f390._0x46e594,_0x45f390._0x2dbd54)]!==_0x5dd17a[_0x2dd293(0x6b,0x99,0x165,-0x4d)][_0x2dd293(0x1b6,-_0x45f390._0x6b373e,-0x39,-0x5d)]-0x1)return;!(_0x5dd17a[_0x6dbd8b(-_0x45f390._0x8b88a6,-0x81,_0x45f390._0x2307ce,-0x76)][_0x2dd293(_0x45f390._0x2ecd12,-_0x45f390._0x466801,_0x45f390._0x3a9563,-_0x45f390._0x5e3e8a)]>0x1)||_0x1f9caa[_0x2dd293(_0x45f390._0x4521c5,-_0x45f390._0x483291,-_0x45f390._0x100ebb,_0x45f390._0xaca10b)]()===''?_0x5b2d64():_0x1c7eda['current']?(_0x1c7eda['current']=!0x1,_0x5b2d64()):(_0x1c7eda['current']=!0x0,_0x58c6e1(_0x6dbd8b(_0x45f390._0x171a2f,_0x45f390._0x3e9976,_0x45f390._0xe80c22,0x21e),0x3e8),setTimeout(()=>{_0x1c7eda['current']=!0x1;},0x3e8));},[_0x1f9caa,_0x5b2d64,_0x58c6e1]),_0xd696ea=_0x196321(_0x18d35b=>{const _0x1c5a7a={_0x104a9a:0x8a,_0x5debfa:0x10};function _0x5b6c44(_0x46e199,_0x459c32,_0x15a3df,_0x384dbd){return _0xa481(_0x459c32- -0x8d,_0x384dbd);}function _0xb8bf93(_0x58ff90,_0x104cee,_0x13c84b,_0x2d3b01){return _0xa481(_0x104cee-_0x4fbc75._0xc2289b,_0x2d3b01);}let _0x2f5d35=_0x18d35b[_0xb8bf93(0x626,0x5b5,_0x115acf._0x174d46,0x7e6)]();_0x2f5d35&&(_0x34587e(_0x16676f=>_0x16676f[_0x16676f[_0xb8bf93(0x6ee,0x510,0x482,0x64c)]-0x1]===_0x2f5d35?_0x16676f:[..._0x16676f,_0x2f5d35]),_0x568b10(-0x1),_0xc6e376&&_0xc6e376[_0x5b6c44(0xe7,_0x115acf._0x2aff45,0x297,_0x115acf._0x61ba03)]('cli')['then'](_0x3519f9=>{const _0x53372a={_0x5bc758:0x15c,_0xe5c764:0x46f};let _0x5b45d6={'id':_0x2ebc14(0xa6d,_0x5786fe._0x1df233,0x887,_0x5786fe._0x44051f)+Date['now'](),'role':_0x527eed(_0x5786fe._0x106aa1,0x492,_0x5786fe._0x1b0611,_0x5786fe._0x438ca0),'content':_0x2f5d35,'timestamp':new Date()[_0x527eed(0x88e,_0x5786fe._0x40aecf,0x684,0xa8f)]()},_0x4bc2b4=[..._0x3519f9,_0x5b45d6];function _0x527eed(_0x18be84,_0x376936,_0x50f78d,_0x26cdaf){return _0x5b6c44(_0x18be84-_0x1c5a7a._0x104a9a,_0x18be84-0x3b0,_0x50f78d-_0x1c5a7a._0x5debfa,_0x50f78d);}function _0x2ebc14(_0x35bd0e,_0x1208e7,_0x4c7dfb,_0x1c049b){return _0x5b6c44(_0x35bd0e-_0x53372a._0x5bc758,_0x4c7dfb-_0x53372a._0xe5c764,_0x4c7dfb-0x55,_0x35bd0e);}_0xc6e376[_0x2ebc14(0x540,_0x5786fe._0x3e945,_0x5786fe._0x207e6a,0x661)](_0x2ebc14(_0x5786fe._0x578ae4,0x99d,_0x5786fe._0x36bbb3,0x673),_0x4bc2b4)[_0x527eed(_0x5786fe._0xd68411,_0x5786fe._0x1e1654,0x88b,_0x5786fe._0x4c3ba1)](()=>{});})[_0x5b6c44(0x4f8,_0x115acf._0x127958,0x407,0x47f)](()=>{}));},[_0xc6e376]);return{'handleUpArrow':_0x43cb06,'handleDownArrow':_0x2c47a8,'addMessage':_0xd696ea};};import{forwardRef as _0x3791ec,useImperativeHandle as _0x1b3759,useRef as _0x5dd26c}from'react';import{Box as _0x198b86,Text as _0xa95b4b}from'ink';import{useState as _0x49f744,useEffect as _0x5e159c,useRef as _0x2f6ac8,useImperativeHandle as _0x1c40dd,forwardRef as _0xa0354b}from'react';import{Box as _0x3f0ffe,Text as _0x11e343}from'ink';import{jsx as _0x2c32db,jsxs as _0x51f989}from'react/jsx-runtime';var Vm=({isSelected:_0x221870,label:_0xa98dcf})=>{const _0x167801={_0x11c86a:0x72,_0x590597:0x1ca,_0x40d566:0x1c3,_0x3d5c46:0x877,_0x16dfa1:0x81d,_0xbd5877:0x9f4,_0x4412d4:0x90f},_0x2582e9={_0x41f63a:0x1f3,_0x360a37:0x16b,_0x5dd461:0x4cf},_0x3d868c={_0xfc9fe4:0x46,_0x41457d:0xcf};let {theme:_0x2a8dd0}=F();function _0x14a549(_0x4be14f,_0x17d8f8,_0x1682cf,_0x35f016){return _0x7f0a6b(_0x4be14f-_0x3d868c._0xfc9fe4,_0x1682cf-0x23,_0x35f016,_0x35f016-_0x3d868c._0x41457d);}function _0x2cfb6e(_0x58deaf,_0x45dc78,_0x3aeafc,_0x349c1b){return _0x5318c5(_0x58deaf-_0x2582e9._0x41f63a,_0x349c1b,_0x3aeafc-_0x2582e9._0x360a37,_0x45dc78-_0x2582e9._0x5dd461);}return _0x2c32db(_0x11e343,{'color':_0x221870?_0x2a8dd0[_0x14a549(_0x167801._0x11c86a,_0x167801._0x590597,_0x167801._0x40d566,0x211)][_0x2cfb6e(_0x167801._0x3d5c46,_0x167801._0x16dfa1,_0x167801._0xbd5877,_0x167801._0x4412d4)]:void 0x0,'children':_0xa98dcf});},Wm=({isSelected:_0xe2c52b})=>_0x2c32db(_0x3f0ffe,{'children':_0x2c32db(_0x11e343,{'children':_0xe2c52b?'❯\x20':'\x20\x20'})}),Et=_0xa0354b(function({items:_0x1b1440=[],limit:_0x5e363f,initialIndex:_0x3c89be=0x0,enableRotation:_0x5eeb5e=!0x0,focus:_0x40c6d4=!0x0,itemComponent:_0x29e816=Vm,indicatorComponent:_0x3003a8=Wm,showScrollIndicators:_0x4967ad=!0x0,onSelect:_0x2cf593,onHighlight:_0x1f8f84,onNavigate:_0x3b2120},_0x2ec7b9){const _0x3f532d={_0x19bf11:0x7c0,_0x18f35b:0x5cc,_0x4387aa:0x567,_0x4f0e88:0x1a8,_0x3c6d92:0x3bd,_0x5322f7:0x7c5,_0x4b274a:0x631,_0x5f34b7:0x53d,_0x55ab56:0x67a,_0x1e5c8d:0x530,_0x3b1dc7:0x595,_0x2decd0:0x3aa,_0x1b5540:0x474,_0x39ea58:0x546,_0x23dc4d:0x3c7,_0x3f1c28:0x570,_0x8206b8:0x4c4,_0x129849:0x7a2,_0x31dce4:0x596,_0x3b1a49:0x7a5,_0x189f05:0x7fc,_0x30ce50:0x67d,_0x46e8f2:0x4d6,_0x496d8c:0x5eb,_0x1423ad:0x3fc,_0x1b1de1:0x4ad,_0x41db59:0x515},_0x2400ea={_0x1d29b9:0x90a,_0xf78ddf:0x861,_0x230269:0x724,_0x28994c:0x39d},_0x4f3ef7={_0x4309b5:0x66,_0x5d9852:0x12c,_0x1f0314:0x27a},_0x1cbbe8={_0x120c14:0x160},_0x3eb5a8={_0x1fa81a:0x67b,_0xe765a:0x607,_0x4bddb1:0x650,_0x5597c3:0x5ce,_0x2e55d0:0x5fd,_0x2d4fd5:0x398,_0x4c5e1c:0x351,_0xbad3e9:0x536,_0x47e316:0x3c2,_0x39e55f:0x4cd,_0x5db6d5:0x803,_0xb452a4:0x5f6,_0x8695ab:0x582,_0xda2aed:0x27a},_0x176607={_0x397332:0xce},_0x4bff2a={_0x58b3a4:0x227},_0x4a9372={_0x25d7df:0xa7,_0x2c7995:0x1e6,_0x26e934:0x298,_0x366c42:0x7a},_0xe5c095={_0x5a6c2e:0x51,_0x375105:0x10d,_0x57b62e:0x14d,_0x23b6ac:0xd2,_0x41b768:0x4b4,_0x38be0e:0x4e5,_0x28e561:0x4f},_0x5bd0e2={_0x23406c:0x24},_0x251d94={_0x17533a:0x178,_0xf30beb:0x86};function _0x510984(_0x154b57,_0x160a42,_0x7255c8,_0x3dab7c){return _0x5318c5(_0x154b57-_0x251d94._0x17533a,_0x7255c8,_0x7255c8-_0x251d94._0xf30beb,_0x160a42-0x433);}let [_0xe9277d,_0x505d2a]=_0x49f744(_0x3c89be),[_0x50add9,_0x5a3e16]=_0x49f744(0x0),_0x5bea7f=_0x2f6ac8(Rt()),_0x28a690=typeof _0x5e363f==_0x2aa728(_0x3f532d._0x19bf11,0x409,_0x3f532d._0x18f35b,0x589)&&_0x5e363f>0x0&&_0x1b1440[_0x2aa728(0x46a,_0x3f532d._0x4387aa,0x38f,0x3bd)]>_0x5e363f;if(_0x1c40dd(_0x2ec7b9,()=>({'getSelectedIndex':()=>_0xe9277d,'setSelectedIndex':_0x4010eb=>_0x505d2a(_0x4010eb)})),_0x5e159c(()=>{function _0x2306e9(_0x336eef,_0x512cea,_0x4213e9,_0x19a594){return _0x510984(_0x336eef-0x10a,_0x512cea- -0x245,_0x4213e9,_0x19a594-0x17c);}function _0x44e185(_0x413395,_0x5aab22,_0x20d6d5,_0x53125e){return _0x2aa728(_0x413395-_0x5bd0e2._0x23406c,_0x20d6d5,_0x20d6d5-0x17e,_0x413395- -0x36c);}_0xe9277d>=_0x1b1440[_0x44e185(_0xe5c095._0x5a6c2e,0x33,-_0xe5c095._0x375105,0x63)]&&_0x1b1440[_0x44e185(0x51,-0xdc,-_0xe5c095._0x57b62e,-_0xe5c095._0x23b6ac)]>0x0&&_0x505d2a(Math[_0x2306e9(_0xe5c095._0x41b768,0x3a6,_0xe5c095._0x38be0e,0x1c0)](0x0,_0x1b1440[_0x44e185(0x51,_0xe5c095._0x28e561,0x38,-0x145)]-0x1));},[_0x1b1440[_0x2aa728(0x346,_0x3f532d._0x4f0e88,0x48c,_0x3f532d._0x3c6d92)],_0xe9277d]),_0x5e159c(()=>{const _0x54c65a={_0x4443f1:0x189};function _0x14ccdf(_0x177991,_0x31d8b9,_0x133456,_0x2a1805){return _0x510984(_0x177991-_0x54c65a._0x4443f1,_0x177991- -0x4ee,_0x2a1805,_0x2a1805-0x9b);}_0x1f8f84&&_0x1b1440[_0x14ccdf(_0x4a9372._0x25d7df,_0x4a9372._0x2c7995,_0x4a9372._0x26e934,_0x4a9372._0x366c42)]>0x0&&_0x1b1440[_0xe9277d]&&_0x1f8f84(_0x1b1440[_0xe9277d]);},[_0xe9277d,_0x1b1440,_0x1f8f84]),_0x5e159c(()=>{_0x28a690&&_0x5e363f!==void 0x0&&(_0xe9277d<_0x50add9?_0x5a3e16(_0xe9277d):_0xe9277d>=_0x50add9+_0x5e363f&&_0x5a3e16(_0xe9277d-_0x5e363f+0x1));},[_0xe9277d,_0x50add9,_0x5e363f,_0x28a690]),W((_0x4a2d23,_0x53b484)=>{function _0x34ee8c(_0x24c8d2,_0x83588f,_0x1bd2f6,_0x4e8f72){return _0x2aa728(_0x24c8d2-0x13a,_0x1bd2f6,_0x1bd2f6-0x7a,_0x4e8f72-_0x4bff2a._0x58b3a4);}let _0x429bd3=Pt(_0x4a2d23,_0x5bea7f[_0x34ee8c(0x77e,_0x3eb5a8._0x1fa81a,0x6a9,0x6af)]);function _0x2b9dac(_0x1451bd,_0xc1e660,_0x40e640,_0x53e6b9){return _0x2aa728(_0x1451bd-0x98,_0x40e640,_0x40e640-_0x176607._0x397332,_0xc1e660-0x5);}if(_0x5bea7f['current']=_0x429bd3[_0x34ee8c(0x7e4,_0x3eb5a8._0xe765a,0x723,_0x3eb5a8._0x4bddb1)],!_0x429bd3[_0x34ee8c(_0x3eb5a8._0x5597c3,0x56a,0x501,_0x3eb5a8._0x2e55d0)]){if(_0x53b484[_0x2b9dac(0x405,_0x3eb5a8._0x2d4fd5,_0x3eb5a8._0x4c5e1c,_0x3eb5a8._0xbad3e9)]){_0x1b1440[_0x2b9dac(0x33d,_0x3eb5a8._0x47e316,0x53e,0x577)]>0x0&&_0x1b1440[_0xe9277d]&&_0x2cf593&&_0x2cf593(_0x1b1440[_0xe9277d]);return;}if(_0x53b484['upArrow']||_0x4a2d23==='k'&&!_0x53b484['ctrl']&&!_0x53b484[_0x34ee8c(0x28d,_0x3eb5a8._0x39e55f,0x682,0x49c)]){if(_0x3b2120?.('up'))return;_0x505d2a(_0x1b2089=>_0x5eeb5e?_0x1b2089===0x0?_0x1b1440[_0x34ee8c(0x65d,0x583,0x3c3,0x5e4)]-0x1:_0x1b2089-0x1:Math[_0x2b9dac(0x279,0x418,0x47f,0x47f)](0x0,_0x1b2089-0x1));return;}if(_0x53b484[_0x2b9dac(_0x3eb5a8._0x5db6d5,_0x3eb5a8._0xb452a4,0x793,_0x3eb5a8._0x8695ab)]||_0x4a2d23==='j'&&!_0x53b484['ctrl']&&!_0x53b484[_0x2b9dac(0x2ed,_0x3eb5a8._0xda2aed,0x2ba,0x3cc)]){if(_0x3b2120?.('down'))return;_0x505d2a(_0x24973e=>_0x5eeb5e?_0x24973e===_0x1b1440[_0x2b9dac(0x3aa,0x3c2,0x4a4,0x3cf)]-0x1?0x0:_0x24973e+0x1:Math[_0x34ee8c(0x6ad,0x525,0x6df,0x6bd)](_0x1b1440[_0x2b9dac(0x41c,0x3c2,0x270,0x441)]-0x1,_0x24973e+0x1));return;}}},{'isActive':_0x40c6d4}),_0x1b1440['length']===0x0)return _0x2c32db(_0x3f0ffe,{});let _0x3525ae=_0x28a690&&_0x5e363f!==void 0x0?_0x50add9:0x0,_0x4576ac=_0x28a690&&_0x5e363f!==void 0x0?Math[_0x510984(0x559,0x66e,_0x3f532d._0x5322f7,_0x3f532d._0x4b274a)](_0x50add9+_0x5e363f,_0x1b1440[_0x510984(_0x3f532d._0x5f34b7,0x595,_0x3f532d._0x55ab56,_0x3f532d._0x1e5c8d)]):_0x1b1440[_0x510984(0x739,_0x3f532d._0x3b1dc7,0x62c,0x492)],_0x31fae8=_0x1b1440[_0x2aa728(_0x3f532d._0x2decd0,_0x3f532d._0x1b5540,_0x3f532d._0x39ea58,_0x3f532d._0x23dc4d)](_0x3525ae,_0x4576ac),_0xbbd98a=_0x50add9>0x0,_0x1ed56d=_0x28a690&&_0x5e363f!==void 0x0&&_0x50add9+_0x5e363f<_0x1b1440[_0x510984(_0x3f532d._0x3f1c28,0x595,0x3c6,_0x3f532d._0x8206b8)];function _0x2aa728(_0x192497,_0x247a89,_0x2a4002,_0x58a9ba){return _0x7f0a6b(_0x192497-_0x1cbbe8._0x120c14,_0x58a9ba-0x183,_0x247a89,_0x58a9ba-0x14d);}return _0x51f989(_0x3f0ffe,{'flexDirection':_0x2aa728(0x668,0x72c,_0x3f532d._0x129849,_0x3f532d._0x31dce4),'flexShrink':0x0,'children':[_0x4967ad&&_0x2c32db(_0x3f0ffe,{'marginLeft':0x1,'height':0x1,'children':_0xbbd98a?_0x51f989(_0x11e343,{'dimColor':!0x0,'children':['\x20▲\x20',_0x50add9,_0x510984(_0x3f532d._0x3b1a49,0x6ed,0x672,0x540)]}):null}),_0x31fae8[_0x510984(_0x3f532d._0x189f05,0x669,_0x3f532d._0x30ce50,0x59c)]((_0x1d627e,_0x19efab)=>{function _0x440f99(_0x539c61,_0x3e033d,_0xdb3923,_0x112ff8){return _0x2aa728(_0x539c61-_0x4f3ef7._0x4309b5,_0xdb3923,_0xdb3923-_0x4f3ef7._0x5d9852,_0x112ff8-_0x4f3ef7._0x1f0314);}let _0x2ed134=_0x3525ae+_0x19efab,_0x38a5ec=_0x2ed134===_0xe9277d,_0x3652fe=_0x1d627e[_0x1511cc(_0x2400ea._0x1d29b9,_0x2400ea._0xf78ddf,_0x2400ea._0x230269,0x822)]||String(_0x2ed134);function _0x1511cc(_0x4422a6,_0x4538be,_0x120359,_0x335851){return _0x510984(_0x4422a6-0x45,_0x120359- -0x103,_0x4538be,_0x335851-0x64);}return _0x51f989(_0x3f0ffe,{'children':[_0x2c32db(_0x3003a8,{'isSelected':_0x40c6d4&&_0x38a5ec}),_0x2c32db(_0x29e816,{'isSelected':_0x40c6d4&&_0x38a5ec,'label':_0x1d627e['label'],'value':_0x1d627e[_0x440f99(0x489,0x631,_0x2400ea._0x28994c,0x544)]})]},_0x3652fe);}),_0x4967ad&&_0x2c32db(_0x3f0ffe,{'marginLeft':0x1,'height':0x1,'children':_0x1ed56d&&_0x5e363f!==void 0x0?_0x51f989(_0x11e343,{'dimColor':!0x0,'children':[_0x2aa728(_0x3f532d._0x46e8f2,_0x3f532d._0x496d8c,0x46b,_0x3f532d._0x1423ad),_0x1b1440['length']-_0x50add9-_0x5e363f,_0x2aa728(_0x3f532d._0x1b1de1,0x52e,0x668,_0x3f532d._0x41db59)]}):null})]});}),xt=Et;import{jsx as _0x5eec74,jsxs as _0x42c17a}from'react/jsx-runtime';var In=_0x3791ec(({items:_0x3c490b,width:_0x1d54d9,focus:_0xcabbc7=!0x1,onHighlight:_0x186d44},_0x4f645e)=>{const _0x2d3294={_0x27f9f5:0x2d6,_0x3149b0:0x429,_0x3109a4:0x28e,_0x50994e:0x180,_0x1d77ad:0x291,_0x1ac5cc:0x482,_0x47f410:0x1f8,_0xed234d:0x284,_0x4de341:0x62a,_0x2f98f2:0x3df,_0x1cebc6:0x3e3,_0xe26e7e:0x72,_0x25f15b:0xb5,_0x2ec27b:0x29a},_0x1fcac7={_0x4b0a62:0x46,_0x1f2f02:0x1de,_0x446ed3:0xad},_0x36eaf8={_0x4ba84f:0x102,_0x44946a:0xa0};function _0x27d537(_0x3c66f6,_0x29761d,_0x4948a4,_0xf8bb18){return _0x5318c5(_0x3c66f6-_0x36eaf8._0x4ba84f,_0x29761d,_0x4948a4-0x18f,_0x3c66f6-_0x36eaf8._0x44946a);}function _0x1cace8(_0x1da7a5,_0x72fe39,_0x4c1f68,_0x50a6c0){return _0x5318c5(_0x1da7a5-_0x1fcac7._0x4b0a62,_0x50a6c0,_0x4c1f68-_0x1fcac7._0x1f2f02,_0x1da7a5- -_0x1fcac7._0x446ed3);}let {theme:_0x41276b}=F(),_0x3378bd=_0x5dd26c(null);if(_0x1b3759(_0x4f645e,()=>({'getSelectedIndex':()=>_0x3378bd['current']?.[_0x27d537(0x7c,0x68,-0x7c,0x1e1)]()??0x0,'setSelectedIndex':_0x50933c=>_0x3378bd[_0x27d537(0x2cd,0x484,0x424,0x45e)]?.[_0x27d537(0x3a5,0x410,0x481,0x4f6)](_0x50933c),'getSelectedItem':()=>_0x3c490b[_0x3378bd[_0x1cace8(0x180,0xef,0x2b9,0x374)]?.[_0x27d537(0x7c,0x1e0,0x1c8,0x182)]()??0x0]})),_0x3c490b[_0x1cace8(0xb5,0x9e,0x94,0x25)]===0x0)return null;let _0x245440=_0x3c490b[_0x27d537(_0x2d3294._0x27f9f5,0x2c7,_0x2d3294._0x3149b0,0x3fa)](_0x42eb6b=>({'key':_0x42eb6b['value'],'label':_0x42eb6b['label'],'value':_0x42eb6b}));return _0x42c17a(_0x198b86,{'flexDirection':_0x1cace8(_0x2d3294._0x3109a4,_0x2d3294._0x50994e,_0x2d3294._0x1d77ad,_0x2d3294._0x1ac5cc),'width':_0x1d54d9,'children':[_0x5eec74(_0x198b86,{'backgroundColor':_0x41276b[_0x27d537(0x168,_0x2d3294._0x47f410,0x34f,_0x2d3294._0xed234d)]['accent'],'children':_0x42c17a(_0xa95b4b,{'color':_0x41276b['tokens'][_0x27d537(0x496,_0x2d3294._0x4de341,_0x2d3294._0x2f98f2,_0x2d3294._0x1cebc6)],'bold':!0x0,'children':['\x20',_0x1cace8(-_0x2d3294._0xe26e7e,0x18b,0xa9,-0x148),_0x3c490b[_0x1cace8(_0x2d3294._0x25f15b,_0x2d3294._0x2ec27b,-0x8e,-0x10f)],')\x20-\x20Use\x20↑↓\x20to\x20navigate,\x20Enter\x20to\x20select,\x20Esc\x20to\x20cancel']})}),_0x5eec74(Et,{'ref':_0x3378bd,'items':_0x245440,'limit':0xa,'focus':_0xcabbc7,'enableRotation':!0x1,'showScrollIndicators':!0x0,'onHighlight':_0x5359ea=>_0x186d44?.(_0x5359ea[_0x27d537(0x10f,0x10f,0x1c9,0x22f)]),'itemComponent':({isSelected:_0x304277,label:_0x500fa5})=>_0x5eec74(_0xa95b4b,{'color':_0x304277?_0x41276b[_0x1cace8(0x48,0x1b4,0x66,-0x14)]?.['selectedItem']||_0x41276b[_0x1cace8(0x1b,0x1c0,0x151,-0x21c)][_0x27d537(0x3ee,0x557,0x254,0x52a)]:_0x41276b[_0x27d537(0x195,0x10b,0x31b,0x4a)]?.[_0x27d537(0x490,0x6a7,0x438,0x5d5)]||_0x1cace8(0x32b,0x495,0x31a,0x176),'bold':_0x304277,'children':_0x500fa5}),'indicatorComponent':({isSelected:_0x375c1e})=>_0x5eec74(_0xa95b4b,{'children':_0x375c1e?'❯\x20':'\x20\x20'})})]});});import{jsx as _0x1a040e,jsxs as _0x3a7250}from'react/jsx-runtime';var op=_0xef7071(({busy:_0x12ed72,showToolApproval:_0x19302a=!0x1,useAbsoluteMenu:_0x38faf1=!0x1,commandItems:_0x280cc8,vimModeEnabled:_0x31ed95=!0x1,memory:_0x5c1c5f,onInputChanged:_0x2a4aa1,onInputSubmit:_0x258576,onVimModeChanged:_0x213f87},_0x4163f9)=>{const _0x1cc65d={_0x65da6e:0x245,_0x421500:0x572,_0x14a2e8:0x251,_0x5aa8f9:0x2a1,_0x41e68c:0x3a8,_0x326600:0x6f4,_0x7ff3ae:0x6c2,_0x313d20:0x4bb,_0x103769:0x6ed,_0x17d1a6:0x5e0,_0x4431af:0x36d,_0x3100f1:0x8b2,_0x1684de:0x85c,_0x240904:0x799,_0x4e4fff:0x3a3,_0x1a2f02:0x3ef,_0x284cad:0x78f,_0x34639c:0x5a9,_0x35ecfd:0x748,_0x5da958:0x5ef,_0x2d91c5:0x6e9,_0x4dbef7:0x863},_0x332b00={_0x4eb145:0x8e4,_0x2b4af0:0x7d4},_0x530ce4={_0x4dbb09:0x11f,_0x5490de:0x1dc,_0x1806de:0x62},_0x43da72={_0x35d34d:0x35,_0x58cff8:0x565,_0x728187:0x1ea,_0x419605:0x2d8,_0x1e6140:0x2ad,_0xc18c8a:0x196,_0x1c8712:0x20e,_0x9039f2:0x14f,_0xc0fb44:0x2a2},_0x1745ab={_0x51ebcc:0x348,_0x2b045a:0x4d2,_0x43e5fe:0x461,_0x56e439:0x37a},_0x248446={_0x2b962c:0x1a6,_0x35b871:0x1a7,_0x49e30d:0xed},_0x2d15ba={_0x3d46ef:0x523},_0xbf0344={_0x125b0b:0x1ef},_0x116cbd={_0x13a9fc:0x12e},_0x411855={_0x513000:0x20};let {theme:_0x400c8c}=F(),[_0x5125fa,_0x207e53]=_0x455c53(''),[_0x4d0f24,_0x2ca4f8]=_0x455c53(0x0),[_0x17fafa,_0x7a9afa]=_0x455c53(_0xc5bc4a(_0x1cc65d._0x65da6e,_0x1cc65d._0x421500,0x347,0x43d)),{isFocused:_0x3a0d59}=Ne({'autoFocus':!0x0,'active':!0x0}),_0x2f43ad=_0x130b8a(null),_0x248260=_0x5125fa[_0xc5bc4a(_0x1cc65d._0x14a2e8,0x481,_0x1cc65d._0x5aa8f9,_0x1cc65d._0x41e68c)]('/'),_0x4dfa20=_0x153ff5(()=>{if(!_0x248260)return[];function _0x2f7951(_0x50490d,_0x33994c,_0x128e9a,_0x37a7b1){return _0x2069ea(_0x128e9a- -0x17f,_0x33994c-_0x411855._0x513000,_0x50490d,_0x37a7b1-0x189);}function _0x931251(_0x2416c4,_0xe1f9c7,_0x5161bf,_0x3a62a1){return _0x2069ea(_0x2416c4- -0x138,_0xe1f9c7-_0x116cbd._0x13a9fc,_0x5161bf,_0x3a62a1-0xab);}let _0x26d748=_0x5125fa['split'](/\s+/)[0x0];return _0x280cc8['filter'](_0x78f943=>_0x78f943[_0x931251(0x45a,0x5a8,0x259,0x3fd)][_0x2f7951(0x1bf,0x378,0x3e3,0x381)]()[_0x931251(0x3c2,0x3c9,0x4e5,0x267)](_0x26d748['toLowerCase']())||_0x78f943[_0x2f7951(0x57b,0x6f7,0x4e2,0x6d8)][_0x2f7951(0x2b9,0x35c,0x3e3,0x226)]()['includes'](_0x26d748[_0x931251(0x42a,0x3c7,0x4e8,0x3df)]()));},[_0x5125fa,_0x280cc8,_0x248260]);_0x26aef1(()=>{_0x2f43ad['current']?.['setSelectedIndex'](0x0);},[_0x4dfa20[_0xc5bc4a(_0x1cc65d._0x326600,_0x1cc65d._0x7ff3ae,0x5fd,_0x1cc65d._0x313d20)]]);function _0xc5bc4a(_0x4371bb,_0xf03953,_0x4cb5ba,_0x3c45e9){return _0x7f0a6b(_0x4371bb-_0xbf0344._0x125b0b,_0x3c45e9-0x281,_0x4cb5ba,_0x3c45e9-0x18a);}let _0xb0d144=_0x32a5f1(_0x33f612=>{_0x207e53(_0x33f612),_0x2ca4f8(_0x1b5afb=>_0x1b5afb+0x1),_0x2a4aa1?.(_0x33f612);},[_0x2a4aa1]),{handleUpArrow:_0x32c05f,handleDownArrow:_0x3b7dba,addMessage:_0x10ef14}=la({'memory':_0x5c1c5f,'currentInput':_0x5125fa,'onRecall':_0xb0d144});function _0x2069ea(_0x372f4e,_0x1f78bf,_0xac88c1,_0x4ad869){return _0x5318c5(_0x372f4e-0x2d,_0xac88c1,_0xac88c1-0x36,_0x372f4e-_0x2d15ba._0x3d46ef);}_0x4ac063(_0x4163f9,()=>({'clear':()=>{_0x207e53(''),_0x2a4aa1?.('');},'getValue':()=>_0x5125fa,'setValue':_0x10995c=>{_0x207e53(_0x10995c),_0x2a4aa1?.(_0x10995c);},'setValueForRecall':_0x49dc56=>{_0x207e53(_0x49dc56),_0x2ca4f8(_0x8fd005=>_0x8fd005+0x1),_0x2a4aa1?.(_0x49dc56);},'appendValue':_0x4de2bc=>{_0x207e53(_0x516cc3=>{let _0x128fde=_0x516cc3+_0x4de2bc;return _0x2a4aa1?.(_0x128fde),_0x128fde;}),_0x2ca4f8(_0x59b38e=>_0x59b38e+0x1);},'closeMenu':()=>{_0x207e53('');}}),[_0x2a4aa1,_0x5125fa]),_0x26aef1(()=>{function _0x4600fa(_0x305e83,_0x28b5b7,_0x103970,_0x17d20e){return _0xc5bc4a(_0x305e83-0x1ec,_0x28b5b7-0x61,_0x17d20e,_0x28b5b7- -0x18f);}function _0x41a558(_0x7db2e1,_0x51dbe9,_0x44f502,_0x10b1d4){return _0x2069ea(_0x51dbe9- -_0x248446._0x2b962c,_0x51dbe9-_0x248446._0x35b871,_0x10b1d4,_0x10b1d4-_0x248446._0x49e30d);}_0x7a9afa(_0x31ed95?_0x4600fa(0x412,0x381,_0x1745ab._0x51ebcc,_0x1745ab._0x2b045a):_0x41a558(0x47d,_0x1745ab._0x43e5fe,_0x1745ab._0x56e439,0x5f9));},[_0x31ed95]);let _0x525b70=_0x29df38=>{_0x207e53(_0x29df38),_0x2a4aa1?.(_0x29df38);},_0x782487=_0x32a5f1(_0x2aa561=>{_0x7a9afa(_0x2aa561),_0x213f87?.(_0x2aa561);},[_0x213f87]),_0x46d920=_0x32a5f1(async _0x22597f=>{_0x207e53(''),_0x2a4aa1?.(''),await _0x258576?.(_0x22597f);},[_0x2a4aa1,_0x258576]),_0x3f5199=_0x32a5f1(async _0x3ade02=>{const _0x21bf65={_0x11ca3b:0x4cc,_0x8779e5:0x69};function _0x304619(_0x2d4630,_0x2ca6fc,_0x226603,_0x5988e9){return _0x2069ea(_0x226603- -0x731,_0x2ca6fc-0xf9,_0x2ca6fc,_0x5988e9-0x54);}let _0x59083c=_0x3ade02['trim']();if(_0x248260&&_0x4dfa20[_0x4816b6(0x50,-_0x43da72._0x35d34d,0x2b4,0x1b9)]>0x0){let _0x5aa636=_0x2f43ad['current']?.[_0x4816b6(_0x43da72._0x58cff8,0x4bf,0x44d,0x427)]();if(_0x5aa636){let _0xf1cdb8=_0x59083c['split'](/\s+/)[_0x4816b6(_0x43da72._0x728187,_0x43da72._0x419605,0x328,0x1c3)](0x1)['join']('\x20')['trim'](),_0x1989b1=_0xf1cdb8?_0x5aa636['value']+'\x20'+_0xf1cdb8:_0x5aa636['value'];await _0x46d920(_0x1989b1);return;}}function _0x4816b6(_0xa02f06,_0x255b4b,_0x5b69a9,_0x174610){return _0x2069ea(_0x174610- -_0x21bf65._0x11ca3b,_0x255b4b-_0x21bf65._0x8779e5,_0x5b69a9,_0x174610-0x8d);}if(_0x59083c[_0x304619(-0x3bb,-0x271,-0x1bf,-_0x43da72._0x1e6140)]('/')&&_0x280cc8[_0x4816b6(_0x43da72._0xc18c8a,_0x43da72._0x1c8712,-_0x43da72._0x9039f2,0x76)](_0x27fae4=>_0x27fae4[_0x304619(-0x39e,-0x1d0,-0x19f,-0x212)]===_0x59083c[_0x4816b6(0x542,0x48e,0x1c1,0x345)](/\s+/)[0x0])){await _0x46d920(_0x59083c);return;}_0x59083c&&!_0x59083c[_0x304619(-0x108,-0x349,-0x1bf,-_0x43da72._0xc0fb44)]('/')&&_0x10ef14(_0x59083c),_0x207e53(''),_0x2a4aa1?.(''),await _0x258576?.(_0x3ade02);},[_0x248260,_0x4dfa20,_0x280cc8,_0x46d920,_0x10ef14,_0x2a4aa1,_0x258576]);W((_0x4be925,_0x294d64)=>{function _0x553837(_0xc74fde,_0xa12b5c,_0x5a934c,_0x32186b){return _0xc5bc4a(_0xc74fde-_0x530ce4._0x4dbb09,_0xa12b5c-_0x530ce4._0x5490de,_0x32186b,_0xa12b5c-_0x530ce4._0x1806de);}_0x294d64[_0x553837(_0x332b00._0x4eb145,_0x332b00._0x2b4af0,0x95e,0x7d5)]&&_0x248260&&(_0x207e53(''),_0x2a4aa1?.(''));},{'isActive':_0x3a0d59&&!_0x19302a});let _0xc2cb49=_0x248260?void 0x0:_0x32c05f,_0x33b21a=_0x248260?void 0x0:_0x3b7dba;return _0x3a7250(_0x4d0d78,{'flexDirection':'column','borderStyle':_0x2069ea(_0x1cc65d._0x103769,_0x1cc65d._0x17d1a6,0x870,0x701),'borderBottomDimColor':!0x0,'borderTop':!0x1,'borderBottom':!0x0,'borderLeft':!0x1,'borderRight':!0x1,'position':_0x2069ea(0x5a6,_0x1cc65d._0x4431af,0x5a3,0x485),'children':[_0x248260&&_0x4dfa20['length']>0x0&&_0x1a040e(In,{'ref':_0x2f43ad,'items':_0x4dfa20,'width':'100%','focus':_0x3a0d59&&!_0x19302a}),_0x3a7250(_0x4d0d78,{'flexShrink':0x0,'minWidth':0x1,'children':[_0x12ed72?_0x1a040e(_0x56a085,{'type':_0x2069ea(_0x1cc65d._0x3100f1,_0x1cc65d._0x1684de,_0x1cc65d._0x240904,0x922)}):_0x1a040e(_0xd5d828,{'color':_0x400c8c[_0xc5bc4a(_0x1cc65d._0x4e4fff,_0x1cc65d._0x1a2f02,_0x1cc65d._0x284cad,_0x1cc65d._0x34639c)][_0xc5bc4a(0x660,0x542,_0x1cc65d._0x35ecfd,_0x1cc65d._0x5da958)],'bold':!0x0,'children':_0x3a0d59?'❯':'\x20'}),_0x1a040e(_0x4d0d78,{'minWidth':0x1}),_0x1a040e(_0x4d0d78,{'flexGrow':0x1,'children':_0x1a040e(we,{'value':_0x5125fa,'onChange':_0x525b70,'onSubmit':_0x3f5199,'placeholder':_0x2069ea(_0x1cc65d._0x2d91c5,0x91d,_0x1cc65d._0x4dbef7,0x7c7),'focus':_0x3a0d59&&!_0x19302a,'vimModeEnabled':_0x31ed95,'onVimModeChange':_0x782487,'onUpArrow':_0xc2cb49,'onDownArrow':_0x33b21a},_0x4d0f24)})]})]});}),Rn=_0x3049fa['memo'](op);import{jsx as _0x2370e6,jsxs as _0x365b8c}from'react/jsx-runtime';var lp=_0x3c6bf6(function({busy:_0x487216=!0x1,messageQueueLength:_0x4553db=0x0,vimModeEnabled:_0x8a638=!0x1,hasActiveCommand:_0x3f2b03=!0x1,memory:_0x29335f,useAbsoluteMenu:_0x1d6a6a=!0x1,abortRef:_0x37f80f,onNotification:_0x2a0aaa,onBusyChange:_0x36b7af,onInputChanged:_0x168808,onInputSubmit:_0x4ca245,onVimModeToggle:_0x156b2a,onVimModeChanged:_0x328faa},_0x555761){const _0x5f3cf3={_0x573c9b:0x642,_0x4579e9:0x55c,_0x1a21bf:0x75b,_0x2f3366:0x73a,_0x50aa0a:0x6b0,_0x57d9c3:0x88d,_0x1705c1:0x6aa,_0x88077c:0x699,_0x140826:0x731,_0x34fe64:0x28e,_0x2cc736:0xc9,_0x2c66ae:0x5c8,_0xf3ac69:0x2a2,_0x578570:0x2fd,_0x50ec29:0x501,_0x51c794:0x4bf,_0x40510:0x43a,_0x18a674:0x453,_0x46df59:0x3a3,_0x6d7672:0x582,_0x2c05c7:0x7a2,_0x3c1eea:0x529,_0x50f846:0x4e0,_0x5b22f4:0x410,_0x532a78:0x499,_0x262a34:0x4ba,_0x183198:0x3ff,_0x5e603f:0x4fa,_0x26cf99:0x50f,_0x46dc20:0x337,_0x1781e5:0x32b},_0x499949={_0x88af80:0x6b,_0x4464d7:0xd8,_0x2ed150:0x337},_0xc301c2={_0x53d4c5:0x5da,_0x380ea9:0x585,_0x4050bc:0x437,_0x2d4a59:0x366,_0x2176d0:0x3f6,_0x58da39:0x728,_0x290a20:0x53b,_0x259da0:0x4e2,_0x1fde27:0x434,_0x4dc06e:0x5e8,_0x10f197:0x58d,_0x247e30:0x3df,_0x4a6b1c:0x466,_0x28c84f:0x4dc,_0x246609:0x346,_0x100d95:0x2e8,_0x3edea5:0x570,_0x4dfe91:0x4b8,_0x550f54:0x5f5,_0x25d22d:0x2fd,_0x55679c:0x2de,_0x4cfb15:0x6ca,_0x473c3b:0x3ed,_0x486974:0x41c,_0x555570:0x5fc,_0xde2af0:0x751,_0x394197:0x582,_0x87dc5c:0x707,_0x4a0e63:0x3ce,_0x25068b:0x515,_0x51d454:0x37a,_0x14fcb2:0x57e,_0x294908:0x2c8,_0x2bb927:0x445,_0x405bad:0x3d8,_0x2120ea:0x465,_0x52fca2:0x45a,_0x59438d:0x401,_0x1c1f89:0x392,_0x5cbf91:0x1ad,_0x4e00db:0x3c9,_0x3645f2:0x5c2,_0x185a28:0x56c,_0x4d0a43:0x612,_0x480cb5:0x34a,_0x4e8a2a:0x5f4,_0x53c792:0x4b8,_0x47daa9:0x65e,_0x393012:0x4b7,_0x4a3385:0x6b4,_0x4d3a20:0x696,_0x476ad7:0x7e8,_0x37c506:0x496,_0x2ca303:0x67f,_0x207dae:0x460,_0x27d6e9:0x409,_0x507b62:0x4b0,_0x55efd5:0x372,_0x3a1381:0x453,_0x1bcf00:0x598,_0x16603d:0x567,_0x239e99:0x6f3,_0x3a635e:0x668,_0x2a1d1d:0x4ec,_0x140d59:0x5c0,_0x5eea13:0x43d,_0x1e891e:0x43b,_0x416c67:0x53a,_0x417a25:0x3a3,_0x2f5208:0x58d,_0x477324:0x5b8,_0x18ce61:0x58d,_0x36d93c:0x4a8,_0x53f82f:0x58d,_0x34914a:0x331,_0x5a31a4:0x59f},_0x2945e1={_0x13bbcb:0x42d,_0x987488:0x3b,_0x50f01f:0x651,_0x4eb650:0x60f},_0x36f5f0={_0x36185a:0x6ec,_0x5b0f14:0x6fb},_0x43d2f9={_0x218cfd:0x1ef},_0xc36280={_0x477cdb:0x148,_0x2d9c2d:0x1c6},_0xd4363e={_0x30c29d:0x4b5,_0x37995a:0x8b,_0x487dea:0x28d,_0xe3901e:0x2a1,_0x2b2f15:0x33f,_0xdd069a:0x62f,_0x40746a:0x56b,_0x2c61a4:0x322,_0x1c610d:0x2fe,_0x4653e8:0x33d},_0x5c5fdb={_0x1200ec:0x29d},_0x1a3c40={_0x523291:0x9,_0x6c5375:0x3c};let {commands:_0x39f257}=nr(),{pendingApproval:_0x112377,toolApprovalMode:_0x2d65db,handleApprovalResponse:_0x55c809}=Re(),{theme:_0x5292bb}=F(),{altMode:_0x3100eb}=Oi(),_0x3589be=_0x307caf(_0xafc401(_0x5f3cf3._0x573c9b,_0x5f3cf3._0x4579e9,0x53c,_0x5f3cf3._0x1a21bf)),[_0x139165,_0x172dd1]=_0x51d9da([]),_0x3c6bb2=_0x307caf(!0x1),_0x5e0e89=_0x307caf(null);_0x495443(()=>{function _0x1046e5(_0x577ca4,_0x38bed2,_0x2812d9,_0x2b66db){return _0xafc401(_0x577ca4-0x86,_0x577ca4- -0x4da,_0x2812d9-0xd2,_0x38bed2);}if(!_0x487216&&_0x139165['length']>0x0&&_0x4ca245&&!_0x3c6bb2['current']){_0x3c6bb2['current']=!0x0;let [_0x52b800,..._0x550c10]=_0x139165;_0x172dd1(_0x550c10),_0x4ca245(_0x52b800)[_0x1046e5(-_0x1a3c40._0x523291,0x64,0x199,-_0x1a3c40._0x6c5375)](()=>{_0x3c6bb2['current']=!0x1;});}},[_0x487216,_0x139165,_0x4ca245]);let _0x3116ee=_0x1b4da2(async _0x171105=>{function _0xbec06f(_0x3606ff,_0x530c5f,_0xac1851,_0x3de8b3){return _0xafc401(_0x3606ff-0x12e,_0x3de8b3- -_0x5c5fdb._0x1200ec,_0xac1851-0x17c,_0x530c5f);}function _0x2affa1(_0x4664e0,_0x2ac071,_0x100eea,_0x37851e){return _0xafc401(_0x4664e0-0x1bb,_0x37851e-0x1e5,_0x100eea-0x75,_0x2ac071);}_0x171105[_0xbec06f(_0xd4363e._0x30c29d,_0xd4363e._0x37995a,_0xd4363e._0x487dea,_0xd4363e._0xe3901e)]()&&(_0x487216&&!_0x171105[_0x2affa1(0x6f0,_0xd4363e._0x2b2f15,_0xd4363e._0xdd069a,_0xd4363e._0x40746a)]('/')?(_0x172dd1(_0x5644f7=>[..._0x5644f7,_0x171105]),_0x2a0aaa?.(_0xbec06f(_0xd4363e._0x2c61a4,_0xd4363e._0x1c610d,_0xd4363e._0x4653e8,0x32a),0x3e8)):await _0x4ca245?.(_0x171105));},[_0x487216,_0x2a0aaa,_0x4ca245]);function _0x55d8a9(_0x130ab6,_0x5f265d,_0x38fde5,_0x4d9781){return _0x5318c5(_0x130ab6-0xbb,_0x130ab6,_0x38fde5-_0xc36280._0x477cdb,_0x5f265d-_0xc36280._0x2d9c2d);}W((_0x47f9dd,_0x2968f0)=>{const _0x3b725a={_0x10f31b:0x37,_0x45c6c1:0x114},_0x42ceba={_0x21a7f8:0x467,_0x24f443:0x67c},_0x21741d={_0x3b71a7:0x1c4,_0x3a9749:0x120,_0x152fae:0x162},_0x928a7a={_0x550a0a:0x287,_0x3cf7cb:0x45a,_0x24c74c:0x475},_0x554787={_0x1673d6:0x1,_0x51af45:0x110,_0x5c710c:0x85},_0x1d7ac1={_0x10067c:0xb3};function _0x2d5e55(_0x63d139,_0x5f2ec7,_0x4b62fc,_0xed4663){return _0xafc401(_0x63d139-_0x43d2f9._0x218cfd,_0x63d139- -0xac,_0x4b62fc-0xa1,_0xed4663);}function _0x46f969(_0xccf491,_0x35a96f,_0x275b7f,_0x4bf6af){return _0xafc401(_0xccf491-0x2,_0x275b7f-0x29,_0x275b7f-0x91,_0x35a96f);}if(_0x2968f0[_0x46f969(0x70b,0x7fd,0x779,0x6d5)]){if(_0x112377)return;if(_0x487216){if(!_0x37f80f||!_0x2a0aaa||!_0x36b7af)return;if(_0x3589be['current']===_0x46f969(_0xc301c2._0x53d4c5,0x679,_0xc301c2._0x380ea9,_0xc301c2._0x4050bc)){if(typeof _0x555761!='function'&&_0x555761?.[_0x46f969(0x5ec,_0xc301c2._0x2d4a59,0x58d,_0xc301c2._0x2176d0)]&&_0x555761[_0x46f969(_0xc301c2._0x58da39,0x732,0x58d,0x545)][_0x46f969(0x608,0x66c,_0xc301c2._0x290a20,_0xc301c2._0x259da0)]&&_0x555761[_0x46f969(_0xc301c2._0x1fde27,_0xc301c2._0x4dc06e,_0xc301c2._0x10f197,_0xc301c2._0x247e30)][_0x2d5e55(_0xc301c2._0x4a6b1c,0x2e9,_0xc301c2._0x28c84f,0x234)]()['trim']()!==''){_0x2a0aaa(_0x2d5e55(_0xc301c2._0x246609,_0xc301c2._0x100d95,0x516,_0xc301c2._0x3edea5),0x5dc),_0x3589be[_0x2d5e55(_0xc301c2._0x4dfe91,_0xc301c2._0x550f54,_0xc301c2._0x25d22d,_0xc301c2._0x55679c)]='armed-clear',_0x5e0e89[_0x46f969(_0xc301c2._0x4cfb15,_0xc301c2._0x473c3b,_0xc301c2._0x10f197,0x4ee)]&&clearTimeout(_0x5e0e89[_0x2d5e55(0x4b8,0x64f,_0xc301c2._0x486974,0x61e)]),_0x5e0e89[_0x46f969(_0xc301c2._0x555570,_0xc301c2._0xde2af0,0x58d,0x651)]=setTimeout(()=>{function _0x3be6db(_0x49a4b7,_0x48461a,_0x7696ef,_0x59a7f5){return _0x46f969(_0x49a4b7-_0x1d7ac1._0x10067c,_0x49a4b7,_0x48461a-0x4b,_0x59a7f5-0x11e);}function _0x587f92(_0x39c1bc,_0x1a6e0e,_0x1e2b71,_0x3e10e2){return _0x46f969(_0x39c1bc-_0x554787._0x1673d6,_0x1a6e0e,_0x1e2b71- -_0x554787._0x51af45,_0x3e10e2-_0x554787._0x5c710c);}_0x3589be[_0x587f92(_0x928a7a._0x550a0a,0x4fe,0x47d,_0x928a7a._0x3cf7cb)]=_0x587f92(0x42e,0x24f,_0x928a7a._0x24c74c,0x3e1),_0x5e0e89[_0x587f92(0x5f9,0x31f,0x47d,0x3a0)]=null;},0x5dc);return;}_0x2a0aaa(_0x2d5e55(_0xc301c2._0x394197,0x5cb,_0xc301c2._0x87dc5c,_0xc301c2._0x4a0e63),0x5dc),_0x3589be[_0x46f969(_0xc301c2._0x25068b,_0xc301c2._0x51d454,0x58d,_0xc301c2._0x14fcb2)]='armed-stop',_0x5e0e89['current']&&clearTimeout(_0x5e0e89[_0x2d5e55(0x4b8,_0xc301c2._0x294908,0x42e,0x40b)]),_0x5e0e89['current']=setTimeout(()=>{function _0x3cb90f(_0x37e39b,_0x40b0ca,_0x2f78f7,_0xf96520){return _0x2d5e55(_0x40b0ca-0x243,_0x40b0ca-0x8e,_0x2f78f7-0x157,_0x37e39b);}_0x3589be[_0x3cb90f(_0x36f5f0._0x36185a,_0x36f5f0._0x5b0f14,0x5cf,0x827)]='none',_0x5e0e89['current']=null;},0x5dc);return;}if(_0x3589be[_0x2d5e55(0x4b8,0x36d,_0xc301c2._0x2bb927,0x441)]===_0x46f969(0x4ab,0x2db,_0xc301c2._0x405bad,_0xc301c2._0x2120ea)){_0x2a0aaa('Input\x20cleared.\x20Press\x20ESC\x20again\x20to\x20stop\x20the\x20process',0x5dc),typeof _0x555761!='function'&&_0x555761?.[_0x46f969(_0xc301c2._0x52fca2,0x642,0x58d,0x401)]&&_0x555761[_0x46f969(_0xc301c2._0x59438d,_0xc301c2._0x1c1f89,0x58d,_0xc301c2._0x4050bc)][_0x46f969(_0xc301c2._0x5cbf91,0x379,_0xc301c2._0x4e00db,_0xc301c2._0x3645f2)](),_0x3589be[_0x2d5e55(_0xc301c2._0x4dfe91,_0xc301c2._0x185a28,0x48d,0x41d)]=_0x46f969(_0xc301c2._0x4d0a43,0x665,0x6aa,0x478),_0x5e0e89[_0x2d5e55(0x4b8,0x312,0x644,_0xc301c2._0x480cb5)]&&clearTimeout(_0x5e0e89[_0x2d5e55(_0xc301c2._0x4dfe91,_0xc301c2._0x4e8a2a,0x6ee,0x530)]),_0x5e0e89[_0x2d5e55(_0xc301c2._0x53c792,0x4c3,0x49d,_0xc301c2._0x47daa9)]=setTimeout(()=>{const _0x418e81={_0x4aa4e4:0xca,_0x783ed:0x151};function _0x14598d(_0x43900e,_0x504ce4,_0x24c76d,_0x540cd9){return _0x2d5e55(_0x43900e- -0x25e,_0x504ce4-_0x418e81._0x4aa4e4,_0x24c76d-_0x418e81._0x783ed,_0x24c76d);}function _0x42ca65(_0x3f51aa,_0x224761,_0x57aa1f,_0x1f50c2){return _0x2d5e55(_0x1f50c2-_0x21741d._0x3b71a7,_0x224761-_0x21741d._0x3a9749,_0x57aa1f-_0x21741d._0x152fae,_0x3f51aa);}_0x3589be['current']=_0x14598d(0x252,0x1f5,0x2f,_0x42ceba._0x21a7f8),_0x5e0e89[_0x42ca65(0x79c,0x4e9,0x69c,_0x42ceba._0x24f443)]=null;},0x5dc);return;}if(_0x3589be[_0x2d5e55(_0xc301c2._0x4dfe91,_0xc301c2._0x393012,_0xc301c2._0x4a3385,_0xc301c2._0x4d3a20)]===_0x46f969(_0xc301c2._0x476ad7,0x51d,0x6aa,0x4ca)){_0x5e0e89['current']&&clearTimeout(_0x5e0e89[_0x2d5e55(0x4b8,0x28e,0x4f4,0x65d)]),_0x5e0e89[_0x2d5e55(0x4b8,0x643,0x511,0x495)]=null,_0x2a0aaa(null),_0x3589be['current']=_0x2d5e55(0x4b0,0x4df,0x560,_0xc301c2._0x37c506);try{let _0x2ee9ca=_0x37f80f['current'];_0x2ee9ca&&(_0x2ee9ca['abort'](),_0x36b7af(!0x1));}catch{}return;}return;}if(typeof _0x555761!='function'&&_0x555761?.[_0x46f969(0x731,0x722,0x58d,0x5d6)]){if(_0x3589be[_0x2d5e55(_0xc301c2._0x4dfe91,_0xc301c2._0x2ca303,_0xc301c2._0x207dae,_0xc301c2._0x27d6e9)]===_0x2d5e55(_0xc301c2._0x507b62,_0xc301c2._0x55efd5,_0xc301c2._0x3a1381,0x4f4)&&_0x555761['current']['getValue']&&_0x555761['current'][_0x2d5e55(0x466,_0xc301c2._0x1bcf00,0x274,0x478)]()[_0x46f969(0x435,0x431,_0xc301c2._0x16603d,0x542)]()!==''){_0x2a0aaa&&_0x2a0aaa(_0x46f969(_0xc301c2._0x239e99,_0xc301c2._0x3a635e,_0xc301c2._0x2a1d1d,_0xc301c2._0x140d59),0x5dc),_0x3589be['current']=_0x2d5e55(0x303,0x443,_0xc301c2._0x5eea13,_0xc301c2._0x1e891e),_0x5e0e89[_0x46f969(_0xc301c2._0x416c67,_0xc301c2._0x417a25,_0xc301c2._0x2f5208,0x674)]&&clearTimeout(_0x5e0e89[_0x2d5e55(_0xc301c2._0x53c792,_0xc301c2._0x477324,0x336,0x414)]),_0x5e0e89[_0x46f969(0x3f3,0x580,_0xc301c2._0x18ce61,0x403)]=setTimeout(()=>{const _0x4230fa={_0x1e4491:0x24,_0x40cc15:0x187};function _0x2c72bb(_0x21e91a,_0x54ee3b,_0x4434f6,_0x565a22){return _0x2d5e55(_0x565a22- -0x2cb,_0x54ee3b-_0x3b725a._0x10f31b,_0x4434f6-_0x3b725a._0x45c6c1,_0x21e91a);}function _0x29ecd7(_0x22d838,_0x54514f,_0x59d53c,_0x222014){return _0x46f969(_0x22d838-_0x4230fa._0x1e4491,_0x22d838,_0x222014- -0x160,_0x222014-_0x4230fa._0x40cc15);}_0x3589be[_0x29ecd7(0x3e6,0x550,0x4ab,_0x2945e1._0x13bbcb)]=_0x2c72bb(-_0x2945e1._0x987488,0x28a,0x3f0,0x1e5),_0x5e0e89[_0x29ecd7(0x455,_0x2945e1._0x50f01f,_0x2945e1._0x4eb650,0x42d)]=null;},0x5dc);return;}if(_0x3589be[_0x46f969(_0xc301c2._0x36d93c,0x4e6,_0xc301c2._0x53f82f,0x5db)]===_0x46f969(0x1e3,0x2ba,0x3d8,0x3d3)){_0x5e0e89['current']&&clearTimeout(_0x5e0e89['current']),_0x5e0e89[_0x2d5e55(0x4b8,0x6a5,_0xc301c2._0x34914a,0x65d)]=null,_0x2a0aaa&&_0x2a0aaa(null),_0x3589be['current']=_0x2d5e55(0x4b0,0x3e1,0x3ba,0x5fa),_0x555761[_0x46f969(_0xc301c2._0x5a31a4,0x52d,0x58d,0x41e)]['clear']();return;}}}},{'isActive':!_0x3f2b03&&!_0x112377});function _0xafc401(_0x2595ea,_0x5dbcfa,_0x3ba8ec,_0x513733){return _0x5318c5(_0x2595ea-_0x499949._0x88af80,_0x513733,_0x3ba8ec-_0x499949._0x4464d7,_0x5dbcfa-_0x499949._0x2ed150);}let _0x49368c=_0xf7e0a0(()=>_0x39f257[_0xafc401(0x380,0x56d,0x5eb,0x3a5)](_0x5aff55=>({'label':_0x5aff55['id']+_0x55d8a9(0x186,0x2be,0x1d0,0x198)+_0x5aff55[_0x55d8a9(0x3ee,0x1e6,0xb6,0x37b)],'value':_0x5aff55['id']})),[_0x39f257]);switch(_0x112377?_0x55d8a9(0x44e,0x53f,0x47e,0x3a9):_0x3f2b03?'command':'input'){case _0xafc401(_0x5f3cf3._0x2f3366,_0x5f3cf3._0x50aa0a,_0x5f3cf3._0x57d9c3,_0x5f3cf3._0x1705c1):return!_0x112377||!_0x2d65db?null:_0x2370e6(or,{'toolCalls':_0x112377[_0xafc401(_0x5f3cf3._0x88077c,_0x5f3cf3._0x140826,0x947,0x6ab)],'onApproval':_0x55c809});case'command':return _0x3100eb?_0x2370e6(_0x5579ed,{'position':'absolute','bottom':0x0,'zIndex':0xa,'backgroundColor':_0x5292bb[_0x55d8a9(0x27c,_0x5f3cf3._0x34fe64,_0x5f3cf3._0x2cc736,0x2bd)][_0x55d8a9(_0x5f3cf3._0x2c66ae,0x39c,0x543,_0x5f3cf3._0xf3ac69)],'children':_0x2370e6(wn,{})}):_0x2370e6(wn,{});default:return _0x365b8c(_0x5579ed,{'flexDirection':_0x55d8a9(_0x5f3cf3._0x578570,_0x5f3cf3._0x50ec29,0x5e0,_0x5f3cf3._0x51c794),'marginTop':0x2,'children':[_0x139165[_0x55d8a9(_0x5f3cf3._0x40510,0x328,_0x5f3cf3._0x18a674,_0x5f3cf3._0x46df59)]>0x0&&_0x365b8c(_0x5579ed,{'flexDirection':_0xafc401(0x790,_0x5f3cf3._0x6d7672,0x5a1,_0x5f3cf3._0x2c05c7),'marginLeft':0x2,'children':[_0x365b8c(_0x260b5a,{'color':_0x5292bb['colors'][_0xafc401(_0x5f3cf3._0x3c1eea,0x4a5,_0x5f3cf3._0x50f846,0x297)],'dimColor':!0x0,'children':['⟀\x20',_0x139165[0x0]]}),_0x139165[_0xafc401(_0x5f3cf3._0x5b22f4,_0x5f3cf3._0x532a78,0x54f,_0x5f3cf3._0x262a34)]>0x1&&_0x365b8c(_0x260b5a,{'color':_0x5292bb[_0xafc401(0x2ec,_0x5f3cf3._0x183198,0x3f0,_0x5f3cf3._0x5e603f)][_0x55d8a9(_0x5f3cf3._0x26cf99,0x334,0x119,0x2af)],'dimColor':!0x0,'children':['\x20','+\x20',_0x139165[_0xafc401(_0x5f3cf3._0x46dc20,_0x5f3cf3._0x532a78,0x3cb,_0x5f3cf3._0x1781e5)]-0x1]})]}),_0x2370e6(Rn,{'ref':_0x555761,'busy':_0x487216,'messageQueueLength':_0x4553db,'showToolApproval':!!_0x112377,'commandItems':_0x49368c,'vimModeEnabled':_0x8a638,'memory':_0x29335f,'useAbsoluteMenu':_0x1d6a6a,'onInputChanged':_0x168808,'onInputSubmit':_0x3116ee,'onVimModeToggle':_0x156b2a,'onVimModeChanged':_0x328faa})]});}});import{useState as _0xf3590,useRef as _0x4085f9}from'react';import{Box as _0x3a4f9c,Text as _0x176586}from'ink';import{jsx as _0x31a201,jsxs as _0x22cdb4}from'react/jsx-runtime';var dp=_0x1ea3e3=>{const _0x280ae8={_0x1f8816:0x12a,_0x5d2810:0x75,_0x2d7023:0xe4,_0x485255:0x78,_0x252584:0x1c,_0x1dca2f:0x273,_0x26fdfd:0x293,_0x3e7a40:0x41b,_0x3914df:0x367,_0x285ccb:0xff,_0x7df1cf:0x26a,_0x5d1330:0x151,_0x2afc79:0xeb,_0x4ce2d1:0x20,_0x3ee331:0x1fe,_0x4a36db:0x42c,_0x518c43:0x1ad,_0x3fb6b4:0x26c,_0x55ff37:0x1b5,_0x2c8dc2:0x298,_0x54708a:0x206,_0x23d1d4:0x22e,_0x44408d:0xec,_0x139957:0xb7,_0x3ba1c7:0x34c,_0x57c50b:0xa3,_0x25262a:0xca,_0x345eb4:0x119,_0x3747f0:0x135,_0x113767:0x1ec,_0x376c24:0x16e,_0x10b670:0x79,_0xd94b2f:0x3d8,_0xa8e398:0x29e},_0x290927={_0x49f28f:0xa1,_0xa88872:0x53},_0x461600={_0x4913d1:0x173};let _0xb17ae2=new Date(_0x1ea3e3),_0x380be3=Math['floor']((new Date()[_0x166050(-0x13d,-0x1,-0x1ad,-0xda)]()-_0xb17ae2[_0x3ad342(_0x280ae8._0x1f8816,0x118,0x254,_0x280ae8._0x5d2810)]())/(0x3e8*0x3c)),_0x44eb9d=Math[_0x166050(_0x280ae8._0x2d7023,0x1cf,0xee,_0x280ae8._0x485255)](_0x380be3/0x3c),_0x2bc318=Math['floor'](_0x44eb9d/0x18);function _0x166050(_0x569a30,_0x211b7c,_0x115211,_0xa60db3){return _0x5318c5(_0x569a30-0x177,_0x115211,_0x115211-0x103,_0x569a30- -_0x461600._0x4913d1);}if(_0x380be3<0x5)return'Just\x20now';if(_0x380be3<0x3c)return _0x380be3+_0x166050(0x1ca,_0x280ae8._0x252584,_0x280ae8._0x1dca2f,_0x280ae8._0x26fdfd);function _0x3ad342(_0x1111e7,_0x3bd563,_0x336402,_0x1805e9){return _0x5318c5(_0x1111e7-_0x290927._0x49f28f,_0x336402,_0x336402-_0x290927._0xa88872,_0x1805e9-0x3f);}if(_0x44eb9d<0x18){let _0x2c4cd0=_0xb17ae2['toLocaleTimeString'](_0x3ad342(_0x280ae8._0x3e7a40,0x353,0x1ad,_0x280ae8._0x3914df),{'hour':_0x166050(-_0x280ae8._0x285ccb,-_0x280ae8._0x7df1cf,-0x11c,-0x2d2),'minute':_0x166050(0xec,_0x280ae8._0x5d1330,0x26a,0x1d0),'hour12':!0x0});return _0x44eb9d<0x6?_0x44eb9d+_0x3ad342(0x404,0x26f,_0x280ae8._0x2afc79,0x310):_0x3ad342(_0x280ae8._0x4ce2d1,0x3c1,_0x280ae8._0x3ee331,0x1f2)+_0x2c4cd0;}if(_0x2bc318===0x1)return _0x166050(0x252,0x91,_0x280ae8._0x4a36db,_0x280ae8._0x518c43)+_0xb17ae2[_0x3ad342(0x587,0x339,_0x280ae8._0x3fb6b4,0x35b)](_0x166050(_0x280ae8._0x55ff37,_0x280ae8._0x2c8dc2,_0x280ae8._0x54708a,_0x280ae8._0x23d1d4),{'hour':_0x3ad342(0x21d,_0x280ae8._0x518c43,0x142,0xb3),'minute':_0x166050(_0x280ae8._0x44408d,-_0x280ae8._0x139957,0x2c2,0xa9),'hour12':!0x0});if(_0x2bc318<0x7){let _0x3ddafb=_0xb17ae2['toLocaleDateString'](_0x166050(0x1b5,_0x280ae8._0x3ba1c7,0x3c3,0x5f),{'weekday':_0x166050(0x5e,0x4d,-0x1a6,-_0x280ae8._0x57c50b)}),_0x528449=_0xb17ae2['toLocaleTimeString']('en-US',{'hour':'numeric','minute':'2-digit','hour12':!0x0});return _0x3ddafb+'\x20'+_0x528449;}return _0xb17ae2[_0x166050(_0x280ae8._0x25262a,0x93,-_0x280ae8._0x345eb4,-_0x280ae8._0x3747f0)]('en-US',{'month':'short','day':_0x3ad342(_0x280ae8._0x113767,_0x280ae8._0x2d7023,_0x280ae8._0x376c24,0xb3),'hour':_0x166050(-_0x280ae8._0x285ccb,-0x2bf,-_0x280ae8._0x10b670,-0x145),'minute':_0x3ad342(0x144,0x2a8,_0x280ae8._0xd94b2f,_0x280ae8._0xa8e398),'hour12':!0x0});},mp=(_0x6a7ff3,_0xaead62=0x32)=>{const _0x48aff6={_0x2c4d51:0x3e8,_0x150fd8:0x6dd,_0x56ffa1:0x6d5,_0x8e79cb:0x740,_0x3abd10:0x4ce,_0x74c41:0x12c,_0x2fa85c:0x339,_0x192708:0x7f1,_0x5f2a43:0x530,_0x4a56ae:0x250,_0x185efc:0x7d7,_0x3a5e08:0x883,_0x5ee0f9:0x71f,_0x368e8f:0x501,_0x22ae4b:0x30d,_0x491b5e:0x7ad,_0x7fdd83:0x61c,_0x659646:0x389,_0x5234ee:0x50c,_0x51aa06:0x687,_0x5b8af1:0x6d5,_0x3308f4:0x5f3,_0x17f97f:0x4d3,_0x33e51b:0x5a6,_0x11bda0:0x3b1},_0x2ce9c2={_0x1cc387:0x100,_0x2f0782:0x20},_0x54843f={_0x35848d:0x10f};if(!_0x6a7ff3)return _0x263dad(_0x48aff6._0x2c4d51,0x695,0x491,0x688);let _0x1d5fb8=_0x6a7ff3['replace'](/\s+/g,'\x20')[_0x263dad(_0x48aff6._0x150fd8,_0x48aff6._0x56ffa1,0x53d,_0x48aff6._0x8e79cb)]();if(_0x1d5fb8[_0x263dad(0x39d,_0x48aff6._0x3abd10,0x30d,0x2a4)](_0x5ae086(_0x48aff6._0x74c41,0x4bd,0x308,_0x48aff6._0x2fa85c)))return _0x263dad(_0x48aff6._0x192708,0x58e,0x5bb,0x73b);if(_0x1d5fb8[_0x5ae086(0x19a,0x14c,0x3b2,0x348)]('error')||_0x1d5fb8[_0x263dad(_0x48aff6._0x5f2a43,0x4dc,0x30d,_0x48aff6._0x4a56ae)](_0x263dad(0x698,_0x48aff6._0x185efc,0x621,0x80e)))return _0x5ae086(0x78f,0x957,_0x48aff6._0x3a5e08,_0x48aff6._0x5ee0f9);function _0x5ae086(_0x5c1019,_0x3e0085,_0x253270,_0x2f2dfe){return _0x7f0a6b(_0x5c1019-_0x54843f._0x35848d,_0x2f2dfe-0x299,_0x3e0085,_0x2f2dfe-0x1d8);}if(_0x1d5fb8[_0x263dad(_0x48aff6._0x368e8f,0x41e,_0x48aff6._0x22ae4b,0x4d5)](_0x263dad(_0x48aff6._0x491b5e,_0x48aff6._0x7fdd83,0x6cf,0x6ee)))return _0x263dad(_0x48aff6._0x368e8f,0x281,_0x48aff6._0x659646,0x2f0);function _0x263dad(_0x21b8f2,_0x50155b,_0x20aac5,_0x38b27b){return _0x5318c5(_0x21b8f2-_0x2ce9c2._0x1cc387,_0x21b8f2,_0x20aac5-_0x2ce9c2._0x2f0782,_0x20aac5-0x336);}if(_0x1d5fb8[_0x5ae086(0x419,_0x48aff6._0x5234ee,0x36e,0x4d3)]<=_0xaead62)return _0x1d5fb8;let _0x55a352=_0x1d5fb8[_0x263dad(_0x48aff6._0x51aa06,0x71c,0x624,0x566)]('\x20'),_0x184cdf='';for(let _0x5240f7 of _0x55a352){if((_0x184cdf+'\x20'+_0x5240f7)[_0x5ae086(0x6f2,_0x48aff6._0x5b8af1,_0x48aff6._0x3308f4,_0x48aff6._0x17f97f)]>_0xaead62-0x3)break;_0x184cdf+=(_0x184cdf?'\x20':'')+_0x5240f7;}return _0x184cdf+(_0x184cdf[_0x5ae086(_0x48aff6._0x33e51b,0x450,_0x48aff6._0x11bda0,_0x48aff6._0x17f97f)]<_0xaead62?'...':'');},pp=(_0x4a6505,_0x38f0b3)=>_0x4a6505?_0x4a6505[_0x5318c5(0x1dd,-0x184,0x1d0,-0x29)](_0x7f0a6b(0x372,0x3cd,0x5e8,0x535))||_0x4a6505[_0x7f0a6b(0x1df,0xaf,0x125,-0x40)](_0x5318c5(-0xd7,0x80,-0x137,-0x38))?{'icon':'✓','color':_0x5318c5(0x29a,0x362,0x35,0x137)}:_0x4a6505[_0x7f0a6b(-0xd5,0xaf,-0x10d,-0x7f)](_0x5318c5(0x351,0x36a,0xaf,0x262))||_0x4a6505['includes']('Error')?{'icon':'✗','color':_0x7f0a6b(0x493,0x43d,0x3ab,0x654)}:_0x4a6505[_0x7f0a6b(0x251,0xaf,0x2d4,0x1d0)](_0x5318c5(0x175,0x126,-0x58,0x1b9))?{'icon':'⚠','color':_0x7f0a6b(0x49,0x1d7,0x14e,0xab)}:_0x38f0b3===0x1?{'icon':'○','color':_0x5318c5(0x479,0x465,0x3f0,0x3c6)}:{'icon':'●','color':'blue'}:{'icon':'○','color':_0x7f0a6b(0x2f5,0x49e,0x4c9,0x32d)},fp=_0x40929d=>_0x40929d===0x1?{'text':_0x5318c5(0x131,0x278,0x2a4,0x248),'color':_0x5318c5(0x263,0x47d,0x4bd,0x3c6)}:_0x40929d<0xa?{'text':_0x40929d+_0x5318c5(0x383,0x5e9,0x34d,0x3e4),'color':_0x7f0a6b(0x3b,0x1aa,0xff,0x3bc)}:_0x40929d<0x32?{'text':_0x40929d+_0x5318c5(0x2d9,0x350,0x5e9,0x3e4),'color':'green'}:{'text':_0x40929d+_0x5318c5(0x5bf,0x289,0x3d1,0x3e4),'color':_0x5318c5(0x314,0x286,0x11b,0x222)},gp=({item:_0x4176e9,isSelected:_0x2dee70,cols:_0x4715b8=0x3c})=>{const _0xd2bf9d={_0x151f90:0x4b5,_0x3b9457:0x308,_0x15ddee:0x3f0,_0x15f251:0x295,_0x3c6322:0x6a,_0x330049:0x14c,_0x5ac58f:0x1f3,_0xc98436:0x1e7,_0x38e8f0:0x24e,_0x5a1d52:0x52,_0x1bbf01:0xd0,_0x9eb1c:0x2b,_0x5934aa:0xe2,_0x4e6db9:0x10d,_0x202a4d:0x19d,_0x1c2a55:0x452,_0x1b46a0:0x48e,_0xba8bbb:0x70,_0xa96ce8:0x2cb,_0x5345a5:0xe2,_0x2964a5:0x1d3,_0x3078cc:0x73,_0x47ed42:0x74,_0x5c00a2:0x2b5,_0x3b5ba4:0xd8},_0x30b386={_0xcef0b6:0xde,_0x3f7a76:0xfb};function _0x27a89f(_0x366e31,_0x391e49,_0x1e0f36,_0x395bb8){return _0x7f0a6b(_0x366e31-_0x30b386._0xcef0b6,_0x1e0f36-_0x30b386._0x3f7a76,_0x366e31,_0x395bb8-0xf1);}function _0x5f1c3b(_0x493115,_0x5b46e3,_0x491c23,_0x30c50d){return _0x5318c5(_0x493115-0x1b,_0x491c23,_0x491c23-0x14,_0x30c50d- -0x205);}let {theme:_0x2950a7}=F(),_0x4a0083=dp(_0x4176e9[_0x27a89f(0x4e3,_0xd2bf9d._0x151f90,0x5dd,0x769)]),_0x14e7a6=_0x4176e9[_0x5f1c3b(-_0xd2bf9d._0x3b9457,0xf8,-0x33c,-0x109)]||_0x4176e9[_0x27a89f(_0xd2bf9d._0x15ddee,0x683,0x524,0x45b)],_0x205084=mp(_0x14e7a6,_0x4715b8-0x5),_0x5a9f9a=pp(_0x4176e9[_0x5f1c3b(_0xd2bf9d._0x15f251,_0xd2bf9d._0x3c6322,-0x25,_0xd2bf9d._0x330049)],_0x4176e9['messageCount']),_0x2078c3=fp(_0x4176e9[_0x5f1c3b(-_0xd2bf9d._0x5ac58f,_0xd2bf9d._0xc98436,-_0xd2bf9d._0x38e8f0,-0x20)]),_0x5a607a=_0x2dee70?_0x2950a7['history'][_0x5f1c3b(0x1e4,_0xd2bf9d._0x5a1d52,-_0xd2bf9d._0x1bbf01,-_0xd2bf9d._0x9eb1c)]:_0x2950a7[_0x5f1c3b(0x2d4,0x20,0x291,_0xd2bf9d._0x5934aa)][_0x27a89f(_0xd2bf9d._0x4e6db9,_0xd2bf9d._0x202a4d,0x312,0x29c)],_0x169b0d=!_0x2dee70;return _0x22cdb4(_0x3a4f9c,{'flexDirection':_0x27a89f(0x737,_0xd2bf9d._0x1c2a55,0x50e,_0xd2bf9d._0x1b46a0),'height':0x3,'paddingX':0x0,'paddingY':0x0,'children':[_0x31a201(_0x3a4f9c,{'justifyContent':'space-between','height':0x1,'children':_0x22cdb4(_0x3a4f9c,{'children':[_0x31a201(_0x176586,{'color':_0x5a9f9a[_0x5f1c3b(-0x2c,0x23,-0x192,-_0xd2bf9d._0xba8bbb)],'bold':!0x0,'children':_0x5a9f9a['icon']}),_0x31a201(_0x176586,{'children':'\x20'}),_0x22cdb4(_0x176586,{'color':_0x5a607a,'bold':_0x2dee70,'dimColor':_0x169b0d,'children':[_0x4a0083,_0x27a89f(0x3ad,0xce,_0xd2bf9d._0xa96ce8,0x222)]}),_0x31a201(_0x176586,{'color':_0x2950a7[_0x5f1c3b(-0x14,-0xb3,-0xa9,_0xd2bf9d._0x5345a5)][_0x5f1c3b(-_0xd2bf9d._0x2964a5,-_0xd2bf9d._0x3078cc,-0x195,-_0xd2bf9d._0x47ed42)],'dimColor':_0x169b0d,'children':_0x2078c3[_0x5f1c3b(_0xd2bf9d._0x5c00a2,-_0xd2bf9d._0x3b5ba4,-0xb7,0xde)]})]})}),_0x31a201(_0x3a4f9c,{'height':0x1,'width':_0x4715b8-0x2,'children':_0x31a201(_0x176586,{'color':_0x5a607a,'dimColor':_0x169b0d,'children':_0x205084})})]});},ga=0x7,hp=({availableSessions:_0x3748f2})=>{const _0xe5e90f={_0x5c8846:0x34b,_0x3de3af:0x106,_0x193847:0x434,_0x5c90b7:0x37d,_0x506c79:0x768,_0x414085:0x5ca,_0x392d43:0x746,_0x2c0abf:0xcb,_0x2b6ad1:0x61,_0x59f3e0:0x263,_0x567bfc:0x726,_0x5495e0:0x62f,_0xadcaed:0x7b6,_0x1f6dd3:0x4f3,_0x463edc:0x5c1,_0x480d29:0x55c,_0x412b37:0x8b0,_0x2dea45:0x708,_0x24e542:0x473,_0x598f33:0x5c7,_0x2f3cc6:0x56,_0x106a55:0x40,_0x25521d:0x74,_0x2d848c:0x5b8,_0x485a0a:0x97,_0x3b18fa:0x2ee,_0x2defd6:0x3a4,_0x34c69c:0x47,_0x28a341:0x878,_0xd1be16:0x6d9},_0x3980ea={_0x18ecd2:0x19b,_0x22737e:0x31f,_0x259e64:0x535,_0x2d65ea:0x290,_0x1a5198:0x3c0,_0x54410c:0x1c9,_0x3bee07:0x14f,_0x1c97a8:0x7f,_0x4719a1:0x105,_0x2dd477:0x196,_0x966b1b:0x1a9,_0x4fe1c1:0x157},_0xf86dbc={_0x534a55:0x5a,_0x53b68c:0x33},_0x14f8e3={_0x3121c1:0x993,_0x1ce146:0x70f},_0x4e3e52={_0x4abf55:0x373},_0x52b390={_0x43f718:0xd2,_0x3389cd:0x387,_0x4e4435:0xa0},_0x38fd8e={_0x2257b9:0x171};function _0x25242c(_0x1c1a92,_0x197a05,_0x1e56cf,_0x416f38){return _0x5318c5(_0x1c1a92-_0x38fd8e._0x2257b9,_0x197a05,_0x1e56cf-0x174,_0x1c1a92- -0x10c);}function _0x31229b(_0x3ba4c4,_0x4c9eea,_0x12446c,_0x1e9236){return _0x7f0a6b(_0x3ba4c4-_0x52b390._0x43f718,_0x1e9236-_0x52b390._0x3389cd,_0x4c9eea,_0x1e9236-_0x52b390._0x4e4435);}let {theme:_0x227e95}=F(),{cols:_0x28d7cc}=te(),[_0x13400c,_0x56d932]=_0xf3590(0x0),_0x467902=_0x4085f9(null);return W((_0x58fc94,_0xf50af4)=>{function _0x8ad28f(_0x47d929,_0x33b9cf,_0x8092d,_0x59ff1e){return _0xa481(_0x59ff1e-_0x4e3e52._0x4abf55,_0x33b9cf);}_0xf50af4[_0x8ad28f(_0x14f8e3._0x3121c1,_0x14f8e3._0x1ce146,0x750,0x918)];},{'isActive':!0x0}),_0x22cdb4(_0x3a4f9c,{'marginLeft':0x2,'marginTop':0x1,'flexDirection':_0x25242c(0x22f,_0xe5e90f._0x5c8846,0x71,_0xe5e90f._0x3de3af),'children':[_0x22cdb4(_0x3a4f9c,{'marginBottom':0x1,'justifyContent':_0x31229b(_0xe5e90f._0x193847,_0xe5e90f._0x5c90b7,0x3cf,0x524),'children':[_0x22cdb4(_0x3a4f9c,{'children':[_0x22cdb4(_0x176586,{'color':_0x227e95[_0x31229b(0x8d8,_0xe5e90f._0x506c79,_0xe5e90f._0x414085,_0xe5e90f._0x392d43)][_0x25242c(_0xe5e90f._0x2c0abf,_0xe5e90f._0x2b6ad1,0x12d,_0xe5e90f._0x59f3e0)],'bold':!0x0,'children':['Session\x20History','\x20']}),_0x31a201(_0x176586,{'color':_0x227e95['history'][_0x31229b(_0xe5e90f._0x567bfc,0x590,_0xe5e90f._0x5495e0,_0xe5e90f._0xadcaed)],'dimColor':!0x0,'children':'(↑↓\x20navigate\x20•\x20Enter\x20select\x20•\x20ESC\x20cancel)'})]}),_0x3748f2[_0x31229b(0x4b1,0x7ca,_0xe5e90f._0x1f6dd3,_0xe5e90f._0x463edc)]>ga&&_0x22cdb4(_0x176586,{'color':_0x227e95[_0x31229b(_0xe5e90f._0x480d29,0x640,_0xe5e90f._0x412b37,0x746)]['keybind'],'dimColor':!0x0,'children':[_0x31a201(_0x176586,{'children':String(_0x13400c+0x1)}),_0x31229b(_0xe5e90f._0x2dea45,_0xe5e90f._0x24e542,0x5fe,_0xe5e90f._0x598f33),_0x31a201(_0x176586,{'children':String(_0x3748f2['length'])})]})]}),_0x3748f2[_0x25242c(_0xe5e90f._0x2f3cc6,_0xe5e90f._0x106a55,-0x178,-_0xe5e90f._0x25521d)]===0x0?_0x22cdb4(_0x3a4f9c,{'flexDirection':_0x31229b(0x599,0x91c,_0xe5e90f._0x2d848c,0x79a),'paddingX':0x1,'children':[_0x31a201(_0x176586,{'color':_0x227e95['history']['help'],'dimColor':!0x0,'children':_0x25242c(0x1dd,_0xe5e90f._0x485a0a,0x29b,_0xe5e90f._0x3b18fa)}),_0x31a201(_0x176586,{'color':_0x227e95[_0x25242c(0x1db,_0xe5e90f._0x2defd6,0x3b5,_0xe5e90f._0x34c69c)]['help'],'dimColor':!0x0,'children':'Start\x20chatting\x20to\x20create\x20your\x20first\x20session!'})]}):_0x31a201(xt,{'limit':ga,'items':_0x3748f2[_0x31229b(_0xe5e90f._0x28a341,_0xe5e90f._0xd1be16,0x5b2,0x695)]((_0x317a7b,_0xde3cd4)=>({'key':_0x317a7b['sessionId'],'label':_0x317a7b[_0x25242c(0x141,-0xf2,0x5e,0x187)],'value':_0x317a7b})),'itemComponent':_0x29e036=>{const _0x1d5b8d={_0x33dea1:0xfd,_0x36472a:0x198,_0x5cda38:0x2cc};function _0x4a6958(_0x1c8f96,_0x111960,_0x114368,_0x573ac0){return _0x25242c(_0x111960-_0xf86dbc._0x534a55,_0x1c8f96,_0x114368-_0xf86dbc._0x53b68c,_0x573ac0-0x1c);}function _0x3a7484(_0x11aca8,_0x4804e2,_0x2a0b80,_0x49983e){return _0x31229b(_0x11aca8-_0x1d5b8d._0x33dea1,_0x49983e,_0x2a0b80-_0x1d5b8d._0x36472a,_0x2a0b80- -_0x1d5b8d._0x5cda38);}let _0x41c2f2=_0x29e036[_0x3a7484(0x344,0x1d9,0x202,0x1ac)][_0x4a6958(0x3cc,_0x3980ea._0x18ecd2,-0x6f,0x269)];if(_0x29e036[_0x3a7484(_0x3980ea._0x22737e,0x1fe,0x39c,_0x3980ea._0x259e64)]&&_0x467902[_0x3a7484(0x567,_0x3980ea._0x2d65ea,_0x3980ea._0x1a5198,0x46d)]!==_0x41c2f2){let _0x1ba11e=_0x3748f2[_0x4a6958(0x2da,_0x3980ea._0x54410c,0x14a,_0x3980ea._0x3bee07)](_0x3b225e=>_0x3b225e[_0x4a6958(0x2fc,0x19b,0x5d,0xe5)]===_0x41c2f2);_0x1ba11e!==-0x1&&(_0x467902[_0x4a6958(0x246,0x17b,0x38b,-_0x3980ea._0x1c97a8)]=_0x41c2f2,setTimeout(()=>_0x56d932(_0x1ba11e),0x0));}return _0x31a201(gp,{'cols':_0x28d7cc-0x2,'item':_0x29e036[_0x4a6958(-_0x3980ea._0x4719a1,-0x43,_0x3980ea._0x2dd477,-_0x3980ea._0x966b1b)],'isSelected':!!_0x29e036[_0x4a6958(-0xe2,_0x3980ea._0x4fe1c1,0x384,0x228)]});},'onSelect':_0x5b10d2=>B[_0x25242c(-0x5f,-0x80,-0x1da,0xb1)](_0x25242c(-0x13a,0x47,-0x2ac,0x9a),_0x5b10d2[_0x25242c(-0x9d,0x104,-0x1f,0x2b)])})]});};import{Box as _0x164226,Text as _0x3799d6}from'ink';import{useState as _0x979141,useEffect as _0x12fc86,useCallback as _0x40d2f4}from'react';import{useState as _0x44d06d,useEffect as _0x21fe99,useRef as _0x2a04b6}from'react';import{Box as _0x11aff1,Text as _0x2fa851}from'ink';import _0x5ec6a8 from'chalk';import{Fragment as _0x3c9734,jsx as _0x5330d6,jsxs as _0x1911d7}from'react/jsx-runtime';var Ln=({items:_0x543aed,maxDisplayItems:_0x5d59d8=0xa,placeholder:_0xefaab8='Type\x20to\x20search...',enableRotation:_0x42168c=!0x1,showSearchInput:_0x59343e=!0x0,showItemCount:_0x470cfa=!0x0,focus:_0x5c3ddd=!0x0,onSelect:_0xedea6a,onCancel:_0x1702b3})=>{const _0x4024db={_0x4f5fa9:0x447,_0x379cbf:0x46d,_0x3fe2cb:0x1c7,_0x4b6b62:0x44a,_0x4c910b:0x337,_0x5705fe:0x110,_0x29499c:0xc1,_0x5b4b95:0x180,_0x4f563f:0x4d0,_0x1c6460:0x246,_0x59a72b:0xc4,_0xa478ea:0x327,_0x2a4144:0x41d,_0x485a64:0x1ce,_0x3d3d0d:0x4db,_0x2c539f:0x2a3,_0x10dd4e:0x2a1,_0x468b05:0x33f,_0x335136:0x1f4,_0x53e48f:0x388,_0x5a7261:0x256,_0x4dc043:0xd1,_0x17d68d:0x222,_0x4c6e1e:0x4c6,_0x517c75:0x6ac,_0x58c96a:0x5ae,_0x37948c:0x7b,_0x44c9ec:0x467,_0x59f480:0x289,_0xf23d:0x29a,_0x22ffda:0x49a,_0x34152f:0x414,_0x3230dc:0x5df,_0xf1cabd:0x86,_0x153603:0x42d,_0xc6b606:0x304,_0x5bbbb5:0x4ba},_0xc6b096={_0x284a44:0xf4},_0x327282={_0x56b03c:0x3c5,_0x168ad4:0x302,_0x5be43f:0x2fe,_0x257f1a:0x3e5,_0x5303e9:0x532,_0x130ddf:0x386,_0x29f48f:0x471,_0x3abd02:0x5cb,_0x1d4657:0x67d,_0x38fdd7:0x30a,_0x450e18:0x4bd,_0x212d83:0x39e,_0x47fdd6:0x2e0,_0xa1bcc9:0x4bd,_0x4436e0:0x116,_0x3ad4d5:0x31a,_0x17478e:0x5cd,_0x1c279f:0x576,_0x1a7d51:0x4fd,_0x47ee41:0x581,_0x3607a:0x311,_0x897dd8:0x54e,_0x5d9ab5:0x6e1,_0x403a9f:0x763,_0x265971:0x128,_0x4a3813:0x246,_0x9a37b4:0x27d,_0x8708f9:0x73e,_0x5b401f:0x328,_0x394c4f:0x3ba},_0x5e3815={_0x166ad1:0x1b1},_0x789792={_0x2d96d3:0x226,_0x436e02:0xe4},_0x3dd462={_0x8e2e7:0x22,_0x305eee:0x172,_0xdfbde0:0xe1};function _0x3b8627(_0x1bc2f6,_0x1fb971,_0x5172cc,_0x12755b){return _0x7f0a6b(_0x1bc2f6-_0x3dd462._0x8e2e7,_0x1bc2f6-_0x3dd462._0x305eee,_0x5172cc,_0x12755b-_0x3dd462._0xdfbde0);}let {theme:_0x936406}=F(),[_0x5645b7,_0x3cebe4]=_0x44d06d(''),[_0xb51d59,_0x2a476a]=_0x44d06d([]),_0xd68c13=_0x2a04b6(Rt()),_0x3836fe=_0x2a04b6(null);_0x21fe99(()=>{const _0x3082ac={_0x27f521:0x1c7};function _0x5630da(_0x880743,_0x412c31,_0xe65a98,_0x2b4338){return _0xa481(_0xe65a98- -0x33c,_0x880743);}let _0x4c45be=_0x5645b7['trim']()?_0x543aed[_0x25f986(_0x789792._0x2d96d3,0x295,-0x53,_0x789792._0x436e02)](_0x4eac0e=>_0x4eac0e[_0x25f986(0xb9,0x304,0x1e2,0x103)]['toLowerCase']()[_0x25f986(-0x40,-0xf4,-0x3,-0x64)](_0x5645b7[_0x5630da(-0x361,0x68,-0x171,0x17)]())):_0x543aed;function _0x25f986(_0x577af2,_0x546988,_0x2a786d,_0x152a97){return _0xa481(_0x152a97- -_0x3082ac._0x27f521,_0x2a786d);}_0x2a476a(_0x4c45be);},[_0x5645b7,_0x543aed]),_0x21fe99(()=>{function _0x15edb8(_0x3873a0,_0x2f25c9,_0x42f273,_0x200994){return _0xa481(_0x2f25c9- -0x372,_0x200994);}_0x3836fe['current']&&_0x3836fe[_0x15edb8(-0x8f,0x47,_0x5e3815._0x166ad1,-0xb9)]['setSelectedIndex'](0x0);},[_0x5645b7]),W((_0x1853de,_0x29c142)=>{function _0x35d174(_0x3b1a48,_0x1ed66f,_0x30dbe4,_0x344e66){return _0xa481(_0x30dbe4-0x2c,_0x344e66);}function _0x2eaacb(_0x4c64db,_0x4e3837,_0x39c4e9,_0x4b117f){return _0xa481(_0x4b117f-0x214,_0x4e3837);}let _0x1aed03=Pt(_0x1853de,_0xd68c13[_0x35d174(_0x327282._0x56b03c,_0x327282._0x168ad4,0x3e5,_0x327282._0x5be43f)]);if(_0xd68c13[_0x35d174(0x3a8,0x3be,_0x327282._0x257f1a,0x567)]=_0x1aed03[_0x35d174(0x4b9,_0x327282._0x5303e9,_0x327282._0x130ddf,_0x327282._0x29f48f)],!_0x1aed03[_0x2eaacb(0x4c1,_0x327282._0x3abd02,0x304,0x51b)]){if(_0x1aed03[_0x2eaacb(0x2d3,_0x327282._0x1d4657,_0x327282._0x38fdd7,_0x327282._0x450e18)]!==null&&(_0x1853de=_0x1aed03[_0x2eaacb(0x479,_0x327282._0x212d83,_0x327282._0x47fdd6,_0x327282._0xa1bcc9)]),_0x29c142['return']){if(_0xb51d59[_0x35d174(_0x327282._0x4436e0,0x200,_0x327282._0x3ad4d5,0x4dc)]>0x0&&_0x3836fe['current']){let _0x486522=_0x3836fe[_0x2eaacb(0x738,0x46e,0x6e4,_0x327282._0x17478e)]['getSelectedIndex']();_0xedea6a(_0xb51d59[_0x486522]);}return;}if(_0x29c142[_0x35d174(0x3c0,_0x327282._0x1c279f,0x5d1,_0x327282._0x1a7d51)]){_0x1702b3?.();return;}if(!(_0x29c142[_0x35d174(_0x327282._0x47ee41,0x330,0x363,_0x327282._0x3607a)]||_0x29c142[_0x35d174(0x64c,0x54e,_0x327282._0x897dd8,0x6e9)])){if(_0x29c142[_0x35d174(0x35c,_0x327282._0x5d9ab5,0x536,_0x327282._0x403a9f)]||_0x29c142[_0x35d174(_0x327282._0x265971,_0x327282._0x4a3813,0x315,_0x327282._0x9a37b4)]){_0x3cebe4(_0x2b67ac=>_0x2b67ac[_0x2eaacb(0x6d0,0x5a1,0x562,0x50c)](0x0,-0x1));return;}_0x1853de&&!_0x29c142[_0x2eaacb(0x6c2,_0x327282._0x8708f9,0x550,0x633)]&&!_0x29c142[_0x2eaacb(0x32a,0x183,_0x327282._0x5b401f,_0x327282._0x394c4f)]&&_0x3cebe4(_0x56f13e=>_0x56f13e+_0x1853de);}}},{'isActive':_0x59343e});function _0x9a2684(_0x5aecd4,_0x135a0f,_0x5d2acb,_0x27d342){return _0x5318c5(_0x5aecd4-_0xc6b096._0x284a44,_0x5aecd4,_0x5d2acb-0x122,_0x27d342- -0xa1);}let _0x1ba560=_0xb51d59[_0x3b8627(0x480,_0x4024db._0x4f5fa9,_0x4024db._0x379cbf,0x4d7)](_0x9411f1=>({'key':_0x9411f1[_0x3b8627(0x2b9,0x3bf,0x292,0xa6)],'label':_0x9411f1[_0x3b8627(0x388,0x3bc,0x3e5,0x4a2)],'value':_0x9411f1})),_0xcacee8=_0x5645b7?_0x1911d7(_0x3c9734,{'children':[_0x5330d6(_0x2fa851,{'children':_0x5645b7}),_0x5330d6(_0x2fa851,{'color':_0x936406['model']?.['input']||_0x9a2684(_0x4024db._0x3fe2cb,_0x4024db._0x4b6b62,0x213,_0x4024db._0x4c910b),'children':'█'})]}):_0x5330d6(_0x2fa851,{'children':_0xefaab8[_0x9a2684(-0x14d,_0x4024db._0x5705fe,0x105,_0x4024db._0x29499c)]>0x0?_0x5ec6a8[_0x9a2684(-0x10e,0x149,-_0x4024db._0x5b4b95,0x3c)](_0xefaab8[0x0])+_0x5ec6a8[_0x3b8627(0x357,0x53d,_0x4024db._0x4f563f,0x16c)](_0xefaab8[_0x9a2684(_0x4024db._0x1c6460,-_0x4024db._0x59a72b,0x171,0xcb)](0x1)):_0x5ec6a8[_0x3b8627(_0x4024db._0xa478ea,_0x4024db._0x2a4144,_0x4024db._0x485a64,_0x4024db._0x3d3d0d)]('\x20')});return _0x1911d7(_0x11aff1,{'flexDirection':_0x9a2684(_0x4024db._0x2c539f,_0x4024db._0x10dd4e,0x22b,0x29a),'children':[_0x59343e&&_0x1911d7(_0x11aff1,{'marginBottom':0x1,'children':[_0x5330d6(_0x2fa851,{'color':_0x936406[_0x3b8627(_0x4024db._0x468b05,0x543,0x3f5,_0x4024db._0x335136)]?.[_0x3b8627(_0x4024db._0x53e48f,_0x4024db._0x5a7261,0x190,0x42c)]||_0x9a2684(_0x4024db._0x4dc043,0x1a0,_0x4024db._0x17d68d,0x31),'children':_0x3b8627(_0x4024db._0x4c6e1e,0x626,_0x4024db._0x517c75,_0x4024db._0x58c96a)}),_0xcacee8]}),_0xb51d59['length']===0x0?_0x5330d6(_0x11aff1,{'children':_0x5330d6(_0x2fa851,{'color':_0x9a2684(_0x4024db._0x37948c,0x72,0x24b,0x5e),'children':_0x3b8627(0x460,0x377,_0x4024db._0x44c9ec,0x3e5)})}):_0x1911d7(_0x11aff1,{'flexDirection':_0x9a2684(_0x4024db._0x59f480,0x20b,0x299,_0x4024db._0xf23d),'children':[_0x470cfa&&_0x5330d6(_0x11aff1,{'marginBottom':0x1,'children':_0x1911d7(_0x2fa851,{'dimColor':!0x0,'children':[_0x3b8627(0x5e2,_0x4024db._0x22ffda,_0x4024db._0x34152f,_0x4024db._0x3230dc),_0xb51d59[_0x9a2684(0x116,-_0x4024db._0xf1cabd,-0x7e,0xc1)],_0x3b8627(_0x4024db._0x153603,0x2e8,_0x4024db._0xc6b606,_0x4024db._0x5bbbb5)]})}),_0x5330d6(Et,{'ref':_0x3836fe,'items':_0x1ba560,'limit':_0x5d59d8,'enableRotation':_0x42168c,'focus':_0x5c3ddd,'showScrollIndicators':!0x0,'onSelect':_0x11ba29=>_0xedea6a(_0x11ba29['value']),'itemComponent':({isSelected:_0x4a88b2,label:_0x26a92a})=>_0x5330d6(_0x2fa851,{'color':_0x4a88b2?_0x936406[_0x9a2684(0x45,0x24,0x15b,0x54)]?.[_0x3b8627(0x44a,0x5a5,0x5dc,0x5e1)]||_0x936406[_0x9a2684(-0x12f,0x71,-0x15b,0x27)][_0x9a2684(0x384,0x428,0x298,0x2ad)]:_0x936406['model']?.[_0x3b8627(0x63a,0x7e4,0x6ce,0x5aa)]||_0x3b8627(0x622,0x554,0x575,0x5c8),'bold':_0x4a88b2,'children':_0x26a92a}),'indicatorComponent':({isSelected:_0x4c587b})=>_0x5330d6(_0x2fa851,{'children':_0x4c587b?'❯\x20':'\x20\x20'})})]})]});};import _0x33db3c from'ink-gradient';import{getAvailableProviders as _0x3745b6,getProviderLabel as _0x278457}from'@nuvin/nuvin-core';var Cp=['github','anthropic'];function vp(){return[..._0x3745b6(),...Cp];}function ba(_0x5cf458){const _0x3f3aa7={_0x202f27:0x5a4,_0x489ca6:0x45a,_0x2c7eae:0x5dc},_0xf45f9d={_0x2b2678:0x1de};function _0x465e73(_0x3d0541,_0x4c43df,_0x41dbca,_0x294a46){return _0x7f0a6b(_0x3d0541-0x167,_0x3d0541-0x278,_0x4c43df,_0x294a46-_0xf45f9d._0x2b2678);}let _0x190d12=_0x278457(_0x5cf458);function _0x16fa2f(_0x15bed2,_0x4e67f6,_0x38a254,_0x24fe53){return _0x5318c5(_0x15bed2-0xb8,_0x24fe53,_0x38a254-0x17c,_0x4e67f6-0x50a);}return _0x190d12||_0x5cf458[_0x465e73(0x63e,0x583,_0x3f3aa7._0x202f27,0x632)]('-')['map'](_0x37d1cf=>_0x37d1cf[_0x465e73(0x53a,0x3c1,0x544,0x732)](0x0)[_0x465e73(0x6bb,0x791,0x80d,0x4f5)]()+_0x37d1cf[_0x465e73(0x4bc,0x646,0x369,0x3f5)](0x1))[_0x465e73(_0x3f3aa7._0x489ca6,0x229,_0x3f3aa7._0x2c7eae,0x369)]('\x20');}function Dn(){const _0x4086a7={_0x205a91:0x3af,_0x40f499:0x78e,_0xf18c29:0x449},_0x3d0d7a={_0x39ef11:0x1e9,_0x3f225b:0x1d4};function _0x429b5c(_0x5d5aaa,_0xa5050e,_0x47bf1a,_0xd223ff){return _0x5318c5(_0x5d5aaa-_0x3d0d7a._0x39ef11,_0x5d5aaa,_0x47bf1a-_0x3d0d7a._0x3f225b,_0xd223ff-0x3ae);}return vp()[_0x429b5c(_0x4086a7._0x205a91,_0x4086a7._0x40f499,_0x4086a7._0xf18c29,0x5e4)](_0x531181=>({'label':ba(_0x531181),'value':_0x531181}));}function _0x7f0a6b(_0x1fbc15,_0x5e5a2f,_0x38f404,_0x1ae879){const _0x49ff76={_0x2283d6:0xb4};return _0xa481(_0x5e5a2f- -_0x49ff76._0x2283d6,_0x38f404);}var tI=0x7d0,Tp={'github':[{'label':_0x5318c5(0xc4,0x2c5,0x317,0xe2),'value':'device-flow'},{'label':_0x7f0a6b(0x1a2,0x369,0x184,0x190),'value':_0x7f0a6b(0xac,0x289,0x469,0x15a)}],'openrouter':[{'label':_0x5318c5(0x45e,0x47d,0x3ec,0x359),'value':_0x7f0a6b(0x361,0x289,0x22a,0xae)}],'deepinfra':[{'label':_0x5318c5(0x37c,0x55e,0x326,0x359),'value':_0x7f0a6b(0xe3,0x289,0x1fc,0x265)}],'zai':[{'label':_0x5318c5(0x46b,0x4bc,0x51e,0x359),'value':'token'}],'moonshot':[{'label':_0x7f0a6b(0x23b,0x431,0x38b,0x4e8),'value':'token'}],'lmstudio':[{'label':'No\x20auth\x20needed','value':'none'}],'anthropic':[{'label':_0x5318c5(-0x15c,0xab,0x76,0x90),'value':'oauth-max'},{'label':_0x5318c5(-0x51,-0x57,-0x3e,0x124),'value':_0x7f0a6b(0x2e1,0x472,0x339,0x2b8)},{'label':'Manually\x20enter\x20API\x20Key','value':_0x7f0a6b(0x255,0x289,0x3c4,0x481)}],'echo':[{'label':_0x7f0a6b(0x24e,0x1c9,0x4f,0x1aa),'value':_0x7f0a6b(0x268,0x2fd,0x3a4,0x518)}]},Ca={'openrouter':[_0x5318c5(0x2cb,0x2c7,0x115,0x2d8),'openai/gpt-4o-mini'],'deepinfra':['meta-llama/Meta-Llama-3.1-70B-Instruct',_0x7f0a6b(0x51f,0x3d9,0x246,0x373)],'github':[_0x5318c5(0x3cd,0x2c2,0x116,0x30f),_0x7f0a6b(0x26a,0x34f,0x3cb,0x314),_0x5318c5(0x1f8,-0x27,0x34b,0x1d0),_0x5318c5(0xb6,0x15a,0x4e5,0x2ca),_0x7f0a6b(0x17f,0x207,0x97,0x6c),_0x7f0a6b(0x425,0x230,0x2b8,0xc0)],'zai':['glm-4.7',_0x5318c5(0x259,0x16c,0xdd,0x19d),'glm-4.5'],'moonshot':['kimi-latest',_0x5318c5(0x155,0x37a,0x4b8,0x28b)],'lmstudio':[],'anthropic':[_0x5318c5(0x52b,0x44a,0x4ab,0x368),_0x5318c5(0x73,0x152,0x2db,0x1f7),_0x7f0a6b(0x3aa,0x230,0x12d,0x317)],'echo':[_0x5318c5(-0x14,-0x232,0x129,-0x13)]};function Bn(_0x367087){const _0x5304e7={_0x2a55e7:0x575,_0x3e49cf:0x2a7},_0x2651cf={_0x5a378e:0x322,_0x4993bf:0x99},_0x36c176={_0x4d4596:0x10a,_0x2cb138:0x15c};function _0x4e8242(_0x627176,_0x3b5f75,_0x15fca5,_0x23e2ed){return _0x5318c5(_0x627176-_0x36c176._0x4d4596,_0x15fca5,_0x15fca5-_0x36c176._0x2cb138,_0x23e2ed-0x214);}function _0x4cdb59(_0x41ad13,_0x61596b,_0x3b7790,_0x397c1a){return _0x7f0a6b(_0x41ad13-0x51,_0x3b7790- -_0x2651cf._0x5a378e,_0x61596b,_0x397c1a-_0x2651cf._0x4993bf);}return Tp[_0x367087]||[{'label':_0x4e8242(_0x5304e7._0x2a55e7,0x5fc,0x430,0x56d),'value':_0x4e8242(0x59b,0x49e,_0x5304e7._0x3e49cf,0x3c5)}];}function va(_0x106512){return Ca[_0x106512]||[];}var oI=Ca;import{Box as _0x3daf89,Text as _0x46f34e}from'ink';import{Fragment as _0x10f15f,jsx as _0x450650,jsxs as _0x574022}from'react/jsx-runtime';function _n({state:_0x1ab501,onOpenBrowser:_0x5120d2,showCode:_0x4efe03=!0x0,theme:_0xd58056={}}){const _0x36bd59={_0x52e92c:0x8ce,_0x435a0d:0x9a2,_0x478dd0:0x9b6,_0xb77df3:0x8e8,_0x41b4f2:0x85e,_0x1d95c0:0x889,_0x3e1d4c:0x67f,_0x43f4fb:0x637,_0x86180:0x9ff,_0xaca83:0x65a,_0x48106f:0x7e3,_0x2175d1:0x81c,_0x40ff47:0x5be,_0x4f39a5:0x6ec,_0x2b72df:0x5d4,_0x39a873:0x7aa,_0x2d6955:0x62c,_0x193850:0x929,_0xc36d93:0x5c6,_0x4114c6:0x7cc,_0x537c23:0x956,_0x2b817b:0x7a8,_0x17e8a1:0x25f,_0x34f72a:0x3d3,_0x157bb2:0x4b3,_0x4c6820:0x471,_0x5447dc:0x207,_0x4da103:0x203,_0x352c9f:0x337,_0x5aaf8e:0x53e,_0x3a1121:0x278,_0xfb04aa:0x30a,_0x5382d9:0x2c5,_0x2db183:0x3c7,_0x25517f:0x442,_0x52b59f:0x95b,_0x474fc9:0x5ce,_0x47d2e7:0x77b,_0x468125:0x4f1,_0x620c18:0x570,_0x102f97:0x43c,_0x339b98:0x2e6,_0x577a0a:0x5cd,_0x92e557:0x3f6,_0xf98471:0x679,_0x19a31b:0x56e,_0x3d6b92:0x5a5,_0x1558e2:0x314,_0x334d82:0x243,_0x649eb:0x35e,_0x58c62c:0x30a,_0x56b3d0:0x812,_0x1f9bd1:0x6f0,_0x676ceb:0x655},_0x28bfb8={_0xc3da94:0x4f2,_0x4cc454:0x61a},_0x2cc217={_0x3ffabf:0x356},_0x23df17={_0x4e541f:0x54,_0x99f1ac:0x81,_0x3e439e:0x46f};function _0x35afc7(_0x3aa47d,_0xeeaa35,_0x214686,_0x5ed26d){return _0x7f0a6b(_0x3aa47d-0xd,_0x214686-0x160,_0x3aa47d,_0x5ed26d-0x1a9);}function _0x1162f0(_0x172b55,_0x256552,_0x5e9877,_0x50e7f1){return _0x5318c5(_0x172b55-_0x23df17._0x4e541f,_0x50e7f1,_0x5e9877-_0x23df17._0x99f1ac,_0x5e9877-_0x23df17._0x3e439e);}return W((_0x334c4a,_0x30513d)=>{function _0x57015b(_0x539d80,_0x5c732a,_0x2ac8db,_0x3988f7){return _0xa481(_0x2ac8db-_0x2cc217._0x3ffabf,_0x539d80);}_0x1ab501['status']==='ready'&&_0x30513d[_0x57015b(_0x28bfb8._0xc3da94,0x51f,_0x28bfb8._0x4cc454,0x797)]&&_0x5120d2&&_0x5120d2();},{'isActive':_0x1ab501[_0x1162f0(_0x36bd59._0x52e92c,0x99d,0x85e,_0x36bd59._0x435a0d)]===_0x1162f0(0x6bf,0x8b1,0x730,0x90b)}),_0x574022(_0x3daf89,{'flexDirection':'column','children':[_0x1ab501[_0x1162f0(_0x36bd59._0x478dd0,_0x36bd59._0xb77df3,_0x36bd59._0x41b4f2,_0x36bd59._0x1d95c0)]===_0x1162f0(0x822,0x8d1,0x829,_0x36bd59._0x3e1d4c)&&_0x450650(_0x46f34e,{'color':_0xd58056[_0x1162f0(0x7f5,0xa82,0x898,0x979)]||_0x1162f0(_0x36bd59._0x43f4fb,0x42c,0x541,0x316),'children':_0x1162f0(_0x36bd59._0x86180,_0x36bd59._0xaca83,_0x36bd59._0x48106f,0x6ba)}),_0x1ab501[_0x35afc7(0x4d8,_0x36bd59._0x2175d1,0x627,0x7f8)]===_0x35afc7(_0x36bd59._0x40ff47,0x581,0x4f9,_0x36bd59._0x4f39a5)&&_0x574022(_0x3daf89,{'flexDirection':_0x1162f0(0x6d1,_0x36bd59._0x2b72df,_0x36bd59._0x39a873,_0x36bd59._0x2d6955),'children':[_0x4efe03&&_0x574022(_0x10f15f,{'children':[_0x450650(_0x3daf89,{'marginTop':0x1,'children':_0x574022(_0x46f34e,{'dimColor':!0x0,'children':[_0x1162f0(_0x36bd59._0x193850,_0x36bd59._0xc36d93,_0x36bd59._0x4114c6,_0x36bd59._0x537c23),_0x450650(_0x46f34e,{'color':_0xd58056[_0x1162f0(0x9d4,0x687,_0x36bd59._0x2b817b,0x7f5)]||'blue','children':_0x1ab501[_0x35afc7(0x38f,0x35e,0x339,0x36f)]})]})}),_0x450650(_0x3daf89,{'children':_0x574022(_0x46f34e,{'dimColor':!0x0,'children':[_0x35afc7(_0x36bd59._0x17e8a1,_0x36bd59._0x34f72a,0x3e2,_0x36bd59._0x157bb2),'\x20',_0x450650(_0x46f34e,{'bold':!0x0,'color':_0xd58056[_0x1162f0(_0x36bd59._0x4c6820,0x5ac,0x62d,0x726)]||_0x35afc7(_0x36bd59._0x5447dc,_0x36bd59._0x4da103,_0x36bd59._0x352c9f,0x446),'children':_0x1ab501[_0x35afc7(_0x36bd59._0x5aaf8e,0x414,0x333,_0x36bd59._0x3a1121)]})]})})]}),_0x450650(_0x3daf89,{'marginY':0x1,'children':_0x450650(_0x46f34e,{'color':_0xd58056['waiting']||_0x35afc7(0x511,0x482,_0x36bd59._0xfb04aa,_0x36bd59._0x5382d9),'children':_0x1162f0(0x7a3,0x763,0x7f4,0x98c)})})]}),_0x1ab501['status']===_0x1162f0(0x3cf,_0x36bd59._0x2db183,_0x36bd59._0x25517f,0x546)&&_0x574022(_0x3daf89,{'flexDirection':_0x1162f0(_0x36bd59._0x52b59f,0x680,_0x36bd59._0x39a873,_0x36bd59._0x474fc9),'children':[_0x4efe03&&_0x574022(_0x10f15f,{'children':[_0x450650(_0x3daf89,{'marginTop':0x1,'children':_0x574022(_0x46f34e,{'dimColor':!0x0,'children':['Visit:\x20',_0x450650(_0x46f34e,{'color':_0xd58056[_0x1162f0(0x583,0x7a1,0x7a8,_0x36bd59._0x47d2e7)]||'blue','children':_0x1ab501[_0x1162f0(0x555,_0x36bd59._0x468125,_0x36bd59._0x620c18,_0x36bd59._0x102f97)]})]})}),_0x450650(_0x3daf89,{'children':_0x574022(_0x46f34e,{'dimColor':!0x0,'children':['Enter\x20code:','\x20',_0x450650(_0x46f34e,{'bold':!0x0,'color':_0xd58056[_0x35afc7(_0x36bd59._0x339b98,_0x36bd59._0x577a0a,_0x36bd59._0x92e557,0x1fd)]||_0x1162f0(0x4ab,_0x36bd59._0xf98471,_0x36bd59._0x19a31b,_0x36bd59._0x3d6b92),'children':_0x1ab501[_0x35afc7(_0x36bd59._0x1558e2,_0x36bd59._0x334d82,0x333,0x49c)]})]})})]}),_0x450650(_0x3daf89,{'marginY':0x1,'children':_0x450650(_0x46f34e,{'color':_0xd58056['waiting']||_0x35afc7(_0x36bd59._0x649eb,0x136,_0x36bd59._0x58c62c,0x4e9),'children':_0x1162f0(0x7ad,0x872,0x680,0x7e7)})})]}),_0x1ab501['status']==='error'&&_0x574022(_0x46f34e,{'color':_0xd58056['error']||_0x1162f0(_0x36bd59._0x56b3d0,0x7dc,0x7d4,0x83c),'children':[_0x1162f0(0x590,_0x36bd59._0x1f9bd1,0x72d,_0x36bd59._0x676ceb),_0x1ab501['error']]})]});}import{Box as _0x1c6edf,Text as _0x17628c}from'ink';import{jsx as _0x138c52,jsxs as _0x557ba7}from'react/jsx-runtime';function Fn({state:_0xf873b3,code:_0x28ed16,onCodeChange:_0x5cc052,onSubmit:_0xe087d2,onOpenBrowser:_0x51cfb5,theme:_0x597d16={}}){const _0x120866={_0x456ec9:0x9f0,_0x2c4532:0x8f7,_0x55631d:0x4b0,_0x1fd6ce:0x5a4,_0x333f64:0x58c,_0x301459:0x696,_0x26587f:0x78f,_0x5ab190:0x843,_0x2bc3d3:0x8d0,_0x2cf527:0x70c,_0x571272:0x369,_0x17c537:0x6a9,_0x21b7c6:0xa02,_0x2c14f0:0x65a,_0x376ad4:0x61e,_0x4ded2d:0x2b2,_0x3e9090:0x296,_0x3dda53:0x7f2,_0xdf967d:0x4a2,_0x32c243:0x1dd,_0x66e49d:0x418,_0x544326:0x7ec,_0x3807c3:0x7ed,_0x36e703:0x6d2,_0x4eaf87:0x5b4,_0x328051:0x70b,_0x2179cc:0x6a2,_0x1cdce0:0x7b5,_0x1f2c87:0x728,_0x672409:0x481,_0x5c978c:0x744,_0x609b71:0x6b6,_0x14779d:0x50f,_0x186821:0x4cf,_0x475373:0x82c,_0x156688:0x712,_0xf766bd:0x6b6},_0x143dc7={_0x4b390c:0x3b8,_0x1829b9:0x2b3,_0x30fe59:0x3b7,_0x29899a:0x1ac,_0x3d77a7:0x23f,_0xee1579:0x2cc},_0x1c963e={_0x568aa2:0x120,_0x39c36f:0x454},_0x59c290={_0x3ef7b3:0xd2,_0x30bd95:0x1cf};function _0x56b74a(_0x51853f,_0x2271f7,_0xde9796,_0x31428b){return _0x5318c5(_0x51853f-_0x59c290._0x3ef7b3,_0xde9796,_0xde9796-_0x59c290._0x30bd95,_0x2271f7-0x2e3);}function _0xbe2da2(_0x599eab,_0x3b4560,_0x3550a9,_0x2c8566){return _0x5318c5(_0x599eab-0x1a8,_0x599eab,_0x3550a9-_0x1c963e._0x568aa2,_0x2c8566-_0x1c963e._0x39c36f);}return W((_0x525558,_0x14b5cc)=>{const _0x1b920b={_0x1d504d:0x118};function _0x137977(_0x11b89f,_0x3d24c6,_0x936b46,_0x54d761){return _0xa481(_0x11b89f- -_0x1b920b._0x1d504d,_0x54d761);}function _0x57e823(_0x59a74c,_0x5c928e,_0x558cd6,_0x46a0b3){return _0xa481(_0x558cd6-0x306,_0x59a74c);}_0xf873b3[_0x137977(0x463,_0x143dc7._0x4b390c,_0x143dc7._0x1829b9,_0x143dc7._0x30fe59)]==='ready'&&_0x14b5cc[_0x137977(_0x143dc7._0x29899a,_0x143dc7._0x3d77a7,0x295,_0x143dc7._0xee1579)]&&_0x51cfb5&&_0x51cfb5();},{'isActive':_0xf873b3[_0xbe2da2(0xa01,_0x120866._0x456ec9,_0x120866._0x2c4532,0x843)]===_0x56b74a(_0x120866._0x55631d,_0x120866._0x1fd6ce,_0x120866._0x333f64,0x5a5)}),_0x557ba7(_0x1c6edf,{'flexDirection':_0xbe2da2(0x61a,0x58a,_0x120866._0x301459,_0x120866._0x26587f),'children':[_0xf873b3[_0xbe2da2(_0x120866._0x5ab190,0x7c0,0x8e6,0x843)]===_0xbe2da2(0x938,0x529,0x5b3,0x72a)&&_0x138c52(_0x17628c,{'color':_0x597d16[_0x56b74a(_0x120866._0x2bc3d3,_0x120866._0x2cf527,0x719,0x5e6)]||_0xbe2da2(_0x120866._0x571272,0x4ad,0x58d,0x526),'children':'Generating\x20authorization\x20URL...'}),_0xf873b3[_0xbe2da2(0x666,_0x120866._0x17c537,_0x120866._0x21b7c6,0x843)]==='ready'&&_0x557ba7(_0x1c6edf,{'flexDirection':_0x56b74a(_0x120866._0x2c14f0,_0x120866._0x376ad4,0x3ea,0x66a),'children':[_0x138c52(_0x1c6edf,{'marginTop':0x1,'children':_0x557ba7(_0x17628c,{'dimColor':!0x0,'children':[_0x56b74a(_0x120866._0x4ded2d,0x380,_0x120866._0x3e9090,0x278),_0x138c52(_0x17628c,{'color':_0x597d16[_0xbe2da2(0x8d4,0x773,_0x120866._0x3dda53,0x78d)]||_0xbe2da2(0x7a9,0x618,_0x120866._0xdf967d,0x5f9),'children':_0xf873b3['url']})]})}),_0x138c52(_0x1c6edf,{'marginTop':0x1,'children':_0x138c52(_0x17628c,{'color':_0x597d16['waiting']||_0x56b74a(_0x120866._0x32c243,0x3b5,_0x120866._0x66e49d,0x35b),'children':_0xbe2da2(0x868,_0x120866._0x544326,0x8fc,0x7d9)})})]}),_0xf873b3[_0x56b74a(_0x120866._0x3807c3,_0x120866._0x36e703,0x5b7,0x7f4)]===_0x56b74a(_0x120866._0x4eaf87,0x5b3,0x412,0x754)&&_0x557ba7(_0x1c6edf,{'flexDirection':'column','children':[_0x138c52(_0x17628c,{'children':'Browser\x20opened'}),_0x138c52(_0x17628c,{'color':_0x597d16[_0xbe2da2(_0x120866._0x328051,0x58f,_0x120866._0x2179cc,_0x120866._0x1cdce0)]||_0x56b74a(_0x120866._0x1f2c87,0x6a9,0x824,0x627),'dimColor':!0x0,'children':_0xf873b3['instructions']}),_0x138c52(_0x1c6edf,{'marginTop':0x1,'marginBottom':0x1,'children':_0x138c52(we,{'value':_0x28ed16,'placeholder':'Paste\x20authorization\x20code\x20here','onChange':_0x5cc052,'onSubmit':_0xe087d2,'focus':!0x0,'showCursor':!0x0})})]}),_0xf873b3['status']===_0xbe2da2(0x71b,0x4ef,0x725,0x6b6)&&_0x557ba7(_0x17628c,{'color':_0x597d16[_0xbe2da2(0x7b1,_0x120866._0x672409,_0x120866._0x5c978c,_0x120866._0x609b71)]||_0x56b74a(_0x120866._0x14779d,0x648,0x6d1,_0x120866._0x186821),'children':[_0xbe2da2(0x5d8,_0x120866._0x475373,0x732,_0x120866._0x156688),_0xf873b3[_0xbe2da2(0x59a,0x6f9,0x5e1,_0x120866._0xf766bd)]]})]});}import{Box as _0x1be343,Text as _0xae7cf4}from'ink';import{jsx as _0x3d77ed,jsxs as _0x32f65d}from'react/jsx-runtime';function On({value:_0x5122a9,onChange:_0x2a30e8,onSubmit:_0x531d6e,placeholder:_0x405d8c=_0x7f0a6b(0x668,0x442,0x64c,0x546),helpText:_0x470fa5,mask:_0x40657a,theme:_0x2a0040={}}){const _0x4958c7={_0x4b02a8:0x37d,_0x8d411:0x641,_0x278e84:0x2a3,_0x39599a:0x64d,_0x15c701:0x370,_0x22681b:0x511},_0x4473ab={_0x1b88f3:0x186,_0x24030f:0x19d};function _0x4c6814(_0x2b0b61,_0x3a4fc2,_0x26877c,_0xcdc1f0){return _0x7f0a6b(_0x2b0b61-0x18,_0x26877c- -_0x4473ab._0x1b88f3,_0xcdc1f0,_0xcdc1f0-_0x4473ab._0x24030f);}function _0x3515ff(_0x463b9e,_0x24ef6b,_0x196128,_0x36199b){return _0x5318c5(_0x463b9e-0x11e,_0x24ef6b,_0x196128-0x106,_0x196128-0x14b);}return _0x32f65d(_0x1be343,{'flexDirection':'column','children':[_0x3d77ed(_0x1be343,{'marginBottom':0x1,'children':_0x3d77ed(we,{'value':_0x5122a9,'placeholder':_0x405d8c,'onChange':_0x2a30e8,'onSubmit':_0x531d6e,'focus':!0x0,'showCursor':!0x0,'mask':_0x40657a})}),_0x470fa5&&_0x3d77ed(_0x1be343,{'children':_0x3d77ed(_0xae7cf4,{'color':_0x2a0040[_0x3515ff(_0x4958c7._0x4b02a8,_0x4958c7._0x8d411,0x4ac,_0x4958c7._0x278e84)]||_0x3515ff(_0x4958c7._0x39599a,_0x4958c7._0x15c701,_0x4958c7._0x22681b,0x6d2),'dimColor':!0x0,'children':_0x470fa5})})]});}import{jsx as _0x43d1ad,jsxs as _0x5f7353}from'react/jsx-runtime';var Ip='Welcome\x20to\x0a███╗\x20\x20\x20██╗\x20██╗\x20\x20\x20██╗\x20██╗\x20\x20\x20██╗\x20██╗\x20███╗\x20\x20\x20██╗\x0a██╔██╗\x20██║\x20██║\x20\x20\x20██║\x20██║\x20\x20\x20██║\x20██║\x20██╔██╗\x20██║\x0a██║╚██╗██║\x20██║\x20\x20\x20██║\x20╚██╗\x20██╔╝\x20██║\x20██║╚██╗██║\x0a██║\x20╚████║\x20╚██████╔╝\x20\x20╚████╔╝\x20\x20██║\x20██║\x20╚████║\x0a╚═╝\x20\x20╚═══╝\x20\x20╚═════╝\x20\x20\x20\x20╚═══╝\x20\x20\x20╚═╝\x20╚═╝\x20\x20╚═══╝',Pp={'device-flow':_0x7f0a6b(-0xc,0x228,0x35a,0x1d9),'token':_0x5318c5(-0x19e,0xc7,0x1f9,0x6b),'oauth-max':'Claude\x20Pro/Max\x20Account','oauth-console':_0x7f0a6b(0x5bc,0x4af,0x698,0x297),'none':'No\x20authentication'},Rp={'device-flow':'Authenticate\x20through\x20your\x20browser','token':'Manually\x20enter\x20your\x20API\x20key\x20or\x20token','oauth-max':'Use\x20your\x20Claude\x20Pro/Max\x20subscription','oauth-console':_0x5318c5(-0x46,0x53,-0x2c,0xfa),'none':_0x7f0a6b(0x55a,0x42e,0x5e0,0x3cb)},Ap={'openrouter':'sk-or-v1-...','deepinfra':_0x7f0a6b(0x3ac,0x178,0x122,0x2af),'anthropic':_0x7f0a6b(0x180,0x268,0x225,0x21c),'github':_0x5318c5(0x294,0x218,0x21a,0xe0),'zai':'Enter\x20your\x20Zai\x20API\x20key','echo':''},Ep={'openrouter':_0x5318c5(0x5a2,0x495,0x436,0x3f5),'deepinfra':_0x5318c5(0xfd,0x2c4,0x22f,0x2b7),'anthropic':_0x5318c5(0x18e,-0xa6,-0x128,0x10e),'github':_0x7f0a6b(0x4a2,0x35a,0x2cf,0x339),'zai':'Get\x20your\x20API\x20key\x20from\x20your\x20Zai\x20account','echo':''},kp=({isSelected:_0x5009ab,label:_0x252614,description:_0x4b225b})=>{const _0x37c4d6={_0x1ff5fe:0x9c0,_0x536069:0x607,_0x24e287:0x7b4,_0x426c8f:0x53b,_0x3a55e7:0x447,_0x570e90:0x2e3,_0x4eb788:0x3d9,_0x122c51:0x568,_0x575c24:0x455,_0x1edc0b:0x447,_0x57508c:0x4ed},_0x5379b2={_0x2c8d77:0x21},_0x2af960={_0x2c7efa:0x13c,_0x52b482:0x1c1,_0x446d64:0x503};let {theme:_0x29dafe}=F();function _0xced0e2(_0x212606,_0x1937ae,_0x13c606,_0xbce17e){return _0x5318c5(_0x212606-_0x2af960._0x2c7efa,_0xbce17e,_0x13c606-_0x2af960._0x52b482,_0x1937ae-_0x2af960._0x446d64);}function _0xc99bad(_0x310361,_0x3ba95c,_0x41440a,_0x1bce28){return _0x7f0a6b(_0x310361-0x1cf,_0x41440a- -0x1c,_0x1bce28,_0x1bce28-_0x5379b2._0x2c8d77);}return _0x5f7353(_0x164226,{'flexDirection':_0xced0e2(_0x37c4d6._0x1ff5fe,0x83e,_0x37c4d6._0x536069,_0x37c4d6._0x24e287),'marginBottom':0x1,'children':[_0x43d1ad(_0x164226,{'children':_0x43d1ad(_0x3799d6,{'color':_0x5009ab?_0x29dafe[_0xc99bad(0x600,_0x37c4d6._0x426c8f,_0x37c4d6._0x3a55e7,_0x37c4d6._0x570e90)]['title']:_0x29dafe[_0xced0e2(0x84a,0x88e,0x9ab,0x857)][_0xc99bad(0x1fb,0x3d2,0x41d,_0x37c4d6._0x4eb788)],'bold':_0x5009ab,'children':_0x252614})}),_0x43d1ad(_0x164226,{'paddingLeft':0x3,'children':_0x43d1ad(_0x3799d6,{'color':_0x29dafe[_0xc99bad(_0x37c4d6._0x122c51,_0x37c4d6._0x575c24,_0x37c4d6._0x1edc0b,_0x37c4d6._0x57508c)]['subtitle'],'dimColor':!0x0,'children':_0x4b225b})})]});},Lp=({isSelected:_0x5aa74f,label:_0x2f72fc,description:_0x38586c})=>{const _0x3a2488={_0x54c0a7:0x67f,_0x383edd:0x533,_0x421b9f:0x6e4,_0x5a8c94:0x413,_0x4b3c2e:0x518,_0x526db7:0x2bd},_0x24de99={_0x89a648:0x123};function _0x1eb642(_0x3e4182,_0x254fb2,_0x5589e5,_0x20a540){return _0x5318c5(_0x3e4182-0x123,_0x20a540,_0x5589e5-0x172,_0x3e4182-_0x24de99._0x89a648);}function _0x4e9360(_0x2372d6,_0x27157b,_0x3a2f44,_0x1d3d9d){return _0x5318c5(_0x2372d6-0x9e,_0x3a2f44,_0x3a2f44-0xa,_0x1d3d9d-0x2c6);}let {theme:_0x3845a9}=F();return _0x5f7353(_0x164226,{'flexDirection':_0x4e9360(_0x3a2488._0x54c0a7,_0x3a2488._0x383edd,0x45b,0x601),'marginBottom':0x1,'children':[_0x43d1ad(_0x164226,{'children':_0x43d1ad(_0x3799d6,{'color':_0x5aa74f?_0x3845a9[_0x1eb642(0x4ae,_0x3a2488._0x421b9f,0x399,0x642)][_0x4e9360(_0x3a2488._0x5a8c94,0x322,0x587,0x49d)]:_0x3845a9['welcome']['subtitle'],'bold':_0x5aa74f,'children':_0x2f72fc})}),_0x43d1ad(_0x164226,{'paddingLeft':0x3,'children':_0x43d1ad(_0x3799d6,{'color':_0x3845a9[_0x1eb642(0x4ae,_0x3a2488._0x4b3c2e,_0x3a2488._0x526db7,0x3ce)]['subtitle'],'dimColor':!0x0,'children':_0x38586c})})]});};function Dp({onComplete:_0x3b9bb3,llmFactory:_0x5f5b13}){const _0x5c5094={_0xa357f6:0x22f,_0x8fb2ad:0x159,_0x390167:0xe1,_0x3ab52c:0x17e,_0x27708f:0x23,_0x4cabbf:0x1c1,_0xa25b25:0x273,_0x1b908e:0x88,_0x187dd4:0x32,_0x1b2f89:0xe0,_0x750066:0x25a,_0x17e0f3:0x1b,_0x3c9fd2:0x26c,_0x4fb184:0x25b,_0x1e0dcb:0x1a3,_0x44621e:0x103,_0x57095d:0xa6,_0xdd989d:0x71,_0x3d41d1:0x46,_0x43f3b7:0x26e,_0x15cb50:0x7d,_0x50c108:0x182,_0x5de9e1:0x25a,_0x34b3c3:0x2f,_0xe17adb:0x2a9,_0x69642d:0x20f,_0x51383e:0x212,_0x351442:0x112,_0xc1b1fd:0x37c,_0x223be6:0x36e,_0x1431f0:0x431,_0x2915d3:0x282,_0x3c2dda:0x4a4,_0x5040bd:0x576,_0x4b2cb4:0x1bf,_0x4fa4dc:0x262,_0x5d85dd:0x415,_0x5e65db:0x122,_0x485654:0x1d8,_0x4b6824:0x282,_0x233b36:0x147,_0x5ea727:0x298,_0x1a6ce6:0x1a9,_0x321f91:0xcc,_0x4b54ae:0x469,_0x339587:0x6d,_0x466283:0x17b,_0x4ceeb2:0x14d,_0x48dea5:0x2e7,_0x25522a:0x13f,_0x2b5e20:0x130,_0x2d2d46:0x28,_0x5ddcaa:0x263,_0x531d28:0x3c7,_0x2c49f7:0x1b6,_0x4bbbae:0x197,_0x29894e:0x119,_0x373237:0x9f,_0x57dff4:0x217,_0xe21b3e:0x54,_0xd8aba7:0x167,_0x3ac3be:0x107,_0x5df1a6:0x4f,_0xd760c:0x20d,_0xe50d5c:0x95,_0xc0f262:0x14d,_0x3f6924:0x300,_0x5ec1f9:0x27c,_0xf7d1ca:0x2a0,_0x21abf0:0x4e,_0x3506ff:0x56f,_0x1cabd3:0x34f,_0x50aaa4:0x6f,_0x3a8464:0xac,_0x3e88bd:0x6,_0x4c5219:0x31,_0x244487:0x1ab,_0x3b8a2f:0x134,_0x3637:0x117,_0x5bd2fa:0x59,_0x285a59:0x143,_0x37be31:0x4f,_0x1cf9db:0x274,_0x393995:0x18c,_0x31df1b:0x115,_0x21d12e:0x124,_0xcf8f20:0x213,_0x31d301:0xb4,_0x3f1f4a:0x11,_0x5bda41:0x20b,_0x309533:0x1e,_0x5ac330:0x129,_0x53ad69:0x73,_0x2828c0:0x1bc,_0x5ceb01:0x30e,_0x219b8e:0x2b7,_0x92ff70:0x352,_0x268dcf:0x283,_0x3bb158:0x4a,_0x5aec27:0x1c5,_0x2543fc:0xfa,_0x2927bf:0x3c,_0x3b04d7:0xb3,_0x576ab0:0x19e,_0xa996:0x1ce,_0xf5284f:0x12,_0x228a6b:0x185,_0x5555f0:0xa2,_0x1347cb:0x95,_0x4d3103:0x4a,_0x22dc44:0x3ce,_0x3c0f94:0x233,_0x3fa738:0x55,_0x24782a:0x26a,_0x292134:0x283,_0x1fa926:0x364,_0xba1ea4:0x15b,_0x3213b1:0xa9,_0x5eef9c:0x277,_0x22f0fc:0x1fb,_0x56786f:0x11a,_0x2ad9db:0x34a,_0x560503:0x270,_0x5deb91:0x2aa,_0x7d515:0x324,_0x58ebcd:0xb8,_0x31bc79:0x82,_0x613aed:0x365,_0xcef9c0:0x281,_0x53535a:0x133,_0x43ff3d:0x62,_0x2b17c5:0x2f8,_0x260acb:0x3b7,_0x57fffa:0xd6,_0x5705ef:0x180,_0x16f990:0x9,_0x58e61e:0x11c,_0x182179:0xe2,_0xa4155d:0x28d,_0x56bd0e:0x18a,_0x4c27b1:0xa5,_0x146075:0x100,_0x304f73:0x11f,_0x5445aa:0xb,_0x45783f:0x3d,_0x42d7d2:0x153,_0x389853:0x2b1,_0x345d63:0x29a,_0x28bec2:0xcd,_0x214de8:0x16d,_0x4881e7:0x16,_0x10fb22:0x6b,_0x56dee4:0x37,_0x1fbf9d:0x232,_0x5e530d:0x220,_0x5884e4:0x179,_0x440491:0x282,_0x29e3eb:0x160,_0x1667c2:0x1d5,_0xdd0c35:0x181,_0x535018:0x216,_0x4fafd8:0x11f,_0x1d82d4:0x1e0,_0x1bb195:0x17a,_0x468402:0x1,_0x1656d0:0x31,_0x36f1bd:0x490,_0x5ce29e:0x335,_0x49bcda:0x282,_0x1208d8:0x16,_0x20fda5:0x14b,_0x2a97ec:0x80,_0x41ea34:0xaa,_0xc72bca:0x206,_0x30f475:0x282,_0x2a6e04:0x21,_0x4d8950:0x11e,_0x48b746:0x56,_0x55bb4d:0x1d3,_0x40b3d5:0xdc,_0x4a45ee:0x10e,_0x2dec08:0x13f,_0x37cbe1:0x24a,_0x10a901:0x3a2,_0xc1cc9:0x198,_0x3ddc3d:0x5,_0x3808a9:0x2ed,_0x286603:0x111,_0x25df07:0x1ea,_0x3a109d:0x47e,_0x4aa8db:0x2d2,_0x1a0387:0x10e,_0x1bc1be:0x81,_0x42273a:0x1b3,_0x4a6cc8:0x251,_0x1d435d:0xec,_0x303930:0x2ac,_0x578085:0x121,_0x1647aa:0x15c,_0x512f64:0x175,_0x19dadb:0xf6,_0x4d6dc4:0x215,_0x38f4fe:0x224,_0xc7d05:0x15b,_0x41c13d:0xf0,_0x50a7c7:0x1ec,_0x52f642:0x128,_0x9c3958:0x182,_0x5542c5:0x1c4,_0x1511cf:0x2d2,_0x509ec9:0x4f1,_0x4427e0:0x18b,_0x539b36:0x10a,_0x333ac6:0x7f,_0x26ba0c:0x27,_0x5231ff:0x236,_0x39e692:0x480,_0x42e5b6:0x28b,_0x22359e:0x2a8,_0x4ff850:0xef,_0x57979c:0x7e,_0x3ebfbe:0x24b,_0x4b35c1:0x332,_0x55c411:0x50,_0x1b172f:0x4b,_0x242bc0:0xc4,_0x25d853:0x16,_0x58cec2:0xe4,_0x1f6962:0x79,_0x556c8b:0x35a,_0x454aa9:0x28a,_0x34cca8:0x138,_0xd8e492:0x1b,_0x424566:0x150,_0xe58272:0xc6,_0x56e148:0x2cf,_0x481643:0x2fb,_0x543d6a:0x273,_0x18bea5:0x132,_0x5049ad:0x19,_0x1a9887:0x140,_0x109afe:0x71,_0x658c26:0x1b1,_0x2385cf:0x5b,_0x28bd66:0xc2,_0x3135a8:0x9e,_0x4378bf:0x7e,_0x34fbfb:0x102},_0x25fc9a={_0xa459ea:0x203,_0x11cf13:0x76,_0x288658:0x15,_0x2828b8:0x9c,_0x4844a9:0x57,_0x1e0059:0x18,_0x2abec1:0x1,_0x3f59e4:0x90,_0xb6d4ce:0x15c,_0x4e2a64:0x203,_0x5717d7:0x27c,_0x335b86:0x3fc,_0x4892ef:0x134,_0x5be970:0x186},_0x52ca88={_0x1b3d04:0x40},_0x470bbc={_0x499758:0x3fd,_0x68c114:0x1d2,_0x2c85c9:0x38e,_0x2a5f33:0x3a5,_0xcff5e0:0x33b,_0x24e06d:0x167,_0x2109e9:0x330,_0x2f6df2:0x1bf,_0x4eaaf9:0x209,_0x191cd6:0x5b3,_0x55d65b:0x5bd,_0x1caf18:0x459},_0x1838ab={_0x40e6b:0xdc,_0x12ae75:0x27,_0x7f20ce:0x13e},_0x272419={_0x106406:0x1e5},_0x2e7e0a={_0x1a731e:0xb9},_0x417563={_0x2553b8:0xd,_0x13c2e9:0x29b,_0x3010cb:0x1c7,_0x329174:0xac,_0x26236f:0x2d,_0x22f270:0x28e,_0x379ea6:0x1fa,_0x58f5ff:0x14,_0x35d216:0x220,_0x185917:0x82,_0x3af442:0x13c,_0x3b2021:0x100,_0x352ff3:0xc5,_0x8b464c:0x2e,_0x538d41:0xb2,_0x460c4c:0xb,_0x183428:0x57,_0x5b737a:0xde,_0x8fe777:0x12c,_0x3029d4:0x292,_0x32c1bd:0x365,_0x462d46:0xdf,_0xa0af55:0xb4,_0x1cb47f:0x11d,_0x3d4d48:0xbc,_0x2892a3:0x27f,_0x5d5c90:0x38f,_0x1a21a7:0x198,_0x55ab4c:0x84,_0x454946:0x9f,_0x4db116:0x12,_0x448c6d:0x10e,_0xc6b55b:0x30e,_0x422145:0x3a,_0x2fca42:0x179},_0xfdefca={_0x3cedd1:0x2a},_0x4ae80c={_0x30b6e3:0xa9},_0x38d4b7={_0x148e13:0x1a0,_0x13d7ac:0x39b,_0xf1ced6:0x448,_0x5d3d94:0x52d,_0x10e502:0x63b},_0x57765f={_0x16db97:0x3da,_0x338663:0x1e},_0x5643e1={_0x30af14:0x38e,_0x51d566:0x358,_0x248b6d:0x39a,_0x1fa895:0x21f,_0x324f61:0xfb,_0x21c769:0x23a,_0x8d9d4c:0x353,_0x433a82:0xdb,_0xfbe2b4:0x224,_0x41e1bf:0x1db},_0x5de233={_0x5c5b16:0x5f9},_0x36519e={_0x218c55:0x130},_0x3b3b76={_0x36527f:0x173,_0x2d3fff:0x3f0,_0x3b888f:0x3d3,_0x5b30af:0x22e,_0x1a0017:0x1c0,_0x3091c6:0x14a,_0x4bbd66:0xc1,_0x420049:0xdf,_0x46abb7:0x3b,_0x508bb6:0x272,_0x3f3527:0x18b},_0x3ec430={_0x2b5129:0x178},_0x393c4d={_0x59818f:0xa7},_0x1ca6dd={_0x377cad:0xf4,_0x3d5b9d:0x11c,_0x154f0a:0x12d,_0x2f3283:0x216,_0x3f2637:0x114,_0x1d1013:0x5b,_0x20df88:0x96},_0x4f3473={_0x298298:0x22,_0x5464ee:0x1cd},_0x17eb9a={_0x2eead9:0x8e9,_0x1c4d1e:0x4aa,_0x8ab5cf:0x4d8,_0x1aef34:0x3bf,_0xbd7c6a:0x721,_0x314b80:0x416,_0x6c3bf6:0x3ff},_0xd9abc3={_0x1ab4e5:0x106,_0x11d56c:0x69b},_0xc0d82a={_0xf35cd:0x1b,_0x56e3b9:0xdd,_0x1c5528:0x26},_0x5553e={_0x4e5415:0x32,_0x3be3ac:0xe0,_0x43df30:0x1df},_0x1b5739={_0x11112a:0x240,_0x35fe4b:0xb3,_0x2c7001:0x7e,_0x30f668:0x4,_0x3ba0a9:0x86d,_0x59043d:0x641},_0x5a36ee={_0x5e7679:0x22d,_0x99418:0x294,_0x5e63ab:0x1da,_0x16879e:0x228,_0x4be995:0x170,_0x3921bd:0x285,_0x4ae83c:0x261,_0xd459d2:0x2e,_0x4f6efa:0xaa,_0xe76e04:0x1b0,_0x40a17f:0x3c,_0x181b07:0x70,_0x9f8c79:0x32b,_0x100c77:0x34e,_0x37ce2c:0x12b,_0x127396:0x1b4,_0x81a937:0x18f,_0x903fa0:0x17c},_0x1f96b9={_0x2c459d:0x338,_0x21d7a6:0x2e0,_0x48ba50:0x423,_0x450c94:0x10a,_0x3d2dd6:0x1e2,_0x48ac7f:0xc6,_0xd13b0e:0x626,_0x5940e3:0x4a,_0x5e5e49:0x101,_0x53d30c:0x1b7,_0x248327:0x635,_0x39fe9b:0x515,_0x257fdf:0x502},_0x2bf815={_0x4873ad:0xfc},_0x245ea4={_0x31e17c:0x1ae},_0x20a1ab={_0x3a74b3:0x170,_0x5ca45f:0x33c,_0x5f4f95:0x24b};let {theme:_0x52af29}=F(),{get:_0x3eda44,set:_0x2df379}=qo(),[_0x4cdc42,_0x12e5a9]=_0x979141(_0x36b3cf(-_0x5c5094._0xa357f6,-_0x5c5094._0x8fb2ad,-0x26,_0x5c5094._0x390167)),[_0x58f72e,_0x229da5]=_0x979141('openrouter'),[_0x47c2d2,_0x23b5fd]=_0x979141(_0x326754(0x157,-0x2f,-_0x5c5094._0x3ab52c,0x1af)),[_0x2a3b43,_0x8072b3]=_0x979141(''),[_0x14bae3,_0x2333c7]=_0x979141(''),[_0x4116fc,_0x958a1a]=_0x979141(''),[_0x542bc9,_0x2baff0]=_0x979141(''),[_0x27a50f,_0x4d6256]=_0x979141(!0x1),[_0x20f1c8,_0x46ef21]=_0x979141([]),[_0x17585e,_0x260c5e]=_0x979141(null),[_0x6d3738,_0x44b180]=_0x979141([]);_0x12fc86(()=>{const _0x168743={_0x4a1bcd:0x3e1,_0x416331:0x317,_0x5b5f6e:0x672,_0x3f5f0e:0x364},_0x208bfa={_0x24346e:0x108,_0x37d0de:0x4a8,_0x35865f:0x94},_0x2cbe6d={_0x1ab63a:0x1dc,_0x2bab1b:0x1b,_0x100a93:0x1c0};function _0x56e7d6(_0x272d9c,_0x5be41d,_0x419bfc,_0x55a491){return _0x36b3cf(_0x272d9c-_0x2cbe6d._0x1ab63a,_0x55a491,_0x272d9c-_0x2cbe6d._0x2bab1b,_0x55a491-_0x2cbe6d._0x100a93);}function _0xfc5ca0(_0x1c6e0a,_0x3a57bb,_0x2f1f0a,_0x57ad94){return _0x36b3cf(_0x1c6e0a-_0x208bfa._0x24346e,_0x2f1f0a,_0x1c6e0a-_0x208bfa._0x37d0de,_0x57ad94-_0x208bfa._0x35865f);}(async()=>{function _0x1a3c54(_0x41a37c,_0x4f4b58,_0x288023,_0x4bfec1){return _0xa481(_0x288023-0x2f4,_0x4bfec1);}function _0x153543(_0x5c5544,_0x11d573,_0x44f85e,_0x272e7d){return _0xa481(_0x11d573-0xf3,_0x272e7d);}let _0x5c9678=Dn();if(_0x5c9678[_0x153543(0x24a,_0x168743._0x4a1bcd,_0x168743._0x416331,0x5c5)]>0x0){let _0x41b8ec=_0x5c9678[0x0][_0x153543(0x4af,0x2ee,0x27a,0x3b1)];_0x6d3738[_0x1a3c54(0x362,_0x168743._0x5b5f6e,0x49f,_0x168743._0x3f5f0e)](_0x585d8d=>_0x585d8d[_0x153543(0xc0,0x2ee,0x2b6,0x314)]===_0x58f72e)||_0x229da5(_0x41b8ec);}_0x44b180(_0x5c9678);})()[_0x56e7d6(0x33c,0x3f0,_0x20a1ab._0x3a74b3,_0x20a1ab._0x5ca45f)](console[_0x56e7d6(0x1c4,-0x6d,0xd6,_0x20a1ab._0x5f4f95)]);},[_0x6d3738[_0x326754(-_0x5c5094._0x27708f,-_0x5c5094._0x4cabbf,-0x3dd,-_0x5c5094._0xa25b25)],_0x58f72e]);let _0x3fcca8=_0x6d3738[_0x36b3cf(_0x5c5094._0x1b908e,0x150,-0x9a,-0x84)](_0x1dd093=>_0x1dd093['value']===_0x58f72e),_0x2d0f70=Bn(_0x58f72e),_0x2cd2d1=va(_0x58f72e),_0x1c408d=_0x20f1c8[_0x326754(-_0x5c5094._0x187dd4,-0x7e,-0x1e5,-_0x5c5094._0x1b2f89)]>0x0?_0x20f1c8:_0x2cd2d1,{state:_0x51a89b,openAndPoll:_0x5d60bc}=jr(_0x4cdc42===_0x326754(-_0x5c5094._0x750066,-0x158,-0x30f,_0x5c5094._0x17e0f3)&&_0x58f72e==='github'),_0x4205d9=_0x47c2d2===_0x326754(-_0x5c5094._0x3c9fd2,-0x21e,-_0x5c5094._0x4fb184,-_0x5c5094._0x1e0dcb)?_0x36b3cf(-0x28,-_0x5c5094._0x44621e,0xff,_0x5c5094._0x57095d):_0x36b3cf(0x1df,-0x13b,-0x14,-0xc0),{state:_0x25623b,openBrowser:_0x3d3653}=zr(_0x4cdc42===_0x326754(0x256,_0x5c5094._0xdd989d,_0x5c5094._0x3d41d1,_0x5c5094._0x43f3b7)&&_0x58f72e===_0x326754(-_0x5c5094._0x15cb50,_0x5c5094._0x50c108,_0x5c5094._0x5de9e1,_0x5c5094._0x34b3c3),_0x4205d9),{saveApiKeyAuth:_0x57ea66,saveOAuthAuth:_0x259d63}=Gr({'get':_0x3eda44,'set':_0x2df379});function _0x326754(_0x5df3fd,_0x3ae8a8,_0x333188,_0x40937e){return _0x7f0a6b(_0x5df3fd-0x15d,_0x3ae8a8- -0x2b8,_0x333188,_0x40937e-_0x245ea4._0x31e17c);}W((_0x2c7742,_0x569486)=>{function _0x15129b(_0x4ed51c,_0x46c46a,_0x497300,_0x3c3dd8){return _0x326754(_0x4ed51c-_0x2bf815._0x4873ad,_0x46c46a-0x600,_0x4ed51c,_0x3c3dd8-0x107);}function _0x2e117b(_0x250d30,_0xdae843,_0x2dc667,_0x2b2d9f){return _0x326754(_0x250d30-0x16a,_0xdae843-0xa7,_0x250d30,_0x2b2d9f-0x1a0);}_0x569486[_0x2e117b(_0x1f96b9._0x2c459d,_0x1f96b9._0x21d7a6,0x432,_0x1f96b9._0x48ba50)]&&_0x4cdc42===_0x2e117b(-_0x1f96b9._0x450c94,0xd1,_0x1f96b9._0x3d2dd6,_0x1f96b9._0x48ac7f)&&_0x12e5a9(_0x15129b(0x41a,0x4b3,_0x1f96b9._0xd13b0e,0x641)),_0x569486[_0x15129b(0x7d2,0x839,0x97d,_0x1f96b9._0xd13b0e)]&&_0x4cdc42===_0x2e117b(-0x1ee,-_0x1f96b9._0x5940e3,-_0x1f96b9._0x5e5e49,-_0x1f96b9._0x53d30c)&&(_0x2333c7(''),_0x12e5a9(_0x15129b(_0x1f96b9._0x248327,_0x1f96b9._0x39fe9b,_0x1f96b9._0x257fdf,0x612)));});let _0x4d7ec2=_0x19cab1=>{const _0x54b380={_0x937496:0x9f},_0x2acf41={_0x4addd6:0x6d};let _0x12fd47=_0x19cab1||_0x47c2d2;function _0x440199(_0x5b7db7,_0x29c48c,_0x167882,_0x284ede){return _0x36b3cf(_0x5b7db7-0xa,_0x167882,_0x29c48c-_0x2acf41._0x4addd6,_0x284ede-0x1dc);}function _0x524c3a(_0x26367c,_0x5dd4d7,_0x112063,_0x11a576){return _0x36b3cf(_0x26367c-0x18b,_0x112063,_0x5dd4d7- -0x18,_0x11a576-_0x54b380._0x937496);}if(_0x12fd47)switch(_0x12fd47){case _0x524c3a(_0x5a36ee._0x5e7679,0xe0,_0x5a36ee._0x99418,0x8a):_0x12e5a9(_0x524c3a(_0x5a36ee._0x5e63ab,_0x5a36ee._0x16879e,_0x5a36ee._0x4be995,_0x5a36ee._0x3921bd));break;case _0x524c3a(-_0x5a36ee._0x4ae83c,-_0x5a36ee._0xd459d2,-0x13f,_0x5a36ee._0x4f6efa):_0x12e5a9(_0x440199(_0x5a36ee._0xe76e04,_0x5a36ee._0x40a17f,0x1be,0x79));break;case _0x524c3a(-0x177,-0x10f,-0x141,-_0x5a36ee._0x181b07):case _0x440199(_0x5a36ee._0x9f8c79,_0x5a36ee._0x100c77,_0x5a36ee._0x37ce2c,_0x5a36ee._0x127396):_0x12e5a9(_0x524c3a(_0x5a36ee._0x81a937,0x180,0x128,0x161));break;case'none':_0x12e5a9(_0x524c3a(0x218,0x24,0x230,-_0x5a36ee._0x903fa0));break;}},_0x5e0a21=_0x4ebbab=>{const _0x23401d={_0x246a6d:0x1f3},_0x189a4b={_0x49333f:0x19};let _0xd6cd52=_0x4ebbab[_0x161507(-0x1fa,-0x7e,0xe8,-_0x1b5739._0x11112a)];function _0x21ed17(_0x42d54a,_0x381dde,_0x5c771c,_0x145b6f){return _0x36b3cf(_0x42d54a-_0x189a4b._0x49333f,_0x5c771c,_0x381dde-0x605,_0x145b6f-0x16a);}function _0x161507(_0x32ea8b,_0x5ebf92,_0x40e4b8,_0x421523){return _0x326754(_0x32ea8b-_0x23401d._0x246a6d,_0x5ebf92-0xf3,_0x32ea8b,_0x421523-0x12d);}if(_0x229da5(_0xd6cd52),_0xd6cd52!=='echo'){_0x12e5a9('auth-method');let _0x3215b0=Bn(_0xd6cd52)?.[0x0];_0x23b5fd(_0x3215b0?.[_0x161507(-_0x1b5739._0x35fe4b,-_0x1b5739._0x2c7001,_0x1b5739._0x30f668,0x125)]||_0x21ed17(_0x1b5739._0x3ba0a9,0x6fd,0x72a,_0x1b5739._0x59043d));}else _0x12e5a9('model');},_0x41f661=_0x4522d5=>{function _0x37ccdf(_0x3bbce9,_0x5aa6a4,_0x4f8e85,_0x453a37){return _0x36b3cf(_0x3bbce9-_0x5553e._0x4e5415,_0x5aa6a4,_0x453a37-_0x5553e._0x3be3ac,_0x453a37-_0x5553e._0x43df30);}let _0x2faa1a=_0x4522d5[_0x37ccdf(-_0xc0d82a._0xf35cd,_0xc0d82a._0x56e3b9,_0xc0d82a._0x1c5528,0x96)];_0x23b5fd(_0x2faa1a),_0x4d7ec2(_0x2faa1a);},_0x4443f8=_0x35f44f=>{const _0x3436f0={_0x5c2383:0xf9,_0x1e8e36:0x449,_0x7515f6:0x2f};function _0x116574(_0x1fd126,_0x5b7ea5,_0x4a5f60,_0x444ad1){return _0x326754(_0x1fd126-_0xd9abc3._0x1ab4e5,_0x5b7ea5-_0xd9abc3._0x11d56c,_0x444ad1,_0x444ad1-0xd);}function _0xe7b2a8(_0x2364ce,_0x32b604,_0x33fff6,_0x36e104){return _0x36b3cf(_0x2364ce-_0x3436f0._0x5c2383,_0x2364ce,_0x33fff6-_0x3436f0._0x1e8e36,_0x36e104-_0x3436f0._0x7515f6);}if(_0x35f44f['value']===_0x116574(0x4a7,0x6b1,0x82f,_0x17eb9a._0x2eead9)){_0x12e5a9(_0x116574(_0x17eb9a._0x1c4d1e,0x5aa,0x7a7,_0x17eb9a._0x8ab5cf));return;}_0x8072b3(_0x35f44f[_0x116574(_0x17eb9a._0x1aef34,0x52a,_0x17eb9a._0xbd7c6a,0x392)]),_0x5befba(_0x35f44f[_0xe7b2a8(0x479,_0x17eb9a._0x314b80,_0x17eb9a._0x6c3bf6,0x2d1)]);},_0x1fce7a=_0x1ef256=>{const _0x43ba4e={_0x199f30:0x94};function _0x4d373d(_0x2537f2,_0x532306,_0x58e784,_0x749a8d){return _0x36b3cf(_0x2537f2-0x14c,_0x749a8d,_0x58e784- -_0x43ba4e._0x199f30,_0x749a8d-0x50);}function _0x19b2ff(_0x5ca1c8,_0x25d14c,_0x3c8eff,_0x51e8cc){return _0x326754(_0x5ca1c8-0x62,_0x25d14c- -_0x4f3473._0x298298,_0x51e8cc,_0x51e8cc-_0x4f3473._0x5464ee);}_0x1ef256[_0x19b2ff(0x8,0x5,-_0x1ca6dd._0x377cad,_0x1ca6dd._0x3d5b9d)]()&&(_0x8072b3(_0x1ef256[_0x4d373d(_0x1ca6dd._0x154f0a,_0x1ca6dd._0x2f3283,0xba,-_0x1ca6dd._0x3f2637)]()),_0x5befba(_0x1ef256[_0x19b2ff(-0xf6,0x5,-_0x1ca6dd._0x1d1013,_0x1ca6dd._0x20df88)]()));},_0x5befba=async _0x11d43d=>{function _0x4fac86(_0x4f33ba,_0x2cf0ef,_0x21f660,_0x527d9c){return _0x326754(_0x4f33ba-0x103,_0x527d9c-0x319,_0x21f660,_0x527d9c-_0x393c4d._0x59818f);}function _0x33fa0b(_0x1b32ba,_0x3f6c3c,_0x22ccdf,_0x4c071c){return _0x326754(_0x1b32ba-0x1ad,_0x3f6c3c-0xb,_0x1b32ba,_0x4c071c-_0x3ec430._0x2b5129);}if(!_0x27a50f){_0x4d6256(!0x0);try{await _0x2df379('activeProvider',_0x58f72e,_0x33fa0b(-_0x3b3b76._0x36527f,-0x1c4,-0x278,-_0x3b3b76._0x2d3fff));let _0x21d25f=_0x11d43d||_0x2a3b43;_0x21d25f&&await _0x2df379(_0x4fac86(_0x3b3b76._0x3b888f,0x32f,0x296,_0x3b3b76._0x5b30af),_0x21d25f,_0x4fac86(0x13e,0x2bf,_0x3b3b76._0x1a0017,_0x3b3b76._0x3091c6)),_0x12e5a9('complete'),setTimeout(()=>{_0x3b9bb3();},0x5dc);}catch(_0xc52df3){console[_0x33fa0b(_0x3b3b76._0x4bbd66,0x8d,0xa6,_0x3b3b76._0x420049)](_0x4fac86(0x3,-_0x3b3b76._0x46abb7,_0x3b3b76._0x508bb6,_0x3b3b76._0x3f3527),_0xc52df3),_0x4d6256(!0x1);}}},_0x112df4=_0x40d2f4(async()=>{function _0x149e52(_0x3462ad,_0x3317c9,_0x328cb3,_0x5aa2d1){return _0x326754(_0x3462ad-_0x36519e._0x218c55,_0x3462ad-0x2c6,_0x5aa2d1,_0x5aa2d1-0x182);}if(!_0x5f5b13){_0x46ef21([]),_0x12e5a9('model');return;}function _0x49d26b(_0x27b37c,_0x39435d,_0x493383,_0x3d5c3f){return _0x36b3cf(_0x27b37c-0x176,_0x3d5c3f,_0x27b37c-_0x5de233._0x5c5b16,_0x3d5c3f-0x1b8);}_0x12e5a9('loading-models'),_0x260c5e(null);try{if(!_0x5f5b13?.[_0x149e52(_0x5643e1._0x30af14,0x2ce,0x3b5,0x197)])throw new Error(_0x149e52(_0x5643e1._0x51d566,_0x5643e1._0x248b6d,0x329,0x474));let _0x4af4a3=await _0x5f5b13['getModels'](_0x58f72e);_0x46ef21(_0x4af4a3),_0x12e5a9(_0x149e52(0x1db,_0x5643e1._0x1fa895,_0x5643e1._0x324f61,0x147));}catch(_0x19f38b){_0x260c5e(_0x19f38b instanceof Error?_0x19f38b[_0x149e52(_0x5643e1._0x21c769,_0x5643e1._0x8d9d4c,_0x5643e1._0x433a82,0xb8)]:_0x149e52(0xbf,_0x5643e1._0xfbe2b4,0x2ac,0x1d1)),_0x46ef21([]),_0x12e5a9(_0x149e52(_0x5643e1._0x41e1bf,0x271,0x1be,0x10));}},[_0x5f5b13,_0x58f72e]),_0x2a9d51=async _0x5263bc=>{function _0x4716a9(_0x478ea1,_0x5df4a6,_0xc45146,_0x4773ad){return _0x326754(_0x478ea1-0xbc,_0x4773ad-0x374,_0xc45146,_0x4773ad-0x166);}function _0x6761d4(_0x39f83b,_0xe595d8,_0x505306,_0x5c2023){return _0x36b3cf(_0x39f83b-0xbf,_0xe595d8,_0x505306-_0x57765f._0x16db97,_0x5c2023-_0x57765f._0x338663);}if(_0x5263bc[_0x4716a9(0x47f,_0x38d4b7._0x148e13,0x2f2,_0x38d4b7._0x13d7ac)]())try{await _0x57ea66(_0x58f72e,_0x5263bc[_0x6761d4(0x672,0x4c0,0x528,0x59b)]()),await _0x112df4();}catch(_0x518364){console['error'](_0x6761d4(_0x38d4b7._0xf1ced6,_0x38d4b7._0x5d3d94,_0x38d4b7._0x10e502,0x793),_0x518364);}},_0x385137=async _0x5534b2=>{function _0x1cd1b0(_0x1a6d5d,_0x2d5c96,_0x3d9353,_0x3db6a9){return _0x36b3cf(_0x1a6d5d-0x1e2,_0x3db6a9,_0x3d9353- -_0x4ae80c._0x30b6e3,_0x3db6a9-0x1f);}function _0x5c04e7(_0x19f24f,_0x4e911a,_0x3773ff,_0x516952){return _0x326754(_0x19f24f-_0xfdefca._0x3cedd1,_0x19f24f- -0x48,_0x3773ff,_0x516952-0xf6);}if(!(!_0x5534b2[_0x1cd1b0(-_0x417563._0x2553b8,_0x417563._0x13c2e9,0xa5,-0x5a)]()||_0x25623b[_0x5c04e7(_0x417563._0x3010cb,_0x417563._0x329174,0xa7,0x0)]!=='pending'))try{let _0x590b6a=await Xs(_0x5534b2['trim'](),_0x25623b[_0x1cd1b0(_0x417563._0x26236f,0x361,0x1d0,_0x417563._0x22f270)]);if(_0x590b6a[_0x1cd1b0(_0x417563._0x379ea6,0x120,-_0x417563._0x58f5ff,_0x417563._0x35d216)]==='failed'){console[_0x1cd1b0(_0x417563._0x185917,_0x417563._0x3af442,_0x417563._0x3b2021,-_0x417563._0x352ff3)](_0x5c04e7(-_0x417563._0x8b464c,-0x43,-0x243,-_0x417563._0x538d41));return;}if(_0x4205d9==='console'){if(!_0x590b6a[_0x5c04e7(-0x11d,-0x28d,_0x417563._0x460c4c,0x2a)]){console['error']('No\x20access\x20token\x20received');return;}let _0x2f813f=await Js(_0x590b6a[_0x1cd1b0(-0x20d,0x173,-_0x417563._0x183428,-_0x417563._0x5b737a)]);if(_0x2f813f['type']==='failed'||!_0x2f813f[_0x1cd1b0(_0x417563._0x8fe777,0x153,_0x417563._0x3029d4,_0x417563._0x32c1bd)]){console[_0x1cd1b0(-_0x417563._0x462d46,0xdd,_0x417563._0x3b2021,0x2c2)](_0x5c04e7(0x11f,-_0x417563._0xa0af55,0x15a,0x10f));return;}await _0x57ea66(_0x58f72e,_0x2f813f['key']);}else{if(!_0x590b6a[_0x5c04e7(-_0x417563._0x1cb47f,_0x417563._0x3d4d48,-0x4f,-_0x417563._0x2892a3)]||!_0x590b6a['refresh']){console['error'](_0x1cd1b0(-_0x417563._0x5d5c90,-0x184,-_0x417563._0x1a21a7,-_0x417563._0x55ab4c));return;}await _0x259d63(_0x58f72e,_0x590b6a[_0x5c04e7(-_0x417563._0x1cb47f,-_0x417563._0x454946,_0x417563._0x4db116,0xb1)],_0x590b6a['refresh'],_0x590b6a[_0x5c04e7(-_0x417563._0x448c6d,-0x205,-_0x417563._0xc6b55b,0x11a)]);}await _0x112df4();}catch(_0x3767e7){console[_0x5c04e7(_0x417563._0x422145,_0x417563._0x2fca42,-0x16f,0x1b)]('OAuth\x20failed:',_0x3767e7);}};function _0x36b3cf(_0x46c7ed,_0x5d32a7,_0x35f968,_0x8b421d){return _0x5318c5(_0x46c7ed-0x93,_0x5d32a7,_0x35f968-0x30,_0x35f968- -_0x2e7e0a._0x1a731e);}return _0x12fc86(()=>{const _0x36ceca={_0x2b4d33:0x128};function _0x2636cd(_0x14604a,_0x5211b0,_0x37d577,_0x541d96){return _0x326754(_0x14604a-_0x272419._0x106406,_0x14604a-0x4cf,_0x541d96,_0x541d96-0x60);}function _0x5db85d(_0x25b081,_0x4faa2a,_0x13cfc9,_0x3a2afc){return _0x36b3cf(_0x25b081-0x155,_0x13cfc9,_0x4faa2a- -_0x36ceca._0x2b4d33,_0x3a2afc-0xa0);}if(_0x4cdc42===_0x5db85d(_0x1838ab._0x40e6b,-0xec,-0x248,_0x1838ab._0x12ae75)&&_0x1c408d[_0x5db85d(-_0x1838ab._0x7f20ce,-0x7f,-0x37,-0x1bd)]>0x0&&!_0x2a3b43){let _0x5d6e84=_0x1c408d[0x0];_0x5d6e84&&_0x8072b3(_0x5d6e84);}},[_0x4cdc42,_0x1c408d,_0x2a3b43]),_0x12fc86(()=>{const _0x1aebd9={_0x34b7f5:0xa4,_0x1e7fdb:0x488,_0x5f20fb:0xc7},_0x102c6e={_0x3544da:0x6d};function _0x3fc59a(_0x4aa268,_0x310262,_0x1c64d2,_0x44c3c7){return _0x36b3cf(_0x4aa268-_0x102c6e._0x3544da,_0x44c3c7,_0x4aa268-0xc7,_0x44c3c7-0xab);}function _0x4da447(_0x21b34c,_0xea25ff,_0x20d5db,_0x509f65){return _0x326754(_0x21b34c-_0x1aebd9._0x34b7f5,_0x509f65-_0x1aebd9._0x1e7fdb,_0xea25ff,_0x509f65-_0x1aebd9._0x5f20fb);}_0x51a89b[_0x3fc59a(_0x470bbc._0x499758,_0x470bbc._0x68c114,_0x470bbc._0x2c85c9,_0x470bbc._0x2a5f33)]===_0x4da447(0x494,0x434,0x273,0x47b)&&_0x4cdc42===_0x4da447(_0x470bbc._0xcff5e0,0x1a0,_0x470bbc._0x24e06d,_0x470bbc._0x2109e9)&&_0x3fc59a(_0x470bbc._0x2f6df2,0x104,0x4,_0x470bbc._0x4eaaf9)in _0x51a89b&&_0x51a89b[_0x4da447(0x418,_0x470bbc._0x191cd6,_0x470bbc._0x55d65b,_0x470bbc._0x1caf18)]&&((async()=>(await _0x57ea66(_0x58f72e,_0x51a89b[_0x3fc59a(0x1bf,0x1a3,0x326,0x168)]),await _0x112df4()))());},[_0x51a89b[_0x326754(_0x5c5094._0xe17adb,_0x5c5094._0x69642d,0xe,0x1a0)],_0x4cdc42,_0x51a89b,_0x58f72e,_0x57ea66,_0x112df4]),_0x5f7353(_0x164226,{'flexDirection':'column','width':_0x36b3cf(-_0x5c5094._0x51383e,_0x5c5094._0x351442,-0x3d,-0x188),'paddingX':0x2,'paddingY':0x1,'children':[_0x5f7353(_0x164226,{'alignItems':_0x326754(-_0x5c5094._0xc1b1fd,-0x1a9,-0x2f1,-_0x5c5094._0x223be6),'paddingBottom':0x1,'flexDirection':_0x36b3cf(_0x5c5094._0x1431f0,0x3f1,_0x5c5094._0x2915d3,_0x5c5094._0x3c2dda),'children':[_0x43d1ad(_0x33db3c,{'colors':['#FF5F6D','#FFC371'],'children':_0x43d1ad(_0x3799d6,{'children':Ip})}),_0x43d1ad(_0x164226,{'alignSelf':_0x36b3cf(0x488,_0x5c5094._0x5040bd,0x36d,_0x5c5094._0x4b2cb4),'marginRight':0x14,'children':_0x43d1ad(_0x33db3c,{'colors':[_0x36b3cf(0x46d,0x9f,_0x5c5094._0x4fa4dc,_0x5c5094._0x5d85dd),_0x36b3cf(_0x5c5094._0x5e65db,-0x98,0x106,0x90)],'children':_0x43d1ad(_0x3799d6,{'children':'v'+_0x5aff65()})})})]}),_0x5f7353(_0x164226,{'flexDirection':_0x36b3cf(_0x5c5094._0x485654,0x413,_0x5c5094._0x4b6824,_0x5c5094._0x233b36),'alignItems':_0x326754(-_0x5c5094._0x5ea727,-_0x5c5094._0x1a6ce6,-_0x5c5094._0x321f91,-0x33d),'marginTop':0x1,'marginBottom':0x1,'children':[_0x5f7353(_0x3799d6,{'color':_0x52af29[_0x36b3cf(_0x5c5094._0x4b54ae,0x4fa,0x2d2,0x4e1)][_0x36b3cf(0x175,-0x90,0x11e,_0x5c5094._0x339587)],'bold':!0x0,'children':[_0x4cdc42===_0x326754(-_0x5c5094._0x466283,-_0x5c5094._0x4ceeb2,-_0x5c5094._0x48dea5,-_0x5c5094._0x25522a)&&_0x326754(0x348,_0x5c5094._0x2b5e20,-_0x5c5094._0x2d2d46,0x118),_0x4cdc42===_0x326754(_0x5c5094._0x5ddcaa,0x2a,-0x205,-0x49)&&_0x326754(-_0x5c5094._0x531d28,-_0x5c5094._0x2c49f7,-0x33d,-_0x5c5094._0x4bbbae),_0x4cdc42===_0x326754(0xdd,_0x5c5094._0x29894e,_0x5c5094._0x373237,0xda)&&_0x36b3cf(_0x5c5094._0x57dff4,_0x5c5094._0xe21b3e,_0x5c5094._0xd8aba7,_0x5c5094._0x3ac3be),_0x4cdc42==='auth-device-flow'&&_0x36b3cf(_0x5c5094._0x5df1a6,_0x5c5094._0xd760c,_0x5c5094._0x4b2cb4,0x2d),_0x4cdc42===_0x326754(_0x5c5094._0xe50d5c,_0x5c5094._0xdd989d,0x130,-_0x5c5094._0xc0f262)&&_0x36b3cf(0x13c,0xd7,_0x5c5094._0x3f6924,0x24d),_0x4cdc42===_0x326754(_0x5c5094._0x5ec1f9,0x1bc,_0x5c5094._0xf7d1ca,_0x5c5094._0x21abf0)&&'Loading\x20Models',_0x4cdc42==='model'&&_0x36b3cf(_0x5c5094._0x3506ff,_0x5c5094._0x1cabd3,0x355,0x2fc),_0x4cdc42==='model-custom'&&'Enter\x20Custom\x20Model',_0x4cdc42===_0x326754(_0x5c5094._0x50aaa4,_0x5c5094._0x3a8464,-_0x5c5094._0x3e88bd,_0x5c5094._0x4c5219)&&'Setup\x20Complete']}),_0x5f7353(_0x3799d6,{'color':_0x52af29[_0x326754(0x395,_0x5c5094._0x244487,0x3c,_0x5c5094._0x3b8a2f)]['subtitle'],'dimColor':!0x0,'children':[_0x4cdc42===_0x36b3cf(-0x1c2,-_0x5c5094._0x3637,-0x26,0xc5)&&_0x36b3cf(0x1c2,-0x19e,-_0x5c5094._0x5bd2fa,_0x5c5094._0x285a59),_0x4cdc42===_0x36b3cf(0x7a,-_0x5c5094._0x37be31,0x151,_0x5c5094._0x1cf9db)&&'How\x20would\x20you\x20like\x20to\x20authenticate?',_0x4cdc42==='auth-input'&&_0x326754(-0x34b,-_0x5c5094._0x393995,_0x5c5094._0x34b3c3,-_0x5c5094._0x31df1b)+_0x3fcca8?.[_0x326754(-_0x5c5094._0x21d12e,-0xa2,0x150,-_0x5c5094._0xcf8f20)]+_0x326754(0x17e,-_0x5c5094._0x31d301,-0x1be,0x182),_0x4cdc42===_0x36b3cf(-0x159,0xb5,-0x31,-_0x5c5094._0x3f1f4a)&&_0x326754(-0xf5,-_0x5c5094._0x5bda41,-_0x5c5094._0x309533,-0x342),_0x4cdc42===_0x326754(-_0x5c5094._0x5ac330,_0x5c5094._0xdd989d,-_0x5c5094._0x53ad69,0x1e8)&&_0x326754(0x1ae,_0x5c5094._0x321f91,-0x52,_0x5c5094._0x48dea5),_0x4cdc42===_0x326754(0x3c7,_0x5c5094._0x2828c0,_0x5c5094._0x5ceb01,0x2ef)&&'Fetching\x20available\x20models\x20from\x20'+(_0x3fcca8?.['label']||_0x3fcca8?.[_0x326754(-_0x5c5094._0x233b36,-0x171,-_0x5c5094._0x219b8e,-_0x5c5094._0x92ff70)]||_0x36b3cf(0x103,0x2b9,0x233,0x1bd))+_0x36b3cf(_0x5c5094._0x268dcf,_0x5c5094._0x3bb158,_0x5c5094._0x5aec27,0xc8),_0x4cdc42===_0x36b3cf(_0x5c5094._0x2543fc,-0x40,_0x5c5094._0x2927bf,-_0x5c5094._0x3b04d7)&&'Choose\x20a\x20model\x20for\x20your\x20conversations:',_0x4cdc42===_0x326754(-0x7c,-0xf1,-_0x5c5094._0x576ab0,-_0x5c5094._0xa996)&&_0x326754(_0x5c5094._0xf5284f,0x183,0x235,_0x5c5094._0x228a6b)+(_0x3fcca8?.[_0x326754(0x75,-_0x5c5094._0x5555f0,-0x64,0x1c)]||_0x3fcca8?.[_0x36b3cf(-_0x5c5094._0x1347cb,0x59,-_0x5c5094._0x4d3103,0x1e9)]||_0x36b3cf(0x315,_0x5c5094._0x22dc44,_0x5c5094._0x3c0f94,_0x5c5094._0x3fa738))+':',_0x4cdc42===_0x36b3cf(-0x4c,-0x53,0x1d3,_0x5c5094._0x24782a)&&'Configuration\x20saved!\x20Starting\x20Nuvin...']})]}),_0x4cdc42===_0x326754(-0x229,-0x14d,-_0x5c5094._0x292134,-_0x5c5094._0x1fa926)&&_0x43d1ad(_0x164226,{'flexDirection':_0x326754(0x208,_0x5c5094._0xba1ea4,0x13a,-0x9a),'alignItems':'center','marginTop':0x1,'children':_0x6d3738[_0x36b3cf(-0x184,0x21a,_0x5c5094._0x3213b1,_0x5c5094._0x5eef9c)]===0x0?_0x43d1ad(_0x164226,{'children':_0x43d1ad(_0x3799d6,{'color':'yellow','children':_0x326754(-0x3aa,-_0x5c5094._0x22f0fc,-_0x5c5094._0x56786f,-_0x5c5094._0x2ad9db)})}):_0x43d1ad(xt,{'items':_0x6d3738['map'](_0x3dfe1c=>{const _0x250b5e={_0x3a9bf4:0x105,_0x1145fb:0xa3};function _0x1bffb5(_0x2cdc1e,_0x12b61b,_0x5815cc,_0x2143f7){return _0x36b3cf(_0x2cdc1e-_0x250b5e._0x3a9bf4,_0x12b61b,_0x2cdc1e-0x17e,_0x2143f7-_0x250b5e._0x1145fb);}let [_0x1df7fa,_0x30b3fa]=_0x3dfe1c[_0x1bffb5(_0x25fc9a._0xa459ea,_0x25fc9a._0x11cf13,-0x31,_0x25fc9a._0x288658)][_0x1bffb5(_0x25fc9a._0x2828b8,_0x25fc9a._0x4844a9,-0x8d,_0x25fc9a._0x1e0059)](_0x5c618f(_0x25fc9a._0x2abec1,0x6a,_0x25fc9a._0x3f59e4,-_0x25fc9a._0xb6d4ce))?_0x3dfe1c[_0x1bffb5(_0x25fc9a._0x4e2a64,0x62,0x242,0xfb)]['split'](_0x5c618f(0x1,0x1a8,-0xee,-0x56),0x2):[_0x3dfe1c[_0x1bffb5(_0x25fc9a._0xa459ea,_0x25fc9a._0x5717d7,0x37e,_0x25fc9a._0x335b86)],''];function _0x5c618f(_0x12c57d,_0x2e1d16,_0x1dd91f,_0x2d406d){return _0x36b3cf(_0x12c57d-_0x52ca88._0x1b3d04,_0x2d406d,_0x12c57d- -0x3e,_0x2d406d-0xe6);}return{'key':_0x3dfe1c[_0x1bffb5(_0x25fc9a._0x4892ef,_0x25fc9a._0x5be970,-0x18,0x366)],'value':_0x3dfe1c['value'],'label':_0x1df7fa,'description':_0x30b3fa};}),'itemComponent':({isSelected:_0x449f31,..._0x4081ff})=>_0x43d1ad(kp,{'isSelected':!!_0x449f31,..._0x4081ff}),'onSelect':_0x5e0a21})}),_0x4cdc42===_0x36b3cf(_0x5c5094._0x560503,_0x5c5094._0x5deb91,0x151,0x360)&&_0x5f7353(_0x164226,{'flexDirection':_0x326754(-0x71,_0x5c5094._0xba1ea4,_0x5c5094._0x7d515,-_0x5c5094._0x58ebcd),'alignItems':_0x36b3cf(-0xd3,0xbc,-_0x5c5094._0x31bc79,0xda),'marginTop':0x1,'children':[_0x43d1ad(_0x164226,{'marginBottom':0x1,'flexDirection':_0x326754(_0x5c5094._0x613aed,0x15b,_0x5c5094._0xcef9c0,_0x5c5094._0x53535a),'alignItems':_0x326754(_0x5c5094._0x43ff3d,-_0x5c5094._0x1a6ce6,-_0x5c5094._0x2b17c5,0x7d),'children':_0x43d1ad(_0x3799d6,{'color':_0x52af29[_0x36b3cf(_0x5c5094._0x260acb,0x1fa,0x2d2,_0x5c5094._0x57fffa)][_0x326754(-_0x5c5094._0x5705ef,-_0x5c5094._0x16f990,-0x10b,_0x5c5094._0x58e61e)],'bold':!0x0,'children':_0x3fcca8?.[_0x326754(-_0x5c5094._0x182179,-_0x5c5094._0x5555f0,-_0x5c5094._0xa4155d,-_0x5c5094._0x4ceeb2)]})}),_0x43d1ad(xt,{'items':_0x2d0f70[_0x326754(-_0x5c5094._0x56bd0e,0x56,-0x1b1,_0x5c5094._0x4c27b1)](_0x548d21=>({'key':_0x548d21['value'],'value':_0x548d21[_0x326754(-0x35b,-0x171,0xa4,-0x35c)],'label':Pp[_0x548d21['value']],'description':Rp[_0x548d21[_0x36b3cf(0x1de,-0x24,-0x4a,0xda)]]})),'itemComponent':({isSelected:_0x487e85,..._0x2e2de5})=>_0x43d1ad(Lp,{'isSelected':!!_0x487e85,..._0x2e2de5}),'onSelect':_0x41f661}),_0x43d1ad(_0x164226,{'marginTop':0x2,'children':_0x43d1ad(_0x3799d6,{'color':_0x52af29['welcome']['subtitle'],'dimColor':!0x0,'children':_0x326754(0x1ca,_0x5c5094._0x146075,-_0x5c5094._0x304f73,-_0x5c5094._0x5445aa)})})]}),_0x4cdc42===_0x36b3cf(0xea,_0x5c5094._0x45783f,0x240,_0x5c5094._0x42d7d2)&&_0x5f7353(_0x164226,{'flexDirection':_0x36b3cf(_0x5c5094._0x389853,_0x5c5094._0x345d63,0x282,_0x5c5094._0x292134),'alignItems':_0x326754(_0x5c5094._0x5445aa,-0x1a9,-0x183,-_0x5c5094._0x28bec2),'marginTop':0x1,'children':[_0x5f7353(_0x164226,{'borderStyle':_0x326754(-_0x5c5094._0x214de8,-_0x5c5094._0x4881e7,-_0x5c5094._0x10fb22,0x7c),'borderColor':_0x52af29['welcome'][_0x326754(-0x2ab,-0xaa,_0x5c5094._0x56dee4,-_0x5c5094._0x1fbf9d)],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':_0x36b3cf(_0x5c5094._0x5e530d,_0x5c5094._0x5884e4,_0x5c5094._0x440491,_0x5c5094._0x29e3eb),'children':[_0x43d1ad(_0x164226,{'marginBottom':0x1,'children':_0x43d1ad(_0x3799d6,{'color':_0x52af29['welcome']['title'],'bold':!0x0,'children':_0x3fcca8?.[_0x326754(-0x8e,-0xa2,-0x31,-_0x5c5094._0x1667c2)]})}),_0x43d1ad(On,{'value':_0x4116fc,'onChange':_0x958a1a,'onSubmit':_0x2a9d51,'placeholder':Ap[_0x58f72e],'helpText':Ep[_0x58f72e],'mask':'*','theme':{'subtitle':_0x52af29['welcome'][_0x326754(0x30c,_0x5c5094._0xdd0c35,_0x5c5094._0x535018,0x2b2)]}})]}),_0x43d1ad(_0x164226,{'marginTop':0x2,'children':_0x43d1ad(_0x3799d6,{'color':_0x52af29[_0x326754(0xc3,_0x5c5094._0x244487,_0x5c5094._0x4fafd8,-0x3c)][_0x36b3cf(_0x5c5094._0x1d82d4,0x41f,0x2a8,0x247)],'dimColor':!0x0,'children':_0x326754(0x213,_0x5c5094._0x1bb195,-_0x5c5094._0x468402,0x13e)})})]}),_0x4cdc42===_0x36b3cf(-0x9e,-0xe7,-_0x5c5094._0x1656d0,0x40)&&_0x43d1ad(_0x164226,{'flexDirection':_0x36b3cf(_0x5c5094._0x36f1bd,_0x5c5094._0x5ce29e,_0x5c5094._0x49bcda,0x2d1),'alignItems':'center','marginTop':0x1,'children':_0x5f7353(_0x164226,{'borderStyle':_0x326754(-0xf9,-_0x5c5094._0x1208d8,_0x5c5094._0x5884e4,0x115),'borderColor':_0x52af29[_0x326754(_0x5c5094._0x20fda5,_0x5c5094._0x244487,0x108,0x2be)][_0x326754(-_0x5c5094._0x2a97ec,-_0x5c5094._0x41ea34,-0x2af,_0x5c5094._0x5445aa)],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':_0x36b3cf(0x397,_0x5c5094._0xc72bca,_0x5c5094._0x30f475,0x20d),'children':[_0x43d1ad(_0x164226,{'marginBottom':0x1,'children':_0x5f7353(_0x3799d6,{'color':_0x52af29['welcome'][_0x36b3cf(_0x5c5094._0x2a6e04,0x109,_0x5c5094._0x4d8950,-_0x5c5094._0x48b746)],'bold':!0x0,'children':[_0x3fcca8?.[_0x326754(-0x84,-_0x5c5094._0x5555f0,-_0x5c5094._0x55bb4d,_0x5c5094._0x40b3d5)],'\x20-\x20Device\x20Flow']})}),_0x43d1ad(_n,{'state':_0x51a89b,'onOpenBrowser':_0x5d60bc,'showCode':!0x0,'theme':{'waiting':_0x326754(-0x23e,-_0x5c5094._0x4a45ee,-_0x5c5094._0x2dec08,-0x306),'link':_0x326754(-0x1b2,-0x3b,0x111,-0x1bb),'code':_0x326754(0x11c,-0xe1,-0x71,-0x175),'error':_0x36b3cf(0x187,0x1e5,0x2ac,0x47a)}})]})}),_0x4cdc42===_0x36b3cf(_0x5c5094._0x37cbe1,_0x5c5094._0x10a901,_0x5c5094._0xc1cc9,0x340)&&_0x5f7353(_0x164226,{'flexDirection':_0x326754(-0x14,0x15b,-0x16,-_0x5c5094._0x3ddc3d),'alignItems':'center','marginTop':0x1,'children':[_0x5f7353(_0x164226,{'borderStyle':_0x36b3cf(-0x8f,_0x5c5094._0x3808a9,_0x5c5094._0x286603,0x6a),'borderColor':_0x52af29['welcome'][_0x326754(0x153,-0xaa,-_0x5c5094._0x56dee4,-_0x5c5094._0x25df07)],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':'column','children':[_0x43d1ad(_0x164226,{'marginBottom':0x1,'children':_0x5f7353(_0x3799d6,{'color':_0x52af29[_0x36b3cf(_0x5c5094._0x3a109d,0x4c6,_0x5c5094._0x4aa8db,0x2aa)]['title'],'bold':!0x0,'children':[_0x3fcca8?.[_0x326754(-0x250,-_0x5c5094._0x5555f0,-_0x5c5094._0x53ad69,0x55)],'\x20-\x20OAuth']})}),_0x43d1ad(Fn,{'state':_0x25623b,'code':_0x542bc9,'onCodeChange':_0x2baff0,'onSubmit':_0x385137,'onOpenBrowser':_0x3d3653,'theme':{'waiting':_0x326754(-0x206,-_0x5c5094._0x1a0387,-_0x5c5094._0x1bc1be,-_0x5c5094._0x42273a),'link':_0x36b3cf(0x2cc,_0x5c5094._0x4a6cc8,_0x5c5094._0x1d435d,0x43),'error':_0x36b3cf(_0x5c5094._0x2b5e20,0x319,_0x5c5094._0x303930,_0x5c5094._0x578085),'subtitle':_0x52af29[_0x36b3cf(0x4a0,0x171,_0x5c5094._0x4aa8db,0x367)][_0x326754(_0x5c5094._0x1647aa,0x181,_0x5c5094._0x512f64,0x315)]}})]}),_0x25623b['status']===_0x36b3cf(0x8b,_0x5c5094._0x44621e,_0x5c5094._0x57dff4,0x317)&&_0x43d1ad(_0x164226,{'marginTop':0x2,'children':_0x43d1ad(_0x3799d6,{'color':_0x52af29[_0x36b3cf(0xdd,0x363,0x2d2,_0x5c5094._0x7d515)]['subtitle'],'dimColor':!0x0,'children':_0x326754(-0x2f8,-_0x5c5094._0x19dadb,0x118,-_0x5c5094._0x4d6dc4)})})]}),_0x4cdc42===_0x36b3cf(0x1c4,_0x5c5094._0x38f4fe,0x2e3,0x4d7)&&_0x43d1ad(_0x164226,{'flexDirection':_0x326754(-0x89,_0x5c5094._0xc7d05,0x27b,0x277),'alignItems':'center','marginTop':0x2,'children':_0x43d1ad(_0x3799d6,{'color':_0x326754(_0x5c5094._0x41c13d,-0x10e,0x109,-0xd),'children':'Loading\x20models...'})}),_0x4cdc42===_0x36b3cf(-0x33,_0x5c5094._0x50a7c7,0x3c,_0x5c5094._0x52f642)&&_0x5f7353(_0x164226,{'flexDirection':'column','alignItems':_0x36b3cf(0x15,-0x1d5,-0x82,0x13f),'marginTop':0x1,'children':[_0x5f7353(_0x164226,{'marginBottom':0x1,'flexDirection':_0x326754(0x275,0x15b,0x10f,0x16b),'alignItems':'center','children':[_0x43d1ad(_0x3799d6,{'color':_0x52af29[_0x36b3cf(_0x5c5094._0x9c3958,_0x5c5094._0x5542c5,_0x5c5094._0x1511cf,_0x5c5094._0x509ec9)][_0x326754(_0x5c5094._0x4427e0,-0x9,-_0x5c5094._0x539b36,-0x9f)],'bold':!0x0,'children':_0x3fcca8?.[_0x36b3cf(-0x173,-0x1,0x85,-0xfd)]}),_0x17585e&&_0x43d1ad(_0x3799d6,{'color':_0x326754(_0x5c5094._0x333ac6,-0xe1,-0x6,-0x316),'dimColor':!0x0,'children':_0x17585e}),_0x20f1c8[_0x36b3cf(-0x10,-_0x5c5094._0x26ba0c,_0x5c5094._0x3213b1,_0x5c5094._0x3d41d1)]>0x0&&_0x5f7353(_0x3799d6,{'color':_0x52af29[_0x36b3cf(_0x5c5094._0x5231ff,0x2e8,0x2d2,0xb3)][_0x36b3cf(_0x5c5094._0x39e692,_0x5c5094._0x42e5b6,_0x5c5094._0x22359e,0x27d)],'dimColor':!0x0,'children':[_0x1c408d[_0x326754(-_0x5c5094._0x4ff850,-_0x5c5094._0x57979c,-_0x5c5094._0x3ebfbe,-0x239)],_0x36b3cf(0x554,0x385,_0x5c5094._0x4b35c1,0x284)]})]}),_0x1c408d[_0x326754(0xdd,-0x7e,0x107,-0x13d)]>0xa?_0x43d1ad(Ln,{'items':_0x1c408d[_0x36b3cf(-_0x5c5094._0x55c411,_0x5c5094._0x1b172f,0x17d,0x90)](_0x47f9b1=>({'label':_0x47f9b1,'value':_0x47f9b1})),'placeholder':'Type\x20to\x20search\x20models...','maxDisplayItems':0xa,'enableRotation':!0x0,'onSelect':_0x32ed46=>_0x4443f8({'label':_0x32ed46[_0x326754(0xa4,-0xa2,-0x191,-0xcb)],'value':_0x32ed46[_0x326754(-0x235,-0x171,-0x36f,-0x14e)],'key':_0x32ed46['value']}),'onCancel':()=>_0x12e5a9(_0x326754(-0xfc,0x2a,0x235,0x195))}):_0x43d1ad(xt,{'items':[..._0x1c408d[_0x36b3cf(0xcb,-0xa9,0x17d,-0x3e)](_0x264626=>({'key':_0x264626,'value':_0x264626,'label':_0x264626})),{'key':_0x326754(-0x47,0x16,0x171,-_0x5c5094._0x242bc0),'value':_0x326754(-0x5a,_0x5c5094._0x25d853,0x1e4,-0x1a8),'label':_0x36b3cf(0x2a4,_0x5c5094._0x58cec2,_0x5c5094._0x1f6962,_0x5c5094._0x244487)}],'onSelect':_0x4443f8})]}),_0x4cdc42==='model-custom'&&_0x5f7353(_0x164226,{'flexDirection':'column','alignItems':'center','marginTop':0x1,'children':[_0x5f7353(_0x164226,{'marginBottom':0x1,'children':[_0x43d1ad(_0x3799d6,{'color':_0x52af29[_0x326754(_0x5c5094._0x556c8b,_0x5c5094._0x244487,0x24c,_0x5c5094._0x454aa9)][_0x326754(_0x5c5094._0x34cca8,-0x9,_0x5c5094._0xd8e492,-_0x5c5094._0x5542c5)],'children':_0x36b3cf(_0x5c5094._0x424566,0x12,_0x5c5094._0xe58272,_0x5c5094._0x56e148)}),_0x43d1ad(we,{'value':_0x14bae3,'onChange':_0x2333c7,'onSubmit':_0x1fce7a,'placeholder':'e.g.,\x20gpt-4o\x20or\x20anthropic/claude-3-opus'})]}),_0x43d1ad(_0x3799d6,{'color':_0x52af29[_0x36b3cf(_0x5c5094._0x481643,0x1aa,0x2d2,_0x5c5094._0x543d6a)]['subtitle'],'dimColor':!0x0,'children':_0x326754(-0x83,0x21,-_0x5c5094._0x18bea5,0x224)})]}),_0x4cdc42===_0x326754(_0x5c5094._0x5049ad,0xac,-0x16,_0x5c5094._0x1a9887)&&_0x43d1ad(_0x164226,{'flexDirection':_0x326754(-0x7c,0x15b,_0x5c5094._0x109afe,-0xdc),'alignItems':_0x36b3cf(_0x5c5094._0x658c26,-_0x5c5094._0x2385cf,-0x82,-_0x5c5094._0x28bd66),'marginTop':0x2,'children':_0x43d1ad(_0x3799d6,{'color':_0x36b3cf(-_0x5c5094._0x3135a8,-0x5b,_0x5c5094._0x4378bf,_0x5c5094._0x41ea34),'children':_0x36b3cf(_0x5c5094._0x34fbfb,0x235,0x21a,0x3b2)})})]});}import{Box as _0x169979,Text as _0x567bba}from'ink';import{jsx as _0x466ad7,jsxs as _0x3f8be8}from'react/jsx-runtime';import{useRef as _0x5546c6,useCallback as _0x1e0c34,useState as _0x238dca,useEffect as _0x2870bb,forwardRef as _0x12ef66,useImperativeHandle as _0x4510d7,createContext as _0x3afa07,useContext as _0x1e761e}from'react';import{Box as _0x3f6311,useStdout as _0x3824a1,useStdin as _0x30fc76}from'ink';import{jsx as _0x26a12f}from'react/jsx-runtime';var Up=_0x3afa07({'enableMouseMode':()=>{},'disableMouseMode':()=>{},'isMouseModeEnabled':!0x1,'renderOffsetY':0x0,'setRenderOffsetY':()=>{}}),Pa=()=>_0x1e761e(Up);function Hp(_0x49ce8b){const _0x402519={_0x2c938a:0x400,_0x4575d1:0x21e,_0x477e07:0x3ad,_0x913b2c:0x354,_0x30cc4c:0x142,_0x2bf220:0x252,_0x1d9572:0x264,_0x4c8919:0x11d,_0x4d4fa2:0xf8,_0x152061:0x43,_0x16a0af:0x4e,_0x4c492f:0x1ab,_0x93b6a2:0x44f,_0x2544e9:0x1db,_0x4ec397:0x321,_0x17095a:0x94,_0x2de91e:0x1d2,_0x58afc1:0x282,_0x41d837:0x51d,_0x2a21af:0x71,_0x4098f2:0x189,_0x1c8fc1:0x7,_0x32272b:0x2e0,_0x4277dc:0x3ce},_0x3dd729={_0x5d9a76:0xa1},_0x5b37f0={_0x33032b:0xa};let _0x3eac39=_0x49ce8b[_0x596688(_0x402519._0x2c938a,_0x402519._0x4575d1,0x238,_0x402519._0x477e07)](/\x1b\[<(\d+);(\d+);(\d+)([Mm])/);function _0x4d132e(_0x80148c,_0x1770b8,_0x2cc213,_0x1e6712){return _0x7f0a6b(_0x80148c-0x1ac,_0x80148c- -_0x5b37f0._0x33032b,_0x1770b8,_0x1e6712-0x18d);}if(_0x3eac39){let _0x15b748=parseInt(_0x3eac39[0x1],0xa),_0x58d853=parseInt(_0x3eac39[0x2],0xa),_0x348cc2=parseInt(_0x3eac39[0x3],0xa),_0x3cbef4=_0x3eac39[0x4]==='m';return _0x15b748===0x40?{'type':_0x4d132e(_0x402519._0x913b2c,0x15f,_0x402519._0x30cc4c,_0x402519._0x2bf220),'button':_0x15b748,'x':_0x58d853,'y':_0x348cc2}:_0x15b748===0x41?{'type':'wheel-down','button':_0x15b748,'x':_0x58d853,'y':_0x348cc2}:_0x15b748>=0x20&&_0x15b748<0x40?{'type':_0x4d132e(0x2a0,0x47d,0x307,_0x402519._0x1d9572),'button':_0x15b748-0x20,'x':_0x58d853,'y':_0x348cc2}:_0x3cbef4?{'type':'release','button':_0x15b748,'x':_0x58d853,'y':_0x348cc2}:{'type':'click','button':_0x15b748,'x':_0x58d853,'y':_0x348cc2};}function _0x596688(_0x3cea58,_0x5838a8,_0x5dc511,_0x258136){return _0x7f0a6b(_0x3cea58-0x110,_0x5838a8- -_0x3dd729._0x5d9a76,_0x258136,_0x258136-0x162);}if(_0x49ce8b['length']>=0x6&&_0x49ce8b[_0x4d132e(_0x402519._0x4c8919,0x120,-_0x402519._0x4d4fa2,-_0x402519._0x152061)]('\x1b[M')){let _0x346c98=_0x49ce8b[_0x4d132e(0x272,_0x402519._0x16a0af,_0x402519._0x4c492f,_0x402519._0x93b6a2)](0x3)-0x20,_0xcf4923=_0x49ce8b[_0x596688(0x161,_0x402519._0x2544e9,_0x402519._0x4ec397,_0x402519._0x17095a)](0x4)-0x20,_0x465e8f=_0x49ce8b[_0x596688(0x344,_0x402519._0x2544e9,0x2c7,_0x402519._0x2de91e)](0x5)-0x20,_0x39b7bb=_0x346c98&0x3;return _0x346c98===0x40?{'type':_0x4d132e(_0x402519._0x913b2c,_0x402519._0x58afc1,_0x402519._0x41d837,0x2f4),'button':0x40,'x':_0xcf4923,'y':_0x465e8f}:_0x346c98===0x41?{'type':_0x596688(-_0x402519._0x2a21af,_0x402519._0x4098f2,-_0x402519._0x1c8fc1,0x38c),'button':0x41,'x':_0xcf4923,'y':_0x465e8f}:_0x346c98&0x20?{'type':'drag','button':_0x39b7bb,'x':_0xcf4923,'y':_0x465e8f}:_0x346c98===0x3?{'type':'release','button':_0x39b7bb,'x':_0xcf4923,'y':_0x465e8f}:{'type':_0x596688(_0x402519._0x32272b,_0x402519._0x4277dc,0x543,0x531),'button':_0x39b7bb,'x':_0xcf4923,'y':_0x465e8f};}return null;}var Kp=_0x12ef66(function({children:_0x15cc6b,maxHeight:_0x372062,width:_0x1999d6,onFocus:_0x543869,onBlur:_0x4a026e,borderStyle:_0x14885a,borderColor:_0x57238f,focusBorderColor:_0x40a0ba},_0x3b7348){const _0x453ad9={_0x4be647:0x7e3,_0x5c7526:0x748,_0x467246:0x6aa,_0x9c605b:0x67d,_0x1caacd:0x47d,_0x3d2c6d:0x353,_0x43f8e3:0x3d9,_0x456e69:0x20b},_0xc05eb2={_0x3f4052:0x53e,_0x3b3f57:0x766,_0x46299d:0x645,_0x510898:0x13b,_0x4d06b9:0x54e,_0x3268e1:0x724,_0x3cf086:0x43,_0x14953d:0x1fa,_0x41ea85:0x7c2,_0x4a1673:0x79a,_0x95e9e4:0x528},_0x194bf9={_0x19f4ed:0x1c5,_0x83cd26:0x3a2},_0xae7e14={_0x2c513f:0x1,_0x44b477:0x1f3,_0x28d83f:0x3c7,_0x2f38cf:0x4da,_0x1c5e82:0x137,_0x1c6b33:0x1fe,_0x24cba1:0x103},_0x325ce5={_0x5e92a1:0x5ce,_0x2c7442:0x2c9,_0x1070a8:0x41e,_0xb2721e:0x38d},_0x3f6c4b={_0xa2af92:0x555,_0x574aa0:0x374,_0x14fb99:0x576,_0x3e371e:0x7b8,_0x5bb347:0x76b,_0x572deb:0x641,_0x1350bc:0x48d},_0x39bd5a={_0x5e4a0a:0x29b},_0x379728={_0x525db8:0x1a9},_0x594e59={_0x876b4e:0x66,_0x2b9684:0x181,_0x504e35:0x47};function _0xc01fdb(_0x234b2d,_0x5da6eb,_0x48adf6,_0x26fa99){return _0x7f0a6b(_0x234b2d-_0x594e59._0x876b4e,_0x26fa99-_0x594e59._0x2b9684,_0x48adf6,_0x26fa99-_0x594e59._0x504e35);}let _0x3e2dde=_0x5546c6(null),[_0x2040b4,_0x256c1a]=_0x238dca(!0x1),_0x5c2437=_0x5546c6(!0x1),[_0x19bcea,_0x3fd61d]=_0x238dca(0x0),{internal_eventEmitter:_0x504913}=_0x30fc76(),{enableMouseMode:_0xb8b089,disableMouseMode:_0x279987,isMouseModeEnabled:_0xcb7fbf,renderOffsetY:_0x3ca2e4}=Pa();_0x2870bb(()=>(_0xb8b089(),()=>_0x279987()),[_0xb8b089,_0x279987]);function _0x22d212(_0x3f08ec,_0x3e0996,_0x22887e,_0x163ce1){return _0x7f0a6b(_0x3f08ec-0x1a9,_0x3e0996-_0x379728._0x525db8,_0x163ce1,_0x163ce1-0x55);}let _0x1e04fa=_0x1e0c34((_0x2683da,_0x4aa3ae)=>{const _0x1181c2={_0x457c58:0x45};if(!_0x3e2dde[_0x1b5c49(0x374,0x19e,_0x3f6c4b._0xa2af92,0x49d)])return!0x1;let _0x178f7c=_0x3e2dde[_0x1b5c49(_0x3f6c4b._0x574aa0,_0x3f6c4b._0x14fb99,0x38e,0x49f)][_0x4a4ccd(0x749,0x86d,_0x3f6c4b._0x3e371e,_0x3f6c4b._0x5bb347)](),_0x818845=_0x4aa3ae-_0x3ca2e4;function _0x4a4ccd(_0x16036d,_0xba24eb,_0x463067,_0x5891d2){return _0xa481(_0x5891d2-_0x39bd5a._0x5e4a0a,_0x463067);}function _0x1b5c49(_0x280d41,_0x56cda1,_0x3e5502,_0x20f02a){return _0xa481(_0x280d41- -_0x1181c2._0x457c58,_0x3e5502);}return _0x2683da>=_0x178f7c['x']+0x1&&_0x2683da<=_0x178f7c['x']+_0x178f7c['width']&&_0x818845>=_0x178f7c['y']+0x1&&_0x818845<=_0x178f7c['y']+_0x178f7c[_0x4a4ccd(_0x3f6c4b._0x572deb,_0x3f6c4b._0x1350bc,0x370,0x425)];},[_0x3ca2e4]),_0x3c6a20=_0x1e0c34(_0x532e29=>{_0x3fd61d(_0x10ecef=>{let _0x47228a=Math[_0x37c6fc(_0x325ce5._0x5e92a1,0x4ee,0x6c4,_0x325ce5._0x2c7442)](0x0,_0x10ecef+_0x532e29);function _0x1908a4(_0x532116,_0x50832e,_0x674c4e,_0x34091d){return _0xa481(_0x674c4e- -0x2fc,_0x34091d);}function _0x37c6fc(_0x148beb,_0x49cfce,_0x168906,_0x29ce7a){return _0xa481(_0x49cfce-0x1aa,_0x148beb);}return _0x3e2dde['current']?.[_0x1908a4(_0x325ce5._0x1070a8,0x212,0x1fc,_0x325ce5._0xb2721e)]({'x':0x0,'y':_0x47228a}),_0x47228a;});},[]),_0x220297=_0x1e0c34(()=>{const _0x2e5234={_0x5094d6:0x1c6};function _0x182c23(_0x4602d3,_0x571046,_0x331c60,_0x333755){return _0xa481(_0x571046- -_0x2e5234._0x5094d6,_0x333755);}_0x3e2dde[_0x182c23(-_0xae7e14._0x2c513f,_0xae7e14._0x44b477,_0xae7e14._0x28d83f,-0x39)]?.[_0x182c23(_0xae7e14._0x2f38cf,0x36c,_0xae7e14._0x1c5e82,0x523)]();let _0xb54831=_0x3e2dde[_0x182c23(_0xae7e14._0x1c6b33,0x1f3,0x22d,0x1e2)]?.[_0x59ceb6(0x2f1,0x454,0x3ec,_0xae7e14._0x24cba1)]();function _0x59ceb6(_0x1e0321,_0x114811,_0x6cedd9,_0xd468e3){return _0xa481(_0x1e0321-0x16d,_0x6cedd9);}_0xb54831&&_0x3fd61d(_0xb54831['y']);},[]),_0x103758=_0x1e0c34(()=>{_0x3e2dde['current']?.['scrollToTop'](),_0x3fd61d(0x0);},[]),_0x46810b=_0x1e0c34(()=>{function _0x3af240(_0x3ae6f7,_0x44b0c3,_0x40d1b9,_0x41d576){return _0xa481(_0x44b0c3- -0x1f4,_0x3ae6f7);}_0x256c1a(!0x0),_0x5c2437[_0x3af240(0x254,_0x194bf9._0x19f4ed,-0x10,_0x194bf9._0x83cd26)]=!0x0,_0x543869?.();},[_0x543869]),_0x3cea40=_0x1e0c34(()=>{_0x256c1a(!0x1),_0x5c2437['current']=!0x1,_0x4a026e?.();},[_0x4a026e]);return _0x4510d7(_0x3b7348,()=>({'scrollBy':_0x3c6a20,'scrollToTop':_0x103758,'scrollToBottom':_0x220297,'getScrollPosition':()=>_0x3e2dde['current']?.[_0x22d212(0x18c,0x279,0x461,0x102)](),'getBounds':()=>_0x3e2dde[_0xc01fdb(0x3e8,0x68b,0x451,0x486)]?.[_0xc01fdb(0x3e3,0x5ea,0x437,0x59d)](),'focus':_0x46810b,'blur':_0x3cea40}),[_0x3c6a20,_0x103758,_0x220297,_0x46810b,_0x3cea40]),_0x2870bb(()=>{const _0x46d21d={_0x2d221c:0x551};if(!_0xcb7fbf)return;let _0x3ce942=_0x44141f=>{let _0x5328c2=Hp(_0x44141f);if(!_0x5328c2)return;function _0x5719f3(_0x427a33,_0x2b8193,_0x1778ff,_0x1b5086){return _0xa481(_0x1b5086-0x36b,_0x427a33);}let _0x5aec3d=_0x1e04fa(_0x5328c2['x'],_0x5328c2['y']);function _0xd9c934(_0x842c07,_0x3719de,_0x3b7432,_0x2b1a64){return _0xa481(_0x2b1a64- -0xe0,_0x3b7432);}_0x5328c2[_0x5719f3(_0xc05eb2._0x3f4052,0x71e,_0xc05eb2._0x3b3f57,_0xc05eb2._0x46299d)]==='click'&&_0x5328c2[_0xd9c934(_0xc05eb2._0x510898,-0x158,-0x152,0xda)]===0x0&&(_0x5aec3d&&!_0x5c2437['current']?_0x46810b():!_0x5aec3d&&_0x5c2437['current']&&_0x3cea40()),(_0x5c2437[_0x5719f3(_0xc05eb2._0x4d06b9,0x6d5,0x567,_0xc05eb2._0x3268e1)]||_0x5aec3d)&&(_0x5328c2[_0xd9c934(0x10,0x20f,_0xc05eb2._0x3cf086,_0xc05eb2._0x14953d)]==='wheel-up'?_0x3c6a20(-0x3):_0x5328c2[_0x5719f3(_0xc05eb2._0x41ea85,_0xc05eb2._0x4a1673,0x6c2,0x645)]===_0x5719f3(0x7a0,0x4f9,_0xc05eb2._0x95e9e4,0x649)&&_0x3c6a20(0x3));};return _0x504913?.['on']('input',_0x3ce942),()=>{function _0x570321(_0x25a959,_0x51eab9,_0x3891ce,_0x314d58){return _0xa481(_0x314d58-0x2f7,_0x25a959);}_0x504913?.[_0x570321(_0x46d21d._0x2d221c,0x511,0x66f,0x669)]('input',_0x3ce942);};},[_0x504913,_0xcb7fbf,_0x1e04fa,_0x3c6a20,_0x46810b,_0x3cea40]),_0x26a12f(_0x3f6311,{'ref':_0x3e2dde,'flexDirection':_0x22d212(_0x453ad9._0x4be647,0x5bc,_0x453ad9._0x5c7526,0x434),'maxHeight':_0x372062,'width':_0x1999d6,'overflow':_0xc01fdb(0x888,0x6b8,_0x453ad9._0x467246,_0x453ad9._0x9c605b),'borderStyle':_0x14885a,'borderColor':_0x2040b4?_0x40a0ba??_0x22d212(_0x453ad9._0x1caacd,_0x453ad9._0x3d2c6d,_0x453ad9._0x43f8e3,_0x453ad9._0x456e69):_0x57238f,'flexShrink':0x0,'children':_0x15cc6b});});import{createContext as _0x231031,useContext as _0x538192,useMemo as _0x4fe095}from'react';import{jsx as _0x418b14}from'react/jsx-runtime';var zp=_0x231031(void 0x0);function NP({children:_0x419d21}){const _0x507a6e={_0x485d1f:0x29a,_0x591d9d:0x434,_0x1a6bef:0x6ed};function _0x2ee793(_0xf8319e,_0x527407,_0x2077d4,_0x589a17){return _0x5318c5(_0xf8319e-0x8b,_0x589a17,_0x2077d4-0x119,_0x527407-0x162);}let _0x3ca19d=_0x4fe095(()=>({'registry':me}),[]);return _0x418b14(zp[_0x2ee793(_0x507a6e._0x485d1f,0x4cf,_0x507a6e._0x591d9d,_0x507a6e._0x1a6bef)],{'value':_0x3ca19d,'children':_0x419d21});}export{B as a,za as b,ol as c,W as d,nl as e,Oe as f,ce as g,$g as h,Re as i,Dc as j,Fc as k,Vg as l,Ht as m,Xg as n,te as o,me as p,Vc as q,jr as r,Xs as s,Js as t,zr as u,Gr as v,oh as w,F as x,Go as y,Yo as z,Ei as A,_d as B,Nd as C,we as D,xt as E,Fi as F,iT as G,qo as H,Yd as I,hp as J,Tn as K,nr as L,ST as M,lp as N,Ln as O,ba as P,Dn as Q,tI as R,Bn as S,oI as T,_n as U,Fn as V,On as W,Dp as X,NP as Y};
|