@nuvin/nuvin-cli 1.20.2 → 1.21.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (function(_0x198322,_0x286987){const _0x5f4e1d={_0x371329:0x326,_0x239d58:0x26f,_0x1f75a4:0x40,_0x37a06e:0x3db,_0x2a03b3:0x1c0,_0x3f7b0a:0xf6,_0x3271f4:0x7b,_0x14ba85:0x33e,_0x571add:0x25c,_0x4a4f6e:0x2dd,_0x50859b:0x123,_0x25bf4d:0xdf,_0x36c43a:0x2e,_0x2b2ec0:0x23e,_0x18d4b2:0x6,_0x3884c1:0xbe,_0x107876:0x518,_0x2c2ab7:0xac,_0x35529d:0x11e,_0x2710d5:0x6d0,_0xe15c18:0x6d2,_0x6da0de:0x3e3},_0x3fb8ee={_0x54b4d1:0x2db};function _0x579983(_0x4540d1,_0x1865f7,_0x2cbfbb,_0x2b4fca){return _0x4e8e(_0x1865f7- -0x67,_0x2cbfbb);}const _0x51a394=_0x198322();function _0x4c7033(_0x298f86,_0x292a6c,_0x4314e1,_0x13e8b7){return _0x4e8e(_0x298f86- -_0x3fb8ee._0x54b4d1,_0x13e8b7);}while(!![]){try{const _0x50bc7f=parseInt(_0x4c7033(0x5c,-0x6e,-0xbd,0x60))/0x1+-parseInt(_0x4c7033(_0x5f4e1d._0x371329,0x1ef,_0x5f4e1d._0x239d58,0x56a))/0x2*(parseInt(_0x4c7033(0x217,_0x5f4e1d._0x1f75a4,_0x5f4e1d._0x37a06e,_0x5f4e1d._0x2a03b3))/0x3)+-parseInt(_0x4c7033(-_0x5f4e1d._0x3f7b0a,_0x5f4e1d._0x3271f4,-_0x5f4e1d._0x14ba85,-0xfa))/0x4*(parseInt(_0x4c7033(0x2ac,0x177,_0x5f4e1d._0x571add,0x412))/0x5)+parseInt(_0x4c7033(0x11a,_0x5f4e1d._0x4a4f6e,_0x5f4e1d._0x50859b,_0x5f4e1d._0x25bf4d))/0x6*(-parseInt(_0x4c7033(_0x5f4e1d._0x36c43a,_0x5f4e1d._0x2b2ec0,_0x5f4e1d._0x18d4b2,-_0x5f4e1d._0x3884c1))/0x7)+parseInt(_0x4c7033(0x2da,0x51a,_0x5f4e1d._0x107876,0x297))/0x8+parseInt(_0x4c7033(0x9d,-_0x5f4e1d._0x2c2ab7,-0x12c,_0x5f4e1d._0x35529d))/0x9+parseInt(_0x579983(_0x5f4e1d._0x2710d5,0x5b3,_0x5f4e1d._0xe15c18,_0x5f4e1d._0x6da0de))/0xa;if(_0x50bc7f===_0x286987)break;else _0x51a394['push'](_0x51a394['shift']());}catch(_0x4c52b5){_0x51a394['push'](_0x51a394['shift']());}}}(_0x59df,0x2e3c4));import{a as _0x564460,c as _0xbfcdee}from'./chunk-CIGVGDJE.js';import{a as _0xcf7397,b as _0x9642ab}from'./chunk-WIGFOWBJ.js';import{a as _0x253ddf,b as _0x19df5c}from'./chunk-PC75UOLY.js';import{a as _0x4da7ca}from'./chunk-AJHDLTY3.js';import{useEffect as _0x547572,useRef as _0x2902d7,useCallback as _0x13179d,useMemo as _0x378207,useState as _0x266953}from'react';import{useStdin as _0x14cce9,useStdout as _0x41a373}from'ink';import{createContext as _0x447fe4}from'react';var xr=()=>()=>{},Ze=_0x447fe4({'subscribe':xr,'subscribeMouse':xr,'updateSubscriber':()=>{},'addMiddleware':xr,'setRawMode':()=>{},'isRawModeSupported':!0x1,'enableMouseMode':()=>{},'disableMouseMode':()=>{},'isMouseModeEnabled':!0x1});Ze[_0x5a69d4(0x52c,0x481,0x3cf,0x3b5)]=_0x5a69d4(0x851,0x8ba,0x769,0x8de);var Un=!0x1;function go(_0x6dd824){Un=_0x6dd824;}var fo=()=>({'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}),Hn={'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~':_0x3764a2(0x1bd,0x29,0x1a,0x5d),'[23~':_0x5a69d4(0x314,0x4d3,0x696,0x44c),'[24~':_0x3764a2(0x283,0x447,0x65,0x2be),'[A':'up','[B':_0x3764a2(0x136,0x50,-0xda,0x289),'[C':'right','[D':'left','[E':_0x5a69d4(0x322,0x53f,0x74f,0x3b4),'[F':_0x5a69d4(0x971,0x887,0xac9,0x9dd),'[H':_0x3764a2(0xd3,-0x135,-0x58,-0x8d),'OA':'up','OB':_0x5a69d4(0x436,0x651,0x76b,0x518),'OC':_0x3764a2(-0x14,-0x12f,-0x174,-0x178),'OD':_0x3764a2(0x1d1,0x390,0x20f,0x73),'OE':_0x5a69d4(0x662,0x53f,0x5bf,0x56a),'OF':_0x5a69d4(0x8c4,0x887,0xad0,0xa83),'OH':_0x3764a2(0xd3,-0x11a,0x1c7,0xd1),'[1~':_0x3764a2(0xd3,0xd3,0x36,0x4e),'[2~':'insert','[3~':_0x3764a2(0xbc,-0x85,-0x2b,0x135),'[4~':_0x3764a2(0x36c,0x282,0x4f0,0x4e2),'[5~':_0x5a69d4(0x808,0x81d,0x8a2,0x730),'[6~':_0x3764a2(0xd8,0x197,0xa0,-0x11a),'[[5~':_0x3764a2(0x302,0x13d,0x192,0x216),'[[6~':_0x5a69d4(0x3bd,0x5f3,0x6b2,0x66a),'[7~':_0x5a69d4(0x6c4,0x5ee,0x3ef,0x479),'[8~':_0x5a69d4(0x71b,0x887,0x917,0x79c),'[a':'up','[b':'down','[c':_0x5a69d4(0x4a7,0x507,0x674,0x4f3),'[d':_0x5a69d4(0x58b,0x6ec,0x894,0x8a5),'[e':_0x3764a2(0x24,-0x6f,-0x3f,0x26c),'[2$':'insert','[3$':_0x3764a2(0xbc,0x16b,0x165,-0xd3),'[5$':'pageup','[6$':_0x5a69d4(0x46d,0x5f3,0x478,0x639),'[7$':_0x3764a2(0xd3,0x1e9,0x2db,-0x101),'[8$':_0x5a69d4(0x9a7,0x887,0x8a5,0x6ba),'Oa':'up','Ob':_0x5a69d4(0x6d6,0x651,0x6ea,0x82a),'Oc':_0x3764a2(-0x14,-0x17b,0x136,0x64),'Od':_0x3764a2(0x1d1,0x340,0x191,0x392),'Oe':_0x3764a2(0x24,-0x1a2,0x1f2,-0x1be),'[2^':_0x5a69d4(0x893,0x685,0x781,0x639),'[3^':_0x3764a2(0xbc,-0x75,-0x7f,0xe5),'[5^':'pageup','[6^':'pagedown','[7^':_0x3764a2(0xd3,-0x5e,0x2d,-0x50),'[8^':'end','[Z':'tab'},Pp=[...Object[_0x3764a2(-0x6a,0xcb,0xbb,0x1ba)](Hn),_0x5a69d4(0x5a7,0x65d,0x843,0x7fc),_0x3764a2(0xde,0x2ab,0x1ae,0x1f)],va=_0x189ece=>['[a','[b','[c','[d','[e',_0x3764a2(0x313,0x33f,0x232,0x4a9),'[3$',_0x5a69d4(0x8fd,0x878,0x7b9,0x70d),_0x5a69d4(0x9ca,0x806,0x6bf,0x799),_0x3764a2(0x387,0x1e2,0x350,0x2ba),'[8$','[Z']['includes'](_0x189ece),Ta=_0x8b5cec=>['Oa','Ob','Oc','Od','Oe',_0x5a69d4(0x873,0x7cf,0x8ff,0x997),_0x3764a2(-0x55,-0x4f,-0xe1,-0x16f),_0x3764a2(0x1a0,0x1c1,-0x59,0x1bc),_0x5a69d4(0x933,0x8b9,0x76d,0x995),_0x5a69d4(0x76c,0x782,0x786,0x5c1),'[8^']['includes'](_0x8b5cec),wa=/^(?:\x1b)([a-zA-Z0-9])$/,Sa=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,Ma=/^\x1b\[(\d+)(?:;(\d+))?u$/,Pa={0x9:_0x3764a2(0xb8,0x1f2,-0x94,0x142),0xd:'return',0x1b:_0x5a69d4(0x708,0x6a5,0x8a7,0x85a),0x7f:_0x5a69d4(0x48e,0x65d,0x632,0x4cf)};function Ia(_0x444119){const _0x45809f={_0x40010b:0x3e6,_0x2b43cb:0xa07,_0x286240:0x874,_0x27e81c:0x651,_0x3b83e1:0x93e,_0x104ca7:0xab,_0x44d437:0x1da,_0x40767c:0x1db,_0x4fe5b0:0x4fa,_0x573366:0x68b,_0x59abc2:0x5bb},_0x215f0c={_0x4b7223:0x260},_0x462724={_0x147ec2:0xd0};function _0x1559b0(_0x574b81,_0x4c0eea,_0x4408c3,_0xa88d3e){return _0x5a69d4(_0x574b81-0x187,_0x4c0eea-0x54,_0x574b81,_0xa88d3e-_0x462724._0x147ec2);}let _0x36432a=Ma[_0x54234b(0x2d5,_0x45809f._0x40010b,0x224,0x463)](_0x444119);function _0x54234b(_0x2235d1,_0x28a972,_0x44ccd3,_0x1ec2d2){return _0x3764a2(_0x28a972-_0x215f0c._0x4b7223,_0x28a972-0xe8,_0x2235d1,_0x1ec2d2-0xb5);}if(!_0x36432a)return null;let _0x39674d=parseInt(_0x36432a[0x1],0xa),_0x57d8be=_0x36432a[0x2]?parseInt(_0x36432a[0x2],0xa)-0x1:0x0,_0x1f6bba=fo();_0x1f6bba[_0x1559b0(_0x45809f._0x2b43cb,_0x45809f._0x286240,_0x45809f._0x27e81c,_0x45809f._0x3b83e1)]=!!(_0x57d8be&0x1),_0x1f6bba[_0x54234b(0x4a0,0x310,0x142,0x349)]=!!(_0x57d8be&0x2),_0x1f6bba[_0x54234b(_0x45809f._0x104ca7,0x2e2,_0x45809f._0x44d437,_0x45809f._0x40767c)]=!!(_0x57d8be&0x4);let _0x45d020=Pa[_0x39674d];if(_0x45d020&&(_0x1f6bba[_0x45d020]=!0x0),_0x39674d===0xd&&_0x1f6bba[_0x54234b(_0x45809f._0x4fe5b0,0x565,0x77e,0x50b)])return{'input':'\x0a','key':fo()};let _0x28b951='';return _0x39674d>=0x20&&_0x39674d<=0x7e&&(_0x28b951=String[_0x1559b0(0x5f8,_0x45809f._0x573366,_0x45809f._0x59abc2,0x54c)](_0x39674d)),{'input':_0x28b951,'key':_0x1f6bba};}var jn=_0x57520e=>{const _0xd61a20={_0x132d17:0x565,_0x1486b0:0x60e,_0x4eb46f:0x4e5,_0x37ffb2:0x3f1,_0x416dce:0x40d,_0xfbd64d:0x24f,_0x310e54:0x2dc,_0x32b651:0x3f1,_0x4207a5:0x45f,_0x1cd43f:0x668,_0x5c65ef:0x52d,_0x4b7843:0x763,_0x4d061a:0x38c,_0x5904cb:0x476,_0x221f3f:0x64a,_0x224a5b:0x434,_0x3c5a88:0x573,_0x34036e:0x63d,_0x26164c:0x635,_0x3074d7:0x81a,_0x47d4b9:0x2a1,_0x5613fd:0x4b4,_0x18de97:0x45d,_0x5834ff:0x4e8,_0x463c26:0x320,_0x493552:0x488,_0x5b59e9:0x75f,_0x420fe1:0x5c5,_0x329dec:0x493,_0x2c00cb:0x69f,_0x26152d:0x8da,_0x1ce6d9:0x736,_0x5ec38d:0x6a8,_0x2d0d6e:0x515,_0x5a3968:0x392,_0xb888e6:0x3a4,_0x4a4f41:0x58e,_0x36f9c7:0x4e3,_0x20bd21:0x425,_0x5a3f71:0x80f,_0x27880c:0x3ef,_0x14fce0:0x530,_0xf3a623:0x319,_0x44b9c1:0x197,_0x4d79c2:0x33c,_0x5a5528:0x5c6,_0x43b3fc:0x773,_0x529ea7:0x58f,_0xd7f415:0x453,_0x4572ee:0x67b,_0x28dc53:0x58f,_0xd194d9:0x704,_0x5a6b84:0x3de,_0x467d0b:0x508,_0x1e3847:0x3f1,_0x311aea:0x44d,_0x3fc968:0x2d2,_0x47675a:0x3f1,_0x22658a:0x1c4,_0x181b5a:0x491,_0x2a78ac:0x7e3,_0x40b0e5:0x6f2,_0x290b07:0x646,_0x27bd3f:0x3ff,_0x311e1d:0x6ad,_0x34a7fc:0x7f1,_0x133ede:0x89b,_0xcd3514:0x58d,_0xab2756:0x477,_0xb603da:0x448,_0x56076f:0x72e,_0x16a00c:0x93c,_0x4ed731:0x707,_0x130878:0x82d,_0x5ae28a:0x164,_0x1e4b18:0x32d,_0x134298:0x427,_0x5905de:0x6d4,_0xcc456d:0x6a5,_0x218354:0x57c,_0x4f8fb3:0x3ee,_0x54a32f:0x630,_0x38b219:0x21c,_0x34c1d1:0x41f,_0x3052a8:0x61c,_0x8e819d:0x71c,_0x54abac:0x5e5,_0x38d191:0x473,_0x3a55b9:0x55a,_0xe5f762:0x45b,_0x4afddd:0x448,_0x553188:0x3c2,_0x33eba1:0x483,_0x4ea636:0x352,_0x4328f0:0x55c,_0x36c252:0x3fd,_0x3fe3c0:0x554,_0x55feeb:0x3c3,_0x30a41f:0x2f2},_0x1788fd={_0x5aff01:0x341,_0xe476d6:0x1ca,_0x320fb2:0x170},_0x1a86b6={_0x56130f:0x11a,_0x5b382e:0x178,_0x3c3675:0x1bf};if(Un){let _0x403566=Ia(_0x57520e);if(_0x403566)return _0x403566;}let _0x28d588,_0x2308bd=_0x57520e,_0xad9c3e=fo();if(_0x2308bd==='\x0d')return _0xad9c3e['return']=!0x0,{'input':'','key':_0xad9c3e};if(_0x2308bd==='\x0a')return{'input':'\x0a','key':_0xad9c3e};if(_0x2308bd==='\x09')return _0xad9c3e[_0x5b5b59(_0xd61a20._0x132d17,0x605,0x45b,0x527)]=!0x0,{'input':'','key':_0xad9c3e};if(_0x2308bd==='\x08'||_0x2308bd==='\x1b\x08')return _0xad9c3e[_0x5b5b59(_0xd61a20._0x1486b0,0x696,_0xd61a20._0x4eb46f,0x51f)]=!0x0,_0xad9c3e[_0x2d4f69(0x4de,_0xd61a20._0x37ffb2,_0xd61a20._0x416dce,_0xd61a20._0xfbd64d)]=_0x2308bd['charAt'](0x0)==='\x1b',{'input':'','key':_0xad9c3e};function _0x5b5b59(_0x2dd15b,_0x7a9225,_0x33a03a,_0xfa7ea2){return _0x5a69d4(_0x2dd15b-_0x1a86b6._0x56130f,_0x33a03a- -_0x1a86b6._0x5b382e,_0x2dd15b,_0xfa7ea2-_0x1a86b6._0x3c3675);}if(_0x2308bd==='\x7f'||_0x2308bd==='\x1b\x7f')return _0xad9c3e[_0x5b5b59(0x501,_0xd61a20._0x310e54,0x45f,0x4c6)]=!0x0,_0xad9c3e[_0x2d4f69(0x215,_0xd61a20._0x32b651,_0xd61a20._0x4207a5,0x536)]=_0x2308bd[_0x2d4f69(0x7c5,0x691,0x6cd,_0xd61a20._0x1cd43f)](0x0)==='\x1b',{'input':'','key':_0xad9c3e};if(_0x2308bd==='\x1b'||_0x2308bd==='\x1b\x1b')return _0xad9c3e[_0x5b5b59(0x62e,0x415,_0xd61a20._0x5c65ef,_0xd61a20._0x4b7843)]=!0x0,_0xad9c3e[_0x5b5b59(_0xd61a20._0x4d061a,0x683,0x453,0x4ae)]=_0x2308bd[_0x2d4f69(0x62f,0x63d,_0xd61a20._0x5904cb,_0xd61a20._0x221f3f)]===0x2,{'input':'','key':_0xad9c3e};function _0x2d4f69(_0xb28e66,_0x427538,_0x4ac2bf,_0x42e731){return _0x3764a2(_0x427538-_0x1788fd._0x5aff01,_0x427538-_0x1788fd._0xe476d6,_0x42e731,_0x42e731-_0x1788fd._0x320fb2);}if(_0x2308bd==='\x20'||_0x2308bd==='\x1b\x20')return _0xad9c3e[_0x2d4f69(_0xd61a20._0x224a5b,0x3f1,0x5ca,0x2c1)]=_0x2308bd['length']===0x2,{'input':'\x20','key':_0xad9c3e};if(_0x2308bd[_0x2d4f69(_0xd61a20._0x3c5a88,_0xd61a20._0x34036e,_0xd61a20._0x26164c,_0xd61a20._0x3074d7)]===0x1&&_0x2308bd<='\x1a')return _0xad9c3e[_0x5b5b59(_0xd61a20._0x47d4b9,0x496,0x425,0x24b)]=!0x0,{'input':String[_0x2d4f69(_0xd61a20._0x5613fd,_0xd61a20._0x18de97,_0xd61a20._0x5834ff,_0xd61a20._0x463c26)](_0x2308bd[_0x5b5b59(0x2d8,0x600,_0xd61a20._0x493552,0x572)](0x0)+0x61-0x1),'key':_0xad9c3e};if(_0x2308bd[_0x5b5b59(0x5e9,0x741,0x69f,_0xd61a20._0x5b59e9)]===0x1&&_0x2308bd>='0'&&_0x2308bd<='9')return{'input':_0x2308bd,'key':_0xad9c3e};if(_0x2308bd['length']===0x1&&_0x2308bd>='a'&&_0x2308bd<='z')return{'input':_0x2308bd,'key':_0xad9c3e};if(_0x2308bd[_0x5b5b59(_0xd61a20._0x420fe1,_0xd61a20._0x329dec,_0xd61a20._0x2c00cb,_0xd61a20._0x26152d)]===0x1&&_0x2308bd>='A'&&_0x2308bd<='Z')return _0xad9c3e[_0x5b5b59(_0xd61a20._0x1ce6d9,0x866,_0xd61a20._0x5ec38d,0x8c4)]=!0x0,{'input':_0x2308bd,'key':_0xad9c3e};if(_0x28d588=wa[_0x5b5b59(_0xd61a20._0x2d0d6e,_0xd61a20._0x5a3968,0x529,0x6ef)](_0x2308bd))return _0xad9c3e[_0x5b5b59(0x4f0,0x348,0x453,_0xd61a20._0xb888e6)]=!0x0,_0xad9c3e[_0x2d4f69(0x5bf,0x646,_0xd61a20._0x4a4f41,_0xd61a20._0x36f9c7)]=/^[A-Z]$/[_0x2d4f69(_0xd61a20._0x20bd21,0x5de,_0xd61a20._0x5a3f71,_0xd61a20._0x27880c)](_0x28d588[0x1]),{'input':_0x28d588[0x1],'key':_0xad9c3e};if(_0x2308bd['startsWith'](_0x5b5b59(0x320,0x4a3,_0xd61a20._0x14fce0,0x5fd))||_0x2308bd[_0x2d4f69(0x379,_0xd61a20._0xf3a623,0x219,_0xd61a20._0x44b9c1)]('[200~'))return{'input':_0x57520e,'key':_0xad9c3e};if(_0x28d588=Sa[_0x5b5b59(_0xd61a20._0x4d79c2,_0xd61a20._0x5a5528,0x529,_0xd61a20._0x43b3fc)](_0x2308bd)){let _0x1f46eb=[..._0x2308bd];_0x1f46eb[0x0]==='\x1b'&&_0x1f46eb[0x1]==='\x1b'&&(_0xad9c3e[_0x5b5b59(_0xd61a20._0x529ea7,0x599,_0xd61a20._0xd7f415,_0xd61a20._0x4572ee)]=!0x0);let _0x42ff1a=[_0x28d588[0x1],_0x28d588[0x2],_0x28d588[0x4],_0x28d588[0x6]][_0x5b5b59(0x571,_0xd61a20._0x28dc53,0x6a1,_0xd61a20._0xd194d9)](Boolean)['join'](''),_0x55e35e=(_0x28d588[0x3]||_0x28d588[0x5]||0x1)-0x1;_0xad9c3e[_0x2d4f69(0x42f,0x3c3,0x4fd,_0xd61a20._0x5a6b84)]=!!(_0x55e35e&0x4),_0xad9c3e[_0x2d4f69(_0xd61a20._0x467d0b,_0xd61a20._0x1e3847,_0xd61a20._0x311aea,0x607)]=_0xad9c3e[_0x2d4f69(_0xd61a20._0x3fc968,_0xd61a20._0x47675a,_0xd61a20._0x22658a,0x3d9)]||!!(_0x55e35e&0xa),_0xad9c3e[_0x2d4f69(0x81c,0x646,_0xd61a20._0x181b5a,_0xd61a20._0x2a78ac)]=!!(_0x55e35e&0x1);let _0x59104a=Hn[_0x42ff1a]||'';return _0xad9c3e[_0x2d4f69(_0xd61a20._0x40b0e5,_0xd61a20._0x290b07,_0xd61a20._0x27bd3f,_0xd61a20._0x311e1d)]=va(_0x42ff1a)||_0xad9c3e[_0x5b5b59(_0xd61a20._0x34a7fc,0x709,_0xd61a20._0x5ec38d,_0xd61a20._0x133ede)],_0xad9c3e['ctrl']=Ta(_0x42ff1a)||_0xad9c3e['ctrl'],_0x59104a==='up'?_0xad9c3e['upArrow']=!0x0:_0x59104a===_0x2d4f69(_0xd61a20._0xcd3514,_0xd61a20._0xab2756,_0xd61a20._0xb603da,0x270)?_0xad9c3e[_0x5b5b59(_0xd61a20._0x56076f,_0xd61a20._0x16a00c,_0xd61a20._0x4ed731,_0xd61a20._0x130878)]=!0x0:_0x59104a==='left'?_0xad9c3e['leftArrow']=!0x0:_0x59104a===_0x2d4f69(_0xd61a20._0x5ae28a,_0xd61a20._0x1e4b18,0x46a,0x411)?_0xad9c3e[_0x5b5b59(_0xd61a20._0x134298,0x4b8,0x5c3,0x554)]=!0x0:_0x59104a===_0x5b5b59(_0xd61a20._0x5905de,0x785,_0xd61a20._0xcc456d,0x549)?_0xad9c3e['pageUp']=!0x0:_0x59104a==='pagedown'?_0xad9c3e['pageDown']=!0x0:_0x59104a===_0x5b5b59(0x5c8,_0xd61a20._0x218354,0x476,0x4be)?_0xad9c3e[_0x2d4f69(_0xd61a20._0x4f8fb3,0x414,_0xd61a20._0x54a32f,_0xd61a20._0x311aea)]=!0x0:_0x59104a==='end'?_0xad9c3e[_0x5b5b59(0x5e9,0x510,0x70f,0x7ae)]=!0x0:_0x59104a===_0x2d4f69(_0xd61a20._0x38b219,_0xd61a20._0x34c1d1,0x524,0x543)?_0xad9c3e['return']=!0x0:_0x59104a==='escape'?_0xad9c3e[_0x5b5b59(_0xd61a20._0x3052a8,_0xd61a20._0x8e819d,0x52d,_0xd61a20._0x54abac)]=!0x0:_0x59104a===_0x5b5b59(0x552,0x2af,0x45b,_0xd61a20._0x38d191)?_0xad9c3e[_0x5b5b59(_0xd61a20._0x3a55b9,0x417,_0xd61a20._0xe5f762,_0xd61a20._0x4afddd)]=!0x0:_0x59104a===_0x2d4f69(_0xd61a20._0x553188,_0xd61a20._0x33eba1,0x2fb,_0xd61a20._0x4ea636)?_0xad9c3e[_0x2d4f69(_0xd61a20._0x4328f0,_0xd61a20._0x33eba1,0x50d,0x557)]=!0x0:_0x59104a===_0x2d4f69(0x2a2,_0xd61a20._0x36c252,_0xd61a20._0x2d0d6e,0x5b5)&&(_0xad9c3e[_0x5b5b59(0x3fb,0x45a,0x45f,_0xd61a20._0x3fe3c0)]=!0x0),{'input':_0xad9c3e[_0x2d4f69(0x2b5,_0xd61a20._0x55feeb,0x2d2,_0xd61a20._0x30a41f)]?_0x59104a:'','key':_0xad9c3e};}return{'input':_0x57520e,'key':fo()};};function Kn(_0x4e6192){const _0x26a672={_0x5d456e:0x4be,_0x5edd3e:0x310,_0x229eaa:0x36d,_0x3ad27b:0x172,_0x26849f:0x66,_0x4bb27f:0x369,_0x221898:0x2e8,_0x2c353d:0x9,_0x4f32b9:0x8f,_0x26c671:0x10f,_0x30dc9a:0x2d5,_0x301074:0xcb,_0x25395d:0x258,_0x12325a:0x36a,_0x3a78fe:0x1d6,_0x25a5be:0x393,_0x38f922:0x22b,_0x592517:0x10b,_0x15caf8:0x12,_0x45826c:0xc5,_0x2284c3:0xa8,_0x50ad05:0x239,_0x32e80d:0x5f5,_0x3bce88:0x16e,_0x3c2195:0x1da,_0x39a5a6:0x1e6,_0x52d224:0x59},_0x2d6e77={_0x103b16:0xcb,_0x4cc8cf:0x612},_0x4df2c6={_0xdff5da:0x19e};let _0x246ef6=_0x4e6192[_0x44320f(_0x26a672._0x5d456e,0x249,_0x26a672._0x5edd3e,_0x26a672._0x229eaa)](_0x44320f(_0x26a672._0x3ad27b,0x266,_0x26a672._0x26849f,0xe8)),_0x29b7a8=_0x4e6192[_0x18b018(-0x1fe,-0x11f,-0x1c0,-_0x26a672._0x4bb27f)]('\x1b[M')&&_0x4e6192[_0x18b018(_0x26a672._0x221898,0x205,0x260,0x1a7)]>=0x6;if(!_0x246ef6&&!_0x29b7a8)return{'mouse':null,'consumed':!0x1};let _0x2e6086=/\x1b\[<(\d+);(\d+);(\d+)([Mm])/g,_0x2d1d02,_0x4b7023=0x0,_0x26527b=0x0,_0x8f1eb8=null,_0x16e30e=0x0,_0x3e4240=0x0;for(;(_0x2d1d02=_0x2e6086[_0x18b018(_0x26a672._0x2c353d,_0x26a672._0x4f32b9,_0x26a672._0x26c671,0x26e)](_0x4e6192))!==null;){let _0x536b8b=parseInt(_0x2d1d02[0x1],0xa),_0x29df43=parseInt(_0x2d1d02[0x2],0xa),_0x18c1a7=parseInt(_0x2d1d02[0x3],0xa),_0x30b9c6=_0x2d1d02[0x4]==='m';_0x16e30e=_0x29df43,_0x3e4240=_0x18c1a7,_0x536b8b===0x40?_0x4b7023++:_0x536b8b===0x41?_0x26527b++:_0x536b8b>=0x20&&_0x536b8b<0x40?_0x8f1eb8={'type':_0x18b018(-0x8d,0x11e,-0x44,_0x26a672._0x30dc9a),'button':_0x536b8b-0x20,'x':_0x29df43,'y':_0x18c1a7}:_0x30b9c6?_0x8f1eb8={'type':'release','button':_0x536b8b,'x':_0x29df43,'y':_0x18c1a7}:_0x8f1eb8={'type':_0x18b018(0x17,0x59,-0x1ce,0x65),'button':_0x536b8b,'x':_0x29df43,'y':_0x18c1a7};}if(_0x4b7023>0x0)return{'mouse':{'type':'wheel-up','button':0x40,'x':_0x16e30e,'y':_0x3e4240,'count':_0x4b7023},'consumed':!0x0};if(_0x26527b>0x0)return{'mouse':{'type':_0x18b018(0x47,-0x156,_0x26a672._0x301074,-0x1f3),'button':0x41,'x':_0x16e30e,'y':_0x3e4240,'count':_0x26527b},'consumed':!0x0};if(_0x8f1eb8)return{'mouse':_0x8f1eb8,'consumed':!0x0};function _0x44320f(_0x43a50a,_0x12357d,_0x35ca3d,_0x3ce630){return _0x3764a2(_0x3ce630-_0x4df2c6._0xdff5da,_0x12357d-0x14d,_0x43a50a,_0x3ce630-0x155);}if(_0x4e6192[_0x44320f(_0x26a672._0x25395d,_0x26a672._0x12325a,0x402,0x49a)]>=0x6&&_0x4e6192[_0x44320f(0x10e,0x2a9,0x23c,0x176)](_0x44320f(0x347,0x358,_0x26a672._0x3a78fe,_0x26a672._0x25a5be))){let _0x3e6618=_0x4e6192[_0x18b018(_0x26a672._0x38f922,-0x12,_0x26a672._0x592517,0x22a)](0x3)-0x20,_0x3a7f69=_0x4e6192[_0x18b018(0xb0,-_0x26a672._0x15caf8,-_0x26a672._0x45826c,-0xaa)](0x4)-0x20,_0x24670e=_0x4e6192[_0x18b018(-_0x26a672._0x2284c3,-0x12,-_0x26a672._0x50ad05,-_0x26a672._0x38f922)](0x5)-0x20,_0x3d0888=_0x3e6618&0x3;return _0x3e6618===0x40?{'mouse':{'type':_0x44320f(0x42f,0x28f,_0x26a672._0x32e80d,0x47d),'button':0x40,'x':_0x3a7f69,'y':_0x24670e,'count':0x1},'consumed':!0x0}:_0x3e6618===0x41?{'mouse':{'type':'wheel-down','button':0x41,'x':_0x3a7f69,'y':_0x24670e,'count':0x1},'consumed':!0x0}:_0x3e6618&0x20?{'mouse':{'type':'drag','button':_0x3d0888,'x':_0x3a7f69,'y':_0x24670e},'consumed':!0x0}:_0x3e6618===0x3?{'mouse':{'type':_0x18b018(-_0x26a672._0x3bce88,0x6c,0x214,-_0x26a672._0x3c2195),'button':_0x3d0888,'x':_0x3a7f69,'y':_0x24670e},'consumed':!0x0}:{'mouse':{'type':_0x18b018(_0x26a672._0x39a5a6,_0x26a672._0x52d224,-0xfa,-0x57),'button':_0x3d0888,'x':_0x3a7f69,'y':_0x24670e},'consumed':!0x0};}function _0x18b018(_0x49f302,_0x8d1f37,_0x479fc5,_0x319f1d){return _0x5a69d4(_0x49f302-_0x2d6e77._0x103b16,_0x8d1f37- -_0x2d6e77._0x4cc8cf,_0x49f302,_0x319f1d-0x13a);}return{'mouse':null,'consumed':!0x1};}import{jsx as _0x158286}from'react/jsx-runtime';var La=_0x3764a2(0x32a,0x16f,0x141,0x4d1),Da=_0x5a69d4(0x656,0x5b5,0x7fa,0x373),Ba=_0x5a69d4(0x810,0x7a7,0x58c,0x894),Wn=_0x3764a2(0x105,-0x9d,-0x11a,0xbf);function _a(){const _0x3e8b9c={_0x4bcd5b:0x562,_0x5ec08c:0x857,_0xff6a8a:0x631,_0x593959:0x325,_0x880e72:0x697,_0x1e3b15:0x51a,_0x4b0b01:0x804,_0x43830d:0x572,_0x5ccafc:0x5fd,_0x3c3c20:0x71e,_0x450ec9:0x864,_0x4b190a:0x4b4,_0x280140:0x669,_0x4bdd7a:0x868,_0x290488:0x627,_0x11b927:0x8e0,_0x2a59d4:0x8ec,_0x1065e4:0x6bd,_0x296285:0x5e3,_0x448d85:0x625,_0x14f6c0:0x34f,_0x188734:0x982,_0x4f72e9:0x597},_0x46e64a={_0x26c61b:0x1b0},_0x5e8d5e={_0x181bd5:0xff,_0x2f4c3a:0x173};let _0x573c43=process[_0x33ae53(0x6f1,_0x3e8b9c._0x4bcd5b,_0x3e8b9c._0x5ec08c,_0x3e8b9c._0xff6a8a)][_0xf6febd(_0x3e8b9c._0x593959,_0x3e8b9c._0x880e72,_0x3e8b9c._0x1e3b15,0x55c)]||'',_0x267df5=process[_0xf6febd(0x823,0x7e2,_0x3e8b9c._0x4b0b01,0x947)]['TERM_PROGRAM']||'';function _0x33ae53(_0xe92909,_0x3b6a8a,_0x5b7a14,_0x403528){return _0x5a69d4(_0xe92909-_0x5e8d5e._0x181bd5,_0xe92909- -0x42,_0x5b7a14,_0x403528-_0x5e8d5e._0x2f4c3a);}function _0xf6febd(_0x32a16e,_0x4c7be3,_0x28ea7a,_0xeeaf15){return _0x3764a2(_0x28ea7a-0x5ec,_0x4c7be3-_0x46e64a._0x26c61b,_0x4c7be3,_0xeeaf15-0x79);}if(_0x573c43===_0xf6febd(_0x3e8b9c._0x43830d,_0x3e8b9c._0x5ccafc,_0x3e8b9c._0x3c3c20,0x8d2)||process[_0x33ae53(0x6f1,_0x3e8b9c._0x450ec9,0x764,_0x3e8b9c._0x4b190a)][_0x33ae53(_0x3e8b9c._0x280140,0x4e2,0x496,0x47c)]||['kitty','ghostty',_0x33ae53(_0x3e8b9c._0x4bdd7a,_0x3e8b9c._0x290488,_0x3e8b9c._0x11b927,_0x3e8b9c._0x2a59d4),_0x33ae53(0x4dd,_0x3e8b9c._0x1065e4,_0x3e8b9c._0x296285,0x309),_0xf6febd(0x4ed,0x71d,0x71d,_0x3e8b9c._0x448d85)]['some'](_0x255228=>_0x267df5['toLowerCase']()['includes'](_0x255228[_0x33ae53(0x86a,0x9fb,0x70d,0x72e)]())))return!0x0;for(let _0x4cfe0f of Object[_0xf6febd(_0x3e8b9c._0x14f6c0,0x73f,0x58a,0x4bc)](process[_0xf6febd(0x7c8,0x96d,0x804,_0x3e8b9c._0x188734)]))if(_0x4cfe0f[_0xf6febd(0x664,_0x3e8b9c._0x4f72e9,0x5c4,0x690)]('KITTY_'))return!0x0;return!0x1;}var Na=({children:_0x2603ae,stdout:_0x494b7c,middleware:_0x238d44=[],enableKittyProtocol:_0x5f0239=_0x5a69d4(0x691,0x4cb,0x6b8,0x2ec)})=>{const _0x5c9c02={_0x380d97:0x486},_0x9e86bf={_0x9e55c1:0x3d1,_0x156bba:0x496,_0x3518ff:0x602},_0xd8c3c7={_0x18276b:0x4c5,_0x5f3fe4:0x63d,_0x231584:0x416,_0x2c3d81:0x84b},_0x1074dc={_0x18bbce:0x66c,_0x4a3d40:0x397,_0x33c9bd:0x683,_0x57df5e:0x425,_0x30d904:0x890,_0x82b359:0x3ec,_0x294392:0x36f,_0x207d6b:0x1c4,_0x4574aa:0x532},_0x519468={_0x2ca2bf:0x8c1,_0x4c3c98:0x97e,_0x50506a:0x62d,_0xfcb5a1:0x696,_0x5b2d3c:0x253,_0x564fe4:0x1f,_0x496875:0x1d8,_0x4c7727:0x9eb,_0x367d1d:0x7e3,_0x49e08d:0x802,_0x5a26ef:0x274,_0x2df2ee:0x2b6},_0x2bed26={_0x72b135:0x8e},_0x35be73={_0x168e92:0x3b5,_0xe8e2fb:0x4a5,_0x558be3:0x3a0,_0xd25cc5:0x43a,_0x1ff51f:0x6c9,_0x862497:0x7ad},_0x2c393f={_0x1bad99:0x74b,_0x4694a4:0x587,_0x583d43:0x5b3,_0x257306:0x70f,_0x4a1135:0x3fc,_0x17fb21:0x4bd,_0x45539a:0x2fb,_0x242516:0x49c,_0x3b0b51:0x562,_0x45e9cf:0x553,_0x6037f2:0x576,_0x4e399d:0x508,_0x557585:0x576,_0x4a1e90:0x581,_0x30cc27:0x401,_0x2ec3d5:0x68c,_0x44692e:0x77d,_0x5a57e2:0x488,_0x1890ad:0x5b2,_0x41e99b:0x6a9,_0x2c6c5e:0x68c,_0x105dd4:0x882},_0x41f4b6={_0x4cb550:0x72d,_0x4a43ab:0x560,_0x173ee1:0x4e3,_0x550cbd:0x328,_0x253830:0x615,_0x16dbcd:0x5c9},_0x2ac5eb={_0x5b06e8:0x112},_0x1c9dae={_0x1cbd6c:0x265,_0x3636a9:0x270,_0x129453:0x2a,_0x386ae0:0x58,_0x4b0ca2:0x81,_0x577da2:0x318,_0x5b9cdd:0x87},_0x1f1697={_0x2b8e92:0x387},_0x1db295={_0x34747d:0x712,_0x1f2f5f:0x494,_0x114e4d:0x64c,_0x4a0600:0x50f,_0x4eb0ca:0x5a6,_0x5221f1:0x4d3,_0x228c8e:0x433,_0x476c74:0x64c,_0x38dc8a:0x209,_0x23c829:0x710,_0xc83efa:0x7b5,_0x4cefc2:0x76a},_0x578738={_0x5840ce:0x18a,_0x149cf2:0x179},_0x1d6873={_0x51179b:0xaa,_0x476f4e:0xf9,_0x333040:0x4c,_0x248359:0x1f5,_0x1bf031:0xed},_0xb5e2a9={_0x5bb7e3:0xe6},_0x193f0c={_0x4c2285:0x34d,_0x349ca3:0x468,_0x503445:0x4ad,_0x3e7ec6:0x535},_0x3fffa1={_0x533c12:0xc1,_0x49f7b2:0xc7},_0x2b560f={_0x24e362:0x4ec,_0x900a2a:0x6dd,_0x49daee:0x663},_0x348ca9={_0x45b3f1:0x4b},_0xb3b43a={_0xddf3f8:0x340},_0x3a6723={_0x25e0e1:0x18f};let {stdin:_0x3c04d5,setRawMode:_0x88c76b,isRawModeSupported:_0x520ccc,internal_eventEmitter:_0x30437a}=_0x14cce9(),{stdout:_0x167a31}=_0x41a373(),_0x29073f=_0x494b7c||_0x167a31,_0x369f6f=_0x2902d7(new Map()),_0x5f0a24=_0x2902d7(new Map()),_0x45d58a=_0x2902d7(_0x238d44),_0x38043b=_0x2902d7(0x0),_0x53aad9=_0x2902d7(0x0),_0x30df6e=_0x2902d7(!0x1),_0x402359=_0x2902d7(!0x1),_0x499425=_0x2902d7(0x0),[_0x1d63db,_0x38605a]=_0x266953(!0x1);function _0x910d59(_0x4a0c85,_0x198112,_0x1f1e3b,_0x57ceb5){return _0x3764a2(_0x1f1e3b-0x5a0,_0x198112-0x63,_0x198112,_0x57ceb5-_0x3a6723._0x25e0e1);}_0x547572(()=>{const _0x40cc68={_0x51a49a:0x3b};function _0x251cbd(_0x44a5cb,_0x8ba61,_0x3e3417,_0x381a8c){return _0x4e8e(_0x8ba61-_0x40cc68._0x51a49a,_0x3e3417);}_0x45d58a[_0x251cbd(0x318,0x30d,0x379,_0xb3b43a._0xddf3f8)]=_0x238d44;},[_0x238d44]),_0x547572(()=>(_0x520ccc&&!_0x30df6e[_0x552ad8(0x43c,0x3e6,0x268,0x630)]&&(_0x88c76b(!0x0),_0x30df6e[_0x910d59(0x4c4,0x507,0x5e4,0x4ad)]=!0x0),()=>{function _0x41a9e8(_0x101ce8,_0x1e9fde,_0x1849eb,_0xfe72df){return _0x910d59(_0x101ce8-_0x348ca9._0x45b3f1,_0x101ce8,_0x1e9fde- -0x90,_0xfe72df-0x6);}_0x30df6e[_0x41a9e8(_0x2b560f._0x24e362,0x554,_0x2b560f._0x900a2a,_0x2b560f._0x49daee)]&&(_0x88c76b(!0x1),_0x30df6e['current']=!0x1);}),[_0x520ccc,_0x88c76b]),_0x547572(()=>((_0x5f0239===!0x0||_0x5f0239===_0x910d59(0x785,0x4b4,0x550,0x314)&&_a())&&_0x29073f&&!_0x402359[_0x552ad8(0x1b6,0x3e6,0x4a0,0x5a9)]&&(_0x29073f[_0x552ad8(0x66f,0x462,0x5fb,0x392)](La),_0x402359[_0x552ad8(0x1b1,0x3e6,0x2d6,0x256)]=!0x0,go(!0x0)),()=>{const _0x5e3238={_0x1b339c:0x19e};function _0x4fa18b(_0x8c857c,_0x2f2e26,_0x2f7dc0,_0x3c2083){return _0x552ad8(_0x8c857c-_0x5e3238._0x1b339c,_0x3c2083- -0x488,_0x2f7dc0-0x166,_0x2f7dc0);}function _0x4a1b8e(_0x2b9325,_0x14b8fe,_0x3c73f7,_0x59326d){return _0x552ad8(_0x2b9325-_0x3fffa1._0x533c12,_0x2b9325-_0x3fffa1._0x49f7b2,_0x3c73f7-0x1cf,_0x3c73f7);}_0x402359[_0x4a1b8e(0x4ad,_0x193f0c._0x4c2285,0x56b,_0x193f0c._0x349ca3)]&&_0x29073f&&(_0x29073f['write'](Da),_0x402359[_0x4a1b8e(_0x193f0c._0x503445,_0x193f0c._0x3e7ec6,0x2ca,0x429)]=!0x1,go(!0x1));}),[_0x5f0239,_0x29073f]);function _0x552ad8(_0x3d43b6,_0xa3105e,_0x338c69,_0x2f2a80){return _0x3764a2(_0xa3105e-0x3a2,_0xa3105e-0xd7,_0x2f2a80,_0x2f2a80-0x88);}let _0x538f1c=_0x13179d(()=>{const _0x51c388={_0x48efd5:0x1d3};function _0x399fef(_0x27fec3,_0x11bb64,_0x5b80b6,_0x831a76){return _0x910d59(_0x27fec3-0x1b,_0x5b80b6,_0x831a76- -0x4eb,_0x831a76-_0xb5e2a9._0x5bb7e3);}function _0x49ed37(_0x205965,_0x381f29,_0x7fe0dd,_0x39a621){return _0x552ad8(_0x205965-_0x51c388._0x48efd5,_0x7fe0dd- -0x458,_0x7fe0dd-0xf7,_0x39a621);}_0x499425['current']++,_0x499425[_0x399fef(0xcb,-0x57,_0x1d6873._0x51179b,_0x1d6873._0x476f4e)]===0x1&&_0x29073f&&(_0x29073f[_0x49ed37(-_0x1d6873._0x333040,_0x1d6873._0x248359,0xa,-_0x1d6873._0x1bf031)](Ba),_0x38605a(!0x0));},[_0x29073f]),_0x3c2b0c=_0x13179d(()=>{const _0x3708cc={_0x4bdbc5:0x1aa,_0x489d54:0x193,_0x454c97:0x148};function _0x1b2920(_0x785de4,_0x26814c,_0x6af6b8,_0x5c70aa){return _0x552ad8(_0x785de4-_0x3708cc._0x4bdbc5,_0x26814c- -_0x3708cc._0x489d54,_0x6af6b8-_0x3708cc._0x454c97,_0x5c70aa);}function _0x52e576(_0x5d6a54,_0x20aa6a,_0x10a683,_0x586d63){return _0x552ad8(_0x5d6a54-_0x578738._0x5840ce,_0x10a683-0x266,_0x10a683-_0x578738._0x149cf2,_0x5d6a54);}_0x499425[_0x52e576(_0x1db295._0x34747d,_0x1db295._0x1f2f5f,_0x1db295._0x114e4d,0x82d)]=Math[_0x1b2920(_0x1db295._0x4a0600,_0x1db295._0x4eb0ca,0x70e,0x561)](0x0,_0x499425[_0x52e576(_0x1db295._0x5221f1,_0x1db295._0x228c8e,_0x1db295._0x476c74,0x894)]-0x1),_0x499425[_0x1b2920(0x9c,0x253,0x122,_0x1db295._0x38dc8a)]===0x0&&_0x29073f&&(_0x29073f[_0x52e576(_0x1db295._0x23c829,_0x1db295._0xc83efa,0x6c8,_0x1db295._0x4cefc2)](Wn),_0x38605a(!0x1));},[_0x29073f]);_0x547572(()=>()=>{const _0x2b4a0d={_0x32ad0d:0x71,_0x393d30:0x19,_0x150b2d:0x8d};function _0x1da26b(_0x929e1c,_0x2e4643,_0x1c8b20,_0x146307){return _0x552ad8(_0x929e1c-_0x2b4a0d._0x32ad0d,_0x1c8b20-_0x2b4a0d._0x393d30,_0x1c8b20-_0x2b4a0d._0x150b2d,_0x2e4643);}_0x29073f&&_0x499425[_0x1da26b(0x232,0x300,0x3ff,_0x1f1697._0x2b8e92)]>0x0&&_0x29073f['write'](Wn);},[_0x29073f]);let _0xf6e420=_0x13179d((_0x432eb4,_0x4a860d={})=>{const _0x2349fa={_0x5e1550:0x64e,_0x52664e:0x564},_0x2930ea={_0x13044b:0xef},_0x26b937={_0x456d9b:0xf9};let _0x2d7e4c=_0xd00a98(0x221,0x9b,0xd4,_0x1c9dae._0x1cbd6c)+ ++_0x38043b['current'],_0x5daa73=_0x4a860d['priority']??++_0x53aad9[_0x55fb73(-_0x1c9dae._0x3636a9,-_0x1c9dae._0x129453,-_0x1c9dae._0x386ae0,_0x1c9dae._0x4b0ca2)],_0x17c5af={'id':_0x2d7e4c,'handler':_0x432eb4,'priority':_0x5daa73,'isActive':_0x4a860d[_0x55fb73(0xac,-0x141,-0x344,-_0x1c9dae._0x577da2)]??!0x0};function _0xd00a98(_0x3f643c,_0x26cc4b,_0x5c2c8,_0x34e8cd){return _0x910d59(_0x3f643c-0x14,_0x34e8cd,_0x5c2c8- -0x55d,_0x34e8cd-_0x26b937._0x456d9b);}function _0x55fb73(_0xb54c2d,_0x5dfe4a,_0x103173,_0x34196e){return _0x910d59(_0xb54c2d-0xf2,_0xb54c2d,_0x5dfe4a- -0x60e,_0x34196e-_0x2930ea._0x13044b);}return _0x369f6f[_0xd00a98(-0x157,0x218,_0x1c9dae._0x5b9cdd,-0x175)][_0x55fb73(0xef,0xd5,0xb,0x190)](_0x2d7e4c,_0x17c5af),()=>{const _0x53d46b={_0x3a3530:0x58e};function _0x29c900(_0x45000a,_0x4ee621,_0x23631d,_0x368e3a){return _0x55fb73(_0x23631d,_0x368e3a-_0x53d46b._0x3a3530,_0x23631d-0x30,_0x368e3a-0x12f);}_0x369f6f[_0x29c900(0x56c,0x57a,_0x2349fa._0x5e1550,_0x2349fa._0x52664e)]['delete'](_0x2d7e4c);};},[]),_0x29532a=_0x13179d((_0x1f6fe5,_0x413638={})=>{const _0x56b2ce={_0x541836:0x1a4},_0x1f29a7={_0x4aca62:0xdf,_0x4b5ef2:0xf9,_0x5f49af:0x133};let _0xdacc29='mouse_sub_'+ ++_0x38043b['current'],_0x30e27d=_0x413638[_0x2fbf7d(0x55f,_0x41f4b6._0x4cb550,0x63d,0x6da)]??++_0x53aad9[_0x2fbf7d(_0x41f4b6._0x4a43ab,_0x41f4b6._0x173ee1,0x438,0x331)],_0xb8dc77={'id':_0xdacc29,'handler':_0x1f6fe5,'priority':_0x30e27d,'isActive':_0x413638[_0x5f1289(0x7d,0x1d6,_0x41f4b6._0x550cbd,0x9c)]??!0x0};function _0x5f1289(_0x2659df,_0x1e0663,_0x56ffd9,_0x770a87){return _0x552ad8(_0x2659df-_0x1f29a7._0x4aca62,_0x1e0663- -_0x1f29a7._0x4b5ef2,_0x56ffd9-_0x1f29a7._0x5f49af,_0x2659df);}function _0x2fbf7d(_0x1b98f5,_0x7e5e74,_0x3747b7,_0x57775a){return _0x552ad8(_0x1b98f5-0x161,_0x1b98f5-0x17a,_0x3747b7-_0x2ac5eb._0x5b06e8,_0x57775a);}return _0x5f0a24[_0x2fbf7d(_0x41f4b6._0x4a43ab,_0x41f4b6._0x253830,0x37d,0x49b)][_0x2fbf7d(0x65f,0x772,_0x41f4b6._0x16dbcd,0x66f)](_0xdacc29,_0xb8dc77),()=>{const _0x5aa366={_0x25bf61:0x215,_0x253ce6:0x1de};function _0x37236e(_0x424912,_0x2a0f3a,_0x537311,_0x231920){return _0x2fbf7d(_0x424912- -_0x5aa366._0x25bf61,_0x2a0f3a-_0x5aa366._0x253ce6,_0x537311-0xb8,_0x231920);}_0x5f0a24['current'][_0x37236e(0x3c3,0x192,_0x56b2ce._0x541836,0x299)](_0xdacc29);};},[]),_0x341f9c=_0x13179d((_0x2ecd7c,_0x25f8ad)=>{const _0x1fc9f5={_0x40464b:0x158,_0x311325:0x2a7};function _0x5aaafc(_0x53eab6,_0x35f431,_0x186fab,_0x14b2c0){return _0x910d59(_0x53eab6-0x1b2,_0x14b2c0,_0x35f431- -0x31,_0x14b2c0-0xc2);}let _0xe4ad30=_0x369f6f[_0x117492(0x68d,_0x2c393f._0x1bad99,0x605,_0x2c393f._0x4694a4)]['get'](_0x2ecd7c)||_0x5f0a24[_0x5aaafc(0x6c6,_0x2c393f._0x583d43,0x67a,0x70a)][_0x117492(0x5ff,_0x2c393f._0x257306,_0x2c393f._0x4a1135,_0x2c393f._0x17fb21)](_0x2ecd7c);function _0x117492(_0x1bdbc7,_0x6c4035,_0x4c3106,_0x494056){return _0x552ad8(_0x1bdbc7-_0x1fc9f5._0x40464b,_0x1bdbc7-_0x1fc9f5._0x311325,_0x4c3106-0x1a7,_0x494056);}_0xe4ad30&&(_0x25f8ad[_0x5aaafc(_0x2c393f._0x45539a,_0x2c393f._0x242516,_0x2c393f._0x3b0b51,_0x2c393f._0x45e9cf)]!==void 0x0&&(_0xe4ad30[_0x117492(_0x2c393f._0x6037f2,0x4e3,0x78c,_0x2c393f._0x4e399d)]=_0x25f8ad[_0x117492(_0x2c393f._0x557585,0x4f4,_0x2c393f._0x4a1e90,_0x2c393f._0x30cc27)]),_0x25f8ad[_0x117492(_0x2c393f._0x2ec3d5,_0x2c393f._0x44692e,_0x2c393f._0x5a57e2,0x614)]!==void 0x0&&(_0xe4ad30[_0x5aaafc(0x3d6,_0x2c393f._0x1890ad,_0x2c393f._0x41e99b,0x674)]=_0x25f8ad[_0x117492(_0x2c393f._0x2c6c5e,0x772,0x694,_0x2c393f._0x105dd4)]));},[]),_0xb5d44=_0x13179d(_0x1f26cb=>(_0x45d58a[_0x552ad8(0x457,0x3e6,0x371,0x1e6)]['push'](_0x1f26cb),()=>{const _0xaf2ab6={_0x13f7cb:0xac,_0x3657ca:0x31,_0x3e8117:0x93};let _0x2eafea=_0x45d58a[_0x18c3f2(0x1f4,0x2a7,0x41c,_0x35be73._0x168e92)][_0x47fa85(_0x35be73._0xe8e2fb,0x46e,0x1cd,0x33e)](_0x1f26cb);function _0x18c3f2(_0x189c13,_0x472028,_0x2e5bac,_0x3c0552){return _0x552ad8(_0x189c13-_0xaf2ab6._0x13f7cb,_0x3c0552- -_0xaf2ab6._0x3657ca,_0x2e5bac-_0xaf2ab6._0x3e8117,_0x472028);}function _0x47fa85(_0x18539d,_0xca25e1,_0x174482,_0x4ee532){return _0x552ad8(_0x18539d-0x3f,_0x4ee532-0x54,_0x174482-0x11c,_0xca25e1);}_0x2eafea!==-0x1&&_0x45d58a[_0x47fa85(_0x35be73._0x558be3,0x552,0x2e9,_0x35be73._0xd25cc5)][_0x18c3f2(_0x35be73._0x1ff51f,_0x35be73._0x862497,0x43d,0x640)](_0x2eafea,0x1);}),[]),_0x4cdf29=_0x13179d((_0x3dd223,_0x49dea9)=>{const _0x32eb46={_0x3fb089:0x1d4};function _0x21f3f4(_0x12b31b,_0x3e365f,_0x3fe59a,_0x372e59){return _0x552ad8(_0x12b31b-0x83,_0x12b31b- -0x46f,_0x3fe59a-_0x2bed26._0x72b135,_0x3fe59a);}function _0x310b84(_0xf7069c,_0x41909f,_0x2ce38f,_0x4c36c9){return _0x910d59(_0xf7069c-_0x32eb46._0x3fb089,_0xf7069c,_0x2ce38f-0x1e,_0x4c36c9-0x4d);}let _0x4c0275=Array[_0x310b84(_0x519468._0x2ca2bf,_0x519468._0x4c3c98,0x83a,0x78a)](_0x369f6f[_0x310b84(0x54b,_0x519468._0x50506a,0x602,_0x519468._0xfcb5a1)][_0x21f3f4(-0x137,-_0x519468._0x5b2d3c,-_0x519468._0x564fe4,-_0x519468._0x496875)]())[_0x310b84(0xa1c,_0x519468._0x4c7727,0x8bc,_0x519468._0x367d1d)](_0x5b64a9=>_0x5b64a9[_0x310b84(0x4fe,0x542,0x4eb,0x533)])[_0x310b84(0x716,0x602,0x617,_0x519468._0x49e08d)]((_0x37d612,_0x2752e4)=>_0x2752e4[_0x310b84(0x5e9,0x6f3,0x601,0x58c)]-_0x37d612[_0x310b84(0x3f5,0x5fa,0x601,0x591)]);for(let _0xafff71 of _0x4c0275)if(_0xafff71[_0x21f3f4(0x132,_0x519468._0x5a26ef,_0x519468._0x2df2ee,0x287)](_0x3dd223,_0x49dea9)===!0x0)break;},[]),_0x5870e3=_0x13179d(_0x53b5b5=>{function _0x47f0da(_0x387ef8,_0x12c634,_0x324b50,_0xe2adf0){return _0x910d59(_0x387ef8-0x1a,_0x324b50,_0x387ef8- -0x20d,_0xe2adf0-0xef);}function _0x440d00(_0x5ab356,_0x521ab5,_0xc6c258,_0x221a1c){return _0x910d59(_0x5ab356-0x42,_0xc6c258,_0x5ab356-0x6d,_0x221a1c-0x1b6);}let _0x327db2=Array[_0x440d00(0x889,0x72f,0x7e4,_0x1074dc._0x18bbce)](_0x5f0a24['current'][_0x440d00(0x5a3,_0x1074dc._0x4a3d40,_0x1074dc._0x33c9bd,_0x1074dc._0x57df5e)]())[_0x47f0da(0x691,0x8d5,_0x1074dc._0x30d904,0x626)](_0x24d24f=>_0x24d24f[_0x47f0da(0x2c0,0x4ce,0x49c,0xf8)])[_0x47f0da(_0x1074dc._0x82b359,_0x1074dc._0x294392,_0x1074dc._0x207d6b,_0x1074dc._0x4574aa)]((_0x5550b2,_0x2f8f73)=>_0x2f8f73[_0x47f0da(0x3d6,0x57f,0x1de,0x22c)]-_0x5550b2[_0x47f0da(0x3d6,0x575,0x39a,0x39e)]);for(let _0x51f19a of _0x327db2)if(_0x51f19a['handler'](_0x53b5b5)===!0x0)break;},[]);_0x547572(()=>{const _0x9daf23={_0x2dea4c:0x26c},_0x1f855d={_0x21dcae:0x4e8},_0x227de1={_0x35823a:0x138,_0x23f711:0x3b,_0x50fd74:0x67};if(!_0x30437a)return;let _0x857c12=_0x5d4332=>{let {mouse:_0x663416,consumed:_0x742898}=Kn(_0x5d4332);if(_0x742898&&_0x663416){_0x5870e3(_0x663416);return;}let {input:_0x1d1a67,key:_0x25e921}=jn(_0x5d4332),_0x46ce26=_0x45d58a[_0x36f853(_0x227de1._0x35823a,-_0x227de1._0x23f711,-_0x227de1._0x50fd74,0x154)],_0x367feb=0x0,_0x56452a=()=>{const _0x473dcc={_0x10258d:0x16e,_0x92b1f4:0x42};function _0x25a76d(_0x27d4f0,_0x11db8f,_0x4f459a,_0x4523db){return _0x36f853(_0x27d4f0-0x26,_0x27d4f0-_0x473dcc._0x10258d,_0x11db8f,_0x4523db-_0x473dcc._0x92b1f4);}if(_0x367feb<_0x46ce26[_0x25a76d(0x3eb,0x4c5,0x3c0,0x4e5)]){let _0x9c21df=_0x46ce26[_0x367feb];_0x367feb++,_0x9c21df?.(_0x1d1a67,_0x25e921,_0x56452a);}else _0x4cdf29(_0x1d1a67,_0x25e921);};function _0x36f853(_0x506781,_0xd850dd,_0x74e931,_0x2fbe71){return _0x4e8e(_0xd850dd- -0x30d,_0x74e931);}_0x56452a();};function _0x323eab(_0x51d959,_0x1ffedd,_0x3334d1,_0x2d1f96){return _0x910d59(_0x51d959-0x6d,_0x1ffedd,_0x51d959- -_0x1f855d._0x21dcae,_0x2d1f96-0x13d);}return _0x30437a['on'](_0x323eab(_0x9e86bf._0x9e55c1,0x386,_0x9e86bf._0x156bba,_0x9e86bf._0x3518ff),_0x857c12),()=>{function _0x505322(_0x360276,_0x5caa07,_0x2f0b71,_0x213f7f){return _0x323eab(_0x5caa07-_0x9daf23._0x2dea4c,_0x2f0b71,_0x2f0b71-0x179,_0x213f7f-0x5e);}_0x30437a['off'](_0x505322(_0xd8c3c7._0x18276b,_0xd8c3c7._0x5f3fe4,_0xd8c3c7._0x231584,_0xd8c3c7._0x2c3d81),_0x857c12);};},[_0x30437a,_0x4cdf29,_0x5870e3]);let _0x27f22a=_0x378207(()=>({'subscribe':_0xf6e420,'subscribeMouse':_0x29532a,'updateSubscriber':_0x341f9c,'addMiddleware':_0xb5d44,'setRawMode':_0x88c76b,'isRawModeSupported':_0x520ccc,'enableMouseMode':_0x538f1c,'disableMouseMode':_0x3c2b0c,'isMouseModeEnabled':_0x1d63db}),[_0xf6e420,_0x29532a,_0x341f9c,_0xb5d44,_0x88c76b,_0x520ccc,_0x538f1c,_0x3c2b0c,_0x1d63db]);return _0x158286(Ze[_0x552ad8(_0x5c9c02._0x380d97,0x48a,0x483,0x45c)],{'value':_0x27f22a,'children':_0x2603ae});};import{EventEmitter as _0x4da5b4}from'events';var br=class{constructor(){const _0x293d8a={_0x21df7a:0x71e,_0x3dbe1d:0x6c4,_0x23eca5:0x848,_0x3b488d:0x3ef,_0x525acd:0x63e,_0x40310f:0x54b},_0xfce557={_0xd38938:0x1b4,_0x1cec2f:0x72},_0x149baf={_0x56911e:0x1e6,_0x45ef9d:0x9f};function _0x4f3674(_0x5a2b77,_0x3960be,_0x10d4b0,_0x13f0ca){return _0x5a69d4(_0x5a2b77-_0x149baf._0x56911e,_0x5a2b77- -_0x149baf._0x45ef9d,_0x10d4b0,_0x13f0ca-0x126);}function _0x3f41a0(_0x3d4797,_0x49bfd4,_0x208f39,_0x39bab5){return _0x5a69d4(_0x3d4797-_0xfce557._0xd38938,_0x3d4797-_0xfce557._0x1cec2f,_0x39bab5,_0x39bab5-0x10e);}this[_0x3f41a0(_0x293d8a._0x21df7a,0x790,_0x293d8a._0x3dbe1d,0x7c8)]=new _0x4da5b4(),this[_0x4f3674(0x60d,_0x293d8a._0x23eca5,0x7db,_0x293d8a._0x3b488d)][_0x3f41a0(_0x293d8a._0x525acd,_0x293d8a._0x40310f,0x805,0x620)](0x1e);}['on'](_0x5f1903,_0x393ecb){const _0x4dd91e={_0x12c306:0x675};function _0x664603(_0x29bace,_0x1c176e,_0x30c727,_0x372cad){return _0x5a69d4(_0x29bace-0x139,_0x1c176e- -0x19f,_0x30c727,_0x372cad-0x115);}this[_0x664603(_0x4dd91e._0x12c306,0x50d,0x35f,0x4cd)]['on'](_0x5f1903,_0x393ecb);}[_0x3764a2(0xdd,0x8,-0xb6,0x187)](_0x4c08da,_0x5b1b73){const _0x452257={_0x3ddee0:0x6a5,_0x2f4cd6:0x57f},_0x9813dd={_0x3c39aa:0x140,_0x28b41d:0xe6},_0x2f5634={_0x3a7114:0xd6,_0x41994b:0x152,_0x35e4d0:0x4a};function _0x2a1ecc(_0x40a430,_0x17191a,_0x1de104,_0x432499){return _0x5a69d4(_0x40a430-_0x2f5634._0x3a7114,_0x17191a-_0x2f5634._0x41994b,_0x40a430,_0x432499-_0x2f5634._0x35e4d0);}function _0x655c96(_0x171b66,_0x13398b,_0x1b1b82,_0x3d3146){return _0x5a69d4(_0x171b66-0x24,_0x3d3146-_0x9813dd._0x3c39aa,_0x13398b,_0x3d3146-_0x9813dd._0x28b41d);}this[_0x655c96(0x65c,_0x452257._0x3ddee0,0x9a1,0x7ec)][_0x2a1ecc(_0x452257._0x2f4cd6,0x74a,0x87b,0x8c5)](_0x4c08da,_0x5b1b73);}[_0x3764a2(-0x83,-0x117,0xa2,0xc5)](_0x1e1dc6,_0x12d808){const _0x531439={_0x561db3:0x476,_0x973402:0x3c7,_0x3a9ff6:0x5a6,_0xfd2b61:0x498,_0x3a5b6b:0x285},_0x1b33ec={_0x49f03b:0x14c,_0x47c210:0xd1},_0x2eae7d={_0x18d363:0x4,_0x41b175:0x1d6};function _0x22b15e(_0x1e2e88,_0x25ce43,_0x1ef65b,_0x4f5bff){return _0x5a69d4(_0x1e2e88-_0x2eae7d._0x18d363,_0x25ce43- -0x530,_0x4f5bff,_0x4f5bff-_0x2eae7d._0x41b175);}function _0x47c448(_0x250b78,_0x14b4cc,_0x2afec0,_0xfbf2cd){return _0x5a69d4(_0x250b78-_0x1b33ec._0x49f03b,_0x250b78- -_0x1b33ec._0x47c210,_0xfbf2cd,_0xfbf2cd-0x43);}this[_0x47c448(0x5db,0x68f,0x45c,_0x531439._0x561db3)][_0x47c448(_0x531439._0x973402,_0x531439._0x3a9ff6,_0x531439._0xfd2b61,_0x531439._0x3a5b6b)](_0x1e1dc6,_0x12d808);}['emit'](_0x24f2d5,_0x59a74a){const _0x304b1e={_0x34d448:0x664,_0x8fc259:0x5e0},_0x2c7e53={_0x452df6:0x132,_0x992ac0:0x1d9};function _0x78ca5b(_0x33ae9e,_0x48e860,_0x5445a5,_0x366fa9){return _0x5a69d4(_0x33ae9e-_0x2c7e53._0x452df6,_0x33ae9e-0x9b,_0x366fa9,_0x366fa9-_0x2c7e53._0x992ac0);}this['emitter'][_0x78ca5b(_0x304b1e._0x34d448,0x7fa,0x4fd,_0x304b1e._0x8fc259)](_0x24f2d5,_0x59a74a);}},k=new br(),Vn=(_0x5c1924,_0x47d0f3,_0x169f09)=>{const _0x3befe2={_0x194b21:0x235,_0x9df7bf:0x667},_0x35f8b1={_0x496090:0x5c1,_0x19fe2d:0x17},_0x4a334a={_0x2af8f4:0xa};if(_0x47d0f3['ctrl']&&_0x5c1924==='c'){k[_0x2335f8(0x8,0x122,-0x1a4,_0x3befe2._0x194b21)](_0x79286e(0x7ee,0x6ce,_0x3befe2._0x9df7bf,0xa37),void 0x0);return;}function _0x79286e(_0x38eb36,_0x1306ac,_0x16086b,_0x128f44){return _0x5a69d4(_0x38eb36-0xc9,_0x38eb36- -_0x4a334a._0x2af8f4,_0x1306ac,_0x128f44-0x3e);}function _0x2335f8(_0x7e0cd5,_0x5adf1e,_0x4eb264,_0x580f06){return _0x5a69d4(_0x7e0cd5-0x1,_0x7e0cd5- -_0x35f8b1._0x496090,_0x580f06,_0x580f06-_0x35f8b1._0x19fe2d);}_0x169f09();},zn=(_0x2348d8,_0x416375,_0x3d94db)=>{const _0xa89397={_0x11e75c:0x7df,_0x357ff1:0x7f7,_0x2f3cc0:0x96c,_0x3b247d:0x93,_0x1314d0:0x84,_0x3d9e25:0x2c,_0x1fd30e:0xd5,_0x3c9476:0xe5,_0x553a35:0x28,_0x5c512b:0x6da},_0x3e6cce={_0x5d4a7c:0x98};function _0x2dec5b(_0x10c424,_0x189df7,_0x5f16be,_0x32e1ed){return _0x5a69d4(_0x10c424-0x1a7,_0x5f16be- -0x46b,_0x189df7,_0x32e1ed-0x26);}function _0x5d2ece(_0x479a20,_0x3c7d9d,_0x345ba4,_0x3185cf){return _0x3764a2(_0x479a20-0x5b9,_0x3c7d9d-0x128,_0x3c7d9d,_0x3185cf-_0x3e6cce._0x5d4a7c);}_0x2348d8['startsWith'](_0x5d2ece(0x746,_0xa89397._0x11e75c,_0xa89397._0x357ff1,_0xa89397._0x2f3cc0))||_0x2348d8[_0x2dec5b(-0x59,0x258,0x88,0x1b6)]('[200~')?k[_0x2dec5b(-0x4d,0x173,0x15e,0x365)](_0x2dec5b(_0xa89397._0x3b247d,-_0xa89397._0x1314d0,_0xa89397._0x3d9e25,-_0xa89397._0x1fd30e),void 0x0):_0x416375[_0x2dec5b(-_0xa89397._0x3c9476,0x37c,0x132,_0xa89397._0x553a35)]&&_0x2348d8==='v'&&k[_0x2dec5b(-0x96,0x61,0x15e,0x1a8)](_0x5d2ece(0x535,0x73f,0x4ba,_0xa89397._0x5c512b),void 0x0),_0x3d94db();},Gn=(_0x4205f7,_0x5e3cfe,_0x30dd6d)=>{const _0x439aa0={_0x30485d:0x3e1,_0x1d73c1:0x4e0,_0xd96bfe:0x4ba},_0x37d4e9={_0x1fbdca:0x40c,_0x5bb009:0x18b},_0x54f832={_0x372e8b:0x9b,_0x103bc9:0x12d};function _0x4fa07b(_0x4eb565,_0x499c69,_0x41bdeb,_0x1fba00){return _0x5a69d4(_0x4eb565-_0x54f832._0x372e8b,_0x4eb565-_0x54f832._0x103bc9,_0x1fba00,_0x1fba00-0x126);}function _0x5b7897(_0x144d47,_0xb857c0,_0x3363f5,_0x12264f){return _0x3764a2(_0x12264f-_0x37d4e9._0x1fbdca,_0xb857c0-_0x37d4e9._0x5bb009,_0x3363f5,_0x12264f-0x12e);}if(_0x5e3cfe[_0x5b7897(0x61b,_0x439aa0._0x30485d,0x576,0x48e)]&&_0x4205f7==='b'){k[_0x5b7897(0x6d8,0x3d1,_0x439aa0._0x1d73c1,_0x439aa0._0xd96bfe)]('ui:keyboard:explainToggle','');return;}_0x30dd6d();},Fa=[Vn,zn,Gn];import{useEffect as _0x5c739b,useRef as _0x49037b,useContext as _0x557a10}from'react';var Y=(_0x9ac00b,_0x4d5efc={})=>{const _0x24f70a={_0xf36c2c:0x108,_0x570c66:0x22},_0xb057ea={_0x478ace:0x4e6,_0x49e0e9:0x4a,_0x1b431a:0x16e};let {subscribe:_0x17156d}=_0x557a10(Ze),_0x38a7d1=_0x49037b(_0x9ac00b),{isActive:_0x158abb=!0x0,priority:_0x1d1ff1}=_0x4d5efc;function _0x3c72a5(_0x4dcbc0,_0x3bcd80,_0xf798ea,_0x5418c5){return _0x3764a2(_0x4dcbc0-_0xb057ea._0x478ace,_0x3bcd80-_0xb057ea._0x49e0e9,_0xf798ea,_0x5418c5-_0xb057ea._0x1b431a);}_0x5c739b(()=>{function _0x4b1ce1(_0x20d89c,_0xc4c9fa,_0x553c4a,_0x43779a){return _0x4e8e(_0x553c4a- -0x2b0,_0x43779a);}_0x38a7d1[_0x4b1ce1(0x1bc,-_0x24f70a._0xf36c2c,_0x24f70a._0x570c66,0x38)]=_0x9ac00b;}),_0x5c739b(()=>_0x158abb?_0x17156d((_0x193760,_0x555b37)=>_0x38a7d1[_0x3c72a5(0x52a,0x6e4,0x50b,0x48c)](_0x193760,_0x555b37),{'isActive':_0x158abb,'priority':_0x1d1ff1}):void 0x0,[_0x17156d,_0x158abb,_0x1d1ff1]);};import{useEffect as _0x53740b,useRef as _0x54ff98,useContext as _0x391e95}from'react';var Cr=(_0x1077b1,_0x343199={})=>{const _0x1e715c={_0x206f48:0x7da,_0x3977db:0x6cc,_0x228f8f:0x6a5};let {subscribeMouse:_0x23d760,enableMouseMode:_0x22bbed,disableMouseMode:_0x193c11}=_0x391e95(Ze),_0xcd5dc8=_0x54ff98(_0x1077b1),{isActive:_0x301638=!0x0,priority:_0x586858}=_0x343199;_0x53740b(()=>{function _0x4c0daa(_0x4d0f00,_0x4d6e3d,_0x5ed61e,_0x24ba61){return _0x4e8e(_0x4d6e3d-0x387,_0x5ed61e);}_0xcd5dc8[_0x4c0daa(_0x1e715c._0x206f48,0x659,_0x1e715c._0x3977db,_0x1e715c._0x228f8f)]=_0x1077b1;}),_0x53740b(()=>{if(!_0x301638)return;_0x22bbed();let _0x2e3b75=_0x23d760(_0x51c0f2=>_0xcd5dc8[_0x2a39c6(0x4c5,0x3d6,0x4a9,0x470)](_0x51c0f2),{'isActive':_0x301638,'priority':_0x586858});function _0x2a39c6(_0x5991f6,_0x35c9ef,_0x244d0c,_0x5427ef){return _0x4e8e(_0x244d0c-0x1d7,_0x5991f6);}return()=>{_0x2e3b75(),_0x193c11();};},[_0x23d760,_0x22bbed,_0x193c11,_0x301638,_0x586858]);};import*as _0x4ada36 from'fs';import*as _0x300883 from'path';import*as _0x45060e from'os';import*as _0x4881bd from'crypto';import{AgentOrchestrator as _0x4882e3,SimpleContextBuilder as _0x6d926c,RuntimeEnv as _0xc54639,renderTemplate as _0x340f88,buildInjectedSystem as _0x4e41e4,InMemoryMemory as _0x5e955d,PersistedMemory as _0x4c687b,JsonFileMemoryPersistence as _0x2b1aa5,SimpleId as _0x4b3ddf,SystemClock as _0x136555,SimpleCost as _0x15dc1d,NoopReminders as _0x286d86,ToolRegistry as _0x2a2a13,CompositeToolPort as _0x2b80f3,AgentRegistry as _0x4d3f4b,AgentFilePersistence as _0x3e635d,generateFolderTree as _0x5746e8,ConversationStore as _0x3ddde5,ConversationContext as _0x1f6404}from'@nuvin/nuvin-core';import{PersistingConsoleEventPort as _0x39a5e4,InMemoryMemory as _0x312d80}from'@nuvin/nuvin-core';import*as _0x4f0941 from'crypto';import{AgentEventTypes as _0x418a95,ErrorReason as _0x45629e}from'@nuvin/nuvin-core';import{readFile as _0x1bc98c}from'fs/promises';import{resolve as _0x2b85ac}from'path';function vr(_0x2e7dd6){return _0x2e7dd6['replace'](/\r\n/g,'\x0a');}function za(_0x31f3aa,_0x2acf33,_0x1bcd27,_0x2ebb58){const _0x5b06cc={_0x31a6dd:0x3bd,_0x3b5044:0x4f2,_0x2019b1:0xfb,_0xd51e99:0x280,_0x219bcd:0x6c3,_0x6ca9b3:0x366,_0x4ea685:0x138,_0x2b9617:0x29,_0x32061a:0x4a9,_0x5e73ad:0x330,_0x586689:0x209,_0x193a8d:0x17d,_0x36ba1e:0x57f,_0xd9c98a:0x4a8,_0x3ff24a:0x2ef,_0x46c4a9:0x429,_0x31fa30:0xe,_0x1d964d:0x1b8,_0x4ab9b5:0x309},_0x571bd9={_0x10507f:0x10b,_0x374ee3:0x3ee,_0x354d8c:0x123};function _0x297994(_0x59286e,_0x207d54,_0x58af1b,_0xb79d30){return _0x5a69d4(_0x59286e-_0x571bd9._0x10507f,_0xb79d30- -_0x571bd9._0x374ee3,_0x59286e,_0xb79d30-_0x571bd9._0x354d8c);}let _0x57988c=_0x31f3aa[_0x445992(0x455,0x294,0x367,_0x5b06cc._0x31a6dd)](0x0,_0x1bcd27)['split']('\x0a')[_0x297994(0x271,0x4f5,_0x5b06cc._0x3b5044,0x429)],_0x18205a=_0x2acf33[_0x445992(0x60,_0x5b06cc._0x2019b1,_0x5b06cc._0xd51e99,-0x54)](/\n$/,''),_0xd8e9b5=_0x18205a[_0x445992(0x496,0x4a9,_0x5b06cc._0x219bcd,_0x5b06cc._0x6ca9b3)]===0x0?0x0:_0x18205a[_0x445992(-0x128,0xe1,_0x5b06cc._0x4ea685,-_0x5b06cc._0x2b9617)]('\x0a')[_0x445992(0x2a1,_0x5b06cc._0x32061a,_0x5b06cc._0x3b5044,_0x5b06cc._0x5e73ad)],_0x5ab9dc=_0x57988c+_0xd8e9b5-0x1,_0xcd8cff=_0x2ebb58[_0x445992(_0x5b06cc._0x586689,0xfb,_0x5b06cc._0x193a8d,0x2ae)](/\n$/,''),_0x103193=_0xcd8cff[_0x297994(_0x5b06cc._0x36ba1e,_0x5b06cc._0xd9c98a,_0x5b06cc._0x3ff24a,_0x5b06cc._0x46c4a9)]===0x0?0x0:_0xcd8cff[_0x297994(0x13d,_0x5b06cc._0x31fa30,-_0x5b06cc._0x1d964d,0x61)]('\x0a')[_0x297994(0x448,0x504,_0x5b06cc._0x4ab9b5,0x429)],_0x15ec3e=_0x57988c,_0x50eca0=_0x15ec3e+_0x103193-0x1;function _0x445992(_0xa439c0,_0x58ef64,_0x4932c9,_0x47da4e){return _0x3764a2(_0x58ef64-0x1ad,_0x58ef64-0x9f,_0x4932c9,_0x47da4e-0x48);}return{'oldStartLine':_0x57988c,'oldEndLine':_0x5ab9dc,'newStartLine':_0x15ec3e,'newEndLine':_0x50eca0,'oldLineCount':_0xd8e9b5,'newLineCount':_0x103193};}async function Ga(_0xe5b31b){const _0x15be81={_0x13b5a6:0x6ca,_0x472d61:0x4eb,_0x4dae28:0x5bb,_0xd582ff:0x4f1,_0x2fc35c:0x71a,_0x702895:0x681,_0x32acc9:0x457,_0x160238:0x5a7,_0x4ff2e4:0xcd,_0x5e8461:0x83b,_0x293e01:0x1fc,_0x48cdbe:0x252,_0x5339a7:0x1b3,_0x22b6fd:0x7f1,_0x2149c7:0x735,_0x5d160b:0x6e,_0x40d68d:0x2b8,_0x43b1d3:0xc7},_0x101961={_0x323de6:0x1bd,_0x123d5f:0x3f5},_0x3e3137={_0x10dce4:0x19,_0x5f1d63:0xeb};function _0x127862(_0x164972,_0x1a1400,_0xe1cd78,_0x3de6ab){return _0x5a69d4(_0x164972-_0x3e3137._0x10dce4,_0x164972- -0xbe,_0x3de6ab,_0x3de6ab-_0x3e3137._0x5f1d63);}function _0x2c2c64(_0x4bf18e,_0x27d67a,_0x28e74a,_0x5ad6b9){return _0x5a69d4(_0x4bf18e-_0x101961._0x323de6,_0x4bf18e- -_0x101961._0x123d5f,_0x27d67a,_0x5ad6b9-0x9b);}try{let _0x2d5f21=_0xe5b31b[_0x127862(_0x15be81._0x13b5a6,0x7d2,_0x15be81._0x472d61,_0x15be81._0x4dae28)][_0x127862(_0x15be81._0xd582ff,_0x15be81._0x2fc35c,0x70e,_0x15be81._0x702895)]?JSON[_0x2c2c64(_0x15be81._0x32acc9,0x43b,_0x15be81._0x160238,0x3d6)](_0xe5b31b['function'][_0x2c2c64(0x1ba,0x1be,0x372,_0x15be81._0x4ff2e4)]):{};if(!_0x2d5f21[_0x127862(0x6e2,0x61a,0x659,_0x15be81._0x5e8461)]||_0x2d5f21[_0x2c2c64(0x15e,_0x15be81._0x293e01,_0x15be81._0x48cdbe,_0x15be81._0x5339a7)]===void 0x0||_0x2d5f21[_0x127862(0x563,0x4c5,0x644,0x3ee)]===void 0x0)return _0xe5b31b;let _0x4f6a12=_0x2b85ac(_0x2d5f21[_0x127862(0x6e2,_0x15be81._0x22b6fd,_0x15be81._0x2149c7,0x4c5)]),_0x43000c=await _0x1bc98c(_0x4f6a12,'utf-8'),_0x2cdbd9=vr(_0x43000c),_0x25d6cc=vr(_0x2d5f21['old_text']),_0x2db75b=vr(_0x2d5f21['new_text']),_0x4f16fb=_0x2cdbd9[_0x2c2c64(_0x15be81._0x5d160b,-0x130,_0x15be81._0x40d68d,_0x15be81._0x43b1d3)](_0x25d6cc);if(_0x4f16fb===-0x1)return _0xe5b31b;let _0x25fcab=za(_0x2cdbd9,_0x25d6cc,_0x4f16fb,_0x2db75b);return{..._0xe5b31b,'metadata':{'lineNumbers':_0x25fcab}};}catch{return _0xe5b31b;}}async function ho(_0x35dcce){const _0x55fc34={_0x4ffba8:0x63d,_0x2c64de:0x1be},_0x534179={_0x26e196:0x64d};function _0x31d4ea(_0xd55b8a,_0x234bf0,_0x42adc8,_0x3ea4b6){return _0x5a69d4(_0xd55b8a-0xc5,_0x42adc8- -0x5c2,_0x234bf0,_0x3ea4b6-0xba);}function _0x4c9764(_0x220c14,_0x4c1077,_0x1b5b1a,_0x2b8814){return _0x3764a2(_0x2b8814-_0x534179._0x26e196,_0x4c1077-0x124,_0x220c14,_0x2b8814-0xc0);}return Promise[_0x4c9764(_0x55fc34._0x4ffba8,0x628,0x825,0x6a7)](_0x35dcce[_0x31d4ea(_0x55fc34._0x2c64de,0x34a,0x2e6,0x472)](_0x148772=>_0x148772[_0x31d4ea(0x3f6,0x81,0x1c6,-0x43)][_0x31d4ea(0x405,0x2b8,0x216,0x43a)]==='file_edit'?Ga(_0x148772):_0x148772));}var Pt=()=>new Date()[_0x5a69d4(0xa03,0x833,0x8df,0x6a8)](),Ya={'toolCallCount':0x0,'recentToolCalls':new Map(),'streamingMessageId':null,'streamingContent':'','subAgents':new Map(),'lastToolCallMessageId':null,'agentToMessageMap':new Map(),'toolCallToMessageMap':new Map()},Xn=()=>({...Ya,'recentToolCalls':new Map(),'subAgents':new Map(),'lastToolCallMessageId':null,'agentToMessageMap':new Map(),'toolCallToMessageMap':new Map()});function Jn(_0x1ff920,_0x218710,_0x161906){const _0x3a6282={_0x246d83:0x2ee,_0x16374c:0x36c,_0x22be07:0x14d,_0x7dd027:0x2f5,_0xe47250:0x1d1,_0x2e1da0:0x1f0,_0x1b4a54:0x312,_0xe9f9ed:0x32d,_0x54285a:0x2f5,_0x2244cd:0x329,_0xd8fe14:0x545,_0x54d910:0x32,_0x4d5880:0xe9,_0x1118f6:0x83,_0x5a2442:0x111,_0x9333d2:0x23a,_0x32d439:0x349,_0xe4bd1d:0x44f,_0x245c81:0x1b8,_0x55381f:0xa0,_0x388477:0x1f7,_0x592fb1:0x2c,_0x350f16:0xc1,_0x491b82:0x188,_0x504ebe:0xed,_0x28da3b:0xcf,_0x2bd0fc:0x15f,_0x3b4339:0x253,_0xcf62e2:0x5a3,_0x23c662:0x4a4,_0x5dd485:0x33c,_0x143c87:0x18e,_0x40a121:0x27f,_0x37f23b:0x280,_0x1a6427:0x320,_0x247295:0x297,_0x352d2b:0x22a,_0x560e11:0x532,_0x50a711:0x76,_0x3e370a:0x13f,_0x5f0063:0x24b,_0x48120c:0x3ea,_0x325cdc:0x276,_0x5bd208:0x38b,_0x6db6c2:0x297,_0x5a4fc6:0x23f,_0x605f9a:0x173,_0xf62ef7:0x13d,_0xc5725b:0x49,_0x2119f2:0x258,_0x1d50d1:0x329,_0x2fdb73:0x227,_0x44512f:0x235,_0x39f192:0x404,_0x27b7bf:0x398,_0x1299c4:0x293,_0x12f572:0x335,_0x509da8:0x38b,_0x26799d:0x3c2,_0x4b1e90:0x513,_0x11c519:0x504,_0x54b3eb:0x79,_0x1e94ac:0x21e,_0x1dfc33:0x196,_0x7444fa:0x3ed,_0x2a00d7:0x4d6,_0x2cb15c:0x3f7,_0x35e775:0x267,_0x27b61c:0x426,_0x3abcd9:0x16d,_0xa3f825:0x204,_0x4ac215:0x347,_0x36a960:0x650,_0x688a39:0x3ed,_0x2b7b10:0x364,_0x4ae638:0x467,_0x39cbd8:0x2e7,_0x5ce469:0x135,_0x2de507:0x118,_0x2b8a43:0x179,_0x264802:0x90,_0x58d082:0x17d,_0x560312:0x2ea,_0xa25e9d:0x1c9,_0x3bfc39:0x300,_0x1c3e4d:0x192,_0xa5b8f:0x122,_0x55542b:0xb5,_0x22463f:0x19d,_0x12cc0d:0x38f,_0x1b7e5d:0x2e7,_0x3850ff:0x33a,_0x49558c:0x122,_0x558609:0xfb,_0x5ada0b:0x74,_0x381778:0x122,_0x2909de:0x4a6,_0x102f43:0xa5,_0x4346e6:0x11b,_0x1e1031:0x237,_0x963995:0xdc,_0x4beab2:0x119,_0x50565b:0x2d7,_0x2e4d4c:0x33c,_0xab296c:0x4a6,_0x5445de:0x49f,_0x3c87b7:0x101,_0xf5fec4:0x254,_0x39287c:0x4de,_0xc0fd37:0x250,_0x2c2966:0xff,_0x3d309d:0x36,_0x4c4e07:0x17a,_0x2aeb21:0x25,_0x213ae1:0x39f,_0x274aca:0x213,_0x396a82:0x278,_0x2a495e:0x12b,_0x327832:0x23b,_0x4384dc:0x16a,_0x363430:0x2f6,_0x3071e6:0x10e,_0x5044b1:0xff,_0x1a2aa8:0x2b9,_0x417a95:0x2bc,_0x39fb95:0x22b,_0x22912a:0x42b,_0x14f746:0x5a,_0x590f0e:0x81,_0x2f23be:0x164,_0x460f4b:0x2fd,_0x2ab5c0:0x93,_0x5a0354:0x337,_0xcc5eaa:0x355,_0x20b2df:0x34f,_0x57bc51:0x10d,_0x42a1ab:0x436,_0x18914d:0x33e,_0x268ec5:0x405,_0x3933c6:0x94,_0x15704d:0xcb,_0x40be77:0x1d9,_0x443437:0x389,_0x4a65d5:0x301,_0x4844c0:0x5d5,_0x132136:0xe5,_0x193e7c:0x171,_0x393cad:0x22,_0xdc2f7c:0x184,_0x3cbea6:0x161,_0x4eb821:0x2fc,_0x28a8c1:0x282,_0x58a27e:0x50d,_0x289d79:0x6e,_0x4b6cbd:0x1f,_0x21c06a:0x305,_0x420bc8:0xb7,_0x39bdd1:0x1d2,_0x27c6f0:0x2ab,_0xe1476a:0x36d,_0xa46fe3:0x156,_0x57a339:0x535,_0x3c143c:0x436,_0x1c6fda:0x405,_0x58add3:0x1b1,_0x345d8b:0x51b,_0x1e6395:0x1f8,_0x24d3ec:0x361,_0x5a57d0:0xf7,_0x17cf64:0xbc,_0x23e0c2:0x42c,_0x234d0f:0x172,_0x4f134e:0x155,_0x4b16fd:0x22,_0x180d17:0x71,_0x2b8cad:0x2e,_0x24c89b:0x1d0,_0x2362bb:0xcb,_0x12e287:0x338,_0x3933a5:0x1e2,_0x39d9b1:0x38b,_0x103541:0x45d,_0x31b297:0x498,_0x1bcd85:0x3f6,_0x145a88:0x4eb,_0xa2e9c5:0xa9,_0x268b29:0x2b7,_0x4a6127:0x1a0,_0x2f397e:0x64,_0x2e53aa:0x1ba,_0x1b4cb0:0x14e,_0x2abc87:0x151,_0x305c38:0x2fe,_0x42d091:0x4b4,_0x46cac8:0x426,_0x22d70d:0x35d,_0x9ee568:0x46e,_0x13bcac:0x55f,_0x5db52c:0x26b,_0xfe7e69:0x3ae,_0x1514b1:0x1ff,_0x2d7dc8:0x4c,_0x3b99dd:0x1ae,_0x345498:0xac,_0x5f044f:0x23d,_0x297131:0xe,_0x45fd2f:0x498,_0x4364d4:0x2e3,_0x21928d:0x271,_0x22ea8b:0x36b,_0x1ef3e9:0x30c,_0xf34f06:0xa,_0xd6fdea:0x26b,_0x36e45c:0x3f0,_0x423e2a:0x70,_0x4fdea6:0x187,_0x3efa97:0x22e,_0x347867:0x43b,_0x212329:0x247,_0x41818d:0x296,_0x35fc9a:0x399,_0x6b7bea:0x36a,_0x38489b:0x65d,_0x916746:0x32c,_0x3674f6:0x17a,_0x3d4eaf:0x1bb,_0x4e3681:0x368,_0x46311e:0x551},_0x453539={_0x1f8ef2:0x445,_0x62b685:0x64e,_0x36896f:0x445,_0x1f4469:0x304,_0x1a63d3:0x471,_0xa63c77:0x61b,_0x4749d3:0x3e0,_0x43856e:0xb6,_0xa4a4d9:0xac,_0x4e89ed:0x1cf,_0x21a7fa:0x36d,_0x5ed61a:0x45c,_0xacef8f:0x2d8,_0x35111a:0x3b0,_0x5bf7e8:0x477,_0x2763c9:0x1cf,_0x13427a:0x257,_0x761f12:0x2d9,_0x25575a:0x1fc},_0x53c253={_0x372430:0x2a,_0x1eb489:0x1a3},_0x378c9f={_0x447b1a:0xa4,_0x14f27a:0x1f3},_0x147b6a={_0xaf5831:0x133},_0x317cb8={_0x67aeca:0x105};function _0x254c97(_0xb6669d,_0x3e6535,_0x4135d5,_0x38569a){return _0x3764a2(_0xb6669d-_0x317cb8._0x67aeca,_0x3e6535-0x50,_0x38569a,_0x38569a-0x1c5);}function _0x2e46d6(_0xf7e7a7,_0x1b625e,_0x3ea957,_0x26ddd9){return _0x3764a2(_0x26ddd9-0xa3,_0x1b625e-_0x147b6a._0xaf5831,_0xf7e7a7,_0x26ddd9-0x153);}switch(_0x1ff920[_0x254c97(0x152,0x249,-0xdf,0x23e)]){case _0x418a95[_0x254c97(_0x3a6282._0x246d83,_0x3a6282._0x16374c,0x1f8,_0x3a6282._0x22be07)]:return _0x254c97(_0x3a6282._0x7dd027,0x498,0x53e,_0x3a6282._0xe47250)in _0x1ff920&&_0x161906[_0x254c97(_0x3a6282._0x2e1da0,_0x3a6282._0x1b4a54,0x119,_0x3a6282._0xe9f9ed)]&&_0x1ff920[_0x254c97(_0x3a6282._0x54285a,0x310,0x4db,_0x3a6282._0x2244cd)]&&_0x161906[_0x254c97(0x39e,_0x3a6282._0xd8fe14,0x41a,0x4ab)]({'id':_0x4f0941['randomUUID'](),'type':'user','content':''+_0x1ff920['userContent'],'metadata':{'timestamp':Pt()},'color':_0x2e46d6(-_0x3a6282._0x54d910,-_0x3a6282._0x4d5880,0x140,_0x3a6282._0x1118f6)}),{'toolCallCount':0x0,'recentToolCalls':_0x218710['recentToolCalls'],'streamingMessageId':null,'streamingContent':'','subAgents':_0x218710[_0x2e46d6(_0x3a6282._0x5a2442,_0x3a6282._0x9333d2,0x41c,0x322)],'lastToolCallMessageId':_0x218710['lastToolCallMessageId'],'agentToMessageMap':_0x218710[_0x2e46d6(0x4bb,_0x3a6282._0x32d439,0x2be,_0x3a6282._0xe4bd1d)],'toolCallToMessageMap':_0x218710[_0x2e46d6(_0x3a6282._0x245c81,-_0x3a6282._0x55381f,_0x3a6282._0x388477,-_0x3a6282._0x592fb1)]};case _0x418a95[_0x2e46d6(_0x3a6282._0x22be07,0x17b,0x2cf,_0x3a6282._0x350f16)]:return((async()=>{let _0x192192=_0x4f0941['randomUUID'](),_0x50148a=await ho(_0x1ff920[_0x206d16(0x173,-0x67,0xd0,0x307)]);function _0x206d16(_0x3cf5c3,_0x23f123,_0x209eb4,_0x2ea3cc){return _0x2e46d6(_0x23f123,_0x23f123-_0x378c9f._0x447b1a,_0x209eb4-_0x378c9f._0x14f27a,_0x209eb4-0xf2);}_0x161906[_0x206d16(0x479,0x404,0x42e,0x313)]({'id':_0x192192,'type':'tool','content':''+_0x50148a[_0x206d16(0x542,_0x453539._0x1f8ef2,0x522,_0x453539._0x62b685)](_0xbfcdee)[_0x206d16(_0x453539._0x36896f,_0x453539._0x1f4469,_0x453539._0x1a63d3,_0x453539._0xa63c77)](',\x20'),'metadata':{'toolCallCount':_0x50148a['length'],'timestamp':Pt(),'toolCalls':_0x50148a},'color':_0x206d16(0x2da,0x5ad,0x470,_0x453539._0x4749d3)});function _0x221f0a(_0x30d67b,_0x308c27,_0x2bc38d,_0x324516){return _0x2e46d6(_0x2bc38d,_0x308c27-0x58,_0x2bc38d-_0x53c253._0x372430,_0x324516- -_0x53c253._0x1eb489);}let _0xd689a=new Map(_0x218710['recentToolCalls']),_0x487727=new Map(_0x218710[_0x221f0a(-0x82,-_0x453539._0x43856e,-_0x453539._0xa4a4d9,-_0x453539._0x4e89ed)]);for(let _0x2f2f5d of _0x50148a)_0xd689a[_0x206d16(0x282,0x4fa,0x2d8,0x2f3)](_0x2f2f5d['id'],_0x2f2f5d),_0x487727[_0x206d16(_0x453539._0x21a7fa,_0x453539._0x5ed61a,_0x453539._0xacef8f,_0x453539._0x35111a)](_0x2f2f5d['id'],_0x192192);return{..._0x218710,'toolCallCount':_0x218710[_0x221f0a(_0x453539._0x5bf7e8,_0x453539._0x2763c9,0x24b,_0x453539._0x13427a)]+_0x50148a[_0x221f0a(0x11a,0x1ff,_0x453539._0x761f12,_0x453539._0x25575a)],'recentToolCalls':_0xd689a,'streamingMessageId':null,'streamingContent':'','lastToolCallMessageId':_0x192192,'toolCallToMessageMap':_0x487727};})());case _0x418a95[_0x254c97(_0x3a6282._0x491b82,0x3a2,0x27,_0x3a6282._0x504ebe)]:{let _0x4b280b=_0x1ff920[_0x2e46d6(0x3a,-_0x3a6282._0x28da3b,-_0x3a6282._0x2bd0fc,0x57)],_0x1665b6=_0x4b280b[_0x254c97(0x3ed,_0x3a6282._0x3b4339,_0x3a6282._0xcf62e2,0x460)]===_0x2e46d6(_0x3a6282._0x23c662,0x65,_0x3a6282._0x5dd485,0x25f)?_0x4b280b[_0x2e46d6(-_0x3a6282._0x143c87,-0x154,0x15,0x89)]?.[_0x254c97(0x12e,0x15,_0x3a6282._0x40a121,_0x3a6282._0x37f23b)]:void 0x0,_0x49b476=_0x1665b6===_0x45629e[_0x254c97(_0x3a6282._0x1a6427,0x2d8,0x384,0x211)],_0xd6e092=_0x1665b6===_0x45629e[_0x254c97(0x14a,_0x3a6282._0x4d5880,_0x3a6282._0x247295,_0x3a6282._0x352d2b)],_0x5b6796=_0x1665b6===_0x45629e[_0x254c97(0x2eb,0x164,_0x3a6282._0x560e11,0xee)],_0x6bf83a=_0x49b476||_0xd6e092||_0x5b6796||_0x1665b6===_0x45629e[_0x2e46d6(_0x3a6282._0x50a711,-0x2e,0x3ca,0x192)],_0x5a031f=_0x4b280b[_0x2e46d6(0x4bd,_0x3a6282._0x3e370a,0x4ad,0x38b)]==='success'?_0x254c97(0x412,_0x3a6282._0x5f0063,0x284,0x3e1):_0x6bf83a?_0x254c97(_0x3a6282._0x48120c,0x2da,_0x3a6282._0x325cdc,0x5f5):_0x2e46d6(0x1ca,0xd3,0x26f,0xb8),_0x580e61=_0x1665b6||_0x4b280b[_0x2e46d6(0x4e5,0x1df,0x1d8,_0x3a6282._0x5bd208)],_0x21b1f8=typeof _0x4b280b[_0x254c97(_0x3a6282._0x6db6c2,0x26d,_0x3a6282._0x5a4fc6,0x49c)]==_0x2e46d6(-0x193,-_0x3a6282._0x605f9a,-_0x3a6282._0xf62ef7,_0x3a6282._0xc5725b)&&Number[_0x2e46d6(0x3d3,_0x3a6282._0x2119f2,0x5cd,0x387)](_0x4b280b[_0x2e46d6(_0x3a6282._0x1d50d1,_0x3a6282._0x2fdb73,0x14c,_0x3a6282._0x44512f)])?'\x20('+_0x4b280b[_0x254c97(_0x3a6282._0x6db6c2,0x214,_0x3a6282._0x39f192,0x74)]+_0x254c97(0x271,0x308,_0x3a6282._0x27b7bf,0x485):'',_0xa36998=_0x4b280b[_0x2e46d6(_0x3a6282._0x1299c4,_0x3a6282._0x12f572,0x268,_0x3a6282._0x509da8)]==='success'?_0x4b280b[_0x254c97(_0x3a6282._0x26799d,_0x3a6282._0x4b1e90,_0x3a6282._0x11c519,0x4de)]+':\x20'+_0x5a031f+'\x20'+_0x580e61+_0x21b1f8:_0x6bf83a?_0x4b280b['name']+':\x20'+_0x5a031f+'\x20'+_0x580e61+_0x21b1f8:_0x254c97(0xc6,-_0x3a6282._0x54b3eb,_0x3a6282._0x1e94ac,_0x3a6282._0x1dfc33)+_0x564460(_0x4b280b)['slice'](0x0,0x3e8),_0x40b72b=_0x4b280b[_0x254c97(_0x3a6282._0x7444fa,0x279,0x29c,_0x3a6282._0x2a00d7)]==='success'?'green':_0x6bf83a?_0x2e46d6(0x68,_0x3a6282._0x2cb15c,_0x3a6282._0x35e775,0x1e2):_0x2e46d6(0x39f,0x258,0x5a2,_0x3a6282._0x27b61c),_0x2421ce=_0x218710['recentToolCalls']['get'](_0x4b280b['id']);return _0x161906[_0x2e46d6(_0x3a6282._0x3abcd9,0x1dc,_0x3a6282._0xa3f825,0x33c)]({'id':_0x4f0941[_0x254c97(0x4a6,_0x3a6282._0x4ac215,_0x3a6282._0x36a960,0x64e)](),'type':'tool_result','content':_0xa36998,'metadata':{'toolName':_0x4b280b[_0x254c97(0x3c2,0x46f,0x5ad,0x3dd)],'status':_0x4b280b[_0x254c97(_0x3a6282._0x688a39,0x1d4,_0x3a6282._0x2b7b10,0x5ff)],'duration':_0x4b280b['durationMs'],'timestamp':Pt(),'toolResult':_0x4b280b,'toolCall':_0x2421ce},'color':_0x40b72b}),_0x218710;}case _0x418a95['AssistantChunk']:{if(!_0x161906[_0x2e46d6(0x216,_0x3a6282._0x4ae638,0x467,_0x3a6282._0x39cbd8)])return _0x218710;let _0x3f9c0a=_0x1ff920[_0x2e46d6(-_0x3a6282._0x5ce469,_0x3a6282._0x2de507,_0x3a6282._0x2b8a43,_0x3a6282._0x264802)]||'';if(!_0x218710[_0x2e46d6(-0xff,_0x3a6282._0x58d082,-0x50,0x122)]){let _0x593d37=_0x4f0941['randomUUID']();return _0x161906[_0x254c97(0x39e,_0x3a6282._0x560312,_0x3a6282._0xa25e9d,_0x3a6282._0x3bfc39)]({'id':_0x593d37,'type':'assistant','content':_0x3f9c0a,'metadata':{'timestamp':Pt(),'isStreaming':!0x0}}),{..._0x218710,'streamingMessageId':_0x593d37,'streamingContent':_0x3f9c0a};}let _0x48d49c=_0x218710['streamingContent']+_0x3f9c0a;return _0x161906['updateLine']?.(_0x218710[_0x2e46d6(0x1b4,0x218,_0x3a6282._0x1c3e4d,_0x3a6282._0xa5b8f)],_0x48d49c),{..._0x218710,'streamingContent':_0x48d49c};}case _0x418a95['AssistantMessage']:return _0x1ff920[_0x2e46d6(-0x48,_0x3a6282._0x55542b,-0x3e,_0x3a6282._0x22463f)]?_0x161906[_0x2e46d6(0x4d7,_0x3a6282._0x12cc0d,0x192,_0x3a6282._0x1b7e5d)]&&_0x218710[_0x2e46d6(0x1ee,0x1af,0x309,0x122)]?(_0x161906['updateLine']?.(_0x218710[_0x2e46d6(0x302,0x21a,_0x3a6282._0x3850ff,_0x3a6282._0x49558c)],_0x1ff920['content']),_0x161906[_0x2e46d6(0x1c2,-0xf1,-_0x3a6282._0x558609,0x118)]?.(_0x218710[_0x2e46d6(_0x3a6282._0x5ada0b,0x1d6,0x2b,_0x3a6282._0x381778)],{'isStreaming':!0x1}),{..._0x218710,'streamingContent':_0x1ff920['content'],'streamingMessageId':null}):(_0x161906['appendLine']({'id':_0x4f0941[_0x254c97(_0x3a6282._0x2909de,0x5de,0x46d,0x369)](),'type':_0x254c97(0xd7,0x42,-0x103,0x2c),'content':_0x1ff920['content'],'metadata':{'timestamp':Pt(),'isStreaming':!0x1}}),_0x218710):_0x218710;case _0x418a95[_0x2e46d6(-0x18a,-_0x3a6282._0x102f43,0xfa,0x70)]:return _0x218710;case _0x418a95['Done']:return _0x218710;case _0x418a95[_0x2e46d6(_0x3a6282._0x4346e6,0x1cc,0x2d8,_0x3a6282._0x1e1031)]:return _0x218710[_0x2e46d6(0x33e,0x364,-_0x3a6282._0x963995,0x122)]&&_0x161906[_0x2e46d6(0xe4,0x304,_0x3a6282._0x4beab2,0x118)]?.(_0x218710[_0x2e46d6(0x36b,-0x56,0x181,_0x3a6282._0xa5b8f)],{'isStreaming':!0x1}),_0x161906[_0x2e46d6(0x226,0x14f,_0x3a6282._0x50565b,_0x3a6282._0x2e4d4c)]({'id':_0x4f0941[_0x254c97(_0x3a6282._0xab296c,_0x3a6282._0x5445de,0x658,0x48c)](),'type':_0x254c97(0x2c1,0x416,_0x3a6282._0x3c87b7,_0x3a6282._0xf5fec4),'content':'error:\x20'+_0x564460(_0x1ff920[_0x254c97(0x2c1,0x2cf,_0x3a6282._0x39287c,_0x3a6282._0xc0fd37)]),'metadata':{'timestamp':Pt()},'color':'red'}),{..._0x218710,'streamingMessageId':null};case _0x418a95[_0x2e46d6(-0x1c9,-0x142,-_0x3a6282._0x2c2966,_0x3a6282._0x3d309d)]:return _0x161906[_0x254c97(0x389,0x2e3,0x20a,0x4a9)]?.({'toolCalls':_0x1ff920[_0x254c97(0x40,-_0x3a6282._0x4c4e07,-0x197,-0x3d)],'approvalId':_0x1ff920[_0x254c97(0x463,0x367,0x28f,0x513)],'conversationId':_0x1ff920['conversationId'],'messageId':_0x1ff920[_0x254c97(0xa7,0xb9,0xce,-0x2f)]}),_0x218710;case _0x418a95[_0x2e46d6(0x35f,_0x3a6282._0x2aeb21,_0x3a6282._0x213ae1,0x246)]:{let _0x589a11=_0x218710[_0x254c97(0x36,0x5,-_0x3a6282._0x274aca,0xe5)][_0x2e46d6(_0x3a6282._0x396a82,0x174,-0xf0,0x59)](_0x1ff920['toolCallId']);if(!_0x589a11)return console[_0x254c97(0x22a,0x46f,_0x3a6282._0x2a495e,_0x3a6282._0x327832)](_0x254c97(_0x3a6282._0x4384dc,0x350,0xed,_0x3a6282._0x363430)+_0x1ff920[_0x2e46d6(0x2f9,_0x3a6282._0x3071e6,0x17a,_0x3a6282._0x5044b1)]),_0x218710;let _0x29327b={'agentId':_0x1ff920[_0x254c97(_0x3a6282._0x1a2aa8,_0x3a6282._0x417a95,_0x3a6282._0x39fb95,_0x3a6282._0x22912a)],'agentName':_0x1ff920[_0x2e46d6(0x20,-_0x3a6282._0x14f746,-_0x3a6282._0x590f0e,0x186)],'status':'starting','toolCalls':[],'toolCallMessageId':_0x589a11},_0x112b21=new Map(_0x218710['subAgents']);_0x112b21[_0x254c97(0x248,0x13e,_0x3a6282._0x2f23be,_0x3a6282._0x460f4b)](_0x1ff920[_0x2e46d6(_0x3a6282._0x2ab5c0,0x17,_0x3a6282._0x5a0354,0x257)],_0x29327b);let _0x4cf2f3=new Map(_0x218710[_0x2e46d6(_0x3a6282._0xcc5eaa,0x35e,0x4fe,0x44f)]);return _0x4cf2f3['set'](_0x1ff920[_0x254c97(0x2b9,_0x3a6282._0x20b2df,_0x3a6282._0x57bc51,0x46f)],_0x589a11),_0x29327b['toolCallId']=_0x1ff920['toolCallId'],_0x161906['updateLineMetadata']?.(_0x589a11,{[_0x2e46d6(0x3c4,_0x3a6282._0x42a1ab,_0x3a6282._0x18914d,_0x3a6282._0x268ec5)+_0x1ff920[_0x254c97(0x161,-_0x3a6282._0x3933c6,0xf9,_0x3a6282._0x15704d)]]:_0x29327b}),{..._0x218710,'subAgents':_0x112b21,'agentToMessageMap':_0x4cf2f3};}case _0x418a95['SubAgentToolCall']:{let _0x19e30d=_0x218710['subAgents'][_0x2e46d6(0x135,-0x1cf,-_0x3a6282._0x40be77,0x59)](_0x1ff920[_0x254c97(0x2b9,_0x3a6282._0x443437,_0x3a6282._0x4a65d5,0x4fc)]);return _0x19e30d&&(_0x19e30d[_0x2e46d6(0x3b7,0x557,_0x3a6282._0x4844c0,0x38b)]=_0x2e46d6(-0x75,-_0x3a6282._0x132136,-0x215,-0x1f),_0x19e30d[_0x2e46d6(-0x8a,-_0x3a6282._0x193e7c,-0x74,-_0x3a6282._0x393cad)][_0x2e46d6(_0x3a6282._0xdc2f7c,-0x76,_0x3a6282._0xc0fd37,0x11a)]({'id':_0x1ff920[_0x254c97(_0x3a6282._0x3cbea6,_0x3a6282._0x4eb821,_0x3a6282._0x28a8c1,0x204)],'name':_0x1ff920[_0x2e46d6(0x2fc,0x685,_0x3a6282._0x58a27e,0x43c)],'arguments':_0x1ff920[_0x254c97(_0x3a6282._0x289d79,0x1ad,-_0x3a6282._0x393cad,_0x3a6282._0x4b6cbd)]}),_0x19e30d['toolCallMessageId']&&_0x19e30d[_0x254c97(_0x3a6282._0x3cbea6,_0x3a6282._0x21c06a,_0x3a6282._0x420bc8,_0x3a6282._0x39bdd1)]&&_0x161906[_0x254c97(0x17a,_0x3a6282._0x27c6f0,_0x3a6282._0xe1476a,_0x3a6282._0xa46fe3)]?.(_0x19e30d[_0x2e46d6(_0x3a6282._0x57a339,0x595,0x37b,_0x3a6282._0x3c143c)],{[_0x2e46d6(0x524,0x1da,0x55f,_0x3a6282._0x1c6fda)+_0x19e30d['toolCallId']]:_0x19e30d})),_0x218710;}case _0x418a95[_0x254c97(0x3c9,_0x3a6282._0x58add3,_0x3a6282._0x345d8b,_0x3a6282._0x1e6395)]:{let _0x5e6f63=_0x218710[_0x254c97(0x384,0x3de,_0x3a6282._0x24d3ec,0x478)][_0x2e46d6(_0x3a6282._0x3e370a,_0x3a6282._0x5a57d0,_0x3a6282._0x17cf64,0x59)](_0x1ff920[_0x254c97(_0x3a6282._0x1a2aa8,_0x3a6282._0x23e0c2,_0x3a6282._0x234d0f,0x2cb)]);if(!_0x5e6f63)return _0x218710;let _0xf12b52=_0x5e6f63[_0x2e46d6(0xde,-_0x3a6282._0x4f134e,-0x197,-_0x3a6282._0x4b16fd)][_0x2e46d6(-_0x3a6282._0x180d17,_0x3a6282._0x2b8cad,_0x3a6282._0x24c89b,_0x3a6282._0x2362bb)](_0x348b5a=>_0x348b5a['id']===_0x1ff920[_0x254c97(0x161,0x35b,0x36e,0xf)]);return _0xf12b52&&(_0xf12b52['durationMs']=_0x1ff920[_0x254c97(0x297,0x102,0x102,0x377)],_0xf12b52[_0x2e46d6(_0x3a6282._0x12e287,_0x3a6282._0x3933a5,0x4ea,_0x3a6282._0x39d9b1)]=_0x1ff920[_0x2e46d6(0x15e,_0x3a6282._0x103541,0x46d,0x38b)]),_0x5e6f63[_0x254c97(_0x3a6282._0x31b297,_0x3a6282._0x1bcd85,_0x3a6282._0x16374c,_0x3a6282._0x145a88)]&&_0x5e6f63[_0x254c97(0x161,0x2be,_0x3a6282._0xa2e9c5,0x2f7)]&&_0x161906[_0x254c97(0x17a,0x3ba,0x28f,0x2f5)]?.(_0x5e6f63['toolCallMessageId'],{[_0x2e46d6(0x3c0,0x4fd,_0x3a6282._0x268b29,_0x3a6282._0x268ec5)+_0x5e6f63[_0x254c97(_0x3a6282._0x3cbea6,_0x3a6282._0x4a6127,0x153,-_0x3a6282._0x2f397e)]]:_0x5e6f63}),_0x218710;}case _0x418a95[_0x254c97(_0x3a6282._0x2e53aa,0x53,-0x5a,0x38a)]:{let _0x412cab=_0x218710[_0x254c97(0x384,0x288,_0x3a6282._0x1b4cb0,0x47e)][_0x254c97(0xbb,-_0x3a6282._0x2abc87,-0xfb,-0x7f)](_0x1ff920[_0x2e46d6(0x284,0x155,_0x3a6282._0x305c38,0x257)]);return _0x412cab&&(_0x412cab['status']=_0x2e46d6(0x3fd,0x2bf,_0x3a6282._0x42d091,0x3c7),_0x412cab[_0x2e46d6(0x411,0x1ba,0x2f6,0x3c6)]=_0x1ff920[_0x254c97(0x3ed,0x266,0x5f2,0x46f)],_0x412cab[_0x254c97(_0x3a6282._0x46cac8,_0x3a6282._0x22d70d,_0x3a6282._0x9ee568,_0x3a6282._0x13bcac)]=_0x1ff920[_0x254c97(_0x3a6282._0x27b61c,_0x3a6282._0x5db52c,_0x3a6282._0xfe7e69,_0x3a6282._0x1514b1)],_0x412cab[_0x2e46d6(_0x3a6282._0x2d7dc8,_0x3a6282._0x3b99dd,-0x131,_0x3a6282._0x345498)]=_0x1ff920[_0x2e46d6(_0x3a6282._0x5f044f,-_0x3a6282._0x297131,-0xab,0xac)],_0x412cab[_0x254c97(_0x3a6282._0x45fd2f,0x46d,0x598,0x46f)]&&_0x412cab['toolCallId']&&_0x161906[_0x254c97(0x17a,_0x3a6282._0x4364d4,_0x3a6282._0x21928d,_0x3a6282._0x22ea8b)]?.(_0x412cab[_0x254c97(_0x3a6282._0x31b297,_0x3a6282._0x1ef3e9,0x455,_0x3a6282._0x40a121)],{['subAgentState_'+_0x412cab[_0x2e46d6(-_0x3a6282._0xf34f06,0x297,0x30c,_0x3a6282._0x2c2966)]]:_0x412cab})),_0x218710;}case _0x418a95[_0x254c97(_0x3a6282._0xd6fdea,_0x3a6282._0x36e45c,0x18d,0x11a)]:{let _0x1501ad=_0x218710['subAgents'][_0x2e46d6(_0x3a6282._0x423e2a,-0x19b,-_0x3a6282._0x4fdea6,0x59)](_0x1ff920['agentId']);return _0x1501ad&&(_0x1501ad[_0x254c97(_0x3a6282._0x3efa97,_0x3a6282._0x347867,_0x3a6282._0x212329,_0x3a6282._0x41818d)]=_0x1ff920[_0x2e46d6(_0x3a6282._0x35fc9a,0x3b2,_0x3a6282._0x6b7bea,0x1cc)],_0x1501ad[_0x254c97(_0x3a6282._0x31b297,_0x3a6282._0x38489b,_0x3a6282._0x916746,0x4c3)]&&_0x1501ad['toolCallId']&&_0x161906[_0x254c97(_0x3a6282._0x3674f6,_0x3a6282._0x3d4eaf,0x278,0x58)]?.(_0x1501ad[_0x254c97(_0x3a6282._0x45fd2f,_0x3a6282._0x4e3681,0x29e,_0x3a6282._0x46311e)],{['subAgentState_'+_0x1501ad['toolCallId']]:_0x1501ad})),_0x218710;}default:return _0x218710;}}var jt=class extends _0x39a5e4{constructor(_0x3644c6,_0x5ab92c,_0x202772,_0x41fe41){const _0x3a8720={_0xc3071f:0x713,_0x488cfd:0x89c,_0x5d68bd:0x892,_0x5c5eba:0x669,_0x2281fa:0x48b,_0x57408c:0x945,_0x25fecd:0x578,_0x11aabd:0x1f3,_0x1d3419:0x436,_0x442a5e:0x4c8,_0x4dc007:0x361,_0x1f99f2:0xa18},_0x5e03e4={_0x5d8629:0x5a8,_0x373a9d:0x491},_0x1091c5={_0x450f87:0x1a7,_0x36fc46:0x12d,_0x234d63:0x6},_0x181013={_0x1cd145:0x7f},_0x1ce9a5={_0x19808d:0x1f2,_0x2ba764:0x21};super(_0x41fe41?.[_0x4af23a(_0x3a8720._0xc3071f,0x88d,_0x3a8720._0x488cfd,_0x3a8720._0x5d68bd)]?{'filename':_0x41fe41['filename']}:{'memory':new _0x312d80()});function _0x3dfe80(_0x37e378,_0xbe4907,_0x475f39,_0x5a6a20){return _0x3764a2(_0x5a6a20-_0x1ce9a5._0x19808d,_0xbe4907-0x1e7,_0x475f39,_0x5a6a20-_0x1ce9a5._0x2ba764);}function _0x4af23a(_0x1ab8e5,_0x496d49,_0x3d60a9,_0xb68630){return _0x3764a2(_0xb68630-0x648,_0x496d49-_0x181013._0x1cd145,_0x496d49,_0xb68630-0x1bf);}this[_0x3dfe80(0x24d,_0x3a8720._0x5c5eba,0x36a,_0x3a8720._0x2281fa)]=_0x3644c6,this[_0x4af23a(0x7fa,0x88a,0x89d,_0x3a8720._0x57408c)]=_0x5ab92c,this[_0x3dfe80(0xc5,0x97,0xe9,0x267)]=_0x202772,this['state']=Xn(),(this[_0x3dfe80(_0x3a8720._0x25fecd,0x409,_0x3a8720._0x11aabd,_0x3a8720._0x1d3419)]=_0x41fe41?.[_0x3dfe80(_0x3a8720._0x442a5e,0x3a0,_0x3a8720._0x4dc007,0x436)]??!0x1,this['callbacks']={'appendLine':this['appendLine'],'updateLine':this['updateLine'],'updateLineMetadata':this['updateLineMetadata'],'streamingEnabled':this[_0x4af23a(0x943,0xa8b,_0x3a8720._0x1f99f2,0x88c)],'onToolApprovalRequired':_0x2d7231=>{function _0x18dd54(_0x34016a,_0x4e78d1,_0x522e79,_0x403126){return _0x3dfe80(_0x34016a-_0x1091c5._0x450f87,_0x4e78d1-_0x1091c5._0x36fc46,_0x403126,_0x34016a- -_0x1091c5._0x234d63);}k['emit'](_0x18dd54(0x511,_0x5e03e4._0x5d8629,_0x5e03e4._0x373a9d,0x2d5),_0x2d7231);}});}async['emit'](_0x37cc64){const _0x2b78ac={_0x35ab94:0x8e8,_0x29eea0:0x838,_0x51b47e:0x4d4,_0x4e0cb1:0x44b,_0x1aa233:0x35e,_0x4e15eb:0x7e2,_0xe05dbb:0x738,_0x4d8490:0x4ad,_0x405ad3:0x42c,_0x55199b:0x62d},_0x3cf7bc={_0x4a9aa0:0x105,_0x1b09bb:0x22},_0x222187={_0x34aa1d:0x495};function _0x19c335(_0x3055e1,_0x31d586,_0x1118ce,_0x51b631){return _0x5a69d4(_0x3055e1-0x12d,_0x31d586- -_0x222187._0x34aa1d,_0x1118ce,_0x51b631-0x1d9);}function _0x8c22b4(_0x4c572d,_0x25fc9a,_0xc2fa09,_0x3a81bf){return _0x5a69d4(_0x4c572d-_0x3cf7bc._0x4a9aa0,_0x3a81bf-0xc5,_0xc2fa09,_0x3a81bf-_0x3cf7bc._0x1b09bb);}try{await super['emit'](_0x37cc64),this['state']=await this[_0x8c22b4(_0x2b78ac._0x35ab94,_0x2b78ac._0x29eea0,0x8ac,0x88e)](_0x37cc64);}catch(_0x4b0d3a){let _0x44f567=_0x4b0d3a instanceof Error?_0x4b0d3a[_0x8c22b4(_0x2b78ac._0x51b47e,0x7de,_0x2b78ac._0x4e0cb1,0x654)]:String(_0x4b0d3a);k[_0x19c335(0xd2,0x134,0x2a,_0x2b78ac._0x1aa233)]('ui:error',_0x8c22b4(_0x2b78ac._0x4e15eb,_0x2b78ac._0xe05dbb,_0x2b78ac._0x4d8490,0x688)+_0x37cc64[_0x8c22b4(0x5bb,_0x2b78ac._0x405ad3,0x6ac,_0x2b78ac._0x55199b)]+':\x20'+_0x44f567);}}async[_0x3764a2(0x2ae,0x73,0x1d2,0x408)](_0x4cfc98){const _0x19e91c={_0x562d77:0xe3,_0x51074d:0x18d,_0x4cc69c:0x2f5,_0x4b6041:0x39d,_0x253e26:0x2ab,_0x1d30ce:0x31d,_0x574ada:0x34e,_0x5798ef:0x197,_0x2ad3df:0x6d,_0x3d90af:0x65},_0x28a9d5={_0x559eb7:0x124,_0x30bde4:0x4e1},_0x46022c={_0x829dcc:0x67,_0x566481:0xec};function _0x2b40e4(_0x28231d,_0xb8d142,_0x3d42d1,_0x2de4ee){return _0x3764a2(_0xb8d142-_0x46022c._0x829dcc,_0xb8d142-_0x46022c._0x566481,_0x28231d,_0x2de4ee-0xf7);}function _0x220371(_0x9a9247,_0x3cfaa6,_0x4ab5bb,_0x4e43ef){return _0x5a69d4(_0x9a9247-_0x28a9d5._0x559eb7,_0x9a9247- -_0x28a9d5._0x30bde4,_0x4e43ef,_0x4e43ef-0x121);}this[_0x220371(0x104,0x241,_0x19e91c._0x562d77,-0x136)][_0x2b40e4(_0x19e91c._0x51074d,0x2ab,_0x19e91c._0x4cc69c,0x42c)]=this[_0x2b40e4(_0x19e91c._0x4b6041,_0x19e91c._0x253e26,0x1dc,_0x19e91c._0x1d30ce)];let _0x5eddc6=Jn(_0x4cfc98,this[_0x220371(_0x19e91c._0x574ada,_0x19e91c._0x5798ef,0x332,0x1cf)],this[_0x220371(0x104,-_0x19e91c._0x2ad3df,-_0x19e91c._0x3d90af,0xbb)]);return _0x5eddc6 instanceof Promise?await _0x5eddc6:_0x5eddc6;}[_0x5a69d4(0x58e,0x688,0x5bd,0x6fc)](_0x1b8226){const _0x555849={_0x59f4eb:0x274,_0x43da53:0x55d,_0x33abc9:0x4f3},_0x198d39={_0x3803eb:0xb4};function _0x50b2af(_0x27162e,_0x18aee7,_0x153bfd,_0x2e4480){return _0x5a69d4(_0x27162e-_0x198d39._0x3803eb,_0x27162e- -0x39c,_0x153bfd,_0x2e4480-0x43);}this[_0x50b2af(0x3c3,_0x555849._0x59f4eb,_0x555849._0x43da53,_0x555849._0x33abc9)]=_0x1b8226;}},Zn='\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-\x20DO\x20NOT\x20add\x20comments\x20unless\x20the\x20user\x20asks.\x0a-\x20Follow\x20existing\x20code\x20style,\x20naming,\x20and\x20patterns.\x0a\x0a##\x20Doing\x20Tasks\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-\x20Use\x20rg\x20for\x20code\x20searches;\x20prefer\x20specific\x20terms\x20(e.g.,\x20function/class\x20names)\x20over\x20generic\x20ones\x20(e.g.,\x20\x27the\x27,\x20\x27a\x27).\x0a-\x20When\x20rg\x20is\x20unavailable,\x20use\x20grep\x20as\x20fallback.\x0a-\x20Do\x20using\x20the\x20search\x20pattern\x20too\x20generically\x20may\x20yield\x20too\x20many\x20results.\x0a-\x20For\x20config\x20files,\x20use\x20grep\x20if\x20rg\x20is\x20unavailable.\x0a-\x20When\x20searching,\x20include\x20relevant\x20context\x20(e.g.,\x20function\x20name,\x20surrounding\x20lines).\x0a\x0a##\x20Tool\x20Usage\x0a-\x20Prefer\x20Assign\x20tools\x20to\x20reduce\x20context.\x20Use\x20specialized\x20agents\x20when\x20appropriate.\x0a-\x20Batch\x20independent\x20tool\x20calls\x20in\x20one\x20message\x20when\x20possible.\x20Prefer\x20\x27rg\x27\x20over\x20\x27grep\x27.\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-\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 _0x4ab659,CoreMCPClient as _0x5e27df}from'@nuvin/nuvin-core';import*as _0x59f38c from'crypto';function Qn(_0xde2752,_0x13a8a7){const _0x3153e4={_0x211c44:0xec,_0x24a2af:0x13d,_0x19de25:0x456,_0x47aaaf:0x389,_0x36babc:0x266,_0x21bb1f:0x4cc,_0x3729b2:0x46d,_0x3a38a3:0x511,_0x12d601:0x3,_0x29240a:0x39,_0x3e9f43:0x238,_0x1f740d:0x452,_0x508158:0x357,_0x49f05a:0x3cc,_0x3d4773:0x409,_0x4796cb:0xf4,_0x12800b:0xd6},_0x9fc515={_0x3fa1b0:0xa0,_0x293a39:0x1c8};function _0x12ccfa(_0xa9715c,_0x505041,_0x3e1bb2,_0x4a16a0){return _0x3764a2(_0x505041-0x2cb,_0x505041-_0x9fc515._0x3fa1b0,_0xa9715c,_0x4a16a0-_0x9fc515._0x293a39);}function _0x511708(_0x1b16af,_0x383083,_0x31e20d,_0x3c1430){return _0x3764a2(_0x3c1430-0x17a,_0x383083-0x1eb,_0x383083,_0x3c1430-0x5c);}let _0x7b4863=parseInt(_0xde2752[_0x12ccfa(_0x3153e4._0x211c44,0x219,_0x3153e4._0x24a2af,_0x3153e4._0x19de25)]('#',''),0x10),_0x23c079=Math['max'](0x0,Math[_0x12ccfa(0x309,_0x3153e4._0x47aaaf,_0x3153e4._0x36babc,_0x3153e4._0x21bb1f)]((_0x7b4863>>0x10)*(0x1-_0x13a8a7))),_0x41f797=Math[_0x511708(0x50a,_0x3153e4._0x3729b2,0x726,_0x3153e4._0x3a38a3)](0x0,Math[_0x511708(0x393,_0x3153e4._0x12d601,_0x3153e4._0x29240a,_0x3153e4._0x3e9f43)]((_0x7b4863>>0x8&0xff)*(0x1-_0x13a8a7))),_0x3504a9=Math[_0x511708(_0x3153e4._0x1f740d,_0x3153e4._0x508158,0x6b8,0x511)](0x0,Math[_0x511708(_0x3153e4._0x49f05a,0x237,_0x3153e4._0x3d4773,0x238)]((_0x7b4863&0xff)*(0x1-_0x13a8a7)));return'#'+(_0x23c079<<0x10|_0x41f797<<0x8|_0x3504a9)[_0x511708(0x26b,0x1ff,-0xca,_0x3153e4._0x4796cb)](0x10)[_0x12ccfa(0x4c0,0x297,0x426,_0x3153e4._0x12800b)](0x6,'0');}var v={'green':_0x3764a2(0x113,0xc8,0x77,-0x64),'greenBright':Qn(_0x5a69d4(0x45f,0x62e,0x825,0x823),0.3),'cyan':_0x3764a2(0x217,0x137,0x31,0x413),'red':_0x3764a2(0x213,-0x4,0x1ed,0x37e),'redBright':Qn(_0x3764a2(0x213,0x83,0x3e,0x1c9),0.3),'orange':_0x3764a2(0x365,0x588,0x3e6,0x212),'yellow':'#FFC371','blue':_0x3764a2(0x38a,0x474,0x3d2,0x560),'magenta':_0x5a69d4(0x619,0x694,0x76f,0x5ca),'white':_0x3764a2(0xc7,0x15,-0x41,-0xdb),'gray':_0x5a69d4(0x434,0x455,0x3ad,0x55c),'black':_0x5a69d4(0x583,0x5d2,0x740,0x479),'dim':_0x5a69d4(0x5d2,0x5fd,0x648,0x81f),'transparent':_0x3764a2(0x31b,0x293,0x1c1,0x2ce)},es={'success':v[_0x5a69d4(0xa5d,0x81f,0x71b,0x645)],'error':v[_0x5a69d4(0x7ca,0x89e,0xa1d,0xa30)],'warning':v['yellow'],'info':v[_0x5a69d4(0x72d,0x4fb,0x320,0x3f3)],'primary':v[_0x3764a2(0x304,0x4e7,0x509,0xf0)],'secondary':v[_0x3764a2(-0x7b,-0x68,-0xc3,0xa7)],'accent':v[_0x3764a2(-0x25,-0xb3,-0x175,-0x130)],'muted':v['gray'],'user':v[_0x5a69d4(0x70b,0x4fb,0x330,0x55f)],'assistant':v[_0x3764a2(0x304,0x309,0x12e,0xc6)],'system':v[_0x5a69d4(0x704,0x713,0x743,0x7b6)],'thinking':v['yellow'],'tool':v[_0x5a69d4(0x7a2,0x81f,0x997,0x7e0)],'toolResult':v['green'],'toolSuccess':v['green'],'toolError':v[_0x5a69d4(0x6b0,0x89e,0x761,0xa09)],'toolDuration':v[_0x3764a2(0x1f8,0xa,0x299,0x98)],'selected':v[_0x3764a2(0x304,0x243,0x123,0x260)],'unselected':v['transparent'],'highlight':v[_0x5a69d4(0x71c,0x81f,0x8b7,0x9f5)],'text':v['white'],'textDim':v[_0x3764a2(0x1f8,0x234,0x4f,0x11b)],'textBold':v[_0x3764a2(-0x3,0xb4,-0x1a5,-0x1d4)],'background':v[_0x5a69d4(0x4ba,0x53e,0x4a3,0x64e)],'border':v[_0x3764a2(0x1f8,0x1e8,0x62,-0x3c)],'badge':{'info':v[_0x5a69d4(0x5e9,0x4fb,0x38c,0x534)],'success':v[_0x3764a2(0x304,0x49f,0x1b7,0x173)],'warning':v[_0x3764a2(0x13f,0x1fe,0x149,0x238)],'error':v['red']}},j={'tokens':v,'colors':es,'status':{'success':v[_0x5a69d4(0xa45,0x81f,0x927,0x5d5)],'warning':v[_0x3764a2(0x13f,0x1f8,0x369,0x315)],'error':v[_0x3764a2(0x383,0x2be,0x244,0x336)],'pending':v[_0x3764a2(0x13f,-0x9f,0x24d,0x176)],'running':v[_0x3764a2(-0x20,0x139,0x95,0x1f6)],'idle':v[_0x3764a2(0x1f8,0x2ed,0x43f,0xfd)]},'messageTypes':{'user':v[_0x5a69d4(0x740,0x4fb,0x3d8,0x465)],'assistant':v[_0x5a69d4(0x769,0x81f,0x8e3,0x9fd)],'tool':v[_0x5a69d4(0x808,0x81f,0x8b1,0x8b8)],'tool_result':v[_0x5a69d4(0x710,0x81f,0x69e,0x6cc)],'system':v['gray'],'warning':v[_0x5a69d4(0x772,0x65a,0x75c,0x6d7)],'error':v[_0x5a69d4(0x6c8,0x89e,0x9f4,0x739)],'info':v[_0x3764a2(-0x20,0x219,-0xa1,-0xcf)],'thinking':v[_0x5a69d4(0x7ed,0x65a,0x4b4,0x885)]},'modal':{'title':v[_0x3764a2(-0x20,-0x147,0x20f,-0x1b4)],'subtitle':v[_0x3764a2(0x1f8,0x4b,0x88,-0x3e)],'sectionHeader':v[_0x5a69d4(0x630,0x65a,0x669,0x5b7)],'keyBinding':v[_0x3764a2(0x304,0x293,0x4b4,0x33b)],'description':v[_0x5a69d4(0x4f1,0x713,0x5e2,0x5d5)],'help':v[_0x5a69d4(0x566,0x713,0x933,0x57d)],'background':v[_0x3764a2(0x23,0x5f,0xce,-0x1d0)]},'help':{'title':v['cyan'],'subtitle':v[_0x5a69d4(0x623,0x713,0x8dc,0x668)],'sectionHeader':v[_0x3764a2(0x13f,0x234,0x1bd,0x227)],'keyBinding':v[_0x5a69d4(0x875,0x81f,0x6de,0x922)],'description':v[_0x3764a2(0x1f8,0x371,0x13f,0x11)]},'auth':{'provider':v['green'],'waiting':v[_0x5a69d4(0x70c,0x713,0x4f4,0x8d8)],'code':v[_0x3764a2(0x13f,-0x11,-0x39,-0x75)],'link':v[_0x5a69d4(0x57e,0x4fb,0x343,0x40d)],'success':v[_0x3764a2(0x304,0x4d4,0xb8,0x382)],'error':v['red']},'footer':{'provider':v['yellow'],'model':v[_0x5a69d4(0x829,0x713,0x526,0x82b)],'status':v[_0x3764a2(0x1f8,0x197,0xae,0x37c)],'thinking':v[_0x3764a2(0x1f8,-0x16,0x2a7,0x79)],'infoBg':v[_0x3764a2(0x15f,0x1a0,0x327,0x234)],'currentDir':v['blue'],'gitBranch':v[_0x3764a2(-0x3,0xa6,0x109,-0x2a)]},'input':{'prompt':v[_0x3764a2(0x304,0x4df,0x3ac,0x509)],'placeholder':v[_0x3764a2(0x1f8,0x443,0x39f,0x439)],'text':v['white']},'history':{'selected':v[_0x3764a2(-0x3,-0xd5,-0xdb,0x12c)],'unselected':v['gray'],'badge':v[_0x3764a2(0x1f8,-0x36,0x280,0xaf)],'timestamp':v['gray'],'title':v['cyan'],'help':v[_0x5a69d4(0x935,0x713,0x704,0x6e8)],'keybind':v['yellow']},'toolApproval':{'title':v['yellow'],'toolName':v[_0x5a69d4(0x394,0x518,0x6a5,0x694)],'description':v[_0x5a69d4(0x5b1,0x713,0x6c2,0x68e)],'paramKey':v['cyan'],'paramValue':v['white'],'statusText':v[_0x5a69d4(0x67b,0x713,0x820,0x74d)],'approved':v[_0x3764a2(0x304,0x343,0x381,0x183)],'denied':v[_0x3764a2(0x383,0x2cf,0x4e4,0x559)],'actionSelected':v[_0x3764a2(0x304,0x16d,0x25c,0x1e4)],'actionApprove':v[_0x5a69d4(0xa41,0x81f,0x823,0x707)],'actionDeny':v['red'],'actionReview':v[_0x3764a2(0x2db,0x3b5,0x139,0x379)]},'model':{'title':v[_0x5a69d4(0x39c,0x4fb,0x500,0x53b)],'subtitle':v[_0x3764a2(0x1f8,0x41d,0x242,0x2ee)],'label':v[_0x5a69d4(0x6e8,0x81f,0x710,0x9df)],'help':v[_0x3764a2(0x1f8,-0x3d,0x21c,0x41e)],'input':v[_0x3764a2(-0x3,-0x92,-0x6,0x1c3)],'item':v[_0x3764a2(-0x3,0x1b6,-0x195,0x1d8)],'selectedItem':es['accent']},'thinking':{'title':v['cyan'],'subtitle':v[_0x3764a2(0x1f8,0x323,0x2e1,0x251)]},'welcome':{'title':v[_0x5a69d4(0x6f3,0x4f6,0x60a,0x61b)],'subtitle':v[_0x3764a2(0x1f8,0x2f2,0x10e,0x3b1)],'hint':v[_0x3764a2(0x15f,-0xe3,0x1d5,0x40)]},'fileEdit':{'title':v[_0x3764a2(0x13f,0x78,0x28b,0x26a)],'label':v['cyan'],'value':v[_0x5a69d4(0x4b0,0x518,0x6dd,0x60f)],'content':v[_0x5a69d4(0x59b,0x713,0x829,0x511)],'searchHeader':v[_0x3764a2(0x304,0x46e,0x120,0x125)],'replaceHeader':v[_0x5a69d4(0x744,0x89e,0x8c4,0x91f)],'error':v['red']},'diff':{'lineNumber':v[_0x3764a2(0x1f8,0x356,0x87,0xd1)],'prefix':{'add':v[_0x5a69d4(0x641,0x81f,0x8c9,0x922)],'remove':v['red'],'context':v['gray']},'background':{'add':v[_0x5a69d4(0x754,0x81f,0x8a1,0x8c7)],'remove':v[_0x5a69d4(0x854,0x89e,0x80e,0x80f)],'addHighlight':v['greenBright'],'removeHighlight':v[_0x5a69d4(0x7f2,0x8ad,0x997,0x994)]},'text':v[_0x3764a2(0x23,0xd9,-0xc,0x1e1)],'contextText':v['gray'],'blockSeparator':v[_0x3764a2(-0x7b,-0x109,-0x69,-0xf7)],'noChanges':v[_0x5a69d4(0x5aa,0x713,0x6e1,0x623)],'noBlocks':v['red'],'pathLabel':v[_0x3764a2(-0x20,0x68,0x6,-0xe2)]}},xo=class{constructor(_0x51eb38){const _0x58983c={_0x29fab2:0x279,_0x1feb1c:0x4f4,_0x58f83a:0x25f,_0x2fb2db:0x12a,_0x3d5ddc:0x72},_0x1d7c0f={_0x2b28b1:0x0,_0x3d93ca:0xa8},_0x26eb3b={_0x537198:0x84,_0x354c6e:0x5f2,_0x34f4d8:0xa7};this['servers']=new Map(),this[_0x5354b0(_0x58983c._0x29fab2,0x2d0,0x3db,_0x58983c._0x1feb1c)]=new Map();function _0x1680f9(_0x1519ba,_0x2f6b0f,_0xec42f0,_0x3c49af){return _0x5a69d4(_0x1519ba-_0x26eb3b._0x537198,_0xec42f0- -_0x26eb3b._0x354c6e,_0x1519ba,_0x3c49af-_0x26eb3b._0x34f4d8);}function _0x5354b0(_0x376051,_0x35ced6,_0x2a8668,_0x424c5c){return _0x3764a2(_0x35ced6-0x39a,_0x35ced6-_0x1d7c0f._0x2b28b1,_0x2a8668,_0x424c5c-_0x1d7c0f._0x3d93ca);}this['allowedToolsConfig']={},this[_0x1680f9(0xb5,-_0x58983c._0x58f83a,-_0x58983c._0x2fb2db,_0x58983c._0x3d5ddc)]=_0x51eb38;}[_0x3764a2(0x295,0x1e7,0x1c3,0x41e)](){const _0x2223a3={_0x10de31:0x35,_0x3f32b7:0x6e,_0x269fe7:0x19c,_0x367ce9:0x3ef,_0x3b4157:0x12b,_0x4d34e4:0x28,_0x56167f:0x3b,_0x977b5a:0xd3},_0x40f944={_0x58d2e9:0x95},_0x4fecb4={_0x541606:0x1f3};function _0x54c1ea(_0x24b259,_0x30ec9e,_0x1366d1,_0x37fef4){return _0x5a69d4(_0x24b259-0xe0,_0x1366d1- -0x536,_0x37fef4,_0x37fef4-_0x4fecb4._0x541606);}function _0x4d90e6(_0x547ead,_0x278890,_0x276d26,_0x32a2cd){return _0x3764a2(_0x278890-0x16c,_0x278890-0x155,_0x32a2cd,_0x32a2cd-_0x40f944._0x58d2e9);}this[_0x54c1ea(-_0x2223a3._0x10de31,0x96,-_0x2223a3._0x3f32b7,-0x29b)][_0x54c1ea(-0x17c,0x127,-0x20,_0x2223a3._0x269fe7)]?.[_0x4d90e6(0x284,0x21a,_0x2223a3._0x367ce9,_0x2223a3._0x3b4157)](_0x54c1ea(_0x2223a3._0x4d34e4,0x205,_0x2223a3._0x56167f,-_0x2223a3._0x977b5a));}get[_0x5a69d4(0x769,0x68b,0x62b,0x8b1)](){const _0x1d2686={_0x2fb3e7:0x3cb,_0x242760:0x33b,_0x3bb35a:0x4d6},_0xa4361b={_0x37bce4:0x99};function _0x163480(_0x4e5879,_0x51c08c,_0x4acf94,_0x4d417b){return _0x3764a2(_0x4d417b-0x1ed,_0x51c08c-0x14a,_0x4acf94,_0x4d417b-_0xa4361b._0x37bce4);}return this['options'][_0x163480(_0x1d2686._0x2fb3e7,0x5ec,_0x1d2686._0x242760,_0x1d2686._0x3bb35a)]();}async[_0x5a69d4(0x5e9,0x781,0x6e4,0x8df)](){const _0x55d9c9={_0xea0377:0x8a4,_0xdc87b3:0x784,_0x5b4c66:0x44d,_0x1c4937:0x230,_0xa4d7af:0x56,_0x9e7b4c:0x4fd,_0x26bfc3:0x523,_0x16bf45:0x5ae,_0x3dea01:0x5b2,_0x21a78c:0xaf5,_0x1abf65:0x8dd,_0x4bcab8:0x413,_0x434067:0x2a9,_0x54fc20:0x327,_0x5c495f:0x328,_0x307715:0x1a1,_0x57eb1b:0x79b,_0x1e74e6:0x559,_0x5dbc83:0x5da,_0x3a5c4e:0x6cc,_0x2de439:0x2a5,_0x492fa2:0x274,_0x3fa9e3:0x240,_0x4c3f23:0x9e5,_0x383420:0xaf8,_0x2cfa12:0x22a,_0x25e5dd:0x320,_0x4771e3:0x26c,_0x272e1d:0x584,_0x43e2ea:0x50f,_0x55b350:0x4b6,_0x36628e:0xb27,_0x4a9d0f:0x943,_0x48c6cd:0x6a6,_0x173695:0x698,_0x2c9d32:0x6ad,_0x340740:0x8d2,_0x3afadc:0x3ca,_0x6db7f8:0x2db,_0x394107:0xf5,_0x13fad7:0x4bb,_0x7f452a:0x3fb,_0x1591e1:0x507,_0x48d54d:0xa91,_0x477395:0x66c,_0x2c04f2:0xa2b,_0x209c55:0x875,_0x1f5b40:0x5f6,_0x5eae50:0x563,_0x6e4dda:0x309,_0x418b15:0xf2,_0x2e87fd:0x2b2,_0x3eaad3:0x41d,_0x37ac59:0x24c,_0x48f273:0x45f,_0x1f4921:0x240,_0x1e1ba4:0x26d,_0xe4279d:0x515,_0x1099e9:0x597,_0x40ae4f:0x1fd,_0x4e19d5:0x270,_0x2e9bd6:0x631,_0x4277d3:0x56c,_0x5a5e53:0x61b,_0x3ff991:0x464,_0xab1a12:0x1dd,_0x1ceecc:0x901,_0x468ad0:0x752,_0x4f1adc:0x6bb,_0x2ab4d6:0x8a9},_0x2b380d={_0x109b15:0x60,_0x3fb39a:0x131,_0x1a0f15:0x41d},_0x4037cd={_0x873460:0x196,_0x22b9c3:0x34c,_0x9a3289:0x9b},_0xdb0d3b={_0x1f7d03:0x614,_0x313dc6:0x88};let _0x3a100a=[],_0x4f31ef=[],_0x5f3814=[],_0x4f9f87=this[_0x35d334(0x867,_0x55d9c9._0xea0377,0x5fc,_0x55d9c9._0xdc87b3)]?.[_0x3a1416(_0x55d9c9._0x5b4c66,0x2a9,_0x55d9c9._0x1c4937,_0x55d9c9._0xa4d7af)];function _0x35d334(_0x50da2a,_0xae8ca8,_0x1768e8,_0x2f0e9a){return _0x3764a2(_0x2f0e9a-_0xdb0d3b._0x1f7d03,_0xae8ca8-_0xdb0d3b._0x313dc6,_0xae8ca8,_0x2f0e9a-0x176);}function _0x3a1416(_0x305626,_0x5c322a,_0x339533,_0x5aaa51){return _0x5a69d4(_0x305626-_0x4037cd._0x873460,_0x339533- -_0x4037cd._0x22b9c3,_0x5c322a,_0x5aaa51-_0x4037cd._0x9a3289);}if(!_0x4f9f87||Object[_0x35d334(_0x55d9c9._0x9e7b4c,_0x55d9c9._0x26bfc3,_0x55d9c9._0x16bf45,_0x55d9c9._0x3dea01)](_0x4f9f87)[_0x35d334(0xa2f,0x91c,_0x55d9c9._0x21a78c,0x910)]===0x0)return{'mcpPorts':_0x3a100a,'mcpClients':_0x4f31ef,'enabledTools':_0x5f3814};this[_0x35d334(_0x55d9c9._0x1abf65,0x6dd,0x8fb,_0x55d9c9._0xdc87b3)]?.[_0x3a1416(0x3df,_0x55d9c9._0x4bcab8,0x1ec,0x7a)]&&(this[_0x3a1416(0x42c,_0x55d9c9._0x434067,_0x55d9c9._0x54fc20,0x1cf)]=this['config'][_0x3a1416(_0x55d9c9._0x5c495f,_0x55d9c9._0x307715,0x1ec,-0x50)]);let _0x14aa76=Object[_0x35d334(0x504,0x382,_0x55d9c9._0x57eb1b,_0x55d9c9._0x1e74e6)](_0x4f9f87)[_0x3a1416(0x3f5,0x32b,0x4cd,_0x55d9c9._0x5dbc83)](([,_0xe7b27d])=>_0xe7b27d['enabled']!==!0x1)[_0x3a1416(0x34e,0x53f,0x55c,_0x55d9c9._0x3a5c4e)](async([_0x3ac75a,_0x8610fe])=>{function _0x470434(_0x5085e9,_0x4aac9d,_0x1cc768,_0x353776){return _0x3a1416(_0x5085e9-0x123,_0x5085e9,_0x1cc768-0x2b,_0x353776-0x10);}try{let _0x39ff1b=await this[_0x470434(_0x2b380d._0x109b15,_0x2b380d._0x3fb39a,0x21f,_0x2b380d._0x1a0f15)](_0x3ac75a,_0x8610fe);return{'serverId':_0x3ac75a,'serverCfg':_0x8610fe,'serverInfo':_0x39ff1b,'error':null};}catch(_0x261738){return{'serverId':_0x3ac75a,'serverCfg':_0x8610fe,'serverInfo':null,'error':_0x261738};}}),_0x33a2d8=await Promise[_0x3a1416(_0x55d9c9._0x2de439,_0x55d9c9._0x492fa2,0x197,_0x55d9c9._0x3fa9e3)](_0x14aa76);for(let _0x429483 of _0x33a2d8){if(_0x429483['status']===_0x35d334(_0x55d9c9._0x4c3f23,_0x55d9c9._0x383420,0xa67,0x9b7))continue;let {serverId:_0xa026a3,serverCfg:_0x3bd6cc,serverInfo:_0x303b65,error:_0x119e05}=_0x429483[_0x3a1416(_0x55d9c9._0x2cfa12,_0x55d9c9._0x25e5dd,0x425,_0x55d9c9._0x4771e3)];if(_0x119e05){let _0x57a614=_0x119e05 instanceof Error?_0x119e05[_0x35d334(_0x55d9c9._0x272e1d,_0x55d9c9._0x43e2ea,_0x55d9c9._0x55b350,0x688)]:String(_0x119e05),_0x4edeb4=_0x3bd6cc[_0x35d334(_0x55d9c9._0x36628e,0x81a,0xb09,_0x55d9c9._0x4a9d0f)]||_0x35d334(_0x55d9c9._0x48c6cd,_0x55d9c9._0x173695,_0x55d9c9._0x2c9d32,_0x55d9c9._0x340740)+_0xa026a3+'_';this['failedServers']['set'](_0xa026a3,{'id':_0xa026a3,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0x4edeb4,'status':_0x3a1416(0x22f,_0x55d9c9._0x3afadc,_0x55d9c9._0x6db7f8,_0x55d9c9._0x394107),'error':_0x57a614}),this['options'][_0x3a1416(0x648,0x4a1,_0x55d9c9._0x13fad7,0x36d)]||this[_0x3a1416(0x3f0,0x38b,_0x55d9c9._0x7f452a,_0x55d9c9._0x1591e1)](_0xa026a3,_0x119e05,_0x35d334(0x7f0,_0x55d9c9._0x48d54d,_0x55d9c9._0x477395,0x851));continue;}_0x303b65&&(_0x303b65[_0x35d334(0x720,0x817,_0x55d9c9._0x2c04f2,0x8fc)]==='connected'?(this[_0x35d334(_0x55d9c9._0x209c55,_0x55d9c9._0x1f5b40,_0x55d9c9._0x5eae50,0x675)][_0x3a1416(_0x55d9c9._0x6e4dda,_0x55d9c9._0x418b15,0x312,0x46d)](_0xa026a3,_0x303b65),_0x303b65[_0x3a1416(0x549,_0x55d9c9._0x2e87fd,_0x55d9c9._0x3eaad3,_0x55d9c9._0x37ac59)]!==null&&_0x3a100a['push'](_0x303b65[_0x3a1416(0x372,_0x55d9c9._0x48f273,0x41d,_0x55d9c9._0x1f4921)]),_0x303b65[_0x3a1416(0x3ee,_0x55d9c9._0x1e1ba4,0x20b,0x2a0)]!==null&&_0x4f31ef[_0x35d334(_0x55d9c9._0xe4279d,0x895,_0x55d9c9._0x1099e9,0x68b)](_0x303b65[_0x3a1416(_0x55d9c9._0x40ae4f,_0x55d9c9._0x4e19d5,0x20b,-0x8)]),_0x5f3814['push'](..._0x303b65[_0x35d334(0x64f,0x5bb,0x436,_0x55d9c9._0x2e9bd6)]),this[_0x3a1416(_0x55d9c9._0x4277d3,_0x55d9c9._0x5a5e53,_0x55d9c9._0x3ff991,0x459)]()):(this[_0x3a1416(0x2e6,_0x55d9c9._0xab1a12,0x105,0x22c)][_0x35d334(0x7bb,0x526,_0x55d9c9._0x1ceecc,0x757)](_0xa026a3,_0x303b65),this[_0x35d334(_0x55d9c9._0x468ad0,0x687,_0x55d9c9._0x4f1adc,_0x55d9c9._0x2ab4d6)]()));}return{'mcpPorts':_0x3a100a,'mcpClients':_0x4f31ef,'enabledTools':_0x5f3814};}async[_0x3764a2(0x25,-0x2e,0x23f,0xfa)](_0x5fbb35,_0x1fe856){const _0x5471a8={_0x87b663:0x76e,_0x3218f7:0x939,_0x182493:0x622,_0x523a75:0x581,_0x342f31:0x816,_0x4b6c5e:0x436,_0x2c7d1f:0x449,_0x326ad1:0x5f3,_0xecdd16:0x4ea,_0x22745c:0x53a,_0x218357:0x2fd,_0x2f6ab8:0x322,_0x216be9:0x623,_0x12ee91:0x48b,_0x1a346e:0x65d,_0x348ee8:0x727,_0xdec97f:0x6f8,_0xbd7f0b:0x52b,_0x5956cb:0x4d3,_0x133740:0x579,_0x48aeac:0x56c,_0x5d3c58:0x6ca,_0x202441:0x7eb,_0x259b2a:0x455,_0x4afd86:0x365,_0x2f7c58:0x3a9,_0x246504:0x69c,_0x1400d0:0x7dc,_0x1a611f:0x535,_0x54028f:0x5c0,_0x2b7d6c:0x61d,_0xff45cd:0x968,_0x3d88b6:0x4eb,_0x1c63e8:0x844,_0x9b5b74:0x56c,_0x572e40:0x4b2,_0x5a857d:0xa6e,_0x58dc66:0x804,_0x1b0669:0x641,_0x589e45:0x7ef,_0x30909e:0x5ea,_0x57a580:0xab0,_0x2c4d85:0xa83,_0x203efd:0x5f9,_0x5cbb2f:0x794,_0x32d1a3:0x7ca,_0x21a31b:0x96c,_0x2a9e42:0x6f7,_0x49ae3c:0x79e,_0x23dc37:0x980,_0x51380a:0x763,_0x2b64e9:0x7b5,_0x477801:0x8b3,_0x8313b8:0x7e4,_0x3a26a7:0x71a,_0x382dd4:0x6cf,_0x5bc164:0xa71,_0x3a9d31:0x799,_0xbabdce:0x83e,_0x426d62:0x6d7,_0x492ccc:0x647,_0x3acfed:0x417,_0x535a0f:0x2a5,_0x47e5a4:0x63e,_0x276663:0x4eb,_0x2772a7:0x71b,_0x2ea76f:0x746,_0x4f02d4:0x67f,_0x4f61b7:0x944,_0x5635f0:0x49b,_0x241516:0x304,_0x393c1c:0x255,_0x2487a0:0x86a,_0x143de0:0xb06,_0x40c960:0x907,_0xf8266f:0x931,_0x3d7cca:0x7e7,_0xff24cb:0x7f3,_0x58c65c:0x89e,_0x3a8767:0xb1b,_0x35c3cb:0x8f6,_0x32456b:0x8da,_0x2c0176:0x955,_0x2edd51:0x76b,_0x2fa529:0x976},_0x4895c5={_0x26cbdd:0x86,_0x45d3e0:0x69,_0x53158e:0x160},_0x345f5e={_0x185c76:0x73};let _0x5eba70=null,_0x2b0f7e=_0x1fe856[_0x2d5ea9(_0x5471a8._0x87b663,0x92c,0x573,_0x5471a8._0x3218f7)]||this[_0x2d5ea9(_0x5471a8._0x182493,_0x5471a8._0x523a75,_0x5471a8._0x342f31,0x78b)]?.[_0x2d5ea9(_0x5471a8._0x4b6c5e,_0x5471a8._0x2c7d1f,0x651,_0x5471a8._0x326ad1)]||0x1d4c0;if(_0x1fe856[_0x3c663f(_0x5471a8._0xecdd16,0x73f,0x674,0x67d)]==='http'&&_0x1fe856[_0x2d5ea9(_0x5471a8._0x22745c,_0x5471a8._0x218357,0x4e1,_0x5471a8._0x2f6ab8)]?_0x5eba70=new _0x5e27df({'type':_0x2d5ea9(_0x5471a8._0x216be9,0x6c8,0x54c,_0x5471a8._0x12ee91),'url':_0x1fe856[_0x3c663f(_0x5471a8._0x1a346e,0x792,_0x5471a8._0x348ee8,_0x5471a8._0xdec97f)],'headers':_0x1fe856['headers']},_0x2b0f7e):_0x1fe856['command']&&(_0x5eba70=new _0x5e27df({'type':_0x3c663f(_0x5471a8._0xbd7f0b,_0x5471a8._0x5956cb,_0x5471a8._0x133740,0x62d),'command':_0x1fe856['command'],'args':_0x1fe856[_0x2d5ea9(0x704,_0x5471a8._0x48aeac,_0x5471a8._0x5d3c58,_0x5471a8._0x202441)],'env':_0x1fe856['env'],'stderr':_0x2d5ea9(_0x5471a8._0x259b2a,0x683,_0x5471a8._0x4afd86,_0x5471a8._0x2f7c58)},_0x2b0f7e)),!_0x5eba70){let _0x26b4f0=_0x2d5ea9(_0x5471a8._0x246504,_0x5471a8._0x1400d0,_0x5471a8._0x1a611f,0x7ef);this[_0x3c663f(0x749,_0x5471a8._0x54028f,0x4e1,_0x5471a8._0x2b7d6c)][_0x2d5ea9(0x79e,_0x5471a8._0xff45cd,0x7b8,0x9e6)]||this[_0x2d5ea9(0x72f,0x87b,0x8af,_0x5471a8._0x3d88b6)]('MCP\x20server\x20\x27'+_0x5fbb35+_0x3c663f(_0x5471a8._0x1c63e8,_0x5471a8._0x9b5b74,_0x5471a8._0x572e40,0x614),'yellow');let _0xdef712=_0x1fe856[_0x3c663f(_0x5471a8._0x5a857d,_0x5471a8._0x58dc66,0xb90,0x99f)]||_0x2d5ea9(0x770,0x96c,_0x5471a8._0x1b0669,0x949)+_0x5fbb35+'_';return{'id':_0x5fbb35,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0xdef712,'status':_0x2d5ea9(0x5be,_0x5471a8._0x589e45,0x421,_0x5471a8._0x30909e),'error':_0x26b4f0};}let _0x41e5b3=_0x1fe856[_0x2d5ea9(0x7e1,0x85e,0x7a6,0x7b2)]||_0x3c663f(_0x5471a8._0x57a580,0xa8d,_0x5471a8._0x2c4d85,0x92e)+_0x5fbb35+'_',_0x27d4e0=new _0x4ab659(_0x5eba70,{'prefix':_0x41e5b3});await _0x27d4e0['init']();let _0x4045fb=_0x27d4e0['getExposedToolNames'](),_0x333385=[..._0x4045fb];function _0x3c663f(_0x47765b,_0x52ae54,_0x10ecab,_0x207de0){return _0x5a69d4(_0x47765b-_0x345f5e._0x185c76,_0x207de0-0x155,_0x52ae54,_0x207de0-0xd4);}if(this[_0x3c663f(0x64b,_0x5471a8._0x203efd,_0x5471a8._0x5cbb2f,0x7c8)]?.[_0x5fbb35]){let _0x3d0c9b=this['allowedToolsConfig'][_0x5fbb35],_0x408e1f=_0x333385[_0x3c663f(_0x5471a8._0x32d1a3,0xba3,0x9c6,_0x5471a8._0x21a31b)];_0x333385=_0x333385[_0x2d5ea9(0x7b0,0x8b0,0x5a2,0x779)](_0x2878f7=>_0x3d0c9b[_0x2878f7]!==!0x1),!this[_0x3c663f(0x5b7,0x6be,_0x5471a8._0x2a9e42,0x61d)][_0x2d5ea9(_0x5471a8._0x49ae3c,_0x5471a8._0x23dc37,_0x5471a8._0x51380a,_0x5471a8._0x2b64e9)]&&_0x333385[_0x3c663f(_0x5471a8._0x477801,0x916,_0x5471a8._0x8313b8,0x96c)]!==_0x408e1f&&this['logInfo'](_0x2d5ea9(_0x5471a8._0x3a26a7,_0x5471a8._0x382dd4,0x766,0x87d)+_0x5fbb35+_0x3c663f(_0x5471a8._0x5bc164,0x945,_0x5471a8._0x3a9d31,_0x5471a8._0xbabdce)+_0x408e1f+'\x20to\x20'+_0x333385[_0x2d5ea9(0x7ae,_0x5471a8._0x426d62,_0x5471a8._0x492ccc,0x781)]+_0x2d5ea9(0x447,_0x5471a8._0x3acfed,0x429,_0x5471a8._0x535a0f),_0x2d5ea9(0x5f1,_0x5471a8._0x47e5a4,0x78e,_0x5471a8._0x276663));}function _0x2d5ea9(_0xc79a3f,_0x4001a7,_0x393461,_0x157536){return _0x5a69d4(_0xc79a3f-_0x4895c5._0x26cbdd,_0xc79a3f- -_0x4895c5._0x45d3e0,_0x4001a7,_0x157536-_0x4895c5._0x53158e);}return this['options'][_0x3c663f(0xa4f,_0x5471a8._0x2772a7,_0x5471a8._0x2ea76f,0x95c)]||this[_0x2d5ea9(0x72f,0x532,_0x5471a8._0x4f02d4,_0x5471a8._0x4f61b7)]('MCP\x20server\x20\x27'+_0x5fbb35+_0x2d5ea9(_0x5471a8._0x5635f0,0x272,_0x5471a8._0x241516,_0x5471a8._0x393c1c)+_0x4045fb[_0x3c663f(_0x5471a8._0x2487a0,_0x5471a8._0x143de0,_0x5471a8._0x40c960,_0x5471a8._0x21a31b)]+'\x20tools\x20('+_0x333385[_0x3c663f(_0x5471a8._0xf8266f,_0x5471a8._0x3d7cca,_0x5471a8._0xff24cb,0x96c)]+_0x3c663f(_0x5471a8._0x58c65c,0x8a1,_0x5471a8._0x3a8767,0x9b9)+_0x41e5b3+_0x3c663f(_0x5471a8._0x35c3cb,0x818,_0x5471a8._0x32456b,0x967)+_0x2b0f7e+_0x3c663f(0x776,0x705,_0x5471a8._0x2c0176,_0x5471a8._0x2edd51),_0x2d5ea9(0x7b6,0x7c3,0x7f2,_0x5471a8._0x2fa529)),{'id':_0x5fbb35,'client':_0x5eba70,'port':_0x27d4e0,'exposedTools':_0x4045fb,'allowedTools':_0x333385,'prefix':_0x41e5b3,'status':'connected'};}async[_0x3764a2(-0x3c,0x12c,-0x65,0xbf)](){const _0x183cb3={_0x4ab442:0x23e,_0x6eba33:0x288,_0x15c6ca:0x527,_0x5b6e70:0x29e,_0x329343:0x2c2,_0x1ce63c:0x1a6,_0x10dfda:0x1f2,_0x306d31:0x40b},_0x591999={_0x268d8e:0x1de},_0x33729e={_0x1b25e5:0x432},_0x3ff8bb={_0x3dbc62:0x6b,_0x17faf0:0xc2,_0x40e86f:0x33a,_0x51bf0d:0x2f7,_0x10158e:0x337,_0x5af639:0x12a,_0x397208:0x5b1,_0x2be0a2:0x4f9,_0x417b3e:0x3da,_0x8c1737:0x6cd,_0x4924da:0x7e0,_0x280cec:0x55a,_0x1b4046:0x4dc,_0x4be90e:0x66a},_0x3149a5={_0x5d18fe:0x1cf};let _0x67cb23=Array['from'](this[_0xfdcf78(0x22e,0x23f,_0x183cb3._0x4ab442,_0x183cb3._0x6eba33)]['values']());if(!_0x67cb23['length'])return;let _0xd31ba5=_0x67cb23[_0x5a7ab1(0x476,_0x183cb3._0x15c6ca,0x684,_0x183cb3._0x5b6e70)](async(_0x5b3146,_0x25e29f)=>{const _0x5ada64={_0x408dbe:0xe9};function _0x2731a1(_0x27116a,_0x25a12e,_0x9270da,_0x50b868){return _0x5a7ab1(_0x25a12e-0x39c,_0x25a12e-0xb0,_0x9270da-_0x5ada64._0x408dbe,_0x27116a);}function _0x55d5d9(_0x50bb36,_0x141827,_0x3b7938,_0x505412){return _0x5a7ab1(_0x505412-0xc2,_0x141827-0x7a,_0x3b7938-_0x3149a5._0x5d18fe,_0x50bb36);}try{_0x5b3146[_0x55d5d9(_0x3ff8bb._0x3dbc62,_0x3ff8bb._0x17faf0,0x1d2,0x1e7)]&&await _0x5b3146[_0x55d5d9(_0x3ff8bb._0x40e86f,0x17b,_0x3ff8bb._0x51bf0d,0x1e7)][_0x55d5d9(0x171,0x293,_0x3ff8bb._0x10158e,_0x3ff8bb._0x5af639)]();}catch(_0x10f819){let _0x5b8c68=_0x10f819 instanceof Error?_0x10f819[_0x2731a1(_0x3ff8bb._0x397208,_0x3ff8bb._0x2be0a2,_0x3ff8bb._0x417b3e,0x515)]:String(_0x10f819);this[_0x2731a1(0x80f,_0x3ff8bb._0x8c1737,_0x3ff8bb._0x4924da,_0x3ff8bb._0x280cec)](_0x2731a1(0x3e1,0x47f,_0x3ff8bb._0x1b4046,_0x3ff8bb._0x4be90e)+(_0x25e29f+0x1)+':\x20'+_0x5b8c68);}});function _0x5a7ab1(_0x5e4f4d,_0x4bb0d1,_0x4347ce,_0x45b404){return _0x5a69d4(_0x5e4f4d-0x146,_0x5e4f4d- -_0x33729e._0x1b25e5,_0x45b404,_0x45b404-0x42);}function _0xfdcf78(_0x36483a,_0x26af4a,_0x2b40ce,_0x4629aa){return _0x3764a2(_0x26af4a-_0x591999._0x268d8e,_0x26af4a-0x1a2,_0x36483a,_0x4629aa-0x1da);}await Promise[_0xfdcf78(_0x183cb3._0x329343,_0x183cb3._0x1ce63c,_0x183cb3._0x10dfda,0x298)](_0xd31ba5),this['servers'][_0xfdcf78(0x3d5,0x202,_0x183cb3._0x306d31,0x19d)]();}async[_0x3764a2(0x2c9,0x486,0x4cb,0x33a)](_0x151c19){const _0x402744={_0x28d4f0:0xd4,_0x23e5f6:0x2bf,_0x33c1c8:0x277,_0x4cd7ae:0x2e3,_0x5b4f91:0x3f1,_0x4efbb6:0x226,_0x1a0a4b:0x111,_0x5bc525:0xfc,_0x49d843:0x1ba,_0x293a1d:0x3b,_0x2ceecd:0x1d7,_0x3eb4a7:0x1f3,_0x5cfddc:0x40,_0x268caa:0x3cc,_0xc3c95:0x35a,_0x1648b9:0x258,_0x35e1fa:0x4f0,_0x825387:0x376,_0x1f2ac8:0x4ff},_0x1d674f={_0x27b086:0x23b,_0x520f30:0x1b1},_0x397350={_0x39fdbf:0x132,_0x33b79c:0x15c};let _0x45c8fc=this['servers'][_0x18a6e7(_0x402744._0x28d4f0,-0x23,0x1f1,0x338)](_0x151c19);function _0x3bff3c(_0x2245d6,_0x5e2ac4,_0x36feed,_0x28c981){return _0x3764a2(_0x5e2ac4-0x137,_0x5e2ac4-_0x397350._0x39fdbf,_0x28c981,_0x28c981-_0x397350._0x33b79c);}function _0x18a6e7(_0x2f865a,_0x5975fe,_0x1c83b5,_0x1d9b05){return _0x3764a2(_0x1c83b5-_0x1d674f._0x27b086,_0x5975fe-_0x1d674f._0x520f30,_0x2f865a,_0x1d9b05-0x152);}if(!_0x45c8fc||!_0x45c8fc[_0x18a6e7(_0x402744._0x23e5f6,0x40d,_0x402744._0x33c1c8,_0x402744._0x4cd7ae)])return!0x1;try{return await _0x45c8fc[_0x18a6e7(0x179,_0x402744._0x5b4f91,_0x402744._0x33c1c8,_0x402744._0x4efbb6)][_0x18a6e7(_0x402744._0x1a0a4b,_0x402744._0x5bc525,_0x402744._0x49d843,0x93)](),this[_0x3bff3c(-0x8,0x198,-0xab,-_0x402744._0x293a1d)][_0x3bff3c(_0x402744._0x2ceecd,_0x402744._0x3eb4a7,0x3f,_0x402744._0x5cfddc)](_0x151c19),this[_0x3bff3c(0x36f,_0x402744._0x268caa,0x575,_0x402744._0xc3c95)](),!0x0;}catch(_0x55454c){let _0xd354f9=_0x55454c instanceof Error?_0x55454c[_0x18a6e7(_0x402744._0x1648b9,0x4ad,0x2af,_0x402744._0x35e1fa)]:String(_0x55454c);return this[_0x3bff3c(0x547,0x37f,0x3ae,_0x402744._0x825387)](_0x3bff3c(-0x179,0xa9,0x2cf,-0x183)+_0x151c19+_0x3bff3c(0x640,0x490,0x449,_0x402744._0x1f2ac8)+_0xd354f9),!0x1;}}async['reconnectServer'](_0x5d6dbe){const _0x27ab6c={_0x5775cf:0xa7,_0x493ded:0x1be,_0x4c938b:0x4d5,_0x18da57:0x451,_0x223a02:0x9c,_0x3d5dd8:0x228,_0x201492:0x47d,_0x40402d:0x1f0,_0x7d672a:0x38e,_0x19fe47:0x3bd,_0x9ceea1:0x121,_0x367916:0x2b3,_0x5725b7:0x1b6,_0x186494:0xfa,_0x1f52bd:0x320,_0x279653:0x191,_0x353457:0x23a,_0x1dd767:0x273,_0x30f935:0x193,_0x4a3d0f:0x1b9,_0x5b0bac:0x355,_0x2199d2:0x113,_0xd547f1:0x1a,_0x17edcc:0x19e,_0x250959:0x8d,_0x4e894c:0x14a,_0x1fe156:0x3cc,_0x1f3d7f:0x366,_0x4fc713:0x16e,_0x232539:0x2fe,_0x46b598:0x17a,_0x479953:0x1b4,_0x476766:0x274,_0x35ed76:0xfc,_0x2b8b59:0x493,_0x51e10c:0x33b,_0x144aee:0x219,_0x59ffbc:0xc5,_0xe6d849:0x1ed,_0x2b10fa:0x109,_0x51ecc1:0x8b,_0x1fd1f8:0x7a,_0x4db19a:0x293,_0x40a5f0:0x345,_0x183859:0x394,_0x1e7961:0x3ea,_0x381eb8:0x72,_0x28c2d0:0x1b0,_0x102453:0xf3,_0x2750b5:0x43,_0x355e1e:0xbd,_0x4b9dd8:0x164,_0x35d476:0x1bd,_0x44e959:0x1f6,_0x2f6d90:0x298,_0xe07f89:0x491,_0x4e89a5:0x1b6,_0x3cf195:0x3ea,_0x5f430b:0x595,_0x53d2d2:0x291},_0x3188f3={_0x5508b0:0x11b},_0xc27d3b={_0xd63c88:0x155,_0x30eff2:0x90};let _0x44ae0f=this[_0x347072(_0x27ab6c._0x5775cf,-0x36,-0x17f,0x9)]?.['servers']?.[_0x5d6dbe];function _0x220115(_0x4acb1f,_0x25c63d,_0x4a82f5,_0x14d2d0){return _0x3764a2(_0x14d2d0-_0xc27d3b._0xd63c88,_0x25c63d-_0xc27d3b._0x30eff2,_0x25c63d,_0x14d2d0-0x12c);}if(!_0x44ae0f)return this[_0x220115(0x3f7,_0x27ab6c._0x493ded,_0x27ab6c._0x4c938b,0x39d)]('MCP\x20server\x20\x27'+_0x5d6dbe+_0x347072(0x28a,_0x27ab6c._0x18da57,0x19a,0x343)),null;if(_0x44ae0f[_0x347072(-0x176,_0x27ab6c._0x223a02,-0xd7,-0x62)]===!0x1)return this[_0x220115(0x4a8,0x503,_0x27ab6c._0x3d5dd8,0x3d2)](_0x220115(_0x27ab6c._0x201492,_0x27ab6c._0x40402d,_0x27ab6c._0x7d672a,_0x27ab6c._0x19fe47)+_0x5d6dbe+_0x220115(0x541,0x66c,0x2e9,0x4be),_0x220115(_0x27ab6c._0x9ceea1,0x2cc,_0x27ab6c._0x367916,0x294)),null;let _0x427bf1=this[_0x220115(-0x4,-0x48,0x2d1,_0x27ab6c._0x5725b7)][_0x220115(_0x27ab6c._0x186494,0x290,-0xd9,0x10b)](_0x5d6dbe);if(_0x427bf1?.[_0x220115(0x1b,0x1d0,_0x27ab6c._0x1f52bd,_0x27ab6c._0x279653)])try{await _0x427bf1['client'][_0x347072(-0x14a,-0xe1,-_0x27ab6c._0x353457,-_0x27ab6c._0x1dd767)]();}catch{}let _0x2a0006=this[_0x347072(-_0x27ab6c._0x30f935,-_0x27ab6c._0x4a3d0f,-0x131,-_0x27ab6c._0x5b0bac)][_0x347072(-_0x27ab6c._0x2199d2,-_0x27ab6c._0xd547f1,-_0x27ab6c._0x17edcc,-0x90)](_0x5d6dbe);function _0x347072(_0x48a424,_0x5ae1e0,_0x1615cf,_0x5b6305){return _0x3764a2(_0x48a424- -0xc9,_0x5ae1e0-_0x3188f3._0x5508b0,_0x5ae1e0,_0x5b6305-0x1da);}if(_0x2a0006?.['client'])try{await _0x2a0006[_0x347072(-_0x27ab6c._0x250959,-0x216,-0x1cb,-0x1f5)][_0x347072(-_0x27ab6c._0x4e894c,-0x196,-0x138,-0x1ba)]();}catch{}this[_0x220115(0x37e,_0x27ab6c._0x1fe156,_0x27ab6c._0x1f3d7f,0x1b6)][_0x220115(0x293,0x35b,_0x27ab6c._0x4fc713,0x211)](_0x5d6dbe),this['failedServers']['delete'](_0x5d6dbe),await new Promise(_0x16ac63=>setTimeout(_0x16ac63,0x64));try{let _0x3b1cef=await this[_0x220115(_0x27ab6c._0x232539,0xa,0x3bc,_0x27ab6c._0x46b598)](_0x5d6dbe,_0x44ae0f);if(_0x3b1cef)return _0x3b1cef['status']===_0x220115(0x2e2,0x443,0x37,0x276)?(this['servers']['set'](_0x5d6dbe,_0x3b1cef),this[_0x347072(_0x27ab6c._0x479953,_0x27ab6c._0x476766,_0x27ab6c._0x35ed76,0xed)](_0x220115(_0x27ab6c._0x2b8b59,_0x27ab6c._0x51e10c,0x379,0x3bd)+_0x5d6dbe+_0x220115(0x448,_0x27ab6c._0x144aee,0x2d0,0x3c3),'green')):this[_0x220115(_0x27ab6c._0x59ffbc,_0x27ab6c._0xe6d849,-_0x27ab6c._0x2b10fa,_0x27ab6c._0x51ecc1)][_0x347072(_0x27ab6c._0x1fd1f8,_0x27ab6c._0x4db19a,0x213,0x27c)](_0x5d6dbe,_0x3b1cef),this[_0x220115(_0x27ab6c._0x40a5f0,_0x27ab6c._0x183859,0x330,_0x27ab6c._0x1e7961)](),_0x3b1cef;}catch(_0x5f8372){let _0x298e93=_0x5f8372 instanceof Error?_0x5f8372[_0x347072(-0x55,_0x27ab6c._0x381eb8,-_0x27ab6c._0x28c2d0,_0x27ab6c._0x102453)]:String(_0x5f8372),_0x226198=_0x44ae0f['prefix']||'mcp_'+_0x5d6dbe+'_',_0x56bd8e={'id':_0x5d6dbe,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0x226198,'status':_0x347072(_0x27ab6c._0x2750b5,-0x167,-_0x27ab6c._0x355e1e,-0x196),'error':_0x298e93};return this[_0x220115(-0x198,0x29d,-_0x27ab6c._0x4b9dd8,0x8b)][_0x220115(0x328,_0x27ab6c._0x35d476,_0x27ab6c._0x44e959,_0x27ab6c._0x2f6d90)](_0x5d6dbe,_0x56bd8e),this[_0x220115(0x602,_0x27ab6c._0xe07f89,_0x27ab6c._0x4e89a5,_0x27ab6c._0x3cf195)](),this[_0x220115(_0x27ab6c._0x5f430b,0x27e,_0x27ab6c._0x53d2d2,0x381)](_0x5d6dbe,_0x5f8372,'reconnect'),_0x56bd8e;}return null;}[_0x5a69d4(0x892,0x726,0x7e5,0x514)](_0x476f68){const _0x44cad={_0x129902:0x5a4,_0x569215:0x495,_0x3d9db0:0x3c3,_0x38967e:0x4f9,_0xef9fc6:0x4b8},_0x151ea5={_0x3f3e59:0x63},_0x15744f={_0x2d796e:0x28,_0x26d208:0xf2};function _0x4f71b3(_0x11706e,_0x2e1cd9,_0x2a247c,_0x24dd66){return _0x5a69d4(_0x11706e-0xcb,_0x2a247c-_0x15744f._0x2d796e,_0x2e1cd9,_0x24dd66-_0x15744f._0x26d208);}function _0x25d8c1(_0x5f0758,_0x570014,_0x2400b7,_0x41cd45){return _0x3764a2(_0x570014- -0xa8,_0x570014-_0x151ea5._0x3f3e59,_0x2400b7,_0x41cd45-0x70);}return this[_0x4f71b3(0x638,0x62b,_0x44cad._0x129902,0x6ca)][_0x4f71b3(_0x44cad._0x569215,_0x44cad._0x3d9db0,_0x44cad._0x38967e,_0x44cad._0xef9fc6)](_0x476f68);}[_0x5a69d4(0x751,0x53b,0x6b4,0x776)](){const _0x29f2b2={_0xbd1c8f:0x3fb,_0x26ba0a:0x57d,_0x240492:0x14d,_0xc82a2e:0x245,_0xf265b2:0x2ab,_0x3446b7:0x1f4,_0x4a84b2:0x330},_0x3fb437={_0x20a254:0xe3,_0x58cbec:0x4},_0x52661a={_0x47e6bc:0x53};function _0x371880(_0x2107cf,_0x5cc3bf,_0x45d139,_0x516245){return _0x5a69d4(_0x2107cf-_0x52661a._0x47e6bc,_0x45d139- -0x181,_0x516245,_0x516245-0x1ea);}function _0x506a57(_0x66b1e5,_0x369ee7,_0xe03463,_0x4f3e8e){return _0x3764a2(_0x369ee7- -_0x3fb437._0x20a254,_0x369ee7-_0x3fb437._0x58cbec,_0x66b1e5,_0x4f3e8e-0xea);}return[...Array['from'](this[_0x371880(0x2e3,0x275,_0x29f2b2._0xbd1c8f,_0x29f2b2._0x26ba0a)][_0x506a57(-0x1da,-_0x29f2b2._0x240492,-0x12e,0x20)]()),...Array['from'](this[_0x506a57(-_0x29f2b2._0xc82a2e,-0x1ad,-_0x29f2b2._0xf265b2,-_0x29f2b2._0x3446b7)][_0x371880(0x1d6,0x35f,_0x29f2b2._0x4a84b2,0x41b)]())];}['getConnectedServers'](){const _0x54d9b0={_0x4bb338:0x7fa,_0x283307:0x941,_0x22d582:0x735,_0x1733a6:0x99,_0x25c530:0x26,_0x3bb1ad:0x22a},_0x58f773={_0x24ba08:0x4b9,_0xbf667:0x1e2,_0x5299b3:0x1de},_0x293e06={_0x5301a3:0x49};function _0xb0803b(_0x479afb,_0x53cb45,_0x4cbe6e,_0x2b6980){return _0x5a69d4(_0x479afb-_0x293e06._0x5301a3,_0x479afb- -0x54a,_0x2b6980,_0x2b6980-0xe);}function _0x5299b0(_0x229c70,_0x4efc0a,_0x4ea39c,_0x5ecfbd){return _0x3764a2(_0x4ea39c-_0x58f773._0x24ba08,_0x4efc0a-_0x58f773._0xbf667,_0x229c70,_0x5ecfbd-_0x58f773._0x5299b3);}return Array[_0x5299b0(_0x54d9b0._0x4bb338,_0x54d9b0._0x283307,_0x54d9b0._0x22d582,0x557)](this['servers'][_0xb0803b(-_0x54d9b0._0x1733a6,_0x54d9b0._0x25c530,-_0x54d9b0._0x3bb1ad,-0x69)]());}[_0x5a69d4(0x6c5,0x5a4,0x5c1,0x49d)](){const _0x153a62={_0x505e56:0xa31,_0x4b7538:0xa0b,_0x2c3e0e:0x59a,_0x234200:0x38c,_0x171b7f:0x5fa,_0x1f8c64:0x774,_0x4b4b14:0x5ce,_0x3c9021:0x56d},_0x482fc0={_0x29d1d4:0x1c2,_0x12d776:0xef},_0x1a9dc5={_0x48cf64:0x348};function _0x271ae2(_0xe7f37b,_0x1d453f,_0x4e4296,_0x45c33d){return _0x5a69d4(_0xe7f37b-0x1dc,_0x45c33d- -_0x1a9dc5._0x48cf64,_0x1d453f,_0x45c33d-0x127);}function _0x536e3d(_0xeab138,_0x2b89ba,_0x54af4c,_0x34d214){return _0x3764a2(_0xeab138-0x664,_0x2b89ba-_0x482fc0._0x29d1d4,_0x34d214,_0x34d214-_0x482fc0._0x12d776);}return Array[_0x536e3d(0x8e0,_0x153a62._0x505e56,_0x153a62._0x4b7538,0x823)](this[_0x536e3d(_0x153a62._0x2c3e0e,0x681,_0x153a62._0x234200,0x75f)][_0x536e3d(_0x153a62._0x171b7f,_0x153a62._0x1f8c64,_0x153a62._0x4b4b14,_0x153a62._0x3c9021)]());}[_0x3764a2(-0x37,-0x1eb,-0x37,0x9)](){const _0x529f2a={_0x618722:0x7f4,_0x24a732:0x76a,_0x58116c:0x4c5,_0x5d1f51:0x4b7,_0x3b97ea:0x558,_0x58577a:0x4ca},_0x193856={_0x56e31b:0x170},_0x5793b4={_0xb08d8e:0x4f9,_0x135aaa:0x91};function _0x56593d(_0x1c925d,_0x1b3dbb,_0x47d765,_0x43d9b4){return _0x3764a2(_0x1b3dbb-_0x5793b4._0xb08d8e,_0x1b3dbb-_0x5793b4._0x135aaa,_0x1c925d,_0x43d9b4-0x41);}function _0x57b771(_0x2d1bd9,_0x6630f5,_0x303632,_0x5cf88b){return _0x5a69d4(_0x2d1bd9-_0x193856._0x56e31b,_0x5cf88b- -0x71,_0x2d1bd9,_0x5cf88b-0x39);}return Array[_0x57b771(_0x529f2a._0x618722,_0x529f2a._0x24a732,0x723,0x726)](this[_0x56593d(0x570,0x55a,0x6fe,_0x529f2a._0x58116c)][_0x57b771(_0x529f2a._0x5d1f51,_0x529f2a._0x3b97ea,_0x529f2a._0x58577a,0x448)]());}async[_0x3764a2(0xd4,0x159,0x7,0x228)](_0x45d328){const _0xf264c0={_0x210b38:0x608,_0x273381:0x348,_0x5d2494:0x400,_0x216bd8:0x1b9,_0x5f0bf8:0x5a2,_0x127e02:0x68a,_0x31dcb4:0x5de,_0x10a860:0x1ed,_0x5c2982:0x6f5},_0x3a1efe={_0x2a16cb:0x273},_0x1a8309={_0x3f2f74:0x14f};this[_0x187a31(_0xf264c0._0x210b38,_0xf264c0._0x273381,_0xf264c0._0x5d2494,_0xf264c0._0x216bd8)]=_0x45d328;function _0x5b9c51(_0x490e31,_0x3613ff,_0x3d0d42,_0x52b340){return _0x3764a2(_0x52b340-0x4f7,_0x3613ff-0x120,_0x490e31,_0x52b340-_0x1a8309._0x3f2f74);}function _0x187a31(_0x7b1f68,_0x502aea,_0x5b71af,_0x7fb7f2){return _0x5a69d4(_0x7b1f68-0x1c,_0x5b71af- -_0x3a1efe._0x2a16cb,_0x7b1f68,_0x7fb7f2-0x78);}for(let [_0x50b41b,_0x1bc50c]of this[_0x5b9c51(_0xf264c0._0x5f0bf8,_0xf264c0._0x127e02,_0xf264c0._0x31dcb4,0x558)][_0x187a31(0x15a,0x26c,_0xf264c0._0x10a860,0x2ef)]()){let _0x2057d3=_0x45d328[_0x50b41b];if(!_0x2057d3)continue;let _0x243f07=_0x1bc50c['exposedTools'][_0x5b9c51(0x5de,_0xf264c0._0x5c2982,0x9cc,0x7f5)](_0x56d7e0=>_0x2057d3[_0x56d7e0]!==!0x1);_0x1bc50c[_0x187a31(0x4d7,0x43f,0x2c5,0x2dc)]=_0x243f07;}}[_0x5a69d4(0x820,0x6fc,0x811,0x77f)](_0x559143){const _0x2cb565={_0x47718e:0x8};function _0x4a7c3e(_0xd2ad0a,_0x4b1d04,_0x5915d2,_0x537c89){return _0x3764a2(_0xd2ad0a-0xc5,_0x4b1d04-_0x2cb565._0x47718e,_0x4b1d04,_0x537c89-0xb8);}this[_0x4a7c3e(0x21d,0x3a0,0x3e7,0x1d2)]=_0x559143;}[_0x5a69d4(0x653,0x747,0x7e6,0x719)](_0x2de26c,_0x207abd,_0x29daa8){const _0x54c340={_0x5859c3:0x4b,_0x23a169:0x1b2,_0x4c64c3:0xb5,_0x763108:0x21d,_0x2e4544:0x164,_0x5d557e:0x224,_0x5db700:0xf,_0x4e1a2e:0x259,_0x4c9c2c:0x3d,_0xf48ab5:0x5b1},_0x33f109={_0x18d640:0x23,_0x59b3fc:0x61},_0x42b0e1={_0x42e370:0x79,_0x269441:0x2c3,_0x413a35:0x7f};function _0x2a9a9a(_0x531776,_0x5da221,_0x4f3703,_0x4f25a9){return _0x5a69d4(_0x531776-_0x42b0e1._0x42e370,_0x4f3703- -_0x42b0e1._0x269441,_0x5da221,_0x4f25a9-_0x42b0e1._0x413a35);}function _0x2ac868(_0x4957e2,_0x122272,_0x383402,_0x5a1782){return _0x3764a2(_0x4957e2- -_0x33f109._0x18d640,_0x122272-_0x33f109._0x59b3fc,_0x122272,_0x5a1782-0xab);}let _0x3a2ba8=this[_0x2ac868(-0x20,-0x221,-_0x54c340._0x5859c3,-_0x54c340._0x23a169)](_0x207abd);this[_0x2ac868(-0x76,-0x1f9,-0x211,-0xdb)][_0x2ac868(-_0x54c340._0x4c64c3,-_0x54c340._0x763108,-_0x54c340._0x2e4544,-_0x54c340._0x5d557e)](_0x2ac868(_0x54c340._0x5db700,_0x54c340._0x4e1a2e,_0x54c340._0x4c9c2c,0x1e9)+_0x29daa8+_0x2ac868(0x1d4,0x205,0x3b4,0x61)+_0x2de26c+_0x2a9a9a(0x63a,0x3f0,_0x54c340._0xf48ab5,0x501)+_0x3a2ba8);}[_0x3764a2(0x3,0x8b,-0x113,0x19)](_0x553089){const _0x593c42={_0x356c5e:0x50b,_0x141545:0x34e,_0x579899:0x1a9,_0x2c954b:0x3c5},_0x3414d0={_0x1d75b4:0x1b9},_0x13585f={_0x2ee12b:0x6c};function _0x1d29c4(_0x459e23,_0x1ba2e1,_0x5bdc5e,_0x211c40){return _0x3764a2(_0x459e23-0x2da,_0x1ba2e1-0x122,_0x211c40,_0x211c40-_0x13585f._0x2ee12b);}function _0x205e6c(_0x41ec30,_0x3505a3,_0x523db2,_0xefaf35){return _0x3764a2(_0x523db2- -0x13a,_0x3505a3-0x23,_0xefaf35,_0xefaf35-_0x3414d0._0x1d75b4);}return typeof _0x553089==_0x1d29c4(0x4d5,_0x593c42._0x356c5e,0x5c4,0x47a)&&_0x553089!==null&&'message'in _0x553089?_0x553089[_0x1d29c4(_0x593c42._0x141545,_0x593c42._0x579899,_0x593c42._0x2c954b,0x2b5)]??'Unknown\x20error':String(_0x553089);}[_0x5a69d4(0x8b2,0x798,0x7fb,0x5a8)](_0x2e54c8,_0x169d5c='green'){const _0x58b6b4={_0x1ed2be:0x5c,_0xeb17fe:0x216,_0x364222:0x3e3,_0x207d12:0xe6,_0x24d6bf:0x12b,_0x39241c:0x13c,_0x252aa1:0x211,_0x5eea94:0x1a5,_0x59276e:0x31d,_0x5705c3:0x1e7,_0x120d2e:0x1fd,_0x1259cb:0x43e},_0x4d20ee={_0x4acd49:0x14e,_0xdc03ca:0x194},_0x4febae={_0x53995d:0x107,_0x9ea792:0x81};function _0x85ec7c(_0x395257,_0x1559f9,_0x1be015,_0x30ec78){return _0x3764a2(_0x395257- -_0x4febae._0x53995d,_0x1559f9-0x123,_0x30ec78,_0x30ec78-_0x4febae._0x9ea792);}function _0x3cb726(_0x2ea2b2,_0x4d4e11,_0x4d62c2,_0x431624){return _0x3764a2(_0x4d4e11-0xaf,_0x4d4e11-_0x4d20ee._0x4acd49,_0x2ea2b2,_0x431624-_0x4d20ee._0xdc03ca);}this[_0x3cb726(-0x1eb,_0x58b6b4._0x1ed2be,_0x58b6b4._0xeb17fe,-0xd4)]['appendLine']({'id':_0x59f38c[_0x85ec7c(0x29a,_0x58b6b4._0x364222,0x401,_0x58b6b4._0x207d12)](),'type':_0x3cb726(-0xe9,_0x58b6b4._0x24d6bf,0x33a,_0x58b6b4._0x39241c),'content':_0x2e54c8,'metadata':{'timestamp':new Date()[_0x85ec7c(_0x58b6b4._0x252aa1,_0x58b6b4._0x5eea94,_0x58b6b4._0x59276e,_0x58b6b4._0x5705c3)]()},'color':j['colors'][_0x169d5c]??j['tokens'][_0x85ec7c(_0x58b6b4._0x120d2e,0x3e9,-0x1c,_0x58b6b4._0x1259cb)]});}[_0x5a69d4(0x59e,0x763,0x7f6,0x598)](_0x560cfe){const _0x17655f={_0x5bebb6:0x1fb,_0x8bf945:0x208,_0x1425d8:0x448,_0x1c8100:0x3c7,_0x492384:0x392,_0x3826b5:0x1dd,_0x858a1a:0x2e2,_0x562a37:0xba,_0x117772:0x9c,_0x2be373:0x31e},_0x4df18a={_0x4d809d:0x91,_0x42da71:0x7a};function _0x13e55a(_0x322fca,_0x8a712c,_0x519629,_0x34af55){return _0x3764a2(_0x322fca- -_0x4df18a._0x4d809d,_0x8a712c-0x29,_0x8a712c,_0x34af55-_0x4df18a._0x42da71);}function _0x5dbbd5(_0x577bc8,_0xb1838f,_0x15fe88,_0x45e101){return _0x3764a2(_0x45e101-0x65,_0xb1838f-0xab,_0xb1838f,_0x45e101-0x1ea);}this[_0x13e55a(-0xe4,-0x135,-_0x17655f._0x5bebb6,0x27)][_0x13e55a(_0x17655f._0x8bf945,0x39,0x269,0x418)]({'id':_0x59f38c[_0x13e55a(0x310,0x3b8,0x1bc,0x1f8)](),'type':_0x13e55a(0x228,0x24b,0x33e,_0x17655f._0x1425d8),'content':_0x560cfe,'metadata':{'timestamp':new Date()[_0x5dbbd5(0x316,_0x17655f._0x1c8100,_0x17655f._0x492384,0x37d)]()},'color':j[_0x5dbbd5(_0x17655f._0x3826b5,_0x17655f._0x858a1a,-_0x17655f._0x562a37,_0x17655f._0x117772)][_0x5dbbd5(0x329,0x40e,0x281,_0x17655f._0x2be373)]});}};import{GithubLLM as _0x2f1118,AnthropicAISDKLLM as _0x276620,createLLM as _0x3a4c2b,supportsGetModels as _0x45098a,getAvailableProviders as _0x119a23}from'@nuvin/nuvin-core';import*as _0x206adb from'crypto';var ol={'maxRetries':0xa,'baseDelayMs':0x3e8,'maxDelayMs':0xea60,'backoffMultiplier':0x2,'jitterFactor':0.2,'onRetry':(_0x2cf047,_0x11a258,_0x2e3429)=>{const _0x32107b={_0x1cc660:0x5f5,_0x291437:0x29d,_0x1545d2:0x2d1,_0x486b94:0x360,_0x39119c:0x5b7,_0x2094d5:0x65e,_0x178ce2:0x651,_0x215bb4:0x6dd,_0x513064:0x52c,_0x54efcd:0x461,_0x1a6b41:0x3df,_0xb90865:0x8f1,_0x53a018:0x4d3,_0x5e6df8:0x89b,_0x18ab7c:0x328,_0x15769c:0x56f,_0x4f7e16:0x1c8,_0x5a5f19:0x69a,_0x405103:0x825,_0x27b23f:0x6fa,_0x393c78:0x318,_0x11f8fe:0x37f},_0x1ca82b={_0x5a133e:0x38},_0x5e9544={_0xeb1936:0x39,_0x23ea14:0x79};function _0x349468(_0x43f525,_0x58a187,_0x129d3a,_0x5b7f16){return _0x5a69d4(_0x43f525-_0x5e9544._0xeb1936,_0x58a187- -0x199,_0x5b7f16,_0x5b7f16-_0x5e9544._0x23ea14);}function _0x120af3(_0xe7fe7d,_0x2e0a76,_0x10ac1a,_0x3e8b78){return _0x5a69d4(_0xe7fe7d-_0x1ca82b._0x5a133e,_0x2e0a76- -0x13f,_0xe7fe7d,_0x3e8b78-0xf6);}k[_0x120af3(_0x32107b._0x1cc660,0x48a,_0x32107b._0x291437,0x595)](_0x349468(0x41e,_0x32107b._0x1545d2,0x49f,_0x32107b._0x486b94),{'id':_0x206adb[_0x120af3(0x53b,0x77d,_0x32107b._0x39119c,_0x32107b._0x2094d5)](),'type':_0x120af3(0x7b5,_0x32107b._0x178ce2,_0x32107b._0x215bb4,0x88f),'content':_0x120af3(_0x32107b._0x513064,0x35e,_0x32107b._0x54efcd,_0x32107b._0x1a6b41)+_0x2cf047+').\x20Retrying\x20in\x20'+Math[_0x120af3(_0x32107b._0xb90865,0x71b,_0x32107b._0x53a018,_0x32107b._0x5e6df8)](_0x2e3429/0x3e8)+_0x349468(_0x32107b._0x18ab7c,_0x32107b._0x15769c,0x60c,0x371)+_0x11a258[_0x349468(0x3f9,0x3f6,0x302,_0x32107b._0x4f7e16)],'metadata':{'timestamp':new Date()[_0x349468(0x6db,_0x32107b._0x5a5f19,_0x32107b._0x405103,0x498)](),'isTransient':!0x0},'color':_0x120af3(_0x32107b._0x27b23f,0x51b,_0x32107b._0x393c78,_0x32107b._0x11f8fe)});},'onExhausted':(_0x4cdc5f,_0x3d9687)=>{const _0x960d13={_0x178821:0x6aa,_0x434400:0x4b3,_0x4ffcd2:0x21e,_0x380366:0x2de,_0x1f846d:0x78c,_0x2a5fab:0x6b4,_0xb97ea6:0x67c,_0x1039c5:0x6ad,_0x11597a:0x623,_0x43e5bb:0x48f,_0x26ff2f:0x230,_0x3c8b3e:0x19a,_0x5e7af0:0x82f,_0x46275c:0x506,_0x39fd83:0x4e6,_0x583946:0x6f5},_0x5ece6d={_0xc46bde:0x2cf,_0x538b24:0x1e1,_0xfa6e15:0x197},_0x421479={_0x53adc5:0x66};function _0xdbc00f(_0x57538f,_0x4829ab,_0x26b465,_0x3bca62){return _0x3764a2(_0x26b465-0x5fc,_0x4829ab-0x85,_0x57538f,_0x3bca62-_0x421479._0x53adc5);}function _0x988a2(_0x1035ba,_0x5aebad,_0x1c43be,_0x5bd038){return _0x3764a2(_0x1035ba-_0x5ece6d._0xc46bde,_0x5aebad-_0x5ece6d._0x538b24,_0x1c43be,_0x5bd038-_0x5ece6d._0xfa6e15);}k[_0xdbc00f(0x816,0x7c1,_0x960d13._0x178821,_0x960d13._0x434400)](_0x988a2(_0x960d13._0x4ffcd2,0x1cc,0x42e,_0x960d13._0x380366),{'id':_0x206adb['randomUUID'](),'type':_0x988a2(0x544,0x5a8,_0x960d13._0x1f846d,_0x960d13._0x2a5fab),'content':_0xdbc00f(_0x960d13._0xb97ea6,_0x960d13._0x1039c5,_0x960d13._0x11597a,_0x960d13._0x43e5bb)+_0x3d9687+'\x20attempts:\x20'+_0x4cdc5f[_0x988a2(0x343,0x10d,_0x960d13._0x26ff2f,_0x960d13._0x3c8b3e)],'metadata':{'timestamp':new Date()[_0x988a2(0x5e7,_0x960d13._0x5e7af0,0x4aa,0x619)]()},'color':_0x988a2(0x652,_0x960d13._0x46275c,_0x960d13._0x39fd83,_0x960d13._0x583946)});}},bo=class{constructor(_0x471e08){const _0x4edd6e={_0x3dc0d0:0x4ab,_0x3777d6:0x183,_0x8c60c2:0x275},_0x15b166={_0x3a5b65:0x6b,_0xe93a1a:0xae,_0x37d29c:0x19d};function _0xdcfea6(_0x3b8bd8,_0x2981a3,_0xd2ab45,_0x32959f){return _0x3764a2(_0x32959f-_0x15b166._0x3a5b65,_0x2981a3-_0x15b166._0xe93a1a,_0x2981a3,_0x32959f-_0x15b166._0x37d29c);}this[_0xdcfea6(_0x4edd6e._0x3dc0d0,_0x4edd6e._0x3777d6,_0x4edd6e._0x8c60c2,0x380)]=_0x471e08;}[_0x3764a2(0x193,-0x92,0x1a5,0x330)](){const _0x4efbe0={_0x5ec867:0x3c7,_0xe186cb:0x5a0,_0xe1d2b9:0x67e},_0x5067e4={_0x39a4b5:0x29c,_0x47d020:0xd5},_0x5455d4={_0x3f45b4:0x7f,_0x19cfb9:0x1f1};function _0x2c3656(_0x1fac69,_0xddc35c,_0x100d11,_0x505f80){return _0x5a69d4(_0x1fac69-0x122,_0x100d11- -_0x5455d4._0x3f45b4,_0x505f80,_0x505f80-_0x5455d4._0x19cfb9);}let _0x3fb4fc=this['getCustomProviders'](),_0x2a6189=_0x119a23(_0x3fb4fc),_0x945f63=[_0x2c3656(0x817,0x792,0x6b2,0x485),_0x2c3656(0x7bc,_0x4efbe0._0x5ec867,_0x4efbe0._0xe186cb,_0x4efbe0._0xe1d2b9)];function _0xd91ab5(_0x2cf673,_0x5b1082,_0x5b0c3c,_0x27a552){return _0x3764a2(_0x27a552-_0x5067e4._0x39a4b5,_0x5b1082-0x1b3,_0x2cf673,_0x27a552-_0x5067e4._0x47d020);}return[..._0x2a6189,..._0x945f63];}[_0x3764a2(0x80,-0x123,0x1f9,0x15c)](){const _0x4eb066={_0x1bb4b1:0x5f5,_0x7568ed:0x56a,_0x18e362:0x72b,_0x132de2:0x565,_0x3a4b43:0x6c3,_0x42e954:0x1b1,_0x4e252a:0xe0,_0x4a8e85:0x58e,_0x1031ad:0x61b,_0x1779b5:0x349,_0x4f031a:0x355,_0x2489e9:0x2a2,_0x1831e3:0x44b,_0x417bc2:0x626,_0xfd7593:0x567,_0x2664b7:0x4d8,_0x59d91c:0x450,_0xa353cc:0x2ea,_0x377f91:0x159,_0x54df06:0x1f3,_0x3996c4:0x64c,_0x583066:0x551},_0x35e141={_0x1be258:0xf5},_0x548ca7={_0x5ba410:0x73};let _0x54c17e=this[_0x40c477(_0x4eb066._0x1bb4b1,0x4ff,0x32c,_0x4eb066._0x7568ed)][_0x34764a(0x3fe,_0x4eb066._0x18e362,_0x4eb066._0x132de2,_0x4eb066._0x3a4b43)]()[_0x34764a(0x238,0x202,_0x4eb066._0x42e954,_0x4eb066._0x4e252a)];function _0x40c477(_0x51bd33,_0x53c151,_0x1e6aee,_0x3416a0){return _0x3764a2(_0x3416a0-0x255,_0x53c151-_0x548ca7._0x5ba410,_0x51bd33,_0x3416a0-0xa7);}if(!_0x54c17e)return;function _0x34764a(_0x4fddfe,_0x4636e9,_0x2a3e88,_0x14fd98){return _0x3764a2(_0x2a3e88-0x27c,_0x4636e9-0x6c,_0x4fddfe,_0x14fd98-_0x35e141._0x1be258);}let _0x381cf5={};for(let [_0xa1dd85,_0x39ffe9]of Object['entries'](_0x54c17e)){let _0x14571d=_0x39ffe9;_0x14571d[_0x34764a(0x4f8,0x37c,_0x4eb066._0x4a8e85,_0x4eb066._0x1031ad)]&&(_0x381cf5[_0xa1dd85]={'type':_0x14571d[_0x40c477(_0x4eb066._0x1779b5,_0x4eb066._0x4f031a,0x473,_0x4eb066._0x2489e9)],'baseUrl':_0x14571d[_0x40c477(0x783,_0x4eb066._0x1831e3,_0x4eb066._0x417bc2,_0x4eb066._0xfd7593)],'models':_0x14571d[_0x34764a(_0x4eb066._0x2664b7,0x714,0x572,_0x4eb066._0x59d91c)],'customHeaders':_0x14571d[_0x40c477(0x310,0x43a,0x350,0x370)]});}return Object[_0x40c477(_0x4eb066._0xa353cc,0x307,_0x4eb066._0x377f91,_0x4eb066._0x54df06)](_0x381cf5)[_0x40c477(_0x4eb066._0x3996c4,0x3c3,0x66d,_0x4eb066._0x583066)]>0x0?_0x381cf5:void 0x0;}['getProviderConfig'](_0x425f3c){const _0x4af300={_0x351c15:0x739,_0x28fe00:0x37e,_0x57f119:0x426,_0x17de30:0x379,_0x515dd7:0x1f5,_0x1e1bd9:0x1cc,_0x4ee74a:0x297,_0x4ed554:0x53a,_0x3d3167:0x710,_0xdd0b04:0x18b,_0x20802d:0x29,_0x4a82e0:0x14f,_0x559e51:0x37,_0x1b9b68:0x375,_0x3df0a5:0x247,_0x209653:0xfb,_0x146954:0x452,_0x26bc7d:0x714,_0x34216a:0x8c5,_0x4fccd5:0x156,_0x8c7587:0x503,_0x5db51a:0x71e,_0x54afbd:0x96d,_0x52c0df:0x1bd,_0x427537:0x133,_0x2ac284:0x3cf},_0x58bf42={_0x3e021a:0xed,_0x5d98c0:0xa2},_0x2a4470={_0x4074da:0x95};function _0x414ed8(_0x59a5f2,_0x16e5c7,_0x5938ce,_0x40541d){return _0x3764a2(_0x59a5f2-_0x2a4470._0x4074da,_0x16e5c7-0xd3,_0x16e5c7,_0x40541d-0x62);}function _0x50efbf(_0x4c7bbc,_0x223dee,_0x35b9c7,_0x46b9b0){return _0x3764a2(_0x4c7bbc-0x610,_0x223dee-_0x58bf42._0x3e021a,_0x35b9c7,_0x46b9b0-_0x58bf42._0x5d98c0);}let _0x14555e=this[_0x50efbf(0x925,0x706,_0x4af300._0x351c15,0xa87)][_0x414ed8(_0x4af300._0x28fe00,_0x4af300._0x57f119,0x438,_0x4af300._0x17de30)]()[_0x414ed8(-0x36,_0x4af300._0x515dd7,-_0x4af300._0x1e1bd9,0x3d)]?.[_0x425f3c]?.[_0x414ed8(0x3e3,0x1a1,0x238,_0x4af300._0x4ee74a)],_0x46763f,_0x3a8f3b;if(Array[_0x50efbf(0x71e,_0x4af300._0x4ed554,0x8b6,_0x4af300._0x3d3167)](_0x14555e)){let _0x371e7e=_0x14555e[_0x414ed8(0xbd,-_0x4af300._0xdd0b04,_0x4af300._0x20802d,_0x4af300._0x4a82e0)](_0x2bd3c2=>_0x2bd3c2[_0x414ed8(0xe2,0x1bb,-0x1d,0xd7)]===_0x50efbf(0x7c2,0x836,0x7b7,0x8f1)),_0x1b7694=_0x14555e[_0x414ed8(0xbd,0xbb,0x77,-_0x4af300._0x559e51)](_0x2c25d1=>_0x2c25d1[_0x50efbf(0x65d,0x53b,0x433,0x427)]===_0x50efbf(0x855,0x9af,0x941,0x948));_0x371e7e&&_0x371e7e['type']===_0x414ed8(0x247,0x51,_0x4af300._0x1b9b68,0x36c)&&(_0x46763f=_0x371e7e[_0x414ed8(_0x4af300._0x3df0a5,0x158,_0x4af300._0x209653,_0x4af300._0x146954)]),_0x1b7694&&_0x1b7694[_0x50efbf(0x65d,0x4d1,0x5ab,0x4a9)]==='oauth'&&_0x425f3c===_0x50efbf(_0x4af300._0x26bc7d,_0x4af300._0x34216a,0x71b,0x6de)&&(_0x3a8f3b={'anthropic':{'type':_0x414ed8(0x2da,_0x4af300._0x4fccd5,0x25d,_0x4af300._0x8c7587),'access':_0x1b7694[_0x50efbf(0x93b,_0x4af300._0x5db51a,0x974,_0x4af300._0x54afbd)],'refresh':_0x1b7694[_0x414ed8(0x165,0xe5,_0x4af300._0x52c0df,_0x4af300._0x427537)],'expires':_0x1b7694[_0x50efbf(0x5f8,_0x4af300._0x2ac284,0x78f,0x758)]??0x0}});}return{'provider':_0x425f3c,'apiKey':_0x46763f,'oauthConfig':_0x3a8f3b};}['createLLM'](_0x64c4e7,_0x750bfa={}){const _0x4f7b79={_0x245350:0x6a6,_0x3e29bf:0x748,_0x3f3b11:0x450,_0x7f5b9a:0x5c5,_0xf936f2:0x5fd,_0x53fadd:0x825,_0x18b278:0x91f,_0x530211:0x7b7,_0x194b15:0x7cd,_0x3772be:0x633,_0x4a7ddc:0x6b9,_0x44a91f:0x8a2,_0x3c13f7:0x85c,_0x138520:0x7e8,_0x532e8a:0x79b,_0x257ee3:0x8c4,_0x11c117:0x8d2,_0x18399a:0x935,_0x1da242:0x9df,_0x128f8b:0x872,_0x3172c5:0x8c5,_0x32c442:0x67b,_0x1bed01:0x729,_0x26fd2b:0x94c,_0x461a89:0x7f3,_0x5b5b13:0x8a2,_0x15fa6c:0x872},_0x43ae94={_0x193665:0x7f5,_0x917d2e:0x5e6,_0x34d257:0x7ca,_0x528bd9:0x675,_0x5980cb:0x541,_0x143204:0x49c,_0x123d87:0x734,_0x44fec8:0x842,_0x88db:0x62b,_0x108c76:0xf8,_0x5d7a31:0xb1,_0x4924d6:0xaa,_0x38a5ed:0x493,_0x2a48b4:0x63b,_0x463f8b:0x33f,_0x2d541e:0x9d0,_0x1712c6:0x7e0,_0x3a13a6:0x89e,_0x2261c3:0x311,_0x24129e:0x5eb,_0x55627c:0x3bf,_0x20b41f:0x5f4,_0x3784b2:0x2f9},_0x158e97={_0x2317a9:0xa0},_0x4d86ed={_0x15cc78:0x1e7},_0x17e140={_0x39ec5a:0x85},_0x200bb8={_0x23b93e:0xca,_0x2ab863:0x3a,_0xf2e74:0xbb};function _0x5a8e3c(_0x33a4a9,_0x401f7b,_0x40c61f,_0x5a53ea){return _0x5a69d4(_0x33a4a9-_0x200bb8._0x23b93e,_0x40c61f-_0x200bb8._0x2ab863,_0x5a53ea,_0x5a53ea-_0x200bb8._0xf2e74);}function _0x45b446(_0x5bc7bd,_0x455929,_0x317bd2,_0x54a1d7){return _0x5a69d4(_0x5bc7bd-_0x17e140._0x39ec5a,_0x54a1d7-0x6a,_0x317bd2,_0x54a1d7-0xe5);}let _0x45970b=this[_0x5a8e3c(0xa13,_0x4f7b79._0x245350,0x881,0x949)](_0x64c4e7),_0x1c1f83=this[_0x5a8e3c(_0x4f7b79._0x3e29bf,0x718,0x5d5,_0x4f7b79._0x3f3b11)](),_0x22f3f9={...ol,..._0x750bfa[_0x45b446(_0x4f7b79._0x7f5b9a,0x874,0x6a0,0x7f5)]};switch(_0x64c4e7){case _0x45b446(0x83b,0x53e,0x718,_0x4f7b79._0xf936f2):case _0x5a8e3c(_0x4f7b79._0x53fadd,0xa02,0x80a,_0x4f7b79._0x18b278):case _0x45b446(0x5a2,0x414,0x47a,0x5ef):case _0x5a8e3c(0x6df,_0x4f7b79._0x530211,_0x4f7b79._0x194b15,_0x4f7b79._0x3772be):return _0x3a4c2b(_0x64c4e7,{'apiKey':_0x45970b[_0x5a8e3c(0xad3,_0x4f7b79._0x4a7ddc,_0x4f7b79._0x44a91f,0x833)],'httpLogFile':_0x750bfa[_0x45b446(_0x4f7b79._0x3c13f7,0x9a7,_0x4f7b79._0x138520,0x8a2)],'version':_0x4da7ca(),'retry':_0x22f3f9},_0x1c1f83);case _0x45b446(0x898,0x7b5,0x6dd,_0x4f7b79._0x532e8a):return new _0x2f1118({'accessToken':_0x45970b[_0x45b446(0xa1c,_0x4f7b79._0x257ee3,0x8f4,_0x4f7b79._0x11c117)],'httpLogFile':_0x750bfa[_0x5a8e3c(_0x4f7b79._0x18399a,_0x4f7b79._0x1da242,_0x4f7b79._0x128f8b,0x6d8)],'retry':_0x22f3f9});case _0x5a8e3c(0x4ba,0x85c,0x659,0x4dc):return new _0x276620({'apiKey':_0x45970b[_0x5a8e3c(0x850,_0x4f7b79._0x3172c5,_0x4f7b79._0x44a91f,_0x4f7b79._0x32c442)],'oauth':_0x45970b['oauthConfig']?.['anthropic'],'httpLogFile':_0x750bfa[_0x5a8e3c(_0x4f7b79._0x1bed01,_0x4f7b79._0x26fd2b,0x872,0x92d)],'onTokenUpdate':async _0x39e9c0=>{let _0x4f6070=(this[_0x5c7aaa(_0x43ae94._0x193665,_0x43ae94._0x917d2e,_0x43ae94._0x34d257,_0x43ae94._0x528bd9)]['get'](_0x5c7aaa(_0x43ae94._0x5980cb,0x5dc,0x508,_0x43ae94._0x143204))||[])[_0x5c7aaa(0x82f,_0x43ae94._0x123d87,_0x43ae94._0x44fec8,_0x43ae94._0x88db)](_0x3b6aec=>_0x3b6aec[_0x5c7aaa(0x68f,0x3a1,0x502,0x6d7)]===_0x5c7aaa(0x916,0x899,0x6fa,0x888)?{'type':_0x256da0(0x33f,0x529,0x140,0x2cd),'access':_0x39e9c0[_0x5c7aaa(0x629,0x9dc,0x7e0,0x6b5)],'refresh':_0x39e9c0[_0x256da0(0x1ca,0x1c9,0x27d,0x2e)],'expires':_0x39e9c0[_0x256da0(0xe2,0x314,0x1ea,-0xb8)]}:_0x3b6aec);function _0x256da0(_0x238229,_0x534e25,_0xc83912,_0x7d0346){return _0x45b446(_0x238229-_0x4d86ed._0x15cc78,_0x534e25-0xdf,_0xc83912,_0x238229- -0x48b);}function _0x5c7aaa(_0x39db82,_0x9b51bf,_0x5aa18d,_0x2deeb5){return _0x5a8e3c(_0x39db82-0x17a,_0x9b51bf-0x124,_0x5aa18d- -_0x158e97._0x2317a9,_0x9b51bf);}_0x4f6070[_0x256da0(_0x43ae94._0x108c76,_0x43ae94._0x5d7a31,0x343,_0x43ae94._0x4924d6)](_0x33df60=>_0x33df60[_0x5c7aaa(0x596,0x2df,0x502,0x47e)]==='oauth')||_0x4f6070[_0x5c7aaa(0x3fd,_0x43ae94._0x38a5ed,0x52c,_0x43ae94._0x2a48b4)]({'type':_0x256da0(_0x43ae94._0x463f8b,0x52a,0x4df,0x181),'access':_0x39e9c0[_0x5c7aaa(0x6c8,_0x43ae94._0x2d541e,_0x43ae94._0x1712c6,_0x43ae94._0x3a13a6)],'refresh':_0x39e9c0['refresh'],'expires':_0x39e9c0[_0x5c7aaa(_0x43ae94._0x2261c3,0x4ff,0x49d,0x319)]}),await this[_0x5c7aaa(0x767,_0x43ae94._0x24129e,0x7ca,0x73a)][_0x5c7aaa(0x6e9,_0x43ae94._0x55627c,0x5f8,0x6cc)](_0x5c7aaa(0x5e4,_0x43ae94._0x20b41f,0x508,0x622),_0x4f6070,_0x256da0(0xcb,_0x43ae94._0x3784b2,0x2d1,0x151));}});default:return _0x3a4c2b(_0x64c4e7,{'apiKey':_0x45970b[_0x5a8e3c(0x946,_0x4f7b79._0x461a89,_0x4f7b79._0x5b5b13,0x79a)],'httpLogFile':_0x750bfa[_0x5a8e3c(0x9df,0x76f,_0x4f7b79._0x15fa6c,0x752)],'version':_0x4da7ca(),'retry':_0x22f3f9},_0x1c1f83);}}async[_0x5a69d4(0x921,0x71c,0x548,0x788)](_0xe508cc,_0x45202c){const _0x16064c={_0x4fa661:0x5c6,_0x11cac6:0x2bb,_0x57d9b5:0x411,_0x25b281:0x4e8,_0x29b1f0:0x5df,_0x3e05e4:0x6f7,_0x172c42:0x48d,_0x99392d:0x14c,_0x5b03dc:0x76,_0x559d94:0x1c4,_0x5b5afd:0x18d,_0x73a2c4:0x509,_0x156e73:0x4ff,_0x3f08a9:0x2a6,_0x2cd0e2:0x277,_0x5a6bfd:0x105,_0x37e47f:0x382,_0x56be04:0x5ea,_0x15338e:0xb3,_0x49adaf:0x46,_0x3c7054:0x27f},_0x473636={_0x1ebdc1:0x10e,_0x43ea99:0x1c2},_0x427941={_0x3b2bcf:0x1b5};let _0x1ebb7d=this['getCustomProviders']();function _0x539307(_0x311037,_0x5bcb91,_0x2b6683,_0x409c0c){return _0x5a69d4(_0x311037-_0x427941._0x3b2bcf,_0x2b6683- -0x35f,_0x5bcb91,_0x409c0c-0x1c1);}if(!_0x45098a(_0xe508cc,_0x1ebb7d)&&!(_0xe508cc===_0x539307(0x290,_0x16064c._0x4fa661,0x3d2,0x2c1))&&!(_0xe508cc==='anthropic'))return[];let _0x574dfd=this[_0x539307(_0x16064c._0x11cac6,_0x16064c._0x57d9b5,_0x16064c._0x25b281,0x5af)](_0xe508cc);if(!_0x574dfd[_0x539307(0x693,_0x16064c._0x29b1f0,0x509,_0x16064c._0x3e05e4)]&&!_0x574dfd[_0x539307(0x244,0x5d7,_0x16064c._0x172c42,0x29a)]?.['anthropic']&&_0xe508cc!==_0x361808(-0x230,-_0x16064c._0x99392d,-0xa,-_0x16064c._0x5b03dc))throw new Error(_0xe508cc+_0x361808(-_0x16064c._0x559d94,-0x1f9,-0x17,_0x16064c._0x5b5afd));if(_0xe508cc==='anthropic'&&!_0x574dfd[_0x539307(0x4a5,0x451,_0x16064c._0x73a2c4,0x4a2)]&&!_0x574dfd['oauthConfig']?.[_0x539307(_0x16064c._0x156e73,0x38d,0x2c0,0x171)])throw new Error(_0xe508cc+'\x20authentication\x20not\x20configured.\x20Please\x20run\x20/auth\x20first.');function _0x361808(_0x582ed5,_0x5f487f,_0x380686,_0x7a3084){return _0x3764a2(_0x380686- -_0x473636._0x1ebdc1,_0x5f487f-0x143,_0x7a3084,_0x7a3084-_0x473636._0x43ea99);}let _0x2782e5=this[_0x361808(0x210,_0x16064c._0x3f08a9,_0x16064c._0x2cd0e2,_0x16064c._0x5a6bfd)](_0xe508cc);return _0x2782e5?.['getModels']?(await _0x2782e5[_0x539307(0x276,_0x16064c._0x37e47f,0x3bd,_0x16064c._0x56be04)](_0x45202c))[_0x361808(_0x16064c._0x15338e,_0x16064c._0x49adaf,_0x16064c._0x3c7054,0x17f)](_0x2d45fb=>_0x2d45fb['id']):[];}};import{getFallbackLimits as _0x195f82}from'@nuvin/nuvin-core';var Sr=class{constructor(){const _0x55c381={_0x3c9da6:0x1e1,_0x131b6a:0xe9,_0x421737:0x116,_0x163fbf:0x219},_0x345f16={_0x371c5e:0x179,_0x201652:0x74,_0x3678c4:0xed};this[_0x8ac610(_0x55c381._0x3c9da6,_0x55c381._0x131b6a,_0x55c381._0x421737,_0x55c381._0x163fbf)]=new Map();function _0x8ac610(_0x476ad5,_0x5bd939,_0x5896b0,_0x54d010){return _0x3764a2(_0x476ad5-_0x345f16._0x371c5e,_0x5bd939-_0x345f16._0x201652,_0x54d010,_0x54d010-_0x345f16._0x3678c4);}function _0x46441b(_0x276609,_0x114fa0,_0x56687d,_0x239b47){return _0x5a69d4(_0x276609-0x1d7,_0x276609- -0x462,_0x239b47,_0x239b47-0x14c);}this[_0x46441b(0x366,0x264,0x47e,0x1ae)]=new Map();}async['getLimit'](_0x4c8fa6,_0x3cecc1,_0x24f596){const _0x2f946e={_0x26745c:0x65b,_0x210a2d:0x467,_0x2a7f19:0x16b,_0xa0f485:0x373,_0x2ad54a:0x269,_0x3ec9c8:0xb9,_0x3d8154:0x98,_0x49684c:0x89c,_0x42acc9:0x3b8,_0x301c98:0x4e7,_0xa81ddd:0x4df,_0x6e7f44:0x507,_0x1cbfc9:0x6ac,_0x4b1a7c:0x398,_0x4dd065:0x57e,_0xa0c1a1:0x3b5,_0x261b3c:0x143,_0x685fa2:0x331,_0xcc5dfe:0x450,_0x3bc6a4:0x21d,_0x28c060:0x3e9,_0x2001cb:0x542},_0x10bab6={_0x3b2acc:0x11c,_0x3ce5ee:0xd1},_0xbe5211={_0x59c1c2:0x366};let _0xbf9c46=_0x4c8fa6+':'+_0x3cecc1,_0x3260be=this[_0x3a20d0(_0x2f946e._0x26745c,0x290,0x658,_0x2f946e._0x210a2d)][_0x52e88b(0x3a4,0x18f,_0x2f946e._0x2a7f19,0xd3)](_0xbf9c46);if(_0x3260be)return _0x3260be;function _0x52e88b(_0x4e0449,_0x2de55b,_0x26e495,_0x41ff7c){return _0x5a69d4(_0x4e0449-0xd5,_0x26e495- -_0xbe5211._0x59c1c2,_0x2de55b,_0x41ff7c-0x13b);}if(_0x24f596){let _0x442ee=_0x4c8fa6;if(!this[_0x52e88b(0x56f,_0x2f946e._0xa0f485,0x462,_0x2f946e._0x2ad54a)]['has'](_0x442ee)){let _0x873235=this[_0x52e88b(0xff,_0x2f946e._0x3ec9c8,0x280,_0x2f946e._0x3d8154)](_0x4c8fa6,_0x24f596);this[_0x3a20d0(_0x2f946e._0x49684c,0x776,0x4cd,0x6ac)][_0x3a20d0(_0x2f946e._0x42acc9,0x3ce,_0x2f946e._0x301c98,0x542)](_0x442ee,_0x873235);}try{await this[_0x3a20d0(_0x2f946e._0xa81ddd,_0x2f946e._0x6e7f44,0x821,_0x2f946e._0x1cbfc9)][_0x3a20d0(_0x2f946e._0x4b1a7c,_0x2f946e._0x4dd065,0x56e,_0x2f946e._0xa0c1a1)](_0x442ee);let _0x58fe61=this['cache'][_0x52e88b(-0x9b,0x1e7,0x16b,_0x2f946e._0x261b3c)](_0xbf9c46);if(_0x58fe61)return _0x58fe61;}catch{}}function _0x3a20d0(_0x55074d,_0x4cae72,_0x3cf5d4,_0x49542e){return _0x5a69d4(_0x55074d-0x1a0,_0x49542e- -_0x10bab6._0x3b2acc,_0x55074d,_0x49542e-_0x10bab6._0x3ce5ee);}let _0x139238=_0x195f82(_0x4c8fa6,_0x3cecc1);return _0x139238&&this[_0x52e88b(_0x2f946e._0x685fa2,_0x2f946e._0xcc5dfe,_0x2f946e._0x3bc6a4,0x4d)][_0x3a20d0(0x380,_0x2f946e._0x28c060,0x550,_0x2f946e._0x2001cb)](_0xbf9c46,_0x139238),_0x139238;}async[_0x3764a2(0xcb,0x1e6,0x165,0x25e)](_0x2f35e9,_0x1ec20e){const _0x21c063={_0x3c020f:0x123,_0x2f8778:0x286,_0x51e5ce:0x221,_0x28f13f:0x111,_0x552e3f:0xad},_0x1e8cc1={_0x1487cd:0x17,_0x5ab6ee:0x16a},_0x5ca0fc={_0x48b08b:0xbb,_0x489a14:0x20};function _0x24a3af(_0x21963f,_0x4df6ce,_0x4a470a,_0x548e42){return _0x3764a2(_0x4df6ce-_0x5ca0fc._0x48b08b,_0x4df6ce-_0x5ca0fc._0x489a14,_0x21963f,_0x548e42-0xd8);}function _0x2c9c45(_0x3e7b38,_0xba0400,_0x299083,_0x1f0c0a){return _0x3764a2(_0x3e7b38- -_0x1e8cc1._0x1487cd,_0xba0400-_0x1e8cc1._0x5ab6ee,_0x1f0c0a,_0x1f0c0a-0x186);}try{let _0x334e5e=await _0x1ec20e();if(_0x334e5e){for(let _0x2c31dc of _0x334e5e)_0x2c31dc['limits']&&this[_0x24a3af(0x27f,_0x21c063._0x3c020f,_0x21c063._0x2f8778,_0x21c063._0x51e5ce)][_0x2c9c45(0x12c,0x12b,-_0x21c063._0x28f13f,-0x66)](_0x2f35e9+':'+_0x2c31dc['id'],_0x2c31dc[_0x2c9c45(0xde,_0x21c063._0x552e3f,0x129,0x2d0)]);}}catch{}}['has'](_0x1e8789,_0x8d395){const _0x4be020={_0x5e204a:0x1c6,_0x18bb44:0x2f9,_0x1f264e:0x284},_0x2db5c9={_0x14ef08:0x22c},_0x41c8ea={_0x4b234c:0x15e,_0x438ddf:0x60,_0x383579:0x9b};function _0x2c078a(_0x1a0ce3,_0x1ebfeb,_0x2a09f8,_0x47ac47){return _0x3764a2(_0x1ebfeb-_0x41c8ea._0x4b234c,_0x1ebfeb-_0x41c8ea._0x438ddf,_0x2a09f8,_0x47ac47-_0x41c8ea._0x383579);}function _0x35db2b(_0x3e0e6e,_0x2ebc91,_0x38c9d9,_0x4f0ecc){return _0x5a69d4(_0x3e0e6e-0x72,_0x4f0ecc- -_0x2db5c9._0x14ef08,_0x2ebc91,_0x4f0ecc-0x81);}return this[_0x2c078a(0x376,_0x4be020._0x5e204a,0x20d,_0x4be020._0x18bb44)][_0x2c078a(0x12c,0x2ad,_0x4be020._0x1f264e,0x4b5)](_0x1e8789+':'+_0x8d395);}[_0x3764a2(0x143,0x87,-0x105,0x2ef)](_0x75012b,_0x1b7618,_0x4eabc5){const _0x4af283={_0x413ae5:0x4de},_0x5b197d={_0x4bd186:0x665};function _0x3fc620(_0xa3d604,_0x3d5b65,_0x229c23,_0x27d52a){return _0x3764a2(_0x27d52a-_0x5b197d._0x4bd186,_0x3d5b65-0x185,_0x229c23,_0x27d52a-0x44);}this[_0x3fc620(0x66c,0x4ae,_0x4af283._0x413ae5,0x6cd)]['set'](_0x75012b+':'+_0x1b7618,_0x4eabc5);}[_0x3764a2(0x24,0xa5,0x31,0x15f)](){const _0x459cd5={_0x2a7302:0x4f5,_0x1e433f:0x65d,_0x54b640:0x44f,_0x4f96bf:0x6c6,_0x2b0f79:0x63c,_0x533805:0x9b2,_0x48f93b:0x4e8,_0x5510b2:0x613},_0xa98ad4={_0xcbf4d9:0xda};function _0x193556(_0x4c8304,_0x3e4950,_0x44e158,_0x5173c3){return _0x5a69d4(_0x4c8304-0x23,_0x3e4950-_0xa98ad4._0xcbf4d9,_0x5173c3,_0x5173c3-0xba);}function _0x1d1317(_0x3058d9,_0x30955d,_0x83ddac,_0x22cd77){return _0x3764a2(_0x3058d9-0x4c4,_0x30955d-0x97,_0x22cd77,_0x22cd77-0x79);}this[_0x193556(_0x459cd5._0x2a7302,_0x459cd5._0x1e433f,_0x459cd5._0x54b640,_0x459cd5._0x4f96bf)]['clear'](),this[_0x1d1317(0x771,_0x459cd5._0x2b0f79,0x843,_0x459cd5._0x533805)][_0x1d1317(_0x459cd5._0x48f93b,0x40f,_0x459cd5._0x5510b2,0x645)]();}},Co=new Sr();import{InMemoryMetricsPort as _0x54342c,createEmptySnapshot as _0x5cc0e9}from'@nuvin/nuvin-core';var Mr=class{constructor(){const _0x2039b4={_0x6355c1:0x3a0,_0x5eda27:0x4f9,_0x41409f:0x29b},_0x282a66={_0x18d66b:0xe4,_0x3d8f72:0x160},_0x3f07e7={_0x3367bb:0x169,_0x227382:0x71};function _0x3e30f0(_0x217299,_0x10bd3d,_0x21b38c,_0x4fc208){return _0x5a69d4(_0x217299-_0x3f07e7._0x3367bb,_0x10bd3d-_0x3f07e7._0x227382,_0x4fc208,_0x4fc208-0xce);}this[_0x3e30f0(_0x2039b4._0x6355c1,0x4b6,0x62d,0x5e5)]=new Map();function _0x4e2cd6(_0x1c5b83,_0x1f3022,_0x45e210,_0x5be9a2){return _0x5a69d4(_0x1c5b83-_0x282a66._0x18d66b,_0x45e210- -0x300,_0x1f3022,_0x5be9a2-_0x282a66._0x3d8f72);}this[_0x4e2cd6(_0x2039b4._0x5eda27,0x46d,0x3fb,_0x2039b4._0x41409f)]=new Set();}['getOrCreatePort'](_0x5c1dd6){const _0x59d7ff={_0x50431a:0x611,_0x32cacb:0x564,_0x4b4f88:0x751,_0x4191e9:0x970,_0x4578d0:0x676,_0xd9b162:0x528,_0x1e523c:0x43a,_0x36c0a1:0x67a,_0x4757e4:0x692,_0x359626:0x77d},_0x5471c4={_0x244223:0xf9},_0x2cbebe={_0x2abf28:0x63a,_0x3f7342:0x156};if(this[_0xcc2bf7(0x7a6,0x4bb,_0x59d7ff._0x50431a,_0x59d7ff._0x32cacb)][_0x128cd6(0x74d,0x76c,_0x59d7ff._0x4b4f88,_0x59d7ff._0x4191e9)](_0x5c1dd6))return this[_0xcc2bf7(0x436,_0x59d7ff._0x4578d0,0x3a6,0x564)]['get'](_0x5c1dd6);function _0xcc2bf7(_0x2908ae,_0x240bbf,_0x14618b,_0x16961c){return _0x3764a2(_0x16961c-_0x2cbebe._0x2abf28,_0x240bbf-_0x2cbebe._0x3f7342,_0x2908ae,_0x16961c-0x88);}function _0x128cd6(_0x7b174d,_0x270491,_0x3b582d,_0x8a71f3){return _0x3764a2(_0x7b174d-0x5fe,_0x270491-0xb0,_0x270491,_0x8a71f3-_0x5471c4._0x244223);}let _0x2c70e0=new _0x54342c(_0x366f0c=>{const _0x39af86={_0xfec7b4:0x128,_0x535cbe:0x628};function _0x76c9b3(_0x7b2f4e,_0x368e76,_0x4e66eb,_0x39a025){return _0xcc2bf7(_0x39a025,_0x368e76-0x146,_0x4e66eb-_0x39af86._0xfec7b4,_0x7b2f4e- -_0x39af86._0x535cbe);}this[_0x76c9b3(0xa,0x29,-0x43,-0x218)](_0x5c1dd6,_0x366f0c);});return this[_0x128cd6(_0x59d7ff._0xd9b162,0x6f4,0x594,_0x59d7ff._0x1e523c)][_0xcc2bf7(_0x59d7ff._0x36c0a1,_0x59d7ff._0x4757e4,0x885,_0x59d7ff._0x359626)](_0x5c1dd6,_0x2c70e0),_0x2c70e0;}[_0x3764a2(-0x8,0xe6,-0x17b,-0x52)](_0x3e21ff,_0x241740){const _0xa2fdc8={_0x1345a0:0x2d1,_0x339968:0x96,_0x26a5b3:0x73},_0x5ee8f4={_0x5312a4:0x14a,_0x488c06:0x15};function _0x53a315(_0xf519d1,_0x4f3328,_0x6e2c8a,_0x577496){return _0x3764a2(_0x6e2c8a- -_0x5ee8f4._0x5312a4,_0x4f3328-0x14f,_0xf519d1,_0x577496-_0x5ee8f4._0x488c06);}for(let _0x55797a of this[_0x53a315(0x10e,_0xa2fdc8._0x1345a0,_0xa2fdc8._0x339968,-_0xa2fdc8._0x26a5b3)])try{_0x55797a(_0x3e21ff,_0x241740);}catch{}}[_0x5a69d4(0x706,0x622,0x7c6,0x4a4)](_0x3ecc5a,_0x28f8b3,_0x30df5d){const _0x39db9c={_0x1a434c:0x5ec,_0x50d610:0x546};function _0xe9620d(_0x29f87d,_0x30c436,_0x4c8d54,_0x222c34){return _0x3764a2(_0x29f87d-0x4e5,_0x30c436-0x18d,_0x4c8d54,_0x222c34-0x187);}this['getOrCreatePort'](_0x3ecc5a)[_0xe9620d(_0x39db9c._0x1a434c,0x518,_0x39db9c._0x50d610,0x57f)](_0x28f8b3,_0x30df5d);}[_0x5a69d4(0x8c1,0x88d,0x9e5,0x872)](_0x113113){const _0x502bd7={_0x3c1a08:0x854,_0x4378a1:0x646},_0x286ef0={_0x426de2:0x247,_0x34882f:0x1f4};function _0x4deb10(_0x9e8289,_0x5bac39,_0x5bea3a,_0x248e14){return _0x5a69d4(_0x9e8289-0x119,_0x248e14- -_0x286ef0._0x426de2,_0x5bac39,_0x248e14-_0x286ef0._0x34882f);}this['getOrCreatePort'](_0x113113)[_0x4deb10(_0x502bd7._0x3c1a08,0x464,0x5f1,_0x502bd7._0x4378a1)]();}[_0x5a69d4(0x3a3,0x53c,0x6ed,0x6d0)](_0x4dc053,_0x2d0b58){const _0x3e98fe={_0x5164f0:0x5c7},_0x19dd3d={_0x1beadf:0x1bd};function _0x2e4b35(_0x24d97d,_0x577178,_0x5c224d,_0x2eb00a){return _0x5a69d4(_0x24d97d-_0x19dd3d._0x1beadf,_0x2eb00a-0x8b,_0x24d97d,_0x2eb00a-0x144);}this['getOrCreatePort'](_0x4dc053)[_0x2e4b35(0x402,0x589,0x6ed,_0x3e98fe._0x5164f0)](_0x2d0b58);}[_0x3764a2(0x9c,0x2ba,0x1f,-0x58)](_0x1636ac,_0x52d4db,_0xa0fdcf){const _0x237b17={_0x2cce15:0x1d7,_0x4bbb16:0x337,_0x35a8da:0x37e,_0x2c7bdc:0x3b3},_0x110eeb={_0x4134d1:0x133,_0x277aa2:0x14,_0x33a749:0x6a},_0x68fa78={_0x2e680a:0x7c};function _0x5bd1cf(_0x148e0f,_0x55e7d9,_0x2ba0ad,_0x263330){return _0x5a69d4(_0x148e0f-0x143,_0x148e0f- -0x18e,_0x2ba0ad,_0x263330-_0x68fa78._0x2e680a);}function _0x7fdfde(_0x524bff,_0x2cc378,_0x6405ab,_0x2b8156){return _0x5a69d4(_0x524bff-_0x110eeb._0x4134d1,_0x524bff- -_0x110eeb._0x277aa2,_0x2b8156,_0x2b8156-_0x110eeb._0x33a749);}this[_0x5bd1cf(0x3bc,_0x237b17._0x2cce15,_0x237b17._0x4bbb16,0x33c)](_0x1636ac)[_0x7fdfde(0x5a3,_0x237b17._0x35a8da,_0x237b17._0x2c7bdc,0x56f)](_0x52d4db,_0xa0fdcf);}[_0x5a69d4(0x254,0x494,0x279,0x5e8)](_0x3e2c95){const _0x84c65e={_0x998ebe:0x14,_0x245b60:0xfd,_0x1632af:0x135,_0x39f413:0x31f,_0x2eeb5b:0x43,_0x2f33f5:0x139},_0xe37c03={_0x135d10:0xa2},_0xa89fb0={_0x449c9f:0x85};let _0x1a56af=this[_0x82277f(_0x84c65e._0x998ebe,0x86,-0x13b,0xad)][_0x4176b7(_0x84c65e._0x245b60,_0x84c65e._0x1632af,0x166,0x296)](_0x3e2c95);function _0x82277f(_0x2ec695,_0x340a55,_0xf9d8ae,_0x15821b){return _0x3764a2(_0xf9d8ae- -0x65,_0x340a55-0xec,_0x340a55,_0x15821b-_0xa89fb0._0x449c9f);}function _0x4176b7(_0xd5876,_0x368a9d,_0x2dc341,_0x58169c){return _0x5a69d4(_0xd5876-0x82,_0x368a9d- -0x39c,_0x58169c,_0x58169c-_0xe37c03._0x135d10);}_0x1a56af&&(_0x1a56af[_0x82277f(-_0x84c65e._0x39f413,0x9c,-0xec,-0x81)](),this[_0x82277f(_0x84c65e._0x2eeb5b,_0x84c65e._0x2f33f5,-0x6d,-0x242)](_0x3e2c95,_0x5cc0e9()));}[_0x3764a2(0x10b,0x265,0x8c,-0x102)](_0x164ab3){const _0x233500={_0x1c6913:0x1b2,_0x3ff597:0x10,_0x16e86b:0x99},_0x14e801={_0x27f6af:0x9a,_0x336c43:0x19a},_0x356bb0={_0x35a272:0xa2,_0x44e4ee:0x59,_0x38dd96:0x1a9};function _0xe03380(_0x44cbeb,_0x5e5578,_0x6c10a8,_0x2a587f){return _0x5a69d4(_0x44cbeb-_0x356bb0._0x35a272,_0x2a587f-_0x356bb0._0x44e4ee,_0x6c10a8,_0x2a587f-_0x356bb0._0x38dd96);}let _0x184ffc=this['ports'][_0x32caf0(_0x233500._0x1c6913,0xc7,-_0x233500._0x3ff597,_0x233500._0x16e86b)](_0x164ab3);function _0x32caf0(_0x7a9f22,_0x23638f,_0x1ad2d9,_0xe408cb){return _0x5a69d4(_0x7a9f22-_0x14e801._0x27f6af,_0x1ad2d9- -0x4e1,_0x23638f,_0xe408cb-_0x14e801._0x336c43);}return _0x184ffc?_0x184ffc[_0xe03380(0x480,0x531,0x4a5,0x67f)]():_0x5cc0e9();}[_0x3764a2(0x183,0x7e,0x218,0x1ae)](_0x2e50bd){const _0x4e72a0={_0x558640:0x67b,_0x365d9c:0x43d},_0x2a7ec4={_0x4a27d6:0x4a9,_0x4f2792:0x99},_0x3913dd={_0x4cef0b:0x1f3,_0x459a11:0x130};function _0x35fd09(_0x488c35,_0x3ecf8e,_0x10bdee,_0xd4288){return _0x5a69d4(_0x488c35-_0x3913dd._0x4cef0b,_0x488c35-_0x3913dd._0x459a11,_0xd4288,_0xd4288-0x187);}function _0x16f79a(_0x12d1c0,_0x404b08,_0x372059,_0x37efd7){return _0x3764a2(_0x404b08-_0x2a7ec4._0x4a27d6,_0x404b08-_0x2a7ec4._0x4f2792,_0x37efd7,_0x37efd7-0xa0);}return this['subscribers'][_0x16f79a(_0x4e72a0._0x558640,_0x4e72a0._0x365d9c,0x3fa,0x27b)](_0x2e50bd),()=>this[_0x35fd09(0x82b,0x701,0x5fb,0xa60)][_0x35fd09(0x707,0x513,0x4d3,0x905)](_0x2e50bd);}[_0x5a69d4(0x89b,0x6c8,0x4b0,0x775)](_0x5ad2d4){const _0x577c7d={_0x2b71ec:0x1eb,_0x197567:0x26a,_0x4ce76c:0x225},_0x20d527={_0x2cabfd:0x1e6};function _0x53406e(_0x4cd77e,_0x10a919,_0x4dea30,_0x4d567a){return _0x3764a2(_0x10a919-0x226,_0x10a919-0x105,_0x4cd77e,_0x4d567a-0x144);}function _0x4ad043(_0x2a5b0d,_0x5e9a50,_0x163ae8,_0x2ca99b){return _0x5a69d4(_0x2a5b0d-_0x20d527._0x2cabfd,_0x2a5b0d- -0x510,_0x5e9a50,_0x2ca99b-0x19c);}this[_0x4ad043(_0x577c7d._0x2b71ec,0x374,-0x28,_0x577c7d._0x197567)][_0x53406e(0x4ba,0x2e2,_0x577c7d._0x4ce76c,0x149)](_0x5ad2d4);}},He=new Mr(),bl={'openrouter':_0x5a69d4(0x76a,0x5a7,0x604,0x647),'deepinfra':_0x5a69d4(0x51a,0x60b,0x561,0x449),'github':_0x3764a2(0x36f,0x40c,0x537,0x13f),'zai':'glm-4.5','anthropic':_0x3764a2(-0x44,-0xfe,0x7c,-0x16c),'moonshot':_0x5a69d4(0x4b5,0x662,0x89b,0x42d)},Kt=[_0x5a69d4(0x6db,0x755,0x977,0x5e0),_0x3764a2(0x15a,0x2a2,0x23f,-0x66),_0x3764a2(0x2fb,0x4f0,0xcf,0x326),_0x5a69d4(0x3ef,0x488,0x6ae,0x43f),_0x3764a2(-0x8d,-0x37,-0x1c9,0xd0),'todo_write',_0x3764a2(0x123,0x19e,0x2d9,0x303),_0x3764a2(0x290,0x274,0x1ec,0x28a),_0x3764a2(0x19,0x212,0xc6,-0x113)],It=class{constructor(_0x4cdb92,_0x1883fc){const _0x29160b={_0x352065:0x39d,_0x152600:0x472,_0x1654ff:0x1f0,_0x94876a:0x375,_0x36e8f2:0x22f,_0xc7c6ab:0x2e3},_0x5530b9={_0x17d229:0x26,_0x501d66:0x242},_0x2d0a72={_0x2b06ed:0x11a,_0x2501e2:0x19d};function _0x34921f(_0xfb2f8e,_0x894a37,_0x3ffcfb,_0x1959d8){return _0x3764a2(_0x1959d8-0x4a7,_0x894a37-_0x2d0a72._0x2b06ed,_0x3ffcfb,_0x1959d8-_0x2d0a72._0x2501e2);}this[_0x1e09bd(_0x29160b._0x352065,0x613,0x3a5,_0x29160b._0x152600)]=_0x4cdb92;function _0x1e09bd(_0x5815be,_0x2417c3,_0xa2c563,_0xae69a){return _0x5a69d4(_0x5815be-_0x5530b9._0x17d229,_0xae69a- -_0x5530b9._0x501d66,_0x5815be,_0xae69a-0x182);}this[_0x1e09bd(_0x29160b._0x1654ff,_0x29160b._0x94876a,_0x29160b._0x36e8f2,_0x29160b._0xc7c6ab)]=_0x1883fc;}[_0x3764a2(0x107,0x30a,-0x93,0xc3)](_0x4f278e,_0x1f63bf){const _0x5b0bb6={_0x22accb:0x392,_0x45312b:0xaf,_0x59769a:0x196,_0x4aead6:0x17c,_0x57eced:0x30e,_0x2f3cce:0x293,_0x3a7e18:0x5bb},_0x160e07={_0x65858c:0x38f,_0x1c1cb3:0x95},_0x4a45f6={_0x598162:0x38};function _0x205c45(_0x2d57ed,_0x7dcff6,_0xd349db,_0x1b06a1){return _0x5a69d4(_0x2d57ed-_0x4a45f6._0x598162,_0xd349db- -0xf9,_0x2d57ed,_0x1b06a1-0x24);}function _0x268bcb(_0x455c0e,_0x1ccae7,_0x3f1c31,_0x175888){return _0x5a69d4(_0x455c0e-0x140,_0x175888- -_0x160e07._0x65858c,_0x3f1c31,_0x175888-_0x160e07._0x1c1cb3);}this[_0x268bcb(0x4f,_0x5b0bb6._0x22accb,-_0x5b0bb6._0x45312b,_0x5b0bb6._0x59769a)][_0x268bcb(0x385,_0x5b0bb6._0x4aead6,_0x5b0bb6._0x57eced,_0x5b0bb6._0x2f3cce)](this[_0x205c45(0x6c4,0x39c,_0x5b0bb6._0x3a7e18,0x723)],_0x4f278e,_0x1f63bf);}[_0x3764a2(0x372,0x5b7,0x2ce,0x372)](){const _0x490e76={_0x40b3e3:0x11d,_0x41a88c:0x65},_0x7f8586={_0x1ce494:0x1ef};function _0x1c53be(_0x347032,_0x1465bf,_0x58810f,_0x3ef8e9){return _0x3764a2(_0x58810f- -0x6f,_0x1465bf-_0x7f8586._0x1ce494,_0x347032,_0x3ef8e9-0x18);}this[_0x1c53be(0x3e,-_0x490e76._0x40b3e3,-_0x490e76._0x41a88c,0x1b7)]['recordToolCall'](this['sessionId']);}['recordRequestComplete'](_0x240443){const _0x3d1a57={_0x3d5f99:0x4f5,_0x19b430:0x429,_0x3b87c9:0x636},_0x19c000={_0x50acd8:0x408,_0xadc457:0x35,_0x1b658d:0xa5},_0x4293fa={_0x1bc5b9:0x105,_0xd70187:0x17b};function _0x1a7308(_0x443c46,_0x27c3af,_0x2c1711,_0x1944ca){return _0x3764a2(_0x1944ca-_0x4293fa._0x1bc5b9,_0x27c3af-_0x4293fa._0xd70187,_0x443c46,_0x1944ca-0x15d);}function _0x4fc72a(_0x2d253d,_0x2cf772,_0x4a6706,_0x48825b){return _0x3764a2(_0x2d253d-_0x19c000._0x50acd8,_0x2cf772-_0x19c000._0xadc457,_0x4a6706,_0x48825b-_0x19c000._0x1b658d);}this[_0x4fc72a(0x412,_0x3d1a57._0x3d5f99,0x23f,0x394)][_0x4fc72a(_0x3d1a57._0x19b430,0x320,_0x3d1a57._0x3b87c9,0x4a2)](this['sessionId'],_0x240443);}[_0x3764a2(0x9c,-0x6a,0x20f,-0x175)](_0x2c2951,_0x2e5e0f){const _0x24d4fe={_0x12a629:0x6f,_0x18b92a:0xad,_0x4ce659:0x2ce,_0x59afc0:0x102,_0x5f43df:0x68b,_0x2e1910:0x733,_0x765a8e:0x5a6,_0x2424e2:0x43f};function _0x517d2a(_0x493df8,_0x56e5be,_0x47a826,_0x3652aa){return _0x5a69d4(_0x493df8-0xd0,_0x493df8- -0x29,_0x56e5be,_0x3652aa-0x76);}function _0x2b8a45(_0x379a7e,_0x2556db,_0x53e637,_0x15677c){return _0x3764a2(_0x2556db-0xa3,_0x2556db-0xae,_0x379a7e,_0x15677c-0x60);}this[_0x2b8a45(-_0x24d4fe._0x12a629,_0x24d4fe._0x18b92a,_0x24d4fe._0x4ce659,0x1b9)][_0x2b8a45(0xc0,0x13f,-_0x24d4fe._0x59afc0,0x216)](this[_0x517d2a(_0x24d4fe._0x5f43df,_0x24d4fe._0x2e1910,_0x24d4fe._0x765a8e,_0x24d4fe._0x2424e2)],_0x2c2951,_0x2e5e0f);}[_0x5a69d4(0x6de,0x494,0x434,0x453)](){const _0x3e1e72={_0x19a27f:0x2b3,_0x3de743:0x1e6,_0x5f2469:0x2e7,_0x522166:0x348,_0x2c3366:0x222,_0x10d177:0x262,_0x2327e7:0x32b,_0x240af7:0x457,_0x124b13:0x6e7,_0x2790e9:0x74b,_0x17cd43:0x6ef},_0x962c17={_0x579d73:0x1b1},_0x544eb7={_0x3fc257:0x54e,_0x24eed6:0x1c4};function _0xe57439(_0x59484b,_0xf1f406,_0x12fe62,_0x247297){return _0x3764a2(_0x59484b-_0x544eb7._0x3fc257,_0xf1f406-0x136,_0x12fe62,_0x247297-_0x544eb7._0x24eed6);}function _0x14a014(_0x52af0d,_0x152672,_0x22b432,_0xa78448){return _0x5a69d4(_0x52af0d-_0x962c17._0x579d73,_0x52af0d- -0x272,_0xa78448,_0xa78448-0x124);}this[_0x14a014(_0x3e1e72._0x19a27f,_0x3e1e72._0x3de743,_0x3e1e72._0x5f2469,_0x3e1e72._0x522166)][_0x14a014(_0x3e1e72._0x2c3366,_0x3e1e72._0x10d177,_0x3e1e72._0x2327e7,_0x3e1e72._0x240af7)](this[_0xe57439(_0x3e1e72._0x124b13,0x5c3,_0x3e1e72._0x2790e9,_0x3e1e72._0x17cd43)]);}[_0x5a69d4(0x4eb,0x626,0x69e,0x810)](){const _0x4fbe40={_0x1844f5:0x2f6,_0x3227c7:0x3f7,_0x3f2426:0x469,_0x21774e:0x31f},_0xb1cd4b={_0x6dafef:0xb7,_0x227bc0:0xf1};function _0x153495(_0x558a8e,_0x4d004f,_0x375cb1,_0x4926bc){return _0x5a69d4(_0x558a8e-0x177,_0x4d004f- -0x1e4,_0x558a8e,_0x4926bc-0x1e2);}function _0x11812c(_0x30229c,_0x4d9310,_0x205e88,_0x3452eb){return _0x5a69d4(_0x30229c-_0xb1cd4b._0x6dafef,_0x30229c- -0x22f,_0x4d9310,_0x3452eb-_0xb1cd4b._0x227bc0);}return this[_0x11812c(_0x4fbe40._0x1844f5,0x37c,0x3ef,0xf7)][_0x11812c(_0x4fbe40._0x3227c7,0x445,_0x4fbe40._0x3f2426,0x5cc)](this[_0x153495(0x715,0x4d0,_0x4fbe40._0x21774e,0x6d4)]);}},Ar=class t{constructor(){const _0x6852e3={_0x2fe519:0x585,_0x478c00:0x48f,_0xb55ebf:0x20e,_0x96b786:0x86a,_0x2fe3cb:0x69d,_0x54df7b:0x115,_0x3ceba0:0x3f2,_0x599ddd:0x3e7,_0x53c422:0x480,_0x36c7b3:0x59c,_0x30bb86:0x44b,_0xb692bd:0x63e,_0x43f6ab:0x56d,_0x813eb4:0x6f9,_0x435ec:0x4ef,_0x200a26:0x2c1,_0x3268f5:0x1e7,_0x15a31b:0x363,_0x397391:0x595,_0x3c03e3:0x3ec,_0x26a8e3:0x582,_0x3199ae:0x5c5,_0x108bba:0x509,_0x5b5486:0x648,_0x12ac13:0x799,_0x230671:0x18c,_0x18fe2a:0x578,_0x2dcd2d:0x4f4,_0x25bf65:0x409,_0x45b03f:0x47e,_0x40063b:0x425,_0x182277:0x51c},_0x4ce29c={_0x3d733b:0x2c7},_0x2a1cab={_0x458bb9:0x17d};this[_0x18f100(_0x6852e3._0x2fe519,0x630,0x478,_0x6852e3._0x478c00)]=null,this[_0x18f100(0x2a5,0x282,0xe3,_0x6852e3._0xb55ebf)]=null,this[_0x18f100(_0x6852e3._0x96b786,_0x6852e3._0x2fe3cb,0x6be,0x83c)]=null,this[_0x1a7c9c(_0x6852e3._0x54df7b,_0x6852e3._0x3ceba0,0x1b9,0x2d8)]=_0x1a7c9c(_0x6852e3._0x599ddd,_0x6852e3._0x53c422,_0x6852e3._0x36c7b3,_0x6852e3._0x30bb86),this[_0x18f100(0x4d7,_0x6852e3._0xb692bd,0x731,0x5fe)]=_0x18f100(_0x6852e3._0x43f6ab,0x3b5,0x5b4,0x583),this[_0x18f100(_0x6852e3._0x813eb4,_0x6852e3._0x435ec,_0x6852e3._0x200a26,0x57c)]=null;function _0x18f100(_0x19844e,_0x1d8c0b,_0xef636a,_0x220eeb){return _0x5a69d4(_0x19844e-_0x2a1cab._0x458bb9,_0x1d8c0b- -0x1c5,_0x220eeb,_0x220eeb-0x1dd);}this[_0x18f100(0x632,0x6a0,0x7fe,0x72c)]=null,this[_0x1a7c9c(_0x6852e3._0x3268f5,0x1dd,_0x6852e3._0x15a31b,0x2fa)]=null;function _0x1a7c9c(_0x38356c,_0x22e368,_0x4c94e1,_0x40dfed){return _0x3764a2(_0x40dfed-_0x4ce29c._0x3d733b,_0x22e368-0x72,_0x38356c,_0x40dfed-0xe2);}this[_0x1a7c9c(0x3ef,0x35b,0xe4,0x2bb)]=null,this[_0x18f100(0x76a,_0x6852e3._0x397391,0x34d,0x48f)]=!0x1,this[_0x18f100(0x43e,_0x6852e3._0x3c03e3,_0x6852e3._0x26a8e3,0x3d1)]=!0x0,this[_0x18f100(_0x6852e3._0x3199ae,_0x6852e3._0x108bba,0x6d0,_0x6852e3._0x5b5486)]=!0x1,(this[_0x1a7c9c(0x571,0x6af,_0x6852e3._0x12ac13,0x5dc)]=_0x19df5c[_0x18f100(_0x6852e3._0x230671,0x3bc,0x4a2,_0x6852e3._0x18fe2a)](),this[_0x18f100(_0x6852e3._0x2dcd2d,0x5e0,0x819,0x583)]=new _0x1f6404(),this[_0x1a7c9c(_0x6852e3._0x25bf65,_0x6852e3._0x45b03f,0x5b5,_0x6852e3._0x40063b)]=new bo(this[_0x1a7c9c(0x6c4,_0x6852e3._0x182277,0x727,0x5dc)]));}static{this[_0x3764a2(0x8a,0x273,0xc1,0x140)]=0.85;}static{this[_0x5a69d4(0x713,0x66c,0x82d,0x4d1)]=0.95;}['getProfilePaths'](){const _0x1ca6cb={_0x4ad17e:0x35c,_0x3f2646:0x6d6,_0x534285:0x7af,_0x331ef7:0x849,_0x495528:0x91a,_0x4e2506:0x5c5,_0x38d3e5:0x262,_0x176328:0x156,_0x55cc51:0xb0,_0x29aed5:0x5a,_0x871f98:0x2e,_0x4028e3:0x563,_0x483b57:0x4d0,_0x1c1792:0x4be,_0x27d469:0x772,_0x20785b:0x29f,_0x53b895:0x26d,_0x26d775:0xe7},_0x4570ab={_0x2b23b1:0x1e1,_0x34c3c2:0x4d4,_0x10eef3:0x1d9},_0x6e9106={_0x44a456:0x10,_0x2d0830:0x18};let _0x16ef56=typeof this[_0x40ecdb(0x4a9,0x4e0,_0x1ca6cb._0x4ad17e,0x389)]['getProfileManager']=='function'?this[_0x12e129(0x7ab,_0x1ca6cb._0x3f2646,0x695,0x691)][_0x12e129(0x6c4,_0x1ca6cb._0x534285,_0x1ca6cb._0x331ef7,0x899)]():void 0x0,_0x49d581=typeof this[_0x12e129(0x7ab,_0x1ca6cb._0x495528,0x8ce,0x5d1)][_0x12e129(0x504,_0x1ca6cb._0x4e2506,0x67e,0x315)]=='function'?this[_0x40ecdb(_0x1ca6cb._0x38d3e5,_0x1ca6cb._0x176328,_0x1ca6cb._0x4ad17e,0x217)]['getCurrentProfile']():void 0x0;function _0x12e129(_0x5391a6,_0x20da18,_0x32c3ce,_0x549e0c){return _0x3764a2(_0x5391a6-0x496,_0x20da18-_0x6e9106._0x44a456,_0x32c3ce,_0x549e0c-_0x6e9106._0x2d0830);}function _0x40ecdb(_0x165a84,_0x6abfd0,_0x196f38,_0x26ef19){return _0x5a69d4(_0x165a84-_0x4570ab._0x2b23b1,_0x196f38- -_0x4570ab._0x34c3c2,_0x165a84,_0x26ef19-_0x4570ab._0x10eef3);}if(!_0x16ef56||!_0x49d581){let _0xc15ee2=_0x300883['join'](_0x45060e[_0x40ecdb(-_0x1ca6cb._0x55cc51,-0x206,-0x82,-0x17f)](),_0x40ecdb(0x73,-_0x1ca6cb._0x29aed5,0x114,-_0x1ca6cb._0x871f98));return{'sessionsDir':_0x300883[_0x12e129(0x772,_0x1ca6cb._0x4028e3,0x543,0x9a2)](_0xc15ee2,_0x12e129(_0x1ca6cb._0x483b57,0x588,0x5f8,_0x1ca6cb._0x1c1792)),'agentsDir':_0x300883[_0x12e129(_0x1ca6cb._0x27d469,0x8c8,0x895,0x671)](_0xc15ee2,_0x40ecdb(-0x1a8,0xa8,0x20,-0x171))};}return{'sessionsDir':_0x16ef56['getProfileSessionsDir'](_0x49d581),'agentsDir':_0x16ef56[_0x40ecdb(_0x1ca6cb._0x20785b,0x297,_0x1ca6cb._0x53b895,_0x1ca6cb._0x26d775)](_0x49d581)};}['getCurrentConfig'](){const _0x131b59={_0x5430ec:0x4a2,_0x328dee:0x618,_0x4fe42e:0x5ad,_0x213df8:0x476,_0x5db7d3:0x568,_0x54a926:0x3b3,_0x4b9da8:0x694,_0x2bb7ca:0x347,_0x1c1673:0x411,_0x22342f:0x2f4,_0xff8d4d:0x42c,_0x7397:0x727,_0x27a303:0x23e,_0x3fc453:0x324,_0xe75b4e:0x51e,_0x4b8541:0x223,_0x42112e:0xeb,_0x54694c:0x4da,_0x1e7a82:0x71d,_0x32bdfb:0x5f9},_0x372359={_0x5a6c66:0x15c,_0x2547e5:0xc0,_0x26fc09:0x144},_0x5e243d={_0x48fb9f:0x38e};function _0x4fc414(_0x17dc28,_0x34a5ee,_0x1e401d,_0x4747b0){return _0x5a69d4(_0x17dc28-0x3f,_0x17dc28- -_0x5e243d._0x48fb9f,_0x1e401d,_0x4747b0-0x174);}function _0x2e201b(_0x212de1,_0x299289,_0x23e4ca,_0x1e9a7f){return _0x5a69d4(_0x212de1-_0x372359._0x5a6c66,_0x1e9a7f- -_0x372359._0x2547e5,_0x212de1,_0x1e9a7f-_0x372359._0x26fc09);}let _0x1c254c=this[_0x4fc414(_0x131b59._0x5430ec,_0x131b59._0x328dee,0x54b,_0x131b59._0x4fe42e)][_0x4fc414(_0x131b59._0x213df8,_0x131b59._0x5db7d3,_0x131b59._0x54a926,_0x131b59._0x4b9da8)](),_0x2e9f7a=_0x1c254c['activeProvider']||_0x2e201b(_0x131b59._0x2bb7ca,_0x131b59._0x1c1673,0x6d8,0x4d3),_0x43ba81=_0x1c254c[_0x4fc414(0x19e,_0x131b59._0x22342f,0x38,0x313)]||bl[_0x2e9f7a],_0x26a650=_0x253ddf(_0x1c254c,_0x2e9f7a),_0x35ecf6=_0x1c254c[_0x4fc414(_0x131b59._0xff8d4d,0x660,0x53f,0x4e4)],_0x5696a0=_0x1c254c['requireToolApproval'],_0x2f87c0=_0x1c254c[_0x2e201b(0x973,0x7da,0x59b,_0x131b59._0x7397)],_0x32ff80=_0x2f87c0===_0x4fc414(0x3f8,0x40a,_0x131b59._0x27a303,_0x131b59._0x3fc453)?void 0x0:_0x2f87c0?.[_0x4fc414(_0x131b59._0xe75b4e,0x2d9,0x62d,0x662)](),_0x4da4c9=_0x1c254c[_0x4fc414(_0x131b59._0x4b8541,0x13e,0x3d9,_0x131b59._0x42112e)]??!0x0,_0x1d9c2a=_0x26a650?.['oauth']?{'anthropic':_0x26a650['oauth']}:void 0x0;return{'config':_0x1c254c,'provider':_0x2e9f7a,'model':_0x43ba81,'auth':_0x26a650,'apiKey':_0x26a650?.[_0x4fc414(_0x131b59._0x54694c,_0x131b59._0x1e7a82,0x2c4,_0x131b59._0x32bdfb)],'oauthConfig':_0x1d9c2a,'mcpAllowedTools':_0x35ecf6,'requireToolApproval':_0x5696a0,'reasoningEffort':_0x32ff80,'streamingChunks':_0x4da4c9};}[_0x5a69d4(0x73a,0x6df,0x5b0,0x7e6)](_0x5a5a72,_0x8dd942){const _0x227c0c={_0x5de26d:0x3bf,_0xf27f71:0x1ba,_0x27ba46:0x393},_0x58e3c1={_0x453ef4:0xec},_0x355721={_0x3b735d:0x112,_0x48d54a:0x11b};function _0x3caddb(_0x5eafcf,_0x47c97d,_0xb7c80c,_0x535aaf){return _0x3764a2(_0x47c97d- -_0x355721._0x3b735d,_0x47c97d-0xe7,_0x5eafcf,_0x535aaf-_0x355721._0x48d54a);}function _0x41bde8(_0x1042e1,_0x12c085,_0x2f3e7c,_0x52b12f){return _0x3764a2(_0x12c085-0x294,_0x12c085-0xd2,_0x2f3e7c,_0x52b12f-_0x58e3c1._0x453ef4);}return _0x8dd942?new _0x4c687b(new _0x2b1aa5(_0x300883[_0x41bde8(0x326,0x570,_0x227c0c._0x5de26d,0x6df)](_0x5a5a72,_0x3caddb(-_0x227c0c._0xf27f71,-0x1b3,-0x274,-_0x227c0c._0x27ba46)))):new _0x5e955d();}[_0x5a69d4(0x64e,0x692,0x699,0x6a9)](_0x58a71e){const _0x80949b={_0x2a01fb:0x647,_0xf09778:0x74c,_0x1d0ea3:0x98b,_0x2e4871:0x5d5,_0x478e04:0x83a,_0x33ada0:0xa4f,_0x249848:0x8eb,_0x256eb9:0x63e,_0x285de3:0x578,_0x12d2ee:0x6e4,_0x10e8e1:0x8fd,_0x21bf2f:0x8ba,_0x632ee8:0xac7},_0xce60ce={_0x6c52d9:0x5b3,_0x30b94b:0x98},_0x147210={_0x446d91:0x16e};function _0x3fe79f(_0xcea337,_0xb6cfe2,_0x473e00,_0x38200f){return _0x3764a2(_0xb6cfe2-0x5b3,_0xb6cfe2-_0x147210._0x446d91,_0x473e00,_0x38200f-0x1e9);}let _0x28b8a8=_0x58a71e[_0x412902(_0x80949b._0x2a01fb,_0x80949b._0xf09778,_0x80949b._0x1d0ea3,_0x80949b._0x2e4871)]??String(Date[_0x412902(0x746,_0x80949b._0x478e04,_0x80949b._0x33ada0,_0x80949b._0x249848)]()),{sessionsDir:_0x6aabe5}=this[_0x412902(_0x80949b._0x256eb9,_0x80949b._0x285de3,_0x80949b._0x12d2ee,0x506)](),_0x1862ac=_0x58a71e[_0x412902(0x7d1,_0x80949b._0x10e8e1,_0x80949b._0x21bf2f,_0x80949b._0x249848)]??_0x300883[_0x3fe79f(0x779,0x88f,0x7b2,_0x80949b._0x632ee8)](_0x6aabe5,_0x28b8a8);function _0x412902(_0x4696f5,_0x46171a,_0x59b59a,_0x4e6f7d){return _0x3764a2(_0x46171a-_0xce60ce._0x6c52d9,_0x46171a-_0xce60ce._0x30b94b,_0x59b59a,_0x4e6f7d-0x9c);}return{'sessionId':_0x28b8a8,'sessionDir':_0x1862ac};}['createEventAdapter'](_0x1108b8,_0xef2af6,_0x1ec769,_0x3a6675){const _0x4f64ed={_0x682660:0x304,_0x58dbd3:0x40d,_0x2eab5e:0x46f,_0x7d60f8:0x3b3,_0xf62458:0x3a5,_0x228bb9:0x28c,_0x2ac041:0x52,_0x426d65:0x24b,_0x1a66fb:0x30a,_0x3e6b1e:0x29d,_0x80f31f:0x422,_0x385353:0x283},_0x2d0367={_0x4ff8ca:0x69,_0x151568:0x134},_0x11bb95={_0x47fa42:0x143,_0x3534e0:0x345,_0x502c2e:0x17a};function _0x10ff3f(_0x258ec3,_0x5874f4,_0x54ab17,_0x463f9b){return _0x5a69d4(_0x258ec3-_0x11bb95._0x47fa42,_0x54ab17- -_0x11bb95._0x3534e0,_0x463f9b,_0x463f9b-_0x11bb95._0x502c2e);}function _0x5dc0f5(_0x3e4a55,_0x5844c9,_0x4d5e07,_0x2dd33c){return _0x5a69d4(_0x3e4a55-_0x2d0367._0x4ff8ca,_0x4d5e07- -0x58c,_0x3e4a55,_0x2dd33c-_0x2d0367._0x151568);}return new jt(_0xef2af6[_0x10ff3f(_0x4f64ed._0x682660,_0x4f64ed._0x58dbd3,_0x4f64ed._0x2eab5e,_0x4f64ed._0x7d60f8)],_0xef2af6[_0x5dc0f5(_0x4f64ed._0xf62458,0x3f2,_0x4f64ed._0x228bb9,_0x4f64ed._0x2ac041)],_0xef2af6[_0x10ff3f(0x270,0xd8,_0x4f64ed._0x426d65,_0x4f64ed._0x1a66fb)],_0x1ec769?{'filename':_0x300883['join'](_0x1108b8,_0x10ff3f(_0x4f64ed._0x3e6b1e,0x4b2,_0x4f64ed._0x80f31f,_0x4f64ed._0x385353)),'streamingEnabled':_0x3a6675}:{'streamingEnabled':_0x3a6675});}async[_0x3764a2(0x1c2,0x1d5,0x11d,0xfc)](_0x272971,_0x367625){const _0x35196c={_0x20dc96:0x78e,_0x511900:0x6c9,_0x35dc71:0x4e9,_0x7b3b56:0x440,_0x2374cf:0x60,_0x574aba:0x32b,_0x4d5403:0x1d3,_0x3663c6:0x43e,_0x66f758:0x285,_0xaa5472:0x46a,_0x479126:0x265,_0x503847:0x823,_0xdb329a:0x6d7,_0x1a1cdf:0x362,_0x385cc2:0x299,_0x2cdbb5:0x2af,_0x21eb3c:0x2aa,_0x1294f6:0x4bf,_0x3dccb6:0x7c1,_0x4db44c:0x620,_0x2c92a9:0x535,_0x4128c9:0x6b5,_0x5bbf45:0x298,_0x3aadb2:0x87,_0x2b7e36:0x5ec,_0xc1deab:0x688,_0x58f31f:0x6f4,_0x2daef8:0x13d,_0x2d7d56:0xc5,_0x2c9cf2:0x561,_0x1d8bcf:0x607,_0x2d6ab5:0x76e,_0x429d88:0x49b,_0x11fb03:0x947,_0x3df810:0x524,_0x51b812:0x349,_0x3b0fc9:0x498,_0x1329d9:0x28a,_0x2d6a33:0x255,_0x52a485:0x116,_0x321952:0x303,_0xc43f93:0xc8,_0x1d8ae2:0x160,_0x3e327a:0x86,_0x4cecc1:0x23f,_0x3839c5:0x3dc,_0x5bd93a:0x2c7,_0x1f9068:0x2fe,_0x1cb479:0x288,_0x2ce779:0x337,_0x5f34d1:0x433,_0x43ce0e:0x6bb,_0x5aa617:0x7b3,_0x146a3a:0x438,_0x4490c9:0xd5,_0x385519:0x574,_0x467f2c:0x7b6,_0x413280:0x5b9,_0x1662d0:0x1de,_0x22ec17:0x3f2,_0xab806c:0x334,_0x2bd6a1:0x223,_0xdc8dab:0x6e6,_0x1927b5:0x589,_0x2deb46:0x849,_0x1a665c:0x5fa,_0x2b28fb:0x68a,_0x23d843:0x249,_0x5434c4:0x61c,_0x153828:0x414,_0x449fa0:0x330,_0x4dba91:0x6c9,_0x1e3bae:0x1aa,_0x25b3ff:0xc1,_0xbb0c7d:0x367,_0x30104f:0x33e,_0x25c31d:0x34f,_0xeaed9:0x1fd,_0x112785:0x50b,_0x2faf50:0x3d4,_0x51be95:0x29d,_0x13ea1e:0x490,_0x2e2fa4:0x280,_0x4c989d:0x58},_0x40dd43={_0x43a4a4:0xab6,_0x586248:0x9b2},_0x435cd1={_0x4a10a5:0x293,_0x3a56b4:0x185,_0x472b8d:0x151,_0x4f5eb7:0x6e,_0x2cc01d:0x1f9,_0x7ebd5f:0x3f1,_0x9da942:0x2f,_0x115d79:0x628,_0x59cf2a:0x2db,_0x2538dd:0x7b,_0x283647:0x63,_0x65a275:0x2bb,_0x3f011b:0x49e,_0x5d9195:0x40f,_0x5b4cc8:0x202,_0x57e799:0x4d2,_0x4cd49e:0x2fa,_0x532a77:0x305,_0x500c93:0x314,_0x5bfbd7:0x226,_0x56a9d4:0x322,_0x5672b8:0x14f,_0x2b92d6:0x1b,_0x5d140b:0x12d,_0x28b4e0:0x3d},_0x1ccb5f={_0x599932:0x17f,_0xe8911f:0x86},_0x6a920={_0x203e80:0x2b,_0x2b4df0:0x18d},_0xb01d2a={_0x3b9444:0x1},_0xa5dba0={_0x5c3031:0xec};function _0x53ae7b(_0x1aca1a,_0x497337,_0x19a17b,_0x543860){return _0x3764a2(_0x1aca1a-_0xa5dba0._0x5c3031,_0x497337-0x15,_0x19a17b,_0x543860-0x5e);}this[_0x47de46(0x7a4,_0x35196c._0x20dc96,_0x35196c._0x511900,0x701)]=_0x47de46(_0x35196c._0x35dc71,0x406,_0x35196c._0x7b3b56,0x40a),this[_0x53ae7b(0xe0,_0x35196c._0x2374cf,0x1bc,0x1a6)]=_0x367625,this[_0x53ae7b(_0x35196c._0x574aba,0x198,_0x35196c._0x4d5403,_0x35196c._0x3663c6)]=_0x272971[_0x53ae7b(0x32b,0x1a6,0x359,0x233)]??!0x0;function _0x47de46(_0x116a9c,_0x42b20b,_0xd49ea4,_0x2bc97a){return _0x5a69d4(_0x116a9c-_0xb01d2a._0x3b9444,_0xd49ea4- -0x13a,_0x42b20b,_0x2bc97a-0x77);}let _0x114129=!!(_0x272971[_0x53ae7b(_0x35196c._0x66f758,_0x35196c._0xaa5472,_0x35196c._0x479126,0x3c6)]||_0x272971[_0x47de46(_0x35196c._0x503847,0x5fa,0x72b,_0x35196c._0xdb329a)]),{sessionId:_0x354bb8,sessionDir:_0x13d63c}=_0x114129?this[_0x53ae7b(0x263,_0x35196c._0x1a1cdf,0x92,0x1bf)](_0x272971):{'sessionId':'temp','sessionDir':''};try{let _0x40d30c=this['getCurrentConfig'](),_0x2ca675=_0x40d30c[_0x53ae7b(0x25c,_0x35196c._0x385cc2,0x278,0x77)][_0x53ae7b(0x2c8,_0x35196c._0x2cdbb5,_0x35196c._0x21eb3c,0x38f)]?.['persistEventLog']??!0x1,_0x5b2d99=_0x114129?this['createMemory'](_0x13d63c,this[_0x47de46(_0x35196c._0x1294f6,_0x35196c._0x3dccb6,_0x35196c._0x4db44c,0x485)]):new _0x5e955d(),{agentsDir:_0x4c09cf}=this['getProfilePaths']();_0x4ada36['mkdirSync'](_0x4c09cf,{'recursive':!0x0});let _0x50456b=new _0x3e635d({'agentsDir':_0x4c09cf}),_0x59bf18=new _0x4d3f4b({'filePersistence':_0x50456b});await _0x59bf18[_0x47de46(0x54c,_0x35196c._0x2c92a9,_0x35196c._0x4128c9,0x799)]();let _0x2a73aa=new _0x2a2a13({'agentRegistry':_0x59bf18}),_0x113709=_0x2a73aa,_0x4f1443={'createLLM':_0xd3dcc3=>{function _0x2045e8(_0x11e96e,_0x4e0d56,_0x56a28d,_0x4d1b63){return _0x53ae7b(_0x11e96e- -_0x6a920._0x203e80,_0x4e0d56-_0x6a920._0x2b4df0,_0x4e0d56,_0x4d1b63-0x35);}let _0x27d2a3;function _0x347ed0(_0x1e0e93,_0x47f379,_0x2727f4,_0x2a3a48){return _0x53ae7b(_0x1e0e93- -_0x1ccb5f._0x599932,_0x47f379-0x1eb,_0x47f379,_0x2a3a48-_0x1ccb5f._0xe8911f);}if(_0xd3dcc3[_0x2045e8(_0x435cd1._0x4a10a5,_0x435cd1._0x3a56b4,0x3cd,_0x435cd1._0x472b8d)]){let _0x569a8f=_0xd3dcc3[_0x347ed0(0x13f,_0x435cd1._0x4f5eb7,0x30f,_0x435cd1._0x2cc01d)],_0x626e54=this[_0x2045e8(0x2f9,_0x435cd1._0x7ebd5f,0x1f7,0x296)]()[_0x347ed0(0xdd,-0xfd,_0x435cd1._0x9da942,0x1c8)]['providers']?.[_0x569a8f];_0x626e54?.[_0x2045e8(0x40f,0x450,_0x435cd1._0x115d79,_0x435cd1._0x59cf2a)]&&Array[_0x347ed0(_0x435cd1._0x2538dd,0x1c3,_0x435cd1._0x283647,0x1df)](_0x626e54[_0x347ed0(_0x435cd1._0x65a275,0x3cf,_0x435cd1._0x3f011b,0x12b)])&&_0x626e54[_0x2045e8(_0x435cd1._0x5d9195,0x3ff,_0x435cd1._0x5b4cc8,_0x435cd1._0x57e799)]['length']>0x0&&(_0x27d2a3=_0x569a8f);}return _0x27d2a3||(_0x27d2a3=this[_0x2045e8(0x2f9,0x463,_0x435cd1._0x4cd49e,_0x435cd1._0x532a77)]()[_0x2045e8(0x231,_0x435cd1._0x500c93,_0x435cd1._0x5bfbd7,_0x435cd1._0x56a9d4)][_0x2045e8(0x1fd,_0x435cd1._0x5672b8,0x24a,0x431)]||_0x347ed0(-_0x435cd1._0x2b92d6,_0x435cd1._0x5d140b,-0x24e,-_0x435cd1._0x28b4e0)),this['llmFactory'][_0x2045e8(0x446,0x406,0x491,0x5cb)](_0x27d2a3);}},_0x12f5c4=new xo({'getConfig':()=>this['configManager'][_0x47de46(0x640,0x66e,0x6ca,0x8f6)]()['mcp'],'appendLine':_0x367625['appendLine'],'handleError':_0x367625[_0x53ae7b(0x5a,_0x35196c._0x5bbf45,0x1c1,_0x35196c._0x3aadb2)],'silentInit':!0x0,'eventBus':k});new _0xc54639({'appName':'nuvin-agent'})['init'](_0x354bb8);let _0x447085=_0x40d30c[_0x47de46(_0x35196c._0x2b7e36,_0x35196c._0xc1deab,0x551,_0x35196c._0x58f31f)][_0x53ae7b(0x7d,_0x35196c._0x2daef8,0x1a2,-_0x35196c._0x2d7d56)]||{},_0x20aa00=_0x59bf18['list']()['filter'](_0x4a2f24=>_0x447085[_0x4a2f24['id']]!==!0x1)[_0x47de46(_0x35196c._0x2c9cf2,_0x35196c._0x1d8bcf,_0x35196c._0x2d6ab5,0x7cb)](_0x988835=>({'id':_0x988835['id'],'name':_0x988835[_0x53ae7b(0x3a9,0x1a1,0x4eb,0x35f)],'description':_0x988835[_0x53ae7b(0x268,0x193,0x15b,0xcb)]})),_0x4313d9=await _0x5746e8(process['cwd'](),{'maxDepth':0x3,'maxFiles':0x1f4,'includeHidden':!0x1}),_0xc81a89=_0x4e41e4({'today':new Date()[_0x53ae7b(0x2c3,_0x35196c._0x429d88,0x105,0x333)](),'platform':process['platform'],'arch':process[_0x47de46(0x5f0,0x566,0x77d,_0x35196c._0x11fb03)],'tempDir':_0x45060e[_0x47de46(_0x35196c._0x3df810,0x4aa,_0x35196c._0x51b812,_0x35196c._0x3b0fc9)]?.()??'','workspaceDir':process[_0x53ae7b(_0x35196c._0x1329d9,0x409,_0x35196c._0x2d6a33,0x187)](),'availableAgents':_0x20aa00,'folderTree':_0x4313d9},{'withSubAgent':!0x0}),_0x234df0={'id':'nuvin-agent','systemPrompt':_0x340f88(Zn,{'injectedSystem':_0xc81a89}),'temperature':0x1,'topP':0x1,'model':_0x40d30c['model'],'enabledTools':Kt,'maxToolConcurrency':0x3,'requireToolApproval':_0x40d30c[_0x53ae7b(_0x35196c._0x52a485,0x1fd,0x1c2,_0x35196c._0x321952)],'reasoningEffort':_0x40d30c['reasoningEffort']},_0x2b3356={'memory':_0x5b2d99,'tools':_0x113709,'events':_0x114129?this[_0x53ae7b(_0x35196c._0xc43f93,0x2c9,-_0x35196c._0x1d8ae2,-_0x35196c._0x3e327a)](_0x13d63c,_0x367625,_0x2ca675,this[_0x47de46(_0x35196c._0x4cecc1,_0x35196c._0x3839c5,0x477,_0x35196c._0x5bd93a)]):this[_0x53ae7b(0xc8,_0x35196c._0x1f9068,_0x35196c._0x1cb479,0x2ec)]('',_0x367625,!0x1,this['streamingChunks']),'metrics':new It(_0x354bb8,He)},_0x326dfa=new _0x4882e3(_0x234df0,_0x2b3356);if(_0x2a73aa?.[_0x53ae7b(_0x35196c._0x2ce779,0x128,_0x35196c._0x5f34d1,0x129)]){let _0x3fe656=()=>{const _0x47b975={_0x469be6:0x4ec,_0x35ac83:0x128};let _0x7baf5=this['getCurrentConfig']();function _0x3af0b8(_0x35187e,_0x483554,_0x430b87,_0x5796e1){return _0x53ae7b(_0x5796e1-_0x47b975._0x469be6,_0x483554-_0x47b975._0x35ac83,_0x483554,_0x5796e1-0x1a9);}return{'model':_0x7baf5['model'],'reasoningEffort':_0x7baf5[_0x3af0b8(_0x40dd43._0x43a4a4,0x718,_0x40dd43._0x586248,0x953)]};};_0x2a73aa['setOrchestrator'](_0x234df0,_0x113709,_0x4f1443,_0x3fe656),_0x2a73aa['setEnabledAgents'](_0x447085);}return this[_0x47de46(0x52c,0x862,_0x35196c._0x43ce0e,_0x35196c._0x5aa617)]=_0x326dfa,this[_0x47de46(_0x35196c._0x146a3a,0x30c,0x30d,_0x35196c._0x4490c9)]=_0x5b2d99,this[_0x47de46(_0x35196c._0x385519,_0x35196c._0x467f2c,0x728,_0x35196c._0x413280)]=new _0x3ddde5(_0x5b2d99),this[_0x47de46(0x586,_0x35196c._0x1662d0,_0x35196c._0x22ec17,0x4c6)]=_0x40d30c[_0x47de46(0x592,_0x35196c._0xab806c,0x3f2,0x2c9)],this[_0x53ae7b(0x285,0x70,_0x35196c._0x2bd6a1,0x1c5)]=_0x114129&&this[_0x47de46(_0x35196c._0xdc8dab,_0x35196c._0x1927b5,_0x35196c._0x4db44c,_0x35196c._0x2deb46)]?_0x354bb8:null,this[_0x47de46(0x8fd,_0x35196c._0x1a665c,0x72b,_0x35196c._0x2b28fb)]=_0x114129&&this[_0x53ae7b(_0x35196c._0x574aba,0x32a,0x2f8,0x527)]?_0x13d63c:null,this['sessionInitialized']=_0x114129,this[_0x47de46(_0x35196c._0x23d843,_0x35196c._0x5434c4,_0x35196c._0x153828,_0x35196c._0x449fa0)]=_0x12f5c4,this[_0x47de46(0x671,0x562,_0x35196c._0x4dba91,0x68e)]=_0x53ae7b(0x20e,_0x35196c._0x1e3bae,_0x35196c._0x25b3ff,0x352),_0x114129&&await this[_0x47de46(0x43b,_0x35196c._0x3b0fc9,_0x35196c._0xbb0c7d,_0x35196c._0x30104f)](),this['initializeMCPServersInBackground'](_0x12f5c4,_0x367625),{'model':this[_0x47de46(_0x35196c._0x25c31d,_0x35196c._0xeaed9,0x3f2,0x5c5)],'sessionId':this[_0x53ae7b(_0x35196c._0x66f758,0x74,0x339,0x14f)],'sessionDir':this[_0x53ae7b(0x436,0x321,0x2a3,_0x35196c._0x112785)]};}catch(_0x5a4534){throw this[_0x53ae7b(_0x35196c._0x2faf50,0x3a0,_0x35196c._0x51be95,_0x35196c._0x13ea1e)]=_0x53ae7b(_0x35196c._0x2e2fa4,0x8e,0x244,_0x35196c._0x4c989d),_0x5a4534;}}[_0x3764a2(0x1d8,0x3c2,-0x9,0x31c)](){const _0x3b680e={_0x52d275:0x47d,_0xf8b16b:0x3ea,_0xec1407:0x378,_0xfe7cd5:0x31d},_0x252691={_0x1eb931:0x110,_0x4c8e74:0x17a};function _0x5786de(_0x17fa0a,_0x29021c,_0x132e07,_0x57f9ee){return _0x3764a2(_0x29021c-_0x252691._0x1eb931,_0x29021c-_0x252691._0x4c8e74,_0x57f9ee,_0x57f9ee-0x156);}return this[_0x5786de(_0x3b680e._0x52d275,_0x3b680e._0xf8b16b,_0x3b680e._0xec1407,_0x3b680e._0xfe7cd5)];}[_0x5a69d4(0x957,0x89a,0x86c,0x9d6)](){const _0x425cca={_0x431ebc:0x2ce},_0x361d9f={_0xb3403c:0x361};function _0x16815f(_0x377497,_0xa6c4fc,_0x1a309b,_0x44962c){return _0x5a69d4(_0x377497-0x1c3,_0x1a309b- -_0x361d9f._0xb3403c,_0x44962c,_0x44962c-0x12f);}return this[_0x16815f(_0x425cca._0x431ebc,-0xdd,0xe6,0x314)];}['getStatus'](){const _0x110188={_0x5f29d6:0x215,_0x15bba9:0x39b};function _0x45137b(_0x309c9d,_0x132c78,_0x18e5f7,_0x1e0af7){return _0x5a69d4(_0x309c9d-0x9,_0x18e5f7- -0x451,_0x309c9d,_0x1e0af7-0xe3);}return this[_0x45137b(0x53b,_0x110188._0x5f29d6,0x3b2,_0x110188._0x15bba9)];}['getModel'](){return this['model'];}['getMCPServers'](){const _0x74075e={_0x54cbdd:0x274,_0x31e1b7:0x614,_0x3f97e3:0x425,_0x28d6f1:0x2c3},_0x17d325={_0x2a1d04:0x1de};function _0x24dea9(_0x4e20f9,_0x6249c6,_0x529b3e,_0x4b1e76){return _0x3764a2(_0x529b3e-0x405,_0x6249c6-0x184,_0x6249c6,_0x4b1e76-_0x17d325._0x2a1d04);}return this['mcpManager']?.[_0x24dea9(_0x74075e._0x54cbdd,_0x74075e._0x31e1b7,_0x74075e._0x3f97e3,_0x74075e._0x28d6f1)]()||[];}['getTools'](){const _0x568a50={_0xa426d7:0x4c2,_0x288fcc:0x4b8},_0x512901={_0x431fb2:0xe4},_0x51880b={_0x2d682b:0xee};function _0x3daf31(_0x1b6069,_0x2ee4f1,_0x36e634,_0x55993f){return _0x5a69d4(_0x1b6069-_0x51880b._0x2d682b,_0x1b6069- -0x2f7,_0x55993f,_0x55993f-0xaa);}function _0x2a03d5(_0x593515,_0x3b6073,_0x556e47,_0xa5202){return _0x5a69d4(_0x593515-0x1de,_0x3b6073- -0x39c,_0x556e47,_0xa5202-_0x512901._0x431fb2);}return this[_0x3daf31(0x4fe,0x4e9,0x57f,_0x568a50._0xa426d7)]?.[_0x3daf31(0x576,0x63f,0x682,_0x568a50._0x288fcc)]();}['getLLM'](){const _0x256440={_0x1f8ac3:0x37e},_0x1dbcf5={_0x53eeab:0xa4};function _0x17aed3(_0x244eb9,_0x2b60f5,_0x6af789,_0x2ab8af){return _0x3764a2(_0x6af789-_0x1dbcf5._0x53eeab,_0x2b60f5-0x149,_0x2ab8af,_0x2ab8af-0x1f1);}return this[_0x17aed3(0x2b4,0x499,_0x256440._0x1f8ac3,0x380)]?.['getLLM']();}[_0x5a69d4(0x796,0x804,0x83e,0x7b8)](){const _0x4d3372={_0x4634f1:0x1b0,_0x4a65ec:0x24b},_0x1f48e7={_0x5bf6e0:0x9a,_0x413fe1:0x1df};function _0xf6de5(_0x1372a4,_0x2eb45b,_0x5c597a,_0x48ec11){return _0x3764a2(_0x1372a4-_0x1f48e7._0x5bf6e0,_0x2eb45b-0x171,_0x48ec11,_0x48ec11-_0x1f48e7._0x413fe1);}return this[_0xf6de5(0x374,0x45a,_0x4d3372._0x4634f1,_0x4d3372._0x4a65ec)]?.['getConfig']();}async[_0x3764a2(-0x85,0xc1,0x24,-0x31)](_0x322670){const _0xf061ae={_0x524d38:0x1af,_0x3572ae:0x1d4,_0x48c05c:0x20b,_0x41759d:0x63,_0x414624:0xa9b,_0x101bee:0x8b5,_0x31749a:0x1a5,_0x26f850:0xa1,_0x56a4dc:0x38,_0x1b048a:0x63,_0x463336:0x942,_0x20e205:0x7af,_0x50612d:0x840,_0x1b7bc5:0x652,_0x4ba689:0x598,_0x2e4774:0x50d,_0x319536:0x9f2,_0x4d4374:0x921,_0x5d7f96:0xa37,_0x335616:0x8de,_0x2c0913:0xb10},_0x5086f6={_0x32218f:0x30,_0x380e88:0x3f},_0x3eb8ec={_0x42cb54:0x10a};function _0x4089cd(_0x812f33,_0x5f23fe,_0x4ecdfe,_0x228782){return _0x3764a2(_0x4ecdfe-0x5db,_0x5f23fe-0x100,_0x812f33,_0x228782-_0x3eb8ec._0x42cb54);}function _0x5aa9b3(_0x1426e5,_0x3cd459,_0x3b789a,_0x5c4da1){return _0x3764a2(_0x5c4da1-_0x5086f6._0x32218f,_0x3cd459-_0x5086f6._0x380e88,_0x1426e5,_0x5c4da1-0x127);}if(this[_0x5aa9b3(-_0xf061ae._0x524d38,_0xf061ae._0x3572ae,_0xf061ae._0x48c05c,_0xf061ae._0x41759d)]&&this[_0x4089cd(_0xf061ae._0x414624,0x6eb,_0xf061ae._0x101bee,0xa69)]){await this[_0x5aa9b3(0xe2,-_0xf061ae._0x31749a,-_0xf061ae._0x26f850,0x63)]['updateAllowedToolsConfig'](_0x322670);let _0x7e4555=this[_0x5aa9b3(0x116,0x180,-_0xf061ae._0x56a4dc,_0xf061ae._0x1b048a)][_0x4089cd(0x7db,0x95d,_0xf061ae._0x463336,_0xf061ae._0x20e205)](),_0x4c178c=[];for(let _0x15eeb7 of _0x7e4555)_0x4c178c[_0x4089cd(0x53a,_0xf061ae._0x50612d,_0xf061ae._0x1b7bc5,_0xf061ae._0x4ba689)](..._0x15eeb7[_0x4089cd(0x7c2,0x7bf,0x5f8,_0xf061ae._0x2e4774)]);let _0x100964=[...Kt,..._0x4c178c];this[_0x4089cd(_0xf061ae._0x319536,_0xf061ae._0x4d4374,_0xf061ae._0x101bee,_0xf061ae._0x5d7f96)][_0x4089cd(_0xf061ae._0x335616,0x82f,0x8f2,_0xf061ae._0x2c0913)]({'enabledTools':_0x100964});}}async[_0x5a69d4(0x497,0x5ec,0x764,0x476)](_0x481028){const _0x276d6a={_0x36dc9b:0x330,_0x30b82b:0x4b,_0x511416:0xde,_0xe5de77:0x2d1,_0xd3566c:0x3df,_0x34b7b2:0x1e3,_0x1ef888:0x356,_0x5791b2:0x520,_0x376ac6:0x235,_0xb37e87:0x49a,_0x1768b7:0x29c,_0x3fee07:0x47f},_0x593296={_0x5ac238:0x7c},_0x46809a={_0x279537:0xfb,_0x3b3505:0x36b};function _0x46f7f0(_0x2fb338,_0x581d1d,_0x676260,_0x2903e1){return _0x5a69d4(_0x2fb338-_0x46809a._0x279537,_0x2fb338- -_0x46809a._0x3b3505,_0x581d1d,_0x2903e1-0xa4);}function _0x36894c(_0x4a4aa8,_0xd2fc6e,_0x36b189,_0x56ae76){return _0x3764a2(_0x36b189- -0x7b,_0xd2fc6e-_0x593296._0x5ac238,_0xd2fc6e,_0x56ae76-_0x593296._0x5ac238);}if(!this[_0x46f7f0(0x1e3,_0x276d6a._0x36dc9b,0x228,0x30b)])return null;let _0x587790=await this[_0x36894c(0x68,0xdd,-0x48,_0x276d6a._0x30b82b)][_0x36894c(0x7c,0x2f6,_0x276d6a._0x511416,0x2bb)](_0x481028);if(_0x587790&&_0x587790['status']===_0x46f7f0(_0x276d6a._0xe5de77,_0x276d6a._0xd3566c,0x215,0x1ee)&&this['orchestrator']){let _0x5a0246=this[_0x46f7f0(_0x276d6a._0x34b7b2,0x1cd,0x2a0,_0x276d6a._0x1ef888)][_0x46f7f0(0x517,0x4d9,0x6b8,_0x276d6a._0x5791b2)](),_0x11135d=[];for(let _0x1a608b of _0x5a0246)_0x11135d[_0x46f7f0(0x227,_0x276d6a._0x376ac6,0xde,0x382)](..._0x1a608b['allowedTools']);let _0x462664=[...Kt,..._0x11135d];this['orchestrator'][_0x36894c(0x3e0,_0x276d6a._0xb37e87,_0x276d6a._0x1768b7,_0x276d6a._0x3fee07)]({'enabledTools':_0x462664});}return _0x587790;}async[_0x3764a2(0x1c8,0x7c,0x3f1,0x149)](_0x19b2cf){const _0x3b16e5={_0x22a88b:0x5ef,_0x3c918b:0x6e9,_0x416198:0x25c,_0x9722ea:0x546,_0x1e5784:0x35c,_0x4ed33f:0x2ab,_0x26e770:0x9f5,_0x110d23:0x702,_0x41ea14:0x42d,_0x5a6a94:0x77b,_0x58373d:0x27e,_0x38a0f9:0x28c,_0x496720:0x70a,_0x150603:0x922,_0x35931b:0x899},_0x3a2e05={_0x5cc7d8:0x229,_0x45a0da:0x1b0},_0x3978fc={_0x4ad23:0x5d,_0x2e0045:0x20};if(!this[_0x3eabd6(0x56e,0x430,_0x3b16e5._0x22a88b,_0x3b16e5._0x3c918b)])return!0x1;function _0x3eabd6(_0x24b11c,_0x10a185,_0x56718e,_0x4a65c3){return _0x5a69d4(_0x24b11c-_0x3978fc._0x4ad23,_0x24b11c-_0x3978fc._0x2e0045,_0x56718e,_0x4a65c3-0xd9);}let _0x962865=await this[_0x199737(0x21a,0x2bc,_0x3b16e5._0x416198,0x406)][_0x199737(_0x3b16e5._0x9722ea,_0x3b16e5._0x1e5784,0x4f2,_0x3b16e5._0x4ed33f)](_0x19b2cf);function _0x199737(_0x2c3c58,_0x15f06f,_0x359f1c,_0x35fde9){return _0x3764a2(_0x359f1c-_0x3a2e05._0x5cc7d8,_0x15f06f-0x1c6,_0x15f06f,_0x35fde9-_0x3a2e05._0x45a0da);}if(_0x962865&&this[_0x3eabd6(0x815,_0x3b16e5._0x26e770,0x642,_0x3b16e5._0x110d23)]){let _0x430aaa=this[_0x3eabd6(0x56e,0x473,0x4c0,_0x3b16e5._0x41ea14)][_0x199737(_0x3b16e5._0x5a6a94,0x374,0x590,0x70c)](),_0x45f1b0=[];for(let _0x184343 of _0x430aaa)_0x45f1b0[_0x199737(0x228,0x390,0x2a0,_0x3b16e5._0x58373d)](..._0x184343[_0x199737(0x2c0,_0x3b16e5._0x38a0f9,0x246,0xb7)]);let _0x255dc8=[...Kt,..._0x45f1b0];this[_0x199737(0x634,0x3f8,0x503,_0x3b16e5._0x496720)][_0x3eabd6(0x852,_0x3b16e5._0x150603,_0x3b16e5._0x35931b,0x717)]({'enabledTools':_0x255dc8});}return _0x962865;}[_0x3764a2(0x24d,0x232,0x43f,0x34f)](){const _0x1d35cb={_0x2f04d0:0x7f6,_0x4e08a1:0x41a,_0x29736f:0x434,_0x53acec:0x530},_0x4f1d53={_0x243a19:0x196,_0x34eacc:0x22},_0x15d78c={_0x1e8da4:0x32};function _0x20ff70(_0x589416,_0x47527c,_0x275ffa,_0x12a22f){return _0x3764a2(_0x589416-0xaf,_0x47527c-_0x15d78c._0x1e8da4,_0x12a22f,_0x12a22f-0x9);}function _0x594bd8(_0x33b6e3,_0x37dfe7,_0x230ee7,_0x56504c){return _0x5a69d4(_0x33b6e3-_0x4f1d53._0x243a19,_0x33b6e3- -_0x4f1d53._0x34eacc,_0x37dfe7,_0x56504c-0x1b7);}return{'sessionId':this[_0x594bd8(0x692,0x687,0x868,_0x1d35cb._0x2f04d0)],'sessionDir':this[_0x20ff70(0x3f9,_0x1d35cb._0x4e08a1,_0x1d35cb._0x29736f,_0x1d35cb._0x53acec)]};}[_0x5a69d4(0x6e9,0x554,0x67b,0x595)](){const _0x298e8e={_0x155ace:0xc8,_0x92163b:0x102,_0x52bad0:0x9f},_0x47d565={_0x250104:0x176,_0x551685:0x1cf};function _0x2a5da6(_0xcc1ed5,_0x21b663,_0x402520,_0x59b6e6){return _0x5a69d4(_0xcc1ed5-_0x47d565._0x250104,_0x402520- -0x4af,_0x59b6e6,_0x59b6e6-_0x47d565._0x551685);}return this[_0x2a5da6(_0x298e8e._0x155ace,_0x298e8e._0x92163b,_0x298e8e._0x52bad0,-0x13b)];}['setMcpManager'](_0xb50cd9){const _0x3c853f={_0x29e221:0x6a3,_0x516577:0x7e6,_0x19dc2a:0x669},_0x1b5423={_0x59f454:0x103,_0x5dc634:0x1ab};function _0x279732(_0x5e30d6,_0x46ba9f,_0x51037c,_0x52e890){return _0x5a69d4(_0x5e30d6-_0x1b5423._0x59f454,_0x46ba9f-0x155,_0x5e30d6,_0x52e890-_0x1b5423._0x5dc634);}this[_0x279732(0x587,_0x3c853f._0x29e221,_0x3c853f._0x516577,_0x3c853f._0x19dc2a)]=_0xb50cd9;}async[_0x5a69d4(0x448,0x467,0x422,0x3dc)](){const _0x203522={_0x34eb07:0x4d8,_0x14993b:0x10b};function _0x4976cc(_0x30cf8e,_0x44ce33,_0x372577,_0x511490){return _0x5a69d4(_0x30cf8e-0x108,_0x44ce33- -0x27d,_0x511490,_0x511490-0xa2);}await this[_0x4976cc(_0x203522._0x34eb07,0x2d1,_0x203522._0x14993b,0xf2)]?.['disconnectAllServers']?.();}async[_0x3764a2(-0x3e,0xa4,0x1d,0xaf)](_0x590320,_0x4f6953){const _0x587b48={_0xb1daf6:0x340,_0x5b7b58:0x245,_0x13cce1:0x312,_0x4ccc2a:0x2b,_0x11a8b5:0x16e,_0x2a40d6:0x2f3,_0x1a12f2:0x18a,_0x595edb:0x109,_0x2071e8:0x154,_0x312344:0xc0,_0x4d983f:0x411,_0x41fab4:0x160,_0x5a28b3:0x1be,_0x124cf3:0xfa,_0xfa6b8a:0xc6,_0x4e5cb7:0x18d,_0x2128a0:0x39};((async()=>{function _0x2d30bd(_0x187377,_0x25a20b,_0x33276b,_0x38c5fa){return _0x4e8e(_0x33276b- -0x2f6,_0x25a20b);}function _0xf7877a(_0x1223de,_0x41e34c,_0x4a1b38,_0x9c85bd){return _0x4e8e(_0x41e34c- -0x175,_0x1223de);}try{let {mcpPorts:_0x425ae2,enabledTools:_0x390dce}=await _0x590320[_0x2d30bd(0xce,_0x587b48._0xb1daf6,0x1fe,_0x587b48._0x5b7b58)]();if(_0x425ae2['length']>0x0&&this['orchestrator']){let _0x3c1c40=this['orchestrator'][_0x2d30bd(0x2ff,0x4df,0x2ea,_0x587b48._0x13cce1)](),_0x1463b3=new _0x2b80f3([_0x3c1c40,..._0x425ae2]);this['orchestrator']['setTools'](_0x1463b3);let _0xa25b84=[...Kt,..._0x390dce];this[_0x2d30bd(_0x587b48._0x4ccc2a,_0x587b48._0x11a8b5,0x272,0x79)][_0x2d30bd(0x356,_0x587b48._0x2a40d6,0x2af,_0x587b48._0x1a12f2)]({'enabledTools':_0xa25b84});}}catch(_0x2d2160){console[_0x2d30bd(_0x587b48._0x595edb,0x39c,_0x587b48._0x2071e8,-_0x587b48._0x312344)](_0xf7877a(0x39f,0x484,_0x587b48._0x4d983f,0x3b8),_0x2d2160),_0x4f6953[_0x2d30bd(-_0x587b48._0x41fab4,-_0x587b48._0x5a28b3,-_0x587b48._0x124cf3,-0x38)](_0x2d30bd(0x34b,0x1eb,0x183,_0x587b48._0xfa6b8a)+(_0x2d2160 instanceof Error?_0x2d2160[_0xf7877a(0x29c,_0x587b48._0x4e5cb7,0x10f,_0x587b48._0x2128a0)]:String(_0x2d2160)));}})());}['updateConfig'](_0x916185){const _0x3865dc={_0x43d5a8:0x1d3,_0x575e24:0x231,_0x31a641:0x37f,_0x1250f4:0x613,_0x2fab6b:0x745,_0x36226f:0x520,_0x2d5748:0xf6},_0x162f38={_0x55230e:0x16c},_0x5c0725={_0x55ae63:0x107,_0x2ecbb0:0x8e};function _0x2056c6(_0x287999,_0x40cdca,_0x37c2e1,_0x1ff759){return _0x3764a2(_0x287999- -_0x5c0725._0x55ae63,_0x40cdca-_0x5c0725._0x2ecbb0,_0x1ff759,_0x1ff759-0x161);}function _0xc34386(_0x47590f,_0x4d0e79,_0x2efe39,_0x2de98d){return _0x5a69d4(_0x47590f-0x7c,_0x47590f-0xe7,_0x4d0e79,_0x2de98d-_0x162f38._0x55230e);}if(!this[_0x2056c6(_0x3865dc._0x43d5a8,0x3bb,0x36a,0x188)])throw new Error('Orchestrator\x20not\x20initialized,\x20wait\x20a\x20moment');this['orchestrator'][_0x2056c6(0x210,_0x3865dc._0x575e24,_0x3865dc._0x31a641,0x202)](_0x916185),_0x916185[_0xc34386(_0x3865dc._0x1250f4,_0x3865dc._0x2fab6b,0x51c,_0x3865dc._0x36226f)]&&(this[_0x2056c6(-_0x3865dc._0x2d5748,-0x1b5,0x1,0xe3)]=_0x916185['model']);}async[_0x3764a2(0x36a,0x2ed,0x28d,0x31d)](){const _0x2e17ac={_0x3dc42f:0x477,_0x27e809:0x51e,_0x3e279a:0x479,_0x11ff17:0x318,_0x515c0c:0x129,_0x2612d5:0x42e,_0x5950f3:0x368,_0x51cdbb:0x153,_0x50a673:0x39e,_0x4eddd3:0x540,_0x3959dd:0x49e,_0x4c5b0:0x402,_0x589934:0x40b,_0x3b60eb:0x1c5,_0x1b747f:0x133,_0x158a0f:0x174,_0x1830c4:0x462,_0x46b4fa:0x119,_0x39d435:0x2c4,_0xb9930c:0x667,_0x28cfba:0x47b,_0x5a0449:0x57b,_0x5bcdb3:0x2be,_0x4f62be:0x649,_0x33c403:0x606,_0x397eca:0x6d5,_0x4aa2b7:0x54f,_0x59d4a0:0x750,_0x28916c:0x35b,_0x1b152a:0x578,_0x515154:0x223,_0x5dc795:0x104},_0x5e424e={_0xc41a98:0x37a},_0x1cd99f={_0x1a41b8:0xd4};function _0x4983f7(_0x952d15,_0x4f0ca7,_0x560ee3,_0x706f7d){return _0x5a69d4(_0x952d15-0x5,_0x706f7d- -0x2ed,_0x560ee3,_0x706f7d-_0x1cd99f._0x1a41b8);}function _0x185650(_0x55ca4d,_0x46574b,_0x1a57ed,_0x4ca0ad){return _0x5a69d4(_0x55ca4d-0x154,_0x46574b- -_0x5e424e._0xc41a98,_0x4ca0ad,_0x4ca0ad-0x1b8);}if(!this[_0x185650(_0x2e17ac._0x3dc42f,0x47b,_0x2e17ac._0x27e809,0x570)]||!this['handlers'])throw new Error(_0x4983f7(0x69c,_0x2e17ac._0x3e279a,0x6c1,0x566));let {sessionId:_0x24f9bb,sessionDir:_0x1ffe4b}=this[_0x185650(0x3dd,_0x2e17ac._0x11ff17,_0x2e17ac._0x515c0c,_0x2e17ac._0x2612d5)]({}),_0x110e93=this['getCurrentConfig']()[_0x4983f7(_0x2e17ac._0x5950f3,0x1bc,_0x2e17ac._0x51cdbb,_0x2e17ac._0x50a673)][_0x185650(_0x2e17ac._0x4eddd3,0x37d,_0x2e17ac._0x3959dd,_0x2e17ac._0x4c5b0)]?.[_0x4983f7(_0x2e17ac._0x589934,0x387,0x24a,0x438)]??!0x1,_0x664e2=this[_0x185650(_0x2e17ac._0x3b60eb,0x365,_0x2e17ac._0x1b747f,0x174)](_0x1ffe4b,!0x0),_0x526f1b=this[_0x185650(0x2ea,0x17d,0x271,0x299)](_0x1ffe4b,this[_0x4983f7(_0x2e17ac._0x158a0f,0x1be,0xd5,0x222)],_0x110e93,this[_0x4983f7(0x3ef,_0x2e17ac._0x1830c4,_0x2e17ac._0x46b4fa,_0x2e17ac._0x39d435)]);this[_0x185650(_0x2e17ac._0xb9930c,_0x2e17ac._0x28cfba,_0x2e17ac._0x5a0449,_0x2e17ac._0x5bcdb3)][_0x185650(0x6da,0x51f,0x366,_0x2e17ac._0x4f62be)](_0x664e2),this['orchestrator'][_0x4983f7(0x1dd,0x3dd,_0x2e17ac._0x33c403,0x3d4)](_0x526f1b),this[_0x185650(0x697,0x47b,0x4ea,0x4bc)][_0x4983f7(0x2f9,0x71d,_0x2e17ac._0x397eca,0x522)](new It(_0x24f9bb,He)),this['memory']=_0x664e2,this['conversationStore']=new _0x3ddde5(_0x664e2),this[_0x185650(0x256,0x33a,0x52e,_0x2e17ac._0x4aa2b7)]=_0x24f9bb,this[_0x4983f7(_0x2e17ac._0x59d4a0,_0x2e17ac._0x28916c,0x3c6,_0x2e17ac._0x1b152a)]=_0x1ffe4b,this['sessionInitialized']=!0x0,await this[_0x185650(_0x2e17ac._0x515154,0x127,-_0x2e17ac._0x5dc795,0x1e4)]();}async[_0x5a69d4(0x376,0x4a1,0x592,0x6ba)](){const _0x3ccbf6={_0x47ce4a:0x66e,_0x1fbc16:0x53d,_0x5e4b0f:0x72a,_0x17f204:0x514,_0x31e698:0x58a,_0x1f576a:0x49b,_0x359088:0x5e6,_0x426e09:0x450,_0x360074:0x3c0,_0x272091:0x5a,_0x2721c5:0x2f8,_0x558d7b:0x3ab,_0x2b1292:0x457,_0x49807d:0x56,_0x2755b3:0x150,_0x428b3a:0x255,_0xa86adf:0x4ee,_0x336c0c:0x57d,_0x256ed9:0x458,_0xc116a9:0x36f},_0x18d8e8={_0x7c43fb:0x114,_0x5413e4:0x34},_0x58cc2e={_0x54d7ab:0xfa};if(!this[_0x475b76(0x5ac,0x552,_0x3ccbf6._0x47ce4a,_0x3ccbf6._0x1fbc16)])return;function _0x475b76(_0x297c75,_0x3943d7,_0x2cc594,_0x1f8a92){return _0x3764a2(_0x297c75-0x265,_0x3943d7-_0x58cc2e._0x54d7ab,_0x1f8a92,_0x1f8a92-0x1c8);}function _0x18d4a4(_0x339739,_0x3caabe,_0x5de1ed,_0x53f788){return _0x3764a2(_0x5de1ed-0x229,_0x3caabe-_0x18d8e8._0x7c43fb,_0x3caabe,_0x53f788-_0x18d8e8._0x5413e4);}let _0xf64537=this[_0x475b76(0x4ef,_0x3ccbf6._0x5e4b0f,0x503,0x655)][_0x475b76(_0x3ccbf6._0x17f204,0x56e,_0x3ccbf6._0x31e698,_0x3ccbf6._0x1f576a)]();(await this['conversationStore'][_0x18d4a4(_0x3ccbf6._0x359088,0x4fd,_0x3ccbf6._0x426e09,_0x3ccbf6._0x360074)](_0xf64537))[_0x18d4a4(_0x3ccbf6._0x272091,0x1c5,0x20f,0x62)][_0x18d4a4(0x505,0x544,_0x3ccbf6._0x2721c5,0x211)]||await this[_0x18d4a4(_0x3ccbf6._0x558d7b,_0x3ccbf6._0x2b1292,0x570,0x479)][_0x18d4a4(-_0x3ccbf6._0x49807d,0x138,_0x3ccbf6._0x2755b3,_0x3ccbf6._0x428b3a)](_0xf64537,{'messages':[],'metadata':{'createdAt':new Date()[_0x18d4a4(0x6ac,_0x3ccbf6._0xa86adf,0x541,0x3d6)](),'updatedAt':new Date()[_0x475b76(_0x3ccbf6._0x336c0c,_0x3ccbf6._0x256ed9,_0x3ccbf6._0xc116a9,0x371)](),'messageCount':0x0}});}async['updateConversationMetadataAfterSend'](_0x1e94e0,_0x8ada12){const _0x4a7ec7={_0x4eb283:0x3c5,_0x48bdba:0x303,_0xfcd2fa:0x432,_0x263b35:0x5f2,_0x245808:0x769,_0x3a2806:0x77c,_0x1e6a71:0x8ed,_0x1f7ebf:0x843,_0xad81f7:0x867,_0x318cf7:0x6ba,_0x41a530:0x90e,_0x209462:0x959,_0x3beac6:0x899,_0x354543:0x8e5,_0xf6e95:0x7ba,_0x8ca3f:0xb09},_0x47744a={_0x448527:0xf7},_0x3c526={_0x14a972:0x17d};function _0x4dd4e9(_0x10f99e,_0x1edfad,_0x24b709,_0x39f91b){return _0x3764a2(_0x39f91b-0x5a6,_0x1edfad-_0x3c526._0x14a972,_0x10f99e,_0x39f91b-0x1a3);}if(!this['conversationStore']||!this[_0x4dd4e9(_0x4a7ec7._0x4eb283,_0x4a7ec7._0x48bdba,_0x4a7ec7._0xfcd2fa,0x4d2)])return;function _0xa7307c(_0x1c3c19,_0x3bd28e,_0x56183e,_0x45761c){return _0x5a69d4(_0x1c3c19-0x19f,_0x56183e-_0x47744a._0x448527,_0x45761c,_0x45761c-0x1e9);}let _0x481af6=await this[_0x4dd4e9(0x54a,_0x4a7ec7._0x263b35,0x38f,0x4d2)][_0xa7307c(0x6a8,0x6cf,0x5c8,0x7d8)](_0x1e94e0);await this[_0x4dd4e9(_0x4a7ec7._0x245808,_0x4a7ec7._0x3a2806,0x6d5,_0x4a7ec7._0x1e6a71)][_0x4dd4e9(_0x4a7ec7._0x1f7ebf,0x650,_0x4a7ec7._0xad81f7,_0x4a7ec7._0x318cf7)](_0x1e94e0,{'messageCount':_0x481af6[_0xa7307c(0x867,0x8ff,_0x4a7ec7._0x41a530,0x976)]}),_0x8ada12&&await this[_0xa7307c(0xa7c,0x9e4,_0x4a7ec7._0x209462,_0x4a7ec7._0x3beac6)][_0x4dd4e9(_0x4a7ec7._0x354543,_0x4a7ec7._0xf6e95,_0x4a7ec7._0x8ca3f,0x8f7)](_0x1e94e0,_0x8ada12);}[_0x3764a2(0x385,0x32e,0x2a3,0x398)](_0xe1438d){const _0x37a252={_0x425ebb:0x530,_0x2df9c7:0x572,_0x149ed3:0x20a},_0x10b0c8={_0xb111f5:0x57b,_0x42d8f2:0xf8},_0x571679={_0xf3fadb:0x22b,_0xa445e2:0x19d,_0x44f7b8:0x12d};function _0x55941(_0x5bd264,_0x171af4,_0x42b01e,_0x222479){return _0x3764a2(_0x5bd264-_0x571679._0xf3fadb,_0x171af4-_0x571679._0xa445e2,_0x171af4,_0x222479-_0x571679._0x44f7b8);}let _0x48bcda=this['getCurrentConfig']();function _0x22ffe5(_0x3a3024,_0xec5603,_0x23b81e,_0x51e8f8){return _0x3764a2(_0x23b81e-_0x10b0c8._0xb111f5,_0xec5603-0xca,_0x51e8f8,_0x51e8f8-_0x10b0c8._0x42d8f2);}return this['llmFactory'][_0x22ffe5(0x84e,0xab1,0x900,0x8a7)](_0x48bcda[_0x55941(0x3fd,_0x37a252._0x425ebb,_0x37a252._0x2df9c7,_0x37a252._0x149ed3)],{'httpLogFile':_0xe1438d});}[_0x3764a2(0x1d0,0x3b2,-0x1f,0xfe)](){return this['llmFactory'];}async['checkContextWindowUsage'](_0x1fcad6,_0xdd2c1c){const _0x184d03={_0x248ffb:0x142,_0x2ff0ca:0x82,_0x40e313:0x311,_0x14939c:0x1a7,_0x2d3830:0x4ed,_0x3764a4:0x2c4,_0x2e7222:0x61,_0x452dbb:0xdf,_0x8abe24:0x24,_0x496dc9:0x6c,_0x283912:0x89,_0xb14553:0x95,_0x4ca8af:0x3f,_0x10d3ac:0x41d,_0x534cf1:0x1d9,_0x5531f5:0x1a9,_0x1676a5:0x110,_0x3610fb:0x138,_0x4515e8:0x232,_0x102bd4:0x287,_0x816ee9:0x242,_0x56b3fe:0x65,_0xaa8899:0x13d,_0x38dbeb:0x125,_0x5dc2cd:0xc9,_0x109b0d:0x15f,_0x5b5e0b:0x9e,_0x1cf43c:0xe9,_0x1cba28:0xc7,_0x256961:0x129,_0x3e7750:0x444,_0x20b94f:0x25f,_0x535f62:0xf9,_0x4da019:0xb8,_0x47d41c:0xe1,_0x13244e:0x9d,_0x319fce:0x226,_0x2e3c93:0x1b1,_0x5e312f:0x1fd,_0x2fcf73:0x7a,_0x9d6f2b:0x1e5,_0x2ccd19:0x14c,_0x3a3772:0x47b,_0x5f451e:0x124,_0x4c5489:0x77,_0x2e8420:0x13,_0x226d60:0xe3,_0x18f428:0x1b,_0x48af17:0x247,_0x4cf29e:0xc7,_0xc5c24f:0x3d3,_0x37eb98:0x36f,_0x2261b1:0x1c5,_0x2dee83:0x77,_0x134d46:0x1ae,_0x32d911:0x19,_0x2714e9:0x480,_0x256160:0x3d8,_0x470b18:0x394,_0x247120:0x16,_0x379acf:0x36e,_0x486c31:0x3f8,_0x5b0593:0x4d9,_0x849652:0x101,_0x29fc80:0x170,_0x36d9f9:0x1b3,_0x5b7fcd:0x320,_0x5921b9:0x4df,_0x137a95:0x2c5,_0x1296d6:0x496,_0x3b75ef:0x4d,_0x5c01cc:0xa4,_0x405374:0x144,_0x471be6:0x17,_0x5092c2:0x2c,_0x7c44d4:0x70,_0x5cfb5d:0x3ce,_0x498534:0xed,_0x3aa82b:0x352,_0x195ee0:0x1c1,_0x37856a:0x4b2,_0xc22dba:0x4b1,_0xd5aadf:0x2c,_0x1f4338:0x1fd,_0x39d8d1:0x14d},_0x5b86a9={_0x473cc4:0xe,_0x1ff6ea:0x193};if(!this[_0x432eba(_0x184d03._0x248ffb,_0x184d03._0x2ff0ca,0x1a7,_0x184d03._0x40e313)])return;function _0x432eba(_0x45362c,_0x8422b5,_0x5405c7,_0x2b6646){return _0x3764a2(_0x5405c7-_0x5b86a9._0x473cc4,_0x8422b5-_0x5b86a9._0x1ff6ea,_0x45362c,_0x2b6646-0x12e);}let _0x45bebc=He['getSnapshot'](this[_0x432eba(-0x36,0x3dc,_0x184d03._0x14939c,0x2a5)]),_0x4d4ee5=this[_0x2d997a(0x26b,0x88,_0x184d03._0x2d3830,_0x184d03._0x3764a4)]?.[_0x432eba(_0x184d03._0x2e7222,_0x184d03._0x452dbb,_0x184d03._0x8abe24,-_0x184d03._0x496dc9)](),_0x2f9894=await Co['getLimit'](_0x1fcad6,_0xdd2c1c,_0x4d4ee5?.[_0x432eba(0x25b,0x97,0x20f,0x2f6)]?.[_0x2d997a(-0x1f,-_0x184d03._0x283912,-0x1bf,-_0x184d03._0xb14553)](_0x4d4ee5));if(!_0x2f9894)return;let _0x22b7bd=_0x45bebc['currentPromptTokens']?_0x45bebc[_0x2d997a(_0x184d03._0x4ca8af,_0x184d03._0x10d3ac,-0x53,_0x184d03._0x534cf1)]/_0x2f9894[_0x2d997a(_0x184d03._0x5531f5,-_0x184d03._0x1676a5,-_0x184d03._0x3610fb,-0x89)]:0x0;function _0x2d997a(_0x2fd1d6,_0x5325d8,_0xeb2aa2,_0x143b7e){return _0x3764a2(_0x143b7e- -0x16,_0x5325d8-0x103,_0x5325d8,_0x143b7e-0x1c3);}if(He[_0x432eba(_0x184d03._0x4515e8,_0x184d03._0x102bd4,0xaa,-0x5d)](this['sessionId'],_0x2f9894[_0x432eba(-_0x184d03._0x816ee9,-0x15b,-_0x184d03._0x56b3fe,_0x184d03._0xaa8899)],_0x22b7bd),!!_0x45bebc['currentPromptTokens']){if(_0x22b7bd>=t[_0x432eba(_0x184d03._0x38dbeb,-_0x184d03._0x5dc2cd,_0x184d03._0x109b0d,0x281)]){k['emit'](_0x2d997a(0xe5,_0x184d03._0x5b5e0b,-_0x184d03._0x1cf43c,-_0x184d03._0x1cba28),{'id':_0x4881bd['randomUUID'](),'type':_0x2d997a(_0x184d03._0x256961,0x18a,_0x184d03._0x3e7750,_0x184d03._0x20b94f),'content':_0x432eba(-_0x184d03._0x535f62,0x11d,0x4d,-_0x184d03._0x4da019)+Math['round'](_0x22b7bd*0x64)+_0x2d997a(_0x184d03._0x47d41c,-_0x184d03._0x13244e,0x44,0x178)+_0x45bebc[_0x432eba(_0x184d03._0x319fce,_0x184d03._0x2e3c93,_0x184d03._0x5e312f,_0x184d03._0x2fcf73)][_0x432eba(0xf2,0x31c,_0x184d03._0x9d6f2b,0x349)]()+'/'+_0x2f9894[_0x2d997a(-_0x184d03._0x2ccd19,-0x4b,-0x103,-0x89)]['toLocaleString']()+_0x2d997a(0x176,0x228,_0x184d03._0x3a3772,0x38a),'metadata':{'timestamp':new Date()['toISOString']()},'color':_0x432eba(_0x184d03._0x5f451e,_0x184d03._0x4c5489,0x14d,0x268)});try{await this[_0x432eba(-_0x184d03._0x2e8420,-_0x184d03._0x226d60,0xba,0x2b4)](),k['emit'](_0x2d997a(-0xbc,-_0x184d03._0x18f428,-_0x184d03._0x48af17,-_0x184d03._0x4cf29e),{'id':_0x4881bd['randomUUID'](),'type':_0x2d997a(0x23b,0x49d,0x24c,_0x184d03._0x20b94f),'content':_0x432eba(0x396,_0x184d03._0xc5c24f,0x1e2,0x2f9),'metadata':{'timestamp':new Date()[_0x2d997a(_0x184d03._0x37eb98,0x2ef,0x407,0x302)]()},'color':_0x2d997a(0x1a0,_0x184d03._0x2261b1,0x349,0x2ee)});}catch(_0x1e04d4){k[_0x432eba(-0x5,-_0x184d03._0x2dee83,0xbc,0x1ba)]('ui:line',{'id':_0x4881bd[_0x2d997a(0x3bd,0x1b7,_0x184d03._0x134d46,0x38b)](),'type':_0x2d997a(_0x184d03._0x32d911,_0x184d03._0x2ccd19,0x13d,0x25f),'content':_0x2d997a(_0x184d03._0x2714e9,_0x184d03._0x256160,_0x184d03._0x470b18,0x2b7)+(_0x1e04d4 instanceof Error?_0x1e04d4[_0x432eba(-_0x184d03._0x5531f5,-_0x184d03._0x247120,0x82,0x17)]:_0x432eba(0x3a0,0x4f9,_0x184d03._0x379acf,_0x184d03._0x486c31)),'metadata':{'timestamp':new Date()[_0x432eba(0x303,_0x184d03._0x5b0593,0x326,0x451)]()},'color':_0x2d997a(0x439,0x194,0x1db,0x36d)});}}else _0x22b7bd>=t[_0x432eba(-0xff,_0x184d03._0x849652,0x98,0x13c)]&&k[_0x2d997a(0x23f,_0x184d03._0x29fc80,-_0x184d03._0x36d9f9,0x98)]('ui:line',{'id':_0x4881bd[_0x432eba(0x3f0,_0x184d03._0x5b7fcd,0x3af,_0x184d03._0x5921b9)](),'type':_0x2d997a(_0x184d03._0x137a95,_0x184d03._0x1296d6,0x1a,0x25f),'content':_0x432eba(0x80,-0x1b4,_0x184d03._0x3b75ef,_0x184d03._0x5c01cc)+Math[_0x2d997a(-0x236,_0x184d03._0x405374,-0xdf,-_0x184d03._0x471be6)](_0x22b7bd*0x64)+_0x2d997a(-_0x184d03._0x5092c2,0x270,_0x184d03._0x7c44d4,0x178)+_0x45bebc['currentPromptTokens'][_0x432eba(0x1ca,_0x184d03._0x5cfb5d,0x1e5,0x2f1)]()+'/'+_0x2f9894[_0x2d997a(0x128,-0x258,0x15b,-_0x184d03._0x283912)][_0x2d997a(_0x184d03._0x498534,0x2f7,_0x184d03._0x3aa82b,_0x184d03._0x195ee0)]()+'\x20tokens).\x20Consider\x20using\x20/summary\x20to\x20reduce\x20context.','metadata':{'timestamp':new Date()[_0x2d997a(0x3c5,_0x184d03._0x37856a,_0x184d03._0xc22dba,0x302)]()},'color':_0x432eba(-_0x184d03._0xd5aadf,_0x184d03._0x1f4338,_0x184d03._0x39d8d1,0x117)});}}async[_0x5a69d4(0x65b,0x5c7,0x656,0x559)](_0x454285={}){const _0x575d66={_0x4936d6:0x9,_0x448b65:0x215,_0x59325a:0x6c1,_0x10eac2:0x67d,_0x2ad5fe:0x341,_0x5ed15b:0xf7,_0x35eaf9:0x22d,_0x37e1b9:0x2a7,_0x1f0139:0x16e,_0x5b9255:0x31,_0x301a3c:0x1bd,_0x5abdcf:0x181,_0xf75540:0x13d,_0x454cd1:0x1e7,_0x56177b:0x4c3,_0x24a753:0x66d,_0x590b63:0x865,_0x46757b:0x97,_0x421406:0x29d,_0xcd6d3a:0x6c1,_0x55b225:0x6c7,_0xa8aaaf:0x6fc,_0x5e6883:0x8f,_0x4f4859:0x17a,_0x4bf278:0x17b,_0x5e868e:0x7b,_0xf10293:0xfe,_0x5a43b0:0x2dd,_0x327c59:0x252,_0x11aaf5:0x433,_0x260fee:0x49a,_0x2bba34:0x38e,_0x2c6a8a:0x6e0,_0x586ea4:0x155,_0x2ee0ea:0x4,_0x4c7108:0x25d,_0x7fd557:0x1b2,_0x2c1202:0x5b3,_0x2d401f:0x6b3,_0x47beda:0x2aa,_0x1e1d38:0x200,_0x30b97f:0x424,_0x2a49ab:0x43c,_0x468d47:0x2c9,_0x2a097e:0xfe,_0x1f41aa:0xa9,_0x2666e8:0x27e,_0x31a742:0x351,_0x35b9a3:0x7e,_0x2ba27c:0x1b4},_0x53a74b={_0x1ebacd:0x157},_0x2240b6={_0x449ea0:0x326,_0x58b9cd:0xfc};function _0x2a82c5(_0x3d1ecf,_0x5a4f17,_0x42433,_0x54cf19){return _0x3764a2(_0x3d1ecf-_0x2240b6._0x449ea0,_0x5a4f17-_0x2240b6._0x58b9cd,_0x5a4f17,_0x54cf19-0x107);}if(!this['memory'])throw new Error(_0x53fce2(-_0x575d66._0x4936d6,_0x575d66._0x448b65,0xb5,0x1b));if(!this[_0x2a82c5(0x4bf,_0x575d66._0x59325a,_0x575d66._0x10eac2,_0x575d66._0x2ad5fe)])throw new Error(_0x53fce2(_0x575d66._0x5ed15b,-0x13a,-0x56,0x46));let _0x1534eb=this['sessionId'],_0x62d81c=await this[_0x53fce2(_0x575d66._0x35eaf9,-0x2f,_0x575d66._0x37e1b9,_0x575d66._0x1f0139)](),_0x2bc99e=await this[_0x2a82c5(0x26a,0x215,0x476,0x464)]({'memPersist':!0x0});if(!_0x2bc99e[_0x53fce2(0x1ac,-_0x575d66._0x5b9255,_0x575d66._0x301a3c,0x42)]||!_0x2bc99e['sessionDir'])throw new Error(_0x53fce2(0x1b3,0x3b,_0x575d66._0x5abdcf,_0x575d66._0xf75540));let _0x32f022=_0x2bc99e[_0x53fce2(0xbf,-0xc2,_0x575d66._0x454cd1,0x42)],_0x32b736=_0x2bc99e['sessionDir'];this[_0x2a82c5(0x66d,_0x575d66._0x56177b,0x7a6,0x501)]&&await this[_0x2a82c5(_0x575d66._0x24a753,_0x575d66._0x590b63,0x72e,0x45d)][_0x53fce2(-0x20e,-0x27,_0x575d66._0x46757b,-0x43)](_0x2a82c5(_0x575d66._0x421406,0x43a,0x35a,0x8b),{'summarizedFrom':_0x1534eb,'topic':_0x2a82c5(_0x575d66._0xcd6d3a,0x729,0x5fe,0x826)+_0x1534eb});let _0x2b28c0={'id':_0x4881bd[_0x2a82c5(_0x575d66._0x55b225,0x7cb,0x909,_0x575d66._0xa8aaaf)](),'role':_0x53fce2(-_0x575d66._0x5e6883,0x297,-0xe,0x17c),'content':_0x53fce2(0x153,-_0x575d66._0x4f4859,_0x575d66._0x4bf278,-_0x575d66._0x5e868e)+_0x62d81c,'timestamp':new Date()[_0x53fce2(_0x575d66._0xf10293,0x20f,_0x575d66._0x5a43b0,0x1c1)]()};function _0x53fce2(_0x41325f,_0x259ebb,_0x2beecd,_0x5a53bc){return _0x3764a2(_0x5a53bc- -_0x53a74b._0x1ebacd,_0x259ebb-0xc4,_0x41325f,_0x5a53bc-0x12c);}return await this[_0x2a82c5(_0x575d66._0x327c59,0x13c,0x37a,_0x575d66._0x11aaf5)]?.[_0x2a82c5(_0x575d66._0x260fee,0x567,_0x575d66._0x2bba34,_0x575d66._0x2c6a8a)](_0x53fce2(-_0x575d66._0x586ea4,-0x12c,-0x41e,-0x1e0),[_0x2b28c0]),_0x454285[_0x2a82c5(0x24f,_0x575d66._0x2ee0ea,0x48c,0x1bb)]||(k['emit'](_0x53fce2(-0xbe,-_0x575d66._0x4c7108,-0x1d1,-_0x575d66._0x7fd557)),k['emit']('ui:line',{'id':_0x4881bd[_0x2a82c5(0x6c7,_0x575d66._0x2c1202,0x5b5,_0x575d66._0x2d401f)](),'type':_0x53fce2(0x3a9,_0x575d66._0x47beda,_0x575d66._0x1e1d38,0x17c),'content':_0x2b28c0[_0x2a82c5(0x420,_0x575d66._0x30b97f,0x3d6,0x256)],'metadata':{'timestamp':_0x2b28c0[_0x2a82c5(_0x575d66._0x2a49ab,_0x575d66._0x468d47,0x2c0,0x65a)]}}),k[_0x53fce2(0xdd,0x146,_0x575d66._0x2a097e,-_0x575d66._0x1f41aa)](_0x2a82c5(_0x575d66._0x2666e8,0x486,_0x575d66._0x31a742,_0x575d66._0x35b9a3))),He['reset'](_0x32f022),k['emit'](_0x53fce2(-0x11,-0x105,_0x575d66._0x2ba27c,-0x19),{'memPersist':!0x0}),{'summary':_0x62d81c,'previousSessionId':_0x1534eb,'newSessionId':_0x32f022,'newSessionDir':_0x32b736};}async['compressAndCreateNewSession'](_0x3788f3){const _0x19b310={_0x2d0704:0x1cd,_0x277b23:0xd9,_0x15d77b:0x1da,_0x12818b:0x439,_0x5944b1:0x509,_0x223945:0x635,_0x34bb16:0x46d,_0x80dab:0x43a,_0x118fd5:0x97,_0x3ec85f:0x1c9,_0x13ee94:0x200,_0x3df7f0:0x265,_0x20bb61:0x465,_0x123b44:0x3ec,_0x62362b:0x33,_0x1a1728:0x2cb,_0x3e4286:0x625,_0x1466c5:0x7bc,_0x55544f:0x2ee,_0x44c4c4:0x17,_0x4b2fdb:0x233,_0x167a13:0x1c2,_0x5f1e93:0x18e,_0x4fde40:0x683,_0x3d116f:0x483,_0x53b860:0x26d,_0x109081:0x244,_0x357f20:0x5d1,_0x49e431:0xa39,_0x5c9766:0x854,_0x39d8f9:0xa6,_0x513819:0x8a,_0x428893:0x59d,_0x1df44d:0x404,_0x4d6cc9:0x2ae,_0x599af1:0xea,_0x46bb8c:0x1f2,_0x2a9ccc:0x1a9,_0x240b88:0x47,_0x5a6e8b:0x423,_0x1124b6:0x1da,_0x49f24b:0xac,_0x52051a:0xc0,_0x889eab:0x18d,_0x42fb5e:0x56e,_0x5a6d95:0x667,_0xb9b658:0x7ac};if(!this[_0x45c2ed(-_0x19b310._0x2d0704,-_0x19b310._0x277b23,-0x5f,-_0x19b310._0x15d77b)])throw new Error(_0x2dfcdd(_0x19b310._0x12818b,0x618,0x632,_0x19b310._0x5944b1));if(!this[_0x2dfcdd(_0x19b310._0x223945,_0x19b310._0x34bb16,0x659,_0x19b310._0x80dab)])throw new Error(_0x45c2ed(-0x107,-0x4d,-0x146,_0x19b310._0x118fd5));function _0x45c2ed(_0x4e19a8,_0x2ecc51,_0x3036ad,_0xd6ae29){return _0x5a69d4(_0x4e19a8-0x1ab,_0xd6ae29- -0x621,_0x3036ad,_0xd6ae29-0x12);}function _0x2dfcdd(_0x602b86,_0x2c78fd,_0x538bda,_0x13a8be){return _0x3764a2(_0x538bda-0x4c0,_0x2c78fd-0x1b6,_0x13a8be,_0x13a8be-0x195);}let _0xd3a6d5=this[_0x45c2ed(_0x19b310._0x3ec85f,0x1b5,_0x19b310._0x13ee94,0x93)],_0xbed259=await this[_0x2dfcdd(_0x19b310._0x3df7f0,_0x19b310._0x20bb61,_0x19b310._0x123b44,0x272)][_0x45c2ed(-0x265,-_0x19b310._0x62362b,-_0x19b310._0x1a1728,-0x150)]('cli');if(!_0xbed259||_0xbed259[_0x2dfcdd(_0x19b310._0x3e4286,0x99f,_0x19b310._0x1466c5,0x92a)]===0x0)throw new Error(_0x45c2ed(-0x2f7,-_0x19b310._0x55544f,_0x19b310._0x44c4c4,-0x17d));let {compressed:_0x4cb3ac,stats:_0x27d9fc}=_0x3788f3(_0xbed259),_0x992fac=await this[_0x45c2ed(-0x3a8,-0x67,-_0x19b310._0x4b2fdb,-_0x19b310._0x167a13)]({'memPersist':!0x0});if(!_0x992fac['sessionId']||!_0x992fac['sessionDir'])throw new Error(_0x45c2ed(0x234,0x88,0x113,_0x19b310._0x5f1e93));let _0x2a39c4=_0x992fac[_0x2dfcdd(0x811,_0x19b310._0x4fde40,0x659,0x4ec)],_0x24e277=_0x992fac[_0x45c2ed(_0x19b310._0x3d116f,_0x19b310._0x53b860,0x15d,_0x19b310._0x109081)];return this['conversationStore']&&await this[_0x2dfcdd(_0x19b310._0x357f20,_0x19b310._0x49e431,0x807,_0x19b310._0x5c9766)][_0x45c2ed(0x214,-_0x19b310._0x39d8f9,_0x19b310._0x513819,0xe)](_0x2dfcdd(_0x19b310._0x428893,_0x19b310._0x1df44d,0x437,_0x19b310._0x4d6cc9),{'summarizedFrom':_0xd3a6d5,'topic':_0x45c2ed(_0x19b310._0x599af1,_0x19b310._0x46bb8c,_0x19b310._0x2a9ccc,0x26)+_0xd3a6d5}),await this[_0x45c2ed(_0x19b310._0x240b88,-0x167,-_0x19b310._0x5a6e8b,-_0x19b310._0x1124b6)]?.[_0x45c2ed(0x184,0x1e6,-0x1c2,0x3d)]('cli',_0x4cb3ac),He[_0x45c2ed(-0x102,_0x19b310._0x49f24b,-_0x19b310._0x52051a,-_0x19b310._0x889eab)](_0x2a39c4),k[_0x2dfcdd(0x386,0x32e,_0x19b310._0x42fb5e,0x773)](_0x2dfcdd(_0x19b310._0x5a6d95,0x5c6,0x5fe,_0x19b310._0xb9b658),{'memPersist':!0x0}),{'previousSessionId':_0xd3a6d5,'newSessionId':_0x2a39c4,'newSessionDir':_0x24e277,'stats':_0x27d9fc};}async['getModelContextLimit'](){const _0x57142f={_0xab845e:0x7db,_0x4a9957:0x779,_0x3fdcf5:0x694,_0x48e5f2:0x8c1,_0x27f002:0x4a9,_0x371d78:0x41d,_0x35dbec:0x50c,_0x2e5622:0x83c,_0x30e447:0x5d1,_0x1dbde4:0x7bc,_0x21d506:0x61d,_0x11bc2a:0x61a,_0x4ec384:0x577},_0xd9634b={_0x2fb47c:0x3ba,_0x208bf6:0x72},_0x53ac3a={_0x525573:0xcf};let _0x5ac482=this[_0x8965c3(_0x57142f._0xab845e,0x5f2,0x800,0x6c3)](),_0x41fca0=this[_0x8965c3(_0x57142f._0x4a9957,_0x57142f._0x3fdcf5,0x7e3,_0x57142f._0x48e5f2)]?.[_0x8965c3(_0x57142f._0x27f002,0x3d0,_0x57142f._0x371d78,_0x57142f._0x35dbec)]();function _0x282f7c(_0x905a95,_0x22f2f8,_0x4ccf30,_0x348c04){return _0x5a69d4(_0x905a95-0x165,_0x4ccf30-_0x53ac3a._0x525573,_0x22f2f8,_0x348c04-0x85);}function _0x8965c3(_0x52b7d4,_0x3b2330,_0x129e02,_0x336b22){return _0x3764a2(_0x3b2330-_0xd9634b._0x2fb47c,_0x3b2330-0x98,_0x129e02,_0x336b22-_0xd9634b._0x208bf6);}return(await Co['getLimit'](_0x5ac482[_0x282f7c(_0x57142f._0x2e5622,_0x57142f._0x30e447,_0x57142f._0x1dbde4,0x6fe)],_0x5ac482['model'],_0x41fca0?.['getModels']))?.[_0x282f7c(_0x57142f._0x21d506,_0x57142f._0x11bc2a,_0x57142f._0x4ec384,0x4a4)]??null;}async[_0x5a69d4(0x3eb,0x61d,0x829,0x462)](_0x3e58a5,_0x161572){const _0x148413={_0x19b8b4:0x1e3,_0x597dae:0xc9,_0x3e7cac:0x22,_0x5b543a:0x57c,_0x45b867:0x2d3,_0x46d0c1:0x91,_0x5d1873:0xa3,_0x2fc95b:0x61,_0x1274c9:0x413,_0x4fa916:0x320,_0x11d7b9:0x512,_0x3e60d6:0x304,_0x37abe6:0xf4,_0x19ece1:0x137,_0x59a326:0xcc,_0x2c4280:0x9f},_0x4c7bb5={_0x297461:0x12b,_0x222431:0x1ce},_0x75ca44={_0x573f3d:0x5c2};let _0xa6f977=this['orchestrator']?.[_0x65969(-_0x148413._0x19b8b4,-0x25e,-_0x148413._0x597dae,-_0x148413._0x3e7cac)]?.();if(!_0xa6f977)return;function _0x65969(_0x2e6831,_0x2c1859,_0x53241b,_0x55252f){return _0x5a69d4(_0x2e6831-0xa0,_0x55252f- -_0x75ca44._0x573f3d,_0x53241b,_0x55252f-0x2e);}function _0x165abd(_0x315720,_0x58e8ef,_0x463eb5,_0x48dddf){return _0x3764a2(_0x315720-0x377,_0x58e8ef-_0x4c7bb5._0x297461,_0x58e8ef,_0x48dddf-_0x4c7bb5._0x222431);}let _0x7811f3=this[_0x165abd(0x651,0x65d,0x50b,_0x148413._0x5b543a)]?.[_0x65969(-0xcc,-_0x148413._0x45b867,-0xc4,-_0x148413._0x46d0c1)](),_0x55db0e=await Co['getLimit'](_0x3e58a5,_0x161572,_0x7811f3?.['getModels']?.[_0x65969(-_0x148413._0x5d1873,0xa3,_0x148413._0x2fc95b,-0x126)](_0x7811f3));if(_0x55db0e){let _0x3ddbc7=_0xa6f977['getSnapshot']();_0xa6f977[_0x165abd(_0x148413._0x1274c9,_0x148413._0x4fa916,0x4d2,_0x148413._0x11d7b9)](_0x55db0e[_0x165abd(_0x148413._0x3e60d6,0x41e,_0x148413._0x37abe6,_0x148413._0x19ece1)],_0x3ddbc7[_0x65969(-_0x148413._0x59a326,_0x148413._0x2c4280,0x1ac,-0x97)]??0x0);}}async[_0x5a69d4(0x740,0x686,0x48b,0x751)](_0x4a5856,_0x48d806={},_0xe2d7ae={}){const _0x70242d={_0x4862a9:0x671,_0x17f63a:0x5e5,_0x1a55f9:0x5a1,_0x2a6f27:0x488,_0x3efa11:0x40f,_0x45432c:0x506,_0xaab9c2:0x2e0,_0x22b5f1:0x326,_0x5a283a:0x47a,_0x5b1cc5:0x7a7,_0x5b28fe:0x9bd,_0x4041e3:0x92c,_0x1a8e4e:0x933,_0x3e3e48:0x773,_0x409fcd:0x9e8,_0x5c5032:0x8df,_0x272c87:0x8d8,_0x33013f:0x561,_0x5cd4a0:0x737,_0x541766:0x961,_0x12e869:0x7f7,_0x1e83f7:0x614,_0xfc450:0x758,_0x135573:0xb7d,_0x2b63a4:0x5a1,_0xc31a64:0x626,_0x448d54:0x725,_0x149d9e:0x80b,_0xc9212a:0x8a6,_0x3b45d3:0x57a,_0x342d55:0x614,_0x179bc7:0x60e,_0x190817:0x253,_0x3077b4:0x1a8,_0xa4e285:0x445,_0x5d0dd1:0x58d,_0xbaf1b8:0x24a,_0x9dd4f6:0x489,_0xdd409f:0x3c9,_0x30f4cb:0x8cd,_0x561f46:0x7cc,_0x5de7b1:0x7b0,_0x3ee23c:0x573,_0x52cff3:0x61e,_0x435ef6:0x9b2,_0x3e1460:0x88d,_0x29cb5f:0x9b7,_0x5146c1:0x9d9,_0x362913:0x8b2,_0x2f8399:0x7be,_0x1c0c8e:0x9f2,_0x1f3455:0x8dd,_0x19ddbb:0x5c0,_0x39c992:0x76e,_0x585ca7:0x91d,_0x199024:0x3d5,_0x254937:0xb8,_0x281771:0x8f,_0x2d76d9:0x902,_0x441460:0x934,_0x261845:0xa74,_0x367fe9:0x5e9,_0x120108:0x743,_0x2c7971:0x45c,_0x35cf83:0xec,_0x59ba40:0x318,_0x182d6a:0x5e9,_0x29126b:0x77b,_0x440ee2:0x202,_0x2dc51d:0x76,_0x503bfc:0x305,_0x8fc4f4:0x55c,_0x15c83c:0x3fd,_0x56cfc4:0x267,_0x8efbce:0x2ac,_0x54dd60:0x2ad,_0x6b04be:0x3a6,_0x1a187a:0x2d6,_0x5b89ae:0x9e9,_0x4621b5:0x8ad,_0x409148:0x714,_0x18b9ed:0x708,_0xe94339:0x8c4},_0x12fe83={_0x300b56:0x1ba};if(!this[_0x105f1e(_0x70242d._0x4862a9,_0x70242d._0x17f63a,0x61d,_0x70242d._0x1a55f9)])throw new Error('Orchestrator\x20not\x20initialized,\x20wait\x20a\x20moment');this[_0x105f1e(0x679,_0x70242d._0x2a6f27,_0x70242d._0x3efa11,_0x70242d._0x45432c)]&&!this[_0x105f1e(_0x70242d._0xaab9c2,0x3be,_0x70242d._0x22b5f1,_0x70242d._0x5a283a)]&&await this[_0x7a8e5(_0x70242d._0x5b1cc5,0x96d,0x9ed,0x868)]();let _0x58d61f=this[_0x7a8e5(_0x70242d._0x5b28fe,0x83b,0x956,_0x70242d._0x4041e3)](),_0x3419a7=(_0x58d61f[_0x7a8e5(_0x70242d._0x1a8e4e,_0x70242d._0x3e3e48,0x644,0x953)][_0x105f1e(0x461,0x483,0x27f,0x4a3)]?.['persistHttpLog']??!0x1)&&this['sessionDir']?_0x300883[_0x7a8e5(_0x70242d._0x409fcd,_0x70242d._0x5c5032,_0x70242d._0x272c87,0xaa6)](this['sessionDir'],'http-log.json'):void 0x0,_0x54168e=this['createLLM'](_0x3419a7);function _0x7a8e5(_0x5b039e,_0x568ac0,_0x69c111,_0x422877){return _0x5a69d4(_0x5b039e-0x89,_0x568ac0-0xe8,_0x69c111,_0x422877-0x1f2);}this['orchestrator'][_0x7a8e5(_0x70242d._0x33013f,_0x70242d._0x5cd4a0,_0x70242d._0x541766,_0x70242d._0x12e869)](_0x54168e);let _0x4915ef={'model':_0x58d61f[_0x7a8e5(0x78b,_0x70242d._0x1e83f7,0x4d4,0x54b)],'reasoningEffort':_0x58d61f[_0x7a8e5(0x7a3,0x97e,_0x70242d._0xfc450,_0x70242d._0x135573)],..._0xe2d7ae};Object[_0x7a8e5(0x375,_0x70242d._0x2b63a4,0x4f1,_0x70242d._0xc31a64)](_0x4915ef)[_0x7a8e5(0xb12,0x8ff,0x7bd,_0x70242d._0x448d54)]>0x0&&(this[_0x7a8e5(_0x70242d._0x149d9e,0x8dd,0x9f8,_0x70242d._0xc9212a)]['updateConfig'](_0x4915ef),_0x4915ef[_0x7a8e5(_0x70242d._0x3b45d3,_0x70242d._0x342d55,0x47d,_0x70242d._0x179bc7)]&&(this[_0x105f1e(_0x70242d._0x190817,0x50b,_0x70242d._0x3077b4,0x2d8)]=_0x4915ef[_0x7a8e5(0x761,_0x70242d._0x1e83f7,_0x70242d._0xa4e285,_0x70242d._0x5d0dd1)])),await this[_0x105f1e(_0x70242d._0xbaf1b8,_0x70242d._0x9dd4f6,0x4e1,_0x70242d._0xdd409f)](_0x58d61f[_0x7a8e5(_0x70242d._0x30f4cb,0x7d5,_0x70242d._0x561f46,0x8a4)],_0x58d61f['model']);let _0x155b0f=_0x48d806[_0x7a8e5(_0x70242d._0x5de7b1,_0x70242d._0x3ee23c,_0x70242d._0x52cff3,0x4d9)]??this[_0x7a8e5(_0x70242d._0x435ef6,_0x70242d._0x3e1460,0x8a9,_0x70242d._0x29cb5f)][_0x7a8e5(_0x70242d._0x5146c1,_0x70242d._0x362913,_0x70242d._0x2f8399,0x9c7)](),_0x295c79=await this[_0x7a8e5(_0x70242d._0x1c0c8e,_0x70242d._0x1f3455,0x741,0xac2)][_0x7a8e5(_0x70242d._0x19ddbb,_0x70242d._0x39c992,0x6a0,_0x70242d._0x585ca7)](_0x4a5856,{..._0x48d806,'conversationId':_0x155b0f});function _0x105f1e(_0x489ae2,_0x9ab449,_0x5401dd,_0x474266){return _0x3764a2(_0x474266-0x2c7,_0x9ab449-0x1c8,_0x9ab449,_0x474266-_0x12fe83._0x300b56);}return _0x295c79&&this['conversationStore']&&(await this['updateConversationMetadataAfterSend'](_0x155b0f,{'promptTokens':_0x295c79[_0x105f1e(_0x70242d._0x199024,0x155,_0x70242d._0x254937,0x2ad)]?.[_0x105f1e(_0x70242d._0x281771,0x455,0x1ab,0x2b7)],'completionTokens':_0x295c79['metadata']?.[_0x7a8e5(0x762,_0x70242d._0x2d76d9,_0x70242d._0x441460,_0x70242d._0x261845)],'totalTokens':_0x295c79[_0x7a8e5(0x445,_0x70242d._0x367fe9,_0x70242d._0x120108,0x5fa)]?.[_0x105f1e(0x3c8,_0x70242d._0x2c7971,_0x70242d._0x35cf83,_0x70242d._0x59ba40)],'toolCalls':_0x295c79[_0x7a8e5(0x4e3,_0x70242d._0x182d6a,0x6fc,_0x70242d._0x29126b)]?.[_0x105f1e(0x4c,0x385,0xd3,_0x70242d._0x440ee2)],'responseTimeMs':_0x295c79[_0x105f1e(0x4ce,_0x70242d._0x2dc51d,_0x70242d._0x503bfc,0x2ad)]?.[_0x105f1e(0x19c,_0x70242d._0x8fc4f4,_0x70242d._0x15c83c,0x3c4)],'cost':_0x295c79[_0x105f1e(0x432,_0x70242d._0x56cfc4,_0x70242d._0x8efbce,_0x70242d._0x54dd60)]?.[_0x105f1e(0x130,0x185,_0x70242d._0x6b04be,_0x70242d._0x1a187a)]??void 0x0}),await this[_0x7a8e5(_0x70242d._0x5b89ae,_0x70242d._0x4621b5,_0x70242d._0x409148,0x9ed)](_0x58d61f[_0x7a8e5(_0x70242d._0x18b9ed,0x7d5,_0x70242d._0xe94339,0x939)],_0x58d61f['model'])),_0x295c79;}[_0x3764a2(-0x87,0xaf,0x10b,0x5a)](){const _0x49daae={_0x10f153:0x525,_0x4522dd:0x45c,_0xe3b681:0x764,_0x4691f0:0x9b8,_0x19831a:0x74c,_0x270ae1:0x56e,_0x2ce836:0x590,_0x3b6347:0x66e,_0x4856c3:0x766,_0x45baef:0x8cf,_0x1ed8cd:0x55f},_0x1410c7={_0x26597e:0xea,_0xe70be3:0x98,_0x26c2a6:0x165},_0x53e402={_0xa7ca04:0x1f3,_0x587d9e:0x13b};function _0x5e6bfc(_0x5568ad,_0x53b99c,_0x3107ee,_0x257a26){return _0x5a69d4(_0x5568ad-_0x53e402._0xa7ca04,_0x3107ee- -_0x53e402._0x587d9e,_0x53b99c,_0x257a26-0x16b);}function _0xc95ca9(_0x263528,_0x36bfed,_0x277e34,_0x33d0a2){return _0x5a69d4(_0x263528-_0x1410c7._0x26597e,_0x263528-_0x1410c7._0xe70be3,_0x277e34,_0x33d0a2-_0x1410c7._0x26c2a6);}this[_0xc95ca9(0x88d,0x780,0x97b,0x6e4)]=null,this['memory']=null,this[_0x5e6bfc(_0x49daae._0x10f153,0x538,0x3f1,0x4fb)]=_0x5e6bfc(0x4c2,_0x49daae._0x4522dd,0x564,0x505),this[_0xc95ca9(0x89b,_0x49daae._0xe3b681,_0x49daae._0x4691f0,0xa2c)]='Initializing',this[_0xc95ca9(_0x49daae._0x19831a,_0x49daae._0x270ae1,_0x49daae._0x2ce836,_0x49daae._0x3b6347)]=null,this['sessionDir']=null,this[_0xc95ca9(_0x49daae._0x4856c3,_0x49daae._0x45baef,0x53a,_0x49daae._0x1ed8cd)]=!0x1;}async[_0x3764a2(-0xbc,0xae,-0x57,-0x20a)](_0x47c4d7={}){const _0x35fb05={_0x4aa20a:0x91c,_0x3f1a46:0x655,_0x30a638:0x5dd,_0x25af56:0x7b5,_0x203b1c:0x90e,_0x271f3d:0x6ed,_0x1fc638:0x77d,_0x5c1d96:0x357,_0x44be96:0x27e,_0x136640:0x3c3,_0x56470b:0x47b,_0x621a3d:0x35f,_0x5d0999:0x744,_0x4b3e1c:0x753,_0x335d02:0x20c,_0x1e1362:0x1db,_0x3e7f8a:0x301,_0x157b21:0x15,_0x1461d3:0x36d,_0x37bdae:0x5c1,_0x1ea152:0x7f7,_0x6a8f59:0x72e,_0x15336e:0x724,_0x300a5b:0x67f,_0x1fab03:0x15c,_0x4764c7:0x147,_0x40df7d:0x605,_0x575403:0x802,_0x5f068d:0x850,_0x1f90f6:0x6c6,_0xa86af:0x7f5,_0x3924c0:0x6e1,_0x4589f6:0x255,_0xf3ffd0:0x423,_0x9f7dcd:0x70f,_0x8992ec:0x9ff,_0x52dadc:0x729,_0x22b682:0x87c,_0x2025be:0x8c0,_0x4acc29:0x551},_0x30d346={_0x2223f1:0x576,_0x3844d6:0x180};if(!this['orchestrator'])throw new Error(_0xa15a6e(_0x35fb05._0x4aa20a,0x821,0x6ec,0x88c));if(!this['handlers'])throw new Error(_0xa15a6e(0x670,0x3a5,0x5b4,0x373));let _0x5f2f76=_0x47c4d7[_0xa15a6e(0x966,_0x35fb05._0x3f1a46,0x7b5,_0x35fb05._0x30a638)]??this[_0xa15a6e(0x67b,0x790,_0x35fb05._0x25af56,0x608)],{sessionId:_0x19a2ad,sessionDir:_0x377717}=this[_0xa15a6e(0x5d0,_0x35fb05._0x203b1c,_0x35fb05._0x271f3d,_0x35fb05._0x1fc638)]({}),_0x40fef9=this[_0xa15a6e(0x73a,0x6d3,0x7ae,0x7fc)]()[_0x5b8d12(_0x35fb05._0x5c1d96,0x3cd,0x567,_0x35fb05._0x44be96)][_0x5b8d12(_0x35fb05._0x136640,0x52e,_0x35fb05._0x56470b,_0x35fb05._0x621a3d)]?.[_0xa15a6e(0x962,_0x35fb05._0x5d0999,0x780,_0x35fb05._0x4b3e1c)]??!0x1,_0x38812f=this['createMemory'](_0x377717,_0x5f2f76),_0x5dd101=this[_0x5b8d12(0x1c3,_0x35fb05._0x335d02,0x38,0x16c)](_0x377717,this[_0x5b8d12(_0x35fb05._0x1e1362,_0x35fb05._0x3e7f8a,-_0x35fb05._0x157b21,_0x35fb05._0x1461d3)],_0x40fef9,this[_0xa15a6e(0x7b0,_0x35fb05._0x37bdae,0x60c,_0x35fb05._0x1ea152)]);function _0x5b8d12(_0x61fef7,_0xe5e624,_0x457bc6,_0x2e9014){return _0x3764a2(_0x61fef7-0x1e7,_0xe5e624-0x2d,_0xe5e624,_0x2e9014-0x1bd);}function _0xa15a6e(_0x5d49e3,_0x18cf7a,_0x5541ee,_0x4a172c){return _0x3764a2(_0x5541ee-_0x30d346._0x2223f1,_0x18cf7a-0x85,_0x4a172c,_0x4a172c-_0x30d346._0x3844d6);}return this['orchestrator'][_0x5b8d12(0x565,0x785,0x47b,_0x35fb05._0x6a8f59)](_0x38812f),this[_0xa15a6e(_0x35fb05._0x15336e,_0x35fb05._0x300a5b,0x850,0x9a2)][_0x5b8d12(0x38d,0x4b2,_0x35fb05._0x1fab03,_0x35fb05._0x4764c7)](_0x5dd101),this[_0xa15a6e(_0x35fb05._0x40df7d,_0x35fb05._0x575403,_0x35fb05._0x5f068d,_0x35fb05._0x1f90f6)][_0xa15a6e(0xa88,_0x35fb05._0xa86af,0x86a,_0x35fb05._0x3924c0)](new It(_0x19a2ad,He)),this['memory']=_0x38812f,this['conversationStore']=new _0x3ddde5(_0x38812f),this[_0x5b8d12(0x426,_0x35fb05._0x4589f6,0x661,_0x35fb05._0xf3ffd0)]=_0x5f2f76,this[_0xa15a6e(0x667,0x73d,_0x35fb05._0x9f7dcd,0x82b)]=_0x5f2f76?_0x19a2ad:null,this[_0xa15a6e(0x8ef,0x855,0x8c0,_0x35fb05._0x8992ec)]=_0x5f2f76?_0x377717:null,this[_0xa15a6e(0x549,0x81b,_0x35fb05._0x52dadc,_0x35fb05._0x22b682)]=_0x5f2f76,{'sessionId':this['sessionId'],'sessionDir':this[_0xa15a6e(0x9d0,0x99c,_0x35fb05._0x2025be,0xada)],'memory':this[_0xa15a6e(_0x35fb05._0x4acc29,0x695,0x4a2,0x55a)]};}async[_0x3764a2(0x1ec,0x393,0x3de,0x3b4)](_0x2efd53){const _0x56895e={_0x582a9f:0x1dd,_0x36ceab:0x20e,_0x4eab6a:0x44d,_0x3d2cd4:0x2c1,_0x27a3aa:0x356,_0x28f6c8:0x33b,_0x17e3a6:0x4e7,_0x2952ac:0x659,_0x50bb01:0x3db,_0xf0653f:0x25d,_0x31a92e:0x22b,_0x1f276c:0x38b,_0x1ffb59:0x4d4,_0x4a39dd:0x464,_0x367e77:0x419,_0x1037a4:0x625,_0xfd86cf:0x624,_0x5ea95c:0x5b7,_0x30395c:0x372,_0x26e95b:0x517,_0x24337f:0x40c,_0x18efcd:0x20d,_0x5cb43a:0x277,_0x10bba1:0x1f4,_0x1a9f2c:0x24c,_0x56ac86:0x35b,_0x94e1a7:0x209,_0x4789ca:0x39,_0x1bac4d:0x505,_0x16b1d5:0x85f,_0x254748:0x43f,_0x3534b2:0x2cb,_0x559428:0x3b1,_0x36423c:0x473,_0x2b729b:0x490,_0x1ef896:0x45e,_0x497ce6:0x40b,_0xd04ad7:0x289,_0x4e025c:0x200,_0xccad:0x56b,_0x2ffba2:0x403,_0xee822b:0x240,_0x4a90a4:0x7c},_0x11e59d={_0x4bcb40:0x4b4,_0x40d64d:0x1a0},_0x469191={_0x2f5b8f:0xe3,_0x238d74:0x4};if(!this['orchestrator'])throw new Error(_0x3e0ed0(0x39b,0x2a4,0x10f,_0x56895e._0x582a9f));if(!this[_0x6a247c(_0x56895e._0x36ceab,0x2d1,0x506,0x20f)])throw new Error('Handlers\x20not\x20initialized');let {sessionId:_0x12b554,sessionDir:_0x2b9949}=_0x2efd53,_0xe23aaa=this['getCurrentConfig']()[_0x6a247c(0x30b,_0x56895e._0x4eab6a,_0x56895e._0x3d2cd4,_0x56895e._0x27a3aa)][_0x3e0ed0(0x10f,_0x56895e._0x28f6c8,0x331,0x243)]?.[_0x6a247c(0x720,_0x56895e._0x17e3a6,_0x56895e._0x2952ac,0x683)]??!0x1,_0x2d86c6=this[_0x3e0ed0(_0x56895e._0x50bb01,_0x56895e._0xf0653f,0x309,_0x56895e._0x31a92e)](_0x2b9949,!0x0),_0x1c03cd=this['createEventAdapter'](_0x2b9949,this[_0x3e0ed0(-0xba,0x17c,-0xfa,0x5b)],_0xe23aaa,this[_0x6a247c(_0x56895e._0x1f276c,0x373,0x450,_0x56895e._0x1ffb59)]);function _0x6a247c(_0x3ca399,_0x548688,_0x1bdb99,_0x2fcc2d){return _0x5a69d4(_0x3ca399-_0x469191._0x2f5b8f,_0x548688- -0x23e,_0x1bdb99,_0x2fcc2d-_0x469191._0x238d74);}function _0x3e0ed0(_0x5e91fc,_0x29ae28,_0x2ea999,_0x1878d8){return _0x5a69d4(_0x5e91fc-0x52,_0x1878d8- -_0x11e59d._0x4bcb40,_0x29ae28,_0x1878d8-_0x11e59d._0x40d64d);}return this[_0x6a247c(0x646,0x5b7,_0x56895e._0x1ffb59,_0x56895e._0x4a39dd)][_0x3e0ed0(_0x56895e._0x367e77,0x293,_0x56895e._0x1037a4,0x3e5)](_0x2d86c6),this[_0x6a247c(_0x56895e._0xfd86cf,_0x56895e._0x5ea95c,_0x56895e._0x30395c,_0x56895e._0x26e95b)][_0x3e0ed0(_0x56895e._0x24337f,0x3b6,0xfd,_0x56895e._0x18efcd)](_0x1c03cd),this[_0x3e0ed0(_0x56895e._0x5cb43a,0x51f,_0x56895e._0x10bba1,0x341)][_0x3e0ed0(_0x56895e._0x1a9f2c,0x19a,0x548,_0x56895e._0x56ac86)](new It(_0x12b554,He)),this[_0x6a247c(0xd2,_0x56895e._0x94e1a7,0x3dc,-_0x56895e._0x4789ca)]=_0x2d86c6,this[_0x6a247c(0x7c1,_0x56895e._0xfd86cf,_0x56895e._0x1bac4d,_0x56895e._0x16b1d5)]=new _0x3ddde5(_0x2d86c6),this['memPersist']=!0x0,this['sessionId']=_0x12b554,this[_0x3e0ed0(_0x56895e._0x254748,_0x56895e._0x3534b2,0x4ff,_0x56895e._0x559428)]=_0x2b9949,this[_0x6a247c(_0x56895e._0x36423c,_0x56895e._0x2b729b,0x264,_0x56895e._0x1ef896)]=!0x0,{'sessionId':this[_0x3e0ed0(_0x56895e._0x497ce6,0x1be,_0x56895e._0xd04ad7,_0x56895e._0x4e025c)],'sessionDir':this[_0x3e0ed0(0x1a8,_0x56895e._0xccad,_0x56895e._0x2ffba2,0x3b1)],'memory':this[_0x6a247c(0x345,0x209,_0x56895e._0xee822b,_0x56895e._0x4a90a4)]};}async[_0x5a69d4(0x812,0x7ae,0x939,0x6e3)](_0x5a69fc,_0x41d8f6){const _0x4389f2={_0x567ae9:0x1eb,_0x3483e1:0x2fc,_0x33a485:0x321,_0x2da617:0xe6,_0x2e8752:0x198,_0xf975b:0xf2,_0x1d64a0:0x372,_0xaccc96:0x136,_0x21699b:0x3ac,_0x3843cb:0x36c,_0x539197:0x80a,_0x243243:0x718,_0x1dcd2b:0x742,_0x9507b2:0x6da,_0x278af6:0x2c9,_0x3c954b:0x146,_0x61f0e7:0x2b1,_0x115241:0x722,_0x212a2b:0x806,_0xaa25cb:0x724,_0x4599b3:0x6a7,_0x2fbb60:0x6a7,_0x573feb:0x7e0,_0x3242a1:0x6c6,_0x48f525:0x69d,_0x2375e7:0x495,_0x1ba508:0x2b0,_0x12cd97:0x249,_0xa3c122:0x605,_0x5a7bf9:0x4ec,_0x400317:0x442,_0x5a4241:0x485,_0x2180a1:0x0,_0x15c276:0xea,_0x51088c:0x2,_0x15bee9:0x286,_0x131273:0x168,_0x426b97:0x343,_0x4f9082:0x9fa,_0x386f05:0x7fe,_0x5e0ab6:0x98b,_0x51fe85:0x98a,_0x184d8c:0x55e,_0x367d9f:0x4b8,_0xaaf584:0x3be,_0x45ace2:0x55a,_0xe00fdd:0x45b,_0x477a81:0x2b9,_0x28d6a8:0x27b,_0x542290:0xa7,_0x29894a:0x1a2,_0x1a1455:0xaa,_0x1836c7:0xf3,_0x8f2887:0x8d,_0x376239:0x368,_0x339981:0x3ef,_0x583635:0x238,_0x35e050:0x2ec,_0x5cd954:0x4d},_0x36fc28={_0x4ca4d5:0x114},_0x5cad86={_0x228157:0x134},_0x534b6e={_0x337845:0x572,_0x7f1d69:0x53e,_0x303ee:0x61b,_0x568b98:0x501,_0x562fcc:0x70c,_0x14edf5:0x64d,_0x386ae6:0x608,_0x3e59a9:0x6e1,_0x218419:0x702,_0x367deb:0x854,_0x340dcc:0x6d9,_0x58cd76:0x805,_0x433656:0x5d3,_0x2f80c9:0x5f7},_0x39ffc1={_0x190327:0x79,_0x286993:0x85},_0x10b4cc={_0x525407:0x59,_0x2894c5:0x1c1};let _0x2c90f5=_0x41d8f6??this['conversationContext'][_0x3b4a5c(_0x4389f2._0x567ae9,_0x4389f2._0x3483e1,_0x4389f2._0x33a485,_0x4389f2._0x2da617)](),_0x216e51='';if(this[_0x3b4a5c(-_0x4389f2._0x2e8752,-0x236,-_0x4389f2._0xf975b,-0x26)])try{let _0x41ca92=await this[_0x52e139(0x2e6,_0x4389f2._0x1d64a0,0x3de,_0x4389f2._0xaccc96)][_0x52e139(_0x4389f2._0x21699b,0x3fc,0x35c,_0x4389f2._0x3843cb)](_0x2c90f5);if(_0x41ca92&&_0x41ca92[_0x52e139(0x745,0x742,0x8d6,_0x4389f2._0x539197)]>0x0){let _0x5eda8e=_0x41ca92['filter'](_0x365f86=>_0x365f86['role']==='user');_0x5eda8e[_0x52e139(_0x4389f2._0x243243,_0x4389f2._0x1dcd2b,_0x4389f2._0x9507b2,0x80d)]>0x0&&(_0x216e51=_0x5eda8e[_0x3b4a5c(_0x4389f2._0x278af6,_0x4389f2._0x3c954b,0x261,_0x4389f2._0x61f0e7)](_0x5caeec=>{function _0x4707d0(_0x3d4d03,_0x148e64,_0x3adc53,_0x506143){return _0x52e139(_0x3d4d03-_0x10b4cc._0x525407,_0x3d4d03- -0x2,_0x3adc53,_0x506143-_0x10b4cc._0x2894c5);}function _0x3f3f48(_0x162358,_0x18e31e,_0x4fee63,_0x21ffbf){return _0x3b4a5c(_0x4fee63-0x6ab,_0x18e31e-_0x39ffc1._0x190327,_0x21ffbf,_0x21ffbf-_0x39ffc1._0x286993);}let _0x455ad8='';return typeof _0x5caeec['content']==_0x4707d0(0x7b9,0x72e,0x772,_0x534b6e._0x337845)?_0x455ad8=_0x5caeec[_0x4707d0(_0x534b6e._0x7f1d69,_0x534b6e._0x303ee,_0x534b6e._0x568b98,0x3c7)]:_0x5caeec[_0x3f3f48(_0x534b6e._0x562fcc,0x627,0x6e1,_0x534b6e._0x14edf5)]&&typeof _0x5caeec[_0x3f3f48(0x8dd,_0x534b6e._0x386ae6,_0x534b6e._0x3e59a9,0x573)]==_0x4707d0(0x63f,0x559,_0x534b6e._0x218419,_0x534b6e._0x367deb)&&_0x3f3f48(0x781,_0x534b6e._0x340dcc,_0x534b6e._0x58cd76,0x81c)in _0x5caeec[_0x4707d0(_0x534b6e._0x7f1d69,0x478,0x604,0x4b3)]&&(_0x455ad8=_0x5caeec['content'][_0x3f3f48(0x9b3,_0x534b6e._0x433656,0x805,_0x534b6e._0x2f80c9)]['map'](_0x50b8ab=>_0x50b8ab[_0x4707d0(0x491,0x5dd,0x4e8,0x3a4)]==='text'?_0x50b8ab[_0x3f3f48(0x808,0x69b,0x853,0xa09)]:'[non-text\x20content]')[_0x3f3f48(0x74b,0xa48,0x8c3,0x7d9)]('\x0a')),_0x455ad8;})[_0x52e139(0x59d,_0x4389f2._0x115241,0x84f,_0x4389f2._0x212a2b)]('\x0a\x0a'));}}catch{}function _0x52e139(_0x3ddff8,_0x3b3ce1,_0x25619d,_0x1b9d3c){return _0x3764a2(_0x3b3ce1-0x446,_0x3b3ce1-_0x5cad86._0x228157,_0x25619d,_0x1b9d3c-0x6);}function _0x3b4a5c(_0x472e41,_0x6abac9,_0x2ef012,_0x5f164e){return _0x3764a2(_0x472e41- -0xc4,_0x6abac9-0x193,_0x2ef012,_0x5f164e-_0x36fc28._0x4ca4d5);}let _0x1370f8=_0x216e51?_0x52e139(_0x4389f2._0xaa25cb,_0x4389f2._0x4599b3,0x8c3,0x83a)+_0x216e51+_0x52e139(_0x4389f2._0x2fbb60,_0x4389f2._0x573feb,0x6a9,_0x4389f2._0x3242a1)+_0x5a69fc+_0x52e139(_0x4389f2._0x48f525,0x591,_0x4389f2._0x2375e7,0x741):_0x3b4a5c(_0x4389f2._0x1ba508,_0x4389f2._0x12cd97,0x71,0x422)+_0x5a69fc+_0x52e139(_0x4389f2._0xa3c122,0x591,_0x4389f2._0x5a7bf9,_0x4389f2._0x400317),_0x315510=this[_0x52e139(0x4b9,0x67e,_0x4389f2._0x5a4241,0x473)](),_0x180e18=(_0x315510['config'][_0x3b4a5c(0x118,0x63,-0xc7,-0x26)]?.[_0x3b4a5c(_0x4389f2._0x2180a1,_0x4389f2._0x15c276,_0x4389f2._0x51088c,-0x136)]??!0x1)&&this[_0x3b4a5c(_0x4389f2._0x15bee9,0x352,_0x4389f2._0x131273,_0x4389f2._0x426b97)]?_0x300883['join'](this['sessionDir'],_0x52e139(_0x4389f2._0x4f9082,_0x4389f2._0x386f05,_0x4389f2._0x5e0ab6,_0x4389f2._0x51fe85)):void 0x0,_0x61478d=this['createLLM'](_0x180e18),_0x9aa452=new _0x5e955d(),_0x545539=new _0x2a2a13({'agentRegistry':new _0x4d3f4b({'filePersistence':void 0x0})}),_0x5d7a60={'id':_0x52e139(_0x4389f2._0x184d8c,_0x4389f2._0x367d9f,_0x4389f2._0xaaf584,_0x4389f2._0x45ace2),'systemPrompt':_0x52e139(_0x4389f2._0xe00fdd,0x387,_0x4389f2._0x477a81,_0x4389f2._0x28d6a8),'temperature':0.3,'topP':0x1,'model':_0x315510['model'],'enabledTools':[],'maxToolConcurrency':0x0,'reasoningEffort':void 0x0},_0x3d42a7=new _0x4882e3(_0x5d7a60,{'memory':_0x9aa452,'llm':_0x61478d,'tools':_0x545539});try{return(await _0x3d42a7[_0x3b4a5c(_0x4389f2._0x542290,_0x4389f2._0x29894a,0xef,0x1fe)](_0x1370f8))[_0x3b4a5c(0x36,-_0x4389f2._0x1a1455,_0x4389f2._0x1836c7,_0x4389f2._0x8f2887)][_0x52e139(_0x4389f2._0x376239,_0x4389f2._0x339981,0x3ba,0x46d)]();}catch{return _0x5a69fc[_0x3b4a5c(_0x4389f2._0x583635,0x9e,_0x4389f2._0x35e050,0x321)]<0x32?_0x5a69fc:_0x3b4a5c(0x8f,0xcb,0x297,-_0x4389f2._0x5cd954);}}async['updateConversationTopic'](_0xa339c5,_0xaceae8){const _0x5f13ed={_0x33aeae:0x857},_0x3773de={_0x5de20d:0x32};function _0x927401(_0x4c3030,_0x5583b9,_0x2dd5cd,_0x8a5010){return _0x5a69d4(_0x4c3030-0x79,_0x8a5010-0x28,_0x5583b9,_0x8a5010-_0x3773de._0x5de20d);}if(!this['conversationStore'])throw new Error('ConversationStore\x20not\x20initialized');await this['conversationStore'][_0x927401(0x904,0xb06,_0x5f13ed._0x33aeae,0x8d8)](_0xa339c5,_0xaceae8);}async[_0x5a69d4(0x6b4,0x49e,0x34e,0x446)](_0x4ee1aa,_0x3d6c50){const _0x3abc66={_0x500f67:0x3ff,_0x1e6f54:0x52a,_0x5cef08:0x60b,_0x9d896b:0x456,_0xe459d6:0x408,_0x4b811b:0x2ee,_0x2c4d77:0x348},_0x57c890={_0x35d024:0x29},_0x9ac1b5={_0xc3a55c:0xf7};function _0x5876f2(_0x3002bf,_0x182a1d,_0x376d97,_0x5565ab){return _0x5a69d4(_0x3002bf-0x139,_0x182a1d- -0x223,_0x376d97,_0x5565ab-_0x9ac1b5._0xc3a55c);}let _0x1a213b=_0x3d6c50??this[_0x4bdfe1(0x3f1,0x2d3,_0x3abc66._0x500f67,0x43c)][_0x5876f2(_0x3abc66._0x1e6f54,0x5a7,0x4f4,_0x3abc66._0x5cef08)](),_0x3ef14a=await this[_0x4bdfe1(_0x3abc66._0x9d896b,0x25d,_0x3abc66._0xe459d6,0x3d2)](_0x4ee1aa);function _0x4bdfe1(_0x11c783,_0x101b14,_0x5aa4c7,_0x1db7b4){return _0x3764a2(_0x5aa4c7-0x175,_0x101b14-_0x57c890._0x35d024,_0x11c783,_0x1db7b4-0xa2);}return await this[_0x5876f2(0x470,0x487,_0x3abc66._0x4b811b,_0x3abc66._0x2c4d77)](_0x1a213b,_0x3ef14a),_0x3ef14a;}[_0x5a69d4(0x736,0x871,0x9cb,0x97c)](){return this['conversationContext'];}async[_0x5a69d4(0x759,0x5bd,0x4ed,0x753)](_0x34d2ed){const _0x23aa46={_0xede713:0x37a,_0x5e891b:0x21e,_0x12fea2:0x49f,_0x4ce88b:0x37f,_0x3e46a1:0x3ba},_0xb11992={_0x19ef4b:0x508},_0x5481b2={_0x1c03bf:0x1b4,_0x5b687a:0x3c3,_0x4735cb:0xe5};function _0x3a32e1(_0x1713a6,_0x230d06,_0x307857,_0x428df2){return _0x5a69d4(_0x1713a6-_0x5481b2._0x1c03bf,_0x230d06- -_0x5481b2._0x5b687a,_0x307857,_0x428df2-_0x5481b2._0x4735cb);}if(!this['conversationStore'])throw new Error(_0x3a32e1(_0x23aa46._0xede713,_0x23aa46._0x5e891b,0x305,0x216));function _0xe9927c(_0x5cfa99,_0x5bf02f,_0x5721d5,_0x369bb5){return _0x3764a2(_0x5721d5-_0xb11992._0x19ef4b,_0x5bf02f-0x170,_0x369bb5,_0x369bb5-0x45);}return(await this[_0x3a32e1(0x578,_0x23aa46._0x12fea2,0x5cd,0x470)][_0x3a32e1(0x4d5,_0x23aa46._0x4ce88b,_0x23aa46._0x3e46a1,0x55a)](_0x34d2ed))['metadata'];}async[_0x5a69d4(0x615,0x55d,0x56b,0x542)](){const _0x3363e5={_0x3b389a:0x11a,_0xeaa42a:0x464},_0x184f31={_0x2fbf60:0x1c,_0x202c3f:0x5db,_0x363855:0x58};if(!this[_0x36cc2c(_0x3363e5._0x3b389a,0x287,_0x3363e5._0xeaa42a,0x2a6)])throw new Error('ConversationStore\x20not\x20initialized');function _0x36cc2c(_0x5d5c90,_0x422b19,_0x1ef36f,_0x5c62a3){return _0x5a69d4(_0x5d5c90-_0x184f31._0x2fbf60,_0x422b19- -_0x184f31._0x202c3f,_0x5c62a3,_0x5c62a3-_0x184f31._0x363855);}return this['conversationStore']['listConversations']();}[_0x3764a2(0x98,-0x136,0x289,-0x153)](){return this['conversationStore'];}async[_0x5a69d4(0x8de,0x7e0,0xa09,0x823)](){const _0x401031={_0x59c0cb:0x543,_0x101c9f:0xb2,_0x4f100c:0x23c,_0xf8642c:0x1fe,_0x3919db:0x1bf,_0x5ba08f:0x6cd,_0x12f4df:0x4c3,_0x411967:0x547,_0x349c83:0x383,_0x26f5db:0x3d8,_0x1d4f78:0x39f,_0x65b20a:0x22e,_0x2a11ab:0x2a1,_0x23de69:0xe4,_0x31f517:0x399,_0xd3545a:0x376,_0x55fa71:0x3e7,_0x1722fd:0x1b2,_0x353996:0x25b,_0x13e914:0x7d,_0x4cfe6f:0x109,_0x56e5fb:0xc,_0x26f1ca:0x1c0,_0x261406:0x547,_0x12ddd9:0x23f,_0x44e2f2:0x13d,_0x38f86a:0x30},_0x45bb78={_0x1cbdcd:0x78a,_0x5241bc:0x603,_0x5c4e46:0x702,_0x4fae8a:0x17d,_0x5d087c:0x493,_0x38174b:0x589,_0xa2a0c7:0x381,_0xa85060:0x362,_0x2608d7:0x396,_0x3b469f:0x46f,_0x45f5e9:0x23b,_0x3030e5:0x48e,_0xe7841e:0x4f4,_0x430310:0x3fe,_0x1b3076:0x3bf,_0x40a248:0x529,_0x384b1d:0x44c,_0x23b1d8:0x21e,_0x5e41b2:0x868,_0x54e059:0x7bc,_0x103f6b:0x6fe,_0x4b80ee:0x7e5,_0x26a2ab:0x70b},_0x2185f2={_0x36afd2:0x3d1},_0x44e6e7={_0x29d0ec:0x197};function _0x3bbfd9(_0x4a82e5,_0x181160,_0x244bc8,_0x3d621b){return _0x3764a2(_0x3d621b- -0x12a,_0x181160-_0x44e6e7._0x29d0ec,_0x181160,_0x3d621b-0x5f);}if(!this['memory'])throw new Error(_0x937ce9(_0x401031._0x59c0cb,0x5e7,0x587,0x336));let _0x5c488b=await this[_0x3bbfd9(-_0x401031._0x101c9f,-0x3e7,-_0x401031._0x4f100c,-_0x401031._0xf8642c)]['get'](_0x937ce9(0x348,0x35e,0x526,_0x401031._0x3919db));if(!_0x5c488b||_0x5c488b[_0x937ce9(_0x401031._0x5ba08f,_0x401031._0x12f4df,0x659,0x89b)]===0x0)return _0x937ce9(0x402,_0x401031._0x411967,0x647,0x2ee);function _0x937ce9(_0x281ff9,_0x40fb9f,_0x5f4127,_0x2270c5){return _0x3764a2(_0x281ff9-_0x2185f2._0x36afd2,_0x40fb9f-0x35,_0x2270c5,_0x2270c5-0x1a1);}let _0x1201f4=_0x5c488b['map'](_0x115b3e=>{const _0x2818d3={_0xb3ec7e:0x1a3};function _0x4330fe(_0x53cf30,_0x5d3891,_0x5031d0,_0x5ed1b2){return _0x937ce9(_0x5ed1b2-0x5e,_0x5d3891-0x11b,_0x5031d0-0xda,_0x5d3891);}function _0x1d0a57(_0x351318,_0x2744e9,_0x584205,_0x2c93ec){return _0x937ce9(_0x584205- -_0x2818d3._0xb3ec7e,_0x2744e9-0x14c,_0x584205-0x130,_0x351318);}let _0x11167d=_0x115b3e[_0x4330fe(0x963,0x9c8,0x609,_0x45bb78._0x1cbdcd)]===_0x4330fe(0x747,0x6fd,_0x45bb78._0x5241bc,_0x45bb78._0x5c4e46)?_0x1d0a57(_0x45bb78._0x4fae8a,0x4c,0x161,0x268):_0x115b3e[_0x1d0a57(_0x45bb78._0x5d087c,0x46a,_0x45bb78._0x38174b,_0x45bb78._0xa2a0c7)]==='assistant'?_0x1d0a57(0x7a8,0x53d,0x576,0x675):'Tool',_0x29cc34='';return typeof _0x115b3e[_0x1d0a57(0x331,0x2d2,0x328,_0x45bb78._0xa85060)]==_0x1d0a57(_0x45bb78._0x2608d7,_0x45bb78._0x3b469f,0x5a3,0x62f)?_0x29cc34=_0x115b3e['content']:_0x115b3e[_0x1d0a57(_0x45bb78._0x45f5e9,_0x45bb78._0x3030e5,0x328,_0x45bb78._0xe7841e)]&&typeof _0x115b3e[_0x4330fe(0x558,_0x45bb78._0x430310,0x70c,0x529)]=='object'&&_0x1d0a57(_0x45bb78._0x1b3076,_0x45bb78._0x40a248,_0x45bb78._0x384b1d,_0x45bb78._0x23b1d8)in _0x115b3e[_0x1d0a57(0x359,0x468,0x328,0x4d9)]&&(_0x29cc34=_0x115b3e['content']['parts'][_0x4330fe(0x6c1,0x680,_0x45bb78._0x5e41b2,_0x45bb78._0x54e059)](_0x3d7a2c=>_0x3d7a2c[_0x4330fe(0x59c,0x528,0x5e9,0x47c)]===_0x1d0a57(0x6d2,0x4f6,0x49a,0x261)?_0x3d7a2c[_0x4330fe(0x468,0x519,0x6b0,0x69b)]:_0x1d0a57(0x1a2,0x319,0x358,0x42a))[_0x4330fe(0x8d4,_0x45bb78._0x103f6b,_0x45bb78._0x4b80ee,_0x45bb78._0x26a2ab)]('\x0a')),_0x11167d+':\x20'+_0x29cc34;})['join']('\x0a\x0a'),_0x17a9b3=_0x3bbfd9(_0x401031._0x349c83,_0x401031._0x26f5db,_0x401031._0x1d4f78,_0x401031._0x65b20a),_0x252b11=this['getCurrentConfig'](),_0xa6c47f=this[_0x3bbfd9(_0x401031._0x2a11ab,-_0x401031._0x23de69,0x199,0x115)]&&this[_0x3bbfd9(0x44c,0x288,_0x401031._0x31f517,0x220)]?_0x300883[_0x3bbfd9(0x350,_0x401031._0xd3545a,_0x401031._0x55fa71,_0x401031._0x1722fd)](this['sessionDir'],'http-log.json'):void 0x0,_0x1a2ae3=this[_0x3bbfd9(0x312,0x311,0x399,_0x401031._0x353996)](_0xa6c47f),_0x49d421=new _0x5e955d(),_0x93c05b=new _0x2a2a13({'agentRegistry':new _0x4d3f4b({'filePersistence':void 0x0})}),_0x423918={'id':_0x3bbfd9(-0x14d,_0x401031._0x13e914,_0x401031._0x4cfe6f,-_0x401031._0x56e5fb),'systemPrompt':_0x17a9b3,'temperature':0.7,'topP':0x1,'model':_0x252b11[_0x937ce9(0x3e2,_0x401031._0x26f1ca,_0x401031._0x261406,_0x401031._0x12ddd9)],'enabledTools':[],'maxToolConcurrency':0x0,'reasoningEffort':void 0x0},_0x57bdf2={'memory':_0x49d421,'llm':_0x1a2ae3,'tools':_0x93c05b,'context':new _0x6d926c(),'ids':new _0x4b3ddf(),'clock':new _0x136555(),'cost':new _0x15dc1d(),'reminders':new _0x286d86()};return(await new _0x4882e3(_0x423918,_0x57bdf2)[_0x3bbfd9(-_0x401031._0x44e2f2,-0x61,-0xfb,0x41)](_0x1201f4))[_0x3bbfd9(-0x249,-0x26a,-0x275,-_0x401031._0x38f86a)];}},de=new Ar();import{createContext as _0x34531f,useContext as _0x227182,useState as _0x1990d2,useEffect as _0x44d4f3,useCallback as _0x3368d5,useRef as _0x356330,useMemo as _0x6b53ff}from'react';import{jsx as _0x4bbb89}from'react/jsx-runtime';var as=_0x34531f(void 0x0);function ag({requireToolApproval:_0x168eb5,onError:_0x487b6d,children:_0x2fbcfa,orchestratorManager:_0x2dc30e}){const _0x12977c={_0x13cd0a:0x744,_0x1c2b3a:0x38e,_0x14eb06:0x5b0,_0xd0b29e:0x79d,_0x39c206:0x87e,_0x317b04:0x744,_0x36c9b9:0x62b,_0x4d0a9e:0x4f3},_0xfd6ced={_0x26921d:0x9a,_0x4cb9ab:0x1db},_0x2d805a={_0xbc0289:0x5dc,_0xad6871:0x765,_0x31b60c:0x67b,_0x432ef4:0x76b,_0x142607:0x47f,_0x45a8e8:0x3d3,_0x540afb:0x3db},_0x191f18={_0x2666c9:0xca},_0x20f1e7={_0x5d2837:0x3e5,_0x3f8faf:0x5c2,_0x5c46c5:0x31a,_0x324d6b:0x3e0,_0x482406:0x7b7,_0x538da5:0x46b,_0x187420:0x637,_0x9ffa20:0x8cb,_0x4946a3:0x64f,_0x363f5a:0x598,_0x564f42:0x8c2,_0x3bc89e:0x29f,_0x22ecd5:0x3e2,_0x14ba76:0x48a};let [_0x23ddee,_0x110ef0]=_0x1990d2(_0x168eb5),[_0x2636ea,_0x67eacc]=_0x1990d2(null),[_0x52767d,_0x41dd72]=_0x1990d2(new Set()),_0x9016f2=_0x3368d5(_0x5b0dc7=>{_0x41dd72(_0x1cf1d7=>new Set(_0x1cf1d7)['add'](_0x5b0dc7));},[]),_0x3dd8b7=_0x3368d5(()=>{_0x41dd72(new Set());},[]),_0x2f9ea6=_0x3368d5((_0x23006b,_0x35a03c,_0x124eb2)=>{function _0x57f112(_0x4e0624,_0x10b60d,_0x8a6606,_0x276cc3){return _0x4e8e(_0x276cc3-0x1d1,_0x10b60d);}function _0x31a48e(_0x2d8c21,_0x16e9d3,_0x40b4f5,_0x267bb1){return _0x4e8e(_0x2d8c21- -0x81,_0x267bb1);}if(!(!_0x2636ea||!_0x2dc30e?.[_0x31a48e(_0x20f1e7._0x5d2837,_0x20f1e7._0x3f8faf,_0x20f1e7._0x5c46c5,_0x20f1e7._0x324d6b)]()))try{_0x2dc30e?.[_0x57f112(0x7a0,_0x20f1e7._0x482406,_0x20f1e7._0x538da5,_0x20f1e7._0x187420)]()?.[_0x57f112(_0x20f1e7._0x9ffa20,0x728,_0x20f1e7._0x4946a3,0x6b0)](_0x2636ea[_0x57f112(0x613,_0x20f1e7._0x363f5a,_0x20f1e7._0x564f42,0x7bd)],_0x23006b,_0x35a03c,_0x124eb2),_0x67eacc(null);}catch(_0x58bba3){let _0x292462=_0x58bba3 instanceof Error?_0x58bba3['message']:String(_0x58bba3);_0x487b6d(_0x57f112(_0x20f1e7._0x3bc89e,_0x20f1e7._0x22ecd5,0x265,_0x20f1e7._0x14ba76)+_0x292462);}},[_0x2636ea,_0x487b6d,_0x2dc30e?.[_0x58d866(0x584,0x8d2,_0x12977c._0x13cd0a,0x642)]]),_0x230e1c=_0x356330(_0x52767d);_0x230e1c['current']=_0x52767d;let _0x440887=_0x356330(_0x487b6d);_0x440887[_0x58d866(_0x12977c._0x1c2b3a,0x46f,_0x12977c._0x14eb06,_0x12977c._0xd0b29e)]=_0x487b6d,_0x44d4f3(()=>{const _0x22307a={_0x41c88d:0x8bb,_0x13c2c4:0x466,_0x5958fe:0x6cc,_0xd8d4c0:0x4e5,_0x21312c:0x62b,_0x2c0d10:0x8ed,_0x3d7274:0x8d0,_0x31a1a4:0x49c},_0x20c71a={_0x146cc2:0x125},_0x435c7d={_0x52e55d:0x126,_0x583a12:0x131},_0x58b41c={_0x31a853:0x2b9,_0x4b8151:0x4b,_0x59155e:0xbf,_0x224a81:0x183,_0x129d7f:0x4a,_0x15528:0x1d3,_0x245610:0xc0,_0x390f52:0x155,_0x18aabb:0x352,_0x1c53bd:0x381,_0x19af48:0x4cd,_0x4045e3:0x1a4,_0x42ad7f:0x3c,_0x4cff0d:0x45a,_0xca8a30:0x166,_0x19483d:0x23e,_0x47f48f:0x302,_0x2d4798:0x418,_0x8b98c9:0x276,_0xd7611e:0xa1,_0x49ffed:0x2d9,_0x22fba6:0x17d,_0x42c177:0x3aa,_0x3982b0:0x114,_0x308b6c:0x165,_0x535354:0x1ab,_0x4c101b:0x20b,_0x3cecb2:0x66,_0x2c9567:0x142,_0x8ab832:0x35,_0x17e12f:0x110,_0x184d64:0x1a8,_0x2f686c:0x162},_0x4fe4e7={_0x3a0df1:0x288};function _0x2ff6c7(_0x415b46,_0x4749f2,_0x57c8df,_0xc64503){return _0x58d866(_0x415b46-_0x191f18._0x2666c9,_0x415b46,_0x57c8df- -0x216,_0xc64503-0x39);}let _0x105d61=async _0x21196b=>{function _0xd39413(_0x3fad70,_0xaa9522,_0x1a67f8,_0xd51fc3){return _0x4e8e(_0xd51fc3- -0xc7,_0xaa9522);}function _0x3604ed(_0x55791d,_0x395c9b,_0x1e1b8d,_0x5abb51){return _0x4e8e(_0x5abb51- -_0x4fe4e7._0x3a0df1,_0x55791d);}try{let _0x4b4d87=await ho(_0x21196b[_0x3604ed(-_0x58b41c._0x31a853,-_0x58b41c._0x4b8151,-0x2c7,-_0x58b41c._0x59155e)]),_0x286e83=[],_0x55f889=[];for(let _0x5e1296 of _0x4b4d87)_0x230e1c[_0x3604ed(_0x58b41c._0x224a81,-0x14b,0x78,_0x58b41c._0x129d7f)][_0x3604ed(_0x58b41c._0x15528,0x2e2,-_0x58b41c._0x245610,_0x58b41c._0x390f52)](_0x5e1296[_0x3604ed(_0x58b41c._0x18aabb,0x163,_0x58b41c._0x1c53bd,0x273)][_0x3604ed(0x2a2,_0x58b41c._0x19af48,_0x58b41c._0x4045e3,0x2c3)])?_0x286e83['push'](_0x5e1296):_0x55f889[_0xd39413(_0x58b41c._0x42ad7f,_0x58b41c._0x4cff0d,_0x58b41c._0xca8a30,_0x58b41c._0x19483d)](_0x5e1296);if(_0x286e83[_0x3604ed(0x1fd,0xba,0x2dc,_0x58b41c._0x47f48f)]>0x0&&_0x2dc30e?.['getOrchestrator']())try{_0x2dc30e?.[_0x3604ed(0x1bc,_0x58b41c._0x2d4798,0x76,0x1de)]()?.[_0x3604ed(0x456,_0x58b41c._0x8b98c9,_0x58b41c._0xd7611e,0x257)](_0x21196b['approvalId'],_0xd39413(_0x58b41c._0x49ffed,0x5d8,_0x58b41c._0x22fba6,_0x58b41c._0x42c177),_0x286e83);}catch(_0x246144){let _0x1f9501=_0x246144 instanceof Error?_0x246144[_0x3604ed(0xf9,_0x58b41c._0x3982b0,-0x1b0,0x7a)]:String(_0x246144);_0x440887[_0xd39413(_0x58b41c._0x308b6c,0x14d,_0x58b41c._0x535354,_0x58b41c._0x4c101b)](_0xd39413(0x4ab,0x29f,_0x58b41c._0x3cecb2,0x282)+_0x1f9501);}_0x55f889['length']>0x0&&_0x67eacc({..._0x21196b,'toolCalls':_0x55f889});}catch(_0x59d681){let _0x30a334=_0x59d681 instanceof Error?_0x59d681['message']:String(_0x59d681);_0x440887[_0xd39413(0x1e,_0x58b41c._0x2c9567,_0x58b41c._0x8ab832,0x20b)](_0x3604ed(-0x8,_0x58b41c._0x17e12f,_0x58b41c._0x184d64,_0x58b41c._0x2f686c)+_0x30a334);}},_0x310411=()=>{_0x3dd8b7();},_0x380680=()=>{_0x3dd8b7();};function _0x444ce1(_0x36bee4,_0x4d3741,_0x5388cb,_0x4f88d9){return _0x58d866(_0x36bee4-_0x435c7d._0x52e55d,_0x4d3741,_0x4f88d9- -_0x435c7d._0x583a12,_0x4f88d9-0x73);}return k['on'](_0x2ff6c7(_0x2d805a._0xbc0289,_0x2d805a._0xad6871,_0x2d805a._0x31b60c,_0x2d805a._0x432ef4),_0x105d61),k['on'](_0x444ce1(_0x2d805a._0x142607,0x333,_0x2d805a._0x45a8e8,0x579),_0x310411),k['on'](_0x2ff6c7(0x300,_0x2d805a._0x540afb,0x2fb,0x3a1),_0x380680),()=>{const _0x7f22={_0x10d473:0x98,_0x1b7393:0x190};function _0xb4d352(_0x587c5d,_0xa05e7,_0xe740a6,_0x5d6378){return _0x444ce1(_0x587c5d-0x11e,_0x587c5d,_0xe740a6-_0x20c71a._0x146cc2,_0x5d6378-0x15b);}function _0x315019(_0x5a0751,_0x402311,_0x390d6a,_0x3bb579){return _0x444ce1(_0x5a0751-_0x7f22._0x10d473,_0x402311,_0x390d6a-0x1ca,_0x390d6a-_0x7f22._0x1b7393);}k['off'](_0xb4d352(0x9e4,0x96a,0x752,_0x22307a._0x41c88d),_0x105d61),k[_0x315019(_0x22307a._0x13c2c4,_0x22307a._0x5958fe,0x6a8,_0x22307a._0xd8d4c0)](_0x315019(_0x22307a._0x21312c,_0x22307a._0x2c0d10,0x709,_0x22307a._0x3d7274),_0x310411),k['off'](_0xb4d352(0x537,_0x22307a._0x31a1a4,0x547,0x53b),_0x380680);};},[_0x3dd8b7,_0x2dc30e?.[_0x58d866(0x6f5,_0x12977c._0x39c206,_0x12977c._0x317b04,_0x12977c._0x36c9b9)]]);let _0x1efbe8=_0x6b53ff(()=>({'toolApprovalMode':_0x23ddee,'setToolApprovalMode':_0x110ef0,'pendingApproval':_0x2636ea,'sessionApprovedTools':_0x52767d,'addSessionApprovedTool':_0x9016f2,'clearSessionApprovedTools':_0x3dd8b7,'handleApprovalResponse':_0x2f9ea6}),[_0x23ddee,_0x2636ea,_0x52767d,_0x9016f2,_0x3dd8b7,_0x2f9ea6]);function _0x58d866(_0x126128,_0x3708f0,_0x40682b,_0x258d30){return _0x5a69d4(_0x126128-0x6d,_0x40682b-0x51,_0x3708f0,_0x258d30-0x22);}function _0x27fd2d(_0xaa7cfb,_0x11e3ce,_0x1e8bfe,_0x3cea56){return _0x5a69d4(_0xaa7cfb-_0xfd6ced._0x26921d,_0x1e8bfe- -0x5cd,_0x3cea56,_0x3cea56-_0xfd6ced._0x4cb9ab);}return _0x4bbb89(as[_0x58d866(_0x12977c._0x4d0a9e,0x75a,0x654,0x808)],{'value':_0x1efbe8,'children':_0x2fbcfa});}function Le(){const _0x2406c9={_0xdd0b6a:0x9c7,_0x4b3e0a:0x5b2},_0x6aa74c={_0x5c68c8:0x17b};function _0x897597(_0x3198f2,_0x2c9ba5,_0x5e1731,_0x161624){return _0x5a69d4(_0x3198f2-0x64,_0x3198f2-0xf9,_0x2c9ba5,_0x161624-_0x6aa74c._0x5c68c8);}let _0x451715=_0x227182(as);if(!_0x451715)throw new Error(_0x897597(0x79b,0x8f2,_0x2406c9._0xdd0b6a,_0x2406c9._0x4b3e0a));return _0x451715;}import{createContext as _0x4fd33a,useContext as _0x1c840c,useState as _0x409ef8,useMemo as _0x3c5212,useCallback as _0x50157d}from'react';import{jsx as _0x463b58}from'react/jsx-runtime';var cs=_0x4fd33a(void 0x0),mg=({children:_0x30c8c5})=>{const _0x1bdd5f={_0x1f811c:0x469,_0x516315:0x3c1,_0x33e362:0x676},_0x2063f0={_0x225250:0x381,_0x45354c:0x11e,_0x38c3fb:0x113};function _0x3ba318(_0x1376ac,_0x2f20fe,_0x11f9b8,_0x24eeb7){return _0x3764a2(_0x1376ac-_0x2063f0._0x225250,_0x2f20fe-_0x2063f0._0x45354c,_0x11f9b8,_0x24eeb7-_0x2063f0._0x38c3fb);}let [_0x11d960,_0xed0163]=_0x409ef8(!0x1),_0x280d8d=_0x50157d(()=>{_0xed0163(_0x57b8b6=>!_0x57b8b6);},[]),_0x554212=_0x50157d(_0x2b7e27=>{_0xed0163(_0x2b7e27);},[]),_0x27893b=_0x3c5212(()=>({'explainMode':_0x11d960,'toggleExplainMode':_0x280d8d,'setExplainMode':_0x554212}),[_0x11d960,_0x280d8d,_0x554212]);return _0x463b58(cs[_0x3ba318(_0x1bdd5f._0x1f811c,_0x1bdd5f._0x516315,0x662,_0x1bdd5f._0x33e362)],{'value':_0x27893b,'children':_0x30c8c5});},tt=()=>{const _0x428107={_0x595181:0x113,_0x48d853:0xe7,_0x2a21b5:0x106},_0x5b72e6={_0x53c241:0x12,_0x3655e8:0xd8};let _0x26b308=_0x1c840c(cs);function _0x5c7adf(_0x5b06d2,_0x1ce881,_0x581ada,_0x1e731a){return _0x3764a2(_0x5b06d2- -_0x5b72e6._0x53c241,_0x1ce881-0x8e,_0x581ada,_0x1e731a-_0x5b72e6._0x3655e8);}return _0x26b308||(console[_0x5c7adf(_0x428107._0x595181,_0x428107._0x48d853,0x2f4,-_0x428107._0x2a21b5)]('useExplainMode\x20used\x20outside\x20ExplainModeProvider,\x20using\x20defaults'),{'explainMode':!0x1,'toggleExplainMode':()=>{},'setExplainMode':()=>{}});};import{createContext as _0x2a7fc1,useContext as _0x1a1102,useState as _0xb5f800,useCallback as _0x8f89f3,useRef as _0x3ba842,useEffect as _0x5c3723,useMemo as _0x133f97}from'react';import{jsx as _0x14baf9}from'react/jsx-runtime';var us=_0x2a7fc1(void 0x0),yg=({children:_0x351211})=>{const _0x2933e1={_0x4376ce:0x2b5,_0x4b4819:0x5bf,_0xf2ed3c:0x2ab},_0x58139f={_0x1f2bd2:0x68f,_0x341dc3:0x4d7,_0x4548fe:0x383,_0x62b00b:0x509,_0x17873f:0x323},_0x32007e={_0xbf56e9:0xa6,_0x2c6674:0x227,_0x28c367:0x59,_0x3dd0da:0x163,_0x2e9a72:0x1dd},_0x5a2ef8={_0x4cbeea:0x281};let [_0x50c81f,_0x13a30d]=_0xb5f800(null),_0x15bd00=_0x3ba842(null),_0x1565df=_0x8f89f3((_0x32f724,_0x3fd2c5=0xbb8)=>{const _0x43bb25={_0x268f0f:0xa2,_0x457a6e:0x9f},_0x20850a={_0x95d965:0x30,_0x4f7b3a:0xbd,_0x40aa26:0x142},_0x5a8fcd={_0xf3e706:0x32b};function _0x42aec5(_0x46463c,_0x3eaa51,_0x1caedd,_0x4311db){return _0x4e8e(_0x1caedd- -_0x5a8fcd._0xf3e706,_0x46463c);}function _0x3e8dfc(_0x3130b1,_0x4ca04e,_0x542375,_0x5e5cb0){return _0x4e8e(_0x3130b1- -_0x5a2ef8._0x4cbeea,_0x4ca04e);}_0x15bd00[_0x3e8dfc(0x51,0xb1,-0x4f,0x121)]&&(clearTimeout(_0x15bd00[_0x42aec5(-0x55,_0x32007e._0xbf56e9,-0x59,-0x67)]),_0x15bd00[_0x42aec5(-_0x32007e._0x2c6674,0x12a,-_0x32007e._0x28c367,-_0x32007e._0x3dd0da)]=null),_0x13a30d(_0x32f724),_0x32f724&&_0x3fd2c5>0x0&&(_0x3fd2c5===0x0?_0x13a30d(null):_0x15bd00[_0x42aec5(_0x32007e._0x2e9a72,-0x211,-0x59,-0x198)]=setTimeout(()=>{function _0x3e09e4(_0x4e7ffe,_0x5f2204,_0x1f1608,_0x5a1216){return _0x42aec5(_0x5a1216,_0x5f2204-_0x20850a._0x95d965,_0x4e7ffe-_0x20850a._0x4f7b3a,_0x5a1216-_0x20850a._0x40aa26);}_0x13a30d(null),_0x15bd00[_0x3e09e4(0x64,-0x15,-_0x43bb25._0x268f0f,_0x43bb25._0x457a6e)]=null;},_0x3fd2c5));},[]);function _0x54f11d(_0x45464d,_0x397962,_0x5ea938,_0x18ea23){return _0x3764a2(_0x45464d-0x377,_0x397962-0x114,_0x5ea938,_0x18ea23-0x38);}_0x5c3723(()=>()=>{const _0x2d17fc={_0x404a88:0x205};function _0x499b95(_0xf74e61,_0x5dece0,_0x506b13,_0x3bae40){return _0x4e8e(_0x3bae40-0x51,_0x506b13);}function _0x4fdea2(_0x2b0bd0,_0x2dc316,_0x3df477,_0x13f530){return _0x4e8e(_0x2dc316-_0x2d17fc._0x404a88,_0x3df477);}_0x15bd00[_0x4fdea2(_0x58139f._0x1f2bd2,_0x58139f._0x341dc3,0x6db,0x328)]&&clearTimeout(_0x15bd00[_0x499b95(0x173,_0x58139f._0x4548fe,_0x58139f._0x62b00b,_0x58139f._0x17873f)]);},[]);let _0xe8721=_0x133f97(()=>({'notification':_0x50c81f,'setNotification':_0x1565df}),[_0x50c81f,_0x1565df]);return _0x14baf9(us[_0x54f11d(0x45f,_0x2933e1._0x4376ce,_0x2933e1._0x4b4819,_0x2933e1._0xf2ed3c)],{'value':_0xe8721,'children':_0x351211});},ds=()=>{const _0x5b714f={_0x1813b0:0x8ef,_0x1b8a27:0x756},_0x5be514={_0x57043c:0x46,_0x2e47e6:0x56};function _0x1a35a8(_0x27f9ee,_0x29524c,_0x76711b,_0x3b7ac0){return _0x5a69d4(_0x27f9ee-_0x5be514._0x57043c,_0x29524c- -0x1a,_0x3b7ac0,_0x3b7ac0-_0x5be514._0x2e47e6);}let _0x2f732f=_0x1a1102(us);if(_0x2f732f===void 0x0)throw new Error(_0x1a35a8(_0x5b714f._0x1813b0,_0x5b714f._0x1b8a27,0x702,0x970));return _0x2f732f;};import{createContext as _0x2b9ea0,useContext as _0x111928,useState as _0x1df676,useEffect as _0x57d16e}from'react';import{useStdout as _0x1b4ea7}from'ink';import{jsx as _0x506b50}from'react/jsx-runtime';var ms=0xa,ps=0x5,Wt=0x50,Vt=0x18,fs=_0x2b9ea0({'cols':Wt,'rows':Vt});function wg({children:_0x357906,altMode:_0x212197}){const _0x3ccdd5={_0x53d249:0x2b9,_0x391383:0x1d6,_0xa90ed0:0x49},_0x201def={_0x128917:0x2bf,_0x224eac:0x3ff},_0x480046={_0x3c5f91:0x296,_0x2e398f:0xe0,_0x19db83:0x116},_0x40977e={_0x5a5d35:0x211,_0x27c803:0x328,_0x3219fb:0x389,_0x1900be:0x72c,_0x2f8ac5:0x7cf,_0x2b182b:0x6dc,_0x58b154:0x807,_0x551c66:0x794,_0x4d4573:0x674,_0x2abd54:0x663,_0x5dc309:0x672},_0x59ce4f={_0x5404ba:0x34f},_0xeabcd0={_0x5251fd:0x42d,_0x18d162:0x165},_0x37461c={_0x3f8053:0x84c,_0x20192c:0x9c4,_0x2adfcf:0xb40,_0x3abbdf:0xb5e,_0x1004f2:0x7d9,_0x8550c7:0x9a7,_0x9df7c6:0x94e,_0x21330d:0xa7,_0x486f44:0x189,_0x1fe919:0x5e8,_0x4e2ca2:0x4ca,_0x471f7c:0x543,_0x1f08ca:0x58a,_0x4ebd6e:0x23f,_0x2f52dc:0x358,_0x518697:0x6d8};let {stdout:_0x1737c4}=_0x1b4ea7(),[_0x1113f5,_0x3b8cde]=_0x1df676(()=>{const _0x241a89={_0x118d20:0xe2};function _0x1e60fe(_0x4612a4,_0x309b15,_0x5055fc,_0x3c6a7a){return _0x4e8e(_0x3c6a7a- -_0x241a89._0x118d20,_0x309b15);}function _0x3158a5(_0x4af316,_0x3c1875,_0x45bce4,_0x5e4a35){return _0x4e8e(_0x3c1875-0x39f,_0x45bce4);}let _0x1ebf03=Math[_0x3158a5(_0x37461c._0x3f8053,_0x37461c._0x20192c,_0x37461c._0x2adfcf,_0x37461c._0x3abbdf)](ms,Math[_0x3158a5(0x959,_0x37461c._0x1004f2,_0x37461c._0x8550c7,_0x37461c._0x9df7c6)](_0x1737c4[_0x1e60fe(0x14b,0x29d,-_0x37461c._0x21330d,_0x37461c._0x486f44)]||Wt,0x3e8))-(_0x212197?0x2:0x0),_0x13ae37=Math[_0x1e60fe(_0x37461c._0x1fe919,_0x37461c._0x4e2ca2,0x354,_0x37461c._0x471f7c)](ps,Math[_0x1e60fe(0x39d,_0x37461c._0x1f08ca,_0x37461c._0x4ebd6e,_0x37461c._0x2f52dc)](_0x1737c4[_0x3158a5(_0x37461c._0x518697,0x8d2,0x6bf,0x9b6)]||Vt,0x3e8))-(_0x212197?0x2:0x0);return{'cols':_0x1ebf03,'rows':_0x13ae37};});function _0x132b93(_0x132784,_0x4f4dbc,_0x5b4f27,_0x35400f){return _0x5a69d4(_0x132784-0x148,_0x4f4dbc- -_0xeabcd0._0x5251fd,_0x5b4f27,_0x35400f-_0xeabcd0._0x18d162);}return _0x57d16e(()=>{function _0x4ae3e3(_0x4479e9,_0x4a8c83,_0x364a7b,_0x477ce7){return _0x4e8e(_0x4a8c83- -_0x59ce4f._0x5404ba,_0x364a7b);}let _0x519ce5=()=>{function _0x19ae0a(_0x2a17be,_0x393068,_0x2049c9,_0x354483){return _0x4e8e(_0x354483-0x2c1,_0x393068);}function _0x40e1f8(_0x47d53d,_0x4449fc,_0x59ee9e,_0x3f9abf){return _0x4e8e(_0x59ee9e-0x11e,_0x4449fc);}try{let _0x37eb39=_0x1737c4[_0x40e1f8(_0x40977e._0x5a5d35,_0x40977e._0x27c803,_0x40977e._0x3219fb,0x382)],_0x33c425=_0x1737c4['rows'],_0x239768=_0x37eb39&&_0x37eb39>0x0&&_0x37eb39<0x2710?Math[_0x40e1f8(0x7d1,_0x40977e._0x1900be,0x743,_0x40977e._0x2f8ac5)](ms,_0x37eb39):Wt,_0x36c954=_0x33c425&&_0x33c425>0x0&&_0x33c425<0x2710?Math[_0x19ae0a(_0x40977e._0x2b182b,0x992,_0x40977e._0x58b154,0x8e6)](ps,_0x33c425):Vt;_0x3b8cde(_0x59a710=>_0x59a710[_0x19ae0a(0x8f8,0x954,0x65b,0x871)]===_0x239768&&_0x59a710[_0x19ae0a(0x878,0x75e,0x7ce,0x7f4)]===_0x36c954?_0x59a710:{'cols':_0x239768-(_0x212197?0x2:0x0),'rows':_0x36c954});}catch(_0x42bdfd){console[_0x19ae0a(_0x40977e._0x551c66,0x4b8,0x5e0,_0x40977e._0x4d4573)](_0x40e1f8(_0x40977e._0x2abd54,0x776,_0x40977e._0x5dc309,0x694),_0x42bdfd),_0x3b8cde(_0x596725=>_0x596725[_0x19ae0a(0x731,0x762,0xa68,0x871)]===Wt&&_0x596725['rows']===Vt?_0x596725:{'cols':Wt,'rows':Vt});}};return _0x1737c4['on'](_0x4ae3e3(0x4ca,_0x201def._0x128917,0x1f4,_0x201def._0x224eac),_0x519ce5),()=>{const _0x101c04={_0x1b43c0:0xc5};function _0x50f2c2(_0x1f81bc,_0x1577aa,_0x32e386,_0x863a85){return _0x4ae3e3(_0x1f81bc-_0x101c04._0x1b43c0,_0x1577aa-0xc4,_0x863a85,_0x863a85-0x5e);}_0x1737c4[_0x50f2c2(_0x480046._0x3c5f91,_0x480046._0x2e398f,0x1b3,_0x480046._0x19db83)]('resize',_0x519ce5);};},[_0x1737c4,_0x212197]),_0x506b50(fs[_0x132b93(_0x3ccdd5._0x53d249,_0x3ccdd5._0x391383,0x1d9,-_0x3ccdd5._0xa90ed0)],{'value':_0x1113f5,'children':_0x357906});}function gs(){let {cols:_0x39992a,rows:_0x369681}=_0x111928(fs);return{'cols':_0x39992a,'rows':_0x369681};}import{createContext as _0x442562,useContext as _0x16dfc1}from'react';import{jsx as _0x362550}from'react/jsx-runtime';var hs=_0x442562(void 0x0);function Ag({children:_0x6b2c73}){const _0x406a0a={_0x25df14:0x311,_0x106e05:0x665,_0x4cb431:0x422},_0x59eee4={_0x350424:0x1bb,_0x14ae59:0x14d,_0x22a0c7:0x469},_0x3b8ef9={_0xfdb1d8:0x32,_0x3a0024:0x165,_0x42a3f4:0xf2};function _0x4bd4eb(_0x20a9a0,_0x24fa8a,_0x53eaee,_0x1b2d83){return _0x5a69d4(_0x20a9a0-_0x3b8ef9._0xfdb1d8,_0x1b2d83- -_0x3b8ef9._0x3a0024,_0x20a9a0,_0x1b2d83-_0x3b8ef9._0x42a3f4);}let _0x2040a7={'theme':j,'getColor':_0x2a7c69=>{const _0x7c8c07={_0x3cd322:0x19a};let _0x4d855c=_0x2a7c69[_0x580ac5(_0x59eee4._0x350424,0x28,0x19c,-_0x59eee4._0x14ae59)]('.'),_0x5d8b98=j;function _0x574d3d(_0x2e5559,_0x3abd7f,_0x5cb3f0,_0x30f227){return _0x4e8e(_0x2e5559- -0x398,_0x5cb3f0);}for(let _0xa16f82 of _0x4d855c)if(_0x5d8b98&&typeof _0x5d8b98=='object'&&_0xa16f82 in _0x5d8b98)_0x5d8b98=_0x5d8b98[_0xa16f82];else return'white';function _0x580ac5(_0x247152,_0x283c80,_0x2d86cd,_0x5118c4){return _0x4e8e(_0x283c80- -_0x7c8c07._0x3cd322,_0x247152);}return typeof _0x5d8b98==_0x580ac5(0x5db,_0x59eee4._0x22a0c7,0x252,0x65b)?_0x5d8b98:'white';}};return _0x362550(hs[_0x4bd4eb(_0x406a0a._0x25df14,_0x406a0a._0x106e05,_0x406a0a._0x4cb431,0x49e)],{'value':_0x2040a7,'children':_0x6b2c73});}function N(){const _0x1ff01a={_0x537c86:0x7b3,_0x24f711:0x813,_0xdbfa4c:0x71d},_0x64e13c={_0x520528:0x48,_0x4cb5cd:0x33};let _0x260597=_0x16dfc1(hs);if(!_0x260597)throw new Error(_0x3dce1a(_0x1ff01a._0x537c86,0x8a3,_0x1ff01a._0x24f711,_0x1ff01a._0xdbfa4c));function _0x3dce1a(_0x2afc32,_0x4d30d0,_0x4acab9,_0xc7ff2){return _0x5a69d4(_0x2afc32-0x176,_0x4acab9-_0x64e13c._0x520528,_0xc7ff2,_0xc7ff2-_0x64e13c._0x4cb5cd);}return _0x260597;}import _0x289e9c,{useMemo as _0x906af2,useRef as _0x1852ba}from'react';import{Box as _0x103235,Static as _0x37bbf6}from'ink';function Gl(_0x2b6c11){const _0x3a68a5={_0x542fad:0x685,_0x17614c:0x522,_0x1c2635:0x71e,_0x357b81:0x838,_0x26ba03:0xa37},_0x1b443a={_0x43094a:0x21,_0xc7fea5:0xa3},_0x1ff7a0={_0x1db78f:0x42,_0x50328e:0xf8};if(_0x2b6c11['type']!==_0x4b28ad(0x689,0x586,_0x3a68a5._0x542fad,0x877))return!0x1;function _0x4b28ad(_0x449cc1,_0xa91113,_0x48362c,_0x48fa52){return _0x5a69d4(_0x449cc1-_0x1ff7a0._0x1db78f,_0x48362c-0xcc,_0xa91113,_0x48fa52-_0x1ff7a0._0x50328e);}let _0xee7b40=_0x2b6c11[_0x4b28ad(0x757,0x4ba,0x5cd,0x6de)]?.[_0x4b28ad(0x6b0,0x729,_0x3a68a5._0x17614c,_0x3a68a5._0x1c2635)]||[],_0x47e2e1=_0x2b6c11[_0x6a21c2(_0x3a68a5._0x17614c,0x735,0x5be,0x431)]?.['toolResultsByCallId'];function _0x6a21c2(_0x51cfdf,_0x201658,_0x2e55f2,_0x5d8dd9){return _0x5a69d4(_0x51cfdf-0x4b,_0x51cfdf-_0x1b443a._0x43094a,_0x5d8dd9,_0x5d8dd9-_0x1b443a._0xc7fea5);}if(_0xee7b40[_0x6a21c2(_0x3a68a5._0x357b81,0x71a,_0x3a68a5._0x26ba03,0x988)]===0x0)return!0x1;for(let _0x442b57 of _0xee7b40)if(!_0x47e2e1?.['has'](_0x442b57['id']))return!0x0;return!0x1;}function Yl(_0x2c0191){const _0x55245f={_0x517f59:0x574,_0x2ac85b:0x461,_0x5216c0:0x515,_0x4cec51:0x36a},_0x3a04c8={_0x32d238:0x5ae},_0x184fdb={_0x3fe4a6:0x15d};function _0x2788bb(_0x46594e,_0xbe8db7,_0x28911c,_0x8efd91){return _0x5a69d4(_0x46594e-0x111,_0x28911c- -0xa0,_0xbe8db7,_0x8efd91-_0x184fdb._0x3fe4a6);}function _0x1d3281(_0x303315,_0x38e2e5,_0x479623,_0x2a3c09){return _0x5a69d4(_0x303315-0x13e,_0x303315- -_0x3a04c8._0x32d238,_0x479623,_0x2a3c09-0xa2);}for(let _0x258d43=_0x2c0191[_0x2788bb(0x8de,0x79d,0x777,_0x55245f._0x517f59)]-0x1;_0x258d43>=0x0;_0x258d43--)if(_0x2c0191[_0x258d43][_0x2788bb(0x33a,0x5b0,_0x55245f._0x2ac85b,_0x55245f._0x5216c0)]?.[_0x1d3281(0x1f6,_0x55245f._0x4cec51,0xc3,0x383)]!==!0x0)return _0x258d43;return-0x1;}function ys(_0x4e26b1){const _0x4dc5dc={_0x3904af:0x386,_0x39f7dd:0x1a6,_0x4c52f5:0x1a4,_0x28ffac:0x4c3,_0x1f2fad:0x31a,_0xa66e3:0x3bf,_0x41de94:0x421,_0x34ac5a:0x484,_0x5ebe3f:0x515,_0x468b3c:0x8b3,_0x315eb2:0x8ab,_0x2a887d:0x971},_0x49c4b2={_0x3f4514:0x10b,_0x1613e5:0x491,_0x4f7100:0x1ce},_0x5ce949={_0x4c3ee4:0x5af,_0x165fae:0x98};let _0xa45e53=Yl(_0x4e26b1),_0x9a2dfc=0x0;function _0x59751b(_0x138202,_0x1db1d2,_0x2f32db,_0x3adc46){return _0x3764a2(_0x1db1d2-_0x5ce949._0x4c3ee4,_0x1db1d2-0x9d,_0x2f32db,_0x3adc46-_0x5ce949._0x165fae);}for(let _0x5cb584=_0x4e26b1[_0x1c2a58(_0x4dc5dc._0x3904af,_0x4dc5dc._0x39f7dd,0x2d4,0x173)]-0x1;_0x5cb584>=0x0;_0x5cb584--){let _0x3082f3=_0x4e26b1[_0x5cb584];if(_0x3082f3[_0x1c2a58(0x70,-0x1a7,-0x1b2,_0x4dc5dc._0x4c52f5)]?.[_0x1c2a58(0x313,_0x4dc5dc._0x28ffac,0x464,_0x4dc5dc._0x1f2fad)]===!0x0)continue;let _0x1e1955=_0x5cb584===_0xa45e53;if(_0x3082f3['metadata']?.['isStreaming']===!0x0&&_0x1e1955){_0x9a2dfc=_0x4e26b1[_0x1c2a58(0x386,0x533,0x583,0x27b)]-_0x5cb584;break;}if(Gl(_0x3082f3)){_0x9a2dfc=_0x4e26b1[_0x1c2a58(_0x4dc5dc._0x3904af,0x1e4,_0x4dc5dc._0xa66e3,0x2e3)]-_0x5cb584;break;}}function _0x1c2a58(_0x3c04ba,_0x310fde,_0x2102e8,_0xb9fced){return _0x5a69d4(_0x3c04ba-_0x49c4b2._0x3f4514,_0x3c04ba- -_0x49c4b2._0x1613e5,_0x310fde,_0xb9fced-_0x49c4b2._0x4f7100);}return Math[_0x1c2a58(_0x4dc5dc._0x41de94,_0x4dc5dc._0x34ac5a,_0x4dc5dc._0x5ebe3f,0x2c8)](0x0,_0x4e26b1[_0x59751b(_0x4dc5dc._0x468b3c,_0x4dc5dc._0x315eb2,_0x4dc5dc._0x2a887d,0x7c3)]-_0x9a2dfc);}import _0x35961c from'react';import{Box as _0x13bf99,Text as _0x1e6564}from'ink';import{useMemo as _0xb49058,useCallback as _0x5730f0}from'react';import{Text as _0x25740c}from'ink';import{marked as _0x478db4}from'marked';import _0x56bb15 from'chalk';import _0x307dcb from'ansi-escapes';import{stdout as _0x6b81b6}from'supports-hyperlinks';import _0x160d2c from'string-width';var Xl='\x0d',Jl=new RegExp(Xl),Zl=['\x09'];function Rt(_0x52821d){return _0x52821d;}function So(..._0x331ac7){const _0x4518d0={_0x150985:0x3a4,_0x2fdc88:0x247};return _0x3812b9=>{const _0x246bc4={_0xcebd7f:0x1e6};let _0x31716c=_0x3812b9;function _0x2cb070(_0x4aabba,_0x495e6c,_0x132aa6,_0x4d1032){return _0x4e8e(_0x4aabba- -_0x246bc4._0xcebd7f,_0x495e6c);}for(let _0x2b73d4=_0x331ac7[_0x2cb070(_0x4518d0._0x150985,0x5c7,0x3e0,_0x4518d0._0x2fdc88)];_0x2b73d4-->0x0;)_0x31716c=_0x331ac7[_0x2b73d4](_0x31716c);return _0x31716c;};}function Mo(_0x1d5a73){const _0x10c792={_0x1045a8:0x5a,_0x5a1d30:0xbd,_0x74e52a:0x71,_0x477535:0x78c,_0x4c4a0c:0x655},_0x5ab42e={_0x1401f9:0x1b8,_0x1f9377:0x5c7,_0x4679df:0x18c},_0x371cbe={_0xc7fda6:0x1c8};function _0x1e183c(_0x466dcd,_0x2f1374,_0x414f8c,_0x5554ae){return _0x3764a2(_0x5554ae-0x30f,_0x2f1374-_0x371cbe._0xc7fda6,_0x2f1374,_0x5554ae-0x5);}function _0xe7af1b(_0x1cfb76,_0x33578f,_0xe55213,_0x52a479){return _0x5a69d4(_0x1cfb76-_0x5ab42e._0x1401f9,_0x52a479- -_0x5ab42e._0x1f9377,_0x33578f,_0x52a479-_0x5ab42e._0x4679df);}return _0x1d5a73[_0xe7af1b(_0x10c792._0x1045a8,_0x10c792._0x5a1d30,-_0x10c792._0x74e52a,-0x15e)](/[-[\]/{}()*+?.\\^$|]/g,_0x1e183c(_0x10c792._0x477535,0x54f,0x440,_0x10c792._0x4c4a0c));}function xs(_0x53650c){const _0x5bf0dd={_0x46a76c:0x1e6,_0x34fe1e:0x294,_0x4ae324:0x1da,_0x348a5f:0x23a,_0x153a69:0x1b3,_0x35b596:0x57b,_0x4d5983:0x4fa,_0x18b840:0x56d,_0xa21638:0xf3},_0x2693e6={_0x4b5e8c:0x61f,_0xc33f01:0xb0,_0x452f74:0x1b4},_0x169658={_0x5e99a3:0x150};function _0x51cc52(_0x656165,_0x8c8745,_0x41de6a,_0x24d1c0){return _0x5a69d4(_0x656165-0xf4,_0x41de6a- -0x376,_0x24d1c0,_0x24d1c0-_0x169658._0x5e99a3);}function _0x284115(_0x3d6261,_0x42fc06,_0x4cd3c1,_0x5f4a85){return _0x3764a2(_0x5f4a85-_0x2693e6._0x4b5e8c,_0x42fc06-_0x2693e6._0xc33f01,_0x42fc06,_0x5f4a85-_0x2693e6._0x452f74);}return _0x53650c[_0x51cc52(_0x5bf0dd._0x46a76c,_0x5bf0dd._0x34fe1e,0xf3,_0x5bf0dd._0x4ae324)](/&amp;/g,'&')[_0x51cc52(_0x5bf0dd._0x348a5f,_0x5bf0dd._0x153a69,0xf3,0x15b)](/&lt;/g,'<')['replace'](/&gt;/g,'>')[_0x284115(_0x5bf0dd._0x35b596,_0x5bf0dd._0x4d5983,0x6e6,_0x5bf0dd._0x18b840)](/&quot;/g,'\x22')[_0x51cc52(0x18f,0x299,_0x5bf0dd._0xa21638,0x28c)](/&#39;/g,'\x27');}function De(_0x491212){return _0x160d2c(_0x491212);}function zt(_0x4ac917,_0x9d2e62){const _0x399cdc={_0x15f861:0x3f7},_0x3d895e={_0x190fd2:0x72,_0x4dcda3:0xed};function _0x2c4fc3(_0x54e9a5,_0x5cb757,_0x185c22,_0x3ab44a){return _0x5a69d4(_0x54e9a5-0x121,_0x54e9a5- -_0x3d895e._0x190fd2,_0x5cb757,_0x3ab44a-_0x3d895e._0x4dcda3);}return _0x9d2e62?_0x4ac917[_0x2c4fc3(_0x399cdc._0x15f861,0x35f,0x268,0x23b)](Jl,'\x0a'):_0x4ac917;}function Ql(_0x214cfc){function _0x502f05(_0x59c1b4,_0x1fed7a,_0x18d92c,_0x357320){return _0x3764a2(_0x59c1b4-0x2e6,_0x1fed7a-0x2,_0x1fed7a,_0x357320-0x80);}return Zl['some'](_0x378de0=>_0x214cfc[_0x502f05(0x215,0xdb,0x322,0x2c)]('^('+_0x378de0+')+$'));}function bs(_0x56ffaa,_0x3afc9c){const _0x4e62f6={_0x3bf3ee:0x3b9,_0x4c045a:0x2e5,_0x3618b5:0x3a3,_0xd92f34:0x4d5,_0x2a3861:0x6d9,_0x57d2a5:0x247,_0x414420:0x69c,_0x4b1068:0x2f9},_0x49c3c3={_0x16a3d0:0x1c1},_0x553e57={_0x21291b:0x13e};function _0x4f4635(_0x347fcb,_0x30d668,_0x49a5c9,_0x389c8b){return _0x3764a2(_0x49a5c9-0x3fd,_0x30d668-_0x553e57._0x21291b,_0x389c8b,_0x389c8b-0x23);}function _0x1e4267(_0x4596ed,_0xc78c31,_0x39457c,_0x19e8d6){return _0x3764a2(_0x4596ed-0x17a,_0xc78c31-_0x49c3c3._0x16a3d0,_0x19e8d6,_0x19e8d6-0x1b1);}return typeof _0x56ffaa==_0x4f4635(_0x4e62f6._0x3bf3ee,_0x4e62f6._0x4c045a,_0x4e62f6._0x3618b5,0x2b9)?new Array(_0x56ffaa+0x1)[_0x4f4635(_0x4e62f6._0xd92f34,0x8da,_0x4e62f6._0x2a3861,0x696)]('\x20'):typeof _0x56ffaa=='string'&&Ql(_0x56ffaa)?_0x56ffaa:new Array(_0x3afc9c+0x1)[_0x1e4267(0x456,_0x4e62f6._0x57d2a5,_0x4e62f6._0x414420,_0x4e62f6._0x4b1068)]('\x20');}import*as _0x2eeffb from'node-emoji';var Lr=_0x3764a2(0x1e7,0xdc,0x2e9,0x3c0),ec=new RegExp(Mo(Lr),'g');function vs(_0x552b6a){const _0x434884={_0xff004:0x144},_0xc5cc44={_0x529383:0x2e9,_0x3bdd58:0x149,_0x46d554:0x33e},_0x532230={_0x4fb730:0x1d1},_0x28f883={_0x14e42e:0x55e,_0x5d3639:0x193};function _0x3dcabf(_0x1fb9a2,_0x386cd7,_0x3fb4f5,_0x554928){return _0x5a69d4(_0x1fb9a2-0xed,_0x386cd7- -_0x28f883._0x14e42e,_0x1fb9a2,_0x554928-_0x28f883._0x5d3639);}return _0x552b6a[_0x3dcabf(-0x5d,-0xf5,0x13f,-_0x434884._0xff004)](/:([A-Za-z0-9_\-+]+?):/g,_0x215c16=>{let _0x1dacf6=_0x2eeffb[_0x536c68(_0xc5cc44._0x529383,0x2d9,_0xc5cc44._0x3bdd58,_0xc5cc44._0x46d554)](_0x215c16);function _0x536c68(_0x4c7db8,_0x48dc92,_0x15b707,_0x944256){return _0x3dcabf(_0x48dc92,_0x4c7db8-0x376,_0x15b707-0x11d,_0x944256-_0x532230._0x4fb730);}return _0x1dacf6?_0x1dacf6+'\x20':_0x215c16;});}function Ts(_0x4e381b){const _0x4404dd={_0xda1aaf:0x282},_0x46236f={_0x57512f:0xae,_0x4d4d36:0x3c7,_0x2574ae:0x16c};function _0xd8725(_0x4d1f20,_0xc1bf5e,_0x7a8cfd,_0x29e3d8){return _0x5a69d4(_0x4d1f20-_0x46236f._0x57512f,_0x7a8cfd- -_0x46236f._0x4d4d36,_0x29e3d8,_0x29e3d8-_0x46236f._0x2574ae);}return _0x4e381b[_0xd8725(0x15c,-0x5a,0xa2,_0x4404dd._0xda1aaf)](ec,':');}import _0x2a0f94 from'cli-table3';var Dr=_0x5a69d4(0x492,0x61e,0x585,0x6bf),Po=_0x3764a2(0x265,0x26d,0x1ab,0x257),oc=new RegExp(Mo(Po),'g');function ws(_0x16022f,_0x338aeb){const _0x871b={_0x59d8a5:0x3cd,_0x4a3ed8:0x402,_0x4b111d:0x352},_0x5bd34a={_0x55ef19:0x5c,_0x66c0a:0x55,_0x5d198b:0x34a,_0x160c03:0x303,_0x12b22f:0x2b5,_0x33ecac:0x57f,_0x349afd:0x840,_0x24f9a5:0x809,_0xfecbad:0x86d,_0x508045:0x6cf,_0x34f41f:0xa79},_0x2f5d80={_0x50c733:0x1bf,_0x3b2a9a:0x23e},_0x111642={_0x3fd533:0x336,_0x2293e9:0x2c},_0x326a54={_0x4e0fef:0x4d};if(!_0x16022f)return[];function _0x13d2c2(_0x4187a6,_0x393a8c,_0x429ac0,_0x4b562c){return _0x5a69d4(_0x4187a6-0x20,_0x4b562c- -_0x326a54._0x4e0fef,_0x393a8c,_0x4b562c-0xb8);}let _0x97cd9f=(_0x338aeb||Rt)(_0x16022f)[_0x13d2c2(0x4d4,_0x871b._0x59d8a5,0x625,_0x871b._0x4a3ed8)]('\x0a'),_0x5dc15d=[];function _0x501524(_0x12a0cc,_0x428500,_0x8c9e88,_0x16a988){return _0x3764a2(_0x12a0cc-_0x111642._0x3fd533,_0x428500-0x1a7,_0x8c9e88,_0x16a988-_0x111642._0x2293e9);}return _0x97cd9f[_0x501524(_0x871b._0x4b111d,0x16d,0x240,0x335)](_0x392e62=>{function _0x371f42(_0x5ec60a,_0x150a7c,_0x24314f,_0x3f5bfa){return _0x13d2c2(_0x5ec60a-_0x2f5d80._0x50c733,_0x3f5bfa,_0x24314f-0xa7,_0x150a7c- -_0x2f5d80._0x3b2a9a);}if(!_0x392e62)return;function _0x2aba49(_0x12ec73,_0x337d90,_0x2000a8,_0x3dc30c){return _0x501524(_0x12ec73-0x23b,_0x337d90-0x1e8,_0x3dc30c,_0x3dc30c-0xda);}let _0x16bf9a=_0x392e62[_0x371f42(-_0x5bd34a._0x55ef19,0x1de,_0x5bd34a._0x66c0a,_0x5bd34a._0x5d198b)](oc,'')[_0x2aba49(0x4a5,_0x5bd34a._0x160c03,_0x5bd34a._0x12b22f,_0x5bd34a._0x33ecac)](Dr);_0x5dc15d['push'](_0x16bf9a[_0x2aba49(_0x5bd34a._0x349afd,0xa5f,_0x5bd34a._0x24f9a5,0x8a8)](0x0,_0x16bf9a[_0x2aba49(_0x5bd34a._0xfecbad,0x874,_0x5bd34a._0x508045,_0x5bd34a._0x34f41f)]-0x1));}),_0x5dc15d;}function Ss(_0xb22f51,_0x4fc27a,_0x4f5122,_0x290904,_0x15522b){const _0x3d44db={_0x22723e:0x33e,_0xdce938:0x577,_0x27de52:0x96,_0x5be827:0x17b,_0x2c544a:0x6e},_0x2a540f={_0x50e050:0x123},_0x17c826={_0xdc7bb5:0x7},_0x33c488={_0x59bce9:0x109,_0x269b27:0x427,_0x472395:0x82};function _0x21b0d1(_0x2baf6f,_0x27446b,_0x365ed0,_0x26a6b2){return _0x5a69d4(_0x2baf6f-_0x33c488._0x59bce9,_0x26a6b2- -_0x33c488._0x269b27,_0x2baf6f,_0x26a6b2-_0x33c488._0x472395);}function _0x432e49(_0x3e9d4d,_0x3eb536,_0x1834ce,_0x3ef781){return _0x5a69d4(_0x3e9d4d-_0x17c826._0xdc7bb5,_0x3eb536- -0x68,_0x1834ce,_0x3ef781-0x17c);}let _0x13755d=new _0x2a0f94(Object[_0x21b0d1(_0x3d44db._0x22723e,0x523,_0x3d44db._0xdce938,0x42e)]({},{'head':ws(_0xb22f51)[0x0]},_0x4f5122));return ws(_0x4fc27a||'',_0x290904)[_0x21b0d1(-0xd6,0x348,-_0x3d44db._0x27de52,0x110)](_0x222487=>{const _0xdf2004={_0x14d79a:0xcb,_0x51016c:0x57a,_0x4eac42:0x66};function _0x20b0da(_0x66ab97,_0x411ee2,_0xfdb0a1,_0x5d1de6){return _0x432e49(_0x66ab97-_0xdf2004._0x14d79a,_0x411ee2- -_0xdf2004._0x51016c,_0x66ab97,_0x5d1de6-_0xdf2004._0x4eac42);}_0x13755d[_0x20b0da(0x148,-0x50,-0x10f,-_0x2a540f._0x50e050)](_0x222487);}),_0x15522b(_0x13755d[_0x21b0d1(-_0x3d44db._0x5be827,-0x1a2,0x23f,_0x3d44db._0x2c544a)]());}var rc=_0x5a69d4(0x46f,0x599,0x6b0,0x751),Ps=_0x3764a2(0x32e,0x562,0x4b8,0x40a)+['\x5c*',rc][_0x5a69d4(0x7cc,0x7f7,0x5d4,0x958)]('|')+')',Io='*\x20';function Is(_0x176217,_0x59561a){const _0x610762={_0x507ecc:0x75b,_0x5678b4:0x31c,_0x43ba25:0x55e,_0x1d441e:0x565,_0x30eeb9:0x490,_0x200fed:0x57c},_0x5cf8be={_0x352f47:0x11b};function _0x445e51(_0x4f4298,_0x1b8689,_0x586032,_0x2f16b9){return _0x5a69d4(_0x4f4298-0xc4,_0x2f16b9-_0x5cf8be._0x352f47,_0x4f4298,_0x2f16b9-0xa3);}function _0x1c3515(_0x3dd214,_0x58590a,_0x2654f1,_0x214f7e){return _0x5a69d4(_0x3dd214-0x35,_0x58590a- -0x2cd,_0x214f7e,_0x214f7e-0x10d);}return!!_0x176217[_0x445e51(_0x610762._0x507ecc,_0x610762._0x5678b4,_0x610762._0x43ba25,_0x610762._0x1d441e)](_0x445e51(0x6c1,0x574,_0x610762._0x30eeb9,_0x610762._0x200fed)+_0x59561a+')*'+Ps);}function Rs(_0x2befc8){const _0xf3e27={_0x468a37:0x94f,_0x211f65:0x3e4},_0x281377={_0x544cd6:0xbc,_0x4a4aa7:0x586,_0xda8590:0xff},_0x213e00={_0x144624:0x1a,_0x24705e:0x14};function _0x1fb288(_0x532310,_0x1df226,_0x4b9340,_0x373a2c){return _0x5a69d4(_0x532310-0x7,_0x373a2c-_0x213e00._0x144624,_0x4b9340,_0x373a2c-_0x213e00._0x24705e);}function _0x5a2e9e(_0x44e76a,_0x543147,_0x15a096,_0x3f3d2b){return _0x5a69d4(_0x44e76a-_0x281377._0x544cd6,_0x15a096- -_0x281377._0x4a4aa7,_0x543147,_0x3f3d2b-_0x281377._0xda8590);}return'\x20'[_0x1fb288(0x809,_0xf3e27._0x468a37,0x92e,0x8c3)](_0x2befc8[_0x5a2e9e(0x23a,_0xf3e27._0x211f65,0x291,0xf6)]);}function nc(_0x2569f7,_0x5e300c){return Is(_0x5e300c,_0x2569f7)?_0x5e300c:Rs(Io)+_0x5e300c;}function sc(_0x13d183,_0x224a4c){const _0x3384eb={_0x28a671:0x168,_0x564b84:0x2a3,_0x4b5aad:0x128,_0xc829dd:0x4a,_0x3cba99:0x2e6,_0x47174c:0x1df,_0xf770b8:0x1b3},_0x268588={_0x49804b:0x39,_0x3d5186:0x644},_0x3426fb={_0x2fb5a5:0x1f0,_0x2270cb:0x129};function _0x2f3229(_0x57141a,_0x4a84fc,_0x44e4ce,_0x5685b0){return _0x5a69d4(_0x57141a-_0x3426fb._0x2fb5a5,_0x57141a- -0x2e7,_0x44e4ce,_0x5685b0-_0x3426fb._0x2270cb);}let _0x3a3d48=_0xafa709=>nc(_0x224a4c,_0xafa709);function _0x524cfe(_0x2bae6b,_0x2fefaf,_0x4e4e73,_0xec58d9){return _0x5a69d4(_0x2bae6b-_0x268588._0x49804b,_0x4e4e73- -_0x268588._0x3d5186,_0x2fefaf,_0xec58d9-0x78);}return _0x13d183[_0x2f3229(_0x3384eb._0x28a671,_0x3384eb._0x564b84,0x261,0x196)]('\x0a')[_0x524cfe(0x13b,_0x3384eb._0x4b5aad,0x1d5,_0x3384eb._0xc829dd)](_0xf46015=>_0xf46015['trim']()[_0x524cfe(0x1ed,0x1cc,0x1d3,0x168)]>0x0)[_0x524cfe(0x169,0x114,0x264,_0x3384eb._0x3cba99)](_0x3a3d48)[_0x524cfe(_0x3384eb._0x47174c,0x224,_0x3384eb._0xf770b8,0x1f6)]('\x0a');}function Ms(_0x217dd9){return _0x217dd9+'.\x20';}function ic(_0x44969a,_0x43c53c,_0x1b66e6){const _0x4d7a36={_0x40d48e:0x5bb,_0x1b1f7f:0x2d0,_0x24135a:0x5cf},_0x263ecc={_0x125c74:0x9e,_0x7c83e7:0x9f};function _0x508162(_0x4bcfc2,_0x5118be,_0x45b88a,_0x165cca){return _0x5a69d4(_0x4bcfc2-_0x263ecc._0x125c74,_0x165cca- -0xc5,_0x5118be,_0x165cca-_0x263ecc._0x7c83e7);}return Is(_0x43c53c,_0x44969a)?{'num':_0x1b66e6+0x1,'line':_0x43c53c[_0x508162(_0x4d7a36._0x40d48e,_0x4d7a36._0x1b1f7f,_0x4d7a36._0x24135a,0x3a4)](Io,Ms(_0x1b66e6+0x1))}:{'num':_0x1b66e6,'line':Rs(Ms(_0x1b66e6))+_0x43c53c};}function ac(_0x111518,_0x7237e8){const _0x5dd5f1={_0x1feb7e:0x772,_0xe74d60:0x5f5,_0x586108:0x203,_0x4dffe8:0x378,_0x1d6d05:0x353},_0x23bb46={_0x1278cd:0x21e,_0x379bd4:0x2c2,_0x361eb9:0x2e3},_0x38e321={_0x3c9232:0x6,_0x53b604:0x292},_0x497001={_0x359cf3:0x1d6,_0x381aa5:0x13a};let _0x593d2f=0x0;function _0x2af9e5(_0x5a1131,_0x1db734,_0x256ce0,_0x99c8e0){return _0x3764a2(_0x5a1131- -0xd9,_0x1db734-_0x497001._0x359cf3,_0x99c8e0,_0x99c8e0-_0x497001._0x381aa5);}function _0x91d1c3(_0x3bf9d1,_0x2b6357,_0x12ef2e,_0x1209b3){return _0x5a69d4(_0x3bf9d1-_0x38e321._0x3c9232,_0x2b6357- -_0x38e321._0x53b604,_0x3bf9d1,_0x1209b3-0xea);}return _0x111518['split']('\x0a')['filter'](_0x2c302e=>_0x2c302e[_0x91d1c3(0x1d7,0x232,0x12f,0x325)]()[_0x2af9e5(0x223,0x440,0x460,0x3a6)]>0x0)[_0x91d1c3(_0x5dd5f1._0x1feb7e,0x616,_0x5dd5f1._0xe74d60,0x606)](_0x522185=>{const _0x48ab70={_0x226b3f:0x17d},_0x516824={_0x24ebaf:0x77,_0x3f40eb:0x1a6,_0x1ff62e:0x1a7};let _0x27c1c9=ic(_0x7237e8,_0x522185,_0x593d2f);function _0x2c96af(_0x5bb5df,_0x57f4bb,_0xd38c1b,_0x570dbf){return _0x2af9e5(_0x570dbf- -_0x516824._0x24ebaf,_0x57f4bb-_0x516824._0x3f40eb,_0xd38c1b-_0x516824._0x1ff62e,_0xd38c1b);}function _0x117200(_0x205f56,_0x414500,_0x174065,_0x2e9e02){return _0x91d1c3(_0x174065,_0x2e9e02-0x20,_0x174065-0xf6,_0x2e9e02-_0x48ab70._0x226b3f);}return _0x593d2f=_0x27c1c9[_0x2c96af(0x302,0x303,-0xe,_0x23bb46._0x1278cd)],_0x27c1c9[_0x2c96af(-_0x23bb46._0x379bd4,-_0x23bb46._0x361eb9,-0x37d,-0x15d)];})[_0x2af9e5(_0x5dd5f1._0x586108,0x3c1,_0x5dd5f1._0x4dffe8,_0x5dd5f1._0x1d6d05)]('\x0a');}function As(_0x414272,_0xcf3984,_0x47de9a){return _0x414272=_0x414272['trim'](),_0x414272=_0xcf3984?ac(_0x414272,_0x47de9a):sc(_0x414272,_0x47de9a),_0x414272;}function Es(_0x4eec3f,_0xc42eeb){const _0x564a2d={_0x2c9540:0x70b,_0x1d8007:0x1df,_0x1e8fcb:0x33e,_0x529ad5:0x598,_0x284ff8:0x5aa,_0x18a53b:0x5d8,_0x5cf548:0x123,_0x4dcb80:0x2b9,_0x3fee17:0x31a,_0x2544d3:0x536,_0x3194e1:0x650,_0x31ed09:0x1e1,_0x48bfee:0x3fe,_0x3dce81:0x37a,_0xd96329:0x429},_0x51c665={_0x7c57dd:0x49a,_0x13b5c2:0xba};function _0x560bb0(_0x5ab0cb,_0x2825c7,_0x37d32f,_0x3ecdd8){return _0x3764a2(_0x3ecdd8-_0x51c665._0x7c57dd,_0x2825c7-_0x51c665._0x13b5c2,_0x37d32f,_0x3ecdd8-0xd2);}let _0x26cf5d=new RegExp(_0x560bb0(0x612,0x734,0x5a5,_0x564a2d._0x2c9540)+_0xc42eeb+_0x56d01e(_0x564a2d._0x1d8007,0x39c,_0x564a2d._0x1e8fcb,0x57f)+Ps+_0x560bb0(_0x564a2d._0x529ad5,_0x564a2d._0x284ff8,_0x564a2d._0x18a53b,0x6f1),'gm');function _0x56d01e(_0x3388fa,_0x3f0d87,_0x8590e1,_0x591bad){return _0x5a69d4(_0x3388fa-0xac,_0x8590e1- -0x341,_0x3f0d87,_0x591bad-0x196);}return _0x4eec3f[_0x56d01e(_0x564a2d._0x5cf548,_0x564a2d._0x4dcb80,0x128,_0x564a2d._0x3fee17)](_0x26cf5d,_0x56d01e(_0x564a2d._0x2544d3,0x45d,0x56e,_0x564a2d._0x3194e1)+_0xc42eeb+_0x560bb0(_0x564a2d._0x31ed09,_0x564a2d._0x48bfee,_0x564a2d._0x3dce81,_0x564a2d._0xd96329));}function ks(_0x12fa66,_0x5a00c6){return _0x5a00c6['replace'](/(^|\n)(.+)/g,'$1'+_0x12fa66+'$2');}var Ls='\x0d',lc=new RegExp(Ls),cc=new RegExp(Ls+_0x3764a2(0x11a,0x2c2,0x271,0x2c8));function uc(_0x361d68,_0xa052fd){const _0x4195a2={_0x3e99be:0x620,_0x17af51:0x2ab,_0x131d14:0x2a4,_0x5b35ae:0x345,_0x3cda7a:0x2d3,_0x2885f4:0x938,_0x4af73c:0x549,_0x279beb:0x3fc,_0x185888:0x4ca,_0x3ac589:0x869,_0x407b9b:0x7b3,_0xea7427:0x3b9,_0x455915:0x6ed,_0x53a58f:0x81a,_0x12a53b:0x8b6,_0x596497:0x62c,_0x44334c:0x763,_0x3f30a4:0x866,_0x344c54:0x83b,_0x1f6ad9:0x235,_0x153c5b:0x6f8,_0x1a67ee:0x638,_0x224228:0x3c7,_0x81e9cb:0x486},_0xe3f00f={_0x1df3c2:0x56d,_0x437bb4:0x138},_0x351db3={_0x398a23:0x342,_0x370f16:0x1a0,_0x12a486:0xe5};let _0xb0c05e=_0x361d68['match'](/^([ \t]*)/),_0x134b35=_0xb0c05e?_0xb0c05e[0x1]:'',_0x24def7=_0x134b35[_0x10cbed(0x4bb,0x3a0,0x583,_0x4195a2._0x3e99be)](/\t/g,_0x58f946(_0x4195a2._0x17af51,_0x4195a2._0x131d14,_0x4195a2._0x5b35ae,_0x4195a2._0x3cda7a))['length'],_0x443667=_0x361d68['slice'](_0x134b35[_0x10cbed(0x869,0x973,0x668,_0x4195a2._0x2885f4)]);function _0x58f946(_0x107f85,_0x567882,_0x52b7d6,_0x345cac){return _0x3764a2(_0x567882-_0x351db3._0x398a23,_0x567882-_0x351db3._0x370f16,_0x107f85,_0x345cac-_0x351db3._0x12a486);}if(!_0x443667)return[_0x134b35];let _0x3ee8fb=_0xa052fd-_0x24def7;function _0x10cbed(_0x19ca0e,_0x402093,_0x566f26,_0x369782){return _0x3764a2(_0x19ca0e-_0xe3f00f._0x1df3c2,_0x402093-_0xe3f00f._0x437bb4,_0x402093,_0x369782-0x1e1);}if(_0x3ee8fb<=0x0)return[_0x361d68];let _0x592c44=_0x443667['split'](/(\u001b\[(?:\d{1,3})(?:;\d{1,3})*m)/g),_0x15f9a3=[],_0x5c95a0=0x0,_0x13bbf4=_0x134b35,_0x45676a=!0x1;for(;_0x592c44['length'];){let _0x53dae9=_0x592c44[0x0];if(_0x53dae9===''){_0x592c44[_0x58f946(_0x4195a2._0x4af73c,0x611,_0x4195a2._0x279beb,_0x4195a2._0x185888)](0x0,0x1),_0x45676a=!0x1;continue;}if(!De(_0x53dae9)){_0x13bbf4+=_0x53dae9,_0x592c44['splice'](0x0,0x1),_0x45676a=!0x0;continue;}let _0x4086fa=_0x53dae9['split'](/ +/);for(let _0xdb3fe3=0x0;_0xdb3fe3<_0x4086fa[_0x10cbed(_0x4195a2._0x3ac589,0x63e,0x655,_0x4195a2._0x407b9b)];_0xdb3fe3++){let _0x284473=_0x4086fa[_0xdb3fe3],_0x12ea99=De(_0x284473),_0x4cd6a0=_0x5c95a0!==0x0;if(_0x45676a&&(_0x4cd6a0=!0x1),_0x5c95a0+_0x12ea99+(_0x4cd6a0?0x1:0x0)>_0x3ee8fb){if(_0x12ea99<=_0x3ee8fb)_0x15f9a3['push'](_0x13bbf4),_0x13bbf4=_0x134b35+_0x284473,_0x5c95a0=_0x12ea99;else{let _0x7cf321=_0x284473['substr'](0x0,_0x3ee8fb-_0x5c95a0-(_0x4cd6a0?0x1:0x0)),_0x52f7d6=De(_0x7cf321);for(_0x4cd6a0&&(_0x13bbf4+='\x20'),_0x13bbf4+=_0x7cf321,_0x15f9a3[_0x58f946(0x530,_0x4195a2._0xea7427,0x2ca,0x48d)](_0x13bbf4),_0x13bbf4=_0x134b35,_0x5c95a0=0x0,_0x284473=_0x284473[_0x10cbed(_0x4195a2._0x455915,_0x4195a2._0x53a58f,_0x4195a2._0x12a53b,_0x4195a2._0x596497)](_0x7cf321[_0x58f946(_0x4195a2._0x44334c,0x63e,_0x4195a2._0x3f30a4,_0x4195a2._0x344c54)]),_0x12ea99=De(_0x284473);_0x12ea99&&(_0x7cf321=_0x284473[_0x58f946(0x5b9,0x4c2,0x4fe,0x5ad)](0x0,_0x3ee8fb),_0x52f7d6=De(_0x7cf321),!!_0x52f7d6);)if(_0x52f7d6<_0x3ee8fb){_0x13bbf4=_0x134b35+_0x7cf321,_0x5c95a0=_0x52f7d6;break;}else _0x15f9a3[_0x58f946(0x278,0x3b9,0x488,_0x4195a2._0x1f6ad9)](_0x134b35+_0x7cf321),_0x284473=_0x284473[_0x58f946(_0x4195a2._0x153c5b,0x4c2,_0x4195a2._0x1a67ee,_0x4195a2._0x224228)](_0x3ee8fb),_0x12ea99=De(_0x284473);}}else _0x4cd6a0&&(_0x13bbf4+='\x20',_0x5c95a0++),_0x13bbf4+=_0x284473,_0x5c95a0+=_0x12ea99;_0x45676a=!0x1;}_0x592c44['splice'](0x0,0x1);}return De(_0x13bbf4)&&_0x15f9a3[_0x10cbed(0x5e4,0x68e,_0x4195a2._0x81e9cb,0x7de)](_0x13bbf4),_0x15f9a3;}function Br(_0x59f9d3,_0x58ae0b,_0x57b9a7){const _0x57ce79={_0x11cfdc:0x124,_0xef1422:0xee,_0x2cb436:0x58e,_0x146318:0x61f},_0x5aea8a={_0x424f49:0xb0,_0x3756c3:0x57,_0x4fe498:0x2a0,_0x39f6dd:0x1f3},_0x2873ec={_0x1633d3:0x7d},_0x36e37e={_0x4e22b3:0x53a};function _0x5d43f6(_0x312fbc,_0x18157d,_0x31eb68,_0x32d3d3){return _0x5a69d4(_0x312fbc-0x185,_0x18157d- -_0x36e37e._0x4e22b3,_0x31eb68,_0x32d3d3-0x1bf);}function _0x5121e9(_0x6054d3,_0x16b41d,_0xf33b6c,_0x285f3e){return _0x5a69d4(_0x6054d3-0xea,_0x16b41d- -_0x2873ec._0x1633d3,_0x285f3e,_0x285f3e-0x51);}let _0x29e407=_0x57b9a7?cc:lc,_0x5de4d0=_0x59f9d3[_0x5d43f6(0x36,-0xeb,_0x57ce79._0x11cfdc,-_0x57ce79._0xef1422)](_0x29e407),_0x545f95=[];return _0x5de4d0[_0x5121e9(0x638,0x4ba,0x6f4,0x3c0)](_0x5cd7a6=>{const _0xbcdaa1={_0x2ed6d2:0x1c5,_0x3d58d9:0x150};function _0x40aa5d(_0x3fd5bf,_0x169b59,_0x1e5c2b,_0x1de388){return _0x5121e9(_0x3fd5bf-0x82,_0x169b59- -0x322,_0x1e5c2b-0x60,_0x1de388);}let _0x1e4bdb=_0x5cd7a6[_0x40aa5d(0x12f,_0x5aea8a._0x424f49,_0x5aea8a._0x3756c3,0x230)]('\x0a');function _0x7ab297(_0x4e371c,_0x3557a4,_0x200e6b,_0x4e111c){return _0x5d43f6(_0x4e371c-_0xbcdaa1._0x2ed6d2,_0x200e6b-0x1b,_0x4e111c,_0x4e111c-_0xbcdaa1._0x3d58d9);}for(let _0x3fddd8 of _0x1e4bdb)_0x545f95[_0x40aa5d(_0x5aea8a._0x4fe498,_0x5aea8a._0x39f6dd,0x43,0x415)](...uc(_0x3fddd8,_0x58ae0b));}),_0x545f95[_0x5121e9(_0x57ce79._0x2cb436,0x77a,_0x57ce79._0x146318,0x966)]('\x0a');}function _r(_0x156d17,_0x428999){const _0x15c168={_0x1493e6:0x2c0,_0x27cfa0:0x380},_0xe217d3={_0x182cee:0x1e2};function _0x2b87fe(_0x440d36,_0x3610bf,_0x527ac3,_0x21687d){return _0x5a69d4(_0x440d36-0x19d,_0x21687d- -0xcf,_0x440d36,_0x21687d-_0xe217d3._0x182cee);}return _0x428999&&_0x156d17+_0x428999[_0x2b87fe(_0x15c168._0x1493e6,0x50e,0x27a,_0x15c168._0x27cfa0)]('\x0a')['join']('\x0a'+_0x156d17);}function Ds(_0x17939d,_0x20ec57){const _0x3a16f7={_0x31db85:0x162,_0x7c9e4e:0x30,_0x409d13:0x14f,_0x88e34d:0x2e,_0x5e72bd:0x26,_0x24d766:0x1f2,_0x431e04:0x357,_0x4d54ae:0x47e},_0x195f33={_0x2672a4:0xb0,_0x3686f1:0x4a0},_0x5c39fa={_0xfea936:0x14a};function _0x3ecb62(_0x5d96a4,_0x1a0091,_0x56b820,_0x22607f){return _0x3764a2(_0x1a0091-0x49,_0x1a0091-_0x5c39fa._0xfea936,_0x22607f,_0x22607f-0x3d);}let _0x553a79=typeof _0x20ec57==_0x13321c(-0x47,0x21,0x12c,-_0x3a16f7._0x31db85)?_0x20ec57:process[_0x13321c(0x193,_0x3a16f7._0x7c9e4e,0x13f,-_0x3a16f7._0x409d13)][_0x3ecb62(-_0x3a16f7._0x88e34d,_0x3a16f7._0x5e72bd,-0xb7,-0x1ea)]||0x50;function _0x13321c(_0x33092d,_0x2bd4d3,_0x392a20,_0x5d12e3){return _0x5a69d4(_0x33092d-_0x195f33._0x2672a4,_0x2bd4d3- -_0x195f33._0x3686f1,_0x33092d,_0x5d12e3-0x36);}return new Array(_0x553a79)[_0x13321c(_0x3a16f7._0x24d766,_0x3a16f7._0x431e04,0x4da,_0x3a16f7._0x4d54ae)](_0x17939d);}function dt(_0x6170b6){return _0x6170b6+'\x0a\x0a';}import _0x2a5e8e from'chalk';import{highlight as _0x32abb5}from'cli-highlight';function Bs(_0x34033c,_0x23ce85,_0x44ce16,_0x390fc4,_0x43c1f7){if(_0x2a5e8e['level']===0x0)return _0x34033c;_0x34033c=zt(_0x34033c,_0x390fc4);try{return _0x32abb5(_0x34033c,Object['assign']({},{'language':_0x23ce85},_0x43c1f7));}catch{return _0x44ce16(_0x34033c);}}var gc={'code':_0x56bb15[_0x3764a2(0x13f,0x1ac,0x68,0x35)],'blockquote':_0x56bb15[_0x5a69d4(0x60b,0x713,0x7a1,0x898)][_0x3764a2(0x247,0x2d5,0x222,0x1a1)],'html':_0x56bb15[_0x3764a2(0x1f8,0x254,0x3ee,0x297)],'heading':_0x56bb15[_0x3764a2(0x304,0xef,0x2ab,0x1ac)][_0x3764a2(0x398,0x58c,0x2ee,0x422)],'firstHeading':_0x56bb15[_0x5a69d4(0x4c5,0x4a0,0x39a,0x332)]['underline'][_0x5a69d4(0xac1,0x8b3,0x9b4,0x776)],'hr':_0x56bb15[_0x3764a2(-0x87,0x4c,0x47,-0x155)],'listitem':_0x56bb15[_0x5a69d4(0x461,0x494,0x3e9,0x5db)],'list':As,'table':_0x56bb15[_0x5a69d4(0x29e,0x494,0x346,0x41a)],'paragraph':_0x56bb15[_0x3764a2(-0x87,-0x133,-0x183,-0x2ce)],'strong':_0x56bb15['bold'],'em':_0x56bb15['italic'],'codespan':_0x56bb15[_0x5a69d4(0x5d0,0x65a,0x44a,0x547)],'del':_0x56bb15[_0x5a69d4(0x840,0x67a,0x5f6,0x74f)][_0x3764a2(0x1f8,0xbe,0x237,0x85)][_0x5a69d4(0x906,0x73d,0x6c3,0x838)],'link':_0x56bb15['blue'],'href':_0x56bb15[_0x5a69d4(0x6a4,0x7f6,0x7d8,0x5da)][_0x5a69d4(0x30e,0x50c,0x2cc,0x2f6)],'text':Rt,'image':void 0x0,'unescape':!0x0,'emoji':!0x0,'width':0x50,'showSectionPrefix':!0x0,'reflowText':!0x1,'tab':0x2,'tableOptions':{}},Nr=class{constructor(_0x4dd154,_0x12fce0){const _0x38feff={_0x5b0d77:0x35d,_0x242910:0x276,_0x31c154:0x3ef,_0x401df8:0x331,_0x1d5403:0x403,_0x5c07f7:0x267,_0x23c170:0x3ea,_0x3c601b:0x25c,_0x4ce0d6:0x473,_0xfed70e:0x297,_0x30d8ef:0x3ab,_0x3b4d6d:0x57a,_0x27b965:0x45f,_0x5bd68d:0x4ef},_0x617853={_0x4ba037:0x4c,_0xe074f5:0x374},_0xea53c8={_0x499b6b:0x337,_0x347748:0x69,_0x2b84e7:0x19e};let _0x3fc01b={...gc,..._0x4dd154};function _0x5f5876(_0x607f2e,_0x194936,_0x5c62ad,_0x3316b6){return _0x3764a2(_0x5c62ad-_0xea53c8._0x499b6b,_0x194936-_0xea53c8._0x347748,_0x3316b6,_0x3316b6-_0xea53c8._0x2b84e7);}function _0x58fa9f(_0x1fecbe,_0x8bb57b,_0x583a35,_0x278620){return _0x5a69d4(_0x1fecbe-_0x617853._0x4ba037,_0x8bb57b- -_0x617853._0xe074f5,_0x278620,_0x278620-0x1bf);}this['tab']=bs(_0x3fc01b[_0x5f5876(_0x38feff._0x5b0d77,_0x38feff._0x242910,_0x38feff._0x31c154,_0x38feff._0x401df8)],0x4),this['o']=_0x3fc01b,this['tableSettings']=this['o'][_0x5f5876(0x234,_0x38feff._0x1d5403,0x32e,0x1f6)],this[_0x58fa9f(0x504,0x35f,_0x38feff._0x5c07f7,0x504)]=this['o'][_0x58fa9f(0x1be,0x332,0x46f,0x1cb)]?vs:Rt,this[_0x58fa9f(0x418,_0x38feff._0x23c170,_0x38feff._0x3c601b,0x3a0)]=this['o']['unescape']?xs:Rt,this['highlightOptions']=_0x12fce0||{},this[_0x5f5876(_0x38feff._0x4ce0d6,0x3c8,_0x38feff._0xfed70e,0x4a7)]=So(Ts,this[_0x5f5876(0x73d,_0x38feff._0x30d8ef,_0x38feff._0x3b4d6d,0x4fd)],this[_0x5f5876(_0x38feff._0x27b965,0x2f1,_0x38feff._0x5bd68d,0x573)]);}['textLength'](_0x2d3438){return De(_0x2d3438);}[_0x3764a2(0x340,0x332,0x4c5,0x305)](){return'';}[_0x3764a2(0x26c,0x34d,0x263,0x3c1)](_0x3c446e){const _0x50f2fb={_0x4dfa4d:0x390,_0x289f23:0x435,_0x4a99de:0x689,_0x2df085:0x36a,_0x384c72:0x803,_0x4cc849:0x5f4,_0x2cf535:0xaa8,_0x41e8e5:0xaf5,_0xd102e6:0x8b1,_0x2f2a06:0x432,_0x5e97f9:0x6e0,_0x1a9f3c:0x5bc,_0x33608a:0x3f0,_0xc25eb8:0x442,_0x36f057:0x640,_0x1a3b97:0x762,_0x135456:0x879},_0x4dcfae={_0x3b2979:0x4f7,_0x213090:0x1cc};function _0x4f5dee(_0x1b217f,_0x2c586d,_0x5d6bac,_0x514b48){return _0x3764a2(_0x5d6bac-0x23a,_0x2c586d-0x92,_0x514b48,_0x514b48-0x1b);}function _0x300434(_0x596bbe,_0x405e46,_0x1da8d7,_0x1e15cb){return _0x3764a2(_0x1e15cb-_0x4dcfae._0x3b2979,_0x405e46-0x1d6,_0x405e46,_0x1e15cb-_0x4dcfae._0x213090);}if(typeof _0x3c446e==_0x4f5dee(_0x50f2fb._0x4dfa4d,0x4fe,_0x50f2fb._0x289f23,0x1f0)){if(_0x3c446e[_0x4f5dee(0x50d,0x83c,0x5f4,_0x50f2fb._0x4a99de)]&&Array[_0x4f5dee(_0x50f2fb._0x2df085,0x51f,0x348,0x53f)](_0x3c446e[_0x4f5dee(_0x50f2fb._0x384c72,0x43a,_0x50f2fb._0x4cc849,0x6de)])&&_0x3c446e[_0x300434(_0x50f2fb._0x2cf535,0xa90,_0x50f2fb._0x41e8e5,_0x50f2fb._0xd102e6)][_0x300434(0x5d5,0x7cd,0x651,0x7f3)]>0x0&&this[_0x4f5dee(_0x50f2fb._0x2f2a06,_0x50f2fb._0x5e97f9,_0x50f2fb._0x1a9f3c,_0x50f2fb._0x33608a)]?.[_0x300434(0x607,0x671,0x56f,_0x50f2fb._0xc25eb8)])return this[_0x300434(0x710,_0x50f2fb._0x36f057,_0x50f2fb._0x1a3b97,_0x50f2fb._0x135456)]['parseInline'](_0x3c446e['tokens']);_0x3c446e=_0x3c446e['text'];}return this['o']['text'](_0x3c446e);}[_0x3764a2(0x24f,0x46c,0x2af,0x224)](_0x34b06e,_0x278f63,_0x2b19ed){const _0x2c89c4={_0x41683e:0x7b4,_0x5d0b78:0x71c,_0x3453c0:0x8e7,_0x2f8d5e:0x7bb,_0x43c06d:0x796,_0x5b43b5:0x78d,_0x4737a7:0x4b9,_0x2172c0:0x685,_0x3dd7eb:0x587},_0x3eb526={_0x582aa4:0x521,_0x35670d:0x1b9},_0x55a9c1={_0xc39150:0x28c,_0xdedf9e:0x192};function _0x4cd8d3(_0x4e3940,_0x50c217,_0x4e0dc4,_0x247828){return _0x3764a2(_0x4e3940-_0x55a9c1._0xc39150,_0x50c217-_0x55a9c1._0xdedf9e,_0x50c217,_0x247828-0xef);}function _0x203d1d(_0x31a2a5,_0x525e60,_0x20d201,_0x15281e){return _0x3764a2(_0x20d201-_0x3eb526._0x582aa4,_0x525e60-_0x3eb526._0x35670d,_0x15281e,_0x15281e-0x71);}return typeof _0x34b06e==_0x203d1d(_0x2c89c4._0x41683e,0x918,_0x2c89c4._0x5d0b78,_0x2c89c4._0x3453c0)&&(_0x278f63=_0x34b06e[_0x203d1d(_0x2c89c4._0x2f8d5e,0xa12,0x7ca,0x799)],_0x34b06e=_0x34b06e[_0x203d1d(_0x2c89c4._0x43c06d,0x6e3,_0x2c89c4._0x5b43b5,0x639)]),dt(_r(this['tab'],Bs(_0x34b06e,_0x278f63,this['o'][_0x4cd8d3(0x4db,0x60a,_0x2c89c4._0x4737a7,_0x2c89c4._0x2172c0)],this['o'][_0x4cd8d3(0x485,0x505,0x425,_0x2c89c4._0x3dd7eb)],this['highlightOptions'])));}[_0x5a69d4(0x450,0x655,0x720,0x470)](_0x175b28){const _0x5ba61e={_0x78cb2c:0x54c,_0x25d52c:0x6d3,_0x5be0ae:0x912,_0x2dedbe:0x50b,_0x141bf7:0x689,_0x4e7296:0x1b,_0x59a045:0xa2,_0x43cee5:0xd,_0x1024c7:0x13a,_0x34b865:0x73,_0x4a2f9f:0x8f},_0x41a3b1={_0x3afbf6:0x351,_0x1d6d2c:0x80};function _0x4c2e68(_0x4ba1f9,_0x403916,_0x391589,_0x4309df){return _0x3764a2(_0x4309df- -0x147,_0x403916-0x1ea,_0x4ba1f9,_0x4309df-0x175);}function _0x25ac64(_0x14c654,_0x4ec3a1,_0x4bbda8,_0x39c72d){return _0x3764a2(_0x14c654-_0x41a3b1._0x3afbf6,_0x4ec3a1-_0x41a3b1._0x1d6d2c,_0x4ec3a1,_0x39c72d-0x71);}let _0x5b167b;return typeof _0x175b28==_0x25ac64(_0x5ba61e._0x78cb2c,0x535,0x6de,0x721)?_0x5b167b=this[_0x25ac64(_0x5ba61e._0x25d52c,_0x5ba61e._0x5be0ae,_0x5ba61e._0x2dedbe,_0x5ba61e._0x141bf7)]['parse'](_0x175b28['tokens']):_0x5b167b=_0x175b28,dt(this['o'][_0x4c2e68(-0x6d,_0x5ba61e._0x4e7296,-_0x5ba61e._0x59a045,-_0x5ba61e._0x43cee5)](_r(this[_0x4c2e68(0x43,-_0x5ba61e._0x1024c7,-_0x5ba61e._0x34b865,-_0x5ba61e._0x4a2f9f)],_0x5b167b['trim']())));}['html'](_0x427d5e){const _0x2f9efc={_0x4993e5:0x279,_0x227c70:0x54c,_0x33c0d5:0x223,_0x150b37:0x27b,_0x4a96b9:0x45e,_0x5f3116:0x4c0,_0x1cd4b2:0x394,_0x1cac70:0x528},_0x5dfaf3={_0x54719b:0x6},_0x1ce068={_0xcfac33:0xe3,_0x268d71:0xfa};function _0x163825(_0x37ec2d,_0x494dca,_0x533c7b,_0x19fb8e){return _0x5a69d4(_0x37ec2d-_0x1ce068._0xcfac33,_0x533c7b- -0x329,_0x37ec2d,_0x19fb8e-_0x1ce068._0x268d71);}function _0x13afbd(_0x38db61,_0xf84db3,_0xac1401,_0x5a4175){return _0x5a69d4(_0x38db61-0x27,_0xac1401- -_0x5dfaf3._0x54719b,_0xf84db3,_0x5a4175-0x7d);}return typeof _0x427d5e==_0x163825(_0x2f9efc._0x4993e5,_0x2f9efc._0x227c70,0x3ed,_0x2f9efc._0x33c0d5)&&(_0x427d5e=_0x427d5e[_0x163825(0x369,_0x2f9efc._0x150b37,_0x2f9efc._0x4a96b9,_0x2f9efc._0x5f3116)]),this['o'][_0x163825(0x4b5,_0x2f9efc._0x1cd4b2,_0x2f9efc._0x1cac70,0x3c0)](_0x427d5e);}[_0x5a69d4(0x634,0x7a8,0x6b6,0x9e5)](_0x10477a,_0x3befc5){const _0x354ff2={_0x412791:0x910,_0x2093a7:0x757,_0x12652d:0x579,_0x4fb3e4:0x7b7,_0x13fa7b:0x725,_0xdfe504:0x6ba,_0xc4b458:0x65e,_0x21c010:0x5cc,_0x1f79af:0x7eb,_0x2a21e7:0x2cc,_0x52444c:0x4bf,_0x3de7c0:0x3f1,_0x2a1dfe:0x3b4,_0x1f1a3c:0x805,_0x18f9c4:0x4ef,_0x3d7e64:0x958,_0x458cd3:0x838,_0x1016c3:0x8a1,_0x546922:0x6e8,_0x5057c5:0x64a,_0x44b2ee:0x1f3,_0xd619eb:0x487,_0x3c3667:0x665,_0x1f3937:0x87f},_0x23752e={_0x430b96:0xa},_0x3df490={_0x47d940:0xd6};function _0x196a3b(_0x100ba3,_0xf13731,_0x23c81d,_0x4aefc8){return _0x5a69d4(_0x100ba3-0x3f,_0x4aefc8- -0xb2,_0x100ba3,_0x4aefc8-_0x3df490._0x47d940);}let _0x37c074;function _0x9c7579(_0x3e8b2f,_0x4044de,_0x145c38,_0x278684){return _0x5a69d4(_0x3e8b2f-0x45,_0x145c38-0x41,_0x3e8b2f,_0x278684-_0x23752e._0x430b96);}return typeof _0x10477a==_0x9c7579(0x939,_0x354ff2._0x412791,_0x354ff2._0x2093a7,_0x354ff2._0x12652d)?(_0x3befc5=_0x10477a[_0x9c7579(0x4db,_0x354ff2._0x4fb3e4,_0x354ff2._0x13fa7b,_0x354ff2._0xdfe504)],_0x37c074=this[_0x196a3b(0x65f,_0x354ff2._0xc4b458,_0x354ff2._0x21c010,_0x354ff2._0x1f79af)][_0x196a3b(_0x354ff2._0x2a21e7,_0x354ff2._0x52444c,_0x354ff2._0x3de7c0,_0x354ff2._0x2a1dfe)](_0x10477a[_0x196a3b(_0x354ff2._0x1f1a3c,0x6c4,0x7c5,0x823)])):_0x37c074=_0x10477a,_0x37c074=this[_0x9c7579(0x46e,_0x354ff2._0x18f9c4,0x4bc,0x355)](_0x37c074),_0x37c074=(this['o']['showSectionPrefix']?new Array((_0x3befc5||0x1)+0x1)[_0x9c7579(0x617,_0x354ff2._0x3d7e64,_0x354ff2._0x458cd3,_0x354ff2._0x1016c3)]('#')+'\x20':'')+_0x37c074,this['o'][_0x9c7579(0x6c7,_0x354ff2._0x546922,0x755,_0x354ff2._0x5057c5)]&&(_0x37c074=Br(_0x37c074,this['o']['width'],this[_0x196a3b(_0x354ff2._0x44b2ee,0x500,0x573,0x416)][_0x9c7579(0x837,0x852,0x8ec,0x759)])),dt(_0x3befc5===0x1?this['o'][_0x196a3b(_0x354ff2._0xd619eb,_0x354ff2._0x3c3667,0x5b6,0x454)](_0x37c074):this['o'][_0x196a3b(0x552,0x84f,_0x354ff2._0x1f3937,0x6f6)](_0x37c074));}['hr'](){const _0x30443a={_0x70ff78:0x157,_0x5897ef:0x18c},_0x538179={_0x7d200:0xbb,_0x5ddb9e:0x69};function _0x47a221(_0x21b93a,_0x4fa34d,_0x47b912,_0x193e1d){return _0x3764a2(_0x193e1d- -_0x538179._0x7d200,_0x4fa34d-_0x538179._0x5ddb9e,_0x47b912,_0x193e1d-0x1c2);}return dt(this['o']['hr'](Ds('⎼',this['o']['reflowText']&&this['o'][_0x47a221(0xf8,-_0x30443a._0x70ff78,-_0x30443a._0x5897ef,-0x12d)])));}[_0x5a69d4(0x783,0x54b,0x498,0x72b)](_0x4abd14,_0xa5a080){const _0x4540f7={_0x13b8a1:0x487,_0x44afe4:0x545,_0x4f8fa4:0x4a8,_0x48ac97:0x35e,_0x4837dc:0x68f,_0x13d26d:0x3a1,_0x81702d:0x49d,_0x3d0e2e:0x396,_0x1e60cb:0x2bc,_0x3a8519:0x407,_0x4b1aed:0x459,_0x3922aa:0x3f6,_0x383a3d:0x550,_0x156bd8:0x344,_0x46f3bc:0x11a,_0x46579d:0x2d3,_0x362e54:0x2d9,_0x55f410:0xe9,_0x387f3a:0x7b7,_0x1d2e0e:0x3c2,_0x5086e1:0x67d,_0x30eff6:0x88d,_0x352fcb:0x47b};let _0x579978;if(typeof _0x4abd14==_0x3995a8(_0x4540f7._0x13b8a1,0x3df,_0x4540f7._0x44afe4,0x5b5)){let _0x381c62=_0x4abd14;_0xa5a080=_0x381c62[_0x3995a8(_0x4540f7._0x4f8fa4,_0x4540f7._0x48ac97,0x471,_0x4540f7._0x4837dc)],_0x579978='';for(let _0x49e108=0x0;_0x49e108<_0x381c62['items'][_0x3995a8(0x588,0x6b2,_0x4540f7._0x13d26d,_0x4540f7._0x81702d)];_0x49e108++)_0x579978+=this[_0x3995a8(_0x4540f7._0x3d0e2e,0x231,0x2d0,0x585)](_0x381c62['items'][_0x49e108]);}else _0x579978=_0x4abd14;function _0x25481f(_0x18ed35,_0x2c580a,_0x16984b,_0x1c4bdf){return _0x5a69d4(_0x18ed35-0x1c4,_0x18ed35- -0x17a,_0x2c580a,_0x1c4bdf-0xeb);}_0x579978=this['o'][_0x3995a8(_0x4540f7._0x1e60cb,0x2cf,_0x4540f7._0x3a8519,0x4cc)](_0x579978,!!_0xa5a080,this[_0x25481f(_0x4540f7._0x4b1aed,0x463,0x229,0x2e8)]);function _0x3995a8(_0x28ae17,_0x427d7d,_0x5e6746,_0x73c7e5){return _0x3764a2(_0x28ae17-0x28c,_0x427d7d-0xf5,_0x427d7d,_0x73c7e5-0x1c7);}let _0x426318=Es(ks(this[_0x3995a8(0x344,_0x4540f7._0x3922aa,0x2e1,_0x4540f7._0x383a3d)],_0x579978),this[_0x3995a8(_0x4540f7._0x156bd8,_0x4540f7._0x46f3bc,0x357,_0x4540f7._0x46579d)]);return _0x426318=_0x426318[_0x3995a8(0x1c0,_0x4540f7._0x362e54,0x4d,_0x4540f7._0x55f410)]('\x0a')[_0x3995a8(0x58a,_0x4540f7._0x387f3a,0x3d3,_0x4540f7._0x1d2e0e)](_0x1614dc=>this['textLength'](_0x1614dc[_0x25481f(0x34a,0x11a,0x4e2,0x174)]())>0x0)[_0x25481f(_0x4540f7._0x5086e1,0x53d,_0x4540f7._0x30eff6,_0x4540f7._0x352fcb)]('\x0a'),_0x426318+'\x0a\x0a';}['listitem'](_0x1cea58){const _0x5d5620={_0x226944:0x2f2,_0xd12fd4:0x3ac,_0x4706fd:0x210,_0x121f96:0x29d,_0x394af0:0x26c,_0x399ef3:0x49f,_0xf49b5e:0x306,_0x10bd1f:0x1af,_0x19b5ff:0x542,_0x44510b:0x4b1,_0x40f059:0x14e,_0x5bcb51:0x15a,_0x53b85f:0x144,_0x2bbf22:0x2fa,_0x23a9d8:0x42b,_0xbf3f16:0x440,_0x533da8:0x2ab,_0x4df5ca:0x42d,_0x4f6497:0x246,_0xdf82e4:0x363,_0x281636:0x4dd,_0x426816:0x6f4,_0xf7fa6:0x360,_0x487b1b:0x310,_0x51dd1b:0x51b,_0x183a6b:0x608,_0x198f43:0x554,_0x16f5ef:0x705,_0x39ffcf:0x34a,_0x34a759:0x16f,_0x458d2d:0x38f,_0x2b7e5e:0x17f,_0x4aa997:0x484,_0x6bb42b:0x414,_0x42d87e:0x39c,_0xa20b38:0x307,_0xe72081:0x489,_0x589a5b:0x37d,_0x4a111d:0x251,_0x3a1331:0x3e1,_0x23b62b:0x40c,_0x55f90a:0x26b,_0x35de46:0x4a5,_0x14aa3e:0x2a1,_0x183466:0x2b7,_0xc7edbf:0x302,_0x1446ec:0x20a,_0x30f56e:0x150,_0x3b9285:0x65,_0x2ba1f5:0x41f,_0x29b4cf:0x3fd,_0x15bd13:0x250,_0xeb52ff:0x111,_0x23c74f:0x4d,_0x1cc582:0x27e,_0x2ba902:0xcc,_0x18682a:0x297,_0x28774a:0x33,_0x1ecc61:0x115,_0x149708:0x27,_0x26b55f:0xb0,_0x18d607:0x57},_0x18cb21={_0x528050:0x123};if(typeof _0x1cea58==_0x3baec5(0x37f,0x3aa,_0x5d5620._0x226944,0x128)){let _0x2f09b7=_0x1cea58;if(_0x1cea58='',_0x2f09b7['task']){let _0x1b3316=this[_0x3baec5(_0x5d5620._0xd12fd4,_0x5d5620._0x4706fd,0x377,0x332)]({'checked':!!_0x2f09b7[_0xcb6953(_0x5d5620._0x121f96,_0x5d5620._0x394af0,_0x5d5620._0x399ef3,0x4e3)]});_0x2f09b7[_0x3baec5(_0x5d5620._0xf49b5e,-0x5d,0x182,_0x5d5620._0x10bd1f)]?_0x2f09b7['tokens']&&_0x2f09b7[_0x3baec5(0x33d,_0x5d5620._0x19b5ff,_0x5d5620._0x44510b,0x510)]['length']>0x0&&_0x2f09b7[_0x3baec5(0x2b9,0x65b,0x4b1,0x4b5)][0x0][_0x3baec5(_0x5d5620._0x40f059,_0x5d5620._0x5bcb51,_0x5d5620._0x53b85f,_0x5d5620._0x2bbf22)]===_0xcb6953(_0x5d5620._0x23a9d8,_0x5d5620._0xbf3f16,0x577,_0x5d5620._0x533da8)?(_0x2f09b7[_0xcb6953(0x4dd,_0x5d5620._0x4df5ca,0x4b5,0x6da)][0x0][_0x3baec5(0x494,_0x5d5620._0x4f6497,_0x5d5620._0xdf82e4,0x446)]=_0x1b3316+'\x20'+_0x2f09b7['tokens'][0x0]['text'],_0x2f09b7['tokens'][0x0]['tokens']&&_0x2f09b7[_0xcb6953(_0x5d5620._0x281636,_0x5d5620._0x426816,0x635,_0x5d5620._0xf7fa6)][0x0][_0x3baec5(_0x5d5620._0x487b1b,_0x5d5620._0x51dd1b,0x4b1,0x293)][_0x3baec5(0x638,_0x5d5620._0x183a6b,0x3f3,_0x5d5620._0x198f43)]>0x0&&_0x2f09b7[_0xcb6953(_0x5d5620._0x281636,0x69a,_0x5d5620._0x16f5ef,0x6e7)][0x0]['tokens'][0x0][_0xcb6953(0x170,0xd2,_0x5d5620._0x39ffcf,0x1b5)]===_0x3baec5(0x47e,_0x5d5620._0x34a759,_0x5d5620._0xdf82e4,0x392)&&(_0x2f09b7[_0x3baec5(0x5c5,0x644,0x4b1,0x3fc)][0x0]['tokens'][0x0][_0xcb6953(_0x5d5620._0x458d2d,_0x5d5620._0x2b7e5e,0x2b4,0x348)]=_0x1b3316+'\x20'+_0x2f09b7['tokens'][0x0][_0xcb6953(_0x5d5620._0x281636,0x385,_0x5d5620._0x4aa997,0x3d6)][0x0][_0x3baec5(0x3d1,0x156,0x363,0x1e1)])):(_0x2f09b7[_0x3baec5(_0x5d5620._0x6bb42b,_0x5d5620._0x42d87e,0x4b1,0x569)]=_0x2f09b7[_0xcb6953(_0x5d5620._0x281636,_0x5d5620._0xa20b38,0x6ea,_0x5d5620._0xe72081)]||[],_0x2f09b7['tokens'][_0x3baec5(_0x5d5620._0x589a5b,_0x5d5620._0x4a111d,_0x5d5620._0x3a1331,_0x5d5620._0x23b62b)]({'type':_0xcb6953(_0x5d5620._0x458d2d,0x58c,0x1f4,_0x5d5620._0x55f90a),'raw':_0x1b3316+'\x20','text':_0x1b3316+'\x20'})):_0x1cea58+=_0x1b3316+'\x20';}_0x1cea58+=this[_0xcb6953(_0x5d5620._0x35de46,0x6d6,0x56a,_0x5d5620._0x14aa3e)][_0xcb6953(0x454,_0x5d5620._0x183466,0x685,0x3a6)](_0x2f09b7[_0x3baec5(0x62f,0x663,_0x5d5620._0x44510b,_0x5d5620._0xc7edbf)]||[],!!_0x2f09b7[_0x3baec5(0x1c7,0x392,0x182,_0x5d5620._0x1446ec)]);}let _0x1207e3=_0x1cea58[_0x3baec5(0x267,-_0x5d5620._0x30f56e,0x2b,_0x5d5620._0x3b9285)]('\x0a'),_0xd95e1f=[];for(let _0x40f6ee=0x0;_0x40f6ee<_0x1207e3[_0xcb6953(_0x5d5620._0x2ba1f5,_0x5d5620._0x29b4cf,_0x5d5620._0x15bd13,0x4e0)];_0x40f6ee++){let _0x4b78c2=_0x1207e3[_0x40f6ee];this[_0xcb6953(_0x5d5620._0xeb52ff,0x17,-0x126,0x1f)](_0x4b78c2[_0xcb6953(0xcc,_0x5d5620._0x23c74f,0x213,0x135)]())>0x0&&_0xd95e1f['push'](_0x4b78c2);}function _0x3baec5(_0x3774a7,_0x1b7dee,_0x1e8c5f,_0x56a487){return _0x5a69d4(_0x3774a7-0x67,_0x1e8c5f- -0x424,_0x56a487,_0x56a487-0x7d);}function _0xcb6953(_0x2aa243,_0xeb04fd,_0x33613c,_0x45711d){return _0x3764a2(_0x2aa243-_0x18cb21._0x528050,_0xeb04fd-0x52,_0x33613c,_0x45711d-0x16c);}_0x1cea58=_0xd95e1f[_0xcb6953(0x3ff,_0x5d5620._0xa20b38,_0x5d5620._0x1cc582,0x58c)]('\x0a')[_0xcb6953(_0x5d5620._0x2ba902,_0x5d5620._0x18682a,_0x5d5620._0x28774a,0x256)]();let _0x3f9f76=So(this['o'][_0xcb6953(0x22d,_0x5d5620._0x1ecc61,_0x5d5620._0x149708,0x1a5)],this[_0x3baec5(_0x5d5620._0x26b55f,0xfe,_0x5d5620._0x18d607,0x113)]);return'\x0a'+Io+_0x3f9f76(_0x1cea58);}[_0x3764a2(0x280,0xa2,0x431,0xc4)](_0x2c1e42){const _0x5cf4ec={_0x1ec50a:0xab,_0x37c2bb:0x57,_0x34feb6:0x158},_0x184688={_0x391179:0x77,_0x1e9ec3:0x1e2};function _0x4dc2c0(_0x3659f3,_0x50d272,_0x2d6a75,_0x21e1aa){return _0x5a69d4(_0x3659f3-_0x184688._0x391179,_0x3659f3- -0x66b,_0x2d6a75,_0x21e1aa-_0x184688._0x1e9ec3);}return typeof _0x2c1e42==_0x4dc2c0(_0x5cf4ec._0x1ec50a,_0x5cf4ec._0x37c2bb,0x85,-_0x5cf4ec._0x34feb6)&&(_0x2c1e42=_0x2c1e42['checked']),'['+(_0x2c1e42?'X':'\x20')+']\x20';}[_0x3764a2(0x308,0x33f,0x31d,0x1ce)](_0x51a549){const _0x537121={_0x10f75e:0x613,_0x3b8892:0x97c,_0x392677:0x46f,_0x17da76:0x3b6,_0x3a3849:0x5e2,_0x174bff:0x505,_0x4bbd4b:0x2fb,_0x524938:0x8c2,_0x12b98c:0x9ea,_0x382f13:0x6b2,_0x343ae6:0x165,_0x113dff:0x1ab,_0xe1f36e:0xb07},_0x388f66={_0x39807c:0x1ab};function _0x3f6d84(_0x1c0737,_0x3acf82,_0x24bc31,_0x196ef8){return _0x5a69d4(_0x1c0737-0x7b,_0x1c0737-0x9f,_0x24bc31,_0x196ef8-0x18f);}function _0x1bdb80(_0x25ba90,_0x3a4b1e,_0x54dbbf,_0x5921be){return _0x5a69d4(_0x25ba90-0xf7,_0x25ba90- -0x4cc,_0x5921be,_0x5921be-_0x388f66._0x39807c);}let _0x4a53d3;return typeof _0x51a549==_0x3f6d84(0x7b5,0x717,_0x537121._0x10f75e,_0x537121._0x3b8892)?_0x4a53d3=this[_0x1bdb80(0x3d1,_0x537121._0x392677,_0x537121._0x17da76,_0x537121._0x3a3849)][_0x3f6d84(_0x537121._0x174bff,_0x537121._0x4bbd4b,0x6af,0x67b)](_0x51a549['tokens']):_0x4a53d3=_0x51a549,_0x4a53d3=So(this['o'][_0x3f6d84(_0x537121._0x524938,_0x537121._0x12b98c,_0x537121._0x382f13,0x880)],this[_0x1bdb80(-0x51,-_0x537121._0x343ae6,_0x537121._0x113dff,-0xbd)])(_0x4a53d3),this['o']['reflowText']&&(_0x4a53d3=Br(_0x4a53d3,this['o']['width'],this['options'][_0x3f6d84(0x94a,0x9fe,0x9f7,_0x537121._0xe1f36e)])),dt(_0x4a53d3);}['table'](_0x4a2bb7,_0x58c238){const _0x500d53={_0x13c4c3:0x851,_0xa25ac1:0xd5,_0x284b73:0x193,_0x3c4ac1:0xa8e,_0x5381a:0x877,_0x5be27a:0x759,_0x13a039:0x6d2,_0x41427d:0x78e,_0x485d3:0x5f2,_0x18a445:0x546,_0x44f30e:0x1ea,_0x40e34a:0x369,_0x38393d:0x27b,_0x50c962:0x190,_0x113ad6:0x14c,_0x192aef:0x2df,_0x2fa875:0x2a3,_0x18555b:0x1c3,_0x36a319:0x55,_0x153b6b:0x638,_0x1f0c6d:0x387,_0x27aa25:0x521},_0x3a351d={_0x211ae6:0x159,_0x461795:0x1ae};function _0x3a5e02(_0x2454a7,_0x110d83,_0x52c31a,_0x3929ed){return _0x5a69d4(_0x2454a7-0x5d,_0x2454a7-0x2f,_0x52c31a,_0x3929ed-0x15d);}function _0x36f544(_0x2a13b1,_0x11146d,_0x3966df,_0xb4dedd){return _0x3764a2(_0xb4dedd- -_0x3a351d._0x211ae6,_0x11146d-0x158,_0x2a13b1,_0xb4dedd-_0x3a351d._0x461795);}if(typeof _0x4a2bb7==_0x3a5e02(0x745,_0x500d53._0x13c4c3,0x713,0x52e)){let _0x41897e=_0x4a2bb7;_0x4a2bb7='';let _0x27fdda='';for(let _0x5c98fd=0x0;_0x5c98fd<_0x41897e[_0x36f544(-_0x500d53._0xa25ac1,-0x105,-_0x500d53._0x284b73,0x2f)][_0x3a5e02(0x846,_0x500d53._0x3c4ac1,_0x500d53._0x5381a,0x9fd)];_0x5c98fd++)_0x27fdda+=this[_0x3a5e02(0x7ad,_0x500d53._0x5be27a,0x601,0x8c3)](_0x41897e[_0x3a5e02(_0x500d53._0x13a039,_0x500d53._0x41427d,_0x500d53._0x485d3,_0x500d53._0x18a445)][_0x5c98fd]);_0x4a2bb7+=this[_0x36f544(-_0x500d53._0x44f30e,-0x56,-0xa9,-0x21c)]({'text':_0x27fdda}),_0x58c238='';for(let _0x3fda77=0x0;_0x3fda77<_0x41897e['rows'][_0x36f544(0x1ee,-0x53,_0x500d53._0x40e34a,0x1a3)];_0x3fda77++){let _0x1923f0=_0x41897e[_0x36f544(_0x500d53._0x38393d,-0xae,_0x500d53._0x50c962,_0x500d53._0x113ad6)][_0x3fda77];_0x27fdda='';for(let _0x24f1ef=0x0;_0x24f1ef<_0x1923f0[_0x36f544(0x3b0,_0x500d53._0x192aef,0x1d4,0x1a3)];_0x24f1ef++)_0x27fdda+=this[_0x36f544(_0x500d53._0x2fa875,_0x500d53._0x18555b,-_0x500d53._0x36a319,0x10a)](_0x1923f0[_0x24f1ef]);_0x58c238+=this[_0x3a5e02(0x487,_0x500d53._0x153b6b,0x5ec,_0x500d53._0x1f0c6d)]({'text':_0x27fdda});}}return dt(Ss(_0x4a2bb7,_0x58c238||'',this[_0x3a5e02(0x590,_0x500d53._0x27aa25,0x6cb,0x475)],this[_0x36f544(0x20,-0x366,-0x2dc,-0x1f9)],this['o']['table']));}[_0x5a69d4(0x4f6,0x458,0x53b,0x4aa)](_0xc97eca){const _0x41269c={_0x3079db:0x482,_0x1263d8:0x633,_0x5d5d50:0x49e,_0x506c9a:0x6af,_0x2ebadb:0x734},_0x199e4e={_0x5ae353:0x5e,_0x426286:0x1cb},_0x14cc3e={_0x34a9a8:0xcc};function _0x322268(_0x51e0bd,_0x49b2e1,_0x4464c2,_0x26581f){return _0x3764a2(_0x26581f-0x2af,_0x49b2e1-_0x14cc3e._0x34a9a8,_0x4464c2,_0x26581f-0x129);}function _0x5d95e8(_0x517ea2,_0x2c6526,_0xc01b8e,_0x181b9b){return _0x5a69d4(_0x517ea2-_0x199e4e._0x5ae353,_0x2c6526- -0xd8,_0x181b9b,_0x181b9b-_0x199e4e._0x426286);}return typeof _0xc97eca==_0x5d95e8(0x61a,0x63e,_0x41269c._0x3079db,_0x41269c._0x1263d8)&&(_0xc97eca=_0xc97eca[_0x5d95e8(_0x41269c._0x5d5d50,_0x41269c._0x506c9a,0x50b,_0x41269c._0x2ebadb)]),Po+_0xc97eca+Po+'\x0a';}[_0x5a69d4(0x56d,0x77e,0x5ba,0x8cf)](_0x5f1b34){const _0x162381={_0x584e0f:0x154,_0x18b7a1:0x195,_0x255c00:0x4fd,_0x440de0:0x57f,_0x44c3cf:0x377,_0x12b4cf:0x4a2,_0x53a116:0x2f9},_0x3ce94d={_0x550806:0xa3,_0x563e03:0x526},_0x10f4c6={_0x353ac5:0x177};function _0x4b49b9(_0x300293,_0x34e6a5,_0x3b8d79,_0x4ce141){return _0x3764a2(_0x34e6a5-0xe8,_0x34e6a5-_0x10f4c6._0x353ac5,_0x3b8d79,_0x4ce141-0x64);}function _0x4893f1(_0x2d5a42,_0x5b1e25,_0x14df01,_0x47de65){return _0x5a69d4(_0x2d5a42-_0x3ce94d._0x550806,_0x47de65- -_0x3ce94d._0x563e03,_0x14df01,_0x47de65-0x1af);}return typeof _0x5f1b34==_0x4893f1(_0x162381._0x584e0f,0x1a0,0x1ac,0x1f0)&&(_0x5f1b34=this[_0x4893f1(_0x162381._0x18b7a1,_0x162381._0x255c00,_0x162381._0x440de0,_0x162381._0x44c3cf)]['parseInline'](_0x5f1b34[_0x4b49b9(0x529,_0x162381._0x12b4cf,0x501,_0x162381._0x53a116)]||[])),_0x5f1b34+Dr;}[_0x3764a2(-0xab,-0x1ad,-0x229,-0x2c0)](_0x252725){const _0x54e8a8={_0x4b49dd:0x6c4,_0x2e2545:0x4a,_0x41971f:0x1a5,_0x8aaecd:0x33e,_0x34cbef:0x61},_0x259a64={_0x238dbc:0x1b3,_0x4c79c5:0xf8},_0x3c34e6={_0x381cc6:0x155,_0x141895:0xeb};function _0x405678(_0x523481,_0x4fa7de,_0xdc838c,_0x53fce3){return _0x3764a2(_0x523481-0x2fb,_0x4fa7de-_0x3c34e6._0x381cc6,_0x4fa7de,_0x53fce3-_0x3c34e6._0x141895);}let _0x1ec86b;function _0x1600ef(_0x4cb61a,_0x2282d7,_0x22442d,_0x44a2c5){return _0x3764a2(_0x2282d7- -0xf0,_0x2282d7-_0x259a64._0x238dbc,_0x4cb61a,_0x44a2c5-_0x259a64._0x4c79c5);}return typeof _0x252725==_0x405678(0x4f6,0x619,_0x54e8a8._0x4b49dd,0x486)?_0x1ec86b=this['parser'][_0x1600ef(-_0x54e8a8._0x2e2545,-_0x54e8a8._0x41971f,-_0x54e8a8._0x8aaecd,-_0x54e8a8._0x34cbef)](_0x252725['tokens']):_0x1ec86b=_0x252725,this['o']['strong'](_0x1ec86b);}['em'](_0x368a5c){const _0x10c856={_0x3caedd:0x7ad,_0x54ae9f:0x679,_0x48a391:0x71e,_0x209418:0x22c,_0x418e72:0x14,_0xb2c0a2:0x451,_0x25b5a8:0x1d0,_0x5b3c16:0x69b,_0x162b00:0x868,_0x23c654:0x55b,_0x543452:0x429},_0x1d1b82={_0x558289:0x6b,_0x46297a:0x23a},_0x4f5471={_0x53c9a9:0x5b2,_0x568b19:0x7b};function _0x23d7c5(_0x356b40,_0x39e62d,_0x57e395,_0x2af321){return _0x3764a2(_0x39e62d-_0x4f5471._0x53c9a9,_0x39e62d-0x7,_0x2af321,_0x2af321-_0x4f5471._0x568b19);}function _0x3d04cf(_0x4e40ac,_0x5133b9,_0x16250a,_0x5a8f78){return _0x5a69d4(_0x4e40ac-_0x1d1b82._0x558289,_0x4e40ac- -_0x1d1b82._0x46297a,_0x16250a,_0x5a8f78-0x46);}let _0x120e2d;return typeof _0x368a5c==_0x23d7c5(0x7e1,_0x10c856._0x3caedd,_0x10c856._0x54ae9f,0x991)?_0x120e2d=this[_0x23d7c5(_0x10c856._0x48a391,0x934,0xa92,0xb0c)][_0x3d04cf(_0x10c856._0x209418,_0x10c856._0x418e72,_0x10c856._0xb2c0a2,_0x10c856._0x25b5a8)](_0x368a5c[_0x3d04cf(_0x10c856._0x5b3c16,_0x10c856._0x162b00,_0x10c856._0x23c654,0x49d)]):_0x120e2d=_0x368a5c,_0x120e2d=zt(_0x120e2d,this['o'][_0x3d04cf(0x4da,_0x10c856._0x543452,0x2a6,0x3f5)]),this['o']['em'](_0x120e2d);}[_0x3764a2(0x328,0x1a8,0x3cb,0x2bb)](_0x4c29a2){const _0x4b65eb={_0x547650:0x4eb,_0x8f8408:0x5c4,_0x1018c4:0x802,_0x374995:0x5cb,_0x533401:0x601},_0x150ad4={_0x133a51:0x613,_0x2e689:0xaf},_0x9d1b49={_0x5c4b48:0x23,_0x1cbbdf:0xcb};function _0xb14cee(_0x2f33d1,_0x3fe4e9,_0x4155cd,_0x40c71e){return _0x5a69d4(_0x2f33d1-_0x9d1b49._0x5c4b48,_0x2f33d1- -0x3f,_0x40c71e,_0x40c71e-_0x9d1b49._0x1cbbdf);}function _0x1a48c2(_0x5501a7,_0x21218e,_0x1505ef,_0x46217d){return _0x3764a2(_0x46217d-_0x150ad4._0x133a51,_0x21218e-0xc2,_0x5501a7,_0x46217d-_0x150ad4._0x2e689);}return typeof _0x4c29a2==_0xb14cee(0x6d7,_0x4b65eb._0x547650,0x549,_0x4b65eb._0x8f8408)&&(_0x4c29a2=_0x4c29a2['text']),_0x4c29a2=zt(_0x4c29a2,this['o']['reflowText']),this['o'][_0xb14cee(0x804,_0x4b65eb._0x1018c4,_0x4b65eb._0x374995,_0x4b65eb._0x533401)](_0x4c29a2['replace'](/:/g,Lr));}['br'](){const _0x37944c={_0x461588:0x6d,_0x261150:0x135};function _0x327260(_0x38ec43,_0x44b3a9,_0x5dd9ed,_0x3b3882){return _0x5a69d4(_0x38ec43-0x9b,_0x5dd9ed- -0x5ef,_0x38ec43,_0x3b3882-0x9d);}return this['o'][_0x327260(_0x37944c._0x461588,0x4b,0x125,_0x37944c._0x261150)]?'\x0d':'\x0a';}[_0x3764a2(0x130,0x2ab,-0x11,0x341)](_0x5f1fe5){const _0x4493ba={_0x42f009:0x9bb,_0x56f0c2:0xa08,_0x54f622:0xaed,_0x4828a7:0x5eb,_0x3a3ceb:0x2e8,_0x338308:0x3b0,_0xc2d37a:0x76},_0x33aa16={_0x4a4f3b:0x20},_0x26bb73={_0x3b762c:0x11e,_0x4e5fe7:0xc8};let _0x182390;function _0x102967(_0x51275e,_0xd3b1d7,_0x2ab78c,_0x45214a){return _0x5a69d4(_0x51275e-0x1,_0xd3b1d7-_0x26bb73._0x3b762c,_0x45214a,_0x45214a-_0x26bb73._0x4e5fe7);}function _0x3b0b83(_0x45b435,_0x50d464,_0x3cdacc,_0x2756fe){return _0x3764a2(_0x50d464- -0xba,_0x50d464-0x106,_0x45b435,_0x2756fe-_0x33aa16._0x4a4f3b);}return typeof _0x5f1fe5=='object'?_0x182390=this[_0x102967(0x87d,_0x4493ba._0x42f009,_0x4493ba._0x56f0c2,_0x4493ba._0x54f622)][_0x102967(_0x4493ba._0x4828a7,0x584,0x749,0x754)](_0x5f1fe5[_0x3b0b83(0x2ca,0x300,_0x4493ba._0x3a3ceb,_0x4493ba._0x338308)]):_0x182390=_0x5f1fe5,this['o'][_0x3b0b83(0xe9,_0x4493ba._0xc2d37a,-0x23,0x4a)](_0x182390);}[_0x3764a2(0x2b6,0x1b3,0x4b9,0x30b)](_0x4ec93a,_0x19fdae,_0x6dec41){const _0x2eb6ff={_0x406bcf:0x7ca,_0x3bad51:0x7cc,_0x147963:0x77e,_0x27c764:0x48d,_0x4aaf6e:0x656,_0x38630b:0x244,_0x5357c4:0x742,_0xdc3ebf:0x8fc,_0x1e594d:0xa91,_0x2b95d3:0x957,_0x217626:0x8a0,_0x14c718:0x3cd,_0x113653:0x556,_0x148476:0x25b,_0x4401f8:0x3e8,_0x2a264c:0x589,_0x353a58:0x6a4,_0x21bf08:0x6b2,_0x4c194f:0x48a,_0x5b7667:0x74f,_0xc9e8e9:0x952,_0x43ee40:0x5ea,_0x566f0e:0x896,_0x49fc73:0x83d,_0x189420:0x71f,_0x5e0681:0x6ba,_0x2bca16:0x708,_0x399b1b:0x86f,_0x1a7f9e:0x7f8,_0x5f529d:0x85f,_0x471f96:0x62e},_0x3ec83d={_0x3470f1:0x48a,_0xa70938:0xa7},_0x334966={_0xb88413:0xb4,_0x4cb7f6:0x27,_0x550f3f:0x106};if(typeof _0x4ec93a=='object'&&(_0x6dec41=this[_0x3b7e91(_0x2eb6ff._0x406bcf,0x80c,_0x2eb6ff._0x3bad51,_0x2eb6ff._0x147963)][_0x3a832d(0x3ba,_0x2eb6ff._0x27c764,_0x2eb6ff._0x4aaf6e,_0x2eb6ff._0x38630b)](_0x4ec93a[_0x3a832d(_0x2eb6ff._0x5357c4,_0x2eb6ff._0xdc3ebf,0x6db,_0x2eb6ff._0x1e594d)]),_0x4ec93a=_0x4ec93a[_0x3b7e91(_0x2eb6ff._0x2b95d3,0x845,_0x2eb6ff._0x217626,0x64a)]),this[_0x3b7e91(_0x2eb6ff._0x14c718,0x437,_0x2eb6ff._0x113653,0x460)]['sanitize'])try{if(decodeURIComponent(unescape(_0x4ec93a))[_0x3b7e91(_0x2eb6ff._0x148476,0x3d8,_0x2eb6ff._0x4401f8,_0x2eb6ff._0x2a264c)](/[^\w:]/g,'')['toLowerCase']()[_0x3a832d(_0x2eb6ff._0x353a58,0x48a,_0x2eb6ff._0x21bf08,_0x2eb6ff._0x4c194f)](_0x3a832d(0x62e,_0x2eb6ff._0x5b7667,_0x2eb6ff._0xc9e8e9,_0x2eb6ff._0x43ee40))===0x0)return'';}catch{return'';}function _0x3a832d(_0x85a6fb,_0x1c9f8c,_0x29614c,_0x94a327){return _0x5a69d4(_0x85a6fb-_0x334966._0xb88413,_0x1c9f8c-_0x334966._0x4cb7f6,_0x94a327,_0x94a327-_0x334966._0x550f3f);}function _0x3b7e91(_0x52c1ba,_0x5a6667,_0x1b0112,_0x10412c){return _0x3764a2(_0x5a6667-_0x3ec83d._0x3470f1,_0x5a6667-0x1,_0x52c1ba,_0x10412c-_0x3ec83d._0xa70938);}let _0x51fd07=_0x6dec41&&_0x6dec41!==_0x4ec93a,_0x12ac3b='';if(_0x6b81b6){let _0x4ecf1c='';_0x6dec41?_0x4ecf1c=this['o'][_0x3a832d(0xb38,0x8fd,_0x2eb6ff._0x566f0e,_0x2eb6ff._0x49fc73)](this[_0x3a832d(0x5d2,0x6fa,0x60b,0x61b)](_0x6dec41)):_0x4ecf1c=this['o'][_0x3b7e91(0xa3c,0x845,0x6fa,_0x2eb6ff._0x189420)](_0x4ec93a),_0x12ac3b=_0x307dcb['link'](_0x4ecf1c,_0x4ec93a['replace'](/\+/g,'%20'));}else _0x51fd07&&_0x6dec41&&(_0x12ac3b+=this['emojiTransform'](_0x6dec41)+'\x20('),_0x12ac3b+=this['o'][_0x3b7e91(_0x2eb6ff._0x5e0681,0x845,0x61c,_0x2eb6ff._0x2bca16)](_0x4ec93a),_0x51fd07&&(_0x12ac3b+=')');return this['o'][_0x3a832d(_0x2eb6ff._0x399b1b,_0x2eb6ff._0x1a7f9e,_0x2eb6ff._0x5f529d,_0x2eb6ff._0x471f96)](_0x12ac3b);}[_0x5a69d4(0x85e,0x894,0x6eb,0x935)](_0x2f68de,_0x2a2cae,_0x1b0d9b){const _0x4458ce={_0x40b0da:0x218,_0x3cacaa:0x50d,_0x3488a4:0x411,_0x2662af:0x2ce,_0x4e6c8e:0x3be,_0x1f8894:0x163,_0x442b18:0x39e},_0x5b5d4f={_0x1b841f:0xab,_0x2c1a03:0x140};let _0x3ffa5c,_0x24dbee,_0x125a83;function _0x3bbc41(_0x26998f,_0x15e68c,_0x179398,_0x1e6c06){return _0x3764a2(_0x15e68c- -_0x5b5d4f._0x1b841f,_0x15e68c-0x8c,_0x179398,_0x1e6c06-_0x5b5d4f._0x2c1a03);}function _0x4a8e20(_0x1abb85,_0x18913f,_0x1b9276,_0x5a48cf){return _0x5a69d4(_0x1abb85-0x1d6,_0x18913f- -0x3c9,_0x5a48cf,_0x5a48cf-0x90);}if(typeof _0x2f68de=='object'?(_0x24dbee=_0x2f68de['title'],_0x125a83=_0x2f68de[_0x4a8e20(0x223,0x3be,0x3fa,_0x4458ce._0x40b0da)],_0x3ffa5c=_0x2f68de[_0x4a8e20(0x6a9,_0x4458ce._0x3cacaa,0x38f,_0x4458ce._0x3488a4)]):(_0x3ffa5c=_0x2f68de,_0x24dbee=_0x2a2cae,_0x125a83=_0x1b0d9b),this['o'][_0x3bbc41(0x2a3,_0x4458ce._0x2662af,0x43d,_0x4458ce._0x4e6c8e)])return this['o'][_0x3bbc41(0x98,_0x4458ce._0x2662af,_0x4458ce._0x1f8894,0x1b3)](_0x3ffa5c,_0x24dbee,_0x125a83);let _0x553b6b='!['+_0x125a83;return _0x24dbee&&(_0x553b6b+=_0x4a8e20(_0x4458ce._0x442b18,0x501,0x427,0x4ef)+_0x24dbee),_0x553b6b+']('+_0x3ffa5c+')\x0a';}};function _s(_0x1f5ee6,_0x1c0998){const _0xcd97b7={_0x408f71:0x656,_0x244e1d:0x5fd,_0x22cc82:0x3e7,_0x4af71d:0x23a,_0xec750e:0x25e,_0x183070:0x454,_0x1f0387:0x1c5,_0x350749:0x328,_0x19e8ec:0x46e,_0x26e3bd:0x400,_0x2d42b8:0x524,_0x5b144c:0x3d2,_0x42f37b:0x433,_0x33d5de:0x21e,_0x1c2851:0x146,_0x570c3e:0x2d3,_0x1a4ca4:0x1e0,_0x136648:0x2f8,_0x51c26b:0x26b,_0x3b0b80:0x2a9,_0x8b7f65:0x597,_0x3da5ac:0x4d1,_0x4c13db:0x264,_0x376149:0x367,_0x29f82e:0x2c7,_0x4be1be:0x463,_0x4a3a86:0x35c,_0x1004cd:0x451,_0xb9e39d:0x143,_0x6be029:0x679,_0x581f55:0x516,_0x74021f:0x5df,_0x4741a3:0x68a,_0x44524c:0x21a,_0x3547d0:0x616,_0xba2ac:0x3f6},_0x2af491={_0xd6952c:0x19,_0x170141:0x163,_0x57c9d9:0x1d8,_0x14f966:0x694,_0x5c732e:0x48f,_0x457dc8:0x5f6,_0x29fec8:0x50a,_0x37892c:0x684,_0x154ad0:0x7ec,_0x217475:0x57f,_0x1170f6:0x3b2,_0x1c1032:0x79d},_0x1a37cc={_0x5bc9d2:0x13a,_0x11ca65:0x118,_0x56ed3e:0x10b},_0x37da80={_0x8cc17f:0x3be},_0x157e0={_0xd9fb37:0x1ee,_0xb741e0:0x138,_0x3fd98c:0x6f},_0x5d783d={_0x23fe13:0xb0};function _0x49e8cd(_0x4f4c06,_0xf57d9,_0x229bbf,_0x49babd){return _0x3764a2(_0x229bbf-0x42a,_0xf57d9-_0x5d783d._0x23fe13,_0xf57d9,_0x49babd-0x109);}let _0x4e0917=new Nr(_0x1f5ee6,_0x1c0998);function _0x154b76(_0x145141,_0x28d806,_0x220c50,_0x1ad472){return _0x3764a2(_0x1ad472-_0x157e0._0xd9fb37,_0x28d806-_0x157e0._0xb741e0,_0x220c50,_0x1ad472-_0x157e0._0x3fd98c);}return[_0x154b76(_0xcd97b7._0x408f71,_0xcd97b7._0x244e1d,_0xcd97b7._0x22cc82,0x45a),_0x154b76(0x292,0x545,_0xcd97b7._0x4af71d,0x43d),_0x154b76(_0xcd97b7._0xec750e,_0xcd97b7._0x183070,_0xcd97b7._0x1f0387,_0xcd97b7._0x350749),_0x154b76(_0xcd97b7._0x19e8ec,0x6f4,_0xcd97b7._0x26e3bd,_0xcd97b7._0x2d42b8),_0x154b76(0x632,_0xcd97b7._0x5b144c,0x325,0x47b),'hr',_0x154b76(_0xcd97b7._0x42f37b,0x1d9,0x27c,_0xcd97b7._0x33d5de),_0x154b76(_0xcd97b7._0x1c2851,_0xcd97b7._0x570c3e,_0xcd97b7._0x1a4ca4,_0xcd97b7._0x136648),_0x154b76(_0xcd97b7._0x51c26b,_0xcd97b7._0x3b0b80,_0xcd97b7._0x8b7f65,0x46e),_0x154b76(0x302,0x43b,0x2ad,0x4f6),_0x154b76(0x447,_0xcd97b7._0x3da5ac,0x546,0x42e),_0x49e8cd(0x42b,_0xcd97b7._0x4c13db,_0xcd97b7._0x376149,_0xcd97b7._0x29f82e),_0x154b76(0x50a,_0xcd97b7._0x4be1be,_0xcd97b7._0x4a3a86,_0xcd97b7._0x1004cd),_0x154b76(0x24b,-0x55,0x26a,_0xcd97b7._0xb9e39d),'em',_0x154b76(0x4cd,_0xcd97b7._0x6be029,0x663,_0xcd97b7._0x581f55),'br','del','link',_0x154b76(_0xcd97b7._0x74021f,_0xcd97b7._0x4741a3,0x3fa,0x567)][_0x154b76(0x611,_0xcd97b7._0x44524c,_0xcd97b7._0x3547d0,_0xcd97b7._0xba2ac)]((_0x2592fb,_0x40f4ec)=>(_0x2592fb[_0x154b76(0x3a9,0x62d,0x3a6,0x5ab)][_0x40f4ec]=function(..._0x4b57df){_0x4e0917[_0x2f435d(0x23c,_0x2af491._0xd6952c,-_0x2af491._0x170141,_0x2af491._0x57c9d9)]=this['options'],_0x4e0917[_0x131799(_0x2af491._0x14f966,_0x2af491._0x5c732e,_0x2af491._0x457dc8,_0x2af491._0x29fec8)]=this[_0x131799(_0x2af491._0x14f966,_0x2af491._0x37892c,0x86b,_0x2af491._0x154ad0)];function _0x2f435d(_0x4e44a5,_0x4f8926,_0x460c3f,_0x149ac4){return _0x49e8cd(_0x4e44a5-0x81,_0x460c3f,_0x4f8926- -_0x37da80._0x8cc17f,_0x149ac4-0xb5);}function _0x131799(_0x378bbc,_0x3db7f2,_0x40761a,_0x5ae99a){return _0x49e8cd(_0x378bbc-_0x1a37cc._0x5bc9d2,_0x40761a,_0x378bbc- -_0x1a37cc._0x11ca65,_0x5ae99a-_0x1a37cc._0x56ed3e);}let _0x30ad7e=_0x4e0917[_0x40f4ec];return typeof _0x30ad7e==_0x131799(_0x2af491._0x217475,0x5b6,0x40e,_0x2af491._0x1170f6)?_0x30ad7e[_0x131799(0x5ff,0x660,0x75f,_0x2af491._0x1c1032)](_0x4e0917,_0x4b57df):'';},_0x2592fb),{'renderer':{},'useNewRenderer':!0x0});}var Or=class t{constructor(){this['currentConfig']=null,this['markedInstance']=_0x478db4;}static[_0x3764a2(0x66,-0x3a,0xe3,0x33)](){const _0x367a75={_0x407aa5:0x4ca,_0x3845e3:0x303,_0x262dfa:0x64e,_0x5a44a7:0x72f,_0x4d5840:0x946},_0x2c2f34={_0x504f8e:0x241,_0x438fc3:0x29,_0x28e183:0x10d},_0x182257={_0x53dbb7:0x1a3,_0x162b02:0x146};function _0x4892ab(_0x515929,_0x51dab9,_0x3310e2,_0x4b24e8){return _0x5a69d4(_0x515929-_0x182257._0x53dbb7,_0x3310e2-_0x182257._0x162b02,_0x515929,_0x4b24e8-0x29);}function _0x179ba9(_0x1de380,_0x307da8,_0x364624,_0x427898){return _0x3764a2(_0x1de380-_0x2c2f34._0x504f8e,_0x307da8-_0x2c2f34._0x438fc3,_0x307da8,_0x427898-_0x2c2f34._0x28e183);}return t[_0x179ba9(0x30f,0x23c,_0x367a75._0x407aa5,_0x367a75._0x3845e3)]||(t['instance']=new t()),t[_0x4892ab(0x713,_0x367a75._0x262dfa,_0x367a75._0x5a44a7,_0x367a75._0x4d5840)];}[_0x3764a2(0x93,0x2d8,0x129,-0x2f)](_0x3d5c12){const _0xadc8ad={_0x5da4b6:0x36e,_0xb85c64:0x3c6,_0x17ad19:0x159,_0x31bd60:0x117,_0x47917d:0x66,_0x28bf58:0x3b,_0x2ffaa6:0x226,_0x2cfc5f:0x34e,_0x2a5676:0x44,_0x442915:0x205,_0x61f561:0x3bb,_0x126f35:0x336,_0x848328:0x2ce,_0x465634:0x226},_0x60dae9={_0x9293a0:0x7e};function _0x529793(_0x504bd9,_0x3b5c20,_0x5ea5f2,_0x7dfa70){return _0x3764a2(_0x5ea5f2- -_0x60dae9._0x9293a0,_0x3b5c20-0xb,_0x7dfa70,_0x7dfa70-0x1ad);}function _0x258c3c(_0x264c07,_0x3ed44b,_0x3545e2,_0xbbe8c2){return _0x3764a2(_0xbbe8c2-0xc,_0x3ed44b-0x36,_0x3ed44b,_0xbbe8c2-0x11e);}return(!this['currentConfig']||this[_0x258c3c(0x47b,_0xadc8ad._0x5da4b6,_0xadc8ad._0xb85c64,0x2b0)]['width']!==_0x3d5c12[_0x258c3c(_0xadc8ad._0x17ad19,_0xadc8ad._0x31bd60,-0x9,-_0xadc8ad._0x47917d)]||this[_0x529793(_0xadc8ad._0x28bf58,0x327,_0xadc8ad._0x2ffaa6,0x401)][_0x258c3c(_0xadc8ad._0x2cfc5f,0x45,-_0xadc8ad._0x2a5676,_0xadc8ad._0x442915)]!==_0x3d5c12[_0x258c3c(0x3cc,0xa9,_0xadc8ad._0x61f561,0x205)])&&(this['configureRenderer'](_0x3d5c12),this[_0x529793(_0xadc8ad._0x126f35,_0xadc8ad._0x848328,_0xadc8ad._0x465634,0xdb)]={..._0x3d5c12}),this['markedInstance'];}[_0x3764a2(0x259,0xe9,0xb4,0x346)](_0x26755b){const _0xb2e791={_0x4e277f:0x6b6,_0x4027f5:0x3ad,_0x45932b:0x514,_0x2106b5:0xd8,_0x36135f:0x566,_0x28b008:0x6d8,_0x18bad4:0x56a,_0x502a65:0x587,_0x396310:0x53c,_0x2eae25:0x314,_0x5aa5c6:0x82f,_0x106507:0x602},_0x3e7746={_0x3d6abe:0x628,_0x2751f9:0x87b,_0x25d578:0x95b,_0x780560:0x31a,_0x2f14a4:0x494,_0x460ce8:0x356,_0x3b61e7:0x53d,_0x2c0a24:0x7c9,_0x408bf8:0x7dc,_0x33be5e:0x6ff,_0x3e46e3:0x8dc,_0x3e03c3:0x750,_0x34e04e:0x5fc,_0x51e21f:0x5ca,_0x46eefc:0x176,_0x2720fc:0x92,_0x1f9b25:0x7e2,_0x51f6ec:0x7c3,_0x4bf5d2:0x602,_0x358194:0x53b},_0x2512a4={_0x3f111d:0x49,_0x2a6a4c:0x53},_0x34a11e={_0x51b0d2:0x1ec,_0x59b33b:0xf2},_0x551499={_0x200c1a:0xfd};let _0x4bf90c=_s({'reflowText':_0x26755b[_0x38893d(_0xb2e791._0x4e277f,0x644,_0xb2e791._0x4027f5,_0xb2e791._0x45932b)]??!0x0,'width':_0x26755b[_0x4f7ae5(0x5b,-0x97,-_0xb2e791._0x2106b5,0x110)]},{}),_0x2f4a17=_0x4bf90c['renderer']['text'];function _0x38893d(_0x32ed4f,_0x1c7393,_0x519fb9,_0x599c08){return _0x5a69d4(_0x32ed4f-0x14,_0x599c08- -0x200,_0x519fb9,_0x599c08-_0x551499._0x200c1a);}function _0x4f7ae5(_0x17e0c4,_0x144067,_0x1ad5e2,_0x33de0b){return _0x5a69d4(_0x17e0c4-_0x34a11e._0x51b0d2,_0x33de0b- -0x399,_0x17e0c4,_0x33de0b-_0x34a11e._0x59b33b);}_0x4bf90c[_0x38893d(0x73d,0x79d,_0xb2e791._0x36135f,_0xb2e791._0x28b008)][_0x38893d(0x491,_0xb2e791._0x18bad4,0x79d,_0xb2e791._0x502a65)]=function(_0xe9ad18){function _0x1c185f(_0x17d1a1,_0x22b560,_0x53df8d,_0x507097){return _0x38893d(_0x17d1a1-0x23,_0x22b560-0x16b,_0x507097,_0x22b560-0x58);}function _0x5557cb(_0x39574c,_0x59b27d,_0xd215bc,_0x3ebeb9){return _0x4f7ae5(_0x39574c,_0x59b27d-_0x2512a4._0x3f111d,_0xd215bc-_0x2512a4._0x2a6a4c,_0xd215bc-0xc6);}return typeof _0xe9ad18==_0x5557cb(_0x3e7746._0x3d6abe,0x3f0,0x443,0x53d)&&_0xe9ad18[_0x1c185f(_0x3e7746._0x2751f9,0x72d,_0x3e7746._0x25d578,0x824)]&&Array[_0x5557cb(_0x3e7746._0x780560,_0x3e7746._0x2f14a4,_0x3e7746._0x460ce8,_0x3e7746._0x3b61e7)](_0xe9ad18[_0x1c185f(0x546,0x72d,_0x3e7746._0x2c0a24,_0x3e7746._0x408bf8)])&&_0xe9ad18[_0x5557cb(_0x3e7746._0x33be5e,0x680,0x602,0x726)]['length']>0x0&&this[_0x1c185f(_0x3e7746._0x3e46e3,0x6f5,0x5b4,0x66b)]?.[_0x1c185f(0xce,0x2be,0x4ff,0x31d)]?this[_0x1c185f(_0x3e7746._0x3e03c3,0x6f5,_0x3e7746._0x34e04e,_0x3e7746._0x51e21f)][_0x1c185f(_0x3e7746._0x46eefc,0x2be,_0x3e7746._0x2720fc,0x36c)](_0xe9ad18[_0x5557cb(_0x3e7746._0x1f9b25,_0x3e7746._0x51f6ec,_0x3e7746._0x4bf5d2,_0x3e7746._0x358194)]):_0x2f4a17['call'](this,_0xe9ad18);},this[_0x38893d(0x3b0,0x4a0,_0xb2e791._0x396310,_0xb2e791._0x2eae25)][_0x38893d(0x58e,0x814,_0xb2e791._0x5aa5c6,_0xb2e791._0x106507)](_0x4bf90c);}},Ns=Or[_0x5a69d4(0x663,0x581,0x70b,0x47c)](),$r=class{constructor(){const _0x59b5f4={_0xe3fff6:0x4ff,_0x463c59:0x4a6,_0x49d326:0x4cd,_0x208b69:0x3f5,_0x25ec11:0x3c2,_0x358bf0:0x355,_0x53be12:0x571,_0x456d91:0x23e},_0x432bae={_0x1e72f6:0xea},_0x453f34={_0x47e098:0x43e,_0x374856:0x133};function _0x4400eb(_0x3a63f4,_0x441148,_0x57017b,_0x233045){return _0x3764a2(_0x441148-_0x453f34._0x47e098,_0x441148-_0x453f34._0x374856,_0x233045,_0x233045-0x3b);}function _0x48270c(_0xe1448c,_0x1594f1,_0x106058,_0x386fb0){return _0x5a69d4(_0xe1448c-_0x432bae._0x1e72f6,_0x1594f1- -0x203,_0xe1448c,_0x386fb0-0x1ba);}this[_0x4400eb(_0x59b5f4._0xe3fff6,_0x59b5f4._0x463c59,_0x59b5f4._0x49d326,_0x59b5f4._0x208b69)]=new Map(),this['maxAge']=0x1388,this[_0x48270c(_0x59b5f4._0x25ec11,_0x59b5f4._0x358bf0,_0x59b5f4._0x53be12,_0x59b5f4._0x456d91)]=0x64;}[_0x3764a2(-0x4a,-0x7e,-0x1b,-0x1bb)](_0x178e42,_0x1788ac){const _0x3748bb={_0xba314b:0x7d5,_0x28836e:0x5c8,_0x898c5:0x228,_0xb70a36:0x42f,_0x3dab63:0x225,_0x30727f:0x28b,_0xf16fa3:0x856,_0x4eb331:0x6b2,_0x508612:0x5,_0x3c04a4:0x1a5,_0x415b9f:0x644,_0x21179b:0x80c,_0x27444e:0x6cb,_0xa8a799:0x6b,_0x152a1f:0x13d},_0x5a2351={_0x520675:0x1d8};let _0x3c4972=this[_0x22ec12(_0x3748bb._0xba314b,0x7d4,0x5b9,_0x3748bb._0x28836e)](_0x178e42,_0x1788ac),_0x2909c6=this['cache']['get'](_0x3c4972);function _0x3589c9(_0x3c98ba,_0x1439c5,_0x41da1e,_0x5a4219){return _0x5a69d4(_0x3c98ba-0x10e,_0x41da1e- -0x57d,_0x1439c5,_0x5a4219-0x142);}function _0x22ec12(_0x20f109,_0x4e401d,_0x45971e,_0x486a9f){return _0x3764a2(_0x486a9f-0x663,_0x4e401d-_0x5a2351._0x520675,_0x45971e,_0x486a9f-0x18f);}return _0x2909c6?Date[_0x3589c9(_0x3748bb._0x898c5,_0x3748bb._0xb70a36,_0x3748bb._0x3dab63,_0x3748bb._0x30727f)]()-_0x2909c6[_0x22ec12(_0x3748bb._0xf16fa3,_0x3748bb._0x4eb331,0x812,0x779)]>this[_0x3589c9(-0x122,0x146,-_0x3748bb._0x508612,_0x3748bb._0x3c04a4)]?(this[_0x22ec12(_0x3748bb._0x415b9f,0x53c,_0x3748bb._0x21179b,_0x3748bb._0x27444e)][_0x3589c9(_0x3748bb._0xa8a799,-_0x3748bb._0x152a1f,0x5a,0x26d)](_0x3c4972),null):_0x2909c6['result']:null;}[_0x5a69d4(0x607,0x65e,0x4d0,0x864)](_0x38a979,_0x597ac1,_0x480b6f){const _0x1f70a2={_0x20b1fe:0x571,_0x13e292:0x5b8,_0x18a476:0x533,_0x34dbb3:0x611,_0x1bd52c:0x525,_0x2362ab:0x5af,_0x4bbf50:0x7a2,_0x13da7b:0x6f9,_0x2f3173:0x5e6,_0x39ddb7:0x606,_0x4ce985:0x67a,_0xde780f:0x98f,_0x2fd563:0x71c,_0x5b442d:0x406,_0x40649b:0x4a2,_0xe9a776:0x416,_0x4cfd5f:0x611,_0xd002b9:0x540,_0x5765e0:0x64c,_0x3298fe:0x7e6,_0x12fdba:0x830},_0x3dc9f5={_0x4aa2b9:0xba,_0x1d0b30:0x94},_0x1a73d5={_0xe177b7:0x0,_0x49e7d6:0x8c};function _0x1d0296(_0x2a06ad,_0x18f3cc,_0x280885,_0x2ad395){return _0x3764a2(_0x280885-0x612,_0x18f3cc-_0x1a73d5._0xe177b7,_0x2ad395,_0x2ad395-_0x1a73d5._0x49e7d6);}function _0x31234d(_0x40076b,_0x2ba3e4,_0x2c58a8,_0xc0d384){return _0x3764a2(_0xc0d384-0x5a9,_0x2ba3e4-_0x3dc9f5._0x4aa2b9,_0x40076b,_0xc0d384-_0x3dc9f5._0x1d0b30);}let _0x403cce=this[_0x31234d(_0x1f70a2._0x20b1fe,0x364,0x62e,0x50e)](_0x38a979,_0x597ac1);if(this[_0x31234d(_0x1f70a2._0x13e292,0x445,_0x1f70a2._0x18a476,_0x1f70a2._0x34dbb3)][_0x31234d(0x64b,0x7f3,_0x1f70a2._0x1bd52c,_0x1f70a2._0x2362ab)]>=this[_0x31234d(0x807,_0x1f70a2._0x4bbf50,_0x1f70a2._0x13da7b,_0x1f70a2._0x2f3173)]){let _0x22aae1=this[_0x1d0296(0x756,_0x1f70a2._0x39ddb7,_0x1f70a2._0x4ce985,0x4e2)]['keys']()['next']()[_0x31234d(_0x1f70a2._0xde780f,0x81e,_0x1f70a2._0x2fd563,0x7ff)];_0x22aae1&&this[_0x31234d(_0x1f70a2._0x5b442d,_0x1f70a2._0x40649b,_0x1f70a2._0xe9a776,_0x1f70a2._0x4cfd5f)][_0x31234d(0x4e9,0x7bb,_0x1f70a2._0xd002b9,0x665)](_0x22aae1);}this['cache'][_0x1d0296(0x6d8,0x6fc,0x755,0x93c)](_0x403cce,{'content':_0x38a979,'timestamp':Date[_0x31234d(_0x1f70a2._0x5765e0,_0x1f70a2._0x3298fe,0xa5a,_0x1f70a2._0x12fdba)](),'result':_0x480b6f});}[_0x5a69d4(0x289,0x480,0x48b,0x340)](_0x26c1b9,_0x1595e6){const _0x4f2573={_0xf6456c:0x366,_0x2218c3:0x1c6,_0x44e35d:0x16c,_0x3b797e:0x3ae},_0x5b0817={_0x5d47ab:0x1f},_0x16cc96={_0x5a1447:0x43c,_0x9d7e48:0x1ba};function _0x20485(_0x5a0aa7,_0x4a32c8,_0x44d9d9,_0x42ecec){return _0x5a69d4(_0x5a0aa7-0x104,_0x4a32c8- -_0x16cc96._0x5a1447,_0x42ecec,_0x42ecec-_0x16cc96._0x9d7e48);}function _0x15aee0(_0x269367,_0x4c3c87,_0x5740ea,_0x2c2a8d){return _0x3764a2(_0x269367-0x226,_0x4c3c87-0x6b,_0x5740ea,_0x2c2a8d-_0x5b0817._0x5d47ab);}return _0x1595e6+':'+_0x26c1b9[_0x15aee0(0x522,0x306,_0x4f2573._0xf6456c,0x472)]+':'+_0x26c1b9[_0x20485(0x2a5,_0x4f2573._0x2218c3,_0x4f2573._0x44e35d,_0x4f2573._0x3b797e)](0x0,0x64);}[_0x5a69d4(0x2fc,0x53f,0x5cb,0x3e4)](){const _0x54fe4c={_0x555b55:0x430,_0x941f72:0x391,_0x441a91:0x38,_0x1f72f2:0x78};function _0x3ad32d(_0x5daad5,_0x45b327,_0x3a9b53,_0x2d227e){return _0x5a69d4(_0x5daad5-0x16,_0x3a9b53- -0x2c5,_0x2d227e,_0x2d227e-0x1d2);}function _0x5ba3c3(_0x29ad63,_0x1271d0,_0x48980b,_0x688717){return _0x5a69d4(_0x29ad63-0x91,_0x29ad63- -0x97,_0x688717,_0x688717-0x8);}this[_0x5ba3c3(0x4ec,0x483,_0x54fe4c._0x555b55,_0x54fe4c._0x941f72)][_0x3ad32d(_0x54fe4c._0x441a91,0x385,0x27a,_0x54fe4c._0x1f72f2)]();}},Ro=new $r();import{useRef as _0x2182d4,useEffect as _0x33f686,useState as _0x4b82a1}from'react';var bc=({memPersist:_0x5437de=!0x1,appendLine:_0x4856d3,updateLine:_0x2e3a14,updateLineMetadata:_0x8d809f,handleError:_0x5adeff})=>{const _0x29ccf3={_0x1a2008:0x4dc,_0x3ba229:0x6dd,_0x5bfc8c:0x2c7},_0x1cf2ab={_0x1b4668:0x4ec,_0x3242a2:0x542,_0x4f58d3:0x684,_0x4dd920:0x396,_0x47509c:0x2aa,_0x4cc604:0x4a8},_0x1cd3fb={_0x172414:0x93,_0x2a926f:0x174,_0x5ef178:0x523,_0x1f3940:0x58a},_0xe6940c={_0x568107:0xdd},_0x18ec07={_0xc31f56:0x567,_0x4477ad:0x4c3},_0x4b7d53={_0x35e8ec:0xfc,_0x12dacc:0x215,_0x106641:0xb1,_0x53be87:0x242,_0x9cf69:0x224,_0x348e36:0x22f,_0x4d1ed6:0x295,_0x16664e:0x526,_0x1dffd1:0x680,_0x1691c8:0x2ca,_0xfb5f3:0x1bc},_0x56fb84={_0x40b02c:0x4de},_0x182eab={_0x4d7db2:0x7,_0x48ba96:0xdd},_0x3f09d9={_0x35a68e:0x656};function _0x1591b6(_0xfb1dd9,_0x99845b,_0xc678be,_0x122e37){return _0x3764a2(_0x122e37-_0x3f09d9._0x35a68e,_0x99845b-0x61,_0x99845b,_0x122e37-0x6f);}function _0x3b3492(_0x4202d3,_0xc3941b,_0x331e38,_0x18f79f){return _0x5a69d4(_0x4202d3-_0x182eab._0x4d7db2,_0xc3941b- -0x1d8,_0x331e38,_0x18f79f-_0x182eab._0x48ba96);}let [_0x1e164f,_0x191011]=_0x4b82a1('Initializing'),{toolApprovalMode:_0x537113}=Le(),_0x20cd44=_0x2182d4({'appendLine':_0x4856d3,'updateLine':_0x2e3a14,'updateLineMetadata':_0x8d809f,'handleError':_0x5adeff}),_0x4adbd9=async()=>{const _0x1e8d1b={_0x121f1a:0x256};function _0x361a63(_0x3eb21a,_0x328c01,_0x5def2f,_0xb61880){return _0x4e8e(_0x5def2f-_0x1e8d1b._0x121f1a,_0x3eb21a);}await de[_0x361a63(_0x56fb84._0x40b02c,0x4a1,0x430,0x583)]();},_0x2338f3=async(_0x104a77,_0x140c7d=!0x1)=>{const _0x182ec1={_0x1c23e7:0x1f4};function _0x5d7aba(_0x10c1d9,_0x8f71d9,_0x1eb534,_0xd3f705){return _0x4e8e(_0x8f71d9- -_0x182ec1._0x1c23e7,_0x1eb534);}function _0x1e69e6(_0x3a0ef8,_0x1de412,_0x48e47c,_0x586cf5){return _0x4e8e(_0x3a0ef8-0x3b,_0x1de412);}_0x140c7d&&(_0x191011(_0x1e69e6(0x328,0x3c7,_0x4b7d53._0x35e8ec,0x41f)),await de[_0x1e69e6(_0x4b7d53._0x12dacc,0x421,_0x4b7d53._0x106641,0x3c4)](),de[_0x1e69e6(_0x4b7d53._0x53be87,_0x4b7d53._0x9cf69,_0x4b7d53._0x348e36,_0x4b7d53._0x4d1ed6)]());let _0x5427f0={'memPersist':_0x5437de,'streamingChunks':!0x0,..._0x104a77??{}},_0xdf3162=await de[_0x1e69e6(0x48b,0x5ed,_0x4b7d53._0x16664e,_0x4b7d53._0x1dffd1)](_0x5427f0,_0x20cd44['current']);return _0x191011(_0x5d7aba(_0x4b7d53._0x1691c8,_0x4b7d53._0xfb5f3,0x16f,0xc4)),_0xdf3162;},_0x4f0808=async _0x3f69a0=>_0x2338f3(_0x3f69a0,!0x0);return _0x33f686(()=>{function _0x1a111c(_0x572a1e,_0x3a5808,_0x48b4d1,_0x46ee79){return _0x4e8e(_0x3a5808-0x76,_0x48b4d1);}de['getOrchestrator']()&&de[_0x1a111c(0x5e5,0x61b,_0x18ec07._0xc31f56,_0x18ec07._0x4477ad)]({'requireToolApproval':_0x537113});},[_0x537113]),_0x33f686(()=>{let _0x4eaebc=!0x1;function _0x195d4d(_0xe935d0,_0x1101fe,_0x32283d,_0x341d88){return _0x4e8e(_0x1101fe-0x257,_0xe935d0);}function _0x2967d6(_0xd839cc,_0x250e2f,_0x1e93d8,_0x49f7d6){return _0x4e8e(_0xd839cc-_0xe6940c._0x568107,_0x49f7d6);}return de[_0x195d4d(0x379,_0x1cf2ab._0x1b4668,_0x1cf2ab._0x3242a2,0x52f)]()===_0x2967d6(0x48d,_0x1cf2ab._0x4f58d3,_0x1cf2ab._0x4dd920,_0x1cf2ab._0x47509c)?(_0x191011(_0x2967d6(0x48d,0x425,_0x1cf2ab._0x4cc604,0x318)),()=>{_0x4eaebc=!0x0;}):(((async()=>{function _0x3fba2f(_0x425e77,_0x55d61a,_0x29d38b,_0x2743f2){return _0x2967d6(_0x29d38b- -0x4b,_0x55d61a-0xee,_0x29d38b-0xbe,_0x2743f2);}function _0x24bf8f(_0x39e3d1,_0x538ae2,_0x3a6aff,_0x2b1d8e){return _0x2967d6(_0x3a6aff- -0x3fa,_0x538ae2-0x1a7,_0x3a6aff-0x86,_0x2b1d8e);}try{if(await _0x2338f3(),_0x4eaebc)return;}catch(_0x26c5b4){let _0x297792=_0x26c5b4 instanceof Error?_0x26c5b4[_0x24bf8f(-_0x1cd3fb._0x172414,0x21f,-0x1b,_0x1cd3fb._0x2a926f)]:String(_0x26c5b4);_0x5adeff(_0x3fba2f(0x562,_0x1cd3fb._0x5ef178,_0x1cd3fb._0x1f3940,0x6a3)+_0x297792),_0x4eaebc||_0x191011('Error');}})()),()=>{_0x4eaebc=!0x0;});},[]),{'status':_0x1e164f,'cleanup':_0x4adbd9,'reinit':_0x4f0808,'send':async(_0x17721e,_0x21b7c8={})=>de['send'](_0x17721e,_0x21b7c8),'createNewConversation':async _0x3adfed=>await de[_0x3b3492(0xea,0x287,0x1ef,0x1ca)](_0x3adfed),'sessionId':de['getSession']()[_0x3b3492(0x421,_0x29ccf3._0x1a2008,_0x29ccf3._0x3ba229,_0x29ccf3._0x5bfc8c)]};};import{useEffect as _0x41f419,useRef as _0x893ea1,useCallback as _0x25fe0a}from'react';var Tc=({busy:_0x4b5433,pendingApproval:_0x26ed29,inputAreaRef:_0x1f1f63,onNotification:_0x1b64e7})=>{const _0x48ca29={_0x4c0f0a:0xd2,_0x5a7c4c:0x179,_0x3704d4:0x10b,_0x9319e0:0x30,_0x36bea3:0x23c,_0x28a7c9:0x1b9,_0x323c7e:0x171,_0x2ca01e:0x56,_0x46d685:0x177,_0x11397f:0x3,_0xc88459:0x17d,_0x7e4e71:0x2b},_0x450253={_0x46ff7f:0x16f,_0x5a7a21:0x22},_0xed6f06={_0x25ff79:0x901,_0x36d233:0x3f3,_0x3ad498:0x2ed,_0x4988ad:0x200,_0x50bf0c:0x5c4,_0x1885f5:0x8bc,_0x46162f:0x786,_0x5b1ca4:0x98b,_0x50b432:0x6d4,_0x3b37d0:0x475,_0x3f9653:0x5ce,_0x41c745:0x44a,_0x123c74:0x4a4,_0x1ab193:0x12a,_0x4eec0f:0x38,_0x506c17:0x476,_0x4f9cb9:0x589,_0x4205cf:0x427,_0x2863dd:0x591,_0x54f2ae:0x215,_0x1948c8:0x4f3,_0x54e9e2:0x2c3,_0x347eac:0x293,_0x204db5:0x25d,_0x547067:0x47d,_0x1160d4:0x43e,_0x4f91b7:0x644,_0x41b77a:0x4a3,_0x4ad503:0x435,_0x39081e:0x372,_0x59ce57:0x61f},_0x1caf6c={_0x573b5c:0x1fc},_0x33db96={_0x1cdb1f:0x163},_0x3aea7a={_0x1d6433:0x3ed,_0x216e05:0x21e,_0x3fa5de:0x48e,_0x4a11c5:0x30e,_0xb5098d:0x353,_0x2af461:0x5c2,_0x5466e4:0x466,_0x42c365:0x3ca,_0x1c34ef:0x457,_0x475a35:0x1c,_0x1950cf:0x357,_0x47c8cb:0x224,_0xaec8a4:0x65e,_0x1782a4:0x68e,_0x234fbc:0x5a7,_0x40bcaf:0x3b3,_0x145c90:0x9,_0x198175:0x244,_0x3d09cf:0x1a9,_0xa08006:0x156,_0x96d059:0x181,_0x211dde:0x457,_0x24983e:0x15e,_0x183244:0xc5,_0x25163f:0x37,_0x3a84bc:0x2c6,_0x41b994:0x1ff,_0x2cebad:0x1f2,_0x251b56:0x7f8,_0x435d4a:0x36,_0x3e35d5:0x292},_0x405eb6={_0x2f757f:0x8c,_0x10514e:0x2f1,_0x160b83:0x281,_0x11695e:0x1e8,_0x437e8a:0xee,_0x286b5f:0x345},_0x2782c8={_0x5c40ce:0x16d,_0x4f0953:0x295,_0x163098:0x1fc},_0x3226f2={_0x4b8091:0x3fb,_0x1ed50c:0xcc,_0x46314e:0x111};function _0x3c93c8(_0x48a3be,_0x2df011,_0x1e082c,_0x101c82){return _0x3764a2(_0x48a3be-_0x3226f2._0x4b8091,_0x2df011-_0x3226f2._0x1ed50c,_0x101c82,_0x101c82-_0x3226f2._0x46314e);}let _0x215c64=_0x893ea1(!0x1),{toggleExplainMode:_0x31e267}=tt(),_0xa4ac5e=_0x25fe0a(async()=>{const _0x258195={_0xf870e9:0xd5,_0x3b7e9c:0x109};function _0x209125(_0x579270,_0x44571b,_0x257b41,_0x2251c9){return _0x4e8e(_0x579270-0x11b,_0x257b41);}function _0x143244(_0x4a4b39,_0x44e264,_0x43354e,_0x27d0a8){return _0x4e8e(_0x27d0a8- -0x118,_0x44e264);}if(!_0x215c64[_0x209125(_0x3aea7a._0x1d6433,0x20a,_0x3aea7a._0x216e05,0x487)])_0x215c64[_0x209125(_0x3aea7a._0x1d6433,_0x3aea7a._0x3fa5de,_0x3aea7a._0x4a11c5,0x297)]=!0x0,_0x1b64e7('Press\x20Ctrl+C\x20again\x20to\x20exit',0x3e8),setTimeout(()=>{const _0x164d69={_0x4405c8:0x179};function _0x8391e1(_0x299e21,_0xd74180,_0x1bf01d,_0x1800f1){return _0x209125(_0x1bf01d- -0x478,_0xd74180-0x1ed,_0xd74180,_0x1800f1-_0x164d69._0x4405c8);}_0x215c64[_0x8391e1(_0x2782c8._0x5c40ce,-_0x2782c8._0x4f0953,-0x8b,-_0x2782c8._0x163098)]=!0x1;},0x3e8);else{_0x215c64[_0x143244(0x367,_0x3aea7a._0xb5098d,0x3b7,0x1ba)]=!0x1,_0x1b64e7(null);let _0x3e0bf6=await import(_0x209125(_0x3aea7a._0x2af461,_0x3aea7a._0x5466e4,_0x3aea7a._0x42c365,0x676));k[_0x209125(_0x3aea7a._0x1c34ef,0x57b,0x2c2,0x43f)](_0x143244(0x0,-_0x3aea7a._0x475a35,0xfb,0xaf)),k[_0x143244(0x3f6,0x2be,_0x3aea7a._0x1950cf,_0x3aea7a._0x47c8cb)]('ui:line',{'id':_0x3e0bf6[_0x143244(_0x3aea7a._0xaec8a4,_0x3aea7a._0x1782a4,0x3ed,0x517)](),'type':'info','content':'Cleaning\x20up\x20resources...','metadata':{'timestamp':new Date()[_0x143244(_0x3aea7a._0x234fbc,_0x3aea7a._0x40bcaf,0x41c,0x48e)]()},'color':_0x143244(_0x3aea7a._0x145c90,_0x3aea7a._0x198175,_0x3aea7a._0x3d09cf,_0x3aea7a._0xa08006)}),await de?.[_0x209125(0x2f5,0xf5,0xcf,_0x3aea7a._0x96d059)](),k[_0x209125(_0x3aea7a._0x211dde,0x41a,0x246,0x2fe)](_0x143244(-0xb5,-_0x3aea7a._0x24983e,0x13,_0x3aea7a._0x183244),{'id':_0x3e0bf6['randomUUID'](),'type':_0x143244(_0x3aea7a._0x25163f,_0x3aea7a._0x3a84bc,_0x3aea7a._0x41b994,_0x3aea7a._0x2cebad),'content':'Cleanup\x20complete.\x20Exiting\x20now.','metadata':{'timestamp':new Date()[_0x209125(0x6c1,0x58c,_0x3aea7a._0x251b56,0x516)]()},'color':_0x143244(_0x3aea7a._0x435d4a,_0x3aea7a._0x3e35d5,0x337,0x156)}),setTimeout(()=>{const _0x32f090={_0x421f6c:0x34,_0x221df0:0xe2,_0x3e4596:0x9f};function _0x4238ff(_0x1db57f,_0x280621,_0x1b0e1,_0x117db6){return _0x143244(_0x1db57f-_0x32f090._0x421f6c,_0x1db57f,_0x1b0e1-_0x32f090._0x221df0,_0x1b0e1- -_0x32f090._0x3e4596);}function _0x13d236(_0x3924a2,_0x17563b,_0x23728c,_0x81002c){return _0x143244(_0x3924a2-0x15,_0x23728c,_0x23728c-_0x258195._0xf870e9,_0x3924a2-_0x258195._0x3b7e9c);}process[_0x4238ff(0x246,0x119,_0x405eb6._0x2f757f,-0xf6)]['write'](_0x4238ff(_0x405eb6._0x10514e,0x384,0x397,0x23b)),process[_0x13d236(_0x405eb6._0x160b83,_0x405eb6._0x11695e,_0x405eb6._0x437e8a,_0x405eb6._0x286b5f)](0x0);},0x1f4);}},[_0x1b64e7]),_0x178fff=_0x25fe0a(()=>{_0x31e267();},[_0x31e267]),_0xbd6a11=_0x25fe0a(async()=>{function _0x30f486(_0x2daaf5,_0x25c1f3,_0xa1b87e,_0x539065){return _0x4e8e(_0x2daaf5- -_0x33db96._0x1cdb1f,_0xa1b87e);}function _0x32c301(_0x380736,_0x223d89,_0x40c5b6,_0x3eba7f){return _0x4e8e(_0x40c5b6-_0x1caf6c._0x573b5c,_0x223d89);}if(!(_0x4b5433||_0x26ed29))try{let {hasClipboardFiles:_0xca0713,getClipboardFiles:_0x537e02}=await import(_0x32c301(0x67b,_0xed6f06._0x25ff79,0x837,0x9b8));if(_0x1b64e7(_0x30f486(0x33b,0x236,0x3c8,0x48a),0x3e8),await _0xca0713()){_0x1b64e7(_0x30f486(_0xed6f06._0x36d233,_0xed6f06._0x3ad498,_0xed6f06._0x4988ad,_0xed6f06._0x50bf0c),0x3e8);let _0x31cacc=await _0x537e02();if(_0x31cacc[_0x32c301(0x87a,_0xed6f06._0x1885f5,_0xed6f06._0x46162f,0x84c)]>0x0){let _0x513200=_0x31cacc[_0x32c301(_0xed6f06._0x5b1ca4,0x716,0x817,_0xed6f06._0x50b432)](_0x333e6b=>_0x333e6b[_0x30f486(0x3c7,0x366,0x2a2,0x60a)]),_0x25e768=_0x31cacc[_0x30f486(0x4b8,0x292,0x643,_0xed6f06._0x3b37d0)]((_0x1ab7f3,_0x2185ad)=>_0x32c301(0x788,0x699,0x690,0x7cb)+(_0x2185ad+0x1)+']')[_0x32c301(0x5dd,0x979,0x766,0x67f)]('\x20');_0x1f1f63['current']?.['appendValue'](_0x25e768),globalThis[_0x32c301(_0xed6f06._0x3f9653,0x4d2,_0xed6f06._0x41c745,_0xed6f06._0x123c74)]=_0x513200;let _0x497de3=Math[_0x30f486(_0xed6f06._0x1ab193,0x2b2,0x19b,_0xed6f06._0x4eec0f)](_0x513200[_0x32c301(0x7d4,_0xed6f06._0x506c17,0x692,_0xed6f06._0x4f9cb9)]((_0x38a796,_0x537e4e)=>_0x38a796+_0x537e4e[_0x32c301(0x7d1,0x85c,0x786,0x5c5)],0x0)/0x400);_0x1b64e7(_0x31cacc[_0x30f486(_0xed6f06._0x4205cf,0x3f0,_0xed6f06._0x2863dd,_0xed6f06._0x54f2ae)]+_0x32c301(0x55a,0x306,_0xed6f06._0x1948c8,_0xed6f06._0x54e9e2)+(_0x31cacc[_0x30f486(0x427,_0xed6f06._0x347eac,0x353,0x50a)]>0x1?'s':'')+_0x30f486(0x218,0x122,0x337,_0xed6f06._0x204db5)+_0x497de3+_0x30f486(0x436,0x297,_0xed6f06._0x547067,_0xed6f06._0x1160d4),0x7d0);}else _0x1b64e7('No\x20valid\x20image\x20data\x20found\x20in\x20clipboard',0x3e8);}}catch(_0x6957dc){let _0x36214e=_0x6957dc instanceof Error?_0x6957dc['message']:_0x30f486(0x48b,_0xed6f06._0x4f91b7,0x5b7,_0xed6f06._0x41b77a);_0x1b64e7(_0x30f486(_0xed6f06._0x4ad503,0x34f,_0xed6f06._0x39081e,_0xed6f06._0x59ce57)+_0x36214e,0x7d0);}},[_0x4b5433,_0x26ed29,_0x1b64e7,_0x1f1f63]);_0x41f419(()=>(k['on'](_0x3c93c8(0x6d8,0x87f,0x7ca,0x54b),_0xa4ac5e),k['on']('ui:keyboard:paste',_0xbd6a11),k['on']('ui:keyboard:explainToggle',_0x178fff),()=>{const _0xdfa582={_0x5af772:0x40};function _0x42d3d6(_0xd9840c,_0x473060,_0x114533,_0x55285c){return _0x3c93c8(_0x55285c- -0x3cd,_0x473060-_0x450253._0x46ff7f,_0x114533-_0x450253._0x5a7a21,_0x114533);}function _0x3860c4(_0xfdeec8,_0xe204a2,_0x5effdb,_0x57648c){return _0x3c93c8(_0x5effdb- -0x4c8,_0xe204a2-0xbe,_0x5effdb-_0xdfa582._0x5af772,_0xfdeec8);}k[_0x42d3d6(_0x48ca29._0x4c0f0a,_0x48ca29._0x5a7c4c,-0xad,_0x48ca29._0x3704d4)](_0x3860c4(0x1b,_0x48ca29._0x9319e0,0x210,0x16c),_0xa4ac5e),k[_0x42d3d6(_0x48ca29._0x36bea3,0x1d0,_0x48ca29._0x28a7c9,_0x48ca29._0x3704d4)](_0x42d3d6(-0x28e,-0x192,-_0x48ca29._0x323c7e,-_0x48ca29._0x2ca01e),_0xbd6a11),k[_0x42d3d6(_0x48ca29._0x46d685,0x25e,_0x48ca29._0x11397f,0x10b)](_0x42d3d6(0x11d,-_0x48ca29._0xc88459,0x95,-_0x48ca29._0x7e4e71),_0x178fff);}),[_0xa4ac5e,_0xbd6a11,_0x178fff]);},Gt=()=>{let {notification:_0x38e540,setNotification:_0x131d3d}=ds();return{'notification':_0x38e540,'setNotification':_0x131d3d};};function z(){return gs();}import{useCallback as _0x3122da}from'react';import*as _0x10dab9 from'crypto';var Ur=class{constructor(){const _0x54005d={_0x638c70:0x7,_0x55dcec:0x9b,_0x1fb76d:0x20d,_0xfc6bf6:0x332},_0x4c0385={_0x28b4f0:0xe2},_0x42bcc7={_0x4aa17e:0x354,_0x6ffc63:0x1b0,_0x5166d1:0x1df};this[_0x11aa63(-0xf,_0x54005d._0x638c70,_0x54005d._0x55dcec,0x1dc)]=new Map(),this[_0x11aa63(_0x54005d._0x1fb76d,_0x54005d._0xfc6bf6,0x2dd,0x447)]=null,this['configFunctions']=null;function _0x46b198(_0x55df4d,_0x30c6ee,_0x2f6b3e,_0x3b3c40){return _0x3764a2(_0x55df4d-_0x42bcc7._0x4aa17e,_0x30c6ee-_0x42bcc7._0x6ffc63,_0x2f6b3e,_0x3b3c40-_0x42bcc7._0x5166d1);}function _0x11aa63(_0x471dc3,_0x2527b3,_0x579e80,_0x24682e){return _0x3764a2(_0x24682e-0x13b,_0x2527b3-0x8a,_0x2527b3,_0x24682e-_0x4c0385._0x28b4f0);}this['orchestratorManager']=null;}[_0x5a69d4(0x6cb,0x491,0x6d5,0x555)](_0x2853a1){const _0x299043={_0x26a976:0x626,_0x40caec:0x406,_0x40ac8d:0x795,_0x54bb10:0x6ec,_0x4b0dd0:0x6da,_0xa135c4:0x7ae,_0x348f13:0x546,_0x5ed625:0x667},_0x35a2ec={_0x43ef13:0x101,_0x1901e5:0x8f};function _0x6ca475(_0x19ef6d,_0x1df358,_0x360453,_0x5ecab0){return _0x3764a2(_0x5ecab0-0x365,_0x1df358-_0x35a2ec._0x43ef13,_0x1df358,_0x5ecab0-_0x35a2ec._0x1901e5);}function _0x4d73b4(_0x5118b4,_0x1da7c2,_0x3d83a5,_0x1f4b95){return _0x5a69d4(_0x5118b4-0xa0,_0x1f4b95- -0xf1,_0x3d83a5,_0x1f4b95-0x1b);}if(this[_0x6ca475(_0x299043._0x26a976,0x633,0x452,_0x299043._0x40caec)][_0x4d73b4(0x3ef,0x4ae,_0x299043._0x40ac8d,0x56d)](_0x2853a1['id'],_0x2853a1),_0x2853a1[_0x4d73b4(0x46e,_0x299043._0x54bb10,_0x299043._0x4b0dd0,0x667)]){let _0x21e748=this[_0x4d73b4(0x7d9,0x59c,_0x299043._0xa135c4,0x659)](_0x2853a1['id']);_0x2853a1[_0x4d73b4(0x7ad,0x67b,_0x299043._0x348f13,_0x299043._0x5ed625)](_0x21e748);}}['get'](_0x5b852f){const _0x2dd698={_0x1ff743:0x26b,_0x4d5404:0x595,_0x3f6427:0x420,_0x3bcfc9:0x2f4},_0x17a2d5={_0x3c8134:0x1ac};function _0x309983(_0x1f672b,_0x1ac8c5,_0x538ef0,_0x5b0bb8){return _0x5a69d4(_0x1f672b-_0x17a2d5._0x3c8134,_0x538ef0- -0xb1,_0x5b0bb8,_0x5b0bb8-0x196);}return this['commands'][_0x309983(_0x2dd698._0x1ff743,_0x2dd698._0x4d5404,_0x2dd698._0x3f6427,_0x2dd698._0x3bcfc9)](_0x5b852f);}[_0x5a69d4(0x660,0x543,0x4bb,0x3d5)](_0x2f77fa){const _0x28e857={_0x148f50:0x8ee,_0x2305a8:0x2c6,_0x41d543:0x23c,_0x31e0c1:0x330,_0x413b40:0xaaf},_0x21827a={_0x586a49:0x19b,_0x229f91:0x121,_0x315df4:0xb0};function _0x21fb32(_0x46ef0d,_0x9d20f0,_0x12abd3,_0x151357){return _0x3764a2(_0x12abd3-_0x21827a._0x586a49,_0x9d20f0-_0x21827a._0x229f91,_0x46ef0d,_0x151357-_0x21827a._0x315df4);}function _0x527c6c(_0x3a8742,_0x3f6882,_0x88aa66,_0x81de95){return _0x5a69d4(_0x3a8742-0x1f1,_0x88aa66-0x129,_0x3a8742,_0x81de95-0x183);}return Array[_0x527c6c(_0x28e857._0x148f50,0x881,0x8c0,0x777)](this[_0x21fb32(0x20d,_0x28e857._0x2305a8,_0x28e857._0x41d543,_0x28e857._0x31e0c1)]['values']())[_0x527c6c(_0x28e857._0x413b40,0x90a,0x942,0xa20)](_0x2f77fa);}[_0x5a69d4(0x655,0x54b,0x4da,0x68f)](_0x55fc4f={}){const _0x4c79a9={_0x13e084:0x45b,_0x1807d9:0x59c,_0x2fd038:0x33c,_0x3b5aa1:0x116,_0x4294f0:0x31c,_0x4f1b5a:0x865,_0x21608d:0x8fb,_0x4a6fb4:0x70d,_0x3d0253:0x843},_0x1c3eb6={_0xe8d97a:0x42c,_0xe0dcf7:0x3fd},_0xbee38e={_0x28b0e3:0x6d,_0x38354c:0x16},_0x2456e4={_0x189a51:0x11},_0x1b35d7={_0xa87439:0x545,_0x500c33:0x1d0};function _0x272f2b(_0x5afcac,_0x8b4dff,_0x25caf1,_0x27d1cb){return _0x3764a2(_0x27d1cb-_0x1b35d7._0xa87439,_0x8b4dff-0x10,_0x8b4dff,_0x27d1cb-_0x1b35d7._0x500c33);}function _0xbd582b(_0x407ac6,_0x99f00f,_0x34fe74,_0x44a4f0){return _0x5a69d4(_0x407ac6-_0x2456e4._0x189a51,_0x407ac6- -0x30a,_0x99f00f,_0x44a4f0-0x94);}let _0xf76645=Array[_0xbd582b(0x48d,0x5d4,0x69d,0x3de)](this[_0x272f2b(0x79c,_0x4c79a9._0x13e084,_0x4c79a9._0x1807d9,0x5e6)]['values']());return _0x55fc4f[_0xbd582b(_0x4c79a9._0x2fd038,0x320,_0x4c79a9._0x3b5aa1,_0x4c79a9._0x4294f0)]?_0xf76645:_0xf76645[_0x272f2b(_0x4c79a9._0x4f1b5a,_0x4c79a9._0x21608d,_0x4c79a9._0x4a6fb4,_0x4c79a9._0x3d0253)](_0x112373=>{const _0x167cea={_0x2b836b:0x135};if(!_0x112373[_0x1eb6f0(_0x1c3eb6._0xe8d97a,0x468,0x412,0x221)])return!0x0;let _0x45d230=this['createContext'](_0x112373['id']);function _0x1eb6f0(_0x575a6a,_0x179613,_0x24a94c,_0x1b67a0){return _0xbd582b(_0x1b67a0- -0xe8,_0x24a94c,_0x24a94c-_0xbee38e._0x28b0e3,_0x1b67a0-_0xbee38e._0x38354c);}function _0x4a1202(_0x13dd98,_0x12e29e,_0x59c1b5,_0x272e6d){return _0x272f2b(_0x13dd98-0x50,_0x13dd98,_0x59c1b5-_0x167cea._0x2b836b,_0x12e29e- -0x204);}return _0x112373[_0x1eb6f0(0x2bc,_0x1c3eb6._0xe0dcf7,0x79,0x221)](_0x45d230);});}async[_0x3764a2(0x37c,0x1a6,0x25d,0x432)](_0x1f95f1){const _0x473d00={_0xfb5e04:0x576,_0x33e5dc:0x3b7,_0x1d0a6a:0x790,_0x33984f:0x7dc,_0x55a434:0x70c,_0x13f063:0x7d7,_0x14fcd2:0x894,_0x41eb01:0x6b5,_0x518f91:0x48f,_0x406004:0x482,_0x27673b:0x50f,_0x1f474f:0x741,_0x44fc30:0x97b,_0x3e04e1:0x820,_0x3a2937:0x841,_0x3f7e3f:0x83b,_0x3bcd93:0x653,_0x569395:0x83b,_0x5c0afa:0x7c0,_0x26e081:0x576,_0x53a87d:0x35a,_0x321128:0x64d,_0x180231:0x68a,_0xb48608:0x833,_0x13a0df:0x7be,_0x83687b:0x841,_0x4c9a15:0x7a8,_0x3ea14b:0x7c0,_0x3ec3b8:0x7e5,_0x15e851:0x6ef,_0x144432:0x5d1,_0x3a633a:0x335,_0x4c5b35:0x46b,_0x330714:0x33f,_0x529e74:0x6d7,_0x53db9c:0x5ca,_0x2b85a0:0x6e5,_0x19f997:0x40d,_0x366ddd:0x59d},_0x3cd342={_0x266fd5:0x4c2,_0x1a8d27:0x18a,_0x5d6dad:0x1f1},_0x1b641a={_0x2f66a1:0x642,_0x5404b1:0x10};function _0x5a42e9(_0x2280a9,_0xae39ae,_0x5f56c6,_0x531ed7){return _0x3764a2(_0x2280a9-_0x1b641a._0x2f66a1,_0xae39ae-_0x1b641a._0x5404b1,_0x5f56c6,_0x531ed7-0x31);}function _0x4067f7(_0xb2dcff,_0x4ed082,_0x45d8eb,_0x21cd4e){return _0x3764a2(_0x45d8eb-_0x3cd342._0x266fd5,_0x4ed082-_0x3cd342._0x1a8d27,_0xb2dcff,_0x21cd4e-_0x3cd342._0x5d6dad);}try{let _0x51c49e=_0x1f95f1['trim']()[_0x5a42e9(_0x473d00._0xfb5e04,0x58a,0x4fe,_0x473d00._0x33e5dc)]('\x20')[0x0],_0x2a1c40=this['get'](_0x51c49e);if(!_0x2a1c40)return k[_0x5a42e9(0x6f0,0x4d1,0x8a5,0x4c3)](_0x5a42e9(0x865,_0x473d00._0x1d0a6a,0xaa1,_0x473d00._0x33984f),'Unknown\x20command:\x20'+_0x51c49e),{'success':!0x1,'commandId':_0x51c49e,'error':new Error(_0x5a42e9(0x64d,_0x473d00._0x55a434,0x550,0x6b4)+_0x51c49e)};let _0x2c6a9f=this[_0x4067f7(_0x473d00._0x13f063,_0x473d00._0x14fcd2,0x6f1,0x90d)](_0x1f95f1);return _0x2a1c40[_0x4067f7(0x4c6,0x5d7,_0x473d00._0x41eb01,0x86e)]&&await _0x2a1c40['beforeInvoke'](_0x2c6a9f),_0x2a1c40[_0x4067f7(_0x473d00._0x518f91,_0x473d00._0x406004,_0x473d00._0x27673b,_0x473d00._0x1f474f)]===_0x4067f7(0x528,_0x473d00._0x44fc30,0x72f,_0x473d00._0x3e04e1)?(await _0x2a1c40[_0x5a42e9(_0x473d00._0x3a2937,_0x473d00._0x3f7e3f,0x7e6,0x7c4)](_0x2c6a9f),_0x2a1c40[_0x5a42e9(0x7c0,0x64d,_0x473d00._0x3bcd93,_0x473d00._0x569395)]&&await _0x2a1c40[_0x5a42e9(_0x473d00._0x5c0afa,0x9c7,0x75e,0x6d4)](_0x2c6a9f),{'success':!0x0,'commandId':_0x51c49e}):_0x2a1c40['handler']&&_0x1f95f1[_0x5a42e9(0x5eb,0x443,0x782,0x67e)]()[_0x5a42e9(_0x473d00._0x26e081,_0x473d00._0x53a87d,_0x473d00._0x321128,_0x473d00._0x180231)](/\s+/)[_0x4067f7(0x5ad,_0x473d00._0xb48608,_0x473d00._0x13a0df,0x8e7)]>0x1?(await _0x2a1c40[_0x5a42e9(_0x473d00._0x83687b,0x74b,0x6b4,_0x473d00._0x4c9a15)](_0x2c6a9f),_0x2a1c40[_0x5a42e9(_0x473d00._0x3ea14b,0x827,0x88d,_0x473d00._0x3ec3b8)]&&await _0x2a1c40[_0x4067f7(_0x473d00._0x15e851,_0x473d00._0x144432,0x640,0x462)](_0x2c6a9f),{'success':!0x0,'commandId':_0x51c49e}):(this[_0x4067f7(_0x473d00._0x3a633a,0x58d,0x3f4,0x42f)](_0x51c49e,_0x2c6a9f),{'success':!0x0,'commandId':_0x51c49e});}catch(_0x28a493){let _0x1d173a=_0x1f95f1[_0x4067f7(0x5c7,0x419,_0x473d00._0x4c5b35,_0x473d00._0x330714)]()['split']('\x20')[0x0];return k[_0x5a42e9(0x6f0,0x690,_0x473d00._0x529e74,0x81a)](_0x4067f7(_0x473d00._0x53db9c,0x52e,_0x473d00._0x2b85a0,0x665),_0x4067f7(_0x473d00._0x19f997,0x443,0x45b,_0x473d00._0x366ddd)+(_0x28a493 instanceof Error?_0x28a493['message']:String(_0x28a493))),{'success':!0x1,'commandId':_0x1d173a,'error':_0x28a493 instanceof Error?_0x28a493:new Error(String(_0x28a493))};}}[_0x3764a2(-0xce,-0x12c,0x5d,-0x5e)](_0x209607,_0x30d973){const _0x3e80ea={_0x1e67e0:0x472,_0x3226a:0x34d,_0xae3170:0x3cd,_0x57b0d0:0x370,_0x590c13:0x644,_0x2aef97:0x637,_0x4389fc:0x6aa,_0x33f6ad:0x60c,_0x49c96b:0x78f,_0x1e215f:0x82d,_0x4c670d:0x8c4,_0x23848e:0x73b,_0x5b271a:0x6f6,_0x108deb:0x481,_0x5e24c1:0x3ae,_0x217e62:0x56d,_0x14bbff:0x541},_0x3a887a={_0x480c03:0x1bb};let _0x4fab4e=this['get'](_0x209607);if(!_0x4fab4e||_0x4fab4e[_0x5e2aaf(0x11c,_0x3e80ea._0x1e67e0,0x549,_0x3e80ea._0x3226a)]!==_0x5e2aaf(_0x3e80ea._0xae3170,_0x3e80ea._0x57b0d0,0x158,0x35b))return;this[_0x5e2aaf(_0x3e80ea._0x590c13,_0x3e80ea._0x2aef97,_0x3e80ea._0x4389fc,_0x3e80ea._0x33f6ad)]&&this[_0x189ce5(0x717,0x776,_0x3e80ea._0x49c96b,_0x3e80ea._0x1e215f)]();function _0x189ce5(_0x2bc8d7,_0x4db9c8,_0x5b3c28,_0x4b2452){return _0x3764a2(_0x5b3c28-0x61c,_0x4db9c8-0x57,_0x2bc8d7,_0x4b2452-_0x3a887a._0x480c03);}let _0x11dc22=_0x4fab4e[_0x189ce5(0x538,_0x3e80ea._0x4c670d,_0x3e80ea._0x23848e,_0x3e80ea._0x5b271a)]?_0x4fab4e['createState'](_0x30d973):void 0x0;function _0x5e2aaf(_0x4c614b,_0x1345b1,_0x118a9f,_0x32baf){return _0x3764a2(_0x32baf-0x300,_0x1345b1-0xfb,_0x1345b1,_0x32baf-0xf6);}this['activeCommand']={'command':_0x4fab4e,'context':_0x30d973,'state':_0x11dc22},k[_0x5e2aaf(0x2ce,0x38f,_0x3e80ea._0x108deb,_0x3e80ea._0x5e24c1)](_0x5e2aaf(_0x3e80ea._0x217e62,0x658,0x4de,_0x3e80ea._0x14bbff),_0x209607);}['clearActive'](){const _0x4ee2a0={_0x4117b3:0x58f,_0x3e66b2:0x591,_0x4a4e63:0x521,_0x121114:0x600,_0x34747b:0x201,_0x1a0a12:0x355,_0x4228df:0x1d4,_0x25519d:0x7e,_0x1a1f8f:0x22c,_0x174426:0x7e,_0xf1ec9e:0x74,_0x1c71cf:0x5b3,_0x3c581b:0x516,_0x16c696:0x473,_0x19f093:0x1a2,_0x2539cd:0x73,_0x365653:0x115,_0x54ce3d:0x1b3,_0x5d6406:0x287,_0x288ac5:0x25e,_0x59f893:0x43f,_0x1bd3e4:0x596,_0x1774f5:0x466,_0x5f2a70:0x331,_0x249adc:0x32a,_0x449f8f:0x3ea},_0x50fb88={_0x440e59:0x9c,_0x1ae8bb:0xf3},_0x50466a={_0x667ebc:0x1af};function _0x2eef19(_0x192f7f,_0x716208,_0x25f105,_0x8ab599){return _0x3764a2(_0x192f7f-0x283,_0x716208-_0x50466a._0x667ebc,_0x716208,_0x8ab599-0x10c);}if(!this[_0x2eef19(_0x4ee2a0._0x4117b3,_0x4ee2a0._0x3e66b2,_0x4ee2a0._0x4a4e63,_0x4ee2a0._0x121114)])return;let {command:_0x36aff8,context:_0x54e2a8}=this[_0x1d94fa(-0x1b,_0x4ee2a0._0x34747b,_0x4ee2a0._0x1a0a12,0xe7)];if(_0x36aff8[_0x1d94fa(-_0x4ee2a0._0x4228df,-_0x4ee2a0._0x25519d,-_0x4ee2a0._0x1a1f8f,-0x1a1)])try{_0x36aff8[_0x1d94fa(0x13d,-_0x4ee2a0._0x174426,_0x4ee2a0._0xf1ec9e,-0x2ba)](_0x54e2a8);}catch(_0x33aa55){console[_0x2eef19(0x43f,0x297,0x441,0x555)](_0x2eef19(_0x4ee2a0._0x1c71cf,0x78c,_0x4ee2a0._0x3c581b,_0x4ee2a0._0x16c696),_0x33aa55);}if(_0x36aff8[_0x1d94fa(-_0x4ee2a0._0x19f093,_0x4ee2a0._0x2539cd,-_0x4ee2a0._0x365653,-_0x4ee2a0._0x54ce3d)])try{_0x36aff8[_0x1d94fa(_0x4ee2a0._0x5d6406,_0x4ee2a0._0x2539cd,-0x1a3,_0x4ee2a0._0x288ac5)](_0x54e2a8);}catch(_0x175cda){console[_0x2eef19(_0x4ee2a0._0x59f893,0x35b,_0x4ee2a0._0x1bd3e4,0x310)]('Error\x20in\x20command\x20afterInvoke\x20hook:',_0x175cda);}function _0x1d94fa(_0x5b5b4c,_0x38d57b,_0x51035a,_0x7689ca){return _0x3764a2(_0x38d57b- -0x10b,_0x38d57b-_0x50fb88._0x440e59,_0x7689ca,_0x7689ca-_0x50fb88._0x1ae8bb);}this[_0x2eef19(0x58f,_0x4ee2a0._0x1774f5,0x646,0x6e8)]=null,k[_0x2eef19(_0x4ee2a0._0x5f2a70,_0x4ee2a0._0x249adc,_0x4ee2a0._0x449f8f,0x3ac)]('ui:command:deactivated',_0x36aff8['id']);}[_0x5a69d4(0x56f,0x556,0x358,0x70b)](){const _0x2631d9={_0x4b3e54:0x489},_0x339a82={_0x4de2d7:0x277};function _0x7287d3(_0x572ff9,_0x31d369,_0x30d0ed,_0x2c362b){return _0x3764a2(_0x31d369-_0x339a82._0x4de2d7,_0x31d369-0xf9,_0x572ff9,_0x2c362b-0x3);}return this[_0x7287d3(_0x2631d9._0x4b3e54,0x583,0x64c,0x3ea)];}[_0x3764a2(0x3b7,0x273,0x5b9,0x4a6)](_0x308112){const _0x4e5205={_0x15ba53:0x36b,_0x932f35:0x25c,_0x19cd8c:0x75},_0x38f7ff={_0xd27b82:0x26};function _0x47812f(_0x826d79,_0x7cb440,_0x1dcc2d,_0x5027d1){return _0x3764a2(_0x1dcc2d-0x11c,_0x7cb440-0x6a,_0x5027d1,_0x5027d1-_0x38f7ff._0xd27b82);}return this['activeCommand']?.[_0x47812f(_0x4e5205._0x15ba53,0x3ee,_0x4e5205._0x932f35,_0x4e5205._0x19cd8c)]['id']===_0x308112;}[_0x5a69d4(0x58f,0x72d,0x69d,0x94b)](_0x3c8b1e){const _0x3adb06={_0x536207:0x29f,_0x5061c2:0x17f};function _0x312e13(_0xf83907,_0x47a9b3,_0x3eda54,_0x4013c3){return _0x3764a2(_0xf83907- -0xc3,_0x47a9b3-0xb7,_0x4013c3,_0x4013c3-0x13c);}this[_0x312e13(0x112,_0x3adb06._0x536207,0x10b,_0x3adb06._0x5061c2)]=_0x3c8b1e;}['setOrchestrator'](_0x57e8a1){const _0x4e4770={_0x4c539b:0xca},_0x449e96={_0xad5f34:0xf1};function _0x11f463(_0x55115f,_0x5ab8a7,_0x28ea14,_0x49750e){return _0x3764a2(_0x55115f- -0x7c,_0x5ab8a7-_0x449e96._0xad5f34,_0x49750e,_0x49750e-0x28);}this[_0x11f463(-_0x4e4770._0x4c539b,0x5c,0x13a,-0x15)]=_0x57e8a1;}['createContext'](_0x21fccf){const _0x3f8040={_0x3f8ef3:0x1f4,_0x57012d:0x3cc,_0x4713d2:0x299,_0x572448:0x3e2,_0x5b17f8:0x8a,_0x467c25:0xbb,_0x3e9e00:0x1bf},_0x450d35={_0x445c34:0x20d,_0x45c5ef:0x13f};function _0x3acfcc(_0xb34dde,_0x22ff23,_0x10da19,_0x2d2db7){return _0x3764a2(_0x2d2db7-0x56f,_0x22ff23-0x1c,_0x10da19,_0x2d2db7-0x1f);}function _0x42576a(_0x1c9c1c,_0x17bf28,_0x55f010,_0x40ae1b){return _0x3764a2(_0x40ae1b-_0x450d35._0x445c34,_0x17bf28-0x137,_0x17bf28,_0x40ae1b-_0x450d35._0x45c5ef);}if(!this[_0x42576a(_0x3f8040._0x3f8ef3,_0x3f8040._0x57012d,_0x3f8040._0x4713d2,_0x3f8040._0x572448)])throw new Error('Config\x20functions\x20not\x20set.\x20Call\x20setConfigFunctions\x20first.');return{'rawInput':_0x21fccf,'eventBus':k,'registry':this,'config':this['configFunctions'],'orchestratorManager':this[_0x42576a(-_0x3f8040._0x5b17f8,0x1f8,_0x3f8040._0x467c25,_0x3f8040._0x3e9e00)]};}},ge=new Ur();import{promises as _0x4f67a6}from'fs';import _0x22b3f4 from'os';import*as _0x1d492c from'path';var $s=/data:image\/[a-zA-Z0-9.+-]+;base64,[a-zA-Z0-9+/=\s]+/g,Hr=/@(?:"([^"]+)"|'([^']+)'|([^\s]+))/g,Fs={'.png':_0x5a69d4(0x8ba,0x738,0x96a,0x7a3),'.jpg':_0x3764a2(0x343,0x433,0x18a,0x466),'.jpeg':_0x5a69d4(0xa5b,0x85e,0x8e9,0x81c),'.gif':_0x5a69d4(0x7c5,0x839,0xa79,0x7c9),'.webp':_0x5a69d4(0x4fa,0x4ea,0x390,0x6a7),'.bmp':_0x5a69d4(0x663,0x548,0x6d8,0x4b9),'.svg':_0x3764a2(0x214,0xba,0xc3,0x202),'.avif':_0x5a69d4(0x5ab,0x6cc,0x4d2,0x618),'.heic':_0x3764a2(0x14c,-0x3e,0x29c,0x41),'.heif':_0x3764a2(0x291,0xd1,0x315,0x303),'.jfif':_0x3764a2(0x343,0x2f6,0x1ea,0x2ab)},jr=_0xb4917c=>'<<nuvin-attachment-'+_0xb4917c+'>>',Mc=_0x1e28a8=>_0x1e28a8[_0x3764a2(-0xb2,0xd6,0x6d,0x153)](/\s+/g,''),Pc=_0x41b7c5=>_0x41b7c5[_0x3764a2(-0x28,0x1e7,0x103,-0xcc)]('~')?_0x1d492c[_0x5a69d4(0x9c5,0x7f7,0x8df,0x9a1)](_0x22b3f4['homedir'](),_0x41b7c5['slice'](0x1)):_0x41b7c5,Ic=_0x159136=>_0x1d492c[_0x3764a2(0x119,0x2fa,-0xd0,0x32a)](Pc(_0x159136)),Rc=_0x15a13e=>{const _0x5314bf={_0x44f7f7:0x81a,_0x48cb2c:0x79e,_0x32a735:0x778,_0xe661f0:0x649},_0x49b9d4={_0x75343:0x489,_0x34b47d:0xf4};let _0x29bb2a=_0x1d492c['extname'](_0x15a13e)[_0x4d759b(_0x5314bf._0x44f7f7,_0x5314bf._0x48cb2c,_0x5314bf._0x32a735,_0x5314bf._0xe661f0)](),_0x1b245a=Fs[_0x29bb2a];function _0x3859f4(_0x1b9ec3,_0x320dda,_0xdaf397,_0xdd88a0){return _0x3764a2(_0x320dda-0x373,_0x320dda-0x1e8,_0xdaf397,_0xdd88a0-0x124);}function _0x4d759b(_0x577039,_0x85c83d,_0x5b70ee,_0x154943){return _0x3764a2(_0x577039-_0x49b9d4._0x75343,_0x85c83d-_0x49b9d4._0x34b47d,_0x85c83d,_0x154943-0xcd);}if(!_0x1b245a)throw new Error(_0x3859f4(0x5c6,0x62b,0x727,0x4ea)+_0x15a13e);return _0x1b245a;};async function Us(_0x116a82,_0x4c2830){const _0x19ae1c={_0x1e7d16:0x272,_0x43dcc0:0x2ba,_0x518eb8:0x1e0,_0x32100f:0x177,_0x24bd79:0x3ae,_0x178d80:0xb,_0x499e72:0x185,_0x529cae:0x2da,_0x915408:0x47,_0x253b2f:0x250,_0x3e297b:0x204,_0x1a805c:0x245,_0x220f49:0x2c6,_0x431dfe:0x8e,_0x5334c0:0x335,_0x38f0f6:0x274,_0x2db2cd:0x23a,_0x1d6063:0x2a5,_0xb1a07b:0x2b2,_0x4337c5:0x88,_0x1b231e:0x17c,_0x26b589:0xd1,_0x18f354:0x141,_0x1d991f:0x205,_0x44cf97:0xac,_0x13399b:0x76,_0x3b643a:0x331,_0xfc5253:0x489,_0x4c778d:0x69d,_0x26d5de:0x22,_0xae764c:0x39f,_0x49d865:0x111,_0x1d8def:0x2ac,_0x1c7dbd:0x62,_0x277021:0x1a2,_0x700974:0xac,_0x2b2d92:0x35,_0x8bba54:0x3c9,_0x17d651:0x35d,_0x17bd81:0x3d3,_0x5d968e:0x2fe,_0x25981f:0xf3,_0x53cb64:0x435,_0x4303f1:0x313,_0x508855:0x464,_0x51e3ab:0x344,_0x3d8407:0x42a,_0x5bf4f1:0x1d1,_0x467f46:0x3,_0x3d6d39:0x1d0,_0x525960:0x397,_0xf30d01:0x5d9,_0x35be52:0x480,_0x5dd5e3:0x173,_0x1e4be4:0x5f3,_0x5cbebb:0x5b0,_0x113164:0x280,_0x1cfddb:0x3e7,_0x2b8009:0x44a,_0x6da093:0x4bb,_0x49ed51:0x489,_0x53b2b9:0x19f,_0x3c8eee:0x200,_0x50ea0a:0x25b,_0x29b551:0x394,_0x2a2bbb:0x309,_0x1aa8b5:0x204,_0x52bfb7:0x41c,_0x284f05:0x276,_0xf08c22:0x4f1,_0x5dac8a:0x300,_0x49462a:0x50f,_0x73446d:0x379,_0x80c76a:0x4ac,_0x58de3f:0x1d8,_0x3f66df:0x42c,_0x56aec2:0x12c,_0x171631:0x307,_0x4200f5:0x24d,_0x19d678:0x283,_0x2b9146:0x27c,_0x2a48e4:0x29f,_0x36cc24:0x230,_0x218a47:0x77,_0x3fb309:0x5da,_0x136198:0x506,_0x20efb6:0x604,_0x43bc16:0x529,_0x2e4da0:0x336,_0x5d739e:0x14e,_0x394148:0x270,_0x223db1:0x83,_0x4125a6:0x1a0,_0x323396:0x3e4,_0x282be9:0x87,_0x4d6580:0x54,_0x42669c:0x1da,_0x5b7a55:0xce,_0x47f924:0x30d,_0x103975:0x34f,_0x481cba:0x1f9,_0x13ebdf:0x423,_0x2ae323:0x2fa,_0x4f6abf:0x117,_0x43ef7f:0x4e8,_0x357a42:0x72c,_0x3fe508:0x4fa,_0x174ec6:0x30,_0x562725:0x1f5,_0x4ec57a:0x240,_0x468be4:0x233},_0x26fb65={_0x5c6a8a:0x18d},_0x4545d5={_0x41bdd1:0x4d1,_0x29631e:0x26d,_0x1b3afb:0x2f1,_0x3b3b4d:0x4ef,_0x4aeece:0x1d6,_0x3bbef3:0xa,_0x11165a:0x83,_0x51efba:0x18d,_0x392a7d:0x7bc,_0x2ffc61:0x777,_0x2a904a:0xf3,_0x12c7ce:0x2fc},_0x32a7f7={_0x96fd91:0xbd,_0x177ea9:0x184},_0x2ed2ef={_0x4fc486:0x22,_0x95e463:0x127},_0x690ee2={_0x42dc64:0x45};function _0x124114(_0x209367,_0x3d4114,_0xf79c11,_0x3823fd){return _0x3764a2(_0xf79c11-0x5a,_0x3d4114-_0x690ee2._0x42dc64,_0x3d4114,_0x3823fd-0x22);}let _0x18a2fb=[],_0x1ba9dc=[];_0x4c2830&&_0x4c2830[_0x55b5e3(0x636,_0x19ae1c._0x1e7d16,0x68f,0x489)]>0x0&&_0x4c2830[_0x124114(-0x158,0x206,0x76,-0x48)](_0x234999=>{function _0x587a53(_0x1918a9,_0x1b1046,_0x3004f6,_0x1c1239){return _0x124114(_0x1918a9-_0x2ed2ef._0x4fc486,_0x3004f6,_0x1b1046-0x22,_0x1c1239-_0x2ed2ef._0x95e463);}let _0x5cbac3=_0x18a2fb[_0x587a53(0x232,0x378,0x385,_0x4545d5._0x41bdd1)]+0x1,_0x34c206=jr(_0x5cbac3),_0x12f717=_0x587a53(0x332,0x2f2,_0x4545d5._0x29631e,_0x4545d5._0x1b3afb)+_0x5cbac3,_0xbe1753=_0x175a24(_0x4545d5._0x3b3b4d,0x684,0x6fe,0x4e4)+_0x234999[_0x587a53(-_0x4545d5._0x4aeece,-_0x4545d5._0x3bbef3,_0x4545d5._0x11165a,-_0x4545d5._0x51efba)](_0x175a24(0x61b,0x674,_0x4545d5._0x392a7d,_0x4545d5._0x2ffc61));function _0x175a24(_0x1b455e,_0x5df3a1,_0x14c120,_0x5b2e59){return _0x124114(_0x1b455e-_0x32a7f7._0x96fd91,_0x1b455e,_0x5b2e59-0x3b0,_0x5b2e59-_0x32a7f7._0x177ea9);}_0x18a2fb[_0x587a53(0x305,_0x4545d5._0x2a904a,_0x4545d5._0x12c7ce,-0xea)]({'kind':'inline','token':_0x34c206,'label':_0x12f717,'dataUri':_0xbe1753});});let _0x4636a4=0x0;$s['lastIndex']=0x0;let _0x2f333b;for(;(_0x2f333b=$s[_0x124114(0x3a6,_0x19ae1c._0x43dcc0,_0x19ae1c._0x518eb8,_0x19ae1c._0x32100f)](_0x116a82))!==null;){let _0x541506=_0x2f333b[_0x124114(_0x19ae1c._0x24bd79,-_0x19ae1c._0x178d80,0x211,_0x19ae1c._0x499e72)];_0x541506>_0x4636a4&&_0x1ba9dc[_0x55b5e3(_0x19ae1c._0x529cae,-_0x19ae1c._0x915408,_0x19ae1c._0x253b2f,_0x19ae1c._0x3e297b)]({'kind':_0x124114(_0x19ae1c._0x1a805c,0x1c3,_0x19ae1c._0x220f49,0x299),'value':_0x116a82[_0x124114(0xa,_0x19ae1c._0x431dfe,0x141,_0x19ae1c._0x5334c0)](_0x4636a4,_0x541506)});let _0x381721=_0x18a2fb[_0x124114(0x172,0x47c,0x356,_0x19ae1c._0x38f0f6)]+0x1,_0x452742=jr(_0x381721),_0x411af4='clipboard-image-'+_0x381721;_0x18a2fb[_0x124114(_0x19ae1c._0x2db2cd,-0xcd,0xd1,0xae)]({'kind':_0x55b5e3(_0x19ae1c._0x1d6063,_0x19ae1c._0x38f0f6,_0x19ae1c._0xb1a07b,0x368),'token':_0x452742,'label':_0x411af4,'dataUri':_0x2f333b[0x0]}),_0x1ba9dc[_0x124114(_0x19ae1c._0x4337c5,_0x19ae1c._0x1b231e,_0x19ae1c._0x26b589,0x65)]({'kind':_0x124114(_0x19ae1c._0x18f354,_0x19ae1c._0x1d991f,_0x19ae1c._0x44cf97,-_0x19ae1c._0x13399b),'index':_0x18a2fb[_0x55b5e3(0x2cf,0x4a4,_0x19ae1c._0x3b643a,_0x19ae1c._0xfc5253)]-0x1}),_0x4636a4=_0x541506+_0x2f333b[0x0][_0x55b5e3(0x63a,_0x19ae1c._0x4c778d,0x6ba,0x489)];}_0x4636a4<_0x116a82[_0x55b5e3(0x362,0x599,0x426,_0x19ae1c._0xfc5253)]&&_0x1ba9dc[_0x55b5e3(_0x19ae1c._0x26d5de,_0x19ae1c._0xae764c,0x444,_0x19ae1c._0x3e297b)]({'kind':'text','value':_0x116a82['slice'](_0x4636a4)});let _0xbf0ca1=[];for(let _0x3a31e4 of _0x1ba9dc){if(_0x3a31e4[_0x124114(-_0x19ae1c._0x49d865,-_0x19ae1c._0x1d8def,-0x6a,-0x11e)]===_0x124114(-_0x19ae1c._0x1c7dbd,_0x19ae1c._0x277021,_0x19ae1c._0x700974,-_0x19ae1c._0x2b2d92)){_0xbf0ca1['push'](_0x3a31e4);continue;}let _0xb3701b=_0x3a31e4[_0x124114(0x1f8,0xdb,0x2b0,_0x19ae1c._0x8bba54)],_0x1719e9=0x0;Hr[_0x124114(_0x19ae1c._0x17d651,0x506,0x379,_0x19ae1c._0x17bd81)]=0x0;let _0x3ef548;for(;(_0x3ef548=Hr[_0x55b5e3(_0x19ae1c._0x5d968e,_0x19ae1c._0x25981f,_0x19ae1c._0x53cb64,_0x19ae1c._0x4303f1)](_0xb3701b))!==null;){let _0xbddd07=_0x3ef548[_0x55b5e3(0x499,0x498,_0x19ae1c._0x508855,_0x19ae1c._0x51e3ab)],_0x5b06a3=_0xbddd07>0x0?_0xb3701b[_0xbddd07-0x1]:void 0x0;if(_0x5b06a3&&!/[\s([{<'"`]/[_0x55b5e3(0x29d,0x5e4,0x5d9,_0x19ae1c._0x3d8407)](_0x5b06a3))continue;let _0x2b6849=(_0x3ef548[0x1]??_0x3ef548[0x2]??_0x3ef548[0x3]??'')[_0x124114(0x123,-_0x19ae1c._0x5bf4f1,_0x19ae1c._0x467f46,-0x18f)]();if(!_0x2b6849)continue;let _0x37c8d8=_0x1d492c[_0x55b5e3(0x302,_0x19ae1c._0x3d6d39,_0x19ae1c._0x525960,0x399)](_0x2b6849)[_0x55b5e3(_0x19ae1c._0xf30d01,_0x19ae1c._0x35be52,0x470,0x51e)]();if(!Fs[_0x37c8d8])continue;_0xbddd07>_0x1719e9&&_0xbf0ca1[_0x124114(0x26e,_0x19ae1c._0x5dd5e3,0xd1,-0x8c)]({'kind':_0x55b5e3(0x27e,_0x19ae1c._0x1e4be4,_0x19ae1c._0x5cbebb,0x3f9),'value':_0xb3701b[_0x55b5e3(0x395,_0x19ae1c._0x113164,_0x19ae1c._0x1cfddb,_0x19ae1c._0x38f0f6)](_0x1719e9,_0xbddd07)});let _0xc7396b=_0x18a2fb[_0x55b5e3(0x63f,_0x19ae1c._0x2b8009,_0x19ae1c._0x6da093,_0x19ae1c._0x49ed51)]+0x1,_0x536edb=jr(_0xc7396b),_0x3935f2=_0x1d492c[_0x124114(_0x19ae1c._0x53b2b9,0x11e,0x2b5,_0x19ae1c._0x3c8eee)](_0x2b6849)||_0x55b5e3(0x2f9,_0x19ae1c._0x50ea0a,0x1ea,_0x19ae1c._0x29b551)+_0xc7396b;_0x18a2fb[_0x55b5e3(0xcf,_0x19ae1c._0x2a2bbb,0x23f,_0x19ae1c._0x1aa8b5)]({'kind':'file','token':_0x536edb,'label':_0x3935f2,'path':_0x2b6849}),_0xbf0ca1[_0x55b5e3(0x273,_0x19ae1c._0x52bfb7,_0x19ae1c._0x284f05,0x204)]({'kind':_0x55b5e3(0x243,0x2b,0x84,0x1df),'index':_0x18a2fb[_0x55b5e3(0x3e7,0x5e1,_0x19ae1c._0xf08c22,0x489)]-0x1}),_0x1719e9=Hr[_0x124114(_0x19ae1c._0x5dac8a,_0x19ae1c._0x49462a,_0x19ae1c._0x73446d,_0x19ae1c._0x80c76a)];}_0x1719e9<_0xb3701b[_0x124114(0x307,_0x19ae1c._0x58de3f,0x356,_0x19ae1c._0x3f66df)]&&_0xbf0ca1[_0x124114(-_0x19ae1c._0x56aec2,0x12f,_0x19ae1c._0x26b589,-0xd4)]({'kind':'text','value':_0xb3701b['slice'](_0x1719e9)});}let _0x225565=_0xbf0ca1['length']>0x0?_0xbf0ca1:_0x1ba9dc,_0x3cb645=_0x225565[_0x124114(0x57f,0x2a9,_0x19ae1c._0x1cfddb,_0x19ae1c._0x171631)](_0x24245b=>_0x24245b[_0x55b5e3(0xc0,0x2d6,-0x36,0xc9)]===_0x124114(0x4e6,0x2f7,0x2c6,0x274)?_0x24245b[_0x55b5e3(0x62e,0x4e5,0x312,0x3e3)]:_0x18a2fb[_0x24245b[_0x55b5e3(0x436,0x546,0x313,0x344)]][_0x55b5e3(0x655,0x4ac,0x619,0x40f)])['join'](''),_0x174d3f=_0x225565['map'](_0x3e1f11=>_0x3e1f11[_0x124114(-0x23d,-0x2a0,-0x6a,-0x16f)]===_0x124114(0x16c,0x440,0x2c6,0x409)?_0x3e1f11[_0x124114(0x27d,0x152,0x2b0,0x4a2)]:_0x55b5e3(0x65a,0x4c9,0x38a,0x473)+_0x18a2fb[_0x3e1f11[_0x55b5e3(0x1e3,0x1f3,0x139,0x344)]][_0x124114(0xae,0x2f,0x1f5,0x3d7)]+']')['join']('');if(_0x18a2fb['length']===0x0)return{'text':_0x3cb645||_0x116a82,'displayText':_0x174d3f||_0x116a82};function _0x55b5e3(_0x38c87d,_0x1a9df8,_0x32fd03,_0x1ec17a){return _0x3764a2(_0x1ec17a-_0x26fb65._0x5c6a8a,_0x1a9df8-0x181,_0x32fd03,_0x1ec17a-0x1c1);}let _0x33cada=[];for(let _0x19ca67 of _0x18a2fb){if(_0x19ca67[_0x55b5e3(_0x19ae1c._0x4200f5,_0x19ae1c._0x2a2bbb,-0xca,0xc9)]===_0x124114(_0x19ae1c._0x19d678,0x3b,0x235,0x41e)){let _0x3baf67=_0x19ca67[_0x55b5e3(0x144,_0x19ae1c._0x2b9146,0x29c,_0x19ae1c._0x2a48e4)][_0x124114(-_0x19ae1c._0x36cc24,0x28,-_0x19ae1c._0x218a47,_0x19ae1c._0x467f46)](/^data:([^;]+);base64,(.+)$/s);if(!_0x3baf67)throw new Error('Clipboard\x20data\x20did\x20not\x20contain\x20a\x20valid\x20base64\x20image.');let _0x582c5a=_0x3baf67[0x1],_0x53a789=Mc(_0x3baf67[0x2]);_0x33cada['push']({'type':_0x55b5e3(0x6d0,0x62b,_0x19ae1c._0x3fb309,_0x19ae1c._0x136198),'token':_0x19ca67[_0x55b5e3(0x2c5,_0x19ae1c._0x20efb6,_0x19ae1c._0x43bc16,0x40f)],'mimeType':_0x582c5a,'data':_0x53a789,'altText':_0x19ca67[_0x55b5e3(0x108,0x4c4,_0x19ae1c._0x2e4da0,0x328)],'source':_0x55b5e3(_0x19ae1c._0x5d739e,_0x19ae1c._0x394148,0x2bc,0x368),'name':_0x19ca67['label']});continue;}let _0x38f53f=Ic(_0x19ca67[_0x55b5e3(0x34a,0x11,-_0x19ae1c._0x223db1,_0x19ae1c._0x4125a6)]),_0x4c30f4;try{_0x4c30f4=await _0x4f67a6[_0x124114(0x3e3,_0x19ae1c._0x323396,0x227,_0x19ae1c._0x282be9)](_0x38f53f);}catch(_0x44e019){let _0x13bbe8=_0x44e019 instanceof Error?_0x44e019[_0x124114(_0x19ae1c._0x4d6580,_0x19ae1c._0x42669c,_0x19ae1c._0x5b7a55,_0x19ae1c._0x47f924)]:String(_0x44e019);throw new Error('Unable\x20to\x20read\x20image\x20at\x20'+_0x19ca67[_0x55b5e3(0x7,_0x19ae1c._0x103975,_0x19ae1c._0x17bd81,0x1a0)]+':\x20'+_0x13bbe8);}let _0x2f2ff6=Rc(_0x38f53f);_0x33cada[_0x55b5e3(-0x1f,_0x19ae1c._0x481cba,_0x19ae1c._0x13ebdf,_0x19ae1c._0x1aa8b5)]({'type':_0x55b5e3(0x354,0x417,_0x19ae1c._0x2ae323,0x506),'token':_0x19ca67[_0x55b5e3(0x324,0x5a7,0x513,0x40f)],'mimeType':_0x2f2ff6,'data':_0x4c30f4[_0x55b5e3(-_0x19ae1c._0x4f6abf,0x2f2,-0x12a,0x107)](_0x55b5e3(_0x19ae1c._0x43ef7f,_0x19ae1c._0x357a42,0x537,_0x19ae1c._0x3fe508)),'altText':_0x19ca67[_0x124114(_0x19ae1c._0x174ec6,-0x39,_0x19ae1c._0x562725,0x1c9)],'source':_0x124114(_0x19ae1c._0x4ec57a,-0x177,0x3d,_0x19ae1c._0x468be4),'name':_0x1d492c['basename'](_0x38f53f)});}return{'text':_0x3cb645||_0x116a82,'displayText':_0x174d3f||_0x116a82,'attachments':_0x33cada};}function Ec(_0x2479dd){const _0x4670de={_0x55493e:0x50a,_0x51374f:0x3ac,_0x304675:0x3ee,_0x9974d9:0x57f,_0x532175:0x35a,_0x30847d:0x4ca,_0x4cb8be:0x368,_0x46e3c4:0x469,_0x56272c:0x507,_0x34c19e:0x1b3,_0x36cce6:0x309,_0x3f6c3d:0x217,_0x3120fe:0x3b8,_0x2f1d71:0x36c,_0x3acee9:0x2e3,_0x332b65:0x2d7,_0x322998:0x142,_0x1d3ff7:0x4df,_0x35e135:0x10c,_0x55c271:0x6b,_0x5cd96f:0x312,_0x448d87:0x1c,_0x122f94:0x143,_0x5cda13:0x254,_0xb1aa63:0x1e6,_0x566b64:0x8cb,_0x3f43c1:0x701,_0x4b6b1a:0x84a,_0x3da06d:0x587,_0x4194ac:0x4f2,_0x3e03ac:0x703,_0x510bc7:0x5b4,_0x583cdf:0x452};let {appendLine:_0x5dd41e,handleError:_0x4b2583,executeCommand:_0x24e13f,processMessage:_0x1e1c0d}=_0x2479dd;return _0x3122da(async _0x1e9829=>{let _0x3d7ba3=_0x1e9829['trim']();if(!_0x3d7ba3)return;if(_0x3d7ba3[_0x518131(0x752,0x73d,0x3ac,_0x4670de._0x55493e)]('/')){let _0x10d826=_0x3d7ba3[_0x518131(0x40a,_0x4670de._0x51374f,_0x4670de._0x304675,0x466)]('\x20')[0x0],_0x453cb6=ge['get'](_0x10d826),_0x20489d=!!_0x453cb6&&_0x453cb6[_0x518131(0x358,0x61b,0x7a4,_0x4670de._0x9974d9)]===_0x518131(_0x4670de._0x532175,0x3dd,_0x4670de._0x30847d,0x58d),_0x167ed7=!!_0x453cb6?.[_0x1fcd0b(_0x4670de._0x4cb8be,0x3f2,-0x4a,0x1c8)];if(!_0x20489d&&!_0x167ed7&&_0x5dd41e({'id':_0x10dab9[_0x1fcd0b(_0x4670de._0x46e3c4,_0x4670de._0x56272c,_0x4670de._0x34c19e,_0x4670de._0x36cce6)](),'type':_0x1fcd0b(_0x4670de._0x3f6c3d,_0x4670de._0x3120fe,_0x4670de._0x2f1d71,0x23b),'content':_0x3d7ba3,'metadata':{'timestamp':new Date()[_0x1fcd0b(_0x4670de._0x3acee9,_0x4670de._0x332b65,_0x4670de._0x322998,0x280)]()},'color':'cyan'}),_0x3d7ba3!=='/'){if(_0x453cb6){try{await _0x24e13f(_0x3d7ba3);}catch(_0x4e2c63){let _0x3cd9af=_0x4e2c63 instanceof Error?_0x4e2c63['message']:String(_0x4e2c63);_0x4b2583('Command\x20failed:\x20'+_0x3cd9af);}return;}else{_0x5dd41e({'id':_0x10dab9[_0x1fcd0b(_0x4670de._0x1d3ff7,0x198,0x168,0x309)](),'type':_0x1fcd0b(-_0x4670de._0x35e135,0x353,_0x4670de._0x55c271,0x124),'content':_0x1fcd0b(_0x4670de._0x5cd96f,0x3d5,0x214,0x2d0)+_0x10d826,'metadata':{'timestamp':new Date()['toISOString']()},'color':'red'}),_0x5dd41e({'id':_0x10dab9[_0x1fcd0b(0x45b,0x343,0x11a,0x309)](),'type':_0x1fcd0b(0xa1,0x139,0xce,-_0x4670de._0x448d87),'content':_0x1fcd0b(0x41f,_0x4670de._0x122f94,_0x4670de._0x5cda13,_0x4670de._0xb1aa63),'metadata':{'timestamp':new Date()[_0x518131(_0x4670de._0x566b64,_0x4670de._0x3f43c1,0x679,_0x4670de._0x4b6b1a)]()},'color':'gray'});return;}}}function _0x518131(_0x52c13b,_0x4426cb,_0x494db8,_0x2c91f7){return _0x4e8e(_0x2c91f7-0x2a4,_0x4426cb);}function _0x1fcd0b(_0xca0ba5,_0x58cb4c,_0x1e2837,_0x2b05d9){return _0x4e8e(_0x2b05d9- -0x326,_0x1e2837);}let _0x3bbcdb;try{let _0x2112cd=globalThis[_0x518131(0x2c6,0x6bc,_0x4670de._0x3da06d,_0x4670de._0x4194ac)]??[];_0x3bbcdb=await Us(_0x1e9829,_0x2112cd),globalThis['__clipboardFiles']=void 0x0;}catch(_0x10028e){let _0x2ad628=_0x10028e instanceof Error?_0x10028e[_0x518131(_0x4670de._0x3e03ac,_0x4670de._0x510bc7,_0x4670de._0x583cdf,0x5a6)]:String(_0x10028e);_0x4b2583(_0x2ad628);return;}await _0x1e1c0d(_0x3bbcdb);},[_0x5dd41e,_0x4b2583,_0x24e13f,_0x1e1c0d]);}import{useState as _0xe9ef34,useEffect as _0x3de571,useCallback as _0x3f2064}from'react';var Hs=process['env'][_0x3764a2(-0x41,-0x34,-0x39,0x30)]||_0x3764a2(0xe1,-0x6d,0x122,-0x7d);async function Eo(_0x411e77){return new Promise(_0x1fa97f=>setTimeout(_0x1fa97f,_0x411e77));}function js(_0x6f2b8){const _0x79bd20={_0x2e2696:0x356,_0x1626c2:0x410,_0x1d566c:0x913},_0x5c86c1={_0x107171:0x115},_0x36997f={_0x375dbe:0x1c2};function _0x15d992(_0x4feec9,_0x38ae95,_0x37b06c,_0x1b2375){return _0x3764a2(_0x37b06c- -0xe7,_0x38ae95-0xd6,_0x4feec9,_0x1b2375-_0x36997f._0x375dbe);}function _0x22d39a(_0xb2daac,_0x377247,_0x233598,_0x32cfe9){return _0x5a69d4(_0xb2daac-0x11,_0x32cfe9- -0xef,_0xb2daac,_0x32cfe9-_0x5c86c1._0x107171);}return Object[_0x22d39a(0x1d7,_0x79bd20._0x2e2696,_0x79bd20._0x1626c2,0x371)](_0x6f2b8)[_0x22d39a(0x672,0x888,_0x79bd20._0x1d566c,0x7b9)](([_0x53133d,_0x5007b1])=>encodeURIComponent(_0x53133d)+'='+encodeURIComponent(_0x5007b1))['join']('&');}async function Ks(){const _0x59c03c={_0x2e8dda:0x2b2,_0x82efcf:0x28d,_0x3e5657:0x48a,_0x296b2c:0x1eb,_0x322309:0x30e,_0x48db5f:0x3bc,_0x2ba357:0x802,_0x36b5a3:0x621,_0x5b11c7:0x7dd,_0x1cbef7:0x7,_0x59b6ab:0x1e,_0x16611f:0xea,_0x23a624:0x3a,_0x37d46e:0xcd,_0x3ca6cd:0xda,_0x1bbe29:0x424,_0x3910d0:0x63a,_0x15c54b:0x1e2,_0x1d1ad6:0xf4,_0x244573:0x222,_0x878ca2:0x325,_0x2d4453:0x3ed},_0x29680b={_0xf5ad6a:0x1,_0x3f19a7:0x56c,_0x27ee57:0x107};function _0x2809e8(_0x25f3dd,_0x567288,_0x19d58e,_0x2ba8d0){return _0x5a69d4(_0x25f3dd-0xc9,_0x567288- -0x140,_0x19d58e,_0x2ba8d0-0x48);}let _0x1e1230=await fetch('https://github.com/login/device/code',{'method':'POST','headers':{'Content-Type':_0x31e48a(0x571,0x337,_0x59c03c._0x2e8dda,_0x59c03c._0x82efcf),'Accept':_0x31e48a(0x11e,0x368,_0x59c03c._0x3e5657,_0x59c03c._0x296b2c),'User-Agent':_0x31e48a(0x553,_0x59c03c._0x322309,0x43d,_0x59c03c._0x48db5f)},'body':js({'client_id':Hs,'scope':_0x2809e8(0x4cf,0x5bd,0x551,0x6ee)})});if(!_0x1e1230['ok'])throw new Error(_0x2809e8(0x675,0x74c,_0x59c03c._0x2ba357,0x709)+_0x1e1230[_0x2809e8(0x870,0x6c3,0x7c1,0x610)]);let _0x4c6c56=await _0x1e1230[_0x2809e8(0x47e,_0x59c03c._0x36b5a3,0x7a3,_0x59c03c._0x5b11c7)](),_0x1d0417=_0x4c6c56[_0x31e48a(-0x45,-0xed,_0x59c03c._0x1cbef7,_0x59c03c._0x59b6ab)]||_0x4c6c56[_0x2809e8(0x618,0x51f,0x748,0x69e)];function _0x31e48a(_0x1e5778,_0x4d2ec3,_0x2fdd56,_0x15e0e6){return _0x5a69d4(_0x1e5778-_0x29680b._0xf5ad6a,_0x4d2ec3- -_0x29680b._0x3f19a7,_0x1e5778,_0x15e0e6-_0x29680b._0x27ee57);}return{'deviceCode':_0x4c6c56[_0x31e48a(_0x59c03c._0x16611f,-_0x59c03c._0x23a624,_0x59c03c._0x37d46e,_0x59c03c._0x3ca6cd)],'userCode':_0x4c6c56[_0x2809e8(0x56e,0x518,_0x59c03c._0x1bbe29,_0x59c03c._0x3910d0)],'verificationUri':_0x1d0417,'interval':_0x4c6c56[_0x31e48a(0xb8,-0x6f,-_0x59c03c._0x15c54b,_0x59c03c._0x1d1ad6)],'expiresIn':_0x4c6c56[_0x31e48a(_0x59c03c._0x244573,_0x59c03c._0x878ca2,_0x59c03c._0x2d4453,0x347)]};}async function Ws(_0x331513,_0x2ca9d5=!0x1){const _0x501008={_0x49d32f:0x7ac,_0x82840d:0x89a,_0x582171:0x473,_0x570e35:0x2b6,_0x415ac6:0x603,_0x254f65:0x16d,_0x156233:0x326,_0x2b2400:0x10f,_0x5800a5:0x53b,_0x2934da:0x333,_0x2ab6bc:0x4d0,_0x540093:0x622,_0x426f17:0x1ad,_0x5a9e03:0x275,_0xf14e52:0x12b,_0x7753e7:0x1b6,_0x4d29d6:0xec,_0x27a4c3:0x1c4,_0x432da4:0x67e,_0x5cf2d9:0x1fe,_0x436d23:0x3e6,_0x583de3:0x282,_0x5c595e:0x67e,_0x27ba22:0x7f7,_0x480322:0x61d,_0x97f195:0x45d,_0x32f5ec:0x104,_0x448bc2:0x265,_0x980840:0x292,_0xc88862:0x275,_0x1ad01d:0x85d,_0x48b6d6:0x85f,_0xe3d1b5:0x1d4,_0x4116e8:0x266,_0x828ed0:0x41f,_0x3e7261:0x47e,_0x38731d:0x297,_0x320e18:0x363,_0x2d1098:0x19e,_0x19fd2d:0x275,_0x1db066:0x858,_0x977519:0x6af,_0x14a955:0x702,_0x12fe47:0x659,_0x10c18e:0xa2,_0x379e34:0x18b,_0x1b5627:0x821,_0x1b7989:0x833,_0x3b7e78:0x690,_0x3a21e5:0x3bc,_0x2483ed:0x586,_0x14bb91:0x3db},_0x23fb4d={_0x55d6ef:0x56,_0x500af4:0x59},_0xfdc745={_0x9f4217:0x194,_0x3e257f:0xa5};let _0x12cab9=Date[_0x5927ee(0x749,_0x501008._0x49d32f,0x6cc,_0x501008._0x82840d)]()+0xdbba0,_0x1bdb46=Math[_0x1849c2(_0x501008._0x582171,_0x501008._0x570e35,0x450,_0x501008._0x415ac6)](0x2,0x5);function _0x1849c2(_0x9e6d18,_0x56235e,_0x6bccfe,_0x4a9320){return _0x5a69d4(_0x9e6d18-_0xfdc745._0x9f4217,_0x6bccfe- -0x462,_0x9e6d18,_0x4a9320-_0xfdc745._0x3e257f);}function _0x5927ee(_0x46b61f,_0xb48c81,_0x8ccd71,_0x2a3e97){return _0x5a69d4(_0x46b61f-_0x23fb4d._0x55d6ef,_0x46b61f- -_0x23fb4d._0x500af4,_0xb48c81,_0x2a3e97-0x1b5);}for(;Date[_0x1849c2(0x465,_0x501008._0x254f65,0x340,_0x501008._0x156233)]()<_0x12cab9;){let _0x53dfcf=await fetch('https://github.com/login/oauth/access_token',{'method':_0x1849c2(_0x501008._0x2b2400,_0x501008._0x5800a5,_0x501008._0x2934da,0x33c),'headers':{'Content-Type':_0x1849c2(0x249,_0x501008._0x2ab6bc,0x441,0x589),'Accept':_0x1849c2(_0x501008._0x540093,0x52c,0x472,0x33e),'User-Agent':_0x1849c2(0x1f2,0x5a1,0x418,0x64d)},'body':js({'client_id':Hs,'device_code':_0x331513,'grant_type':'urn:ietf:params:oauth:grant-type:device_code'})});if(!_0x53dfcf['ok']){await Eo(_0x1bdb46*0x3e8);continue;}let _0x14c1b5=await _0x53dfcf['json']();if(_0x14c1b5[_0x1849c2(0x3db,_0x501008._0x426f17,_0x501008._0x5a9e03,_0x501008._0xf14e52)]){if(_0x14c1b5[_0x5927ee(0x67e,0x8a2,0x4a4,0x689)]===_0x1849c2(-_0x501008._0x7753e7,_0x501008._0x4d29d6,0x83,_0x501008._0x27a4c3)||_0x14c1b5[_0x5927ee(_0x501008._0x432da4,0x790,0x756,0x5a2)]===_0x1849c2(0x397,_0x501008._0x5cf2d9,_0x501008._0x436d23,_0x501008._0x583de3)){_0x14c1b5[_0x5927ee(_0x501008._0x5c595e,_0x501008._0x27ba22,0x6ec,0x689)]===_0x1849c2(_0x501008._0x480322,0x592,0x3e6,0x376)&&(_0x1bdb46=Math[_0x1849c2(_0x501008._0x97f195,_0x501008._0x32f5ec,_0x501008._0x448bc2,0x1b4)](_0x1bdb46+0x2,0xf)),await Eo(_0x1bdb46*0x3e8);continue;}if(_0x14c1b5[_0x1849c2(0x1aa,_0x501008._0x980840,_0x501008._0xc88862,0x220)]===_0x5927ee(0x74d,_0x501008._0x1ad01d,0x95d,_0x501008._0x48b6d6)||_0x14c1b5['error']===_0x1849c2(_0x501008._0xe3d1b5,_0x501008._0x4116e8,0x59,-0x8c))throw new Error(_0x14c1b5[_0x5927ee(_0x501008._0x828ed0,_0x501008._0x3e7261,_0x501008._0x38731d,_0x501008._0x320e18)]||_0x14c1b5[_0x1849c2(0xf8,_0x501008._0x2d1098,_0x501008._0x19fd2d,0x19e)]);await Eo(_0x1bdb46*0x3e8);continue;}if(_0x14c1b5[_0x5927ee(_0x501008._0x1db066,_0x501008._0x977519,_0x501008._0x14a955,_0x501008._0x12fe47)]){let _0x3ea9bb=_0x14c1b5['access_token'];if(_0x2ca9d5)try{let _0x494d93=await fetch('https://api.github.com/copilot_internal/v2/token',{'headers':{'Authorization':_0x1849c2(_0x501008._0x10c18e,0x7e,0x20,-_0x501008._0x379e34)+_0x14c1b5[_0x1849c2(0x592,0x26f,0x44f,0x2f9)],'User-Agent':_0x5927ee(_0x501008._0x1b5627,_0x501008._0x1b7989,0x7f3,_0x501008._0x3b7e78)}});if(_0x494d93['ok']){let _0x4a182d=await _0x494d93[_0x1849c2(0x2df,_0x501008._0x3a21e5,0x2ff,0x1cc)]();_0x4a182d?.['token']&&(_0x3ea9bb=_0x4a182d[_0x1849c2(0x14d,_0x501008._0x2483ed,0x33b,_0x501008._0x14bb91)]);}}catch{}return _0x3ea9bb;}await Eo(_0x1bdb46*0x3e8);}throw new Error('authorization\x20timed\x20out');}function _0x59df(){const _0x35c652=['wZjE','zgvLCgLUzNjH','BgLUAW','y21K','vw5ZDxbWB3j0zwqGAw1Hz2uGDhLWzsbMB3iG','D2fYBMLUzW','msbTC2C','DgHLBG','DgLTzw91De1Z','BMfTzq','BwnWxW','Dg9gAxHLza','g1S/mJaWngW','kg5VignOyw5NzxmP','C2v0lxzHBhvL','Dhj1BMnHDgu','u3vIqwDLBNruB29SuMvZDwX0','C3vTBwfYAxPL','rxjYB3iGzhvYAw5NihjLC2L6zsWGzMfSBgLUzYbIywnRihrVihnHzMuGzgLTzw5ZAw9UCZO','Cg9SBgLUzW','uhjVy2vZC2LUzYbJBgLWyM9HCMqGAw1Hz2uUlI4','zgLZy29UBMvJDfnLCNzLCG','rxHLy3v0Aw9UigzHAwXLza','Bg9NBW','DgHPBMTPBMC','4PQG77Ipief1Dg8TC3vTBwfYEsbMywLSzwq6ia','ugfZDguGDg9Rzw4GAgvYzq','C3bSAwnL','rMfPBgvK','B2f1DgHdB25MAwC','zwnOBY1TB2rLBa','DxnLCG','D2fPDezVCKXVywq','v2fPDgLUzYbMB3iGyxv0Ag9YAxPHDgLVBI4UlG','qwDLBNq','ugfZDguGy29KzsbHBMqGChjLC3mGrw50zxi','vhLWzsb0BYbZzwfYy2GUlI4','z2vUzxjHDgLUzW','B3jJAgvZDhjHDg9Y','yMX1zq','AM9PBG','DwK6A2v5yM9HCMq6y3rYBgm','vMLZAxq6ia','D2HLzwWTDxa','q2XHDwrLifbYBY9nyxGGqwnJB3vUDa','zgLMzG','B2zMC2v0','ic0G','AxngAw5PDgu','w+kkL10','w2LTywDLoG','DxnL','C3rHDhvZ','z2v0q29UzMLN','Dw5ZAgLMDa','wZyK','C2LSzw50sw5PDa','yxbWBhK','ihn0B3a','vg9VBcbUB3qGzM91BMq','q3jLyxrLig5LDYbbueKGA2v5ihzPysbICM93C2vY','revgqvvmvf9nqvHFteLorvm','C2vSzwn0zwq','BwvZC2fNzvr5CgvZ','C2v0twv0CMLJCW','sw52ywXPzcbHCMD1BwvUDhm','Bw9KzwXZ','jYWGDgLTzw91Dd0','z3b0ltuTBwLUAq','mtm1qxjUDgfN','BgvMDefYCM93','zMLSzv9UzxC','BgvUz3rO','DxbKyxrLtgLUzq','zMLSDgvY','y29TCgXLDgLVBLrVA2vUCW','A2v5','rMv0y2HLza','CgfNzxvW','sw52ywXPzcbPBNb1Da','z3jLzw4','C2HPzNq','v2vSy29Tzsb0BWRILOJILOJILOJILzCGicdILOJILOJILzCG4PAi4PAi4PwxicaG4PAi4PAi4PwxiokwIokwIokvLYaGiokwIokwIokvLYdILOJILOJILzCG4PAi4PAi4PAi4PwxicaG4PAi4PAi4PwxcUkwIokwIokvLokwIokwIokvLYdILOJILOJILzeG4PAi4PAi4PwricaG4PAi4PAi4PwriokwIokwIokvKsaGiokwIokwIokvKsdILOJILOJILzeG4PAi4PAi4Pwu4PAi4PAi4PwxiokwIokwIokvKqRILOJILOJILzhILzRILOJILOJILzFILOJILOJILzeG4PAi4PAi4PwricaG4PAi4PAi4PwriokvMUkwIokwIokvLYdILOJILOJILztILz0G4PAi4PAi4PwriokwIokwIokvKEkvMUkwIokwIokvL+kwIokwIokvKqRILOJILOJILzeG4PwA4PAi4PAi4PAi4PAi4PwriokvMUkwIokwIokwIokwIokwIokwIokvLokvNsaG4PwA4PAi4PAi4PAi4PAi4Pwu4PwDicdILOJILOJILzeG4PAi4PAi4PwriokvMUkwIokwIokwIokwIokvKqRILzRILzdILz0GiokvMUkvKokvKokvKokvNsaG4PwA4Pwq4Pwq4Pwq4Pwq4Pwq4PwDicaGiokvMUkvKokvKokvKokvNsaGiokvMUkvKokvNsdILzRILzdILz0GiokvMUkvKokvKokvKokvNq','zxzLCNK','CgfYywDYyxbO','uhjLC3mGrvndigfNywLUihrVignSzwfYihrOzsbPBNb1Da','rMfPBgvKihrVihbHC3rLigzYB20Gy2XPCgjVyxjKoIa','s0iGDg90ywWP','ywn0AxzLq29TBwfUza','wYTD','AxrLBq','B2f1DgGTy29UC29Szq','i0zgnuy2ra','y29TCgXLDgu','yMfZzvvYBa','wZiK','C3rHDgu','y29UzMLNtwfUywDLCG','rw50zxiGEw91CIbAywKGqvbjigTLEq','DxbKyxrLq29UzMLN','Dg9ju09tDhjPBMC','Aw5WDxq','BMv3u3rHDgu','DhjHBNnWyxjLBNq','vhLWzsb0AguGzxHHy3qGBw9KzwWGBMfTzsbMB3iG','Ahr0CeXVz0zPBgu','Aw1Hz2uVz2LM','BgfZDeLUzgv4','C3vIC3rYAw5N','CMvZDwX0twvZC2fNzq','y29SCW','zMLUywXtDgf0Dxm','y29TCgXLDgvK','DwK6Dg9VBefWChjVDMfSuMvXDwLYzwq','CgfKrw5K','nJmXnteYs2f2C0X6','y29KzxnWyw4','C3bHy2uTyMv0D2vLBG','g1S+mxu','ywnJzxnZ','z2v0uhjVDMLKzxjdB25MAwC','C2XVD19KB3DU','kd86','ChjLzML4','rxjYB3iGAw4Gy29TBwfUzcbVBKv4AxqGAg9VAZO','CgfYC2u','B3bLBMfPl2DWDc00BW','C2vHCMnOugfYyw1Z','Bwv0ywrHDgeUC3rHDhm','rwrPDcbMywLSzwq','AhrTBa','Aw5FChjVz3jLC3m','t3jJAgvZDhjHDg9Yig9YigHHBMrSzxjZig5VDcbPBML0AwfSAxPLza','igXPBMvZ','yxnZAwDU','C2nYB2XSvg9cB3r0B20','q29TCgXLDgvK','ywDLBNq','qxv0AgvUDgLJyxrLihrOCM91z2GGEw91CIbICM93C2vY','y2vPBa','C3bHy2u','Bw92zs1JDxjZB3i','CgvUzgLUzW','Aw1Hz2uVANbLzW','qKftsf9nqvHFteLorvm','y2HHBgXLBMDL','xcqM','y29UDMvYC2f0Aw9Uu3rVCMu','qxnZAxn0yw50','igfSBg93zwqSihbYzwzPEd0N','C2vZC2LVBKrPCG','BwvZC2fNzunVDw50','CMvMCMvZAf90B2TLBG','yxbPs2v5','yxv0Aa','BwvTBW','y2HHCKf0','CMvJB3jKuMvXDwvZDe1LDhjPy3m','z2v0vg9VBhm','jYbUB3qGzM91BMqGAw4Gy29UzMLN','uMvHzca','q09ovevovf9nqvjhsu4','z2v0q29UDMvYC2f0Aw9Uq29UDgv4Da','Dg9VBenHBgXdB3vUDa','ww91igfYzsbHignVBNzLCNnHDgLVBIbZDw1TyxjPEMvYlIbzB3vYihrHC2SGAxmGDg8Gy3jLyxrLigeGy29Uy2LZzsbZDw1Tyxj5ig9MihrOzsbJB252zxjZyxrPB24GAgLZDg9YEsbWCM92AwrLzcbIEsb0AguGDxnLCI4GrM9JDxmGB246cI0Gs2v5ihrVCgLJCYbKAxnJDxnZzwqklsbjBxbVCNrHBNqGzgvJAxnPB25Zig9YigfJDgLVBNmGDgfRzw4klsbnywLUihf1zxn0Aw9UCYbHC2TLzcbHBMqGyw5ZD2vYCYbWCM92AwrLzaOTie92zxjHBgWGy29UDgv4DcbHBMqGzMXVDYbVzIb0AguGy29UDMvYC2f0Aw9UcGPlzwvWihrOzsbZDw1Tyxj5ignSzwfYigfUzcbJB25JAxnLlcb0ExbPy2fSBhKGmY01ihbHCMfNCMfWAhmU','jZOG','yNvMzMvY','CM9Szq','Ahr0Chm6lY8','wZuK','yxbWCM92ywXjza','BNv2Aw4Ty2XP','vw5RBM93BIbLCNjVCG','ywn0Aw9Uu2vSzwn0zwq','C3vIqwDLBNrtDgf0zv8','BgXTq2fSBenVDw50','zg93BKfYCM93','i2rLotm1zG','sw5PDgLHBcbtzxr1Ca','z2v0q29UBMvJDgvKu2vYDMvYCW','isbvBMTUB3DUignVBw1HBMq6ia','jYbPCYbKAxnHyMXLza','Aw5PDgLHBgL6zvbLCNnPC3rLzfnLC3nPB24','w01ducbjBML0xsbgywLSzwqGDg8GAw5PDgLHBgL6zsbnq1aGC2vYDMvYCZO','zw5K','yMfZzty0','BNvT','z3b0ltqUmq','CMvXDwvZDgLUzW','zgv2AwnLignVzguGCMvXDwvZDcbMywLSzwq6ia','CMvJB3jKvg9VBenHBgW','mtC2mtm4rurRzNHd','qw5HBhL6zsb0AguGzM9SBg93Aw5NihvZzxiGBwvZC2fNzsbHBMqGzxH0CMfJDcb0AguGBwfPBIb0B3bPyYbVCIbPBNrLBNqGAw4Gns0Xmcb3B3jKCY4GqMuGy29Uy2LZzsbHBMqGzgvZy3jPChrPDMuUcGPvC2vYig1LC3nHz2u6ia','C3rYAw5N','zxHWAxjLC19PBG','AgLKzgvU','Dhj1zq','Aw1Hz2u','yNv0Dg9U','CMvHC29UAw5NrwzMB3j0','zxHLy3v0zq','BgL2zu1LC3nHz2u','C2v0twvTB3j5','z2v0twvTB3j5','CMvZAxPL','AxrLBxm','CgfYC2vY','CMvK','DwK6AgLZDg9YEtPZzwXLy3rLza','y3jLyxrLteXn','ig1VzgvSCYbHDMfPBgfIBgu','wZCK','yxbWBgLJyxrPB24VEc13D3CTzM9YBs11CMXLBMnVzgvK','vg9KyxKG','iZGXytjIzq','A2v5yMLUza','mtG1mZKXmfLPuKL1qW','BwfW','CMvWzwf0','v2v6vgvYBq','z2zT','Dg9mB3DLCKnHC2u','CMvKqNjPz2H0','Dg9VBenHBgXnzxnZywDLswq','jdek','DxbKyxrLvg9WAwm','ywnJzxnZx3rVA2vU','Bwf4','yM9Sza','Dg9VBe5HBwu','cGPdDxjYzw50ihvZzxiGBwvZC2fNztOG','u3vTBwfYEsbVzIbZzxnZAw9Uia','yxjJAa','lcbMywXSAw5NigjHy2SGDg8GD2HPDgu','wZzE','sw5WDxrdB250zxH0','ihrVA2vUCYKUifj1BM5PBMCGyxv0BY1ZDw1Tyxj5lI4U','CMfUzg9Tvvvjra','zMLUzeLUzgv4','CMvQzwn0zwq','id0+ierVBMu','CMvZDwX0lMnVDw50','ihrVB2XZ','CMvSyxrPDMu','uMvNAw9U','rvndW5CY','vhLWzsb5B3vYig1LC3nHz2uUlI4','Aw5ZDhj1y3rPB25Z','ywDLBNruB01LC3nHz2vnyxa','lI9JBgLWyM9HCMqTwLjfr1Pon0SUANm','tufss0rpv05Ftufsr0Lo','iokaKYa','zxHW','i0zgqZm3mq','v29YA2LUzYbeAxjLy3rVCNK','ChjVy2vZC2vKsw5WDxq','zg90CW','BgLUzuvUza','rw50zxiGu3vIBwL0iokaOIbfC2mGq2fUy2vS','AxndB21Tyw5Kqwn0AxzL','Ahr0Cc1SB2CUANnVBG','yxbWBgLJyxrPB24VANnVBG','Dg9Rzw5Z','AhjLzG','te9x','CMvUzgvYzxi','C2v0q29UDMvYC2f0Aw9U','Bxv0zwq','C2TPCev2zw50CW','Cg9YDhm','BMf2AwDHDgvozxH0','BwvTB3j5','Axnby3rPDMu','vevstq','Bwf0y2G','lI4U','Dg9VBenHBgXuB01LC3nHz2vnyxa','C2v0qwn0AxzL','vxnLCG','C3bSAxq','ChjVDMLKzxjZ','zMfPBgvKu2vYDMvYCW','Ag9TzwrPCG','DxnLq29UzMLNig11C3qGyMuGDxnLzcb3AxrOAw4GysbdB25MAwDqCM92AwrLCG','DwK6zxHPDdPZDgfYDa','iZLIowi5yG','Dg9VBenHBgXZ','A2LUza','DgfIBgvYB3C','CNvUBMLUzW','y2XPzw50x2LK','tM8Gyxv0AgvUDgLJyxrPB24','ww91igfYzsbHihrVCgLJigfUywX5EMvYlIbfEhrYywn0ihrOzsbTywLUihrVCgLJigzYB20GDxnLCIbTzxnZywDLCYbJB25JAxnLBhKU','u2v0DxaGq29TCgXLDgu','vg9KBYbjDgvTCYaO','y3jLyxrLtMv3q29UDMvYC2f0Aw9U','zw50CMLLCW','xIG/oG','zgLNzxn0','Aw5KzxHpzG','D2fPDgLUzW','g1S8','CgfYC2vjBMXPBMu','y2XLyw51Ca','yMXVy2TtzxbHCMf0B3i','CMvWBgfJzq','DwK6BgLUzq','lMn1CNjLBNqTyxv0Aa','BMv3','AgLKzq','zw5HyMXLza','y2XHDwrLlxnVBM5LDc00','C3rYB25N','zw4Tvvm','ndK5nZjJDejPuhm','DwK6AgvHzgvYoNjLzNjLC2G','C2LUz2XL','z2XTltqUnW','q3rYBcTf','C2v0u2vSzwn0zwrjBMrLEa','zxjYB3jFzgvZy3jPChrPB24','Bwv0ywrHDgeUDg9VBenHBgXZrxHLy3v0zwq','AgLZDg9YEs5QC29U','DhjHBNnMB3jT','ihrVzg9Z','icaGia','q3jLyxrLza','DMvYAwzPy2f0Aw9Ux3vYAv9JB21WBgv0zq','z2vUzxjHDgvlzxK','zgLZCgXHEu5HBwu','qMvHCMvYia','Dg1WzgLY','Dg9VBefYz3vTzw50CW','uKvtrvq','mI1KAwDPDa','4PwW4PsaievKAxrLza','zMLSzv9LzgL0','AgfUzgXLrxjYB3i','y2XHDwrLlxnVBM5LDc00lJu','y29UDMvYC2f0Aw9Uswq','yMfKz2u','rxjYB3iGzgLZy29UBMvJDgLUzYbnq1aGC2vYDMvYicC','zMLSzv9YzwfK','BMf2AwDHDgvozxH0oIbLyxjSEsbYzxr1CM4','z2L0qNjHBMnO','CMvNAxn0zxi','y2XP','uMvHzcbMywLSzwq','CMvZzxq','Dg9tDhjPBMC','DxbKyxrLtunqqwXSB3DLzfrVB2XZ','DwK6A2v5yM9HCMq6CgfZDgu','B25Jzq','Bg9NBY0','zgLZy29UBMvJDa','zMLUywXSEq','yMLUza','uMvXDwvZDcbMywLSzwqGkgf0DgvTChqG','yw5HBhL6zufUzfvWzgf0zvrVCgLJ','zgvMyxvSDfrPBwvVDxrnCW','BwfNzw50yq','Aw5PDgLHBgL6zurLzMf1BhrdB252zxjZyxrPB24','Agv4','ue9tsvrjvKvFsu5gsu5jvfK','tM8Gy29UDMvYC2f0Aw9UigHPC3rVCNKGDg8Gy29TChjLC3m','Bwv0ywrHDgeUyNL0zxnxCML0DgvU','lxrVB2WT','C2HVDwXKv2fPDezVCK1VCMu','y29UDgv4DfDPBMrVDW','D2LKDgG','jdiKmW','rw5KieXPBMu','ywDLBNrZrw5HyMXLza','yMfJA2DYB3vUza','vg9VBefWChjVDMfSuMvXDwLYzwq','ywrK','ihrVB2XZigjHC2vKig9UignVBMzPzY4','DMfSDwvZ','imk3ia','z2v0qM91BMrZ','q29TBwfUzcbLCNjVCJOG','C2vSzwn0zwqGChjVDMLKzxi','vxnLihLVDxiGq2XHDwrLifbYBY9nyxGGC3vIC2nYAxb0Aw9U','CxvLCNK','y2XHDwrLlMfP','A2v5CW','BgfZDe1LC3nHz2u','zxHWAxjLzf90B2TLBG','D2HLzwWTzg93BG','BwvZC2fNzuLK','CgLWzq','jYbTAxnZAw5NihrYyw5ZCg9YDcbPBMzVoYbZA2LWCgLUzW','DwK6BgLUzxm6y2XLyxi','BNvTyMvY','DwK6A2v5yM9HCMq6zxHWBgfPBLrVz2DSzq','ignYzwrLBNrPywXZoG','DhjPBq','sw5WDxqGy2XLyxjLzc4GuhjLC3mGrvndigfNywLUihrVihn0B3aGDgHLihbYB2nLC3m','wZnE','C3rHDhvZvgv4Da','B3b0Aw9UCW','C3r5Bgu','tM8GCMvJzw50ihnLC3nPB25Z','yxv0BW','iokwVca','B3jJAgvZDhjHDg9YtwfUywDLCG','4PYxievYCM9Yig9Jy3vYCMvK','CMvZDwX0','C3rKB3v0','z2v0','uZi1nG','zJeX','B3bLBMfPl2DWDc00BY1TAw5P','Bwv0ywrHDgeUChjVz3jLC3m','u3rHCNrPBMCGzgv2AwnLigzSB3CUlI4','y2XHDwrLlxnVBM5LDc00ltu','C3rKAw8','AgvSCa','r0Lusfvcx0nmsuvovf9jra','x19JBgLWyM9HCMrgAwXLCW','zxjYB3i6ia','Aw5PDgLHBgL6zu1dufnLCNzLCNnjBKjHy2TNCM91BMq','y3vYC29Yt2zMC2v0','zgLZy29UBMvJDefSBfnLCNzLCNm','z2v0uhjVzMLSzvbHDgHZ','CMvNAw9U','qwz0zxiGyxv0Ag9YAxPPBMCSihbHC3rLihrOzsbMDwXSignHBgXIywnRifvstcbVCIbQDxn0ihrOzsbHDxrOB3jPEMf0Aw9UignVzgu6ia','ywXSu2v0DgXLza','z2v0q29UBMvJDgvKu2vYDMvYswrZ','yxv0Ag9YAxPHDgLVBL9Wzw5KAw5N','DhjPBuvUza','CgfKu3rHCNq','u3rYzwfTrMLUAxnO','y29Kzv9JAgfSBgvUz2u','Aw1Hz2uVD2vICa','rwrPDgvKicG','z2XVyMfS','yxnZAxn0yw50','DxbKyxrL','vgLTzw91DcaOBxmP','Bwv0ywrHDgeUDg9Rzw5ZvxnLza','u2vZC2LVBJOG','ihrVA2vUCW','C3rHCNrZv2L0Aa','ywDLBNrZ','DwK6y29TBwfUzhm6CMvMCMvZAa','B3jHBMDL','y3jLyxrLrxzLBNrbzgfWDgvY','y29SDw1UCW','tg9HzgLUzYbnB2rLBhm','Axnoyu4','y3LHBG','tgfUz3vHz2u','Aw50zxj2ywW','zMLSzq','ihjLC3vSDhmP','DxbbCNjVDW','Bwv0ywrHDge','ywn0Aw9UrgvUEq','zxHWAxjLCW','jYbSB2fKzwqGD2L0Aca','yxjTzwqTy2XLyxi','zMLYC3rizwfKAw5N','CMLNAhq','zgvSDge','Dgv4DeXLBMD0Aa','Dg90ywXdB3n0','ChjVBxb0vg9Rzw5Z','Dw5KzxjSAw5L','4Psa4Psa4PsaiejSB2nRia','BgLUzq','AgfUzgXLCNm','Bw9KAwz5','C3vIDgL0Bgu','DgfIBgvpChrPB25Z','BM90Awz5u3vIC2nYAwjLCNm','BwfYA2vKsw5ZDgfUy2u','rxjYB3iGzgLZy29UBMvJDgLUzYbnq1aGC2vYDMvYia','zxzLBNrcDxm','Dg9W','D2HPDgu','C29Tzq','CM91BMq','BM9YBwfS','C2vSzwn0zwrjDgvT','zxHPDa','zxH0CMfJDevYCM9YtwvZC2fNzq','zM9VDa','t0f1DgGGzMfPBgvKoG','C2L6zq','z2v0u3rHDhvZ','tM8GywnJzxnZihrVA2vUihjLy2vPDMvK','Dg90ywXeDxjHDgLVBK1Z','C2vYDMLJzq','vw5RBM93BIbJB21Tyw5KoIa','ywjZ','DhjHBNnWB3j0','yM90Dg9T','zxn0Aw1HDgvKq29ZDa','y29UDgv4DfDPBMrVD1vZywDL','Bw9KzwW','y29SDw1U','Cgf0Aa','uMvHzcbMAwXL','wYfD','z2v0teXn','zgv2AwnLx2nVzgu','g1SYmdf+','yxnZAwDUx3rHC2S','lI4UicG','tg9HzgLUzYbTB2rLBhmUlI4','zM9YrwfJAa','ywXSB3DLzfrVB2XZ','vg9VBenHBgXZ','BgLUzu51BwjLCG','z2v0qwXSu2vYDMvYCW','CMvJB3jKuMvXDwvZDenVBxbSzxrL','Aw5WDxrszwy','yMXHy2S','y2XLyxi','Aw5PDgLHBgL6zvnLCNzLCG','ignHBgXZ','uMvXDwvZDcbMywLSzwqGywz0zxiG','zMLUza','zxjYB3jszwfZB24','CMvXDwLYzvrVB2XbChbYB3zHBa','rMfPBgvKihrVihjLC3bVBMqGDg8GDg9VBcbHChbYB3zHBdOG','rwrPDgvK','Aw1Hz2uVyM1W','y2HHCG','z2v0t3jdCMvHDgvqB3j0','BgLZDa','tM8Gy29UDMvYC2f0Aw9UigHPC3rVCNKGDg8GC3vTBwfYAxPLlG','rMfPBgvKihrVia','BwnWtwfUywDLCG','tM8Gy2HHBMDLCYb0BYbKAxnWBgf5','rgv2AwnLiezSB3CGtg9NAw4','Bwv0ywrHDgeUBgLUzxm','y29SB3jZ','B2XKx3rLEhq','z2v0twnWtwfUywDLCG','C2vZC2LVBNm','z2v0qwn0AxzL','y2XPzw50','Bwf4u2L6zq','sgfUzgXLCNmGBM90igLUAxrPywXPEMvK','4PQG77IpienVBNrLEhqGD2LUzg93igf0ia','u2vZC2LVBIbiAxn0B3j5','zw5KC1DPDgG','BgLZDenVBNzLCNnHDgLVBNm','ChjPB3jPDhK','y3vYCMvUDa','rgvUAwvK','DgfIBgvtzxr0Aw5NCW','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VB2f1DgGVy29Kzs9JywXSyMfJAW','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms04qI1jBNn0CNvJDa','q3jLyxrLiefqssblzxK','y29UC29Szs5HBNrOCM9WAwmUy29T','y2vUDgvY','sw52ywXPzcbOzxGGy29SB3i6ia','DhLWzq','rMfPBgvKihrVignYzwf0zsbbueKGA2v5','u2vHCMnOihDLyG','qvbjieTLEq','Dg90ywXuB2TLBNm','yxr0ywnOBwvUDa','ChjVDMLKzxjZlMfUDgHYB3bPyY5HDxrO','B2XK','y3vYCMvUDenHy2HLzfrVA2vUCW','BwnWoNnLCNzLCNndAgfUz2vK','Dhj1BMnHDgvK','CM93','C29YDa','ywXS','y29TCg9Uzw50','Dg9VBenHBgXjza','Bwf4qwDL','z2v0vMfSDwu','sw5PDgLHBgL6Aw5N','tM8GChjLDMLLDYbHDMfPBgfIBgu','C2vYDMvYCW','zMXLEc1LBMq','Dg9KB3m','u0vux1zbtfvf','u3vIqwDLBNrtDgfYDgvKoIbdB3vSzcbUB3qGzMLUzcbTzxnZywDLigzVCIb0B29Sq2fSBeLKia','z2v0sw5ZDgfUy2u','Dhj1BMnHDguTzw5K','y2fJAgu','igLTywDL','EMfP','DMvYAwzPy2f0Aw9UvxjP','q2HVB3nLigeGBw9KzwWGzM9YihLVDxiGy29UDMvYC2f0Aw9UCZO','Aw52zxjZzq','z2v0q3vYCMvUDfbYB2zPBgu','AwrSzq','Axnqyxn0zvn0yxj0','mtaWjq','Dg9WAwmTyw5HBhL6zxi','zg9TywLUCW','BwvZC2fNzq','DxbKyxrLtgLUzu1LDgfKyxrH','y2HHDa','ChvZAa','B3bLBNjVDxrLCG','BgLUzuLUzgv4','rw50zxiGDg8Gy29UDgLUDwuG4OcIien0CMWRqYb0BYbLEgL0','n29rz2PMCq','Aw5MBW','rw50zxiGy29KztO','xgqRxc4','C3rYzwfTAw5NtwvZC2fNzuLK','z2v0q3vZDg9TuhjVDMLKzxjZ','rMfPBgvKihrVigrLBgv0zsbJB25MAwCG','y3rYBa','vg9VBfjLC3vSDa','Bwv0ywrHDgeUzxHLy3v0Aw9UvgLTzu1Z','z2v0twv0CMLJCW','rMLSzsbqyxrO','A2LTAs1SyxrLC3q','DxjS','z2v0rMfPBgvKu2vYDMvYCW','v0fstKLor19usfjfu0Hpteq','Bg9VC2u','B3bLBMfPl2DWDc00lJe','B25fEgL0','CMf3x2TLEq','Fcbszxe6ia','AgvPz2H0','Aw5WDxrFC3vIxW','z3jVAY1JB2rLlwzHC3qTmq','z2v0uMvUzgvYzxi','yxjNDw1LBNrZ','BM93CMfW','C3rYzwfTAw5Nq2H1BMTZ','yMXVy2ST','z2v0q29UDMvYC2f0Aw9Uu3rVCMu','y29UDgfPBMvYsgvPz2H0','g1S8Dq','rw50zxiGEw91CIbezwvWsw5MCMeGqvbjigTLEq','C2v0q29UDgv4DfDPBMrVDW','Dw5RBM93BG','Dg9VBa','zgv2AwnLlwzSB3C','y291BNq','y29TBwfUzhm','z2v0q29UDMvYC2f0Aw9Utwv0ywrHDge','y29UC29Szq','ig9Mia','r2vUzxjHDgLUzYbHDxrOB3jPEMf0Aw9Uifvstc4UlG','CMvTB3zL','q29TCgXLDguGyxv0AgvUDgLJyxrPB24GAw4GEw91CIbICM93C2vY','w0v2zw50qwrHChrLCL0GrMfPBgvKihrVihbYB2nLC3mG','mtu3nJC3wLrltvnr','Dgv4DerPBq','iokwSIa','C3vTBwfYAxPLqw5Kq3jLyxrLtMv3u2vZC2LVBG','BgLTAxq','zw1PDa','revgqvvmvf9nqvHFteLorv9mru5hveG','Bwv0yq','C2v0twf4tgLZDgvUzxjZ','wwvZDgvYzgf5ia','kokgKEkgKYbUyxzPz2f0zsdIGkiGrw50zxiGC2vSzwn0iokaOIbfu0mGy2fUy2vSkq','4PQGie5VihbYB3zPzgvYCYbHCMuGy3vYCMvUDgX5igf2ywLSywjSzs4','u3vIqwDLBNrdB21WBgv0zwq','v29YA2LUzYaUlI4','iZeXmteXmq','DgfI','Cgf0AeXHyMvS','vvjm','rMfPBgvKihrVigf1Dg8TyxbWCM92zsbZzxnZAw9UihrVB2XZoIa','zgvSzxrL','uMvJzw50ifnLC3nPB25Z','zMXVB3i','Bg9Hza','D3jPDgu','tgv0j3mGz2v0ihLVDsbZDgfYDgvKlIbdAg9VC2uGEw91CIbbssbWCM92AwrLCJO','DgL0BgvdB2XVCG','t0f1DgGGqxv0Ag9YAxPHDgLVBG','CgvYC2LZDeH0DhbmB2C','AxntzwXLy3rLza','q29UDMvYC2f0Aw9Uu3rVCMuGBM90igLUAxrPywXPEMvK','i2zMzMzMzG','FcbdywnOzwq6ia','rw50zxiGEw91CIa','y2fSBgjHy2TZ','zMv0y2HbBMrdywnOzu1VzgvSCW','zMLSBa','lM51DMLUlwnSAq','Aw5ZDgfUy2u','y3jLyxrLzef0','CMvMCMvZAa','CMvJB25Uzwn0tunqu2vYDMvY','Cgf0AdOG','Ag9Tzq','DxbKyxrLqwXSB3DLzfrVB2XZq29UzMLN','yxv0Ac1TzxrOB2q','rgLYzwn0B3j5ifbHDgG','u3rHCNqGy2HHDhrPBMCGDg8Gy3jLyxrLihLVDxiGzMLYC3qGC2vZC2LVBIe','CgfNzwrVD24','tM8Gyxv0AgvUDgLJyxrPB24GCMvXDwLYzwq','zgf0ytPPBwfNzs9WBMC7yMfZzty0la','uxvLCNK','uhjLDMLVDxmGy29UDMvYC2f0Aw9Uihn1Bw1HCNK6cGO','B2zM','CMv0DxjU','BNvTzxjPyW','vgHPBMTPBMC6ia','sxyXlMi1mdDHmdHJodDLy2zLotG','iZmWmZaZma','ywDLBNroyw1L','rw50zxiGq3vZDg9Tie1VzgvS','y2HHCKnVzgvbDa','y29UDgv4DfDPBMrVD0XPBwL0','C2XPy2u','uhjVDMLKzxi','zw50zxiTAw5Zzxj0lw1Vzgu','mJCXmJyWowTbwwL1ua','CMvUzgvYvxnLCK1LC3nHz2vZ','Cgf5Bg9Hza','ihbHC3rLzcaO','ic0Gt0f1DgG','uMf0zuXPBwL0','Bwv0ys1SBgfTys9nzxrHluXSyw1HltmUms03meiTsw5ZDhj1y3q','C2STB3iTDJeTlI4U','yxbWCM92zv9ZzxnZAw9U','C2nVCgu','sw52ywXPzeLUChv0','BgLTAxrZ','w+kCLf0','iefqssbRzxKGBM90ignVBMzPz3vYzwqUifbSzwfZzsbYDw4Gl2f1DgGGzMLYC3qU','DMLZAwjSzq','igLUia','y29UDgvUDa','BxmPlG','y2XHDwrLlwHHAwT1ltqTnq','CMvZCg9UC2vuAw1L','ugvYBwLZC2LVBKrLBMLLza','C2vNBwvUDhm','BgLUzu51BwjLCNm','4PEpifTHC3nPC3rHBNrD','zw5ZDxjLq29UDgv4DfDPBMrVD0XPBwL0u2v0','xIP8FcPE','yw50AhjVCgLJ','g1S/mtaWnMWBwZ8XmdaYBbTBpZeWmdbS','BMv3x3rLEhq','CMvJB3jKteXnq2fSBa','w1nduK9mtf0','zM9VDgvY','BgLZDgL0zw0','z2v0u25HChnOB3q','zMfPBgvK','Bwv0ywrHDgeUyNL0zxm','AxnbCNjHEq','y3vYCMvUDfrVA2vUCW','CMvHzhK','rg9Uzq','zgf0yvvYAq','iZyXzgu4oq','DxbKyxrLtwv0ywrHDge','rMfPBgvKihrVihnHDMuGyxv0AdO','DgLTzxn0yw1W','ywrKsgLNAgXPz2H0','BsbHz28','CMvZB2X2zq','FdXICIaVpG','y3vZDg9TsgvHzgvYCW','zNjVBunOyxjdB2rL','BMf2AwDHDgvozxH0oIbYzwnHBgXPBMC','C3vTBwfYEs1Hz2vUDa','y3jLyxrLu3rHDgu','B3v0Chv0','y29UBMvJDgvK','uMvHzhK','D2vIx3nLyxjJAa','vw5RBM93BG','D2fYBG','sw5WDxqGEw91CIbJAgfUz2vZigHLCMu','rMfPBgvKihrVihnLDcbJB25MAwCG','ywjVCNq','Bwv0CMLJCW','w25VBI10zxH0ignVBNrLBNrD','Aw5JBhvKzuHPzgrLBG','q29TChjLC3nLzcbMCM9TihnLC3nPB24G','B2XKu3rHCNrmAw5L','tM90rM91BMq','zgvUEq','zgvS','CMLV','EhrLCM0TA2L0DhK','4PwW4PsaierVBMu','C2v0teXn','Dg9KB193CML0zq','zg93BG','vg9Rzw5ZoG','ignVBw1HBMq','y29SB3i','yMXVy2TXDw90zq','r2vUzxjHDguGDg9Rzw46igH0DhbZoI8Vz2L0AhvIlMnVBs9Zzxr0Aw5NCY90B2TLBNm','ywn0AxzLuhjVDMLKzxi','DxnLCL9JB2rL','y29UDMvYC2f0Aw9UoMnYzwf0zwq','EwvSBg93','y29TBwfUza','uhjLC3mGrw50zxiGDg8GC2f2zsWGrxnJihrVigDVigjHy2S','yMfJA3nWywnL','C2v0','DMvYAwzPy2f0Aw9Ux3vYAq','BMf2AwDHDgvqCMv2oIbLyxjSEsbYzxr1CM4','AgvHza','Bw9VBNnOB3qTDJeTogS','AgLZDg9YEq','BMv3tgLUzu51Bq','rMfPBgvKihrVigzLDgnOig1VzgvSCW','cGPszxnWB25KihDPDgGGB25SEsb0AguGDg9WAwmSig5Vigv4CgXHBMf0Aw9UlG','Aw1Hz2uVAgvPyW','ig1VCMu','u2vHCMnOigzHAwXLza','AgfZ','y2XPy2S','qvvut19tvu1nqvjzx1riuKvtse9mra','CMvZCg9UC2vFDhLWzq','vg9WAwmGyw5HBhLZAxmGzMfPBgvK','id0+ieLUifbYB2DYzxnZ','BgLUzxm','uNvUBMLUzYaUlI4','Dg9mB2nHBgvuAw1Lu3rYAw5N','ywXSB3DLzfrVB2XZq29UzMLN','CMvJB25Uzwn0u2vYDMvY','zgLYx2XZ','u2HVD2LUzYa','rMfPBgvKihrVihbYB2nLC3mGDg9VBcbHChbYB3zHBdOG','z2XTltqUnq','BgXTrMfJDg9YEq','zgLT','lMf1DgG','Bwv0ywrHDgeUC2L6zq','yMfJA2DYB3vUzenVBg9Y','CMvSzwfZzq','ksSPka','y29UDgv4Da','u3vIqwDLBNrnzxrYAwnZ','nJuXodG4q2vHEwLH','ignHBgXZiokaOIa','z2v0vgLTzq','Aw5Zzxj0','C2vUza','BxmP','C2v0u3rYzwfTAw5Nrw5HyMXLza','DgL0Bgu','w35D','y29UzMLN','Ahr0Ca','twvTB3j5ig5VDcbPBML0AwfSAxPLza','y2XLyxjby3rPDMu','yxbWzw5K','FcbuB29SCZOG','t3jJAgvZDhjHDg9Yig5VDcbPBML0AwfSAxPLzcWGD2fPDcbHig1VBwvUDa','CMvZB2X2zvnLC3nPB24','vg9VBe5VDezVDw5K','i2zMnZLJnG','y2HLy2TLza','wwvZlcbMB3iGDgHPCYbZzxnZAw9U','zgvZy3jPChrPB24','yMfZzty0DxjS','ywz0zxjjBNzVA2u','ig1Zz3m','C3vIC3rY','y29UDgvUDeHLAwDODa','BgLUzvn0yxj0','C3vIC2nYAwjL','zgvTBY1Ly2HV','ugfYyw1LDgvYCZO','zxHLyW','DxnLvg9VBefWChjVDMfSig11C3qGyMuGDxnLzcb3AxrOAw4Gvg9VBefWChjVDMfSuhjVDMLKzxi','AgvHzgvY','q3rYBcTfihrVihrVz2DSzq','zxnJyxbL','zw1VAMK','Dg9VBf9Yzxn1Bhq','g1SYmdb+','jsaO','DxbKyxrLq29UDMvYC2f0Aw9Uvg9WAwm','s0LuvfLFv0Lore9xx0Le','zw1PDhrLCG','zhvYyxrPB25nCW','z2v0qxzHAwXHyMXLuhjVDMLKzxjZ','rxjYB3i','4PwT4Psa4Psa4Ps04Psa4Psa4Ps04Psa4Psa4Ps04Psa4Psa4Ps04Psa4Psa4Ps04Psa4Psa4PwUcUkuGIaG4PEpicdIL48GiokxJYdILidILidILidILidILiaGiokuGGRILiiGie5vvKLoicaGicaGicaGiokuGGRILiiGid5FicaGica','Dw5JAgfUz2vK','rMv0y2HLzcaO','wZiWmh4','C2vZC2LVBKLK','rg9TywLUCW','BgfIzwW','q3jLyxrLiefqssblzxKGDMLHienVBNnVBgu','u2vZC2LVBIbjrcbUB3qGC2v0','y3DK','qvbjieTLEsaVifrVA2vU','wZvE','lxjLC3vSDc0','z3jLEq','u3vIqwDLBNrtDgfYDgvK','D3jHCa','DgfZAW','C2v0rxzLBNrZ','ugvYBwLZC2LVBIbKzw5Pzwq','DgfPBa','y3vZDg9TuMvUzgvYzxi','ig1VCMuGBgLUzxmP','rMv0y2GGCgfNzq','BwLU','Dw5ZDwjZy3jPyMu','tMv0D29YA0vYCM9Y','u1Loq19fwfrfuK5btf9wquXvrq','Dg9vChbLCKnHC2u','Aw1Hz2uVyxzPzG','yxbPlwTLEq','C2vZC2LVBKLUAxrPywXPEMvK','ywDLBNrjza','y2f0y2G','uhjLC3mG4OAtigfNywLUihrVig5HDMLNyxrLigHPC3rVCNK','Aw5KzxG','zw1VAMLuCMfUC2zVCM0','ihWG','4PwW4Psaia','yxbWCM92ywW','zxjYB3i','zJeW','tgLZDcbKAxjLy3rVCNK','B2f1DgGTBwf4','uhjLC3mG4OArigfNywLUihrVig5HDMLNyxrLigHPC3rVCNK','ig1VCMuGy2HHCNmP','Aw5PDa','teXnigzHy3rVCNKGzg9LCYbUB3qGC3vWCg9YDcbNzxrnB2rLBhm','y3jLyxrLtwvTB3j5','DxnLCKnVzgu','seLhsa','rMfPBgvKihrVigv4y2HHBMDLignVzguGzM9YihrVA2vU','zgLZy29UBMvJDe1dufnLCNzLCG','zgvWDgG','zgvIDwC','z2HWxY4UlG','C2vJB25Kyxj5','CMvHzezPBgu','jYbMAwX0zxjLzcbMCM9Tia','Aw5JBhvKzxm','z2v0teXnrMfJDg9YEq','BgvMDa','ChjVDMLKzxi','DxnLqwX0tw9Kzsb1C2vKig91DhnPzguGqwX0tw9KzvbYB3zPzgvYlcb1C2LUzYbKzwzHDwX0CW','4PYtief1Dg8TC3vTBwfYEsbJB21WBgv0zwqUienVBNrLEhqGD2LUzg93igHHCYbIzwvUihjLzhvJzwqU','y29UzMLNrNvUy3rPB25Z','C2nYB2XSvg8','Dg9mB2nHBgvtDhjPBMC','z2v0t3jJAgvZDhjHDg9Y','yxv0Ac1KzxzPy2uTzMXVDW','Dg9VBefWChjVDMfS','Aw5SAw5L','C2vZC2LVBG','rxHLy3v0zwqGkgv4AxqG','ihnOB3CGzgv0ywLS','icH0CNvUy2f0zwqP','C3vIC2nYAwjLCNm','C2v0qwXSB3DLzfrVB2XZq29UzMLN','CMvHzdP1C2vY','yxbWCM92zq','C2nYB2XS','vxbKyxrLigzHAwXLza','vgLTzw91Da','kIndt0XptNWQ','iokuGokuGokuGa','twvZC2fNzvn0yxj0zwq','twLZC2LUzYbVCIbPBNzHBgLKihrYyw5ZCg9YDcbJB25MAwD1CMf0Aw9U','rMfPBgvKihrVigLUAxrPywXPEMuGtunqihnLCNzLCNm6ia','C3DPDgnOvg9tzxnZAw9U','CY4UlIbfCNjVCJOG','y29SBgfWC2vKqNLezwzHDwX0','y3vYCMvUDfbYB21WDfrVA2vUCW','DxnLCKnVBNrLBNq','ksaTifvZzsdIHPhIHPmGDg8GBMf2AwDHDguSievUDgvYihrVihnLBgvJDa','BM9dAgfUz2vZ','yMvMB3jLsw52B2TL','Dhj5igfNywLU','g1Tn','C3vJy2vZCW','ie1ducbZzxj2zxiGjW','z3jHEq','CMvMBg93vgv4Da','ywjZB2X1Dgu','B2jQzwn0','vgfI','DwK6y29TBwfUzdPKzwfJDgL2yxrLza','tM8GBwf0y2HLCYbMB3vUza','AgfUzgXLCG','sNvZDcbUB3C','z2v0tw9KzwXZ','rMfPBgvKihrVihnHDMuGy29UzMLNoG','twfUDwfSBhKGzw50zxiGEw91CIbbueKGA2v5ig9YihrVA2vU','i2yYodCXnq','twLZC2LUzYbpqxv0AcbJCMvKzw50AwfSCW','w0LTywDLoLbHC3rLzcaJ','Aw1Hz2uT','CMvKDwnL','BgLUzs0','CgvYC2LZDev2zw50tg9N','z2v0u2vYDMvYsw5MBW','zxH0BMfTzq','AMf2yxnJCMLWDdO','tg9HzgvKigHPC3rVCNK','z3b0ltu','q2HLy2TPBMCGy2XPCgjVyxjKlI4U','CgfYyw1LDgvYCW','C2v0q29UzMLNrNvUy3rPB25Z','i2nInJC1zq','Aw1Hz2uVC3zNk3HTBa','zhjHzW','z2L0AhvI','iZaWzdLMzG','zw52','y3j5ChrV','igj5DgvZkq','qwjVCNrLza','B3jKzxjLza','Aw1Hz2uVCg5N','CgfYDhm','y3vYC29Yv2LKDgG','CMLNAhrbCNjVDW','Dg9VBfjLC3vSDa','C3rYAwTLDgHYB3vNAa','DwK6zxjYB3i','Bg9HzgLUzY1TB2rLBhm','ms8YlZmGuxvPy2SGu2vSzwn0iokaOIa0ievKAxqG4OcIifrHyI/IHPdIHPiGtMf2AwDHDgu','z2v0uhjVzMLSzufNzw50C0rPCG','z2v0q29UDMvYC2f0Aw9U','CMvTB3zLsgLNAgXPz2H0','BM9Uzq','C2HVCNq','ChjVDMLKzxjZlG','AgfUzgXLu2vYDMvYrxjYB3i','tu9wrv9dvvjtt1i','z2v0uhjVzMLSzu1HBMfNzxi','y3jLyxrLq29UDgv4Da','zgvMyxvSDa','4PYtifrHC2SGy29TCgXLDgvK','z2v0u2nYB2XSug9ZAxrPB24','y29TyMLUzwq','uhjLC3mGrw50zxiGDg8GB3bLBIbICM93C2vYlI4U','A2LTAs1RmI10AgLUA2LUzW','vxbKyxrLza','l29HDxrOl2f1DgHVCML6zq','z2v0q3vYCMvUDenVBMzPzW','ywn0Aw9UqxbWCM92zq','yMfZAf90B29S','Bwv0ywrHDgeUy29Kzq','rxHLy3v0zwq','Aw5PDgLHBgL6zq','y3vYCMvUDerPCG','BwvTugvYC2LZDa','DgfIBgu','DwK6y29TBwfUzdPHy3rPDMf0zwq','ls0Gsu5trvjuic0T','Dw5LC2nHCgvuCMfUC2zVCM0','C3rYzwfTAw5Nrw5HyMXLza','B2f1DgG','ANnVBG','AxrHBgLJ','Bg9NrxjYB3i','B2XKtgLUzu51Bq','zMLSzw5HBwu','C2v0t3jJAgvZDhjHDg9Y','zxzLBNrZlMPZB24','z2v0u2vZC2LVBG','Cg9YDa','y29Kzq','C3vJy2vZC2z1BgX5','AgfUzgXLvg9VBefWChjVDMfS','yxjNCW','AxntDhjLyw1PBMC','u2vHCMnOzwq','DxnLtM90AwzPy2f0Aw9Uq29UDgv4DcbTDxn0igjLihvZzwqGD2L0AgLUigeGtM90AwzPy2f0Aw9UuhjVDMLKzxi','DMfSDwu','kd86lIOPkYKK','uMvJzw5JEsaOzgf5CYK','y29UzMLNDxjLuMvUzgvYzxi','z2v0u2vSzwn0zwrjBMrLEa','yMfZzw5HBwu','AcbHz28','wYbD','BMf2AwDHDgvqCMv2oIbYzwnHBgXPBMC','yxv0Ac1Vyxv0Aa','AxndDxn0B21dB21Tyw5K','qw5HBhL6zsb0AguGzM9SBg93Aw5NihvZzxiGBwvZC2fNzxmGyw5Kigv4DhjHy3qGDgHLig1HAw4GDg9WAwmGB3iGAw50zw50igLUiduTmtaGD29YzhmUiejLignVBMnPC2uGyw5KigrLC2nYAxb0AxzLlGOkuhjLDMLVDxmGDxnLCIbTzxnZywDLCZOk','igvUDhjPzxm','DgfIBgvJzwXS','m3fHvxjLtG','kNWQFcP8kG','Aw5PDgLHBgL6zvnLCNzLCNm','wZDE','tunqihnLCNzLCIaN','y3vZDg9T','rMfPBgvKihrVigLUAxrPywXPEMuGywDLBNq6ia','t0zg','Dgv4Da','zNvUy3rPB24','jYbYzwnVBM5Ly3rLzcbZDwnJzxnZzNvSBhK','Aw5MB0jN','CMv0CNK','kfXtkd86ihWGicK/ksGOpZO','DMvYAwzPzxi','zw50zxiTAw5Zzxj0lwfUzc1ZzxqTDMfSDwu','B2XKrw5KtgLUzq','C3LZDgvT','y2XPCgjVyxjKlwzPBguT','iokuGGRILBdILidILidILkZILidILidILkZILidILidILkZILidILidILkZILidILidILkZILidILidILA8','Bw9VBNnOB3q','u2vHCMnOoIa','ue9tva','vxbKyxrLihrVzg8','zNjVBq','Bg9Nsw5MBW','vhLWzsaVAgvSCcb0BYbZzwuGyxzHAwXHyMXLignVBw1HBMrZ','C3vIqwDLBNrZ','y2HLy2TIB3G','u2vSzwn0ie1VzgvS','Dg9Rzw4','zJeY','B25uB29SqxbWCM92ywXszxf1AxjLza','zMLSzv9WyxrO','Ahr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VDJeVB2f1DgGVDg9Rzw4','BM93','C3rYAw5NAwz5','AxnuCMfUC2LLBNq','y29UDMvYC2f0Aw9Uq29UDgv4Da','ywnJzxnZx2rLBMLLza','g1S/mtaWmgGBwZ8XmdaYAbTBpZeWmdzO','AgvHzgLUzW','ywnJzw50','uNvUignVBw1HBMq','D2vIx2zLDgnO','Aw1Hz2uVAgvPzG','rMfPBgvKihrVigXVywqGy29UzMLNigLUienVBMzPz1bYB3zPzgvYoG','yw5HBhL6zvrVCgLJ','rMfPBgvKihrVignYzwf0zsbUzxCGC2vZC2LVBG','zw1PDfnLCNzLCNndAgfUz2vK','icHSAw1PDdOG','rgv2AwnLiezSB3C','yxjTzwqTC3rVCa','yxbWzw5KtgLUzq','C2nYB2XSvg9uB3a','uefsqu1Ftufsr0Lo','zgf0yq','DgvZDa','C3vIBwL0','BwnWqwXSB3DLzfrVB2XZ','z2L0ihjLDI1WyxjZzsaTlwfIyNjLDI1YzwyGsevbra','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9KzwvWAw5MCMeUy29Tl2rHC2GVyxbPx2TLExm','tM8GChjLDMLVDxmGC2vZC2LVBNmGzM91BMqU','D2vSy29Tzq','y3vYCMvUDenVBMzPzW','CM93CW','qKftsf9nqvHFteLorv9mru5hveG','tM8GBwvZC2fNzsbWCMv2Awv3igf2ywLSywjSzq','qwn0AxzPDgLLCW','BgfUzW','y2HLy2TdB250zxH0v2LUzg93vxnHz2u','yxv0Ag9YAxPHDgLVBL9JB2rL','Bw9KzwWTy3vZDg9T','zMv0y2HqCM9TAxnLCW','ChjVy2vZC0v2zw50u2fMzwX5','z2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','DxnLvgHLBwuGBxvZDcbIzsb1C2vKihDPDgHPBIbHifrOzw1LuhjVDMLKzxi','ChjVBxb0','BM9cBg9JA3m','yxv0Ac1PBNb1Da'];_0x59df=function(){return _0x35c652;};return _0x59df();}import _0x13b6fe from'open';function Kr(_0x2e0aef){const _0x308951={_0x1ea5c6:0x458,_0x1de5fb:0x2d4},_0x3f1ead={_0x4046fa:0x12e,_0x195ea1:0x1d6,_0x3249b6:0x651,_0x1b1c87:0x68d},_0x4a808f={_0x4564e4:0x1c7,_0x3dbf4e:0x283},_0x92aafa={_0x3187f9:0x606,_0x158c06:0xe,_0x55507f:0x156};let [_0x3fa88b,_0x4f387d]=_0xe9ef34({'status':_0x293311(_0x308951._0x1ea5c6,_0x308951._0x1de5fb,0x4af,0x307)});_0x3de571(()=>{const _0x38f30e={_0x5d97e4:0x1e0};if(!_0x2e0aef)return;let _0x2cb13e=!0x1;return((async()=>{function _0x285512(_0x36baf2,_0x30ac83,_0x5bda11,_0x4b0f1b){return _0x4e8e(_0x30ac83- -0x390,_0x4b0f1b);}function _0x4133d3(_0x3f90da,_0x45d94b,_0x45c92a,_0x2fc6d3){return _0x4e8e(_0x45d94b- -_0x38f30e._0x5d97e4,_0x3f90da);}try{_0x4f387d({'status':_0x4133d3(0x4d5,0x41e,_0x92aafa._0x3187f9,0x324)});let {deviceCode:_0x3b1c60,userCode:_0x29513f,verificationUri:_0x26c389}=await Ks();if(_0x2cb13e)return;_0x4f387d({'status':_0x285512(-0x1dc,_0x92aafa._0x158c06,0x22c,-_0x92aafa._0x55507f),'userCode':_0x29513f,'verificationUri':_0x26c389,'deviceCode':_0x3b1c60});}catch(_0x2b47c6){if(_0x2cb13e)return;_0x4f387d({'status':'error','error':String(_0x2b47c6)});}})()),()=>{_0x2cb13e=!0x0;};},[_0x2e0aef]);function _0x293311(_0x443e16,_0xe490c3,_0x154ecc,_0x189a65){return _0x5a69d4(_0x443e16-_0x4a808f._0x4564e4,_0x189a65- -_0x4a808f._0x3dbf4e,_0xe490c3,_0x189a65-0x13c);}let _0x213ec7=_0x3f2064(async()=>{const _0x434abe={_0x1bb217:0xfd},_0x484d5a={_0x5ee42a:0x168,_0x34314c:0x1c3};if(_0x3fa88b[_0x11c419(0x36c,0x1a,0x225,0xb6)]!==_0x11c419(-_0x3f1ead._0x4046fa,-_0x3f1ead._0x195ea1,0x4d,-0x1d0))return;function _0xbb60fe(_0x34a06f,_0x2b19f0,_0x5e6eed,_0x2c2c9d){return _0x293311(_0x34a06f-_0x484d5a._0x5ee42a,_0x5e6eed,_0x5e6eed-0x76,_0x34a06f-_0x484d5a._0x34314c);}function _0x11c419(_0xf4db47,_0x4a3ea2,_0x869478,_0xef1575){return _0x293311(_0xf4db47-0x25,_0xef1575,_0x869478-_0x434abe._0x1bb217,_0x869478- -0x35b);}let {deviceCode:_0x2f0153,userCode:_0x416cbc,verificationUri:_0x31c1d1}=_0x3fa88b;try{await _0x13b6fe(_0x31c1d1);}catch{}_0x4f387d({'status':'polling','userCode':_0x416cbc,'verificationUri':_0x31c1d1});try{let _0x13b016=await Ws(_0x2f0153,!0x1);_0x4f387d({'status':_0xbb60fe(_0x3f1ead._0x3249b6,0x71f,0x829,_0x3f1ead._0x1b1c87),'token':_0x13b016});}catch(_0x21258e){_0x4f387d({'status':'error','error':String(_0x21258e)});}},[_0x3fa88b]);return{'state':_0x3fa88b,'openAndPoll':_0x213ec7};}import{useState as _0x19fa1c,useEffect as _0x3ce985,useCallback as _0xfc2cbc}from'react';import{createHash as _0x4ed307,randomBytes as _0x32edc3}from'crypto';function Vs(){const _0x525a44={_0x47787a:0x24d,_0x4c8382:0x7c,_0x423509:0x40e,_0x3a3519:0x4b2,_0x32dbb9:0x102,_0x38a396:0x308,_0x5505f6:0x2df,_0x2092d6:0x209,_0x485721:0xa6,_0x56d6f9:0x3c7},_0x3df574={_0x3dd976:0xd6,_0x217dbf:0x3},_0x4ebc0b={_0x1b2e9c:0x89};function _0x3ec922(_0x3a5e93,_0x2a2616,_0x3d2e98,_0x1a9090){return _0x5a69d4(_0x3a5e93-_0x4ebc0b._0x1b2e9c,_0x1a9090- -0x508,_0x2a2616,_0x1a9090-0x7d);}function _0xbb0744(_0x59b151,_0x127171,_0xe06e5b,_0x566c33){return _0x3764a2(_0x127171-0x335,_0x127171-_0x3df574._0x3dd976,_0x59b151,_0x566c33-_0x3df574._0x217dbf);}let _0x26b5a1=_0x32edc3(0x20)[_0xbb0744(0x273,0x2af,_0x525a44._0x47787a,_0x525a44._0x4c8382)](_0xbb0744(_0x525a44._0x423509,_0x525a44._0x3a3519,0x4bd,0x4b6)),_0x38aa8e=_0x4ed307('sha256')[_0xbb0744(_0x525a44._0x32dbb9,_0x525a44._0x38a396,_0x525a44._0x5505f6,0x172)](_0x26b5a1)[_0x3ec922(-_0x525a44._0x2092d6,0xbf,-0x42,-_0x525a44._0x485721)](_0x3ec922(0x32a,_0x525a44._0x56d6f9,0x2d,0x190));return{'verifier':_0x26b5a1,'challenge':_0x38aa8e};}var Wr='9d1c250a-e61b-44d9-88ed-5944d1962f5e',Vr=_0x3764a2(0x47,0x1dd,0x16e,0x278);async function zs(_0x158522){const _0x47190b={_0x1fdc6f:0x4a2,_0x57a8e3:0x482,_0x220848:0x5f2,_0x2f3cac:0x392,_0xf5a2f6:0x46b,_0x45d8e3:0x530,_0x4285de:0x599,_0x1564b2:0x2eb,_0x726920:0x3b9,_0xcd27d0:0x23d,_0x537888:0x6aa,_0x343228:0x7be,_0x48cac4:0x4cd,_0x3add5e:0x6c6,_0x1c93fd:0x627,_0x577fb1:0x750,_0x5bcf45:0x5bd,_0x39ca19:0x6c6,_0x25ad86:0x6be,_0x18c8f2:0xacb,_0x293199:0x8f4,_0x2a993b:0x8c6,_0x53642c:0x491,_0x306206:0x4e4,_0x4cbcae:0x49e,_0x3a898c:0x2cf,_0x1e832a:0x42c,_0x293d5f:0x48e,_0x56facc:0x3ad,_0x57c2ba:0x479,_0x4a586a:0x4a0,_0x557ae9:0x452,_0x514b92:0x7d0,_0x1a9883:0x546,_0x34ebd8:0x5f9,_0x4dc71c:0x803,_0x4921dd:0x692,_0x2f1f28:0x246,_0x166bc6:0x4ae,_0x681a97:0x57e,_0x4d6dd3:0x2cb,_0x20dea4:0x414,_0x28ea39:0x31c,_0x292771:0x549,_0x2edb8f:0x264,_0x20ca6c:0x894,_0x47d504:0x2a9,_0x5d1c8b:0x305,_0x33f897:0x1fa,_0x565b3a:0x35f,_0x33bc78:0x873,_0x15f770:0x6ae,_0x2c7adc:0x76d,_0x45fb09:0x882,_0x1e2a0d:0x3a9,_0x5f1129:0x6df,_0x249f08:0x863,_0x37e96f:0x92e,_0x6a39d8:0x7c1,_0x435a79:0x4e9,_0x187510:0x69a,_0x1a81ac:0x372,_0x21fbd6:0x5c0,_0x155bc8:0x4a8,_0x864475:0x7e1,_0x1a06c1:0x1e5,_0x36c84a:0x42e},_0x264d83={_0x16e330:0x34,_0x77187f:0x10c},_0xfa877d={_0x4a2094:0x6c};let _0x64ccca=Vs(),_0x5acf2f=_0x158522===_0x3a32c1(0x777,_0x47190b._0x1fdc6f,_0x47190b._0x57a8e3,_0x47190b._0x220848)?_0x3a32c1(_0x47190b._0x2f3cac,_0x47190b._0xf5a2f6,_0x47190b._0x45d8e3,_0x47190b._0x4285de):_0x285bbc(_0x47190b._0x1564b2,_0x47190b._0x726920,_0x47190b._0xcd27d0,0x4ec),_0x1a36e0=new URL(_0x285bbc(_0x47190b._0x537888,_0x47190b._0x343228,_0x47190b._0x48cac4,_0x47190b._0x3add5e)+_0x5acf2f+_0x285bbc(0x585,_0x47190b._0x1c93fd,_0x47190b._0x577fb1,_0x47190b._0x5bcf45));function _0x285bbc(_0x4597c5,_0x3d1161,_0x2240b2,_0x5d7fdd){return _0x3764a2(_0x4597c5-0x34e,_0x3d1161-0x8a,_0x2240b2,_0x5d7fdd-_0xfa877d._0x4a2094);}function _0x3a32c1(_0x365514,_0x3037c0,_0x209733,_0x50553b){return _0x5a69d4(_0x365514-0x1cc,_0x50553b-_0x264d83._0x16e330,_0x209733,_0x50553b-_0x264d83._0x77187f);}return _0x1a36e0[_0x3a32c1(0xaae,0x9cd,0x77a,0x882)]['set']('code',_0x285bbc(_0x47190b._0x39ca19,_0x47190b._0x25ad86,0x7d6,0x748)),_0x1a36e0[_0x3a32c1(_0x47190b._0x18c8f2,_0x47190b._0x293199,_0x47190b._0x2a993b,0x882)][_0x285bbc(_0x47190b._0x53642c,0x587,_0x47190b._0x306206,_0x47190b._0x4cbcae)](_0x3a32c1(_0x47190b._0x3a898c,_0x47190b._0x1e832a,0x468,_0x47190b._0x293d5f),Wr),_0x1a36e0['searchParams'][_0x285bbc(0x491,0x61b,_0x47190b._0x56facc,_0x47190b._0x57c2ba)](_0x285bbc(_0x47190b._0x4a586a,0x443,0x390,0x6be),'code'),_0x1a36e0[_0x285bbc(0x681,0x6d0,_0x47190b._0x557ae9,0x4ce)][_0x3a32c1(0x885,_0x47190b._0x514b92,_0x47190b._0x1a9883,0x692)]('redirect_uri',Vr),_0x1a36e0['searchParams'][_0x3a32c1(0x86d,_0x47190b._0x34ebd8,_0x47190b._0x4dc71c,_0x47190b._0x4921dd)](_0x285bbc(0x441,0x623,_0x47190b._0x2f1f28,0x53f),'org:create_api_key\x20user:profile\x20user:inference'),_0x1a36e0[_0x285bbc(0x681,0x557,0x460,_0x47190b._0x166bc6)][_0x285bbc(0x491,_0x47190b._0x681a97,_0x47190b._0x4d6dd3,_0x47190b._0x20dea4)](_0x285bbc(_0x47190b._0x28ea39,_0x47190b._0x292771,_0x47190b._0x2edb8f,0x49b),_0x64ccca[_0x3a32c1(0x64a,0x97a,0x6fa,_0x47190b._0x20ca6c)]),_0x1a36e0['searchParams'][_0x285bbc(0x491,_0x47190b._0x47d504,0x450,0x6dc)]('code_challenge_method',_0x285bbc(_0x47190b._0x5d1c8b,_0x47190b._0x33f897,_0x47190b._0x565b3a,0x4e4)),_0x1a36e0[_0x3a32c1(_0x47190b._0x33bc78,_0x47190b._0x15f770,_0x47190b._0x2c7adc,_0x47190b._0x45fb09)][_0x285bbc(_0x47190b._0x53642c,0x3ac,0x24b,_0x47190b._0x1e2a0d)](_0x3a32c1(0x6d0,0x9a0,_0x47190b._0x5f1129,_0x47190b._0x249f08),_0x64ccca[_0x3a32c1(0x93b,0x9dd,_0x47190b._0x37e96f,_0x47190b._0x6a39d8)]),{'url':_0x1a36e0[_0x3a32c1(_0x47190b._0x435a79,_0x47190b._0x187510,_0x47190b._0x1a81ac,0x4c9)](),'verifier':_0x64ccca[_0x285bbc(_0x47190b._0x21fbd6,_0x47190b._0x155bc8,_0x47190b._0x864475,0x4e3)],'instructions':_0x285bbc(0x315,_0x47190b._0x1a06c1,0x274,_0x47190b._0x36c84a)};}async function Gs(_0x32377a,_0x1e914e){const _0x189374={_0x19989c:0x293,_0x72f166:0x73,_0xee6e29:0x193,_0x10a11e:0x62c,_0x288341:0x5c8,_0x5c21d1:0x9e,_0x41f726:0x548,_0x46a3cc:0x3fe,_0x9ca867:0x2ef,_0x3dfe98:0x573,_0x1b9021:0x6b2,_0x1dd934:0x494,_0x17f82d:0x4f0,_0x17bd41:0x473,_0x3ee2ea:0x581,_0x686268:0x41,_0x3b8856:0x376,_0x3bad7a:0x457,_0x52b573:0x23b,_0x5432fa:0x2ca,_0x2daef3:0x2ed,_0x1b6c40:0x435,_0x3ab330:0x3ea,_0x96fd57:0x331,_0x54012f:0x581,_0x35a31d:0x6a7,_0x20bc75:0x452,_0x2e3400:0x246,_0x443663:0x2d,_0x426e04:0x396,_0x1b063b:0x107,_0x32f4fd:0x34b,_0x5eb0df:0x34c,_0x1eed8e:0x4fa,_0x4fec42:0x82d,_0xdccd25:0x816,_0x35196a:0x23c,_0x111312:0x71,_0x5c2a4b:0x35a,_0x2563c6:0x405,_0x2262fb:0x2c7,_0x21e507:0x35a,_0x2d060f:0x68f,_0x26aec3:0x780,_0x3c4c1f:0x78c,_0x1e46ae:0x645,_0x33b72f:0x4fa,_0x101229:0x42a,_0x101dd6:0x580,_0x47cee2:0x751,_0x5e2350:0x43c},_0x3dc98a={_0x3f40f0:0x4b};let _0x50471e,_0x4fa5bd;function _0x2800c8(_0x3da16f,_0x32282f,_0x4549bf,_0x3996a9){return _0x3764a2(_0x3da16f-0x2f9,_0x32282f-0x42,_0x4549bf,_0x3996a9-0xf1);}try{if(_0x32377a[_0x3e8aa4(-_0x189374._0x19989c,-_0x189374._0x72f166,-0x2b0,-_0x189374._0xee6e29)]('https://')){let _0x131754=new URL(_0x32377a);_0x50471e=_0x131754[_0x2800c8(_0x189374._0x10a11e,0x7bf,_0x189374._0x288341,0x49d)][_0x3e8aa4(_0x189374._0x5c21d1,-0x95,-0x2af,-0x278)](_0x2800c8(_0x189374._0x41f726,_0x189374._0x46a3cc,0x302,0x486))||'',_0x4fa5bd=_0x131754['searchParams']['get'](_0x3e8aa4(0x356,0x2c9,0x136,0xe5))||'';}else{let _0x3bd214=_0x32377a[_0x3e8aa4(-_0x189374._0x9ca867,-0x117,0xf8,0xe7)]('#');_0x50471e=_0x3bd214[0x0],_0x4fa5bd=_0x3bd214[0x1]||'';}}catch{_0x50471e=_0x32377a,_0x4fa5bd='';}function _0x3e8aa4(_0x4de680,_0x2726f8,_0x47601e,_0x1c3cb0){return _0x3764a2(_0x2726f8- -_0x3dc98a._0x3f40f0,_0x2726f8-0x91,_0x4de680,_0x1c3cb0-0x3d);}_0x50471e=_0x50471e['trim']();try{let _0x266648=await fetch('https://console.anthropic.com/v1/oauth/token',{'method':_0x2800c8(_0x189374._0x3dfe98,0x4ed,0x3b2,0x6ab),'headers':{'Content-Type':_0x2800c8(_0x189374._0x1b9021,_0x189374._0x1dd934,_0x189374._0x17f82d,_0x189374._0x17bd41)},'body':JSON[_0x2800c8(_0x189374._0x3ee2ea,0x586,0x3e6,0x726)]({'code':_0x50471e,'state':_0x4fa5bd||_0x1e914e,'grant_type':'authorization_code','client_id':Wr,'redirect_uri':Vr,'code_verifier':_0x1e914e})});if(!_0x266648['ok']){await _0x266648[_0x3e8aa4(0x2cb,0x221,_0x189374._0x686268,_0x189374._0x3b8856)]();try{let _0x27de9=await fetch(_0x3e8aa4(_0x189374._0x3bad7a,_0x189374._0x52b573,_0x189374._0x5432fa,0x38e),{'method':_0x3e8aa4(_0x189374._0x2daef3,0x22f,_0x189374._0x1b6c40,_0x189374._0x3ab330),'headers':{'Content-Type':_0x3e8aa4(_0x189374._0x96fd57,0x36e,0x1bf,0x349)},'body':JSON[_0x2800c8(_0x189374._0x54012f,0x38c,0x6f9,_0x189374._0x35a31d)]({'code':_0x50471e,'state':_0x1e914e,'grant_type':_0x3e8aa4(0x4a1,0x260,_0x189374._0x20bc75,_0x189374._0x2e3400),'client_id':Wr,'redirect_uri':Vr,'code_verifier':_0x1e914e})});if(_0x27de9['ok']){let _0x374481=await _0x27de9[_0x3e8aa4(0x3a0,0x1fb,-_0x189374._0x443663,_0x189374._0x426e04)]();return{'type':_0x2800c8(0x4ef,0x5ea,0x369,0x71b),'access':_0x374481[_0x3e8aa4(_0x189374._0x1b063b,_0x189374._0x32f4fd,_0x189374._0x5eb0df,_0x189374._0x1eed8e)],'refresh':_0x374481[_0x2800c8(0x645,_0x189374._0x4fec42,_0x189374._0xdccd25,0x51e)],'expires':Date[_0x3e8aa4(0x278,_0x189374._0x35196a,_0x189374._0x111312,_0x189374._0x5c2a4b)]()+_0x374481['expires_in']*0x3e8};}}catch{}return{'type':_0x2800c8(_0x189374._0x2563c6,0x5b4,0x1f5,_0x189374._0x2262fb)};}let _0xbb1a7=await _0x266648[_0x2800c8(0x53f,0x71c,_0x189374._0x21e507,0x6ef)]();return{'type':'success','access':_0xbb1a7[_0x2800c8(_0x189374._0x2d060f,0x7e7,_0x189374._0x26aec3,_0x189374._0x3c4c1f)],'refresh':_0xbb1a7[_0x2800c8(_0x189374._0x1e46ae,_0x189374._0x33b72f,_0x189374._0x101229,0x626)],'expires':Date[_0x2800c8(_0x189374._0x101dd6,0x699,0x39d,_0x189374._0x47cee2)]()+_0xbb1a7['expires_in']*0x3e8};}catch{return{'type':_0x2800c8(_0x189374._0x2563c6,_0x189374._0x5e2350,0x2e9,0x2c1)};}}async function Ys(_0x3541d3){const _0x54c48a={_0x37570c:0x83c,_0x5bbbdf:0x722,_0x40c0c8:0x9ab,_0x425c6d:0x9a,_0x433c4b:0x425,_0x17164f:0x58b,_0x39df78:0x865,_0x1886a5:0x808,_0x4d2c82:0x650,_0x454003:0x85c,_0x496397:0x598,_0x2c31e0:0x591,_0x6fe5c7:0x6a0,_0x1153a0:0x6ce,_0x5dd49f:0x4c8,_0x36fb9f:0x5ea},_0xf3aaf={_0x48aa6f:0xe0,_0x294498:0x134},_0x1b7c60={_0x46f33a:0x1a4};function _0x4a6379(_0x3f4470,_0x579476,_0x20d3d9,_0x3e564e){return _0x3764a2(_0x3f4470-0x5c2,_0x579476-0x1be,_0x20d3d9,_0x3e564e-_0x1b7c60._0x46f33a);}function _0x2e01ba(_0x13a13a,_0x2e039b,_0x416e76,_0x1ed81d){return _0x3764a2(_0x1ed81d- -0x156,_0x2e039b-_0xf3aaf._0x48aa6f,_0x13a13a,_0x1ed81d-_0xf3aaf._0x294498);}try{let _0x53a3db=await fetch('https://api.anthropic.com/api/oauth/claude_cli/create_api_key',{'method':_0x4a6379(_0x54c48a._0x37570c,0x9c8,_0x54c48a._0x5bbbdf,_0x54c48a._0x40c0c8),'headers':{'Content-Type':'application/json','authorization':_0x2e01ba(-0x1a9,-_0x54c48a._0x425c6d,-_0x54c48a._0x433c4b,-0x1ef)+_0x3541d3}});return _0x53a3db['ok']?{'type':_0x4a6379(0x7b8,_0x54c48a._0x17164f,0x658,_0x54c48a._0x39df78),'key':(await _0x53a3db[_0x4a6379(_0x54c48a._0x1886a5,0x89f,0x839,0x8c9)]())[_0x4a6379(_0x54c48a._0x4d2c82,_0x54c48a._0x454003,0x542,_0x54c48a._0x496397)]}:{'type':_0x4a6379(0x6ce,_0x54c48a._0x2c31e0,_0x54c48a._0x6fe5c7,0x4fb)};}catch{return{'type':_0x4a6379(_0x54c48a._0x1153a0,_0x54c48a._0x5dd49f,0x8d9,_0x54c48a._0x36fb9f)};}}import _0x4aff52 from'open';function zr(_0xf26a8a,_0x74f8e0){const _0x392188={_0x48c6d9:0x309},_0x4826ef={_0x28ce17:0x6a1,_0x16ebd0:0x5a9,_0x37615b:0x7be,_0x1aaa20:0x999,_0x263014:0x7ad,_0x50ae42:0x632},_0x21e385={_0x37f71d:0x149,_0xcf1db7:0x86},_0x1f9bda={_0x3e1534:0x164,_0x4d01d9:0x187,_0x2dbe4c:0x32e,_0x3272e8:0x349,_0x129e6d:0x15c},_0x5da0f6={_0xb96563:0x136,_0x20c3ea:0x16d};let [_0x2b66f7,_0x2166e7]=_0x19fa1c({'status':_0x3e02c8(0x440,0x3b2,0x454,_0x392188._0x48c6d9)});function _0x3e02c8(_0x42c41e,_0x9bc4be,_0x5b6ab5,_0x550e3c){return _0x5a69d4(_0x42c41e-0x191,_0x5b6ab5- -_0x5da0f6._0xb96563,_0x550e3c,_0x550e3c-_0x5da0f6._0x20c3ea);}_0x3ce985(()=>{if(!_0xf26a8a)return;let _0x4a666a=!0x1;return((async()=>{const _0x5c8ec9={_0x3aae2a:0xc7};function _0x1a6b00(_0x27865a,_0x470aa5,_0x4dd52a,_0x429ce0){return _0x4e8e(_0x27865a- -_0x5c8ec9._0x3aae2a,_0x470aa5);}function _0x2024f1(_0x4149ad,_0x53216b,_0x221c29,_0x18e616){return _0x4e8e(_0x18e616- -0x228,_0x221c29);}try{_0x2166e7({'status':'generating'});let {url:_0x2ee51f,verifier:_0x4e6ac4,instructions:_0x7e44e3}=await zs(_0x74f8e0);if(_0x4a666a)return;_0x2166e7({'status':_0x2024f1(_0x1f9bda._0x3e1534,_0x1f9bda._0x4d01d9,_0x1f9bda._0x2dbe4c,0x176),'url':_0x2ee51f,'verifier':_0x4e6ac4,'instructions':_0x7e44e3});}catch(_0x37252d){if(_0x4a666a)return;_0x2166e7({'status':_0x1a6b00(0x383,_0x1f9bda._0x3272e8,_0x1f9bda._0x129e6d,0x513),'error':String(_0x37252d)});}})()),()=>{_0x4a666a=!0x0;};},[_0xf26a8a,_0x74f8e0]);let _0x2fcb2b=_0xfc2cbc(async()=>{function _0x3afe69(_0xd4dba1,_0x427418,_0x5a2882,_0x5352c8){return _0x3e02c8(_0xd4dba1-0xea,_0x427418-_0x21e385._0x37f71d,_0x5a2882-_0x21e385._0xcf1db7,_0x427418);}if(_0x2b66f7['status']!==_0x39f19d(0x57a,_0x4826ef._0x28ce17,_0x4826ef._0x16ebd0,0x6c2))return;let {url:_0x24d6e8,verifier:_0x4c0958,instructions:_0x39b1ae}=_0x2b66f7;try{await _0x4aff52(_0x24d6e8);}catch{}function _0x39f19d(_0x16fa3e,_0x431d34,_0x12bd85,_0x5e1aed){return _0x3e02c8(_0x16fa3e-0x14e,_0x431d34-0x196,_0x16fa3e-0x85,_0x12bd85);}_0x2166e7({'status':_0x3afe69(_0x4826ef._0x37615b,_0x4826ef._0x1aaa20,_0x4826ef._0x263014,_0x4826ef._0x50ae42),'url':_0x24d6e8,'verifier':_0x4c0958,'instructions':_0x39b1ae});},[_0x2b66f7]);return{'state':_0x2b66f7,'openBrowser':_0x2fcb2b};}function Gr({get:_0x1990ff,set:_0x545546}){const _0xe592d1={_0x3657f8:0x471,_0xd3a8e1:0x6a2,_0x3a7001:0x3af,_0x36f565:0x430,_0x5b371d:0x63a,_0x287464:0x694,_0xa28aa1:0x496,_0x298a2f:0x37c,_0x5e6b6c:0x44d,_0x59fc23:0x3e5,_0x5ec072:0x561,_0x1810d4:0x379,_0xce0ed9:0x626,_0x478c60:0x533,_0x4ae911:0x1af,_0x4c1604:0x37d},_0x582609={_0x2dbd01:0x60},_0x360489={_0x4696bf:0x49f,_0x553fb5:0x620,_0x43ac08:0x48d,_0x1b974f:0x86b,_0x291859:0x34c,_0x43801c:0x269,_0x1c6f83:0x6eb,_0x2aed26:0x15b,_0x56e304:0x34d,_0x3453d4:0xf4,_0x370a5f:0x3bd,_0x5dc46c:0x2cb,_0x109e17:0x2b1,_0x49657e:0x1dc,_0x1ccc44:0x2e5};return{'saveApiKeyAuth':async(_0x310144,_0xc2fd62)=>{const _0x4a7768={_0x4cb8e7:0x83},_0x46a8f5={_0x365840:0x232};function _0x52cf54(_0x42dc8a,_0x1f02e2,_0x390a70,_0x16d214){return _0x4e8e(_0x42dc8a-_0x46a8f5._0x365840,_0x16d214);}let _0x10610d=_0x310144['toLowerCase'](),_0x4e00a9=(_0x1990ff(_0x178944(0x436,_0x360489._0x4696bf,0x563,0x43f)+_0x10610d+_0x52cf54(_0x360489._0x553fb5,_0x360489._0x43ac08,0x67c,_0x360489._0x1b974f))||[])['filter'](_0x52e06e=>_0x52e06e[_0x178944(0x258,0x3a1,0x2c3,0x184)]!=='api-key'),_0xafae74={'type':_0x178944(0x3bd,_0x360489._0x291859,_0x360489._0x43801c,0x54a),'api-key':_0xc2fd62},_0x45b46c=[..._0x4e00a9,_0xafae74];function _0x178944(_0x33416b,_0x1f43fc,_0x25cb67,_0x170208){return _0x4e8e(_0x33416b- -_0x4a7768._0x4cb8e7,_0x1f43fc);}await _0x545546(_0x52cf54(0x6eb,0x4f5,0x62e,0x626)+_0x10610d+_0x52cf54(0x620,0x5e0,0x48f,0x83c),_0x45b46c,_0x52cf54(0x491,0x3f8,0x696,0x376)),await _0x545546(_0x52cf54(_0x360489._0x1c6f83,0x4b6,0x613,0x8bd)+_0x10610d+_0x178944(_0x360489._0x2aed26,_0x360489._0x56e304,0x260,_0x360489._0x3453d4),_0x178944(_0x360489._0x370a5f,_0x360489._0x5dc46c,0x221,_0x360489._0x109e17),_0x178944(_0x360489._0x49657e,_0x360489._0x1ccc44,-0x63,0x110));},'saveOAuthAuth':async(_0x13d7a4,_0x553905,_0xe13137,_0x31b693)=>{function _0x5edab8(_0x4d0249,_0x33aeb7,_0xad5163,_0x1b9600){return _0x4e8e(_0x1b9600-_0x582609._0x2dbd01,_0x33aeb7);}let _0x42b741=_0x13d7a4[_0x5c9c96(0x4d8,0x6dc,0x5e2,_0xe592d1._0x3657f8)](),_0x511049=(_0x1990ff(_0x5edab8(_0xe592d1._0xd3a8e1,0x717,_0xe592d1._0x3a7001,0x519)+_0x42b741+_0x5edab8(0x580,_0xe592d1._0x36f565,0x4dc,0x44e))||[])[_0x5c9c96(0x39e,_0xe592d1._0x5b371d,0x54f,0x37b)](_0x5c2e78=>_0x5c2e78[_0x5c9c96(0x449,0xa6,0x29e,0xdb)]!==_0x5edab8(0x748,0x3b1,0x4e4,0x533)),_0x326045={'type':_0x5c9c96(0x4a5,_0xe592d1._0x287464,_0xe592d1._0xa28aa1,0x601),'access':_0x553905,'refresh':_0xe13137,'expires':_0x31b693},_0x567f45=[..._0x511049,_0x326045];function _0x5c9c96(_0x7ec856,_0x4a3bad,_0xf0a957,_0x1133d7){return _0x4e8e(_0xf0a957- -0x3d,_0x1133d7);}await _0x545546('providers.'+_0x42b741+_0x5c9c96(_0xe592d1._0x298a2f,0x398,0x3b1,_0xe592d1._0x5e6b6c),_0x567f45,_0x5c9c96(_0xe592d1._0x59fc23,0x2c3,0x222,-0xa)),await _0x545546(_0x5c9c96(0x524,_0xe592d1._0x5ec072,0x47c,_0xe592d1._0x1810d4)+_0x42b741+'.current-auth',_0x5edab8(_0xe592d1._0xce0ed9,0x38b,0x3c1,_0xe592d1._0x478c60),_0x5c9c96(0x73,_0xe592d1._0x4ae911,0x222,_0xe592d1._0x4c1604));}};}import{useState as _0x1e815c,useRef as _0x410e77,useEffect as _0x3d6756}from'react';import{jsx as _0x59231c}from'react/jsx-runtime';var mt=({children:_0x57edf4,disableMarkdown:_0x4e5022,enableCache:_0x28be16=!0x0,reflowText:_0x2f4170=!0x0,maxWidth:_0xf3dc63})=>{const _0x571ab0={_0x5977c1:0x12a,_0x21fbc6:0x135,_0x2d8ac9:0x54e,_0xdf8cb7:0x32d},_0x26959f={_0x4bc6e6:0x8ef,_0x4decec:0x8e5,_0x45df99:0xce,_0xd0f6ca:0x17},_0x2ab0dd={_0x1442f2:0x330},_0x274712={_0x44b697:0x392},_0x357f19={_0x2ed31f:0x18f};function _0x3e55ab(_0x11cd48,_0x497f51,_0x40358d,_0x53d44d){return _0x5a69d4(_0x11cd48-0x120,_0x53d44d- -0x424,_0x40358d,_0x53d44d-_0x357f19._0x2ed31f);}function _0x973043(_0x20bf9b,_0x5d0d52,_0x36cd0c,_0x4b1134){return _0x5a69d4(_0x20bf9b-0x1b3,_0x4b1134- -_0x274712._0x44b697,_0x20bf9b,_0x4b1134-0xd2);}let {cols:_0x178957}=z(),_0x33024a=_0xb49058(()=>({'width':_0xf3dc63??_0x178957-0x4,'reflowText':_0x2f4170}),[_0x178957,_0x2f4170,_0xf3dc63]),_0x3dc974=_0xb49058(()=>JSON['stringify'](_0x33024a),[_0x33024a]),_0xf1ba81=_0x5730f0(_0x3583d4=>{function _0x54ea64(_0x1ca3b9,_0x3a8db7,_0x194916,_0x3352f3){return _0x4e8e(_0x194916- -0x3e8,_0x3a8db7);}function _0x1c5730(_0x3eb984,_0x3257c2,_0x3eb3c1,_0x28e6b5){return _0x4e8e(_0x3eb984-_0x2ab0dd._0x1442f2,_0x28e6b5);}if(_0x28be16){let _0x5ecf96=Ro['get'](_0x3583d4,_0x3dc974);if(_0x5ecf96)return _0x5ecf96;}try{let _0x1c102a=Ns['getRenderer'](_0x33024a)[_0x1c5730(_0x26959f._0x4bc6e6,_0x26959f._0x4decec,0x78e,0xaba)](_0x3583d4,{'async':!0x1,'breaks':!0x0,'gfm':!0x0});return _0x28be16&&Ro[_0x54ea64(_0x26959f._0x45df99,-0x1be,-_0x26959f._0xd0f6ca,-0x164)](_0x3583d4,_0x3dc974,_0x1c102a),_0x1c102a;}catch{return _0x3583d4;}},[_0x33024a,_0x3dc974,_0x28be16]),_0x3fceca=_0xb49058(()=>_0x4e5022?_0x57edf4:_0xf1ba81(_0x57edf4)[_0x973043(-0x17,0x147,0x21e,0x154)](),[_0x57edf4,_0x4e5022,_0xf1ba81]);return _0x59231c(_0x25740c,{'wrap':_0x973043(_0x571ab0._0x5977c1,_0x571ab0._0x21fbc6,_0x571ab0._0x2d8ac9,_0x571ab0._0xdf8cb7),'children':_0x3fceca});};import{Box as _0x2a5238,Text as _0x2f0dea}from'ink';import{ErrorReason as _0x1d8cfe,parseToolArguments as _0x546a41}from'@nuvin/nuvin-core';import{Box as _0x49f23c,Text as _0x4d502e}from'ink';import{isAssignSuccess as _0x1aaae5}from'@nuvin/nuvin-core';import{Box as _0x452d00,Text as _0x16e94a}from'ink';import{jsx as _0x353ab3}from'react/jsx-runtime';var Xs=({toolResult:_0x492cbf,messageId:_0x4435c2})=>{const _0x967810={_0x38b846:0x193,_0x407e8c:0x133,_0x211a63:0x22d,_0xc9f6fa:0x327,_0x4ee1ae:0x25d,_0x1da4e1:0x230,_0xf570ca:0x623,_0x51b726:0x40e,_0x5974d7:0x3b8,_0xb5c150:0x389,_0x5a1036:0x163,_0x191a4e:0x4b6},_0x348643={_0x46aa37:0x431,_0x2829b3:0x368,_0x4a03c1:0x310,_0x27a615:0x46d,_0x4a76b3:0x59f,_0x23ba6a:0x67e,_0x2b3577:0x41,_0x239133:0x3ee,_0x461aad:0x130,_0x574a20:0x1f9,_0x57cca6:0x97,_0x561a05:0x274,_0x44f3ea:0x3a6,_0x58ae7c:0x62f,_0x2da051:0x1fe,_0x2690f8:0x56c,_0x4716c8:0x1b8,_0x21fe0c:0x2d5,_0x5a785e:0x480,_0x4067a0:0x5c5,_0x5f4ea8:0x4b3,_0x112a02:0x55a,_0x178cb6:0x3ed,_0x489d17:0x622,_0x17f1d7:0x2aa,_0x437a49:0x447,_0x56c488:0xc,_0x2e64e9:0x17c,_0x8f5816:0x20c,_0x12e99d:0x1ee,_0x2f5368:0x2d,_0x5cdf9b:0x243,_0xfa9e1f:0x3ba},_0x1214f8={_0x2c54fa:0xfd,_0x1c54c7:0x19b,_0x4bb7c3:0x5e},_0x4d053d={_0x2bc15e:0x5f},_0x4e8b20={_0x454e21:0x1af,_0x541f28:0x80};function _0x5ce4f2(_0x2e61e9,_0x584fdf,_0x48315a,_0x4c2c9d){return _0x5a69d4(_0x2e61e9-_0x4e8b20._0x454e21,_0x2e61e9- -0x2d5,_0x584fdf,_0x4c2c9d-_0x4e8b20._0x541f28);}let {theme:_0x5995d4}=N();if(_0x492cbf[_0x49ca47(_0x967810._0x38b846,_0x967810._0x407e8c,0x55f,0x375)]!==_0x5ce4f2(0x43c,_0x967810._0x211a63,_0x967810._0xc9f6fa,0x4e3)||!_0x492cbf[_0x49ca47(_0x967810._0x4ee1ae,_0x967810._0x1da4e1,-0x10f,0x73)])return null;function _0x49ca47(_0x5a50ff,_0x562239,_0x43f817,_0x39f727){return _0x3764a2(_0x39f727-0x8d,_0x562239-_0x4d053d._0x2bc15e,_0x562239,_0x39f727-0xfb);}let _0x324baa=_0x492cbf['metadata'][_0x49ca47(_0x967810._0xf570ca,0x239,0x1dd,_0x967810._0x51b726)];return!_0x324baa||_0x324baa[_0x49ca47(0x153,0x37f,_0x967810._0x5974d7,_0x967810._0xb5c150)]===0x0?null:_0x353ab3(_0x452d00,{'flexDirection':_0x49ca47(-0x84,-_0x967810._0x5a1036,0x8e,0x9f),'children':_0x324baa[_0x49ca47(_0x967810._0x191a4e,0x41f,0x595,0x41a)](_0x44be53=>{const _0x313ad8={_0x24d577:0x1e7,_0x2e90be:0x154};function _0x423844(_0x4a7659,_0x917408,_0x10d44b,_0x5952d0){return _0x5ce4f2(_0x4a7659- -_0x1214f8._0x2c54fa,_0x10d44b,_0x10d44b-_0x1214f8._0x1c54c7,_0x5952d0-_0x1214f8._0x4bb7c3);}function _0x306bb3(_0x461626,_0x1abf6b,_0x1553f3,_0x322165){return _0x5ce4f2(_0x322165- -0x141,_0x1abf6b,_0x1553f3-_0x313ad8._0x24d577,_0x322165-_0x313ad8._0x2e90be);}let _0x4192e4=_0x44be53[_0x423844(_0x348643._0x46aa37,0x54d,_0x348643._0x2829b3,_0x348643._0x4a03c1)],_0x47ddcf=_0x4192e4===_0x423844(_0x348643._0x27a615,0x490,_0x348643._0x4a76b3,_0x348643._0x23ba6a)?_0x423844(0x23f,_0x348643._0x2b3577,_0x348643._0x239133,_0x348643._0x461aad):_0x4192e4==='in_progress'?_0x306bb3(0xb9,_0x348643._0x574a20,_0x348643._0x57cca6,_0x348643._0x561a05):_0x423844(_0x348643._0x44f3ea,0x5e1,0x2d6,0x499),_0x2a6ddc=_0x4192e4===_0x423844(_0x348643._0x27a615,_0x348643._0x58ae7c,0x4be,0x6b2)?_0x5995d4[_0x306bb3(_0x348643._0x2da051,_0x348643._0x2690f8,0x480,0x3ed)][_0x423844(_0x348643._0x4716c8,_0x348643._0x21fe0c,0x31,0x2a9)]:_0x4192e4===_0x423844(_0x348643._0x5a785e,_0x348643._0x4067a0,0x559,_0x348643._0x5f4ea8)?_0x5995d4[_0x306bb3(_0x348643._0x112a02,0x560,0x3d6,_0x348643._0x178cb6)][_0x306bb3(0x232,_0x348643._0x489d17,_0x348643._0x17f1d7,_0x348643._0x437a49)]:_0x5995d4[_0x423844(0x180,-_0x348643._0x56c488,_0x348643._0x2e64e9,_0x348643._0x8f5816)][_0x306bb3(0x12f,_0x348643._0x12e99d,-0x23,_0x348643._0x2f5368)];return _0x353ab3(_0x16e94a,{'dimColor':!0x0,'color':_0x2a6ddc,'children':_0x47ddcf+'\x20'+_0x44be53[_0x423844(_0x348643._0x5cdf9b,0xc3,_0x348643._0xfa9e1f,0xe2)]},_0x4435c2+'-todo-'+_0x44be53['id']);})});};import{Box as _0x58be57}from'ink';import{isFileEditSuccess as _0x461389}from'@nuvin/nuvin-core';import{Box as _0x45de7b,Text as _0x146145}from'ink';import{jsx as _0x1714ee,jsxs as _0x4b5781}from'react/jsx-runtime';function zc(_0x44c2c1,_0x3bee60,_0x59ff71){const _0x2dfaf9={_0x594b99:0x172,_0x2ece84:0x4b,_0x24205d:0x4f,_0x55a1f2:0x1ea,_0x1bce32:0x1a7,_0x2a82ea:0x1bd,_0x4c19d5:0x122,_0x43ac62:0x28f},_0x3614e1={_0x24031d:0x11c,_0x406c72:0x199,_0x2d6ff3:0xf0,_0x531264:0x1e1},_0x1d4f8b={_0x14453f:0xe1},_0x3e0cbb={_0x4fd2ef:0x1d3},_0xfc576c={_0x4fc806:0x55};function _0x16854b(_0x5f52a7,_0x2591a2,_0x3d861d,_0x3d17e1){return _0x5a69d4(_0x5f52a7-0x117,_0x2591a2-_0xfc576c._0x4fc806,_0x3d17e1,_0x3d17e1-0xc3);}let _0x367d1f=_0x44c2c1['replace'](/\n$/,''),_0x1b17ee=_0x3bee60[_0x30c893(_0x2dfaf9._0x594b99,_0x2dfaf9._0x2ece84,0x1c1,_0x2dfaf9._0x24205d)](/\n$/,''),_0x2c9a56=_0x367d1f[_0x30c893(0xa8,_0x2dfaf9._0x55a1f2,_0x2dfaf9._0x1bce32,0xb1)]('\x0a'),_0x50036f=_0x1b17ee[_0x30c893(_0x2dfaf9._0x2a82ea,-0x6b,_0x2dfaf9._0x1bce32,0x29d)]('\x0a'),_0x3970aa=[];function _0x30c893(_0x1f9c17,_0x1da8cc,_0x5b6712,_0xa5c963){return _0x3764a2(_0x5b6712-0x273,_0x1da8cc-0x16,_0xa5c963,_0xa5c963-_0x3e0cbb._0x4fd2ef);}if(_0x367d1f===_0x1b17ee)return _0x2c9a56[_0x30c893(_0x2dfaf9._0x4c19d5,0x1b1,_0x2dfaf9._0x43ac62,0x3d0)]((_0x74addd,_0x5e2f67)=>{let _0xa4c565=_0x59ff71?_0x59ff71[_0x44bbb1(0x100,_0x3614e1._0x24031d,_0x3614e1._0x406c72,-0xfa)]+_0x5e2f67:_0x5e2f67+0x1;function _0x5c77f4(_0x3e892d,_0x299b40,_0x19a406,_0x1e6682){return _0x16854b(_0x3e892d-0x182,_0x299b40- -0x6b0,_0x19a406-0x1b4,_0x3e892d);}function _0x44bbb1(_0x2da35e,_0x22c661,_0x2ea420,_0x76bde6){return _0x30c893(_0x2da35e-_0x1d4f8b._0x14453f,_0x22c661-0xd0,_0x2da35e- -0x2a0,_0x2ea420);}_0x3970aa[_0x44bbb1(0x4a,-_0x3614e1._0x2d6ff3,-0x52,_0x3614e1._0x531264)]({'type':_0x44bbb1(0x138,0x137,0x2b,-0x105),'content':_0x74addd,'oldLineNum':_0xa4c565,'newLineNum':_0xa4c565});}),_0x3970aa;let _0xeda804=Gc(_0x2c9a56,_0x50036f);return Jc(_0x2c9a56,_0x50036f,_0xeda804,_0x59ff71);}function Gc(_0x4e1249,_0x4dea52){const _0x3b0aff={_0x7d0c0d:0x7be,_0x74a3a8:0x813,_0x1d988d:0x8e7,_0x508754:0x632},_0x31c3fb={_0xa9529d:0x4d},_0xec7215={_0x33931d:0x21,_0x5c95cc:0x9e,_0x51f1e3:0x131};let _0x395792=_0x4e1249[_0xd78f70(0xa02,_0x3b0aff._0x7d0c0d,0x7bd,_0x3b0aff._0x74a3a8)],_0x3e4d9e=_0x4dea52[_0xd78f70(_0x3b0aff._0x1d988d,0x6a1,0x7bd,0x73b)],_0x18c141=Array(_0x395792+0x1)['fill'](0x0)['map'](()=>Array(_0x3e4d9e+0x1)['fill'](0x0));function _0x1b1922(_0x4f4282,_0x587f31,_0x3a5c2f,_0x26cac2){return _0x5a69d4(_0x4f4282-_0xec7215._0x33931d,_0x26cac2-_0xec7215._0x5c95cc,_0x4f4282,_0x26cac2-_0xec7215._0x51f1e3);}for(let _0x1c5d78=0x1;_0x1c5d78<=_0x395792;_0x1c5d78++)for(let _0x46b60c=0x1;_0x46b60c<=_0x3e4d9e;_0x46b60c++)_0x4e1249[_0x1c5d78-0x1]===_0x4dea52[_0x46b60c-0x1]?_0x18c141[_0x1c5d78][_0x46b60c]=_0x18c141[_0x1c5d78-0x1][_0x46b60c-0x1]+0x1:_0x18c141[_0x1c5d78][_0x46b60c]=Math[_0xd78f70(_0x3b0aff._0x508754,0x949,0x858,0x8e8)](_0x18c141[_0x1c5d78-0x1][_0x46b60c],_0x18c141[_0x1c5d78][_0x46b60c-0x1]);function _0xd78f70(_0x4bb97e,_0x4250d8,_0x26d729,_0x3891f0){return _0x5a69d4(_0x4bb97e-_0x31c3fb._0xa9529d,_0x26d729- -0x5a,_0x4bb97e,_0x3891f0-0x102);}return _0x18c141;}function Yc(_0x3b9057,_0x1b7030){const _0x46faa7={_0x4c7c85:0x677,_0x15abc5:0x49e,_0x39186e:0x4a6,_0x87e196:0x5f8,_0x33bad9:0x802,_0x1718fc:0x654,_0x56f0da:0x6c1,_0xaf6e95:0x830,_0x5bc89e:0x6dc,_0x3d4172:0x498,_0x384465:0x4ad,_0x458be5:0x3d6,_0x14a63b:0x650,_0x456095:0x43f,_0x2e45c9:0x306,_0x4d2d48:0x2a9,_0x30b236:0x425,_0x34610a:0x612,_0x3fac1f:0x47e,_0x24f79c:0x511,_0x169a46:0x657,_0x2834e7:0x155,_0x5f43c0:0x143,_0x4e873d:0x241,_0x3a97e1:0x221,_0x5d3308:0x1c1,_0x203e7c:0x340,_0x1ff4a9:0x273,_0x326e57:0x387,_0x1284da:0x3a3,_0x1cdb6c:0x6ab,_0x21fddf:0x4a6,_0x32ddbc:0x6c9,_0x35e2f2:0xb2,_0x4fe263:0x15e,_0x383930:0xbd,_0xacbc55:0x221,_0x2d3670:0x9,_0x47badb:0x4ee,_0xb292ad:0x86d,_0x2fbaea:0x64d,_0x371593:0x7b0,_0x40e027:0x5c7,_0x421586:0x3bd},_0x15a12b={_0xca3b02:0x27,_0x486e74:0x371},_0x458d91={_0x4c6b18:0x358,_0xd81ad5:0x105,_0x41537d:0x9};let _0x19a5cd=[],_0x5be86e=[],_0x17704e=0x0;for(;_0x17704e<_0x3b9057[_0x22628d(_0x46faa7._0x4c7c85,_0x46faa7._0x15abc5,_0x46faa7._0x39186e,_0x46faa7._0x87e196)]&&_0x17704e<_0x1b7030['length']&&_0x3b9057[_0x17704e]===_0x1b7030[_0x17704e];)_0x17704e++;let _0x2b4586=0x0;for(;_0x2b4586<_0x3b9057[_0x20e0be(_0x46faa7._0x33bad9,_0x46faa7._0x1718fc,_0x46faa7._0x56f0da,_0x46faa7._0xaf6e95)]-_0x17704e&&_0x2b4586<_0x1b7030['length']-_0x17704e&&_0x3b9057[_0x3b9057[_0x22628d(0x37b,_0x46faa7._0x5bc89e,0x4a6,_0x46faa7._0x3d4172)]-0x1-_0x2b4586]===_0x1b7030[_0x1b7030[_0x22628d(_0x46faa7._0x384465,_0x46faa7._0x458be5,0x4a6,_0x46faa7._0x14a63b)]-0x1-_0x2b4586];)_0x2b4586++;function _0x20e0be(_0xd71ff,_0x37e19e,_0x1bf4af,_0x2892db){return _0x3764a2(_0x37e19e-_0x458d91._0x4c6b18,_0x37e19e-_0x458d91._0xd81ad5,_0x1bf4af,_0x2892db-_0x458d91._0x41537d);}let _0x336a2c=_0x3b9057[_0x20e0be(0x524,_0x46faa7._0x456095,_0x46faa7._0x2e45c9,_0x46faa7._0x4d2d48)](_0x17704e,_0x3b9057['length']-_0x2b4586),_0x253508=_0x1b7030['slice'](_0x17704e,_0x1b7030[_0x20e0be(0x867,0x654,_0x46faa7._0x30b236,0x50d)]-_0x2b4586);function _0x22628d(_0x16bc59,_0x309b25,_0x5ac98d,_0x2f9c44){return _0x5a69d4(_0x16bc59-_0x15a12b._0xca3b02,_0x5ac98d- -_0x15a12b._0x486e74,_0x16bc59,_0x2f9c44-0x8c);}return _0x17704e>0x0&&(_0x19a5cd[_0x20e0be(_0x46faa7._0x34610a,0x3cf,_0x46faa7._0x3fac1f,_0x46faa7._0x24f79c)]({'type':_0x20e0be(0x602,0x4ee,_0x46faa7._0x169a46,0x2bb),'text':_0x3b9057[_0x22628d(_0x46faa7._0x2834e7,_0x46faa7._0x5f43c0,0x291,_0x46faa7._0x4e873d)](0x0,_0x17704e)}),_0x5be86e[_0x22628d(0xa7,0x124,_0x46faa7._0x3a97e1,0x389)]({'type':_0x22628d(0x3d8,_0x46faa7._0x5d3308,_0x46faa7._0x203e7c,0x187),'text':_0x1b7030[_0x22628d(_0x46faa7._0x1ff4a9,_0x46faa7._0x326e57,0x291,_0x46faa7._0x1284da)](0x0,_0x17704e)})),_0x336a2c[_0x22628d(_0x46faa7._0x1cdb6c,0x49e,_0x46faa7._0x21fddf,0x503)]>0x0&&_0x19a5cd['push']({'type':'remove','text':_0x336a2c}),_0x253508[_0x20e0be(0x7fd,0x654,0x533,_0x46faa7._0x32ddbc)]>0x0&&_0x5be86e[_0x22628d(_0x46faa7._0x35e2f2,_0x46faa7._0x4fe263,0x221,0x20e)]({'type':'add','text':_0x253508}),_0x2b4586>0x0&&(_0x19a5cd[_0x22628d(_0x46faa7._0x383930,0x1ae,_0x46faa7._0xacbc55,_0x46faa7._0x2d3670)]({'type':_0x20e0be(0x53a,_0x46faa7._0x47badb,0x3a3,0x4ee),'text':_0x3b9057[_0x20e0be(0x51a,0x43f,0x4ec,0x264)](_0x3b9057[_0x20e0be(_0x46faa7._0xb292ad,_0x46faa7._0x1718fc,_0x46faa7._0x2fbaea,_0x46faa7._0x371593)]-_0x2b4586)}),_0x5be86e[_0x20e0be(_0x46faa7._0x40e027,0x3cf,0x254,_0x46faa7._0x421586)]({'type':'unchanged','text':_0x1b7030['slice'](_0x1b7030['length']-_0x2b4586)})),{'old':_0x19a5cd,'new':_0x5be86e};}function qc(_0x27040d,_0xede100){const _0x214c10={_0xbab392:0x443,_0x264af1:0x61a,_0x23a0ec:0x53b,_0x1d7d9d:0x331,_0x5bff1f:0x5c4,_0x481f52:0x488,_0x4e311d:0x443,_0xacf3a1:0x2d8,_0x2a44fa:0x617,_0x41bb4b:0x1f8,_0x48d155:0x443,_0x2090dc:0x204,_0x83a5a6:0x466},_0x4d5136={_0x4e550f:0x147,_0x34a720:0x191},_0x3f683a={_0x1893fb:0xce,_0x59f1bf:0x38f,_0x493793:0x102};let _0xe17c46=_0x27040d[_0x3a3179(_0x214c10._0xbab392,0x40e,_0x214c10._0x264af1,_0x214c10._0x23a0ec)]>_0xede100[_0x4036fb(_0x214c10._0x1d7d9d,_0x214c10._0x5bff1f,0x59a,_0x214c10._0x481f52)]?_0x27040d:_0xede100;if(_0xe17c46[_0x3a3179(_0x214c10._0x4e311d,_0x214c10._0xacf3a1,_0x214c10._0x2a44fa,0x270)]===0x0)return 0x1;let _0x1d5288=Xc(_0x27040d,_0xede100);function _0x4036fb(_0x5ec8a7,_0x507a9b,_0x2eec66,_0x26406a){return _0x5a69d4(_0x5ec8a7-_0x3f683a._0x1893fb,_0x26406a- -_0x3f683a._0x59f1bf,_0x5ec8a7,_0x26406a-_0x3f683a._0x493793);}function _0x3a3179(_0x2511a1,_0x2794ac,_0x5b9eae,_0x238e14){return _0x3764a2(_0x2511a1-_0x4d5136._0x4e550f,_0x2794ac-0x1e6,_0x238e14,_0x238e14-_0x4d5136._0x34a720);}return(_0xe17c46[_0x3a3179(0x443,_0x214c10._0x41bb4b,0x243,0x2b6)]-_0x1d5288)/_0xe17c46[_0x3a3179(_0x214c10._0x48d155,_0x214c10._0x2090dc,_0x214c10._0x83a5a6,0x515)];}function Xc(_0xf38222,_0x352b37){const _0x5b978b={_0x522266:0x215,_0x533191:0x6ea,_0x272af8:0x69e,_0x5b8d49:0x75a,_0x227180:0xc5,_0x2cec4f:0x169},_0x3e965d={_0x16e2ca:0xe7,_0x16596e:0xcc,_0x2d8140:0x96};let _0x30ab16=_0xf38222[_0x1cedd(_0x5b978b._0x522266,0x1,0x3e0,0x2e9)],_0x39c0f5=_0x352b37[_0x1cedd(0x215,0x26f,0x434,0x228)],_0x189bdd=Array(_0x30ab16+0x1)['fill'](0x0)[_0x51f571(_0x5b978b._0x533191,_0x5b978b._0x272af8,0x5f0,_0x5b978b._0x5b8d49)](()=>Array(_0x39c0f5+0x1)[_0x51f571(0x429,0x4ed,0x50c,0x5e4)](0x0));function _0x51f571(_0x14f2ac,_0x5a8f42,_0x293c7b,_0x168ae9){return _0x3764a2(_0x14f2ac-0x35d,_0x5a8f42-0xf,_0x168ae9,_0x168ae9-0xd);}for(let _0x41f14c=0x0;_0x41f14c<=_0x30ab16;_0x41f14c++)_0x189bdd[_0x41f14c][0x0]=_0x41f14c;for(let _0x40c33b=0x0;_0x40c33b<=_0x39c0f5;_0x40c33b++)_0x189bdd[0x0][_0x40c33b]=_0x40c33b;for(let _0x3fe667=0x1;_0x3fe667<=_0x30ab16;_0x3fe667++)for(let _0x4a7eb6=0x1;_0x4a7eb6<=_0x39c0f5;_0x4a7eb6++)_0xf38222[_0x3fe667-0x1]===_0x352b37[_0x4a7eb6-0x1]?_0x189bdd[_0x3fe667][_0x4a7eb6]=_0x189bdd[_0x3fe667-0x1][_0x4a7eb6-0x1]:_0x189bdd[_0x3fe667][_0x4a7eb6]=Math[_0x1cedd(_0x5b978b._0x227180,-_0x5b978b._0x2cec4f,0xbc,-0x12b)](_0x189bdd[_0x3fe667-0x1][_0x4a7eb6],_0x189bdd[_0x3fe667][_0x4a7eb6-0x1],_0x189bdd[_0x3fe667-0x1][_0x4a7eb6-0x1])+0x1;function _0x1cedd(_0x547ffa,_0xac0332,_0xec6f94,_0x33f418){return _0x3764a2(_0x547ffa- -_0x3e965d._0x16e2ca,_0xac0332-_0x3e965d._0x16596e,_0xec6f94,_0x33f418-_0x3e965d._0x2d8140);}return _0x189bdd[_0x30ab16][_0x39c0f5];}function Jc(_0x408970,_0x4d01b9,_0x33bb37,_0x1a2fe7){const _0x2d9056={_0x2b2663:0x724,_0x570349:0x6f3,_0x456a4c:0x537,_0x14b38d:0x5c5,_0x551f96:0x81d,_0x4fdc92:0x69b,_0x3fa354:0x759,_0x11c11b:0x5b3,_0x115243:0x5b5,_0x2bc35f:0x42e,_0x27282e:0x4fe,_0x531537:0x64c,_0x417a37:0x876,_0xcf1aaf:0x62e,_0x5c2285:0x56c,_0x1f2498:0x3af,_0x30ce08:0x37c,_0x5dd670:0xba,_0x2acf59:0x496,_0x256f82:0x3fc,_0x43e8cb:0x25d,_0x380a8e:0x59f,_0x497aea:0x3df,_0x2bffce:0x283,_0x21a075:0x309,_0x2a3bfc:0x302,_0x51b78e:0x2bb,_0x536c86:0x45c,_0x52e841:0x34b,_0x22795d:0x25a,_0x498325:0x2be,_0x3f12b0:0x543,_0x433995:0x263,_0x553a5c:0x118,_0x3baac3:0x31d,_0x5a7c22:0x4f8,_0x2f10f3:0x2d8,_0x3e5b51:0x340,_0x4f4cf8:0x3c0,_0x2f8ffd:0x22a,_0x107b2e:0x2f1,_0x1cb6a7:0x4f0,_0x188ad3:0x3e4,_0x4b53fe:0x5dc,_0x388f55:0x2ae,_0x667172:0x2b3,_0x21df38:0x513,_0x1deb6c:0x279,_0x126602:0x3d9},_0x16d8fb={_0x517f76:0x4f};let _0x3db846=_0x408970['length'],_0x1934e2=_0x4d01b9[_0x4d17db(_0x2d9056._0x2b2663,_0x2d9056._0x570349,_0x2d9056._0x456a4c,_0x2d9056._0x14b38d)],_0x5743c0=_0x1a2fe7?_0x1a2fe7[_0x32e392(_0x2d9056._0x551f96,0x616,0x788,0x5d6)]:_0x3db846,_0xb10485=_0x1a2fe7?_0x1a2fe7['newEndLine']:_0x1934e2,_0xae648c=[];for(;_0x3db846>0x0||_0x1934e2>0x0;)_0x3db846>0x0&&_0x1934e2>0x0&&_0x408970[_0x3db846-0x1]===_0x4d01b9[_0x1934e2-0x1]?(_0xae648c[_0x4d17db(_0x2d9056._0x4fdc92,_0x2d9056._0x3fa354,0x5b1,_0x2d9056._0x11c11b)]({'type':_0x4d17db(0x617,0x26a,_0x2d9056._0x115243,_0x2d9056._0x2bc35f),'content':_0x408970[_0x3db846-0x1],'oldLineNum':_0x5743c0,'newLineNum':_0xb10485}),_0x3db846--,_0x1934e2--,_0x5743c0--,_0xb10485--):_0x1934e2>0x0&&(_0x3db846===0x0||_0x33bb37[_0x3db846][_0x1934e2-0x1]>=_0x33bb37[_0x3db846-0x1][_0x1934e2])?(_0xae648c[_0x32e392(_0x2d9056._0x27282e,0x43c,0x775,_0x2d9056._0x531537)]({'type':'add','content':_0x4d01b9[_0x1934e2-0x1],'newLineNum':_0xb10485}),_0x1934e2--,_0xb10485--):_0x3db846>0x0&&(_0xae648c[_0x32e392(_0x2d9056._0x417a37,0x6b7,_0x2d9056._0xcf1aaf,0x64c)]({'type':_0x32e392(0x4e7,0x4fe,_0x2d9056._0x5c2285,0x408),'content':_0x408970[_0x3db846-0x1],'oldLineNum':_0x5743c0}),_0x3db846--,_0x5743c0--);let _0x4a987f=[];function _0x32e392(_0x2b6a75,_0x3ee054,_0x543a5b,_0x5cc78a){return _0x3764a2(_0x5cc78a-0x362,_0x3ee054-_0x16d8fb._0x517f76,_0x2b6a75,_0x5cc78a-0xb0);}function _0x4d17db(_0x191761,_0x308582,_0xdcd9e1,_0x253ac0){return _0x5a69d4(_0x191761-0x11,_0x253ac0- -0x252,_0xdcd9e1,_0x253ac0-0x1e5);}for(let _0x49ea5f=0x0;_0x49ea5f<_0xae648c[_0x32e392(0x4f1,0x518,0x4b2,0x65e)];_0x49ea5f++){let _0x3339a8=_0xae648c[_0x49ea5f],_0x56f1ff=_0xae648c[_0x49ea5f+0x1];if(_0x3339a8[_0x32e392(0x51f,0x4c9,0x3ae,_0x2d9056._0x1f2498)]==='remove'&&_0x56f1ff?.[_0x4d17db(0x49b,_0x2d9056._0x30ce08,0x1dc,0x316)]===_0x4d17db(_0x2d9056._0x5dd670,_0x2d9056._0x2acf59,_0x2d9056._0x256f82,_0x2d9056._0x43e8cb)&&_0x3339a8[_0x4d17db(0x584,_0x2d9056._0x380a8e,_0x2d9056._0x497aea,0x512)]&&_0x56f1ff['newLineNum']&&qc(_0x3339a8[_0x32e392(_0x2d9056._0x2bffce,0x65c,_0x2d9056._0x21a075,0x45c)],_0x56f1ff[_0x32e392(_0x2d9056._0x2a3bfc,_0x2d9056._0x51b78e,0x324,_0x2d9056._0x536c86)])>0.5){let _0x2becd3=Yc(_0x3339a8[_0x4d17db(0x21a,0x51f,0x386,0x3c3)],_0x56f1ff['content']);_0x4a987f['push']({'type':_0x4d17db(0x2a9,_0x2d9056._0x52e841,_0x2d9056._0x22795d,_0x2d9056._0x498325),'content':_0x3339a8['content'],'oldLineNum':_0x3339a8['oldLineNum'],'segments':_0x2becd3[_0x4d17db(_0x2d9056._0x3f12b0,_0x2d9056._0x433995,_0x2d9056._0x553a5c,_0x2d9056._0x3baac3)]}),_0x4a987f[_0x4d17db(_0x2d9056._0x5a7c22,_0x2d9056._0x2f10f3,0x2fa,_0x2d9056._0x3e5b51)]({'type':_0x32e392(_0x2d9056._0x4f4cf8,_0x2d9056._0x2f8ffd,_0x2d9056._0x107b2e,0x357),'content':_0x56f1ff[_0x32e392(0x26f,0x22e,_0x2d9056._0x1cb6a7,0x45c)],'newLineNum':_0x56f1ff[_0x4d17db(_0x2d9056._0x188ad3,_0x2d9056._0x4b53fe,0x616,0x412)],'segments':_0x2becd3[_0x32e392(0x17f,0xf1,_0x2d9056._0x388f55,_0x2d9056._0x667172)]}),_0x49ea5f++;}else _0x4a987f[_0x32e392(0x258,_0x2d9056._0x21df38,_0x2d9056._0x1deb6c,_0x2d9056._0x126602)](_0x3339a8);}return _0x4a987f;}function Zc({line:_0x3d9b9b,lineNumWidth:_0x5329ec=0x3}){const _0x47734d={_0x57bd78:0x26d,_0x57cb7e:0x347,_0x4c5d34:0x187,_0x3dab8d:0x22c,_0x113519:0x3c8,_0x5a4f62:0x1d8,_0xb1258:0x535,_0x33aca9:0x4b6,_0x3ae584:0x424,_0x584bf2:0x483,_0x42ce55:0x762,_0x58a09e:0x855,_0x4a93d9:0x65c,_0x3e7021:0x8a4,_0x52f0c4:0x612,_0x37623a:0x508,_0x4a2b3d:0x42a,_0xe4e8f:0x875,_0x4b0b0d:0x665,_0x3a89ee:0x71a,_0x373680:0x45f,_0x418e10:0x6aa,_0xffcaeb:0x740,_0x40a591:0x30f,_0x4cffea:0x3ad,_0x153233:0x521,_0x18e79d:0x848,_0x568dc3:0x4a3,_0x3856c8:0x5a7,_0x28ca8c:0x437,_0x39cb30:0x325,_0x4e1acf:0x788,_0x4ceff0:0x6a7,_0xfd4ec8:0x5ba,_0x332fb6:0x3a3,_0x457d2d:0x1a7,_0x1ac778:0x4d2,_0x35a70a:0x65b,_0xb1179b:0x499,_0x5e4a24:0x703,_0x276d3c:0x680,_0x1c08aa:0x94f,_0x2422b5:0x164,_0x1d6103:0x3b6,_0x34d719:0x318,_0x36b30a:0x298,_0x443f7e:0x516,_0x5e20d9:0x396,_0x1bb3f1:0x443,_0x2d53b5:0x42a,_0x3bbc78:0x2c3,_0xed239d:0x3d1,_0x3c2990:0x1e6,_0x4df5e2:0x74d,_0x1827ee:0x5de,_0x3f8e6b:0x8f2,_0xd8a97b:0x551,_0x1c570f:0x4c2,_0x4a846d:0x413,_0x3f05f1:0x3d1,_0x5807b6:0x2e2,_0x192607:0x271,_0x570ba2:0x6e4,_0x45d188:0x79b,_0x56d123:0x537,_0xc090d4:0x6d6,_0x33d7d9:0x797,_0x3e5036:0x6b3,_0x4776be:0x296,_0x31727f:0x291,_0x1d1a14:0x4cc,_0x21da53:0x473,_0x906291:0x6aa,_0x32879f:0x7b3,_0x5b45a8:0x608,_0x39762f:0x53f,_0x45f614:0x6b2,_0x7b23b3:0x665,_0x467584:0x35b,_0xb04a31:0x3d1,_0x43aead:0x3a8,_0x2c37cd:0x1e7,_0x1e458f:0x78b,_0xa4d14e:0x5bc,_0x2dcdef:0x3f4,_0x7a79b2:0x42a,_0x203d9b:0x44f,_0x5df21f:0x2bd,_0x302b6b:0x30d,_0xea3b5a:0x544,_0x4f3a8c:0x43f,_0x4d3126:0x73d,_0x39dac9:0x424,_0x81572b:0x606,_0x10663c:0x3c5,_0xfe7857:0x418,_0x583aae:0x380,_0x8e812e:0x13f,_0x16381e:0x600,_0x327f95:0x7aa,_0x14458d:0x38a,_0x42cc71:0x568,_0x169cb9:0x1c4,_0x33065a:0x5d3,_0x30348a:0x51f,_0x12d782:0x600,_0x202008:0x7e4},_0x2adbec={_0x2b10c8:0x2a,_0x56f4ae:0x1ba},_0x5e9436={_0x15583c:0x1a7,_0x1ee92e:0x197,_0x296e35:0x146},_0x18061f={_0x581cce:0x73c,_0x376c93:0x53d,_0x4b4ad4:0x109,_0x3c996c:0x379,_0x18a6e6:0x3a3,_0x34c782:0x4a5,_0x551d50:0x2e7,_0x56c8f2:0x55e,_0x3f7d4d:0x762,_0x3cfb11:0x5bd,_0x4211dc:0x41b,_0xbf75fe:0x4b0,_0x1b45fa:0x663,_0x2b0a31:0x95f,_0x54d1c0:0x96a},_0x140c3c={_0x1be76f:0x17e,_0x17b947:0x122};let {cols:_0x1f00e5}=z(),_0x58ea51=_0x3d9b9b['oldLineNum']||_0x3d9b9b['newLineNum']||0x0,_0xb94868=String(_0x58ea51)[_0x23fac1(_0x47734d._0x57bd78,0x16c,_0x47734d._0x57cb7e,0x2b9)](_0x5329ec,'\x20')+'│\x20';if(_0x3d9b9b[_0x23fac1(_0x47734d._0x4c5d34,_0x47734d._0x3dab8d,_0x47734d._0x113519,_0x47734d._0x5a4f62)]===_0x23fac1(0x21f,_0x47734d._0xb1258,0x370,0x375)&&_0x3d9b9b[_0x25d490(_0x47734d._0x33aca9,_0x47734d._0x3ae584,0x437,_0x47734d._0x584bf2)]){let _0x5e3480=_0x3d9b9b['oldLineNum']?'-':'+',_0x510df1=!!_0x3d9b9b['oldLineNum'],_0x2274c6=_0x510df1?j[_0x23fac1(_0x47734d._0x42ce55,_0x47734d._0x58a09e,_0x47734d._0x4a93d9,_0x47734d._0x3e7021)][_0x23fac1(0x6d6,_0x47734d._0x52f0c4,0x6aa,0x6e5)][_0x25d490(_0x47734d._0x37623a,0x3cf,0x4bc,_0x47734d._0x4a2b3d)]:j[_0x25d490(0x53a,0x7b5,_0x47734d._0xe4e8f,_0x47734d._0x4b0b0d)][_0x23fac1(_0x47734d._0x3a89ee,_0x47734d._0x373680,_0x47734d._0x418e10,_0x47734d._0xffcaeb)][_0x23fac1(0x463,0x1aa,_0x47734d._0x40a591,_0x47734d._0x4cffea)],_0x2c64c1=_0x510df1?j[_0x23fac1(_0x47734d._0x153233,_0x47734d._0x18e79d,0x65c,0x829)]['background']['remove']:j[_0x23fac1(_0x47734d._0x568dc3,0x808,0x65c,_0x47734d._0x3856c8)]['background'][_0x23fac1(_0x47734d._0x28ca8c,_0x47734d._0x39cb30,0x30f,0x213)];return _0x4b5781(_0x45de7b,{'children':[_0x4b5781(_0x45de7b,{'children':[_0x1714ee(_0x146145,{'dimColor':!0x0,'color':j[_0x25d490(_0x47734d._0x4e1acf,_0x47734d._0x4ceff0,0x779,0x665)][_0x25d490(_0x47734d._0xfd4ec8,0x3d7,0x53d,_0x47734d._0x332fb6)],'children':_0xb94868}),_0x1714ee(_0x146145,{'color':_0x2274c6,'children':_0x5e3480})]}),_0x1714ee(_0x45de7b,{'flexDirection':_0x23fac1(_0x47734d._0x457d2d,0x354,0x3d3,_0x47734d._0x1ac778),'flexWrap':_0x23fac1(_0x47734d._0x35a70a,0x550,0x51f,_0x47734d._0xb1179b),'width':_0x1f00e5-_0xb94868[_0x25d490(_0x47734d._0x5e4a24,0x707,0x7a3,_0x47734d._0x276d3c)]-0x5,'children':_0x3d9b9b['segments'][_0x25d490(0x721,_0x47734d._0x1c08aa,0x8fb,0x711)]((_0x1800a6,_0x269bc9)=>{const _0x1c042a={_0x6b515e:0xd9};function _0x9c1cd7(_0x1f2cb4,_0x301eb6,_0x425d10,_0x1bc3bf){return _0x25d490(_0x1f2cb4-0xaa,_0x301eb6-_0x1c042a._0x6b515e,_0x1bc3bf,_0x1f2cb4- -0x107);}let _0x68aef5=_0x510df1&&_0x1800a6[_0x476cc6(0x4f3,_0x18061f._0x581cce,_0x18061f._0x376c93,0x467)]===_0x9c1cd7(0x323,_0x18061f._0x4b4ad4,_0x18061f._0x3c996c,0x23d)||!_0x510df1&&_0x1800a6[_0x9c1cd7(0x2ca,_0x18061f._0x18a6e6,0x347,0x389)]===_0x476cc6(0x43a,0x201,0x63c,0x591)?_0x510df1?j['diff'][_0x476cc6(0x438,0x2ac,0x3c7,0x5d4)][_0x9c1cd7(_0x18061f._0x34c782,0x4f6,_0x18061f._0x551d50,0x434)]:j[_0x9c1cd7(_0x18061f._0x56c8f2,0x74d,_0x18061f._0x3f7d4d,0x418)]['background'][_0x476cc6(_0x18061f._0x3cfb11,_0x18061f._0x4211dc,0x6ea,0x6b3)]:_0x2c64c1,_0x38f982=_0x1800a6[_0x9c1cd7(0x4e9,_0x18061f._0xbf75fe,0x6aa,0x2d6)]['replace'](/\t/g,'\x20\x20');function _0x476cc6(_0x466872,_0x373d47,_0x5cc126,_0x133284){return _0x25d490(_0x466872-_0x140c3c._0x1be76f,_0x373d47-0x143,_0x5cc126,_0x466872-_0x140c3c._0x17b947);}return _0x1714ee(_0x146145,{'backgroundColor':_0x68aef5,'color':j[_0x476cc6(0x787,_0x18061f._0x1b45fa,_0x18061f._0x2b0a31,_0x18061f._0x54d1c0)]['text'],'children':_0x38f982},_0x58ea51+'-'+_0x269bc9+'-'+_0x1800a6['type']);})})]});}function _0x25d490(_0x5682b5,_0x261f5d,_0x44fb42,_0x1a0fec){return _0x5a69d4(_0x5682b5-_0x5e9436._0x15583c,_0x1a0fec- -_0x5e9436._0x1ee92e,_0x44fb42,_0x1a0fec-_0x5e9436._0x296e35);}function _0x23fac1(_0x414336,_0x2ed7a6,_0x5f0fb1,_0x284a63){return _0x3764a2(_0x5f0fb1-0x37b,_0x2ed7a6-_0x2adbec._0x2b10c8,_0x284a63,_0x284a63-_0x2adbec._0x56f4ae);}let _0x4f9e4b=_0x3d9b9b['type']===_0x25d490(0x2bf,_0x47734d._0x2422b5,_0x47734d._0x1d6103,_0x47734d._0x34d719)?'+':_0x3d9b9b[_0x23fac1(_0x47734d._0x36b30a,_0x47734d._0x443f7e,0x3c8,0x3a8)]===_0x25d490(0x261,_0x47734d._0x5e20d9,_0x47734d._0x1bb3f1,_0x47734d._0x2d53b5)?'-':'\x20',_0x278b10=_0x3d9b9b[_0x25d490(_0x47734d._0x3bbc78,0x477,0x236,_0x47734d._0xed239d)]===_0x23fac1(0x19c,0x4c3,0x30f,_0x47734d._0x3c2990)?j[_0x25d490(_0x47734d._0x4df5e2,_0x47734d._0x1827ee,0x5b4,0x665)][_0x25d490(_0x47734d._0x3f8e6b,_0x47734d._0xd8a97b,0x8eb,0x6b3)]['add']:_0x3d9b9b[_0x25d490(0x39f,_0x47734d._0x1c570f,_0x47734d._0x4a846d,_0x47734d._0x3f05f1)]===_0x23fac1(_0x47734d._0x5807b6,0x338,0x421,_0x47734d._0x192607)?j[_0x23fac1(0x614,_0x47734d._0x570ba2,0x65c,_0x47734d._0x45d188)][_0x25d490(_0x47734d._0x56d123,_0x47734d._0xc090d4,_0x47734d._0x33d7d9,_0x47734d._0x3e5036)][_0x25d490(_0x47734d._0x4776be,_0x47734d._0x31727f,0x585,_0x47734d._0x4a2b3d)]:j['diff'][_0x23fac1(_0x47734d._0x1d1a14,_0x47734d._0x21da53,_0x47734d._0x906291,_0x47734d._0x32879f)][_0x25d490(0x577,0x52d,0x606,0x4e9)],_0x11598d=_0x3d9b9b[_0x23fac1(0x3e6,_0x47734d._0x5b45a8,_0x47734d._0x113519,0x469)]===_0x25d490(_0x47734d._0x39762f,0x379,0x3a0,_0x47734d._0x34d719)?j[_0x25d490(_0x47734d._0x45f614,0x4b1,0x464,_0x47734d._0x7b23b3)]['background'][_0x25d490(_0x47734d._0x467584,0x55d,0x2df,0x318)]:_0x3d9b9b[_0x25d490(0x356,0x1b7,0x200,_0x47734d._0xb04a31)]===_0x25d490(0x466,_0x47734d._0x43aead,_0x47734d._0x2c37cd,_0x47734d._0x2d53b5)?j[_0x25d490(_0x47734d._0x1e458f,0x7d2,_0x47734d._0xa4d14e,_0x47734d._0x4b0b0d)]['background'][_0x25d490(0x42e,0x5b9,_0x47734d._0x2dcdef,_0x47734d._0x7a79b2)]:void 0x0,_0x303b7f=_0x3d9b9b[_0x23fac1(0x542,_0x47734d._0x203d9b,_0x47734d._0x113519,_0x47734d._0x5df21f)]==='add'||_0x3d9b9b[_0x25d490(_0x47734d._0x302b6b,0x557,0x40f,_0x47734d._0x3f05f1)]===_0x23fac1(_0x47734d._0xea3b5a,0x301,0x421,_0x47734d._0x4f3a8c)?j[_0x23fac1(_0x47734d._0x4d3126,0x4fe,0x65c,0x7d9)][_0x23fac1(_0x47734d._0x39dac9,_0x47734d._0x81572b,0x5e7,0x80e)]:j['diff']['contextText'],_0x32808d=_0x3d9b9b[_0x23fac1(_0x47734d._0x10663c,_0x47734d._0xfe7857,0x475,0x49a)][_0x23fac1(_0x47734d._0x583aae,0xd0,0x2c9,_0x47734d._0x8e812e)](/\t/g,'\x20\x20');return _0x4b5781(_0x45de7b,{'children':[_0x4b5781(_0x45de7b,{'children':[_0x1714ee(_0x146145,{'dimColor':!0x0,'color':j[_0x23fac1(_0x47734d._0x16381e,_0x47734d._0x327f95,_0x47734d._0x4a93d9,0x45b)][_0x25d490(_0x47734d._0x14458d,_0x47734d._0x42cc71,_0x47734d._0x169cb9,_0x47734d._0x332fb6)],'children':_0xb94868}),_0x1714ee(_0x146145,{'color':_0x278b10,'children':_0x4f9e4b})]}),_0x1714ee(_0x45de7b,{'flexWrap':_0x23fac1(0x4c1,_0x47734d._0x33065a,_0x47734d._0x30348a,_0x47734d._0x12d782),'width':_0x1f00e5-_0xb94868[_0x25d490(_0x47734d._0x202008,0x816,_0x47734d._0x7b23b3,_0x47734d._0x276d3c)]-0x5,'children':_0x1714ee(_0x146145,{'backgroundColor':_0x11598d,'color':_0x303b7f,'children':_0x32808d})})]});}function ko({blocks:_0x1bb7b5,filePath:_0x1aa096,showPath:_0x3f29ec=!0x1,lineNumbers:_0x553a3b}){const _0x588542={_0x56244f:0xe6,_0x4e9fab:0x137,_0x4bf9b4:0x4e9,_0x5072f5:0x3a5,_0x121841:0x39e,_0x921875:0x41b,_0x13dcd9:0x561,_0x5c1934:0x4e2,_0x4ca3f3:0x209,_0x1d1f70:0x267,_0x32a69b:0x430,_0x4264bf:0x5db,_0x2a9663:0x47d,_0x38c2b2:0x1ef,_0x1f85f6:0x6d6},_0x5a1c2e={_0x3926df:0x90e,_0x2a86c2:0x66f,_0x42e4b7:0x8dc,_0x4ee0e8:0x93a,_0xf671f8:0x9de,_0x1f15e1:0x5c3,_0x2110cd:0x475,_0x428ebd:0x4fe,_0x3fd216:0x3ba,_0x699cc8:0x231,_0xb1db4d:0x3ee,_0x1e6a8f:0x98c,_0x579c15:0x589,_0x1aa762:0x52d,_0x1668a8:0x6ee,_0x285123:0x702,_0xc42087:0x8bc,_0x393967:0x88d,_0xfe7286:0x738,_0x528b43:0x7fc,_0x2426ea:0x4d7,_0x4221cf:0x7d7,_0x37602c:0x493,_0x1a2c49:0x492,_0x42b710:0x1dc,_0x572719:0x34a},_0x1679be={_0x5ca02b:0x83c,_0x4062b8:0x748,_0x1413b1:0x519,_0x585eea:0x6e0,_0x59d110:0x715,_0x546291:0x590,_0x557fe4:0x615},_0x3c2943={_0x5b738c:0x160,_0x4d1e91:0x117},_0x5125e6={_0x547875:0xbf,_0x4985cd:0x236,_0x443044:0x18c};function _0x20c8ba(_0x2d9fbe,_0x104d0e,_0x22ff94,_0x28830a){return _0x5a69d4(_0x2d9fbe-_0x5125e6._0x547875,_0x104d0e- -_0x5125e6._0x4985cd,_0x22ff94,_0x28830a-_0x5125e6._0x443044);}function _0x58cf18(_0x925d4c,_0x1608f5,_0x24e5e0,_0x484758){return _0x3764a2(_0x925d4c-0x14f,_0x1608f5-0x66,_0x24e5e0,_0x484758-0xd9);}return _0x4b5781(_0x45de7b,{'flexDirection':_0x58cf18(0x161,-_0x588542._0x56244f,0x1ce,_0x588542._0x4e9fab),'children':[_0x3f29ec&&_0x1aa096&&_0x4b5781(_0x45de7b,{'marginLeft':0x2,'children':[_0x1714ee(_0x146145,{'color':j[_0x58cf18(0x430,_0x588542._0x4bf9b4,0x57a,0x409)][_0x20c8ba(_0x588542._0x5072f5,_0x588542._0x121841,_0x588542._0x921875,0x521)],'children':_0x20c8ba(0x4ee,0x3b7,_0x588542._0x13dcd9,0x1e0)}),_0x1714ee(_0x146145,{'children':_0x1aa096})]}),_0x1bb7b5['map']((_0x581929,_0x2a8997)=>{const _0x423c62={_0xc91156:0x56},_0x32e2e5={_0x22db2f:0x54};function _0x474225(_0x26bc16,_0x4ebbb5,_0x5c7a91,_0xdf2baf){return _0x20c8ba(_0x26bc16-_0x3c2943._0x5b738c,_0x5c7a91-_0x3c2943._0x4d1e91,_0x26bc16,_0xdf2baf-0x133);}let _0x325fbb=zc(_0x581929['search'],_0x581929['replace'],_0x553a3b),_0x5097d5=_0x325fbb['some'](_0x3f3785=>_0x3f3785[_0x4083d2(0x5fe,0x411,0x7b5,0x75b)]!=='context'),_0x211cb5=Math[_0x474225(0x65e,0x8f9,0x793,_0x5a1c2e._0x3926df)](..._0x325fbb[_0x474225(_0x5a1c2e._0x2a86c2,_0x5a1c2e._0x42e4b7,0x789,_0x5a1c2e._0x4ee0e8)](_0x5169f9=>Math[_0x474225(0x9c1,0x85f,0x793,0x633)](_0x5169f9[_0x474225(0x867,0x6e1,0x645,0x6c6)]||0x0,_0x5169f9['newLineNum']||0x0))),_0x15e28c=String(_0x211cb5)[_0x4083d2(0x8ad,0x737,0x977,_0x5a1c2e._0xf671f8)];function _0x4083d2(_0x2ff592,_0x3e31a2,_0x15d7d2,_0x111e6d){return _0x58cf18(_0x2ff592-0x462,_0x3e31a2-0x18b,_0x111e6d,_0x111e6d-_0x32e2e5._0x22db2f);}return _0x4b5781(_0x45de7b,{'flexDirection':_0x4083d2(_0x5a1c2e._0x1f15e1,_0x5a1c2e._0x2110cd,0x65c,0x61a),'children':[_0x1bb7b5['length']>0x1&&_0x4b5781(_0x146145,{'color':j['diff'][_0x4083d2(_0x5a1c2e._0x428ebd,0x396,_0x5a1c2e._0x3fd216,0x382)],'dimColor':!0x0,'children':[_0x474225(_0x5a1c2e._0x699cc8,0x248,_0x5a1c2e._0xb1db4d,0x4a6),_0x2a8997+0x1,'/',_0x1bb7b5[_0x4083d2(0x8ad,0x8ed,_0x5a1c2e._0x1e6a8f,0x85c)],_0x474225(_0x5a1c2e._0x579c15,0x643,0x5e4,_0x5a1c2e._0x1aa762)]}),_0x5097d5?_0x1714ee(_0x45de7b,{'flexDirection':_0x4083d2(0x5c3,_0x5a1c2e._0x1668a8,0x6d1,_0x5a1c2e._0x285123),'children':_0x325fbb['map']((_0x2dc928,_0x273812)=>{let _0x4f3e3c=_0x3cfbcd(_0x1679be._0x5ca02b,0x6d5,0x4a1,_0x1679be._0x4062b8)+_0x2a8997+'-'+_0x273812+'-'+_0x2dc928[_0x3cfbcd(0x717,_0x1679be._0x1413b1,0x505,_0x1679be._0x585eea)]+'-'+(_0x2dc928[_0x3cfbcd(0x8f7,_0x1679be._0x59d110,_0x1679be._0x546291,0x5a7)]||'')+'-'+(_0x2dc928[_0x3cfbcd(0x4e4,_0x1679be._0x557fe4,0x792,0x6a1)]||'');function _0xa56b99(_0x53231e,_0x227bba,_0x548966,_0x499439){return _0x474225(_0x548966,_0x227bba-0x1ba,_0x227bba- -0x364,_0x499439-0x151);}function _0x3cfbcd(_0x1ecc4e,_0x2ddb8d,_0x2fbe70,_0x238f76){return _0x4083d2(_0x2ddb8d- -0xe5,_0x2ddb8d-0xbb,_0x2fbe70-_0x423c62._0xc91156,_0x1ecc4e);}return _0x1714ee(Zc,{'line':_0x2dc928,'lineNumWidth':_0x15e28c},_0x4f3e3c);})}):_0x4b5781(_0x146145,{'color':j[_0x4083d2(0x892,_0x5a1c2e._0xc42087,0x88b,0x8d0)][_0x4083d2(0x7a3,0x7c0,_0x5a1c2e._0x393967,_0x5a1c2e._0xfe7286)],'dimColor':!0x0,'children':['\x20',_0x474225(_0x5a1c2e._0x528b43,_0x5a1c2e._0x2426ea,0x6bd,_0x5a1c2e._0x4221cf)]})]},_0x474225(0x37b,0x2a9,_0x5a1c2e._0x37602c,0x456)+_0x581929[_0x474225(_0x5a1c2e._0x1a2c49,_0x5a1c2e._0x42b710,_0x5a1c2e._0x572719,0x1a9)]);}),_0x1bb7b5[_0x58cf18(0x44b,_0x588542._0x5c1934,_0x588542._0x4ca3f3,_0x588542._0x1d1f70)]===0x0&&_0x1714ee(_0x45de7b,{'marginLeft':0x2,'children':_0x1714ee(_0x146145,{'color':j[_0x58cf18(_0x588542._0x32a69b,_0x588542._0x4264bf,_0x588542._0x2a9663,_0x588542._0x38c2b2)][_0x20c8ba(0x654,0x597,_0x588542._0x1f85f6,0x4fc)],'children':_0x20c8ba(0x433,0x319,0x422,0x102)})})]});}import{jsx as _0x450388}from'react/jsx-runtime';var Zs=({toolResult:_0x1386ac,toolCall:_0x12f606})=>{const _0x485906={_0x121a0a:0x68b,_0x45a2b9:0x929,_0x2d062a:0x6dc,_0x5697c1:0x579,_0x5b13d5:0x1d3,_0x3cb927:0x404,_0x3680fb:0x218,_0x432c8c:0x19b,_0x1bbe25:0x690,_0x3f5fae:0x51e,_0x42cfbc:0x4af,_0x34219d:0x8c,_0x502cf1:0x4,_0x41e2d9:0x1a5,_0x103c7a:0x75c,_0x76a77c:0x6a3};let _0x421e15=null;try{_0x421e15=_0x12f606?.[_0x2836ab(0x6f5,0x631,_0x485906._0x121a0a,0x57f)]['arguments']?JSON[_0x2836ab(_0x485906._0x45a2b9,0x7ed,0x74f,0x6a0)](_0x12f606[_0x2836ab(_0x485906._0x2d062a,_0x485906._0x5697c1,0x68b,0x4d9)][_0x15f5f2(_0x485906._0x5b13d5,0x222,0x149,-0x26)]):null;}catch{_0x421e15=null;}if(!_0x461389(_0x1386ac))return null;function _0x15f5f2(_0x40479e,_0x131aab,_0x38dbe7,_0xaab8e6){return _0x5a69d4(_0x40479e-0x25,_0x38dbe7- -0x466,_0x40479e,_0xaab8e6-0x92);}let _0x3201d8=_0x1386ac[_0x2836ab(0x541,0x227,_0x485906._0x3cb927,0x58d)];if(!_0x421e15||_0x421e15['old_text']===void 0x0||_0x421e15[_0x15f5f2(_0x485906._0x3680fb,0x2b1,0x1bb,_0x485906._0x432c8c)]===void 0x0)return null;let _0x12aab7=_0x3201d8?.[_0x2836ab(_0x485906._0x1bbe25,0x4a5,_0x485906._0x3f5fae,_0x485906._0x42cfbc)];function _0x2836ab(_0x361c13,_0x496cdd,_0x320609,_0x3170ce){return _0x3764a2(_0x320609-0x41e,_0x496cdd-0xd8,_0x496cdd,_0x3170ce-0x116);}return _0x450388(_0x58be57,{'flexDirection':_0x15f5f2(-_0x485906._0x34219d,-_0x485906._0x502cf1,0xc7,-0x183),'children':_0x450388(ko,{'blocks':[{'search':_0x421e15['old_text'],'replace':_0x421e15['new_text']}],'filePath':_0x3201d8?.[_0x15f5f2(_0x485906._0x41e2d9,0x162,0xc8,0x18a)]||_0x421e15[_0x2836ab(0x68e,_0x485906._0x103c7a,_0x485906._0x76a77c,0x7c6)],'showPath':!0x1,'lineNumbers':_0x12aab7})});};import{Box as _0x33a51e,Text as _0x427131}from'ink';import{isFileReadSuccess as _0xe1708f}from'@nuvin/nuvin-core';var Me={'CONTENT_MARGIN':0xa,'PARAM_MARGIN':0x6,'MARKDOWN_MARGIN':0xc},Ke={'DEFAULT_MAX_LINES':0x5,'BASH_MAX_LINES':0xa,'DEFAULT_MAX_LINE_LENGTH':0x96,'BASH_MAX_LINE_LENGTH':0xc8};import{jsx as _0x1f5711}from'react/jsx-runtime';var ei=({toolResult:_0x164b25,messageId:_0x5a765d,messageColor:_0xf04b55,fullMode:_0x35c3de=!0x1,cols:_0x47d053})=>{const _0x194825={_0x3a15ad:0x668,_0x20cc63:0x446,_0x6f324b:0x82c,_0x223f20:0x87f,_0x47bfa1:0x864,_0x2a7ad7:0x81d,_0x6dc5e1:0x3a9,_0x2c80f8:0x506,_0x20ded9:0x46b,_0x5f1a01:0x45d,_0x5d5f15:0x5e4,_0x518c2e:0x5bb,_0x1defe9:0x460,_0x9cbddc:0x8bb,_0x5282d5:0x927},_0x2d2701={_0xe95597:0xa6,_0x1ffd00:0xa9,_0x3efde2:0x195},_0x2ec355={_0x208606:0x1f,_0x127e22:0xb7};let {theme:_0x45719d}=N(),_0x1c090f=_0x164b25['status']===_0x112ade(_0x194825._0x3a15ad,0x679,_0x194825._0x20cc63,0x5d3)?_0x45719d[_0x112ade(_0x194825._0x6f324b,0x871,_0x194825._0x223f20,0xa6c)]['gray']:_0x45719d['tokens'][_0x5ed468(_0x194825._0x47bfa1,0x955,0xa20,_0x194825._0x2a7ad7)],_0x3daa63=_0xf04b55??_0x1c090f;function _0x5ed468(_0x3a4a49,_0x46947e,_0x52af69,_0x45eead){return _0x5a69d4(_0x3a4a49-_0x2ec355._0x208606,_0x46947e-_0x2ec355._0x127e22,_0x3a4a49,_0x45eead-0x9f);}function _0x112ade(_0x59f3fa,_0x142f4c,_0x29ccbb,_0x26c0c7){return _0x5a69d4(_0x59f3fa-_0x2d2701._0xe95597,_0x59f3fa- -_0x2d2701._0x1ffd00,_0x142f4c,_0x26c0c7-_0x2d2701._0x3efde2);}if(_0xe1708f(_0x164b25)){if(!_0x35c3de)return null;let _0x4a8d38=_0x164b25['result'][_0x5ed468(_0x194825._0x6dc5e1,_0x194825._0x2c80f8,_0x194825._0x20ded9,0x6b4)](/\r?\n/);return _0x1f5711(_0x33a51e,{'flexDirection':_0x5ed468(_0x194825._0x5f1a01,_0x194825._0x5d5f15,_0x194825._0x518c2e,_0x194825._0x1defe9),'width':_0x47d053-Me[_0x5ed468(_0x194825._0x9cbddc,_0x194825._0x5282d5,0x8e3,0x7b7)],'children':_0x4a8d38['map']((_0x7fe79e,_0x3e19a2)=>_0x1f5711(_0x427131,{'dimColor':!0x0,'color':_0x3daa63,'children':_0x7fe79e},_0x5a765d+'-'+_0x3e19a2))});}return null;};import{Box as _0x52cc7d,Text as _0xc33758}from'ink';import{jsx as _0x3cb503,jsxs as _0x598a21}from'react/jsx-runtime';function nu(_0x3bd178){const _0x428224={_0x4b0f81:0xad,_0x1b4762:0x247,_0x1be91e:0x190,_0x285415:0x190,_0x26da69:0x633,_0xa364a2:0x185,_0x26e4b5:0xda,_0x4abbb2:0x4b,_0x98a3d6:0x34c,_0x4fbe4d:0x79f,_0x4d3d99:0x598},_0x3caae4={_0x25c9a3:0x26,_0x1f6cf9:0x310,_0x1f6547:0xa9},_0x5ab0f8={_0x3381e6:0xc4,_0x21aaa7:0x7};function _0x10ab8c(_0x49c70a,_0x52421c,_0x2072f8,_0x38fb73){return _0x3764a2(_0x38fb73- -_0x5ab0f8._0x3381e6,_0x52421c-0x12e,_0x2072f8,_0x38fb73-_0x5ab0f8._0x21aaa7);}if(!_0x3bd178)return[];function _0x203a22(_0x4d8323,_0x36dcbe,_0x1002c2,_0x23f394){return _0x5a69d4(_0x4d8323-_0x3caae4._0x25c9a3,_0x36dcbe- -_0x3caae4._0x1f6cf9,_0x4d8323,_0x23f394-_0x3caae4._0x1f6547);}let _0x13f27a=_0x3bd178[_0x10ab8c(_0x428224._0x4b0f81,-_0x428224._0x1b4762,-_0x428224._0x1be91e,-_0x428224._0x285415)]('\x0a'),_0x327d3e=_0x13f27a[_0x203a22(_0x428224._0x26da69,0x507,0x636,0x73e)][_0x203a22(0x2a2,_0x428224._0xa364a2,_0x428224._0x26e4b5,-_0x428224._0x4abbb2)]()[_0x10ab8c(0x252,_0x428224._0x98a3d6,_0x428224._0x26e4b5,0x238)];return _0x13f27a[_0x203a22(_0x428224._0x4fbe4d,_0x428224._0x4d3d99,0x392,0x4b0)]((_0x5df394,_0x27fda1)=>({'lineNumber':(_0x27fda1+0x1)[_0x203a22(0x21f,0x185,0x270,0x1d2)]()[_0x10ab8c(-0xe9,-0x44,-0x205,-0xf8)](_0x327d3e,'\x20')+_0x203a22(0x1bb,0x3c4,0x26f,0x2a8),'content':_0x5df394[_0x203a22(0x73,0x159,0x285,0x300)](/\t/g,'\x20\x20')}));}var ri=({toolResult:_0x2a919c,toolCall:_0x1c4217,fullMode:_0x3802eb=!0x1,cols:_0xd01014})=>{const _0x1c6210={_0x324867:0x3bb,_0x120bd3:0x310,_0x50492d:0x2dc,_0x3b4eb7:0xb1,_0x1eb726:0x28a,_0x5f1bbf:0x1db,_0x3bfaf0:0x107,_0x1607dd:0x1,_0x3eb9ba:0x1a,_0x2b1d07:0x255,_0x7e87fe:0x199,_0x258869:0x4b0},_0x4eb64c={_0x2a0c45:0x92},_0x451ec6={_0x5ab3a9:0x1a2};function _0x4adc5e(_0x48cdda,_0xc8bd9f,_0x2697a2,_0x30d6e0){return _0x5a69d4(_0x48cdda-_0x451ec6._0x5ab3a9,_0x48cdda- -0x3c0,_0x2697a2,_0x30d6e0-0xf6);}if(!_0x3802eb||_0x2a919c[_0x270971(0x256,_0x1c6210._0x324867,_0x1c6210._0x120bd3,_0x1c6210._0x50492d)]!==_0x270971(0x164,-_0x1c6210._0x3b4eb7,-0x74,_0x1c6210._0x1eb726))return null;let _0x34008f=null;try{_0x34008f=_0x1c4217?.[_0x270971(_0x1c6210._0x5f1bbf,_0x1c6210._0x3bfaf0,0x394,-_0x1c6210._0x1607dd)]['arguments']?JSON['parse'](_0x1c4217['function'][_0x4adc5e(0x1ef,0x423,0x135,_0x1c6210._0x3eb9ba)]):null;}catch{_0x34008f=null;}let _0x40834d=_0x34008f?.[_0x4adc5e(_0x1c6210._0x2b1d07,0x156,0x2ec,0x16f)]||'';if(!_0x40834d)return null;let _0x16e6b5=nu(_0x40834d);function _0x270971(_0x18e5f9,_0x70b249,_0x106a08,_0x15ee08){return _0x3764a2(_0x18e5f9- -_0x4eb64c._0x2a0c45,_0x70b249-0x12d,_0x15ee08,_0x15ee08-0x1c8);}return _0x3cb503(_0x52cc7d,{'flexDirection':_0x270971(-0x80,-0x271,_0x1c6210._0x7e87fe,0x17e),'width':_0xd01014-Me[_0x4adc5e(_0x1c6210._0x258869,0x4d7,0x354,0x335)],'children':_0x16e6b5[_0x4adc5e(0x4e8,0x2a9,0x53a,0x50f)]((_0x4b77c5,_0x5a7292)=>_0x598a21(_0x52cc7d,{'children':[_0x3cb503(_0xc33758,{'dimColor':!0x0,'children':_0x4b77c5[_0x270971(-0x73,-0x11c,-0x22a,-0xec)]}),_0x3cb503(_0xc33758,{'children':_0x4b77c5[_0x270971(0x68,-0x51,-0x64,0x9f)]})]},_0x5a7292+'-'+_0x4b77c5[_0x4adc5e(0x255,0x1fa,0x2ef,0x274)][_0x4adc5e(0x242,0x23b,0x46,0x171)](0x0,0x14)))});};import{Box as _0x3f7c91,Text as _0x142cc9}from'ink';import{stripAnsiAndControls as _0x18c5f3}from'@nuvin/nuvin-core';var au=_0x32cc77=>_0x32cc77[_0x5a69d4(0x5e6,0x469,0x35d,0x633)](/<system-reminder>[\s\S]*?<\/system-reminder>/g,'')[_0x5a69d4(0x681,0x4c4,0x6be,0x5a4)](),Xr=({status:_0x21649c,messageContent:_0x1d04f7,toolResult:_0x543419})=>{const _0x4b431f={_0x37f10e:0x4fc,_0x3071c9:0x140,_0x42e7de:0x61,_0x4f8e48:0x95,_0xa0026e:0xfa,_0x2462af:0x2ad,_0x340ee3:0xa7,_0x4fb360:0x129,_0x5a0c24:0x8f,_0x1b0b84:0x20a,_0x167763:0x1c,_0x4105b9:0x379,_0x318902:0x6bd},_0x501c61={_0x3fadbf:0x131},_0x2bc3dc={_0x1e6137:0x2af,_0x54a653:0x146};function _0x41da1b(_0x478b96,_0x205eb4,_0x585d88,_0x41c196){return _0x3764a2(_0x205eb4-_0x2bc3dc._0x1e6137,_0x205eb4-_0x2bc3dc._0x54a653,_0x478b96,_0x41c196-0x92);}let _0x49353d=[];function _0x3c6ab0(_0x1770cb,_0x572bbf,_0x49f925,_0x2f148b){return _0x3764a2(_0x1770cb- -0xae,_0x572bbf-0x19,_0x2f148b,_0x2f148b-_0x501c61._0x3fadbf);}if(_0x21649c!==_0x41da1b(_0x4b431f._0x37f10e,0x4a5,0x6a5,0x6a3)){let _0x59384f=_0x1d04f7?.[_0x3c6ab0(-0x160,-0x1dc,-0x23c,0xc0)](/^error:\s*/i,'')[_0x3c6ab0(-0x105,_0x4b431f._0x3071c9,-0x189,-0xf0)]();_0x49353d=_0x59384f?_0x59384f['split'](/\r?\n/):[];}if(_0x543419[_0x3c6ab0(-_0x4b431f._0x42e7de,_0x4b431f._0x4f8e48,-0x26,-0x299)]==='text'){let _0x315859=_0x543419[_0x3c6ab0(-_0x4b431f._0xa0026e,0x121,0x11e,0x11a)],_0x509420=_0x18c5f3(_0x315859),_0x29bc9c=au(_0x509420)[_0x3c6ab0(-0x105,-0xc5,-0x64,-_0x4b431f._0x2462af)]();_0x49353d=_0x29bc9c?_0x29bc9c[_0x41da1b(_0x4b431f._0x340ee3,0x1e3,0x18c,0xbd)](/\r?\n/):[];}else _0x543419[_0x3c6ab0(-0x61,-_0x4b431f._0x4fb360,-_0x4b431f._0x5a0c24,-0x285)]==='json'&&(_0x49353d=JSON['stringify'](_0x543419['result'],null,0x2)[_0x41da1b(0xfe,0x1e3,_0x4b431f._0x1b0b84,-_0x4b431f._0x167763)](/\r?\n/));return _0x49353d[_0x41da1b(_0x4b431f._0x4105b9,0x5ad,_0x4b431f._0x318902,0x37a)](_0x2a4b06=>_0x2a4b06['trim']()[_0x41da1b(0x6ba,0x5ab,0x50f,0x7c3)]>0x0);};import{jsx as _0x3fbbda,jsxs as _0x4ed520}from'react/jsx-runtime';var cu=(_0x5aa475,_0x274f4d,_0x51fb97)=>_0x51fb97||_0x5aa475[_0x5a69d4(0x731,0x817,0x7be,0x974)]<=_0x274f4d?_0x5aa475:_0x5aa475[_0x3764a2(0xe7,0x2b1,0x74,0x44)](0x0,_0x274f4d)+_0x3764a2(0x1a,-0x140,-0x1ee,-0x1ea)+(_0x5aa475[_0x5a69d4(0x76c,0x817,0x894,0x968)]-_0x274f4d)+_0x3764a2(0x1c1,0x149,0x2e0,0x19d),Lo=({toolResult:_0x4a6f16,messageId:_0x260471,messageContent:_0x1f53eb,messageColor:_0x489ca7,fullMode:_0x4c0267=!0x1,cols:_0x311710,maxLines:_0x5ead9a=Ke[_0x5a69d4(0x670,0x80c,0x7aa,0x823)],maxLineLength:_0xf6e8ba=Ke[_0x3764a2(0xaf,0xf3,0x1e,0x83)],truncationMode:_0x31b5d8=_0x5a69d4(0x807,0x661,0x458,0x83f)})=>{const _0x346aee={_0x4bf36a:0x2cd,_0xcca821:0x3ed,_0x2f7a68:0xdd,_0xe2bcf0:0x537,_0x5f1857:0x2ac,_0x23c63f:0x481,_0x39d29e:0x5a9,_0x21a7d4:0x70a,_0x205cb4:0x42a,_0x3d686b:0x357,_0x355679:0x522,_0x26e834:0x39,_0x5acc10:0x93,_0x219e47:0x62,_0x91f103:0x3d,_0x5944b6:0x1ae,_0x354996:0xb,_0x5065ca:0x271,_0x49ddaf:0x287,_0x335a03:0xdc,_0x2a9cd2:0x29a,_0x529afa:0x268,_0x15cfd0:0x516,_0x438188:0x2ee,_0x31272a:0x4d7,_0x185738:0x363,_0x3580d8:0x18d,_0x1bd079:0x50,_0x24341d:0x86,_0x476ce5:0x12b,_0x662850:0x229,_0x6b4983:0x1b4,_0x27cc3f:0x459,_0x3b3be1:0x33a,_0x4e1135:0x453,_0x3736b0:0x378,_0x45987c:0x1f1,_0x230a76:0x353,_0x1444d7:0x1,_0x4ad7e0:0x3d0,_0xa4127:0x2f6,_0x150f1c:0x1db,_0x25d7db:0x5b3,_0x56b55b:0x182,_0x363108:0x14e,_0x393007:0x15b,_0x46339a:0x18f,_0x27fe76:0x2fb},_0x27b2b7={_0x4a523b:0x1b4};function _0x3139ca(_0x1847ba,_0x13120e,_0x370394,_0x6b99){return _0x3764a2(_0x1847ba-0x226,_0x13120e-0x176,_0x370394,_0x6b99-0x73);}function _0x27db1b(_0x4707b0,_0x251165,_0x331573,_0xfd89d2){return _0x5a69d4(_0x4707b0-0x1d1,_0x251165- -0x536,_0x4707b0,_0xfd89d2-_0x27b2b7._0x4a523b);}let {theme:_0x523497}=N(),_0x1e6e2f=_0x4a6f16[_0x27db1b(0x171,_0x346aee._0x4bf36a,_0x346aee._0xcca821,0x43f)]===_0x27db1b(_0x346aee._0x2f7a68,0x1db,0xba,0x368)?_0x523497[_0x27db1b(0x1be,0x39f,0x256,_0x346aee._0xe2bcf0)][_0x27db1b(0x3f9,0x1dd,0x1,_0x346aee._0x5f1857)]:_0x523497[_0x27db1b(0x46c,0x39f,0x1b5,_0x346aee._0x23c63f)][_0x3139ca(_0x346aee._0x39d29e,0x539,_0x346aee._0x21a7d4,0x626)],_0x3dde07=_0x489ca7??_0x1e6e2f,_0x3df606=Xr({'status':_0x4a6f16[_0x3139ca(0x50e,_0x346aee._0x205cb4,_0x346aee._0x3d686b,0x5c9)],'messageContent':_0x1f53eb,'toolResult':_0x4a6f16});if(_0x3df606[_0x3139ca(_0x346aee._0x355679,0x595,0x525,0x47c)]===0x0)return null;let _0x446b3a=_0x4c0267?Number[_0x27db1b(-_0x346aee._0x26e834,-_0x346aee._0x5acc10,-_0x346aee._0x219e47,_0x346aee._0x91f103)]:_0x5ead9a,_0x4b184f=_0x4c0267?Number[_0x3139ca(_0x346aee._0x5944b6,_0x346aee._0x354996,_0x346aee._0x5065ca,_0x346aee._0x49ddaf)]:_0xf6e8ba,_0x43f8c7=_0x31b5d8===_0x27db1b(0x3cb,0x18d,0x8c,0x9c)?_0x3df606['slice'](-_0x446b3a):_0x3df606[_0x27db1b(_0x346aee._0x335a03,0xcc,_0x346aee._0x2a9cd2,_0x346aee._0x529afa)](0x0,_0x446b3a),_0x30152c=_0x4c0267?0x0:_0x3df606['length']-_0x43f8c7[_0x27db1b(_0x346aee._0x15cfd0,0x2e1,_0x346aee._0x438188,_0x346aee._0x31272a)],_0x11d9f9=_0x31b5d8===_0x27db1b(_0x346aee._0x185738,_0x346aee._0x3580d8,0x254,-_0x346aee._0x1bd079)&&_0x30152c>0x0,_0x453c1e=_0x31b5d8===_0x27db1b(-_0x346aee._0x24341d,_0x346aee._0x476ce5,_0x346aee._0x662850,-0xfb)&&_0x30152c>0x0;return _0x4ed520(_0x3f7c91,{'flexDirection':_0x27db1b(_0x346aee._0x6b4983,-0x9,0xbf,0x1f3),'width':_0x311710-Me[_0x27db1b(_0x346aee._0x27cc3f,_0x346aee._0x3b3be1,0x1e8,_0x346aee._0x4e1135)],'children':[_0x11d9f9&&_0x4ed520(_0x142cc9,{'dimColor':!0x0,'color':_0x523497[_0x3139ca(0x25d,0x43,0x1d0,_0x346aee._0x3736b0)][_0x3139ca(0x14e,_0x346aee._0x45987c,_0x346aee._0x230a76,0x370)],'children':[_0x27db1b(0x148,-_0x346aee._0x1444d7,-0x53,0x2b),_0x30152c,_0x3139ca(_0x346aee._0x4ad7e0,_0x346aee._0xa4127,_0x346aee._0x150f1c,0x4f2)]}),_0x43f8c7[_0x3139ca(_0x346aee._0x25d7db,0x765,0x627,0x565)]((_0x9ba0a4,_0xcfd64)=>_0x3fbbda(_0x142cc9,{'dimColor':!0x0,'color':_0x3dde07,'children':cu(_0x9ba0a4,_0x4b184f,_0x4c0267)},_0x260471+'-'+_0xcfd64)),_0x453c1e&&_0x4ed520(_0x142cc9,{'dimColor':!0x0,'color':_0x523497[_0x27db1b(-0x1d6,0x1c,_0x346aee._0x56b55b,-0xdf)][_0x3139ca(_0x346aee._0x363108,0x1f0,0x223,0x2cc)],'children':['...\x20(',_0x30152c,_0x27db1b(_0x346aee._0x393007,_0x346aee._0x46339a,_0x346aee._0x27fe76,0x12d)]})]});};import{jsx as _0x493164}from'react/jsx-runtime';var ni=_0x537acf=>_0x493164(Lo,{..._0x537acf,'maxLines':Ke[_0x3764a2(0x344,0x1be,0x228,0x3c8)],'maxLineLength':Ke[_0x3764a2(0x2a6,0x48b,0x1e4,0xb4)],'truncationMode':_0x5a69d4(0x4fe,0x6c3,0x5f8,0x5d3)});import{jsx as _0x622aeb}from'react/jsx-runtime';var si=_0x344d8e=>_0x622aeb(Lo,{..._0x344d8e,'maxLines':Ke[_0x5a69d4(0xa1e,0x80c,0xa51,0x897)],'maxLineLength':Ke[_0x5a69d4(0x5e6,0x5ca,0x783,0x439)],'truncationMode':'head'});import _0x5446ef from'os';import{exec as _0x32a4b1}from'child_process';import{promisify as _0x470073}from'util';var hu=_0x470073(_0x32a4b1),We=_0x284439=>_0x284439==null?'-':_0x284439>=0x3b9aca00?(_0x284439/0x3b9aca00)[_0x3764a2(0x2bf,0xe2,0x13b,0x376)](0x2)+'B':_0x284439>=0xf4240?(_0x284439/0xf4240)[_0x3764a2(0x2bf,0x11b,0x472,0x41a)](0x2)+'M':_0x284439>=0x3e8?(_0x284439/0x3e8)[_0x3764a2(0x2bf,0x44c,0x307,0x4f8)](0x1)+'k':_0x284439['toString'](),At=_0x3c607d=>_0x3c607d===0x0?'0.00':_0x3c607d<0.01?_0x3c607d[_0x5a69d4(0x671,0x7da,0x846,0x6bd)](0x4):_0x3c607d<0x1?_0x3c607d[_0x5a69d4(0x97a,0x7da,0x634,0x5a7)](0x3):_0x3c607d['toFixed'](0x2),ii=_0x3ce385=>{const _0x461048={_0x351141:0x1dc,_0x468926:0x25a},_0x3c45a9={_0x5a8725:0x177,_0x56f9b8:0xa4};function _0x1e9d9b(_0xf1149c,_0x498663,_0x481c53,_0x1e9276){return _0x5a69d4(_0xf1149c-_0x3c45a9._0x5a8725,_0x498663- -0x276,_0x1e9276,_0x1e9276-_0x3c45a9._0x56f9b8);}let _0x18c217=_0x5446ef[_0x1e9d9b(0xe6,_0x461048._0x351141,0x2cf,_0x461048._0x468926)]();return _0x3ce385['replace'](_0x18c217,'~');},pt=_0xf51d91=>{const _0x2cfba7={_0x33a001:0x5c6,_0x2e2b35:0x42d,_0x2e62f1:0x615,_0x270223:0x5ae,_0x9d623c:0x5bc,_0x5498dd:0x3bc,_0x2f8dc0:0x2ad,_0x1e6cf9:0x3ab},_0x361acf={_0x1cfc6d:0xf6},_0x1f349a={_0x1fecd9:0x9e,_0x2371ad:0x1d7,_0xc11a55:0x19a};function _0x3c4459(_0x38ff05,_0x55989c,_0x49c045,_0x2aae8f){return _0x5a69d4(_0x38ff05-_0x1f349a._0x1fecd9,_0x49c045- -_0x1f349a._0x2371ad,_0x55989c,_0x2aae8f-_0x1f349a._0xc11a55);}if(_0xf51d91==null||!Number[_0x3c4459(0x6ae,_0x2cfba7._0x33a001,0x628,0x621)](_0xf51d91))return null;function _0x195614(_0x5926c0,_0x3a0241,_0xec0eaa,_0x45a149){return _0x3764a2(_0x5926c0-0x16e,_0x3a0241-_0x361acf._0x1cfc6d,_0x3a0241,_0x45a149-0x13f);}if(_0xf51d91<0x3e8)return _0xf51d91+'ms';if(_0xf51d91<0xea60)return(_0xf51d91/0x3e8)[_0x195614(_0x2cfba7._0x2e2b35,_0x2cfba7._0x2e62f1,0x30b,_0x2cfba7._0x270223)](0x1)+'s';{let _0x4dcb83=Math[_0x3c4459(_0x2cfba7._0x9d623c,_0x2cfba7._0x5498dd,0x402,0x4da)](_0xf51d91/0xea60),_0x2186dd=(_0xf51d91%0xea60/0x3e8)[_0x195614(_0x2cfba7._0x2e2b35,0x50e,_0x2cfba7._0x2f8dc0,_0x2cfba7._0x1e6cf9)](0x0);return _0x4dcb83+'m'+(_0x2186dd?'\x20'+_0x2186dd+'s':'');}},ai=_0x2068ae=>{const _0x286e72={_0x3c333e:0x199,_0x1ac8ba:0x26,_0x24dd72:0x60b,_0x57533e:0x6f9,_0x1584ee:0x47c,_0x31e2a7:0x147,_0x4cd0fb:0x85,_0x58c1c3:0x1b,_0x345c97:0xe8,_0x24cf84:0x6a4,_0x20ad23:0x655,_0x6d9221:0xcb,_0x36c542:0x55,_0x15d179:0x5b9,_0x2829da:0x52d,_0x1b03f4:0x493,_0x5d1a4a:0xb2,_0x20e0ad:0x4f0,_0x346644:0x4a8,_0x30b21d:0x119,_0x5df5b0:0x263,_0x48b2f2:0x602,_0x5c0116:0x1ed,_0x35715e:0x30e,_0x1e970a:0x70e,_0x2c8cd8:0x61c,_0x505d76:0x17a,_0x1f505e:0x114,_0xecb9c3:0xe7,_0x5de237:0x2e5,_0x23fba0:0x216,_0x2e36b3:0x14,_0xa99572:0x47b,_0x598b55:0x5bd,_0x2ab279:0x3a7,_0x5d4f6a:0x493,_0x5ecca7:0x3d7,_0x3181e0:0x61c,_0x550d2b:0xb,_0x10aeb9:0x34,_0x1d3291:0x23f,_0x2bef2d:0x5d3,_0x341a36:0x537,_0x3d9ecf:0x8cd,_0x4ac39a:0x767,_0x1d39d7:0xa3,_0x221dff:0x10a,_0x360e82:0xf3},_0x1afa13={_0x27340c:0x141};let _0x230c95=new Date(_0x2068ae),_0x148182=Math['floor']((new Date()['getTime']()-_0x230c95[_0x465128(_0x286e72._0x3c333e,_0x286e72._0x1ac8ba,0x65,0x196)]())/(0x3e8*0x3c)),_0x5baeed=Math[_0x1ce6c6(_0x286e72._0x24dd72,_0x286e72._0x57533e,_0x286e72._0x1584ee,0x5fb)](_0x148182/0x3c),_0x426dd8=Math[_0x465128(_0x286e72._0x31e2a7,-_0x286e72._0x4cd0fb,-_0x286e72._0x58c1c3,-_0x286e72._0x345c97)](_0x5baeed/0x18);function _0x465128(_0x2ee5c3,_0x470a67,_0x371187,_0x2f33ab){return _0x5a69d4(_0x2ee5c3-0x9b,_0x470a67- -0x65e,_0x2ee5c3,_0x2f33ab-_0x1afa13._0x27340c);}if(_0x148182<0x5)return _0x1ce6c6(_0x286e72._0x24cf84,0x989,0x63e,0x73d);function _0x1ce6c6(_0x491e31,_0x2e189d,_0x2d5416,_0x200ad2){return _0x3764a2(_0x200ad2-0x53d,_0x2e189d-0xe,_0x491e31,_0x200ad2-0x183);}if(_0x148182<0x3c)return _0x148182+_0x1ce6c6(0x53e,0x4e7,0x5ad,_0x286e72._0x20ad23);if(_0x5baeed<0x18){let _0x373679=_0x230c95[_0x465128(_0x286e72._0x6d9221,0x14,_0x286e72._0x36c542,0x169)](_0x1ce6c6(0x3cf,_0x286e72._0x15d179,_0x286e72._0x2829da,_0x286e72._0x1b03f4),{'hour':_0x465128(-_0x286e72._0x5d1a4a,-0x64,-0x19,-0x14e),'minute':_0x1ce6c6(0x67d,_0x286e72._0x20e0ad,0x3ce,_0x286e72._0x346644),'hour12':!0x0});return _0x5baeed<0x6?_0x5baeed+_0x465128(0x2fe,_0x286e72._0x30b21d,0xf2,0x307):_0x465128(0x383,0x246,0x364,_0x286e72._0x5df5b0)+_0x373679;}if(_0x426dd8===0x1)return _0x1ce6c6(0x4a6,0x42d,_0x286e72._0x48b2f2,0x5ef)+_0x230c95[_0x465128(0x1d5,0x14,0x26,0x54)](_0x465128(-0x95,-_0x286e72._0x5c0116,-_0x286e72._0x35715e,-0x59),{'hour':_0x1ce6c6(0x7ac,0x793,_0x286e72._0x1e970a,_0x286e72._0x2c8cd8),'minute':_0x1ce6c6(0x4d8,0x46e,0x3fb,0x4a8),'hour12':!0x0});if(_0x426dd8<0x7){let _0x431323=_0x230c95['toLocaleDateString'](_0x465128(-_0x286e72._0x505d76,-_0x286e72._0x5c0116,-0x26d,-_0x286e72._0x1f505e),{'weekday':_0x465128(-0x20,_0x286e72._0xecb9c3,0x13f,_0x286e72._0x5de237)}),_0x4db677=_0x230c95[_0x465128(-_0x286e72._0x23fba0,_0x286e72._0x2e36b3,-0x37,-0x1d2)](_0x1ce6c6(_0x286e72._0xa99572,_0x286e72._0x598b55,_0x286e72._0x2ab279,_0x286e72._0x5d4f6a),{'hour':_0x1ce6c6(0x409,_0x286e72._0x5ecca7,0x563,_0x286e72._0x3181e0),'minute':_0x465128(_0x286e72._0x550d2b,-0x1d8,-_0x286e72._0x10aeb9,-_0x286e72._0x1d3291),'hour12':!0x0});return _0x431323+'\x20'+_0x4db677;}return _0x230c95['toLocaleDateString']('en-US',{'month':_0x1ce6c6(_0x286e72._0x2bef2d,_0x286e72._0x341a36,_0x286e72._0x3d9ecf,_0x286e72._0x4ac39a),'day':_0x465128(_0x286e72._0x1d39d7,-0x64,0xb,-0x32),'hour':_0x465128(-_0x286e72._0x221dff,-0x64,-0x245,-0x15f),'minute':_0x465128(-0x32b,-0x1d8,-_0x286e72._0x360e82,-0x329),'hour12':!0x0});},li=_0x142580=>_0x142580['toFixed'](0x0)+'s',ci=(_0x686ece,_0x30db69)=>_0x686ece>=0.95?_0x30db69['tokens']['red']:_0x686ece>=0.85?_0x30db69[_0x5a69d4(0x7c3,0x8d5,0x771,0xad8)][_0x5a69d4(0x66b,0x65a,0x825,0x446)]:_0x30db69[_0x3764a2(0x109,0x93,0x2ed,-0xc9)][_0x3764a2(0x11,0x1b3,-0x1e9,0x107)],Qr=new Map(),yu=0x1388,ui=async _0x2b7ebc=>{const _0x3ad2a1={_0x35d7d0:0x131,_0x2ad3d2:0x2a7,_0x45b060:0x28f,_0x2aaf07:0x1b6,_0x575e6b:0x369,_0x57a05e:0xd7,_0x48668c:0x52a,_0x424cbf:0x411,_0x1cfac4:0x20d,_0x269e6e:0x88,_0x471f14:0xcf,_0x54de5a:0x25c,_0xf9cee:0x1f1,_0x995d64:0x1e3,_0x1cc250:0x198},_0x423b76={_0x3fa359:0x156,_0x30799b:0xe7},_0x2accc0={_0x4c22e0:0xb4};function _0x2b6d56(_0x3398d5,_0x47363a,_0x33484d,_0x21d06b){return _0x5a69d4(_0x3398d5-_0x2accc0._0x4c22e0,_0x47363a- -0x47b,_0x3398d5,_0x21d06b-0x118);}function _0x374f21(_0xeba844,_0x5dd7c5,_0x3da350,_0x3a0530){return _0x3764a2(_0x5dd7c5- -_0x423b76._0x3fa359,_0x5dd7c5-_0x423b76._0x30799b,_0xeba844,_0x3a0530-0xc9);}let _0x4a71b4=Qr['get'](_0x2b7ebc);if(_0x4a71b4&&Date[_0x374f21(-0x23,_0x3ad2a1._0x35d7d0,0x59,_0x3ad2a1._0x2ad3d2)]()-_0x4a71b4[_0x2b6d56(_0x3ad2a1._0x45b060,_0x3ad2a1._0x2aaf07,-0x71,_0x3ad2a1._0x575e6b)]<yu)return _0x4a71b4[_0x374f21(0xad,0x100,-_0x3ad2a1._0x57a05e,0x1ac)];try{let {stdout:_0x26c2ed}=await hu(_0x2b6d56(_0x3ad2a1._0x48668c,0x340,0x184,_0x3ad2a1._0x424cbf),{'cwd':_0x2b7ebc,'encoding':'utf8','timeout':0xbb8}),_0x32f77e=_0x26c2ed['trim']();return Qr[_0x374f21(_0x3ad2a1._0x1cfac4,-0x13,-0x1b3,-_0x3ad2a1._0x269e6e)](_0x2b7ebc,{'value':_0x32f77e,'timestamp':Date[_0x374f21(-_0x3ad2a1._0x471f14,0x131,_0x3ad2a1._0x54de5a,-0xd0)]()}),_0x32f77e;}catch{return Qr[_0x2b6d56(_0x3ad2a1._0xf9cee,_0x3ad2a1._0x995d64,0x165,_0x3ad2a1._0x1cc250)](_0x2b7ebc,{'value':null,'timestamp':Date['now']()}),null;}},di=_0x1c05d9=>_0x1c05d9===0x1?{'text':_0x5a69d4(0x870,0x7d5,0x750,0x801),'color':_0x5a69d4(0x792,0x713,0x712,0x82d)}:_0x1c05d9<0xa?{'text':_0x1c05d9+_0x5a69d4(0x503,0x69a,0x611,0x82c),'color':_0x3764a2(-0x20,-0x103,-0x18,-0x8c)}:_0x1c05d9<0x32?{'text':_0x1c05d9+_0x5a69d4(0x7ba,0x69a,0x8ae,0x4ea),'color':_0x3764a2(0x304,0x326,0x38b,0x479)}:{'text':_0x1c05d9+_0x3764a2(0x17f,0x1ab,0x9a,0x297),'color':_0x5a69d4(0x30e,0x4a0,0x697,0x6a4)};import{ErrorReason as _0x2d7005}from'@nuvin/nuvin-core';var xu={[_0x2d7005['Aborted']]:{'text':_0x3764a2(0x21b,0x1f4,0x3ba,0x80),'colorKey':'warning'},[_0x2d7005[_0x5a69d4(0x480,0x560,0x744,0x368)]]:{'text':_0x3764a2(0x45,0x11,0x85,0x104),'colorKey':_0x5a69d4(0x717,0x7d4,0x943,0x87a)},[_0x2d7005[_0x3764a2(0x2c,0x245,0xa5,0x19b)]]:{'text':_0x5a69d4(0x306,0x547,0x3d8,0x5b9),'colorKey':_0x3764a2(0x2b9,0x2b8,0x3d3,0x1ca)},[_0x2d7005[_0x5a69d4(0x8da,0x701,0x84d,0x73a)]]:{'text':'Timeout','colorKey':_0x3764a2(0x2b9,0xc3,0x3dc,0x408)},[_0x2d7005[_0x5a69d4(0x718,0x619,0x457,0x6ad)]]:{'text':_0x5a69d4(0x4f5,0x6c2,0x577,0x676),'colorKey':_0x5a69d4(0x8d0,0x6d7,0x6db,0x774)},[_0x2d7005[_0x3764a2(0x12e,0x331,0x150,-0x85)]]:{'text':'Not\x20found','colorKey':_0x5a69d4(0x582,0x6d7,0x671,0x5e4)},[_0x2d7005[_0x3764a2(0x178,-0x23,0xba,-0x96)]]:{'text':_0x5a69d4(0xa09,0x80a,0xa3e,0x968),'colorKey':_0x3764a2(0x1bc,0x14f,0x23c,-0x76)},[_0x2d7005[_0x3764a2(0x1ae,0x399,0x16b,0x1d)]]:{'text':'Network\x20error','colorKey':_0x3764a2(0x1bc,0x6b,0x374,0x19d)},[_0x2d7005['RateLimit']]:{'text':'Rate\x20limit','colorKey':'warning'},[_0x2d7005[_0x3764a2(0xf4,0x2d6,-0x125,0x186)]]:{'text':_0x5a69d4(0x80f,0x81e,0x60e,0x7ba),'colorKey':_0x3764a2(0x1bc,0x23f,0x21e,0x1a3)},[_0x2d7005[_0x3764a2(0x124,0x24b,-0x119,0x190)]]:{'text':_0x5a69d4(0x725,0x87b,0x660,0xa36),'colorKey':_0x5a69d4(0x691,0x6d7,0x710,0x49e)}};function mi(_0x2d5cb5,_0x586b68,_0x17fb4d){const _0x57d77d={_0x19bc96:0xa2,_0x5c97b3:0x13,_0x253cf3:0x49d,_0x9aec0d:0x2e3,_0x525ee1:0xba,_0x30fed1:0x247,_0x383e7a:0xd5,_0x40e3e7:0xf5,_0x379758:0x384,_0x5c6f9a:0xc6},_0x14890a={_0x550d4c:0xe5},_0x46b885={_0x208c32:0xa0,_0x1fc727:0x173};if(!_0x2d5cb5)return null;let _0x44a705=xu[_0x2d5cb5];if(!_0x44a705)return null;let _0x5a0f8f=_0x44a705['colorKey']===_0x424dec(-0x61,0x38d,0x18d,0x84)?_0x424dec(-_0x57d77d._0x19bc96,0x18b,_0x57d77d._0x5c97b3,-0x137):_0x492e5f(_0x57d77d._0x253cf3,_0x57d77d._0x9aec0d,_0x57d77d._0x525ee1,_0x57d77d._0x30fed1),_0x418a97=_0x586b68[_0x424dec(-_0x57d77d._0x383e7a,0x1c,-_0x57d77d._0x40e3e7,-0x1a5)][_0x44a705['colorKey']]||_0x5a0f8f;function _0x492e5f(_0x18f9a8,_0x1acce3,_0x169003,_0x3182e0){return _0x3764a2(_0x1acce3- -_0x46b885._0x208c32,_0x1acce3-_0x46b885._0x1fc727,_0x169003,_0x3182e0-0x48);}function _0x424dec(_0x3c210d,_0x57ba6b,_0x24b8e2,_0x9bb0d5){return _0x5a69d4(_0x3c210d-_0x14890a._0x550d4c,_0x24b8e2- -0x647,_0x9bb0d5,_0x9bb0d5-0x49);}return{'text':_0x44a705[_0x424dec(_0x57d77d._0x379758,_0x57d77d._0x5c6f9a,0x140,-0x58)],'color':_0x418a97,'paramText':_0x17fb4d};}import{isAssignSuccess as _0x30b194,isBashSuccess as _0x1be6f9,isDirLsSuccess as _0x385d08,isFileEditSuccess as _0x13d2cd,isFileNewSuccess as _0x241941,isFileReadSuccess as _0x336639,isTodoWriteSuccess as _0x578d87,isWebFetchSuccess as _0x2e3820,isWebSearchSuccess as _0x5d19f2,ErrorReason as _0x1bd2e1}from'@nuvin/nuvin-core';function me(_0x888018,_0x514b2f,_0x3d5f0c){let _0xdd8ea1=_0x514b2f['split']('.'),_0x399536=_0x888018;for(let _0x20dce3 of _0xdd8ea1){if(_0x399536==null)return _0x3d5f0c;_0x399536=_0x399536[_0x20dce3];}return _0x399536===void 0x0?_0x3d5f0c:_0x399536;}function V(_0x4ecb95,_0x348d55,_0x25510c='',_0x31cf35=_0x3764a2(-0x4,-0x16c,0x12d,0x1b0)){return{'text':_0x4ecb95,'color':_0x348d55,'paramText':_0x25510c,'statusPosition':_0x31cf35};}var Ve=_0x3df7f8=>_0x3df7f8[_0x5a69d4(0x9df,0x803,0x97e,0x722)]===_0x5a69d4(0x8cb,0x6d7,0x4d6,0x72c)&&_0x3df7f8[_0x3764a2(-0x1a,0x144,-0x51,-0x8f)]?.[_0x3764a2(0x29,-0xd5,-0x165,0x91)]===_0x1bd2e1[_0x3764a2(0x2c,-0x10e,0x61,-0x52)],Do={'getStatus'(_0x4e69a5,_0xb880e4){const _0x51d5f0={_0x441524:0x9f,_0x1d7af1:0x10,_0x22f9c7:0x130,_0x308fbc:0x3c4,_0x326998:0x13e,_0xd637db:0x4c,_0x38a100:0x11a,_0x4e06e2:0xa4,_0xb0fe4e:0x2a2,_0x101561:0x4d9,_0x2480a8:0x7a2,_0xa332ef:0x1f4,_0x3ae02d:0x24f,_0xd679d7:0xe1,_0x369bb4:0x1d3},_0x16d322={_0x149c8a:0x278,_0x52a4ab:0x1ec},_0x478fdd={_0x50bc28:0x58d,_0x56c0e9:0xa6};function _0x1dddfa(_0x558a77,_0x2197da,_0xb2ad20,_0x1563bc){return _0x5a69d4(_0x558a77-0xc4,_0x558a77- -_0x478fdd._0x50bc28,_0x1563bc,_0x1563bc-_0x478fdd._0x56c0e9);}let {statusColor:_0x51cc3b,subAgentMetrics:_0x2180c5}=_0xb880e4;if(_0x30b194(_0x4e69a5)){let _0x143028=[_0x1dddfa(_0x51d5f0._0x441524,-_0x51d5f0._0x1d7af1,0x1fc,-0x62)],_0x500437=me(_0x4e69a5,_0x1dddfa(0x12,-0x116,_0x51d5f0._0x22f9c7,0x5e)),_0x22c208=me(_0x4e69a5,_0x35d371(0x285,_0x51d5f0._0x308fbc,-0x42,0x1d6)),_0x1447aa=me(_0x4e69a5,_0x35d371(0x1f4,0x45,_0x51d5f0._0x326998,0x24d));return _0x2180c5?(_0x143028['push'](_0x2180c5[_0x35d371(0x5e1,0x55b,0x7bb,0x5db)]+_0x1dddfa(-_0x51d5f0._0xd637db,0xe0,-0x1c3,0x4a)),_0x143028['push'](We(_0x2180c5[_0x1dddfa(-0x21,-0x2c,-0x1bf,-_0x51d5f0._0x38a100)])+_0x35d371(0x42,_0x51d5f0._0x4e06e2,_0x51d5f0._0xb0fe4e,0x24f)),_0x2180c5['totalCost']>0x0&&_0x143028['push']('$'+At(_0x2180c5[_0x1dddfa(-0x83,-0x10a,-0x25d,0x106)])),_0x500437&&_0x143028['push'](''+pt(_0x500437))):(_0x22c208&&_0x143028['push'](_0x22c208+_0x35d371(_0x51d5f0._0x101561,_0x51d5f0._0x2480a8,0x5ed,0x61e)),_0x1447aa&&_0x143028['push'](We(_0x1447aa)+_0x35d371(0x43a,_0x51d5f0._0xa332ef,0xcc,_0x51d5f0._0x3ae02d)),_0x500437&&_0x143028[_0x35d371(0x114,0x25d,0x101,0x2ef)](''+pt(_0x500437))),V(_0x143028[_0x1dddfa(0x26a,_0x51d5f0._0xd679d7,_0x51d5f0._0xb0fe4e,0x12c)]('\x20•\x20'),_0x51cc3b,'');}function _0x35d371(_0x1fded2,_0x5864d4,_0x1ad01a,_0x385818){return _0x3764a2(_0x385818-_0x16d322._0x149c8a,_0x5864d4-0xaf,_0x5864d4,_0x385818-_0x16d322._0x52a4ab);}return V(_0x35d371(0x371,0x359,_0x51d5f0._0x369bb4,0x40c),_0x51cc3b,'');}},Bo={'getStatus'(_0x471e5e,_0x451529){const _0x20131d={_0x21893c:0x336,_0x2b8c8e:0x2e9,_0x41b3ed:0x2a0,_0x56b74e:0x484,_0x23ca16:0x340,_0xc8d24f:0xfa,_0x2ba179:0x355,_0x2aa60f:0x269,_0x10fdf5:0x50f,_0x198fcf:0x5a7,_0x5380ff:0x648,_0x3f4591:0x6e1,_0x44336b:0x7f0},_0x474860={_0x3d4bdb:0x126,_0x40e58b:0x167},_0x436e69={_0x42dc32:0x129};function _0x5add9c(_0x30614a,_0x1e0dd5,_0x18acc6,_0x56ad80){return _0x3764a2(_0x1e0dd5-0x3ac,_0x1e0dd5-0x16d,_0x18acc6,_0x56ad80-_0x436e69._0x42dc32);}let {statusColor:_0x101d83}=_0x451529;function _0x29a222(_0x1294e7,_0x533cf8,_0x4b0fd0,_0x4bb9a2){return _0x3764a2(_0x4bb9a2-_0x474860._0x3d4bdb,_0x533cf8-_0x474860._0x40e58b,_0x1294e7,_0x4bb9a2-0x186);}if(_0x13d2cd(_0x471e5e)){let _0x2e207f=me(_0x471e5e,_0x5add9c(0x283,_0x20131d._0x21893c,0xfd,0x496)),_0x183aaf=_0x2e207f?_0x29a222(_0x20131d._0x2b8c8e,_0x20131d._0x41b3ed,0x116,0xf6)+_0x2e207f+_0x29a222(0x54e,0x3b2,_0x20131d._0x56b74e,_0x20131d._0x23ca16):_0x29a222(_0x20131d._0xc8d24f,_0x20131d._0x2ba179,0x2cf,0x152);return V(_0x183aaf,_0x101d83,'');}return Ve(_0x471e5e)?V(_0x5add9c(_0x20131d._0x2aa60f,0x3d8,_0x20131d._0x10fdf5,_0x20131d._0x198fcf),_0x101d83,''):V(_0x5add9c(_0x20131d._0x5380ff,_0x20131d._0x3f4591,_0x20131d._0x44336b,0x7d3),_0x101d83,'');}},_o={'getStatus'(_0x58817b,_0x4f20e8){const _0x484350={_0xdd42bf:0x1d4,_0x722a41:0x3bf,_0x71bc99:0x5bf,_0x18151f:0x422,_0x164d4f:0x12f,_0x2ab67f:0x2de,_0x101e33:0x510,_0x220414:0x878,_0x596592:0x954,_0x228f2d:0x287,_0xc544c1:0x2c3,_0x440349:0x240,_0x215ca3:0x255,_0x19a537:0x147},_0x2f0d8a={_0x2f6b6a:0x154,_0x21d75b:0x307};function _0x258345(_0x4825e8,_0xe41410,_0x168182,_0x2ab1db){return _0x5a69d4(_0x4825e8-0x2e,_0xe41410- -0x110,_0x168182,_0x2ab1db-0x19d);}function _0x301358(_0x22b671,_0x4cbb55,_0x4b6e73,_0xf985e5){return _0x5a69d4(_0x22b671-_0x2f0d8a._0x2f6b6a,_0x4b6e73- -_0x2f0d8a._0x21d75b,_0xf985e5,_0xf985e5-0x81);}let {statusColor:_0x308e85}=_0x4f20e8;if(_0x336639(_0x58817b)){let _0x3a361d=_0x58817b[_0x258345(_0x484350._0xdd42bf,_0x484350._0x722a41,_0x484350._0x71bc99,0x4c1)][_0x258345(_0x484350._0x18151f,0x33f,_0x484350._0x164d4f,0x4a1)](/\r?\n/)[_0x301358(_0x484350._0x2ab67f,0x667,_0x484350._0x101e33,0x636)];return V(_0x258345(_0x484350._0x220414,0x75f,_0x484350._0x596592,0x5e9)+_0x3a361d+_0x258345(0x71e,0x744,0x66e,0x68e),_0x308e85,'');}return Ve(_0x58817b)?V(_0x301358(_0x484350._0x228f2d,_0x484350._0xc544c1,_0x484350._0x440349,0x2ce),_0x308e85,''):V(_0x258345(0x2c4,0x383,_0x484350._0x215ca3,_0x484350._0x19a537),_0x308e85,'');}},No={'getStatus'(_0x4950d6,_0x1b4c3d){const _0x45591b={_0x4f691b:0x4c,_0x5e330a:0x236,_0x1e7d1f:0x23,_0x4c27bb:0x42a,_0x4a7734:0x7bb,_0x3b3731:0x71f,_0x261ee0:0x531},_0x594c91={_0x29767b:0x16},_0x289d3d={_0x2c6532:0x9a};let {statusColor:_0x57164a}=_0x1b4c3d;if(_0x241941(_0x4950d6)){let _0x5cec46=me(_0x4950d6,_0x19b316(_0x45591b._0x4f691b,0xb5,0x3f,0x60)),_0x4b90e7=me(_0x4950d6,_0x19b316(0x123,-0x1b,0x14c,0x1a7)),_0x12c2c7=_0x19b316(-0x87,-0x87,-_0x45591b._0x5e330a,-_0x45591b._0x1e7d1f);return _0x5cec46!==void 0x0?(_0x12c2c7+='\x20('+_0x5cec46+'\x20lines',_0x12c2c7+=_0x4b90e7!==void 0x0?',\x20'+_0x4b90e7+_0x19b316(0x230,0x10a,_0x45591b._0x4c27bb,0x1ee):')'):_0x4b90e7!==void 0x0&&(_0x12c2c7+='\x20('+_0x4b90e7+_0x3d1547(0x5a9,_0x45591b._0x4a7734,0x554,_0x45591b._0x3b3731)),V(_0x12c2c7,_0x57164a,'');}function _0x3d1547(_0x48a9e1,_0x5d473b,_0x33c3a4,_0x4bd290){return _0x3764a2(_0x4bd290-0x505,_0x5d473b-_0x289d3d._0x2c6532,_0x33c3a4,_0x4bd290-0x112);}function _0x19b316(_0x24269f,_0x347a85,_0x3c6f3c,_0x118447){return _0x3764a2(_0x24269f-_0x594c91._0x29767b,_0x347a85-0x173,_0x347a85,_0x118447-0x107);}return Ve(_0x4950d6)?V(_0x3d1547(0x3ef,0x6e6,0x757,_0x45591b._0x261ee0),_0x57164a,''):V('Creation\x20failed',_0x57164a,'');}},Oo={'getStatus'(_0x43ea5a,_0x3ff3e5){const _0x1b81bb={_0x482275:0x4ea,_0x14322c:0x5e6,_0x1c5289:0x42d,_0x2976ef:0x138,_0x35b7ba:0x44b,_0x23fed0:0x238,_0x187afc:0x16a,_0x25aab0:0x289,_0x4269ce:0x22d},_0x3e28b7={_0x2fa775:0x7f},_0xd5f53f={_0x1c15aa:0x2e7,_0x2506a4:0x1c};let {statusColor:_0x3b3ad8}=_0x3ff3e5;function _0x2892be(_0x290388,_0x405c69,_0x1f2647,_0x411a4e){return _0x3764a2(_0x411a4e-_0xd5f53f._0x1c15aa,_0x405c69-0x1e3,_0x405c69,_0x411a4e-_0xd5f53f._0x2506a4);}function _0x2af698(_0x331101,_0x447cf9,_0x5540c1,_0xa259e7){return _0x5a69d4(_0x331101-0xfa,_0x5540c1- -0x3dd,_0x447cf9,_0xa259e7-_0x3e28b7._0x2fa775);}if(_0x1be6f9(_0x43ea5a)){let _0x1712bb=me(_0x43ea5a,_0x2892be(_0x1b81bb._0x482275,0x64d,_0x1b81bb._0x14322c,0x522)),_0x5937a4=_0x1712bb!==void 0x0?_0x2af698(_0x1b81bb._0x1c5289,_0x1b81bb._0x2976ef,0x31b,_0x1b81bb._0x35b7ba)+_0x1712bb+')':_0x2af698(_0x1b81bb._0x23fed0,0x1c1,0x37a,0x545);return V(_0x5937a4,_0x3b3ad8,'');}return Ve(_0x43ea5a)?V(_0x2af698(-0x4b,0x21a,_0x1b81bb._0x187afc,0x1d4),_0x3b3ad8,''):V(_0x2af698(_0x1b81bb._0x25aab0,_0x1b81bb._0x4269ce,0x408,0x612),_0x3b3ad8,'');}},$o={'getStatus'(_0x51cb7a,_0x3d54cf){const _0x4566ed={_0x589440:0x483,_0x225095:0x342,_0x41ec14:0x2a9,_0x34f615:0x66,_0x21ceb2:0x188,_0xab5e24:0x32c,_0xbee831:0x536,_0x3cc917:0x413,_0x467e89:0x13e,_0x35d244:0xdd,_0x33d5b4:0x2fe,_0x183305:0x52},_0x6e1028={_0x1cb814:0x1f1,_0x17e7b5:0x11e,_0x504c71:0xf0},_0x231f00={_0x344908:0x112};function _0x21050d(_0x1f0a7a,_0x5d3a82,_0x2b0dfe,_0x109cd4){return _0x3764a2(_0x1f0a7a-_0x231f00._0x344908,_0x5d3a82-0x18,_0x109cd4,_0x109cd4-0x2b);}function _0x2446c8(_0x27ff79,_0x16667e,_0x11e9e7,_0x4fab27){return _0x5a69d4(_0x27ff79-_0x6e1028._0x1cb814,_0x27ff79- -_0x6e1028._0x17e7b5,_0x4fab27,_0x4fab27-_0x6e1028._0x504c71);}let {statusColor:_0x21c61a}=_0x3d54cf;if(_0x2e3820(_0x51cb7a)){let _0x583068=me(_0x51cb7a,_0x2446c8(0x55e,0x3cd,_0x4566ed._0x589440,_0x4566ed._0x225095)),_0x4d83be=me(_0x51cb7a,'metadata.statusCode'),_0x1413e1=_0x583068!==void 0x0&&_0x4d83be!==void 0x0?_0x21050d(_0x4566ed._0x41ec14,0x209,_0x4566ed._0x34f615,_0x4566ed._0x21ceb2)+_0x4d83be+',\x20'+_0x583068+_0x21050d(_0x4566ed._0xab5e24,0x392,_0x4566ed._0xbee831,0xeb):_0x21050d(_0x4566ed._0x3cc917,0x3b8,0x242,0x1e1);return V(_0x1413e1,_0x21c61a,'');}return Ve(_0x51cb7a)?V(_0x21050d(_0x4566ed._0x467e89,-_0x4566ed._0x35d244,_0x4566ed._0x33d5b4,-_0x4566ed._0x183305),_0x21c61a,''):V('Fetch\x20failed',_0x21c61a,'');}},Fo={'getStatus'(_0x161e98,_0x249b6d){const _0x589bca={_0x2e1ee4:0x1e5,_0x21d801:0x497,_0x440edb:0x2bd,_0x51e751:0x1bc,_0x9e6708:0xd8,_0xd3f914:0xb5,_0x4f78c7:0x104,_0x5c30ec:0x2bd,_0x33fd78:0x29e,_0x5eebf1:0x3a,_0x585116:0x23f,_0x44fdb5:0x1fe,_0x17f036:0x74,_0x4844a8:0xa9,_0x229513:0x66},_0x12d6da={_0x47934d:0x41,_0x3077e2:0x50d};function _0x573414(_0x2fcfd6,_0x4fe5d8,_0x1b736b,_0x5084ac){return _0x5a69d4(_0x2fcfd6-0xe6,_0x5084ac- -0x603,_0x4fe5d8,_0x5084ac-0x16f);}function _0x281306(_0x290287,_0x4d9e7f,_0x1ef861,_0x1db70d){return _0x5a69d4(_0x290287-_0x12d6da._0x47934d,_0x1ef861- -_0x12d6da._0x3077e2,_0x290287,_0x1db70d-0x28);}let {statusColor:_0x22f294}=_0x249b6d;if(_0x5d19f2(_0x161e98)){let _0x2379ad=me(_0x161e98,_0x573414(0xb1,_0x589bca._0x2e1ee4,_0x589bca._0x21d801,_0x589bca._0x440edb)),_0x200cd2=_0x2379ad!==void 0x0?'Searched\x20('+_0x2379ad+_0x573414(-_0x589bca._0x51e751,_0x589bca._0x9e6708,-_0x589bca._0xd3f914,-_0x589bca._0x4f78c7):_0x573414(_0x589bca._0x5c30ec,-0x11,_0x589bca._0x33fd78,0x16c);return V(_0x200cd2,_0x22f294,'');}return Ve(_0x161e98)?V(_0x281306(0x4c,-0x19f,_0x589bca._0x5eebf1,_0x589bca._0x585116),_0x22f294,''):V(_0x573414(_0x589bca._0x44fdb5,_0x589bca._0x17f036,-_0x589bca._0x4844a8,_0x589bca._0x229513),_0x22f294,'');}},Uo={'getStatus'(_0x1a5a49,_0x36654c){const _0x1d75b2={_0x532daa:0xd6,_0x5a35bc:0x37c,_0x42ae1e:0x1fc,_0x4cc91a:0x48f,_0x1a69e0:0x255,_0xb2c619:0x437,_0x4fa966:0x144,_0x1e8bb9:0x28f,_0x24c28a:0xfe,_0xc83c1a:0x297,_0x480f66:0xb2,_0x117c35:0x3ea,_0xc6f018:0x30d,_0x5b4c0e:0x7f,_0x3b7d4a:0x3ad,_0x14a052:0x450,_0x232b88:0x5a0,_0x3a2a6f:0x65c,_0x4ae4c0:0x56},_0x12b482={_0x4902e9:0x29b};function _0x421e8d(_0x1fcf3e,_0x585ff7,_0x1a9498,_0x19560c){return _0x3764a2(_0x1a9498-_0x12b482._0x4902e9,_0x585ff7-0x7e,_0x1fcf3e,_0x19560c-0x139);}let {statusColor:_0x5485a1}=_0x36654c;if(_0x578d87(_0x1a5a49)){let _0x37141a=me(_0x1a5a49,_0x511fdb(0x12e,_0x1d75b2._0x532daa,_0x1d75b2._0x5a35bc,_0x1d75b2._0x42ae1e)),_0x3c5f85=me(_0x1a5a49,_0x421e8d(_0x1d75b2._0x4cc91a,0x29d,_0x1d75b2._0x1a69e0,_0x1d75b2._0xb2c619)),_0x351fe7=_0x37141a?'Updated\x20('+_0x37141a['completed']+'/'+_0x37141a['total']+_0x421e8d(0x558,0x459,0x57e,0x542)+_0x3c5f85+')':_0x511fdb(_0x1d75b2._0x4fa966,0x1c6,_0x1d75b2._0x1e8bb9,_0x1d75b2._0x24c28a);return V(_0x351fe7,_0x5485a1,'',_0x511fdb(0x113,-_0x1d75b2._0xc83c1a,-_0x1d75b2._0x480f66,-0x12a));}function _0x511fdb(_0x43136d,_0x27f281,_0x34bbdf,_0x20208f){return _0x3764a2(_0x20208f- -0x138,_0x27f281-0xb,_0x43136d,_0x20208f-0x28);}return Ve(_0x1a5a49)?V(_0x421e8d(_0x1d75b2._0x117c35,_0x1d75b2._0xc6f018,0x2c7,_0x1d75b2._0x5b4c0e),_0x5485a1,'',_0x421e8d(_0x1d75b2._0x3b7d4a,0x1df,0x2a9,0x453)):V(_0x421e8d(_0x1d75b2._0x14a052,_0x1d75b2._0x232b88,0x480,_0x1d75b2._0x3a2a6f),_0x5485a1,'',_0x511fdb(_0x1d75b2._0x4ae4c0,-0x94,-0x117,-0x12a));}},Ho={'getStatus'(_0x337d93,_0x3df951){const _0x2b9ca4={_0x504dc9:0x177,_0x37d629:0x4b6,_0x41654b:0x41e,_0x93d738:0x314,_0x5abbc8:0x1c0,_0x27546b:0x84,_0x3f6ecc:0x8e,_0x5c6617:0xa3,_0x118bae:0x116,_0x10d4f2:0x2d6,_0xde0c4a:0x7d3,_0x3a3070:0x110,_0x229ee5:0x22a},_0x1330cf={_0x31b034:0x151},_0x5ceac6={_0x146ec8:0x1ef,_0x2aaf3b:0x12e};function _0x1c1095(_0x462c66,_0x5e237a,_0x2dbfa5,_0x4208bc){return _0x5a69d4(_0x462c66-_0x5ceac6._0x146ec8,_0x5e237a- -0x657,_0x2dbfa5,_0x4208bc-_0x5ceac6._0x2aaf3b);}let {statusColor:_0x2743d1}=_0x3df951;if(_0x385d08(_0x337d93)){let _0x1b7162=_0x337d93[_0x1c1095(-0x22,-0x188,-0x26d,-_0x2b9ca4._0x504dc9)],_0x23e5ab=_0x1b7162[_0x55e458(_0x2b9ca4._0x37d629,0x317,0x576,_0x2b9ca4._0x41654b)][_0x1c1095(_0x2b9ca4._0x93d738,_0x2b9ca4._0x5abbc8,_0x2b9ca4._0x27546b,0x11c)],_0x144336=_0x1b7162[_0x55e458(0x5c8,0x39a,0x50b,0x48d)]?_0x1c1095(-_0x2b9ca4._0x3f6ecc,_0x2b9ca4._0x5c6617,-_0x2b9ca4._0x118bae,_0x2b9ca4._0x10d4f2):'';return V('Listed\x20'+_0x23e5ab+_0x55e458(_0x2b9ca4._0xde0c4a,0x6a7,0x589,0x759)+_0x144336,_0x2743d1,'');}function _0x55e458(_0x48b8f7,_0x5022b7,_0x1bfd3a,_0x3e59fa){return _0x3764a2(_0x48b8f7-0x571,_0x5022b7-0x1f4,_0x1bfd3a,_0x3e59fa-_0x1330cf._0x31b034);}return Ve(_0x337d93)?V(_0x1c1095(-0x8a,-_0x2b9ca4._0x3a3070,0xe8,-_0x2b9ca4._0x229ee5),_0x2743d1,''):V('Listing\x20failed',_0x2743d1,'');}},en={'getStatus'(_0x541ba3,_0x22d4ba){const _0x5c1d13={_0xb414ad:0x2aa,_0x124879:0x40f,_0x186274:0x39c,_0x5ec576:0x481,_0x205296:0x1d,_0x4b5597:0x96,_0x12713e:0x327,_0xe09efb:0x427},_0x4488dc={_0x1473c6:0x3e},_0x1fc501={_0x2687ca:0xf,_0x39b162:0x6a};function _0x24844b(_0x3ea851,_0x4a62ab,_0x31bf17,_0x40c4af){return _0x3764a2(_0x3ea851- -_0x1fc501._0x2687ca,_0x4a62ab-0xb3,_0x31bf17,_0x40c4af-_0x1fc501._0x39b162);}function _0x314665(_0x338ff9,_0x2ffb3f,_0x487161,_0x52df7c){return _0x3764a2(_0x2ffb3f-0x1a6,_0x2ffb3f-_0x4488dc._0x1473c6,_0x52df7c,_0x52df7c-0x70);}let {statusColor:_0x399446}=_0x22d4ba,_0x1af346=_0x541ba3[_0x24844b(0x2d9,0xc4,_0x5c1d13._0xb414ad,_0x5c1d13._0x124879)]===_0x314665(0x40c,_0x5c1d13._0x186274,0x2cb,_0x5c1d13._0x5ec576);return!_0x1af346&&Ve(_0x541ba3)?V(_0x24844b(_0x5c1d13._0x205296,-0xa4,0x241,-_0x5c1d13._0x4b5597),_0x399446,''):V(_0x1af346?_0x24844b(0x32d,0x2dd,0x4bc,0x49e):_0x314665(_0x5c1d13._0x12713e,0x476,0x4d2,_0x5c1d13._0xe09efb),_0x399446,'');}},Au={'assign_task':Do,'file_edit':Bo,'file_read':_o,'file_new':No,'bash_tool':Oo,'web_fetch':$o,'web_search':Fo,'todo_write':Uo,'dir_ls':Ho};function Eu(_0x2df9c3){const _0x460fbc={_0x1fe197:0x635,_0x589276:0x149,_0xb72ec1:0x33a,_0x1778a2:0x15,_0x38d15b:0x7ff,_0x1e7950:0x8f4,_0x2262c4:0x787,_0x467289:0x821,_0x5ee1ae:0x228,_0x40ac27:0x177,_0x1209c8:0xe7,_0x3dbe58:0x2b6,_0xcd2a0d:0x6d7,_0x205154:0x58a,_0x2257c4:0x4ce,_0x8389f1:0x5bd,_0x2dfeeb:0x5b8,_0x4469a3:0x15d,_0x5cf888:0x70,_0x57f640:0x44,_0x118859:0x81d,_0x4306bd:0x7b2,_0x5c3c9f:0x43c,_0x16d61b:0x49e,_0x16531b:0x40f,_0x481b4a:0x24f,_0x21cfe5:0x432,_0x46a62f:0x652,_0x1b5719:0x41c,_0x208fb1:0x5e7,_0x35ec17:0x619,_0x458a99:0x4e7,_0x5d3fa4:0x3f4,_0x958ce4:0x1d4,_0x4d1c29:0x3bb,_0x2d8fc5:0x1e5,_0x18942a:0x0,_0x2e194d:0x38b,_0x20091b:0x23f,_0x261554:0x9dc,_0x4b20cc:0x690,_0x1bb3b0:0x8ab,_0x35fea6:0x7b9,_0x21cd60:0x609,_0x3c161c:0x315,_0x455cd9:0x4d6},_0x30eb79={_0x30720f:0x1a,_0xca067e:0x3f},_0x3db65d={_0x166119:0xd4};function _0xf5272d(_0x4b6eda,_0x5396b5,_0x39c0a4,_0x296c51){return _0x3764a2(_0x5396b5-_0x3db65d._0x166119,_0x5396b5-0x9b,_0x39c0a4,_0x296c51-0x1b1);}function _0x158379(_0x12b1a3,_0x444929,_0x552ba5,_0x3ddac1){return _0x5a69d4(_0x12b1a3-_0x30eb79._0x30720f,_0x552ba5- -0x19,_0x444929,_0x3ddac1-_0x30eb79._0xca067e);}if(!_0x2df9c3)return'';try{let _0x402c96=_0x2df9c3['function']['arguments']?JSON[_0x158379(0x85a,0x8db,0x833,_0x460fbc._0x1fe197)](_0x2df9c3[_0xf5272d(0x421,0x341,_0x460fbc._0x589276,_0x460fbc._0xb72ec1)][_0xf5272d(-0x97,0x168,_0x460fbc._0x1778a2,0x277)]):{};return _0x402c96[_0x158379(_0x460fbc._0x38d15b,_0x460fbc._0x1e7950,_0x460fbc._0x2262c4,_0x460fbc._0x467289)]?_0x402c96[_0xf5272d(_0x460fbc._0x5ee1ae,0x359,0x417,0x49c)]:_0x402c96['path']?_0x402c96[_0xf5272d(_0x460fbc._0x40ac27,_0x460fbc._0x1209c8,_0x460fbc._0x3dbe58,-0x64)]:_0x402c96[_0x158379(_0x460fbc._0xcd2a0d,0x6e2,_0x460fbc._0x205154,_0x460fbc._0x2257c4)]?_0x402c96[_0x158379(0x4d6,_0x460fbc._0x8389f1,0x58a,0x4f9)]:_0x402c96[_0x158379(0x42b,_0x460fbc._0x2dfeeb,0x49e,0x431)]?_0x402c96[_0xf5272d(-_0x460fbc._0x4469a3,_0x460fbc._0x5cf888,-_0x460fbc._0x57f640,0x242)][_0x158379(0x5e9,_0x460fbc._0x118859,0x822,_0x460fbc._0x4306bd)](0x0,0x32)+(_0x402c96[_0x158379(_0x460fbc._0x5c3c9f,0x2f4,_0x460fbc._0x16d61b,0x5e0)]['length']>0x32?_0x158379(_0x460fbc._0x16531b,_0x460fbc._0x481b4a,_0x460fbc._0x21cfe5,_0x460fbc._0x46a62f):''):_0x402c96[_0x158379(_0x460fbc._0x1b5719,_0x460fbc._0x208fb1,0x642,0x883)]?_0x402c96[_0x158379(_0x460fbc._0x35ec17,_0x460fbc._0x458a99,0x642,0x57e)][_0xf5272d(0x627,_0x460fbc._0x5d3fa4,_0x460fbc._0x958ce4,0x30f)](0x0,0x32)+(_0x402c96['command'][_0xf5272d(_0x460fbc._0x4d1c29,0x3d0,0x59a,0x29e)]>0x32?_0xf5272d(-_0x460fbc._0x2d8fc5,0x4,_0x460fbc._0x18942a,-0x1c8):''):_0x402c96[_0xf5272d(0x228,_0x460fbc._0x2e194d,0x434,_0x460fbc._0x20091b)]?_0x402c96['cmd'][_0x158379(_0x460fbc._0x261554,0x843,0x822,0x96a)](0x0,0x32)+(_0x402c96[_0x158379(_0x460fbc._0x4b20cc,_0x460fbc._0x1bb3b0,_0x460fbc._0x35fea6,0x7dd)][_0xf5272d(_0x460fbc._0x21cd60,0x3d0,0x5e6,0x4a7)]>0x32?_0x158379(0x5f9,_0x460fbc._0x3c161c,0x432,_0x460fbc._0x455cd9):''):'';}catch{return'';}}function tn(_0x1efeb7,_0xacb67c,_0x43daf2,_0x381e88){const _0x3b79b0={_0x868b66:0x7a4,_0xd6bd42:0x96b,_0x466f0d:0x7ba,_0x38e81c:0x638,_0x261c78:0x6a2,_0x2bdf00:0x76a,_0x2cd2fa:0x877,_0x1e410b:0x477,_0x22b638:0x480,_0x448cce:0x638,_0x4e04b5:0x5e8,_0x1e99ec:0x532,_0x185ea2:0x133,_0x5e3e22:0x336,_0xeaf0ec:0x57d,_0x1b3bc2:0x379,_0x133d91:0x5b5,_0x4e9fb6:0x62e},_0x7dd8f6={_0x54188b:0x5ae,_0x483ee3:0x26};function _0x30c54d(_0x48dad7,_0x441338,_0x574074,_0x21e0f9){return _0x3764a2(_0x21e0f9-0x350,_0x441338-0x13f,_0x574074,_0x21e0f9-0xdf);}let _0x9d9cc2=_0x1efeb7[_0x30c54d(0x4e7,0x86c,0x5b6,0x638)]===_0xe0edd5(0x787,_0x3b79b0._0x868b66,0x9b0,_0x3b79b0._0xd6bd42)?_0x43daf2[_0x30c54d(_0x3b79b0._0x466f0d,0x782,0x5c9,_0x3b79b0._0x38e81c)]['success']:_0x43daf2['status'][_0xe0edd5(_0x3b79b0._0x261c78,_0x3b79b0._0x2bdf00,0x571,0x7dd)],_0x39eceb=Eu(_0xacb67c),_0x263258=_0x1efeb7[_0x30c54d(_0x3b79b0._0x2cd2fa,_0x3b79b0._0x1e410b,_0x3b79b0._0x22b638,_0x3b79b0._0x448cce)]===_0x30c54d(0x4c4,_0x3b79b0._0x4e04b5,0x4bb,0x50c)?_0x1efeb7[_0x30c54d(_0x3b79b0._0x1e99ec,0x3b0,_0x3b79b0._0x185ea2,_0x3b79b0._0x5e3e22)]?.[_0x30c54d(0x570,0x318,_0x3b79b0._0xeaf0ec,_0x3b79b0._0x1b3bc2)]:void 0x0,_0x2fcf1c=mi(_0x263258,_0x43daf2,_0x39eceb);function _0xe0edd5(_0x22c67f,_0x6b584,_0x4a20ba,_0x36a053){return _0x3764a2(_0x6b584-_0x7dd8f6._0x54188b,_0x6b584-_0x7dd8f6._0x483ee3,_0x4a20ba,_0x36a053-0xb3);}if(_0x2fcf1c)return _0x2fcf1c;let _0x34006c=Au[_0x1efeb7['name']]??en,_0x4bbf92={'toolCall':_0xacb67c,'theme':_0x43daf2,'statusColor':_0x9d9cc2,'subAgentMetrics':_0x381e88};return{..._0x34006c[_0xe0edd5(0x40b,_0x3b79b0._0x133d91,_0x3b79b0._0x4e9fb6,0x49f)](_0x1efeb7,_0x4bbf92),'paramText':_0x39eceb};}import{Box as _0x2d0bff}from'ink';import{jsx as _0x595bc7}from'react/jsx-runtime';var ze=({statusColor:_0x3f271b,children:_0x135c46})=>{const _0x181f9a={_0x56a996:0x50e,_0x41babf:0x5b6,_0x4dfee2:0x5fb,_0x408e89:0x811,_0x2d42c2:0x8dc,_0x3dd29d:0x64e,_0x3002e8:0x884},_0x3015eb={_0x36b0f4:0x3e6,_0x57cfec:0x1cf},_0x12e163={_0x502a5e:0xf5};let {cols:_0x5ae261}=z();function _0x5d37ef(_0x5b6c24,_0x48ac8e,_0x1cedba,_0x13516b){return _0x5a69d4(_0x5b6c24-0x152,_0x13516b-0xce,_0x1cedba,_0x13516b-_0x12e163._0x502a5e);}function _0x1409f7(_0x2e2fe1,_0x68a3ca,_0x349ac4,_0x1efa2f){return _0x3764a2(_0x2e2fe1-_0x3015eb._0x36b0f4,_0x68a3ca-_0x3015eb._0x57cfec,_0x349ac4,_0x1efa2f-0x1b4);}return _0x135c46?_0x595bc7(_0x2d0bff,{'flexDirection':_0x5d37ef(_0x181f9a._0x56a996,0x4a8,_0x181f9a._0x41babf,_0x181f9a._0x4dfee2),'marginLeft':0x2,'borderStyle':'single','borderDimColor':!0x0,'borderColor':_0x3f271b,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x5ae261-Me[_0x5d37ef(_0x181f9a._0x408e89,_0x181f9a._0x2d42c2,_0x181f9a._0x3dd29d,_0x181f9a._0x3002e8)],'children':_0x135c46}):null;};import{Text as _0x29cfec}from'ink';import{jsx as _0x52c17b}from'react/jsx-runtime';var Bu=['old_text',_0x3764a2(0x106,0x29c,0x2db,0x237),'description'],Yt=({args:_0x5cb0cf,statusColor:_0x47eb54,formatValue:_0x35b323})=>{const _0x81982d={_0x1b031f:0xf4,_0x111325:0x135},_0x389359={_0x4f3bae:0x2b};function _0x4b4115(_0x1d7a39,_0x52e0dd,_0x4f911d,_0x360d2b){return _0x3764a2(_0x360d2b- -0x119,_0x52e0dd-0x98,_0x52e0dd,_0x360d2b-_0x389359._0x4f3bae);}let _0x5d9462=Object[_0x4b4115(-0x1ba,-_0x81982d._0x1b031f,-_0x81982d._0x111325,-0x1d4)](_0x5cb0cf)['filter'](([_0x10cefe])=>!Bu['includes'](_0x10cefe));return _0x5d9462['length']===0x0?null:_0x52c17b(ze,{'statusColor':_0x47eb54,'children':_0x5d9462['map'](([_0x56274c,_0x47bc52])=>_0x52c17b(_0x29cfec,{'dimColor':!0x0,'children':_0x56274c+':\x20'+_0x35b323(_0x47bc52)},_0x56274c))});};import{Text as _0x40f7ff}from'ink';import{jsx as _0x3f54a1}from'react/jsx-runtime';var Nu=[_0x5a69d4(0x732,0x615,0x7dd,0x588),'description'],qt=({args:_0x3bc950,statusColor:_0x5a958e,formatValue:_0x3d409b})=>{const _0x43b351={_0xce13d8:0x805,_0x3b756d:0x5d0},_0x442645={_0x43857f:0x359,_0x197a7b:0x11d};function _0x1ed4a5(_0x2feebb,_0x5e8979,_0x4d6c22,_0x159e14){return _0x3764a2(_0x2feebb-_0x442645._0x43857f,_0x5e8979-0x9c,_0x4d6c22,_0x159e14-_0x442645._0x197a7b);}let _0x1aff58=Object['entries'](_0x3bc950)['filter'](([_0x1b2d15])=>!Nu[_0x3abf60(0x4bc,0x728,0x647,0x486)](_0x1b2d15));function _0x3abf60(_0x25dfce,_0x52be60,_0x4c7703,_0x449242){return _0x5a69d4(_0x25dfce-0x18b,_0x4c7703- -0xa3,_0x449242,_0x449242-0x165);}return _0x1aff58[_0x3abf60(0x858,0x873,0x774,0x8ee)]===0x0?null:_0x3f54a1(ze,{'statusColor':_0x5a958e,'children':_0x1aff58[_0x3abf60(0xa40,0x71e,_0x43b351._0xce13d8,_0x43b351._0x3b756d)](([_0x204775,_0x4b1832])=>_0x3f54a1(_0x40f7ff,{'dimColor':!0x0,'children':_0x204775+':\x20'+_0x3d409b(_0x4b1832)},_0x204775))});};import{Text as _0x6dcb5d}from'ink';import{jsx as _0x2bbbe8}from'react/jsx-runtime';var Ge=({args:_0xd5f097,statusColor:_0x267345,formatValue:_0x40f1ac})=>{const _0x304917={_0x214f44:0x627,_0x8e09dc:0xa14,_0x293c31:0x9b9,_0x1197cb:0x816,_0x120401:0x48a,_0x19980d:0x296,_0x5ea6f5:0x12b,_0x24e257:0x281},_0x23d2d6={_0x26063d:0x1a4};let _0x41e234=Object['entries'](_0xd5f097)[_0x4e8f40(0x818,_0x304917._0x214f44,_0x304917._0x8e09dc,_0x304917._0x293c31)](([_0x1f021a])=>_0x1f021a!==_0x5b81c0(0x26b,0xa6,0x273,0x70));function _0x5b81c0(_0x269262,_0xbc66bb,_0x270ae5,_0x163a93){return _0x3764a2(_0x163a93- -0x10c,_0xbc66bb-0x1f,_0x270ae5,_0x163a93-0x1a);}function _0x4e8f40(_0xc0e57c,_0x3b8960,_0x18e81e,_0x2b3bee){return _0x5a69d4(_0xc0e57c-0x141,_0xc0e57c- -0x1,_0x2b3bee,_0x2b3bee-_0x23d2d6._0x26063d);}return _0x41e234[_0x4e8f40(_0x304917._0x1197cb,0x9f0,0x609,0x9e5)]===0x0?null:_0x2bbbe8(ze,{'statusColor':_0x267345,'children':_0x41e234[_0x5b81c0(_0x304917._0x120401,_0x304917._0x19980d,_0x304917._0x5ea6f5,_0x304917._0x24e257)](([_0x49f428,_0x35210b])=>_0x2bbbe8(_0x6dcb5d,{'dimColor':!0x0,'children':_0x49f428+':\x20'+_0x40f1ac(_0x35210b)},_0x49f428))});};import{Text as _0x546588}from'ink';import{jsx as _0x823dab}from'react/jsx-runtime';var Xt=({args:_0x3269d5,statusColor:_0x5299c9,formatValue:_0x97af24})=>{const _0x5e616c={_0x4d22e9:0x178,_0x573587:0x25a,_0x3477b3:0x55a,_0x277b3b:0x611,_0x410be5:0x853,_0x40d879:0x757,_0x58c19f:0x624},_0x5eb3c3={_0x205c83:0x1f,_0x39c76e:0x651},_0x2638e6={_0x2f33c1:0x3c,_0x12066c:0x198};function _0x1b030f(_0x2173a3,_0x3e587c,_0x132fad,_0x16c475){return _0x3764a2(_0x16c475-0x315,_0x3e587c-_0x2638e6._0x2f33c1,_0x132fad,_0x16c475-_0x2638e6._0x12066c);}let _0x569172=Object[_0x1b030f(0x43c,_0x5e616c._0x4d22e9,0x285,_0x5e616c._0x573587)](_0x3269d5)['filter'](([_0x59bdd3])=>_0x59bdd3!==_0xfe76c8(-0xf3,0x211,0x46,0xf7));function _0xfe76c8(_0x298d5e,_0x1cbf1b,_0x45db00,_0x23e3d8){return _0x5a69d4(_0x298d5e-_0x5eb3c3._0x205c83,_0x45db00- -_0x5eb3c3._0x39c76e,_0x23e3d8,_0x23e3d8-0x19a);}return _0x569172[_0x1b030f(_0x5e616c._0x3477b3,0x45d,0x44b,_0x5e616c._0x277b3b)]===0x0?null:_0x823dab(ze,{'statusColor':_0x5299c9,'children':_0x569172[_0x1b030f(_0x5e616c._0x410be5,_0x5e616c._0x40d879,_0x5e616c._0x58c19f,0x6a2)](([_0x5c11fb,_0x3ae0fc])=>_0x823dab(_0x546588,{'dimColor':!0x0,'children':_0x5c11fb+':\x20'+_0x97af24(_0x3ae0fc)},_0x5c11fb))});},yi={'file_read':{'displayName':_0x3764a2(0x14,-0xed,0x64,-0x16),'statusStrategy':_o,'paramRenderer':Ge,'collapsedByDefault':!0x0},'file_edit':{'displayName':'Edit\x20file','statusStrategy':Bo,'paramRenderer':Yt,'collapsedByDefault':!0x1},'file_new':{'displayName':'Create\x20file','statusStrategy':No,'paramRenderer':qt,'collapsedByDefault':!0x0},'bash_tool':{'displayName':_0x3764a2(0x28f,0xf9,0x111,0x2ea),'statusStrategy':Oo,'paramRenderer':Ge,'collapsedByDefault':!0x1},'web_search':{'displayName':_0x5a69d4(0x3ab,0x56a,0x50a,0x471),'statusStrategy':Fo,'paramRenderer':Ge,'collapsedByDefault':!0x1},'web_fetch':{'displayName':_0x3764a2(0x1ab,0x23,-0x3a,0x18c),'statusStrategy':$o,'paramRenderer':Ge,'collapsedByDefault':!0x1},'dir_ls':{'displayName':_0x3764a2(0x1be,0x2d,0x212,0x39a),'statusStrategy':Ho,'paramRenderer':Ge,'collapsedByDefault':!0x1},'todo_write':{'displayName':_0x5a69d4(0x939,0x796,0x62d,0x81f),'statusStrategy':Uo,'paramRenderer':null,'collapsedByDefault':!0x1},'assign_task':{'displayName':'Delegate\x20task','statusStrategy':Do,'paramRenderer':Xt,'collapsedByDefault':!0x0}};function xi(_0xd49885){const _0x16a2ac={_0x344922:0xf5,_0x4ca1bb:0x81},_0x22f575={_0x40fbf4:0x400};function _0x1710e4(_0x239a21,_0x1ace5f,_0x339086,_0x3e72d3){return _0x5a69d4(_0x239a21-0xa9,_0x3e72d3- -_0x22f575._0x40fbf4,_0x239a21,_0x3e72d3-0x4);}return yi[_0xd49885]?.[_0x1710e4(-0x14b,0x147,_0x16a2ac._0x344922,_0x16a2ac._0x4ca1bb)]||_0xd49885;}function bi(_0x504978){const _0x1a75b4={_0x23dbbd:0x572,_0x417bf0:0x61f},_0x8dfe38={_0xe2c187:0x384};function _0x2b5869(_0x983e0a,_0x2c92f4,_0x653ef6,_0x465f25){return _0x3764a2(_0x983e0a-_0x8dfe38._0xe2c187,_0x2c92f4-0xc0,_0x2c92f4,_0x465f25-0x12e);}return yi[_0x504978]?.[_0x2b5869(_0x1a75b4._0x23dbbd,0x755,_0x1a75b4._0x417bf0,0x33e)]??!0x1;}import{jsx as _0x30622d,jsxs as _0x32274b}from'react/jsx-runtime';var Zt=({toolResult:_0x4aec9d,toolCall:_0x27fa61,messageId:_0x291e55,messageContent:_0x461008,messageColor:_0x12d3d4,fullMode:_0x5baf3c=!0x1,subAgentMetrics:_0x56cabd})=>{const _0x559525={_0x421a35:0x3c,_0x573574:0x365,_0x3e4043:0x191,_0x1d39f4:0x68,_0x47a43e:0x2,_0x49f76e:0xba,_0x269145:0x326,_0x1da95b:0x5ce,_0x3f0a03:0x2ff,_0x361a31:0x21,_0x2c2d35:0x177,_0x1ac5a1:0x315,_0x5f54c5:0xf1,_0x51e64d:0x15a,_0x328e2e:0x2a3,_0x2c1da7:0x272,_0x5309d0:0x22f,_0x47da7b:0x80,_0x5beabe:0x2d7,_0x53ba84:0xcd,_0x5b02e9:0x233,_0x58a1b1:0x275,_0x505af6:0xfc,_0x1b9714:0x279,_0x5c22dd:0x576,_0x2f8cea:0x4d8,_0x95be89:0xd6,_0x3e98ee:0xf0,_0x246dc7:0x5d,_0x456bf1:0x28f,_0x5a6084:0x454},_0x375c96={_0x22b468:0x368,_0x2b6964:0xea,_0x28fb93:0x226,_0x3912dd:0x597,_0x478f26:0xbd7,_0x39ef0d:0xbec,_0x4f8c32:0xa08,_0x263370:0xdb,_0x47a5fc:0x29a,_0x352f83:0x288,_0x4721fc:0x25a,_0x5cd804:0x1a8,_0x2422f4:0x490,_0x29791d:0x495,_0x240cea:0x1c0,_0x50db43:0x149,_0x4013d8:0x1ec,_0x2f1906:0x9cd,_0x31dee7:0xb69,_0x364d8a:0xa16,_0x53ae72:0x342,_0x57219a:0x59e,_0x1ee2d0:0x692,_0x5c6cfb:0x551,_0xa84af4:0x5db,_0x5a3dac:0x46e,_0x253c49:0x508},_0x503e3b={_0x1d23e2:0x17d},_0x1af39a={_0x29feb0:0x149,_0x23fa11:0x14c};function _0x1bded2(_0x4469c5,_0x22c993,_0x3e8be3,_0x244ad6){return _0x3764a2(_0x3e8be3- -0x156,_0x22c993-0xc5,_0x22c993,_0x244ad6-0x1da);}function _0x424128(_0x3a98d8,_0x1e0304,_0x3dec0a,_0x772202){return _0x5a69d4(_0x3a98d8-_0x1af39a._0x29feb0,_0x772202- -0x2fa,_0x3dec0a,_0x772202-_0x1af39a._0x23fa11);}let {theme:_0x1833f3}=N(),{cols:_0x384687}=z(),_0x2f6126=pt(_0x4aec9d[_0x1bded2(0x56,-0x9c,_0x559525._0x421a35,-0xed)]),{text:_0x6bae40,color:_0x5ab267,statusPosition:_0x5c3431=_0x424128(0x285,0x24,_0x559525._0x573574,0x21d)}=tn(_0x4aec9d,_0x27fa61,_0x1833f3,_0x56cabd),_0x45ffa8=((()=>{const _0x5c5c18={_0x46b74c:0x14};function _0x2d318f(_0x4fc8c7,_0x15afae,_0x51c050,_0x449b3e){return _0x1bded2(_0x4fc8c7-_0x503e3b._0x1d23e2,_0x4fc8c7,_0x449b3e-0x7be,_0x449b3e-0x175);}function _0x1c6967(_0xf64b87,_0x222c06,_0x146172,_0x4b9df7){return _0x424128(_0xf64b87-0x194,_0x222c06-0xed,_0x222c06,_0x4b9df7- -_0x5c5c18._0x46b74c);}switch(_0x4aec9d['name']){case _0x1c6967(0xcc,_0x375c96._0x22b468,_0x375c96._0x2b6964,_0x375c96._0x28fb93):{if(_0x1aaae5(_0x4aec9d)){let _0x254f9f=_0x4aec9d['result'][_0x2d318f(_0x375c96._0x3912dd,0x781,0x7ba,0x5b6)](/\\n/g,'\x0a');return _0x30622d(mt,{'maxWidth':_0x384687-Me[_0x2d318f(_0x375c96._0x478f26,_0x375c96._0x39ef0d,_0x375c96._0x4f8c32,0xa16)],'children':_0x254f9f});}let _0x2ad997=_0x4aec9d[_0x1c6967(_0x375c96._0x263370,_0x375c96._0x47a5fc,_0x375c96._0x352f83,_0x375c96._0x4721fc)]==='text'?_0x4aec9d[_0x1c6967(0x27d,_0x375c96._0x5cd804,-0x62,0x1c1)]:JSON[_0x1c6967(_0x375c96._0x2422f4,0x24d,0x324,_0x375c96._0x29791d)](_0x4aec9d[_0x1c6967(_0x375c96._0x240cea,_0x375c96._0x50db43,_0x375c96._0x4013d8,0x1c1)],null,0x2);return _0x30622d(mt,{'maxWidth':_0x384687-Me[_0x2d318f(_0x375c96._0x2f1906,_0x375c96._0x31dee7,0x86c,_0x375c96._0x364d8a)],'children':_0x2ad997});}case _0x1c6967(0x3ef,0x194,0x424,_0x375c96._0x53ae72):return _0x30622d(Xs,{'toolResult':_0x4aec9d,'messageId':_0x291e55,'fullMode':_0x5baf3c});case _0x2d318f(0x3f2,0x6d6,_0x375c96._0x57219a,0x5d5):return _0x30622d(Zs,{'toolResult':_0x4aec9d,'toolCall':_0x27fa61,'messageId':_0x291e55,'fullMode':_0x5baf3c});case _0x2d318f(_0x375c96._0x1ee2d0,0x70a,_0x375c96._0x5c6cfb,_0x375c96._0xa84af4):return _0x30622d(ei,{'toolResult':_0x4aec9d,'messageId':_0x291e55,'messageContent':_0x461008,'messageColor':_0x12d3d4,'fullMode':_0x5baf3c,'cols':_0x384687});case _0x1c6967(0x508,_0x375c96._0x5a3dac,0x336,_0x375c96._0x253c49):return _0x30622d(ri,{'toolResult':_0x4aec9d,'toolCall':_0x27fa61,'messageId':_0x291e55,'messageContent':_0x461008,'messageColor':_0x12d3d4,'fullMode':_0x5baf3c,'cols':_0x384687});case _0x1c6967(0x5df,0x612,0x428,0x447):return _0x30622d(ni,{'toolResult':_0x4aec9d,'messageId':_0x291e55,'messageContent':_0x461008,'messageColor':_0x12d3d4,'fullMode':_0x5baf3c,'cols':_0x384687});default:return _0x30622d(si,{'toolResult':_0x4aec9d,'messageId':_0x291e55,'messageContent':_0x461008,'messageColor':_0x12d3d4,'fullMode':_0x5baf3c,'cols':_0x384687});}})()),_0x342271=bi(_0x4aec9d['name']),_0x386755=_0x4aec9d[_0x1bded2(-0x166,-_0x559525._0x3e4043,-0x1a2,-0x196)]!=null&&_0x4aec9d[_0x1bded2(-_0x559525._0x1d39f4,-_0x559525._0x47a43e,-0x1a2,-_0x559525._0x49f76e)]!=='',_0x599eb7=_0x4aec9d[_0x424128(_0x559525._0x269145,_0x559525._0x1da95b,_0x559525._0x3f0a03,0x4de)]===_0x1bded2(0x1a4,0xed,-_0x559525._0x361a31,-_0x559525._0x2c2d35),_0x4574af=_0x386755||_0x599eb7,_0x27b575=(_0x386755||_0x599eb7)&&(!_0x342271||_0x5baf3c),_0x18f872=!_0x342271||_0x5baf3c,_0x5a35e2=_0x4574af&&_0x5c3431===_0x1bded2(-_0x559525._0x1ac5a1,_0x559525._0x5f54c5,-_0x559525._0x51e64d,-_0x559525._0x328e2e),_0x3010fb=_0x4574af&&_0x5c3431===_0x424128(0x261,0xcc,_0x559525._0x2c1da7,_0x559525._0x5309d0),_0x21bd26=_0x18f872&&_0x5c3431===_0x1bded2(-0x3d,_0x559525._0x47da7b,-0x15a,0xef);return _0x32274b(_0x49f23c,{'marginLeft':0x2,'flexDirection':_0x424128(0x47e,_0x559525._0x5beabe,_0x559525._0x53ba84,_0x559525._0x5b02e9),'children':[_0x5a35e2&&_0x30622d(_0x49f23c,{'flexDirection':_0x1bded2(0x36,-_0x559525._0x58a1b1,-0xfe,-0x233),'children':_0x30622d(_0x4d502e,{'dimColor':!0x0,'color':_0x5ab267,'children':(_0x27b575||_0x21bd26?'├─':'╰─')+'\x20'+_0x6bae40})}),_0x27b575&&_0x30622d(_0x49f23c,{'borderStyle':_0x1bded2(-0x293,-0x2e,-0x1fd,-0x13f),'borderColor':_0x5ab267,'borderDimColor':!0x0,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'flexDirection':'column','paddingLeft':0x2,'width':_0x384687-0xa,'children':_0x45ffa8}),_0x21bd26&&_0x30622d(_0x49f23c,{'flexDirection':_0x424128(0x284,0x7e,_0x559525._0x505af6,_0x559525._0x1b9714),'children':_0x30622d(_0x4d502e,{'dimColor':!0x0,'color':_0x5ab267,'children':_0x424128(_0x559525._0x5c22dd,_0x559525._0x2f8cea,0x1d9,0x354)+(_0x2f6126&&(_0x4aec9d[_0x1bded2(-_0x559525._0x95be89,0x214,0x3c,_0x559525._0x3e98ee)]??0x0)>0x3e8?_0x1bded2(-0x22d,-0x23f,-_0x559525._0x246dc7,-0xf)+_0x2f6126:'')})}),_0x3010fb&&_0x30622d(_0x49f23c,{'flexDirection':'row','children':_0x30622d(_0x4d502e,{'dimColor':!0x0,'color':_0x5ab267,'children':_0x424128(_0x559525._0x456bf1,0x5b4,_0x559525._0x5a6084,0x3db)+_0x6bae40})})]});};import{Box as _0x54356d,Text as _0x2e88a8}from'ink';import{parseToolArguments as _0xb59195}from'@nuvin/nuvin-core';import{useState as _0x30ce4a,useEffect as _0x1214fa}from'react';import{Text as _0x209ab4}from'ink';import{jsx as _0x53e6c3}from'react/jsx-runtime';var jo=({hasResult:_0x3414c1,finalDuration:_0x43b9f6})=>{const _0x4164b3={_0x87a9f5:0x6b8,_0x52eece:0x4ab},_0x21144d={_0x419108:0x8c,_0x2ab494:0x1c3},_0x13e682={_0x4e64dd:0x876},_0x4e138a={_0x51efaf:0x2df,_0x110789:0x4f8},_0x4f3321={_0x5d98b0:0x29e};let [_0x5614bf,_0x49bb71]=_0x30ce4a(0x0);_0x1214fa(()=>{if(_0x3414c1)return;function _0x535314(_0x415b3c,_0x256e9e,_0x408617,_0x11e70b){return _0x4e8e(_0x408617-_0x4f3321._0x5d98b0,_0x11e70b);}let _0x229b1c=Date[_0x535314(_0x13e682._0x4e64dd,0x7c9,0x7b3,0x885)](),_0x29f6b3=setInterval(()=>{const _0x4ce1d8={_0x1f6faf:0x9e};function _0xc300e6(_0x167ef2,_0x301517,_0x13d670,_0x453f2b){return _0x535314(_0x167ef2-0x158,_0x301517-_0x4ce1d8._0x1f6faf,_0x301517- -0x4d4,_0x453f2b);}_0x49bb71(Date[_0xc300e6(0x25c,_0x4e138a._0x51efaf,0x3eb,_0x4e138a._0x110789)]()-_0x229b1c);},0x3e8);return()=>clearInterval(_0x29f6b3);},[_0x3414c1]);function _0x409dca(_0x477ebc,_0x3908e7,_0x18b73a,_0x4cf841){return _0x5a69d4(_0x477ebc-0x15b,_0x4cf841- -_0x21144d._0x419108,_0x3908e7,_0x4cf841-_0x21144d._0x2ab494);}let _0xafb703=Math[_0x409dca(0x349,_0x4164b3._0x87a9f5,_0x4164b3._0x52eece,0x54d)]((_0x3414c1&&_0x43b9f6!==void 0x0?_0x43b9f6:_0x5614bf)/0x3e8);return _0x5614bf>0x0?_0x53e6c3(_0x209ab4,{'dimColor':!0x0,'children':li(_0xafb703)}):null;};import{useEffect as _0x304105,useMemo as _0x57ec9b,useState as _0x25e71a}from'react';import{Text as _0x5ec19d,Box as _0x564eb2}from'ink';import _0x1a0d66 from'chalk';import{jsx as _0x17095e}from'react/jsx-runtime';var qu=0.5,Xu=0x3,Ju=1.2,Ko='#ffffff',Ti=({text:_0x22abe8,speedMs:_0x2eda12=0xa0,span:_0x254554=0x2,stops:_0x4f2fbc=[_0x5a69d4(0x76d,0x82b,0x8cc,0x5e0),_0x5a69d4(0x5c5,0x71f,0x94d,0x82e),_0x3764a2(0x3b1,0x402,0x20a,0x24c)],disabled:_0x4eb0c4=!0x1})=>{const _0xc26148={_0x1131a2:0x375,_0x2c1114:0x502,_0x117d55:0x138,_0xb38965:0x7f,_0x369224:0x52,_0x53c655:0x23a,_0x45e45a:0x59e,_0x416481:0x3b4,_0x390794:0x21b},_0x5c8de0={_0x1684ca:0x517,_0x318ad0:0x1b0,_0x4a9f8f:0x9},_0x5acba6={_0x5f3f04:0x651,_0x4db855:0x101,_0x300f76:0x1f2,_0x37d8cd:0x256,_0x419dfa:0x3aa},_0x4bf588={_0x4d0d76:0x6c8,_0x294309:0x4a5},_0x1f4c33={_0x3c9955:0x8d7,_0x25b92d:0x9d4},_0x368655={_0x2b08d5:0xf1};let _0x5c5a13=_0x57ec9b(()=>[..._0x22abe8],[_0x22abe8]),[_0x5b52b3,_0x16266e]=_0x25e71a(0x0),_0x4fa1b0=_0x57ec9b(()=>Zu(_0x4f2fbc,_0x5c5a13[_0x1f39e5(0x40b,0x45e,0x323,0x4f5)]),[_0x4f2fbc,_0x5c5a13['length']]);_0x304105(()=>{function _0x4384de(_0x54df7e,_0x2affa4,_0x5dc107,_0x158154){return _0x1f39e5(_0x54df7e-_0x368655._0x2b08d5,_0x2affa4-0x162,_0x158154-0x1f7,_0x5dc107);}if(_0x4eb0c4)return;let _0xfc52f7=Date[_0x4384de(0x2d4,0x26f,_0x4bf588._0x4d0d76,_0x4bf588._0x294309)](),_0x48add4=setInterval(()=>{let _0x354bac=Date[_0x432452(0x8a1,0x93e,0xa96,0x9ec)]()-_0xfc52f7;function _0x432452(_0x4a5626,_0x2c15ed,_0x583659,_0x1c707d){return _0x4384de(_0x4a5626-0x1bb,_0x2c15ed-0x18d,_0x583659,_0x4a5626-0x3fc);}function _0x28b6e2(_0x2d1eb3,_0xcaea7b,_0x184188,_0x98bced){return _0x4384de(_0x2d1eb3-0xa6,_0xcaea7b-0x13,_0xcaea7b,_0x98bced-0x2bd);}_0x16266e(_0x354bac/_0x2eda12%_0x5c5a13[_0x432452(0x916,_0x1f4c33._0x3c9955,0x7d0,_0x1f4c33._0x25b92d)]);},0x10);return()=>clearInterval(_0x48add4);},[_0x5c5a13[_0x1f39e5(0x14d,_0xc26148._0x1131a2,0x323,_0xc26148._0x2c1114)],_0x2eda12,_0x4eb0c4]);let _0x10a00d=_0x57ec9b(()=>_0x5c5a13['map']((_0x425124,_0xfe0e27)=>{const _0x1def0b={_0x5d5e00:0x149,_0xe00ad6:0x659};if(_0x4eb0c4)return{'char':_0x425124,'style':_0x1a0d66['hex'](_0x4fa1b0[_0xfe0e27])(_0x425124)};let _0x53c396=od(_0xfe0e27,_0x5b52b3,_0x5c5a13[_0x431584(0x715,_0x5acba6._0x5f3f04,0x68c,0x645)]),_0xc8bb9e=rd(_0x53c396,_0x254554),_0x439b38=_0x4fa1b0[_0xfe0e27],_0x433cf8=ed(_0x439b38,_0xc8bb9e*qu),_0x2999c1=_0x1a0d66[_0x24b71f(-_0x5acba6._0x4db855,-0x1bb,-0xe0,0x30)](_0x433cf8),_0x1547c7=_0xc8bb9e>0.6?_0x2999c1[_0x24b71f(_0x5acba6._0x300f76,_0x5acba6._0x37d8cd,0x3fc,_0x5acba6._0x419dfa)](_0x425124):_0x2999c1(_0x425124);function _0x431584(_0x53e382,_0x4af507,_0x29decb,_0x589ed1){return _0x4bd236(_0x53e382-0x2e,_0x4af507-0x165,_0x589ed1- -0x1ce,_0x29decb);}function _0x24b71f(_0x2d3cd7,_0x16fa82,_0x46f38c,_0x671acf){return _0x4bd236(_0x2d3cd7-_0x1def0b._0x5d5e00,_0x16fa82-0x159,_0x16fa82- -_0x1def0b._0xe00ad6,_0x46f38c);}return{'char':_0x425124,'style':_0x1547c7};}),[_0x5c5a13,_0x5b52b3,_0x4fa1b0,_0x254554,_0x4eb0c4]);function _0x4bd236(_0x1a52d9,_0x524800,_0x126c69,_0x57a65d){return _0x3764a2(_0x126c69-_0x5c8de0._0x1684ca,_0x524800-_0x5c8de0._0x318ad0,_0x57a65d,_0x57a65d-_0x5c8de0._0x4a9f8f);}function _0x1f39e5(_0x4402aa,_0xca9249,_0x246132,_0x7e698a){return _0x5a69d4(_0x4402aa-0x1ce,_0x246132- -0x4f4,_0x7e698a,_0x7e698a-0x169);}return _0x17095e(_0x564eb2,{'flexDirection':_0x1f39e5(_0xc26148._0x117d55,0x15,_0xc26148._0xb38965,_0xc26148._0x369224),'children':_0x10a00d[_0x1f39e5(_0xc26148._0x53c655,_0xc26148._0x45e45a,_0xc26148._0x416481,_0xc26148._0x390794)](_0x47d71a=>_0x17095e(_0x5ec19d,{'children':_0x47d71a[_0x1f39e5(-0xa6,-0x1c9,-0x2b,0x149)]},_0x47d71a[_0x1f39e5(0x7b,-0xba,0x55,-0x1a7)]+'-'+_0x47d71a[_0x1f39e5(0x189,-0x16,-0x2b,-0x127)]))});};function Zu(_0x3a27ef,_0x358562){const _0xefa8db={_0x5f08e9:0x7a5,_0x3d2314:0x709,_0x12c6a4:0x57e,_0x4fceaa:0x337,_0x32d71b:0x4e7,_0x58c3f1:0x4ea,_0x25eec3:0x68b,_0x4203a5:0x641,_0x1fe21d:0x689},_0x3b7cda={_0x536623:0x447,_0x41f151:0x655,_0x24097f:0x340,_0x5a44c9:0x180},_0x494c9e={_0x10783f:0x88};if(_0x3a27ef[_0x5fb60(0x954,_0xefa8db._0x5f08e9,_0xefa8db._0x3d2314,0x76a)]===0x0)return Array(Math[_0x425126(_0xefa8db._0x12c6a4,_0xefa8db._0x4fceaa,_0xefa8db._0x32d71b,0x17a)](0x1,_0x358562))['fill'](Ko);function _0x5fb60(_0x39f0f7,_0x35985f,_0x4add9d,_0x1ac3f2){return _0x5a69d4(_0x39f0f7-0x184,_0x4add9d- -0x10e,_0x35985f,_0x1ac3f2-_0x494c9e._0x10783f);}if(_0x358562<=0x1)return[_0x3a27ef[_0x3a27ef[_0x5fb60(_0xefa8db._0x58c3f1,_0xefa8db._0x25eec3,_0xefa8db._0x3d2314,_0xefa8db._0x4203a5)]-0x1]??Ko];let _0x212596=_0x3a27ef['length']-0x1;function _0x425126(_0x5ae978,_0x148e6c,_0x11a4d7,_0x585932){return _0x5a69d4(_0x5ae978-0x160,_0x148e6c- -0x57b,_0x5ae978,_0x585932-0x1cf);}return Array[_0x5fb60(0x483,0x65d,_0xefa8db._0x1fe21d,0x750)]({'length':_0x358562},(_0x277606,_0x36121c)=>{const _0x1380e3={_0x42406c:0x138};function _0x1bd0a0(_0x2dc77b,_0x5debd3,_0x3644d4,_0x5d2508){return _0x5fb60(_0x2dc77b-0x1b6,_0x2dc77b,_0x5debd3- -0x18b,_0x5d2508-_0x1380e3._0x42406c);}let _0x521b94=_0x36121c/(_0x358562-0x1),_0x3009ef=Math[_0x1bd0a0(_0x3b7cda._0x536623,0x42e,0x295,_0x3b7cda._0x41f151)](_0x212596-0x1,Math[_0x1bd0a0(0x519,_0x3b7cda._0x24097f,_0x3b7cda._0x5a44c9,0x588)](_0x521b94*_0x212596)),_0x3a117c=(_0x521b94-_0x3009ef/_0x212596)*_0x212596;function _0xe1f489(_0x198117,_0x6bd05d,_0x2b808b,_0x11ac9c){return _0x425126(_0x198117,_0x2b808b-0x24d,_0x2b808b-0x1ad,_0x11ac9c-0x133);}return Qu(_0x3a27ef[_0x3009ef],_0x3a27ef[_0x3009ef+0x1],td(_0x3a117c));});}function Qu(_0x282132,_0x36b1c1,_0x435f4a){const _0x235ffe={_0x3fcfd4:0x226,_0x190f6a:0x624,_0x2efa6d:0x4a5,_0x5e8094:0x45a},_0xcfe2f4={_0x1bb887:0x1f2},_0x503a8d={_0x385be3:0x64};function _0x5e03eb(_0x5c1106,_0x45df86,_0x5681c0,_0x4cce50){return _0x3764a2(_0x45df86-0x464,_0x45df86-_0x503a8d._0x385be3,_0x4cce50,_0x4cce50-0x101);}function _0x4920a8(_0x562695,_0x2a5f90,_0x45ac71,_0x54b3b7){return _0x5a69d4(_0x562695-0x4e,_0x562695- -0x214,_0x2a5f90,_0x54b3b7-_0xcfe2f4._0x1bb887);}let _0xdfeea0=_0x282132||Ko,_0x10d0d6=_0x36b1c1||Ko,[_0x3b241e,_0x842ddf,_0x52a041]=nn(_0xdfeea0),[_0x5d7123,_0x2700fa,_0x10e5cc]=nn(_0x10d0d6),_0x2a66fe=Math[_0x5e03eb(_0x235ffe._0x3fcfd4,0x463,0x23c,_0x235ffe._0x190f6a)](_0x3b241e+(_0x5d7123-_0x3b241e)*_0x435f4a),_0x2f850a=Math[_0x5e03eb(0x61f,0x463,0x48c,_0x235ffe._0x2efa6d)](_0x842ddf+(_0x2700fa-_0x842ddf)*_0x435f4a),_0x54e48b=Math[_0x4920a8(0x306,0x402,0x34c,_0x235ffe._0x5e8094)](_0x52a041+(_0x10e5cc-_0x52a041)*_0x435f4a);return wi(_0x2a66fe,_0x2f850a,_0x54e48b);}function ed(_0x1e218a,_0x320d64){const _0x3695d0={_0x5a0466:0x488,_0x2aef99:0x3c9,_0x515a1c:0x27f,_0x3131da:0x27f,_0x3e2bbb:0x119},_0x8aaa33={_0x4a3072:0x1d4,_0x33e498:0xf4},_0x3a392e={_0x15b052:0x29b,_0x31d0c0:0x90};let [_0x19743d,_0x363090,_0x3bb664]=nn(_0x1e218a),_0x21d362=Math[_0x266ea8(_0x3695d0._0x5a0466,_0x3695d0._0x2aef99,0x27f,0x3b1)](_0x19743d+(0xff-_0x19743d)*_0x320d64),_0x200d67=Math[_0x266ea8(0x3cf,0x235,_0x3695d0._0x515a1c,0x210)](_0x363090+(0xff-_0x363090)*_0x320d64),_0x1357e6=Math[_0x266ea8(0x484,0x375,_0x3695d0._0x3131da,_0x3695d0._0x3e2bbb)](_0x3bb664+(0xff-_0x3bb664)*_0x320d64);function _0x266ea8(_0xfe656b,_0x27ce89,_0x1b98bc,_0x3b4fda){return _0x5a69d4(_0xfe656b-0x169,_0x1b98bc- -_0x3a392e._0x15b052,_0x3b4fda,_0x3b4fda-_0x3a392e._0x31d0c0);}function _0x232043(_0x36a9c4,_0x5499fe,_0x53b616,_0x177de9){return _0x5a69d4(_0x36a9c4-_0x8aaa33._0x4a3072,_0x177de9- -0x306,_0x53b616,_0x177de9-_0x8aaa33._0x33e498);}return wi(_0x21d362,_0x200d67,_0x1357e6);}function nn(_0x61933b){const _0x5a3f75={_0x493c56:0x326,_0xc65efd:0x17c,_0x1cdf77:0x2de,_0x15afb3:0x134,_0x21b7e8:0x0,_0x29eb57:0x283,_0x9eb9be:0x10c,_0x279df9:0x1d6,_0x19bc68:0x232,_0x1b6e6b:0x2b1,_0x16cdb4:0x8f,_0x4ca841:0x169,_0x487272:0x367,_0x443c72:0x5ad,_0x3fbd04:0x1cf,_0x34bb01:0x1cf,_0x4aa5e4:0x412,_0x1ad2f8:0x32,_0xa7d9ae:0x139,_0xef3f3f:0x216,_0x4c876e:0x45f,_0x481b17:0x45a,_0x1453c8:0x292},_0x704c41={_0x395fdc:0x133},_0x4940eb={_0x32c942:0x42a,_0x1d9df5:0x13c};function _0x291c71(_0x5278a4,_0x76a84b,_0x1ff3f2,_0x10c031){return _0x5a69d4(_0x5278a4-0x48,_0x5278a4- -_0x4940eb._0x32c942,_0x10c031,_0x10c031-_0x4940eb._0x1d9df5);}if(!_0x61933b||typeof _0x61933b!=_0x291c71(0x466,0x2d9,0x4f3,_0x5a3f75._0x493c56))return console[_0x291c71(0x216,0x31,0x182,-0x17)](_0x368dc7(_0x5a3f75._0xc65efd,_0x5a3f75._0x1cdf77,_0x5a3f75._0x15afb3,0x1b1)+_0x61933b+',\x20falling\x20back\x20to\x20white'),[0xff,0xff,0xff];let _0x292ed2=_0x61933b[_0x291c71(0x3f,_0x5a3f75._0x21b7e8,_0x5a3f75._0x29eb57,_0x5a3f75._0x9eb9be)]('#','');if(_0x292ed2['length']!==0x6)return console[_0x291c71(0x216,0x321,_0x5a3f75._0x279df9,_0x5a3f75._0x19bc68)](_0x291c71(0x13d,_0x5a3f75._0x1b6e6b,-_0x5a3f75._0x16cdb4,_0x5a3f75._0x4ca841)+_0x61933b+_0x368dc7(_0x5a3f75._0x487272,_0x5a3f75._0x443c72,0x485,0x680)),[0xff,0xff,0xff];let _0x313fd2=parseInt(_0x292ed2[_0x368dc7(-0x63,0x28d,_0x5a3f75._0x3fbd04,0x3f4)](0x0,0x2),0x10),_0x3cbf9b=parseInt(_0x292ed2['slice'](0x2,0x4),0x10),_0x4f4065=parseInt(_0x292ed2[_0x368dc7(0x190,0x190,_0x5a3f75._0x34bb01,_0x5a3f75._0x4aa5e4)](0x4,0x6),0x10);function _0x368dc7(_0x3c7633,_0x4b18ce,_0x1bdeee,_0x5b32c1){return _0x3764a2(_0x1bdeee-0xe8,_0x4b18ce-0x196,_0x3c7633,_0x5b32c1-_0x704c41._0x395fdc);}return Number['isNaN'](_0x313fd2)||Number['isNaN'](_0x3cbf9b)||Number[_0x291c71(0xd0,_0x5a3f75._0x1ad2f8,-_0x5a3f75._0xa7d9ae,-0xf3)](_0x4f4065)?(console[_0x291c71(_0x5a3f75._0xef3f3f,_0x5a3f75._0x4c876e,0x1e9,_0x5a3f75._0x481b17)](_0x368dc7(0xd,-0xf6,0x134,_0x5a3f75._0x1453c8)+_0x61933b+_0x291c71(0x48e,0x2b5,0x67f,0x55d)),[0xff,0xff,0xff]):[_0x313fd2,_0x3cbf9b,_0x4f4065];}function wi(_0x15ba76,_0x5e137c,_0x1130fd){const _0x4b92a9={_0x1923ba:0x36a,_0xcad65d:0x340},_0x1951e0={_0xa40df5:0x134},_0x2cdfd6={_0x325359:0x130,_0x3183ab:0x7c};function _0x3aa665(_0x312cd1,_0x3a28b9,_0x344e9d,_0x1cdfce){return _0x5a69d4(_0x312cd1-_0x2cdfd6._0x325359,_0x312cd1- -0x53e,_0x344e9d,_0x1cdfce-_0x2cdfd6._0x3183ab);}function _0x363259(_0x205679,_0x10962f,_0x428b9d,_0xe10d44){return _0x5a69d4(_0x205679-0x57,_0x428b9d-0x13e,_0x10962f,_0xe10d44-_0x1951e0._0xa40df5);}return'#'+[_0x15ba76,_0x5e137c,_0x1130fd][_0x3aa665(_0x4b92a9._0x1923ba,_0x4b92a9._0xcad65d,0x15a,0x427)](_0x1be471=>Math['min'](0xff,Math[_0x3aa665(0x374,0x391,0x508,0x3de)](0x0,_0x1be471))[_0x3aa665(-0xa9,-0x220,-0x21a,-0x171)](0x10)[_0x363259(0x681,0x5d1,0x625,0x63e)](0x2,'0'))['join']('');}function td(_0x33bc2e){const _0x3ad748={_0x36ff80:0x76c,_0x3f3236:0x929,_0x292e70:0x5b6},_0x4afe3d={_0x1bc7da:0x14a,_0x1c5edf:0x2f},_0x27a0bc={_0x4efd08:0x35a};function _0x4010f4(_0x4fd62a,_0x1d487c,_0x5b5f17,_0x5ce2e0){return _0x3764a2(_0x5b5f17-_0x27a0bc._0x4efd08,_0x1d487c-0x1c2,_0x5ce2e0,_0x5ce2e0-0x43);}function _0x5915c7(_0x4628f9,_0x2d8062,_0x4707af,_0x5566b2){return _0x3764a2(_0x4707af-0x592,_0x2d8062-_0x4afe3d._0x1bc7da,_0x2d8062,_0x5566b2-_0x4afe3d._0x1c5edf);}return Math[_0x5915c7(_0x3ad748._0x36ff80,0x88c,_0x3ad748._0x3f3236,0xa16)](0x0,Math[_0x4010f4(_0x3ad748._0x292e70,0x472,0x506,0x434)](0x1,_0x33bc2e));}function od(_0x5b356b,_0x35599f,_0x12e583){const _0x4d598b={_0x17e50d:0x43c,_0x4e72d4:0x1b9,_0x4916e8:0x5c};function _0x4a6f6e(_0x3ab232,_0xc727f,_0x154367,_0x8cac58){return _0x3764a2(_0x8cac58-_0x4d598b._0x17e50d,_0xc727f-_0x4d598b._0x4e72d4,_0xc727f,_0x8cac58-_0x4d598b._0x4916e8);}let _0x84c432=Math[_0x4a6f6e(0x623,0x415,0x315,0x448)](_0x5b356b-_0x35599f);return Math['min'](_0x84c432,_0x12e583-_0x84c432);}function rd(_0x4c933a,_0x5b88d5){const _0x384c6f={_0x99a7a4:0x73c,_0x3f1305:0x427},_0x1a0a38={_0x32b7ce:0x14d},_0x219c5e={_0x5f0fcf:0x59a};let _0x2fd87b=Math[_0xd49afb(0x6fe,0x855,0x931,_0x384c6f._0x99a7a4)](Ju,_0x5b88d5/Xu);function _0xd49afb(_0x1cd73f,_0x117586,_0x32be1a,_0x323b75){return _0x3764a2(_0x32be1a-_0x219c5e._0x5f0fcf,_0x117586-0x1b0,_0x323b75,_0x323b75-0xcb);}function _0x581516(_0x33fb57,_0x172b02,_0x54fc94,_0x26b438){return _0x3764a2(_0x33fb57- -0x5a,_0x172b02-_0x1a0a38._0x32b7ce,_0x172b02,_0x26b438-0x1ce);}return Math[_0x581516(0x356,_0x384c6f._0x3f1305,0x504,0x122)](-(_0x4c933a*_0x4c933a)/(0x2*_0x2fd87b*_0x2fd87b));}import{Fragment as _0x20db54,jsx as _0x5861bc,jsxs as _0x349c29}from'react/jsx-runtime';var sd=(_0x29c5bb,_0x351ff1)=>{const _0x30cb73={_0x20f860:0x7fc,_0x208723:0x47d,_0x10f55e:0x2a1,_0x24f6c3:0xf8,_0x49f42c:0x50,_0x27f1ae:0x267,_0x2f0365:0x57b,_0x44ed37:0x49a,_0x486627:0x407,_0x2647e2:0x659,_0x3ead78:0x5bf,_0x191630:0x2ad,_0x29c82b:0x46a,_0x195c16:0x623,_0x491ad6:0x276,_0x4a8ab0:0x3e0,_0x42c977:0x9d4,_0x57323c:0x8de,_0x3c146a:0x87c,_0x2b9062:0x607,_0x219f4a:0x8d6,_0x4b6702:0x7ed,_0x22c62c:0x6c8,_0x23df89:0x7c1,_0x1fc200:0x1b0,_0x367f2c:0x192,_0x58367a:0x639,_0xd82c05:0x7f9,_0x5b459c:0x3cf,_0x5027e0:0x185,_0x4e99be:0x37b,_0x103a08:0x192,_0x491c43:0x77c,_0x38397f:0x3bd,_0x48fe6e:0x42a,_0x244da1:0x3ca,_0xc19a85:0x819,_0x268e07:0x8e9,_0x47a3ee:0x9e5,_0x14cded:0x672,_0x5164fc:0x7bf,_0x5f38d3:0x7d5,_0x395ed2:0x8fe,_0x2acdf5:0x7d5,_0x318a7b:0x452,_0x26f504:0x405,_0x5e418b:0x95c,_0x3f002d:0x86f,_0x2f6328:0x1d3,_0x10b7e3:0x2e4,_0x182856:0x3c,_0x391c26:0xd8,_0x2b776b:0x2e0,_0x137770:0x225,_0x41da70:0x6e6,_0x5ae614:0x8a5,_0x54857b:0x809,_0x38148d:0x85a,_0x82770e:0x483,_0x2fd46f:0x3e3,_0x4b261c:0x339,_0x230af1:0x7e2,_0x519d0d:0x78f,_0x104262:0x955,_0xeadc55:0xa32,_0x2ff074:0x89e,_0x4fd682:0x88e,_0x12838e:0x852,_0x82e94d:0x2fa,_0x168f3b:0x91,_0x5e1048:0x148,_0x4041fc:0xb83,_0x3722f8:0xb2c,_0x1dea7a:0x753,_0x1b6506:0x54a,_0x363020:0x7ad,_0x193910:0x632,_0x36c3ca:0x4d6,_0x5ce60b:0x4a7,_0x2f8fd9:0x2c,_0x27b287:0x97,_0x72c212:0x46,_0x3e0e09:0x8bd,_0x4829ba:0x916,_0x4f2cb4:0x949,_0x40b35b:0x979,_0x48dd35:0xb21,_0x4a3f1f:0xb38,_0x4b932c:0xa8f,_0x1992bb:0x701,_0x2f932c:0x406,_0x5c2986:0x667,_0x4cc5be:0x421,_0x5123ea:0x8af,_0x454fcf:0x940,_0x4058e3:0x7ba,_0xd9ed3d:0x9ce,_0x5a29e6:0x9b2,_0x5eb8a3:0x3d3},_0x5b9039={_0x204ba8:0x10,_0xd435c1:0x13e};if(_0x242b57(_0x30cb73._0x20f860,0x5d5,0x7d5,0x841)in _0x351ff1&&_0x351ff1['description'])return _0x351ff1['description'];function _0x242b57(_0x3ffc46,_0x3e11d0,_0x432809,_0x490874){return _0x5a69d4(_0x3ffc46-0x127,_0x432809-0x13e,_0x3ffc46,_0x490874-0x74);}function _0x2bdb37(_0x4b25db,_0x3e5876,_0x26e88f,_0x19f038){return _0x3764a2(_0x19f038-0xe5,_0x3e5876-_0x5b9039._0x204ba8,_0x3e5876,_0x19f038-_0x5b9039._0xd435c1);}switch(_0x29c5bb){case _0x2bdb37(0x53e,0x501,_0x30cb73._0x208723,0x31f):if('cmd'in _0x351ff1)return _0x351ff1['cmd'];break;case'file_read':if(_0x2bdb37(0x118,0xd2,0x18e,0xf8)in _0x351ff1){let _0x9ee729=_0x351ff1[_0x2bdb37(0x73,_0x30cb73._0x10f55e,0x327,_0x30cb73._0x24f6c3)];return _0x2bdb37(0x2e7,_0x30cb73._0x49f42c,0x1e6,_0x30cb73._0x27f1ae)in _0x351ff1&&_0x2bdb37(_0x30cb73._0x2f0365,0x4cc,0x6bd,_0x30cb73._0x44ed37)in _0x351ff1&&_0x351ff1[_0x2bdb37(_0x30cb73._0x486627,0x37c,0x3e2,_0x30cb73._0x27f1ae)]&&_0x351ff1['lineEnd']&&(_0x9ee729+='\x20(lines\x20'+_0x351ff1['lineStart']+'-'+_0x351ff1[_0x2bdb37(_0x30cb73._0x2647e2,_0x30cb73._0x3ead78,_0x30cb73._0x191630,0x49a)]+')'),_0x9ee729;}break;case _0x242b57(_0x30cb73._0x29c82b,_0x30cb73._0x195c16,0x5c6,0x4e5):case _0x2bdb37(0x35c,0x581,_0x30cb73._0x491ad6,_0x30cb73._0x4a8ab0):if(_0x242b57(0x7d6,_0x30cb73._0x42c977,_0x30cb73._0x57323c,_0x30cb73._0x3c146a)in _0x351ff1)return _0x351ff1['file_path'];break;case _0x242b57(_0x30cb73._0x2b9062,_0x30cb73._0x219f4a,0x7b3,_0x30cb73._0x4b6702):if(_0x242b57(_0x30cb73._0x22c62c,0x7d5,0x66c,_0x30cb73._0x23df89)in _0x351ff1){let _0x199512=_0x351ff1['path']||'.';return _0x2bdb37(_0x30cb73._0x1fc200,0x3da,0x6b,_0x30cb73._0x367f2c)in _0x351ff1&&_0x351ff1[_0x242b57(_0x30cb73._0x58367a,_0x30cb73._0xd82c05,0x706,0x534)]&&(_0x199512+=_0x2bdb37(0x1bc,_0x30cb73._0x5b459c,_0x30cb73._0x5027e0,_0x30cb73._0x4e99be)+_0x351ff1[_0x2bdb37(0x1c3,0x377,0x1e9,_0x30cb73._0x103a08)]+')'),_0x199512;}return'.';case _0x242b57(0x6d0,0x8c1,_0x30cb73._0x491c43,0x607):if('query'in _0x351ff1){let _0x18b460=_0x351ff1[_0x242b57(_0x30cb73._0x38397f,_0x30cb73._0x48fe6e,0x5f5,0x4ff)];return _0x2bdb37(0x323,-0x4f,0x280,_0x30cb73._0x5027e0)in _0x351ff1&&_0x351ff1[_0x2bdb37(_0x30cb73._0x244da1,0x36e,0x15f,0x185)]&&(_0x18b460+='\x20('+_0x351ff1['count']+'\x20results)'),_0x18b460;}break;case _0x242b57(0xa95,_0x30cb73._0xc19a85,_0x30cb73._0x268e07,_0x30cb73._0x47a3ee):if('url'in _0x351ff1)return _0x351ff1[_0x2bdb37(0x2cf,0xc,0x367,0x16d)];break;case _0x242b57(0x645,0x645,_0x30cb73._0x14cded,0x4ab):if('agent'in _0x351ff1&&'task'in _0x351ff1){let _0x37b145='description'in _0x351ff1&&_0x351ff1[_0x242b57(_0x30cb73._0x5164fc,0x994,_0x30cb73._0x5f38d3,0x5be)]?_0x351ff1[_0x242b57(0x62b,_0x30cb73._0x395ed2,_0x30cb73._0x2acdf5,0x83e)]:_0x351ff1[_0x2bdb37(0x3b3,_0x30cb73._0x318a7b,0x46a,0x28a)][_0x2bdb37(0x313,0x2d4,0x215,_0x30cb73._0x26f504)](0x0,0x32);return _0x351ff1[_0x242b57(0x88b,_0x30cb73._0x5e418b,0x996,_0x30cb73._0x3f002d)]+':\x20'+_0x37b145;}break;case _0x2bdb37(_0x30cb73._0x2f6328,0x2b3,0x42,0x21a):if(_0x2bdb37(_0x30cb73._0x10b7e3,0x160,-_0x30cb73._0x182856,0x148)in _0x351ff1&&Array[_0x2bdb37(_0x30cb73._0x391c26,_0x30cb73._0x2b776b,_0x30cb73._0x137770,0x1f3)](_0x351ff1[_0x242b57(0x58d,_0x30cb73._0x41da70,0x6bc,0x84f)])){let _0x16be79=_0x351ff1['todos'][_0x242b57(0xa3c,_0x30cb73._0x5ae614,0x957,0xb3a)](_0x466471=>_0x466471[_0x2bdb37(0x231,0x5e1,0x443,0x3cd)]===_0x2bdb37(0x56b,0x311,0x1cd,0x409)),_0x112349=_0x351ff1[_0x242b57(0x6a8,_0x30cb73._0x54857b,0x6bc,_0x30cb73._0x38148d)][_0x2bdb37(_0x30cb73._0x82770e,0x4c1,0x1cf,_0x30cb73._0x2fd46f)](_0x5087eb=>_0x5087eb[_0x242b57(0x8ca,0x72a,0x941,0xb1e)]===_0x242b57(0x93c,0xb38,0x990,0xb61));return _0x16be79[_0x2bdb37(0x233,0x343,_0x30cb73._0x4b261c,0x3e1)]===0x1&&_0x351ff1[_0x242b57(0x4a0,0x8f2,0x6bc,_0x30cb73._0x230af1)][_0x242b57(_0x30cb73._0x519d0d,0xb93,_0x30cb73._0x104262,0x998)]>0x1?_0x16be79[0x0][_0x242b57(0x99e,0x670,0x753,0x6d9)]+_0x242b57(_0x30cb73._0xeadc55,_0x30cb73._0x2ff074,0x9fd,_0x30cb73._0x4fd682):_0x112349[_0x242b57(0x80d,_0x30cb73._0x12838e,0x955,0xa80)]===0x1&&_0x351ff1[_0x2bdb37(0x276,_0x30cb73._0x82e94d,-_0x30cb73._0x168f3b,_0x30cb73._0x5e1048)][_0x242b57(0x718,_0x30cb73._0x4041fc,_0x30cb73._0x104262,_0x30cb73._0x3722f8)]>0x1?_0x112349[0x0][_0x242b57(0x719,0x5a2,_0x30cb73._0x1dea7a,_0x30cb73._0x1b6506)]+_0x242b57(0x749,0x875,_0x30cb73._0x363020,_0x30cb73._0x193910):_0x351ff1['todos'][_0x2bdb37(0x351,_0x30cb73._0x36c3ca,_0x30cb73._0x5ce60b,0x3e1)]+_0x2bdb37(_0x30cb73._0x2f8fd9,-_0x30cb73._0x27b287,0x7,_0x30cb73._0x72c212);}break;default:if(_0x242b57(_0x30cb73._0x3e0e09,0x9b8,_0x30cb73._0x4829ba,_0x30cb73._0x4f2cb4)in _0x351ff1&&typeof _0x351ff1[_0x242b57(0xb1e,0x822,0x916,0xa55)]==_0x242b57(_0x30cb73._0x40b35b,0x7e3,0x9ce,_0x30cb73._0x48dd35))return _0x351ff1[_0x242b57(_0x30cb73._0x4a3f1f,_0x30cb73._0x4b932c,0x916,_0x30cb73._0x1992bb)];if('id'in _0x351ff1&&typeof _0x351ff1['id']==_0x2bdb37(_0x30cb73._0x2f932c,_0x30cb73._0x5c2986,_0x30cb73._0x4cc5be,0x45a))return _0x351ff1['id'];if('value'in _0x351ff1&&typeof _0x351ff1[_0x242b57(0x8d1,0xa55,_0x30cb73._0x5123ea,_0x30cb73._0x454fcf)]==_0x242b57(_0x30cb73._0x4058e3,0xb5f,_0x30cb73._0xd9ed3d,_0x30cb73._0x5a29e6))return _0x351ff1[_0x2bdb37(_0x30cb73._0x5eb8a3,0x16d,0x49b,0x33b)];break;}},sn=({toolCall:_0x549ce0,subAgentState:_0xd81b79,toolResult:_0x52ae3f,messageId:_0x478ea8})=>{const _0x2967d7={_0x43261e:0x4ce,_0x10c2c1:0x658,_0x151a38:0x49a,_0x16e754:0x2eb,_0x28a72f:0x30e,_0x3fe3dc:0x123,_0x7118bc:0x802,_0x2b97ef:0x4ce,_0xf5ed90:0x6de,_0xf7c460:0x52a,_0x15b813:0x2f5,_0x1ed4d6:0x239,_0xe1a14a:0x1cc,_0x3e3356:0x74d,_0x130209:0x5b1,_0x385a1d:0x4ff,_0x20470f:0x744,_0x19aebc:0x757,_0x5f9fbc:0x668,_0x42f1c8:0x2fe,_0x498be2:0x1b5,_0x53749f:0x789,_0x2d7097:0x753,_0x18c51a:0x722,_0x50bf32:0x585,_0x53155c:0x3fa,_0x443213:0x677,_0x4a61eb:0x27a,_0x2ce0bf:0x30b,_0x4ef014:0x571,_0x4118fe:0x631,_0x26cd37:0x627,_0x51c91f:0x7d0,_0x3f9785:0x4b6,_0x766ca3:0x753,_0x2bc4f:0x7ca,_0x4d02a2:0x420,_0x16af53:0x2ce,_0x37b582:0x5c6,_0x1c861e:0x47d,_0x17ec95:0x3c4,_0xb77c1d:0x545,_0x37d198:0x7d6,_0x147e63:0x95e,_0x3bf33e:0x4c3,_0x1a3343:0x4b6,_0x15d53e:0x713,_0x2fda39:0x6b4,_0x1958d6:0x16b,_0x51fefa:0x239,_0x550a60:0x241,_0x567a39:0x1ba,_0x1d5120:0x2a2,_0x3debdb:0x77b,_0x476ae8:0x696,_0x1b7326:0x4e5,_0x5c7102:0xd7,_0x4e94e1:0x3be,_0x2a5b26:0x247,_0x46bba5:0x317,_0x4f7220:0x140,_0x12a6fa:0x26a,_0x29e735:0xd9,_0x393d84:0x139,_0xdee8b0:0x38a,_0x2f33d6:0x55c,_0x5642c0:0x192,_0x362152:0x669,_0x2fb414:0x3c9,_0x43afc5:0x2e6,_0x168ae:0x3a2,_0x54cf70:0x60f,_0x398df1:0x594,_0x2acb38:0x59a,_0x403933:0x5f8,_0x587292:0x4ce},_0x54218a={_0x28528a:0x5f,_0xdcfe69:0x7d,_0x473ab2:0x35,_0x302e10:0x2eb,_0x39923e:0x1ac,_0x494e9e:0x142,_0x102e95:0xda,_0xda33b:0x199,_0x15f081:0x36,_0x57c942:0x67,_0x4bb231:0x2fd,_0x1cb322:0x242,_0x534257:0x2e7,_0x579328:0x3a,_0x640066:0x3ff,_0x46ac15:0x1f5,_0x8050df:0x257,_0xdd4268:0x2df,_0x1572f7:0x219,_0x36b89a:0x1f5,_0x3244e0:0x14e,_0x4c6f5a:0x9b,_0x345fe8:0x55,_0x17e5e2:0x7c,_0xebeb53:0x3a5,_0x3141dc:0x29b,_0x49400a:0xaa},_0x321f93={_0x4011cd:0x1de,_0x916b92:0x2ba,_0x3073e0:0x13e};function _0x3c3a38(_0x5ee60b,_0x318b89,_0x26bd5e,_0x21f3e5){return _0x5a69d4(_0x5ee60b-_0x321f93._0x4011cd,_0x5ee60b- -_0x321f93._0x916b92,_0x21f3e5,_0x21f3e5-_0x321f93._0x3073e0);}let {cols:_0x25a094}=z(),{theme:_0x4d5fc6}=N(),{explainMode:_0x364517}=tt(),_0x4c58b5=typeof _0x549ce0[_0x3c3a38(_0x2967d7._0x43261e,0x5d0,_0x2967d7._0x10c2c1,_0x2967d7._0x151a38)][_0x3c3a38(0x2f5,_0x2967d7._0x16e754,_0x2967d7._0x28a72f,_0x2967d7._0x3fe3dc)]==_0x3c3a38(0x5d6,0x7f1,0x806,_0x2967d7._0x7118bc)?JSON['parse'](_0x549ce0[_0x3c3a38(_0x2967d7._0x2b97ef,_0x2967d7._0xf5ed90,0x40e,_0x2967d7._0xf7c460)][_0x3c3a38(_0x2967d7._0x15b813,_0x2967d7._0x1ed4d6,_0x2967d7._0xe1a14a,0x399)]):_0x549ce0[_0x426697(0x6d8,0x7d8,_0x2967d7._0x3e3356,_0x2967d7._0x130209)][_0x426697(_0x2967d7._0x385a1d,0x537,_0x2967d7._0x20470f,0x520)],_0x51bb69=_0x4c58b5[_0x3c3a38(0x59e,0x7ad,_0x2967d7._0x19aebc,_0x2967d7._0x5f9fbc)]||_0x3c3a38(_0x2967d7._0x42f1c8,0x520,0x1cf,_0x2967d7._0x498be2),_0xeaa0cb=_0x4c58b5[_0x426697(0x610,_0x2967d7._0x53749f,0x3dd,0x681)]||'',_0x30d723=_0x4c58b5['description']||'',_0x307700=_0xd81b79[_0x426697(_0x2967d7._0x2d7097,0x589,0x770,_0x2967d7._0x18c51a)]===_0x3c3a38(_0x2967d7._0x50bf32,0x3ad,_0x2967d7._0x53155c,_0x2967d7._0x443213),_0x3bcea4=_0x52ae3f?.[_0x426697(0x451,0x22f,0x3e3,_0x2967d7._0x4a61eb)]?.['toolResult'],_0x5d5051=_0x4d5fc6['colors'][_0x3c3a38(_0x2967d7._0x2ce0bf,0x244,0x196,0x3b1)];_0x307700&&_0xd81b79[_0x3c3a38(0x584,0x75f,0x480,0x773)]==='success'?_0x5d5051=_0x4d5fc6['status'][_0x426697(0x661,_0x2967d7._0x4ef014,_0x2967d7._0x4118fe,0x753)]:_0x307700&&_0xd81b79['finalStatus']===_0x426697(_0x2967d7._0x26cd37,_0x2967d7._0x51c91f,0x65f,_0x2967d7._0x3f9785)&&(_0x5d5051=_0x4d5fc6[_0x426697(_0x2967d7._0x766ca3,0x698,0x543,_0x2967d7._0x2bc4f)][_0x426697(0x627,0x4fc,0x435,0x517)]);let _0x48576b=_0x10a30e=>_0x10a30e[_0x3c3a38(0x195,-0x34,0x3d,0x19b)]('-')['map'](_0x28ba39=>_0x28ba39[_0x3c3a38(0x5b1,0x423,0x608,0x545)](0x0)[_0x3c3a38(0x411,0x372,0x1de,0x634)]()+_0x28ba39[_0x3c3a38(0x348,0x122,0x4d5,0x197)](0x1))[_0x426697(0x747,0x7cf,0x6be,0x8f3)]('\x20');function _0x426697(_0xe4d977,_0x525e96,_0x258698,_0x5c615b){return _0x5a69d4(_0xe4d977-0x19e,_0xe4d977- -0xb0,_0x258698,_0x5c615b-0xa);}return _0x349c29(_0x54356d,{'flexDirection':'column','marginTop':0x1,'children':[_0x349c29(_0x54356d,{'flexDirection':_0x3c3a38(0x2b9,_0x2967d7._0x4d02a2,0x456,_0x2967d7._0x16af53),'children':[_0x5861bc(_0x54356d,{'flexShrink':0x0,'marginRight':0x1,'children':_0x5861bc(_0x2e88a8,{'color':_0x4d5fc6[_0x3c3a38(0x554,0x766,_0x2967d7._0x37b582,0x553)]['tool'],'bold':!0x0,'children':'»'})}),_0x5861bc(_0x2e88a8,{'children':''+_0x48576b(_0x51bb69)+(_0x30d723?'\x20('+_0x30d723+')':'')})]}),_0x349c29(_0x54356d,{'flexDirection':'column','marginLeft':0x2,'children':[_0x364517&&_0x349c29(_0x20db54,{'children':[_0x5861bc(_0x54356d,{'flexDirection':_0x426697(_0x2967d7._0x1c861e,0x3f3,0x5fa,0x55a),'borderStyle':_0x426697(_0x2967d7._0x17ec95,0x234,_0x2967d7._0xb77c1d,0x1f4),'borderDimColor':!0x0,'borderColor':_0x5d5051,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x25a094-0x6,'children':Object['entries']({'agent':_0x51bb69,'task':_0xeaa0cb,'description':_0x30d723})[_0x426697(0x7f8,_0x2967d7._0x37d198,_0x2967d7._0x147e63,0x845)](([_0x5476bf,_0x3327e2])=>_0x5861bc(_0x2e88a8,{'dimColor':!0x0,'children':_0x5476bf+':\x20'+_0x3327e2},_0x5476bf))}),_0x349c29(_0x54356d,{'flexDirection':_0x426697(_0x2967d7._0x3bf33e,0x4b4,_0x2967d7._0x1a3343,0x4e8),'children':[_0x349c29(_0x2e88a8,{'dimColor':!0x0,'color':_0x5d5051,'children':['├─','\x20']}),_0x5861bc(_0x2e88a8,{'children':_0x426697(_0x2967d7._0x15d53e,0x65e,0x4cc,_0x2967d7._0x2fda39)})]})]}),_0x5861bc(_0x54356d,{'flexDirection':_0x3c3a38(0x273,_0x2967d7._0x1958d6,_0x2967d7._0x51fefa,_0x2967d7._0x550a60),'borderStyle':_0x3c3a38(_0x2967d7._0x567a39,0x55,-0x26,_0x2967d7._0x1d5120),'borderDimColor':!0x0,'borderColor':_0x5d5051,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':_0xd81b79['toolCalls'][_0x3c3a38(0x5ee,_0x2967d7._0x3debdb,_0x2967d7._0x476ae8,_0x2967d7._0x1b7326)](_0x43f25d=>{const _0x29b2fe={_0x156ef2:0x57c,_0x5a894f:0x1b5,_0x49a36b:0x105},_0x24fa32={_0x365f61:0x354,_0x1da76d:0x125};function _0x24b732(_0xa07b6e,_0x19387c,_0x1ee935,_0x31ffda){return _0x3c3a38(_0x31ffda- -_0x24fa32._0x365f61,_0x19387c-_0x24fa32._0x1da76d,_0x1ee935-0xb1,_0x1ee935);}let _0xada89f='';function _0x4c67fb(_0x1495b0,_0x209515,_0x5029a9,_0x14e3c6){return _0x426697(_0x14e3c6- -_0x29b2fe._0x156ef2,_0x209515-_0x29b2fe._0x5a894f,_0x209515,_0x14e3c6-_0x29b2fe._0x49a36b);}if(_0x43f25d[_0x24b732(-0x3e,-0x50,0x75,-_0x54218a._0x28528a)])try{let _0x1fdb86=_0xb59195(_0x43f25d[_0x4c67fb(-0x45,0x121,-0x1f3,-_0x54218a._0xdcfe69)]),_0x7806d8=sd(_0x43f25d[_0x4c67fb(-_0x54218a._0x473ab2,_0x54218a._0x302e10,0x18a,_0x54218a._0x39923e)],_0x1fdb86);_0x7806d8&&(_0xada89f='\x20'+_0x7806d8);}catch{}let _0x4c233a='\x20\x20',_0x37ad01=_0x4d5fc6[_0x4c67fb(0x9d,-_0x54218a._0x494e9e,0xc1,-_0x54218a._0x102e95)][_0x4c67fb(-_0x54218a._0xda33b,_0x54218a._0x15f081,0xe4,-_0x54218a._0x57c942)];return _0x43f25d[_0x24b732(_0x54218a._0x4bb231,0x33a,_0x54218a._0x1cb322,0x1f5)]===_0x24b732(_0x54218a._0x534257,-_0x54218a._0x579328,0x1c0,0x103)?(_0x4c233a='✓\x20',_0x37ad01=_0x4d5fc6[_0x24b732(0x3fc,0x18,_0x54218a._0x640066,_0x54218a._0x46ac15)]['success']):_0x43f25d[_0x24b732(0x4f,0x26f,_0x54218a._0x8050df,_0x54218a._0x46ac15)]==='error'&&(_0x4c233a='✗\x20',_0x37ad01=_0x4d5fc6[_0x24b732(_0x54218a._0xdd4268,_0x54218a._0x1572f7,0x151,_0x54218a._0x36b89a)]['error']),_0x349c29(_0x54356d,{'flexDirection':_0x4c67fb(0x14c,-0xff,-0x16e,-0xff),'children':[_0x349c29(_0x54356d,{'flexDirection':_0x24b732(-_0x54218a._0x3244e0,0x1a0,-0x2da,-_0x54218a._0x4c6f5a),'height':0x1,'children':[_0x4c233a?_0x5861bc(_0x2e88a8,{'color':_0x37ad01,'children':_0x4c233a}):null,_0x349c29(_0x54356d,{'flexWrap':_0x4c67fb(0x9b,-_0x54218a._0x345fe8,-0x16a,-_0x54218a._0x17e5e2),'children':[_0x5861bc(_0x2e88a8,{'dimColor':!0x0,'children':_0x43f25d[_0x24b732(_0x54218a._0xebeb53,0x193,0x14,0x1ca)]}),_0x5861bc(_0x2e88a8,{'dimColor':!0x0,'wrap':_0x4c67fb(-0x6e,-_0x54218a._0x3141dc,-0x15e,-_0x54218a._0x49400a),'children':_0xada89f}),_0x5861bc(_0x54356d,{'flexShrink':0x0,'children':_0x43f25d['durationMs']!==void 0x0&&_0x364517&&_0x5861bc(_0x2e88a8,{'dimColor':!0x0,'children':'\x20('+pt(_0x43f25d[_0x4c67fb(0x80,-0x1b3,0x2b4,0x81)])+')'})})]})]}),null]},_0x43f25d['id']);})})]}),!_0x307700&&_0x349c29(_0x54356d,{'flexDirection':_0x3c3a38(0x2b9,_0x2967d7._0x5c7102,_0x2967d7._0x4e94e1,_0x2967d7._0x2a5b26),'marginLeft':0x2,'children':[_0x349c29(_0x2e88a8,{'dimColor':!0x0,'color':_0x5d5051,'children':['╰─','\x20']}),_0x5861bc(Ti,{'text':_0x3c3a38(_0x2967d7._0x46bba5,0xf5,0x288,_0x2967d7._0x4f7220)}),!_0x364517&&_0x5861bc(_0x54356d,{'marginLeft':0x1,'children':_0x5861bc(jo,{'hasResult':_0x307700,'finalDuration':_0xd81b79[_0x3c3a38(_0x2967d7._0x12a6fa,_0x2967d7._0x29e735,_0x2967d7._0x393d84,0x4a0)]})}),_0xd81b79[_0x3c3a38(_0x2967d7._0xdee8b0,0x5ae,_0x2967d7._0x2f33d6,0x33c)]&&_0x5861bc(_0x54356d,{'marginLeft':0x1,'children':_0x349c29(_0x2e88a8,{'dimColor':!0x0,'children':['•\x20',_0xd81b79[_0x3c3a38(0x38a,0x4fb,0x420,_0x2967d7._0x5642c0)][_0x426697(0x7ce,0x670,0x66b,_0x2967d7._0x362152)],_0x3c3a38(_0x2967d7._0x2fb414,0x3f8,_0x2967d7._0x43afc5,0x521),We(_0xd81b79[_0x426697(0x594,_0x2967d7._0x168ae,0x355,0x39b)][_0x426697(0x4bc,0x2e3,_0x2967d7._0x54cf70,0x602)]),'\x20tokens',_0xd81b79[_0x426697(_0x2967d7._0x398df1,0x65c,0x43d,0x4f8)]['totalCost']>0x0&&'\x20•\x20$'+At(_0xd81b79[_0x426697(_0x2967d7._0x398df1,0x4f1,0x7d3,0x679)]['totalCost'])]})})]}),_0x307700&&_0x3bcea4&&_0x52ae3f?_0x5861bc(_0x54356d,{'marginBottom':0x1,'children':_0x5861bc(Zt,{'toolResult':_0x3bcea4,'toolCall':_0x549ce0,'messageId':_0x478ea8+_0x3c3a38(0x402,_0x2967d7._0x2acb38,_0x2967d7._0x403933,_0x2967d7._0x587292)+_0x549ce0['id'],'messageContent':_0x52ae3f['content']||'','fullMode':_0x364517,'subAgentMetrics':_0xd81b79[_0x3c3a38(0x38a,0x550,0x2f2,0x272)]})}):null]});};import{jsx as _0x4ee32a,jsxs as _0x355ab9}from'react/jsx-runtime';var an=({toolCall:_0x5cd894,toolResult:_0x2243b6,messageId:_0x4bcddd})=>{const _0xe81444={_0x50ab65:0x1d0,_0x52a71d:0x4c,_0x55751a:0x79,_0x174922:0x593,_0x4bb4f7:0x3af,_0x3c3a50:0x1b4,_0x6aba2a:0x124,_0x1f46fb:0x6d1,_0x450b1f:0x4ec,_0x358def:0x214,_0x3d9a0d:0x32d,_0x2b367c:0x363,_0x30ecc0:0x14e,_0x2bd222:0x3eb,_0x37aac6:0x237,_0x1f5047:0x18b,_0x511cad:0x328,_0x550877:0x478,_0x296dd9:0x4bf,_0x371d2a:0x310,_0x1cb551:0x613,_0x598ab6:0x487,_0x4f0efd:0x22a,_0x1798fe:0x2c,_0x37e688:0x31,_0x32f417:0xf7,_0x3b0cfa:0x182,_0x1dbc93:0xa4,_0x9503fe:0x415,_0x1b0422:0xff,_0x233fa0:0x2e8,_0x2fc652:0x3a1,_0x394315:0x588,_0x299ee5:0x580,_0x514a3b:0x42e,_0x37842f:0x5d5,_0x410cce:0x447,_0x1bbc29:0x29f,_0x5af841:0x1d7,_0x332def:0x1f7,_0x34ec01:0x20f,_0x19ee3c:0x3f0,_0x1891c1:0xbf,_0x2135e8:0x12,_0x4b6edc:0x77,_0x1798b0:0x24,_0x287dc1:0x229,_0x38a1f6:0x33f,_0x42bee3:0x1f1,_0x25da67:0x319,_0x25b089:0x266,_0x7cb6da:0x334,_0x45ed85:0x4cb,_0x43dbf8:0x13b,_0x543646:0x63b,_0x50f9f4:0x5b3,_0xe0b397:0x5ec,_0x5b60c5:0x3ad,_0xfb3587:0x4c1,_0x3f9f22:0x7ff,_0x340800:0x796,_0x333904:0x4d9,_0x540186:0x363,_0x109383:0x1b0,_0x2d51fd:0x399,_0x10381d:0x11f,_0x470154:0xea,_0x5db6e9:0x5fc,_0x25fef8:0x16b,_0x24f86a:0xd3,_0x5b1c14:0x5a,_0x4605e5:0x321,_0x51a310:0x42f,_0x169d3a:0x54d,_0x249883:0x53a,_0x517837:0x134,_0x32e67a:0x6de,_0x307d8b:0x62a,_0x59135d:0x584,_0x5384d0:0x122,_0x218c93:0xa7,_0x453027:0x11f,_0x57f9dc:0xdb,_0x55ee99:0x465,_0x4740e0:0x1ae,_0x3d266f:0x24b,_0x1f2675:0x26f,_0x7eb3e5:0x46c,_0xe6a831:0x607},_0x51ba24={_0x5270bc:0x366,_0x23be6c:0x9a,_0xcb84b8:0x128,_0x22046e:0x5e7,_0x2b81d8:0x6bb,_0x5cf6d8:0x49e,_0x5d0631:0x31f,_0x4a987b:0x4f3},_0x429c9b={_0x373a7c:0x21},_0x47b78f={_0x3ffbe6:0x2d},_0x2d55c4={_0x45236c:0x11b,_0x213200:0x4a0};function _0x234aba(_0x5dae84,_0x14507b,_0x5318dd,_0x375800){return _0x5a69d4(_0x5dae84-_0x2d55c4._0x45236c,_0x375800- -_0x2d55c4._0x213200,_0x5dae84,_0x375800-0x1af);}let {theme:_0x1ea772}=N(),{explainMode:_0x59be99}=tt(),{pendingApproval:_0x12df11}=Le();function _0x4cea0f(_0x43e63f,_0x3411f7,_0x4da31f,_0x2ba1a3){return _0x5a69d4(_0x43e63f-0x178,_0x2ba1a3- -0x250,_0x4da31f,_0x2ba1a3-_0x47b78f._0x3ffbe6);}if(_0x12df11?.['toolCalls'][_0x234aba(-_0xe81444._0x50ab65,_0xe81444._0x52a71d,-0x62,_0xe81444._0x55751a)](_0x3d2076=>_0x3d2076['id']===_0x5cd894['id'])??!0x1)return null;let _0x43851d=_0x1aa913=>typeof _0x1aa913==_0x234aba(0x2d5,0x3aa,0x4ec,0x3f0)?_0x1aa913:typeof _0x1aa913==_0x234aba(0x2d2,0x79,0x45f,0x276)&&_0x1aa913!==null?JSON['stringify'](_0x1aa913,null,0x0):String(_0x1aa913),_0x459f5a=_0x546a41(_0x5cd894[_0x4cea0f(_0xe81444._0x174922,_0xe81444._0x4bb4f7,0x5f3,0x538)][_0x234aba(0x45,0x327,-0xbf,0x10f)]),_0x4f7df6=_0x2243b6?.[_0x4cea0f(0x30c,_0xe81444._0x3c3a50,0x29e,0x2b1)]?.['duration'],_0x53b2c0=_0x2243b6?.[_0x4cea0f(0x1db,_0xe81444._0x6aba2a,0x36a,0x2b1)]?.[_0x4cea0f(0x2f2,_0xe81444._0x1f46fb,0x2c7,_0xe81444._0x450b1f)],_0x2cab00=_0x53b2c0?.[_0x234aba(_0xe81444._0x358def,0x349,_0xe81444._0x3d9a0d,_0xe81444._0x2b367c)]===_0x234aba(0x2fd,_0xe81444._0x30ecc0,_0xe81444._0x2bd222,_0xe81444._0x37aac6)&&_0x53b2c0[_0x4cea0f(0xc3,0xcf,_0xe81444._0x1f5047,0x2b1)]?.[_0x4cea0f(0x397,_0xe81444._0x511cad,_0xe81444._0x550877,0x2f4)]===_0x1d8cfe[_0x4cea0f(0x53f,_0xe81444._0x296dd9,0x4fd,_0xe81444._0x371d2a)],_0xc747eb=_0x53b2c0?.['status']===_0x4cea0f(_0xe81444._0x1cb551,0x3cd,0x675,_0xe81444._0x598ab6)&&_0x53b2c0[_0x234aba(_0xe81444._0x4f0efd,-_0xe81444._0x1798fe,_0xe81444._0x37e688,0x61)]?.[_0x234aba(0x33,_0xe81444._0x32f417,_0xe81444._0x3b0cfa,_0xe81444._0x1dbc93)]===_0x1d8cfe[_0x4cea0f(0x2f3,_0xe81444._0x2bd222,0x4e5,0x2f7)],_0xdb4279=!!_0x53b2c0&&!_0x2cab00&&!_0xc747eb,_0x1d22c9=_0x5cd894[_0x234aba(0x213,_0xe81444._0x9503fe,_0xe81444._0x1b0422,_0xe81444._0x233fa0)][_0x4cea0f(0x54d,0x511,_0xe81444._0x2fc652,_0xe81444._0x394315)],_0x4664b9=_0x459f5a[_0x4cea0f(_0xe81444._0x299ee5,_0xe81444._0x514a3b,_0xe81444._0x37842f,_0xe81444._0x410cce)]&&typeof _0x459f5a[_0x234aba(0x3d3,_0xe81444._0x1bbc29,_0xe81444._0x5af841,_0xe81444._0x332def)]==_0x234aba(0x1ef,_0xe81444._0x34ec01,0x324,_0xe81444._0x19ee3c)&&_0x459f5a['description'][_0x234aba(-_0xe81444._0x1891c1,_0xe81444._0x2135e8,_0xe81444._0x4b6edc,_0xe81444._0x1798b0)]()?_0x459f5a[_0x234aba(_0xe81444._0x287dc1,_0xe81444._0x38a1f6,_0xe81444._0x42bee3,0x1f7)]:xi(_0x1d22c9),_0x4ae6db=()=>{function _0xfd9bbe(_0x846d29,_0x8ac7f4,_0x55f4d3,_0x406a00){return _0x234aba(_0x55f4d3,_0x8ac7f4-0xb0,_0x55f4d3-0x58,_0x406a00-0x164);}function _0x5fc157(_0x2f15e7,_0x4941fc,_0x1f9d68,_0x8ab308){return _0x4cea0f(_0x2f15e7-0x9e,_0x4941fc-0x1c0,_0x1f9d68,_0x4941fc-_0x429c9b._0x373a7c);}switch(_0x1d22c9){case _0x5fc157(_0x51ba24._0x5270bc,0x259,_0x51ba24._0x23be6c,_0x51ba24._0xcb84b8):return Yt;case _0x5fc157(0x6cd,_0x51ba24._0x22046e,_0x51ba24._0x2b81d8,0x42d):return qt;case _0x5fc157(_0x51ba24._0x5cf6d8,0x305,0x352,_0x51ba24._0x5d0631):return Xt;case _0x5fc157(0x3c1,0x421,0x2df,_0x51ba24._0x4a987b):return()=>null;default:return Ge;}},_0x5cb453=_0x2cab00||_0xc747eb?_0x1ea772['status'][_0x234aba(_0xe81444._0x25da67,_0xe81444._0x25b089,0x1cd,_0xe81444._0x7cb6da)]:_0x53b2c0?.[_0x234aba(0x570,0x2d5,_0xe81444._0x45ed85,0x363)]===_0x234aba(_0xe81444._0x43dbf8,0x255,0x4f,0x271)?_0x1ea772[_0x4cea0f(0x3d0,_0xe81444._0x543646,0x571,_0xe81444._0x50f9f4)][_0x4cea0f(0x604,_0xe81444._0xe0b397,_0xe81444._0x5b60c5,_0xe81444._0xfb3587)]:_0x53b2c0?.[_0x4cea0f(0x53c,_0xe81444._0x3f9f22,_0xe81444._0x340800,0x5b3)]===_0x4cea0f(_0xe81444._0x333904,0x5a9,0x404,_0xe81444._0x598ab6)?_0x1ea772[_0x234aba(0x48a,0x2f8,0x4b3,_0xe81444._0x540186)]['error']:_0x1ea772[_0x234aba(_0xe81444._0x109383,_0xe81444._0x2d51fd,0x46c,0x363)][_0x234aba(0x2dd,0x1a6,-_0xe81444._0x10381d,_0xe81444._0x470154)],_0x2ef4cb=_0x4ae6db();return _0x355ab9(_0x2a5238,{'flexDirection':'column','children':[_0x355ab9(_0x2a5238,{'flexDirection':'row','children':[_0x4ee32a(_0x2a5238,{'flexShrink':0x0,'marginRight':0x1,'children':_0x4ee32a(_0x2f0dea,{'color':_0x1ea772[_0x4cea0f(0x632,_0xe81444._0x5db6e9,0x67e,0x5be)]['tool'],'bold':!0x0,'children':'»'})}),_0x4ee32a(_0x2f0dea,{'bold':!0x0,'children':_0x4664b9})]}),_0x4ee32a(_0x2ef4cb,{'toolCall':_0x5cd894,'args':_0x459f5a,'statusColor':_0x5cb453,'formatValue':_0x43851d}),!_0xdb4279&&!_0x2cab00&&!_0xc747eb&&_0x355ab9(_0x2a5238,{'flexDirection':_0x234aba(-0x73,-_0xe81444._0x25fef8,-0xed,_0xe81444._0x24f86a),'marginLeft':0x2,'children':[_0x355ab9(_0x2f0dea,{'dimColor':!0x0,'color':_0x5cb453,'children':['╰─','\x20']}),_0x4ee32a(_0x2f0dea,{'children':_0x234aba(-_0xe81444._0x5b1c14,0x133,_0xe81444._0x4605e5,0x1d1)}),_0x4ee32a(_0x2a5238,{'marginLeft':0x1,'children':_0x4ee32a(jo,{'hasResult':_0xdb4279,'finalDuration':_0x4f7df6})})]}),_0x2cab00&&_0x4ee32a(_0x2a5238,{'flexDirection':_0x4cea0f(_0xe81444._0x51a310,_0xe81444._0x169d3a,0x15a,0x323),'marginLeft':0x2,'children':_0x4ee32a(_0x2f0dea,{'dimColor':!0x0,'color':_0x1ea772[_0x4cea0f(_0xe81444._0x249883,0xe6,_0xe81444._0x517837,0x302)][_0x4cea0f(_0xe81444._0x32e67a,0x65d,_0xe81444._0x307d8b,_0xe81444._0x59135d)],'children':'╰─\x20Denied'})}),_0xc747eb&&_0x4ee32a(_0x2a5238,{'flexDirection':_0x234aba(_0xe81444._0x5384d0,-_0xe81444._0x218c93,_0xe81444._0x453027,_0xe81444._0x24f86a),'marginLeft':0x2,'children':_0x4ee32a(_0x2f0dea,{'dimColor':!0x0,'color':_0x1ea772[_0x234aba(-0x116,0x16f,_0xe81444._0x57f9dc,0xb2)][_0x4cea0f(0x663,0x372,_0xe81444._0x55ee99,0x584)],'children':_0x234aba(_0xe81444._0x4740e0,-0x13f,-_0xe81444._0x3d266f,-0x19)})}),_0xdb4279&&_0x53b2c0?_0x4ee32a(Zt,{'toolResult':_0x53b2c0,'toolCall':_0x5cd894,'messageId':_0x4bcddd+_0x4cea0f(0x600,0x693,_0xe81444._0x1f2675,_0xe81444._0x7eb3e5)+_0x5cd894['id'],'messageContent':_0x2243b6?.[_0x4cea0f(_0xe81444._0x4f0efd,0x4ef,_0xe81444._0xe6a831,0x3c5)]||'','fullMode':_0x59be99}):null]});};import{Box as _0x304da8,measureElement as _0x1fff08,Text as _0x513093}from'ink';import{useRef as _0x54574a,useEffect as _0x487950,useCallback as _0x9748be,useState as _0x396762}from'react';import{jsx as _0x1bb4f7,jsxs as _0x3944d0}from'react/jsx-runtime';function dd({scrollInfo:_0x338694,color:_0xe66555=_0x3764a2(0x1f8,-0xa,0x2f3,0x259),trackColor:_0x14bd75='dim'}){const _0x3d369b={_0x4df8a9:0x35f,_0x127702:0x11b,_0x58482b:0xba,_0x219213:0x1fd,_0x50aaf2:0x16c,_0x4a2d56:0x14c,_0x23b596:0x3f,_0x456b85:0x1fa,_0x2f26c3:0x16b,_0x17fb0c:0xb9,_0x7bb0c9:0x156},_0x4a7fc9={_0x5be211:0x116,_0x5d08f2:0x18e},_0x2803d8={_0xcbc22:0xd};let {scrollY:_0x29036d,containerHeight:_0x19abb4,contentHeight:_0x63d4a0}=_0x338694;function _0x569062(_0x1aaeb9,_0x2cc404,_0x3d9290,_0x12647a){return _0x3764a2(_0x3d9290- -0x38,_0x2cc404-_0x2803d8._0xcbc22,_0x12647a,_0x12647a-0x13);}if(_0x63d4a0<=_0x19abb4)return null;let _0x1e1b96=_0x19abb4,_0x1d4008=Math[_0x569062(0x56e,0x4b0,_0x3d369b._0x4df8a9,0x4b2)](0x1,Math[_0x569062(_0x3d369b._0x127702,-_0x3d369b._0x58482b,-0x39,-_0x3d369b._0x219213)](_0x19abb4/_0x63d4a0*_0x1e1b96)),_0x5989e7=_0x63d4a0-_0x19abb4,_0x2289b0=_0x5989e7>0x0?_0x29036d/_0x5989e7:0x0,_0x5b0309=Math['round'](_0x2289b0*(_0x1e1b96-_0x1d4008)),_0xf003ec=[];function _0x20c6a3(_0x1b77dd,_0x2086d1,_0x49b535,_0x586a33){return _0x3764a2(_0x49b535-_0x4a7fc9._0x5be211,_0x2086d1-_0x4a7fc9._0x5d08f2,_0x1b77dd,_0x586a33-0x16);}for(let _0x34686f=0x0;_0x34686f<_0x1e1b96;_0x34686f++)_0x34686f>=_0x5b0309&&_0x34686f<_0x5b0309+_0x1d4008?_0xf003ec[_0x569062(-_0x3d369b._0x50aaf2,-_0x3d369b._0x4a2d56,_0x3d369b._0x23b596,_0x3d369b._0x456b85)]('┃'):_0xf003ec[_0x20c6a3(_0x3d369b._0x2f26c3,0x366,0x18d,-_0x3d369b._0x17fb0c)]('│');return _0x1bb4f7(_0x304da8,{'flexDirection':_0x20c6a3(0x297,-0xd9,0x128,_0x3d369b._0x7bb0c9),'flexShrink':0x0,'children':_0xf003ec['map']((_0x2a365c,_0x572271)=>_0x1bb4f7(_0x513093,{'color':_0x2a365c==='┃'?_0xe66555:_0x14bd75,'children':_0x2a365c},_0x572271))});}function Yo({maxHeight:_0x242dec,children:_0xcaa6b9,scrollStep:_0xc7d9d2=0x1,enableMouseScroll:_0x47b312=!0x0,showScrollbar:_0x90144e=!0x0,scrollbarColor:_0x51e7f5=_0x5a69d4(0x402,0x4fb,0x426,0x4f7),scrollbarTrackColor:_0x149f40=_0x5a69d4(0x685,0x713,0x910,0x51d),mousePriority:_0x13d40c=0x0,..._0x5bbccc}){const _0x3fb728={_0x2f7766:0x52f,_0x1d5da2:0x547,_0x1c5657:0x29d,_0x40a727:0x641,_0x352640:0x55d,_0x9e4b42:0x3d1,_0x194d73:0x2c2,_0x101183:0x49e,_0x18beec:0x540,_0x2094f5:0x7c3,_0x4f3ad2:0x3c0,_0x29cc95:0x5aa,_0x5a78c7:0x5c7,_0x256876:0x1cd,_0x297e81:0x2e9,_0x3965ab:0x536,_0x528151:0x256,_0x3ce86c:0x3d8},_0x595765={_0x58dd68:0x4d6,_0x4c0956:0x63a,_0x959296:0x6e4,_0x168941:0x647,_0x1d9af6:0x612,_0x25f3ab:0x485},_0x46b42d={_0xe8c4af:0x214},_0x388bdf={_0x389445:0xbd,_0x4ee421:0x155,_0x1499b5:0x196},_0x5d4f65={_0x378493:0x7d5,_0x3349fe:0x581,_0x1fa1cf:0x576,_0x267218:0x324,_0x1e3d18:0x1b8,_0x5b9c73:0x1d7,_0xbe48f:0x19b,_0x8ef503:0x7f7},_0x3e6b70={_0x722b58:0x159,_0x56f0fe:0x27},_0x217979={_0xa0d37b:0x2a8,_0x1bad96:0x523,_0x6a4a4d:0x49b,_0x24792c:0x320,_0x293d68:0x18f,_0x32266c:0x39b,_0x3a7460:0x7f9,_0x56fbed:0x663,_0x431ffd:0x689,_0x3e13d7:0xd7,_0x4c1486:0xde,_0x1623e5:0x26f,_0x1c9015:0x253,_0x233ac8:0x539,_0x451b64:0x4ad,_0x5037b5:0x42a,_0x386965:0x379,_0x9ae8b6:0x6a8,_0x339ea0:0x4ef,_0x3c890f:0x49b},_0x48c0b3={_0x486306:0x96},_0x304368={_0x403bf9:0x36e,_0x2ce2f2:0x272,_0x41a2be:0x1f8,_0x48ddcd:0x3a1,_0x48f57f:0x1e0,_0x444edc:0x219,_0x3e5287:0x114,_0xe240bb:0x29d,_0x4e2a08:0x3bf},_0x130923={_0x2e7302:0x3f4};function _0x46b912(_0x4b7d5e,_0x254d59,_0x584d81,_0x3dc8a3){return _0x5a69d4(_0x4b7d5e-0xd2,_0x584d81- -_0x130923._0x2e7302,_0x3dc8a3,_0x3dc8a3-0x126);}let _0x1953d8=_0x54574a(null),_0x164caf=_0x54574a(null),_0xca7078=_0x54574a(_0xcaa6b9),_0x251e1e=_0x54574a(!0x1),[_0x10af0a,_0xd729c4]=_0x396762({'scrollY':0x0,'containerHeight':0x0,'contentHeight':0x0}),_0xcee0b9=_0x90144e&&_0x10af0a[_0x196c78(_0x3fb728._0x2f7766,0x489,0x585,_0x3fb728._0x1d5da2)]>_0x10af0a[_0x196c78(_0x3fb728._0x1c5657,_0x3fb728._0x40a727,_0x3fb728._0x352640,0x45f)],_0x20e763=_0x9748be(()=>{const _0x51d435={_0x4317ae:0xf8,_0x28dbb1:0x1c0,_0x1a2f5f:0x32},_0x263ca1={_0x3757cf:0x138};function _0x14a3f8(_0x248346,_0x10106b,_0x1804a2,_0x36a49b){return _0x196c78(_0x248346-0x132,_0x10106b,_0x1804a2-_0x263ca1._0x3757cf,_0x1804a2- -0x212);}if(!_0x1953d8[_0x36bcc3(_0x304368._0x403bf9,_0x304368._0x2ce2f2,0x2a3,0x139)]||!_0x164caf[_0x14a3f8(0x237,0xa1,_0x304368._0x41a2be,0x1ce)])return;let _0x55c958=_0x1953d8['current'][_0x14a3f8(0x561,0x3cc,0x3e6,0x4a8)](),_0x2ce222=_0x1fff08(_0x1953d8[_0x14a3f8(_0x304368._0x48ddcd,_0x304368._0x48f57f,_0x304368._0x41a2be,0x43b)]),_0x5d33ac=_0x1fff08(_0x164caf[_0x14a3f8(0x1b9,0x15d,0x1f8,_0x304368._0x444edc)]);function _0x36bcc3(_0x372e81,_0x4ce1be,_0x184327,_0x25cfec){return _0x46b912(_0x372e81-_0x51d435._0x4317ae,_0x4ce1be-_0x51d435._0x28dbb1,_0x25cfec- -_0x51d435._0x1a2f5f,_0x372e81);}_0xd729c4({'scrollY':_0x55c958?.['y']??0x0,'containerHeight':_0x2ce222[_0x14a3f8(_0x304368._0x3e5287,0xd9,0x244,_0x304368._0xe240bb)],'contentHeight':_0x5d33ac[_0x36bcc3(0x46,_0x304368._0x4e2a08,-0xc6,0x185)]});},[]),_0x409096=_0x9748be(_0x2cceea=>{const _0x549981={_0x35dfb8:0x1b0,_0x4f77bd:0x58};if(!_0x1953d8[_0x239148(0x42d,_0x217979._0xa0d37b,_0x217979._0x1bad96,_0x217979._0x6a4a4d)]||!_0x164caf[_0x3b8b8b(0xea,_0x217979._0x24792c,0x2b1,0x1b0)])return;let _0x17f382=_0x1953d8[_0x3b8b8b(0xf8,0x320,_0x217979._0x293d68,_0x217979._0x32266c)][_0x239148(0x51b,_0x217979._0x3a7460,_0x217979._0x56fbed,_0x217979._0x431ffd)]();function _0x239148(_0x10384e,_0x24277a,_0x345a1a,_0x48f8f6){return _0x196c78(_0x10384e-_0x549981._0x35dfb8,_0x345a1a,_0x345a1a-_0x549981._0x4f77bd,_0x48f8f6-0x91);}if(!_0x17f382)return;let _0x168190=Math['max'](0x0,_0x17f382['y']+_0x2cceea);_0x1953d8['current']['scrollTo']({'x':0x0,'y':_0x168190});function _0x3b8b8b(_0x23634f,_0xb7ac52,_0x444c3b,_0x285c9e){return _0x46b912(_0x23634f-0xde,_0xb7ac52-_0x48c0b3._0x486306,_0xb7ac52-0x1b5,_0x444c3b);}let _0x8a983c=_0x1953d8[_0x3b8b8b(0x399,0x320,_0x217979._0x3e13d7,_0x217979._0x4c1486)]['getScrollPosition']();if(_0x8a983c){let _0x55bbec=_0x1fff08(_0x1953d8[_0x239148(0x699,0x5b7,_0x217979._0x1623e5,_0x217979._0x6a4a4d)]),_0x45cdba=_0x1fff08(_0x164caf[_0x3b8b8b(0x538,0x320,_0x217979._0x1c9015,_0x217979._0x233ac8)])[_0x3b8b8b(_0x217979._0x451b64,0x36c,_0x217979._0x5037b5,0x56a)]-_0x55bbec[_0x239148(_0x217979._0x386965,0x40d,0x5e0,0x4e7)];_0x8a983c['y']>=_0x45cdba-0x1?_0x251e1e['current']=!0x1:_0x8a983c['y']>0x0&&(_0x251e1e[_0x239148(0x697,_0x217979._0x9ae8b6,_0x217979._0x339ea0,_0x217979._0x3c890f)]=!0x0);}_0x20e763();},[_0x20e763]),_0x40621a=_0x9748be(_0x171c93=>{const _0x263239={_0x27195a:0x2,_0x2a515f:0x27,_0x458262:0x140};let _0x5165ab=_0x171c93[_0x10fc3a(_0x5d4f65._0x378493,_0x5d4f65._0x3349fe,0x5a6,_0x5d4f65._0x1fa1cf)]||0x1;function _0x4c609b(_0x39188a,_0x2d9e6e,_0x46c5ca,_0x5582e4){return _0x46b912(_0x39188a-_0x3e6b70._0x722b58,_0x2d9e6e-0x153,_0x5582e4-_0x3e6b70._0x56f0fe,_0x39188a);}if(_0x171c93[_0x4c609b(_0x5d4f65._0x267218,_0x5d4f65._0x1e3d18,_0x5d4f65._0x5b9c73,_0x5d4f65._0xbe48f)]===_0x10fc3a(_0x5d4f65._0x8ef503,0x878,0x7e5,0x795))return _0x409096(-_0xc7d9d2*_0x5165ab),!0x0;function _0x10fc3a(_0x542652,_0x11a16e,_0x2dd7b3,_0x9789b5){return _0x196c78(_0x542652-_0x263239._0x27195a,_0x542652,_0x2dd7b3-_0x263239._0x2a515f,_0x2dd7b3-_0x263239._0x458262);}if(_0x171c93['type']==='wheel-down')return _0x409096(_0xc7d9d2*_0x5165ab),!0x0;},[_0x409096,_0xc7d9d2]);function _0x196c78(_0x48e92d,_0x9a9f26,_0x3ac9ed,_0x5354f2){return _0x5a69d4(_0x48e92d-_0x388bdf._0x389445,_0x5354f2- -_0x388bdf._0x4ee421,_0x9a9f26,_0x5354f2-_0x388bdf._0x1499b5);}return Cr(_0x40621a,{'isActive':_0x47b312&&_0xcee0b9,'priority':_0x13d40c}),_0x487950(()=>{function _0x2b0785(_0x3d8075,_0x3e5bb0,_0x14fff7,_0x21f392){return _0x196c78(_0x3d8075-0x14b,_0x3e5bb0,_0x14fff7-0xb1,_0x21f392-_0x46b42d._0xe8c4af);}function _0x5bbc32(_0x1934a1,_0x26e7f9,_0x32dec7,_0x14b8d1){return _0x196c78(_0x1934a1-0x1ef,_0x26e7f9,_0x32dec7-0x5e,_0x1934a1- -0x304);}_0xca7078['current']!==_0xcaa6b9&&(_0x251e1e[_0x2b0785(_0x595765._0x58dd68,0x55d,0x593,0x61e)]||_0x1953d8[_0x2b0785(_0x595765._0x4c0956,_0x595765._0x959296,_0x595765._0x168941,0x61e)]?.[_0x5bbc32(0x3fd,_0x595765._0x1d9af6,0x289,_0x595765._0x25f3ab)](),_0xca7078['current']=_0xcaa6b9),_0x20e763();},[_0xcaa6b9,_0x20e763]),_0x3944d0(_0x304da8,{'flexDirection':_0x46b912(0x390,0x2f7,0x17f,-0x9e),..._0x242dec!==void 0x0?{'maxHeight':_0x242dec}:{},'overflow':_0x46b912(_0x3fb728._0x9e4b42,_0x3fb728._0x194d73,_0x3fb728._0x101183,_0x3fb728._0x18beec),'children':[_0x1bb4f7(_0x304da8,{'ref':_0x1953d8,'overflow':_0x196c78(_0x3fb728._0x2094f5,0x584,_0x3fb728._0x4f3ad2,_0x3fb728._0x29cc95),'flexGrow':0x1,..._0x5bbccc,'flexDirection':_0x196c78(_0x3fb728._0x5a78c7,_0x3fb728._0x256876,_0x3fb728._0x297e81,0x3d8),'children':_0x1bb4f7(_0x304da8,{'ref':_0x164caf,'flexShrink':0x0,'flexDirection':_0x196c78(0x4a1,_0x3fb728._0x3965ab,_0x3fb728._0x528151,_0x3fb728._0x3ce86c),'children':_0xcaa6b9})}),_0xcee0b9&&_0x1bb4f7(dd,{'scrollInfo':_0x10af0a,'color':_0x51e7f5,'trackColor':_0x149f40})]});}import{jsx as _0x19060c,jsxs as _0x25f460}from'react/jsx-runtime';var fd=({message:_0x5156b0,backgroundColor:_0x4f8ebe,liveMessage:_0x7c779b=!0x1})=>{const _0x4243bc={_0x34a445:0x1,_0x7f9a75:0x208,_0x490014:0x4d6,_0x38ffdf:0x28b,_0x509299:0x12,_0xc8e576:0x347,_0xd0e0bc:0x2d,_0xba47ac:0x667},_0x37e397={_0x203d4f:0x1f4,_0x332413:0xf3},_0x1ec33f={_0xf6075d:0x7f},_0x31cd67={_0x4dae45:0x3d9,_0xcec6b3:0x283,_0x4f65d1:0x336,_0x27a820:0xca,_0x8f94ec:0x243,_0x14c115:0x3d9,_0x226467:0x3b2,_0x496bf3:0x1d4,_0x5bc48c:0x28,_0x4976f5:0xb,_0x2c2230:0x521,_0x134c13:0x4e0,_0x1eeff1:0x341,_0x245a15:0x37b,_0x45df41:0x633,_0x483516:0x566,_0x5024ef:0x29c,_0x273c8f:0x353,_0x37b029:0x39b,_0x417404:0x2b1,_0x11c458:0x340,_0x1568c9:0x171,_0x3e1511:0xcc,_0x269db5:0x36c,_0x22527e:0x43c,_0x1bad13:0xd8,_0x572dbf:0x175,_0x382996:0x7b,_0x469fc7:0x207,_0x34ad47:0x1a4,_0x49e231:0x2c1,_0x4f6d9f:0x39,_0x204168:0x148,_0x30db80:0xbd,_0x5dcf55:0xec,_0x54f385:0xb3,_0x120153:0x14a,_0x1deb91:0x118,_0x599fad:0x4ad,_0x5d752d:0x435,_0x53765e:0x445,_0x2bc16a:0x493,_0x3f80fe:0x57c,_0x3893b0:0x2d1,_0x10fb00:0x33c,_0x1c9f56:0x98,_0x18254f:0x13d,_0x1c9e5b:0x377,_0x434a7b:0x200,_0x407738:0x35a,_0x3dc037:0x162,_0xba51b5:0x35b,_0x54608c:0x159,_0x3ae4ff:0x145,_0x1a6c4c:0x475,_0x3cc543:0x2d5,_0x5b93f5:0x404,_0x10c389:0x3c8,_0x4293cf:0x46c,_0x1c90c7:0x2ed,_0x2b02cd:0x305,_0x1bfbac:0x3bf,_0x3e31ac:0x365,_0x23c075:0x415,_0x51af4b:0x15e,_0x141080:0x41,_0xd4ba14:0x231,_0x9dd4af:0x297,_0x1e8868:0x9,_0x226f17:0x176,_0x22cc5f:0x75,_0x1e980b:0x30d,_0x5be2b1:0x1c5,_0x35ab01:0x394,_0x2bb8ef:0x36,_0x9ba84f:0x1a1,_0xeb0bc:0x282,_0x429f63:0x23f,_0x19785a:0x17c,_0x557087:0x346,_0x346a1f:0x5af,_0x41b6e0:0x2b1,_0x1a779f:0x31d,_0x5501bd:0x3a2,_0x42025a:0x17e,_0x440d3b:0x339,_0x767992:0x38a,_0x39f58e:0x17,_0x3e870b:0x312,_0x4f7998:0x1f5,_0x227b63:0x180,_0x4332ae:0x406,_0x3a4d5b:0x282,_0x48c67c:0x1ad,_0x18f68a:0x2cb};let {cols:_0x27b10e,rows:_0x533fe3}=z(),{theme:_0x47f00b}=N(),_0x14eecf=_0x5156b0[_0x1739f0(0x30c,_0x4243bc._0x34a445,0xe1,0x190)]?.[_0x1739f0(0x202,_0x4243bc._0x7f9a75,0x4f1,0x3fd)]===!0x0,_0x317576=_0x5156b0[_0x1739f0(_0x4243bc._0x490014,0x92,_0x4243bc._0x38ffdf,0x2a4)],_0x4c8db5=()=>{const _0x412bf0={_0x5e5147:0x30c,_0x22e3b8:0x456,_0x45f0e8:0x68a,_0x130774:0x5a6,_0x2fc0d2:0x5d1,_0x2d95e8:0x4ee,_0x4de50b:0x556,_0x109e89:0x132,_0x197757:0x352,_0x4ac4e7:0x3e8,_0x93fea4:0x31f,_0x239d82:0x8fa,_0x2b434c:0x633,_0xfbb3ad:0x351,_0xeb4cf4:0x15b,_0x4c251e:0x248},_0x407841={_0x12ed14:0x2c0},_0x9a1c87={_0x720f9:0xa4};function _0x4c44cf(_0x4ec31c,_0x426afc,_0x10a035,_0x502d62){return _0x1739f0(_0x4ec31c,_0x426afc-0x19e,_0x10a035-0x157,_0x502d62- -0x61);}function _0x1b43c1(_0x547b8a,_0xd65161,_0x43531d,_0x2fe8e6){return _0x2f25ba(_0x547b8a- -0x2d3,_0xd65161-0x2e,_0x43531d-_0x9a1c87._0x720f9,_0xd65161);}switch(_0x5156b0['type']){case _0x1b43c1(_0x31cd67._0x4dae45,0x595,_0x31cd67._0xcec6b3,0x57a):return _0x25f460(_0x13bf99,{'flexDirection':_0x1b43c1(0x118,_0x31cd67._0x4f65d1,0x74,_0x31cd67._0x27a820),'marginY':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x1b43c1(0x3f9,0x643,_0x31cd67._0x8f94ec,0x296)][_0x1b43c1(_0x31cd67._0x14c115,_0x31cd67._0x226467,0x1e4,_0x31cd67._0x496bf3)],'bold':!0x0,'children':'❯\x20[you]'})}),_0x19060c(_0x13bf99,{'marginX':0x2,'children':_0x19060c(mt,{'children':_0x317576})})]});case _0x4c44cf(-_0x31cd67._0x5bc48c,0x1a0,_0x31cd67._0x4976f5,0x11b):{let _0x289449=Math[_0x4c44cf(0x36f,_0x31cd67._0x2c2230,0x5b5,_0x31cd67._0x134c13)](0xa,_0x533fe3-0xc);return _0x14eecf?_0x25f460(_0x13bf99,{'flexDirection':_0x4c44cf(0xe1,_0x31cd67._0x1eeff1,_0x31cd67._0x245a15,0x15b),'marginY':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x1b43c1(0x3f9,_0x31cd67._0x45df41,_0x31cd67._0x483516,0x567)][_0x4c44cf(_0x31cd67._0x5024ef,_0x31cd67._0x273c8f,0x2f9,0x11b)],'bold':!0x0,'children':_0x4c44cf(_0x31cd67._0x37b029,_0x31cd67._0x417404,_0x31cd67._0x11c458,0x24a)})}),_0x19060c(Yo,{'maxHeight':_0x289449,'marginX':0x2,'children':_0x19060c(mt,{'enableCache':!0x0,'children':_0x317576})})]}):_0x25f460(_0x13bf99,{'flexDirection':_0x1b43c1(0x118,0x61,_0x31cd67._0x1568c9,_0x31cd67._0x3e1511),'marginY':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x4c44cf(_0x31cd67._0x269db5,0x483,0x670,_0x31cd67._0x22527e)][_0x1b43c1(_0x31cd67._0x1bad13,_0x31cd67._0x572dbf,0x309,_0x31cd67._0x382996)],'bold':!0x0,'children':_0x1b43c1(_0x31cd67._0x469fc7,0x24d,0x16e,0x50)})}),_0x19060c(_0x13bf99,{'marginX':0x2,'children':_0x19060c(mt,{'enableCache':!0x0,'children':_0x317576})})]});}case _0x1b43c1(_0x31cd67._0x34ad47,_0x31cd67._0x49e231,-_0x31cd67._0x4f6d9f,-0x30):{let _0x45c6a2=_0x5156b0['metadata']?.[_0x1b43c1(0x41,-0x16,-_0x31cd67._0x204168,-_0x31cd67._0x30db80)]??[],_0x3efb57=_0x5156b0[_0x1b43c1(_0x31cd67._0x5dcf55,0x2b3,_0x31cd67._0x54f385,_0x31cd67._0x120153)]?.['toolResultsByCallId'];return _0x19060c(_0x13bf99,{'flexDirection':_0x1b43c1(_0x31cd67._0x1deb91,0x13e,-0x11,0xe7),'children':_0x45c6a2[_0x4c44cf(_0x31cd67._0x599fad,0x1fe,_0x31cd67._0x5d752d,_0x31cd67._0x53765e)]>0x0?_0x45c6a2[_0x1b43c1(_0x31cd67._0x2bc16a,_0x31cd67._0x3f80fe,_0x31cd67._0x3893b0,_0x31cd67._0x10fb00)]((_0x25f726,_0x174f7e)=>{let _0x102c80=_0x3efb57?.[_0x5e53db(_0x412bf0._0x5e5147,0x2ef,0x39e,_0x412bf0._0x22e3b8)](_0x25f726['id']);function _0x5e53db(_0x5234e3,_0x55ee22,_0x3ba0dd,_0x14789a){return _0x1b43c1(_0x55ee22-0x233,_0x5234e3,_0x3ba0dd-0x144,_0x14789a-0x16d);}if(_0x25f726[_0x5e53db(_0x412bf0._0x45f0e8,_0x412bf0._0x130774,_0x412bf0._0x2fc0d2,0x4d7)][_0x1be583(_0x412bf0._0x2d95e8,0x683,_0x412bf0._0x4de50b,0x589)]===_0x5e53db(_0x412bf0._0x109e89,_0x412bf0._0x197757,_0x412bf0._0x4ac4e7,0x203)){let _0x19c632=_0x5156b0[_0x5e53db(0x553,_0x412bf0._0x93fea4,0x25a,0x37a)]?.[_0x1be583(_0x412bf0._0x239d82,0x728,0x876,_0x412bf0._0x2b434c)+_0x25f726['id']];if(_0x19c632)return _0x19060c(sn,{'toolCall':_0x25f726,'subAgentState':_0x19c632,'toolResult':_0x102c80,'messageId':_0x5156b0['id']},_0x25f726['id']||_0x5156b0['id']+_0x1be583(0x4c4,_0x412bf0._0xfbb3ad,0x1ad,_0x412bf0._0xeb4cf4)+_0x174f7e);}function _0x1be583(_0x45ba92,_0x49e639,_0x5e7afd,_0x22d46b){return _0x1b43c1(_0x49e639-_0x407841._0x12ed14,_0x45ba92,_0x5e7afd-0xe3,_0x22d46b-0x17c);}return _0x19060c(_0x13bf99,{'marginY':0x1,'children':_0x19060c(an,{'toolCall':_0x25f726,'toolResult':_0x102c80,'messageId':_0x5156b0['id']},_0x25f726['id']||_0x5156b0['id']+'-tool-'+_0x174f7e)},_0x25f726['id']||_0x5156b0['id']+_0x5e53db(0x508,0x2c4,0x177,_0x412bf0._0x4c251e)+_0x174f7e);}):_0x25f460(_0x13bf99,{'flexDirection':_0x1b43c1(0x15e,_0x31cd67._0x1c9f56,_0x31cd67._0x18254f,_0x31cd67._0x1c9e5b),'marginY':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x1b43c1(0x3f9,0x4e4,0x1d4,0x3cc)][_0x4c44cf(0x205,0x200,0x7f,0x1e7)],'bold':!0x0,'children':'»'})}),_0x19060c(_0x1e6564,{'children':_0x5156b0[_0x1b43c1(_0x31cd67._0x434a7b,_0x31cd67._0x407738,_0x31cd67._0x3dc037,_0x31cd67._0xba51b5)]})]})});}case _0x4c44cf(_0x31cd67._0x54608c,_0x31cd67._0x3ae4ff,_0x31cd67._0x1a6c4c,_0x31cd67._0x3cc543):return null;case _0x4c44cf(_0x31cd67._0x5b93f5,_0x31cd67._0x10c389,0x487,0x305):return _0x25f460(_0x13bf99,{'flexDirection':'row','marginTop':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x1b43c1(0x3f9,0x372,0x2fd,0x493)][_0x4c44cf(_0x31cd67._0x4293cf,_0x31cd67._0x1c90c7,0x122,_0x31cd67._0x2b02cd)],'bold':!0x0,'children':'●'})}),_0x19060c(_0x1e6564,{'children':_0x5156b0[_0x4c44cf(_0x31cd67._0x496bf3,0x22a,0x2dc,_0x31cd67._0x8f94ec)]})]});case _0x1b43c1(_0x31cd67._0x1bfbac,_0x31cd67._0x3e31ac,0x21a,_0x31cd67._0x23c075):return _0x25f460(_0x13bf99,{'flexDirection':_0x1b43c1(_0x31cd67._0x51af4b,-_0x31cd67._0x141080,0x44,0x210),'marginTop':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x4c44cf(0x524,_0x31cd67._0xd4ba14,0x54c,0x43c)][_0x1b43c1(0x3bf,0x3fe,0x173,_0x31cd67._0x9dd4af)],'bold':!0x0,'children':'●'})}),_0x19060c(_0x1e6564,{'children':_0x5156b0[_0x4c44cf(_0x31cd67._0x1e8868,0x295,_0x31cd67._0x226f17,0x243)]})]});case _0x4c44cf(_0x31cd67._0x22cc5f,_0x31cd67._0x1e980b,0x141,_0x31cd67._0x5be2b1):return _0x25f460(_0x13bf99,{'flexDirection':_0x4c44cf(_0x31cd67._0x35ab01,-_0x31cd67._0x2bb8ef,0x7f,_0x31cd67._0x9ba84f),'marginTop':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x5156b0[_0x4c44cf(0x3b2,0x93,0x3f,_0x31cd67._0xeb0bc)]||_0x47f00b['messageTypes']['info'],'bold':!0x0,'children':'●'})}),_0x19060c(_0x1e6564,{'color':_0x5156b0[_0x1b43c1(_0x31cd67._0x429f63,_0x31cd67._0x19785a,_0x31cd67._0x557087,0x1a9)],'children':_0x5156b0[_0x1b43c1(0x200,0x3e5,0x35d,0x76)]})]});case _0x1b43c1(_0x31cd67._0x245a15,_0x31cd67._0x346a1f,_0x31cd67._0x41b6e0,_0x31cd67._0x1a779f):return _0x25f460(_0x13bf99,{'flexDirection':'row','marginTop':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x4c44cf(0x628,0x38d,_0x31cd67._0x5501bd,0x43c)][_0x1b43c1(0x37b,_0x31cd67._0x42025a,_0x31cd67._0x1bfbac,0x2ef)],'bold':!0x0,'children':'●'})}),_0x19060c(_0x1e6564,{'children':_0x5156b0[_0x1b43c1(0x200,0x73,_0x31cd67._0x440d3b,0x1fb)]})]});case _0x4c44cf(0x397,0x3f1,0x24f,_0x31cd67._0x23c075):return _0x25f460(_0x13bf99,{'flexDirection':_0x4c44cf(_0x31cd67._0x767992,-_0x31cd67._0x39f58e,_0x31cd67._0x3e870b,0x1a1),'marginTop':0x1,'children':[_0x19060c(_0x13bf99,{'flexShrink':0x0,'marginRight':0x1,'children':_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x1b43c1(0x3f9,0x279,0x2c3,0x24c)]['thinking'],'bold':!0x0,'children':'●'})}),_0x19060c(_0x1e6564,{'color':_0x47f00b[_0x4c44cf(0x327,_0x31cd67._0x4f7998,0xfd,_0x31cd67._0x227b63)][_0x1b43c1(0x1b0,-0x41,0x331,-0x76)],'dimColor':!0x0,'children':_0x5156b0['content']})]});default:return _0x19060c(_0x1e6564,{'color':_0x5156b0[_0x4c44cf(_0x31cd67._0x4332ae,0x3e9,0x10f,_0x31cd67._0x3a4d5b)],'children':_0x5156b0[_0x1b43c1(_0x31cd67._0x434a7b,0xb4,_0x31cd67._0x48c67c,_0x31cd67._0x18f68a)]});}};function _0x2f25ba(_0x175a52,_0x5d8c3d,_0x28981a,_0x241e3d){return _0x5a69d4(_0x175a52-0x6f,_0x175a52- -0x142,_0x241e3d,_0x241e3d-_0x1ec33f._0xf6075d);}function _0x1739f0(_0x2ffe83,_0x2bc839,_0x40a782,_0x21436a){return _0x5a69d4(_0x2ffe83-_0x37e397._0x203d4f,_0x21436a- -0x371,_0x2ffe83,_0x21436a-_0x37e397._0x332413);}return _0x19060c(_0x13bf99,{'width':_0x27b10e,'backgroundColor':_0x4f8ebe,..._0x7c779b?{'borderStyle':'single','borderColor':_0x47f00b[_0x1739f0(_0x4243bc._0x509299,_0x4243bc._0xc8e576,_0x4243bc._0xd0e0bc,0x1e1)][_0x2f25ba(_0x4243bc._0xba47ac,0x83e,0x55a,0x4fb)],'borderBottom':!0x1,'borderTop':!0x1,'borderLeft':!0x1}:{},'children':_0x4c8db5()});},qo=_0x35961c['memo'](fd,(_0x2cdf78,_0x64edc6)=>!(_0x2cdf78['message']['id']!==_0x64edc6[_0x3764a2(0x74,-0x3f,0xa2,-0x14)]['id']||_0x2cdf78[_0x5a69d4(0x603,0x58f,0x648,0x578)][_0x5a69d4(0x6f7,0x615,0x3fb,0x794)]!==_0x64edc6[_0x5a69d4(0x3fc,0x58f,0x367,0x70c)][_0x5a69d4(0x7e8,0x615,0x525,0x495)]||_0x2cdf78[_0x3764a2(0x74,0x274,0x32,-0xf8)][_0x5a69d4(0x6b8,0x501,0x616,0x322)]?.[_0x3764a2(0x253,0x420,0x291,0x37)]!==_0x64edc6[_0x3764a2(0x74,0x177,0x6e,-0x8f)][_0x5a69d4(0x3b2,0x501,0x5ad,0x382)]?.[_0x5a69d4(0x60e,0x76e,0x60a,0x865)]||_0x2cdf78[_0x5a69d4(0x5e5,0x67d,0x708,0x4a9)]!==_0x64edc6[_0x5a69d4(0x6b4,0x67d,0x79d,0x79a)]||_0x2cdf78[_0x3764a2(0x37d,0x4dc,0x445,0x499)]!==_0x64edc6[_0x3764a2(0x37d,0x145,0x35c,0x25d)]||_0x2cdf78[_0x3764a2(0x74,0x2bf,-0x5e,0x1d3)][_0x3764a2(-0x1a,0xd7,0xd5,0x11a)]!==_0x64edc6[_0x3764a2(0x74,0xc0,0x75,-0x118)][_0x3764a2(-0x1a,-0x1d,-0x1a5,0xf1)]));import{Box as _0x1c4ab0,Text as _0x276183}from'ink';import _0x5013e5 from'ink-gradient';import{jsx as _0x467f01,jsxs as _0x462598}from'react/jsx-runtime';var hd=_0x4da7ca(),yd=_0x3764a2(0x195,-0x18,0x45,0x1a)+hd[_0x5a69d4(0x8c4,0x841,0x817,0x9ab)](0x7,'\x20')+_0x5a69d4(0x6ca,0x792,0x7ab,0x55c),Mi=({recentSessions:_0x1578a3})=>{const _0x350b0b={_0x5984a1:0xd0,_0x447067:0x42f,_0x23e91f:0x99,_0x5b8773:0x18a,_0xd8814f:0x3bc,_0x48df5:0x706,_0x4d3aa9:0x588,_0xc0d92e:0x5e9},_0x1c60eb={_0x447d3c:0x42};function _0x3b086e(_0x49fc3d,_0x597d46,_0x5abbd6,_0x26a41e){return _0x3764a2(_0x49fc3d-0x266,_0x597d46-_0x1c60eb._0x447d3c,_0x5abbd6,_0x26a41e-0x1d5);}let {cols:_0x89f4}=z();function _0x20267e(_0xae0c31,_0x5e7400,_0x126bf3,_0x2deded){return _0x3764a2(_0x5e7400-0x1d7,_0x5e7400-0x1e2,_0xae0c31,_0x2deded-0x9f);}return _0x462598(_0x1c4ab0,{'flexDirection':'row','padding':0x0,'width':_0x89f4,'marginTop':0x1,'marginBottom':0x4,'children':[_0x467f01(_0x1c4ab0,{'width':0x18,'justifyContent':_0x3b086e(0x2b1,0x47e,0x45c,0x2dc),'flexDirection':_0x20267e(_0x350b0b._0x5984a1,0x1e9,_0x350b0b._0x447067,0x40f),'alignItems':_0x3b086e(0x2b1,0x252,_0x350b0b._0x23e91f,_0x350b0b._0x5b8773),'children':_0x467f01(_0x5013e5,{'colors':[_0x3b086e(0x576,_0x350b0b._0xd8814f,0x44a,_0x350b0b._0x48df5),_0x20267e(0x37e,_0x350b0b._0x4d3aa9,0x43d,_0x350b0b._0xc0d92e)],'children':_0x467f01(_0x276183,{'children':''+yd})})}),_0x467f01(_0x1c4ab0,{'width':_0x89f4-0x18,'children':_0x467f01(Pi,{'recentSessions':_0x1578a3})})]});},Pi=({recentSessions:_0x91f9f6})=>{const _0x7819ff={_0x156494:0x2f6,_0x490a85:0xe0,_0x58a16:0x400,_0x2820a4:0x5f1,_0x10c61c:0x268,_0x429f9a:0x3cd,_0x573bbd:0xfd,_0x46422c:0x542},_0x47df15={_0x5676d0:0x391,_0x4f20fd:0x33,_0x523273:0x5e,_0x4e1e39:0x14e,_0x3d6cf1:0x1af,_0x23c1e3:0x19,_0x263fa1:0x428,_0x3e7809:0x1ef,_0x486126:0x28f,_0x2dcb9f:0x2da,_0x4a649c:0x79,_0x489e14:0x192,_0x2c169e:0xf7,_0x54efdf:0x55b,_0x5e690a:0x37c,_0x4c6de3:0xdc,_0x1ef632:0x58,_0x538628:0x453,_0x1f5345:0x29c,_0x2e9c2e:0x288,_0x43fe63:0x278,_0x3e031c:0x2c6},_0x1e6672={_0x26e5d5:0xcd,_0x41af6b:0x3ed},_0x2599a6={_0x5bfd1a:0x300,_0x12a139:0x111};function _0x2786e8(_0x5beb5e,_0x4131ef,_0x59ef4e,_0x573e06){return _0x3764a2(_0x573e06-_0x2599a6._0x5bfd1a,_0x4131ef-_0x2599a6._0x12a139,_0x4131ef,_0x573e06-0x95);}function _0x1815a2(_0x5b3382,_0xfb4ef1,_0x187cff,_0x4465f3){return _0x5a69d4(_0x5b3382-0x20,_0xfb4ef1- -0x4db,_0x5b3382,_0x4465f3-0x167);}let {theme:_0x1110ff}=N(),{cols:_0x54224a}=z();return _0x462598(_0x1c4ab0,{'flexDirection':'column','width':_0x54224a,'children':[_0x467f01(_0x276183,{'color':_0x1110ff[_0x2786e8(0x75d,0x7a2,0x46e,0x5a3)][_0x2786e8(0x3fa,_0x7819ff._0x156494,0x5ef,0x46e)],'bold':!0x0,'underline':!0x0,'children':_0x1815a2(0x24b,0xfd,_0x7819ff._0x490a85,-0x1a)}),_0x91f9f6[_0x2786e8(0x557,0x78c,0x570,0x5fc)]===0x0?_0x467f01(_0x276183,{'color':_0x1110ff[_0x2786e8(_0x7819ff._0x58a16,_0x7819ff._0x2820a4,0x628,0x5a3)]['subtitle'],'dimColor':!0x0,'children':_0x2786e8(_0x7819ff._0x10c61c,_0x7819ff._0x429f9a,_0x7819ff._0x573bbd,0x2af)}):_0x91f9f6[_0x2786e8(0x755,0x875,_0x7819ff._0x46422c,0x68d)](_0x39b9e1=>{const _0xd4f23d={_0x20a5dc:0x59};function _0x595b77(_0x43cc07,_0x21f0b2,_0x313408,_0x3282c6){return _0x2786e8(_0x43cc07-0x1f,_0x3282c6,_0x313408-_0xd4f23d._0x20a5dc,_0x21f0b2- -0x85);}let _0x2c5491=ai(_0x39b9e1[_0x595b77(0x1f0,_0x47df15._0x5676d0,0x44b,0x2fc)]),_0x36b0a3=(_0x39b9e1['topic']||_0x39b9e1[_0x11b2cc(-0x227,_0x47df15._0x4f20fd,-_0x47df15._0x523273,-_0x47df15._0x4e1e39)])[_0x595b77(-0x99,_0x47df15._0x3d6cf1,0x7b,-_0x47df15._0x23c1e3)]('\x0a')[_0x11b2cc(0xcd,_0x47df15._0x263fa1,0x2,_0x47df15._0x3e7809)]('\x20'),_0x2efe95=di(_0x39b9e1['messageCount']);function _0x11b2cc(_0x15ad3d,_0x320549,_0x459f8c,_0x294838){return _0x2786e8(_0x15ad3d-0x12d,_0x320549,_0x459f8c-_0x1e6672._0x26e5d5,_0x294838- -_0x1e6672._0x41af6b);}return _0x462598(_0x1c4ab0,{'flexDirection':_0x11b2cc(0x17d,-_0x47df15._0x486126,-_0x47df15._0x2dcb9f,-0x95),'flexWrap':'nowrap','width':_0x54224a-0x1a,'children':[_0x467f01(_0x276183,{'color':_0x1110ff[_0x11b2cc(_0x47df15._0x4a649c,-0x57,0x3e5,0x1b6)][_0x11b2cc(-0x37,-_0x47df15._0x489e14,0x13c,-_0x47df15._0x2c169e)],'dimColor':!0x0,'wrap':_0x595b77(_0x47df15._0x54efdf,0x53e,0x43f,0x321),'children':_0x2c5491+_0x11b2cc(0xc4,0xd6,_0x47df15._0x5e690a,0x1f6)+_0x36b0a3}),_0x467f01(_0x1c4ab0,{'flexWrap':_0x11b2cc(-_0x47df15._0x4c6de3,_0x47df15._0x3e7809,-0x18,-_0x47df15._0x1ef632),'flexShrink':0x0,'marginLeft':0x1,'children':_0x467f01(_0x276183,{'color':_0x2efe95[_0x595b77(_0x47df15._0x538628,0x3b4,_0x47df15._0x1f5345,_0x47df15._0x2e9c2e)],'dimColor':!0x0,'children':_0x2efe95['text']})})]},_0x39b9e1[_0x595b77(_0x47df15._0x43fe63,0x414,0x4ce,_0x47df15._0x3e031c)]);})]});};import{jsx as _0x4801ce,jsxs as _0x161aed}from'react/jsx-runtime';function Cd(_0x3fb5d1,_0x2d6e31){const _0x1d8aa8={_0xd83d7c:0x34c,_0x6e631a:0xd1,_0x346e1c:0x1ee},_0x561efe={_0x3f5205:0x1c5},_0x3efdfd={_0x1d2018:0x119,_0x44f62c:0x8e,_0x2c35be:0x1};function _0x47850b(_0x270e1d,_0x1f1c12,_0x4f3951,_0x53d619){return _0x3764a2(_0x53d619-_0x3efdfd._0x1d2018,_0x1f1c12-_0x3efdfd._0x44f62c,_0x4f3951,_0x53d619-_0x3efdfd._0x2c35be);}if(_0x3fb5d1[_0x57c147(-0x14,0x2d4,0x1dd,0x1ee)]!==_0x2d6e31[_0x57c147(_0x1d8aa8._0xd83d7c,0xb9,_0x1d8aa8._0x6e631a,_0x1d8aa8._0x346e1c)])return!0x1;function _0x57c147(_0x272288,_0x4847fe,_0x420362,_0x310719){return _0x3764a2(_0x310719- -0x10e,_0x4847fe-_0x561efe._0x3f5205,_0x4847fe,_0x310719-0x17);}for(let _0x457952=0x0;_0x457952<_0x3fb5d1['length'];_0x457952++)if(_0x3fb5d1[_0x457952]!==_0x2d6e31[_0x457952])return!0x1;return!0x0;}function vd(_0x46ed2e,_0x1d554c){const _0x10fc84={_0x2fb2d3:0x70f,_0x1839c8:0x3db,_0x253cdc:0x586,_0x3dd7de:0x42a,_0x2fb145:0x184,_0x17c8c8:0x541,_0x515591:0x6e3,_0x54534d:0x40a,_0x439535:0x68d,_0x1929dc:0x9a0,_0x238fc8:0x621,_0x2a2e98:0x7c1,_0x4c8a4e:0x33c,_0x38a106:0x30a,_0x1f6cde:0x504,_0x5769c8:0x555,_0x1ecb28:0x34,_0x561d2c:0x82,_0x5294de:0x153,_0x5d5078:0xdd,_0x44aab9:0x77,_0x5181ba:0x22,_0x3c757b:0x1e6,_0x174607:0x191,_0x409a76:0x478,_0x54c710:0x617,_0x57b2a8:0x64,_0x2db403:0x161,_0x1c2ad8:0x54,_0xc783fe:0x1b7,_0x172618:0x4,_0xd045d:0x1bf,_0x4b9b24:0x70,_0x40508f:0xd1,_0x19707a:0x2bb,_0x332415:0x596,_0x444d7b:0x522,_0x34f35a:0x95,_0x28277f:0x4e,_0x221e7a:0x2d9,_0x34800a:0x68,_0x3d16d6:0x7a,_0x3f72d5:0x510,_0x5b6d33:0x816,_0x12b010:0x750,_0x9e37e6:0x83a,_0x4ab7de:0x5ec,_0x4283ea:0x72c,_0x3882f4:0x52f,_0x310cd2:0x403,_0x563f63:0x395,_0x291376:0x4bd,_0x424fdd:0x79c,_0x25d4e9:0x617,_0xde3fde:0x3e7,_0x1b4e8:0x15a,_0x50c862:0x19d,_0x5a5e30:0x26f,_0x284d09:0x294,_0xfa728b:0x10a},_0x19cb50={_0xda6386:0x1ba,_0x38e695:0x118},_0x47afe0={_0x1b54a1:0x108};let _0x332189=[],_0x57dbbf=new Map();for(let _0x2bd23c of _0x46ed2e)_0x2bd23c['type']===_0x419e6b(0x916,_0x10fc84._0x2fb2d3,0x80c,0x72c)&&_0x2bd23c[_0x419e6b(_0x10fc84._0x1839c8,0x34a,0x7af,_0x10fc84._0x253cdc)]?.[_0x264b33(_0x10fc84._0x3dd7de,0x43d,0x26f,_0x10fc84._0x2fb145)]?.['id']&&_0x57dbbf[_0x419e6b(0x875,0x669,_0x10fc84._0x17c8c8,_0x10fc84._0x515591)](_0x2bd23c[_0x419e6b(_0x10fc84._0x54534d,0x659,_0x10fc84._0x439535,0x586)][_0x419e6b(0x739,_0x10fc84._0x1929dc,_0x10fc84._0x238fc8,_0x10fc84._0x2a2e98)]['id'],_0x2bd23c);let _0x288a04=new Set();function _0x264b33(_0x1c5e1c,_0x127068,_0x2263af,_0x54b898){return _0x3764a2(_0x2263af-0x4e,_0x127068-_0x47afe0._0x1b54a1,_0x54b898,_0x54b898-0xde);}for(let _0x371ba4 of _0x46ed2e)if(_0x288a04[_0x419e6b(_0x10fc84._0x4c8a4e,0x45e,_0x10fc84._0x38a106,0x534)](_0x371ba4['id']),_0x371ba4[_0x419e6b(0x6b1,0x5e0,0x5f9,0x5ed)]===_0x419e6b(_0x10fc84._0x1f6cde,0x423,_0x10fc84._0x5769c8,0x63e)){let _0xbb5f04=_0x371ba4[_0x264b33(0x4,-0x1d9,_0x10fc84._0x1ecb28,-_0x10fc84._0x561d2c)]?.[_0x264b33(-_0x10fc84._0x5294de,_0x10fc84._0x5d5078,-_0x10fc84._0x44aab9,-_0x10fc84._0x5181ba)]||[],_0x4a66ae=new Map(),_0x55b49e=[];for(let _0x4ba011 of _0xbb5f04){let _0x4e65a2=_0x57dbbf['get'](_0x4ba011['id']);_0x4e65a2&&(_0x4a66ae[_0x264b33(0x32f,_0x10fc84._0x3c757b,_0x10fc84._0x174607,-0x9f)](_0x4ba011['id'],_0x4e65a2),_0x55b49e[_0x419e6b(0x606,0x747,_0x10fc84._0x409a76,_0x10fc84._0x54c710)](_0x4ba011['id']));}if(_0x4a66ae[_0x264b33(-_0x10fc84._0x57b2a8,-_0x10fc84._0x2db403,_0x10fc84._0x1c2ad8,_0x10fc84._0xc783fe)]>0x0){let _0xd3d79f=_0x1d554c[_0x264b33(0x21e,-0xcf,_0x10fc84._0x172618,-0xe1)](_0x371ba4['id']);if(_0xd3d79f&&_0xd3d79f[_0x264b33(0x1c,_0x10fc84._0xd045d,_0x10fc84._0x4b9b24,-0x17b)]===_0x371ba4&&Cd(_0xd3d79f['resultIds'],_0x55b49e))_0x332189[_0x264b33(_0x10fc84._0x40508f,_0x10fc84._0x19707a,0xc5,0x2ab)](_0xd3d79f[_0x419e6b(_0x10fc84._0x332415,0x549,_0x10fc84._0x444d7b,0x6c0)]);else{let _0x4a6fd2={..._0x371ba4,'metadata':{..._0x371ba4['metadata'],'toolResultsByCallId':_0x4a66ae}};_0x1d554c[_0x264b33(_0x10fc84._0x34f35a,_0x10fc84._0x28277f,0x191,0xa3)](_0x371ba4['id'],{'inputRef':_0x371ba4,'resultIds':_0x55b49e,'output':_0x4a6fd2}),_0x332189[_0x264b33(_0x10fc84._0x221e7a,_0x10fc84._0x34800a,0xc5,-_0x10fc84._0x3d16d6)](_0x4a6fd2);}for(let [,_0x1e1d7e]of _0x4a66ae)_0x332189[_0x419e6b(0x5f7,_0x10fc84._0x3f72d5,0x4f8,_0x10fc84._0x54c710)](_0x1e1d7e);}else _0x332189[_0x419e6b(_0x10fc84._0x5b6d33,0x4e1,0x773,0x617)](_0x371ba4);}else{if(_0x371ba4[_0x264b33(0x26b,-0x79,0x9b,0x48)]===_0x419e6b(_0x10fc84._0x12b010,_0x10fc84._0x9e37e6,_0x10fc84._0x4ab7de,_0x10fc84._0x4283ea)){let _0x5793cb=_0x371ba4[_0x419e6b(_0x10fc84._0x3882f4,_0x10fc84._0x310cd2,_0x10fc84._0x563f63,0x586)]?.['toolResult']?.['id'];_0x5793cb&&_0x46ed2e[_0x419e6b(0x518,_0x10fc84._0x291376,0x358,0x59e)](_0x246dff=>_0x246dff[_0x419e6b(0x519,0x76f,0x680,0x5ed)]===_0x419e6b(0x541,0x5fc,0x60e,0x63e)&&_0x246dff[_0x264b33(0x188,-0x18b,0x34,0xe1)]?.['toolCalls']?.['some'](_0x10efcf=>_0x10efcf['id']===_0x5793cb))||_0x332189[_0x419e6b(0x619,_0x10fc84._0x17c8c8,_0x10fc84._0x424fdd,_0x10fc84._0x25d4e9)](_0x371ba4);}else _0x332189[_0x419e6b(0x7dd,_0x10fc84._0xde3fde,0x71f,0x617)](_0x371ba4);}for(let _0x318349 of _0x1d554c[_0x264b33(0x20a,-0x1a5,-0x14,-_0x10fc84._0x1b4e8)]())_0x288a04[_0x264b33(0x1f9,_0x10fc84._0x174607,_0x10fc84._0x50c862,-0xaa)](_0x318349)||_0x1d554c[_0x264b33(_0x10fc84._0x5a5e30,_0x10fc84._0x284d09,_0x10fc84._0xfa728b,-0x130)](_0x318349);function _0x419e6b(_0x1aaf44,_0x451863,_0x19cd15,_0x592f71){return _0x3764a2(_0x592f71-0x5a0,_0x451863-_0x19cb50._0xda6386,_0x1aaf44,_0x592f71-_0x19cb50._0x38e695);}return _0x332189;}var Td=({messages:_0x5589b9,headerKey:_0x38c9d5,sessions:_0x4af5bb})=>{const _0x3b74d={_0xd7e000:0x152,_0x1240e0:0x29e,_0x2cf668:0x6c4,_0x5e0768:0x429,_0x2fe320:0x697},_0x34367f={_0x135114:0xad,_0x41b8ad:0xb4,_0x488d93:0xb2,_0x327158:0x1d6,_0x3c1b61:0xa3,_0x387a66:0x265,_0x16e340:0x879,_0x2a38c1:0x4fa,_0x1c4f2f:0x3f2,_0x75d270:0x3c2,_0x38b325:0x3ce,_0xe0c6b8:0x238,_0x5cb80f:0x131,_0x601156:0x286,_0x27bc7a:0x3ce,_0x1a0386:0xe9,_0x1a7546:0x277,_0x3093f6:0x3d2,_0x62e146:0x3e3,_0x21a5b5:0x4f8,_0x1c01cf:0x1c3,_0x338e3f:0x276,_0x3cd5db:0x30e},_0x3bf1d8={_0x18fb7f:0x29f,_0x19ca34:0x23},_0x2147e3={_0x16f1c8:0xd5,_0x4cb96b:0x566,_0x5a6005:0x731,_0x1101e3:0x5c1,_0x1b5080:0x1af,_0x5e4297:0x114,_0x624dde:0x53,_0x4722c4:0x1ae,_0x179b21:0x349,_0x155a69:0x169,_0x423370:0x1e1,_0x3b7f0d:0x19,_0x37fa56:0x2,_0x165f86:0x149,_0x18ea64:0x6ae,_0xb3153d:0x877,_0x7b74ea:0x7d9},_0x479e8e={_0x1c11a5:0x374,_0x12cbe6:0x11b},_0x2427c2={_0xd8e9ed:0x8e,_0x50268e:0x237},_0x5e3325={_0x3ee2c7:0x100},_0x2cb7c5={_0x53da42:0x538,_0x2e07bb:0x168,_0x3aa66a:0x14d};function _0x1d8bd4(_0x2a7b18,_0x57954b,_0x41cde2,_0x55c135){return _0x3764a2(_0x2a7b18-_0x2cb7c5._0x53da42,_0x57954b-_0x2cb7c5._0x2e07bb,_0x41cde2,_0x55c135-_0x2cb7c5._0x3aa66a);}function _0x3f7fca(_0x3d2caf,_0x1cf3bb,_0x949432,_0x3f98b3){return _0x3764a2(_0x1cf3bb-0x2a6,_0x1cf3bb-_0x5e3325._0x3ee2c7,_0x949432,_0x3f98b3-0x1d0);}let _0x2cf6cc=_0x4af5bb??null,_0x498840=_0x1852ba(new Map()),_0x3f47a0=_0x906af2(()=>vd(_0x5589b9,_0x498840[_0x3f7fca(0x190,0x2ea,0x3fa,0x1fb)]),[_0x5589b9]),_0x9f03b6=_0x906af2(()=>ys(_0x3f47a0),[_0x3f47a0]),_0x4140c0=_0x289e9c['useRef']([]),_0x1a7357=_0x906af2(()=>{let _0x5f1e4a=_0x4140c0[_0x91ffbc(-0x1e7,-0x8a,-_0x2147e3._0x16f1c8,-0x2af)],_0x4c7202=_0x3f47a0[_0x33350b(_0x2147e3._0x4cb96b,_0x2147e3._0x5a6005,_0x2147e3._0x1101e3,0x5c4)](0x0,_0x9f03b6),_0x4d4eb6=_0xf75cfa=>(_0x4140c0[_0x33350b(0x76a,0x363,0x4fc,0x521)]=_0xf75cfa,_0xf75cfa);if(_0x5f1e4a['length']===0x0||_0x9f03b6<_0x5f1e4a[_0x91ffbc(_0x2147e3._0x1b5080,0x22e,_0x2147e3._0x5e4297,_0x2147e3._0x624dde)]||_0x4c7202[_0x91ffbc(0x2bc,0x22e,0x3f5,_0x2147e3._0x4722c4)]>0x0&&_0x5f1e4a[0x0]?.['id']!==_0x4c7202[0x0]?.['id'])return _0x4d4eb6(_0x4c7202);if(_0x9f03b6>_0x5f1e4a[_0x91ffbc(_0x2147e3._0x179b21,0x22e,_0x2147e3._0x155a69,_0x2147e3._0x423370)]){let _0x16c697=_0x4c7202[_0x91ffbc(0x10b,_0x2147e3._0x3b7f0d,_0x2147e3._0x37fa56,_0x2147e3._0x165f86)](_0x5f1e4a[_0x33350b(_0x2147e3._0x18ea64,0x85b,_0x2147e3._0xb3153d,_0x2147e3._0x7b74ea)]);return _0x4d4eb6([..._0x5f1e4a,..._0x16c697]);}function _0x33350b(_0x351439,_0x3bb175,_0x22c425,_0x364b03){return _0x3f7fca(_0x351439-_0x2427c2._0xd8e9ed,_0x364b03-_0x2427c2._0x50268e,_0x22c425,_0x364b03-0xa3);}function _0x91ffbc(_0x98b48f,_0x516bf3,_0x5bd7d9,_0x394ece){return _0x3f7fca(_0x98b48f-0x191,_0x516bf3- -_0x479e8e._0x1c11a5,_0x98b48f,_0x394ece-_0x479e8e._0x12cbe6);}return _0x5f1e4a;},[_0x3f47a0,_0x9f03b6]),_0x122741=_0x1852ba(null),_0x2584b6=_0x1852ba([]),_0x5c9f56=_0x906af2(()=>{let _0x15b837=_0x2d3525(0x35,-_0x34367f._0x135114,-0x7b,_0x34367f._0x41b8ad)+_0x38c9d5;(!_0x122741['current']||_0x122741[_0x2d3525(-0xd7,0x1b2,0x4b,-_0x34367f._0x488d93)]['id']!==_0x15b837)&&(_0x122741[_0x2d3525(-_0x34367f._0x327158,_0x34367f._0x3c1b61,0x4b,_0x34367f._0x387a66)]={'type':_0x49d26f(_0x34367f._0x16e340,_0x34367f._0x2a38c1,0x4c8,0x655),'id':_0x15b837,'sessions':_0x2cf6cc??[]});let _0x165817=[];_0x165817[_0x49d26f(0x520,_0x34367f._0x1c4f2f,0x5b8,0x401)](_0x122741[_0x49d26f(0x233,0x4ef,_0x34367f._0x75d270,_0x34367f._0x38b325)]),_0x165817[_0x2d3525(0x205,_0x34367f._0xe0c6b8,0x7e,-_0x34367f._0x5cb80f)](..._0x1a7357);let _0x1344a5=_0x2584b6[_0x49d26f(0x3fa,_0x34367f._0x601156,0x2dc,_0x34367f._0x27bc7a)];function _0x49d26f(_0x3be8ba,_0x24740b,_0x953c36,_0x1f1c58){return _0x3f7fca(_0x3be8ba-0xe2,_0x1f1c58-0xe4,_0x3be8ba,_0x1f1c58-0x170);}function _0x2d3525(_0x104eb1,_0x45ccd5,_0x209b96,_0xf983e1){return _0x3f7fca(_0x104eb1-0xb0,_0x209b96- -_0x3bf1d8._0x18fb7f,_0x45ccd5,_0xf983e1-_0x3bf1d8._0x19ca34);}return _0x1344a5[_0x2d3525(_0x34367f._0x1a0386,_0x34367f._0x1a7546,0x303,0x446)]===_0x165817[_0x2d3525(_0x34367f._0x3093f6,_0x34367f._0x62e146,0x303,_0x34367f._0x21a5b5)]&&_0x1344a5[_0x2d3525(_0x34367f._0x1c01cf,_0x34367f._0x338e3f,_0x34367f._0x3cd5db,0x348)]((_0x2d936a,_0x35e290)=>_0x2d936a===_0x165817[_0x35e290])?_0x1344a5:(_0x2584b6['current']=_0x165817,_0x165817);},[_0x38c9d5,_0x2cf6cc,_0x1a7357]),_0x4b3c38=_0x906af2(()=>_0x3f47a0[_0x3f7fca(0x5a7,0x38d,0x423,0x3a9)](_0x1a7357[_0x3f7fca(0x57d,0x5a2,0x74f,0x42d)]),[_0x3f47a0,_0x1a7357]);return _0x161aed(_0x103235,{'flexDirection':_0x3f7fca(0x1de,0x2b8,_0x3b74d._0xd7e000,_0x3b74d._0x1240e0),'flexShrink':0x1,'flexGrow':0x1,'overflow':'hidden','children':[_0x5c9f56[_0x3f7fca(0x5ed,0x5a2,0x756,_0x3b74d._0x2cf668)]>0x0&&_0x4801ce(_0x37bbf6,{'items':_0x5c9f56,'children':_0x820d63=>_0x820d63[_0x1d8bd4(0x585,0x568,0x689,0x73d)]===_0x1d8bd4(0x803,0xa26,0x748,0x942)?_0x4801ce(Mi,{'recentSessions':_0x820d63[_0x1d8bd4(0x572,0x539,0x38e,0x5df)]},_0x820d63['id']):_0x4801ce(qo,{'message':_0x820d63},_0x820d63['id'])}),_0x4b3c38[_0x3f7fca(_0x3b74d._0x5e0768,0x633,_0x3b74d._0x2fe320,0x555)](_0x2635be=>_0x4801ce(qo,{'message':_0x2635be},_0x2635be['id']))]});},wd=_0x289e9c['memo'](Td);import{createContext as _0x48112b,useContext as _0x552056,useState as _0x58c96d,useCallback as _0x179e56,useEffect as _0x32a3ea,useMemo as _0x3b4e2f}from'react';import{jsx as _0x34eeac}from'react/jsx-runtime';var Ai=_0x48112b(null);function Ov({children:_0x59dad2,initialConfig:_0x33f737={}}){const _0x2b04ce={_0x4aff25:0x62d,_0x5ca42f:0x45e,_0x11a173:0x497,_0x2de56b:0x44d,_0x48e283:0x43f,_0x392e14:0x519},_0x8a678c={_0x556747:0x44b,_0x21e59e:0x211,_0x251035:0x675,_0x2efd7a:0x685,_0x4f9fb7:0x76d,_0x17a57c:0x9b9,_0xe9ae04:0x7eb},_0x479217={_0xe9a1e:0x1ea,_0x9af204:0x49,_0x17d5d9:0x87d,_0x20aba4:0x850,_0x43f96d:0x4e2,_0x384ee9:0x496,_0xc370de:0x4c0},_0x242537={_0x4baf80:0x1bb},_0x5c6ad4={_0x508614:0x4a,_0x1ee81e:0x26c,_0x18c3dc:0x1b5,_0xcba11b:0xee,_0x3f7d11:0x183,_0x3930f6:0x20,_0x1c188a:0x1a,_0x3b3f44:0xa8,_0x39cc0e:0x496,_0x4129a1:0x318},_0x18591b={_0x3138a1:0x86},_0x1f0b06={_0x46afd5:0x154,_0x38e0fe:0x1bd},_0x4c357e={_0x29f612:0x3b,_0x4a24c3:0x19f};let [_0x1222a3,_0xc0e4e3]=_0x58c96d(_0x33f737),[_0x27e813,_0x19de4d]=_0x58c96d(),_0xa57eeb=_0x19df5c[_0x124a4e(_0x2b04ce._0x4aff25,_0x2b04ce._0x5ca42f,0x26a,_0x2b04ce._0x11a173)]();function _0x124a4e(_0x2fc8b9,_0x2d6f6f,_0x4ee322,_0x3f6426){return _0x5a69d4(_0x2fc8b9-_0x4c357e._0x29f612,_0x3f6426- -0xea,_0x4ee322,_0x3f6426-_0x4c357e._0x4a24c3);}_0x32a3ea(()=>{const _0x248fde={_0xbdbb6a:0x725,_0x4057a1:0x5c4,_0x594ab2:0x431,_0x2ea690:0x51f,_0x138cfd:0x814},_0x2cd45f={_0x200646:0x11f},_0xbf4829={_0x11e74e:0x168,_0x15ad7f:0x577},_0x403a48={_0x28d351:0x1c5};function _0x21df67(_0x50ef54,_0x53cd01,_0x38d4ea,_0x3a50d1){return _0x124a4e(_0x50ef54-_0x403a48._0x28d351,_0x53cd01-0x16c,_0x53cd01,_0x38d4ea-0x4b);}function _0x388d2f(_0x3d9d7d,_0x244c19,_0x580e72,_0x359579){return _0x124a4e(_0x3d9d7d-0x25,_0x244c19-_0xbf4829._0x11e74e,_0x3d9d7d,_0x244c19- -_0xbf4829._0x15ad7f);}let _0x5912e2=async()=>{const _0x24bc6f={_0x23c817:0x325};function _0xec7228(_0x97a3d3,_0x33c631,_0x69d669,_0x131ed0){return _0x4e8e(_0x33c631-_0x2cd45f._0x200646,_0x131ed0);}function _0x51ab44(_0x4db426,_0x4fc136,_0x5d579a,_0x934b4c){return _0x4e8e(_0x5d579a-_0x24bc6f._0x23c817,_0x934b4c);}try{await _0xa57eeb[_0x51ab44(0x734,0x784,0x672,0x624)]();let _0x37b4a8=_0xa57eeb[_0xec7228(_0x248fde._0xbdbb6a,0x696,0x680,0x894)]();_0xc0e4e3(_0x37b4a8);let _0x686cd9=_0xa57eeb[_0x51ab44(_0x248fde._0x4057a1,0x830,0x621,_0x248fde._0x594ab2)]();_0x19de4d(_0x686cd9);}catch(_0x4c1468){console['error'](_0xec7228(0x50a,0x63f,_0x248fde._0x2ea690,_0x248fde._0x138cfd),_0x4c1468);}};if(Object['keys'](_0x33f737)['length']>0x0){_0xa57eeb[_0x388d2f(_0x1f0b06._0x46afd5,0xed,0x81,0x5e)]=_0x33f737;let _0x207132=_0xa57eeb[_0x388d2f(0xdd,-0xd8,-0x131,-_0x1f0b06._0x38e0fe)]();_0x19de4d(_0x207132);}else _0x5912e2();},[_0xa57eeb,_0x33f737]);let _0x2ef3e5=_0x179e56((_0x15472c,_0x1b5265)=>_0xa57eeb[_0x38dc98(0x1aa,0xff,0x37c,0x25)](_0x15472c,_0x1b5265),[_0xa57eeb]),_0x19b56a=_0x179e56(async(_0x2d7f0a,_0x495711,_0x28ce80)=>{function _0x34d656(_0x4f4c7f,_0xb5ac94,_0x4bf34e,_0x23a73c){return _0x124a4e(_0x4f4c7f-0x10e,_0xb5ac94-0x1c9,_0xb5ac94,_0x23a73c- -0x545);}function _0x40fd51(_0x35fbc9,_0x2f2300,_0x1c33f9,_0x335ea1){return _0x124a4e(_0x35fbc9-0x11c,_0x2f2300-_0x18591b._0x3138a1,_0x2f2300,_0x35fbc9- -0x24);}try{await _0xa57eeb[_0x34d656(_0x5c6ad4._0x508614,0x242,_0x5c6ad4._0x1ee81e,0x2f)](_0x2d7f0a,_0x495711,_0x28ce80);let _0x26d637=_0xa57eeb[_0x34d656(_0x5c6ad4._0x18c3dc,_0x5c6ad4._0xcba11b,0x1e8,0x1d5)]();_0xc0e4e3(_0x26d637);}catch(_0x3fc06d){throw console[_0x34d656(_0x5c6ad4._0x3f7d11,-_0x5c6ad4._0x3930f6,_0x5c6ad4._0x1c188a,_0x5c6ad4._0x3b3f44)](_0x40fd51(0x534,_0x5c6ad4._0x39cc0e,0x4b4,_0x5c6ad4._0x4129a1)+_0x2d7f0a+':',_0x3fc06d),_0x3fc06d;}},[_0xa57eeb]),_0x401e80=_0x179e56(async(_0xec6e9f,_0x50fd23=_0x124a4e(0x480,0x25a,0x465,0x402))=>{const _0x493955={_0x5be201:0x3a0,_0x100e89:0x173,_0x7b175d:0x15d};function _0x26efe9(_0x5f0ee6,_0x1cf8e5,_0x2ac43b,_0x1cd8eb){return _0x38dc98(_0x2ac43b-_0x493955._0x5be201,_0x1cf8e5-_0x493955._0x100e89,_0x1cf8e5,_0x1cd8eb-_0x493955._0x7b175d);}function _0x26776c(_0x3fb3d4,_0x5cfb53,_0x4feed3,_0x2bd15a){return _0x38dc98(_0x4feed3- -0xb2,_0x5cfb53-_0x242537._0x4baf80,_0x5cfb53,_0x2bd15a-0xc);}try{await _0xa57eeb[_0x26776c(_0x479217._0xe9a1e,_0x479217._0x9af204,0x1fe,0x2ef)](_0xec6e9f,_0x50fd23);let _0x12b242=_0xa57eeb[_0x26efe9(0x767,0x6ee,_0x479217._0x17d5d9,_0x479217._0x20aba4)]();_0xc0e4e3(_0x12b242);}catch(_0x12dcfc){throw console['error'](_0x26efe9(_0x479217._0x43f96d,_0x479217._0x384ee9,0x615,_0x479217._0xc370de)+_0xec6e9f+':',_0x12dcfc),_0x12dcfc;}},[_0xa57eeb]),_0x485ebe=_0x179e56(async()=>{const _0x31563e={_0x403bdb:0xa5},_0x59d468={_0x266d70:0x8a,_0x211cfb:0x7a};function _0x5b18d7(_0x59d4ef,_0x4bf199,_0x351421,_0x34c653){return _0x124a4e(_0x59d4ef-_0x59d468._0x266d70,_0x4bf199-_0x59d468._0x211cfb,_0x351421,_0x34c653-0x1fe);}function _0x5abb62(_0x3679de,_0x10a5db,_0x15a5e3,_0x490117){return _0x124a4e(_0x3679de-0x2a,_0x10a5db-0x16a,_0x490117,_0x10a5db- -_0x31563e._0x403bdb);}try{await _0xa57eeb[_0x5abb62(0x5fd,_0x8a678c._0x556747,_0x8a678c._0x21e59e,0x303)]();let _0x5bc8a8=_0xa57eeb[_0x5abb62(0x787,_0x8a678c._0x251035,_0x8a678c._0x2efd7a,_0x8a678c._0x4f9fb7)]();_0xc0e4e3(_0x5bc8a8);}catch(_0x3b226c){throw console[_0x5b18d7(0x8cb,0x5b3,_0x8a678c._0x17a57c,_0x8a678c._0xe9ae04)]('Failed\x20to\x20reload\x20config:',_0x3b226c),_0x3b226c;}},[_0xa57eeb]),_0x5d7cb9=_0x179e56(()=>_0x27e813,[_0x27e813]),_0x30b840=_0x3b4e2f(()=>({'config':_0x1222a3,'get':_0x2ef3e5,'set':_0x19b56a,'delete':_0x401e80,'reload':_0x485ebe,'getCurrentProfile':_0x5d7cb9}),[_0x1222a3,_0x2ef3e5,_0x19b56a,_0x401e80,_0x485ebe,_0x5d7cb9]);function _0x38dc98(_0x282613,_0x3d0e8e,_0x2eadb6,_0x4b5cf1){return _0x3764a2(_0x282613-0x1f4,_0x3d0e8e-0x29,_0x2eadb6,_0x4b5cf1-0x1a6);}return _0x34eeac(Ai[_0x124a4e(_0x2b04ce._0x2de56b,0x48b,_0x2b04ce._0x48e283,_0x2b04ce._0x392e14)],{'value':_0x30b840,'children':_0x59dad2});}function Jo(){const _0x4c7c19={_0x1e7dd1:0xbe,_0x4711ac:0x30},_0x8ec248={_0x21374d:0x9a};function _0x5d342b(_0x5df2e0,_0x5903fa,_0xf85bad,_0x21acbf){return _0x3764a2(_0x5903fa- -0xa2,_0x5903fa-0x1a3,_0xf85bad,_0x21acbf-_0x8ec248._0x21374d);}let _0x1ebf00=_0x552056(Ai);if(!_0x1ebf00)throw new Error(_0x5d342b(-_0x4c7c19._0x1e7dd1,-0x16a,-_0x4c7c19._0x4711ac,-0x23f));return _0x1ebf00;}import _0x383969,{useState as _0x130ac3,useEffect as _0x51558b}from'react';import{Box as _0x3886f7,Text as _0x43d9dc}from'ink';var Ei={'OFF':'OFF','LOW':_0x5a69d4(0x9c0,0x8d7,0x927,0x6c7),'MEDIUM':'MEDIUM','HIGH':_0x5a69d4(0x871,0x6e1,0x60c,0x75c)};import{jsx as _0x5585e8,jsxs as _0xc46f3a}from'react/jsx-runtime';var Dd=({status:_0xf2b788,metrics:_0x31ee63,vimModeEnabled:_0xf2f474=!0x1,vimMode:_0x2e2216=_0x5a69d4(0x54b,0x685,0x54a,0x7fc),workingDirectory:_0x5dde72,sessionId:_0x54e6e5,focusArea:_0x371671=_0x3764a2(0x319,0xda,0x53c,0x1ed)})=>{const _0x4f8cdb={_0x4473b0:0x54e,_0x111a56:0x69e,_0x1b4a39:0x6c4,_0x208b0c:0x6a2,_0x1779ce:0x5a2,_0x477a13:0xbb,_0x45252e:0xc0,_0x32cd7c:0x26a,_0x12128f:0x360,_0x592602:0x3c7,_0x2f6349:0x26a,_0x21ae03:0x372,_0x10697e:0x48c,_0x1c25bd:0x562,_0x351b01:0x174,_0x5cd796:0x2fb,_0x5effa8:0x2c,_0x162082:0x80,_0x320b94:0xca,_0x35c5b9:0x507,_0x5c1a9e:0x511,_0x161188:0x6ab,_0x5d7cc5:0x72a,_0x3eb216:0x3b3,_0xe0e7e1:0x434,_0x3b42e3:0x4c7,_0x137f72:0x4a,_0x2ea6dd:0x156,_0x489085:0x8,_0x26d9da:0x43d,_0x70da60:0x229,_0x1d7e69:0x1b8,_0x32808f:0x74d,_0x2ab167:0x408,_0x53daeb:0x670,_0x4ff769:0x614,_0x5e5ab7:0x2e6,_0x1e290a:0x2b3,_0x3161d3:0x5a4,_0xd85e66:0x602,_0x1493e8:0x3c7,_0x261fdb:0x11b,_0x2ea3ce:0x2ba,_0x596d3c:0x677,_0x39ca58:0x63d,_0x1c5006:0x3c2,_0x31c049:0x5a0,_0x46a159:0x569,_0x447abe:0x131,_0x3f8d81:0x1ed,_0x370122:0x56b,_0xea4e0e:0x4e1,_0x5272bb:0x673,_0xb70342:0x2f0,_0xcedef5:0x481,_0x49d817:0x457,_0xd42c46:0x434,_0x119acc:0x567,_0x54294b:0x29,_0x3a79a3:0x22,_0x4ac593:0xa,_0x5a7b5d:0x121,_0x39c522:0x78,_0x4adfe0:0x4b,_0x371c9b:0x4db,_0x28589e:0x413,_0x33f329:0x3e3,_0x4cceab:0x240,_0x3a5562:0x4b8,_0x1c75e1:0x557,_0x4d9276:0x3e2,_0x360dbd:0x205,_0x23f6ee:0x7a,_0x3a4eb7:0x19d,_0x3d1d42:0x230,_0x467be2:0x4d,_0x38cdd4:0x5c5,_0x4fbf05:0x423,_0x61a5f3:0x5f5,_0x32ed60:0x368,_0x16c273:0x63b,_0x788eea:0x3ad,_0x1788af:0x3c5,_0x5a16b6:0x98,_0x4cc247:0x1bb,_0x3530fa:0x6a,_0x144f71:0x18d,_0x27e22e:0x2fb,_0x494e6c:0x245,_0x11f92d:0x266,_0x331222:0x384,_0x49c482:0x6c,_0x5b4277:0x735,_0x282985:0x935,_0x291446:0x78c,_0x25c9a1:0x94b,_0x50b3e1:0x250,_0x5c4a06:0x30,_0x5c484f:0x4dc,_0x31a844:0x2d5,_0x4ab1d0:0x6b9,_0x2567d6:0x5df,_0x426af1:0x3ad,_0x4bc68d:0x39b,_0x155e3c:0x33b,_0xaa6e3b:0x71a,_0x42f2e4:0x547,_0x1ede98:0x446,_0x48e297:0x7d1,_0x596a9b:0x70c,_0x36b793:0x149,_0x1055c9:0xd0,_0x2c269a:0x117,_0x5eca54:0x19d,_0x1841bb:0x124,_0x1c2543:0x61,_0x309aa0:0xdf,_0x4a1a7b:0x380,_0x3d1391:0x3c1,_0x4a8ea8:0x4e2,_0xb3f488:0x1c9,_0x2d508b:0x3ca,_0x2275aa:0xaa,_0x18c9a8:0x1b0,_0x52055c:0x264,_0x58b010:0x6f,_0x913022:0x14a,_0x4db0d8:0x30f,_0x24be0e:0x5fc,_0x3af05a:0x610,_0x56be6c:0x6dd,_0x10ea34:0x76e,_0xa51c33:0x5d,_0x43953b:0xb8,_0x27419b:0x49,_0x34d6a4:0x578,_0xf684ea:0x448,_0x33cbaf:0xc6,_0x1e6fea:0x1cc,_0x2adaf5:0x49,_0x3c60e5:0x50d,_0x1de769:0x469,_0x23ebe2:0x88c,_0x2e1138:0x5cc,_0x2d6fa4:0x301,_0x604311:0x65d,_0x52f574:0x632,_0x3ee2dd:0x29b,_0x20f8af:0x43c,_0x35a14d:0x409,_0x3d029d:0x319,_0xe9f1:0x3e8,_0x4e9e40:0x3df,_0x5eb0a6:0x242,_0x1ac44c:0x1cf,_0x326552:0x15a,_0xb5e969:0x2ea,_0x4921da:0x5e7,_0x31d49c:0x6c0,_0x21dbae:0x748,_0x3eee77:0x102,_0x2beb87:0x201,_0x95c24f:0x88,_0x49207c:0x371,_0x19b91b:0x3ac,_0x48dbd3:0x2c,_0x2b1d2d:0x2af,_0x3d88c0:0x594,_0x496452:0x5b0,_0x50c04c:0x454,_0x36231e:0x3cc},_0x5e5ee3={_0xbe3ee2:0x959,_0x515d1a:0x9bf},_0x3793b3={_0x39d4d9:0x3d2,_0x88a6eb:0x17},_0x5223ef={_0x3098cb:0xbf,_0x17fd73:0x47,_0x1a4cc2:0x71};let {notification:_0x249e2a}=Gt(),{theme:_0x44549b}=N(),{toolApprovalMode:_0xcafdc0}=Le(),{explainMode:_0x174601}=tt(),{get:_0x52ffc2,getCurrentProfile:_0xd7ef4d}=Jo(),[_0x5aa035,_0x6da98c]=_0x130ac3(null);function _0x1b1003(_0x246060,_0x538379,_0x1c51f3,_0x3f063){return _0x3764a2(_0x1c51f3- -_0x5223ef._0x3098cb,_0x538379-_0x5223ef._0x17fd73,_0x538379,_0x3f063-_0x5223ef._0x1a4cc2);}function _0x206ab1(_0x40a906,_0x11d6d7,_0x1d6b84,_0x321e9d){return _0x3764a2(_0x11d6d7-_0x3793b3._0x39d4d9,_0x11d6d7-_0x3793b3._0x88a6eb,_0x321e9d,_0x321e9d-0xdd);}_0x51558b(()=>{function _0x32fbf3(_0x25e1f9,_0x86b35,_0x186544,_0x331585){return _0x4e8e(_0x331585-0x38e,_0x86b35);}if(!_0x5dde72)return;let _0x2bd12f=!0x1;return ui(_0x5dde72)[_0x32fbf3(0x731,_0x5e5ee3._0xbe3ee2,_0x5e5ee3._0x515d1a,0x8d7)](_0xca4a8=>{_0x2bd12f||_0x6da98c(_0xca4a8);}),()=>{_0x2bd12f=!0x0;};},[_0x5dde72]);let _0x455771=_0x52ffc2(_0x206ab1(_0x4f8cdb._0x4473b0,_0x4f8cdb._0x111a56,0x47f,_0x4f8cdb._0x1b4a39)),_0x45412e=_0x52ffc2(_0x206ab1(_0x4f8cdb._0x208b0c,0x50e,0x534,_0x4f8cdb._0x1779ce)),_0x3b1f5a=_0x52ffc2(_0x1b1003(_0x4f8cdb._0x477a13,-0x1ce,-0xae,-0x223)),_0x5eb6e2=_0xd7ef4d?.();return _0xc46f3a(_0x3886f7,{'justifyContent':_0x1b1003(0xb2,_0x4f8cdb._0x45252e,_0x4f8cdb._0x32cd7c,_0x4f8cdb._0x12128f),'flexDirection':'column','children':[_0xc46f3a(_0x3886f7,{'justifyContent':_0x1b1003(_0x4f8cdb._0x592602,0x2e3,_0x4f8cdb._0x2f6349,_0x4f8cdb._0x21ae03),'flexWrap':_0x206ab1(0x582,0x576,_0x4f8cdb._0x10697e,_0x4f8cdb._0x1c25bd),'children':[_0x174601?_0x5585e8(_0x43d9dc,{'color':_0x44549b[_0x1b1003(0x273,_0x4f8cdb._0x351b01,_0x4f8cdb._0x5cd796,0x368)][_0x1b1003(-_0x4f8cdb._0x5effa8,0x180,_0x4f8cdb._0x162082,-0x1ac)],'bold':!0x0,'children':_0x1b1003(0x30b,-0xd4,_0x4f8cdb._0x320b94,-0xb4)}):_0x249e2a?_0x5585e8(_0x43d9dc,{'color':_0x44549b['tokens'][_0x206ab1(_0x4f8cdb._0x35c5b9,_0x4f8cdb._0x5c1a9e,_0x4f8cdb._0x161188,_0x4f8cdb._0x5d7cc5)],'children':_0x249e2a||''}):_0xc46f3a(_0x3886f7,{'alignSelf':_0x206ab1(_0x4f8cdb._0x3eb216,_0x4f8cdb._0xe0e7e1,0x508,_0x4f8cdb._0x3b42e3),'children':[_0xf2f474&&_0xc46f3a(_0x43d9dc,{'color':_0x44549b[_0x1b1003(0x24,0xc4,_0x4f8cdb._0x137f72,-_0x4f8cdb._0x2ea6dd)][_0x1b1003(_0x4f8cdb._0x489085,_0x4f8cdb._0x26d9da,_0x4f8cdb._0x70da60,_0x4f8cdb._0x1d7e69)],'dimColor':!0x0,'children':[_0x2e2216===_0x206ab1(_0x4f8cdb._0x32808f,0x53c,0x6dc,_0x4f8cdb._0x2ab167)?_0x206ab1(_0x4f8cdb._0x53daeb,_0x4f8cdb._0x4ff769,0x7c0,0x4c8):'--\x20NORMAL\x20--',_0x1b1003(_0x4f8cdb._0x5e5ab7,_0x4f8cdb._0x1e290a,0xfa,0xbf)]}),_0x5585e8(_0x43d9dc,{'color':_0x44549b[_0x1b1003(0x21e,-0x6e,_0x4f8cdb._0x137f72,0x1c5)]['status'],'dimColor':!0x0,'children':[_0x5eb6e2&&_0x5eb6e2!==_0x206ab1(_0x4f8cdb._0x3161d3,_0x4f8cdb._0xd85e66,_0x4f8cdb._0x1493e8,0x819)?_0x5eb6e2:null,_0x45412e+':'+_0x3b1f5a,_0x54e6e5&&_0x1b1003(-_0x4f8cdb._0x261fdb,-_0x4f8cdb._0x2ea3ce,-0xe9,-0x43)+_0x54e6e5,_0x455771&&_0x455771!==Ei[_0x206ab1(_0x4f8cdb._0x596d3c,_0x4f8cdb._0x39ca58,0x5a4,0x6a4)]?_0x206ab1(_0x4f8cdb._0x1c5006,0x4b2,0x3c9,_0x4f8cdb._0x31c049)+_0x455771:'',_0xcafdc0?'':'SUDO'][_0x206ab1(0x4f0,0x6d0,_0x4f8cdb._0x46a159,0x5ec)](Boolean)[_0x1b1003(0x389,_0x4f8cdb._0x447abe,0x21d,_0x4f8cdb._0x3f8d81)]('\x20|\x20')})]}),!_0x174601&&(_0x31ee63?.[_0x206ab1(_0x4f8cdb._0x370122,_0x4f8cdb._0xea4e0e,0x4e5,_0x4f8cdb._0x5272bb)]||_0x31ee63?.['totalTokens'])?_0xc46f3a(_0x3886f7,{'alignSelf':_0x206ab1(_0x4f8cdb._0xb70342,_0x4f8cdb._0xe0e7e1,0x42e,_0x4f8cdb._0xcedef5),'flexGrow':0x1,'justifyContent':_0x206ab1(_0x4f8cdb._0x49d817,_0x4f8cdb._0xd42c46,0x40a,_0x4f8cdb._0x119acc),'children':[_0x5585e8(_0x43d9dc,{'color':_0x44549b['footer'][_0x1b1003(_0x4f8cdb._0x54294b,-_0x4f8cdb._0x3a79a3,-0xae,-0x20d)],'dimColor':!0x0,'bold':!0x0,'children':_0x1b1003(-_0x4f8cdb._0x4ac593,-_0x4f8cdb._0x5a7b5d,_0x4f8cdb._0x39c522,_0x4f8cdb._0x4adfe0)}),_0xc46f3a(_0x43d9dc,{'color':_0x44549b[_0x206ab1(0x44d,_0x4f8cdb._0x371c9b,0x2ed,0x546)][_0x206ab1(_0x4f8cdb._0x28589e,_0x4f8cdb._0x33f329,_0x4f8cdb._0x4cceab,0x554)],'bold':!0x0,'children':['\x20',We(_0x31ee63['currentTokens'])]}),_0x31ee63[_0x206ab1(0x61e,_0x4f8cdb._0x3a5562,_0x4f8cdb._0x1c75e1,0x405)]&&_0x31ee63[_0x206ab1(0x47e,_0x4f8cdb._0x4d9276,_0x4f8cdb._0x360dbd,0x5d3)]!==void 0x0?_0xc46f3a(_0x43d9dc,{'color':ci(_0x31ee63[_0x1b1003(-_0x4f8cdb._0x23f6ee,0x97,-0xaf,-_0x4f8cdb._0x3a4eb7)],_0x44549b),'dimColor':!0x0,'children':['\x20','(',Math[_0x1b1003(-0x159,-_0x4f8cdb._0x3d1d42,-0xc0,-_0x4f8cdb._0x467be2)](_0x31ee63['contextWindowUsage']*0x64),'%)']}):null,_0x31ee63[_0x206ab1(_0x4f8cdb._0x38cdd4,_0x4f8cdb._0x4fbf05,_0x4f8cdb._0x61a5f3,0x3af)]>0x0&&_0xc46f3a(_0x43d9dc,{'color':_0x44549b[_0x206ab1(_0x4f8cdb._0x32ed60,0x4db,_0x4f8cdb._0x16c273,0x633)]['model'],'dimColor':!0x0,'children':['\x20','/\x20',We(_0x31ee63[_0x206ab1(_0x4f8cdb._0x788eea,0x423,0x2ef,_0x4f8cdb._0x1788af)])]}),_0x31ee63[_0x1b1003(-_0x4f8cdb._0x5a16b6,_0x4f8cdb._0x4cc247,-_0x4f8cdb._0x3530fa,0x18b)]>0x0&&_0xc46f3a(_0x43d9dc,{'color':_0x44549b[_0x1b1003(0x352,_0x4f8cdb._0x144f71,_0x4f8cdb._0x27e22e,0x4c0)][_0x1b1003(_0x4f8cdb._0x2ea3ce,0xe1,_0x4f8cdb._0x494e6c,0x1f5)],'dimColor':!0x0,'children':['\x20',_0x206ab1(_0x4f8cdb._0x11f92d,0x49a,0x4fd,_0x4f8cdb._0x331222),We(_0x31ee63[_0x1b1003(_0x4f8cdb._0x49c482,-0xa6,-0x6a,0x11)])]}),_0x31ee63[_0x206ab1(0x558,_0x4f8cdb._0x5b4277,0x612,_0x4f8cdb._0x282985)]>0x0&&_0xc46f3a(_0x43d9dc,{'color':_0x44549b[_0x206ab1(0x970,_0x4f8cdb._0x291446,0x59b,_0x4f8cdb._0x25c9a1)]['magenta'],'dimColor':!0x0,'children':['\x20',_0x1b1003(-_0x4f8cdb._0x50b3e1,0xe4,-_0x4f8cdb._0x5c4a06,0x138),_0x31ee63[_0x1b1003(_0x4f8cdb._0x5c484f,_0x4f8cdb._0x31a844,0x2a4,0x4eb)]]}),_0x31ee63[_0x206ab1(_0x4f8cdb._0x4ab1d0,0x729,_0x4f8cdb._0x2567d6,0x75a)]>0x0&&_0xc46f3a(_0x43d9dc,{'color':_0x44549b['tokens'][_0x1b1003(_0x4f8cdb._0x426af1,_0x4f8cdb._0x4bc68d,0x21c,_0x4f8cdb._0x155e3c)],'dimColor':!0x0,'children':['\x20',_0x206ab1(_0x4f8cdb._0xaa6e3b,_0x4f8cdb._0x42f2e4,0x6ee,_0x4f8cdb._0x1ede98),_0x31ee63[_0x206ab1(_0x4f8cdb._0x48e297,0x729,_0x4f8cdb._0x596a9b,0x670)]]}),_0x31ee63[_0x1b1003(-0xda,-_0x4f8cdb._0x36b793,-_0x4f8cdb._0x1055c9,0x11b)]>0x0&&_0xc46f3a(_0x43d9dc,{'color':_0x44549b[_0x1b1003(_0x4f8cdb._0x2c269a,0x4d6,_0x4f8cdb._0x5cd796,_0x4f8cdb._0x5eca54)][_0x1b1003(-_0x4f8cdb._0x1841bb,_0x4f8cdb._0x1c2543,-_0x4f8cdb._0x309aa0,-0xd7)],'dimColor':!0x0,'children':['\x20','|\x20$',At(_0x31ee63[_0x206ab1(_0x4f8cdb._0x4a1a7b,_0x4f8cdb._0x3d1391,_0x4f8cdb._0x4a8ea8,_0x4f8cdb._0xb3f488)])]})]}):null]}),_0x5dde72&&_0xc46f3a(_0x3886f7,{'paddingTop':0x0,'backgroundColor':_0x44549b[_0x206ab1(0x5b7,0x4db,0x367,_0x4f8cdb._0x2d508b)][_0x1b1003(0x33c,_0x4f8cdb._0x2275aa,_0x4f8cdb._0x18c9a8,0x18a)],'justifyContent':_0x1b1003(0x3b9,_0x4f8cdb._0x52055c,0x26a,0x1cd),'flexWrap':'wrap','overflow':_0x1b1003(_0x4f8cdb._0x58b010,_0x4f8cdb._0x913022,0x2b8,_0x4f8cdb._0x4db0d8),'children':[_0xc46f3a(_0x3886f7,{'children':[_0x5585e8(_0x43d9dc,{'color':_0x44549b['footer'][_0x206ab1(_0x4f8cdb._0x24be0e,_0x4f8cdb._0x3af05a,_0x4f8cdb._0x56be6c,_0x4f8cdb._0x10ea34)],'children':ii(_0x5dde72)}),_0x5585e8(_0x43d9dc,{'dimColor':!0x0,'color':_0x44549b[_0x206ab1(0x4af,0x4db,_0x4f8cdb._0x10697e,0x2f4)][_0x206ab1(0x3aa,0x347,0x189,0x2cd)],'children':_0x5aa035&&':'+_0x5aa035})]}),_0x5585e8(_0x3886f7,{'alignSelf':_0x1b1003(0x1a6,-0x123,-_0x4f8cdb._0xa51c33,-0x221),'flexGrow':0x1,'justifyContent':_0x206ab1(0x3e0,_0x4f8cdb._0xd42c46,0x41d,0x654),'children':_0xc46f3a(_0x43d9dc,{'dimColor':!0x0,'children':[_0x5585e8(_0x43d9dc,{'color':_0x371671===_0x1b1003(_0x4f8cdb._0x43953b,-0x1e2,-_0x4f8cdb._0x27419b,-0x102)?_0x44549b['colors']['accent']:void 0x0,'children':_0x371671===_0x206ab1(_0x4f8cdb._0x34d6a4,_0x4f8cdb._0xf684ea,0x458,0x2b7)?_0x1b1003(-_0x4f8cdb._0x33cbaf,-0x9f,_0x4f8cdb._0x27419b,-_0x4f8cdb._0x1e6fea):''}),_0x371671===_0x1b1003(-0x28e,-0x141,-_0x4f8cdb._0x2adaf5,0x99)&&'\x20·\x20',_0x5585e8(_0x43d9dc,{'color':_0x44549b[_0x206ab1(0x37c,0x409,0x1fe,0x59c)]['accent'],'children':_0x206ab1(_0x4f8cdb._0x3c60e5,0x5ce,_0x4f8cdb._0x1de769,0x58e)}),'\x20',_0x371671===_0x206ab1(0x6f3,0x6eb,_0x4f8cdb._0x23ebe2,_0x4f8cdb._0x2e1138)?'scroll':'input','\x20·\x20',_0x5585e8(_0x43d9dc,{'color':_0x44549b[_0x206ab1(_0x4f8cdb._0x2d6fa4,0x409,0x5ee,0x4a3)]['accent'],'children':'/'}),_0x206ab1(0x2d4,0x50a,_0x4f8cdb._0x604311,_0x4f8cdb._0x52f574),_0x1b1003(-_0x4f8cdb._0x3ee2dd,-0xc3,-0x128,-0x29b),_0x5585e8(_0x43d9dc,{'color':_0x44549b[_0x206ab1(_0x4f8cdb._0x20f8af,_0x4f8cdb._0x35a14d,_0x4f8cdb._0x3d029d,_0x4f8cdb._0xe9f1)][_0x1b1003(_0x4f8cdb._0x4e9e40,_0x4f8cdb._0x5eb0a6,_0x4f8cdb._0x1ac44c,_0x4f8cdb._0x326552)],'children':_0x1b1003(0xa1,0x323,_0x4f8cdb._0xb5e969,0x1cd)}),_0x206ab1(_0x4f8cdb._0x4921da,_0x4f8cdb._0x31d49c,0x605,_0x4f8cdb._0x21dbae),'\x20·\x20',_0x5585e8(_0x43d9dc,{'color':_0x44549b[_0x1b1003(-_0x4f8cdb._0x3eee77,-_0x4f8cdb._0x2beb87,-_0x4f8cdb._0x95c24f,-0xcc)][_0x1b1003(0x75,_0x4f8cdb._0x49207c,_0x4f8cdb._0x1ac44c,_0x4f8cdb._0x19b91b)],'children':_0x1b1003(-_0x4f8cdb._0x48dbd3,-0x125,-0x164,-_0x4f8cdb._0x2b1d2d)}),_0x206ab1(_0x4f8cdb._0x3d88c0,_0x4f8cdb._0x496452,_0x4f8cdb._0x50c04c,_0x4f8cdb._0x36231e)]})})]})]});},Bd=_0x383969[_0x3764a2(0x34f,0x4dd,0x2ca,0x505)](Dd);import{createContext as _0x3f2f0f,useContext as _0xfdff91}from'react';import{jsx as _0x2a56ae}from'react/jsx-runtime';var ki=_0x3f2f0f(void 0x0),oT=({children:_0x555afa,altMode:_0x36b72a=!0x1})=>_0x2a56ae(ki[_0x5a69d4(0x82c,0x603,0x48f,0x756)],{'value':{'altMode':_0x36b72a},'children':_0x555afa}),Li=()=>{const _0x35d3b2={_0x14b42e:0x530,_0x315e09:0x467,_0xa24d09:0x5ef},_0x3f6c5b={_0x16a0ac:0x160};let _0x4292dc=_0xfdff91(ki);function _0x529fee(_0x5bfae6,_0x321fc6,_0x2fce7b,_0x8a33e4){return _0x3764a2(_0x2fce7b-0x41c,_0x321fc6-_0x3f6c5b._0x16a0ac,_0x5bfae6,_0x8a33e4-0x192);}return _0x4292dc||(console['warn'](_0x529fee(_0x35d3b2._0x14b42e,_0x35d3b2._0x315e09,_0x35d3b2._0xa24d09,0x3b3)),{'altMode':!0x1});};import{forwardRef as _0x3b00c4,useMemo as _0x320e0b,useCallback as _0x281731,useRef as _0x39817c,useEffect as _0x5b70ad,useState as _0x4ad396}from'react';import{Box as _0x245aa1,Text as _0x4c1719}from'ink';import{useState as _0x4f6ceb,useMemo as _0x1d05dc}from'react';import{Box as _0x2f1000,Text as _0x214a33}from'ink';import{Box as _0x542b1f,Text as _0x5d1d42}from'ink';import{isTodoWriteArgs as _0x38ee18,parseToolArguments as _0x10cd96}from'@nuvin/nuvin-core';import{useMemo as _0x14452a}from'react';import{Box as _0x11b77d,Text as _0x57a69c}from'ink';import{jsx as _0x5090c9}from'react/jsx-runtime';function Hd(_0x2feb73){const _0x3b99f0={_0x560ea2:0x1bf},_0x3c3f8e={_0x216885:0x12b,_0x3f00a5:0xbf};function _0x394b43(_0x5bc258,_0x472702,_0x13698a,_0xa7a82f){return _0x3764a2(_0x13698a-_0x3c3f8e._0x216885,_0x472702-_0x3c3f8e._0x3f00a5,_0x5bc258,_0xa7a82f-0x8f);}try{return _0x2feb73['function'][_0x394b43(0xf5,0x3e5,_0x3b99f0._0x560ea2,0x32c)]?JSON['parse'](_0x2feb73['function']['arguments']):null;}catch{return null;}}function Di({call:_0x3d025f}){const _0x11447a={_0x1a16dd:0x6c8,_0xb3bd0f:0x69c,_0x57b72e:0x7fb,_0x132126:0xa4c,_0x1a36b2:0x9ab,_0x32630a:0x9e5,_0x5b6184:0xb4a,_0x2ae3b9:0x91d,_0x8b51d3:0x7d8},_0x5a5b65={_0x582839:0x10d},_0x112d3={_0x46fcfe:0x1d4};function _0x16ce6f(_0x2e982d,_0x32b3da,_0x16f949,_0x2b3be4){return _0x3764a2(_0x16f949-0x3b7,_0x32b3da-0x19c,_0x32b3da,_0x2b3be4-_0x112d3._0x46fcfe);}function _0x354512(_0x5b0503,_0x3f5524,_0x300a96,_0x1c8818){return _0x5a69d4(_0x5b0503-0x11e,_0x300a96-_0x5a5b65._0x582839,_0x5b0503,_0x1c8818-0x6a);}let _0x573cbd=_0x14452a(()=>Hd(_0x3d025f),[_0x3d025f]),_0x22eb39=_0x3d025f[_0x354512(_0x11447a._0x1a16dd,0x799,0x60e,0x687)]?.['lineNumbers'];return _0x573cbd?_0x5090c9(ko,{'blocks':[{'search':_0x573cbd['old_text'],'replace':_0x573cbd[_0x354512(_0x11447a._0xb3bd0f,0x684,0x72e,0x944)]}],'filePath':_0x573cbd[_0x16ce6f(0x549,0x737,0x63c,0x4d4)],'lineNumbers':_0x22eb39}):_0x5090c9(_0x11b77d,{'marginTop':0x1,'children':_0x5090c9(_0x57a69c,{'color':_0x354512(_0x11447a._0x57b72e,_0x11447a._0x132126,_0x11447a._0x1a36b2,_0x11447a._0x32630a),'children':_0x354512(_0x11447a._0x5b6184,0xb4a,_0x11447a._0x2ae3b9,_0x11447a._0x8b51d3)})});}import{useMemo as _0x6cdf64}from'react';import{Box as _0x4f3711,Text as _0x455f6d}from'ink';import{jsx as _0x200d26,jsxs as _0x43d7aa}from'react/jsx-runtime';function Kd(_0x475cd2){const _0x1a6151={_0x3955c0:0x691,_0x32b82d:0x642,_0x59f1da:0x4bb,_0x9c98c1:0x3c3,_0x51a8df:0x4ca,_0x35a618:0x1ea,_0x7a3cd:0xce},_0x54a256={_0x116604:0x73},_0x4c7805={_0x4aabce:0x268,_0x4d657d:0x9e};function _0x5ade01(_0x985a35,_0x45134a,_0x381f03,_0x303043){return _0x3764a2(_0x45134a-_0x4c7805._0x4aabce,_0x45134a-0x5,_0x985a35,_0x303043-_0x4c7805._0x4d657d);}function _0x496dd4(_0x7d5ba8,_0xec8ef5,_0xf66696,_0x2d9d5){return _0x3764a2(_0x7d5ba8-0x156,_0xec8ef5-0x139,_0xec8ef5,_0x2d9d5-_0x54a256._0x116604);}try{return _0x475cd2[_0x5ade01(_0x1a6151._0x3955c0,0x4d5,_0x1a6151._0x32b82d,_0x1a6151._0x59f1da)]['arguments']?JSON['parse'](_0x475cd2[_0x496dd4(_0x1a6151._0x9c98c1,0x2ea,_0x1a6151._0x51a8df,0x280)][_0x496dd4(_0x1a6151._0x35a618,_0x1a6151._0x7a3cd,-0x2d,0x50)]):null;}catch{return null;}}function Wd(_0x50527a){const _0xb71238={_0x5c950d:0x78b,_0x1af4ab:0x54d,_0x14dd04:0x93f,_0x3dd6c4:0x7a6},_0x2177e4={_0x3d0029:0x3ce},_0x32110a={_0x473ce7:0x183,_0x121620:0xc3};if(!_0x50527a)return{'lines':[],'lineNumberWidth':0x0};function _0x5a7bcd(_0xc8b301,_0x254950,_0x435299,_0x903aa7){return _0x5a69d4(_0xc8b301-_0x32110a._0x473ce7,_0xc8b301- -0x8c,_0x254950,_0x903aa7-_0x32110a._0x121620);}function _0x2df61e(_0x4c720f,_0x8c1f6b,_0x430090,_0x46cc1a){return _0x3764a2(_0x4c720f-_0x2177e4._0x3d0029,_0x8c1f6b-0x1da,_0x430090,_0x46cc1a-0x7b);}let _0x23d8d5=_0x50527a['split']('\x0a'),_0x3cc2b0=_0x23d8d5[_0x5a7bcd(_0xb71238._0x5c950d,0x8d6,0x718,0x6c3)][_0x5a7bcd(0x409,0x4ac,_0xb71238._0x1af4ab,0x439)]()['length'];return{'lines':_0x23d8d5[_0x2df61e(0x75b,0x695,_0xb71238._0x14dd04,_0xb71238._0x3dd6c4)]((_0x33560a,_0x1916cd)=>({'lineNumber':(_0x1916cd+0x1)[_0x2df61e(0x348,0x26b,0x2c4,0x3f4)]()[_0x5a7bcd(0x45b,0x29f,0x427,0x4c8)](_0x3cc2b0,'\x20'),'content':_0x33560a[_0x5a7bcd(0x3dd,0x457,0x623,0x2df)](/\t/g,'\x20\x20')})),'lineNumberWidth':_0x3cc2b0};}function Bi({call:_0x24e012}){const _0x3a9d59={_0x3a609f:0x426,_0x3d6579:0x339,_0x4f2f15:0x85e,_0x248434:0x512,_0x2b9bdc:0x5b0,_0x6ca9d0:0x551,_0x3e25dd:0x5ea,_0x3c0cbc:0x5b1,_0x46a79d:0x18f,_0x382c14:0x3bf,_0x3fe2c4:0x30e,_0x581832:0x1f7,_0x134f30:0x23c,_0x2ab3a4:0x3d5},_0x317348={_0x2c4afb:0xe4,_0x5818b4:0x64},_0x367e3c={_0x111262:0x48,_0xd3398e:0x84,_0x202935:0x1c3};let _0x5ca3b3=_0x6cdf64(()=>Kd(_0x24e012),[_0x24e012]),{cols:_0x5466dc}=z();if(!_0x5ca3b3)return _0x200d26(_0x4f3711,{'marginTop':0x1,'children':_0x200d26(_0x455f6d,{'color':_0x17c470(0x98d,0x88d,0x920,0x9ad),'children':_0x3f50b8(0x2f0,_0x3a9d59._0x3a609f,_0x3a9d59._0x3d6579,0x33d)})});function _0x3f50b8(_0x6bfaa8,_0x3bc4a6,_0x469f1c,_0x1dbd98){return _0x3764a2(_0x1dbd98-_0x367e3c._0x111262,_0x3bc4a6-_0x367e3c._0xd3398e,_0x6bfaa8,_0x1dbd98-_0x367e3c._0x202935);}let {lines:_0x3228dd,lineNumberWidth:_0x39af56}=Wd(_0x5ca3b3[_0x17c470(0x704,_0x3a9d59._0x4f2f15,_0x3a9d59._0x248434,0x642)]);function _0x17c470(_0x1a1374,_0x46f370,_0x5a1b85,_0x46b975){return _0x3764a2(_0x1a1374-0x60a,_0x46f370-_0x317348._0x2c4afb,_0x5a1b85,_0x46b975-_0x317348._0x5818b4);}return _0x200d26(_0x4f3711,{'flexDirection':_0x17c470(0x61c,0x4aa,_0x3a9d59._0x2b9bdc,_0x3a9d59._0x6ca9d0),'marginTop':0x1,'width':_0x5466dc-0x8,'overflow':_0x3f50b8(_0x3a9d59._0x3e25dd,_0x3a9d59._0x3c0cbc,_0x3a9d59._0x46a79d,_0x3a9d59._0x382c14),'children':_0x3228dd[_0x3f50b8(_0x3a9d59._0x3fe2c4,_0x3a9d59._0x581832,_0x3a9d59._0x134f30,_0x3a9d59._0x2ab3a4)](_0x5c38f4=>_0x43d7aa(_0x4f3711,{'children':[_0x200d26(_0x4f3711,{'flexWrap':_0x3f50b8(0x1a1,0x70,0x1ee,0xdd),'width':_0x39af56+0x1,'children':_0x200d26(_0x455f6d,{'dimColor':!0x0,'children':_0x5c38f4[_0x3f50b8(0x9c,-0x38,0x124,0x67)]})}),_0x200d26(_0x4f3711,{'borderStyle':_0x3f50b8(-0x9d,-0x269,-0x183,-0x5f),'borderDimColor':!0x0,'borderBottom':!0x1,'borderTop':!0x1,'borderRight':!0x1,'marginRight':0x1,'paddingLeft':0x1,'children':_0x200d26(_0x455f6d,{'children':_0x5c38f4[_0x3f50b8(0x352,-0xa8,-0x72,0x142)]})})]},_0x5c38f4[_0x3f50b8(-0x101,-0x195,-0xf5,0x67)]+'-'+_0x5c38f4[_0x3f50b8(0x342,0xec,-0x88,0x142)][_0x17c470(0x6f1,0x4b8,0x4d4,0x69f)](0x0,0x14)))});}import{jsx as _0x33370c,jsxs as _0x530e10}from'react/jsx-runtime';var _i=_0x20248a=>typeof _0x20248a==_0x3764a2(0x375,0x26f,0x561,0x21d)?_0x20248a:typeof _0x20248a==_0x5a69d4(0x51b,0x716,0x934,0x7e6)&&_0x20248a!==null?JSON['stringify'](_0x20248a,null,0x0):String(_0x20248a),Gd={'bash_tool':{'parameters':[{'key':'cmd','label':'Command'},{'key':_0x5a69d4(0x7a0,0x6b9,0x5c5,0x546),'label':_0x3764a2(0x3b2,0x4e3,0x3e8,0x223)},{'key':_0x3764a2(0x2bc,0x1f7,0x32c,0x373),'label':_0x3764a2(-0x2c,0x1b1,0x5f,-0x6b)},{'key':'description','hide':!0x0}]},'file_edit':{'customRenderer':({toolCall:_0x2da909})=>_0x33370c(Di,{'call':_0x2da909}),'showDefaultParams':!0x1},'file_new':{'customRenderer':({toolCall:_0x495ed0})=>_0x33370c(Bi,{'call':_0x495ed0}),'showDefaultParams':!0x1},'assign_task':{'parameters':[{'key':'agent','label':_0x5a69d4(0x792,0x7f1,0x7f5,0x5bf)},{'key':_0x5a69d4(0x599,0x6c0,0x567,0x67a),'label':'Task'},{'key':_0x5a69d4(0x531,0x697,0x476,0x4d7),'hide':!0x0}]},'file_read':{'parameters':[{'key':_0x5a69d4(0x706,0x52e,0x725,0x5de),'label':_0x5a69d4(0x6ca,0x5a1,0x5c1,0x4d9)},{'key':_0x3764a2(0x182,0x33b,0x3a0,-0x75),'label':'Start\x20Line'},{'key':_0x3764a2(0x3b5,0x5f7,0x22e,0x5b5),'label':_0x5a69d4(0x529,0x4ab,0x35c,0x60b)},{'key':'description','hide':!0x0}]},'web_search':{'parameters':[{'key':_0x3764a2(-0x64,-0x208,-0x37,-0xd1),'label':_0x5a69d4(0x688,0x5f6,0x7f3,0x5a4)},{'key':'count','label':'Results\x20Count'},{'key':_0x3764a2(0x73,-0x129,-0x56,0x1cc),'label':_0x3764a2(0x19a,0x179,0x355,0x191)},{'key':_0x3764a2(0x2a9,0x4ab,0x69,0x254),'label':_0x5a69d4(0x6fe,0x4fc,0x345,0x350)},{'key':_0x5a69d4(0x54d,0x4e1,0x60c,0x3c9),'label':_0x5a69d4(0x83b,0x8c3,0x968,0x959)},{'key':'recencyDays','label':_0x5a69d4(0x7d0,0x773,0x7cd,0x998)},{'key':_0x3764a2(0x17c,-0x96,0x18e,0x224),'hide':!0x0}]},'web_fetch':{'parameters':[{'key':_0x5a69d4(0x547,0x5a3,0x360,0x77f),'label':_0x3764a2(0xba,-0x43,-0x44,-0x18f)},{'key':'description','hide':!0x0}]},'dir_ls':{'parameters':[{'key':_0x5a69d4(0x46a,0x52e,0x32a,0x5ef),'label':_0x5a69d4(0x43d,0x5f1,0x641,0x4e6)},{'key':'limit','label':'Entry\x20Limit'}]},'todo_write':{'showDefaultParams':!0x1,'customRenderer':({toolCall:_0x3a1718})=>{const _0x1d9c74={_0x39d9f7:0x482,_0x332eba:0x3f2,_0x2d361f:0x272,_0x272f50:0x227,_0x3f1057:0x46,_0x1308a1:0x3ef,_0x3e3ac2:0x442,_0x1894d8:0x1cc,_0x203806:0x583,_0x4e9d5c:0x428,_0x447e28:0x51a,_0x2d6176:0x9a4,_0x1fda0e:0x849,_0x406496:0x8ea,_0x3b8001:0x964,_0x36a87c:0x511,_0x3bb9bf:0x2eb,_0x41b5c5:0x44b,_0x23af08:0x328,_0x2ec34f:0x30a,_0x3422a6:0x64b},_0x8b1d1a={_0x7be5d5:0x5d7};function _0x4af3f4(_0x2b99a7,_0xd96768,_0x429971,_0x579bda){return _0x3764a2(_0x2b99a7-0x215,_0xd96768-0x1db,_0x579bda,_0x579bda-0x1f0);}function _0x2c2305(_0x4bca92,_0x3f12e8,_0x5ba9b4,_0x5ca516){return _0x3764a2(_0x5ca516-_0x8b1d1a._0x7be5d5,_0x3f12e8-0x13f,_0x3f12e8,_0x5ca516-0x1ee);}let {theme:_0x50e5e9}=N(),_0x1c52bc=_0x10cd96(_0x3a1718[_0x4af3f4(_0x1d9c74._0x39d9f7,0x45f,0x5a6,_0x1d9c74._0x332eba)][_0x4af3f4(0x2a9,0x1bd,0xe2,_0x1d9c74._0x2d361f)]),_0x13f9b4=_0x38ee18(_0x1c52bc)?_0x1c52bc['todos']:void 0x0;return!_0x13f9b4||!Array['isArray'](_0x13f9b4)?null:_0x530e10(_0x542b1f,{'flexDirection':_0x4af3f4(_0x1d9c74._0x272f50,0x409,0x2b9,_0x1d9c74._0x3f1057),'children':[_0x33370c(_0x542b1f,{'children':_0x530e10(_0x5d1d42,{'color':_0x50e5e9[_0x4af3f4(_0x1d9c74._0x1308a1,_0x1d9c74._0x3e3ac2,_0x1d9c74._0x1894d8,0x408)]['statusText'],'children':[_0x2c2305(_0x1d9c74._0x203806,0x685,_0x1d9c74._0x4e9d5c,_0x1d9c74._0x447e28),_0x13f9b4['length'],'):']})}),_0x13f9b4['slice'](0x0,0x5)[_0x2c2305(_0x1d9c74._0x2d6176,_0x1d9c74._0x1fda0e,_0x1d9c74._0x406496,_0x1d9c74._0x3b8001)]((_0x11db79,_0x4baa7a)=>_0x33370c(_0x542b1f,{'marginLeft':0x2,'flexWrap':_0x2c2305(0x6b8,0x6f2,0x770,0x77b),'children':_0x530e10(_0x5d1d42,{'dimColor':!0x0,'children':['[',_0x11db79[_0x4af3f4(0x4fd,0x61f,0x4be,0x54c)],']\x20',_0x11db79['content']]})},_0x4baa7a)),_0x13f9b4[_0x4af3f4(_0x1d9c74._0x36a87c,_0x1d9c74._0x3bb9bf,0x3b0,_0x1d9c74._0x41b5c5)]>0x5&&_0x33370c(_0x542b1f,{'marginLeft':0x2,'children':_0x530e10(_0x5d1d42,{'dimColor':!0x0,'children':['...\x20and\x20',_0x13f9b4[_0x4af3f4(_0x1d9c74._0x36a87c,_0x1d9c74._0x23af08,0x34e,_0x1d9c74._0x2ec34f)]-0x5,_0x2c2305(0x6c4,0x6ec,_0x1d9c74._0x3422a6,0x724)]})})]});}}},Yd=({toolCall:_0x4d1175,config:_0x4bcf43})=>{const _0x19797a={_0x89db0:0x1bb,_0x74082a:0x3fb,_0x1126ad:0x3a1,_0x593733:0x3f1,_0x3f3a54:0x68d,_0x47738f:0x542,_0xb2434e:0x2c7,_0x544dcf:0x198,_0x4a3f0f:0x1a2,_0x136893:0x422,_0x3e47df:0x2c1,_0x52353d:0x184,_0xea28e8:0x6e9,_0x2d6ef0:0x4d8,_0x42addb:0x51d},_0x3d299e={_0x8fc199:0x464},_0x49a727={_0x44b743:0x3b},_0x1867fb={_0x2ba8ba:0x1da,_0x4737c0:0x38b,_0x9433c0:0x13e};let {theme:_0x13da24}=N(),_0x3b16ad=_0x10cd96(_0x4d1175[_0x555d19(0x38a,_0x19797a._0x89db0,0x4fa,0x3fd)]['arguments']),_0x466332=(_0x4bcf43[_0x555d19(0x494,_0x19797a._0x74082a,0x1f4,_0x19797a._0x1126ad)]||[])[_0x13060b(_0x19797a._0x593733,0x475,0x694,0x69c)](_0x24b909=>!_0x24b909[_0x13060b(0x199,0xc9,0x1d9,0x262)]&&_0x3b16ad[_0x24b909['key']]!==void 0x0);function _0x555d19(_0x539ddc,_0x2abaab,_0x2fe5c2,_0x2aa512){return _0x5a69d4(_0x539ddc-_0x1867fb._0x2ba8ba,_0x2aa512- -_0x1867fb._0x4737c0,_0x2abaab,_0x2aa512-_0x1867fb._0x9433c0);}function _0x13060b(_0xddb7c5,_0x149b5d,_0x3ac43c,_0x2d64e2){return _0x5a69d4(_0xddb7c5-_0x49a727._0x44b743,_0x149b5d- -0x3a4,_0x3ac43c,_0x2d64e2-0xdd);}return _0x466332[_0x13060b(_0x19797a._0x3f3a54,0x473,_0x19797a._0x47738f,_0x19797a._0xb2434e)]===0x0?null:_0x530e10(_0x542b1f,{'flexDirection':_0x555d19(0x23d,_0x19797a._0x544dcf,0x2d5,_0x19797a._0x4a3f0f),'children':[_0x33370c(_0x542b1f,{'children':_0x33370c(_0x5d1d42,{'color':_0x13da24[_0x555d19(0x341,_0x19797a._0x136893,_0x19797a._0x3e47df,0x36a)]['statusText'],'children':_0x555d19(0x276,_0x19797a._0x52353d,0x3cb,0x315)})}),_0x466332[_0x555d19(_0x19797a._0xea28e8,_0x19797a._0x2d6ef0,0x33a,_0x19797a._0x42addb)](({key:_0xeb19cf,label:_0x721c2a,format:_0x22894c})=>{const _0x6c4201={_0x4298a5:0x130};function _0x35217b(_0x53e866,_0x355bfe,_0x43cf4e,_0x5a20a7){return _0x555d19(_0x53e866-0xdf,_0x5a20a7,_0x43cf4e-0x187,_0x355bfe-_0x6c4201._0x4298a5);}let _0x91d352=_0x3b16ad[_0xeb19cf],_0x47165e=_0x721c2a||_0xeb19cf,_0x10afd7=_0x22894c?_0x22894c(_0x91d352):_i(_0x91d352);return _0x33370c(_0x542b1f,{'marginLeft':0x2,'flexWrap':_0x35217b(0x48a,_0x3d299e._0x8fc199,0x437,0x363),'children':_0x530e10(_0x5d1d42,{'dimColor':!0x0,'children':[_0x47165e,':\x20',_0x10afd7]})},_0xeb19cf);})]});},Ni=({toolCall:_0x5204b4})=>{const _0x309656={_0x2c93b9:0x3e3,_0x44e28c:0x1a4,_0x44759c:0x423,_0x3b19b3:0x476,_0x44a498:0x7,_0x3bc2f5:0x1d8,_0x20cfd0:0x74b,_0x3fadaa:0x6f7,_0x4b85c9:0x1be,_0x423a97:0x119,_0x58aa2d:0x6d,_0x13272f:0x69d,_0x351563:0x538,_0x72d102:0x5ba},_0xdfac3a={_0x3e9a1e:0x19,_0x4f9162:0x22,_0x2c5588:0xa0};function _0x1f1cbf(_0x21aa59,_0x5f0e07,_0xc5c513,_0x3764bc){return _0x3764a2(_0x3764bc- -_0xdfac3a._0x3e9a1e,_0x5f0e07-_0xdfac3a._0x4f9162,_0x5f0e07,_0x3764bc-_0xdfac3a._0x2c5588);}let {theme:_0x1cdd95}=N(),_0x5efaf8=_0x5204b4['function']['name'],_0x26aead=Gd[_0x5efaf8];if(!_0x26aead){let _0x1768b2=_0x10cd96(_0x5204b4[_0x1f1cbf(_0x309656._0x2c93b9,_0x309656._0x44e28c,0x139,0x254)][_0x15278d(0x3a8,_0x309656._0x44759c,0x5e4,_0x309656._0x3b19b3)]),_0x15293e=Object[_0x1f1cbf(_0x309656._0x44a498,-_0x309656._0x3bc2f5,-0x231,-0xd4)](_0x1768b2)[_0x15278d(_0x309656._0x20cfd0,0x68d,0x7ca,_0x309656._0x3fadaa)](([_0x38f38a])=>_0x38f38a!==_0x1f1cbf(-0xd4,0x273,0xa3,0x163));return _0x530e10(_0x542b1f,{'flexDirection':_0x15278d(0x1e1,0x3a1,0x513,_0x309656._0x4b85c9),'children':[_0x33370c(_0x542b1f,{'children':_0x33370c(_0x5d1d42,{'color':_0x1cdd95['toolApproval'][_0x1f1cbf(0x2b,-_0x309656._0x423a97,-0x123,-_0x309656._0x58aa2d)],'children':'Parameters:'})}),_0x15293e['map'](([_0x38933e,_0x4aad73])=>_0x33370c(_0x542b1f,{'marginLeft':0x2,'flexWrap':_0x1f1cbf(0x1b2,-0x34,0xce,0x18b),'children':_0x33370c(_0x5d1d42,{'dimColor':!0x0,'children':_0x38933e+':\x20'+_i(_0x4aad73)})},_0x38933e))]});}function _0x15278d(_0x5e6d62,_0x4ad4ed,_0x3bf57c,_0x3118b6){return _0x5a69d4(_0x5e6d62-0x1e4,_0x4ad4ed- -0x18c,_0x3118b6,_0x3118b6-0x1de);}if(_0x26aead['customRenderer']){let _0x1af70d=_0x26aead[_0x15278d(_0x309656._0x13272f,_0x309656._0x351563,0x686,_0x309656._0x72d102)];return _0x33370c(_0x1af70d,{'toolCall':_0x5204b4});}return _0x33370c(Yd,{'toolCall':_0x5204b4,'config':_0x26aead});};import{jsx as _0x1ca63f}from'react/jsx-runtime';var fn=({toolCall:_0x4dab1c})=>{const _0xaede2e={_0x52ed8d:0x4c1,_0x23d2da:0x2cb};function _0x44bf21(_0x48571e,_0x57be25,_0x25c16e,_0x365104){return _0x5a69d4(_0x48571e-0x159,_0x365104- -0x5e7,_0x57be25,_0x365104-0x88);}let {rows:_0x46cb23}=z(),_0xcba99f=Math[_0x44bf21(0x468,0x318,_0xaede2e._0x52ed8d,_0xaede2e._0x23d2da)](0x5,_0x46cb23-0x14);return _0x1ca63f(Yo,{'maxHeight':_0xcba99f,'mousePriority':0x64,'children':_0x1ca63f(Ni,{'toolCall':_0x4dab1c})});};import{Text as _0x4c6108}from'ink';import{jsxs as _0x420a91}from'react/jsx-runtime';function _0x3764a2(_0x35bd66,_0x2de8c8,_0x447317,_0xf0918a){const _0x16fa00={_0xc1545c:0x28e};return _0x4e8e(_0x35bd66- -_0x16fa00._0xc1545c,_0x447317);}var gn=({currentIndex:_0x2002ba,totalTools:_0x3c4046})=>{const _0x1dbbe7={_0x3f8ab5:0x745,_0x4d2f62:0x738,_0x210461:0x28f,_0x37b475:0x2fa},_0x4e7093={_0x173b7c:0x188,_0x3071e7:0x111};let {theme:_0x515505}=N();function _0x37605b(_0x538c3b,_0x6aef89,_0x38b2e3,_0x108342){return _0x3764a2(_0x108342-0x55e,_0x6aef89-0x17f,_0x538c3b,_0x108342-0x5f);}function _0x423d8d(_0x401ffb,_0x14a6e8,_0x223ca4,_0x232dbf){return _0x3764a2(_0x14a6e8-0x34e,_0x14a6e8-_0x4e7093._0x173b7c,_0x223ca4,_0x232dbf-_0x4e7093._0x3071e7);}return _0x420a91(_0x4c6108,{'color':_0x515505[_0x37605b(0x686,0x728,_0x1dbbe7._0x3f8ab5,_0x1dbbe7._0x4d2f62)][_0x423d8d(_0x1dbbe7._0x210461,_0x1dbbe7._0x37b475,0x17b,0x276)],'children':[_0x2002ba+0x1,'/',_0x3c4046]});};import{Box as _0xeccf8e,Text as _0x3a3033}from'ink';import{jsx as _0x3eed6b,jsxs as _0x2fb9c}from'react/jsx-runtime';var hn=({selectedAction:_0xb22051})=>{const _0x14093c={_0x347914:0x288,_0x3b86e2:0xf3,_0x25edf0:0x25a,_0x135406:0x17a,_0x560ed8:0x3b0,_0x5450a8:0x38b,_0x55fc76:0x40f,_0x20a195:0x3ff,_0x48ca74:0x1d3,_0x3e9eb8:0xb,_0x515a44:0x11,_0x2f88a8:0x221,_0x46b5f1:0x1cd,_0x1cd01e:0x26c,_0x2eabe8:0x437,_0x5b61af:0x11c,_0x323fe7:0x3f3,_0x134f47:0x1ab,_0x4de135:0x1bd,_0x248e4d:0x165,_0x51afbc:0x175,_0x2c5f59:0x3f3,_0x403c74:0x356,_0x2c130f:0x720,_0x4495f3:0x5f6,_0x4c1d6f:0x537,_0x242a6b:0x339,_0x59f6a8:0x52c,_0x8c4984:0x3b0,_0x1b5b1f:0x44c,_0x4ee175:0x442,_0x27ea67:0x40e},_0x13d38f={_0x37bb8d:0x1d6,_0x571732:0x177},_0x455021={_0x6dce2e:0x15e,_0x608fd3:0x489};let {theme:_0x5b7023}=N();function _0x47562e(_0x31844f,_0x5ebb0f,_0x3af253,_0x492b5c){return _0x5a69d4(_0x31844f-_0x455021._0x6dce2e,_0x5ebb0f- -_0x455021._0x608fd3,_0x3af253,_0x492b5c-0x88);}function _0x3aa8af(_0x4de9c2,_0x2ef8e4,_0x2fa976,_0x4dc684){return _0x3764a2(_0x2ef8e4-_0x13d38f._0x37bb8d,_0x2ef8e4-_0x13d38f._0x571732,_0x2fa976,_0x4dc684-0x8b);}return _0x2fb9c(_0xeccf8e,{'flexDirection':_0x3aa8af(0x47,0x22e,_0x14093c._0x347914,0x83),'gap':0x2,'children':[_0x2fb9c(_0xeccf8e,{'alignItems':_0x47562e(-0x50,0xdd,_0x14093c._0x3b86e2,_0x14093c._0x25edf0),'children':[_0x3eed6b(_0x3a3033,{'color':_0xb22051===0x0?_0x5b7023[_0x3aa8af(_0x14093c._0x135406,_0x14093c._0x560ed8,0x529,0x37a)]['actionSelected']:'transparent','bold':!0x0,'children':_0xb22051===0x0?'❯\x20':'\x20\x20'}),_0x3eed6b(_0x3a3033,{'dimColor':_0xb22051!==0x0,'color':_0xb22051===0x0?_0x5b7023['toolApproval'][_0x3aa8af(_0x14093c._0x5450a8,_0x14093c._0x55fc76,0x4e7,_0x14093c._0x20a195)]:_0x3aa8af(0x1a,_0x14093c._0x48ca74,0x1c5,-_0x14093c._0x3e9eb8),'bold':!0x0,'children':'Yes'})]}),_0x2fb9c(_0xeccf8e,{'alignItems':_0x3aa8af(_0x14093c._0x515a44,_0x14093c._0x2f88a8,_0x14093c._0x46b5f1,0x4e),'children':[_0x3eed6b(_0x3a3033,{'color':_0xb22051===0x1?_0x5b7023[_0x47562e(0x90,_0x14093c._0x1cd01e,0x439,0x1d4)][_0x47562e(0x49f,0x3f3,0x1c9,0x555)]:'transparent','bold':!0x0,'children':_0xb22051===0x1?'❯\x20':'\x20\x20'}),_0x3eed6b(_0x3a3033,{'dimColor':_0xb22051!==0x1,'color':_0xb22051===0x1?_0x5b7023[_0x47562e(_0x14093c._0x2eabe8,0x26c,0x1c2,_0x14093c._0x5b61af)][_0x47562e(0x2de,_0x14093c._0x323fe7,0x549,0x437)]:_0x5b7023['toolApproval'][_0x3aa8af(_0x14093c._0x134f47,_0x14093c._0x4de135,0x1f1,0x1f3)],'bold':!0x0,'children':'No'})]}),_0x2fb9c(_0xeccf8e,{'alignItems':_0x47562e(-0xd1,0xdd,-_0x14093c._0x248e4d,_0x14093c._0x51afbc),'children':[_0x3eed6b(_0x3a3033,{'color':_0xb22051===0x2?_0x5b7023[_0x47562e(0x1ab,0x26c,0x1cd,0x3c8)][_0x47562e(0x28a,_0x14093c._0x2c5f59,0x569,0x31d)]:_0x3aa8af(_0x14093c._0x403c74,0x4f1,_0x14093c._0x2c130f,0x656),'bold':!0x0,'children':_0xb22051===0x2?'❯\x20':'\x20\x20'}),_0x3eed6b(_0x3a3033,{'dimColor':_0xb22051!==0x2,'color':_0xb22051===0x2?_0x5b7023[_0x3aa8af(0x46a,0x3b0,0x505,_0x14093c._0x4495f3)][_0x3aa8af(0x664,_0x14093c._0x4c1d6f,0x425,_0x14093c._0x242a6b)]:_0x5b7023[_0x3aa8af(_0x14093c._0x59f6a8,_0x14093c._0x8c4984,0x1ab,_0x14093c._0x1b5b1f)]['actionReview'],'bold':!0x0,'children':_0x47562e(_0x14093c._0x4ee175,0x20d,_0x14093c._0x27ea67,0x1f6)})]})]});};import{Box as _0x5e8a64,Text as _0x3a4a2b}from'ink';import _0x3f2b13,{useEffect as _0x4bcb24}from'react';import{Text as _0xc04250}from'ink';function te(_0x217faa,_0x23a334){const _0xef412c={_0x395ccc:0x33e,_0x2dc61d:0x370,_0x19c4fb:0x706,_0x2076ae:0x59b,_0x330ec2:0x706,_0x26a5d9:0x4be,_0xb226b3:0x2c9,_0x242a43:0x4f0},_0x2952be={_0x4e1d62:0x21,_0x44ce0c:0x111,_0x2f5f40:0xa};let _0x5796ae=_0x217faa[_0x2716bb(_0xef412c._0x395ccc,0x438,0x1e7,0x22d)]('\x0a'),_0x17ea83=0x0;function _0x2716bb(_0x2cd52d,_0x2bcdb3,_0x4223d9,_0x5d6d0f){return _0x5a69d4(_0x2cd52d-_0x2952be._0x4e1d62,_0x2cd52d- -_0x2952be._0x44ce0c,_0x2bcdb3,_0x5d6d0f-_0x2952be._0x2f5f40);}for(let _0x337151=0x0;_0x337151<_0x5796ae['length'];_0x337151++){let _0x57b05c=_0x5796ae[_0x337151],_0x3c0372=_0x17ea83+_0x57b05c['length'];if(_0x23a334<=_0x3c0372)return{'lines':_0x5796ae,'lineIndex':_0x337151,'column':_0x23a334-_0x17ea83,'lineStart':_0x17ea83,'lineEnd':_0x3c0372};_0x17ea83=_0x3c0372+0x1;}let _0x19c6e8=Math['max'](0x0,_0x5796ae[_0x30cf73(0x2c9,0x134,_0xef412c._0x2dc61d,0x35e)]-0x1),_0x345e5d=_0x5796ae[_0x19c6e8]??'',_0x1726c7=_0x217faa[_0x2716bb(_0xef412c._0x19c4fb,0x850,0x604,_0xef412c._0x2076ae)]-_0x345e5d[_0x2716bb(_0xef412c._0x330ec2,0x57b,_0xef412c._0x26a5d9,0x789)];function _0x30cf73(_0x30dad9,_0x3c574d,_0x49aff5,_0x1f4c62){return _0x5a69d4(_0x30dad9-0x158,_0x30dad9- -0x54e,_0x49aff5,_0x1f4c62-0x153);}return{'lines':_0x5796ae,'lineIndex':_0x19c6e8,'column':_0x345e5d['length'],'lineStart':_0x1726c7,'lineEnd':_0x217faa[_0x30cf73(_0xef412c._0xb226b3,0x3bb,0x39a,_0xef412c._0x242a43)]};}function ot(_0x34fcaf,_0x473b24,_0x347686){const _0x5bc6ec={_0x4d2e70:0x759,_0x275dfa:0x5be,_0x765e7b:0x26,_0x14f63d:0x180,_0x108556:0x9e,_0x552ea:0x152,_0x2eb2e6:0x272,_0x553a3e:0x2dc,_0x158fb9:0x279,_0x7e139d:0x17a,_0x38d791:0x4c5,_0x4b5994:0x4a3,_0x2ca736:0xe6,_0x21d034:0x14d,_0xb0e7b8:0x308,_0x578f62:0x306,_0x357ee1:0x17a,_0x139bb4:0x692,_0x4c0e99:0x711,_0xafaa9e:0x519,_0xb390a1:0x63a},_0x440255={_0x723e76:0x3c4,_0x3da288:0xe5},_0x11ca24={_0x48ec9b:0x38};if(!_0x34fcaf[_0x34a777(_0x5bc6ec._0x4d2e70,_0x5bc6ec._0x275dfa,0x593,0x3b2)]('\x0a'))return null;let _0x166cb1=te(_0x34fcaf,_0x473b24),_0x561e43=_0x347686==='up'?_0x166cb1[_0x56786e(_0x5bc6ec._0x765e7b,_0x5bc6ec._0x14f63d,-0x152,_0x5bc6ec._0x108556)]-0x1:_0x166cb1[_0x56786e(-_0x5bc6ec._0x552ea,_0x5bc6ec._0x2eb2e6,-0x19e,0x9e)]+0x1;if(_0x561e43<0x0||_0x561e43>=_0x166cb1[_0x56786e(_0x5bc6ec._0x553a3e,_0x5bc6ec._0x158fb9,0x293,_0x5bc6ec._0x7e139d)][_0x56786e(_0x5bc6ec._0x38d791,_0x5bc6ec._0x4b5994,_0x5bc6ec._0x2ca736,0x321)])return null;function _0x56786e(_0x425445,_0x206656,_0x34f06a,_0xfc3876){return _0x3764a2(_0xfc3876-0x25,_0x206656-_0x11ca24._0x48ec9b,_0x34f06a,_0xfc3876-0xf0);}let _0x44007d=_0x166cb1[_0x56786e(_0x5bc6ec._0x21d034,_0x5bc6ec._0xb0e7b8,_0x5bc6ec._0x578f62,_0x5bc6ec._0x357ee1)][_0x561e43][_0x34a777(0x672,0x65f,0x6c0,_0x5bc6ec._0x139bb4)],_0x5c003f=Math['min'](_0x166cb1['column'],_0x44007d),_0x2ce09e=0x0;for(let _0x3ee1ec=0x0;_0x3ee1ec<_0x561e43;_0x3ee1ec++)_0x2ce09e+=_0x166cb1[_0x34a777(0x396,_0x5bc6ec._0x4c0e99,_0x5bc6ec._0xafaa9e,0x591)][_0x3ee1ec][_0x34a777(_0x5bc6ec._0xb390a1,0x50b,0x6c0,0x490)]+0x1;function _0x34a777(_0x244cb8,_0x50f583,_0xd3e38,_0x56049f){return _0x3764a2(_0xd3e38-_0x440255._0x723e76,_0x50f583-_0x440255._0x3da288,_0x244cb8,_0x56049f-0x123);}return _0x2ce09e+_0x5c003f;}function $i(_0x258208,_0x404e93){const _0x23ad03={_0x33db35:0x592,_0xca45da:0x5ea,_0x406dc5:0x8c0,_0xc0e40a:0x74c,_0x2c5a3f:0xd3,_0x4fcdb7:0x1b9,_0x2021a9:0x74c,_0x141cf5:0x508},_0x56eb4b={_0x41ad2a:0x1f2};let _0x4abf2a=_0x404e93;for(;_0x4abf2a<_0x258208[_0xe4c524(0x93a,0x74c,_0x23ad03._0x33db35,0x89e)]&&/\s/[_0xe4c524(0x6d1,0x6ed,0x69f,_0x23ad03._0xca45da)](_0x258208[_0x4abf2a]);)_0x4abf2a++;function _0xe4c524(_0xa7e3b0,_0x112889,_0x579deb,_0x1c7e3b){return _0x3764a2(_0x112889-0x450,_0x112889-0x54,_0xa7e3b0,_0x1c7e3b-_0x56eb4b._0x41ad2a);}function _0x625319(_0x524998,_0x2a4ead,_0x56f744,_0x3f7bcf){return _0x3764a2(_0x56f744-0x75,_0x2a4ead-0xc,_0x524998,_0x3f7bcf-0xf5);}for(;_0x4abf2a<_0x258208[_0xe4c524(_0x23ad03._0x406dc5,_0x23ad03._0xc0e40a,0x73a,0x676)]&&!/\s/[_0x625319(0x51f,0x37c,0x312,_0x23ad03._0x2c5a3f)](_0x258208[_0x4abf2a]);)_0x4abf2a++;return Math[_0x625319(0x33a,_0x23ad03._0x4fcdb7,0x221,0x96)](_0x4abf2a,_0x258208[_0xe4c524(0x752,_0x23ad03._0x2021a9,_0x23ad03._0x141cf5,0x7a2)]);}function yn(_0x485fd8,_0x387db6,_0x598c39){const _0x45a03c={_0x50a669:0x2d0,_0x58ba99:0x1d0,_0x194c09:0x4a,_0x3f260f:0x257,_0x593bc8:0x3b1,_0x2f98e6:0x15b,_0x5155ca:0x616,_0xf35b5e:0x659},_0x20d75e={_0x3249bb:0xc};function _0x302481(_0x3c84b7,_0x5e5653,_0x286869,_0x23e761){return _0x3764a2(_0x23e761-0x4ad,_0x5e5653-0x10f,_0x286869,_0x23e761-_0x20d75e._0x3249bb);}if(_0x485fd8<=0x0)return 0x0;if(_0x598c39===_0x302481(0x59a,0x410,0x564,0x4ad)){let _0x88f625=Math[_0x2080be(_0x45a03c._0x50a669,_0x45a03c._0x58ba99,_0x45a03c._0x194c09,_0x45a03c._0x3f260f)](0x0,_0x485fd8-0x1);return Math[_0x2080be(_0x45a03c._0x593bc8,0x39d,_0x45a03c._0x2f98e6,0x257)](0x0,Math[_0x302481(0x56b,_0x45a03c._0x5155ca,0x815,_0x45a03c._0xf35b5e)](_0x387db6,_0x88f625));}function _0x2080be(_0x53980d,_0x29c5c1,_0x2785eb,_0x160ea8){return _0x3764a2(_0x160ea8- -0x140,_0x29c5c1-0x1e1,_0x29c5c1,_0x160ea8-0x0);}return Math[_0x2080be(0x93,0x2e5,0x1b8,_0x45a03c._0x3f260f)](0x0,Math['min'](_0x387db6,_0x485fd8));}import{useState as _0x4f3454,useEffect as _0x4ca108,useCallback as _0x2c47cc,useRef as _0x45fecb}from'react';function Ui({enabled:_0x4db0a4,onModeChange:_0x195072}){const _0x167ac2={_0x21dc87:0xca,_0x54da40:0x260,_0x331985:0x174},_0x3dc0ca={_0x23566d:0x10f,_0x38d03f:0x15f},_0x1cc3f0={_0x2a1a6c:0x4b6,_0x427bea:0xbf,_0x53b1a8:0x32d,_0x76f62e:0xf6,_0x4d1b96:0x4a2,_0x2630c3:0x267,_0x358f44:0x437,_0x434eb3:0x2cf,_0x317c68:0x524,_0x292238:0x1b9,_0x240de3:0x630,_0x3671f3:0x2f0,_0x3df063:0x466,_0x9bbae0:0x3a1,_0x3352a1:0x267,_0x26be70:0x165,_0x1d089a:0x3a0,_0x1f5ff8:0x307,_0x2b75ae:0x5b1,_0x3da987:0x315,_0x18358a:0x309,_0x60a5c0:0x41e,_0x236ed9:0x1d8,_0x304435:0x52c,_0x2f102a:0x251,_0x30a96e:0x4a9,_0x5580a0:0x2fe,_0x4094cc:0x636,_0x2fa760:0x506,_0x18cc22:0x496,_0x26198e:0x2e7,_0x2ab370:0x364,_0x2c303a:0x284,_0x143334:0x306,_0x1aebd3:0x3ac,_0x1e9506:0x2cc,_0x49ec4d:0x4ae,_0x2d0863:0x2af,_0x38b0a7:0x5ce,_0x4d22c2:0x684,_0x1a8d00:0x474,_0x14cc43:0x5bd,_0x2b867b:0x16b,_0x41809e:0x319,_0x305927:0x570,_0x17d7cd:0x2a6,_0x1c7eba:0x57d,_0x141afb:0x4f8,_0xf75b73:0x305,_0x48c033:0xc3,_0x1e51c7:0x5e3,_0x35a379:0x48d,_0x11ab0f:0x43f,_0x1483f6:0x334,_0x514295:0xeb,_0x57476f:0x4db,_0xa85124:0x292,_0x40f747:0x2f6,_0x5353c3:0x342,_0x1ad41e:0x2b1,_0x2fde0a:0x1c4,_0x298ea6:0x7f,_0x1c2e49:0x1f,_0x438a22:0xa,_0x4c0c4e:0x325,_0x58eb59:0x55d,_0x5be1e8:0x29c,_0x2d4563:0x48a,_0x290a7a:0x3bd,_0x34bfce:0x344,_0x187eb4:0x37d,_0x161663:0x635,_0x527e47:0x355,_0x273393:0x2c7,_0x460821:0x5b6,_0x275da4:0x338,_0x26db65:0x509,_0x4b5a73:0x3f1,_0x1674a9:0x2e4,_0x7f7e11:0x41e,_0x528621:0x295,_0x5068c7:0x4c6,_0x56c422:0x492,_0x29f7e6:0x57c,_0x3bb471:0x10c,_0x54b096:0x46b,_0x5a7be5:0x373,_0x1f7789:0x195,_0x2f1946:0x25c,_0x56dbaf:0x5c,_0x5f123f:0x2f,_0xc87332:0x25f,_0x55f27f:0x373,_0x5cfa41:0x483,_0x241e2c:0x350,_0x650212:0x2ca,_0x425d3f:0xb8,_0x204f47:0x3f2,_0x397244:0x5ea,_0x129f0e:0x4c4,_0x29ae04:0x2ff,_0x1eac7b:0x390,_0x4afd94:0x2d5,_0x250cbd:0x1c4,_0x171f46:0x2b3,_0x560fb4:0x36b,_0x342685:0x23b,_0x3d06e4:0x289,_0x2cf893:0x5b5,_0x10bd52:0x6dc,_0x403f7a:0x58c,_0x5db6e7:0x507,_0x26b30e:0x39f,_0x15bfd7:0x21f,_0x31edcd:0x332,_0x45cab1:0x3cb,_0x3d788c:0x3d9,_0x4a949e:0x43e,_0x11771f:0x617,_0x17c1d7:0x328,_0x41f18c:0x44d,_0x2da9fd:0x4c4,_0x3d3af3:0x1fe,_0x11630f:0x6,_0x5bf5f1:0xbe,_0x3bf575:0x2af,_0x434a38:0x10e,_0x116990:0x253,_0x31a449:0x5d0,_0x5e4abe:0x22d,_0x1d627e:0x460,_0x461df0:0x479,_0x352253:0x1fb,_0x586e4:0x95,_0xce02cc:0x2df,_0x37c07a:0x29a,_0x5c3e23:0x570,_0x3ce388:0x4e9,_0x10c79b:0x4f7,_0x14f025:0x73,_0x2a2d2a:0x1bf,_0x1c11d2:0x238,_0x381288:0x41e,_0x1c5bc1:0x5b3,_0x5eb9a8:0x490,_0x2169b5:0x34a,_0x58f7df:0x3ca,_0x2995fc:0x611,_0x4fe642:0x200,_0x29e34c:0x51a,_0x3e4ad2:0x404,_0x5b18d8:0x4c4,_0x39c6af:0x52e,_0x40c271:0x4f5,_0x201443:0x513,_0x41a643:0x2e3,_0x399ea9:0x48e,_0x49aaa7:0x1c4,_0x46b988:0x2e2,_0x57cc6a:0x744,_0x4c34c5:0x531,_0x255e82:0x222},_0x111193={_0x288f92:0x174,_0xfa5915:0x97,_0x512608:0x2fa},_0x3414c0={_0x421a40:0x1a5,_0x25d0c4:0x0},_0x3bc558={_0x1de4d1:0x513,_0x4c304f:0x4d7,_0x1e4cca:0x5e2,_0x3486b1:0x5d0,_0x11db23:0x546,_0x14c3c7:0x326,_0xb6464c:0x49f,_0x3165db:0x740,_0x2c9b6e:0x5d5,_0xef1f91:0x618},_0x5a2c0b={_0x4de36d:0x19a,_0x57540c:0x4a4},_0x5d73cc={_0x1d8b50:0x43,_0xa8a1b9:0x1a6,_0x2f66f9:0x5d8};let [_0x2e10be,_0x21ff12]=_0x4f3454(_0x1d5108(_0x167ac2._0x21dc87,0x123,_0x167ac2._0x54da40,_0x167ac2._0x331985)),[_0x3b43a2,_0x51dbd9]=_0x4f3454(null),_0x1e7147=_0x45fecb(!0x1),_0x1ebbba=_0x2c47cc(_0x123e41=>{_0x21ff12(_0x123e41),_0x195072?.(_0x123e41);},[_0x195072]);_0x4ca108(()=>{function _0x33f194(_0x1baace,_0x4ca968,_0x1a33e6,_0x763264){return _0x1d5108(_0x1baace-_0x5d73cc._0x1d8b50,_0x4ca968-_0x5d73cc._0xa8a1b9,_0x763264,_0x1baace-_0x5d73cc._0x2f66f9);}function _0x1243fa(_0xc50dde,_0x86d77,_0x1b4b33,_0x4b55c1){return _0x1d5108(_0xc50dde-_0x5a2c0b._0x4de36d,_0x86d77-0x127,_0x86d77,_0x4b55c1-_0x5a2c0b._0x57540c);}_0x4db0a4?_0x1e7147[_0x33f194(0x626,0x799,_0x3bc558._0x1de4d1,_0x3bc558._0x4c304f)]||_0x1ebbba(_0x33f194(_0x3bc558._0x1e4cca,0x5f8,0x45a,_0x3bc558._0x3486b1)):_0x1e7147[_0x1243fa(_0x3bc558._0x11db23,_0x3bc558._0x14c3c7,_0x3bc558._0xb6464c,0x4f2)]&&_0x1ebbba(_0x1243fa(_0x3bc558._0x3165db,0x46f,_0x3bc558._0x2c9b6e,_0x3bc558._0xef1f91)),_0x1e7147['current']=_0x4db0a4;},[_0x4db0a4,_0x1ebbba]);let _0x5d30a2=_0x2c47cc(()=>{function _0x3f1653(_0x470dec,_0x4d498f,_0x6adc6f,_0x319bb9){return _0x1d5108(_0x470dec-_0x3414c0._0x421a40,_0x4d498f-0x12a,_0x319bb9,_0x4d498f-_0x3414c0._0x25d0c4);}_0x1ebbba(_0x3f1653(0x1d5,_0x111193._0x288f92,-_0x111193._0xfa5915,_0x111193._0x512608)),_0x51dbd9(null);},[_0x1ebbba]),_0x1eae68=_0x2c47cc(()=>{_0x1ebbba('normal'),_0x51dbd9(null);},[_0x1ebbba]),_0x11e834=_0x2c47cc((_0x3da42f,_0x1e98cd,_0x2c8e42,_0x44cd31)=>{const _0x140ab0={_0x3687bd:0x1c4,_0x5cc85a:0x1be};if(!_0x4db0a4)return{'type':_0x125198(_0x1cc3f0._0x2a1a6c,_0x1cc3f0._0x427bea,0x306,0x360)};if(_0x2e10be===_0x585532(_0x1cc3f0._0x53b1a8,0x4e0,_0x1cc3f0._0x76f62e,0x332))return _0x1e98cd[_0x125198(0x442,_0x1cc3f0._0x4d1b96,_0x1cc3f0._0x2630c3,_0x1cc3f0._0x358f44)]?(_0x1eae68(),{'type':'none'}):{'type':_0x125198(0x2f2,_0x1cc3f0._0x434eb3,0x306,_0x1cc3f0._0x317c68)};if(_0x1e98cd[_0x125198(_0x1cc3f0._0x292238,0x125,0x1bb,0xed)])return{'type':_0x585532(_0x1cc3f0._0x240de3,0x626,_0x1cc3f0._0x3671f3,_0x1cc3f0._0x3df063)};function _0x585532(_0x154ae0,_0x5bc27c,_0x17f52b,_0x21fe3b){return _0x1d5108(_0x154ae0-_0x140ab0._0x3687bd,_0x5bc27c-0xe8,_0x17f52b,_0x21fe3b-_0x140ab0._0x5cc85a);}if(_0x1e98cd[_0x125198(_0x1cc3f0._0x9bbae0,0xd3,_0x1cc3f0._0x3352a1,_0x1cc3f0._0x26be70)])return _0x51dbd9(null),{'type':'none'};if(_0x1e98cd['leftArrow'])return{'type':'move-cursor','offset':_0x44cd31-0x1};function _0x125198(_0xc5a59d,_0x235849,_0x26d4fe,_0x1ff8cf){return _0x1d5108(_0xc5a59d-0x12f,_0x235849-0x1e3,_0xc5a59d,_0x26d4fe-0xd3);}if(_0x1e98cd[_0x585532(_0x1cc3f0._0x1d089a,_0x1cc3f0._0x1f5ff8,0x487,0x3e8)])return{'type':_0x125198(_0x1cc3f0._0x2b75ae,_0x1cc3f0._0x3da987,0x41e,0x65b),'offset':_0x44cd31+0x1};if(_0x1e98cd[_0x585532(0x133,-0x26,0x116,0x1ad)]){let _0x43fd43=ot(_0x2c8e42,_0x44cd31,'up');return _0x43fd43!==null?{'type':_0x125198(0x460,_0x1cc3f0._0x18358a,_0x1cc3f0._0x60a5c0,0x61a),'offset':_0x43fd43}:{'type':_0x125198(_0x1cc3f0._0x236ed9,0x50a,0x306,0x10a)};}if(_0x1e98cd[_0x585532(0x5bc,0x47d,0x2e9,_0x1cc3f0._0x304435)]){let _0x5acf8b=ot(_0x2c8e42,_0x44cd31,_0x585532(_0x1cc3f0._0x2f102a,0x362,_0x1cc3f0._0x30a96e,_0x1cc3f0._0x5580a0));return _0x5acf8b!==null?{'type':_0x125198(_0x1cc3f0._0x4094cc,0x5c0,0x41e,_0x1cc3f0._0x2fa760),'offset':_0x5acf8b}:{'type':_0x585532(_0x1cc3f0._0x18cc22,0x418,_0x1cc3f0._0x26198e,0x3f1)};}if(_0x1e98cd['backspace']||_0x1e98cd[_0x585532(_0x1cc3f0._0x2ab370,0x47d,0x36c,_0x1cc3f0._0x2c303a)]){if(_0x44cd31===0x0||_0x2c8e42['length']===0x0)return{'type':_0x125198(0x1c4,0x370,_0x1cc3f0._0x143334,_0x1cc3f0._0x1aebd3)};let _0x33a339=_0x44cd31-0x1,_0x13d55c=_0x2c8e42[_0x585532(0x4b5,_0x1cc3f0._0x1e9506,_0x1cc3f0._0x49ec4d,_0x1cc3f0._0x2d0863)](0x0,_0x33a339)+_0x2c8e42['slice'](_0x44cd31),_0x4d18b5=Math[_0x125198(_0x1cc3f0._0x38b0a7,_0x1cc3f0._0x4d22c2,_0x1cc3f0._0x1a8d00,_0x1cc3f0._0x14cc43)](0x0,_0x33a339);return{'type':_0x125198(_0x1cc3f0._0x2b867b,0x50c,0x39f,0x23e),'value':_0x13d55c,'offset':_0x4d18b5};}if(_0x3da42f[_0x125198(_0x1cc3f0._0x41809e,_0x1cc3f0._0x305927,0x3d9,_0x1cc3f0._0x17d7cd)]>0x1)return{'type':'none'};if(_0x3b43a2){if(_0x3b43a2==='d'){if(_0x3da42f==='d'){let _0x34a35c=te(_0x2c8e42,_0x44cd31),_0xfef2ad=_0x34a35c['lineStart'],_0x49e054=_0x34a35c[_0x585532(0x435,0x628,0x77e,_0x1cc3f0._0x1c7eba)],_0x42924b,_0x1c227f;return _0x34a35c['lines'][_0x125198(0x2fc,0x1e8,0x3d9,_0x1cc3f0._0x141afb)]===0x1?(_0x42924b='',_0x1c227f=0x0):_0x34a35c[_0x585532(_0x1cc3f0._0xf75b73,_0x1cc3f0._0x48c033,0x436,0x241)]===_0x34a35c['lines'][_0x585532(_0x1cc3f0._0x1e51c7,_0x1cc3f0._0x35a379,_0x1cc3f0._0x11ab0f,0x4c4)]-0x1?(_0x42924b=_0x2c8e42['slice'](0x0,Math[_0x125198(0x5b4,_0x1cc3f0._0x1483f6,0x474,0x370)](0x0,_0xfef2ad-0x1)),_0x1c227f=Math['max'](0x0,_0xfef2ad-0x1)):(_0x42924b=_0x2c8e42[_0x585532(0x3d9,_0x1cc3f0._0x514295,_0x1cc3f0._0x57476f,_0x1cc3f0._0x2d0863)](0x0,_0xfef2ad)+_0x2c8e42[_0x125198(0x377,_0x1cc3f0._0xa85124,0x1c4,0x27)](_0x49e054+0x1),_0x1c227f=_0xfef2ad),_0x51dbd9(null),{'type':_0x125198(0x2a0,_0x1cc3f0._0x40f747,0x39f,0x551),'value':_0x42924b,'offset':_0x1c227f};}else{if(_0x3da42f==='w'){let _0x3da00b=$i(_0x2c8e42,_0x44cd31),_0x5ca491=_0x2c8e42[_0x125198(_0x1cc3f0._0x5353c3,_0x1cc3f0._0x1ad41e,_0x1cc3f0._0x2fde0a,_0x1cc3f0._0x298ea6)](0x0,_0x44cd31)+_0x2c8e42[_0x125198(_0x1cc3f0._0x1c2e49,_0x1cc3f0._0x438a22,_0x1cc3f0._0x2fde0a,0x338)](_0x3da00b),_0x2dff93=Math['min'](_0x44cd31,Math[_0x585532(0x6e1,_0x1cc3f0._0x4c0c4e,0x4f2,0x55f)](0x0,_0x5ca491[_0x125198(0x5a3,0x319,0x3d9,_0x1cc3f0._0x58eb59)]-0x1));return _0x51dbd9(null),{'type':_0x585532(0x586,_0x1cc3f0._0x5be1e8,0x5ac,_0x1cc3f0._0x2d4563),'value':_0x5ca491,'offset':_0x2dff93};}}}else{if(_0x3b43a2==='g'&&_0x3da42f==='g')return _0x51dbd9(null),{'type':_0x125198(_0x1cc3f0._0x290a7a,_0x1cc3f0._0x34bfce,0x41e,0x4eb),'offset':0x0};}return _0x51dbd9(null),{'type':_0x585532(0x56f,0x354,_0x1cc3f0._0x187eb4,0x3f1)};}switch(_0x3da42f){case'h':return{'type':_0x125198(_0x1cc3f0._0x161663,_0x1cc3f0._0x527e47,_0x1cc3f0._0x60a5c0,0x37e),'offset':_0x44cd31-0x1};case'l':return{'type':_0x585532(0x4ed,_0x1cc3f0._0x273393,0x5a2,0x509),'offset':_0x44cd31+0x1};case'j':{let _0x29ad28=ot(_0x2c8e42,_0x44cd31,_0x585532(0x473,0x53a,0x48d,0x2fe));return _0x29ad28!==null?{'type':_0x585532(0x414,_0x1cc3f0._0x460821,_0x1cc3f0._0x275da4,_0x1cc3f0._0x26db65),'offset':_0x29ad28}:{'type':_0x585532(0x598,0x3d0,0x5ec,_0x1cc3f0._0x4b5a73)};}case'k':{let _0x5a3f3b=ot(_0x2c8e42,_0x44cd31,'up');return _0x5a3f3b!==null?{'type':_0x125198(0x405,_0x1cc3f0._0x1674a9,_0x1cc3f0._0x7f7e11,0x292),'offset':_0x5a3f3b}:{'type':_0x125198(0x4f4,_0x1cc3f0._0x528621,0x306,0x167)};}case'i':return _0x5d30a2(),{'type':'none'};case'a':return{'type':'enter-insert-mode','offset':_0x44cd31+0x1};case'A':return{'type':'enter-insert-mode','offset':te(_0x2c8e42,_0x44cd31)[_0x125198(0x60e,_0x1cc3f0._0x5068c7,_0x1cc3f0._0x56c422,_0x1cc3f0._0x29f7e6)]};case'I':return{'type':_0x585532(_0x1cc3f0._0x3bb471,_0x1cc3f0._0x54b096,_0x1cc3f0._0x5a7be5,0x2b1),'offset':te(_0x2c8e42,_0x44cd31)['lineStart']};case'o':{let _0x1f2021=te(_0x2c8e42,_0x44cd31)['lineEnd'];return{'type':_0x125198(0x1d0,_0x1cc3f0._0x1f7789,0x350,_0x1cc3f0._0x2f1946),'value':_0x2c8e42[_0x125198(_0x1cc3f0._0x56dbaf,_0x1cc3f0._0x5f123f,_0x1cc3f0._0x2fde0a,0x3d)](0x0,_0x1f2021)+'\x0a'+_0x2c8e42[_0x125198(0x319,0x223,0x1c4,0x3e0)](_0x1f2021),'offset':_0x1f2021+0x1};}case'O':{let _0x2a19bd=te(_0x2c8e42,_0x44cd31)[_0x125198(0x3c9,0x88,_0x1cc3f0._0xc87332,_0x1cc3f0._0x55f27f)];return{'type':_0x125198(_0x1cc3f0._0x5cfa41,0x57c,_0x1cc3f0._0x241e2c,_0x1cc3f0._0x650212),'value':_0x2c8e42[_0x585532(0x213,0x41c,0xe8,0x2af)](0x0,_0x2a19bd)+'\x0a'+_0x2c8e42[_0x585532(0x4ab,_0x1cc3f0._0x425d3f,0x1ce,0x2af)](_0x2a19bd),'offset':_0x2a19bd};}case'x':{if(_0x2c8e42[_0x125198(0x2dc,0x55a,0x3d9,_0x1cc3f0._0x204f47)]===0x0||_0x44cd31>=_0x2c8e42[_0x585532(_0x1cc3f0._0x397244,0x595,_0x1cc3f0._0x129f0e,_0x1cc3f0._0x129f0e)])return{'type':_0x585532(_0x1cc3f0._0x29ae04,0x582,0x26b,_0x1cc3f0._0x4b5a73)};let _0x4e5f0e=_0x44cd31,_0x4484a6=_0x2c8e42['slice'](0x0,_0x4e5f0e)+_0x2c8e42[_0x125198(_0x1cc3f0._0x1eac7b,_0x1cc3f0._0x4afd94,_0x1cc3f0._0x250cbd,0x128)](_0x4e5f0e+0x1),_0x5e3c1b=_0x4484a6[_0x585532(_0x1cc3f0._0x171f46,0x4c4,_0x1cc3f0._0x560fb4,0x4c4)]===0x0?0x0:Math[_0x125198(0x24d,_0x1cc3f0._0x342685,_0x1cc3f0._0x3d06e4,0x4c6)](_0x4e5f0e,_0x4484a6[_0x585532(_0x1cc3f0._0x2cf893,_0x1cc3f0._0x10bd52,_0x1cc3f0._0x403f7a,0x4c4)]-0x1);return{'type':_0x125198(_0x1cc3f0._0x5db6e7,0x291,_0x1cc3f0._0x26b30e,_0x1cc3f0._0x15bfd7),'value':_0x4484a6,'offset':_0x5e3c1b};}case's':{if(_0x2c8e42[_0x125198(_0x1cc3f0._0x31edcd,_0x1cc3f0._0x45cab1,_0x1cc3f0._0x3d788c,0x51b)]===0x0)return _0x5d30a2(),{'type':_0x585532(_0x1cc3f0._0x4a949e,0x4a5,_0x1cc3f0._0x11771f,0x3f1)};let _0x34a3a1=_0x44cd31>=_0x2c8e42[_0x125198(_0x1cc3f0._0x17c1d7,_0x1cc3f0._0x41f18c,_0x1cc3f0._0x3d788c,0x494)]?Math['max'](0x0,_0x2c8e42[_0x585532(0x60f,0x2f9,0x6e2,_0x1cc3f0._0x2da9fd)]-0x1):_0x44cd31;return{'type':_0x125198(0x207,_0x1cc3f0._0x3d3af3,0x350,0x3a4),'value':_0x2c8e42[_0x125198(0x182,0x4d,0x1c4,_0x1cc3f0._0x11630f)](0x0,_0x34a3a1)+_0x2c8e42[_0x585532(0x344,0x362,_0x1cc3f0._0x5bf5f1,_0x1cc3f0._0x3bf575)](_0x34a3a1+0x1),'offset':_0x34a3a1};}case'0':return{'type':'move-cursor','offset':te(_0x2c8e42,_0x44cd31)[_0x585532(0x110,_0x1cc3f0._0x434a38,_0x1cc3f0._0x54b096,0x34a)]};case'$':{let _0x4a926c=te(_0x2c8e42,_0x44cd31);return{'type':_0x125198(_0x1cc3f0._0x116990,_0x1cc3f0._0x31a449,_0x1cc3f0._0x7f7e11,_0x1cc3f0._0x5e4abe),'offset':_0x4a926c[_0x125198(_0x1cc3f0._0x1d627e,_0x1cc3f0._0x461df0,0x492,0x3b1)]>_0x4a926c[_0x125198(_0x1cc3f0._0x352253,_0x1cc3f0._0x586e4,0x25f,_0x1cc3f0._0xce02cc)]?_0x4a926c['lineEnd']-0x1:_0x4a926c[_0x585532(_0x1cc3f0._0x37c07a,0x174,_0x1cc3f0._0x5c3e23,0x34a)]};}case'^':{let _0xd09b67=te(_0x2c8e42,_0x44cd31),_0x124488=_0xd09b67[_0x585532(_0x1cc3f0._0x3ce388,0xe5,_0x1cc3f0._0x10c79b,0x31d)][_0xd09b67[_0x125198(_0x1cc3f0._0x14f025,-0x1c,0x156,_0x1cc3f0._0x14f025)]],_0x5f2eb7=0x0;for(let _0x4e044c=0x0;_0x4e044c<_0x124488[_0x125198(_0x1cc3f0._0x2a2d2a,0x26d,_0x1cc3f0._0x3d788c,_0x1cc3f0._0x1c11d2)];_0x4e044c++)if(!/\s/['test'](_0x124488[_0x4e044c])){_0x5f2eb7=_0x4e044c;break;}return{'type':_0x125198(0x28a,0x35e,_0x1cc3f0._0x381288,_0x1cc3f0._0x1c5bc1),'offset':_0xd09b67[_0x585532(_0x1cc3f0._0x5eb9a8,0x44e,0x276,_0x1cc3f0._0x2169b5)]+_0x5f2eb7};}case'd':return _0x51dbd9('d'),{'type':'none'};case'g':return _0x51dbd9('g'),{'type':_0x585532(0x5b9,_0x1cc3f0._0x58f7df,_0x1cc3f0._0x2995fc,0x3f1)};case'G':{let _0x44fced=te(_0x2c8e42,_0x44cd31),_0x46f8e8=_0x44fced[_0x125198(0x301,_0x1cc3f0._0x4fe642,0x232,0x41e)]['length']-0x1,_0x8c8253=0x0;for(let _0x5a894e=0x0;_0x5a894e<_0x46f8e8;_0x5a894e++)_0x8c8253+=_0x44fced['lines'][_0x5a894e][_0x585532(_0x1cc3f0._0x29e34c,0x5fa,_0x1cc3f0._0x3e4ad2,_0x1cc3f0._0x5b18d8)]+0x1;return{'type':_0x125198(0x5f6,_0x1cc3f0._0x39c6af,_0x1cc3f0._0x7f7e11,_0x1cc3f0._0x40c271),'offset':_0x8c8253};}case'/':return{'type':_0x125198(_0x1cc3f0._0x201443,_0x1cc3f0._0x41a643,0x350,_0x1cc3f0._0x399ea9),'value':_0x2c8e42[_0x125198(0xa8,0xed,_0x1cc3f0._0x49aaa7,0x197)](0x0,_0x44cd31)+'/'+_0x2c8e42['slice'](_0x44cd31),'offset':_0x44cd31+0x1};case'\x20':return{'type':_0x585532(_0x1cc3f0._0x46b988,_0x1cc3f0._0x57cc6a,_0x1cc3f0._0x4c34c5,0x509),'offset':_0x44cd31+0x1};}return/^[0-9]$/['test'](_0x3da42f)?{'type':'none'}:{'type':_0x585532(_0x1cc3f0._0xce02cc,0x42a,_0x1cc3f0._0x255e82,_0x1cc3f0._0x4b5a73)};},[_0x4db0a4,_0x2e10be,_0x3b43a2,_0x5d30a2,_0x1eae68]);function _0x1d5108(_0x1b543,_0x2480f1,_0x326b33,_0x4e61c9){return _0x3764a2(_0x4e61c9-0xa,_0x2480f1-_0x3dc0ca._0x23566d,_0x326b33,_0x4e61c9-_0x3dc0ca._0x38d03f);}return{'mode':_0x2e10be,'handleVimInput':_0x11e834,'enterInsertMode':_0x5d30a2,'enterNormalMode':_0x1eae68};}import{useRef as _0x2c02e1}from'react';import{canonicalizeTerminalPaste as _0x4597ab}from'@nuvin/nuvin-core';var xn=_0x3764a2(0x18d,0x28a,-0xad,-0x2f),ji=_0x3764a2(0x198,0x19c,0x128,0x1c5),tr=_0x5a69d4(0x523,0x533,0x522,0x68f),or='[201~';function Bt(_0x1db995,_0x20e00d){const _0x273983={_0x57ae8a:0x226,_0x416bc9:0x387,_0x10f3a7:0x75e,_0x287821:0x73d,_0xf32782:0x709},_0x523773={_0x5b8cf9:0x107},_0x4f77a5={_0x1f41ca:0x4bc};function _0x47760a(_0x2196a4,_0x4643fb,_0x49aee5,_0x25ee70){return _0x3764a2(_0x49aee5-_0x4f77a5._0x1f41ca,_0x4643fb-0xf2,_0x25ee70,_0x25ee70-0x12e);}function _0x2634e8(_0x35ed8e,_0x377eb3,_0x51af44,_0x1af189){return _0x5a69d4(_0x35ed8e-_0x523773._0x5b8cf9,_0x1af189- -0x16c,_0x35ed8e,_0x1af189-0x2c);}return _0x1db995?.['startsWith'](xn)||_0x1db995?.[_0x2634e8(_0x273983._0x57ae8a,0x3fb,0x58e,_0x273983._0x416bc9)](ji)?Qd(_0x1db995):_0x20e00d['buffer']!==null?em(_0x1db995,_0x20e00d[_0x2634e8(_0x273983._0x10f3a7,_0x273983._0x287821,0x772,_0x273983._0xf32782)]):{'newState':_0x20e00d,'processedInput':null,'shouldWaitForMore':!0x1,'isPasteStart':!0x1};}function Qd(_0x19d9c3){const _0x267e3a={_0x1871e1:0x2ed,_0x5b145c:0x452,_0x14760e:0x4c3,_0x3661bc:0x4c9,_0x2b8371:0x82a,_0x192a29:0x642,_0x2507ee:0x437,_0x24cb4e:0x7a3};function _0x21840d(_0x356bf1,_0x32f37a,_0x3d00e9,_0xe64e8d){return _0x5a69d4(_0x356bf1-0x151,_0x356bf1- -0x1d5,_0xe64e8d,_0xe64e8d-0x55);}function _0x23c0cf(_0xa01e02,_0x38013c,_0x6445ce,_0x1dd326){return _0x5a69d4(_0xa01e02-0x179,_0x1dd326- -0x139,_0x38013c,_0x1dd326-0x5f);}let _0x5e100e=_0x19d9c3[_0x21840d(0x31e,_0x267e3a._0x1871e1,0x285,0x4e5)](xn),_0xe6b7e3=_0x19d9c3[_0x23c0cf(_0x267e3a._0x5b145c,0x50c,_0x267e3a._0x14760e,_0x267e3a._0x3661bc)](_0x5e100e?xn[_0x21840d(0x642,0x84f,0x84e,_0x267e3a._0x2b8371)]:ji[_0x21840d(_0x267e3a._0x192a29,_0x267e3a._0x2507ee,_0x267e3a._0x24cb4e,0x82b)]);if(_0xe6b7e3[_0x21840d(0x387,0x545,0x1fb,0x587)](tr)||_0xe6b7e3['endsWith'](or)){let _0x1b3f78=Ki(_0xe6b7e3),_0x131380=_0x4597ab(_0x1b3f78);return{'newState':{'buffer':null},'processedInput':_0x131380,'shouldWaitForMore':!0x1,'isPasteStart':!0x0};}return{'newState':{'buffer':_0xe6b7e3},'processedInput':null,'shouldWaitForMore':!0x0,'isPasteStart':!0x0};}function em(_0x51153d,_0x1bc5b6){const _0x196888={_0xf9abdc:0x153,_0x157efc:0x1ba},_0x63776b={_0x4df386:0x1d,_0x3fac1a:0x65};let _0x3c2d96=_0x1bc5b6+_0x51153d;function _0x1bcebb(_0x44a8e0,_0x46acb3,_0x46fda6,_0x58e8b7){return _0x5a69d4(_0x44a8e0-_0x63776b._0x4df386,_0x44a8e0- -0x2a6,_0x58e8b7,_0x58e8b7-_0x63776b._0x3fac1a);}if(_0x3c2d96[_0x1bcebb(0x2b6,_0x196888._0xf9abdc,_0x196888._0x157efc,0x1a0)](tr)||_0x3c2d96['endsWith'](or)){let _0x64467f=Ki(_0x3c2d96),_0x4375ce=_0x4597ab(_0x64467f);return{'newState':{'buffer':null},'processedInput':_0x4375ce,'shouldWaitForMore':!0x1,'isPasteStart':!0x1};}return{'newState':{'buffer':_0x3c2d96},'processedInput':null,'shouldWaitForMore':!0x0,'isPasteStart':!0x1};}function Ki(_0x5acb53){const _0x2742c9={_0x1cc853:0x508,_0xce7a90:0x593,_0xc2e4ce:0x329,_0x44caa6:0x284,_0x183b18:0x55b,_0x2c03d2:0x476,_0x344ea9:0x46e,_0x31a508:0x3a1,_0x20e42c:0x4b7,_0x15de84:0x3b9},_0x585f10={_0x52e895:0x2d3,_0x4f0f73:0x99,_0x4d5c5c:0x1d4},_0x5d5a45={_0xd3d8ad:0xbd,_0x591a82:0x11b};function _0x16b09c(_0x18af2b,_0x80c214,_0xb82788,_0x2e85f1){return _0x3764a2(_0x2e85f1-_0x5d5a45._0xd3d8ad,_0x80c214-0x1f2,_0x80c214,_0x2e85f1-_0x5d5a45._0x591a82);}function _0x5b0eeb(_0x52e885,_0x782608,_0x375677,_0x3ec36e){return _0x3764a2(_0x782608-_0x585f10._0x52e895,_0x782608-_0x585f10._0x4f0f73,_0x375677,_0x3ec36e-_0x585f10._0x4d5c5c);}return _0x5acb53['endsWith'](tr)?_0x5acb53[_0x5b0eeb(_0x2742c9._0x1cc853,0x3ba,_0x2742c9._0xce7a90,_0x2742c9._0xc2e4ce)](0x0,-tr[_0x16b09c(_0x2742c9._0x44caa6,0x363,0x229,0x3b9)]):_0x5acb53[_0x5b0eeb(_0x2742c9._0x183b18,0x314,_0x2742c9._0x2c03d2,0x3c0)](or)?_0x5acb53[_0x5b0eeb(0x538,0x3ba,_0x2742c9._0x344ea9,_0x2742c9._0x31a508)](0x0,-or[_0x16b09c(_0x2742c9._0x20e42c,_0x2742c9._0x20e42c,0x57d,_0x2742c9._0x15de84)]):_0x5acb53;}function _t(){return{'buffer':null};}function Wi(){const _0xfa7353={_0x478ba8:0x5cb,_0x5309ca:0x3b3,_0x287e8b:0x4c8,_0x40451c:0x3c9,_0x45286c:0x61d,_0x28ded5:0x3d5,_0x40408d:0x77a,_0x349dd6:0xd9,_0x3078a6:0x21e};let _0x27cd6a=_0x2c02e1(_t());return{'processPaste':_0x57059e=>{function _0x10a05c(_0x28bbad,_0x19b00e,_0x2be43e,_0x2649f2){return _0x4e8e(_0x2be43e- -0xe0,_0x28bbad);}function _0x228759(_0x5d7947,_0x12b151,_0x4959c6,_0x403032){return _0x4e8e(_0x5d7947-0x2f9,_0x403032);}let _0x1da22c=Bt(_0x57059e,_0x27cd6a[_0x228759(_0xfa7353._0x478ba8,0x47d,0x42e,0x3bd)]);return _0x27cd6a[_0x10a05c(0x3ac,0x35e,0x1f2,0x68)]=_0x1da22c[_0x10a05c(_0xfa7353._0x5309ca,0x46f,_0xfa7353._0x287e8b,_0xfa7353._0x40451c)],{'processedInput':_0x1da22c[_0x10a05c(_0xfa7353._0x45286c,_0xfa7353._0x28ded5,0x561,_0xfa7353._0x40408d)],'shouldWaitForMore':_0x1da22c[_0x10a05c(0xc5,0x18a,0x13a,_0xfa7353._0x349dd6)],'isPasteStart':_0x1da22c[_0x10a05c(0x41d,0x3cf,_0xfa7353._0x3078a6,0xbd)]};}};}import{useState as _0x52766c,useEffect as _0x27343e,useRef as _0x3ae0c9,useCallback as _0x5ed50c}from'react';import _0x244d23 from'chalk';function Vi(){const _0x3102c0={_0xa42840:0x7af,_0x1ac7c4:0x791},_0xd2ccfd={_0x1c19dc:0x18b,_0x4d334d:0x32a,_0x13805e:0x775,_0x5a86c0:0x757,_0x1162d0:0x5c8,_0x3c96e6:0x6f4,_0x1f8e2f:0x7af,_0x7ee4ca:0x80b,_0x4279ca:0x7d8,_0x16d3c3:0x736,_0x358136:0x396,_0x359370:0x726,_0x969f49:0x7d8,_0x372399:0x51,_0x395fa3:0x6ed,_0x52f2fb:0x6bc,_0x2a9597:0x317,_0x2fe136:0x249,_0x101971:0x31b,_0x21aa0b:0x777,_0x347517:0x66b,_0x53ac51:0x763,_0xe7cba:0x5ed,_0x29ebdd:0x6fd,_0x9af8be:0x682,_0x4a537b:0x50b,_0x3ba7bd:0x37d,_0x36faf3:0x696,_0x5a06d6:0x2c6,_0x22af2a:0x3d5,_0x333dbe:0x3ce,_0x463885:0x27a,_0x57f3b2:0x49b,_0x4d25e9:0x722,_0x276b3b:0x506,_0x1fd56b:0x860},_0x8087ed={_0x1ee115:0x391},_0x2d33e1={_0x5a8f3a:0x50a,_0x477d0d:0x4d};function _0x724e95(_0x1ccc76,_0x54f141,_0x194a29,_0x41564a){return _0x3764a2(_0x41564a-_0x2d33e1._0x5a8f3a,_0x54f141-0x4f,_0x54f141,_0x41564a-_0x2d33e1._0x477d0d);}let [_0x4222a1,_0x50d763]=_0x52766c(!0x0),_0x3011e9=_0x3ae0c9(Date[_0x724e95(0x5a6,0x841,_0x3102c0._0xa42840,_0x3102c0._0x1ac7c4)]()),_0x54b35a=_0x3ae0c9(''),_0x227bf4=_0x3ae0c9(0x0);return _0x27343e(()=>{const _0x3253e6={_0x20ab79:0x3b3};let _0x1222ec=setInterval(()=>{function _0xd222b8(_0x2c481b,_0x2ecaf3,_0x3773db,_0x2de95e){return _0x4e8e(_0x2de95e-_0x3253e6._0x20ab79,_0x2c481b);}Date['now']()-_0x3011e9[_0xd222b8(0x48c,0x62f,0x7bf,0x685)]>0x12c&&_0x50d763(_0x37dfd5=>!_0x37dfd5);},0x212);return()=>clearInterval(_0x1222ec);},[]),{'renderWithCursor':_0x5ed50c((_0x58df5b,_0x2a3afc,_0x2e30d3,_0xdddd82,_0x4bbaba)=>{const _0x47f62a={_0x3657da:0x1a9,_0x135856:0xe4,_0x59cf3e:0xcc,_0x23cf6f:0x14,_0x19b9f2:0x1d0,_0x449a08:0x2c3};(_0x58df5b!==_0x54b35a[_0x3bc884(_0xd2ccfd._0x1c19dc,_0xd2ccfd._0x4d334d,0x9d,0x1bd)]||_0x2a3afc!==_0x227bf4[_0x500d98(0x7dc,0x5c8,0x424,_0xd2ccfd._0x13805e)])&&(_0x3011e9[_0x500d98(_0xd2ccfd._0x5a86c0,_0xd2ccfd._0x1162d0,0x6ce,_0xd2ccfd._0x3c96e6)]=Date[_0x500d98(_0xd2ccfd._0x1f8e2f,_0xd2ccfd._0x7ee4ca,_0xd2ccfd._0x4279ca,_0xd2ccfd._0x16d3c3)](),_0x54b35a['current']=_0x58df5b,_0x227bf4[_0x3bc884(_0xd2ccfd._0x358136,0x5a,0x226,0x1bd)]=_0x2a3afc,_0x4222a1||_0x50d763(!0x0));let _0x25672a=_0x58df5b,_0x37d821=_0x2e30d3?_0x244d23[_0x500d98(0x7bd,_0xd2ccfd._0x359370,_0xd2ccfd._0x969f49,0x7ae)](_0x2e30d3):void 0x0;if(!_0xdddd82||!_0x4bbaba)return{'renderedValue':_0x25672a,'renderedPlaceholder':_0x37d821};function _0x3bc884(_0x4d3934,_0x24eae9,_0x541e8a,_0x5e0695){return _0x724e95(_0x4d3934-0xc5,_0x541e8a,_0x541e8a-0xda,_0x5e0695- -_0x8087ed._0x1ee115);}let _0x34285a=_0x4222a1;function _0x500d98(_0x9c6a29,_0x572df3,_0x2c413e,_0x4962c1){return _0x724e95(_0x9c6a29-0xbd,_0x9c6a29,_0x2c413e-0x1dc,_0x572df3-0x7a);}if(_0x37d821=_0x2e30d3['length']>0x0?(_0x34285a?_0x244d23[_0x3bc884(0x35c,0x374,_0xd2ccfd._0x372399,0x1e6)](_0x2e30d3[0x0]):_0x244d23[_0x500d98(_0xd2ccfd._0x395fa3,_0xd2ccfd._0x359370,_0xd2ccfd._0x52f2fb,0x59a)](_0x2e30d3[0x0]))+_0x244d23[_0x3bc884(0x2e3,_0xd2ccfd._0x2a9597,_0xd2ccfd._0x2fe136,_0xd2ccfd._0x101971)](_0x2e30d3[_0x500d98(_0xd2ccfd._0x21aa0b,_0xd2ccfd._0x347517,_0xd2ccfd._0x53ac51,_0xd2ccfd._0xe7cba)](0x1)):_0x34285a?_0x244d23[_0x500d98(_0xd2ccfd._0x29ebdd,0x5f1,_0xd2ccfd._0x9af8be,_0xd2ccfd._0x4a537b)]('\x20'):'\x20',_0x58df5b[_0x3bc884(_0xd2ccfd._0x3ba7bd,_0xd2ccfd._0x36faf3,_0xd2ccfd._0x5a06d6,0x475)]===0x0)return _0x25672a=_0x34285a?_0x244d23[_0x500d98(_0xd2ccfd._0x22af2a,0x5f1,_0xd2ccfd._0x333dbe,0x496)]('\x20'):'\x20',{'renderedValue':_0x25672a,'renderedPlaceholder':_0x37d821};let _0x5673cd=_0x58df5b[_0x500d98(0x3f7,0x4b8,_0xd2ccfd._0x463885,0x28b)]('\x0a'),_0x28e3eb=0x0,_0x496535=0x0,_0x206ffd=0x0;for(let _0x22bd4f=0x0;_0x22bd4f<_0x5673cd['length'];_0x22bd4f++){let _0x232c97=_0x28e3eb+_0x5673cd[_0x22bd4f]['length'];if(_0x2a3afc<=_0x232c97){_0x496535=_0x22bd4f,_0x206ffd=_0x2a3afc-_0x28e3eb;break;}_0x28e3eb=_0x232c97+0x1;}return _0x25672a=_0x5673cd[_0x3bc884(_0xd2ccfd._0x57f3b2,_0xd2ccfd._0x4d25e9,0x4ca,_0xd2ccfd._0x276b3b)]((_0x2713e6,_0x4d3a64)=>{const _0x581e07={_0x4b1ce9:0x605,_0x5c9ed9:0xf5},_0x47f76a={_0x17dc0f:0x3a8,_0xfd1420:0x94};function _0x5686b3(_0x1bd4ec,_0x3cc390,_0x4efbd4,_0x2e66bd){return _0x500d98(_0x1bd4ec,_0x2e66bd- -_0x47f76a._0x17dc0f,_0x4efbd4-0x1c,_0x2e66bd-_0x47f76a._0xfd1420);}function _0x359175(_0x4878cf,_0x26cd43,_0x29917b,_0x378695){return _0x500d98(_0x26cd43,_0x378695- -_0x581e07._0x4b1ce9,_0x29917b-0x1e9,_0x378695-_0x581e07._0x5c9ed9);}if(_0x4d3a64===_0x496535){if(_0x206ffd>=0x0&&_0x206ffd<_0x2713e6['length']){let _0x1f278e=_0x34285a?_0x244d23[_0x359175(_0x47f62a._0x3657da,_0x47f62a._0x135856,-_0x47f62a._0x59cf3e,-_0x47f62a._0x23cf6f)](_0x2713e6[_0x206ffd]):_0x2713e6[_0x206ffd];return _0x2713e6['slice'](0x0,_0x206ffd)+_0x1f278e+_0x2713e6[_0x5686b3(0x16f,_0x47f62a._0x19b9f2,0xca,_0x47f62a._0x449a08)](_0x206ffd+0x1);}else return _0x2713e6+(_0x34285a?_0x244d23['inverse']('\x20'):'');}return _0x2713e6;})[_0x500d98(0xa68,_0xd2ccfd._0x1fd56b,0x974,0xa7e)]('\x0a'),{'renderedValue':_0x25672a,'renderedPlaceholder':_0x37d821};},[_0x4222a1])};}import{useReducer as _0x109677,useRef as _0x4f662b,useEffect as _0x2c18c2}from'react';function am(_0x342f5e,_0xf4f2b0){const _0x24c65d={_0x5988d4:0x2c8,_0x42e7ff:0x256,_0x40614d:0x266,_0x3d4dc7:0x283,_0x17a869:0x2df,_0x15b7c9:0x510,_0x5c984f:0x2e2,_0x5bbb01:0x294,_0x1272e2:0x466,_0x4f389a:0x382,_0x546a4a:0x367,_0x592d36:0x2d2,_0x84e36e:0x363,_0x14db2d:0x1b4,_0x4ff719:0x55d,_0x458ea3:0x4cf,_0x4beade:0x54e,_0x153adb:0x1e5,_0x346ea6:0x3dd,_0xf96028:0x43f,_0x28088c:0x4d1,_0x18dbd0:0x5a3,_0x2a4c6e:0x53b,_0x76bce9:0x4d3,_0x432837:0x2,_0x139c3f:0x494,_0x5cfb8c:0x45d,_0x51a661:0x5d9,_0x5ec389:0x71b,_0x4dc1e2:0x257},_0x4b3385={_0x5a5aef:0x159,_0x12714c:0x1c6},_0x3a30c4={_0x4599cb:0x30,_0x9625ad:0x1c2};function _0x2915df(_0x5dc559,_0x4e6cde,_0x26f4f8,_0x76f027){return _0x5a69d4(_0x5dc559-_0x3a30c4._0x4599cb,_0x5dc559- -0x2a0,_0x76f027,_0x76f027-_0x3a30c4._0x9625ad);}function _0x11a239(_0xa0b9dc,_0x2607fb,_0x146da5,_0x554ba4){return _0x3764a2(_0xa0b9dc-0x187,_0x2607fb-_0x4b3385._0x5a5aef,_0x2607fb,_0x554ba4-_0x4b3385._0x12714c);}switch(_0xf4f2b0[_0x2915df(_0x24c65d._0x5988d4,_0x24c65d._0x42e7ff,_0x24c65d._0x40614d,_0x24c65d._0x3d4dc7)]){case _0x2915df(_0x24c65d._0x17a869,_0x24c65d._0x15b7c9,_0x24c65d._0x5c984f,0x4b3):return{'value':_0xf4f2b0['payload'][_0x11a239(0x3dd,_0x24c65d._0x5bbb01,_0x24c65d._0x1272e2,_0x24c65d._0x4f389a)],'cursorOffset':_0xf4f2b0[_0x2915df(_0x24c65d._0x546a4a,_0x24c65d._0x592d36,_0x24c65d._0x84e36e,_0x24c65d._0x14db2d)][_0x2915df(_0x24c65d._0x4ff719,0x462,0x517,_0x24c65d._0x458ea3)],'cursorWidth':_0xf4f2b0[_0x2915df(0x367,0x4f4,0x4c2,0x2b5)][_0x2915df(0x209,0x21b,0x41,0x180)]??0x0};case'MOVE_CURSOR':return{..._0x342f5e,'cursorOffset':_0xf4f2b0['payload'][_0x11a239(0x469,0x2d4,_0x24c65d._0x4beade,0x63b)],'cursorWidth':0x0};case _0x2915df(_0x24c65d._0x153adb,0x3b8,-0x4,0x246):return{'value':'','cursorOffset':0x0,'cursorWidth':0x0};case _0x2915df(0x42a,0x5ef,0x30e,0x5a5):return{..._0x342f5e,'value':_0xf4f2b0[_0x2915df(_0x24c65d._0x546a4a,0x558,0x502,0x390)][_0x11a239(_0x24c65d._0x346ea6,0x3c8,0x613,_0x24c65d._0xf96028)],'cursorOffset':_0xf4f2b0['payload'][_0x2915df(_0x24c65d._0x28088c,_0x24c65d._0x18dbd0,_0x24c65d._0x2a4c6e,_0x24c65d._0x76bce9)]===''?0x0:_0x342f5e[_0x11a239(0x14a,-_0x24c65d._0x432837,0x214,0x1eb)],'cursorWidth':_0xf4f2b0[_0x2915df(0x367,_0x24c65d._0x139c3f,_0x24c65d._0x5cfb8c,0x1a4)][_0x2915df(_0x24c65d._0x28088c,0x42a,_0x24c65d._0x51a661,_0x24c65d._0x5ec389)]===''?0x0:_0x342f5e[_0x11a239(0x3a6,0x433,0x5e5,_0x24c65d._0x4dc1e2)]};default:return _0x342f5e;}}function Gi({initialValue:_0xb093d9,vimMode:_0x2d5143,onChange:_0x5635d4}){const _0x23b9ec={_0x7e9ce:0x7e,_0x50d93e:0x18a,_0xe7352e:0x1d3,_0x501c63:0x380,_0x10793f:0x426,_0x442bb6:0x5ce,_0x6ec003:0x4d4,_0x3a1896:0x17,_0x53af5c:0x16e,_0x104ad4:0x3d1,_0x395816:0x2db,_0x354602:0x3b6},_0x10f087={_0x5952c4:0x254},_0xcc0350={_0x126617:0x66c,_0x3715ae:0x8e9,_0x3ded32:0x6bf,_0x408a63:0x7a1,_0x4dbc3c:0x264,_0x5d8d11:0x441,_0x1f5307:0x243,_0x2326f6:0x480},_0x3eab0a={_0x2d1f97:0x7a},_0x2359fd={_0x5280ae:0x4cf,_0x297683:0x473,_0x39cb57:0x496,_0x382d96:0x665},_0x3f44e2={_0x3cc493:0x229,_0x3092d0:0x36b,_0x577d0e:0x30e,_0x401def:0x284};let [_0x4865c4,_0x48d9b1]=_0x109677(am,{'value':_0xb093d9,'cursorOffset':0x0,'cursorWidth':0x0}),_0x51e600=_0x4f662b(_0xb093d9),_0x3e9589=_0x4f662b(!0x1);_0x2c18c2(()=>{function _0x19c0c7(_0x21661c,_0x59aa0b,_0x31ebf5,_0x453e25){return _0x4e8e(_0x59aa0b-0x3c,_0x453e25);}function _0x30984a(_0x3a265e,_0x3dcdf2,_0x15ef4b,_0x12e3ce){return _0x4e8e(_0x3dcdf2- -0x10e,_0x3a265e);}_0xb093d9!==_0x51e600['current']&&(_0x51e600[_0x30984a(0x361,0x1c4,0x1d8,0x17e)]=_0xb093d9,_0x48d9b1({'type':_0x30984a(0x156,0x32f,_0x3f44e2._0x3cc493,_0x3f44e2._0x3092d0),'payload':{'value':_0xb093d9}}),_0xb093d9===''&&(_0x3e9589[_0x19c0c7(0x223,_0x3f44e2._0x577d0e,_0x3f44e2._0x401def,0x516)]=!0x1));},[_0xb093d9]);let _0x4ce683=(_0x19442,_0x49a384,_0x29bb6f=0x0)=>{const _0x378a02={_0x2fb9ba:0x181};function _0x24be9f(_0x404a22,_0x247e4c,_0x2c8f32,_0x4ebfcf){return _0x4e8e(_0x4ebfcf-_0x378a02._0x2fb9ba,_0x247e4c);}function _0x3f302e(_0x26b64f,_0xd78b4d,_0x50c5d4,_0x524509){return _0x4e8e(_0x26b64f- -0x3e7,_0xd78b4d);}let _0xfdf7b3=yn(_0x19442['length'],_0x49a384,_0x2d5143);_0x48d9b1({'type':_0x24be9f(0x608,_0x2359fd._0x5280ae,0x5d8,_0x2359fd._0x297683),'payload':{'value':_0x19442,'offset':_0xfdf7b3,'width':_0x29bb6f}}),_0x19442!==_0x4865c4[_0x24be9f(0x4cd,_0x2359fd._0x39cb57,0x763,_0x2359fd._0x382d96)]&&_0x5635d4(_0x19442);},_0x1cb8cf=_0x872608=>{let _0x1eb919=yn(_0x4865c4[_0x47dab9(_0xcc0350._0x126617,0x563,_0xcc0350._0x3715ae,0x6fb)][_0x47dab9(0x814,0x97d,_0xcc0350._0x3ded32,_0xcc0350._0x408a63)],_0x872608,_0x2d5143);function _0x47dab9(_0x292958,_0x509ca5,_0x43a98a,_0x2e00cb){return _0x4e8e(_0x2e00cb-0x217,_0x509ca5);}function _0x2a7f15(_0x256d9a,_0x21097a,_0x507d37,_0x47065c){return _0x4e8e(_0x21097a- -_0x3eab0a._0x2d1f97,_0x256d9a);}_0x48d9b1({'type':_0x2a7f15(_0xcc0350._0x4dbc3c,_0xcc0350._0x5d8d11,_0xcc0350._0x1f5307,_0xcc0350._0x2326f6),'payload':{'offset':_0x1eb919}});};return{'state':_0x4865c4,'setValue':_0x4ce683,'moveCursor':_0x1cb8cf,'reset':()=>{_0x48d9b1({'type':'RESET'}),_0x5635d4('');},'setInitialCursor':_0x427507=>{const _0x35918c={_0x25b48b:0x164};function _0x24da1f(_0x1bf10a,_0x45871c,_0x3445ba,_0x3e2fb1){return _0x4e8e(_0x1bf10a- -_0x10f087._0x5952c4,_0x3e2fb1);}function _0x108b14(_0x257f56,_0x8cb452,_0x50f575,_0x13aeea){return _0x4e8e(_0x8cb452- -_0x35918c._0x25b48b,_0x13aeea);}!_0x3e9589[_0x24da1f(_0x23b9ec._0x7e9ce,_0x23b9ec._0x50d93e,0x42,0x21c)]&&_0x427507&&_0x4865c4[_0x108b14(_0x23b9ec._0xe7352e,_0x23b9ec._0x501c63,0x23c,0x359)]&&_0x4865c4[_0x24da1f(0x290,0x448,0x36c,0x2a3)][_0x108b14(0x5f2,_0x23b9ec._0x10793f,_0x23b9ec._0x442bb6,_0x23b9ec._0x6ec003)]>0x0&&(_0x3e9589[_0x108b14(-_0x23b9ec._0x3a1896,_0x23b9ec._0x53af5c,-_0x23b9ec._0x7e9ce,0x1c6)]=!0x0,_0x1cb8cf(Math[_0x24da1f(_0x23b9ec._0x104ad4,0x28f,0x1a3,_0x23b9ec._0x395816)](0x0,_0x4865c4[_0x24da1f(0x290,0x2bc,_0x23b9ec._0x354602,0x32c)][_0x24da1f(0x336,0x372,0x2af,0xea)])));}};}import{jsx as _0x11e03c}from'react/jsx-runtime';function um({value:_0x2a5381,placeholder:_0xb8e730='',focus:_0x4afe9c=!0x0,mask:_0x35bd59,showCursor:_0x1e2a15=!0x0,onChange:_0x339aff,onSubmit:_0x3d0406,vimModeEnabled:_0x2248c6=!0x1,onVimModeChange:_0x4b7031,onUpArrow:_0x1cea72,onDownArrow:_0x30ab0a}){const _0x150fc3={_0x28db2b:0x391,_0x37f185:0x67b,_0x2c10c0:0x5e8,_0x3058d6:0x4db,_0x176a6b:0x46e,_0x87ca24:0x2aa,_0x5ceff2:0x604,_0x38ccea:0x393,_0x174d61:0x232,_0x3f29d9:0x1db,_0x35df34:0x323,_0x19ce8e:0x4ba,_0x394505:0x553,_0x21485a:0x46e,_0x436720:0x310},_0x587256={_0x248c04:0x218,_0xb7bb4d:0x15c,_0x3142fb:0x18b},_0x2b6017={_0x34f918:0x3ca,_0x35dc28:0x4af,_0x191cb2:0x343,_0x226df7:0x56b,_0x5edfe0:0x5fe,_0x2add41:0x76a,_0x1df80b:0x792,_0x1a36f9:0x6ac,_0x43d9ea:0x8c9,_0x55704b:0x40d,_0x5fa413:0x484,_0x40de04:0x717,_0x1c2588:0x6a1,_0x31eb04:0x50e,_0x271481:0x5ce,_0x400d97:0x699,_0x4b7e70:0x75f,_0xff568d:0x57f,_0x364149:0x7cd,_0x37097f:0x8b6,_0x25e7c3:0x8c4,_0x47aa85:0x8c1,_0x186ca3:0x7a3,_0x2814dc:0x8d7,_0x43750a:0x4c9,_0xe34a65:0x595,_0xd0d7ab:0x771,_0x2971e2:0x62a,_0x2b9699:0x509,_0xd37c72:0x7fb,_0x39d9d1:0x6ad,_0x147f97:0x81c,_0x4736eb:0x50e,_0x4e2640:0x516,_0x2911ff:0x552,_0x2b0434:0x6d0,_0x3c5e8a:0x645,_0x393999:0x548,_0x1f5a9f:0x690,_0x46d8f3:0x75f,_0x324dc6:0x6a6,_0x183b63:0x33d,_0x3daa2d:0x4df,_0x2301d3:0x767,_0x1f4cd1:0x478,_0x544e2e:0x335,_0x5765aa:0x35f,_0x31b635:0x1f4,_0x34ab1b:0x250,_0x1f6350:0x4c5,_0x370482:0x44f,_0x174e17:0x44b,_0x413a44:0x4f4,_0x9d7648:0x687,_0x22fb6c:0x728,_0x420f5c:0x571,_0x55ad96:0x686,_0x162e86:0x6c6,_0x35c7da:0x8c0,_0x2f4ef7:0x4be,_0x1ec558:0x749,_0x5474fe:0x5fc,_0x250e59:0x5dc,_0x105a91:0x76c,_0x227bee:0x55d,_0x388225:0x692,_0x7c691d:0x439,_0x469156:0x3b0,_0x3afff8:0x691,_0x4f753e:0x799,_0x14f8bf:0x682,_0x42901d:0x8fa,_0x21fc47:0x98c,_0x133818:0x2fc,_0x23ba2a:0x543,_0x2d6790:0x505,_0x31d069:0x34e,_0x5c836f:0x723,_0x2c4c54:0x53a,_0x4433ac:0x354,_0x366266:0x365,_0x1d6a9b:0x4b2,_0x40796c:0x4ff,_0x55cb68:0x5e5,_0x263bf6:0x4d4,_0x4b5e0c:0x59a,_0x5689dc:0x589,_0x58c8e1:0x5eb,_0x2cacce:0x32e,_0x3b3caa:0x365,_0x4a101e:0x49e,_0x38f9ae:0x26b,_0x3653ec:0x8e9,_0x1db39a:0x7bd,_0x10c0d0:0x48d,_0x4ac640:0x2e7,_0x485b6b:0x89f,_0x181a80:0x9d7,_0x3c8972:0x7cc,_0x126c06:0x5bc,_0x5016bb:0x6b3,_0x34b25e:0x945,_0x27699d:0x951};let {mode:_0x6ab769,handleVimInput:_0x3fd25f,enterInsertMode:_0x24db38}=Ui({'enabled':_0x2248c6,'onModeChange':_0x4b7031}),{state:_0x8ca1f5,setValue:_0x2bb921,moveCursor:_0x37e5f7,setInitialCursor:_0x317221}=Gi({'initialValue':_0x2a5381,'vimMode':_0x6ab769,'onChange':_0x339aff}),{processPaste:_0x377c31}=Wi(),{renderWithCursor:_0x260b88}=Vi();_0x4bcb24(()=>{_0x317221(_0x4afe9c);},[_0x4afe9c,_0x317221]),Y((_0x557086,_0x149923)=>{let _0x30c331=_0x377c31(_0x557086);if(_0x30c331[_0x465654(_0x2b6017._0x34f918,_0x2b6017._0x35dc28,_0x2b6017._0x191cb2,0x360)])return;_0x30c331[_0x465654(_0x2b6017._0x226df7,_0x2b6017._0x5edfe0,_0x2b6017._0x2add41,_0x2b6017._0x1df80b)]!==null&&(_0x557086=_0x30c331[_0x465654(0x846,_0x2b6017._0x1a36f9,_0x2b6017._0x2add41,_0x2b6017._0x43d9ea)]);let _0x2f6eaa=_0x8ca1f5[_0x389fa8(0x5af,_0x2b6017._0x55704b,_0x2b6017._0x5fa413,0x672)],_0xf6dd55=_0x8ca1f5[_0x389fa8(0x958,0x7a6,_0x2b6017._0x40de04,0x5ec)],_0x1d20e8=_0x3fd25f(_0x557086,_0x149923,_0xf6dd55,_0x2f6eaa);if(_0x1d20e8[_0x389fa8(_0x2b6017._0x1c2588,0x758,_0x2b6017._0x31eb04,0x729)]==='move-cursor'){_0x37e5f7(_0x1d20e8[_0x465654(0x77c,_0x2b6017._0x271481,_0x2b6017._0x400d97,_0x2b6017._0x4b7e70)]);return;}if(_0x1d20e8[_0x465654(0x46a,_0x2b6017._0xff568d,0x404,0x5f8)]===_0x389fa8(_0x2b6017._0x364149,_0x2b6017._0x37097f,0x783,0x94e)){_0x2bb921(_0x1d20e8[_0x389fa8(_0x2b6017._0x25e7c3,0x8f2,_0x2b6017._0x40de04,0x5a2)],_0x1d20e8[_0x389fa8(0x73e,_0x2b6017._0x47aa85,_0x2b6017._0x186ca3,_0x2b6017._0x2814dc)]);return;}if(_0x1d20e8[_0x389fa8(0x407,_0x2b6017._0x43750a,_0x2b6017._0x31eb04,0x6b3)]===_0x465654(_0x2b6017._0xe34a65,_0x2b6017._0xd0d7ab,_0x2b6017._0x2971e2,0x61c)){_0x2bb921(_0x1d20e8[_0x465654(0x3e7,_0x2b6017._0x2b9699,0x60d,0x6f1)],_0x1d20e8[_0x465654(_0x2b6017._0xd37c72,_0x2b6017._0x39d9d1,0x699,_0x2b6017._0x147f97)]),_0x24db38();return;}function _0x389fa8(_0x3e63b3,_0x39e3ca,_0x3735d6,_0x2fc483){return _0x4e8e(_0x3735d6-0x233,_0x39e3ca);}if(_0x1d20e8[_0x389fa8(0x353,0x659,_0x2b6017._0x4736eb,0x5c4)]===_0x465654(_0x2b6017._0x4e2640,0x622,0x4a0,_0x2b6017._0x2911ff)){_0x24db38(),_0x1d20e8[_0x389fa8(_0x2b6017._0x2b0434,0x878,0x7a3,_0x2b6017._0x3c5e8a)]!==void 0x0&&_0x37e5f7(_0x1d20e8[_0x465654(0x69b,_0x2b6017._0x393999,0x699,0x7f6)]);return;}function _0x465654(_0x43753c,_0x37785f,_0x205d74,_0x3cef76){return _0x4e8e(_0x205d74-0x129,_0x37785f);}if(_0x1d20e8['type']===_0x389fa8(0x643,_0x2b6017._0x1f5a9f,_0x2b6017._0x46d8f3,_0x2b6017._0x324dc6)){_0x3d0406&&_0x3d0406(_0xf6dd55);return;}if(_0x1d20e8[_0x465654(_0x2b6017._0x183b63,0x24a,0x404,0x4b6)]===_0x465654(0x3af,_0x2b6017._0x3daa2d,0x5e0,_0x2b6017._0x2301d3)&&!(_0x2248c6&&_0x6ab769==='normal')){if(_0x149923[_0x465654(_0x2b6017._0x1f4cd1,0x552,0x467,0x21d)]&&_0x557086==='\x03'){_0x339aff('copied');return;}if(!(_0x149923[_0x465654(_0x2b6017._0x544e2e,_0x2b6017._0x5765aa,0x439,0x2f4)]&&_0x557086==='c'||_0x149923[_0x465654(_0x2b6017._0x31b635,_0x2b6017._0x34ab1b,0x439,0x28a)]&&_0x557086==='v'||_0x149923[_0x465654(0x334,0x3ce,0x46f,0x25a)]||_0x149923['shift']&&_0x149923[_0x465654(0x43f,0x553,0x46f,_0x2b6017._0x1f6350)])){if(_0x149923[_0x389fa8(_0x2b6017._0x370482,_0x2b6017._0x174e17,0x59f,_0x2b6017._0x413a44)]){_0x3d0406&&_0x3d0406(_0xf6dd55);return;}if(_0x149923[_0x465654(_0x2b6017._0x9d7648,0x726,0x6b1,_0x2b6017._0x22fb6c)]){if(_0x1e2a15){if(_0x149923[_0x389fa8(0x403,0x68c,_0x2b6017._0x420f5c,_0x2b6017._0x55ad96)]){let _0x5eadad=te(_0xf6dd55,_0x2f6eaa);_0x37e5f7(_0x5eadad[_0x465654(_0x2b6017._0x162e86,0x619,0x539,0x6ba)]);}else _0x37e5f7(_0x2f6eaa-0x1);}}else{if(_0x149923[_0x389fa8(_0x2b6017._0x35c7da,0x6d4,0x6e1,_0x2b6017._0x2f4ef7)]){if(_0x1e2a15){if(_0x149923[_0x389fa8(_0x2b6017._0x1ec558,0x789,0x571,_0x2b6017._0x5474fe)]){let _0x10e182=te(_0xf6dd55,_0x2f6eaa);_0x37e5f7(_0x10e182[_0x465654(_0x2b6017._0x250e59,0x7ea,_0x2b6017._0x105a91,_0x2b6017._0x227bee)]);}else _0x37e5f7(_0x2f6eaa+0x1);}}else{if(_0x149923[_0x389fa8(0x624,_0x2b6017._0x388225,0x594,0x69b)]||_0x149923[_0x465654(0x3d1,0x1f6,_0x2b6017._0x7c691d,_0x2b6017._0x469156)]&&_0x557086==='a'){if(_0x1e2a15){let _0x2207cc=te(_0xf6dd55,_0x2f6eaa);_0x37e5f7(_0x2207cc[_0x389fa8(0x58d,_0x2b6017._0x3afff8,0x643,_0x2b6017._0x4f753e)]);}}else{if(_0x149923[_0x389fa8(_0x2b6017._0x14f8bf,_0x2b6017._0x42901d,0x82d,_0x2b6017._0x21fc47)]||_0x149923[_0x389fa8(_0x2b6017._0x133818,0x472,_0x2b6017._0x23ba2a,_0x2b6017._0x2d6790)]&&_0x557086==='e'){if(_0x1e2a15){let _0x3d7730=te(_0xf6dd55,_0x2f6eaa);_0x37e5f7(_0x3d7730['lineEnd']);}}else{if(_0x149923['upArrow']){if(!_0x1e2a15)return;let _0x5529fd=te(_0xf6dd55,_0x2f6eaa);if(_0x1cea72&&(_0x1cea72(_0x5529fd),_0x5529fd[_0x389fa8(_0x2b6017._0x31d069,_0x2b6017._0x5c836f,_0x2b6017._0x2c4c54,_0x2b6017._0x4433ac)]===0x0))return;let _0x5d0e78=ot(_0xf6dd55,_0x2f6eaa,'up');_0x5d0e78!==null&&_0x37e5f7(_0x5d0e78);}else{if(_0x149923['downArrow']){if(!_0x1e2a15)return;let _0xee8d79=te(_0xf6dd55,_0x2f6eaa);if(_0x30ab0a&&(_0x30ab0a(_0xee8d79),_0xee8d79[_0x389fa8(0x634,0x340,0x53a,_0x2b6017._0x366266)]===_0xee8d79[_0x465654(_0x2b6017._0x1d6a9b,_0x2b6017._0x40796c,0x50c,0x526)]['length']-0x1))return;let _0x3826a6=ot(_0xf6dd55,_0x2f6eaa,_0x465654(_0x2b6017._0x55cb68,_0x2b6017._0x263bf6,0x4ed,0x5f0));_0x3826a6!==null&&_0x37e5f7(_0x3826a6);}else{if(_0x149923['backspace']||_0x149923[_0x389fa8(_0x2b6017._0x4b5e0c,_0x2b6017._0x5689dc,0x57d,_0x2b6017._0x58c8e1)]){if(_0x2f6eaa>0x0){let _0x4d1f39=_0xf6dd55[_0x465654(_0x2b6017._0x2cacce,_0x2b6017._0x3b3caa,_0x2b6017._0x4a101e,0x421)](0x0,_0x2f6eaa-0x1)+_0xf6dd55[_0x465654(0x598,_0x2b6017._0x38f9ae,0x49e,0x38b)](_0x2f6eaa,_0xf6dd55[_0x389fa8(0x610,_0x2b6017._0x3653ec,_0x2b6017._0x1db39a,0x709)]),_0x2f4c60=_0x2f6eaa-0x1;_0x2bb921(_0x4d1f39,_0x2f4c60);}}else{let _0x3efcfa=_0xf6dd55[_0x465654(_0x2b6017._0x10c0d0,_0x2b6017._0x4ac640,0x49e,0x4b4)](0x0,_0x2f6eaa)+_0x557086+_0xf6dd55['slice'](_0x2f6eaa,_0xf6dd55[_0x389fa8(_0x2b6017._0x485b6b,_0x2b6017._0x181a80,0x7bd,_0x2b6017._0x3c8972)]),_0x2da588=_0x2f6eaa+_0x557086[_0x465654(0x5c2,_0x2b6017._0x126c06,_0x2b6017._0x5016bb,0x6f1)],_0x76cf0c=_0x557086['length']>0x1?_0x557086[_0x389fa8(_0x2b6017._0x34b25e,0x6f2,0x7bd,_0x2b6017._0x27699d)]:0x0;_0x2bb921(_0x3efcfa,_0x2da588,_0x76cf0c);}}}}}}}}}},{'isActive':_0x4afe9c});let _0x2dacf7=_0x35bd59?_0x35bd59[_0x35f2da(_0x150fc3._0x28db2b,0x5a6,_0x150fc3._0x37f185,_0x150fc3._0x2c10c0)](_0x8ca1f5[_0x35f2da(_0x150fc3._0x3058d6,_0x150fc3._0x176a6b,0x4c0,_0x150fc3._0x87ca24)][_0x35f2da(0x343,0x514,0x394,_0x150fc3._0x5ceff2)]):_0x8ca1f5[_0x35f2da(_0x150fc3._0x38ccea,0x46e,_0x150fc3._0x174d61,0x3fa)],{renderedValue:_0x3829be,renderedPlaceholder:_0xa8232d}=_0x260b88(_0x2dacf7,_0x8ca1f5[_0x35f2da(0x172,_0x150fc3._0x3f29d9,_0x150fc3._0x35df34,0x34f)],_0xb8e730,_0x1e2a15,_0x4afe9c);function _0x4b8e7a(_0x28d9f1,_0x276008,_0x23dfbe,_0x3c2497){return _0x5a69d4(_0x28d9f1-0x114,_0x28d9f1- -0x35d,_0x276008,_0x3c2497-0x82);}function _0x35f2da(_0xa16276,_0x52ee0c,_0xaf27f9,_0xd56753){return _0x3764a2(_0x52ee0c-_0x587256._0x248c04,_0x52ee0c-_0x587256._0xb7bb4d,_0xa16276,_0xd56753-_0x587256._0x3142fb);}return _0x11e03c(_0xc04250,{'children':_0xb8e730?_0x2dacf7[_0x4b8e7a(_0x150fc3._0x19ce8e,_0x150fc3._0x394505,_0x150fc3._0x21485a,_0x150fc3._0x436720)]>0x0?_0x3829be:_0xa8232d:_0x3829be});}var Re=um;import{jsx as _0x57f7bd,jsxs as _0x3ab5bb}from'react/jsx-runtime';var Yi=({isFocused:_0x2d2bfd,value:_0x3d1883,onChange:_0x32051a,onSubmit:_0x11c744,onCancel:_0x2105ed})=>{const _0x1f091c={_0x38f01a:0x243,_0x49e47d:0x29,_0xf94271:0x55,_0x3ddb6d:0x45,_0x43fbde:0xb2,_0x102cbe:0x48c,_0x9ce99:0x6c0,_0x383ba5:0x1ce,_0x4d1b06:0x2d6,_0x42bcb7:0x43,_0x19d295:0x49d,_0x429b7d:0x5d1},_0x159f36={_0x199603:0x2f2},_0x743308={_0x29ad11:0xc4},_0x486d04={_0x3dd718:0x15c};function _0x436345(_0x184823,_0x48c866,_0x1d31cf,_0x249e4a){return _0x3764a2(_0x249e4a- -0xad,_0x48c866-0x21,_0x48c866,_0x249e4a-_0x486d04._0x3dd718);}let {theme:_0x2b590f}=N();function _0x3abe7f(_0x106141,_0x5366b5,_0x95e924,_0x18f2d6){return _0x5a69d4(_0x106141-0x80,_0x5366b5- -0x1fa,_0x106141,_0x18f2d6-0x14d);}return Y((_0x5e869e,_0x170b69)=>{function _0x4a61de(_0x302bfa,_0x3e9afc,_0x100865,_0x2eb279){return _0x4e8e(_0x302bfa- -_0x743308._0x29ad11,_0x2eb279);}if(_0x170b69['escape']){_0x2105ed();return;}if(_0x170b69['return']&&_0x3d1883[_0x4a61de(0x173,-0xb2,0x1ca,_0x159f36._0x199603)]()['length']>0x0){_0x11c744();return;}},{'isActive':_0x2d2bfd}),_0x3ab5bb(_0x5e8a64,{'flexDirection':_0x436345(-_0x1f091c._0x38f01a,_0x1f091c._0x49e47d,-0x105,-_0x1f091c._0xf94271),'alignItems':_0x436345(-_0x1f091c._0x3ddb6d,-_0x1f091c._0x43fbde,0x1dc,-0x62),'children':[_0x2d2bfd?_0x57f7bd(_0x3a4a2b,{'color':_0x2d2bfd?_0x2b590f[_0x3abe7f(0x644,0x4fb,0x709,0x471)][_0x3abe7f(_0x1f091c._0x102cbe,0x682,0x61d,_0x1f091c._0x9ce99)]:_0x436345(0x4ab,0x169,_0x1f091c._0x383ba5,0x26e),'bold':!0x0,'children':_0x2d2bfd?'❯\x20':''}):_0x57f7bd(_0x3a4a2b,{'color':_0x2b590f[_0x3abe7f(0x643,0x4fb,_0x1f091c._0x4d1b06,0x4aa)]['description'],'dimColor':!_0x2d2bfd,'children':'│\x20'}),_0x2d2bfd?_0x57f7bd(Re,{'value':_0x3d1883,'onChange':_0x32051a,'focus':_0x2d2bfd,'placeholder':_0x436345(0x18a,-_0x1f091c._0x42bcb7,0x222,0x79),'showCursor':!0x0}):_0x57f7bd(_0x3a4a2b,{'dimColor':!0x0,'color':_0x2b590f[_0x436345(0x94,0x177,0x167,0x12d)][_0x3abe7f(0x3f4,_0x1f091c._0x19d295,0x678,_0x1f091c._0x429b7d)],'children':'Input\x20your\x20changes\x20here'})]});};import{Box as _0x5d1dea,Text as _0x63dad7}from'ink';import{jsx as _0x544989,jsxs as _0x2d1c42}from'react/jsx-runtime';var fm={'info':{'borderColor':_0x3764a2(-0x20,-0x1de,0x1b7,-0xfe),'titleColor':'cyan'},'error':{'borderColor':_0x3764a2(0x383,0x53c,0x5ca,0x4d9),'titleColor':_0x5a69d4(0x716,0x89e,0x911,0x7ed)},'warning':{'borderColor':_0x5a69d4(0x7ff,0x65a,0x704,0x51a),'titleColor':_0x3764a2(0x13f,0x1db,0x1ff,0x148)},'success':{'borderColor':_0x3764a2(0x304,0x4b6,0x352,0x2e0),'titleColor':'green'},'default':{'borderColor':'white','titleColor':j[_0x5a69d4(0x64f,0x552,0x429,0x47a)][_0x5a69d4(0x7ce,0x7a9,0x8e3,0x673)]}},Tn=({visible:_0x5a0a89,title:_0x403663,rightTitle:_0x2a2ac7,type:_0x28fe92='default',titleColor:_0x306d6f,borderColor:_0x5d6320,children:_0x454ba2,onClose:_0x150d6a,closeOnEscape:_0x5315d2=!0x0,closeOnEnter:_0x313cbe=!0x1,paddingX:_0x3041d6=0x2,paddingY:_0x19bdd2=0x0,marginX:_0x32f436=0x1,marginY:_0x4090d7=0x0,height:_0xa3c3db,footer:_0x1179de})=>{const _0xc588a3={_0x5ea75f:0x27c,_0x4581c5:0x476,_0x1337e7:0x490,_0x2f7216:0x333,_0x5ead9f:0x585,_0x442d1b:0x42a,_0x5edcfd:0x176,_0xe15b93:0x1bb,_0x378595:0x57b,_0x37d153:0x4b5,_0x575eae:0x5ac,_0x4e1b70:0x318,_0x490e0f:0x48d,_0x59ff2b:0x32a,_0x3baca5:0x3be,_0x9f6aa:0x292,_0x2631a9:0x275,_0x442d16:0x49c,_0x3b6818:0x3c6,_0x826961:0x561,_0x18e3d3:0x49c,_0xc009f7:0x514,_0x22a754:0x446,_0x287f14:0x623},_0x2e5b25={_0x19bb94:0x3a2,_0x5dcae7:0x3f5,_0x2c4145:0x21c,_0x41b182:0x71d,_0x4ac3bd:0x73a},_0x3c54c1={_0x2c1c46:0x1f2,_0x312bc4:0x83},_0x52e477={_0x4938ea:0xf};let {cols:_0x10c9fc}=z(),{theme:_0x47535f}=N(),_0x42ac30=fm[_0x28fe92],_0x2da67e=_0x5d6320||_0x42ac30['borderColor'],_0x2d4f78=_0x306d6f||_0x42ac30[_0x744bca(_0xc588a3._0x5ea75f,_0xc588a3._0x4581c5,_0xc588a3._0x1337e7,_0xc588a3._0x2f7216)];function _0x744bca(_0x1c74e1,_0x4595bd,_0x6b79a1,_0x15db5c){return _0x3764a2(_0x4595bd-0x3b4,_0x4595bd-0xe4,_0x6b79a1,_0x15db5c-0x65);}function _0x2984c5(_0x4c657d,_0x1296af,_0x5398f4,_0x5e60af){return _0x3764a2(_0x5398f4-0x42b,_0x1296af-0xd1,_0x4c657d,_0x5e60af-_0x52e477._0x4938ea);}return Y((_0x3c58d8,_0x28aadc)=>{const _0x16f391={_0x800822:0x47,_0x5e2366:0x62,_0x511093:0x1ce};if(_0x28aadc[_0x253888(_0x2e5b25._0x19bb94,_0x2e5b25._0x5dcae7,0x328,_0x2e5b25._0x2c4145)]&&_0x5315d2&&_0x150d6a){_0x150d6a();return;}function _0x3aec8a(_0x341048,_0x5da92d,_0x530585,_0x20465b){return _0x744bca(_0x341048-_0x16f391._0x800822,_0x341048-_0x16f391._0x5e2366,_0x5da92d,_0x20465b-_0x16f391._0x511093);}function _0x253888(_0x18c9be,_0x5bce3a,_0x1d77a5,_0x251d68){return _0x744bca(_0x18c9be-_0x3c54c1._0x2c1c46,_0x18c9be- -0x19c,_0x1d77a5,_0x251d68-_0x3c54c1._0x312bc4);}if(_0x28aadc[_0x3aec8a(0x4f4,_0x2e5b25._0x41b182,0x616,_0x2e5b25._0x4ac3bd)]&&_0x313cbe&&_0x150d6a){_0x150d6a();return;}},{'isActive':_0x5a0a89&&!!_0x150d6a}),_0x5a0a89?_0x2d1c42(_0x5d1dea,{'height':_0xa3c3db,'flexDirection':'column','borderStyle':_0x2984c5(_0xc588a3._0x5ead9f,0x26a,_0xc588a3._0x442d1b,0x529),'borderColor':_0x2da67e,'width':_0x10c9fc,'children':[_0x2d1c42(_0x5d1dea,{'flexWrap':'wrap','borderStyle':_0x2984c5(_0xc588a3._0x5edcfd,_0xc588a3._0xe15b93,0x384,_0xc588a3._0x378595),'borderLeft':!0x1,'borderRight':!0x1,'borderTop':!0x1,'borderColor':_0x744bca(_0xc588a3._0x37d153,_0xc588a3._0x575eae,0x4fa,0x460),'justifyContent':_0x2984c5(0x90b,0x6b6,0x754,0x970),'children':[_0x403663?_0x2d1c42(_0x5d1dea,{'children':[_0x544989(_0x63dad7,{'color':_0x2d4f78,'children':'\x20+\x20'}),_0x544989(_0x63dad7,{'color':_0x2d4f78,'bold':!0x0,'children':_0x403663})]}):null,_0x2a2ac7?_0x544989(_0x5d1dea,{'alignItems':_0x2984c5(0x669,_0xc588a3._0x4e1b70,_0xc588a3._0x490e0f,0x274),'alignSelf':_0x2984c5(_0xc588a3._0x59ff2b,_0xc588a3._0x3baca5,0x48d,0x39a),'justifyContent':'flex-end','flexGrow':0x1,'children':_0x2d1c42(_0x63dad7,{'color':_0x2d4f78,'bold':!0x0,'children':[_0x2a2ac7,'\x20']})}):null]}),_0x2d1c42(_0x5d1dea,{'flexDirection':_0x744bca(0x46a,0x3c6,_0xc588a3._0x9f6aa,0x516),'width':_0x2984c5(_0xc588a3._0x2631a9,0x5c0,_0xc588a3._0x442d16,0x67c),'children':[_0x544989(_0x5d1dea,{'flexDirection':_0x744bca(0x604,_0xc588a3._0x3b6818,0x286,0x4db),'width':_0x2984c5(_0xc588a3._0x826961,0x4de,_0xc588a3._0x18e3d3,_0xc588a3._0xc009f7),'paddingX':_0x3041d6,'paddingY':_0x19bdd2,'marginX':_0x32f436,'marginY':_0x4090d7,'children':_0x454ba2}),_0x1179de?_0x544989(_0x5d1dea,{'flexGrow':0x1,'borderStyle':'single','borderLeft':!0x1,'borderRight':!0x1,'borderBottom':!0x1,'borderColor':_0x47535f[_0x2984c5(0x6a5,0x5b5,0x7e5,0x853)][_0x2984c5(_0xc588a3._0x22a754,0x7b6,_0xc588a3._0x287f14,0x7d0)],'children':_0x1179de}):null]})]}):null;};import{Fragment as _0x525aa6,jsx as _0xbaac3d,jsxs as _0x3126e7}from'react/jsx-runtime';function wn({toolCalls:_0x1321e9,onApproval:_0x5a3130}){const _0x751392={_0x4c622d:0x978,_0x4d55ea:0x30a,_0x15be77:0x3bd,_0x47fd09:0x206,_0x1fec62:0x6e,_0x15339d:0x772,_0x3311d1:0x93d,_0x76b8ac:0x1db,_0x4a382b:0x894,_0xa1324a:0x8e0,_0x1d4139:0x609,_0x4df89a:0x146,_0x37809e:0x55,_0x28ca46:0x5f,_0x53b611:0x46d,_0x100556:0x326,_0x1972a3:0x5e3,_0x12f7fc:0x7a9,_0x400034:0x60a},_0xf23374={_0x2d91b5:0x81,_0x27b06a:0x9,_0x4a0f09:0x304,_0x204263:0xae,_0xb147fa:0x2f,_0x41d2ec:0x1,_0x41aebd:0x25e,_0x4d706e:0x17c,_0x26685c:0x35c,_0x47db0a:0x37f,_0x1d06ea:0x3d9,_0x1ed4cd:0x3ff,_0x38ac83:0x20d,_0x2d588c:0x1a,_0x2a378d:0x2b,_0x34836b:0xa,_0x2795d2:0x680,_0x253664:0x3d0,_0x335d55:0x53e,_0x4e6089:0x1fb,_0x5ce556:0x378,_0x42b8d7:0x2c0,_0x161e6d:0xe,_0x1fdef6:0xf2,_0x3edbe0:0x2d6},_0x13fd16={_0x436842:0x486,_0x5afd96:0x13,_0x53dec1:0x80},_0x2a4357={_0x1b37f3:0x154},_0x4d8954={_0x3d5fc6:0x5},_0x38c5f5={_0x411080:0x988,_0x329499:0x7e6,_0x30bd9b:0x883,_0x5860a7:0x6c4,_0x25f4a8:0x619,_0x71f891:0x5d3,_0x46063d:0x9e3,_0x336279:0x6e0,_0x36a295:0x7db,_0xdc69b3:0x701,_0x5405fb:0x760,_0x468604:0x4ff,_0xf5a988:0x7a5,_0x58b03d:0x5d0,_0x40085d:0x803,_0x371ab2:0x731},_0x13b1fe={_0x34f598:0x233,_0x1dc3f7:0x39d,_0x982dcf:0x317,_0x13cedd:0x27b,_0x3b38ae:0x4c1,_0x47c02a:0x17c},_0x55bfdc={_0x198258:0x1a4},_0x128848={_0x257077:0x863,_0x15d8cf:0x5c4,_0x2c5153:0x63b,_0xe35d1:0x515,_0x28d1b3:0x6b5,_0x35d206:0x8d0,_0xeda0fa:0x532,_0x169da1:0x6cd,_0x54b08d:0x6c3,_0xafe087:0x761,_0x1ed3eb:0x372,_0x47b1d8:0x258,_0x258c29:0x48c,_0x1af6db:0x2ff},_0x27c5f9={_0x3e5a51:0x1c6,_0x44c637:0x14f,_0x3d7d9d:0xb},_0x508156={_0x48940d:0x1a0,_0x4b30d9:0x6c};let {addSessionApprovedTool:_0x138d21}=Le(),[_0x38de2b,_0x25aa7d]=_0x4f6ceb(0x0),[_0x1e17d6,_0x5206f2]=_0x4f6ceb([]),[_0x4d30ac,_0x14c813]=_0x4f6ceb([]),[_0xf9109a,_0x15e5dc]=_0x4f6ceb(0x0),[_0x3fe636,_0xaae233]=_0x4f6ceb(!0x1),[_0x3bc660,_0x3d7f23]=_0x4f6ceb(''),_0x44fe16=_0x1321e9[_0x38de2b],_0x56f143=_0x38de2b===_0x1321e9[_0x40fec3(0x894,0xa60,_0x751392._0x4c622d,0x96b)]-0x1,_0x3ae7a1=_0x1d05dc(()=>{let _0x25ac3c=_0x44fe16[_0xcde53d(_0x128848._0x257077,_0x128848._0x15d8cf,0x845,0x665)][_0xcde53d(_0x128848._0x2c5153,0x4d3,_0x128848._0xe35d1,_0x128848._0x28d1b3)];if(_0x25ac3c===_0x49ba02(_0x128848._0x35d206,0x684,_0x128848._0xeda0fa,_0x128848._0x169da1)||_0x25ac3c==='file_edit')try{let _0xb1cb1=JSON['parse'](_0x44fe16[_0xcde53d(_0x128848._0x54b08d,_0x128848._0xafe087,0x506,0x665)][_0xcde53d(_0x128848._0x1ed3eb,0x656,_0x128848._0x47b1d8,_0x128848._0x258c29)]);if(_0xb1cb1['file_path'])return _0x3126e7(_0x525aa6,{'children':[_0xbaac3d(_0x214a33,{'bold':!0x0,'children':_0x25ac3c+':\x20'}),_0xbaac3d(_0x214a33,{'bold':!0x1,'color':j[_0xcde53d(0x31f,0x3c5,_0x128848._0x1af6db,0x42f)][_0x49ba02(0x43b,0x614,0x675,0x44e)],'children':_0xb1cb1['file_path']})]});}catch{}function _0xcde53d(_0x355f8f,_0x8b4a49,_0x133a79,_0x583d4f){return _0x40fec3(_0x583d4f- -_0x508156._0x48940d,_0x8b4a49-0xca,_0x133a79,_0x583d4f-_0x508156._0x4b30d9);}function _0x49ba02(_0x13211d,_0x4dc786,_0x51d700,_0x17b2d2){return _0x40fec3(_0x17b2d2- -_0x27c5f9._0x3e5a51,_0x4dc786-_0x27c5f9._0x44c637,_0x4dc786,_0x17b2d2-_0x27c5f9._0x3d7d9d);}return _0x25ac3c;},[_0x44fe16]),_0x41b89c=()=>{const _0x31b04d={_0x295c57:0x64d};function _0xe706ae(_0x1af28e,_0x154f0b,_0x13c139,_0x2b4d5c){return _0x40fec3(_0x154f0b- -_0x55bfdc._0x198258,_0x154f0b-0x12,_0x2b4d5c,_0x2b4d5c-0x158);}function _0x5c298c(_0x2d08ee,_0x1438e0,_0x186e45,_0x23e389){return _0x40fec3(_0x186e45- -_0x31b04d._0x295c57,_0x1438e0-0x1a2,_0x1438e0,_0x23e389-0x64);}_0x3bc660[_0xe706ae(_0x13b1fe._0x34f598,_0x13b1fe._0x1dc3f7,0x3f7,_0x13b1fe._0x982dcf)]()['length']!==0x0&&_0x5a3130('edit',void 0x0,_0x3bc660[_0xe706ae(_0x13b1fe._0x13cedd,0x39d,_0x13b1fe._0x3b38ae,_0x13b1fe._0x47c02a)]());},_0x4eacb0=()=>{_0xaae233(!0x1),_0x3d7f23(''),_0x15e5dc(0x0);};Y((_0x1449de,_0x271dc1)=>{const _0x481043={_0x5b9c87:0xb7,_0x34da2f:0x13},_0x35d9c2={_0x257fb6:0x196,_0x42f724:0x155};function _0x182973(_0x316c39,_0x4c9b6b,_0x3c4a0f,_0x195049){return _0x40fec3(_0x4c9b6b- -_0x35d9c2._0x257fb6,_0x4c9b6b-_0x35d9c2._0x42f724,_0x316c39,_0x195049-0x4e);}function _0x7b520f(_0x295b70,_0x5b0096,_0x548fb6,_0x129f31){return _0x40fec3(_0x129f31- -_0x481043._0x5b9c87,_0x5b0096-_0x481043._0x34da2f,_0x5b0096,_0x129f31-0x8f);}if(!_0x3fe636){if(_0x271dc1['tab']){_0x271dc1[_0x7b520f(0x6df,_0x38c5f5._0x411080,0x817,_0x38c5f5._0x329499)]?_0xf9109a===0x0?_0xaae233(!0x0):_0x15e5dc(_0x49730a=>_0x49730a-0x1):_0xf9109a===0x2?_0xaae233(!0x0):_0x15e5dc(_0x41cba1=>_0x41cba1+0x1);return;}if(_0x271dc1['return']){_0x3c5d8f([_0x7b520f(0x484,_0x38c5f5._0x30bd9b,0x62d,_0x38c5f5._0x5860a7),'deny',_0x7b520f(0x630,0x3d1,_0x38c5f5._0x25f4a8,_0x38c5f5._0x71f891)][_0xf9109a]);return;}if(_0x271dc1[_0x7b520f(_0x38c5f5._0x46063d,_0x38c5f5._0x336279,0x628,_0x38c5f5._0x36a295)]){_0x15e5dc(_0xe1a63e=>_0xe1a63e===0x0?0x2:_0xe1a63e-0x1);return;}if(_0x271dc1[_0x7b520f(0x8ed,0x64e,0x5e4,_0x38c5f5._0xdc69b3)]){_0x15e5dc(_0x499458=>_0x499458===0x2?0x0:_0x499458+0x1);return;}if(_0x1449de==='1'){_0x3c5d8f(_0x182973(_0x38c5f5._0x5405fb,0x5e5,_0x38c5f5._0x468604,_0x38c5f5._0xf5a988));return;}if(_0x1449de==='2'){_0x3c5d8f('deny');return;}if(_0x1449de==='3'){_0x3c5d8f(_0x7b520f(_0x38c5f5._0x58b03d,_0x38c5f5._0x40085d,_0x38c5f5._0x371ab2,0x5d3));return;}if(_0x1449de==='4'){_0xaae233(!0x0);return;}}});function _0x190a30(_0x543d10,_0x1b420b,_0x5d2d24,_0x53badc){return _0x3764a2(_0x5d2d24-0x7,_0x1b420b-0x113,_0x53badc,_0x53badc-_0x4d8954._0x3d5fc6);}function _0x40fec3(_0x36bb49,_0x4febfc,_0x450e25,_0x34f18){return _0x3764a2(_0x36bb49-0x598,_0x4febfc-_0x2a4357._0x1b37f3,_0x450e25,_0x34f18-0xc1);}let _0x3c5d8f=_0x40b96f=>{const _0x2ad28a={_0xef94cf:0x16d};function _0xf1868e(_0x4b5bb3,_0xb14d88,_0x9e7f6d,_0x54b5a1){return _0x40fec3(_0x54b5a1- -_0x13fd16._0x436842,_0xb14d88-_0x13fd16._0x5afd96,_0x4b5bb3,_0x54b5a1-_0x13fd16._0x53dec1);}function _0x1a9b9f(_0x5bbf90,_0xc88be6,_0x5a1bbf,_0x9be8ba){return _0x40fec3(_0x9be8ba- -0x689,_0xc88be6-_0x2ad28a._0xef94cf,_0x5a1bbf,_0x9be8ba-0x134);}if(_0x40b96f===_0x1a9b9f(_0xf23374._0x2d91b5,-_0xf23374._0x27b06a,-0xbc,0xf2))_0x5206f2(_0x2f021e=>[..._0x2f021e,_0x44fe16]);else{if(_0x40b96f===_0xf1868e(_0xf23374._0x4a0f09,_0xf23374._0x204263,0x256,0x241))_0x14c813(_0x52ebcb=>[..._0x52ebcb,_0x44fe16]);else{if(_0x40b96f===_0x1a9b9f(0x166,_0xf23374._0xb147fa,0x248,_0xf23374._0x41d2ec)){_0x138d21(_0x44fe16[_0x1a9b9f(0x36b,-0x9,_0xf23374._0x41aebd,_0xf23374._0x4d706e)]['name']);let _0x39e571=_0x44fe16[_0xf1868e(0x2d9,0x2d4,_0xf23374._0x26685c,_0xf23374._0x47db0a)][_0x1a9b9f(_0xf23374._0x1d06ea,0x330,_0xf23374._0x1ed4cd,0x1cc)],_0x5295d7=_0x1321e9['slice'](_0x38de2b)[_0x1a9b9f(0x11b,0x406,0x19f,_0xf23374._0x38ac83)](_0x28ce62=>_0x28ce62[_0x1a9b9f(0x317,0x383,0x2bc,0x17c)]['name']===_0x39e571);_0x5206f2(_0x51b69c=>[..._0x51b69c,..._0x5295d7]);let _0x476008=_0x1321e9[_0x1a9b9f(-_0xf23374._0x2d588c,-_0xf23374._0x2a378d,0x1ce,-_0xf23374._0x34836b)](_0x38de2b+0x1)[_0xf1868e(_0xf23374._0x2795d2,0x552,0x375,0x4b4)](_0x4c2375=>_0x4c2375[_0xf1868e(0x145,0x4f2,0x399,0x37f)][_0x1a9b9f(0x4c,0x1a2,0x134,0x1cc)]!==_0x39e571);if(_0x476008===-0x1){_0x5a3130(_0xf1868e(0x51f,0x14a,0x3de,0x2f5),[..._0x1e17d6,..._0x5295d7]);return;}_0x25aa7d(_0x38de2b+0x1+_0x476008),_0x15e5dc(0x0);return;}}}if(_0x56f143){let _0x5dfee2=_0x40b96f===_0xf1868e(0x110,_0xf23374._0x253664,_0xf23374._0x335d55,0x2f5)?[..._0x1e17d6,_0x44fe16]:_0x1e17d6;_0x5dfee2[_0x1a9b9f(0x29,_0xf23374._0x4e6089,_0xf23374._0x5ce556,0x20b)]>0x0?_0x5a3130(_0x1a9b9f(_0xf23374._0x42b8d7,-0xcf,-_0xf23374._0x161e6d,_0xf23374._0x1fdef6),_0x5dfee2):_0x5a3130(_0xf1868e(0x20,0x2b3,_0xf23374._0x3edbe0,0x241));}else _0x25aa7d(_0x4f9854=>_0x4f9854+0x1),_0x15e5dc(0x0);},_0x5d5830=_0x3fe636?_0x190a30(_0x751392._0x4d55ea,0x272,_0x751392._0x15be77,0x185):_0x190a30(0x179,_0x751392._0x47fd09,0x22c,_0x751392._0x1fec62);return _0xbaac3d(Tn,{'visible':!0x0,'title':_0xbaac3d(_0x214a33,{'children':_0x3ae7a1}),'footer':_0xbaac3d(_0x2f1000,{'marginLeft':0x1,'children':_0xbaac3d(_0x214a33,{'color':j[_0x40fec3(_0x751392._0x15339d,0x793,_0x751392._0x3311d1,0x987)][_0x190a30(_0x751392._0x76b8ac,0x1c4,0x183,0xcf)],'dimColor':!0x0,'children':_0x5d5830})}),'rightTitle':_0xbaac3d(gn,{'currentIndex':_0x38de2b,'totalTools':_0x1321e9[_0x40fec3(_0x751392._0x4a382b,0xa61,0x6e6,_0x751392._0xa1324a)]}),'children':_0x3126e7(_0x2f1000,{'flexDirection':'column','width':_0x40fec3(_0x751392._0x1d4139,0x623,0x776,0x6d4),'children':[_0xbaac3d(fn,{'toolCall':_0x44fe16}),_0xbaac3d(_0x2f1000,{'flexDirection':_0x190a30(_0x751392._0x4df89a,_0x751392._0x37809e,_0x751392._0x28ca46,0x17a),'justifyContent':_0x190a30(_0x751392._0x53b611,_0x751392._0x100556,0x330,0x45a),'alignItems':_0x40fec3(_0x751392._0x1972a3,0x64b,_0x751392._0x12f7fc,_0x751392._0x400034),'marginTop':0x1,'children':_0xbaac3d(hn,{'selectedAction':_0x3fe636?-0x1:_0xf9109a})}),_0xbaac3d(_0x2f1000,{'marginY':0x1,'children':_0xbaac3d(Yi,{'isFocused':_0x3fe636,'value':_0x3bc660,'onChange':_0x3d7f23,'onSubmit':_0x41b89c,'onCancel':_0x4eacb0})})]})});}import{useState as _0x5aafc8,useEffect as _0x3ed8b2,useCallback as _0x7b4463,useMemo as _0x274ffb}from'react';function ar(){const _0x382554={_0x12b37e:0x770,_0x2d1c5d:0x9ea,_0x2d114b:0x7d8},_0x2b5889={_0x510917:0x99,_0x140881:0x41,_0x8e6e28:0x142},_0x433c85={_0x41cd3d:0x5d7,_0x4c9da0:0x510,_0xe91293:0x4da},_0xb86b71={_0x281e65:0x360},_0x5d0e52={_0x31b0ea:0x77c,_0x257511:0xa63,_0x1d5af4:0x85c,_0x1330d1:0x8df,_0x159e86:0x832,_0x582742:0x871},_0x17994d={_0xab7da6:0x55b,_0x3a9e05:0x48f},_0x4c289e={_0x438e45:0x34,_0x4ad194:0x21},_0x243ca2={_0x435394:0x136,_0x4a88b0:0x1b6},_0x460370={_0x561673:0x4be,_0x11888d:0x2e,_0x4dd6cb:0x37},_0x40c0f8={_0x39f965:0x23b};let [_0x4a8df4,_0x5080a6]=_0x5aafc8(()=>ge[_0xe96380(0x2eb,0x2fe,0x4b4,0x4ee)]({'includeHidden':!0x1})),[_0xb055f6,_0x39e7af]=_0x5aafc8(()=>ge['getActive']()),_0x25ea46=_0x7b4463(()=>{function _0x221950(_0x2f287a,_0x35c8d5,_0x2b812c,_0x257f2b){return _0xe96380(_0x2f287a-0x116,_0x35c8d5-0x100,_0x2f287a,_0x2b812c- -0x504);}_0x5080a6(ge[_0x221950(0x1b2,0x1d0,-0x16,-_0x40c0f8._0x39f965)]({'includeHidden':!0x1}));},[]);function _0xe96380(_0x16cc73,_0x33c806,_0x59b68a,_0x1d467a){return _0x3764a2(_0x1d467a-_0x460370._0x561673,_0x33c806-_0x460370._0x11888d,_0x59b68a,_0x1d467a-_0x460370._0x4dd6cb);}_0x3ed8b2(()=>{const _0x5145ba={_0x548633:0x1f6,_0x3ceb80:0x6d6,_0x108134:0xa10,_0xaa0b1:0x877,_0x3fe7d4:0x502,_0x4d4702:0x596,_0x46776c:0x495,_0x35effd:0x3e2,_0x269ff9:0x312},_0x2ea8af={_0x15c3de:0x77},_0x5e46cd={_0x50f257:0x10b,_0x1d741f:0x191};function _0x5904b0(_0x1081f1,_0x57e816,_0x1cc4a2,_0x275a6c){return _0xe96380(_0x1081f1-_0x243ca2._0x435394,_0x57e816-0x1a5,_0x57e816,_0x275a6c-_0x243ca2._0x4a88b0);}function _0x12bf28(_0x2d2ffe,_0x5c8ebc,_0x16a0f6,_0x19c546){return _0xe96380(_0x2d2ffe-_0x4c289e._0x438e45,_0x5c8ebc-_0x4c289e._0x4ad194,_0x16a0f6,_0x2d2ffe- -0x2c4);}let _0x2fd8af=()=>{const _0x400278={_0x5145ea:0x1c6};function _0x5456c3(_0x1bc47f,_0x1b8928,_0xb0f441,_0x35cc67){return _0x4e8e(_0x35cc67-_0x400278._0x5145ea,_0x1b8928);}_0x39e7af(ge[_0x5456c3(0x25d,0x5b1,_0x17994d._0xab7da6,_0x17994d._0x3a9e05)]());},_0x4c50c7=()=>{_0x25ea46();};return k['on'](_0x5904b0(_0x5d0e52._0x31b0ea,_0x5d0e52._0x257511,0x8e2,0x8b5),_0x2fd8af),k['on'](_0x5904b0(_0x5d0e52._0x1d5af4,_0x5d0e52._0x1330d1,_0x5d0e52._0x159e86,_0x5d0e52._0x582742),_0x2fd8af),k['on']('ui:commands:refresh',_0x4c50c7),()=>{function _0x1e915e(_0x5c6c1f,_0x4f881c,_0x3defae,_0x3f374a){return _0x12bf28(_0x4f881c-_0x5e46cd._0x50f257,_0x4f881c-0x1e1,_0x3f374a,_0x3f374a-_0x5e46cd._0x1d741f);}function _0x462d8f(_0x15cecc,_0x15159a,_0x119fc9,_0x26d1bb){return _0x5904b0(_0x15cecc-_0x2ea8af._0x15c3de,_0x15cecc,_0x119fc9-0x184,_0x26d1bb- -0x3e);}k[_0x1e915e(0x58b,0x3e2,0x3c3,_0x5145ba._0x548633)](_0x462d8f(_0x5145ba._0x3ceb80,_0x5145ba._0x108134,0x64b,_0x5145ba._0xaa0b1),_0x2fd8af),k['off'](_0x1e915e(0x69e,_0x5145ba._0x3fe7d4,_0x5145ba._0x4d4702,_0x5145ba._0x46776c),_0x2fd8af),k[_0x1e915e(0x23a,_0x5145ba._0x35effd,_0x5145ba._0x269ff9,0x520)](_0x1e915e(0x3bb,0x2df,0x4b2,0xf4),_0x4c50c7);};},[_0x25ea46]);let _0x5bd3c4=_0x7b4463(async _0x1ebdf8=>{function _0x53ec9a(_0x2e0e34,_0x3abc91,_0x3d0fef,_0x29e836){return _0xe96380(_0x2e0e34-0xb,_0x3abc91-0x107,_0x2e0e34,_0x29e836- -_0xb86b71._0x281e65);}await ge[_0x53ec9a(_0x433c85._0x41cd3d,_0x433c85._0x4c9da0,0x4fc,_0x433c85._0xe91293)](_0x1ebdf8);},[]),_0x35b1db=_0x7b4463((_0x5a3066,_0x1b8963)=>{const _0x5a207c={_0x45315d:0x3af};function _0x263246(_0x3e445a,_0x631d60,_0x395c82,_0x31c1c2){return _0xe96380(_0x3e445a-0x33,_0x631d60-0x6,_0x631d60,_0x395c82- -_0x5a207c._0x45315d);}ge[_0x263246(0x145,-_0x2b5889._0x510917,_0x2b5889._0x140881,-_0x2b5889._0x8e6e28)](_0x5a3066,_0x1b8963);},[]),_0x3b3bc6=_0x7b4463(()=>{function _0x4521ac(_0x35c93b,_0x5f437a,_0x2107d8,_0x29ffbb){return _0xe96380(_0x35c93b-0x3d,_0x5f437a-0xc6,_0x29ffbb,_0x2107d8-0x1a7);}ge[_0x4521ac(_0x382554._0x12b37e,_0x382554._0x2d1c5d,_0x382554._0x2d114b,0x9cc)]();},[]);return _0x274ffb(()=>({'commands':_0x4a8df4,'activeCommand':_0xb055f6,'execute':_0x5bd3c4,'setActiveCommand':_0x35b1db,'clearActiveCommand':_0x3b3bc6,'refreshCommands':_0x25ea46}),[_0x4a8df4,_0xb055f6,_0x5bd3c4,_0x35b1db,_0x3b3bc6,_0x25ea46]);}import{jsx as _0x1dd28c}from'react/jsx-runtime';function Sn(){let {activeCommand:_0x32d3f5,clearActiveCommand:_0x17d9b8}=ar();if(!_0x32d3f5)return null;let {command:_0x73caab,context:_0x1773d5}=_0x32d3f5;return _0x1dd28c(_0x73caab['component'],{'context':_0x1773d5,'deactivate':_0x17d9b8,'isActive':!0x0});}import _0x8b03de,{useState as _0x855255,useEffect as _0x40d8fb,useCallback as _0x17c8c7,forwardRef as _0x170466,useImperativeHandle as _0x259508}from'react';import{Box as _0x4784d9,Text as _0x2bb11d}from'ink';import _0x5e8cce from'ink-spinner';import{useState as _0x442b4a,useEffect as _0x5e847e,useCallback as _0x3b4ca1,useRef as _0x4c7373}from'react';var Qi=({memory:_0x570e68,currentInput:_0x88d6f8,onRecall:_0x115f24})=>{const _0x1d9b17={_0x5e07e4:0x19c,_0xe1856e:0x3d7},_0x4ba7cb={_0x5aa67e:0x696,_0x40d531:0x52c,_0x3ef4ca:0x74a,_0x1812b5:0x560,_0x2f50b2:0x26c,_0x4354ab:0x38b,_0xef60c1:0x3f3,_0x3538cd:0x189,_0x3b218b:0x7ce},_0x5d7290={_0x6b80b1:0x35},_0x413a92={_0x522346:0x60d,_0x5837d9:0x12b,_0x5e5ea4:0x42,_0xca058e:0x59,_0x496cad:0x4ca,_0x39bfa5:0x7f8},_0x44ba05={_0x37a1fe:0x8a7,_0x1b2b3a:0x922,_0x4c815b:0x13f,_0x4023b0:0x3c7,_0x387ce7:0x1aa,_0x42bb4d:0x2b,_0x4f2d25:0x58b,_0x577b8a:0x85c,_0x37221b:0x992,_0x474258:0x9ad,_0x6a404b:0x30c,_0x38e430:0x132,_0x387faf:0x11a,_0x598f75:0x295,_0x1fa77c:0x160,_0x5deeb0:0x6d,_0x51181a:0x194,_0x56afd4:0x72a,_0x596525:0x7db},_0x1a91cf={_0x40f23d:0x2d2},_0x530dca={_0x58eb28:0x22a,_0xad3231:0x227,_0x1b4120:0x458,_0x81737b:0x14e,_0x5bc94d:0x3a0,_0x1e1cdb:0x242,_0xf2d6cc:0x233,_0x24eb6f:0xa2,_0x150acb:0x238,_0x479dfb:0x101},_0xcffb74={_0x34663e:0x357},_0x68e8f9={_0x464a12:0x22e};let {setNotification:_0x32707d}=Gt(),[_0x514fcc,_0x473998]=_0x442b4a([]),[_0x336cdf,_0x3d6c1a]=_0x442b4a(-0x1),_0x143c56=_0x4c7373(!0x1),_0x10a4c8=_0x4c7373(!0x1);_0x5e847e(()=>{const _0x51fbe4={_0x4ef669:0x234,_0x42ece1:0x54b,_0xf4bf65:0x3e9,_0x4a793d:0x540,_0x56e903:0x4d5,_0xc39a30:0x134,_0x1994ff:0x331,_0x2f022d:0x1a1,_0x35fb6b:0x2f1,_0x150f19:0x3cf,_0x4bfa08:0x676,_0xc98546:0x5f4,_0x52bff9:0x904,_0x55d964:0x564,_0xa442e7:0x2d0,_0x1e7fff:0x38e,_0x5f04ed:0x11c,_0x55445b:0x3ca,_0x4ecb0f:0x6a3};((async()=>{let _0x47eae4=_0x19df5c[_0x3ed7d2(_0x51fbe4._0x4ef669,0x2c8,_0x51fbe4._0x42ece1,0x3e1)]()[_0x3ed7d2(0x45d,0x599,0x4bb,_0x51fbe4._0xf4bf65)](),_0x3bd3dc=null;function _0x3ed7d2(_0x21340e,_0x5cada5,_0xc132c6,_0x4a74a7){return _0x4e8e(_0x4a74a7-0xed,_0x5cada5);}try{_0x3bd3dc=(await _0x9642ab(0x1,_0x47eae4))?.[0x0]?.[_0x3ed7d2(_0x51fbe4._0x4a793d,0x4f6,_0x51fbe4._0x56e903,0x31a)]??null;}catch{_0x3bd3dc=null;}if(!_0x570e68){_0x3bd3dc&&_0x473998([_0x3bd3dc]);return;}function _0x5bb49f(_0x31c4f6,_0x2f7c3c,_0x320eea,_0x37df84){return _0x4e8e(_0x37df84- -0x1bd,_0x31c4f6);}try{let _0x54fd16=(await _0x570e68[_0x3ed7d2(0x318,_0x51fbe4._0xc39a30,0x539,_0x51fbe4._0x1994ff)](_0x5bb49f(0x117,_0x51fbe4._0x2f022d,0x280,0x48)))[_0x5bb49f(0x230,_0x51fbe4._0x35fb6b,0x1ee,_0x51fbe4._0x150f19)](_0x1744d8=>_0x1744d8['role']==='user')[_0x3ed7d2(_0x51fbe4._0x4bfa08,_0x51fbe4._0xc98546,_0x51fbe4._0x52bff9,0x708)](_0x234d22=>typeof _0x234d22[_0x3ed7d2(0x59c,0x273,0x485,0x475)]=='string'?_0x234d22[_0x3ed7d2(0x432,0x300,0x246,0x475)]:_0x234d22[_0x5bb49f(0x28d,0x3fc,-0x2e,0x1cb)]&&typeof _0x234d22[_0x5bb49f(0x173,0x27e,0x195,0x1cb)]==_0x5bb49f(0x41d,0x495,0x2f8,0x2cc)&&_0x5bb49f(0x345,0x4fa,0x533,0x2ef)in _0x234d22[_0x5bb49f(0x230,0x2c5,0x73,0x1cb)]?_0x234d22[_0x5bb49f(0x349,0x3b8,0x28a,0x1cb)][_0x3ed7d2(0x439,0x72e,0x781,0x599)][_0x3ed7d2(0x4b9,0x4eb,0x5fb,0x679)](_0x11e13c=>_0x11e13c[_0x5bb49f(0x1dd,0x317,0x70,0x11e)]===_0x5bb49f(0x4b9,0x163,0x328,0x33d))[_0x3ed7d2(0x915,0x75d,0x6e8,0x708)](_0x200f92=>_0x200f92[_0x5bb49f(0x227,0x48b,0x3ee,0x33d)])[_0x3ed7d2(0x4b7,0x490,0x75e,0x657)]('\x0a'):'')[_0x5bb49f(0x48f,0x396,_0x51fbe4._0x55d964,_0x51fbe4._0x150f19)](_0x224c2c=>_0x224c2c[_0x5bb49f(0x22d,0x1b2,0x16f,0x7a)]()!==''),_0x4b9d65=_0x3bd3dc?[_0x3bd3dc,..._0x54fd16]:_0x54fd16;_0x473998(_0x4b9d65),_0xcf7397[_0x5bb49f(0xec,_0x51fbe4._0xa442e7,_0x51fbe4._0x1e7fff,0x29b)](_0x5bb49f(0x291,_0x51fbe4._0x5f04ed,_0x51fbe4._0x55445b,0x2df),{'count':_0x4b9d65[_0x3ed7d2(0x439,0x545,_0x51fbe4._0x4ecb0f,0x677)]});}catch{_0x3bd3dc&&_0x473998([_0x3bd3dc]);}})());},[_0x570e68]);let _0x37698d=_0x3b4ca1(()=>{if(_0xcf7397[_0xa766c9(0x289,0x123,0xc3,_0x530dca._0x58eb28)]('navigatePrev',{'messages':_0x514fcc,'currentIndex':_0x336cdf}),_0x514fcc['length']===0x0||_0x336cdf===0x0)return _0xcf7397[_0xa766c9(_0x530dca._0xad3231,_0x530dca._0x1b4120,0x378,0x22a)](_0xa766c9(_0x530dca._0x81737b,_0x530dca._0x5bc94d,0xae,0x1a5)),null;function _0xa766c9(_0x4a6182,_0x4f9a95,_0x4af5a3,_0xe40e65){return _0x4e8e(_0xe40e65- -_0x68e8f9._0x464a12,_0x4a6182);}function _0x5d51ce(_0x455acc,_0x3e62fa,_0x2d7e91,_0x3e01e0){return _0x4e8e(_0x3e01e0- -_0xcffb74._0x34663e,_0x455acc);}let _0xb4e6b3=_0x336cdf===-0x1?_0x514fcc[_0x5d51ce(0x47a,_0x530dca._0x1e1cdb,0xb8,_0x530dca._0xf2d6cc)]-0x1:_0x336cdf-0x1;_0x3d6c1a(_0xb4e6b3);let _0x574402=_0x514fcc[_0xb4e6b3];return _0xcf7397[_0x5d51ce(_0x530dca._0x24eb6f,-0x106,_0x530dca._0x150acb,_0x530dca._0x479dfb)](_0xa766c9(0x17c,0x3a2,0x392,0x2be),{'newIndex':_0xb4e6b3,'message':_0x574402}),_0x574402??null;},[_0x514fcc,_0x336cdf]),_0x542bab=_0x3b4ca1(()=>{if(_0xcf7397[_0x5db1a9(0x72a,0x4e9,_0x44ba05._0x37a1fe,_0x44ba05._0x1b2b3a)](_0x37a025(-_0x44ba05._0x4c815b,0x59,-0x185,-_0x44ba05._0x4023b0),{'messages':_0x514fcc,'currentIndex':_0x336cdf}),_0x336cdf===-0x1)return _0xcf7397[_0x37a025(0x324,_0x44ba05._0x387ce7,0x11a,_0x44ba05._0x42bb4d)](_0x5db1a9(0x4d4,0x423,0x418,_0x44ba05._0x4f2d25)),null;function _0x37a025(_0x926c66,_0x51da67,_0x30c6da,_0x5d3c81){return _0x4e8e(_0x30c6da- -0x33e,_0x926c66);}function _0x5db1a9(_0xa49a71,_0x4f127d,_0x2c5eb6,_0x864265){return _0x4e8e(_0xa49a71-_0x1a91cf._0x40f23d,_0x4f127d);}if(_0x336cdf<_0x514fcc[_0x5db1a9(_0x44ba05._0x577b8a,0x920,_0x44ba05._0x37221b,_0x44ba05._0x474258)]-0x1){let _0x3cf727=_0x336cdf+0x1;_0x3d6c1a(_0x3cf727);let _0x1f492e=_0x514fcc[_0x3cf727];return _0xcf7397[_0x37a025(_0x44ba05._0x6a404b,-_0x44ba05._0x38e430,_0x44ba05._0x387faf,_0x44ba05._0x598f75)](_0x37a025(_0x44ba05._0x1fa77c,0x21a,_0x44ba05._0x5deeb0,-_0x44ba05._0x51181a),{'newIndex':_0x3cf727,'message':_0x1f492e}),_0x1f492e??null;}return _0x3d6c1a(-0x1),_0xcf7397[_0x5db1a9(_0x44ba05._0x56afd4,0x587,0x84c,_0x44ba05._0x596525)]('navigateNext:\x20reset\x20to\x20empty'),'';},[_0x514fcc,_0x336cdf]),_0x1f2e0d=_0x3b4ca1(()=>{let _0x4bdf32=_0x37698d();_0x4bdf32!==null&&_0x115f24(_0x4bdf32);},[_0x37698d,_0x115f24]),_0x4b4094=_0x3b4ca1(()=>{let _0x4687ff=_0x542bab();_0x4687ff!==null&&_0x115f24(_0x4687ff);},[_0x542bab,_0x115f24]),_0x156c75=_0x3b4ca1(_0x5a8c9a=>{const _0x3fd23c={_0x28d09a:0x336},_0x34e080={_0x455697:0xa4},_0x3dcd11={_0x4c3567:0x279},_0x150aba={_0x4cbf7d:0x22a};function _0x326a2f(_0x5e45d3,_0x48f3cb,_0x57bf58,_0x9ba98f){return _0x4e8e(_0x48f3cb-_0x150aba._0x4cbf7d,_0x9ba98f);}function _0x25829a(_0x165229,_0x1dcc33,_0x5c577d,_0x21f716){return _0x4e8e(_0x21f716- -_0x3dcd11._0x4c3567,_0x1dcc33);}if(_0x5a8c9a['lineIndex']!==0x0)return;!(_0x5a8c9a[_0x326a2f(0x3f4,_0x413a92._0x522346,0x423,0x629)]['length']>0x1)||_0x88d6f8[_0x25829a(-0x245,0x3f,-_0x413a92._0x5837d9,-_0x413a92._0x5e5ea4)]()===''?_0x1f2e0d():_0x143c56[_0x25829a(0xed,0x52,0x16d,_0x413a92._0xca058e)]?(_0x143c56['current']=!0x1,_0x1f2e0d()):(_0x143c56[_0x25829a(0x245,-0x49,0xad,_0x413a92._0xca058e)]=!0x0,_0x32707d(_0x326a2f(0x724,0x678,_0x413a92._0x496cad,_0x413a92._0x39bfa5),0x3e8),setTimeout(()=>{function _0x24a53e(_0x19d6eb,_0x2c047f,_0x2e54d7,_0x501eaf){return _0x25829a(_0x19d6eb-0x136,_0x19d6eb,_0x2e54d7-0x146,_0x2e54d7-_0x34e080._0x455697);}_0x143c56[_0x24a53e(-0x59,-0x86,0xfd,_0x3fd23c._0x28d09a)]=!0x1;},0x3e8));},[_0x88d6f8,_0x1f2e0d,_0x32707d]),_0x9935a=_0x3b4ca1(_0x1d7d5e=>{function _0x406fb5(_0x1543dd,_0x395ab4,_0x2eb35f,_0x8d8ec9){return _0x4e8e(_0x2eb35f-0x367,_0x1543dd);}function _0x53a219(_0x1977b3,_0x46059d,_0x5885bf,_0x1dda08){return _0x4e8e(_0x1977b3-_0x5d7290._0x6b80b1,_0x46059d);}if(_0x1d7d5e[_0x406fb5(0x56f,_0x4ba7cb._0x5aa67e,0x66e,_0x4ba7cb._0x40d531)]!==_0x1d7d5e[_0x406fb5(0x610,0x705,_0x4ba7cb._0x3ef4ca,_0x4ba7cb._0x1812b5)]['length']-0x1)return;!(_0x1d7d5e['lines']['length']>0x1)||_0x88d6f8[_0x53a219(_0x4ba7cb._0x2f50b2,_0x4ba7cb._0x4354ab,0x186,_0x4ba7cb._0xef60c1)]()===''?_0x4b4094():_0x10a4c8[_0x53a219(0x307,_0x4ba7cb._0x3538cd,0x393,0x203)]?(_0x10a4c8[_0x406fb5(0x6a8,_0x4ba7cb._0x3b218b,0x639,0x4fe)]=!0x1,_0x4b4094()):(_0x10a4c8[_0x406fb5(0x46a,0x64f,0x639,0x5c0)]=!0x0,_0x32707d(_0x406fb5(0x6e0,0x669,0x7ab,0x981),0x3e8),setTimeout(()=>{_0x10a4c8['current']=!0x1;},0x3e8));},[_0x88d6f8,_0x4b4094,_0x32707d]),_0xd44210=_0x3b4ca1(_0x657687=>{let _0x3477f2=_0x657687[_0x1be503(_0x1d9b17._0x5e07e4,_0x1d9b17._0xe1856e,0x3b6,0x17d)]();function _0x1be503(_0x44a447,_0x16803d,_0x374ff4,_0x42a800){return _0x4e8e(_0x374ff4-0x17f,_0x42a800);}function _0x5c0a6e(_0x3f915f,_0x160421,_0x523a7f,_0x382fcc){return _0x4e8e(_0x382fcc-0x255,_0x523a7f);}_0x3477f2&&(_0x473998(_0x363152=>_0x363152[_0x363152[_0x5c0a6e(0x918,0x6c4,0x6d5,0x7df)]-0x1]===_0x3477f2?_0x363152:[..._0x363152,_0x3477f2]),_0x3d6c1a(-0x1));},[]);return{'handleUpArrow':_0x156c75,'handleDownArrow':_0x9935a,'addMessage':_0xd44210};};import{useState as _0x5ad98a,useEffect as _0x133855,useRef as _0x4adbb3}from'react';import{Box as _0x2f74af,Text as _0x4817f4}from'ink';import _0x22634f from'chalk';import{useState as _0x4bc049,useEffect as _0xf8567d,useRef as _0x49dc80,useImperativeHandle as _0x290a52,forwardRef as _0x22d83d}from'react';import{Box as _0x48bbaa,Text as _0x1b54bc}from'ink';import{jsx as _0x458d13,jsxs as _0x101883}from'react/jsx-runtime';var Sm=({isSelected:_0xd9f282,label:_0x40e848})=>{const _0x15ffa7={_0x4aea13:0x14d};function _0x446feb(_0x6a63c3,_0x42ba2f,_0x1ded93,_0x25596b){return _0x3764a2(_0x42ba2f-0x2ab,_0x42ba2f-0x86,_0x1ded93,_0x25596b-0x66);}let {theme:_0xb78c51}=N();return _0x458d13(_0x1b54bc,{'color':_0xd9f282?_0xb78c51[_0x446feb(_0x15ffa7._0x4aea13,0x2e2,0x525,0xf0)]['accent']:void 0x0,'children':_0x40e848});},Mm=({isSelected:_0x12ce7d})=>_0x458d13(_0x48bbaa,{'children':_0x458d13(_0x1b54bc,{'children':_0x12ce7d?'❯\x20':'\x20\x20'})}),ur=_0x22d83d(function({items:_0x2b035b=[],limit:_0xb3d0dc,initialIndex:_0x135cdf=0x0,enableRotation:_0x4049c9=!0x0,focus:_0x3e8cfd=!0x0,itemComponent:_0x21f01d=Sm,indicatorComponent:_0x48e238=Mm,showScrollIndicators:_0x599839=!0x0,onSelect:_0x5e1892,onHighlight:_0x5e87be,onNavigate:_0x4f178f},_0x273ebf){const _0x378462={_0x29d348:0x3ce,_0xe39f88:0x3e9,_0x59a48b:0x85f,_0x4730c5:0x697,_0x4b1e9c:0x8bf,_0x19f2da:0x7c2,_0x255072:0x974,_0x223be9:0x830,_0x36a4ef:0x50f,_0x25dc79:0x532,_0x2a5c1f:0x629,_0x347819:0x22d,_0x477c44:0x355,_0x2c93e0:0x2fc,_0x382791:0x5a8,_0x1290ac:0x450,_0x44bdc6:0x69a,_0x4a5a37:0x81c,_0x3e1042:0x7ad,_0x2ea32d:0x28b,_0x5a8e89:0x278,_0x2f7b0d:0x540,_0xee8aca:0x575,_0x56c1e8:0x6ba,_0x25525b:0x562},_0x79e552={_0x5b14bb:0x56e,_0x2f73ce:0x363,_0x52b56e:0x409,_0x4c7807:0x262},_0x5ae051={_0x12165d:0x10b,_0x330a5c:0x1b0},_0x355180={_0x43f3c1:0x520,_0xd17c21:0x738,_0x2f4831:0x5a0,_0x558f7c:0x192,_0x116d29:0x96,_0x2690a0:0x124,_0x576bbe:0x560,_0x36eb13:0x5fe,_0x818584:0x286,_0x2fc1bb:0x3be,_0x1a27a6:0x1d4,_0x4539cc:0x2f4,_0x561131:0x3ec,_0xae1e6f:0x466,_0x413071:0x23b,_0x18353f:0x521},_0x300140={_0x5a079e:0xe1},_0x24c9af={_0x34ae7e:0x254,_0x40e866:0x10a},_0x48aed6={_0x4a134a:0x2e},_0x3eaf8c={_0x19f017:0x486,_0x5b6647:0x34d,_0x5f19c7:0x34e,_0x1284a1:0x54d,_0x3ffe7b:0x800,_0x58c2c3:0x5e8,_0x423668:0x4b0,_0x3783e0:0x689,_0x436d5b:0x555},_0x32d146={_0xe81333:0x5c3,_0x292604:0x4};let [_0x4fcb78,_0x1fca63]=_0x4bc049(_0x135cdf),[_0x742268,_0x291f9f]=_0x4bc049(0x0),_0x2b1531=_0x49dc80(_t()),_0x4c9dfb=typeof _0xb3d0dc==_0x388978(_0x378462._0x29d348,0x5d4,0x1f1,_0x378462._0xe39f88)&&_0xb3d0dc>0x0&&_0x2b035b[_0x3571b8(0x70f,0x7c3,0x8bf,_0x378462._0x59a48b)]>_0xb3d0dc;function _0x388978(_0xae65f8,_0x4c5c4d,_0x27bea6,_0x4dffd8){return _0x5a69d4(_0xae65f8-0x3,_0xae65f8- -0xf3,_0x4dffd8,_0x4dffd8-0x41);}function _0x3571b8(_0x49806e,_0x1bd2bd,_0x4b0ceb,_0x53a1e6){return _0x3764a2(_0x4b0ceb-_0x32d146._0xe81333,_0x1bd2bd-0x98,_0x1bd2bd,_0x53a1e6-_0x32d146._0x292604);}if(_0x290a52(_0x273ebf,()=>({'getSelectedIndex':()=>_0x4fcb78,'setSelectedIndex':_0x2b317b=>_0x1fca63(_0x2b317b)})),_0xf8567d(()=>{const _0x9d070={_0x24a8bc:0xc4},_0x243176={_0x5ef93b:0x1d7,_0x2ac809:0x5a};function _0x52eafe(_0x1cd547,_0x1ec499,_0x310e20,_0xfbd80b){return _0x388978(_0xfbd80b- -_0x243176._0x5ef93b,_0x1ec499-0x14e,_0x310e20-_0x243176._0x2ac809,_0x1ec499);}function _0x57984a(_0x3a16ff,_0xb71712,_0x4a2677,_0x55c0){return _0x388978(_0x4a2677-0x51,_0xb71712-_0x9d070._0x24a8bc,_0x4a2677-0xc1,_0x55c0);}_0x4fcb78>=_0x2b035b[_0x52eafe(_0x3eaf8c._0x19f017,0x679,_0x3eaf8c._0x5b6647,0x54d)]&&_0x2b035b[_0x52eafe(0x4e4,_0x3eaf8c._0x5f19c7,0x6f2,_0x3eaf8c._0x1284a1)]>0x0&&_0x1fca63(Math[_0x52eafe(_0x3eaf8c._0x3ffe7b,0x572,0x494,_0x3eaf8c._0x58c2c3)](0x0,_0x2b035b[_0x52eafe(_0x3eaf8c._0x423668,_0x3eaf8c._0x3783e0,_0x3eaf8c._0x436d5b,0x54d)]-0x1));},[_0x2b035b[_0x3571b8(0x85c,_0x378462._0x4730c5,_0x378462._0x4b1e9c,_0x378462._0x19f2da)],_0x4fcb78]),_0xf8567d(()=>{function _0x5389a6(_0x48e9da,_0x47dc73,_0x420ff9,_0x8441cc){return _0x388978(_0x47dc73- -0x4d0,_0x47dc73-0x1e0,_0x420ff9-_0x48aed6._0x4a134a,_0x420ff9);}_0x5e87be&&_0x2b035b[_0x5389a6(0x3fc,_0x24c9af._0x34ae7e,0x1f1,_0x24c9af._0x40e866)]>0x0&&_0x2b035b[_0x4fcb78]&&_0x5e87be(_0x2b035b[_0x4fcb78]);},[_0x4fcb78,_0x2b035b,_0x5e87be]),_0xf8567d(()=>{_0x4c9dfb&&_0xb3d0dc!==void 0x0&&(_0x4fcb78<_0x742268?_0x291f9f(_0x4fcb78):_0x4fcb78>=_0x742268+_0xb3d0dc&&_0x291f9f(_0x4fcb78-_0xb3d0dc+0x1));},[_0x4fcb78,_0x742268,_0xb3d0dc,_0x4c9dfb]),Y((_0x218705,_0x2194e3)=>{const _0x215127={_0x35742b:0x125,_0x28c9d7:0x3bd};function _0x19280a(_0x399738,_0x33d962,_0x4d2781,_0x3b994b){return _0x3571b8(_0x399738-_0x215127._0x35742b,_0x3b994b,_0x399738- -_0x215127._0x28c9d7,_0x3b994b-0x99);}let _0x1d852f=Bt(_0x218705,_0x2b1531['current']);function _0x11b5b7(_0x460e5c,_0x2f7651,_0x7b2a50,_0x5aeb68){return _0x388978(_0x5aeb68- -0xec,_0x2f7651-0x4d,_0x7b2a50-_0x300140._0x5a079e,_0x460e5c);}if(_0x2b1531['current']=_0x1d852f[_0x19280a(_0x355180._0x43f3c1,0x707,_0x355180._0xd17c21,_0x355180._0x2f4831)],!_0x1d852f[_0x19280a(_0x355180._0x558f7c,0x9f,-_0x355180._0x116d29,_0x355180._0x2690a0)]){if(_0x2194e3['return']){_0x2b035b[_0x11b5b7(0x7b7,_0x355180._0x576bbe,_0x355180._0x36eb13,0x638)]>0x0&&_0x2b035b[_0x4fcb78]&&_0x5e1892&&_0x5e1892(_0x2b035b[_0x4fcb78]);return;}if(_0x2194e3['upArrow']||_0x218705==='k'&&!_0x2194e3[_0x11b5b7(0x4e9,_0x355180._0x818584,0x607,_0x355180._0x2fc1bb)]&&!_0x2194e3[_0x11b5b7(_0x355180._0x1a27a6,0x318,_0x355180._0x4539cc,_0x355180._0x561131)]){if(_0x4f178f?.('up'))return;_0x1fca63(_0x2b1be8=>_0x4049c9?_0x2b1be8===0x0?_0x2b035b[_0x11b5b7(0x43e,0x641,0x6fd,0x638)]-0x1:_0x2b1be8-0x1:Math['max'](0x0,_0x2b1be8-0x1));return;}if(_0x2194e3[_0x11b5b7(0x57b,0x55b,0x715,0x6a0)]||_0x218705==='j'&&!_0x2194e3['ctrl']&&!_0x2194e3[_0x11b5b7(0x581,_0x355180._0xae1e6f,_0x355180._0x413071,0x3ec)]){if(_0x4f178f?.(_0x19280a(0x33c,0x29f,_0x355180._0x18353f,0x232)))return;_0x1fca63(_0x354c37=>_0x4049c9?_0x354c37===_0x2b035b[_0x19280a(0x502,0x4b0,0x2bd,0x6e5)]-0x1?0x0:_0x354c37+0x1:Math[_0x11b5b7(0x4cd,0x514,0x576,0x4e8)](_0x2b035b[_0x11b5b7(0x526,0x420,0x68c,0x638)]-0x1,_0x354c37+0x1));return;}}},{'isActive':_0x3e8cfd}),_0x2b035b['length']===0x0)return _0x458d13(_0x48bbaa,{});let _0x59e933=_0x4c9dfb&&_0xb3d0dc!==void 0x0?_0x742268:0x0,_0x4df18e=_0x4c9dfb&&_0xb3d0dc!==void 0x0?Math['min'](_0x742268+_0xb3d0dc,_0x2b035b[_0x3571b8(_0x378462._0x255072,_0x378462._0x223be9,0x8bf,0x944)]):_0x2b035b['length'],_0x518511=_0x2b035b[_0x388978(_0x378462._0x36a4ef,0x6c2,_0x378462._0x25dc79,0x491)](_0x59e933,_0x4df18e),_0x2a63b8=_0x742268>0x0,_0x505531=_0x4c9dfb&&_0xb3d0dc!==void 0x0&&_0x742268+_0xb3d0dc<_0x2b035b['length'];return _0x101883(_0x48bbaa,{'flexDirection':_0x388978(0x43a,_0x378462._0x2a5c1f,_0x378462._0x347819,_0x378462._0x477c44),'children':[_0x599839&&_0x458d13(_0x48bbaa,{'marginLeft':0x1,'height':0x1,'children':_0x2a63b8?_0x101883(_0x1b54bc,{'dimColor':!0x0,'children':[_0x388978(0x4d3,0x5a0,_0x378462._0x2c93e0,_0x378462._0x382791),_0x742268,_0x388978(0x575,_0x378462._0x1290ac,_0x378462._0x44bdc6,0x4a4)]}):null}),_0x518511[_0x3571b8(_0x378462._0x4a5a37,_0x378462._0x3e1042,0x950,0x8e7)]((_0x245523,_0x51e666)=>{const _0x228760={_0x198e0b:0xe3};function _0x23c52e(_0x32303,_0x49abdb,_0x1869ad,_0x19dd30){return _0x388978(_0x49abdb- -0x1ba,_0x49abdb-_0x228760._0x198e0b,_0x1869ad-0x163,_0x19dd30);}function _0x476e94(_0x4e50f5,_0x1e92b1,_0x4e04c1,_0x33916a){return _0x388978(_0x33916a- -0x4c,_0x1e92b1-_0x5ae051._0x12165d,_0x4e04c1-_0x5ae051._0x330a5c,_0x4e04c1);}let _0x51eee7=_0x59e933+_0x51e666,_0x268519=_0x51eee7===_0x4fcb78,_0x5869c1=_0x245523[_0x23c52e(0x379,_0x79e552._0x5b14bb,0x5b5,_0x79e552._0x2f73ce)]||String(_0x51eee7);return _0x101883(_0x48bbaa,{'children':[_0x458d13(_0x48e238,{'isSelected':_0x268519}),_0x458d13(_0x21f01d,{'isSelected':_0x268519,'label':_0x245523[_0x23c52e(0x407,_0x79e552._0x52b56e,0x2fb,_0x79e552._0x4c7807)],'value':_0x245523['value']})]},_0x5869c1);}),_0x599839&&_0x458d13(_0x48bbaa,{'marginLeft':0x1,'height':0x1,'children':_0x505531&&_0xb3d0dc!==void 0x0?_0x101883(_0x1b54bc,{'dimColor':!0x0,'children':[_0x388978(0x3d9,_0x378462._0x2ea32d,_0x378462._0x5a8e89,_0x378462._0x2f7b0d),_0x2b035b['length']-_0x742268-_0xb3d0dc,_0x388978(_0x378462._0xee8aca,0x6ab,_0x378462._0x56c1e8,_0x378462._0x25525b)]}):null})]});}),vt=ur;import{Fragment as _0x3012a4,jsx as _0x52079a,jsxs as _0xe950c7}from'react/jsx-runtime';var lo=({items:_0x59f2bc,maxDisplayItems:_0x187499=0xa,placeholder:_0x368121=_0x3764a2(0x2d8,0x3db,0x3a5,0xec),enableRotation:_0x4c78b0=!0x1,showSearchInput:_0x55644c=!0x0,showItemCount:_0xce72a6=!0x0,onSelect:_0x376584,onCancel:_0x220ed5})=>{const _0x52d12f={_0x5dd773:0x817,_0x1fbc20:0x644,_0x46fb53:0x642,_0x5caac7:0x44a,_0x3d49cf:0x496,_0x8117bf:0x52f,_0x50cd97:0x5ac,_0x4682b2:0x59d,_0x30edb2:0x366,_0x2c71eb:0x4c1,_0xb0931c:0x372,_0x5f3d87:0x5b1,_0x38d2f1:0x22b,_0x50e26a:0x3d6,_0x326347:0x57d,_0x526e38:0x405,_0x51407d:0x612,_0x38aa7f:0x450,_0x46a440:0x495,_0x13b2e8:0x433,_0x1e1f5a:0x37b,_0xb64fee:0x2d7,_0x59c852:0x2ff,_0x11444d:0x463,_0x162c45:0x319,_0x335b1a:0x349,_0x4cfd48:0x66d,_0xe40043:0x47b,_0x2d3d8c:0x52e,_0x1e8ad1:0x512,_0x3a1f97:0x4ca,_0xe79c87:0x1e2,_0x1a8f2b:0x212,_0x2ef585:0x3f4,_0x21b29e:0x36e,_0x433083:0x567,_0x162abe:0x410,_0x5d6280:0x37b,_0x22e908:0x4c4,_0x36acf7:0x565},_0xf04f70={_0x3f7609:0x50},_0x4fa52b={_0x17766a:0x2e0,_0x493c7a:0x43b,_0x5ad836:0x79a,_0x1ed1e4:0x558,_0x27ddae:0x1ca,_0x4a3f3a:0x510,_0x179179:0x60e,_0x22632f:0x5f1,_0x363d53:0x469,_0x443737:0x31c,_0x20b833:0x319,_0x2cd525:0x75f,_0x10afb9:0xa5e,_0x17c343:0x8ea,_0x1b0fa3:0x9e9,_0x52948d:0x79d,_0x1142d3:0x804,_0x114717:0x97f,_0x2f637a:0x6d1,_0x2b0fc3:0x7df,_0x3ac3c7:0x94b,_0x5f0658:0x57d,_0x3e9a38:0x479,_0x221a61:0x474,_0x5dc74e:0x7e6},_0x145455={_0x24581a:0xc8,_0x17df5d:0x175,_0x44ab71:0x112,_0x4ac934:0xcd,_0x3fc37d:0x35d,_0x461a6a:0x134,_0x33710a:0x252},_0x4340d1={_0x4c2d69:0x15d},_0x1fc1c7={_0x40a3a0:0x67e},_0x2d09f7={_0xd29703:0x2f1},_0x3000e0={_0x3ac662:0x1d3,_0xda179a:0x1dc};let {theme:_0x5cdf43}=N(),[_0x774e9c,_0x4b188a]=_0x5ad98a(''),[_0x1214f0,_0xac11ab]=_0x5ad98a([]),_0xcd6387=_0x4adbb3(_t()),_0x5b3055=_0x4adbb3(null);function _0x26f44f(_0x138bd6,_0x5581bc,_0x3ed92c,_0x3d22de){return _0x3764a2(_0x3d22de-0x2b5,_0x5581bc-_0x3000e0._0x3ac662,_0x5581bc,_0x3d22de-_0x3000e0._0xda179a);}_0x133855(()=>{const _0x4893b7={_0x503756:0xf0};let _0x49bca0=_0x774e9c[_0x845f90(0x572,_0x1fc1c7._0x40a3a0,0x528,0x710)]()?_0x59f2bc['filter'](_0x29f82b=>_0x29f82b[_0x379236(0x4b0,0x426,0x519,0x6d5)][_0x845f90(0x9d3,0xb1f,0x910,0x6e7)]()[_0x845f90(0x595,0x72c,0x74e,0x841)](_0x774e9c[_0x379236(0x89c,0x6f0,0x70f,0x59f)]())):_0x59f2bc;function _0x845f90(_0x184cfa,_0x1a9597,_0x2971c6,_0x7cf0fe){return _0x4e8e(_0x2971c6-_0x2d09f7._0xd29703,_0x7cf0fe);}function _0x379236(_0x4bed34,_0x2c231c,_0x24b1d4,_0x32a844){return _0x4e8e(_0x24b1d4-_0x4893b7._0x503756,_0x4bed34);}_0xac11ab(_0x49bca0);},[_0x774e9c,_0x59f2bc]),_0x133855(()=>{function _0x7a87c2(_0x1db54d,_0x417a6f,_0x4dea96,_0x29a314){return _0x4e8e(_0x29a314- -_0x4340d1._0x4c2d69,_0x4dea96);}function _0x1f13c6(_0xeb61bc,_0x5d34b1,_0x4a9b15,_0x14f513){return _0x4e8e(_0x5d34b1- -0x31e,_0x4a9b15);}_0x5b3055[_0x7a87c2(0x1ce,_0x145455._0x24581a,0x199,_0x145455._0x17df5d)]&&_0x5b3055[_0x7a87c2(_0x145455._0x44ab71,0x275,_0x145455._0x4ac934,0x175)][_0x1f13c6(-_0x145455._0x3fc37d,-_0x145455._0x461a6a,-_0x145455._0x33710a,-0x29c)](0x0);},[_0x774e9c]),Y((_0x478803,_0x12b0cb)=>{const _0x32bc48={_0x160186:0x360},_0x450087={_0x1c1ca1:0x50};function _0x43ed14(_0x384eed,_0x187e58,_0x3f5d62,_0x50c6e5){return _0x4e8e(_0x3f5d62- -_0x450087._0x1c1ca1,_0x187e58);}function _0x4b129d(_0x22e27d,_0x54b9af,_0x1a5e9f,_0x5d4465){return _0x4e8e(_0x1a5e9f-_0x32bc48._0x160186,_0x54b9af);}let _0x57cfd4=Bt(_0x478803,_0xcd6387[_0x43ed14(0x45b,_0x4fa52b._0x17766a,0x282,_0x4fa52b._0x493c7a)]);if(_0xcd6387['current']=_0x57cfd4[_0x43ed14(_0x4fa52b._0x5ad836,0x3a0,_0x4fa52b._0x1ed1e4,0x6cd)],!_0x57cfd4[_0x43ed14(0x15,0x33a,_0x4fa52b._0x27ddae,0x2b9)]){if(_0x57cfd4['processedInput']!==null&&(_0x478803=_0x57cfd4[_0x43ed14(_0x4fa52b._0x4a3f3a,_0x4fa52b._0x179179,_0x4fa52b._0x22632f,0x588)]),_0x12b0cb[_0x43ed14(0x215,_0x4fa52b._0x363d53,_0x4fa52b._0x443737,_0x4fa52b._0x20b833)]){if(_0x1214f0[_0x4b129d(_0x4fa52b._0x2cd525,_0x4fa52b._0x10afb9,_0x4fa52b._0x17c343,_0x4fa52b._0x1b0fa3)]>0x0&&_0x5b3055[_0x4b129d(_0x4fa52b._0x52948d,0x68a,0x632,0x4b7)]){let _0x143079=_0x5b3055[_0x4b129d(0x820,_0x4fa52b._0x1142d3,0x632,0x4df)][_0x4b129d(_0x4fa52b._0x114717,_0x4fa52b._0x2f637a,0x848,_0x4fa52b._0x2b0fc3)]();_0x376584(_0x1214f0[_0x143079]);}return;}if(_0x12b0cb['escape']){_0x220ed5?.();return;}if(!(_0x12b0cb['upArrow']||_0x12b0cb[_0x4b129d(0x864,0xb95,0x952,_0x4fa52b._0x3ac3c7)])){if(_0x12b0cb[_0x43ed14(_0x4fa52b._0x5f0658,_0x4fa52b._0x3e9a38,0x380,0x2c0)]||_0x12b0cb[_0x43ed14(_0x4fa52b._0x221a61,0xd0,0x2fa,0x486)]){_0x4b188a(_0x3a5c7f=>_0x3a5c7f['slice'](0x0,-0x1));return;}_0x478803&&!_0x12b0cb[_0x4b129d(0x5f9,0x467,0x670,_0x4fa52b._0x5dc74e)]&&!_0x12b0cb['meta']&&_0x4b188a(_0x28178d=>_0x28178d+_0x478803);}}},{'isActive':_0x55644c});function _0x3b037e(_0x44ed14,_0x383a84,_0x3b54b7,_0x3186eb){return _0x5a69d4(_0x44ed14-_0xf04f70._0x3f7609,_0x3b54b7- -0x1b2,_0x3186eb,_0x3186eb-0x1bd);}let _0x28a220=_0x1214f0[_0x26f44f(_0x52d12f._0x5dd773,0x4f3,_0x52d12f._0x1fbc20,_0x52d12f._0x46fb53)](_0xc1df9a=>({'key':_0xc1df9a[_0x26f44f(0x60c,0x458,0x5da,0x50b)],'label':_0xc1df9a[_0x3b037e(0x2f1,0x5d0,0x504,0x674)],'value':_0xc1df9a})),_0x294a09=_0x774e9c?_0xe950c7(_0x3012a4,{'children':[_0x52079a(_0x4817f4,{'children':_0x774e9c}),_0x52079a(_0x4817f4,{'color':_0x5cdf43[_0x3b037e(_0x52d12f._0x5caac7,0x433,0x37a,0x4ee)]?.[_0x3b037e(_0x52d12f._0x3d49cf,_0x52d12f._0x8117bf,0x682,_0x52d12f._0x50cd97)]||_0x3b037e(_0x52d12f._0x4682b2,0x1a9,_0x52d12f._0x30edb2,_0x52d12f._0x2c71eb),'children':'█'})]}):_0x52079a(_0x4817f4,{'children':_0x368121[_0x26f44f(0x4dd,_0x52d12f._0xb0931c,0x51c,_0x52d12f._0x5f3d87)]>0x0?_0x22634f[_0x3b037e(_0x52d12f._0x38d2f1,0x4f6,_0x52d12f._0x50e26a,0x258)](_0x368121[0x0])+_0x22634f[_0x26f44f(_0x52d12f._0x326347,0x41e,_0x52d12f._0x526e38,0x457)](_0x368121[_0x3b037e(_0x52d12f._0x51407d,0x45d,_0x52d12f._0x38aa7f,_0x52d12f._0x46a440)](0x1)):_0x22634f[_0x3b037e(0x601,_0x52d12f._0x13b2e8,0x3d6,0x219)]('\x20')});return _0xe950c7(_0x2f74af,{'flexDirection':_0x3b037e(0x568,0x582,_0x52d12f._0x1e1f5a,0x30a),'children':[_0x55644c&&_0xe950c7(_0x2f74af,{'marginBottom':0x1,'children':[_0x52079a(_0x4817f4,{'color':_0x5cdf43[_0x3b037e(_0x52d12f._0xb64fee,_0x52d12f._0x59c852,0x37a,0x445)]?.['label']||_0x3b037e(_0x52d12f._0x11444d,_0x52d12f._0x162c45,_0x52d12f._0x335b1a,0x430),'children':_0x26f44f(_0x52d12f._0x4cfd48,_0x52d12f._0xe40043,0x335,_0x52d12f._0x2d3d8c)}),_0x294a09]}),_0x1214f0[_0x3b037e(0x4e2,_0x52d12f._0x1e8ad1,0x665,_0x52d12f._0x3a1f97)]===0x0?_0x52079a(_0x2f74af,{'children':_0x52079a(_0x4817f4,{'color':_0x26f44f(_0x52d12f._0xe79c87,_0x52d12f._0x50e26a,_0x52d12f._0x1a8f2b,_0x52d12f._0x2ef585),'children':_0x3b037e(_0x52d12f._0x21b29e,0x465,_0x52d12f._0x433083,_0x52d12f._0x162abe)})}):_0xe950c7(_0x2f74af,{'flexDirection':_0x3b037e(0x318,0x137,_0x52d12f._0x5d6280,0x2e7),'children':[_0xce72a6&&_0x52079a(_0x2f74af,{'marginBottom':0x1,'children':_0xe950c7(_0x4817f4,{'dimColor':!0x0,'children':[_0x3b037e(0x5e1,0x599,_0x52d12f._0x22e908,_0x52d12f._0x36acf7),_0x1214f0['length'],'\x20matches\x20(↑↓\x20to\x20navigate,\x20Enter\x20to\x20select)']})}),_0x52079a(ur,{'ref':_0x5b3055,'items':_0x28a220,'limit':_0x187499,'enableRotation':_0x4c78b0,'focus':!0x0,'showScrollIndicators':!0x0,'onSelect':_0x18cad7=>_0x376584(_0x18cad7[_0x3b037e(0x4e3,0x725,0x5bf,0x3ff)]),'itemComponent':({isSelected:_0x193b97,label:_0x293867})=>_0x52079a(_0x4817f4,{'color':_0x193b97?_0x5cdf43[_0x3b037e(0x2fe,0x1d3,0x37a,0x59f)]?.[_0x3b037e(0x142,0x531,0x36a,0x450)]||_0x5cdf43['colors'][_0x3b037e(0x7e9,0x6c4,0x5f7,0x582)]:_0x5cdf43[_0x3b037e(0x491,0x48e,0x37a,0x264)]?.[_0x3b037e(0x4d9,0x6c8,0x677,0x858)]||'white','bold':_0x193b97,'children':_0x293867}),'indicatorComponent':({isSelected:_0x5b7290})=>_0x52079a(_0x4817f4,{'children':_0x5b7290?'❯\x20':'\x20\x20'})})]})]});};import{jsx as _0x40b657,jsxs as _0x4746d8}from'react/jsx-runtime';var Lm=_0x170466(({busy:_0x5903aa,showToolApproval:_0x43385f=!0x1,focus:_0x118cfe=!0x0,useAbsoluteMenu:_0x231b4a=!0x1,commandItems:_0x350600,vimModeEnabled:_0x5241c2=!0x1,memory:_0x51ffa7,onInputChanged:_0xb7a7d7,onInputSubmit:_0x31f382,onVimModeChanged:_0x3ae525},_0x24c9dd)=>{const _0x5207c6={_0x3cbfda:0x30d,_0x234337:0x21e,_0x26cea5:0x126,_0x3c53a5:0xf1,_0x54afb9:0xc1,_0x1d5c05:0x579,_0x55f809:0x34a,_0xd94def:0x1e5,_0x53a110:0x2ab,_0x2f9937:0x1e4,_0x3a10f6:0x19c,_0x1d560f:0xcc,_0x1e07b0:0xa9,_0x3c15c9:0x169,_0x53c763:0x7a,_0x310255:0x2d0,_0x4ce46a:0x461,_0x3c7b12:0x3cb,_0x54f8a2:0x632,_0x4311a3:0x335,_0x337795:0x2c3,_0x3850ee:0x1e7,_0x47027a:0x394,_0x597095:0x5b6,_0x346386:0x4c6,_0xbda191:0x36b,_0xe0ebc0:0x3a0,_0x2b7d3f:0x688},_0x341ba5={_0x38574:0x19c},_0x1f91a1={_0xacfe1f:0x182},_0x2546ac={_0x55cc0b:0x13c,_0x5b6ede:0x63,_0x10a5ca:0x3c0,_0x3805c1:0x345,_0x3bb450:0x39f,_0x39eb42:0x702,_0x50f570:0x91,_0x58047a:0x142,_0x1fc489:0x30,_0x1f610f:0x13c,_0xe20a6e:0x1dc,_0x2e275a:0x1d2},_0x52850a={_0x191942:0x41,_0x1121b6:0x4f4},_0x5c1015={_0x1ae7a7:0x1df,_0x1e293b:0x18f},_0x5743e0={_0x940991:0x4f1,_0x5ecb56:0x1c6,_0x359068:0x6d,_0x36c06e:0x190,_0x2325ef:0x1c2,_0x3e3973:0x2ea,_0x5ddc87:0x22b},_0x55b35c={_0x48d409:0x1da},_0x3ac927={_0x478b45:0x17d,_0x35b557:0xc3},_0x11f376={_0x3ffb48:0x1b9,_0x3dca06:0x1bd,_0x4065d3:0x69,_0x1dc65d:0x21c,_0x4f429f:0x7d0,_0x185202:0xaaa,_0x412061:0x371,_0x489bc0:0x3b4,_0x118443:0x431,_0x22ee7b:0x14a,_0x413ee0:0x2af,_0x305411:0x38b},_0x18adcb={_0x4ab54e:0xd7,_0x5e35f0:0x81},_0x5d3645={_0x5c8d7f:0x73},_0x1c890b={_0x5a38f7:0x15f},_0x33c3ae={_0x5a7031:0x12f,_0x1303c6:0xd1,_0x3dbf47:0x25f,_0x28b923:0x7b2,_0x419dbb:0x7ba,_0x251afe:0x876},_0x3fb26a={_0x199da8:0xf2,_0x341ea0:0x4f,_0x5ccc2b:0x1aa},_0x1ced2f={_0x3ad510:0x3e9,_0x3439cb:0x2f1,_0x56188:0x3c0,_0x2fe6ca:0x37d,_0xb0f2c8:0x45a,_0x48b70f:0x3e0,_0x2e85d3:0x47a,_0xe56239:0x573},_0x4e71b2={_0x45c154:0x1ed,_0x4bb621:0x167};let {theme:_0x3a1ec1}=N(),[_0x3dd791,_0x1d17e3]=_0x855255(''),[_0x216697,_0xd54a79]=_0x855255(!0x1),[_0x47d28b,_0x380910]=_0x855255(0x0),[_0xc8516,_0x457bbc]=_0x855255(!0x1),[_0x44d376,_0x4eedee]=_0x855255('insert'),{cols:_0x592af7}=z(),_0x31c7c2=_0x17c8c7(_0x3b9a39=>{_0x1d17e3(_0x3b9a39),_0x380910(_0x4a2bd1=>_0x4a2bd1+0x1),_0xb7a7d7?.(_0x3b9a39);},[_0xb7a7d7]),{handleUpArrow:_0x5996f9,handleDownArrow:_0x440e42,addMessage:_0x2687bd}=Qi({'memory':_0x51ffa7,'currentInput':_0x3dd791,'onRecall':_0x31c7c2}),_0x55ea0a=_0x17c8c7(_0x17f05f=>{_0xd54a79(_0x17f05f);},[]);_0x259508(_0x24c9dd,()=>({'clear':()=>{_0x1d17e3(''),_0x55ea0a(!0x1),_0x380910(_0x73d653=>_0x73d653+0x1),_0xb7a7d7&&_0xb7a7d7('');},'getValue':()=>_0x3dd791,'setValue':_0x5ac457=>{_0x1d17e3(_0x5ac457),_0xb7a7d7&&_0xb7a7d7(_0x5ac457);},'setValueForRecall':_0x30422c=>{_0x1d17e3(_0x30422c),_0x380910(_0x50d967=>_0x50d967+0x1),_0xb7a7d7&&_0xb7a7d7(_0x30422c);},'appendValue':_0x23c0b7=>{_0x1d17e3(_0x499245=>{let _0x9b3543=_0x499245+_0x23c0b7;return _0xb7a7d7&&_0xb7a7d7(_0x9b3543),_0x9b3543;}),_0x380910(_0x4bdf56=>_0x4bdf56+0x1);},'closeMenu':()=>{_0x55ea0a(!0x1);}}),[_0x55ea0a,_0xb7a7d7,_0x3dd791]);let _0x4067cf=_0x350600[_0x5f4c3c(0x45d,_0x5207c6._0x3cbfda,0x22e,0x379)](_0x156773=>{const _0x149ad2={_0x3ef5ac:0x4b};let _0x28363f=_0x3dd791['split'](/\s+/)[0x0];function _0x165653(_0x25a620,_0x4267e4,_0x337eb8,_0x45fbab){return _0x5f4c3c(_0x25a620-0x33,_0x4267e4,_0x337eb8-_0x149ad2._0x3ef5ac,_0x45fbab-0x138);}function _0x3ced3c(_0x2f654b,_0x1042fa,_0xd28b05,_0x34e322){return _0x5f4c3c(_0x2f654b-_0x4e71b2._0x45c154,_0xd28b05,_0xd28b05-0x30,_0x34e322-_0x4e71b2._0x4bb621);}return _0x156773[_0x165653(0x361,_0x1ced2f._0x3ad510,0x4ee,0x409)]['toLowerCase']()[_0x3ced3c(0x403,0x37b,_0x1ced2f._0x3439cb,0x3b1)](_0x28363f[_0x165653(0x486,0x3e4,0x4f2,0x544)]())||_0x156773[_0x3ced3c(_0x1ced2f._0x56188,0x1f0,0x136,_0x1ced2f._0x2fe6ca)][_0x3ced3c(_0x1ced2f._0xb0f2c8,_0x1ced2f._0x48b70f,_0x1ced2f._0x2e85d3,_0x1ced2f._0xe56239)]()['includes'](_0x28363f['toLowerCase']());});_0x40d8fb(()=>{const _0x385c70={_0x2c5daf:0x21,_0x24d715:0x39};function _0x19bcb9(_0x2e1d18,_0x1644c8,_0x1e77cd,_0xd626f5){return _0x5f4c3c(_0x2e1d18-_0x3fb26a._0x199da8,_0xd626f5,_0x1e77cd-_0x3fb26a._0x341ea0,_0x2e1d18- -_0x3fb26a._0x5ccc2b);}function _0x29af51(_0x2d0966,_0xe6255f,_0x5540d5,_0x5b2ce4){return _0x5f4c3c(_0x2d0966-_0x385c70._0x2c5daf,_0x5540d5,_0x5540d5-_0x385c70._0x24d715,_0xe6255f-0x5d5);}_0x4eedee(_0x5241c2?_0x19bcb9(-_0x33c3ae._0x5a7031,-_0x33c3ae._0x1303c6,-0xb8,-_0x33c3ae._0x3dbf47):_0x29af51(_0x33c3ae._0x28b923,_0x33c3ae._0x419dbb,0x6da,_0x33c3ae._0x251afe));},[_0x5241c2]);let _0x5f3b8e=_0xb358a=>{_0x1d17e3(_0xb358a);let _0x486c79=_0xb358a[_0x8f2eff(-0x39,_0x5d3645._0x5c8d7f,-0x12b,-0x73)]('/');function _0x8f2eff(_0x556bcd,_0x24eb96,_0x13fe7c,_0x3dff4f){return _0x5f4c3c(_0x556bcd-0x41,_0x3dff4f,_0x13fe7c-_0x1c890b._0x5a38f7,_0x556bcd- -0x8c);}_0x55ea0a(_0x486c79),_0xb7a7d7&&_0xb7a7d7(_0xb358a),_0x486c79||_0x457bbc(!0x1);},_0x29d231=_0x17c8c7(()=>{const _0x2a04db={_0x48519c:0x9f,_0x504c68:0x118,_0x5a2146:0xba};function _0xf74d8b(_0xda1bbe,_0x644e58,_0x274aeb,_0x2f4d31){return _0x5f4c3c(_0xda1bbe-_0x2a04db._0x48519c,_0x274aeb,_0x274aeb-_0x2a04db._0x504c68,_0x2f4d31-_0x2a04db._0x5a2146);}function _0x146652(_0x51e4b9,_0x49e405,_0x3ed2c2,_0x12558b){return _0x5f4c3c(_0x51e4b9-_0x18adcb._0x4ab54e,_0x51e4b9,_0x3ed2c2-_0x18adcb._0x5e35f0,_0x12558b-0x5c8);}if(!_0x3dd791['startsWith']('/'))return;let _0x55f403=_0x3dd791[_0xf74d8b(-0x16c,_0x11f376._0x3ffb48,-_0x11f376._0x3dca06,_0x11f376._0x4065d3)](/\s+/),_0xb69ec9=_0x55f403[0x0],_0x51bdee=_0x55f403[_0xf74d8b(0x407,0x114,0x38d,_0x11f376._0x1dc65d)](0x1)['join']('\x20'),_0x4874aa=_0x350600[_0x146652(_0x11f376._0x4f429f,_0x11f376._0x185202,0x754,0x941)](_0x97124b=>_0x97124b['value'][_0xf74d8b(0x52c,0x67f,0x40a,0x4c6)]()[_0x146652(0x85e,0x688,0x541,0x61b)](_0xb69ec9[_0xf74d8b(0x68c,0x4f4,0x2d2,0x4c6)]()));if(_0x4874aa[_0xf74d8b(_0x11f376._0x412061,_0x11f376._0x489bc0,0x3ba,_0x11f376._0x118443)]>0x0){let _0x452878=_0x51bdee?_0x4874aa[0x0][_0xf74d8b(0x581,_0x11f376._0x22ee7b,_0x11f376._0x413ee0,_0x11f376._0x305411)]+'\x20'+_0x51bdee:_0x4874aa[0x0]['value'];_0x1d17e3(_0x452878),_0x55ea0a(!0x0),_0x380910(_0xefd966=>_0xefd966+0x1),_0xb7a7d7?.(_0x452878);}},[_0x3dd791,_0x350600,_0x55ea0a,_0xb7a7d7]);Y((_0x4b6934,_0x41b514)=>{function _0x27d0aa(_0x31ad07,_0x508cb3,_0x371202,_0x491bfd){return _0x5f4c3c(_0x31ad07-_0x3ac927._0x478b45,_0x491bfd,_0x371202-_0x3ac927._0x35b557,_0x508cb3-0x26);}function _0x24a5cf(_0x1dfd01,_0x2365fd,_0xa535eb,_0x529ab6){return _0x5f4c3c(_0x1dfd01-0x1b0,_0x529ab6,_0xa535eb-_0x55b35c._0x48d409,_0xa535eb-0x5d);}if(!(!_0x216697||_0x4067cf[_0x27d0aa(0x1e1,0x39d,_0x5743e0._0x940991,_0x5743e0._0x5ecb56)]===0x0)){if(_0x41b514[_0x24a5cf(0x2,-_0x5743e0._0x359068,_0x5743e0._0x36c06e,0x2cf)]){if(_0x3dd791[_0x24a5cf(_0x5743e0._0x2325ef,-0x5b,0xb0,0x163)]('/')&&!_0xc8516){_0x29d231();return;}_0x457bbc(_0x8d4a83=>!_0x8d4a83),_0x380910(_0x49ee7a=>_0x49ee7a+0x1);return;}if(_0x41b514['upArrow']||_0x41b514[_0x24a5cf(0x23c,_0x5743e0._0x3e3973,0x43c,0x5e5)]){_0xc8516||_0x457bbc(!0x0);return;}if(_0x41b514[_0x27d0aa(0x457,_0x5743e0._0x5ddc87,0x59,0x23f)]){_0xc8516?(_0x457bbc(!0x1),_0x380910(_0x318cf4=>_0x318cf4+0x1)):_0x55ea0a(!0x1);return;}}},{'isActive':_0x216697&&_0x4067cf[_0x5f4c3c(0x469,_0x5207c6._0x234337,0x1f0,0x377)]>0x0});let _0x1f9815=_0x17c8c7(_0x385e38=>{_0x4eedee(_0x385e38),_0x3ae525&&_0x3ae525(_0x385e38);},[_0x3ae525]),_0x478213=async(_0x25c973,_0x1455dc)=>{if(_0x1455dc&&!_0xc8516)return;function _0x21a33d(_0x2f76fe,_0x42cd01,_0x548b72,_0x323151){return _0x5f4c3c(_0x2f76fe-_0x5c1015._0x1ae7a7,_0x2f76fe,_0x548b72-0x19d,_0x42cd01- -_0x5c1015._0x1e293b);}let _0x4a1633=_0x25c973[_0x21a33d(-0x39a,-0x16b,0xe0,-0xc)]();if(_0x4a1633[_0x21a33d(-0x30,-_0x2546ac._0x55cc0b,_0x2546ac._0x5b6ede,-0x1cd)]('/')){let _0x435d9b=_0x4a1633[_0x21a33d(-_0x2546ac._0x10a5ca,-0x1e0,-0xf8,-_0x2546ac._0x3805c1)](/\s+/),_0x733ddc=_0x435d9b[0x0],_0x29d1d9=_0x435d9b['slice'](0x1)['join']('\x20')[_0x342d25(_0x2546ac._0x3bb450,_0x2546ac._0x39eb42,0x40e,0x557)]();if(_0x350600['find'](_0x2dcfc4=>_0x2dcfc4[_0x21a33d(0xca,0x142,0x199,0x19f)]===_0x733ddc)){_0x1d17e3(''),_0x55ea0a(!0x1),_0x457bbc(!0x1),_0xb7a7d7?.(''),await _0x31f382?.(_0x4a1633);return;}if(_0x216697){if(_0x4067cf[_0x342d25(0xa30,0x816,0x6c2,0x8aa)]>0x0){let _0x2c36d6=_0x4067cf[0x0],_0x32185a=_0x29d1d9?_0x2c36d6[_0x21a33d(_0x2546ac._0x50f570,_0x2546ac._0x58047a,_0x2546ac._0x1fc489,0x2a9)]+'\x20'+_0x29d1d9:_0x2c36d6['value'];_0x1d17e3(''),_0x55ea0a(!0x1),_0x457bbc(!0x1),_0xb7a7d7?.(''),await _0x31f382?.(_0x32185a);}return;}}function _0x342d25(_0x43697f,_0x4abe71,_0x250dd3,_0x4139b7){return _0x4ed35f(_0x43697f-0xad,_0x4abe71-_0x52850a._0x191942,_0x4139b7-_0x52850a._0x1121b6,_0x43697f);}_0x4a1633&&!_0x4a1633[_0x21a33d(-0x2b8,-_0x2546ac._0x1f610f,-_0x2546ac._0xe20a6e,-_0x2546ac._0x2e275a)]('/')&&_0x2687bd(_0x4a1633),_0x1d17e3(''),_0x55ea0a(!0x1),_0x457bbc(!0x1),_0xb7a7d7?.(''),await _0x31f382?.(_0x25c973);},_0x529040=_0x216697&&_0x4067cf['length']>0x0&&_0x4746d8(_0x4784d9,{'flexDirection':'column','width':_0x592af7,'children':[_0x40b657(_0x4784d9,{'backgroundColor':_0x3a1ec1[_0x4ed35f(_0x5207c6._0x26cea5,0x1a5,_0x5207c6._0x3c53a5,-_0x5207c6._0x54afb9)]['accent'],'children':_0x4746d8(_0x2bb11d,{'color':_0x3a1ec1[_0x5f4c3c(0x2f4,0x23f,0x252,0x435)]['black'],'bold':!0x0,'children':['\x20','Commands\x20(',_0x4067cf[_0x5f4c3c(0x320,_0x5207c6._0x1d5c05,0x27d,0x377)],_0x4ed35f(_0x5207c6._0x55f809,_0x5207c6._0xd94def,_0x5207c6._0x53a110,0x185)]})}),_0x40b657(lo,{'items':_0x4067cf,'onSelect':_0x321372=>_0x478213(_0x321372[_0x4ed35f(0x2b6,0x366,0x310,0x16e)],!0x0),'showSearchInput':!0x1,'showItemCount':!0x1})]});function _0x4ed35f(_0xdfd15f,_0x4bd99d,_0x5ebb00,_0x5314b4){return _0x3764a2(_0x5ebb00-0xba,_0x4bd99d-_0x1f91a1._0xacfe1f,_0x5314b4,_0x5314b4-0x1db);}function _0x5f4c3c(_0x2227fe,_0xbbede0,_0x52aa26,_0x123ba5){return _0x5a69d4(_0x2227fe-_0x341ba5._0x38574,_0x123ba5- -0x4a0,_0xbbede0,_0x123ba5-0xd7);}return _0x4746d8(_0x4784d9,{'flexDirection':_0x4ed35f(_0x5207c6._0x2f9937,_0x5207c6._0x3a10f6,_0x5207c6._0x1d560f,-0x175),'borderStyle':_0x5f4c3c(_0x5207c6._0x1e07b0,_0x5207c6._0x26cea5,-_0x5207c6._0x3c15c9,_0x5207c6._0x53c763),'borderBottomDimColor':!0x0,'borderTop':!0x1,'borderBottom':!0x0,'borderLeft':!0x1,'borderRight':!0x1,'position':_0x4ed35f(0x3be,_0x5207c6._0x310255,_0x5207c6._0x4ce46a,_0x5207c6._0x3c7b12),'children':[_0x529040,_0x4746d8(_0x4784d9,{'flexShrink':0x0,'minWidth':0x1,'children':[_0x5903aa?_0x40b657(_0x5e8cce,{'type':_0x5f4c3c(_0x5207c6._0x54f8a2,_0x5207c6._0x4311a3,_0x5207c6._0x337795,0x42f)}):_0x40b657(_0x2bb11d,{'color':_0x3a1ec1[_0x5f4c3c(_0x5207c6._0x3850ee,0x466,0x2a3,_0x5207c6._0x47027a)][_0x4ed35f(_0x5207c6._0x597095,_0x5207c6._0x346386,_0x5207c6._0xbda191,_0x5207c6._0xe0ebc0)],'bold':!0x0,'children':'❯'}),_0x40b657(_0x4784d9,{'minWidth':0x1}),_0x40b657(_0x4784d9,{'width':_0x592af7-0x2,'children':_0x40b657(Re,{'value':_0x3dd791,'onChange':_0x5f3b8e,'onSubmit':_0x478213,'placeholder':_0x4ed35f(_0x5207c6._0x2b7d3f,0x602,0x464,0x53a),'focus':_0x118cfe&&!_0x43385f&&!_0xc8516,'vimModeEnabled':_0x5241c2,'onVimModeChange':_0x1f9815,'onUpArrow':_0x216697?void 0x0:_0x5996f9,'onDownArrow':_0x216697?void 0x0:_0x440e42},_0x47d28b)})]})]});}),In=_0x8b03de['memo'](Lm);import{jsx as _0x1609c5,jsxs as _0x525698}from'react/jsx-runtime';var $m=_0x3b00c4(function({busy:_0x801e6d=!0x1,messageQueueLength:_0x840634=0x0,vimModeEnabled:_0x2d1483=!0x1,hasActiveCommand:_0x9d677f=!0x1,memory:_0x464f8b,focus:_0x14fdfc=!0x0,useAbsoluteMenu:_0x113cf8=!0x1,abortRef:_0x34ada6,onNotification:_0x357e01,onBusyChange:_0x2411ce,onInputChanged:_0x2fc7f2,onInputSubmit:_0x9be055,onVimModeToggle:_0x4c0865,onVimModeChanged:_0x732c13},_0x51c5a7){const _0x22fbe3={_0x5a9d65:0x810,_0x36b34a:0x6d8,_0xc1ea7e:0x9e2,_0x4d0880:0x74,_0x45fe19:0x196,_0x239f66:0xa0,_0x1323a8:0x7d3,_0x9f65c1:0x59f,_0x26d28a:0x26b,_0x8f575a:0x27b,_0x447dcc:0x489,_0x154342:0x5e0,_0x47fb41:0x2b8,_0x3a776c:0x561,_0x6d730f:0x2d0,_0x35a151:0x37d,_0xac2c90:0x3b,_0x3a4e90:0x90,_0x37d633:0x614,_0x5a334c:0x493,_0xdd1d10:0xab,_0x12484e:0x215,_0x2a3e75:0xb8,_0x20b7a9:0x3d9,_0x2ab628:0x295,_0x27c8ab:0x37d},_0x1f4c88={_0x2648b5:0x778,_0x3abd19:0x80f,_0x2bcbe8:0x918,_0x19f2ff:0x5d7,_0x2d2203:0x732,_0x39bcc0:0x562,_0x20a202:0x54d,_0x1020a9:0x59b,_0x3b8396:0x49a,_0x3a7c5c:0x55e,_0x115ffd:0x483,_0x1b07b2:0x667,_0x222a5a:0x3bb,_0x5614bb:0x2c2,_0x102109:0x7a1,_0x11ca7f:0x592,_0x43a32a:0x7a4,_0x3f681b:0x756,_0x2c1e36:0x43f,_0x206080:0x5f1,_0x4c3889:0x6e8,_0x422809:0x31d,_0x8e5704:0x347,_0x864d1d:0x5ff,_0x21611f:0x7e6,_0x223acf:0x915,_0x108b13:0x7bb,_0x3b1550:0x586,_0x23d345:0x665,_0x3865d1:0x4cb,_0xf70b4e:0x427,_0x3bc244:0x791,_0xeafcaa:0x806,_0x1bc717:0x6af,_0x4fcb27:0x497,_0xfa3156:0x631,_0x47aa7f:0x31f,_0x53be2e:0x88f,_0x6a23cf:0x776,_0x5e28ee:0x76f,_0xfbae81:0x527,_0x23b032:0x54d,_0x35b965:0x308,_0x262e71:0x635,_0x16cd77:0x341,_0x45b376:0x644,_0x5d920c:0x54d,_0x13248a:0x520,_0x348018:0x3a6,_0x15ef97:0x5ac,_0x5ccf21:0x3f2,_0x2aabd8:0x4c0,_0x22e7cc:0x4f7,_0x1dd555:0x812,_0x5a0dc3:0xa41,_0x278426:0x6ff,_0x43e7ae:0x576,_0x4a7648:0x4bc,_0x23e583:0x78f,_0x3430be:0x6b6,_0x2f03d9:0x4f3,_0x37f077:0x53d,_0x14a9b7:0x701,_0x46be12:0x8d8,_0x5918ee:0x815,_0x500993:0x776,_0x3c8b05:0x59a,_0xefbc58:0x3a0,_0x1ae2dd:0x38e,_0x2cb8b0:0x54d,_0xae11c8:0x58b,_0xed5ae7:0x67e,_0x13c8d6:0x572},_0x411153={_0x3619dd:0x34a,_0x22c9a1:0x496,_0x51491d:0x38b,_0x222c2b:0x3b5,_0x369baf:0x86c,_0x5b93b7:0x67b,_0x2b89f1:0x6d9},_0x56597d={_0x273a37:0xdd,_0x256a6f:0x1ed,_0x720d59:0xbc,_0x2f3f6c:0x4ba},_0x24ec6d={_0x3c23a1:0x11b},_0x7ba7eb={_0x58a41a:0xe2},_0x436f2a={_0x400d8f:0x4b8,_0x1621e9:0x304,_0x88c6ed:0x1bc,_0x2d416b:0x8f,_0xedb6d4:0x4e},_0x550c29={_0xdf17c8:0x116};let {commands:_0x3603de}=ar(),{pendingApproval:_0x171c22,toolApprovalMode:_0x3d84e2,handleApprovalResponse:_0x53e8e7}=Le(),{theme:_0x426f61}=N(),{altMode:_0x481df3}=Li(),_0x4e53d4=_0x39817c('none'),[_0x57f321,_0x5a4c5a]=_0x4ad396([]),_0x503096=_0x39817c(!0x1);_0x5b70ad(()=>{function _0x1875b2(_0x348359,_0x586110,_0x2e6148,_0x14235e){return _0x4e8e(_0x348359- -_0x550c29._0xdf17c8,_0x2e6148);}function _0x42e526(_0x4eaaf3,_0x5762eb,_0x1d5a83,_0x4884b9){return _0x4e8e(_0x4884b9-0x372,_0x4eaaf3);}if(!_0x801e6d&&_0x57f321[_0x1875b2(0x474,0x261,_0x436f2a._0x400d8f,0x681)]>0x0&&_0x9be055&&!_0x503096[_0x1875b2(0x1bc,_0x436f2a._0x1621e9,-0x59,0x375)]){_0x503096[_0x1875b2(_0x436f2a._0x88c6ed,-0x45,0x1d2,-_0x436f2a._0x2d416b)]=!0x0;let [_0x357d74,..._0x559de8]=_0x57f321;_0x5a4c5a(_0x559de8),_0x9be055(_0x357d74)[_0x1875b2(0xf8,0x254,0x2ac,-_0x436f2a._0xedb6d4)](()=>{_0x503096['current']=!0x1;});}},[_0x801e6d,_0x57f321,_0x9be055]);let _0x2e1316=_0x281731(async _0x245c5c=>{_0x245c5c['trim']()&&(_0x801e6d&&!_0x245c5c['startsWith']('/')?(_0x5a4c5a(_0x488fb2=>[..._0x488fb2,_0x245c5c]),_0x357e01?.('Message\x20queued,\x20will\x20be\x20sent\x20when\x20current\x20request\x20completes',0x3e8)):await _0x9be055?.(_0x245c5c));},[_0x801e6d,_0x357e01,_0x9be055]);function _0xba644a(_0x255e64,_0x305b11,_0xaab2d8,_0x2bef9a){return _0x3764a2(_0x255e64-0x4f7,_0x305b11-0x1a5,_0x2bef9a,_0x2bef9a-_0x7ba7eb._0x58a41a);}function _0x25fdab(_0x533170,_0x2df0c4,_0x3e5be4,_0x54ce9a){return _0x3764a2(_0x54ce9a-0x81,_0x2df0c4-0x74,_0x533170,_0x54ce9a-_0x24ec6d._0x3c23a1);}Y((_0x329766,_0x290a7e)=>{const _0x5355ba={_0x124102:0x142,_0x5c46af:0xdb},_0x47c085={_0x1b0ad0:0x27d,_0x4ce9a6:0x68},_0x27892f={_0xa6ecfe:0x2d0},_0x3ec1f2={_0x3982ee:0x480},_0x49fafe={_0x16dbd4:0x9d,_0x5e1190:0x125},_0x510ede={_0x17e239:0x27b};function _0x539cc4(_0x371aae,_0x3e3f6f,_0xba7f77,_0x556e3f){return _0x4e8e(_0x3e3f6f-_0x510ede._0x17e239,_0xba7f77);}function _0x35316d(_0x5f235a,_0x4f5cbb,_0x35d6d4,_0x39a9f6){return _0x4e8e(_0x39a9f6-0x2c0,_0x35d6d4);}if(_0x290a7e[_0x35316d(_0x1f4c88._0x2648b5,_0x1f4c88._0x3abd19,_0x1f4c88._0x2bcbe8,0x6d8)]&&_0x34ada6&&_0x357e01&&_0x2411ce){if(_0x171c22)return;if(_0x801e6d){if(_0x4e53d4[_0x35316d(_0x1f4c88._0x19f2ff,0x783,0x608,0x592)]===_0x539cc4(0x6d8,_0x1f4c88._0x2d2203,0x881,0x889)){if(typeof _0x51c5a7!='function'&&_0x51c5a7?.[_0x539cc4(0x43f,0x54d,0x4fa,_0x1f4c88._0x39bcc0)]&&_0x51c5a7[_0x539cc4(0x718,_0x1f4c88._0x20a202,_0x1f4c88._0x1020a9,0x429)][_0x539cc4(0x623,0x567,0x33b,0x525)]&&_0x51c5a7[_0x539cc4(0x3dd,0x54d,_0x1f4c88._0x3b8396,_0x1f4c88._0x3a7c5c)][_0x539cc4(_0x1f4c88._0x115ffd,0x567,_0x1f4c88._0x1b07b2,0x4cf)]()['trim']()!==''){_0x357e01('Press\x20ESC\x20again\x20to\x20clear\x20input\x20(or\x20once\x20more\x20to\x20stop\x20process)',0x5dc),_0x4e53d4[_0x539cc4(0x502,0x54d,0x621,_0x1f4c88._0x222a5a)]=_0x539cc4(0x576,0x4f3,_0x1f4c88._0x5614bb,0x3ac),setTimeout(()=>{const _0x582bbe={_0x435d40:0x32,_0x4fc147:0x580};function _0x1120b9(_0x34f49f,_0x2a6c7e,_0x1b4493,_0x538984){return _0x35316d(_0x34f49f-0x155,_0x2a6c7e-_0x582bbe._0x435d40,_0x2a6c7e,_0x1b4493- -_0x582bbe._0x4fc147);}function _0x45ffd1(_0x478827,_0x88447c,_0x5325e9,_0xf0fd3e){return _0x539cc4(_0x478827-_0x49fafe._0x16dbd4,_0x5325e9- -0x278,_0x88447c,_0xf0fd3e-_0x49fafe._0x5e1190);}_0x4e53d4[_0x1120b9(_0x56597d._0x273a37,_0x56597d._0x256a6f,0x12,-_0x56597d._0x720d59)]=_0x45ffd1(0x681,0x580,_0x56597d._0x2f3f6c,0x4f5);},0x5dc);return;}_0x357e01('Press\x20ESC\x20again\x20to\x20stop\x20the\x20process',0x5dc),_0x4e53d4[_0x35316d(_0x1f4c88._0x102109,0x73d,0x5e2,_0x1f4c88._0x11ca7f)]=_0x35316d(_0x1f4c88._0x43a32a,0x9ac,_0x1f4c88._0x3f681b,0x7e6),setTimeout(()=>{const _0x480155={_0x5dc73c:0x12b,_0xcc3be3:0x342};function _0x3c484a(_0x3393e1,_0x35b742,_0x1d5028,_0x36d60b){return _0x539cc4(_0x3393e1-_0x480155._0x5dc73c,_0x1d5028- -_0x480155._0xcc3be3,_0x36d60b,_0x36d60b-0x74);}_0x4e53d4['current']=_0x3c484a(0x426,0x359,0x3f0,_0x3ec1f2._0x3982ee);},0x5dc);return;}if(_0x4e53d4[_0x35316d(0x774,0x4ef,_0x1f4c88._0x2c1e36,0x592)]===_0x539cc4(_0x1f4c88._0x206080,0x4f3,0x3e5,_0x1f4c88._0x4c3889)){_0x357e01(_0x35316d(_0x1f4c88._0x422809,_0x1f4c88._0x8e5704,_0x1f4c88._0x864d1d,0x4f8),0x5dc),typeof _0x51c5a7!=_0x35316d(0x838,_0x1f4c88._0x21611f,_0x1f4c88._0x223acf,_0x1f4c88._0x108b13)&&_0x51c5a7?.['current']&&_0x51c5a7[_0x35316d(_0x1f4c88._0x3b1550,0x446,0x716,_0x1f4c88._0x11ca7f)]['clear'](),_0x4e53d4[_0x35316d(_0x1f4c88._0x23d345,0x46e,0x755,0x592)]=_0x35316d(0x5be,0x9cf,0x7de,0x7e6),setTimeout(()=>{const _0x34f214={_0x3ec44b:0x6c,_0x4c01c3:0xd2,_0x16db78:0x5fe};function _0x11a4cc(_0x572085,_0x26079e,_0x3bb00e,_0x48c990){return _0x539cc4(_0x572085-0x1ac,_0x572085- -_0x27892f._0xa6ecfe,_0x48c990,_0x48c990-0x112);}function _0xafe5d2(_0x39f9e9,_0x42236f,_0x21930f,_0xbf5567){return _0x35316d(_0x39f9e9-_0x34f214._0x3ec44b,_0x42236f-_0x34f214._0x4c01c3,_0x21930f,_0xbf5567- -_0x34f214._0x16db78);}_0x4e53d4[_0x11a4cc(_0x47c085._0x1b0ad0,_0x47c085._0x4ce9a6,0x1bd,0x349)]=_0x11a4cc(0x462,0x66f,0x4a1,0x606);},0x5dc);return;}if(_0x4e53d4['current']==='armed-stop'){_0x357e01(null),_0x4e53d4[_0x539cc4(_0x1f4c88._0x3865d1,0x54d,_0x1f4c88._0xf70b4e,_0x1f4c88._0x3bc244)]=_0x35316d(_0x1f4c88._0xeafcaa,0x763,0x6e4,0x777);try{_0x34ada6[_0x35316d(0x776,0x5f9,_0x1f4c88._0x1bc717,0x592)]?.[_0x539cc4(_0x1f4c88._0x4fcb27,_0x1f4c88._0xfa3156,0x6bf,0x65e)]();}catch{}finally{_0x2411ce(!0x1);}return;}return;}if(_0x4e53d4[_0x539cc4(_0x1f4c88._0x47aa7f,0x54d,0x40c,0x474)]==='none'&&typeof _0x51c5a7!=_0x539cc4(_0x1f4c88._0x53be2e,_0x1f4c88._0x6a23cf,0x847,_0x1f4c88._0x5e28ee)&&_0x51c5a7?.[_0x539cc4(_0x1f4c88._0xfbae81,_0x1f4c88._0x23b032,_0x1f4c88._0x35b965,_0x1f4c88._0x262e71)]&&_0x51c5a7[_0x539cc4(_0x1f4c88._0x16cd77,_0x1f4c88._0x20a202,0x486,0x41e)][_0x35316d(_0x1f4c88._0x45b376,0x588,0x681,0x5ac)]&&_0x51c5a7[_0x539cc4(0x74f,_0x1f4c88._0x5d920c,_0x1f4c88._0x13248a,0x3f7)][_0x35316d(0x7e4,_0x1f4c88._0x348018,0x760,_0x1f4c88._0x15ef97)]()[_0x35316d(_0x1f4c88._0x5ccf21,_0x1f4c88._0x2aabd8,0x419,_0x1f4c88._0x22e7cc)]()!==''){_0x357e01(_0x539cc4(0x878,_0x1f4c88._0x1dd555,_0x1f4c88._0x5a0dc3,_0x1f4c88._0x278426),0x5dc),_0x4e53d4[_0x35316d(0x54a,0x784,0x7ac,0x592)]=_0x35316d(_0x1f4c88._0x43e7ae,0x73c,_0x1f4c88._0x4a7648,0x538),setTimeout(()=>{const _0x54b738={_0x4ab2a5:0xdc};function _0x167754(_0x2213a3,_0x3acad4,_0x3b96bf,_0x4b9484){return _0x35316d(_0x2213a3-_0x54b738._0x4ab2a5,_0x3acad4-0x2e,_0x3acad4,_0x2213a3- -0x2fe);}function _0x1d935b(_0x1ea485,_0x27ddab,_0x2a2dad,_0x1902d5){return _0x539cc4(_0x1ea485-_0x5355ba._0x124102,_0x27ddab- -0xb7,_0x1902d5,_0x1902d5-_0x5355ba._0x5c46af);}_0x4e53d4[_0x1d935b(_0x411153._0x3619dd,_0x411153._0x22c9a1,_0x411153._0x51491d,_0x411153._0x222c2b)]=_0x1d935b(_0x411153._0x369baf,_0x411153._0x5b93b7,0x7ff,_0x411153._0x2b89f1);},0x5dc);return;}if(_0x4e53d4[_0x35316d(0x59b,0x7db,_0x1f4c88._0x23e583,_0x1f4c88._0x11ca7f)]===_0x539cc4(_0x1f4c88._0x3430be,_0x1f4c88._0x2f03d9,0x59a,_0x1f4c88._0x37f077)){_0x357e01(null),_0x4e53d4['current']=_0x35316d(_0x1f4c88._0x14a9b7,0x7b6,_0x1f4c88._0x46be12,0x777),typeof _0x51c5a7!=_0x539cc4(_0x1f4c88._0x5918ee,_0x1f4c88._0x500993,0x621,0x7fb)&&_0x51c5a7?.[_0x35316d(_0x1f4c88._0x3c8b05,_0x1f4c88._0xefbc58,_0x1f4c88._0x1ae2dd,0x592)]&&_0x51c5a7[_0x539cc4(0x5cf,_0x1f4c88._0x2cb8b0,_0x1f4c88._0xae11c8,0x45d)][_0x35316d(_0x1f4c88._0xed5ae7,0x6a4,0x598,_0x1f4c88._0x13c8d6)]();return;}}},{'isActive':!_0x9d677f&&!_0x171c22});let _0x587159=_0x320e0b(()=>_0x3603de[_0x25fdab(0x4cf,0x254,0x478,0x40e)](_0x57b923=>({'label':_0x57b923['id']+_0x25fdab(0x3f4,0x501,0x253,0x364)+_0x57b923['description'],'value':_0x57b923['id']})),[_0x3603de]);switch(_0x171c22?_0xba644a(0x6b2,0x5a7,0x731,0x5bb):_0x9d677f?'command':_0xba644a(_0x22fbe3._0x5a9d65,0x623,_0x22fbe3._0x36b34a,_0x22fbe3._0xc1ea7e)){case _0xba644a(0x6b2,0x786,0x7d8,0x676):return!_0x171c22||!_0x3d84e2?null:_0x1609c5(wn,{'toolCalls':_0x171c22[_0x25fdab(_0x22fbe3._0x4d0880,-_0x22fbe3._0x45fe19,_0x22fbe3._0x239f66,-0x44)],'onApproval':_0x53e8e7});case _0xba644a(0x637,_0x22fbe3._0x1323a8,0x4f9,_0x22fbe3._0x9f65c1):return _0x481df3?_0x1609c5(_0x245aa1,{'position':_0x25fdab(_0x22fbe3._0x26d28a,0x469,0x2a0,_0x22fbe3._0x8f575a),'bottom':0x0,'zIndex':0xa,'backgroundColor':_0x426f61[_0x25fdab(-0xd,-0xdf,0x28d,0xb8)][_0xba644a(_0x22fbe3._0x447dcc,_0x22fbe3._0x154342,0x263,0x2c1)],'children':_0x1609c5(Sn,{})}):_0x1609c5(Sn,{});default:return _0x525698(_0x245aa1,{'flexDirection':'column','marginTop':0x2,'children':[_0x57f321[_0x25fdab(_0x22fbe3._0x47fb41,_0x22fbe3._0x3a776c,_0x22fbe3._0x6d730f,_0x22fbe3._0x35a151)]>0x0&&_0x525698(_0x245aa1,{'flexDirection':_0x25fdab(-_0x22fbe3._0xac2c90,-_0x22fbe3._0x3a4e90,0x16f,0xd9),'marginLeft':0x2,'children':[_0x525698(_0x4c1719,{'color':_0x426f61[_0xba644a(0x52e,_0x22fbe3._0x37d633,0x65a,0x4c7)][_0xba644a(0x6c3,_0x22fbe3._0x5a334c,0x8bb,0x90c)],'dimColor':!0x0,'children':['⟀\x20',_0x57f321[0x0]]}),_0x57f321['length']>0x1&&_0x525698(_0x4c1719,{'color':_0x426f61[_0x25fdab(0x1e8,_0x22fbe3._0xdd1d10,_0x22fbe3._0x12484e,_0x22fbe3._0x2a3e75)][_0x25fdab(0x95,_0x22fbe3._0x20b7a9,_0x22fbe3._0x2ab628,0x24d)],'dimColor':!0x0,'children':['\x20','+\x20',_0x57f321[_0x25fdab(0x55b,0x231,0x536,_0x22fbe3._0x27c8ab)]-0x1]})]}),_0x1609c5(In,{'ref':_0x51c5a7,'busy':_0x801e6d,'messageQueueLength':_0x840634,'showToolApproval':!!_0x171c22,'commandItems':_0x587159,'vimModeEnabled':_0x2d1483,'memory':_0x464f8b,'focus':_0x14fdfc,'useAbsoluteMenu':_0x113cf8,'onInputChanged':_0x2fc7f2,'onInputSubmit':_0x2e1316,'onVimModeToggle':_0x4c0865,'onVimModeChanged':_0x732c13})]});}});import{useState as _0x4883db,useRef as _0x456f02}from'react';import{Box as _0x4469a4,Text as _0x37f9f2}from'ink';import{jsx as _0x5060bd,jsxs as _0x5020b5}from'react/jsx-runtime';var Hm=_0xc6c96d=>{const _0xe8014c={_0x3f0a78:0x74b,_0x484239:0x6a0,_0x3448de:0x5e2,_0x467393:0x5f8,_0x4d4e62:0x6cd,_0x73785c:0x8c1,_0x31aee9:0x713,_0x2e8d19:0x2e0,_0x2bdb61:0x46a,_0x5e20d1:0xa3b,_0x3af01d:0x8b4,_0x181fe1:0x541,_0x4c3046:0x84b,_0x97f095:0x3f7,_0x2ead9b:0x2f0,_0x19c4f6:0x472,_0x30fcca:0x5c8,_0x4ac9b5:0x538,_0x2d0342:0x60c,_0x222295:0x760,_0x48cc9b:0x6f8,_0x31629d:0x4ea,_0x17d999:0x593,_0x15a576:0x465,_0xb98477:0x33f},_0x4ff479={_0x525b2e:0x10f,_0x4eba7d:0x1cd};let _0x42a865=new Date(_0xc6c96d),_0x820b13=Math['floor']((new Date()[_0x19f53c(0x7b5,0x618,0x910,_0xe8014c._0x3f0a78)]()-_0x42a865['getTime']())/(0x3e8*0x3c)),_0xef2cf5=Math[_0x19f53c(0x611,0x4d0,0x786,_0xe8014c._0x484239)](_0x820b13/0x3c),_0x2c3858=Math['floor'](_0xef2cf5/0x18);function _0x19f53c(_0x364f28,_0x391d5a,_0x26ad1b,_0x884816){return _0x5a69d4(_0x364f28-0x12a,_0x884816-0xc7,_0x364f28,_0x884816-0x22);}if(_0x820b13<0x5)return'Just\x20now';if(_0x820b13<0x3c)return _0x820b13+_0x27f5d1(_0xe8014c._0x3448de,_0xe8014c._0x467393,0x460,0x4ec);function _0x27f5d1(_0x45336d,_0x323717,_0x4e9825,_0x2bc511){return _0x3764a2(_0x2bc511-0x3d4,_0x323717-_0x4ff479._0x525b2e,_0x4e9825,_0x2bc511-_0x4ff479._0x4eba7d);}if(_0xef2cf5<0x18){let _0x277a4a=_0x42a865[_0x19f53c(0x6bc,0x7c5,_0xe8014c._0x4d4e62,0x739)]('en-US',{'hour':_0x19f53c(0x806,_0xe8014c._0x73785c,_0xe8014c._0x31aee9,0x6c1),'minute':_0x27f5d1(_0xe8014c._0x2e8d19,0x42f,_0xe8014c._0x2bdb61,0x33f),'hour12':!0x0});return _0xef2cf5<0x6?_0xef2cf5+'h\x20ago':_0x19f53c(0x7bd,_0xe8014c._0x5e20d1,_0xe8014c._0x3af01d,0x96b)+_0x277a4a;}if(_0x2c3858===0x1)return _0x27f5d1(_0xe8014c._0x181fe1,0x401,0x5f4,0x486)+_0x42a865['toLocaleTimeString']('en-US',{'hour':_0x19f53c(0x903,_0xe8014c._0x4c3046,0x48e,0x6c1),'minute':_0x27f5d1(_0xe8014c._0x97f095,_0xe8014c._0x2ead9b,_0xe8014c._0x19c4f6,0x33f),'hour12':!0x0});if(_0x2c3858<0x7){let _0x84aa22=_0x42a865['toLocaleDateString'](_0x19f53c(0x6cf,_0xe8014c._0x30fcca,0x6a1,_0xe8014c._0x4ac9b5),{'weekday':_0x27f5d1(0x594,_0xe8014c._0x2d0342,0x528,0x5fe)}),_0x35bed2=_0x42a865['toLocaleTimeString'](_0x19f53c(0x3a7,_0xe8014c._0x222295,0x534,0x538),{'hour':_0x27f5d1(_0xe8014c._0x48cc9b,0x2d0,0x379,0x4b3),'minute':'2-digit','hour12':!0x0});return _0x84aa22+'\x20'+_0x35bed2;}return _0x42a865['toLocaleDateString'](_0x19f53c(_0xe8014c._0x31629d,0x319,0x689,0x538),{'month':_0x27f5d1(0x7cc,0x814,0x640,0x5fe),'day':'numeric','hour':_0x19f53c(_0xe8014c._0x17d999,0x6d8,0x64b,0x6c1),'minute':_0x27f5d1(0x350,0x1af,_0xe8014c._0x15a576,_0xe8014c._0xb98477),'hour12':!0x0});},jm=(_0xf6d75a,_0x271c04=0x32)=>{const _0x16ce73={_0x266b84:0x7f3,_0x1e427b:0x6ec,_0x488100:0x68e,_0x391584:0x804,_0x3d5376:0x2dc,_0x706856:0x88a,_0x1f2018:0x7d1,_0x2bb377:0x3f8,_0xa6e87b:0x70d,_0x289f77:0x4f3,_0x4d8e65:0x3c7,_0x489c32:0x5f9,_0x427b10:0x491,_0x59cda6:0x409,_0x2764e5:0x5f1,_0x5b9158:0x70d,_0x2eec0d:0x647,_0x176417:0x83c,_0x392abe:0x914,_0x204533:0x429,_0x2767e7:0x6b9,_0x464cfb:0x5be,_0xa35ab5:0x7a6,_0x5dfca5:0x5c5,_0x58c59b:0x5a1,_0x1c181f:0x4a8,_0x134f63:0x64f,_0x4b77b9:0x6f3,_0xaec909:0x7d0},_0x1db07b={_0x2eac75:0x80,_0x20502b:0x2f},_0x5d6c0d={_0x1e55a8:0xa3};if(!_0xf6d75a)return _0x5e934f(_0x16ce73._0x266b84,_0x16ce73._0x1e427b,0x6cd,0x69f);let _0x56958c=_0xf6d75a[_0x5e934f(_0x16ce73._0x488100,0x3fe,0x5bb,_0x16ce73._0x391584)](/\s+/g,'\x20')[_0x21061c(0x3df,0x419,0x26b,_0x16ce73._0x3d5376)]();if(_0x56958c['includes'](_0x5e934f(0x999,_0x16ce73._0x706856,0x8bd,_0x16ce73._0x1f2018)))return _0x21061c(_0x16ce73._0x2bb377,_0x16ce73._0xa6e87b,_0x16ce73._0x289f77,_0x16ce73._0x4d8e65);if(_0x56958c[_0x21061c(_0x16ce73._0x489c32,0x658,_0x16ce73._0x427b10,0x49f)](_0x21061c(0x35d,_0x16ce73._0x59cda6,0x47e,_0x16ce73._0x2764e5))||_0x56958c['includes']('Error'))return _0x5e934f(_0x16ce73._0x5b9158,_0x16ce73._0x2eec0d,0x620,0x3e3);if(_0x56958c[_0x5e934f(0x92e,0x9de,_0x16ce73._0x176417,0x7b3)](_0x5e934f(0x76b,0x81e,_0x16ce73._0x392abe,0x734)))return'Empty\x20session';function _0x5e934f(_0x2b9197,_0x590883,_0x5c10f4,_0x12454b){return _0x3764a2(_0x5c10f4-0x66d,_0x590883-_0x5d6c0d._0x1e55a8,_0x590883,_0x12454b-0x15a);}if(_0x56958c[_0x21061c(_0x16ce73._0x204533,_0x16ce73._0x2767e7,_0x16ce73._0x464cfb,_0x16ce73._0xa35ab5)]<=_0x271c04)return _0x56958c;let _0x18279c=_0x56958c[_0x5e934f(0x663,_0x16ce73._0x5dfca5,_0x16ce73._0x58c59b,_0x16ce73._0x1c181f)]('\x20'),_0x886c41='';function _0x21061c(_0x4ee2e,_0x5b1884,_0x4cf03d,_0x4f0396){return _0x3764a2(_0x4cf03d-0x2c2,_0x5b1884-_0x1db07b._0x2eac75,_0x4ee2e,_0x4f0396-_0x1db07b._0x20502b);}for(let _0x52bc9f of _0x18279c){if((_0x886c41+'\x20'+_0x52bc9f)[_0x21061c(_0x16ce73._0x134f63,0x5f9,0x5be,0x427)]>_0x271c04-0x3)break;_0x886c41+=(_0x886c41?'\x20':'')+_0x52bc9f;}return _0x886c41+(_0x886c41[_0x21061c(_0x16ce73._0x4b77b9,0x673,0x5be,_0x16ce73._0xaec909)]<_0x271c04?_0x21061c(0x7f,-0x22,0x1f2,0x4c):'');},Km=(_0x5ed0e7,_0x5667d4)=>_0x5ed0e7?_0x5ed0e7[_0x5a69d4(0x764,0x6ea,0x5c4,0x534)]('Successfully')||_0x5ed0e7['includes'](_0x5a69d4(0x5b4,0x76b,0x8ce,0x5d5))?{'icon':'✓','color':_0x5a69d4(0x63f,0x81f,0x996,0x88d)}:_0x5ed0e7[_0x3764a2(0x1cf,0x23b,0x1ea,0xf3)](_0x5a69d4(0x808,0x6d7,0x55a,0x777))||_0x5ed0e7['includes'](_0x5a69d4(0x666,0x6af,0x8ad,0x7fc))?{'icon':'✗','color':_0x5a69d4(0xa4d,0x89e,0x839,0x66b)}:_0x5ed0e7[_0x5a69d4(0x591,0x6ea,0x5bb,0x5a6)](_0x3764a2(0x1f4,0x28a,0xfe,0x25))?{'icon':'⚠','color':_0x5a69d4(0x733,0x65a,0x477,0x7ce)}:_0x5667d4===0x1?{'icon':'○','color':_0x5a69d4(0x894,0x713,0x68e,0x8d2)}:{'icon':'●','color':_0x3764a2(0x2db,0x27c,0x318,0x2ab)}:{'icon':'○','color':_0x5a69d4(0x8b8,0x713,0x542,0x89b)},Wm=_0x5015a4=>_0x5015a4===0x1?{'text':'1\x20msg','color':_0x5a69d4(0x78f,0x713,0x688,0x6d7)}:_0x5015a4<0xa?{'text':_0x5015a4+_0x3764a2(0x17f,0x26f,0x268,0x1b6),'color':_0x3764a2(-0x20,0x22c,0xa4,-0x13f)}:_0x5015a4<0x32?{'text':_0x5015a4+'\x20msgs','color':'green'}:{'text':_0x5015a4+_0x5a69d4(0x659,0x69a,0x7b1,0x792),'color':_0x5a69d4(0x464,0x4a0,0x6be,0x2a5)},Vm=({item:_0x4b9a4a,isSelected:_0xa7db33,cols:_0x3395c0=0x3c})=>{const _0x128e16={_0x5387a1:0x23,_0x5278a2:0x101,_0x815b41:0x259,_0x111066:0x18e,_0x58b0a5:0x719,_0x1453da:0x7df,_0x683889:0x58f,_0x21364a:0x6b6,_0x1a29e3:0x7c7,_0x3c60e6:0x186,_0x420d6a:0x67,_0x3d1472:0x19c,_0x1e3719:0x1f5,_0x56b24a:0x2e0,_0xd10487:0x3e0,_0x47b612:0x39b,_0x35a697:0x177,_0x5771c5:0x38f,_0x5a9086:0x333,_0x44ce34:0x41,_0x189ea5:0x321,_0x186fea:0x2cb,_0x2b300e:0x181,_0x106664:0xe4,_0x10e054:0x1b},_0x5bbf18={_0x420a03:0x1a3,_0x187c72:0x14d,_0x1beb29:0x11e};function _0xac226(_0x35d922,_0x416f68,_0x57c819,_0x3c1f9f){return _0x3764a2(_0x35d922-0x3e,_0x416f68-0x183,_0x57c819,_0x3c1f9f-0x16e);}let {theme:_0x22e856}=N(),_0x4dc6cd=Hm(_0x4b9a4a['timestamp']),_0x4d8f03=_0x4b9a4a['topic']||_0x4b9a4a[_0xac226(-_0x128e16._0x5387a1,_0x128e16._0x5278a2,-_0x128e16._0x815b41,_0x128e16._0x111066)],_0x72603b=jm(_0x4d8f03,_0x3395c0-0x5),_0x37e6a9=Km(_0x4b9a4a['lastMessage'],_0x4b9a4a[_0x441574(0x5e0,0x803,_0x128e16._0x58b0a5,0x908)]),_0xf0e2b0=Wm(_0x4b9a4a[_0x441574(0x7f4,_0x128e16._0x1453da,_0x128e16._0x58b0a5,_0x128e16._0x683889)]),_0xed2033=_0xa7db33?_0x22e856['history'][_0x441574(_0x128e16._0x21364a,0x4ad,0x6c0,_0x128e16._0x1a29e3)]:_0x22e856[_0xac226(_0x128e16._0x3c60e6,0x4a,_0x128e16._0x420d6a,_0x128e16._0x3d1472)]['unselected'],_0x2331a0=!_0xa7db33;function _0x441574(_0x466c02,_0x46b6fa,_0x56cc12,_0x5e5ffe){return _0x5a69d4(_0x466c02-_0x5bbf18._0x420a03,_0x56cc12- -_0x5bbf18._0x187c72,_0x5e5ffe,_0x5e5ffe-_0x5bbf18._0x1beb29);}return _0x5020b5(_0x4469a4,{'flexDirection':_0x441574(_0x128e16._0x1e3719,_0x128e16._0x56b24a,_0x128e16._0xd10487,_0x128e16._0x47b612),'height':0x3,'paddingX':0x0,'paddingY':0x0,'children':[_0x5060bd(_0x4469a4,{'justifyContent':_0xac226(0x367,0x3f2,0x267,0x53e),'height':0x1,'children':_0x5020b5(_0x4469a4,{'children':[_0x5060bd(_0x37f9f2,{'color':_0x37e6a9[_0xac226(_0x128e16._0x35a697,_0x128e16._0x5771c5,_0x128e16._0x5a9086,_0x128e16._0x44ce34)],'bold':!0x0,'children':_0x37e6a9['icon']}),_0x5060bd(_0x37f9f2,{'children':'\x20'}),_0x5020b5(_0x37f9f2,{'color':_0xed2033,'bold':_0xa7db33,'dimColor':_0x2331a0,'children':[_0x4dc6cd,_0xac226(_0x128e16._0x189ea5,_0x128e16._0x186fea,_0x128e16._0x2b300e,0x35d)]}),_0x5060bd(_0x37f9f2,{'color':_0x22e856['history'][_0xac226(-0x51,_0x128e16._0x106664,0xc,-_0x128e16._0x10e054)],'dimColor':_0x2331a0,'children':_0xf0e2b0['text']})]})}),_0x5060bd(_0x4469a4,{'height':0x1,'width':_0x3395c0-0x2,'children':_0x5060bd(_0x37f9f2,{'color':_0xed2033,'dimColor':_0x2331a0,'children':_0x72603b})})]});},aa=0x7,zm=({availableSessions:_0x4be901})=>{const _0x386e8d={_0xe0695b:0x190,_0x4928ab:0xe8,_0x59876b:0x12f,_0x52e47b:0x15d,_0x4f7c89:0x17f,_0x77dd44:0xb6,_0x23900b:0x5,_0x587ae6:0x1af,_0x12462f:0x118,_0x3a2e6a:0x15,_0xb837d7:0x189,_0x1fb57d:0x31c,_0x16f5de:0xe,_0x1c7fc4:0x5,_0x2cdaae:0xdc,_0x173702:0xfc,_0x14872d:0x248,_0x24b28d:0x6a,_0x1033c7:0x84,_0x529d53:0x9f,_0x5e5776:0x2d1,_0x226181:0x1f8,_0x1f9f73:0x3d2,_0x1ac5b8:0x2e7,_0x19fdde:0x372,_0x27db59:0x2ad,_0x268b43:0x406,_0x23d97e:0x51f,_0xd5a1fa:0x67,_0x296685:0x185,_0x56a2e7:0x26d,_0x4b9377:0x1d2,_0x5af564:0x242,_0x1e3958:0x2a2,_0x46ed2d:0x1bd,_0x560a66:0x36b,_0x26954e:0x38d,_0x40fac4:0x268,_0xbe14f6:0x98,_0x17eb5c:0x3b8,_0x3c392c:0x463},_0x3429dd={_0x5eb833:0x3be,_0x50863f:0x397,_0x582e22:0x6ac,_0x2c7a93:0x368,_0x4fa425:0x477,_0x59c66e:0x5cd,_0x470cd5:0x6cf,_0x328306:0x655,_0x3529e6:0x725,_0x35323f:0x634},_0x1f33b2={_0x29ab48:0x542,_0x5a46d1:0x117},_0x58a983={_0x266445:0x499,_0x34bdb5:0xc9,_0x17026c:0x134},_0x4d3519={_0x229cbf:0x4b4,_0x501891:0x30e,_0x43badf:0x4e7,_0x31b64c:0x2bd},_0x3338c4={_0x2c2970:0x192,_0x3b7054:0x445},_0x179b99={_0x494cef:0x177,_0x13952a:0x65e,_0x303b4f:0x16c};let {theme:_0x339f89}=N(),{cols:_0x524baf}=z(),[_0x412082,_0x5a4552]=_0x4883db(0x0),_0x56cd20=_0x456f02(null);function _0x507e67(_0x3f2a79,_0x219033,_0x10d54e,_0x45a521){return _0x5a69d4(_0x3f2a79-_0x179b99._0x494cef,_0x219033- -_0x179b99._0x13952a,_0x10d54e,_0x45a521-_0x179b99._0x303b4f);}function _0x25524d(_0x1746c7,_0xff24e,_0x4aa295,_0x46a71f){return _0x5a69d4(_0x1746c7-_0x3338c4._0x2c2970,_0xff24e- -_0x3338c4._0x3b7054,_0x1746c7,_0x46a71f-0x1d2);}return Y((_0x391592,_0x239006)=>{function _0x5eaa0a(_0x1f75ab,_0x2ed62f,_0x16315a,_0x5e61a7){return _0x4e8e(_0x16315a-0xcf,_0x5e61a7);}_0x239006[_0x5eaa0a(_0x4d3519._0x229cbf,_0x4d3519._0x501891,_0x4d3519._0x43badf,_0x4d3519._0x31b64c)];},{'isActive':!0x0}),_0x5020b5(_0x4469a4,{'marginLeft':0x2,'marginTop':0x1,'flexDirection':_0x25524d(_0x386e8d._0xe0695b,_0x386e8d._0x4928ab,-_0x386e8d._0x59876b,_0x386e8d._0x52e47b),'children':[_0x5020b5(_0x4469a4,{'marginBottom':0x1,'justifyContent':_0x507e67(_0x386e8d._0x4f7c89,0x1e6,0x341,0x33c),'children':[_0x5020b5(_0x4469a4,{'children':[_0x5020b5(_0x37f9f2,{'color':_0x339f89['history']['title'],'bold':!0x0,'children':[_0x25524d(-0xd1,0x116,-0x90,0x2ac),'\x20']}),_0x5060bd(_0x37f9f2,{'color':_0x339f89[_0x507e67(-_0x386e8d._0x77dd44,_0x386e8d._0x23900b,-0x3d,-_0x386e8d._0x587ae6)][_0x507e67(-_0x386e8d._0x12462f,-0x185,-0x115,-0xea)],'dimColor':!0x0,'children':_0x25524d(-_0x386e8d._0x3a2e6a,_0x386e8d._0xb837d7,_0x386e8d._0x1fb57d,0xb8)})]}),_0x4be901['length']>aa&&_0x5020b5(_0x37f9f2,{'color':_0x339f89[_0x507e67(-_0x386e8d._0x16f5de,_0x386e8d._0x1c7fc4,-_0x386e8d._0x2cdaae,0x4)][_0x507e67(_0x386e8d._0x173702,_0x386e8d._0x14872d,_0x386e8d._0x24b28d,0x132)],'dimColor':!0x0,'children':[_0x5060bd(_0x37f9f2,{'children':String(_0x412082+0x1)}),_0x507e67(-_0x386e8d._0x1033c7,-_0x386e8d._0x529d53,-_0x386e8d._0x5e5776,-_0x386e8d._0x226181),_0x5060bd(_0x37f9f2,{'children':String(_0x4be901[_0x25524d(0x4fa,_0x386e8d._0x1f9f73,_0x386e8d._0x1ac5b8,_0x386e8d._0x19fdde)])})]})]}),_0x4be901[_0x25524d(_0x386e8d._0x27db59,_0x386e8d._0x1f9f73,_0x386e8d._0x268b43,_0x386e8d._0x23d97e)]===0x0?_0x5020b5(_0x4469a4,{'flexDirection':_0x25524d(0x287,0xe8,0x26b,-0xb5),'paddingX':0x1,'children':[_0x5060bd(_0x37f9f2,{'color':_0x339f89[_0x25524d(0x2e4,0x21e,0x11c,0x392)][_0x507e67(-_0x386e8d._0xd5a1fa,-_0x386e8d._0x296685,-0x1fc,-0x119)],'dimColor':!0x0,'children':_0x25524d(_0x386e8d._0x56a2e7,0x378,_0x386e8d._0x4b9377,_0x386e8d._0x5af564)}),_0x5060bd(_0x37f9f2,{'color':_0x339f89[_0x25524d(0x425,0x21e,_0x386e8d._0x1e3958,_0x386e8d._0x46ed2d)][_0x507e67(-_0x386e8d._0x560a66,-0x185,-_0x386e8d._0x26954e,-_0x386e8d._0x40fac4)],'dimColor':!0x0,'children':_0x507e67(_0x386e8d._0x23900b,-0x6c,-0xdc,_0x386e8d._0xbe14f6)})]}):_0x5060bd(vt,{'limit':aa,'items':_0x4be901[_0x25524d(_0x386e8d._0x17eb5c,_0x386e8d._0x3c392c,0x49e,0x372)]((_0x333d00,_0x2e65e4)=>({'key':_0x333d00[_0x25524d(0x408,0x26f,0x180,0x33f)],'label':_0x333d00['sessionId'],'value':_0x333d00})),'itemComponent':_0x2a425e=>{function _0x209e58(_0x3641e2,_0xabe3d4,_0x400e79,_0x1702a1){return _0x25524d(_0x400e79,_0x3641e2-_0x58a983._0x266445,_0x400e79-_0x58a983._0x34bdb5,_0x1702a1-_0x58a983._0x17026c);}let _0x3f39ca=_0x2a425e['value']['sessionId'];function _0x483d82(_0x44c0a3,_0x2af191,_0x3b523a,_0x579944){return _0x507e67(_0x44c0a3-0xee,_0x3b523a-_0x1f33b2._0x29ab48,_0x579944,_0x579944-_0x1f33b2._0x5a46d1);}if(_0x2a425e[_0x483d82(_0x3429dd._0x5eb833,_0x3429dd._0x50863f,0x4c4,_0x3429dd._0x582e22)]&&_0x56cd20[_0x209e58(0x5b3,_0x3429dd._0x2c7a93,0x7f6,_0x3429dd._0x4fa425)]!==_0x3f39ca){let _0xbe24d8=_0x4be901['findIndex'](_0x390f2b=>_0x390f2b['sessionId']===_0x3f39ca);_0xbe24d8!==-0x1&&(_0x56cd20['current']=_0x3f39ca,setTimeout(()=>_0x5a4552(_0xbe24d8),0x0));}return _0x5060bd(Vm,{'cols':_0x524baf-0x2,'item':_0x2a425e[_0x483d82(_0x3429dd._0x59c66e,_0x3429dd._0x470cd5,_0x3429dd._0x328306,_0x3429dd._0x3529e6)],'isSelected':!!_0x2a425e[_0x209e58(_0x3429dd._0x35323f,0x770,0x691,0x445)]});},'onSelect':_0x51ba81=>k['emit'](_0x25524d(0x62d,0x45a,0x2bc,0x44c),_0x51ba81['value'])})]});};import{Box as _0x214939,Text as _0x3f8423}from'ink';import{useState as _0x481e63,useEffect as _0x4aadf3,useCallback as _0x1171a6}from'react';import _0x5b56c0 from'ink-gradient';import{getAvailableProviders as _0x5b9fb9,getProviderLabel as _0x2944f2}from'@nuvin/nuvin-core';var qm=[_0x5a69d4(0x878,0x731,0x85f,0x566),'anthropic'];function Xm(){return[..._0x5b9fb9(),...qm];}function la(_0x41f8ed){const _0xac738f={_0x4e64af:0x334,_0x4431ff:0x195,_0x1db6b9:0x3ed,_0x1748d4:0x45a,_0x2854f6:0x331},_0x2af8f3={_0x24fc40:0xee,_0x2334ff:0x6e},_0x1852f0={_0x7181f:0x439,_0x324923:0x8c,_0x42dae1:0x7f};let _0x40613e=_0x2944f2(_0x41f8ed);function _0x18be64(_0x1590b6,_0x2b8e3b,_0x2f084d,_0x159649){return _0x3764a2(_0x2f084d-_0x1852f0._0x7181f,_0x2b8e3b-_0x1852f0._0x324923,_0x1590b6,_0x159649-_0x1852f0._0x42dae1);}function _0x1e1890(_0x5b38f2,_0x47f33d,_0x54b1eb,_0x4a8c79){return _0x3764a2(_0x4a8c79- -0x70,_0x47f33d-_0x2af8f3._0x24fc40,_0x5b38f2,_0x4a8c79-_0x2af8f3._0x2334ff);}return _0x40613e||_0x41f8ed[_0x1e1890(-_0xac738f._0x4e64af,-0x8f,-_0xac738f._0x4431ff,-0x13c)]('-')[_0x1e1890(_0xac738f._0x1db6b9,0x18e,_0xac738f._0x1748d4,0x31d)](_0x125f71=>_0x125f71['charAt'](0x0)[_0x1e1890(0x17,0x1f3,0x30e,0x140)]()+_0x125f71[_0x18be64(0x3a7,0x621,0x520,0x3d8)](0x1))[_0x1e1890(0x438,_0xac738f._0x2854f6,0x1f4,0x26c)]('\x20');}function An(){const _0x370d61={_0x54a8de:0x31d,_0x2d8d30:0x317,_0x456ca5:0x350},_0x41a663={_0x194063:0x43,_0x3faf00:0x558};function _0xb93ac0(_0x488a2f,_0x17109b,_0x316a93,_0x109a06){return _0x5a69d4(_0x488a2f-_0x41a663._0x194063,_0x316a93- -_0x41a663._0x3faf00,_0x488a2f,_0x109a06-0x69);}return Xm()[_0xb93ac0(_0x370d61._0x54a8de,_0x370d61._0x2d8d30,_0x370d61._0x456ca5,0x37e)](_0x2bc780=>({'label':la(_0x2bc780),'value':_0x2bc780}));}var TM=0x7d0,Jm={'github':[{'label':_0x3764a2(0x35,-0x9e,0x23f,-0x50),'value':_0x5a69d4(0x6a6,0x5ba,0x7a1,0x427)},{'label':'Access\x20Token','value':_0x3764a2(0x282,0xa4,0x102,0x4bf)}],'openrouter':[{'label':_0x5a69d4(0x4aa,0x56b,0x4e0,0x65b),'value':_0x3764a2(0x282,0x45b,0x156,0x61)}],'deepinfra':[{'label':'API\x20Key','value':_0x3764a2(0x282,0xa6,0x413,0x135)}],'zai':[{'label':'API\x20Key','value':'token'}],'moonshot':[{'label':_0x3764a2(0x50,0x1b6,-0xd9,0x86),'value':'token'}],'lmstudio':[{'label':'No\x20auth\x20needed','value':_0x5a69d4(0x82e,0x744,0x6bb,0x682)}],'anthropic':[{'label':_0x5a69d4(0x606,0x7fb,0x705,0x822),'value':_0x5a69d4(0x5ee,0x6da,0x6c4,0x575)},{'label':_0x3764a2(0x49,-0x124,-0x41,0x17a),'value':_0x3764a2(0x30f,0x18b,0x28b,0x244)},{'label':'Manually\x20enter\x20API\x20Key','value':_0x3764a2(0x282,0x3bf,0x39e,0xff)}],'echo':[{'label':'No\x20auth\x20needed','value':_0x3764a2(0x229,0x1b2,0x38a,0x1b3)}]},ca={'openrouter':[_0x5a69d4(0x7bb,0x84d,0x6e3,0x848),_0x3764a2(-0x47,-0x10a,-0x1a8,0x103)],'deepinfra':[_0x3764a2(0xf0,0xc2,0x1,-0x10e),_0x3764a2(0x48,0x12c,-0x42,-0xe8)],'github':[_0x3764a2(-0x91,-0x140,0x25,0x17),'gpt-4.1',_0x3764a2(0x20f,0x10c,0x88,0x3cf),_0x5a69d4(0x663,0x813,0x9d7,0x864),_0x5a69d4(0x3dc,0x5ad,0x6dc,0x406),_0x5a69d4(0x5bb,0x46f,0x6a6,0x60e)],'zai':[_0x3764a2(-0xa6,0x2,-0x2c5,0x9b),'glm-4.6',_0x5a69d4(0x690,0x678,0x50d,0x4ee)],'moonshot':[_0x5a69d4(0x75c,0x5a2,0x5d2,0x5db),_0x3764a2(0x235,0x8b,0x466,0xa7)],'lmstudio':[],'anthropic':[_0x3764a2(-0x44,-0x203,-0x5b,0x1e9),_0x5a69d4(0x3d1,0x617,0x84b,0x5d9),_0x5a69d4(0x27c,0x46f,0x487,0x40a)],'echo':[_0x3764a2(0x2d2,0x170,0x128,0x212)]};function En(_0xae3570){const _0x1dbef1={_0x351094:0xc7,_0x259764:0xfe,_0xb90c5c:0xa3},_0x34d1b2={_0xdf4b4d:0xc5,_0x20d35c:0x21},_0x28bd6d={_0x1bd2a4:0x16f,_0x53c042:0xde};function _0x3a996(_0x48448d,_0x1566af,_0x4e06db,_0x1dd67a){return _0x3764a2(_0x1dd67a- -0x11a,_0x1566af-_0x28bd6d._0x1bd2a4,_0x1566af,_0x1dd67a-_0x28bd6d._0x53c042);}function _0x440e58(_0x3abfe9,_0x51be76,_0x11d296,_0x271e37){return _0x3764a2(_0x11d296-_0x34d1b2._0xdf4b4d,_0x51be76-0x1da,_0x271e37,_0x271e37-_0x34d1b2._0x20d35c);}return Jm[_0xae3570]||[{'label':_0x440e58(0x10d,-_0x1dbef1._0x351094,0x115,_0x1dbef1._0x259764),'value':_0x3a996(_0x1dbef1._0xb90c5c,-0x32,0x18a,0x168)}];}function ua(_0x3bf7a9){return ca[_0x3bf7a9]||[];}function _0x4e8e(_0x93e880,_0x43b6d2){_0x93e880=_0x93e880-0x1b5;const _0x59df4b=_0x59df();let _0x4e8e19=_0x59df4b[_0x93e880];if(_0x4e8e['LeiAqy']===undefined){var _0x26b317=function(_0x57546c){const _0x5c0141='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x564460='',_0xbfcdee='';for(let _0xcf7397=0x0,_0x9642ab,_0x253ddf,_0x19df5c=0x0;_0x253ddf=_0x57546c['charAt'](_0x19df5c++);~_0x253ddf&&(_0x9642ab=_0xcf7397%0x4?_0x9642ab*0x40+_0x253ddf:_0x253ddf,_0xcf7397++%0x4)?_0x564460+=String['fromCharCode'](0xff&_0x9642ab>>(-0x2*_0xcf7397&0x6)):0x0){_0x253ddf=_0x5c0141['indexOf'](_0x253ddf);}for(let _0x4da7ca=0x0,_0x547572=_0x564460['length'];_0x4da7ca<_0x547572;_0x4da7ca++){_0xbfcdee+='%'+('00'+_0x564460['charCodeAt'](_0x4da7ca)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xbfcdee);};_0x4e8e['TJwjzN']=_0x26b317,_0x4e8e['GBRySc']={},_0x4e8e['LeiAqy']=!![];}const _0x3b295d=_0x59df4b[0x0],_0x3881dc=_0x93e880+_0x3b295d,_0x2661ed=_0x4e8e['GBRySc'][_0x3881dc];return!_0x2661ed?(_0x4e8e19=_0x4e8e['TJwjzN'](_0x4e8e19),_0x4e8e['GBRySc'][_0x3881dc]=_0x4e8e19):_0x4e8e19=_0x2661ed,_0x4e8e19;}var wM=ca;import{Box as _0x4a6f52,Text as _0xf56a99}from'ink';import{Fragment as _0x13e5ec,jsx as _0x42940e,jsxs as _0x74030e}from'react/jsx-runtime';function kn({state:_0x63311a,onOpenBrowser:_0x3d231e,showCode:_0x282626=!0x0,theme:_0x22b0f7={}}){const _0x5110a1={_0x103f2b:0x339,_0x1b7895:0x3bd,_0xb1d045:0x2c7,_0x566043:0x2c0,_0x353e32:0x165,_0x1892c8:0x3f5,_0x2a9e0f:0x161,_0x3bbc85:0x5df,_0x4f7f03:0x5e6,_0x5f48ff:0x6ed,_0x38fbfe:0x944,_0x37356c:0x7aa,_0x44b62c:0x9d5,_0x2cae83:0x51d,_0x48fe2e:0x46d,_0x5cad3d:0x647,_0x22fd85:0x3c0,_0x4c4ae8:0x239,_0x803424:0x288,_0x358d97:0x5ea,_0x38a433:0x7ba,_0x109398:0x651,_0x297dfd:0x9d1,_0x3c603d:0x823,_0x451714:0x717,_0x1720f1:0x948,_0x2b5a39:0x2a6,_0x38df31:0x3c6,_0x12568e:0x309,_0x3dd5bc:0x3bd,_0x2c2291:0x567,_0x117462:0x5d5,_0x352449:0x630,_0x2b368e:0x48f,_0x4f536e:0x3b3,_0x5c9780:0x55d,_0x27f651:0x686,_0x162630:0x7fe,_0x2cde06:0x8af,_0x4ae394:0x84a,_0x2f0e0c:0x8b3,_0x16117e:0x265,_0x1ea484:0x1d,_0x10bedd:0x713,_0x1421c2:0x4ba,_0x4ad0b8:0x6d6,_0x3f792b:0x3bd,_0x50e883:0x5b0,_0x43b677:0x371,_0x2138cc:0x268,_0x2a01c9:0x957,_0x3e8879:0x7ee},_0x1de8c3={_0x67870a:0x4a9,_0x3e37ba:0x67a,_0x4f0114:0x590},_0x5a23a4={_0x35261d:0xd5,_0x58ec82:0x19d,_0x187259:0xd6},_0x32d1dd={_0x441f2a:0xd0,_0x11ac13:0xb9};function _0x21889e(_0x3b9311,_0x4f2a3d,_0x4ad7c0,_0x4be2bd){return _0x5a69d4(_0x3b9311-_0x32d1dd._0x441f2a,_0x4f2a3d-_0x32d1dd._0x11ac13,_0x4be2bd,_0x4be2bd-0x1e3);}function _0x488642(_0x3acddd,_0x3593ba,_0x4d8c80,_0x4eacd5){return _0x3764a2(_0x3593ba-_0x5a23a4._0x35261d,_0x3593ba-_0x5a23a4._0x58ec82,_0x4d8c80,_0x4eacd5-_0x5a23a4._0x187259);}return Y((_0x4c6d37,_0xbda50a)=>{function _0x3106c5(_0x4c4c98,_0x207d72,_0x233f57,_0x1eebb1){return _0x4e8e(_0x1eebb1-0x104,_0x233f57);}function _0x1c886a(_0x1eb195,_0x274350,_0x591fc5,_0x305077){return _0x4e8e(_0x1eb195-0x259,_0x305077);}_0x63311a[_0x3106c5(0x620,_0x1de8c3._0x67870a,0x6c6,_0x1de8c3._0x3e37ba)]===_0x1c886a(0x5f7,0x62e,0x57a,_0x1de8c3._0x4f0114)&&_0xbda50a['return']&&_0x3d231e&&_0x3d231e();},{'isActive':_0x63311a[_0x488642(_0x5110a1._0x103f2b,_0x5110a1._0x1b7895,_0x5110a1._0xb1d045,_0x5110a1._0x566043)]===_0x488642(_0x5110a1._0x353e32,0x1e5,_0x5110a1._0x1892c8,_0x5110a1._0x2a9e0f)}),_0x74030e(_0x4a6f52,{'flexDirection':_0x21889e(_0x5110a1._0x3bbc85,_0x5110a1._0x4f7f03,0x6cb,0x6b6),'children':[_0x63311a[_0x21889e(0x8d8,0x8bc,_0x5110a1._0x5f48ff,0x982)]===_0x21889e(0xa44,_0x5110a1._0x38fbfe,_0x5110a1._0x37356c,_0x5110a1._0x44b62c)&&_0x42940e(_0xf56a99,{'color':_0x22b0f7[_0x21889e(0x453,_0x5110a1._0x2cae83,_0x5110a1._0x48fe2e,0x613)]||_0x21889e(_0x5110a1._0x5cad3d,0x5b4,0x790,_0x5110a1._0x22fd85),'children':_0x21889e(0x3e3,0x58f,0x6b3,0x5cf)}),_0x63311a['status']==='ready'&&_0x74030e(_0x4a6f52,{'flexDirection':'column','children':[_0x282626&&_0x74030e(_0x13e5ec,{'children':[_0x42940e(_0x4a6f52,{'marginTop':0x1,'children':_0x74030e(_0xf56a99,{'dimColor':!0x0,'children':[_0x488642(_0x5110a1._0x4c4ae8,0x3b3,0x4e7,_0x5110a1._0x803424),_0x42940e(_0xf56a99,{'color':_0x22b0f7['link']||_0x488642(_0x5110a1._0x358d97,0x3b0,0x1ca,0x237),'children':_0x63311a['verificationUri']})]})}),_0x42940e(_0x4a6f52,{'children':_0x74030e(_0xf56a99,{'dimColor':!0x0,'children':[_0x21889e(_0x5110a1._0x38a433,_0x5110a1._0x109398,0x4d5,0x7bf),'\x20',_0x42940e(_0xf56a99,{'bold':!0x0,'color':_0x22b0f7[_0x21889e(_0x5110a1._0x297dfd,_0x5110a1._0x3c603d,_0x5110a1._0x451714,_0x5110a1._0x1720f1)]||'yellow','children':_0x63311a[_0x488642(0x47e,0x29a,_0x5110a1._0x2b5a39,_0x5110a1._0x38df31)]})]})})]}),_0x42940e(_0x4a6f52,{'marginY':0x1,'children':_0x42940e(_0xf56a99,{'color':_0x22b0f7['waiting']||_0x21889e(0x3dd,0x5b4,0x7e8,0x792),'children':_0x488642(0xf2,_0x5110a1._0x12568e,0x180,0x3b9)})})]}),_0x63311a[_0x488642(0x4bb,_0x5110a1._0x3dd5bc,_0x5110a1._0x2c2291,0x1be)]===_0x488642(0x45d,0x39c,0x555,0x177)&&_0x74030e(_0x4a6f52,{'flexDirection':_0x21889e(0x3bd,0x5e6,_0x5110a1._0x117462,_0x5110a1._0x352449),'children':[_0x282626&&_0x74030e(_0x13e5ec,{'children':[_0x42940e(_0x4a6f52,{'marginTop':0x1,'children':_0x74030e(_0xf56a99,{'dimColor':!0x0,'children':[_0x488642(_0x5110a1._0x2b368e,_0x5110a1._0x4f536e,_0x5110a1._0x5c9780,0x2d8),_0x42940e(_0xf56a99,{'color':_0x22b0f7[_0x21889e(0x73c,0x88a,_0x5110a1._0x27f651,_0x5110a1._0x162630)]||_0x21889e(0x903,_0x5110a1._0x2cde06,_0x5110a1._0x4ae394,_0x5110a1._0x2f0e0c),'children':_0x63311a[_0x488642(0x3b,0x140,_0x5110a1._0x16117e,-_0x5110a1._0x1ea484)]})]})}),_0x42940e(_0x4a6f52,{'children':_0x74030e(_0xf56a99,{'dimColor':!0x0,'children':['Enter\x20code:','\x20',_0x42940e(_0xf56a99,{'bold':!0x0,'color':_0x22b0f7['code']||_0x21889e(0x7a8,_0x5110a1._0x10bedd,0x7e7,0x889),'children':_0x63311a['userCode']})]})})]}),_0x42940e(_0x4a6f52,{'marginY':0x1,'children':_0x42940e(_0xf56a99,{'color':_0x22b0f7['waiting']||_0x21889e(0x704,0x5b4,0x7b7,_0x5110a1._0x1421c2),'children':_0x21889e(_0x5110a1._0x4ad0b8,0x8a9,0xaa6,0xac6)})})]}),_0x63311a[_0x488642(0x28a,_0x5110a1._0x3f792b,_0x5110a1._0x50e883,0x607)]===_0x488642(_0x5110a1._0x43b677,0x291,0x9c,_0x5110a1._0x2138cc)&&_0x74030e(_0xf56a99,{'color':_0x22b0f7['error']||_0x21889e(0xaba,_0x5110a1._0x2a01c9,_0x5110a1._0x3e8879,0x84b),'children':['Error:\x20',_0x63311a['error']]})]});}import{Box as _0x1ce325,Text as _0x4de9b1}from'ink';import{jsx as _0x6a25d1,jsxs as _0x1267a7}from'react/jsx-runtime';function Ln({state:_0x209c73,code:_0x5388e5,onCodeChange:_0x1cc1f6,onSubmit:_0x537fe5,onOpenBrowser:_0x136963,theme:_0x409a8a={}}){const _0x98cb74={_0x3e2139:0x272,_0x5be3d8:0x1ff,_0x507bcc:0x2cb,_0x1d3ff2:0x36e,_0x35169a:0x396,_0x2b64ff:0x44c,_0x3dd2c5:0x4e5,_0x4e916d:0x34e,_0x31dd7e:0x33f,_0x94a969:0x3e0,_0x24c34d:0x66,_0x27d264:0x108,_0x1d75db:0x261,_0x2383b5:0x446,_0x3a8a9e:0x447,_0x51e263:0x16b,_0x192305:0x22a,_0x1cab0c:0x53f,_0x59ed31:0x514,_0x5bd22b:0x71b,_0x409591:0x635,_0xb9458d:0x674,_0x2294ec:0x1c1,_0x1fdfc7:0x256,_0x4d187b:0x296,_0x1f15b7:0x164,_0x411187:0x23e,_0x347a91:0x2c0,_0x342630:0x17d,_0x157ca:0x178,_0x4812a8:0x4d3,_0x1b0e99:0x34e,_0x55c9e5:0x525,_0x17add7:0x5fc,_0x975319:0x418,_0x110db4:0x307,_0x530af1:0x222,_0x1c448a:0x381},_0xda2a33={_0x3dc02b:0x376,_0xce234c:0x4ab,_0x1c6785:0x4d0,_0x2f7b44:0x5a0,_0x43d384:0x4bc,_0x22f05e:0x7ad,_0x21612f:0x5da,_0x30b68c:0x6f5},_0x45db93={_0x53b442:0x4b5,_0x43cf28:0xf7},_0x43b292={_0xb3d571:0xe5,_0x57334b:0x2bd,_0x459f3a:0x10};function _0x2c1ecc(_0xb88496,_0x4e09a3,_0x3e1263,_0x4de013){return _0x5a69d4(_0xb88496-_0x43b292._0xb3d571,_0x4e09a3- -_0x43b292._0x57334b,_0x4de013,_0x4de013-_0x43b292._0x459f3a);}function _0x46c32e(_0x3ad729,_0x4a195f,_0x26aed2,_0x1423d8){return _0x5a69d4(_0x3ad729-0x19e,_0x26aed2- -_0x45db93._0x53b442,_0x1423d8,_0x1423d8-_0x45db93._0x43cf28);}return Y((_0x2a195e,_0x274857)=>{function _0x179a6d(_0xdf1488,_0x19c871,_0x575b3d,_0x2b3292){return _0x4e8e(_0x575b3d-0x26e,_0x19c871);}function _0x333b1b(_0x54b0ec,_0x47a771,_0x386a69,_0x4fa3ee){return _0x4e8e(_0x386a69- -0xa6,_0x4fa3ee);}_0x209c73[_0x333b1b(_0xda2a33._0x3dc02b,_0xda2a33._0xce234c,_0xda2a33._0x1c6785,_0xda2a33._0x2f7b44)]===_0x333b1b(0xd8,_0xda2a33._0x43d384,0x2f8,0x3d1)&&_0x274857[_0x179a6d(_0xda2a33._0x22f05e,0x411,_0xda2a33._0x21612f,_0xda2a33._0x30b68c)]&&_0x136963&&_0x136963();},{'isActive':_0x209c73[_0x46c32e(0x4b3,_0x98cb74._0x3e2139,0x34e,_0x98cb74._0x5be3d8)]===_0x2c1ecc(_0x98cb74._0x507bcc,_0x98cb74._0x1d3ff2,0x51d,_0x98cb74._0x35169a)}),_0x1267a7(_0x1ce325,{'flexDirection':_0x46c32e(-0x8c,0xf8,0x78,0xa7),'children':[_0x209c73[_0x46c32e(_0x98cb74._0x2b64ff,_0x98cb74._0x3dd2c5,_0x98cb74._0x4e916d,0x3a9)]===_0x46c32e(0x4be,0x1b2,_0x98cb74._0x31dd7e,_0x98cb74._0x94a969)&&_0x6a25d1(_0x4de9b1,{'color':_0x409a8a['waiting']||_0x46c32e(-0xef,_0x98cb74._0x24c34d,0x46,-0x34),'children':_0x2c1ecc(0x114,0x303,0x24e,_0x98cb74._0x27d264)}),_0x209c73[_0x46c32e(_0x98cb74._0x1d75db,0x1d7,_0x98cb74._0x4e916d,_0x98cb74._0x2383b5)]===_0x2c1ecc(_0x98cb74._0x3a8a9e,0x36e,0x556,_0x98cb74._0x51e263)&&_0x1267a7(_0x1ce325,{'flexDirection':_0x2c1ecc(0x1ca,0x270,0x429,_0x98cb74._0x192305),'children':[_0x6a25d1(_0x1ce325,{'marginTop':0x1,'children':_0x1267a7(_0x4de9b1,{'dimColor':!0x0,'children':['URL:\x20',_0x6a25d1(_0x4de9b1,{'color':_0x409a8a[_0x2c1ecc(_0x98cb74._0x1cab0c,_0x98cb74._0x59ed31,_0x98cb74._0x5bd22b,0x5d1)]||_0x2c1ecc(0x346,0x539,_0x98cb74._0x409591,_0x98cb74._0xb9458d),'children':_0x209c73['url']})]})}),_0x6a25d1(_0x1ce325,{'marginTop':0x1,'children':_0x6a25d1(_0x4de9b1,{'color':_0x409a8a[_0x46c32e(-_0x98cb74._0x2294ec,-_0x98cb74._0x1fdfc7,-0x51,-_0x98cb74._0x4d187b)]||_0x2c1ecc(_0x98cb74._0x1f15b7,_0x98cb74._0x411187,0x255,0x19d),'children':_0x2c1ecc(_0x98cb74._0x347a91,0x492,0x4be,0x61d)})})]}),_0x209c73['status']==='pending'&&_0x1267a7(_0x1ce325,{'flexDirection':_0x46c32e(0x23f,-_0x98cb74._0x342630,0x78,-_0x98cb74._0x157ca),'children':[_0x6a25d1(_0x4de9b1,{'children':'Browser\x20opened'}),_0x6a25d1(_0x4de9b1,{'color':_0x409a8a['subtitle']||'gray','dimColor':!0x0,'children':_0x209c73[_0x2c1ecc(0x823,0x609,_0x98cb74._0x4812a8,0x5e1)]}),_0x6a25d1(_0x1ce325,{'marginTop':0x1,'marginBottom':0x1,'children':_0x6a25d1(Re,{'value':_0x5388e5,'placeholder':'Paste\x20authorization\x20code\x20here','onChange':_0x1cc1f6,'onSubmit':_0x537fe5,'focus':!0x0,'showCursor':!0x0})})]}),_0x209c73[_0x46c32e(0x497,0x40d,_0x98cb74._0x1b0e99,_0x98cb74._0x55c9e5)]==='error'&&_0x1267a7(_0x4de9b1,{'color':_0x409a8a[_0x2c1ecc(_0x98cb74._0x17add7,0x41a,_0x98cb74._0x975319,0x426)]||_0x46c32e(0x481,0x1ec,0x3e9,_0x98cb74._0x110db4),'children':['Error:\x20',_0x209c73[_0x46c32e(-0x25,0x14f,_0x98cb74._0x530af1,_0x98cb74._0x1c448a)]]})]});}import{Box as _0x5d982a,Text as _0x1841da}from'ink';import{jsx as _0x5f0c36,jsxs as _0x196601}from'react/jsx-runtime';function Bn({value:_0x25497d,onChange:_0x46a1de,onSubmit:_0x37bedd,placeholder:_0x3427ad=_0x3764a2(0x2ce,0x16f,0xd3,0x3a6),helpText:_0x17afed,mask:_0x5d9539,theme:_0x4bb39b={}}){const _0x806f19={_0x124d6d:0x415,_0x43fcdf:0x3bb,_0x3c6bab:0x447,_0x2440b6:0x3f9,_0x24923a:0x294,_0x223285:0xa,_0x9cf681:0x112,_0xe9c3f2:0xdc},_0x330c83={_0x13ee84:0x403},_0x386d9c={_0x2e771b:0x11c,_0x3ef90c:0x1d6};function _0x499ca2(_0xd0c9bb,_0x4882f2,_0x1122f3,_0x6ef76a){return _0x3764a2(_0x6ef76a- -_0x386d9c._0x2e771b,_0x4882f2-_0x386d9c._0x3ef90c,_0x1122f3,_0x6ef76a-0x128);}function _0x326fb4(_0x45cfae,_0x50e16e,_0x370ffc,_0x2e4a47){return _0x3764a2(_0x45cfae-_0x330c83._0x13ee84,_0x50e16e-0x88,_0x2e4a47,_0x2e4a47-0x13c);}return _0x196601(_0x5d982a,{'flexDirection':_0x326fb4(_0x806f19._0x124d6d,_0x806f19._0x43fcdf,0x302,_0x806f19._0x3c6bab),'children':[_0x5f0c36(_0x5d982a,{'marginBottom':0x1,'children':_0x5f0c36(Re,{'value':_0x25497d,'placeholder':_0x3427ad,'onChange':_0x46a1de,'onSubmit':_0x37bedd,'focus':!0x0,'showCursor':!0x0,'mask':_0x5d9539})}),_0x17afed&&_0x5f0c36(_0x5d982a,{'children':_0x5f0c36(_0x1841da,{'color':_0x4bb39b[_0x326fb4(_0x806f19._0x2440b6,0x1e8,0x2c4,_0x806f19._0x24923a)]||_0x499ca2(_0x806f19._0x223285,_0x806f19._0x9cf681,-0x10f,_0x806f19._0xe9c3f2),'dimColor':!0x0,'children':_0x17afed})})]});}import{jsx as _0x1f3a09,jsxs as _0x527594}from'react/jsx-runtime';var tp=_0x5a69d4(0x77b,0x821,0x7e0,0x89e),op={'device-flow':'Device\x20Flow\x20Login\x20(Recommended)','token':_0x5a69d4(0x4bd,0x6ba,0x802,0x6f6),'oauth-max':_0x3764a2(0x2e0,0x33c,0x103,0x469),'oauth-console':_0x5a69d4(0x8ab,0x6b7,0x58a,0x73b),'none':_0x5a69d4(0x4b0,0x45b,0x46d,0x50d)},rp={'device-flow':_0x3764a2(0x33e,0x1ac,0x55e,0x1b4),'token':_0x3764a2(0x203,0x222,-0x34,0x2b2),'oauth-max':_0x3764a2(-0x65,-0x48,0x7d,-0x7f),'oauth-console':_0x3764a2(0x2f0,0x45c,0x52e,0x18a),'none':_0x5a69d4(0x63e,0x5f4,0x519,0x603)},np={'openrouter':_0x3764a2(0xf1,0x331,-0x4a,0x68),'deepinfra':_0x3764a2(0x9b,-0xb1,0x18f,-0x15a),'anthropic':'sk-ant-...','github':_0x5a69d4(0x5ad,0x6e6,0x570,0x6c1),'zai':_0x3764a2(0x316,0x19e,0x1ef,0x3d2),'echo':''},sp={'openrouter':'Get\x20your\x20API\x20key:\x20https://openrouter.ai/keys','deepinfra':_0x3764a2(0x2a1,0x290,0x395,0x4c0),'anthropic':'Get\x20your\x20API\x20key:\x20https://console.anthropic.com/settings/keys','github':_0x3764a2(0x13b,0x127,0x93,0x13f),'zai':'Get\x20your\x20API\x20key\x20from\x20your\x20Zai\x20account','echo':''},ip=({isSelected:_0x30f6bb,label:_0x4c540a,description:_0x31c357})=>{const _0x4a5dcd={_0xba1f72:0x126,_0x392950:0x14,_0x32634d:0x403,_0x34cbf6:0x32c,_0x2d8495:0x16a,_0x9e6c25:0x5f,_0x539b10:0x14,_0x64e441:0x2c,_0x519dd9:0x156,_0x2bfcb4:0x2b6,_0x4dfa39:0x403},_0x2e6eb3={_0x4e8892:0x148},_0x543ba7={_0x134f90:0x3bb};function _0x48cc0e(_0x3f2071,_0x35b592,_0x1cc71b,_0x2f80cb){return _0x5a69d4(_0x3f2071-0x196,_0x1cc71b- -_0x543ba7._0x134f90,_0x3f2071,_0x2f80cb-0xf6);}let {theme:_0x3aa8c0}=N();function _0x4eeab2(_0x2fc18d,_0xca67db,_0x21c703,_0x19c36a){return _0x3764a2(_0x19c36a- -0x26,_0xca67db-0x57,_0x21c703,_0x19c36a-_0x2e6eb3._0x4e8892);}return _0x527594(_0x214939,{'flexDirection':_0x4eeab2(_0x4a5dcd._0xba1f72,-0x70,0x8a,-_0x4a5dcd._0x392950),'marginBottom':0x1,'children':[_0x1f3a09(_0x214939,{'children':_0x1f3a09(_0x3f8423,{'color':_0x30f6bb?_0x3aa8c0[_0x48cc0e(0x466,0x3fd,_0x4a5dcd._0x32634d,_0x4a5dcd._0x34cbf6)][_0x4eeab2(_0x4a5dcd._0x2d8495,_0x4a5dcd._0x9e6c25,-_0x4a5dcd._0x539b10,0x148)]:_0x3aa8c0[_0x4eeab2(0x341,0x239,0x288,0x27d)][_0x48cc0e(0x391,-_0x4a5dcd._0x64e441,_0x4a5dcd._0x519dd9,0x260)],'bold':_0x30f6bb,'children':_0x4c540a})}),_0x1f3a09(_0x214939,{'paddingLeft':0x3,'children':_0x1f3a09(_0x3f8423,{'color':_0x3aa8c0[_0x48cc0e(0x1fc,_0x4a5dcd._0x2bfcb4,_0x4a5dcd._0x4dfa39,0x55c)]['subtitle'],'dimColor':!0x0,'children':_0x31c357})})]});},ap=({isSelected:_0x9e7708,label:_0x4be54f,description:_0x5a055d})=>{const _0x3666db={_0x91854:0x12f,_0x4287c4:0xa2,_0x75161:0x8f,_0xed1720:0x333,_0xcd084a:0x1bf,_0x2cd42e:0xd6,_0x5ad7c8:0x86,_0x12dbaf:0x107},_0x5d8ed9={_0x33608d:0x35f},_0x389b03={_0x580f15:0x1dc,_0x183451:0x3e};let {theme:_0x205d19}=N();function _0x20fddb(_0x489e22,_0x174f77,_0x186c71,_0x25dca4){return _0x3764a2(_0x174f77-0x90,_0x174f77-_0x389b03._0x580f15,_0x489e22,_0x25dca4-_0x389b03._0x183451);}function _0x355f25(_0x159c38,_0x2cb2cf,_0xc95a40,_0x3730a1){return _0x3764a2(_0xc95a40-_0x5d8ed9._0x33608d,_0x2cb2cf-0x186,_0x2cb2cf,_0x3730a1-0x77);}return _0x527594(_0x214939,{'flexDirection':_0x20fddb(-_0x3666db._0x91854,_0x3666db._0x4287c4,-0x82,-_0x3666db._0x75161),'marginBottom':0x1,'children':[_0x1f3a09(_0x214939,{'children':_0x1f3a09(_0x3f8423,{'color':_0x9e7708?_0x205d19[_0x20fddb(0x2b9,_0x3666db._0xed1720,0x3a0,_0x3666db._0xcd084a)]['title']:_0x205d19['welcome'][_0x20fddb(_0x3666db._0x2cd42e,_0x3666db._0x5ad7c8,0x267,_0x3666db._0x12dbaf)],'bold':_0x9e7708,'children':_0x4be54f})}),_0x1f3a09(_0x214939,{'paddingLeft':0x3,'children':_0x1f3a09(_0x3f8423,{'color':_0x205d19['welcome']['subtitle'],'dimColor':!0x0,'children':_0x5a055d})})]});};function lp({onComplete:_0x343f98,llmFactory:_0x31980d}){const _0x55cdec={_0x67f715:0x148,_0x5bd419:0x3b1,_0x1af8e6:0x536,_0x3bc366:0x5d5,_0x3b9678:0x5d0,_0x2eb611:0x5e4,_0x3a8dd6:0x774,_0xbd8df1:0x7df,_0x5814a6:0x3ea,_0x5b281e:0x223,_0x45d008:0xa0,_0x205f3e:0x38f,_0x27b75b:0x1be,_0x32e462:0x167,_0xd9baca:0x5e,_0x33b1a8:0x46c,_0x1a9088:0x441,_0x2c2859:0x56f,_0x101ae5:0x4d6,_0x566adb:0x269,_0x413a4f:0x3b0,_0xbc7036:0x48d,_0x4afcff:0x5f7,_0x4403f6:0x5bf,_0x511247:0x286,_0x11a1b4:0x977,_0x23321c:0xca,_0x2352ee:0x11,_0x30ab49:0x1f5,_0x28c828:0x6ea,_0x11fb40:0x71e,_0x5a97d4:0x6d6,_0x5d7988:0x8c3,_0x2e7e97:0x529,_0x3d2cfc:0x91d,_0x3893e9:0x279,_0x391001:0x24f,_0x27b2ac:0xc2,_0x135031:0x781,_0x44ea60:0x580,_0x552804:0x68,_0x2f649e:0xdb,_0x25b53c:0x1a3,_0x13784b:0x23,_0x251684:0x40,_0x9eba6f:0x10,_0x4590e0:0x683,_0x387f24:0x552,_0xfe32a5:0x716,_0x54ed5c:0x19f,_0x529a31:0x63,_0x5a3bd5:0x204,_0x56fa99:0x45f,_0x3ccbf3:0x4e6,_0x433520:0x2a2,_0x4c83e5:0x31,_0x36e1c2:0x28a,_0x2a961b:0x43b,_0x2b68ca:0x810,_0x1c66ab:0x86a,_0x559ef2:0x6ce,_0x357855:0x55e,_0x5eef48:0x6f8,_0x2179bf:0x67e,_0x415bea:0x204,_0x19230d:0x79,_0x4da1da:0x736,_0x7b23c4:0x5d9,_0x12815f:0xa98,_0x3a10b2:0x8d9,_0x14f29c:0x391,_0x4864df:0x11b,_0x31143c:0x604,_0x3dfe31:0x455,_0x4795ba:0x52,_0x16434c:0x2fc,_0x5ae242:0xbe,_0x1a236:0x255,_0x325445:0x15,_0x3e79a1:0x1cd,_0x3df625:0x203,_0x175618:0x67,_0x134f2a:0x1d1,_0x3f3cde:0xd1,_0x2fd795:0x203,_0x295021:0x226,_0x24fdef:0x7ee,_0xad200:0x1f1,_0x50803f:0x2e9,_0x55d95b:0x2ab,_0x19cff2:0x879,_0x34c91a:0x909,_0x24dc46:0x719,_0x52fdff:0x6a5,_0x53a281:0x6fa,_0xfa7bb8:0x7b3,_0x1d4128:0x58a,_0x173e5e:0x2c1,_0xecef8:0x491,_0x1840c1:0x93,_0x36e3ac:0x228,_0xe50056:0x611,_0x3750bc:0x6e1,_0x5eae96:0x146,_0x39a832:0x141,_0x407a47:0x5fd,_0x34ae84:0x56f,_0x413a23:0x3f9,_0x2c81cc:0x39,_0x44d0d6:0x16f,_0x2a22b6:0x338,_0x38c3d9:0x32d,_0x491a6a:0x213,_0x5a4f71:0x71,_0x667c40:0x192,_0x474b25:0x82e,_0x5a640a:0x76b,_0x3703e8:0x6f8,_0x1d0fe0:0x637,_0x1469cc:0x6e5,_0x395389:0x8cc,_0x3ef905:0xc7,_0x5a4f9a:0x39a,_0x48719d:0xb7,_0x48e67a:0xb1,_0x4c151a:0x4a,_0x5ec20a:0x6df,_0x4ac2eb:0x59,_0x250fa6:0x1b0,_0x42e012:0x281,_0x5abef7:0x16d,_0x29ee12:0x535,_0x5e1b8a:0x6f8,_0x5775f3:0x73e,_0xc2e44b:0x4c7,_0x4840ea:0x2a2,_0x77be36:0x30b,_0x34e2e9:0x67f,_0x5c40cd:0x66d,_0x104eff:0x141,_0x517818:0x56a,_0xe174f6:0x5da,_0x1d60eb:0x5d7,_0x1f9987:0x4f2,_0x46ae6d:0x861,_0x19d9de:0x8f,_0x43de0a:0xdb,_0x37f114:0x282,_0x3766a1:0x74d,_0x3c0deb:0x55c,_0x3ff851:0x2a3,_0xb0a857:0x33c,_0x1073bb:0x1ee,_0x231574:0x202,_0x1bb5ef:0x2a2,_0x42010c:0xca,_0x3ff578:0x8fd,_0x575f51:0x537,_0x54d393:0x694,_0x24302f:0x838,_0x2c482f:0x6cb,_0x317132:0x382,_0x4df9be:0x726,_0x3a3dcf:0x44a,_0x20c9c0:0x65f,_0x3cc012:0x224,_0xfabb69:0xb9,_0x13859b:0xf0,_0x20e158:0x44,_0x2ce777:0x81,_0x371430:0x16d,_0x5d4594:0x2d6,_0x582dcf:0x19a,_0x1dd7e9:0x796,_0x1afda9:0x47a,_0x4ec48a:0x677,_0x383b69:0x18e,_0x145da2:0x2ea,_0x40dd47:0x33a,_0x4de137:0x537,_0x3503d2:0x382,_0x28bbb7:0x420,_0x4b7595:0x1c6,_0x76f2a4:0x84c,_0xd056d3:0x984,_0x1647d7:0x81a,_0x1e1a2a:0x6f2,_0x5dadf7:0x800,_0x519114:0x7fa,_0x37a7ac:0xb8,_0x2665c9:0xb5,_0x1e6e6a:0x8d3,_0x5c5894:0x834,_0x24b862:0xa28,_0x54f018:0x160,_0x59dc35:0x74,_0x1e1e2b:0x239,_0x466855:0xe9,_0x4d1462:0x749,_0x3a4c3b:0x5a8,_0xd2dfc4:0x41f,_0x57bc7a:0x53d,_0x404270:0x24,_0x474bbf:0x3f,_0x50035e:0x142,_0x4c05a1:0x9,_0x256f7f:0x1cc,_0x210a2a:0x32a,_0x3b88b1:0x791,_0x4136c1:0x646,_0x30ca2b:0x4a2,_0x303bc1:0x54e,_0x1fb10d:0x4e2,_0x101e88:0x63a,_0x22110d:0x6f8,_0x4584aa:0x1a3,_0x5e6ac2:0x2fb,_0x350b9b:0x48b,_0x389cfc:0x73a,_0x4cc0a2:0x8ad,_0x14e19a:0x90a,_0x2e98f2:0x50,_0x467d6c:0x374,_0x1c1362:0x268,_0x38d497:0x7c6,_0x58fd6f:0x916,_0x3d6657:0x36f,_0x3f97c4:0x479,_0x1eee83:0x6b5,_0x3876e3:0x9b3,_0x30ab2e:0x93b,_0x1eee5f:0x800,_0x41a687:0x913,_0x2b787c:0x8e8,_0xf27e07:0x4f4,_0x517ad9:0x79b,_0x1f4524:0x23c,_0x4ebb0a:0x126,_0x50b993:0xb,_0x148f65:0x649,_0x21db32:0x8b9,_0x3d4b41:0x5f8,_0x113ed9:0x403,_0x1dd464:0x70a,_0x26994c:0x5a8,_0x186bc0:0x79f},_0x59403d={_0x39b973:0x1bc,_0x4d5aa8:0x2dc,_0x3f6662:0x232,_0x5464f6:0x6fb,_0x245b4a:0x70e,_0x30d3e3:0x4fd,_0x5bed83:0x268,_0x3df8be:0x435,_0x400080:0x72a},_0x2773bb={_0xcaf6ba:0x13},_0x7500e3={_0x131e0a:0xa25,_0x44ed59:0x94e,_0x33e577:0x7f5,_0x2585ec:0x6cb,_0x4b39fd:0x89e,_0xf12663:0xa0a,_0x35f58f:0x85d,_0x3cc812:0x94f},_0x25e515={_0x2a2d0e:0x57,_0x49879e:0x8c},_0x39fa5d={_0x58a658:0x19d},_0x1027cc={_0x2c3918:0xd},_0x27cfde={_0x27a9ab:0x81,_0x30f607:0x3a5,_0x46f298:0x105,_0x1533e7:0x22,_0x46481f:0x38,_0x498697:0x1a9,_0x4d5410:0x4c,_0x156a82:0x5b,_0x54bcab:0x43,_0x2b303b:0x32c,_0x504323:0xfe,_0x12a1cf:0x27a,_0x1a2429:0x15e,_0x4c2b65:0x5,_0x39185a:0x306,_0x2487cb:0x146,_0x32269c:0x1da,_0xdbd914:0xea,_0xb5bd5b:0x42,_0x44e52d:0x1b2,_0x344aac:0x114,_0x1ce74e:0x1c2,_0x2028ce:0x2ab,_0x328694:0xf2,_0x152276:0x1e,_0x5cabf1:0x262,_0x10f5a3:0x229,_0x3acc3c:0x7e,_0x3d3e8c:0x77,_0xdbec2c:0xad,_0x3ee3fe:0xe0,_0x368ee8:0xf3,_0x180c6f:0x7,_0x2704c3:0x21b,_0x5c943f:0x1d2,_0x1470e0:0x1a8,_0x4c6b20:0xc4},_0x11448d={_0x37e923:0x1e1,_0x128069:0x27a,_0x5bc92f:0x68,_0x44bc79:0xbe,_0x1527c0:0x9c,_0x46fd40:0x2a8,_0xaae7ae:0x2d1,_0x512f10:0x161,_0x206650:0x6c5},_0x2b8444={_0x5e7938:0x49d,_0x7aadfd:0x46f,_0x46314f:0x2fa,_0x24b30f:0x424,_0xddab59:0x5d0,_0x26b867:0x68d,_0x4dd37b:0x694,_0x3c10f2:0x65d,_0x19c73c:0x3de,_0x258717:0x81f,_0x5478ad:0x838,_0x14dddb:0x4a8,_0x1ccc2a:0x717,_0x24d8ba:0x57e,_0x44b378:0x74b,_0x421d53:0x5ca,_0x5d6bb9:0x38e},_0x1739d4={_0x2b3f79:0x2d,_0x759a89:0xd1},_0x31c6dd={_0x4e062a:0x6ef,_0x4ad97c:0x7ef,_0x5e7b09:0x7fa,_0x52e075:0x874,_0x472bef:0x690,_0x2de344:0x380,_0x3b40ce:0x575,_0x11e4da:0x47d},_0x2025a3={_0x53c6a6:0x4b,_0x2ed4f1:0x374},_0x49f08c={_0x37881a:0x11,_0x24571b:0x72,_0x2c4a62:0x3d},_0x463e9b={_0x288007:0x23,_0x12ea35:0xa6,_0x473f98:0x47},_0x2ac975={_0x27943d:0x7a9,_0x407d67:0x767,_0x178018:0x703},_0x498367={_0x28e7d5:0x2cb,_0x335652:0x385,_0x331e71:0x56f,_0x33b112:0x692,_0x65e667:0x4f8,_0x309aec:0x729,_0x109cbf:0x44d,_0x1e23c0:0x290},_0x260bb7={_0x45b0dd:0x52},_0x44f451={_0x259b82:0x4f0,_0x56992f:0x660,_0x5e6bc2:0x60a,_0x2f8891:0x52b,_0x5b13b4:0x42d,_0x2a6b81:0x2c1,_0xec4e5a:0x4e8,_0x186360:0x548,_0x1b9bdb:0x66c,_0x381bef:0x374},_0xf96c20={_0x2ba3d3:0x34,_0x35f2aa:0x1b2},_0x547ae5={_0x247646:0x17b,_0x30d06e:0x4ab,_0x1d34cf:0x143,_0x39a364:0x331,_0x558950:0x22f,_0x219b71:0x73,_0x208fb4:0x42f,_0x45bf34:0x3aa,_0xeeb836:0x214},_0xd0f223={_0x5aaa44:0x66,_0x286913:0x2a7},_0xe48f6={_0x4690ad:0x42,_0x37643b:0x1c5},_0x37eaec={_0x2ad34f:0x364,_0x327ed5:0x446,_0xf3e104:0x30a},_0x2728a5={_0x463b34:0x70};let {theme:_0x4a34a3}=N(),{get:_0x2ef105,set:_0x182b35}=Jo(),[_0x739197,_0x476e91]=_0x481e63(_0x3dd018(0x198,_0x55cdec._0x67f715,_0x55cdec._0x5bd419,0x1d1)),[_0x13c66e,_0x194c15]=_0x481e63(_0x1473e7(0x72c,_0x55cdec._0x1af8e6,_0x55cdec._0x3bc366,_0x55cdec._0x3b9678)),[_0x328b5d,_0x4558ff]=_0x481e63(_0x1473e7(_0x55cdec._0x2eb611,_0x55cdec._0x3a8dd6,_0x55cdec._0xbd8df1,0x730)),[_0x2da421,_0x5bdd3f]=_0x481e63(''),[_0x81cb8e,_0x2eea67]=_0x481e63(''),[_0x4fe35b,_0x45e8fa]=_0x481e63(''),[_0x5953b1,_0x12f0e0]=_0x481e63(''),[_0x35ca03,_0x362edc]=_0x481e63(!0x1),[_0x5e45d2,_0x1016ce]=_0x481e63([]),[_0xdb3845,_0x4ca953]=_0x481e63(null),[_0x5b99aa,_0x51f4d7]=_0x481e63([]);_0x4aadf3(()=>{const _0x4b6a89={_0x1b333b:0x4d4,_0x7fc465:0x831,_0x30d95b:0x6e8,_0x49b75c:0x550,_0x4b63b5:0x716,_0x4583bc:0x51f},_0x2d3bfd={_0x464d5f:0x60};function _0x2d41ac(_0x3b4ee0,_0x581ba1,_0x1df18c,_0x3455e5){return _0x1473e7(_0x3b4ee0-0x195,_0x1df18c,_0x3455e5- -0x1f9,_0x3455e5-0xcb);}function _0x520997(_0x4271b9,_0x305c55,_0x342bda,_0x14a902){return _0x1473e7(_0x4271b9-0xa3,_0x4271b9,_0x14a902- -0x2cc,_0x14a902-_0x2728a5._0x463b34);}(async()=>{const _0x1f5c7c={_0x3d2c3d:0x204};let _0x37c404=An();function _0x5a4371(_0x55e03e,_0x448769,_0x8619fb,_0x5dd0fb){return _0x4e8e(_0x8619fb-_0x2d3bfd._0x464d5f,_0x55e03e);}function _0x328d60(_0x3ff8be,_0x4bbb25,_0x5b8bb2,_0x1821e5){return _0x4e8e(_0x4bbb25-_0x1f5c7c._0x3d2c3d,_0x1821e5);}if(_0x37c404[_0x5a4371(0x5ff,0x5dd,0x5ea,_0x4b6a89._0x1b333b)]>0x0){let _0xb17356=_0x37c404[0x0][_0x328d60(_0x4b6a89._0x7fc465,_0x4b6a89._0x30d95b,_0x4b6a89._0x49b75c,_0x4b6a89._0x4b63b5)];_0x5b99aa[_0x5a4371(0x4e8,0x254,0x316,_0x4b6a89._0x4583bc)](_0x5c5460=>_0x5c5460[_0x5a4371(0x73f,0x369,0x544,0x65b)]===_0x13c66e)||_0x194c15(_0xb17356);}_0x51f4d7(_0x37c404);})()[_0x520997(_0x37eaec._0x2ad34f,0x512,0x4c0,_0x37eaec._0x327ed5)](console[_0x2d41ac(0x403,0x63d,_0x37eaec._0xf3e104,0x520)]);},[_0x5b99aa['find'],_0x13c66e]);let _0x136488=_0x5b99aa[_0x1473e7(0x534,_0x55cdec._0x5814a6,0x585,0x4d5)](_0x49bcbc=>_0x49bcbc[_0x3dd018(0x1a7,0x143,0x135,0x255)]===_0x13c66e),_0x217b75=En(_0x13c66e),_0x1447ca=ua(_0x13c66e),_0x30356d=_0x5e45d2['length']>0x0?_0x5e45d2:_0x1447ca,{state:_0x1aa706,openAndPoll:_0x29790}=Kr(_0x739197===_0x3dd018(0x14d,0x26a,_0x55cdec._0x5b281e,0x1d8)&&_0x13c66e==='github'),_0x41a45c=_0x328b5d===_0x3dd018(_0x55cdec._0x45d008,_0x55cdec._0x205f3e,-0x83,_0x55cdec._0x27b75b)?'max':_0x3dd018(0x17a,_0x55cdec._0x32e462,-_0x55cdec._0xd9baca,0xa2),{state:_0x26d05d,openBrowser:_0x44b077}=zr(_0x739197==='auth-oauth'&&_0x13c66e==='anthropic',_0x41a45c),{saveApiKeyAuth:_0x4eee5d,saveOAuthAuth:_0x5e5a29}=Gr({'get':_0x2ef105,'set':_0x182b35});function _0x1473e7(_0x4337dd,_0x680c24,_0x2d4c80,_0x47261d){return _0x5a69d4(_0x4337dd-0x12f,_0x2d4c80-_0xe48f6._0x4690ad,_0x680c24,_0x47261d-_0xe48f6._0x37643b);}Y((_0x10c86a,_0xdfc779)=>{function _0x3798a5(_0x3b6c22,_0xf77aef,_0x44481a,_0x3d8579){return _0x3dd018(_0x44481a,_0xf77aef-0xce,_0x44481a-0x72,_0x3d8579-0x1a8);}function _0x316dfc(_0x10602d,_0x56d693,_0x15c4f4,_0x4e3683){return _0x1473e7(_0x10602d-_0xd0f223._0x5aaa44,_0x15c4f4,_0x56d693- -_0xd0f223._0x286913,_0x4e3683-0x114);}_0xdfc779[_0x3798a5(_0x547ae5._0x247646,_0x547ae5._0x30d06e,_0x547ae5._0x1d34cf,_0x547ae5._0x39a364)]&&_0x739197===_0x3798a5(_0x547ae5._0x558950,0xe3,_0x547ae5._0x219b71,0x27c)&&_0x476e91(_0x3798a5(_0x547ae5._0x208fb4,0x3a0,0x258,0x379)),_0xdfc779[_0x316dfc(0x2b2,0x440,_0x547ae5._0x45bf34,0x327)]&&_0x739197===_0x3798a5(0x487,_0x547ae5._0xeeb836,0x46b,0x453)&&(_0x2eea67(''),_0x476e91('model'));});let _0x4ae247=_0x519d7f=>{let _0x37df8c=_0x519d7f||_0x328b5d;function _0x29a68e(_0xeae055,_0x91ca7f,_0x50e5e8,_0x52d39a){return _0x3dd018(_0x50e5e8,_0x91ca7f-0x51,_0x50e5e8-0xe,_0xeae055-0x26f);}function _0x592fc4(_0x81e0eb,_0x58cfa3,_0x274786,_0x325ef1){return _0x1473e7(_0x81e0eb-0xed,_0x58cfa3,_0x81e0eb- -_0xf96c20._0x2ba3d3,_0x325ef1-_0xf96c20._0x35f2aa);}if(_0x37df8c)switch(_0x37df8c){case _0x29a68e(_0x44f451._0x259b82,_0x44f451._0x56992f,_0x44f451._0x5e6bc2,_0x44f451._0x2f8891):_0x476e91('auth-input');break;case'device-flow':_0x476e91('auth-device-flow');break;case _0x29a68e(_0x44f451._0x5b13b4,_0x44f451._0x2a6b81,_0x44f451._0xec4e5a,_0x44f451._0x186360):case _0x592fc4(0x838,0x778,_0x44f451._0x1b9bdb,0x99e):_0x476e91('auth-oauth');break;case'none':_0x476e91(_0x29a68e(0x27f,0x45c,_0x44f451._0x381bef,0x3c5));break;}},_0x1d6f41=_0x2fc4e5=>{const _0x11f276={_0xb3a2f8:0xbc};function _0x267e9b(_0x2174b9,_0x5419f5,_0x23cb72,_0x4f0801){return _0x1473e7(_0x2174b9-0x44,_0x23cb72,_0x5419f5- -0x121,_0x4f0801-_0x260bb7._0x45b0dd);}let _0x5a39d2=_0x2fc4e5['value'];function _0x966899(_0x191a53,_0x32e643,_0x48bfc3,_0x532245){return _0x1473e7(_0x191a53-0x41,_0x532245,_0x48bfc3- -0x396,_0x532245-_0x11f276._0xb3a2f8);}if(_0x194c15(_0x5a39d2),_0x5a39d2!=='echo'){_0x476e91(_0x966899(_0x498367._0x28e7d5,_0x498367._0x335652,0x29c,0x1a8));let _0x357772=En(_0x5a39d2)?.[0x0];_0x4558ff(_0x357772?.[_0x267e9b(_0x498367._0x331e71,_0x498367._0x33b112,_0x498367._0x65e667,0x84e)]||_0x267e9b(0x538,0x6be,0x5e7,_0x498367._0x309aec));}else _0x476e91(_0x267e9b(0x2e4,_0x498367._0x109cbf,_0x498367._0x1e23c0,0x234));},_0xb54687=_0x1bcd6c=>{let _0x29c04a=_0x1bcd6c['value'];_0x4558ff(_0x29c04a),_0x4ae247(_0x29c04a);},_0x569800=_0x562744=>{const _0x37631a={_0x41eb63:0xb8,_0x3573b:0xb0},_0x121a90={_0x36ab08:0x1af,_0x226a8:0x116};function _0x5e595c(_0x216a94,_0x2b4b4b,_0x3934bb,_0x5b177d){return _0x3dd018(_0x5b177d,_0x2b4b4b-_0x121a90._0x36ab08,_0x3934bb-_0x121a90._0x226a8,_0x216a94-0x5f8);}function _0x36b9b9(_0x19b04e,_0x551b3f,_0x330b33,_0x15e7f8){return _0x1473e7(_0x19b04e-_0x37631a._0x41eb63,_0x551b3f,_0x15e7f8- -_0x37631a._0x3573b,_0x15e7f8-0x101);}if(_0x562744[_0x36b9b9(0x88b,0x94c,0x6a2,0x703)]==='custom'){_0x476e91(_0x5e595c(0x8a3,0x9d1,_0x2ac975._0x27943d,0x9f6));return;}_0x5bdd3f(_0x562744['value']),_0x921b37(_0x562744[_0x36b9b9(0x852,0x898,_0x2ac975._0x407d67,_0x2ac975._0x178018)]);},_0xc1974=_0x547a82=>{function _0x166cc5(_0x2fbcb0,_0x4abb09,_0x4d5525,_0x4acf56){return _0x3dd018(_0x4d5525,_0x4abb09-_0x463e9b._0x288007,_0x4d5525-_0x463e9b._0x12ea35,_0x2fbcb0-_0x463e9b._0x473f98);}_0x547a82['trim']()&&(_0x5bdd3f(_0x547a82[_0x166cc5(-_0x49f08c._0x37881a,_0x49f08c._0x24571b,0x7e,-_0x49f08c._0x2c4a62)]()),_0x921b37(_0x547a82['trim']()));},_0x921b37=async _0x551e6f=>{const _0x33c426={_0x7f9b5b:0x25,_0x24a2ee:0xe7};function _0x4c54ff(_0x1f3e18,_0x202397,_0x5b3226,_0x1b2df2){return _0x3dd018(_0x1b2df2,_0x202397-_0x33c426._0x7f9b5b,_0x5b3226-_0x33c426._0x24a2ee,_0x202397-0x61e);}function _0x1d3fa4(_0x382d24,_0x4f2789,_0x444ca3,_0x2aa408){return _0x3dd018(_0x4f2789,_0x4f2789-_0x2025a3._0x53c6a6,_0x444ca3-0x1d7,_0x444ca3-_0x2025a3._0x2ed4f1);}if(!_0x35ca03){_0x362edc(!0x0);try{await _0x182b35(_0x4c54ff(0x78e,0x759,_0x31c6dd._0x4e062a,_0x31c6dd._0x4ad97c),_0x13c66e,_0x4c54ff(0x7b5,0x5ee,_0x31c6dd._0x5e7b09,0x4c4));let _0x1f1b4b=_0x551e6f||_0x2da421;_0x1f1b4b&&await _0x182b35(_0x4c54ff(_0x31c6dd._0x52e075,0x62e,0x4c7,0x863),_0x1f1b4b,'global'),_0x476e91('complete'),setTimeout(()=>{_0x343f98();},0x5dc);}catch(_0x250d27){console[_0x1d3fa4(_0x31c6dd._0x472bef,0x48d,0x52f,_0x31c6dd._0x2de344)](_0x1d3fa4(0x700,0x651,_0x31c6dd._0x3b40ce,_0x31c6dd._0x11e4da),_0x250d27),_0x362edc(!0x1);}}},_0x393e49=_0x1171a6(async()=>{const _0x1cdb76={_0x351d35:0x1c1,_0x2e2b87:0x435};function _0x326b27(_0x4b8caf,_0x1be420,_0x4d0838,_0x3e0918){return _0x1473e7(_0x4b8caf-_0x1739d4._0x2b3f79,_0x3e0918,_0x1be420- -_0x1739d4._0x759a89,_0x3e0918-0x148);}if(!_0x31980d){_0x1016ce([]),_0x476e91(_0x326b27(0x2e4,_0x2b8444._0x5e7938,_0x2b8444._0x7aadfd,_0x2b8444._0x46314f));return;}function _0x4b1bff(_0x200637,_0x211dc3,_0x3cbe4e,_0x5e8e11){return _0x3dd018(_0x200637,_0x211dc3-_0x1cdb76._0x351d35,_0x3cbe4e-0xce,_0x211dc3-_0x1cdb76._0x2e2b87);}_0x476e91(_0x4b1bff(0x84e,0x658,_0x2b8444._0x24b30f,_0x2b8444._0xddab59)),_0x4ca953(null);try{if(!_0x31980d?.[_0x326b27(0x783,_0x2b8444._0x26b867,_0x2b8444._0x4dd37b,_0x2b8444._0x3c10f2)])throw new Error(_0x4b1bff(_0x2b8444._0x19c73c,0x5f7,0x7ee,_0x2b8444._0x258717));let _0x1a78fb=await _0x31980d[_0x326b27(0x664,_0x2b8444._0x26b867,_0x2b8444._0x5478ad,0x6d5)](_0x13c66e);_0x1016ce(_0x1a78fb),_0x476e91('model');}catch(_0x2b59f5){_0x4ca953(_0x2b59f5 instanceof Error?_0x2b59f5[_0x4b1bff(0x4f5,_0x2b8444._0x14dddb,0x6af,0x294)]:_0x4b1bff(_0x2b8444._0x1ccc2a,_0x2b8444._0x24d8ba,_0x2b8444._0x44b378,_0x2b8444._0x421d53)),_0x1016ce([]),_0x476e91(_0x4b1bff(_0x2b8444._0x5d6bb9,0x445,0x66c,0x2e1));}},[_0x31980d,_0x13c66e]),_0x18b7bc=async _0x35644e=>{const _0x1062a7={_0x4cb17c:0x1bc,_0x268c39:0x1b5},_0x4046ec={_0x718cb2:0x25,_0xd5fc6c:0xec};function _0x1470a2(_0x5bbe4d,_0x5b1255,_0x314203,_0x41f844){return _0x3dd018(_0x5b1255,_0x5b1255-_0x4046ec._0x718cb2,_0x314203-_0x4046ec._0xd5fc6c,_0x5bbe4d-0x5fb);}function _0x5d50f5(_0x15d7d4,_0x441312,_0x43bee9,_0x4c5ea7){return _0x3dd018(_0x43bee9,_0x441312-_0x1062a7._0x4cb17c,_0x43bee9-_0x1062a7._0x268c39,_0x441312-0x116);}if(_0x35644e[_0x5d50f5(_0x11448d._0x37e923,0xbe,0x135,_0x11448d._0x128069)]())try{await _0x4eee5d(_0x13c66e,_0x35644e[_0x5d50f5(-_0x11448d._0x5bc92f,_0x11448d._0x44bc79,_0x11448d._0x1527c0,_0x11448d._0x46fd40)]()),await _0x393e49();}catch(_0x3469fc){console[_0x5d50f5(0x343,_0x11448d._0xaae7ae,0xa3,_0x11448d._0x512f10)](_0x1470a2(0x70f,0x5e2,0x81b,_0x11448d._0x206650),_0x3469fc);}},_0x1b48d6=async _0xd1a514=>{const _0x5a714e={_0x57d4bc:0xc8},_0x5ed3f4={_0x15c836:0x134,_0x1a0690:0xb2};function _0x4c16cc(_0x4dfa60,_0x43e547,_0x363bc5,_0x145c4c){return _0x3dd018(_0x145c4c,_0x43e547-_0x5ed3f4._0x15c836,_0x363bc5-_0x5ed3f4._0x1a0690,_0x363bc5- -0x14d);}function _0x2e1109(_0x5bd02e,_0x4a5a46,_0x27c17f,_0x357b66){return _0x3dd018(_0x5bd02e,_0x4a5a46-0x155,_0x27c17f-0x117,_0x357b66- -_0x5a714e._0x57d4bc);}if(!(!_0xd1a514['trim']()||_0x26d05d[_0x4c16cc(_0x27cfde._0x27a9ab,_0x27cfde._0x30f607,0x19a,0x75)]!==_0x4c16cc(0x28e,0x36c,0x1f4,0x30)))try{let _0x464541=await Gs(_0xd1a514[_0x2e1109(_0x27cfde._0x46f298,-0x112,_0x27cfde._0x1533e7,-0x120)](),_0x26d05d[_0x2e1109(_0x27cfde._0x46481f,0x367,0x30e,_0x27cfde._0x498697)]);if(_0x464541[_0x2e1109(-0x12,-0x258,-_0x27cfde._0x4d5410,-0x7c)]===_0x2e1109(-0x1ea,-_0x27cfde._0x156a82,0x8f,_0x27cfde._0x54bcab)){console['error'](_0x2e1109(-0x139,-0x4e,_0x27cfde._0x2b303b,_0x27cfde._0x504323));return;}if(_0x41a45c==='console'){if(!_0x464541['access']){console[_0x4c16cc(_0x27cfde._0x12a1cf,0x133,0x6e,-_0x27cfde._0x1a2429)](_0x4c16cc(-_0x27cfde._0x4c2b65,-_0x27cfde._0x39185a,-_0x27cfde._0x2487cb,-0x2f6));return;}let _0x3c6a59=await Ys(_0x464541[_0x4c16cc(_0x27cfde._0x32269c,0x41f,0x1dd,-0x5b)]);if(_0x3c6a59['type']===_0x4c16cc(0x124,-_0x27cfde._0xdbd914,-_0x27cfde._0xb5bd5b,-0x248)||!_0x3c6a59[_0x4c16cc(0x34a,0x7d,_0x27cfde._0x44e52d,0x39f)]){console[_0x4c16cc(_0x27cfde._0x344aac,-0x12d,0x6e,0x146)](_0x2e1109(_0x27cfde._0x1ce74e,-_0x27cfde._0x2028ce,_0x27cfde._0x328694,-0x7b));return;}await _0x4eee5d(_0x13c66e,_0x3c6a59['key']);}else{if(!_0x464541[_0x2e1109(0x3c4,0x470,_0x27cfde._0x152276,_0x27cfde._0x5cabf1)]||!_0x464541[_0x4c16cc(0x88,-_0x27cfde._0x10f5a3,-_0x27cfde._0x3acc3c,0x98)]){console[_0x2e1109(_0x27cfde._0x3d3e8c,-_0x27cfde._0xdbec2c,_0x27cfde._0x3ee3fe,_0x27cfde._0x368ee8)](_0x2e1109(0x266,_0x27cfde._0x180c6f,_0x27cfde._0x2704c3,0x13c));return;}await _0x5e5a29(_0x13c66e,_0x464541['access'],_0x464541['refresh'],_0x464541['expires']);}await _0x393e49();}catch(_0x95bd40){console[_0x2e1109(-0x4c,-0xc9,_0x27cfde._0x5c943f,_0x27cfde._0x368ee8)](_0x2e1109(0x6b,-_0x27cfde._0x1470e0,0x1,-_0x27cfde._0x4c6b20),_0x95bd40);}};function _0x3dd018(_0x52b25f,_0x220641,_0x572e9c,_0x39de6d){return _0x5a69d4(_0x52b25f-0x1c8,_0x39de6d- -0x51c,_0x52b25f,_0x39de6d-_0x1027cc._0x2c3918);}return _0x4aadf3(()=>{function _0x32e497(_0x3cf003,_0x11c5e1,_0x3f7066,_0x1c043e){return _0x3dd018(_0x1c043e,_0x11c5e1-0x137,_0x3f7066-0xbd,_0x11c5e1- -0x67);}function _0x3924f2(_0x5f1f1a,_0xc10319,_0x5bae8b,_0x1140e6){return _0x1473e7(_0x5f1f1a-0x1e9,_0x5f1f1a,_0xc10319- -0x222,_0x1140e6-_0x39fa5d._0x58a658);}if(_0x739197===_0x32e497(-0x20d,-_0x25e515._0x2a2d0e,-_0x25e515._0x49879e,-0x138)&&_0x30356d[_0x3924f2(0x7f3,0x637,0x669,0x5a8)]>0x0&&!_0x2da421){let _0x2c64f9=_0x30356d[0x0];_0x2c64f9&&_0x5bdd3f(_0x2c64f9);}},[_0x739197,_0x30356d,_0x2da421]),_0x4aadf3(()=>{const _0x655016={_0x1f43ae:0x51};function _0x1e80b5(_0x385ad7,_0x13aaa0,_0x2981a5,_0x5a496f){return _0x1473e7(_0x385ad7-0x4a,_0x13aaa0,_0x2981a5-0xbf,_0x5a496f-0x34);}function _0x4b0327(_0x211884,_0x3a5ec5,_0x318305,_0x64fdf2){return _0x3dd018(_0x64fdf2,_0x3a5ec5-0xcd,_0x318305-_0x655016._0x1f43ae,_0x3a5ec5-0x5dc);}_0x1aa706[_0x1e80b5(0xa58,0x73e,0x904,0x92e)]===_0x1e80b5(0x65c,_0x7500e3._0x131e0a,0x812,0x6ac)&&_0x739197===_0x1e80b5(_0x7500e3._0x44ed59,0x83b,_0x7500e3._0x33e577,0x6b7)&&_0x1e80b5(_0x7500e3._0x2585ec,0x827,_0x7500e3._0x4b39fd,0x775)in _0x1aa706&&_0x1aa706[_0x4b0327(_0x7500e3._0xf12663,_0x7500e3._0x35f58f,0x81d,_0x7500e3._0x3cc812)]&&((async()=>(await _0x4eee5d(_0x13c66e,_0x1aa706[_0x1e80b5(0x796,0x669,0x89e,0x80e)]),await _0x393e49()))());},[_0x1aa706['status'],_0x739197,_0x1aa706,_0x13c66e,_0x4eee5d,_0x393e49]),_0x527594(_0x214939,{'flexDirection':'column','width':_0x1473e7(_0x55cdec._0x33b1a8,0x4df,0x5ce,0x7b3),'paddingX':0x2,'paddingY':0x1,'children':[_0x527594(_0x214939,{'alignItems':'center','paddingBottom':0x1,'flexDirection':_0x1473e7(0x62c,_0x55cdec._0x1a9088,_0x55cdec._0x2c2859,0x78b),'children':[_0x1f3a09(_0x5b56c0,{'colors':['#FF5F6D',_0x3dd018(_0x55cdec._0x101ae5,0x425,_0x55cdec._0x566adb,_0x55cdec._0x413a4f)],'children':_0x1f3a09(_0x3f8423,{'children':tp})}),_0x1f3a09(_0x214939,{'alignSelf':_0x1473e7(_0x55cdec._0xbc7036,_0x55cdec._0x4afcff,_0x55cdec._0x4403f6,0x6f1),'marginRight':0x14,'children':_0x1f3a09(_0x5b56c0,{'colors':[_0x3dd018(0x286,0x537,_0x55cdec._0x511247,0x30f),_0x1473e7(_0x55cdec._0x11a1b4,0x77d,0x90e,0x77d)],'children':_0x1f3a09(_0x3f8423,{'children':'v'+_0x4da7ca()})})})]}),_0x527594(_0x214939,{'flexDirection':_0x3dd018(_0x55cdec._0x23321c,0x23e,0x108,_0x55cdec._0x2352ee),'alignItems':_0x3dd018(-0x202,-0x1a9,-_0x55cdec._0x30ab49,0x4a),'marginTop':0x1,'marginBottom':0x1,'children':[_0x527594(_0x3f8423,{'color':_0x4a34a3['welcome'][_0x1473e7(0x813,_0x55cdec._0x28c828,0x6cb,0x4e8)],'bold':!0x0,'children':[_0x739197===_0x3dd018(0x24b,0x351,0xd9,0x1d1)&&_0x1473e7(_0x55cdec._0x11fb40,_0x55cdec._0x5a97d4,_0x55cdec._0x5d7988,0x925),_0x739197==='auth-method'&&'Authentication\x20Method',_0x739197==='auth-input'&&'Enter\x20Credentials',_0x739197===_0x1473e7(0x96e,_0x55cdec._0x2e7e97,0x736,_0x55cdec._0x3d2cfc)&&_0x3dd018(0x2b6,_0x55cdec._0x3893e9,0x242,0x296),_0x739197==='auth-oauth'&&_0x3dd018(_0x55cdec._0x391001,-0x124,0xfa,_0x55cdec._0x27b2ac),_0x739197===_0x1473e7(0x951,0x7bd,_0x55cdec._0x135031,_0x55cdec._0x44ea60)&&_0x3dd018(-_0x55cdec._0x552804,-_0x55cdec._0x2f649e,-_0x55cdec._0x25b53c,-_0x55cdec._0x13784b),_0x739197===_0x3dd018(-_0x55cdec._0x251684,0x157,0xa7,_0x55cdec._0x9eba6f)&&_0x3dd018(0x2a7,0x95,0x1e9,0x280),_0x739197===_0x1473e7(0x7f0,_0x55cdec._0x4590e0,0x809,0x940)&&_0x1473e7(_0x55cdec._0x387f24,0x5ef,0x641,_0x55cdec._0xfe32a5),_0x739197==='complete'&&_0x3dd018(-_0x55cdec._0x54ed5c,_0x55cdec._0x529a31,-_0x55cdec._0x5a3bd5,-0xbf)]}),_0x527594(_0x3f8423,{'color':_0x4a34a3[_0x3dd018(_0x55cdec._0x56fa99,_0x55cdec._0x3ccbf3,0x18c,_0x55cdec._0x433520)][_0x3dd018(-_0x55cdec._0x4c83e5,-0x187,-0x211,-0xb)],'dimColor':!0x0,'children':[_0x739197==='provider'&&_0x3dd018(_0x55cdec._0x36e1c2,0x75,0x1f2,0xc0),_0x739197===_0x1473e7(0x774,0x6b0,0x632,_0x55cdec._0x2a961b)&&'How\x20would\x20you\x20like\x20to\x20authenticate?',_0x739197===_0x1473e7(0xa16,0x9b6,_0x55cdec._0x2b68ca,0x8e5)&&_0x1473e7(0x647,_0x55cdec._0x1c66ab,0x626,_0x55cdec._0x559ef2)+_0x136488?.[_0x1473e7(_0x55cdec._0x357855,0x85b,_0x55cdec._0x5eef48,_0x55cdec._0x2179bf)]+_0x3dd018(-_0x55cdec._0x415bea,-0x179,_0x55cdec._0x19230d,-0x59),_0x739197===_0x1473e7(0x696,0x962,_0x55cdec._0x4da1da,_0x55cdec._0x7b23c4)&&_0x1473e7(_0x55cdec._0x12815f,0x725,0x89b,_0x55cdec._0x3a10b2),_0x739197===_0x3dd018(_0x55cdec._0x14f29c,0x3f0,_0x55cdec._0x4864df,0x25e)&&_0x1473e7(0x697,0x48e,_0x55cdec._0x31143c,_0x55cdec._0x3dfe31),_0x739197==='loading-models'&&'Fetching\x20available\x20models\x20from\x20'+(_0x136488?.[_0x3dd018(0x4a,0x15,0x24f,0x19a)]||_0x136488?.[_0x3dd018(_0x55cdec._0x4795ba,_0x55cdec._0x16434c,_0x55cdec._0x5ae242,_0x55cdec._0x1a236)]||_0x3dd018(-_0x55cdec._0x325445,-_0x55cdec._0x3e79a1,-_0x55cdec._0x3df625,-_0x55cdec._0x175618))+_0x3dd018(-_0x55cdec._0x134f2a,-0x210,0x80,-_0x55cdec._0x3f3cde),_0x739197===_0x3dd018(-0x1f8,-_0x55cdec._0x2fd795,-_0x55cdec._0x295021,_0x55cdec._0x9eba6f)&&_0x1473e7(_0x55cdec._0x24fdef,0x6c1,0x5c9,0x47c),_0x739197===_0x3dd018(_0x55cdec._0xad200,0x2df,_0x55cdec._0x50803f,_0x55cdec._0x55d95b)&&_0x1473e7(0x92a,0xab8,_0x55cdec._0x19cff2,_0x55cdec._0x34c91a)+(_0x136488?.[_0x1473e7(_0x55cdec._0x24dc46,_0x55cdec._0x52fdff,_0x55cdec._0x5eef48,0x5f1)]||_0x136488?.[_0x1473e7(0x83d,_0x55cdec._0x53a281,_0x55cdec._0xfa7bb8,_0x55cdec._0x1d4128)]||_0x1473e7(0x4fe,_0x55cdec._0x173e5e,0x4f7,0x5b6))+':',_0x739197==='complete'&&'Configuration\x20saved!\x20Starting\x20Nuvin...']})]}),_0x739197==='provider'&&_0x1f3a09(_0x214939,{'flexDirection':_0x1473e7(_0x55cdec._0xecef8,0x582,_0x55cdec._0x2c2859,0x782),'alignItems':_0x3dd018(0xd1,-0x179,0x6e,0x4a),'marginTop':0x1,'children':_0x5b99aa['length']===0x0?_0x1f3a09(_0x214939,{'children':_0x1f3a09(_0x3f8423,{'color':_0x3dd018(-_0x55cdec._0x1840c1,0x50,_0x55cdec._0x36e3ac,0x13e),'children':_0x1473e7(0x775,0x57e,_0x55cdec._0xe50056,_0x55cdec._0x3750bc)})}):_0x1f3a09(vt,{'items':_0x5b99aa['map'](_0xbd32b6=>{const _0x32d82b={_0x23e72d:0x182};let [_0x1bf874,_0x5cd729]=_0xbd32b6[_0xabdc18(_0x59403d._0x39b973,_0x59403d._0x4d5aa8,0xc6,_0x59403d._0x3f6662)]['includes'](_0x50b3f1(_0x59403d._0x5464f6,_0x59403d._0x245b4a,0x71b,_0x59403d._0x30d3e3))?_0xbd32b6['label'][_0x50b3f1(_0x59403d._0x5bed83,0x369,0x36c,_0x59403d._0x3df8be)]('\x20-\x20',0x2):[_0xbd32b6['label'],''];function _0x50b3f1(_0x9e525e,_0x2c9748,_0x11f38f,_0x4cfd46){return _0x3dd018(_0x2c9748,_0x2c9748-_0x2773bb._0xcaf6ba,_0x11f38f-0x198,_0x11f38f-0x439);}function _0xabdc18(_0x18ac92,_0x20e916,_0x1d99fd,_0x5c8228){return _0x3dd018(_0x5c8228,_0x20e916-0x1e,_0x1d99fd-_0x32d82b._0x23e72d,_0x1d99fd- -0xd4);}return{'key':_0xbd32b6[_0xabdc18(0x2df,0x64,0x181,0x49)],'value':_0xbd32b6[_0x50b3f1(0x776,_0x59403d._0x400080,0x68e,0x7aa)],'label':_0x1bf874,'description':_0x5cd729};}),'itemComponent':({isSelected:_0x267923,..._0x26ca6a})=>_0x1f3a09(ip,{'isSelected':!!_0x267923,..._0x26ca6a}),'onSelect':_0x1d6f41})}),_0x739197===_0x3dd018(_0x55cdec._0x5eae96,-_0x55cdec._0x39a832,0xa8,0xd4)&&_0x527594(_0x214939,{'flexDirection':_0x1473e7(_0x55cdec._0x407a47,0x4ca,_0x55cdec._0x34ae84,_0x55cdec._0x413a23),'alignItems':_0x3dd018(0x44,-_0x55cdec._0x2c81cc,_0x55cdec._0x44d0d6,0x4a),'marginTop':0x1,'children':[_0x1f3a09(_0x214939,{'marginBottom':0x1,'flexDirection':_0x1473e7(_0x55cdec._0x2a22b6,_0x55cdec._0x38c3d9,0x56f,0x5db),'alignItems':_0x3dd018(0x2,-0x1fb,_0x55cdec._0x491a6a,0x4a),'children':_0x1f3a09(_0x3f8423,{'color':_0x4a34a3[_0x3dd018(0x363,0x312,_0x55cdec._0x5a4f71,0x2a2)][_0x3dd018(0x2c8,_0x55cdec._0x667c40,0x36c,0x16d)],'bold':!0x0,'children':_0x136488?.[_0x1473e7(_0x55cdec._0x474b25,_0x55cdec._0x5a640a,_0x55cdec._0x3703e8,_0x55cdec._0x1d0fe0)]})}),_0x1f3a09(vt,{'items':_0x217b75['map'](_0x5573df=>({'key':_0x5573df[_0x3dd018(0xf7,0x2e4,0x1da,0x255)],'value':_0x5573df['value'],'label':op[_0x5573df[_0x1473e7(0x6d1,0x602,0x7b3,0x804)]],'description':rp[_0x5573df[_0x3dd018(0x152,0xd7,0x21a,0x255)]]})),'itemComponent':({isSelected:_0x99f35,..._0x4595a9})=>_0x1f3a09(ap,{'isSelected':!!_0x99f35,..._0x4595a9}),'onSelect':_0xb54687}),_0x1f3a09(_0x214939,{'marginTop':0x2,'children':_0x1f3a09(_0x3f8423,{'color':_0x4a34a3[_0x1473e7(_0x55cdec._0x1469cc,0x668,0x800,_0x55cdec._0x395389)]['subtitle'],'dimColor':!0x0,'children':'ESC\x20to\x20go\x20back'})})]}),_0x739197===_0x3dd018(_0x55cdec._0x3ef905,0x289,_0x55cdec._0x5a4f9a,0x2b2)&&_0x527594(_0x214939,{'flexDirection':'column','alignItems':_0x3dd018(-_0x55cdec._0x48719d,-_0x55cdec._0x48e67a,-0x1b2,_0x55cdec._0x4c151a),'marginTop':0x1,'children':[_0x527594(_0x214939,{'borderStyle':'round','borderColor':_0x4a34a3[_0x1473e7(_0x55cdec._0x5ec20a,0x7bb,0x800,0x5c9)]['hint'],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':_0x3dd018(0x1be,_0x55cdec._0x4ac2eb,-_0x55cdec._0x250fa6,0x11),'children':[_0x1f3a09(_0x214939,{'marginBottom':0x1,'children':_0x1f3a09(_0x3f8423,{'color':_0x4a34a3['welcome'][_0x3dd018(0x17d,_0x55cdec._0x42e012,0x14e,_0x55cdec._0x5abef7)],'bold':!0x0,'children':_0x136488?.[_0x1473e7(_0x55cdec._0x29ee12,0x4e6,_0x55cdec._0x5e1b8a,_0x55cdec._0x5775f3)]})}),_0x1f3a09(Bn,{'value':_0x4fe35b,'onChange':_0x45e8fa,'onSubmit':_0x18b7bc,'placeholder':np[_0x13c66e],'helpText':sp[_0x13c66e],'mask':'*','theme':{'subtitle':_0x4a34a3[_0x3dd018(0x117,0x435,_0x55cdec._0xc2e44b,_0x55cdec._0x4840ea)][_0x1473e7(_0x55cdec._0x77be36,_0x55cdec._0x34e2e9,0x553,_0x55cdec._0x5c40cd)]}})]}),_0x1f3a09(_0x214939,{'marginTop':0x2,'children':_0x1f3a09(_0x3f8423,{'color':_0x4a34a3[_0x3dd018(0xfe,0x16a,_0x55cdec._0x104eff,_0x55cdec._0x433520)]['subtitle'],'dimColor':!0x0,'children':_0x1473e7(_0x55cdec._0x517818,_0x55cdec._0xe174f6,_0x55cdec._0x1d60eb,0x5ec)})})]}),_0x739197===_0x1473e7(_0x55cdec._0x1f9987,0x59d,0x736,_0x55cdec._0x46ae6d)&&_0x1f3a09(_0x214939,{'flexDirection':_0x3dd018(-_0x55cdec._0x19d9de,0x4b,_0x55cdec._0x43de0a,0x11),'alignItems':_0x3dd018(-0x86,0xff,_0x55cdec._0x37f114,0x4a),'marginTop':0x1,'children':_0x527594(_0x214939,{'borderStyle':_0x1473e7(0x6ce,_0x55cdec._0x3766a1,_0x55cdec._0x3c0deb,0x60f),'borderColor':_0x4a34a3[_0x3dd018(0x6f,_0x55cdec._0x3ff851,_0x55cdec._0xb0a857,0x2a2)]['hint'],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':'column','children':[_0x1f3a09(_0x214939,{'marginBottom':0x1,'children':_0x527594(_0x3f8423,{'color':_0x4a34a3[_0x3dd018(0x4a5,_0x55cdec._0x1073bb,_0x55cdec._0x231574,_0x55cdec._0x1bb5ef)][_0x3dd018(0x270,-_0x55cdec._0x251684,-_0x55cdec._0x42010c,0x16d)],'bold':!0x0,'children':[_0x136488?.[_0x1473e7(_0x55cdec._0x3ff578,_0x55cdec._0x575f51,0x6f8,0x666)],'\x20-\x20Device\x20Flow']})}),_0x1f3a09(kn,{'state':_0x1aa706,'onOpenBrowser':_0x29790,'showCode':!0x0,'theme':{'waiting':'cyan','link':_0x1473e7(0x701,_0x55cdec._0x54d393,_0x55cdec._0x24302f,_0x55cdec._0x2c482f),'code':'yellow','error':_0x3dd018(0x520,0x13f,0x517,_0x55cdec._0x317132)}})]})}),_0x739197===_0x1473e7(0x99c,_0x55cdec._0x4df9be,0x7bc,0x902)&&_0x527594(_0x214939,{'flexDirection':_0x1473e7(_0x55cdec._0x3a3dcf,0x6dd,0x56f,_0x55cdec._0x20c9c0),'alignItems':_0x3dd018(_0x55cdec._0x3cc012,0x189,0xbe,0x4a),'marginTop':0x1,'children':[_0x527594(_0x214939,{'borderStyle':_0x3dd018(_0x55cdec._0xfabb69,-0x135,-_0x55cdec._0x13859b,-0x2),'borderColor':_0x4a34a3['welcome']['hint'],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':'column','children':[_0x1f3a09(_0x214939,{'marginBottom':0x1,'children':_0x527594(_0x3f8423,{'color':_0x4a34a3[_0x1473e7(0x653,0x7c0,0x800,0x62b)][_0x3dd018(0x84,-_0x55cdec._0x20e158,_0x55cdec._0x2ce777,_0x55cdec._0x371430)],'bold':!0x0,'children':[_0x136488?.[_0x3dd018(0x10c,_0x55cdec._0x5d4594,-0xa5,_0x55cdec._0x582dcf)],_0x1473e7(0x42c,0x820,0x64b,_0x55cdec._0x1dd7e9)]})}),_0x1f3a09(Ln,{'state':_0x26d05d,'code':_0x5953b1,'onCodeChange':_0x12f0e0,'onSubmit':_0x1b48d6,'onOpenBrowser':_0x44b077,'theme':{'waiting':_0x1473e7(0x45a,_0x55cdec._0x1afda9,0x53d,_0x55cdec._0x4ec48a),'link':_0x3dd018(_0x55cdec._0x383b69,0x110,_0x55cdec._0x145da2,0x2da),'error':_0x3dd018(_0x55cdec._0x40dd47,0x1ce,_0x55cdec._0x4de137,_0x55cdec._0x3503d2),'subtitle':_0x4a34a3[_0x3dd018(0x48d,0x471,_0x55cdec._0x28bbb7,0x2a2)][_0x3dd018(-0x110,-0x23,-_0x55cdec._0x4b7595,-0xb)]}})]}),_0x26d05d[_0x1473e7(0xa2e,_0x55cdec._0x76f2a4,0x845,_0x55cdec._0xd056d3)]===_0x1473e7(_0x55cdec._0x1647d7,0xa92,0x89f,_0x55cdec._0x1e1a2a)&&_0x1f3a09(_0x214939,{'marginTop':0x2,'children':_0x1f3a09(_0x3f8423,{'color':_0x4a34a3[_0x1473e7(0x846,_0x55cdec._0x2c482f,_0x55cdec._0x5dadf7,_0x55cdec._0x519114)][_0x3dd018(-0x11b,-_0x55cdec._0x37a7ac,_0x55cdec._0x2665c9,-0xb)],'dimColor':!0x0,'children':_0x1473e7(0x775,_0x55cdec._0x1e6e6a,_0x55cdec._0x5c5894,_0x55cdec._0x24b862)})})]}),_0x739197===_0x3dd018(_0x55cdec._0x54f018,_0x55cdec._0x59dc35,0x46d,0x223)&&_0x1f3a09(_0x214939,{'flexDirection':_0x3dd018(_0x55cdec._0x1e1e2b,_0x55cdec._0x5a4f71,-_0x55cdec._0x466855,_0x55cdec._0x2352ee),'alignItems':_0x1473e7(0x70a,_0x55cdec._0x4d1462,_0x55cdec._0x3a4c3b,0x784),'marginTop':0x2,'children':_0x1f3a09(_0x3f8423,{'color':_0x1473e7(0x748,_0x55cdec._0xd2dfc4,_0x55cdec._0x57bc7a,0x4ef),'children':_0x3dd018(-0x8a,-_0x55cdec._0x404270,-_0x55cdec._0x474bbf,0x1a)})}),_0x739197==='model'&&_0x527594(_0x214939,{'flexDirection':_0x3dd018(-_0x55cdec._0x2ce777,0x105,-0xcc,0x11),'alignItems':_0x3dd018(_0x55cdec._0x50035e,-_0x55cdec._0x4c05a1,-_0x55cdec._0x256f7f,0x4a),'marginTop':0x1,'children':[_0x527594(_0x214939,{'marginBottom':0x1,'flexDirection':_0x1473e7(0x7ac,0x780,_0x55cdec._0x34ae84,_0x55cdec._0x210a2a),'alignItems':'center','children':[_0x1f3a09(_0x3f8423,{'color':_0x4a34a3[_0x1473e7(_0x55cdec._0x3b88b1,_0x55cdec._0x4136c1,_0x55cdec._0x5dadf7,0x846)][_0x1473e7(0x799,_0x55cdec._0x30ca2b,_0x55cdec._0x2c482f,_0x55cdec._0x303bc1)],'bold':!0x0,'children':_0x136488?.[_0x1473e7(_0x55cdec._0x1fb10d,_0x55cdec._0x101e88,_0x55cdec._0x22110d,0x858)]}),_0xdb3845&&_0x1f3a09(_0x3f8423,{'color':'yellow','dimColor':!0x0,'children':_0xdb3845}),_0x5e45d2[_0x3dd018(_0x55cdec._0x4584aa,0x409,0x118,_0x55cdec._0x5e6ac2)]>0x0&&_0x527594(_0x3f8423,{'color':_0x4a34a3['welcome'][_0x1473e7(0x37a,0x6d9,0x553,_0x55cdec._0x350b9b)],'dimColor':!0x0,'children':[_0x30356d['length'],_0x1473e7(_0x55cdec._0x389cfc,0xa4d,0x8e3,0xa62)]})]}),_0x30356d[_0x1473e7(0x824,0x718,0x859,0xa2e)]>0xa?_0x1f3a09(lo,{'items':_0x30356d['map'](_0x2f3713=>({'label':_0x2f3713,'value':_0x2f3713})),'placeholder':'Type\x20to\x20search\x20models...','maxDisplayItems':0xa,'enableRotation':!0x0,'onSelect':_0x14f2d1=>_0x569800({'label':_0x14f2d1[_0x3dd018(0x139,-0x80,0xd1,0x19a)],'value':_0x14f2d1['value'],'key':_0x14f2d1['value']}),'onCancel':()=>_0x476e91(_0x3dd018(0x47,0x228,-0xc1,0xd4))}):_0x1f3a09(vt,{'items':[..._0x30356d[_0x1473e7(_0x55cdec._0x4cc0a2,0x9d5,0x8ea,_0x55cdec._0x14e19a)](_0x1f97d7=>({'key':_0x1f97d7,'value':_0x1f97d7,'label':_0x1f97d7})),{'key':_0x3dd018(_0x55cdec._0x2e98f2,_0x55cdec._0x467d6c,0x481,_0x55cdec._0x1c1362),'value':_0x1473e7(0x80d,0x589,_0x55cdec._0x38d497,_0x55cdec._0x58fd6f),'label':'🎯\x20Enter\x20custom\x20model\x20name...'}],'onSelect':_0x569800})]}),_0x739197==='model-custom'&&_0x527594(_0x214939,{'flexDirection':_0x1473e7(0x694,0x48f,_0x55cdec._0x34ae84,_0x55cdec._0x3d6657),'alignItems':_0x1473e7(0x518,_0x55cdec._0x3f97c4,0x5a8,_0x55cdec._0x1eee83),'marginTop':0x1,'children':[_0x527594(_0x214939,{'marginBottom':0x1,'children':[_0x1f3a09(_0x3f8423,{'color':_0x4a34a3[_0x1473e7(_0x55cdec._0x3876e3,_0x55cdec._0x30ab2e,_0x55cdec._0x1eee5f,_0x55cdec._0x41a687)][_0x1473e7(_0x55cdec._0x2b787c,_0x55cdec._0xf27e07,_0x55cdec._0x2c482f,_0x55cdec._0x517ad9)],'children':'Model:\x20'}),_0x1f3a09(Re,{'value':_0x81cb8e,'onChange':_0x2eea67,'onSubmit':_0xc1974,'placeholder':'e.g.,\x20gpt-4o\x20or\x20anthropic/claude-3-opus'})]}),_0x1f3a09(_0x3f8423,{'color':_0x4a34a3[_0x3dd018(0x177,0xbe,0x192,0x2a2)][_0x3dd018(-_0x55cdec._0x529a31,_0x55cdec._0x1f4524,-_0x55cdec._0x4ebb0a,-_0x55cdec._0x50b993)],'dimColor':!0x0,'children':_0x1473e7(_0x55cdec._0x148f65,0x5d6,0x69e,0x645)})]}),_0x739197===_0x1473e7(0x9b1,_0x55cdec._0x21db32,0x86e,0x6e2)&&_0x1f3a09(_0x214939,{'flexDirection':_0x1473e7(_0x55cdec._0x3d4b41,_0x55cdec._0x113ed9,_0x55cdec._0x2c2859,0x688),'alignItems':_0x1473e7(_0x55cdec._0x5a640a,_0x55cdec._0x1dd464,_0x55cdec._0x26994c,_0x55cdec._0x186bc0),'marginTop':0x2,'children':_0x1f3a09(_0x3f8423,{'color':'green','children':'Configuration\x20saved\x20successfully!'})})]});}import{Box as _0x31bc84,Text as _0x469ec1}from'ink';import{jsx as _0x46d099,jsxs as _0x2eed29}from'react/jsx-runtime';import{useRef as _0x3b0675,useCallback as _0x6cd7e1,useState as _0x5b9d68,useEffect as _0x42c3c9,forwardRef as _0x3ab255,useImperativeHandle as _0x4dfe04,createContext as _0x5ece14,useContext as _0x4ddfcc}from'react';import{Box as _0x4366b1,useStdout as _0x312d09,useStdin as _0x3d9978}from'ink';import{jsx as _0x4fb950}from'react/jsx-runtime';var gp=_0x5ece14({'enableMouseMode':()=>{},'disableMouseMode':()=>{},'isMouseModeEnabled':!0x1,'renderOffsetY':0x0,'setRenderOffsetY':()=>{}}),ha=()=>_0x4ddfcc(gp);function hp(_0x3ff767){const _0x9f3b3e={_0x44c71d:0x104,_0x472786:0x129,_0x4bd740:0xdc,_0x5b5d85:0x1b6,_0x252b71:0x6ae,_0x149980:0x450,_0x59fd47:0x3f2,_0x41699c:0x4f7,_0x23ce3a:0x602,_0x499081:0x6e2,_0x336685:0x876,_0x40681b:0x57d,_0x135c8f:0x132,_0xb60a76:0x4a6,_0x5d1d23:0xa3c,_0x2e1b66:0x95d,_0x22ae03:0x1ad,_0x46a769:0x273,_0x1e8ed5:0x2f9,_0x49cabb:0x80b,_0x3a26c7:0x856,_0x4534bf:0x96e,_0x48c961:0x5af,_0x5b0d3b:0x5cf,_0x3e8d61:0xa9c,_0x34e144:0xa69,_0x20e465:0x7c4,_0xab9bdb:0x325,_0x2c8cca:0x326,_0x39ab3f:0x172},_0x128d5c={_0x239f3a:0x15f},_0x18bb3a={_0x16424e:0x78};let _0x248c0d=_0x3ff767[_0xf84773(_0x9f3b3e._0x44c71d,_0x9f3b3e._0x472786,_0x9f3b3e._0x4bd740,_0x9f3b3e._0x5b5d85)](/\x1b\[<(\d+);(\d+);(\d+)([Mm])/);if(_0x248c0d){let _0x2d3ced=parseInt(_0x248c0d[0x1],0xa),_0x358720=parseInt(_0x248c0d[0x2],0xa),_0x4dbfff=parseInt(_0x248c0d[0x3],0xa),_0x3dd599=_0x248c0d[0x4]==='m';return _0x2d3ced===0x40?{'type':_0xf84773(0x4b4,_0x9f3b3e._0x252b71,_0x9f3b3e._0x149980,0x44b),'button':_0x2d3ced,'x':_0x358720,'y':_0x4dbfff}:_0x2d3ced===0x41?{'type':_0x3b5418(_0x9f3b3e._0x59fd47,_0x9f3b3e._0x41699c,_0x9f3b3e._0x23ce3a,0x47b),'button':_0x2d3ced,'x':_0x358720,'y':_0x4dbfff}:_0x2d3ced>=0x20&&_0x2d3ced<0x40?{'type':_0x3b5418(0x80a,_0x9f3b3e._0x499081,_0x9f3b3e._0x336685,0x93b),'button':_0x2d3ced-0x20,'x':_0x358720,'y':_0x4dbfff}:_0x3dd599?{'type':_0x3b5418(0x847,_0x9f3b3e._0x40681b,0x7c4,0x7d4),'button':_0x2d3ced,'x':_0x358720,'y':_0x4dbfff}:{'type':_0xf84773(0x325,_0x9f3b3e._0x135c8f,0x21b,_0x9f3b3e._0xb60a76),'button':_0x2d3ced,'x':_0x358720,'y':_0x4dbfff};}if(_0x3ff767[_0x3b5418(0xb61,_0x9f3b3e._0x5d1d23,_0x9f3b3e._0x2e1b66,0x9c6)]>=0x6&&_0x3ff767[_0xf84773(_0x9f3b3e._0x22ae03,_0x9f3b3e._0x46a769,0x1fb,_0x9f3b3e._0x1e8ed5)](_0x3b5418(0x8a9,_0x9f3b3e._0x49cabb,_0x9f3b3e._0x3a26c7,_0x9f3b3e._0x4534bf))){let _0x57ad51=_0x3ff767[_0xf84773(0x2ba,0x26c,0x4c5,0x3c0)](0x3)-0x20,_0xb2d3bb=_0x3ff767[_0x3b5418(_0x9f3b3e._0x48c961,_0x9f3b3e._0x5b0d3b,0x746,0x980)](0x4)-0x20,_0x2a8c8d=_0x3ff767['charCodeAt'](0x5)-0x20,_0x25a99c=_0x57ad51&0x3;return _0x57ad51===0x40?{'type':'wheel-up','button':0x40,'x':_0xb2d3bb,'y':_0x2a8c8d}:_0x57ad51===0x41?{'type':'wheel-down','button':0x41,'x':_0xb2d3bb,'y':_0x2a8c8d}:_0x57ad51&0x20?{'type':_0x3b5418(0x9c6,_0x9f3b3e._0x3e8d61,_0x9f3b3e._0x336685,_0x9f3b3e._0x34e144),'button':_0x25a99c,'x':_0xb2d3bb,'y':_0x2a8c8d}:_0x57ad51===0x3?{'type':_0x3b5418(0x600,0x669,_0x9f3b3e._0x20e465,0x5c0),'button':_0x25a99c,'x':_0xb2d3bb,'y':_0x2a8c8d}:{'type':_0xf84773(_0x9f3b3e._0xab9bdb,_0x9f3b3e._0x2c8cca,_0x9f3b3e._0x39ab3f,0xe6),'button':_0x25a99c,'x':_0xb2d3bb,'y':_0x2a8c8d};}function _0xf84773(_0x3d6bbc,_0x30c87d,_0x2062e9,_0x44a82c){return _0x5a69d4(_0x3d6bbc-0x1cf,_0x3d6bbc- -0x346,_0x30c87d,_0x44a82c-_0x18bb3a._0x16424e);}function _0x3b5418(_0x36ece4,_0x3239cf,_0x157cad,_0x570ddc){return _0x5a69d4(_0x36ece4-0x17f,_0x157cad-0x146,_0x570ddc,_0x570ddc-_0x128d5c._0x239f3a);}return null;}var yp=_0x3ab255(function({children:_0x27e8ad,maxHeight:_0x405e30,width:_0x41f6fe,onFocus:_0x7ec407,onBlur:_0x5c8e37,borderStyle:_0x23da31,borderColor:_0x4dcd74,focusBorderColor:_0x3d3604},_0x326142){const _0x2d9640={_0x581b8a:0x229,_0x4852a7:0x48c,_0x31518e:0x5f2,_0x547c48:0x288,_0x5306c1:0x3e0},_0x3f29fb={_0x490c09:0x3a,_0x348524:0xfc,_0x2eb32:0x2eb},_0x265026={_0x17d30c:0x5ec,_0x4fd4fd:0x7dd,_0x53e4ed:0x6ef,_0x363fbe:0x469,_0x5706f2:0x5f0,_0xc22c10:0x23d,_0x333c06:0xb1,_0x256c88:0x5d2,_0x4cf083:0x634,_0x1802ad:0x87e,_0x510e64:0x716,_0x1c34d5:0x3bf,_0x5781a5:0x3d,_0x464f2d:0x2d9},_0x5060fe={_0x5d9851:0x122,_0x306e78:0xfd},_0x28d7d7={_0x10d39b:0x3f7,_0x5e5f62:0x7c,_0x480099:0x3b1,_0x23b397:0x238,_0x40b6e1:0x359},_0x384cbe={_0x32898a:0x4b5,_0x50d325:0x4e5,_0x16cd6b:0x68a,_0x32db9a:0x484,_0x44a121:0x4ab,_0x24f05c:0x2ca},_0x38dba6={_0x49b353:0x213},_0x305313={_0x35356e:0x821,_0x1a6312:0x6cc,_0x35b82c:0x5f6},_0x514309={_0x2267ab:0x29,_0xd3205c:0x2c,_0x25a46a:0x150,_0x19ee8e:0x135,_0xf2cb28:0x2f3,_0x59b30b:0xe2,_0x382320:0x187,_0x3ad570:0x349,_0x106540:0x24b,_0x7d9e63:0x39b},_0x1cfd6a={_0x21106b:0x2a8,_0x408189:0xbb},_0x4e12ab={_0x2b1601:0x16c,_0x1e1015:0x45};function _0x17c1e5(_0x15e863,_0x4b110b,_0x5902c4,_0x50237a){return _0x3764a2(_0x15e863- -0xa8,_0x4b110b-_0x4e12ab._0x2b1601,_0x5902c4,_0x50237a-_0x4e12ab._0x1e1015);}let _0x24a18c=_0x3b0675(null),[_0x488644,_0xca4ebe]=_0x5b9d68(!0x1),_0x1a7d75=_0x3b0675(!0x1),[_0x5948da,_0xcf44ea]=_0x5b9d68(0x0),{internal_eventEmitter:_0x5ebe49}=_0x3d9978(),{enableMouseMode:_0x25e0f8,disableMouseMode:_0x18d919,isMouseModeEnabled:_0x48a3ff,renderOffsetY:_0x5ac951}=ha();function _0x267dc7(_0x429529,_0x2baf27,_0x55353a,_0x2b3d46){return _0x3764a2(_0x2baf27-_0x1cfd6a._0x21106b,_0x2baf27-0x54,_0x429529,_0x2b3d46-_0x1cfd6a._0x408189);}_0x42c3c9(()=>(_0x25e0f8(),()=>_0x18d919()),[_0x25e0f8,_0x18d919]);let _0x30de3d=_0x6cd7e1((_0x2f81bf,_0x1da99b)=>{if(!_0x24a18c['current'])return!0x1;function _0x39df88(_0x2c403c,_0x2c9457,_0x6ac1d5,_0x97503e){return _0x4e8e(_0x6ac1d5- -0xd3,_0x2c9457);}let _0x1b903a=_0x24a18c[_0x154459(_0x514309._0x2267ab,-_0x514309._0xd3205c,-0x1ea,_0x514309._0x25a46a)][_0x154459(-0xad,-0xd8,-_0x514309._0x19ee8e,-_0x514309._0xf2cb28)](),_0x18ae10=_0x1da99b-_0x5ac951;function _0x154459(_0x2575bc,_0x4c8550,_0x1df4c8,_0x156bc0){return _0x4e8e(_0x4c8550- -0x2fe,_0x156bc0);}return _0x2f81bf>=_0x1b903a['x']+0x1&&_0x2f81bf<=_0x1b903a['x']+_0x1b903a[_0x154459(0x13,-_0x514309._0x59b30b,-0x106,0xbc)]&&_0x18ae10>=_0x1b903a['y']+0x1&&_0x18ae10<=_0x1b903a['y']+_0x1b903a[_0x39df88(_0x514309._0x382320,_0x514309._0x3ad570,_0x514309._0x106540,_0x514309._0x7d9e63)];},[_0x5ac951]),_0x32bdee=_0x6cd7e1(_0x37364e=>{const _0x238657={_0x16c64a:0x21};_0xcf44ea(_0x4974e6=>{let _0x310aa8=Math[_0x5a1b54(0x9e8,0xb26,0xa8d,0x8aa)](0x0,_0x4974e6+_0x37364e);function _0x5a1b54(_0x48c509,_0x39a7df,_0x28eeda,_0x266e0a){return _0x4e8e(_0x48c509-0x3c3,_0x28eeda);}function _0x57e25c(_0x3200c4,_0x5e1b7a,_0x18f368,_0x4e9ce8){return _0x4e8e(_0x4e9ce8-_0x238657._0x16c64a,_0x3200c4);}return _0x24a18c[_0x5a1b54(0x695,_0x305313._0x35356e,0x836,0x4fa)]?.[_0x5a1b54(0x827,_0x305313._0x1a6312,0x6a8,_0x305313._0x35b82c)]({'x':0x0,'y':_0x310aa8}),_0x310aa8;});},[]),_0x1fc1dc=_0x6cd7e1(()=>{function _0x5218d9(_0x132765,_0x131017,_0x314f03,_0x400820){return _0x4e8e(_0x400820-_0x38dba6._0x49b353,_0x131017);}_0x24a18c[_0x5218d9(0x529,_0x384cbe._0x32898a,0x3b5,_0x384cbe._0x50d325)]?.['scrollToBottom']();let _0x2b95b9=_0x24a18c[_0x5218d9(0x5a5,_0x384cbe._0x16cd6b,0x5bb,0x4e5)]?.[_0x45ca8f(0x5c8,_0x384cbe._0x32db9a,_0x384cbe._0x44a121,_0x384cbe._0x24f05c)]();function _0x45ca8f(_0x14ba2d,_0x59cfa1,_0x1de97f,_0x69d921){return _0x4e8e(_0x1de97f- -0x15,_0x59cfa1);}_0x2b95b9&&_0xcf44ea(_0x2b95b9['y']);},[]),_0x50427e=_0x6cd7e1(()=>{function _0x7525f1(_0x49b708,_0x8e8246,_0x25451e,_0x9a82d5){return _0x4e8e(_0x25451e- -0xc8,_0x8e8246);}function _0x59325c(_0x4ed261,_0x1ada26,_0x7d82a7,_0x41cdb6){return _0x4e8e(_0x1ada26- -0x113,_0x7d82a7);}_0x24a18c[_0x59325c(_0x28d7d7._0x10d39b,0x1bf,-_0x28d7d7._0x5e5f62,0x214)]?.[_0x59325c(_0x28d7d7._0x480099,0x415,_0x28d7d7._0x23b397,_0x28d7d7._0x40b6e1)](),_0xcf44ea(0x0);},[]),_0x11e668=_0x6cd7e1(()=>{function _0x42d2ec(_0x231324,_0x3e5eeb,_0x523fcb,_0x4539c3){return _0x4e8e(_0x3e5eeb- -0x1d5,_0x231324);}_0xca4ebe(!0x0),_0x1a7d75[_0x42d2ec(-_0x5060fe._0x5d9851,_0x5060fe._0x306e78,0x2f2,0x128)]=!0x0,_0x7ec407?.();},[_0x7ec407]),_0xdb6590=_0x6cd7e1(()=>{const _0x2dbf1d={_0x157476:0x166};function _0x5cd318(_0x498a10,_0x39c812,_0x1b0444,_0x2ed43d){return _0x4e8e(_0x498a10-_0x2dbf1d._0x157476,_0x2ed43d);}_0xca4ebe(!0x1),_0x1a7d75[_0x5cd318(0x438,0x3e3,0x27a,0x4e6)]=!0x1,_0x5c8e37?.();},[_0x5c8e37]);return _0x4dfe04(_0x326142,()=>({'scrollBy':_0x32bdee,'scrollToTop':_0x50427e,'scrollToBottom':_0x1fc1dc,'getScrollPosition':()=>_0x24a18c[_0x17c1e5(-0x64,0x18d,0x165,0x154)]?.[_0x267dc7(0x332,0x4da,0x387,0x5d4)](),'getBounds':()=>_0x24a18c['current']?.[_0x17c1e5(-0x110,-0xda,-0x16d,-0x24a)](),'focus':_0x11e668,'blur':_0xdb6590}),[_0x32bdee,_0x50427e,_0x1fc1dc,_0x11e668,_0xdb6590]),_0x42c3c9(()=>{if(!_0x48a3ff)return;let _0x40e111=_0x33e999=>{function _0x1333a7(_0x4bd1fe,_0x22fb61,_0x3f42f6,_0x7f0479){return _0x4e8e(_0x22fb61- -0x90,_0x7f0479);}function _0x1dda9b(_0x2bb34a,_0x4abbee,_0x1e5aa4,_0x68ca4c){return _0x4e8e(_0x68ca4c-0x311,_0x2bb34a);}let _0x324141=hp(_0x33e999);if(!_0x324141)return;let _0x5c36b5=_0x30de3d(_0x324141['x'],_0x324141['y']);_0x324141[_0x1dda9b(0x4da,0x6f7,0x46c,_0x265026._0x17d30c)]===_0x1dda9b(0x674,_0x265026._0x4fd4fd,0x683,_0x265026._0x53e4ed)&&_0x324141[_0x1333a7(_0x265026._0x363fbe,0x578,0x5d3,0x72b)]===0x0&&(_0x5c36b5&&!_0x1a7d75[_0x1dda9b(_0x265026._0x5706f2,0x70f,0x45e,0x5e3)]?_0x11e668():!_0x5c36b5&&_0x1a7d75[_0x1333a7(_0x265026._0xc22c10,0x242,0x362,_0x265026._0x333c06)]&&_0xdb6590()),(_0x1a7d75['current']||_0x5c36b5)&&(_0x324141[_0x1dda9b(_0x265026._0x256c88,_0x265026._0x4cf083,0x4bc,_0x265026._0x17d30c)]===_0x1dda9b(0x898,0x8b1,0x8b4,_0x265026._0x1802ad)?_0x32bdee(-0x3):_0x324141[_0x1dda9b(0x71d,_0x265026._0x510e64,_0x265026._0x1c34d5,_0x265026._0x17d30c)]===_0x1333a7(-_0x265026._0x5781a5,0x19f,_0x265026._0x464f2d,0x3a5)&&_0x32bdee(0x3));};return _0x5ebe49?.['on']('input',_0x40e111),()=>{const _0x4604ac={_0x556b1a:0x26f};function _0x4c86d6(_0x56e3b8,_0x5386a9,_0x42e04a,_0x506563){return _0x4e8e(_0x5386a9- -_0x4604ac._0x556b1a,_0x42e04a);}_0x5ebe49?.[_0x4c86d6(_0x3f29fb._0x490c09,_0x3f29fb._0x348524,_0x3f29fb._0x2eb32,0xd0)]('input',_0x40e111);};},[_0x5ebe49,_0x48a3ff,_0x30de3d,_0x32bdee,_0x11e668,_0xdb6590]),_0x4fb950(_0x4366b1,{'ref':_0x24a18c,'flexDirection':_0x17c1e5(-0x96,-_0x2d9640._0x581b8a,-0x50,-0x22d),'maxHeight':_0x405e30,'width':_0x41f6fe,'overflow':_0x267dc7(0x28f,_0x2d9640._0x4852a7,0x30b,_0x2d9640._0x31518e),'borderStyle':_0x23da31,'borderColor':_0x488644?_0x3d3604??_0x267dc7(0x4b9,_0x2d9640._0x547c48,0x225,_0x2d9640._0x5306c1):_0x4dcd74,'flexShrink':0x0,'children':_0x27e8ad});});function _0x5a69d4(_0x111343,_0x1316d5,_0xc3a724,_0x24cab9){return _0x4e8e(_0x1316d5-0x28d,_0xc3a724);}import{createContext as _0x2b6830,useContext as _0x1254f2,useMemo as _0x2f0400}from'react';import{jsx as _0x285b8f}from'react/jsx-runtime';var vp=_0x2b6830(void 0x0);function oI({children:_0x2168ef}){const _0x557800={_0x1500ca:0x585};function _0x369dc7(_0x3c3db8,_0x15eb3a,_0x16a43f,_0x2e4ede){return _0x5a69d4(_0x3c3db8-0x19,_0x3c3db8- -0x43,_0x2e4ede,_0x2e4ede-0x13f);}let _0x2f0bc3=_0x2f0400(()=>({'registry':ge}),[]);return _0x285b8f(vp[_0x369dc7(0x5c0,0x377,0x775,_0x557800._0x1500ca)],{'value':_0x2f0bc3,'children':_0x2168ef});}export{Na as a,Y as b,k as c,Fa as d,He as e,de as f,ag as g,Le as h,bc as i,mg as j,tt as k,Tc as l,yg as m,Gt as n,wg as o,z as p,ge as q,Ec as r,Kr as s,Gs as t,Ys as u,zr as v,Gr as w,Ag as x,N as y,Yo as z,qo as A,Mi as B,vd as C,wd as D,Re as E,vt as F,lo as G,Ei as H,Ov as I,Jo as J,Bd as K,zm as L,Tn as M,ar as N,oT as O,$m as P,la as Q,An as R,TM as S,En as T,wM as U,kn as V,Ln as W,Bn as X,lp as Y,oI as Z};