@nuvin/nuvin-cli 1.37.0-rc.13 → 1.37.0-rc.15

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(_0x58898b,_0x372591){const _0x31115c={_0x3fecdf:0xc2,_0x55cde8:0x60,_0x1266fa:0xfa,_0x582561:0x71,_0x210399:0x702,_0x1e7239:0x69a,_0xd5d989:0x58e,_0x48289a:0x3a6,_0x24f8c1:0x1a9,_0x1c65a8:0x1c2,_0xb2348a:0x105,_0x3310f6:0x124,_0x54b206:0x1f1,_0x4547bf:0x4c6,_0x4c1e96:0x41b,_0x40515c:0x4ae,_0x1de658:0x404,_0x1c7252:0xbe,_0x3825f0:0x34,_0x37cbe9:0x58},_0x5cbaea={_0xf95c61:0x2c7};function _0xe0e078(_0x17f35c,_0x2662aa,_0x1b08e6,_0x4d5574){return _0x55d8(_0x4d5574- -0x1e0,_0x17f35c);}function _0x3f93d4(_0x1f5504,_0x220db9,_0x1af6a6,_0x5d6611){return _0x55d8(_0x1f5504-_0x5cbaea._0xf95c61,_0x220db9);}const _0x2cdb3d=_0x58898b();while(!![]){try{const _0x3e086c=parseInt(_0xe0e078(-0x21,0x42,0xe6,_0x31115c._0x3fecdf))/0x1+parseInt(_0xe0e078(-0x19,_0x31115c._0x55cde8,-_0x31115c._0x1266fa,-_0x31115c._0x582561))/0x2+-parseInt(_0x3f93d4(0x65a,_0x31115c._0x210399,_0x31115c._0x1e7239,_0x31115c._0xd5d989))/0x3+parseInt(_0x3f93d4(0x489,0x4ed,_0x31115c._0x48289a,0x48d))/0x4*(parseInt(_0xe0e078(0x2e2,0x312,_0x31115c._0x24f8c1,_0x31115c._0x1c65a8))/0x5)+parseInt(_0xe0e078(0x214,_0x31115c._0xb2348a,_0x31115c._0x3310f6,_0x31115c._0x54b206))/0x6+parseInt(_0x3f93d4(_0x31115c._0x4547bf,_0x31115c._0x4c1e96,_0x31115c._0x40515c,0x58e))/0x7*(parseInt(_0x3f93d4(0x4c8,0x511,0x55f,_0x31115c._0x1de658))/0x8)+parseInt(_0xe0e078(-0xb9,-_0x31115c._0x1c7252,_0x31115c._0x3825f0,-0x17))/0x9*(-parseInt(_0xe0e078(0x155,0x2d,0x5f,_0x31115c._0x37cbe9))/0xa);if(_0x3e086c===_0x372591)break;else _0x2cdb3d['push'](_0x2cdb3d['shift']());}catch(_0x491859){_0x2cdb3d['push'](_0x2cdb3d['shift']());}}}(_0x1cb0,0x913d5));import{$ as _0x362e0e,B as _0x54a979,C as _0x2e544a,D as _0x44e91a,E as _0x1e901f,F as _0xddfaed,G as _0x4a44be,H as _0x2a83f0,I as _0x51e72b,J as _0x3cd058,K as _0x2f4642,L as _0x1d9d57,M as _0x52c665,P as _0x5e608d,S as _0x4573a6,U as _0x52272b,V as _0x5a49b4,W as _0x315f44,Z as _0x95ab28,a as _0x224133,aa as _0x43c0be,b as _0x583146,c as _0x4015aa,ca as _0x7d3e6c,d as _0x5cb46f,da as _0x3cfa35,ea as _0x2e3ade,f as _0x197b40,j as _0x259d06,m as _0x3b4d2e,o as _0x2e0367,p as _0x3ce95d,q as _0x19b221,r as _0x981d96,s as _0x3230b7,t as _0x2eb78d,u as _0x46744a,v as _0x50125a,z as _0x260492}from'./chunk-V6UXETZR.js';import{a as _0x3541c3,b as _0x10b05c}from'./chunk-PK3QWRD4.js';import{b as _0x2556a1}from'./chunk-BWIY46RS.js';import{a as _0x2d3d24}from'./chunk-AJHDLTY3.js';import{createContext as _0x5235dd,useContext as _0x25a07,useMemo as _0x3b9bd1}from'react';import{jsx as _0x35eded}from'react/jsx-runtime';var Cn=_0x5235dd(void 0x0),jl=({children:_0x3a9551,altMode:_0x141446=!0x1})=>{const _0x418a7e={_0x4f98e8:0x2c2},_0x5ca6ca={_0x5db93f:0x3db};function _0x167d72(_0x11ed3f,_0x34717e,_0x361ac7,_0x1b5a7d){return _0x55d8(_0x34717e- -_0x5ca6ca._0x5db93f,_0x1b5a7d);}let _0x54a8ac=_0x3b9bd1(()=>({'altMode':_0x141446}),[_0x141446]);return _0x35eded(Cn[_0x167d72(-_0x418a7e._0x4f98e8,-0x26d,-0x182,-0x33d)],{'value':_0x54a8ac,'children':_0x3a9551});},He=()=>{const _0x4dc1d1={_0x12c6ab:0xbc,_0x262878:0x10d,_0x4ab127:0x4e};let _0x10a4f8=_0x25a07(Cn);function _0x5305fb(_0x5c78cc,_0x25061b,_0x1ff7ad,_0x23a7d7){return _0x55d8(_0x23a7d7- -0x175,_0x1ff7ad);}return _0x10a4f8||(console['warn'](_0x5305fb(_0x4dc1d1._0x12c6ab,-_0x4dc1d1._0x262878,0xce,-_0x4dc1d1._0x4ab127)),{'altMode':!0x1});};import _0x5e3c00,{useMemo as _0x2f6a8b,useRef as _0x57d044}from'react';import{Box as _0x2cdc1e,Static as _0x212d9f}from'ink';function Zr(_0x5ce4a8){const _0x36c3a0={_0x31f817:0x56b,_0x2ca79c:0x4cb,_0x58a0ba:0x3f9,_0x5163e0:0x4a3,_0x161359:0x2a4,_0x223e85:0x491,_0x4b3186:0x377},_0x3b5072={_0x989e93:0x1f9},_0x9a4b97={_0x4cf07b:0x222};function _0x2c9e11(_0x5c9c06,_0x4d73ac,_0x503c06,_0x415ef9){return _0x55d8(_0x5c9c06-_0x9a4b97._0x4cf07b,_0x415ef9);}if(_0x5ce4a8['type']!=='tool')return!0x1;let _0x498e31=_0x5ce4a8[_0x2c9e11(_0x36c3a0._0x31f817,0x4b0,_0x36c3a0._0x2ca79c,0x4b1)]?.['toolCalls']||[],_0x44143e=_0x5ce4a8['metadata']?.[_0x57a544(0x41c,_0x36c3a0._0x58a0ba,_0x36c3a0._0x5163e0,0x59a)];if(_0x498e31['length']===0x0)return!0x1;for(let _0x1511dd of _0x498e31)if(!_0x44143e?.[_0x57a544(_0x36c3a0._0x161359,_0x36c3a0._0x223e85,_0x36c3a0._0x4b3186,0x37f)](_0x1511dd['id']))return!0x0;function _0x57a544(_0xc571e1,_0x36ae5e,_0x1cb8c9,_0x18f5d9){return _0x55d8(_0x1cb8c9-_0x3b5072._0x989e93,_0x18f5d9);}return!0x1;}function es(_0xa36635){const _0x2741ed={_0x2ffd9a:0x5fa,_0x228095:0x535,_0x4135cd:0x685},_0x330b68={_0xec852a:0x2fb};function _0x558927(_0x9c583,_0x2a61b0,_0xe8a2ae,_0x53fc2a){return _0x55d8(_0xe8a2ae-0x253,_0x53fc2a);}function _0x4852cf(_0x457a6f,_0xbfbf5,_0x21d841,_0x221ece){return _0x55d8(_0xbfbf5-_0x330b68._0xec852a,_0x457a6f);}for(let _0x52b40b=_0xa36635[_0x4852cf(0x77c,0x63e,_0x2741ed._0x2ffd9a,0x6bf)]-0x1;_0x52b40b>=0x0;_0x52b40b--)if(_0xa36635[_0x52b40b]['metadata']?.[_0x558927(_0x2741ed._0x228095,0x5fc,0x523,_0x2741ed._0x4135cd)]!==!0x0)return _0x52b40b;return-0x1;}function wn(_0x12ebeb){const _0xab9786={_0x4351bb:0x4b8,_0x32f2c9:0x4a3,_0x2eecd5:0x40e,_0x30e063:0x462,_0xb1006:0x3e9,_0x5d4f6a:0x4d4,_0x600ad5:0x37c,_0x14dd07:0x462,_0x5d89e6:0x72f,_0x383693:0x716,_0x1d6bf7:0x601,_0x1549b7:0x63e,_0x4cee98:0x841,_0x5e6c04:0x56d,_0x20f844:0x687,_0x52e0f4:0x583,_0x4e1969:0x447};function _0x23a01d(_0x79d657,_0x4d7a59,_0x406bc3,_0x2328ad){return _0x55d8(_0x4d7a59-0x3d3,_0x2328ad);}let _0x4d671f=es(_0x12ebeb),_0x431cfa=0x0;for(let _0x14ff78=_0x12ebeb['length']-0x1;_0x14ff78>=0x0;_0x14ff78--){let _0x887988=_0x12ebeb[_0x14ff78];if(_0x887988[_0x51674e(_0xab9786._0x4351bb,_0xab9786._0x32f2c9,_0xab9786._0x2eecd5,_0xab9786._0x30e063)]?.[_0x51674e(0x308,0x31a,0x2cc,_0xab9786._0xb1006)]===!0x0)continue;let _0x1b539c=_0x14ff78===_0x4d671f;if(_0x887988[_0x51674e(0x506,_0xab9786._0x5d4f6a,_0xab9786._0x600ad5,_0xab9786._0x14dd07)]?.[_0x23a01d(0x7aa,0x650,0x4f6,_0xab9786._0x5d89e6)]===!0x0&&_0x1b539c){_0x431cfa=_0x12ebeb[_0x23a01d(0x7fd,_0xab9786._0x383693,_0xab9786._0x1d6bf7,0x6e9)]-_0x14ff78;break;}if(Zr(_0x887988)){_0x431cfa=_0x12ebeb[_0x23a01d(_0xab9786._0x1549b7,0x716,0x68d,_0xab9786._0x4cee98)]-_0x14ff78;break;}}function _0x51674e(_0x2529fb,_0x3442c5,_0xa64eeb,_0x5df616){return _0x55d8(_0x5df616-0x119,_0x2529fb);}return Math[_0x23a01d(0x481,_0xab9786._0x5e6c04,0x5ab,_0xab9786._0x20f844)](0x0,_0x12ebeb[_0x51674e(_0xab9786._0x52e0f4,_0xab9786._0x4e1969,0x572,0x45c)]-_0x431cfa);}import{Box as _0x44e269,Text as _0x121259}from'ink';import{Box as _0x4824d2,Text as _0x5345e4}from'ink';import{parseToolArguments as _0x41f87a}from'@nuvin/nuvin-core';import{useState as _0x33b396,useEffect as _0x40fc7a}from'react';import{Text as _0x5ab073}from'ink';import{jsx as _0x309e6e}from'react/jsx-runtime';var bt=({hasResult:_0xcf415d,finalDuration:_0x26752c})=>{const _0x29b158={_0x3e348e:0x349,_0x278c7e:0x197,_0x3c52ea:0x233},_0x59eb30={_0x18a647:0x3bb};function _0x519683(_0x3cfd26,_0xc1ab49,_0x20063d,_0x4aee1a){return _0x55d8(_0x20063d- -_0x59eb30._0x18a647,_0x4aee1a);}let [_0x2bfc5e,_0x39d506]=_0x33b396(0x0);_0x40fc7a(()=>{if(_0xcf415d)return;let _0x1d305f=Date['now'](),_0x4cdd09=setInterval(()=>{const _0x306c9d={_0x386909:0x1b3};function _0x2b91be(_0x3bff55,_0x5ce506,_0x2772d3,_0x80a816){return _0x55d8(_0x3bff55- -_0x306c9d._0x386909,_0x2772d3);}_0x39d506(Date[_0x2b91be(0x107,0x6b,0x242,0x208)]()-_0x1d305f);},0x3e8);return()=>clearInterval(_0x4cdd09);},[_0xcf415d]);let _0x2f7295=Math[_0x519683(-_0x29b158._0x3e348e,-_0x29b158._0x278c7e,-0x285,-_0x29b158._0x3c52ea)]((_0xcf415d&&_0x26752c!==void 0x0?_0x26752c:_0x2bfc5e)/0x3e8);return _0x2bfc5e>0x0?_0x309e6e(_0x5ab073,{'dimColor':!0x0,'children':_0x46744a(_0x2f7295)}):null;};import{isAssignSuccess as _0x5edbcc,isBashSuccess as _0x19ebd0,isLsToolSuccess as _0x1ec643,isGlobSuccess as _0x5f477c,isGrepSuccess as _0x30badd,isFileEditSuccess as _0x1502f4,isFileNewSuccess as _0x480f48,isFileReadSuccess as _0x56bb6c,isTodoWriteSuccess as _0x414b6f,isWebFetchSuccess as _0x1fa38a,isWebSearchSuccess as _0x2d0bef}from'@nuvin/nuvin-core';function G(_0x9038de,_0x3a0f4f,_0x4735e8){const _0x55bc5f={_0x2bc5a3:0x40f,_0x1b96a8:0x49c,_0x416811:0x406};function _0x430f79(_0x1323c7,_0x233a12,_0x4608b1,_0x36033f){return _0x55d8(_0x233a12-0x201,_0x1323c7);}let _0x241a24=_0x3a0f4f[_0x430f79(_0x55bc5f._0x2bc5a3,0x562,_0x55bc5f._0x1b96a8,_0x55bc5f._0x416811)]('.'),_0x36bc8b=_0x9038de;for(let _0x3f37ad of _0x241a24){if(_0x36bc8b==null)return _0x4735e8;_0x36bc8b=_0x36bc8b[_0x3f37ad];}return _0x36bc8b===void 0x0?_0x4735e8:_0x36bc8b;}import{Box as _0x3ccc05,Text as _0x25117f}from'ink';var Re={'CONTENT_MARGIN':0xa,'PARAM_MARGIN':0x6,'MARKDOWN_MARGIN':0xc};import{ErrorReason as _0x2786e9}from'@nuvin/nuvin-core';function Ot(_0x2f509f){const _0xd75d8f={_0x5a98e2:0x4ca,_0x2ce058:0x6d2,_0x5a3bbc:0x612,_0x3b9a63:0x1e4,_0x53601c:0x18e,_0x37194a:0x284,_0x560c05:0x4f4,_0x2524fc:0x9b,_0x49b698:0x41d,_0x8ef9db:0x3c0,_0x491d31:0x214,_0x3fc7e5:0x201,_0x9ee71d:0x426,_0x328413:0x27d,_0x10a338:0x283,_0x40706d:0x374},_0x3a93e6={_0xe21370:0x345},_0x1fabbd={_0x446472:0x11};function _0x31c6b1(_0x5c0bc4,_0x489fd0,_0x5b7b4f,_0xcc8b84){return _0x55d8(_0xcc8b84-_0x1fabbd._0x446472,_0x5c0bc4);}if(!_0x2f509f)return _0x299364(_0xd75d8f._0x5a98e2,_0xd75d8f._0x2ce058,0x567,_0xd75d8f._0x5a3bbc);let _0x36eb65=_0x2f509f['metadata']?.['errorReason'];function _0x299364(_0x27f61a,_0x4bd065,_0x112f7f,_0x1351b8){return _0x55d8(_0x1351b8-_0x3a93e6._0xe21370,_0x112f7f);}return _0x36eb65===_0x2786e9[_0x31c6b1(0x226,0x9e,_0xd75d8f._0x3b9a63,0x1e9)]?_0x31c6b1(0x225,_0xd75d8f._0x53601c,0x2d9,_0xd75d8f._0x37194a):_0x36eb65===_0x2786e9[_0x299364(0x640,0x3c6,_0xd75d8f._0x560c05,0x4ef)]?_0x31c6b1(_0xd75d8f._0x2524fc,0x33a,0x23a,0x1f6):_0x36eb65===_0x2786e9[_0x31c6b1(0x394,0x41b,_0xd75d8f._0x49b698,_0xd75d8f._0x8ef9db)]?_0x31c6b1(_0xd75d8f._0x491d31,0x2a5,_0xd75d8f._0x3fc7e5,0x1bd):_0x36eb65===_0x2786e9['Timeout']?'timeout':_0x2f509f[_0x31c6b1(_0xd75d8f._0x9ee71d,_0xd75d8f._0x328413,_0xd75d8f._0x10a338,_0xd75d8f._0x40706d)];}function ge(_0x304077,_0x3a243a){const _0x3e6f8={_0x235581:0x14,_0x342c50:0x9d,_0x1ce24b:0x16,_0x4e02bd:0x156,_0x1f25a8:0xf2,_0x16ebc7:0x209,_0x58f4b9:0x51,_0x43e3ad:0x103,_0xa4af72:0x90,_0x2c3e26:0x27,_0x90a950:0xb7,_0x44fd2c:0x10b,_0x3c22d3:0xde,_0x4e0c67:0x7c,_0x4587eb:0x1cc,_0x174133:0xf8,_0x308285:0x4,_0x5e6d15:0x121,_0x3afae8:0xc1,_0x44b822:0x185,_0x1f69f4:0x92,_0x5de834:0x199,_0x4c35f5:0x65,_0x1aa0ac:0x246,_0x22ef07:0x133,_0x309a10:0x1f6,_0x89d4f9:0x1c3,_0xcc80e8:0x139,_0x2f3733:0x26a},_0x35fd76={_0x492e36:0x230};function _0x9e4d18(_0x9d3162,_0x16acdd,_0xc6d779,_0x3bddee){return _0x55d8(_0x16acdd- -_0x35fd76._0x492e36,_0xc6d779);}function _0xced096(_0x3a40ba,_0x2bb41d,_0x15bdad,_0x46e53e){return _0x55d8(_0x3a40ba- -0x29a,_0x46e53e);}switch(_0x304077){case _0x9e4d18(-_0x3e6f8._0x235581,_0x3e6f8._0x342c50,-_0x3e6f8._0x1ce24b,0x9a):return _0x3a243a[_0x9e4d18(_0x3e6f8._0x4e02bd,0x133,_0x3e6f8._0x1f25a8,_0x3e6f8._0x16ebc7)]['idle'];case _0x9e4d18(0x261,0x16d,0x182,_0x3e6f8._0x58f4b9):return _0x3a243a['status'][_0xced096(_0x3e6f8._0x43e3ad,0x129,_0x3e6f8._0xa4af72,_0x3e6f8._0x2c3e26)];case _0x9e4d18(-_0x3e6f8._0x90a950,0x43,_0x3e6f8._0x44fd2c,0x11e):case _0xced096(-0xb5,-_0x3e6f8._0x3c22d3,_0x3e6f8._0x4e0c67,-_0x3e6f8._0x4587eb):case _0x9e4d18(0x3d,-0x84,-_0x3e6f8._0x174133,-_0x3e6f8._0x308285):case _0xced096(_0x3e6f8._0x5e6d15,0x2a,0x11b,_0x3e6f8._0x3afae8):return _0x3a243a[_0x9e4d18(_0x3e6f8._0x44b822,_0x3e6f8._0x1f69f4,0x116,0x135)][_0xced096(-0x8e,-0x1a3,-0x4c,-_0x3e6f8._0x5de834)];case _0xced096(0xcf,0xdc,0x87,_0x3e6f8._0x4c35f5):return _0x3a243a[_0x9e4d18(_0x3e6f8._0x1aa0ac,_0x3e6f8._0x22ef07,0x260,_0x3e6f8._0x309a10)][_0x9e4d18(_0x3e6f8._0x89d4f9,_0x3e6f8._0xcc80e8,0x24e,_0x3e6f8._0x2f3733)];}}function Sn(_0x1294c7,_0x33829e){const _0x514422={_0x151417:0x485,_0x25c87c:0x394,_0x4e220b:0x26c,_0x1ea956:0x95,_0x2dee02:0x17f,_0x37cb27:0x109,_0x48080c:0x0,_0x278dc3:0x496,_0x34eae3:0x27e,_0x17e5c8:0x229,_0x3412db:0x25c,_0x59b57e:0x1fe,_0x229e7d:0x3f9,_0x2cdb61:0x380,_0x2261c9:0x384,_0x5ee8b7:0x131,_0x178a90:0xe9,_0x458e5a:0x198,_0x289a1c:0x99,_0x5e344e:0x1ea,_0x29b6e5:0x1d2,_0x273442:0x208,_0x262ae8:0x271,_0x5d77c7:0x27f,_0x2265ab:0x241,_0x427331:0x1f3,_0x28ad12:0x50e,_0x174f70:0x2aa,_0x58b7b8:0x1b2,_0x1d9875:0x211,_0x3aea43:0x2c8,_0x1beb21:0x1c0,_0x23e68b:0x17f,_0x278cdb:0x1e6,_0x19d07b:0x293,_0x5e0bd3:0x562,_0x16dd43:0x46a,_0x4f56fb:0x37f,_0x163948:0x1d4,_0x448289:0x61,_0x116121:0x1c3,_0xca1b74:0xb1,_0x4f217c:0xbc,_0x28dd68:0x11b,_0xfc918f:0x405,_0x29ca1c:0x49d,_0x3008dd:0x145,_0x2fefc1:0x2f7,_0x390e3e:0x240,_0x1cda0c:0x88,_0x28de84:0x67,_0xaa6765:0x55};let _0xa34fa;switch(_0x1294c7){case _0x2f3b51(_0x514422._0x151417,0x2b1,_0x514422._0x25c87c,_0x514422._0x4e220b):case _0x32a76a(0x80,-0x36,0xd3,_0x514422._0x1ea956):{let _0x463745=_0x33829e[_0x32a76a(0xf0,_0x514422._0x2dee02,_0x514422._0x37cb27,_0x514422._0x48080c)];if(!_0x463745)return;let _0x13b90a=_0x33829e[_0x2f3b51(_0x514422._0x278dc3,0x462,0x3ae,_0x514422._0x34eae3)],_0x3eefa2=_0x33829e[_0x32a76a(0x103,0x60,0x25f,_0x514422._0x17e5c8)];_0x13b90a!==void 0x0&&_0x3eefa2!==void 0x0?_0xa34fa=_0x463745+':'+_0x13b90a+'-'+_0x3eefa2:_0x13b90a!==void 0x0?_0xa34fa=_0x463745+':'+_0x13b90a:_0xa34fa=_0x463745;break;}case _0x2f3b51(_0x514422._0x3412db,_0x514422._0x59b57e,0x2e2,_0x514422._0x229e7d):case _0x2f3b51(0x4f7,_0x514422._0x2cdb61,0x472,_0x514422._0x2261c9):_0xa34fa=_0x33829e['file_path'];break;case _0x2f3b51(0x171,_0x514422._0x5ee8b7,0x1c2,0x1c4):{let _0x1505bf=_0x33829e[_0x32a76a(0x50,-_0x514422._0x178a90,0x42,_0x514422._0x458e5a)],_0x4951c1=_0x33829e[_0x32a76a(0xf0,_0x514422._0x289a1c,0xd7,_0x514422._0x5e344e)];_0x1505bf?_0x4951c1?_0xa34fa=_0x1505bf+_0x2f3b51(_0x514422._0x29b6e5,_0x514422._0x273442,0x1f4,0x14b)+_0x4951c1:_0xa34fa=_0x1505bf:_0xa34fa=void 0x0;break;}case _0x2f3b51(0x3e3,0x2ed,0x3d6,0x3df):_0xa34fa=_0x33829e[_0x2f3b51(0x13a,0x23d,0x1e3,_0x514422._0x262ae8)];break;case _0x32a76a(0x289,0x378,0x39a,_0x514422._0x5d77c7):{let _0x930cfc=_0x33829e[_0x32a76a(_0x514422._0x2265ab,0x391,0xf4,_0x514422._0x427331)],_0x312506=_0x33829e[_0x2f3b51(0x368,0x3c0,0x419,_0x514422._0x28ad12)],_0x32920f=_0x33829e[_0x2f3b51(0x2da,0x398,_0x514422._0x174f70,_0x514422._0x58b7b8)];if(!_0x312506)_0xa34fa=_0x930cfc;else{let _0x57b26d=_0x312506;if(_0x32920f!==void 0x0){_0x57b26d+=':'+_0x32920f;let _0x5e4525=_0x33829e[_0x2f3b51(0x1cd,_0x514422._0x1d9875,_0x514422._0x3aea43,0x256)];_0x5e4525!==void 0x0&&(_0x57b26d+=':'+_0x5e4525);}_0xa34fa=_0x930cfc?_0x930cfc+'\x20'+_0x57b26d:_0x57b26d;}break;}case _0x32a76a(_0x514422._0x1beb21,_0x514422._0x23e68b,_0x514422._0x278cdb,_0x514422._0x19d07b):_0xa34fa=_0x33829e[_0x2f3b51(_0x514422._0x5e0bd3,0x387,_0x514422._0x16dd43,0x511)];break;case'web_search':_0xa34fa=_0x33829e[_0x2f3b51(0x48c,0x4e0,_0x514422._0x4f56fb,0x296)];break;case'bash_tool':{let _0x29f4b2=_0x33829e[_0x32a76a(_0x514422._0x163948,0x1e6,0x1e6,_0x514422._0x17e5c8)],_0x548c8f=_0x33829e['cwd'];if(!_0x29f4b2)return;_0xa34fa=_0x548c8f?_0x29f4b2+_0x32a76a(_0x514422._0x448289,_0x514422._0x116121,-_0x514422._0xca1b74,-_0x514422._0x4f217c)+_0x548c8f:_0x29f4b2;break;}case'skill':_0xa34fa=_0x33829e[_0x32a76a(0xcb,0xd7,_0x514422._0x28dd68,0x134)];break;case _0x2f3b51(_0x514422._0xfc918f,_0x514422._0x29ca1c,0x400,0x481):return;default:return;}function _0x32a76a(_0x41854d,_0x13f71e,_0x2e5091,_0x273e6c){return _0x55d8(_0x41854d- -0xeb,_0x273e6c);}if(_0xa34fa&&_0x33829e[_0x2f3b51(0x2fc,_0x514422._0x3008dd,0x240,0x297)]!==void 0x0){let _0x4fbbd8=_0x33829e[_0x2f3b51(0x108,_0x514422._0x2fefc1,_0x514422._0x390e3e,0x25f)];_0xa34fa+=_0x32a76a(_0x514422._0x1cda0c,-_0x514422._0x28de84,0x7b,-_0x514422._0xaa6765)+_0x4fbbd8;}function _0x2f3b51(_0x5eccf7,_0x184492,_0x332b78,_0x59103d){return _0x55d8(_0x332b78-0xa8,_0x5eccf7);}return _0xa34fa;}import{useMemo as _0x2b6f59,useCallback as _0x41e012}from'react';import{Text as _0x5298ad}from'ink';import{marked as _0x39b29d}from'marked';import _0x352ad3 from'chalk';import _0x2a907a from'ansi-escapes';import{stdout as _0x174c73}from'supports-hyperlinks';import _0x24e2a4 from'string-width';var is='\x0d',as=new RegExp(is),ls=['\x09'];function ot(_0x54b4e3){return _0x54b4e3;}function _t(..._0x1110e6){return _0x51c495=>{let _0x394351=_0x51c495;for(let _0x34d036=_0x1110e6['length'];_0x34d036-->0x0;)_0x394351=_0x1110e6[_0x34d036](_0x394351);return _0x394351;};}function $t(_0xf4e4eb){const _0x18051a={_0x2556f6:0x408,_0x525ca1:0x44b,_0x290385:0x543},_0x10987f={_0x142ebd:0x49};function _0x37597e(_0x4bfe96,_0x4c5b8d,_0x22e4c6,_0x269dc7){return _0x55d8(_0x4c5b8d-0x285,_0x269dc7);}function _0x4b5843(_0x5aee0a,_0x54c62e,_0x471dd4,_0x522ab7){return _0x55d8(_0x54c62e- -_0x10987f._0x142ebd,_0x522ab7);}return _0xf4e4eb[_0x37597e(0x3b1,_0x18051a._0x2556f6,_0x18051a._0x525ca1,0x47c)](/[-[\]/{}()*+?.\\^$|]/g,_0x37597e(0x5f9,_0x18051a._0x290385,0x405,0x4b3));}function Rn(_0x2c355f){const _0x99a151={_0x370598:0x7e,_0x3e91b5:0x4e,_0x5a3302:0x12d,_0x3f1778:0xf6,_0x19828c:0xb6,_0x54dcb8:0x153,_0x425baa:0x281,_0x46df2b:0xf4};function _0x10384b(_0x4b04c4,_0x17fc05,_0x4c3305,_0x4276b7){return _0x55d8(_0x4b04c4- -0x1d1,_0x4c3305);}function _0x49f3cf(_0x5985af,_0x44333d,_0x7ff58d,_0x4675f0){return _0x55d8(_0x44333d- -0x44,_0x7ff58d);}return _0x2c355f[_0x49f3cf(0x1e8,0x13f,_0x99a151._0x370598,0xcb)](/&amp;/g,'&')[_0x10384b(-_0x99a151._0x3e91b5,-_0x99a151._0x5a3302,_0x99a151._0x3f1778,0xd6)](/&lt;/g,'<')['replace'](/&gt;/g,'>')[_0x49f3cf(0x110,0x13f,_0x99a151._0x19828c,_0x99a151._0x54dcb8)](/&quot;/g,'\x22')[_0x49f3cf(_0x99a151._0x425baa,0x13f,0x18c,_0x99a151._0x46df2b)](/&#39;/g,'\x27');}function ve(_0x36869a){return _0x24e2a4(_0x36869a);}function yt(_0x4a53a8,_0x477511){return _0x477511?_0x4a53a8['replace'](as,'\x0a'):_0x4a53a8;}function us(_0x58c45f){const _0x165e74={_0x23aa05:0x4d5,_0x59ad21:0x487},_0x3cf7c2={_0x4c86b1:0xfc};function _0xdc9e35(_0x53f115,_0x5c3cfc,_0xc594e2,_0x196543){return _0x55d8(_0x53f115-_0x3cf7c2._0x4c86b1,_0x5c3cfc);}function _0x27937e(_0x420847,_0x5c94d8,_0x333276,_0xcdc8ac){return _0x55d8(_0x420847-0x342,_0x5c94d8);}return ls[_0x27937e(0x52d,_0x165e74._0x23aa05,0x4cb,_0x165e74._0x59ad21)](_0x3d99ce=>_0x58c45f['match']('^('+_0x3d99ce+_0xdc9e35(0x25b,0x157,0x28e,0x26c)));}function vn(_0x45963e,_0x3ef9a1){const _0x36f02a={_0x213b34:0x38},_0x45320f={_0x1be1ac:0x11c};function _0x26defe(_0x2e1ac7,_0x2316e5,_0x194ae6,_0x34dc40){return _0x55d8(_0x2316e5- -_0x45320f._0x1be1ac,_0x34dc40);}return typeof _0x45963e==_0x26defe(0x94,0x80,0x9b,-_0x36f02a._0x213b34)?new Array(_0x45963e+0x1)['join']('\x20'):typeof _0x45963e=='string'&&us(_0x45963e)?_0x45963e:new Array(_0x3ef9a1+0x1)['join']('\x20');}import*as _0x1754b4 from'node-emoji';var yo=_0x120ca0(0x51e,0x4b4,0x394,0x44b),cs=new RegExp($t(yo),'g');function Mn(_0x52cce8){const _0x3dee36={_0x4908a0:0x204,_0x192f3d:0x305},_0x317bed={_0x5800b0:0x287,_0x4d7258:0x2e8,_0x5b848f:0x27a,_0x3e589d:0x258},_0x45584b={_0xd8f664:0x121,_0x3adc15:0xd0,_0xc63d3:0x5df};function _0x34e182(_0x329c34,_0x26345e,_0x3542ce,_0x162c73){return _0x120ca0(_0x26345e,_0x26345e-_0x45584b._0xd8f664,_0x3542ce-_0x45584b._0x3adc15,_0x3542ce- -_0x45584b._0xc63d3);}return _0x52cce8[_0x34e182(-0x13c,-_0x3dee36._0x4908a0,-0x1f7,-_0x3dee36._0x192f3d)](/:([A-Za-z0-9_\-+]+?):/g,_0xf0b08e=>{const _0x327adc={_0x189cd8:0x462,_0x32fa02:0x1d6};let _0x1e3271=_0x1754b4[_0x329185(_0x317bed._0x5800b0,_0x317bed._0x4d7258,_0x317bed._0x5b848f,_0x317bed._0x3e589d)](_0xf0b08e);function _0x329185(_0x5d0953,_0x2b7dc1,_0x566219,_0x14767e){return _0x34e182(_0x5d0953-0xc1,_0x5d0953,_0x14767e-_0x327adc._0x189cd8,_0x14767e-_0x327adc._0x32fa02);}return _0x1e3271?_0x1e3271+'\x20':_0xf0b08e;});}function In(_0x4a935e){const _0x492fb8={_0x2e5844:0x16f,_0x4435b7:0x1d9,_0x4e7caf:0xff},_0x4b38f3={_0x4d6a93:0x4};function _0x24430a(_0x5e92d2,_0x1bca85,_0x38d448,_0x377498){return _0x120ca0(_0x5e92d2,_0x1bca85-_0x4b38f3._0x4d6a93,_0x38d448-0x134,_0x377498- -0x4b6);}return _0x4a935e[_0x24430a(-_0x492fb8._0x2e5844,-_0x492fb8._0x4435b7,-_0x492fb8._0x4e7caf,-0xce)](cs,':');}import _0x7f9057 from'cli-table3';import _0x3519f0 from'string-width';var To=_0x286169(0x565,0x5dd,0x690,0x5b4),Ft=_0x120ca0(0x436,0x4dc,0x4fe,0x53e),ms=new RegExp($t(Ft),'g');function Bn(_0x47bde5,_0x689886){const _0x272d8a={_0x1aeb3f:0x259,_0x4c11a4:0x281},_0x46decd={_0x191a86:0x3cc,_0x2a2308:0x36d,_0x279eb3:0x506,_0x12943d:0x35e,_0x34dca1:0x457,_0x3f3ce3:0x348,_0x48b2f2:0x49e,_0x286511:0x472},_0x20ee85={_0x59c41d:0x2d,_0x303e93:0x65,_0x519a8b:0x36d};if(!_0x47bde5)return[];function _0x3eeff7(_0x579015,_0x2a3b7b,_0x5eebc6,_0x511073){return _0x120ca0(_0x5eebc6,_0x2a3b7b-_0x20ee85._0x59c41d,_0x5eebc6-_0x20ee85._0x303e93,_0x579015- -_0x20ee85._0x519a8b);}let _0x5e7077=(_0x689886||ot)(_0x47bde5)[_0x3eeff7(_0x272d8a._0x1aeb3f,0x23d,_0x272d8a._0x4c11a4,0x1ec)]('\x0a'),_0xf94db5=[];return _0x5e7077['forEach'](_0x2ffe4f=>{const _0x276366={_0x323337:0x173,_0x47fe75:0x9a},_0x1f495b={_0x372f20:0x114};function _0x21cdb4(_0x594470,_0x18c0c1,_0x4ac973,_0xa25fa9){return _0x3eeff7(_0x594470-0x263,_0x18c0c1-_0x1f495b._0x372f20,_0x18c0c1,_0xa25fa9-0x154);}function _0x5b294e(_0x353315,_0x51039a,_0x343398,_0x5a5ae4){return _0x3eeff7(_0x353315-_0x276366._0x323337,_0x51039a-_0x276366._0x47fe75,_0x5a5ae4,_0x5a5ae4-0xef);}if(!_0x2ffe4f)return;let _0x1d7761=_0x2ffe4f['replace'](ms,'')[_0x5b294e(_0x46decd._0x191a86,_0x46decd._0x2a2308,_0x46decd._0x279eb3,0x27e)](To);_0xf94db5[_0x5b294e(_0x46decd._0x12943d,0x47e,_0x46decd._0x34dca1,_0x46decd._0x3f3ce3)](_0x1d7761['splice'](0x0,_0x1d7761[_0x21cdb4(_0x46decd._0x48b2f2,0x4b1,0x385,_0x46decd._0x286511)]-0x1));}),_0xf94db5;}function ps(_0x1905e9,_0x210fd2,_0x4ef02b){const _0x527211={_0x33eab8:0x584,_0x2a2460:0x5cf,_0x437dac:0x4a6,_0x4be91d:0x555,_0x119b88:0x6e5,_0x2c799a:0x435,_0x544790:0x67f,_0x305c68:0x462,_0x1d1233:0x2fc,_0x16d504:0x7a,_0x36e3c0:0x18,_0x5d5768:0x421,_0x2706bd:0x27f,_0x44f5c5:0x3a1},_0xf08ed6={_0x4d0bed:0x13c,_0x3febc7:0x1b,_0x26aeb7:0x1e7};if(!_0x1905e9||_0x1905e9[_0x9ef5c5(_0x527211._0x33eab8,_0x527211._0x2a2460,_0x527211._0x437dac,_0x527211._0x4be91d)]===0x0)return;function _0x9ef5c5(_0x3b5657,_0x570005,_0x5b6511,_0xc90b4){return _0x286169(_0x3b5657-_0xf08ed6._0x4d0bed,_0x3b5657-_0xf08ed6._0x3febc7,_0xc90b4,_0xc90b4-_0xf08ed6._0x26aeb7);}let _0x2743a2=_0x1905e9[_0x9ef5c5(0x584,_0x527211._0x119b88,_0x527211._0x2c799a,_0x527211._0x544790)],_0x1d5da6=0x1+_0x2743a2*0x3,_0x5d9380=Math[_0x9ef5c5(0x3db,0x39e,_0x527211._0x305c68,_0x527211._0x1d1233)](_0x4ef02b-_0x1d5da6,_0x2743a2*0x5),_0x3707ad=[];for(let _0x335f32=0x0;_0x335f32<_0x2743a2;_0x335f32++){let _0x35c8a3=_0x3519f0(_0x1905e9[_0x335f32]||'');for(let _0x14288c of _0x210fd2)_0x14288c[_0x335f32]&&(_0x35c8a3=Math['max'](_0x35c8a3,_0x3519f0(_0x14288c[_0x335f32])));_0x3707ad[_0xe8f906(0x55,-_0x527211._0x16d504,_0x527211._0x36e3c0,0x6e)](_0x35c8a3);}let _0x32056e=_0x3707ad['reduce']((_0x3a0095,_0x5e9484)=>_0x3a0095+_0x5e9484,0x0);if(_0x32056e<=_0x5d9380)return;function _0xe8f906(_0x482c21,_0x3c11fc,_0x2323f8,_0x1066e6){return _0x120ca0(_0x482c21,_0x3c11fc-0x16c,_0x2323f8-0x197,_0x3c11fc- -0x5d2);}let _0x37161a=0x5,_0x3d9017=[],_0x316a70=_0x5d9380;for(let _0x268923=0x0;_0x268923<_0x2743a2;_0x268923++){let _0x2344c8=_0x3707ad[_0x268923]/_0x32056e,_0x40308e=Math[_0x9ef5c5(0x3db,_0x527211._0x5d5768,_0x527211._0x2706bd,_0x527211._0x44f5c5)](Math['floor'](_0x2344c8*_0x5d9380),_0x37161a);_0x268923===_0x2743a2-0x1?_0x40308e=Math[_0x9ef5c5(0x3db,0x2d9,0x4de,0x539)](_0x316a70,_0x37161a):_0x316a70-=_0x40308e,_0x3d9017['push'](_0x40308e);}return _0x3d9017;}function Pn(_0x547301,_0x31768d,_0x814c9f,_0x39d8d1,_0x46e732,_0x3d979c){const _0x2a2b7c={_0x177a21:0x2f,_0x205399:0x18b,_0x3bd0c6:0xa3},_0x454229={_0x573566:0x56f,_0x6c1e53:0x5f4},_0x467ebc={_0x2f010f:0xd8};let _0x10d50b=Bn(_0x547301)[0x0]||[],_0x136177=Bn(_0x31768d||'',_0x39d8d1),_0x38ee09=_0x3d979c?ps(_0x10d50b,_0x136177,_0x3d979c):void 0x0,_0x5253f6={'head':_0x10d50b,'wordWrap':!0x0,'wrapOnWordBoundary':!0x0,..._0x814c9f};_0x38ee09&&(_0x5253f6[_0x501f9(-_0x2a2b7c._0x177a21,_0x2a2b7c._0x205399,_0x2a2b7c._0x3bd0c6,0x116)]=_0x38ee09);function _0x501f9(_0x14446d,_0x5a9b00,_0x5b3b24,_0x482a28){return _0x120ca0(_0x14446d,_0x5a9b00-0x197,_0x5b3b24-0x159,_0x5b3b24- -0x37e);}let _0x134f6f=new _0x7f9057(_0x5253f6);return _0x136177['forEach'](_0x1dd596=>{function _0x51d240(_0x2136ca,_0x51b018,_0x573347,_0x42ba6d){return _0x501f9(_0x51b018,_0x51b018-_0x467ebc._0x2f010f,_0x573347-0x395,_0x42ba6d-0xad);}_0x134f6f[_0x51d240(0x6af,0x44a,_0x454229._0x573566,_0x454229._0x6c1e53)](_0x1dd596);}),_0x46e732(_0x134f6f['toString']());}var fs=_0x120ca0(0x46e,0x611,0x48d,0x5c1),En=_0x120ca0(0x3ea,0x2d6,0x429,0x3e1)+['\x5c*',fs][_0x286169(0x493,0x358,0x37c,0x45a)]('|')+')',Ht='*\x20';function Dn(_0x150a7e,_0x4b4e8e){const _0x56eb4e={_0x393d00:0x3ae,_0x13bab6:0x24e,_0x130c04:0x111},_0x3f40c8={_0x52e9d9:0xaf},_0x30d1b8={_0x169a9b:0x30,_0x3e5d4c:0x1db};function _0xdafe1(_0x30c079,_0x3bb551,_0x55b1ac,_0x233f92){return _0x120ca0(_0x55b1ac,_0x3bb551-0x70,_0x55b1ac-_0x30d1b8._0x169a9b,_0x3bb551- -_0x30d1b8._0x3e5d4c);}function _0xb22c95(_0x12580a,_0x579bdb,_0x29bf94,_0x21a294){return _0x286169(_0x12580a-_0x3f40c8._0x52e9d9,_0x579bdb- -0x595,_0x21a294,_0x21a294-0x163);}return!!_0x150a7e[_0xdafe1(0x37f,0x309,_0x56eb4e._0x393d00,0x248)](_0xdafe1(0x144,_0x56eb4e._0x13bab6,0x1b5,_0x56eb4e._0x130c04)+_0x4b4e8e+')*'+En);}function Nn(_0x2ade1e){const _0x2318a9={_0x5e40ba:0x4f2,_0x1315a1:0x4c2};function _0x3755bd(_0x418de1,_0x9d2e76,_0x3e7aca,_0x17f7bc){return _0x120ca0(_0x9d2e76,_0x9d2e76-0x152,_0x3e7aca-0x1b5,_0x418de1- -0xac);}return'\x20'[_0x3755bd(0x41e,0x326,_0x2318a9._0x5e40ba,_0x2318a9._0x1315a1)](_0x2ade1e['length']);}function gs(_0x4c8404,_0xdfc126){return Dn(_0xdfc126,_0x4c8404)?_0xdfc126:Nn(Ht)+_0xdfc126;}function hs(_0x3da3fa,_0x1aacfb){const _0x3e0846={_0x361347:0xe4,_0x529421:0x267,_0x1d73d7:0xa7,_0xbc6098:0xd,_0xb1f9c7:0x115,_0x373c5a:0x14b,_0x3419dc:0x83,_0x1c2d3d:0x248},_0x4ec312={_0x2b9a97:0x1e7,_0x58ce1f:0x522},_0x3f6600={_0x4b9cf1:0x4e2};function _0x15a9bc(_0x3ef57f,_0xc67987,_0xdd9393,_0x4c8c3d){return _0x120ca0(_0xdd9393,_0xc67987-0x12b,_0xdd9393-0x13c,_0x3ef57f- -_0x3f6600._0x4b9cf1);}function _0x3a31ce(_0x16ce1d,_0x1336b7,_0x2697d5,_0x33f3cc){return _0x120ca0(_0x2697d5,_0x1336b7-_0x4ec312._0x2b9a97,_0x2697d5-0x102,_0x33f3cc- -_0x4ec312._0x58ce1f);}let _0x51e4d6=_0x4ec17a=>gs(_0x1aacfb,_0x4ec17a);return _0x3da3fa[_0x15a9bc(_0x3e0846._0x361347,0x1cf,0x237,0x3d)]('\x0a')[_0x3a31ce(-_0x3e0846._0x529421,-_0x3e0846._0x1d73d7,_0x3e0846._0xbc6098,-_0x3e0846._0xb1f9c7)](_0x400374=>_0x400374[_0x3a31ce(-0x239,-0x2bc,-0x244,-0x15f)]()[_0x3a31ce(0x142,-0x55,-0x98,0x86)]>0x0)['map'](_0x51e4d6)[_0x15a9bc(-_0x3e0846._0x373c5a,-_0x3e0846._0x3419dc,-0x248,-_0x3e0846._0x1c2d3d)]('\x0a');}function Ln(_0x5b1587){return _0x5b1587+'.\x20';}function xs(_0xfea037,_0xa363c9,_0x428942){return Dn(_0xa363c9,_0xfea037)?{'num':_0x428942+0x1,'line':_0xa363c9['replace'](Ht,Ln(_0x428942+0x1))}:{'num':_0x428942,'line':Nn(Ln(_0x428942))+_0xa363c9};}function bs(_0x258535,_0x5c5a62){const _0x56a274={_0x2803bd:0x210,_0x31a0c5:0x152},_0x100473={_0x5ca0aa:0x3d2,_0x317e63:0x27e,_0x4b9a37:0x343},_0x434ed9={_0x38f610:0x2c5},_0x13e693={_0x5ad9f6:0x81};function _0x5b893e(_0x1b7486,_0x1d2155,_0xc1b98c,_0x49ee22){return _0x120ca0(_0xc1b98c,_0x1d2155-_0x13e693._0x5ad9f6,_0xc1b98c-0x1a6,_0x49ee22- -0x54f);}let _0x5c6291=0x0;function _0x43cee9(_0x54fa78,_0x55436f,_0x59beaa,_0x3aa6f5){return _0x286169(_0x54fa78-0x156,_0x55436f- -_0x434ed9._0x38f610,_0x3aa6f5,_0x3aa6f5-0xce);}return _0x258535['split']('\x0a')['filter'](_0x5a159d=>_0x5a159d['trim']()[_0x5b893e(-0x92,-0x6d,0x193,0x59)]>0x0)[_0x43cee9(_0x56a274._0x2803bd,0xf5,_0x56a274._0x31a0c5,0xef)](_0x70b96=>{const _0x39910a={_0x680dfd:0x184,_0x100df7:0x193,_0x2a6d4c:0x56b},_0xc74424={_0x3b5645:0x13f};let _0x164dc5=xs(_0x5c5a62,_0x70b96,_0x5c6291);function _0x19ff0c(_0x32684e,_0x4a7767,_0x2f5bac,_0x2cf2c9){return _0x43cee9(_0x32684e-0x1ac,_0x32684e-0x1e0,_0x2f5bac-_0xc74424._0x3b5645,_0x2cf2c9);}function _0x1323b4(_0x13a25d,_0x62484,_0x56d289,_0x28d389){return _0x5b893e(_0x13a25d-_0x39910a._0x680dfd,_0x62484-_0x39910a._0x100df7,_0x13a25d,_0x62484-_0x39910a._0x2a6d4c);}return _0x5c6291=_0x164dc5[_0x1323b4(0x39d,_0x100473._0x5ca0aa,_0x100473._0x317e63,0x44f)],_0x164dc5[_0x19ff0c(_0x100473._0x4b9a37,0x370,0x25b,0x2b3)];})['join']('\x0a');}function On(_0x487727,_0x409364,_0x1a0198){const _0x141672={_0x20f704:0x73,_0x1c832c:0x13},_0x1b5a6e={_0x3026f8:0x90,_0x4edafa:0x36d,_0x2bf9e2:0x27};function _0x1e3511(_0x31e237,_0x220a05,_0xd9fd7,_0x2992d2){return _0x286169(_0x31e237-_0x1b5a6e._0x3026f8,_0x2992d2- -_0x1b5a6e._0x4edafa,_0x31e237,_0x2992d2-_0x1b5a6e._0x2bf9e2);}return _0x487727=_0x487727[_0x1e3511(-_0x141672._0x20f704,-0x57,_0x141672._0x1c832c,0x17)](),_0x487727=_0x409364?bs(_0x487727,_0x1a0198):hs(_0x487727,_0x1a0198),_0x487727;}function _n(_0x6dd253,_0x39831f){const _0x3c33bc={_0x112633:0x707,_0x152849:0x520,_0x41b693:0x5a7,_0x2ad2b2:0x566,_0x3fc5a0:0x624,_0x3bb149:0x382,_0x4310da:0x664,_0xd74630:0x448,_0x362ca1:0x574},_0x5546d1={_0x3721c3:0xb2};function _0x2c7379(_0x3c9a8e,_0x59f505,_0x4d54fb,_0x51f8a0){return _0x286169(_0x3c9a8e-0x106,_0x3c9a8e-0x196,_0x4d54fb,_0x51f8a0-_0x5546d1._0x3721c3);}function _0x16e3df(_0x13a936,_0x868db2,_0x59b381,_0x3c0986){return _0x120ca0(_0x59b381,_0x868db2-0x68,_0x59b381-0x89,_0x13a936-0x5b);}let _0x5768d2=new RegExp(_0x16e3df(0x654,_0x3c33bc._0x112633,0x554,0x5d6)+_0x39831f+_0x16e3df(_0x3c33bc._0x152849,0x3ce,0x53d,0x67f)+En+_0x16e3df(_0x3c33bc._0x41b693,_0x3c33bc._0x2ad2b2,0x50a,_0x3c33bc._0x3fc5a0),'gm');return _0x6dd253[_0x16e3df(0x443,0x3d6,_0x3c33bc._0x3bb149,0x33d)](_0x5768d2,_0x2c7379(0x6a9,_0x3c33bc._0x4310da,0x5bd,0x6d3)+_0x39831f+_0x16e3df(_0x3c33bc._0xd74630,_0x3c33bc._0x362ca1,0x52a,0x3e2));}function $n(_0xc1dfd7,_0x2bc515){return _0x2bc515['replace'](/(^|\n)(.+)/g,'$1'+_0xc1dfd7+'$2');}var Fn='\x0d',ys=new RegExp(Fn),Ts=new RegExp(Fn+_0x286169(0x373,0x483,0x3be,0x38b));function Cs(_0x2f303c,_0x1ca07a){const _0x4c7783={_0x5c885c:0x3f5,_0x8a9918:0x515,_0x4a5259:0xc7,_0x12f49d:0xe7,_0x1d295a:0x178,_0x5b5032:0x182,_0x1cc835:0x32b,_0x907e2f:0x478,_0x2e2a6d:0x22b,_0x39c4e5:0x3ab,_0x5c7213:0x37e,_0x688f47:0x386,_0x45d9ac:0x9b,_0x2367ba:0x450,_0x91d881:0x47f,_0xec337f:0x561,_0x3b9d70:0x401,_0x4626e3:0x26,_0x1e2dd1:0x6e,_0xd0d494:0x92,_0x288011:0x5e3,_0x38896b:0x197,_0xce972d:0x4e3,_0x342179:0x4e7,_0xe376c1:0x2e3,_0x195712:0x428,_0x43eaf4:0x4bd,_0x55af9f:0xbd,_0x250f81:0x1e,_0x4e280d:0x28},_0x37adab={_0x1f29b9:0x1d7,_0x558fd1:0x8b},_0x4971ff={_0xc416b:0x124};function _0x314d82(_0x1e6359,_0x118a09,_0x245283,_0x3d572f){return _0x286169(_0x1e6359-0x190,_0x245283- -0xf1,_0x1e6359,_0x3d572f-_0x4971ff._0xc416b);}let _0xa1b143=_0x2f303c[_0x314d82(_0x4c7783._0x5c885c,_0x4c7783._0x8a9918,0x3b4,0x2ea)](/^([ \t]*)/),_0x369cee=_0xa1b143?_0xa1b143[0x1]:'',_0x20ea44=_0x369cee['replace'](/\t/g,_0x5998e3(-_0x4c7783._0x4a5259,-_0x4c7783._0x12f49d,-_0x4c7783._0x1d295a,-_0x4c7783._0x5b5032))[_0x314d82(_0x4c7783._0x1cc835,0x3d0,_0x4c7783._0x907e2f,0x35a)],_0x3a06f2=_0x2f303c[_0x314d82(_0x4c7783._0x2e2a6d,_0x4c7783._0x39c4e5,_0x4c7783._0x5c7213,_0x4c7783._0x688f47)](_0x369cee[_0x5998e3(0x125,-_0x4c7783._0x45d9ac,0x6e,0x47)]);if(!_0x3a06f2)return[_0x369cee];function _0x5998e3(_0x4cc0a3,_0x387a9e,_0x4ea389,_0x60715c){return _0x286169(_0x4cc0a3-_0x37adab._0x1f29b9,_0x4ea389- -0x4fb,_0x387a9e,_0x60715c-_0x37adab._0x558fd1);}let _0xbafd98=_0x1ca07a-_0x20ea44;if(_0xbafd98<=0x0)return[_0x2f303c];let _0x3a6d3d=_0x3a06f2['split'](/(\u001b\[(?:\d{1,3})(?:;\d{1,3})*m)/g),_0x567920=[],_0x5cdf18=0x0,_0x5794b3=_0x369cee,_0x5be357=!0x1;for(;_0x3a6d3d[_0x314d82(_0x4c7783._0x2367ba,_0x4c7783._0x91d881,_0x4c7783._0x907e2f,0x365)];){let _0x2666b8=_0x3a6d3d[0x0];if(_0x2666b8===''){_0x3a6d3d['splice'](0x0,0x1),_0x5be357=!0x1;continue;}if(!ve(_0x2666b8)){_0x5794b3+=_0x2666b8,_0x3a6d3d[_0x314d82(0x411,_0x4c7783._0xec337f,_0x4c7783._0x3b9d70,0x342)](0x0,0x1),_0x5be357=!0x0;continue;}let _0x26b198=_0x2666b8['split'](/ +/);for(let _0x5aa08f=0x0;_0x5aa08f<_0x26b198[_0x5998e3(0x30,-_0x4c7783._0x4626e3,_0x4c7783._0x1e2dd1,-_0x4c7783._0xd0d494)];_0x5aa08f++){let _0x1a1c22=_0x26b198[_0x5aa08f],_0x2f72b1=ve(_0x1a1c22),_0x187bec=_0x5cdf18!==0x0;if(_0x5be357&&(_0x187bec=!0x1),_0x5cdf18+_0x2f72b1+(_0x187bec?0x1:0x0)>_0xbafd98){if(_0x2f72b1<=_0xbafd98)_0x567920['push'](_0x5794b3),_0x5794b3=_0x369cee+_0x1a1c22,_0x5cdf18=_0x2f72b1;else{let _0x2f949a=_0x1a1c22[_0x314d82(0x398,_0x4c7783._0x288011,0x4e7,0x4fb)](0x0,_0xbafd98-_0x5cdf18-(_0x187bec?0x1:0x0)),_0xa31fa1=ve(_0x2f949a);for(_0x187bec&&(_0x5794b3+='\x20'),_0x5794b3+=_0x2f949a,_0x567920['push'](_0x5794b3),_0x5794b3=_0x369cee,_0x5cdf18=0x0,_0x1a1c22=_0x1a1c22[_0x5998e3(-0x5f,0x144,0xdd,0xac)](_0x2f949a[_0x5998e3(_0x4c7783._0x38896b,-0xf0,0x6e,0x1aa)]),_0x2f72b1=ve(_0x1a1c22);_0x2f72b1&&(_0x2f949a=_0x1a1c22[_0x314d82(_0x4c7783._0xce972d,0x571,_0x4c7783._0x342179,0x517)](0x0,_0xbafd98),_0xa31fa1=ve(_0x2f949a),!!_0xa31fa1);)if(_0xa31fa1<_0xbafd98){_0x5794b3=_0x369cee+_0x2f949a,_0x5cdf18=_0xa31fa1;break;}else _0x567920[_0x314d82(_0x4c7783._0xe376c1,0x45b,_0x4c7783._0x195712,_0x4c7783._0x43eaf4)](_0x369cee+_0x2f949a),_0x1a1c22=_0x1a1c22['substr'](_0xbafd98),_0x2f72b1=ve(_0x1a1c22);}}else _0x187bec&&(_0x5794b3+='\x20',_0x5cdf18++),_0x5794b3+=_0x1a1c22,_0x5cdf18+=_0x2f72b1;_0x5be357=!0x1;}_0x3a6d3d[_0x5998e3(0xea,_0x4c7783._0x55af9f,-0x9,0x13c)](0x0,0x1);}return ve(_0x5794b3)&&_0x567920[_0x5998e3(0x5c,-0xeb,_0x4c7783._0x250f81,-_0x4c7783._0x4e280d)](_0x5794b3),_0x567920;}function Co(_0xb8c06d,_0x10a374,_0x41d606){const _0x20c7c8={_0x52156f:0x63f,_0x227aaf:0x531,_0x53597a:0x5e7},_0x45fa75={_0x530630:0x1a6,_0x20a7fd:0x159,_0x5b7af8:0x1e9,_0x3a1fe5:0x1d},_0x40c12={_0x1ea2f5:0xa3,_0x42d1e0:0xf2},_0x382544={_0x2affb1:0x2a9};function _0x47610a(_0x20c022,_0x1ae887,_0x5b9132,_0x5e0fd7){return _0x120ca0(_0x20c022,_0x1ae887-0x12c,_0x5b9132-0x15e,_0x5e0fd7- -0x73);}function _0xc9d07f(_0x1c225a,_0x12bb86,_0x5577ad,_0x133967){return _0x286169(_0x1c225a-0x11d,_0x1c225a- -_0x382544._0x2affb1,_0x12bb86,_0x133967-0xd7);}let _0x3ffee0=_0x41d606?Ts:ys,_0xefeef8=_0xb8c06d[_0x47610a(_0x20c7c8._0x52156f,_0x20c7c8._0x227aaf,_0x20c7c8._0x53597a,0x553)](_0x3ffee0),_0x17caed=[];return _0xefeef8[_0x47610a(0x32f,0x3fa,0x3f0,0x454)](_0x41062b=>{const _0x4b3cd7={_0x1437da:0xc4};let _0x5308e8=_0x41062b[_0x485491(_0x45fa75._0x530630,0xd3,0x34,_0x45fa75._0x20a7fd)]('\x0a');function _0x330ace(_0x4b4606,_0x5ef28b,_0x10d1c2,_0x146019){return _0xc9d07f(_0x146019- -_0x40c12._0x1ea2f5,_0x10d1c2,_0x10d1c2-0x3b,_0x146019-_0x40c12._0x42d1e0);}function _0x485491(_0x18aa81,_0xc39bf2,_0x42bb6b,_0x480c36){return _0x47610a(_0x42bb6b,_0xc39bf2-_0x4b3cd7._0x1437da,_0x42bb6b-0x1d,_0x480c36- -0x3fa);}for(let _0xbc6683 of _0x5308e8)_0x17caed[_0x485491(_0x45fa75._0x5b7af8,_0x45fa75._0x3a1fe5,0x5c,0xeb)](...Cs(_0xbc6683,_0x10a374));}),_0x17caed['join']('\x0a');}function wo(_0x35684e,_0x2108b9){const _0x125971={_0xb205ba:0x160,_0x232717:0x1c7,_0x39cd34:0x13d,_0x14e792:0xcf,_0x51f26a:0x14},_0x235db8={_0x4d840:0xf5,_0x6b2037:0x152,_0x1c4665:0x466};function _0x2afb70(_0x15a38b,_0x80055b,_0x1b8b86,_0x421045){return _0x120ca0(_0x1b8b86,_0x80055b-_0x235db8._0x4d840,_0x1b8b86-_0x235db8._0x6b2037,_0x15a38b- -_0x235db8._0x1c4665);}function _0x512b41(_0x2c9fbd,_0x8f4cb7,_0x260820,_0x48d44e){return _0x286169(_0x2c9fbd-0x1be,_0x260820- -0xee,_0x2c9fbd,_0x48d44e-0x151);}return _0x2108b9&&_0x35684e+_0x2108b9[_0x2afb70(_0x125971._0xb205ba,_0x125971._0x232717,_0x125971._0x39cd34,0x19b)]('\x0a')[_0x2afb70(-_0x125971._0x14e792,-_0x125971._0x51f26a,0x75,-0x139)]('\x0a'+_0x35684e);}function Hn(_0x5ae858,_0x182697){const _0x1f7361={_0x2f6918:0x1d2,_0x4096bf:0x256,_0x3e0ac4:0x165,_0x2b5bec:0x6f,_0x464292:0x10b,_0x2e6260:0x254,_0x5d996f:0x240},_0x53364f={_0x1526ef:0x3d},_0x44e82e={_0x4105da:0x4a,_0x4ba668:0x28,_0x1c0b0b:0x5d3};function _0x3fdec(_0x317fbe,_0x391d67,_0x47c272,_0x15df40){return _0x120ca0(_0x391d67,_0x391d67-_0x44e82e._0x4105da,_0x47c272-_0x44e82e._0x4ba668,_0x317fbe- -_0x44e82e._0x1c0b0b);}let _0x4f7c25=typeof _0x182697==_0x3fdec(-_0x1f7361._0x2f6918,-_0x1f7361._0x4096bf,-0x316,-_0x1f7361._0x3e0ac4)?_0x182697:process[_0x59d6f9(-0x6b,0xa7,_0x1f7361._0x2b5bec,-_0x1f7361._0x464292)]['columns']||0x50;function _0x59d6f9(_0x298789,_0x44b876,_0x1a3721,_0x223319){return _0x286169(_0x298789-_0x53364f._0x1526ef,_0x298789- -0x53a,_0x223319,_0x223319-0x108);}return new Array(_0x4f7c25)[_0x59d6f9(-0x1e2,-_0x1f7361._0x2e6260,-_0x1f7361._0x5d996f,-0xa6)](_0x5ae858);}function Ge(_0x49afc7){return _0x49afc7+'\x0a\x0a';}import _0x594469 from'chalk';import{highlight as _0x286e48}from'cli-highlight';function Un(_0x276b7c,_0xb3aa7d,_0x577896,_0x223298,_0x3ac3eb){const _0x510ba3={_0x1cf07a:0x464,_0x238ed2:0x5c4},_0x2207a0={_0x147f6f:0x29,_0x232e12:0xe,_0x656be8:0x161};if(_0x594469[_0x4d2502(0x5b2,_0x510ba3._0x1cf07a,_0x510ba3._0x238ed2,0x6cb)]===0x0)return _0x276b7c;_0x276b7c=yt(_0x276b7c,_0x223298);function _0x4d2502(_0x6b213c,_0xe98509,_0x879ff0,_0x435667){return _0x286169(_0x6b213c-_0x2207a0._0x147f6f,_0x879ff0-_0x2207a0._0x232e12,_0x6b213c,_0x435667-_0x2207a0._0x656be8);}try{return _0x286e48(_0x276b7c,Object['assign']({},{'language':_0xb3aa7d},_0x3ac3eb));}catch{return _0x577896(_0x276b7c);}}var ks={'code':_0x352ad3['yellow'],'blockquote':_0x352ad3[_0x286169(0x531,0x56a,0x4b3,0x511)][_0x286169(0x5eb,0x494,0x407,0x495)],'html':_0x352ad3[_0x120ca0(0x6ff,0x4fb,0x51a,0x5a9)],'heading':_0x352ad3[_0x286169(0x52b,0x3d8,0x38c,0x3cd)][_0x286169(0x58a,0x593,0x5e2,0x537)],'firstHeading':_0x352ad3[_0x286169(0x244,0x3a5,0x485,0x3da)][_0x286169(0x4c0,0x3ff,0x546,0x34b)][_0x286169(0x6f4,0x593,0x4cd,0x66c)],'hr':_0x352ad3[_0x286169(0x4f9,0x5be,0x5ce,0x6bd)],'listitem':_0x352ad3[_0x120ca0(0x618,0x5b5,0x5eb,0x5fd)],'list':On,'table':_0x352ad3[_0x120ca0(0x73a,0x65f,0x5e5,0x5fd)],'paragraph':_0x352ad3[_0x286169(0x649,0x5be,0x547,0x477)],'strong':_0x352ad3[_0x286169(0x616,0x593,0x5e4,0x676)],'em':_0x352ad3[_0x286169(0x4e1,0x494,0x3f9,0x543)],'codespan':_0x352ad3['yellow'],'del':_0x352ad3[_0x120ca0(0x5ca,0x462,0x5a9,0x538)][_0x120ca0(0x6ec,0x60d,0x5dd,0x5a9)]['strikethrough'],'link':_0x352ad3[_0x120ca0(0x4e7,0x646,0x719,0x621)],'href':_0x352ad3[_0x286169(0x650,0x5e2,0x665,0x66b)]['underline'],'text':ot,'image':void 0x0,'unescape':!0x0,'emoji':!0x0,'width':0x50,'showSectionPrefix':!0x0,'reflowText':!0x1,'tab':0x2,'tableOptions':{}},So=class{constructor(_0x2f79a0,_0x544b8a){const _0x41fedd={_0x42074e:0x366,_0x367b05:0x3d1,_0x20682f:0x56d,_0x3d5366:0x4ef,_0x339b05:0x467,_0x5dfe96:0x598,_0x18b320:0x4c9,_0x1cf97b:0x3c0,_0x538c2b:0x4cd},_0xbd3c36={_0x4cd8d2:0x176,_0x5ee69c:0x7c},_0x1697f7={_0x433a12:0xd6,_0x593263:0xb9};function _0x1740ef(_0x5ef7e9,_0x584800,_0x5e2320,_0x38ebc4){return _0x286169(_0x5ef7e9-_0x1697f7._0x433a12,_0x38ebc4-_0x1697f7._0x593263,_0x584800,_0x38ebc4-0x1c3);}function _0x34bdad(_0x5d8e11,_0x2ade26,_0x43a463,_0x9b8cdc){return _0x120ca0(_0x2ade26,_0x2ade26-_0xbd3c36._0x4cd8d2,_0x43a463-_0xbd3c36._0x5ee69c,_0x9b8cdc-0x34);}let _0x7ef711={...ks,..._0x2f79a0};this[_0x1740ef(0x527,0x3ca,0x406,0x4d7)]=vn(_0x7ef711[_0x34bdad(0x470,0x5a2,_0x41fedd._0x42074e,0x491)],0x4),this['o']=_0x7ef711,this[_0x34bdad(_0x41fedd._0x367b05,_0x41fedd._0x20682f,_0x41fedd._0x3d5366,_0x41fedd._0x339b05)]=this['o']['tableOptions'],this[_0x34bdad(_0x41fedd._0x5dfe96,0x6a8,0x68b,0x614)]=this['o']['emoji']?Mn:ot,this[_0x1740ef(0x544,_0x41fedd._0x18b320,0x472,0x4f7)]=this['o']['unescape']?Rn:ot,this[_0x34bdad(0x3f8,0x5a3,0x344,0x480)]=_0x544b8a||{},this[_0x1740ef(0x4b5,0x591,0x4b8,0x492)]=_t(In,this[_0x1740ef(0x4ab,0x5b6,_0x41fedd._0x1cf97b,0x4f7)],this[_0x34bdad(0x658,_0x41fedd._0x538c2b,0x704,0x614)]);}[_0x286169(0x489,0x5cb,0x585,0x511)](_0x93b76a){return ve(_0x93b76a);}[_0x120ca0(0x2e8,0x3c2,0x4fc,0x3b0)](_0x5bd0ec){const _0x52d406={_0x3a347d:0x4e4,_0x36b8f8:0x41d,_0x27e1f3:0x79,_0x4229c6:0x188,_0x5849ca:0x111,_0x21c52f:0x144},_0x176db6={_0x34144f:0x1d0,_0x2f0c0e:0x137},_0x454b27={_0x5a6fc8:0x10c,_0x4cc2ac:0x49f};if(_0x5bd0ec?.[_0x231886(0x351,_0x52d406._0x3a347d,0x548,_0x52d406._0x36b8f8)]){let _0x36051d=(_0x5bd0ec['raw']['match'](/\n/g)||[])[_0x3f9202(0x1e,_0x52d406._0x27e1f3,0x24f,0x109)];if(_0x36051d>0x2)return'\x0a'[_0x3f9202(_0x52d406._0x4229c6,_0x52d406._0x5849ca,_0x52d406._0x21c52f,0x2b)](_0x36051d-0x2);}function _0x3f9202(_0x578a68,_0x4361d6,_0x2de1c7,_0x4975e2){return _0x120ca0(_0x578a68,_0x4361d6-_0x454b27._0x5a6fc8,_0x2de1c7-0x46,_0x4975e2- -_0x454b27._0x4cc2ac);}function _0x231886(_0x36d524,_0x48e36c,_0x16f297,_0x339d50){return _0x120ca0(_0x48e36c,_0x48e36c-0x14a,_0x16f297-_0x176db6._0x34144f,_0x339d50- -_0x176db6._0x2f0c0e);}return'';}[_0x286169(0x421,0x479,0x450,0x3a7)](_0x37fe05){const _0x1b6fe2={_0x53f232:0x31,_0x52eece:0x41c,_0x43b967:0xf2,_0x4e5f9b:0x70,_0x28dfc5:0x20,_0x6acee4:0x475,_0x21c402:0x46f,_0x195e08:0x40b,_0x2c2311:0x2bd,_0x501052:0x3d2,_0x2f1b20:0x13,_0x2da50b:0x158},_0x528dd4={_0x38eb4d:0x12d},_0x2ec333={_0x122e5d:0xa6,_0x52887a:0x430,_0x9327c4:0xad};function _0x29f701(_0x145388,_0x40c0f5,_0x4de40e,_0x3a6792){return _0x286169(_0x145388-_0x2ec333._0x122e5d,_0x145388- -_0x2ec333._0x52887a,_0x40c0f5,_0x3a6792-_0x2ec333._0x9327c4);}if(typeof _0x37fe05==_0x29f701(-0xa7,-_0x1b6fe2._0x53f232,-0x106,-0x147)){if(_0x37fe05[_0x439bca(0x34f,_0x1b6fe2._0x52eece,0x38e,0x3e8)]&&Array['isArray'](_0x37fe05[_0x29f701(0x8b,_0x1b6fe2._0x43b967,-_0x1b6fe2._0x4e5f9b,-_0x1b6fe2._0x28dfc5)])&&_0x37fe05[_0x439bca(0x2fe,0x494,0x38e,0x24f)]['length']>0x0&&this['parser']?.[_0x439bca(0x4f8,_0x1b6fe2._0x6acee4,_0x1b6fe2._0x21c402,_0x1b6fe2._0x195e08)])return this[_0x439bca(0x461,_0x1b6fe2._0x2c2311,0x416,_0x1b6fe2._0x501052)]['parseInline'](_0x37fe05[_0x439bca(0x31c,0x2a3,0x38e,0x3ea)]);_0x37fe05=_0x37fe05[_0x29f701(0x49,_0x1b6fe2._0x2f1b20,_0x1b6fe2._0x2da50b,-0x8d)];}function _0x439bca(_0xc1c02,_0x4a9906,_0x191983,_0x5aad91){return _0x286169(_0xc1c02-0xb1,_0x191983- -_0x528dd4._0x38eb4d,_0x5aad91,_0x5aad91-0x1cf);}return this['o']['text'](_0x37fe05);}[_0x120ca0(0x676,0x43d,0x5fa,0x58d)](_0x12b2df,_0x10d7a5,_0x2917ff){const _0x43f3ab={_0x459cf0:0x4a7,_0x49c9d8:0x4f1,_0x50df1d:0x420,_0x499df1:0x173,_0x4b7546:0x6,_0x5702f0:0x130,_0x3f965a:0x11d,_0xa716c5:0xf9,_0x45e0b5:0x1bd,_0x58e6d2:0x292,_0x2bed0a:0x3ec,_0x186410:0x55b,_0x2f80e6:0x226,_0x2db256:0x73},_0x17b8a2={_0x59317f:0x2bc};function _0xcd3ff1(_0x46bcdd,_0x47eed6,_0xa78b65,_0x5e1ce1){return _0x286169(_0x46bcdd-0xb4,_0xa78b65- -_0x17b8a2._0x59317f,_0x46bcdd,_0x5e1ce1-0x5a);}function _0x186902(_0x1af2f5,_0x446dd6,_0x3f92b3,_0x592684){return _0x120ca0(_0x592684,_0x446dd6-0x166,_0x3f92b3-0xd5,_0x3f92b3-0x129);}return typeof _0x12b2df==_0x186902(0x3c8,_0x43f3ab._0x459cf0,_0x43f3ab._0x49c9d8,_0x43f3ab._0x50df1d)&&(_0x10d7a5=_0x12b2df[_0xcd3ff1(_0x43f3ab._0x499df1,-_0x43f3ab._0x4b7546,_0x43f3ab._0x5702f0,_0x43f3ab._0x3f965a)],_0x12b2df=_0x12b2df[_0xcd3ff1(0xbc,_0x43f3ab._0xa716c5,_0x43f3ab._0x45e0b5,0x1dd)]),Ge(wo(this[_0x186902(0x509,0x4dc,0x586,0x534)],Un(_0x12b2df,_0x10d7a5,this['o'][_0xcd3ff1(0x2d7,0x1e9,_0x43f3ab._0x58e6d2,_0x43f3ab._0x2bed0a)],this['o'][_0x186902(0x66d,0x506,_0x43f3ab._0x186410,0x40c)],this[_0xcd3ff1(_0x43f3ab._0x2f80e6,_0x43f3ab._0x2db256,0x151,0x258)])));}[_0x286169(0x5a2,0x5db,0x5ca,0x53b)](_0x5c514b){const _0x40aa4e={_0x5d9b52:0x3e0,_0xce467d:0x59a,_0x339471:0x4f7,_0x2c1122:0x4fd,_0x306df0:0x65a,_0x2bc31f:0x6fe,_0x41a8f9:0x3a7,_0x4249de:0x36b,_0x4576f6:0x364,_0x2b7fab:0x3c6},_0x384cd1={_0x3604a1:0x7a,_0x3f4edc:0x11,_0x4df1a6:0x10b},_0x3b2fa4={_0x4260c2:0x1ec,_0x3bd71f:0x3};let _0x840c42;function _0xd1f873(_0x1f6b83,_0x43b03a,_0x228826,_0x5b1f5e){return _0x120ca0(_0x1f6b83,_0x43b03a-0xef,_0x228826-_0x3b2fa4._0x4260c2,_0x228826-_0x3b2fa4._0x3bd71f);}function _0x51145f(_0x1ddb1d,_0x3b1157,_0x5b0d3f,_0x4bcf8a){return _0x286169(_0x1ddb1d-_0x384cd1._0x3604a1,_0x1ddb1d- -_0x384cd1._0x3f4edc,_0x5b0d3f,_0x4bcf8a-_0x384cd1._0x4df1a6);}return typeof _0x5c514b=='object'?_0x840c42=this[_0x51145f(0x532,0x41c,_0x40aa4e._0x5d9b52,0x4df)][_0xd1f873(_0x40aa4e._0xce467d,_0x40aa4e._0x339471,0x5da,0x586)](_0x5c514b[_0xd1f873(0x4b4,0x63f,_0x40aa4e._0x2c1122,_0x40aa4e._0x306df0)]):_0x840c42=_0x5c514b,Ge(this['o'][_0x51145f(0x5ca,0x51f,_0x40aa4e._0x2bc31f,0x58e)](wo(this[_0xd1f873(_0x40aa4e._0x41a8f9,_0x40aa4e._0x4249de,0x460,0x321)],_0x840c42[_0xd1f873(_0x40aa4e._0x4576f6,0x501,_0x40aa4e._0x2b7fab,0x49b)]())));}[_0x286169(0x6d8,0x5b3,0x523,0x5ce)](_0xa8eab7){const _0x79c1c1={_0x4c3632:0x320},_0x3d361c={_0x21e421:0x69,_0x478031:0x29};function _0x4ef4bc(_0x3639e1,_0xffbd5e,_0x5aee0d,_0x11fe70){return _0x286169(_0x3639e1-0x1da,_0x11fe70- -_0x3d361c._0x21e421,_0x3639e1,_0x11fe70-_0x3d361c._0x478031);}return typeof _0xa8eab7==_0x4ef4bc(0x1dc,0x44a,0x22b,_0x79c1c1._0x4c3632)&&(_0xa8eab7=_0xa8eab7['text']),this['o']['html'](_0xa8eab7);}[_0x286169(0x5e0,0x4c2,0x36a,0x539)](_0x4a8631,_0x5190d1){const _0x159188={_0x3c82a6:0x117,_0x2043e0:0x14a,_0x2ebd7a:0xe1,_0x4449dc:0xeb,_0x4ee72d:0xe2,_0x5641b7:0x1b1,_0x5f232c:0xc4,_0x1d31fa:0x3,_0x3c0138:0x281,_0xb6a55b:0x436,_0x3f5bf1:0x312,_0x527491:0x2c2,_0x2a1338:0x46f,_0x5946e6:0x1ff,_0x5820de:0x402,_0x462dc5:0x452,_0x541baa:0x466,_0x33ce73:0x63,_0x344695:0x8,_0x4101f4:0xd6,_0x59b776:0xe0,_0x3b2e42:0x369,_0x40b14b:0x3e8},_0x5820da={_0x191917:0x1f4,_0x1e40a6:0x194};let _0x3e3a04;function _0x478cf7(_0x5bde60,_0x4dd0be,_0x5bd194,_0x550b84){return _0x120ca0(_0x5bde60,_0x4dd0be-0xa2,_0x5bd194-0x103,_0x4dd0be- -0x568);}function _0x462467(_0x29e2e7,_0x23bc62,_0x3042d9,_0x162254){return _0x286169(_0x29e2e7-0xa9,_0x23bc62- -_0x5820da._0x191917,_0x3042d9,_0x162254-_0x5820da._0x1e40a6);}return typeof _0x4a8631=='object'?(_0x5190d1=_0x4a8631[_0x478cf7(-0xae,-_0x159188._0x3c82a6,-_0x159188._0x2043e0,-0xbc)],_0x3e3a04=this['parser'][_0x478cf7(_0x159188._0x2ebd7a,0x73,0x12d,-_0x159188._0x4449dc)](_0x4a8631[_0x478cf7(-_0x159188._0x4449dc,-0x6e,_0x159188._0x4ee72d,-_0x159188._0x5641b7)])):_0x3e3a04=_0x4a8631,_0x3e3a04=this[_0x478cf7(-_0x159188._0x5f232c,-0x150,_0x159188._0x1d31fa,-_0x159188._0x3c0138)](_0x3e3a04),_0x3e3a04=(this['o'][_0x462467(_0x159188._0xb6a55b,_0x159188._0x3f5bf1,_0x159188._0x527491,_0x159188._0x2a1338)]?new Array((_0x5190d1||0x1)+0x1)['join']('#')+'\x20':'')+_0x3e3a04,this['o'][_0x462467(0x299,_0x159188._0x5946e6,0x23b,0x20b)]&&(_0x3e3a04=Co(_0x3e3a04,this['o']['width'],this[_0x462467(0x553,_0x159188._0x5820de,_0x159188._0x462dc5,_0x159188._0x541baa)][_0x478cf7(_0x159188._0x33ce73,-_0x159188._0x344695,-_0x159188._0x4101f4,0xf0)])),Ge(_0x5190d1===0x1?this['o'][_0x462467(_0x159188._0x59b776,0x15a,0x1a3,0x1a0)](_0x3e3a04):this['o'][_0x462467(_0x159188._0x3b2e42,0x2ce,0x1cc,_0x159188._0x40b14b)](_0x3e3a04));}['hr'](){const _0x14789a={_0x1dc1b5:0x8e,_0x563fc4:0x138,_0x5e034d:0x13d,_0x10b5b4:0x35a,_0x270c82:0x33d},_0x2fb8aa={_0x50cf0b:0x198,_0x1464af:0x585},_0x559409={_0xbfc49:0xa8,_0x1b695f:0x3d};function _0x4a11de(_0xef02a,_0x8e5f69,_0xfd5a4,_0x4dec97){return _0x286169(_0xef02a-_0x559409._0xbfc49,_0x4dec97- -0x346,_0xfd5a4,_0x4dec97-_0x559409._0x1b695f);}function _0x494038(_0x3c1640,_0x5cec79,_0x497212,_0x28fd3a){return _0x120ca0(_0x3c1640,_0x5cec79-0x1f,_0x497212-_0x2fb8aa._0x50cf0b,_0x5cec79- -_0x2fb8aa._0x1464af);}return Ge(this['o']['hr'](Hn('⎼',this['o'][_0x4a11de(-_0x14789a._0x1dc1b5,_0x14789a._0x563fc4,0xc1,0xad)]&&this['o'][_0x4a11de(_0x14789a._0x5e034d,_0x14789a._0x10b5b4,_0x14789a._0x270c82,0x253)])));}['list'](_0x40066a,_0xa18fcd){const _0x114344={_0x12e7db:0x329,_0x2d9bf6:0x29e,_0x5daccf:0x160,_0x22de05:0x262,_0x1c2913:0x371,_0x436cdf:0x48c,_0x41d25f:0x431,_0x44558d:0x348,_0x3a7238:0x2c2,_0x76a86a:0x2ac,_0x3b54bd:0x251,_0xcd1524:0x348,_0x20850a:0x281,_0x560e37:0x323,_0x1e32fa:0x35e,_0x220d91:0x2f8,_0xeb603f:0x282},_0x54c72b={_0x51d4a9:0x28},_0x2ad001={_0x3905ec:0x2e6,_0x1545ba:0xca};function _0x2995e9(_0x1a63a2,_0x144d98,_0x2a829c,_0x28f31f){return _0x286169(_0x1a63a2-0x104,_0x2a829c- -_0x2ad001._0x3905ec,_0x28f31f,_0x28f31f-_0x2ad001._0x1545ba);}function _0x1ffa38(_0x8c2ba2,_0x2b61c8,_0x23f0ee,_0x196ba9){return _0x120ca0(_0x8c2ba2,_0x2b61c8-_0x54c72b._0x51d4a9,_0x23f0ee-0x1df,_0x196ba9- -0x115);}let _0x5220bf;if(typeof _0x40066a==_0x1ffa38(_0x114344._0x12e7db,_0x114344._0x2d9bf6,0x1e5,0x2b3)){let _0x280034=_0x40066a;_0xa18fcd=_0x280034[_0x2995e9(0x367,_0x114344._0x5daccf,_0x114344._0x22de05,0x21a)],_0x5220bf='';for(let _0x399704=0x0;_0x399704<_0x280034[_0x1ffa38(0x4a4,_0x114344._0x1c2913,0x5e6,_0x114344._0x436cdf)]['length'];_0x399704++)_0x5220bf+=this['listitem'](_0x280034['items'][_0x399704]);}else _0x5220bf=_0x40066a;_0x5220bf=this['o'][_0x2995e9(0x250,0x2ed,0x277,0x115)](_0x5220bf,!!_0xa18fcd,this[_0x1ffa38(0x37c,_0x114344._0x41d25f,0x433,_0x114344._0x44558d)]);let _0x18f40c=_n($n(this[_0x1ffa38(_0x114344._0x3a7238,_0x114344._0x76a86a,_0x114344._0x3b54bd,_0x114344._0xcd1524)],_0x5220bf),this['tab']);return _0x18f40c=_0x18f40c[_0x2995e9(0x2d0,_0x114344._0x20850a,0x2a1,_0x114344._0x560e37)]('\x0a')[_0x1ffa38(0x256,_0x114344._0x1e32fa,0x26a,_0x114344._0x220d91)](_0x232064=>this[_0x1ffa38(0x59a,0x606,0x5ab,0x4f5)](_0x232064[_0x2995e9(0x11b,0x126,0x9e,-0xa8)]())>0x0)[_0x1ffa38(0x17a,0x241,0x276,_0x114344._0xeb603f)]('\x0a'),_0x18f40c+'\x0a\x0a';}[_0x286169(0x3d8,0x3d1,0x3ee,0x44c)](_0x3c812e){const _0x1a7688={_0x52107c:0x127,_0x34375c:0xd9,_0x53ff43:0x153,_0x3a6a22:0x15a,_0x38c789:0x6,_0xab3af6:0x11b,_0x16c7a4:0x19,_0x57e02c:0x25c,_0x8e9bf7:0x15,_0x56def4:0x54,_0x12aec3:0x155,_0x47a74b:0x1f2,_0x65272d:0x259,_0x395f19:0x3c,_0x29246c:0x8c,_0x5cefcb:0x40,_0x221559:0x120,_0x82e860:0x13d,_0x247572:0x10f,_0x486d46:0xe2,_0x787ba:0x15b,_0x3405f2:0x1e,_0x2fda43:0x15f,_0x56f7e3:0xd1,_0x3865af:0xb6,_0x187dd8:0x5a,_0x46bc6b:0xd8,_0x4572d9:0xb0,_0xc4e175:0x14a,_0x152668:0x15,_0x3abd18:0x25a,_0x307e02:0x217,_0x47eeb9:0x194,_0xc39a1e:0x201,_0x20febf:0x6e,_0x2846ea:0x106,_0xdc75ad:0xc6,_0x125dab:0x40,_0x22691b:0x92,_0x1cafcf:0x49,_0x5b9309:0x19b,_0x5b07f0:0xbb,_0x5b7bc6:0xd9,_0x82eb14:0x29c,_0x4c38de:0x15f,_0x1ed371:0x20c,_0x19a08a:0x1ae,_0x75f285:0xe7,_0x3619bb:0x2dd,_0x603c23:0x211,_0x23004e:0x259,_0x1d1ac1:0x131,_0x39a65e:0x11a,_0x1fafaa:0xb0,_0x5e1d01:0x340,_0x525f76:0x259,_0x523a3d:0x107,_0x4453cd:0x6e,_0x509081:0x150,_0x2a1c74:0x310,_0x2cc9a8:0x38e,_0x358b0c:0xcc,_0x119211:0xbd,_0x16ddc2:0x6a,_0x1c137a:0x78,_0x3d184b:0x195,_0x4e92c7:0x3b,_0x608462:0x9c,_0x750b3d:0x28,_0x327366:0x4c,_0x144907:0xa2,_0x100849:0x7a,_0x320397:0x5,_0x28ad24:0x1a5,_0x40b5bf:0x234,_0x500e0e:0x1fe,_0x7bff7b:0x177,_0x51bcb5:0x46},_0x19ddfa={_0x2f63e7:0x138,_0x2b4f28:0x568};function _0x1dd46f(_0x35cb23,_0x5699dd,_0x50823f,_0x3ee1c9){return _0x120ca0(_0x50823f,_0x5699dd-_0x19ddfa._0x2f63e7,_0x50823f-0xd4,_0x35cb23- -_0x19ddfa._0x2b4f28);}function _0x253a48(_0x4cd7e8,_0x1ef230,_0x55b8f7,_0x27ea4f){return _0x286169(_0x4cd7e8-0x97,_0x1ef230- -0x262,_0x27ea4f,_0x27ea4f-0x135);}if(typeof _0x3c812e==_0x253a48(0xd6,_0x1a7688._0x52107c,_0x1a7688._0x34375c,_0x1a7688._0x53ff43)){let _0x35e0bc=_0x3c812e;if(_0x3c812e='',_0x35e0bc[_0x1dd46f(-0x8f,0x86,-0x6c,-_0x1a7688._0x3a6a22)]){let _0x2a21c1=this[_0x1dd46f(_0x1a7688._0x38c789,_0x1a7688._0xab3af6,-0x44,_0x1a7688._0x16c7a4)]({'checked':!!_0x35e0bc[_0x1dd46f(-0x122,-_0x1a7688._0x57e02c,_0x1a7688._0x8e9bf7,-0x11b)]});_0x35e0bc[_0x1dd46f(_0x1a7688._0x56def4,-0xd7,_0x1a7688._0x12aec3,0xfa)]?_0x35e0bc[_0x253a48(_0x1a7688._0x47a74b,_0x1a7688._0x65272d,0x3b6,0x35b)]&&_0x35e0bc[_0x1dd46f(-0x6e,-0x19d,_0x1a7688._0x395f19,-_0x1a7688._0x29246c)][_0x1dd46f(_0x1a7688._0x5cefcb,_0x1a7688._0x221559,_0x1a7688._0x82e860,_0x1a7688._0x247572)]>0x0&&_0x35e0bc[_0x1dd46f(-0x6e,_0x1a7688._0x486d46,-_0x1a7688._0x787ba,-_0x1a7688._0x3405f2)][0x0][_0x253a48(0x40,_0x1a7688._0x2fda43,0x61,0xe7)]===_0x1dd46f(-_0x1a7688._0x56f7e3,-_0x1a7688._0x3865af,-_0x1a7688._0x187dd8,-_0x1a7688._0x46bc6b)?(_0x35e0bc['tokens'][0x0][_0x1dd46f(-_0x1a7688._0x4572d9,-0x94,-_0x1a7688._0xc4e175,-_0x1a7688._0x152668)]=_0x2a21c1+'\x20'+_0x35e0bc['tokens'][0x0][_0x253a48(_0x1a7688._0x3abd18,_0x1a7688._0x307e02,0x325,0x164)],_0x35e0bc['tokens'][0x0][_0x253a48(_0x1a7688._0x47eeb9,_0x1a7688._0x65272d,0x1cc,_0x1a7688._0xc39a1e)]&&_0x35e0bc['tokens'][0x0][_0x1dd46f(-_0x1a7688._0x20febf,-_0x1a7688._0x2846ea,-0x113,-_0x1a7688._0xdc75ad)][_0x1dd46f(_0x1a7688._0x125dab,-_0x1a7688._0x22691b,_0x1a7688._0x1cafcf,_0x1a7688._0x5b9309)]>0x0&&_0x35e0bc['tokens'][0x0][_0x1dd46f(-0x6e,_0x1a7688._0x5b07f0,0x50,-_0x1a7688._0x5b7bc6)][0x0][_0x253a48(_0x1a7688._0x82eb14,_0x1a7688._0x4c38de,_0x1a7688._0x1ed371,_0x1a7688._0x19a08a)]===_0x253a48(_0x1a7688._0x75f285,0x217,_0x1a7688._0x3619bb,0x2fc)&&(_0x35e0bc[_0x253a48(_0x1a7688._0x603c23,_0x1a7688._0x23004e,_0x1a7688._0x221559,0x37c)][0x0][_0x1dd46f(-0x6e,0xc7,-_0x1a7688._0x1d1ac1,-_0x1a7688._0x39a65e)][0x0][_0x1dd46f(-_0x1a7688._0x1fafaa,0x7d,-0x4e,0x19)]=_0x2a21c1+'\x20'+_0x35e0bc['tokens'][0x0]['tokens'][0x0]['text'])):(_0x35e0bc['tokens']=_0x35e0bc[_0x253a48(_0x1a7688._0x5e1d01,_0x1a7688._0x525f76,_0x1a7688._0x523a3d,0x234)]||[],_0x35e0bc[_0x1dd46f(-_0x1a7688._0x4453cd,-0x4b,0x90,-_0x1a7688._0x509081)][_0x1dd46f(-0x77,-0x158,-0x198,0x2e)]({'type':_0x253a48(0x327,0x217,0x1de,0x16e),'raw':_0x2a21c1+'\x20','text':_0x2a21c1+'\x20'})):_0x3c812e+=_0x2a21c1+'\x20';}_0x3c812e+=this[_0x253a48(_0x1a7688._0x2a1c74,0x2e1,_0x1a7688._0x2cc9a8,0x1ff)][_0x1dd46f(0x6f,_0x1a7688._0x358b0c,0x1bd,_0x1a7688._0x119211)](_0x35e0bc[_0x1dd46f(-0x6e,0x6a,_0x1a7688._0x16ddc2,_0x1a7688._0x1c137a)]||[],!!_0x35e0bc['loose']);}let _0x3928ef=_0x3c812e[_0x1dd46f(0x5e,_0x1a7688._0x3d184b,-_0x1a7688._0x4e92c7,0xbf)]('\x0a'),_0x533f0d=[];for(let _0x4889e1=0x0;_0x4889e1<_0x3928ef[_0x1dd46f(0x40,_0x1a7688._0x608462,_0x1a7688._0x750b3d,-_0x1a7688._0x327366)];_0x4889e1++){let _0x4cb938=_0x3928ef[_0x4889e1];this[_0x1dd46f(_0x1a7688._0x144907,_0x1a7688._0x100849,-_0x1a7688._0x320397,0x97)](_0x4cb938['trim']())>0x0&&_0x533f0d['push'](_0x4cb938);}_0x3c812e=_0x533f0d['join']('\x0a')[_0x1dd46f(-_0x1a7688._0x28ad24,-0x18a,-_0x1a7688._0x40b5bf,-0x218)]();let _0x52c436=_t(this['o']['listitem'],this[_0x253a48(_0x1a7688._0x500e0e,_0x1a7688._0x7bff7b,_0x1a7688._0x51bcb5,0x1d)]);return'\x0a'+Ht+_0x52c436(_0x3c812e);}[_0x286169(0x4be,0x52f,0x401,0x3f7)](_0x1da15c){const _0x40d66d={_0x319804:0x2a5,_0x518a5c:0x1ce,_0xaf9867:0x6f,_0x59ff34:0x227},_0x563b0d={_0x356809:0x41,_0x45d4de:0x10};function _0x52895e(_0x6b8a,_0x191841,_0x54503a,_0x350489){return _0x286169(_0x6b8a-_0x563b0d._0x356809,_0x191841- -_0x563b0d._0x45d4de,_0x6b8a,_0x350489-0x87);}function _0x42fd46(_0x42fe4e,_0x8cc4cf,_0x4bdf38,_0x2c9631){return _0x120ca0(_0x2c9631,_0x8cc4cf-0x1f2,_0x4bdf38-0x10e,_0x42fe4e- -0x278);}return typeof _0x1da15c==_0x52895e(0x272,0x379,0x448,_0x40d66d._0x319804)&&(_0x1da15c=_0x1da15c[_0x42fd46(_0x40d66d._0x518a5c,_0x40d66d._0xaf9867,0x137,_0x40d66d._0x59ff34)]),'['+(_0x1da15c?'X':'\x20')+']\x20';}[_0x286169(0x36d,0x458,0x462,0x595)](_0x184618){const _0x4ede40={_0xefdfe6:0x3c1,_0x56d940:0x56c,_0x1bd376:0x79d,_0x159278:0x658,_0x55d035:0x667,_0x1334dd:0x5d4,_0x261488:0x71c,_0x26d27c:0x489,_0x3a3181:0x5df,_0x505e7f:0x588,_0xe4dcc6:0x535,_0x2f0d86:0x57c,_0xea9a04:0x5d6,_0x10e37c:0x4fd,_0x2d34e1:0x42b,_0x44f50c:0x442,_0x43b27a:0x337},_0x317eeb={_0x32f1e7:0x19e},_0x4c25dc={_0x1523c1:0x1cd};function _0xf7e3eb(_0x21a7f1,_0x14f853,_0x23e756,_0x571aa7){return _0x120ca0(_0x571aa7,_0x14f853-0x11a,_0x23e756-_0x4c25dc._0x1523c1,_0x21a7f1- -0x7);}let _0x55d52c;function _0x35728b(_0x7eb99,_0x349de3,_0x31144e,_0x2c5566){return _0x286169(_0x7eb99-0x76,_0x2c5566-0x124,_0x349de3,_0x2c5566-_0x317eeb._0x32f1e7);}return typeof _0x184618==_0xf7e3eb(_0x4ede40._0xefdfe6,0x39b,0x4a6,0x274)?_0x55d52c=this[_0x35728b(_0x4ede40._0x56d940,_0x4ede40._0x1bd376,_0x4ede40._0x159278,_0x4ede40._0x55d035)][_0xf7e3eb(_0x4ede40._0x1334dd,_0x4ede40._0x261488,0x524,0x542)](_0x184618[_0x35728b(0x62c,0x494,_0x4ede40._0x26d27c,_0x4ede40._0x3a3181)]):_0x55d52c=_0x184618,_0x55d52c=_t(this['o'][_0x35728b(_0x4ede40._0x505e7f,0x5a8,_0x4ede40._0xe4dcc6,_0x4ede40._0x2f0d86)],this[_0x35728b(_0x4ede40._0xea9a04,0x4e4,0x3f9,_0x4ede40._0x10e37c)])(_0x55d52c),this['o'][_0xf7e3eb(_0x4ede40._0x2d34e1,0x3b1,_0x4ede40._0x44f50c,_0x4ede40._0x43b27a)]&&(_0x55d52c=Co(_0x55d52c,this['o']['width'],this[_0xf7e3eb(0x62e,0x50d,0x5d4,0x4e6)]['gfm'])),Ge(_0x55d52c);}[_0x120ca0(0x4b8,0x4d0,0x44e,0x3cc)](_0x55d687,_0x5be1df){const _0x249f61={_0xea219:0x1e0,_0x473bfb:0x1b6,_0x19e152:0x1e7,_0x22acc8:0xbd,_0x29ce83:0x335,_0x3b818d:0x367,_0x49656c:0x249,_0x2c60bb:0xae,_0x4f24a6:0x87,_0x1d0d66:0x19e,_0x50d19d:0x15c,_0x56af97:0x2a7,_0x209be9:0x49,_0x3444c0:0x9a,_0x8a76fe:0xda,_0x4fdeb2:0xe5,_0x12ae10:0x237,_0x19aeb2:0x73,_0x4658e4:0xcb,_0x46ded7:0x142,_0xebfa9a:0x2be},_0x5060c0={_0x57c2a3:0xee,_0x68e9c:0x3c1};if(typeof _0x55d687==_0x3e4d3e(-0x3c,0xc7,-0x14,_0x249f61._0xea219)){let _0x2fd66f=_0x55d687;_0x55d687='';let _0x17ae6b='';for(let _0xe3a008=0x0;_0xe3a008<_0x2fd66f['header'][_0x3854e0(0x21a,_0x249f61._0x473bfb,_0x249f61._0x19e152,_0x249f61._0x22acc8)];_0xe3a008++)_0x17ae6b+=this[_0x3e4d3e(_0x249f61._0x29ce83,0x2de,_0x249f61._0x3b818d,_0x249f61._0x49656c)](_0x2fd66f[_0x3854e0(0x281,0x32d,0x1d6,_0x249f61._0x2c60bb)][_0xe3a008]);_0x55d687+=this['tablerow']({'text':_0x17ae6b}),_0x5be1df='';for(let _0x3a55ba=0x0;_0x3a55ba<_0x2fd66f[_0x3854e0(0x192,-_0x249f61._0x4f24a6,0x91,_0x249f61._0x1d0d66)][_0x3e4d3e(_0x249f61._0x50d19d,_0x249f61._0x56af97,0x1c9,0x2a9)];_0x3a55ba++){let _0x192035=_0x2fd66f[_0x3854e0(0x19b,_0x249f61._0x209be9,0x91,-_0x249f61._0x3444c0)][_0x3a55ba];_0x17ae6b='';for(let _0x5ed2a7=0x0;_0x5ed2a7<_0x192035[_0x3e4d3e(0x2d2,_0x249f61._0x56af97,0x37d,0x151)];_0x5ed2a7++)_0x17ae6b+=this['tablecell'](_0x192035[_0x5ed2a7]);_0x5be1df+=this['tablerow']({'text':_0x17ae6b});}}function _0x3e4d3e(_0x3a6081,_0x110cf5,_0x20c0e1,_0x54f428){return _0x286169(_0x3a6081-0xea,_0x110cf5- -0x2c2,_0x3a6081,_0x54f428-0x49);}function _0x3854e0(_0xef349f,_0x303e2c,_0x3713b7,_0xe6a096){return _0x120ca0(_0xe6a096,_0x303e2c-0xb4,_0x3713b7-_0x5060c0._0x57c2a3,_0x3713b7- -_0x5060c0._0x68e9c);}return Ge(Pn(_0x55d687,_0x5be1df||'',this[_0x3854e0(0xce,-_0x249f61._0x8a76fe,0x72,-_0x249f61._0x4fdeb2)],this[_0x3e4d3e(0x63,0x117,_0x249f61._0x12ae10,0xe8)],this['o'][_0x3e4d3e(-_0x249f61._0x19aeb2,_0x249f61._0x4658e4,-0x48,_0x249f61._0x46ded7)],this['o'][_0x3854e0(0x2bb,_0x249f61._0xebfa9a,0x217,0x2c7)]));}[_0x120ca0(0x3c2,0x46a,0x575,0x4cd)](_0x218b0d){return typeof _0x218b0d=='object'&&(_0x218b0d=_0x218b0d['text']),Ft+_0x218b0d+Ft+'\x0a';}[_0x120ca0(0x729,0x4c1,0x5cb,0x5df)](_0x551f01){const _0x290ea5={_0x3af64d:0x5,_0x2d8033:0x1a,_0x50ccbd:0x7f,_0x326b28:0xe6,_0x2cc4b6:0xea},_0x2cedb4={_0x983160:0x12d,_0x44ba45:0x4f1},_0x558549={_0x9aa7da:0xfb};function _0x1e807e(_0x39538d,_0x36126b,_0x2964c8,_0x49f755){return _0x120ca0(_0x49f755,_0x36126b-_0x558549._0x9aa7da,_0x2964c8-0x159,_0x2964c8- -0x59c);}function _0x4b53c3(_0x35d3af,_0x1d606c,_0xea58cf,_0x445f40){return _0x120ca0(_0x1d606c,_0x1d606c-_0x2cedb4._0x983160,_0xea58cf-0x195,_0xea58cf- -_0x2cedb4._0x44ba45);}return typeof _0x551f01==_0x4b53c3(_0x290ea5._0x3af64d,-0x285,-0x129,-0x10a)&&(_0x551f01=this[_0x1e807e(0x92,0x123,-_0x290ea5._0x2d8033,-_0x290ea5._0x50ccbd)][_0x4b53c3(-0x61,_0x290ea5._0x326b28,_0x290ea5._0x2cc4b6,0x16b)](_0x551f01['tokens']||[])),_0x551f01+To;}['strong'](_0x586ae7){const _0x55a202={_0xa9071f:0x42a,_0x1fe6bf:0x428,_0x3739be:0x4f6,_0x3b01af:0x3b0,_0x324a57:0x5c0,_0x3bd9d1:0x382,_0x2b9ca3:0x314,_0x4cafbb:0x191,_0x5b25e0:0xe2,_0x3c3754:0x121},_0x3f550f={_0x595df4:0x14e,_0x3821b4:0x171},_0x1c5300={_0xd3c3e4:0xf9,_0x3ca3ba:0x593};let _0x4587f0;function _0xf8aaf4(_0x16fbdb,_0xf42fd8,_0x1cdc17,_0x41ad8f){return _0x120ca0(_0x16fbdb,_0xf42fd8-_0x1c5300._0xd3c3e4,_0x1cdc17-0x1c6,_0x1cdc17- -_0x1c5300._0x3ca3ba);}function _0x22aca7(_0x5eca85,_0x3b3f46,_0xfb715a,_0x563e04){return _0x120ca0(_0x3b3f46,_0x3b3f46-_0x3f550f._0x595df4,_0xfb715a-_0x3f550f._0x3821b4,_0x5eca85- -0xe5);}return typeof _0x586ae7=='object'?_0x4587f0=this[_0x22aca7(0x49d,_0x55a202._0xa9071f,_0x55a202._0x1fe6bf,0x5de)][_0x22aca7(_0x55a202._0x3739be,_0x55a202._0x3b01af,_0x55a202._0x324a57,0x61c)](_0x586ae7[_0x22aca7(0x415,0x56e,_0x55a202._0x3bd9d1,_0x55a202._0x2b9ca3)]):_0x4587f0=_0x586ae7,this['o'][_0xf8aaf4(-_0x55a202._0x4cafbb,-0xb5,-_0x55a202._0x5b25e0,-_0x55a202._0x3c3754)](_0x4587f0);}['em'](_0x593b08){const _0x476f5e={_0x181eda:0x458,_0x3ba8f7:0x483,_0x231cbc:0x5dc,_0x5f17de:0x762,_0x279d14:0x6f1,_0x3f8152:0x63d,_0x36e862:0x56c,_0x2d2b7f:0x753,_0x5c2d1d:0x696,_0x2047f2:0xab,_0x352496:0x45,_0x5f51be:0x1dc,_0x3ad921:0x4a,_0x30f02f:0x83,_0x4e7a9f:0x78},_0x359979={_0x3bc66a:0x64,_0x3c4d04:0x169},_0x2b8cea={_0x15683a:0xf6,_0x16bbc0:0xfa,_0x33eb3b:0x80};function _0x3b2cfa(_0x4bae56,_0x4a75eb,_0xd79c15,_0x5cddce){return _0x286169(_0x4bae56-_0x2b8cea._0x15683a,_0x5cddce-_0x2b8cea._0x16bbc0,_0x4bae56,_0x5cddce-_0x2b8cea._0x33eb3b);}let _0x1d9ac2;function _0xccdc22(_0x1f75df,_0x419757,_0x1ab652,_0x3d5c5a){return _0x286169(_0x1f75df-_0x359979._0x3bc66a,_0x1ab652- -0x476,_0x3d5c5a,_0x3d5c5a-_0x359979._0x3c4d04);}return typeof _0x593b08==_0x3b2cfa(_0x476f5e._0x181eda,0x33b,0x47e,_0x476f5e._0x3ba8f7)?_0x1d9ac2=this[_0x3b2cfa(_0x476f5e._0x231cbc,_0x476f5e._0x5f17de,_0x476f5e._0x279d14,_0x476f5e._0x3f8152)][_0x3b2cfa(_0x476f5e._0x36e862,_0x476f5e._0x2d2b7f,0x6c6,_0x476f5e._0x5c2d1d)](_0x593b08[_0xccdc22(0x10e,-_0x476f5e._0x2047f2,_0x476f5e._0x352496,0x9d)]):_0x1d9ac2=_0x593b08,_0x1d9ac2=yt(_0x1d9ac2,this['o'][_0xccdc22(-_0x476f5e._0x5f51be,_0x476f5e._0x3ad921,-_0x476f5e._0x30f02f,_0x476f5e._0x4e7a9f)]),this['o']['em'](_0x1d9ac2);}['codespan'](_0x44f992){const _0x84c8ee={_0x481e32:0x18e,_0x43a4d9:0x25c,_0x2d4af4:0x17b,_0x3a17aa:0x2e,_0xbf58e8:0x142},_0x1326f4={_0x106562:0x10,_0x29bf3d:0x353},_0x120b70={_0x59e789:0x1c0,_0x1f4842:0x556};function _0x4b085a(_0x403dce,_0x36a527,_0x108d90,_0x487489){return _0x120ca0(_0x403dce,_0x36a527-_0x120b70._0x59e789,_0x108d90-0x4a,_0x108d90- -_0x120b70._0x1f4842);}function _0x3623c5(_0x175b02,_0x4729b0,_0x36a3a1,_0x5a6223){return _0x120ca0(_0x175b02,_0x4729b0-0xf0,_0x36a3a1-_0x1326f4._0x106562,_0x36a3a1- -_0x1326f4._0x29bf3d);}return typeof _0x44f992==_0x4b085a(-0x126,-0xc7,-_0x84c8ee._0x481e32,-_0x84c8ee._0x43a4d9)&&(_0x44f992=_0x44f992[_0x3623c5(0x104,_0x84c8ee._0x2d4af4,0x165,_0x84c8ee._0x3a17aa)]),_0x44f992=yt(_0x44f992,this['o'][_0x4b085a(-0x130,-0x83,-0x124,-0x256)]),this['o'][_0x3623c5(0x1eb,_0x84c8ee._0xbf58e8,0x1ba,0x264)](_0x44f992['replace'](/:/g,yo));}['br'](){const _0x3dc95c={_0x378109:0x5be,_0xcd5d6d:0x411},_0x2d6915={_0x29a074:0x16e};function _0x1bf537(_0x2af9d4,_0x53570a,_0x410d20,_0x474a4f){return _0x286169(_0x2af9d4-_0x2d6915._0x29a074,_0x410d20-0xfe,_0x2af9d4,_0x474a4f-0x1c5);}return this['o'][_0x1bf537(0x5ec,_0x3dc95c._0x378109,0x4f1,_0x3dc95c._0xcd5d6d)]?'\x0d':'\x0a';}[_0x286169(0x4c5,0x54b,0x587,0x4c7)](_0x5ab6f9){const _0x1c9599={_0x59f331:0x2a7,_0x13a921:0x2b7,_0x5239b4:0x3b4,_0x4dd31a:0x30b,_0x5c654c:0x374},_0x36f5a0={_0x34e1c1:0x1d7},_0x5bbbd4={_0x30ed63:0xdc,_0x5ff6b6:0x1ba,_0x673389:0x58};let _0x2e5a23;function _0x25a4fc(_0x4b4b6e,_0x135d6a,_0x3191bc,_0x3e2536){return _0x286169(_0x4b4b6e-_0x5bbbd4._0x30ed63,_0x135d6a-_0x5bbbd4._0x5ff6b6,_0x4b4b6e,_0x3e2536-_0x5bbbd4._0x673389);}function _0x288e4a(_0xacefe3,_0x26854b,_0x55cc4d,_0x17df54){return _0x286169(_0xacefe3-0x1aa,_0x17df54- -_0x36f5a0._0x34e1c1,_0xacefe3,_0x17df54-0x63);}return typeof _0x5ab6f9=='object'?_0x2e5a23=this[_0x288e4a(0x4a4,0x372,0x480,0x36c)][_0x288e4a(0x3a2,_0x1c9599._0x59f331,0x32f,0x3c5)](_0x5ab6f9[_0x288e4a(_0x1c9599._0x13a921,0x332,_0x1c9599._0x5239b4,0x2e4)]):_0x2e5a23=_0x5ab6f9,this['o'][_0x288e4a(0x2ee,_0x1c9599._0x4dd31a,0x2a2,_0x1c9599._0x5c654c)](_0x2e5a23);}[_0x286169(0x4e2,0x3e3,0x4db,0x445)](_0x381204,_0x4ce9ed,_0x2f5631){const _0x358157={_0x39c4dc:0x3f1,_0x4a1e60:0x2c3,_0x5c4b4b:0x541,_0x1fe615:0x325,_0x384998:0x4cc,_0x4d3dda:0x3b0,_0x26533c:0x2d4,_0x10f444:0x3f5,_0x128be6:0x3ce,_0x345adb:0x5b3,_0x330298:0x468,_0x39a821:0x124,_0x14a8c2:0x279,_0x324bcd:0x375,_0x3c3383:0x132,_0x50e1d6:0x3d3,_0x3584c8:0x478,_0x10c460:0x215,_0x20bf71:0x22f,_0x4450c2:0x395,_0x4fb115:0x393,_0x3b2def:0x2d8,_0x2f8dad:0x93,_0x343cd3:0x2a8,_0x277550:0x5d3,_0x138ed9:0xe3,_0x1d28c9:0x16e,_0x5565c0:0x213,_0x18e970:0x404,_0x3299db:0x31d},_0x3c8793={_0x41f98e:0x277,_0x266433:0xf3};if(typeof _0x381204==_0xdd969a(_0x358157._0x39c4dc,0x20d,0x192,_0x358157._0x4a1e60)&&(_0x2f5631=this[_0xdd969a(0x353,0x489,_0x358157._0x5c4b4b,0x47d)][_0x56bb1c(0x411,0x2c0,_0x358157._0x1fe615,0x210)](_0x381204[_0xdd969a(_0x358157._0x384998,_0x358157._0x4d3dda,_0x358157._0x26533c,_0x358157._0x10f444)]),_0x381204=_0x381204[_0x56bb1c(0x179,0x134,0x117,-0xe)]),this[_0x56bb1c(_0x358157._0x128be6,0x31b,0x37f,0x420)][_0xdd969a(0x4df,_0x358157._0x345adb,_0x358157._0x330298,0x520)])try{if(decodeURIComponent(unescape(_0x381204))[_0x56bb1c(0x22,_0x358157._0x39a821,0x132,_0x358157._0x14a8c2)](/[^\w:]/g,'')[_0x56bb1c(_0x358157._0x324bcd,0x304,0x249,_0x358157._0x3c3383)]()[_0xdd969a(0x483,0x316,_0x358157._0x50e1d6,_0x358157._0x3584c8)]('javascript:')===0x0)return'';}catch{return'';}function _0xdd969a(_0x2398d3,_0x3e341f,_0xee3e0b,_0x1a91d9){return _0x120ca0(_0xee3e0b,_0x3e341f-0x26,_0xee3e0b-0x169,_0x1a91d9- -0x105);}let _0x23d159=_0x2f5631&&_0x2f5631!==_0x381204,_0x432922='';function _0x56bb1c(_0x101567,_0x44b1a9,_0x56d77c,_0x5b53a0){return _0x286169(_0x101567-0x11c,_0x56d77c- -_0x3c8793._0x41f98e,_0x101567,_0x5b53a0-_0x3c8793._0x266433);}if(_0x174c73){let _0x57dd6c='';_0x2f5631?_0x57dd6c=this['o'][_0x56bb1c(0xd3,-0x12,0x117,_0x358157._0x10c460)](this[_0x56bb1c(_0x358157._0x20bf71,0x474,0x32a,_0x358157._0x4450c2)](_0x2f5631)):_0x57dd6c=this['o']['href'](_0x381204),_0x432922=_0x2a907a[_0xdd969a(0x209,_0x358157._0x4fb115,_0x358157._0x3b2def,0x31d)](_0x57dd6c,_0x381204[_0x56bb1c(0x22c,_0x358157._0x2f8dad,0x132,0x236)](/\+/g,_0x56bb1c(_0x358157._0x343cd3,0x1cc,0x2a3,0x3d3)));}else _0x23d159&&_0x2f5631&&(_0x432922+=this[_0xdd969a(_0x358157._0x277550,0x4ae,0x548,0x4db)](_0x2f5631)+'\x20('),_0x432922+=this['o'][_0x56bb1c(_0x358157._0x138ed9,0x1c5,0x117,_0x358157._0x1d28c9)](_0x381204),_0x23d159&&(_0x432922+=')');return this['o'][_0xdd969a(0x412,_0x358157._0x5565c0,_0x358157._0x18e970,_0x358157._0x3299db)](_0x432922);}[_0x286169(0x41a,0x3ed,0x307,0x33c)](_0x563477,_0x7f68e9,_0x38d836){const _0x3088fb={_0xae05fa:0x5ca,_0x335919:0x1db,_0x4ca4bc:0x24e,_0x68fba5:0x337,_0x5dd442:0x18c,_0x33451b:0x394,_0x278741:0x4fb,_0x51e612:0x591,_0x4db4fb:0x4bd,_0x46b1ea:0x3c8,_0x56305a:0x5ae,_0x2e90b4:0x613,_0x160864:0x6a7},_0x57fd41={_0x154380:0xca};function _0x31eae0(_0x5eea3f,_0x1a53fb,_0x2abe7f,_0x34a636){return _0x286169(_0x5eea3f-0x8c,_0x1a53fb- -0xe9,_0x5eea3f,_0x34a636-0x1e1);}let _0x1a7dbe,_0x53f895,_0x195758;function _0x367eae(_0x27a087,_0x3d166f,_0x3fbd17,_0x249744){return _0x120ca0(_0x3fbd17,_0x3d166f-_0x57fd41._0x154380,_0x3fbd17-0x190,_0x249744-0xcf);}if(typeof _0x563477==_0x367eae(_0x3088fb._0xae05fa,0x3c2,0x5f8,0x497)?(_0x53f895=_0x563477[_0x31eae0(_0x3088fb._0x335919,0x30e,_0x3088fb._0x4ca4bc,0x29f)],_0x195758=_0x563477[_0x31eae0(0x3a4,0x390,0x4ee,_0x3088fb._0x68fba5)],_0x1a7dbe=_0x563477[_0x31eae0(_0x3088fb._0x5dd442,0x2a5,_0x3088fb._0x33451b,0x2f2)]):(_0x1a7dbe=_0x563477,_0x53f895=_0x7f68e9,_0x195758=_0x38d836),this['o'][_0x367eae(0x41d,0x418,0x638,_0x3088fb._0x278741)])return this['o'][_0x367eae(_0x3088fb._0x51e612,_0x3088fb._0x4db4fb,_0x3088fb._0x46b1ea,0x4fb)](_0x1a7dbe,_0x53f895,_0x195758);let _0x496d55='!['+_0x195758;return _0x53f895&&(_0x496d55+=_0x367eae(_0x3088fb._0x56305a,_0x3088fb._0x2e90b4,_0x3088fb._0x160864,0x6e4)+_0x53f895),_0x496d55+']('+_0x1a7dbe+')\x0a';}};function Wn(_0x52fe55,_0x308fd8){const _0x3dcbba={_0x322eaf:0x16f,_0x46a876:0x12f,_0x2a5ef8:0x6d,_0x321d83:0x2ab,_0x49b792:0x33,_0x385fcd:0x6c,_0x5c6266:0x113,_0x1beec6:0x2cc,_0x408cd9:0x3cc,_0xa003d7:0x1d7,_0x478e31:0x1d5,_0x5821b4:0xcf,_0x2b28e8:0x79,_0x774c72:0x146,_0x4d07ff:0x2f,_0x2c9b97:0x150,_0x17117e:0x21b,_0x1969bd:0x8,_0x5ad522:0x149,_0x27cf52:0x30,_0x3ad53a:0x136,_0x34d578:0x163,_0x37f9f5:0x27f,_0x1304ed:0x22b,_0xa05ff6:0x2a8,_0x145ce8:0x20f,_0x5d07c4:0x1c5,_0x18ef95:0x1f7,_0x3d6903:0x9a,_0x28d669:0xdb,_0x2d7c00:0xe4},_0x2f7079={_0x58011b:0x470,_0x2564c2:0x484,_0x226827:0x4a0,_0x23cf29:0x190,_0x80f3ce:0xba,_0x14068a:0x3bd,_0x3d0490:0x410,_0x16058a:0x17a,_0x216355:0x2ae,_0xbacfe1:0x2b7,_0x109faf:0x108,_0x477837:0xbf,_0x2bc7f8:0x1dc},_0x1dfa06={_0x373cfb:0x1c3,_0x386208:0x5d},_0x3fde08={_0x1416d7:0x8a,_0x273b64:0x2a3},_0x6709={_0x26288e:0x1c,_0x435357:0x5a8,_0x5a7d85:0x2b};function _0x549cb9(_0x7350ab,_0x8fc23b,_0x5a39ea,_0x5e2435){return _0x286169(_0x7350ab-_0x6709._0x26288e,_0x7350ab- -_0x6709._0x435357,_0x8fc23b,_0x5e2435-_0x6709._0x5a7d85);}let _0x1de1bf=new So(_0x52fe55,_0x308fd8);function _0x1aab6a(_0x48c0d2,_0xc7ebfe,_0xd0118c,_0x11041e){return _0x286169(_0x48c0d2-_0x3fde08._0x1416d7,_0x48c0d2- -_0x3fde08._0x273b64,_0x11041e,_0x11041e-0x151);}return[_0x549cb9(-0x237,-0x2c5,-_0x3dcbba._0x322eaf,-0x163),_0x549cb9(-_0x3dcbba._0x46a876,-0x10a,-_0x3dcbba._0x2a5ef8,-0x254),_0x1aab6a(_0x3dcbba._0x321d83,0x2f0,0x198,0x260),_0x549cb9(_0x3dcbba._0x49b792,_0x3dcbba._0x385fcd,-0x12d,-_0x3dcbba._0x5c6266),'html','heading','hr',_0x1aab6a(0x2ba,_0x3dcbba._0x1beec6,_0x3dcbba._0x408cd9,0x17a),_0x549cb9(-_0x3dcbba._0xa003d7,-_0x3dcbba._0x478e31,-_0x3dcbba._0x5821b4,-0x76),_0x549cb9(-_0x3dcbba._0x2b28e8,-_0x3dcbba._0x774c72,_0x3dcbba._0x4d07ff,-0x67),_0x549cb9(-_0x3dcbba._0x2c9b97,0x2,-0x13,-0x224),_0x549cb9(-_0x3dcbba._0x17117e,-0x18a,-0xda,-0x19c),'tablerow',_0x549cb9(-_0x3dcbba._0x1969bd,-_0x3dcbba._0x5ad522,-0x4,-_0x3dcbba._0x27cf52),_0x549cb9(-_0x3dcbba._0x3ad53a,-_0x3dcbba._0x34d578,-0x200,-_0x3dcbba._0x37f9f5),'em',_0x1aab6a(_0x3dcbba._0x1304ed,0x22e,0x2b0,0x251),'br',_0x1aab6a(_0x3dcbba._0xa05ff6,0x338,0x165,_0x3dcbba._0x145ce8),_0x549cb9(-_0x3dcbba._0x5d07c4,-_0x3dcbba._0x18ef95,-_0x3dcbba._0x3d6903,-0x100),_0x549cb9(-0x1bb,-_0x3dcbba._0x28d669,-_0x3dcbba._0x2d7c00,-0xce)]['reduce']((_0x3c3b29,_0x25f7e0)=>(_0x3c3b29['renderer'][_0x25f7e0]=function(..._0x3e41f8){const _0x1f44fe={_0x34e868:0x422,_0x44d5f5:0x1a6,_0x1085fe:0xbf};function _0x151deb(_0x36ec8c,_0x55eed7,_0x59f756,_0x2da6f6){return _0x549cb9(_0x36ec8c-_0x1f44fe._0x34e868,_0x59f756,_0x59f756-_0x1f44fe._0x44d5f5,_0x2da6f6-_0x1f44fe._0x1085fe);}_0x1de1bf[_0x151deb(_0x2f7079._0x58011b,_0x2f7079._0x2564c2,0x3be,_0x2f7079._0x226827)]=this[_0x5448b8(_0x2f7079._0x23cf29,_0x2f7079._0x80f3ce,0x2d8,0x117)],_0x1de1bf[_0x151deb(_0x2f7079._0x14068a,_0x2f7079._0x3d0490,0x2fc,0x46b)]=this['parser'];let _0x297d9b=_0x1de1bf[_0x25f7e0];function _0x5448b8(_0x44830d,_0x23fc44,_0x220d09,_0x2453ef){return _0x1aab6a(_0x44830d- -_0x1dfa06._0x373cfb,_0x23fc44-0x17c,_0x220d09-_0x1dfa06._0x386208,_0x220d09);}return typeof _0x297d9b==_0x5448b8(_0x2f7079._0x16058a,_0x2f7079._0x216355,_0x2f7079._0xbacfe1,_0x2f7079._0x109faf)?_0x297d9b[_0x5448b8(-0xc5,-0xfe,-_0x2f7079._0x477837,-_0x2f7079._0x2bc7f8)](_0x1de1bf,_0x3e41f8):'';},_0x3c3b29),{'renderer':{},'useNewRenderer':!0x0});}var Ro=class t{constructor(){const _0x42bbac={_0x9740e9:0x597,_0x5e126d:0x535,_0x61ea66:0x4ce,_0x3f5185:0x4f2,_0x5a824a:0x42a,_0x2d2ad3:0x554},_0x4266a3={_0x312c4c:0x19d,_0x5d3b9b:0x11a,_0x2ff86f:0x25},_0x1d4c33={_0x10fec2:0x18b,_0x22ea82:0xa0};function _0x3adb56(_0x2baefb,_0x533db3,_0x177246,_0x44fbe9){return _0x120ca0(_0x177246,_0x533db3-0x41,_0x177246-_0x1d4c33._0x10fec2,_0x533db3- -_0x1d4c33._0x22ea82);}this[_0x217a30(0x628,_0x42bbac._0x9740e9,_0x42bbac._0x5e126d,_0x42bbac._0x61ea66)]=null;function _0x217a30(_0x511d91,_0x14205d,_0x2a0b02,_0x4de855){return _0x120ca0(_0x511d91,_0x14205d-_0x4266a3._0x312c4c,_0x2a0b02-_0x4266a3._0x5d3b9b,_0x2a0b02- -_0x4266a3._0x2ff86f);}this[_0x217a30(0x2e0,_0x42bbac._0x3f5185,_0x42bbac._0x5a824a,_0x42bbac._0x2d2ad3)]=_0x39b29d;}static['getInstance'](){const _0x3bdfea={_0x44c93a:0x29,_0x185529:0xa3,_0x2f41b6:0x7e,_0x594db5:0x77,_0x1a1e63:0x71,_0x3e6c5a:0xf},_0x17b657={_0x3faaf9:0xc,_0x2921b2:0x11a,_0x1ab03b:0x5dd},_0x468874={_0x225bec:0x1c6,_0x293fc4:0x22,_0xff2439:0x44d};function _0x418e5f(_0x4f6553,_0x15a5c5,_0x4fdb9e,_0x2ee766){return _0x120ca0(_0x15a5c5,_0x15a5c5-_0x468874._0x225bec,_0x4fdb9e-_0x468874._0x293fc4,_0x4fdb9e- -_0x468874._0xff2439);}function _0x5677a3(_0x34b05e,_0x298e82,_0x1366b6,_0x53c024){return _0x120ca0(_0x298e82,_0x298e82-_0x17b657._0x3faaf9,_0x1366b6-_0x17b657._0x2921b2,_0x34b05e- -_0x17b657._0x1ab03b);}return t[_0x5677a3(-0x119,_0x3bdfea._0x44c93a,-0x85,-0x7)]||(t[_0x418e5f(_0x3bdfea._0x185529,_0x3bdfea._0x2f41b6,_0x3bdfea._0x594db5,0x17e)]=new t()),t[_0x418e5f(_0x3bdfea._0x1a1e63,0xf2,0x77,_0x3bdfea._0x3e6c5a)];}[_0x120ca0(0x5eb,0x579,0x41b,0x4b5)](_0x29e468){const _0x2251f2={_0x36d6e1:0x2fe,_0x542941:0x30e,_0x5c095b:0x226,_0x25cbbc:0x17d,_0x5231eb:0x335,_0x511a66:0x1f1,_0xbf7624:0x169,_0x50feea:0x1d7,_0x543222:0xb4,_0x4cf221:0x217},_0x464c3d={_0x14a75f:0x1e},_0x1e3524={_0xe4fbe9:0x1e0,_0x414d22:0x22};function _0x50ebd1(_0x55d33b,_0x31ccfa,_0x84a394,_0x41de40){return _0x286169(_0x55d33b-0x75,_0x84a394- -_0x1e3524._0xe4fbe9,_0x31ccfa,_0x41de40-_0x1e3524._0x414d22);}function _0x36742c(_0x139ba0,_0x59a007,_0x509d6d,_0x597c89){return _0x286169(_0x139ba0-_0x464c3d._0x14a75f,_0x139ba0- -0x21d,_0x597c89,_0x597c89-0x1f0);}return(!this['currentConfig']||this['currentConfig']['width']!==_0x29e468[_0x50ebd1(0x34e,0x4ee,0x3b9,0x432)]||this[_0x36742c(_0x2251f2._0x36d6e1,0x1d1,_0x2251f2._0x542941,_0x2251f2._0x5c095b)][_0x36742c(0x1d6,_0x2251f2._0x25cbbc,_0x2251f2._0x5231eb,_0x2251f2._0x511a66)]!==_0x29e468[_0x50ebd1(0x327,0x1ad,0x213,_0x2251f2._0xbf7624)])&&(this['configureRenderer'](_0x29e468),this['currentConfig']={..._0x29e468}),this[_0x36742c(0x1f3,_0x2251f2._0x50feea,_0x2251f2._0x543222,_0x2251f2._0x4cf221)];}[_0x286169(0x573,0x538,0x49b,0x3e9)](_0x47c866){const _0x2e93db={_0x3dddb8:0x2c7,_0x1ef3a0:0x344,_0x61779b:0x124,_0x1f63c2:0x22d,_0x224e35:0x194,_0x23849f:0x1b8,_0x221418:0x159,_0x836a4:0x81,_0x55ce6c:0xf,_0x578bd1:0xf1},_0x5705f1={_0x2b8bc8:0x6d,_0x388408:0x119,_0xf3eefb:0x14d,_0x98f938:0x86,_0x4a80fc:0x126,_0x1abcb4:0x23,_0x1507d5:0xd0,_0x37e825:0x7,_0x5ad88e:0x10d,_0x122780:0xc5,_0x598b6e:0x19b},_0x2d502a={_0x3ca8c0:0x1ac},_0x3aa72c={_0x2b3780:0xba,_0x256eca:0x2d2,_0x46c19d:0xfc},_0x2e24d0={_0x44f7ba:0x16e};function _0x1ffd58(_0x50c3e2,_0x5c3b3a,_0x35bb4f,_0x3a086f){return _0x120ca0(_0x5c3b3a,_0x5c3b3a-_0x2e24d0._0x44f7ba,_0x35bb4f-0xda,_0x50c3e2- -0x324);}let _0x1be533=Wn({'reflowText':_0x47c866['reflowText']??!0x0,'width':_0x47c866[_0x4b8278(_0x2e93db._0x3dddb8,_0x2e93db._0x1ef3a0,0x34c,0x17c)]},{}),_0x4eaec5=_0x1be533['renderer'][_0x4b8278(0x1a7,0x81,_0x2e93db._0x61779b,_0x2e93db._0x1f63c2)];function _0x4b8278(_0x416696,_0xa9b6e7,_0x1cc884,_0x576eed){return _0x286169(_0x416696-_0x3aa72c._0x2b3780,_0x416696- -_0x3aa72c._0x256eca,_0x1cc884,_0x576eed-_0x3aa72c._0x46c19d);}_0x1be533['renderer'][_0x1ffd58(_0x2e93db._0x224e35,0x7c,_0x2e93db._0x23849f,_0x2e93db._0x221418)]=function(_0x3dcb3a){const _0x9e7b7={_0x106d4e:0x43};function _0x27e8b4(_0xa27e24,_0x32618f,_0x44dccf,_0x1c0d6c){return _0x1ffd58(_0x44dccf- -0x1aa,_0xa27e24,_0x44dccf-0x89,_0x1c0d6c-_0x9e7b7._0x106d4e);}function _0xb93510(_0x59b6fd,_0xdcdf24,_0x241699,_0x2cd616){return _0x4b8278(_0xdcdf24- -0x124,_0xdcdf24-_0x2d502a._0x3ca8c0,_0x241699,_0x2cd616-0x180);}return typeof _0x3dcb3a==_0xb93510(-0x116,-_0x5705f1._0x2b8bc8,0xc6,-0x5a)&&_0x3dcb3a[_0xb93510(0x32,0xc5,-0x46,-0x6a)]&&Array[_0x27e8b4(0x2c,-0xf6,-_0x5705f1._0x388408,-0x1d9)](_0x3dcb3a[_0xb93510(0x8b,0xc5,0x18b,0x3e)])&&_0x3dcb3a[_0x27e8b4(0x5a,0x132,0x2c,-0x43)]['length']>0x0&&this[_0xb93510(0x22b,_0x5705f1._0xf3eefb,0xb7,_0x5705f1._0x98f938)]?.[_0x27e8b4(_0x5705f1._0x4a80fc,0x6b,0x10d,0x212)]?this[_0xb93510(0x1ba,0x14d,_0x5705f1._0x1abcb4,0x13e)][_0x27e8b4(_0x5705f1._0x1507d5,_0x5705f1._0x37e825,_0x5705f1._0x5ad88e,0x181)](_0x3dcb3a[_0xb93510(0x19c,_0x5705f1._0x122780,-0x70,_0x5705f1._0x598b6e)]):_0x4eaec5['call'](this,_0x3dcb3a);},this[_0x1ffd58(0x12b,0x1a,_0x2e93db._0x836a4,_0x2e93db._0x55ce6c)][_0x1ffd58(_0x2e93db._0x578bd1,0xb2,0x118,0x1d3)](_0x1be533);}},jn=Ro[_0x120ca0(0x4c0,0x5b7,0x5c5,0x4bf)](),vo=class{constructor(){const _0xd31c08={_0x1dea54:0x829,_0x2a2370:0x756,_0x456b03:0x4fd,_0x534b18:0x3e1},_0x2822c3={_0x475c7d:0x1af},_0x409941={_0x4c1b9b:0x1e7};function _0x17ebaa(_0x5c5845,_0x95e972,_0xb76aa5,_0x558a58){return _0x286169(_0x5c5845-_0x409941._0x4c1b9b,_0xb76aa5-0x1a7,_0x5c5845,_0x558a58-0x18e);}function _0x5b8266(_0x166701,_0x1de448,_0xd0f05b,_0xe0b2cd){return _0x120ca0(_0xe0b2cd,_0x1de448-0xe,_0xd0f05b-_0x2822c3._0x475c7d,_0xd0f05b- -0x28);}this[_0x17ebaa(_0xd31c08._0x1dea54,0x612,_0xd31c08._0x2a2370,0x711)]=new Map(),this[_0x5b8266(0x458,_0xd31c08._0x456b03,_0xd31c08._0x534b18,0x390)]=0x1388,this['maxSize']=0x64;}[_0x286169(0x278,0x396,0x4d8,0x473)](_0x5dab0b,_0x2f9049){const _0x8c06b1={_0x3c42ea:0x314,_0x1e7569:0x25f,_0x539ab2:0x38c,_0x1e0483:0x2af,_0x1fbaff:0x4d0,_0x1eacdc:0x262,_0x4e6137:0x2d1,_0x3bfa14:0x1d3,_0x15753e:0x3ea,_0x25a0a0:0x2d9,_0x2dfbc4:0x325,_0x538e6a:0x324,_0x54faae:0x2bc,_0x1cad79:0x1a7,_0x265907:0x28c,_0x57a7b0:0x162,_0x1d5aed:0x38c,_0x4bfa06:0x42c,_0x5786c9:0x2bc,_0x7af706:0x168,_0x84771d:0x24c,_0x3e988b:0x13b},_0x985822={_0x16cbc1:0xc,_0x4ef8a1:0x223},_0x26e40b={_0x43d815:0x5c4};let _0x42df93=this[_0x1b58a5(0x1fc,_0x8c06b1._0x3c42ea,_0x8c06b1._0x1e7569,0x1e4)](_0x5dab0b,_0x2f9049),_0x2553d5=this[_0x1b58a5(_0x8c06b1._0x539ab2,_0x8c06b1._0x1e0483,_0x8c06b1._0x1fbaff,0x409)][_0x1b58a5(0x173,_0x8c06b1._0x1eacdc,0x256,_0x8c06b1._0x4e6137)](_0x42df93);function _0x2030a2(_0x1b040a,_0x111adb,_0x4dd486,_0x3c4515){return _0x120ca0(_0x3c4515,_0x111adb-0x1e8,_0x4dd486-0x111,_0x1b040a- -_0x26e40b._0x43d815);}function _0x1b58a5(_0x593c78,_0x31f924,_0x29be94,_0xe5ac93){return _0x286169(_0x593c78-_0x985822._0x16cbc1,_0x593c78- -_0x985822._0x4ef8a1,_0x29be94,_0xe5ac93-0x88);}return _0x2553d5?Date[_0x1b58a5(0x2bd,_0x8c06b1._0x3bfa14,_0x8c06b1._0x15753e,_0x8c06b1._0x25a0a0)]()-_0x2553d5[_0x1b58a5(0x1f2,_0x8c06b1._0x2dfbc4,_0x8c06b1._0x538e6a,_0x8c06b1._0x54faae)]>this[_0x1b58a5(_0x8c06b1._0x1cad79,0x2eb,_0x8c06b1._0x265907,_0x8c06b1._0x57a7b0)]?(this[_0x1b58a5(_0x8c06b1._0x1d5aed,0x414,_0x8c06b1._0x4bfa06,_0x8c06b1._0x5786c9)]['delete'](_0x42df93),null):_0x2553d5[_0x1b58a5(_0x8c06b1._0x7af706,_0x8c06b1._0x84771d,0x1f7,_0x8c06b1._0x3e988b)]:null;}[_0x120ca0(0x494,0x400,0x523,0x42f)](_0x3c61aa,_0x609709,_0x424bdb){const _0x2c7081={_0x30ce43:0x8b,_0x352584:0x2b,_0x5463ab:0x73,_0x56a91c:0x12,_0x357b20:0xf3,_0x6cb87d:0xdb,_0x40dcdd:0x4a,_0x1c3c84:0xd5,_0x3f83b9:0x123,_0x54e440:0xa7,_0x25a81e:0x1ab,_0x21c45b:0x1bf,_0x3557f0:0x1b1,_0x30acc2:0x288,_0x165144:0xfc,_0x5d0eb0:0xfd,_0x168d11:0x11c,_0x5ba402:0x51},_0x5523d0={_0x6736cc:0x555},_0x503b14={_0x1a357b:0x4d};let _0x846a7=this[_0x402e9f(-0x205,-0x17a,-_0x2c7081._0x30ce43,-0x136)](_0x3c61aa,_0x609709);function _0x25d580(_0x1682ef,_0x24797f,_0x435e8c,_0x1a39c6){return _0x120ca0(_0x1682ef,_0x24797f-_0x503b14._0x1a357b,_0x435e8c-0x142,_0x435e8c- -0x5c3);}function _0x402e9f(_0x28a414,_0xf453ec,_0x3a2ecb,_0x318178){return _0x286169(_0x28a414-0x10,_0x318178- -_0x5523d0._0x6736cc,_0x28a414,_0x318178-0x16a);}if(this[_0x25d580(0x90,0x71,_0x2c7081._0x352584,_0x2c7081._0x5463ab)][_0x402e9f(-_0x2c7081._0x56a91c,-_0x2c7081._0x357b20,0x7b,0x33)]>=this[_0x402e9f(-_0x2c7081._0x6cb87d,-0x1a,-0x1c,-_0x2c7081._0x40dcdd)]){let _0x1a84e3=this[_0x402e9f(0xc1,-_0x2c7081._0x1c3c84,_0x2c7081._0x3f83b9,0x5a)][_0x25d580(-0x8,-0x192,-_0x2c7081._0x54e440,-_0x2c7081._0x25a81e)]()[_0x25d580(-_0x2c7081._0x21c45b,-0x1d3,-_0x2c7081._0x3557f0,-_0x2c7081._0x30acc2)]()[_0x402e9f(_0x2c7081._0x165144,0x49,-0x158,-0x61)];_0x1a84e3&&this[_0x25d580(-_0x2c7081._0x5d0eb0,-0x99,_0x2c7081._0x352584,-0x5)]['delete'](_0x1a84e3);}this[_0x402e9f(-0x91,_0x2c7081._0x168d11,0x13d,0x5a)][_0x25d580(-0x163,-0x282,-0x194,-_0x2c7081._0x5ba402)](_0x846a7,{'content':_0x3c61aa,'timestamp':Date['now'](),'result':_0x424bdb});}[_0x120ca0(0x434,0x43d,0x41e,0x45e)](_0x311cf6,_0x2c5795){const _0x1604ff={_0x1331ac:0x17a,_0x5aa701:0x117,_0x84b7a9:0x595,_0x34647b:0x717,_0x287b85:0x63a,_0x2068f5:0x5e5},_0x324a5a={_0x248c1b:0x444},_0x214737={_0x1b1efc:0x176,_0x5212ef:0x131};function _0x1aa28b(_0x63b46c,_0x23f615,_0x2dfd6d,_0x568a24){return _0x286169(_0x63b46c-0x104,_0x568a24-_0x214737._0x1b1efc,_0x63b46c,_0x568a24-_0x214737._0x5212ef);}function _0x108133(_0x5686e,_0x2819b6,_0xee672f,_0x234ead){return _0x286169(_0x5686e-0xe6,_0xee672f- -_0x324a5a._0x248c1b,_0x234ead,_0x234ead-0x13a);}return _0x2c5795+':'+_0x311cf6[_0x108133(_0x1604ff._0x1331ac,_0x1604ff._0x5aa701,0x125,0x149)]+':'+_0x311cf6[_0x1aa28b(_0x1604ff._0x84b7a9,_0x1604ff._0x34647b,_0x1604ff._0x287b85,_0x1604ff._0x2068f5)](0x0,0x64);}[_0x286169(0x34b,0x3da,0x425,0x305)](){const _0x348799={_0x5d7910:0x396,_0x3545b1:0x422},_0x55a9f8={_0x16f5b3:0x48};function _0x52b399(_0x1a94c9,_0x3e0e27,_0x3d131f,_0x56ab3f){return _0x286169(_0x1a94c9-0x139,_0x3d131f-_0x55a9f8._0x16f5b3,_0x3e0e27,_0x56ab3f-0xc3);}this['cache'][_0x52b399(0x538,_0x348799._0x5d7910,_0x348799._0x3545b1,0x57c)]();}},Ut=new vo();import{useRef as _0x2b6710,useEffect as _0x1d8662,useState as _0x50b5f1}from'react';var Bs=({memPersist:_0x2b5514=!0x1,appendLine:_0xc98091,updateLine:_0x424866,updateLineMetadata:_0x129b99,handleError:_0x8254b1})=>{const _0x44025a={_0x23755f:0x59,_0x1be275:0x55,_0x2f5cc3:0x360,_0xbe5779:0x200},_0x59e2d8={_0x4fcce5:0x30,_0x32f1a1:0x134},_0xa05e2b={_0x3f5a18:0x25c,_0x270219:0x1e0,_0x1089e5:0x299,_0x51f49c:0x172,_0xa330a7:0x133},_0x55a92e={_0x11602f:0x38c},_0x146638={_0x1262c0:0x31,_0x13af29:0xfe,_0x446438:0x180},_0x44ee9c={_0x37e35e:0x2da,_0x33713b:0x1f4,_0x16ffb4:0x1e1,_0x3dc4b7:0x21,_0x23631e:0x2c,_0x319293:0x16f,_0x5be228:0x38e,_0x15697b:0xff,_0x5c725e:0x27},_0xd13361={_0x585adf:0x18a,_0x14ce1c:0xdd};function _0xf3eb54(_0x2251d4,_0x5c7ad5,_0x473f81,_0x2c38e1){return _0x286169(_0x2251d4-_0xd13361._0x585adf,_0x473f81- -0x50d,_0x5c7ad5,_0x2c38e1-_0xd13361._0x14ce1c);}let [_0x4f8fe6,_0x3f736f]=_0x50b5f1('Initializing'),{toolApprovalMode:_0x4b2311}=_0x3b4d2e(),_0x2bc6a6=_0x2b6710({'appendLine':_0xc98091,'updateLine':_0x424866,'updateLineMetadata':_0x129b99,'handleError':_0x8254b1}),_0x5d604a=async()=>{await _0x260492['cleanup']();},_0xecb25d=async(_0x4288ec,_0x456d6b=!0x1)=>{const _0x7157b={_0x10c71c:0x2b0};_0x456d6b&&(_0x3f736f(_0x51883b(0x290,_0x44ee9c._0x37e35e,_0x44ee9c._0x33713b,0x1bb)),await _0x260492[_0x51883b(0x2d7,_0x44ee9c._0x16ffb4,0x1c8,0x16b)](),_0x260492['reset']());function _0x16d26c(_0x45bf64,_0x23b8a6,_0x1535cd,_0x551fc9){return _0x55d8(_0x551fc9- -_0x7157b._0x10c71c,_0x45bf64);}function _0x51883b(_0x2c47a9,_0x2c5eeb,_0x39403e,_0x3e789f){return _0x55d8(_0x39403e-0x17,_0x2c5eeb);}let _0xe1ce33={'memPersist':_0x2b5514,'streamingChunks':!0x0,..._0x4288ec??{}},_0x1e386f=await _0x260492[_0x51883b(_0x44ee9c._0x3dc4b7,_0x44ee9c._0x23631e,_0x44ee9c._0x319293,0x60)](_0xe1ce33,_0x2bc6a6[_0x51883b(0x300,0x308,_0x44ee9c._0x5be228,0x4cf)]);return _0x3f736f(_0x16d26c(-_0x44ee9c._0x15697b,-_0x44ee9c._0x5c725e,-0x13a,-0x113)),_0x1e386f;},_0xc20531=async _0x18a1a6=>_0xecb25d(_0x18a1a6,!0x0);function _0x5884e8(_0x2d42ab,_0x45e2b2,_0x398993,_0x48ad72){return _0x120ca0(_0x2d42ab,_0x45e2b2-_0x146638._0x1262c0,_0x398993-_0x146638._0x13af29,_0x398993- -_0x146638._0x446438);}return _0x1d8662(()=>{const _0x426e68={_0x1a968e:0x102};function _0x38cea0(_0x2abcb7,_0x311ef2,_0x606e9c,_0x3877b6){return _0x55d8(_0x2abcb7- -_0x426e68._0x1a968e,_0x311ef2);}function _0x3e895c(_0x3e7ba9,_0x4d4fa8,_0x284ef5,_0x1f81ca){return _0x55d8(_0x3e7ba9- -_0x55a92e._0x11602f,_0x1f81ca);}_0x260492[_0x38cea0(0x23d,0x21b,0x141,_0xa05e2b._0x3f5a18)]()&&_0x260492[_0x38cea0(_0xa05e2b._0x270219,_0xa05e2b._0x1089e5,_0xa05e2b._0x51f49c,_0xa05e2b._0xa330a7)]({'requireToolApproval':_0x4b2311});},[_0x4b2311]),_0x1d8662(()=>{const _0x250dfd={_0x43835c:0x41d,_0x2db72c:0x3e9,_0x1dd156:0x394,_0x19b06e:0x34a,_0x3e57ff:0x312,_0x1bff52:0x43c,_0x5ebc09:0x411,_0x494dce:0x428,_0x1f1844:0x363},_0x2f958a={_0x24565a:0x1ae,_0x34ef2c:0x2d6};function _0x267075(_0x23a47d,_0x32bcb3,_0x3b85b6,_0x11d241){return _0x55d8(_0x11d241- -0x257,_0x32bcb3);}function _0x41ec95(_0x3d861e,_0x503ca1,_0x3c2b7e,_0x3f6bfc){return _0x55d8(_0x3c2b7e- -0x31c,_0x3d861e);}let _0x1fbedb=!0x1;return _0x260492[_0x267075(_0x59e2d8._0x4fcce5,-0xb2,0x47,-0x100)]()===_0x267075(-_0x59e2d8._0x32f1a1,-0x101,-0x17c,-0xba)?(_0x3f736f('Ready'),()=>{_0x1fbedb=!0x0;}):(((async()=>{const _0x18a2fc={_0x41b43c:0x14a,_0x274737:0x360,_0x2887c7:0x45};function _0x3ce848(_0x1bdf84,_0x541867,_0x407153,_0xe7a144){return _0x267075(_0x1bdf84-0x8a,_0x541867,_0x407153-_0x2f958a._0x24565a,_0xe7a144-_0x2f958a._0x34ef2c);}function _0x54196e(_0x38037c,_0x3f3279,_0x1dc5f4,_0x1e6ed1){return _0x41ec95(_0x1e6ed1,_0x3f3279-_0x18a2fc._0x41b43c,_0x1dc5f4-_0x18a2fc._0x274737,_0x1e6ed1-_0x18a2fc._0x2887c7);}try{if(await _0xecb25d(),_0x1fbedb)return;}catch(_0x1bf638){let _0x279197=_0x1bf638 instanceof Error?_0x1bf638[_0x54196e(_0x250dfd._0x43835c,_0x250dfd._0x2db72c,_0x250dfd._0x1dd156,_0x250dfd._0x19b06e)]:String(_0x1bf638);_0x8254b1(_0x3ce848(0x413,_0x250dfd._0x3e57ff,0x2de,_0x250dfd._0x1bff52)+_0x279197),_0x1fbedb||_0x3f736f(_0x3ce848(_0x250dfd._0x5ebc09,_0x250dfd._0x494dce,_0x250dfd._0x1f1844,0x43e));}})()),()=>{_0x1fbedb=!0x0;});},[]),{'status':_0x4f8fe6,'cleanup':_0x5d604a,'reinit':_0xc20531,'send':async(_0x3f982a,_0x40ad06={})=>_0x260492[_0x5884e8(0x3f6,0x3b9,0x3e6,0x2c6)](_0x3f982a,_0x40ad06),'createNewConversation':async _0x4eec88=>await _0x260492['createNewConversation'](_0x4eec88),'sessionId':_0x260492[_0xf3eb54(_0x44025a._0x23755f,-_0x44025a._0x1be275,-0xb1,-0x6f)]()[_0x5884e8(_0x44025a._0x2f5cc3,0x28f,_0x44025a._0xbe5779,0xfc)]};};import{useEffect as _0x2b69e7,useRef as _0x49dd2a,useCallback as _0x188ee1}from'react';var Es=({busy:_0x4a0c4d,hasPendingApproval:_0x1575cb,inputAreaRef:_0x1e2ac9,onNotification:_0x3cd963})=>{const _0x3df0ae={_0x156225:0x293,_0x4907ef:0x3eb,_0x1ecabb:0x2d8,_0x17f309:0x1be,_0x5b63ee:0x15c,_0x12e9c6:0x4e2,_0x29a761:0x3d0,_0x275892:0x3eb,_0x1bc1c4:0x121,_0x4c4423:0xca,_0x1fbee3:0x114},_0x1af5ad={_0x3e601f:0x1c9},_0x1514e4={_0x43a376:0x29b},_0x11984c={_0x4f6e49:0x10e,_0x3b631a:0x9,_0x2ab49e:0x2,_0x4b6f93:0x771,_0x375e1a:0x687,_0x1c3a1d:0x479,_0x26a31c:0x4c6,_0x37e40e:0x54,_0x240d08:0x150,_0x46b4db:0x5a,_0x73bdca:0x86,_0x2ddca1:0x20b,_0x54e51b:0x14b,_0x4b6dd5:0xb9,_0xe4dd0a:0x1fd,_0x2971ef:0x3d,_0x3c64ca:0x215,_0x24852a:0x7,_0x497e76:0xc1,_0x26faf1:0x234,_0x703760:0x91,_0x21c114:0x292,_0x272689:0x15d,_0x5e55f6:0x18d,_0x257f88:0x11e,_0x4068a9:0x1a7,_0x545c10:0x1df,_0x1141be:0xa,_0x40dbac:0x119,_0x430b11:0xd0},_0x49a01d={_0x25ae9d:0x553,_0x2b2e40:0x627,_0x130e89:0x490,_0x3519f9:0x18e,_0x332d2a:0x192,_0x52d267:0x17e,_0x5d61d9:0xd9,_0x167444:0x60b,_0x228b81:0x544,_0x3ea3f2:0x62b,_0x53ca91:0x5b2,_0x3dac31:0x56e,_0x3e083d:0x4e1,_0x246423:0x36,_0x1584a6:0x61,_0x2542c8:0x14,_0x40d0d6:0x17b,_0x4141a9:0x3ce,_0x3b8911:0x2ae,_0x3529cb:0x495,_0x35dda7:0x2e5,_0x1351d8:0xdf,_0xac93d4:0x92},_0x1ec397={_0x2bde8c:0x25,_0x2ebd12:0x60,_0x170953:0xb5};let _0x4d5888=_0x49dd2a(!0x1),_0x441128=_0x188ee1(async()=>{const _0x152d92={_0x4793c7:0x265,_0x1d7181:0x3c7},_0x489c2d={_0xffc612:0x68};function _0x5b1e26(_0x1c6e69,_0x273d0a,_0x3c56e4,_0x126c53){return _0x55d8(_0x1c6e69- -0x1e9,_0x273d0a);}function _0x35bb4e(_0x2f88e6,_0x402e25,_0x35eed5,_0x29918b){return _0x55d8(_0x402e25-0x1dc,_0x2f88e6);}if(!_0x4d5888[_0x35bb4e(0x499,_0x49a01d._0x25ae9d,_0x49a01d._0x2b2e40,_0x49a01d._0x130e89)])_0x4d5888[_0x5b1e26(_0x49a01d._0x3519f9,_0x49a01d._0x332d2a,_0x49a01d._0x52d267,0x96)]=!0x0,_0x3cd963('Press\x20Ctrl+C\x20again\x20to\x20exit',0x3e8),setTimeout(()=>{function _0x2b61f6(_0x4923d5,_0x331412,_0x549c01,_0xe51d4){return _0x35bb4e(_0x549c01,_0x4923d5- -0x2ee,_0x549c01-_0x489c2d._0xffc612,_0xe51d4-0x130);}_0x4d5888[_0x2b61f6(_0x152d92._0x4793c7,0x2b8,_0x152d92._0x1d7181,0x140)]=!0x1;},0x3e8);else{_0x4d5888['current']=!0x1,_0x3cd963(null);let _0x26dd03=await import(_0x5b1e26(-0x70,-_0x49a01d._0x5d61d9,0xdf,-0x8d));_0x224133[_0x35bb4e(_0x49a01d._0x167444,0x529,_0x49a01d._0x228b81,_0x49a01d._0x3ea3f2)](_0x35bb4e(_0x49a01d._0x53ca91,_0x49a01d._0x3dac31,_0x49a01d._0x3e083d,0x68c)),_0x224133[_0x5b1e26(0x164,_0x49a01d._0x246423,0x1e1,_0x49a01d._0x1584a6)](_0x5b1e26(-0x69,-_0x49a01d._0x2542c8,-0x13a,-_0x49a01d._0x40d0d6),{'id':_0x26dd03[_0x35bb4e(_0x49a01d._0x4141a9,0x3bc,0x4d3,_0x49a01d._0x3b8911)](),'type':'info','content':_0x35bb4e(_0x49a01d._0x3529cb,0x424,0x544,_0x49a01d._0x35dda7),'metadata':{'timestamp':new Date()[_0x5b1e26(0x12,-0x5d,0x39,_0x49a01d._0x1351d8)]()},'color':_0x5b1e26(_0x49a01d._0xac93d4,0xd0,0x183,0xdd)}),await _0x260492?.['cleanup'](),setTimeout(()=>{const _0x7eb992={_0x1c1ffb:0x124};function _0x4bec4f(_0x59cf16,_0x326317,_0x3099c1,_0x1d84fb){return _0x5b1e26(_0x59cf16- -_0x7eb992._0x1c1ffb,_0x1d84fb,_0x3099c1-0x5d,_0x1d84fb-0x191);}process['stdout']['write'](_0x4bec4f(-0x106,-_0x1ec397._0x2bde8c,-_0x1ec397._0x2ebd12,-_0x1ec397._0x170953)),process['exit'](0x0);},0x1f4);}},[_0x3cd963]),_0x251d62=_0x188ee1(async()=>{function _0xdfb2a4(_0x2e5bb2,_0x2fdafa,_0x313a7d,_0x2ae08f){return _0x55d8(_0x2fdafa-0x2ed,_0x2ae08f);}function _0x428612(_0x44295a,_0x19495c,_0x5ba2f4,_0x5c5109){return _0x55d8(_0x5c5109- -0x282,_0x44295a);}if(!(_0x4a0c4d||_0x1575cb))try{let {hasClipboardFiles:_0x6ffd52,getClipboardFiles:_0x89bf14}=await import(_0x428612(-0x79,_0x11984c._0x4f6e49,-0x116,_0x11984c._0x3b631a));if(_0x3cd963(_0x428612(-_0x11984c._0x2ab49e,-0x9d,-0x27c,-0x14a),0x3e8),await _0x6ffd52()){_0x3cd963('Processing\x20clipboard\x20image...',0x3e8);let _0x326bba=await _0x89bf14();if(_0x326bba[_0xdfb2a4(_0x11984c._0x4b6f93,0x630,0x619,_0x11984c._0x375e1a)]>0x0){let _0x5d7034=_0x326bba[_0xdfb2a4(_0x11984c._0x1c3a1d,0x481,_0x11984c._0x26a31c,0x4f7)](_0x18155f=>_0x18155f['data']),_0x24faf3=_0x326bba[_0x428612(_0x11984c._0x37e40e,-0x242,-0x3a,-0xee)]((_0x2f6d97,_0xb8534e)=>_0x428612(-0x1a3,-0x4e,-0x89,-0xdc)+(_0xb8534e+0x1)+']')[_0x428612(-0x53,-0x213,-0x25e,-_0x11984c._0x240d08)]('\x20');_0x1e2ac9['current']?.[_0xdfb2a4(0x559,0x6a1,0x5af,0x7ac)](_0x24faf3),globalThis[_0x428612(_0x11984c._0x46b4db,_0x11984c._0x73bdca,_0x11984c._0x2ddca1,_0x11984c._0x54e51b)]=_0x5d7034;let _0x29e488=Math[_0x428612(-0x7c,-_0x11984c._0x4b6dd5,-_0x11984c._0xe4dd0a,-0x135)](_0x5d7034[_0x428612(-_0x11984c._0x2971ef,-_0x11984c._0x3c64ca,0x50,-0xbd)]((_0x66e9ed,_0x33fa25)=>_0x66e9ed+_0x33fa25['length'],0x0)/0x400);_0x3cd963(_0x326bba[_0x428612(0x160,0x20f,_0x11984c._0x24852a,_0x11984c._0x497e76)]+_0x428612(-_0x11984c._0x26faf1,-_0x11984c._0x703760,-_0x11984c._0x21c114,-_0x11984c._0x272689)+(_0x326bba['length']>0x1?'s':'')+_0x428612(-_0x11984c._0x5e55f6,-_0x11984c._0x3c64ca,-0x19a,-_0x11984c._0x257f88)+_0x29e488+'KB\x20total)',0x7d0);}else _0x3cd963('No\x20valid\x20image\x20data\x20found\x20in\x20clipboard',0x3e8);}}catch(_0x52b95f){let _0x5666ba=_0x52b95f instanceof Error?_0x52b95f[_0x428612(-_0x11984c._0x73bdca,_0x11984c._0x4068a9,0xd5,0xce)]:_0x428612(-_0x11984c._0x545c10,_0x11984c._0x1141be,-0xe2,-0x153);_0x3cd963(_0x428612(0x18c,_0x11984c._0x40dbac,_0x11984c._0x430b11,0xec)+_0x5666ba,0x7d0);}},[_0x4a0c4d,_0x1575cb,_0x3cd963,_0x1e2ac9]);_0x2b69e7(()=>(_0x224133['on']('ui:keyboard:ctrlc',_0x441128),_0x224133['on']('ui:keyboard:paste',_0x251d62),()=>{function _0x4913b7(_0x49c903,_0x608033,_0x421a8b,_0x497231){return _0x55d8(_0x421a8b- -_0x1514e4._0x43a376,_0x608033);}function _0xd32c59(_0x515f81,_0x1d528d,_0x570f3f,_0x1a6afd){return _0x55d8(_0x570f3f-_0x1af5ad._0x3e601f,_0x1d528d);}_0x224133[_0xd32c59(_0x3df0ae._0x156225,0x4c7,_0x3df0ae._0x4907ef,_0x3df0ae._0x1ecabb)](_0x4913b7(-0x222,-_0x3df0ae._0x17f309,-_0x3df0ae._0x5b63ee,-0xc4),_0x441128),_0x224133[_0xd32c59(_0x3df0ae._0x12e9c6,_0x3df0ae._0x29a761,_0x3df0ae._0x275892,0x532)](_0x4913b7(-_0x3df0ae._0x1bc1c4,_0x3df0ae._0x4c4423,0x9,_0x3df0ae._0x1fbee3),_0x251d62);}),[_0x441128,_0x251d62]);};import{useCallback as _0x3862a7}from'react';import*as _0x1b3c5d from'crypto';import{promises as _0xe98ff9}from'fs';import _0x1614e6 from'os';import*as _0x5c3148 from'path';var Gn=/data:image\/[a-zA-Z0-9.+-]+;base64,[a-zA-Z0-9+/=\s]+/g,ko=/@(?:"([^"]+)"|'([^']+)'|([^\s]+))/g,qn={'.png':_0x120ca0(0x539,0x59f,0x597,0x461),'.jpg':_0x286169(0x5c8,0x5c1,0x5e1,0x469),'.jpeg':_0x286169(0x5f6,0x5c1,0x492,0x701),'.gif':_0x120ca0(0x407,0x399,0x4f7,0x4ee),'.webp':_0x286169(0x5da,0x4be,0x5ce,0x393),'.bmp':'image/bmp','.svg':_0x286169(0x4ce,0x417,0x2ee,0x368),'.avif':_0x286169(0x317,0x34f,0x33d,0x46d),'.heic':_0x286169(0x386,0x4a7,0x49e,0x57d),'.heif':_0x286169(0x6bd,0x5ec,0x4b4,0x574),'.jfif':_0x286169(0x61c,0x5c1,0x6a9,0x492)},Mo=_0x6fb4=>_0x120ca0(0x40d,0x48a,0x468,0x3dc)+_0x6fb4+'>>',Os=_0x218b79=>_0x218b79['replace'](/\s+/g,''),_s=_0x3f2b96=>_0x3f2b96['startsWith']('~')?_0x5c3148[_0x286169(0x439,0x358,0x498,0x496)](_0x1614e6['homedir'](),_0x3f2b96[_0x286169(0x3dc,0x46f,0x38f,0x33b)](0x1)):_0x3f2b96,$s=_0x46708b=>_0x5c3148[_0x286169(0x2dc,0x374,0x29b,0x2a6)](_s(_0x46708b)),Fs=_0x576c31=>{const _0x4f7014={_0x329f6e:0x537,_0x3d0fec:0x659,_0x109541:0x4e6,_0x1f64b4:0x4c5},_0x1446c1={_0x363e92:0x1e8},_0x17c8db={_0x16406b:0xac,_0x646be6:0x112,_0xbed7d2:0x142};let _0x3ff37a=_0x5c3148[_0xc038a4(0x5d1,0x4eb,_0x4f7014._0x329f6e,0x42e)](_0x576c31)[_0xc038a4(_0x4f7014._0x3d0fec,0x6c1,0x5da,0x604)](),_0x3d8ac4=qn[_0x3ff37a];function _0x2a8956(_0xef09b7,_0x292dbe,_0xd2bf50,_0x3d1440){return _0x286169(_0xef09b7-_0x17c8db._0x16406b,_0x3d1440- -_0x17c8db._0x646be6,_0xd2bf50,_0x3d1440-_0x17c8db._0xbed7d2);}if(!_0x3d8ac4)throw new Error(_0x2a8956(0x3cf,0x4a4,_0x4f7014._0x109541,_0x4f7014._0x1f64b4)+_0x576c31);function _0xc038a4(_0x5d74ac,_0x1b31c2,_0x2e67f2,_0x304dd9){return _0x286169(_0x5d74ac-0x17c,_0x2e67f2-0x11a,_0x1b31c2,_0x304dd9-_0x1446c1._0x363e92);}return _0x3d8ac4;};async function Kn(_0x10e921,_0x25b3f0){const _0x337a2d={_0x573eaa:0x1fe,_0x146a5b:0x24d,_0x255c59:0x1dd,_0x4b94bb:0x270,_0x5b38fa:0x342,_0x109efb:0x206,_0x430976:0x357,_0x32256d:0x31e,_0x37c478:0xe4,_0x2289b7:0x2aa,_0x7f639a:0x3a8,_0xfc5dd4:0x484,_0x3831c2:0x22f,_0x47f839:0xe5,_0x371275:0x14f,_0x29fbcf:0x1de,_0x1fb2e7:0xf4,_0x37c16e:0x1c7,_0x48803f:0x37c,_0x5479cd:0x3eb,_0x493fe0:0x1b3,_0x158406:0x5b,_0x10b345:0x18e,_0x5c7b49:0x1ad,_0x492869:0x1ac,_0x35ec9:0xee,_0x259f9c:0x2ae,_0x4bdf43:0x21f,_0x433058:0x35c,_0x6706eb:0x85,_0x22b330:0x95,_0x1559d8:0x14c,_0x118409:0x114,_0x36e646:0x134,_0x5a36a6:0x15c,_0x2235e6:0x7,_0x5d97a8:0x1b0,_0x333194:0x1c3,_0x11b312:0xc6,_0x31fca4:0x67,_0x49e66d:0x2c3,_0x56a899:0x197,_0x2cb50f:0x37,_0x533ff3:0x286,_0xf6364c:0x245,_0x561e45:0x5d,_0xe1610e:0x3e3,_0x52dc52:0x3a8,_0x54fc42:0x37e,_0x3bc4de:0x2cc,_0x51a4da:0x24,_0x4067f9:0x17e,_0x1d9881:0xee,_0x314a36:0x2fd,_0x12a5e9:0x3bb,_0x36f0c4:0x1f9,_0x57ce2b:0x222,_0x3c2a1c:0x10c,_0x8208a4:0x141,_0x1a176a:0x137,_0x4eabb5:0x33,_0x22375f:0x11c,_0x5566ef:0x114,_0x5bdb40:0x1b2,_0x18bfdd:0x142,_0x28a513:0x17e,_0x40f23f:0x1a1,_0x38beaf:0x46,_0x131539:0x40f,_0x48f520:0x402,_0x1b4987:0x26d,_0x41ab0a:0x16a,_0xdf74f9:0x411,_0x42e3e9:0x358,_0x7da615:0x13,_0x2f6c5f:0x62,_0x41ffa2:0x9f,_0x293db4:0x9b,_0x36ac5c:0x1ab,_0x249e3f:0x1b4,_0x13c25d:0x3b,_0x310a72:0x6a,_0x2afad2:0x4a2,_0x5a6f3e:0x42c,_0xd322d7:0x569,_0xe3335d:0x373,_0x25369c:0x34f,_0x33249f:0x216,_0xc04ac6:0x352,_0x1afcf6:0x21a,_0xda98c4:0x18e,_0x41ab86:0x12d,_0x2a7766:0x27d,_0xefc2c6:0x181,_0x3b21e0:0x19c,_0x332294:0x77,_0x23e1a6:0x135,_0x34ffc9:0x152,_0xa30b2f:0x106,_0x42326d:0x1a8,_0x4305e6:0x24c,_0x1fd7a6:0x190,_0x2e5fc7:0x107,_0x578958:0x262},_0x198804={_0x2348b1:0xd1,_0x182672:0x38b},_0x4ab430={_0x166421:0x4d,_0x5aa4d9:0x1ca},_0x33903d={_0x194d94:0x613,_0x51314a:0x56f,_0x2d1a43:0x16,_0x3b944d:0x236,_0x5bd8b9:0x3c4,_0x2e9878:0x494,_0x499521:0x36f,_0x70bec1:0x1b6,_0x58d886:0x61,_0x1bcf3f:0xac,_0x5c243e:0x100,_0x305c78:0x84},_0x1cb4ab={_0x4d9e8e:0x22c};let _0xc323e4=[],_0x552afb=[];_0x25b3f0&&_0x25b3f0['length']>0x0&&_0x25b3f0['forEach'](_0x2476e1=>{let _0x567fa5=_0xc323e4[_0x539b5d(0x64b,0x699,_0x33903d._0x194d94,_0x33903d._0x51314a)]+0x1,_0x2156a0=Mo(_0x567fa5),_0x13ff93=_0x3e1770(-_0x33903d._0x2d1a43,-0x25,_0x33903d._0x3b944d,0x13c)+_0x567fa5,_0x31de2a=_0x3e1770(0x255,-0x1d,0x6e,0x144)+_0x2476e1['toString'](_0x539b5d(0x408,_0x33903d._0x5bd8b9,_0x33903d._0x2e9878,_0x33903d._0x499521));function _0x539b5d(_0x3981e4,_0x11b7eb,_0x5ea1e8,_0x5966ac){return _0x55d8(_0x5966ac-_0x1cb4ab._0x4d9e8e,_0x11b7eb);}function _0x3e1770(_0x37604e,_0x49d5c2,_0x89a489,_0xf9667){return _0x55d8(_0xf9667- -0x292,_0x89a489);}_0xc323e4[_0x3e1770(0x135,0x1c0,_0x33903d._0x70bec1,_0x33903d._0x58d886)]({'kind':_0x3e1770(-0x31,-_0x33903d._0x1bcf3f,-_0x33903d._0x5c243e,-_0x33903d._0x305c78),'token':_0x2156a0,'label':_0x13ff93,'dataUri':_0x31de2a});});let _0x3ea8f0=0x0;Gn['lastIndex']=0x0;function _0x243a01(_0x2dc637,_0x577644,_0x19bc16,_0x553231){return _0x286169(_0x2dc637-_0x4ab430._0x166421,_0x577644- -0x1c1,_0x2dc637,_0x553231-_0x4ab430._0x5aa4d9);}let _0x18fc4b;function _0x29942b(_0x368157,_0x51b5e2,_0x5b6464,_0x2f70d9){return _0x286169(_0x368157-_0x198804._0x2348b1,_0x2f70d9- -_0x198804._0x182672,_0x51b5e2,_0x2f70d9-0x1be);}for(;(_0x18fc4b=Gn[_0x243a01(_0x337a2d._0x573eaa,_0x337a2d._0x146a5b,_0x337a2d._0x255c59,_0x337a2d._0x4b94bb)](_0x10e921))!==null;){let _0x2040d5=_0x18fc4b[_0x243a01(_0x337a2d._0x5b38fa,_0x337a2d._0x109efb,_0x337a2d._0x430976,_0x337a2d._0x32256d)];_0x2040d5>_0x3ea8f0&&_0x552afb['push']({'kind':'text','value':_0x10e921[_0x29942b(0x1ed,0xf1,0x12c,_0x337a2d._0x37c478)](_0x3ea8f0,_0x2040d5)});let _0x35ffa5=_0xc323e4[_0x243a01(_0x337a2d._0x2289b7,_0x337a2d._0x7f639a,_0x337a2d._0xfc5dd4,0x30c)]+0x1,_0x376718=Mo(_0x35ffa5),_0x289c4f=_0x29942b(0x58,_0x337a2d._0x3831c2,_0x337a2d._0x47f839,_0x337a2d._0x371275)+_0x35ffa5;_0xc323e4['push']({'kind':'inline','token':_0x376718,'label':_0x289c4f,'dataUri':_0x18fc4b[0x0]}),_0x552afb['push']({'kind':'attachment','index':_0xc323e4[_0x29942b(0x327,0x30a,0x18e,_0x337a2d._0x29fbcf)]-0x1}),_0x3ea8f0=_0x2040d5+_0x18fc4b[0x0][_0x29942b(_0x337a2d._0x1fb2e7,0x1c5,_0x337a2d._0x37c16e,0x1de)];}_0x3ea8f0<_0x10e921[_0x243a01(0x422,_0x337a2d._0x7f639a,_0x337a2d._0x48803f,_0x337a2d._0x5479cd)]&&_0x552afb[_0x29942b(_0x337a2d._0x493fe0,_0x337a2d._0x158406,0x1b0,_0x337a2d._0x10b345)]({'kind':_0x29942b(_0x337a2d._0x5c7b49,0xea,_0x337a2d._0x492869,_0x337a2d._0x35ec9),'value':_0x10e921[_0x243a01(0x27c,_0x337a2d._0x259f9c,0x1b7,_0x337a2d._0x4bdf43)](_0x3ea8f0)});let _0x264d0f=[];for(let _0xb7a021 of _0x552afb){if(_0xb7a021['kind']==='attachment'){_0x264d0f['push'](_0xb7a021);continue;}let _0x3da65a=_0xb7a021[_0x243a01(_0x337a2d._0x433058,0x333,0x373,0x235)],_0x13ebc9=0x0;ko[_0x243a01(_0x337a2d._0x6706eb,0x192,0x47,_0x337a2d._0x22b330)]=0x0;let _0x409e1b;for(;(_0x409e1b=ko[_0x29942b(_0x337a2d._0x37c478,0x79,_0x337a2d._0x1559d8,0x83)](_0x3da65a))!==null;){let _0x513dd6=_0x409e1b['index'],_0x41c423=_0x513dd6>0x0?_0x3da65a[_0x513dd6-0x1]:void 0x0;if(_0x41c423&&!/[\s([{<'"`]/[_0x29942b(_0x337a2d._0x118409,-0x2,0x96,0x142)](_0x41c423))continue;let _0x4f4dbd=(_0x409e1b[0x1]??_0x409e1b[0x2]??_0x409e1b[0x3]??'')[_0x29942b(-0xc2,-_0x337a2d._0x36e646,-_0x337a2d._0x5a36a6,-_0x337a2d._0x2235e6)]();if(!_0x4f4dbd)continue;let _0x198c32=_0x5c3148[_0x243a01(_0x337a2d._0x5d97a8,0x25c,_0x337a2d._0x333194,0x27c)](_0x4f4dbd)['toLowerCase']();if(!qn[_0x198c32])continue;_0x513dd6>_0x13ebc9&&_0x264d0f['push']({'kind':_0x29942b(_0x337a2d._0x11b312,-0x45,0x118,_0x337a2d._0x35ec9),'value':_0x3da65a['slice'](_0x13ebc9,_0x513dd6)});let _0xf46d4=_0xc323e4['length']+0x1,_0x30ea5a=Mo(_0xf46d4),_0x4482e2=_0x5c3148[_0x29942b(_0x337a2d._0x31fca4,_0x337a2d._0x49e66d,0x282,0x19f)](_0x4f4dbd)||_0x29942b(0x10f,-_0x337a2d._0x56a899,-0x69,-_0x337a2d._0x2cb50f)+_0xf46d4;_0xc323e4['push']({'kind':_0x29942b(_0x337a2d._0x533ff3,_0x337a2d._0xf6364c,_0x337a2d._0x561e45,0x125),'token':_0x30ea5a,'label':_0x4482e2,'path':_0x4f4dbd}),_0x264d0f[_0x29942b(0x4c,0x12b,0x2a3,_0x337a2d._0x10b345)]({'kind':_0x243a01(0x47e,0x43c,_0x337a2d._0xe1610e,0x3ce),'index':_0xc323e4[_0x243a01(0x3a9,_0x337a2d._0x52dc52,0x267,_0x337a2d._0x54fc42)]-0x1}),_0x13ebc9=ko['lastIndex'];}_0x13ebc9<_0x3da65a[_0x29942b(0x9f,_0x337a2d._0x3bc4de,0x252,_0x337a2d._0x29fbcf)]&&_0x264d0f['push']({'kind':_0x29942b(-0x32,-_0x337a2d._0x51a4da,_0x337a2d._0x4067f9,_0x337a2d._0x1d9881),'value':_0x3da65a[_0x29942b(-0x5e,0x7b,0x8c,0xe4)](_0x13ebc9)});}let _0x3ac8fe=_0x264d0f[_0x243a01(0x404,0x3a8,_0x337a2d._0x314a36,_0x337a2d._0x12a5e9)]>0x0?_0x264d0f:_0x552afb,_0x4f1e27=_0x3ac8fe[_0x243a01(0x237,_0x337a2d._0x36f0c4,0x11e,_0x337a2d._0x57ce2b)](_0x2d6852=>_0x2d6852[_0x29942b(-0x96,0x85,-0x17a,-0x4c)]===_0x29942b(0x214,0xe6,0x95,0xee)?_0x2d6852[_0x243a01(0x39c,0x333,0x424,0x330)]:_0xc323e4[_0x2d6852[_0x243a01(0x21b,0x206,0x1d6,0x315)]][_0x243a01(0x184,0x181,0x10b,0xb1)])['join'](''),_0x2bd954=_0x3ac8fe[_0x29942b(_0x337a2d._0x3c2a1c,_0x337a2d._0x8208a4,0x11e,0x2f)](_0x26d29a=>_0x26d29a['kind']===_0x29942b(-0x3f,0x5f,0x1d1,0xee)?_0x26d29a[_0x29942b(0x36,0x147,0x1c1,0x169)]:'[image:'+_0xc323e4[_0x26d29a[_0x243a01(0x224,0x206,0x12d,0x10d)]][_0x29942b(0x54,0x1f,0x1e,0x49)]+']')[_0x29942b(0xc,-_0x337a2d._0x1a176a,-0x11e,-_0x337a2d._0x4eabb5)]('');if(_0xc323e4[_0x29942b(_0x337a2d._0x22375f,_0x337a2d._0x5566ef,_0x337a2d._0x5bdb40,0x1de)]===0x0)return{'text':_0x4f1e27||_0x10e921,'displayText':_0x2bd954||_0x10e921};let _0x1e049e=[];for(let _0x254f28 of _0xc323e4){if(_0x254f28[_0x243a01(_0x337a2d._0x18bfdd,_0x337a2d._0x28a513,_0x337a2d._0x40f23f,0xb3)]===_0x29942b(0x179,0x1e1,_0x337a2d._0x38beaf,0xa9)){let _0x342752=_0x254f28[_0x243a01(_0x337a2d._0x131539,0x2fc,_0x337a2d._0x48f520,_0x337a2d._0x1b4987)]['match'](/^data:([^;]+);base64,(.+)$/s);if(!_0x342752)throw new Error(_0x29942b(_0x337a2d._0x41ab0a,0x6f,-0x4d,0xd6));let _0x9b9f3b=_0x342752[0x1],_0x4daeec=Os(_0x342752[0x2]);_0x1e049e[_0x243a01(_0x337a2d._0xdf74f9,_0x337a2d._0x42e3e9,0x214,0x31d)]({'type':_0x29942b(0x186,0x102,-_0x337a2d._0x7da615,_0x337a2d._0x2f6c5f),'token':_0x254f28['token'],'mimeType':_0x9b9f3b,'data':_0x4daeec,'altText':_0x254f28[_0x29942b(_0x337a2d._0x41ffa2,_0x337a2d._0x293db4,0x10f,0x49)],'source':_0x243a01(0x22b,0x273,0x222,0x127),'name':_0x254f28[_0x243a01(_0x337a2d._0x36ac5c,0x213,0x212,0x153)]});continue;}let _0x400648=$s(_0x254f28[_0x29942b(_0x337a2d._0x249e3f,_0x337a2d._0x13c25d,-_0x337a2d._0x310a72,0x76)]),_0x3341a2;try{_0x3341a2=await _0xe98ff9[_0x243a01(_0x337a2d._0x2afad2,_0x337a2d._0x5a6f3e,0x57a,_0x337a2d._0xd322d7)](_0x400648);}catch(_0x5427d8){let _0x5781cd=_0x5427d8 instanceof Error?_0x5427d8['message']:String(_0x5427d8);throw new Error(_0x243a01(_0x337a2d._0xe3335d,_0x337a2d._0x25369c,0x296,0x24c)+_0x254f28[_0x243a01(_0x337a2d._0x33249f,0x240,0x140,_0x337a2d._0xc04ac6)]+':\x20'+_0x5781cd);}let _0x5d7b27=Fs(_0x400648);_0x1e049e[_0x29942b(_0x337a2d._0x1afcf6,0x1d6,0x125,_0x337a2d._0xda98c4)]({'type':_0x243a01(0x34d,0x22c,_0x337a2d._0x41ab86,_0x337a2d._0x2a7766),'token':_0x254f28[_0x243a01(0x179,_0x337a2d._0xefc2c6,_0x337a2d._0x3b21e0,_0x337a2d._0x332294)],'mimeType':_0x5d7b27,'data':_0x3341a2[_0x29942b(_0x337a2d._0x23e1a6,_0x337a2d._0x34ffc9,0x14d,_0x337a2d._0xa30b2f)](_0x243a01(0x121,_0x337a2d._0x42326d,0x298,_0x337a2d._0x4305e6)),'altText':_0x254f28['label'],'source':_0x29942b(_0x337a2d._0x1fd7a6,_0x337a2d._0x2e5fc7,_0x337a2d._0x578958,0x125),'name':_0x5c3148['basename'](_0x400648)});}return{'text':_0x4f1e27||_0x10e921,'displayText':_0x2bd954||_0x10e921,'attachments':_0x1e049e};}function Hs(_0x4e9a09){const _0x460f13={_0x2c5d6a:0x1d3,_0x3f78f3:0x173,_0x4d386e:0x37e,_0x44ccd5:0x36f,_0x5d20ef:0x243,_0x4142e8:0x250,_0xd069e9:0x2e9,_0x351096:0x55e,_0x3835a6:0x422,_0x593142:0x48c,_0x3d94a3:0x618,_0x5bc8a8:0x5e1,_0x105216:0x585,_0x503280:0x6e2,_0x150d4b:0x676,_0xb6d185:0x65b,_0x1bbf43:0x4fb,_0x5054ea:0x352,_0x1789cf:0x430,_0x1a5236:0x5d2,_0x372608:0x686,_0x57323e:0x7e2,_0x45cc74:0x229,_0x5b261e:0x223,_0x50f404:0x2e9,_0x3d59c7:0x51a,_0x5492fa:0x449,_0x9b6285:0x400,_0x5185ea:0x408,_0x2d3f41:0x473,_0x1462fd:0x45a,_0x3b9530:0x239,_0x19cfea:0x30b,_0x3d26df:0x251,_0x20b292:0x255,_0xa53334:0x669,_0x4d07a:0x555,_0x5a5d71:0x66d,_0x590e71:0x5fd,_0x503b31:0x221,_0x1bb3ce:0x39d,_0x336b01:0x570,_0x14d017:0x674,_0x424c60:0x7b4,_0x22567d:0x560,_0x2f40e1:0x3dc,_0x27d558:0x4ad,_0x2277ea:0x742,_0x383b9e:0x65e},_0x20efe7={_0x10dbfd:0x375},_0x2b1909={_0x26d60f:0x216,_0x2bdaac:0x184,_0x534b00:0x1f8,_0x55bdb3:0x286,_0x1ced69:0x36a,_0x5c68f0:0x2c3,_0x17bfd4:0x175,_0x339ba3:0x351,_0x93430c:0x320,_0x2be29e:0x142,_0x2fca11:0x1ac};let {appendLine:_0x2f8648,handleError:_0x309656,executeCommand:_0x1cf98b,processMessage:_0x114479}=_0x4e9a09,_0x50d638=_0x3862a7((_0x1c348f,_0x506cd4)=>{const _0x585e60={_0x472505:0x9a},_0x12b312={_0x4c17ba:0x181};function _0x50e2e6(_0x2a3295,_0x19f626,_0x38e581,_0x15a25a){return _0x55d8(_0x2a3295- -_0x12b312._0x4c17ba,_0x15a25a);}if(!_0x506cd4)return{'shouldQueue':!0x1,'queueItem':null};function _0x34dd8f(_0x4fc63e,_0x3c60bf,_0xcc7672,_0xa21afd){return _0x55d8(_0xa21afd-_0x585e60._0x472505,_0x3c60bf);}let _0x1aaf47=_0x1c348f[_0x34dd8f(_0x2b1909._0x26d60f,_0x2b1909._0x2bdaac,0xe3,_0x2b1909._0x534b00)]();if(_0x1aaf47['startsWith']('/')){let _0xf72c93=_0x1aaf47[_0x50e2e6(0x1e0,0x83,_0x2b1909._0x55bdb3,0xdc)]('\x20')[0x0];return!_0x2e544a[_0x34dd8f(_0x2b1909._0x1ced69,_0x2b1909._0x5c68f0,_0x2b1909._0x17bfd4,0x20a)](_0xf72c93)?.[_0x34dd8f(_0x2b1909._0x339ba3,0xef,_0x2b1909._0x93430c,0x1fb)]?{'shouldQueue':!0x1,'queueItem':null}:{'shouldQueue':!0x0,'queueItem':{'type':'command','content':_0x1aaf47}};}return{'shouldQueue':!0x0,'queueItem':{'type':_0x50e2e6(0x1cf,_0x2b1909._0x2be29e,_0x2b1909._0x2fca11,0xaa),'content':_0x1aaf47}};},[]);return{'handleSubmit':_0x3862a7(async _0x4910ae=>{const _0x212a66={_0x3c2eab:0xe0};let _0x1bf870=_0x4910ae[_0x12ad18(_0x460f13._0x2c5d6a,_0x460f13._0x3f78f3,0x23e,_0x460f13._0x4d386e)]();if(!_0x1bf870)return;function _0x12ad18(_0x181a3d,_0x1ecf25,_0x15a130,_0x522287){return _0x55d8(_0x15a130-_0x212a66._0x3c2eab,_0x1ecf25);}function _0x1feb5d(_0x1a8e31,_0x4c9f97,_0x29d061,_0x4fff18){return _0x55d8(_0x4c9f97-_0x20efe7._0x10dbfd,_0x29d061);}if(_0x1bf870[_0x12ad18(0x47a,0x460,_0x460f13._0x44ccd5,0x32b)]('/')){let _0x5d9cc8=_0x1bf870[_0x12ad18(0x3cb,0x441,0x441,0x4d6)]('\x20')[0x0],_0x27d009=_0x2e544a[_0x12ad18(_0x460f13._0x5d20ef,0x18e,_0x460f13._0x4142e8,_0x460f13._0xd069e9)](_0x5d9cc8),_0x353305=!!_0x27d009&&_0x27d009[_0x1feb5d(0x5ec,0x510,0x636,_0x460f13._0x351096)]===_0x12ad18(_0x460f13._0x3835a6,0x31e,0x31c,0x226),_0x1a52c3=!!_0x27d009?.['isCustomCommand'];if(!_0x353305&&!_0x1a52c3&&_0x2f8648({'id':_0x1b3c5d[_0x1feb5d(_0x460f13._0x593142,0x555,_0x460f13._0x3d94a3,0x5f7)](),'type':_0x1feb5d(_0x460f13._0x5bc8a8,_0x460f13._0x105216,0x6ad,_0x460f13._0x503280),'content':_0x1bf870,'metadata':{'timestamp':new Date()[_0x1feb5d(_0x460f13._0x150d4b,0x570,_0x460f13._0xb6d185,_0x460f13._0x1bbf43)]()},'color':'cyan'}),_0x1bf870!=='/'){if(_0x27d009){try{await _0x1cf98b(_0x1bf870);}catch(_0x560deb){let _0x1b500f=_0x560deb instanceof Error?_0x560deb[_0x12ad18(_0x460f13._0x5054ea,0x464,_0x460f13._0x1789cf,0x4aa)]:String(_0x560deb);_0x309656(_0x1feb5d(_0x460f13._0x1a5236,_0x460f13._0x372608,_0x460f13._0x57323e,0x689)+_0x1b500f);}return;}else{_0x2f8648({'id':_0x1b3c5d[_0x12ad18(_0x460f13._0x45cc74,_0x460f13._0x5b261e,0x2c0,0x1b8)](),'type':_0x12ad18(_0x460f13._0x50f404,_0x460f13._0x3d59c7,_0x460f13._0x5492fa,_0x460f13._0x9b6285),'content':_0x12ad18(_0x460f13._0x5185ea,_0x460f13._0x2d3f41,0x433,0x4cc)+_0x5d9cc8,'metadata':{'timestamp':new Date()[_0x1feb5d(_0x460f13._0x1462fd,0x570,0x4b2,0x675)]()},'color':_0x12ad18(_0x460f13._0x3b9530,_0x460f13._0x19cfea,_0x460f13._0x3d26df,_0x460f13._0x20b292)}),_0x2f8648({'id':_0x1b3c5d[_0x1feb5d(_0x460f13._0xa53334,_0x460f13._0x4d07a,_0x460f13._0x5a5d71,_0x460f13._0x590e71)](),'type':_0x12ad18(_0x460f13._0x503b31,0x32b,0x24a,0x2cc),'content':_0x12ad18(0x4ea,_0x460f13._0x1bb3ce,0x3cb,0x44b),'metadata':{'timestamp':new Date()[_0x1feb5d(0x630,_0x460f13._0x336b01,0x576,_0x460f13._0x14d017)]()},'color':_0x1feb5d(_0x460f13._0x424c60,0x6b9,0x5fd,0x602)});return;}}}let _0x54c0a9;try{let _0x12cdcb=globalThis[_0x12ad18(_0x460f13._0x22567d,_0x460f13._0x2f40e1,_0x460f13._0x27d558,0x49e)]??[];_0x54c0a9=await Kn(_0x4910ae,_0x12cdcb),globalThis[_0x1feb5d(0x85a,_0x460f13._0x2277ea,0x6fc,_0x460f13._0x383b9e)]=void 0x0;}catch(_0x1ebf2d){let _0x2fac08=_0x1ebf2d instanceof Error?_0x1ebf2d['message']:String(_0x1ebf2d);_0x309656(_0x2fac08);return;}await _0x114479(_0x54c0a9);},[_0x2f8648,_0x309656,_0x1cf98b,_0x114479]),'shouldQueueItem':_0x50d638};}import{useState as _0x806044,useRef as _0x41a1b5,useEffect as _0x19a517}from'react';import{measureElement as _0x1364cb}from'ink';import{useLayoutEffect as _0x410fc7,useState as _0x128f41}from'react';var Vs=_0x238a78=>{const _0x671b2e={_0x39490c:0x6a8,_0x98e71e:0x1bc};let [_0x572a48,_0x389257]=_0x128f41(0x0);return _0x410fc7(()=>{function _0x282f0b(_0x49ac05,_0x34474e,_0x4e6b4b,_0x448046){return _0x55d8(_0x34474e-0x30d,_0x4e6b4b);}function _0x3c332d(_0x46c1ed,_0x4ea39c,_0x45c07a,_0x15da59){return _0x55d8(_0x45c07a- -0x222,_0x15da59);}if(_0x238a78[_0x282f0b(0x568,0x684,0x6e9,_0x671b2e._0x39490c)]){let {height:_0x134d5b}=_0x1364cb(_0x238a78[_0x3c332d(0x1e8,_0x671b2e._0x98e71e,0x155,0x1c9)]);_0x134d5b>0x0&&_0x134d5b!==_0x572a48&&_0x389257(_0x134d5b);}}),{'height':_0x572a48};};import{jsx as _0x54ad73}from'react/jsx-runtime';var qe=({children:_0x4efee2,disableMarkdown:_0x3af5bd,enableCache:_0x1de589=!0x0,reflowText:_0x5a261f=!0x1,maxWidth:_0x3df0e1})=>{const _0x2b3df5={_0x514caf:0xbf,_0x2da540:0xdd,_0x26142a:0xb6,_0x18c4b3:0x2f,_0x24e565:0x1cc,_0xaa60d9:0x322,_0x26270e:0x447,_0x378537:0x534,_0x3c9d6f:0x29f,_0x106c28:0x3a6,_0x15046e:0x3c3},_0x3b6327={_0x1cf96f:0xfb,_0x53ab46:0x11b,_0x2817f7:0xce};function _0x41cce0(_0x52b0a2,_0x427872,_0x517f7f,_0xc22855){return _0x286169(_0x52b0a2-0xa,_0x517f7f-0x1a1,_0x52b0a2,_0xc22855-0x1c1);}function _0x2cc6b3(_0x3037c9,_0x183dc2,_0x5b1559,_0x1f8fad){return _0x120ca0(_0x5b1559,_0x183dc2-_0x3b6327._0x1cf96f,_0x5b1559-_0x3b6327._0x53ab46,_0x183dc2-_0x3b6327._0x2817f7);}let {cols:_0x3b3273}=_0x3ce95d(),_0x2261fa=_0x2b6f59(()=>({'width':_0x3df0e1??_0x3b3273-0x8,'reflowText':_0x5a261f}),[_0x3b3273,_0x5a261f,_0x3df0e1]),_0x5b428e=_0x2b6f59(()=>JSON[_0x2cc6b3(0x6b9,0x577,0x48c,0x69c)](_0x2261fa),[_0x2261fa]),_0x1499aa=_0x41e012(_0xd6204c=>{const _0x3fdc18={_0x5b7c1c:0x639},_0x2fac4b={_0x17a5d0:0x25e,_0x33cba7:0x64};function _0x38fa45(_0x5b5e9c,_0x337ce6,_0x1adc5e,_0x1ebdd0){return _0x2cc6b3(_0x5b5e9c-0x191,_0x337ce6- -_0x2fac4b._0x17a5d0,_0x1ebdd0,_0x1ebdd0-_0x2fac4b._0x33cba7);}function _0x281fe5(_0x5530c6,_0xa93e20,_0x56f435,_0xf8cc5f){return _0x2cc6b3(_0x5530c6-0x18d,_0xa93e20- -_0x3fdc18._0x5b7c1c,_0x5530c6,_0xf8cc5f-0x1f2);}if(_0x1de589){let _0x1a719f=Ut[_0x281fe5(-_0x2b3df5._0x514caf,-0x196,-0xc9,-0x2a3)](_0xd6204c,_0x5b428e);if(_0x1a719f)return _0x1a719f;}try{let _0x26016f=jn[_0x281fe5(-_0x2b3df5._0x2da540,-_0x2b3df5._0x26142a,-_0x2b3df5._0x18c4b3,-_0x2b3df5._0x24e565)](_0x2261fa)[_0x38fa45(_0x2b3df5._0xaa60d9,_0x2b3df5._0x26270e,0x42f,_0x2b3df5._0x378537)](_0xd6204c,{'async':!0x1,'breaks':!0x0,'gfm':!0x0});return _0x1de589&&Ut[_0x38fa45(0x1f6,_0x2b3df5._0x3c9d6f,_0x2b3df5._0x106c28,_0x2b3df5._0x15046e)](_0xd6204c,_0x5b428e,_0x26016f),_0x26016f;}catch{return _0xd6204c;}},[_0x2261fa,_0x5b428e,_0x1de589]),_0x5b651b=_0x2b6f59(()=>_0x3af5bd?_0x4efee2??'':_0x1499aa(_0x4efee2??'')[_0x2cc6b3(0x4d8,0x48e,0x5d2,0x49a)](),[_0x4efee2,_0x3af5bd,_0x1499aa]);return _0x54ad73(_0x5298ad,{'wrap':'wrap','children':_0x5b651b});};import{jsx as _0x1b3833,jsxs as _0x37fb3a}from'react/jsx-runtime';function Yn(_0x47c51d){const _0x3c31ca={_0x2fb0a5:0x10b,_0x59e7e9:0x20a,_0xf4b7af:0x309,_0x280a25:0x2aa,_0x32aed2:0x157,_0x2e2d2f:0x18,_0x3dc645:0x2b8,_0x156d48:0x56a,_0x880907:0x4f7,_0x33f77a:0x4ee,_0x2bd6b6:0x5d,_0x4bbf8f:0x57,_0x20d771:0x4a,_0x25b584:0x40,_0x2aef32:0x4be,_0x1e9185:0x3cc,_0x13f6e9:0x4fd,_0x4ed9fd:0x6f5},_0x1116f5={_0x36c715:0x1c5,_0x40a624:0x11e};function _0x28c80e(_0x2aa470,_0x191a3a,_0x4849d4,_0x20fcb8){return _0x286169(_0x2aa470-_0x1116f5._0x36c715,_0x4849d4-0x68,_0x20fcb8,_0x20fcb8-_0x1116f5._0x40a624);}function _0x26d375(_0x5b7ffe,_0x54ffaa,_0xb8ebdf,_0x38fa39){return _0x286169(_0x5b7ffe-0xad,_0x5b7ffe- -0x5e6,_0x38fa39,_0x38fa39-0x84);}let {config:_0x51987b,args:_0x577758,theme:_0x551d30,toolCall:_0x511ed3,toolState:_0x4b382a}=_0x47c51d,_0x5d588b=Sn(_0x511ed3[_0x26d375(-0x6,_0x3c31ca._0x2fb0a5,0xd3,0x9f)][_0x26d375(-_0x3c31ca._0x59e7e9,-_0x3c31ca._0xf4b7af,-_0x3c31ca._0x280a25,-0x2ee)],_0x577758),_0x108451=typeof _0x51987b[_0x26d375(-_0x3c31ca._0x32aed2,-_0x3c31ca._0x2e2d2f,-0x124,-_0x3c31ca._0x3dc645)]=='function'?_0x51987b['displayName'](_0x47c51d):_0x51987b[_0x28c80e(0x614,_0x3c31ca._0x156d48,_0x3c31ca._0x880907,0x39a)],_0x4c91f9=_0x4b382a===_0x28c80e(0x73f,_0x3c31ca._0x33f77a,0x5f7,0x6c1)?_0x551d30[_0x26d375(-_0x3c31ca._0x2bd6b6,-0x1af,-0x19d,0xb4)][_0x26d375(-_0x3c31ca._0x4bbf8f,_0x3c31ca._0x20d771,_0x3c31ca._0x25b584,0xf0)]:void 0x0;return _0x37fb3a(_0x3ccc05,{'flexDirection':_0x28c80e(0x2f0,_0x3c31ca._0x2aef32,_0x3c31ca._0x1e9185,_0x3c31ca._0x13f6e9),'children':[_0x1b3833(_0x3ccc05,{'flexShrink':0x0,'marginRight':0x1,'children':_0x1b3833(_0x25117f,{'color':_0x551d30[_0x28c80e(0x704,_0x3c31ca._0x4ed9fd,0x663,0x6a4)]['tool'],'bold':!0x0,'children':'⚙︎'})}),_0x37fb3a(_0x25117f,{'wrap':'truncate-middle','children':[_0x1b3833(_0x25117f,{'bold':!0x0,'color':_0x4c91f9,'children':_0x108451}),_0x5d588b&&_0x37fb3a(_0x25117f,{'dimColor':!0x0,'children':['\x20',_0x5d588b]})]})]});}function Xn(_0x5e315b){const _0x34206a={_0x33867e:0x3,_0x446800:0x13e,_0x4e815d:0x14c,_0x39ca5d:0x20a,_0x3dc0d4:0x8,_0xb56a99:0x164,_0x2022de:0x9f,_0x1b1ad8:0x9d,_0x20c01f:0x88,_0x4075aa:0x192,_0x338a83:0x1a,_0x16f82d:0xb2,_0x1309ad:0x37,_0x3536eb:0x4e,_0x34e883:0xbc,_0x541205:0x7e,_0x4d6819:0x4b,_0x40ae5e:0x3c},_0x284ca6={_0x4d2ab1:0xef,_0x1c322c:0x1d5},_0x11056d={_0x3fd137:0x16};function _0x1facf6(_0x5dc12c,_0x3b046e,_0xad4c0a,_0x52ecb9){return _0x120ca0(_0x52ecb9,_0x3b046e-0x97,_0xad4c0a-_0x11056d._0x3fd137,_0x3b046e- -0x444);}let {args:_0x21a8ab,theme:_0x2d5df6,cols:_0x58cdae,toolState:_0x145e1c,config:_0x2709c1}=_0x5e315b,_0xb78200=ge(_0x145e1c,_0x2d5df6),_0x1f67d3=new Set(_0x2709c1[_0x413b48(_0x34206a._0x33867e,0x3c,_0x34206a._0x446800,0x8c)]||[]),_0x193df8=Object[_0x1facf6(0x131,_0x34206a._0x4e815d,_0x34206a._0x39ca5d,0x107)](_0x21a8ab)[_0x1facf6(0xe2,-0x37,-0xda,-_0x34206a._0x3dc0d4)](([_0x1a7111,_0x299bae])=>!_0x1f67d3[_0x413b48(-0x132,-0x134,-0x227,-0x5f)](_0x1a7111)&&_0x299bae!==void 0x0&&_0x299bae!=='');function _0x413b48(_0x52d2e4,_0x53bb40,_0x439eef,_0xf211e2){return _0x120ca0(_0x53bb40,_0x53bb40-_0x284ca6._0x4d2ab1,_0x439eef-_0x284ca6._0x1c322c,_0x52d2e4- -0x515);}if(_0x193df8[_0x1facf6(0x28b,_0x34206a._0xb56a99,0x72,_0x34206a._0x2022de)]===0x0)return null;let _0x1effdb=_0x35193c=>typeof _0x35193c=='string'?_0x35193c:typeof _0x35193c==_0x1facf6(-0xaf,-0x7c,-0x49,-0x96)&&_0x35193c!==null?JSON[_0x413b48(-0x6c,0x6e,-0xa9,0xb0)](_0x35193c,null,0x0):String(_0x35193c);return _0x1b3833(_0x3ccc05,{'flexDirection':_0x1facf6(0x160,_0x34206a._0x1b1ad8,_0x34206a._0x20c01f,_0x34206a._0x4075aa),'marginLeft':0x2,'borderStyle':_0x413b48(_0x34206a._0x338a83,0x8,-_0x34206a._0x16f82d,-_0x34206a._0x1309ad),'borderDimColor':!0x0,'borderColor':_0xb78200,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x58cdae-Re[_0x1facf6(_0x34206a._0x3536eb,0x140,_0x34206a._0x34e883,0x108)],'children':_0x193df8[_0x1facf6(-_0x34206a._0x541205,-_0x34206a._0x4d6819,_0x34206a._0x40ae5e,-0x16b)](([_0x1a5316,_0x547b0b])=>_0x1b3833(_0x25117f,{'dimColor':!0x0,'children':_0x1a5316+':\x20'+_0x1effdb(_0x547b0b)},_0x1a5316))});}function Jn(_0x66d8bf){const _0x2a3aef={_0x448332:0x26b,_0x45e00a:0x361,_0x23b4f4:0x2ec,_0x48e678:0x207,_0x322ee9:0x299,_0xb0b710:0x3c5,_0x52b9ce:0x2cc,_0x1cb7ab:0x473,_0x250b1a:0x3e1,_0x2e4b93:0x3ad,_0x23f4e0:0x4d7,_0xf357f9:0x3c0,_0x33d54d:0x3e5,_0x2aeb4a:0x4a2,_0x61fc6c:0x36b,_0x4ff21c:0x2cb,_0x53b3db:0x217,_0x5441da:0x20c,_0x41cb16:0x343,_0xad69fc:0x1d4,_0x5b1c88:0x298,_0x1866af:0x3db,_0x444aa7:0x36c,_0x363b52:0x30e,_0x18ab74:0x3e8,_0x4c274a:0x3eb,_0x15a34d:0x2f6},_0x3ac978={_0x9e033:0x1ec,_0x339141:0x3b},_0xe35355={_0x19fbe1:0x14a};let {toolResult:_0x146069,cols:_0x1ce3dc,theme:_0x7a5922,toolState:_0x276251}=_0x66d8bf;function _0x512dfe(_0x5b73aa,_0x10e950,_0x97f7d8,_0x257880){return _0x120ca0(_0x10e950,_0x10e950-0x88,_0x97f7d8-_0xe35355._0x19fbe1,_0x5b73aa- -0x1e3);}if(!_0x146069?.[_0x512dfe(0x1e7,0x187,0x18c,_0x2a3aef._0x448332)])return null;let _0x2dce91=typeof _0x146069[_0x475f28(_0x2a3aef._0x45e00a,0x150,0x207,0x2e8)]=='string'?_0x146069[_0x475f28(0x251,_0x2a3aef._0x23b4f4,_0x2a3aef._0x48e678,_0x2a3aef._0x322ee9)]:JSON['stringify'](_0x146069['result'],null,0x2),_0x3ff495=0xa,_0x4523b1=0x3e8,_0x441225=!0x1;_0x2dce91[_0x512dfe(_0x2a3aef._0xb0b710,_0x2a3aef._0x52b9ce,0x31b,_0x2a3aef._0x1cb7ab)]>_0x4523b1&&(_0x2dce91=_0x2dce91[_0x475f28(0x498,_0x2a3aef._0x250b1a,_0x2a3aef._0x2e4b93,_0x2a3aef._0x23f4e0)](_0x2dce91[_0x475f28(_0x2a3aef._0xf357f9,0x2be,_0x2a3aef._0x33d54d,0x425)]-_0x4523b1),_0x441225=!0x0);let _0x3178c9=_0x2dce91[_0x512dfe(0x3e3,0x320,0x2af,0x28a)]('\x0a');_0x3178c9[_0x512dfe(0x3c5,_0x2a3aef._0x2aeb4a,0x4b2,_0x2a3aef._0x61fc6c)]>_0x3ff495&&(_0x2dce91=_0x3178c9[_0x512dfe(_0x2a3aef._0x4ff21c,_0x2a3aef._0x53b3db,_0x2a3aef._0x5441da,_0x2a3aef._0x41cb16)](-_0x3ff495)[_0x475f28(0x15a,0x1eb,_0x2a3aef._0xad69fc,0x213)]('\x0a'),_0x441225=!0x0),_0x441225&&(_0x2dce91=_0x475f28(0x2de,0x297,0x303,_0x2a3aef._0x5b1c88)+_0x2dce91);let _0x192855=ge(_0x276251,_0x7a5922);function _0x475f28(_0x593b64,_0x2a69e0,_0x4ca610,_0x456c1c){return _0x286169(_0x593b64-_0x3ac978._0x9e033,_0x4ca610- -0x184,_0x456c1c,_0x456c1c-_0x3ac978._0x339141);}return _0x1b3833(_0x3ccc05,{'borderStyle':_0x475f28(0x40c,_0x2a3aef._0x1866af,_0x2a3aef._0x444aa7,0x340),'borderColor':_0x192855,'borderDimColor':!0x0,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'flexDirection':'column','paddingLeft':0x2,'marginLeft':0x2,'width':_0x1ce3dc-Re[_0x475f28(0x4cf,_0x2a3aef._0x363b52,0x45a,0x420)],'children':_0x1b3833(qe,{'maxWidth':_0x1ce3dc-Re[_0x475f28(_0x2a3aef._0x18ab74,_0x2a3aef._0x4c274a,0x2d7,_0x2a3aef._0x15a34d)],'children':_0x2dce91})});}function zs(_0x513de8){const _0x1590f2={_0x1a6124:0x4ab},_0x48a4b6={_0x162a2a:0x79};function _0x1c7464(_0x10e173,_0x3ce4c3,_0x2d17c8,_0x1b4145){return _0x120ca0(_0x3ce4c3,_0x3ce4c3-0xe8,_0x2d17c8-0x1a4,_0x10e173- -_0x48a4b6._0x162a2a);}throw new Error(_0x1c7464(0x4af,0x41b,_0x1590f2._0x1a6124,0x52f)+_0x513de8);}function Ys(_0x4bee3d){const _0x159c9b={_0xb16b13:0x34,_0x6e234b:0x174,_0x535d04:0x9f,_0x110259:0x62,_0x41d82e:0x86,_0x3c4269:0x364,_0x297847:0x21e,_0x5d1abe:0x37c,_0x31c2ca:0x2bb,_0x57eadf:0x1eb,_0x8fbd5c:0x46c,_0x4982c1:0x33b,_0x13f8ca:0x12,_0x427040:0xd,_0x20f7c2:0xd2,_0x17831a:0x359,_0x4f1613:0x40f,_0xca597d:0x123,_0x428197:0x29a,_0x128ff7:0x223,_0x471e3e:0x24c,_0x1f447e:0x12e,_0x204ef5:0x138,_0x46f18e:0x131,_0x14401a:0x2d4,_0x5f1b4c:0x229},_0x158aae={_0x4b9a3a:0xd2,_0x529c3c:0x5d1},_0x42594b={_0x239b79:0x102};function _0x273396(_0x1c3b5b,_0x47b951,_0x5297b0,_0x1cdc56){return _0x120ca0(_0x1cdc56,_0x47b951-_0x42594b._0x239b79,_0x5297b0-0xa0,_0x1c3b5b- -0x21f);}let {toolState:_0x3abd68,toolResult:_0x1ff5f3,config:_0x1487ac}=_0x4bee3d;function _0x1ad3ae(_0x41babc,_0x14e49c,_0x1cff68,_0x27c875){return _0x120ca0(_0x41babc,_0x14e49c-_0x158aae._0x4b9a3a,_0x1cff68-0x1ad,_0x1cff68- -_0x158aae._0x529c3c);}switch(_0x3abd68){case _0x1ad3ae(_0x159c9b._0xb16b13,-_0x159c9b._0x6e234b,-_0x159c9b._0x535d04,-_0x159c9b._0x110259):return _0x1ad3ae(-0x15e,-0x167,-_0x159c9b._0x41d82e,-0x11b);case _0x273396(0x2b9,0x241,_0x159c9b._0x3c4269,0x195):return _0x273396(_0x159c9b._0x297847,0x35e,_0x159c9b._0x5d1abe,0x1df);case'edited':return'Edited';case'aborted':return'Aborted';case'timeout':return _0x273396(_0x159c9b._0x31c2ca,0x274,0x2ff,_0x159c9b._0x57eadf);case'success':{let _0x205225=_0x1487ac['statusText']?.[_0x273396(0x3e3,_0x159c9b._0x8fbd5c,_0x159c9b._0x4982c1,0x52c)];return typeof _0x205225==_0x1ad3ae(_0x159c9b._0x13f8ca,-_0x159c9b._0x427040,0x4e,_0x159c9b._0x20f7c2)&&_0x1ff5f3?_0x205225(_0x1ff5f3):typeof _0x205225==_0x273396(0x2e4,_0x159c9b._0x17831a,0x221,_0x159c9b._0x4f1613)?_0x205225:'Done';}case _0x1ad3ae(-0xb5,-_0x159c9b._0xca597d,-0x3,0x145):return _0x1487ac[_0x1ad3ae(-_0x159c9b._0x428197,-0x363,-_0x159c9b._0x128ff7,-_0x159c9b._0x471e3e)]?.[_0x1ad3ae(-_0x159c9b._0x1f447e,_0x159c9b._0x204ef5,-0x3,_0x159c9b._0x46f18e)]??_0x273396(_0x159c9b._0x14401a,_0x159c9b._0x5f1b4c,0x1f5,0x3f6);default:return zs(_0x3abd68);}}function Zn(_0x4e4a64){const _0x2628d0={_0x2ba01b:0x1c7,_0xa48573:0x1c6};let {theme:_0x20d9e9,toolState:_0x5264e0}=_0x4e4a64,_0xf6f561=ge(_0x5264e0,_0x20d9e9),_0x191add=Ys(_0x4e4a64);function _0x1fef67(_0x25fcb8,_0x1fbffa,_0x23f393,_0x1c151e){return _0x286169(_0x25fcb8-0x17e,_0x23f393- -0x25e,_0x1fbffa,_0x1c151e-0xf1);}return _0x1b3833(_0x3ccc05,{'flexDirection':'row','marginLeft':0x2,'children':_0x1b3833(_0x25117f,{'dimColor':!0x0,'color':_0xf6f561,'children':_0x1fef67(_0x2628d0._0x2ba01b,0x100,_0x2628d0._0xa48573,0x184)+_0x191add})});}import{Box as _0x59d381}from'ink';import _0x46b67f,{useMemo as _0x3c72b1}from'react';import{Box as _0x200a7f,Text as _0x3356b9}from'ink';import{jsx as _0x22051e,jsxs as _0x546860}from'react/jsx-runtime';function Js(_0x38aef3,_0x24dbb5,_0xd986ea){const _0x3969f6={_0x14995e:0xc2,_0x27c9e2:0x397,_0x1b0b34:0x3ad,_0x5336d9:0x4f5,_0x568889:0x46f,_0x1f2984:0x4b,_0x8fba9c:0x9,_0x515764:0xc0,_0x11a8a7:0x48c,_0x56a561:0x3ea},_0x36fdd9={_0x3400ab:0x275,_0xc38663:0x1fd,_0x2399f2:0x25f,_0x1415b5:0x29c,_0xce8276:0x471},_0x100742={_0x244355:0x164},_0x936a7f={_0x3deb14:0x1f3,_0x71d787:0x53c};function _0x526ebd(_0x3507cc,_0x32272f,_0x18d7ce,_0x27afbe){return _0x286169(_0x3507cc-_0x936a7f._0x3deb14,_0x3507cc- -_0x936a7f._0x71d787,_0x27afbe,_0x27afbe-0x114);}let _0x202f7c=_0x38aef3??'',_0x403f1a=_0x24dbb5??'',_0x475798=_0x202f7c[_0x526ebd(-0x193,-0x1a0,-0x1ff,-_0x3969f6._0x14995e)](/\n$/,''),_0x752824=_0x403f1a[_0x22a459(_0x3969f6._0x27c9e2,_0x3969f6._0x1b0b34,0x4e8,0x503)](/\n$/,''),_0x2a78d7=_0x475798[_0x22a459(_0x3969f6._0x5336d9,0x58b,0x462,_0x3969f6._0x568889)]('\x0a'),_0x299637=_0x752824[_0x526ebd(_0x3969f6._0x1f2984,-_0x3969f6._0x8fba9c,-_0x3969f6._0x515764,0x18e)]('\x0a'),_0x2d2fd7=[];function _0x22a459(_0x15bd8b,_0x478bff,_0x4cb9fe,_0x168b23){return _0x120ca0(_0x168b23,_0x478bff-0x1b1,_0x4cb9fe-0xfc,_0x478bff- -0x3b);}if(_0x475798===_0x752824)return _0x2a78d7[_0x22a459(0x4db,_0x3969f6._0x11a8a7,0x529,_0x3969f6._0x56a561)]((_0x3d9445,_0x115a3e)=>{const _0x4c45a5={_0x4842f3:0x205,_0x5f4a22:0xc,_0x4075f7:0x17};function _0x3c86fe(_0x3ae6a2,_0x551331,_0x310d57,_0x3467e7){return _0x526ebd(_0x3467e7-_0x4c45a5._0x4842f3,_0x551331-_0x4c45a5._0x5f4a22,_0x310d57-_0x4c45a5._0x4075f7,_0x551331);}let _0x5ef815=_0xd986ea?_0xd986ea[_0x52f7c5(_0x36fdd9._0x3400ab,_0x36fdd9._0xc38663,_0x36fdd9._0x2399f2,_0x36fdd9._0x1415b5)]+_0x115a3e:_0x115a3e+0x1;function _0x52f7c5(_0x76154c,_0x2d9ff2,_0x5dc17e,_0x56b9f2){return _0x22a459(_0x76154c-0xc6,_0x76154c- -_0x100742._0x244355,_0x5dc17e-0x1bb,_0x56b9f2);}_0x2d2fd7['push']({'type':_0x52f7c5(0x49e,0x3b1,0x43d,_0x36fdd9._0xce8276),'content':_0x3d9445,'oldLineNum':_0x5ef815,'newLineNum':_0x5ef815});}),_0x2d2fd7;let _0x499bed=Zs(_0x2a78d7,_0x299637);return ni(_0x2a78d7,_0x299637,_0x499bed,_0xd986ea);}function Zs(_0x152ae4,_0x14cb08){const _0x1feb99={_0x4c6ca8:0x1ef,_0x550061:0x2c1,_0x31acca:0x321,_0xce999b:0x18a},_0x1daecc={_0x2dafc2:0x1ae,_0x25401a:0x230,_0x177ed7:0x1ef},_0x480d56={_0x1d8255:0x133};function _0x5a5785(_0x44704a,_0xff3c70,_0x4600aa,_0x48d328){return _0x120ca0(_0x48d328,_0xff3c70-0x51,_0x4600aa-_0x480d56._0x1d8255,_0xff3c70- -0x2e7);}function _0x11df20(_0x1e218d,_0x3249db,_0x388ecd,_0x4380ba){return _0x286169(_0x1e218d-_0x1daecc._0x2dafc2,_0x3249db- -_0x1daecc._0x25401a,_0x1e218d,_0x4380ba-_0x1daecc._0x177ed7);}let _0x2c89ed=_0x152ae4['length'],_0x287416=_0x14cb08[_0x5a5785(_0x1feb99._0x4c6ca8,_0x1feb99._0x550061,0x27a,0x180)],_0x460911=Array(_0x2c89ed+0x1)[_0x5a5785(0x31d,_0x1feb99._0x31acca,0x3a4,0x3bd)](0x0)[_0x11df20(0x191,_0x1feb99._0xce999b,0x138,0xa6)](()=>Array(_0x287416+0x1)[_0x5a5785(0x483,0x321,0x454,0x31f)](0x0));for(let _0x239f38=0x1;_0x239f38<=_0x2c89ed;_0x239f38++)for(let _0x1cb4ac=0x1;_0x1cb4ac<=_0x287416;_0x1cb4ac++)_0x152ae4[_0x239f38-0x1]===_0x14cb08[_0x1cb4ac-0x1]?_0x460911[_0x239f38][_0x1cb4ac]=_0x460911[_0x239f38-0x1][_0x1cb4ac-0x1]+0x1:_0x460911[_0x239f38][_0x1cb4ac]=Math[_0x11df20(0x13d,0x190,0x2a9,0x22e)](_0x460911[_0x239f38-0x1][_0x1cb4ac],_0x460911[_0x239f38][_0x1cb4ac-0x1]);return _0x460911;}function ei(_0x18b11f,_0xd5ff32){const _0x390ad5={_0x535328:0x3cb,_0x329d34:0x21b,_0x60a15f:0x5b,_0x13ca70:0x3f8,_0x4a70e8:0x2e9,_0x442ad0:0x3fa,_0x5657a7:0x4e3,_0x1f6dd8:0x478,_0x5098ea:0x444,_0x2a36e0:0xaa,_0x5d2085:0xa4,_0x322e9d:0x109,_0x1ac6d5:0x51,_0xb6f8e5:0x248,_0x25534a:0x1cb,_0x579f75:0x8c,_0x25e298:0x43e,_0x48d920:0x403,_0x3eb69d:0x3a8,_0x1b4a80:0x4a8,_0x574b8d:0x97,_0x31f301:0x16b,_0x1ada8f:0x256,_0x2d9088:0x1f6,_0x517005:0x118,_0x30ab84:0xa4,_0x1f06ac:0x27e,_0x13a1f3:0x242,_0x3940c9:0x164,_0x332eae:0x19e,_0x2d7821:0x4ff,_0x42581c:0x3ae,_0x469555:0x3a8,_0x389b1b:0x48c,_0x178b2c:0x399,_0x308db5:0x3b7,_0x37608c:0x3bf,_0x35a4bb:0x275,_0x13ebf1:0x425,_0x3e9e0d:0x426,_0x2f1737:0x2fe,_0x5a8893:0x32c},_0x155123={_0x59f122:0x1b0},_0x307b24={_0x88147c:0x11e,_0x1f1046:0x40a};function _0x1bf4d8(_0x27a75d,_0x47feba,_0x10948a,_0x2e0ab6){return _0x120ca0(_0x10948a,_0x47feba-_0x307b24._0x88147c,_0x10948a-0x1e6,_0x2e0ab6- -_0x307b24._0x1f1046);}let _0x1a6b68=[],_0x259cd3=[],_0x20ccf9=0x0;for(;_0x20ccf9<_0x18b11f[_0x34c55e(_0x390ad5._0x535328,0x2e9,0x3f8,0x431)]&&_0x20ccf9<_0xd5ff32[_0x1bf4d8(0xe3,_0x390ad5._0x329d34,0x120,0x19e)]&&_0x18b11f[_0x20ccf9]===_0xd5ff32[_0x20ccf9];)_0x20ccf9++;let _0x912312=0x0;function _0x34c55e(_0x1a0e4e,_0x2684dd,_0x1293ce,_0x202411){return _0x120ca0(_0x202411,_0x2684dd-0x65,_0x1293ce-0x196,_0x1293ce- -_0x155123._0x59f122);}for(;_0x912312<_0x18b11f[_0x1bf4d8(0x124,0xb4,_0x390ad5._0x60a15f,0x19e)]-_0x20ccf9&&_0x912312<_0xd5ff32[_0x34c55e(0x4ca,0x31c,_0x390ad5._0x13ca70,_0x390ad5._0x4a70e8)]-_0x20ccf9&&_0x18b11f[_0x18b11f[_0x34c55e(0x462,_0x390ad5._0x442ad0,0x3f8,_0x390ad5._0x5657a7)]-0x1-_0x912312]===_0xd5ff32[_0xd5ff32[_0x34c55e(0x475,_0x390ad5._0x1f6dd8,0x3f8,_0x390ad5._0x5098ea)]-0x1-_0x912312];)_0x912312++;let _0x154ef9=_0x18b11f[_0x1bf4d8(-0x61,0xe7,_0x390ad5._0x2a36e0,_0x390ad5._0x5d2085)](_0x20ccf9,_0x18b11f['length']-_0x912312),_0x2de3bd=_0xd5ff32[_0x1bf4d8(_0x390ad5._0x322e9d,0x12e,_0x390ad5._0x1ac6d5,0xa4)](_0x20ccf9,_0xd5ff32['length']-_0x912312);return _0x20ccf9>0x0&&(_0x1a6b68[_0x1bf4d8(0x39,0x181,_0x390ad5._0xb6f8e5,0x14e)]({'type':_0x1bf4d8(0x23a,0x2b8,0x23e,_0x390ad5._0x25534a),'text':_0x18b11f[_0x1bf4d8(_0x390ad5._0x579f75,0x1e3,0xbd,0xa4)](0x0,_0x20ccf9)}),_0x259cd3[_0x34c55e(_0x390ad5._0x25e298,_0x390ad5._0x48d920,_0x390ad5._0x3eb69d,_0x390ad5._0x1b4a80)]({'type':_0x1bf4d8(_0x390ad5._0x574b8d,_0x390ad5._0x31f301,_0x390ad5._0x1ada8f,_0x390ad5._0x25534a),'text':_0xd5ff32[_0x1bf4d8(_0x390ad5._0x2d9088,-0x32,_0x390ad5._0x517005,_0x390ad5._0x30ab84)](0x0,_0x20ccf9)})),_0x154ef9[_0x1bf4d8(_0x390ad5._0x1f06ac,_0x390ad5._0x13a1f3,_0x390ad5._0x3940c9,_0x390ad5._0x332eae)]>0x0&&_0x1a6b68['push']({'type':'remove','text':_0x154ef9}),_0x2de3bd['length']>0x0&&_0x259cd3[_0x34c55e(_0x390ad5._0x2d7821,_0x390ad5._0x42581c,_0x390ad5._0x469555,_0x390ad5._0x389b1b)]({'type':'add','text':_0x2de3bd}),_0x912312>0x0&&(_0x1a6b68[_0x34c55e(_0x390ad5._0x178b2c,0x3fc,0x3a8,0x3fa)]({'type':_0x34c55e(0x568,_0x390ad5._0x308db5,0x425,_0x390ad5._0x37608c),'text':_0x18b11f['slice'](_0x18b11f['length']-_0x912312)}),_0x259cd3[_0x34c55e(_0x390ad5._0x37608c,_0x390ad5._0x35a4bb,_0x390ad5._0x469555,0x32b)]({'type':_0x34c55e(0x4a9,0x4a6,_0x390ad5._0x13ebf1,0x3ec),'text':_0xd5ff32[_0x34c55e(_0x390ad5._0x3e9e0d,0x318,_0x390ad5._0x2f1737,_0x390ad5._0x5a8893)](_0xd5ff32['length']-_0x912312)})),{'old':_0x1a6b68,'new':_0x259cd3};}function ti(_0x5eb67e,_0x5c212b){const _0x75a7c4={_0x1dff60:0x616,_0x1f0b45:0x70a,_0x46f555:0x65e,_0x1e43f4:0x307,_0x5c23d7:0x360,_0x36c114:0x467,_0xceddc9:0x595,_0x277ddd:0x60c,_0x258d24:0x65e};function _0x17bf9e(_0x43e586,_0x8bd2c0,_0x32fce7,_0x56ea77){return _0x286169(_0x43e586-0xf9,_0x56ea77- -0x102,_0x8bd2c0,_0x56ea77-0x8f);}function _0x2ad946(_0x479a92,_0x59f8e0,_0x4b0d5d,_0x29e74b){return _0x120ca0(_0x59f8e0,_0x59f8e0-0x1d3,_0x4b0d5d-0xb1,_0x4b0d5d-0xb6);}let _0x53d1b4=_0x5eb67e[_0x2ad946(0x6bc,0x727,0x65e,_0x75a7c4._0x1dff60)]>_0x5c212b[_0x2ad946(0x54d,_0x75a7c4._0x1f0b45,_0x75a7c4._0x46f555,0x6d4)]?_0x5eb67e:_0x5c212b;if(_0x53d1b4[_0x17bf9e(0x3e9,_0x75a7c4._0x1e43f4,_0x75a7c4._0x5c23d7,_0x75a7c4._0x36c114)]===0x0)return 0x1;let _0xdb3c68=oi(_0x5eb67e,_0x5c212b);return(_0x53d1b4['length']-_0xdb3c68)/_0x53d1b4[_0x2ad946(_0x75a7c4._0xceddc9,_0x75a7c4._0x277ddd,_0x75a7c4._0x258d24,0x53d)];}function oi(_0x4e8135,_0x51c3d2){const _0x108173={_0x7936d9:0x288,_0x8e2898:0x2a2,_0x444363:0x1c6,_0x4868e3:0x1b6,_0x48765c:0x89},_0x16a91c={_0x81bea:0x12b,_0x6ce48d:0x93},_0x2b5fee={_0x14540b:0x167};function _0x1695d9(_0xb35865,_0x651f7c,_0x346270,_0x4ffb91){return _0x286169(_0xb35865-0x179,_0xb35865- -0x55,_0x346270,_0x4ffb91-_0x2b5fee._0x14540b);}let _0xf3b7f7=_0x4e8135['length'],_0x5f3776=_0x51c3d2[_0x2655fd(0x67,0x1f2,0x27d,0x166)],_0x50f150=Array(_0xf3b7f7+0x1)[_0x2655fd(_0x108173._0x7936d9,_0x108173._0x8e2898,0x1f8,_0x108173._0x444363)](0x0)['map'](()=>Array(_0x5f3776+0x1)[_0x1695d9(0x574,0x530,0x685,0x69d)](0x0));for(let _0x59a206=0x0;_0x59a206<=_0xf3b7f7;_0x59a206++)_0x50f150[_0x59a206][0x0]=_0x59a206;function _0x2655fd(_0x2e312f,_0x2923d5,_0x150730,_0x3c6aa8){return _0x286169(_0x2e312f-_0x16a91c._0x81bea,_0x3c6aa8- -0x403,_0x2923d5,_0x3c6aa8-_0x16a91c._0x6ce48d);}for(let _0x279cab=0x0;_0x279cab<=_0x5f3776;_0x279cab++)_0x50f150[0x0][_0x279cab]=_0x279cab;for(let _0x4cffd6=0x1;_0x4cffd6<=_0xf3b7f7;_0x4cffd6++)for(let _0x25ff92=0x1;_0x25ff92<=_0x5f3776;_0x25ff92++)_0x4e8135[_0x4cffd6-0x1]===_0x51c3d2[_0x25ff92-0x1]?_0x50f150[_0x4cffd6][_0x25ff92]=_0x50f150[_0x4cffd6-0x1][_0x25ff92-0x1]:_0x50f150[_0x4cffd6][_0x25ff92]=Math[_0x2655fd(0x12,0x87,_0x108173._0x4868e3,_0x108173._0x48765c)](_0x50f150[_0x4cffd6-0x1][_0x25ff92],_0x50f150[_0x4cffd6][_0x25ff92-0x1],_0x50f150[_0x4cffd6-0x1][_0x25ff92-0x1])+0x1;return _0x50f150[_0xf3b7f7][_0x5f3776];}function ni(_0x22baa9,_0x3066b6,_0x10b6c1,_0xd8d37d){const _0x95fe69={_0x1d1444:0x627,_0x523b9e:0x512,_0x48101c:0x59d,_0x1b881c:0x4c0,_0x4c2413:0x512,_0x286e5a:0x26f,_0x2d4007:0x1c1,_0x141748:0x1a2,_0x216c74:0x435,_0x2598ab:0x367,_0x398a50:0x5c1,_0x3a592c:0x5a7,_0x21a511:0x1cf,_0x38e465:0xcc,_0x578cb7:0x1d6,_0x9b1a06:0x1df,_0x3cae7f:0x594,_0x2645e0:0x512,_0x3ac689:0x490,_0x1551c8:0x26e,_0x2b1ca1:0x174,_0x3d45cf:0xb5,_0x59b63f:0x430,_0xbeacfa:0x3e0,_0x2cace5:0x3c5,_0x19c1be:0x42d,_0x333fee:0x492,_0x224b61:0x5cc,_0x209b6b:0x585,_0x55f1ac:0x4ed,_0x502eb4:0x36d,_0x228136:0x3e,_0xbb165f:0x112,_0x5ee197:0x106,_0xde1a4c:0x30,_0x3189ed:0x405,_0x2b6107:0x4b2,_0x3f8bc1:0x4c2,_0x4bc2ad:0x3c0},_0x57ac8f={_0x93de85:0x1d8,_0x2c7209:0x9e,_0x3387b8:0x28c},_0x438cd5={_0x2ef0a1:0x18b};let _0x169d99=_0x22baa9[_0x46a905(0x61d,_0x95fe69._0x1d1444,_0x95fe69._0x523b9e,_0x95fe69._0x48101c)],_0x2d6b92=_0x3066b6[_0x46a905(_0x95fe69._0x1b881c,0x441,_0x95fe69._0x4c2413,0x3d1)],_0x5d94f7=_0xd8d37d?_0xd8d37d[_0x167dfe(0x1b9,_0x95fe69._0x286e5a,_0x95fe69._0x2d4007,_0x95fe69._0x141748)]:_0x169d99,_0x2b5e19=_0xd8d37d?_0xd8d37d[_0x46a905(_0x95fe69._0x216c74,0x3cb,0x366,_0x95fe69._0x2598ab)]:_0x2d6b92,_0x46b5df=[];function _0x46a905(_0x33907d,_0x50da98,_0x5309aa,_0x330f63){return _0x120ca0(_0x50da98,_0x50da98-_0x438cd5._0x2ef0a1,_0x5309aa-0x1b4,_0x5309aa- -0x96);}for(;_0x169d99>0x0||_0x2d6b92>0x0;)_0x169d99>0x0&&_0x2d6b92>0x0&&_0x22baa9[_0x169d99-0x1]===_0x3066b6[_0x2d6b92-0x1]?(_0x46b5df['unshift']({'type':_0x46a905(0x60f,_0x95fe69._0x398a50,_0x95fe69._0x3a592c,0x493),'content':_0x22baa9[_0x169d99-0x1],'oldLineNum':_0x5d94f7,'newLineNum':_0x2b5e19}),_0x169d99--,_0x2d6b92--,_0x5d94f7--,_0x2b5e19--):_0x2d6b92>0x0&&(_0x169d99===0x0||_0x10b6c1[_0x169d99][_0x2d6b92-0x1]>=_0x10b6c1[_0x169d99-0x1][_0x2d6b92])?(_0x46b5df['unshift']({'type':_0x167dfe(0x14a,_0x95fe69._0x21a511,_0x95fe69._0x38e465,0x27f),'content':_0x3066b6[_0x2d6b92-0x1],'newLineNum':_0x2b5e19}),_0x2d6b92--,_0x2b5e19--):_0x169d99>0x0&&(_0x46b5df['unshift']({'type':_0x46a905(0x3a8,_0x95fe69._0x578cb7,0x300,_0x95fe69._0x9b1a06),'content':_0x22baa9[_0x169d99-0x1],'oldLineNum':_0x5d94f7}),_0x169d99--,_0x5d94f7--);let _0x305be0=[];for(let _0x208768=0x0;_0x208768<_0x46b5df[_0x46a905(0x50a,_0x95fe69._0x3cae7f,_0x95fe69._0x2645e0,0x605)];_0x208768++){let _0x509ee2=_0x46b5df[_0x208768],_0x310707=_0x46b5df[_0x208768+0x1];if(_0x509ee2[_0x46a905(0x222,_0x95fe69._0x3ac689,0x36a,0x2df)]===_0x46a905(0x460,0x1bc,0x300,0x234)&&_0x310707?.[_0x167dfe(_0x95fe69._0x1551c8,_0x95fe69._0x2b1ca1,0x118,_0x95fe69._0x3d45cf)]===_0x46a905(_0x95fe69._0x59b63f,_0x95fe69._0xbeacfa,_0x95fe69._0x2cace5,0x3fc)&&_0x509ee2[_0x46a905(0x5bf,0x445,0x568,_0x95fe69._0x19c1be)]&&_0x310707[_0x46a905(_0x95fe69._0x333fee,0x26f,0x384,0x488)]&&ti(_0x509ee2['content'],_0x310707['content'])>0.5){let _0x2b4086=ei(_0x509ee2['content'],_0x310707[_0x46a905(_0x95fe69._0x224b61,_0x95fe69._0x209b6b,_0x95fe69._0x55f1ac,0x403)]);_0x305be0['push']({'type':'modify','content':_0x509ee2['content'],'oldLineNum':_0x509ee2[_0x167dfe(0x32a,0x372,0x301,_0x95fe69._0x502eb4)],'segments':_0x2b4086[_0x167dfe(-_0x95fe69._0x228136,_0x95fe69._0xbb165f,_0x95fe69._0x5ee197,-_0x95fe69._0xde1a4c)]}),_0x305be0['push']({'type':'modify','content':_0x310707['content'],'newLineNum':_0x310707[_0x46a905(0x408,_0x95fe69._0x3189ed,0x384,0x2b0)],'segments':_0x2b4086[_0x46a905(0x388,0x4cc,_0x95fe69._0x2b6107,0x5bc)]}),_0x208768++;}else _0x305be0[_0x46a905(0x52a,0x567,_0x95fe69._0x3f8bc1,_0x95fe69._0x4bc2ad)](_0x509ee2);}function _0x167dfe(_0x32aa4e,_0x4d373c,_0x6316ac,_0x4f40fd){return _0x120ca0(_0x4f40fd,_0x4d373c-_0x57ac8f._0x93de85,_0x6316ac-_0x57ac8f._0x2c7209,_0x4d373c- -_0x57ac8f._0x3387b8);}return _0x305be0;}function ri({line:_0x7a318,theme:_0x3fbada,lineNumWidth:_0xffa087=0x3}){const _0x3b904a={_0x17bdbd:0x5,_0x330278:0x8d,_0x5652ca:0x50,_0x206084:0x95,_0x5d9a30:0xad,_0x209374:0x171,_0x487c2c:0x171,_0x4f7bc6:0x1f4,_0x11a1c6:0x93,_0x52ca71:0x167,_0x17e6b1:0xf7,_0x3473fa:0x13e,_0x442725:0x18d,_0x5c9233:0x79,_0x3c315c:0xac,_0x2e50ae:0x49,_0x2e434d:0x1f,_0x2017f8:0x1bb,_0x1d758c:0x57,_0x53f65f:0x4a,_0x15b4a0:0x118,_0x42d564:0x13e,_0x417ea9:0x7,_0x7098dc:0x182,_0x2578e4:0x14c,_0x580028:0xab,_0x15312b:0x30,_0x43484e:0x3c,_0x2e5131:0x60,_0x5aceaa:0xe1,_0x3a9317:0xd3,_0x34dc25:0x1a6,_0x1eb42c:0x2a6,_0x43c997:0x1af,_0x35eaa0:0x217,_0x578416:0x102,_0x533b46:0x4e,_0x736c02:0x8d,_0x2c4847:0x5f,_0x2f085b:0xee,_0x276e84:0x1a4,_0x3c5962:0x4c,_0x49a2d3:0x149,_0x374b55:0x16d,_0x2d3315:0x63,_0x584518:0xe9,_0x21ffa8:0x181,_0x432abf:0x13a,_0x4dcebf:0x32,_0x2577e7:0xf7,_0x28b8ef:0x35,_0x583d4b:0x1e4,_0x8a7bbf:0x18,_0x160185:0x113,_0x46a9df:0x30b,_0x46f679:0x30,_0x28105f:0x6c,_0x4decc3:0x7e,_0x47785f:0xd8,_0x38e4d8:0x8d,_0x176993:0x76,_0x397492:0x65,_0x36a9f3:0x184,_0x572fa2:0x167,_0x2ebee3:0x22c,_0x3a982e:0x118,_0x14c148:0x7d,_0x16467a:0x152,_0x3c0d98:0x5c,_0x4e24dc:0xd1,_0x59fee4:0xcb,_0x1ea916:0x23,_0x3aa58b:0xe,_0x1dd7ce:0x5b,_0x1783ae:0x26b,_0x237f2e:0x169,_0x4200b0:0x1b4,_0xffa2c1:0x109,_0x26a981:0x2b,_0x362e3b:0x51,_0x37c8e1:0x177,_0x26a4f6:0x73,_0x3100a5:0x125,_0x24ed4f:0x104,_0x5d87c9:0xa8,_0x114ec9:0x74},_0xbd223c={_0x9740c:0x10,_0x2149e8:0x48d},_0x5b406f={_0x1fc734:0x50a},_0xa5d8cd={_0x283e28:0x136,_0x4d27e0:0xb5,_0x1a6a4e:0x27a,_0x221138:0x1c0,_0x4acc1:0x242,_0x5b94d4:0xe3,_0x15c3dc:0x40,_0x5417f7:0x1e8,_0x1933d9:0x174,_0x233089:0x20f,_0x5c9a54:0x2ee,_0x5a116f:0x35,_0x2f6d16:0x7e,_0x4ee905:0x44,_0x14b672:0x84,_0x48fb58:0xcd,_0x5860dd:0x66,_0x2dd5b6:0x166,_0x4eea78:0x7};let {cols:_0x1a084f}=_0x3ce95d(),_0x4fa2b2=_0x7a318['oldLineNum']||_0x7a318[_0x4eb34a(-0x73,_0x3b904a._0x17bdbd,-0x14d,-0x77)]||0x0,_0x39edcc=String(_0x4fa2b2)[_0xf078ff(0x100,0x4a,0x88,-0xf)](_0xffa087,'\x20')+'│\x20';if(_0x7a318[_0x4eb34a(-_0x3b904a._0x330278,0x0,_0x3b904a._0x5652ca,-0xbd)]===_0x4eb34a(0x86,_0x3b904a._0x206084,0x16c,0x136)&&_0x7a318[_0xf078ff(-0x23,0x8f,0x46,-_0x3b904a._0x5d9a30)]){let _0x47606d=_0x7a318[_0x4eb34a(_0x3b904a._0x209374,0x128,0xe0,0x1be)]?'-':'+',_0x3b9064=!!_0x7a318[_0x4eb34a(_0x3b904a._0x487c2c,_0x3b904a._0x4f7bc6,_0x3b904a._0x11a1c6,0x68)],_0x4423e3=_0x3b9064?_0x3fbada[_0xf078ff(-0x203,-0x288,-_0x3b904a._0x52ca71,-0xe7)]['prefix'][_0x4eb34a(-_0x3b904a._0x17e6b1,-_0x3b904a._0x3473fa,-_0x3b904a._0x442725,-_0x3b904a._0x5c9233)]:_0x3fbada['diff'][_0xf078ff(_0x3b904a._0x3c315c,0x1a,_0x3b904a._0x2e50ae,_0x3b904a._0x2e434d)][_0xf078ff(-_0x3b904a._0x2017f8,-0x1ef,-0xee,0x37)],_0xd778c=_0x3b9064?_0x3fbada[_0x4eb34a(-0xab,_0x3b904a._0x1d758c,-0x1b0,-_0x3b904a._0x53f65f)][_0xf078ff(-0x1b2,-_0x3b904a._0x2e434d,-_0x3b904a._0x15b4a0,-_0x3b904a._0x42d564)]['remove']:_0x3fbada[_0xf078ff(-0x49,-_0x3b904a._0x417ea9,-0x167,-0x57)]['background'][_0x4eb34a(-0x32,-0x132,-_0x3b904a._0x7098dc,-_0x3b904a._0x2578e4)];return _0x546860(_0x200a7f,{'children':[_0x546860(_0x200a7f,{'children':[_0x22051e(_0x3356b9,{'dimColor':!0x0,'color':_0x3fbada[_0x4eb34a(-_0x3b904a._0x580028,-0x85,-0x20a,_0x3b904a._0x1d758c)][_0x4eb34a(_0x3b904a._0x15312b,-_0x3b904a._0x43484e,_0x3b904a._0x2e5131,0x11e)],'children':_0x39edcc}),_0x22051e(_0x3356b9,{'color':_0x4423e3,'children':_0x47606d})]}),_0x22051e(_0x200a7f,{'flexDirection':_0xf078ff(-_0x3b904a._0x5aceaa,-_0x3b904a._0x3a9317,-_0x3b904a._0x34dc25,-_0x3b904a._0x1eb42c),'flexWrap':_0x4eb34a(0x159,0x1a7,_0x3b904a._0x43c997,_0x3b904a._0x35eaa0),'width':_0x1a084f-_0x39edcc['length']-0x5,'children':_0x7a318[_0x4eb34a(_0x3b904a._0x578416,-_0x3b904a._0x533b46,0x24,_0x3b904a._0x5d9a30)]['map']((_0x1a2594,_0x709728)=>{const _0x2f192c={_0x14fe52:0xb4,_0x5556dd:0x42d,_0x3ba12a:0x1};function _0x4f006c(_0x39fece,_0x3cb94d,_0x4d5496,_0x1ec12b){return _0xf078ff(_0x39fece,_0x3cb94d-0x164,_0x3cb94d-0xe3,_0x1ec12b-0x159);}function _0x56c84a(_0x1e9ba8,_0x4cc63c,_0x25612f,_0x42c934){return _0xf078ff(_0x42c934,_0x4cc63c-_0x2f192c._0x14fe52,_0x25612f-_0x2f192c._0x5556dd,_0x42c934-_0x2f192c._0x3ba12a);}let _0x27bd3c=_0x3b9064&&_0x1a2594[_0x4f006c(0x30,-0x66,-_0xa5d8cd._0x283e28,-_0xa5d8cd._0x4d27e0)]===_0x56c84a(0x376,0x258,_0xa5d8cd._0x1a6a4e,_0xa5d8cd._0x221138)||!_0x3b9064&&_0x1a2594[_0x56c84a(0x249,0x3fa,0x2e4,_0xa5d8cd._0x4acc1)]===_0x56c84a(0x457,0x3ef,0x33f,0x34b)?_0x3b9064?_0x3fbada['diff']['background']['removeHighlight']:_0x3fbada['diff'][_0x4f006c(-0x14f,-0x35,_0xa5d8cd._0x5b94d4,-_0xa5d8cd._0x15c3dc)][_0x4f006c(_0xa5d8cd._0x5417f7,_0xa5d8cd._0x1933d9,0x220,_0xa5d8cd._0x233089)]:_0xd778c,_0x54469c=_0x1a2594[_0x56c84a(_0xa5d8cd._0x5c9a54,0x386,0x39c,0x2b6)][_0x4f006c(_0xa5d8cd._0x5a116f,-_0xa5d8cd._0x2f6d16,_0xa5d8cd._0x4ee905,-0x6b)](/\t/g,'\x20\x20');return _0x22051e(_0x3356b9,{'backgroundColor':_0x27bd3c,'color':_0x3fbada[_0x4f006c(-0x123,-_0xa5d8cd._0x14b672,0x59,_0xa5d8cd._0x48fb58)][_0x56c84a(0x27d,0x4cb,0x39c,0x34e)],'children':_0x54469c},_0x4fa2b2+'-'+_0x709728+'-'+_0x1a2594[_0x4f006c(-0x157,-_0xa5d8cd._0x5860dd,-_0xa5d8cd._0x2dd5b6,-_0xa5d8cd._0x4eea78)]);})})]});}let _0x46b8fe=_0x7a318[_0x4eb34a(-_0x3b904a._0x736c02,-0x171,-0x1e7,-_0x3b904a._0x2c4847)]===_0xf078ff(-0xd6,-0x1a0,-_0x3b904a._0x2f085b,-0x213)?'+':_0x7a318[_0x4eb34a(-0x8d,-_0x3b904a._0x276e84,0x31,_0x3b904a._0x3c5962)]===_0x4eb34a(-_0x3b904a._0x17e6b1,-0x223,-0x1aa,0x19)?'-':'\x20',_0x560297=_0x7a318[_0xf078ff(-0x206,-0x255,-_0x3b904a._0x49a2d3,0x16)]===_0x4eb34a(-0x32,-_0x3b904a._0x374b55,_0x3b904a._0x2d3315,-_0x3b904a._0x584518)?_0x3fbada[_0x4eb34a(-0xab,-0x48,-0x97,-_0x3b904a._0x21ffa8)][_0xf078ff(-0x87,_0x3b904a._0x432abf,_0x3b904a._0x2e50ae,-_0x3b904a._0x5c9233)][_0x4eb34a(-_0x3b904a._0x4dcebf,0xf3,-0xe1,-0x6)]:_0x7a318['type']===_0x4eb34a(-_0x3b904a._0x2577e7,-0x13f,-0x1e8,_0x3b904a._0x28b8ef)?_0x3fbada[_0xf078ff(-0x1fc,-0x1b7,-0x167,-_0x3b904a._0x583d4b)][_0xf078ff(-_0x3b904a._0x8a7bbf,-_0x3b904a._0x160185,0x49,0x19d)][_0xf078ff(-0xff,-_0x3b904a._0x46a9df,-0x1b3,-0x231)]:_0x3fbada['diff'][_0xf078ff(-_0x3b904a._0x46f679,-_0x3b904a._0x28105f,_0x3b904a._0x2e50ae,-_0x3b904a._0x4decc3)]['context'],_0x3ef6a1=_0x7a318['type']==='add'?_0x3fbada[_0xf078ff(-0x277,-_0x3b904a._0x47785f,-_0x3b904a._0x52ca71,-0x23a)]['background']['add']:_0x7a318[_0x4eb34a(-_0x3b904a._0x38e4d8,-0xca,_0x3b904a._0x176993,-0xb)]===_0x4eb34a(-_0x3b904a._0x17e6b1,-_0x3b904a._0x397492,-0x7a,-0x1f3)?_0x3fbada[_0xf078ff(-_0x3b904a._0x36a9f3,-0x2c0,-_0x3b904a._0x572fa2,-_0x3b904a._0x2ebee3)][_0xf078ff(-0x188,-0xca,-_0x3b904a._0x3a982e,-0x196)][_0xf078ff(-0x171,-_0x3b904a._0x14c148,-0x1b3,-_0x3b904a._0x16467a)]:void 0x0,_0x413b85=_0x7a318[_0x4eb34a(-0x8d,_0x3b904a._0x3c0d98,0x75,0x96)]===_0x4eb34a(-_0x3b904a._0x4dcebf,-_0x3b904a._0x4e24dc,-_0x3b904a._0x59fee4,-_0x3b904a._0x1ea916)||_0x7a318[_0x4eb34a(-0x8d,_0x3b904a._0x3aa58b,-0x1f,-_0x3b904a._0x1dd7ce)]===_0xf078ff(-_0x3b904a._0x1783ae,-_0x3b904a._0x237f2e,-0x1b3,-_0x3b904a._0x4200b0)?_0x3fbada[_0xf078ff(-_0x3b904a._0xffa2c1,-0x246,-0x167,-0x174)][_0x4eb34a(_0x3b904a._0x26a981,0x161,-_0x3b904a._0x362e3b,_0x3b904a._0x37c8e1)]:_0x3fbada['diff'][_0xf078ff(0x128,-_0x3b904a._0x26a4f6,0x2b,_0x3b904a._0x3100a5)],_0x2bc4e7=_0x7a318['content'][_0xf078ff(-0x51,-0x2d,-0x161,-_0x3b904a._0x24ed4f)](/\t/g,'\x20\x20');function _0xf078ff(_0x5b0730,_0x52e98c,_0x132ac0,_0x5c24b6){return _0x286169(_0x5b0730-0xea,_0x132ac0- -_0x5b406f._0x1fc734,_0x5b0730,_0x5c24b6-0x2d);}function _0x4eb34a(_0x154dd8,_0x46976c,_0x41dcb1,_0x3d0ef9){return _0x120ca0(_0x41dcb1,_0x46976c-0x192,_0x41dcb1-_0xbd223c._0x9740c,_0x154dd8- -_0xbd223c._0x2149e8);}return _0x546860(_0x200a7f,{'children':[_0x546860(_0x200a7f,{'children':[_0x22051e(_0x3356b9,{'dimColor':!0x0,'color':_0x3fbada[_0xf078ff(-0x2c3,-0x1f2,-0x167,-0x279)][_0x4eb34a(_0x3b904a._0x15312b,_0x3b904a._0x5d87c9,0x14a,0x2d)],'children':_0x39edcc}),_0x22051e(_0x3356b9,{'color':_0x560297,'children':_0x46b8fe})]}),_0x22051e(_0x200a7f,{'flexWrap':'wrap','width':_0x1a084f-_0x39edcc[_0xf078ff(0x181,0xca,0x5f,_0x3b904a._0x114ec9)]-0x5,'children':_0x22051e(_0x3356b9,{'backgroundColor':_0x3ef6a1,'color':_0x413b85,'children':_0x2bc4e7})})]});}var si=_0x46b67f[_0x120ca0(0x561,0x721,0x594,0x5de)](ri);function jt({blocks:_0x28373,filePath:_0x3d4a6b,showPath:_0x52a54c=!0x1,lineNumbers:_0x41afea}){const _0x300c2a={_0x116050:0x79,_0x145b42:0x88,_0xffdab7:0x60,_0x3dc7be:0x27d,_0x3e37d7:0x269,_0x34b101:0x17e,_0x281c6b:0xa5,_0x3ca2b2:0xcb,_0xf27495:0x54,_0x2e7aee:0x7c,_0x3ce21a:0x2fb,_0x24dda8:0x34c,_0x36a2a1:0xf3,_0x1fd6fe:0x9a,_0x38940c:0x1b9,_0x3f68d5:0x178,_0x1048af:0x20f},_0x24d5e5={_0x506b0c:0x6f4,_0x58aed6:0x6da,_0x5edf79:0x7d0,_0x5936c7:0x568,_0x39e61b:0x4e3,_0x2d4d41:0x766,_0x216265:0x803,_0x580726:0x7a4,_0xe6c827:0x565,_0x4c1fa8:0x6df},_0x274974={_0x2d49fa:0x4c2,_0x490641:0x12a,_0x409aa9:0xf3},_0x18db3c={_0x5d4eb1:0x15f},_0x4cad2a={_0x131916:0x2c5,_0x1c9a4c:0x2f0,_0x5923ed:0x36d,_0x55a30c:0x2cd,_0x548608:0x3f6,_0x215fbd:0x399,_0x581148:0x2a3,_0xf05233:0x33b};let {theme:_0x3698b5}=_0x259d06(),_0x52a69f=_0x3c72b1(()=>_0x28373[_0x5ad8ec(-0x13,-0x54,-0x127,0x62)]((_0x51e3f8,_0x30ffb3)=>{const _0x3177e0={_0x5d1579:0x134,_0x3ec63c:0xfd},_0x1f4a55={_0x3c6dd4:0x1ab,_0x335555:0x100};function _0x3ac966(_0x2fdff8,_0x33fd30,_0x5eb59c,_0x1bbbb5){return _0x5ad8ec(_0x2fdff8-_0x1f4a55._0x3c6dd4,_0x5eb59c-0x220,_0x5eb59c-_0x1f4a55._0x335555,_0x2fdff8);}let _0x403bbd=Js(_0x51e3f8[_0x3ac966(0x2c0,0x388,_0x4cad2a._0x131916,0x3d4)],_0x51e3f8[_0xb37e8e(0x411,0x43d,_0x4cad2a._0x1c9a4c,_0x4cad2a._0x5923ed)],_0x41afea),_0x2ad20d=_0x403bbd[_0xb37e8e(0x4b0,_0x4cad2a._0x55a30c,0x358,0x312)](_0x53b638=>_0x53b638[_0x3ac966(0x1dc,0xb2,0x1d3,0x2fd)]!==_0xb37e8e(0x4c6,0x412,0x545,0x5aa)),_0x5b48fc=Math['max'](..._0x403bbd['map'](_0x45902c=>Math['max'](_0x45902c['oldLineNum']||0x0,_0x45902c[_0xb37e8e(0x433,0x325,0x322,0x3a5)]||0x0))),_0x545664=String(_0x5b48fc)[_0x3ac966(_0x4cad2a._0x548608,_0x4cad2a._0x215fbd,0x37b,_0x4cad2a._0x581148)];function _0xb37e8e(_0x2d1d93,_0x4361d0,_0x35046d,_0x4905f8){return _0x5ad8ec(_0x2d1d93-_0x3177e0._0x5d1579,_0x35046d-0x355,_0x35046d-_0x3177e0._0x3ec63c,_0x2d1d93);}return{'diff':_0x403bbd,'hasChanges':_0x2ad20d,'lineNumWidth':_0x545664,'blockIndex':_0x30ffb3,'totalBlocks':_0x28373[_0x3ac966(0x429,_0x4cad2a._0xf05233,0x37b,0x3f3)]};}),[_0x28373,_0x41afea]),_0x523912=_0x3c72b1(()=>_0x52a69f[_0x1cc178(0x16b,0x24e,0x1e8,0x3a0)]===0x0?0x3:Math['max'](..._0x52a69f[_0x1cc178(0x14,0x9f,0x1db,0x15f)](_0x4458f7=>_0x4458f7['lineNumWidth'])),[_0x52a69f]);function _0x1cc178(_0x5b0be5,_0x26145c,_0x53fbc1,_0x56cab8){return _0x120ca0(_0x5b0be5,_0x26145c-0x47,_0x53fbc1-0x76,_0x26145c- -0x35a);}function _0x5ad8ec(_0x1bfe4c,_0x5719c4,_0x539cbc,_0x846841){return _0x120ca0(_0x846841,_0x5719c4-_0x18db3c._0x5d4eb1,_0x539cbc-0x1d6,_0x5719c4- -0x44d);}return _0x546860(_0x200a7f,{'flexDirection':'column','children':[_0x52a54c&&_0x3d4a6b&&_0x546860(_0x200a7f,{'marginLeft':0x2,'children':[_0x22051e(_0x3356b9,{'color':_0x3698b5[_0x1cc178(_0x300c2a._0x116050,_0x300c2a._0x145b42,_0x300c2a._0xffdab7,0x1e9)][_0x1cc178(0x23e,0x28e,_0x300c2a._0x3dc7be,0x181)],'children':_0x5ad8ec(_0x300c2a._0x3e37d7,_0x300c2a._0x34b101,0x242,_0x300c2a._0x281c6b)}),_0x22051e(_0x3356b9,{'children':_0x3d4a6b})]}),_0x52a69f[_0x5ad8ec(-_0x300c2a._0x3ca2b2,-_0x300c2a._0xf27495,-_0x300c2a._0x2e7aee,-0x16b)](_0x44d52f=>_0x546860(_0x200a7f,{'flexDirection':_0x1cc178(0x204,0x187,0x248,0x2dc),'children':[_0x44d52f[_0x1cc178(0x152,0x268,0x37a,0x341)]>0x1&&_0x546860(_0x3356b9,{'color':_0x3698b5['diff']['blockSeparator'],'dimColor':!0x0,'children':['───\x20Block\x20',_0x44d52f[_0x1cc178(0x323,0x232,0x1da,0x23a)]+0x1,'/',_0x44d52f[_0x5ad8ec(0x248,0x175,0x2c9,0x150)],'\x20───']}),_0x44d52f[_0x1cc178(0x174,0x98,0xfd,0x160)]?_0x22051e(_0x200a7f,{'flexDirection':_0x1cc178(0x185,0x187,0x255,0x1e2),'children':_0x44d52f[_0x5ad8ec(-0x13f,-0x6b,0x5d,-0xa8)]['map']((_0x4231fa,_0x17ba8e)=>{const _0x2669f7={_0x747d3e:0x29c,_0x585354:0x4f};function _0x5efb90(_0x35befe,_0x210290,_0x367243,_0x2286c8){return _0x1cc178(_0x35befe,_0x367243-_0x2669f7._0x747d3e,_0x367243-_0x2669f7._0x585354,_0x2286c8-0xd8);}let _0x2200e1='line-'+_0x44d52f[_0x5347bf(_0x24d5e5._0x506b0c,0x634,_0x24d5e5._0x58aed6,_0x24d5e5._0x5edf79)]+'-'+_0x17ba8e+'-'+_0x4231fa[_0x5347bf(_0x24d5e5._0x5936c7,0x4e0,_0x24d5e5._0x39e61b,0x69c)]+'-'+(_0x4231fa[_0x5347bf(_0x24d5e5._0x2d4d41,0x6f9,_0x24d5e5._0x216265,_0x24d5e5._0x580726)]||'')+'-'+(_0x4231fa[_0x5347bf(0x582,0x43c,_0x24d5e5._0xe6c827,_0x24d5e5._0x4c1fa8)]||'');function _0x5347bf(_0x5e315f,_0x4bb7dc,_0x1ec5fc,_0xb21146){return _0x1cc178(_0x4bb7dc,_0x5e315f-_0x274974._0x2d49fa,_0x1ec5fc-_0x274974._0x490641,_0xb21146-_0x274974._0x409aa9);}return _0x22051e(si,{'line':_0x4231fa,'theme':_0x3698b5,'lineNumWidth':_0x523912},_0x2200e1);})}):_0x546860(_0x3356b9,{'color':_0x3698b5[_0x1cc178(0xe2,0x88,-0x97,-0x6e)]['noChanges'],'dimColor':!0x0,'children':['\x20',_0x5ad8ec(-0x45,0x110,0x248,-0x29)]})]},_0x1cc178(0x101,0x1fd,0x131,0x34d)+_0x44d52f['blockIndex'])),_0x28373[_0x1cc178(0x378,0x24e,_0x300c2a._0x3ce21a,_0x300c2a._0x24dda8)]===0x0&&_0x22051e(_0x200a7f,{'marginLeft':0x2,'children':_0x22051e(_0x3356b9,{'color':_0x3698b5[_0x1cc178(0x56,0x88,0xfb,_0x300c2a._0x36a2a1)][_0x5ad8ec(_0x300c2a._0x1fd6fe,_0x300c2a._0x38940c,_0x300c2a._0x3f68d5,_0x300c2a._0x1048af)],'children':'No\x20changes\x20to\x20display'})})]});}import{jsx as _0x595fcf}from'react/jsx-runtime';function _0x1cb0(){const _0x52106f=['kg5VignOyw5NzxmP','Bwv0ywrHDgeUDhj1BMnHDgvK','y2f0y2G','z2zT','igfWChjVDMuGC2vZC2LVBG','ic0Gt0f1DgG','rxHLy3v0Aw9UigzHAwXLza','vxbKyxrLzcaO','z2HWxY4UlG','C2vUza','CgvUzgLUzW','D2HLzwWTDxa','yMfZzw5HBwu','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9KzwvWAw5MCMeUy29Tl2rHC2GVyxbPx2TLExm','BgLUzvn0yxj0','zgvMyxvSDa','q3jLyxrLza','y2HLy2TIB3G','DxbbCNjVDW','C3vIC3rYAw5N','u2vHCMnOzwq','ig1VzgvSCYbHDMfPBgfIBgu','y29TBwfUza','y29UDgv4DfrLEhq','CMvUzgvYuMvZDwX0','q29TBwfUzcbMywLSzwq6ia','y29UzMLNDxjLuMvUzgvYzxi','CMLNAhrbCNjVDW','zMLUza','tgv0j3mGz2v0ihLVDsbZDgfYDgvKlIbdAg9VC2uGEw91CIbbssbWCM92AwrLCJO','Aw5FChjVz3jLC3m','zgvIDwC','Aw5KzxHpzG','vxnPBMCGC2TPBgW','yxbWCM92zq','BgfZDe1LC3nHz2u','vhLWzsb5B3vYig1LC3nHz2uUlI4','CgfYC2vY','y29UDgvUDa','uefsqu1Ftufsr0Lo','ywn0Aw9Uu2vSzwn0zwq','yxv0Ac1KzxzPy2uTzMXVDW','B3jKzxjLza','ywDLBNq6zxzLBNq','ywDLBNq','zgvS','D2vSy29Tzq','yMXVy2TjBMrLEa','y29Kzq','ihn1yM1PDa','C2vNBwvUDhm','zw50CMLLCW','B3bLCMf0Aw9U','ChjLzML4','z2XVyL90B29S','z2XVyMfS','CMvSzwfZzq','zhjHzW','AgvHzgvY','v2fPDgLUzYbMB3iGDxnLCIbYzxnWB25Zzs4UlG','ihrVB2XZ','q29TCgXLDguGyxv0AgvUDgLJyxrPB24GAw4GEw91CIbICM93C2vY','rMv0y2HPBMCGyxzHAwXHyMXLig1VzgvSCYbMCM9Tia','BgLZDa','BMf2AwDHDgvozxH0oIbYzwnHBgXPBMC','AgLUDa','4Psa4Psa4PsS','AgfUzgXLvxnLCLf1zxn0Aw9UuMvZCg9UC2u','AxrLBxm','rM91BMqG','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9VCgvUCM91DgvYlMfPl2TLExm','z2v0t3jJAgvZDhjHDg9Y','twvZC2fNzq','BMf2AwDHDgvozxH0oIbYzxnLDcb0BYbLBxb0Eq','AgLKzvvUDgLSq29TCgXLDgu','BgvUz3rO','z3jHEq','uxvLCNK','q29UzMLNDxjHDgLVBIbZyxzLzceGu3rHCNrPBMCGtNv2Aw4UlI4','ywDLBNrjza','sw52ywXPzcbOzxGGy29SB3i6ia','Bwv0ywrHDge','uMvHzcbMywLSzwq','AgvPz2H0','CxvLC3rPB25Z','zw1PDa','zMfPBgvK','BwvZC2fNzunVDw50','BwvZC2fNzq','ignHBMnLBa','ChjLC3m','isbvBMTUB3DUignVBw1HBMq6ia','vxbKyxrLigzHAwXLza','ic0G','rMfPBgvKihrVihnHDMuGy29UzMLNoG','Bg9VC2u','Dg9KB193CML0zq','yxjNCW','CMvUzgvYu3rHDhvZ','ihrVA2vUCW','xgqRxc4','Dg90ywXcBg9JA3m','z2L0AhvI','CxvLC3rPB24','tgLZDcbHChbZ','C3bSAxq','C2L6zq','C3rHDhvZ','yxjNDw1LBNrZ','zxHLy3v0zq','Cgf0AdOG','vhLWzsb0BYbZzwfYy2GGBw9KzwXZlI4U','Dg9KB3m','zxjYB3i','C2vSzwn0zwqGChjVDMLKzxi','rxHLy3v0zwqGkgv4AxqG','CgfKu3rHCNq','yM9Sza','rMfPBgvKihrVihbHC3rLigzYB20Gy2XPCgjVyxjKoIa','Dg9KBY0','Dw5JAgfUz2vK','zMLSzvbHDgG','CgfYC2u','D2LKDgG','BhnW','ywrKsgLNAgXPz2H0','CgfYC2vjBMXPBMu','y3vYCMvUDa','Axnoyu4','BwvTBW','DgfIBgvJzwXS','zw1VAMLuCMfUC2zVCM0','z2v0u2vSzwn0zwrjBMrLEa','y2vUDgvY','Aw5WDxq','lcbMywXSAw5NigjHy2SGDg8GD2HPDgu','z2v0qM91BMrZ','D3jHCa','4PQGie5VihbYB3zPzgvYCYbHCMuGy3vYCMvUDgX5igf2ywLSywjSzs4','Cgf0AeXHyMvS','z2v0q3vYCMvUDfbYB2zPBgu','Bwv0ywrHDgeUDg9Rzw5ZvxnLza','4PEpifT0AgLUA2LUz10','DxnLuMvM','v2fPDca','y2fJAgu','BgLUzuLUzgv4','Dg9vChbLCKnHC2u','uMvHza','AhrTBa','igfWChjVDMuG4OcIia','sw52ywXPzcbHCMD1BwvUDhm','Bgv2zwW','q29TCgXLDgvK','DwK6zxHPDdPZDgfYDa','mtmZoty4mhjhz3Ltrq','kfXtkd86ihWGicK/ksGOpZO','lI4U','Bwv0CMLJCW','qw5UB3rHDgvKoIa','CMvZzxq','B2XKtgLUzu51Bq','zxHWAxjLCW','Aw1Hz2uVANbLzW','y29TCgXLDgvK','C3vJy2vZCW','vhLWzsb0zxH0','rMfPBgvKihrVigv4y2HHBMDLignVzguGzM9YihrVA2vU','rxnJ','BM9cBg9JA3m','mJeWnJvIDuLYCMK','zMLSBa','D2fPDa','Dgv4DeXLBMD0Aa','rMv0y2HLzcaO','C2nYB2XS','ywn0Aw9UqxbWCM92zq','Dg9WAwm','Dg9VBfjLC3vSDa','sw5WDxqGy2XLyxjLzc4GuhjLC3mGrvndigfNywLUihrVihn0B3aGDgHLihbYB2nLC3m','AgLKzq','rw50zxiGEw91CIbAywKGqvbjigTLEq','BgLZDf9HChbZ','qwjVCNrLza','iokaKYa','vw5ZDxbWB3j0zwqGAw1Hz2uGDhLWzsbMB3iG','C3vIC3rY','AxrLBq','yxbWzw5KvMfSDwu','yMXVy2TXDw90zq','DwK6y29TBwfUzdPHy3rPDMf0zwq','xIP8FcPE','q09ovevovf9nqvjhsu4','C2STyw50ls4UlG','zNvUy3rPB24','DgLTzw91Da','yMX1zq','rMfPBgvKihrVigLUAxrPywXPEMuGywDLBNq6ia','C2v0u2vSzwn0zwrjBMrLEa','rxjYB3i','C2fUAxrPEMu','C2v0qwn0AxzL','DxjS','BMf2AwDHDgvqCMv2oIbYzwnHBgXPBMC','zMLUzeLUzgv4','Aw5Zzxj0','Aw1Hz2uVAgvPzG','CMvHzezPBgu','u2vHCMnOzwqGka','BgvMDefYCM93','zMLSzv9LzgL0','Bg9HzgLUzY1TB2rLBhm','C2vZC2LVBNm','x19JBgLWyM9HCMrgAwXLCW','y2XPCgjVyxjKlwzPBguT','yM90Dg9T','B3b0Aw9UCW','mJaWnZKXmLn5ruXPyq','Bwv0ywrHDgeUC3rHDhvZq29Kzq','zNjVBq','ChjVBxb0','BwvZC2fNzvr5CgvZ','zgf0ytPPBwfNzs9WBMC7yMfZzty0la','yxr0ywnOBwvUDa','y29UDgv4Da','rMv0y2GGzMfPBgvK','y2HHCKnVzgvbDa','zxzLCNK','yxnZAxn0yw50','A2LUza','z3jLCf90B29S','C2vZC2LVBKLK','Dg9Rzw4','Bwv0ywrHDgeUy29Kzq','ywnJzw50','rwrPDa','ic0Grgv2AwnLiezSB3C','tgLZDgLUzYbMywLSzwq','y29SB3i','ignYzwrLBNrPywXZoG','CgfKrw5K','igLTywDL','yxv0Aa','DxnLqwX0tw9Kzsb1C2vKig91DhnPzguGqwX0tw9KzvbYB3zPzgvYlcb1C2LUzYbKzwzHDwX0CW','zMLYC3rizwfKAw5N','Aw1Hz2uVyxzPzG','ugfZDguGy29KzsbHBMqGChjLC3mGrw50zxi','vhLWzsb0AguGzxHHy3qGBw9KzwWGBMfTzsbMB3iG','qvGGu25HChnOB3q','BgfZDeLUzgv4','Aw1Hz2uT','vw5RBM93BIbLCNjVCG','uMvNAw9U','CMvTB3zL','AM9PBG','D2fYBG','BMf2AwDHDgvozxH0','y29TCgXLDgu','zMXVB3i','q29UzMLNDxjHDgLVBIbZyxzLzcbZDwnJzxnZzNvSBhKH','q2HLy2TPBMCGy2XPCgjVyxjKlI4U','B2XK','ihjLC3vSDhmP','Cgf0DgvYBG','ig1VCMu','rg9TywLUCW','CM93','DwK6A2v5yM9HCMq6y3rYBgm','t1rirvi','i0zgqZm3mq','ihn1yM1PDcdIGkiG','yMfZzty0','tgLZDgvKia','zhvYyxrPB24','ywjZ','BMf2AwDHDgvozxH0oIbLyxjSEsbYzxr1CM4','BM93CMfW','C3rHDhvZvgv4Da','tM8GCMvJzw50ihnLC3nPB25Z','C3bHy2u','igf0ia','CM91BMq','CMvZB2X2zq','tM90igzVDw5K','AxnbCNjHEq','BNvT','otaL','Bwv0ywrHDgeUC2L6zq','yxjTzwqTy2XLyxi','ign5y2XLigzVy3vZiokaOIa','C3rYzwfTAw5Nvg90ywXmAw5LC18','z2v0u3rHDhvZ','Aw5PDa','g1Tn','rgvSzwDHDgu','DhjPBuvUza','igXPBMvZksaUlI4','icaGia','DhjPBq','ksSK','zMXLEc1ZDgfYDa','AxndDxn0B21dB21Tyw5K','tM8Gyxv0AgvUDgLJyxrPB24','B2jQzwn0','ihbHC3rLzcaO','CMvZDwX0','igLUia','DgfIBgu','AhjLzG','CM9Szq','Aw5MBW','BhnFDg9VBa','C2nYzwvUC2HVDa','uhjLC3mG4OAtigfNywLUihrVig5HDMLNyxrLigHPC3rVCNK','uhjVDMLKzxi','mJaWodKZnfPqsMrhvq','z2v0','CMvK','CMv0DxjU','ihDPDgGGBgLTAxq6ia','AwrSzq','uhjLC3mGrvndigfNywLUihrVignSzwfYihrOzsbPBNb1Da','rgLYzwn0B3j5','pdXUDxzPBI1HDhrHy2HTzw50lq','u3bHy2u','y3j5ChrV','vxnLihLVDxiGq2XHDwrLifbYBY9nyxGGC3vIC2nYAxb0Aw9U','yxbWBhK','kd86','zgLMzG','AgfZ','BwfNzw50yq','DwK6BgLUzq','D2fPDgLUzW','Dg90ywXdB3n0','CMvWBgfJzq','i0zgnuy2ra','t1busu9o','q2HVB3nLigeGBw9KzwWGzM9YihLVDxiGy29UDMvYC2f0Aw9UCZO','y2XLyxjby3rPDMu','jdiKmW','CMvJzw5JEurHExm','igj5DgvZkq','u2vHCMnO','u25HChnOB3q6ia','AgfZq2HHBMDLCW','wwvZ','Bg9NBW','yxnRx3vZzxjFDg9VBa','Dg9VBa','B3v0Chv0','z2v0qwn0AxzLqwDLBNrjza','BwfW','Dg90ywXeDxjHDgLVBK1Z','u2vHCMnOigzHAwXLza','BMv3rw5KtgLUzq','BgLTAxq','Bwv0ywrHDgeUzxHLy3v0Aw9UvgLTzu1Z','Bwf4','DhLWzq','BNvTyMvY','uMvHzhK','z2v0u2vSzwn0zwrjDgvT','Bwv0ywrHDgeUyNL0zxm','u3vIBwL0','Aw5KzxG','CgfYyw1Z','Bw9KzwWTy3vZDg9T','Bwf4qwDL','zMLSzv9WyxrO','w0LTywDLoLbHC3rLzcaJ','rxHLy3v0zwq','zMLSDgvY','C3vIDgL0Bgu','rwrPDgvK','BgLZDgL0zw0','ywjVCNrLza','BMv4Da','BgfIzwW','B2XKu3rHCNrmAw5L','DxnL','y2XLyw51Ca','z3jLzw4','DhjHBNnMB3jT','y2XLyxi','BMv3tgLUzu51Bq','BMfTzq','C2vSzwn0zwrjDgvT','yw50AhjVCgLJ','i2yYodCXnq','DxnLvxnLCLf1zxn0Aw9Uig11C3qGyMuGDxnLzcb3AxrOAw4GvxnLCLf1zxn0Aw9UuhjVDMLKzxi','yxbW','y29Sv2LKDgHZ','BgLUAW','Aw5JBhvKzq','rw50zxiGEw91CIbezwvWsw5MCMeGqvbjigTLEq','tgLZDgvK','BwfPBG','ndm2vfnvBLLT','iokaLca','xIG/oG','CMvKDwnL','BgfUzW','Aw1Hz2u','Dhj1BMnHDgu','oxvsrefTCa','C2v0','qwDLBNq','yMfJA2DYB3vUza','CMvMBg93vgv4Da','DgfIBgvtzxr0Aw5NCW','AgLKzgvU','u1vctuLu','DgL0Bgu','z2v0qwn0AxzL','rMfPBgvKihrVigzLDgnOig1VzgvSCW','rMv0y2HLza','C3rPy2T5','twfUDwfSBhKGzw50zxiGEw91CIbbueKGA2v5ig9YihrVA2vU','zs5NlIWGz3b0ltrVig9YigfUDgHYB3bPyY9JBgf1zguTmY1VChvZ','rgvUAwvK','Dw5KzxjSAw5L','vhLWzsbJDxn0B20Gyw5ZD2vYlI4U','Cgf0Aa','r2vUzxjHDguGDg9Rzw46igH0DhbZoI8Vz2L0AhvIlMnVBs9Zzxr0Aw5NCY90B2TLBNm','sw5PDgLHBgL6Aw5N','igrLBNKG4OcIia','yxnZAwDUx3rHC2S','CMfUzg9Tvvvjra','y2HLy2TLza','Bwv0ywrHDgeUBwf0y2HdB3vUDa','CMvUzgvYugfYyw1Z','Bg9NBY0','zwrPDgvK','kIndt0XptNWQ','AgLNAgXPz2H0t3b0Aw9UCW','zxHLyW','Dg9VBf9Yzxn1Bhq','BwfYA2vKsw5ZDgfUy2u','C29Tzq','zgvWDgG','CM93CW','BgLUzuvUza','DgLTzxn0yw1W','CMvM','Aw1Hz2uVC3zNk3HTBa','uhjLC3mGCMvMoG','ugf0Aa','ywn0Aw9UuMv2Awv3','qw5UB3rHDgvKifnJCMvLBNnOB3q','ywrK','zxH0BMfTzq','DgfI','z2vUzxjHDgvlzxK','4Psu4PsaierLBMLLza','Dg9ju09tDhjPBMC','Aw1Hz2uVCg5N','BM9YBwfS','4Psu4Psaia','nJmZnJm0nhbACMvpza','yxv0Ac1PBNb1Da','og1hCwfcvW','BgLUzq','ywjZB2X1Dgu','Bwv0ywrHDgeUBgLUzxm','yxv0Ac1Vyxv0Aa','tM8GywnJzxnZihrVA2vUihjLy2vPDMvK','g1S/mJaWngW','rw50zxi','B3bLBNjVDxrLCG','Dg9VBenHBgXZ','Dg90ywW','D2fYBMLUzW','ig5HDMLNyxrLiokaOIa','Aw5SAw5L','wYbD','DxnLCG','ihf1zxvLzcWGD2LSBcbIzsbZzw50ihDOzw4Gy3vYCMvUDcbYzxf1zxn0ignVBxbSzxrLCW','CMvSyxrPDMu','y3DK','uhjLC3mG4OArigfNywLUihrVig5HDMLNyxrLigHPC3rVCNK','BxvSDgLtzwXLy3q','Bwv0ywrHDgeUyNL0zxnxCML0DgvU','zgvUEq','Dw5LC2nHCgvuCMfUC2zVCM0','uNvUBMLUzYaO','vg9VBevKAxrjBNb1Da','t3rOzxi','yNv0Dg9U','BgLUzxm','q3jLyxrL','C2vJB25Kyxj5','y2HHCMfJDgvY','igXPBMvZ','B2zM','BgLUzu51BwjLCNm','rgv2AwnLiezSB3CGtg9NAw4GkfjLy29TBwvUzgvKkq','Bwv0ywrHDgeUC3rHDhm','CMvZDwX0swrZ','vxbKyxrLza','ywnJzxnZ','zgvZy3jPChrPB24','yxbWCM92zv9ZzxnZAw9U','q29TBwfUza','uMvZDwX0CYbdB3vUDa','rw50CNKGtgLTAxq','Dhj1BMnHDgvKoG','rvndihrVigDVigjHy2S','C2nYB2XSvg9uB3a','vxbKyxrLihrVzg8','CgfYywDYyxbO','igvUDhjPzxm','u2vHCMnOignVBxbSzxrL','tufss0rpv05Ftufsr0Lo','z2v0u2vZC2LVBG','w35D','mtCZndaYmJbtrgvIAKe','4PEpifTHC3nPC3rHBNrD','zMLSzv9UzxC','q2XPCgjVyxjKigrHDgeGzgLKig5VDcbJB250ywLUigeGDMfSAwqGyMfZzty0igLTywDLlG','y29TCg9Uzw50','D2HLzwWTzg93BG','i2zMzMzMzG','B2XKx3rLEhq','rw50zxiGq3vZDg9Tie1VzgvS','Bxv0zwq','zg90CW','y3vZDg9TuMvUzgvYzxi','C3rYAw5NAwz5','r2v0ihLVDxiGqvbjigTLEtOGAhr0Chm6lY9JB25ZB2XLlMfUDgHYB3bPyY5JB20VC2v0DgLUz3mVA2v5CW','tgfUz3vHz2u','CMvUzgvYsgvHzgvY','q2XLyw5PBMCGDxaGCMvZB3vYy2vZlI4U','C2XPy2u','CgfYyw1LDgvYCW','ignHBgXZiokaOIa','C3rYB25N','iokaOIa','4OAr4OAtl+kgKokgKI9uywi','4PscicdIL48GiokxJYaG4PEpia','z2v0uMvUzgvYzxi','tw9KzwW6ia','q3jLyxrLig5LDYbbueKGA2v5ihzPysbICM93C2vY','Dgv4Da','C3r5Bgu','zg9TywLUCW','C3bHy2uTyMv0D2vLBG','C2TPBgW','BgLUzu51BwjLCG','y2XPy2S','z2v0sw5ZDgfUy2u','Aw5WDxrszwy','tgLZDa','FdXICIaVpG','Aw5JBhvKzxm','Aw5ZDgfUy2u','ksSPka','lI4UicH0CNvUy2f0zwqPcGO','zM9YrwfJAa','u2v0DxaGq29TCgXLDgu','lxrVB2WT','CMvWzwf0','BwLU','zxnJyxbL','DgfIBgvYB3C','zgLZCgXHEu5HBwu','4PscicbovvzjtG','Dg9tDhjPBMC','rgv2AwnLiezSB3C','y3vZDg9T','AxrHBgLJ','uMvJzw5JEsaOzgf5CYK','yxjTzwqTC3rVCa','Dg9VBefWChjVDMfS','BMv3x3rLEhq','zgvUAwvK','DgfZAW','vgLTzw91Da','rMfPBgvKihrVignYzwf0zsbbueKGA2v5','DgLTzw91De1Z','DxnLCL9XDwvZDgLVBL9Yzxf1AxjLza','z2v0vMfSDwu','zgvSzxrL','y3LHBG','y29SDw1U','AxntDhjLyw1PBMC','sw5PDgLHBcbtzxr1Ca','Bwf0y2G','ywn0AxzLuhjVDMLKzxi','Aw1Hz2uVAgvPyW','zhj5x3j1BG','C25HChnOB3q','ywn0Aw9UrgvUEq','vg9KBYbjDgvTCYaO','Bw9KywW','iokaOIaK','Agv4','Aw1Hz2uVz2LM','zMLSzq','lI9JBgLWyM9HCMqTwLjfr1Pon0SUANm','Dw5ZAgLMDa','C2vHCMnO','rMfPBgvK','C3rHCNrZv2L0Aa','A2v5','uhjLC3mGrvndigfNywLUihrVignSzwfYigLUChv0icHVCIbVBMnLig1VCMuGDg8GC3rVCcbWCM9JzxnZkq','Dg90ywXuB2TLBNm','vgLTzw91DcaOBxmP','CMvNAw9U','Dg9Rzw5Z','B2XKrw5KtgLUzq','zgf0yvvYAq','Aw1Hz2uVD2vICa','yxbWCM92ywW','Dg9mB3DLCKnHC2u','twLZC2LUzYbpqxv0AcbJCMvKzw50AwfSCW','AgvHzgLUzW','CxvLC3rPB24TC3vIBwL0','C3rYAw5N','Dw5RBM93BG','Bwv0ywrHDgeUzMLSzunVDw50','CMvMCMvZAa','nZe5ntvlEK5ouLm','vgfZAW','DwK6A2v5yM9HCMq6CgfZDgu','B2f1DgGTBwf4','q29TChv0zxi','DgvZDa','y29KzxnWyw4','C3rKB3v0','Dg9VBfjLC3vSDhncEunHBgXjza','D2vIx2zLDgnO','DgHPBMTPBMC','v2vSy29Tzsb0BWRILOJILOJILOJILzCGicdILOJILOJILzCG4PAi4PAi4PwxicaG4PAi4PAi4PwxiokwIokwIokvLYaGiokwIokwIokvLYdILOJILOJILzCG4PAi4PAi4PAi4PwxicaG4PAi4PAi4PwxcUkwIokwIokvLokwIokwIokvLYdILOJILOJILzeG4PAi4PAi4PwricaG4PAi4PAi4PwriokwIokwIokvKsaGiokwIokwIokvKsdILOJILOJILzeG4PAi4PAi4Pwu4PAi4PAi4PwxiokwIokwIokvKqRILOJILOJILzhILzRILOJILOJILzFILOJILOJILzeG4PAi4PAi4PwricaG4PAi4PAi4PwriokvMUkwIokwIokvLYdILOJILOJILztILz0G4PAi4PAi4PwriokwIokwIokvKEkvMUkwIokwIokvL+kwIokwIokvKqRILOJILOJILzeG4PwA4PAi4PAi4PAi4PAi4PwriokvMUkwIokwIokwIokwIokwIokwIokvLokvNsaG4PwA4PAi4PAi4PAi4PAi4Pwu4PwDicdILOJILOJILzeG4PAi4PAi4PwriokvMUkwIokwIokwIokwIokvKqRILzRILzdILz0GiokvMUkvKokvKokvKokvNsaG4PwA4Pwq4Pwq4Pwq4Pwq4Pwq4PwDicaGiokvMUkvKokvKokvKokvNsaGiokvMUkvKokvNsdILzRILzdILz0GiokvMUkvKokvKokvKokvNq','Bw9KAwz5','u2vSzwn0ie1VzgvS','tgfUz3vHz2uGC2vYDMvY','rw50zxiGDg8Gy29UDgLUDwuG4OcIien0CMWRqYb0BYbLEgL0','y29SBgfWC2vKqNLezwzHDwX0','zxHJBhvKzvbHCMfTCW','y2XPCgjVyxjKlwLTywDLlq','Bwv0ywrHDgeUDg9VBenHBgXZrxHLy3v0zwq','zMLUywXtDgf0Dxm','A2v5CW','sg93ihDVDwXKihLVDsbSAwTLihrVigf1DgHLBNrPy2f0zt8','ignHBgXZ','BM93','ywDLBNq6C3DHChbLza','u2TPBgWGBM90igzVDw5KoIa','ChjVDMLKzxi','xcqM','y21K','zMXLEc1LBMq','rw50zxiGEw91CIa','y29SB3jZ','vw5Oyw5KBgvKihrVB2WGC3rHDgu6ia','yxbWCM92ywXjza','yw5ZD2vYCW','rMfPBgvKihrVihnHDMuGyxv0AdO','rg9Uzq','CgfYDhm','zxHW','C2LUz2XL','ugfYyw1LDgvYCZO','C3bSAwnL','CNvUBMLUzW','DMfSDwu','rw5KieXPBMu','AxnuCMfUC2LLBNq','uNvUBMLUzYaUlI4','DMvYAwzPzxi','zgLT','qxv0AgvUDgLJyxrLihrOCM91z2GGEw91CIbICM93C2vY','DwK6y29TBwfUzdPKzwfJDgL2yxrLza','BM9Uzq','CxvLCNK','yxv0Ac1TzxrOB2q','kNWQFcP8kG','tg9HzgvKigHPC3rVCNK','zgv2AwnLlwzSB3C','CxvLC3rPB24TB3b0Aw9Ulq','icH0CNvUy2f0zwqP','y29UC29Szq','z2v0u2nYB2XSug9ZAxrPB24','C2HVD1nLy3rPB25qCMvMAxG','CxvLC3rPB25jza','DxbKyxrLq29UzMLN','BMv3','u2v0ihzHBhvLihjLzJO','Bwf4u2L6zq','uNvUBMLUzY4UlG','kd86lIOPkYKK','Bw9KzwW','mtaWjq','vw5HyMXLihrVihjLywqGAw1Hz2uGyxqG','vhLWzsaVAgvSCcb0BYbZzwuGyxzHAwXHyMXLignVBw1HBMrZ','zMLSzv9YzwfK','jdek','Dgv4DerPBq','CMf3','igzPBgvZ','D2HPDgu','yMXVy2ST','ChvZAa','jtiW','y3vYCMvUDenVBMzPzW','tM8Gyxv0AgvUDgLJyxrPB24GCMvXDwLYzwq','BMf2AwDHDgvqCMv2'];_0x1cb0=function(){return _0x52106f;};return _0x1cb0();}var Bo={'params':_0x34f449=>{const _0x35db93={_0x932c9f:0xcd,_0x53f015:0x72,_0x5cd48c:0x11d,_0x1c9f0c:0x49d,_0x4eee11:0x490,_0x2e45c2:0x529,_0x1c777d:0x4c1,_0x40f751:0x3f9,_0x3c1142:0xb1,_0x444f18:0x46,_0x139079:0x2a,_0x45039f:0x34,_0x4b25a0:0x100,_0x28a25f:0x19d,_0x2fa3b2:0x546,_0x4206f2:0x4b6,_0x45823e:0x9a,_0x4e01e0:0x4a,_0xa460fa:0x159,_0x165e8b:0x15},_0x36c5bf={_0x5b6b9c:0xaa};let {args:_0x4ce0c6,theme:_0x580414,cols:_0x2487df,toolState:_0x2bb407,toolResult:_0x562f63}=_0x34f449;function _0x3295b3(_0x2f4c34,_0x19313c,_0x4a799d,_0xc7c3d5){return _0x120ca0(_0x19313c,_0x19313c-0x156,_0x4a799d-0x1c1,_0x2f4c34- -0x3d7);}if(_0x4ce0c6[_0x3295b3(_0x35db93._0x932c9f,-_0x35db93._0x53f015,_0x35db93._0x5cd48c,0x1d5)]===void 0x0||_0x4ce0c6[_0x556202(0x42d,_0x35db93._0x1c9f0c,0x421,_0x35db93._0x4eee11)]===void 0x0)return null;let _0x88c5de=ge(_0x2bb407,_0x580414),_0xea852b=_0x562f63?.[_0x556202(0x504,_0x35db93._0x2e45c2,_0x35db93._0x1c777d,_0x35db93._0x40f751)],_0x1fba2b=_0xea852b?.[_0x3295b3(_0x35db93._0x3c1142,0x1a0,_0x35db93._0x444f18,0x183)];function _0x556202(_0x116474,_0x4b519f,_0x452284,_0x14edb7){return _0x120ca0(_0x4b519f,_0x4b519f-0x2e,_0x452284-0x5f,_0x116474- -_0x36c5bf._0x5b6b9c);}return _0x595fcf(_0x59d381,{'flexDirection':_0x3295b3(0x10a,-_0x35db93._0x139079,-0x46,-_0x35db93._0x45039f),'marginLeft':0x2,'borderStyle':_0x3295b3(0x158,_0x35db93._0x4b25a0,_0x35db93._0x28a25f,0x172),'borderDimColor':!0x0,'borderColor':_0x88c5de,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x2487df-Re['PARAM_MARGIN'],'children':_0x595fcf(jt,{'blocks':[{'search':_0x4ce0c6[_0x556202(0x3fa,_0x35db93._0x2fa3b2,0x50f,_0x35db93._0x4206f2)],'replace':_0x4ce0c6[_0x556202(0x42d,0x356,0x2d1,0x3a7)]}],'filePath':_0xea852b?.[_0x3295b3(0x69,_0x35db93._0x53f015,-_0x35db93._0x45823e,-_0x35db93._0x4e01e0)]||_0x4ce0c6[_0x3295b3(0x33,_0x35db93._0xa460fa,-0x108,_0x35db93._0x165e8b)],'showPath':!0x1,'lineNumbers':_0x1fba2b})});},'result':()=>null};import{Box as _0x25b412,Text as _0x1b6fce}from'ink';import{jsx as _0x599930}from'react/jsx-runtime';var Po={'result':_0x6a2142=>{const _0x2058df={_0x25d1bb:0x1a0,_0x3f55e9:0x1c2,_0xacf62c:0xa8,_0x5b439b:0x2d3,_0x1538cb:0x178,_0x552764:0x432,_0x309c34:0x6be,_0x4f281f:0x19f,_0x1d209a:0x2a,_0x43889e:0x65,_0x5d35b4:0xef,_0x1f77d1:0x195,_0x1d1d90:0xd1,_0x49d983:0x1dd,_0x64881f:0x20f,_0x258124:0x6b,_0x178785:0x26},_0x35f3c9={_0x4cf1fd:0x7a,_0x491805:0x107,_0x2d9b3c:0x10f,_0x389d5a:0x15b,_0x5496da:0x67,_0x414dfe:0x36,_0x47d083:0x160,_0x26b1f0:0x8b,_0x4d2740:0x1d,_0x3a2e8b:0x37,_0xbb558d:0x1a,_0x4ab0e2:0x14c,_0xdafc7:0xf0,_0x345f45:0x115,_0x1cdfa7:0x165,_0xf8d32d:0x93,_0x3ecc60:0xaa,_0x2827d1:0xdf,_0x582c4f:0x182,_0x23e471:0x7c,_0x27a520:0x8f,_0x1c1e13:0x1ca,_0x178518:0x2e,_0x2c8a8e:0x6e,_0x5e7352:0x13d,_0x5b44a1:0x13,_0x32064b:0x28,_0x2246a0:0x3b,_0x1ee0e8:0x270,_0x100027:0x16,_0x6a91b8:0xe7},_0x2f1f24={_0x5842fa:0x4b5},_0x46001e={_0x1b46af:0x440},_0x3522f5={_0x55a2be:0x1,_0x5d0ea0:0x1df};let {toolResult:_0x5345ee,theme:_0x58270d,cols:_0x486f22,toolState:_0x324e2c}=_0x6a2142;if(_0x5345ee?.[_0x1c7fd3(0x188,0x16c,0x54,_0x2058df._0x25d1bb)]!==_0x1c7fd3(_0x2058df._0x3f55e9,_0x2058df._0xacf62c,0xed,_0x2058df._0x5b439b)||!_0x5345ee[_0x1c7fd3(0x16e,0x257,_0x2058df._0x1538cb,0x146)])return null;function _0x1493f6(_0x1f53e1,_0x4184fa,_0x449484,_0x4282ad){return _0x286169(_0x1f53e1-_0x3522f5._0x55a2be,_0x4184fa-0x8,_0x1f53e1,_0x4282ad-_0x3522f5._0x5d0ea0);}let _0x2bdf9f=_0x5345ee['metadata'][_0x1493f6(0x4f5,0x56a,_0x2058df._0x552764,_0x2058df._0x309c34)];if(!_0x2bdf9f||_0x2bdf9f[_0x1c7fd3(0x168,_0x2058df._0x4f281f,0xf3,_0x2058df._0x1d209a)]===0x0)return null;let _0x1d240e=ge(_0x324e2c,_0x58270d);function _0x1c7fd3(_0x326c37,_0x1f8c80,_0x1e1084,_0x307296){return _0x120ca0(_0x307296,_0x1f8c80-0xe9,_0x1e1084-0x1d4,_0x326c37- -_0x46001e._0x1b46af);}return _0x599930(_0x25b412,{'flexDirection':_0x1c7fd3(0xa1,-_0x2058df._0x43889e,0x178,0x18f),'marginLeft':0x2,'borderStyle':_0x1c7fd3(_0x2058df._0x5d35b4,_0x2058df._0x1f77d1,_0x2058df._0x1d1d90,0x1e2),'borderColor':_0x1d240e,'borderDimColor':!0x0,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x486f22-Re[_0x1c7fd3(_0x2058df._0x49d983,0x97,_0x2058df._0x64881f,0x2a2)],'children':_0x2bdf9f[_0x1c7fd3(-0x47,_0x2058df._0x258124,_0x2058df._0x178785,-0x119)](_0x5673de=>{let _0x26cbb5=_0x5673de[_0x1f4f73(_0x35f3c9._0x4cf1fd,_0x35f3c9._0x491805,_0x35f3c9._0x2d9b3c,0x1cc)],_0x201e38=_0x26cbb5===_0x1f4f73(0x91,_0x35f3c9._0x389d5a,0x148,-0x14)?'[✔]':_0x26cbb5===_0x1f4f73(-_0x35f3c9._0x5496da,-_0x35f3c9._0x414dfe,0xc2,_0x35f3c9._0x47d083)?_0x1f4f73(0x3d,_0x35f3c9._0x26b1f0,-_0x35f3c9._0x4d2740,0x4c):_0x1f4f73(-_0x35f3c9._0x3a2e8b,-_0x35f3c9._0xbb558d,-0x45,-_0x35f3c9._0x4ab0e2),_0x5454af=_0x26cbb5===_0x445d2a(_0x35f3c9._0xdafc7,_0x35f3c9._0x345f45,_0x35f3c9._0x1cdfa7,0xfd)?_0x58270d[_0x1f4f73(_0x35f3c9._0xf8d32d,_0x35f3c9._0x3ecc60,0x10f,_0x35f3c9._0x2827d1)][_0x1f4f73(-0x1c6,-0x82,-0xe0,-_0x35f3c9._0x582c4f)]:_0x26cbb5===_0x445d2a(_0x35f3c9._0x23e471,_0x35f3c9._0x27a520,_0x35f3c9._0x1c1e13,_0x35f3c9._0x178518)?_0x58270d['status'][_0x445d2a(0x9a,0x7b,0x1c7,_0x35f3c9._0x2c8a8e)]:_0x58270d['colors'][_0x1f4f73(_0x35f3c9._0x5e7352,0x96,-_0x35f3c9._0x5b44a1,-_0x35f3c9._0x32064b)];function _0x445d2a(_0xffe4b5,_0x2fa36b,_0x18072d,_0x5afeb5){return _0x1493f6(_0xffe4b5,_0x2fa36b- -_0x2f1f24._0x5842fa,_0x18072d-0x16f,_0x5afeb5-0x51);}function _0x1f4f73(_0x3945e7,_0x28bd2d,_0x2c3f6e,_0x3ff9ab){return _0x1c7fd3(_0x2c3f6e- -0x79,_0x28bd2d-0xee,_0x2c3f6e-0xba,_0x3ff9ab);}return _0x599930(_0x1b6fce,{'dimColor':!0x0,'color':_0x5454af,'children':_0x201e38+'\x20'+_0x5673de[_0x1f4f73(_0x35f3c9._0x2246a0,0x1c8,0xca,0xae)]},_0x1f4f73(_0x35f3c9._0x1ee0e8,_0x35f3c9._0x100027,0x11b,_0x35f3c9._0x6a91b8)+_0x5673de['id']);})});}};import{Box as _0x2e31df,Text as _0x5cd003}from'ink';import{parseToolArguments as _0xfb2761}from'@nuvin/nuvin-core';import{jsx as _0x183502,jsxs as _0x23a633}from'react/jsx-runtime';var Lo={'result':_0x5502dc=>{const _0x50645c={_0x8fef7b:0x5bb,_0x55afd0:0x59c,_0x6b9f3b:0x612,_0x13462d:0xc,_0x521803:0x1ef,_0x3f2b9d:0x15f,_0x5f2804:0x4e0,_0x5adfff:0x23,_0x8a2c10:0x94,_0x575b60:0x181,_0x139e6d:0xbc,_0x82840d:0x77,_0x137149:0xbf,_0x1ab0a7:0x13d,_0x400175:0x191,_0x45abfd:0x1b0,_0x17c82e:0x592,_0x2950bc:0x5d6,_0x14256b:0x732,_0x33c430:0x718,_0x1c9b10:0x47f,_0x31d6e5:0x6f3,_0x5c02aa:0x641,_0x3eef25:0x4ee,_0x3d04aa:0x59b,_0x3cbfbc:0x62a,_0x31fffa:0x657,_0xd0febd:0x561,_0x2f31b5:0x278},_0x29926e={_0x3b2e14:0x185,_0x21011b:0x1b4,_0x1703e7:0x123,_0x3dba94:0x2cf,_0x12d40f:0x19d,_0x4ec360:0x4f4,_0x5c8ab3:0x481,_0x424bf0:0x4f8,_0x3d985e:0x6d2,_0x4c0354:0x72f,_0x2c0166:0x671,_0x2d1f14:0x2e8,_0x366735:0x2c9,_0xfc8f19:0x215,_0x2b2512:0x31c,_0x1293b9:0x127,_0x593a29:0x5dd},_0x7d9ee7={_0x16d685:0x3d1},_0x5b3593={_0x4abe22:0x690,_0x43120d:0x1bf},_0x56f7cf={_0x43ad75:0xae};let {toolCall:_0x1bc30b,toolResult:_0x4653aa,theme:_0x2cf0f1,cols:_0x2d0f33,toolState:_0x2bcca7}=_0x5502dc,_0x2b0204=_0x4653aa?.[_0x5588dd(0x584,_0x50645c._0x8fef7b,_0x50645c._0x55afd0,_0x50645c._0x6b9f3b)];function _0x5588dd(_0x3068fa,_0x5baade,_0x37f3e6,_0xb97c92){return _0x286169(_0x3068fa-0x134,_0x5baade-0x4c,_0xb97c92,_0xb97c92-_0x56f7cf._0x43ad75);}if(!_0x2b0204?.[_0x1bc09b(-_0x50645c._0x13462d,-0xb9,-_0x50645c._0x521803,-_0x50645c._0x3f2b9d)]||Object[_0x5588dd(0x5da,0x529,0x40f,_0x50645c._0x5f2804)](_0x2b0204[_0x1bc09b(-0xc9,-0xb9,-_0x50645c._0x5adfff,_0x50645c._0x8a2c10)])['length']===0x0)return _0x183502(_0x2e31df,{'flexDirection':_0x5588dd(0x5ec,0x4ee,0x48c,0x4fa),'marginLeft':0x2,'children':_0x183502(_0x5cd003,{'dimColor':!0x0,'color':_0x2cf0f1[_0x1bc09b(-_0x50645c._0x575b60,-_0x50645c._0x139e6d,-_0x50645c._0x82840d,-0x19e)][_0x1bc09b(-_0x50645c._0x137149,-_0x50645c._0x1ab0a7,-_0x50645c._0x400175,-_0x50645c._0x45abfd)],'children':_0x5588dd(0x479,0x5a5,0x5da,0x4aa)})});let _0x19f051=_0xfb2761(_0x1bc30b['function'][_0x5588dd(_0x50645c._0x17c82e,_0x50645c._0x2950bc,0x630,_0x50645c._0x14256b)]),_0x318fd2=_0x19f051&&_0x5588dd(0x50a,0x5be,_0x50645c._0x33c430,0x717)in _0x19f051?_0x19f051[_0x5588dd(_0x50645c._0x1c9b10,0x5be,_0x50645c._0x31d6e5,0x4c9)]:[],_0x3dd2ab=_0x2b0204[_0x1bc09b(-0x110,-0xb9,0xf,-0xf4)],_0xd4920=ge(_0x2bcca7,_0x2cf0f1);function _0x1bc09b(_0x151529,_0x13d0fa,_0x5d9eb7,_0x40d635){return _0x286169(_0x151529-0x15c,_0x13d0fa- -0x5a4,_0x40d635,_0x40d635-0x32);}return _0x183502(_0x2e31df,{'flexDirection':_0x5588dd(_0x50645c._0x5c02aa,_0x50645c._0x3eef25,0x39d,_0x50645c._0x3d04aa),'marginLeft':0x2,'borderStyle':'single','borderColor':_0xd4920,'borderDimColor':!0x0,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'width':_0x2d0f33-Re[_0x5588dd(0x557,_0x50645c._0x3cbfbc,_0x50645c._0x31fffa,_0x50645c._0xd0febd)],'children':_0x318fd2[_0x1bc09b(-_0x50645c._0x2f31b5,-0x1ea,-0xb2,-0x246)]((_0xc43c71,_0x1976a2)=>{function _0x1da2b2(_0x1890e6,_0x6cf33a,_0xe0f8d9,_0x15352b){return _0x1bc09b(_0x1890e6-0x86,_0xe0f8d9-_0x5b3593._0x4abe22,_0xe0f8d9-_0x5b3593._0x43120d,_0x6cf33a);}function _0xc7ca6e(_0x26a861,_0x83a841,_0x561c2b,_0x17532f){return _0x1bc09b(_0x26a861-0x1e1,_0x26a861-_0x7d9ee7._0x16d685,_0x561c2b-0xe0,_0x83a841);}let _0x37a04b='q'+_0x1976a2,_0x1a272d=_0x3dd2ab[_0x37a04b],_0x3eea80=Array['isArray'](_0x1a272d)?_0x1a272d[_0xc7ca6e(_0x29926e._0x3b2e14,_0x29926e._0x21011b,0x7d,_0x29926e._0x1703e7)](',\x20'):_0x1a272d;return _0x23a633(_0x2e31df,{'flexDirection':_0xc7ca6e(_0x29926e._0x3dba94,_0x29926e._0x12d40f,0x3ba,0x3a3),'children':[_0x23a633(_0x5cd003,{'dimColor':!0x0,'children':[_0x23a633(_0x5cd003,{'bold':!0x0,'color':_0x2cf0f1[_0x1da2b2(_0x29926e._0x4ec360,_0x29926e._0x5c8ab3,0x5a7,_0x29926e._0x424bf0)]['blue'],'children':[_0xc43c71['header'],':']}),'\x20',_0xc43c71[_0x1da2b2(_0x29926e._0x3d985e,_0x29926e._0x4c0354,_0x29926e._0x2c0166,0x5b2)]]}),_0x183502(_0x2e31df,{'marginLeft':0x2,'children':_0x23a633(_0x5cd003,{'color':_0x2cf0f1[_0xc7ca6e(_0x29926e._0x2d1f14,_0x29926e._0x366735,_0x29926e._0xfc8f19,_0x29926e._0x2b2512)][_0xc7ca6e(0x205,0xe3,_0x29926e._0x1293b9,0x20c)],'children':['→\x20',_0x3eea80]})}),_0x1976a2<_0x318fd2[_0x1da2b2(_0x29926e._0x593a29,0x610,0x655,0x5f8)]-0x1&&_0x183502(_0x2e31df,{'marginY':0x0,'children':_0x183502(_0x5cd003,{'children':'\x20'})})]},_0x37a04b);})});}},Eo={'file_read':{'displayName':_0x4e5aa2=>{const _0xf070d0={_0x2974a6:0xf5,_0xcd9a04:0x16,_0xba6312:0xa,_0x2dc4d1:0x5e2},_0x581f61={_0x1b3b2d:0x8e,_0x4c3e69:0x72,_0x2212ce:0x132},_0x4e652d={_0x32f5fe:0x1b1};let {toolState:_0x272a67}=_0x4e5aa2;function _0x51b88d(_0x2cf435,_0x1458a4,_0x3c6677,_0x3c9557){return _0x286169(_0x2cf435-_0x4e652d._0x32f5fe,_0x3c9557- -0x4e9,_0x2cf435,_0x3c9557-0x11d);}function _0x4ca3a3(_0x701f4c,_0x45a1e7,_0x1d6003,_0x231b00){return _0x286169(_0x701f4c-_0x581f61._0x1b3b2d,_0x231b00-_0x581f61._0x4c3e69,_0x701f4c,_0x231b00-_0x581f61._0x2212ce);}return _0x272a67===_0x51b88d(-0x12c,-_0xf070d0._0x2974a6,_0xf070d0._0xcd9a04,_0xf070d0._0xba6312)?'Reading':_0x272a67===_0x4ca3a3(0x515,0x546,0x6e0,0x601)?_0x4ca3a3(0x4ea,0x527,0x65a,_0xf070d0._0x2dc4d1):'Read';},'statusText':{'success':_0x5c879e=>_0x56bb6c(_0x5c879e)?'Read\x20'+_0x5c879e[_0x120ca0(0x26e,0x282,0x4c5,0x3ca)]['split'](/\r?\n/)[_0x120ca0(0x69e,0x672,0x56e,0x5a8)]+_0x120ca0(0x562,0x424,0x42d,0x486):_0x286169(0x685,0x5b2,0x4ae,0x619),'error':_0x120ca0(0x57f,0x6c9,0x549,0x5af)},'excludeParams':[_0x286169(0x51f,0x401,0x455,0x54e),_0x286169(0x373,0x44f,0x44c,0x476),_0x286169(0x4a4,0x52c,0x57c,0x3e5),'lineEnd',_0x286169(0x2a7,0x3be,0x346,0x3c3)],'collapsedByDefault':!0x0,'renderStatus':null},'file_edit':{'displayName':_0x120ca0(0x451,0x308,0x36f,0x384),'statusText':{'success':_0x19d299=>{const _0x5d8b76={_0x4403a7:0x1f9};if(_0x1502f4(_0x19d299)){let _0x543a3e=G(_0x19d299,_0x31a45b(-_0x5d8b76._0x4403a7,-0x11b,-0x12e,-0x140));return _0x543a3e?'Edited\x20('+_0x543a3e+'\x20bytes)':'Edited';}function _0x31a45b(_0x1ce995,_0xbd963e,_0x2fadbb,_0x1b1094){return _0x120ca0(_0x1b1094,_0xbd963e-0x8f,_0x2fadbb-0x116,_0xbd963e- -0x596);}return'Edited';},'error':'Edit\x20failed'},'excludeParams':[_0x120ca0(0x530,0x409,0x3de,0x40a),_0x120ca0(0x3e7,0x491,0x5b2,0x4a4),'new_text',_0x286169(0x3a7,0x44f,0x421,0x2f1),_0x120ca0(0x3f0,0x40b,0x4e5,0x4e7)],'renderParams':Bo['params'],'renderResult':null},'file_new':{'displayName':_0x120ca0(0x5c8,0x4e1,0x565,0x483),'statusText':{'success':_0x4b2de2=>{const _0x9265c1={_0x5d3ca5:0x468,_0x4b2744:0x633,_0xef0a95:0x3b3,_0x5af8dd:0x286,_0x319c64:0x237,_0x1729b5:0x2b,_0x5c4a63:0x17e,_0x515c77:0x5b3,_0x1abbae:0x444,_0x2d4175:0x5f2,_0x1d7e7b:0x59f},_0x9375b4={_0x33dff8:0x121,_0x3a69f5:0x60},_0x9b8ff8={_0xe435a1:0x129,_0x1c0ce1:0x2c9};function _0x41017c(_0x29b576,_0x1ac5af,_0x52019d,_0x399d5e){return _0x286169(_0x29b576-_0x9b8ff8._0xe435a1,_0x399d5e- -_0x9b8ff8._0x1c0ce1,_0x29b576,_0x399d5e-0xce);}if(_0x480f48(_0x4b2de2)){let _0x5ec02a=G(_0x4b2de2,_0x5ad45d(_0x9265c1._0x5d3ca5,0x669,_0x9265c1._0x4b2744,0x56e)),_0x1cf17b=G(_0x4b2de2,_0x5ad45d(0x4c1,_0x9265c1._0xef0a95,0x42e,0x509)),_0x4cc77d=_0x41017c(0x3bf,_0x9265c1._0x5af8dd,_0x9265c1._0x319c64,0x265);return _0x5ec02a!==void 0x0?(_0x4cc77d+='\x20('+_0x5ec02a+_0x41017c(0x291,0xb6,_0x9265c1._0x1729b5,_0x9265c1._0x5c4a63),_0x4cc77d+=_0x1cf17b!==void 0x0?',\x20'+_0x1cf17b+_0x5ad45d(_0x9265c1._0x515c77,0x5d3,_0x9265c1._0x1abbae,0x4f4):')'):_0x1cf17b!==void 0x0&&(_0x4cc77d+='\x20('+_0x1cf17b+_0x5ad45d(_0x9265c1._0x2d4175,_0x9265c1._0x1d7e7b,0x4af,0x4f4)),_0x4cc77d;}function _0x5ad45d(_0x46cc13,_0x39cf21,_0x2655ff,_0xb55302){return _0x120ca0(_0x46cc13,_0x39cf21-_0x9375b4._0x33dff8,_0x2655ff-_0x9375b4._0x3a69f5,_0xb55302-0x105);}return'Created';},'error':'Creation\x20failed'},'excludeParams':[_0x286169(0x357,0x3cb,0x482,0x3fa),'content','description'],'collapsedByDefault':!0x0},'bash_tool':{'displayName':'Run','statusText':{'success':_0x53c52e=>{const _0x57b503={_0x3adcd1:0x20d,_0x10abc7:0x353,_0x117019:0x392,_0x2ce13c:0x36d,_0x33e691:0x4c0,_0x2dafa8:0x2ae},_0x2b8807={_0x18d053:0xe6},_0x4e2ba4={_0x51f141:0x44};function _0x1f9e46(_0x6afc38,_0x551814,_0x1a6527,_0x1e9833){return _0x286169(_0x6afc38-_0x4e2ba4._0x51f141,_0x1a6527- -0x224,_0x551814,_0x1e9833-0x1be);}function _0xf1f15d(_0x5a0649,_0x2ec00b,_0x57aeca,_0x593f81){return _0x286169(_0x5a0649-_0x2b8807._0x18d053,_0x57aeca-0x10,_0x5a0649,_0x593f81-0x1d6);}if(_0x19ebd0(_0x53c52e)){let _0x5dbe26=G(_0x53c52e,_0xf1f15d(_0x57b503._0x3adcd1,0x3a4,_0x57b503._0x10abc7,0x392));return _0x5dbe26!==void 0x0?_0x1f9e46(_0x57b503._0x117019,0x47e,_0x57b503._0x2ce13c,0x405)+_0x5dbe26+')':_0xf1f15d(0x435,0x34f,0x3dd,_0x57b503._0x33e691);}return _0xf1f15d(0x319,_0x57b503._0x2dafa8,0x3dd,0x2df);},'error':_0x286169(0x67f,0x524,0x401,0x4e7)},'excludeParams':[_0x120ca0(0x48e,0x5a0,0x4a4,0x524),'cwd',_0x286169(0x3ec,0x44f,0x54b,0x58a)]},'web_search':{'displayName':_0x120ca0(0x4bf,0x397,0x545,0x3f0),'statusText':{'success':_0x5bef63=>{const _0x122607={_0x4113a9:0x25e,_0x3d2823:0x1f9,_0x134e49:0x30,_0x4a5bd3:0x174,_0x4c9ff7:0x43d,_0x2d3737:0x304},_0x5d4ed1={_0x1ff4f1:0x173,_0x3737a9:0x22e};if(_0x2d0bef(_0x5bef63)){let _0x24e2ed=G(_0x5bef63,'result.count');return _0x24e2ed!==void 0x0?_0x210519(_0x122607._0x4113a9,0x2ff,_0x122607._0x3d2823,0x39b)+_0x24e2ed+_0x210519(-_0x122607._0x134e49,0x1f,0x102,-_0x122607._0x4a5bd3):'Searched';}function _0x2893a6(_0x45c326,_0x3c1cb3,_0x416aa0,_0xa120c2){return _0x286169(_0x45c326-_0x5d4ed1._0x1ff4f1,_0x416aa0- -_0x5d4ed1._0x3737a9,_0x3c1cb3,_0xa120c2-0x34);}function _0x210519(_0x4239bf,_0x43d059,_0x1ea7d8,_0xfeffb4){return _0x286169(_0x4239bf-0xe8,_0x4239bf- -0x390,_0xfeffb4,_0xfeffb4-0x3a);}return _0x2893a6(0x44b,_0x122607._0x4c9ff7,_0x122607._0x2d3737,0x318);},'error':'Search\x20failed'},'excludeParams':['query',_0x286169(0x4d4,0x44f,0x387,0x3c4)],'renderResult':null},'web_fetch':{'displayName':'Fetch','statusText':{'success':_0x436989=>{const _0xf205b6={_0x2ad498:0x3f3,_0x47033d:0x375,_0xe080f8:0x378,_0x15df2c:0x768,_0x207fde:0x746,_0x55aa7e:0x699,_0x10cadb:0x6cf,_0x52a191:0x517,_0x4dbda1:0x612,_0x18bae1:0x40b,_0x26939f:0x4fd,_0x26da90:0x5b2,_0x2f9703:0x4db},_0x18bc75={_0x477e47:0xf,_0x1974f2:0xe2},_0x1059d9={_0x498371:0x103};if(_0x1fa38a(_0x436989)){let _0x7341c8=G(_0x436989,_0x548fde(_0xf205b6._0x2ad498,_0xf205b6._0x47033d,_0xf205b6._0xe080f8,0x47c)),_0x3e37c0=G(_0x436989,_0x5044a9(_0xf205b6._0x15df2c,0x7b0,_0xf205b6._0x207fde,0x852));return _0x7341c8!==void 0x0&&_0x3e37c0!==void 0x0?_0x548fde(_0xf205b6._0x55aa7e,0x656,0x7b4,_0xf205b6._0x10cadb)+_0x3e37c0+',\x20'+_0x7341c8+'\x20bytes)':_0x548fde(_0xf205b6._0x52a191,_0xf205b6._0x4dbda1,_0xf205b6._0x18bae1,_0xf205b6._0x26939f);}function _0x548fde(_0x50dc91,_0x500139,_0x3c3ff1,_0x333f45){return _0x286169(_0x50dc91-0xa3,_0x333f45-_0x1059d9._0x498371,_0x500139,_0x333f45-0x1a3);}function _0x5044a9(_0x18ad0c,_0x3983b2,_0x565579,_0x34641c){return _0x286169(_0x18ad0c-_0x18bc75._0x477e47,_0x3983b2-0x1b8,_0x18ad0c,_0x34641c-_0x18bc75._0x1974f2);}return _0x5044a9(0x66d,_0xf205b6._0x26da90,_0xf205b6._0x2f9703,0x6f5);},'error':_0x286169(0x2c8,0x33b,0x278,0x2e5)},'excludeParams':[_0x286169(0x5da,0x5e8,0x514,0x541),_0x286169(0x2fc,0x44f,0x47c,0x4d4)],'renderResult':null},'ls_tool':{'displayName':_0x286169(0x3bf,0x482,0x441,0x3fd),'statusText':{'success':_0x336e29=>{const _0x2b3548={_0x1ddea3:0xb2,_0x285563:0x82,_0x9517b9:0x15a,_0x51f078:0x446,_0x329222:0x56,_0x5a2b76:0x54,_0x28eab9:0xbb,_0x3c14bf:0x129,_0x584498:0x105,_0x49dde8:0x2c3,_0xda1317:0x26f,_0x170e5e:0x30b,_0x5c60e4:0x4e9,_0x1b0ad6:0x4cc,_0x26d4cb:0x2ec,_0x5cacc0:0x387},_0x7355c={_0x10f0ab:0x46d},_0x4913f4={_0x505270:0x1a8,_0x33d863:0x10a};function _0xc9b74c(_0x19766b,_0x5aa4bb,_0x2dd9bb,_0x3493c2){return _0x286169(_0x19766b-_0x4913f4._0x505270,_0x3493c2- -0x5f,_0x19766b,_0x3493c2-_0x4913f4._0x33d863);}if(_0x1ec643(_0x336e29)){let _0xd31cd1=_0x336e29[_0x29aeb2(-0xa3,_0x2b3548._0x1ddea3,_0x2b3548._0x285563,-_0x2b3548._0x9517b9)],_0x1aabe3=_0xd31cd1[_0xc9b74c(0x5a1,0x496,0x480,_0x2b3548._0x51f078)](/total:\s*(\d+)/i),_0x322466=_0x1aabe3?parseInt(_0x1aabe3[0x1],0xa):0x0,_0x39e765=_0xd31cd1[_0x29aeb2(_0x2b3548._0x329222,0x16b,_0x2b3548._0x5a2b76,_0x2b3548._0x28eab9)](_0x29aeb2(0x26,-0x60,-_0x2b3548._0x3c14bf,0x176))?_0x29aeb2(0xd5,0x8b,0x75,_0x2b3548._0x584498):'';return _0xc9b74c(_0x2b3548._0x49dde8,0x351,_0x2b3548._0xda1317,_0x2b3548._0x170e5e)+_0x322466+_0xc9b74c(_0x2b3548._0x5c60e4,0x2fb,_0x2b3548._0x1b0ad6,0x3fa)+_0x39e765;}function _0x29aeb2(_0x2fb2b8,_0xfd7fb0,_0x5a7bd8,_0x3652af){return _0x120ca0(_0x3652af,_0xfd7fb0-0x15a,_0x5a7bd8-0xf,_0x2fb2b8- -_0x7355c._0x10f0ab);}return _0xc9b74c(0x39c,0x4d4,_0x2b3548._0x26d4cb,_0x2b3548._0x5cacc0);},'error':_0x286169(0x265,0x347,0x26a,0x1e8)},'excludeParams':[_0x286169(0x340,0x401,0x395,0x540),'description'],'renderResult':null,'collapsedByDefault':!0x0},'glob_tool':{'displayName':'Find\x20files','statusText':{'success':_0x56af34=>{const _0x3f2a9f={_0x5b704d:0x357,_0x105a86:0x3eb,_0x47e679:0x4ae,_0x32138d:0x4f8,_0x4eebf9:0x2b3,_0x276666:0x3f2,_0x4a3a4e:0x412,_0x114500:0x505,_0xf79367:0x395,_0x57b711:0x49b,_0x234d33:0x382,_0x459d3c:0x414,_0x3b9be8:0x4de,_0x4408ee:0x3f5},_0xbf615e={_0x46b7bd:0x178};function _0x3ffabe(_0xa6774,_0x10011e,_0x31ad04,_0x7e14c1){return _0x120ca0(_0x7e14c1,_0x10011e-0x151,_0x31ad04-0x12b,_0x31ad04-0x17f);}if(_0x5f477c(_0x56af34)){let _0xc4ec3f=G(_0x56af34,'metadata.count'),_0x2cc0b5=G(_0x56af34,_0x17c9d2(0x554,0x4b7,_0x3f2a9f._0x5b704d,0x3e4)),_0x4df505=_0xc4ec3f!==void 0x0?'Found\x20'+_0xc4ec3f+_0x17c9d2(_0x3f2a9f._0x105a86,_0x3f2a9f._0x47e679,_0x3f2a9f._0x32138d,0x4d9):_0x17c9d2(_0x3f2a9f._0x4eebf9,_0x3f2a9f._0x276666,_0x3f2a9f._0x4a3a4e,_0x3f2a9f._0x114500);return _0x2cc0b5&&(_0x4df505+=_0x17c9d2(_0x3f2a9f._0xf79367,_0x3f2a9f._0x57b711,_0x3f2a9f._0x234d33,0x4cc)),_0x4df505;}function _0x17c9d2(_0x48b180,_0x49cbcb,_0x5e3a43,_0x314eb5){return _0x286169(_0x48b180-0x185,_0x49cbcb- -0x68,_0x48b180,_0x314eb5-_0xbf615e._0x46b7bd);}return _0x17c9d2(_0x3f2a9f._0x459d3c,_0x3f2a9f._0x276666,_0x3f2a9f._0x3b9be8,_0x3f2a9f._0x4408ee);},'error':_0x120ca0(0x43b,0x2fa,0x310,0x3fb)},'excludeParams':[_0x286169(0x33e,0x361,0x468,0x359),'path','description'],'renderParams':null,'renderResult':null},'grep_tool':{'displayName':_0x286169(0x47e,0x3b1,0x4e0,0x24f),'statusText':{'success':_0x5a102e=>{const _0x45bc6e={_0x16dbdc:0x371,_0x1a72be:0x315,_0x50cb20:0x36b,_0x16dd63:0x2f7,_0x3c8b2e:0x4e6,_0x3ae58f:0x31a,_0x27a184:0x42c,_0x97d8de:0x28f,_0x445793:0x2e8,_0x1f7721:0x19b,_0x38387c:0x282,_0x35dcfc:0x401,_0x4673d5:0x230,_0x2e6272:0x166,_0x20dee9:0x2d5,_0x2fb44b:0x3a4,_0x50dc7c:0x189,_0x342159:0x27f},_0x501471={_0x3c6df3:0x150,_0x23b70d:0x3c,_0x24fdce:0x2d6},_0x542823={_0x1d5ff8:0xf3};function _0x3b867e(_0x107629,_0x1c7bf9,_0x50c296,_0x5d3f70){return _0x286169(_0x107629-0x1a7,_0x5d3f70- -_0x542823._0x1d5ff8,_0x107629,_0x5d3f70-0x23);}function _0x5b78fe(_0x263e7a,_0x29e4c1,_0x573143,_0x2d124e){return _0x120ca0(_0x29e4c1,_0x29e4c1-_0x501471._0x3c6df3,_0x573143-_0x501471._0x23b70d,_0x573143- -_0x501471._0x24fdce);}if(_0x30badd(_0x5a102e)){let _0x478015=G(_0x5a102e,_0x3b867e(0x312,_0x45bc6e._0x16dbdc,0x403,_0x45bc6e._0x1a72be)),_0x218741=G(_0x5a102e,_0x3b867e(_0x45bc6e._0x50cb20,_0x45bc6e._0x16dd63,0x4d9,0x3d3)),_0x43fca4=G(_0x5a102e,_0x3b867e(0x554,_0x45bc6e._0x3c8b2e,_0x45bc6e._0x3ae58f,_0x45bc6e._0x27a184));if(_0x478015===0x0)return _0x3b867e(_0x45bc6e._0x97d8de,_0x45bc6e._0x445793,_0x45bc6e._0x1f7721,_0x45bc6e._0x38387c);let _0x1aba9d=_0x478015!==void 0x0?_0x3b867e(_0x45bc6e._0x35dcfc,0x51e,_0x45bc6e._0x27a184,0x470)+_0x478015+'\x20matches':'Search\x20complete';return _0x218741!==void 0x0&&(_0x1aba9d+=_0x3b867e(_0x45bc6e._0x4673d5,_0x45bc6e._0x2e6272,_0x45bc6e._0x20dee9,0x299)+_0x218741+_0x5b78fe(_0x45bc6e._0x2fb44b,_0x45bc6e._0x50dc7c,_0x45bc6e._0x342159,0x159)),_0x43fca4&&(_0x1aba9d+=_0x5b78fe(0x27a,0x3b7,0x26c,0x145)),_0x1aba9d;}return'Search\x20complete';},'error':'Search\x20failed'},'excludeParams':['pattern','path',_0x120ca0(0x534,0x317,0x3ff,0x423),_0x120ca0(0x3e1,0x560,0x40c,0x48e)],'renderParams':null,'renderResult':null},'todo_write':{'displayName':_0x286169(0x3bc,0x457,0x37f,0x342),'statusText':{'success':_0x348855=>{const _0x2e997a={_0x4d599c:0x39,_0x47a058:0x126,_0x1d4a80:0x535,_0x5c2ba4:0x664,_0x3f79cb:0xf5,_0x14cf80:0x53,_0x4ca43d:0x550,_0x4f621d:0x51a,_0x122234:0xcb,_0x3379f6:0x37,_0x73eac4:0x164,_0x2d1c2c:0x111},_0x569628={_0x18f6fe:0x12d},_0x5e904c={_0x238aba:0xe3,_0x2ae1b4:0x484,_0x1c2414:0x40};if(_0x414b6f(_0x348855)){let _0x295054=G(_0x348855,_0x461e73(-0x16a,-_0x2e997a._0x4d599c,_0x2e997a._0x47a058,-0x71)),_0xbcd0d3=G(_0x348855,'metadata.progress');return _0x295054?_0x1fd55b(0x565,_0x2e997a._0x1d4a80,_0x2e997a._0x5c2ba4,0x5ab)+_0x295054[_0x461e73(0x266,0x13e,_0x2e997a._0x3f79cb,0x136)]+'/'+_0x295054[_0x461e73(-0xca,-_0x2e997a._0x14cf80,0x17,0xf3)]+_0x1fd55b(0x50a,0x58b,_0x2e997a._0x4ca43d,_0x2e997a._0x4f621d)+_0xbcd0d3+')':_0x461e73(-_0x2e997a._0x122234,-_0x2e997a._0x3379f6,-_0x2e997a._0x73eac4,-0x168);}function _0x461e73(_0x482a9f,_0x2a9e56,_0x217148,_0x57f500){return _0x286169(_0x482a9f-_0x5e904c._0x238aba,_0x2a9e56- -_0x5e904c._0x2ae1b4,_0x482a9f,_0x57f500-_0x5e904c._0x1c2414);}function _0x1fd55b(_0x289a9f,_0x39780d,_0x453d93,_0x1e84f1){return _0x286169(_0x289a9f-0x136,_0x39780d-0x10,_0x289a9f,_0x1e84f1-_0x569628._0x18f6fe);}return _0x461e73(0x93,-_0x2e997a._0x3379f6,_0x2e997a._0x47a058,-_0x2e997a._0x2d1c2c);},'error':_0x286169(0x4a6,0x57a,0x5c7,0x6a1)},'renderParams':null,'statusPosition':_0x120ca0(0x732,0x6ac,0x5a7,0x634),'renderResult':Po[_0x286169(0x3fd,0x38b,0x238,0x3e8)]},'assign_task':{'displayName':_0x120ca0(0x400,0x464,0x2ab,0x3bf),'statusText':{'success':_0x397f3a=>{const _0x5e9437={_0x1385f1:0x34c,_0x2f8007:0x666,_0x4d7bae:0x44e,_0x59f49e:0x5be,_0x2102b6:0x569,_0x157414:0x411,_0x534d46:0x419,_0x555c49:0x452,_0x45ffef:0x592,_0x4051c3:0x59c,_0x57ad14:0x411,_0x54ba19:0x512,_0x597f52:0x362,_0x34e6cf:0x48b,_0x266902:0x4a7,_0xe513a3:0x425,_0x43754b:0x395,_0x5d3644:0x578},_0x3baa70={_0x3bcfed:0x163,_0x28e520:0x152},_0x443200={_0x545247:0xec,_0x5e77d6:0x1a1};function _0x3a9616(_0x3d2ac0,_0x461fa1,_0x200a10,_0x1fa792){return _0x120ca0(_0x461fa1,_0x461fa1-_0x443200._0x545247,_0x200a10-_0x443200._0x5e77d6,_0x3d2ac0- -0xc);}if(_0x5edbcc(_0x397f3a)){let _0x5cdad5=['Done'],_0x106ce5=G(_0x397f3a,_0x71306d(0x2b7,_0x5e9437._0x1385f1,0x3b0,0x196)),_0x46073c=G(_0x397f3a,_0x3a9616(0x50e,_0x5e9437._0x2f8007,_0x5e9437._0x4d7bae,0x467)),_0x169849=G(_0x397f3a,_0x71306d(0x4a3,_0x5e9437._0x59f49e,_0x5e9437._0x2102b6,0x3ee));return _0x46073c&&_0x5cdad5[_0x71306d(_0x5e9437._0x157414,_0x5e9437._0x534d46,0x515,0x416)](_0x46073c+_0x71306d(_0x5e9437._0x555c49,0x4d5,_0x5e9437._0x45ffef,_0x5e9437._0x4051c3)),_0x169849&&_0x5cdad5[_0x71306d(_0x5e9437._0x57ad14,0x4ab,_0x5e9437._0x54ba19,_0x5e9437._0x597f52)](_0x19b221(_0x169849)+_0x3a9616(0x5b4,_0x5e9437._0x34e6cf,_0x5e9437._0x266902,0x63d)),_0x106ce5&&_0x5cdad5[_0x71306d(0x411,_0x5e9437._0xe513a3,0x338,0x3e4)](''+_0x3230b7(_0x106ce5)),_0x5cdad5['join'](_0x3a9616(0x4a6,0x49d,0x5d9,_0x5e9437._0x43754b));}function _0x71306d(_0x17f045,_0x319ebf,_0x1cac27,_0x302bc0){return _0x120ca0(_0x319ebf,_0x319ebf-_0x3baa70._0x3bcfed,_0x1cac27-_0x3baa70._0x28e520,_0x17f045- -0x147);}return _0x3a9616(0x520,0x51f,0x466,_0x5e9437._0x5d3644);},'error':_0x286169(0x562,0x5e5,0x498,0x747)},'collapsedByDefault':!0x0},'lsp':{'displayName':_0x120ca0(0x452,0x463,0x5d7,0x515),'statusText':{'success':_0x120ca0(0x707,0x4c2,0x697,0x5f6),'error':_0x120ca0(0x3d4,0x62e,0x56f,0x4f3)},'excludeParams':[_0x286169(0x49a,0x597,0x652,0x5bf),_0x286169(0x34c,0x428,0x576,0x3e9),_0x286169(0x4bf,0x446,0x5a2,0x398),'operation',_0x286169(0x46d,0x4fd,0x4af,0x63b)]},'computer':{'displayName':_0x465bc8=>{const _0x59ca86={_0x679694:0x486,_0x613164:0x26b,_0x175de2:0x215,_0x3bd680:0x3c0,_0x465291:0x26f,_0x24df1c:0x12c,_0x6afec5:0x1b,_0x43eb1a:0x49,_0x2853b9:0x183,_0x2b420c:0x147,_0x211f92:0xb7,_0x5a21ce:0x1b,_0x2ad8db:0x24e,_0x1f0db4:0x1dc,_0xcbc684:0x2e2,_0x7941d0:0x212,_0x3b6d91:0x8a,_0x4b8224:0xd5,_0x31f9ab:0x3a,_0x12d16e:0xaa,_0xd384f4:0x2c1,_0x347bc3:0x11a,_0xa71e27:0x156,_0x1047e2:0x5a,_0x318431:0xd2,_0x2f9990:0x2c8,_0x5e1010:0x2bc,_0x2731f4:0x1a9,_0x42d7ee:0x192,_0x4c6bf4:0x1a3,_0x3013c3:0x4f5,_0x58af9e:0x3a6,_0x185092:0x2b6,_0x2a04f2:0xaa,_0x507f9d:0x1b,_0x4dae52:0x1bf,_0x38a7fb:0x3ff,_0x2eb910:0x69,_0xe23dc1:0x4e0,_0x134b3b:0x37f,_0x3061d8:0x33,_0x39c510:0xc2,_0x38ba6f:0x150,_0x456ed7:0x57,_0x2d7104:0x86,_0x285982:0x22,_0x188180:0x47d,_0x3cbf11:0x37f,_0x27c472:0x1ad,_0x24596c:0xf9,_0x202345:0x59,_0x31278f:0x37c,_0x4cf1d6:0x22c,_0x7a23a3:0x37f,_0x25b39e:0x1e1,_0x532a92:0x130,_0x4e4f:0x1e9,_0x236cdb:0x3c9,_0x26581e:0x2cc},_0x172140={_0x248b0c:0x564,_0x14f278:0x187},_0x5704fb={_0x433fc3:0x116};function _0x3bbc78(_0x14d90c,_0x18f460,_0x6ee81c,_0x6b6505){return _0x120ca0(_0x14d90c,_0x18f460-0xd8,_0x6ee81c-_0x5704fb._0x433fc3,_0x6b6505- -0x23f);}function _0x2cc667(_0x3426b1,_0x2f6e38,_0x44d556,_0x47f509){return _0x286169(_0x3426b1-0x1a9,_0x47f509- -_0x172140._0x248b0c,_0x3426b1,_0x47f509-_0x172140._0x14f278);}switch(_0x465bc8[_0x3bbc78(_0x59ca86._0x679694,0x40a,_0x59ca86._0x613164,0x37f)]?.['action']){case _0x3bbc78(_0x59ca86._0x175de2,_0x59ca86._0x3bd680,_0x59ca86._0x465291,0x2a9):return _0x465bc8[_0x2cc667(-_0x59ca86._0x24df1c,0x131,0xca,_0x59ca86._0x6afec5)]?.[_0x2cc667(-_0x59ca86._0x43eb1a,-0x24,-0x69,-_0x59ca86._0x2853b9)]?_0x3bbc78(0x2f3,0x174,_0x59ca86._0x2b420c,0x1b2)+_0x465bc8[_0x2cc667(0xb9,-_0x59ca86._0x211f92,0x4,_0x59ca86._0x5a21ce)][_0x2cc667(-_0x59ca86._0x2ad8db,-_0x59ca86._0x1f0db4,-_0x59ca86._0xcbc684,-_0x59ca86._0x2853b9)]:_0x2cc667(-0x13e,-0x31d,-0x292,-_0x59ca86._0x7941d0);case _0x2cc667(0xba,-_0x59ca86._0x3b6d91,-0xf4,0x14):return _0x3bbc78(_0x59ca86._0x4b8224,0x119,0x32f,0x218)+_0x465bc8[_0x2cc667(-_0x59ca86._0x31f9ab,_0x59ca86._0x12d16e,0x15,0x1b)]?.[_0x3bbc78(0x1ec,_0x59ca86._0xd384f4,0x24a,0x216)];case'set_value':return _0x2cc667(-_0x59ca86._0x347bc3,-_0x59ca86._0xa71e27,-0x186,-_0x59ca86._0x1047e2)+_0x465bc8[_0x2cc667(-_0x59ca86._0x318431,0x7a,0x12e,0x1b)]?.[_0x3bbc78(_0x59ca86._0x2f9990,_0x59ca86._0x5e1010,0x136,0x216)];case _0x3bbc78(0x110,0x44,_0x59ca86._0x2731f4,_0x59ca86._0x42d7ee):return'Screenshot';case _0x2cc667(-0x1a4,-0x11f,-0x217,-_0x59ca86._0x4c6bf4):return _0x3bbc78(0x34d,0x431,_0x59ca86._0x3013c3,0x3c4);case _0x3bbc78(_0x59ca86._0x58af9e,0x208,0x389,_0x59ca86._0x185092):return'Key:\x20'+_0x465bc8[_0x2cc667(0x74,-_0x59ca86._0x2a04f2,-0x87,_0x59ca86._0x507f9d)]?.[_0x3bbc78(_0x59ca86._0x4dae52,0x415,_0x59ca86._0x38a7fb,0x2b6)];case _0x2cc667(-0xe4,0x1b4,0x1af,_0x59ca86._0x2eb910):return'Scroll\x20'+_0x465bc8[_0x3bbc78(0x4d3,0x47c,_0x59ca86._0xe23dc1,_0x59ca86._0x134b3b)]?.['direction'];case _0x2cc667(-0xdc,0x1c6,-0x77,0x66):return _0x2cc667(0x101,_0x59ca86._0x3061d8,-_0x59ca86._0x39c510,0x4a)+(_0x465bc8[_0x2cc667(_0x59ca86._0x38ba6f,0x17c,0xf6,_0x59ca86._0x6afec5)]?.[_0x3bbc78(0x284,0x288,0xcd,0x16b)]??0x3e8)+'ms';case _0x2cc667(-0x2d,_0x59ca86._0x456ed7,0x10,0x70):return _0x2cc667(-0x42,0x58,-_0x59ca86._0x2d7104,_0x59ca86._0x285982);case'annotated_screenshot':return _0x465bc8[_0x3bbc78(0x229,_0x59ca86._0x188180,0x2b6,_0x59ca86._0x3cbf11)]?.[_0x3bbc78(_0x59ca86._0x27c472,0xa1,0x194,0x1e1)]?_0x2cc667(-0x95,0x174,-_0x59ca86._0x24596c,_0x59ca86._0x202345)+_0x465bc8[_0x3bbc78(_0x59ca86._0x31278f,0x35c,_0x59ca86._0x4cf1d6,_0x59ca86._0x7a23a3)][_0x3bbc78(0x1f5,0xe6,0x2f5,_0x59ca86._0x25b39e)]:_0x3bbc78(_0x59ca86._0x532a92,_0x59ca86._0x4e4f,0x1cc,0x21b);default:return _0x3bbc78(0x1f0,_0x59ca86._0x236cdb,0x2c8,_0x59ca86._0x26581e);}},'renderResult':null,'collapsedByDefault':!0x0},'skill':{'displayName':_0x286169(0x4c4,0x53f,0x550,0x60d),'statusText':{'success':_0x120ca0(0x4ef,0x4fc,0x625,0x5f6),'error':_0x120ca0(0x4d6,0x547,0x500,0x4f3)},'renderResult':null,'renderParams':null,'renderStatus':null},'ask_user_tool':{'displayName':'Ask\x20user','statusText':{'success':_0x120ca0(0x4ec,0x524,0x5d5,0x5f6),'error':_0x286169(0x3e4,0x4b4,0x4a7,0x37a)},'hideUntilComplete':!0x0,'renderParams':null,'renderResult':Lo['result']}},Ci={'displayName':'','statusText':{'success':_0x120ca0(0x49c,0x623,0x677,0x5f6),'error':_0x286169(0x51c,0x4b4,0x3f8,0x430)}};function Qt(_0x153b80){let _0x30772b=Eo[_0x153b80];return _0x30772b||{...Ci,'displayName':_0x153b80};}function Gt(_0x3aa19c){const _0x65cf={_0xc96299:0x132,_0xab1d4d:0x124},_0x5f4a1e={_0x478685:0x13c};function _0x49956f(_0x3544e2,_0x4d40a5,_0x18d581,_0x31ff93){return _0x286169(_0x3544e2-_0x5f4a1e._0x478685,_0x4d40a5- -0x252,_0x31ff93,_0x31ff93-0x14e);}let _0x59c657=Eo[_0x3aa19c];if(!_0x59c657)return _0x3aa19c;let _0x14692e=_0x59c657[_0x49956f(_0x65cf._0xc96299,0x23d,_0x65cf._0xab1d4d,0x1f9)];return typeof _0x14692e=='function'?_0x3aa19c:_0x14692e||_0x3aa19c;}function St(_0x3c8e0c,_0x1b7164){const _0x461991={_0x2ad562:0x595,_0x5505f5:0x4ec,_0x57e66c:0x182,_0xf869f7:0xd0,_0x195b13:0x1db,_0x58b2c9:0x1c,_0x25d1b1:0x213,_0x52c694:0x134,_0x1545a3:0xc8,_0x1b16b6:0x5f,_0xb8a8e5:0x2a0,_0x56bf0d:0x1b2,_0x5391e9:0xbc,_0x599d7b:0x48a,_0x43fc5c:0x7,_0x2a0d58:0xc3,_0x16c568:0x79,_0x13ece5:0x6f,_0x45788d:0x51,_0x3aa1df:0x3c4,_0x23aba0:0x51d,_0x157cbb:0x43,_0x13697d:0x15,_0x2d9276:0x4a6,_0x4a3960:0x4b,_0xcfd8e6:0x128},_0x573c3a={_0x38da3d:0x1bf},_0x24265b={_0x572e66:0x53d,_0x47124e:0x12c};function _0x1ce342(_0xe34b76,_0x3384d2,_0x46695e,_0x5ae3f7){return _0x286169(_0xe34b76-0x160,_0xe34b76- -_0x24265b._0x572e66,_0x5ae3f7,_0x5ae3f7-_0x24265b._0x47124e);}let _0x1d2c54=Eo[_0x3c8e0c];function _0x1c5496(_0x441397,_0xce1760,_0x20e846,_0x5632b0){return _0x120ca0(_0x441397,_0xce1760-_0x573c3a._0x38da3d,_0x20e846-0xea,_0x20e846- -0xab);}if(_0x1d2c54)switch(_0x1b7164){case _0x1c5496(0x599,_0x461991._0x2ad562,_0x461991._0x5505f5,0x3a8):if(_0x1d2c54[_0x1ce342(-0xd0,0x69,-_0x461991._0x57e66c,-0xc1)]===null)return()=>null;if(_0x1d2c54['renderHeader'])return _0x1d2c54[_0x1ce342(-_0x461991._0xf869f7,-_0x461991._0x195b13,_0x461991._0x58b2c9,-_0x461991._0x25d1b1)];break;case _0x1ce342(-0x175,-0x2b3,-0x90,-0x7e):if(_0x1d2c54['renderParams']===null)return()=>null;if(_0x1d2c54[_0x1ce342(-_0x461991._0x52c694,-_0x461991._0x1545a3,-0x129,-_0x461991._0x1b16b6)])return _0x1d2c54[_0x1c5496(0x2f6,0x2a1,0x39d,_0x461991._0xb8a8e5)];break;case _0x1ce342(-_0x461991._0x56bf0d,-_0x461991._0x5391e9,-0x1aa,-0x2a9):if(_0x1d2c54[_0x1c5496(0x3b3,_0x461991._0x599d7b,0x4ca,0x45b)]===null)return()=>null;if(_0x1d2c54[_0x1ce342(-_0x461991._0x43fc5c,_0x461991._0x2a0d58,_0x461991._0x16c568,0x4c)])return _0x1d2c54[_0x1ce342(-_0x461991._0x43fc5c,-0x131,-_0x461991._0x13ece5,-_0x461991._0x45788d)];break;case _0x1c5496(_0x461991._0x3aa1df,0x42b,_0x461991._0x23aba0,0x463):if(_0x1d2c54[_0x1ce342(_0x461991._0x157cbb,-0xa,_0x461991._0x13697d,0x78)]===null)return()=>null;if(_0x1d2c54[_0x1c5496(_0x461991._0x2d9276,0x4f3,0x514,0x435)])return _0x1d2c54['renderStatus'];break;}switch(_0x1b7164){case _0x1ce342(0x1b,_0x461991._0x4a3960,0x95,-_0x461991._0xcfd8e6):return Yn;case'params':return Xn;case'result':return Jn;case'status':return Zn;}}function nr(_0x1dab37,_0x56ffab=0x5){const _0x52cbb9={_0x4444be:0x37c,_0x2d5aa6:0x490},_0x5dda93={_0x28e6d6:0x1e6},_0x577ee8={_0x59a2b8:0x106,_0x2d6c0e:0x6a};function _0x5a059a(_0x35e9cd,_0x19829,_0x4214f3,_0x5a9ba1){return _0x286169(_0x35e9cd-_0x577ee8._0x59a2b8,_0x4214f3- -_0x577ee8._0x2d6c0e,_0x5a9ba1,_0x5a9ba1-0x169);}let _0x31c32a=_0x1dab37[_0x2359ba(0x392,0x484,_0x52cbb9._0x4444be,_0x52cbb9._0x2d5aa6)]('\x0a')['slice'](-_0x56ffab)[_0x2359ba(0x2f3,0x2fc,0x384,0x2c3)](_0x40025e=>_0x40025e===''?'\x20':_0x40025e);if(_0x31c32a['length']>=_0x56ffab)return _0x31c32a;function _0x2359ba(_0xf73ad,_0x4b0005,_0x596af8,_0xf65c93){return _0x286169(_0xf73ad-_0x5dda93._0x28e6d6,_0xf65c93- -0xf7,_0xf73ad,_0xf65c93-0x178);}let _0x554f1a=_0x56ffab-_0x31c32a[_0x5a059a(0x490,0x45c,0x4ff,0x4b8)];return[...Array['from']({'length':_0x554f1a},()=>'\x20'),..._0x31c32a];}import{jsx as _0x26b073,jsxs as _0x4d2fea}from'react/jsx-runtime';var Do=({toolCall:_0x28fe4b,toolResult:_0x5dc983,toolState:_0x1b7a90,messageId:_0x535a13,streamingOutput:_0x20f12c,streamingTotalLines:_0x168d44})=>{const _0x1de42b={_0x4077cd:0x388,_0x440942:0x46a,_0x110dbb:0x3dd,_0x292050:0x250,_0x583b8a:0x353,_0x4b7451:0x5e1,_0x4e76a1:0x2ec,_0x5234dd:0x3ed,_0x331ff1:0x4df,_0xffb0b6:0x2b4,_0x8c9672:0x2f2,_0xa7b8a3:0x30c,_0x392e2a:0x126,_0x1455af:0x36c,_0x3ed15b:0x36e,_0x4c163b:0x2ed,_0x44757a:0x307,_0x2b2a6d:0x2ea,_0x4af75a:0x284,_0x2bbc83:0x357,_0x5c210e:0x320,_0x285f02:0x325,_0x5bb7fe:0x359,_0x3b3fd5:0x4ad,_0x4437c1:0x28e,_0x5a3e2:0x34d,_0x5828e4:0x298,_0x1fc207:0xd4,_0x301bb4:0x14a,_0x2e46c3:0x44f,_0x39a8d8:0x212,_0x4d9acc:0x217,_0x1bcb47:0x302,_0x244dfb:0x2be,_0x3568b4:0x4f7,_0x439ed2:0x35d,_0x56cbeb:0x2ca,_0x43a048:0x1e4,_0x2d4c48:0x2a1,_0x327fc9:0xfc,_0xac8c8b:0x163,_0x5a8e7a:0x350,_0x158e0a:0x3b6,_0x246597:0x3cc,_0x31697a:0x2f9,_0x2a9d54:0x1ea,_0x5106f5:0x1d2,_0x2ecaad:0x419,_0x17db63:0x32b,_0x387613:0x225,_0x367470:0x135,_0x1b6724:0x1fb,_0x1e520d:0x304,_0xe69195:0x231,_0x200331:0xf0,_0xdbe685:0x1be,_0x4d4139:0x2c7,_0x1d5b7f:0x286,_0x3d867c:0x23b},_0x4bb87f={_0x5a8530:0x1b6,_0x94b929:0x1cf,_0x44a9bc:0xc8},_0x415813={_0x4dd054:0x240};let {theme:_0x3d14af}=_0x259d06(),{pendingApprovalTools:_0x540d98}=_0x3b4d2e(),{cols:_0xb16f87}=_0x3ce95d();function _0x2c4220(_0x29a8aa,_0x153b4c,_0xece86c,_0x55a2b1){return _0x120ca0(_0x55a2b1,_0x153b4c-0x3c,_0xece86c-0x3e,_0xece86c- -_0x415813._0x4dd054);}if(_0x540d98[_0x4afee5(0x2e7,0x34b,0x2ac,_0x1de42b._0x4077cd)](_0x2c16fa=>_0x2c16fa['id']===_0x28fe4b['id']))return null;let _0x25bad8=_0x28fe4b[_0x4afee5(_0x1de42b._0x440942,0x4ec,0x41b,0x557)][_0x4afee5(_0x1de42b._0x110dbb,_0x1de42b._0x292050,0x1fc,_0x1de42b._0x583b8a)],_0x1ef9f4=Qt(_0x25bad8),_0x5ed078=_0x41f87a(_0x28fe4b[_0x4afee5(_0x1de42b._0x4b7451,0x4ce,0x608,0x557)]['arguments']),_0x41515f=_0x5dc983?.[_0x2c4220(0x254,0x3e3,0x36e,_0x1de42b._0x4e76a1)]?.[_0x4afee5(0x5e9,_0x1de42b._0x5234dd,0x5f6,0x547)];if(_0x1ef9f4[_0x4afee5(0x56a,0x5fa,0x531,_0x1de42b._0x331ff1)]&&_0x1b7a90===_0x2c4220(0x3ee,_0x1de42b._0xffb0b6,_0x1de42b._0x8c9672,0x3d9))return null;if(_0x25bad8===_0x2c4220(_0x1de42b._0xa7b8a3,_0x1de42b._0x392e2a,0x1b5,0x259)){let _0x4bc6a4=_0x41515f?.[_0x2c4220(0x38a,_0x1de42b._0x1455af,_0x1de42b._0x3ed15b,0x2a4)];if(!(_0x4bc6a4?.['answers']&&Object['keys'](_0x4bc6a4[_0x2c4220(_0x1de42b._0x4c163b,_0x1de42b._0x44757a,_0x1de42b._0x2b2a6d,0x1fb)])['length']>0x0))return null;}let _0x121160={'toolCall':_0x28fe4b,'toolResult':_0x41515f,'toolState':_0x1b7a90,'args':_0x5ed078,'theme':_0x3d14af,'cols':_0xb16f87,'config':_0x1ef9f4},_0x474a28=St(_0x25bad8,_0x2c4220(0x408,_0x1de42b._0x4af75a,_0x1de42b._0x2bbc83,0x3e1)),_0x19047d=St(_0x25bad8,'params'),_0x42d8ef=St(_0x25bad8,'result'),_0x117bf9=St(_0x25bad8,'status'),_0x592bec=ge(_0x1b7a90,_0x3d14af),_0x22c596=_0x1b7a90===_0x4afee5(_0x1de42b._0x5c210e,0x32e,_0x1de42b._0x285f02,0x46a),_0xb6e1e8=_0x1ef9f4[_0x4afee5(0x567,0x35a,_0x1de42b._0x5bb7fe,_0x1de42b._0x3b3fd5)]!==void 0x0&&_0x1ef9f4['renderResult']!==null,_0x12d829=!_0x22c596&&_0x1b7a90!==_0x2c4220(_0x1de42b._0x4437c1,_0x1de42b._0x5a3e2,_0x1de42b._0x5828e4,0x349)&&_0x1b7a90!==_0x2c4220(_0x1de42b._0x1fc207,_0x1de42b._0x301bb4,0x20a,0x367)&&!_0x1ef9f4[_0x4afee5(0x3ba,0x45d,0x358,_0x1de42b._0x2e46c3)]&&(_0x41515f?.[_0x4afee5(_0x1de42b._0x39a8d8,_0x1de42b._0x4d9acc,0x261,_0x1de42b._0x1bcb47)]||_0xb6e1e8),_0xe5171f=_0x5dc983?.['metadata']?.[_0x2c4220(0x57,0x8a,0x16a,_0x1de42b._0x244dfb)],_0x593fae=_0x1ef9f4[_0x4afee5(0x488,0x440,0x4d9,_0x1de42b._0x3568b4)]!==null,_0x2d16f0=_0x20f12c?nr(_0x20f12c,0x5):[];function _0x4afee5(_0x289fa8,_0x46e3d8,_0x3abaa8,_0x18f072){return _0x120ca0(_0x289fa8,_0x46e3d8-_0x4bb87f._0x5a8530,_0x3abaa8-_0x4bb87f._0x94b929,_0x18f072- -_0x4bb87f._0x44a9bc);}return _0x4d2fea(_0x4824d2,{'flexDirection':_0x2c4220(_0x1de42b._0x439ed2,0x212,0x2a1,0x375),'width':_0xb16f87-0x2,'overflow':'hidden','children':[_0x474a28(_0x121160),_0x19047d(_0x121160),_0x593fae&&_0x22c596&&_0x25bad8!==_0x2c4220(0xb7,0x91,0x1b5,0x1c9)&&(_0x20f12c?_0x4d2fea(_0x4824d2,{'flexDirection':_0x2c4220(_0x1de42b._0x56cbeb,_0x1de42b._0x43a048,_0x1de42b._0x2d4c48,0x2dd),'marginLeft':0x2,'children':[_0x4d2fea(_0x4824d2,{'flexDirection':_0x2c4220(0xde,_0x1de42b._0x327fc9,_0x1de42b._0xac8c8b,0xa5),'children':[_0x26b073(_0x5345e4,{'dimColor':!0x0,'color':_0x592bec,'children':_0x2c4220(0x118,0x23a,0x223,0x146)}),_0x4d2fea(_0x5345e4,{'children':[_0x4afee5(0x3c5,0x2f4,_0x1de42b._0x5a8e7a,_0x1de42b._0x158e0a),_0x168d44??0x0,_0x4afee5(_0x1de42b._0x246597,0x266,0x26a,_0x1de42b._0x31697a)]}),_0x26b073(_0x4824d2,{'marginLeft':0x1,'children':_0x26b073(bt,{'hasResult':!0x1,'finalDuration':_0xe5171f})})]}),_0x26b073(_0x4824d2,{'marginLeft':0x3,'borderStyle':_0x2c4220(_0x1de42b._0x2a9d54,_0x1de42b._0x5106f5,0x2ef,0x249),'borderDimColor':!0x0,'borderColor':_0x592bec,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'children':_0x26b073(_0x51e72b,{'maxHeight':0x5,'showScrollbar':!0x1,'children':_0x26b073(_0x4824d2,{'flexDirection':_0x4afee5(0x3d3,0x526,0x37a,_0x1de42b._0x2ecaad),'children':_0x2d16f0['map']((_0x5ba314,_0x25bcf5)=>_0x26b073(_0x5345e4,{'dimColor':!0x0,'wrap':'truncate','children':_0x5ba314},_0x25bcf5))})})})]}):_0x4d2fea(_0x4824d2,{'flexDirection':'row','marginLeft':0x2,'children':[_0x4d2fea(_0x5345e4,{'dimColor':!0x0,'color':_0x592bec,'children':['└─','\x20']}),_0x26b073(_0x5345e4,{'children':_0x2c4220(_0x1de42b._0x17db63,0x38d,0x2f6,0x1ce)}),_0x26b073(_0x4824d2,{'marginLeft':0x1,'children':_0x26b073(bt,{'hasResult':!0x1,'finalDuration':_0xe5171f})})]})),_0x593fae&&_0x1b7a90===_0x2c4220(_0x1de42b._0x387613,0x399,0x298,0x238)&&_0x26b073(_0x4824d2,{'flexDirection':_0x2c4220(_0x1de42b._0x367470,0x2c1,0x163,_0x1de42b._0x1b6724),'marginLeft':0x2,'children':_0x26b073(_0x5345e4,{'dimColor':!0x0,'color':_0x3d14af['colors'][_0x2c4220(0x14a,_0x1de42b._0x1e520d,_0x1de42b._0xe69195,0x2a0)],'children':_0x2c4220(0x20b,0xd8,0x21f,_0x1de42b._0x200331)})}),_0x593fae&&_0x1b7a90===_0x2c4220(_0x1de42b._0xdbe685,_0x1de42b._0x4d4139,0x20a,0x33b)&&_0x26b073(_0x4824d2,{'flexDirection':'row','marginLeft':0x2,'children':_0x26b073(_0x5345e4,{'dimColor':!0x0,'color':_0x3d14af['colors'][_0x4afee5(_0x1de42b._0x1d5b7f,0x47b,0x4d7,0x3a9)],'children':'└─\x20Edited'})}),_0x12d829&&_0x42d8ef(_0x121160),_0x593fae&&!_0x22c596&&_0x1b7a90!=='denied'&&_0x1b7a90!==_0x4afee5(_0x1de42b._0x3d867c,0x39f,0x3bd,0x382)&&_0x41515f&&_0x117bf9(_0x121160)]});};import{Box as _0x237dc9,Text as _0x494e11}from'ink';import{parseToolArguments as _0x4655a7,isAssignSuccess as _0x3d1538}from'@nuvin/nuvin-core';import{useEffect as _0x575c4a,useMemo as _0x4b7fbe,useState as _0x33e0fe}from'react';import{Text as _0x13f320,Box as _0x449730}from'ink';import _0x50d9b4 from'chalk';import{jsx as _0x51a71c}from'react/jsx-runtime';var Mi=0.5,Ii=0x3,Ai=1.2,qt=_0x120ca0(0x559,0x350,0x3d4,0x4a3),ir=({text:_0x2c7916,speedMs:_0x312ab8=0xa0,span:_0x32bafd=0x2,stops:_0x2ec933=[_0x286169(0x3ec,0x3aa,0x3b2,0x49a),_0x286169(0x426,0x3df,0x291,0x2c8),_0x120ca0(0x377,0x39e,0x2dd,0x3a6)],disabled:_0x205096=!0x1})=>{const _0x6b34d9={_0x466845:0x586,_0x45d4d3:0x51a,_0x246500:0x3fa,_0x33b8cc:0x42c},_0x3162d6={_0x2ea183:0xaf,_0x55c4b4:0x16a,_0x34d0c8:0x22},_0x5dc38f={_0x3b494d:0xde,_0x3054d0:0x5e,_0x3735fe:0x7a,_0x5f26e3:0x119,_0x497125:0x252,_0x36a7e4:0x19a},_0x1ad9f6={_0x1ee6ef:0x1c8},_0x427938={_0x4eed23:0x441,_0x461ba6:0x35d,_0x1b8f0c:0x438},_0x312f92={_0x31bb74:0x150,_0x234c75:0xda,_0x4a2662:0x257,_0x93a5d9:0x236,_0x5e326f:0x277},_0x1d587c={_0x20026b:0x4db,_0xd090e4:0x88};function _0x444c27(_0x2c3caf,_0x43f64a,_0x3ac8b9,_0x3949b8){return _0x286169(_0x2c3caf-0xdf,_0x43f64a- -_0x1d587c._0x20026b,_0x3949b8,_0x3949b8-_0x1d587c._0xd090e4);}let _0x19403a=_0x4b7fbe(()=>[..._0x2c7916],[_0x2c7916]),[_0x5cf2a4,_0x4d91f9]=_0x33e0fe(0x0),_0x4bce13=_0x4b7fbe(()=>Bi(_0x2ec933,_0x19403a[_0x444c27(0x63,0x8e,0x11a,0x1da)]),[_0x2ec933,_0x19403a[_0x214935(_0x6b34d9._0x466845,0x596,0x4d8,_0x6b34d9._0x45d4d3)]]);_0x575c4a(()=>{const _0xea3959={_0x336c52:0x433},_0x50af56={_0x2ae633:0x3c,_0x593edd:0x35e},_0x1cb02a={_0x42da7d:0x5,_0x477478:0xbb,_0x117bd0:0x382};if(_0x205096)return;let _0x9b6faa=Date[_0x2ff50a(_0x427938._0x4eed23,0x561,_0x427938._0x461ba6,_0x427938._0x1b8f0c)](),_0x5172ee=setInterval(()=>{let _0x33cbb7=Date[_0x5d7a95(_0x312f92._0x31bb74,_0x312f92._0x234c75,0x5d,0x16a)]()-_0x9b6faa;function _0x754b3(_0xc0b2df,_0x4d5e3f,_0x46e7a4,_0x1f1108){return _0x2ff50a(_0xc0b2df-_0x1cb02a._0x42da7d,_0x4d5e3f-_0x1cb02a._0x477478,_0x1f1108,_0xc0b2df- -_0x1cb02a._0x117bd0);}function _0x5d7a95(_0x551bec,_0x3bed60,_0x5158bf,_0x448e00){return _0x2ff50a(_0x551bec-_0x50af56._0x2ae633,_0x3bed60-0x15,_0x448e00,_0x3bed60- -_0x50af56._0x593edd);}_0x4d91f9(_0x33cbb7/_0x312ab8%_0x19403a[_0x754b3(0x13f,_0x312f92._0x4a2662,_0x312f92._0x93a5d9,_0x312f92._0x5e326f)]);},0x10);function _0x2ff50a(_0x4d9197,_0xa44fc2,_0x388ec5,_0x3bf40f){return _0x444c27(_0x4d9197-0x164,_0x3bf40f-_0xea3959._0x336c52,_0x388ec5-0xcd,_0x388ec5);}return()=>clearInterval(_0x5172ee);},[_0x19403a['length'],_0x312ab8,_0x205096]);let _0x4c2646=_0x4b7fbe(()=>_0x19403a[_0x214935(0x3d7,0x370,0x2df,0x3e0)]((_0x42b62a,_0x2ed996)=>{function _0x2081db(_0x5b0ec1,_0x51c476,_0x11a2cc,_0x21699a){return _0x444c27(_0x5b0ec1-0x1ac,_0x51c476- -0xec,_0x11a2cc-0xce,_0x11a2cc);}if(_0x205096)return{'char':_0x42b62a,'style':_0x50d9b4['hex'](_0x4bce13[_0x2ed996])(_0x42b62a)};function _0x3161ec(_0x135751,_0x35a9bb,_0x268862,_0x5dca65){return _0x214935(_0x35a9bb- -0x423,_0x35a9bb-0x1cf,_0x135751,_0x5dca65-_0x1ad9f6._0x1ee6ef);}let _0x1cf6e8=Di(_0x2ed996,_0x5cf2a4,_0x19403a[_0x2081db(_0x5dc38f._0x3b494d,-_0x5dc38f._0x3054d0,-0x98,_0x5dc38f._0x3735fe)]),_0x2735f8=Ni(_0x1cf6e8,_0x32bafd),_0x46731a=_0x4bce13[_0x2ed996],_0x5bfda3=Li(_0x46731a,_0x2735f8*Mi),_0x280c2f=_0x50d9b4[_0x2081db(-0x138,-_0x5dc38f._0x5f26e3,-_0x5dc38f._0x497125,-_0x5dc38f._0x36a7e4)](_0x5bfda3),_0x41a9e0=_0x2735f8>0.6?_0x280c2f['bold'](_0x42b62a):_0x280c2f(_0x42b62a);return{'char':_0x42b62a,'style':_0x41a9e0};}),[_0x19403a,_0x5cf2a4,_0x4bce13,_0x32bafd,_0x205096]);function _0x214935(_0x3c3e8e,_0x18ba04,_0x2f3bf7,_0x3287d8){return _0x120ca0(_0x2f3bf7,_0x18ba04-_0x3162d6._0x2ea183,_0x2f3bf7-_0x3162d6._0x55c4b4,_0x3c3e8e- -_0x3162d6._0x34d0c8);}return _0x51a71c(_0x449730,{'flexDirection':'row','children':_0x4c2646[_0x214935(0x3d7,0x48c,_0x6b34d9._0x246500,_0x6b34d9._0x33b8cc)]((_0x2fb650,_0x34ac7b)=>_0x51a71c(_0x13f320,{'children':_0x2fb650[_0x444c27(-0x14a,-0x61,-0x189,0x13)]},_0x2fb650['char']+'-'+_0x34ac7b))});};function Bi(_0x5bfa77,_0x581e63){const _0x41da3c={_0x5798f6:0x2c8,_0xaaab71:0x1ed,_0x13c88f:0x16b,_0x4fa322:0x10b,_0x2a94a6:0x139,_0x2391de:0x5c,_0x4f7ebb:0x378,_0xc01ae4:0x2f8},_0x6bd5ad={_0x151814:0x17e,_0x313ba6:0x12d},_0x556be3={_0x161a8f:0x1ac};if(_0x5bfa77['length']===0x0)return Array(Math[_0x58284e(_0x41da3c._0x5798f6,0x160,_0x41da3c._0xaaab71,_0x41da3c._0x13c88f)](0x1,_0x581e63))['fill'](qt);if(_0x581e63<=0x1)return[_0x5bfa77[_0x5bfa77[_0x8690c0(_0x41da3c._0x4fa322,0x4,_0x41da3c._0x2a94a6,0x95)]-0x1]??qt];let _0x47fe6c=_0x5bfa77[_0x8690c0(_0x41da3c._0x2a94a6,0x4,-0x116,-_0x41da3c._0x2391de)]-0x1;function _0x58284e(_0x21ebd6,_0x41001b,_0x1de84a,_0x207c8b){return _0x286169(_0x21ebd6-_0x556be3._0x161a8f,_0x207c8b- -0x255,_0x21ebd6,_0x207c8b-0xca);}function _0x8690c0(_0x502b2a,_0x2b5dc9,_0x3f938b,_0x3cdcce){return _0x286169(_0x502b2a-_0x6bd5ad._0x151814,_0x2b5dc9- -0x565,_0x3cdcce,_0x3cdcce-_0x6bd5ad._0x313ba6);}return Array[_0x58284e(_0x41da3c._0x4f7ebb,0x308,_0x41da3c._0xc01ae4,0x3a4)]({'length':_0x581e63},(_0x54e338,_0x5c678d)=>{let _0x9d645a=_0x5c678d/(_0x581e63-0x1),_0x546c03=Math['min'](_0x47fe6c-0x1,Math['floor'](_0x9d645a*_0x47fe6c)),_0x470f30=(_0x9d645a-_0x546c03/_0x47fe6c)*_0x47fe6c;return Pi(_0x5bfa77[_0x546c03],_0x5bfa77[_0x546c03+0x1],Ei(_0x470f30));});}function Pi(_0x2e9d75,_0x506cb9,_0x7d7864){const _0x197ea0={_0x265436:0x527,_0x256354:0x4ab,_0x564b33:0x4c3,_0x1bd4b2:0x48c,_0x5df800:0x5c3,_0xc0594:0x464},_0x1fe7db={_0x339e57:0x30,_0x72f399:0x293,_0x1625d7:0x16},_0x46f1aa={_0x45af95:0xf1,_0x106b1e:0x1bd};function _0x4e7e54(_0x6a0e43,_0x36dd2c,_0x4dc521,_0x1cb8a6){return _0x286169(_0x6a0e43-0x1bd,_0x4dc521-_0x46f1aa._0x45af95,_0x36dd2c,_0x1cb8a6-_0x46f1aa._0x106b1e);}function _0x571948(_0x38d1ce,_0x2ca55e,_0xeb7a13,_0xa37276){return _0x286169(_0x38d1ce-_0x1fe7db._0x339e57,_0x2ca55e- -_0x1fe7db._0x72f399,_0xeb7a13,_0xa37276-_0x1fe7db._0x1625d7);}let _0xdba783=_0x2e9d75||qt,_0x4fd0f2=_0x506cb9||qt,[_0x2de22b,_0x44133f,_0x13569b]=Oo(_0xdba783),[_0x183279,_0x1aa340,_0x5493c1]=Oo(_0x4fd0f2),_0x3ea9e5=Math[_0x4e7e54(_0x197ea0._0x265436,_0x197ea0._0x256354,0x464,_0x197ea0._0x564b33)](_0x2de22b+(_0x183279-_0x2de22b)*_0x7d7864),_0x19a6f1=Math['round'](_0x44133f+(_0x1aa340-_0x44133f)*_0x7d7864),_0x429544=Math[_0x4e7e54(_0x197ea0._0x1bd4b2,_0x197ea0._0x5df800,_0x197ea0._0xc0594,0x4c3)](_0x13569b+(_0x5493c1-_0x13569b)*_0x7d7864);return ar(_0x3ea9e5,_0x19a6f1,_0x429544);}function Li(_0x401786,_0x4a41f4){const _0x2cd38d={_0x5f2536:0x483,_0x3a00a0:0x581,_0x2cad91:0xa9},_0x39593f={_0x5a153f:0xd0},_0x1f35c6={_0x117794:0xec};let [_0x655f4c,_0x2cf9cf,_0xa2ee23]=Oo(_0x401786),_0x13d8ef=Math['round'](_0x655f4c+(0xff-_0x655f4c)*_0x4a41f4),_0x373220=Math[_0xcc76a6(_0x2cd38d._0x5f2536,_0x2cd38d._0x3a00a0,0x5cf,0x5d3)](_0x2cf9cf+(0xff-_0x2cf9cf)*_0x4a41f4),_0x519e58=Math[_0x42ea07(-0x1b1,-_0x2cd38d._0x2cad91,-0x1c0,-0xd8)](_0xa2ee23+(0xff-_0xa2ee23)*_0x4a41f4);function _0x42ea07(_0x337462,_0xea98ff,_0x52f50c,_0x203841){return _0x286169(_0x337462-0x52,_0x52f50c- -0x533,_0xea98ff,_0x203841-_0x1f35c6._0x117794);}function _0xcc76a6(_0xfef32a,_0x3ab117,_0x41eecf,_0xe08436){return _0x286169(_0xfef32a-0x15b,_0xfef32a-0x110,_0x3ab117,_0xe08436-_0x39593f._0x5a153f);}return ar(_0x13d8ef,_0x373220,_0x519e58);}function Oo(_0x28f97b){const _0x2af74f={_0x27b372:0x6,_0x504fcd:0x2c,_0x58f8b0:0x198,_0x4e80ff:0x82,_0x48daa1:0x19c,_0x77ecf3:0xff,_0x3ea5fc:0x230,_0x31a761:0x259,_0x22ffb3:0x7ab,_0x43f569:0x763,_0x7c342b:0x704,_0x19b5fb:0x4fd,_0x54e384:0x455,_0x4ba978:0x709,_0x36f54d:0x158,_0x9183b:0x27a,_0x43b634:0x72d,_0x2a5b62:0x6e5,_0xf0eba8:0x58b,_0xe5cf39:0x56b,_0x50e80b:0x60a,_0x49206f:0x744,_0x1e69d4:0x733,_0x21a5d5:0x790,_0x357497:0x739,_0x3cad1a:0x280,_0xc9c011:0x1e5,_0x13abab:0x163,_0xa17bb5:0x2e,_0x2d8028:0x15c,_0x1b8aba:0x466,_0xc824b8:0x284,_0x2df180:0x8,_0x2f9295:0x12c},_0x1c157f={_0x4874c9:0x57,_0x56c5f8:0x481},_0x1a25c7={_0x5df40:0x1c3};function _0x4ea5c3(_0x8a91d0,_0x5ab165,_0x388543,_0x5eec7e){return _0x286169(_0x8a91d0-_0x1a25c7._0x5df40,_0x388543-0x19b,_0x8a91d0,_0x5eec7e-0xb4);}if(!_0x28f97b||typeof _0x28f97b!=_0x2aed50(_0x2af74f._0x27b372,_0x2af74f._0x504fcd,_0x2af74f._0x58f8b0,_0x2af74f._0x4e80ff))return console[_0x2aed50(-_0x2af74f._0x48daa1,-0x140,-_0x2af74f._0x77ecf3,-0xe9)]('Invalid\x20hex\x20color:\x20'+_0x28f97b+_0x2aed50(_0x2af74f._0x3ea5fc,_0x2af74f._0x31a761,0x19b,0x163)),[0xff,0xff,0xff];let _0x1bba6f=_0x28f97b['replace']('#','');function _0x2aed50(_0x3b3f24,_0x83ea20,_0x36deed,_0x203b49){return _0x120ca0(_0x3b3f24,_0x83ea20-_0x1c157f._0x4874c9,_0x36deed-0x158,_0x203b49- -_0x1c157f._0x56c5f8);}if(_0x1bba6f[_0x4ea5c3(_0x2af74f._0x22ffb3,_0x2af74f._0x43f569,_0x2af74f._0x7c342b,0x84a)]!==0x6)return console[_0x4ea5c3(_0x2af74f._0x19b5fb,0x492,0x4f4,_0x2af74f._0x54e384)](_0x4ea5c3(0x719,0x73c,_0x2af74f._0x4ba978,0x6be)+_0x28f97b+_0x2aed50(0x87,_0x2af74f._0x36f54d,_0x2af74f._0x9183b,0x163)),[0xff,0xff,0xff];let _0x162894=parseInt(_0x1bba6f[_0x4ea5c3(_0x2af74f._0x43b634,_0x2af74f._0x2a5b62,0x60a,0x533)](0x0,0x2),0x10),_0x53ce81=parseInt(_0x1bba6f[_0x4ea5c3(0x67c,0x5a6,0x60a,_0x2af74f._0xf0eba8)](0x2,0x4),0x10),_0x48d0b5=parseInt(_0x1bba6f[_0x4ea5c3(0x504,_0x2af74f._0xe5cf39,_0x2af74f._0x50e80b,_0x2af74f._0x49206f)](0x4,0x6),0x10);return Number[_0x4ea5c3(_0x2af74f._0x1e69d4,_0x2af74f._0x21a5d5,_0x2af74f._0x357497,0x6e5)](_0x162894)||Number[_0x2aed50(0x73,_0x2af74f._0x3cad1a,_0x2af74f._0xc9c011,0x15c)](_0x53ce81)||Number[_0x2aed50(0x1ff,_0x2af74f._0x13abab,_0x2af74f._0xa17bb5,_0x2af74f._0x2d8028)](_0x48d0b5)?(console[_0x4ea5c3(0x3f1,_0x2af74f._0x1b8aba,0x4f4,0x418)](_0x2aed50(0x238,_0x2af74f._0xc824b8,_0x2af74f._0x2df180,_0x2af74f._0x2f9295)+_0x28f97b+',\x20falling\x20back\x20to\x20white'),[0xff,0xff,0xff]):[_0x162894,_0x53ce81,_0x48d0b5];}function ar(_0x4d3bcc,_0x7d0b00,_0x1c9a03){const _0x461e8f={_0x1c2759:0x260},_0x306e59={_0x3b2dfd:0x88,_0x75057c:0xe1};function _0x133158(_0x5e87d3,_0xb76c96,_0x44f483,_0x253614){return _0x286169(_0x5e87d3-0x14c,_0xb76c96- -0x18a,_0x253614,_0x253614-0x1d1);}function _0x1bd4fe(_0x57ab42,_0x2926dc,_0x3bac54,_0x264bbc){return _0x286169(_0x57ab42-_0x306e59._0x3b2dfd,_0x3bac54- -0x1d6,_0x2926dc,_0x264bbc-_0x306e59._0x75057c);}return'#'+[_0x4d3bcc,_0x7d0b00,_0x1c9a03][_0x1bd4fe(0x293,0x2a8,0x1e4,_0x461e8f._0x1c2759)](_0x18e4aa=>Math[_0x133158(0x213,0x302,0x39c,0x2db)](0xff,Math['max'](0x0,_0x18e4aa))[_0x1bd4fe(0x195,0x3a5,0x2bb,0x3b5)](0x10)[_0x1bd4fe(0x4d3,0x466,0x3bc,0x2b2)](0x2,'0'))['join']('');}function Ei(_0x21fb5b){const _0xda63cf={_0x11b603:0x7b,_0xa3acd7:0x1c7},_0x1ee5c4={_0x2f81bb:0x46,_0x1e0071:0xf8};function _0x3ea732(_0x2d7ef4,_0x2f4696,_0x29861a,_0xea23ab){return _0x286169(_0x2d7ef4-_0x1ee5c4._0x2f81bb,_0x2d7ef4- -0x43b,_0x2f4696,_0xea23ab-_0x1ee5c4._0x1e0071);}return Math[_0x3ea732(-_0xda63cf._0x11b603,-_0xda63cf._0xa3acd7,-0x90,-0x1b1)](0x0,Math['min'](0x1,_0x21fb5b));}function Di(_0x4df9e8,_0x284b45,_0x82a2ff){const _0x56ccea={_0x253225:0x480,_0xce8420:0x3d3,_0x28b6e1:0x383,_0x3520b2:0x235},_0x125e92={_0x13b9c4:0x17,_0x56fca0:0x106};function _0x1a692b(_0x2fcdf5,_0x52ee1e,_0x4eb555,_0x198d19){return _0x286169(_0x2fcdf5-0x125,_0x4eb555-_0x125e92._0x13b9c4,_0x2fcdf5,_0x198d19-_0x125e92._0x56fca0);}let _0x29c208=Math[_0x1a692b(_0x56ccea._0x253225,_0x56ccea._0xce8420,_0x56ccea._0x28b6e1,_0x56ccea._0x3520b2)](_0x4df9e8-_0x284b45);return Math['min'](_0x29c208,_0x82a2ff-_0x29c208);}function Ni(_0x432f08,_0x33995c){const _0x4cdcb5={_0x28c6cc:0x262,_0x30e0f0:0x1f1,_0x371117:0x2ee,_0x2861f5:0x46d,_0x262af3:0x316,_0x254082:0x410},_0x2c31ec={_0x4064d9:0xcf,_0x109b45:0x1cf},_0x1e4efc={_0x592d23:0x88,_0x3b15c0:0x7c};function _0x4494da(_0x6df942,_0x15cd43,_0x52e6c0,_0x591e3f){return _0x286169(_0x6df942-_0x1e4efc._0x592d23,_0x6df942- -0x82,_0x591e3f,_0x591e3f-_0x1e4efc._0x3b15c0);}function _0x5b0f0d(_0x4c4e58,_0xd12ff5,_0x29388f,_0x42056b){return _0x286169(_0x4c4e58-_0x2c31ec._0x4064d9,_0x29388f- -_0x2c31ec._0x109b45,_0x42056b,_0x42056b-0x169);}let _0x58bbbd=Math[_0x5b0f0d(0x1b9,_0x4cdcb5._0x28c6cc,_0x4cdcb5._0x30e0f0,_0x4cdcb5._0x371117)](Ai,_0x33995c/Ii);return Math[_0x4494da(_0x4cdcb5._0x2861f5,_0x4cdcb5._0x262af3,_0x4cdcb5._0x254082,0x3b5)](-(_0x432f08*_0x432f08)/(0x2*_0x58bbbd*_0x58bbbd));}import{jsx as _0x1d0ccb,jsxs as _0x4d0513}from'react/jsx-runtime';var $i=(_0x1cf2f3,_0x4190cb)=>{const _0x3b8bdb={_0x13cf82:0x661,_0x1cd260:0x41b,_0x359866:0x2fd,_0x29ee04:0x329,_0x3bc73e:0x62f,_0x449e7c:0x681,_0x4cf4b1:0x527,_0x474811:0x4d9,_0xd993d:0x5c6,_0x5e29ab:0x641,_0x4f5f22:0x743,_0x237cde:0x64e,_0x7589f4:0x5fb,_0x458ee9:0x49c,_0x24b4d4:0x545,_0x1d60bf:0x59c,_0x46d4c1:0x356,_0x137fb6:0x3c3,_0x407aae:0x37b,_0x55599f:0x725,_0x2e4314:0x7e2,_0xb14bdd:0x744,_0x5062ac:0x4d0,_0x16b66e:0x5ee,_0x926975:0x534,_0x5e50bf:0x731,_0x724ce0:0x65b,_0x44d901:0x6bf,_0x12b6a5:0x6f9,_0x20e8cb:0x799,_0x1d73ae:0x492,_0x13fd21:0x504,_0xdb44e8:0x479,_0xb2cf7c:0x3ea,_0x48949a:0x5d1,_0x1de6bc:0x48e,_0x2fcfcc:0x43c,_0x3dde48:0x3f4,_0x32f743:0x600,_0x45ceb6:0x71d},_0x59fdfc={_0x4c2b2e:0x1d2,_0x341334:0x144},_0xec8b04={_0x36fbd6:0x159,_0x379383:0x1b};function _0x3cf10b(_0x450cd5,_0x20cb80,_0x4b7523,_0xe9b3e4){return _0x286169(_0x450cd5-_0xec8b04._0x36fbd6,_0x4b7523-_0xec8b04._0x379383,_0x450cd5,_0xe9b3e4-0xc2);}if(_0x3d1538(_0x1cf2f3)){let _0x26e782=[_0x3cf10b(_0x3b8bdb._0x13cf82,_0x3b8bdb._0x1cd260,0x508,0x53a)],_0x54d6c1=G(_0x1cf2f3,_0x3cf10b(0x50b,_0x3b8bdb._0x359866,0x3da,_0x3b8bdb._0x29ee04)),_0x13d26c=G(_0x1cf2f3,_0x3367f9(0x537,_0x3b8bdb._0x3bc73e,_0x3b8bdb._0x449e7c,_0x3b8bdb._0x4cf4b1)),_0x398e9f=G(_0x1cf2f3,_0x3cf10b(0x5af,_0x3b8bdb._0x474811,_0x3b8bdb._0xd993d,_0x3b8bdb._0x5e29ab));return _0x4190cb?(_0x26e782['push'](_0x4190cb['llmCallCount']+_0x3cf10b(0x46b,0x431,0x4fa,0x4c9)),_0x26e782[_0x3367f9(0x674,_0x3b8bdb._0x4f5f22,0x6bf,_0x3b8bdb._0x237cde)](_0x19b221(_0x4190cb[_0x3cf10b(_0x3b8bdb._0x7589f4,0x525,0x4d3,_0x3b8bdb._0x458ee9)])+_0x3cf10b(_0x3b8bdb._0x24b4d4,0x570,_0x3b8bdb._0x1d60bf,0x6e7)),_0x4190cb[_0x3cf10b(0x281,_0x3b8bdb._0x46d4c1,_0x3b8bdb._0x137fb6,_0x3b8bdb._0x407aae)]>0x0&&_0x26e782[_0x3367f9(_0x3b8bdb._0x55599f,_0x3b8bdb._0x2e4314,0x6bf,_0x3b8bdb._0xb14bdd)]('$'+_0x981d96(_0x4190cb[_0x3367f9(0x45b,0x5a6,0x54e,_0x3b8bdb._0x5062ac)])),_0x54d6c1&&_0x26e782[_0x3cf10b(0x620,_0x3b8bdb._0x16b66e,_0x3b8bdb._0x926975,0x627)](''+_0x3230b7(_0x54d6c1))):(_0x13d26c&&_0x26e782[_0x3367f9(_0x3b8bdb._0x5e50bf,_0x3b8bdb._0x724ce0,_0x3b8bdb._0x44d901,0x77d)](_0x13d26c+_0x3367f9(_0x3b8bdb._0x12b6a5,0x5e0,0x700,_0x3b8bdb._0x20e8cb)),_0x398e9f&&_0x26e782[_0x3cf10b(_0x3b8bdb._0x1d73ae,0x446,_0x3b8bdb._0x926975,_0x3b8bdb._0x13fd21)](_0x19b221(_0x398e9f)+'\x20tokens'),_0x54d6c1&&_0x26e782[_0x3cf10b(0x447,_0x3b8bdb._0xdb44e8,_0x3b8bdb._0x926975,0x468)](''+_0x3230b7(_0x54d6c1))),_0x26e782[_0x3367f9(0x639,_0x3b8bdb._0xb2cf7c,0x4fe,0x61a)](_0x3cf10b(0x3a8,_0x3b8bdb._0x48949a,_0x3b8bdb._0x1de6bc,0x460));}function _0x3367f9(_0x4b10b8,_0x551c74,_0x54355a,_0x40f676){return _0x286169(_0x4b10b8-_0x59fdfc._0x4c2b2e,_0x54355a-0x1a6,_0x4b10b8,_0x40f676-_0x59fdfc._0x341334);}return typeof _0x1cf2f3[_0x3367f9(_0x3b8bdb._0x2fcfcc,0x437,0x531,_0x3b8bdb._0x3dde48)]=='string'?_0x1cf2f3['result']:_0x3cf10b(0x672,0x53a,_0x3b8bdb._0x32f743,_0x3b8bdb._0x45ceb6);},Fi=(_0x2095c1,_0x5b4243)=>{const _0x3ace68={_0x3ea847:0x5a3,_0x5802e4:0x460,_0x8ba31c:0x3c7,_0x5e767e:0x2ac,_0x44f878:0x51b,_0x27f31a:0x58b,_0x37c25b:0x5ac,_0x4e96f5:0x669,_0x16dcc1:0x58d,_0x4ee79e:0x314,_0x5bfc31:0x325,_0x1f73f5:0x5a8,_0x3bdeee:0x46b,_0x321c5c:0x3f4,_0x32675b:0x457,_0x28a3d2:0x60e,_0x1c8277:0x535,_0x7aa349:0x663,_0x30b998:0x4ca,_0x2bee6e:0x553,_0x457d72:0x3fb},_0x24d66b={_0x15cb85:0x63,_0x5733dd:0x11d},_0x22a009={_0x3323af:0x12e};function _0x3b938c(_0x21937c,_0x53b881,_0x2a0e4d,_0x5df50c){return _0x120ca0(_0x21937c,_0x53b881-0x27,_0x2a0e4d-_0x22a009._0x3323af,_0x5df50c-0xec);}function _0x15ae28(_0x3060bf,_0xc08b96,_0x1d1e07,_0xe7cc96){return _0x286169(_0x3060bf-0xf3,_0xe7cc96- -_0x24d66b._0x15cb85,_0x3060bf,_0xe7cc96-_0x24d66b._0x5733dd);}switch(_0x2095c1){case'bash_tool':return _0x5b4243['cmd'];case'file_read':case _0x3b938c(_0x3ace68._0x3ea847,_0x3ace68._0x5802e4,_0x3ace68._0x8ba31c,0x4bc):return _0x5b4243[_0x15ae28(0x2d5,_0x3ace68._0x5e767e,0x2ff,0x39e)];case _0x3b938c(0x67a,0x4a5,_0x3ace68._0x44f878,_0x3ace68._0x27f31a):case _0x15ae28(_0x3ace68._0x37c25b,0x597,_0x3ace68._0x4e96f5,_0x3ace68._0x16dcc1):return _0x5b4243[_0x15ae28(_0x3ace68._0x4ee79e,0x214,0x2d2,0x368)];case _0x3b938c(_0x3ace68._0x5bfc31,0x446,_0x3ace68._0x1f73f5,_0x3ace68._0x3bdeee):case _0x15ae28(0x55e,0x5ca,0x42b,0x4f1):return _0x5b4243[_0x15ae28(_0x3ace68._0x321c5c,0x29f,_0x3ace68._0x32675b,0x2fe)];case _0x15ae28(0x539,0x440,0x453,0x537):{let _0x32c028=_0x5b4243[_0x15ae28(_0x3ace68._0x28a3d2,0x609,_0x3ace68._0x1c8277,0x534)],_0x4ae181=_0x5b4243[_0x3b938c(_0x3ace68._0x7aa349,0x40b,_0x3ace68._0x30b998,_0x3ace68._0x2bee6e)],_0xc83f27=_0x5b4243['character'];if(!_0x32c028)return _0x5b4243['operation'];let _0x195b4a=_0x32c028;return _0x4ae181!==void 0x0&&(_0x195b4a+=':'+_0x4ae181,_0xc83f27!==void 0x0&&(_0x195b4a+=':'+_0xc83f27)),_0x195b4a;}case _0x15ae28(_0x3ace68._0x457d72,0x3f1,0x590,0x46e):return _0x5b4243['url'];default:return;}},_o=({toolCall:_0x50f261,subAgentState:_0x27df1e,toolResult:_0x4757b6,messageId:_0x4a3fba})=>{const _0x569550={_0x3040d9:0x34a,_0x900e8c:0x263,_0x329c09:0x303,_0x4faf39:0x30c,_0x49b2f2:0x205,_0x30f5ac:0x22e,_0x47f86b:0x30f,_0xbbe198:0x167,_0x506bbf:0x6ac,_0x19fdf4:0x6cd,_0x44ded6:0x34a,_0x4250cc:0x397,_0x234925:0x460,_0x3e0121:0x6ca,_0x93a7f7:0x69e,_0x5f0079:0x670,_0x49ac20:0x33d,_0x556119:0x2ce,_0x9aaf71:0x5d9,_0x21e9d2:0x4bd,_0x2047f6:0x4cc,_0xa72384:0x94,_0x1d03c4:0x29e,_0x3e606c:0x697,_0xec6caa:0x683,_0x415558:0x252,_0x4fe111:0x135,_0x381b14:0x1ed,_0xc2a2af:0x388,_0x42b980:0x280,_0x3a11e7:0x6da,_0x2b9c43:0x32d,_0x46e4a7:0x3ac,_0x1addcb:0x2f3,_0x4c8f0d:0x37a,_0x5aba38:0x283,_0x274058:0x587,_0x1308e0:0x747,_0x1c2940:0x246,_0xe407f9:0x322,_0x485b9b:0x2f9,_0x2b12ec:0x1b6,_0x3a94e3:0x1ec,_0x4e4b1b:0x37e,_0x1f2539:0x3d2,_0x519209:0x1f1,_0x1712e7:0x2ad,_0x248f22:0x246,_0x299a34:0x478,_0x363d4e:0x57e,_0x472c7f:0x165,_0x39c0d4:0x2b8,_0x5e5e01:0x55,_0x16ea07:0x170,_0x2af531:0x795,_0x5d25ab:0x70f,_0x2755ef:0x551,_0x49a3a7:0x4cb,_0x43d456:0x4b6,_0x3b51f4:0x20c,_0x598fc0:0x307,_0x59e56a:0x177,_0x422619:0x604,_0x38a476:0x595,_0x4e0d52:0x5f7,_0x36231e:0x559,_0x1ea2cf:0x1d9,_0x3d311e:0x586,_0x1d0189:0x532,_0x476943:0xce,_0xe7e973:0xd,_0x288c0e:0xf8,_0x36dc7e:0x5be,_0x2b2663:0x360,_0x5cdc2b:0x781,_0x210ab2:0x50a,_0x257d56:0x5b5,_0x2b0299:0x69b,_0x521bf1:0x695,_0xb8ae6d:0x604,_0xeed96e:0x112,_0x4ba47a:0x114,_0x464d97:0x465,_0x4f5a7e:0x6d0,_0x587501:0x736,_0x3a2835:0xd3,_0x329fd0:0x33c,_0x5236e7:0x11e,_0x1cf47e:0x126,_0x4078b9:0x478,_0x5272cf:0x49f,_0x2792e6:0x4af,_0x2fb56d:0x584,_0x4b69ff:0x69d,_0x3822db:0x631,_0x44efba:0x6d7,_0x2bba28:0x25a,_0x352369:0x118,_0x4d7bc2:0x221,_0x22600f:0x343,_0x15a691:0x49f,_0x28e681:0x581,_0x3e90bd:0x4be,_0x3c6d9b:0x4bd,_0x2d703a:0x60f,_0x1df15a:0x5ab,_0x21213c:0x520,_0x18e263:0x49f,_0x6bd7d8:0x18e,_0x3f991f:0x131,_0x4118c9:0x22c,_0x562b47:0x43f},_0x21e4ec={_0x2bd44c:0x6fd,_0x10e0bd:0x713,_0x1d87c3:0x5be,_0x13601a:0x62f,_0x4abf06:0x684,_0x37fc14:0x670,_0x3294d3:0x777,_0x1ce0ef:0x793,_0x13a536:0x68f,_0x3fb52f:0x75c,_0x4b2bef:0x677,_0x5df89c:0x5c5,_0x38a6a8:0x721,_0x20afcc:0x7f3,_0x2f66ac:0x725,_0x5d8034:0x7ea,_0x9b910f:0x705,_0x3c652f:0x79b,_0x545f2b:0x6bb,_0x458b70:0x803,_0x55ceda:0x866,_0x5bd8a2:0x72b,_0x1fa324:0x7a8,_0x267ea3:0x610,_0xc0f1ff:0x60e,_0x250ade:0x5cb,_0x58b45f:0x4ca,_0xee7437:0x4c5,_0x34dc84:0x696,_0x414dae:0x6f0,_0x1bec6c:0x606,_0x1cf7ae:0x6c7,_0x4035b8:0x54c,_0xec8b94:0x5f2,_0x417f19:0x550,_0x14e5ea:0x400,_0x2acd88:0x4c9},_0x1db5c2={_0x51e21f:0x136,_0x99a203:0x17d},_0x2866d3={_0x4d79f6:0x296,_0x138077:0x1e5};let {theme:_0x46b09a}=_0x259d06(),{cols:_0x1894e4}=_0x3ce95d(),_0x5c1c97=typeof _0x50f261[_0x4b3769(_0x569550._0x3040d9,_0x569550._0x900e8c,_0x569550._0x329c09,_0x569550._0x4faf39)][_0x4b3769(0x2f4,_0x569550._0x49b2f2,0x3e0,0x3e3)]==_0x4b3769(_0x569550._0x30f5ac,_0x569550._0x47f86b,0x27e,_0x569550._0xbbe198)?JSON[_0x5e18ca(0x745,_0x569550._0x506bbf,_0x569550._0x19fdf4,0x774)](_0x50f261[_0x4b3769(_0x569550._0x44ded6,_0x569550._0x4250cc,0x262,0x3d3)]['arguments']):_0x50f261[_0x4b3769(0x34a,0x285,_0x569550._0x234925,0x31e)][_0x5e18ca(_0x569550._0x3e0121,_0x569550._0x93a7f7,0x54d,_0x569550._0x5f0079)],_0x5a1780=_0x5c1c97[_0x4b3769(0x2b4,_0x569550._0x49ac20,0x172,_0x569550._0x556119)]||_0x5e18ca(0x4c0,_0x569550._0x9aaf71,_0x569550._0x21e9d2,_0x569550._0x2047f6),_0x167357=_0x5c1c97[_0x4b3769(0x1b9,0xe1,_0x569550._0xa72384,_0x569550._0x1d03c4)]||'',_0x4104eb=_0x27df1e['status']==='completed',_0x100357=_0x4757b6?.[_0x5e18ca(_0x569550._0x3e606c,_0x569550._0xec6caa,0x601,0x720)]?.['toolResult'],_0x504f1f=_0x46b09a[_0x4b3769(_0x569550._0x415558,0x135,_0x569550._0x4fe111,_0x569550._0x381b14)][_0x4b3769(0x27e,0x224,_0x569550._0xc2a2af,_0x569550._0x42b980)];function _0x4b3769(_0x485923,_0x3e76c0,_0x3da57c,_0x403661){return _0x286169(_0x485923-0x9d,_0x485923- -_0x2866d3._0x4d79f6,_0x3e76c0,_0x403661-_0x2866d3._0x138077);}_0x4104eb&&_0x27df1e[_0x5e18ca(_0x569550._0x3a11e7,0x5f0,0x5c9,0x53d)]===_0x4b3769(_0x569550._0x2b9c43,_0x569550._0x46e4a7,0x3ba,0x2db)?_0x504f1f=_0x46b09a[_0x4b3769(_0x569550._0x1addcb,_0x569550._0x4c8f0d,0x41c,_0x569550._0x5aba38)][_0x5e18ca(_0x569550._0x274058,0x6d7,0x7bd,_0x569550._0x1308e0)]:_0x4104eb&&_0x27df1e[_0x4b3769(_0x569550._0x1c2940,0x2e6,0x2b4,_0x569550._0xe407f9)]===_0x4b3769(_0x569550._0x485b9b,_0x569550._0x2b12ec,0x377,_0x569550._0x3a94e3)&&(_0x504f1f=_0x46b09a['status'][_0x4b3769(0x2f9,_0x569550._0x4e4b1b,_0x569550._0x1f2539,0x359)]);let _0x3f4f93=_0x250347=>_0x250347[_0x5e18ca(0x59c,0x69b,0x638,0x7e2)]('-')[_0x5e18ca(0x52c,0x4ce,0x5ef,0x4ff)](_0x1a0bbd=>_0x1a0bbd['charAt'](0x0)[_0x4b3769(0x31b,0x2d1,0x3fd,0x33b)]()+_0x1a0bbd[_0x5e18ca(0x61c,0x583,0x644,0x507)](0x1))[_0x4b3769(0xc2,0x218,0x147,0x113)]('\x20');function _0x5e18ca(_0x2b6bff,_0xb8c771,_0x5b0347,_0x54e789){return _0x286169(_0x2b6bff-_0x1db5c2._0x51e21f,_0xb8c771-0x114,_0x54e789,_0x54e789-_0x1db5c2._0x99a203);}return _0x4d0513(_0x237dc9,{'flexDirection':_0x4b3769(0x20c,_0x569550._0x519209,_0x569550._0x1712e7,_0x569550._0x248f22),'marginTop':0x1,'children':[_0x4d0513(_0x237dc9,{'flexDirection':_0x5e18ca(0x34f,_0x569550._0x299a34,_0x569550._0x363d4e,0x46d),'flexShrink':0x0,'top':0x0,'position':_0x4b3769(_0x569550._0x472c7f,_0x569550._0x39c0d4,_0x569550._0x5e5e01,_0x569550._0x16ea07),'children':[_0x1d0ccb(_0x237dc9,{'flexShrink':0x0,'marginRight':0x1,'children':_0x1d0ccb(_0x494e11,{'color':_0x46b09a[_0x5e18ca(_0x569550._0x2af531,_0x569550._0x5d25ab,0x870,0x7f7)][_0x5e18ca(_0x569550._0x2755ef,_0x569550._0x49a3a7,_0x569550._0x43d456,0x4b2)],'bold':!0x0,'children':'»'})}),_0x1d0ccb(_0x494e11,{'children':''+_0x3f4f93(_0x5a1780)+(_0x167357?'\x20('+_0x167357+')':'')})]}),_0x1d0ccb(_0x237dc9,{'flexDirection':'column','marginLeft':0x2,'children':_0x1d0ccb(_0x237dc9,{'flexDirection':_0x4b3769(_0x569550._0x3b51f4,_0x569550._0x598fc0,_0x569550._0x59e56a,0x337),'borderStyle':_0x5e18ca(0x581,_0x569550._0x422619,_0x569550._0x38a476,_0x569550._0x4e0d52),'borderDimColor':!0x0,'borderColor':_0x504f1f,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'paddingLeft':0x2,'flexShrink':0x0,'width':_0x1894e4-0x4,'children':_0x27df1e[_0x5e18ca(_0x569550._0x36231e,0x544,0x5a0,0x493)][_0x4b3769(_0x569550._0x1ea2cf,0x1d8,0xe4,0x338)](-0x3)[_0x5e18ca(_0x569550._0x3d311e,0x4ce,_0x569550._0x1d0189,0x43a)](_0x44e81d=>{const _0x866279={_0x9541b6:0xf7},_0x1ed58e={_0x5394b2:0x384,_0x124661:0x11f};function _0x512a34(_0x40b72d,_0xd417e2,_0x29b136,_0x3adfca){return _0x4b3769(_0xd417e2-_0x1ed58e._0x5394b2,_0x40b72d,_0x29b136-0x1b4,_0x3adfca-_0x1ed58e._0x124661);}let _0x2580fe='',_0x388a98={};if(_0x44e81d[_0x207e02(_0x21e4ec._0x2bd44c,_0x21e4ec._0x10e0bd,0x73b,0x726)])try{_0x388a98=_0x4655a7(_0x44e81d['arguments']);let _0x41c7c7=Fi(_0x44e81d['name'],_0x388a98);_0x41c7c7&&(_0x2580fe='\x20'+_0x41c7c7);}catch{}let _0x2d501a='\x20\x20',_0x1c9c42=_0x46b09a[_0x207e02(0x565,_0x21e4ec._0x1d87c3,_0x21e4ec._0x13601a,_0x21e4ec._0x4abf06)][_0x207e02(0x70c,0x6b0,_0x21e4ec._0x37fc14,0x6b0)],_0xefc643=_0x207e02(_0x21e4ec._0x3294d3,_0x21e4ec._0x1ce0ef,0x56c,_0x21e4ec._0x13a536);_0x44e81d[_0x512a34(_0x21e4ec._0x3fb52f,_0x21e4ec._0x4b2bef,_0x21e4ec._0x5df89c,_0x21e4ec._0x38a6a8)]==='success'?(_0x2d501a='✓\x20',_0x1c9c42=_0x46b09a[_0x207e02(_0x21e4ec._0x20afcc,0x856,0x5ca,_0x21e4ec._0x2f66ac)]['success'],_0xefc643='success'):_0x44e81d[_0x207e02(_0x21e4ec._0x5d8034,_0x21e4ec._0x9b910f,_0x21e4ec._0x3c652f,0x725)]===_0x207e02(_0x21e4ec._0x545f2b,_0x21e4ec._0x458b70,_0x21e4ec._0x55ceda,_0x21e4ec._0x5bd8a2)&&(_0x2d501a='✗\x20',_0x1c9c42=_0x46b09a[_0x207e02(0x765,0x660,0x5d1,0x725)][_0x207e02(_0x21e4ec._0x1fa324,_0x21e4ec._0x267ea3,0x810,_0x21e4ec._0x5bd8a2)],_0xefc643=_0x512a34(0x714,0x67d,_0x21e4ec._0xc0f1ff,_0x21e4ec._0x250ade));function _0x207e02(_0x4b720e,_0x34b7e5,_0x4fb7c4,_0x178c8d){return _0x5e18ca(_0x4b720e-0x1db,_0x178c8d-0x88,_0x4fb7c4-_0x866279._0x9541b6,_0x4fb7c4);}let _0x2eb9f0=Qt(_0x44e81d[_0x512a34(0x417,_0x21e4ec._0x58b45f,0x540,0x4e2)]),_0x2dc673={'toolCall':{'id':_0x44e81d['id'],'type':'function','function':{'name':_0x44e81d[_0x207e02(0x588,_0x21e4ec._0xee7437,_0x21e4ec._0x34dc84,0x578)],'arguments':JSON[_0x207e02(0x6ed,_0x21e4ec._0x414dae,0x52e,_0x21e4ec._0x1bec6c)](_0x388a98)}},'toolState':_0xefc643,'args':_0x388a98,'theme':_0x46b09a,'cols':_0x1894e4,'config':_0x2eb9f0},_0x3451b4=typeof _0x2eb9f0[_0x207e02(_0x21e4ec._0x1cf7ae,_0x21e4ec._0x4035b8,_0x21e4ec._0x10e0bd,0x62b)]==_0x512a34(0x802,0x6ce,0x5f7,0x727)?_0x2eb9f0[_0x207e02(0x4f7,0x589,_0x21e4ec._0xec8b94,0x62b)](_0x2dc673):_0x2eb9f0[_0x207e02(_0x21e4ec._0x417f19,0x77c,0x768,0x62b)];return _0x4d0513(_0x237dc9,{'overflow':'hidden','flexDirection':_0x512a34(_0x21e4ec._0x14e5ea,0x452,0x59c,_0x21e4ec._0x2acd88),'height':0x1,'children':[_0x2d501a?_0x1d0ccb(_0x494e11,{'color':_0x1c9c42,'children':_0x2d501a}):null,_0x1d0ccb(_0x237dc9,{'flexWrap':_0x207e02(0x4e8,0x624,0x432,0x50a),'flexGrow':0x1,'overflow':'hidden','children':_0x4d0513(_0x494e11,{'wrap':'truncate-middle','children':[_0x1d0ccb(_0x494e11,{'dimColor':!0x1,'children':_0x3451b4}),_0x1d0ccb(_0x494e11,{'dimColor':!0x0,'children':_0x2580fe})]})})]},_0x44e81d['id']);})})}),!_0x4104eb&&_0x4d0513(_0x237dc9,{'flexDirection':_0x4b3769(_0x569550._0x476943,-_0x569550._0xe7e973,_0x569550._0x288c0e,0x22b),'marginLeft':0x2,'children':[_0x4d0513(_0x494e11,{'dimColor':!0x0,'color':_0x504f1f,'children':['└─','\x20']}),_0x1d0ccb(ir,{'text':'Working\x20...'}),_0x1d0ccb(_0x237dc9,{'marginLeft':0x1,'children':_0x1d0ccb(bt,{'hasResult':_0x4104eb,'finalDuration':_0x27df1e[_0x5e18ca(_0x569550._0x36dc7e,0x4cf,0x4e9,0x3a2)]})}),_0x27df1e[_0x4b3769(0x326,0x437,_0x569550._0x2b2663,0x216)]&&_0x1d0ccb(_0x237dc9,{'marginLeft':0x1,'children':_0x4d0513(_0x494e11,{'dimColor':!0x0,'children':['•\x20',_0x27df1e[_0x5e18ca(0x81a,0x6d0,0x68b,_0x569550._0x5cdc2b)]['llmCallCount'],_0x5e18ca(_0x569550._0x210ab2,0x585,0x6e0,_0x569550._0x257d56),_0x19b221(_0x27df1e[_0x5e18ca(0x6ee,0x6d0,_0x569550._0x2b0299,0x7b2)][_0x5e18ca(0x695,0x5cc,0x64c,0x66f)]),_0x5e18ca(0x56b,_0x569550._0x521bf1,0x60e,_0x569550._0xb8ae6d),_0x27df1e['metrics'][_0x4b3769(_0x569550._0xeed96e,0x76,0x148,_0x569550._0x4ba47a)]>0x0&&_0x5e18ca(0x4d1,0x5c1,_0x569550._0x234925,_0x569550._0x464d97)+_0x981d96(_0x27df1e[_0x5e18ca(_0x569550._0x1308e0,_0x569550._0x4f5a7e,_0x569550._0x587501,0x68f)][_0x4b3769(_0x569550._0xeed96e,_0x569550._0x3a2835,0x17c,0xcb)])]})})]}),_0x4104eb&&_0x100357?_0x4d0513(_0x237dc9,{'marginLeft':0x2,'marginBottom':0x1,'flexDirection':_0x4b3769(_0x569550._0x3b51f4,_0x569550._0x329fd0,_0x569550._0x5236e7,_0x569550._0x1cf47e),'children':[_0x100357[_0x5e18ca(_0x569550._0x4078b9,_0x569550._0x5272cf,_0x569550._0x2792e6,_0x569550._0x2fb56d)]&&_0x27df1e[_0x5e18ca(0x5a4,0x5f0,0x578,_0x569550._0x4b69ff)]===_0x5e18ca(_0x569550._0x3822db,_0x569550._0x44efba,0x7aa,0x7c6)&&_0x1d0ccb(_0x237dc9,{'borderStyle':_0x4b3769(_0x569550._0x2bba28,_0x569550._0x352369,0x355,_0x569550._0x4d7bc2),'borderColor':_0x504f1f,'borderDimColor':!0x0,'borderBottom':!0x1,'borderRight':!0x1,'borderTop':!0x1,'flexDirection':_0x4b3769(_0x569550._0x3b51f4,0x166,0xf6,0x241),'paddingLeft':0x2,'width':_0x1894e4-0xa,'children':_0x1d0ccb(qe,{'maxWidth':_0x1894e4-0x10,'children':typeof _0x100357['result']=='string'?_0x100357[_0x5e18ca(_0x569550._0x22600f,_0x569550._0x15a691,0x3cc,_0x569550._0x28e681)][_0x5e18ca(_0x569550._0x3e90bd,_0x569550._0x3c6d9b,0x587,_0x569550._0x2d703a)](/\\n/g,'\x0a'):JSON[_0x5e18ca(_0x569550._0x1df15a,0x57e,0x5ca,_0x569550._0x21213c)](_0x100357[_0x5e18ca(0x5e7,_0x569550._0x18e263,0x413,0x429)],null,0x2)})}),_0x1d0ccb(_0x237dc9,{'flexDirection':'row','children':_0x1d0ccb(_0x494e11,{'dimColor':!0x0,'color':_0x504f1f,'children':_0x4b3769(_0x569550._0x6bd7d8,0x109,_0x569550._0x3f991f,0x45)+$i(_0x100357,_0x27df1e[_0x4b3769(0x326,0x471,_0x569550._0x4118c9,_0x569550._0x562b47)])})})]}):null]});};import{stripAnsiAndControls as _0x39f729}from'@nuvin/nuvin-core';import{jsx as _0x45e22d,jsxs as _0x19b912}from'react/jsx-runtime';var Kt=({content:_0x329954,backgroundColor:_0x51f136,textColor:_0x3fd097})=>_0x19b912(_0x44e269,{'flexDirection':_0x286169(0x202,0x364,0x242,0x393),'marginTop':0x1,'flexShrink':0x0,'backgroundColor':_0x51f136,'width':_0x286169(0x3e6,0x50f,0x5ae,0x623),'children':[_0x45e22d(_0x44e269,{'width':0x1,'marginRight':0x2,'children':_0x45e22d(_0x121259,{'color':_0x3fd097,'children':'▍'})}),_0x45e22d(_0x121259,{'color':_0x3fd097,'children':_0x329954})]}),Hi=({message:_0x560c14,backgroundColor:_0x3eb9c8,liveMessage:_0x5bf38a=!0x1})=>{const _0x1841aa={_0x3e60b8:0xff,_0x33df6a:0xea,_0x341eca:0x6,_0x1df683:0x234,_0x1813a0:0xbf,_0x1377ff:0xf7,_0x2a289b:0x2b0,_0x380030:0x20},_0x41309a={_0x61f31b:0x9},_0xe6432={_0x5528b1:0x30,_0x5404cf:0x192},_0x4214d8={_0x2fbded:0x6f,_0x4cc43d:0xeb,_0x5b6bcc:0x1a9,_0x5c94bc:0x47,_0x2ee82d:0x88,_0x50ed90:0xd2,_0x3e3e60:0x8a,_0x254d77:0x1c2,_0x148610:0xaf,_0x290d5b:0xcf,_0x5ebe0a:0x18f,_0x1fb6fb:0x204,_0x3c6a00:0xf6,_0x4f1db8:0x107,_0x53b81d:0x1d,_0x45137e:0x560,_0x1200d9:0x5ad,_0x77d6eb:0x66,_0x49fc2f:0x8f,_0x1b84cb:0x27,_0xf177b0:0xcf,_0x4a710f:0x3db,_0x3acdd5:0x70f,_0x86ca81:0x674,_0x13db9c:0x55c,_0x4b3ac7:0x185,_0x2816d8:0x683,_0x48fa25:0x879,_0x28f040:0x515,_0xf9f6b0:0x513,_0x54a4f9:0x4ce,_0x1800f8:0x5fe,_0x404190:0x4a0,_0x465fa3:0x52a,_0x1431c0:0x5da,_0x385904:0x6d4,_0x3cf04b:0x761,_0x2b1eec:0x733,_0x33fe53:0x38,_0x5acab6:0x6b,_0x35fb0b:0x43,_0x41c29f:0x9d,_0x4d3bc8:0xce,_0x200a71:0x3c,_0x30ea1c:0x1,_0x4f48ac:0x51f,_0x28601e:0x424,_0x318ee2:0x2a4,_0x2f53d9:0x329,_0x3dee28:0x1c8,_0x43395f:0xed,_0x45e49b:0x125,_0x59ee26:0x51c,_0x2baf8f:0x18,_0x43c8e0:0x63,_0x4c7be5:0x76,_0x1d064b:0x76f,_0x444fe2:0x714,_0x319a75:0x674,_0x485b65:0x6dc,_0xb19c3b:0x17f,_0x339e47:0x11d,_0xe1c8b9:0x82a,_0x41d204:0x6f4,_0x42b14e:0x752,_0x3064ef:0x6a9,_0x2203a2:0x18f,_0xbe0f5a:0xa7,_0x21652d:0x58,_0x40768a:0x33,_0x52fd9d:0x181,_0x4a6fc5:0x653,_0x2ee316:0x4ee,_0x10a8d4:0x7f7,_0x7e52b9:0x6a9,_0x40643d:0x701,_0x404ad1:0x664,_0x1326da:0x52f,_0x3f7fb9:0x620,_0x30807a:0x5b3,_0x44d488:0x511,_0x523cd9:0x96,_0x2bc390:0x63a,_0x2808f5:0x62c,_0x3e9d26:0x13e,_0x270c0c:0x6fc,_0x359cef:0xb5,_0x1ee188:0xf7,_0x8b4e3d:0x86b,_0x4111e6:0x760,_0x3a6580:0x57,_0x13b497:0x6eb,_0x1e4f5d:0xf8,_0x25edfe:0x47b,_0x3ed10d:0x62e,_0x3699c0:0x423,_0x55112a:0x73c,_0x1f0085:0x8a3,_0x58a049:0x7a8,_0x17a5d8:0x520,_0x321d88:0x5c2,_0x4ad0ab:0x679,_0x2b27f9:0x669,_0x94f476:0x634,_0x3c8a98:0x607,_0x4ee6c5:0x760,_0x39dccd:0x78e,_0x28dc47:0x637,_0x24c275:0x769,_0x289d9c:0x12,_0x221bc8:0x80,_0x2e6daf:0x5a6,_0x1ad0ba:0x64d,_0x545bd2:0x5e7,_0x32cc6e:0x113,_0x54fb2a:0x2da,_0x2f7c3c:0x1e4},_0x56cd38={_0x325bf2:0x1e8,_0x121f4c:0x1f0,_0x4de858:0x309,_0x4de870:0x13c,_0x11992a:0x546,_0x3b2c7d:0x403,_0x29ab49:0x502,_0x300095:0x8a,_0x18f4f2:0xa6,_0x1b1326:0x84,_0x5ad165:0x4ed,_0x1e7d77:0x48c,_0x1ef007:0x144,_0xbeecd1:0x16f,_0x13e112:0x272,_0x485546:0x21e,_0x4c237a:0x3dd,_0x236359:0x511,_0x4f2f67:0x406},_0x2102cc={_0x77221f:0x18f};let {altMode:_0x2d731e}=He(),{theme:_0x4b5d1b}=_0x259d06(),_0x4a6dca=_0x560c14[_0x267ced(_0x1841aa._0x3e60b8,_0x1841aa._0x33df6a,_0x1841aa._0x341eca,_0x1841aa._0x1df683)]?.['isStreaming']===!0x0,_0x190317=_0x560c14[_0x267ced(0x9b,_0x1841aa._0x1813a0,_0x1841aa._0x1377ff,0x197)],{pendingApprovalTools:_0x127765}=_0x3b4d2e(),_0x41db80=((()=>{const _0x423299={_0x34d410:0x1cb,_0xb3c7ed:0xcd},_0x5be63f={_0x19b938:0x119,_0xe879a6:0x5b3};function _0x19a79b(_0x5d96b0,_0x315407,_0x5de5e1,_0xc03606){return _0x267ced(_0x5d96b0-0x2a,_0x315407-0x5ea,_0x5de5e1-0x146,_0x5d96b0);}function _0xad16d9(_0x25309d,_0x19ae0f,_0x18cbd7,_0x3a11de){return _0x267ced(_0x25309d-0x10a,_0x3a11de- -0xa7,_0x18cbd7-_0x2102cc._0x77221f,_0x25309d);}switch(_0x560c14[_0xad16d9(-0x278,-0x1b6,-_0x4214d8._0x2fbded,-0x16b)]){case _0xad16d9(-_0x4214d8._0x4cc43d,-_0x4214d8._0x5b6bcc,-_0x4214d8._0x5c94bc,-0xf6):return _0x19b912(_0x44e269,{'flexDirection':_0xad16d9(_0x4214d8._0x2ee82d,-_0x4214d8._0x50ed90,-0x14c,-_0x4214d8._0x3e3e60),'flexShrink':0x0,'children':[_0x45e22d(_0x44e269,{'flexShrink':0x0,'marginRight':0x1,'children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0xad16d9(0x56,_0x4214d8._0x254d77,_0x4214d8._0x148610,_0x4214d8._0x290d5b)][_0xad16d9(-_0x4214d8._0x5ebe0a,-_0x4214d8._0x1fb6fb,0x66,-_0x4214d8._0x3c6a00)],'bold':!0x0,'children':'❯\x20[you]'})}),_0x45e22d(_0x44e269,{'marginX':0x2,'children':_0x45e22d(_0x121259,{'children':_0x190317})})]});case'assistant':return _0x4a6dca&&!_0x2d731e?_0x19b912(_0x44e269,{'flexDirection':'column','maxHeight':'100%','width':_0xad16d9(_0x4214d8._0x4f1db8,-0x19,0x145,-_0x4214d8._0x53b81d),'flexShrink':0x0,'children':[_0x45e22d(_0x44e269,{'flexShrink':0x0,'marginRight':0x1,'position':_0x19a79b(0x67a,_0x4214d8._0x45137e,0x52a,_0x4214d8._0x1200d9),'top':0x0,'children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0xad16d9(-_0x4214d8._0x77d6eb,-_0x4214d8._0x49fc2f,_0x4214d8._0x1b84cb,_0x4214d8._0xf177b0)][_0x19a79b(_0x4214d8._0x4a710f,0x4a3,0x496,0x556)],'bold':!0x0,'children':_0xad16d9(-0x157,-0x163,0x31,-0xcd)})}),_0x45e22d(_0x51e72b,{'maxHeight':_0x19a79b(_0x4214d8._0x3acdd5,_0x4214d8._0x86ca81,_0x4214d8._0x13db9c,0x6b3),'marginX':0x2,'width':'100%','children':_0x45e22d(qe,{'reflowText':!0x0,'enableCache':!0x0,'children':_0x190317})})]}):_0x19b912(_0x44e269,{'flexDirection':_0xad16d9(0x37,0x1e,-_0x4214d8._0x4b3ac7,-0x8a),'flexShrink':0x0,'children':[_0x45e22d(_0x44e269,{'flexShrink':0x0,'marginRight':0x1,'children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0x19a79b(_0x4214d8._0x2816d8,0x760,_0x4214d8._0x48fa25,0x82e)][_0x19a79b(_0x4214d8._0x28f040,0x4a3,_0x4214d8._0xf9f6b0,_0x4214d8._0x54a4f9)],'bold':!0x0,'children':_0x19a79b(0x5a6,0x5c4,_0x4214d8._0x1800f8,_0x4214d8._0x404190)})}),_0x45e22d(_0x44e269,{'marginX':0x2,'children':_0x45e22d(qe,{'reflowText':!0x0,'enableCache':!0x0,'children':_0x190317})})]});case _0x19a79b(_0x4214d8._0x465fa3,0x51c,_0x4214d8._0x1431c0,_0x4214d8._0x1431c0):{let _0x255999=_0x560c14[_0x19a79b(0x755,_0x4214d8._0x385904,_0x4214d8._0x3cf04b,_0x4214d8._0x2b1eec)]?.[_0xad16d9(_0x4214d8._0x33fe53,-0x5d,0x57,-0xfc)]??[],_0x9b4451=_0x560c14[_0xad16d9(-0xb9,0x1c,-_0x4214d8._0x5acab6,_0x4214d8._0x35fb0b)]?.[_0xad16d9(_0x4214d8._0x41c29f,-0x31,-_0x4214d8._0x4d3bc8,-0x5c)],_0x4150c5=_0x255999['some'](_0x169037=>!_0x9b4451?.['has'](_0x169037['id'])),_0x53357a=_0x45e22d(_0x44e269,{'flexDirection':'column','flexShrink':0x0,'children':_0x255999[_0xad16d9(_0x4214d8._0x200a71,-0x1e,-_0x4214d8._0x30ea1c,0x3d)]>0x0?_0x255999[_0x19a79b(0x4ae,_0x4214d8._0x4f48ac,_0x4214d8._0x28601e,0x5d3)]((_0x2f1e15,_0x21e6de)=>{if(_0x127765[_0x4be366(-_0x56cd38._0x325bf2,-0xf5,-_0x56cd38._0x121f4c,-0x32d)](_0x275cc4=>_0x275cc4['id']===_0x2f1e15['id']))return null;let _0x194154=_0x9b4451?.[_0x4be366(-0x263,-_0x56cd38._0x4de858,-0x36e,-_0x56cd38._0x4de870)](_0x2f1e15['id']),_0xf11dfe='streamingOutput_'+_0x2f1e15['id'],_0x290efa=_0x477840(_0x56cd38._0x11992a,_0x56cd38._0x3b2c7d,_0x56cd38._0x29ab49,0x459)+_0x2f1e15['id'],_0x692a5f=_0x560c14[_0x4be366(-_0x56cd38._0x300095,-0x1de,-0x152,-_0x56cd38._0x18f4f2)]?.[_0xf11dfe],_0x1a2de4=_0x560c14['metadata']?.[_0x290efa];function _0x477840(_0x5913eb,_0x24bff0,_0x4b520a,_0x1437f8){return _0xad16d9(_0x5913eb,_0x24bff0-0x119,_0x4b520a-_0x5be63f._0x19b938,_0x24bff0-_0x5be63f._0xe879a6);}function _0x4be366(_0x597a25,_0x7e3917,_0x3a3e51,_0x4cef8c){return _0xad16d9(_0x4cef8c,_0x7e3917-0x89,_0x3a3e51-_0x423299._0x34d410,_0x597a25- -_0x423299._0xb3c7ed);}if(_0x2f1e15[_0x4be366(-0x19,-_0x56cd38._0x1b1326,-0x67,0xf6)]['name']===_0x477840(_0x56cd38._0x5ad165,_0x56cd38._0x1e7d77,0x35c,0x496)){let _0x3053e7=_0x560c14[_0x4be366(-_0x56cd38._0x300095,-_0x56cd38._0x1ef007,-0xe,-0x23)]?.['subAgentState_'+_0x2f1e15['id']];if(_0x3053e7)return _0x45e22d(_o,{'toolCall':_0x2f1e15,'subAgentState':_0x3053e7,'toolResult':_0x194154,'messageId':_0x560c14['id']},_0x2f1e15['id']||_0x560c14['id']+'-tool-'+_0x21e6de);}return _0x45e22d(_0x44e269,{'children':_0x45e22d(Do,{'toolCall':_0x2f1e15,'toolResult':_0x194154,'toolState':Ot(_0x194154?.['metadata']?.['toolResult']),'messageId':_0x560c14['id'],'streamingOutput':_0x692a5f,'streamingTotalLines':_0x1a2de4},_0x2f1e15['id']||_0x560c14['id']+_0x4be366(-_0x56cd38._0xbeecd1,-0x5c,-_0x56cd38._0x13e112,-_0x56cd38._0x485546)+_0x21e6de)},_0x2f1e15['id']||_0x560c14['id']+_0x477840(_0x56cd38._0x4c237a,_0x56cd38._0x236359,_0x56cd38._0x4f2f67,0x41c)+_0x21e6de);}):_0x19b912(_0x44e269,{'flexDirection':_0xad16d9(-_0x4214d8._0x318ee2,-_0x4214d8._0x2f53d9,-0xca,-_0x4214d8._0x3dee28),'children':[_0x45e22d(_0x44e269,{'flexShrink':0x0,'marginRight':0x1,'children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0xad16d9(_0x4214d8._0x43395f,_0x4214d8._0x45e49b,0x2c,0xcf)][_0x19a79b(0x3d4,_0x4214d8._0x59ee26,0x43c,0x636)],'bold':!0x0,'children':'⚙︎'})}),_0x45e22d(_0x121259,{'children':_0x560c14[_0xad16d9(-_0x4214d8._0x2fbded,-0x58,0x11f,_0x4214d8._0x2baf8f)]})]})});return _0x4150c5?_0x45e22d(_0x44e269,{'flexDirection':_0xad16d9(-0xd3,_0x4214d8._0x43c8e0,_0x4214d8._0x4c7be5,-_0x4214d8._0x3e3e60),'maxHeight':'100%','flexShrink':0x0,'width':_0x19a79b(0x531,0x674,_0x4214d8._0x1d064b,_0x4214d8._0x444fe2),'children':_0x45e22d(_0x51e72b,{'mousePriority':0x64,'showScrollbar':!0x0,'maxHeight':_0x19a79b(0x586,_0x4214d8._0x319a75,_0x4214d8._0x485b65,0x550),'children':_0x53357a})}):_0x53357a;}case _0xad16d9(-0x260,-0x4b,-_0x4214d8._0xb19c3b,-_0x4214d8._0x339e47):return;case _0x19a79b(_0x4214d8._0xe1c8b9,_0x4214d8._0x41d204,0x7e1,0x678):return _0x45e22d(Kt,{'content':_0x560c14[_0x19a79b(_0x4214d8._0x42b14e,_0x4214d8._0x3064ef,0x7e9,0x687)],'backgroundColor':_0x4b5d1b[_0x19a79b(0x706,0x620,0x4f6,0x658)][_0xad16d9(-_0x4214d8._0x2203a2,_0x4214d8._0xbe0f5a,_0x4214d8._0x21652d,-_0x4214d8._0x40768a)],'textColor':_0x4b5d1b['messageTypes'][_0xad16d9(_0x4214d8._0x52fd9d,0x11e,-_0x4214d8._0x148610,_0x4214d8._0x43c8e0)]});case _0x19a79b(_0x4214d8._0x4a6fc5,0x597,0x4cc,_0x4214d8._0x2ee316):return _0x45e22d(Kt,{'content':_0x560c14[_0x19a79b(_0x4214d8._0x10a8d4,_0x4214d8._0x7e52b9,_0x4214d8._0x40643d,_0x4214d8._0x404ad1)],'backgroundColor':_0x4b5d1b[_0x19a79b(_0x4214d8._0x1326da,_0x4214d8._0x3f7fb9,_0x4214d8._0x30807a,_0x4214d8._0x44d488)][_0xad16d9(_0x4214d8._0x523cd9,0x6,-0x3e,-0x33)],'textColor':_0x4b5d1b[_0x19a79b(_0x4214d8._0x2bc390,0x760,_0x4214d8._0x2808f5,0x6bc)]['warning']});case'info':return _0x45e22d(Kt,{'content':_0x560c14[_0xad16d9(-0x106,_0x4214d8._0x3e9d26,0xbe,0x18)],'backgroundColor':_0x4b5d1b[_0x19a79b(0x54b,0x620,_0x4214d8._0x270c0c,0x740)][_0xad16d9(-0x6f,-_0x4214d8._0x359cef,_0x4214d8._0x1ee188,-_0x4214d8._0x40768a)],'textColor':_0x4b5d1b[_0x19a79b(_0x4214d8._0x8b4e3d,_0x4214d8._0x4111e6,0x650,0x86f)]['info']});case'system':return _0x45e22d(Kt,{'content':_0x560c14[_0xad16d9(0x48,0x5f,_0x4214d8._0x3a6580,0x18)],'backgroundColor':_0x4b5d1b[_0x19a79b(0x69a,_0x4214d8._0x3f7fb9,_0x4214d8._0x13b497,0x4ea)]['dim'],'textColor':_0x4b5d1b[_0xad16d9(_0x4214d8._0x1e4f5d,0x1f3,-0x83,0xcf)]['system']});case _0xad16d9(-0x10a,0x3d,-_0x4214d8._0x290d5b,-0x5a):return _0x4a6dca&&!_0x2d731e?_0x19b912(_0x44e269,{'flexDirection':'column','maxHeight':'100%','width':'100%','flexShrink':0x0,'children':[_0x45e22d(_0x44e269,{'flexShrink':0x0,'marginRight':0x1,'position':_0x19a79b(_0x4214d8._0x25edfe,0x560,_0x4214d8._0x3ed10d,_0x4214d8._0x3699c0),'top':0x0,'children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0x19a79b(_0x4214d8._0x55112a,0x760,_0x4214d8._0x1f0085,0x625)]['thinking'],'bold':!0x0,'children':'●\x20[thinking]'})}),_0x45e22d(_0x51e72b,{'maxHeight':_0x19a79b(_0x4214d8._0x58a049,_0x4214d8._0x86ca81,_0x4214d8._0x17a5d8,0x777),'marginX':0x2,'width':'100%','children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0x19a79b(0x6c1,0x64d,0x612,0x71c)][_0x19a79b(_0x4214d8._0x321d88,_0x4214d8._0x4ad0ab,0x7b8,_0x4214d8._0x2b27f9)],'dimColor':!0x0,'children':_0x190317})})]}):_0x19b912(_0x44e269,{'flexDirection':_0x19a79b(_0x4214d8._0x94f476,_0x4214d8._0x3c8a98,0x701,0x616),'flexShrink':0x0,'maxHeight':'100%','children':[_0x45e22d(_0x44e269,{'flexShrink':0x0,'marginRight':0x1,'children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0x19a79b(_0x4214d8._0x385904,_0x4214d8._0x4ee6c5,0x6f2,_0x4214d8._0x39dccd)][_0x19a79b(0x709,_0x4214d8._0x28dc47,_0x4214d8._0x24c275,0x5e0)],'bold':!0x0,'children':_0xad16d9(-0x49,-_0x4214d8._0x289d9c,0x134,_0x4214d8._0x221bc8)})}),_0x45e22d(_0x44e269,{'marginX':0x2,'children':_0x45e22d(_0x121259,{'color':_0x4b5d1b[_0x19a79b(_0x4214d8._0x2e6daf,_0x4214d8._0x1ad0ba,0x529,_0x4214d8._0x545bd2)][_0xad16d9(-0x14d,0x8f,-0xf0,-0x18)],'dimColor':!0x0,'children':_0x190317})})]});default:return _0x45e22d(_0x121259,{'color':_0x560c14[_0xad16d9(-0xc6,-_0x4214d8._0x32cc6e,-_0x4214d8._0x54fb2a,-_0x4214d8._0x2f7c3c)],'children':_0x560c14['content']});}})());function _0x267ced(_0x58c24e,_0x495907,_0x33fb66,_0x4bc072){return _0x286169(_0x58c24e-_0xe6432._0x5528b1,_0x495907- -0x485,_0x4bc072,_0x4bc072-_0xe6432._0x5404cf);}function _0x10f0c2(_0x596826,_0x592878,_0x5b8beb,_0x98ae28){return _0x120ca0(_0x98ae28,_0x592878-_0x41309a._0x61f31b,_0x5b8beb-0x184,_0x596826- -0x29e);}if(_0x41db80)return _0x45e22d(_0x44e269,{'width':_0x10f0c2(_0x1841aa._0x2a289b,0x338,0x1d7,0x3be),'flexShrink':0x0,'backgroundColor':_0x3eb9c8,'marginBottom':0x1,..._0x5bf38a?{'borderStyle':'single','borderColor':_0x4b5d1b['colors'][_0x267ced(-0x84,-0x141,_0x1841aa._0x380030,-0x24d)],'borderBottom':!0x1,'borderTop':!0x1,'borderLeft':!0x1}:{},'children':_0x41db80});},zt=Hi;import{Box as _0x152c07,Text as _0xc0b272}from'ink';import _0x49ed59 from'ink-gradient';import{jsx as _0x127e46,jsxs as _0x5b673c}from'react/jsx-runtime';var lr=_0x2d3d24(),Wi=0x7,Fo=Math[_0x120ca0(0x4de,0x434,0x50f,0x3ff)](Wi,lr['length']),ur=_0x120ca0(0x46c,0x607,0x4fc,0x4b4)+'─'[_0x286169(0x3b3,0x48b,0x5d8,0x58e)](Fo-0x2)+'\x20\x20│',ji=_0x120ca0(0x4b7,0x55f,0x3bb,0x4cf)+'\x20'[_0x120ca0(0x372,0x3bc,0x4b3,0x4ca)](Fo+0x2)+'\x20│',Vi='│\x20\x20>_\x20\x20\x20\x20\x20'+lr[_0x286169(0x4a9,0x34a,0x3f9,0x345)](Fo,'\x20')+'\x20│',cr=ur['length'],Qi=cr,dr=cr-0x2,mr=Math['floor'](dr/0x3),pr=dr%0x3,Gi='──┴'[_0x286169(0x531,0x48b,0x458,0x48a)](mr)+'─'[_0x286169(0x4d3,0x48b,0x4c5,0x5ad)](pr),qi=_0x120ca0(0x45e,0x4ca,0x4e1,0x59f)[_0x120ca0(0x57c,0x4a9,0x4f0,0x4ca)](mr)+'─'['repeat'](pr),Ki='╭'+Gi+'╮\x0a'+ur+'\x0a'+ji+'\x0a'+Vi+'\x0a╰'+qi+'╯',fr=({recentSessions:_0xb1bc68})=>{const _0x103b36={_0x3e87fb:0x17e,_0x1a1bb2:0x375,_0x595e3e:0x43b,_0xb80417:0x4b6,_0x171641:0x49a,_0x495f4b:0x3b9,_0x13a241:0x3bd,_0x147d96:0x218,_0x214195:0x2bc,_0x54fa4a:0x59c,_0x3425ff:0x581,_0xba7eec:0x252,_0x5e0402:0x171,_0x3a236f:0x1c4,_0x53d9ae:0xc3,_0x13b654:0x181,_0x53c67f:0x1f5},_0x1350e7={_0x1748c5:0x15},_0x53082e={_0x2cfb56:0x148};function _0x31e086(_0x36c894,_0x221d61,_0x359fce,_0x562e90){return _0x286169(_0x36c894-0x1e,_0x359fce-_0x53082e._0x2cfb56,_0x36c894,_0x562e90-0x2d);}function _0x49243a(_0x2109ed,_0x5e715d,_0x5ba294,_0x1bc33f){return _0x120ca0(_0x2109ed,_0x5e715d-0x153,_0x5ba294-_0x1350e7._0x1748c5,_0x5ba294- -0x225);}let {cols:_0x58c99c}=_0x2e0367();return _0x5b673c(_0x152c07,{'flexDirection':_0x49243a(0x2dc,0xdf,_0x103b36._0x3e87fb,0xeb),'width':'100%','marginTop':0x1,'marginBottom':0x4,'flexWrap':_0x31e086(_0x103b36._0x1a1bb2,_0x103b36._0x595e3e,_0x103b36._0xb80417,_0x103b36._0x171641),'children':[_0x127e46(_0x152c07,{'justifyContent':_0x49243a(0x485,_0x103b36._0x495f4b,_0x103b36._0x13a241,0x453),'flexDirection':_0x49243a(_0x103b36._0x147d96,0x280,_0x103b36._0x214195,0x1c2),'alignItems':_0x31e086(0x47d,_0x103b36._0x54fa4a,0x4ce,_0x103b36._0x3425ff),'marginRight':0x2,'minWidth':Qi,'children':_0x127e46(_0x49ed59,{'colors':[_0x49243a(_0x103b36._0xba7eec,_0x103b36._0x5e0402,_0x103b36._0x3a236f,_0x103b36._0x53d9ae),_0x49243a(0x5e,0x83,_0x103b36._0x13b654,_0x103b36._0x53c67f)],'children':_0x127e46(_0xc0b272,{'children':''+Ki})})}),_0x58c99c>=0x3c&&_0x127e46(gr,{'recentSessions':_0xb1bc68})]});},gr=({recentSessions:_0x2615b2})=>{const _0x740c43={_0x2c23f1:0x1d0,_0x1263b6:0x1cf,_0x10db21:0xd3,_0x180b2a:0x87,_0x133731:0x84,_0x48b78b:0x8d,_0x450d49:0x1e1,_0x39113c:0x1ca,_0x213fb6:0x1ff,_0x508733:0x35b,_0x4e103f:0x2f6,_0x1107a7:0x113,_0x534455:0x65,_0x1e773a:0x235,_0x336f8c:0x50,_0x5e047b:0xdb},_0x1f3307={_0x15dd99:0x348,_0x518ca9:0x1a,_0x5f01a5:0x116,_0xcb8209:0x1b1,_0x4ca933:0x17c,_0x5d9d9d:0x2df,_0x42bde4:0x399,_0x3a256d:0x18,_0x32b5f2:0x18,_0x12f2ea:0x134,_0x4ca347:0x11a,_0x5a147b:0xb9,_0x25a897:0x11e,_0x28c853:0x89,_0x3b222a:0x320,_0x4692df:0x1ba,_0x420fcc:0x1ba,_0x382550:0x32,_0x50fe64:0x200,_0x1f5902:0x2e4,_0x5e6c82:0x316,_0x55035b:0x79,_0x34305f:0x1e0,_0x3faff9:0x93,_0x11278b:0xfd,_0x49b4e4:0xd4,_0x58d090:0x23b,_0x19c6d4:0x110,_0x2f1982:0xb3,_0x58588b:0x315,_0x220121:0x2e0,_0x4b3b35:0x27b,_0x5aa387:0x38e,_0x17318a:0x49d,_0x440645:0x98,_0x20c62b:0x13d},_0x23aa49={_0xc2c78c:0x4c8,_0x295bd5:0x62},_0x2c185e={_0x3c49e6:0xc9,_0x3155f7:0x36a,_0x4850e3:0x154};function _0x54e866(_0x3be234,_0x4e7b7b,_0x2943a5,_0x269d32){return _0x286169(_0x3be234-_0x2c185e._0x3c49e6,_0x3be234- -_0x2c185e._0x3155f7,_0x2943a5,_0x269d32-_0x2c185e._0x4850e3);}function _0xcac85(_0x37eb65,_0x15b5da,_0x2f9f5d,_0x10d434){return _0x286169(_0x37eb65-0x80,_0x15b5da- -_0x23aa49._0xc2c78c,_0x2f9f5d,_0x10d434-_0x23aa49._0x295bd5);}let {theme:_0x421438}=_0x259d06(),{cols:_0x2d4640}=_0x2e0367();return _0x5b673c(_0x152c07,{'flexDirection':_0x54e866(0x138,-0x12,_0x740c43._0x2c23f1,_0x740c43._0x1263b6),'overflow':_0xcac85(-0xe4,-_0x740c43._0x10db21,_0x740c43._0x180b2a,-0x1b4),'width':_0x2d4640-0x1a,'children':[_0x127e46(_0xc0b272,{'color':_0x421438[_0xcac85(0xf4,_0x740c43._0x133731,0xa2,0x121)][_0x54e866(_0x740c43._0x48b78b,_0x740c43._0x450d49,0x140,_0x740c43._0x39113c)],'bold':!0x0,'underline':!0x0,'children':'Recent\x20Sessions'}),_0x2615b2[_0x54e866(_0x740c43._0x213fb6,0x111,_0x740c43._0x508733,_0x740c43._0x4e103f)]===0x0?_0x127e46(_0xc0b272,{'color':_0x421438[_0xcac85(0x6f,0x84,0x194,_0x740c43._0x1107a7)][_0x54e866(_0x740c43._0x534455,0x135,-0x10,0x30)],'dimColor':!0x0,'children':_0xcac85(-_0x740c43._0x1e773a,-0x158,-0x1cb,-0xbd)}):_0x2615b2[_0x54e866(_0x740c43._0x336f8c,0x21,-_0x740c43._0x5e047b,0x59)](_0x29dd9b=>{let _0x4d63e1=_0x2eb78d(_0x29dd9b[_0x3c312a(0x1ea,_0x1f3307._0x15dd99,0x32a,0x364)]),_0x45142b=(_0x29dd9b[_0x359c51(_0x1f3307._0x518ca9,0xd2,0x151,_0x1f3307._0x5f01a5)]||_0x29dd9b['lastMessage'])[_0x359c51(0x1b7,_0x1f3307._0xcb8209,0x109,0x1b9)]('\x0a')[_0x3c312a(_0x1f3307._0x4ca933,_0x1f3307._0x5d9d9d,0x26d,_0x1f3307._0x42bde4)]('\x20'),_0x541ae5=_0x50125a(_0x29dd9b[_0x359c51(0x131,_0x1f3307._0x3a256d,0xf7,-_0x1f3307._0x32b5f2)]);function _0x359c51(_0x307734,_0x4f70bb,_0x5101e0,_0x39cf6a){return _0xcac85(_0x307734-0x149,_0x5101e0-0x4a,_0x307734,_0x39cf6a-0x1c4);}function _0x3c312a(_0x355ac6,_0x51d573,_0x21cbef,_0x4bd3e3){return _0x54e866(_0x21cbef-0x27f,_0x51d573-0x14,_0x4bd3e3,_0x4bd3e3-0x26);}return _0x5b673c(_0x152c07,{'flexDirection':_0x359c51(-0x1f3,-_0x1f3307._0x12f2ea,-_0x1f3307._0x4ca347,-0x111),'flexWrap':'nowrap','overflow':_0x359c51(-_0x1f3307._0x5a147b,-_0x1f3307._0x25a897,-_0x1f3307._0x28c853,-0x1c3),'flexShrink':0x1,'children':[_0x127e46(_0x152c07,{'flexShrink':0x1,'overflow':_0x3c312a(0x3bc,_0x1f3307._0x3b222a,0x30a,0x310),'children':_0x127e46(_0xc0b272,{'color':_0x421438[_0x359c51(_0x1f3307._0x4692df,_0x1f3307._0x420fcc,0xce,_0x1f3307._0x382550)][_0x3c312a(_0x1f3307._0x50fe64,0x3e3,_0x1f3307._0x1f5902,_0x1f3307._0x5e6c82)],'dimColor':!0x0,'wrap':_0x359c51(-_0x1f3307._0x55035b,-_0x1f3307._0x34305f,-0x90,-_0x1f3307._0x3faff9),'children':_0x4d63e1+_0x359c51(0x6,0x257,_0x1f3307._0x11278b,_0x1f3307._0x49b4e4)+_0x45142b})}),_0x127e46(_0x152c07,{'flexWrap':_0x359c51(-0x24b,-_0x1f3307._0x58d090,-_0x1f3307._0x19c6d4,-_0x1f3307._0x2f1982),'flexShrink':0x0,'marginLeft':0x1,'children':_0x127e46(_0xc0b272,{'color':_0x541ae5[_0x3c312a(0x2a5,0x1ee,0x25d,_0x1f3307._0x58588b)],'dimColor':!0x0,'children':_0x541ae5[_0x3c312a(_0x1f3307._0x220121,_0x1f3307._0x4b3b35,_0x1f3307._0x5aa387,_0x1f3307._0x17318a)]})})]},_0x29dd9b[_0x359c51(-0x32,-_0x1f3307._0x440645,-_0x1f3307._0x20c62b,-0xf8)]);})]});};import{jsx as _0x2e3905,jsxs as _0x1ac06c}from'react/jsx-runtime';function Xi(_0x103ade,_0x1e5c36){const _0x1b054a={_0x551915:0x210,_0x5c9d8e:0x49e,_0x4e1271:0x36e},_0x3880d5={_0xb399f1:0x23a};function _0x3c77df(_0x893b08,_0x281625,_0x325bf,_0x23e06f){return _0x120ca0(_0x325bf,_0x281625-0x46,_0x325bf-0x3f,_0x23e06f- -_0x3880d5._0xb399f1);}function _0x459e89(_0x28c18a,_0x49d59f,_0x5d10cf,_0x253bb9){return _0x120ca0(_0x5d10cf,_0x49d59f-0xf6,_0x5d10cf-0x12c,_0x49d59f- -0x151);}if(_0x103ade['length']!==_0x1e5c36[_0x3c77df(0x48a,0x33a,0x397,0x36e)])return!0x1;for(let _0x46b40d=0x0;_0x46b40d<_0x103ade[_0x3c77df(_0x1b054a._0x551915,0x3ea,_0x1b054a._0x5c9d8e,_0x1b054a._0x4e1271)];_0x46b40d++)if(_0x103ade[_0x46b40d]!==_0x1e5c36[_0x46b40d])return!0x1;return!0x0;}function Ji(_0x15b33b,_0x46b146){const _0x30860a={_0x361e77:0x290,_0x1fbd6a:0xd6,_0x5d9025:0x1a6,_0x561e9d:0x3c3,_0x3141e5:0x99,_0x37721e:0x1c3,_0x5e8d51:0x31a,_0x43e42e:0x338,_0x4d82b0:0x38d,_0x54cfad:0x37f,_0x23d40f:0x242,_0x5001fb:0x2b7,_0x491eb7:0x34b,_0x36a78b:0x278,_0x53117d:0x2db,_0x2cc893:0x6c,_0x251dd4:0x323,_0x5b6e81:0x224,_0x5c3263:0x24a,_0x555a1a:0x274,_0x11564b:0x1e2,_0x4b48c4:0x25b,_0x371efd:0xb3,_0x1ddf17:0x1b3,_0x2456fe:0xc7,_0x48e386:0x1ab,_0x2fa125:0x160,_0x4ed18c:0x22a,_0xac9af9:0x156,_0x179fbb:0x1f0,_0x2edc8f:0x203,_0x42898e:0x71,_0x4291d9:0x37,_0x4699da:0xc7,_0x1c29f7:0xb0,_0x1833c4:0x291,_0x536f2a:0x1ee,_0x1e21e6:0x2ca,_0x7163f5:0x30c,_0x5c9f2a:0x1d6,_0x2db6f7:0x236,_0x259b5c:0x255,_0x49f03f:0x461,_0x28d813:0x3e4,_0x54e8f4:0x443,_0x218eb1:0x362,_0xf37d41:0x123,_0x331679:0x145,_0x349d04:0x313,_0x259409:0x84,_0x24c38c:0x1cf,_0x884fb4:0x1ff,_0x516d90:0x40a,_0x54522f:0x206,_0x31eade:0x30c,_0x2e3c37:0x12f,_0x25b5ae:0x1bc,_0x392902:0x103,_0xe26013:0x23c,_0x193c25:0x160,_0x392208:0x293},_0x32d297={_0x3b995b:0x24c},_0x386002={_0x3bdc5a:0x5e0,_0x373d43:0x14};let _0xae5b3a=[],_0x130fa8=[],_0x1b146f=new Map();for(let _0x26493e of _0x15b33b)_0x26493e[_0x5842b3(-0x360,-0x268,-0x21f,-0x2fe)]===_0x5842b3(-_0x30860a._0x361e77,-_0x30860a._0x1fbd6a,-0x1d1,-_0x30860a._0x5d9025)&&_0x26493e['metadata']?.[_0x42c6d3(0x2e0,0x520,0x2c7,_0x30860a._0x561e9d)]?.['id']&&_0x1b146f[_0x5842b3(-_0x30860a._0x3141e5,-_0x30860a._0x37721e,-0x1f0,-_0x30860a._0x5e8d51)](_0x26493e['metadata'][_0x42c6d3(0x334,_0x30860a._0x43e42e,_0x30860a._0x4d82b0,0x3c3)]['id'],_0x26493e);let _0x2c62c0=new Set();for(let _0x543bdc of _0x15b33b)if(_0x2c62c0['add'](_0x543bdc['id']),_0x543bdc[_0x5842b3(-_0x30860a._0x54cfad,-0x17d,-0x21f,-0x2f2)]===_0x42c6d3(0xec,_0x30860a._0x23d40f,0xa4,0x1aa)){let _0x10d113=_0x543bdc['metadata']?.[_0x5842b3(-0x17f,-0x170,-0x1b0,-_0x30860a._0x5001fb)]||[],_0x23290d=new Map(),_0x2e0418=[];for(let _0x544b82 of _0x10d113){let _0x1583c0=_0x1b146f[_0x5842b3(-0x350,-_0x30860a._0x491eb7,-0x24a,-0x219)](_0x544b82['id']);_0x1583c0&&(_0x23290d[_0x5842b3(-_0x30860a._0x36a78b,-0x272,-0x1f0,-0x275)](_0x544b82['id'],_0x1583c0),_0x2e0418[_0x42c6d3(0x274,0x26c,_0x30860a._0x53117d,0x30c)](_0x544b82['id']));}if(_0x23290d[_0x5842b3(-_0x30860a._0x2cc893,-0x180,-0x58,-0x16a)]>0x0){let _0x3f4ded=_0x46b146[_0x5842b3(-_0x30860a._0x251dd4,-_0x30860a._0x5b6e81,-_0x30860a._0x5c3263,-0x338)](_0x543bdc['id']);if(_0x3f4ded&&_0x3f4ded[_0x42c6d3(0x3cd,0x3c7,0x305,_0x30860a._0x555a1a)]===_0x543bdc&&Xi(_0x3f4ded[_0x5842b3(-0x178,-_0x30860a._0x11564b,-0x194,-_0x30860a._0x4b48c4)],_0x2e0418))_0xae5b3a[_0x5842b3(-_0x30860a._0x371efd,-_0x30860a._0x1ddf17,-_0x30860a._0x2456fe,-0x1a2)](_0x3f4ded[_0x42c6d3(0x8b,0x27e,0x67,_0x30860a._0x48e386)]);else{let _0x25dced=new Map();for(let _0xabcf69 of _0x10d113){let _0x38f31b=_0x23290d['get'](_0xabcf69['id'])?.['metadata']?.[_0x5842b3(0x6a,-0x21,-0x10,-_0x30860a._0x2fa125)];_0x25dced[_0x5842b3(-_0x30860a._0x4ed18c,-_0x30860a._0xac9af9,-_0x30860a._0x179fbb,-_0x30860a._0x2edc8f)](_0xabcf69['id'],Ot(_0x38f31b));}let _0x5b2ad8={..._0x543bdc,'metadata':{..._0x543bdc[_0x5842b3(-0x5f,-0x104,-_0x30860a._0x42898e,0x71)],'toolResultsByCallId':_0x23290d,'toolStates':_0x25dced}};_0x46b146['set'](_0x543bdc['id'],{'inputRef':_0x543bdc,'resultIds':_0x2e0418,'output':_0x5b2ad8}),_0xae5b3a[_0x5842b3(_0x30860a._0x4291d9,-0xee,-_0x30860a._0x4699da,-_0x30860a._0x1c29f7)](_0x5b2ad8);}for(let [,_0x1db4c4]of _0x23290d)_0xae5b3a[_0x42c6d3(_0x30860a._0x1833c4,_0x30860a._0x536f2a,0x288,0x30c)](_0x1db4c4);}else _0x130fa8[_0x42c6d3(_0x30860a._0x1e21e6,0x1d6,0x24e,_0x30860a._0x7163f5)](_0x543bdc);}else{if(_0x543bdc[_0x5842b3(-_0x30860a._0x5c9f2a,-_0x30860a._0x2db6f7,-0x21f,-_0x30860a._0x259b5c)]==='tool_result'){let _0x3537a6=_0x543bdc[_0x42c6d3(_0x30860a._0x49f03f,_0x30860a._0x28d813,_0x30860a._0x54e8f4,_0x30860a._0x218eb1)]?.[_0x5842b3(-0x4a,-_0x30860a._0xf37d41,-0x10,_0x30860a._0x331679)]?.['id'];_0x3537a6&&_0x15b33b[_0x5842b3(-_0x30860a._0x349d04,-_0x30860a._0x259409,-_0x30860a._0x24c38c,-0x2cc)](_0xc5cd0=>_0xc5cd0[_0x42c6d3(0x1ba,0x56,0x296,0x1b4)]===_0x42c6d3(0x85,0x245,0x2c0,0x1aa)&&_0xc5cd0[_0x5842b3(0x41,-0x136,-0x71,-0x16f)]?.[_0x42c6d3(0x309,0x180,0x1d5,0x223)]?.[_0x5842b3(-0x21e,-0xf3,-0x1cf,-0x2d8)](_0x251b15=>_0x251b15['id']===_0x3537a6))||_0xae5b3a['push'](_0x543bdc);}else _0xae5b3a[_0x5842b3(-0x155,-0x100,-0xc7,-_0x30860a._0x884fb4)](_0x543bdc);}function _0x5842b3(_0x1a676a,_0x1b90ba,_0x34092d,_0x3dff54){return _0x286169(_0x1a676a-0x21,_0x34092d- -_0x386002._0x3bdc5a,_0x1a676a,_0x3dff54-_0x386002._0x373d43);}_0xae5b3a[_0x42c6d3(0x1d3,_0x30860a._0x516d90,_0x30860a._0x54522f,_0x30860a._0x31eade)](..._0x130fa8);function _0x42c6d3(_0x3af8f4,_0x217db4,_0xb8948c,_0x4852c1){return _0x120ca0(_0xb8948c,_0x217db4-0x19d,_0xb8948c-0x156,_0x4852c1- -_0x32d297._0x3b995b);}for(let _0x93bd75 of _0x46b146[_0x5842b3(-_0x30860a._0x2e3c37,-_0x30860a._0x25b5ae,-_0x30860a._0x392902,-0x259)]())_0x2c62c0[_0x5842b3(-0x2c5,-0x174,-_0x30860a._0xe26013,-_0x30860a._0x193c25)](_0x93bd75)||_0x46b146[_0x42c6d3(0x215,0x2b6,0x151,_0x30860a._0x392208)](_0x93bd75);return _0xae5b3a;}var Zi=({messages:_0x38f28c,headerKey:_0x371396,sessions:_0x2c13b7})=>{const _0xf21931={_0x23e95a:0x481,_0x129744:0x2e1,_0x2168fa:0x1c6},_0x2cbcb2={_0x176fba:0x25a},_0x3a6149={_0x4e36fc:0x1d2,_0x98fe6a:0xbe,_0x35321f:0xf5},_0x39ea5a={_0x4d05ab:0x14e,_0x59b6e8:0x40,_0x346619:0x182,_0x21a89e:0x2d7,_0x4697e2:0x1d3,_0x4b075f:0x2ca,_0xb709f9:0x1d3,_0x137a0f:0xbb,_0x31fb13:0x204,_0x1c83b9:0xc7,_0x1217bd:0x21e,_0x1e7ce6:0x375,_0x3af936:0x49e,_0x2160ef:0x338,_0x5b95b3:0x37e},_0x16835a={_0xad8921:0x30c,_0x448dcf:0x14b,_0x1d72f1:0x137},_0x1b4c97={_0x1b7a6a:0x1cd},_0x468efe={_0x461c71:0x1ad,_0x157531:0x109,_0x4bc464:0x97,_0x1863a0:0x1b5,_0x241774:0x22f,_0x5d5087:0x147,_0x1c6ce8:0x1ee,_0x291cdb:0x89,_0x4852e2:0xd5,_0x585b63:0x59,_0x2f3715:0xe2,_0x407a9d:0x187,_0x45251b:0xbb,_0x26ddf5:0x90,_0x42b186:0x155,_0x1348b2:0xfc,_0x447822:0x18,_0x5b7df3:0xcf},_0x15ba07={_0x253862:0xb8};let _0x31f16b=_0x2c13b7??null,_0x3bba72=_0x57d044(new Map()),_0x5d6d1b=_0x2f6a8b(()=>Ji(_0x38f28c,_0x3bba72[_0x2c3735(0x331,0x382,0x3a8,0x447)]),[_0x38f28c]),_0xb531d4=_0x2f6a8b(()=>wn(_0x5d6d1b),[_0x5d6d1b]),_0x2be14e=_0x5e3c00[_0x2c3735(0x3c9,0x392,0x471,0x338)]([]),_0x49b0ea=_0x2f6a8b(()=>{const _0x57ca54={_0x495408:0x279,_0x35feb9:0x61};let _0x3eacf3=_0x2be14e[_0x5929b1(_0x468efe._0x461c71,_0x468efe._0x157531,_0x468efe._0x4bc464,_0x468efe._0x1863a0)],_0x2f972c=_0x5d6d1b[_0x1f25b6(-0x2b6,-0x18a,-_0x468efe._0x241774,-_0x468efe._0x5d5087)](0x0,_0xb531d4),_0x6f5bcd=_0x409198=>(_0x2be14e[_0x1f25b6(0xc6,-0x5c,0x41,-0x1a8)]=_0x409198,_0x409198);if(_0x3eacf3[_0x1f25b6(-0x73,-0x90,-0x132,-_0x468efe._0x1c6ce8)]===0x0||_0xb531d4<_0x3eacf3[_0x5929b1(-_0x468efe._0x291cdb,_0x468efe._0x4852e2,_0x468efe._0x585b63,_0x468efe._0x2f3715)]||_0x2f972c[_0x1f25b6(-0x6e,-0x90,0xc1,-_0x468efe._0x407a9d)]>0x0&&_0x3eacf3[0x0]?.['id']!==_0x2f972c[0x0]?.['id'])return _0x6f5bcd(_0x2f972c);function _0x5929b1(_0x5b0a73,_0x4e1cbb,_0x5241ac,_0x2308dc){return _0x2c3735(_0x2308dc,_0x4e1cbb- -_0x57ca54._0x495408,_0x5241ac-0x18,_0x2308dc-_0x57ca54._0x35feb9);}if(_0xb531d4>_0x3eacf3[_0x1f25b6(_0x468efe._0x45251b,-_0x468efe._0x26ddf5,-0x29,-0x15a)]){let _0x40f873=_0x2f972c[_0x5929b1(0x7e,-0x25,-_0x468efe._0x42b186,-_0x468efe._0x1348b2)](_0x3eacf3[_0x1f25b6(_0x468efe._0x447822,-0x90,_0x468efe._0x5b7df3,-0xef)]);return _0x6f5bcd([..._0x3eacf3,..._0x40f873]);}function _0x1f25b6(_0x447c90,_0x5a7410,_0x4cf356,_0x17ab62){return _0x1d306c(_0x447c90,_0x5a7410- -0x53b,_0x4cf356-0x3c,_0x17ab62-_0x15ba07._0x253862);}return _0x3eacf3;},[_0x5d6d1b,_0xb531d4]),_0x3b1f60=_0x57d044(null),_0x25d392=_0x57d044([]),_0x5c0620=_0x2f6a8b(()=>{function _0x2ab401(_0x21da8e,_0x440ab9,_0x22aeaa,_0x216ea7){return _0x1d306c(_0x440ab9,_0x22aeaa- -0x136,_0x22aeaa-_0x1b4c97._0x1b7a6a,_0x216ea7-0x1eb);}function _0x34cdc3(_0xc74bba,_0x3c6619,_0x2dcada,_0xa79a0){return _0x1d306c(_0xc74bba,_0x2dcada- -_0x16835a._0xad8921,_0x2dcada-_0x16835a._0x448dcf,_0xa79a0-_0x16835a._0x1d72f1);}let _0x52825c=_0x34cdc3(_0x39ea5a._0x4d05ab,0x10b,_0x39ea5a._0x59b6e8,_0x39ea5a._0x346619)+_0x371396;(!_0x3b1f60[_0x34cdc3(0x2b5,_0x39ea5a._0x21a89e,_0x39ea5a._0x4697e2,0x2f8)]||_0x3b1f60[_0x34cdc3(_0x39ea5a._0x4b075f,0x23b,_0x39ea5a._0xb709f9,0x97)]['id']!==_0x52825c)&&(_0x3b1f60['current']={'type':_0x2ab401(_0x39ea5a._0x137a0f,0x115,0x1c1,_0x39ea5a._0x31fb13),'id':_0x52825c,'sessions':_0x31f16b??[]});let _0x1ad5c6=[];_0x1ad5c6[_0x34cdc3(0x11c,0x1ce,0x14f,_0x39ea5a._0x1c83b9)](_0x3b1f60['current']),_0x1ad5c6['push'](..._0x49b0ea);let _0x43c1de=_0x25d392['current'];return _0x43c1de[_0x2ab401(_0x39ea5a._0x1217bd,0x26c,_0x39ea5a._0x1e7ce6,_0x39ea5a._0x3af936)]===_0x1ad5c6['length']&&_0x43c1de['every']((_0x43aac5,_0x34511d)=>_0x43aac5===_0x1ad5c6[_0x34511d])?_0x43c1de:(_0x25d392[_0x2ab401(_0x39ea5a._0x2160ef,0x45b,0x3a9,_0x39ea5a._0x5b95b3)]=_0x1ad5c6,_0x1ad5c6);},[_0x371396,_0x31f16b,_0x49b0ea]),_0x459f9a=_0x2f6a8b(()=>_0x5d6d1b[_0x2c3735(0x215,0x254,0x1a5,0x316)](_0x49b0ea['length']),[_0x5d6d1b,_0x49b0ea]);function _0x1d306c(_0x1624f2,_0x5e63d2,_0x4b85c9,_0x480938){return _0x286169(_0x1624f2-_0x3a6149._0x4e36fc,_0x5e63d2- -_0x3a6149._0x98fe6a,_0x1624f2,_0x480938-_0x3a6149._0x35321f);}function _0x2c3735(_0xa29ea,_0x52b558,_0x28754c,_0x4de07c){return _0x120ca0(_0xa29ea,_0x52b558-0xac,_0x28754c-0x158,_0x52b558- -_0x2cbcb2._0x176fba);}return _0x1ac06c(_0x2cdc1e,{'flexDirection':'column','flexShrink':0x1,'overflow':'hidden','width':'100%','children':[_0x5c0620[_0x2c3735(_0xf21931._0x23e95a,0x34e,0x2e3,_0xf21931._0x129744)]>0x0&&_0x2e3905(_0x212d9f,{'items':_0x5c0620,'style':{'width':_0x2c3735(_0xf21931._0x2168fa,0x2f4,0x31e,0x1ac)},'children':_0x2d15f9=>_0x2d15f9[_0x1d306c(0x3c7,0x303,0x2a2,0x20b)]==='logo'?_0x2e3905(fr,{'recentSessions':_0x2d15f9[_0x1d306c(0x5e5,0x534,0x5b7,0x424)]},_0x2d15f9['id']):_0x2e3905(zt,{'message':_0x2d15f9},_0x2d15f9['id'])}),_0x459f9a['map'](_0x5f0bd3=>_0x2e3905(zt,{'message':_0x5f0bd3},_0x5f0bd3['id']))]});},ea=_0x5e3c00[_0x286169(0x6ba,0x59f,0x516,0x49c)](Zi);import{createContext as _0x42b4f2,useContext as _0x2250fc,useState as _0x1d680e,useCallback as _0x17da28,useEffect as _0x31f2a0,useRef as _0x3c3311}from'react';import{jsx as _0x1cfcb4}from'react/jsx-runtime';var xr=_0x42b4f2(void 0x0);function up({orchestratorManager:_0x59981e,children:_0x35f086}){const _0x1c7120={_0xda63d1:0x24,_0x49cd64:0x122},_0x394e2e={_0x6d104a:0xe1,_0x349e20:0xa3,_0x25b81a:0xc},_0x4dd26c={_0x3bb58e:0x116,_0x159a48:0xc,_0x50a5a8:0xff,_0x144eef:0x1bd,_0x4d7705:0x95,_0x1a8e87:0x75},_0x5030c2={_0x1321b9:0x49b,_0x3f74c4:0x61b,_0x260fd0:0x6c0,_0x833b1e:0x369,_0x338e34:0x329,_0x372a7e:0x374,_0x42f728:0x61e,_0x86d76a:0x554,_0x5e2d80:0x58f,_0x545afd:0x2ff,_0x93e574:0x39d,_0x2beb37:0x5d6,_0xedf7dc:0x4db,_0x1a35fc:0x478,_0x6a38f6:0x533},_0x36b92b={_0x2ee946:0x1ee};function _0x3c5fc9(_0x2c4636,_0x11cd06,_0x251f83,_0x194f5a){return _0x286169(_0x2c4636-_0x36b92b._0x2ee946,_0x11cd06- -0x3ed,_0x194f5a,_0x194f5a-0x1f1);}let [_0x3091d1,_0x1685a4]=_0x1d680e(null),_0x291542=_0x3c3311(new Set()),_0x29d814=_0x17da28(_0x38670d=>{const _0x80559d={_0x4b47b7:0x1eb},_0x5637d5={_0x517249:0x252};function _0x333747(_0x4c3f60,_0x14487a,_0xea7da1,_0x302f11){return _0x55d8(_0xea7da1-_0x5637d5._0x517249,_0x302f11);}function _0x53acf0(_0x11456d,_0x1c7b86,_0x2f324c,_0x2bb7de){return _0x55d8(_0x11456d-_0x80559d._0x4b47b7,_0x2bb7de);}!_0x3091d1||!_0x59981e||_0x291542[_0x53acf0(0x562,_0x5030c2._0x1321b9,_0x5030c2._0x3f74c4,_0x5030c2._0x260fd0)][_0x53acf0(_0x5030c2._0x833b1e,0x413,_0x5030c2._0x338e34,_0x5030c2._0x372a7e)](_0x3091d1[_0x53acf0(0x4cc,_0x5030c2._0x42f728,0x4c6,_0x5030c2._0x86d76a)])||(_0x291542[_0x333747(_0x5030c2._0x5e2d80,0x4f6,0x5c9,0x687)][_0x333747(0x305,0x408,0x448,_0x5030c2._0x545afd)](_0x3091d1[_0x53acf0(0x4cc,0x543,0x512,_0x5030c2._0x93e574)]),_0x59981e[_0x53acf0(0x526,_0x5030c2._0x2beb37,0x4aa,0x598)](_0x3091d1[_0x333747(_0x5030c2._0xedf7dc,_0x5030c2._0x1a35fc,_0x5030c2._0x6a38f6,0x423)],_0x38670d),_0x1685a4(null));},[_0x3091d1,_0x59981e]);_0x31f2a0(()=>{const _0x4234d7={_0x1f2c17:0x188,_0x38cf25:0x123,_0x415958:0x13e},_0x287307={_0x3c8d19:0x143,_0x55415c:0xff},_0x5e56cf={_0x70ce5d:0x242};function _0x35af9c(_0x18e3e9,_0x20a817,_0x4cc0f6,_0x9533ef){return _0x55d8(_0x18e3e9- -_0x5e56cf._0x70ce5d,_0x20a817);}let _0x3bf37f=_0x3eb477=>{const _0x144441={_0x29cfcd:0x18f};function _0x29914f(_0x504504,_0xdf86d4,_0x45ff75,_0x115f71){return _0x55d8(_0xdf86d4-0x3e2,_0x45ff75);}function _0x3b38c1(_0xc5d0b9,_0x5e5c55,_0x4e9d56,_0x327a24){return _0x55d8(_0x327a24- -_0x144441._0x29cfcd,_0xc5d0b9);}if(_0x3eb477?.[_0x3b38c1(0x82,-0xe4,_0x4dd26c._0x3bb58e,_0x4dd26c._0x159a48)]===_0x3b38c1(0x2f,_0x4dd26c._0x50a5a8,_0x4dd26c._0x144eef,0xe9)){let _0x5e1311=_0x3eb477;_0x1685a4({'questionId':_0x5e1311['questionId'],'questions':_0x5e1311[_0x3b38c1(_0x4dd26c._0x4d7705,_0x4dd26c._0x1a8e87,0x119,0x1bd)]});}};return _0x224133['on'](_0x35af9c(_0x394e2e._0x6d104a,0x142,_0x394e2e._0x349e20,-_0x394e2e._0x25b81a),_0x3bf37f),()=>{const _0x39a501={_0xb8d03f:0x12d};function _0x2ac23d(_0x432e84,_0x394ed3,_0x74e3d,_0x65d3b4){return _0x35af9c(_0x65d3b4-0x17,_0x394ed3,_0x74e3d-0x172,_0x65d3b4-_0x39a501._0xb8d03f);}function _0x5c4dff(_0x5667e2,_0x42309b,_0x574dd8,_0x5e2893){return _0x35af9c(_0x42309b-_0x287307._0x3c8d19,_0x5e2893,_0x574dd8-0x42,_0x5e2893-_0x287307._0x55415c);}_0x224133[_0x5c4dff(_0x4234d7._0x1f2c17,_0x4234d7._0x38cf25,0x265,0x108)](_0x2ac23d(0x1aa,_0x4234d7._0x415958,0x250,0xf8),_0x3bf37f);};},[]);let _0x5754cd={'pendingQuestion':_0x3091d1,'handleQuestionResponse':_0x29d814};return _0x1cfcb4(xr[_0x3c5fc9(-0x10f,-0x59,_0x1c7120._0xda63d1,-_0x1c7120._0x49cd64)],{'value':_0x5754cd,'children':_0x35f086});}function Xt(){const _0x3a40c3={_0x4bf99e:0x2aa,_0x227cd4:0x2c6,_0x4336d7:0x301},_0x271ed1={_0x1afadf:0x159};let _0x960e0d=_0x2250fc(xr);if(!_0x960e0d)throw new Error(_0x269ddd(_0x3a40c3._0x4bf99e,0x210,_0x3a40c3._0x227cd4,_0x3a40c3._0x4336d7));function _0x269ddd(_0x2ad3ad,_0x22c2b9,_0x5f2522,_0x89ff12){return _0x120ca0(_0x2ad3ad,_0x22c2b9-0x1bb,_0x5f2522-0x1bb,_0x5f2522- -_0x271ed1._0x1afadf);}return _0x960e0d;}import{forwardRef as _0x22759c,useMemo as _0x5a31b8,useCallback as _0x1e0ccd,useRef as _0x2de579,useEffect as _0x3f3154,useState as _0x22750d}from'react';import{Box as _0x2b924a,Text as _0x306f29}from'ink';import{useState as _0x5d6b49,useEffect as _0x3f81e4,useCallback as _0x4b2653,useMemo as _0x12bf24}from'react';function Zt(){const _0x12c7fb={_0x2a6ac5:0x355,_0x32e89b:0x416,_0x59bebb:0x3b5},_0x201260={_0x5aed1a:0x7a,_0x49bd61:0x55,_0x44ad44:0x2e1},_0xbb1a7f={_0x915f8c:0x670},_0x142ecb={_0x24087f:0x1e1,_0xed9bb9:0x2f0},_0x53e54c={_0x27ecf4:0x92,_0x426633:0x15e},_0x39706a={_0x383cc9:0x432,_0x558162:0x241,_0x169b27:0xbf,_0x45b60b:0x206,_0x1689d6:0x2bc},_0x298f9e={_0x475ab6:0x5a,_0x576f2c:0x161,_0x18e1f8:0x1b3},_0x4df710={_0x2cc62d:0x273,_0x24ae6d:0xc3},_0x47a52b={_0x4b4888:0x278,_0x2019e0:0x18c},_0x962f6b={_0x996c1e:0x7e4};let [_0xa50d9b,_0x54bc00]=_0x5d6b49(()=>_0x2e544a[_0x4f8a7b(0x403,0x26c,0x436,0x2e5)]({'includeHidden':!0x1})),[_0x1215d8,_0x3ec650]=_0x5d6b49(()=>_0x2e544a['getActive']()),_0x116e2d=_0x4b2653(()=>{function _0x556b09(_0x5bae48,_0x3ab9b7,_0x29b8bc,_0x1c262c){return _0x4f8a7b(_0x5bae48-0x177,_0x5bae48,_0x29b8bc-0x175,_0x1c262c-0x3fe);}_0x54bc00(_0x2e544a[_0x556b09(0x6ce,_0x962f6b._0x996c1e,0x6a4,0x6e3)]({'includeHidden':!0x1}));},[]);function _0x4f8a7b(_0x5f14eb,_0x277307,_0x171519,_0x2d9e3a){return _0x286169(_0x5f14eb-0x153,_0x2d9e3a- -_0x47a52b._0x4b4888,_0x277307,_0x2d9e3a-_0x47a52b._0x2019e0);}_0x3f81e4(()=>{const _0x1ca3a1={_0x1d72eb:0x9,_0x4a26c9:0x13c,_0x23858c:0x88,_0x54e9fe:0x65,_0x8dfa30:0x180,_0x2fe2e5:0xad,_0x2aa12b:0x7b},_0x1c2ecd={_0x1cbdd4:0x1ab},_0x46fd56={_0x2c6ffd:0x1f8,_0x24ca78:0x38},_0x34adb1={_0x511179:0x1bf,_0x561860:0x145,_0x12bccc:0x7d};let _0xe75712=()=>{function _0x35044d(_0x3dd00f,_0x45f480,_0x42658a,_0x3866c8){return _0x55d8(_0x45f480- -0x47,_0x3866c8);}_0x3ec650(_0x2e544a[_0x35044d(_0x4df710._0x2cc62d,0x18b,0x180,_0x4df710._0x24ae6d)]());},_0x307786=()=>{_0x116e2d();};function _0x565198(_0x2f80cf,_0x349db7,_0x41a506,_0xbbd2b7){return _0x4f8a7b(_0x2f80cf-_0x34adb1._0x511179,_0x41a506,_0x41a506-_0x34adb1._0x561860,_0x349db7- -_0x34adb1._0x12bccc);}function _0x2c8185(_0x53fb21,_0x2f1573,_0x11f60c,_0x1b6e77){return _0x4f8a7b(_0x53fb21-_0x298f9e._0x475ab6,_0x11f60c,_0x11f60c-_0x298f9e._0x576f2c,_0x2f1573-_0x298f9e._0x18e1f8);}return _0x224133['on'](_0x565198(0x2cc,0x2e7,_0x39706a._0x383cc9,_0x39706a._0x558162),_0xe75712),_0x224133['on'](_0x565198(_0x39706a._0x169b27,_0x39706a._0x45b60b,_0x39706a._0x1689d6,0x23b),_0xe75712),_0x224133['on']('ui:commands:refresh',_0x307786),()=>{function _0x1ad986(_0xdd950a,_0x487711,_0x3096bb,_0x1cf59a){return _0x565198(_0xdd950a-0x9a,_0x487711- -_0x46fd56._0x2c6ffd,_0x1cf59a,_0x1cf59a-_0x46fd56._0x24ca78);}function _0xb21729(_0x3eae3b,_0xdf0f79,_0x1fbcac,_0x4a5e80){return _0x565198(_0x3eae3b-0x128,_0xdf0f79- -_0x1c2ecd._0x1cbdd4,_0x3eae3b,_0x4a5e80-0x3d);}_0x224133['off'](_0xb21729(-_0x1ca3a1._0x1d72eb,_0x1ca3a1._0x4a26c9,_0x1ca3a1._0x23858c,_0x1ca3a1._0x54e9fe),_0xe75712),_0x224133[_0x1ad986(-_0x1ca3a1._0x8dfa30,-0xa5,-_0x1ca3a1._0x2fe2e5,-_0x1ca3a1._0x2aa12b)]('ui:command:deactivated',_0xe75712),_0x224133['off']('ui:commands:refresh',_0x307786);};},[_0x116e2d]);let _0x56bc43=_0x4b2653(async _0x485e09=>{function _0x5f0c2f(_0x298ac7,_0x5cb370,_0x184ed6,_0x3c232b){return _0x4f8a7b(_0x298ac7-_0x53e54c._0x27ecf4,_0x184ed6,_0x184ed6-_0x53e54c._0x426633,_0x3c232b- -0x156);}await _0x2e544a[_0x5f0c2f(_0x142ecb._0x24087f,_0x142ecb._0xed9bb9,0x185,0x1bd)](_0x485e09);},[]),_0x50627=_0x4b2653((_0x38f4fb,_0x5f1e47)=>{const _0xbd16ae={_0x1b1935:0xe7,_0x1bf54a:0x409};function _0x333d56(_0x18ecbf,_0x4a7702,_0x3f0a5f,_0x27ec5b){return _0x4f8a7b(_0x18ecbf-_0xbd16ae._0x1b1935,_0x3f0a5f,_0x3f0a5f-0x174,_0x27ec5b-_0xbd16ae._0x1bf54a);}_0x2e544a[_0x333d56(0x888,_0xbb1a7f._0x915f8c,0x874,0x778)](_0x38f4fb,_0x5f1e47);},[]),_0x208f54=_0x4b2653(()=>{function _0x5f3066(_0x386a88,_0xd9564f,_0x18a4d7,_0x12b398){return _0x4f8a7b(_0x386a88-_0x201260._0x5aed1a,_0x386a88,_0x18a4d7-_0x201260._0x49bd61,_0xd9564f-_0x201260._0x44ad44);}_0x2e544a[_0x5f3066(_0x12c7fb._0x2a6ac5,_0x12c7fb._0x32e89b,0x46d,_0x12c7fb._0x59bebb)]();},[]);return _0x12bf24(()=>({'commands':_0xa50d9b,'activeCommand':_0x1215d8,'execute':_0x56bc43,'setActiveCommand':_0x50627,'clearActiveCommand':_0x208f54,'refreshCommands':_0x116e2d}),[_0xa50d9b,_0x1215d8,_0x56bc43,_0x50627,_0x208f54,_0x116e2d]);}import{jsx as _0x35fcab}from'react/jsx-runtime';function Uo(){const _0x5061ea={_0x15da26:0x145,_0x4c186c:0x4e,_0x477d2a:0x15e},_0x316498={_0x19e096:0x107};let {activeCommand:_0x54517f,clearActiveCommand:_0x4bff0b}=Zt();if(!_0x54517f)return null;function _0x2f51b4(_0x14b680,_0x184185,_0x91d9a4,_0x22cba2){return _0x286169(_0x14b680-0x23,_0x14b680- -0x487,_0x91d9a4,_0x22cba2-_0x316498._0x19e096);}let {command:_0x45170f,context:_0xb5719c}=_0x54517f;return _0x35fcab(_0x45170f[_0x2f51b4(-0x25,-_0x5061ea._0x15da26,-_0x5061ea._0x4c186c,-_0x5061ea._0x477d2a)],{'context':_0xb5719c,'deactivate':_0x4bff0b,'isActive':!0x0});}import{useState as _0x5c9a76,useMemo as _0x184870,useRef as _0x562dd6,useCallback as _0x412eaf}from'react';import{Box as _0x542ee7,Text as _0x9a1903}from'ink';import _0x35a3f2 from'react';import{useRef as _0x17e3ec}from'react';import{Box as _0x143e53,Text as _0x3b8550}from'ink';import{isTodoWriteArgs as _0x51905a,parseToolArguments as _0x1ba197}from'@nuvin/nuvin-core';import{useMemo as _0x1dd15b}from'react';import{Box as _0x2e38f2,Text as _0xfca7eb}from'ink';import{jsx as _0x2e1273}from'react/jsx-runtime';function ga(_0x3dc9ed){const _0x22b22a={_0x111013:0xc0,_0x32e31c:0x4e,_0x82d20b:0x1fa,_0x36f105:0x226,_0x2be00b:0x170,_0x5d18fa:0x593,_0x28af91:0x105,_0x2163eb:0x162,_0x51b9fe:0x3e4,_0x11668f:0x323,_0x5a56a8:0x3eb,_0x377459:0x364,_0x48d8f6:0x332,_0x8f3e5d:0x44a,_0x59e3eb:0x370,_0x22a5ed:0x3fd,_0x4ab733:0x41e},_0x3dd40c={_0x9633d5:0x10f},_0x191775={_0x5ce27a:0x1bf,_0xae2a91:0x181};function _0x134e14(_0x3f518a,_0x9c220b,_0x12794b,_0x42b5f3){return _0x120ca0(_0x12794b,_0x9c220b-_0x191775._0x5ce27a,_0x12794b-_0x191775._0xae2a91,_0x42b5f3- -0xb9);}function _0x41081a(_0x2a7873,_0x236a9f,_0x5e3c54,_0x3d6a7a){return _0x286169(_0x2a7873-0xbf,_0x3d6a7a- -0x428,_0x2a7873,_0x3d6a7a-_0x3dd40c._0x9633d5);}try{if(!_0x3dc9ed['function'][_0x41081a(0x108,_0x22b22a._0x111013,_0x22b22a._0x32e31c,0x162)])return null;let _0x22e1a6=JSON[_0x41081a(_0x22b22a._0x82d20b,0x82,_0x22b22a._0x36f105,_0x22b22a._0x2be00b)](_0x3dc9ed[_0x134e14(_0x22b22a._0x5d18fa,0x561,0x536,0x566)][_0x41081a(0x27d,0x196,_0x22b22a._0x28af91,_0x22b22a._0x2163eb)]);return typeof _0x22e1a6[_0x134e14(0x3dd,_0x22b22a._0x51b9fe,_0x22b22a._0x11668f,_0x22b22a._0x5a56a8)]!=_0x134e14(_0x22b22a._0x377459,_0x22b22a._0x48d8f6,0x49e,_0x22b22a._0x8f3e5d)||typeof _0x22e1a6[_0x134e14(_0x22b22a._0x59e3eb,_0x22b22a._0x22a5ed,0x511,_0x22b22a._0x4ab733)]!='string'?null:_0x22e1a6;}catch{return null;}}function yr({call:_0x29fa70}){const _0x1a6eb3={_0x21e644:0x6b9,_0x48f57c:0x653,_0x592961:0x474,_0x417742:0x4d8,_0x546984:0x52e,_0x556b2a:0x4d4,_0x4c6407:0x522,_0x50dd56:0x4f4,_0x23eb5e:0x515,_0x2ac895:0x69c,_0x366582:0x674,_0x126185:0x646},_0x50288a={_0x28ca17:0x8f},_0x3e2a30={_0x2d8266:0xe5};let {theme:_0x566f4b}=_0x259d06(),_0x446e0c=_0x1dd15b(()=>ga(_0x29fa70),[_0x29fa70]),_0x45e722=_0x29fa70[_0x499597(0x6b6,_0x1a6eb3._0x21e644,_0x1a6eb3._0x48f57c,0x600)]?.[_0x57cc11(_0x1a6eb3._0x592961,0x5f3,_0x1a6eb3._0x417742,_0x1a6eb3._0x546984)];function _0x57cc11(_0x2e5363,_0x36e5b4,_0xc45ee7,_0x4688f3){return _0x286169(_0x2e5363-0x1ab,_0x4688f3-_0x3e2a30._0x2d8266,_0x2e5363,_0x4688f3-0x1d5);}function _0x499597(_0x5d3dd1,_0x23073e,_0x3fb4e6,_0x323615){return _0x120ca0(_0x23073e,_0x23073e-0x176,_0x3fb4e6-_0x50288a._0x28ca17,_0x323615-0x52);}return _0x446e0c?_0x2e1273(jt,{'blocks':[{'search':_0x446e0c['old_text'],'replace':_0x446e0c[_0x57cc11(_0x1a6eb3._0x556b2a,_0x1a6eb3._0x4c6407,0x4cd,0x57d)]}],'filePath':_0x446e0c[_0x499597(_0x1a6eb3._0x50dd56,_0x1a6eb3._0x23eb5e,0x415,0x45c)],'lineNumbers':_0x45e722}):_0x2e1273(_0x2e38f2,{'marginTop':0x1,'children':_0x2e1273(_0xfca7eb,{'color':_0x566f4b[_0x499597(0x650,0x5de,_0x1a6eb3._0x2ac895,0x579)][_0x57cc11(0x697,0x6b9,0x53d,_0x1a6eb3._0x366582)],'children':_0x499597(0x671,0x54a,0x621,_0x1a6eb3._0x126185)})});}import{useMemo as _0x4648e9}from'react';import{Box as _0x35e1f8,Text as _0x332c45}from'ink';import{jsx as _0x3a8703,jsxs as _0x26ace4}from'react/jsx-runtime';function xa(_0x2750de){const _0x29ba39={_0x4ff079:0x23,_0x176264:0x2b,_0x5a8946:0x26,_0x18b4d0:0x36,_0x12929b:0xb2,_0x206335:0x20,_0x23daac:0x134,_0x1f1a05:0x98},_0x3a42db={_0x5da138:0x2d,_0x3da9dc:0x57},_0x1ce592={_0x441854:0xf2,_0x3909f8:0x115};function _0x1e2b10(_0x2d8ba6,_0x2ec4b3,_0x4c01eb,_0x438c25){return _0x120ca0(_0x2ec4b3,_0x2ec4b3-_0x1ce592._0x441854,_0x4c01eb-_0x1ce592._0x3909f8,_0x2d8ba6- -0x5e9);}function _0x42c9f0(_0x3b42de,_0x4f5e78,_0x40eb1d,_0x2acd0c){return _0x120ca0(_0x4f5e78,_0x4f5e78-_0x3a42db._0x5da138,_0x40eb1d-_0x3a42db._0x3da9dc,_0x40eb1d- -0x602);}try{return _0x2750de['function']['arguments']?JSON[_0x42c9f0(_0x29ba39._0x4ff079,-0x15,-_0x29ba39._0x176264,_0x29ba39._0x5a8946)](_0x2750de[_0x1e2b10(_0x29ba39._0x18b4d0,-0xc1,-_0x29ba39._0x12929b,-0x51)][_0x1e2b10(-_0x29ba39._0x206335,_0x29ba39._0x23daac,-_0x29ba39._0x1f1a05,0x106)]):null;}catch{return null;}}function ba(_0x592b9e){const _0x11bc73={_0xbad669:0x11f,_0x1c9bae:0x11d,_0x144c1b:0x111,_0x27d8a2:0x73,_0x2c2c60:0xc6,_0x3cd595:0xc3,_0x143396:0x14a},_0x17f434={_0xbb0efc:0x1f1,_0x278504:0x543},_0x2da25b={_0x7381a7:0x1b5};if(!_0x592b9e)return{'lines':[],'lineNumberWidth':0x0};let _0x121cbb=_0x592b9e['split']('\x0a'),_0x2a781b=_0x121cbb[_0x1e0ea2(-_0x11bc73._0xbad669,-_0x11bc73._0x1c9bae,-0x1b,0x10b)][_0x52f3a8(0xb5,-_0x11bc73._0x144c1b,-0x10c,-_0x11bc73._0x27d8a2)]()['length'];function _0x1e0ea2(_0x2d8bde,_0x2a538c,_0x18cdaf,_0x1a7f32){return _0x120ca0(_0x1a7f32,_0x2a538c-0x35,_0x18cdaf-_0x2da25b._0x7381a7,_0x18cdaf- -0x5c3);}function _0x52f3a8(_0x4d8df1,_0x3cf5b5,_0x215d8e,_0x120859){return _0x120ca0(_0x215d8e,_0x3cf5b5-_0x17f434._0xbb0efc,_0x215d8e-0x1cd,_0x120859- -_0x17f434._0x278504);}return{'lines':_0x121cbb[_0x52f3a8(-0x1af,-_0x11bc73._0x2c2c60,-_0x11bc73._0x3cd595,-_0x11bc73._0x143396)]((_0x2cf567,_0x2a7a68)=>({'lineNumber':(_0x2a7a68+0x1)['toString']()['padStart'](_0x2a781b,'\x20'),'content':_0x2cf567['replace'](/\t/g,'\x20\x20')})),'lineNumberWidth':_0x2a781b};}function Tr({call:_0x4476ec}){const _0x1381c1={_0x50aca0:0x382,_0x52d4b7:0x33c,_0x2e044e:0x445,_0x161883:0x545,_0x544fad:0x4ab,_0x2f6d40:0x354,_0x4dda2c:0x48c,_0x36ba8c:0x30d,_0x40c13f:0x398,_0x212a0e:0x2c1,_0x53a94f:0x2c5,_0x42cf9d:0x139,_0x30f2ca:0x249},_0x139cf9={_0x294479:0x150,_0xb5a01f:0x1ac};function _0x1a4232(_0xec1c06,_0x25e276,_0x57f5b8,_0x166e65){return _0x286169(_0xec1c06-0x12b,_0x57f5b8- -0x261,_0x25e276,_0x166e65-0x146);}let {theme:_0x5889f5}=_0x259d06(),_0x2df2cf=_0x4648e9(()=>xa(_0x4476ec),[_0x4476ec]),{cols:_0x562755}=_0x3ce95d();if(!_0x2df2cf)return _0x3a8703(_0x35e1f8,{'marginTop':0x1,'children':_0x3a8703(_0x332c45,{'color':_0x5889f5[_0x73db92(0x46e,_0x1381c1._0x50aca0,_0x1381c1._0x52d4b7,_0x1381c1._0x2e044e)][_0x73db92(0x46e,_0x1381c1._0x161883,0x3e3,0x29b)],'children':_0x1a4232(_0x1381c1._0x544fad,0x2e9,_0x1381c1._0x2f6d40,_0x1381c1._0x4dda2c)})});let {lines:_0x5dfb44,lineNumberWidth:_0x77371c}=ba(_0x2df2cf[_0x73db92(_0x1381c1._0x36ba8c,0x23f,_0x1381c1._0x40c13f,_0x1381c1._0x212a0e)]);function _0x73db92(_0x21cd3e,_0x7378dd,_0x2a30b5,_0x25c749){return _0x286169(_0x21cd3e-_0x139cf9._0x294479,_0x2a30b5- -_0x139cf9._0xb5a01f,_0x21cd3e,_0x25c749-0x18d);}return _0x3a8703(_0x35e1f8,{'flexDirection':'column','marginTop':0x1,'width':_0x562755-0x8,'overflow':_0x73db92(_0x1381c1._0x53a94f,_0x1381c1._0x42cf9d,_0x1381c1._0x30f2ca,0x38c),'children':_0x5dfb44[_0x73db92(0x147,0x126,0x20e,0x2a3)](_0x3ba97f=>_0x26ace4(_0x35e1f8,{'children':[_0x3a8703(_0x35e1f8,{'flexWrap':'nowrap','width':_0x77371c+0x1,'children':_0x3a8703(_0x332c45,{'dimColor':!0x0,'children':_0x3ba97f[_0x73db92(0x2a7,0x3ad,0x2d2,0x1e7)]})}),_0x3a8703(_0x35e1f8,{'borderStyle':'single','borderDimColor':!0x0,'backgroundColor':_0x5889f5[_0x1a4232(0x27f,0x39d,0x24b,0x139)][_0x1a4232(0x245,0x92,0x191,0xb0)],'borderBottom':!0x1,'borderTop':!0x1,'borderRight':!0x1,'marginRight':0x1,'paddingLeft':0x1,'children':_0x3a8703(_0x332c45,{'children':_0x3ba97f[_0x1a4232(0x2ff,0x2a3,0x2e3,0x240)]})})]},_0x3ba97f['lineNumber']+'-'+_0x3ba97f[_0x1a4232(0x3ba,0x25d,0x2e3,0x31f)]['slice'](0x0,0x14)))});}import{useMemo as _0x50a883}from'react';import{Box as _0x5a0d9b,Text as _0x4dae04}from'ink';import{jsx as _0x13149c,jsxs as _0x561a42}from'react/jsx-runtime';function Ca(_0x4f42fd){const _0x52021c={_0x2a95e3:0x1cd,_0x526b26:0x28f,_0x4bd762:0x177,_0x128bbd:0x6c6,_0x23a237:0x308,_0x2bb9a2:0x780},_0x5f397c={_0x4de62a:0x2d,_0xc41826:0x413};function _0x314e12(_0x4517d0,_0x3a4638,_0x1c52a1,_0x36e653){return _0x286169(_0x4517d0-_0x5f397c._0x4de62a,_0x36e653- -_0x5f397c._0xc41826,_0x3a4638,_0x36e653-0x0);}function _0x205e64(_0x12fc94,_0x275aae,_0x34249c,_0x5405ca){return _0x120ca0(_0x275aae,_0x275aae-0x5d,_0x34249c-0x1bd,_0x34249c-0xef);}try{return _0x4f42fd[_0x314e12(0x20a,0x118,0x117,_0x52021c._0x2a95e3)][_0x314e12(0x2b3,_0x52021c._0x526b26,0xea,_0x52021c._0x4bd762)]?JSON[_0x205e64(0x583,0x6fc,_0x52021c._0x128bbd,0x6c2)](_0x4f42fd[_0x314e12(0x70,_0x52021c._0x23a237,0x10f,_0x52021c._0x2a95e3)][_0x205e64(_0x52021c._0x2bb9a2,0x7d2,0x6b8,0x734)]):null;}catch{return null;}}function wa(_0x4f91f5){const _0x544dc2={_0x4fe348:0x7e4,_0x5da6de:0x733,_0x5c8990:0x6b3,_0x138b9f:0x56f,_0x270919:0x67f,_0x57cfb1:0x5e1,_0x13e3da:0x50d},_0x3d816e={_0x52271e:0x3,_0x44b50b:0x4b1};if(!_0x4f91f5)return{'lines':[],'lineNumberWidth':0x0};function _0x5d59fe(_0xd66d66,_0x55a0ad,_0x1e0156,_0x15315c){return _0x120ca0(_0xd66d66,_0x55a0ad-0x1da,_0x1e0156-_0x3d816e._0x52271e,_0x15315c- -_0x3d816e._0x44b50b);}let _0x1024ba=_0x4f91f5[_0x5790ae(_0x544dc2._0x4fe348,0x654,_0x544dc2._0x5da6de,0x69d)]('\x0a'),_0x4dcca6=_0x1024ba[_0x5790ae(0x779,_0x544dc2._0x5c8990,_0x544dc2._0x138b9f,_0x544dc2._0x270919)][_0x5790ae(_0x544dc2._0x57cfb1,_0x544dc2._0x13e3da,0x5b7,0x5a7)]()['length'];function _0x5790ae(_0x643865,_0x544c58,_0x3980af,_0x372d67){return _0x120ca0(_0x3980af,_0x544c58-0xbe,_0x3980af-0x99,_0x372d67-0xd7);}return{'lines':_0x1024ba['map']((_0xa7889c,_0x272ca3)=>({'lineNumber':(_0x272ca3+0x1)[_0x5d59fe(0x179,-0x12f,-0xaf,0x1f)]()[_0x5790ae(0x740,0x606,0x54f,0x6a8)](_0x4dcca6,'\x20'),'content':_0xa7889c[_0x5790ae(0x5bb,0x619,0x552,0x4bf)](/\t/g,'\x20\x20')})),'lineNumberWidth':_0x4dcca6};}function Cr({call:_0x11206d}){const _0x5587a0={_0x402518:0x404,_0x2fd27c:0x386,_0x3015ba:0x34a,_0x5531d1:0x1ae,_0xc895e3:0x3d1,_0x19ae03:0x2de,_0x121ee1:0x1ae,_0x4c128b:0x2a0,_0x2f1047:0x4e0,_0x39bc50:0x3e3,_0x36586f:0x390,_0x5e9d01:0x3bb,_0x19be06:0x6e,_0x1a7fce:0x13f,_0x2bb377:0xb9,_0x11be43:0x7c,_0x362554:0x244,_0x2e3f13:0x2c3,_0x581475:0x1e4,_0x5d5007:0x20d,_0x2bd895:0x3e5,_0x2cf54a:0x45,_0x17caee:0x3b,_0x2101fc:0x5a,_0x22155d:0xe4,_0x2965b2:0xdd,_0x63e75d:0x205,_0x1a64a2:0x2c7,_0x1f7b8c:0x8b,_0x5734ec:0x24b,_0x4ecb07:0x1c5},_0x57bfec={_0x36af09:0x129,_0x40ed1a:0x264},_0x223ea7={_0x1e4baa:0xf,_0x168624:0x11f};let {theme:_0x528de1}=_0x259d06(),_0x176dd3=_0x50a883(()=>Ca(_0x11206d),[_0x11206d]),{cols:_0x5681c2}=_0x3ce95d(),_0x5c2ca2=_0x11206d[_0x3b7190(_0x5587a0._0x402518,0x463,_0x5587a0._0x2fd27c,_0x5587a0._0x3015ba)]?.[_0x36164d(-0xa7,-_0x5587a0._0x5531d1,-0x102,-0x142)];function _0x36164d(_0x19f74d,_0x2f8b4d,_0x180cb3,_0x2c5845){return _0x120ca0(_0x19f74d,_0x2f8b4d-_0x223ea7._0x1e4baa,_0x180cb3-_0x223ea7._0x168624,_0x180cb3- -0x5be);}if(!_0x176dd3)return _0x13149c(_0x5a0d9b,{'marginTop':0x1,'children':_0x13149c(_0x4dae04,{'color':_0x528de1[_0x3b7190(_0x5587a0._0xc895e3,_0x5587a0._0x19ae03,_0x5587a0._0x121ee1,0x2c3)]['error'],'children':_0x3b7190(_0x5587a0._0x4c128b,_0x5587a0._0x2f1047,_0x5587a0._0x39bc50,_0x5587a0._0x36586f)})});function _0x3b7190(_0x207317,_0x8c4c16,_0x1fcc9c,_0x394d7a){return _0x120ca0(_0x1fcc9c,_0x8c4c16-0x7b,_0x1fcc9c-_0x57bfec._0x36af09,_0x394d7a- -_0x57bfec._0x40ed1a);}let _0x36c89b=Gt(_0x11206d[_0x3b7190(0x2ac,0x2b5,0x3ec,_0x5587a0._0x5e9d01)]['name']);if(!_0x5c2ca2)return _0x561a42(_0x5a0d9b,{'flexDirection':'column','marginTop':0x1,'children':[_0x561a42(_0x5a0d9b,{'flexDirection':_0x3b7190(0x169,0x8b,_0x5587a0._0x19be06,_0x5587a0._0x1a7fce),'children':[_0x13149c(_0x5a0d9b,{'flexShrink':0x0,'marginRight':0x1,'children':_0x13149c(_0x4dae04,{'color':_0x528de1[_0x36164d(_0x5587a0._0x2bb377,-0x20,_0x5587a0._0x11be43,0xa1)]['tool'],'bold':!0x0,'children':'⚙︎'})}),_0x13149c(_0x4dae04,{'bold':!0x0,'children':_0x36c89b})]}),_0x561a42(_0x4dae04,{'color':_0x528de1[_0x3b7190(0x20a,0x38a,_0x5587a0._0x362554,_0x5587a0._0x2e3f13)][_0x3b7190(0x259,_0x5587a0._0x581475,0x35e,_0x5587a0._0x5d5007)],'children':[_0x3b7190(0x37f,_0x5587a0._0x2bd895,0x35a,0x2bd),_0x176dd3['name']]})]});let {lines:_0x11c3e6,lineNumberWidth:_0x3d9bcd}=wa(_0x5c2ca2[_0x36164d(_0x5587a0._0x2cf54a,0x59,-_0x5587a0._0x17caee,-_0x5587a0._0x2101fc)]);return _0x13149c(_0x5a0d9b,{'flexDirection':_0x36164d(-_0x5587a0._0x22155d,-0x143,-_0x5587a0._0x2965b2,-_0x5587a0._0x63e75d),'marginTop':0x1,'width':_0x5681c2-0x8,'overflow':_0x3b7190(_0x5587a0._0x1a64a2,_0x5587a0._0x1f7b8c,0x231,0x1d0),'children':_0x11c3e6[_0x36164d(-0x2ae,-_0x5587a0._0x5734ec,-_0x5587a0._0x4ecb07,-0x217)](_0x5972bf=>_0x561a42(_0x5a0d9b,{'children':[_0x13149c(_0x5a0d9b,{'flexWrap':_0x36164d(-0xe4,-0x178,-0x211,-0x22a),'width':_0x3d9bcd+0x1,'children':_0x13149c(_0x4dae04,{'dimColor':!0x0,'children':_0x5972bf[_0x3b7190(0x295,0x392,0x203,0x259)]})}),_0x13149c(_0x5a0d9b,{'borderStyle':_0x36164d(-0x199,-0x173,-0x8f,-0x2a),'borderDimColor':!0x0,'backgroundColor':_0x528de1[_0x36164d(0x15,-0x39,-0xd3,-0x15c)][_0x36164d(-0x8e,-0x2ea,-0x18d,-0xc0)],'borderBottom':!0x1,'borderTop':!0x1,'borderRight':!0x1,'marginRight':0x1,'paddingLeft':0x1,'children':_0x13149c(_0x4dae04,{'children':_0x5972bf['content']})})]},_0x5972bf[_0x3b7190(0x3a8,0x38c,0x304,0x259)]+'-'+_0x5972bf[_0x3b7190(0x2ea,0x382,0x258,0x31f)]['slice'](0x0,0x14)))});}import{useMemo as _0x1b7c98,useState as _0x3b123f,useLayoutEffect as _0x51c44e,useRef as _0x1474a8}from'react';import{Box as _0x252b18,Text as _0x646698,measureElement as _0x2630b4}from'ink';import _0x32b46e from'wrap-ansi';import{jsx as _0x54c5d6}from'react/jsx-runtime';var je=({children:_0x3b85a7,width:_0x387632,trim:_0x29b621=!0x0,hard:_0xfcb563=!0x1,wordWrap:_0x1c55fb=!0x0,containerRef:_0x53340b,..._0x2d10e5})=>{const _0x3805ad={_0x41c550:0x624,_0x18c634:0x55f},_0xdaaeba={_0xfb9bc7:0x73,_0x32131e:0x13b},_0x385b7d={_0x17308b:0x1f6,_0x352123:0x285,_0x5325ba:0x2c9};let {cols:_0x608071}=_0x3ce95d(),_0x3491cc=_0x1474a8(null),[_0x264c2e,_0x368c51]=_0x3b123f(_0x387632??_0x608071);_0x51c44e(()=>{if(_0x387632!==void 0x0){_0x368c51(_0x387632);return;}function _0x2fea60(_0x5ca433,_0x18b8b0,_0x501505,_0x109eb8){return _0x55d8(_0x18b8b0- -0x181,_0x5ca433);}if(!_0x53340b?.['current']&&_0x3491cc[_0x2fea60(0x1fb,_0x385b7d._0x17308b,_0x385b7d._0x352123,_0x385b7d._0x5325ba)]){let {width:_0x59837f}=_0x2630b4(_0x3491cc['current']);if(_0x59837f>0x0){_0x368c51(_0x59837f);return;}}_0x608071>0x0&&_0x368c51(_0x608071);},[_0x387632,_0x53340b,_0x608071]);let _0x25e9ed=_0x1b7c98(()=>!_0x3b85a7||_0x264c2e===void 0x0||_0x264c2e<=0x0?_0x3b85a7??'':_0x32b46e(_0x3b85a7,_0x264c2e-0x2,{'trim':_0x29b621,'hard':_0xfcb563,'wordWrap':_0x1c55fb}),[_0x3b85a7,_0x264c2e,_0x29b621,_0xfcb563,_0x1c55fb]);function _0x578300(_0x11f7f7,_0xa38704,_0x205ff1,_0x1008ea){return _0x286169(_0x11f7f7-0x1eb,_0x1008ea-_0xdaaeba._0xfb9bc7,_0x11f7f7,_0x1008ea-_0xdaaeba._0x32131e);}return _0x53340b?_0x54c5d6(_0x646698,{..._0x2d10e5,'children':_0x25e9ed}):_0x54c5d6(_0x252b18,{'ref':_0x3491cc,'width':_0x578300(_0x3805ad._0x41c550,0x49f,_0x3805ad._0x18c634,0x582),'children':_0x54c5d6(_0x646698,{..._0x2d10e5,'children':_0x25e9ed})});};import{jsx as _0x39d0b5,jsxs as _0x171bb2}from'react/jsx-runtime';var Rr=_0x26a439=>typeof _0x26a439==_0x120ca0(0x57c,0x3cf,0x481,0x503)?_0x26a439:typeof _0x26a439==_0x120ca0(0x423,0x27f,0x49c,0x3c8)&&_0x26a439!==null?JSON['stringify'](_0x26a439,null,0x0):String(_0x26a439),Pa={'bash_tool':{'parameters':[{'key':_0x120ca0(0x577,0x646,0x3ee,0x524),'label':_0x120ca0(0x3f9,0x399,0x381,0x490)},{'key':_0x286169(0x3f2,0x439,0x519,0x49f),'label':_0x286169(0x34d,0x39c,0x352,0x260)},{'key':_0x286169(0x5ee,0x49d,0x4ef,0x48b),'label':_0x120ca0(0x5d7,0x3af,0x462,0x4f8)},{'key':_0x120ca0(0x39a,0x3b8,0x589,0x48e),'hide':!0x0}]},'file_edit':{'customRenderer':({toolCall:_0xfb7e4e})=>_0x39d0b5(yr,{'call':_0xfb7e4e}),'showDefaultParams':!0x1},'file_new':{'customRenderer':({toolCall:_0x1b6383})=>_0x39d0b5(Tr,{'call':_0x1b6383}),'showDefaultParams':!0x1},'skill':{'customRenderer':({toolCall:_0x3a02dc})=>_0x39d0b5(Cr,{'call':_0x3a02dc}),'showDefaultParams':!0x1},'assign_task':{'parameters':[{'key':_0x286169(0x52b,0x54a,0x44c,0x480),'label':_0x120ca0(0x40d,0x35a,0x3c4,0x430)},{'key':_0x286169(0x53c,0x49a,0x49d,0x38d),'label':_0x286169(0x559,0x4c9,0x5e1,0x4c0)},{'key':_0x120ca0(0x506,0x4f9,0x587,0x48e),'hide':!0x0}]},'file_read':{'parameters':[{'key':_0x120ca0(0x554,0x3e3,0x315,0x440),'label':_0x286169(0x300,0x419,0x3d7,0x507)},{'key':_0x286169(0x43c,0x52c,0x4d4,0x50c),'label':'Start\x20Line'},{'key':_0x120ca0(0x47b,0x326,0x41d,0x453),'label':_0x286169(0x630,0x4f5,0x628,0x470)},{'key':_0x286169(0x384,0x44f,0x345,0x31d),'hide':!0x0}]},'web_search':{'parameters':[{'key':_0x286169(0x56c,0x4fd,0x3a5,0x61d),'label':_0x120ca0(0x47a,0x55d,0x55d,0x5aa)},{'key':'count','label':_0x286169(0x4ea,0x452,0x422,0x4a6)},{'key':_0x120ca0(0x3ba,0x43a,0x532,0x4ba),'label':_0x120ca0(0x435,0x249,0x4c4,0x3a2)},{'key':_0x286169(0x33a,0x3ec,0x406,0x3e8),'label':_0x286169(0x41d,0x46c,0x310,0x599)},{'key':_0x286169(0x522,0x4ba,0x402,0x4bb),'label':_0x286169(0x47f,0x356,0x395,0x3e3)},{'key':_0x120ca0(0x332,0x3a6,0x2b2,0x3ee),'label':_0x120ca0(0x3c4,0x4be,0x5a0,0x4d4)},{'key':_0x120ca0(0x4a9,0x43f,0x357,0x48e),'hide':!0x0}]},'web_fetch':{'parameters':[{'key':_0x286169(0x6b7,0x5e8,0x612,0x51a),'label':'URL'},{'key':_0x120ca0(0x35f,0x5dd,0x44b,0x48e),'hide':!0x0}]},'ls_tool':{'parameters':[{'key':'path','label':'Path'},{'key':_0x286169(0x48e,0x3be,0x3aa,0x38a),'label':_0x120ca0(0x350,0x5eb,0x39e,0x492)}]},'todo_write':{'showDefaultParams':!0x1,'customRenderer':({toolCall:_0x45f29e})=>{const _0x4dfab1={_0x1ab77f:0x22f,_0x39632d:0x19d,_0x2b63bb:0x174,_0x39731a:0x325,_0x44e611:0x11e,_0x495e32:0x4d,_0x3075d5:0x23a,_0x4199c4:0xf1,_0x3504d7:0x3f2,_0x2758d3:0x379,_0x48271f:0x2e9,_0x599a83:0x224,_0x5aeb74:0x16e,_0x30adf9:0x18d,_0x80da56:0x2f7,_0x1d2f2a:0x312,_0x599b68:0x2f1,_0x341b4f:0x14a,_0x3c34e1:0x1a6,_0x556d3b:0x1e4,_0x1e205a:0x95},_0x559e5d={_0x26f12e:0x1c8,_0x56e074:0x17e},_0x385da5={_0x123d06:0x156};function _0x483723(_0x10a4a9,_0x584da2,_0x3833fc,_0x528a64){return _0x120ca0(_0x3833fc,_0x584da2-_0x385da5._0x123d06,_0x3833fc-0x189,_0x584da2- -0x3f0);}function _0xc598c2(_0x252fb8,_0x498efc,_0x6f00ee,_0x2096e6){return _0x286169(_0x252fb8-_0x559e5d._0x26f12e,_0x498efc- -_0x559e5d._0x56e074,_0x252fb8,_0x2096e6-0x44);}let {theme:_0x21fb56}=_0x259d06(),_0xd43d8c=_0x1ba197(_0x45f29e[_0x483723(0x19f,_0x4dfab1._0x1ab77f,_0x4dfab1._0x39632d,_0x4dfab1._0x2b63bb)]['arguments']),_0x3add4c=_0x51905a(_0xd43d8c)?_0xd43d8c[_0x483723(_0x4dfab1._0x39731a,0x1dd,_0x4dfab1._0x44e611,0x213)]:void 0x0;return!_0x3add4c||!Array[_0x483723(0xf4,-0x3b,-_0x4dfab1._0x495e32,0xca)](_0x3add4c)?null:_0x171bb2(_0x143e53,{'flexDirection':_0x483723(_0x4dfab1._0x3075d5,_0x4dfab1._0x4199c4,0x13d,0x247),'children':[_0x39d0b5(_0x143e53,{'children':_0x171bb2(_0x3b8550,{'color':_0x21fb56[_0xc598c2(_0x4dfab1._0x3504d7,0x319,_0x4dfab1._0x2758d3,_0x4dfab1._0x48271f)][_0xc598c2(_0x4dfab1._0x599a83,0x1f1,_0x4dfab1._0x5aeb74,_0x4dfab1._0x30adf9)],'children':[_0x483723(-0x47,0xfa,0xac,0x13),_0x3add4c[_0x483723(_0x4dfab1._0x80da56,0x1b8,0x7a,_0x4dfab1._0x1d2f2a)],'):']})}),_0x3add4c[_0xc598c2(0x221,_0x4dfab1._0x599b68,0x229,0x3db)](0x0,0x5)[_0xc598c2(0x105,0x23c,0x2b1,0x1a7)](_0x5c674b=>_0x39d0b5(_0x143e53,{'marginLeft':0x2,'flexWrap':'wrap','children':_0x171bb2(_0x3b8550,{'dimColor':!0x0,'children':['[',_0x5c674b[_0xc598c2(0x4c4,0x40b,0x2d6,0x517)],']\x20',_0x5c674b[_0xc598c2(0x518,0x3c6,0x29f,0x456)]]})},_0x5c674b[_0x483723(0x2a8,0x193,0x151,0x143)])),_0x3add4c[_0x483723(_0x4dfab1._0x341b4f,0x1b8,_0x4dfab1._0x3c34e1,0x1c5)]>0x5&&_0x39d0b5(_0x143e53,{'marginLeft':0x2,'children':_0x171bb2(_0x3b8550,{'dimColor':!0x0,'children':['...\x20and\x20',_0x3add4c['length']-0x5,_0xc598c2(0x2eb,_0x4dfab1._0x556d3b,_0x4dfab1._0x1e205a,0x315)]})})]});}}},La=({toolCall:_0x520518,config:_0xddc317})=>{const _0xa972={_0x540236:0x3c9,_0xb6c9fd:0x39a,_0x415ad8:0x46b,_0x3d402d:0x33d,_0x3fe62e:0xe3,_0x12ba78:0xed,_0x46860e:0x1bf,_0x287509:0x3b4,_0x15e0f3:0x3e3,_0x364a1c:0x543,_0x512efb:0x2c2,_0x201812:0x3de,_0x275469:0x1ae,_0xd0a08:0x2c2},_0x690601={_0x478c49:0x97};function _0x1ce8b1(_0x26c0f8,_0x39fcf0,_0x3a5f04,_0x5be7d9){return _0x120ca0(_0x26c0f8,_0x39fcf0-_0x690601._0x478c49,_0x3a5f04-0x7c,_0x3a5f04- -0x1c5);}function _0x510793(_0x220e9e,_0x48f48b,_0x38d071,_0x20da33){return _0x286169(_0x220e9e-0x1c6,_0x20da33- -0x24d,_0x38d071,_0x20da33-0x42);}let _0x31380a=_0x1ba197(_0x520518['function'][_0x510793(_0xa972._0x540236,_0xa972._0xb6c9fd,_0xa972._0x415ad8,_0xa972._0x3d402d)]),_0x499ccf=_0x17e3ec(null),_0x20ea9e=(_0xddc317[_0x510793(0x356,0x294,_0xa972._0x3fe62e,0x223)]||[])[_0x510793(0xa7,_0xa972._0x12ba78,_0xa972._0x46860e,0x181)](_0x1e6176=>!_0x1e6176[_0x1ce8b1(0x5a6,0x43e,0x44c,0x3b7)]&&_0x31380a[_0x1e6176['key']]!==void 0x0);return _0x20ea9e[_0x1ce8b1(0x443,_0xa972._0x287509,_0xa972._0x15e0f3,_0xa972._0x364a1c)]===0x0?null:_0x171bb2(_0x143e53,{'flexDirection':_0x1ce8b1(_0xa972._0x512efb,0x400,0x31c,0x445),'width':_0x510793(_0xa972._0x201812,0x285,_0xa972._0x275469,_0xa972._0xd0a08),'children':[_0x39d0b5(_0x143e53,{'children':_0x39d0b5(_0x3b8550,{'dimColor':!0x0,'children':'Parameters:'})}),_0x20ea9e['map'](({key:_0x3e8601,label:_0x503525,format:_0x537c6d})=>{let _0x2b1846=_0x31380a[_0x3e8601],_0x38c358=_0x503525||_0x3e8601,_0x4a732a=_0x537c6d?_0x537c6d(_0x2b1846):Rr(_0x2b1846);return _0x39d0b5(_0x143e53,{'ref':_0x499ccf,'marginLeft':0x2,'children':_0x39d0b5(je,{'containerRef':_0x499ccf,'children':_0x38c358+':\x20'+_0x4a732a})},_0x3e8601);})]});},vr=({toolCall:_0x29dc4c})=>{const _0x4c9c7f={_0x536624:0x5dc,_0x58a333:0x705,_0x18e748:0x531,_0xcfb18c:0x4be,_0x3cdece:0x4b4,_0xbd009f:0x642,_0xe183ac:0x679,_0x483088:0x6a6,_0x4af26e:0x76a,_0x34247a:0x523,_0x2e99b0:0x5ad,_0x111a41:0x5ea,_0x135497:0x3d9,_0x3368fb:0x718,_0x4e3c57:0x646,_0x2de9c2:0x667,_0x46be29:0x574,_0x55bd30:0x6b8,_0x2bc001:0x545},_0x41bef={_0x22165f:0x91},_0x384cc4={_0x81bf18:0x155};function _0xdefd1d(_0x5366a6,_0x3137db,_0x5c648a,_0x217c57){return _0x286169(_0x5366a6-0x69,_0x5366a6-_0x384cc4._0x81bf18,_0x5c648a,_0x217c57-0x1e2);}let _0x382b72=_0x29dc4c[_0x2c7427(0x557,_0x4c9c7f._0x536624,0x537,_0x4c9c7f._0x58a333)][_0xdefd1d(_0x4c9c7f._0x18e748,_0x4c9c7f._0xcfb18c,_0x4c9c7f._0x3cdece,0x641)],_0x36c839=Pa[_0x382b72],_0xff1351=_0x17e3ec(null);if(!_0x36c839){let _0x414fa0=_0x1ba197(_0x29dc4c['function'][_0x2c7427(_0x4c9c7f._0xbd009f,0x586,0x572,_0x4c9c7f._0xe183ac)]),_0xa473b7=Object[_0xdefd1d(_0x4c9c7f._0x483088,0x76b,_0x4c9c7f._0x4af26e,0x6a0)](_0x414fa0)[_0xdefd1d(_0x4c9c7f._0x34247a,0x5f8,_0x4c9c7f._0x2e99b0,0x547)](([_0x4c41e6])=>_0x4c41e6!==_0x2c7427(0x3ba,0x44b,0x492,0x337));return _0x171bb2(_0x143e53,{'flexDirection':_0x2c7427(_0x4c9c7f._0x111a41,0x49e,_0x4c9c7f._0x135497,0x3b9),'width':_0xdefd1d(0x664,0x7c1,0x67a,_0x4c9c7f._0x3368fb),'ref':_0xff1351,'children':[_0x39d0b5(_0x143e53,{'children':_0x39d0b5(_0x3b8550,{'children':_0xdefd1d(_0x4c9c7f._0x4e3c57,_0x4c9c7f._0x2de9c2,0x5b7,_0x4c9c7f._0x46be29)})}),_0xa473b7['map'](([_0x31cf6e,_0x173d1d])=>_0x39d0b5(_0x143e53,{'paddingLeft':0x2,'flexWrap':_0xdefd1d(0x6fc,0x720,0x6c1,0x677),'children':_0x39d0b5(je,{'containerRef':_0xff1351,'dimColor':!0x0,'children':_0x31cf6e+':\x20'+Rr(_0x173d1d)})},_0x31cf6e))]});}if(_0x36c839[_0xdefd1d(0x5be,_0x4c9c7f._0x55bd30,0x70a,_0x4c9c7f._0x2bc001)]){let _0x413c55=_0x36c839['customRenderer'];return _0x39d0b5(_0x413c55,{'toolCall':_0x29dc4c});}function _0x2c7427(_0x449308,_0x5b4f4b,_0x34ec1f,_0x373446){return _0x286169(_0x449308-0x16,_0x5b4f4b- -0x4,_0x373446,_0x373446-_0x41bef._0x22165f);}return _0x39d0b5(La,{'toolCall':_0x29dc4c,'config':_0x36c839});};function _0x120ca0(_0x978dc2,_0x2954d8,_0x48c676,_0x46ee5b){return _0x55d8(_0x46ee5b-0x265,_0x978dc2);}import{jsx as _0x2b9889}from'react/jsx-runtime';var Da=({toolCall:_0x424e5d})=>{const _0x28bc66={_0x36ccb7:0x473,_0x5b59d2:0x486,_0x5f2be7:0x66b},_0x464dd4={_0x3029b9:0x41};function _0x5f0d45(_0x173386,_0x1af837,_0x4023da,_0x351b5a){return _0x120ca0(_0x4023da,_0x1af837-_0x464dd4._0x3029b9,_0x4023da-0x17,_0x1af837-0x74);}let {rows:_0x4d51f4}=_0x3ce95d(),_0x26cc51=Math[_0x5f0d45(0x40b,_0x28bc66._0x36ccb7,_0x28bc66._0x5b59d2,0x5bd)](0x5,_0x4d51f4-0xc);function _0x17077f(_0x5a4332,_0x2be8cb,_0x115ccb,_0x1ee65e){return _0x286169(_0x5a4332-0x119,_0x2be8cb-0x56,_0x5a4332,_0x1ee65e-0x1e2);}return _0x2b9889(_0x51e72b,{'maxHeight':_0x26cc51,'mousePriority':0x64,'flexGrow':0x1,'flexShrink':0x1,'width':_0x5f0d45(_0x28bc66._0x5f2be7,0x5c2,0x5b5,0x6d1),'enableMouseScroll':!0x1,'autoFocus':!0x0,'children':_0x2b9889(vr,{'toolCall':_0x424e5d})});},Go=_0x35a3f2[_0x286169(0x64b,0x59f,0x610,0x5c8)](Da);import{Text as _0x2ba4b4}from'ink';import{jsxs as _0x58d8d2}from'react/jsx-runtime';var qo=({currentIndex:_0x2ca495,totalTools:_0x19e43c})=>{const _0x395f7a={_0xe2ad7c:0x233,_0x2c9e9e:0x2ba,_0x45ad59:0x142},_0x159b96={_0x456b05:0xcd,_0x13426a:0x2cb},_0x24987a={_0x1810c9:0x366};let {theme:_0x30b4c6}=_0x259d06();function _0x30d04d(_0x2c4540,_0x3c6510,_0x5c9ae5,_0x35a854){return _0x286169(_0x2c4540-0xbd,_0x35a854- -_0x24987a._0x1810c9,_0x3c6510,_0x35a854-0xb9);}function _0x8a6e92(_0x513e0a,_0x3f2602,_0x4ebd01,_0x2a42fc){return _0x120ca0(_0x4ebd01,_0x3f2602-0x3a,_0x4ebd01-_0x159b96._0x456b05,_0x3f2602- -_0x159b96._0x13426a);}return _0x58d8d2(_0x2ba4b4,{'color':_0x30b4c6[_0x8a6e92(0x1de,0x20b,_0x395f7a._0xe2ad7c,_0x395f7a._0x2c9e9e)][_0x30d04d(-0xed,0x89,-_0x395f7a._0x45ad59,0x9)],'children':[_0x2ca495+0x1,'/',_0x19e43c]});};import{Box as _0xce5c68,Text as _0x4f0f28}from'ink';import{jsx as _0x12160d,jsxs as _0x84c010}from'react/jsx-runtime';var Ko=({label:_0x31fb35,labelSelectedColor:_0x4997bd,labelDefaultColor:_0x25af23,onActionExecute:_0x4f3333,autoFocus:_0x37277a})=>{const _0x27bb1f={_0x5d430b:0x3bf,_0x1fdf6c:0x272},_0x12a0a0={_0x5e3166:0x1d2,_0x2a96f4:0x2e5},_0x4f2f62={_0x41f9cd:0x187};let {theme:_0x3ddb04}=_0x259d06(),{isFocused:_0x267031}=_0x4015aa({'active':!0x0,'autoFocus':_0x37277a});function _0x47a946(_0x4a871e,_0x3837c4,_0x4f2dd9,_0x263e83){return _0x286169(_0x4a871e-0x5a,_0x4a871e- -_0x4f2f62._0x41f9cd,_0x263e83,_0x263e83-0x1dc);}return _0x197b40((_0x3012c5,_0x4bc4fa)=>{function _0x330299(_0x4784f2,_0x112f88,_0x43975e,_0x58da8b){return _0x55d8(_0x112f88-0x60,_0x43975e);}if(_0x4bc4fa[_0x330299(0x1ca,_0x12a0a0._0x5e3166,_0x12a0a0._0x2a96f4,0x118)])return _0x4f3333(),!0x0;},{'isActive':_0x267031}),_0x84c010(_0xce5c68,{'alignItems':'center','children':[_0x12160d(_0x4f0f28,{'color':_0x267031?_0x3ddb04['toolApproval'][_0x47a946(_0x27bb1f._0x5d430b,0x2d3,_0x27bb1f._0x1fdf6c,0x388)]:void 0x0,'bold':!0x0,'children':_0x267031?'❯\x20':'\x20\x20'}),_0x12160d(_0x4f0f28,{'dimColor':!_0x267031,'color':_0x267031?_0x4997bd:_0x25af23,'bold':!0x0,'children':_0x31fb35})]});},zo=({onActionExecute:_0x5c323c})=>{const _0x7b8730={_0x560fc9:0x30d,_0x16b8d0:0x541,_0x501e8f:0x2a5,_0x1a835d:0x3be,_0x137052:0x2b9,_0x1f1f06:0x542,_0x5d6920:0x4b8,_0x33991b:0x461,_0x421f9a:0x494,_0x29e70c:0x5f1,_0x3ee9f4:0x4fb,_0x2d12c0:0x62f,_0x5916da:0x25e,_0x886a73:0x297,_0xefb74f:0x372,_0x4a4817:0x2f0,_0x5e4f2f:0x1d6,_0x47344b:0x11e},_0x2f7899={_0x5e3470:0xe8},_0x525177={_0x41e08c:0xab};let {theme:_0x476e18}=_0x259d06();function _0x28371c(_0x2fdda7,_0x246088,_0x36017f,_0x1fe700){return _0x286169(_0x2fdda7-0xae,_0x246088-_0x525177._0x41e08c,_0x36017f,_0x1fe700-0x14d);}function _0x5a53ea(_0xfa8648,_0x5c8670,_0x2b48fb,_0x1dd501){return _0x120ca0(_0x1dd501,_0x5c8670-0x78,_0x2b48fb-_0x2f7899._0x5e3470,_0x2b48fb- -0x1e6);}return _0x84c010(_0xce5c68,{'flexDirection':'row','gap':0x2,'children':[_0x12160d(Ko,{'label':_0x28371c(_0x7b8730._0x560fc9,0x45f,_0x7b8730._0x16b8d0,0x52d),'labelSelectedColor':_0x476e18['toolApproval'][_0x5a53ea(0x2d8,0x557,0x427,0x4f3)],'labelDefaultColor':_0x5a53ea(_0x7b8730._0x501e8f,_0x7b8730._0x1a835d,0x370,_0x7b8730._0x137052),'onActionExecute':()=>_0x5c323c(0x0),'autoFocus':!0x0}),_0x12160d(Ko,{'label':'No','labelSelectedColor':_0x476e18[_0x28371c(0x670,_0x7b8730._0x1f1f06,_0x7b8730._0x5d6920,_0x7b8730._0x33991b)][_0x28371c(_0x7b8730._0x421f9a,_0x7b8730._0x29e70c,_0x7b8730._0x3ee9f4,_0x7b8730._0x2d12c0)],'labelDefaultColor':_0x476e18['toolApproval'][_0x5a53ea(_0x7b8730._0x5916da,0x2a4,0x303,0x24c)],'onActionExecute':()=>_0x5c323c(0x1)}),_0x12160d(Ko,{'label':'Yes,\x20for\x20this\x20session','labelSelectedColor':_0x476e18[_0x5a53ea(_0x7b8730._0x886a73,_0x7b8730._0xefb74f,_0x7b8730._0x4a4817,0x1a8)]['actionSelected'],'labelDefaultColor':_0x476e18['toolApproval'][_0x5a53ea(_0x7b8730._0x5e4f2f,0x1e5,0x273,_0x7b8730._0x47344b)],'onActionExecute':()=>_0x5c323c(0x2)})]});};import{forwardRef as _0x5e89e,useImperativeHandle as _0x476789}from'react';import{Box as _0x3f4217,Text as _0x169cc9}from'ink';import{jsx as _0x393004,jsxs as _0x3def27}from'react/jsx-runtime';function _0x55d8(_0x1e5b94,_0x5243c3){_0x1e5b94=_0x1e5b94-0x115;const _0x1cb037=_0x1cb0();let _0x55d862=_0x1cb037[_0x1e5b94];if(_0x55d8['ytpkpn']===undefined){var _0x4f2b17=function(_0x48921e){const _0x2961b8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x362e0e='',_0x54a979='';for(let _0x2e544a=0x0,_0x44e91a,_0x1e901f,_0xddfaed=0x0;_0x1e901f=_0x48921e['charAt'](_0xddfaed++);~_0x1e901f&&(_0x44e91a=_0x2e544a%0x4?_0x44e91a*0x40+_0x1e901f:_0x1e901f,_0x2e544a++%0x4)?_0x362e0e+=String['fromCharCode'](0xff&_0x44e91a>>(-0x2*_0x2e544a&0x6)):0x0){_0x1e901f=_0x2961b8['indexOf'](_0x1e901f);}for(let _0x4a44be=0x0,_0x2a83f0=_0x362e0e['length'];_0x4a44be<_0x2a83f0;_0x4a44be++){_0x54a979+='%'+('00'+_0x362e0e['charCodeAt'](_0x4a44be)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x54a979);};_0x55d8['uCxgii']=_0x4f2b17,_0x55d8['wtdDOU']={},_0x55d8['ytpkpn']=!![];}const _0x5383d1=_0x1cb037[0x0],_0xdd114b=_0x1e5b94+_0x5383d1,_0x2dec67=_0x55d8['wtdDOU'][_0xdd114b];return!_0x2dec67?(_0x55d862=_0x55d8['uCxgii'](_0x55d862),_0x55d8['wtdDOU'][_0xdd114b]=_0x55d862):_0x55d862=_0x2dec67,_0x55d862;}var to=_0x5e89e(({onSubmit:_0xde0d5c,onCancel:_0x9dd94b},_0x394423)=>{const _0x5148c8={_0x36da98:0x197,_0x2df68a:0x1c7,_0x8401f6:0x1ae,_0x29ead8:0x189,_0x4b8bf2:0x26b,_0x479dfa:0x5f7,_0x1336e6:0x562,_0x5004cf:0x588},_0x194d3a={_0xe9fb75:0x5e,_0x3cddbc:0x5d,_0x5b62ba:0x1dc},_0x43f8c0={_0x12ef2d:0x182};function _0x174221(_0x2d9bf9,_0x2b4a3e,_0xd1f864,_0x2767df){return _0x286169(_0x2d9bf9-_0x43f8c0._0x12ef2d,_0xd1f864-0xf1,_0x2767df,_0x2767df-0x66);}let {theme:_0x109682}=_0x259d06(),{isFocused:_0x2c8c25,focus:_0xa56444}=_0x4015aa();function _0x1dc606(_0x51993c,_0xfdb5e0,_0x1c723a,_0x452a43){return _0x120ca0(_0xfdb5e0,_0xfdb5e0-_0x194d3a._0xe9fb75,_0x1c723a-_0x194d3a._0x3cddbc,_0x1c723a- -_0x194d3a._0x5b62ba);}return _0x476789(_0x394423,()=>({'focus':_0xa56444}),[_0xa56444]),_0x197b40((_0x4cfae8,_0x52762e)=>_0x52762e[_0x174221(0x5b0,0x5ae,0x57e,0x436)]?(_0x9dd94b(),!0x0):!0x1,{'isActive':_0x2c8c25}),_0x3def27(_0x3f4217,{'flexDirection':_0x1dc606(_0x5148c8._0x36da98,0x1c9,_0x5148c8._0x2df68a,_0x5148c8._0x8401f6),'alignItems':_0x1dc606(_0x5148c8._0x29ead8,0x2d4,0x1e9,0x265),'children':[_0x393004(_0x169cc9,{'color':_0x2c8c25?_0x109682[_0x1dc606(_0x5148c8._0x4b8bf2,0x340,0x2fa,0x34a)][_0x174221(0x621,_0x5148c8._0x479dfa,0x637,0x6a1)]:_0x109682[_0x174221(0x517,_0x5148c8._0x1336e6,_0x5148c8._0x5004cf,0x531)][_0x174221(0x4bd,0x496,0x540,0x5dd)],'bold':_0x2c8c25,'children':_0x2c8c25?'❯\x20':'│\x20'}),_0x393004(_0x3f4217,{'flexGrow':0x1,'children':_0x393004(_0x2f4642,{'focus':_0x2c8c25,'placeholder':'Input\x20your\x20changes\x20here','onSubmit':_0xde0d5c,'maxLines':0x3})})]});});to['displayName']=_0x286169(0x541,0x440,0x365,0x38f);import{Fragment as _0x12ce0a,jsx as _0xb5871c,jsxs as _0x1a336e}from'react/jsx-runtime';function Qa({toolCalls:_0x55bd6b}){const _0x423155={_0x1ea6a8:0x211,_0xa98505:0x1c1,_0x30fbe2:0x232,_0x5ab872:0x18d,_0x14b5a8:0xa5,_0x243ffa:0x5ba,_0x5853b9:0x50f,_0x11457d:0x5a9,_0x287b13:0x373,_0x18d2bd:0x341,_0x45a5b1:0x38d,_0x4f7799:0xcd,_0x5f9873:0xb2,_0x571c8f:0x5fa,_0x5bb297:0x732,_0x50278b:0x343,_0xe1c13d:0x2f6,_0x247f96:0x34d,_0x23904a:0x3af,_0x1790d7:0x29f,_0x1dfda6:0x55c,_0x49a618:0x4db,_0x203457:0x438,_0xa12d89:0x33c,_0x3149cc:0x579,_0x3ab0f9:0x5b3,_0x2845bf:0x4d6,_0x67cc96:0x288,_0x134203:0x1ad,_0x271c03:0x307,_0x1239d5:0x33a,_0x1a279a:0x3d7,_0xcdc581:0x4b0,_0x56da82:0x308,_0x3c4df7:0x3aa,_0xe30199:0x2dd,_0x3617bf:0x24c},_0x9c1ccd={_0x59a752:0x4b6,_0x55b252:0x3ef,_0x55b366:0x25d,_0x514959:0x2e3},_0x14cf91={_0x8607b1:0x1d7,_0x1b0300:0x160},_0x28275a={_0x157ff2:0x211,_0x2dd134:0x58},_0x2051c9={_0x2ca332:0x29b},_0xed5726={_0x2ad0f6:0x230,_0x582981:0x54c,_0x96c4b:0x550,_0x546aec:0x4a4,_0x53bf8f:0x110,_0x526714:0x41},_0x287959={_0x2f3a14:0x49,_0x324aab:0x374},_0xe541b5={_0x54ab1d:0x199,_0x350bc2:0x28b,_0xec3899:0x1b9,_0xf32bdc:0xc7,_0x2cc125:0x4ba,_0x37e211:0xca,_0x2e1dee:0x2c,_0x389b5e:0x113},_0x43f3d8={_0x5eb078:0x181,_0x47800c:0x46,_0x44fcdf:0x8e},_0x316ae7={_0x53e0de:0x115},_0x10109e={_0x3acf88:0x669,_0x41ae47:0x5a3,_0x3b84ea:0x63b,_0x54d9a6:0x605,_0x15cdb0:0x6e1,_0x1dd017:0x6f8,_0x113eb9:0x613,_0x20a29:0x593,_0x3328ab:0x4fb,_0x383cc8:0x4d8,_0x5b8db2:0x62e,_0xe12326:0x377,_0x83391f:0x55c,_0xa17b14:0x428,_0x70f13d:0x541,_0x98674f:0x5d4,_0xdaf17:0x433,_0xda3af2:0x5dd,_0x7d52a:0x5d9,_0x55146e:0x66d,_0x4d50e5:0x434,_0x293f25:0x4d5,_0x59755a:0x480,_0xa229ae:0x501,_0x509abe:0x3e9,_0x45c16d:0x53b,_0x4d37df:0x319,_0x5db7f8:0x337,_0x2252d3:0x44c},_0x49cb11={_0x849519:0x49},_0x299569={_0xf2c30e:0x4a,_0x5d8cd4:0xc9,_0x4fc3ef:0x170,_0xb0122b:0xcb,_0x59a0da:0x74,_0x439ec5:0x101,_0x4fc035:0x1a9,_0x59322d:0x50,_0x220bfe:0x178,_0x3f05c6:0x163,_0x1bc989:0x169,_0x4e058b:0x268,_0x1ace15:0x178,_0x35eb91:0xd3,_0x1b1f6b:0x129,_0x1584e2:0x50,_0x2d6ca5:0x140,_0x347a51:0xea,_0xea2e5c:0xc4,_0x227f76:0x6a,_0x226ddf:0xf,_0x4d9fc0:0x2b,_0x40fd9e:0x15f,_0x177232:0xfc,_0x212549:0x4a,_0x4759ba:0x27},_0x49f559={_0x2c1e23:0x17f,_0x47c4f8:0x2f};function _0x19b075(_0x376ccb,_0xaad6fa,_0x2e3066,_0xd3ed27){return _0x286169(_0x376ccb-_0x49f559._0x2c1e23,_0x2e3066-0x34,_0x376ccb,_0xd3ed27-_0x49f559._0x47c4f8);}let {addSessionApprovedTool:_0xd0a369,handleSingleToolApproval:_0x4ac1e1,pendingApprovalBatchTotal:_0x114271}=_0x3b4d2e(),{theme:_0x1a27b9}=_0x259d06(),_0x1e706b=_0x562dd6(null),[_0x4a2ab8,_0x5e0c97]=_0x5c9a76(!0x1),_0x171504=_0x55bd6b[0x0],_0x376090=_0x114271-_0x55bd6b[_0x19b075(0x523,0x460,0x59d,0x6ed)],_0x113b38=_0x412eaf(_0x4eb373=>{const _0xa69e67={_0x47eaf0:0x4d4,_0x4317cb:0xf6};function _0x1e7811(_0x586a69,_0x33e1f7,_0x10769c,_0x4255e2){return _0x19b075(_0x4255e2,_0x33e1f7-0x31,_0x586a69- -_0xa69e67._0x47eaf0,_0x4255e2-_0xa69e67._0x4317cb);}function _0x4aad8d(_0x4d78fa,_0x5d4f30,_0x3b9180,_0x5c7161){return _0x19b075(_0x5d4f30,_0x5d4f30-0x17b,_0x4d78fa- -0x5e9,_0x5c7161-0x171);}if(_0x171504?.[_0x1e7811(_0x299569._0xf2c30e,-_0x299569._0x5d8cd4,_0x299569._0x4fc3ef,0x14f)]){if(_0x4eb373===_0x1e7811(0xa0,0x4b,0xa2,-0xaa))_0x4ac1e1(_0x171504[_0x4aad8d(-_0x299569._0xb0122b,_0x299569._0x59a0da,-_0x299569._0x439ec5,-_0x299569._0x4fc035)],_0x4aad8d(-0x75,_0x299569._0x59322d,-0x16,-0x16b));else{if(_0x4eb373===_0x4aad8d(-_0x299569._0x220bfe,-_0x299569._0x3f05c6,-_0x299569._0x1bc989,-_0x299569._0x4e058b))_0x4ac1e1(_0x171504['approvalId'],_0x4aad8d(-_0x299569._0x1ace15,-0x12f,-_0x299569._0x35eb91,-_0x299569._0x1b1f6b));else{if(_0x4eb373===_0x1e7811(-_0x299569._0x1584e2,-0xb6,-0x164,-0x172)){_0xd0a369(_0x171504[_0x1e7811(_0x299569._0x2d6ca5,_0x299569._0x347a51,0xe6,0x20b)][_0x1e7811(-_0x299569._0xea2e5c,_0x299569._0x227f76,-0x134,_0x299569._0x226ddf)]);let _0x41db23=_0x171504[_0x4aad8d(_0x299569._0x4d9fc0,_0x299569._0x40fd9e,-0x3d,-0x8e)]['name'],_0x29c7bd=_0x55bd6b[_0x4aad8d(-0x1e7,-_0x299569._0x177232,-0x2d9,-0x21c)](_0x228ef1=>_0x228ef1[_0x4aad8d(0x2b,-0x5,0x28,0x160)][_0x4aad8d(-0x1d9,-0xac,-0x77,-0x2ba)]===_0x41db23);for(let _0x885f86 of _0x29c7bd)_0x885f86['approvalId']&&_0x4ac1e1(_0x885f86[_0x1e7811(_0x299569._0x212549,0xfe,0x5e,_0x299569._0x4759ba)],'approve');}}}}},[_0x171504,_0x55bd6b,_0xd0a369,_0x4ac1e1]),_0x58b71c=_0x184870(()=>{const _0x47ddda={_0x6111ea:0xbe,_0x53f441:0x143};let _0xf3deae=_0x171504?.[_0x11e764(_0x10109e._0x3acf88,_0x10109e._0x41ae47,_0x10109e._0x3b84ea,0x5f6)]['name'];if(!_0xf3deae)return'';function _0x56b5c4(_0x379b9e,_0x173d12,_0x776741,_0x4d8019){return _0x19b075(_0x379b9e,_0x173d12-0xb7,_0x4d8019-_0x49cb11._0x849519,_0x4d8019-0xc2);}let _0x9a1173={};try{_0x9a1173=JSON[_0x11e764(0x621,_0x10109e._0x54d9a6,0x641,_0x10109e._0x15cdb0)](_0x171504[_0x11e764(0x669,0x713,_0x10109e._0x1dd017,0x603)][_0x11e764(_0x10109e._0x113eb9,_0x10109e._0x20a29,_0x10109e._0x3328ab,0x664)]);}catch{}let _0x203d21=_0x9a1173[_0x11e764(_0x10109e._0x383cc8,0x57e,_0x10109e._0x5b8db2,_0x10109e._0xe12326)]&&typeof _0x9a1173[_0x56b5c4(0x60f,0x4cb,0x402,0x4cc)]==_0x56b5c4(_0x10109e._0x83391f,0x537,_0x10109e._0xa17b14,_0x10109e._0x70f13d)&&_0x9a1173[_0x11e764(0x4d8,0x4c4,_0x10109e._0x98674f,0x631)]['trim']()?_0x9a1173['description']:Gt(_0xf3deae);function _0x11e764(_0x1c0698,_0x3a0d69,_0x2ea0c9,_0x1b0512){return _0x19b075(_0x3a0d69,_0x3a0d69-_0x47ddda._0x6111ea,_0x1c0698-0x55,_0x1b0512-_0x47ddda._0x53f441);}if(_0xf3deae===_0x56b5c4(0x407,_0x10109e._0xdaf17,0x3d1,0x4dd)||_0xf3deae===_0x56b5c4(0x5ff,_0x10109e._0xda3af2,_0x10109e._0x7d52a,_0x10109e._0x55146e)){let _0x390af3=_0x9a1173['file_path'];if(_0x390af3)return _0x1a336e(_0x12ce0a,{'children':[_0xb5871c(_0x9a1903,{'color':_0x1a27b9[_0x11e764(0x535,_0x10109e._0x4d50e5,_0x10109e._0x293f25,0x3e8)][_0x11e764(_0x10109e._0x59755a,_0x10109e._0xa229ae,_0x10109e._0x509abe,_0x10109e._0x45c16d)],'bold':!0x0,'children':_0x203d21+':\x20'}),_0xb5871c(_0x9a1903,{'bold':!0x1,'color':_0x1a27b9['modal'][_0x56b5c4(0x51d,_0x10109e._0x4d37df,_0x10109e._0x5db7f8,_0x10109e._0x2252d3)],'children':_0x390af3})]});}return _0x203d21;},[_0x171504,_0x1a27b9[_0xc0faad(_0x423155._0x1ea6a8,_0x423155._0xa98505,0x236,_0x423155._0x30fbe2)][_0xc0faad(0x134,0x13c,_0x423155._0x5ab872,_0x423155._0x14b5a8)],_0x1a27b9[_0x19b075(_0x423155._0x243ffa,_0x423155._0x5853b9,0x4e0,_0x423155._0x11457d)][_0x19b075(_0x423155._0x287b13,_0x423155._0x18d2bd,0x42b,_0x423155._0x45a5b1)]]),_0x121333=_0x1e8844=>{function _0x3dbd9f(_0x26578c,_0x30c998,_0x1749bb,_0x45d23b){return _0xc0faad(_0x30c998- -_0x316ae7._0x53e0de,_0x30c998-0x1a,_0x1749bb-0x1d3,_0x26578c);}function _0x525b7e(_0x38bbf6,_0x6066ca,_0x3cec1d,_0x6c68e0){return _0xc0faad(_0x6c68e0-_0x43f3d8._0x5eb078,_0x6066ca-_0x43f3d8._0x47800c,_0x3cec1d-_0x43f3d8._0x44fcdf,_0x38bbf6);}_0x1e8844[_0x525b7e(0x263,_0xe541b5._0x54ab1d,0x26a,0x26a)]()[_0x3dbd9f(_0xe541b5._0x350bc2,_0xe541b5._0xec3899,_0xe541b5._0xf32bdc,0x273)]===0x0||!_0x171504?.[_0x525b7e(0x2aa,_0xe541b5._0x2cc125,0x354,0x3d0)]||(_0x4ac1e1(_0x171504['approvalId'],'edit',_0x1e8844[_0x3dbd9f(-_0xe541b5._0x37e211,-_0xe541b5._0x2e1dee,-_0xe541b5._0x389b5e,0x11f)]()),_0x5e0c97(!0x1));},_0x28b937=()=>{_0x5e0c97(!0x1);},_0x37d418=_0x327345=>{const _0xf6778f={_0x46c783:0x1d,_0x986a6a:0x1a8};function _0x4e39dd(_0x29d8c7,_0x24b80a,_0xe8c125,_0x29e9b9){return _0xc0faad(_0x29d8c7-0x3aa,_0x24b80a-_0xf6778f._0x46c783,_0xe8c125-_0xf6778f._0x986a6a,_0xe8c125);}function _0x2131a6(_0x31f463,_0x4f1131,_0x15326f,_0x1c899d){return _0x19b075(_0x1c899d,_0x4f1131-_0x287959._0x2f3a14,_0x31f463- -_0x287959._0x324aab,_0x1c899d-0x1d2);}_0x113b38([_0x2131a6(0x200,0x213,0x31a,_0xed5726._0x2ad0f6),_0x4e39dd(_0xed5726._0x582981,0x46a,_0xed5726._0x96c4b,_0xed5726._0x546aec),_0x2131a6(_0xed5726._0x53bf8f,0x11a,0xbc,_0xed5726._0x526714)][_0x327345]);};function _0xc0faad(_0x148eea,_0x3d4548,_0x465f88,_0x1dcce6){return _0x286169(_0x148eea-0x89,_0x148eea- -_0x2051c9._0x2ca332,_0x1dcce6,_0x1dcce6-0xda);}return _0x197b40(_0x15237f=>{function _0x3f65fa(_0xe9dac9,_0x2e0903,_0x504255,_0x308530){return _0xc0faad(_0x504255-_0x28275a._0x157ff2,_0x2e0903-0x11,_0x504255-_0x28275a._0x2dd134,_0x2e0903);}let _0x16c75b={0x1:_0x3f65fa(0x3ab,0x3e2,_0x9c1ccd._0x59a752,0x5a4),0x2:_0x53d854(_0x9c1ccd._0x55b252,_0x9c1ccd._0x55b366,_0x9c1ccd._0x514959,0x300),0x3:'approve_session'};function _0x53d854(_0x283631,_0x933218,_0x1bb696,_0x4d1535){return _0x19b075(_0x283631,_0x933218-_0x14cf91._0x8607b1,_0x1bb696- -0x18e,_0x4d1535-_0x14cf91._0x1b0300);}if(_0x16c75b[_0x15237f])return _0x113b38(_0x16c75b[_0x15237f]),!0x0;},{'isActive':!0x0}),_0x171504?_0xb5871c(_0x52272b,{'visible':!0x0,'title':_0xb5871c(_0x9a1903,{'children':_0x58b71c}),'rightTitle':_0xb5871c(qo,{'currentIndex':_0x376090,'totalTools':_0x114271}),'footer':_0xb5871c(_0x542ee7,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'children':_0x4a2ab8?_0xb5871c(_0x5a49b4,{'segments':[{'text':'Enter','highlight':!0x0},{'text':_0xc0faad(_0x423155._0x4f7799,0x219,_0x423155._0x5f9873,0x2)},{'text':_0x19b075(0x4c0,0x4e7,_0x423155._0x571c8f,_0x423155._0x5bb297),'highlight':!0x0},{'text':_0xc0faad(0x2dc,_0x423155._0x50278b,0x3d2,_0x423155._0xe1c13d)}]}):_0xb5871c(_0x5a49b4,{'segments':[{'text':'Tab','highlight':!0x0},{'text':_0x19b075(_0x423155._0x247f96,0x449,_0x423155._0x23904a,_0x423155._0x1790d7)},{'text':'1','highlight':!0x0},{'text':_0x19b075(0x63e,0x54c,0x5e8,0x6ac)},{'text':'2','highlight':!0x0},{'text':_0x19b075(_0x423155._0x1dfda6,_0x423155._0x49a618,_0x423155._0x203457,_0x423155._0xa12d89)},{'text':'3','highlight':!0x0},{'text':_0x19b075(0x513,_0x423155._0x3149cc,0x556,_0x423155._0x3ab0f9)}]})}),'children':_0x1a336e(_0x542ee7,{'flexDirection':_0x19b075(0x37c,0x537,_0x423155._0x2845bf,0x55e),'width':_0xc0faad(0x274,_0x423155._0x67cc96,_0x423155._0x134203,_0x423155._0x271c03),'flexGrow':0x1,'flexShrink':0x0,'children':[_0xb5871c(Go,{'toolCall':_0x171504}),_0xb5871c(_0x542ee7,{'flexDirection':_0x19b075(0x48f,0x45d,0x398,_0x423155._0x1239d5),'justifyContent':_0x19b075(_0x423155._0x1a279a,0x57e,_0x423155._0xcdc581,0x498),'alignItems':_0xc0faad(_0x423155._0x56da82,_0x423155._0x3c4df7,_0x423155._0xe30199,_0x423155._0x3617bf),'marginTop':0x1,'children':_0xb5871c(zo,{'onActionExecute':_0x37d418})}),_0xb5871c(_0x542ee7,{'marginY':0x1,'children':_0xb5871c(to,{'ref':_0x1e706b,'onSubmit':_0x121333,'onCancel':_0x28b937})})]})}):null;}function At({toolCalls:_0xdb4876}){return _0xb5871c(_0x583146,{'children':_0xb5871c(Qa,{'toolCalls':_0xdb4876})});}import{useState as _0xa94659,useCallback as _0x109dc6,useEffect as _0x46bf84,useMemo as _0x1710f9,useRef as _0xe4a140}from'react';import{Box as _0x53a43a,Text as _0x137a23}from'ink';import{jsx as _0x2d3230,jsxs as _0x173e91}from'react/jsx-runtime';var ee={'OPTION':_0x1c3424=>_0x286169(0x5f7,0x502,0x524,0x4d7)+_0x1c3424,'OTHER':'question-other','SUBMIT':_0x120ca0(0x5f9,0x3a2,0x649,0x502)};function Ka(_0xedf694){const _0x303553={_0x457495:0x1aa,_0x5931cd:0x193,_0x1a3c03:0x1a2,_0x698378:0x219,_0x279db0:0x383,_0x3a6b91:0x2aa,_0x122a95:0x3b7,_0x74e06:0x29d,_0xfb814f:0x187},_0x3b22e5={_0x348641:0xab},_0x4c9c77={_0x1a505d:0x8a,_0x21d4d4:0x1b1};function _0x496595(_0x8d74fa,_0x21462f,_0x29622c,_0x2f5b41){return _0x120ca0(_0x21462f,_0x21462f-0xac,_0x29622c-_0x4c9c77._0x1a505d,_0x29622c- -_0x4c9c77._0x21d4d4);}if(!_0xedf694||_0xedf694===ee[_0x496595(_0x303553._0x457495,_0x303553._0x5931cd,0x1f4,_0x303553._0x1a3c03)]||_0xedf694===ee[_0x496595(_0x303553._0x698378,_0x303553._0x279db0,0x284,_0x303553._0x3a6b91)])return null;function _0x12abf6(_0x17eaa6,_0x3b9177,_0x28241d,_0x4ac520){return _0x120ca0(_0x28241d,_0x3b9177-0x38,_0x28241d-_0x3b22e5._0x348641,_0x3b9177- -0x247);}let _0x3b1697=_0xedf694[_0x12abf6(_0x303553._0x122a95,_0x303553._0x74e06,_0x303553._0xfb814f,0x3c7)](/^question-option-(\d+)$/);return _0x3b1697?parseInt(_0x3b1697[0x1],0xa):null;}function za({option:_0x154808,idx:_0x4c796e,isSelected:_0x1722a3,isMultiSelect:_0x30322d}){const _0x5aeac0={_0xc82dbe:0xf5,_0x16fa84:0x183,_0x554045:0x2aa,_0x75ff7a:0x38d,_0x1f7800:0x2c2,_0x49aadb:0x214,_0x23a569:0xd6,_0x2a7140:0x293,_0x2063ab:0xec,_0x193e3f:0x135,_0x43994a:0x2e6,_0x4043ba:0x2cd,_0x3964c4:0xd1,_0x36ef8a:0x28d,_0x436419:0x1fe,_0x406c32:0x130,_0x91f327:0x18d},_0x5b6795={_0x5ec99b:0x18a};function _0x4a39de(_0x4152df,_0x5b5b80,_0x2ab8f7,_0x5ca2ef){return _0x120ca0(_0x5ca2ef,_0x5b5b80-_0x5b6795._0x5ec99b,_0x2ab8f7-0x1a8,_0x5b5b80- -0x267);}function _0x4f2193(_0x1a18fe,_0x36d350,_0x3c85bd,_0x215fae){return _0x286169(_0x1a18fe-0x41,_0x3c85bd- -0x5d2,_0x36d350,_0x215fae-0x130);}let {theme:_0xf2b2c7}=_0x259d06(),_0x5c3429=_0xe4a140(null),{isFocused:_0x350dae}=_0x4015aa({'active':!0x0,'id':ee[_0x4a39de(_0x5aeac0._0xc82dbe,_0x5aeac0._0x16fa84,_0x5aeac0._0x554045,0x42)](_0x4c796e)}),_0x2e11a7=()=>_0x30322d?_0x1722a3?'◉\x20':'○\x20':_0x1722a3?'✓\x20':'\x20\x20';return _0x173e91(_0x53a43a,{'ref':_0x5c3429,'flexWrap':'nowrap','children':[_0x173e91(_0x53a43a,{'flexShrink':0x0,'flexWrap':_0x4f2193(-_0x5aeac0._0x75ff7a,-_0x5aeac0._0x1f7800,-0x264,-0x27a),'children':[_0x2d3230(_0x53a43a,{'children':_0x2d3230(_0x137a23,{'color':_0x350dae?_0xf2b2c7[_0x4a39de(0x16c,0x293,0x3b3,0x180)][_0x4f2193(-0x160,-0x231,-0x131,0xf)]:void 0x0,'children':_0x350dae?'❯\x20':'\x20\x20'})}),_0x2d3230(_0x53a43a,{'children':_0x2d3230(_0x137a23,{'color':_0x1722a3?_0xf2b2c7[_0x4a39de(0x269,0x293,0x25f,0x358)][_0x4f2193(-_0x5aeac0._0x49aadb,-_0x5aeac0._0x23a569,-0x1fa,-_0x5aeac0._0x2a7140)]:void 0x0,'children':_0x2e11a7()})})]}),_0x173e91(_0x137a23,{'children':[_0x2d3230(_0x137a23,{'bold':_0x350dae,'color':_0x350dae?_0xf2b2c7['tokens'][_0x4f2193(-_0x5aeac0._0x2063ab,-0x17c,-0x131,-_0x5aeac0._0x193e3f)]:_0x1722a3?_0xf2b2c7[_0x4a39de(_0x5aeac0._0x43994a,_0x5aeac0._0x2a7140,0x203,_0x5aeac0._0x4043ba)][_0x4f2193(-0x30a,-0x243,-0x1fa,-_0x5aeac0._0x3964c4)]:void 0x0,'children':_0x154808[_0x4f2193(-0x26d,-_0x5aeac0._0x36ef8a,-_0x5aeac0._0x436419,-_0x5aeac0._0x406c32)]}),_0x154808[_0x4f2193(-_0x5aeac0._0x91f327,-0xdd,-_0x5aeac0._0x16fa84,-0x14a)]&&_0x2d3230(_0x137a23,{'dimColor':!0x0,'children':'\x20—\x20'+_0x154808[_0x4f2193(-0x5f,-0x2b2,-_0x5aeac0._0x16fa84,-0x1cd)]})]})]});}function Ya({isSelected:_0x19dfdd,isMultiSelect:_0x453edd,customInput:_0x25b4b3,setCustomInput:_0x35f566,handleOtherInputSubmit:_0x32dc0e,cycleNext:_0x1d00f3,cycleBack:_0x4b0882}){const _0x544964={_0x1c0a1a:0x89,_0x2fb13d:0xab,_0x308a19:0xce,_0x3dee77:0x18b,_0x449ecd:0x150,_0x3e165b:0xcb,_0x409cc4:0x87,_0x1a63ed:0xa8,_0x37d691:0x1cb,_0x223af6:0x42,_0x1ade2d:0x6d,_0x3cc433:0x30b,_0x7ba504:0x228,_0x344677:0x1a9,_0x8555b9:0x5c,_0x249bd0:0x59,_0x28e917:0x135,_0x18a39a:0xb4,_0xaf282:0x87,_0x32de6f:0x4f,_0x5b0d83:0x9d,_0x212c2b:0x4b,_0x103b67:0xd0,_0xb31791:0xd2,_0x379132:0x34},_0x382a61={_0x226070:0xa1,_0x1156a2:0x473},_0x5dfef8={_0x503e11:0x10,_0x41751d:0x4d,_0x11b540:0x1ef};function _0x3f17a8(_0x42c8e3,_0x5d0ee0,_0x542253,_0x333661){return _0x120ca0(_0x333661,_0x5d0ee0-_0x5dfef8._0x503e11,_0x542253-_0x5dfef8._0x41751d,_0x42c8e3- -_0x5dfef8._0x11b540);}let {theme:_0x57b008}=_0x259d06(),{isFocused:_0x133241}=_0x4015aa({'active':!0x0,'id':ee[_0x365e6f(-_0x544964._0x1c0a1a,-_0x544964._0x2fb13d,-0x17e,-_0x544964._0x308a19)]}),_0xac1acb=()=>_0x453edd?_0x19dfdd?'◉\x20':'○\x20':_0x19dfdd?'✓\x20':'\x20\x20';function _0x365e6f(_0x76cb31,_0x11cfbc,_0x39a49e,_0x21d344){return _0x120ca0(_0x39a49e,_0x11cfbc-_0x382a61._0x226070,_0x39a49e-0x2e,_0x21d344- -_0x382a61._0x1156a2);}return _0x173e91(_0x53a43a,{'children':[_0x173e91(_0x53a43a,{'flexShrink':0x0,'children':[_0x2d3230(_0x137a23,{'color':_0x133241?_0x57b008[_0x365e6f(_0x544964._0x3dee77,_0x544964._0x449ecd,-_0x544964._0x3e165b,_0x544964._0x409cc4)][_0x365e6f(-_0x544964._0x1a63ed,_0x544964._0x37d691,-_0x544964._0x223af6,_0x544964._0x1ade2d)]:void 0x0,'children':_0x133241?'❯\x20':'\x20\x20'}),_0x2d3230(_0x137a23,{'color':_0x19dfdd?_0x57b008[_0x3f17a8(_0x544964._0x3cc433,0x203,0x208,0x394)][_0x3f17a8(_0x544964._0x7ba504,0x331,0x331,_0x544964._0x344677)]:void 0x0,'children':_0xac1acb()}),_0x2d3230(_0x137a23,{'bold':_0x133241,'color':_0x133241?_0x57b008[_0x365e6f(-_0x544964._0x8555b9,0xb1,-_0x544964._0x249bd0,0x87)][_0x365e6f(0x15f,_0x544964._0x28e917,-_0x544964._0x18a39a,_0x544964._0x1ade2d)]:_0x19dfdd?_0x57b008[_0x365e6f(-0x2d,0x21,0xb1,_0x544964._0xaf282)]['green']:void 0x0,'children':'Other'}),_0x2d3230(_0x137a23,{'dimColor':!0x0,'children':_0x365e6f(_0x544964._0x32de6f,-_0x544964._0x5b0d83,-0x94,-_0x544964._0x212c2b)})]}),_0x2d3230(_0x53a43a,{'flexGrow':0x1,'children':_0x2d3230(_0x3cd058,{'focus':_0x133241,'value':_0x25b4b3,'onChange':_0x35f566,'placeholder':_0x365e6f(-_0x544964._0x103b67,-0xce,_0x544964._0xb31791,-_0x544964._0x379132),'onSubmit':_0x32dc0e,'onUpArrow':_0x4b0882,'onDownArrow':_0x1d00f3})})]});}function Xa({questionData:_0x196fa0}){const _0x4a8eb1={_0x4d18aa:0x3bc,_0x368f8d:0x3d3,_0x21d5bc:0x3fb,_0x3dd983:0x693,_0x3538ea:0x408,_0x50098c:0x529,_0x51a029:0x4a3,_0x2bb6ea:0x5ac,_0x13f033:0x391,_0x571af1:0x381,_0x2b870f:0x5c9,_0x18b638:0x65e,_0x3d038e:0x65a,_0x2d8fda:0x6cd,_0x5f0f8c:0x472,_0x37077c:0x418,_0x5ab147:0x2a3,_0x8eeb9d:0x3dd,_0x285a7f:0x4be,_0x11b93e:0x57d,_0x1c4bd7:0x525,_0x39cf7a:0x40f,_0x53f87d:0x47a,_0x3c887a:0x516,_0x1f9a94:0x380,_0x298159:0x4b5,_0x4c97e9:0x40b,_0x191710:0x3ba,_0x298937:0x37f,_0x2894cb:0x2fa,_0x56cd69:0x212,_0x366ef5:0x304,_0x4bd11b:0x2ea,_0x23305a:0x270,_0x2e2b5c:0x3cc,_0xe55e88:0x485,_0xc9afa2:0x5b3,_0x43d825:0x462,_0x29ffc0:0x55c,_0x2d0360:0x566,_0x471af7:0x629,_0x12fa0:0x5df,_0x405e3f:0x442,_0x8b04aa:0x38a,_0x2d66b0:0x312,_0x2a4591:0x265},_0x21e05d={_0x3a5f35:0x41,_0xbc3fc2:0xdd,_0x540297:0xf1,_0xf3f80d:0xd6,_0x3994f4:0x31,_0x37b336:0x92,_0x22d330:0x6f,_0x2c4b4c:0x8c,_0x4fe069:0x1ac},_0x37f85b={_0x36c554:0xb9,_0x29527d:0x2bd},_0xad6b36={_0x4fd5bf:0x1e1},_0x93c1ca={_0x31ceca:0x324,_0x7f1d7b:0x381,_0x2220c9:0x6eb,_0x182b19:0x59a,_0x245078:0x664,_0x57e9f6:0x35d,_0x57e40e:0x2af,_0x1b9555:0x3ea,_0x1a906c:0x11d,_0x4fe779:0x18c,_0x3ad77e:0xb3,_0x831f99:0x175,_0x272877:0x321,_0x318942:0x171,_0x568902:0x22f,_0x4c71b9:0x15d,_0xf8033:0x22a},_0x2c48de={_0x52ccf5:0xdb},_0xcaabfb={_0x56e1b4:0x71e,_0x2bf80e:0x5f5,_0x3e8e0f:0x791,_0x5412da:0x57,_0x43b48d:0x106,_0x4182b3:0xa2,_0x4a7154:0x9f},_0x346f7d={_0x457c5d:0x4e},_0x2d8453={_0x57392b:0x42},_0x22ea68={_0xf1cd88:0x356,_0x390e8d:0x338,_0xe1a113:0x42b,_0xa5e17d:0x1de,_0x4a936e:0x1b1,_0x29b92c:0x1b0,_0x10ca0d:0x3cd,_0x101c87:0x18b},_0x68d7ee={_0x4f5d7a:0x178,_0x295a51:0x467},_0x102070={_0x141047:0x173},_0x1c925e={_0x3e641c:0x20b,_0x10257f:0x141,_0x2454ef:0xfb,_0x46e8fa:0xbf},_0x4eac7f={_0x6319f9:0xc7,_0x71b78c:0xda,_0x3133ad:0x56,_0x218d18:0x2d2,_0x5ec726:0x368,_0x3c479d:0x270,_0x97f03e:0x2a0},_0x5720ad={_0x3eb486:0x4b7,_0x116676:0x3a5,_0x4492ca:0x2c8},_0x9dc513={_0x2ab1bf:0xcc,_0x374597:0x17d,_0x24b8a5:0x1ac,_0x2d246b:0x4b,_0x298863:0x1b8,_0x59f5e2:0x147,_0x58a3cc:0x9d,_0x161067:0x31e,_0x5e72f6:0x3fd,_0x520547:0x316,_0xecec85:0x58,_0x50ea61:0x15d,_0x36ec3b:0x16c,_0x42e02c:0x4a6,_0x34489a:0x365,_0x573fcc:0x338,_0x4f42e9:0x4fc,_0x3cbdd3:0x260,_0x5d9771:0x59,_0x312f47:0x1b3,_0x13cd67:0x26f,_0x2115fb:0x1c3,_0x1f030a:0x71,_0x51d18e:0x7b,_0x119c29:0x3c7,_0x2ba10e:0x3bb,_0x3473d8:0x4db,_0x48eb5c:0x391,_0x46e82c:0x474,_0xc27b4c:0x4a6},_0x1272a9={_0x4718c7:0x3e8,_0x2517a6:0x540},_0x54880d={_0x18b5de:0x691,_0x414b6b:0x7b0,_0xdc4476:0x680,_0x1905d2:0x575},_0x1890e2={_0x257177:0x558,_0x2d7c10:0x9b},_0xfee1a3={_0x9ca54d:0x1e9,_0x2efbde:0x6b,_0x56f228:0x120,_0x3e9021:0x1de,_0x3208ec:0x288},_0x2efa82={_0x5bd58c:0x13a},_0x4c1dc9={_0x51c056:0x6e},_0x1bfc5d={_0x5b0112:0x329,_0x2b512e:0x167},_0x1b17c4={_0x2dc6c5:0xf,_0xc72a06:0x649,_0x1722fe:0x615,_0x269ec8:0x2e1,_0x453997:0x1af},_0x2c1611={_0x401fcd:0x4a1,_0x1963e7:0x6b},_0x37d674={_0xfb4aef:0x1a0,_0x3006dc:0x2f},_0x220069={_0x2bba58:0x424,_0x5d1ea0:0x34f,_0x421230:0x35f,_0x1aaeae:0x48e,_0xadbfe4:0x39a,_0x23c1ca:0x2e8,_0x267392:0x3d6,_0xaf1054:0xe0,_0x31199e:0x21c,_0x54d1ec:0x3d,_0x1f7d8b:0x1e6,_0x54575f:0x2bc,_0x3cd459:0x2e3,_0x470282:0x236,_0x53e926:0x3c1},_0x3cb21c={_0x463a55:0x85,_0x168e00:0x26,_0x26710c:0x12},_0x1c26d9={_0x4443b6:0x3d},_0xb3f67={_0x5f0326:0xf,_0xdb269:0x21},_0x14807b={_0x15e945:0x16e,_0x3d8b8f:0x14e,_0x1f0290:0x291},_0xd5cba7={_0x5b1977:0x1f4},_0x5b9f04={_0xc0efbb:0x338},_0x1017b0={_0x5719f7:0x189,_0x29e558:0x1b2,_0x4a587b:0xd1,_0xbf89cf:0x3aa},_0x5ee540={_0x1e8303:0x144};let {handleQuestionResponse:_0x81b5a5}=Xt(),{cycleNext:_0x421cf9,cycleBack:_0x5604e4,focusedId:_0x31119c,setFocusedId:_0x39c535}=_0x5cb46f(),[_0x580883,_0x1df2e2]=_0xa94659(0x0),[_0x3c7549,_0x8fdcbf]=_0xa94659({}),[_0x2c8693,_0xfb7e4d]=_0xa94659({}),[_0x1efbd7,_0x5af0f5]=_0xa94659({}),_0x56d5fe=_0x196fa0[_0x667624(_0x4a8eb1._0x4d18aa,_0x4a8eb1._0x368f8d,_0x4a8eb1._0x21d5bc,0x4be)][_0x580883],_0x45f4ca=_0x56d5fe['id'],_0x40c07f=_0x1710f9(()=>[..._0x56d5fe[_0xd2e01a(0x64d,0x673,0x6c4,0x537)],{'label':_0x667624(0x46f,0x476,0x414,0x38d),'description':''}],[_0x56d5fe[_0x667624(_0x4a8eb1._0x3dd983,0x41e,_0x4a8eb1._0x3538ea,0x542)]]),_0x95f82e=_0x40c07f[_0x667624(_0x4a8eb1._0x50098c,0x356,0x5fb,0x4b5)]-0x1,_0x325074=_0x196fa0[_0xd2e01a(0x5c9,_0x4a8eb1._0x51a029,0x658,0x6fc)][_0x667624(0x3e4,0x491,_0x4a8eb1._0x2bb6ea,0x4b5)]>0x1,_0x4db635=_0x3c7549[_0x45f4ca]||new Set(),_0x3444ef=_0x1efbd7[_0x45f4ca]||'',_0x28a4c4=_0x31119c===ee['OTHER'],_0x136f86=_0x31119c===ee[_0x667624(0x29f,0x4a2,_0x4a8eb1._0x13f033,0x342)],_0x278080=Ka(_0x31119c),_0x4917b9=_0x109dc6(_0x17f48b=>{const _0x294fc9={_0x452b9f:0x21b,_0x11da4d:0x1a8,_0x17d1cb:0x11d};let _0x50a3cd=_0x2c8693[_0x17f48b];function _0x29fe6a(_0x5df4e0,_0x4977db,_0x3b6318,_0x4d67e9){return _0xd2e01a(_0x5df4e0-0x68,_0x4977db-_0x5ee540._0x1e8303,_0x4d67e9,_0x4d67e9-0x3e);}function _0x47808d(_0x48396c,_0xfcbb60,_0x42f79b,_0x1eb8ee){return _0xd2e01a(_0xfcbb60- -_0x294fc9._0x452b9f,_0xfcbb60-_0x294fc9._0x11da4d,_0x48396c,_0x1eb8ee-_0x294fc9._0x17d1cb);}return(Array[_0x47808d(_0x1017b0._0x5719f7,_0x1017b0._0x29e558,0x8a,_0x1017b0._0x4a587b)](_0x50a3cd)||_0x50a3cd)&&_0x50a3cd[_0x47808d(0x3d9,0x3a5,_0x1017b0._0xbf89cf,0x31b)]>0x0;},[_0x2c8693]),_0x321dd1=_0x1710f9(()=>_0x196fa0[_0x667624(0x511,0x553,0x612,0x4be)][_0x667624(0x17f,0x2a5,0x3dc,0x289)](_0x4a28d8=>_0x4917b9(_0x4a28d8['id'])),[_0x196fa0[_0x667624(0x518,0x3e4,_0x4a8eb1._0x571af1,0x4be)],_0x4917b9]),_0x3ebaa4=_0x109dc6(()=>{for(let _0xdafd84=_0x580883+0x1;_0xdafd84<_0x196fa0['questions']['length'];_0xdafd84++)if(!_0x4917b9(_0x196fa0[_0x2b6e00(0x6d0,0x556,0x659,0x6af)][_0xdafd84]['id']))return _0xdafd84;function _0x27ddeb(_0x573d23,_0x14c37a,_0x140ef5,_0x4da239){return _0xd2e01a(_0x140ef5- -_0x5b9f04._0xc0efbb,_0x14c37a-0x189,_0x14c37a,_0x4da239-0x97);}for(let _0x2bacfb=0x0;_0x2bacfb<_0x580883;_0x2bacfb++)if(!_0x4917b9(_0x196fa0[_0x27ddeb(_0x14807b._0x15e945,_0x14807b._0x3d8b8f,_0x14807b._0x1f0290,0x1f3)][_0x2bacfb]['id']))return _0x2bacfb;function _0x2b6e00(_0x4fd4e2,_0x43fc0a,_0x1293c7,_0x47560a){return _0xd2e01a(_0x47560a-0xe6,_0x43fc0a-_0xd5cba7._0x5b1977,_0x4fd4e2,_0x47560a-0x1df);}return null;},[_0x580883,_0x196fa0[_0xd2e01a(_0x4a8eb1._0x2b870f,0x4be,_0x4a8eb1._0x18b638,_0x4a8eb1._0x3d038e)],_0x4917b9]);function _0xd2e01a(_0x54eb8c,_0x5d9973,_0x11da86,_0x388426){return _0x286169(_0x54eb8c-_0xb3f67._0x5f0326,_0x54eb8c-0x57,_0x11da86,_0x388426-_0xb3f67._0xdb269);}_0x46bf84(()=>{function _0x574be5(_0x56ca63,_0x21685a,_0x227f37,_0x1124f2){return _0x667624(_0x56ca63-_0x1c26d9._0x4443b6,_0x21685a,_0x227f37-0x84,_0x1124f2- -0x309);}_0x39c535(ee[_0x574be5(0x8e,-_0x3cb21c._0x463a55,_0x3cb21c._0x168e00,-_0x3cb21c._0x26710c)](0x0));},[]),_0x46bf84(()=>{const _0x23632d={_0x851205:0x12c,_0x4ae306:0x14f};let _0x115d85=_0x2c8693[_0x45f4ca];function _0xeb1e4(_0x4e2cc5,_0x56c37a,_0x20d451,_0x7a0dea){return _0xd2e01a(_0x20d451- -0x359,_0x56c37a-0x39,_0x7a0dea,_0x7a0dea-0xd6);}function _0x40c3cb(_0x325f28,_0x32413d,_0x2596e2,_0x13aaeb){return _0x667624(_0x325f28-_0x23632d._0x851205,_0x13aaeb,_0x2596e2-_0x23632d._0x4ae306,_0x325f28-0x9d);}if(_0x115d85&&!_0x3c7549[_0x45f4ca]){if(_0x56d5fe[_0x40c3cb(_0x220069._0x2bba58,0x304,_0x220069._0x5d1ea0,0x300)]&&Array[_0x40c3cb(_0x220069._0x421230,0x450,0x21c,_0x220069._0x1aaeae)](_0x115d85)){let _0x55e1eb=new Set();for(let _0x4e5064 of _0x115d85){let _0x3d54f6=_0x40c07f[_0xeb1e4(_0x220069._0xadbfe4,0x3d0,_0x220069._0x23c1ca,_0x220069._0x267392)](_0x4f478d=>_0x4f478d['label']===_0x4e5064);_0x3d54f6>=0x0?_0x55e1eb[_0xeb1e4(0x113,_0x220069._0xaf1054,0x11a,0x245)](_0x3d54f6):(_0x55e1eb[_0xeb1e4(_0x220069._0x31199e,_0x220069._0x54d1ec,0x11a,_0x220069._0x1f7d8b)](_0x95f82e),_0x5af0f5(_0x15c81e=>({..._0x15c81e,[_0x45f4ca]:_0x4e5064})));}_0x8fdcbf(_0x2ec051=>({..._0x2ec051,[_0x45f4ca]:_0x55e1eb}));}else typeof _0x115d85==_0xeb1e4(0x23f,_0x220069._0x54575f,0x1c2,_0x220069._0x3cd459)&&_0x40c07f[_0xeb1e4(_0x220069._0x470282,0x377,_0x220069._0x23c1ca,_0x220069._0x53e926)](_0x2831d4=>_0x2831d4['label']===_0x115d85)<0x0&&_0x5af0f5(_0x4a72b3=>({..._0x4a72b3,[_0x45f4ca]:_0x115d85}));}},[_0x45f4ca]);let _0x53b84c=_0x109dc6(()=>{function _0x4bec48(_0x495ce9,_0x50c9ca,_0x6580ec,_0x124934){return _0x667624(_0x495ce9-_0x37d674._0xfb4aef,_0x6580ec,_0x6580ec-_0x37d674._0x3006dc,_0x50c9ca-0x141);}function _0x29ebb4(_0x1fcdc8,_0x26cd09,_0x316fe2,_0x53e98f){return _0xd2e01a(_0x316fe2- -_0x2c1611._0x401fcd,_0x26cd09-_0x2c1611._0x1963e7,_0x1fcdc8,_0x53e98f-0x18d);}if(_0x56d5fe[_0x29ebb4(-0x79,0x89,-_0x1b17c4._0x2dc6c5,0xf2)]&&_0x4db635[_0x4bec48(_0x1b17c4._0xc72a06,_0x1b17c4._0x1722fe,0x732,0x74a)]>0x0){let _0x35afb9=Array[_0x29ebb4(_0x1b17c4._0x269ec8,0x9f,_0x1b17c4._0x453997,0xed)](_0x4db635)['map'](_0x58c841=>_0x58c841===_0x95f82e&&_0x3444ef[_0x4bec48(0x35b,0x411,0x2b3,0x317)]()?_0x3444ef[_0x29ebb4(-0x1ec,0x1f,-0xc6,-0x8a)]():_0x40c07f[_0x58c841][_0x29ebb4(-0x1d3,-0x1d4,-0x76,0x5b)]);_0xfb7e4d(_0x30b6a0=>({..._0x30b6a0,[_0x45f4ca]:_0x35afb9}));}},[_0x56d5fe['multiSelect'],_0x4db635,_0x3444ef,_0x40c07f,_0x95f82e,_0x45f4ca]),_0x2a5af=_0x109dc6(()=>{const _0x1d4968={_0x50b254:0x1b4,_0x115114:0x5a},_0x5540b6={_0x2542d6:0x1a4};function _0x2936e6(_0x4f4e45,_0x356060,_0x50c163,_0xa1177f){return _0x667624(_0x4f4e45-_0x5540b6._0x2542d6,_0xa1177f,_0x50c163-0x4,_0x50c163- -0x149);}function _0x59dcfb(_0x11a316,_0x4d1380,_0x220142,_0x248000){return _0xd2e01a(_0x248000- -0x2ab,_0x4d1380-_0x1d4968._0x50b254,_0x11a316,_0x248000-_0x1d4968._0x115114);}_0x53b84c(),_0x580883<_0x196fa0[_0x59dcfb(_0x1bfc5d._0x5b0112,0x3f6,0x32a,0x31e)]['length']-0x1&&(_0x1df2e2(_0x222d77=>_0x222d77+0x1),_0x39c535(ee[_0x59dcfb(_0x1bfc5d._0x2b512e,0xbb,0x20c,0x157)](0x0)));},[_0x580883,_0x196fa0[_0xd2e01a(_0x4a8eb1._0x2b870f,0x4c5,_0x4a8eb1._0x2d8fda,0x586)][_0x667624(0x611,_0x4a8eb1._0x5f0f8c,0x535,0x4b5)],_0x53b84c,_0x39c535]),_0xae6804=_0x109dc6(()=>{_0x53b84c(),_0x580883>0x0&&(_0x1df2e2(_0x22f885=>_0x22f885-0x1),_0x39c535(ee['OPTION'](0x0)));},[_0x580883,_0x53b84c,_0x39c535]),_0x4a9983=_0x109dc6(_0x41c3e5=>{let _0x4ea6c0=typeof _0x41c3e5=='function'?_0x41c3e5(_0x1efbd7[_0x45f4ca]||''):_0x41c3e5;function _0x3f2728(_0x3ee3a2,_0x2e515b,_0x3379d5,_0x413303){return _0x667624(_0x3ee3a2-0xc1,_0x413303,_0x3379d5-_0x4c1dc9._0x51c056,_0x3379d5- -0x1b0);}function _0x128742(_0x4a9ec9,_0x4338f8,_0x4c5d08,_0x4feae5){return _0xd2e01a(_0x4338f8- -_0x2efa82._0x5bd58c,_0x4338f8-0x1c1,_0x4c5d08,_0x4feae5-0x5a);}_0x5af0f5(_0x77ad8a=>({..._0x77ad8a,[_0x45f4ca]:_0x4ea6c0})),_0x4ea6c0[_0x3f2728(_0xfee1a3._0x9ca54d,_0xfee1a3._0x2efbde,_0xfee1a3._0x56f228,_0xfee1a3._0x3e9021)]()&&(_0x56d5fe[_0x128742(0x31b,0x358,_0xfee1a3._0x3208ec,0x3c2)]?_0x8fdcbf(_0x472102=>{let _0x23dafd=new Set(_0x472102[_0x45f4ca]||new Set());return _0x23dafd['add'](_0x95f82e),{..._0x472102,[_0x45f4ca]:_0x23dafd};}):_0xfb7e4d(_0x20553d=>({..._0x20553d,[_0x45f4ca]:_0x4ea6c0['trim']()})));},[_0x45f4ca,_0x56d5fe[_0x667624(_0x4a8eb1._0x37077c,0x418,_0x4a8eb1._0x5ab147,0x387)],_0x95f82e,_0x1efbd7]),_0x22e895=_0x109dc6(_0x2200b8=>{_0x8fdcbf(_0x44c1a2=>({..._0x44c1a2,[_0x45f4ca]:typeof _0x2200b8=='function'?_0x2200b8(_0x44c1a2[_0x45f4ca]||new Set()):_0x2200b8}));},[_0x45f4ca]),_0x7039b2=_0x109dc6(_0x5a4524=>{const _0x374425={_0x1214aa:0xba,_0x7e5457:0x5fa},_0x3e07c8={_0x3f4756:0x58d,_0x304d7d:0x4c6,_0x30eca8:0x455},_0x88ff80={_0x4642de:0x1e3},_0x26588b={_0x1131fb:0x27,_0x72cf71:0x1ac};function _0x55121b(_0x4939d4,_0x414d05,_0x594656,_0x2cbd4e){return _0xd2e01a(_0x414d05-_0x26588b._0x1131fb,_0x414d05-0x1d4,_0x594656,_0x2cbd4e-_0x26588b._0x72cf71);}function _0x1b4247(_0x50b04b,_0x2b900a,_0xb806b5,_0x5479e7){return _0xd2e01a(_0xb806b5- -_0x1890e2._0x257177,_0x2b900a-0x6e,_0x50b04b,_0x5479e7-_0x1890e2._0x2d7c10);}if(_0x56d5fe[_0x1b4247(0x51,-0x1eb,-0xc6,-_0x9dc513._0x2ab1bf)]){_0x5a4524[_0x1b4247(-_0x9dc513._0x2ab1bf,-0x10c,-_0x9dc513._0x374597,-_0x9dc513._0x24b8a5)]()&&_0x22e895(_0x42367c=>{function _0x692f1e(_0x4e82bf,_0x233c97,_0x9b481e,_0x206c8a){return _0x55121b(_0x4e82bf-0x65,_0x4e82bf-0xf3,_0x233c97,_0x206c8a-_0x88ff80._0x4642de);}let _0x6e37da=new Set(_0x42367c);return _0x6e37da[_0x692f1e(_0x3e07c8._0x3f4756,_0x3e07c8._0x304d7d,0x4c7,_0x3e07c8._0x30eca8)](_0x95f82e),_0x6e37da;});let _0x48e42f=Array['from'](_0x4db635)[_0x1b4247(-_0x9dc513._0x2d246b,-_0x9dc513._0x298863,-_0x9dc513._0x59f5e2,-_0x9dc513._0x58a3cc)](_0x2207ad=>_0x2207ad===_0x95f82e&&_0x5a4524['trim']()?_0x5a4524[_0x1b4247(-0x16b,-0x24d,-0x17d,-0x268)]():_0x40c07f[_0x2207ad][_0x1b4247(-0x246,-0x26b,-0x12d,-0x184)]);_0x5a4524[_0x55121b(_0x9dc513._0x161067,0x402,_0x9dc513._0x5e72f6,_0x9dc513._0x520547)]()&&!_0x4db635[_0x1b4247(-_0x9dc513._0xecec85,-0x1f4,-_0x9dc513._0x50ea61,-_0x9dc513._0x36ec3b)](_0x95f82e)&&_0x48e42f['push'](_0x5a4524[_0x55121b(_0x9dc513._0x42e02c,0x402,0x3eb,_0x9dc513._0x34489a)]());let _0x1e9b36={..._0x2c8693,[_0x45f4ca]:_0x48e42f};if(_0x196fa0['questions'][_0x55121b(_0x9dc513._0x573fcc,0x3bb,_0x9dc513._0x4f42e9,_0x9dc513._0x3cbdd3)](_0x4aaf9c=>{const _0x468853={_0x53e5cf:0x629};function _0x56d3c6(_0x2f08d6,_0x3c08dc,_0x12e22b,_0x485aaf){return _0x55121b(_0x2f08d6-0xaa,_0x3c08dc- -0x669,_0x12e22b,_0x485aaf-0x127);}if(_0x4aaf9c['id']===_0x45f4ca)return _0x48e42f[_0x46eb09(0x648,_0x54880d._0x18b5de,0x59e,_0x54880d._0x414b6b)]>0x0;function _0x46eb09(_0x33b01a,_0x4ff9a0,_0x5b9699,_0x2e1e8d){return _0x1b4247(_0x33b01a,_0x4ff9a0-0x17d,_0x4ff9a0-_0x468853._0x53e5cf,_0x2e1e8d-0x9e);}let _0x34afbd=_0x1e9b36[_0x4aaf9c['id']];return(Array['isArray'](_0x34afbd)||_0x34afbd)&&_0x34afbd[_0x46eb09(0x5a2,0x691,_0x54880d._0xdc4476,_0x54880d._0x1905d2)]>0x0;})&&_0x48e42f[_0x55121b(0x689,0x5e7,0x69a,0x600)]>0x0)_0xfb7e4d(_0x1e9b36),_0x39c535(ee[_0x1b4247(-0x220,-_0x9dc513._0x5d9771,-0x10b,-0xaf)]);else{_0x48e42f['length']>0x0&&_0xfb7e4d(_0x1e9b36);let _0x37b745=_0x3ebaa4();_0x37b745!==null&&(_0x1df2e2(_0x37b745),_0x39c535(ee[_0x1b4247(-0xaa,-0x4a,-0x156,-_0x9dc513._0x312f47)](0x0)));}}else{if(!_0x5a4524[_0x1b4247(-0x1bd,-0xd4,-_0x9dc513._0x374597,-0x3d)]())return;let _0x2c0c71={..._0x2c8693,[_0x45f4ca]:_0x5a4524[_0x1b4247(-0x203,-0xf2,-0x17d,-_0x9dc513._0x13cd67)]()};if(_0xfb7e4d(_0x2c0c71),_0x196fa0[_0x1b4247(-0x8f,_0x9dc513._0x2115fb,_0x9dc513._0x1f030a,-_0x9dc513._0x51d18e)][_0x55121b(_0x9dc513._0x119c29,_0x9dc513._0x2ba10e,0x4fa,_0x9dc513._0x3473d8)](_0x1802d1=>{function _0x362e85(_0xddc0e3,_0x4d63b7,_0x27bd6b,_0xfd6b95){return _0x1b4247(_0xddc0e3,_0x4d63b7-0x1,_0x4d63b7-0x573,_0xfd6b95-0xf3);}if(_0x1802d1['id']===_0x45f4ca)return!0x0;function _0x3100fe(_0xab190f,_0x408b15,_0x56eedf,_0x43b475){return _0x1b4247(_0x43b475,_0x408b15-_0x374425._0x1214aa,_0x56eedf-_0x374425._0x7e5457,_0x43b475-0x1c6);}let _0x2b7ae9=_0x2c0c71[_0x1802d1['id']];return(Array[_0x362e85(0x2e0,_0x1272a9._0x4718c7,0x48b,0x394)](_0x2b7ae9)||_0x2b7ae9)&&_0x2b7ae9[_0x3100fe(0x66d,0x7ab,0x662,_0x1272a9._0x2517a6)]>0x0;}))_0x39c535(ee[_0x55121b(_0x9dc513._0x48eb5c,_0x9dc513._0x46e82c,_0x9dc513._0xc27b4c,0x4e1)]);else{let _0x362f00=_0x3ebaa4();_0x362f00!==null&&(_0x1df2e2(_0x362f00),_0x39c535(ee['OPTION'](0x0)));}}},[_0x56d5fe[_0xd2e01a(0x492,_0x4a8eb1._0x8eeb9d,0x356,0x49d)],_0x45f4ca,_0x95f82e,_0x22e895,_0x4db635,_0x40c07f,_0x2c8693,_0x196fa0[_0x667624(0x3e7,0x5ef,0x5e4,_0x4a8eb1._0x285a7f)],_0x3ebaa4,_0x39c535]),_0x4dd4ee=_0x109dc6(()=>{const _0x55b22a={_0x4898d3:0xf7},_0x466c4f={_0x227d9e:0x1e,_0x219fb0:0x89},_0x1ac458={_0x4275a6:0x7c};if(_0x278080===null&&!_0x28a4c4)return;function _0x12b02e(_0x1957eb,_0x18c2e5,_0x23aa4c,_0x2f5975){return _0x667624(_0x1957eb-0x12b,_0x1957eb,_0x23aa4c-0x10b,_0x2f5975- -0x211);}let _0x2cf626=_0x28a4c4?_0x95f82e:_0x278080;_0x2cf626===_0x95f82e?_0x3444ef[_0x12b02e(_0x1c925e._0x3e641c,_0x1c925e._0x10257f,_0x1c925e._0x2454ef,_0x1c925e._0x46e8fa)]()&&_0x22e895(_0x32cce6=>{let _0xca3661=new Set(_0x32cce6);function _0x590502(_0x4812a3,_0x18b33a,_0x4be8bc,_0x4ca461){return _0x12b02e(_0x4be8bc,_0x18b33a-0x117,_0x4be8bc-_0x1ac458._0x4275a6,_0x18b33a-0x1ca);}return _0xca3661['has'](_0x2cf626)?_0xca3661[_0x590502(_0x5720ad._0x3eb486,_0x5720ad._0x116676,_0x5720ad._0x4492ca,0x40e)](_0x2cf626):_0xca3661['add'](_0x2cf626),_0xca3661;}):_0x22e895(_0x107760=>{let _0x5576d5=new Set(_0x107760);function _0x4c07fb(_0x4c1b7e,_0x58e359,_0x102a72,_0x1fa9e6){return _0x12b02e(_0x58e359,_0x58e359-0xb0,_0x102a72-_0x466c4f._0x227d9e,_0x1fa9e6- -_0x466c4f._0x219fb0);}function _0x1a3b14(_0x58a92f,_0x31fb94,_0xd79b49,_0x471151){return _0x12b02e(_0x471151,_0x31fb94-0x51,_0xd79b49-0x61,_0x31fb94-_0x55b22a._0x4898d3);}return _0x5576d5[_0x4c07fb(_0x4eac7f._0x6319f9,-_0x4eac7f._0x71b78c,0x126,_0x4eac7f._0x3133ad)](_0x2cf626)?_0x5576d5[_0x1a3b14(0x39d,_0x4eac7f._0x218d18,0x213,_0x4eac7f._0x5ec726)](_0x2cf626):_0x5576d5[_0x1a3b14(_0x4eac7f._0x3c479d,0x24e,0x2dc,_0x4eac7f._0x97f03e)](_0x2cf626),_0x5576d5;});},[_0x278080,_0x28a4c4,_0x95f82e,_0x22e895,_0x3444ef]),_0x300728=_0x109dc6(()=>{const _0x58477f={_0x15cccd:0x17f,_0x3603dd:0x1fd,_0x481bcb:0x19b,_0x4f53d0:0x2d5,_0x5151fe:0x2bf};function _0x4981af(_0x1891f4,_0x43c5a4,_0x4db55d,_0x3f3026){return _0xd2e01a(_0x43c5a4- -_0x102070._0x141047,_0x43c5a4-0x1e2,_0x3f3026,_0x3f3026-0x194);}function _0x542d5b(_0x28382b,_0x4d052c,_0x3d6558,_0x144c50){return _0x667624(_0x28382b-_0x68d7ee._0x4f5d7a,_0x144c50,_0x3d6558-0x7f,_0x4d052c- -_0x68d7ee._0x295a51);}if(_0x278080===null)return;let _0x5971e3=_0x40c07f[_0x278080][_0x4981af(0x272,0x2b8,0x266,_0x22ea68._0xf1cd88)],_0xc76019={..._0x2c8693,[_0x45f4ca]:_0x5971e3};if(_0xfb7e4d(_0xc76019),_0x196fa0[_0x4981af(_0x22ea68._0x390e8d,0x456,_0x22ea68._0xe1a113,0x584)][_0x542d5b(-0x2af,-_0x22ea68._0xa5e17d,-0x14f,-_0x22ea68._0x4a936e)](_0xdc265f=>{const _0x35613e={_0x29ac46:0x250};if(_0xdc265f['id']===_0x45f4ca)return!0x0;let _0x198260=_0xc76019[_0xdc265f['id']];function _0x9a930f(_0x2fdf87,_0xb8f22f,_0x5e85cc,_0x2e44e9){return _0x4981af(_0x2fdf87-0x152,_0x2fdf87- -_0x35613e._0x29ac46,_0x5e85cc-0x7b,_0x5e85cc);}function _0x3c641b(_0x4d1add,_0xe5bae1,_0x93003a,_0x2de402){return _0x542d5b(_0x4d1add-0x1a0,_0x2de402-0x324,_0x93003a-0x19b,_0x4d1add);}return(Array[_0x3c641b(0x6e,0x13c,0x63,_0x58477f._0x15cccd)](_0x198260)||_0x198260)&&_0x198260[_0x9a930f(_0x58477f._0x3603dd,_0x58477f._0x481bcb,_0x58477f._0x4f53d0,_0x58477f._0x5151fe)]>0x0;}))_0x39c535(ee[_0x4981af(0x335,0x2da,_0x22ea68._0x29b92c,_0x22ea68._0x10ca0d)]);else{let _0x29c7b6=_0x3ebaa4();_0x29c7b6!==null&&(_0x1df2e2(_0x29c7b6),_0x39c535(ee[_0x4981af(_0x22ea68._0x101c87,0x28f,0x21a,0x3b0)](0x0)));}},[_0x278080,_0x40c07f,_0x45f4ca,_0x2c8693,_0x196fa0[_0x667624(_0x4a8eb1._0x11b93e,0x48e,0x44f,_0x4a8eb1._0x285a7f)],_0x3ebaa4,_0x39c535]),_0x3f7b88=_0x109dc6(()=>{const _0x54292c={_0x58b72e:0x232,_0x1e8ead:0x244,_0x4d56aa:0x517,_0x44f7e2:0x3f0,_0x5364a3:0x2df};_0x53b84c();function _0x3ad53e(_0x3405b8,_0x259f5b,_0x122c3d,_0x3c5d83){return _0x667624(_0x3405b8-_0x2d8453._0x57392b,_0x122c3d,_0x122c3d-0x83,_0x3405b8-0x169);}let _0x5006e0=Array[_0x3ad53e(0x6ae,_0xcaabfb._0x56e1b4,_0xcaabfb._0x2bf80e,_0xcaabfb._0x3e8e0f)](_0x4db635)['map'](_0x1b0e3c=>_0x1b0e3c===_0x95f82e&&_0x3444ef[_0x3bbe36(-0x76,-0xc9,0x78,-0xfb)]()?_0x3444ef['trim']():_0x40c07f[_0x1b0e3c][_0x3bbe36(0xaf,-0x79,-0x74,0xbc)]),_0x4ff939={..._0x2c8693,[_0x45f4ca]:_0x5006e0};function _0x3bbe36(_0x25058d,_0x5c120e,_0x308d1c,_0x1ec512){return _0xd2e01a(_0x5c120e- -0x4a4,_0x5c120e-_0x346f7d._0x457c5d,_0x25058d,_0x1ec512-0x1ab);}if(_0x196fa0['questions']['every'](_0x323919=>{const _0x47fd09={_0x1188f7:0x4be,_0x492d80:0xe4},_0x43b847={_0x24513e:0x128,_0x102a44:0x19a,_0x4a6c2a:0x116};function _0x169962(_0x52016a,_0xea3ac3,_0x39148d,_0xcaf605){return _0x3bbe36(_0x52016a,_0xcaf605-_0x43b847._0x24513e,_0x39148d-_0x43b847._0x102a44,_0xcaf605-_0x43b847._0x4a6c2a);}function _0x6ec4db(_0x24a17d,_0x583b87,_0x112d25,_0x4e849e){return _0x3bbe36(_0x583b87,_0x4e849e-_0x47fd09._0x1188f7,_0x112d25-0x1bf,_0x4e849e-_0x47fd09._0x492d80);}if(_0x323919['id']===_0x45f4ca)return _0x5006e0[_0x169962(_0x54292c._0x58b72e,0x399,0x16d,_0x54292c._0x1e8ead)]>0x0;let _0x55d17c=_0x4ff939[_0x323919['id']];return(Array[_0x6ec4db(_0x54292c._0x4d56aa,_0x54292c._0x44f7e2,_0x54292c._0x5364a3,0x3e7)](_0x55d17c)||_0x55d17c)&&_0x55d17c['length']>0x0;})&&_0x5006e0['length']>0x0)_0xfb7e4d(_0x4ff939),_0x39c535(ee[_0x3bbe36(0x1,-_0xcaabfb._0x5412da,-0x54,-_0xcaabfb._0x43b48d)]);else{let _0x32b207=_0x3ebaa4();_0x32b207!==null&&(_0x1df2e2(_0x32b207),_0x39c535(ee[_0x3bbe36(-0x21,-_0xcaabfb._0x4182b3,_0xcaabfb._0x4a7154,0x84)](0x0)));}},[_0x53b84c,_0x4db635,_0x95f82e,_0x3444ef,_0x40c07f,_0x2c8693,_0x45f4ca,_0x196fa0[_0x667624(_0x4a8eb1._0x1c4bd7,_0x4a8eb1._0x39cf7a,0x403,0x4be)],_0x3ebaa4,_0x39c535]),_0x5727dc=_0x109dc6(()=>{_0x321dd1&&(_0x53b84c(),_0x81b5a5(_0x2c8693));},[_0x321dd1,_0x2c8693,_0x81b5a5,_0x53b84c]);_0x197b40((_0x141ee2,_0x19f950)=>{const _0x5ac39a={_0x1a2e6a:0x263};if(_0x19f950[_0xe2cbad(0x30d,_0x93c1ca._0x31ceca,0x3ea,0x2e6)]){_0x5604e4();return;}if(_0x19f950['downArrow']){_0x421cf9();return;}function _0xe2cbad(_0x5379b6,_0x5f45aa,_0x105c44,_0x48af37){return _0xd2e01a(_0x5f45aa- -_0x5ac39a._0x1a2e6a,_0x5f45aa-0x81,_0x48af37,_0x48af37-0x18);}if(_0x19f950[_0xe2cbad(0x2c3,0x3e3,_0x93c1ca._0x7f1d7b,0x3ff)]&&_0x325074){_0xae6804();return;}if(_0x19f950[_0x49ccd3(0x497,_0x93c1ca._0x2220c9,_0x93c1ca._0x182b19,_0x93c1ca._0x245078)]&&_0x325074&&_0x580883<_0x196fa0['questions'][_0xe2cbad(0x22d,_0x93c1ca._0x57e9f6,_0x93c1ca._0x57e40e,_0x93c1ca._0x1b9555)]-0x1){_0x2a5af();return;}function _0x49ccd3(_0x37a71c,_0x51aa67,_0x239e8d,_0x3d15e5){return _0x667624(_0x37a71c-0xbb,_0x37a71c,_0x239e8d-_0x2c48de._0x52ccf5,_0x239e8d-0x115);}if(_0x19f950[_0xe2cbad(_0x93c1ca._0x1a906c,_0x93c1ca._0x4fe779,_0x93c1ca._0x3ad77e,0x178)]&&!_0x28a4c4&&!_0x136f86){_0x56d5fe[_0xe2cbad(0x224,0x22f,_0x93c1ca._0x831f99,_0x93c1ca._0x272877)]?_0x3f7b88():_0x278080!==null&&_0x300728();return;}if(_0x141ee2==='\x20'&&_0x56d5fe[_0xe2cbad(_0x93c1ca._0x318942,_0x93c1ca._0x568902,_0x93c1ca._0x4c71b9,_0x93c1ca._0xf8033)]&&!_0x28a4c4&&!_0x136f86){_0x4dd4ee();return;}},{'isActive':!_0x28a4c4});function _0x667624(_0x5cc827,_0x4c3d36,_0xc816cb,_0x329ba1){return _0x286169(_0x5cc827-0x111,_0x329ba1- -0xb4,_0x4c3d36,_0x329ba1-_0xad6b36._0x4fd5bf);}let _0x98667f=_0x2d3230(_0x137a23,{'children':_0x56d5fe['header']}),_0x182b5e=_0x173e91(_0x137a23,{'children':[_0x580883+0x1,'/',_0x196fa0[_0xd2e01a(0x5c9,_0x4a8eb1._0x53f87d,0x726,0x63b)][_0x667624(_0x4a8eb1._0x3c887a,0x3fc,_0x4a8eb1._0x1f9a94,_0x4a8eb1._0x298159)]]}),_0x39b795=_0x56d5fe['multiSelect']?[{'text':_0xd2e01a(0x4cb,_0x4a8eb1._0x4c97e9,0x3dc,0x406),'highlight':!0x0},{'text':_0x667624(_0x4a8eb1._0x191710,0x30e,0x2ed,_0x4a8eb1._0x298937)},{'text':_0x667624(0x362,0x33f,_0x4a8eb1._0x8eeb9d,0x37a),'highlight':!0x0},{'text':_0xd2e01a(0x3bf,_0x4a8eb1._0x2894cb,0x334,0x3b5)},{'text':_0x667624(0x302,_0x4a8eb1._0x56cd69,_0x4a8eb1._0x366ef5,_0x4a8eb1._0x4bd11b),'highlight':!0x0},{'text':'\x20toggle'}]:[{'text':_0x667624(_0x4a8eb1._0x23305a,0x47b,0x325,0x3c0),'highlight':!0x0},{'text':_0x667624(_0x4a8eb1._0x2e2b5c,0x22a,0x386,0x37f)},{'text':_0xd2e01a(_0x4a8eb1._0xe55e88,0x54a,0x354,_0x4a8eb1._0xc9afa2),'highlight':!0x0},{'text':_0x667624(_0x4a8eb1._0x43d825,_0x4a8eb1._0x29ffc0,0x502,0x49b)}];return _0x2d3230(_0x52272b,{'visible':!0x0,'title':_0x98667f,'rightTitle':_0x182b5e,'footer':_0x2d3230(_0x53a43a,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'children':_0x2d3230(_0x5a49b4,{'segments':_0x39b795})}),'paddingX':0x0,'paddingY':0x0,'marginX':0x0,'marginY':0x0,'children':_0x173e91(_0x53a43a,{'flexDirection':'column','width':_0xd2e01a(_0x4a8eb1._0x2d0360,0x62f,_0x4a8eb1._0x471af7,0x584),'paddingX':0x1,'children':[_0x2d3230(_0x53a43a,{'marginBottom':0x1,'children':_0x2d3230(je,{'children':_0x56d5fe[_0xd2e01a(0x5dc,0x4fd,_0x4a8eb1._0x12fa0,0x49d)]})}),_0x40c07f['map']((_0x230ee8,_0x4f620a)=>{const _0x192afb={_0x46a353:0xd6};function _0x4acbda(_0x30cb87,_0x194bea,_0x57f462,_0x245bbb){return _0x667624(_0x30cb87-_0x37f85b._0x36c554,_0x57f462,_0x57f462-0xfa,_0x30cb87- -_0x37f85b._0x29527d);}let _0x2680d2=_0x56d5fe[_0x4acbda(0xca,0x3e,0xbd,-_0x21e05d._0x3a5f35)]?_0x4db635[_0x4acbda(0x33,0x152,_0x21e05d._0xbc3fc2,_0x21e05d._0x540297)](_0x4f620a):_0x2c8693[_0x45f4ca]===_0x230ee8['label']||_0x4f620a===_0x95f82e&&!!_0x3444ef['trim']()&&_0x2c8693[_0x45f4ca]===_0x3444ef['trim']();function _0x335b87(_0x1beb4f,_0xdfae76,_0x159ed4,_0x334d60){return _0x667624(_0x1beb4f-0x92,_0x334d60,_0x159ed4-_0x192afb._0x46a353,_0x1beb4f- -0x2b1);}return _0x4f620a===_0x95f82e?_0x2d3230(Ya,{'isSelected':_0x2680d2,'isMultiSelect':_0x56d5fe[_0x335b87(_0x21e05d._0xf3f80d,_0x21e05d._0x3994f4,_0x21e05d._0xf3f80d,_0x21e05d._0x37b336)],'customInput':_0x3444ef,'setCustomInput':_0x4a9983,'handleOtherInputSubmit':_0x7039b2,'cycleNext':_0x421cf9,'cycleBack':_0x5604e4},_0x230ee8[_0x335b87(_0x21e05d._0x22d330,_0x21e05d._0x2c4b4c,_0x21e05d._0x4fe069,0xec)]+'-'+_0x4f620a):_0x2d3230(za,{'option':_0x230ee8,'idx':_0x4f620a,'isSelected':_0x2680d2,'isMultiSelect':_0x56d5fe['multiSelect']},_0x230ee8['label']+'-'+_0x4f620a);}),_0x2d3230(_0x53a43a,{'marginY':0x1,'children':_0x2d3230(_0x315f44,{'label':_0x667624(0x450,_0x4a8eb1._0x405e3f,_0x4a8eb1._0x8b04aa,_0x4a8eb1._0x2d66b0),'onSubmit':_0x5727dc,'disabled':!_0x321dd1,'focusId':ee[_0x667624(0x250,0x26a,_0x4a8eb1._0x2a4591,0x342)]})})]})});}function ro({questionData:_0x3f869e}){return _0x2d3230(_0x583146,{'children':_0x2d3230(Xa,{'questionData':_0x3f869e})});}import _0x4c2649,{useState as _0x56bc19,useEffect as _0x43978c,useCallback as _0xb0a3e9,forwardRef as _0x43ae1f,useImperativeHandle as _0x5e7ea0,useMemo as _0x3f06f2,useRef as _0x34827c}from'react';import{Box as _0x15884a,Text as _0x223445}from'ink';import _0x1f853c from'ink-spinner';import{useState as _0x56f0da,useEffect as _0x2955f4,useCallback as _0x53a71b,useRef as _0x2ab711}from'react';var Nr=({memory:_0x559cb5,conversationId:_0x3f54cd=_0x286169(0x466,0x52d,0x511,0x4f6),currentInput:_0x584af4,onRecall:_0x42e7c7})=>{const _0x548861={_0x264dd8:0x312,_0x271e91:0x327},_0x31475a={_0x557907:0x210,_0x58ab2b:0x31b,_0x2d4b29:0x392},_0x287a74={_0x2a205f:0x1b6},_0x5d3b4b={_0x93aad6:0x118,_0x133081:0x133,_0x3f04d8:0x2f4,_0x353328:0x19b,_0x292fa9:0x422,_0x5314f0:0x497,_0x3c16aa:0x4ea,_0x50e81b:0x48b,_0x4ab56f:0x187,_0x4a48c8:0x2ab,_0x5cbebb:0x8c,_0x12ccc5:0x2ad,_0x407b1c:0x280,_0x56021c:0x17c,_0x47a86d:0x4c9,_0x4998a3:0x409,_0x58d6a5:0xc8,_0x5215b5:0x3d5,_0x5a6896:0x255,_0x6ef4bc:0xd7,_0x1c0602:0x169},_0x5acd27={_0x577ebe:0xf0},_0x17fc52={_0x18e7c4:0x38,_0x5186fd:0x11c,_0x2939dc:0x9b},_0x305bfd={_0x329aa9:0x141,_0x169f14:0xd3,_0x3af386:0x3d,_0x13d13b:0x1f,_0x28f3ac:0x6d,_0x373519:0xd2,_0x4f065:0x32,_0x4a4eb7:0x69,_0x458d86:0x2eb,_0x35bccd:0x28,_0x33974f:0x7f,_0x4eb043:0x2a4,_0x424357:0xbc,_0x580b08:0x1fa,_0x200c81:0x32f,_0x4a0259:0x4e1,_0x27561f:0x45c,_0x55bb79:0x105,_0x1302fd:0xe5,_0x56e246:0x144,_0x8fac52:0xb7},_0xfee50={_0x4d4550:0x59e,_0x3911d0:0x4b9,_0x156196:0x59e,_0x63f13c:0x4ab,_0x4cd81e:0x3b0,_0x2ff037:0x2fa,_0x5ded09:0x325,_0x451ae3:0x538,_0x1d6e73:0x31d,_0x18f949:0x38c,_0x3612be:0x46b,_0x11a281:0x53b},_0x465cfe={_0x3bd80b:0x136,_0x58d787:0x176,_0x2f5ea4:0x261,_0x22f674:0x150,_0x5cb4ae:0x126,_0x2d2628:0x1ac,_0x302791:0x2d0,_0x4c6e09:0xe,_0x282b62:0x378,_0xa37996:0x221,_0xf85b96:0x14d,_0x4df132:0x40,_0x5016bc:0x116,_0x2f30a7:0x21a},_0x547ee7={_0x4679da:0x131,_0xe0b6c7:0xd9,_0x50e66c:0x59c,_0x2d43dc:0x417,_0x5ef271:0x128,_0x526c7b:0xc7,_0x1fcc64:0x14f,_0x3088e7:0x289,_0x65d237:0x240,_0x1c480b:0x1d0,_0x5ea954:0x4b,_0x584462:0x157,_0x313966:0x38c,_0x41283e:0x365,_0x925da5:0x3ed,_0x4167cf:0x2c9,_0x196441:0x124,_0x5ada83:0x4c,_0x292aa9:0x34,_0x495be0:0x45c},_0x17959d={_0x2b97a6:0x106,_0x2631ae:0x2f4};let {setNotification:_0x26f0e4}=_0x54a979(),[_0x58f62c,_0x2fc2b4]=_0x56f0da([]),[_0x5bbaa0,_0x331cbd]=_0x56f0da(-0x1),_0x31c9d4=_0x2ab711(!0x1),_0x276473=_0x2ab711(!0x1),_0x5c3cf2=_0x2ab711(0x0),_0x4f29da=_0x2ab711(0x0),_0x562aa7=_0x2ab711(_0x58f62c);function _0x2953e5(_0xc7f06a,_0xdea02b,_0x223834,_0x5c98ec){return _0x286169(_0xc7f06a-_0x17959d._0x2b97a6,_0xc7f06a- -_0x17959d._0x2631ae,_0xdea02b,_0x5c98ec-0x45);}_0x562aa7['current']=_0x58f62c;let _0x53b7b8=_0x2ab711(_0x5bbaa0);_0x53b7b8[_0x2953e5(0x2a9,_0x548861._0x264dd8,0x2e4,_0x548861._0x271e91)]=_0x5bbaa0;let _0x4b069b=_0x2ab711(_0x584af4);_0x4b069b['current']=_0x584af4,_0x2955f4(()=>{const _0x27bbb4={_0x3d16cc:0x119},_0x5f0936={_0x33cbfa:0x1f3};((async()=>{function _0x3f50ba(_0x27008a,_0x172ef9,_0x472185,_0x20605f){return _0x55d8(_0x27008a- -_0x5f0936._0x33cbfa,_0x172ef9);}let _0x33c363=_0x2556a1[_0x3f50ba(0x67,0x11e,_0x547ee7._0x4679da,-_0x547ee7._0xe0b6c7)]()[_0x59b728(0x49d,0x3f8,_0x547ee7._0x50e66c,_0x547ee7._0x2d43dc)](),_0x49ecef=null;try{_0x49ecef=(await _0x10b05c(0x1,_0x33c363))?.[0x0]?.[_0x3f50ba(_0x547ee7._0x5ef271,0x193,_0x547ee7._0x526c7b,_0x547ee7._0x1fcc64)]??null;}catch{_0x49ecef=null;}function _0x59b728(_0x479991,_0x5d2cd2,_0x4f3d63,_0x240b6f){return _0x55d8(_0x479991-_0x27bbb4._0x3d16cc,_0x240b6f);}if(!_0x559cb5){_0x49ecef&&_0x2fc2b4([_0x49ecef]);return;}try{let _0x19b722=(await _0x559cb5[_0x59b728(_0x547ee7._0x3088e7,_0x547ee7._0x65d237,_0x547ee7._0x1c480b,0x1f8)](_0x3f54cd))[_0x3f50ba(-_0x547ee7._0x5ea954,-0x73,-_0x547ee7._0x584462,-0xcf)](_0x1d2fe6=>_0x1d2fe6[_0x3f50ba(-0x8a,-0x1ad,-0x28,-0x1bc)]==='user')[_0x59b728(0x2ad,_0x547ee7._0x313966,_0x547ee7._0x41283e,_0x547ee7._0x925da5)](_0x45733b=>typeof _0x45733b['content']==_0x59b728(0x3b7,0x451,0x4e5,0x343)?_0x45733b['content']:_0x45733b['content']&&typeof _0x45733b[_0x3f50ba(0x12b,0x20e,0xea,-0xa)]==_0x59b728(0x27c,0x296,0x214,0x1fd)&&_0x3f50ba(0xd5,0x12f,0x10e,-0x47)in _0x45733b[_0x59b728(0x437,0x2da,0x40a,0x4ca)]?_0x45733b[_0x59b728(0x437,0x597,0x4ce,0x468)][_0x59b728(0x3e1,0x3de,0x3cd,0x455)][_0x3f50ba(-0x4b,0xeb,0x111,-0xa9)](_0x2eddef=>_0x2eddef[_0x3f50ba(-0x58,-0x130,-0x35,0x7a)]===_0x59b728(0x36c,0x2d0,0x3ad,0x3c7))[_0x3f50ba(-0x5f,-0x131,-0xb4,0x5c)](_0x3dd068=>_0x3dd068[_0x3f50ba(0x60,-0xc0,-0x6f,-0xce)])[_0x59b728(0x24b,0xe9,0x280,0x2b1)]('\x0a'):'')[_0x59b728(0x2c1,0x39b,0x1d7,_0x547ee7._0x4167cf)](_0x4e2ec4=>_0x4e2ec4[_0x3f50ba(-0x95,-0x188,-0x115,-0x145)]()!==''),_0x2dfbb8=_0x49ecef?[_0x49ecef,..._0x19b722]:_0x19b722;_0x2fc2b4(_0x2dfbb8),_0x3541c3[_0x3f50ba(_0x547ee7._0x196441,_0x547ee7._0x5ada83,-_0x547ee7._0x292aa9,0x2d)](_0x59b728(0x3f3,0x3c2,0x4b0,0x3c4),{'count':_0x2dfbb8[_0x59b728(_0x547ee7._0x495be0,0x39d,0x3da,0x479)]});}catch{_0x49ecef&&_0x2fc2b4([_0x49ecef]);}})());},[_0x559cb5,_0x3f54cd]);let _0x2e0252=_0x53a71b(()=>{const _0x4bc24f={_0x36437b:0x133},_0x3172a5={_0x5ab2eb:0x54,_0x4acc78:0x19c,_0x204ac2:0x1f2};let _0x307465=_0x562aa7[_0x24654e(0x179,_0x465cfe._0x3bd80b,0x93,_0x465cfe._0x58d787)],_0x1e9cc1=_0x53b7b8[_0x24654e(0x1dd,_0x465cfe._0x2f5ea4,0x19f,0x176)];function _0x43beec(_0x4180bd,_0x54d32a,_0x1403b5,_0x13d15b){return _0x2953e5(_0x54d32a- -_0x3172a5._0x5ab2eb,_0x1403b5,_0x1403b5-_0x3172a5._0x4acc78,_0x13d15b-_0x3172a5._0x204ac2);}if(_0x3541c3['debug'](_0x43beec(_0x465cfe._0x22f674,0x1d5,0x103,0x28c),{'messages':_0x307465,'currentIndex':_0x1e9cc1}),_0x307465[_0x43beec(_0x465cfe._0x5cb4ae,0x221,_0x465cfe._0x2d2628,_0x465cfe._0x302791)]===0x0||_0x1e9cc1===0x0)return _0x3541c3[_0x24654e(0x9d,0x116,_0x465cfe._0x4c6e09,0x116)]('navigatePrev:\x20early\x20return'),null;let _0x510c91=_0x1e9cc1===-0x1?_0x307465[_0x43beec(_0x465cfe._0x282b62,_0x465cfe._0xa37996,0x17a,_0x465cfe._0xf85b96)]-0x1:_0x1e9cc1-0x1;function _0x24654e(_0x12d460,_0x52e82c,_0x390098,_0x13a195){return _0x2953e5(_0x13a195- -_0x4bc24f._0x36437b,_0x390098,_0x390098-0xaa,_0x13a195-0x90);}_0x331cbd(_0x510c91);let _0x2c68c3=_0x307465[_0x510c91];return _0x3541c3[_0x24654e(_0x465cfe._0x4df132,0x10a,_0x465cfe._0x3bd80b,_0x465cfe._0x5016bc)](_0x43beec(_0x465cfe._0x2f30a7,0x2a1,0x25d,0x327),{'newIndex':_0x510c91,'message':_0x2c68c3}),_0x2c68c3??null;},[]),_0x6f8acf=_0x53a71b(()=>{const _0x58da87={_0x142345:0x1b1,_0x21544b:0x1ee};let _0x2f3451=_0x562aa7[_0x474b11(_0xfee50._0x4d4550,0x5f2,0x6fe,_0xfee50._0x3911d0)],_0x299f99=_0x53b7b8[_0x474b11(_0xfee50._0x156196,0x586,0x500,0x455)];function _0x420774(_0x4d9d99,_0x3753ea,_0x403d72,_0x4e0a94){return _0x2953e5(_0x4d9d99-0x1f8,_0x4e0a94,_0x403d72-0x1ac,_0x4e0a94-0x1db);}if(_0x3541c3[_0x420774(0x441,0x3fe,0x304,_0xfee50._0x63f13c)](_0x474b11(0x35b,0x4b1,_0xfee50._0x4cd81e,0x44e),{'messages':_0x2f3451,'currentIndex':_0x299f99}),_0x299f99===-0x1)return _0x3541c3['debug'](_0x420774(0x271,_0xfee50._0x2ff037,_0xfee50._0x5ded09,0x2bd)),null;if(_0x299f99<_0x2f3451['length']-0x1){let _0x1d15f5=_0x299f99+0x1;_0x331cbd(_0x1d15f5);let _0x2832ec=_0x2f3451[_0x1d15f5];return _0x3541c3[_0x474b11(0x53e,_0xfee50._0x451ae3,0x42b,0x646)](_0x420774(0x462,0x51f,0x308,_0xfee50._0x1d6e73),{'newIndex':_0x1d15f5,'message':_0x2832ec}),_0x2832ec??null;}function _0x474b11(_0x14bc90,_0x1861a4,_0x13d400,_0x5a4c59){return _0x2953e5(_0x14bc90-0x2f5,_0x13d400,_0x13d400-_0x58da87._0x142345,_0x5a4c59-_0x58da87._0x21544b);}return _0x331cbd(-0x1),_0x3541c3[_0x420774(0x441,0x44b,0x3b0,_0xfee50._0x18f949)](_0x420774(_0xfee50._0x3612be,0x4a4,_0xfee50._0x11a281,0x477)),'';},[]),_0x5f2b70=_0x53a71b(()=>{let _0x40aca2=_0x2e0252();_0x40aca2!==null&&_0x42e7c7(_0x40aca2);},[_0x2e0252,_0x42e7c7]),_0x5895b8=_0x53a71b(()=>{let _0x15843e=_0x6f8acf();_0x15843e!==null&&_0x42e7c7(_0x15843e);},[_0x6f8acf,_0x42e7c7]),_0x12e674=_0x53a71b(_0x36b144=>{const _0x196a74={_0x1365e6:0xdf,_0x59f40c:0x7},_0x4eb96e={_0x50b236:0x28a};function _0x2c7bd1(_0x48ada3,_0xfa9914,_0x28ed28,_0x4bb5bb){return _0x2953e5(_0x28ed28- -_0x4eb96e._0x50b236,_0x48ada3,_0x28ed28-0x193,_0x4bb5bb-0x197);}function _0x4c7678(_0x27747a,_0x3edd7c,_0x2961c2,_0x550a9f){return _0x2953e5(_0x27747a-0x1a2,_0x3edd7c,_0x2961c2-_0x196a74._0x1365e6,_0x550a9f-_0x196a74._0x59f40c);}let _0x3d3932=Date[_0x2c7bd1(-_0x305bfd._0x329aa9,-_0x305bfd._0x169f14,-0x9e,-0x106)](),_0x36aea2=_0x3d3932-_0x5c3cf2[_0x2c7bd1(0x57,0x6e,0x1f,_0x305bfd._0x3af386)];if(_0x5c3cf2[_0x2c7bd1(-0x95,-0x4f,_0x305bfd._0x13d13b,-_0x305bfd._0x28f3ac)]=_0x3d3932,_0x36b144[_0x2c7bd1(_0x305bfd._0x373519,0x40,_0x305bfd._0x4f065,_0x305bfd._0x4a4eb7)]!==0x0){_0x31c9d4[_0x4c7678(0x44b,_0x305bfd._0x458d86,0x310,0x394)]=!0x1;return;}let _0x137fbd=_0x36b144['lines']['length']>0x1,_0x9e4737=_0x4b069b[_0x2c7bd1(-_0x305bfd._0x35bccd,-_0x305bfd._0x33974f,0x1f,-0x8e)];!_0x137fbd||_0x9e4737[_0x2c7bd1(-_0x305bfd._0x4eb043,-_0x305bfd._0x424357,-_0x305bfd._0x580b08,-_0x305bfd._0x200c81)]()===''?_0x5f2b70():_0x31c9d4['current']?_0x36aea2>0x64&&(_0x31c9d4['current']=!0x1,_0x5f2b70()):(_0x31c9d4[_0x4c7678(0x44b,_0x305bfd._0x4a0259,0x38d,_0x305bfd._0x27561f)]=!0x0,_0x26f0e4(_0x2c7bd1(-_0x305bfd._0x55bb79,-_0x305bfd._0x1302fd,-_0x305bfd._0x56e246,-_0x305bfd._0x8fac52),0x5dc),setTimeout(()=>{_0x31c9d4['current']=!0x1;},0x5dc));},[_0x5f2b70,_0x26f0e4]),_0x3a6bfe=_0x53a71b(_0x226afa=>{let _0x13a687=Date[_0x2e9180(0x224,0xf4,_0x5d3b4b._0x93aad6,_0x5d3b4b._0x133081)](),_0x1137f4=_0x13a687-_0x4f29da[_0x5465e3(0x4c9,0x5f8,0x461,0x5f5)];function _0x2e9180(_0x1298c7,_0x5527e6,_0x2a25b6,_0x5b440e){return _0x2953e5(_0x1298c7-_0x17fc52._0x18e7c4,_0x2a25b6,_0x2a25b6-_0x17fc52._0x5186fd,_0x5b440e-_0x17fc52._0x2939dc);}if(_0x4f29da[_0x2e9180(0x2e1,0x3b7,0x401,0x353)]=_0x13a687,_0x226afa[_0x2e9180(_0x5d3b4b._0x3f04d8,_0x5d3b4b._0x353328,_0x5d3b4b._0x292fa9,0x2a3)]!==_0x226afa['lines'][_0x5465e3(0x495,_0x5d3b4b._0x5314f0,0x54e,0x3f4)]-0x1){_0x276473[_0x5465e3(0x4c9,0x593,_0x5d3b4b._0x3c16aa,_0x5d3b4b._0x50e81b)]=!0x1;return;}let _0xef8819=_0x226afa[_0x2e9180(_0x5d3b4b._0x4ab56f,_0x5d3b4b._0x4a48c8,_0x5d3b4b._0x5cbebb,0x105)][_0x2e9180(_0x5d3b4b._0x12ccc5,_0x5d3b4b._0x407b1c,_0x5d3b4b._0x56021c,0x2cf)]>0x1,_0x4bdfdd=_0x4b069b[_0x5465e3(_0x5d3b4b._0x47a86d,0x430,_0x5d3b4b._0x4998a3,0x508)];function _0x5465e3(_0x5ca2df,_0x4487e8,_0x23a40e,_0x50675c){return _0x2953e5(_0x5ca2df-0x220,_0x23a40e,_0x23a40e-0xe1,_0x50675c-_0x5acd27._0x577ebe);}!_0xef8819||_0x4bdfdd[_0x2e9180(_0x5d3b4b._0x58d6a5,0x50,0x7,0xa4)]()===''?_0x5895b8():_0x276473['current']?_0x1137f4>0x64&&(_0x276473[_0x2e9180(0x2e1,_0x5d3b4b._0x5215b5,0x35e,_0x5d3b4b._0x5a6896)]=!0x1,_0x5895b8()):(_0x276473['current']=!0x0,_0x26f0e4(_0x2e9180(_0x5d3b4b._0x6ef4bc,0x1a4,_0x5d3b4b._0x1c0602,-0xb),0x5dc),setTimeout(()=>{_0x276473['current']=!0x1;},0x5dc));},[_0x5895b8,_0x26f0e4]),_0x53c402=_0x53a71b(_0xa95e4=>{const _0x17217c={_0x122353:0x28b,_0x4c6699:0x177,_0x22fba3:0x85};function _0x5aca74(_0x5dc6be,_0x3f9251,_0x3b4e07,_0x15a9b9){return _0x2953e5(_0x3f9251- -0xbc,_0x15a9b9,_0x3b4e07-_0x287a74._0x2a205f,_0x15a9b9-0x15f);}let _0x454640=_0xa95e4[_0x40575b(_0x31475a._0x557907,_0x31475a._0x58ab2b,0x38b,_0x31475a._0x2d4b29)]();function _0x40575b(_0x14177e,_0x16d380,_0x4502e2,_0x323fd6){return _0x2953e5(_0x16d380-_0x17217c._0x122353,_0x323fd6,_0x4502e2-_0x17217c._0x4c6699,_0x323fd6-_0x17217c._0x22fba3);}_0x454640&&(_0x2fc2b4(_0x59ecb2=>_0x59ecb2[_0x59ecb2[_0x5aca74(0x128,0x1b9,0x2b5,0x261)]-0x1]===_0x454640?_0x59ecb2:[..._0x59ecb2,_0x454640]),_0x331cbd(-0x1));},[]);return{'handleUpArrow':_0x12e674,'handleDownArrow':_0x3a6bfe,'addMessage':_0x53c402};};function Or(_0x406170,_0x5b9a2f){const _0x32231a={_0x21d32c:0x301,_0x31a996:0x42a,_0x47c24a:0x293,_0x1c2671:0x30c,_0x3c2927:0x1c6,_0x24b6d6:0x3f7,_0x42533e:0x4d3,_0x4f322d:0x524,_0x3c60fa:0x58e},_0x28b4d9={_0x400018:0x17d,_0xcfb3d0:0x84},_0x408520={_0x4ce044:0x1e6};let _0x4c4441=_0x406170[_0x19e37c(0x583,_0x32231a._0x21d32c,_0x32231a._0x31a996,0x440)](0x0,_0x5b9a2f)[_0x12b571(0x354,_0x32231a._0x47c24a,0x2bf,0x163)](/\/(\w*)$/);function _0x12b571(_0x4924d9,_0x863a5a,_0xf9d9ba,_0x39498c){return _0x286169(_0x4924d9-0x128,_0xf9d9ba- -_0x408520._0x4ce044,_0x4924d9,_0x39498c-0x43);}if(!_0x4c4441)return null;let _0x2be574=_0x4c4441[0x1];if(_0x2be574==='')return null;let _0x5f1478=_0x2e544a[_0x12b571(_0x32231a._0x1c2671,0x373,0x377,0x27e)]()[_0x12b571(0xdf,0x29f,0x1e8,_0x32231a._0x3c2927)](_0x5e0bf4=>_0x5e0bf4['id']['toLowerCase']()[_0x12b571(0x21b,0x1c3,0x2cf,0x281)]('/'+_0x2be574['toLowerCase']()));function _0x19e37c(_0x609ecd,_0x4320eb,_0x1faf2c,_0x1052af){return _0x120ca0(_0x1052af,_0x4320eb-_0x28b4d9._0x400018,_0x1faf2c-0xdf,_0x1faf2c- -_0x28b4d9._0xcfb3d0);}return _0x5f1478[_0x19e37c(_0x32231a._0x24b6d6,_0x32231a._0x42533e,_0x32231a._0x4f322d,_0x32231a._0x3c60fa)]===0x1||_0x5f1478['length']>0x1?_0x5f1478[0x0]['id']:null;}function _r(_0x2c9aa9,_0x3b02bd,_0x2f2a76){const _0x40c0c4={_0x511c49:0x27b,_0x5a6397:0x15c,_0x580699:0x28b,_0x18133a:0x7e,_0x51171f:0xd5,_0x27044a:0x25,_0x11df39:0xd8,_0x558181:0x10d,_0x5b3079:0x75,_0x10f454:0x220,_0x5e0593:0x145,_0x54e9e8:0x32b},_0xf67683={_0x2b0cce:0xb4,_0x47d4ab:0x1ce},_0x364934={_0x2c8a97:0xb2};let _0x544f49=_0x2c9aa9[_0xe22650(0x126,0x153,_0x40c0c4._0x511c49,0x139)](0x0,_0x3b02bd),_0x23a8d0=_0x544f49[_0xe22650(_0x40c0c4._0x5a6397,0x1d2,_0x40c0c4._0x580699,0x1cb)](/\/(\w*)$/);function _0x5e1951(_0x5cd05a,_0xfd714c,_0x18df46,_0x15e5e1){return _0x286169(_0x5cd05a-_0x364934._0x2c8a97,_0x18df46- -0x395,_0x5cd05a,_0x15e5e1-0x48);}function _0xe22650(_0x184897,_0x567ee8,_0x19d362,_0x4fb4db){return _0x120ca0(_0x19d362,_0x567ee8-_0xf67683._0x2b0cce,_0x19d362-_0xf67683._0x47d4ab,_0x184897- -0x388);}if(!_0x23a8d0)return{'newValue':_0x2c9aa9,'newCursorOffset':_0x3b02bd};let _0x4ef0ee=''+_0x544f49[_0x5e1951(0x124,0x6d,0xda,0x1e)](0x0,_0x23a8d0[_0xe22650(_0x40c0c4._0x18133a,_0x40c0c4._0x51171f,-_0x40c0c4._0x27044a,-_0x40c0c4._0x11df39)])+_0x2f2a76+'\x20',_0x4095fe=_0x2c9aa9[_0x5e1951(_0x40c0c4._0x558181,-_0x40c0c4._0x5b3079,0xda,-0x71)](_0x3b02bd);return{'newValue':_0x4ef0ee+_0x4095fe,'newCursorOffset':_0x4ef0ee[_0xe22650(_0x40c0c4._0x10f454,_0x40c0c4._0x5e0593,0x1fc,_0x40c0c4._0x54e9e8)]};}import{forwardRef as _0x3e570f,useImperativeHandle as _0x5cd7a0,useRef as _0x43d3ab}from'react';import{Box as _0x4628ff,Text as _0x3497ed}from'ink';import _0x48119d from'string-width';import{Box as _0x8c018e,Text as _0x2a8cb4}from'ink';import{jsx as _0x233b81,jsxs as _0x10a1a2}from'react/jsx-runtime';var $r=({isSelected:_0x2f1af8=!0x1,value:_0x3a7c9b,commandWidth:_0x292379})=>{const _0x37d5e7={_0x1d0db0:0x6bd,_0x1a693d:0x64e,_0x2b8894:0x54e,_0x3921a3:0x59d,_0x584fc3:0x457,_0x4c5725:0x576,_0x2b7a46:0x42c,_0x322414:0x363,_0x5afdc8:0x3be,_0x146348:0x237,_0x1e853f:0x2be,_0x477e7c:0x3cb,_0x543798:0x427,_0x2322b1:0x389,_0x322d53:0x2c7,_0x3a4c3b:0x40f,_0x444614:0x2be,_0x5d5240:0x30f,_0x49794f:0x4c5,_0x13d05b:0x6e7,_0x2707cc:0x591,_0x109054:0x594,_0x131b7f:0x1ff},_0xbe24c5={_0x16a7ca:0x250};function _0x19279a(_0x521955,_0x4d87a4,_0x55f9b7,_0x4cb3d8){return _0x286169(_0x521955-0xcf,_0x55f9b7- -_0xbe24c5._0x16a7ca,_0x521955,_0x4cb3d8-0x66);}let {theme:_0x1eab2a}=_0x259d06(),{cols:_0x528048}=_0x3ce95d(),_0x16ca30=Math['max'](0x1,_0x528048-_0x292379);function _0x4c3ba2(_0x225f52,_0x122af8,_0x35dfb5,_0x528571){return _0x286169(_0x225f52-0x8c,_0x35dfb5-0x7a,_0x225f52,_0x528571-0x7e);}return _0x10a1a2(_0x8c018e,{'flexShrink':0x0,'children':[_0x233b81(_0x8c018e,{'flexShrink':0x0,'minWidth':_0x292379,'children':_0x233b81(_0x2a8cb4,{'color':_0x2f1af8?_0x1eab2a[_0x4c3ba2(_0x37d5e7._0x1d0db0,_0x37d5e7._0x1a693d,0x588,0x688)]?.[_0x4c3ba2(_0x37d5e7._0x2b8894,_0x37d5e7._0x3921a3,_0x37d5e7._0x584fc3,_0x37d5e7._0x4c5725)]||_0x1eab2a[_0x4c3ba2(0x54b,0x6a6,0x562,0x5bd)][_0x4c3ba2(_0x37d5e7._0x2b7a46,_0x37d5e7._0x322414,_0x37d5e7._0x5afdc8,0x476)]:_0x1eab2a[_0x19279a(_0x37d5e7._0x146348,0x23d,_0x37d5e7._0x1e853f,_0x37d5e7._0x477e7c)]?.[_0x19279a(0x4bf,_0x37d5e7._0x543798,_0x37d5e7._0x2322b1,0x370)]||_0x19279a(0x3a1,0x2e9,_0x37d5e7._0x322d53,_0x37d5e7._0x3a4c3b),'bold':_0x2f1af8,'children':''+_0x3a7c9b['value']})}),_0x233b81(_0x8c018e,{'children':_0x233b81(je,{'width':_0x16ca30,'color':_0x2f1af8?_0x1eab2a['model']?.['selectedItem']||_0x1eab2a['colors']['accent']:_0x1eab2a[_0x19279a(0x16d,0x36d,_0x37d5e7._0x444614,_0x37d5e7._0x5d5240)]?.['item']||_0x4c3ba2(_0x37d5e7._0x49794f,_0x37d5e7._0x13d05b,_0x37d5e7._0x2707cc,_0x37d5e7._0x109054),'dimColor':!0x0,'bold':_0x2f1af8,'children':''+_0x3a7c9b?.[_0x19279a(0x176,0x1df,_0x37d5e7._0x131b7f,0x2bb)]})})]});};import{jsx as _0x152405}from'react/jsx-runtime';var io=_0x3e570f(({items:_0x5a5078,focus:_0x15fdde=!0x1,onHighlight:_0x38a27e},_0x3369b4)=>{const _0x4da5c0={_0x473bbd:0x6d7,_0x3a168c:0x6fe,_0xf743ec:0x8b,_0x54b43e:0x1b4,_0x4a4ce1:0x290,_0x57de79:0x15f,_0x4d215a:0x1db,_0x2f7e47:0xac,_0x1cb8e1:0x120,_0x268c1f:0x5f,_0x2fb051:0xc3},_0x7b0356={_0x1ca560:0x55};function _0x50fc6b(_0x6275c7,_0x1d3314,_0x1d2d1b,_0x3f97fb){return _0x120ca0(_0x1d2d1b,_0x1d3314-0x12f,_0x1d2d1b-_0x7b0356._0x1ca560,_0x1d3314-0x12f);}let {altMode:_0x159d27}=He(),_0x215c46=_0x43d3ab(null);function _0x5e939c(_0x3d3e90,_0x1e3d66,_0x3d5239,_0x5938c2){return _0x286169(_0x3d3e90-0xda,_0x3d5239- -0x56e,_0x5938c2,_0x5938c2-0x152);}if(_0x5cd7a0(_0x3369b4,()=>({'getSelectedIndex':()=>_0x215c46[_0x50fc6b(0x77a,0x70b,0x695,0x82b)]?.[_0x5e939c(-0x61,0xe,0x34,0x25)]()??0x0,'setSelectedIndex':_0x290c4f=>_0x215c46['current']?.[_0x5e939c(0x137,0x31,0x76,0xfb)](_0x290c4f),'getSelectedItem':()=>_0x5a5078[_0x215c46[_0x50fc6b(0x82a,0x70b,0x603,0x836)]?.[_0x5e939c(-0x117,0x66,0x34,0x78)]()??0x0]})),_0x5a5078[_0x50fc6b(0x5f1,_0x4da5c0._0x473bbd,_0x4da5c0._0x3a168c,0x6b3)]===0x0)return null;let _0x197710=_0x5a5078['map'](_0x36b9b4=>({'key':_0x36b9b4['value'],'label':_0x36b9b4[_0x50fc6b(0x4ac,0x542,0x5ee,0x543)],'value':_0x36b9b4})),_0x599924=Math[_0x50fc6b(0x5ad,0x52e,0x5e5,0x66a)](..._0x5a5078[_0x5e939c(-0xd9,-_0x4da5c0._0xf743ec,-_0x4da5c0._0x54b43e,-_0x4da5c0._0x4a4ce1)](_0x3c6ea1=>_0x48119d(_0x3c6ea1[_0x5e939c(0x40,-0x68,-0x7a,-0x16a)]+_0x50fc6b(0x766,0x6e9,0x680,0x6c9))));return _0x152405(_0x4628ff,{'flexDirection':_0x5e939c(-_0x4da5c0._0x57de79,0x5a,-0xcc,-_0x4da5c0._0x4d215a),'flexGrow':0x1,'width':_0x5e939c(_0x4da5c0._0x2f7e47,-_0x4da5c0._0x1cb8e1,-_0x4da5c0._0x268c1f,-_0x4da5c0._0x2fb051),'children':_0x152405(_0x4628ff,{'paddingX':_0x159d27?0x1:0x0,'children':_0x152405(_0x1d9d57,{'ref':_0x215c46,'items':_0x197710,'limit':0x5,'focus':_0x15fdde,'enableRotation':!0x1,'showScrollIndicators':!0x0,'onHighlight':_0x2d8bf6=>_0x38a27e?.(_0x2d8bf6[_0x50fc6b(0x679,0x662,0x5dd,0x6d8)]),'itemComponent':_0x71269=>_0x152405($r,{..._0x71269,'commandWidth':_0x599924}),'indicatorComponent':({isSelected:_0x362db0})=>_0x152405(_0x4628ff,{'flexShrink':0x0,'children':_0x152405(_0x3497ed,{'children':_0x362db0?'❯\x20':'\x20\x20'})})})})});});import{jsx as _0x2b3bbc,jsxs as _0x7e15b3}from'react/jsx-runtime';var dl=_0x43ae1f(({busy:_0x872f16,showToolApproval:_0x3c7e5e=!0x1,showUserQuestion:_0x2590e7=!0x1,disabled:_0x53f048=!0x1,mode:_0x3dba76=_0x120ca0(0x592,0x688,0x5fa,0x5e3),commandItems:_0x10fcf7,vimModeEnabled:_0x14e23a=!0x1,memory:_0x275010,onInputChanged:_0x484a21,onInputSubmit:_0x25f8dc,onVimModeChanged:_0x345a62,onCommandMenuChange:_0x3f97ef},_0x4721fd)=>{const _0x508dcc={_0x332d3b:0x36,_0x5d5937:0x1a8,_0x2e3be8:0x145,_0x5e43f1:0x8,_0x103d4e:0x2d3,_0x2d4987:0x35c,_0x1f35bc:0x19d,_0x27dbf0:0x235,_0x15093a:0x191,_0xe0a3c6:0x166,_0x1db99b:0x20f,_0x5ca3ae:0x3bf,_0x25399e:0x437,_0x393ef7:0x3ae,_0x300b86:0x37b,_0x168e8f:0x295,_0x58395d:0x196},_0xa074d1={_0x2c19db:0xe3,_0x47af8d:0x1d3},_0x4d448d={_0x213324:0x370,_0x682536:0x1de},_0x4af076={_0x1f7101:0x662,_0x31a49f:0x5b1,_0x2570ce:0x5fc},_0x4d6afa={_0x258618:0x2b8},_0x44daa0={_0x41119d:0x335,_0x39dc82:0x154,_0x56a621:0x114,_0x3f8dea:0x265,_0x19f2ed:0x246,_0x53d84f:0x1c1,_0x55a3cf:0xcd,_0x260e6a:0x8c,_0x3fbd87:0xae,_0x3c8e3b:0xaf,_0x4e97a4:0x11f,_0x1c9491:0x8d,_0x1babcf:0x10,_0xcbc3a1:0xee,_0x225057:0x68,_0x2fd802:0x40,_0x17ee6c:0x11a,_0x394115:0xaf,_0x5020a3:0x84,_0x13e977:0x134,_0x220b5c:0x254,_0xe15058:0x15},_0x167b33={_0x44b162:0x25,_0x4f0fe7:0x17f},_0x5eee3f={_0x1ae072:0x2db,_0x3181c0:0x168,_0xd3220f:0x2f5,_0xc3f40d:0x72f,_0x331999:0x721},_0x370062={_0x42a974:0x148,_0x1fa973:0x12},_0x541582={_0x1c0e67:0x779,_0x592288:0x760,_0x150e6e:0x7ba},_0x345efc={_0x558124:0x7f,_0x35ba0d:0xaf},_0x20248e={_0x3b8652:0x365,_0x47209e:0x19d,_0x3bfd1d:0x15e,_0x1ae1ac:0x4cc,_0x42bf64:0x546},_0xaea27f={_0x7504c3:0x10a,_0x59a9c1:0x1a4};let {theme:_0x23a7fd}=_0x259d06(),{altMode:_0x1564ec}=He(),[_0x49e8a8,_0x3cf6a9]=_0x56bc19(''),[_0x338dd2,_0x5a01e0]=_0x56bc19(0x0),[_0x393cd3,_0xc7255b]=_0x56bc19(_0x2b89d8(0x41f,0x4d9,0x457,0x31d)),{isFocused:_0x18a210}=_0x4015aa({'autoFocus':!0x0,'active':!0x0}),_0x3f7e87=_0x34827c(null),_0x5b3fe9=_0x34827c(_0x49e8a8);_0x5b3fe9['current']=_0x49e8a8;let _0x22448a=_0x49e8a8[_0x46a41b(_0x508dcc._0x332d3b,_0x508dcc._0x5d5937,_0x508dcc._0x2e3be8,-_0x508dcc._0x5e43f1)]('/'),_0x3ff874=_0x3f06f2(()=>{if(!_0x22448a)return[];function _0x410521(_0x1684fc,_0x5dd310,_0x537156,_0x3184a4){return _0x46a41b(_0x1684fc-_0xaea27f._0x7504c3,_0x5dd310-_0xaea27f._0x59a9c1,_0x3184a4- -0xa,_0x1684fc);}function _0x35b1a9(_0x427699,_0x5cbd99,_0x5b13eb,_0x438188){return _0x46a41b(_0x427699-0x1e3,_0x5cbd99-0x8f,_0x5b13eb-0x46e,_0x5cbd99);}let _0x5988bd=_0x49e8a8[_0x410521(_0x20248e._0x3b8652,_0x20248e._0x47209e,_0x20248e._0x3bfd1d,0x20d)](/\s+/)[0x0];return _0x10fcf7[_0x35b1a9(0x434,0x4b7,_0x20248e._0x1ae1ac,_0x20248e._0x42bf64)](_0x1ab453=>_0x1ab453[_0x35b1a9(0x6ba,0x63b,0x5f2,0x512)][_0x35b1a9(0x71d,0x4cc,0x5be,0x6df)]()[_0x410521(-0x4b,0x24d,-0x3c,0x10a)](_0x5988bd[_0x35b1a9(0x4fc,0x701,0x5be,0x5cb)]())||_0x1ab453['label'][_0x35b1a9(0x6e0,0x521,0x5be,0x642)]()[_0x410521(0x152,0x7b,0xb,0x10a)](_0x5988bd[_0x35b1a9(0x6b1,0x530,0x5be,0x6ce)]()));},[_0x49e8a8,_0x10fcf7,_0x22448a]);_0x43978c(()=>{function _0x5a0717(_0x4ac637,_0x757a2d,_0x52c483,_0x5c0666){return _0x46a41b(_0x4ac637-_0x345efc._0x558124,_0x757a2d-_0x345efc._0x35ba0d,_0x757a2d-0x4c9,_0x4ac637);}_0x3f7e87[_0x5a0717(_0x541582._0x1c0e67,0x6f6,_0x541582._0x592288,_0x541582._0x150e6e)]?.['setSelectedIndex'](0x0);},[_0x3ff874['length']]),_0x43978c(()=>{const _0x4ccf83={_0x21bae9:0x1dd};function _0x48bbe5(_0x4ee977,_0x4a831a,_0x32fc0c,_0x1164a8){return _0x2b89d8(_0x4ee977-0x12b,_0x1164a8,_0x32fc0c- -0x3c3,_0x1164a8-_0x4ccf83._0x21bae9);}_0x3f97ef?.({'show':_0x22448a&&_0x3ff874[_0x48bbe5(-0x12,_0x370062._0x42a974,_0x370062._0x1fa973,-0x37)]>0x0,'items':_0x3ff874,'ref':_0x3f7e87});},[_0x22448a,_0x3ff874,_0x3f97ef]);let _0x13654b=_0xb0a3e9(_0x310a59=>{_0x3cf6a9(_0x310a59),_0x5a01e0(_0x31b84e=>_0x31b84e+0x1),_0x484a21?.(_0x310a59);},[_0x484a21]),{handleUpArrow:_0x46b121,handleDownArrow:_0x420e3e,addMessage:_0x170d55}=Nr({'memory':_0x275010,'currentInput':_0x49e8a8,'onRecall':_0x13654b});_0x5e7ea0(_0x4721fd,()=>({'clear':()=>{_0x3cf6a9(''),_0x484a21?.('');},'getValue':()=>_0x5b3fe9['current'],'setValue':_0x3dca40=>{_0x3cf6a9(_0x3dca40),_0x484a21?.(_0x3dca40);},'setValueForRecall':_0x45be4e=>{_0x3cf6a9(_0x45be4e),_0x5a01e0(_0xaaf821=>_0xaaf821+0x1),_0x484a21?.(_0x45be4e);},'appendValue':_0x5678d1=>{_0x3cf6a9(_0x1fe1ea=>{let _0x397fb1=_0x1fe1ea+_0x5678d1;return _0x484a21?.(_0x397fb1),_0x397fb1;}),_0x5a01e0(_0x37d144=>_0x37d144+0x1);},'closeMenu':()=>{_0x3cf6a9('');},'getCommandMenuState':()=>({'show':_0x22448a&&_0x3ff874['length']>0x0,'items':_0x3ff874,'ref':_0x3f7e87})}),[_0x484a21,_0x22448a,_0x3ff874]),_0x43978c(()=>{const _0x2eded9={_0x59389b:0x2ca,_0x19e70d:0x50},_0x495f0b={_0x4e6878:0x30};function _0x54e7b5(_0x39f791,_0x42325a,_0x184933,_0x198341){return _0x2b89d8(_0x39f791-0x14f,_0x39f791,_0x184933- -0xb7,_0x198341-_0x495f0b._0x4e6878);}function _0x30f9d0(_0x3774fc,_0x1a94c0,_0x3d3692,_0x387859){return _0x2b89d8(_0x3774fc-0x84,_0x387859,_0x3d3692-_0x2eded9._0x59389b,_0x387859-_0x2eded9._0x19e70d);}_0xc7255b(_0x14e23a?_0x54e7b5(_0x5eee3f._0x1ae072,_0x5eee3f._0x3181c0,0x1d8,_0x5eee3f._0xd3220f):_0x30f9d0(_0x5eee3f._0xc3f40d,0x667,_0x5eee3f._0x331999,0x7ef));},[_0x14e23a]);let _0x62c9f=_0xb0a3e9(_0x245849=>{_0x3cf6a9(_0x245849),_0x484a21?.(_0x245849);},[_0x484a21]),_0x2892d9=_0xb0a3e9(_0x36c76e=>{_0xc7255b(_0x36c76e),_0x345a62?.(_0x36c76e);},[_0x345a62]),_0x5cb73c=_0xb0a3e9(async _0x1dd812=>{_0x3cf6a9(''),_0x484a21?.(''),await _0x25f8dc?.(_0x1dd812);},[_0x484a21,_0x25f8dc]),_0x522110=_0xb0a3e9(async _0x2ab53b=>{const _0x2911a4={_0x29bfee:0x96};let _0x1bc8fa=_0x2ab53b[_0xce0264(-0x2a5,-0x2f3,-_0x44daa0._0x41119d,-0x286)]();if(_0x22448a&&_0x3ff874[_0xce0264(-_0x44daa0._0x39dc82,-0x17a,0xba,-0xa1)]>0x0){let _0x518ded=_0x3f7e87['current']?.[_0xce0264(-_0x44daa0._0x56a621,-_0x44daa0._0x3f8dea,-0x33b,-_0x44daa0._0x19f2ed)]();if(_0x518ded){let _0x1fe4e4=_0x1bc8fa[_0xce0264(-_0x44daa0._0x53d84f,0x9,-_0x44daa0._0x55a3cf,-0x83)](/\s+/)[_0xce0264(-_0x44daa0._0x260e6a,-0x77,-0x1be,-0x19b)](0x1)[_0x51ea74(-_0x44daa0._0x3fbd87,0xa3,0x94,-_0x44daa0._0x3c8e3b)]('\x20')[_0x51ea74(-0x82,-_0x44daa0._0x4e97a4,-_0x44daa0._0x1c9491,_0x44daa0._0x1babcf)](),_0x22e2fa=_0x1fe4e4?_0x518ded[_0x51ea74(_0x44daa0._0xcbc3a1,0x4b,-_0x44daa0._0x225057,0x1b)]+'\x20'+_0x1fe4e4:_0x518ded[_0x51ea74(0xee,-_0x44daa0._0x2fd802,_0x44daa0._0x17ee6c,-0x55)];await _0x5cb73c(_0x22e2fa);return;}}if(_0x1bc8fa[_0x51ea74(_0x44daa0._0x394115,_0x44daa0._0x5020a3,0xcf,0x2f)]('/')&&_0x10fcf7[_0x51ea74(_0x44daa0._0x13e977,0xe5,_0x44daa0._0x220b5c,_0x44daa0._0xe15058)](_0x19dd6e=>_0x19dd6e[_0x51ea74(0xee,0x19c,0xd1,0x44)]===_0x1bc8fa[_0x51ea74(0x181,0x2c,0x200,0x63)](/\s+/)[0x0])){await _0x5cb73c(_0x1bc8fa);return;}function _0x51ea74(_0x27b076,_0x40f131,_0x22fc27,_0x39ad4e){return _0x46a41b(_0x27b076-0x14d,_0x40f131-0x11a,_0x27b076- -_0x2911a4._0x29bfee,_0x40f131);}function _0xce0264(_0x4eaccf,_0x454111,_0x41f322,_0x1f3317){return _0x2b89d8(_0x4eaccf-_0x167b33._0x44b162,_0x454111,_0x1f3317- -0x476,_0x1f3317-_0x167b33._0x4f0fe7);}_0x1bc8fa&&!_0x1bc8fa['startsWith']('/')&&_0x170d55(_0x1bc8fa),_0x3cf6a9(''),_0x484a21?.(''),await _0x25f8dc?.(_0x2ab53b);},[_0x22448a,_0x3ff874,_0x10fcf7,_0x5cb73c,_0x170d55,_0x484a21,_0x25f8dc]);_0x197b40((_0x3a1b89,_0x2f794a)=>{function _0x457ba9(_0x126e57,_0x933d02,_0x36834d,_0x1d13a1){return _0x2b89d8(_0x126e57-0x130,_0x36834d,_0x933d02-_0x4d6afa._0x258618,_0x1d13a1-0xc2);}_0x2f794a[_0x457ba9(_0x4af076._0x1f7101,_0x4af076._0x31a49f,_0x4af076._0x2570ce,0x605)]&&_0x22448a&&(_0x3cf6a9(''),_0x484a21?.(''));},{'isActive':_0x18a210&&!_0x3c7e5e&&!_0x2590e7&&!_0x53f048});function _0x46a41b(_0x557747,_0x7fa633,_0x518c0a,_0x4addf4){return _0x286169(_0x557747-0x1c0,_0x518c0a- -_0x4d448d._0x213324,_0x4addf4,_0x4addf4-_0x4d448d._0x682536);}function _0x2b89d8(_0x41bca9,_0x4a1c4c,_0x417332,_0x9d9550){return _0x120ca0(_0x4a1c4c,_0x4a1c4c-_0xa074d1._0x2c19db,_0x417332-0xd9,_0x417332- -_0xa074d1._0x47af8d);}let _0x2bb8cf=_0x22448a?void 0x0:_0x46b121,_0xfc3ee9=_0x22448a?void 0x0:_0x420e3e,_0x1ddaeb=_0xb0a3e9((_0x230f02,_0x359bb1,_0x154bb6)=>{let _0x326735=Or(_0x230f02,_0x359bb1);if(_0x326735){let {newValue:_0x3b6cf8,newCursorOffset:_0x2af56d}=_r(_0x230f02,_0x359bb1,_0x326735);return{'value':_0x3b6cf8,'cursorOffset':_0x2af56d};}},[]),_0x44ba96={'borderStyle':_0x2b89d8(0x4bb,_0x508dcc._0x103d4e,_0x508dcc._0x2d4987,0x22e),'borderBottomDimColor':!0x0,'borderTop':!0x1,'borderBottom':!0x0,'borderLeft':!0x1,'borderRight':!0x1},_0x3b6723=_0x3dba76!==_0x46a41b(0xb0,_0x508dcc._0x1f35bc,0x14f,_0x508dcc._0x27dbf0)&&_0x3dba76!=='command'&&_0x22448a&&_0x3ff874[_0x46a41b(_0x508dcc._0x15093a,0x1ce,0x1f9,0x123)]>0x0;return _0x7e15b3(_0x15884a,{'flexDirection':'column','position':_0x46a41b(_0x508dcc._0xe0a3c6,0x3e,0xc8,_0x508dcc._0x1db99b),..._0x44ba96,'flexShrink':0x0,'children':[_0x7e15b3(_0x15884a,{'flexShrink':0x0,'minWidth':0x1,'children':[_0x2b3bbc(ml,{'busy':_0x872f16,'isFocused':_0x18a210,'theme':_0x23a7fd}),_0x2b3bbc(_0x15884a,{'minWidth':0x1}),_0x2b3bbc(_0x15884a,{'flexGrow':0x1,'width':_0x46a41b(-0x8f,0x40,_0x508dcc._0x5e43f1,-0x4b),'children':_0x2b3bbc(_0x3cd058,{'value':_0x49e8a8,'onChange':_0x62c9f,'onSubmit':_0x522110,'placeholder':_0x2b89d8(_0x508dcc._0x5ca3ae,_0x508dcc._0x25399e,_0x508dcc._0x393ef7,0x35b),'focus':_0x18a210&&!_0x3c7e5e&&!_0x2590e7&&!_0x53f048,'vimModeEnabled':_0x14e23a,'onVimModeChange':_0x2892d9,'onUpArrow':_0x2bb8cf,'onDownArrow':_0xfc3ee9,'onTab':_0x1ddaeb,'maxLines':0xa},_0x338dd2)})]}),_0x3b6723?_0x1564ec?_0x2b3bbc(_0x15884a,{'position':_0x2b89d8(_0x508dcc._0x300b86,0x192,_0x508dcc._0x168e8f,0x142),'bottom':0x2,'zIndex':0xa,'backgroundColor':_0x23a7fd['colors'][_0x2b89d8(0x3a7,_0x508dcc._0x58395d,0x25e,0x267)],'children':_0x2b3bbc(io,{'ref':_0x3f7e87,'items':_0x3ff874,'focus':!_0x3c7e5e&&!_0x2590e7})}):_0x2b3bbc(io,{'ref':_0x3f7e87,'items':_0x3ff874,'focus':!_0x3c7e5e&&!_0x2590e7}):null]});}),ml=({busy:_0x1abee3,isFocused:_0x46b166,theme:_0x2c3f1e})=>{const _0xecaabb={_0x4f7b1c:0x37b,_0x56614f:0x289,_0x12ae53:0x325,_0x48ef85:0x39b,_0x507b02:0x1ba,_0x39db99:0x289,_0x34a934:0x38a,_0x532d3e:0x314,_0x16390f:0x1e6,_0x1f83a0:0x373,_0xb99549:0x282,_0x30725c:0x334,_0x265055:0x30a,_0x1cb215:0x4a3,_0x1f546b:0x446,_0x20276d:0x5f3,_0x5e83ec:0x3a2,_0x149e8d:0x3c3},_0x151586={_0x184f7d:0x3fe,_0x4e8d4e:0x35e,_0x35fbaf:0x4b3,_0x5189a7:0x505,_0xfae6dd:0x670},_0x4f193b={_0x15f3c6:0x50c},_0x358a18={_0x200065:0xbe},_0x39b9e0={_0x3eec0e:0x1c0,_0x3672f3:0x15e};function _0x49f363(_0x592427,_0x3904d9,_0x1aa2fe,_0x581260){return _0x286169(_0x592427-_0x39b9e0._0x3eec0e,_0x581260- -_0x39b9e0._0x3672f3,_0x592427,_0x581260-0x88);}function _0x5ce12f(_0xf8f07f,_0xc25b6f,_0x1cc7f0,_0x43ef65){return _0x286169(_0xf8f07f-0x12a,_0xc25b6f- -0x42c,_0xf8f07f,_0x43ef65-_0x358a18._0x200065);}let [_0x3f7ee9,_0x1513b6]=_0x56bc19(_0x49f363(_0xecaabb._0x4f7b1c,0x14c,0x19b,_0xecaabb._0x56614f));return _0x43978c(()=>{const _0x4a944e={_0x80123c:0x62,_0x213aef:0x19c},_0xa0cf76={_0x3e4b92:0xc3},_0x1c6457={_0x25a995:0x466},_0x1ad23f={_0x46d8db:0x200},_0x314afe={_0x4b84c7:0xff,_0x358fc6:0x65,_0x5a35e0:0x1a3};function _0x4908c4(_0x12561e,_0x1b7cf2,_0x405eb1,_0x2be647){return _0x49f363(_0x405eb1,_0x1b7cf2-_0x314afe._0x4b84c7,_0x405eb1-_0x314afe._0x358fc6,_0x12561e-_0x314afe._0x5a35e0);}_0x1513b6(_0x260492[_0x4908c4(_0x151586._0x184f7d,0x3fd,_0x151586._0x4e8d4e,_0x151586._0x35fbaf)]());let _0x255251=_0x288ea1=>{function _0x2b9552(_0x398a1f,_0x3c7010,_0x5fc366,_0x296199){return _0x4908c4(_0x296199- -_0x1ad23f._0x46d8db,_0x3c7010-0xfe,_0x398a1f,_0x296199-0xf3);}_0x1513b6(_0x288ea1[_0x2b9552(0x4fb,_0x4f193b._0x15f3c6,0x485,0x3b2)]);};function _0xda1178(_0x5b4710,_0x5d8b27,_0xe76015,_0x1f1e86){return _0x49f363(_0x1f1e86,_0x5d8b27-0x91,_0xe76015-0x18b,_0x5b4710- -_0x1c6457._0x25a995);}return _0x224133['on'](_0x4908c4(0x526,0x5d9,_0x151586._0x5189a7,_0x151586._0xfae6dd),_0x255251),()=>{const _0x2426ea={_0x5093d0:0x5ab,_0x2beed1:0x69};function _0x3a9d72(_0x267128,_0x312267,_0x1ffb09,_0x5e3644){return _0x4908c4(_0x1ffb09- -0x2de,_0x312267-_0xa0cf76._0x3e4b92,_0x267128,_0x5e3644-0x183);}function _0x4c1969(_0x1f414d,_0x377950,_0x299827,_0x41b124){return _0x4908c4(_0x1f414d- -_0x2426ea._0x5093d0,_0x377950-0x86,_0x41b124,_0x41b124-_0x2426ea._0x2beed1);}_0x224133[_0x3a9d72(_0x4a944e._0x80123c,0x138,0x1af,0x24c)](_0x3a9d72(_0x4a944e._0x213aef,0x2d5,0x248,0x383),_0x255251);};},[]),_0x7e15b3(_0x15884a,{'flexWrap':_0x49f363(0x2c4,0x1c0,_0xecaabb._0x12ae53,0x210),'flexShrink':0x0,'children':[_0x3f7ee9!==_0x49f363(_0xecaabb._0x48ef85,0x2db,_0xecaabb._0x507b02,_0xecaabb._0x39db99)&&_0x7e15b3(_0x223445,{'color':_0x2c3f1e[_0x49f363(0x2ce,0x4ae,0x3b6,_0xecaabb._0x34a934)][_0x49f363(0x10e,_0xecaabb._0x532d3e,0xf4,_0xecaabb._0x16390f)],'bold':!0x0,'children':['[',_0x3f7ee9,']','\x20']}),_0x1abee3?_0x2b3bbc(_0x1f853c,{'type':_0x49f363(_0xecaabb._0x1f83a0,_0xecaabb._0xb99549,_0xecaabb._0x30725c,_0xecaabb._0x265055)}):_0x2b3bbc(_0x223445,{'color':_0x2c3f1e[_0x49f363(_0xecaabb._0x1cb215,0x335,0x541,_0xecaabb._0x1f546b)][_0x49f363(_0xecaabb._0x20276d,_0xecaabb._0x5e83ec,_0xecaabb._0x149e8d,0x49c)],'bold':!0x0,'children':_0x46b166?'❯':'\x20'})]});},en=_0x4c2649[_0x120ca0(0x54d,0x527,0x499,0x5de)](dl);import{Fragment as _0x588559,jsx as _0x2bdbd1,jsxs as _0x330017}from'react/jsx-runtime';var bl=_0x22759c(function({busy:_0x329aa1=!0x1,messageQueueLength:_0x11a241=0x0,vimModeEnabled:_0x4aa244=!0x1,hasActiveCommand:_0x5bfe06=!0x1,memory:_0x5d255b,abortRef:_0x36a5e2,onNotification:_0x438333,onBusyChange:_0x4d7c4c,onInputChanged:_0x17735b,onInputSubmit:_0x54ac4a,shouldQueueItem:_0x430d02,onVimModeToggle:_0x4936dd,onVimModeChanged:_0x33de28},_0x5473b6){const _0x555778={_0x528eb1:0x335,_0x8f9d61:0x2ba,_0xe3651d:0x2df,_0x347a8f:0x186,_0x196057:0x343,_0x21f7bf:0x123,_0x558aba:0x283,_0x32afc8:0x2e0,_0x18ed2c:0x6c,_0x14be1f:0xc8,_0x26c1c6:0x6f,_0x57a350:0x1e1,_0x2fdec4:0x250,_0x4f3292:0x2a2,_0x52111b:0x2a4},_0x1f1fc7={_0x11ee93:0x49d,_0x57cb6b:0x2d5,_0xb977bd:0x47f,_0x35a4b0:0x55d,_0x5d6209:0x45d,_0x2f6e17:0x2cc,_0xcec1ab:0x35a,_0x4e286d:0x190,_0x3f4be5:0x3b7,_0x44bdfe:0x28d,_0x1030ae:0x236,_0x2b09c7:0x43c,_0x241dd4:0x14f,_0x2cf2b8:0x8f,_0x45c941:0x1d5,_0x35c212:0x333,_0x9b9c20:0x464,_0x6164f9:0x31c,_0xa5d625:0x58c,_0x31eeb3:0x354,_0x45a9df:0x217,_0x3214c9:0x3c2,_0x4f15e5:0x428,_0x35c0c0:0x671,_0x2765eb:0x311,_0x501376:0x2eb,_0xa83cc4:0x297,_0x2390a3:0x29a},_0x5a878a={_0xbf2cd3:0x19},_0x2ceb8e={_0x43e06a:0x19f,_0x5eb5a3:0x302},_0x18b482={_0x4be858:0x26a,_0x55d540:0x6c2,_0x43f875:0x79b,_0x510dee:0x11,_0x604d85:0xce,_0x35844e:0x67b,_0x56a5d3:0x7a3,_0x2fa717:0x8d,_0x1cac89:0x229,_0x44eca6:0x12b,_0x38bc0b:0xa3,_0xb8fd2e:0x2d,_0x2e722c:0x5c4,_0x3a069f:0x4d0,_0x1f05fb:0x269,_0x7f2dd4:0x49f,_0x4f5b0c:0x425,_0x4fddea:0x3bd,_0x132f50:0x45c,_0x2e4260:0x715,_0x2060ef:0x824,_0x34dca4:0x57,_0x2e820b:0x91,_0x9e83b7:0x2d,_0x276152:0x6b4,_0xb21e02:0x5bb,_0x1b3d73:0x6f2,_0x2e5a9d:0x47c,_0x15549d:0x126,_0x11785d:0x8c,_0xd8ed3b:0x6de,_0x33b809:0x96,_0x200703:0x88,_0x65bee:0x7,_0x12834c:0x34,_0x15d463:0x77,_0x4d9660:0x16,_0x1d610e:0x16c,_0x2030ba:0x2d,_0xe14e51:0x23,_0x2b2165:0x2d,_0x450db8:0x62c,_0x2fb997:0x69f,_0x4eec6b:0x627,_0x26a613:0x5a6,_0x2d0534:0x14,_0x2c8913:0x62e,_0x4a6af3:0x707,_0x27b8d2:0x4d5,_0x27697e:0x69c,_0x44b1be:0x7eb,_0x225514:0x725,_0x80ef47:0x144,_0x784352:0x1e4,_0x17aaa5:0x114,_0x592fa9:0x2d,_0x4836e1:0x65a,_0x38b59c:0x7c3,_0x4b8419:0x7a7,_0x68373b:0x1b2,_0x5f4d0a:0x28a,_0x545428:0x6c2,_0x25bfc1:0x774,_0x4757bb:0x1b3,_0x2aa8b8:0x278,_0x40506c:0x38d,_0x3d1bab:0x211,_0x28cb4a:0x4c0,_0x4345d9:0x89,_0x28fc3f:0x136,_0x4573e7:0x601,_0x5ca9ab:0x2,_0x27fca8:0x5b,_0x124ee3:0xa7,_0x1049b5:0x8f,_0x456d75:0x120,_0x39b2b5:0xe9,_0x1c1983:0x6eb,_0x2bc010:0x7ce,_0x271fd8:0x6c2,_0x4cda02:0x68d,_0x5ed1a9:0x587,_0x4e3151:0x7b7,_0x4a67fa:0x80d,_0x20368f:0x1a,_0x129591:0x2d,_0x232272:0x621,_0x977f4b:0x57e,_0xe17838:0x77e,_0x12971a:0x14f,_0x42b1c0:0x2d,_0x4d6a3d:0x506,_0xf46fd2:0x599},_0x4f25d9={_0x4d5ced:0x66c,_0x380b45:0x6ae,_0x273f20:0x7c3,_0x391c6a:0x643,_0x37328c:0x65d,_0x1b1bb5:0x729},_0x31d427={_0x5a3320:0x180,_0x57c24c:0xc8,_0x7efb01:0xfb,_0x220805:0x2b0,_0x179f71:0x3fc,_0x988bb2:0x3b0,_0xab724b:0x49c},_0x217889={_0xa68131:0x1b6},_0x1dbc46={_0x1b1fc6:0x46c},_0x3fe9a2={_0x1cc133:0x138,_0x2629e3:0x486,_0x105a75:0x479,_0x507d40:0x431,_0x2e7b45:0x3f7,_0x59a51f:0x32a,_0x4895fe:0x335,_0x319262:0xb7,_0x43f664:0x63,_0x2576b2:0x122},_0x457598={_0x104e00:0x2eb,_0x3f84be:0x165,_0x36a92c:0x37,_0x1a762b:0xce,_0x46d699:0x3a7,_0x4d4287:0x31f},_0x38a727={_0x32408a:0x546},_0x12d843={_0x4e6738:0x171,_0x1f90a7:0x84,_0x36cef9:0x10};let {commands:_0x29db60}=Zt(),{pendingApprovalTools:_0x5bb2fc,toolApprovalMode:_0xe1961}=_0x3b4d2e(),{pendingQuestion:_0x512ba3}=Xt(),{theme:_0x4ae783}=_0x259d06(),{altMode:_0xa0e266}=He(),_0x2faf0a=_0x5bb2fc[_0x3de27f(_0x555778._0x528eb1,_0x555778._0x8f9d61,0x267,_0x555778._0xe3651d)]>0x0,_0x5901cf=_0x512ba3!==null,_0x4a2b9b=_0x2de579(_0x3de27f(_0x555778._0x347a8f,_0x555778._0x196057,0x1fa,_0x555778._0x21f7bf)),[_0x2d8d55,_0x32d457]=_0x22750d([]),_0x263feb=_0x2de579(!0x1),_0x35585a=_0x2de579(null);_0x3f3154(()=>{function _0xc3fd3(_0x18468a,_0x3348e5,_0x16bbf0,_0x37fd64){return _0x3de27f(_0x18468a-_0x12d843._0x4e6738,_0x37fd64,_0x16bbf0-_0x12d843._0x1f90a7,_0x37fd64-_0x12d843._0x36cef9);}function _0x4b6607(_0x27c469,_0x186247,_0x4538ef,_0x3c3f72){return _0x1b4d03(_0x4538ef- -0x63,_0x186247,_0x4538ef-0x1c,_0x3c3f72-0x2);}if(!_0x329aa1&&_0x2d8d55[_0xc3fd3(0x234,0x2d5,_0x457598._0x104e00,0x37a)]>0x0&&!_0x263feb[_0x4b6607(_0x457598._0x3f84be,_0x457598._0x36a92c,_0x457598._0x1a762b,0x1e1)]){_0x263feb[_0xc3fd3(0x262,_0x457598._0x46d699,_0x457598._0x4d4287,0x33d)]=!0x0;let [_0xd25615,..._0x524bb5]=_0x2d8d55;_0x32d457(_0x524bb5),_0x54ac4a?.(_0xd25615[_0x4b6607(0x1cd,0xf,0x75,0xe6)])['finally'](()=>{const _0x4f455f={_0x4f0a9e:0x58};function _0x5d0a86(_0x21a61f,_0x4cd7c4,_0x4217b7,_0x7dc7b6){return _0xc3fd3(_0x21a61f-_0x4f455f._0x4f0a9e,_0x4cd7c4-0x8,_0x4cd7c4-0x252,_0x7dc7b6);}_0x263feb[_0x5d0a86(_0x38a727._0x32408a,0x571,0x6aa,0x55a)]=!0x1;});}},[_0x329aa1,_0x2d8d55,_0x54ac4a]);let _0x481eb1=_0x1e0ccd(async _0x71a57e=>{const _0x51f9f3={_0x2d1e35:0x72},_0x42c1d4={_0x1b1929:0x4f,_0x1051a1:0x9c,_0x4625a8:0x9};function _0x4e658c(_0x11a7bb,_0x2e7995,_0x2d6f8c,_0x8c58f9){return _0x3de27f(_0x11a7bb-_0x42c1d4._0x1b1929,_0x2d6f8c,_0x11a7bb- -_0x42c1d4._0x1051a1,_0x8c58f9-_0x42c1d4._0x4625a8);}function _0x567aca(_0x290a5b,_0x140bd2,_0x343847,_0x14dec6){return _0x3de27f(_0x290a5b-_0x51f9f3._0x2d1e35,_0x343847,_0x290a5b-0x198,_0x14dec6-0x133);}if(_0x71a57e['trim']()){if(_0x430d02){let {shouldQueue:_0x89be07,queueItem:_0x2b8943}=_0x430d02(_0x71a57e,_0x329aa1??!0x1);if(_0x89be07&&_0x2b8943){_0x32d457(_0x493558=>[..._0x493558,_0x2b8943]);let _0x4dbe66=_0x2b8943[_0x4e658c(0x23,0x8c,-_0x3fe9a2._0x1cc133,-0x85)]===_0x567aca(0x3ca,_0x3fe9a2._0x2629e3,_0x3fe9a2._0x105a75,_0x3fe9a2._0x507d40)?'Command\x20'+_0x2b8943['content'][_0x567aca(0x41d,_0x3fe9a2._0x2e7b45,_0x3fe9a2._0x59a51f,_0x3fe9a2._0x4895fe)]('\x20')[0x0]:_0x4e658c(0x1c8,_0x3fe9a2._0x319262,0x110,0xa9);_0x438333?.(_0x4dbe66+_0x4e658c(0x99,-0xb4,-_0x3fe9a2._0x43f664,_0x3fe9a2._0x2576b2),0x3e8);return;}}await _0x54ac4a?.(_0x71a57e);}},[_0x329aa1,_0x438333,_0x54ac4a,_0x430d02]);function _0x1b4d03(_0x305347,_0x5c3b3e,_0x4eccc4,_0x51c039){return _0x286169(_0x305347-0x31,_0x305347- -_0x1dbc46._0x1b1fc6,_0x5c3b3e,_0x51c039-0x1dd);}_0x197b40((_0x1ccd97,_0x29d2b2)=>{const _0x409813={_0x45932b:0x598,_0x22a2ca:0x58f},_0x18ab0d={_0x209de8:0xa6},_0x226956={_0x129d40:0x756},_0x313adf={_0x220ada:0x377,_0x47c8dd:0x598,_0x5ff213:0x5f9,_0x22d6f6:0x462,_0x3f4f49:0x639,_0x25916a:0x6e1},_0x5f4ce7={_0x54d2fa:0x2ee};function _0x2b6cbf(_0x5638b6,_0x5071be,_0x23c57d,_0x2ed57c){return _0x1b4d03(_0x2ed57c- -0x15e,_0x23c57d,_0x23c57d-_0x217889._0xa68131,_0x2ed57c-0x9e);}function _0x4851b0(_0x10d104,_0x5833b,_0x4b3b22,_0x4aac6e){return _0x1b4d03(_0x10d104-0x591,_0x4b3b22,_0x4b3b22-0x148,_0x4aac6e-0x13f);}if(_0x29d2b2[_0x2b6cbf(-0x67,-0xa5,-_0x18b482._0x4be858,-0x13d)]){if(_0x2faf0a||_0x5901cf)return;if(_0x329aa1){if(!_0x36a5e2||!_0x438333||!_0x4d7c4c)return;if(_0x4a2b9b[_0x4851b0(_0x18b482._0x55d540,0x726,_0x18b482._0x43f875,0x623)]===_0x2b6cbf(-0x20b,-0x38,-_0x18b482._0x510dee,-_0x18b482._0x604d85)){if(typeof _0x5473b6!='function'&&_0x5473b6?.['current']&&_0x5473b6[_0x4851b0(0x6c2,_0x18b482._0x35844e,_0x18b482._0x56a5d3,0x720)][_0x2b6cbf(-_0x18b482._0x2fa717,-0x7,-_0x18b482._0x1cac89,-_0x18b482._0x44eca6)]&&_0x5473b6[_0x2b6cbf(-_0x18b482._0x38bc0b,0xea,0x59,-_0x18b482._0xb8fd2e)][_0x4851b0(_0x18b482._0x2e722c,0x71b,0x4fc,_0x18b482._0x3a069f)]()['trim']()!==''){_0x438333(_0x2b6cbf(-_0x18b482._0x1f05fb,0xe,-0x188,-0x113),0x5dc),_0x4a2b9b['current']=_0x4851b0(_0x18b482._0x7f2dd4,_0x18b482._0x4f5b0c,_0x18b482._0x4fddea,_0x18b482._0x132f50),_0x35585a[_0x4851b0(0x6c2,_0x18b482._0x2e4260,_0x18b482._0x2060ef,0x7ea)]&&clearTimeout(_0x35585a[_0x2b6cbf(_0x18b482._0x34dca4,-_0x18b482._0x2e820b,-0xcb,-_0x18b482._0x9e83b7)]),_0x35585a['current']=setTimeout(()=>{const _0x46641f={_0x98b48d:0x1f,_0x41ae5e:0xac,_0x470ab7:0x4c9},_0x222a83={_0x16725b:0x4a1,_0x1d95cb:0x155};function _0x54cfdf(_0x1333e7,_0x2c3ac5,_0x284c36,_0xa8be6e){return _0x4851b0(_0x1333e7- -_0x222a83._0x16725b,_0x2c3ac5-_0x222a83._0x1d95cb,_0xa8be6e,_0xa8be6e-0x1db);}function _0x3cbc95(_0x9fcbbb,_0x296dc7,_0x4ebab8,_0x284b43){return _0x2b6cbf(_0x9fcbbb-_0x46641f._0x98b48d,_0x296dc7-_0x46641f._0x41ae5e,_0x296dc7,_0x4ebab8-_0x46641f._0x470ab7);}_0x4a2b9b['current']=_0x54cfdf(_0x31d427._0x5a3320,_0x31d427._0x57c24c,_0x31d427._0x7efb01,_0x31d427._0x220805),_0x35585a[_0x3cbc95(_0x31d427._0x179f71,_0x31d427._0x988bb2,_0x31d427._0xab724b,0x53d)]=null;},0x5dc);return;}_0x438333('Press\x20ESC\x20again\x20to\x20stop\x20the\x20process',0x5dc),_0x4a2b9b[_0x4851b0(0x6c2,0x7cc,_0x18b482._0x276152,0x5b9)]=_0x4851b0(_0x18b482._0xb21e02,_0x18b482._0x1b3d73,_0x18b482._0x2e5a9d,0x664),_0x35585a['current']&&clearTimeout(_0x35585a[_0x2b6cbf(-_0x18b482._0x15549d,0x100,-_0x18b482._0x11785d,-0x2d)]),_0x35585a[_0x4851b0(_0x18b482._0x55d540,0x658,0x81c,0x5b3)]=setTimeout(()=>{const _0x5bf7f8={_0x38792d:0x666};function _0x1b3b24(_0x1274e5,_0x4f5681,_0x16c881,_0x14f140){return _0x4851b0(_0x4f5681- -_0x5f4ce7._0x54d2fa,_0x4f5681-0x184,_0x16c881,_0x14f140-0xf1);}function _0x4e9f61(_0x578e89,_0x1e5430,_0x2c758c,_0x2b5e23){return _0x2b6cbf(_0x578e89-0x1dc,_0x1e5430-0xd2,_0x2b5e23,_0x578e89-_0x5bf7f8._0x38792d);}_0x4a2b9b[_0x1b3b24(0x413,0x3d4,0x484,_0x313adf._0x220ada)]=_0x4e9f61(_0x313adf._0x47c8dd,0x65a,_0x313adf._0x5ff213,_0x313adf._0x22d6f6),_0x35585a[_0x4e9f61(_0x313adf._0x3f4f49,0x658,0x761,_0x313adf._0x25916a)]=null;},0x5dc);return;}if(_0x4a2b9b[_0x4851b0(0x6c2,_0x18b482._0xd8ed3b,0x692,0x581)]==='armed-clear'){_0x438333(_0x2b6cbf(-_0x18b482._0x33b809,-0x8c,-_0x18b482._0x200703,_0x18b482._0x65bee),0x5dc),typeof _0x5473b6!=_0x2b6cbf(-_0x18b482._0x12834c,-_0x18b482._0x15d463,0x3f,_0x18b482._0x4d9660)&&_0x5473b6?.[_0x2b6cbf(0x50,-_0x18b482._0x1d610e,0xf7,-_0x18b482._0x2030ba)]&&_0x5473b6[_0x2b6cbf(0x12d,0x8e,0xe3,-0x2d)]['clear'](),_0x4a2b9b[_0x2b6cbf(-_0x18b482._0xe14e51,-0x146,0x103,-_0x18b482._0x2b2165)]=_0x4851b0(0x5bb,_0x18b482._0x450db8,_0x18b482._0x2fb997,_0x18b482._0x4eec6b),_0x35585a[_0x4851b0(0x6c2,0x567,0x7c5,_0x18b482._0x26a613)]&&clearTimeout(_0x35585a[_0x2b6cbf(-0x170,-0xb1,-_0x18b482._0x2d0534,-0x2d)]),_0x35585a[_0x4851b0(0x6c2,0x68a,_0x18b482._0x2c8913,0x7fe)]=setTimeout(()=>{const _0x1b9cc9={_0x302979:0x4b,_0x661303:0x149};function _0x218dcd(_0x549592,_0x2b740c,_0x57937d,_0x5885dc){return _0x2b6cbf(_0x549592-0x8c,_0x2b740c-0x80,_0x549592,_0x5885dc-_0x226956._0x129d40);}function _0x5f5de3(_0x312b37,_0x4aa45f,_0x637b55,_0x1eb67c){return _0x4851b0(_0x312b37-_0x1b9cc9._0x302979,_0x4aa45f-_0x1b9cc9._0x661303,_0x637b55,_0x1eb67c-0x127);}_0x4a2b9b['current']=_0x5f5de3(_0x4f25d9._0x4d5ced,_0x4f25d9._0x380b45,0x61e,_0x4f25d9._0x273f20),_0x35585a[_0x218dcd(_0x4f25d9._0x391c6a,0x7d8,_0x4f25d9._0x37328c,_0x4f25d9._0x1b1bb5)]=null;},0x5dc);return;}if(_0x4a2b9b[_0x2b6cbf(-0x134,-0x108,0x39,-_0x18b482._0x2030ba)]===_0x4851b0(0x5bb,_0x18b482._0x4a6af3,_0x18b482._0x27b8d2,0x5d0)){_0x35585a[_0x4851b0(0x6c2,_0x18b482._0x27697e,_0x18b482._0x44b1be,0x6ee)]&&clearTimeout(_0x35585a[_0x4851b0(_0x18b482._0x55d540,0x70f,0x68e,_0x18b482._0x225514)]),_0x35585a[_0x4851b0(0x6c2,0x7ab,0x68d,0x716)]=null,_0x438333(null),_0x4a2b9b[_0x2b6cbf(0x83,-0x106,0xa0,-0x2d)]=_0x2b6cbf(-_0x18b482._0x80ef47,-_0x18b482._0x784352,-0xd,-0xce);try{let _0x4aabd0=_0x36a5e2[_0x2b6cbf(-0x7e,-0x2d,-_0x18b482._0x17aaa5,-_0x18b482._0x592fa9)];_0x4aabd0&&(_0x4aabd0['abort'](),_0x32d457([]),_0x4d7c4c(!0x1));}catch{}return;}return;}if(typeof _0x5473b6!='function'&&_0x5473b6?.[_0x4851b0(0x6c2,0x7f1,_0x18b482._0x4836e1,_0x18b482._0x38b59c)]){if(_0x4a2b9b[_0x4851b0(0x6c2,0x5ea,0x65a,_0x18b482._0x4b8419)]==='none'&&_0x5473b6['current'][_0x2b6cbf(-0xa8,-_0x18b482._0x68373b,-_0x18b482._0x5f4d0a,-_0x18b482._0x44eca6)]&&_0x5473b6[_0x4851b0(_0x18b482._0x545428,_0x18b482._0x25bfc1,0x61b,0x800)][_0x2b6cbf(-0x1bb,-_0x18b482._0x4757bb,-_0x18b482._0x2aa8b8,-_0x18b482._0x44eca6)]()[_0x2b6cbf(-_0x18b482._0x40506c,-0x2b8,-_0x18b482._0x3d1bab,-0x246)]()!==''){_0x438333&&_0x438333(_0x4851b0(_0x18b482._0x28cb4a,0x424,0x39e,0x4e2),0x5dc),_0x4a2b9b[_0x2b6cbf(-_0x18b482._0x4345d9,-_0x18b482._0x28fc3f,-0xd3,-0x2d)]=_0x4851b0(0x49f,0x387,_0x18b482._0x4573e7,0x433),_0x35585a[_0x2b6cbf(-_0x18b482._0x5ca9ab,_0x18b482._0x27fca8,-_0x18b482._0x124ee3,-_0x18b482._0x592fa9)]&&clearTimeout(_0x35585a[_0x2b6cbf(_0x18b482._0x1049b5,_0x18b482._0x456d75,_0x18b482._0x39b2b5,-0x2d)]),_0x35585a['current']=setTimeout(()=>{function _0x42fe62(_0x195702,_0x4c1259,_0x168b69,_0x44881c){return _0x2b6cbf(_0x195702-_0x18ab0d._0x209de8,_0x4c1259-0x171,_0x168b69,_0x195702-0x6b5);}_0x4a2b9b['current']='none',_0x35585a[_0x42fe62(0x688,0x771,_0x409813._0x45932b,_0x409813._0x22a2ca)]=null;},0x5dc);return;}if(_0x4a2b9b[_0x4851b0(0x6c2,_0x18b482._0x1c1983,_0x18b482._0x2bc010,0x7ea)]==='armed-clear'){_0x35585a[_0x4851b0(_0x18b482._0x271fd8,0x7d9,_0x18b482._0x4cda02,_0x18b482._0x5ed1a9)]&&clearTimeout(_0x35585a[_0x4851b0(0x6c2,_0x18b482._0x4e3151,_0x18b482._0x4a67fa,0x662)]),_0x35585a[_0x2b6cbf(0x89,0x11c,-_0x18b482._0x20368f,-_0x18b482._0x129591)]=null,_0x438333&&_0x438333(null),_0x4a2b9b[_0x2b6cbf(0x121,0x1a,-0x174,-0x2d)]=_0x4851b0(_0x18b482._0x232272,_0x18b482._0x977f4b,_0x18b482._0xe17838,0x5d9),_0x5473b6[_0x2b6cbf(0x2d,-_0x18b482._0x12971a,0xa6,-_0x18b482._0x42b1c0)][_0x4851b0(0x4ff,0x553,_0x18b482._0x4d6a3d,_0x18b482._0xf46fd2)]();return;}}}},{'isActive':!_0x5bfe06&&!_0x2faf0a&&!_0x5901cf});function _0x3de27f(_0x5e24fc,_0x29eb53,_0x42aa9a,_0x3335ca){return _0x286169(_0x5e24fc-_0x2ceb8e._0x43e06a,_0x42aa9a- -_0x2ceb8e._0x5eb5a3,_0x29eb53,_0x3335ca-0x179);}let _0x501279=_0x5a31b8(()=>_0x29db60[_0x3de27f(0x19,-0x17,0xb8,0x1fc)](_0x1f00e2=>({'label':_0x1f00e2['id']+_0x1b4d03(0x10f,0x259,0x21,0x13f)+_0x1f00e2['description'],'value':_0x1f00e2['id'],'description':_0x1f00e2[_0x3de27f(0x1e5,0x15,0x14d,0x23d)]})),[_0x29db60]),_0x20bc21=_0x5901cf?_0x3de27f(0x3b6,0x24e,_0x555778._0x558aba,_0x555778._0x32afc8):_0x2faf0a?_0x1b4d03(0x53,-0x103,-_0x555778._0x18ed2c,-0x66):_0x5bfe06?_0x1b4d03(_0x555778._0x14be1f,-_0x555778._0x26c1c6,_0x555778._0x57a350,-0x6b):_0x3de27f(_0x555778._0x2fdec4,0x3d3,_0x555778._0x4f3292,_0x555778._0x52111b);return((()=>{const _0x4a739e={_0x21c395:0x40};function _0x442a80(_0x4388a3,_0x369d8c,_0x5bec40,_0x152b6e){return _0x3de27f(_0x4388a3-0x167,_0x369d8c,_0x4388a3-0x2c2,_0x152b6e-_0x4a739e._0x21c395);}function _0x5a0d42(_0x352158,_0x36eb6c,_0x4c9c67,_0x44244d){return _0x3de27f(_0x352158-0x1de,_0x4c9c67,_0x352158-0xed,_0x44244d-_0x5a878a._0xbf2cd3);}switch(_0x20bc21){case _0x5a0d42(0x370,_0x1f1fc7._0x11ee93,0x395,_0x1f1fc7._0x57cb6b):return!_0x5901cf||!_0x512ba3?null:_0xa0e266?_0x2bdbd1(_0x2b924a,{'position':'absolute','bottom':0x2,'zIndex':0x19,'flexShrink':0x0,'children':_0x2bdbd1(ro,{'questionData':_0x512ba3})}):_0x2bdbd1(_0x2b924a,{'flexShrink':0x0,'flexGrow':0x1,'marginTop':0x1,'zIndex':0x19,'children':_0x2bdbd1(ro,{'questionData':_0x512ba3})});case _0x442a80(_0x1f1fc7._0xb977bd,_0x1f1fc7._0x35a4b0,0x382,_0x1f1fc7._0x5d6209):return!_0x2faf0a||!_0xe1961?null:_0xa0e266?_0x2bdbd1(_0x2b924a,{'position':'absolute','bottom':0x2,'zIndex':0x14,'flexShrink':0x0,'children':_0x2bdbd1(At,{'toolCalls':_0x5bb2fc})}):_0x2bdbd1(_0x2b924a,{'flexShrink':0x0,'flexGrow':0x1,'marginTop':0x1,'zIndex':0x14,'children':_0x2bdbd1(At,{'toolCalls':_0x5bb2fc})});case _0x5a0d42(0x31f,0x314,_0x1f1fc7._0x2f6e17,0x204):return _0xa0e266?_0x2bdbd1(_0x2b924a,{'position':'absolute','bottom':0x2,'zIndex':0xa,'flexShrink':0x0,'children':_0x2bdbd1(Uo,{})}):_0x2bdbd1(_0x2b924a,{'flexShrink':0x0,'zIndex':0xa,'children':_0x2bdbd1(Uo,{})});default:return _0x330017(_0x2b924a,{'flexDirection':_0x5a0d42(0x28d,_0x1f1fc7._0xcec1ab,_0x1f1fc7._0x4e286d,_0x1f1fc7._0x3f4be5),'marginTop':0x2,'position':_0x5a0d42(0x223,0x383,_0x1f1fc7._0x44bdfe,_0x1f1fc7._0x1030ae),'flexShrink':0x0,'children':[_0x2d8d55[_0x5a0d42(0x354,0x382,0x308,_0x1f1fc7._0x2b09c7)]>0x0&&_0x330017(_0x2b924a,{'flexDirection':_0x5a0d42(_0x1f1fc7._0x241dd4,_0x1f1fc7._0x2cf2b8,0x43,_0x1f1fc7._0x45c941),'marginLeft':0x2,'children':[_0x2bdbd1(_0x306f29,{'color':_0x4ae783['colors']['secondary'],'dimColor':!0x0,'children':_0x2d8d55[0x0]['type']==='command'?_0x330017(_0x588559,{'children':['⌘\x20',_0x2d8d55[0x0]['content']['split']('\x20')[0x0]]}):_0x330017(_0x588559,{'children':['⟀\x20',_0x2d8d55[0x0][_0x5a0d42(0x32f,_0x1f1fc7._0x35c212,_0x1f1fc7._0x9b9c20,0x38f)][_0x442a80(0x42f,_0x1f1fc7._0x6164f9,0x4fd,_0x1f1fc7._0xa5d625)](0x0,0x1e),_0x2d8d55[0x0]['content'][_0x5a0d42(_0x1f1fc7._0x31eeb3,0x3b6,_0x1f1fc7._0x45a9df,_0x1f1fc7._0x3214c9)]>0x1e?_0x442a80(0x57b,_0x1f1fc7._0x4f15e5,0x549,_0x1f1fc7._0x35c0c0):'']})}),_0x2d8d55[_0x5a0d42(_0x1f1fc7._0x31eeb3,0x22b,_0x1f1fc7._0x2765eb,0x253)]>0x1&&_0x330017(_0x306f29,{'color':_0x4ae783[_0x5a0d42(0x2d3,_0x1f1fc7._0x501376,0x1f8,0x264)][_0x442a80(0x405,0x4b3,0x4cb,0x560)],'dimColor':!0x0,'children':['\x20','+\x20',_0x2d8d55[_0x5a0d42(0x354,_0x1f1fc7._0xa83cc4,0x2d1,_0x1f1fc7._0x2390a3)]-0x1]})]}),_0x2bdbd1(en,{'ref':_0x5473b6,'busy':_0x329aa1,'messageQueueLength':_0x11a241,'showToolApproval':_0x2faf0a,'showUserQuestion':_0x5901cf,'commandItems':_0x501279,'vimModeEnabled':_0x4aa244,'memory':_0x5d255b,'mode':_0x20bc21,'onInputChanged':_0x17735b,'onInputSubmit':_0x481eb1,'onVimModeToggle':_0x4936dd,'onVimModeChanged':_0x33de28})]});}})());});import{Box as _0xc68da1,Text as _0x5b6f06}from'ink';import _0x549deb from'ink-gradient';import{useState as _0x5c7165,useEffect as _0x552bd9,useCallback as _0xd0baa4}from'react';import{jsx as _0x1628e1,jsxs as _0x287feb}from'react/jsx-runtime';var Tl=_0x286169(0x434,0x4d3,0x3c6,0x627),Cl={'device-flow':_0x286169(0x3ce,0x44a,0x36d,0x48f),'token':'API\x20Key\x20/\x20Token','oauth-max':'Claude\x20Pro/Max\x20Account','oauth-console':'Create\x20API\x20Key\x20via\x20Console','none':_0x286169(0x429,0x388,0x41a,0x432)},wl={'device-flow':'Authenticate\x20through\x20your\x20browser','token':_0x286169(0x2d5,0x3fc,0x3ec,0x42d),'oauth-max':_0x286169(0x30f,0x3a0,0x2b3,0x258),'oauth-console':_0x120ca0(0x369,0x4b8,0x4b9,0x4b7),'none':_0x286169(0x449,0x51c,0x5b6,0x563)},Sl={'openrouter':'sk-or-v1-...','deepinfra':_0x286169(0x4f7,0x3e5,0x418,0x452),'anthropic':_0x120ca0(0x738,0x513,0x575,0x61e),'github':_0x286169(0x628,0x526,0x3cf,0x3dc),'zai':_0x286169(0x631,0x5d3,0x472,0x55d),'echo':''},Rl={'openrouter':_0x286169(0x55c,0x564,0x4c8,0x67b),'deepinfra':_0x120ca0(0x42f,0x577,0x66c,0x56a),'anthropic':_0x120ca0(0x4ae,0x4fe,0x605,0x4aa),'github':_0x286169(0x46b,0x402,0x4ba,0x55e),'zai':'Get\x20your\x20API\x20key\x20from\x20your\x20Zai\x20account','echo':''},vl=({isSelected:_0x403f80,label:_0x11417e,description:_0x5abe2d})=>{const _0x3f1794={_0x55561a:0xcf,_0x322d20:0xde,_0x353a0e:0x158,_0x5c082a:0x5e,_0x49e77b:0x8b,_0x429e5e:0xd,_0x20d504:0x17e,_0xc5c6f7:0xf6,_0x311846:0x35,_0x3a3a57:0x1ce,_0x1d5309:0xfc},_0x58d339={_0x5643ff:0x80,_0x568760:0x12a},_0x3f06ae={_0x5bd9ed:0xba};function _0x47d316(_0x28de0d,_0x14f5b0,_0x55de95,_0x19b1f3){return _0x286169(_0x28de0d-_0x3f06ae._0x5bd9ed,_0x55de95- -0x571,_0x28de0d,_0x19b1f3-0x169);}function _0x37676c(_0x36e337,_0x37564d,_0x1e2c11,_0x1b74c4){return _0x286169(_0x36e337-_0x58d339._0x5643ff,_0x1b74c4- -0x404,_0x1e2c11,_0x1b74c4-_0x58d339._0x568760);}let {theme:_0x4a9dbf}=_0x259d06();return _0x287feb(_0xc68da1,{'flexDirection':_0x47d316(-0x149,0x2c,-_0x3f1794._0x55561a,-_0x3f1794._0x322d20),'marginBottom':0x1,'children':[_0x1628e1(_0xc68da1,{'children':_0x1628e1(_0x5b6f06,{'color':_0x403f80?_0x4a9dbf['welcome'][_0x37676c(-_0x3f1794._0x353a0e,_0x3f1794._0x5c082a,_0x3f1794._0x49e77b,-_0x3f1794._0x429e5e)]:_0x4a9dbf['welcome'][_0x37676c(-_0x3f1794._0x20d504,-_0x3f1794._0xc5c6f7,0x7f,-_0x3f1794._0x311846)],'bold':_0x403f80,'children':_0x11417e})}),_0x1628e1(_0xc68da1,{'paddingLeft':0x3,'children':_0x1628e1(_0x5b6f06,{'color':_0x4a9dbf['welcome'][_0x47d316(-_0x3f1794._0x3a3a57,-0x2e0,-0x1a2,-_0x3f1794._0x1d5309)],'dimColor':!0x0,'children':_0x5abe2d})})]});},kl=({isSelected:_0x4b13eb,label:_0x4c38f6,description:_0x175515})=>{const _0x3e213e={_0x34df48:0x483,_0x334155:0x3e9,_0x5e308f:0x4de,_0x414750:0x1d1,_0x6959e6:0x8c,_0x292231:0x190,_0x2e4f3b:0x1f9,_0x5bce6c:0x107,_0x23f1dc:0x98},_0x5daa8a={_0x3c70bf:0x15b,_0xfcdd41:0x1a8};function _0x1c8b83(_0x4d302e,_0x18fb7e,_0x30a06b,_0xd49fb7){return _0x286169(_0x4d302e-_0x5daa8a._0x3c70bf,_0x4d302e- -0xc9,_0xd49fb7,_0xd49fb7-_0x5daa8a._0xfcdd41);}let {theme:_0x3fe85f}=_0x259d06();function _0xf25c9b(_0x6db378,_0x432e6a,_0x5cf07a,_0x24f6a4){return _0x286169(_0x6db378-0x135,_0x6db378- -0x5c8,_0x5cf07a,_0x24f6a4-0xe7);}return _0x287feb(_0xc68da1,{'flexDirection':_0x1c8b83(0x3d9,0x38e,0x302,0x28e),'marginBottom':0x1,'children':[_0x1628e1(_0xc68da1,{'children':_0x1628e1(_0x5b6f06,{'color':_0x4b13eb?_0x3fe85f[_0x1c8b83(_0x3e213e._0x34df48,_0x3e213e._0x334155,_0x3e213e._0x5e308f,0x33e)][_0xf25c9b(-_0x3e213e._0x414750,-_0x3e213e._0x6959e6,-_0x3e213e._0x292231,-0xce)]:_0x3fe85f['welcome'][_0xf25c9b(-_0x3e213e._0x2e4f3b,-0x1ac,-0x27e,-0x262)],'bold':_0x4b13eb,'children':_0x4c38f6})}),_0x1628e1(_0xc68da1,{'paddingLeft':0x3,'children':_0x1628e1(_0x5b6f06,{'color':_0x3fe85f[_0xf25c9b(-0x7c,-0x60,-_0x3e213e._0x5bce6c,-_0x3e213e._0x23f1dc)]['subtitle'],'dimColor':!0x0,'children':_0x175515})})]});};function Ml({onComplete:_0x34a247,llmFactory:_0x51073c}){const _0x34022={_0x21f88b:0x607,_0x381125:0x55d,_0x1611b0:0x46f,_0x1083ca:0x5ce,_0x50acf2:0x3a6,_0xa8d3b8:0x3e9,_0x973f20:0x3bc,_0x116785:0x692,_0xef3a35:0x61d,_0x21188e:0x65d,_0x56fe88:0x6d5,_0x3186d8:0x66a,_0x5db38:0x57e,_0x12f29a:0x5f0,_0x3a7db5:0x3b5,_0x258a41:0x4ae,_0x46bdb2:0x608,_0x97ba16:0x769,_0x35302c:0x723,_0x4eceb3:0x641,_0x555a2c:0x6ae,_0x2184fc:0x6f6,_0x4aad22:0x48f,_0x284bb9:0x549,_0x7441ab:0x3e1,_0x902225:0x395,_0x2bf6af:0x561,_0x129acf:0x678,_0x141690:0x548,_0x57864a:0x481,_0x1affad:0x453,_0x2465be:0x4c9,_0x279c04:0x5f8,_0x261c11:0x5e6,_0x5472be:0x5c8,_0x437a93:0x6eb,_0x215a41:0x43e,_0x426cbb:0x5b7,_0x24c08d:0x64e,_0x1d184e:0x648,_0x317bd7:0x523,_0x27ff9f:0x682,_0x33c0e8:0x592,_0xc0a810:0x5e4,_0xb7ccbb:0x643,_0x2ab9c8:0x5d5,_0x3c7dad:0x590,_0x2a404a:0x7b1,_0x2f5cfd:0x501,_0x329832:0x50c,_0x134dff:0x3d9,_0x5a3b6f:0x401,_0x40fa41:0x4a5,_0x1917d6:0x3dd,_0x4afaf6:0x6cf,_0x59089a:0x573,_0xdcf87f:0x6ad,_0x183271:0x5f2,_0x2df38a:0x64d,_0x42dd07:0x569,_0x2dcd61:0x74e,_0x4e04ec:0x3d5,_0x3d34bc:0x3b6,_0x3ac06b:0x5e3,_0x439764:0x7be,_0x501655:0x503,_0x51a862:0x499,_0x42c517:0x56e,_0x486ad6:0x5a0,_0x3eedb4:0x734,_0x253fd8:0x798,_0x57b962:0x659,_0x177701:0x578,_0x2a04cb:0x635,_0x3ab681:0x4d3,_0x2f3dca:0x493,_0x4a7808:0x558,_0x1ab20c:0x438,_0x30e669:0x670,_0x43685b:0x5a7,_0x240112:0x6a1,_0x39e898:0x573,_0x3e241f:0x62a,_0x29a805:0x3a2,_0x463ac6:0x4e8,_0x379ac0:0x7d9,_0xcf6e43:0x5fb,_0x5aa48c:0x643,_0x4c3f2b:0x4ed,_0x2506f7:0x4a7,_0x32a7cf:0x5ca,_0x68a99f:0x6d1,_0x632e0f:0x5d5,_0x4701a2:0x553,_0x4ef70f:0x5f2,_0x307245:0x66b,_0x526e68:0x5e1,_0x212659:0x535,_0x327f09:0x6f2,_0x1fc2dd:0x5df,_0x4a7044:0x5e9,_0x4a6565:0x6a4,_0x5a5736:0x46a,_0x89e8f:0x47a,_0x5d6db6:0x6b2,_0x1977f8:0x711,_0xd7a6fa:0x7a4,_0x4984b3:0x686,_0x202f3b:0x523,_0x4d47e8:0x36e,_0x27d428:0x3d5,_0x52e894:0x2fc,_0x31bfcb:0x806,_0x3969d9:0x70b,_0x2039b4:0x63e,_0x3198bf:0x682,_0x577d36:0x4f8,_0x24fe5f:0x80f,_0x56fda5:0x742,_0x581b45:0x626,_0x38f42d:0x708,_0x23fba2:0x454,_0x10be38:0x5fb,_0x3307f4:0x6e2,_0x3cd2a0:0x5fc,_0x3d905d:0x832,_0x5d143c:0x747,_0x3d444e:0x563,_0x5f6a62:0x51c,_0x264f2f:0x42a,_0x5f0aa7:0x3ba,_0x2e3abd:0x3ca,_0x392847:0x601,_0x4d06dc:0x747,_0x376ca1:0x6eb,_0x4adf38:0x6e9,_0x1a9294:0x48c,_0x20fe8a:0x559,_0x23f4d6:0x564,_0x110fac:0x675,_0x2b8157:0x59d,_0x31b01a:0x537,_0x88384d:0x5f4,_0x3dbb3a:0x66d,_0x57f512:0x5c5,_0x2c829a:0x58f,_0x593267:0x641,_0x45dd75:0x3ea,_0x2b1413:0x512,_0x303e22:0x5b7,_0x22fbab:0x359,_0x132ca0:0x344,_0x581901:0x4d4,_0x11eb46:0x61d,_0x22f57e:0x673,_0x3e413c:0x57d,_0x4d6a2c:0x676,_0x16f21f:0x5bb,_0xa587ca:0x7e3,_0x3958f4:0x6e6,_0x58c48a:0x470,_0x4c0f5f:0x5bf,_0x9de5d:0x5a4,_0x58dfca:0x493,_0x4f66d8:0x5c6,_0x1ddc0c:0x593,_0x9902e5:0x72d,_0xb59cc8:0x6fe,_0x1e1d46:0x51e,_0x429203:0x6eb,_0xe1b096:0x436,_0x4f438a:0x5ae,_0x2395aa:0x4e5,_0x2154a7:0x4d6,_0x47b69c:0x3c6,_0x53b50a:0x4b7,_0x3ec16f:0x6b5,_0x3fa77e:0x656,_0x34f3d9:0x558,_0x3c6bac:0x607,_0x5a642e:0x632,_0x23ac0f:0x52b,_0x1f766a:0x512,_0x5011dc:0x6ee,_0x5de43a:0x6da,_0x2ec8da:0x44a,_0x4a2b90:0x47d,_0x26d7bf:0x5de,_0x3679ae:0x792,_0x823c5b:0x670,_0x28dc0f:0x6c2,_0x5a3eb0:0x299,_0x24af22:0x43c,_0x30c47c:0x40a,_0xbf19d3:0x421,_0x3605c1:0x426,_0x877e38:0x4eb,_0x5f4142:0x47d,_0x20a0ff:0x4cf,_0x5c6399:0x582,_0x58dcb6:0x3c6,_0x25c5ab:0x4f4,_0x1e398a:0x609,_0xc8534a:0x5c3,_0x4eddee:0x6eb,_0x5abb0a:0x41f,_0x45cb40:0x80f,_0x1b8d90:0x728,_0xc94589:0x4ab,_0x40b12d:0x55e,_0x2bc631:0x44d,_0x39a6a7:0x3ca,_0x523e2b:0x8db,_0x2f0395:0x729,_0x3c064e:0x766,_0x93af0e:0x656,_0x5d44dc:0x523,_0x1e739e:0x586,_0x2bc673:0x687,_0x3f2b26:0x6de,_0x1ad701:0x5bd,_0x499d69:0x74c,_0x98e51d:0x72c,_0xad1b48:0x5fe,_0x39aa0a:0x444,_0x42253b:0x3c8,_0x3e776c:0x4df,_0x5c62fb:0x4ea,_0x36da6d:0x695,_0x153883:0x730,_0x394891:0x6eb,_0x5709c8:0x508,_0x1afddc:0x4cd,_0xf00ed5:0x572,_0x937877:0x562,_0x27fe70:0x5f2,_0x5c2b87:0x434,_0xc0b7f1:0x62e,_0xaf78c1:0x5e3,_0x13fd12:0x52d,_0x444186:0x675,_0x8e46c8:0x538,_0x274e2e:0x65a,_0x253719:0x45c,_0x3b208a:0x557,_0x188150:0x629,_0x29aa13:0x6e8,_0x2325da:0x698,_0x22f563:0x72c,_0x4d46c5:0x568,_0x3f75b9:0x514,_0xc17c28:0x50e,_0x485a5e:0x640,_0x5ce8f9:0x53c,_0x269ad4:0x511,_0x13ab0a:0x5ca,_0x14a3ba:0x529,_0x4bb300:0x522,_0x21e66a:0x471,_0x369ff4:0x4f1,_0x524516:0x54a,_0x35537c:0x659,_0x5863c0:0x4ad,_0x58163e:0x59c,_0x4fd0f1:0x7de,_0x42c8b3:0x7fe,_0x4fb3c5:0x6eb,_0x10a540:0x3a5,_0x4c65e2:0x3f4,_0x5981e0:0x600,_0x1a0edf:0x7b3,_0x10dc38:0x515,_0x430718:0x514,_0x31bd3f:0x577,_0x52c0d5:0x480,_0x2794c0:0x653,_0x25ddf2:0x4fc},_0x4218ea={_0x26af0f:0x17f,_0xa1a502:0x247,_0x2573bf:0x39d,_0x29f200:0x2f7,_0x28f35e:0x41b,_0xf1bedc:0x4a2,_0x57cc70:0x4e8,_0x43b665:0x247,_0x424987:0x367,_0x5df742:0x355},_0x29ad5b={_0x170c36:0x1cb,_0x492424:0x32c},_0x6f1198={_0xb99bc:0x494,_0x129796:0x32b,_0x2549fc:0x3a1,_0x14b8d0:0x4aa,_0x461b71:0x3c8,_0x1a67c5:0x560,_0x2809fb:0x475},_0x235b26={_0x21084b:0x123,_0x1b4e1c:0xde,_0x2172b3:0x83},_0x4c7d37={_0x3173bd:0x29c},_0x3b08fd={_0x9bef9f:0x1b5,_0x111664:0x2c6,_0x3d4e7a:0x360},_0xa16341={_0x2f11a8:0x24c,_0x57bf4e:0x8c},_0x306d3b={_0x59afc1:0x12e,_0x53a7bb:0x9e,_0x1b8431:0x3b},_0x3958a0={_0x59a772:0x160},_0x5749fa={_0x3f6d14:0x3d1,_0x30b9ca:0x431,_0x168158:0x522,_0x57bb60:0x61,_0x29c0f9:0x218,_0x1e234f:0x52e,_0x41539c:0x112,_0xc071fc:0x130,_0x5b312d:0x9d,_0x1b8b65:0x576,_0x1da2a7:0x6aa,_0x4ab598:0x4d9,_0x59e63e:0x3e0,_0x1d3953:0x5ae,_0x1ba174:0x7a,_0x344a50:0x13,_0x57f10b:0x73c,_0x189653:0x66b,_0x456326:0x549,_0x21c8e0:0x683,_0x2804c8:0x414,_0xb10695:0x7a,_0x56012f:0xac,_0x2ec096:0x56e,_0x4358b0:0x6a3,_0x460cc2:0x576,_0x260692:0xc6,_0x44d6df:0x7a,_0x54af32:0xf3,_0xd1ad5d:0xfc,_0x8f6fca:0x20,_0x969e65:0x98,_0x59c6a6:0x66,_0x19ca15:0x66d,_0x4d204c:0x6ee,_0x957959:0x9f,_0x1dba92:0x2a6},_0xb6fd5c={_0x4036ac:0x33},_0x48979e={_0x246614:0x14d,_0x12d4f1:0x105},_0x22634b={_0x36a917:0x283,_0x55701d:0x2aa,_0x30d586:0x6,_0x18dc88:0x55,_0x4917b6:0x144,_0x43c428:0x316,_0x28f070:0x34f,_0x2bf4c1:0x174,_0x38b0d4:0x2ac},_0x5d3bc4={_0x13d8a6:0x16d},_0x31852d={_0x5f8abb:0xbb,_0x10f4d7:0x3a3,_0x3baeb3:0xe5,_0x5c8f89:0xbb,_0x533c7f:0xbb},_0x324328={_0xdaae71:0x1e5},_0x24ba59={_0x2eb812:0x4a9,_0x4bb31b:0x478,_0x406bfd:0x1bd,_0x3e7fdf:0xa1,_0x2f1e2d:0x36,_0x356a50:0x5bf,_0x59ab21:0x4d4,_0x42b3f4:0x4e0,_0x108933:0x1ef,_0x418202:0x26d,_0x303412:0x32d,_0x3e3f00:0x54e,_0x852bd8:0x58c,_0x104aef:0x401},_0x3e1f26={_0x52493f:0x1cd},_0x19dcc1={_0x573873:0x4b4,_0x2ad074:0x5a5,_0x45033f:0x561},_0x201ad0={_0x286f04:0x1c3,_0x492858:0x22f,_0xbdf1f5:0x36c,_0x4be3e2:0x552,_0x214ad1:0x484,_0x5c6c59:0x529},_0x3534ef={_0x5afdca:0xaa},_0x3d72aa={_0x490dc9:0x43,_0x27a42f:0x260,_0x54c040:0x2ac,_0x23075b:0x14},_0x404655={_0x3070d0:0x574},_0xaea8c9={_0x2cc0bd:0x26,_0x14231f:0x13,_0x4aa778:0x11a,_0x29e3a1:0xf7,_0x6f76f2:0x5a,_0x4a7a62:0x424,_0x6b4e18:0x21a,_0x48f5ca:0x1cf,_0x2d1d2b:0x324},_0x3cf76d={_0x422f48:0x395},_0x316151={_0x3103fc:0x2e},_0x30ed32={_0xa6021b:0x786,_0x449c4:0x5a2,_0x2edf2d:0x238,_0x4425b0:0xa6,_0x5c8158:0x2a6,_0x507990:0xd4,_0x435aa0:0x34,_0x55c810:0xdf,_0xc0dca9:0x693,_0x27379f:0x73a,_0x169858:0x687},_0x53c8f0={_0x275f1b:0x69,_0x376793:0xff,_0x888b11:0xcc},_0x3ea648={_0x3f8a65:0x4,_0x3490da:0xa7,_0x1d8463:0x22c};let {theme:_0xf300ac}=_0x259d06(),{get:_0x1adbca,set:_0x2fb7d8}=_0x5e608d(),[_0x556bb0,_0x2f2ed0]=_0x5c7165(_0x4077ac(0x64b,_0x34022._0x21f88b,_0x34022._0x381125,0x515)),[_0x2555d4,_0x1f7500]=_0x5c7165(_0x331406(_0x34022._0x1611b0,0x5af,0x6be,_0x34022._0x1083ca)),[_0x2e2e43,_0x4272af]=_0x5c7165(_0x4077ac(_0x34022._0x50acf2,_0x34022._0xa8d3b8,_0x34022._0x973f20,0x3ad)),[_0x356d5b,_0x320377]=_0x5c7165(''),[_0x33a9d6,_0x4d7a16]=_0x5c7165(''),[_0x51beb6,_0x32be80]=_0x5c7165(''),[_0x32198d,_0x1a3ff4]=_0x5c7165(''),[_0x570b81,_0x1440e1]=_0x5c7165(!0x1),[_0x32388f,_0xf52f50]=_0x5c7165([]),[_0x284025,_0x8f5046]=_0x5c7165(null),[_0x242351,_0x331628]=_0x5c7165([]);_0x552bd9(()=>{const _0x23ac77={_0x32f58b:0x1f,_0x3c1830:0x628,_0x333a97:0x6ed,_0x581b94:0x772,_0x1ee9d8:0x7b6},_0x445a02={_0x2929a4:0x27a},_0x536cf9={_0x3c8f85:0x52c},_0x5e22b7={_0x10f7ae:0x142,_0x35bbb5:0x4f3,_0x50e3a3:0x81};function _0x4ad9d7(_0x22baee,_0x1be7a7,_0x13847c,_0x58b16e){return _0x4077ac(_0x1be7a7,_0x1be7a7-_0x5e22b7._0x10f7ae,_0x13847c- -_0x5e22b7._0x35bbb5,_0x58b16e-_0x5e22b7._0x50e3a3);}function _0x1302a4(_0x34c3fa,_0x49e063,_0xc0a886,_0x1924c8){return _0x331406(_0x34c3fa-0x10b,_0xc0a886,_0xc0a886-0x3a,_0x34c3fa- -_0x536cf9._0x3c8f85);}(async()=>{function _0x4eea70(_0x1a4fc4,_0x414a22,_0xdd75f0,_0x348a2a){return _0x55d8(_0x414a22-0x3d9,_0xdd75f0);}function _0x580658(_0x480ccb,_0x3f9c94,_0x5a001e,_0x183c91){return _0x55d8(_0x3f9c94- -_0x445a02._0x2929a4,_0x183c91);}let _0x3b19af=_0x95ab28();if(_0x3b19af[_0x580658(0x7f,0xc9,_0x23ac77._0x32f58b,0x16c)]>0x0){let _0x2e530b=_0x3b19af[0x0]['value'];_0x242351[_0x4eea70(_0x23ac77._0x3c1830,_0x23ac77._0x333a97,_0x23ac77._0x581b94,_0x23ac77._0x1ee9d8)](_0x5c4dd8=>_0x5c4dd8[_0x4eea70(0x5fc,0x6a7,0x734,0x780)]===_0x2555d4)||_0x1f7500(_0x2e530b);}_0x331628(_0x3b19af);})()[_0x4ad9d7(-_0x3ea648._0x3f8a65,0x152,_0x3ea648._0x3490da,0x185)](console[_0x1302a4(0x202,0x117,0x16e,_0x3ea648._0x1d8463)]);},[_0x242351['find'],_0x2555d4]);let _0x4644cf=_0x242351['find'](_0x13b2ba=>_0x13b2ba['value']===_0x2555d4),_0xfc068a=_0x362e0e(_0x2555d4),_0x4045e6=_0x43c0be(_0x2555d4),_0x2eafa8=_0x32388f[_0x4077ac(_0x34022._0x116785,_0x34022._0xef3a35,0x5e3,0x5cf)]>0x0?_0x32388f:_0x4045e6,{state:_0x273dd2,openAndPoll:_0x505928}=_0x44e91a(_0x556bb0==='auth-device-flow'&&_0x2555d4===_0x4077ac(_0x34022._0x21188e,0x734,0x5fe,_0x34022._0x56fe88)),_0x5937ee=_0x2e2e43===_0x331406(0x51e,0x742,0x688,_0x34022._0x3186d8)?'max':_0x4077ac(0x6ca,0x5d1,_0x34022._0x5db38,_0x34022._0x12f29a),{state:_0x11f5b3,openBrowser:_0x54a875}=_0x4a44be(_0x556bb0==='auth-oauth'&&_0x2555d4===_0x4077ac(_0x34022._0x3a7db5,_0x34022._0x258a41,0x458,0x4a8),_0x5937ee),{saveApiKeyAuth:_0xcb2a79,saveOAuthAuth:_0x48ff4d}=_0x2a83f0({'get':_0x1adbca,'set':_0x2fb7d8});_0x197b40((_0x3392bb,_0x4bbff0)=>{const _0x838c5e={_0x331b9c:0x61};function _0x7fb8e4(_0x2d53c3,_0x1bf251,_0x42f5c3,_0x9590d8){return _0x4077ac(_0x1bf251,_0x1bf251-_0x53c8f0._0x275f1b,_0x9590d8-_0x53c8f0._0x376793,_0x9590d8-_0x53c8f0._0x888b11);}function _0x280f38(_0xcabc60,_0x3b4c60,_0x36f65d,_0x178280){return _0x4077ac(_0x178280,_0x3b4c60-0x10e,_0x36f65d- -0x40f,_0x178280-_0x838c5e._0x331b9c);}_0x4bbff0['escape']&&_0x556bb0===_0x7fb8e4(_0x30ed32._0xa6021b,_0x30ed32._0x449c4,0x628,0x677)&&_0x2f2ed0(_0x280f38(_0x30ed32._0x2edf2d,_0x30ed32._0x4425b0,0x14e,_0x30ed32._0x5c8158)),_0x4bbff0['escape']&&_0x556bb0===_0x280f38(-_0x30ed32._0x507990,0xc2,_0x30ed32._0x435aa0,-_0x30ed32._0x55c810)&&(_0x4d7a16(''),_0x2f2ed0(_0x7fb8e4(_0x30ed32._0xc0dca9,0x7a9,_0x30ed32._0x27379f,_0x30ed32._0x169858)));});let _0x262c9e=_0x21f90=>{let _0x5a0c6a=_0x21f90||_0x2e2e43;function _0x59a403(_0x34aa2f,_0x5784db,_0x465feb,_0xbf1581){return _0x4077ac(_0xbf1581,_0x5784db-_0x316151._0x3103fc,_0x465feb- -0x3a9,_0xbf1581-0xe6);}function _0x41d45f(_0x304508,_0x1e135,_0x4aa2b8,_0x402f1e){return _0x331406(_0x304508-0xc8,_0x304508,_0x4aa2b8-0x80,_0x402f1e- -_0x3cf76d._0x422f48);}if(_0x5a0c6a)switch(_0x5a0c6a){case _0x59a403(0x32,-_0xaea8c9._0x2cc0bd,_0xaea8c9._0x14231f,-_0xaea8c9._0x4aa778):_0x2f2ed0(_0x59a403(0x14b,-0xf,_0xaea8c9._0x29e3a1,_0xaea8c9._0x6f76f2));break;case _0x41d45f(0x24a,0x273,_0xaea8c9._0x4a7a62,0x30b):_0x2f2ed0('auth-device-flow');break;case _0x41d45f(_0xaea8c9._0x6b4e18,0x193,0x42d,0x2d5):case'oauth-console':_0x2f2ed0('auth-oauth');break;case'none':_0x2f2ed0(_0x59a403(0x24d,_0xaea8c9._0x48f5ca,0x1df,_0xaea8c9._0x2d1d2b));break;}},_0xff5a27=_0xb712de=>{let _0x2071ac=_0xb712de['value'];function _0x387076(_0x4818c3,_0x55cf64,_0x291a71,_0x515c66){return _0x331406(_0x4818c3-0x3e,_0x515c66,_0x291a71-0x144,_0x55cf64- -0x235);}function _0x344816(_0x347706,_0x4a4576,_0x23e967,_0x322faa){return _0x4077ac(_0x23e967,_0x4a4576-0x26,_0x4a4576- -_0x404655._0x3070d0,_0x322faa-0x1c7);}if(_0x1f7500(_0x2071ac),_0x2071ac!=='echo'){_0x2f2ed0('auth-method');let _0x2bf447=_0x362e0e(_0x2071ac)?.[0x0];_0x4272af(_0x2bf447?.[_0x344816(-_0x3d72aa._0x490dc9,-0x6,-0xdb,-0xca)]||_0x387076(_0x3d72aa._0x27a42f,_0x3d72aa._0x54c040,0x163,0x1d7));}else _0x2f2ed0(_0x344816(-0x64,_0x3d72aa._0x23075b,0x94,0x39));},_0x52ad8c=_0x283a05=>{let _0x55d76f=_0x283a05['value'];_0x4272af(_0x55d76f),_0x262c9e(_0x55d76f);},_0x192ca3=_0x2b72c6=>{const _0x8542d8={_0x736ef2:0xbe};function _0x4b8490(_0x4b6966,_0x2f6a7e,_0xf7f19d,_0x2d8221){return _0x4077ac(_0x2d8221,_0x2f6a7e-_0x8542d8._0x736ef2,_0x4b6966- -0xea,_0x2d8221-0xc7);}function _0x5ab478(_0x198dbb,_0x3cf71e,_0x3c6fcb,_0x1c5c67){return _0x4077ac(_0x1c5c67,_0x3cf71e-0xc7,_0x3c6fcb- -0x33f,_0x1c5c67-_0x3534ef._0x5afdca);}if(_0x2b72c6[_0x5ab478(_0x201ad0._0x286f04,0x167,_0x201ad0._0x492858,0x210)]==='custom'){_0x2f2ed0(_0x5ab478(-0x46,0x66,0x104,0xc3));return;}_0x320377(_0x2b72c6[_0x4b8490(0x484,_0x201ad0._0xbdf1f5,_0x201ad0._0x4be3e2,0x4f7)]),_0x421d58(_0x2b72c6[_0x4b8490(_0x201ad0._0x214ad1,0x370,0x574,_0x201ad0._0x5c6c59)]);},_0x21d227=_0x35cdfe=>{const _0x20a70a={_0xbf99c:0x52,_0x4d1b2d:0x15b};function _0x2c8a6e(_0x273733,_0x5c7b12,_0x5eae81,_0x3ec507){return _0x4077ac(_0x3ec507,_0x5c7b12-_0x20a70a._0xbf99c,_0x5eae81-0xa2,_0x3ec507-_0x20a70a._0x4d1b2d);}_0x35cdfe['trim']()&&(_0x320377(_0x35cdfe['trim']()),_0x421d58(_0x35cdfe[_0x2c8a6e(_0x19dcc1._0x573873,_0x19dcc1._0x2ad074,0x4a0,_0x19dcc1._0x45033f)]()));},_0x421d58=async _0x56a018=>{const _0x5a8cd9={_0x394ae9:0x9a,_0x56295a:0x1ef,_0x54f85a:0x66e};function _0x4d60f0(_0x305d48,_0x5c2511,_0x170f08,_0x5818ca){return _0x331406(_0x305d48-0x3a,_0x170f08,_0x170f08-0x15,_0x5818ca- -_0x3e1f26._0x52493f);}function _0x3db341(_0x32a534,_0x237cdb,_0x41acea,_0x5d1801){return _0x331406(_0x32a534-_0x5a8cd9._0x394ae9,_0x32a534,_0x41acea-_0x5a8cd9._0x56295a,_0x237cdb- -_0x5a8cd9._0x54f85a);}if(!_0x570b81){_0x1440e1(!0x0);try{await _0x2fb7d8(_0x4d60f0(_0x24ba59._0x2eb812,0x571,0x517,_0x24ba59._0x4bb31b),_0x2555d4,_0x3db341(_0x24ba59._0x406bfd,0x86,_0x24ba59._0x3e7fdf,-_0x24ba59._0x2f1e2d));let _0xd4c6eb=_0x56a018||_0x356d5b;_0xd4c6eb&&await _0x2fb7d8(_0x4d60f0(0x524,_0x24ba59._0x356a50,_0x24ba59._0x59ab21,_0x24ba59._0x42b3f4),_0xd4c6eb,'global'),_0x2f2ed0(_0x4d60f0(_0x24ba59._0x108933,0x2a3,_0x24ba59._0x418202,_0x24ba59._0x303412)),setTimeout(()=>{_0x34a247();},0x5dc);}catch(_0x52c45e){console[_0x4d60f0(_0x24ba59._0x3e3f00,_0x24ba59._0x852bd8,0x5d4,0x561)](_0x4d60f0(0x488,0x465,_0x24ba59._0x104aef,0x54e),_0x52c45e),_0x1440e1(!0x1);}}},_0x51cb01=_0xd0baa4(async()=>{const _0x5b7158={_0x59ab50:0xa6,_0x4114f7:0x76};function _0x39a214(_0x17b49c,_0x5bc356,_0xcdedcb,_0x36f160){return _0x4077ac(_0x36f160,_0x5bc356-0xaf,_0x5bc356- -_0x324328._0xdaae71,_0x36f160-0x158);}if(!_0x51073c){_0xf52f50([]),_0x2f2ed0(_0x21fe8a(0x91,0x99,_0x31852d._0x5f8abb,0x5f));return;}_0x2f2ed0('loading-models'),_0x8f5046(null);function _0x21fe8a(_0x3cdd9f,_0x30928b,_0x16fd06,_0x20ada8){return _0x4077ac(_0x3cdd9f,_0x30928b-_0x5b7158._0x59ab50,_0x16fd06- -0x4cd,_0x20ada8-_0x5b7158._0x4114f7);}try{if(!_0x51073c?.['getModels'])throw new Error('LLM\x20factory\x20does\x20not\x20support\x20getModels');let _0x4c1bc2=await _0x51073c['getModels'](_0x2555d4);_0xf52f50(_0x4c1bc2),_0x2f2ed0(_0x39a214(0x353,_0x31852d._0x10f4d7,0x3ef,0x48f));}catch(_0x3168cd){_0x8f5046(_0x3168cd instanceof Error?_0x3168cd['message']:_0x21fe8a(_0x31852d._0x3baeb3,0xb2,-0x5a,_0x31852d._0x5c8f89)),_0xf52f50([]),_0x2f2ed0(_0x21fe8a(-0x3c,-0x7,_0x31852d._0x533c7f,0x4c));}},[_0x51073c,_0x2555d4]),_0x2c94f7=async _0x54dcf6=>{const _0x6e682b={_0x1fbb63:0x13c,_0x45eceb:0x19,_0x2a504c:0x7a6};function _0x20e2b5(_0x411a53,_0x16c5ef,_0x4f9f61,_0x118c65){return _0x4077ac(_0x4f9f61,_0x16c5ef-_0x5d3bc4._0x13d8a6,_0x118c65- -0x2ba,_0x118c65-0x1d2);}function _0xc22400(_0x30d579,_0xca3b04,_0x82cbfb,_0x1eaf4c){return _0x331406(_0x30d579-_0x6e682b._0x1fbb63,_0x1eaf4c,_0x82cbfb-_0x6e682b._0x45eceb,_0x82cbfb- -_0x6e682b._0x2a504c);}if(_0x54dcf6[_0xc22400(-0x1c2,-0x303,-_0x22634b._0x36a917,-_0x22634b._0x55701d)]())try{await _0xcb2a79(_0x2555d4,_0x54dcf6[_0x20e2b5(-_0x22634b._0x30d586,0x226,_0x22634b._0x18dc88,_0x22634b._0x4917b6)]()),await _0x51cb01();}catch(_0x5aed3b){console[_0x20e2b5(0x296,0x1fa,_0x22634b._0x43c428,_0x22634b._0x28f070)](_0x20e2b5(_0x22634b._0x2bf4c1,0x219,0x3f9,_0x22634b._0x38b0d4),_0x5aed3b);}},_0x7155c9=async _0x3ef781=>{function _0x42a91a(_0x39f0d1,_0x1532fd,_0x54dcff,_0x6d3d80){return _0x331406(_0x39f0d1-_0x48979e._0x246614,_0x6d3d80,_0x54dcff-_0x48979e._0x12d4f1,_0x1532fd- -0x573);}function _0x150602(_0x484a42,_0x2c2827,_0x1e8d96,_0x59e2e3){return _0x4077ac(_0x1e8d96,_0x2c2827-0x170,_0x2c2827-_0xb6fd5c._0x4036ac,_0x59e2e3-0x1c8);}if(!(!_0x3ef781[_0x150602(_0x5749fa._0x3f6d14,_0x5749fa._0x30b9ca,0x3da,_0x5749fa._0x168158)]()||_0x11f5b3[_0x150602(0x64b,0x636,0x584,0x645)]!=='pending'))try{let _0x2ed348=await _0x1e901f(_0x3ef781[_0x42a91a(-0xe1,-0x50,-0x4f,0x38)](),_0x11f5b3[_0x42a91a(_0x5749fa._0x57bb60,0x124,_0x5749fa._0x29c0f9,0x97)]);if(_0x2ed348['type']==='failed'){console[_0x150602(0x53a,0x63c,_0x5749fa._0x1e234f,0x620)](_0x42a91a(0x1e8,0x1f1,0x304,_0x5749fa._0x41539c));return;}if(_0x5937ee===_0x42a91a(0x81,_0x5749fa._0xc071fc,_0x5749fa._0x5b312d,0x239)){if(!_0x2ed348['access']){console[_0x150602(_0x5749fa._0x1b8b65,0x63c,_0x5749fa._0x1da2a7,0x64f)](_0x150602(0x563,_0x5749fa._0x4ab598,_0x5749fa._0x59e63e,_0x5749fa._0x1d3953));return;}let _0x482cf4=await _0xddfaed(_0x2ed348[_0x42a91a(0x89,_0x5749fa._0x1ba174,-0xc5,0x1b6)]);if(_0x482cf4[_0x42a91a(-0x4d,-_0x5749fa._0x344a50,-0x160,-0x40)]===_0x150602(0x5bf,0x621,_0x5749fa._0x57f10b,0x5d8)||!_0x482cf4['key']){console['error'](_0x150602(_0x5749fa._0x189653,_0x5749fa._0x456326,_0x5749fa._0x21c8e0,0x4fa));return;}await _0xcb2a79(_0x2555d4,_0x482cf4[_0x150602(_0x5749fa._0x2804c8,0x563,0x4cb,0x670)]);}else{if(!_0x2ed348[_0x42a91a(-0x49,_0x5749fa._0xb10695,_0x5749fa._0x56012f,0x1c0)]||!_0x2ed348['refresh']){console['error'](_0x150602(0x68c,_0x5749fa._0x2ec096,_0x5749fa._0x4358b0,_0x5749fa._0x460cc2));return;}await _0x48ff4d(_0x2555d4,_0x2ed348[_0x42a91a(_0x5749fa._0x260692,_0x5749fa._0x44d6df,_0x5749fa._0x54af32,_0x5749fa._0xd1ad5d)],_0x2ed348[_0x42a91a(-_0x5749fa._0x8f6fca,0xf3,_0x5749fa._0x969e65,_0x5749fa._0x59c6a6)],_0x2ed348[_0x150602(0x68c,_0x5749fa._0x19ca15,_0x5749fa._0x4d204c,0x566)]);}await _0x51cb01();}catch(_0x16b242){console[_0x42a91a(_0x5749fa._0x957959,0x1bb,_0x5749fa._0x1dba92,0x1c0)]('OAuth\x20failed:',_0x16b242);}};function _0x331406(_0x1bfbbb,_0x3b45d7,_0x31cfc5,_0x5b7860){return _0x120ca0(_0x3b45d7,_0x3b45d7-0x1cb,_0x31cfc5-0x1da,_0x5b7860-_0x3958a0._0x59a772);}function _0x4077ac(_0x106e2c,_0x28b542,_0x2bd6b5,_0x32eba1){return _0x120ca0(_0x106e2c,_0x28b542-_0x306d3b._0x59afc1,_0x2bd6b5-_0x306d3b._0x53a7bb,_0x2bd6b5-_0x306d3b._0x1b8431);}return _0x552bd9(()=>{function _0x4c73d4(_0x18afc5,_0x5366d7,_0x29a87b,_0x5165e7){return _0x4077ac(_0x5165e7,_0x5366d7-0xa,_0x18afc5- -0x31d,_0x5165e7-0x178);}function _0x5ed31a(_0x33a6a2,_0x51aae9,_0x1dcaa8,_0x55ae48){return _0x4077ac(_0x1dcaa8,_0x51aae9-0x76,_0x51aae9- -_0xa16341._0x2f11a8,_0x55ae48-_0xa16341._0x57bf4e);}if(_0x556bb0===_0x4c73d4(0x26b,_0x3b08fd._0x9bef9f,0x34f,0x29a)&&_0x2eafa8[_0x4c73d4(_0x3b08fd._0x111664,0x3fe,0x368,_0x3b08fd._0x3d4e7a)]>0x0&&!_0x356d5b){let _0xcee0d5=_0x2eafa8[0x0];_0xcee0d5&&_0x320377(_0xcee0d5);}},[_0x556bb0,_0x2eafa8,_0x356d5b]),_0x552bd9(()=>{function _0x3ad1e9(_0x546c6c,_0x340bee,_0x59fb31,_0x492616){return _0x4077ac(_0x546c6c,_0x340bee-0x104,_0x492616- -_0x4c7d37._0x3173bd,_0x492616-0x1e4);}function _0x3c2ff8(_0x423a2f,_0x28d02b,_0x3e4adf,_0x4e0f76){return _0x4077ac(_0x4e0f76,_0x28d02b-_0x235b26._0x21084b,_0x3e4adf-_0x235b26._0x1b4e1c,_0x4e0f76-_0x235b26._0x2172b3);}_0x273dd2[_0x3ad1e9(0x25c,_0x6f1198._0xb99bc,_0x6f1198._0x129796,0x367)]===_0x3ad1e9(0x3b4,0x268,0x279,_0x6f1198._0x2549fc)&&_0x556bb0==='auth-device-flow'&&_0x3c2ff8(0x5cc,0x458,0x49a,_0x6f1198._0x14b8d0)in _0x273dd2&&_0x273dd2[_0x3c2ff8(_0x6f1198._0x461b71,_0x6f1198._0x1a67c5,0x49a,_0x6f1198._0x2809fb)]&&((async()=>(await _0xcb2a79(_0x2555d4,_0x273dd2[_0x3c2ff8(0x536,0x33d,0x49a,0x5e2)]),await _0x51cb01()))());},[_0x273dd2[_0x331406(0x796,_0x34022._0x46bdb2,_0x34022._0x97ba16,0x728)],_0x556bb0,_0x273dd2,_0x2555d4,_0xcb2a79,_0x51cb01]),_0x287feb(_0xc68da1,{'flexDirection':_0x331406(_0x34022._0x35302c,0x63a,0x5d4,_0x34022._0x4eceb3),'width':_0x331406(0x763,0x5f5,0x76a,_0x34022._0x555a2c),'paddingX':0x2,'paddingY':0x1,'children':[_0x287feb(_0xc68da1,{'alignItems':'center','paddingBottom':0x1,'flexDirection':_0x331406(_0x34022._0x2184fc,0x6a3,0x500,_0x34022._0x4eceb3),'children':[_0x1628e1(_0x549deb,{'colors':[_0x331406(0x52b,_0x34022._0x4aad22,0x5be,_0x34022._0x284bb9),_0x4077ac(0x438,0x2bd,_0x34022._0x7441ab,_0x34022._0x902225)],'children':_0x1628e1(_0x5b6f06,{'children':Tl})}),_0x1628e1(_0xc68da1,{'alignSelf':_0x331406(_0x34022._0x2bf6af,_0x34022._0x129acf,_0x34022._0x141690,0x685),'marginRight':0x14,'children':_0x1628e1(_0x549deb,{'colors':['#FF5F6D',_0x4077ac(0x512,0x3ec,_0x34022._0x7441ab,_0x34022._0x57864a)],'children':_0x1628e1(_0x5b6f06,{'children':'v'+_0x2d3d24()})})})]}),_0x287feb(_0xc68da1,{'flexDirection':_0x4077ac(_0x34022._0x1affad,_0x34022._0x2465be,0x51c,_0x34022._0x279c04),'alignItems':_0x4077ac(0x699,_0x34022._0x261c11,0x61d,0x76e),'marginTop':0x1,'marginBottom':0x1,'children':[_0x287feb(_0x5b6f06,{'color':_0xf300ac[_0x331406(0x699,_0x34022._0x5472be,0x63c,_0x34022._0x437a93)][_0x4077ac(0x4f7,_0x34022._0x215a41,0x471,_0x34022._0x426cbb)],'bold':!0x0,'children':[_0x556bb0===_0x331406(_0x34022._0x24c08d,_0x34022._0x1d184e,_0x34022._0x317bd7,_0x34022._0x27ff9f)&&_0x331406(_0x34022._0x33c0e8,0x608,_0x34022._0xc0a810,_0x34022._0xb7ccbb),_0x556bb0==='auth-method'&&'Authentication\x20Method',_0x556bb0==='auth-input'&&'Enter\x20Credentials',_0x556bb0===_0x331406(_0x34022._0x2ab9c8,_0x34022._0x3c7dad,_0x34022._0x2a404a,0x6e6)&&_0x4077ac(_0x34022._0x2f5cfd,0x4c8,_0x34022._0x329832,0x412),_0x556bb0===_0x4077ac(_0x34022._0x134dff,_0x34022._0x5a3b6f,_0x34022._0x40fa41,_0x34022._0x1917d6)&&'OAuth\x20Authorization',_0x556bb0==='loading-models'&&'Loading\x20Models',_0x556bb0===_0x331406(_0x34022._0x4afaf6,0x63d,_0x34022._0x59089a,_0x34022._0xdcf87f)&&_0x4077ac(_0x34022._0x183271,0x491,0x54f,_0x34022._0x2df38a),_0x556bb0===_0x4077ac(0x393,0x57e,0x443,0x477)&&_0x331406(0x762,_0x34022._0x42dd07,_0x34022._0x2dcd61,0x605),_0x556bb0===_0x4077ac(0x426,0x3b6,_0x34022._0x4e04ec,_0x34022._0x3d34bc)&&_0x4077ac(_0x34022._0x3ac06b,0x483,0x503,0x54c)]}),_0x287feb(_0x5b6f06,{'color':_0xf300ac[_0x331406(0x74f,0x5f6,_0x34022._0x439764,_0x34022._0x437a93)][_0x331406(_0x34022._0x501655,_0x34022._0x51a862,0x4aa,_0x34022._0x42c517)],'dimColor':!0x0,'children':[_0x556bb0===_0x331406(_0x34022._0x486ad6,_0x34022._0x3eedb4,0x5ab,0x682)&&_0x331406(_0x34022._0x253fd8,0x81f,_0x34022._0x57b962,0x6da),_0x556bb0===_0x4077ac(0x637,0x523,_0x34022._0x177701,_0x34022._0x2a04cb)&&_0x4077ac(_0x34022._0x3ab681,_0x34022._0x2f3dca,_0x34022._0x4a7808,_0x34022._0x1ab20c),_0x556bb0==='auth-input'&&_0x4077ac(_0x34022._0x30e669,0x606,_0x34022._0x2bf6af,0x440)+_0x4644cf?.[_0x331406(0x526,_0x34022._0x43685b,_0x34022._0x240112,_0x34022._0x39e898)]+_0x331406(_0x34022._0x3e241f,0x597,_0x34022._0x29a805,_0x34022._0x463ac6),_0x556bb0===_0x331406(_0x34022._0x379ac0,_0x34022._0x426cbb,_0x34022._0xcf6e43,0x6e6)&&_0x331406(0x635,_0x34022._0x5aa48c,0x7dc,0x699),_0x556bb0===_0x331406(_0x34022._0x4c3f2b,_0x34022._0x2506f7,0x511,_0x34022._0x32a7cf)&&_0x4077ac(_0x34022._0x68a99f,0x520,_0x34022._0x632e0f,_0x34022._0x4701a2),_0x556bb0===_0x4077ac(_0x34022._0x4ef70f,0x56f,_0x34022._0x307245,_0x34022._0x526e68)&&_0x4077ac(_0x34022._0x212659,0x698,0x5d6,_0x34022._0x327f09)+(_0x4644cf?.[_0x331406(_0x34022._0x1fc2dd,0x675,0x46d,0x573)]||_0x4644cf?.['value']||'selected\x20provider')+_0x4077ac(0x66e,0x51b,_0x34022._0x2a04cb,0x768),_0x556bb0===_0x4077ac(0x4dc,_0x34022._0x4a7044,0x588,_0x34022._0x4a6565)&&_0x4077ac(0x3a9,0x2dd,0x426,_0x34022._0x5a5736),_0x556bb0==='model-custom'&&_0x331406(_0x34022._0x89e8f,0x3d7,0x3f1,0x4f0)+(_0x4644cf?.['label']||_0x4644cf?.[_0x331406(0x7bc,0x7e4,_0x34022._0x5d6db6,0x693)]||_0x331406(_0x34022._0x1977f8,_0x34022._0xd7a6fa,_0x34022._0x4984b3,0x72f))+':',_0x556bb0===_0x4077ac(_0x34022._0x202f3b,_0x34022._0x4d47e8,_0x34022._0x27d428,_0x34022._0x52e894)&&_0x331406(0x794,0x5c5,_0x34022._0x31bfcb,_0x34022._0x3969d9)]})]}),_0x556bb0===_0x331406(_0x34022._0x2039b4,0x6ed,0x5d4,_0x34022._0x3198bf)&&_0x1628e1(_0xc68da1,{'flexDirection':_0x331406(0x6ea,_0x34022._0x577d36,0x70b,_0x34022._0x4eceb3),'alignItems':_0x331406(_0x34022._0x24fe5f,0x69e,0x6b9,_0x34022._0x56fda5),'marginTop':0x1,'children':_0x242351[_0x331406(0x670,0x773,_0x34022._0x581b45,_0x34022._0x38f42d)]===0x0?_0x1628e1(_0xc68da1,{'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x4077ac(_0x34022._0x23fba2,_0x34022._0x10be38,0x562,0x432)][_0x331406(_0x34022._0x3307f4,_0x34022._0x3cd2a0,0x649,0x5d1)],'children':_0x331406(_0x34022._0x3d905d,0x87b,0x6f4,_0x34022._0x5d143c)})}):_0x1628e1(_0x52c665,{'items':_0x242351['map'](_0x530dbf=>{const _0x463f60={_0x499449:0x119,_0x412284:0x125};function _0x5d404c(_0x205a2,_0x36905e,_0x1d9cda,_0x33856f){return _0x4077ac(_0x1d9cda,_0x36905e-0x126,_0x33856f- -_0x463f60._0x499449,_0x33856f-_0x463f60._0x412284);}let [_0x4e89ec,_0x5be9f1]=_0x530dbf[_0x24bb1f(_0x4218ea._0x26af0f,0x159,_0x4218ea._0xa1a502,_0x4218ea._0x2573bf)][_0x24bb1f(0x2ab,0x348,_0x4218ea._0x29f200,0x354)](_0x5d404c(_0x4218ea._0x28f35e,_0x4218ea._0xf1bedc,0x458,0x4dc))?_0x530dbf['label'][_0x5d404c(0x47d,0x636,0x3f3,_0x4218ea._0x57cc70)]('\x20-\x20',0x2):[_0x530dbf[_0x24bb1f(0x201,0x353,_0x4218ea._0x43b665,0x318)],''];function _0x24bb1f(_0x37a963,_0x391a42,_0x59c5d7,_0x3047ef){return _0x331406(_0x37a963-_0x29ad5b._0x170c36,_0x37a963,_0x59c5d7-0xb0,_0x59c5d7- -_0x29ad5b._0x492424);}return{'key':_0x530dbf[_0x5d404c(0x4ae,0x53a,0x2fa,0x455)],'value':_0x530dbf[_0x24bb1f(0x31d,0x342,_0x4218ea._0x424987,_0x4218ea._0x5df742)],'label':_0x4e89ec,'description':_0x5be9f1};}),'itemComponent':({isSelected:_0x422dbb,..._0xe93fc2})=>_0x1628e1(vl,{'isSelected':!!_0x422dbb,..._0xe93fc2}),'onSelect':_0xff5a27})}),_0x556bb0==='auth-method'&&_0x287feb(_0xc68da1,{'flexDirection':_0x4077ac(0x555,_0x34022._0x3d444e,_0x34022._0x5f6a62,0x578),'alignItems':'center','marginTop':0x1,'children':[_0x1628e1(_0xc68da1,{'marginBottom':0x1,'flexDirection':_0x4077ac(_0x34022._0x264f2f,_0x34022._0x5f0aa7,0x51c,_0x34022._0x2e3abd),'alignItems':_0x4077ac(_0x34022._0x392847,_0x34022._0x4d06dc,_0x34022._0xef3a35,0x66e),'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x331406(_0x34022._0x21f88b,0x6ee,0x77e,_0x34022._0x376ca1)][_0x331406(0x469,_0x34022._0x4adf38,0x628,0x596)],'bold':!0x0,'children':_0x4644cf?.['label']})}),_0x1628e1(_0x52c665,{'items':_0xfc068a[_0x331406(0x565,_0x34022._0x1a9294,0x69e,_0x34022._0x20fe8a)](_0x2befeb=>({'key':_0x2befeb[_0x331406(0x551,0x794,0x62c,0x693)],'value':_0x2befeb[_0x331406(0x753,0x5af,0x7cc,0x693)],'label':Cl[_0x2befeb[_0x331406(0x7cf,0x734,0x77b,0x693)]],'description':wl[_0x2befeb['value']]})),'itemComponent':({isSelected:_0x5ef2b2,..._0x4ae922})=>_0x1628e1(kl,{'isSelected':!!_0x5ef2b2,..._0x4ae922}),'onSelect':_0x52ad8c}),_0x1628e1(_0xc68da1,{'marginTop':0x2,'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x4077ac(0x5b9,_0x34022._0x23f4d6,0x5c6,_0x34022._0x110fac)][_0x4077ac(0x424,_0x34022._0x2b8157,0x449,_0x34022._0x4d47e8)],'dimColor':!0x0,'children':_0x331406(0x68a,0x752,_0x34022._0x31b01a,_0x34022._0x88384d)})})]}),_0x556bb0===_0x331406(0x4fe,_0x34022._0x3dbb3a,0x48a,_0x34022._0x57f512)&&_0x287feb(_0xc68da1,{'flexDirection':_0x331406(0x5af,0x64d,_0x34022._0x2c829a,_0x34022._0x593267),'alignItems':'center','marginTop':0x1,'children':[_0x287feb(_0xc68da1,{'borderStyle':_0x331406(_0x34022._0x45dd75,0x405,0x619,_0x34022._0x2b1413),'borderColor':_0xf300ac[_0x331406(0x7e9,0x709,0x75a,_0x34022._0x376ca1)]['hint'],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':'column','children':[_0x1628e1(_0xc68da1,{'marginBottom':0x1,'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x4077ac(0x4f7,_0x34022._0x303e22,0x5c6,0x6ea)][_0x4077ac(_0x34022._0x22fbab,_0x34022._0x132ca0,0x471,0x38d)],'bold':!0x0,'children':_0x4644cf?.[_0x4077ac(0x572,0x318,0x44e,0x396)]})}),_0x1628e1(_0x2e3ade,{'value':_0x51beb6,'onChange':_0x32be80,'onSubmit':_0x2c94f7,'placeholder':Sl[_0x2555d4],'helpText':Rl[_0x2555d4],'mask':'*','theme':{'subtitle':_0xf300ac[_0x4077ac(0x4a1,_0x34022._0x581901,0x5c6,0x494)][_0x331406(0x6b4,0x6c1,_0x34022._0x11eb46,0x56e)]}})]}),_0x1628e1(_0xc68da1,{'marginTop':0x2,'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac['welcome']['subtitle'],'dimColor':!0x0,'children':_0x331406(_0x34022._0x22f57e,0x656,_0x34022._0x3e413c,_0x34022._0x4d6a2c)})})]}),_0x556bb0===_0x331406(_0x34022._0x16f21f,0x6c3,_0x34022._0xa587ca,_0x34022._0x3958f4)&&_0x1628e1(_0xc68da1,{'flexDirection':'column','alignItems':_0x331406(0x67a,0x753,0x891,_0x34022._0x56fda5),'marginTop':0x1,'children':_0x287feb(_0xc68da1,{'borderStyle':_0x331406(_0x34022._0x58c48a,_0x34022._0x4c0f5f,0x4b1,0x512),'borderColor':_0xf300ac[_0x4077ac(_0x34022._0x9de5d,_0x34022._0x58dfca,_0x34022._0x4f66d8,_0x34022._0x1ddc0c)][_0x331406(_0x34022._0x9902e5,0x81d,0x5db,_0x34022._0xb59cc8)],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':_0x4077ac(0x52b,0x564,0x51c,_0x34022._0x1e1d46),'children':[_0x1628e1(_0xc68da1,{'marginBottom':0x1,'children':_0x287feb(_0x5b6f06,{'color':_0xf300ac[_0x331406(0x7aa,0x73f,0x832,_0x34022._0x429203)][_0x4077ac(_0x34022._0xe1b096,0x315,0x471,0x3ee)],'bold':!0x0,'children':[_0x4644cf?.['label'],_0x331406(_0x34022._0x261c11,0x473,_0x34022._0x4f438a,_0x34022._0x2395aa)]})}),_0x1628e1(_0x7d3e6c,{'state':_0x273dd2,'onOpenBrowser':_0x505928,'showCode':!0x0,'theme':{'waiting':_0xf300ac[_0x4077ac(_0x34022._0x2154a7,0x49b,_0x34022._0x47b69c,0x2d7)]['waiting'],'link':_0xf300ac['auth']['link'],'code':_0xf300ac[_0x4077ac(0x3eb,_0x34022._0x53b50a,_0x34022._0x47b69c,0x293)][_0x331406(0x6f4,_0x34022._0x3ec16f,0x60a,0x6ed)],'error':_0xf300ac['auth'][_0x4077ac(_0x34022._0x3fa77e,0x4ad,0x609,_0x34022._0x34f3d9)]}})]})}),_0x556bb0===_0x331406(_0x34022._0x3c6bac,0x723,0x5d2,0x5ca)&&_0x287feb(_0xc68da1,{'flexDirection':'column','alignItems':'center','marginTop':0x1,'children':[_0x287feb(_0xc68da1,{'borderStyle':_0x331406(0x59f,_0x34022._0x5a642e,_0x34022._0x23ac0f,_0x34022._0x1f766a),'borderColor':_0xf300ac[_0x331406(_0x34022._0x5011dc,0x68d,_0x34022._0x5de43a,_0x34022._0x376ca1)]['hint'],'paddingX':0x3,'paddingY':0x2,'width':0x46,'flexDirection':_0x331406(0x693,0x650,0x534,0x641),'children':[_0x1628e1(_0xc68da1,{'marginBottom':0x1,'children':_0x287feb(_0x5b6f06,{'color':_0xf300ac['welcome'][_0x4077ac(0x4a9,0x3d7,0x471,_0x34022._0x2ec8da)],'bold':!0x0,'children':[_0x4644cf?.[_0x331406(_0x34022._0x4a2b90,0x62b,0x61e,0x573)],_0x331406(_0x34022._0x26d7bf,_0x34022._0x3679ae,_0x34022._0x823c5b,_0x34022._0x28dc0f)]})}),_0x1628e1(_0x3cfa35,{'state':_0x11f5b3,'code':_0x32198d,'onCodeChange':_0x1a3ff4,'onSubmit':_0x7155c9,'onOpenBrowser':_0x54a875,'theme':{'waiting':_0xf300ac[_0x4077ac(_0x34022._0x5a3eb0,_0x34022._0x47b69c,_0x34022._0x47b69c,0x265)][_0x4077ac(_0x34022._0x24af22,_0x34022._0x30c47c,_0x34022._0xbf19d3,0x4fa)],'link':_0xf300ac[_0x331406(0x4e4,0x46b,_0x34022._0x3605c1,_0x34022._0x877e38)][_0x331406(_0x34022._0x5f4142,0x442,_0x34022._0x20a0ff,_0x34022._0x5c6399)],'error':_0xf300ac[_0x4077ac(_0x34022._0x58dcb6,_0x34022._0x25c5ab,0x3c6,0x291)][_0x4077ac(0x696,0x65b,_0x34022._0x1e398a,0x6b6)],'subtitle':_0xf300ac[_0x331406(0x76c,0x634,_0x34022._0xc8534a,_0x34022._0x4eddee)][_0x331406(0x646,0x60a,_0x34022._0x5abb0a,_0x34022._0x42c517)]}})]}),_0x11f5b3[_0x331406(_0x34022._0x5472be,_0x34022._0x45cb40,0x633,_0x34022._0x1b8d90)]===_0x4077ac(0x4dd,_0x34022._0xc94589,0x5a2,0x501)&&_0x1628e1(_0xc68da1,{'marginTop':0x2,'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x4077ac(0x4ed,_0x34022._0x40b12d,0x5c6,0x532)]['subtitle'],'dimColor':!0x0,'children':_0x4077ac(0x48c,_0x34022._0x2bc631,_0x34022._0x39a6a7,0x356)})})]}),_0x556bb0===_0x331406(_0x34022._0x523e2b,_0x34022._0x2f0395,0x642,0x790)&&_0x1628e1(_0xc68da1,{'flexDirection':_0x331406(_0x34022._0x3c064e,_0x34022._0x93af0e,_0x34022._0x5d44dc,0x641),'alignItems':'center','marginTop':0x2,'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x331406(_0x34022._0xa587ca,0x5ab,_0x34022._0x1e739e,_0x34022._0x2bc673)]['info'],'children':'Loading\x20models...'})}),_0x556bb0===_0x331406(0x5b3,_0x34022._0x3f2b26,_0x34022._0x1ad701,_0x34022._0xdcf87f)&&_0x287feb(_0xc68da1,{'flexDirection':'column','alignItems':_0x331406(_0x34022._0x499d69,_0x34022._0x98e51d,_0x34022._0xad1b48,_0x34022._0x56fda5),'marginTop':0x1,'children':[_0x287feb(_0xc68da1,{'marginBottom':0x1,'flexDirection':_0x4077ac(_0x34022._0x39aa0a,_0x34022._0x42253b,0x51c,0x622),'alignItems':_0x4077ac(_0x34022._0x3e776c,0x65c,_0x34022._0xef3a35,_0x34022._0x5c62fb),'children':[_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x331406(_0x34022._0x36da6d,0x5b7,_0x34022._0x153883,_0x34022._0x394891)]['title'],'bold':!0x0,'children':_0x4644cf?.[_0x4077ac(_0x34022._0x5709c8,_0x34022._0x3e413c,0x44e,_0x34022._0x1afddc)]}),_0x284025&&_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x4077ac(_0x34022._0xf00ed5,0x504,_0x34022._0x937877,_0x34022._0x27fe70)][_0x4077ac(0x53d,0x4fa,0x4ac,_0x34022._0x5c2b87)],'dimColor':!0x0,'children':_0x284025}),_0x32388f[_0x4077ac(0x4ee,_0x34022._0xc0b7f1,_0x34022._0xaf78c1,_0x34022._0x13fd12)]>0x0&&_0x287feb(_0x5b6f06,{'color':_0xf300ac['welcome'][_0x331406(_0x34022._0x444186,0x6a0,_0x34022._0x8e46c8,_0x34022._0x42c517)],'dimColor':!0x0,'children':[_0x2eafa8[_0x4077ac(0x68b,0x6a4,0x5e3,_0x34022._0x274e2e)],_0x331406(0x72f,_0x34022._0x3e413c,0x64c,0x6d2)]})]}),_0x2eafa8['length']>0xa?_0x1628e1(_0x4573a6,{'items':_0x2eafa8[_0x331406(_0x34022._0x253719,0x564,_0x34022._0x3b208a,0x559)](_0x1bf4f0=>({'label':_0x1bf4f0,'value':_0x1bf4f0})),'placeholder':_0x331406(_0x34022._0x188150,_0x34022._0x29aa13,_0x34022._0x2325da,_0x34022._0x22f563),'maxDisplayItems':0xa,'enableRotation':!0x0,'onSelect':_0xc9e9f4=>_0x192ca3({'label':_0xc9e9f4['label'],'value':_0xc9e9f4[_0x331406(0x76e,0x66c,0x624,0x693)],'key':_0xc9e9f4[_0x331406(0x6d4,0x7e9,0x5b9,0x693)]}),'onCancel':()=>_0x2f2ed0(_0x331406(0x66f,0x5fa,0x708,0x69d))}):_0x1628e1(_0x52c665,{'items':[..._0x2eafa8[_0x331406(_0x34022._0x4d46c5,_0x34022._0x3f75b9,_0x34022._0xc17c28,0x559)](_0x2f121f=>({'key':_0x2f121f,'value':_0x2f121f,'label':_0x2f121f})),{'key':_0x331406(_0x34022._0x4984b3,_0x34022._0x485a5e,_0x34022._0x5ce8f9,0x632),'value':_0x331406(0x567,0x560,_0x34022._0x269ad4,0x632),'label':'🎯\x20Enter\x20custom\x20model\x20name...'}],'onSelect':_0x192ca3})]}),_0x556bb0===_0x4077ac(0x33b,0x3b4,0x443,0x2fa)&&_0x287feb(_0xc68da1,{'flexDirection':_0x4077ac(0x5c4,_0x34022._0x13ab0a,0x51c,0x4fd),'alignItems':_0x331406(0x5fe,0x79d,_0x34022._0x274e2e,_0x34022._0x56fda5),'marginTop':0x1,'children':[_0x287feb(_0xc68da1,{'marginBottom':0x1,'children':[_0x1628e1(_0x5b6f06,{'color':_0xf300ac['welcome'][_0x4077ac(_0x34022._0x14a3ba,_0x34022._0x4bb300,_0x34022._0x21e66a,0x491)],'children':_0x4077ac(0x5da,0x58c,_0x34022._0x369ff4,_0x34022._0x524516)}),_0x1628e1(_0x3cd058,{'value':_0x33a9d6,'onChange':_0x4d7a16,'onSubmit':_0x21d227,'placeholder':_0x331406(_0x34022._0x35537c,0x657,_0x34022._0x5863c0,_0x34022._0x58163e)})]}),_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x331406(_0x34022._0x4fd0f1,_0x34022._0x42c8b3,0x72b,_0x34022._0x4fb3c5)][_0x4077ac(_0x34022._0x10a540,0x2e7,0x449,_0x34022._0x4c65e2)],'dimColor':!0x0,'children':'Press\x20Enter\x20to\x20save,\x20Esc\x20to\x20go\x20back'})]}),_0x556bb0===_0x331406(_0x34022._0x5981e0,0x5a6,0x3f0,0x4fa)&&_0x1628e1(_0xc68da1,{'flexDirection':'column','alignItems':_0x331406(0x768,_0x34022._0x1a0edf,0x7dc,0x742),'marginTop':0x2,'children':_0x1628e1(_0x5b6f06,{'color':_0xf300ac[_0x4077ac(_0x34022._0x24af22,0x3eb,_0x34022._0x212659,_0x34022._0x329832)][_0x331406(_0x34022._0x10dc38,0x467,_0x34022._0x430718,_0x34022._0x31bd3f)],'children':_0x331406(0x561,_0x34022._0x52c0d5,_0x34022._0x2794c0,_0x34022._0x25ddf2)})})]});}import{Box as _0x257e32,Text as _0x3e8899}from'ink';import{jsx as _0x44c8b5,jsxs as _0x50ae31}from'react/jsx-runtime';import{useRef as _0x2b8fb7,useCallback as _0x59994b,useState as _0x988498,useEffect as _0xe6715e,forwardRef as _0xca0d5d,useImperativeHandle as _0x20ad9a,createContext as _0x7951e4,useContext as _0x5e3c79}from'react';import{Box as _0x2a6b7a,useStdout as _0x5d6807,useStdin as _0x56fb0d}from'ink';import{jsx as _0x4ca8dc}from'react/jsx-runtime';var Dl=_0x7951e4({'enableMouseMode':()=>{},'disableMouseMode':()=>{},'isMouseModeEnabled':!0x1,'renderOffsetY':0x0,'setRenderOffsetY':()=>{}}),qr=()=>_0x5e3c79(Dl);function Nl(_0x19efb0){const _0x19dfab={_0x64199a:0x3ef,_0x318f05:0x2aa,_0x4a0df0:0x41e,_0x4fa8a4:0x28d,_0x41adcd:0x3ad,_0x5c7a7c:0x329,_0x421ccb:0x3a2,_0x5bb3b6:0x28d,_0x182ec4:0x143,_0x4c2070:0x159,_0x2f2c15:0x28c,_0x270b99:0x241,_0x3ab249:0x2cf,_0x152ef0:0x1eb,_0x2426e9:0x2ec,_0x1083e0:0x72,_0x15ea30:0x286,_0x25c8fa:0x201,_0x48b32a:0x1b2,_0x2bad69:0x3ad,_0x5a1d0f:0x3d5,_0x2c84bf:0x3b9,_0x2616f7:0x29e,_0x209c9e:0x1b5},_0x5d1161={_0x31672b:0x2ca,_0x5dd237:0x1f4};let _0x3e80a1=_0x19efb0[_0x2d153d(_0x19dfab._0x64199a,_0x19dfab._0x318f05,_0x19dfab._0x4a0df0,_0x19dfab._0x4fa8a4)](/\x1b\[<(\d+);(\d+);(\d+)([Mm])/);if(_0x3e80a1){let _0x200554=parseInt(_0x3e80a1[0x1],0xa),_0x47da0e=parseInt(_0x3e80a1[0x2],0xa),_0x5b0ae8=parseInt(_0x3e80a1[0x3],0xa),_0x382d8=_0x3e80a1[0x4]==='m';return _0x200554===0x40?{'type':'wheel-up','button':_0x200554,'x':_0x47da0e,'y':_0x5b0ae8}:_0x200554===0x41?{'type':_0x2d153d(_0x19dfab._0x41adcd,0x28a,_0x19dfab._0x5c7a7c,0x494),'button':_0x200554,'x':_0x47da0e,'y':_0x5b0ae8}:_0x200554>=0x20&&_0x200554<0x40?{'type':_0x46bd24(_0x19dfab._0x421ccb,_0x19dfab._0x5bb3b6,_0x19dfab._0x182ec4,0x131),'button':_0x200554-0x20,'x':_0x47da0e,'y':_0x5b0ae8}:_0x382d8?{'type':_0x46bd24(_0x19dfab._0x4c2070,_0x19dfab._0x2f2c15,0x164,0x16c),'button':_0x200554,'x':_0x47da0e,'y':_0x5b0ae8}:{'type':_0x46bd24(0x91,0x1b5,0x8b,_0x19dfab._0x270b99),'button':_0x200554,'x':_0x47da0e,'y':_0x5b0ae8};}function _0x46bd24(_0x17761a,_0x2a5d82,_0x32132a,_0x49f82a){return _0x286169(_0x17761a-0x1f4,_0x2a5d82- -_0x5d1161._0x31672b,_0x32132a,_0x49f82a-_0x5d1161._0x5dd237);}if(_0x19efb0['length']>=0x6&&_0x19efb0[_0x46bd24(_0x19dfab._0x3ab249,_0x19dfab._0x152ef0,0x27d,0x134)](_0x2d153d(0x2c9,0x3ae,0x293,_0x19dfab._0x2426e9))){let _0x239854=_0x19efb0[_0x46bd24(0x15c,_0x19dfab._0x1083e0,0x112,0xd9)](0x3)-0x20,_0x421362=_0x19efb0[_0x46bd24(0x147,_0x19dfab._0x1083e0,-0x42,-0x88)](0x4)-0x20,_0x4f353b=_0x19efb0[_0x2d153d(_0x19dfab._0x15ea30,0x2f0,_0x19dfab._0x25c8fa,0x185)](0x5)-0x20,_0x359ca6=_0x239854&0x3;return _0x239854===0x40?{'type':_0x46bd24(0x161,0x25f,0x39c,_0x19dfab._0x48b32a),'button':0x40,'x':_0x421362,'y':_0x4f353b}:_0x239854===0x41?{'type':_0x2d153d(_0x19dfab._0x2bad69,0x4d2,0x344,0x2f7),'button':0x41,'x':_0x421362,'y':_0x4f353b}:_0x239854&0x20?{'type':_0x46bd24(_0x19dfab._0x5a1d0f,_0x19dfab._0x5bb3b6,_0x19dfab._0x2c84bf,_0x19dfab._0x2616f7),'button':_0x359ca6,'x':_0x421362,'y':_0x4f353b}:_0x239854===0x3?{'type':'release','button':_0x359ca6,'x':_0x421362,'y':_0x4f353b}:{'type':_0x46bd24(0xa7,_0x19dfab._0x209c9e,0x9a,0x290),'button':_0x359ca6,'x':_0x421362,'y':_0x4f353b};}function _0x2d153d(_0x3685c1,_0xd9f9a8,_0x3d2f55,_0x5274e3){return _0x120ca0(_0xd9f9a8,_0xd9f9a8-0x47,_0x3d2f55-0x52,_0x3685c1- -0xf5);}return null;}var Ol=_0xca0d5d(function({children:_0x441eed,maxHeight:_0xa6d564,width:_0x3313a1,onFocus:_0x505746,onBlur:_0x3c1744,borderStyle:_0x55312d,borderColor:_0x5ceb3a,focusBorderColor:_0x15f2de},_0xdb0cdb){const _0x285185={_0x36d4e9:0x27b,_0x13d91e:0x7d,_0x225548:0x339,_0x31551e:0x2a2,_0x3253a4:0x3d8,_0x3eb0b9:0x2d7},_0x23ecd1={_0x2e89c4:0x1c},_0x45de9e={_0x326884:0x274,_0x42a8fa:0x236},_0xbc926e={_0x346967:0x1c5,_0x49eaa3:0x2c8,_0x1edd3c:0x34a},_0x30d401={_0x492120:0x684,_0x35c652:0x734},_0x59ad1e={_0x22e820:0x93,_0x2639f2:0xa6},_0x5b185e={_0x39c987:0x2c3},_0x94e88f={_0x1b9a31:0x558,_0x4edd9e:0x454,_0x461667:0x59a,_0x543323:0x46c,_0x3ea95e:0x63e,_0x47d641:0x75a,_0x2399aa:0x4f7},_0x4157e3={_0x39030b:0x44,_0x158ae9:0x72,_0x5a52a2:0x9b,_0x4f5854:0x23,_0x43af3e:0x1d2,_0x4bb68e:0x71,_0x48ea05:0x40,_0x2cb580:0x7c,_0x591fe8:0x68,_0x3d2ef4:0xed,_0x5bfe95:0x18,_0x1dfd47:0x89},_0x30b721={_0x297b24:0x19c,_0x30debc:0x166,_0x34974b:0x3c0},_0x1eb60d={_0x4fe41d:0x88};let _0x2f338d=_0x2b8fb7(null),[_0x28b9f6,_0x5f28d8]=_0x988498(!0x1),_0x54c3ba=_0x2b8fb7(!0x1),[_0x20e8f2,_0xf8ac6a]=_0x988498(0x0),{internal_eventEmitter:_0x4bafe3}=_0x56fb0d(),{enableMouseMode:_0x7a0979,disableMouseMode:_0x373cb6,isMouseModeEnabled:_0x310f68,renderOffsetY:_0x4da93c}=qr();function _0x2c9767(_0x1520a4,_0x5e5da8,_0x45e902,_0x5f20e9){return _0x120ca0(_0x5f20e9,_0x5e5da8-0x24,_0x45e902-_0x1eb60d._0x4fe41d,_0x1520a4- -0x23e);}function _0x529331(_0x111bcc,_0x6611d3,_0x22f2a8,_0x910580){return _0x120ca0(_0x910580,_0x6611d3-_0x30b721._0x297b24,_0x22f2a8-_0x30b721._0x30debc,_0x22f2a8- -_0x30b721._0x34974b);}_0xe6715e(()=>(_0x7a0979(),()=>_0x373cb6()),[_0x7a0979,_0x373cb6]);let _0x160384=_0x59994b((_0xd319e5,_0x5b5752)=>{if(!_0x2f338d['current'])return!0x1;function _0x3008a7(_0x31be58,_0x54a6a4,_0x4f385b,_0x178b1e){return _0x55d8(_0x54a6a4- -0x333,_0x178b1e);}function _0x2f09a9(_0x410240,_0x18edbd,_0x41eec2,_0x47eae3){return _0x55d8(_0x410240- -0x2e5,_0x41eec2);}let _0x401551=_0x2f338d[_0x3008a7(-0x25,_0x4157e3._0x39030b,-_0x4157e3._0x158ae9,0x127)][_0x2f09a9(_0x4157e3._0x5a52a2,_0x4157e3._0x4f5854,_0x4157e3._0x43af3e,_0x4157e3._0x4bb68e)](),_0x3efe91=_0x5b5752-_0x4da93c;return _0xd319e5>=_0x401551['x']+0x1&&_0xd319e5<=_0x401551['x']+_0x401551[_0x3008a7(0x102,_0x4157e3._0x48ea05,-_0x4157e3._0x2cb580,-_0x4157e3._0x591fe8)]&&_0x3efe91>=_0x401551['y']+0x1&&_0x3efe91<=_0x401551['y']+_0x401551[_0x3008a7(-_0x4157e3._0x3d2ef4,_0x4157e3._0x5bfe95,0x12,_0x4157e3._0x1dfd47)];},[_0x4da93c]),_0x1e5a96=_0x59994b(_0xe8507c=>{const _0x2e7387={_0x537b29:0xe3};_0xf8ac6a(_0x2f5019=>{let _0x3fce26=Math[_0xdd0829(0xb7,0x182,0x7b,-0x7f)](0x0,_0x2f5019+_0xe8507c);function _0xdd0829(_0xa26c42,_0x56095e,_0x417efc,_0x1fd48c){return _0x55d8(_0xa26c42- -_0x2e7387._0x537b29,_0x1fd48c);}return _0x2f338d['current']?.['scrollTo']({'x':0x0,'y':_0x3fce26}),_0x3fce26;});},[]),_0x20010a=_0x59994b(()=>{function _0x4175a3(_0x26bfb1,_0x582b33,_0x8dde27,_0x302734){return _0x55d8(_0x26bfb1-0x1e1,_0x8dde27);}function _0xea0c9d(_0xf1cf4d,_0x22d0ba,_0x42fb63,_0xd406d){return _0x55d8(_0x22d0ba-0x35f,_0xd406d);}_0x2f338d[_0x4175a3(_0x94e88f._0x1b9a31,_0x94e88f._0x4edd9e,_0x94e88f._0x461667,_0x94e88f._0x543323)]?.['scrollToBottom']();let _0x47f65a=_0x2f338d['current']?.[_0xea0c9d(0x520,_0x94e88f._0x3ea95e,_0x94e88f._0x47d641,_0x94e88f._0x2399aa)]();_0x47f65a&&_0xf8ac6a(_0x47f65a['y']);},[]),_0x89f0e=_0x59994b(()=>{function _0x5a4e35(_0x57d71b,_0xbe545b,_0x33560e,_0x535232){return _0x55d8(_0x57d71b- -_0x5b185e._0x39c987,_0x535232);}_0x2f338d['current']?.[_0x5a4e35(-_0x59ad1e._0x22e820,0x9f,_0x59ad1e._0x2639f2,-0x97)](),_0xf8ac6a(0x0);},[]),_0x124b40=_0x59994b(()=>{function _0x4201a1(_0x323533,_0x7794b1,_0x2fb530,_0x4a901e){return _0x55d8(_0x4a901e-0x3bd,_0x323533);}_0x5f28d8(!0x0),_0x54c3ba[_0x4201a1(_0x30d401._0x492120,0x635,0x7a0,_0x30d401._0x35c652)]=!0x0,_0x505746?.();},[_0x505746]),_0x364e7a=_0x59994b(()=>{function _0x235807(_0x31fa38,_0x39a7a3,_0x1ff6a4,_0x418bc5){return _0x55d8(_0x39a7a3- -0xaf,_0x418bc5);}_0x5f28d8(!0x1),_0x54c3ba[_0x235807(_0xbc926e._0x346967,_0xbc926e._0x49eaa3,_0xbc926e._0x1edd3c,0x2b3)]=!0x1,_0x3c1744?.();},[_0x3c1744]);return _0x20ad9a(_0xdb0cdb,()=>({'scrollBy':_0x1e5a96,'scrollToTop':_0x89f0e,'scrollToBottom':_0x20010a,'getScrollPosition':()=>_0x2f338d[_0x2c9767(0x39e,0x3bd,0x329,0x3ad)]?.['getScrollPosition'](),'getBounds':()=>_0x2f338d[_0x529331(0x20a,0x286,0x21c,0x21e)]?.['getBounds'](),'focus':_0x124b40,'blur':_0x364e7a}),[_0x1e5a96,_0x89f0e,_0x20010a,_0x124b40,_0x364e7a]),_0xe6715e(()=>{const _0x568e49={_0x3a8b5f:0x2c8,_0x3e6854:0x1de,_0x27357a:0x101,_0x4b3bf8:0x8b,_0x28ea2a:0xbb,_0x352fe1:0x48,_0x2a2a57:0x18d,_0x283460:0x83,_0x2f8581:0xb7,_0x451065:0x19a,_0x250b40:0x53,_0x527f2b:0x9c,_0x241fe5:0x82},_0x548a66={_0x930d9f:0x1ea},_0x556483={_0x2be656:0x341},_0x1d7f0f={_0x5062a7:0x8b,_0x1be819:0x1f4,_0x27b19b:0x114};function _0x228e51(_0x5e1214,_0x3232ec,_0x2d4149,_0x1d3dbe){return _0x529331(_0x5e1214-_0x1d7f0f._0x5062a7,_0x3232ec-_0x1d7f0f._0x1be819,_0x3232ec- -_0x1d7f0f._0x27b19b,_0x5e1214);}if(!_0x310f68)return;let _0x3d58e6=_0x53b143=>{let _0xada831=Nl(_0x53b143);if(!_0xada831)return;function _0x1626d0(_0x2df12e,_0xfbda97,_0x5cdb54,_0x68b1bf){return _0x55d8(_0x68b1bf- -_0x556483._0x2be656,_0x5cdb54);}function _0xc76b96(_0x576b58,_0x109223,_0x393bbd,_0x560de3){return _0x55d8(_0x560de3- -_0x548a66._0x930d9f,_0x393bbd);}let _0xab719d=_0x160384(_0xada831['x'],_0xada831['y']);_0xada831[_0x1626d0(-0x1a3,-_0x568e49._0x3a8b5f,-_0x568e49._0x3e6854,-0x1a6)]===_0xc76b96(_0x568e49._0x27357a,_0x568e49._0x4b3bf8,_0x568e49._0x28ea2a,0x6f)&&_0xada831[_0x1626d0(-0x66,-0x239,-0x63,-0x125)]===0x0&&(_0xab719d&&!_0x54c3ba[_0x1626d0(0xc7,0xb3,-_0x568e49._0x352fe1,0x36)]?_0x124b40():!_0xab719d&&_0x54c3ba[_0xc76b96(0x132,0x1db,0x22e,_0x568e49._0x2a2a57)]&&_0x364e7a()),(_0x54c3ba[_0x1626d0(-_0x568e49._0x283460,_0x568e49._0x2f8581,0x7e,0x36)]||_0xab719d)&&(_0xada831[_0xc76b96(-_0x568e49._0x451065,_0x568e49._0x250b40,-_0x568e49._0x527f2b,-0x4f)]==='wheel-up'?_0x1e5a96(-0x3):_0xada831['type']===_0xc76b96(0x1a8,0x36,_0x568e49._0x241fe5,_0x568e49._0x250b40)&&_0x1e5a96(0x3));};return _0x4bafe3?.['on'](_0x228e51(-0x1b,0x10f,0xf0,-_0x23ecd1._0x2e89c4),_0x3d58e6),()=>{const _0x1d5341={_0x5e88a0:0xb5};function _0x23d50f(_0x21b585,_0x403290,_0x1f0fd7,_0x3ebe0c){return _0x228e51(_0x3ebe0c,_0x1f0fd7-0x283,_0x1f0fd7-_0x1d5341._0x5e88a0,_0x3ebe0c-0x195);}_0x4bafe3?.[_0x23d50f(0x24b,_0x45de9e._0x326884,_0x45de9e._0x42a8fa,0x12c)]('input',_0x3d58e6);};},[_0x4bafe3,_0x310f68,_0x160384,_0x1e5a96,_0x124b40,_0x364e7a]),_0x4ca8dc(_0x2a6b7a,{'ref':_0x2f338d,'flexDirection':_0x529331(_0x285185._0x36d4e9,0xbe,0x121,_0x285185._0x13d91e),'maxHeight':_0xa6d564,'width':_0x3313a1,'overflow':_0x529331(0x351,_0x285185._0x225548,0x24c,0x10e),'borderStyle':_0x55312d,'borderColor':_0x28b9f6?_0x15f2de??_0x2c9767(_0x285185._0x31551e,0x206,_0x285185._0x3253a4,_0x285185._0x3eb0b9):_0x5ceb3a,'flexShrink':0x0,'children':_0x441eed});});import{createContext as _0x3a1e99,useContext as _0x10366d,useMemo as _0x1b75ab}from'react';import{jsx as _0x3b5333}from'react/jsx-runtime';function _0x286169(_0x4e19b6,_0xac5195,_0x3a5f01,_0x596693){const _0xf0af7={_0x1bd989:0x226};return _0x55d8(_0xac5195-_0xf0af7._0x1bd989,_0x3a5f01);}var Hl=_0x3a1e99(void 0x0);function Ex({children:_0x315cf3}){const _0x12d98a={_0x44a1d6:0x420,_0xe158a4:0x27f},_0xe1001c={_0x2c70c2:0x8e,_0x373000:0x8};function _0x1978c0(_0x5d5865,_0x154aa3,_0x531a14,_0x295ec3){return _0x286169(_0x5d5865-_0xe1001c._0x2c70c2,_0x154aa3- -_0xe1001c._0x373000,_0x5d5865,_0x295ec3-0xf4);}let _0x5e83a7=_0x1b75ab(()=>({'registry':_0x2e544a}),[]);return _0x3b5333(Hl[_0x1978c0(_0x12d98a._0x44a1d6,0x38c,0x4a3,_0x12d98a._0xe158a4)],{'value':_0x5e83a7,'children':_0x315cf3});}export{jl as a,Bs as b,Es as c,Hs as d,Vs as e,zt as f,fr as g,Ji as h,ea as i,Zt as j,up as k,bl as l,Ml as m,Ex as n};