@nuvin/nuvin-cli 1.38.0-rc.6 → 2.0.0-rc.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AutoUpdater-GLKCOT3I.js +1 -1
- package/dist/TokenStorage-OZ7HSAEA.js +1 -1
- package/dist/UpdateChecker-KXSUKQKP.js +1 -1
- package/dist/VERSION +2 -2
- package/dist/chunk-2TFHPKJX.js +1 -1
- package/dist/chunk-3YTWOK4O.js +1 -1
- package/dist/chunk-AJHDLTY3.js +1 -1
- package/dist/chunk-BWIY46RS.js +1 -1
- package/dist/chunk-KR7UXN3G.js +1 -1
- package/dist/chunk-NHBPZPAB.js +1 -1
- package/dist/chunk-TGQPOTG5.js +1 -0
- package/dist/chunk-WBEPOGLD.js +1 -0
- package/dist/chunk-WEO4YEYG.js +1 -0
- package/dist/cli.js +1 -1
- package/dist/clipboard-ZREGZN7K.js +1 -1
- package/dist/demo-mode-ZIOLG3TS.js +1 -0
- package/dist/mcp-handler-4NECBU7D.js +1 -1
- package/dist/messageProcessor-KSEXI2A4.js +1 -1
- package/dist/profile-handler-QQEL2P7I.js +1 -1
- package/dist/start-JJF6BUOO.js +1 -0
- package/dist/useSessionManagement-6GCT6P5K.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-FPDQPQM5.js +0 -1
- package/dist/chunk-GS5EUEGG.js +0 -1
- package/dist/chunk-ULURK4LT.js +0 -1
- package/dist/demo-mode-44MD6IH4.js +0 -1
- package/dist/start-KT3YV3S5.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x3583d7,_0x2cd96c){const _0x1a9079={_0x2b34ca:0x349,_0x41a078:0x27f,_0x1e5434:0x471,_0xc72a2d:0x669,_0x33dac0:0x517,_0x45b212:0x3eb,_0x23e3f8:0x4e6,_0x463f3d:0x58e,_0x4ab56d:0x428,_0x139829:0x273,_0x5eb537:0x315,_0x2265f6:0x36c,_0x6435a8:0x409,_0x2b4854:0x30e,_0x5a6ea9:0x230,_0x3d4a1d:0x3fa,_0x571ad6:0x259,_0x2e2a92:0x2cf,_0x892db5:0x2de,_0x313b34:0x15c,_0x1ae99c:0x4fd,_0x48059d:0x32c,_0x5ecdea:0x41a},_0x39cf5c={_0x51bfa1:0x116},_0x5612bf=_0x3583d7();function _0x4614f3(_0x8bbae4,_0x200070,_0x2e47b0,_0x52c9cb){return _0x5737(_0x200070-0x170,_0x2e47b0);}function _0x247acc(_0x132f50,_0x3d419b,_0x914cc5,_0x55ca4a){return _0x5737(_0x55ca4a-_0x39cf5c._0x51bfa1,_0x914cc5);}while(!![]){try{const _0xa1889=parseInt(_0x247acc(0x1f7,0x33b,0x3e7,0x37d))/0x1*(parseInt(_0x247acc(_0x1a9079._0x2b34ca,0x23b,0x3ce,0x25c))/0x2)+parseInt(_0x247acc(_0x1a9079._0x41a078,0x15f,_0x1a9079._0x1e5434,0x2fc))/0x3*(-parseInt(_0x247acc(_0x1a9079._0xc72a2d,0x5de,_0x1a9079._0x33dac0,0x4b5))/0x4)+parseInt(_0x4614f3(_0x1a9079._0x45b212,_0x1a9079._0x23e3f8,_0x1a9079._0x463f3d,_0x1a9079._0x4ab56d))/0x5*(parseInt(_0x4614f3(_0x1a9079._0x139829,_0x1a9079._0x5eb537,0x24e,0x417))/0x6)+-parseInt(_0x247acc(_0x1a9079._0x2265f6,_0x1a9079._0x6435a8,0x419,0x3c9))/0x7*(parseInt(_0x4614f3(0x124,0x2b1,0x18b,0x3bd))/0x8)+-parseInt(_0x4614f3(0x164,_0x1a9079._0x2b4854,0x462,0x162))/0x9+-parseInt(_0x4614f3(_0x1a9079._0x5a6ea9,0x328,_0x1a9079._0x3d4a1d,_0x1a9079._0x571ad6))/0xa+-parseInt(_0x4614f3(_0x1a9079._0x2e2a92,_0x1a9079._0x892db5,_0x1a9079._0x313b34,0x15d))/0xb*(-parseInt(_0x247acc(_0x1a9079._0x1ae99c,0x44f,_0x1a9079._0x48059d,_0x1a9079._0x5ecdea))/0xc);if(_0xa1889===_0x2cd96c)break;else _0x5612bf['push'](_0x5612bf['shift']());}catch(_0x483a29){_0x5612bf['push'](_0x5612bf['shift']());}}}(_0x4587,0x4f24a));import{$ as _0x3535c3,B as _0x981fce,C as _0x56fa25,D as _0x4afe72,E as _0x1805a1,F as _0x22aa20,G as _0x5e7c8a,H as _0xdcc86a,I as _0x179e0b,J as _0x2df2d2,M as _0x510950,N as _0x345616,P as _0x4cc721,Q as _0x42d037,S as _0x3af82d,T as _0x1d81b0,U as _0x32a44e,V as _0x1fb0f6,W as _0x5a2583,X as _0x131b2e,Y as _0x11c28b,Z as _0xed6fa8,a as _0x411345,b as _0xecce90,ba as _0x374653,c as _0x262d5b,ca as _0x213e37,da as _0x2fc612,ea as _0x4883d1,f as _0x528efb,j as _0x23be01,o as _0x4f685a,p as _0x61577f,q as _0x16d003,v as _0x5e2c1a,w as _0x2f257e,x as _0x453987}from'./chunk-WBEPOGLD.js';import{a as _0x58f3e4}from'./chunk-KR7UXN3G.js';import{b as _0x93c79d,c as _0x3b0850,f as _0x27cb9,g as _0x2b1708}from'./chunk-2TFHPKJX.js';import{b as _0x1f6b2d}from'./chunk-BWIY46RS.js';import{a as _0x13148b}from'./chunk-3YTWOK4O.js';import{b as _0x36293a}from'./chunk-AJHDLTY3.js';import*as _0x177815 from'path';import*as _0x3edd89 from'os';import*as _0xed11e0 from'path';import{CommandFilePersistence as _0x53a0f7,sanitizeCommandId as _0xb68008}from'@nuvin/nuvin-core';var jt=class{constructor(_0x3f67fd){const _0x3f7513={_0x2c6a5e:0x336,_0x406669:0x429,_0x2b79ae:0x30e,_0x192984:0x2c1,_0x27b797:0x26e,_0x137649:0x2cb,_0x48b3af:0x232,_0xcd160b:0x4fe,_0x43f12b:0x668,_0x4e6048:0x513,_0x55ab1f:0x3d6,_0x14b6f0:0x536,_0x279586:0x52f,_0x47775c:0x483,_0x450994:0x550,_0x5618f0:0x5ee,_0x34f2c5:0x31d,_0x126d9e:0x1d7,_0x2b3667:0x483,_0x2ebad4:0x4c3,_0x268df5:0x451,_0x4e995a:0x4b7,_0x24bad3:0x457,_0xc31888:0x14e,_0x576608:0x2ec,_0x2fa536:0x65,_0x4b1ccb:0xb,_0x2e9716:0x2c8,_0xc8046f:0x43b,_0x55d96f:0x275,_0x3008dd:0x1f6,_0x5903f0:0xeb};this[_0x32d53c(0x2aa,_0x3f7513._0x2c6a5e,0x457,_0x3f7513._0x406669)]=new Map();function _0x32d53c(_0x5df418,_0x5d18c6,_0x3abfdf,_0x30ab42){return _0x5737(_0x3abfdf-0x231,_0x30ab42);}this[_0x32d53c(_0x3f7513._0x2b79ae,0x32b,0x3fb,_0x3f7513._0x192984)]=new Map();function _0x151f36(_0x2ac0d8,_0x323610,_0x3f9436,_0x2d50f2){return _0x5737(_0x2ac0d8-0xb7,_0x2d50f2);}this[_0x151f36(0x399,_0x3f7513._0x27b797,0x2bf,0x372)]=_0xed11e0[_0x151f36(0x1d7,_0x3f7513._0x137649,_0x3f7513._0x48b3af,0x2e3)](_0x3f67fd[_0x32d53c(_0x3f7513._0xcd160b,_0x3f7513._0x43f12b,_0x3f7513._0x4e6048,_0x3f7513._0x55ab1f)],_0x32d53c(0x505,0x5ad,0x457,0x3d5)),this[_0x32d53c(_0x3f7513._0x14b6f0,_0x3f7513._0x279586,_0x3f7513._0x47775c,_0x3f7513._0x450994)]=_0x3f67fd[_0x32d53c(_0x3f7513._0x5618f0,0x3b1,0x483,_0x3f7513._0x34f2c5)]?_0xed11e0[_0x151f36(_0x3f7513._0x126d9e,0x2d5,0x320,0x212)](_0x3f67fd[_0x32d53c(0x368,0x44c,_0x3f7513._0x2b3667,_0x3f7513._0x2ebad4)],_0x32d53c(_0x3f7513._0x268df5,_0x3f7513._0x4e995a,_0x3f7513._0x24bad3,0x4e3)):void 0x0,this['localDir']=_0xed11e0['join'](_0x3f67fd['localDir'],'commands'),this[_0x151f36(_0x3f7513._0xc31888,_0x3f7513._0x576608,-_0x3f7513._0x2fa536,_0x3f7513._0x4b1ccb)]=_0x3f67fd[_0x32d53c(0x3c7,0x364,_0x3f7513._0x2e9716,_0x3f7513._0xc8046f)],this[_0x151f36(_0x3f7513._0x55d96f,0xd6,_0x3f7513._0x3008dd,_0x3f7513._0x5903f0)]=new _0x53a0f7({'globalDir':this['globalDir'],'profileDir':this['profileDir'],'localDir':this['localDir']});}async[_0x40e58d(0x33a,0x20b,0x20f,0x38c)](){const _0x50f478={_0x2ac7c5:0x4a1},_0x53ea35={_0x3b7a5a:0x19e};function _0x158a88(_0x199f8a,_0x32c78c,_0x5b0feb,_0x21058c){return _0x40e58d(_0x21058c,_0x32c78c-0x108,_0x5b0feb-0x201,_0x21058c-_0x53ea35._0x3b7a5a);}await this[_0x158a88(_0x50f478._0x2ac7c5,0x64f,0x4aa,0x475)]();}async[_0x593b39(0x317,0x1ad,0x78,0x270)](){const _0x1421c3={_0x36980d:0x243,_0x2fc1de:0x8b,_0x5c15dc:0x30,_0x3a86de:0x39,_0x5e02c2:0x286,_0x1dc75e:0x44b,_0x21ff76:0x2ad,_0x5944bf:0x2b8,_0x54231f:0x27b,_0x5a03ce:0x3e,_0x437c94:0x2f,_0x3faca7:0x187,_0x17bf97:0x208,_0x2e5529:0x2a1,_0x2e8904:0x10c,_0x51fb04:0x216,_0x14174f:0x1ae,_0x328344:0x3ff,_0x427fd3:0x2c7,_0x5c8c01:0xf7,_0x370a4c:0x136,_0x12c5d4:0x53,_0x43f302:0x1dc,_0x34afec:0x23b,_0x4b5015:0x1bc,_0x378895:0x2ad},_0x430105={_0x58ba10:0x87,_0xc747d4:0xa8},_0x3025e4={_0x40c9b0:0xa4,_0x1b72f9:0x46};this[_0x279c77(0xec,0x10f,0x287,_0x1421c3._0x36980d)][_0x279c77(-_0x1421c3._0x2fc1de,0x42,0xd7,-0x21d)](),this['allCommands'][_0x279c77(-0x8b,_0x1421c3._0x5c15dc,0x2,_0x1421c3._0x3a86de)]();let _0x234e2b=await this['persistence'][_0x24aef3(0x37a,_0x1421c3._0x5e02c2,0x4cd,0x335)]();function _0x24aef3(_0x265b0c,_0x2629cd,_0x22cbfd,_0x23fd10){return _0x593b39(_0x265b0c-_0x3025e4._0x40c9b0,_0x23fd10-_0x3025e4._0x1b72f9,_0x265b0c,_0x23fd10-0x165);}for(let _0x139226 of _0x234e2b){let _0x22bb82=this['toComplete'](_0x139226);this['allCommands'][_0x24aef3(_0x1421c3._0x1dc75e,0x343,0x257,0x2f4)](_0x22bb82['id'])||this[_0x24aef3(-0x8,_0x1421c3._0x21ff76,_0x1421c3._0x5944bf,0x15d)][_0x279c77(0x1e0,0x1f9,0x2cc,_0x1421c3._0x54231f)](_0x22bb82['id'],[]),this['allCommands']['get'](_0x22bb82['id'])?.[_0x279c77(0xe1,0xc9,0x194,0x51)](_0x22bb82);}function _0x279c77(_0x4f3121,_0x110e8b,_0x39083e,_0x487b41){return _0x593b39(_0x4f3121-0xba,_0x4f3121- -_0x430105._0x58ba10,_0x110e8b,_0x487b41-_0x430105._0xc747d4);}for(let [_0x4193f3,_0x5f2523]of this[_0x24aef3(-_0x1421c3._0x5a03ce,_0x1421c3._0x437c94,_0x1421c3._0x3faca7,0x15d)]){let _0x4f967f=this[_0x24aef3(_0x1421c3._0x17bf97,0x1c8,_0x1421c3._0x2e5529,_0x1421c3._0x2e8904)](_0x5f2523),_0x39c39e=_0x4f967f[0x0];for(let _0xf3e796=0x1;_0xf3e796<_0x4f967f[_0x279c77(0x1af,0x307,0xb1,_0x1421c3._0x51fb04)];_0xf3e796++){let _0x16c99b=_0x4f967f[_0xf3e796];_0x16c99b&&_0x39c39e&&(_0x16c99b[_0x24aef3(_0x1421c3._0x14174f,_0x1421c3._0x328344,_0x1421c3._0x427fd3,0x29b)]=_0x39c39e[_0x24aef3(-0x124,-_0x1421c3._0x5c8c01,-_0x1421c3._0x370a4c,_0x1421c3._0x12c5d4)]);}_0x39c39e&&this[_0x279c77(0xec,0x47,_0x1421c3._0x43f302,0xd7)][_0x24aef3(0x202,_0x1421c3._0x34afec,_0x1421c3._0x4b5015,_0x1421c3._0x378895)](_0x4193f3,_0x39c39e);}}['sortByPriority'](_0x36e39e){const _0x3f7bcd={_0x327dce:0xfb,_0x33b811:0x166,_0x15210e:0x15d},_0x302000={_0x30e9e7:0x173},_0x123bb4={_0x864bda:0x1bb,_0x1ad6ca:0x27d,_0x3e4416:0x17a};let _0x270480={'local':0x0,'profile':0x1,'global':0x2};function _0x2533d4(_0x5b3d2d,_0x3e95c6,_0x59c558,_0x29019c){return _0x593b39(_0x5b3d2d-_0x123bb4._0x864bda,_0x5b3d2d- -_0x123bb4._0x1ad6ca,_0x29019c,_0x29019c-_0x123bb4._0x3e4416);}function _0x4970e8(_0x40b98c,_0x301d05,_0x27e58c,_0x3bc7ff){return _0x593b39(_0x40b98c-0x13d,_0x3bc7ff-0x29a,_0x301d05,_0x3bc7ff-_0x302000._0x30e9e7);}return[..._0x36e39e][_0x2533d4(-_0x3f7bcd._0x327dce,-0x24a,-_0x3f7bcd._0x33b811,-_0x3f7bcd._0x15210e)]((_0x808711,_0x4ab624)=>_0x270480[_0x808711[_0x4970e8(0x391,0x16c,0x392,0x2a7)]]-_0x270480[_0x4ab624[_0x2533d4(-0x270,-0x32c,-0xd2,-0x140)]]);}['toComplete'](_0x5c4f22){const _0x284ca3={_0x33d99d:0x240,_0x394a42:0x228,_0x23008d:0x788,_0x32e9f6:0x842,_0x15e282:0x6b3,_0x15c45c:0xf8,_0x419755:0x178,_0x35517d:0x14f,_0x1da9dc:0x301},_0x302544={_0x170ad7:0x157,_0x80808a:0x1d2},_0x3dd371={_0x8f474c:0x62,_0x333ea7:0x320,_0x5d4eb7:0x1ae};function _0x2d63ec(_0x33c7a8,_0x3de87b,_0x3b79c0,_0x415b59){return _0x40e58d(_0x3de87b,_0x3de87b-_0x3dd371._0x8f474c,_0x415b59-_0x3dd371._0x333ea7,_0x415b59-_0x3dd371._0x5d4eb7);}function _0x12897a(_0x5e255e,_0x1311f8,_0x368b7d,_0x3e2f4e){return _0x40e58d(_0x368b7d,_0x1311f8-0xd8,_0x1311f8- -_0x302544._0x170ad7,_0x3e2f4e-_0x302544._0x80808a);}return{'id':_0x5c4f22['id'],'description':_0x5c4f22['description'],'prompt':_0x5c4f22[_0x12897a(0x1d5,0x9e,_0x284ca3._0x33d99d,_0x284ca3._0x394a42)],'enabled':_0x5c4f22[_0x2d63ec(0x85f,_0x284ca3._0x23008d,_0x284ca3._0x32e9f6,_0x284ca3._0x15e282)]??!0x0,'source':_0x5c4f22[_0x12897a(_0x284ca3._0x15c45c,-0x4e,-0x1c7,0x10c)],'filePath':_0x5c4f22[_0x12897a(_0x284ca3._0x419755,_0x284ca3._0x35517d,-0x35,_0x284ca3._0x1da9dc)]||''};}[_0x40e58d(0x125,0x160,0xe4,0x1b7)](_0x522862,_0x5c7113){const _0x1402af={_0x8673c0:0x247,_0xe6ef6a:0x36f,_0x48b289:0x29,_0x282b33:0x58,_0x4f51f6:0x112,_0x42aba5:0x50b,_0x423001:0x496,_0x401b4d:0xd6,_0x1b7025:0x50,_0x5e9935:0xa1},_0xb160a5={_0x45c3bb:0xde,_0x4ec589:0x217},_0x3cc8a8={_0x2945f1:0x6,_0x33c700:0x28f};function _0xa65a93(_0x35f6ce,_0x5d8a71,_0x43bcac,_0x40c32b){return _0x40e58d(_0x35f6ce,_0x5d8a71-_0x3cc8a8._0x2945f1,_0x40c32b-_0x3cc8a8._0x33c700,_0x40c32b-0xac);}function _0x24d7ca(_0x505c9f,_0xc8ffb4,_0x5f5b75,_0x4d4fbc){return _0x40e58d(_0x505c9f,_0xc8ffb4-_0xb160a5._0x45c3bb,_0xc8ffb4- -_0xb160a5._0x4ec589,_0x4d4fbc-0x1dd);}this[_0xa65a93(0x2fa,0x2b4,_0x1402af._0x8673c0,_0x1402af._0xe6ef6a)]=_0x522862,this['profileDir']=_0x5c7113?_0xed11e0[_0x24d7ca(-0x136,-0xae,0x7e,-0x1f0)](_0x5c7113,_0x24d7ca(-_0x1402af._0x48b289,_0x1402af._0x282b33,_0x1402af._0x4f51f6,0xdc)):void 0x0,this[_0xa65a93(0x38a,_0x1402af._0x42aba5,0x59a,_0x1402af._0x423001)][_0x24d7ca(-_0x1402af._0x401b4d,-_0x1402af._0x1b7025,-_0x1402af._0x5e9935,0xb8)](this['profileDir']);}[_0x593b39(0x3ce,0x2f8,0x29a,0x2dc)](){return this['activeProfile'];}[_0x40e58d(0x3d6,0x3d2,0x327,0x228)](){const _0x5de1be={_0x579104:0x295,_0x13546f:0xc5,_0x22cfe2:0x6d,_0x4a12d0:0x6ea,_0x19ff51:0x697,_0x14e87a:0x50a},_0x5c1510={_0x22ef43:0x15d,_0xb0957d:0x398,_0x5a4cff:0x18f},_0x370f9d={_0x3383d5:0xb6,_0x4caa6f:0x82};function _0x191ee0(_0x1de311,_0xe1d371,_0x335dc6,_0x2aade0){return _0x40e58d(_0x335dc6,_0xe1d371-_0x370f9d._0x3383d5,_0x2aade0- -0x1fb,_0x2aade0-_0x370f9d._0x4caa6f);}function _0x550464(_0x53ee3d,_0xbb0142,_0x25819c,_0x5d04b2){return _0x40e58d(_0xbb0142,_0xbb0142-_0x5c1510._0x22ef43,_0x25819c-_0x5c1510._0xb0957d,_0x5d04b2-_0x5c1510._0x5a4cff);}return this[_0x191ee0(-_0x5de1be._0x579104,0x8e,-_0x5de1be._0x13546f,-0x11b)]!==void 0x0&&this[_0x191ee0(-0x8d,-0x2c1,_0x5de1be._0x22cfe2,-0x11b)]!==_0x550464(0x83f,_0x5de1be._0x4a12d0,_0x5de1be._0x19ff51,_0x5de1be._0x14e87a);}['register'](_0x37d45a){const _0x428fe={_0x1e18d7:0x50a,_0x55acb1:0x92,_0x5e36e8:0x223,_0x566d64:0x2ae,_0x107652:0x1,_0x20b87a:0x651,_0x1ebbef:0x674,_0x41cd7c:0x563,_0xc18122:0x443,_0x17ec66:0x552,_0x3f9f53:0x68a,_0x64c14a:0x620,_0x13441f:0x3f,_0x1b9514:0x5b8,_0x5e0067:0x41,_0x387d44:0xc8},_0x4b88fb={_0x58e693:0x1c3},_0x5443f2={_0x3c843b:0x1ee,_0xeab909:0x2ee,_0x3b80eb:0xef};let _0x4e9c54=this[_0x4e3952(0x321,0x4b8,_0x428fe._0x1e18d7,0x545)](_0x37d45a);this[_0x4e3952(0x65f,0x501,0x42d,0x662)][_0x5cdb21(_0x428fe._0x55acb1,_0x428fe._0x5e36e8,0x13c,_0x428fe._0x566d64)](_0x4e9c54['id'])||this['allCommands'][_0x5cdb21(-0x7b,0x134,0xf5,_0x428fe._0x107652)](_0x4e9c54['id'],[]);let _0x38d68e=this[_0x4e3952(0x60d,0x501,0x579,_0x428fe._0x20b87a)]['get'](_0x4e9c54['id']);if(!_0x38d68e)return;let _0x4d3486=_0x38d68e[_0x4e3952(_0x428fe._0x1ebbef,0x61f,_0x428fe._0x41cd7c,0x501)](_0x493e97=>_0x493e97[_0x5cdb21(-0x16c,-0x1bf,-0x165,0x1c)]===_0x4e9c54[_0x5cdb21(-0x33,-0x1ed,-0x165,-0x302)]);function _0x4e3952(_0x306a3a,_0x1bc25f,_0x134f88,_0x50b871){return _0x40e58d(_0x306a3a,_0x1bc25f-_0x5443f2._0x3c843b,_0x1bc25f-_0x5443f2._0xeab909,_0x50b871-_0x5443f2._0x3b80eb);}_0x4d3486>=0x0?_0x38d68e[_0x4d3486]=_0x4e9c54:_0x38d68e[_0x4e3952(_0x428fe._0xc18122,_0x428fe._0x17ec66,_0x428fe._0x3f9f53,0x589)](_0x4e9c54);let _0x4d7ad0=this['sortByPriority'](_0x38d68e),_0x49468a=_0x4d7ad0[0x0];for(let _0x19f8e8=0x1;_0x19f8e8<_0x4d7ad0[_0x4e3952(0x764,_0x428fe._0x64c14a,0x736,0x51d)];_0x19f8e8++){let _0x2a626b=_0x4d7ad0[_0x19f8e8];_0x2a626b&&_0x49468a&&(_0x2a626b['shadowedBy']=_0x49468a[_0x5cdb21(-0x149,-_0x428fe._0x13441f,-0x165,-0x306)]);}function _0x5cdb21(_0x22eaad,_0x5df6ab,_0x554492,_0x5b9185){return _0x40e58d(_0x22eaad,_0x5df6ab-0x148,_0x554492- -0x26e,_0x5b9185-_0x4b88fb._0x58e693);}_0x49468a&&(_0x49468a[_0x4e3952(0x4d5,0x63f,_0x428fe._0x1b9514,0x497)]=void 0x0,this[_0x5cdb21(_0x428fe._0x5e0067,_0x428fe._0x387d44,0x1,0xc9)]['set'](_0x4e9c54['id'],_0x49468a));}[_0x593b39(0x3e2,0x321,0x3d4,0x3c8)](_0x66b68e,_0x501b60){const _0x4cdd42={_0x3ba7b5:0xf5,_0x527cdd:0xc8,_0x5c9972:0x5c,_0x26a1b6:0x6d,_0x2a4c5d:0x291,_0x380f57:0xf2,_0x364d82:0x106,_0xff4eb3:0x2c,_0x3dfa96:0x7b,_0x342732:0x81,_0x4f457e:0x26f,_0x15cb0c:0x234,_0x58fc19:0xc3,_0x169bbe:0x99,_0x27f177:0xba,_0x72b2d9:0xad,_0x29526d:0x158,_0x547fb6:0x4c,_0x3124e2:0x122,_0xe6c756:0x1d9,_0xb915da:0xc0,_0x41f7d4:0x1e5,_0x3bcbeb:0x69,_0x38e576:0xc,_0x418f62:0x166,_0x24dfda:0x267,_0x1a35ba:0x2fd,_0x409d4a:0x30d,_0x28ba9c:0x15a,_0x2eb008:0x4,_0x2210b3:0x288,_0x6abc46:0x7f,_0x1836cd:0x116,_0x57b163:0xb,_0x2e180b:0x3c,_0x260915:0x1b2,_0x13237f:0x34e,_0x2525ee:0x1d0,_0x5e7d26:0x1ae},_0x862fe8={_0x44c110:0x5d,_0xbc7e14:0x16d},_0x514d37={_0x362aa2:0x93,_0x240186:0x69};function _0x1c4670(_0x5d59bb,_0x3fdad4,_0x62be24,_0x475368){return _0x40e58d(_0x62be24,_0x3fdad4-_0x514d37._0x362aa2,_0x475368- -0x26f,_0x475368-_0x514d37._0x240186);}function _0x158933(_0x13e446,_0x13ac9e,_0x217ab5,_0xb65b6b){return _0x593b39(_0x13e446-0xee,_0x217ab5- -_0x862fe8._0x44c110,_0x13ac9e,_0xb65b6b-_0x862fe8._0xbc7e14);}if(_0x501b60){let _0x4a1773=this[_0x1c4670(-_0x4cdd42._0x3ba7b5,-_0x4cdd42._0x527cdd,-0x36,-_0x4cdd42._0x5c9972)][_0x158933(_0x4cdd42._0x26a1b6,_0x4cdd42._0x2a4c5d,_0x4cdd42._0x380f57,_0x4cdd42._0x364d82)](_0x66b68e);if(_0x4a1773){let _0x554f85=_0x4a1773[_0x1c4670(-0xd9,_0x4cdd42._0xff4eb3,0x1de,0xc2)](_0x87234c=>_0x87234c[_0x158933(0xa8,0x20,-0x50,-0x19)]===_0x501b60);if(_0x554f85>=0x0&&_0x4a1773[_0x158933(-_0x4cdd42._0x3dfa96,-0x68,-_0x4cdd42._0x342732,-0xd4)](_0x554f85,0x1),_0x4a1773[_0x1c4670(_0x4cdd42._0x4f457e,-0x36,_0x4cdd42._0x15cb0c,_0x4cdd42._0x58fc19)]===0x0)this[_0x158933(0x34,-_0x4cdd42._0x169bbe,_0x4cdd42._0x27f177,_0x4cdd42._0x72b2d9)][_0x1c4670(-0x196,-_0x4cdd42._0x29526d,-0x16,-0x1ae)](_0x66b68e),this[_0x158933(_0x4cdd42._0x547fb6,-0x7f,0x116,_0x4cdd42._0x3124e2)][_0x158933(-_0x4cdd42._0xe6c756,0x7e,-0x98,_0x4cdd42._0xb915da)](_0x66b68e);else{let _0x4560d3=this[_0x158933(_0x4cdd42._0x41f7d4,0x77,_0x4cdd42._0x3bcbeb,_0x4cdd42._0x38e576)](_0x4a1773),_0x529084=_0x4560d3[0x0];for(let _0x43d1b6=0x1;_0x43d1b6<_0x4560d3['length'];_0x43d1b6++){let _0x3268c7=_0x4560d3[_0x43d1b6];_0x3268c7&&_0x529084&&(_0x3268c7['shadowedBy']=_0x529084[_0x1c4670(-0x44,-0x168,-0x25c,-_0x4cdd42._0x418f62)]);}_0x529084&&(_0x529084[_0x158933(_0x4cdd42._0x24dfda,_0x4cdd42._0x1a35ba,0x1f8,_0x4cdd42._0x409d4a)]=void 0x0,this[_0x1c4670(0xb0,-_0x4cdd42._0x28ba9c,-0x87,0x0)][_0x1c4670(_0x4cdd42._0x2eb008,_0x4cdd42._0x2210b3,0x145,0xf4)](_0x66b68e,_0x529084));}}}else this[_0x158933(-_0x4cdd42._0x6abc46,0x29b,_0x4cdd42._0x1836cd,-_0x4cdd42._0x57b163)]['delete'](_0x66b68e),this[_0x1c4670(-_0x4cdd42._0x2e180b,-_0x4cdd42._0x260915,-0x200,-0x5c)][_0x1c4670(-_0x4cdd42._0x13237f,-_0x4cdd42._0x2525ee,-0x353,-_0x4cdd42._0x5e7d26)](_0x66b68e);}['get'](_0x447254){const _0x3921d2={_0x27b8d7:0x174,_0x5668d7:0x3,_0x2d47c5:0x8d},_0x58e300={_0x66a09f:0xd5,_0x312493:0x170,_0x27e84b:0xc6};function _0x23f5fd(_0xc89443,_0x174aa1,_0x2bc0d1,_0x3c142f){return _0x593b39(_0xc89443-_0x58e300._0x66a09f,_0x174aa1- -_0x58e300._0x312493,_0x2bc0d1,_0x3c142f-_0x58e300._0x27e84b);}return this[_0x23f5fd(-_0x3921d2._0x27b8d7,_0x3921d2._0x5668d7,_0x3921d2._0x2d47c5,0x65)]['get'](_0x447254);}['list'](_0x2feb35){const _0x47e8bc={_0x1aca84:0x185,_0x507529:0x2e4,_0x5355dc:0x10e,_0x326b46:0x2b8,_0x2283c9:0x221,_0x3bae9c:0x31f,_0xc1cdbf:0x417},_0x591d17={_0x3419e8:0x44},_0x6a3bbf={_0x40d4c4:0x191};function _0x59b468(_0x261536,_0x180468,_0x288bbe,_0x45a922){return _0x593b39(_0x261536-_0x6a3bbf._0x40d4c4,_0x261536- -0x326,_0x288bbe,_0x45a922-0x35);}function _0x4880b7(_0x20d6dc,_0x72ee00,_0x2f4335,_0x3076bd){return _0x40e58d(_0x2f4335,_0x72ee00-0x122,_0x3076bd-0x11a,_0x3076bd-_0x591d17._0x3419e8);}let _0x57371e=Array[_0x59b468(-_0x47e8bc._0x1aca84,0x1b,-_0x47e8bc._0x507529,-0x28e)](this['commands'][_0x59b468(-_0x47e8bc._0x5355dc,-0xd0,0x35,-0x4)]());return _0x2feb35?.[_0x4880b7(_0x47e8bc._0x326b46,_0x47e8bc._0x2283c9,0x35b,0x320)]?_0x57371e:_0x57371e[_0x4880b7(0x4ff,_0x47e8bc._0x3bae9c,0x461,_0x47e8bc._0xc1cdbf)](_0x201fb2=>_0x201fb2[_0x59b468(-0x8f,0x64,-0x17f,-0x4c)]);}[_0x40e58d(0x2ac,0x343,0x28b,0x3ee)](){const _0x996afe={_0x59df74:0x7d,_0x440eaa:0x1bb,_0x1e7e0f:0x40,_0x3ebf33:0x1ee,_0x52d9c2:0x145,_0x4031e7:0x2b9,_0x552efd:0x151},_0x1cb3b9={_0x4c73ac:0x2d4},_0x2646a2={_0x164ef8:0x164};let _0x3c942a=[];function _0x5c18a5(_0x24a48a,_0x1c7d42,_0x33d692,_0x6c89db){return _0x40e58d(_0x6c89db,_0x1c7d42-0xe0,_0x33d692- -0x3b5,_0x6c89db-_0x2646a2._0x164ef8);}function _0x2845ea(_0x33545e,_0x4cabaa,_0xf32d99,_0x1cd959){return _0x40e58d(_0x1cd959,_0x4cabaa-0x1b9,_0x33545e- -_0x1cb3b9._0x4c73ac,_0x1cd959-0x1b);}for(let _0x31cc89 of this[_0x5c18a5(-0x2be,-_0x996afe._0x59df74,-0x1a2,-_0x996afe._0x440eaa)][_0x2845ea(_0x996afe._0x1e7e0f,-0x50,_0x996afe._0x3ebf33,0x29)]())_0x3c942a[_0x5c18a5(-_0x996afe._0x52d9c2,-_0x996afe._0x4031e7,-_0x996afe._0x552efd,-0x128)](..._0x31cc89);return _0x3c942a;}[_0x40e58d(0x2f,0x258,0xc6,-0x94)](_0xbad1f2){const _0x2e7846={_0xbf3d9c:0x629},_0x5f57ef={_0x1636f7:0x18c};function _0x551bce(_0x1ce754,_0x413e1d,_0x30d580,_0x516e5e){return _0x40e58d(_0x1ce754,_0x413e1d-_0x5f57ef._0x1636f7,_0x30d580-0x376,_0x516e5e-0x58);}return this[_0x551bce(0x535,_0x2e7846._0xbf3d9c,0x5e5,0x45d)]['has'](_0xbad1f2);}[_0x593b39(0x293,0x22c,0x387,0x311)](_0x571b07){const _0x457bf7={_0x1ba6aa:0x5a2,_0x3a0179:0x30e,_0x1fd00b:0x434,_0x31653f:0x30e,_0x217ae2:0x31b,_0x196b9f:0x316,_0x393dab:0x41e},_0x37fb98={_0x58ef6e:0x174},_0x4cb905={_0x316800:0xbb};let _0x494557=this['allCommands'][_0x4d008d(0x6a2,_0x457bf7._0x1ba6aa,0x560,0x483)](_0x571b07);function _0x5af59e(_0x558d68,_0x49e551,_0x1fc78c,_0x2d1a88){return _0x40e58d(_0x1fc78c,_0x49e551-0x1ef,_0x49e551-0x102,_0x2d1a88-_0x4cb905._0x316800);}function _0x4d008d(_0x3b5331,_0x2cb62f,_0x2d9871,_0x332ba6){return _0x40e58d(_0x332ba6,_0x2cb62f-0x22,_0x2d9871-0x315,_0x332ba6-_0x37fb98._0x58ef6e);}return!_0x494557||_0x494557[_0x5af59e(_0x457bf7._0x3a0179,_0x457bf7._0x1fd00b,0x2c1,0x3d7)]<=0x1?[]:this[_0x5af59e(0x3b4,0x2c4,_0x457bf7._0x31653f,_0x457bf7._0x217ae2)](_0x494557)[_0x5af59e(_0x457bf7._0x196b9f,0x3f2,0x3e0,_0x457bf7._0x393dab)](0x1);}async[_0x40e58d(0x1c2,0x15f,0x1eb,0x34b)](_0x4273e1){const _0x3e49da={_0x37f16a:0x256,_0x58042b:0x3b0,_0x4a47b6:0x1f4},_0x4b4ef9={_0x2ec843:0x125,_0x36c970:0x14b};function _0x32828c(_0x43c427,_0x518d3f,_0xeeedae,_0x9d6f9){return _0x593b39(_0x43c427-_0x4b4ef9._0x2ec843,_0x43c427-_0x4b4ef9._0x36c970,_0xeeedae,_0x9d6f9-0x56);}await this[_0x32828c(_0x3e49da._0x37f16a,0x12c,_0x3e49da._0x58042b,_0x3e49da._0x4a47b6)]['save'](_0x4273e1),this['register'](_0x4273e1);}async[_0x40e58d(0xd3,0xaf,0xfd,0x13c)](_0x375ec8,_0x410a33){const _0x2859d2={_0x2a134e:0x50,_0x1296a3:0x47,_0x24f256:0x108},_0x17ae9a={_0x23fd64:0x141,_0x13f92d:0x15f},_0x53ae23={_0x17d12a:0x30,_0x51569d:0x10f,_0x521850:0x1af};function _0x33f98d(_0x58c954,_0x53e423,_0x3991cc,_0x5507d3){return _0x40e58d(_0x3991cc,_0x53e423-_0x53ae23._0x17d12a,_0x5507d3- -_0x53ae23._0x51569d,_0x5507d3-_0x53ae23._0x521850);}function _0x8eef18(_0x554903,_0x5f2ff0,_0x31f6ad,_0x30b527){return _0x593b39(_0x554903-_0x17ae9a._0x23fd64,_0x31f6ad- -0xbb,_0x5f2ff0,_0x30b527-_0x17ae9a._0x13f92d);}await this['persistence'][_0x8eef18(-0x18f,-_0x2859d2._0x2a134e,-0xf6,-_0x2859d2._0x1296a3)](_0x375ec8,_0x410a33),this[_0x8eef18(0x1ef,0x173,0x266,_0x2859d2._0x24f256)](_0x375ec8,_0x410a33);}[_0x40e58d(0x12d,0x19b,0x1be,0x1f1)](_0x15e1db,_0x1206da){const _0x121652={_0x3004e8:0x475,_0xbff0fd:0x3cf},_0x17a224={_0x1285e1:0x4f,_0x25bdac:0x25,_0x5bbc50:0x16f},_0x4d4fe1={_0x20d332:0xcd,_0x59a4a1:0x126};function _0x2fc3a2(_0x361cf4,_0x3d8ff4,_0x152a57,_0x5eab1f){return _0x593b39(_0x361cf4-_0x4d4fe1._0x20d332,_0x361cf4-0x3f9,_0x5eab1f,_0x5eab1f-_0x4d4fe1._0x59a4a1);}function _0x4c97ac(_0x2778c6,_0x2d27c8,_0x31133a,_0x2fde9c){return _0x40e58d(_0x2fde9c,_0x2d27c8-_0x17a224._0x1285e1,_0x31133a-_0x17a224._0x25bdac,_0x2fde9c-_0x17a224._0x5bbc50);}let _0x50d96b=this[_0x2fc3a2(0x548,_0x121652._0x3004e8,0x399,_0x121652._0xbff0fd)](_0x15e1db);return _0x50d96b?_0x50d96b[_0x4c97ac(0x1ea,0x397,0x21a,0x13c)][_0x2fc3a2(0x5f3,0x6c1,0x67e,0x6fb)](/\{\{user_prompt\}\}/g,_0x1206da):_0x1206da;}['getSource'](_0x3ce3e2){const _0x37e677={_0x488ca8:0x632,_0x22c377:0x6ca,_0x4f8e51:0x44a,_0xabdde5:0x3b6,_0x1da67c:0x413,_0x4382aa:0x3bb},_0x5e2d55={_0x240543:0x11c,_0x29a0eb:0x30a},_0x980a57={_0x44abfe:0x1d2,_0x56b3e4:0x1b2,_0xb5071d:0x79};function _0x392cea(_0x4e57ed,_0x5c5725,_0x40dd18,_0x41275b){return _0x40e58d(_0x5c5725,_0x5c5725-_0x980a57._0x44abfe,_0x40dd18-_0x980a57._0x56b3e4,_0x41275b-_0x980a57._0xb5071d);}function _0x4e9b5c(_0x322dda,_0x2ecfb4,_0x2b7377,_0xac5894){return _0x40e58d(_0xac5894,_0x2ecfb4-_0x5e2d55._0x240543,_0x2ecfb4-_0x5e2d55._0x29a0eb,_0xac5894-0x1a8);}return this['commands'][_0x4e9b5c(_0x37e677._0x488ca8,0x555,_0x37e677._0x22c377,_0x37e677._0x4f8e51)](_0x3ce3e2)?.[_0x4e9b5c(_0x37e677._0xabdde5,_0x37e677._0x1da67c,_0x37e677._0x4382aa,0x466)];}[_0x593b39(0x11,0x3c,0x199,0x13c)](){const _0x5925c3={_0x8d7e62:0x220,_0x5a7d87:0x662,_0x571879:0x5d1,_0x4e87c0:0x18a,_0x5c2050:0x18,_0x5c13bd:0xe4,_0x5dde02:0x237,_0x470855:0x4de,_0x46bf63:0x44c,_0x2d2a1e:0x5b7},_0x59badc={_0x40e029:0x16f,_0x6b944b:0x4b},_0xe85936={_0x56b13a:0x103};function _0x202056(_0xef0b01,_0x3fe621,_0x341994,_0xbaf9ff){return _0x40e58d(_0xbaf9ff,_0x3fe621-0x1f2,_0x341994- -0x348,_0xbaf9ff-_0xe85936._0x56b13a);}let _0x5946e1=[_0x202056(-0x39,-_0x5925c3._0x8d7e62,-0xd6,-0x228)];function _0x43e6eb(_0x34cc7b,_0x251660,_0x5701a2,_0x2a795e){return _0x593b39(_0x34cc7b-_0x59badc._0x40e029,_0x34cc7b-0x437,_0x2a795e,_0x2a795e-_0x59badc._0x6b944b);}return this[_0x43e6eb(_0x5925c3._0x5a7d87,0x6cc,_0x5925c3._0x571879,0x816)]()&&_0x5946e1[_0x43e6eb(0x59f,0x4ae,0x6f7,0x5c5)]('profile'),_0x5946e1[_0x202056(-_0x5925c3._0x4e87c0,_0x5925c3._0x5c2050,-_0x5925c3._0x5c13bd,-_0x5925c3._0x5dde02)](_0x43e6eb(_0x5925c3._0x470855,_0x5925c3._0x46bf63,0x35c,_0x5925c3._0x2d2a1e)),_0x5946e1;}[_0x593b39(-0x11b,0xb,-0x5,0x11b)](_0x4654f3,_0x155467){const _0x3cf244={_0x4f4ebf:0x2d9,_0x51bd0b:0x177,_0x2309e4:0x466,_0x2b744a:0x198,_0x448c1d:0xc4,_0xf4ccb3:0x117,_0xe94cbb:0x319,_0x2e368e:0xdf,_0x3c26b2:0xfa,_0x3440a2:0x73,_0x43dce2:0xa8},_0x5bb44f={_0x6ebfbb:0x68},_0xf15df5={_0x9cfd02:0x5,_0x3ce36f:0x8b};function _0x47f401(_0x2c4d24,_0x4ee71d,_0x26c4b3,_0x13916a){return _0x40e58d(_0x2c4d24,_0x4ee71d-_0xf15df5._0x9cfd02,_0x4ee71d-_0xf15df5._0x3ce36f,_0x13916a-0x18f);}let _0x287ae8=_0xb68008(_0x4654f3)+_0x10e71c(_0x3cf244._0x4f4ebf,_0x3cf244._0x51bd0b,0x2d4,_0x3cf244._0x2309e4),_0x4da01c=this[_0x10e71c(_0x3cf244._0x2b744a,_0x3cf244._0x448c1d,0x32f,_0x3cf244._0xf4ccb3)][_0x10e71c(0x199,_0x3cf244._0xe94cbb,_0x3cf244._0x2e368e,0x2b6)](_0x155467);function _0x10e71c(_0x526f53,_0x511fbe,_0xc757b0,_0x2b3bac){return _0x40e58d(_0xc757b0,_0x511fbe-_0x5bb44f._0x6ebfbb,_0x526f53- -0x6f,_0x2b3bac-0xef);}return _0xed11e0[_0x10e71c(_0x3cf244._0x3c26b2,_0x3cf244._0x3440a2,0x1b2,-_0x3cf244._0x43dce2)](_0x4da01c,_0x287ae8);}async[_0x40e58d(-0xb,0x22e,0x130,0x171)](){const _0x3650d9={_0x3021ef:0x420,_0x1ef32e:0x68e,_0xc72a8:0x5a9},_0x28ef5f={_0x4ff001:0x39,_0x4f731c:0x3fc,_0x568b58:0x144};function _0x22d4e9(_0x36af39,_0x16953f,_0x3512cc,_0x4e5c1e){return _0x593b39(_0x36af39-_0x28ef5f._0x4ff001,_0x4e5c1e-_0x28ef5f._0x4f731c,_0x36af39,_0x4e5c1e-_0x28ef5f._0x568b58);}await this[_0x22d4e9(0x6fd,_0x3650d9._0x3021ef,_0x3650d9._0x1ef32e,_0x3650d9._0xc72a8)]();}},mt=null,sr=new Set();async function lr(_0x399680){const _0x3dd838={_0x25645b:0x560,_0x35fe0d:0x6b7,_0x30e9e9:0x43e,_0x3ac860:0x67,_0x500435:0x70,_0x1f7ca3:0xf2,_0x315067:0x11a,_0x2c4870:0x3a5,_0x3b7a44:0x1b5,_0x4aebaf:0x2aa,_0x3e0ce7:0x2b,_0x2af828:0x294,_0x2689e9:0x438,_0x14b6e7:0x4a9,_0x42d516:0x5e5,_0x37bc3d:0x488,_0xdd2b2:0x335,_0xbd47c0:0xa5,_0x1256f0:0x1ea,_0xa24ff2:0x364,_0x13be54:0x334,_0x5aef1c:0xdc,_0x50ef45:0x269},_0x1068b8={_0x2ceb23:0x1f1,_0x415361:0x413,_0x8019e5:0x80},_0x4727ea={_0x4192c4:0x158};function _0x50b482(_0xb7caa2,_0x24425f,_0x3cdb26,_0x2cc391){return _0x40e58d(_0x2cc391,_0x24425f-0xbd,_0x3cdb26-_0x4727ea._0x4192c4,_0x2cc391-0xb2);}function _0x15427a(_0x5d89e5,_0x329a6a,_0x529c55,_0x4a69d5){return _0x40e58d(_0x5d89e5,_0x329a6a-_0x1068b8._0x2ceb23,_0x529c55- -_0x1068b8._0x415361,_0x4a69d5-_0x1068b8._0x8019e5);}try{let _0x1dd242=_0x1f6b2d[_0x50b482(0x634,0x5ae,_0x3dd838._0x25645b,_0x3dd838._0x35fe0d)](),_0x42ebb5=_0x1dd242[_0x50b482(0x5e6,0x541,0x483,0x3cb)]||_0x177815[_0x50b482(0x1c8,0x415,0x2c1,_0x3dd838._0x30e9e9)](_0x3edd89[_0x15427a(-0x94,_0x3dd838._0x3ac860,-0xd9,-_0x3dd838._0x500435)](),'.nuvin'),_0x599e36=_0x1dd242[_0x15427a(-_0x3dd838._0x1f7ca3,-0x14e,-_0x3dd838._0x315067,0x74)]||_0x177815[_0x15427a(-_0x3dd838._0x2c4870,-_0x3dd838._0x3b7a44,-_0x3dd838._0x4aebaf,-0x2f8)](process[_0x15427a(-0x275,-0x161,-0xd5,_0x3dd838._0x3e0ce7)](),_0x50b482(0x322,0x168,_0x3dd838._0x2af828,_0x3dd838._0x2689e9)),_0x565952=_0x1dd242[_0x50b482(_0x3dd838._0x14b6e7,_0x3dd838._0x42d516,_0x3dd838._0x37bc3d,_0x3dd838._0xdd2b2)](),_0x648b90=_0x1dd242[_0x15427a(-0xab,-0x22c,-_0x3dd838._0xbd47c0,-0x238)](),_0x34a1e8;_0x565952&&_0x565952!==_0x13148b&&_0x648b90&&(_0x34a1e8=_0x648b90['getProfileCommandsDir'](_0x565952)),mt=new jt({'globalDir':_0x42ebb5,'profileDir':_0x34a1e8,'localDir':_0x599e36,'activeProfile':_0x565952}),await mt['initialize'](),hn(_0x399680);}catch(_0x52de87){console['warn'](_0x50b482(0x47e,_0x3dd838._0x1256f0,_0x3dd838._0xa24ff2,0x201),_0x52de87 instanceof Error?_0x52de87[_0x15427a(-_0x3dd838._0x13be54,-_0x3dd838._0x5aef1c,-_0x3dd838._0x50ef45,-0xfd)]:String(_0x52de87));}}function hn(_0x35bca2){const _0x55186f={_0x4e48ee:0x518,_0x41813f:0x661,_0x55e92c:0x4ee,_0x4c8c4c:0x3d1,_0x417a64:0x31a,_0x43c334:0x306,_0x2d8768:0x348,_0x4e99fc:0x67d,_0x13e62c:0x5a0,_0x347cff:0x528,_0x3d9113:0x434,_0x31d879:0xdf,_0x387d14:0xd7,_0x30e37b:0x2a3,_0x51ec4a:0x114,_0x86a835:0x559,_0x2f2772:0x5b0},_0x35fa0f={_0x541c10:0x32c,_0x17c6b5:0x62b,_0x42f6f8:0x683,_0x5864ff:0x836,_0x5b252a:0x715,_0x362f50:0x3d6,_0x2e69d7:0x3c6},_0x413366={_0xb7949f:0x29,_0x5ccbe5:0x91},_0x2c8cb6={_0x57754b:0x11a};function _0x5de013(_0x58e1ec,_0x2f4c2e,_0x2402e3,_0x49ad68){return _0x593b39(_0x58e1ec-0x142,_0x49ad68- -_0x2c8cb6._0x57754b,_0x2402e3,_0x49ad68-0x2d);}if(!mt)return;for(let _0x35152d of sr){let _0x3ae83=_0x35bca2[_0xc0b037(0x3a6,0x459,_0x55186f._0x4e48ee,0x493)](_0x35152d);_0x3ae83&&_0x3ae83[_0xc0b037(_0x55186f._0x41813f,_0x55186f._0x55e92c,_0x55186f._0x4c8c4c,0x4a1)];}function _0xc0b037(_0x1cef5f,_0x27c1ce,_0x50e4ec,_0xd53cc){return _0x40e58d(_0xd53cc,_0x27c1ce-_0x413366._0xb7949f,_0x27c1ce-0x20e,_0xd53cc-_0x413366._0x5ccbe5);}sr[_0xc0b037(_0x55186f._0x417a64,_0x55186f._0x43c334,_0x55186f._0x2d8768,0x278)]();let _0x211313=mt[_0xc0b037(_0x55186f._0x4e99fc,_0x55186f._0x13e62c,_0x55186f._0x347cff,_0x55186f._0x3d9113)]({'includeHidden':!0x1});for(let _0x5a34d9 of _0x211313){let _0x41f880='/'+_0x5a34d9['id'];if(_0x35bca2['get'](_0x41f880))continue;let _0x2d45a5={'id':_0x41f880,'type':'function','description':_0x5a34d9[_0x5de013(-0xd5,-_0x55186f._0x31d879,0xb0,-_0x55186f._0x387d14)],'category':_0x5de013(_0x55186f._0x30e37b,-0x85,0x18,_0x55186f._0x51ec4a),'isCustomCommand':!0x0,'handler':async _0x2097b6=>{const _0x55f89e={_0x52eef2:0x6b,_0x3c139a:0x57,_0x18cfdc:0x15,_0x1bfee2:0x4a9},_0x7b5ffe={_0x330ae3:0x1c5,_0x323cb6:0x7d},_0x42f0f2={_0x3700af:0x1},_0x1fea11={_0x4176cc:0x129,_0x3337d7:0x5a3},_0x28781a={_0x398f72:0x24};function _0x2e3c9b(_0x3be1f5,_0x2bcef2,_0xad64a9,_0x1d3a4c){return _0xc0b037(_0x3be1f5-_0x28781a._0x398f72,_0x1d3a4c- -0x6,_0xad64a9-0x1a0,_0xad64a9);}if(!mt)return;let _0x117a5e=_0x2097b6[_0x46613c(_0x35fa0f._0x541c10,0x4a2,0x62f,_0x35fa0f._0x17c6b5)][_0x46613c(0x670,_0x35fa0f._0x42f6f8,_0x35fa0f._0x5864ff,0x6ce)](_0x41f880,'')[_0x46613c(0x658,0x583,_0x35fa0f._0x5b252a,0x42e)](),_0x36c2b0=mt[_0x2e3c9b(0x2cd,0x562,_0x35fa0f._0x362f50,_0x35fa0f._0x2e69d7)](_0x5a34d9['id'],_0x117a5e);function _0x46613c(_0x5913a4,_0x2ac0ad,_0x15465f,_0x378cbc){return _0x5de013(_0x5913a4-_0x1fea11._0x4176cc,_0x2ac0ad-0x4a,_0x378cbc,_0x2ac0ad-_0x1fea11._0x3337d7);}return new Promise((_0xa613b8,_0xb698c7)=>{function _0x4a725f(_0xdb1b89,_0x2bf017,_0x35c3c8,_0x1fd7d2){return _0x46613c(_0xdb1b89-_0x42f0f2._0x3700af,_0xdb1b89- -0x147,_0x35c3c8-0x63,_0x35c3c8);}function _0x17d3be(_0x270c8a,_0x5d196d,_0x1afb71,_0x6ecdfa){return _0x2e3c9b(_0x270c8a-_0x7b5ffe._0x330ae3,_0x5d196d-_0x7b5ffe._0x323cb6,_0x1afb71,_0x270c8a- -0x389);}_0x411345[_0x17d3be(0x13b,-_0x55f89e._0x52eef2,_0x55f89e._0x3c139a,_0x55f89e._0x18cfdc)](_0x4a725f(0x44a,_0x55f89e._0x1bfee2,0x2d5,0x3bb),{'commandId':_0x5a34d9['id'],'renderedPrompt':_0x36c2b0,'userInput':_0x117a5e,'onComplete':_0xa613b8,'onError':_0xb698c7});});}};_0x35bca2[_0xc0b037(0x6e7,0x57b,0x70b,0x5da)](_0x2d45a5),sr[_0xc0b037(0x70b,_0x55186f._0x86a835,_0x55186f._0x2f2772,0x4a9)](_0x41f880);}}async function cr(_0x50b0be){const _0x17f1d3={_0x202e25:0x17d,_0x2923f3:0x9},_0x5bac7e={_0x2fca01:0x1b1,_0x3e5634:0x4d,_0x13ca90:0x9f};function _0x3f446f(_0x1f110c,_0x1ad4be,_0x16f66f,_0xa12d39){return _0x40e58d(_0xa12d39,_0x1ad4be-_0x5bac7e._0x2fca01,_0x1f110c-_0x5bac7e._0x3e5634,_0xa12d39-_0x5bac7e._0x13ca90);}mt?(await mt[_0x3f446f(_0x17f1d3._0x202e25,0x158,0x276,-_0x17f1d3._0x2923f3)](),hn(_0x50b0be)):await lr(_0x50b0be);}import*as _0x4438ba from'crypto';function xn(_0x26d902){const _0xc9075a={_0x5121ef:0x63b,_0x318587:0x6f3,_0x22271e:0x55e,_0x2347b5:0x7a9,_0x113b59:0x65d,_0x59dd9b:0x766,_0x55fd8a:0x3df,_0x75d4d1:0x2bd},_0x56838b={_0x376a74:0x3d9,_0x2f23e2:0x66,_0x32c715:0x126,_0x1ec8ec:0x1bf,_0x28c339:0x235,_0x2b8e20:0x2d9,_0x3cd6f4:0x392,_0x5c1a09:0x2d0,_0x241a3a:0x157,_0x3899fe:0x192,_0x157eaf:0x212,_0x3976c3:0x72,_0x24b14a:0x68},_0x59cd99={_0x444c82:0x186,_0x445c0d:0x199},_0x5211cd={_0x28d4f4:0x272,_0x125c58:0xd0},_0x177bf6={_0x115a3d:0xa7},_0x3ced99={_0xb77317:0xea,_0x5c8d2b:0xcf};function _0x34667c(_0x1c35c2,_0x224a33,_0x1ea13c,_0x49ac19){return _0x593b39(_0x1c35c2-_0x3ced99._0xb77317,_0x224a33-0x3a8,_0x1ea13c,_0x49ac19-_0x3ced99._0x5c8d2b);}function _0x344491(_0x22d1b1,_0x321f41,_0x19e2f9,_0xa12864){return _0x40e58d(_0x19e2f9,_0x321f41-_0x177bf6._0x115a3d,_0x321f41-0x2ce,_0xa12864-0x12c);}_0x26d902[_0x344491(0x6d4,_0xc9075a._0x5121ef,0x755,0x5a8)]({'id':'/exit','type':_0x344491(_0xc9075a._0x318587,_0xc9075a._0x22271e,0x3e0,0x410),'description':_0x344491(_0xc9075a._0x2347b5,_0xc9075a._0x113b59,_0xc9075a._0x59dd9b,0x5cd),'category':_0x34667c(0x4e1,_0xc9075a._0x55fd8a,_0xc9075a._0x75d4d1,0x373),async 'handler'({eventBus:_0x4d0200,orchestratorManager:_0x3c31eb}){const _0x7379d3={_0x465707:0x397,_0x23213e:0x2b8,_0x1a1e03:0x2da,_0x1b48f6:0x2d1,_0x53ee7a:0x21e,_0x418447:0x1b2},_0x84a869={_0x1bf2ae:0x191,_0x38b2b4:0xe8},_0x1621e7={_0x4b1e6f:0x15b,_0x1208c4:0xd0,_0x4a2e1f:0x180};function _0x22a5fc(_0x1c4bd8,_0x374e02,_0x51dce6,_0x242979){return _0x34667c(_0x1c4bd8-0x8,_0x374e02- -_0x5211cd._0x28d4f4,_0x1c4bd8,_0x242979-_0x5211cd._0x125c58);}function _0x421fb2(_0x53b576,_0x535761,_0x2cc67d,_0x1a794a){return _0x34667c(_0x53b576-_0x59cd99._0x444c82,_0x53b576- -0x498,_0x2cc67d,_0x1a794a-_0x59cd99._0x445c0d);}_0x4d0200['emit'](_0x22a5fc(0x38d,_0x56838b._0x376a74,0x414,0x50c),{'id':_0x4438ba['randomUUID'](),'type':_0x421fb2(_0x56838b._0x2f23e2,0x4c,_0x56838b._0x32c715,_0x56838b._0x1ec8ec),'content':_0x421fb2(_0x56838b._0x28c339,0x3c2,_0x56838b._0x2b8e20,_0x56838b._0x3cd6f4),'metadata':{'timestamp':new Date()[_0x22a5fc(0x33f,_0x56838b._0x5c1a09,0x361,_0x56838b._0x241a3a)]()},'color':_0x22a5fc(0x26f,0x28e,_0x56838b._0x3899fe,_0x56838b._0x157eaf)}),await _0x3c31eb?.[_0x421fb2(_0x56838b._0x3976c3,-0x2,0x67,_0x56838b._0x24b14a)](),setTimeout(()=>{function _0x48b50b(_0x4ff7ed,_0x4c56cb,_0x21d7f8,_0x4c598a){return _0x421fb2(_0x4c598a-_0x1621e7._0x4b1e6f,_0x4c56cb-_0x1621e7._0x1208c4,_0x21d7f8,_0x4c598a-_0x1621e7._0x4a2e1f);}function _0x3b028c(_0x3f440f,_0x158181,_0x1f5c83,_0x4c4583){return _0x421fb2(_0x1f5c83- -_0x84a869._0x1bf2ae,_0x158181-_0x84a869._0x38b2b4,_0x158181,_0x4c4583-0x157);}process['stdout'][_0x48b50b(_0x7379d3._0x465707,_0x7379d3._0x23213e,_0x7379d3._0x1a1e03,_0x7379d3._0x1b48f6)](_0x3b028c(-0x1c8,-_0x7379d3._0x53ee7a,-0x1d7,-_0x7379d3._0x418447)),process['exit'](0x0);},0x1f4);}});}import{Text as _0x33253a,Box as _0x1392f2}from'ink';import{jsx as _0x43f74a,jsxs as _0x385ebb}from'react/jsx-runtime';var {version:Cs,commit:yn}=_0x36293a(),xs=({deactivate:_0x148f0b})=>{const _0x5d6598={_0x5dfa6f:0x143,_0x215cdd:0x22b,_0x2ac9ac:0x11,_0x3e23c9:0x288,_0x48533b:0x36,_0x556b8a:0x15e,_0x280384:0x122,_0x4db3cd:0x37,_0x291a4f:0x2b3,_0x249c4b:0x2d2,_0xd7dc2d:0x38d,_0x3c024c:0x59e,_0x368bd7:0x5a,_0x2f452c:0x1d,_0x3af5e4:0x3d9,_0x2b1582:0x2f2,_0x17dbe3:0x239,_0x2e6527:0x31a,_0x159fd6:0x23e,_0x334e29:0x3dd,_0x1aaa46:0x3d9,_0x516b62:0x2cc,_0x1d877b:0x27d,_0x3bf347:0x497,_0x4a2091:0x33b,_0x1ef1f0:0x60b,_0x1f3cda:0x528,_0x149d4e:0x361,_0x3a48e0:0x7f,_0x45cdf6:0x33d,_0x455c96:0x258,_0x3d9145:0x12b,_0x3f8974:0x2ed,_0x27060e:0x3ba,_0x4aac8a:0x502,_0x43e5ca:0x44f,_0x68cdb:0x445,_0x59ab05:0x1f,_0x1d93e4:0xa4,_0x39257c:0x34,_0x4abe18:0x234,_0x16ece8:0x407,_0x491ac5:0x40b,_0xe5433:0x314,_0x269101:0x144,_0x5defd4:0x47e,_0x3348b0:0x43b,_0x114d65:0x1ea,_0x315d8f:0x23f,_0x13e1e2:0x19c,_0x4c0a66:0x2f,_0x4f2578:0x55,_0x1b0426:0x3d,_0x74fc62:0x499,_0x5f0109:0x60a,_0x4bb566:0x395,_0x1ae138:0x106,_0x494785:0x174,_0x2f2428:0xc0,_0x3a04cc:0x24a,_0x48fca8:0x15b,_0x4a2bbf:0x20f,_0x768e19:0x4b9,_0xf3d3f3:0x179,_0x16dfd5:0x34,_0x8a8b84:0x41a},_0x4fca85={_0x3bf64e:0x68,_0x3cb7d3:0xd0},_0x16e4a7={_0x50823a:0x24e,_0x45a779:0x76};function _0x43d3ff(_0x3ff168,_0x473269,_0x496e32,_0x38c1d4){return _0x40e58d(_0x496e32,_0x473269-0x95,_0x3ff168- -_0x16e4a7._0x50823a,_0x38c1d4-_0x16e4a7._0x45a779);}let {theme:_0x1ce3bb}=_0x23be01(),{rows:_0x3238e7}=_0x4f685a(),_0x2d1693=_0x3238e7-0x4;function _0x27e2f5(_0x1887a5,_0x24fc7e,_0x29ea3e,_0x57c577){return _0x40e58d(_0x57c577,_0x24fc7e-_0x4fca85._0x3bf64e,_0x1887a5-_0x4fca85._0x3cb7d3,_0x57c577-0x1ab);}return _0x43f74a(_0x32a44e,{'visible':!0x0,'title':'Help','onClose':_0x148f0b,'closeOnEscape':!0x0,'closeOnEnter':!0x0,'height':_0x2d1693,'footer':_0x43f74a(_0x1392f2,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x43f74a(_0x1fb0f6,{'segments':[{'text':_0x43d3ff(_0x5d6598._0x5dfa6f,_0x5d6598._0x215cdd,-_0x5d6598._0x2ac9ac,_0x5d6598._0x3e23c9),'highlight':!0x0},{'text':_0x43d3ff(-_0x5d6598._0x48533b,-_0x5d6598._0x556b8a,-_0x5d6598._0x280384,_0x5d6598._0x4db3cd)},{'text':_0x27e2f5(_0x5d6598._0x291a4f,_0x5d6598._0x249c4b,0x368,_0x5d6598._0xd7dc2d),'highlight':!0x0},{'text':_0x27e2f5(0x444,0x369,_0x5d6598._0x3c024c,0x4c5)},{'text':'ESC/Enter','highlight':!0x0},{'text':_0x43d3ff(-_0x5d6598._0x368bd7,_0x5d6598._0x2f452c,-0x16b,-0x7)}]})}),'paddingX':0x1,'paddingY':0x0,'children':_0x43f74a(_0x179e0b,{'flexGrow':0x1,'enableKeyboardScroll':!0x0,'enableMouseScroll':!0x0,'autoScrollToBottom':!0x1,'showScrollbar':!0x0,'focus':!0x0,'children':_0x385ebb(_0x1392f2,{'flexDirection':_0x27e2f5(_0x5d6598._0x3af5e4,_0x5d6598._0x2b1582,_0x5d6598._0x17dbe3,_0x5d6598._0x2e6527),'children':[_0x43f74a(_0x33253a,{'color':_0x1ce3bb['help'][_0x27e2f5(_0x5d6598._0x159fd6,0x267,_0x5d6598._0x334e29,0x20f)],'dimColor':!0x0,'children':'@nuvin/cli\x20v'+Cs+(yn?'\x20('+yn+')':'')}),_0x385ebb(_0x1392f2,{'marginTop':0x1,'flexDirection':_0x27e2f5(_0x5d6598._0x1aaa46,0x32a,_0x5d6598._0x516b62,_0x5d6598._0x1d877b),'children':[_0x43f74a(_0x33253a,{'color':_0x1ce3bb[_0x27e2f5(_0x5d6598._0x3bf347,_0x5d6598._0x4a2091,_0x5d6598._0x1ef1f0,_0x5d6598._0x1f3cda)][_0x27e2f5(0x438,0x38f,0x3bc,_0x5d6598._0x149d4e)],'bold':!0x0,'children':_0x43d3ff(0x1a,-0x95,-_0x5d6598._0x3a48e0,0x17)}),_0x385ebb(_0x33253a,{'children':['•\x20',_0x43f74a(_0x33253a,{'color':_0x1ce3bb['tokens'][_0x27e2f5(_0x5d6598._0x45cdf6,0x24b,0x285,_0x5d6598._0x455c96)],'children':'/'}),_0x27e2f5(0x24e,_0x5d6598._0x3d9145,_0x5d6598._0x3f8974,_0x5d6598._0x27060e)]}),_0x385ebb(_0x33253a,{'children':['•\x20',_0x43f74a(_0x33253a,{'color':_0x1ce3bb[_0x27e2f5(0x499,_0x5d6598._0x4aac8a,_0x5d6598._0x43e5ca,_0x5d6598._0x68cdb)][_0x43d3ff(_0x5d6598._0x59ab05,-0x135,-_0x5d6598._0x1d93e4,_0x5d6598._0x39257c)],'children':_0x43d3ff(0x1bb,0xe0,_0x5d6598._0x4abe18,0xff)}),_0x27e2f5(_0x5d6598._0x16ece8,0x436,_0x5d6598._0x491ac5,0x5a6)]}),_0x385ebb(_0x33253a,{'children':['•\x20',_0x43f74a(_0x33253a,{'color':_0x1ce3bb[_0x43d3ff(0x17b,0x16c,_0x5d6598._0xe5433,_0x5d6598._0x269101)][_0x27e2f5(0x33d,_0x5d6598._0x5defd4,_0x5d6598._0x3348b0,_0x5d6598._0x114d65)],'children':_0x27e2f5(0x2e0,0x22a,_0x5d6598._0x315d8f,_0x5d6598._0x13e1e2)}),_0x43d3ff(-_0x5d6598._0x4c0a66,-0x82,_0x5d6598._0x4f2578,-_0x5d6598._0x1b0426)]}),_0x385ebb(_0x33253a,{'children':['•\x20',_0x43f74a(_0x33253a,{'color':_0x1ce3bb[_0x27e2f5(_0x5d6598._0x74fc62,0x5e7,_0x5d6598._0x5f0109,_0x5d6598._0x4bb566)]['green'],'children':_0x43d3ff(-0xb5,-_0x5d6598._0x1ae138,-_0x5d6598._0x494785,-0x220)}),'\x20—\x20Send\x20message\x20or\x20select\x20item']}),_0x385ebb(_0x33253a,{'children':['•\x20',_0x43f74a(_0x33253a,{'color':_0x1ce3bb['tokens'][_0x43d3ff(_0x5d6598._0x59ab05,-0x14d,-0x58,-_0x5d6598._0x2f2428)],'children':_0x27e2f5(_0x5d6598._0x3a04cc,0x1e4,0x298,_0x5d6598._0x48fca8)}),_0x27e2f5(0x372,_0x5d6598._0x4a2bbf,0x35a,_0x5d6598._0x768e19)]})]}),_0x385ebb(_0x1392f2,{'marginTop':0x1,'marginBottom':0x1,'flexDirection':'column','children':[_0x43f74a(_0x33253a,{'color':_0x1ce3bb[_0x43d3ff(_0x5d6598._0xf3d3f3,0x7a,_0x5d6598._0x16dfd5,0x10e)]['sectionHeader'],'bold':!0x0,'children':'Commands'}),_0x56fa25[_0x43d3ff(0x144,0x17,-0x4,0x18a)]({'includeHidden':!0x1})[_0x27e2f5(_0x5d6598._0x8a8b84,0x36a,0x2d1,0x2ce)](_0x4cf21c=>_0x385ebb(_0x33253a,{'children':['•\x20',_0x43f74a(_0x33253a,{'color':_0x1ce3bb['tokens']['green'],'children':_0x4cf21c['id']}),_0x27e2f5(0x44c,0x2bb,0x384,0x5bc),_0x4cf21c['description']]},_0x4cf21c['id']))]})]})})});};function vn(_0xeb3346){const _0x59da8a={_0x28bfb6:0x48f,_0x226af1:0x50a,_0x485d1b:0x45d,_0xd17ec6:0x1bd},_0x468a55={_0x49e5f4:0xe4},_0x3b29fe={_0x1f79a1:0x96};function _0x33c26c(_0x4f9e20,_0x1e4cb7,_0x5e85e1,_0x147adb){return _0x593b39(_0x4f9e20-0x144,_0x5e85e1-0x188,_0x1e4cb7,_0x147adb-_0x3b29fe._0x1f79a1);}function _0x3ea3d6(_0xbf93cf,_0x2afbdd,_0x4ba6cb,_0x212378){return _0x40e58d(_0x2afbdd,_0x2afbdd-_0x468a55._0x49e5f4,_0xbf93cf-0xb1,_0x212378-0x189);}_0xeb3346['register']({'id':_0x3ea3d6(_0x59da8a._0x28bfb6,0x60d,_0x59da8a._0x226af1,0x4e5),'type':_0x3ea3d6(0x37a,0x27f,0x3cc,0x2a1),'description':_0x33c26c(_0x59da8a._0x485d1b,_0x59da8a._0xd17ec6,0x362,0x359),'category':'ui','component':xs});}import{useMemo as _0x4f91a8,useState as _0x23f6e5,useCallback as _0x275c10,useEffect as _0x5a5b10}from'react';import{Box as _0x27d7b6,Text as _0x56c8f7}from'ink';import{useState as _0x493b41,useEffect as _0x4ae9c1,useRef as _0x1f7590,useCallback as _0x35899a}from'react';import{Box as _0x8b383a,Text as _0x7a2018,measureElement as _0x378469}from'ink';import{jsx as _0x467a45,jsxs as _0x222ec3}from'react/jsx-runtime';function Fo({items:_0x22541b,selectedIndex:_0x4d232b,onSelect:_0x38a5bc,onHighlight:_0x2fd121,renderItem:_0x37be0f,focus:_0x41ea68=!0x0,enableRotation:_0xecf163=!0x0,maxHeight:_0x186e84,flexGrow:_0x3a2fcc,showScrollIndicators:_0x2329e4=!0x0}){const _0x5a85c4={_0x30b810:0x58,_0x431a26:0x2ce,_0x215801:0xa4,_0x2f8071:0x1ed,_0x4846c2:0x16c,_0x44fd64:0x22a,_0x1a9eac:0xf6,_0x45bd11:0x157,_0x5b3cc5:0x2f,_0x417357:0x17b,_0x543712:0x1e,_0xb6dd60:0x12c,_0x356113:0x46,_0x2e82c1:0x129,_0x15f2e3:0x21d,_0x1840ac:0x147,_0x3b74c3:0x205,_0x202ba2:0x231,_0x3df7ba:0x72,_0x30e6b6:0x17e,_0x5e609b:0x3c},_0x52eff6={_0xa3188e:0x145,_0x161677:0x1ac},_0x5b1aa1={_0x2e0963:0x462,_0x14a535:0x5b3,_0x3a0c6e:0x369,_0x36cb3f:0x2f5,_0xf4f30:0xd8,_0x2fb819:0x37b,_0x1506fd:0x31d,_0x4fc717:0x21c,_0x5949ee:0x462,_0x50cf68:0x51c,_0x4caef0:0x210,_0x402e73:0x18b,_0x171bbf:0x4dd,_0x4715f8:0x262,_0x5ade77:0x1d8,_0x3fc82d:0x20d,_0x306ec8:0x395,_0x5e7ef8:0x4bd,_0x4b6250:0x307,_0xc8944c:0x18b},_0x271ae3={_0x269105:0x30,_0x32fc2e:0x36},_0x5422c8={_0x585b2d:0x55f,_0xe99a63:0x29b,_0xa12b7d:0x593,_0x513edf:0x557,_0x28e593:0x2b8,_0x356b4d:0x458,_0x47dc3c:0x49b,_0x5b5e92:0x1a2},_0x56b8d7={_0x3b6fa5:0xd7,_0x1ff49b:0xb7,_0x447a89:0xbd,_0xb070b7:0x21,_0x2435f6:0x211},_0x158177={_0x251ba4:0x3,_0x182fad:0x47},_0x2ce7cd={_0x3803be:0x25a,_0x196a61:0x8e,_0x1e7d9e:0x180,_0x20e89b:0x211,_0x26e682:0xdb,_0x378f12:0x52},_0x3f2024={_0x5d4b04:0x218,_0x58af71:0x8d},_0x3f5da0={_0x2819bd:0x3b,_0x2273df:0x3c6,_0x574850:0x458,_0x58cbe6:0x328,_0x2dd7ca:0x316,_0x52dd15:0x163,_0x1edffc:0x3d3,_0x478a93:0x2e2},_0xeb5571={_0x3800a2:0x108,_0x928ba2:0x2c4},_0x48d203={_0x4f82d6:0x35,_0x484cb2:0x1d,_0x28e222:0x284},_0x5b3506={_0x542e76:0xfd},_0x5a40d9={_0x2de1ea:0x15d,_0x5dad61:0x23},_0xd87913={_0x582921:0xfe},_0x5bd47f={_0x3a4c02:0x308,_0x38862a:0x18e,_0x2d8e85:0xb6,_0x4e38f7:0x7ed,_0x29659a:0x63a,_0x5d20b9:0x5c5,_0x3f2c46:0x4e2,_0x5cfb30:0x3a4,_0x476460:0x642,_0x4dcf53:0x6e7,_0x559bce:0x553,_0x5ae55b:0x428,_0x61d5b1:0x114,_0x10a3ca:0x1e1,_0x608f58:0x11d,_0x2e8918:0x5dd,_0x3182e2:0x3c1,_0x56a977:0x565,_0x3a6433:0x185,_0x4b8456:0x18e,_0x23cc08:0x2ef,_0x38b8cc:0x1b5,_0x3e1019:0x1f2,_0x4d5178:0xbc,_0x5c987d:0x4b5,_0x5c132d:0x1ce,_0x29cb11:0x1ce,_0x3be54b:0x121,_0x4bd7a5:0x18e,_0x7ea4ed:0x21c,_0x4ec284:0x2fb,_0x359111:0x1bf},_0x2b46ab={_0x3782d1:0x4},_0x30c17e={_0x494a9c:0x2fe,_0x307bcc:0x3be,_0xe739bd:0xc5,_0x21b467:0x23e,_0x5474a0:0x210,_0x2ade0e:0x3c6,_0x164e28:0xc0,_0x18e4c2:0x3ac,_0x21ff53:0x26f,_0x1872c9:0x33d},_0x38ce0a={_0xb55c2c:0x11b,_0x4e93e4:0x104};let [_0x1575ef,_0x12e45b]=_0x493b41(_0x4d232b),_0x411656=Math[_0x3f7bbd(_0x5a85c4._0x30b810,-0x92,0x127,-0xe)](Math['max'](0x0,_0x4d232b!==void 0x0?_0x4d232b:_0x1575ef),Math[_0x148355(0x295,_0x5a85c4._0x431a26,0x38c,0x29f)](0x0,_0x22541b['length']-0x1)),_0x2ef21d=_0x1f7590(null),_0x210577=_0x1f7590(new Map()),_0x29526a=_0x1f7590(!0x1),_0x29c11a=_0x1f7590(!0x1),_0x2d25ec=_0x1f7590(_0x22541b['length']),[_0x176500,_0x391009]=_0x493b41(0x0),[_0xba9ca9,_0x18480e]=_0x493b41(0x0),[_0x4f7d67,_0x40bb79]=_0x493b41(0x0),_0x5ccaec=_0x4f7d67>_0x176500;_0x4ae9c1(()=>{const _0xa1c37={_0x15e9e1:0xdd,_0x49db04:0xef};function _0x17a630(_0x270b1c,_0x5dcbe4,_0x5d7850,_0x5cfea8){return _0x3f7bbd(_0x270b1c-_0x38ce0a._0xb55c2c,_0x5cfea8,_0x5d7850-0xa2,_0x5d7850- -_0x38ce0a._0x4e93e4);}function _0x2a38f4(_0x5533af,_0x4fd2d3,_0x3a93b9,_0x1976d7){return _0x148355(_0x4fd2d3- -_0xa1c37._0x15e9e1,_0x4fd2d3-0x173,_0x3a93b9,_0x1976d7-_0xa1c37._0x49db04);}_0x2d25ec[_0x17a630(-_0x30c17e._0x494a9c,-0x3e1,-0x23e,-_0x30c17e._0x307bcc)]!==_0x22541b['length']&&(_0x29c11a[_0x17a630(-0x38d,-_0x30c17e._0xe739bd,-_0x30c17e._0x21b467,-0x26e)]=!0x1,_0x2d25ec[_0x17a630(-_0x30c17e._0x5474a0,-_0x30c17e._0x2ade0e,-0x23e,-0x21a)]=_0x22541b[_0x17a630(-_0x30c17e._0x164e28,0xaa,-0xe6,-0x87)],_0x2ef21d[_0x17a630(-_0x30c17e._0x18e4c2,-0x297,-_0x30c17e._0x21b467,-0xb0)]?.[_0x17a630(-0x3e7,-0x246,-_0x30c17e._0x21ff53,-_0x30c17e._0x1872c9)](0x0));},[_0x22541b[_0x3f7bbd(-0x5f,-_0x5a85c4._0x215801,0x114,0x1e)]]);let _0x573f37=_0x35899a(_0x355a06=>{const _0x279142={_0x14bb0f:0x3d,_0x3643a3:0x54};function _0x429609(_0x8ce64,_0x240e37,_0x422ba9,_0x1bd489){return _0x3f7bbd(_0x8ce64-0xbb,_0x240e37,_0x422ba9-_0x2b46ab._0x3782d1,_0x422ba9-0x61c);}if(!_0x2ef21d[_0x1b025f(-0xda,-_0x5bd47f._0x3a4c02,-_0x5bd47f._0x38862a,-_0x5bd47f._0x2d8e85)]||_0x176500===0x0||_0x22541b[_0x429609(0x531,_0x5bd47f._0x4e38f7,_0x5bd47f._0x29659a,_0x5bd47f._0x5d20b9)]===0x0)return;let _0x2abc20=_0x210577[_0x429609(0x690,0x4e9,_0x5bd47f._0x3f2c46,_0x5bd47f._0x5cfb30)][_0x429609(_0x5bd47f._0x476460,_0x5bd47f._0x4dcf53,_0x5bd47f._0x559bce,_0x5bd47f._0x5ae55b)](_0x355a06);function _0x1b025f(_0x44c65b,_0x2346d5,_0x5490fc,_0x2eddb3){return _0x3f7bbd(_0x44c65b-0x59,_0x2346d5,_0x5490fc-_0x279142._0x14bb0f,_0x5490fc- -_0x279142._0x3643a3);}if(!_0x2abc20)return;let _0x53fc90=_0x378469(_0x2abc20),_0x354e17=0x0;for(let _0x1c077f=0x0;_0x1c077f<_0x355a06;_0x1c077f++){let _0x431e40=_0x210577[_0x1b025f(-0xae,-_0x5bd47f._0x61d5b1,-0x18e,-0x91)][_0x1b025f(-_0x5bd47f._0x10a3ca,-0xc0,-_0x5bd47f._0x608f58,-0x192)](_0x1c077f);_0x431e40&&(_0x354e17+=_0x378469(_0x431e40)[_0x429609(_0x5bd47f._0x2e8918,_0x5bd47f._0x3182e2,0x43a,_0x5bd47f._0x56a977)]);}let _0xb24282=_0x354e17+_0x53fc90['height'],_0x39a24a=_0x2ef21d[_0x1b025f(-_0x5bd47f._0x3a6433,-0x21c,-_0x5bd47f._0x4b8456,-_0x5bd47f._0x23cc08)][_0x1b025f(-_0x5bd47f._0x38b8cc,-0x6f,-0x75,-0x133)]()[_0x1b025f(0x3f,-_0x5bd47f._0x3e1019,-_0x5bd47f._0x4d5178,-0x217)];_0x354e17<_0x39a24a?_0x2ef21d[_0x429609(0x473,_0x5bd47f._0x5c987d,0x4e2,0x5fd)][_0x1b025f(-0xac,-_0x5bd47f._0x5c132d,-0x1bf,-_0x5bd47f._0x29cb11)](_0x354e17):_0xb24282>_0x39a24a+_0x176500&&_0x2ef21d[_0x1b025f(-_0x5bd47f._0x3be54b,-0x233,-_0x5bd47f._0x4bd7a5,-_0x5bd47f._0x7ea4ed)][_0x1b025f(-_0x5bd47f._0x4ec284,-0x1bd,-_0x5bd47f._0x359111,-0x2ce)](_0xb24282-_0x176500);},[_0x176500,_0x22541b[_0x148355(_0x5a85c4._0x2f8071,_0x5a85c4._0x4846c2,_0x5a85c4._0x44fd64,_0x5a85c4._0x1a9eac)]]);_0x4ae9c1(()=>{function _0x1c497e(_0x1875bd,_0x4d3acf,_0x194644,_0x27ed02){return _0x148355(_0x4d3acf- -0xb8,_0x4d3acf-_0xd87913._0x582921,_0x1875bd,_0x27ed02-0x3);}_0x176500>0x0&&!_0x29c11a['current']&&(_0x29c11a[_0x1c497e(-_0x5a40d9._0x2de1ea,-_0x5a40d9._0x5dad61,-0x19d,0x17e)]=!0x0,_0x411656>0x0&&_0x573f37(_0x411656));},[_0x176500,_0x411656,_0x573f37]),_0x4ae9c1(()=>{const _0x1aa2a1={_0x1fdf59:0x5};function _0x32d129(_0x22bc04,_0x462d74,_0x5ce2db,_0x48e1bf){return _0x3f7bbd(_0x22bc04-0x5a,_0x22bc04,_0x5ce2db-_0x1aa2a1._0x1fdf59,_0x48e1bf-0x14f);}_0x29526a[_0x32d129(-0x109,-0x14,_0x5b3506._0x542e76,0x15)]&&(_0x573f37(_0x411656),_0x29526a['current']=!0x1);},[_0x411656,_0x573f37]),_0x4ae9c1(()=>{_0x2fd121&&_0x22541b[_0x411656]&&_0x2fd121(_0x22541b[_0x411656],_0x411656);},[_0x411656,_0x22541b,_0x2fd121]);let _0x18b23e=_0x35899a(_0x128c5a=>{_0x29526a[_0x5691b1(0x107,0x1b3,0x18a,_0x3f5da0._0x2819bd)]=!0x0;function _0xd811c0(_0x175f2d,_0x39797b,_0xacf187,_0x358117){return _0x3f7bbd(_0x175f2d-_0x48d203._0x4f82d6,_0x358117,_0xacf187-_0x48d203._0x484cb2,_0xacf187-_0x48d203._0x28e222);}let _0x5db21f=_0x128c5a==='up'?_0xecf163?_0x411656===0x0?_0x22541b[_0x5691b1(0x406,0x1fd,0x2e2,_0x3f5da0._0x2273df)]-0x1:_0x411656-0x1:Math['max'](0x0,_0x411656-0x1):_0xecf163?_0x411656===_0x22541b[_0x5691b1(_0x3f5da0._0x574850,_0x3f5da0._0x58cbe6,0x2e2,_0x3f5da0._0x2dd7ca)]-0x1?0x0:_0x411656+0x1:Math['min'](_0x22541b[_0x5691b1(_0x3f5da0._0x52dd15,_0x3f5da0._0x1edffc,_0x3f5da0._0x478a93,0x27c)]-0x1,_0x411656+0x1);function _0x5691b1(_0x3e9854,_0x10fab2,_0xbc8808,_0x5eb7b){return _0x3f7bbd(_0x3e9854-_0xeb5571._0x3800a2,_0x10fab2,_0xbc8808-0x1d1,_0xbc8808-_0xeb5571._0x928ba2);}_0x4d232b===void 0x0&&_0x12e45b(_0x5db21f),_0x2fd121&&_0x22541b[_0x5db21f]&&_0x2fd121(_0x22541b[_0x5db21f],_0x5db21f);},[_0x411656,_0x22541b,_0xecf163,_0x4d232b,_0x2fd121]);function _0x3f7bbd(_0x3f4d23,_0xbd2e7f,_0x59bce1,_0x409e6d){return _0x593b39(_0x3f4d23-0x1c3,_0x409e6d- -_0x3f2024._0x5d4b04,_0xbd2e7f,_0x409e6d-_0x3f2024._0x58af71);}_0x528efb((_0x4918f9,_0xab8ef1)=>{const _0x3f060f={_0xf4418d:0x147,_0x55d359:0xcc};function _0x323941(_0x3241a8,_0x298949,_0x3a19ef,_0x19ee28){return _0x3f7bbd(_0x3241a8-_0x3f060f._0xf4418d,_0x298949,_0x3a19ef-0x146,_0x3a19ef- -_0x3f060f._0x55d359);}if(_0xab8ef1[_0x1bf66d(-_0x2ce7cd._0x3803be,-_0x2ce7cd._0x196a61,-0x351,-0x21e)]||_0x4918f9==='k'){_0x18b23e('up');return;}if(_0xab8ef1[_0x323941(-_0x2ce7cd._0x1e7d9e,-0x2b8,-_0x2ce7cd._0x20e89b,-0x14f)]||_0x4918f9==='j'){_0x18b23e('down');return;}function _0x1bf66d(_0x4b5340,_0x33dbf2,_0xa8ae0c,_0x5efd0b){return _0x3f7bbd(_0x4b5340-0x10a,_0xa8ae0c,_0xa8ae0c-0xcf,_0x5efd0b- -0x31);}_0xab8ef1[_0x323941(0x77,-_0x2ce7cd._0x26e682,-0x116,-_0x2ce7cd._0x378f12)]&&_0x22541b[_0x411656]&&_0x38a5bc&&_0x38a5bc(_0x22541b[_0x411656],_0x411656);},{'isActive':_0x41ea68});let _0x5c55ce=_0x35899a(_0x51557f=>{const _0x59a7f0={_0x44bb7a:0x3f};function _0x218db0(_0x5177e5,_0x1cd87b,_0x14e795,_0x4d086d){return _0x148355(_0x14e795- -0x22a,_0x1cd87b-_0x59a7f0._0x44bb7a,_0x5177e5,_0x4d086d-0x18a);}function _0x71f29e(_0x20af1d,_0x1dd2e5,_0x10cc75,_0x54ebf1){return _0x3f7bbd(_0x20af1d-0x7c,_0x20af1d,_0x10cc75-_0x158177._0x251ba4,_0x54ebf1-_0x158177._0x182fad);}_0x391009(_0x51557f[_0x218db0(-0xfd,-0xbc,-_0x56b8d7._0x3b6fa5,-_0x56b8d7._0x1ff49b)]),_0x18480e(_0x51557f[_0x71f29e(-0x1bd,0x78,-_0x56b8d7._0x447a89,-_0x56b8d7._0xb070b7)]),_0x40bb79(_0x51557f[_0x218db0(0xca,0x11c,-0x92,-_0x56b8d7._0x2435f6)]);},[]),_0x3c6888=_0x35899a((_0x4607dd,_0x557378)=>{const _0x70adc9={_0x2b2e53:0x8f,_0x5cf367:0x12a};function _0x55edd8(_0x33fdad,_0x15d99d,_0x5505ac,_0x36bb1c){return _0x3f7bbd(_0x33fdad-0x6b,_0x5505ac,_0x5505ac-_0x70adc9._0x2b2e53,_0x36bb1c-_0x70adc9._0x5cf367);}function _0x107445(_0x365238,_0x25c184,_0x19b144,_0x3b40e3){return _0x148355(_0x25c184-0x3a0,_0x25c184-0x152,_0x365238,_0x3b40e3-0x139);}_0x557378?_0x210577[_0x107445(_0x5422c8._0x585b2d,0x435,_0x5422c8._0xe99a63,_0x5422c8._0xa12b7d)][_0x55edd8(0x19f,0x8d,0x20c,0x179)](_0x4607dd,_0x557378):_0x210577[_0x107445(_0x5422c8._0x513edf,0x435,_0x5422c8._0x28e593,_0x5422c8._0x356b4d)][_0x107445(_0x5422c8._0x47dc3c,0x31c,0x285,_0x5422c8._0x5b5e92)](_0x4607dd);},[]),_0x2f5f32=_0xba9ca9>0x0,_0x2c7f39=_0x4f7d67>_0x176500&&_0xba9ca9+_0x176500<_0x4f7d67,_0x2ef7c3=_0x35899a(_0x36b86b=>{if(!_0x5ccaec)return 0x0;function _0x31b3e3(_0x2a463c,_0x1848f6,_0xec7fa5,_0x4ae0ae){return _0x3f7bbd(_0x2a463c-0x15a,_0x4ae0ae,_0xec7fa5-0x4f,_0x1848f6- -0x51);}let _0x20d1cb=0x0,_0x4d2657=0x0;if(_0x36b86b==='above')for(let _0x142c6e=0x0;_0x142c6e<_0x22541b[_0x264dca(_0x5b1aa1._0x2e0963,_0x5b1aa1._0x14a535,_0x5b1aa1._0x3a0c6e,0x4e9)];_0x142c6e++){let _0xcb239c=_0x210577[_0x31b3e3(-_0x5b1aa1._0x36cb3f,-0x18b,-_0x5b1aa1._0xf4f30,-0xac)][_0x264dca(_0x5b1aa1._0x2fb819,_0x5b1aa1._0x1506fd,_0x5b1aa1._0x4fc717,0x29d)](_0x142c6e);if(_0xcb239c){let _0x14493e=_0x378469(_0xcb239c)['height'];if(_0x4d2657+_0x14493e<=_0xba9ca9)_0x20d1cb++,_0x4d2657+=_0x14493e;else break;}}else{let _0x171a03=_0xba9ca9+_0x176500;_0x4d2657=0x0;for(let _0x3d0a60=0x0;_0x3d0a60<_0x22541b[_0x264dca(_0x5b1aa1._0x5949ee,0x59e,0x5f2,_0x5b1aa1._0x50cf68)];_0x3d0a60++){let _0x8ba148=_0x210577[_0x31b3e3(-_0x5b1aa1._0x4caef0,-_0x5b1aa1._0x402e73,-0x1b9,-0x10d)][_0x264dca(0x37b,_0x5b1aa1._0x171bbf,0x29a,0x3c8)](_0x3d0a60);_0x8ba148&&(_0x4d2657+=_0x378469(_0x8ba148)[_0x264dca(_0x5b1aa1._0x4715f8,_0x5b1aa1._0x5ade77,0x263,_0x5b1aa1._0x3fc82d)]);}let _0x3fea8c=0x0;for(let _0x41358e=_0x22541b[_0x264dca(0x462,_0x5b1aa1._0x306ec8,_0x5b1aa1._0x5e7ef8,0x504)]-0x1;_0x41358e>=0x0;_0x41358e--){let _0x41ba38=_0x210577[_0x31b3e3(-_0x5b1aa1._0x4b6250,-_0x5b1aa1._0xc8944c,-0x203,-0x182)][_0x264dca(0x37b,0x2ee,0x4c6,0x319)](_0x41358e);if(_0x41ba38){let _0x409741=_0x378469(_0x41ba38)['height'];if(_0x4d2657-_0x3fea8c-_0x409741>=_0x171a03)_0x20d1cb++;else break;_0x3fea8c+=_0x409741;}}}function _0x264dca(_0x5563d2,_0x4e84f7,_0x475b41,_0x3918e1){return _0x148355(_0x5563d2-0x275,_0x4e84f7-_0x271ae3._0x269105,_0x3918e1,_0x3918e1-_0x271ae3._0x32fc2e);}return _0x20d1cb;},[_0x5ccaec,_0x22541b[_0x3f7bbd(-_0x5a85c4._0x45bd11,_0x5a85c4._0x5b3cc5,_0x5a85c4._0x417357,_0x5a85c4._0x543712)],_0xba9ca9,_0x176500]),_0x327052=_0x2f5f32?_0x2ef7c3(_0x3f7bbd(0x89,-_0x5a85c4._0xb6dd60,-0x160,-0x65)):0x0,_0x399373=_0x2c7f39?_0x2ef7c3('below'):0x0,_0x23d16f=_0x2329e4&&_0x5ccaec;function _0x148355(_0x460934,_0x4893a2,_0x463196,_0x1c1d4b){return _0x40e58d(_0x463196,_0x4893a2-0x186,_0x460934- -_0x52eff6._0xa3188e,_0x1c1d4b-_0x52eff6._0x161677);}return _0x222ec3(_0x8b383a,{'flexDirection':'column','flexGrow':_0x3a2fcc,'overflow':'hidden','children':[_0x23d16f&&_0x467a45(_0x8b383a,{'height':0x1,'flexShrink':0x0,'children':_0x2f5f32&&_0x222ec3(_0x7a2018,{'dimColor':!0x0,'children':[_0x3f7bbd(-0x1e5,-0x2a6,-_0x5a85c4._0x356113,-0xfb),_0x327052,_0x3f7bbd(-_0x5a85c4._0x2e82c1,-_0x5a85c4._0x15f2e3,-0x296,-_0x5a85c4._0x1840ac)]})}),_0x467a45(_0x179e0b,{'ref':_0x2ef21d,'maxHeight':_0x186e84?_0x186e84-(_0x23d16f?0x2:0x0):void 0x0,'flexGrow':_0x186e84?void 0x0:0x1,'enableKeyboardScroll':!0x1,'enableMouseScroll':!0x0,'manualFocus':!0x0,'focus':!0x1,'autoScrollToBottom':!0x1,'showScrollbar':!0x1,'onScrollChange':_0x5c55ce,'children':_0x22541b[_0x148355(_0x5a85c4._0x3b74c3,0x381,0x2b8,_0x5a85c4._0x202ba2)]((_0xd05896,_0x27a563)=>_0x467a45(_0x8b383a,{'flexDirection':_0x3f7bbd(-0xc3,0x194,-0x10f,-0xb),'ref':_0xb2c742=>_0x3c6888(_0x27a563,_0xb2c742),'children':_0x37be0f(_0xd05896[_0x3f7bbd(0x131,0x15e,-0x16a,-0x6)],_0x27a563===_0x411656,_0x27a563)},_0xd05896[_0x3f7bbd(-0x2d,0x48,0x11,-0x146)]))}),_0x23d16f&&_0x467a45(_0x8b383a,{'height':0x1,'flexShrink':0x0,'children':_0x2c7f39&&_0x222ec3(_0x7a2018,{'dimColor':!0x0,'children':[_0x148355(-_0x5a85c4._0x3df7ba,-0x21d,0xbb,-0x19),_0x399373,_0x3f7bbd(-_0x5a85c4._0x30e6b6,-0x18,_0x5a85c4._0x5e609b,-_0x5a85c4._0x1840ac)]})})]});}import{jsx as _0x498b74,jsxs as _0x1624a3}from'react/jsx-runtime';var ys=(_0x37cc85,_0x27585c)=>_0x37cc85?_0x37cc85[_0x40e58d(0x285,0x2a0,0x3dc,0x2d9)]===_0x40e58d(0x3a,0x1fd,0x101,-0x3e)?_0x27585c[_0x40e58d(0x50f,0x471,0x3c9,0x4a3)]['red']:_0x37cc85[_0x593b39(0x2ab,0x2e0,0x2e0,0x1db)]===_0x593b39(0x1fe,0x1bd,0x8f,0xdf)?_0x27585c[_0x593b39(0x27b,0x2cd,0x169,0x300)][_0x40e58d(0x3cb,0x32e,0x26d,0x2d1)]:_0x37cc85[_0x40e58d(0x487,0x3e2,0x3dc,0x365)]==='info'?_0x27585c[_0x593b39(0x25e,0x2cd,0x432,0x1d8)]['cyan']:_0x27585c['tokens'][_0x40e58d(0x4d2,0x369,0x3af,0x3b4)]:_0x27585c[_0x40e58d(0x54d,0x35c,0x3c9,0x351)]['white'],wn=({context:_0x4fd890,deactivate:_0x3341d7})=>{const _0xf888e0={_0x535b1a:0x3a2,_0x6df39d:0x354,_0x3f826f:0x233,_0x5d1d2b:0x483,_0x53666b:0x400,_0x291eae:0x4b1,_0x15e62a:0x4b8,_0x36c983:0x552,_0x39e035:0x3d5,_0x564aa5:0x564,_0x3607b0:0x5f6,_0x4da943:0x3e1,_0x58a563:0x136,_0x523c6b:0x362,_0x31268b:0x3e6,_0x50a6a5:0x447,_0x5039f1:0x331,_0x68ac6b:0x33a,_0x5d62c4:0x414,_0x1980b4:0x48a,_0x31b4c1:0x280,_0x1327c7:0x411,_0xa2f977:0x21f,_0x48377c:0x2b7,_0x5e0ddb:0x164,_0x544e2b:0x2a1,_0x18a13f:0xa9,_0x53173f:0x3ec,_0x18801f:0x2c8,_0x2d366f:0x3bf,_0x5bc5b2:0x314,_0x55a967:0x436,_0x138feb:0x1d1,_0x2fdd21:0x127,_0x1c87b1:0x284,_0x4cfcc1:0x75,_0x360f5a:0x37d,_0x518250:0x5f0,_0x5e4880:0x6c0,_0xcacde:0x48,_0x2fd051:0x297,_0x43fbe1:0x234,_0x17c16c:0x507,_0x61d69d:0x2cd,_0x30a937:0x2c4,_0x23754c:0x437,_0x1ddf24:0x394},_0x5bd41c={_0x459a5b:0x5c,_0x5c5dfe:0xe7,_0x298620:0x6b,_0x5ef85a:0x1eb,_0x53e4cf:0xb8,_0x589a12:0xc4,_0x2e9c78:0x297,_0x412d6d:0x297,_0x2df646:0x140,_0x106cf1:0x1fe,_0x127e42:0x7c,_0x3a88a0:0x1ca,_0x5723a6:0x18b,_0x1139aa:0x32e,_0x5eb312:0x250,_0x5a51e7:0x2bd,_0x2fd54d:0xd4,_0x185888:0x1a0,_0xa1e3d3:0x11c,_0x6a3c96:0x153,_0x4b94c4:0xdb,_0x794ade:0x277,_0x2b3f8c:0x45,_0x1a2827:0xaf,_0x1da4a5:0x3c8,_0x45cae1:0x2ac,_0x5eed41:0x3a,_0x51b12e:0x2c,_0x1567ff:0x120,_0x54e027:0x22,_0x35acb4:0x8f,_0x250b48:0x12b,_0x3af3b5:0x2b1,_0x6d4dcc:0x21e,_0x19e8aa:0x18b,_0x37b8e2:0x155,_0x2ae0a2:0x2f0,_0x4c8c77:0x1dc,_0x29b5fa:0x27b,_0x4b678b:0x242,_0x28aaa9:0x260,_0x1034e9:0x1f8,_0x2ef546:0x8e,_0x48cc45:0x22f,_0x4c596e:0x231,_0x28e5cb:0x302,_0x37a4e4:0x217,_0x47bd3a:0x26a,_0x26642a:0x337,_0x1ba9ee:0x1dc,_0x2cbb0e:0x1f,_0x5c5455:0x17e,_0x100d63:0x280,_0x12aa21:0xb,_0x58e4af:0x57,_0x17c4b3:0x42,_0x38a0e8:0x104,_0x4f7d91:0x18e,_0x3dae1a:0x1a,_0x4d9f37:0x1e,_0x38e02d:0xf7,_0xc31dff:0x1c0,_0x595be0:0x1e0,_0x22adf9:0x151,_0x4c340f:0x211,_0x22467f:0x397,_0x2f5a98:0x23a,_0x3c98c9:0x1e1,_0x2455d7:0x5f,_0x5c4a9f:0x53,_0x164f48:0x74,_0x14d9ab:0x8c,_0x4e5d4d:0x2a4,_0x27a267:0x1db,_0x34a447:0x3dc,_0x2bbf6f:0xd1},_0x49173d={_0x55f821:0x60e,_0x17d9eb:0x155,_0x23551c:0x185},_0x36edf3={_0x2b89d4:0xef,_0x1772df:0x28,_0x463cf7:0x1e2,_0x5225c2:0x68,_0x4e7b66:0x58},_0x9f09ab={_0x5b4719:0x673,_0x5c0fe7:0x18e,_0x4f9f7f:0x17c},_0x3b91c4={_0x4e5b8a:0x3df},_0x20da36={_0x331731:0x389},_0x44305b={_0x2ee883:0x3fc,_0x2f3cf1:0x347,_0x236f4c:0x50c,_0x548b67:0x53d,_0x2ad850:0x29,_0x2f477e:0x2a4,_0x47c2a7:0x3c1,_0x59a97f:0x187,_0x37c09c:0x168,_0x509ddd:0x58,_0xdd634e:0x29b,_0x8d1f47:0x15c,_0x2b5b10:0x18b,_0x3e5833:0x104,_0x35a9d2:0x7d,_0x7508d8:0xd,_0x767c35:0x1a2,_0x4d2eef:0x31a,_0x44ce19:0x2a5,_0x1866f3:0x40f,_0x4104d3:0x1ea,_0x1a1a5b:0x63,_0x1d968c:0xfe,_0x23c387:0x33d,_0x3918d8:0x324,_0x2f9b6d:0x2df,_0x18fec7:0x2ce,_0x52c109:0x36c,_0xac831d:0x2ab,_0x31993d:0x45d,_0x281c95:0x51,_0x55ca2c:0x56,_0x44c313:0xd,_0x202df4:0x254,_0x58ba6c:0x1c6,_0x53087f:0x267,_0x149cd8:0x30c},_0x4aaf2f={_0x3ba3aa:0x182},_0x4f774b={_0x2fa86e:0x588,_0x5a8cb3:0x519,_0x4c7c6c:0x48d,_0x48c814:0x4c8,_0x4bba58:0x48b,_0x4ecdac:0x45f,_0x428a61:0x5d6,_0x1d8645:0x498,_0x29da20:0x573},_0x1916e8={_0xde3dc:0x59,_0x65239d:0x66,_0x500acd:0x15e,_0x2dd323:0x25e,_0x103e07:0x29c,_0x5615bb:0x470,_0x435fd2:0x4b4,_0x47b51d:0x11,_0x1790c6:0x2e,_0x1ccf57:0x29,_0xa5ef46:0xd0,_0x5909d8:0xe,_0x540bfd:0x99,_0x586e15:0x3a1,_0x5cab06:0x428},_0x34b9cb={_0x87c01a:0x188},_0x353a80={_0xf7aa33:0xfd,_0x34dbe6:0x14a,_0x156582:0x4a},_0x560ca5={_0x295983:0x168,_0xd3dc51:0x293,_0x234b21:0x2a3,_0x2b11e8:0x1ef,_0xc3ac46:0x327},_0x3ea152={_0x140cce:0xca,_0x36f68e:0x1d6},_0xbe34a8={_0x58c5bf:0x28f,_0x51af39:0x194},_0xe04d33={_0x4af587:0xd8},_0x37d515={_0x30dd8b:0x1a1,_0x39abaf:0x258},_0x7c9d6d={_0x4bb531:0x169};let {theme:_0xd4f68b}=_0x23be01(),{rows:_0x19ebb7}=_0x4f685a(),_0x2f136b=_0x4fd890[_0x176588(_0xf888e0._0x535b1a,_0xf888e0._0x6df39d,0x349,_0xf888e0._0x3f826f)][_0x176588(_0xf888e0._0x5d1d2b,0x5d8,_0xf888e0._0x53666b,_0xf888e0._0x291eae)]()[_0x176588(_0xf888e0._0x15e62a,_0xf888e0._0x36c983,0x33c,_0xf888e0._0x39e035)](/\s+/),_0x128b6c=_0x2f136b['length']>0x1&&!_0x2f136b[0x1][_0x176588(_0xf888e0._0x564aa5,0x689,0x5d4,_0xf888e0._0x3607b0)]('--')?_0x2f136b[0x1]:null,_0x2ddc4e=_0x2f136b[_0x176588(0x3eb,0x40d,_0xf888e0._0x4da943,0x4d0)](_0x3a60ce(0x236,0x280,0x33b,_0xf888e0._0x58a563)),[_0x5100e9,_0x4bde8e]=_0x23f6e5(_0x128b6c?'method':_0x176588(_0xf888e0._0x523c6b,0x2c2,0x2f5,_0xf888e0._0x31268b)),[_0x5d80a4,_0x45881c]=_0x23f6e5(_0x128b6c),[_0x2a5c3c,_0x56804c]=_0x23f6e5(''),[_0x14b887,_0x2c084b]=_0x23f6e5(null),[_0x5f30b9,_0x122818]=_0x23f6e5(0x0),[_0x591651,_0x11a043]=_0x23f6e5(0x0),{setNotification:_0x3dfa4a}=_0x981fce(),_0xba382a=Math['min'](_0x19ebb7-0x4,0x14),_0x3f3175=_0xba382a-0x6,{state:_0xff218b,openAndPoll:_0x226211}=_0x4afe72(_0x5100e9===_0x3a60ce(_0xf888e0._0x50a6a5,_0xf888e0._0x5039f1,_0xf888e0._0x68ac6b,0x31f)&&_0x5d80a4==='github'),_0x51c847=_0x5100e9===_0x176588(_0xf888e0._0x5d62c4,0x350,_0xf888e0._0x1980b4,_0xf888e0._0x31b4c1)?_0x3a60ce(_0xf888e0._0x1327c7,0x295,0x54c,0x2c1):_0x3a60ce(_0xf888e0._0xa2f977,_0xf888e0._0x48377c,0x200,0x251),{state:_0x36a250,openBrowser:_0x643010}=_0x5e7c8a((_0x5100e9===_0x3a60ce(0x1be,_0xf888e0._0x5e0ddb,_0xf888e0._0x544e2b,_0xf888e0._0x18a13f)||_0x5100e9===_0x3a60ce(_0xf888e0._0x53173f,0x469,0x3b3,0x499))&&_0x5d80a4===_0x3a60ce(_0xf888e0._0x18801f,_0xf888e0._0x2d366f,_0xf888e0._0x5bc5b2,_0xf888e0._0x55a967),_0x51c847),{saveApiKeyAuth:_0x444dbc,saveOAuthAuth:_0x217e8d}=_0xdcc86a({'get':_0x4fd890[_0x3a60ce(0x127,-0x51,_0xf888e0._0x138feb,0x260)]['get']['bind'](_0x4fd890[_0x3a60ce(_0xf888e0._0x2fdd21,_0xf888e0._0x1c87b1,-_0xf888e0._0x4cfcc1,0xd2)]),'set':_0x4fd890[_0x176588(_0xf888e0._0x360f5a,0x3a7,0x492,0x509)][_0x176588(_0xf888e0._0x518250,0x4e2,_0xf888e0._0x5e4880,0x4ec)][_0x3a60ce(0x3e0,0x324,0x27f,0x4cc)](_0x4fd890[_0x3a60ce(0x127,_0xf888e0._0xcacde,0x2d0,_0xf888e0._0x2fd051)])}),_0x59712a=_0x4f91a8(()=>_0x5d80a4?_0x3535c3(_0x5d80a4):[],[_0x5d80a4]),_0x575c98=_0x4f91a8(()=>_0xed6fa8(),[]),_0x24e9ab=_0x4f91a8(()=>_0x575c98[_0x3a60ce(0x381,0x41e,0x313,0x415)](_0x4d9f84=>({'key':_0x4d9f84[_0x176588(0x59b,0x733,0x689,0x635)],'value':_0x4d9f84})),[_0x575c98]),_0x2cf950=_0x4f91a8(()=>_0x59712a[_0x3a60ce(0x381,0x3b6,0x3bd,0x2d6)](_0x1daea6=>({'key':_0x1daea6[_0x176588(0x59b,0x6ba,0x722,0x547)],'value':_0x1daea6})),[_0x59712a]);_0x5a5b10(()=>{function _0x4b829d(_0x57e2bd,_0x2fca8f,_0x28921,_0x393485){return _0x176588(_0x57e2bd- -0x45e,_0x2fca8f-_0x7c9d6d._0x4bb531,_0x28921-0x63,_0x28921);}_0x128b6c&&_0x5100e9===_0x4b829d(-0x101,-_0x37d515._0x30dd8b,-_0x37d515._0x39abaf,0xa6)&&(_0x2c084b(null),_0x56804c(''));},[_0x128b6c,_0x5100e9]);function _0x3a60ce(_0x163e46,_0xcd7029,_0x4a9b30,_0x581b54){return _0x593b39(_0x163e46-_0xe04d33._0x4af587,_0x163e46-0x133,_0x581b54,_0x581b54-0x1a0);}let _0x4cfed7=_0x275c10(_0x4de369=>{const _0x4f2c60={_0x33a8ea:0x12e,_0x4acb9b:0x126};function _0x496461(_0x3bf7d5,_0x211430,_0x3c4790,_0x25c19a){return _0x176588(_0x25c19a- -_0xbe34a8._0x58c5bf,_0x211430-0x116,_0x3c4790-_0xbe34a8._0x51af39,_0x3c4790);}function _0xf537f1(_0x32be0f,_0x53dc19,_0x2d02e0,_0x1318c6){return _0x176588(_0x2d02e0- -0xef,_0x53dc19-_0x3ea152._0x140cce,_0x2d02e0-_0x3ea152._0x36f68e,_0x32be0f);}_0x45881c(null),_0x4bde8e('provider'),_0x56804c(''),_0x2c084b(_0x4de369??null),_0x4de369?.[_0x496461(_0x560ca5._0x295983,0x416,_0x560ca5._0xd3dc51,_0x560ca5._0x234b21)]&&(_0x3dfa4a(_0x4de369[_0x496461(_0x560ca5._0x2b11e8,_0x560ca5._0xc3ac46,0x333,0x1a8)],0xbb8),_0x3341d7(),_0x2ddc4e&&_0x5d80a4&&setTimeout(()=>{const _0x223d8a={_0x11806d:0x32b};function _0x19bb49(_0x3db435,_0x120492,_0x21835e,_0x42fdb8){return _0xf537f1(_0x42fdb8,_0x120492-0xe7,_0x3db435- -_0x223d8a._0x11806d,_0x42fdb8-0x192);}function _0x2113c5(_0x5e8e52,_0x2d97db,_0x4fa4fd,_0x709d6c){return _0x496461(_0x5e8e52-0x45,_0x2d97db-0xc0,_0x4fa4fd,_0x709d6c-0x23f);}_0x4fd890[_0x19bb49(0x80,-0x12f,-0x7f,-0x6b)][_0x19bb49(0x284,_0x4f2c60._0x33a8ea,0x2c6,0x12a)](_0x19bb49(_0x4f2c60._0x4acb9b,0x25b,0x21b,0x151));},0x64));},[_0x3dfa4a,_0x3341d7,_0x2ddc4e,_0x5d80a4,_0x4fd890]),_0x96273a=_0x275c10(_0x12a158=>{const _0x613d03={_0x225a58:0x109,_0x3fec5a:0x139},_0x33ff6b={_0x5b7834:0x12f};function _0x43d1aa(_0x4113da,_0x57f276,_0x1bcc9c,_0x58684f){return _0x176588(_0x58684f- -0x3a7,_0x57f276-_0x33ff6b._0x5b7834,_0x1bcc9c-0x1b,_0x4113da);}function _0x325f02(_0x5f3ba1,_0x4578c6,_0x43bf96,_0xc8c0eb){return _0x3a60ce(_0x43bf96- -0xe4,_0x4578c6-_0x613d03._0x225a58,_0x43bf96-_0x613d03._0x3fec5a,_0x5f3ba1);}_0x45881c(_0x12a158['value'][_0x325f02(0x3ae,0x230,0x261,0x118)]),_0x4bde8e(_0x43d1aa(0xfe,-_0x353a80._0xf7aa33,-_0x353a80._0x34dbe6,-_0x353a80._0x156582)),_0x2c084b(null),_0x56804c(''),_0x11a043(0x0);},[]),_0x225a9d=_0x275c10(_0x19a531=>{const _0x4855a1={_0x890d3f:0x5f4,_0x581c32:0x1d0};function _0x23906c(_0x4a3624,_0xb56fa8,_0x363919,_0x5db8e9){return _0x176588(_0x4a3624- -_0x4855a1._0x890d3f,_0xb56fa8-0x5,_0x363919-_0x4855a1._0x581c32,_0xb56fa8);}function _0x2d973b(_0x4e45ea,_0x1b756c,_0x330d67,_0x200256){return _0x176588(_0x4e45ea- -0x22d,_0x1b756c-_0x34b9cb._0x87c01a,_0x330d67-0xd4,_0x1b756c);}if(_0x5d80a4)switch(_0x2c084b(null),_0x56804c(''),_0x19a531[_0x23906c(-_0x1916e8._0xde3dc,-_0x1916e8._0x65239d,-_0x1916e8._0x500acd,0x111)]['value']){case'token':_0x4bde8e(_0x2d973b(0x40c,_0x1916e8._0x2dd323,_0x1916e8._0x103e07,0x25b));return;case'device-flow':_0x4bde8e(_0x2d973b(_0x1916e8._0x5615bb,0x4cf,0x394,_0x1916e8._0x435fd2));return;case _0x23906c(-0x194,-_0x1916e8._0x47b51d,-_0x1916e8._0x1790c6,0x7):_0x4bde8e('oauthMax');return;case _0x23906c(_0x1916e8._0x1ccf57,0x41,_0x1916e8._0xa5ef46,0x2e):_0x4bde8e(_0x23906c(0x4e,_0x1916e8._0x5909d8,0x1df,-0xa4));return;case _0x23906c(-0x21d,-_0x1916e8._0x540bfd,-0x24a,-_0x1916e8._0x586e15):{_0x4cfed7({'type':_0x2d973b(0x2b2,0x181,_0x1916e8._0x5cab06,0x3cd),'message':_0x11c28b(_0x5d80a4)+_0x2d973b(0x20e,0x208,0x15a,0x194)});return;}default:_0x4cfed7();return;}},[_0x5d80a4,_0x4cfed7]),_0x788029=_0x275c10(async _0x185614=>{const _0x2fe988={_0x4bb370:0xfd,_0x2e3a3c:0x23},_0x52ab22={_0x549af1:0x3d};if(!_0x5d80a4)return;function _0x42d872(_0x3087c7,_0x133c0d,_0x1b89f1,_0x4802aa){return _0x176588(_0x3087c7- -0xc6,_0x133c0d-0x56,_0x1b89f1-_0x52ab22._0x549af1,_0x4802aa);}function _0x1520fa(_0x587813,_0x14e303,_0x349218,_0x3f8b70){return _0x176588(_0x3f8b70-_0x2fe988._0x4bb370,_0x14e303-0xdf,_0x349218-_0x2fe988._0x2e3a3c,_0x14e303);}let _0x4f2881=_0x185614['trim']();if(!_0x4f2881){_0x2c084b({'type':'error','message':'Token\x20cannot\x20be\x20empty.'});return;}try{await _0x444dbc(_0x5d80a4,_0x4f2881),_0x4cfed7({'type':'success','message':_0x11c28b(_0x5d80a4)+_0x42d872(_0x4f774b._0x2fa86e,0x5db,_0x4f774b._0x5a8cb3,_0x4f774b._0x4c7c6c),'close':!0x0});}catch(_0x29bf89){_0x4cfed7({'type':_0x1520fa(0x33c,_0x4f774b._0x48c814,0x369,_0x4f774b._0x4bba58),'message':_0x42d872(0x444,_0x4f774b._0x4ecdac,_0x4f774b._0x428a61,_0x4f774b._0x1d8645)+_0x11c28b(_0x5d80a4)+_0x1520fa(0x63a,0x315,_0x4f774b._0x29da20,0x492)+(_0x29bf89 instanceof Error?_0x29bf89['message']:String(_0x29bf89))});}},[_0x5d80a4,_0x444dbc,_0x4cfed7]),_0x16021a=_0x275c10(async(_0x57400b,_0xf792f0,_0x2cb8a9)=>{const _0x3d4dd6={_0x4e9e80:0x12b,_0x55e9d0:0x58,_0x5d6d41:0xcf};if(!_0x5d80a4||_0x5d80a4!=='anthropic')return;function _0x3bef1e(_0xb9a715,_0x5c3eea,_0x2e6740,_0x1e32bf){return _0x3a60ce(_0xb9a715-0x7c,_0x5c3eea-0x1d,_0x2e6740-_0x4aaf2f._0x3ba3aa,_0x2e6740);}function _0x2c3532(_0x2440a7,_0x153352,_0x31fce5,_0x47d4aa){return _0x3a60ce(_0x31fce5- -_0x3d4dd6._0x4e9e80,_0x153352-_0x3d4dd6._0x55e9d0,_0x31fce5-_0x3d4dd6._0x5d6d41,_0x47d4aa);}let _0x2ebd49=_0x57400b['trim']();if(!_0x2ebd49){_0x2c084b({'type':'error','message':_0x3bef1e(_0x44305b._0x2ee883,_0x44305b._0x2f3cf1,_0x44305b._0x236f4c,0x57f)});return;}try{let _0xfbb6d5=await _0x1805a1(_0x2ebd49,_0xf792f0);if(_0xfbb6d5[_0x3bef1e(0x48f,0x3a7,_0x44305b._0x548b67,0x315)]===_0x2c3532(0x1f,_0x44305b._0x2ad850,-0x26,0x71)||!_0xfbb6d5[_0x3bef1e(_0x44305b._0x2f477e,0x201,_0x44305b._0x47c2a7,0x2f0)]){_0x2c084b({'type':_0x2c3532(-_0x44305b._0x59a97f,-_0x44305b._0x37c09c,0xd,_0x44305b._0x509ddd),'message':'Failed\x20to\x20exchange\x20authorization\x20code\x20for\x20token.'});return;}let _0x166916;if(_0x2cb8a9===_0x3bef1e(_0x44305b._0xdd634e,0x2a3,0x10c,_0x44305b._0x8d1f47)){let _0x162979=await _0x22aa20(_0xfbb6d5['access']);if(_0x162979['type']===_0x2c3532(-_0x44305b._0x2b5b10,0x17b,-0x26,-0x11e)||!_0x162979[_0x3bef1e(0x281,0xf2,0x104,_0x44305b._0x3e5833)]){_0x2c084b({'type':_0x2c3532(-0x19e,-_0x44305b._0x35a9d2,_0x44305b._0x7508d8,-_0x44305b._0x767c35),'message':_0x2c3532(_0x44305b._0x4d2eef,_0x44305b._0x44ce19,0x19e,0x28f)});return;}await _0x444dbc(_0x5d80a4,_0x162979['key']),_0x166916=_0x3bef1e(0x43a,0x3f8,_0x44305b._0x1866f3,0x571);}else{if(!_0xfbb6d5[_0x2c3532(_0x44305b._0x4104d3,-0x60,_0x44305b._0x1a1a5b,0xa1)]){_0x2c084b({'type':'error','message':'Missing\x20refresh\x20token.'});return;}await _0x217e8d(_0x5d80a4,_0xfbb6d5['access'],_0xfbb6d5[_0x3bef1e(0x20a,0x36e,_0x44305b._0x1d968c,_0x44305b._0x23c387)],_0xfbb6d5[_0x2c3532(_0x44305b._0x3918d8,_0x44305b._0x2f9b6d,_0x44305b._0x18fec7,0x2b1)]),_0x166916='Anthropic\x20OAuth\x20credentials\x20saved\x20to\x20configuration.';}_0x4cfed7({'type':_0x3bef1e(_0x44305b._0x52c109,_0x44305b._0xac831d,_0x44305b._0x31993d,0x3a3),'message':_0x166916});}catch(_0x5c7d42){_0x2c084b({'type':_0x2c3532(-_0x44305b._0x281c95,_0x44305b._0x55ca2c,_0x44305b._0x44c313,0x15c),'message':_0x2c3532(_0x44305b._0x202df4,_0x44305b._0x58ba6c,_0x44305b._0x53087f,0x166)+(_0x5c7d42 instanceof Error?_0x5c7d42[_0x3bef1e(0x25d,_0x44305b._0x149cd8,0x3e6,0x234)]:String(_0x5c7d42))});}},[_0x5d80a4,_0x444dbc,_0x217e8d,_0x4cfed7]);function _0x176588(_0x400b4b,_0x2128c6,_0x41a2bf,_0x514c1a){return _0x593b39(_0x400b4b-0x89,_0x400b4b-_0x20da36._0x331731,_0x514c1a,_0x514c1a-0x11);}_0x5a5b10(()=>{const _0x180d26={_0x2bc7ed:0x175,_0x33fbef:0x4f,_0x4ee14b:0x14,_0x22213f:0x3f,_0x2a444a:0x4ac,_0xe368cc:0x3e6,_0x6f3eac:0x50f,_0xf98a13:0x35c,_0x1e0cd5:0x20a,_0x55d56a:0x6b,_0xcdd738:0x185,_0x289e14:0x453,_0x49154e:0x1c4},_0x16db17={_0x4de677:0x56};function _0x12cbe9(_0x54b579,_0x3a109e,_0x1898a0,_0x2f9203){return _0x3a60ce(_0x1898a0- -_0x3b91c4._0x4e5b8a,_0x3a109e-0x14d,_0x1898a0-0xb7,_0x54b579);}function _0x504b1e(_0x1148ed,_0xc9a0d9,_0x1af6fe,_0x2c87c1){return _0x176588(_0x2c87c1- -_0x9f09ab._0x5b4719,_0xc9a0d9-_0x9f09ab._0x5c0fe7,_0x1af6fe-_0x9f09ab._0x4f9f7f,_0x1af6fe);}_0xff218b['status']===_0x12cbe9(-0x137,-0x2a0,-_0x36edf3._0x2b89d4,_0x36edf3._0x1772df)&&_0x5100e9===_0x12cbe9(0x1a3,_0x36edf3._0x463cf7,_0x36edf3._0x5225c2,-_0x36edf3._0x4e7b66)&&_0x5d80a4&&((async()=>{const _0x1fdb2e={_0x1d27c8:0x141,_0x5ea523:0x8d};function _0x415590(_0x4888fc,_0x35500a,_0x7e7aa6,_0x2dc149){return _0x12cbe9(_0x4888fc,_0x35500a-_0x1fdb2e._0x1d27c8,_0x7e7aa6-_0x1fdb2e._0x5ea523,_0x2dc149-0xf2);}function _0xc467e4(_0x4e7344,_0x1f3c83,_0x40b382,_0x5ce6e6){return _0x12cbe9(_0x5ce6e6,_0x1f3c83-0x196,_0x4e7344-0x523,_0x5ce6e6-_0x16db17._0x4de677);}try{await _0x444dbc(_0x5d80a4,_0xff218b[_0x415590(_0x180d26._0x2bc7ed,_0x180d26._0x33fbef,-_0x180d26._0x4ee14b,_0x180d26._0x22213f)]),_0x4cfed7({'type':_0xc467e4(0x434,_0x180d26._0x2a444a,_0x180d26._0xe368cc,_0x180d26._0x6f3eac),'message':_0x415590(-0x1a3,-_0x180d26._0xf98a13,-_0x180d26._0x1e0cd5,-_0x180d26._0x55d56a)});}catch(_0x17620d){_0x4cfed7({'type':_0xc467e4(0x27c,_0x180d26._0xcdd738,0x3de,0x1fb),'message':'Failed\x20to\x20save\x20GitHub\x20token:\x20'+(_0x17620d instanceof Error?_0x17620d[_0xc467e4(0x325,0x219,_0x180d26._0x289e14,_0x180d26._0x49154e)]:String(_0x17620d))});}})());},[_0xff218b,_0x5100e9,_0x5d80a4,_0x444dbc,_0x4cfed7]);let _0x46f1da=(_0xd524d9,_0x11335b)=>_0x1624a3(_0x27d7b6,{'children':[_0x498b74(_0x56c8f7,{'color':_0x11335b?_0xd4f68b[_0x176588(0x5aa,0x67b,0x5f3,0x5b1)][_0x3a60ce(0x2a0,0x2b7,0x1ca,0x42b)]:void 0x0,'children':_0x11335b?'❯\x20':'\x20\x20'}),_0x498b74(_0x56c8f7,{'color':_0x11335b?_0xd4f68b['colors'][_0x3a60ce(0x2a0,0x197,0x36c,0x424)]:void 0x0,'bold':_0x11335b,'children':_0xd524d9[_0x3a60ce(0x292,0x2db,0x1d9,0x3cb)]})]});return _0x1624a3(_0x32a44e,{'visible':!0x0,'title':_0x3a60ce(0x36f,0x2db,_0xf888e0._0x43fbe1,0x4dc),'onClose':_0x5100e9===_0x176588(_0xf888e0._0x523c6b,_0xf888e0._0x17c16c,_0xf888e0._0x61d69d,_0xf888e0._0x30a937)?_0x3341d7:()=>_0x4cfed7(),'closeOnEscape':!0x0,'closeOnEnter':!0x1,'height':_0xba382a,'children':[((()=>{const _0x1525ec={_0x142ff0:0x215,_0x3105e4:0x1bd};function _0x3fc746(_0x464c8c,_0x3d42b8,_0x34fbdb,_0x4e63dc){return _0x176588(_0x4e63dc- -_0x49173d._0x55f821,_0x3d42b8-_0x49173d._0x17d9eb,_0x34fbdb-_0x49173d._0x23551c,_0x34fbdb);}function _0x55bf9a(_0x2218e3,_0x581f76,_0x6a8bde,_0x388d62){return _0x3a60ce(_0x581f76- -_0x1525ec._0x142ff0,_0x581f76-0x158,_0x6a8bde-_0x1525ec._0x3105e4,_0x6a8bde);}switch(_0x5100e9){case'provider':return _0x1624a3(_0x27d7b6,{'flexDirection':_0x55bf9a(0x16d,0x12b,-_0x5bd41c._0x459a5b,0x1e1),'flexGrow':0x1,'overflow':_0x55bf9a(_0x5bd41c._0x5c5dfe,0x127,_0x5bd41c._0x298620,_0x5bd41c._0x5ef85a),'children':[_0x498b74(_0x56c8f7,{'children':_0x55bf9a(-0x155,-_0x5bd41c._0x53e4cf,-_0x5bd41c._0x589a12,-0xd3)}),_0x498b74(_0x27d7b6,{'marginTop':0x1,'flexGrow':0x1,'overflow':'hidden','children':_0x498b74(Fo,{'items':_0x24e9ab,'selectedIndex':_0x5f30b9,'onHighlight':(_0x427d25,_0x261119)=>_0x122818(_0x261119),'onSelect':_0x96273a,'renderItem':_0x46f1da,'maxHeight':_0x3f3175})})]});case _0x55bf9a(-_0x5bd41c._0x2e9c78,-0x10e,-_0x5bd41c._0x412d6d,-_0x5bd41c._0x2df646):return _0x1624a3(_0x27d7b6,{'flexDirection':_0x55bf9a(0x2a8,0x12b,0x1f3,0x80),'flexGrow':0x1,'overflow':_0x3fc746(-0x1c8,-_0x5bd41c._0x106cf1,-0xe8,-_0x5bd41c._0x127e42),'children':[_0x5d80a4?_0x1624a3(_0x56c8f7,{'children':[_0x55bf9a(_0x5bd41c._0x3a88a0,_0x5bd41c._0x5723a6,_0x5bd41c._0x1139aa,_0x5bd41c._0x5eb312),_0x498b74(_0x56c8f7,{'color':_0xd4f68b['auth'][_0x55bf9a(-_0x5bd41c._0x5a51e7,-0x109,-0x18,-_0x5bd41c._0x2fd54d)],'children':_0x11c28b(_0x5d80a4)})]}):null,_0x498b74(_0x56c8f7,{'children':_0x55bf9a(_0x5bd41c._0x185888,0x81,_0x5bd41c._0xa1e3d3,_0x5bd41c._0x6a3c96)}),_0x498b74(_0x27d7b6,{'marginTop':0x1,'flexGrow':0x1,'overflow':'hidden','children':_0x498b74(Fo,{'items':_0x2cf950,'selectedIndex':_0x591651,'onHighlight':(_0x1cdf82,_0x4d64fd)=>_0x11a043(_0x4d64fd),'onSelect':_0x225a9d,'renderItem':_0x46f1da,'maxHeight':_0x3f3175})})]});case _0x3fc746(-0xdb,-_0x5bd41c._0x4b94c4,-0x140,0x2b):return _0x5d80a4?_0x1624a3(_0x27d7b6,{'flexDirection':_0x55bf9a(_0x5bd41c._0x794ade,0x12b,0x247,0x2a),'children':[_0x1624a3(_0x56c8f7,{'children':['Provider:\x20',_0x498b74(_0x56c8f7,{'color':_0xd4f68b[_0x55bf9a(-_0x5bd41c._0x2b3f8c,-0x39,-_0x5bd41c._0x1a2827,-0x32)][_0x3fc746(-0x387,-_0x5bd41c._0x1da4a5,-0x24e,-_0x5bd41c._0x45cae1)],'children':_0x11c28b(_0x5d80a4)})]}),_0x498b74(_0x56c8f7,{'children':'Enter\x20your\x20API\x20key\x20or\x20token,\x20then\x20press\x20Enter.'}),_0x498b74(_0x27d7b6,{'marginTop':0x1,'children':_0x498b74(_0x4883d1,{'value':_0x2a5c3c,'onChange':_0x56804c,'onSubmit':_0x788029,'placeholder':_0x3fc746(-0x167,-0xb8,_0x5bd41c._0x5eed41,-_0x5bd41c._0x51b12e)})})]}):null;case _0x3fc746(-0xcf,_0x5bd41c._0x1567ff,-_0x5bd41c._0x54e027,_0x5bd41c._0x35acb4):return _0x1624a3(_0x27d7b6,{'flexDirection':_0x55bf9a(0x1ee,_0x5bd41c._0x250b48,_0x5bd41c._0x3af3b5,_0x5bd41c._0x6d4dcc),'children':[_0x1624a3(_0x56c8f7,{'children':[_0x55bf9a(-0x15,_0x5bd41c._0x19e8aa,0x1d8,0x1e0),_0x498b74(_0x56c8f7,{'color':_0xd4f68b[_0x3fc746(-0xb3,-_0x5bd41c._0x37b8e2,-_0x5bd41c._0x2ae0a2,-_0x5bd41c._0x4c8c77)][_0x55bf9a(-0x274,-0x109,-0x6c,-0x17c)],'children':_0x55bf9a(_0x5bd41c._0x29b5fa,_0x5bd41c._0x4b678b,0xb7,_0x5bd41c._0x28aaa9)})]}),_0x498b74(_0x213e37,{'state':_0xff218b,'onOpenBrowser':_0x226211,'theme':{'waiting':_0xd4f68b[_0x3fc746(-_0x5bd41c._0x1034e9,-_0x5bd41c._0x2ef546,-_0x5bd41c._0x48cc45,-0x1dc)][_0x3fc746(-_0x5bd41c._0x4c596e,-_0x5bd41c._0x298620,-_0x5bd41c._0x28e5cb,-_0x5bd41c._0x37a4e4)],'link':_0xd4f68b[_0x3fc746(-_0x5bd41c._0x47bd3a,-_0x5bd41c._0x26642a,-0x1da,-_0x5bd41c._0x1ba9ee)][_0x55bf9a(0x126,-_0x5bd41c._0x2cbb0e,-0x147,0xff)],'code':_0xd4f68b['auth'][_0x55bf9a(0xa8,0xf6,0x12b,-0x67)],'error':_0xd4f68b['auth'][_0x3fc746(-0x1fe,-_0x5bd41c._0x5c5455,-0x306,-_0x5bd41c._0x100d63)]}})]});case _0x55bf9a(_0x5bd41c._0x12aa21,-_0x5bd41c._0x58e4af,-_0x5bd41c._0x17c4b3,-0xa3):case'oauthConsole':{let _0x327333=_0x5100e9===_0x55bf9a(-0x1f4,-0x57,-0xb3,-_0x5bd41c._0x298620)?'max':_0x55bf9a(0xf3,0xa,-_0x5bd41c._0x38a0e8,-_0x5bd41c._0x4f7d91),_0xd0a65c=_0x5100e9==='oauthMax'?_0x55bf9a(-0x10e,-0x2f,-_0x5bd41c._0x3dae1a,-0x42):'Console';return _0x1624a3(_0x27d7b6,{'marginTop':0x1,'flexDirection':_0x3fc746(-_0x5bd41c._0x4d9f37,-0xf,_0x5bd41c._0x38e02d,-0x78),'children':[_0x1624a3(_0x56c8f7,{'children':['Provider:\x20',_0x1624a3(_0x56c8f7,{'color':_0xd4f68b[_0x3fc746(-_0x5bd41c._0xc31dff,-_0x5bd41c._0x595be0,-_0x5bd41c._0x22adf9,-_0x5bd41c._0x1ba9ee)]['provider'],'children':[_0x3fc746(-0x14d,-_0x5bd41c._0x4c340f,-_0x5bd41c._0x22467f,-_0x5bd41c._0x2f5a98),_0xd0a65c,')']})]}),_0x498b74(_0x2fc612,{'state':_0x36a250,'code':_0x2a5c3c,'onCodeChange':_0x56804c,'onSubmit':_0x19ae54=>_0x36a250['status']===_0x3fc746(0x2c,0x1dc,0x9f,0x61)&&_0x16021a(_0x19ae54,_0x36a250[_0x3fc746(0x1f,-0x2b4,0x32,-0x13c)],_0x327333),'onOpenBrowser':_0x643010,'theme':{'waiting':_0xd4f68b[_0x55bf9a(0x21,-0x39,-_0x5bd41c._0x3c98c9,_0x5bd41c._0x2455d7)][_0x55bf9a(_0x5bd41c._0x5c4a9f,-_0x5bd41c._0x164f48,_0x5bd41c._0x14d9ab,0xc0)],'link':_0xd4f68b[_0x3fc746(-0x41,-0x262,-_0x5bd41c._0x4e5d4d,-0x1dc)]['link'],'error':_0xd4f68b[_0x3fc746(-0x30b,-_0x5bd41c._0x27a267,-0x2a9,-_0x5bd41c._0x4c8c77)][_0x3fc746(-_0x5bd41c._0x34a447,-0x1c3,-0x2bf,-0x280)],'subtitle':_0xd4f68b[_0x55bf9a(0x232,0x13f,_0x5bd41c._0x2bbf6f,0xc7)]['muted']}})]});}default:return null;}})()),_0x14b887?_0x498b74(_0x27d7b6,{'marginTop':0x1,'children':_0x498b74(_0x56c8f7,{'color':ys(_0x14b887,_0xd4f68b),'children':_0x14b887[_0x176588(_0xf888e0._0x23754c,_0xf888e0._0x1ddf24,0x355,0x3eb)]})}):null]});};function Tn(_0x3fd549){const _0x370495={_0x5124b2:0x88,_0x3af53d:0xc6,_0x22e184:0x618,_0x4e039c:0x48c,_0x34357b:0x1a3,_0x199184:0x3e},_0x2b8075={_0x2ab565:0x276,_0x5079fa:0x139},_0x19a75a={_0x1b6a0c:0x15d};function _0x4e9333(_0x548094,_0x35912d,_0x36b054,_0x307a77){return _0x593b39(_0x548094-0x63,_0x307a77- -_0x19a75a._0x1b6a0c,_0x548094,_0x307a77-_0x19a75a._0x1b6a0c);}function _0x4d389e(_0x44a7b6,_0x4ff1f4,_0x52a893,_0x20e201){return _0x40e58d(_0x44a7b6,_0x4ff1f4-0x1c3,_0x52a893-_0x2b8075._0x2ab565,_0x20e201-_0x2b8075._0x5079fa);}_0x3fd549['register']({'id':'/auth','type':_0x4e9333(-_0x370495._0x5124b2,0x223,_0x370495._0x3af53d,0x70),'description':_0x4d389e(0x3ba,_0x370495._0x22e184,_0x370495._0x4e039c,0x555),'category':_0x4e9333(_0x370495._0x34357b,0x177,-0x13a,_0x370495._0x199184),'component':wn});}import{useCallback as _0x2e2c37,useEffect as _0x3e0636,useRef as _0xe7faff,useState as _0x3e5e52}from'react';import*as _0x5a3e96 from'crypto';import _0x2e6224 from'ansi-escapes';import{jsx as _0xeb3ee9}from'react/jsx-runtime';var co=0x14,bs=({context:_0x10eae9,deactivate:_0x5322eb})=>{const _0x45118f={_0x36a676:0x27f,_0x45b2bb:0xd8,_0x3fc886:0x30f,_0x3df808:0x1c0,_0x1b808a:0xfe,_0x58c05f:0x3f1,_0x5abd7a:0x91,_0x30274f:0x26c,_0x3a184f:0x485,_0x107c33:0x56d,_0x330542:0x3e5,_0x3bda07:0x32b,_0x20aa18:0x37a,_0xf40f84:0x486,_0x534301:0x4a2,_0x5cc5b5:0x1d5,_0x32d368:0x115,_0x33e9e4:0x1db,_0x27dd14:0x1b3,_0x4bc7a9:0x3fd,_0x23dbf9:0x3df,_0x5a40a8:0x342,_0x43e90c:0x3f3,_0x2b92ea:0x2eb,_0x49f09c:0x434,_0x4f402a:0x5c0,_0x487c77:0x312,_0x30e658:0x2ea,_0xe1f316:0x37f,_0x42d850:0x464,_0x3e33e9:0x46e,_0x36f76e:0x4df,_0x2380f9:0x471,_0x14f0e0:0x469,_0x2602bc:0x4a0,_0x2ed3df:0x26d,_0x384d68:0x381},_0xcdc363={_0x369994:0x18e,_0x33b540:0x27e},_0x425869={_0xa2e4fe:0x1ce,_0x3cd733:0x1f5,_0x54265c:0x209},_0x31423b={_0x484655:0x2fd,_0x41f62f:0x1b3,_0x1b57da:0x20d,_0x5223fa:0x19d,_0x5a6899:0xd4,_0x37dda4:0x1cc,_0x3846cd:0x169,_0x12392d:0xd0,_0x584295:0x2e1,_0x4b95b3:0x247},_0x4f4a84={_0x34a573:0x291,_0x25f743:0x1f7,_0x51afa6:0x2b3,_0x226a3e:0x10a,_0x36153c:0xb0,_0x13f1a0:0x9e,_0x4ffb3c:0x22a,_0x297762:0x15c,_0x401034:0x169,_0x5d7840:0x1a8,_0x1ccce1:0x1c4,_0x59f478:0x28a,_0x21fe79:0x1b6,_0x576db2:0x100,_0x5d939d:0x271,_0x2bcc05:0x11c,_0x3a5cd1:0x53,_0x3289e5:0x96,_0x228116:0x170},_0x9e775f={_0x3f1159:0x36e,_0x5eefc6:0x6e},_0x1d18ec={_0xbcddf7:0x75,_0x41cdfb:0x161},_0x49931e={_0xe24596:0x178};let {theme:_0x1c5381}=_0x23be01(),{rows:_0x3d9b76}=_0x4f685a(),[_0x127270,_0x1f33eb]=_0x3e5e52([]),[_0x9c5f01,_0x3c8b5c]=_0x3e5e52(0x0),[_0x33c71b,_0xc0a7d8]=_0x3e5e52(!0x0),[_0x4a463e,_0x296510]=_0x3e5e52(!0x1),[_0x1698ff,_0x44d0bb]=_0x3e5e52(!0x0),[_0xc8167d,_0x2f7866]=_0x3e5e52(null),[_0xca1d4a,_0x4d9f5a]=_0x3e5e52(!0x1),_0x193fc3=_0xe7faff(!0x1),_0x5797b3=_0xe7faff(_0x127270);function _0x3b01e6(_0x58573b,_0x3950a1,_0x44947c,_0x4f9328){return _0x40e58d(_0x4f9328,_0x3950a1-0x39,_0x58573b-0xa5,_0x4f9328-_0x49931e._0xe24596);}function _0x7fca42(_0x29c683,_0x1b7363,_0x432deb,_0x17df6b){return _0x40e58d(_0x432deb,_0x1b7363-0x136,_0x29c683-_0x1d18ec._0xbcddf7,_0x17df6b-_0x1d18ec._0x41cdfb);}_0x5797b3[_0x3b01e6(_0x45118f._0x36a676,0x34a,0x1e9,0x123)]=_0x127270;let _0x4d25cc=_0xe7faff(_0x9c5f01);_0x4d25cc[_0x3b01e6(0x27f,_0x45118f._0x45b2bb,_0x45118f._0x3fc886,_0x45118f._0x3df808)]=_0x9c5f01;let _0x10449c=_0xe7faff(''),_0x2e89f4=_0x1f6b2d['getInstance']()['getCurrentProfile'](),_0x24bc86=_0xc8167d??_0x127270;_0x528efb((_0x65ed83,_0x183b0a)=>{_0x183b0a['escape']&&_0x5322eb();},{'isActive':!0x0});let _0x1ac83c=_0x2e2c37(async()=>{const _0x1d3f04={_0x5c4312:0x446,_0x3b03f4:0x13f};function _0x2d5145(_0x24f5c6,_0x180eae,_0x2e9e38,_0x3e2926){return _0x7fca42(_0x2e9e38- -_0x1d3f04._0x5c4312,_0x180eae-0xb7,_0x180eae,_0x3e2926-_0x1d3f04._0x3b03f4);}function _0xfb403c(_0x4734fc,_0x14c683,_0x24061c,_0xfc1edd){return _0x3b01e6(_0x14c683- -_0x9e775f._0x3f1159,_0x14c683-_0x9e775f._0x5eefc6,_0x24061c-0x16,_0xfc1edd);}if(!_0x193fc3[_0x2d5145(-0x275,-_0x4f4a84._0x34a573,-_0x4f4a84._0x25f743,-_0x4f4a84._0x51afa6)]){_0x193fc3['current']=!0x0,_0x296510(!0x0);try{let _0x198762=_0x4d25cc['current'],_0x50feec=_0x198762*co,_0x483c93=await _0x93c79d(co,_0x50feec,_0x2e89f4);_0x483c93[_0x2d5145(_0x4f4a84._0x226a3e,_0x4f4a84._0x36153c,-0x9f,-0x21)]===0x0?_0xc0a7d8(!0x1):(_0x1f33eb([..._0x5797b3[_0xfb403c(-_0x4f4a84._0x13f1a0,-0xef,-_0x4f4a84._0x4ffb3c,-_0x4f4a84._0x297762)],..._0x483c93]),_0x3c8b5c(_0x198762+0x1),_0x483c93['length']<co&&_0xc0a7d8(!0x1));}catch(_0x5a793){let _0x5e3f24=_0x5a793 instanceof Error?_0x5a793['message']:String(_0x5a793);_0x10eae9[_0xfb403c(-0x2b5,-_0x4f4a84._0x401034,-_0x4f4a84._0x5d7840,-_0x4f4a84._0x1ccce1)]['emit']('ui:line',{'id':_0x5a3e96[_0x2d5145(-_0x4f4a84._0x59f478,-0x119,-_0x4f4a84._0x21fe79,-0x17b)](),'type':_0xfb403c(-0x1d1,-0x1c8,-0x196,-0x1dd),'content':'Failed\x20to\x20load\x20sessions:\x20'+_0x5e3f24,'metadata':{'timestamp':new Date()['toISOString']()},'color':_0x1c5381[_0xfb403c(-0xaa,_0x4f4a84._0x576db2,_0x4f4a84._0x5d939d,_0x4f4a84._0x2bcc05)][_0xfb403c(_0x4f4a84._0x3a5cd1,0xcf,_0x4f4a84._0x3289e5,0x10)]});}finally{_0x193fc3[_0x2d5145(-_0x4f4a84._0x228116,-0x2e0,-0x1f7,-0x6d)]=!0x1,_0x296510(!0x1);}}},[_0x2e89f4,_0x10eae9[_0x3b01e6(0x205,0x2a0,_0x45118f._0x1b808a,0x373)],_0x1c5381[_0x3b01e6(0x46e,_0x45118f._0x58c05f,0x35c,0x4a7)]['red']]);_0x3e0636(()=>{const _0x1dccbd={_0x5b89ed:0x630,_0x1e56b4:0x485,_0x3bbf6a:0x2bb,_0x5e2919:0x464,_0x734ca1:0x178,_0x52483f:0x237,_0x4f5089:0x3a5,_0x1c2bee:0x283,_0x2a8c9b:0x58c,_0x43c6d1:0x85,_0x39c924:0x76,_0x1b42d5:0x1ec,_0x558a90:0x77,_0xbe7b69:0x1a9,_0x2011c0:0x357,_0x2f1b9e:0x242,_0x3dfe19:0x1c1,_0x1a392b:0x208,_0x5f0742:0x1fd,_0x202a27:0x6f,_0x471ad8:0xf6,_0x10c61c:0x453,_0x1da5f3:0x31e,_0x126f0f:0x2d0,_0x51e21b:0x36e,_0x4b01a0:0x4bc,_0x35def1:0x418,_0x37b5c4:0x3e9,_0x206379:0x3d4},_0x548d0b={_0x195d31:0x19c};((async()=>{const _0xd38999={_0x568242:0x1d7};function _0x3ce676(_0x1cdeb8,_0x254258,_0x21bf4b,_0x2c5413){return _0x5737(_0x21bf4b-_0x548d0b._0x195d31,_0x1cdeb8);}function _0x24de5d(_0x5d9b61,_0x4a104a,_0x162188,_0x51bc90){return _0x5737(_0x4a104a- -_0xd38999._0x568242,_0x51bc90);}try{let _0x30deb7=await _0x93c79d(co,0x0,_0x2e89f4);if(_0x30deb7[_0x3ce676(_0x1dccbd._0x5b89ed,0x3dc,_0x1dccbd._0x1e56b4,0x622)]===0x0){_0x10eae9[_0x3ce676(_0x1dccbd._0x3bbf6a,_0x1dccbd._0x5e2919,0x2b3,_0x1dccbd._0x734ca1)][_0x3ce676(0x2aa,0x529,0x40f,0x2d4)]('ui:line',{'id':_0x5a3e96['randomUUID'](),'type':_0x3ce676(0x2d5,_0x1dccbd._0x52483f,_0x1dccbd._0x4f5089,0x509),'content':_0x3ce676(0x3a3,_0x1dccbd._0x1c2bee,0x3dc,_0x1dccbd._0x2a8c9b),'metadata':{'timestamp':new Date()[_0x24de5d(-_0x1dccbd._0x43c6d1,_0x1dccbd._0x39c924,_0x1dccbd._0x1b42d5,-0x31)]()},'color':_0x1c5381[_0x24de5d(_0x1dccbd._0x558a90,_0x1dccbd._0xbe7b69,0x335,_0x1dccbd._0x2011c0)][_0x24de5d(_0x1dccbd._0x2f1b9e,_0x1dccbd._0x3dfe19,_0x1dccbd._0x1a392b,0x200)]}),_0x5322eb();return;}_0x1f33eb(_0x30deb7),_0x3c8b5c(0x1),_0xc0a7d8(_0x30deb7[_0x24de5d(-0x11,0x112,_0x1dccbd._0x5f0742,0x1cd)]===co);}catch(_0x5b053d){let _0x4aaa62=_0x5b053d instanceof Error?_0x5b053d[_0x24de5d(-_0x1dccbd._0x202a27,-0x76,_0x1dccbd._0x471ad8,0x7a)]:String(_0x5b053d);_0x10eae9['eventBus'][_0x3ce676(0x542,_0x1dccbd._0x10c61c,0x40f,_0x1dccbd._0x1da5f3)]('ui:line',{'id':_0x5a3e96[_0x3ce676(0x36e,_0x1dccbd._0x126f0f,_0x1dccbd._0x51e21b,0x21f)](),'type':'error','content':_0x3ce676(0x5a9,_0x1dccbd._0x4b01a0,0x477,_0x1dccbd._0x35def1)+_0x4aaa62,'metadata':{'timestamp':new Date()[_0x3ce676(0x327,0x3b5,_0x1dccbd._0x37b5c4,_0x1dccbd._0x206379)]()},'color':_0x1c5381['tokens']['red']}),_0x5322eb();}finally{_0x44d0bb(!0x1);}})());},[_0x10eae9[_0x3b01e6(0x205,_0x45118f._0x5abd7a,0x295,_0x45118f._0x30274f)],_0x5322eb,_0x2e89f4,_0x1c5381[_0x7fca42(0x43e,_0x45118f._0x3a184f,_0x45118f._0x107c33,_0x45118f._0x330542)][_0x7fca42(0x40d,_0x45118f._0x3bda07,_0x45118f._0x20aa18,0x43e)],_0x1c5381['tokens'][_0x3b01e6(_0x45118f._0xf40f84,_0x45118f._0x534301,0x5a2,0x560)]]);let _0x2f1669=_0x2e2c37(()=>{_0x1ac83c();},[_0x1ac83c]),_0x42f937=_0x2e2c37(async _0x448eca=>{const _0x36092a={_0x24822f:0x1ab,_0x534976:0x1b5,_0x4a9b25:0x12b},_0x3ed82e={_0x4d2d56:0x92};if(_0x10449c['current']=_0x448eca,!_0x448eca[_0x215410(_0x31423b._0x484655,_0x31423b._0x41f62f,_0x31423b._0x1b57da,_0x31423b._0x5223fa)]()){_0x4d9f5a(!0x1),_0x2f7866(null);return;}function _0x215410(_0x594c4a,_0xbbf1cd,_0x3db994,_0x3611cb){return _0x7fca42(_0x594c4a-_0x3ed82e._0x4d2d56,_0xbbf1cd-0x1d9,_0xbbf1cd,_0x3611cb-0xf5);}function _0x5eb14a(_0x8b2aed,_0x3aa156,_0x104cc9,_0x2db1b4){return _0x3b01e6(_0x3aa156- -_0x36092a._0x24822f,_0x3aa156-_0x36092a._0x534976,_0x104cc9-_0x36092a._0x4a9b25,_0x8b2aed);}_0x4d9f5a(!0x0);try{let _0x292e97=await _0x3b0850(_0x448eca,_0x2e89f4);if(_0x10449c[_0x5eb14a(-0xd9,_0x31423b._0x5a6899,0x3a,_0x31423b._0x37dda4)]!==_0x448eca)return;_0x2f7866(_0x292e97);}catch{if(_0x10449c[_0x5eb14a(_0x31423b._0x3846cd,0xd4,-_0x31423b._0x12392d,0x93)]!==_0x448eca)return;_0x2f7866([]);}finally{_0x10449c[_0x215410(_0x31423b._0x584295,_0x31423b._0x4b95b3,0x403,0x194)]===_0x448eca&&_0x4d9f5a(!0x1);}},[_0x2e89f4]);if(_0x3e0636(()=>{const _0xa5c1de={_0x4a35c1:0x2c6,_0x4d3c1d:0x14d,_0x2a7081:0x16c},_0x512f49={_0x439c32:0x577,_0x15674b:0x1a8,_0x5ba980:0x2b8,_0x11a8ef:0x244,_0xdfe1a6:0x5c7,_0x3aadbf:0x3d9,_0x24b33c:0x2a1,_0x86571d:0x314,_0x30daf6:0x251,_0x221689:0x420,_0x27bd7f:0x320,_0x314bf1:0x5aa,_0x31b730:0x507,_0x5ad3d8:0x449,_0x135782:0x355,_0x3af95b:0x4b3,_0x55d388:0x5ec,_0x3651db:0x600,_0x5a7a6e:0x383,_0x301848:0x3cc,_0x2beff5:0x501,_0xab4499:0x540,_0x3f0ec0:0x56b,_0x4f6c4d:0x373,_0x40d4ce:0x2ad,_0x433bf4:0x670,_0x4317c3:0x599,_0x7d361b:0x50f,_0x1fc1d7:0x5c1,_0x33efb8:0x694,_0x2679d9:0x5d6,_0x40d7e7:0x521,_0x5f3f42:0x4f2,_0x4394fe:0x4f3,_0x220934:0x24e,_0xa4f745:0x539,_0x22526d:0x5f4,_0x12eb5f:0x670,_0x2b4920:0x526,_0x6ecd64:0x62b,_0x518433:0x451,_0x563bd5:0x5ce,_0x4b26aa:0x5e6,_0x15cdb8:0x3a5,_0x522a25:0x4e5,_0x5a0b9f:0x54b,_0x596cae:0x691,_0x319a9f:0x60d,_0x586c8c:0x5be,_0x526a3a:0x56f,_0x229d55:0x7e3,_0x15acc4:0x7a2,_0x522587:0x79a,_0x543810:0x80f,_0x154df8:0x7dd,_0x19aa85:0x7c5,_0x27e440:0x7f9,_0x3a2b70:0x784,_0x4bb41f:0x7e0,_0x48dba8:0x586,_0xb080cf:0x277,_0x1a1814:0x315,_0x3530fa:0x3ef,_0x1f2eef:0x263,_0x3b1dc1:0x521,_0x10fc91:0x593,_0x3cbb33:0x5a1,_0x1125a1:0x339,_0x534d32:0x384,_0x534ecc:0x362,_0x1a0269:0x2e2,_0x442c7f:0x59c,_0xd339d5:0x6d1,_0x44b6a7:0x686,_0x23c0ef:0x2a6,_0x4e6d4a:0x352,_0xce7dd4:0x39d,_0x13a26c:0x3e8,_0x2a8cec:0x36d,_0x55147c:0x4eb,_0x2fb70a:0x592,_0x2b6934:0x3ca,_0x1927c3:0x50f,_0x3cc9fd:0x485,_0x677c7d:0x366,_0x3ea966:0x295,_0x161f2e:0x2b1,_0x5a4e3c:0x6b0,_0x18ae94:0x510,_0x2c7761:0x73e,_0x544a62:0x67f,_0x27c418:0x65b},_0x281321={_0x39231a:0xdf,_0x33f044:0x180};function _0x2b14ae(_0x3590d0,_0xbfe1b8,_0x34d669,_0x290edd){return _0x7fca42(_0x3590d0- -0x455,_0xbfe1b8-_0x281321._0x39231a,_0xbfe1b8,_0x290edd-_0x281321._0x33f044);}let _0x263d05=async _0xb31daf=>{const _0x380c1e={_0x4e8c79:0x330};function _0x1e9142(_0xafa26e,_0x4f1167,_0x153d46,_0x155cae){return _0x5737(_0xafa26e-_0x380c1e._0x4e8c79,_0x155cae);}function _0x5b31a9(_0x43fb5c,_0x145263,_0x1c6511,_0x70ad62){return _0x5737(_0x1c6511-0x1cb,_0x145263);}try{_0x5322eb();let _0x4a56f9=await _0x27cb9(_0xb31daf['sessionId'],_0x2e89f4);if(_0x4a56f9[_0x1e9142(0x4e4,0x57c,0x3c4,_0x512f49._0x439c32)]==='messages'){let _0x34f5eb=_0x2b1708(_0xb31daf['sessionId'],_0x2e89f4);if(!_0x10eae9[_0x5b31a9(0x2f0,_0x512f49._0x15674b,_0x512f49._0x5ba980,_0x512f49._0x11a8ef)]?.['getOrchestrator']())throw new Error(_0x5b31a9(_0x512f49._0xdfe1a6,0x5a2,0x480,_0x512f49._0x3aadbf));let _0x2431fe=await _0x10eae9['orchestratorManager']['switchToSession']({'sessionId':_0xb31daf['sessionId'],'sessionDir':_0x34f5eb});if(_0x2431fe[_0x5b31a9(_0x512f49._0x24b33c,_0x512f49._0x86571d,_0x512f49._0x30daf6,0x155)]&&_0x4a56f9[_0x1e9142(0x43a,0x4d9,0x50f,_0x512f49._0x221689)]['length']>0x0){let _0x462a96=_0x10eae9[_0x5b31a9(0x1fe,0x3e9,_0x512f49._0x5ba980,_0x512f49._0x27bd7f)][_0x1e9142(_0x512f49._0x314bf1,_0x512f49._0x31b730,0x61b,_0x512f49._0x5ad3d8)]()['getActiveConversationId']();await _0x2431fe['memory']['set'](_0x462a96,_0x4a56f9['cliMessages']);}console[_0x5b31a9(0x33b,0x4f4,0x460,_0x512f49._0x135782)](_0x2e6224[_0x1e9142(_0x512f49._0x3af95b,_0x512f49._0x55d388,0x577,_0x512f49._0x3651db)]),_0x10eae9[_0x1e9142(0x447,_0x512f49._0x5a7a6e,_0x512f49._0x301848,0x474)]['emit']('ui:header:refresh'),_0x10eae9['eventBus']['emit'](_0x1e9142(_0x512f49._0x2beff5,_0x512f49._0xab4499,_0x512f49._0x3f0ec0,0x40b),_0x4a56f9[_0x5b31a9(0x2ee,_0x512f49._0x4f6c4d,_0x512f49._0x40d4ce,0x2f1)]);let _0x1cd255=new Date(parseInt(_0xb31daf[_0x1e9142(_0x512f49._0x433bf4,0x616,_0x512f49._0x4317c3,0x563)],0xa))[_0x5b31a9(0x655,_0x512f49._0x7d361b,0x4f4,_0x512f49._0x1fc1d7)]();_0x10eae9[_0x1e9142(0x447,0x301,_0x512f49._0x439c32,0x4ee)][_0x1e9142(0x5a3,0x49c,_0x512f49._0x33efb8,0x422)](_0x5b31a9(0x673,_0x512f49._0x2679d9,_0x512f49._0x40d7e7,_0x512f49._0x5f3f42),{'id':_0x5a3e96[_0x5b31a9(_0x512f49._0x4394fe,_0x512f49._0x220934,0x39d,0x2c9)](),'type':_0x1e9142(_0x512f49._0xa4f745,0x3cb,0x513,0x6e0),'content':_0x1e9142(0x4aa,0x58f,_0x512f49._0x22526d,0x39a)+_0xb31daf[_0x1e9142(_0x512f49._0x12eb5f,0x6a0,_0x512f49._0x2b4920,0x73a)]+_0x5b31a9(_0x512f49._0x6ecd64,_0x512f49._0x518433,0x49b,0x312)+_0x1cd255+'\x20('+_0x4a56f9['cliMessages'][_0x5b31a9(0x305,_0x512f49._0x563bd5,0x4b4,_0x512f49._0x4b26aa)]+'\x20messages\x20loaded)','metadata':{'timestamp':new Date()[_0x5b31a9(_0x512f49._0x15cdb8,0x497,0x418,0x518)]()},'color':_0x1c5381[_0x5b31a9(_0x512f49._0x522a25,_0x512f49._0x5a0b9f,0x54b,_0x512f49._0x596cae)][_0x1e9142(0x554,_0x512f49._0x319a9f,_0x512f49._0x586c8c,_0x512f49._0x526a3a)]});}else{if(_0x4a56f9['kind']===_0x1e9142(0x6eb,_0x512f49._0x229d55,0x890,_0x512f49._0x15acc4)){let _0x5596db=_0x4a56f9['reason']===_0x1e9142(0x628,0x4ed,0x620,_0x512f49._0x522587)?_0x1e9142(0x695,_0x512f49._0x543810,_0x512f49._0x154df8,_0x512f49._0x19aa85):_0x1e9142(0x6d3,_0x512f49._0x27e440,_0x512f49._0x3a2b70,0x6c1)+_0xb31daf['sessionId'];_0x10eae9['eventBus']['emit'](_0x1e9142(0x686,_0x512f49._0x4bb41f,0x5a1,_0x512f49._0x48dba8),{'id':_0x5a3e96[_0x5b31a9(_0x512f49._0xb080cf,_0x512f49._0x1a1814,0x39d,_0x512f49._0x3530fa)](),'type':_0x5b31a9(0x22f,0x235,0x3d4,_0x512f49._0x1f2eef),'content':_0x5596db,'metadata':{'timestamp':new Date()[_0x1e9142(0x57d,0x563,0x432,_0x512f49._0x3b1dc1)]()},'color':_0x1c5381[_0x1e9142(0x6b0,0x84a,_0x512f49._0x10fc91,0x799)]['yellow']});}}}catch(_0xd62db8){let _0x98d849=_0xd62db8 instanceof Error?_0xd62db8[_0x1e9142(0x491,_0x512f49._0x3cbb33,_0x512f49._0x1125a1,_0x512f49._0x534d32)]:String(_0xd62db8);_0x10eae9[_0x5b31a9(_0x512f49._0x534ecc,0x35c,_0x512f49._0x1a0269,0x1fd)][_0x1e9142(0x5a3,_0x512f49._0x442c7f,_0x512f49._0xd339d5,0x400)](_0x1e9142(_0x512f49._0x44b6a7,_0x512f49._0x596cae,0x5ee,0x5b5),{'id':_0x5a3e96[_0x5b31a9(_0x512f49._0x23c0ef,_0x512f49._0x4e6d4a,_0x512f49._0xce7dd4,0x526)](),'type':_0x1e9142(_0x512f49._0x13a26c,_0x512f49._0x2a8cec,_0x512f49._0x55147c,_0x512f49._0x2fb70a),'content':_0x5b31a9(_0x512f49._0x2b6934,_0x512f49._0x1927c3,_0x512f49._0x3cc9fd,_0x512f49._0x677c7d)+_0x98d849,'metadata':{'timestamp':new Date()[_0x5b31a9(0x2ef,_0x512f49._0x3ea966,0x418,_0x512f49._0x161f2e)]()},'color':_0x1c5381[_0x1e9142(_0x512f49._0x5a4e3c,0x5b7,_0x512f49._0x18ae94,_0x512f49._0x2c7761)][_0x1e9142(_0x512f49._0x544a62,_0x512f49._0x27c418,0x4de,0x635)]});}};return _0x10eae9[_0x2b14ae(-0x280,-0x2e1,-_0xcdc363._0x369994,-_0xcdc363._0x33b540)]['on']('ui:history:selected',_0x263d05),()=>{const _0x243cba={_0x5340fa:0x1dc};function _0x307980(_0x438b38,_0x3c6c5e,_0x1ee90d,_0x12500e){return _0x2b14ae(_0x3c6c5e-_0xa5c1de._0x4a35c1,_0x438b38,_0x1ee90d-_0xa5c1de._0x4d3c1d,_0x12500e-_0xa5c1de._0x2a7081);}function _0x11bb2b(_0x394f81,_0x58f7af,_0x5a7c62,_0x105b08){return _0x2b14ae(_0x105b08-0x77c,_0x58f7af,_0x5a7c62-_0x243cba._0x5340fa,_0x105b08-0xe);}_0x10eae9['eventBus'][_0x307980(0x107,_0x425869._0xa2e4fe,0x10c,0x27a)](_0x307980(0x1e9,_0x425869._0x3cd733,_0x425869._0x54265c,0x1f5),_0x263d05);};},[_0x10eae9[_0x7fca42(_0x45118f._0x5cc5b5,0xf3,_0x45118f._0x32d368,0x2c6)],_0x5322eb,_0x2e89f4,_0x10eae9[_0x3b01e6(_0x45118f._0x33e9e4,0x2fe,0x34a,_0x45118f._0x27dd14)]?.[_0x7fca42(_0x45118f._0x4bc7a9,_0x45118f._0x23dbf9,0x48a,0x294)],_0x10eae9['orchestratorManager']?.[_0x7fca42(0x2c3,_0x45118f._0x5a40a8,_0x45118f._0x43e90c,_0x45118f._0x2b92ea)],_0x10eae9['orchestratorManager']?.[_0x7fca42(0x338,0x18e,0x363,0x262)],_0x1c5381[_0x7fca42(0x43e,_0x45118f._0x49f09c,_0x45118f._0x4f402a,0x4ad)][_0x3b01e6(_0x45118f._0x487c77,_0x45118f._0x30e658,_0x45118f._0xe1f316,0x1d7)],_0x1c5381[_0x3b01e6(0x46e,0x399,0x384,0x4e2)][_0x3b01e6(0x43d,0x440,0x512,_0x45118f._0x42d850)],_0x1c5381[_0x3b01e6(_0x45118f._0x3e33e9,0x50d,_0x45118f._0x36f76e,0x4d4)][_0x7fca42(0x456,0x571,_0x45118f._0x2380f9,_0x45118f._0x14f0e0)]]),_0x1698ff||_0xc8167d===null&&_0x127270[_0x3b01e6(0x3d7,0x4b2,_0x45118f._0x2602bc,0x234)]===0x0)return null;let _0x58fe95=Math['min'](_0x3d9b76-0x4,0x18);return _0xeb3ee9(_0x32a44e,{'visible':!0x0,'title':_0x3b01e6(0x403,_0x45118f._0x2ed3df,_0x45118f._0x384d68,0x307),'onClose':_0x5322eb,'closeOnEscape':!0x1,'height':_0x58fe95,'children':_0xeb3ee9(_0x1d81b0,{'availableSessions':_0x24bc86,'hasMore':_0x33c71b,'isLoadingMore':_0x4a463e,'isSearching':_0xca1d4a,'searchResultCount':_0xc8167d!==null?_0xc8167d['length']:null,'onLoadMore':_0x2f1669,'onQueryChange':_0x42f937})});};function In(_0x2373ea){const _0x447bd5={_0x38fc0b:0x44a,_0x56fddd:0x5af,_0x3448f1:0x5bd,_0x23d824:0x3c3,_0x33b562:0x2fa,_0xcc15e3:0x23f},_0x39e1dc={_0xbc301:0xbd,_0x5e8b48:0x10e},_0x15fe60={_0x487e7f:0x1d9,_0x4a35c0:0xbc};function _0x2135d9(_0x304d25,_0x9f3908,_0x3b89c3,_0x119465){return _0x593b39(_0x304d25-0x101,_0x9f3908-_0x15fe60._0x487e7f,_0x119465,_0x119465-_0x15fe60._0x4a35c0);}function _0x153726(_0x1ff363,_0x542503,_0x415880,_0x5b5126){return _0x40e58d(_0x1ff363,_0x542503-_0x39e1dc._0xbc301,_0x415880-0xf6,_0x5b5126-_0x39e1dc._0x5e8b48);}_0x2373ea[_0x2135d9(0x5b7,_0x447bd5._0x38fc0b,_0x447bd5._0x56fddd,_0x447bd5._0x3448f1)]({'id':_0x2135d9(0x2fc,_0x447bd5._0x23d824,0x3d7,_0x447bd5._0x33b562),'type':'component','description':_0x2135d9(0x4dc,0x41c,0x471,0x541),'category':_0x2135d9(_0x447bd5._0xcc15e3,0x210,0x2eb,0x10e),'component':bs});}function Pn(_0x1919cd){const _0x25d5cd={_0x2074b9:0x362,_0x5db129:0x445,_0x4a82b6:0x56d,_0x1f21db:0x68d,_0x5938e6:0x686,_0x594517:0x2b7,_0x5dbae2:0x2ad},_0x997326={_0x535776:0x3cc,_0x54ca29:0x465,_0xe56cbf:0x241,_0x393b5b:0x365,_0x55908b:0x2f7,_0x496e1a:0x3d1,_0x78774d:0x1fe},_0x12ba4c={_0x2a4548:0xc6,_0x559279:0xa7},_0x1483a9={_0xbf3ac8:0x150,_0x661bf8:0x1a9};function _0x374507(_0x354711,_0x522748,_0x2c056c,_0x5953d9){return _0x40e58d(_0x354711,_0x522748-_0x1483a9._0xbf3ac8,_0x5953d9-0x116,_0x5953d9-_0x1483a9._0x661bf8);}function _0xa03515(_0x4cd29d,_0x3494f4,_0x1b9b9a,_0x53a9ff){return _0x40e58d(_0x1b9b9a,_0x3494f4-_0x12ba4c._0x2a4548,_0x4cd29d-0x2dd,_0x53a9ff-_0x12ba4c._0x559279);}_0x1919cd['register']({'id':_0x374507(_0x25d5cd._0x2074b9,0x4c2,0x415,_0x25d5cd._0x5db129),'type':_0xa03515(_0x25d5cd._0x4a82b6,_0x25d5cd._0x1f21db,_0x25d5cd._0x5938e6,0x5d1),'description':_0x374507(_0x25d5cd._0x594517,0x389,0x31c,_0x25d5cd._0x5dbae2),'category':'debug',async 'handler'({eventBus:_0x571f55}){const _0x14dd8e={_0x4b0ac3:0x1cd},_0x284e84={_0x5afdb9:0x113};function _0x184e6f(_0x2a8405,_0x48d24c,_0x307db2,_0x5879d1){return _0xa03515(_0x5879d1- -0x331,_0x48d24c-_0x284e84._0x5afdb9,_0x2a8405,_0x5879d1-0xf0);}function _0x1f6fe8(_0x52807f,_0x6df464,_0x4ce090,_0x236d3b){return _0xa03515(_0x52807f- -_0x14dd8e._0x4b0ac3,_0x6df464-0x7c,_0x236d3b,_0x236d3b-0x45);}_0x571f55[_0x1f6fe8(_0x997326._0x535776,_0x997326._0x54ca29,_0x997326._0xe56cbf,_0x997326._0x393b5b)](_0x1f6fe8(0x35a,_0x997326._0x55908b,_0x997326._0x496e1a,_0x997326._0x78774d),void 0x0);}});}import{Box as _0x412e41,Text as _0x818d2c}from'ink';import*as _0x472501 from'crypto';import{jsx as _0x5cf2c5,jsxs as _0x3d627e}from'react/jsx-runtime';var Ts=_0x1c28b5=>{const _0x1abf10={_0x58458c:0x42b,_0x2c75c7:0x3af,_0x42862a:0x642,_0x5540c5:0x621,_0x479f10:0x6a8,_0x3d03b8:0x4de,_0x260527:0x405,_0x5e6f29:0x45c,_0x557542:0x4be},_0xf6d91c={_0x5c3244:0x67},_0x2fbf01={_0x459c99:0x19c};function _0x57e32c(_0x5a28c2,_0x10e7cd,_0x58b54f,_0x4bd5fa){return _0x593b39(_0x5a28c2-_0x2fbf01._0x459c99,_0x5a28c2-0x37a,_0x10e7cd,_0x4bd5fa-0x1c3);}let _0x5bc54c=_0x1c28b5[_0x28176e(0x3af,_0x1abf10._0x58458c,0x374,_0x1abf10._0x2c75c7)]();function _0x28176e(_0x5df9e2,_0x53c101,_0x35b814,_0x554e48){return _0x40e58d(_0x35b814,_0x53c101-0xb9,_0x554e48-0x2c,_0x554e48-_0xf6d91c._0x5c3244);}return _0x5bc54c===_0x57e32c(_0x1abf10._0x42862a,_0x1abf10._0x5540c5,_0x1abf10._0x479f10,0x6e1)||_0x5bc54c==='LOW'||_0x5bc54c===_0x28176e(-0x49,-0x83,-0xf,0x12f)||_0x5bc54c===_0x57e32c(_0x1abf10._0x3d03b8,_0x1abf10._0x260527,_0x1abf10._0x5e6f29,_0x1abf10._0x557542)?_0x5bc54c:null;},En=async(_0x2aedce,_0x5d39bd)=>{const _0x135baf={_0x40e3d7:0x3bf,_0x26f59e:0x188,_0x89ba3:0x19e,_0x2ca028:0x410,_0x6245cf:0x23d,_0x1a0ca9:0x297,_0x2ac29a:0x3c5,_0x311a31:0x119,_0x41e811:0x12a,_0xbd455:0x84,_0x1f3923:0x241,_0x14a4ae:0x25b,_0x48c946:0x35c,_0x4cf5e3:0x98,_0x14c270:0x70,_0x18a80a:0x1f4,_0x329b37:0x146,_0x225ce4:0x29,_0x321a87:0x3bd,_0x20e9b2:0x2a7,_0x4e891f:0x1ef,_0x405ef5:0x36c,_0x22b1a3:0x389},_0x242a7c={_0x5faa06:0xe6,_0x28f8a7:0x141,_0x3c6e86:0xd3},_0x56e0b6={_0x3c173d:0x156,_0x2533f7:0x187,_0x55de99:0xd6};function _0x2018e2(_0x154578,_0x1d8549,_0x22a9c1,_0x25dda5){return _0x40e58d(_0x22a9c1,_0x1d8549-_0x56e0b6._0x3c173d,_0x154578- -_0x56e0b6._0x2533f7,_0x25dda5-_0x56e0b6._0x55de99);}function _0x3ceffc(_0x3617a2,_0x509f96,_0xa4a82,_0x1a6d9f){return _0x593b39(_0x3617a2-_0x242a7c._0x5faa06,_0x509f96-_0x242a7c._0x28f8a7,_0x1a6d9f,_0x1a6d9f-_0x242a7c._0x3c6e86);}try{await _0x5d39bd['config'][_0x3ceffc(_0x135baf._0x40e3d7,0x3a8,0x20d,0x2c4)]('thinking',_0x2aedce,'global'),_0x5d39bd[_0x3ceffc(_0x135baf._0x26f59e,0x1a5,_0x135baf._0x89ba3,0x24c)]['emit'](_0x3ceffc(_0x135baf._0x2ca028,0x3e4,0x50e,_0x135baf._0x6245cf),{'id':_0x472501['randomUUID'](),'type':_0x3ceffc(_0x135baf._0x2ca028,_0x135baf._0x1a0ca9,_0x135baf._0x2ac29a,0x3da),'content':_0x2018e2(-0x7a,-0x11b,-0x4,-_0x135baf._0x311a31)+_0x2aedce,'metadata':{'timestamp':new Date()['toISOString']()}});}catch(_0x538dcb){_0x5d39bd[_0x2018e2(-0x27,-_0x135baf._0x41e811,-0x25,-0x191)][_0x2018e2(0x135,_0x135baf._0xbd455,_0x135baf._0x1f3923,0x262)](_0x3ceffc(_0x135baf._0x14a4ae,0x3e4,_0x135baf._0x48c946,0x3ad),{'id':_0x472501[_0x2018e2(0x94,_0x135baf._0x4cf5e3,_0x135baf._0x14c270,_0x135baf._0x18a80a)](),'type':_0x3ceffc(0x7c,_0x135baf._0x329b37,0x24f,-_0x135baf._0x225ce4),'content':_0x3ceffc(0x3e0,_0x135baf._0x321a87,0x2c2,0x38b)+(_0x538dcb instanceof Error?_0x538dcb[_0x3ceffc(_0x135baf._0x20e9b2,_0x135baf._0x4e891f,_0x135baf._0x405ef5,0x273)]:String(_0x538dcb)),'metadata':{'timestamp':new Date()[_0x3ceffc(0x437,0x2db,_0x135baf._0x22b1a3,0x209)]()}});}},As=({context:_0x16ee48,deactivate:_0x2a13db})=>{const _0x20d327={_0x31612d:0x396,_0xc9c16b:0x280,_0x3acdec:0x3e4,_0x398320:0x304,_0x51e5db:0x19c,_0x51b73f:0xdb,_0xf082d2:0xf1,_0x50a2a0:0x92,_0x4fde9c:0x3c,_0x4b9ddd:0x1ad,_0x311ad4:0x334,_0x16bbc5:0x4ba,_0x4f74a3:0xfd,_0x563085:0x1ec,_0x415a85:0x32,_0x547d5b:0x23d,_0x5eeff6:0x1e3},_0x1df5a5={_0x10d88e:0x35},_0x57f1a6={_0x443ff6:0x3d0,_0x272205:0x536},_0xcae2e1={_0x506dda:0x3c,_0x259c06:0x1eb};let {theme:_0x356676}=_0x23be01();function _0x2ebf71(_0x1011d8,_0x16e92c,_0x26913f,_0x3ea4c0){return _0x40e58d(_0x26913f,_0x16e92c-_0xcae2e1._0x506dda,_0x3ea4c0- -0x351,_0x3ea4c0-_0xcae2e1._0x259c06);}_0x528efb((_0x1ada4a,_0x4eabbc)=>{const _0x40f316={_0x400077:0x2f7};function _0x6be490(_0x616792,_0x1205f4,_0xed3065,_0x1ae14d){return _0x5737(_0x1205f4- -_0x40f316._0x400077,_0x616792);}_0x4eabbc[_0x6be490(-0x33b,-0x1ad,-0x129,-0x210)]&&_0x2a13db();},{'isActive':!0x0});let _0x1e5a78=[{'label':'OFF\x20-\x20Disable\x20thinking\x20(no\x20thinking\x20content\x20returned)','value':_0x345616['OFF']},{'label':_0x4cb764(0x2cf,_0x20d327._0x31612d,_0x20d327._0xc9c16b,_0x20d327._0x3acdec),'value':_0x345616[_0x2ebf71(-0x38,-_0x20d327._0x398320,-0x152,-_0x20d327._0x51e5db)]},{'label':_0x2ebf71(-0x1f8,-0x11c,-0x282,-_0x20d327._0x51b73f),'value':_0x345616[_0x2ebf71(-_0x20d327._0xf082d2,-0x36b,-0x124,-0x24e)]},{'label':_0x2ebf71(0x164,0x154,-_0x20d327._0x50a2a0,_0x20d327._0x4fde9c),'value':_0x345616[_0x4cb764(0x34a,0x3bf,_0x20d327._0x4b9ddd,_0x20d327._0x311ad4)]}],_0xd680a9=async _0x3f86d2=>{const _0x10612a={_0x12c3f0:0x14f,_0x36fbcc:0x12a,_0x45639b:0x473};function _0x4e099f(_0x1c3a02,_0x14c23a,_0x209841,_0x5730d4){return _0x2ebf71(_0x1c3a02-_0x10612a._0x12c3f0,_0x14c23a-_0x10612a._0x36fbcc,_0x209841,_0x5730d4-_0x10612a._0x45639b);}let _0x5c41ef=_0x3f86d2[_0x4e099f(_0x57f1a6._0x443ff6,0x40f,_0x57f1a6._0x272205,0x430)];await En(_0x5c41ef,_0x16ee48),_0x2a13db();};function _0x4cb764(_0x436168,_0x4aaebb,_0x525670,_0x12f4b7){return _0x593b39(_0x436168-_0x1df5a5._0x10d88e,_0x12f4b7-0x1d0,_0x4aaebb,_0x12f4b7-0x19e);}return _0x3d627e(_0x32a44e,{'visible':!0x0,'title':_0x4cb764(0x5f6,_0x20d327._0x16bbc5,0x566,0x469),'onClose':_0x2a13db,'closeOnEscape':!0x0,'closeOnEnter':!0x1,'children':[_0x5cf2c5(_0x818d2c,{'color':_0x356676[_0x2ebf71(0xa9,-_0x20d327._0x4f74a3,-_0x20d327._0x563085,-0xfe)][_0x2ebf71(-0x31f,-_0x20d327._0x415a85,-_0x20d327._0x547d5b,-_0x20d327._0x5eeff6)],'dimColor':!0x0,'children':'Select\x20the\x20thinking\x20display\x20level'}),_0x5cf2c5(_0x412e41,{'marginTop':0x1,'children':_0x5cf2c5(_0x510950,{'items':_0x1e5a78,'onSelect':_0xd680a9})})]});};function Rn(_0x222d3b){const _0xe6dd22={_0x25ddac:0x680,_0x343d49:0x37c,_0x229c4f:0x265,_0x2205e1:0x28a,_0x212f23:0x1f6,_0x25b4b9:0x1df,_0x4a561a:0x377,_0x16b076:0x26c,_0x20191e:0x2a2,_0x449bdd:0x30f,_0x1742db:0x515,_0x3ab7e7:0x68c,_0x4602ab:0x410},_0x374066={_0x57a931:0x1a9,_0x3458de:0x27f,_0x1b50a8:0x14f,_0x44f10d:0x2fa,_0x325e88:0x325,_0x4fec11:0xb3,_0x5dc04f:0x555,_0x5c6979:0x4c1,_0x26672f:0x50c,_0x282dd5:0x3c8,_0x268f8c:0x335,_0x422f5f:0x5c7,_0x1411de:0x54c},_0x370e7e={_0x9f3a05:0x1e8,_0x3658d6:0x7b,_0x376769:0x1c7},_0x29303d={_0x20a560:0x24f,_0x3eddf7:0x16a,_0x5e9d31:0x219,_0x215270:0xf9,_0x580a58:0x258},_0x2ea016={_0x392c1c:0x131,_0x3b62c9:0x10f},_0x213d3a={_0x2d4b03:0x132},_0x47a239={_0x425f9d:0x103};function _0x4a6efe(_0x1a8eb4,_0x4de1ef,_0xf1a3c6,_0x2104b6){return _0x40e58d(_0xf1a3c6,_0x4de1ef-0xe0,_0x4de1ef- -0xd3,_0x2104b6-_0x47a239._0x425f9d);}function _0x3f2286(_0x387b05,_0x37558d,_0x3c08d9,_0xa46cc6){return _0x593b39(_0x387b05-0x15d,_0x387b05-0x26a,_0x37558d,_0xa46cc6-_0x213d3a._0x2d4b03);}_0x222d3b[_0x3f2286(0x4db,0x356,0x3c9,_0xe6dd22._0x25ddac)]({'id':_0x4a6efe(0xe3,0x21b,_0xe6dd22._0x343d49,_0xe6dd22._0x229c4f),'type':_0x4a6efe(_0xe6dd22._0x2205e1,_0xe6dd22._0x212f23,_0xe6dd22._0x25b4b9,_0xe6dd22._0x4a561a),'description':_0x3f2286(_0xe6dd22._0x16b076,_0xe6dd22._0x20191e,_0xe6dd22._0x449bdd,0x297),'category':_0x3f2286(_0xe6dd22._0x1742db,_0xe6dd22._0x3ab7e7,0x6bc,_0xe6dd22._0x4602ab),'component':As,'createState'({rawInput:_0x36e1c8}){const _0x5ba7da={_0x350957:0x160};function _0x53925b(_0xe5916c,_0x41423f,_0x259a8c,_0x484bf1){return _0x4a6efe(_0xe5916c-_0x5ba7da._0x350957,_0x41423f-0x47,_0x259a8c,_0x484bf1-0xc7);}function _0x5efd7a(_0x599e69,_0x22fe05,_0xc1fbee,_0x38af25){return _0x3f2286(_0x22fe05- -_0x2ea016._0x392c1c,_0x38af25,_0xc1fbee-0x77,_0x38af25-_0x2ea016._0x3b62c9);}return{'arg':_0x36e1c8[_0x53925b(_0x29303d._0x20a560,_0x29303d._0x3eddf7,0x15d,0x1bf)]()[_0x53925b(_0x29303d._0x5e9d31,0x19f,_0x29303d._0x215270,0x32d)](/\s+/)['slice'](0x1)['join']('\x20')[_0x53925b(0x252,0x16a,0x2e2,_0x29303d._0x580a58)]()};},async 'handler'({rawInput:_0x3823ae,eventBus:_0x3ca6c6,config:_0x4b8a61}){const _0x2a1f19={_0x1e554a:0x16d,_0x12a87b:0x2fb};function _0x1897f7(_0x3f5ba4,_0x5c69dd,_0x26ac32,_0x5b6d6c){return _0x4a6efe(_0x3f5ba4-_0x2a1f19._0x1e554a,_0x5c69dd-_0x2a1f19._0x12a87b,_0x26ac32,_0x5b6d6c-0xe6);}let _0x2d61f0=_0x3823ae['trim']()[_0x1897f7(0x47f,0x453,0x56a,0x3c1)](/\s+/)[_0x52bdd4(0x265,0xf5,_0x374066._0x57a931,0x276)](0x1)['join']('\x20')[_0x1897f7(_0x374066._0x3458de,0x41e,0x55f,0x409)]();if(!_0x2d61f0)return;function _0x52bdd4(_0x29d46e,_0x44207e,_0x5ac32d,_0x488cf9){return _0x3f2286(_0x488cf9- -_0x370e7e._0x9f3a05,_0x44207e,_0x5ac32d-_0x370e7e._0x3658d6,_0x488cf9-_0x370e7e._0x376769);}let _0x30c039=Ts(_0x2d61f0);if(!_0x30c039){_0x3ca6c6[_0x52bdd4(0xb0,_0x374066._0x1b50a8,0xae,0x242)](_0x52bdd4(0x489,_0x374066._0x44f10d,0x411,_0x374066._0x325e88),{'id':_0x472501['randomUUID'](),'type':_0x52bdd4(-_0x374066._0x4fec11,0x1e9,0x1a8,0x87),'content':_0x1897f7(0x647,_0x374066._0x5dc04f,_0x374066._0x5c6979,_0x374066._0x26672f)+_0x2d61f0+_0x1897f7(0x34c,_0x374066._0x282dd5,_0x374066._0x268f8c,0x3e2),'metadata':{'timestamp':new Date()[_0x1897f7(_0x374066._0x422f5f,0x4be,0x576,_0x374066._0x1411de)]()}});return;}await En(_0x30c039,{'rawInput':_0x3823ae,'eventBus':_0x3ca6c6,'config':_0x4b8a61});}});}import{useState as _0x1ec5d1,useEffect as _0x2b61c9,useMemo as _0x3cef19,useRef as _0x5f4f3e}from'react';import{Box as _0x186a44,Text as _0x38adb9}from'ink';import{jsx as _0x5ef5a4,jsxs as _0x577e29}from'react/jsx-runtime';var Ps=0x12c*0x3e8,Cr=_0x593b39(0x33b,0x1b9,0x357,0x104),Dn=0x5,xr=new Map();function Es(_0x23f411,_0x77b715){const _0x546de7={_0x157ced:0xbb,_0x58ef44:0x26,_0x35f362:0x1c8,_0x309dcd:0x247,_0x5588c8:0x108,_0x14b068:0x29c,_0x373065:0x1d6,_0x2bb88c:0x1c0,_0x5983dd:0x413,_0x33a0f9:0x2e9,_0xe15bd8:0x341,_0x1fc4f8:0x2f9},_0x31a6ab={_0xd865ba:0x36};function _0x26fbc9(_0xc5e2d8,_0x4d73de,_0x4f1f94,_0x561a71){return _0x40e58d(_0x561a71,_0x4d73de-_0x31a6ab._0xd865ba,_0x4f1f94- -0x1a5,_0x561a71-0xd2);}return _0x77b715?_0x23f411[_0x26fbc9(0x88,0x225,0x158,0xed)](_0x40cfe2=>{const _0x5a6f9b={_0x52dcda:0x63,_0x21b82d:0x37c},_0x4fe1ad={_0x132f99:0x50,_0x35dbbf:0xfc};let _0x1cc7fb=_0x40cfe2['toLowerCase'](),_0x4bd23b=_0x77b715[_0x1cc7fb]||_0x77b715[_0x40cfe2];function _0x7a35f(_0x2e5f36,_0x2b0545,_0x3c7fcd,_0x301b51){return _0x26fbc9(_0x2e5f36-_0x4fe1ad._0x132f99,_0x2b0545-_0x4fe1ad._0x35dbbf,_0x2e5f36-0xbb,_0x301b51);}if(!_0x4bd23b)return!0x1;let _0x3b0bc6=_0x4bd23b[_0x7a35f(_0x546de7._0x157ced,-_0x546de7._0x58ef44,_0x546de7._0x35f362,_0x546de7._0x309dcd)];function _0x22c269(_0x4dd035,_0x8fd4b0,_0x1c8588,_0x10e5c6){return _0x26fbc9(_0x4dd035-_0x5a6f9b._0x52dcda,_0x8fd4b0-0x106,_0x10e5c6-_0x5a6f9b._0x21b82d,_0x8fd4b0);}return!Array[_0x7a35f(_0x546de7._0x5588c8,_0x546de7._0x14b068,_0x546de7._0x373065,_0x546de7._0x2bb88c)](_0x3b0bc6)||_0x3b0bc6[_0x22c269(_0x546de7._0x5983dd,0x5e4,0x5e6,0x509)]===0x0?!0x1:_0x3b0bc6[_0x7a35f(_0x546de7._0x33a0f9,_0x546de7._0xe15bd8,0x3ac,_0x546de7._0x1fc4f8)](_0x46b547=>!!(_0x46b547[_0x7a35f(0x2f2,0x196,0x25d,0x415)]===_0x7a35f(0x2bc,0x386,0x329,0x1d1)&&_0x46b547['api-key']||_0x46b547[_0x7a35f(0x2f2,0x2f4,0x1c2,0x3d6)]===_0x22c269(0x68e,0x4e8,0x386,0x527)&&_0x46b547[_0x22c269(0x3be,0x3f9,0x34b,0x3c8)]));}):[];}function Rs(_0x449a89){const _0x2f4916={_0x54637f:0x266,_0x15d602:0x154,_0x24051d:0x52,_0xb7e377:0x27,_0x3beb4f:0x143,_0x1ae009:0x68,_0x3b1522:0x4c5,_0x47d955:0xba,_0x36d6d0:0x4d,_0x5a5c6c:0x8f,_0x13460f:0x21e},_0x471a55={_0x4a5802:0x1a5,_0x36db6e:0xe8},_0x4cce34={_0x322316:0x106,_0x26671b:0x5,_0x29bba9:0x115};function _0xbd5673(_0x5a7ef9,_0x1adf0a,_0x32dce5,_0x38fb16){return _0x593b39(_0x5a7ef9-_0x4cce34._0x322316,_0x32dce5-_0x4cce34._0x26671b,_0x1adf0a,_0x38fb16-_0x4cce34._0x29bba9);}let _0x577437=xr[_0xbd5673(_0x2f4916._0x54637f,0x28e,_0x2f4916._0x15d602,_0x2f4916._0x24051d)](_0x449a89);function _0x18505c(_0x3ad49f,_0x416e3b,_0x2729ab,_0x41c250){return _0x40e58d(_0x2729ab,_0x416e3b-_0x471a55._0x4a5802,_0x3ad49f- -0x3d,_0x41c250-_0x471a55._0x36db6e);}return _0x577437?Date[_0x18505c(0xde,_0x2f4916._0xb7e377,_0x2f4916._0x3beb4f,_0x2f4916._0x1ae009)]()-_0x577437[_0x18505c(0x3e6,0x2c9,_0x2f4916._0x3b1522,0x509)]>Ps?(xr[_0xbd5673(-_0x2f4916._0x47d955,0x11d,-0x36,-_0x2f4916._0x36d6d0)](_0x449a89),null):_0x577437[_0xbd5673(-0x1e,0xdf,_0x2f4916._0x5a5c6c,_0x2f4916._0x13460f)]:null;}function ks(_0x2bb72d,_0x1c3ee9){const _0x3ad54a={_0x545348:0x83f,_0x60ecc0:0x32c,_0x5f009e:0x498},_0x5b3298={_0x55094c:0xef,_0x3eb369:0x157},_0x167536={_0x5981e5:0x479,_0x4824a8:0x71};function _0x5e3ffd(_0x7498f3,_0x237179,_0x50eb04,_0x2018b1){return _0x593b39(_0x7498f3-0x32,_0x237179-_0x167536._0x5981e5,_0x2018b1,_0x2018b1-_0x167536._0x4824a8);}function _0x23a441(_0x3cc046,_0x114787,_0xeb7fa1,_0x570007){return _0x40e58d(_0x570007,_0x114787-0x1bf,_0x114787- -_0x5b3298._0x55094c,_0x570007-_0x5b3298._0x3eb369);}xr[_0x5e3ffd(_0x3ad54a._0x545348,0x6e0,0x5c8,0x546)](_0x2bb72d,{'models':_0x1c3ee9,'fetchedAt':Date[_0x5e3ffd(_0x3ad54a._0x60ecc0,_0x3ad54a._0x5f009e,0x43a,0x440)]()});}function Bs(_0x2726aa){const _0x2ea941={_0xcbfee9:0x4d9,_0x3e4a2c:0x50b,_0x56d16b:0x579},_0xe14b03={_0x255d22:0xba,_0x169401:0x320,_0x384c81:0xa2},_0x20cf28={_0x35c16a:0xc4,_0x4670f6:0x1cc};function _0x55f953(_0x221de6,_0xaaef25,_0x3e63ae,_0x5bd883){return _0x593b39(_0x221de6-_0x20cf28._0x35c16a,_0x221de6-0x317,_0x5bd883,_0x5bd883-_0x20cf28._0x4670f6);}function _0xc35ecc(_0x45bc61,_0x159f05,_0x5024ae,_0x2dab64){return _0x40e58d(_0x5024ae,_0x159f05-_0xe14b03._0x255d22,_0x45bc61- -_0xe14b03._0x169401,_0x2dab64-_0xe14b03._0x384c81);}return(_0x2726aa[_0x55f953(0x466,0x402,0x533,_0x2ea941._0xcbfee9)](Cr)||[])[_0x55f953(_0x2ea941._0x3e4a2c,0x358,_0x2ea941._0x56d16b,0x47d)](0x0,Dn);}async function Ds(_0x230e63,_0x37f854,_0x53e60d){const _0x3c04bf={_0x3a0a3b:0x1de,_0x16b091:0x110,_0x3f05e0:0x1,_0x33a0d4:0x2db,_0x23f67b:0x27c,_0x42325d:0x136,_0x33f4b8:0x47,_0x5f31ac:0x21d,_0x5bb805:0x12b,_0x5be2f2:0xe9,_0x325a16:0x85},_0x54e6ac={_0x2e61ab:0x9,_0x423778:0xfa},_0x3b279b={_0x4eb56d:0x1e5,_0x2ee700:0x104};function _0x47006a(_0x1d9e6b,_0x55b2c1,_0x5174f2,_0xbe01af){return _0x593b39(_0x1d9e6b-_0x3b279b._0x4eb56d,_0x5174f2- -0x29b,_0x1d9e6b,_0xbe01af-_0x3b279b._0x2ee700);}let _0x54d74b=(_0x230e63['get'](Cr)||[])[_0x4a97e6(_0x3c04bf._0x3a0a3b,0x8d,_0x3c04bf._0x16b091,_0x3c04bf._0x3f05e0)](_0x170e8b=>!(_0x170e8b[_0x4a97e6(0xe,-0x12c,-0x118,-0x1ac)]===_0x37f854&&_0x170e8b['model']===_0x53e60d)),_0x2f9318=[{'provider':_0x37f854,'model':_0x53e60d,'usedAt':Date[_0x47006a(-_0x3c04bf._0x33a0d4,-0x280,-_0x3c04bf._0x23f67b,-_0x3c04bf._0x42325d)]()},..._0x54d74b][_0x4a97e6(_0x3c04bf._0x33f4b8,_0x3c04bf._0x5f31ac,0x103,0x80)](0x0,Dn);function _0x4a97e6(_0x1d189a,_0x42c750,_0x1c9626,_0x20b2c1){return _0x593b39(_0x1d189a-_0x54e6ac._0x2e61ab,_0x1c9626- -0xf1,_0x1d189a,_0x20b2c1-_0x54e6ac._0x423778);}await _0x230e63['set'](Cr,_0x2f9318,_0x4a97e6(-_0x3c04bf._0x5bb805,_0x3c04bf._0x5be2f2,_0x3c04bf._0x325a16,0x9b));}var _s=({context:_0x3aeb1f,deactivate:_0x168e59,isActive:_0x39b080})=>{const _0x29ce82={_0x558c4d:0x2f5,_0x44afab:0x17c,_0x49940b:0x14e,_0x565d25:0x2ec,_0x19d53b:0x180,_0x1030c8:0x1f2,_0x520701:0x6c,_0xcbe31:0x181,_0x5f07d9:0x266,_0x5a6a88:0x1cb,_0x1c8f92:0xae,_0x5346aa:0x4c2,_0x514c47:0x3ef,_0x457b72:0x52,_0x13d8e5:0x19e,_0x13d6c7:0x132,_0xd6f93e:0x2b3,_0x45fe61:0x582,_0x2eb0db:0x45b,_0x161490:0x49c,_0x45e100:0x5d,_0x3ff397:0xc8,_0x282db3:0x42d,_0x14b4f6:0x5ab,_0x3c5323:0x6e3,_0x536c6b:0x520,_0xd7da35:0x4d0,_0x5179f5:0x4ef,_0x4bdbe5:0x1de,_0x35f693:0x2d3},_0x13a64b={_0x28ed78:0x450,_0x1c467c:0x2a5,_0x2668b9:0xcb,_0x2eae5f:0xa9,_0x1d4141:0x1a4,_0x445a15:0x64,_0x17b845:0x70,_0x1a4df7:0x14,_0x31bce8:0x19f,_0x4fb78b:0x13b,_0x3c4be8:0x1c1,_0x53ccf2:0x202,_0x1ab97:0x160,_0x3510e2:0x43e,_0x1e73ee:0x14e,_0x6330ff:0x400,_0x4fead9:0x2fa,_0x908b6a:0x235,_0x35cd63:0x108,_0x35251d:0xb1,_0x124aa7:0x160,_0x12b985:0x43,_0xc2d50e:0x19f,_0x3edec7:0x13f,_0x232e05:0x10,_0x366360:0x39,_0xd9a083:0x4f,_0x9ea46:0x7d,_0x5dcc27:0x200,_0x4a31dc:0x209,_0xf9210a:0x386,_0x533b0e:0x14b,_0x410ec7:0x99,_0x5cabac:0x243,_0x5ab7a3:0x18b,_0x3f8e1a:0x11c},_0x4065e9={_0x353e83:0x1a,_0x42b616:0x119},_0x3dc8ab={_0x2ea274:0x22e,_0x136d61:0x372,_0x4e4e6f:0x105,_0x3e367d:0x3e4,_0x3f56e2:0x307,_0x4189ea:0x11,_0x18c370:0x277,_0x418b2f:0xc2,_0x2e6826:0x79,_0x1d4784:0x4e},_0x414a95={_0x6efce3:0x433},_0x1de3b4={_0x4341d5:0x75},_0x54c82d={_0x39946e:0x235,_0x47831c:0x115,_0x40db9e:0xa1},_0x2914af={_0x58f304:0x269,_0x11210d:0x30c,_0x5dcefa:0x591,_0x23ba22:0x4b6},_0x4fa6e6={_0x3cdd0e:0x2ce},_0x4f45ee={_0x20c012:0xd};let {theme:_0x19651a}=_0x23be01(),{rows:_0x482421}=_0x4f685a(),_0x152921=_0x5f4f3e(_0x3aeb1f[_0x52517b(_0x29ce82._0x558c4d,0x2c2,0x20d,_0x29ce82._0x44afab)]['get']('providers'))[_0xd07ea1(-_0x29ce82._0x49940b,-0x179,0x52,-0x56)],_0x45095f=_0x3cef19(()=>Es(_0x131b2e(_0x152921),_0x152921),[_0x152921]),[_0x1c47a5,_0x26395e]=_0x1ec5d1({}),[_0x87c4b6,_0x178351]=_0x1ec5d1({}),[_0x12ad0d,_0x2d5bdd]=_0x1ec5d1(null),_0x24a838=_0x3cef19(()=>Bs(_0x3aeb1f[_0x52517b(0x2cb,0x2c2,0x3b3,0x14f)]),[_0x3aeb1f[_0x52517b(_0x29ce82._0x565d25,0x2c2,_0x29ce82._0x19d53b,0x3c4)]]),_0x838e29=_0x3aeb1f[_0xd07ea1(-_0x29ce82._0x1030c8,-_0x29ce82._0x520701,-_0x29ce82._0xcbe31,-0x348)]?.[_0xd07ea1(-0x107,-_0x29ce82._0x5f07d9,-_0x29ce82._0x5a6a88,-_0x29ce82._0x1c8f92)](),_0x25addb=_0x5f4f3e(!0x1);function _0xd07ea1(_0x38deaf,_0x1fb1e5,_0x258367,_0xbb348f){return _0x593b39(_0x38deaf-0x3b,_0x38deaf- -0x22c,_0xbb348f,_0xbb348f-_0x4f45ee._0x20c012);}function _0x52517b(_0x1951ec,_0x3e5a53,_0x40f8c4,_0xeffeeb){return _0x593b39(_0x1951ec-0x135,_0x3e5a53-_0x4fa6e6._0x3cdd0e,_0x1951ec,_0xeffeeb-0x11b);}_0x2b61c9(()=>{const _0x21d11f={_0x29d35b:0x609,_0x37ff2d:0x731,_0x49347a:0x5c3},_0x3f07dd={_0x16635b:0x520,_0x142ff1:0x2d},_0x272a7d={_0x53a5ab:0x102,_0x1de351:0x361},_0x534565={_0x547d44:0x4c1,_0x49e117:0x15d,_0x21f859:0xc5},_0x3d0779={_0x21a29c:0x219,_0x574a1e:0x71,_0x3e6b8a:0x1e8};if(_0x45095f['length']===0x0||_0x25addb[_0x18d22e(-_0x54c82d._0x39946e,-0x115,0x36,-0x1b7)])return;_0x25addb[_0x18d22e(-0x237,-_0x54c82d._0x47831c,-0x19f,-_0x54c82d._0x40db9e)]=!0x0;function _0x486ab9(_0x55a8b7,_0x83c497,_0x3f998f,_0x5251e7){return _0x52517b(_0x83c497,_0x55a8b7- -_0x3d0779._0x21a29c,_0x3f998f-_0x3d0779._0x574a1e,_0x5251e7-_0x3d0779._0x3e6b8a);}function _0x18d22e(_0x18a8ed,_0x373bfe,_0x44d471,_0xb85b4b){return _0x52517b(_0x44d471,_0x373bfe- -_0x534565._0x547d44,_0x44d471-_0x534565._0x49e117,_0xb85b4b-_0x534565._0x21f859);}let _0x4ffa46=new AbortController(),_0x277b3b=async _0x26dbf1=>{const _0x11180a={_0x4b5a2e:0x1a};function _0x36ee12(_0x571ef6,_0x2a5b86,_0x1619cb,_0x2a0e4b){return _0x18d22e(_0x571ef6-_0x11180a._0x4b5a2e,_0x2a0e4b-0x3be,_0x1619cb,_0x2a0e4b-0x1f3);}let _0x5e30f3=Rs(_0x26dbf1);if(_0x5e30f3){_0x26395e(_0x3526c8=>({..._0x3526c8,[_0x26dbf1]:_0x5e30f3}));return;}function _0x3bf08d(_0x2c8a63,_0x26c428,_0x4ea2cf,_0x49880a){return _0x18d22e(_0x2c8a63-_0x272a7d._0x53a5ab,_0x2c8a63-_0x272a7d._0x1de351,_0x4ea2cf,_0x49880a-0x145);}_0x178351(_0x31a9ad=>({..._0x31a9ad,[_0x26dbf1]:!0x0}));try{if(_0x838e29){let _0x114807=await _0x838e29[_0x36ee12(0x26c,_0x2914af._0x58f304,0x1a3,_0x2914af._0x11210d)](_0x26dbf1,_0x4ffa46[_0x36ee12(0x650,_0x2914af._0x5dcefa,0x549,_0x2914af._0x23ba22)]);if(_0x114807['length']>0x0)ks(_0x26dbf1,_0x114807),_0x26395e(_0x5a46ef=>({..._0x5a46ef,[_0x26dbf1]:_0x114807}));else{let _0x3a52b5=_0x374653[_0x26dbf1]||[];_0x26395e(_0x588bc6=>({..._0x588bc6,[_0x26dbf1]:_0x3a52b5}));}}else{let _0x4721bd=_0x374653[_0x26dbf1]||[];_0x26395e(_0x390eb0=>({..._0x390eb0,[_0x26dbf1]:_0x4721bd}));}}catch{let _0x1e141c=_0x374653[_0x26dbf1]||[];_0x26395e(_0x357d70=>({..._0x357d70,[_0x26dbf1]:_0x1e141c}));}finally{_0x178351(_0x6823ac=>({..._0x6823ac,[_0x26dbf1]:!0x1}));}};for(let _0x1ee61d of _0x45095f)_0x277b3b(_0x1ee61d);return()=>{function _0x2fb2f1(_0xeccced,_0x3314e4,_0x35c7c2,_0x1be5f2){return _0x18d22e(_0xeccced-0x74,_0xeccced-_0x3f07dd._0x16635b,_0x35c7c2,_0x1be5f2-_0x3f07dd._0x142ff1);}_0x4ffa46[_0x2fb2f1(_0x21d11f._0x29d35b,_0x21d11f._0x37ff2d,_0x21d11f._0x49347a,0x61f)]();};},[_0x45095f,_0x838e29]);let _0x2900e3=_0x3cef19(()=>{let _0x140330=[],_0x25daa8=_0x24a838['filter'](_0x1ac14a=>_0x45095f['includes'](_0x1ac14a[_0x17ad2f(-0x1ad,-0x22e,-0x187,-0x32e)]));function _0x17ad2f(_0x10a7c4,_0x348662,_0x43a7cb,_0x4c912d){return _0x52517b(_0x4c912d,_0x348662- -0x4d5,_0x43a7cb-0x185,_0x4c912d-_0x1de3b4._0x4341d5);}for(let _0x2fd86a of _0x25daa8){let _0x3b747f=_0x11c28b(_0x2fd86a[_0x17ad2f(-0x226,-_0x3dc8ab._0x2ea274,-0x135,-_0x3dc8ab._0x136d61)]);_0x140330[_0x17ad2f(-0x14a,-0x9f,-0x31,-0xcb)]({'label':_0x2fd86a['model']+'\x20('+_0x3b747f+')','value':_0x2fd86a[_0x17ad2f(-0x1e4,-0x22e,-0x384,-0x149)]+'::'+_0x2fd86a[_0x17ad2f(-0x21e,-0x192,-_0x3dc8ab._0x2ea274,-_0x3dc8ab._0x4e4e6f)],'group':_0x281623(_0x3dc8ab._0x3e367d,0x568,0x36c,0x469)});}function _0x281623(_0x5dc726,_0x12bb2a,_0x190266,_0x7aa567){return _0xd07ea1(_0x5dc726-_0x414a95._0x6efce3,_0x12bb2a-0xa0,_0x190266-0xa7,_0x190266);}for(let _0x107d56 of _0x45095f){let _0xaefcf0=_0x11c28b(_0x107d56),_0x5a3385=_0x1c47a5[_0x107d56]||[];if(_0x87c4b6[_0x107d56]&&_0x5a3385['length']===0x0)_0x140330['push']({'label':_0x281623(_0x3dc8ab._0x3f56e2,0x155,0x289,0x19b),'value':_0x17ad2f(_0x3dc8ab._0x4189ea,-0xfe,-_0x3dc8ab._0x18c370,0x37)+_0x107d56,'group':_0xaefcf0});else{for(let _0x32b4f3 of _0x5a3385)_0x140330[_0x17ad2f(-_0x3dc8ab._0x418b2f,-0x9f,_0x3dc8ab._0x2e6826,-_0x3dc8ab._0x1d4784)]({'label':_0x32b4f3,'value':_0x107d56+'::'+_0x32b4f3,'group':_0xaefcf0});}}return _0x140330;},[_0x24a838,_0x45095f,_0x1c47a5,_0x87c4b6]),_0x3b5a32=async _0xb9c9b9=>{const _0x5a91f6={_0x21cf1f:0x2bf};if(_0xb9c9b9[_0x2b6501(_0x13a64b._0x28ed78,_0x13a64b._0x1c467c,0x2c0,0x1e0)][_0x3cba07(0x48,_0x13a64b._0x2668b9,_0x13a64b._0x2eae5f,0x59)](_0x2b6501(0x1e7,0x19c,_0x13a64b._0x1d4141,0x48)))return;function _0x2b6501(_0x197f06,_0x13dedf,_0x27e2f6,_0x48810a){return _0xd07ea1(_0x13dedf-_0x5a91f6._0x21cf1f,_0x13dedf-0x18a,_0x27e2f6-0xdd,_0x197f06);}let [_0x543cd9,_0x4a9838]=_0xb9c9b9[_0x2b6501(0x31d,_0x13a64b._0x1c467c,0x25b,0x1e2)][_0x3cba07(-_0x13a64b._0x445a15,-_0x13a64b._0x17b845,_0x13a64b._0x1a4df7,0x2b)]('::');function _0x3cba07(_0x2aaac5,_0xe3f4c7,_0x416c99,_0x51dc08){return _0xd07ea1(_0x2aaac5-0x99,_0xe3f4c7-_0x4065e9._0x353e83,_0x416c99-_0x4065e9._0x42b616,_0x51dc08);}if(!(!_0x543cd9||!_0x4a9838))try{await _0x3aeb1f[_0x3cba07(-_0x13a64b._0x31bce8,-_0x13a64b._0x4fb78b,-_0x13a64b._0x3c4be8,-_0x13a64b._0x53ccf2)][_0x2b6501(_0x13a64b._0x1ab97,0x2fa,0x1a4,0x189)](_0x2b6501(_0x13a64b._0x3510e2,0x35f,0x29f,0x469),_0x543cd9,_0x3cba07(-0x1d,-0x1b6,-0x4d,_0x13a64b._0x1e73ee)),await _0x3aeb1f['config'][_0x2b6501(_0x13a64b._0x6330ff,_0x13a64b._0x4fead9,_0x13a64b._0x908b6a,0x39c)](_0x2b6501(0x19,_0x13a64b._0x35cd63,_0x13a64b._0x35251d,0x126),_0x4a9838,_0x3cba07(-0x1d,-_0x13a64b._0x124aa7,0x160,-_0x13a64b._0x12b985)),await _0x3aeb1f[_0x3cba07(-_0x13a64b._0xc2d50e,-0x138,-0x49,-_0x13a64b._0x3edec7)]['set'](_0x3cba07(0x16f,_0x13a64b._0x232e05,_0x13a64b._0x366360,_0x13a64b._0xd9a083)+_0x543cd9+_0x3cba07(-0xba,-0x181,-_0x13a64b._0x9ea46,-0x167),_0x4a9838,_0x2b6501(_0x13a64b._0x5dcc27,_0x13a64b._0x4a31dc,_0x13a64b._0xf9210a,0x2de)),await Ds(_0x3aeb1f[_0x3cba07(-0x19f,-0x166,-_0x13a64b._0x533b0e,-_0x13a64b._0x410ec7)],_0x543cd9,_0x4a9838),_0x168e59();}catch(_0x4ee231){_0x2d5bdd(_0x4ee231 instanceof Error?_0x4ee231[_0x3cba07(-0xe5,-_0x13a64b._0x5cabac,-_0x13a64b._0x5ab7a3,-_0x13a64b._0x17b845)]:_0x3cba07(-_0x13a64b._0x3f8e1a,-0xe0,-0x1dc,0x37));}},_0x56afad=Math[_0xd07ea1(-0x22,0xdc,0x190,0x1d)](_0x482421-0x4,0x18);return _0x45095f[_0x52517b(_0x29ce82._0x5346aa,0x504,_0x29ce82._0x514c47,0x5a5)]===0x0?_0x5ef5a4(_0x32a44e,{'visible':!0x0,'title':'Select\x20Model','onClose':_0x168e59,'closeOnEscape':!0x0,'height':0x8,'children':_0x577e29(_0x186a44,{'flexDirection':_0x52517b(0x52f,0x4db,0x414,0x3cb),'children':[_0x5ef5a4(_0x38adb9,{'color':_0x19651a['colors'][_0xd07ea1(_0x29ce82._0x457b72,0x1d9,_0x29ce82._0x13d8e5,-_0x29ce82._0x13d6c7)],'children':_0xd07ea1(-0x249,-0x209,-0x1f8,-_0x29ce82._0xd6f93e)}),_0x5ef5a4(_0x38adb9,{'color':_0x19651a[_0x52517b(0x589,0x4ef,0x3b3,0x431)][_0x52517b(0x3dc,_0x29ce82._0x45fe61,_0x29ce82._0x2eb0db,_0x29ce82._0x161490)],'dimColor':!0x0,'children':_0xd07ea1(_0x29ce82._0x45e100,_0x29ce82._0x3ff397,0x91,-0xdf)})]})}):_0x5ef5a4(_0x32a44e,{'visible':!0x0,'title':_0x52517b(_0x29ce82._0x282db3,_0x29ce82._0x14b4f6,_0x29ce82._0x3c5323,0x5ad),'onClose':_0x168e59,'closeOnEscape':!0x1,'closeOnEnter':!0x1,'height':_0x56afad,'children':_0x577e29(_0x186a44,{'flexDirection':_0x52517b(_0x29ce82._0x536c6b,0x4db,_0x29ce82._0xd7da35,0x59e),'flexGrow':0x1,'overflow':'hidden','children':[_0x12ad0d&&_0x5ef5a4(_0x186a44,{'marginBottom':0x1,'children':_0x5ef5a4(_0x38adb9,{'color':_0x19651a[_0x52517b(0x494,_0x29ce82._0x5179f5,0x456,0x5b5)][_0x52517b(_0x29ce82._0x4bdbe5,_0x29ce82._0x35f693,0x222,0x1b9)],'children':_0x12ad0d})}),_0x5ef5a4(_0x3af82d,{'items':_0x2900e3,'placeholder':'Type\x20to\x20search\x20models...','enableRotation':!0x0,'showItemCount':!0x1,'focus':_0x39b080,'onSelect':_0x3b5a32,'onCancel':_0x168e59})]})});};function _n(_0x56ee98){const _0x2e9160={_0x2da7de:0x61f,_0x1aa262:0x592,_0x2b461e:0x6f1,_0x442cad:0x635,_0x405ad3:0x77b,_0x6702cf:0x5bf,_0x39c386:0x4be,_0x1c17c0:0x795,_0x33ee9e:0x512,_0x237628:0x5ba},_0x36daf3={_0x224edf:0xed},_0x3d55f2={_0x37266e:0x1c9,_0x1c9a47:0xd7};function _0x2911b9(_0x1a2b99,_0x42b0ce,_0x5e7241,_0x3f4d3e){return _0x40e58d(_0x3f4d3e,_0x42b0ce-_0x3d55f2._0x37266e,_0x5e7241-0x36c,_0x3f4d3e-_0x3d55f2._0x1c9a47);}function _0x475d42(_0x1997de,_0x4149f7,_0x29a56f,_0x5f5809){return _0x593b39(_0x1997de-_0x36daf3._0x224edf,_0x29a56f-0x422,_0x4149f7,_0x5f5809-0x1e7);}_0x56ee98['register']({'id':_0x2911b9(0x5af,0x7a3,_0x2e9160._0x2da7de,_0x2e9160._0x1aa262),'type':_0x2911b9(0x599,_0x2e9160._0x2b461e,_0x2e9160._0x442cad,_0x2e9160._0x405ad3),'description':_0x2911b9(_0x2e9160._0x6702cf,_0x2e9160._0x39c386,0x646,_0x2e9160._0x1c17c0),'category':_0x2911b9(0x419,_0x2e9160._0x33ee9e,0x45c,_0x2e9160._0x237628),'component':_s});}import*as _0x3f23a0 from'path';import*as _0x5c689a from'crypto';import*as _0x517175 from'fs/promises';function On(_0x2667ce){const _0x43e12f={_0x32c483:0x4ce,_0x2ac4e1:0x4dd,_0x1ee80f:0x6ce,_0x16d7aa:0x61f,_0xd3b360:0x5a2,_0x306cbb:0x3dc,_0x6f3846:0x4e7,_0x582d08:0x649,_0x26bb1b:0x662,_0x4d62f1:0x436,_0x3d03f2:0x345},_0x12a03f={_0x126cd2:0x364,_0xe67c0a:0x102,_0x331cc9:0x21b,_0x3e96bb:0x173,_0x1fb7be:0x119,_0xb97b7c:0x3b6,_0x43b093:0x50d,_0x4153d8:0x5b2,_0x1b7ab6:0x14c,_0x179ce8:0x2de,_0x5b8c33:0x26f,_0x4b7d5c:0x22f,_0x201548:0x386,_0x5029d1:0x39b,_0x22e74b:0x39c,_0x305e73:0x342,_0x2e013d:0x1c7,_0x410cc0:0x165,_0x415d08:0x59a,_0x954fc8:0x224,_0x284ef4:0x132,_0x142427:0x17d,_0x31d88f:0x37e,_0xc51425:0x489,_0x4c97ef:0x4a3,_0x493384:0x427,_0x434bfe:0x59e,_0x3bdd53:0x155,_0x217e60:0x506,_0x3fcf7f:0x54c,_0x2b08dc:0x59b,_0x66e455:0x30d,_0x271a8c:0x1ed,_0x529ceb:0x70,_0x63de92:0x50d,_0x13dddd:0x3c5,_0x49d56c:0x1c,_0x2d47db:0xf9,_0xa4fba8:0x19a,_0x5ac957:0x378,_0x225ad1:0x33d,_0x587647:0x391,_0x2c5a29:0x404,_0x45c512:0x499,_0x299e08:0x36d,_0x22bd5f:0x2c9,_0x237bc1:0x22d,_0x2558dc:0x211,_0x272cbf:0x11e,_0x38ada1:0x18,_0x3dbd79:0x1ed,_0x466155:0x7f,_0x4569bf:0x4ff,_0x48260d:0x493,_0x3d3a7e:0x2f5,_0x3d4132:0x14c,_0x11d0ce:0x5f,_0xa08dfa:0x1f5,_0x5bd2f9:0x124,_0x260df0:0x183,_0x472537:0x2ce,_0x17314a:0x10c,_0x5a72fc:0x3b4,_0x3d927d:0x36c,_0x5e46df:0x26f,_0x1db9a6:0x340,_0x5f1ae9:0x50d,_0x1f18f0:0x5c8,_0x386cc4:0x4a0,_0x200e22:0x504,_0x33009b:0x44f,_0xab0414:0x269,_0x39b89e:0x399,_0x5c8c8e:0x2bf,_0x4109b7:0x104,_0x28f5d4:0x537,_0x2fd3a4:0x447,_0x528acc:0x4be,_0x44dbdb:0x19e,_0x556338:0x130,_0x7b3b7c:0xd0,_0xa97e78:0x186,_0x237119:0x181,_0x1c2372:0x79},_0xc7a613={_0x4aaf57:0x197,_0x3ceb1e:0x4d},_0x1006ce={_0x59f460:0x303},_0x288e32={_0x3d430e:0x173};function _0x32afc7(_0x4bfd8e,_0x3b5aa0,_0x1bcd46,_0x2e168e){return _0x40e58d(_0x2e168e,_0x3b5aa0-_0x288e32._0x3d430e,_0x3b5aa0-0xc8,_0x2e168e-0x177);}function _0x49db4d(_0x3d3e91,_0x4f727f,_0x1dc91d,_0xc8b7d){return _0x40e58d(_0xc8b7d,_0x4f727f-0x7f,_0x4f727f-_0x1006ce._0x59f460,_0xc8b7d-0x8d);}_0x2667ce[_0x32afc7(_0x43e12f._0x32c483,0x435,0x5a9,_0x43e12f._0x2ac4e1)]({'id':_0x49db4d(_0x43e12f._0x1ee80f,_0x43e12f._0x16d7aa,0x546,_0x43e12f._0xd3b360),'type':_0x32afc7(_0x43e12f._0x306cbb,0x358,0x49e,_0x43e12f._0x6f3846),'description':_0x49db4d(0x598,_0x43e12f._0x582d08,_0x43e12f._0x26bb1b,0x52b),'category':_0x49db4d(0x5e8,_0x43e12f._0x4d62f1,0x4c9,_0x43e12f._0x3d03f2),async 'handler'({rawInput:_0x17b28d,eventBus:_0x512feb,orchestratorManager:_0x31037e}){const _0x4dcde7={_0x58fbaf:0xa6};let _0x406682=_0x17b28d[_0x1c55d9(_0x12a03f._0x126cd2,0x3ad,0x4a6,0x484)]()[_0x4fac32(-0xd,0x15c,_0x12a03f._0xe67c0a,0x10f)](/\s+/)[_0x4fac32(_0x12a03f._0x331cc9,0x221,_0x12a03f._0x3e96bb,0xde)](0x1)[_0x4fac32(-0x8e,0x9a,0x99,_0x12a03f._0x1fb7be)]('\x20')[_0x1c55d9(0x364,0x241,0x29a,_0x12a03f._0xb97b7c)]();if(!_0x406682){_0x512feb['emit'](_0x1c55d9(_0x12a03f._0x43b093,0x604,0x6ba,_0x12a03f._0x4153d8),{'id':_0x5c689a[_0x4fac32(0x161,_0x12a03f._0x1b7ab6,0xbf,_0x12a03f._0x179ce8)](),'type':_0x1c55d9(_0x12a03f._0x5b8c33,0x1d2,0x156,_0x12a03f._0x4b7d5c),'content':_0x1c55d9(0x46e,_0x12a03f._0x201548,_0x12a03f._0x5029d1,_0x12a03f._0x22e74b),'metadata':{'timestamp':new Date()[_0x4fac32(_0x12a03f._0x305e73,_0x12a03f._0x2e013d,_0x12a03f._0x410cc0,0x5b)]()},'color':_0x1c55d9(0x506,0x658,_0x12a03f._0x415d08,0x372)});return;}function _0x4fac32(_0x3b4845,_0x48e6ee,_0x392d09,_0x544c47){return _0x32afc7(_0x3b4845-0x108,_0x48e6ee- -_0xc7a613._0x4aaf57,_0x392d09-_0xc7a613._0x3ceb1e,_0x392d09);}function _0x1c55d9(_0x130945,_0x1b775c,_0x1663f2,_0x477362){return _0x32afc7(_0x130945-0x14b,_0x130945-_0x4dcde7._0x58fbaf,_0x1663f2-0x26,_0x477362);}try{if(!_0x31037e){_0x512feb[_0x4fac32(0x10b,0x1ed,_0x12a03f._0x954fc8,_0x12a03f._0x284ef4)]('ui:line',{'id':_0x5c689a[_0x4fac32(_0x12a03f._0x142427,_0x12a03f._0x1b7ab6,0x243,0x6e)](),'type':_0x1c55d9(_0x12a03f._0x5b8c33,_0x12a03f._0x31d88f,0x241,0x1bd),'content':_0x1c55d9(_0x12a03f._0xc51425,_0x12a03f._0x4c97ef,_0x12a03f._0x493384,_0x12a03f._0x434bfe),'metadata':{'timestamp':new Date()[_0x4fac32(_0x12a03f._0x3bdd53,0x1c7,0x2fa,0x48)]()},'color':_0x1c55d9(_0x12a03f._0x217e60,0x58f,_0x12a03f._0x3fcf7f,_0x12a03f._0x2b08dc)});return;}let _0x1b94c5=_0x31037e['getMemory']();if(!_0x1b94c5){_0x512feb[_0x4fac32(_0x12a03f._0x66e455,_0x12a03f._0x271a8c,0x220,_0x12a03f._0x529ceb)](_0x1c55d9(_0x12a03f._0x63de92,0x529,_0x12a03f._0x13dddd,0x4a5),{'id':_0x5c689a[_0x4fac32(0x1e8,_0x12a03f._0x1b7ab6,_0x12a03f._0x49d56c,-0xd)](),'type':_0x4fac32(-_0x12a03f._0x2d47db,0x32,_0x12a03f._0xa4fba8,0x144),'content':_0x1c55d9(_0x12a03f._0x5ac957,_0x12a03f._0x225ad1,_0x12a03f._0x587647,0x511),'metadata':{'timestamp':new Date()[_0x1c55d9(_0x12a03f._0x2c5a29,_0x12a03f._0x45c512,_0x12a03f._0x299e08,0x365)]()},'color':_0x4fac32(0x31d,_0x12a03f._0x22bd5f,_0x12a03f._0x237bc1,0x1a0)});return;}let _0x37fb51=_0x31037e['getConversationContext']()[_0x4fac32(_0x12a03f._0x2558dc,_0x12a03f._0x272cbf,_0x12a03f._0x38ada1,0x9e)](),_0x38d93e=await _0x1b94c5['get'](_0x37fb51);if(!_0x38d93e||_0x38d93e['length']===0x0){_0x512feb[_0x4fac32(0xc6,_0x12a03f._0x3dbd79,0x2c3,_0x12a03f._0x466155)](_0x1c55d9(0x50d,0x4d9,_0x12a03f._0x4569bf,_0x12a03f._0x48260d),{'id':_0x5c689a[_0x4fac32(_0x12a03f._0x3d3a7e,_0x12a03f._0x3d4132,_0x12a03f._0x11d0ce,_0x12a03f._0xa08dfa)](),'type':_0x4fac32(_0x12a03f._0x5bd2f9,_0x12a03f._0x260df0,_0x12a03f._0x472537,0x26a),'content':_0x4fac32(-_0x12a03f._0x17314a,0x96,0x143,0x79),'metadata':{'timestamp':new Date()[_0x1c55d9(_0x12a03f._0x2c5a29,_0x12a03f._0x5a72fc,0x333,0x550)]()},'color':_0x4fac32(0x180,0x312,0x328,0x256)});return;}let _0x1b59ac=_0x3f23a0['resolve'](process[_0x4fac32(_0x12a03f._0x3d927d,_0x12a03f._0x5e46df,0x215,0x181)](),_0x406682);await _0x517175['writeFile'](_0x1b59ac,JSON['stringify']({'cli':_0x38d93e},null,0x2),'utf-8'),_0x512feb[_0x4fac32(0x247,0x1ed,0x5b,_0x12a03f._0x1db9a6)](_0x1c55d9(_0x12a03f._0x5f1ae9,0x3b0,_0x12a03f._0x1f18f0,0x420),{'id':_0x5c689a['randomUUID'](),'type':'info','content':'Exported\x20'+_0x38d93e[_0x1c55d9(_0x12a03f._0x386cc4,_0x12a03f._0x200e22,_0x12a03f._0x33009b,0x582)]+_0x1c55d9(_0x12a03f._0xab0414,_0x12a03f._0x39b89e,0x19c,_0x12a03f._0x5c8c8e)+_0x1b59ac,'metadata':{'timestamp':new Date()[_0x4fac32(_0x12a03f._0x4109b7,0x1c7,0x10f,0x15f)]()},'color':_0x58f3e4[_0x1c55d9(_0x12a03f._0x28f5d4,_0x12a03f._0x2fd3a4,_0x12a03f._0x528acc,0x516)][_0x4fac32(0x240,_0x12a03f._0x44dbdb,0x7e,0xa5)]});}catch(_0x497cd2){let _0x1b4e39=_0x497cd2 instanceof Error?_0x497cd2[_0x4fac32(_0x12a03f._0x556338,0xdb,0x12,_0x12a03f._0x7b3b7c)]:String(_0x497cd2);_0x512feb[_0x4fac32(0x63,0x1ed,0x96,_0x12a03f._0xa97e78)](_0x1c55d9(_0x12a03f._0x63de92,0x4ad,0x4f1,0x435),{'id':_0x5c689a[_0x4fac32(0x28,0x14c,-0x48,0x148)](),'type':'error','content':'Failed\x20to\x20export\x20conversation:\x20'+_0x1b4e39,'metadata':{'timestamp':new Date()[_0x4fac32(_0x12a03f._0x237119,0x1c7,_0x12a03f._0x1c2372,0x214)]()},'color':'red'});}}});}import{useCallback as _0x131656,useEffect as _0x1272f6,useState as _0x3746a9}from'react';import{Text as _0x454f7c}from'ink';import{useState as _0x773bb7,useEffect as _0x3029d3}from'react';import{Box as _0x187bbd,Text as _0x375b9d}from'ink';import{Box as _0xece2bc,Text as _0x4874e2}from'ink';import{jsx as _0x197ddb,jsxs as _0x42e9ab}from'react/jsx-runtime';var Hn=({item:_0x2e8dc4,isSelected:_0x10677e,allowedCount:_0x3448f6,totalCount:_0x2f673d,disabled:_0x58b5ac,reconnecting:_0x1feb33})=>{const _0x5b90ef={_0x352d03:0x23f,_0x159e04:0x263,_0x38c62d:0x3e0,_0x262694:0xae,_0x201a64:0x31,_0x1b68e2:0xff,_0x316f97:0x221,_0x4acdbc:0x1d3,_0x3ee236:0x281,_0x8f733d:0x26f,_0x253ea1:0x24d,_0x4d1820:0x400,_0x206152:0xd8,_0x5dec0c:0x74,_0x4b7c1d:0x1ef,_0x3b5c20:0xb4,_0x299a59:0x38,_0x256b15:0x124,_0xb07748:0x30,_0xe41e2c:0x97,_0x10f740:0x292,_0x4c5b17:0x97,_0x50691f:0x154,_0x45416a:0xf2,_0xbc574c:0x18d,_0x100578:0xf9,_0x2da352:0xbb,_0x18666b:0xd0,_0x437e5c:0xbf,_0x430886:0x16f,_0x4de0ab:0x2ad,_0x2f8c6c:0x242,_0x12e472:0x140,_0x1cec08:0xa4,_0xd49200:0x103,_0xb33368:0x174,_0x4e693e:0x39,_0x5a46ab:0xa7,_0x464422:0x257},_0x34d681={_0x597022:0x7b,_0x185db8:0x18c,_0x25fa68:0x535,_0x2cd960:0x394,_0x35986c:0x37c,_0x2167fa:0x3b5,_0x4fb18e:0x361,_0x148a28:0x3e4,_0x4f85c3:0x535,_0x917405:0x506,_0x367d4f:0x31a,_0x2fa485:0x309,_0x43573e:0x473,_0x25f677:0x507,_0x32d4c4:0x36a,_0x33ef05:0x3b5,_0x4a6abf:0x1c5,_0x1f127c:0x20c,_0x2c486e:0x18c,_0x2a9f6c:0x29b,_0x2b754f:0x5f3,_0x176fc0:0x546,_0x29959b:0x45e,_0x985862:0x619,_0x1e47c9:0x3dc,_0x2678fc:0x2b1,_0x2a6f4e:0x18c,_0x3277af:0x12d,_0x2097c3:0x3e,_0x59af64:0x2de,_0x4d2c26:0x141,_0x134dc0:0x5e0,_0x1ad350:0x75e,_0x2e14d4:0x501,_0x5c5b0d:0x364,_0x4fc408:0x296,_0x3ee234:0x2d4,_0x1de701:0x65e,_0x49c20c:0x60d,_0x8a6b1f:0x6b4},_0x2644d7={_0x4468a9:0x1d5},_0x401851={_0x3f5095:0x9e,_0xd5a12a:0x332,_0x1dc5ff:0x5b};function _0x2ed772(_0x346705,_0x5a065f,_0x5ccf27,_0x6057f6){return _0x40e58d(_0x5ccf27,_0x5a065f-_0x401851._0x3f5095,_0x5a065f- -_0x401851._0xd5a12a,_0x6057f6-_0x401851._0x1dc5ff);}function _0x59a583(_0x4e59f1,_0x557a3d,_0x731a34,_0x39e7fb){return _0x40e58d(_0x39e7fb,_0x557a3d-_0x2644d7._0x4468a9,_0x4e59f1- -0x17c,_0x39e7fb-0x95);}let {theme:_0x160cf6}=_0x23be01(),_0x300435=_0x2e8dc4[_0x59a583(_0x5b90ef._0x352d03,_0x5b90ef._0x159e04,0x1ce,_0x5b90ef._0x38c62d)]===_0x59a583(-_0x5b90ef._0x262694,0x69,_0x5b90ef._0x201a64,-_0x5b90ef._0x1b68e2),_0x4883ec=_0x2e8dc4[_0x59a583(_0x5b90ef._0x352d03,_0x5b90ef._0x316f97,_0x5b90ef._0x4acdbc,_0x5b90ef._0x3ee236)]===_0x59a583(0x266,0x375,0x277,_0x5b90ef._0x8f733d),_0x361a69,_0x1ee260;_0x1feb33?(_0x361a69=_0x160cf6[_0x59a583(_0x5b90ef._0x253ea1,0x1e7,0x235,_0x5b90ef._0x4d1820)][_0x59a583(_0x5b90ef._0x206152,0x24e,_0x5b90ef._0x5dec0c,0x55)],_0x1ee260='↻'):_0x58b5ac?(_0x361a69=_0x160cf6[_0x59a583(_0x5b90ef._0x4b7c1d,0x23b,0x221,_0x5b90ef._0x3b5c20)][_0x59a583(_0x5b90ef._0x299a59,-_0x5b90ef._0x256b15,0x55,0x5e)],_0x1ee260='◌'):_0x300435?(_0x361a69=_0x160cf6[_0x2ed772(-_0x5b90ef._0xb07748,_0x5b90ef._0xe41e2c,0x136,0x89)][_0x59a583(0x21c,_0x5b90ef._0x10f740,0x30b,0x101)],_0x1ee260='✗'):_0x4883ec?(_0x361a69=_0x160cf6[_0x2ed772(-0x12,_0x5b90ef._0x4c5b17,0x1c3,0x217)]['yellow'],_0x1ee260='○'):(_0x361a69=_0x160cf6[_0x59a583(_0x5b90ef._0x253ea1,0xdb,_0x5b90ef._0x50691f,0x2be)][_0x2ed772(-_0x5b90ef._0x45416a,-0xc5,-0x1f0,-0x241)],_0x1ee260='●');let _0x3b6a99=()=>{const _0x497e8d={_0x492427:0x136,_0x92bafc:0x147},_0x3717e3={_0x23a6ee:0xdb};function _0x3c86ff(_0x5ecc92,_0x4d53b5,_0x40a5b8,_0xc5e94){return _0x59a583(_0x5ecc92-0x393,_0x4d53b5-0xa,_0x40a5b8-_0x3717e3._0x23a6ee,_0xc5e94);}function _0x433e91(_0x29d9bf,_0x454053,_0xb4f2b8,_0xd83b1c){return _0x59a583(_0x454053- -0x16,_0x454053-_0x497e8d._0x492427,_0xb4f2b8-_0x497e8d._0x92bafc,_0x29d9bf);}if(!_0x2e8dc4[_0x433e91(_0x34d681._0x597022,_0x34d681._0x185db8,0x3b,0x167)]||_0x2e8dc4[_0x3c86ff(_0x34d681._0x25fa68,0x515,0x565,_0x34d681._0x2cd960)][_0x433e91(_0x34d681._0x35986c,0x24a,0x2c2,_0x34d681._0x2167fa)]===_0x3c86ff(_0x34d681._0x4fb18e,0x412,0x2c2,_0x34d681._0x148a28))return null;if(_0x2e8dc4[_0x3c86ff(_0x34d681._0x4f85c3,0x67e,_0x34d681._0x917405,0x565)][_0x433e91(_0x34d681._0x367d4f,0x24a,_0x34d681._0x2fa485,0x2eb)]===_0x3c86ff(_0x34d681._0x43573e,_0x34d681._0x25f677,0x3a0,0x3fb))return _0x42e9ab(_0x4874e2,{'color':_0x160cf6[_0x433e91(_0x34d681._0x32d4c4,0x237,_0x34d681._0x33ef05,_0x34d681._0x4a6abf)]['green'],'dimColor':!_0x10677e,'children':['\x20','🔑']});if(_0x2e8dc4[_0x433e91(_0x34d681._0x1f127c,_0x34d681._0x2c486e,0x1ab,_0x34d681._0x2a9f6c)][_0x3c86ff(_0x34d681._0x2b754f,_0x34d681._0x176fc0,_0x34d681._0x29959b,0x466)]==='oauth'){if(_0x2e8dc4[_0x3c86ff(0x535,0x6ca,_0x34d681._0x985862,0x4df)][_0x3c86ff(_0x34d681._0x1e47c9,0x418,0x524,_0x34d681._0x2678fc)]){let _0x4552ed=_0x2e8dc4[_0x433e91(-0xe,_0x34d681._0x2a6f4e,_0x34d681._0x3277af,0x12a)][_0x433e91(-_0x34d681._0x2097c3,-0xcb,0x62,-0x211)]&&_0x2e8dc4['authStatus'][_0x3c86ff(_0x34d681._0x59af64,_0x34d681._0x4d2c26,0x133,0x386)]-Date['now']()<0x493e0;return _0x42e9ab(_0x4874e2,{'color':_0x4552ed?_0x160cf6[_0x3c86ff(_0x34d681._0x134dc0,0x736,_0x34d681._0x1ad350,_0x34d681._0x2e14d4)][_0x433e91(0xf0,0x24f,0xbc,_0x34d681._0x5c5b0d)]:_0x160cf6[_0x433e91(_0x34d681._0x4fc408,0x237,_0x34d681._0x3ee234,0x1a9)][_0x3c86ff(0x484,0x314,0x410,0x46f)],'dimColor':!_0x10677e,'children':['\x20',_0x4552ed?'🔐⚠':'🔐']});}return _0x42e9ab(_0x4874e2,{'color':_0x160cf6[_0x3c86ff(0x5e0,_0x34d681._0x1de701,_0x34d681._0x49c20c,0x759)][_0x3c86ff(0x5af,0x622,0x6ff,_0x34d681._0x8a6b1f)],'dimColor':!_0x10677e,'children':['\x20','🔒']});}return null;};return _0x197ddb(_0xece2bc,{'flexDirection':_0x59a583(_0x5b90ef._0xbc574c,_0x5b90ef._0x100578,_0x5b90ef._0x2da352,0x2ec),'children':_0x42e9ab(_0xece2bc,{'children':[_0x197ddb(_0x4874e2,{'color':_0x361a69,'bold':!0x0,'children':_0x1ee260}),_0x197ddb(_0x4874e2,{'children':'\x20'}),_0x197ddb(_0x4874e2,{'color':_0x10677e?_0x160cf6[_0x59a583(_0x5b90ef._0x253ea1,0x1a0,0x14c,0x249)][_0x59a583(_0x5b90ef._0x206152,-_0x5b90ef._0x18666b,-_0x5b90ef._0x437e5c,_0x5b90ef._0x430886)]:_0x160cf6['history'][_0x2ed772(-0x257,-0x17e,-0x36,-_0x5b90ef._0x4de0ab)],'bold':_0x10677e,'dimColor':!_0x10677e||_0x58b5ac,'strikethrough':_0x58b5ac,'children':_0x2e8dc4['id']}),_0x3b6a99(),_0x1feb33&&_0x42e9ab(_0x4874e2,{'color':_0x160cf6[_0x59a583(_0x5b90ef._0x253ea1,_0x5b90ef._0x2f8c6c,_0x5b90ef._0x12e472,_0x5b90ef._0x1cec08)][_0x59a583(_0x5b90ef._0x206152,-0x5c,0xc9,_0x5b90ef._0xd49200)],'dimColor':!0x0,'children':['\x20','(connecting...)']}),!_0x58b5ac&&!_0x1feb33&&_0x42e9ab(_0x4874e2,{'color':_0x160cf6[_0x2ed772(-_0x5b90ef._0xb33368,_0x5b90ef._0x4e693e,-0x179,0x55)][_0x59a583(0x105,_0x5b90ef._0x1cec08,_0x5b90ef._0x5a46ab,_0x5b90ef._0x464422)],'dimColor':!_0x10677e,'children':['\x20','[',_0x3448f6,'/',_0x2f673d,']']}),_0x58b5ac&&!_0x1feb33&&_0x42e9ab(_0x4874e2,{'color':_0x160cf6[_0x2ed772(-0x160,0x39,0xb0,0x9d)]['unselected'],'dimColor':!0x0,'children':['\x20','(disabled)']})]})});};import{Box as _0x292cff,Text as _0x4cafa2}from'ink';import{Fragment as _0x3c3122,jsx as _0x369d60,jsxs as _0x4a7905}from'react/jsx-runtime';var Nn=({item:_0x4a140a,isSelected:_0x48a747,allowed:_0x103915,index:_0x317a2c})=>{const _0x18c0e6={_0x370d29:0x663,_0x1585ba:0x493,_0x177796:0x5bb,_0xf85e9e:0x818,_0x507768:0x6f7,_0x1eaeab:0x2ee,_0x190ce3:0x3b9,_0x425a93:0x406,_0x40fa4e:0x4a0,_0x18c1f7:0x3c4,_0xee5d0c:0x415,_0x8925a4:0x4ac,_0x2e5e30:0x6cf,_0x339709:0x620,_0x42f77a:0x651,_0x1cd1e9:0x4d6,_0xc6ee51:0x80d,_0x59c8c1:0x3ac,_0x59d5d7:0x202,_0x3e1cf7:0x30d},_0x12ff5a={_0x1801b0:0x2d,_0x4d889f:0x14a},_0xac85aa={_0x2ad471:0x11a,_0xc2e140:0x3ff,_0x43a70a:0x19f};function _0x507322(_0x40a7c2,_0x210389,_0x26ab21,_0x2447b4){return _0x593b39(_0x40a7c2-_0xac85aa._0x2ad471,_0x210389-_0xac85aa._0xc2e140,_0x2447b4,_0x2447b4-_0xac85aa._0x43a70a);}function _0x356839(_0x237d16,_0x45a76b,_0x173e51,_0x35aa50){return _0x593b39(_0x237d16-_0x12ff5a._0x1801b0,_0x173e51-_0x12ff5a._0x4d889f,_0x237d16,_0x35aa50-0x19b);}let {theme:_0x4676eb}=_0x23be01(),_0x3d582a=_0x103915?_0x4676eb['tokens'][_0x507322(_0x18c0e6._0x370d29,0x570,_0x18c0e6._0x1585ba,_0x18c0e6._0x177796)]:_0x4676eb[_0x507322(0x801,0x6cc,_0x18c0e6._0xf85e9e,_0x18c0e6._0x507768)]['red'];return _0x4a7905(_0x292cff,{'children':[_0x369d60(_0x4cafa2,{'color':_0x3d582a,'bold':!0x0,'children':_0x103915?'✓':'✗'}),_0x369d60(_0x4cafa2,{'children':'\x20'}),_0x317a2c!==void 0x0&&_0x4a7905(_0x3c3122,{'children':[_0x4a7905(_0x4cafa2,{'color':_0x4676eb[_0x356839(0x469,_0x18c0e6._0x1eaeab,_0x18c0e6._0x190ce3,_0x18c0e6._0x425a93)][_0x356839(_0x18c0e6._0x40fa4e,_0x18c0e6._0x18c1f7,_0x18c0e6._0xee5d0c,_0x18c0e6._0x8925a4)],'dimColor':!0x0,'children':['[',_0x317a2c,']']}),_0x369d60(_0x4cafa2,{'children':'\x20'})]}),_0x369d60(_0x4cafa2,{'color':_0x48a747?_0x4676eb[_0x507322(_0x18c0e6._0x2e5e30,_0x18c0e6._0x339709,_0x18c0e6._0x42f77a,0x60a)][_0x507322(0x360,0x4b9,0x5c5,0x3dc)]:_0x4676eb[_0x507322(_0x18c0e6._0x1cd1e9,0x66e,0x730,_0x18c0e6._0xc6ee51)][_0x356839(0x1da,_0x18c0e6._0x59c8c1,_0x18c0e6._0x59d5d7,_0x18c0e6._0x3e1cf7)],'bold':_0x48a747,'dimColor':!_0x48a747,'children':_0x4a140a})]});};import{jsx as _0x9f8bbe,jsxs as _0x2916f0}from'react/jsx-runtime';var Os=({visible:_0x466dbc,servers:_0x14638b,allowedToolsConfig:_0x86ea71={},onClose:_0x1fc1eb,onServerToggle:_0x18f07,onServerReconnect:_0x28e9a3,reconnectingServerId:_0x3f3430})=>{const _0x6c72b2={_0x58dce9:0x456,_0x353249:0x2e3,_0x4f9d08:0x3f5,_0x1b3a03:0x2c6,_0x5c6d12:0x2b4,_0xaf626d:0x1d1,_0x170dd7:0xab,_0x17be6c:0x36d,_0x2e7c2f:0x38,_0x5b6e26:0xea,_0x5b3251:0x4d6,_0x22b811:0x580,_0x453e06:0x151,_0x444215:0x3b5,_0x3f3ba6:0x2f5,_0x10ed19:0x284,_0xb5f317:0x307,_0x4685f5:0x2dd,_0x3e6775:0x1e6,_0x18222b:0x24b,_0x103633:0x206,_0x1d85f8:0x372,_0xb7498c:0x16e,_0x2970c6:0x13e,_0x55e073:0x1ae,_0x53c924:0x29b,_0x410e6d:0xdc,_0x49ff86:0x315,_0x2d632f:0x418,_0x4ae6dd:0x357,_0x5c40db:0x30f,_0x44a14d:0x1d9,_0x12bd98:0x1f1,_0x4935a0:0x213,_0x38cd69:0x495,_0x24750b:0x426,_0x2775dd:0x527,_0x2632f8:0x4f5,_0x4367c5:0x41b,_0x36bad9:0x2bb,_0x48a852:0x16e,_0x1a1849:0x1cb,_0x4fd403:0xf4,_0x5a8f1f:0x1bc,_0x37354d:0x2f1,_0x52f6a7:0x87,_0x3e3a1e:0x231,_0x1540fc:0x5c2,_0x2d3735:0x3e4,_0x6b2030:0x1ab,_0x175d2c:0x387,_0xeb6053:0x4f0,_0xf05485:0x4ee,_0x1a2562:0x566,_0xb30902:0x4d9,_0x4757eb:0x715,_0x2ef837:0x404,_0x5d6f94:0x23f,_0x45c86d:0x292,_0x24b19f:0x30f,_0x1c96cc:0x3a2,_0xb9d605:0x196,_0x2415bf:0x29b,_0x43cd7e:0x527,_0x3c1d36:0xf5,_0x5291cb:0x159,_0x5698a1:0x4c5,_0x387a7f:0x468,_0x253c5e:0x43f,_0x1cab9b:0x1ba,_0xbf3be0:0x2d7,_0x4180a4:0x223,_0x555e09:0x23f,_0x161525:0x368,_0x19315a:0x3ff,_0x3a6daf:0x4a6,_0x2b3163:0x32f,_0x1189c3:0x3da,_0x3b3722:0x206,_0x4aebc9:0x2ca,_0x57beb1:0x316,_0x15ebc8:0x28f,_0x5ddbd2:0xe7,_0x2fef28:0x189,_0x57f73e:0x3b7,_0x5eac2a:0x2b6,_0x12e274:0x298,_0x4838f3:0x230,_0x2b26d6:0x34b,_0x4ae80c:0x1dd,_0x5bb50d:0x4d9,_0x1eab67:0x59d,_0x219651:0x674,_0x60b205:0x3c9,_0x254ad7:0x1ee,_0x183827:0x383,_0x203bdd:0x179,_0x1e731d:0x5b4,_0x1447c6:0x5e9,_0x40bdb3:0x4f2,_0x1e7361:0x24a,_0x597f80:0x23f,_0x195f1c:0x312,_0x385b31:0x1cc,_0x2da547:0x4dc,_0x27c8e3:0x5c5,_0x2d06a0:0x430,_0x158431:0x661,_0x3a44f5:0x467,_0x4dd884:0x557,_0x25fed1:0x131,_0x3989bf:0x3e6,_0x5d18aa:0xa8,_0x2257c8:0x2b8,_0x3e029b:0x87,_0x38383b:0x23f,_0x16bd16:0x1b5,_0xe38ba5:0x180,_0x156ee8:0x29b,_0x3b746e:0x296,_0xfd5555:0x3e6,_0x3ee7f6:0x78,_0x3df8e8:0x80},_0x1e9cab={_0x356a47:0x192,_0xe8a90f:0x1dd,_0x24bd41:0x3ac},_0x36de6f={_0xd5cdfa:0x81},_0x3742fc={_0x331c22:0x63,_0x5a9aad:0x1d1,_0x2900ad:0x43a,_0x241173:0x2c3,_0x5d9a87:0x40d,_0x16206c:0x11b,_0x5c86ef:0x116,_0x4a5e4a:0x5e5,_0x3b7e73:0x661},_0x2430bf={_0x32cf26:0x25c,_0x3e53ca:0xed},_0x10b8df={_0x25cf0d:0x2b2,_0x4edeb6:0x44a},_0x4b2470={_0x4090cd:0x1d8},_0x1a1c78={_0xfa7a30:0x35a,_0x16274a:0x54},_0x3abd15={_0x3581f5:0x5f},_0x1037f6={_0x1b4709:0x124,_0x3cc037:0x255,_0x19e345:0x50d,_0x49eb05:0x653,_0x2b4c63:0x1ae,_0x4599c3:0x247,_0x37e908:0x42c,_0x49dd86:0x2c0,_0x31262c:0x6a,_0x54eab1:0x14a,_0x10fa14:0x28f,_0x40ac3b:0x13c,_0x2b32a6:0x277,_0x17c84:0x108,_0x1e9ff3:0x419,_0x4b0342:0x4b4,_0x3da886:0x3fa,_0x5181c7:0x1bc,_0x75e2c7:0x2e2,_0x44c535:0x53a,_0x227434:0x5cf,_0xfcc3b2:0x47c,_0x4dd6c5:0x8e,_0x4921bc:0x24,_0x13dad5:0x178,_0x13187b:0x1ed,_0x2bf9e0:0x148,_0x46d191:0x258,_0x2c8f71:0x661,_0x552a42:0x3ff,_0x926fcd:0x16c,_0x29c704:0xbc,_0xd3f440:0x38,_0x1c428b:0x12,_0x5f2c57:0x167,_0x1ed600:0x16f,_0x19f8b7:0x92,_0x451de8:0x246,_0x4dbce5:0x1f0,_0x52573b:0x335,_0x103158:0x245,_0x208b14:0x17,_0x565ba8:0xe6,_0x29cd09:0xe5,_0x2ae9f5:0xb5,_0x24876b:0xe3,_0x49d8a0:0x2ff,_0x4471be:0x2ca,_0x1db9f5:0x27b,_0x70fc56:0x18e,_0x50366f:0x293,_0x8648e3:0x3be},_0x4d7600={_0x15bfbf:0xb5},_0x324cac={_0x544c42:0x332},_0x2fe13f={_0x43ebe3:0x511,_0x46484c:0x51c},_0x3cd05c={_0x304d0d:0x6a2},_0x19a846={_0x1b8f00:0x375,_0x13f2ac:0x5d0},_0x58243e={_0x44befb:0x470,_0x45f37d:0x53f,_0x5ca5d2:0x472,_0x43255f:0x49e,_0x52b859:0x5da,_0x19a68a:0x4a7,_0x589be2:0x97},_0x338e88={_0x28998a:0x31f,_0x102f98:0x268},_0x2d86cc={_0x5f3b84:0x3ad,_0x3f0512:0xfd};let {theme:_0x54ee83}=_0x23be01(),[_0xb513e1,_0x2f8c41]=_0x773bb7(null),[_0x10ac98,_0x326970]=_0x773bb7(_0x4b8437(_0x6c72b2._0x58dce9,0x2c2,_0x6c72b2._0x353249,_0x6c72b2._0x4f9d08)),[_0x4c1851,_0x6b8061]=_0x773bb7(null),[_0x4d8d53,_0x26d233]=_0x773bb7(_0x86ea71),[_0x4795d6,_0xa7bf06]=_0x773bb7(new Set(_0x14638b[_0x442ff6(_0x6c72b2._0x1b3a03,_0x6c72b2._0x5c6d12,_0x6c72b2._0xaf626d,_0x6c72b2._0x170dd7)](_0x3aa043=>_0x3aa043[_0x4b8437(0x2ff,0x477,0x23b,0x2da)])[_0x442ff6(0x285,0x348,0x21e,_0x6c72b2._0x17be6c)](_0x240921=>_0x240921['id'])));_0x3029d3(()=>{_0x26d233(_0x86ea71);},[_0x86ea71]),_0x3029d3(()=>{const _0x306e23={_0x25d029:0xea};function _0x56b026(_0x213d39,_0x1441b5,_0x3cd934,_0x10a393){return _0x4b8437(_0x3cd934- -_0x2d86cc._0x5f3b84,_0x1441b5-0x1ad,_0x1441b5,_0x10a393-_0x2d86cc._0x3f0512);}function _0x5f496f(_0x2268fa,_0x574d9f,_0xdce464,_0x2c5f04){return _0x4b8437(_0x2268fa- -0x1e7,_0x574d9f-_0x306e23._0x25d029,_0x2c5f04,_0x2c5f04-0x87);}_0xa7bf06(new Set(_0x14638b['filter'](_0x5ccc66=>_0x5ccc66[_0x56b026(0xb7,-0xc1,-0xae,0x8c)])[_0x5f496f(_0x338e88._0x28998a,0x28d,_0x338e88._0x102f98,0x30c)](_0x355e77=>_0x355e77['id'])));},[_0x14638b]),_0x3029d3(()=>{const _0x502b76={_0xb5fe1f:0x1f0,_0x2a7413:0x1d5},_0x5a2f04={_0x4547b4:0xeb,_0x5a5cfe:0x339};function _0x19d575(_0x30a850,_0x3e1122,_0x34dccf,_0x240c90){return _0x442ff6(_0x34dccf,_0x3e1122-_0x5a2f04._0x4547b4,_0x3e1122-_0x5a2f04._0x5a5cfe,_0x240c90-0x80);}function _0x1560e3(_0x1321a8,_0x11f7e3,_0x1c67cc,_0x48207b){return _0x442ff6(_0x1321a8,_0x11f7e3-0x1f3,_0x48207b- -_0x502b76._0xb5fe1f,_0x48207b-_0x502b76._0x2a7413);}if(_0x14638b[_0x19d575(_0x58243e._0x44befb,_0x58243e._0x45f37d,_0x58243e._0x5ca5d2,_0x58243e._0x43255f)]>0x0&&!_0xb513e1){let _0x592f5f=_0x14638b[0x0];_0x592f5f&&_0x2f8c41(_0x592f5f);}else{if(_0x14638b['length']===0x0)_0x2f8c41(null),_0x326970(_0x19d575(_0x58243e._0x52b859,_0x58243e._0x19a68a,0x43c,0x5e0));else{if(_0xb513e1&&!_0x14638b[_0x1560e3(-0x1a,_0x58243e._0x589be2,0x249,0xd7)](_0xa3314d=>_0xa3314d['id']===_0xb513e1['id'])){let _0x54f790=_0x14638b[0x0];_0x54f790&&_0x2f8c41(_0x54f790);}}}},[_0x14638b,_0xb513e1]),_0x3029d3(()=>{const _0x4f1a54={_0x4014b8:0x201},_0x24eda0={_0x289451:0xf6,_0x27450a:0x12e,_0x551898:0x561},_0x29f6d9={_0x38a706:0x13d};if(!_0x466dbc)return;function _0xa87637(_0x2d130c,_0x2f02e1,_0x480103,_0x514ab3){return _0x4b8437(_0x514ab3-_0x29f6d9._0x38a706,_0x2f02e1-0x1a6,_0x480103,_0x514ab3-0x11f);}let _0x33b734=_0x3074ba=>{function _0x52c262(_0x4d357d,_0x301bd3,_0x1f8463,_0x46f179){return _0x5737(_0x1f8463- -0x41,_0x46f179);}function _0x2bc0af(_0x2c862a,_0x1d0d12,_0xb356bc,_0x7ce11a){return _0x5737(_0xb356bc- -0x307,_0x2c862a);}_0x26d233(_0x5745f6=>({..._0x5745f6,[_0x3074ba[_0x2bc0af(-0x22d,-0xd8,-0x167,-0x1e6)]]:{..._0x5745f6[_0x3074ba[_0x52c262(0x1e6,0x43,0x15f,0x1c2)]]||{},[_0x3074ba[_0x2bc0af(-0x321,-0x1b8,-0x205,-0x17e)]]:_0x3074ba[_0x52c262(0x22,-0x4b,0x96,-0x63)]}}));};return _0x411345['on'](_0xa87637(0x607,0x805,_0x3cd05c._0x304d0d,0x67a),_0x33b734),()=>{function _0x495f0c(_0x5ba849,_0x35d12e,_0x52a721,_0x6f5479){return _0xa87637(_0x5ba849-_0x24eda0._0x289451,_0x35d12e-_0x24eda0._0x27450a,_0x6f5479,_0x5ba849- -_0x24eda0._0x551898);}function _0x303945(_0x221456,_0x528d6e,_0x22acbe,_0x215952){return _0xa87637(_0x221456-0x13b,_0x528d6e-0xfb,_0x22acbe,_0x221456- -_0x4f1a54._0x4014b8);}_0x411345[_0x495f0c(0x80,0x21d,0x135,-0x7d)](_0x303945(0x479,0x60b,_0x19a846._0x1b8f00,_0x19a846._0x13f2ac),_0x33b734);};},[_0x466dbc]);let _0x3b6fb7=_0x260118=>{if(!_0xb513e1)return;let _0x4322dd={..._0x4d8d53};_0x4322dd[_0xb513e1['id']]||(_0x4322dd[_0xb513e1['id']]={});function _0x1ba106(_0x4509bc,_0x583aa5,_0x384044,_0x488bd7){return _0x442ff6(_0x488bd7,_0x583aa5-0x113,_0x384044-0x25a,_0x488bd7-0x17a);}let _0x76eee3=_0x4322dd[_0xb513e1['id']][_0x260118];_0x4322dd[_0xb513e1['id']][_0x260118]=_0x76eee3===!0x1,_0x26d233(_0x4322dd),_0x411345[_0x1ba106(0x258,_0x2fe13f._0x43ebe3,0x3ea,_0x2fe13f._0x46484c)]('ui:mcp:toolPermissionChanged',{'serverId':_0xb513e1['id'],'toolName':_0x260118,'allowed':_0x4322dd[_0xb513e1['id']][_0x260118]});};if(_0x528efb((_0x2fe9bf,_0x2642dd)=>{function _0x354d51(_0x3defb1,_0x53d034,_0x5bb9db,_0x583661){return _0x4b8437(_0x3defb1- -_0x324cac._0x544c42,_0x53d034-0x18d,_0x5bb9db,_0x583661-0x31);}function _0x5aff30(_0x1fc4b5,_0x3dc055,_0x4e38c8,_0x1634ab){return _0x4b8437(_0x1fc4b5- -0x3d,_0x3dc055-0x1d4,_0x3dc055,_0x1634ab-_0x4d7600._0x15bfbf);}if(_0x466dbc){if(_0x2fe9bf==='\x20'&&_0x10ac98===_0x354d51(_0x1037f6._0x1b4709,0x1d8,_0x1037f6._0x3cc037,0x171)&&_0xb513e1){let _0x202ce6=_0x4795d6[_0x5aff30(0x529,_0x1037f6._0x19e345,_0x1037f6._0x49eb05,0x61c)](_0xb513e1['id']),_0x47b3c9=new Set(_0x4795d6);_0x202ce6?_0x47b3c9['delete'](_0xb513e1['id']):_0x47b3c9[_0x354d51(0x1d5,_0x1037f6._0x2b4c63,_0x1037f6._0x4599c3,0x2f9)](_0xb513e1['id']),_0xa7bf06(_0x47b3c9),_0x18f07?.(_0xb513e1['id'],_0x202ce6);return;}if(_0x2fe9bf==='\x20'&&_0x10ac98===_0x5aff30(0x28b,0x103,0x11d,0x17e)&&_0x4c1851){_0x3b6fb7(_0x4c1851);return;}if(_0x2642dd[_0x5aff30(0x312,0x45d,_0x1037f6._0x37e908,_0x1037f6._0x49dd86)]){_0x10ac98===_0x354d51(-_0x1037f6._0x31262c,0x42,0x105,0x10d)&&_0x14638b[_0x354d51(0x1bc,0x12e,0x1c7,_0x1037f6._0x54eab1)]>0x0?_0x326970(_0x354d51(_0x1037f6._0x1b4709,_0x1037f6._0x10fa14,_0x1037f6._0x40ac3b,_0x1037f6._0x2b32a6)):_0x1fc1eb();return;}if(_0x2642dd['leftArrow']){_0x10ac98===_0x354d51(-0x6a,-0x1c1,-0x12e,0x13f)&&_0x14638b['length']>0x0&&_0x326970(_0x354d51(0x124,0x163,0x2a5,_0x1037f6._0x17c84));return;}if(_0x2642dd['rightArrow']){_0x10ac98===_0x5aff30(_0x1037f6._0x1e9ff3,0x559,_0x1037f6._0x4b0342,_0x1037f6._0x3da886)&&_0x14638b[_0x354d51(_0x1037f6._0x5181c7,0x8d,_0x1037f6._0x75e2c7,0x147)]>0x0&&_0xb513e1&&_0xb513e1[_0x5aff30(_0x1037f6._0x44c535,_0x1037f6._0x227434,_0x1037f6._0xfcc3b2,0x684)]===_0x354d51(-0x17,_0x1037f6._0x4dd6c5,_0x1037f6._0x4921bc,_0x1037f6._0x13dad5)&&!_0x4795d6[_0x354d51(0x234,0x16b,_0x1037f6._0x13187b,_0x1037f6._0x2bf9e0)](_0xb513e1['id'])&&_0x326970(_0x5aff30(0x28b,0x365,0x3e9,_0x1037f6._0x46d191));return;}if(_0x2fe9bf==='a'||_0x2fe9bf==='A'){if(_0xb513e1&&_0xb513e1[_0x5aff30(0x53a,0x405,_0x1037f6._0x2c8f71,_0x1037f6._0x552a42)]===_0x354d51(-0x17,-_0x1037f6._0x926fcd,_0x1037f6._0x29c704,_0x1037f6._0xd3f440)){let _0x23545a={..._0x4d8d53};_0x23545a[_0xb513e1['id']]||(_0x23545a[_0xb513e1['id']]={}),_0xb513e1[_0x354d51(-_0x1037f6._0x1c428b,-_0x1037f6._0x5f2c57,-_0x1037f6._0x1ed600,_0x1037f6._0x19f8b7)]['forEach'](_0x326e2d=>{_0x23545a[_0xb513e1['id']][_0x326e2d]=!0x0;}),_0x26d233(_0x23545a),_0x411345[_0x354d51(0x146,0x2ed,0x1bb,0xcb)](_0x354d51(_0x1037f6._0x451de8,_0x1037f6._0x4dbce5,_0x1037f6._0x52573b,0x18a),{'serverId':_0xb513e1['id'],'config':_0x23545a});}return;}if(_0x2fe9bf==='d'||_0x2fe9bf==='D'){if(_0xb513e1&&_0xb513e1[_0x354d51(_0x1037f6._0x103158,0x260,0x1ae,0x9c)]===_0x354d51(-_0x1037f6._0x208b14,-_0x1037f6._0x565ba8,-_0x1037f6._0x29cd09,-_0x1037f6._0x2ae9f5)){let _0x4a56ba={..._0x4d8d53};_0x4a56ba[_0xb513e1['id']]||(_0x4a56ba[_0xb513e1['id']]={}),_0xb513e1[_0x354d51(-0x12,-0x137,-0xe5,-_0x1037f6._0x24876b)][_0x5aff30(_0x1037f6._0x49d8a0,_0x1037f6._0x4471be,_0x1037f6._0x1db9f5,_0x1037f6._0x70fc56)](_0x4bd8a0=>{_0x4a56ba[_0xb513e1['id']][_0x4bd8a0]=!0x1;}),_0x26d233(_0x4a56ba),_0x411345['emit'](_0x354d51(0x246,_0x1037f6._0x50366f,0x224,_0x1037f6._0x8648e3),{'serverId':_0xb513e1['id'],'config':_0x4a56ba});}return;}if(_0x2fe9bf==='r'||_0x2fe9bf==='R'){_0xb513e1&&_0x10ac98==='servers'&&!_0x3f3430&&_0x28e9a3?.(_0xb513e1['id']);return;}}},{'isActive':_0x466dbc}),!_0x466dbc)return null;function _0x442ff6(_0x26a338,_0x3dc73a,_0x22a46c,_0x34fca5){return _0x593b39(_0x26a338-_0x3abd15._0x3581f5,_0x22a46c- -0x30,_0x26a338,_0x34fca5-0xb);}function _0x4b8437(_0x4d9c57,_0x3eeb1e,_0x885fa4,_0x1f2ad8){return _0x40e58d(_0x885fa4,_0x3eeb1e-0x1e4,_0x4d9c57-0x1bc,_0x1f2ad8-0x1a1);}let _0x2aeb69=_0xb513e1?.[_0x442ff6(-0x21,0xa9,_0x6c72b2._0x2e7c2f,_0x6c72b2._0x5b6e26)]||[],_0x19fdfe=_0x5e267e=>{function _0x527fb9(_0x2efeba,_0x3984a8,_0x1134a9,_0x178a58){return _0x442ff6(_0x1134a9,_0x3984a8-0x1e,_0x2efeba-_0x1a1c78._0xfa7a30,_0x178a58-_0x1a1c78._0x16274a);}function _0xe377e1(_0x458900,_0x31710c,_0x8e525c,_0x105d83){return _0x442ff6(_0x458900,_0x31710c-_0x4b2470._0x4090cd,_0x31710c-0xe1,_0x105d83-0x189);}let _0x5eb6ad=_0x4d8d53[_0x5e267e['id']]||{};return _0x5e267e['exposedTools'][_0xe377e1(0x1d4,_0x10b8df._0x25cf0d,0x2d6,0x199)](_0x419cab=>_0x5eb6ad[_0x419cab]!==!0x1)[_0x527fb9(0x560,0x68b,0x415,_0x10b8df._0x4edeb6)];},_0x2ff6ae=(_0x23229e,_0xbccac1)=>(_0x4d8d53[_0x23229e]||{})[_0xbccac1]!==!0x1,_0x5d7c14=_0x343192=>{const _0x38b286={_0xc91faa:0x12f,_0x5dc6d3:0x2cf};function _0x55432f(_0x38177b,_0x489df1,_0x11c0b5,_0x543b96){return _0x442ff6(_0x489df1,_0x489df1-_0x38b286._0xc91faa,_0x11c0b5- -_0x38b286._0x5dc6d3,_0x543b96-0x58);}_0x2f8c41(_0x343192[_0x55432f(-0xc7,-_0x2430bf._0x32cf26,-_0x2430bf._0x3e53ca,-0xe3)]);},_0x41bae6=_0x49820b=>{const _0x1870f4={_0x2b2c96:0xa,_0x57d1f6:0x6f,_0x1b8a1:0x1d6};function _0x2e0b75(_0xb84670,_0x5eea8c,_0x3eaa20,_0x6268b2){return _0x4b8437(_0xb84670- -_0x1870f4._0x2b2c96,_0x5eea8c-_0x1870f4._0x57d1f6,_0x5eea8c,_0x6268b2-_0x1870f4._0x1b8a1);}_0x6b8061(_0x49820b[_0x2e0b75(0x4c0,0x3f6,0x4fa,0x4ea)]);};return _0x2916f0(_0x32a44e,{'visible':_0x466dbc,'title':'MCP\x20Server\x20Configuration','onClose':void 0x0,'closeOnEscape':!0x1,'footer':_0x9f8bbe(_0x187bbd,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x9f8bbe(_0x1fb0f6,{'segments':[{'text':_0x4b8437(0x586,_0x6c72b2._0x5b3251,0x550,_0x6c72b2._0x22b811),'highlight':!0x0},{'text':_0x4b8437(0x2f1,0x19f,_0x6c72b2._0x453e06,_0x6c72b2._0x444215)},{'text':'Space','highlight':!0x0},{'text':_0x442ff6(_0x6c72b2._0x3f3ba6,0x2a,0x199,_0x6c72b2._0x10ed19)},{'text':'R','highlight':!0x0},{'text':_0x442ff6(0x18,-0x96,0x12,-0x6b)},{'text':_0x442ff6(_0x6c72b2._0xb5f317,0x3f4,_0x6c72b2._0x4685f5,_0x6c72b2._0x3e6775),'highlight':!0x0},{'text':_0x4b8437(0x35b,_0x6c72b2._0x18222b,0x1f9,0x2ba)}]})}),'paddingX':0x2,'paddingY':0x1,'children':[_0x14638b[_0x442ff6(_0x6c72b2._0x3e6775,0x2a4,_0x6c72b2._0x103633,_0x6c72b2._0x1d85f8)]===0x0?_0x9f8bbe(_0x187bbd,{'marginTop':0x1,'children':_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x442ff6(0x25d,_0x6c72b2._0xb7498c,0x23f,0x32e)][_0x442ff6(_0x6c72b2._0x2970c6,_0x6c72b2._0x55e073,_0x6c72b2._0x53c924,0xf5)],'children':_0x4b8437(0x385,0x2f3,0x42f,0x4d2)})}):_0x2916f0(_0x187bbd,{'flexDirection':_0x442ff6(_0x6c72b2._0x410e6d,0x2c4,0x27c,_0x6c72b2._0x49ff86),'marginTop':0x1,'children':[_0x2916f0(_0x187bbd,{'flexDirection':'column','width':_0x4b8437(0x2aa,_0x6c72b2._0x2d632f,0x345,_0x6c72b2._0x4ae6dd),'marginRight':0x2,'children':[_0x9f8bbe(_0x187bbd,{'marginBottom':0x1,'children':_0x2916f0(_0x375b9d,{'color':_0x10ac98==='servers'?_0x54ee83[_0x442ff6(_0x6c72b2._0x5c40db,_0x6c72b2._0x44a14d,_0x6c72b2._0x12bd98,_0x6c72b2._0x4935a0)][_0x4b8437(0x425,0x3b8,_0x6c72b2._0x38cd69,_0x6c72b2._0x24750b)]:_0x54ee83[_0x4b8437(_0x6c72b2._0x2775dd,0x516,0x3b9,_0x6c72b2._0x2632f8)][_0x4b8437(0x370,0x307,_0x6c72b2._0x4367c5,_0x6c72b2._0x36bad9)],'bold':_0x10ac98==='servers','children':[_0x10ac98===_0x442ff6(0x151,-0x17,_0x6c72b2._0x48a852,0x260)?'▶\x20':'\x20\x20',_0x442ff6(_0x6c72b2._0x1a1849,0xe4,0x228,0x2c4),_0x14638b[_0x442ff6(_0x6c72b2._0x4fd403,0x291,0x206,_0x6c72b2._0x5a8f1f)],')']})}),_0x9f8bbe(_0x510950,{'items':_0x14638b['map'](_0x4d022b=>({'key':_0x4d022b['id'],'label':_0x4d022b['id'],'value':_0x4d022b})),'itemComponent':_0x1b5f1f=>{const _0x344257={_0x511dd2:0x93,_0x1f8ad6:0xd0},_0x4b2449={_0x5ef300:0xe};function _0x5def5a(_0x16128f,_0x20102f,_0x446add,_0x212824){return _0x4b8437(_0x212824-0x186,_0x20102f-_0x4b2449._0x5ef300,_0x16128f,_0x212824-0xa8);}let _0x5de0a9=_0x1b5f1f[_0x5d1cfa(0x20b,_0x3742fc._0x331c22,_0x3742fc._0x5a9aad,0x86)],_0x3eb7ea=_0x4795d6[_0x5d1cfa(0x2a7,_0x3742fc._0x2900ad,0x212,0x1be)](_0x5de0a9['id']),_0x416485=_0x3f3430===_0x5de0a9['id'];function _0x5d1cfa(_0x2743ab,_0x1a6fb2,_0xc31ac0,_0x3cc967){return _0x4b8437(_0x2743ab- -0x2bf,_0x1a6fb2-_0x344257._0x511dd2,_0x3cc967,_0x3cc967-_0x344257._0x1f8ad6);}return _0x9f8bbe(Hn,{'item':_0x5de0a9,'isSelected':!!_0x1b5f1f[_0x5d1cfa(_0x3742fc._0x241173,0x206,0x2cc,_0x3742fc._0x5d9a87)],'allowedCount':_0x19fdfe(_0x5de0a9),'totalCount':_0x5de0a9[_0x5d1cfa(0x61,-_0x3742fc._0x16206c,0xb0,_0x3742fc._0x5c86ef)][_0x5def5a(_0x3742fc._0x4a5e4a,_0x3742fc._0x3b7e73,0x688,0x674)],'disabled':_0x3eb7ea,'reconnecting':_0x416485});},'onSelect':void 0x0,'onHighlight':_0x5d7c14,'focus':_0x10ac98===_0x4b8437(_0x6c72b2._0x58dce9,0x463,0x316,_0x6c72b2._0x37354d)})]}),_0x2916f0(_0x187bbd,{'flexDirection':'column','flexGrow':0x1,'children':[_0x9f8bbe(_0x187bbd,{'marginBottom':0x1,'children':_0x2916f0(_0x375b9d,{'color':_0x10ac98===_0x442ff6(-_0x6c72b2._0x52f6a7,0x147,-0x20,-0x17b)?_0x54ee83[_0x442ff6(_0x6c72b2._0x3e3a1e,0x23d,0x1f1,_0x6c72b2._0xb5f317)]['accent']:_0x54ee83[_0x4b8437(_0x6c72b2._0x2775dd,0x3ab,_0x6c72b2._0x1540fc,0x4f1)]['unselected'],'bold':_0x10ac98===_0x4b8437(0x2c8,_0x6c72b2._0x2d3735,_0x6c72b2._0x6b2030,_0x6c72b2._0x175d2c),'children':[_0x10ac98==='tools'?'▶\x20':'\x20\x20',_0x4b8437(_0x6c72b2._0xeb6053,0x504,0x581,0x4cf),'\x20',_0xb513e1?'('+_0x19fdfe(_0xb513e1)+'/'+_0xb513e1['exposedTools'][_0x4b8437(_0x6c72b2._0xf05485,0x4d4,0x5c3,0x369)]+')':'']})}),_0xb513e1?_0x4795d6[_0x4b8437(_0x6c72b2._0x1a2562,_0x6c72b2._0xb30902,_0x6c72b2._0x4757eb,_0x6c72b2._0x2ef837)](_0xb513e1['id'])?_0x2916f0(_0x187bbd,{'flexDirection':'column','children':[_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x442ff6(0x158,0x2e1,_0x6c72b2._0x5d6f94,_0x6c72b2._0x45c86d)]['help'],'dimColor':!0x0,'children':_0x442ff6(_0x6c72b2._0x24b19f,0x161,0x185,0x6)}),_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x442ff6(_0x6c72b2._0x1c96cc,0x14d,0x23f,0x205)][_0x442ff6(0x20a,_0x6c72b2._0xb9d605,_0x6c72b2._0x2415bf,0x23c)],'dimColor':!0x0,'children':'Press\x20Space\x20to\x20enable'})]}):_0xb513e1[_0x4b8437(0x577,0x47f,0x40d,_0x6c72b2._0x43cd7e)]===_0x442ff6(_0x6c72b2._0x3c1d36,-_0x6c72b2._0x5291cb,-0x5e,0xf5)?_0x2916f0(_0x187bbd,{'flexDirection':_0x4b8437(_0x6c72b2._0x5698a1,0x55f,_0x6c72b2._0x387a7f,0x649),'children':[_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x4b8437(0x4d9,0x46a,_0x6c72b2._0x253c5e,0x47f)][_0x4b8437(0x2bd,0x208,_0x6c72b2._0x353249,_0x6c72b2._0x1cab9b)],'children':'Server\x20failed\x20to\x20initialize'}),_0x2916f0(_0x375b9d,{'color':_0x54ee83[_0x442ff6(_0x6c72b2._0xbf3be0,_0x6c72b2._0x4180a4,_0x6c72b2._0x555e09,_0x6c72b2._0x161525)][_0x4b8437(0x583,0x44d,_0x6c72b2._0x19315a,0x54a)],'dimColor':!0x0,'children':[_0x4b8437(_0x6c72b2._0x3a6daf,_0x6c72b2._0x2b3163,_0x6c72b2._0x1189c3,0x546),_0xb513e1[_0x442ff6(0xed,-0x1d8,-0x2b,-0x11a)]||_0x4b8437(0x36f,_0x6c72b2._0x3b3722,0x3fc,_0x6c72b2._0x4aebc9)]})]}):_0xb513e1[_0x442ff6(_0x6c72b2._0x57beb1,_0x6c72b2._0x5c40db,_0x6c72b2._0x15ebc8,_0x6c72b2._0x5ddbd2)]===_0x442ff6(_0x6c72b2._0x2fef28,_0x6c72b2._0x57f73e,_0x6c72b2._0x5eac2a,_0x6c72b2._0x12e274)?_0x2916f0(_0x187bbd,{'flexDirection':_0x442ff6(_0x6c72b2._0x4838f3,_0x6c72b2._0x2b26d6,_0x6c72b2._0x4ae80c,0x12b),'children':[_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x4b8437(_0x6c72b2._0x5bb50d,_0x6c72b2._0x1eab67,_0x6c72b2._0x219651,_0x6c72b2._0x60b205)][_0x442ff6(_0x6c72b2._0x254ad7,_0x6c72b2._0x183827,0x24e,_0x6c72b2._0x203bdd)],'children':_0x4b8437(_0x6c72b2._0x1e731d,_0x6c72b2._0x1447c6,_0x6c72b2._0x40bdb3,0x4de)}),_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x442ff6(_0x6c72b2._0x1e7361,0x333,_0x6c72b2._0x597f80,_0x6c72b2._0x195f1c)][_0x442ff6(0x1ad,_0x6c72b2._0x385b31,0x29b,0x3e6)],'dimColor':!0x0,'children':_0x4b8437(0x43e,_0x6c72b2._0x2da547,0x515,_0x6c72b2._0x27c8e3)})]}):_0x2aeb69[_0x4b8437(0x4ee,0x505,0x41a,_0x6c72b2._0x2d06a0)]===0x0?_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x4b8437(0x527,_0x6c72b2._0x158431,_0x6c72b2._0x3a44f5,_0x6c72b2._0x4dd884)]['help'],'children':'No\x20tools\x20available\x20for\x20this\x20server'}):_0x9f8bbe(_0x510950,{'limit':0xa,'items':_0x2aeb69[_0x442ff6(0x14e,0x2d6,0x21e,_0x6c72b2._0x25fed1)](_0x3978fd=>({'key':_0x3978fd,'label':_0x3978fd,'value':_0x3978fd})),'itemComponent':_0x410143=>{function _0x288e42(_0x31c746,_0x265bf7,_0x1aeaf4,_0x2904f7){return _0x4b8437(_0x2904f7- -_0x36de6f._0xd5cdfa,_0x265bf7-0xab,_0x1aeaf4,_0x2904f7-0xf9);}let _0x3de232=_0x410143[_0x4278f5(_0x1e9cab._0x356a47,0x3e8,_0x1e9cab._0xe8a90f,0x2f4)],_0x47752f=_0x2aeb69['indexOf'](_0x3de232)+0x1;function _0x4278f5(_0x54189b,_0x2bbde4,_0xb0b19b,_0x55716a){return _0x442ff6(_0x54189b,_0x2bbde4-0x1a,_0x55716a-0x112,_0x55716a-0xc0);}return _0x9f8bbe(Nn,{'item':_0x3de232,'isSelected':!!_0x410143[_0x4278f5(0x348,0x20f,0x27b,_0x1e9cab._0x24bd41)],'allowed':_0x2ff6ae(_0xb513e1['id'],_0x3de232),'index':_0x47752f});},'onHighlight':_0x41bae6,'focus':_0x10ac98===_0x4b8437(0x2c8,_0x6c72b2._0x3989bf,0x262,0x43e)}):_0x9f8bbe(_0x375b9d,{'color':_0x54ee83[_0x442ff6(_0x6c72b2._0x5d18aa,0x3b3,_0x6c72b2._0x5d6f94,_0x6c72b2._0x2257c8)]['help'],'children':_0x442ff6(0x164,0xfa,0x1f9,_0x6c72b2._0x3e029b)})]})]}),_0x9f8bbe(_0x187bbd,{'marginTop':0x1,'children':_0x2916f0(_0x375b9d,{'color':_0x54ee83[_0x442ff6(0xf4,0x132,_0x6c72b2._0x38383b,_0x6c72b2._0x16bd16)][_0x442ff6(0x27d,_0x6c72b2._0xe38ba5,_0x6c72b2._0x156ee8,_0x6c72b2._0x3b746e)],'dimColor':!0x0,'children':[_0xb513e1&&_0x4b8437(0x3af,0x510,0x4b1,_0x6c72b2._0xfd5555)+_0xb513e1['id']+_0x442ff6(-0x1b8,-0x4,-0x56,-_0x6c72b2._0x3ee7f6)+_0xb513e1[_0x442ff6(0x193,-0x6e,_0x6c72b2._0x3df8e8,0xff)],_0xb513e1&&_0x4795d6['has'](_0xb513e1['id'])&&'\x20|\x20Status:\x20Disabled']})})]});},Un=Os;import{jsx as _0x4113bb}from'react/jsx-runtime';var Hs=({context:_0x416582,deactivate:_0x25f516})=>{const _0xf00127={_0x3d6370:0x45a,_0x381616:0x234,_0x497d17:0x299,_0x394c28:0x2f1,_0x311ae6:0x350,_0x1c5dda:0xb3,_0x41cc2d:0x1f8,_0x385d91:0x91,_0xbbe75e:0x207,_0xbb743b:0x471,_0x1a3118:0x552,_0x50e216:0x48c,_0x4e2859:0x222,_0x2bb5c3:0xa9,_0x1801ef:0x1c3,_0x3808fa:0x325,_0x4f257a:0x126,_0x5a37ab:0x4a2,_0xd2a433:0x568,_0x57cb45:0x52d,_0x504bc2:0x55d,_0x19ebc7:0x3df,_0x3a2aec:0x3f2,_0x32d02a:0x41e,_0x315a0f:0x3df,_0x4a7f38:0x3af,_0x169474:0x4a,_0x384fd5:0x36c,_0x278756:0x144,_0x29d410:0x1b6,_0x273093:0x2f8,_0x7fb08e:0x715,_0x51bfa7:0x459,_0x272b2a:0x12e,_0x2d4e86:0x363,_0xcb6996:0x401,_0x7e9657:0x280,_0x1c0cb6:0x500},_0x7bc1d7={_0x591d66:0x275,_0x301c5b:0x6e7,_0x4f614a:0xee,_0x1daf31:0x100,_0x54396b:0x20a,_0x44a944:0x4a4,_0x5525f2:0x563,_0xcf107f:0x5a8,_0x2967e5:0x8bd},_0x5f42b9={_0x432c56:0x17c,_0x2456e1:0x255,_0x103db7:0x4a,_0xd358dc:0x1bf,_0x2e5016:0x320,_0x179a0a:0x5b9,_0x42731e:0xe0,_0x2fa404:0x9c,_0x56b573:0x230,_0x36294a:0x178,_0x3ccd2e:0x1b5,_0x4bb0de:0x198},_0x42dd44={_0x32cb08:0x2e7,_0x674838:0x315,_0x5823e7:0x238,_0x2cde2d:0x585,_0x5dbd50:0x6fc},_0x4d9ab2={_0x4118b7:0x2c9,_0x1c1ff:0xc5},_0x20a222={_0x6bfce4:0x5ef,_0x5d4e75:0xbe,_0x4e3c62:0x9,_0x211ba3:0x1ab,_0xbccbbd:0x293,_0x4c8797:0x247,_0x28da79:0x165,_0x358623:0x201,_0x21a4cc:0x219,_0x1918c4:0x4ba,_0x121c13:0x287,_0x328b55:0x3bc,_0x5027f5:0x85,_0xdc73f9:0x236,_0x26379b:0x37f,_0x5c4c52:0x4c8,_0x123458:0x640},_0x259a7e={_0x1029f4:0x43e,_0x4be9da:0x2f3,_0x1e288b:0x37b,_0x52da2f:0xfb,_0x337d3b:0x50,_0x3572ef:0xa3,_0x42d131:0x298,_0x2b119c:0x290,_0x15e7a5:0x45e,_0x30ef01:0x5f4,_0x56e4b0:0x9f,_0x2efe1d:0x69e,_0x115eab:0x728,_0x3f4661:0x789,_0x2622fb:0x538,_0x15d746:0x481,_0x4b7d3f:0x388,_0x313390:0x351,_0x7a2e7:0x44c},_0x568dee={_0x57c8f9:0x13,_0x1aeeca:0x1be,_0x3e941e:0xaa},_0x29a978={_0x7bf546:0x13f,_0x35f959:0x532,_0x4dd260:0x535,_0x1a03df:0x6f},_0xb66f96={_0x2b6d92:0x4e},_0x32bb4f={_0x3a7a7c:0x268,_0x15ca55:0x141},_0x3b0262={_0x857aa8:0x222,_0x5a4407:0x16,_0x3d4c1a:0x57d,_0x246706:0x857,_0x291f83:0x242,_0x90e976:0x26,_0x2c4410:0x1dd,_0x241e68:0x9a},_0x4a65ed={_0x372e35:0x2c7,_0x4de106:0x72,_0x3096f6:0x5e},_0x2358f9={_0x11c2c3:0x141},_0x2dbe0d={_0x175863:0x3ca},_0x26d6fc={_0x572299:0x190,_0x67854a:0xba},_0x501e98={_0xf2d523:0x10,_0x32c782:0x265,_0x1bc3b9:0x16e,_0x3c876a:0xd4,_0x3c88d3:0x319,_0x288551:0x1b4,_0x275a83:0xfc,_0x25caf5:0x7e,_0xb81028:0x59,_0x3db4a5:0x3f,_0x123052:0x137,_0x22bd42:0xb1,_0x334235:0x1ed,_0x32e332:0x1ef,_0x297c9e:0x51,_0x3aa612:0x1e9,_0x459f34:0x11,_0x79a897:0x19a,_0x1322fe:0xa7,_0x52ed56:0x162,_0x43bcfe:0x17d,_0x1faf40:0x223,_0x300336:0x22a,_0x152c78:0x11,_0xa4ec72:0x1d4,_0x5e0f15:0x13e,_0x139d5b:0x82,_0x2cdf56:0x1e9,_0x56f70d:0x11f,_0x27fbc6:0xca,_0xf2bf5d:0x0};let {theme:_0x41759c}=_0x23be01(),[_0x5dd8c0,_0x278f19]=_0x3746a9([]),[_0x22864e,_0x2641c3]=_0x3746a9(!0x0),[_0x4a4b4a,_0x1c5d83]=_0x3746a9(null),[_0x4fcba9,_0x195a30]=_0x3746a9(null),_0x8b0743=_0x131656(()=>{function _0x1dd4eb(_0x575c21,_0x48bf89,_0x3e52d2,_0x26b747){return _0x5737(_0x26b747- -0x161,_0x48bf89);}function _0x5c7f98(_0x3225c0,_0x502b57,_0x2b23d9,_0x957afb){return _0x5737(_0x957afb- -0x25b,_0x3225c0);}try{let _0x393b4b=_0x416582[_0x5c7f98(-0x156,-_0x501e98._0xf2d523,-_0x501e98._0x32c782,-_0x501e98._0x1bc3b9)]?.[_0x1dd4eb(0x293,0x1ae,0x319,0x246)]()||[],_0x541106=_0x416582[_0x5c7f98(-_0x501e98._0x3c876a,-_0x501e98._0x3c88d3,-0x17e,-_0x501e98._0x288551)][_0x5c7f98(-0x14b,_0x501e98._0x275a83,_0x501e98._0x25caf5,-_0x501e98._0xb81028)](_0x5c7f98(-0x182,_0x501e98._0x3db4a5,-0x1f2,-_0x501e98._0x123052)),_0x5ed3b1=[],_0x2eb884=new Set();for(let _0x4b0e41 of _0x393b4b){let _0x1df526=_0x541106?.[_0x4b0e41['id']];_0x5ed3b1[_0x5c7f98(-0x1a1,-_0x501e98._0x22bd42,-_0x501e98._0x334235,-0x40)]({..._0x4b0e41,'disabled':_0x1df526?.[_0x1dd4eb(_0x501e98._0x32e332,_0x501e98._0x297c9e,0x322,_0x501e98._0x3aa612)]===!0x1}),_0x2eb884[_0x5c7f98(0x82,_0x501e98._0x459f34,_0x501e98._0x79a897,_0x501e98._0x1322fe)](_0x4b0e41['id']);}if(_0x541106){for(let [_0x327061,_0x41497b]of Object[_0x5c7f98(_0x501e98._0x52ed56,_0x501e98._0x43bcfe,_0x501e98._0x1faf40,0x168)](_0x541106))_0x2eb884[_0x5c7f98(0x20,0x28c,_0x501e98._0x300336,0x106)](_0x327061)||_0x5ed3b1['push']({'id':_0x327061,'client':null,'port':null,'exposedTools':[],'allowedTools':[],'prefix':_0x41497b[_0x5c7f98(-0x153,-0x154,-0xdd,-0xf8)]||_0x5c7f98(-_0x501e98._0x152c78,-_0x501e98._0xa4ec72,0x7f,-0x4a)+_0x327061+'_','status':_0x5c7f98(0x115,0x246,0x19a,_0x501e98._0x5e0f15),'disabled':_0x41497b[_0x1dd4eb(0xb2,0xe7,_0x501e98._0x139d5b,_0x501e98._0x2cdf56)]===!0x1});}_0x278f19(_0x5ed3b1),_0x2641c3(!0x1);}catch(_0x48317e){let _0x3f4042=_0x48317e instanceof Error?_0x48317e[_0x1dd4eb(_0x501e98._0x56f70d,_0x501e98._0x27fbc6,-0x15,_0x501e98._0xf2bf5d)]:String(_0x48317e);_0x1c5d83('Failed\x20to\x20load\x20MCP\x20servers:\x20'+_0x3f4042),_0x2641c3(!0x1);}},[_0x416582[_0x141dc8(0x3a7,_0xf00127._0x3d6370,0x53d,_0xf00127._0x381616)],_0x416582[_0x141dc8(0x361,_0xf00127._0x497d17,0x441,_0xf00127._0x394c28)]]);function _0x141dc8(_0x1d2167,_0x26932a,_0x1f404e,_0x180382){return _0x593b39(_0x1d2167-_0x26d6fc._0x572299,_0x1d2167-0x36d,_0x180382,_0x180382-_0x26d6fc._0x67854a);}_0x528efb((_0x1ba8b8,_0x4c27db)=>{const _0x558e0d={_0x2e72f5:0x183,_0x19c9dc:0x113};function _0x2532f2(_0x3a7439,_0x134000,_0x59d282,_0x1edef5){return _0x141dc8(_0x134000- -0xa6,_0x134000-_0x558e0d._0x2e72f5,_0x59d282-_0x558e0d._0x19c9dc,_0x3a7439);}_0x4c27db[_0x2532f2(0x301,0x35e,0x3dc,_0x2dbe0d._0x175863)]&&_0x25f516();},{'isActive':!0x0});let _0x514a16=_0x131656(async(_0x266beb,_0x342838)=>{let _0x3fd6dc=_0x416582[_0x227c84(-0x25d,-0x1a6,-0x30c,-0x2c9)]['get']('mcp.servers');function _0x227c84(_0x5ea06b,_0xdc7d04,_0x3be3b3,_0x21fbd3){return _0x141dc8(_0xdc7d04- -0x507,_0xdc7d04-0x4d,_0x3be3b3-_0x2358f9._0x11c2c3,_0x21fbd3);}function _0x9f00f6(_0x25537e,_0x26e433,_0x245295,_0x3d3181){return _0x530dba(_0x245295-_0x4a65ed._0x372e35,_0x26e433-_0x4a65ed._0x4de106,_0x25537e,_0x3d3181-_0x4a65ed._0x3096f6);}!_0x3fd6dc||!_0x3fd6dc[_0x266beb]||(await _0x416582[_0x227c84(-0x5a,-0x1a6,-_0x3b0262._0x857aa8,-_0x3b0262._0x5a4407)]['set'](_0x9f00f6(_0x3b0262._0x3d4c1a,_0x3b0262._0x246706,0x6c2,0x661)+_0x266beb+'.enabled',_0x342838),_0x342838||await _0x416582[_0x227c84(-_0x3b0262._0x291f83,-0x160,-_0x3b0262._0x90e976,-_0x3b0262._0x2c4410)]?.[_0x227c84(-_0x3b0262._0x241e68,-0x73,-0xbf,-0x53)](_0x266beb),_0x278f19(_0x3601a1=>_0x3601a1[_0x9f00f6(0x72a,0x5ee,0x6d3,0x82a)](_0x1c831f=>_0x1c831f['id']===_0x266beb?{..._0x1c831f,'disabled':!_0x342838,'status':_0x342838?_0x1c831f['status']:_0x227c84(-0x5a,0x14c,0x11f,0x1c)}:_0x1c831f)));},[_0x416582[_0x530dba(0x1b2,0x281,_0xf00127._0x311ae6,_0xf00127._0x1c5dda)],_0x416582[_0x530dba(_0xf00127._0x41cc2d,_0xf00127._0x385d91,0x8b,_0xf00127._0xbbe75e)]]),_0x2c8f11=_0x131656(async _0x585ecf=>{function _0x1e21c5(_0x411d94,_0x122a12,_0x295fa0,_0x528b44){return _0x141dc8(_0x122a12- -_0x32bb4f._0x3a7a7c,_0x122a12-0x11c,_0x295fa0-_0x32bb4f._0x15ca55,_0x411d94);}function _0x5dde22(_0x2528ab,_0x345b91,_0x1acde2,_0x2a8dc8){return _0x141dc8(_0x1acde2- -_0xb66f96._0x2b6d92,_0x345b91-0x1c8,_0x1acde2-0x7e,_0x2a8dc8);}if(!_0x4fcba9){_0x195a30(_0x585ecf);try{await _0x416582[_0x1e21c5(0xdc,_0x29a978._0x7bf546,0x2cb,0x26a)]?.[_0x5dde22(_0x29a978._0x35f959,0x564,_0x29a978._0x4dd260,0x490)](_0x585ecf)&&_0x8b0743();}catch(_0xd95f3c){console[_0x1e21c5(-_0x29a978._0x1a03df,0x10a,0x1dc,0x15c)]('Failed\x20to\x20reconnect\x20MCP\x20server:',_0xd95f3c);}finally{_0x195a30(null);}}},[_0x416582[_0x141dc8(0x3a7,_0xf00127._0xbb743b,_0xf00127._0x1a3118,_0xf00127._0x50e216)],_0x8b0743,_0x4fcba9]);function _0x530dba(_0x1f0c01,_0x1b6782,_0x4945f7,_0x5cabf3){return _0x593b39(_0x1f0c01-_0x568dee._0x57c8f9,_0x1f0c01-_0x568dee._0x1aeeca,_0x4945f7,_0x5cabf3-_0x568dee._0x3e941e);}return _0x1272f6(()=>{const _0x51cd93={_0x1f2e50:0xa7,_0x5638e1:0x1cb},_0x2c4e17={_0xbfb48:0x145,_0x4f739e:0x6e,_0x3929c1:0x50},_0x87a5a8={_0x2b8f84:0x310,_0xd9f509:0x2c},_0x920be9={_0x3a5905:0x2b5},_0x19af7e={_0x9c4904:0x394},_0x2471d2={_0x45a83a:0x39a};let _0x1b51b9=async _0x15c910=>{function _0x1ae254(_0xe3f57f,_0x2d6821,_0x4a1224,_0x2108f9){return _0x5737(_0x4a1224- -_0x2471d2._0x45a83a,_0xe3f57f);}function _0xdf9b11(_0x5d39ff,_0x5d17df,_0x3171d8,_0x319b29){return _0x5737(_0x319b29-_0x19af7e._0x9c4904,_0x5d39ff);}try{let _0x2bff5f=_0x416582[_0x1ae254(-0x179,-_0x259a7e._0x1029f4,-_0x259a7e._0x4be9da,-_0x259a7e._0x1e288b)][_0x1ae254(-0x256,-0x18,-0x198,-0x102)](_0x1ae254(_0x259a7e._0x52da2f,_0x259a7e._0x337d3b,-_0x259a7e._0x3572ef,-0x246))||{},_0x496958=_0x15c910['serverId'];_0x2bff5f[_0x496958]||(_0x2bff5f[_0x496958]={}),_0x2bff5f[_0x496958][_0x15c910[_0x1ae254(-0x27b,-0x2b8,-_0x259a7e._0x42d131,-_0x259a7e._0x2b119c)]]=_0x15c910[_0xdf9b11(_0x259a7e._0x15e7a5,0x3aa,_0x259a7e._0x30ef01,0x46b)],await _0x416582[_0x1ae254(-0x489,-0x1a5,-0x2f3,-0x2e6)][_0x1ae254(-0xba,-0x90,-0x80,-_0x259a7e._0x56e4b0)](_0xdf9b11(_0x259a7e._0x2efe1d,_0x259a7e._0x115eab,_0x259a7e._0x3f4661,0x68b),_0x2bff5f),await _0x416582[_0xdf9b11(0x34d,0x558,_0x259a7e._0x2622fb,_0x259a7e._0x15d746)]?.[_0x1ae254(-0x316,-_0x259a7e._0x4b7d3f,-0x293,-0x158)](_0x2bff5f);}catch(_0x3c9269){console[_0xdf9b11(0x2d1,_0x259a7e._0x313390,0x50c,_0x259a7e._0x7a2e7)]('Failed\x20to\x20save\x20MCP\x20tool\x20permission:',_0x3c9269);}},_0x2f3a4b=async _0x5ae460=>{const _0x15a3e2={_0x377516:0x2ee};function _0x1804a8(_0x170c19,_0x320a70,_0x49d641,_0x408429){return _0x5737(_0x320a70- -_0x15a3e2._0x377516,_0x49d641);}function _0x34d96b(_0x527739,_0x21f1c7,_0x583f98,_0x16afdc){return _0x5737(_0x16afdc-_0x920be9._0x3a5905,_0x21f1c7);}try{await _0x416582[_0x34d96b(0x4ec,0x2ef,0x41a,0x35c)][_0x34d96b(0x4af,_0x20a222._0x6bfce4,0x43b,0x5cf)](_0x1804a8(-_0x20a222._0x5d4e75,_0x20a222._0x4e3c62,-0x1a3,_0x20a222._0x211ba3),_0x5ae460[_0x1804a8(-_0x20a222._0xbccbbd,-_0x20a222._0x4c8797,-_0x20a222._0x28da79,-0x3f3)]),await _0x416582[_0x1804a8(-0xca,-_0x20a222._0x358623,-_0x20a222._0x21a4cc,-0x23c)]?.[_0x34d96b(0x40a,_0x20a222._0x1918c4,_0x20a222._0x121c13,_0x20a222._0x328b55)]?.(_0x5ae460['config']);}catch(_0x5727d9){console[_0x1804a8(-_0x20a222._0x5027f5,-_0x20a222._0xdc73f9,-_0x20a222._0x26379b,-0x39b)](_0x34d96b(0x7a2,0x5a7,_0x20a222._0x5c4c52,_0x20a222._0x123458),_0x5727d9);}},_0x3eaffe=()=>{_0x8b0743();};function _0x3cb8de(_0x56594d,_0x4b7bb1,_0x5dd7df,_0x5e7be9){return _0x530dba(_0x56594d- -_0x87a5a8._0x2b8f84,_0x4b7bb1-_0x87a5a8._0xd9f509,_0x4b7bb1,_0x5e7be9-0xbf);}_0x416582['eventBus']['on'](_0x3cb8de(0x133,0x215,_0x7bc1d7._0x591d66,0x23c),_0x1b51b9),_0x416582['eventBus']['on'](_0x27dd73(0x619,0x5b3,_0x7bc1d7._0x301c5b,0x747),_0x2f3a4b),_0x416582[_0x3cb8de(-_0x7bc1d7._0x4f614a,-0x56,-_0x7bc1d7._0x1daf31,-_0x7bc1d7._0x54396b)]['on'](_0x27dd73(0x4eb,0x4d3,0x5d2,0x4cf),_0x3eaffe),_0x8b0743();let _0x3860d3=null;function _0x27dd73(_0x5da1a2,_0x2e247d,_0x528da8,_0x69e4bf){return _0x530dba(_0x69e4bf-_0x4d9ab2._0x4118b7,_0x2e247d-_0x4d9ab2._0x1c1ff,_0x5da1a2,_0x69e4bf-0x136);}return(_0x416582[_0x27dd73(_0x7bc1d7._0x44a944,_0x7bc1d7._0x5525f2,_0x7bc1d7._0xcf107f,0x4c1)]?.['getMCPServers']()||[])[_0x27dd73(0x784,0x6b6,_0x7bc1d7._0x2967e5,0x75e)](_0x53aefa=>_0x53aefa['status']==='pending')&&!_0x3860d3&&(_0x3860d3=setInterval(()=>{const _0x5f2485={_0x4e7c6c:0x152,_0x157af9:0xe7};function _0x33cf1d(_0x919277,_0x1d5e85,_0x5e1e19,_0x3a84d2){return _0x27dd73(_0x919277,_0x1d5e85-_0x5f2485._0x4e7c6c,_0x5e1e19-_0x5f2485._0x157af9,_0x3a84d2- -0x173);}function _0x2c5ae1(_0x22c02f,_0x1498d7,_0xb9663,_0x15c734){return _0x3cb8de(_0x22c02f-_0x2c4e17._0xbfb48,_0x1498d7,_0xb9663-_0x2c4e17._0x4f739e,_0x15c734-_0x2c4e17._0x3929c1);}_0x8b0743(),!(_0x416582['orchestratorManager']?.[_0x2c5ae1(_0x42dd44._0x32cb08,_0x42dd44._0x674838,_0x42dd44._0x5823e7,0x160)]()||[])[_0x33cf1d(_0x42dd44._0x2cde2d,0x4bb,_0x42dd44._0x5dbd50,0x5eb)](_0x2a2506=>_0x2a2506['status']===_0x2c5ae1(0x2d9,0x13b,0x127,0x430))&&_0x3860d3&&(clearInterval(_0x3860d3),_0x3860d3=null);},0x7d0)),()=>{const _0x329855={_0x383a3d:0xce};function _0x5d9ebb(_0x390cfc,_0x56a10a,_0x42009b,_0x4dbe47){return _0x27dd73(_0x42009b,_0x56a10a-_0x51cd93._0x1f2e50,_0x42009b-0x120,_0x56a10a- -_0x51cd93._0x5638e1);}function _0x389b37(_0x134177,_0x5396e3,_0x41ab18,_0xd0ee68){return _0x3cb8de(_0x134177- -0x8e,_0x41ab18,_0x41ab18-0xfe,_0xd0ee68-_0x329855._0x383a3d);}_0x416582[_0x389b37(-_0x5f42b9._0x432c56,-_0x5f42b9._0x2456e1,-0x1ff,-0x1f)][_0x389b37(0xc,-_0x5f42b9._0x103db7,-0x1e,-0xd5)]('ui:mcp:toolPermissionChanged',_0x1b51b9),_0x416582[_0x5d9ebb(_0x5f42b9._0xd358dc,_0x5f42b9._0x2e5016,0x397,0x257)][_0x5d9ebb(0x440,0x4a8,0x483,_0x5f42b9._0x179a0a)](_0x389b37(_0x5f42b9._0x42731e,0x84,_0x5f42b9._0x2fa404,_0x5f42b9._0x56b573),_0x2f3a4b),_0x416582['eventBus'][_0x389b37(0xc,_0x5f42b9._0x36294a,-0x15f,_0x5f42b9._0x3ccd2e)](_0x389b37(-_0x5f42b9._0x4bb0de,-0x2d0,-0x2eb,-0x1b0),_0x3eaffe),_0x3860d3&&clearInterval(_0x3860d3);};},[_0x416582[_0x530dba(_0xf00127._0x4e2859,_0xf00127._0x2bb5c3,_0xf00127._0x1801ef,0x20d)],_0x416582[_0x141dc8(0x361,0x220,_0xf00127._0x3808fa,0x4ba)],_0x416582[_0x530dba(_0xf00127._0x41cc2d,0x197,0x369,_0xf00127._0x4f257a)],_0x8b0743]),_0x22864e?_0x4113bb(_0x32a44e,{'visible':!0x0,'title':_0x141dc8(_0xf00127._0x5a37ab,_0xf00127._0xd2a433,_0xf00127._0x57cb45,_0xf00127._0x504bc2),'onClose':_0x25f516,'closeOnEscape':!0x0,'children':_0x4113bb(_0x454f7c,{'color':_0x41759c[_0x530dba(_0xf00127._0x19ebc7,0x48c,0x4b0,0x541)]['warning'],'children':_0x141dc8(0x593,_0xf00127._0x3a2aec,0x4ef,_0xf00127._0x32d02a)})}):_0x4a4b4a?_0x4113bb(_0x32a44e,{'visible':!0x0,'title':'MCP\x20Server\x20Configuration','titleColor':_0x41759c[_0x530dba(_0xf00127._0x315a0f,_0xf00127._0x4a7f38,0x2e6,0x487)][_0x530dba(0x1c3,_0xf00127._0x169474,_0xf00127._0x384fd5,_0xf00127._0x278756)],'type':_0x530dba(0x1c3,_0xf00127._0x29d410,0x2a,_0xf00127._0x273093),'onClose':_0x25f516,'closeOnEscape':!0x0,'children':_0x4113bb(_0x454f7c,{'color':_0x41759c[_0x141dc8(0x58e,_0xf00127._0x7fb08e,0x6ea,_0xf00127._0x51bfa7)][_0x530dba(0x1c3,0x194,0x8f,_0xf00127._0x272b2a)],'children':_0x4a4b4a})}):_0x4113bb(Un,{'visible':!0x0,'servers':_0x5dd8c0,'allowedToolsConfig':_0x416582[_0x530dba(0x1b2,_0xf00127._0x2d4e86,0x1e2,0x40)][_0x530dba(0x30d,0x1f6,_0xf00127._0xcb6996,0x2e8)](_0x530dba(0x402,_0xf00127._0x7e9657,0x509,_0xf00127._0x1c0cb6))||{},'onClose':_0x25f516,'onServerToggle':_0x514a16,'onServerReconnect':_0x2c8f11,'reconnectingServerId':_0x4fcba9});};function Vn(_0x2a2186){const _0x1fc2ec={_0x2dd0ba:0x4d9,_0x5a7fd7:0x398,_0x553d47:0x159,_0xbf20ca:0x15f,_0x575858:0x40,_0x380f5d:0x1ba,_0x430896:0x1cc},_0xe94c91={_0x1e58c2:0x192},_0x361053={_0x4a9927:0x88,_0x4af4ea:0x3ec};function _0x48b70a(_0x4934f3,_0x45abdb,_0x327688,_0x3779f7){return _0x593b39(_0x4934f3-_0x361053._0x4a9927,_0x3779f7-_0x361053._0x4af4ea,_0x4934f3,_0x3779f7-0x6f);}function _0x38296c(_0x4fcb5a,_0x440ce9,_0x3e310d,_0x37650d){return _0x593b39(_0x4fcb5a-_0xe94c91._0x1e58c2,_0x440ce9-0x151,_0x37650d,_0x37650d-0x1f3);}_0x2a2186[_0x38296c(_0x1fc2ec._0x2dd0ba,0x3c2,0x369,_0x1fc2ec._0x5a7fd7)]({'id':_0x38296c(0x123,_0x1fc2ec._0x553d47,_0x1fc2ec._0xbf20ca,_0x1fc2ec._0x575858),'type':'component','description':_0x38296c(0x210,0x1d7,_0x1fc2ec._0x380f5d,_0x1fc2ec._0x430896),'category':'config','component':Hs});}import{useCallback as _0x584f4e,useEffect as _0x5cfeac,useState as _0x345080}from'react';import{Text as _0x573391}from'ink';import{useCallback as _0x5bc1c1}from'react';import{Box as _0x47093d,Text as _0x1edc8e}from'ink';import{useState as _0x3caa51,useEffect as _0x5b4a2c}from'react';var jn=(_0x13fc42,_0x21a2c5={},_0x4eaa80)=>{const _0x4ac66a={_0x5a1903:0x42,_0x441a65:0x122,_0x1265e4:0x124,_0x5e6430:0x686,_0x1c7602:0x58d,_0x580680:0x688,_0x3bdcbc:0x1b8,_0x37bfd9:0x1c3,_0x4eae8b:0x8c},_0x31989d={_0x2d4064:0x724,_0x1c3e7d:0x789,_0x39af7d:0x696},_0x529eab={_0x54b704:0xf3,_0x25569c:0xd0},_0x7cc864={_0x4451ee:0x200,_0x563477:0x18f,_0x5895dc:0x15d,_0x2c7a01:0x5f9,_0x475941:0x40d,_0x3fad38:0x479,_0x32ff59:0x4d4,_0x2e5385:0x1e,_0x75d07f:0xc3},_0x220e39={_0x154e23:0x187},_0x2827d0={_0x877d52:0x4f7,_0x39813a:0x1dd,_0x578506:0x1f4},_0x27fcd4={_0x5f5169:0x257,_0xbc4830:0x170,_0x3b4af5:0x17f},_0x48cf12={_0x4ff63b:0x8f,_0x417158:0x146};let [_0x4d7016,_0xdaedc]=_0x3caa51(()=>_0x4eaa80!==void 0x0&&_0x4eaa80>=0x0&&_0x4eaa80<_0x13fc42['length']?_0x4eaa80:0x0),[_0x238969,_0x1a7faa]=_0x3caa51(_0xcf0653(_0x4ac66a._0x5a1903,-_0x4ac66a._0x441a65,_0x4ac66a._0x1265e4,0x88)),[_0xf28a90,_0x66a90f]=_0x3caa51(()=>({..._0x21a2c5}));function _0xcf0653(_0x490f12,_0x5ac69d,_0x19bc5a,_0x542ef1){return _0x593b39(_0x490f12-_0x48cf12._0x4ff63b,_0x542ef1- -0x1aa,_0x19bc5a,_0x542ef1-_0x48cf12._0x417158);}_0x5b4a2c(()=>{_0x66a90f({..._0x21a2c5});},[_0x21a2c5]),_0x5b4a2c(()=>{function _0x567c4b(_0x2fcc85,_0x29809d,_0x3c38ac,_0x53fb8){return _0xcf0653(_0x2fcc85-0x91,_0x29809d-0x1da,_0x53fb8,_0x2fcc85-0x10b);}_0x4eaa80!==void 0x0&&_0x4eaa80>=0x0&&_0x4eaa80<_0x13fc42[_0x567c4b(0x197,_0x27fcd4._0x5f5169,_0x27fcd4._0xbc4830,_0x27fcd4._0x3b4af5)]&&_0xdaedc(_0x4eaa80);},[_0x4eaa80,_0x13fc42[_0x38f3e0(_0x4ac66a._0x5e6430,0x5af,_0x4ac66a._0x1c7602,_0x4ac66a._0x580680)]]),_0x5b4a2c(()=>{function _0x4bf296(_0x108283,_0x37f8a4,_0x5e686d,_0x775a08){return _0x38f3e0(_0x5e686d- -_0x2827d0._0x877d52,_0x108283,_0x5e686d-_0x2827d0._0x39813a,_0x775a08-_0x2827d0._0x578506);}function _0x229043(_0x1a013d,_0x3030f2,_0x268c95,_0x3bb7a1){return _0xcf0653(_0x1a013d-0x1c6,_0x3030f2-_0x220e39._0x154e23,_0x1a013d,_0x268c95-0x47b);}_0x13fc42[_0x4bf296(0x14,_0x7cc864._0x4451ee,_0x7cc864._0x563477,_0x7cc864._0x5895dc)]===0x0?(_0xdaedc(0x0),_0x1a7faa(_0x229043(_0x7cc864._0x2c7a01,_0x7cc864._0x475941,0x503,0x4a2))):_0x4d7016>=_0x13fc42['length']&&_0xdaedc(Math[_0x229043(_0x7cc864._0x3fad38,0x406,0x5af,_0x7cc864._0x32ff59)](0x0,_0x13fc42[_0x4bf296(-_0x7cc864._0x2e5385,_0x7cc864._0x75d07f,0x18f,0x20)]-0x1));},[_0x13fc42[_0xcf0653(0x213,_0x4ac66a._0x3bdcbc,_0x4ac66a._0x37bfd9,_0x4ac66a._0x4eae8b)],_0x4d7016]);function _0x38f3e0(_0x2e721d,_0x5b853e,_0x1d4f16,_0x3b5e79){return _0x593b39(_0x2e721d-0x5f,_0x2e721d-0x450,_0x5b853e,_0x3b5e79-0xdb);}let _0x49e2bb=_0x42d816=>{let _0x5151ac={..._0xf28a90},_0x321316=_0x5151ac[_0x42d816];_0x5151ac[_0x42d816]=_0x321316===!0x1,_0x66a90f(_0x5151ac);},_0x265f6b=_0x1fd22d=>{let _0x406ff1={..._0xf28a90};return _0x1fd22d['forEach'](_0x41c333=>{const _0x4c90fd={_0x312371:0x305};function _0x27c8d2(_0x3a7663,_0xa09173,_0xb24892,_0x40181c){return _0x5737(_0x3a7663- -_0x4c90fd._0x312371,_0xa09173);}_0x406ff1[_0x41c333[_0x27c8d2(0x4c,_0x529eab._0x54b704,-_0x529eab._0x25569c,0x1e5)]]=!0x0;}),_0x66a90f(_0x406ff1),_0x406ff1;},_0x47e8fc=_0x517d17=>{const _0x1f5e17={_0x332d8f:0x3d3};let _0x382a7a={..._0xf28a90};return _0x517d17['forEach'](_0x4208d5=>{function _0x53221e(_0x5dac6c,_0x2203b1,_0x42a82f,_0x1c0fb2){return _0x5737(_0x2203b1-_0x1f5e17._0x332d8f,_0x1c0fb2);}_0x382a7a[_0x4208d5[_0x53221e(0x863,_0x31989d._0x2d4064,_0x31989d._0x1c3e7d,_0x31989d._0x39af7d)]]=!0x1;}),_0x66a90f(_0x382a7a),_0x382a7a;},_0x57a218=_0x3ed87b=>{let _0x53b1c0={..._0xf28a90};delete _0x53b1c0[_0x3ed87b],_0x66a90f(_0x53b1c0);},_0x1c6bd3=_0x2619ef=>_0xf28a90[_0x2619ef]!==!0x1;return{'selectedAgentIndex':_0x4d7016,'focusPanel':_0x238969,'localEnabledAgents':_0xf28a90,'setSelectedAgentIndex':_0xdaedc,'setFocusPanel':_0x1a7faa,'setLocalEnabledAgents':_0x66a90f,'toggleAgent':_0x49e2bb,'enableAllAgents':_0x265f6b,'disableAllAgents':_0x47e8fc,'removeAgent':_0x57a218,'isAgentEnabled':_0x1c6bd3,'getEnabledCount':_0x17e57c=>_0x17e57c[_0x38f3e0(0x651,0x6b9,0x579,0x5b7)](_0x56cdb8=>_0x1c6bd3(_0x56cdb8['name']))['length']};};import{useMemo as _0x23f2c6,useCallback as _0x2c8852}from'react';import{Box as _0x3ef073,Text as _0xda589}from'ink';import{jsx as _0x4ceee2,jsxs as _0x3bdc4c}from'react/jsx-runtime';var jo=({agents:_0x3e19f6,isAgentEnabled:_0x1cc0e2,onAgentSelect:_0x4d6e6c,onToggle:_0x171865,onEdit:_0x6d0b4a,onNew:_0x4c9421,focus:_0x724691=!0x0,showStatus:_0x142da2=!0x0})=>{const _0x345a5e={_0x321987:0x8e,_0x1b4258:0xa4,_0xe8dd6a:0x39,_0x4bb676:0xa7,_0x59cf74:0x2e,_0x33ee5c:0x3d,_0x2cc1da:0x22,_0x21823c:0xa2,_0x1e417f:0x96,_0x3fb9b2:0x248,_0x8c7fe0:0x2a,_0x3d91c1:0x179,_0x1be34c:0x204,_0x59a6bb:0x5e,_0x1d27e0:0x131},_0x26bda2={_0x75594c:0x714},_0x4b077c={_0x49625c:0x660,_0x129a7a:0x137,_0x32b929:0x10b},_0x3672a5={_0x364332:0x3b,_0x16e76a:0x1dd},_0x26ac75={_0x575de5:0x513,_0x109698:0x5f9,_0x18fd69:0x4e2},_0x13a160={_0x28d5a9:0x407,_0x3774b9:0x1d3},_0x29d833={_0x2796c8:0x3d,_0x2f22a4:0x1a},_0x543f27={_0x20370c:0x8cf,_0x3f39e1:0x767,_0x1bca1d:0x52c,_0x5dc388:0x41e,_0x4dc676:0x87b,_0x2b2bd0:0x51c,_0x493922:0x6ef,_0x4ace3a:0x6c2,_0x3964ba:0x7a6,_0x28599d:0x5ab,_0x4f084a:0x356,_0xf00b34:0x3e8,_0x2b5d2a:0x510,_0x2add84:0x41c,_0x32a118:0x639,_0x502cee:0x618,_0x1a3432:0x6bb,_0x220ea8:0x7b6,_0x2191d0:0x55d,_0x252cd4:0x482,_0x58c913:0x5c9,_0x251f32:0x406,_0x3812d0:0x56c,_0x523f8d:0x55f,_0x397e92:0x36c,_0x54903a:0x720,_0x3df667:0x6f2,_0x15a70a:0x5b0,_0xd7a372:0x43d,_0x1ae961:0x720,_0x45c736:0x817,_0x592cc0:0x76b,_0xe25520:0x50f,_0x52e620:0x653,_0x252975:0x5c7,_0x759331:0x55b,_0x213a1c:0x4c6,_0x396189:0x45c,_0x2491f2:0x22b,_0x48985d:0x22d,_0x36b2fb:0x485,_0x19de76:0x3c5,_0x4abdf9:0x3f6,_0x43ca0d:0x63e,_0x2d27d3:0x59b,_0x143c08:0x6dd,_0x335967:0x3c1,_0x8f351d:0x3ce,_0x1b64eb:0x739,_0xf66a6f:0x484,_0x9dd433:0x636,_0x927f6a:0x516,_0x343df7:0x480,_0x3a150e:0x6ed,_0x45a917:0x3a4,_0x420717:0x662,_0x228bae:0x635,_0x321acf:0x54d,_0x597825:0x837,_0x3f8765:0x591,_0x14db82:0x58f,_0x3cbd2f:0x862,_0x5ed260:0x47f,_0x166615:0x3ca,_0x5abeb5:0x22b,_0x14771c:0x5bb,_0x5a2cf7:0x58d,_0x167a44:0x410,_0x3c5cdb:0x505,_0x21190e:0x489,_0x2fa3ad:0x4af,_0x34e514:0x386,_0x58ca7b:0x4c1,_0x244aec:0x3ca,_0x54e88c:0x345,_0x3cf3f3:0x601,_0x400d91:0x4af,_0x19314a:0x402,_0x5dedd4:0x3f7,_0x229298:0x385,_0x24806b:0x447,_0x5c3aa3:0x3d4,_0x208def:0x4c5,_0xf85a12:0x5e2,_0x40ba32:0x4e7,_0x5bf423:0x630,_0x4639a1:0x6d0,_0x14c165:0x522,_0x357fe2:0x560,_0x56df53:0x4d5,_0x332317:0x49b,_0x22dd54:0x3c0,_0x58ba58:0x39b,_0x434648:0x664,_0x2384ea:0x61a,_0x228f7e:0x5d8,_0x884f45:0x685,_0x572b81:0x32b,_0x20a509:0x38b,_0xb166c9:0x15c,_0x34e889:0x3eb,_0x491786:0x2d1,_0x49fb65:0x48c,_0x1394cf:0x359,_0x3eeaa5:0x5dc,_0xffcbaf:0x40b,_0x923bc0:0x6a1,_0x172cbd:0x5af},_0x1282c6={_0x58b2d3:0x8c,_0x1afd8e:0x237};function _0x219573(_0x58afc2,_0x3b6a08,_0xbd63bc,_0x5903f6){return _0x593b39(_0x58afc2-_0x1282c6._0x58b2d3,_0x58afc2- -_0x1282c6._0x1afd8e,_0x5903f6,_0x5903f6-0x98);}function _0x4271d8(_0x1e49da,_0x4b1231,_0x11f493,_0x314874){return _0x40e58d(_0x11f493,_0x4b1231-0x1af,_0x4b1231-0x22f,_0x314874-0x13a);}let {theme:_0x457c28}=_0x23be01(),_0x25e5f3=()=>_0x3e19f6[_0x219573(-0x36,0x124,0x8b,-0x19e)](_0x367bac=>_0x1cc0e2(_0x367bac[_0x4271d8(0x54a,0x5c9,0x6cd,0x5ee)]))[_0x4271d8(0x6cc,0x561,0x546,0x3be)],_0x335746=_0x23f2c6(()=>_0x3e19f6[_0x4271d8(0x57d,0x579,0x527,0x45b)](_0x1725dd=>({'label':_0x1725dd[_0x219573(0x67,0x1c4,-0xaf,0xd4)],'value':_0x1725dd[_0x4271d8(0x523,0x5c9,0x4e1,0x60e)]})),[_0x3e19f6]),_0x197d8a=_0x2c8852((_0x204d51,_0x4d963d)=>{const _0x3d5852={_0x2b58b7:0xf1},_0x1463d8={_0x2d274e:0x68a,_0x4ec1b2:0x98};let _0x5cca57=_0x3e19f6[_0x2b5dd2(0x74a,0x8ea,_0x543f27._0x20370c,_0x543f27._0x3f39e1)](_0x1f6cad=>_0x1f6cad['name']===_0x204d51[_0x2b5dd2(0x665,0x6f0,0x5f6,0x65e)]);function _0x2b5dd2(_0x25d3ba,_0x380d74,_0x2b0062,_0x4e7533){return _0x219573(_0x25d3ba-_0x1463d8._0x2d274e,_0x380d74-0x1ec,_0x2b0062-_0x1463d8._0x4ec1b2,_0x4e7533);}if(!_0x5cca57)return null;let _0x526945=_0x1cc0e2(_0x5cca57[_0x496304(0x6a4,0x690,_0x543f27._0x1bca1d,_0x543f27._0x5dc388)]),_0xc9bdb5=_0x142da2?_0x526945?_0x457c28[_0x2b5dd2(0x720,_0x543f27._0x4dc676,0x578,0x7fa)][_0x2b5dd2(0x5c4,0x73f,0x6bc,0x49f)]:_0x457c28[_0x496304(0x4d7,_0x543f27._0x2b2bd0,0x55b,0x659)][_0x2b5dd2(_0x543f27._0x493922,0x5c9,0x843,_0x543f27._0x4ace3a)]:_0x457c28[_0x2b5dd2(0x720,_0x543f27._0x3964ba,0x6a4,_0x543f27._0x28599d)]['green'],_0x10decd=_0x142da2?_0x526945?'✓':'✗':'✓',_0x2f0ffc=_0x457c28['colors'][_0x496304(_0x543f27._0x4f084a,0x4cc,0x3fb,_0x543f27._0xf00b34)],_0x3e377a=_0x5cca57[_0x2b5dd2(_0x543f27._0x2b5d2a,_0x543f27._0x2add84,0x4df,0x5de)],_0x7669f0=_0x5cca57[_0x2b5dd2(_0x543f27._0x32a118,0x711,0x662,_0x543f27._0x502cee)]||(_0x3e377a?_0x2b5dd2(_0x543f27._0x1a3432,0x74a,_0x543f27._0x220ea8,_0x543f27._0x2191d0):_0x2b5dd2(0x4fa,_0x543f27._0x252cd4,0x598,_0x543f27._0x58c913)),_0x3b0a0a=_0x5cca57[_0x496304(0x3f2,_0x543f27._0x251f32,0x52c,_0x543f27._0x3812d0)]==='nuvin',_0x5423e9=_0x7669f0===_0x496304(_0x543f27._0x523f8d,_0x543f27._0x397e92,0x4f6,0x5d8)?_0x457c28[_0x2b5dd2(_0x543f27._0x54903a,0x588,_0x543f27._0x3df667,0x5b4)][_0x496304(0x446,_0x543f27._0x15a70a,_0x543f27._0xd7a372,0x32b)]:_0x7669f0==='global'?_0x457c28[_0x2b5dd2(_0x543f27._0x1ae961,0x633,_0x543f27._0x45c736,_0x543f27._0x592cc0)][_0x496304(_0x543f27._0xe25520,0x437,0x573,_0x543f27._0x52e620)]:_0x457c28[_0x496304(_0x543f27._0x252975,0x44f,_0x543f27._0x759331,_0x543f27._0x213a1c)]['cyan'],_0x7f757a=[];function _0x496304(_0x5af22d,_0x16819a,_0x446412,_0x243727){return _0x4271d8(_0x5af22d-0x51,_0x446412- -0x9d,_0x16819a,_0x243727-_0x3d5852._0x2b58b7);}return _0x5cca57[_0x496304(_0x543f27._0x396189,_0x543f27._0x2491f2,0x3c2,_0x543f27._0x48985d)]&&_0x7f757a[_0x496304(_0x543f27._0x36b2fb,_0x543f27._0x19de76,_0x543f27._0x4abdf9,0x58c)](_0x3bdc4c(_0xda589,{'children':[_0x4ceee2(_0xda589,{'dimColor':!0x0,'children':_0x496304(_0x543f27._0x43ca0d,0x660,0x526,_0x543f27._0x2d27d3)}),_0x4ceee2(_0xda589,{'color':_0x457c28[_0x2b5dd2(0x674,0x719,0x6a6,_0x543f27._0x143c08)][_0x496304(_0x543f27._0x335967,0x425,_0x543f27._0x8f351d,0x427)],'children':_0x5cca57['max_tokens']})]},_0x2b5dd2(0x587,0x447,_0x543f27._0x1b64eb,_0x543f27._0xf66a6f))),_0x5cca57[_0x496304(_0x543f27._0x9dd433,0x699,_0x543f27._0x927f6a,0x4b9)]!==void 0x0&&_0x7f757a[_0x2b5dd2(0x5bb,0x6f6,_0x543f27._0x343df7,_0x543f27._0x3a150e)](_0x3bdc4c(_0xda589,{'children':[_0x4ceee2(_0xda589,{'dimColor':!0x0,'children':_0x496304(_0x543f27._0x45a917,0x513,0x3f4,0x3a0)}),_0x4ceee2(_0xda589,{'color':_0x457c28[_0x496304(0x471,_0x543f27._0x420717,0x4af,0x53f)][_0x2b5dd2(0x593,_0x543f27._0x228bae,_0x543f27._0x321acf,0x476)],'children':_0x5cca57[_0x2b5dd2(0x6db,_0x543f27._0x597825,0x6c6,0x648)]})]},_0x2b5dd2(0x6db,_0x543f27._0x3f8765,_0x543f27._0x14db82,_0x543f27._0x3cbd2f))),_0x5cca57[_0x496304(0x296,_0x543f27._0x5ed260,_0x543f27._0x166615,_0x543f27._0x5abeb5)]!==void 0x0&&_0x7f757a[_0x2b5dd2(_0x543f27._0x14771c,_0x543f27._0x5a2cf7,0x595,0x5f7)](_0x3bdc4c(_0xda589,{'children':[_0x4ceee2(_0xda589,{'dimColor':!0x0,'children':_0x2b5dd2(0x552,0x542,0x438,_0x543f27._0x167a44)}),_0x4ceee2(_0xda589,{'color':_0x457c28[_0x496304(_0x543f27._0x3c5cdb,_0x543f27._0x21190e,_0x543f27._0x2fa3ad,0x31d)]['text'],'children':_0x5cca57[_0x496304(_0x543f27._0x34e514,_0x543f27._0x58ca7b,_0x543f27._0x244aec,_0x543f27._0x54e88c)]})]},'top_p')),_0x3bdc4c(_0x3ef073,{'flexDirection':'column','children':[_0x3bdc4c(_0x3ef073,{'children':[_0x4ceee2(_0xda589,{'color':_0xc9bdb5,'bold':!0x0,'children':_0x10decd}),_0x4ceee2(_0xda589,{'children':'\x20'}),_0x4ceee2(_0xda589,{'color':_0x4d963d?_0x2f0ffc:void 0x0,'children':_0x4d963d?'›\x20':'\x20\x20'}),_0x4ceee2(_0xda589,{'color':_0x4d963d?_0x2f0ffc:_0x457c28[_0x496304(_0x543f27._0x3cf3f3,0x3dd,_0x543f27._0x400d91,_0x543f27._0x19314a)][_0x496304(_0x543f27._0x5dedd4,_0x543f27._0x229298,_0x543f27._0x8f351d,_0x543f27._0x24806b)],'bold':_0x4d963d,'children':_0x5cca57[_0x496304(_0x543f27._0x5c3aa3,_0x543f27._0x208def,0x52c,_0x543f27._0xf85a12)]}),_0x4ceee2(_0xda589,{'dimColor':!0x0,'children':'\x20'}),_0x3b0a0a?_0x4ceee2(_0xda589,{'color':_0x457c28[_0x496304(0x657,_0x543f27._0x40ba32,0x55b,_0x543f27._0x5bf423)][_0x2b5dd2(0x6f7,_0x543f27._0x28599d,0x7e4,0x85d)],'bold':!0x0,'children':_0x2b5dd2(_0x543f27._0x4639a1,0x57f,_0x543f27._0x14c165,_0x543f27._0x357fe2)}):_0x3bdc4c(_0xda589,{'color':_0x5423e9,'dimColor':!0x0,'children':['[',_0x7669f0,']']})]}),_0x4d963d&&_0x3bdc4c(_0x3ef073,{'flexDirection':_0x496304(_0x543f27._0x56df53,0x5bc,_0x543f27._0x332317,0x510),'children':[_0x5cca57[_0x496304(_0x543f27._0x22dd54,_0x543f27._0x58ba58,0x2d1,0x1d7)]&&_0x4ceee2(_0x3ef073,{'marginLeft':0x4,'borderStyle':_0x2b5dd2(_0x543f27._0x434648,_0x543f27._0x2384ea,_0x543f27._0x228f7e,0x6b0),'borderTop':!0x1,'borderBottom':!0x1,'borderRight':!0x1,'borderLeft':!0x0,'borderDimColor':!0x0,'paddingX':0x1,'height':0x2,'overflow':_0x2b5dd2(0x65c,_0x543f27._0x884f45,0x4ae,0x5f3),'children':_0x4ceee2(_0xda589,{'dimColor':!0x0,'wrap':_0x496304(_0x543f27._0x572b81,_0x543f27._0x20a509,0x26e,_0x543f27._0xb166c9),'children':_0x5cca57[_0x496304(0x184,_0x543f27._0x34e889,_0x543f27._0x491786,0x35b)]})}),_0x3bdc4c(_0x3ef073,{'marginLeft':0x4,'children':[_0x3bdc4c(_0xda589,{'dimColor':!0x0,'wrap':_0x2b5dd2(0x433,0x46c,_0x543f27._0x49fb65,_0x543f27._0x1394cf),'children':['└─','\x20']}),_0x7f757a[_0x496304(_0x543f27._0x3eeaa5,_0x543f27._0xffcbaf,0x4c4,0x614)]>0x0&&_0x7f757a[_0x2b5dd2(_0x543f27._0x923bc0,0x853,_0x543f27._0x3f39e1,_0x543f27._0x172cbd)]((_0x3778d1,_0x43ebb5)=>_0x3bdc4c(_0xda589,{'children':[_0x3778d1,_0x43ebb5<_0x7f757a['length']-0x1&&_0x4ceee2(_0xda589,{'dimColor':!0x0,'children':'\x20-\x20'})]},_0x43ebb5))]})]})]});},[_0x3e19f6,_0x1cc0e2,_0x457c28,_0x142da2]),_0x4e9f45=_0x2c8852(_0x1a1975=>{let _0x6e8120=_0x3e19f6[_0x3e5f50(0x4c7,_0x26ac75._0x575de5,_0x26ac75._0x109698,_0x26ac75._0x18fd69)](_0x351eff=>_0x351eff[_0x3e5f50(0x46e,0x353,0x31a,0x462)]===_0x1a1975[_0x3d1051(0x509,0x67f,0x696,0x500)]);function _0x3d1051(_0x5168b6,_0x537be0,_0x279ff8,_0x2798a6){return _0x4271d8(_0x5168b6-0xad,_0x2798a6- -_0x29d833._0x2796c8,_0x279ff8,_0x2798a6-_0x29d833._0x2f22a4);}function _0x3e5f50(_0x11eef2,_0x2d1767,_0x362978,_0x43d078){return _0x219573(_0x11eef2-_0x13a160._0x28d5a9,_0x2d1767-_0x13a160._0x3774b9,_0x362978-0x186,_0x43d078);}_0x6e8120&&_0x6d0b4a?.(_0x6e8120[_0x3d1051(0x4ea,0x603,0x4f1,0x58c)]);},[_0x3e19f6,_0x6d0b4a]),_0x239630=_0x2c8852(_0x1f4a38=>{let _0x4769c5=_0x3e19f6[_0x1a8841(0x6c1,0x86a,_0x26bda2._0x75594c,0x720)](_0x477193=>_0x477193[_0x3cbc5a(0x30b,0x28e,0x48a,0x171)]===_0x1f4a38[_0x3cbc5a(0x27f,0x1cd,0x181,0xe5)]);function _0x3cbc5a(_0x6f7cb1,_0x27dcf2,_0x3b6310,_0x2e76ea){return _0x4271d8(_0x6f7cb1-_0x3672a5._0x364332,_0x6f7cb1- -0x2be,_0x3b6310,_0x2e76ea-_0x3672a5._0x16e76a);}function _0x1a8841(_0x2167a3,_0x58e4a9,_0x27a6f1,_0x170608){return _0x219573(_0x170608-_0x4b077c._0x49625c,_0x58e4a9-_0x4b077c._0x129a7a,_0x27a6f1-_0x4b077c._0x32b929,_0x27a6f1);}_0x4769c5&&_0x171865?.(_0x4769c5['name']);},[_0x3e19f6,_0x171865]),_0x80b3a6=_0x2c8852((_0x5f1112,_0x145046)=>{_0x4d6e6c(_0x145046);},[_0x4d6e6c]);return _0x3bdc4c(_0x3ef073,{'flexDirection':_0x219573(-0x2a,-0x119,_0x345a5e._0x321987,-_0x345a5e._0x1b4258),'width':_0x219573(_0x345a5e._0xe8dd6a,0x11e,-0x10b,-_0x345a5e._0x4bb676),'flexGrow':0x1,'overflow':_0x219573(-_0x345a5e._0x59cf74,-_0x345a5e._0x33ee5c,_0x345a5e._0x2cc1da,-_0x345a5e._0x21823c),'children':[_0x4ceee2(_0x3ef073,{'marginBottom':0x1,'flexShrink':0x0,'children':_0x3bdc4c(_0xda589,{'color':_0x457c28[_0x219573(_0x345a5e._0x1e417f,_0x345a5e._0x3fb9b2,-0xc9,-_0x345a5e._0x8c7fe0)][_0x219573(-0xdf,-_0x345a5e._0x3d91c1,-0x54,-_0x345a5e._0x1be34c)],'bold':!0x0,'children':[_0x219573(-0x1d1,-0x35a,-0x36b,-0xa5),_0x25e5f3(),'/',_0x3e19f6['length'],')']})}),_0x4ceee2(_0x3af82d,{'items':_0x335746,'placeholder':_0x219573(-_0x345a5e._0x59a6bb,-0x10a,0x2a,-_0x345a5e._0x1d27e0),'enableRotation':!0x0,'showItemCount':!0x1,'focus':_0x724691,'renderItem':_0x197d8a,'onSelect':_0x4e9f45,'onHighlight':_0x80b3a6,'onSpace':_0x239630,'onNew':_0x4c9421})]});};import{jsx as _0x45de7d}from'react/jsx-runtime';var Gs=0x1e,Vs=({visible:_0x56a3a0,agents:_0x5c261d,enabledAgents:_0x3afce8={},initialSelectedIndex:_0x3cbc01,onClose:_0x5b3112,onAgentStatusChange:_0x2cf5be,onAgentCreate:_0x249ecf,onAgentEdit:_0x5db575})=>{const _0x3ab5e3={_0x3b87a0:0x71,_0x54f414:0x55e,_0x371221:0x66,_0x10d8d1:0x1c9,_0x4429ec:0x36f,_0x34e521:0x1b1,_0x23e48d:0x216,_0x39a374:0x35f,_0x5a2df8:0x228,_0x34c04e:0x393,_0x20d648:0x383,_0x1de15f:0x4d4,_0x4b14c0:0x508,_0xa4952b:0x4d7,_0x1fa163:0x3a9,_0x991791:0x597,_0x55db9c:0x33a,_0x2576aa:0x158,_0x5ba3b3:0x2bc,_0x5b771b:0x10,_0x1ced77:0x13,_0x541466:0xd1,_0x6e924:0x3f0,_0x15597f:0x24d,_0x51383c:0xc9,_0x2341ba:0x6c,_0x57ada1:0xb3,_0x17d1e1:0x30,_0x27feca:0x113,_0x4cacc1:0x4bf,_0x39d958:0x370,_0x42fafa:0x54a},_0x2eb8af={_0x4d6d76:0xe5,_0x193546:0xe6},_0x3ce774={_0x464947:0x50d,_0x1038d7:0x541},_0x406088={_0x561b6b:0x63};let {theme:_0x1e3670}=_0x23be01(),{rows:_0x490ba3}=_0x4f685a(),_0x59a36e=jn(_0x5c261d,_0x3afce8,_0x3cbc01);function _0x4a266e(_0x1d73b3,_0x41f299,_0xaa8ab0,_0x4b8d45){return _0x593b39(_0x1d73b3-_0x406088._0x561b6b,_0x1d73b3-0x1ba,_0xaa8ab0,_0x4b8d45-0x1d0);}_0x528efb((_0x418644,_0x6f7db3)=>{function _0xc4d255(_0x2e9835,_0x118fe2,_0x48a167,_0xf3eabb){return _0x5737(_0x118fe2-0x3c5,_0x2e9835);}_0x6f7db3[_0xc4d255(0x669,_0x3ce774._0x464947,_0x3ce774._0x1038d7,0x6a6)]&&(_0x418644==='n'||_0x418644==='N')&&_0x5c261d['length']===0x0&&_0x249ecf?.();},{'isActive':_0x56a3a0&&_0x5c261d[_0x2c8fb9(-0xe7,0x31,_0x3ab5e3._0x3b87a0,-0x19e)]===0x0});let _0x55962f=_0x5bc1c1(_0x50b6fe=>{let _0x489392=_0x59a36e['localEnabledAgents'][_0x50b6fe]===!0x1;_0x59a36e['toggleAgent'](_0x50b6fe),_0x2cf5be?.(_0x50b6fe,_0x489392);},[_0x59a36e,_0x2cf5be]),_0x214db4=_0x5bc1c1(_0xe0de38=>{_0x5db575?.(_0xe0de38);},[_0x5db575]);if(!_0x56a3a0)return null;function _0x2c8fb9(_0x821520,_0x11e12e,_0x42b4a1,_0xbdc2d9){return _0x593b39(_0x821520-_0x2eb8af._0x4d6d76,_0x821520- -0x31d,_0x11e12e,_0xbdc2d9-_0x2eb8af._0x193546);}let _0x524839=Math[_0x4a266e(0x3c4,0x4ea,0x4fa,_0x3ab5e3._0x54f414)](Gs,_0x490ba3-0x4);return _0x45de7d(_0x32a44e,{'visible':_0x56a3a0,'title':_0x2c8fb9(-_0x3ab5e3._0x371221,-0x4b,0x46,0x63),'closeOnEscape':!0x0,'closeOnEnter':!0x1,'onClose':_0x5b3112,'paddingX':0x1,'paddingY':0x0,'footer':_0x45de7d(_0x47093d,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x45de7d(_0x1fb0f6,{'segments':[{'text':'↑↓','highlight':!0x0},{'text':_0x2c8fb9(-0x2e4,-_0x3ab5e3._0x10d8d1,-_0x3ab5e3._0x4429ec,-_0x3ab5e3._0x34e521)},{'text':_0x4a266e(_0x3ab5e3._0x23e48d,_0x3ab5e3._0x39a374,_0x3ab5e3._0x5a2df8,_0x3ab5e3._0x34c04e),'highlight':!0x0},{'text':_0x4a266e(_0x3ab5e3._0x20d648,_0x3ab5e3._0x1de15f,0x1d2,_0x3ab5e3._0x4b14c0)},{'text':_0x2c8fb9(-0x280,-0x293,-_0x3ab5e3._0x39a374,-0x430),'highlight':!0x0},{'text':_0x4a266e(_0x3ab5e3._0xa4952b,_0x3ab5e3._0x1fa163,_0x3ab5e3._0x991791,0x393)},{'text':_0x2c8fb9(-0x2ec,-_0x3ab5e3._0x55db9c,-0x398,-_0x3ab5e3._0x2576aa),'highlight':!0x0},{'text':_0x2c8fb9(-0x30a,-_0x3ab5e3._0x5ba3b3,-0x261,-0x3aa)},{'text':_0x2c8fb9(-_0x3ab5e3._0x5b771b,-_0x3ab5e3._0x1ced77,_0x3ab5e3._0x541466,-0x3a),'highlight':!0x0},{'text':'\x20exit'}]})}),'height':_0x524839,'children':_0x5c261d[_0x4a266e(_0x3ab5e3._0x6e924,_0x3ab5e3._0x15597f,0x339,0x3b1)]===0x0?_0x45de7d(_0x47093d,{'marginTop':0x1,'children':_0x45de7d(_0x1edc8e,{'color':_0x1e3670['history'][_0x2c8fb9(-0x52,-_0x3ab5e3._0x51383c,-_0x3ab5e3._0x2341ba,-0x1ff)],'children':_0x2c8fb9(-0x14,-_0x3ab5e3._0x57ada1,-_0x3ab5e3._0x17d1e1,_0x3ab5e3._0x27feca)})}):_0x45de7d(jo,{'agents':_0x5c261d,'isAgentEnabled':_0x59a36e['isAgentEnabled'],'onAgentSelect':_0x59a36e[_0x4a266e(_0x3ab5e3._0x4cacc1,_0x3ab5e3._0x39d958,0x502,_0x3ab5e3._0x42fafa)],'onToggle':_0x55962f,'onEdit':_0x214db4,'onNew':_0x249ecf,'flexGrow':0x1,'focus':!0x0})});},qn=Vs;import{AGENT_CREATOR_SYSTEM_PROMPT as _0x547dc1,buildAgentCreationPrompt as _0x29b8fb}from'@nuvin/nuvin-core';var Ks=0x2,Yn=0.3;function qs(_0x3c8ba5){const _0x1fed62={_0x4f6abd:0x409,_0xb876a6:0x57b,_0x11dcb9:0x5ae,_0x497449:0x361,_0x4c8892:0x434,_0x1b9030:0x362,_0x53f3b4:0x2e1,_0x15894d:0x15f,_0x19ce97:0x3d8,_0x1a97a2:0x129,_0x2c0a44:0x2d2},_0x295a6a={_0x29cdb0:0x29,_0x15f4eb:0x13e,_0x586a77:0x76},_0x5aa1da={_0x5057d4:0x60,_0x416dac:0x8c};function _0x2e3622(_0x1923b4,_0x2605d7,_0x1ca059,_0x3be3a2){return _0x593b39(_0x1923b4-_0x5aa1da._0x5057d4,_0x1ca059-0x2ae,_0x2605d7,_0x3be3a2-_0x5aa1da._0x416dac);}function _0x20e5c5(_0x3f2359,_0x5d6a7c,_0x2d8984,_0x1d9c7a){return _0x40e58d(_0x2d8984,_0x5d6a7c-_0x295a6a._0x29cdb0,_0x1d9c7a-_0x295a6a._0x15f4eb,_0x1d9c7a-_0x295a6a._0x586a77);}return(_0x3c8ba5?_0x3c8ba5[_0x2e3622(0x569,0x287,_0x1fed62._0x4f6abd,_0x1fed62._0xb876a6)]()[_0x20e5c5(0x2d1,_0x1fed62._0x11dcb9,_0x1fed62._0x497449,_0x1fed62._0x4c8892)](/[^a-z0-9]+/g,'-')[_0x20e5c5(0x380,_0x1fed62._0x1b9030,_0x1fed62._0x53f3b4,0x434)](/^-|-$/g,''):_0x20e5c5(_0x1fed62._0x15894d,_0x1fed62._0x19ce97,_0x1fed62._0x1a97a2,_0x1fed62._0x2c0a44))||_0x20e5c5(0x22f,0x40e,0x419,0x2d2);}function Ys(){const _0x47d05e={_0x5ad880:0xe4,_0x194d78:0x1c4,_0x141bb4:0x49};function _0x33730b(_0x226bc6,_0x149b6e,_0x54ff57,_0x58fa83){return _0x40e58d(_0x226bc6,_0x149b6e-0x1ab,_0x54ff57- -0x195,_0x58fa83-0x9f);}return _0x33730b(_0x47d05e._0x5ad880,-_0x47d05e._0x194d78,-_0x47d05e._0x141bb4,-0x1e7);}var zo=class{constructor(_0xda4e6a,_0x29be7b={}){this['llm']=_0xda4e6a,this['options']=_0x29be7b;}async['createAgent'](_0x2bc61a,_0x799176){const _0xe7de2={_0xebc516:0x48,_0x495850:0xaa,_0x4f1b17:0x43f,_0x56063c:0x337,_0x4115cc:0x4d6,_0x3f46ad:0x673,_0x1520c8:0x499,_0x4ea8ff:0x559,_0x266403:0x117,_0x275a45:0xd2,_0x1417de:0x129,_0x7902f7:0x6e6,_0x4a505c:0x641,_0x2f177f:0x129,_0x249068:0x9,_0x549747:0xeb,_0x26001b:0xd,_0x53f1ff:0x57,_0x2cffd0:0x2b7,_0x3ef2c3:0x1d,_0xaca0b5:0x270,_0x5338cd:0x218,_0x5e4dc4:0x136,_0x360332:0x10,_0x203a81:0xa3,_0x3c63fa:0x6cc,_0x2b538a:0x5e5,_0x5cc63d:0xde,_0x40303f:0x15e,_0x275a81:0x1b2,_0x53aca6:0x33d,_0x189d03:0x212,_0x5aabdc:0x304,_0x49c467:0x668,_0x5bc28a:0x4a2,_0x16f800:0x601,_0x3900d5:0x1b4,_0x1397ce:0xc0,_0x18996e:0x1c4,_0xbf27d6:0x1d0,_0x2bbdd2:0xe3,_0x39eabc:0x725,_0x18f096:0x63c,_0x563038:0x5eb,_0x42d50e:0x523,_0x2dd27b:0x50f,_0x3247ac:0x49a,_0x571b64:0x459,_0x18d337:0xac,_0xc08b92:0xa7,_0x2350eb:0x1d8,_0x42a5da:0x31c,_0x4b429f:0x378,_0x9bc36c:0x42c,_0x365780:0x49a,_0xa05a03:0x404,_0x594d4b:0x6aa,_0x5492be:0x332,_0x280dca:0x4dd,_0x337ca5:0xc7,_0x2b359a:0x2a,_0x1e6467:0xb3,_0x4aa4a2:0x407,_0x6c13c4:0x276,_0x4e1b75:0x145,_0x22c3f7:0x51e,_0x837bf6:0x3c5,_0x401a3a:0x7a0,_0x263584:0x654,_0x2c014e:0x244,_0xa8e318:0x3f7,_0x58d7c7:0x48b,_0x6b7f6c:0x1e0,_0x37b69b:0x1f1,_0xf60d8a:0x1b6,_0x24db4b:0x20f,_0x407601:0x16b,_0x34fcdb:0x168,_0x44fe53:0x210,_0x38247d:0x5c,_0x3862c7:0x5d},_0x1809dd={_0x504b63:0x363};function _0x382386(_0x3165c7,_0x3d9d2b,_0x443bf1,_0x5ad947){return _0x40e58d(_0x5ad947,_0x3d9d2b-0x12,_0x443bf1- -0x2da,_0x5ad947-0x71);}let _0x5f47bc=this['options'][_0x382386(_0xe7de2._0xebc516,0x194,_0xe7de2._0x495850,0x1cf)]??Yn,_0x35822f=this[_0xb957fe(_0xe7de2._0x4f1b17,0x43e,_0xe7de2._0x56063c,0x352)]['retries']??Ks,_0x76d7b7;function _0xb957fe(_0x8d001a,_0x17efe5,_0x448894,_0x4d6f37){return _0x593b39(_0x8d001a-0x1ab,_0x4d6f37-_0x1809dd._0x504b63,_0x448894,_0x4d6f37-0x139);}for(let _0x43f700=0x0;_0x43f700<=_0x35822f;_0x43f700++){let _0x441157=_0x43f700>0x0;try{let _0x4abca6=[{'role':'system','content':_0x547dc1+Ys()},{'role':'user','content':_0x29b8fb(_0x2bc61a)}],_0x4edb79=(await this[_0xb957fe(_0xe7de2._0x4115cc,_0xe7de2._0x3f46ad,_0xe7de2._0x1520c8,_0xe7de2._0x4ea8ff)][_0x382386(-_0xe7de2._0x266403,_0xe7de2._0x275a45,0x45,-_0xe7de2._0x1417de)]({'model':_0x799176,'messages':_0x4abca6,'temperature':_0x441157?Math[_0xb957fe(_0xe7de2._0x7902f7,0x72f,0x5be,_0xe7de2._0x4a505c)](0.2,_0x5f47bc-0.1):_0x5f47bc,'topP':0x1}))[_0x382386(0xd1,-_0xe7de2._0x2f177f,-_0xe7de2._0x249068,-0x177)]?.['trim']();if(!_0x4edb79){if(_0x43f700<_0x35822f){_0x76d7b7=_0x382386(0xe,_0xe7de2._0x549747,_0xe7de2._0x26001b,-0x164);continue;}return{'success':!0x1,'error':_0x382386(0x40,_0xe7de2._0x53f1ff,-0x122,-_0xe7de2._0x2cffd0),'retryable':!0x0};}let _0x291ddc=_0x4edb79[_0x382386(-0x9a,-0x283,-0x136,_0xe7de2._0x3ef2c3)](/```json\s*([\s\S]*?)\s*```/)||_0x4edb79[_0x382386(-0x204,-0x11c,-0x136,-_0xe7de2._0xaca0b5)](/```\s*([\s\S]*?)\s*```/)||_0x4edb79[_0x382386(-0x1d8,-_0xe7de2._0x5338cd,-_0xe7de2._0x5e4dc4,-_0xe7de2._0x360332)](/{[\s\S]*}/),_0x3cdaa9=_0x291ddc?_0x291ddc[0x1]:_0x4edb79,_0x30c21d;try{_0x30c21d=JSON[_0x382386(0xa6,-0x104,-_0xe7de2._0x203a81,-0x1c5)](_0x3cdaa9);}catch{if(_0x43f700<_0x35822f){_0x76d7b7=_0xb957fe(_0xe7de2._0x3c63fa,0x4a8,0x78f,_0xe7de2._0x2b538a);continue;}return{'success':!0x1,'error':_0x382386(0x137,0x3,_0xe7de2._0x5cc63d,_0xe7de2._0x40303f),'retryable':!0x0};}if(!_0x30c21d[_0x382386(-_0xe7de2._0x275a81,-_0xe7de2._0x53aca6,-_0xe7de2._0x189d03,-_0xe7de2._0x5aabdc)]||typeof _0x30c21d['instructions']!='string'){if(_0x43f700<_0x35822f){_0x76d7b7='LLM\x20did\x20not\x20generate\x20required\x20instructions';continue;}return{'success':!0x1,'error':'The\x20generated\x20agent\x20is\x20missing\x20instructions.\x20Please\x20describe\x20the\x20agent\x27s\x20behavior\x20more\x20clearly.','retryable':!0x0};}let _0x3d0478=_0x30c21d[_0xb957fe(0x79d,_0xe7de2._0x49c467,_0xe7de2._0x5bc28a,_0xe7de2._0x16f800)];return _0x30c21d[_0x382386(_0xe7de2._0x3900d5,-0x2,_0xe7de2._0x1397ce,_0xe7de2._0x18996e)]=qs(_0x3d0478),_0x30c21d[_0x382386(0xa7,_0xe7de2._0xbf27d6,0xaa,_0xe7de2._0x2bbdd2)]||(_0x30c21d[_0xb957fe(_0xe7de2._0x39eabc,0x6e8,_0xe7de2._0x18f096,_0xe7de2._0x563038)]=Yn),(!_0x30c21d[_0xb957fe(_0xe7de2._0x42d50e,0x643,_0xe7de2._0x2dd27b,_0xe7de2._0x3247ac)]||!Array[_0xb957fe(0x2ac,_0xe7de2._0x16f800,0x380,_0xe7de2._0x571b64)](_0x30c21d[_0x382386(_0xe7de2._0x18d337,-0xe6,-_0xe7de2._0xc08b92,-_0xe7de2._0x2350eb)])||_0x30c21d[_0xb957fe(_0xe7de2._0x42a5da,_0xe7de2._0x4b429f,_0xe7de2._0x9bc36c,_0xe7de2._0x365780)][_0xb957fe(_0xe7de2._0xa05a03,_0xe7de2._0x594d4b,0x568,0x599)]===0x0)&&(_0x30c21d[_0x382386(0xab,-0x256,-0xa7,-_0xe7de2._0xbf27d6)]=[_0xb957fe(_0xe7de2._0x5492be,_0xe7de2._0x280dca,0x4af,0x366),_0x382386(-0x10a,-_0xe7de2._0x337ca5,_0xe7de2._0x2b359a,-_0xe7de2._0x1e6467)]),{'success':!0x0,'agent':_0x30c21d};}catch(_0x3fb2e3){let _0x2b83bf=_0x3fb2e3 instanceof Error?_0x3fb2e3['message']:String(_0x3fb2e3);if(_0x43f700<_0x35822f){_0x76d7b7=_0x2b83bf;continue;}let _0x4db6b6=_0x2b83bf[_0xb957fe(_0xe7de2._0x4aa4a2,_0xe7de2._0x6c13c4,0x458,0x3c5)]('timeout')||_0x2b83bf[_0x382386(-0x304,-0x202,-0x17c,-0x30)](_0x382386(-_0xe7de2._0x4e1b75,0x8d,-0xb4,-0x21b)),_0x6989c5=_0x2b83bf[_0xb957fe(_0xe7de2._0x22c3f7,0x3de,0x566,_0xe7de2._0x837bf6)](_0xb957fe(0x56e,_0xe7de2._0x401a3a,0x7c0,_0xe7de2._0x263584))||_0x2b83bf[_0xb957fe(0x46f,0x312,0x225,0x3c5)](_0x382386(-0x9d,-_0xe7de2._0x2c014e,-0xf9,-0xa3));return{'success':!0x1,'error':_0x4db6b6?_0xb957fe(0x48a,_0xe7de2._0xa8e318,0x476,_0xe7de2._0x58d7c7):_0x6989c5?_0xb957fe(0x205,_0xe7de2._0x6b7f6c,0x3a1,0x324):_0x382386(-0x195,-0x16c,-_0xe7de2._0x37b69b,-0x316)+_0x2b83bf,'retryable':!_0x6989c5};}}return{'success':!0x1,'error':_0x76d7b7?_0x382386(-0x350,-0x122,-_0xe7de2._0xf60d8a,-0x230)+(_0x35822f+0x1)+'\x20attempts:\x20'+_0x76d7b7+_0x382386(-0x136,-_0xe7de2._0x24db4b,-_0xe7de2._0x407601,-0xa7):_0x382386(_0xe7de2._0x34fcdb,_0xe7de2._0x44fe53,_0xe7de2._0x38247d,-_0xe7de2._0x3862c7),'retryable':!0x0};}};import{useState as _0x25f31d,useCallback as _0x574a87,useEffect as _0x5d3aa4}from'react';var We=[_0x593b39(0x260,0x29e,0x136,0x34f),'model',_0x40e58d(0x1f7,0x250,0x384,0x46a),_0x593b39(0x29d,0x134,0x1c9,-0x7),_0x593b39(-0x16,0x137,0x10c,0x138),_0x40e58d(0x238,0x25d,0x13f,0x12e)],Wn=(_0x21f9b2,_0x187f04,_0x21bb4e,_0x502898)=>{const _0x456ba8={_0x2788ad:0x2d1},_0x29fb4f={_0x10ddcc:0x161,_0x10a00a:0x14f,_0x35e699:0x3e4,_0x450fe3:0x3e0,_0x1a90d6:0x301,_0x3097c1:0x33,_0x505dfd:0x399,_0x199147:0x49e,_0x1efc68:0x161,_0x167883:0x25,_0x223e4f:0xf9,_0x172aa8:0xc0,_0x2a795b:0x544,_0x64f639:0x1ad,_0x473428:0x1c,_0x5d7b00:0x43,_0x1c3734:0x65,_0x5e112c:0x6a6,_0x318b90:0x682,_0x2730fc:0x1e0,_0x3a7d36:0x171,_0x4a4938:0x40a,_0x312329:0x25,_0x7deae3:0x40,_0x12a0fa:0x187,_0x3dfbc6:0x479,_0x2c3413:0x5da,_0x515336:0x77c},_0x3d67df={_0x27d065:0x162},_0x59f3ff={_0x4c2b0c:0x762,_0xb8ba44:0x530,_0x1a1b6b:0x4cd,_0x2bbebc:0x5ec},_0x4e3fa7={_0x351ac3:0x1b9,_0x5a2a62:0x39c,_0x4a000c:0x47d,_0x3178a1:0x31b,_0x1adf01:0x354,_0x4aaccf:0x671,_0x5ef716:0x5c4,_0x208688:0x308,_0xfd8573:0x329,_0x5e2bbc:0x2c4,_0x21c402:0x513,_0x8495bc:0x4fa,_0x3351fd:0x2f5,_0x1b7891:0x49f,_0x181905:0x25f,_0x3e9eb2:0x3f7,_0x530298:0x357,_0x5b82b8:0x2dc,_0x5dab47:0x6ad,_0x582a0b:0x13a,_0x277f3f:0xc4,_0x3a5a62:0x1af,_0x3acbe5:0x6,_0x20d4ec:0x490,_0x510f72:0x2b5,_0x2acdce:0x3d0,_0x1b2a46:0x254,_0x5d50cd:0x605,_0x2270d8:0x5d1,_0x34d8d3:0x542,_0x11d9ab:0x1c9},_0x2344ea={_0x5104a5:0x2b7,_0x487e78:0x3d9},_0x5456a2={_0x36bc3a:0x64,_0x5c346e:0x2a6,_0x149d9b:0x141,_0x1de210:0x13c},_0x20becc={_0x4f1b9a:0x176,_0x24667a:0x132},_0x592819={_0x5c9a9d:0x3de,_0x53ba2d:0x2f6,_0x252abc:0x2b0,_0xb2bccb:0x405,_0x573c4d:0x4a8,_0x317f94:0x655,_0xe11959:0x55d,_0x36d156:0x4cf,_0x49a35f:0x501,_0x5cb2d1:0x348},_0x4f9bf1={_0x13b9de:0x140},_0x547489={_0x34603a:0x1ce,_0x4e7564:0x15a,_0x3ee03d:0x318,_0x505179:0x186,_0xab1981:0x534,_0x2044e3:0x469,_0x3924a6:0x4b2,_0x5cb16a:0x84,_0x28bce5:0x323,_0x4aaa82:0x34c,_0x552022:0x335,_0x2c575e:0x2cd,_0x3abbfd:0x142,_0x488bd6:0x41,_0x5835c1:0x348,_0x1ad55f:0x15f,_0x5a1ef0:0x368,_0x20478c:0x32e,_0x28f5e9:0x3ac},_0x20cceb={_0x3c7958:0x2f0,_0x4edddb:0xa9,_0x12494e:0x194},_0x4bafb1={_0x1f7d7b:0x416};let [_0x1fbbcc,_0x10f67b]=_0x25f31d(''),[_0x17433a,_0x44529c]=_0x25f31d(_0x5bd55d(-0x125,-_0x456ba8._0x2788ad,-0x256,-0x14f)),[_0x3238d9,_0x6c0cde]=_0x25f31d('basic'),[_0x5c2f6c,_0x4776d9]=_0x25f31d(!0x1),[_0xa29fc3,_0x36c2ac]=_0x25f31d(!0x1),[_0x11404,_0x1ba160]=_0x25f31d('name'),[_0x49f6da,_0x14664c]=_0x25f31d(''),[_0x1f92d2,_0x404247]=_0x25f31d(''),[_0x598ebf,_0x169a61]=_0x25f31d([]),[_0x3368a9,_0x1fb652]=_0x25f31d(''),[_0x2170cf,_0x414c4d]=_0x25f31d(''),[_0x27ec31,_0x584cf7]=_0x25f31d(''),[_0x3d6561,_0x1e61c0]=_0x25f31d(''),_0x19cc0e=_0x574a87(()=>{_0x6c0cde('instructions');},[]),_0x5a442b=_0x574a87(()=>{function _0x2cd0f3(_0x20f968,_0x48915d,_0x55a27c,_0x1f8372){return _0x5bd55d(_0x48915d-0x55a,_0x48915d-0xf1,_0x1f8372,_0x1f8372-0x1a5);}_0x6c0cde(_0x2cd0f3(0x202,0x367,_0x4bafb1._0x1f7d7b,0x3cc));},[]),_0x3b9b5f=_0x574a87(()=>{const _0xc14c22={_0x5a0cd6:0x46d,_0x133912:0xfb,_0x4d2245:0x108};function _0x1c00eb(_0x41f9d0,_0x11a49a,_0x3e8080,_0x238218){return _0x5bd55d(_0x41f9d0-_0x20cceb._0x3c7958,_0x11a49a-_0x20cceb._0x4edddb,_0x238218,_0x238218-_0x20cceb._0x12494e);}function _0x2f2ec6(_0x1d447e,_0x1edcd8,_0x429b09,_0x2bc3b8){return _0x5bd55d(_0x429b09-_0xc14c22._0x5a0cd6,_0x1edcd8-_0xc14c22._0x133912,_0x2bc3b8,_0x2bc3b8-_0xc14c22._0x4d2245);}_0x187f04&&(_0x14664c(_0x187f04['name']??''),_0x404247(_0x187f04[_0x1c00eb(0xa7,_0x547489._0x34603a,0x89,0x7f)]??''),_0x169a61(Array[_0x1c00eb(_0x547489._0x4e7564,0x126,0x252,0x28b)](_0x187f04[_0x2f2ec6(0x335,0x366,_0x547489._0x3ee03d,_0x547489._0x505179)])?[..._0x187f04['allowed_tools']]:[]),_0x1fb652(_0x187f04['temperature']!==void 0x0&&_0x187f04[_0x2f2ec6(0x5f4,_0x547489._0xab1981,_0x547489._0x2044e3,0x437)]!==null?String(_0x187f04[_0x2f2ec6(_0x547489._0x3924a6,0x4ac,_0x547489._0x2044e3,0x5a2)]):''),_0x414c4d(_0x187f04[_0x1c00eb(0x198,_0x547489._0x5cb16a,0x334,_0x547489._0x28bce5)]!==void 0x0&&_0x187f04[_0x1c00eb(0x198,_0x547489._0x4aaa82,_0x547489._0x552022,_0x547489._0x2c575e)]!==null?String(_0x187f04[_0x1c00eb(0x198,_0x547489._0x3abbfd,_0x547489._0x488bd6,0x339)]):''),_0x584cf7(_0x187f04[_0x2f2ec6(_0x547489._0x5835c1,0x227,0x1ad,_0x547489._0x1ad55f)]??''),_0x1e61c0(_0x187f04[_0x2f2ec6(_0x547489._0x5a1ef0,_0x547489._0x20478c,0x256,_0x547489._0x28f5e9)]??''));},[_0x187f04]);_0x5d3aa4(()=>{const _0x42c755={_0x5a46ad:0x1a7,_0x118d3a:0x16f};function _0x5f2986(_0x106247,_0x4efd2f,_0x297862,_0x541d4b){return _0x5bd55d(_0x4efd2f-0x6c2,_0x4efd2f-_0x42c755._0x5a46ad,_0x106247,_0x541d4b-_0x42c755._0x118d3a);}function _0xd549d9(_0xc0b809,_0x47f455,_0x19e37e,_0x2c3957){return _0x5bd55d(_0x19e37e-0x706,_0x47f455-0xbe,_0xc0b809,_0x2c3957-_0x4f9bf1._0x13b9de);}if(!_0x187f04){_0x4776d9(!0x1),_0x21f9b2===_0x5f2986(_0x592819._0x5c9a9d,0x405,_0x592819._0x53ba2d,0x3ac)&&_0x36c2ac(!0x1);return;}if(_0x21f9b2===_0x5f2986(_0x592819._0x252abc,_0x592819._0xb2bccb,0x52e,_0x592819._0x573c4d)){_0x3b9b5f(),_0x36c2ac(!0x0),_0x4776d9(!0x1),_0x1ba160(_0x5f2986(0x644,0x6d4,_0x592819._0x317f94,0x62c)),_0x6c0cde(_0x5f2986(_0x592819._0xe11959,_0x592819._0x36d156,_0x592819._0x49a35f,0x575));return;}_0x584cf7(_0x187f04[_0xd549d9(_0x592819._0x5cb2d1,0x58f,0x446,0x2e2)]??''),_0xa29fc3||_0x4776d9(!0x0);},[_0x187f04,_0x21f9b2,_0x3b9b5f,_0xa29fc3]);function _0x5bd55d(_0x41c1d1,_0x3b454c,_0x18e196,_0x4c1024){return _0x593b39(_0x41c1d1-_0x20becc._0x4f1b9a,_0x41c1d1- -0x28c,_0x18e196,_0x4c1024-_0x20becc._0x24667a);}let _0x3df481=_0x574a87(()=>{const _0x3eb747={_0xb70b4b:0x1f1};function _0x10a66b(_0x564893,_0x3e4070,_0x559910,_0x3ed9c0){return _0x5bd55d(_0x3ed9c0-0x12f,_0x3e4070-0x96,_0x559910,_0x3ed9c0-0xec);}function _0x10946f(_0x2d6053,_0x4bd063,_0x598061,_0xb0db23){return _0x5bd55d(_0x2d6053-0x57e,_0x4bd063-_0x3eb747._0xb70b4b,_0xb0db23,_0xb0db23-0x2e);}_0x187f04&&(_0x3b9b5f(),_0x1ba160(_0x10a66b(_0x5456a2._0x36bc3a,0x12c,_0x5456a2._0x5c346e,_0x5456a2._0x149d9b)),_0x36c2ac(!0x0),_0x4776d9(!0x1),_0x6c0cde(_0x10a66b(-_0x5456a2._0x1de210,-0x7b,-0x217,-0xc4)));},[_0x3b9b5f,_0x187f04]),_0x32099b=_0x574a87(()=>{function _0x38e8b5(_0x4a69ba,_0xf4c9b1,_0x5241bc,_0x4e5f4d){return _0x5bd55d(_0xf4c9b1- -0x42,_0xf4c9b1-0x170,_0x4e5f4d,_0x4e5f4d-0xfa);}if(_0x21f9b2!==_0x38e8b5(-_0x2344ea._0x5104a5,-0x2ff,-0x1f0,-_0x2344ea._0x487e78)){if(!_0x187f04){_0x36c2ac(!0x1),_0x4776d9(!0x1);return;}_0x3b9b5f(),_0x36c2ac(!0x1),_0x4776d9(!0x0),_0x1ba160('name');}},[_0x3b9b5f,_0x21f9b2,_0x187f04]),_0x47c1f0=_0x574a87(_0x3e3d12=>{const _0x3f50f8={_0x14d8f0:0x473,_0x3d3c7b:0x486,_0x39094e:0x169,_0x42e6a2:0x1ce,_0x3eca06:0x27c,_0x1d9731:0x1d5,_0x4eac3f:0x29a,_0x13b14c:0x37f};_0x1ba160(_0x4608dc=>{function _0x289de7(_0x4d03ea,_0x2de20c,_0x5b7aa2,_0x3cdad7){return _0x5737(_0x5b7aa2- -0x79,_0x4d03ea);}let _0x5e0fcd=We[_0x85c0c8(_0x3f50f8._0x14d8f0,_0x3f50f8._0x3d3c7b,0x3b2,0x46d)](_0x4608dc);function _0x85c0c8(_0x465d6c,_0x46732a,_0x1cc76f,_0x562884){return _0x5737(_0x1cc76f-0x96,_0x562884);}return _0x5e0fcd===-0x1?_0x3e3d12==='next'?We[0x0]:We[We[_0x289de7(_0x3f50f8._0x39094e,0x3fd,0x270,_0x3f50f8._0x42e6a2)]-0x1]:_0x3e3d12===_0x85c0c8(0x4fe,0x26f,0x363,_0x3f50f8._0x3eca06)?We[Math[_0x289de7(_0x3f50f8._0x1d9731,_0x3f50f8._0x4eac3f,0x244,0x1cf)](We[_0x85c0c8(0x519,0x1fc,_0x3f50f8._0x13b14c,0x34b)]-0x1,_0x5e0fcd+0x1)]:We[Math['max'](0x0,_0x5e0fcd-0x1)];});},[]),_0x2e55bf=_0x574a87(()=>{const _0x328506={_0x3950f0:0x154};function _0x80986(_0x533092,_0x36fca0,_0x25cd42,_0x1bc9fd){return _0x5bd55d(_0x533092-0x34b,_0x36fca0-0x25,_0x25cd42,_0x1bc9fd-_0x328506._0x3950f0);}function _0x56352b(_0x17237c,_0x4671a0,_0x18f00b,_0x305372){return _0x5bd55d(_0x4671a0-0x65b,_0x4671a0-0x158,_0x305372,_0x305372-0x14f);}if(!_0x187f04||!_0x21bb4e)return;let _0x55a54e=_0x49f6da['trim'](),_0xbcb711=_0x1f92d2['trim'](),_0x3afc4c=_0x3368a9['trim'](),_0x38f283=_0x2170cf[_0x80986(_0x4e3fa7._0x351ac3,0x201,0x20d,0xc6)](),_0x5dd87a=_0x27ec31[_0x56352b(_0x4e3fa7._0x5a2a62,0x4c9,_0x4e3fa7._0x4a000c,_0x4e3fa7._0x3178a1)](),_0x501a03=_0x3d6561[_0x56352b(_0x4e3fa7._0x1adf01,0x4c9,0x66b,_0x4e3fa7._0x4aaccf)](),_0x164807=Number(_0x3afc4c),_0x2bf7ee=_0x3afc4c[_0x56352b(0x755,0x605,0x5ff,_0x4e3fa7._0x5ef716)]===0x0||Number[_0x80986(0x25f,_0x4e3fa7._0x208688,_0x4e3fa7._0xfd8573,_0x4e3fa7._0x5e2bbc)](_0x164807)?void 0x0:Math['min'](0x2,Math[_0x80986(0x39d,_0x4e3fa7._0x21c402,0x369,_0x4e3fa7._0x8495bc)](0x0,_0x164807)),_0x53073b=Number(_0x38f283),_0x52c158=_0x38f283[_0x80986(_0x4e3fa7._0x3351fd,0x366,_0x4e3fa7._0x1b7891,0x46d)]===0x0||Number[_0x80986(_0x4e3fa7._0x181905,_0x4e3fa7._0x3e9eb2,_0x4e3fa7._0x530298,_0x4e3fa7._0x5b82b8)](_0x53073b)?void 0x0:Math[_0x56352b(0x813,_0x4e3fa7._0x5dab47,0x51a,0x5ab)](0x1,Math[_0x80986(_0x4e3fa7._0x582a0b,_0x4e3fa7._0x277f3f,_0x4e3fa7._0x3a5a62,-_0x4e3fa7._0x3acbe5)](_0x53073b)),_0x5e9e41=_0x5dd87a['length']>0x0?_0x5dd87a:_0x187f04[_0x56352b(_0x4e3fa7._0x20d4ec,0x39b,_0x4e3fa7._0x510f72,_0x4e3fa7._0x2acdce)]??'',_0x483f4a={..._0x187f04,'name':_0x55a54e['length']>0x0?_0x55a54e:_0x187f04['name'],'description':_0xbcb711[_0x80986(_0x4e3fa7._0x3351fd,0x1c9,_0x4e3fa7._0x1b2a46,0x2bf)]>0x0?_0xbcb711:void 0x0,'allowed_tools':[..._0x598ebf],'temperature':_0x2bf7ee,'max_tokens':_0x52c158,'instructions':_0x5e9e41,'model':_0x501a03[_0x56352b(0x5a9,_0x4e3fa7._0x5d50cd,_0x4e3fa7._0x2270d8,_0x4e3fa7._0x34d8d3)]>0x0?_0x501a03:void 0x0};_0x21bb4e(_0x483f4a),_0x21f9b2===_0x80986(0x8e,0x211,-0xe1,_0x4e3fa7._0x11d9ab)?_0x502898?.(_0x483f4a):(_0x36c2ac(!0x1),_0x4776d9(!0x0),_0x1ba160('name'));},[_0x1f92d2,_0x3d6561,_0x49f6da,_0x27ec31,_0x3368a9,_0x2170cf,_0x598ebf,_0x21f9b2,_0x502898,_0x21bb4e,_0x187f04]),_0x48e08e=_0x574a87(_0x310bd6=>{const _0x5af558={_0x2fb8dc:0x5e};let _0x118fb6=We[_0x380709(_0x59f3ff._0x4c2b0c,_0x59f3ff._0xb8ba44,_0x59f3ff._0x1a1b6b,_0x59f3ff._0x2bbebc)](_0x310bd6);function _0x380709(_0x5c98b3,_0x28edb4,_0x31bb7a,_0x4b65f3){return _0x5bd55d(_0x4b65f3-0x60f,_0x28edb4-_0x5af558._0x2fb8dc,_0x5c98b3,_0x4b65f3-0x1d9);}_0x118fb6!==-0x1&&_0x1ba160(We[_0x118fb6+0x1]);},[]),_0x544e6d=_0x574a87(()=>{const _0x367b38={_0x413c76:0x31,_0x4d3760:0x106,_0x50bf60:0x1bb};function _0x3ed01a(_0x38b0ee,_0x516917,_0x533431,_0xea21a4){return _0x5bd55d(_0xea21a4-0x630,_0x516917-0x92,_0x516917,_0xea21a4-_0x3d67df._0x27d065);}if(!_0x187f04)return;let _0x424887=_0x49f6da[_0x317dc6(-_0x29fb4f._0x10ddcc,-_0x29fb4f._0x10a00a,-0x38,0x9)](),_0x66b6a4=_0x1f92d2['trim'](),_0x289754=_0x3368a9[_0x3ed01a(0x49b,_0x29fb4f._0x35e699,_0x29fb4f._0x450fe3,0x49e)](),_0x353931=_0x2170cf[_0x317dc6(-0x161,-0x102,-_0x29fb4f._0x1a90d6,_0x29fb4f._0x3097c1)](),_0x3e00f5=_0x27ec31[_0x3ed01a(0x4be,0x38b,_0x29fb4f._0x505dfd,_0x29fb4f._0x199147)](),_0x37fe7e=_0x3d6561[_0x317dc6(-_0x29fb4f._0x1efc68,-0x21f,-0x13c,-0xa3)](),_0x18f7cf=Number(_0x289754),_0x3da6fe=_0x289754[_0x317dc6(-_0x29fb4f._0x167883,_0x29fb4f._0x223e4f,-0xe7,_0x29fb4f._0x172aa8)]===0x0||Number[_0x3ed01a(0x5d2,0x57a,0x6ad,_0x29fb4f._0x2a795b)](_0x18f7cf)?void 0x0:Math[_0x317dc6(-0x51,-0x3b,-_0x29fb4f._0x64f639,_0x29fb4f._0x473428)](0x2,Math['max'](0x0,_0x18f7cf)),_0x304b66=Number(_0x353931),_0x467db7=_0x353931['length']===0x0||Number[_0x317dc6(-0xbb,-_0x29fb4f._0x5d7b00,-_0x29fb4f._0x1c3734,-0x22d)](_0x304b66)?void 0x0:Math[_0x3ed01a(0x732,0x7c5,_0x29fb4f._0x5e112c,_0x29fb4f._0x318b90)](0x1,Math[_0x317dc6(-_0x29fb4f._0x2730fc,-0xcc,-0x13a,-0x341)](_0x304b66)),_0x4c2f60=_0x3e00f5['length']>0x0?_0x3e00f5:_0x187f04[_0x317dc6(-0x28f,-_0x29fb4f._0x3a7d36,-0x23c,-_0x29fb4f._0x4a4938)]??'';function _0x317dc6(_0x358198,_0x114f53,_0x50d988,_0x53836a){return _0x5bd55d(_0x358198-_0x367b38._0x413c76,_0x114f53-_0x367b38._0x4d3760,_0x53836a,_0x53836a-_0x367b38._0x50bf60);}return{..._0x187f04,'name':_0x424887[_0x317dc6(-_0x29fb4f._0x312329,_0x29fb4f._0x7deae3,-_0x29fb4f._0x12a0fa,-0xfb)]>0x0?_0x424887:_0x187f04[_0x317dc6(0x43,0x1d6,-0x128,0x86)],'description':_0x66b6a4[_0x3ed01a(_0x29fb4f._0x3dfbc6,0x6e6,0x6c3,_0x29fb4f._0x2c3413)]>0x0?_0x66b6a4:void 0x0,'allowed_tools':[..._0x598ebf],'temperature':_0x3da6fe,'max_tokens':_0x467db7,'instructions':_0x4c2f60,'model':_0x37fe7e[_0x3ed01a(0x57b,0x696,_0x29fb4f._0x515336,0x5da)]>0x0?_0x37fe7e:void 0x0};},[_0x1f92d2,_0x3d6561,_0x49f6da,_0x27ec31,_0x3368a9,_0x2170cf,_0x598ebf,_0x187f04]),_0x431d75=_0x574a87(()=>{const _0x14f145={_0x10d308:0xc1,_0x22a8ce:0x14e};function _0x4cd31c(_0x3ff137,_0x497282,_0x4266ce,_0x3a99df){return _0x5bd55d(_0x497282-_0x14f145._0x10d308,_0x497282-0x101,_0x3ff137,_0x3a99df-_0x14f145._0x22a8ce);}if(!_0x187f04||!_0x21bb4e)return;let _0x56d3c1=_0x544e6d();_0x56d3c1&&(_0x21bb4e(_0x56d3c1),_0x21f9b2===_0x4cd31c(-0x248,-0x1fc,-0x3a8,-0x2e0)?_0x502898?.(_0x56d3c1):(_0x36c2ac(!0x1),_0x4776d9(!0x0),_0x1ba160('name')));},[_0x544e6d,_0x21f9b2,_0x502898,_0x21bb4e,_0x187f04]);return{'mode':_0x21f9b2,'viewMode':_0x17433a,'editFormView':_0x3238d9,'description':_0x1fbbcc,'showPreview':_0x5c2f6c,'isEditing':_0xa29fc3,'activeField':_0x11404,'editedName':_0x49f6da,'editedDescription':_0x1f92d2,'editedAllowedTools':_0x598ebf,'editedTemperature':_0x3368a9,'editedMaxTokens':_0x2170cf,'editedInstructions':_0x27ec31,'editedModel':_0x3d6561,'setDescription':_0x10f67b,'setShowPreview':_0x4776d9,'setIsEditing':_0x36c2ac,'setActiveField':_0x1ba160,'setEditedName':_0x14664c,'setEditedDescription':_0x404247,'setEditedAllowedTools':_0x169a61,'setEditedTemperature':_0x1fb652,'setEditedMaxTokens':_0x414c4d,'setEditedInstructions':_0x584cf7,'setEditedModel':_0x1e61c0,'setViewMode':_0x44529c,'setEditFormView':_0x6c0cde,'navigateToInstructions':_0x19cc0e,'navigateToBasicForm':_0x5a442b,'initializeEditingState':_0x3b9b5f,'handleStartEditing':_0x3df481,'handleCancelEditing':_0x32099b,'moveFocus':_0x47c1f0,'handleSaveEditedAgent':_0x2e55bf,'handleFieldSubmit':_0x48e08e,'handleSaveEditing':_0x431d75,'getUpdatedPreview':_0x544e6d,'editingSequence':We};},Xn=({visible:_0x5d516d,state:_0x2d4a87,actions:_0x4d7a99,onCancel:_0x39fb26,onConfirm:_0x4a67fa,onDelete:_0x499f1d,loading:_0x27b646=!0x1})=>{const _0x246b3a={_0x297c97:0x53a,_0x4102b4:0x674,_0x2fe0fd:0x4e4,_0x52f13d:0x97,_0x2dd919:0x179,_0x2d4abb:0x73a,_0x49fb61:0x7df,_0xb104d6:0x7a1,_0x5e6888:0x714,_0x57e5db:0xbb,_0x3995a3:0x2e2,_0x467a5d:0x6c2,_0x23a8c5:0x5a0,_0x22bf64:0x39a,_0x369ea6:0x3a1,_0x225072:0x204,_0xd11d45:0x1cb,_0x3dd7f2:0x1bf,_0x923fc3:0x317,_0x38dd44:0x42,_0x56a96b:0x46,_0x4a0734:0x589,_0x46027a:0x4aa,_0x243715:0x1e7,_0x6dac0d:0x1b5,_0x29019d:0x1,_0x5798c6:0x1ab,_0x338def:0x3fc,_0x5223de:0x47f,_0x214867:0x5f8,_0x26d722:0x4aa,_0x3f104e:0x61a,_0x18f541:0x114,_0x6a354d:0x1cc,_0x2a44e1:0x1c3,_0x43c72e:0x473,_0x2612fd:0x679,_0x1479b0:0x6cd,_0x19f34c:0x618,_0x319316:0x68,_0x1f1bf3:0x6e9,_0x425374:0x551,_0x293d3c:0x13c,_0x43cff2:0x5b,_0x1d2a91:0x512,_0x51956f:0x491,_0x3bfec0:0x736,_0x7d71ea:0x714,_0x2a2618:0x3a7,_0x54187c:0x55e,_0x2d7b7e:0x4e6},_0xf6b1b9={_0x19e175:0x39a};_0x528efb((_0x4d7ea9,_0x335898)=>{const _0xf9cb1b={_0x262b96:0x286};function _0x37c283(_0x3a1178,_0x46ab44,_0x2e7d22,_0x4a95c5){return _0x5737(_0x2e7d22- -_0xf9cb1b._0x262b96,_0x46ab44);}function _0x112ef9(_0x358096,_0x13df43,_0x375b76,_0x213245){return _0x5737(_0x213245-_0xf6b1b9._0x19e175,_0x375b76);}if(!(!_0x5d516d||_0x27b646)){if(_0x335898[_0x112ef9(0x677,_0x246b3a._0x297c97,_0x246b3a._0x4102b4,_0x246b3a._0x2fe0fd)]){if(_0x2d4a87[_0x37c283(-0x62,-_0x246b3a._0x52f13d,-0x18f,-_0x246b3a._0x2dd919)]){if(_0x2d4a87[_0x112ef9(_0x246b3a._0x2d4abb,_0x246b3a._0x49fb61,_0x246b3a._0xb104d6,_0x246b3a._0x5e6888)]===_0x37c283(-_0x246b3a._0x57e5db,-_0x246b3a._0x3995a3,-0x207,-0x83)){_0x4d7a99[_0x112ef9(0x5bd,0x6d8,_0x246b3a._0x467a5d,_0x246b3a._0x23a8c5)]();return;}if(_0x2d4a87['mode']===_0x37c283(-_0x246b3a._0x22bf64,-_0x246b3a._0x369ea6,-_0x246b3a._0x225072,-0x2a5)){_0x39fb26();return;}_0x4d7a99[_0x37c283(-0x33e,-_0x246b3a._0xd11d45,-_0x246b3a._0x3dd7f2,-_0x246b3a._0x923fc3)]();return;}if(_0x2d4a87[_0x37c283(-0x2a,0x192,_0x246b3a._0x38dd44,_0x246b3a._0x56a96b)]==='create'&&_0x2d4a87[_0x112ef9(0x63f,_0x246b3a._0x4a0734,0x3f6,_0x246b3a._0x46027a)]){_0x4d7a99[_0x37c283(-_0x246b3a._0x243715,-0x18a,-0x63,-_0x246b3a._0x6dac0d)](!0x1);return;}_0x39fb26(),_0x4d7a99[_0x37c283(0x17c,0x62,0x78,0x144)](''),_0x4d7a99[_0x37c283(-_0x246b3a._0x29019d,-0x1d6,-0x63,-_0x246b3a._0x5798c6)](!0x1);return;}if(_0x2d4a87[_0x112ef9(0x45e,0x608,0x50d,0x491)]||_0x2d4a87[_0x112ef9(_0x246b3a._0x338def,_0x246b3a._0x5223de,_0x246b3a._0x214867,_0x246b3a._0x26d722)]){if(_0x335898[_0x112ef9(_0x246b3a._0x3f104e,0x663,0x380,0x4e2)]&&_0x4d7ea9==='s'){_0x4d7a99[_0x37c283(_0x246b3a._0x18f541,_0x246b3a._0x6a354d,0x13e,_0x246b3a._0x2a44e1)](),_0x4a67fa?.(_0x4d7a99[_0x112ef9(0x3b6,0x5f9,_0x246b3a._0x43c72e,0x49a)]());return;}if(_0x335898[_0x37c283(-0xb6,-0x26f,-0x13e,-0xe3)]&&_0x4d7ea9==='p'){_0x2d4a87[_0x112ef9(_0x246b3a._0x2612fd,_0x246b3a._0x1479b0,_0x246b3a._0x19f34c,_0x246b3a._0x5e6888)]==='basic'?_0x4d7a99[_0x37c283(0x139,-0x4b,-_0x246b3a._0x319316,-0x96)]():_0x4d7a99[_0x112ef9(_0x246b3a._0x1f1bf3,_0x246b3a._0x425374,0x440,0x5a0)]();return;}if(_0x335898[_0x37c283(_0x246b3a._0x293d3c,-0x1a1,-0x5,-_0x246b3a._0x43cff2)]&&_0x2d4a87[_0x112ef9(_0x246b3a._0x1d2a91,0x326,0x5d8,_0x246b3a._0x51956f)]&&_0x2d4a87[_0x112ef9(0x707,0x6a7,_0x246b3a._0x3bfec0,_0x246b3a._0x7d71ea)]===_0x112ef9(_0x246b3a._0x2a2618,0x681,_0x246b3a._0x54187c,_0x246b3a._0x2d7b7e)&&_0x499f1d){_0x499f1d();return;}}}},{'isActive':_0x5d516d});};function _0x593b39(_0x563521,_0x5436e6,_0x2db1b9,_0xf6a48f){return _0x5737(_0x5436e6- -0xb3,_0x2db1b9);}import{Box as _0x5bcc4c,Text as _0x987ad9}from'ink';import{jsx as _0xf2cf5b,jsxs as _0x59ce14}from'react/jsx-runtime';var Xs=0x1e,Jn=({description:_0x48812c,onChange:_0xe8f36d,onSubmit:_0x3e7180})=>{const _0x25b9d9={_0x2b5e7f:0x6b,_0x16b6bc:0x574,_0x2dbbf0:0x584,_0x38a1bd:0x60f,_0x585c18:0x473,_0x4316b6:0x4f4,_0x5e6a4a:0x4b2,_0x48ef2d:0x7e,_0x3e2a2e:0xdd,_0x517118:0x5d,_0x5226ae:0x1e4,_0x404bd6:0x25e,_0x435513:0x323,_0x2c7c9d:0x264,_0x2ffdf2:0x224,_0x3516d6:0x1fc,_0x21cd9e:0x26e,_0x54c837:0xf6,_0x3fb8ac:0x1c,_0x4db84b:0x100,_0x43b413:0x350,_0x13455c:0x2c1,_0x298a21:0x221,_0x4f98f0:0x139,_0x1955c4:0x84,_0x205b88:0x34},_0x2c683a={_0x39048f:0x10f,_0x59c081:0x152,_0x3f28ac:0x144},_0x103f88={_0x2390ef:0x8d,_0x35c555:0x47},_0x4fb732={_0xbeb0bf:0x344,_0x5587e0:0x1da};function _0x3ab6d8(_0x3258ab,_0x209f15,_0x1e47ec,_0xa9aa04){return _0x593b39(_0x3258ab-0x77,_0xa9aa04-_0x4fb732._0xbeb0bf,_0x1e47ec,_0xa9aa04-_0x4fb732._0x5587e0);}let {rows:_0x43f0db}=_0x4f685a(),{theme:_0x17492f}=_0x23be01();function _0x4edc11(_0xdbcdd1,_0x19a059,_0x559358,_0x557af5){return _0x40e58d(_0xdbcdd1,_0x19a059-_0x103f88._0x2390ef,_0x559358- -0x159,_0x557af5-_0x103f88._0x35c555);}return _0xf2cf5b(_0x32a44e,{'visible':!0x0,'title':'Create\x20New\x20Agent','height':Math[_0x4edc11(0x315,_0x25b9d9._0x2b5e7f,0x1ad,0xe2)](Xs,_0x43f0db-0x4),'children':_0x59ce14(_0x5bcc4c,{'flexDirection':_0x3ab6d8(_0x25b9d9._0x16b6bc,0x3c8,0x5f8,0x551),'marginTop':0x1,'children':[_0xf2cf5b(_0x987ad9,{'color':_0x17492f['modal'][_0x3ab6d8(0x715,_0x25b9d9._0x2dbbf0,0x659,_0x25b9d9._0x38a1bd)],'children':_0x3ab6d8(0x496,_0x25b9d9._0x585c18,_0x25b9d9._0x4316b6,_0x25b9d9._0x5e6a4a)}),_0x59ce14(_0x5bcc4c,{'marginTop':0x1,'marginBottom':0x1,'children':[_0xf2cf5b(_0x987ad9,{'color':_0x17492f['colors'][_0x4edc11(_0x25b9d9._0x48ef2d,-_0x25b9d9._0x3e2a2e,_0x25b9d9._0x517118,0xdc)],'children':_0x3ab6d8(_0x25b9d9._0x5226ae,0x1f8,_0x25b9d9._0x404bd6,_0x25b9d9._0x435513)}),_0xf2cf5b(_0x2df2d2,{'value':_0x48812c,'onChange':_0xe8f36d,'onSubmit':()=>{const _0xd18391={_0x598999:0x72};function _0x2bc6d3(_0x142fc9,_0x271afc,_0x34bd4f,_0x112af4){return _0x4edc11(_0x271afc,_0x271afc-0xaa,_0x142fc9-_0xd18391._0x598999,_0x112af4-0x161);}_0x48812c[_0x2bc6d3(_0x2c683a._0x39048f,0x15e,_0x2c683a._0x59c081,_0x2c683a._0x3f28ac)]()&&_0x3e7180();}})]}),_0xf2cf5b(_0x987ad9,{'color':_0x17492f[_0x3ab6d8(0x392,_0x25b9d9._0x2c7c9d,_0x25b9d9._0x2ffdf2,0x3bc)][_0x4edc11(0x328,_0x25b9d9._0x3516d6,_0x25b9d9._0x21cd9e,0x415)],'dimColor':!0x0,'children':_0x4edc11(-_0x25b9d9._0x54c837,_0x25b9d9._0x3fb8ac,0x7b,-0x18)}),_0xf2cf5b(_0x5bcc4c,{'marginY':0x1,'children':_0xf2cf5b(_0x987ad9,{'color':_0x17492f[_0x4edc11(0x14e,_0x25b9d9._0x4db84b,0x1c4,_0x25b9d9._0x43b413)][_0x4edc11(0x2df,_0x25b9d9._0x13455c,_0x25b9d9._0x298a21,_0x25b9d9._0x4f98f0)],'dimColor':!0x0,'children':_0x4edc11(-0x17,-_0x25b9d9._0x1955c4,_0x25b9d9._0x205b88,-0x108)})})]})});};import{Box as _0x79a11b,Text as _0x2e0709}from'ink';import{jsx as _0xff2351,jsxs as _0x16062b}from'react/jsx-runtime';var Qs=0x1e,Zn=({label:_0x5e96f9,onExecute:_0x26824e,autoFocus:_0x4acae5})=>{const _0x154050={_0x5b4c90:0x6c1,_0x27a9c3:0x624,_0x54050e:0x6ea,_0x1cc128:0x561,_0x2ed609:0x6a9,_0x13cef8:0x4b0,_0x443e2a:0x327,_0x4762d6:0x1b7,_0x4dfefc:0x1c0,_0x135555:0x17,_0x5278fe:0x17e,_0x4c0c04:0x3dc,_0x1565e9:0x28b},_0x170d69={_0x3c5d00:0xa,_0x1f1fce:0x140},_0xbb2622={_0xdc2376:0x157,_0x2bfb47:0x1d1};let {theme:_0x409969}=_0x23be01(),{isFocused:_0x8375d9}=_0x262d5b({'active':!0x0,'autoFocus':_0x4acae5});function _0x18b63a(_0x1afb29,_0x4769ec,_0x4f1b51,_0x41d370){return _0x40e58d(_0x4769ec,_0x4769ec-_0xbb2622._0xdc2376,_0x4f1b51-0x206,_0x41d370-_0xbb2622._0x2bfb47);}function _0x131633(_0x5a47d0,_0x1979e3,_0xab9b41,_0x4cf914){return _0x40e58d(_0x1979e3,_0x1979e3-0xfb,_0x4cf914-_0x170d69._0x3c5d00,_0x4cf914-_0x170d69._0x1f1fce);}return _0x528efb((_0x27d9a6,_0x75ae1b)=>{if(_0x75ae1b['return'])return _0x26824e(),!0x0;},{'isActive':_0x8375d9}),_0x16062b(_0x79a11b,{'alignItems':_0x18b63a(_0x154050._0x5b4c90,0x650,_0x154050._0x27a9c3,_0x154050._0x54050e),'children':[_0xff2351(_0x2e0709,{'color':_0x8375d9?_0x409969[_0x18b63a(_0x154050._0x1cc128,_0x154050._0x2ed609,0x523,_0x154050._0x13cef8)]['primary']:void 0x0,'bold':!0x0,'children':_0x8375d9?'❯\x20':'\x20\x20'}),_0xff2351(_0x2e0709,{'dimColor':!_0x8375d9,'color':_0x8375d9?_0x409969[_0x131633(0x3bc,0x311,0x2ce,_0x154050._0x443e2a)][_0x131633(0x82,0xb6,_0x154050._0x4762d6,_0x154050._0x4dfefc)]:_0x409969[_0x131633(0x15f,_0x154050._0x135555,0x46,_0x154050._0x5278fe)][_0x131633(_0x154050._0x4c0c04,_0x154050._0x1565e9,0x2c2,0x3d1)],'bold':_0x8375d9,'children':_0x5e96f9})]});},Js=({preview:_0x5ed739,onSave:_0x4d0c76,onEdit:_0x4ebc75})=>{const _0x2bf8f6={_0x1d4bfb:0x12b,_0x5d2708:0x44,_0x2303db:0x290,_0x19c9e2:0x8,_0xe075f7:0x4e,_0x54284d:0x3b5,_0x358934:0x21a,_0x33e4a8:0x22c,_0x52a83a:0x22f,_0x16f9f0:0x242,_0x1e7e17:0x2c0,_0x1f16ac:0x13,_0x30b1ba:0x27,_0x48f0b0:0x11d,_0x3b00a8:0x84,_0x195a4c:0x74,_0x399480:0x7f,_0x337d6c:0x9a,_0x1b4fed:0x212,_0xb8c65d:0x1a7,_0x217272:0x9b,_0x471b0e:0x2f4,_0x1b8414:0x5e,_0x14578b:0x56,_0x197334:0x1fb,_0x43de58:0xef,_0x3ee67b:0xa9,_0x6c17b5:0x86,_0xeb6c70:0xf2,_0x1be36e:0x4f,_0x79c16a:0x4,_0x58753d:0x1cf,_0xad8190:0x242,_0x304bb9:0x14e,_0x442565:0x2e,_0x5a974f:0x38,_0x4c8fda:0x1fe,_0x523920:0x54,_0x366869:0x3f,_0x5eb058:0xd1,_0x468489:0x8f,_0x535d43:0x1b,_0x74aae:0xb3,_0x5eb287:0x9a,_0x14d130:0x31,_0x482a71:0x12a,_0x51e35c:0xbe,_0x56e9d9:0x1f,_0x1e41a8:0xd,_0x52137f:0x14b,_0x62823a:0x31d,_0x535569:0xb4,_0x376b9a:0x6d,_0x3e6a39:0x2c,_0x302038:0x11b},_0x49c0c5={_0x58b3e2:0x1eb,_0x4d8dc7:0xda},_0x9336c5={_0x522d50:0x2fc,_0x1ba010:0x93};let {rows:_0x23659b}=_0x4f685a(),{theme:_0x5e5bd5}=_0x23be01();function _0x25fe7a(_0x531c77,_0x1f2409,_0x9754c1,_0x1ca55b){return _0x593b39(_0x531c77-0x10d,_0x531c77- -_0x9336c5._0x522d50,_0x9754c1,_0x1ca55b-_0x9336c5._0x1ba010);}function _0x57b423(_0x14c274,_0x1799d3,_0x374e50,_0x9485f9){return _0x40e58d(_0x374e50,_0x1799d3-_0x49c0c5._0x58b3e2,_0x9485f9- -_0x49c0c5._0x4d8dc7,_0x9485f9-0x2);}return _0xff2351(_0x32a44e,{'visible':!0x0,'title':_0x25fe7a(-_0x2bf8f6._0x1d4bfb,-0x18e,-_0x2bf8f6._0x5d2708,-_0x2bf8f6._0x2303db),'footer':_0xff2351(_0x79a11b,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'children':_0xff2351(_0x1fb0f6,{'segments':[{'text':'Tab','highlight':!0x0},{'text':_0x57b423(-0x104,-_0x2bf8f6._0x19c9e2,0x1cc,0x7a)},{'text':'Enter','highlight':!0x0},{'text':_0x25fe7a(-0xbb,-0x24e,-0x5d,-_0x2bf8f6._0xe075f7)},{'text':_0x25fe7a(0x11,-0x73,0x1b9,0x11),'highlight':!0x0},{'text':'\x20to\x20cancel'}]})}),'height':Math[_0x57b423(_0x2bf8f6._0x54284d,0x1b4,_0x2bf8f6._0x358934,_0x2bf8f6._0x33e4a8)](Qs,_0x23659b-0x4),'children':_0x16062b(_0x79a11b,{'flexDirection':_0x57b423(0x3a2,0x371,0x174,_0x2bf8f6._0x52a83a),'marginTop':0x1,'children':[_0xff2351(_0x79a11b,{'marginBottom':0x1,'children':_0xff2351(_0x2e0709,{'color':_0x5e5bd5['colors'][_0x25fe7a(-_0x2bf8f6._0x16f9f0,-0x32f,-0xdc,-0x180)],'bold':!0x0,'children':_0x5ed739[_0x57b423(0x116,0x462,0x23f,_0x2bf8f6._0x1e7e17)]||_0x25fe7a(_0x2bf8f6._0x1f16ac,-0x4c,0x111,-_0x2bf8f6._0x30b1ba)})}),_0x16062b(_0x79a11b,{'flexDirection':_0x25fe7a(-0xef,-_0x2bf8f6._0x48f0b0,-_0x2bf8f6._0x3b00a8,0x0),'marginBottom':0x1,'children':[_0xff2351(_0x2e0709,{'color':_0x5e5bd5[_0x57b423(_0x2bf8f6._0x195a4c,-0xdf,-_0x2bf8f6._0x399480,_0x2bf8f6._0x337d6c)]['help'],'dimColor':!0x0,'children':_0x25fe7a(-_0x2bf8f6._0x1b4fed,-_0x2bf8f6._0xb8c65d,-_0x2bf8f6._0x217272,-_0x2bf8f6._0x471b0e)}),_0xff2351(_0x2e0709,{'children':_0x5ed739[_0x25fe7a(-_0x2bf8f6._0x1b8414,-_0x2bf8f6._0x14578b,-0x1b3,-_0x2bf8f6._0x197334)]||'(auto-generated)'})]}),_0x16062b(_0x79a11b,{'flexDirection':_0x25fe7a(-_0x2bf8f6._0x43de58,0xbf,_0x2bf8f6._0x3ee67b,-0x12),'marginBottom':0x1,'children':[_0xff2351(_0x2e0709,{'color':_0x5e5bd5[_0x25fe7a(-0x284,-0x2ff,-0x19b,-0x2c4)]['help'],'dimColor':!0x0,'children':_0x25fe7a(-0xa9,-_0x2bf8f6._0x6c17b5,-0x185,0x72)}),_0xff2351(_0x2e0709,{'children':_0x5ed739[_0x25fe7a(-0x2b9,-0x1de,-0x211,-0x130)]||_0x25fe7a(0x2,_0x2bf8f6._0xeb6c70,_0x2bf8f6._0x1be36e,_0x2bf8f6._0x79c16a)})]}),_0x16062b(_0x79a11b,{'flexDirection':_0x25fe7a(-0xef,-_0x2bf8f6._0x58753d,-_0x2bf8f6._0xad8190,-0xef),'marginBottom':0x1,'children':[_0xff2351(_0x2e0709,{'color':_0x5e5bd5['modal'][_0x25fe7a(-0x31,-_0x2bf8f6._0x304bb9,0x158,0xb7)],'dimColor':!0x0,'children':_0x57b423(0x13d,-0x50,-_0x2bf8f6._0x442565,_0x2bf8f6._0x5a974f)}),_0xff2351(_0x2e0709,{'children':_0x5ed739[_0x57b423(0xb0,_0x2bf8f6._0x4c8fda,_0x2bf8f6._0x523920,0x159)]?.[_0x57b423(_0x2bf8f6._0x366869,0x37,_0x2bf8f6._0x5eb058,_0x2bf8f6._0x468489)](',\x20')||_0x25fe7a(-0x6a,-0x1c5,-0x1a4,-_0x2bf8f6._0x535d43)})]}),_0x16062b(_0x79a11b,{'flexDirection':'column','marginBottom':0x1,'children':[_0xff2351(_0x2e0709,{'color':_0x5e5bd5[_0x57b423(0x104,-0xaa,-_0x2bf8f6._0x74aae,_0x2bf8f6._0x5eb287)][_0x25fe7a(-_0x2bf8f6._0x14d130,-0x62,0xdd,-_0x2bf8f6._0x482a71)],'dimColor':!0x0,'children':_0x57b423(_0x2bf8f6._0x1b8414,-0x79,_0x2bf8f6._0x51e35c,_0x2bf8f6._0x56e9d9)}),_0xff2351(_0x2e0709,{'children':_0x5ed739['temperature']??_0x57b423(-_0x2bf8f6._0x1e41a8,0x270,0x4f,_0x2bf8f6._0x52137f)})]}),_0x16062b(_0x79a11b,{'flexDirection':_0x57b423(0x429,_0x2bf8f6._0x62823a,0x1f4,0x2ce),'gap':0x2,'marginY':0x1,'children':[_0xff2351(Zn,{'label':_0x25fe7a(-_0x2bf8f6._0x535569,-0x57,-0x13e,_0x2bf8f6._0x376b9a),'onExecute':_0x4d0c76,'autoFocus':!0x0}),_0xff2351(Zn,{'label':_0x25fe7a(-_0x2bf8f6._0x3e6a39,-_0x2bf8f6._0x302038,0x17d,-0x125),'onExecute':_0x4ebc75})]})]})});},ei=_0xb61444=>_0xff2351(_0xecce90,{'children':_0xff2351(Js,{..._0xb61444})});import{Box as _0x427b2a,Text as _0x1bb996}from'ink';import{Box as _0x3f886b,Text as _0x7d8b98}from'ink';import{Fragment as _0x4f3ffa,jsx as _0x3166a3}from'react/jsx-runtime';var dt=({children:_0x5b55a9,autoFocus:_0x71aa30,disabled:_0x264883,focusId:_0x42e0d6,tabIndex:_0x44282e})=>{let {isFocused:_0x44b4a6}=_0x262d5b({'active':!_0x264883,'autoFocus':_0x71aa30,'id':_0x42e0d6,'tabIndex':_0x44282e});return _0x3166a3(_0x4f3ffa,{'children':_0x5b55a9({'isFocused':_0x264883?!0x1:_0x44b4a6})});};import{jsx as _0x46d696,jsxs as _0x300a42}from'react/jsx-runtime';var tt=({label:_0x50e4cf,value:_0x370cdb,onChange:_0x1c1047,autoFocus:_0x2a7f32,hint:_0x335328,placeHolder:_0x34d645,tabIndex:_0x2aef71,maxLines:_0x476132})=>{const _0x2463fa={_0x5ad291:0xfd};let {theme:_0x4b0494}=_0x23be01();function _0x39f106(_0x596358,_0x5a7b94,_0x5a6a9a,_0x44a75b){return _0x593b39(_0x596358-_0x2463fa._0x5ad291,_0x596358-0x2ef,_0x44a75b,_0x44a75b-0x165);}function _0x132355(_0x338316,_0x13a4c0,_0xe4f370,_0x23bfb1){return _0x40e58d(_0x338316,_0x13a4c0-0x1c9,_0xe4f370-0x10c,_0x23bfb1-0x80);}return _0x46d696(dt,{'autoFocus':_0x2a7f32,'tabIndex':_0x2aef71,'children':({isFocused:_0x382a54})=>_0x300a42(_0x3f886b,{'flexDirection':'column','width':_0x476132!==void 0x0?_0x132355(0x47a,0x4d9,0x478,0x5e9):void 0x0,'children':[_0x46d696(_0x7d8b98,{'color':_0x382a54?_0x4b0494[_0x39f106(0x510,0x5f1,0x475,0x61a)][_0x132355(0x430,0x4fd,0x375,0x3cd)]:_0x4b0494[_0x132355(0x387,0x302,0x280,0x28d)][_0x39f106(0x5ba,0x5e6,0x641,0x601)],'bold':_0x382a54,'dimColor':!_0x382a54,'children':_0x50e4cf}),_0x46d696(_0x2df2d2,{'value':_0x370cdb,'onChange':_0x1c1047,'focus':_0x382a54,'placeholder':_0x34d645,'maxLines':_0x476132,'showScrollbar':_0x476132!==void 0x0}),_0x335328&&_0x46d696(_0x7d8b98,{'color':_0x4b0494['history'][_0x132355(0x46a,0x534,0x4d3,0x5e0)],'dimColor':!0x0,'children':_0x335328})]})});};import{useCallback as _0x52af88,useEffect as _0x5ee76f,useMemo as _0x2d727f,useState as _0x3a2da4}from'react';import{Box as _0x3165f2,Text as _0x368de2}from'ink';import{jsx as _0x2e7e60,jsxs as _0x2a20e2}from'react/jsx-runtime';var ri=({availableTools:_0x4d904e,selectedTools:_0x52d8f7,onChange:_0x4b14ef,tabIndex:_0x318e38})=>{let {theme:_0x306775}=_0x23be01(),[_0x5c4e2b,_0x27734e]=_0x3a2da4(0x0);return _0x2e7e60(dt,{'tabIndex':_0x318e38,'children':({isFocused:_0x4b142a})=>_0x2e7e60(sa,{'isFocused':_0x4b142a,'availableTools':_0x4d904e,'selectedTools':_0x52d8f7,'onChange':_0x4b14ef,'highlightIndex':_0x5c4e2b,'setHighlightIndex':_0x27734e,'theme':_0x306775})});},sa=({isFocused:_0x3cde8b,availableTools:_0x4cc79d,selectedTools:_0x13e166,onChange:_0x4d5e52,highlightIndex:_0x55d2a8,setHighlightIndex:_0x28b137,theme:_0x1218fe})=>{const _0x3c4b44={_0x53bb54:0x10d,_0xbbc7ea:0x1e5,_0x514aba:0x280,_0x53d0c5:0x217,_0x3af881:0x15b,_0x11b650:0x59,_0x39da7d:0x207,_0x58942e:0x9f,_0x3128a0:0x17,_0x5da3d2:0xac,_0x334b05:0x134,_0x3ae409:0x2,_0x48fab9:0xb2,_0x4a57e2:0x142,_0x2db401:0x285,_0x1e8c43:0x2d4,_0x2d221c:0x38b,_0x2b56df:0x290,_0x54fba1:0x249,_0x50258d:0x5d,_0x2fee57:0x54,_0x5018d7:0x261,_0x28d2bb:0x2f5,_0x3c0e27:0x2cb,_0x2a7299:0x83,_0x20abad:0x171,_0xdd79bc:0xb7,_0x4f08b1:0x11d,_0x9eff1d:0x149,_0x3088ce:0x34a,_0x35f90f:0x1aa,_0xdd7115:0x1f4,_0x4d3651:0x2c6,_0x2c1a1e:0x24b,_0x20649f:0x248,_0x16ce89:0x28d,_0x453f49:0x276,_0x302d53:0x9d,_0x544ef7:0x1cd,_0x43750e:0x23f},_0x168a11={_0x127c1c:0x1cf,_0x4ea8a1:0x265,_0x4cf2ee:0x2b6,_0x47987f:0x1a3,_0x2d20d1:0x430,_0x471c80:0x329,_0x512b58:0x166,_0x3de464:0x295,_0x38b247:0x1d8,_0x41ce5d:0x184,_0x5b8f10:0x4d4,_0x283382:0x10e,_0x5ed498:0x2ca,_0x31ba99:0x2d9},_0x421bd0={_0x2d7b1b:0x127},_0x36e097={_0x2f8132:0x63e,_0x308152:0x570,_0x525172:0x493,_0x9dfa26:0x177},_0x1c3fa6={_0xe984b7:0x1c7},_0x5918d6={_0x5119ee:0x590,_0x16a851:0x4af,_0x2d2e8:0x366,_0x1ed981:0x503,_0x4cddaa:0x64e},_0x5856f7={_0x411163:0x1f0,_0x4c387b:0x53,_0x1fd588:0x2f6,_0x5755d6:0x3b2},_0x4c0651={_0x310f88:0x1e0,_0xb62412:0xc5};function _0x411465(_0x5a09e9,_0x40f08c,_0x1fe4b1,_0x478025){return _0x40e58d(_0x1fe4b1,_0x40f08c-_0x4c0651._0x310f88,_0x478025- -0x11b,_0x478025-_0x4c0651._0xb62412);}let _0x5579f6=_0x2d727f(()=>{let _0x4131ae=[..._0x4cc79d];for(let _0x554764 of _0x13e166)_0x4131ae[_0x43492b(_0x5856f7._0x411163,0x2d0,_0x5856f7._0x4c387b,0xaf)](_0x554764)||_0x4131ae[_0x43492b(_0x5856f7._0x1fd588,_0x5856f7._0x5755d6,0x398,0x1e7)](_0x554764);function _0x43492b(_0x41796a,_0x39ffd0,_0x3dbcfe,_0x42e986){return _0x5737(_0x41796a-0xdb,_0x3dbcfe);}function _0x51c756(_0x1a8c96,_0x5cc7d9,_0x3669b6,_0x44960a){return _0x5737(_0x1a8c96- -0x3e7,_0x5cc7d9);}return _0x4131ae;},[_0x4cc79d,_0x13e166]);_0x5ee76f(()=>{_0x3cde8b&&_0x28b137(0x0);},[_0x3cde8b,_0x28b137]),_0x5ee76f(()=>{const _0x588983={_0x59efbe:0x1b2};function _0x244148(_0x3cfc26,_0x3a6191,_0x1ed74a,_0x2b7c7a){return _0x5737(_0x1ed74a-_0x588983._0x59efbe,_0x2b7c7a);}function _0x14e202(_0x48a0c7,_0x20186,_0x17178f,_0x59a155){return _0x5737(_0x17178f-0x1b8,_0x59a155);}_0x28b137(_0x532a7d=>_0x5579f6[_0x244148(0x544,0x453,0x49b,0x470)]===0x0?0x0:Math[_0x14e202(0x509,0x508,0x475,0x5f1)](_0x532a7d,_0x5579f6[_0x244148(0x321,0x3ee,0x49b,0x5f8)]-0x1));},[_0x5579f6,_0x28b137]);let _0x3090a3=_0x52af88(_0x3325b1=>{const _0x2aba52={_0x4719ea:0x39a};function _0xfb54f8(_0x33f195,_0x423980,_0x43f8b3,_0x4191ac){return _0x5737(_0x43f8b3-_0x2aba52._0x4719ea,_0x4191ac);}if(_0x13e166[_0xfb54f8(_0x5918d6._0x5119ee,0x4a3,_0x5918d6._0x16a851,_0x5918d6._0x2d2e8)](_0x3325b1)){_0x4d5e52(_0x13e166[_0xfb54f8(_0x5918d6._0x1ed981,0x7f9,_0x5918d6._0x4cddaa,0x7b7)](_0x3a0c96=>_0x3a0c96!==_0x3325b1));return;}function _0x5205f8(_0x5add3a,_0x1ca490,_0x397b61,_0x3f2887){return _0x5737(_0x1ca490-0x1a,_0x3f2887);}_0x4d5e52([..._0x13e166,_0x3325b1]);},[_0x4d5e52,_0x13e166]);function _0x4400e9(_0xf26c63,_0x415303,_0xe6f483,_0x3df935){return _0x593b39(_0xf26c63-0x103,_0x3df935- -0x21f,_0xf26c63,_0x3df935-0x23);}return _0x528efb((_0x36fad4,_0x3f245b)=>{if(_0x3f245b[_0x57ebdf(-0x1f6,-0x84,-0xe9,-0x1dc)]||_0x3f245b[_0x5ac3d0(_0x36e097._0x2f8132,_0x36e097._0x308152,_0x36e097._0x525172,0x5c5)])return _0x28b137(_0x593764=>_0x593764<=0x0?_0x5579f6['length']-0x1:_0x593764-0x1),!0x0;function _0x57ebdf(_0x1f0d54,_0x4384df,_0x5d715e,_0x1edf4e){return _0x5737(_0x5d715e- -_0x1c3fa6._0xe984b7,_0x1f0d54);}function _0x5ac3d0(_0x2e4b71,_0x4ec4d,_0x3b7997,_0x4c0680){return _0x5737(_0x4ec4d-0x1f9,_0x4c0680);}if(_0x3f245b[_0x57ebdf(-_0x36e097._0x9dfa26,-0x122,-0x41,0x1)]||_0x3f245b['rightArrow'])return _0x28b137(_0x1178b9=>_0x1178b9>=_0x5579f6['length']-0x1?0x0:_0x1178b9+0x1),!0x0;if(_0x36fad4==='\x20')return _0x3090a3(_0x5579f6[_0x55d2a8]),!0x0;},{'isActive':_0x3cde8b}),_0x5579f6[_0x411465(_0x3c4b44._0x53bb54,_0x3c4b44._0xbbc7ea,_0x3c4b44._0x514aba,_0x3c4b44._0x53d0c5)]===0x0?_0x2e7e60(_0x3165f2,{'children':_0x2e7e60(_0x368de2,{'color':_0x1218fe[_0x411465(-_0x3c4b44._0x3af881,-0x22,0x1ad,_0x3c4b44._0x11b650)][_0x4400e9(_0x3c4b44._0x39da7d,-_0x3c4b44._0x58942e,-_0x3c4b44._0x3128a0,_0x3c4b44._0x5da3d2)],'dimColor':!0x0,'children':'No\x20tools\x20available'})}):_0x2a20e2(_0x3165f2,{'flexDirection':'column','children':[_0x2a20e2(_0x368de2,{'children':[_0x2a20e2(_0x368de2,{'color':_0x3cde8b?_0x1218fe[_0x4400e9(_0x3c4b44._0x334b05,0x5d,-0x48,_0x3c4b44._0x3ae409)][_0x4400e9(-0x17c,-0x1e6,-0x75,-_0x3c4b44._0x48fab9)]:_0x1218fe[_0x4400e9(-_0x3c4b44._0x4a57e2,-0x3,-_0x3c4b44._0x2db401,-0x1a7)]['help'],'bold':_0x3cde8b,'dimColor':!_0x3cde8b,'children':[_0x411465(_0x3c4b44._0x1e8c43,_0x3c4b44._0x2d221c,_0x3c4b44._0x2b56df,0x2d7),'\x20']}),_0x2a20e2(_0x368de2,{'color':_0x1218fe[_0x4400e9(_0x3c4b44._0x54fba1,_0x3c4b44._0x50258d,0x182,0xae)][_0x4400e9(-_0x3c4b44._0x2fee57,-0x1de,-_0x3c4b44._0x5018d7,-0xd9)],'children':['(',_0x2e7e60(_0x1fb0f6,{'segments':[{'text':_0x411465(0x3bc,_0x3c4b44._0x28d2bb,0x2cf,_0x3c4b44._0x3c0e27)},{'text':_0x411465(0xa4,_0x3c4b44._0x2a7299,-_0x3c4b44._0x20abad,-0x3d)},{'text':_0x4400e9(-_0x3c4b44._0xdd79bc,-0x1e8,-0x40,-0x1c3)},{'text':_0x411465(_0x3c4b44._0x4f08b1,_0x3c4b44._0x9eff1d,_0x3c4b44._0x3088ce,_0x3c4b44._0x35f90f)},{'text':_0x411465(0x38d,_0x3c4b44._0xdd7115,_0x3c4b44._0x4d3651,_0x3c4b44._0x2c1a1e)},{'text':'\x20continue'}]}),')']})]}),_0x2e7e60(_0x3165f2,{'flexDirection':_0x411465(0x18b,_0x3c4b44._0x20649f,0x361,_0x3c4b44._0x16ce89),'alignItems':_0x4400e9(0x11e,-0x5e,_0x3c4b44._0x453f49,0x103),'paddingX':0x1,'flexWrap':_0x4400e9(-_0x3c4b44._0x302d53,-_0x3c4b44._0x544ef7,-0x188,-_0x3c4b44._0x43750e),'children':_0x5579f6['map']((_0x1c04c7,_0x51dc64)=>{const _0x5cad94={_0xd14f02:0x98,_0x2792f5:0x1b2};function _0x45431d(_0x2f8b1e,_0x19bc3d,_0x11f053,_0x4bc9da){return _0x411465(_0x2f8b1e-_0x5cad94._0xd14f02,_0x19bc3d-_0x5cad94._0x2792f5,_0x11f053,_0x4bc9da-0x25c);}let _0xd02f03=_0x3cde8b&&_0x51dc64===_0x55d2a8,_0x1d6f77=_0x13e166[_0x45431d(_0x168a11._0x127c1c,_0x168a11._0x4ea8a1,0x39b,0x29f)](_0x1c04c7);function _0x3bac85(_0x5b4c89,_0x40de00,_0x4c626b,_0x2f0d91){return _0x411465(_0x5b4c89-0xe1,_0x40de00-0x1d9,_0x40de00,_0x2f0d91-_0x421bd0._0x2d7b1b);}return _0x2e7e60(_0x3165f2,{'marginRight':0x1,'children':_0x2a20e2(_0x368de2,{'color':_0xd02f03?_0x1218fe[_0x3bac85(_0x168a11._0x4cf2ee,_0x168a11._0x47987f,_0x168a11._0x2d20d1,_0x168a11._0x471c80)][_0x3bac85(_0x168a11._0x512b58,_0x168a11._0x3de464,_0x168a11._0x38b247,0x1c2)]:_0x1d6f77?_0x1218fe[_0x3bac85(_0x168a11._0x41ce5d,0x26b,_0x168a11._0x5b8f10,0x329)][_0x3bac85(_0x168a11._0x283382,0x13e,_0x168a11._0x5ed498,0x275)]:_0x1218fe[_0x45431d(_0x168a11._0x31ba99,0x132,0x259,0x2b5)]['help'],'bold':_0xd02f03,'dimColor':!_0xd02f03&&!_0x1d6f77,'children':[_0x1d6f77?'●':'○','\x20',_0x1c04c7]})},_0x1c04c7);})})]});};import{jsx as _0x4d361f,jsxs as _0x15b75d}from'react/jsx-runtime';var aa=0x1e,la=({children:_0x486905,..._0x583e46})=>{const _0x53d39b={_0x3cb08d:0x25,_0x5b87f6:0xef,_0x206b98:0x7a,_0x3dc125:0x64},_0x21d6a8={_0xf2d233:0x28f,_0x44608f:0xa7};function _0x1fc32f(_0x250f89,_0x345fb4,_0x52094a,_0x361567){return _0x40e58d(_0x250f89,_0x345fb4-0x82,_0x52094a- -_0x21d6a8._0xf2d233,_0x361567-_0x21d6a8._0x44608f);}let {cols:_0x31d835}=_0x4f685a();return _0x4d361f(_0x427b2a,{'flexDirection':_0x31d835<0x50?_0x1fc32f(_0x53d39b._0x3cb08d,-_0x53d39b._0x5b87f6,_0x53d39b._0x206b98,-_0x53d39b._0x3dc125):'row','gap':0x2,..._0x583e46,'children':_0x486905});},ca=({mode:_0x30f448,preview:_0x54d9a9,availableTools:_0x133344,editedName:_0x5ca497,editedDescription:_0x3a153a,editedAllowedTools:_0x29498f,editedTemperature:_0x5d3010,editedMaxTokens:_0x1cb85c,editedModel:_0xcf707d,error:_0x13f8d0,isDefault:_0xbbb754,onFieldChange:_0x1ef531,onToolsChange:_0x3bd589,onNavigateToInstructions:_0x2d1ecd,onDelete:_0x121a4f})=>{const _0xb73a15={_0x21fa14:0x8b9,_0x4f42c1:0x7cb,_0x5a4969:0x7b4,_0x532574:0x706,_0xb992ae:0x6e7,_0x646ba9:0x6d7,_0x20af14:0x603,_0x40e45f:0x76e,_0x2c2a81:0x399,_0x456eb2:0x420,_0x9da9af:0x76c,_0x4085e0:0x63b,_0x12fe36:0x53d,_0x311a51:0x78c,_0x34c7d5:0x65f,_0x1585c4:0x559,_0x3b2642:0x4b3,_0x3dda24:0x6e9,_0x3e5cbb:0x4b4,_0x49ceda:0x619,_0x5b7d89:0x17,_0x3b2790:0xfa,_0x3ce68d:0x194,_0x8a5935:0x6bb,_0x3976af:0x7f3,_0x42fce5:0x7f3,_0x1e1c42:0x672,_0x20e7a8:0x521,_0x48e660:0x65e,_0x162e77:0x191,_0x264ef6:0x22c,_0x34998b:0x2e2,_0x3b7eb0:0x15a,_0x8d8eb5:0xd9,_0xe43f48:0x2c,_0x352108:0xc9,_0x1fb385:0x32e,_0x102adb:0x1c0,_0x254ca3:0x442,_0x2f5771:0x4d3,_0x572425:0x89b,_0x3bcd70:0x8ba,_0x2b3e77:0x744,_0x21fe8d:0x64,_0x5e222b:0xd0,_0x5a4d23:0x13e,_0x4dd639:0x113,_0x155633:0x37,_0x5b2918:0x114,_0x3f01dd:0x3e2,_0x2a06b9:0x517,_0x32a11c:0x57d,_0x3f6ab1:0x69d,_0x1ce1f4:0x7df,_0x102ce1:0x5f2,_0x4305a9:0x6a4,_0x52257f:0x691,_0x23c2ed:0x89d,_0x21c215:0x72f,_0x369eea:0x12,_0x16770f:0xe4,_0x573833:0x6c,_0xff6227:0x92,_0x32e621:0x4a7,_0xd851cd:0x2e3,_0x217332:0x3bb,_0x5d961d:0x631,_0x3b163e:0x507},_0x5a89f1={_0x163dbb:0x18a,_0x7134c9:0xdd,_0x5e518f:0x8e},_0x4fe1fc={_0x14fdba:0x10b,_0x323aa8:0x117};let {theme:_0x46247f}=_0x23be01(),{cols:_0x2008fd,rows:_0x1c778e}=_0x4f685a(),_0x41ded5=_0x30f448==='edit'?_0xda6f7e(_0xb73a15._0x21fa14,_0xb73a15._0x4f42c1,_0xb73a15._0x5a4969,_0xb73a15._0x532574):'Edit\x20Generated\x20Agent',_0x2279f6=_0x4d361f(_0x427b2a,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x4d361f(_0x1fb0f6,{'segments':[{'text':'Tab','highlight':!0x0},{'text':'\x20cycle\x20fields\x20•\x20'},{'text':_0xda6f7e(0x550,0x66b,_0xb73a15._0xb992ae,_0xb73a15._0x646ba9),'highlight':!0x0},{'text':'\x20edit\x20instructions\x20•\x20'},{'text':'Ctrl+S','highlight':!0x0},{'text':_0xda6f7e(_0xb73a15._0x20af14,_0xb73a15._0x40e45f,0x59e,0x72c)},{'text':_0x5c93ce(0x32c,0x1f7,0x1de,_0xb73a15._0x2c2a81),'highlight':!0x0},{'text':_0x30f448===_0xda6f7e(0x2f5,0x528,0x450,_0xb73a15._0x456eb2)?_0xda6f7e(0x8b9,0x7f3,0x827,_0xb73a15._0x9da9af):_0xda6f7e(_0xb73a15._0x4085e0,_0xb73a15._0x12fe36,_0xb73a15._0x311a51,_0xb73a15._0x34c7d5)}]})}),_0x521dd2=Math['min'](aa,_0x1c778e-0x4),_0x56158c=_0x13f8d0?.[_0xda6f7e(0x4ed,0x403,_0xb73a15._0x1585c4,_0xb73a15._0x3b2642)](_0xda6f7e(_0xb73a15._0x3dda24,0x51e,_0xb73a15._0x3e5cbb,_0xb73a15._0x49ceda))||_0x13f8d0?.['includes'](_0x5c93ce(_0xb73a15._0x5b7d89,0x93,-_0xb73a15._0x3b2790,-_0xb73a15._0x3ce68d))?_0x46247f['colors']['warning']:_0x46247f[_0xda6f7e(_0xb73a15._0x8a5935,_0xb73a15._0x3976af,_0xb73a15._0x42fce5,_0xb73a15._0x1e1c42)][_0xda6f7e(0x41e,0x58f,0x5a2,0x456)];function _0xda6f7e(_0x5b47db,_0x20223a,_0x3129e1,_0x50f184){return _0x40e58d(_0x3129e1,_0x20223a-_0x4fe1fc._0x14fdba,_0x50f184-0x355,_0x50f184-_0x4fe1fc._0x323aa8);}function _0x5c93ce(_0x5bc083,_0x1dac31,_0x3c88b0,_0x45b8b9){return _0x40e58d(_0x45b8b9,_0x1dac31-_0x5a89f1._0x163dbb,_0x5bc083- -_0x5a89f1._0x7134c9,_0x45b8b9-_0x5a89f1._0x5e518f);}return _0x4d361f(_0x32a44e,{'visible':!0x0,'title':_0x41ded5,'footer':_0x2279f6,'height':_0x521dd2,'children':_0x15b75d(_0x427b2a,{'flexDirection':_0xda6f7e(_0xb73a15._0x20e7a8,0x7dc,0x518,_0xb73a15._0x48e660),'flexShrink':0x1,'height':_0x5c93ce(0x28f,0x1f2,_0xb73a15._0x162e77,0x210),'children':[_0x15b75d(_0x427b2a,{'flexGrow':0x1,'flexDirection':_0x5c93ce(_0xb73a15._0x264ef6,0x1a1,0x191,_0xb73a15._0x34998b),'flexShrink':0x1,'children':[_0x13f8d0?_0x4d361f(_0x427b2a,{'marginBottom':0x1,'children':_0x4d361f(_0x1bb996,{'color':_0x56158c,'children':_0x13f8d0})}):null,_0x4d361f(_0x427b2a,{'marginBottom':0x1,'children':_0x4d361f(_0x1bb996,{'color':_0x46247f[_0x5c93ce(0x240,_0xb73a15._0x3b7eb0,0x229,0x2b1)][_0x5c93ce(_0xb73a15._0x8d8eb5,-_0xb73a15._0xe43f48,0x202,_0xb73a15._0x352108)],'bold':!0x0,'children':_0x54d9a9['name']||_0x5c93ce(_0xb73a15._0x1fb385,_0xb73a15._0x102adb,_0xb73a15._0x254ca3,0x1bd)})}),_0x15b75d(la,{'marginBottom':0x1,'gap':0x2,'children':[_0x4d361f(_0x427b2a,{'flexGrow':0x1,'width':_0x2008fd/0x4,'children':_0x4d361f(tt,{'label':_0xda6f7e(0x4fe,_0xb73a15._0x2f5771,0x60b,0x53b),'value':_0x5ca497,'onChange':_0x270411=>_0x1ef531(_0x5c93ce(0x2bd,0x26e,0x1c1,0x379),_0x270411),'tabIndex':'0'})}),_0x4d361f(_0x427b2a,{'flexGrow':0x1,'width':_0x2008fd/0x4,'children':_0x4d361f(tt,{'label':_0xda6f7e(0x64e,_0xb73a15._0x572425,_0xb73a15._0x3bcd70,_0xb73a15._0x2b3e77),'value':_0xcf707d,'onChange':_0x282552=>_0x1ef531(_0xda6f7e(0x598,0x673,0x5ee,0x4c6),_0x282552),'placeHolder':'(inherited)','tabIndex':'0'})}),_0x4d361f(_0x427b2a,{'flexGrow':0x1,'width':_0x2008fd/0x4,'children':_0x4d361f(tt,{'label':_0x5c93ce(_0xb73a15._0x21fe8d,0x18a,_0xb73a15._0x5e222b,-_0xb73a15._0x5a4d23),'value':_0x5d3010,'onChange':_0x383804=>_0x1ef531(_0xda6f7e(0x6ea,0x5d3,0x63d,0x6d9),_0x383804),'tabIndex':'0'})}),_0x4d361f(_0x427b2a,{'flexGrow':0x1,'width':_0x2008fd/0x4,'children':_0x4d361f(tt,{'label':_0x5c93ce(_0xb73a15._0x4dd639,_0xb73a15._0x155633,_0xb73a15._0x5b2918,0x68),'value':_0x1cb85c,'onChange':_0x464c0f=>_0x1ef531('max_tokens',_0x464c0f),'placeHolder':_0xda6f7e(_0xb73a15._0x3f01dd,0x40f,_0xb73a15._0x2a06b9,_0xb73a15._0x32a11c),'tabIndex':'0'})})]}),_0x4d361f(_0x427b2a,{'flexDirection':'column','marginBottom':0x1,'children':_0x4d361f(ri,{'availableTools':_0x133344,'selectedTools':_0x29498f,'onChange':_0x3bd589,'tabIndex':'0'})}),_0x4d361f(_0x427b2a,{'marginBottom':0x1,'width':'100%','flexGrow':0x1,'children':_0x4d361f(tt,{'label':_0xda6f7e(_0xb73a15._0x3f6ab1,_0xb73a15._0x1ce1f4,_0xb73a15._0x102ce1,_0xb73a15._0x4305a9),'value':_0x3a153a,'onChange':_0x5afd56=>_0x1ef531(_0xda6f7e(0x36e,0x4aa,0x49c,0x494),_0x5afd56),'tabIndex':'0','maxLines':Math[_0xda6f7e(_0xb73a15._0x52257f,_0xb73a15._0x23c2ed,0x8c6,_0xb73a15._0x21c215)](0x3,_0x521dd2-0x11)})})]}),_0x30f448===_0x5c93ce(-_0xb73a15._0x369eea,-_0xb73a15._0x16770f,-_0xb73a15._0x573833,_0xb73a15._0xff6227)&&!_0xbbb754&&_0x121a4f&&_0x4d361f(_0x427b2a,{'marginY':0x1,'alignItems':_0x5c93ce(0x335,_0xb73a15._0x32e621,0x4b2,_0xb73a15._0xd851cd),'children':_0x4d361f(_0x5a2583,{'label':_0xda6f7e(0x403,_0xb73a15._0x217332,_0xb73a15._0x5d961d,_0xb73a15._0x3b163e),'onSubmit':_0x121a4f,'variant':'danger','tabIndex':'0'})})]})});},Ar=_0x5dde14=>_0x4d361f(_0xecce90,{'children':_0x4d361f(ca,{..._0x5dde14})});import{Box as _0x4b7641,Text as _0x4ec31e}from'ink';import{jsx as _0x434a64,jsxs as _0x387014}from'react/jsx-runtime';var ma=({mode:_0x248171,preview:_0x27be18,editedInstructions:_0x4dd05d,error:_0x218c4e,onInstructionsChange:_0x551dec,onNavigateBack:_0x49354a})=>{const _0x55b9f4={_0x558a94:0x162,_0x1798b5:0x219,_0xfa3122:0xb7,_0x3fa9f7:0x1d1,_0x4df87b:0x71,_0x161f45:0x2fb,_0x5a63c3:0x313,_0x4137b6:0x77a,_0x848f47:0x29,_0xbf76ed:0x139,_0x33deaf:0xc4,_0x46ab43:0x30d,_0x2b9366:0x4a9,_0x448c77:0x4d9,_0x32d124:0x5f8,_0x134d51:0x897,_0x30da79:0x826,_0x52e5e6:0x6eb,_0x9f301a:0x77f,_0x2f3fb5:0x212,_0x30e774:0x6d9,_0x298e12:0x68e,_0x59861b:0x74,_0x5dfc22:0x4f,_0x434f94:0x1df,_0x861481:0x130,_0x499682:0x12b,_0x365711:0x2a4,_0x57c810:0x42,_0x545a3c:0x581,_0x24a88b:0x76d},_0x269828={_0x4a911c:0x19a},_0x378885={_0x264f26:0xc1};function _0x1169c8(_0x2768e4,_0x8169dc,_0xeab225,_0x5529cd){return _0x40e58d(_0x8169dc,_0x8169dc-_0x378885._0x264f26,_0x5529cd- -0x167,_0x5529cd-0x111);}let {theme:_0x123090}=_0x23be01(),{rows:_0x114f27}=_0x4f685a(),_0x44cf8b=_0x248171===_0x1169c8(-_0x55b9f4._0x558a94,-_0x55b9f4._0x1798b5,-0x52,-0x9c)?_0x1169c8(-0x11f,-_0x55b9f4._0xfa3122,-0xf3,-0x86):_0x1169c8(_0x55b9f4._0x3fa9f7,-_0x55b9f4._0x4df87b,0x1d3,0xb0),_0x1e620b=_0x434a64(_0x4b7641,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'children':_0x434a64(_0x1fb0f6,{'segments':[{'text':'Ctrl+P','highlight':!0x0},{'text':'\x20agent\x20details\x20•\x20'},{'text':'Ctrl+S','highlight':!0x0},{'text':_0x1169c8(0x33a,_0x55b9f4._0x161f45,_0x55b9f4._0x5a63c3,0x270)},{'text':_0x380f13(0x87f,0x674,0x7fc,_0x55b9f4._0x4137b6),'highlight':!0x0},{'text':_0x1169c8(_0x55b9f4._0x848f47,-0x1d,_0x55b9f4._0xbf76ed,0x167)}]})}),_0x1a971f=Math['min'](0x18,_0x114f27-0xa),_0x54f36b=_0x218c4e?.['includes'](_0x1169c8(0x1f,0x88,_0x55b9f4._0x33deaf,0x15d))||_0x218c4e?.['includes'](_0x380f13(_0x55b9f4._0x46ab43,_0x55b9f4._0x2b9366,_0x55b9f4._0x448c77,0x465))?_0x123090['colors'][_0x380f13(_0x55b9f4._0x32d124,_0x55b9f4._0x134d51,_0x55b9f4._0x30da79,_0x55b9f4._0x52e5e6)]:_0x123090[_0x380f13(0x6a1,_0x55b9f4._0x9f301a,0x784,0x68e)]['error'];function _0x380f13(_0x470d27,_0x282356,_0x5886b6,_0x4869bf){return _0x593b39(_0x470d27-0xad,_0x4869bf-0x46d,_0x5886b6,_0x4869bf-_0x269828._0x4a911c);}return _0x434a64(_0x32a44e,{'visible':!0x0,'title':_0x44cf8b,'footer':_0x1e620b,'children':_0x387014(_0x4b7641,{'flexDirection':_0x1169c8(_0x55b9f4._0x2f3fb5,0x188,0x217,0x1a2),'flexGrow':0x1,'children':[_0x218c4e?_0x434a64(_0x4b7641,{'marginBottom':0x1,'children':_0x434a64(_0x4ec31e,{'color':_0x54f36b,'children':_0x218c4e})}):null,_0x387014(_0x4b7641,{'marginBottom':0x1,'children':[_0x434a64(_0x4ec31e,{'color':_0x123090[_0x380f13(0x50f,0x5c4,_0x55b9f4._0x30e774,_0x55b9f4._0x298e12)][_0x1169c8(0xd1,_0x55b9f4._0x59861b,0x68,_0x55b9f4._0x5dfc22)],'bold':!0x0,'children':_0x27be18[_0x1169c8(_0x55b9f4._0x434f94,_0x55b9f4._0x861481,0x9c,0x233)]||_0x1169c8(0x236,0x139,_0x55b9f4._0x499682,_0x55b9f4._0x365711)}),_0x434a64(_0x4ec31e,{'color':_0x123090[_0x1169c8(0x2d,-_0x55b9f4._0x57c810,0x14d,0xd)]['subtitle'],'children':_0x380f13(_0x55b9f4._0x545a3c,0x4c7,_0x55b9f4._0x24a88b,0x630)})]}),_0x434a64(dt,{'autoFocus':!0x0,'children':({isFocused:_0x2adda5})=>_0x387014(_0x4b7641,{'flexDirection':_0x380f13(0x54b,0x4ce,0x716,0x67a),'flexGrow':0x1,'children':[_0x434a64(_0x4ec31e,{'color':_0x2adda5?_0x123090[_0x1169c8(0x3d,0x32c,0x9f,0x1b6)][_0x380f13(0x667,0x655,0x623,0x5da)]:_0x123090[_0x380f13(0x3e8,0x68f,0x5fe,0x4e5)][_0x1169c8(0x1f4,0x14f,0x2b8,0x260)],'bold':_0x2adda5,'dimColor':!_0x2adda5,'children':_0x1169c8(0x13b,0x1dc,0x245,0x1ba)}),_0x434a64(_0x2df2d2,{'value':_0x4dd05d,'onChange':_0x551dec,'focus':_0x2adda5,'maxLines':_0x1a971f,'showScrollbar':!0x0})]})})]})});},ii=_0x365fd4=>_0x434a64(_0xecce90,{'children':_0x434a64(ma,{..._0x365fd4})});import{Box as _0x273360,Text as _0x1fd95b}from'ink';import{jsx as _0x2e6b19}from'react/jsx-runtime';var ga=0x1e,si=({mode:_0x9e41b4})=>{const _0x3aa696={_0x1dd34f:0x96,_0x5bd739:0x137,_0xa61cc6:0x12a,_0x314b3b:0x13c,_0x968f9c:0x159,_0xcd50ae:0x1a6,_0x35418d:0x5c,_0x58a722:0x161,_0x10297b:0x19d,_0x439b2f:0xce,_0x24f3db:0x175,_0x146b34:0x27d,_0x4d95fe:0x18d,_0x1d09dc:0x2ba,_0x23a910:0x442,_0x53ab60:0x102,_0xaf278:0x5c,_0x3f3930:0x25d},_0x364a64={_0x4a4d0d:0xd2,_0x2933d7:0x10f},_0x1666a6={_0x19db66:0x56,_0x431414:0xda};function _0x48506d(_0x1ebc00,_0x1e85d4,_0x3e84ae,_0x21e716){return _0x40e58d(_0x21e716,_0x1e85d4-_0x1666a6._0x19db66,_0x3e84ae- -0x6f,_0x21e716-_0x1666a6._0x431414);}let {rows:_0x4d2e47}=_0x4f685a(),{theme:_0x6e82b9}=_0x23be01(),_0x2c2a64=_0x9e41b4===_0x48506d(-_0x3aa696._0x1dd34f,-0x125,0x5c,-0xfb)?_0x48506d(_0x3aa696._0x5bd739,0x1c8,0x188,_0x3aa696._0xa61cc6):_0x48506d(_0x3aa696._0x314b3b,_0x3aa696._0x968f9c,_0x3aa696._0xcd50ae,0x13c),_0x237c77=_0x9e41b4===_0x48506d(0x1f1,-0x3d,_0x3aa696._0x35418d,_0x3aa696._0x58a722)?_0x48506d(_0x3aa696._0x10297b,_0x3aa696._0x439b2f,_0x3aa696._0x24f3db,0xbd):_0x48506d(_0x3aa696._0x146b34,_0x3aa696._0x4d95fe,_0x3aa696._0x1d09dc,_0x3aa696._0x23a910),_0x4b4737=_0x9e41b4===_0x48506d(0x1d0,_0x3aa696._0x53ab60,_0x3aa696._0xaf278,0x32)?_0x6e82b9[_0x164c1f(0x2f8,_0x3aa696._0x3f3930,0x41d,0x345)][_0x48506d(0xb6,0xf5,0x147,0xd2)]:_0x6e82b9['colors']['warning'];function _0x164c1f(_0x3d59c8,_0x5bbe67,_0x4c20ea,_0x5eeee3){return _0x40e58d(_0x5bbe67,_0x5bbe67-_0x364a64._0x4a4d0d,_0x5eeee3-0x28,_0x5eeee3-_0x364a64._0x2933d7);}return _0x2e6b19(_0x32a44e,{'visible':!0x0,'title':_0x2c2a64,'height':Math['min'](ga,_0x4d2e47-0x4),'children':_0x2e6b19(_0x273360,{'marginY':0x1,'children':_0x2e6b19(_0x1fd95b,{'color':_0x4b4737,'children':_0x237c77})})});};import{Box as _0x4280b7,Text as _0x463f4d}from'ink';import{jsx as _0x46b0c8,jsxs as _0x11c210}from'react/jsx-runtime';var ci=({error:_0x150e93})=>{const _0x169769={_0x1510fb:0x474,_0x3d6dd9:0x19a,_0xc26ffd:0x2f2,_0x22c2c6:0x3a2,_0x2450da:0x22c,_0x1036e9:0x448},_0x56affd={_0x913cc7:0x1b8,_0x39f0c3:0x195,_0x1e8111:0x8c},_0x399a5f={_0x24bbf7:0x99,_0x471304:0x10f};function _0x2f1447(_0x4928c8,_0x3250da,_0x5be926,_0x11cf3e){return _0x40e58d(_0x3250da,_0x3250da-0x10,_0x5be926-_0x399a5f._0x24bbf7,_0x11cf3e-_0x399a5f._0x471304);}function _0x1322d0(_0x8be0f7,_0x4c931f,_0x64e284,_0x260dc5){return _0x593b39(_0x8be0f7-_0x56affd._0x913cc7,_0x260dc5-_0x56affd._0x39f0c3,_0x64e284,_0x260dc5-_0x56affd._0x1e8111);}let {theme:_0x3c643c}=_0x23be01();return _0x46b0c8(_0x32a44e,{'visible':!0x0,'title':_0x2f1447(0x324,0x477,_0x169769._0x1510fb,0x5b2),'titleColor':_0x3c643c['colors']['error'],'type':_0x2f1447(0x156,0x31c,_0x169769._0x3d6dd9,0x13b),'children':_0x11c210(_0x4280b7,{'flexDirection':_0x1322d0(0x4c2,_0x169769._0xc26ffd,0x29d,_0x169769._0x22c2c6),'marginTop':0x1,'children':[_0x46b0c8(_0x463f4d,{'color':_0x3c643c[_0x2f1447(0x293,_0x169769._0x2450da,0x3b6,_0x169769._0x1036e9)]['error'],'children':_0x150e93}),_0x46b0c8(_0x4280b7,{'marginTop':0x1,'children':_0x46b0c8(_0x463f4d,{'color':_0x3c643c['modal']['help'],'children':'Press\x20ESC\x20to\x20try\x20again'})})]})});};import{jsx as _0xf4b2c8}from'react/jsx-runtime';var pa=({visible:_0x486a4b,onGenerate:_0x641446,onCancel:_0xdfc1a7,onConfirm:_0x4a87aa,onUpdatePreview:_0x347ca9,onDelete:_0x1c07b2,availableTools:_0x1400af=[],loading:_0x5dd967=!0x1,error:_0x46ecef,preview:_0xfe6948,mode:_0x58a54f=_0x40e58d(0x29c,0x410,0x32c,0x428),isDefault:_0x427a5e=!0x1})=>{const _0x4a0d5d={_0x507899:0x184,_0x2892cc:0x376,_0x1811ef:0x1aa,_0x348aae:0x11e,_0x5c2d3f:0xc1,_0x25854e:0x1b0,_0x9c6090:0x18d,_0x104f02:0x293,_0x535e4e:0xdd,_0x210f7e:0x12d,_0x19e286:0x41,_0x199c0c:0x9f,_0x10b873:0x160,_0x41dc00:0xcb,_0x4c6156:0x49,_0xe16f24:0x55,_0xfdbf02:0x10e,_0x40bd64:0x92,_0x1213c5:0x24,_0x5a0048:0x9a,_0x2c9dfd:0xf5,_0x46338f:0x2a6,_0x355b94:0xa5,_0x4316b2:0x234,_0x42bf2b:0x44,_0x2d3446:0x8b,_0x4148c3:0x1,_0x3b34cd:0x178,_0x2e8800:0x26c,_0x46597a:0xb3,_0x41ff25:0x15c,_0x256b4e:0x1a1},_0x19a7f8={_0x53961f:0x4c4,_0x1409db:0x42d,_0x58e3fc:0x63a,_0x4a8a59:0x57b,_0x35ce2a:0x108,_0x15fb92:0x151,_0x1d8ed0:0x36},_0x169486={_0x452e15:0x620,_0x34eeab:0x17d,_0x385cb0:0x14},_0x272a2c={_0xb9072d:0xff,_0x2b865b:0x174},_0x437369={_0x102289:0x400,_0x2e4e1f:0x4c1,_0x22dc68:0x2df,_0x4e188b:0x9d,_0x3f27e5:0x238,_0x470785:0x131,_0x36df67:0x152,_0x428eea:0x4ae,_0xd5806d:0x44f,_0x87ab5c:0x44b,_0x899bcf:0x4d3,_0x562b64:0x2ee,_0xe7b6be:0x47d,_0x177933:0x54b,_0x3dfef6:0x17e,_0x161991:0xe2,_0x44e06f:0x2ec},_0x2e1de4={_0x286074:0x14b,_0x4d7456:0x365},_0xf6c09={_0x4b2784:0x131},_0x32bed2={_0x579db6:0xd2,_0x1d3cf3:0x106,_0x2b558b:0x4f6,_0x8ccb30:0x5d6,_0x3427af:0x6e6,_0x5a8691:0x57d,_0x17fdc0:0x99,_0x228f1f:0x592,_0x275726:0x745,_0x49aea5:0x3d,_0x31ffc4:0x257,_0x11233d:0x226,_0x4b732c:0x1eb,_0x306d2c:0x42b,_0x3badd2:0x32e,_0xdef6a8:0x470},_0x52b923={_0x55c384:0x580,_0x1d3e1d:0xc3},_0x2d5efc={_0x139aeb:0x142},_0x2c0493={_0x1a30cd:0x1d2,_0x453d22:0x5c};function _0x167f29(_0x2db8a3,_0x9b2cd5,_0x3406c2,_0x45f2c4){return _0x40e58d(_0x3406c2,_0x9b2cd5-_0x2c0493._0x1a30cd,_0x2db8a3- -0x29b,_0x45f2c4-_0x2c0493._0x453d22);}function _0x42b170(_0x466f39,_0x23fb88,_0x2dbdd6,_0x76da21){return _0x593b39(_0x466f39-0x5c,_0x466f39- -0x122,_0x2dbdd6,_0x76da21-_0x2d5efc._0x139aeb);}let _0x17b8b2=Wn(_0x58a54f,_0xfe6948,_0x347ca9,_0x4a87aa);return Xn({'visible':_0x486a4b,'state':_0x17b8b2,'actions':_0x17b8b2,'onCancel':_0xdfc1a7,'onConfirm':_0x4a87aa,'onDelete':_0x58a54f===_0x167f29(-0x1d0,-0xfb,-_0x4a0d5d._0x507899,-_0x4a0d5d._0x2892cc)&&!_0x427a5e?_0x1c07b2:void 0x0,'loading':_0x5dd967}),_0x486a4b?_0x5dd967?_0xf4b2c8(si,{'mode':_0x58a54f}):_0x58a54f===_0x167f29(0x91,0xc5,0x61,-0xaa)&&_0x46ecef?_0xf4b2c8(ci,{'error':_0x46ecef}):_0x17b8b2['isEditing']&&_0xfe6948?_0x17b8b2[_0x167f29(0x128,0x20e,0x50,_0x4a0d5d._0x1811ef)]==='instructions'?_0xf4b2c8(ii,{'mode':_0x58a54f,'preview':_0xfe6948,'editedInstructions':_0x17b8b2[_0x167f29(-0xa2,0x15,0x6d,-0xd8)],'error':_0x46ecef,'onInstructionsChange':_0x17b8b2[_0x167f29(_0x4a0d5d._0x348aae,0x11d,_0x4a0d5d._0x5c2d3f,_0x4a0d5d._0x25854e)],'onNavigateBack':_0x17b8b2['navigateToBasicForm']}):_0xf4b2c8(Ar,{'mode':_0x58a54f,'preview':_0xfe6948,'availableTools':_0x1400af,'editedName':_0x17b8b2[_0x167f29(-_0x4a0d5d._0x9c6090,-_0x4a0d5d._0x104f02,-_0x4a0d5d._0x535e4e,-0x277)],'editedDescription':_0x17b8b2[_0x167f29(0x60,-_0x4a0d5d._0x210f7e,-_0x4a0d5d._0x19e286,0xfe)],'editedAllowedTools':_0x17b8b2['editedAllowedTools'],'editedTemperature':_0x17b8b2[_0x42b170(_0x4a0d5d._0x199c0c,_0x4a0d5d._0x10b873,0x1cf,_0x4a0d5d._0x41dc00)],'editedMaxTokens':_0x17b8b2['editedMaxTokens'],'editedModel':_0x17b8b2['editedModel'],'error':_0x46ecef,'isDefault':_0x427a5e,'onFieldChange':(_0x14c9a0,_0x257c11)=>{const _0x254d19={_0x4c84aa:0xca};function _0x48a47c(_0x295cce,_0x163292,_0xe45bff,_0x515ca6){return _0x167f29(_0x163292- -_0x254d19._0x4c84aa,_0x163292-0xfc,_0xe45bff,_0x515ca6-0x145);}function _0x47bd9c(_0x1cd223,_0x48e3ef,_0x1e90c8,_0x5b19f5){return _0x42b170(_0x1cd223-_0x52b923._0x55c384,_0x48e3ef-_0x52b923._0x1d3e1d,_0x1e90c8,_0x5b19f5-0xa0);}switch(_0x14c9a0){case _0x48a47c(-_0x32bed2._0x579db6,0x35,0x18a,_0x32bed2._0x1d3cf3):_0x17b8b2['setEditedName'](_0x257c11);break;case _0x48a47c(-0xa6,-0x1f4,-0xe1,-0x290):_0x17b8b2[_0x47bd9c(0x455,_0x32bed2._0x2b558b,0x5d6,_0x32bed2._0x8ccb30)](_0x257c11);break;case _0x47bd9c(_0x32bed2._0x3427af,0x71d,_0x32bed2._0x5a8691,0x5c4):_0x17b8b2[_0x48a47c(-0x2ee,-0x13e,-0x134,-_0x32bed2._0x17fdc0)](_0x257c11);break;case _0x47bd9c(_0x32bed2._0x228f1f,0x40c,_0x32bed2._0x275726,0x54d):_0x17b8b2[_0x48a47c(-0x56,_0x32bed2._0x49aea5,-0x91,-0x100)](_0x257c11);break;case _0x48a47c(-_0x32bed2._0x31ffc4,-_0x32bed2._0x11233d,-_0x32bed2._0x11233d,-_0x32bed2._0x4b732c):_0x17b8b2[_0x47bd9c(_0x32bed2._0x306d2c,_0x32bed2._0x3badd2,_0x32bed2._0xdef6a8,0x29d)](_0x257c11);break;}},'onToolsChange':_0x17b8b2['setEditedAllowedTools'],'onNavigateToInstructions':_0x17b8b2[_0x42b170(_0x4a0d5d._0x4c6156,0x6e,_0x4a0d5d._0xe16f24,-0x143)],'onDelete':_0x1c07b2}):_0x58a54f===_0x42b170(_0x4a0d5d._0xfdbf02,-_0x4a0d5d._0x40bd64,_0x4a0d5d._0x1213c5,-_0x4a0d5d._0x5a0048)&&_0x17b8b2['showPreview']&&_0xfe6948?_0xf4b2c8(ei,{'preview':_0xfe6948,'onSave':()=>{function _0x4615d6(_0x5bc87f,_0x544949,_0x3102ea,_0x2abb9e){return _0x42b170(_0x3102ea-0x317,_0x544949-0xe7,_0x2abb9e,_0x2abb9e-0x134);}function _0x1d1d53(_0x199cbe,_0x132629,_0x16f1c1,_0x3407c2){return _0x167f29(_0x132629-0x54,_0x132629-0x125,_0x16f1c1,_0x3407c2-_0xf6c09._0x4b2784);}_0x4a87aa?.(),_0x17b8b2[_0x1d1d53(_0x2e1de4._0x286074,0x100,0x1e5,0x1fd)](''),_0x17b8b2[_0x4615d6(0x4c8,0x48f,_0x2e1de4._0x4d7456,0x1e0)](!0x1);},'onEdit':()=>{_0x17b8b2['handleStartEditing']();}}):_0x58a54f==='edit'&&_0xfe6948?_0xf4b2c8(Ar,{'mode':_0x58a54f,'preview':_0xfe6948,'availableTools':_0x1400af,'editedName':_0x17b8b2[_0x167f29(-0x18d,-_0x4a0d5d._0x2c9dfd,-0x2ee,-_0x4a0d5d._0x46338f)],'editedDescription':_0x17b8b2[_0x42b170(_0x4a0d5d._0x535e4e,-_0x4a0d5d._0x355b94,0x1f2,0xa3)],'editedAllowedTools':_0x17b8b2['editedAllowedTools'],'editedTemperature':_0x17b8b2[_0x42b170(_0x4a0d5d._0x199c0c,_0x4a0d5d._0x4316b2,-0x4a,-_0x4a0d5d._0x42bf2b)],'editedMaxTokens':_0x17b8b2[_0x42b170(-0x2,0x87,-_0x4a0d5d._0x2d3446,-0x114)],'editedModel':_0x17b8b2[_0x42b170(0x75,0x164,_0x4a0d5d._0x19e286,-_0x4a0d5d._0x4148c3)],'error':_0x46ecef,'isDefault':_0x427a5e,'onFieldChange':(_0xc57e55,_0x5ce001)=>{const _0x28ce6d={_0x7c69fe:0x301,_0x4e13f9:0x15e,_0x42bd20:0x2e},_0xe8c828={_0x14fe6f:0x362,_0x30e55f:0x7b};function _0xa77828(_0x401e4f,_0x7b5c77,_0x1f2134,_0x1e6381){return _0x167f29(_0x1f2134-_0xe8c828._0x14fe6f,_0x7b5c77-0x178,_0x1e6381,_0x1e6381-_0xe8c828._0x30e55f);}function _0x401437(_0x24bcea,_0x56145a,_0x249794,_0x5777da){return _0x167f29(_0x56145a-_0x28ce6d._0x7c69fe,_0x56145a-_0x28ce6d._0x4e13f9,_0x24bcea,_0x5777da-_0x28ce6d._0x42bd20);}switch(_0xc57e55){case _0x401437(0x57e,_0x437369._0x102289,0x408,_0x437369._0x2e4e1f):_0x17b8b2[_0x401437(_0x437369._0x22dc68,0x1fe,0x32f,0x9c)](_0x5ce001);break;case _0xa77828(_0x437369._0x4e188b,0x2ae,_0x437369._0x3f27e5,_0x437369._0x470785):_0x17b8b2[_0x401437(0x57,0x159,0x207,_0x437369._0x36df67)](_0x5ce001);break;case _0xa77828(_0x437369._0x428eea,_0x437369._0xd5806d,_0x437369._0x87ab5c,_0x437369._0x899bcf):_0x17b8b2[_0xa77828(0x3a1,0x493,_0x437369._0x562b64,0x35e)](_0x5ce001);break;case'max_tokens':_0x17b8b2[_0x401437(_0x437369._0xe7b6be,0x408,0x3fd,_0x437369._0x177933)](_0x5ce001);break;case'description':_0x17b8b2[_0xa77828(_0x437369._0x3dfef6,_0x437369._0x161991,0x190,_0x437369._0x44e06f)](_0x5ce001);break;}},'onToolsChange':_0x17b8b2[_0x42b170(_0x4a0d5d._0x3b34cd,0x16a,_0x4a0d5d._0x2e8800,_0x4a0d5d._0x46597a)],'onNavigateToInstructions':_0x17b8b2['navigateToInstructions'],'onDelete':_0x1c07b2}):_0xf4b2c8(Jn,{'description':_0x17b8b2[_0x167f29(-_0x4a0d5d._0x41ff25,-0x2fb,-0x46,-0x2cb)],'onChange':_0x17b8b2[_0x42b170(0x129,-0xe,_0x4a0d5d._0x256b4e,0x25e)],'onSubmit':()=>{function _0x2fc982(_0x5cbe56,_0x382c7d,_0x3327c5,_0x3b262f){return _0x42b170(_0x5cbe56-_0x272a2c._0xb9072d,_0x382c7d-0x1ee,_0x3327c5,_0x3b262f-_0x272a2c._0x2b865b);}function _0x25f553(_0x30ff11,_0x561048,_0x465ed9,_0x3f1e80){return _0x167f29(_0x3f1e80-_0x169486._0x452e15,_0x561048-_0x169486._0x34eeab,_0x465ed9,_0x3f1e80-_0x169486._0x385cb0);}_0x17b8b2[_0x25f553(0x4ce,0x636,0x4bb,_0x19a7f8._0x53961f)][_0x25f553(_0x19a7f8._0x1409db,0x69d,_0x19a7f8._0x58e3fc,_0x19a7f8._0x4a8a59)]()&&_0x641446(_0x17b8b2[_0x2fc982(0x20,_0x19a7f8._0x35ce2a,_0x19a7f8._0x15fb92,-_0x19a7f8._0x1d8ed0)]);}}):null;},mi=pa;import{jsx as _0x21bfbf}from'react/jsx-runtime';var ha=({context:_0x59df97,deactivate:_0x4c79e2})=>{const _0x2ea758={_0x4d45c2:0xaa,_0xc5fe79:0xca,_0x1dd16a:0x1ed,_0x4c6b5e:0x90,_0x3a0d16:0xa5,_0x33fce3:0x115,_0x2de4f2:0xa4,_0x2a27e1:0x316,_0x4d157a:0x24e,_0x47473c:0x2b1,_0x5e491a:0x1a5,_0x169dd7:0x201,_0x5160cd:0x125,_0xe395bd:0x263,_0x31abe6:0x4f,_0x1eb597:0x164,_0x89c9f5:0x6,_0x576aca:0xf0,_0x1ef45d:0x8e,_0x5de29f:0x31,_0x3ca511:0x310,_0x2a8de2:0x1b9,_0x1f0ee8:0x2db,_0x428579:0xdd,_0x58fe7a:0x51,_0x462bbb:0x6e,_0x31b4bc:0x259,_0xc38d0a:0x12f,_0x1c0e0b:0x206,_0x5508de:0x1a6,_0xe360cb:0x138,_0x29df58:0x8a,_0x14dd02:0x4b,_0x373da6:0x2c8,_0x196534:0x17,_0x48fd7f:0x7a,_0x577f0f:0x24,_0x58a6de:0x2c5,_0x3ab8d4:0x30,_0x2be156:0x62,_0x4f401c:0x41,_0x4b4c5e:0x58,_0x280890:0x1fd,_0x1248a4:0x84,_0x1b0696:0x4f0,_0x1c52a2:0x207,_0x103bc5:0x2a1,_0x389bde:0x343,_0x1055a2:0x38b,_0x446e33:0x238,_0x448587:0x4c,_0x51ef0d:0x49,_0x21aff8:0x52,_0x54aa30:0x2a,_0x11d62c:0x162,_0x37dba:0x38f,_0x14da74:0x26e,_0x57e3cb:0x9,_0x3d4a92:0x9e,_0xdd788a:0x122,_0x4bbd1a:0xd2,_0xb564e5:0x2b,_0x22447a:0x28,_0x21f193:0xb2,_0x20fd6d:0x2},_0x369d0a={_0x26e99a:0x2dc,_0x5937d9:0xe3},_0x2e6abd={_0x5d1909:0x1c7,_0x114ad9:0x2ba,_0x362d8f:0x105,_0x40a5d2:0x2f1,_0x1630c9:0x77,_0x3269ec:0x1e,_0x1bb1da:0x157,_0x427fb7:0x2dc,_0x9d3303:0x1cc,_0x15b710:0x563,_0xfcf4ac:0x3f5,_0x292d8c:0x303,_0x2d430e:0xb9,_0x5d97ba:0xa2,_0x43308c:0xb0,_0x2a26e4:0x572,_0x8efe10:0x38a,_0x4ff6d2:0x2c0,_0x2d5bc9:0x1aa,_0x1c58af:0x256,_0x3e0385:0x6,_0x433a2e:0x157,_0x163e3a:0x19b,_0x48511b:0x163,_0x46d3d3:0x7c,_0x34e51b:0x4c,_0x34acf5:0x2b7,_0x2d70b2:0x1fc,_0x524ce8:0x1e5,_0x410779:0x15e,_0x5bd2e1:0x190,_0x6c5d4:0x2c5,_0xfdfa33:0x246,_0x35f560:0x18e,_0x1e881e:0x3c3,_0x1dd43e:0x3e0,_0x17f769:0x3bd,_0x2589fc:0x191,_0x28d238:0x236,_0x3ceec8:0x171,_0x35156e:0x2b9,_0x492c34:0x181,_0x399c31:0xf3,_0x4893f1:0x247,_0x1d7aaf:0x1c5,_0x391062:0x2a2,_0x5a5676:0x294,_0x389eee:0x2b4,_0x111b5a:0x3ba,_0x536931:0x358,_0xf6b4af:0x423,_0x559d5f:0x171,_0x4a2df5:0x312,_0x4d86c4:0x4ea,_0x3edfbb:0x57,_0x4c2818:0x18a,_0x2b8c37:0x36c,_0x272c6e:0x122,_0x4560be:0x34a,_0x29163a:0x2ca,_0x2e9e9f:0x3f,_0x1d0463:0x58,_0x4e9d2f:0x3d5,_0x50bcd7:0x1ee,_0x49933c:0x33c,_0x227cfb:0xf0,_0x4e5c2c:0x29d,_0x1b0301:0x527,_0x53f178:0x225,_0x2c7d86:0x373,_0x137508:0x292,_0x142b10:0x49a,_0x375915:0x598,_0x409729:0x33d,_0xdad3cf:0x42b,_0x1e6a9b:0x7e,_0x2435fe:0x24,_0x349a02:0x13a,_0x23e2ef:0x135,_0x4bd743:0x1c1,_0x50724d:0x261,_0x1f88d1:0x2dd,_0x5d1d6f:0x138,_0x20f862:0x38,_0x298dec:0x192,_0x571b19:0x399,_0x29c818:0x369,_0x4e4a0a:0x2d5,_0x3caf95:0x3c4,_0x4dff60:0x290,_0x3a8524:0x23b,_0x48f000:0x6c,_0x57c173:0x1ae,_0x46a1d:0xa7,_0x402d63:0x83,_0xa3c7f2:0xad,_0xf92c6d:0x17d,_0x135e5d:0x8f,_0x155791:0xab,_0x552a6d:0xac,_0x49d07d:0x17f,_0x3e1b36:0xf3,_0x5ad4d8:0x6d,_0x293349:0x84,_0x1ddd47:0x12c,_0x252efa:0xa3,_0x740344:0x136,_0x565107:0x1cb,_0x32640b:0xdb,_0x2ad033:0x21b,_0x4a7e72:0x11e,_0x2f9e8f:0x1ed},_0x494797={_0x83a968:0x101,_0x2bf4c8:0xd3,_0x532417:0x91},_0x1515b5={_0x59fe4c:0x15d,_0x1cf611:0x148},_0x9253e5={_0xf7788e:0x23a},_0x3a53c4={_0x344220:0x4bb,_0x2998b4:0x3e6,_0x4859c4:0x6ad,_0x380ddd:0x655,_0x40d73a:0x543,_0x5a0e4e:0x51d,_0x5c74ea:0x680,_0x12296f:0x5e5,_0x14bfb1:0xef,_0x3f4607:0x254,_0x143e4b:0x4d7,_0x84c267:0x570,_0x57d8f8:0x24e,_0x27928c:0x96,_0x1f8b92:0x76,_0x44efa3:0x3b5,_0x23470e:0x2fd,_0x185a6c:0x84,_0x3796fc:0x1bd,_0x35a1fb:0x3ca,_0x2ce30f:0x2ec,_0x2abc05:0x397,_0x138243:0x51f,_0x2c9f36:0x516,_0x86647f:0x61b,_0x160982:0x4db,_0x5e691c:0x282},_0x3ddcda={_0x8eb044:0x285,_0x56da2d:0x26e,_0xde400e:0x1ec,_0x487f86:0x464,_0x18f460:0x304,_0xd9634:0x4c5,_0x292c54:0x486,_0x1374c9:0x7e4,_0x4d63b6:0x3fe,_0x1f78ea:0x48c,_0x45c0b0:0x385,_0x3ac43f:0x484,_0x5d4b77:0x3cf,_0x2bd0e2:0x3bd,_0x3f264e:0x481,_0xd125da:0x4bc,_0x1f8742:0x4c6,_0x543724:0x50a,_0x10c837:0x398,_0xf7371c:0x5e8,_0x9391c6:0x5b9,_0x55cc59:0xa2,_0xd32c34:0x334,_0x1c6708:0x279,_0x38b4ce:0x1,_0x360b5d:0x249,_0x521f10:0xc1,_0x490bb7:0x177,_0x163d47:0x5bd,_0x49c28f:0x602,_0x5adf90:0x328,_0x525056:0x26,_0x17564f:0x12b,_0x4d7603:0x4bd,_0x1829b6:0x4a0,_0x5f2468:0x360,_0x2aa6f0:0x487,_0x50b67e:0x3b0,_0x267715:0x508,_0x2ecebf:0x2c2,_0x5a3bdb:0x33d,_0x2ad64f:0x577,_0x154b85:0x35b},_0xbeeef4={_0x4dd688:0x2a,_0x2a14ce:0x107},_0x57631d={_0x500a4f:0x420,_0x257381:0x1c4,_0x2eb407:0x2ad,_0x2aa5d5:0x4fa,_0x419ad9:0x455,_0x2e2a27:0x414,_0xe6a90e:0x3e9,_0x54a9c6:0x3c3,_0x2f629f:0x3bf,_0x4fa45b:0x1db,_0x1a6284:0x15c,_0x2e6019:0x2d1,_0x268e0e:0x49a,_0x464da7:0x515,_0x2a905e:0x597,_0x211ad0:0x61c,_0x3f32a6:0x524,_0x2210e5:0x4fa,_0x1b1be8:0x3eb,_0x3618db:0x687,_0xd1f46d:0x3ca,_0x42666d:0x58b,_0x42d180:0x5b3,_0x3f4b98:0x3de,_0x5498b7:0x415,_0x2ee4d0:0x4c3,_0x49e089:0x45c,_0x4e32d2:0x3c7,_0x543c7d:0x469,_0x21f674:0x390,_0x1913ad:0x4e8,_0x4e3600:0x604,_0x2a7c7f:0x526,_0x5a4d55:0x459,_0x19e909:0x4a9,_0x2d7f49:0x5e0,_0x5ca437:0x512,_0x14d2a5:0x2d4},_0x51d956={_0x41f158:0x33b,_0x40f6a1:0x137},_0x113a47={_0x1abc73:0x1d,_0x16d884:0x377,_0x5451d5:0x457,_0x20a495:0x88,_0x2e7c85:0x4b1,_0x98dd4e:0x61f,_0x4e0fe:0x4fd,_0x19ce5f:0x680,_0x24d8e1:0x29,_0x119473:0x148,_0x3caab2:0x208,_0x3b17f6:0x1df,_0x5aeec9:0xe6,_0x219520:0xcb,_0x47b7f4:0x361,_0x40c0fa:0x2f8,_0x17dd68:0x1bb,_0xd7b55e:0x1d9,_0x497eef:0x1bd,_0x1722ab:0x25,_0x535765:0x453,_0x46644e:0x485,_0x3ec0ed:0x250},_0x2ed215={_0x4ff70f:0x72,_0x11a0ee:0x134},_0x33d5f1={_0x959573:0x660},_0x286ed2={_0x303533:0x142,_0x16ce2b:0x1fd,_0xae339b:0x18f,_0x1a135a:0x294,_0x34543b:0x32f,_0x547adc:0x31e,_0x479a96:0x152,_0x38184e:0x28b,_0x2d5dd2:0x224,_0x448041:0x1d9,_0x4555b6:0x7e,_0x1a3f08:0x106,_0x1d476b:0x173,_0xf0f622:0xe5,_0x3d240a:0x77,_0x383826:0x4c,_0x44ed9a:0x2,_0x4a6c9d:0x23e,_0x503853:0x17c,_0x4f23f3:0x32d,_0x4e6c60:0x21e,_0x31d44e:0x1cc,_0x48ac80:0x85,_0x5646ae:0x15d,_0x30f5b6:0x6a,_0x1c223a:0x40,_0x306007:0xf3,_0x5211fb:0x43,_0x2a8731:0x1fb,_0x513f46:0x1d7,_0x353417:0x1a5,_0x3699f4:0x208,_0x49b657:0x28b,_0x5ec7e1:0x2bd,_0x226de8:0x280,_0x357ee8:0x250,_0x14aa01:0x7,_0x395b76:0x19a,_0x43efe9:0xd,_0x379c2f:0x22e,_0x3643d0:0x335,_0x5c36c5:0x1f3,_0x5c2120:0x12c,_0x5906ca:0x326,_0x5c9666:0x325,_0x418650:0x3ac},_0x5d0d7e={_0x2cdb7e:0x31},_0x209258={_0x47c201:0x1aa,_0x1a2eeb:0x96,_0x2ebd9d:0x144},_0x1de505={_0x8ad208:0xd6,_0x52a789:0xfc,_0x7dc04a:0x1e8};function _0x539dc4(_0x104f6c,_0x1facc7,_0xa76ee7,_0xa0a727){return _0x593b39(_0x104f6c-_0x1de505._0x8ad208,_0xa0a727-_0x1de505._0x52a789,_0xa76ee7,_0xa0a727-_0x1de505._0x7dc04a);}let {theme:_0x53a698}=_0x23be01(),{setNotification:_0x2f42cf}=_0x981fce(),[_0x39b337,_0x60091f]=_0x345080([]),[_0x13dd26,_0x12f3fa]=_0x345080({}),[_0x57e73d,_0x19afe3]=_0x345080(!0x0),[_0x333f23,_0x393868]=_0x345080(null),[_0x41e502,_0x91f483]=_0x345080(!0x1),[_0x22744d,_0x43ef9f]=_0x345080(!0x1),[_0x7a3ba,_0x2b0e06]=_0x345080(void 0x0),[_0x59369f,_0xc972d7]=_0x345080(void 0x0),[_0x34deb0,_0x5089a3]=_0x345080(null),[_0x230e55,_0x2593dd]=_0x345080([]),[_0x1d07f0,_0x4f4a74]=_0x345080({'activeView':_0x539dc4(-_0x2ea758._0x4d45c2,_0x2ea758._0xc5fe79,0xb4,0xf0),'navigationSource':null,'preservedState':null}),_0x333ad7=_0x584f4e((_0x3cc196,_0x14eebc,_0x3979e6)=>{_0x4f4a74({'activeView':'edit','navigationSource':_0x14eebc,'preservedState':_0x14eebc==='agent-config'?{'selectedAgentName':_0x3cc196,'selectedAgentIndex':_0x3979e6}:null});},[]),_0x3e28ca=_0x584f4e(()=>{function _0x4624d7(_0x4566a3,_0x461ebd,_0x1ea255,_0x52dc86){return _0x539dc4(_0x4566a3-_0x209258._0x47c201,_0x461ebd-_0x209258._0x1a2eeb,_0x4566a3,_0x1ea255- -_0x209258._0x2ebd9d);}_0x4f4a74(()=>({'activeView':_0x4624d7(-0xab,-0x202,-0x54,0x5a),'navigationSource':null,'preservedState':null}));},[]);_0x528efb((_0x4f66d5,_0x2ce357)=>{_0x2ce357['escape']&&(!_0x41e502||_0x22744d)&&(_0x41e502||_0x4c79e2());},{'isActive':!_0x41e502});let _0x4cd318=_0x584f4e(async()=>{const _0x1709e4={_0x3a9028:0x15c,_0x7257bc:0xe3};function _0x3bcc3b(_0x3c4891,_0x113f13,_0x4b234d,_0x16476e){return _0x539dc4(_0x3c4891-_0x5d0d7e._0x2cdb7e,_0x113f13-0x1a6,_0x16476e,_0x113f13- -0x39d);}function _0x379721(_0x9ce252,_0x3ed010,_0x1532f4,_0x316a3f){return _0x539dc4(_0x9ce252-_0x1709e4._0x3a9028,_0x3ed010-_0x1709e4._0x7257bc,_0x3ed010,_0x9ce252- -0xbf);}try{_0x19afe3(!0x0),_0x393868(null);let _0x31b032=_0x59df97[_0x379721(0x77,_0x286ed2._0x303533,0x124,_0x286ed2._0x16ce2b)]?.[_0x379721(_0x286ed2._0xae339b,_0x286ed2._0x1a135a,0x2ab,_0x286ed2._0x34543b)]()?.['getTools']?.(),_0x17fd80=_0x31b032,_0x527428=_0x17fd80?.[_0x379721(_0x286ed2._0x547adc,0x246,0x2a8,0x1fa)]?.(),_0x326230=_0x59df97[_0x379721(0x31,0xde,0xa,-0x16a)][_0x3bcc3b(-0x249,-_0x286ed2._0x479a96,-0x19e,-_0x286ed2._0x38184e)](_0x3bcc3b(-0x375,-_0x286ed2._0x2d5dd2,-_0x286ed2._0x448041,-0x1ff))||{};if(!_0x527428){let _0x4ab258=[_0x379721(_0x286ed2._0x4555b6,0xa0,0x40,0xcd),'',_0x3bcc3b(0xe6,-0x41,-_0x286ed2._0x1a3f08,-0x167),_0x3bcc3b(-0x59,-_0x286ed2._0x1d476b,-0x202,-0xf)+!!_0x59df97[_0x379721(0x77,-0x76,-_0x286ed2._0xf0f622,0xae)]?.['getOrchestrator'](),'-\x20getTools\x20method\x20exists:\x20'+!!_0x59df97[_0x379721(_0x286ed2._0x3d240a,0x12,-_0x286ed2._0x383826,-_0x286ed2._0x44ed9a)]?.[_0x3bcc3b(0x6,-0x14f,-_0x286ed2._0x4a6c9d,-0x2a1)]()?.[_0x379721(_0x286ed2._0x503853,_0x286ed2._0x4f23f3,_0x286ed2._0x4e6c60,0xd7)],_0x3bcc3b(-0x313,-_0x286ed2._0x31d44e,-0x2f3,-_0x286ed2._0x48ac80)+!!_0x31b032,_0x3bcc3b(-0x137,-0x17,_0x286ed2._0x5646ae,-0x186)+!!_0x17fd80?.[_0x3bcc3b(_0x286ed2._0x30f5b6,_0x286ed2._0x1c223a,_0x286ed2._0x306007,_0x286ed2._0x5211fb)],'',_0x379721(_0x286ed2._0x2a8731,_0x286ed2._0x513f46,_0x286ed2._0x353417,0x314),'If\x20the\x20issue\x20persists,\x20the\x20orchestrator\x20may\x20not\x20be\x20fully\x20initialized.'][_0x3bcc3b(-_0x286ed2._0x3699f4,-0x234,-0x3e3,-0xcf)]('\x0a');_0x393868(_0x4ab258),_0x60091f([]),_0x12f3fa({});return;}let _0x9a9451=_0x527428['list']()[_0x379721(0x23e,0xcd,0x110,0x14d)](_0x3e5f67=>_0x3e5f67[_0x379721(0x2f3,0x3ea,0x342,0x410)]!==!0x1)[_0x379721(_0x286ed2._0x49b657,0x362,0x18c,_0x286ed2._0x5ec7e1)](_0x296742=>({..._0x296742,'isDefault':_0x527428['isDefault'](_0x296742['name'])}));_0x60091f(_0x9a9451),_0x12f3fa({..._0x326230});let _0x2a2ed7=_0x31b032;_0x2a2ed7?.[_0x3bcc3b(-_0x286ed2._0x226de8,-0x19a,-0x11,-_0x286ed2._0x357ee8)]&&_0x2a2ed7[_0x3bcc3b(_0x286ed2._0x14aa01,-_0x286ed2._0x395b76,-_0x286ed2._0x43efe9,-_0x286ed2._0x379c2f)]({..._0x326230});}catch(_0x5d265f){let _0xbd13b0=_0x5d265f instanceof Error?_0x5d265f[_0x3bcc3b(-_0x286ed2._0x3643d0,-_0x286ed2._0x5c36c5,-0x209,-_0x286ed2._0x5c2120)]:String(_0x5d265f);_0x393868(_0x379721(_0x286ed2._0x5906ca,_0x286ed2._0x5c9666,_0x286ed2._0x418650,0x3ae)+_0xbd13b0);}finally{_0x19afe3(!0x1);}},[_0x59df97[_0x539dc4(_0x2ea758._0x1dd16a,-_0x2ea758._0x4c6b5e,_0x2ea758._0x3a0d16,0xf0)],_0x59df97[_0x539dc4(0x164,_0x2ea758._0x33fce3,-0x39,0x136)]?.['getOrchestrator']]);_0x5cfeac(()=>{const _0x3e39ed={_0x21a968:0x30,_0x2b62cb:0xac,_0x26aeba:0x74,_0x267069:0x1c9,_0x200895:0x14,_0x3f9e0e:0xbd,_0x541830:0x56,_0x16fc0c:0x229,_0x3cedcb:0x669,_0xc9d7b6:0x44c,_0x54fe84:0x434};let _0x595696=!0x1;return((async()=>{function _0x46d78c(_0x4f507c,_0x39347c,_0x37ca0b,_0x2d93c8){return _0x5737(_0x2d93c8-0x29e,_0x39347c);}function _0x3eca04(_0x5f279b,_0xbf322c,_0x95f3b9,_0x3e5daf){return _0x5737(_0x95f3b9- -0x266,_0xbf322c);}try{let _0x37cd62=_0x59df97[_0x3eca04(_0x3e39ed._0x21a968,-0x27c,-0x179,-_0x3e39ed._0x2b62cb)]?.['getOrchestrator']()?.[_0x3eca04(-0x157,0xd6,-_0x3e39ed._0x26aeba,-0x1ea)]?.();if(_0x37cd62?.['listRegisteredTools']){let _0x17c8d7=await _0x37cd62['listRegisteredTools']();!_0x595696&&Array[_0x3eca04(-_0x3e39ed._0x267069,-_0x3e39ed._0x200895,-_0x3e39ed._0x3f9e0e,_0x3e39ed._0x541830)](_0x17c8d7)&&_0x2593dd(_0x17c8d7);}}catch(_0x3205f1){console[_0x3eca04(-_0x3e39ed._0x16fc0c,-0x159,-0xf2,0x71)](_0x46d78c(0x792,0x58b,0x667,_0x3e39ed._0x3cedcb),_0x3205f1 instanceof Error?_0x3205f1[_0x46d78c(0x51a,_0x3e39ed._0xc9d7b6,_0x3e39ed._0x54fe84,0x3ff)]:String(_0x3205f1));}})()),()=>{_0x595696=!0x0;};},[_0x59df97['orchestratorManager']?.[_0x539dc4(_0x2ea758._0x2de4f2,0x17c,_0x2ea758._0x2a27e1,_0x2ea758._0x4d157a)]]),_0x5cfeac(()=>{_0x4cd318();},[_0x4cd318]);let _0x4bcd0b=_0x584f4e(async(_0x11329b,_0x5adf4f)=>{function _0x538efc(_0x536399,_0x2aa8a5,_0x130614,_0x5cc51e){return _0x44741a(_0x130614,_0x2aa8a5-0x50,_0x5cc51e-_0x33d5f1._0x959573,_0x5cc51e-0x8b);}function _0xae65d7(_0x3ea3b2,_0x4bcf3f,_0x1ed7d0,_0x2520ef){return _0x539dc4(_0x3ea3b2-_0x2ed215._0x4ff70f,_0x4bcf3f-_0x2ed215._0x11a0ee,_0x2520ef,_0x3ea3b2- -0x46);}try{let _0x39b482={..._0x59df97[_0xae65d7(0xaa,_0x113a47._0x1abc73,0x105,0x7f)][_0xae65d7(0x205,0x15e,_0x113a47._0x16d884,0x1a6)](_0x538efc(_0x113a47._0x5451d5,0x588,0x514,0x4fd))||{},[_0x11329b]:_0x5adf4f};await _0x59df97[_0xae65d7(0xaa,0x158,_0x113a47._0x20a495,0xba)][_0x538efc(0x5cc,0x599,0x697,0x6e7)](_0x538efc(0x3c3,_0x113a47._0x2e7c85,_0x113a47._0x98dd4e,_0x113a47._0x4e0fe),_0x39b482,_0x538efc(0x553,0x469,_0x113a47._0x19ce5f,0x5f6)),_0x12f3fa(_0x39b482);let _0x10dd81=_0x59df97[_0xae65d7(0xf0,-_0x113a47._0x24d8e1,_0x113a47._0x119473,0x12c)]?.[_0xae65d7(_0x113a47._0x3caab2,_0x113a47._0x3b17f6,_0x113a47._0x5aeec9,_0x113a47._0x219520)]()?.[_0xae65d7(0x1f5,_0x113a47._0x47b7f4,0x36a,_0x113a47._0x40c0fa)]?.();_0x10dd81?.[_0xae65d7(0x1bd,_0x113a47._0x17dd68,_0x113a47._0xd7b55e,0x26)]&&_0x10dd81[_0xae65d7(_0x113a47._0x497eef,0x9d,_0x113a47._0x1722ab,0x146)](_0x39b482);}catch(_0x4f40c5){console[_0x538efc(_0x113a47._0x535765,0x465,0x55a,_0x113a47._0x46644e)](_0xae65d7(0x285,0x206,0x3bd,_0x113a47._0x3ec0ed),_0x4f40c5);}},[_0x59df97[_0x44741a(-0x17c,-_0x2ea758._0x47473c,-0x1ec,-0xca)],_0x59df97['orchestratorManager']?.[_0x44741a(-_0x2ea758._0x5e491a,-_0x2ea758._0x169dd7,-0x8e,-_0x2ea758._0x5160cd)]]),_0x9f4c0c=_0x584f4e(()=>{_0x5089a3(null),_0x91f483(!0x0),_0x2b0e06(void 0x0),_0xc972d7(void 0x0),_0x43ef9f(!0x1);},[]),_0x14cca9=_0x584f4e(async _0x1debe7=>{const _0xb393f6={_0x3e1962:0x10,_0x358bf8:0x13e};let _0x7c3d6=_0x59df97[_0x372cde(0x3e5,0x4b0,_0x57631d._0x500a4f,0x438)]?.[_0x2ab9c1(_0x57631d._0x257381,0x3b8,_0x57631d._0x2eb407,0x142)]()?.['getTools']?.()?.[_0x372cde(0x68c,0x5a5,0x7da,0x6ee)]?.();if(!_0x7c3d6){_0x393868('Agent\x20registry\x20not\x20available');return;}let _0x77151d=_0x7c3d6[_0x372cde(_0x57631d._0x2aa5d5,0x368,0x49d,0x35f)](_0x1debe7);if(!_0x77151d){_0x4cd318();return;}function _0x372cde(_0x2dcfa2,_0x423440,_0x3c9e97,_0x14cdb2){return _0x44741a(_0x3c9e97,_0x423440-_0xb393f6._0x3e1962,_0x2dcfa2-0x58b,_0x14cdb2-_0xb393f6._0x358bf8);}function _0x2ab9c1(_0x328714,_0x3776cd,_0x310baa,_0x1dd568){return _0x44741a(_0x328714,_0x3776cd-0xb8,_0x310baa-_0x51d956._0x41f158,_0x1dd568-_0x51d956._0x40f6a1);}if(_0x77151d[_0x372cde(0x591,_0x57631d._0x419ad9,0x607,0x47a)]===_0x2ab9c1(_0x57631d._0x2e2a27,_0x57631d._0xe6a90e,_0x57631d._0x54a9c6,_0x57631d._0x2f629f))try{let _0x46e023={..._0x77151d,'location':_0x2ab9c1(_0x57631d._0x4fa45b,_0x57631d._0x1a6284,_0x57631d._0x2e6019,0x263)};await _0x7c3d6[_0x372cde(_0x57631d._0x268e0e,_0x57631d._0x268e0e,_0x57631d._0x464da7,_0x57631d._0x2a905e)](_0x46e023),_0x7c3d6[_0x372cde(_0x57631d._0x211ad0,0x59a,_0x57631d._0x3f32a6,0x667)](_0x46e023),await _0x4cd318();let _0xe427cf=_0x7c3d6[_0x372cde(_0x57631d._0x2210e5,_0x57631d._0x1b1be8,_0x57631d._0x3618db,_0x57631d._0xd1f46d)](_0x1debe7);if(!_0xe427cf){_0x393868(_0x372cde(0x4cf,0x36b,_0x57631d._0x42666d,_0x57631d._0x42d180));return;}_0x2b0e06(_0x372cde(_0x57631d._0x3f4b98,_0x57631d._0x5498b7,0x3b7,_0x57631d._0x2ee4d0)+_0x1debe7+_0x2ab9c1(0x45c,0x326,_0x57631d._0x49e089,0x320));let _0x78757f=_0x39b337[_0x2ab9c1(_0x57631d._0x4e32d2,_0x57631d._0x543c7d,_0x57631d._0x21f674,0x512)](_0x447e69=>_0x447e69['name']===_0x1debe7);_0x333ad7(_0x1debe7,_0x372cde(_0x57631d._0x1913ad,0x452,_0x57631d._0x4e3600,0x54f),_0x78757f),_0x5089a3(_0x1debe7),_0x91f483(!0x0),_0xc972d7(_0xe427cf),_0x43ef9f(!0x1);return;}catch(_0x38a601){_0x393868(_0x372cde(0x383,0x25d,0x402,_0x57631d._0x2a7c7f)+(_0x38a601 instanceof Error?_0x38a601[_0x372cde(0x459,_0x57631d._0x5a4d55,0x5f0,_0x57631d._0x19e909)]:String(_0x38a601)));return;}let _0x4d4eea=_0x39b337[_0x372cde(_0x57631d._0x2d7f49,0x4e4,_0x57631d._0x5ca437,0x687)](_0x41478b=>_0x41478b[_0x2ab9c1(0x541,0x2b2,0x3f9,0x482)]===_0x1debe7);_0x333ad7(_0x1debe7,_0x2ab9c1(_0x57631d._0x14d2a5,0x320,0x298,0x39c),_0x4d4eea),_0x5089a3(_0x1debe7),_0x91f483(!0x0),_0x2b0e06(void 0x0),_0xc972d7(_0x77151d),_0x43ef9f(!0x1);},[_0x4cd318,_0x39b337,_0x333ad7,_0x59df97[_0x539dc4(0x23,-0xa,_0x2ea758._0xe395bd,0x136)]?.[_0x44741a(-0x3a,-_0x2ea758._0x31abe6,-0x8e,-0xae)]]),_0x4bf891=_0x584f4e(async _0x57e06c=>{const _0x3fe2c8={_0x2924ea:0x165,_0x4a974c:0x1d9};function _0x20dd0(_0x5bfc37,_0x13e644,_0x6614f5,_0x4ab030){return _0x539dc4(_0x5bfc37-_0xbeeef4._0x4dd688,_0x13e644-_0xbeeef4._0x2a14ce,_0x4ab030,_0x5bfc37-0x284);}function _0x11ebbe(_0x3864e3,_0x3b2cac,_0x312003,_0x531973){return _0x539dc4(_0x3864e3-_0x3fe2c8._0x2924ea,_0x3b2cac-_0x3fe2c8._0x4a974c,_0x312003,_0x531973-0xb6);}try{let _0x13ca3e=_0x59df97[_0x11ebbe(_0x3ddcda._0x8eb044,0x2ae,_0x3ddcda._0x56da2d,_0x3ddcda._0xde400e)]?.[_0x11ebbe(0x15f,0x33f,_0x3ddcda._0x487f86,_0x3ddcda._0x18f460)]()?.[_0x20dd0(0x4bf,_0x3ddcda._0xd9634,_0x3ddcda._0x292c54,0x380)]?.(),_0x4255cc=_0x13ca3e?.[_0x20dd0(0x661,_0x3ddcda._0x1374c9,0x6e0,0x745)]?.();if(!_0x4255cc){_0x393868('Agent\x20registry\x20not\x20available');return;}if(_0x4255cc[_0x20dd0(0x43d,_0x3ddcda._0x4d63b6,_0x3ddcda._0x1f78ea,_0x3ddcda._0x45c0b0)](_0x57e06c)){_0x393868(_0x20dd0(_0x3ddcda._0x3ac43f,0x346,0x334,0x442));return;}let _0x1a3ddf=_0x4255cc[_0x20dd0(0x4cf,_0x3ddcda._0x5d4b77,_0x3ddcda._0x2bd0e2,_0x3ddcda._0x3f264e)](_0x57e06c);_0x1a3ddf?.[_0x20dd0(0x566,0x668,_0x3ddcda._0xd125da,0x713)]&&_0x1a3ddf[_0x11ebbe(0x330,_0x3ddcda._0x1f8742,_0x3ddcda._0x543724,_0x3ddcda._0x10c837)]!==_0x20dd0(_0x3ddcda._0xf7371c,0x667,_0x3ddcda._0x9391c6,0x461)&&await _0x4255cc[_0x11ebbe(0x13c,_0x3ddcda._0x55cc59,0xf1,0x1b3)](_0x57e06c,_0x1a3ddf['location']),_0x4255cc['unregister'](_0x57e06c),await _0x59df97[_0x11ebbe(_0x3ddcda._0xd32c34,_0x3ddcda._0x1c6708,_0x3ddcda._0x38b4ce,0x1a6)][_0x11ebbe(_0x3ddcda._0x360b5d,_0x3ddcda._0x521f10,0x2b9,_0x3ddcda._0x490bb7)](_0x20dd0(0x5e1,_0x3ddcda._0x163d47,_0x3ddcda._0x49c28f,0x5e6)+_0x57e06c,_0x11ebbe(0x39c,0x370,0x464,_0x3ddcda._0x5adf90));let _0x41abc5=_0x59df97[_0x11ebbe(0x110,_0x3ddcda._0x525056,_0x3ddcda._0x17564f,0x1a6)][_0x20dd0(0x4cf,0x5c7,_0x3ddcda._0x4d7603,_0x3ddcda._0x1829b6)](_0x20dd0(0x3fd,0x36b,_0x3ddcda._0x5f2468,0x4b7))||{};_0x12f3fa(_0x41abc5);let _0x11bbf5=_0x13ca3e;_0x11bbf5?.[_0x11ebbe(0x125,0x17c,0x315,0x2b9)]&&_0x11bbf5[_0x20dd0(_0x3ddcda._0x2aa6f0,_0x3ddcda._0x50b67e,_0x3ddcda._0x267715,0x615)](_0x41abc5);let _0x1dfddd=_0x4255cc['list']()[_0x11ebbe(0x4d1,_0x3ddcda._0x2ecebf,_0x3ddcda._0x5a3bdb,0x3b3)](_0x1dee5e=>_0x1dee5e['user_invocable']!==!0x1)[_0x11ebbe(0x305,_0x3ddcda._0x2ad64f,_0x3ddcda._0x154b85,0x400)](_0x4f6289=>({..._0x4f6289,'isDefault':_0x4255cc['isDefault'](_0x4f6289[_0x11ebbe(0x2d8,0x524,0x358,0x450)])}));_0x60091f(_0x1dfddd),_0x3e28ca(),_0x91f483(!0x1),_0x2b0e06(void 0x0),_0xc972d7(void 0x0),_0x5089a3(null);}catch(_0x5dd387){_0x393868('Failed\x20to\x20delete\x20agent:\x20'+(_0x5dd387 instanceof Error?_0x5dd387['message']:String(_0x5dd387)));}},[_0x59df97[_0x44741a(-0xb4,-_0x2ea758._0x1eb597,-0x1ec,-0xdd)],_0x59df97[_0x539dc4(0x99,0x1f,-_0x2ea758._0x89c9f5,0x136)]?.[_0x44741a(-0x1d3,-_0x2ea758._0x576aca,-_0x2ea758._0x1ef45d,-_0x2ea758._0x5de29f)],_0x3e28ca]),_0x2e0add=async _0x5a5417=>{const _0x1abef3={_0x5dc063:0xce};function _0x6f5be(_0x17e2f8,_0x58de12,_0x56bd17,_0x1baa4b){return _0x44741a(_0x58de12,_0x58de12-0x45,_0x17e2f8-0x5a5,_0x1baa4b-_0x1abef3._0x5dc063);}function _0x48e5bd(_0x3e6461,_0x4149b6,_0x317519,_0x308fe1){return _0x539dc4(_0x3e6461-0x1df,_0x4149b6-0x3f,_0x317519,_0x3e6461- -0x33d);}try{_0x43ef9f(!0x0),_0x2b0e06(void 0x0),_0x5089a3(null);let _0x420559=_0x59df97[_0x6f5be(0x3ff,0x303,_0x3a53c4._0x344220,0x3d0)]?.[_0x6f5be(0x517,_0x3a53c4._0x2998b4,_0x3a53c4._0x4859c4,_0x3a53c4._0x380ddd)]()?.[_0x6f5be(_0x3a53c4._0x40d73a,_0x3a53c4._0x5a0e4e,_0x3a53c4._0x5c74ea,_0x3a53c4._0x12296f)]?.(),_0x481df9=_0x59df97[_0x48e5bd(-0x207,-0xb5,-0x15f,-0x1d7)]?.[_0x48e5bd(-_0x3a53c4._0x14bfb1,-_0x3a53c4._0x3f4607,0x14,-0xd3)]()?.[_0x6f5be(_0x3a53c4._0x143e4b,_0x3a53c4._0x84c267,_0x3a53c4._0x2998b4,0x367)]?.()?.[_0x48e5bd(-0x1cc,-0x40,-_0x3a53c4._0x57d8f8,-0x2d7)]||'gpt-4';if(!_0x420559){_0x2b0e06(_0x48e5bd(-_0x3a53c4._0x27928c,0xc1,_0x3a53c4._0x1f8b92,-0x1ae)),_0x43ef9f(!0x1);return;}let _0x4cb0fe=await new zo(_0x420559)[_0x6f5be(_0x3a53c4._0x44efa3,_0x3a53c4._0x23470e,0x21b,0x3f9)](_0x5a5417,_0x481df9);if(!_0x4cb0fe[_0x48e5bd(-_0x3a53c4._0x185a6c,0x48,-_0x3a53c4._0x3796fc,0x27)]||!_0x4cb0fe['agent']){_0x2b0e06(_0x4cb0fe[_0x6f5be(_0x3a53c4._0x35a1fb,_0x3a53c4._0x2ce30f,_0x3a53c4._0x2abc05,_0x3a53c4._0x138243)]||_0x6f5be(_0x3a53c4._0x2c9f36,_0x3a53c4._0x86647f,0x49b,_0x3a53c4._0x160982)),_0x43ef9f(!0x1);return;}_0xc972d7(_0x4cb0fe[_0x6f5be(0x45d,0x49c,_0x3a53c4._0x143e4b,0x4fb)]),_0x43ef9f(!0x1);}catch(_0x580454){_0x2b0e06('Error\x20creating\x20agent:\x20'+(_0x580454 instanceof Error?_0x580454[_0x48e5bd(-0x193,-_0x3a53c4._0x5e691c,-0x1d6,-0x2dd)]:String(_0x580454))),_0x43ef9f(!0x1);}},_0x302233=()=>{const _0x2f05d7={_0x507ac0:0x17f,_0x38a764:0xe0};function _0x3ac42e(_0x25c9ea,_0x16a04f,_0x5041ea,_0x3ccb83){return _0x44741a(_0x25c9ea,_0x16a04f-_0x2f05d7._0x507ac0,_0x3ccb83-0x2dd,_0x3ccb83-_0x2f05d7._0x38a764);}_0x1d07f0['navigationSource']===_0x3ac42e(0xeb,0x2fa,0x398,_0x9253e5._0xf7788e)?(_0x3e28ca(),_0x91f483(!0x1),_0x2b0e06(void 0x0),_0xc972d7(void 0x0),_0x43ef9f(!0x1),_0x5089a3(null)):(_0x91f483(!0x1),_0x2b0e06(void 0x0),_0xc972d7(void 0x0),_0x43ef9f(!0x1),_0x5089a3(null),_0x4c79e2());},_0x31b792=()=>{_0x2b0e06(void 0x0);},_0x2ba932=_0x17b315=>{_0xc972d7(_0x17b315),_0x2b0e06(void 0x0);},_0xd86322=_0x584f4e(async _0x1257c9=>{let _0x3a87bc=_0x1257c9??_0x59369f;function _0x45eee7(_0x2b631c,_0x3d3902,_0x45c2ec,_0x18269f){return _0x44741a(_0x18269f,_0x3d3902-0x179,_0x2b631c-_0x1515b5._0x59fe4c,_0x18269f-_0x1515b5._0x1cf611);}function _0x591442(_0x216973,_0x2b6a24,_0x6301dd,_0x541f97){return _0x539dc4(_0x216973-_0x494797._0x83a968,_0x2b6a24-_0x494797._0x2bf4c8,_0x216973,_0x541f97-_0x494797._0x532417);}if(_0x3a87bc){_0x43ef9f(!0x0);try{let _0x86268d=_0x59df97[_0x591442(0x2d,0xff,0x344,_0x2e6abd._0x5d1909)]?.['getOrchestrator']()?.['getTools']?.(),_0x4b81bc=_0x86268d?.['getAgentRegistry']?.();if(!_0x4b81bc){_0x393868(_0x45eee7(0x16e,_0x2e6abd._0x114ad9,-0x30,0x1e6));return;}if(_0x34deb0){if(_0x4b81bc[_0x591442(_0x2e6abd._0x362d8f,_0x2e6abd._0x40a5d2,0xfd,0x24a)](_0x34deb0)){_0x2b0e06(_0x45eee7(0xe2,0x1a7,_0x2e6abd._0x1630c9,_0x2e6abd._0x3269ec));return;}let _0x1c3548=_0x4b81bc[_0x591442(_0x2e6abd._0x1bb1da,0x302,0x3d7,_0x2e6abd._0x427fb7)](_0x34deb0);if(!_0x1c3548){_0x2b0e06('Agent\x20not\x20found.\x20Please\x20refresh\x20and\x20try\x20again.');return;}let _0x297ac4=_0x4b81bc['applyDefaults'](_0x3a87bc),_0x3abb52=_0x297ac4['name'],_0x3254ea=_0x3abb52!==_0x34deb0;if((_0x297ac4['location']===_0x45eee7(0x1e5,_0x2e6abd._0x9d3303,0x146,0x299)||_0x1c3548['location']===_0x591442(0x4ef,0x3ce,_0x2e6abd._0x15b710,_0x2e6abd._0xfcf4ac))&&(_0x297ac4['location']=_0x591442(0x373,0x360,0x376,_0x2e6abd._0x292d8c)),_0x3254ea&&_0x4b81bc[_0x45eee7(-_0x2e6abd._0x2d430e,_0x2e6abd._0x5d97ba,_0x2e6abd._0x43308c,-0x51)](_0x3abb52)){_0x2b0e06(_0x591442(_0x2e6abd._0x2a26e4,_0x2e6abd._0x8efe10,0x3ca,0x493)+_0x3abb52+_0x591442(0x1f6,0x228,_0x2e6abd._0x4ff6d2,0x227));return;}let _0x3da114=_0x59df97['config'][_0x45eee7(0xcc,_0x2e6abd._0x2d5bc9,_0x2e6abd._0x1c58af,0x161)](_0x45eee7(-_0x2e6abd._0x3e0385,-_0x2e6abd._0x433a2e,-_0x2e6abd._0x163e3a,0x160))||{},_0x3093ad=_0x3da114[_0x34deb0]??!0x0,_0x596e0a={..._0x3da114},_0x3e4f5d=!0x1,_0x57b152=!0x1,_0x37f0a0=!0x1;try{_0x3254ea&&_0x1c3548[_0x45eee7(_0x2e6abd._0x48511b,_0x2e6abd._0x46d3d3,-_0x2e6abd._0x34e51b,0x21a)]&&_0x1c3548[_0x45eee7(0x163,_0x2e6abd._0x34acf5,_0x2e6abd._0x2d70b2,0x10c)]!==_0x45eee7(_0x2e6abd._0x524ce8,_0x2e6abd._0x410779,_0x2e6abd._0x5bd2e1,0x304)&&(await _0x4b81bc[_0x591442(_0x2e6abd._0x6c5d4,_0x2e6abd._0xfdfa33,0x33a,_0x2e6abd._0x35f560)](_0x34deb0,_0x1c3548[_0x591442(0x1eb,0x229,_0x2e6abd._0x1e881e,0x373)]),_0x37f0a0=!0x0),await _0x4b81bc[_0x591442(0x23d,0x2ed,0x3ca,0x27c)](_0x297ac4),_0x57b152=!0x0,_0x3254ea&&_0x4b81bc[_0x591442(_0x2e6abd._0x1dd43e,_0x2e6abd._0x17f769,0x531,0x4ae)](_0x34deb0),_0x4b81bc[_0x45eee7(0x1ee,_0x2e6abd._0x2589fc,0x24b,_0x2e6abd._0x28d238)](_0x297ac4),_0x3e4f5d=!0x0,_0x3254ea&&delete _0x596e0a[_0x34deb0],_0x3abb52&&(_0x596e0a[_0x3abb52]=_0x3093ad??!0x0),await _0x59df97[_0x591442(_0x2e6abd._0x3ceec8,0x1e7,_0x2e6abd._0x35156e,_0x2e6abd._0x492c34)]['set']('agentsEnabled',_0x596e0a,_0x45eee7(_0x2e6abd._0x399c31,_0x2e6abd._0x4893f1,0x21a,_0x2e6abd._0x1d7aaf)),_0x12f3fa(_0x596e0a);let _0x481b9e=_0x86268d;_0x481b9e?.[_0x591442(0x26c,_0x2e6abd._0x391062,0x35b,_0x2e6abd._0x5a5676)]&&_0x481b9e['setEnabledAgents'](_0x596e0a);let _0x508544=_0x4b81bc[_0x591442(_0x2e6abd._0x389eee,_0x2e6abd._0x111b5a,_0x2e6abd._0x536931,_0x2e6abd._0xf6b4af)]()[_0x45eee7(0x17e,_0x2e6abd._0x559d5f,_0x2e6abd._0x4a2df5,0x2c5)](_0x2c0e1d=>_0x2c0e1d[_0x591442(0x55f,0x3a0,0x30f,0x443)]!==!0x1)[_0x591442(_0x2e6abd._0x4d86c4,0x575,0x301,0x3db)](_0x379433=>({..._0x379433,'isDefault':_0x4b81bc['isDefault'](_0x379433['name'])}));_0x60091f(_0x508544);let _0x2add1f=_0x508544['findIndex'](_0xa0caf1=>_0xa0caf1['name']===_0x3abb52),_0x579a10=_0x2add1f>=0x0?_0x2add1f:_0x1d07f0[_0x45eee7(0xef,-_0x2e6abd._0x3edfbb,-0xbb,_0x2e6abd._0x4c2818)]?.[_0x591442(0x2ef,0x207,-0x10,_0x2e6abd._0x48511b)]??0x0;_0x1d07f0[_0x591442(0x4a1,0x277,0x242,_0x2e6abd._0x2b8c37)]===_0x591442(0x2ab,_0x2e6abd._0x272c6e,_0x2e6abd._0x4560be,_0x2e6abd._0x29163a)?(_0x34deb0==='nuvin'&&_0x2f42cf(_0x45eee7(0x58,-0xa,-_0x2e6abd._0x2e9e9f,-0xdc),0x1388),_0x4f4a74({'activeView':'config','navigationSource':null,'preservedState':{'selectedAgentName':_0x3abb52??null,'selectedAgentIndex':_0x579a10}}),_0x91f483(!0x1),_0x2b0e06(void 0x0),_0xc972d7(void 0x0),_0x5089a3(null)):(_0x34deb0==='nuvin'&&_0x2f42cf(_0x45eee7(_0x2e6abd._0x1d0463,0x28,-0xfa,0x81),0x1388),_0x91f483(!0x1),_0x2b0e06(void 0x0),_0xc972d7(void 0x0),_0x5089a3(null),_0x4c79e2());}catch(_0x46e35e){if(_0x3e4f5d&&_0x4b81bc[_0x45eee7(0x29e,_0x2e6abd._0x4e9d2f,0x1d8,0x437)](_0x297ac4['name']),_0x4b81bc[_0x591442(0x2a3,0x8f,0x124,0x157)](_0x34deb0)||_0x4b81bc[_0x45eee7(_0x2e6abd._0x50bcd7,_0x2e6abd._0x49933c,_0x2e6abd._0x227cfb,0x299)](_0x1c3548),_0x57b152&&_0x3254ea&&_0x1c3548[_0x591442(_0x2e6abd._0x4e5c2c,0x3ed,_0x2e6abd._0x1b0301,0x373)]&&_0x1c3548[_0x591442(_0x2e6abd._0x53f178,0x321,0x25f,_0x2e6abd._0x2c7d86)]!==_0x45eee7(0x1e5,0x125,0x126,_0x2e6abd._0x137508))try{await _0x4b81bc['deleteFromFile'](_0x297ac4[_0x591442(_0x2e6abd._0x142b10,_0x2e6abd._0x375915,_0x2e6abd._0x409729,_0x2e6abd._0xdad3cf)],_0x1c3548['location']);}catch(_0x4c4b73){console[_0x45eee7(-_0x2e6abd._0x1e6a9b,-_0x2e6abd._0x2435fe,-0x226,-_0x2e6abd._0x349a02)](_0x45eee7(0x260,0x13e,_0x2e6abd._0x23e2ef,_0x2e6abd._0x4bd743),_0x4c4b73 instanceof Error?_0x4c4b73[_0x591442(_0x2e6abd._0x50724d,0x2e1,_0x2e6abd._0x1f88d1,0x23b)]:String(_0x4c4b73));}if(_0x37f0a0)try{await _0x4b81bc['saveToFile'](_0x1c3548);}catch(_0x27d1f2){console[_0x591442(_0x2e6abd._0x5d1d6f,0x32b,_0x2e6abd._0x20f862,_0x2e6abd._0x298dec)](_0x591442(_0x2e6abd._0x571b19,_0x2e6abd._0x29c818,_0x2e6abd._0x4e4a0a,_0x2e6abd._0x3caf95),_0x27d1f2 instanceof Error?_0x27d1f2[_0x591442(_0x2e6abd._0x4dff60,0xaf,0x92,_0x2e6abd._0x3a8524)]:String(_0x27d1f2));}throw _0x46e35e;}}else{let _0x989fd5=_0x4b81bc['applyDefaults'](_0x3a87bc);_0x4b81bc['register'](_0x989fd5),await _0x4b81bc[_0x45eee7(_0x2e6abd._0x48f000,_0x2e6abd._0x57c173,_0x2e6abd._0x46a1d,-_0x2e6abd._0x402d63)](_0x989fd5);let _0x32d71d={..._0x59df97['config'][_0x591442(0x17a,0x28e,0x425,0x2dc)](_0x45eee7(-0x6,_0x2e6abd._0xa3c7f2,-0x121,-_0x2e6abd._0xf92c6d))||{},[_0x989fd5['name']]:!0x0};await _0x59df97[_0x45eee7(-_0x2e6abd._0x135e5d,0x7c,-_0x2e6abd._0x155791,-0x20f)]['set'](_0x45eee7(-0x6,-_0x2e6abd._0x552a6d,_0x2e6abd._0x49d07d,-0xec),_0x32d71d,_0x45eee7(_0x2e6abd._0x3e1b36,-_0x2e6abd._0x5ad4d8,0x2a1,0xd8)),_0x12f3fa(_0x32d71d);let _0x36f9e6=_0x86268d;_0x36f9e6?.['setEnabledAgents']&&_0x36f9e6[_0x45eee7(_0x2e6abd._0x293349,-_0x2e6abd._0x1ddd47,_0x2e6abd._0x252efa,0x1cb)](_0x32d71d);let _0x47fd88=_0x4b81bc[_0x45eee7(0x213,_0x2e6abd._0x740344,0x69,0x2f4)]()['filter'](_0x437a12=>_0x437a12[_0x591442(0x4b4,0x2dc,0x3ec,0x443)]!==!0x1)[_0x45eee7(_0x2e6abd._0x565107,0x17e,_0x2e6abd._0x32640b,0xcb)](_0x4680e=>({..._0x4680e,'isDefault':_0x4b81bc[_0x591442(0x374,0x2a1,0x1a1,0x24a)](_0x4680e['name'])}));if(_0x60091f(_0x47fd88),_0x1d07f0['navigationSource']==='agent-config'){let _0x31ffe7=_0x47fd88['findIndex'](_0x503fe2=>_0x503fe2[_0x591442(0x543,0x4c6,0x5d4,0x42b)]===_0x989fd5[_0x45eee7(0x21b,0x121,0xce,0xe7)]),_0xaebf26=_0x31ffe7>=0x0?_0x31ffe7:0x0;_0x4f4a74({'activeView':'config','navigationSource':null,'preservedState':{'selectedAgentName':_0x989fd5[_0x45eee7(_0x2e6abd._0x2ad033,0x12a,0x29e,_0x2e6abd._0x4a7e72)],'selectedAgentIndex':_0xaebf26}}),_0x91f483(!0x1),_0x2b0e06(void 0x0),_0xc972d7(void 0x0);}else _0x91f483(!0x1),_0x2b0e06(void 0x0),_0xc972d7(void 0x0),_0x4c79e2();}}catch(_0x220991){_0x2b0e06(_0x45eee7(0x13f,-0x34,0x104,0x107)+(_0x220991 instanceof Error?_0x220991[_0x591442(_0x2e6abd._0x2f9e8f,0x122,0x2e3,_0x2e6abd._0x3a8524)]:String(_0x220991)));}finally{_0x43ef9f(!0x1);}}},[_0x59df97['config'],_0x59369f,_0x34deb0,_0x1d07f0[_0x539dc4(_0x2ea758._0x3ca511,0x454,_0x2ea758._0x2a8de2,_0x2ea758._0x1f0ee8)],_0x4c79e2,_0x1d07f0[_0x44741a(-_0x2ea758._0x428579,-_0x2ea758._0x58fe7a,-_0x2ea758._0x462bbb,0x11a)]?.[_0x539dc4(0x1be,_0x2ea758._0x31b4bc,_0x2ea758._0xc38d0a,0xd2)],_0x59df97[_0x44741a(-_0x2ea758._0x1c0e0b,-0x296,-_0x2ea758._0x5508de,-_0x2ea758._0xe360cb)]?.[_0x44741a(-0x154,_0x2ea758._0x29df58,-0x8e,-_0x2ea758._0x14dd02)],_0x2f42cf]);if(_0x41e502){let _0x3ffa6c=(_0x34deb0?_0x39b337[_0x44741a(0x14a,_0x2ea758._0x373da6,0x117,_0x2ea758._0x196534)](_0x1d843b=>_0x1d843b[_0x539dc4(0x391,0x38d,0x219,0x39a)]===_0x34deb0):null)?.['isDefault']??!0x1;return _0x21bfbf(mi,{'visible':!0x0,'mode':_0x34deb0?_0x539dc4(-0xd6,0x1c2,_0x2ea758._0x48fd7f,0xcb):_0x44741a(-0xc7,0x132,0x50,_0x2ea758._0x577f0f),'onGenerate':_0x2e0add,'onCancel':_0x302233,'onConfirm':_0xd86322,'onEditPreview':_0x31b792,'onUpdatePreview':_0x2ba932,'onDelete':_0x34deb0&&!_0x3ffa6c?()=>_0x4bf891(_0x34deb0):void 0x0,'availableTools':_0x230e55,'loading':_0x22744d,'error':_0x7a3ba,'preview':_0x59369f,'isDefault':_0x3ffa6c,'navigationSource':_0x1d07f0[_0x539dc4(_0x2ea758._0x58a6de,0x3b7,0x315,_0x2ea758._0x1f0ee8)]||'direct'});}if(_0x57e73d)return _0x21bfbf(_0x32a44e,{'visible':!0x0,'title':'Agent\x20Configuration','onClose':_0x4c79e2,'closeOnEscape':!0x0,'children':_0x21bfbf(_0x573391,{'color':_0x53a698[_0x44741a(_0x2ea758._0x3ab8d4,-_0x2ea758._0x2be156,_0x2ea758._0x4f401c,_0x2ea758._0x4b4c5e)][_0x44741a(-0x1d,_0x2ea758._0x280890,0x9e,_0x2ea758._0x1248a4)],'children':'Loading\x20agents...'})});function _0x44741a(_0x209ce6,_0x52a868,_0x13aa6b,_0x1b4e2d){return _0x40e58d(_0x209ce6,_0x52a868-0xdf,_0x13aa6b- -_0x369d0a._0x26e99a,_0x1b4e2d-_0x369d0a._0x5937d9);}if(_0x333f23)return _0x21bfbf(_0x32a44e,{'visible':!0x0,'title':_0x539dc4(_0x2ea758._0x1b0696,_0x2ea758._0x1c52a2,0x262,0x3b3),'titleColor':_0x53a698[_0x539dc4(0x1bd,0x29c,_0x2ea758._0x103bc5,0x31d)][_0x44741a(-_0x2ea758._0x389bde,-0x110,-0x1db,-_0x2ea758._0x1055a2)],'type':'error','onClose':_0x4c79e2,'closeOnEscape':!0x0,'children':_0x21bfbf(_0x573391,{'color':_0x53a698[_0x539dc4(0x3d8,_0x2ea758._0x446e33,0x1f6,0x31d)]['error'],'children':_0x333f23})});let _0x3cacf9=_0x1d07f0['activeView']==='config',_0x3d57ac=_0x1d07f0[_0x44741a(-_0x2ea758._0x448587,-_0x2ea758._0x51ef0d,-0x6e,_0x2ea758._0x21aff8)]?.['selectedAgentIndex']!==void 0x0?Math[_0x44741a(0xe4,-0xc6,_0x2ea758._0x54aa30,-0x43)](_0x1d07f0[_0x539dc4(_0x2ea758._0x11d62c,_0x2ea758._0x37dba,0x33d,_0x2ea758._0x14da74)][_0x539dc4(_0x2ea758._0x57e3cb,_0x2ea758._0x3d4a92,_0x2ea758._0xdd788a,_0x2ea758._0x4bbd1a)],Math[_0x44741a(-_0x2ea758._0xb564e5,_0x2ea758._0x22447a,0xfe,-_0x2ea758._0x21f193)](0x0,_0x39b337[_0x44741a(-_0x2ea758._0x1ef45d,0x1d6,0x56,-_0x2ea758._0x20fd6d)]-0x1)):void 0x0;return _0x21bfbf(qn,{'visible':_0x3cacf9,'agents':_0x39b337,'enabledAgents':_0x13dd26,'initialSelectedIndex':_0x3d57ac,'onClose':_0x4c79e2,'onAgentStatusChange':_0x4bcd0b,'onAgentCreate':_0x9f4c0c,'onAgentDelete':_0x4bf891,'onAgentEdit':_0x14cca9});};function gi(_0x401e6c){const _0x3aff77={_0x35b5ca:0x33,_0x46a439:0xa5,_0x19b924:0x413,_0x925c3e:0x539,_0x557658:0x45c,_0x233b6e:0x122,_0xcd2035:0xa1,_0xfa67f5:0x2b6,_0x571f11:0x1cd,_0x34860:0x1d8,_0x3b66a9:0x1da},_0x26a101={_0x5426ab:0x14c,_0xc4bf1d:0x2c2,_0x4ffc56:0x1e8},_0x3ad759={_0x2d5944:0x2fe,_0x539210:0x1d1};function _0x356ba0(_0x60610b,_0x42d5bd,_0x5b1849,_0x4d9eac){return _0x593b39(_0x60610b-0xe1,_0x4d9eac- -_0x3ad759._0x2d5944,_0x42d5bd,_0x4d9eac-_0x3ad759._0x539210);}function _0x1e6abb(_0x5b3069,_0x20c95b,_0x56e401,_0x4c72f6){return _0x593b39(_0x5b3069-_0x26a101._0x5426ab,_0x5b3069-_0x26a101._0xc4bf1d,_0x56e401,_0x4c72f6-_0x26a101._0x4ffc56);}_0x401e6c[_0x356ba0(_0x3aff77._0x35b5ca,-0x1b6,-_0x3aff77._0x46a439,-0x8d)]({'id':_0x1e6abb(0x4bb,_0x3aff77._0x19b924,_0x3aff77._0x925c3e,_0x3aff77._0x557658),'type':'component','description':_0x356ba0(-0x55,-_0x3aff77._0x233b6e,-0x1aa,-_0x3aff77._0xcd2035),'category':_0x1e6abb(_0x3aff77._0xfa67f5,_0x3aff77._0x571f11,_0x3aff77._0x34860,_0x3aff77._0x3b66a9),'component':ha});}import{useCallback as _0x4808ca,useEffect as _0x4d0fd4,useState as _0x110f6b}from'react';import*as _0x4b6b02 from'path';import*as _0x584aa3 from'os';import{Text as _0x5f049a}from'ink';import{useCallback as _0x276824}from'react';import{Box as _0x2b5b33,Text as _0x143c9b}from'ink';import{useState as _0x5dc7dd,useEffect as _0x4e9058}from'react';var pi=(_0xc2be46,_0x58abcb)=>{const _0x58fc55={_0x30aa76:0x3d4,_0x53e43f:0x3f8,_0x284f30:0x49c,_0x3e7841:0x472,_0x3a4e08:0x437,_0x47ab0a:0x554},_0x207e0e={_0xe9a152:0x3de,_0x26dd14:0x22f,_0x415b30:0x11c,_0x57b806:0xe1,_0x1a6d84:0x21c,_0x41cd19:0x38e,_0x2753a9:0x491,_0x5ea8db:0x32b,_0x126e44:0x139,_0x178442:0x44c},_0x41ce49={_0x2a825f:0x18c,_0x5a8210:0xfd,_0x113442:0x169},_0x46ca4b={_0x24d1a4:0xe,_0x2a611e:0x16c},_0x535934={_0x541a93:0xd2,_0x145a94:0x131},_0x459229={_0x2daa16:0x1b9,_0x3819b1:0x146};function _0x29a296(_0x14f435,_0xebfcfa,_0x5b0987,_0x189e83){return _0x40e58d(_0xebfcfa,_0xebfcfa-_0x459229._0x2daa16,_0x14f435-0x140,_0x189e83-_0x459229._0x3819b1);}function _0x4ec34b(_0x3c0995,_0x6f856c,_0x2257ec,_0x484f9f){return _0x593b39(_0x3c0995-_0x535934._0x541a93,_0x3c0995-_0x535934._0x145a94,_0x484f9f,_0x484f9f-0xc1);}let [_0x2506cb,_0x5e254a]=_0x5dc7dd(()=>_0x58abcb!==void 0x0&&_0x58abcb>=0x0&&_0x58abcb<_0xc2be46[_0x29a296(0x472,0x523,0x43a,0x4e8)]?_0x58abcb:0x0);return _0x4e9058(()=>{const _0x4fa1ee={_0x10696c:0x306,_0xacc40f:0x43,_0x513290:0x162};function _0x31262e(_0x1133f7,_0x48fa13,_0x19f65e,_0x100593){return _0x29a296(_0x48fa13- -_0x4fa1ee._0x10696c,_0x1133f7,_0x19f65e-_0x4fa1ee._0xacc40f,_0x100593-_0x4fa1ee._0x513290);}_0x58abcb!==void 0x0&&_0x58abcb>=0x0&&_0x58abcb<_0xc2be46[_0x31262e(_0x46ca4b._0x24d1a4,_0x46ca4b._0x2a611e,0x1b7,0x2bf)]&&_0x5e254a(_0x58abcb);},[_0x58abcb,_0xc2be46[_0x29a296(0x472,_0x58fc55._0x30aa76,_0x58fc55._0x53e43f,_0x58fc55._0x284f30)]]),_0x4e9058(()=>{const _0x246f39={_0x1830a1:0x138,_0x1e25cb:0x3d};function _0x389dec(_0x30a1ce,_0x199b0e,_0x375eae,_0x17cd75){return _0x29a296(_0x375eae- -_0x41ce49._0x2a825f,_0x17cd75,_0x375eae-_0x41ce49._0x5a8210,_0x17cd75-_0x41ce49._0x113442);}function _0x1b3325(_0x2071df,_0x2ae7d9,_0x4a3319,_0x2f9451){return _0x4ec34b(_0x2071df- -_0x246f39._0x1830a1,_0x2ae7d9-_0x246f39._0x1e25cb,_0x4a3319-0xf6,_0x4a3319);}_0xc2be46[_0x389dec(0x31f,_0x207e0e._0xe9a152,0x2e6,0x30b)]===0x0?_0x5e254a(0x0):_0x2506cb>=_0xc2be46[_0x1b3325(_0x207e0e._0x26dd14,_0x207e0e._0x415b30,_0x207e0e._0x57b806,_0x207e0e._0x1a6d84)]&&_0x5e254a(Math[_0x389dec(0x25e,0x53f,_0x207e0e._0x41cd19,_0x207e0e._0x2753a9)](0x0,_0xc2be46[_0x389dec(_0x207e0e._0x5ea8db,_0x207e0e._0x126e44,0x2e6,_0x207e0e._0x178442)]-0x1));},[_0xc2be46[_0x29a296(_0x58fc55._0x3e7841,0x5fd,_0x58fc55._0x3a4e08,_0x58fc55._0x47ab0a)],_0x2506cb]),{'selectedIndex':_0x2506cb,'setSelectedIndex':_0x5e254a};};import{useMemo as _0xb97d8c,useCallback as _0x11d1b2,useRef as _0x14d2b3}from'react';import{Box as _0x11a951,Text as _0x42026d}from'ink';import{Fragment as _0x28b459,jsx as _0x2c33a4,jsxs as _0x2cdfad}from'react/jsx-runtime';var va={'global':'G','profile':'P','local':'L'},ba={'global':_0x593b39(-0x9d,-0x17,-0x2d,0x6e),'profile':'Profile','local':_0x593b39(0x131,0x2d6,0x3ce,0x170)},Sa={'global':_0x593b39(0x169,0x2e5,0x3b1,0x2bd),'profile':'cyan','local':_0x40e58d(0x3b6,0x133,0x254,0x22a)},hi=({commands:_0x48de35,onCommandSelect:_0x148f48,onEdit:_0x2bf0eb,onDelete:_0x35d2d5,onNew:_0x2cc36f,getShadowedCommands:_0x5e04b1,focus:_0x215237=!0x0})=>{const _0x3870fc={_0x23eb21:0x135,_0xa966de:0x1a2,_0x484997:0x113,_0x196618:0xee,_0x507f75:0x360,_0x1fdbe9:0x3a6,_0x3189bc:0x337,_0x4bc6b5:0x383,_0x42e2ae:0x1e9,_0x2540da:0x22d,_0x28cd01:0x2e0,_0x142597:0x258,_0x4e5dfe:0x415,_0x214b66:0x416,_0x590b56:0x305,_0x3f69ea:0x2de},_0x10d471={_0x510a34:0x25a,_0x30b214:0x1a5},_0x55138d={_0x241666:0x118,_0x14d087:0x2e},_0xad2ff8={_0x477388:0x1b4},_0x583977={_0x155056:0x172,_0x3d0dc5:0x235},_0x428479={_0x55ec67:0x81,_0x2a3659:0xa0,_0x37be19:0xd7},_0x426cdf={_0x4eb700:0xe1,_0x5b0f89:0x455},_0x40d3af={_0x206673:0x2c7,_0x4d57fa:0x46c,_0x185fc1:0x2e7,_0x1847c4:0x428,_0x62c724:0x332,_0x4a47c1:0x2ba,_0x5e1ea1:0x117,_0x569993:0x7a,_0x5855b8:0x17c,_0x4d10d7:0x2f2,_0x201490:0x289,_0x3730b7:0x13f,_0x27f04f:0x35a,_0x3dc744:0x3da,_0xbf4e3:0x32b,_0x195d3b:0x33f,_0x2fdc5f:0x388,_0x10ba43:0x26f,_0x14c84c:0x4d4,_0x12782e:0x3cc,_0x39f75a:0x4d9,_0x5981d2:0x18c,_0x41969f:0x2bc,_0x3dfd98:0x88,_0x45cf60:0x121,_0x4aa8bf:0x2cc,_0x2d78a1:0x123,_0x28b1d5:0x14d,_0x8d8f7b:0x14c},_0x54a829={_0x18b030:0x109,_0x4a28d0:0xd5},_0x23d73b={_0x4a12cb:0x1bc,_0x5515d2:0x9};function _0x18ffd8(_0x172cf1,_0x2a8e7f,_0x4a9e24,_0x7a51a0){return _0x40e58d(_0x2a8e7f,_0x2a8e7f-_0x23d73b._0x4a12cb,_0x7a51a0- -0x3f3,_0x7a51a0-_0x23d73b._0x5515d2);}let {theme:_0x14fbae}=_0x23be01(),_0x43df39=_0x14d2b3(0x0),_0x4980c4=_0xb97d8c(()=>_0x48de35[_0x271735(0x5b1,0x3a0,0x42d,0x498)](_0x801415=>({'label':'/'+_0x801415['id'],'value':_0x801415['id']})),[_0x48de35]),_0x276580=_0x11d1b2((_0x308072,_0x54655b)=>{const _0x302d4e={_0x4106b2:0x1ae,_0x337486:0x63};let _0x53daee=_0x48de35[_0x25ab4c(_0x40d3af._0x206673,0x473,_0x40d3af._0x4d57fa,_0x40d3af._0x185fc1)](_0x5dbeb8=>_0x5dbeb8['id']===_0x308072[_0x25ab4c(0x214,0x38e,0x352,0x3d6)]);if(!_0x53daee)return null;function _0x25ab4c(_0xfc58a8,_0x36d8d1,_0x3e48a5,_0x3522df){return _0x271735(_0xfc58a8-_0x302d4e._0x4106b2,_0x3522df,_0x36d8d1- -_0x302d4e._0x337486,_0x3522df-0x17c);}function _0x466150(_0x2cbdcf,_0x2f5e1b,_0x3ab6d3,_0x3484a6){return _0x271735(_0x2cbdcf-_0x54a829._0x18b030,_0x3ab6d3,_0x2f5e1b- -_0x54a829._0x4a28d0,_0x3484a6-0xa5);}let _0x40bc90=_0x14fbae['colors'][_0x466150(0x108,0x277,_0x40d3af._0x1847c4,_0x40d3af._0x62c724)],_0x3a9a83=va[_0x53daee[_0x466150(_0x40d3af._0x4a47c1,_0x40d3af._0x5e1ea1,-_0x40d3af._0x569993,0x35)]],_0x580a85=Sa[_0x53daee[_0x25ab4c(0x2bd,0x189,0x122,_0x40d3af._0x5855b8)]],_0x33af04=_0x5e04b1(_0x53daee['id']);return _0x2cdfad(_0x11a951,{'flexDirection':'column','children':[_0x2cdfad(_0x11a951,{'children':[_0x2c33a4(_0x42026d,{'color':_0x54655b?_0x40bc90:void 0x0,'children':_0x54655b?'›\x20':'\x20\x20'}),_0x2cdfad(_0x42026d,{'color':_0x54655b?_0x40bc90:_0x14fbae[_0x466150(0x325,0x32b,0x2d2,_0x40d3af._0x4d10d7)][_0x25ab4c(_0x40d3af._0x201490,0x2bc,0x3cc,_0x40d3af._0x3730b7)],'bold':_0x54655b,'children':['/',_0x53daee['id']]}),_0x2c33a4(_0x42026d,{'children':'\x20'}),_0x2cdfad(_0x42026d,{'color':_0x580a85,'dimColor':!0x0,'children':['[',_0x3a9a83,']']}),_0x33af04[_0x466150(0x4c7,0x340,0x215,_0x40d3af._0x27f04f)]>0x0&&_0x2cdfad(_0x28b459,{'children':[_0x2c33a4(_0x42026d,{'children':'\x20'}),_0x2cdfad(_0x42026d,{'color':_0x14fbae[_0x466150(_0x40d3af._0x3dc744,_0x40d3af._0xbf4e3,0x3e9,_0x40d3af._0x195d3b)][_0x466150(0x3d6,_0x40d3af._0x2fdc5f,_0x40d3af._0x10ba43,_0x40d3af._0x14c84c)],'children':[_0x25ab4c(0x4a6,0x43a,_0x40d3af._0x12782e,_0x40d3af._0x39f75a),_0x33af04['map'](_0x931fe9=>ba[_0x931fe9[_0x25ab4c(0x2d1,0x189,-0x1e,0x29c)]][_0x25ab4c(0x219,0x2d7,0x210,0x1b4)]())[_0x25ab4c(0x384,0x1e9,0x194,0xb9)](',\x20')]})]})]}),_0x54655b&&_0x2c33a4(_0x11a951,{'marginLeft':0x4,'flexDirection':_0x466150(_0x40d3af._0x5981d2,0x317,_0x40d3af._0x41969f,0x3eb),'children':_0x2cdfad(_0x42026d,{'dimColor':!0x0,'wrap':'wrap','children':[_0x466150(-_0x40d3af._0x3dfd98,_0x40d3af._0x45cf60,_0x40d3af._0x4aa8bf,0x22f),_0x53daee[_0x466150(_0x40d3af._0x2d78a1,_0x40d3af._0x28b1d5,0x177,_0x40d3af._0x8d8f7b)]]})})]});},[_0x48de35,_0x5e04b1,_0x14fbae]),_0x5ca64b=_0x11d1b2(_0x495329=>{const _0x2423f3={_0x4ee47c:0xaf,_0x4c717b:0x2aa};function _0x22c0f4(_0x29d304,_0x247800,_0x531cb6,_0x1193e4){return _0x271735(_0x29d304-_0x426cdf._0x4eb700,_0x247800,_0x29d304- -_0x426cdf._0x5b0f89,_0x1193e4-0x0);}function _0x4a315e(_0x2b966c,_0x104d0e,_0x50091a,_0x293e8a){return _0x271735(_0x2b966c-_0x2423f3._0x4ee47c,_0x2b966c,_0x293e8a- -_0x2423f3._0x4c717b,_0x293e8a-0x12d);}let _0x9cde2c=_0x48de35[_0x22c0f4(_0x428479._0x55ec67,_0x428479._0x2a3659,-0xb1,_0x428479._0x37be19)](_0x65b487=>_0x65b487['id']===_0x495329[_0x4a315e(0x74,0x107,0x162,0x147)]);_0x9cde2c&&_0x2bf0eb?.(_0x9cde2c['id']);},[_0x48de35,_0x2bf0eb]),_0x185357=_0x11d1b2((_0x213214,_0xd103ca)=>{function _0x227d3b(_0xd8dc5a,_0x6d67a9,_0x3e6da7,_0x283c60){return _0x271735(_0xd8dc5a-_0x583977._0x155056,_0x3e6da7,_0x6d67a9-_0x583977._0x3d0dc5,_0x283c60-0x13e);}_0x43df39[_0x227d3b(0x488,0x4f2,0x433,0x65a)]=_0xd103ca,_0x148f48(_0xd103ca);},[_0x148f48]);function _0x271735(_0x4578d3,_0x410095,_0x572f88,_0x6c75b9){return _0x40e58d(_0x410095,_0x410095-0x1ca,_0x572f88-0xe3,_0x6c75b9-_0xad2ff8._0x477388);}return _0x528efb(_0xb4b898=>{function _0x11be26(_0x387796,_0x24cfdd,_0x429bbb,_0x1690e8){return _0x271735(_0x387796-0xf5,_0x387796,_0x1690e8- -_0x55138d._0x241666,_0x1690e8-_0x55138d._0x14d087);}if((_0xb4b898==='x'||_0xb4b898==='X')&&_0x35d2d5){let _0x3e209f=_0x48de35[_0x43df39[_0x11be26(_0x10d471._0x510a34,0xe3,0x2e7,_0x10d471._0x30b214)]];_0x3e209f&&_0x35d2d5(_0x3e209f['id']);}},{'isActive':_0x215237}),_0x2cdfad(_0x11a951,{'flexDirection':_0x18ffd8(-0x51,-_0x3870fc._0x23eb21,-_0x3870fc._0xa966de,-0xea),'width':'100%','flexGrow':0x1,'overflow':_0x18ffd8(0x20,-0x1f8,-_0x3870fc._0x484997,-_0x3870fc._0x196618),'children':[_0x2c33a4(_0x11a951,{'marginBottom':0x1,'flexShrink':0x0,'children':_0x2cdfad(_0x42026d,{'color':_0x14fbae['tokens'][_0x271735(_0x3870fc._0x507f75,_0x3870fc._0x1fdbe9,_0x3870fc._0x3189bc,_0x3870fc._0x4bc6b5)],'bold':!0x0,'children':[_0x18ffd8(-_0x3870fc._0x42e2ae,-_0x3870fc._0x2540da,-_0x3870fc._0x28cd01,-_0x3870fc._0x142597),_0x48de35[_0x271735(0x35b,0x466,_0x3870fc._0x4e5dfe,_0x3870fc._0x214b66)],')']})}),_0x2c33a4(_0x3af82d,{'items':_0x4980c4,'placeholder':_0x271735(0x4af,0x497,_0x3870fc._0x590b56,_0x3870fc._0x3f69ea),'enableRotation':!0x0,'showItemCount':!0x1,'focus':_0x215237,'renderItem':_0x276580,'onSelect':_0x5ca64b,'onHighlight':_0x185357,'onNew':_0x2cc36f})]});};import{jsx as _0x358ffb}from'react/jsx-runtime';var Aa=({visible:_0x1d4308,commands:_0x1d8011,activeProfile:_0x21c82b,initialSelectedIndex:_0x4815aa,onClose:_0x1fcd3d,onCreate:_0x58c19e,onEdit:_0x51a8cc,onDelete:_0x1ed2ea,getShadowedCommands:_0x56ddc8})=>{const _0x2ae87f={_0x4e0681:0x424,_0x4c2f55:0x1e4,_0x62b009:0x2eb,_0x470362:0x23c,_0x176dac:0x500,_0x28a4f7:0x571,_0x449c03:0x5cd,_0x47c575:0x238,_0x2f3e75:0xad,_0x597908:0x69,_0x18ebf5:0xa,_0x201966:0x1a9,_0x1144c3:0x0,_0x4563b5:0x253,_0x590f6a:0x502,_0xe824a7:0x456,_0x21685b:0x313,_0x3f79f4:0x363,_0x5710ea:0x37f,_0x8bd0b7:0x3d7,_0x35e3de:0x244,_0x51fea3:0x2a7,_0x270d2d:0x335,_0x2d7e5b:0x2e0,_0x158105:0x300,_0x5481bd:0x1dc},_0x100d9a={_0xc8708c:0x20},_0xc07ac5={_0x4e74f7:0x38,_0x573107:0x5b};let {theme:_0x1b6f4d}=_0x23be01(),{rows:_0x4a6c22}=_0x4f685a(),_0x4c92bc=pi(_0x1d8011,_0x4815aa),_0x512824=_0x276824(_0x5c0a3a=>{_0x51a8cc?.(_0x5c0a3a);},[_0x51a8cc]),_0x502558=_0x276824(_0x10fc98=>{_0x1ed2ea?.(_0x10fc98);},[_0x1ed2ea]);if(!_0x1d4308)return null;let _0x3ad175=Math[_0x499092(0x362,0x353,_0x2ae87f._0x4e0681,_0x2ae87f._0x4c2f55)](0x1e,_0x4a6c22-0x4),_0x4348f6=_0x21c82b&&_0x21c82b!==_0x499092(_0x2ae87f._0x62b009,0x34c,0x2ca,_0x2ae87f._0x470362)?_0x499092(0x4ab,0x3ad,_0x2ae87f._0x176dac,0x3af)+_0x21c82b+')':_0x499092(0x2b0,0x41b,_0x2ae87f._0x28a4f7,_0x2ae87f._0x449c03);function _0x1b3430(_0x30e5a1,_0xe2f58b,_0x2faee4,_0x13ba0c){return _0x593b39(_0x30e5a1-0xe,_0xe2f58b-_0xc07ac5._0x4e74f7,_0x30e5a1,_0x13ba0c-_0xc07ac5._0x573107);}function _0x499092(_0x20a940,_0xdde1df,_0x53df00,_0x4cb7b0){return _0x40e58d(_0x53df00,_0xdde1df-_0x100d9a._0xc8708c,_0xdde1df-0x4d,_0x4cb7b0-0x56);}return _0x358ffb(_0x32a44e,{'visible':_0x1d4308,'title':_0x4348f6,'closeOnEscape':!0x0,'closeOnEnter':!0x1,'onClose':_0x1fcd3d,'paddingX':0x1,'paddingY':0x0,'footer':_0x358ffb(_0x2b5b33,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x358ffb(_0x1fb0f6,{'segments':[{'text':'↑↓','highlight':!0x0},{'text':_0x499092(_0x2ae87f._0x47c575,0x182,0xae,0x235)},{'text':_0x1b3430(0x27d,0xd5,0x1de,_0x2ae87f._0x2f3e75),'highlight':!0x0},{'text':'\x20edit\x20•\x20'},{'text':_0x1b3430(0x16a,_0x2ae87f._0x597908,-_0x2ae87f._0x18ebf5,_0x2ae87f._0x201966),'highlight':!0x0},{'text':_0x499092(-0x12,0x15c,_0x2ae87f._0x1144c3,-0x12)},{'text':'X','highlight':!0x0},{'text':_0x1b3430(0x35d,0x311,0x323,_0x2ae87f._0x4563b5)},{'text':_0x499092(_0x2ae87f._0x590f6a,_0x2ae87f._0xe824a7,_0x2ae87f._0x21685b,_0x2ae87f._0x3f79f4),'highlight':!0x0},{'text':'\x20exit'}]})}),'height':_0x3ad175,'children':_0x1d8011[_0x499092(0x46d,_0x2ae87f._0x5710ea,_0x2ae87f._0x8bd0b7,0x45f)]===0x0?_0x358ffb(_0x2b5b33,{'marginTop':0x1,'children':_0x358ffb(_0x143c9b,{'color':_0x1b6f4d[_0x1b3430(_0x2ae87f._0x35e3de,_0x2ae87f._0x51fea3,_0x2ae87f._0x270d2d,0x307)][_0x499092(0x509,0x414,_0x2ae87f._0x2d7e5b,_0x2ae87f._0x158105)],'children':_0x1b3430(0x1ba,_0x2ae87f._0x5481bd,0x36d,0x378)})}):_0x358ffb(hi,{'commands':_0x1d8011,'onCommandSelect':_0x4c92bc['setSelectedIndex'],'onEdit':_0x512824,'onDelete':_0x502558,'onNew':_0x58c19e,'getShadowedCommands':_0x56ddc8,'flexGrow':0x1,'focus':!0x0})});},yi=Aa;import{Box as _0x43f9c5,Text as _0x23ac3f}from'ink';import{jsx as _0x5acf91,jsxs as _0x120c52}from'react/jsx-runtime';var Ma={'global':_0x593b39(-0x188,-0x17,0xf2,-0x144),'profile':_0x593b39(0x17c,0x199,0x26e,0xe0),'local':_0x40e58d(0x24d,0x25b,0x3d2,0x224)},Ia=({availableScopes:_0x16277e,editedScope:_0xf7638,activeProfile:_0x5dab79,onScopeChange:_0x15fec4,tabIndex:_0x29ac77})=>{const _0x5a1428={_0x525aec:0x53,_0x5998a7:0x17,_0x778a26:0x104,_0x455840:0x342,_0xf59b99:0x10a,_0xd88cfd:0x166,_0x418cf4:0x22,_0x19f80b:0x81,_0x318eac:0x4a},_0x101721={_0x53d752:0xa8,_0x6d06eb:0x2ee,_0x51080f:0x1d9},_0x3049cd={_0x41da83:0x31c,_0x5f2c73:0x2a,_0x471653:0xf,_0x14a83c:0x27,_0x1756cb:0x2f7,_0x7bde49:0x36f},_0x32d952={_0x33282c:0xbc};function _0x2dd3ea(_0x322874,_0x2cda41,_0x5bad33,_0xf552f5){return _0x593b39(_0x322874-0x35,_0x5bad33- -0x2cf,_0x2cda41,_0xf552f5-_0x32d952._0x33282c);}let {theme:_0x26d7e1}=_0x23be01(),{isFocused:_0xe3ae1d}=_0x262d5b({'active':!0x0,'tabIndex':_0x29ac77});_0x528efb((_0x236480,_0x56e286)=>{function _0x13f782(_0x32501e,_0x3e9f32,_0x51bd3d,_0x4e8cce){return _0x5737(_0x3e9f32- -0x3d,_0x51bd3d);}function _0x57247c(_0x3d30f5,_0x4785ea,_0x1689b2,_0x35272c){return _0x5737(_0x4785ea- -0x6a,_0x3d30f5);}_0x56e286[_0x57247c(0x30e,0x30d,0x494,_0x3049cd._0x41da83)]?_0x15fec4(_0x57247c(-0x7b,_0x3049cd._0x5f2c73,-0x8d,_0x3049cd._0x471653)):_0x56e286[_0x57247c(-0x11e,0x58,0x3e,_0x3049cd._0x14a83c)]&&_0x15fec4(_0x13f782(0x403,_0x3049cd._0x1756cb,0x30e,_0x3049cd._0x7bde49));},{'isActive':_0xe3ae1d});let _0x29bd9c=_0x5c4138=>_0x5c4138===_0x2dd3ea(-0x17d,-0x62,-0x188,-0x2e7)&&_0x5dab79?_0x509ae6(-0x14d,-0x2c4,-0x10c,0x41)+_0x5dab79+')':Ma[_0x5c4138];function _0x509ae6(_0x441baa,_0x41142d,_0x45e20d,_0x1c0a7d){return _0x40e58d(_0x1c0a7d,_0x41142d-_0x101721._0x53d752,_0x441baa- -_0x101721._0x6d06eb,_0x1c0a7d-_0x101721._0x51080f);}return _0x120c52(_0x43f9c5,{'flexDirection':'column','children':[_0x120c52(_0x23ac3f,{'color':_0xe3ae1d?_0x26d7e1[_0x509ae6(0x2f,-0x151,-_0x5a1428._0x525aec,0x9f)][_0x509ae6(-0x85,-0x95,_0x5a1428._0x5998a7,_0x5a1428._0x778a26)]:_0x26d7e1['modal'][_0x2dd3ea(-0x29,0x16f,-0x4,0xd1)],'bold':_0xe3ae1d,'dimColor':!_0xe3ae1d,'children':[_0x2dd3ea(-_0x5a1428._0x455840,-_0x5a1428._0xf59b99,-0x243,-0x13d),_0xe3ae1d?'\x20(←/→\x20to\x20change)':'']}),_0x5acf91(_0x43f9c5,{'flexDirection':_0x2dd3ea(_0x5a1428._0xd88cfd,-0x12a,-0x23,0x10e),'gap':0x2,'children':_0x16277e[_0x2dd3ea(0x43,-_0x5a1428._0x418cf4,-_0x5a1428._0x19f80b,-_0x5a1428._0x318eac)](_0xba0551=>_0x5acf91(_0x43f9c5,{'children':_0x120c52(_0x23ac3f,{'color':_0xf7638===_0xba0551?_0x26d7e1[_0x2dd3ea(-0x76,0xd,-0x2,0x55)]['cyan']:_0x26d7e1[_0x2dd3ea(-0x1c0,0x107,-0x60,-0x2b)][_0x2dd3ea(-0x39d,-0xf0,-0x217,-0xc1)],'bold':_0xf7638===_0xba0551,'children':[_0xf7638===_0xba0551?'(●)':_0x2dd3ea(-0x273,-0x174,-0x22f,-0x26d),'\x20',_0x29bd9c(_0xba0551)]})},_0xba0551))})]});},Pa=({mode:_0x21f283,availableScopes:_0x4d01da,activeProfile:_0x15fbdc,editedName:_0x42b64f,editedDescription:_0x45d7a1,editedScope:_0xc17f69,editedPrompt:_0x4acbe0,error:_0x443490,onFieldChange:_0x18090c,onScopeChange:_0x4aea20,onDelete:_0x25d246})=>{const _0x46c58e={_0x2533c1:0x1ab,_0x270362:0x2aa,_0x5d42e4:0x3f1,_0x3d43e9:0x1ea,_0x51f88e:0x38,_0x3c5bef:0x1e8,_0x465162:0x22e,_0x2b4577:0x4ad,_0x419a7b:0x483,_0x27edfd:0x27e,_0x47d66e:0x49f,_0x5678e9:0x371,_0x2921b8:0x480,_0x3bed53:0xb1,_0x761903:0x29c,_0x1c6027:0x1de,_0x6e2e85:0x77,_0x3b2d94:0x120,_0x4e8874:0x93,_0x45e4b9:0x64,_0xfa59c1:0x41,_0x57e0df:0xdc,_0x1c7d1b:0x1a5,_0x1a3bc6:0xc4,_0x3c8633:0xef,_0x2abb7e:0x7c,_0x3c5535:0xfe,_0x31c4b4:0x13b,_0x3bc303:0x239,_0xbe143:0x2e6,_0x278441:0x1fd,_0x3d95f1:0x151,_0x1e6774:0x136,_0x27af07:0x396,_0x19647a:0x1ef,_0x555022:0xb,_0x3aa673:0xdb,_0x4e9c47:0x12f,_0x4d4bfd:0x61,_0x3a948e:0x1c},_0xd650c1={_0x26ddde:0x159},_0x236ba7={_0x45b47f:0x9c};function _0xa0f5c(_0x283e82,_0x5a46d6,_0x13f99a,_0x35b539){return _0x40e58d(_0x5a46d6,_0x5a46d6-0xa6,_0x13f99a- -0x69,_0x35b539-_0x236ba7._0x45b47f);}function _0x3cac0e(_0x1bc8da,_0x3ba387,_0x534b10,_0x387de5){return _0x593b39(_0x1bc8da-0x11,_0x1bc8da- -0x11e,_0x534b10,_0x387de5-_0xd650c1._0x26ddde);}let {theme:_0x9e3f3a}=_0x23be01(),{rows:_0x3d8956}=_0x4f685a(),_0x23b037=_0x21f283==='edit'?_0xa0f5c(_0x46c58e._0x2533c1,0x3aa,_0x46c58e._0x270362,_0x46c58e._0x5d42e4):_0x3cac0e(0x1fb,0x178,0x14e,_0x46c58e._0x3d43e9),_0xfa866a=_0x5acf91(_0x43f9c5,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'children':_0x5acf91(_0x1fb0f6,{'segments':[{'text':_0x3cac0e(0x14c,0xdf,_0x46c58e._0x51f88e,0x8b),'highlight':!0x0},{'text':'\x20cycle\x20fields\x20•\x20'},{'text':_0xa0f5c(0x36,0x9f,0x1c9,_0x46c58e._0x3c5bef),'highlight':!0x0},{'text':_0xa0f5c(_0x46c58e._0x465162,_0x46c58e._0x2b4577,0x36e,0x2f7)},{'text':'ESC','highlight':!0x0},{'text':_0xa0f5c(0x4e7,_0x46c58e._0x419a7b,0x3ae,0x263)}]})}),_0x360b93=Math[_0x3cac0e(0xec,-0xc5,0x1b2,_0x46c58e._0x27edfd)](0x1e,_0x3d8956-0x4),_0x22a962=Math[_0xa0f5c(0x498,_0x46c58e._0x47d66e,_0x46c58e._0x5678e9,_0x46c58e._0x2921b8)](0x3,_0x360b93-0x15);return _0x5acf91(_0x32a44e,{'visible':!0x0,'title':_0x23b037,'footer':_0xfa866a,'height':_0x360b93,'children':_0x120c52(_0x43f9c5,{'flexDirection':_0x3cac0e(0xef,0x228,0x94,_0x46c58e._0x3bed53),'flexGrow':0x1,'overflow':_0xa0f5c(0x246,0x24d,_0x46c58e._0x761903,0x134),'children':[_0x443490&&_0x5acf91(_0x43f9c5,{'marginBottom':0x1,'children':_0x5acf91(_0x23ac3f,{'color':_0x9e3f3a[_0xa0f5c(_0x46c58e._0x1c6027,0x14f,0x2b4,0x464)][_0x3cac0e(-0x119,-_0x46c58e._0x6e2e85,-_0x46c58e._0x3b2d94,_0x46c58e._0x4e8874)],'children':_0x443490})}),_0x5acf91(_0x43f9c5,{'marginBottom':0x1,'children':_0x120c52(_0x23ac3f,{'color':_0x9e3f3a['colors'][_0x3cac0e(-_0x46c58e._0x45e4b9,_0x46c58e._0xfa59c1,_0x46c58e._0x57e0df,-_0x46c58e._0x1c7d1b)],'bold':!0x0,'children':['/',_0x42b64f||_0x3cac0e(0x7a,0x188,-0xc9,-_0x46c58e._0x1a3bc6)]})}),_0x5acf91(_0x43f9c5,{'flexDirection':_0x3cac0e(_0x46c58e._0x3c8633,-_0x46c58e._0x2abb7e,0x1e5,_0x46c58e._0x3c5535),'marginBottom':0x1,'children':_0x5acf91(tt,{'label':_0xa0f5c(0x266,0x1ed,0xbc,0x14b),'value':_0x42b64f,'onChange':_0x1666ff=>_0x18090c('name',_0x1666ff),'autoFocus':!0x0,'tabIndex':'0'})}),_0x5acf91(_0x43f9c5,{'flexDirection':_0x3cac0e(0xef,0xe6,0x168,_0x46c58e._0x31c4b4),'marginBottom':0x1,'children':_0x5acf91(tt,{'label':_0xa0f5c(_0x46c58e._0x3bc303,0x472,_0x46c58e._0xbe143,_0x46c58e._0x278441),'value':_0x45d7a1,'onChange':_0x203a25=>_0x18090c(_0xa0f5c(-0xd5,0x218,0xd6,0x1e8),_0x203a25),'tabIndex':'0'})}),_0x5acf91(_0x43f9c5,{'flexDirection':_0xa0f5c(_0x46c58e._0x3d95f1,0x36c,0x2a0,_0x46c58e._0x1e6774),'marginBottom':0x1,'children':_0x5acf91(Ia,{'availableScopes':_0x4d01da,'editedScope':_0xc17f69,'activeProfile':_0x15fbdc,'onScopeChange':_0x4aea20,'tabIndex':'0'})}),_0x5acf91(_0x43f9c5,{'flexDirection':_0xa0f5c(_0x46c58e._0x27af07,0x149,0x2a0,_0x46c58e._0x19647a),'marginBottom':0x1,'flexGrow':0x1,'children':_0x5acf91(dt,{'tabIndex':'0','children':({isFocused:_0x18a9aa})=>_0x120c52(_0x43f9c5,{'flexDirection':'column','flexGrow':0x1,'children':[_0x5acf91(_0x23ac3f,{'color':_0x18a9aa?_0x9e3f3a['colors'][_0x3cac0e(0x4f,-0xe,0x16a,-0x140)]:_0x9e3f3a[_0x3cac0e(-0xa6,-0x1f0,-0x16f,-0x1c1)]['help'],'bold':_0x18a9aa,'dimColor':!_0x18a9aa,'children':'Prompt\x20Template:'}),_0x5acf91(_0x2df2d2,{'value':_0x4acbe0,'onChange':_0x48bc07=>_0x18090c(_0xa0f5c(0x196,0x2fd,0x18c,-0x20),_0x48bc07),'focus':_0x18a9aa,'maxLines':_0x22a962,'showScrollbar':!0x0}),_0x5acf91(_0x43f9c5,{'marginTop':0x1,'children':_0x120c52(_0x23ac3f,{'color':_0x9e3f3a[_0xa0f5c(0x38f,0x449,0x302,0x17a)][_0x3cac0e(0x1ad,0x1c8,0x188,0xf)],'dimColor':!0x0,'children':[_0xa0f5c(0x138,0x1b1,0x1d8,0x29d),_0x3cac0e(0x3,-0xe0,0x46,0x43),_0xa0f5c(0x1b4,0x1a6,0x1cb,0x2aa)]})})]})})}),_0x21f283===_0x3cac0e(-0x14f,-0x136,-0x157,-_0x46c58e._0x555022)&&_0x25d246&&_0x5acf91(_0x43f9c5,{'marginY':0x1,'children':_0x5acf91(_0x5a2583,{'label':_0x3cac0e(0x65,0x44,-_0x46c58e._0x3aa673,-_0x46c58e._0x4e9c47),'onSubmit':_0x25d246,'variant':_0x3cac0e(-0x8e,-0x1fd,-_0x46c58e._0x4d4bfd,-_0x46c58e._0x3a948e),'tabIndex':'0'})})]})});},vi=_0x495f75=>_0x5acf91(_0xecce90,{'children':_0x5acf91(Pa,{..._0x495f75})});import{useState as _0x574028,useCallback as _0xd4418c}from'react';import{sanitizeCommandId as _0x22f04c}from'@nuvin/nuvin-core';var Si=_0x3b593b=>{const _0x2de904={_0x3eeb0b:0x4bc,_0x8ca358:0x4d0,_0x41b20d:0x64e,_0x5b925c:0x1c6,_0x6bc0dd:0x1c4,_0xb166e5:0x1cb,_0x46acc7:0x58f,_0x299496:0x4a5,_0x4e2712:0x724},_0xc337a1={_0x41fbce:0x1d9,_0x38cee1:0x170,_0x18f8c9:0x33c,_0x60ac37:0xd5,_0x3ad158:0x329,_0x35be5b:0x1b9,_0x248955:0x242,_0x5513b6:0xba,_0x5d8310:0x155,_0x526047:0x9c,_0x574325:0x15d,_0x222f52:0x2c7,_0x504a57:0x387,_0x3f19c6:0x2dc},_0x31536c={_0x5b0d65:0x12,_0x311b4e:0xf8},_0x5194c1={_0x21f5d4:0x51,_0x3f2d73:0xbe,_0x1b023d:0xa5,_0x4400db:0x150,_0x58f7f6:0x47c,_0x219d17:0x562,_0x128e6e:0x444},_0x77c942={_0x1e868b:0xeb,_0x1db2f4:0xac},_0x177d50={_0x213af3:0xb4,_0x467350:0x85},_0x292bf7={_0x2f57a4:0x4,_0x3d30ca:0x46e};function _0x26d1d2(_0x14e200,_0x5657a,_0xe00c77,_0x3549d9){return _0x593b39(_0x14e200-_0x292bf7._0x2f57a4,_0x14e200-_0x292bf7._0x3d30ca,_0xe00c77,_0x3549d9-0x177);}function _0x432d79(_0x215647,_0x5c2f49,_0x500b26,_0x299f75){return _0x593b39(_0x215647-_0x177d50._0x213af3,_0x299f75- -0x272,_0x5c2f49,_0x299f75-_0x177d50._0x467350);}let {mode:_0x21b2bf,initialCommand:_0x1ee24e,availableScopes:_0x484180}=_0x3b593b,[_0x36775f,_0x11a280]=_0x574028(_0x1ee24e?.['id']||''),[_0x1b02aa,_0x5ad9eb]=_0x574028(_0x1ee24e?.[_0x26d1d2(0x4b1,_0x2de904._0x3eeb0b,0x62c,0x494)]||''),[_0x397c01,_0x4f334f]=_0x574028(_0x1ee24e?.['source']||(_0x484180[_0x26d1d2(_0x2de904._0x8ca358,0x59e,_0x2de904._0x41b20d,0x4f2)]('local')?_0x432d79(-_0x2de904._0x5b925c,-_0x2de904._0x6bc0dd,-0x1dc,-_0x2de904._0xb166e5):_0x484180[0x0]||_0x26d1d2(0x5e4,0x472,0x52f,0x6b3))),[_0x290013,_0x3d2539]=_0x574028(_0x1ee24e?.['prompt']||_0x26d1d2(_0x2de904._0x46acc7,_0x2de904._0x299496,0x67e,_0x2de904._0x4e2712)),[_0x3f8af3,_0x496ce6]=_0x574028(),_0x219a22=_0xd4418c((_0x19918b,_0x37e1bc)=>{const _0x5c30ff={_0x269072:0xf7,_0x1d1020:0xc4,_0x3a112b:0x7d};function _0x3d814b(_0x508c1b,_0x44257e,_0x486923,_0x515606){return _0x432d79(_0x508c1b-_0x5c30ff._0x269072,_0x515606,_0x486923-_0x5c30ff._0x1d1020,_0x508c1b- -_0x5c30ff._0x3a112b);}function _0x1889de(_0x1b3d8d,_0x2a3293,_0x8133c,_0x5022fa){return _0x26d1d2(_0x1b3d8d- -_0x77c942._0x1e868b,_0x2a3293-_0x77c942._0x1db2f4,_0x5022fa,_0x5022fa-0x18d);}switch(_0x496ce6(void 0x0),_0x19918b){case _0x3d814b(-_0x5194c1._0x21f5d4,-_0x5194c1._0x3f2d73,-_0x5194c1._0x1b023d,-_0x5194c1._0x4400db):_0x11a280(_0x37e1bc);break;case'description':_0x5ad9eb(_0x37e1bc);break;case _0x1889de(_0x5194c1._0x58f7f6,_0x5194c1._0x219d17,_0x5194c1._0x128e6e,0x43b):_0x3d2539(_0x37e1bc);break;}},[]),_0x360245=_0xd4418c(_0x1fda96=>{const _0x11800e={_0xf7223d:0x188,_0x29fb6e:0xaf};let _0x4bc7dc=_0x484180[_0xac9b59(0x2fa,_0xc337a1._0x41fbce,_0xc337a1._0x38cee1,_0xc337a1._0x18f8c9)](_0x397c01),_0x11f02e;_0x1fda96===_0x159711(-_0xc337a1._0x60ac37,-_0xc337a1._0x3ad158,-_0xc337a1._0x35be5b,-0x30c)?_0x11f02e=(_0x4bc7dc-0x1+_0x484180[_0x159711(_0xc337a1._0x248955,0xaa,0x9c,_0xc337a1._0x5513b6)])%_0x484180[_0x159711(-0xf0,_0xc337a1._0x5d8310,_0xc337a1._0x526047,_0xc337a1._0x574325)]:_0x11f02e=(_0x4bc7dc+0x1)%_0x484180[_0xac9b59(_0xc337a1._0x222f52,0x35a,_0xc337a1._0x504a57,_0xc337a1._0x3f19c6)];let _0x53f599=_0x484180[_0x11f02e];function _0x159711(_0x514227,_0x2b4d52,_0x4f160c,_0x444dee){return _0x26d1d2(_0x4f160c- -0x608,_0x2b4d52-_0x31536c._0x5b0d65,_0x514227,_0x444dee-_0x31536c._0x311b4e);}function _0xac9b59(_0x494111,_0x455dfa,_0x18e851,_0x3295e8){return _0x432d79(_0x494111-_0x11800e._0xf7223d,_0x3295e8,_0x18e851-_0x11800e._0x29fb6e,_0x494111-0x303);}_0x53f599&&_0x4f334f(_0x53f599);},[_0x397c01,_0x484180]),_0x4ffffe=_0xd4418c(()=>_0x36775f[_0x26d1d2(0x568,0x5cd,0x65b,0x41a)]()?_0x22f04c(_0x36775f)?_0x1b02aa[_0x26d1d2(0x568,0x646,0x3d6,0x63e)]()?_0x290013[_0x432d79(-0x2de,-0x1ca,-0x239,-0x178)]()?!0x0:(_0x496ce6(_0x432d79(-0xb5,-0x95,-0x2fb,-0x15d)),!0x1):(_0x496ce6('Description\x20is\x20required'),!0x1):(_0x496ce6('Invalid\x20command\x20name.\x20Use\x20lowercase\x20letters,\x20numbers,\x20and\x20hyphens.'),!0x1):(_0x496ce6(_0x26d1d2(0x6e1,0x677,0x6fa,0x6ab)),!0x1),[_0x36775f,_0x1b02aa,_0x290013]),_0xb9203b=_0xd4418c(()=>({'id':_0x22f04c(_0x36775f),'description':_0x1b02aa['trim'](),'prompt':_0x290013,'source':_0x397c01,'enabled':!0x0}),[_0x36775f,_0x1b02aa,_0x290013,_0x397c01]);return{'editedName':_0x36775f,'editedDescription':_0x1b02aa,'editedScope':_0x397c01,'editedPrompt':_0x290013,'error':_0x3f8af3,'mode':_0x21b2bf,'setEditedName':_0x11a280,'setEditedDescription':_0x5ad9eb,'setEditedScope':_0x4f334f,'setEditedPrompt':_0x3d2539,'setError':_0x496ce6,'handleFieldChange':_0x219a22,'handleScopeChange':_0x360245,'validate':_0x4ffffe,'getCommand':_0xb9203b};},wi=({visible:_0x9b49e5,onCancel:_0x50ce6f,onSave:_0x3db935})=>{const _0x78c386={_0x5dfee6:0xe6,_0x1abe6e:0x294,_0x540c25:0x130,_0x904448:0x26b,_0x4cde47:0x24b};_0x528efb((_0x29ec0d,_0x57a3e5)=>{const _0x3b5ed4={_0x37a011:0x14f};function _0x23f228(_0x59027d,_0x33e459,_0x5bf336,_0x3015af){return _0x5737(_0x59027d- -_0x3b5ed4._0x37a011,_0x33e459);}function _0x49e4bc(_0x1067c9,_0x3f8a3e,_0x2aaafc,_0xbf675b){return _0x5737(_0x3f8a3e-0x136,_0x1067c9);}if(_0x9b49e5){if(_0x57a3e5[_0x49e4bc(_0x78c386._0x5dfee6,0x280,_0x78c386._0x1abe6e,0x36d)]){_0x50ce6f();return;}if(_0x57a3e5[_0x49e4bc(_0x78c386._0x540c25,0x27e,_0x78c386._0x904448,_0x78c386._0x4cde47)]&&_0x29ec0d==='s'){_0x3db935();return;}}},{'isActive':_0x9b49e5});};import{jsx as _0x4471ff}from'react/jsx-runtime';var Ea=({visible:_0xc957c2,mode:_0x5225d8,initialCommand:_0x301821,availableScopes:_0x17be3b,activeProfile:_0x1a7e4b,onSave:_0x34d398,onCancel:_0x192c06,onDelete:_0x4e2bdc})=>{const _0x17f7fb={_0x215c8a:0x73,_0x5dea9e:0x14c,_0x49feb3:0x3fc,_0x25e8b8:0x285,_0x16adc0:0x386,_0x495b76:0x305,_0x23e0ce:0x257,_0x4704c4:0x34,_0x3823f6:0x32a,_0x322501:0xe6,_0x5b3a49:0x2bf,_0x13a28e:0x110,_0x3f70af:0x59,_0x4918fe:0x18f,_0x4db4b2:0x14f},_0x12b159={_0x398b0b:0x3c5,_0x3ce2de:0x2ed},_0x4e506a={_0x233305:0x4b,_0x125a1e:0x1c1},_0x4d627b={_0x23da94:0x7f,_0x3f4dd0:0x1e6};let _0x444b0e=Si({'mode':_0x5225d8,'initialCommand':_0x301821,'availableScopes':_0x17be3b});function _0x192a60(_0x360064,_0x15b3fa,_0x211593,_0x159bda){return _0x40e58d(_0x360064,_0x15b3fa-0x1cb,_0x159bda-_0x4d627b._0x23da94,_0x159bda-_0x4d627b._0x3f4dd0);}function _0x4b1ffa(_0x16ca6b,_0x3bde5c,_0x6f1617,_0x4ce2bd){return _0x593b39(_0x16ca6b-_0x4e506a._0x233305,_0x3bde5c- -0x15e,_0x16ca6b,_0x4ce2bd-_0x4e506a._0x125a1e);}return wi({'visible':_0xc957c2,'onCancel':_0x192c06,'onSave':()=>{function _0x5f5ca8(_0x4c6ca1,_0x4df875,_0x348dc9,_0x569d5c){return _0x5737(_0x4c6ca1-0x7e,_0x4df875);}function _0xcfd2bc(_0x358b2e,_0x36a578,_0x3f3802,_0x2a4a26){return _0x5737(_0x36a578-0x2d9,_0x358b2e);}_0x444b0e[_0x5f5ca8(0x25e,0x2f7,_0x12b159._0x398b0b,0x123)]()&&_0x34d398(_0x444b0e[_0x5f5ca8(0x161,0x1fc,0x35,_0x12b159._0x3ce2de)]());},'onDelete':_0x5225d8===_0x4b1ffa(-0x2d9,-0x18f,-0x1cc,-_0x17f7fb._0x215c8a)?_0x4e2bdc:void 0x0}),_0xc957c2?_0x4471ff(vi,{'mode':_0x5225d8,'command':_0x301821||{},'availableScopes':_0x17be3b,'activeProfile':_0x1a7e4b,'editedName':_0x444b0e[_0x4b1ffa(-0x1ad,-_0x17f7fb._0x5dea9e,0x2,-0x14b)],'editedDescription':_0x444b0e[_0x192a60(_0x17f7fb._0x49feb3,_0x17f7fb._0x25e8b8,0x240,0x37a)],'editedScope':_0x444b0e[_0x192a60(_0x17f7fb._0x16adc0,0x38e,_0x17f7fb._0x495b76,0x363)],'editedPrompt':_0x444b0e['editedPrompt'],'error':_0x444b0e[_0x4b1ffa(-0x281,-0x159,-_0x17f7fb._0x23e0ce,_0x17f7fb._0x4704c4)],'onFieldChange':_0x444b0e[_0x4b1ffa(_0x17f7fb._0x3823f6,0x1b9,_0x17f7fb._0x322501,0x101)],'onScopeChange':_0x444b0e[_0x4b1ffa(_0x17f7fb._0x5b3a49,0x149,0xa9,_0x17f7fb._0x13a28e)],'onDelete':_0x5225d8===_0x4b1ffa(-_0x17f7fb._0x3f70af,-_0x17f7fb._0x4918fe,-_0x17f7fb._0x4db4b2,-0x251)?_0x4e2bdc:void 0x0}):null;},Er=Ea;import{jsx as _0x7683b8}from'react/jsx-runtime';var Ba=({deactivate:_0x27993c})=>{const _0x220c86={_0x194fd9:0xec,_0x504dac:0x3bd,_0x414e1f:0x222,_0xf2504c:0x266,_0x501d3d:0x411,_0x32a010:0x50c,_0x2ec971:0x461,_0x27ace1:0x423,_0xac62d8:0x59d,_0x1d7bc3:0xf6,_0x18508c:0x25c,_0xca7c8:0x243,_0x191795:0x1dc,_0x289e44:0x385,_0x2d8f82:0x423,_0x51dd48:0x480,_0x3a10ea:0x90,_0x59063c:0xc6,_0x5bdfd3:0xbc,_0x5babeb:0x186,_0x15ef19:0x3cf,_0x1d4267:0x35c,_0x321557:0xf,_0x2b8e9d:0x2c6,_0x48316a:0x2a0,_0x37dc37:0xa5,_0x18c0fa:0x256,_0x468bc5:0x1a2,_0x501e37:0x5a,_0x42409f:0x193,_0x57ec4a:0x1b,_0x56ad0d:0x1d1,_0x4edc59:0x22e,_0x5f5d49:0x51,_0x131a56:0x16d,_0x26f4e5:0x3e3,_0x291664:0x2bf,_0x8286cd:0x3f9,_0x660bb2:0x8b,_0x4db9ff:0x44d,_0x43fa79:0x31,_0x3a9cb3:0x19b,_0x1e11d8:0x11b,_0xd8eae4:0xe2,_0x1ed938:0x36},_0x1167f2={_0x109ca3:0xb,_0x37ebae:0x1a0,_0x48420f:0xc8},_0x486251={_0x33fca9:0x116,_0x186b72:0x5d,_0x54d113:0x79,_0x3765c4:0xb8,_0xf6c505:0x2ab,_0x4a7387:0x20b,_0x255926:0x114,_0x20ec32:0x3c,_0x53a84c:0x45c,_0x2f31d5:0x33e,_0x40c8ba:0x392,_0x48abaa:0x3e8,_0x13cb43:0x29f,_0x39ecd8:0x1b7,_0x368cbe:0x5e},_0x1d455d={_0x54e613:0x29f,_0x1ee2ec:0x1e4},_0x2dac20={_0x246494:0xa,_0x1dd839:0x15b,_0x142bb1:0x1d4,_0x3f02d9:0x33b,_0x4b884d:0xa1,_0x30aa59:0x235,_0xc88d5:0x471,_0x12b251:0x3d,_0x2b8db2:0x159,_0x477a20:0x27b,_0x1c6a71:0x208},_0xbf5edf={_0x5aa62d:0xde,_0x15be4b:0xb0,_0x709c13:0x137},_0x59adae={_0x590d34:0x189,_0x3fe6d0:0x250,_0x45e075:0x2d,_0x21d3e:0x201},_0x5103f6={_0x317bfe:0x7f},_0x119860={_0x1bdf77:0xf1,_0x4df503:0x3e},_0xf5d44e={_0x36267f:0x149},_0x5b748e={_0x370241:0x43d},_0x3a09d8={_0x20e2da:0x4a3,_0x170cea:0x551,_0x9d5d23:0x705,_0x43ac5c:0x444,_0x5812b4:0x34c,_0x3bde4c:0x482,_0x26f3de:0x308,_0x4ec0c7:0x44f,_0x29ac87:0x321},_0x441734={_0x1ff778:0x574,_0x303fcc:0x17e},_0x9ee88c={_0x227109:0x60f},_0x495493={_0x3f25b7:0x1bd,_0x21410:0x145,_0x52c560:0x423,_0x1b3ea8:0x428,_0x3924e6:0x1d7,_0x3d4d5e:0x344,_0x3f1393:0x49b},_0x26cc29={_0x5d07e9:0x24e,_0x4ed555:0x5f},_0x313018={_0x2fc97f:0x1ea,_0x5042b4:0xd8},_0x53ad51={_0x2ef499:0xd4,_0x26e4f2:0x17b};function _0x5eecd4(_0x31ef9d,_0x2024bf,_0x10644b,_0x35e2f1){return _0x593b39(_0x31ef9d-_0x53ad51._0x2ef499,_0x10644b-_0x53ad51._0x26e4f2,_0x31ef9d,_0x35e2f1-0x48);}let {theme:_0x1af960}=_0x23be01(),[_0x3f140d,_0x10834a]=_0x110f6b([]),[_0x36629c,_0x2f8645]=_0x110f6b(!0x0),[_0x4fbcb3,_0x3f9209]=_0x110f6b(null),[_0x124668,_0x33be7c]=_0x110f6b(null),[_0x9c16ae,_0x15628d]=_0x110f6b(),[_0xe44d5d,_0x58019a]=_0x110f6b([_0x44c2b7(-0x2a,_0x220c86._0x194fd9,-0x197,-0x134),_0x5eecd4(_0x220c86._0x504dac,0x2a7,_0x220c86._0x414e1f,0x277)]),[_0x11946a,_0xc15cec]=_0x110f6b({'activeView':_0x5eecd4(0x392,_0x220c86._0xf2504c,_0x220c86._0x501d3d,_0x220c86._0x32a010),'editingCommandId':null,'selectedIndex':0x0});_0x528efb((_0x1ebe1b,_0x36b509)=>{function _0x54b708(_0x3d7150,_0xcb2d87,_0x562c3b,_0x10966a){return _0x44c2b7(_0x10966a-0x138,_0xcb2d87,_0x562c3b-_0x313018._0x2fc97f,_0x10966a-_0x313018._0x5042b4);}function _0x6f9abe(_0x2b5248,_0x2a377c,_0x48e0e2,_0x3968bd){return _0x44c2b7(_0x48e0e2-_0x26cc29._0x5d07e9,_0x2b5248,_0x48e0e2-_0x26cc29._0x4ed555,_0x3968bd-0x91);}_0x36b509[_0x6f9abe(0x1fc,_0x495493._0x3f25b7,_0x495493._0x21410,0xec)]&&_0x11946a[_0x6f9abe(0x40c,_0x495493._0x52c560,0x356,_0x495493._0x1b3ea8)]===_0x6f9abe(_0x495493._0x3924e6,0x4a8,_0x495493._0x3d4d5e,_0x495493._0x3f1393)&&_0x27993c();},{'isActive':_0x11946a[_0x5eecd4(0x428,_0x220c86._0x2ec971,_0x220c86._0x27ace1,_0x220c86._0xac62d8)]===_0x44c2b7(_0x220c86._0x1d7bc3,-0x14,0x118,0x18e)});let _0x1fd8ef=_0x4808ca(async _0x54c1ed=>{function _0x1b9096(_0x311d04,_0x26f808,_0x165d2c,_0x894b52){return _0x44c2b7(_0x894b52-_0x9ee88c._0x227109,_0x311d04,_0x165d2c-0x87,_0x894b52-0x1e0);}function _0x578833(_0x11de8a,_0x22b6ae,_0x4da6fd,_0x3d072a){return _0x44c2b7(_0x3d072a-_0x441734._0x1ff778,_0x4da6fd,_0x4da6fd-_0x441734._0x303fcc,_0x3d072a-0xbb);}try{_0x2f8645(!0x0),_0x3f9209(null),await _0x54c1ed[_0x1b9096(0x4e8,0x30f,0x30b,_0x3a09d8._0x20e2da)]();let _0x1ffe63=_0x54c1ed[_0x1b9096(0x820,0x5b5,_0x3a09d8._0x170cea,_0x3a09d8._0x9d5d23)]({'includeHidden':!0x0});_0x10834a(_0x1ffe63),_0x58019a(_0x54c1ed[_0x1b9096(0x5c6,_0x3a09d8._0x43ac5c,0x454,0x4ab)]());}catch(_0x558bd0){let _0x14a6a9=_0x558bd0 instanceof Error?_0x558bd0[_0x578833(_0x3a09d8._0x5812b4,0x565,0x36e,_0x3a09d8._0x3bde4c)]:String(_0x558bd0);_0x3f9209(_0x578833(_0x3a09d8._0x26f3de,_0x3a09d8._0x4ec0c7,_0x3a09d8._0x29ac87,0x4b4)+_0x14a6a9);}finally{_0x2f8645(!0x1);}},[]);_0x4d0fd4(()=>{const _0x54434a={_0x6bc8d0:0x3c8,_0x1fb932:0x257,_0xb49acd:0x401,_0x576949:0x23d,_0x4810c5:0x343,_0x28b771:0x2fa,_0x213316:0x280,_0x1214ca:0x22f,_0x1bf6b8:0x11e,_0x17da05:0x2f2,_0x1f7663:0x1f4,_0x576d5f:0x2b9,_0x2fe8b8:0x1eb,_0x40ef5e:0x2fe,_0x58c9cf:0x2f0,_0x28aa6d:0x259,_0xcacb80:0x3c6,_0xdc8892:0x4e5,_0x42bb2e:0x12d,_0x20137a:0x2a9,_0x4e972d:0x202,_0xfc7789:0x19f,_0x5932c3:0x16a,_0x250879:0x33};((async()=>{const _0x2e808c={_0x1ba6ac:0x9};function _0x32f896(_0x2e1df3,_0x3fc4d0,_0xfe0687,_0x20cef7){return _0x5737(_0x20cef7- -0x365,_0xfe0687);}function _0x10351d(_0x53d16d,_0xc0e214,_0x562ab6,_0x4e58ca){return _0x5737(_0x53d16d-_0x2e808c._0x1ba6ac,_0x562ab6);}try{let _0x466a41=_0x1f6b2d[_0x10351d(_0x54434a._0x6bc8d0,_0x54434a._0x1fb932,_0x54434a._0xb49acd,_0x54434a._0x576949)](),_0xfb49d5=_0x466a41[_0x10351d(0x2eb,_0x54434a._0x4810c5,0x2fc,0x416)]||_0x4b6b02['join'](_0x584aa3[_0x10351d(_0x54434a._0x28b771,_0x54434a._0x213316,0x2fd,_0x54434a._0x1214ca)](),_0x32f896(-_0x54434a._0x1bf6b8,-_0x54434a._0x17da05,-_0x54434a._0x1f7663,-0x272)),_0x48692d=_0x466a41[_0x10351d(_0x54434a._0x576d5f,0x1ed,_0x54434a._0x2fe8b8,0x11b)]||_0x4b6b02['join'](process[_0x10351d(_0x54434a._0x40ef5e,0x162,0x1a5,0x33f)](),'.nuvin'),_0x426c9f=_0x466a41[_0x10351d(_0x54434a._0x58c9cf,_0x54434a._0x28aa6d,0x190,0x17c)](),_0x1330c4=_0x466a41['getProfileManager'](),_0x10a050;_0x426c9f&&_0x426c9f!==_0x13148b&&_0x1330c4&&(_0x10a050=_0x1330c4[_0x10351d(_0x54434a._0xcacb80,0x2b9,_0x54434a._0xdc8892,0x401)](_0x426c9f)),_0x15628d(_0x426c9f!==_0x13148b?_0x426c9f:void 0x0);let _0x209fab=new jt({'globalDir':_0xfb49d5,'profileDir':_0x10a050,'localDir':_0x48692d,'activeProfile':_0x426c9f});await _0x209fab[_0x32f896(-_0x54434a._0x42bb2e,-_0x54434a._0x20137a,-_0x54434a._0x4e972d,-_0x54434a._0xfc7789)](),_0x33be7c(_0x209fab),await _0x1fd8ef(_0x209fab);}catch(_0x39c1fd){let _0x112cc2=_0x39c1fd instanceof Error?_0x39c1fd[_0x10351d(_0x54434a._0x5932c3,0x1d9,_0x54434a._0x250879,0x148)]:String(_0x39c1fd);_0x3f9209('Failed\x20to\x20initialize:\x20'+_0x112cc2),_0x2f8645(!0x1);}})());},[_0x1fd8ef]);let _0x4efe9e=_0x4808ca(()=>{function _0x1ca2af(_0x3009f7,_0x35e86c,_0x48e09a,_0x4422c5){return _0x5eecd4(_0x3009f7,_0x35e86c-0x128,_0x35e86c- -_0x5b748e._0x370241,_0x4422c5-0x127);}_0xc15cec({'activeView':_0x1ca2af(-0x201,-0x92,-0xda,-_0xf5d44e._0x36267f),'editingCommandId':null,'selectedIndex':_0x11946a['selectedIndex']});},[_0x11946a['selectedIndex']]),_0x109af3=_0x4808ca(_0x54dfd6=>{function _0x20644f(_0x4f3bce,_0x4d6d65,_0x1bf223,_0x494289){return _0x44c2b7(_0x4d6d65-0x50b,_0x1bf223,_0x1bf223-_0x119860._0x1bdf77,_0x494289-_0x119860._0x4df503);}function _0x453680(_0x342cf3,_0x133de4,_0x53a88b,_0x33a36a){return _0x44c2b7(_0x53a88b- -_0x5103f6._0x317bfe,_0x133de4,_0x53a88b-0x9b,_0x33a36a-0x68);}_0xc15cec({'activeView':_0x453680(-0x293,-_0x59adae._0x590d34,-_0x59adae._0x3fe6d0,-0x138),'editingCommandId':_0x54dfd6,'selectedIndex':_0x11946a[_0x453680(-0x208,-_0x59adae._0x45e075,-0x157,-_0x59adae._0x21d3e)]});},[_0x11946a['selectedIndex']]),_0x3d785d=_0x4808ca(async _0x40f520=>{const _0x736e1a={_0x210325:0x100,_0x7e46f4:0x21};function _0x19941f(_0x4e65ef,_0xe0b990,_0x25518d,_0x4fa5c2){return _0x44c2b7(_0x4e65ef-_0xbf5edf._0x5aa62d,_0xe0b990,_0x25518d-_0xbf5edf._0x15be4b,_0x4fa5c2-_0xbf5edf._0x709c13);}function _0x3fee74(_0x4f157e,_0x774ac5,_0x4f2041,_0x1d2b4b){return _0x5eecd4(_0x4f157e,_0x774ac5-_0x736e1a._0x210325,_0x4f2041- -_0x736e1a._0x7e46f4,_0x1d2b4b-0xec);}if(_0x124668)try{let _0x5cb223=_0x124668[_0x19941f(0x8d,0x191,0x52,_0x2dac20._0x246494)](_0x40f520);if(!_0x5cb223)return;await _0x124668[_0x3fee74(-0x4d,0x223,_0x2dac20._0x1dd839,0x1f4)](_0x40f520,_0x5cb223['source']);let _0xcb3877=_0x124668[_0x19941f(_0x2dac20._0x142bb1,_0x2dac20._0x3f02d9,_0x2dac20._0x4b884d,0x28e)]({'includeHidden':!0x0});_0x10834a(_0xcb3877);let _0x2317db=Math['min'](_0x11946a['selectedIndex'],Math['max'](0x0,_0xcb3877['length']-0x1));_0xc15cec({'activeView':'list','editingCommandId':null,'selectedIndex':_0x2317db}),await cr(_0x56fa25),_0x411345[_0x3fee74(0x46d,_0x2dac20._0x30aa59,0x31a,_0x2dac20._0xc88d5)](_0x19941f(-_0x2dac20._0x12b251,-0x1cc,0x161,-_0x2dac20._0x2b8db2));}catch(_0x384e6f){_0x3f9209('Failed\x20to\x20delete\x20command:\x20'+(_0x384e6f instanceof Error?_0x384e6f[_0x3fee74(0x229,_0x2dac20._0x477a20,_0x2dac20._0x1c6a71,0x18d)]:String(_0x384e6f)));}},[_0x124668,_0x11946a[_0x5eecd4(0x92,_0x220c86._0x18508c,_0x220c86._0xca7c8,_0x220c86._0x191795)]]),_0x1c1c67=_0x4808ca(async(_0x1f4391,_0xc5be30,_0x2933b)=>{const _0x300a8b={_0x1a5c29:0x72,_0x5a5d90:0x1d5};function _0x31d918(_0x2652e7,_0x291240,_0x3f475a,_0x232e8e){return _0x5eecd4(_0x2652e7,_0x291240-0xd6,_0x291240- -_0x300a8b._0x1a5c29,_0x232e8e-_0x300a8b._0x5a5d90);}function _0x463209(_0x3bb29d,_0x58fed6,_0x525fac,_0x2363e8){return _0x44c2b7(_0x58fed6-_0x1d455d._0x54e613,_0x3bb29d,_0x525fac-_0x1d455d._0x1ee2ec,_0x2363e8-0xf8);}if(_0x124668)try{let _0x586028=_0xc5be30&&_0xc5be30!==_0x1f4391['id'],_0x34484a=_0x2933b&&_0x2933b!==_0x1f4391[_0x31d918(0x237,_0x486251._0x33fca9,_0x486251._0x186b72,0x172)];_0xc5be30&&(_0x586028||_0x34484a)&&await _0x124668[_0x31d918(-_0x486251._0x54d113,0x10a,0x1b4,_0x486251._0x3765c4)](_0xc5be30,_0x2933b||_0x1f4391['source']),await _0x124668[_0x463209(0x94,0x1ee,0x1d2,_0x486251._0xf6c505)]({..._0x1f4391,'enabled':!0x0,'filePath':_0x124668[_0x31d918(_0x486251._0x4a7387,_0x486251._0x255926,0x80,-_0x486251._0x20ec32)](_0x1f4391['id'],_0x1f4391[_0x463209(0x23,0x10c,0x1e9,0x118)])});let _0x26eafe=_0x124668['list']({'includeHidden':!0x0});_0x10834a(_0x26eafe);let _0x32b59f=_0x26eafe[_0x31d918(_0x486251._0x53a84c,_0x486251._0x2f31d5,0x463,0x3ec)](_0x30e661=>_0x30e661['id']===_0x1f4391['id']);_0xc15cec({'activeView':'list','editingCommandId':null,'selectedIndex':_0x32b59f>=0x0?_0x32b59f:0x0}),await cr(_0x56fa25),_0x411345[_0x463209(_0x486251._0x40c8ba,0x2bf,_0x486251._0x48abaa,0x13f)](_0x463209(0x212,0x184,_0x486251._0x13cb43,0x38));}catch(_0x39749d){_0x3f9209(_0x31d918(0x210,0x297,0x33f,0x2c2)+(_0x39749d instanceof Error?_0x39749d[_0x31d918(0x2aa,_0x486251._0x39ecd8,_0x486251._0x39ecd8,_0x486251._0x368cbe)]:String(_0x39749d)));}},[_0x124668]),_0x3a8ee8=_0x4808ca(()=>{const _0x3b9e40={_0x34c5f2:0x1d1,_0x3a4678:0xbd};function _0xc6b1f(_0x41abec,_0x33e675,_0x55874a,_0x136c6a){return _0x5eecd4(_0x41abec,_0x33e675-_0x3b9e40._0x34c5f2,_0x55874a- -_0x3b9e40._0x3a4678,_0x136c6a-0xe9);}_0xc15cec(_0x80069c=>({..._0x80069c,'activeView':_0xc6b1f(0x354,0x403,0x354,0x36d),'editingCommandId':null}));},[]),_0x39c770=_0x4808ca(_0x379ea8=>_0x124668?_0x124668['getShadowed'](_0x379ea8):[],[_0x124668]);function _0x44c2b7(_0x351e70,_0x260d0a,_0x3dbc56,_0x4ce918){return _0x593b39(_0x351e70-_0x1167f2._0x109ca3,_0x351e70- -_0x1167f2._0x37ebae,_0x260d0a,_0x4ce918-_0x1167f2._0x48420f);}if(_0x11946a[_0x5eecd4(0x362,_0x220c86._0x289e44,_0x220c86._0x2d8f82,_0x220c86._0x51dd48)]===_0x44c2b7(_0x220c86._0x3a10ea,-_0x220c86._0x59063c,0x14f,-0xa0))return _0x7683b8(Er,{'visible':!0x0,'mode':_0x44c2b7(0x90,0x1d8,-_0x220c86._0x5bdfd3,_0x220c86._0x5babeb),'availableScopes':_0xe44d5d,'activeProfile':_0x9c16ae,'onSave':_0x1322f7=>_0x1c1c67(_0x1322f7),'onCancel':_0x3a8ee8});if(_0x11946a[_0x5eecd4(_0x220c86._0x15ef19,_0x220c86._0x1d4267,_0x220c86._0x27ace1,0x5ba)]===_0x5eecd4(_0x220c86._0x321557,_0x220c86._0x2b8e9d,0x14a,_0x220c86._0x48316a)&&_0x11946a[_0x5eecd4(_0x220c86._0x37dc37,-0xf,0x150,_0x220c86._0x18c0fa)]){let _0x2564ff=_0x124668?.[_0x44c2b7(-0x51,0x93,0xa9,0x30)](_0x11946a['editingCommandId']),_0x5483c8=_0x11946a[_0x44c2b7(-0x1cb,-_0x220c86._0x468bc5,-_0x220c86._0x501e37,-0x9f)],_0x39d3a5=_0x2564ff?.[_0x44c2b7(-_0x220c86._0x42409f,-0x1c8,-0x11,_0x220c86._0x57ec4a)];return _0x7683b8(Er,{'visible':!0x0,'mode':_0x44c2b7(-_0x220c86._0x56ad0d,-0x1ba,-_0x220c86._0x4edc59,-_0x220c86._0x5f5d49),'initialCommand':_0x2564ff,'availableScopes':_0xe44d5d,'activeProfile':_0x9c16ae,'onSave':_0x2345b8=>_0x1c1c67(_0x2345b8,_0x5483c8,_0x39d3a5),'onCancel':_0x3a8ee8,'onDelete':()=>_0x3d785d(_0x5483c8)});}return _0x36629c?_0x7683b8(_0x32a44e,{'visible':!0x0,'title':_0x44c2b7(0x132,0x190,0x281,-0x67),'onClose':_0x27993c,'closeOnEscape':!0x0,'children':_0x7683b8(_0x5f049a,{'color':_0x1af960[_0x44c2b7(0x81,0xc1,0xaa,_0x220c86._0x131a56)][_0x5eecd4(_0x220c86._0x26f4e5,_0x220c86._0x291664,_0x220c86._0x8286cd,0x3b2)],'children':_0x44c2b7(-0x14d,0x34,-0x2b3,-_0x220c86._0x660bb2)})}):_0x4fbcb3?_0x7683b8(_0x32a44e,{'visible':!0x0,'title':_0x5eecd4(0x35d,0x5a6,_0x220c86._0x4db9ff,0x5e5),'titleColor':_0x1af960[_0x44c2b7(0x81,_0x220c86._0x43fa79,0x1c5,-0x7e)][_0x5eecd4(0x66,0xe1,0x180,0x1)],'type':_0x44c2b7(-_0x220c86._0x3a9cb3,-_0x220c86._0x1e11d8,-0x3,-_0x220c86._0xd8eae4),'onClose':_0x27993c,'closeOnEscape':!0x0,'children':_0x7683b8(_0x5f049a,{'color':_0x1af960['colors'][_0x5eecd4(_0x220c86._0x1ed938,0x23f,0x180,0x13a)],'children':_0x4fbcb3})}):_0x7683b8(yi,{'visible':!0x0,'commands':_0x3f140d,'activeProfile':_0x9c16ae,'initialSelectedIndex':_0x11946a['selectedIndex'],'onClose':_0x27993c,'onCreate':_0x4efe9e,'onEdit':_0x109af3,'onDelete':_0x3d785d,'getShadowedCommands':_0x39c770});};function Mi(_0x3505d5){const _0x1f8cb7={_0x2c42d2:0x837,_0x5ad0c1:0x4fa,_0x1e9ca4:0x47d,_0x3c5da6:0x165,_0x45523f:0x145,_0x4e248c:0x5b,_0x1afe32:0x5f8,_0x45ebe8:0x554,_0x31f1f0:0x5cc},_0x258890={_0x34a039:0x1ac,_0x5c3a66:0x48a,_0x57e1d9:0x93},_0x3da153={_0x2fa0b2:0x312};function _0x1c6008(_0x294fd0,_0x3bf49c,_0x3f5c4a,_0x4cc0ee){return _0x593b39(_0x294fd0-0x1c3,_0x3bf49c- -_0x3da153._0x2fa0b2,_0x3f5c4a,_0x4cc0ee-0x1e5);}function _0x483021(_0x2dba70,_0x5b968f,_0x1a7570,_0x29cd22){return _0x593b39(_0x2dba70-_0x258890._0x34a039,_0x29cd22-_0x258890._0x5c3a66,_0x2dba70,_0x29cd22-_0x258890._0x57e1d9);}_0x3505d5[_0x483021(0x738,0x6a5,_0x1f8cb7._0x2c42d2,0x6fb)]({'id':_0x483021(0x4c2,0x4c4,_0x1f8cb7._0x5ad0c1,_0x1f8cb7._0x1e9ca4),'type':_0x1c6008(-_0x1f8cb7._0x3c5da6,-_0x1f8cb7._0x45523f,-_0x1f8cb7._0x4e248c,-0x237),'description':'Manage\x20custom\x20commands\x20(create,\x20edit,\x20delete).','category':_0x483021(_0x1f8cb7._0x1afe32,_0x1f8cb7._0x45ebe8,_0x1f8cb7._0x31f1f0,0x47e),'component':Ba});}import _0x3b3a96 from'ansi-escapes';function Ii(_0x25f07c){const _0x5471ce={_0xa4496c:0x6d4,_0xd225c7:0x5ed,_0x5945ec:0x5ec,_0x118761:0x6df,_0x1cc3f2:0x704,_0x4c67d1:0x437,_0x20e30f:0x283},_0x2f98ea={_0x4086a3:0x4f4,_0x111c43:0x481,_0x578d1e:0x2ec,_0xe4a81a:0x38b,_0x36333c:0x220,_0x40fbed:0x30f,_0x12f8f0:0x24e,_0x2ea86c:0x31d,_0x408e14:0x376,_0x345798:0x3d3,_0x116a41:0x4ec,_0x5a5072:0x506,_0x50d8ea:0x24c,_0x872e37:0x10c,_0x286a22:0x34e,_0x159642:0x75,_0x27ff94:0x1ce,_0xb7cb53:0x141,_0x49a8a9:0x3a3,_0x55446d:0x260,_0x152d52:0x4b5},_0x3d867a={_0x5eaf38:0x1cf,_0x2f7671:0x306},_0x2f686d={_0x1a06c3:0x186},_0x1fcbf9={_0xb82918:0x15e};function _0x3d4b5e(_0x1be140,_0xc90076,_0x29de30,_0x57bd7c){return _0x40e58d(_0x29de30,_0xc90076-_0x1fcbf9._0xb82918,_0x1be140-0x2fe,_0x57bd7c-0xab);}function _0x54f8f8(_0x46ab2c,_0x3f9ea1,_0xabaea,_0x3ee31b){return _0x40e58d(_0x3ee31b,_0x3f9ea1-0x132,_0x3f9ea1-0x367,_0x3ee31b-_0x2f686d._0x1a06c3);}_0x25f07c[_0x54f8f8(0x805,_0x5471ce._0xa4496c,0x5a8,_0x5471ce._0xd225c7)]({'id':'/clear','type':_0x54f8f8(_0x5471ce._0x5945ec,0x5f7,_0x5471ce._0x118761,_0x5471ce._0x1cc3f2),'description':_0x3d4b5e(_0x5471ce._0x4c67d1,0x2c2,0x2ee,0x520),'category':_0x3d4b5e(0x431,_0x5471ce._0x20e30f,0x54d,0x549),async 'handler'({eventBus:_0x5d0197,orchestratorManager:_0x150a3f}){let _0x574627=_0x150a3f?.['getMemory']();function _0x2d2f66(_0x1d2065,_0x3e5473,_0x5f3450,_0x1a69ff){return _0x54f8f8(_0x1d2065-_0x3d867a._0x5eaf38,_0x5f3450- -_0x3d867a._0x2f7671,_0x5f3450-0x21,_0x3e5473);}function _0x14d6b6(_0x4bee36,_0x466cd6,_0x5f0682,_0x140dfd){return _0x3d4b5e(_0x466cd6- -0x27e,_0x466cd6-0xb8,_0x140dfd,_0x140dfd-0x150);}if(_0x574627&&_0x150a3f){let _0xd69b7e=_0x150a3f[_0x14d6b6(_0x2f98ea._0x4086a3,0x343,_0x2f98ea._0x111c43,0x1af)]()[_0x2d2f66(_0x2f98ea._0x578d1e,_0x2f98ea._0xe4a81a,0x24e,_0x2f98ea._0x36333c)]();await _0x574627['delete'](_0xd69b7e);}let _0x3d75ce=_0x150a3f?.['getSession']()['sessionId'];_0x3d75ce&&_0x2f257e[_0x2d2f66(0x40e,0x1a8,_0x2f98ea._0x40fbed,_0x2f98ea._0x12f8f0)](_0x3d75ce),_0x5d0197[_0x2d2f66(0x1dc,0x24a,_0x2f98ea._0x2ea86c,_0x2f98ea._0x408e14)](_0x2d2f66(0x247,_0x2f98ea._0x345798,0x23a,0x1d1)),console[_0x14d6b6(0x321,0x35e,_0x2f98ea._0x116a41,_0x2f98ea._0x5a5072)](_0x3b3a96[_0x14d6b6(0xbf,_0x2f98ea._0x50d8ea,_0x2f98ea._0x872e37,0x2f4)]),_0x5d0197[_0x14d6b6(_0x2f98ea._0x286a22,0x33c,0x3a5,0x4bf)](_0x14d6b6(_0x2f98ea._0x159642,_0x2f98ea._0x27ff94,_0x2f98ea._0xb7cb53,0x17c)),_0x5d0197[_0x14d6b6(0x24e,0x33c,0x42e,0x1e1)](_0x2d2f66(_0x2f98ea._0x49a8a9,_0x2f98ea._0x55446d,0x39d,_0x2f98ea._0x152d52));}});}import*as _0x2401a9 from'crypto';function _0x5737(_0xd224fb,_0x5f4c38){_0xd224fb=_0xd224fb-0x74;const _0x45877b=_0x4587();let _0x5737e3=_0x45877b[_0xd224fb];if(_0x5737['ZLrpAZ']===undefined){var _0x3bb77f=function(_0x24c70){const _0x1f3a55='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3535c3='',_0x981fce='';for(let _0x56fa25=0x0,_0x4afe72,_0x1805a1,_0x22aa20=0x0;_0x1805a1=_0x24c70['charAt'](_0x22aa20++);~_0x1805a1&&(_0x4afe72=_0x56fa25%0x4?_0x4afe72*0x40+_0x1805a1:_0x1805a1,_0x56fa25++%0x4)?_0x3535c3+=String['fromCharCode'](0xff&_0x4afe72>>(-0x2*_0x56fa25&0x6)):0x0){_0x1805a1=_0x1f3a55['indexOf'](_0x1805a1);}for(let _0x5e7c8a=0x0,_0xdcc86a=_0x3535c3['length'];_0x5e7c8a<_0xdcc86a;_0x5e7c8a++){_0x981fce+='%'+('00'+_0x3535c3['charCodeAt'](_0x5e7c8a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x981fce);};_0x5737['fuwPIw']=_0x3bb77f,_0x5737['PrWXDP']={},_0x5737['ZLrpAZ']=!![];}const _0x565b95=_0x45877b[0x0],_0xcedf9c=_0xd224fb+_0x565b95,_0x5d7de6=_0x5737['PrWXDP'][_0xcedf9c];return!_0x5d7de6?(_0x5737e3=_0x5737['fuwPIw'](_0x5737e3),_0x5737['PrWXDP'][_0xcedf9c]=_0x5737e3):_0x5737e3=_0x5d7de6,_0x5737e3;}function _0x40e58d(_0x93e78a,_0x439780,_0x24debe,_0x4f486e){const _0x206230={_0x441fda:0x49};return _0x5737(_0x24debe-_0x206230._0x441fda,_0x93e78a);}import _0x2583f7 from'ansi-escapes';function Ei(_0x2cb51b){const _0x31f2ea={_0x5cb9c8:0x4d4,_0x36f3be:0x99,_0x41d65b:0x6d8,_0x34631d:0x580,_0x59d79f:0x39b,_0x1a0b1d:0x249},_0x376e0b={_0x2a2cbe:0x672,_0x25ebb9:0x317,_0x34a1bc:0x290,_0x143b7b:0x5b5,_0xa5c29d:0x684,_0x275a96:0x426,_0x5a72e3:0x538,_0x13f079:0x4cb,_0x1edfc0:0x3ba,_0x407ffa:0x536,_0x7da3c7:0x3af,_0x21e8ac:0x49b,_0x5db197:0x5a7,_0x362235:0x47d,_0x2268aa:0x5ff,_0x324902:0x3d9,_0x44210c:0x5c9,_0x2f406f:0x6e9,_0x57d100:0x660,_0x99a842:0x52b,_0x21b1b9:0x439,_0x579f38:0x40d,_0x140607:0x4b1,_0x1ee308:0x5ba,_0x3940d7:0x59e,_0x3e9cb4:0x758,_0x650a0e:0x3f7,_0x241a0f:0x5d4,_0x4fe8de:0x643,_0x2f79e8:0x7e0,_0x43fc76:0x4fe,_0x338f37:0x67a,_0x4f1658:0x2fe,_0x451180:0x466,_0x289ddb:0x6db,_0x2a993c:0x6ab,_0x201e17:0x6c7,_0x4f0777:0x51e,_0x295328:0x5ee,_0xc0ecbe:0x451,_0x14d2ba:0x558,_0x134866:0x591,_0x165a3f:0x491,_0x5a28b7:0x4ba,_0x32f8d8:0x4a8,_0x1731ec:0x334,_0x4c47bf:0x671,_0x49802b:0x5a7,_0x520ef7:0x6b3,_0xcbce5f:0x670,_0x65ce95:0x5ec},_0x315d47={_0x3af88c:0x84,_0x5c9d3e:0x51},_0x8fea66={_0x4d563f:0x113},_0x1a5a21={_0xe7e66b:0x222};function _0x5b79c0(_0x2907b6,_0x473a43,_0x195c7f,_0x217c44){return _0x40e58d(_0x473a43,_0x473a43-0x174,_0x217c44- -_0x1a5a21._0xe7e66b,_0x217c44-0x3b);}function _0x2e861c(_0x32cf81,_0x50d16a,_0x558b86,_0x4038f7){return _0x593b39(_0x32cf81-0x1c,_0x50d16a-0x364,_0x558b86,_0x4038f7-_0x8fea66._0x4d563f);}_0x2cb51b[_0x2e861c(_0x31f2ea._0x5cb9c8,0x5d5,0x6d6,0x597)]({'id':_0x5b79c0(0x1d6,0xc0,0xc2,_0x31f2ea._0x36f3be),'type':'function','description':_0x2e861c(_0x31f2ea._0x41d65b,0x606,0x5a9,_0x31f2ea._0x34631d),'category':_0x2e861c(0x4a5,_0x31f2ea._0x59d79f,_0x31f2ea._0x1a0b1d,0x40b),async 'handler'({eventBus:_0x583c30,config:_0x2c7d4d,orchestratorManager:_0x5b33c3}){const _0x1eb233={_0x1941b9:0x87,_0x4e68b8:0x96};function _0x296c7c(_0xd18b7d,_0x1c30e8,_0x2ea977,_0x4187b3){return _0x2e861c(_0xd18b7d-_0x1eb233._0x1941b9,_0x1c30e8-_0x1eb233._0x4e68b8,_0x2ea977,_0x4187b3-0x31);}function _0x5415a9(_0x13fe4c,_0x19febf,_0x64c1fe,_0x672d86){return _0x5b79c0(_0x13fe4c-_0x315d47._0x3af88c,_0x64c1fe,_0x64c1fe-_0x315d47._0x5c9d3e,_0x19febf-0x50d);}if(!_0x5b33c3){_0x583c30[_0x296c7c(_0x376e0b._0x2a2cbe,0x5ba,0x52a,0x76e)](_0x5415a9(_0x376e0b._0x25ebb9,0x4cb,0x546,0x576),_0x5415a9(0x237,0x3dc,_0x376e0b._0x34a1bc,0x3b5));return;}if(_0x5b33c3['getStatus']()!==_0x296c7c(0x4ed,_0x376e0b._0x143b7b,0x675,0x60b)){_0x583c30[_0x296c7c(0x736,0x5ba,_0x376e0b._0xa5c29d,_0x376e0b._0x275a96)](_0x5415a9(_0x376e0b._0x5a72e3,_0x376e0b._0x13f079,0x494,_0x376e0b._0x1edfc0),'Cannot\x20start\x20new\x20conversation:\x20System\x20is\x20still\x20initializing');return;}let _0x2c0c52=_0x2c7d4d?.[_0x5415a9(0x409,_0x376e0b._0x407ffa,0x424,0x58c)](_0x5415a9(0x54a,_0x376e0b._0x7da3c7,_0x376e0b._0x21e8ac,0x49f))??!0x1;_0x583c30[_0x5415a9(_0x376e0b._0x5db197,0x5a7,0x47f,0x69a)](_0x296c7c(_0x376e0b._0x362235,0x4d7,_0x376e0b._0x2268aa,_0x376e0b._0x324902)),console[_0x5415a9(0x52c,_0x376e0b._0x44210c,_0x376e0b._0x2f406f,_0x376e0b._0x57d100)](_0x2583f7[_0x5415a9(0x44c,0x4b7,0x5d6,0x50e)]),_0x583c30[_0x5415a9(_0x376e0b._0x99a842,0x5a7,0x4e8,0x5e9)](_0x5415a9(0x4b2,_0x376e0b._0x21b1b9,0x355,_0x376e0b._0x579f38));try{let {sessionId:_0x4ae258}=await _0x5b33c3['createNewConversation']({'memPersist':_0x2c0c52});_0x4ae258&&_0x2f257e[_0x5415a9(_0x376e0b._0x140607,0x599,0x742,0x42d)](_0x4ae258),_0x583c30[_0x296c7c(0x5d2,_0x376e0b._0x1ee308,_0x376e0b._0x3940d7,_0x376e0b._0x3e9cb4)](_0x296c7c(_0x376e0b._0x650a0e,0x4ab,_0x376e0b._0x241a0f,0x4f2),{'memPersist':_0x2c0c52}),_0x583c30[_0x5415a9(0x67d,0x5a7,0x616,0x4ed)](_0x5415a9(_0x376e0b._0x4fe8de,0x68a,0x5e7,_0x376e0b._0x2f79e8),{'id':_0x2401a9['randomUUID'](),'type':_0x5415a9(0x6d9,0x53d,_0x376e0b._0x43fc76,_0x376e0b._0x338f37),'content':_0x296c7c(0x316,0x3d8,_0x376e0b._0x4f1658,_0x376e0b._0x451180),'metadata':{'timestamp':new Date()[_0x5415a9(0x4c5,0x581,_0x376e0b._0x289ddb,_0x376e0b._0x2a993c)]()},'color':_0x58f3e4[_0x296c7c(0x6a2,_0x376e0b._0x201e17,_0x376e0b._0x4f0777,_0x376e0b._0x295328)][_0x5415a9(_0x376e0b._0xc0ecbe,_0x376e0b._0x14d2ba,_0x376e0b._0x134866,_0x376e0b._0x165a3f)]});}catch(_0xd1f73c){let _0x5c78df=_0xd1f73c instanceof Error?_0xd1f73c[_0x296c7c(_0x376e0b._0x5a28b7,_0x376e0b._0x32f8d8,_0x376e0b._0x1731ec,0x542)]:String(_0xd1f73c);_0x583c30[_0x5415a9(_0x376e0b._0x4c47bf,_0x376e0b._0x49802b,0x756,_0x376e0b._0x520ef7)](_0x296c7c(0x512,0x4de,_0x376e0b._0xcbce5f,0x47f),_0x5415a9(0x4f5,_0x376e0b._0x65ce95,0x619,0x598)+_0x5c78df);}}});}function Ri(_0x27e5d0){const _0x31d55a={_0x3a0df6:0x46d,_0x4578ae:0x23c,_0x30fa8c:0x361,_0x297b50:0x302,_0x300c17:0x405,_0x38811d:0x3e0,_0x59c06d:0x2f5,_0x34dde5:0x485},_0x2254c2={_0x34d267:0x14,_0x2e3008:0x19c},_0x3942a8={_0x1db3b6:0xb1},_0x3e8569={_0x3d0619:0x92};function _0xeac233(_0x96a8c5,_0x5ebc41,_0x3de93b,_0x411d0d){return _0x593b39(_0x96a8c5-_0x3e8569._0x3d0619,_0x3de93b-0x161,_0x96a8c5,_0x411d0d-0x19);}function _0x2682bd(_0x4ad96f,_0x5913be,_0x4074c2,_0xc58f8d){return _0x40e58d(_0xc58f8d,_0x5913be-0x20,_0x5913be-_0x3942a8._0x1db3b6,_0xc58f8d-0x1b);}_0x27e5d0[_0xeac233(_0x31d55a._0x3a0df6,_0x31d55a._0x4578ae,0x3d2,_0x31d55a._0x30fa8c)]({'id':_0x2682bd(0x354,_0x31d55a._0x297b50,_0x31d55a._0x300c17,0x336),'type':_0xeac233(0x42f,_0x31d55a._0x38811d,_0x31d55a._0x59c06d,_0x31d55a._0x34dde5),'description':'Toggle\x20Vim\x20editing\x20mode\x20for\x20the\x20chat\x20input','category':'ui','handler'({eventBus:_0x43128f}){const _0x320551={_0x27ac05:0x11,_0xa143cb:0x468,_0x588fd7:0x181};function _0xfe2696(_0x1f8244,_0x3faf28,_0x58d65b,_0x5e0d70){return _0x2682bd(_0x1f8244-_0x320551._0x27ac05,_0x1f8244- -_0x320551._0xa143cb,_0x58d65b-_0x320551._0x588fd7,_0x5e0d70);}_0x43128f['emit'](_0xfe2696(_0x2254c2._0x34d267,-0xe7,0xc3,-_0x2254c2._0x2e3008),void 0x0);}});}import*as _0x333de0 from'crypto';function Fa(_0x1d1580){const _0x2baedd={_0x4d81fe:0x1dd,_0x3d4611:0x29e,_0x1be794:0x467,_0xeed7f2:0x2f7,_0x844f1f:0x355,_0x2f406c:0x231,_0x13ce03:0x322,_0x49f321:0x21d,_0x3a317e:0x399,_0x152ed3:0x4b5},_0x8351d2={_0x29d546:0x3b};function _0xcf297c(_0x3ac7a4,_0x386a1e,_0xf9f8a2,_0xca1b5c){return _0x40e58d(_0xf9f8a2,_0x386a1e-0x1e5,_0x386a1e-0x67,_0xca1b5c-0x49);}function _0x2b61eb(_0x150b68,_0x2075ec,_0x1eb352,_0x21a41d){return _0x593b39(_0x150b68-0x15c,_0x1eb352-0x386,_0x150b68,_0x21a41d-_0x8351d2._0x29d546);}try{let _0x496b7a=JSON[_0xcf297c(_0x2baedd._0x4d81fe,_0x2baedd._0x3d4611,0x17c,0x136)](_0x1d1580[_0xcf297c(_0x2baedd._0x1be794,_0x2baedd._0xeed7f2,0x47e,_0x2baedd._0x844f1f)][_0xcf297c(_0x2baedd._0x2f406c,0x295,_0x2baedd._0x13ce03,_0x2baedd._0x49f321)]);return _0x496b7a['path']||_0x496b7a[_0xcf297c(0x41a,0x38d,_0x2baedd._0x3a317e,_0x2baedd._0x152ed3)]||null;}catch{return null;}}function ki(_0x4a7bbb){const _0x628999={_0x146313:0x459,_0x52814b:0x5bc,_0x343223:0x5b9,_0x15ad30:0x309},_0x324342={_0x532108:0x28e,_0x11d6ec:0x1d2},_0x5068ff={_0x11e2e8:0x113,_0x8484b6:0xfa,_0x9d6671:0xa5,_0x2c0436:0x77,_0x331dc9:0x12f,_0x46da1b:0xf5,_0x4dd63b:0x1b2,_0x416caa:0x6e,_0xa196d7:0x95,_0x3a2034:0x72,_0x264398:0x7c,_0x2a3c1c:0x171,_0x2e1dd3:0x13e,_0x1998bd:0x28e,_0x318216:0x149,_0x2a50ae:0x3b8,_0x16bd1d:0x282,_0x1cb923:0x62,_0x5421c2:0x1a,_0x363a65:0x198,_0x37e9fb:0x2aa,_0x252f62:0x3b4,_0x27b015:0x345,_0x12fcd5:0x35a,_0x400b91:0x2c2,_0x4edc5e:0x189,_0x6745c8:0x71,_0x144017:0x1bc},_0xeb4403={_0xf65c49:0x3,_0x2adc86:0x125};function _0x3ac8c7(_0x3155e6,_0x46ff7f,_0x2ee7f0,_0x4514f7){return _0x593b39(_0x3155e6-_0xeb4403._0xf65c49,_0x3155e6-0x3d5,_0x4514f7,_0x4514f7-_0xeb4403._0x2adc86);}let _0x56420b=[],_0x591cba=[],_0x548aa5=[];return _0x4a7bbb[_0x3ac8c7(_0x628999._0x146313,_0x628999._0x52814b,_0x628999._0x343223,_0x628999._0x15ad30)](_0x157464=>{const _0x54b6a5={_0x174eef:0x138},_0x1f3796={_0x143a05:0x62b,_0x145bbe:0x4a,_0x3fb993:0x1cf};function _0x4b4144(_0x1d9286,_0xc03ebf,_0x25cc34,_0x490860){return _0x3ac8c7(_0x490860- -_0x1f3796._0x143a05,_0xc03ebf-_0x1f3796._0x145bbe,_0x25cc34-_0x1f3796._0x3fb993,_0xc03ebf);}_0x157464['tool_calls']&&_0x157464['tool_calls'][_0x4b4144(-0x2a2,-0x32d,-_0x324342._0x532108,-_0x324342._0x11d6ec)](_0x5c6c9f=>{const _0x4393c6={_0x4150f3:0x1ec,_0x1d9c38:0x160,_0x46f810:0xc4};let _0x8bbf6f=Fa(_0x5c6c9f);function _0x570bb5(_0x3aeae1,_0x2e59c5,_0x3c8da2,_0x4a787c){return _0x4b4144(_0x3aeae1-0x5f,_0x3c8da2,_0x3c8da2-_0x54b6a5._0x174eef,_0x3aeae1- -0xbf);}function _0x31a6b8(_0x5443f8,_0x5064f0,_0x45c97d,_0x437ed7){return _0x4b4144(_0x5443f8-_0x4393c6._0x4150f3,_0x437ed7,_0x45c97d-_0x4393c6._0x1d9c38,_0x5443f8- -_0x4393c6._0x46f810);}if(!_0x8bbf6f)return;let _0x5a83f7=_0x157464[_0x570bb5(0xe,0x154,-0x19,_0x5068ff._0x11e2e8)]?new Date(_0x157464[_0x570bb5(0xe,-_0x5068ff._0x8484b6,-_0x5068ff._0x9d6671,0x188)]):new Date();_0x5c6c9f['function'][_0x570bb5(-_0x5068ff._0x2c0436,_0x5068ff._0x331dc9,-_0x5068ff._0x46da1b,-0x201)]==='file_read'?_0x56420b[_0x31a6b8(-_0x5068ff._0x4dd63b,-0x105,-0x275,-_0x5068ff._0x416caa)]({'path':_0x8bbf6f,'timestamp':_0x5a83f7,'message':_0x157464,'operation':_0x570bb5(-0xa,-_0x5068ff._0xa196d7,-0xc1,-_0x5068ff._0x3a2034)}):_0x5c6c9f['function'][_0x31a6b8(-_0x5068ff._0x264398,-_0x5068ff._0x2a3c1c,-0xdd,0x10e)]===_0x31a6b8(-_0x5068ff._0x2e1dd3,-_0x5068ff._0x1998bd,-_0x5068ff._0x318216,-0x17d)?_0x591cba['push']({'path':_0x8bbf6f,'timestamp':_0x5a83f7,'message':_0x157464,'operation':_0x31a6b8(-0x34b,-_0x5068ff._0x2a50ae,-0x4eb,-_0x5068ff._0x16bd1d)}):_0x5c6c9f[_0x570bb5(-0x181,-_0x5068ff._0x1cb923,-0xe6,-0x1b2)][_0x31a6b8(-0x7c,_0x5068ff._0x5421c2,-_0x5068ff._0x363a65,-0x8a)]===_0x31a6b8(-_0x5068ff._0x37e9fb,-0x3c6,-_0x5068ff._0x252f62,-_0x5068ff._0x27b015)&&_0x548aa5[_0x570bb5(-0x1ad,-_0x5068ff._0x12fcd5,-_0x5068ff._0x400b91,-_0x5068ff._0x4edc5e)]({'path':_0x8bbf6f,'timestamp':_0x5a83f7,'message':_0x157464,'operation':_0x570bb5(-0x120,_0x5068ff._0x6745c8,0x1,-_0x5068ff._0x144017)});});}),{'reads':_0x56420b,'edits':_0x591cba,'creates':_0x548aa5};}function Bi(_0x5395ed,_0x176e74,_0x30c59c){const _0x13c8d2={_0x1d61dc:0x101,_0x4e39cd:0x26,_0x517085:0x18c,_0x21d698:0x427,_0x469085:0x30e,_0x47c6b0:0x298,_0x33e3e0:0x4b,_0x2fcb66:0x32},_0x350edc={_0x32cb3a:0x178},_0x9067f2={_0x32a243:0x2d1};function _0x5c7643(_0x5ac208,_0x2b146d,_0x5b6d4e,_0x280a88){return _0x40e58d(_0x280a88,_0x2b146d-0x1de,_0x5b6d4e- -_0x9067f2._0x32a243,_0x280a88-0xd7);}let _0x4aebc2=_0x176e74[_0x5c7643(-_0x13c8d2._0x1d61dc,-_0x13c8d2._0x4e39cd,0x2c,_0x13c8d2._0x517085)](_0x294de8=>_0x294de8[_0x4024b4(0x23a,0x133,0x209,0x387)]===_0x5395ed['path']&&_0x294de8[_0x5c7643(0x34,0x1fe,0x14e,0x2b)]>_0x5395ed[_0x5c7643(0x23c,0x1c1,0x14e,0x4d)]),_0x4fdc24=_0x30c59c['filter'](_0xd5e4c2=>_0xd5e4c2['path']===_0x5395ed['path']&&_0xd5e4c2[_0x4024b4(0x378,0x2b1,0x429,0x24f)]>_0x5395ed[_0x4024b4(0x378,0x452,0x39a,0x48d)]);function _0x4024b4(_0x5ace74,_0x47cfe9,_0x10ff6c,_0x41132c){return _0x40e58d(_0x47cfe9,_0x47cfe9-_0x350edc._0x32cb3a,_0x5ace74- -0xa7,_0x41132c-0x11e);}return _0x4aebc2[_0x4024b4(0x28b,_0x13c8d2._0x21d698,_0x13c8d2._0x469085,_0x13c8d2._0x47c6b0)]>0x0||_0x4fdc24[_0x5c7643(-_0x13c8d2._0x33e3e0,-_0x13c8d2._0x2fcb66,0x61,-0x57)]>0x0;}function Di(_0x1fa734,_0x58725d){const _0x1f2220={_0x4a918a:0x5c6,_0x3879af:0x5d5,_0x2eb07a:0x742},_0x5b92ad={_0x2c042c:0x1ae},_0x56be6f={_0x40a8bc:0x18d,_0x5b1777:0x13};function _0x1c5cbc(_0x4d5788,_0x36a500,_0x417a69,_0x4559af){return _0x40e58d(_0x4559af,_0x36a500-_0x56be6f._0x40a8bc,_0x36a500-_0x56be6f._0x5b1777,_0x4559af-0xb);}function _0x1a1589(_0x1eba68,_0x1bd281,_0x9ee39d,_0xa76f71){return _0x593b39(_0x1eba68-0x179,_0x1bd281-0x469,_0x1eba68,_0xa76f71-_0x5b92ad._0x2c042c);}return _0x58725d[_0x1a1589(_0x1f2220._0x4a918a,0x66a,_0x1f2220._0x3879af,_0x1f2220._0x2eb07a)](_0x1c457d=>_0x1c457d[_0x1c5cbc(0x2a9,0x2f4,0x1c3,0x40a)]===_0x1fa734[_0x1a1589(0x71f,0x64e,0x7ea,0x60e)]&&_0x1c457d[_0x1c5cbc(0x5a4,0x432,0x51a,0x5c1)]>_0x1fa734['timestamp'])['length']>0x0;}function La(_0x38d0e1){const _0x44b3d6={_0x3e7a3f:0xc8,_0x536b46:0xdf,_0x44860d:0x38,_0x2a2b87:0x12e,_0x421e2e:0x2f,_0xcfb9ab:0x41,_0x203358:0x7f9,_0x4197b5:0x67b},_0xb16695={_0x27cc74:0x1c7},_0x23f8b2={_0x1469aa:0x182,_0x158722:0x5c,_0x1522d1:0x134};function _0x4ff427(_0x413c79,_0x505270,_0x4e5d79,_0x2cfb0c){return _0x593b39(_0x413c79-_0x23f8b2._0x1469aa,_0x4e5d79- -_0x23f8b2._0x158722,_0x2cfb0c,_0x2cfb0c-_0x23f8b2._0x1522d1);}function _0x5f0d02(_0x474e97,_0x392710,_0x15f506,_0xd42553){return _0x593b39(_0x474e97-0x35,_0xd42553-0x3de,_0x392710,_0xd42553-_0xb16695._0x27cc74);}try{return JSON[_0x4ff427(_0x44b3d6._0x3e7a3f,-0xd1,_0x44b3d6._0x536b46,0xd8)](_0x38d0e1[_0x4ff427(-_0x44b3d6._0x44860d,-0x59,0x138,_0x44b3d6._0x2a2b87)][_0x4ff427(0xf6,_0x44b3d6._0x421e2e,0xd6,_0x44b3d6._0xcfb9ab)])[_0x5f0d02(_0x44b3d6._0x203358,0x586,_0x44b3d6._0x4197b5,0x687)]||null;}catch{return null;}}function _i(_0x6815b1){const _0x3da50b={_0x3fa006:0x434,_0x1d73c6:0x512,_0x11f3df:0x435,_0x5a08a7:0x672},_0x5a6ce8={_0xbb22ac:0x585,_0x3ef6ed:0x34a,_0x2f65ff:0x585,_0x20cfa2:0x4b0,_0x2da708:0x65f,_0x5d1781:0x4dd,_0x359c20:0x466,_0x3f7101:0x4fc,_0x572fa9:0x41f},_0xb30f4={_0x19f118:0x58c,_0x32fd51:0x576,_0x5031b7:0x720,_0x5837d3:0x51e,_0x22dd0c:0x5fd,_0x1fa07b:0x434},_0x24fe06={_0x3abf5b:0x1ef};let _0x23837e=[];function _0xe8f9fc(_0x1eb704,_0x2877c8,_0x38254a,_0x15e91e){return _0x593b39(_0x1eb704-_0x24fe06._0x3abf5b,_0x2877c8-0x48e,_0x15e91e,_0x15e91e-0x178);}return _0x6815b1[_0xe8f9fc(_0x3da50b._0x3fa006,_0x3da50b._0x1d73c6,_0x3da50b._0x11f3df,_0x3da50b._0x5a08a7)](_0x143558=>{const _0x4f0a85={_0x158b60:0x9},_0x119b7a={_0x4672e4:0xbc,_0x5d6ba7:0xe1,_0xe373a6:0x1a6},_0x300613={_0x1ae40f:0xf3},_0x255be0={_0x16529e:0x244};function _0x1a71e8(_0x1605f8,_0x3e7bca,_0x40ae2b,_0x4d79d9){return _0xe8f9fc(_0x1605f8-0x101,_0x3e7bca- -_0x255be0._0x16529e,_0x40ae2b-0x83,_0x1605f8);}function _0x2bb0e0(_0x4a30c3,_0x20857b,_0x49a2a5,_0x24b007){return _0xe8f9fc(_0x4a30c3-0x10c,_0x24b007- -_0x300613._0x1ae40f,_0x49a2a5-0x1a7,_0x4a30c3);}_0x143558[_0x2bb0e0(_0x5a6ce8._0xbb22ac,_0x5a6ce8._0x3ef6ed,0x4a8,0x4dd)]&&_0x143558[_0x2bb0e0(_0x5a6ce8._0x2f65ff,_0x5a6ce8._0x20cfa2,_0x5a6ce8._0x2da708,_0x5a6ce8._0x5d1781)][_0x2bb0e0(_0x5a6ce8._0x359c20,0x573,_0x5a6ce8._0x3f7101,_0x5a6ce8._0x572fa9)](_0x429edb=>{if(_0x429edb['function'][_0x5a1d78(0x4f1,0x51e,0x347,_0xb30f4._0x19f118)]!=='bash_tool')return;let _0x4a4d4c=La(_0x429edb);function _0x569cf8(_0x26b0f2,_0x58c2d4,_0x381431,_0x1fdd1b){return _0x1a71e8(_0x26b0f2,_0x1fdd1b-_0x119b7a._0x4672e4,_0x381431-_0x119b7a._0x5d6ba7,_0x1fdd1b-_0x119b7a._0xe373a6);}if(!_0x4a4d4c)return;function _0x5a1d78(_0x5776e6,_0xfa7984,_0x4fe06d,_0x5c20ce){return _0x1a71e8(_0xfa7984,_0x5776e6-_0x4f0a85._0x158b60,_0x4fe06d-0x1c3,_0x5c20ce-0xe6);}let _0x4dab1a=_0x143558[_0x5a1d78(_0xb30f4._0x32fd51,0x488,_0xb30f4._0x5031b7,0x5b6)]?new Date(_0x143558[_0x5a1d78(0x576,0x46b,0x4e6,0x548)]):new Date(),_0x413ec9=_0x6815b1[_0x569cf8(0x65c,_0xb30f4._0x5837d3,0x5c8,_0xb30f4._0x22dd0c)](_0x1b6d16=>_0x1b6d16[_0x5a1d78(0x26d,0x268,0x35d,0x21b)]==='tool'&&_0x1b6d16[_0x569cf8(0x3d4,0x554,0x511,0x41c)]===_0x429edb['id']);_0x23837e[_0x569cf8(0x46a,_0xb30f4._0x1fa07b,0x2c0,0x46e)]({'command':_0x4a4d4c,'timestamp':_0x4dab1a,'message':_0x143558,'toolResultMessage':_0x413ec9||null});});}),_0x23837e;}function Fi(_0x335979,_0x5a5d26){const _0x165279={_0x5a69cd:0x403,_0x422db8:0x8d},_0x537903={_0x515f59:0x1eb,_0x173ebe:0x147};function _0x393fcc(_0x4598ee,_0x160a75,_0x2b57cb,_0x32f9d4){return _0x40e58d(_0x160a75,_0x160a75-0x1c7,_0x2b57cb-_0x537903._0x515f59,_0x32f9d4-_0x537903._0x173ebe);}function _0x23b7c7(_0x9a46dc,_0x920fa4,_0x5b6cec,_0x4bb4c0){return _0x593b39(_0x9a46dc-0x156,_0x5b6cec-_0x165279._0x5a69cd,_0x920fa4,_0x4bb4c0-_0x165279._0x422db8);}return _0x5a5d26['filter'](_0x54d325=>_0x54d325[_0x393fcc(0x328,0x537,0x471,0x438)]===_0x335979['command']&&_0x54d325['timestamp']>_0x335979[_0x23b7c7(0x7b9,0x6c5,0x726,0x8c8)])['length']>0x0;}function Li(_0x4b2e88){const _0x32d083={_0x59af86:0x4d6,_0x1c0896:0xf2,_0x8df530:0x1c8,_0x178dc6:0x373,_0x3f9cb4:0x203,_0x58c847:0x2df,_0x5a63f3:0x5b7,_0x67d5c9:0x48f,_0x33a801:0x707},_0x2242fd={_0x36c77a:0x14b,_0xa3b69:0x169},_0x3556bb={_0x246fe9:0x181,_0x2011ed:0x60,_0x49c726:0x5c};function _0x225c2d(_0x2dc703,_0x20aa96,_0x567465,_0x11fdff){return _0x593b39(_0x2dc703-_0x3556bb._0x246fe9,_0x20aa96-_0x3556bb._0x2011ed,_0x11fdff,_0x11fdff-_0x3556bb._0x49c726);}function _0x4058c7(_0x3181fe,_0x47c6de,_0xed2195,_0x578875){return _0x40e58d(_0x47c6de,_0x47c6de-_0x2242fd._0x36c77a,_0x578875-0x205,_0x578875-_0x2242fd._0xa3b69);}let _0x372a0d=(typeof _0x4b2e88[_0x4058c7(0x37b,0x37b,0x658,_0x32d083._0x59af86)]==_0x225c2d(-0x3c,_0x32d083._0x1c0896,0x20e,_0x32d083._0x8df530)?_0x4b2e88[_0x4058c7(_0x32d083._0x178dc6,0x3a0,0x3c1,_0x32d083._0x59af86)]:'')[_0x225c2d(_0x32d083._0x3f9cb4,0x1bb,0x2ee,_0x32d083._0x58c847)]();return[/error:/i,/failed/i,/exception/i,/command not found/i,/permission denied/i,/no such file/i,/cannot/i,/fatal:/i][_0x4058c7(_0x32d083._0x5a63f3,_0x32d083._0x67d5c9,_0x32d083._0x33a801,0x5d8)](_0x4f553b=>_0x4f553b[_0x225c2d(0xf,0x11f,0x18d,0x210)](_0x372a0d));}function Oi(_0xa36019){const _0x573fe2={_0x2c4494:0x45,_0x57bcac:0x126,_0xef1de4:0xfe,_0x235024:0x662,_0x257597:0x4c6,_0x43d935:0x5a1,_0x5604f0:0x4c6,_0x726f27:0x7b5,_0x4fd322:0x678,_0x5eb962:0x18a,_0x1280bc:0x72,_0x2a331a:0x2d},_0x153f07={_0x4ffe03:0x182,_0x41359b:0x85},_0x350868={_0x3fa169:0xa2,_0x2aec85:0x346},_0x5b8179={_0x31f689:0x191,_0x561ed4:0xbe,_0x2e5325:0x63,_0x1c011d:0x33,_0x5a14ca:0x11,_0x5c1265:0x16e,_0x91ddbb:0xf9,_0x28589c:0x319},_0x309b74={_0x1f7455:0x380,_0x574b75:0x673,_0x2b785d:0x520,_0x36c9db:0x3b5},_0x49a17f={_0x4f9e96:0x145,_0x38e96f:0x453},_0x2e53e1={_0x5994db:0x2bb,_0x54db76:0x175,_0xb1e2c3:0x33,_0x51bfbd:0x346,_0x381c13:0x197,_0xc76345:0x3ec};let {reads:_0x31ff10,edits:_0x178982,creates:_0x3729b9}=ki(_0xa36019),_0x40ce73=_i(_0xa36019),_0x2929d5=new Set(),_0x55ae8b=0x0,_0x576664=0x0,_0xbe1717=0x0,_0x260d02=0x0;_0x31ff10[_0x367423(0xb2,_0x573fe2._0x2c4494,-_0x573fe2._0x57bcac,-_0x573fe2._0xef1de4)](_0x11876b=>{const _0x12dee0={_0x4ba540:0x11d,_0x330f70:0x249};function _0x2a63bb(_0xd40241,_0x103e65,_0x27b562,_0x55ad14){return _0x367423(_0xd40241-0xd9,_0x103e65-0x49,_0x103e65,_0xd40241-0x1d1);}function _0x2ed40c(_0x1e430b,_0x49acc5,_0x30d1d5,_0x1878c8){return _0x367423(_0x1e430b-_0x12dee0._0x4ba540,_0x49acc5-0xb6,_0x1878c8,_0x49acc5-_0x12dee0._0x330f70);}if(Bi(_0x11876b,_0x178982,_0x3729b9)){_0x2929d5['add'](_0x11876b[_0x2ed40c(_0x2e53e1._0x5994db,_0x2e53e1._0x54db76,_0x2e53e1._0xb1e2c3,0x1f1)]['id']);let _0x3945e4=_0xa36019[_0x2a63bb(_0x2e53e1._0x51bfbd,0x1b1,_0x2e53e1._0x381c13,_0x2e53e1._0xc76345)](_0x55ae08=>_0x55ae08[_0x2ed40c(0x125,0xe1,0x20,-0x2c)]===_0x2a63bb(0x247,0x399,0xef,0x3f9)&&_0x11876b[_0x2ed40c(0x2c,0x175,-0x5,0xdd)][_0x2ed40c(0x13e,0x209,0x60,0x181)]?.[_0x2a63bb(0x326,0x17e,0x460,0x18a)](_0x5a78d8=>_0x5a78d8['id']===_0x55ae08[_0x2ed40c(0xd4,0x1dd,0x337,0x171)]));_0x3945e4&&_0x2929d5[_0x2a63bb(0x29e,0x1bf,0x15e,0x2db)](_0x3945e4['id']),_0x55ae8b++;}}),_0x178982[_0x343fba(_0x573fe2._0x235024,_0x573fe2._0x257597,0x4bf,_0x573fe2._0x43d935)](_0x5f2e48=>{const _0x3d6629={_0x1a4f80:0x18a,_0x345ed0:0x4fe};function _0x119f0b(_0x3f69f2,_0x4255d6,_0x22226d,_0x551463){return _0x367423(_0x3f69f2-0x14b,_0x4255d6-_0x49a17f._0x4f9e96,_0x551463,_0x4255d6-_0x49a17f._0x38e96f);}function _0x2f6ab0(_0x467dde,_0x58c433,_0x2b4241,_0x9a8a77){return _0x367423(_0x467dde-_0x3d6629._0x1a4f80,_0x58c433-0x165,_0x9a8a77,_0x467dde-_0x3d6629._0x345ed0);}if(Di(_0x5f2e48,_0x178982)){_0x2929d5['add'](_0x5f2e48[_0x2f6ab0(0x42a,0x38d,_0x309b74._0x1f7455,0x4cc)]['id']);let _0x53a4c1=_0xa36019[_0x2f6ab0(_0x309b74._0x574b75,0x80e,0x78b,0x4d3)](_0x58868d=>_0x58868d[_0x2f6ab0(0x396,0x37c,0x282,0x2f9)]===_0x119f0b(0x5e5,0x4c9,0x3ce,0x562)&&_0x5f2e48[_0x119f0b(0x4b8,0x37f,0x43d,0x1db)][_0x2f6ab0(0x4be,0x331,0x495,0x4d0)]?.['some'](_0x3bf3b0=>_0x3bf3b0['id']===_0x58868d['tool_call_id']));_0x53a4c1&&_0x2929d5[_0x119f0b(0x5f8,_0x309b74._0x2b785d,_0x309b74._0x36c9db,0x472)](_0x53a4c1['id']),_0x576664++;}}),_0x40ce73[_0x343fba(0x4d9,_0x573fe2._0x5604f0,0x5a7,0x315)](_0x283856=>{const _0x49f73c={_0x23f355:0x11e,_0x2aac1f:0x10e},_0x1c86a8={_0xefbec1:0x44,_0x311cfd:0x127};function _0x29ae77(_0x1006a5,_0x1e2cce,_0x3b4082,_0x4ad3e8){return _0x343fba(_0x1006a5-_0x1c86a8._0xefbec1,_0x4ad3e8- -0x75a,_0x3b4082,_0x4ad3e8-_0x1c86a8._0x311cfd);}function _0x227a34(_0x1b85aa,_0x58bbfd,_0xe26901,_0x13202c){return _0x367423(_0x1b85aa-_0x49f73c._0x23f355,_0x58bbfd-_0x49f73c._0x2aac1f,_0xe26901,_0x13202c-0xa1);}let _0x1061a6=_0x283856[_0x29ae77(-0x291,-0x123,-0x1b0,-0x1a0)]&&Li(_0x283856['toolResultMessage']),_0x3255d4=Fi(_0x283856,_0x40ce73);(_0x1061a6||_0x3255d4)&&(_0x2929d5[_0x227a34(0x247,0x238,_0x5b8179._0x31f689,0x16e)](_0x283856[_0x227a34(-_0x5b8179._0x561ed4,-_0x5b8179._0x2e5325,-0x12,-_0x5b8179._0x1c011d)]['id']),_0x283856['toolResultMessage']&&_0x2929d5[_0x227a34(0x182,_0x5b8179._0x5a14ca,0xa0,_0x5b8179._0x5c1265)](_0x283856[_0x29ae77(-_0x5b8179._0x91ddbb,-_0x5b8179._0x28589c,-_0x5b8179._0x5c1265,-0x1a0)]['id']),_0x1061a6?_0xbe1717++:_0x3255d4&&_0x260d02++);});function _0x343fba(_0x62618,_0x3436a9,_0x17b48d,_0x3545e4){return _0x40e58d(_0x17b48d,_0x3436a9-_0x350868._0x3fa169,_0x3436a9-_0x350868._0x2aec85,_0x3545e4-0xc6);}function _0x367423(_0x1a10c6,_0x3ffb14,_0x176045,_0xb3a93b){return _0x593b39(_0x1a10c6-0xe7,_0xb3a93b- -_0x153f07._0x4ffe03,_0x176045,_0xb3a93b-_0x153f07._0x41359b);}let _0x5abe0b=_0xa36019['filter'](_0x14aadc=>!_0x2929d5[_0x367423(0x2a7,0x15c,-0x7a,0x12c)](_0x14aadc['id']));return{'compressed':_0x5abe0b,'stats':{'original':_0xa36019[_0x343fba(_0x573fe2._0x726f27,_0x573fe2._0x4fd322,0x4f6,0x6af)],'compressed':_0x5abe0b[_0x367423(_0x573fe2._0x5eb962,-_0x573fe2._0x1280bc,_0x573fe2._0x2a331a,0xb4)],'removed':_0x2929d5['size'],'staleReads':_0x55ae8b,'staleEdits':_0x576664,'failedBash':_0xbe1717,'staleBash':_0x260d02}};}function $i(_0x4c8c7d){const _0x4c11c3={_0x4a0534:0x524,_0x347424:0x2ee,_0x528ffe:0x4f1,_0x440609:0x36,_0x509eda:0x4,_0x46c6a9:0x3ab,_0x3c8254:0x343},_0x217372={_0x6ef53d:0x6e,_0x517413:0xdb,_0x34c5dc:0x158,_0x440623:0x8,_0x5687d1:0x178,_0x2f79f3:0xec,_0x11ce63:0xa9,_0x5dbb77:0x133,_0x15de33:0x60,_0x46b68d:0x56,_0x1d0dac:0x99,_0x59fc49:0x12b,_0xb95c5c:0x40,_0x51a500:0x1,_0x64418f:0x188,_0x14ff41:0xa4,_0x26cba2:0x172,_0x449c7c:0xcc,_0x28021a:0xf2,_0x31e4b9:0x11a,_0xf6ae45:0x6,_0x11deb9:0x16,_0xa134a0:0x22c,_0x501fc5:0x1c9,_0x457682:0x304,_0x3a7e69:0x195,_0x44bd7c:0x183,_0x1dace4:0x256,_0x40f3ef:0x2c8,_0x4deee0:0x19e,_0x4b93ca:0x297,_0xeab5fe:0x16c,_0x1ef568:0x123,_0x13fbe4:0x12e,_0x450585:0xae,_0xc71b09:0x3e,_0x59f50e:0x1a7,_0x1fef19:0x141,_0x48d944:0x45,_0x119fbf:0x234,_0xe5fe54:0xd9,_0x1fdeef:0x13d,_0x5afa54:0x32,_0x15ef63:0x101,_0x428389:0x115,_0x501050:0x15b,_0x307a62:0x4a,_0x212d1a:0x19a,_0x2081fb:0x9b,_0x10f063:0x1fd,_0x15dc74:0x157,_0x3fceb0:0x2a4,_0x217b69:0x13b,_0x2b66cc:0x140,_0x29215a:0xf4,_0x5db832:0xb7,_0x5b265f:0x280,_0x66d348:0x2fb,_0x397cd0:0x289,_0x544c83:0x2d5,_0x25a6f7:0x27a,_0x5241a1:0x2cf,_0x4d2742:0x3a,_0x552054:0x17c,_0x46bab8:0x7e,_0x4f5d41:0x2e8,_0x28b816:0xed,_0x51fb19:0x13e,_0x3af6d4:0x172,_0x3ce886:0xe7,_0x470436:0x167,_0x2e85fa:0x271,_0x5b6452:0x159,_0x3c03a5:0x29b,_0x596165:0x2a0,_0x105797:0x61,_0x5652b8:0x322,_0x12d226:0x134,_0x43b617:0x292,_0x54599a:0x24,_0x2663bf:0x101,_0x4c9eaa:0x218,_0x1a02ac:0x18a,_0x329c69:0x7d,_0x5886f3:0x1bb,_0x10223e:0x34f,_0x3e7ea4:0x29e,_0x3958df:0x3d3,_0x5d1f7f:0x58,_0x466019:0x6d,_0x42c785:0x52,_0x569c59:0x43,_0x50ae74:0x169,_0x213c8d:0xb2,_0x3e4a39:0xd1,_0x53791d:0x110,_0x46dc5f:0xff,_0x482d35:0xb4,_0x19d653:0x18d,_0x3db720:0x331,_0x2f2e75:0x3e7,_0x202cef:0x6f,_0x337588:0x64,_0x4179cb:0x3b,_0x41152c:0x212,_0x1042af:0x484,_0x17331e:0x476,_0x35ef6f:0x30b,_0x348cbc:0x1e1,_0xdea2cf:0x1bf,_0x22b21d:0x1ed,_0x47e82b:0x29e,_0x4d0718:0x3e3,_0x502b14:0x1a6,_0x4eada7:0x1,_0x11b409:0x96,_0x369e66:0x1c8,_0x4c4383:0x17c,_0x465498:0x145,_0x2254a9:0x2c3,_0x49de7d:0xae,_0x1ea9a9:0x1d2,_0x22ec4b:0x2a1,_0x9978f8:0x61,_0x5a8e92:0x1c5,_0x14f9d0:0xb9,_0x2dae02:0x180,_0x36a1bd:0x108,_0x5b737b:0x24,_0x2dea58:0xf7,_0x402dcc:0x302,_0x12683d:0x2a6,_0x154626:0x343,_0x467efb:0xb0,_0x34fb9f:0x1c6,_0x2cc9b5:0x18c,_0x39cafa:0xb5,_0x5ced69:0x219,_0x1fd540:0x195,_0x30cb9b:0x3,_0xfff0c:0x470,_0x5191f6:0x2a5,_0x39552c:0x13f,_0x394934:0x143,_0x3052c4:0x1bb,_0x34af3e:0x293,_0x3ccc1f:0x336,_0xcb8860:0x249,_0x5d4880:0xcd,_0x5bd625:0x115,_0x4ba366:0x1bf,_0x3b9d9e:0x368,_0x4a5013:0x142,_0x5e9d3c:0x2e4,_0x339a0a:0x62,_0x1b9955:0x1c1,_0x376ba2:0x1a9,_0x394843:0xf9,_0xe77e85:0x36,_0x3f3a5e:0x21c,_0x90e92d:0x25d,_0x504a0d:0x101,_0x3923a8:0x26c,_0x283e70:0x17a,_0x33c7a2:0x1bb,_0x5b6c25:0x161,_0x26bb21:0x33a,_0x1fce7a:0x26e,_0x580a4c:0x20e,_0x46b7fd:0x28d,_0x2e7361:0x28a,_0x16acc5:0x234,_0x5dc5a6:0x272,_0x61daec:0x2a9,_0x28c12c:0x44,_0x3694fc:0x36,_0x553819:0x245,_0x52ef56:0xff,_0x581d91:0x2ff,_0x30aad8:0x126,_0x2a8e54:0x1be,_0x362812:0xdb,_0x42b18e:0x279,_0x4dfb12:0x3,_0x198a70:0x6b,_0x201165:0x1f8,_0x3a45c1:0x195,_0x16ac9a:0x250,_0x1da36f:0x157,_0x220216:0x9f,_0x425a0f:0x28d,_0x2fccb6:0xdb,_0x1278b4:0x173,_0x459288:0x82,_0x195648:0x20c,_0x35e733:0x98,_0x16da27:0x1cf,_0x3a9e41:0x1c,_0x3ee90d:0x13f,_0x2c201b:0x25,_0x6d7e32:0xd3,_0x35fa13:0x20a,_0x250eb1:0x152,_0x2a1e27:0x166,_0x323d88:0x193,_0x7cd521:0x2f,_0xc3c7ed:0x1f0,_0x39c0ec:0x29b,_0x52bc49:0x17f},_0x342d71={_0x2e7b26:0x5a7,_0x5d0b25:0xe},_0x3731f2={_0x4c9469:0x16b,_0xe4e9e0:0x2b},_0x169ee9={_0x2efd8f:0x58},_0x33b304={_0x3a9164:0x7b,_0x29b0bb:0x1aa};function _0x213a53(_0x27b678,_0x50b88a,_0x506fb7,_0x1ec680){return _0x593b39(_0x27b678-_0x33b304._0x3a9164,_0x27b678- -0x170,_0x1ec680,_0x1ec680-_0x33b304._0x29b0bb);}function _0xabca09(_0x6a5c7a,_0x5f1f0f,_0x9d08c0,_0x2f1a7a){return _0x593b39(_0x6a5c7a-_0x169ee9._0x2efd8f,_0x9d08c0-0x30c,_0x6a5c7a,_0x2f1a7a-0x168);}_0x4c8c7d['register']({'id':_0xabca09(_0x4c11c3._0x4a0534,_0x4c11c3._0x347424,0x483,_0x4c11c3._0x528ffe),'type':_0x213a53(0x24,-0x167,-_0x4c11c3._0x440609,-0x101),'description':_0x213a53(0xd,0x1bc,0x51,-_0x4c11c3._0x509eda),'category':_0xabca09(_0x4c11c3._0x46c6a9,0x390,_0x4c11c3._0x3c8254,0x34e),async 'handler'({eventBus:_0x2e9bf6,orchestratorManager:_0x231714,rawInput:_0x9e3997}){if(!_0x231714){_0x2e9bf6[_0x45aec9(_0x217372._0x6ef53d,-0x18,-0x25d,-_0x217372._0x517413)](_0x45aec9(-0x157,-_0x217372._0x34c5dc,0x18a,_0x217372._0x440623),{'id':_0x333de0[_0x68d9b6(_0x217372._0x5687d1,0x11a,0x10a,_0x217372._0x2f79f3)](),'type':_0x68d9b6(_0x217372._0x11ce63,0x62,-_0x217372._0x5dbb77,_0x217372._0x15de33),'content':_0x45aec9(-0xb3,-0x84,-_0x217372._0x46b68d,-_0x217372._0x1d0dac),'metadata':{'timestamp':new Date()['toISOString']()},'color':_0x58f3e4[_0x45aec9(_0x217372._0x59fc49,-0x148,0x34,0x32)][_0x45aec9(_0x217372._0xb95c5c,0xe4,0x1ac,_0x217372._0x51a500)]});return;}let _0x4697d4=_0x231714[_0x45aec9(-_0x217372._0x64418f,-_0x217372._0x14ff41,-_0x217372._0x26cba2,-0x1d6)]();if(!_0x4697d4){_0x2e9bf6['emit'](_0x45aec9(0xce,_0x217372._0x449c7c,_0x217372._0x28021a,0x8),{'id':_0x333de0[_0x68d9b6(0x28,_0x217372._0x31e4b9,-_0x217372._0xf6ae45,_0x217372._0x11deb9)](),'type':_0x45aec9(-0x333,-_0x217372._0xa134a0,-_0x217372._0x501fc5,-0x234),'content':'Memory\x20not\x20initialized','metadata':{'timestamp':new Date()[_0x68d9b6(_0x217372._0x457682,_0x217372._0x3a7e69,_0x217372._0x44bd7c,0x2dd)]()},'color':_0x58f3e4[_0x68d9b6(_0x217372._0x1dace4,_0x217372._0x40f3ef,0x3c4,_0x217372._0x4deee0)][_0x68d9b6(0x3e4,_0x217372._0x4b93ca,0x369,0x3bd)]});return;}let _0xde52f4=_0x231714[_0x45aec9(-_0x217372._0xeab5fe,-_0x217372._0x1ef568,0x72,-0xd4)]()[_0x68d9b6(_0x217372._0x13fbe4,0xec,-0xab,-_0x217372._0x450585)](),_0x37f177=await _0x4697d4['get'](_0xde52f4);if(!_0x37f177||_0x37f177[_0x45aec9(-0x139,-_0x217372._0xc71b09,-_0x217372._0x59f50e,-0x65)]===0x0){_0x2e9bf6[_0x45aec9(-_0x217372._0x1fef19,-0x23e,_0x217372._0x48d944,-_0x217372._0x517413)]('ui:line',{'id':_0x333de0[_0x68d9b6(0x1c4,0x11a,0xfc,0x24c)](),'type':_0x45aec9(-0x3e6,-0x10d,-0x97,-_0x217372._0x119fbf),'content':_0x45aec9(-_0x217372._0xe5fe54,0x13c,-0xdb,0x69),'metadata':{'timestamp':new Date()[_0x45aec9(-0x20b,-_0x217372._0x1fdeef,-_0x217372._0x5afa54,-_0x217372._0x15ef63)]()},'color':_0x58f3e4[_0x45aec9(-_0x217372._0x428389,0x191,-0xa0,_0x217372._0x5afa54)][_0x45aec9(0x167,_0x217372._0x501050,0x194,_0x217372._0x307a62)]});return;}if(_0x9e3997['trim']()[_0x68d9b6(_0x217372._0x212d1a,0x12a,_0x217372._0x2081fb,0x1e6)](/\s+/)['slice'](0x1)[_0x45aec9(-0x158,-0x3b2,-_0x217372._0x10f063,-0x22e)]('\x20')[_0x68d9b6(_0x217372._0x15dc74,0xf5,0xa6,_0x217372._0x3fceb0)]()[_0x45aec9(-0x1ba,-0x233,-_0x217372._0x217b69,-_0x217372._0x2b66cc)]()===_0x68d9b6(_0x217372._0x29215a,0x47,-_0x217372._0x5db832,-0xb1)){_0x2e9bf6[_0x45aec9(0x3d,0x80,-_0x217372._0x5b265f,-0xdb)](_0x68d9b6(_0x217372._0x66d348,0x29e,_0x217372._0x397cd0,_0x217372._0x544c83),{'id':_0x333de0[_0x45aec9(-_0x217372._0x25a6f7,-_0x217372._0x5241a1,-_0x217372._0x4d2742,-_0x217372._0x552054)](),'type':_0x68d9b6(0x126,0x62,0x1c,-_0x217372._0x46bab8),'content':_0x68d9b6(_0x217372._0x4f5d41,0x257,_0x217372._0x28b816,0x266),'metadata':{'timestamp':new Date()[_0x68d9b6(_0x217372._0x51fb19,0x195,0x27f,0x296)]()},'color':_0x58f3e4[_0x45aec9(_0x217372._0x3af6d4,-_0x217372._0x3ce886,_0x217372._0x470436,0x32)][_0x68d9b6(_0x217372._0x2e85fa,0x153,0x190,_0x217372._0x5b6452)]});try{let _0x44ef2a=await _0x231714[_0x45aec9(-0x1fd,-_0x217372._0x3c03a5,-0x279,-_0x217372._0x596165)](Oi);_0x2e9bf6['emit'](_0x68d9b6(0x106,0xd8,0x1f1,-_0x217372._0x105797)),_0x2e9bf6['emit']('ui:line',{'id':_0x333de0[_0x68d9b6(0xd1,0x11a,0x26b,0x249)](),'type':_0x45aec9(-_0x217372._0x5652b8,-_0x217372._0x31e4b9,-0x2dd,-0x234),'content':_0x45aec9(_0x217372._0x12d226,0xd7,-0x210,-0x62),'metadata':{'timestamp':new Date()[_0x45aec9(-_0x217372._0x43b617,0xaf,_0x217372._0x54599a,-_0x217372._0x2663bf)]()},'color':_0x58f3e4[_0x68d9b6(_0x217372._0x4c9eaa,_0x217372._0x40f3ef,_0x217372._0x1a02ac,0x295)][_0x45aec9(-0x8e,-_0x217372._0x4deee0,-_0x217372._0x329c69,-0x12a)]}),_0x2e9bf6[_0x68d9b6(0xe0,_0x217372._0x5886f3,_0x217372._0x10223e,0x166)](_0x68d9b6(0x2c3,_0x217372._0x3e7ea4,0x240,0x39a),{'id':_0x333de0[_0x68d9b6(0xf2,0x11a,0x18d,0x22c)](),'type':_0x45aec9(-0x316,-_0x217372._0x64418f,-_0x217372._0x3958df,-_0x217372._0x119fbf),'content':_0x45aec9(0xe3,-0x96,-_0x217372._0x5d1f7f,-0x5c)+_0x44ef2a[_0x45aec9(0xfc,0x18,_0x217372._0x466019,-_0x217372._0x42c785)]['original']+_0x45aec9(-0x100,_0x217372._0x569c59,-_0x217372._0x50ae74,-0x18)+_0x44ef2a[_0x45aec9(_0x217372._0x213c8d,_0x217372._0x3e4a39,-_0x217372._0x53791d,-0x52)][_0x45aec9(0x14e,-_0x217372._0x46dc5f,0x38,-0xb)]+_0x45aec9(_0x217372._0x482d35,-_0x217372._0x19d653,0x12f,-0x54)+_0x44ef2a[_0x68d9b6(0x25a,0x244,_0x217372._0x3db720,_0x217372._0x2f2e75)][_0x68d9b6(0x116,0x74,0x64,_0x217372._0x202cef)]+',\x20'+(_0x44ef2a[_0x45aec9(_0x217372._0x337588,_0x217372._0x4179cb,-0xec,-_0x217372._0x42c785)][_0x68d9b6(_0x217372._0x41152c,0x74,0x23,-0x118)]/_0x44ef2a[_0x68d9b6(0x19f,0x244,0x23b,0x324)][_0x68d9b6(_0x217372._0x1042af,0x2f5,0x337,_0x217372._0x17331e)]*0x64)['toFixed'](0x1)+_0x45aec9(-0xf5,-_0x217372._0x35ef6f,-_0x217372._0x348cbc,-_0x217372._0xdea2cf),'metadata':{'timestamp':new Date()[_0x68d9b6(_0x217372._0x22b21d,0x195,0x313,0x1b6)]()},'color':_0x58f3e4[_0x68d9b6(_0x217372._0x47e82b,0x2c8,_0x217372._0x4d0718,_0x217372._0x502b14)][_0x68d9b6(-0x5e,0x153,0x228,0x3e)]}),_0x2e9bf6[_0x45aec9(0xd4,0xcf,-0xf2,-0xdb)](_0x45aec9(-_0x217372._0x4eada7,_0x217372._0x31e4b9,-0x33,0x8),{'id':_0x333de0[_0x45aec9(-_0x217372._0x11b409,-_0x217372._0x369e66,-0x1d,-_0x217372._0x4c4383)](),'type':'system','content':_0x68d9b6(0x2c0,_0x217372._0x465498,_0x217372._0x2254a9,0x16d)+_0x44ef2a['stats']['staleReads']+'\x20stale\x20reads,\x20'+_0x44ef2a[_0x68d9b6(_0x217372._0x49de7d,0x244,0x3c6,_0x217372._0x1ea9a9)][_0x45aec9(-_0x217372._0x22ec4b,-0x46,-_0x217372._0x9978f8,-_0x217372._0x5a8e92)]+_0x45aec9(-_0x217372._0x14f9d0,-0x14b,-_0x217372._0x2dae02,-_0x217372._0x36a1bd)+_0x44ef2a[_0x45aec9(0xfd,_0x217372._0x5b737b,-_0x217372._0x2dea58,-0x52)][_0x68d9b6(0x2e6,_0x217372._0x402dcc,_0x217372._0xa134a0,_0x217372._0x12683d)]+'\x20stale\x20bash,\x20'+_0x44ef2a['stats'][_0x45aec9(-_0x217372._0x154626,-0xa6,-_0x217372._0x467efb,-0x1a8)]+_0x68d9b6(_0x217372._0x34fb9f,_0x217372._0x2cc9b5,0x1f3,_0x217372._0x39cafa),'metadata':{'timestamp':new Date()[_0x68d9b6(_0x217372._0x5ced69,_0x217372._0x1fd540,_0x217372._0x50ae74,_0x217372._0x30cb9b)]()},'color':_0x58f3e4[_0x68d9b6(_0x217372._0xfff0c,0x2c8,_0x217372._0x5191f6,_0x217372._0x39552c)][_0x45aec9(-0x141,-0x2bd,-0xe2,-_0x217372._0x394934)]}),_0x2e9bf6[_0x68d9b6(0x12e,_0x217372._0x3052c4,_0x217372._0x34af3e,_0x217372._0x3ccc1f)](_0x45aec9(-0x1f1,-0xb0,-0x3f1,-_0x217372._0xcb8860));}catch(_0x2e7f9b){_0x2e9bf6[_0x68d9b6(_0x217372._0x5d4880,0x1bb,0x290,_0x217372._0x5bd625)](_0x68d9b6(_0x217372._0x4ba366,0x29e,0x3ab,_0x217372._0x3b9d9e),{'id':_0x333de0[_0x45aec9(-_0x217372._0x4a5013,-_0x217372._0x5e9d3c,-0x249,-_0x217372._0x552054)](),'type':_0x68d9b6(-0x114,_0x217372._0x339a0a,_0x217372._0x1b9955,-0x3b),'content':_0x68d9b6(_0x217372._0x376ba2,_0x217372._0x394843,_0x217372._0xe77e85,0x40)+(_0x2e7f9b instanceof Error?_0x2e7f9b[_0x45aec9(-0xc5,-0x51,-0x70,-0x1ed)]:String(_0x2e7f9b)),'metadata':{'timestamp':new Date()[_0x45aec9(-0x18f,-_0x217372._0x3f3a5e,-_0x217372._0x90e92d,-_0x217372._0x504a0d)]()},'color':_0x58f3e4[_0x68d9b6(0x366,0x2c8,_0x217372._0x3923a8,0x3d2)][_0x45aec9(_0x217372._0x283e70,-0xe3,-0x183,_0x217372._0x4eada7)]});}return;}function _0x68d9b6(_0x5caa54,_0x11623f,_0x50ffa1,_0x9e94ec){return _0x213a53(_0x11623f-_0x3731f2._0x4c9469,_0x11623f-0x18b,_0x50ffa1-_0x3731f2._0xe4e9e0,_0x5caa54);}function _0x45aec9(_0x25195e,_0x5c5525,_0x2e3c05,_0x2e7887){return _0xabca09(_0x25195e,_0x5c5525-0x1b0,_0x2e7887- -_0x342d71._0x2e7b26,_0x2e7887-_0x342d71._0x5d0b25);}_0x2e9bf6[_0x68d9b6(0x4a,_0x217372._0x33c7a2,0x1ba,0xa)](_0x68d9b6(_0x217372._0x5b6c25,0x29e,_0x217372._0x26bb21,_0x217372._0x1fce7a),{'id':_0x333de0[_0x68d9b6(0x24c,_0x217372._0x31e4b9,_0x217372._0x580a4c,0x2a6)](),'type':_0x45aec9(-_0x217372._0x46b7fd,-_0x217372._0x2e7361,-0x1d8,-_0x217372._0x16acc5),'content':_0x68d9b6(0x193,_0x217372._0x5dc5a6,0x205,0x1b2),'metadata':{'timestamp':new Date()[_0x68d9b6(_0x217372._0x61daec,0x195,0x31e,0x14f)]()},'color':_0x58f3e4[_0x45aec9(0xca,-0xe3,0x12d,0x32)]['cyan']});try{let _0x79413f=await _0x231714[_0x68d9b6(-_0x217372._0x28c12c,_0x217372._0x3694fc,0x1b6,0x7a)]({'skipEvents':!0x0});_0x2e9bf6[_0x68d9b6(_0x217372._0x553819,_0x217372._0x3052c4,0x1f2,_0x217372._0x52ef56)](_0x45aec9(-_0x217372._0x581d91,-0x26d,-_0x217372._0x30aad8,-_0x217372._0x2a8e54)),_0x2e9bf6[_0x45aec9(-0x282,0xab,-0x118,-_0x217372._0x362812)](_0x45aec9(0x169,-0xce,-0xe8,0x8),{'id':_0x333de0[_0x45aec9(-0x273,-_0x217372._0x42b18e,_0x217372._0x4dfb12,-0x17c)](),'type':_0x68d9b6(0xe,0x62,_0x217372._0x198a70,_0x217372._0x201165),'content':'✓\x20Conversation\x20summarized\x20and\x20new\x20session\x20created','metadata':{'timestamp':new Date()[_0x68d9b6(0x22b,_0x217372._0x3a45c1,_0x217372._0x16ac9a,0x324)]()},'color':_0x58f3e4['tokens'][_0x68d9b6(0x77,_0x217372._0xeab5fe,0x2ea,_0x217372._0x1da36f)]}),_0x2e9bf6[_0x45aec9(-_0x217372._0x220216,-_0x217372._0x425a0f,-0x18b,-_0x217372._0x2fccb6)](_0x45aec9(0x132,-0x190,0xd7,_0x217372._0x440623),{'id':_0x333de0[_0x68d9b6(0x6c,0x11a,_0x217372._0x1278b4,0x1ca)](),'type':'user','content':_0x68d9b6(0xdd,0x1b7,0x8b,_0x217372._0x459288)+_0x79413f[_0x68d9b6(0xb9,0x27,-0xb4,0x18b)],'metadata':{'timestamp':new Date()['toISOString']()}}),_0x2e9bf6[_0x45aec9(-_0x217372._0x195648,-_0x217372._0x35e733,-_0x217372._0x16da27,-0xdb)]('ui:header:refresh');}catch(_0x296a9a){_0x2e9bf6['emit'](_0x45aec9(-_0x217372._0x3a9e41,-_0x217372._0x3ee90d,-0x86,0x8),{'id':_0x333de0[_0x68d9b6(0x43,0x11a,0x280,_0x217372._0x2c201b)](),'type':_0x68d9b6(0x14b,0x62,-0x3a,_0x217372._0x6d7e32),'content':_0x68d9b6(0x240,_0x217372._0x35fa13,_0x217372._0x26bb21,_0x217372._0x250eb1)+(_0x296a9a instanceof Error?_0x296a9a[_0x68d9b6(_0x217372._0x2a1e27,_0x217372._0x11ce63,_0x217372._0x2dae02,_0x217372._0x5d4880)]:String(_0x296a9a)),'metadata':{'timestamp':new Date()[_0x68d9b6(_0x217372._0x323d88,0x195,0x21c,_0x217372._0x7cd521)]()},'color':_0x58f3e4[_0x68d9b6(_0x217372._0xc3c7ed,_0x217372._0x40f3ef,_0x217372._0x39c0ec,0x1f5)][_0x68d9b6(0x36a,_0x217372._0x4b93ca,_0x217372._0x52bc49,0x445)]});}}});}import{useState as _0x35d9,useEffect as _0x4dcff9}from'react';import{Text as _0x41c1cc,Box as _0x369cfc}from'ink';import{jsx as _0x3c8128,jsxs as _0x4e1782}from'react/jsx-runtime';var $a=({deactivate:_0x158354,context:_0x15c021})=>{const _0x228a27={_0x57b11c:0x5,_0x448277:0x12a,_0x110bac:0x54,_0x5545ce:0x1b3,_0x3c1c58:0x238,_0x5d143c:0x9c,_0x3da084:0x28,_0x2b7d58:0xaf,_0x246011:0x225,_0x20f510:0x9c,_0x51c7ad:0x315,_0x5db6df:0x2eb,_0x9e3de5:0x33e,_0x122c17:0xb9,_0x4501a0:0xfc,_0x5702db:0xfc,_0x556344:0x19c,_0x415ac9:0x230,_0x138420:0x2f3,_0x68bd18:0x170,_0x45d457:0x197,_0x435746:0x170,_0x22dca4:0x38c,_0x50880b:0x264,_0x350a18:0x428,_0x1088c0:0x2b5,_0x57f121:0x27b,_0x197a22:0x55,_0x3766b4:0x237,_0x368ce9:0x1d7,_0x3f8876:0x235,_0x59d00c:0xd4,_0x1a1210:0xe0,_0x3d6992:0x27,_0x3be215:0x17a,_0x1d1796:0x2e3,_0x4355f0:0x190,_0xdd23a4:0x38,_0x3731b8:0x31,_0x4dab81:0x22,_0x1fdbd4:0x177,_0x219477:0x1da,_0x2a6e4b:0x1d2,_0x230512:0x17f,_0x93f38a:0x5,_0x2df9e4:0x17a,_0x3fd239:0x42,_0x1c1824:0x112,_0x47ba13:0xc8,_0x17c955:0x3b,_0x235215:0x186,_0x575d7b:0x346,_0x5ef8ac:0x1c0,_0x276dc2:0x1f1,_0x640a20:0x231,_0x62268e:0x309,_0x5f1073:0x1cd,_0x4eb912:0x189,_0x4613cf:0x12c,_0x33e9cb:0x54,_0x437cdf:0x39,_0x430278:0xd4,_0x1dfdff:0x15,_0x5eea47:0x117,_0xbb6828:0x2af,_0x4d56cd:0x171,_0x759f4c:0xf9,_0xb70252:0x39a,_0x5627e9:0x29c,_0x79cfa6:0x14d,_0x158019:0x13b,_0x53b1f5:0xee,_0x562580:0x26,_0x50993f:0xd6,_0x4803ae:0x2ff,_0x2beb68:0x3b,_0x459c41:0xbb,_0x50a1b2:0x19a,_0x368e78:0x357,_0x155fac:0x224,_0xa44b18:0x91,_0x9d2e7a:0x218,_0x1308e4:0x5d,_0x3f6ce2:0x243,_0x3a36b8:0x169,_0x7e7b57:0x38,_0xc0d734:0x1c7,_0xf0b2d:0xea,_0x4d4ec1:0x29d,_0x5ed891:0x1d8,_0x11180e:0x1b5,_0x3d20c7:0x2a3,_0x65f790:0x171,_0x292ccb:0x1c3,_0x5e88f9:0x97,_0x3305ab:0x2ae,_0x14330d:0x25d,_0x1287fe:0x3b8,_0x3a347a:0xf4},_0x168597={_0x3181fd:0x88,_0x375739:0xe4},_0x35c786={_0x59c6c4:0x167,_0x529459:0x9d},_0x4d975d={_0x20058b:0x1bc};let {theme:_0x546eb7}=_0x23be01(),{get:_0xe5167e}=_0x4cc721(),[_0xfe0424,_0x3bb3c6]=_0x35d9(null),[_0x53e302,_0x10827f]=_0x35d9([]),_0x5869d1=_0x15c021['orchestratorManager']?.[_0x1daf5c(-0x64,_0x228a27._0x57b11c,_0x228a27._0x448277,0x2a3)]()[_0x1daf5c(-0xe9,0x1ad,_0x228a27._0x110bac,_0x228a27._0x5545ce)]();_0x4dcff9(()=>{const _0x57adea={_0x502750:0x16e};function _0x45e23a(_0x51c3d7,_0x4e31fe,_0x1c9e3b,_0x457e52){return _0x1daf5c(_0x51c3d7,_0x4e31fe-_0x57adea._0x502750,_0x457e52- -0x150,_0x457e52-0x3d);}_0x5869d1&&_0x3bb3c6(_0x2f257e[_0x45e23a(-_0x4d975d._0x20058b,-0x262,-0x11e,-0x1e7)](_0x5869d1)),_0x5e2c1a['status']()['then'](_0x10827f);},[_0x5869d1]);let _0xb30b81=_0xe5167e(_0x1daf5c(0xee,_0x228a27._0x3c1c58,0x22f,0x29e)),_0x3516d2=_0xe5167e(_0x1daf5c(-_0x228a27._0x448277,-_0x228a27._0x5d143c,-_0x228a27._0x3da084,0xeb));function _0x1daf5c(_0x298fbd,_0x2408c6,_0x2480c6,_0x435085){return _0x593b39(_0x298fbd-_0x35c786._0x59c6c4,_0x2480c6- -_0x35c786._0x529459,_0x298fbd,_0x435085-0x7a);}function _0x14bd47(_0xab9b31,_0x44f0e2,_0x172325,_0x399080){return _0x40e58d(_0xab9b31,_0x44f0e2-_0x168597._0x3181fd,_0x44f0e2- -_0x168597._0x375739,_0x399080-0x169);}return _0x3c8128(_0x32a44e,{'visible':!0x0,'title':'Session\x20Statistics','onClose':_0x158354,'closeOnEscape':!0x0,'closeOnEnter':!0x0,'children':_0x4e1782(_0x369cfc,{'flexDirection':_0x1daf5c(0x314,_0x228a27._0x2b7d58,0x170,0x2b2),'gap':0x1,'paddingBottom':0x1,'children':[_0x4e1782(_0x369cfc,{'flexDirection':_0x14bd47(0x31b,_0x228a27._0x246011,0x203,0x1a5),'children':[_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x1daf5c(0x322,_0x228a27._0x20f510,0x230,_0x228a27._0x51c7ad)][_0x1daf5c(_0x228a27._0x5db6df,0x2ec,0x248,_0x228a27._0x9e3de5)],'bold':!0x0,'children':_0x14bd47(-0xdf,_0x228a27._0x122c17,_0x228a27._0x4501a0,_0x228a27._0x5702db)}),_0x4e1782(_0x41c1cc,{'children':[_0x1daf5c(0x203,_0x228a27._0x556344,0x1d0,0x26),_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x1daf5c(0x2bb,0x125,_0x228a27._0x415ac9,0x191)]['cyan'],'children':_0xb30b81})]}),_0x4e1782(_0x41c1cc,{'children':['Model:\x20',_0x3c8128(_0x41c1cc,{'color':_0x546eb7['tokens'][_0x14bd47(_0x228a27._0x138420,_0x228a27._0x68bd18,-0x2d,_0x228a27._0x45d457)],'children':_0x3516d2})]})]}),_0xfe0424&&_0x4e1782(_0x369cfc,{'flexDirection':_0x1daf5c(0x17c,0x209,_0x228a27._0x435746,0x128),'children':[_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x14bd47(0x31a,0x2e5,_0x228a27._0x22dca4,_0x228a27._0x50880b)][_0x14bd47(_0x228a27._0x350a18,0x2fd,0x318,0x44d)],'bold':!0x0,'children':_0x1daf5c(_0x228a27._0x1088c0,0x365,0x271,_0x228a27._0x57f121)}),_0x4e1782(_0x41c1cc,{'children':[_0x1daf5c(_0x228a27._0x197a22,_0x228a27._0x3766b4,0x1be,_0x228a27._0x368ce9),_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x1daf5c(0xcb,_0x228a27._0x3f8876,0x230,0x20c)][_0x1daf5c(0x6a,0x1f3,_0x228a27._0x59d00c,-0x42)],'children':_0x61577f(_0xfe0424['currentTokens'])}),_0xfe0424[_0x1daf5c(-_0x228a27._0x1a1210,-0x1d9,-_0x228a27._0x3d6992,_0x228a27._0x3be215)]!==void 0x0&&_0x4e1782(_0x41c1cc,{'color':_0x546eb7['tokens'][_0x14bd47(_0x228a27._0x1d1796,0x2ed,_0x228a27._0x4355f0,0x48a)],'children':['\x20(',Math[_0x1daf5c(_0x228a27._0xdd23a4,-_0x228a27._0x3731b8,-_0x228a27._0x4dab81,-0x143)](_0xfe0424[_0x1daf5c(-_0x228a27._0x1fdbd4,-_0x228a27._0x219477,-_0x228a27._0x3d6992,0x17e)]*0x64),_0x1daf5c(0x16b,_0x228a27._0x2a6e4b,_0x228a27._0x230512,-_0x228a27._0x93f38a)]})]}),_0x4e1782(_0x41c1cc,{'children':['\x20\x20','↑\x20Prompt:\x20',_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x14bd47(0x407,0x2e5,0x2a0,0x35f)][_0x1daf5c(_0x228a27._0x2df9e4,-_0x228a27._0x3fd239,_0x228a27._0x1c1824,0x14f)],'children':_0x61577f(_0xfe0424['currentPromptTokens'])})]}),_0x4e1782(_0x41c1cc,{'children':['\x20\x20',_0x1daf5c(_0x228a27._0x47ba13,-_0x228a27._0x17c955,0x49,_0x228a27._0x235215),'\x20',_0x3c8128(_0x41c1cc,{'color':_0x546eb7['tokens'][_0x14bd47(_0x228a27._0x575d7b,0x2bc,_0x228a27._0x5ef8ac,0x1d9)],'children':_0x61577f(_0xfe0424['currentCompletionTokens'])})]}),_0xfe0424[_0x14bd47(_0x228a27._0x276dc2,_0x228a27._0x640a20,0x2cf,_0x228a27._0x62268e)]>0x0&&_0x4e1782(_0x41c1cc,{'children':['\x20\x20','Cached:\x20',_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x1daf5c(0x3aa,0xcf,0x230,_0x228a27._0x5f1073)][_0x14bd47(_0x228a27._0x17c955,_0x228a27._0x4eb912,0x118,0xb4)],'children':_0x61577f(_0xfe0424[_0x1daf5c(_0x228a27._0x4613cf,0x30a,0x17c,0x15d)])})]}),_0x4e1782(_0x41c1cc,{'children':[_0x14bd47(-_0x228a27._0x33e9cb,0x125,0x85,0xe9),_0x3c8128(_0x41c1cc,{'color':_0x546eb7['tokens'][_0x1daf5c(-_0x228a27._0x437cdf,0x11,_0x228a27._0x430278,0x177)],'children':_0x61577f(_0xfe0424[_0x14bd47(-_0x228a27._0x1dfdff,0x11e,0x247,0x246)])})]})]}),_0xfe0424&&_0x4e1782(_0x369cfc,{'flexDirection':'column','children':[_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x1daf5c(_0x228a27._0x5eea47,0x397,0x230,_0x228a27._0xbb6828)]['yellow'],'bold':!0x0,'children':_0x14bd47(0x5d,0x163,0x2a2,0x117)}),_0x4e1782(_0x41c1cc,{'children':[_0x14bd47(0x6f,_0x228a27._0x4d56cd,_0x228a27._0x759f4c,0x30f),_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x1daf5c(_0x228a27._0xb70252,_0x228a27._0x5627e9,0x230,_0x228a27._0x79cfa6)][_0x14bd47(0x175,0x170,_0x228a27._0x158019,_0x228a27._0x53b1f5)],'children':_0xfe0424[_0x14bd47(-0x1d2,-_0x228a27._0x562580,-0xe8,0x47)]})]}),_0x4e1782(_0x41c1cc,{'children':[_0x14bd47(0x25e,0x1d2,0x1fd,_0x228a27._0x50993f),_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x14bd47(0x2c7,0x2e5,0x2ff,_0x228a27._0x4803ae)][_0x1daf5c(-_0x228a27._0x2beb68,0xde,_0x228a27._0x459c41,0x208)],'children':_0xfe0424[_0x14bd47(-0x2b,0xe4,0x8,_0x228a27._0x50a1b2)]})]}),_0xfe0424['totalCost']>0x0&&_0x4e1782(_0x41c1cc,{'children':[_0x14bd47(_0x228a27._0x368e78,_0x228a27._0x155fac,_0x228a27._0xa44b18,_0x228a27._0x9d2e7a),_0x4e1782(_0x41c1cc,{'color':_0x546eb7['tokens'][_0x1daf5c(-_0x228a27._0x1308e4,_0x228a27._0x3f6ce2,_0x228a27._0x430278,0x209)],'children':['$',_0x16d003(_0xfe0424[_0x1daf5c(0x2d,-_0x228a27._0x3a36b8,-_0x228a27._0x7e7b57,-_0x228a27._0xc0d734)])]})]})]}),_0x4e1782(_0x369cfc,{'flexDirection':_0x14bd47(_0x228a27._0xf0b2d,_0x228a27._0x246011,_0x228a27._0x4d4ec1,0x8a),'children':[_0x4e1782(_0x41c1cc,{'color':_0x546eb7['tokens']['yellow'],'bold':!0x0,'children':[_0x1daf5c(_0x228a27._0x5ed891,0x198,_0x228a27._0x11180e,0x1bb),_0x53e302[_0x14bd47(_0x228a27._0x3d20c7,0x24e,_0x228a27._0x65f790,0x17d)]>0x0?'('+_0x53e302[_0x1daf5c(0x29a,_0x228a27._0x292ccb,0x199,_0x228a27._0x5e88f9)]+')':'']}),_0x53e302[_0x1daf5c(_0x228a27._0x368ce9,_0x228a27._0x3305ab,0x199,0x29b)]===0x0?_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x14bd47(0x42c,0x2e5,_0x228a27._0x14330d,_0x228a27._0x1287fe)][_0x1daf5c(_0x228a27._0x3a347a,0x176,0x238,0x237)],'children':'No\x20LSP\x20servers\x20connected'}):_0x53e302['map'](_0x281ceb=>_0x4e1782(_0x41c1cc,{'children':[_0x3c8128(_0x41c1cc,{'color':_0x281ceb['status']==='connected'?_0x546eb7[_0x1daf5c(0x263,0x1c5,0x230,0x3a6)][_0x1daf5c(-0xde,0x218,0xd4,0xa8)]:_0x546eb7[_0x14bd47(0x20e,0x2e5,0x32e,0x433)][_0x1daf5c(0x13d,0x161,0x248,0x154)],'children':'●'}),'\x20',_0x3c8128(_0x41c1cc,{'color':_0x546eb7[_0x1daf5c(0x11c,0x2d9,0x230,0x2c8)][_0x14bd47(0x30,0x170,0x233,0x165)],'children':_0x281ceb['serverName']}),_0x4e1782(_0x41c1cc,{'color':_0x546eb7[_0x14bd47(0x431,0x2e5,0x355,0x240)][_0x1daf5c(0x248,0x279,0x238,0x184)],'children':['\x20(',_0x281ceb[_0x1daf5c(0x75,0x20e,0x150,0x274)],')']})]},_0x281ceb['serverID']+'-'+_0x281ceb[_0x1daf5c(0x196,0x1bd,0x150,0x12)]))]})]})});};function Ni(_0x3cd536){const _0x17173b={_0x46ade1:0x137,_0x576de6:0x1e9,_0x59d932:0x48},_0x116ee6={_0x46d0af:0x14d},_0x54b020={_0x20e8f8:0x32a,_0x565b98:0x1ad};function _0x429b53(_0x3adc03,_0x1bd73f,_0x5596ed,_0x2ec10f){return _0x593b39(_0x3adc03-0x48,_0x2ec10f- -_0x54b020._0x20e8f8,_0x1bd73f,_0x2ec10f-_0x54b020._0x565b98);}function _0x37e2af(_0x684662,_0x428efa,_0x382aa5,_0x52ccc4){return _0x40e58d(_0x428efa,_0x428efa-_0x116ee6._0x46d0af,_0x52ccc4- -0x1bb,_0x52ccc4-0x73);}_0x3cd536[_0x429b53(-0xa5,-_0x17173b._0x46ade1,-0x22b,-0xb9)]({'id':'/stat','type':_0x37e2af(_0x17173b._0x576de6,-_0x17173b._0x59d932,0xa0,0x10e),'description':'Show\x20session\x20statistics\x20(tokens,\x20LSP,\x20costs)','category':'ui','component':$a});}import{useCallback as _0x199005,useEffect as _0x145384,useState as _0x5a7c6b}from'react';import{Text as _0x22f0a5,Box as _0xced4cf}from'ink';import{useCallback as _0x2e2857}from'react';import{Box as _0x575740,Text as _0x37e328}from'ink';import{useState as _0x573561,useEffect as _0x3880e4}from'react';var Gi=(_0x5279ea,_0x1e27e6={},_0x113f01)=>{const _0xaf2a6e={_0x3c683a:0x36e,_0x1bee21:0x1d2},_0x5ba201={_0x2d8cff:0x158,_0x13641d:0x142,_0x4f39a5:0x25},_0x5795ea={_0x410a59:0x16e},_0x165cff={_0x1eae4c:0x102,_0x298153:0x1aa,_0x2277a2:0x19f,_0x3209f:0x5f8},_0x25e61a={_0x43011e:0x193,_0x47c318:0xde},_0x3ae5a2={_0x3794f8:0xb2,_0x5d0dc0:0xd0,_0x243c2b:0x47,_0x49c9f6:0xac};let [_0xa3e04f,_0x76c0ea]=_0x573561(()=>_0x113f01!==void 0x0&&_0x113f01>=0x0&&_0x113f01<_0x5279ea[_0x30d98b(0x378,0x48e,0x49f,0x473)]?_0x113f01:0x0),[_0x55e1da,_0x19f8ca]=_0x573561(()=>({..._0x1e27e6}));_0x3880e4(()=>{_0x19f8ca({..._0x1e27e6});},[_0x1e27e6]),_0x3880e4(()=>{const _0x3727d1={_0x3241ef:0x2cc,_0x2b4b9d:0xc9,_0x374d13:0x40};function _0x589d59(_0x4fc3c7,_0x3c1642,_0x468413,_0xd591a){return _0x30d98b(_0xd591a- -_0x3727d1._0x3241ef,_0x3c1642,_0x468413-_0x3727d1._0x2b4b9d,_0xd591a-_0x3727d1._0x374d13);}_0x113f01!==void 0x0&&_0x113f01>=0x0&&_0x113f01<_0x5279ea[_0x589d59(-_0x3ae5a2._0x3794f8,_0x3ae5a2._0x5d0dc0,_0x3ae5a2._0x243c2b,_0x3ae5a2._0x49c9f6)]&&_0x76c0ea(_0x113f01);},[_0x113f01,_0x5279ea[_0x30d98b(0x378,_0xaf2a6e._0x3c683a,0x271,_0xaf2a6e._0x1bee21)]]),_0x3880e4(()=>{const _0x6d4e22={_0x62c079:0x6d};function _0x191ec7(_0xe0aba6,_0x486db6,_0x5aba22,_0x12fa25){return _0x33066b(_0x486db6-0x54,_0x486db6-0x166,_0x5aba22-_0x6d4e22._0x62c079,_0xe0aba6);}function _0x26df8b(_0x534ed5,_0x1c420a,_0x1f502c,_0x3a1bc5){return _0x30d98b(_0x1f502c-_0x25e61a._0x43011e,_0x534ed5,_0x1f502c-_0x25e61a._0x47c318,_0x3a1bc5-0x1d7);}_0x5279ea[_0x26df8b(0x5fe,0x4f1,0x50b,0x5fc)]===0x0?_0x76c0ea(0x0):_0xa3e04f>=_0x5279ea[_0x191ec7(-0x72,_0x165cff._0x1eae4c,0x1ec,0x62)]&&_0x76c0ea(Math[_0x191ec7(0xf0,_0x165cff._0x298153,_0x165cff._0x2277a2,0x25e)](0x0,_0x5279ea[_0x26df8b(0x4b0,_0x165cff._0x3209f,0x50b,0x4ce)]-0x1));},[_0x5279ea[_0x33066b(0xae,-0x63,0x197,0x4)],_0xa3e04f]);let _0x5d4d4f=_0x53b9c8=>{let _0x3117c1={..._0x55e1da},_0x4a6d35=_0x3117c1[_0x53b9c8];_0x3117c1[_0x53b9c8]=_0x4a6d35===!0x1,_0x19f8ca(_0x3117c1);},_0x4dd778=_0xd4ab15=>_0x55e1da[_0xd4ab15]!==!0x1;function _0x33066b(_0x15b143,_0x1d8206,_0x138fcc,_0x731639){return _0x593b39(_0x15b143-_0x5795ea._0x410a59,_0x15b143- -0x188,_0x731639,_0x731639-0x69);}function _0x30d98b(_0x2eaff5,_0xcc7196,_0x4bd15a,_0x14fc10){return _0x593b39(_0x2eaff5-_0x5ba201._0x2d8cff,_0x2eaff5-_0x5ba201._0x13641d,_0xcc7196,_0x14fc10-_0x5ba201._0x4f39a5);}return{'selectedSkillIndex':_0xa3e04f,'localEnabledSkills':_0x55e1da,'setSelectedSkillIndex':_0x76c0ea,'toggleSkill':_0x5d4d4f,'isSkillEnabled':_0x4dd778,'getEnabledCount':_0x37d576=>_0x37d576[_0x30d98b(0x343,0x30d,0x4f1,0x210)](_0x3aeaab=>_0x4dd778(_0x3aeaab[_0x33066b(0x116,0x1d6,0x252,0x41)]))[_0x30d98b(0x378,0x2b7,0x31f,0x3b9)]};};import{useMemo as _0x464696,useCallback as _0x2e05c8}from'react';import{Box as _0x3795a0,Text as _0x4be8c3}from'ink';import{jsx as _0x54f331,jsxs as _0x445478}from'react/jsx-runtime';var Vi=({skills:_0x5af435,isSkillEnabled:_0x11d42e,onSkillSelect:_0x3328f8,onToggle:_0x4722c8,onEdit:_0x33b31f,focus:_0x1099f4=!0x0})=>{const _0x6b10ae={_0x53638e:0x98,_0x344294:0x80,_0x4e43df:0x19f,_0x5a393f:0x335,_0x217c72:0x107,_0x2b1fed:0x263,_0x5da81f:0x396,_0x11404a:0x2c4,_0x37cd53:0x1d5,_0x55ed64:0x20b,_0x23bb23:0xac,_0x233b17:0x92},_0x411ff1={_0x39c1aa:0x487,_0x157c09:0x3e1,_0x438f8e:0x417},_0xce588={_0x51543d:0x75c,_0x70ee03:0x593,_0x2f110b:0x679,_0x576c43:0x5e0,_0x3eedad:0x79b},_0x536cfa={_0x5608ca:0x27,_0x126728:0x10b,_0x4d3e4e:0x4d,_0x3f22a0:0x13a,_0x5985c6:0x148,_0x4808dc:0x2eb,_0x192fd3:0x20b,_0x471122:0x208,_0x41dde5:0x211,_0x41d281:0x2df,_0x1c708b:0x89,_0x1d888d:0x270,_0x328ce2:0x38e,_0x166b04:0x2e3,_0x393790:0x1ae,_0x589c95:0x131,_0x24e1f6:0x254,_0x3572b3:0x1b6,_0x4eae94:0x151,_0x9c72b4:0x1ee,_0x34de1d:0x19d,_0x4e6447:0x229,_0x40db06:0x9b,_0x24466f:0x12a,_0x411471:0x130,_0x3890b9:0xe7,_0x5a2c92:0xde,_0x457198:0xc7,_0x37a624:0x34d,_0x2c19c0:0x13b,_0x30881c:0xee,_0x4b1ed2:0x8e,_0x387a8c:0x3d,_0x2f00e7:0xec,_0x1b7c4d:0xab,_0x4a8cf7:0x36b,_0x400cc5:0x14b,_0x4cf2bc:0x302,_0x15adf2:0x2d,_0x3b9f5f:0x224,_0x877c39:0x1d0,_0xc83cdd:0xda,_0x427c83:0x1ef,_0x35089c:0x2ac,_0x2ba964:0x135,_0x2143a2:0x135,_0x37f1fd:0x1c8,_0x53720f:0x29,_0x409559:0x151,_0x249d11:0xf8,_0xcf99af:0xa3,_0x418a25:0x52,_0x27a0a9:0x14b,_0x16f97f:0x1ad,_0x263d2a:0x88,_0x29c9bf:0x88,_0x27fad0:0x53,_0x5ce2c3:0x99,_0x2941ea:0x126,_0x41f7c9:0x5c,_0x34661c:0xf7,_0x5ee33a:0x167,_0x41b13a:0x1d0,_0x583a83:0x255,_0x1a79d4:0xdf,_0xdc29fa:0x8e,_0x50d6c7:0x1df,_0xafacc9:0x1c8,_0x26a7a1:0x8e,_0x4def7e:0x29f,_0x1a3df4:0x1b8,_0x23511f:0x180,_0x4ee41f:0x30b,_0x1b3942:0x37,_0xef0bb6:0x15b,_0x4abb7c:0xcc,_0x52bcb3:0x1c0,_0x45d34e:0x2b,_0x3b3f0d:0x1aa,_0x22c485:0x33c,_0x22e95a:0x199,_0x44e75f:0xc5,_0x1f8609:0xe5,_0x1ac4a5:0x120,_0x1ae864:0x63,_0x100f57:0xee,_0x410373:0xa6,_0x53d7dc:0x59,_0x5aeec8:0xe1,_0x2fd5c6:0x80,_0x6a8234:0xf3,_0x277732:0x3a,_0x182d62:0x4,_0x2caf26:0x7a,_0x259fb7:0x1b2,_0x208bed:0x39d,_0x433ea7:0x1c4,_0x28f2ee:0x9,_0x37a97c:0xbc,_0x38ffce:0xeb,_0x4d62e8:0x16b,_0x5c91a8:0x2cd,_0x3d34d9:0x2ae,_0x5dc502:0x21a,_0x3fad26:0x152,_0x5dfdb6:0x467,_0x390221:0x310,_0xd52009:0xfc,_0xd7e5f5:0x54,_0x4a1a1e:0x235,_0x454e30:0x1b9,_0x47b9f4:0x89,_0x3f7ca9:0x25f,_0x7779c9:0xea,_0x4ba1c9:0x1c3,_0x26799d:0x386,_0x59f672:0x2c2,_0x162079:0x2dd,_0xc99fbe:0x12,_0x3a11c9:0x105,_0x369433:0x1ec,_0xf2b8e2:0x35,_0x18a368:0x1b3,_0x3710ce:0x14f,_0x532f43:0x115},_0x17a1c4={_0x39eed6:0x10d,_0x10dbc3:0x142,_0x2c0962:0x129},_0x47093b={_0x453462:0x178,_0x587e2f:0xad},_0x338245={_0x10e456:0x166},_0x37f9e7={_0x45ea58:0x188};function _0x2ab879(_0x4f427a,_0x2ef0e8,_0x23e581,_0x2d73be){return _0x40e58d(_0x2ef0e8,_0x2ef0e8-0x16e,_0x23e581- -0x18,_0x2d73be-_0x37f9e7._0x45ea58);}function _0x1d691b(_0xb9aabd,_0x1f0994,_0x19a6c2,_0x48a5ff){return _0x40e58d(_0x19a6c2,_0x1f0994-0xb8,_0x48a5ff- -_0x338245._0x10e456,_0x48a5ff-0x5a);}let {theme:_0x490766}=_0x23be01(),_0xae9e16=()=>_0x5af435[_0x1d691b(0x6f,0x1c,0x24d,0x197)](_0x33bbb7=>_0x11d42e(_0x33bbb7[_0x2ab879(0x47a,0x33d,0x382,0x486)]))[_0x1d691b(0x352,0x299,0x17d,0x1cc)],_0x38554f=_0x464696(()=>_0x5af435[_0x1d691b(0x6c,0x284,0xda,0x1e4)](_0x3727a0=>({'label':_0x3727a0[_0x1d691b(0x2ec,0x229,0x23d,0x234)],'value':_0x3727a0[_0x1d691b(0x38c,0x91,0x243,0x234)]})),[_0x5af435]),_0x5ba02a=_0x2e05c8((_0x2a2562,_0x67e95b)=>{function _0x332a47(_0x202ff1,_0x2ac9d5,_0x429cb2,_0x4d6cd2){return _0x1d691b(_0x202ff1-0x186,_0x2ac9d5-_0x47093b._0x453462,_0x202ff1,_0x4d6cd2-_0x47093b._0x587e2f);}function _0x22122f(_0x49b9f8,_0x34857b,_0x4e95d9,_0x36ac97){return _0x1d691b(_0x49b9f8-_0x17a1c4._0x39eed6,_0x34857b-_0x17a1c4._0x10dbc3,_0x34857b,_0x36ac97- -_0x17a1c4._0x2c0962);}let _0x83ded4=_0x5af435['find'](_0x523f19=>_0x523f19['name']===_0x2a2562['value']);if(!_0x83ded4)return null;let _0x2065cd=_0x11d42e(_0x83ded4[_0x22122f(-0x7a,-0x7a,-_0x536cfa._0x5608ca,_0x536cfa._0x126728)]),_0x4fc712=_0x2065cd?_0x490766[_0x22122f(_0x536cfa._0x4d3e4e,0x64,0x8e,_0x536cfa._0x3f22a0)][_0x332a47(_0x536cfa._0x5985c6,0x1a5,_0x536cfa._0x4808dc,0x1b4)]:_0x490766['tokens'][_0x332a47(_0x536cfa._0x192fd3,_0x536cfa._0x471122,_0x536cfa._0x41dde5,_0x536cfa._0x41d281)],_0x51c7d6=_0x2065cd?'✓':'✗',_0xec793a=_0x490766['colors'][_0x22122f(-0x85,0x94,_0x536cfa._0x1c708b,-0x26)],_0x5bdb2e=_0x83ded4[_0x332a47(0x3c3,_0x536cfa._0x1d888d,_0x536cfa._0x328ce2,0x229)][_0x22122f(-_0x536cfa._0x166b04,-_0x536cfa._0x393790,-0x1e2,-_0x536cfa._0x589c95)](_0x22122f(_0x536cfa._0x24e1f6,0xf4,_0x536cfa._0x3572b3,_0x536cfa._0x4eae94))||_0x83ded4[_0x332a47(0xbd,_0x536cfa._0x9c72b4,_0x536cfa._0x34de1d,_0x536cfa._0x4e6447)][_0x332a47(0xc3,0x5b,0x189,0xa5)](_0x22122f(-_0x536cfa._0x40db06,-_0x536cfa._0x24466f,-_0x536cfa._0x411471,-_0x536cfa._0x3890b9)),_0xba8d78=_0x83ded4,_0x5b30ce=[];return _0xba8d78[_0x22122f(0x24d,-0xd,_0x536cfa._0x5a2c92,_0x536cfa._0x457198)]&&_0x5b30ce['push'](_0x445478(_0x4be8c3,{'children':[_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':_0x332a47(0x36f,0x2d6,_0x536cfa._0x37a624,0x30c)}),_0x54f331(_0x4be8c3,{'color':_0x490766[_0x22122f(0x1af,_0x536cfa._0x2c19c0,_0x536cfa._0x30881c,_0x536cfa._0x4b1ed2)][_0x22122f(-0x11c,_0x536cfa._0x387a8c,-_0x536cfa._0x2f00e7,-0x53)],'children':_0xba8d78[_0x22122f(-0x84,0x204,-_0x536cfa._0x1b7c4d,0xc7)]})]},_0x332a47(_0x536cfa._0x4a8cf7,_0x536cfa._0x400cc5,_0x536cfa._0x4cf2bc,0x29d))),_0xba8d78[_0x332a47(0x6f,0x5a,_0x536cfa._0x15adf2,0xa1)]&&_0x5b30ce['push'](_0x445478(_0x4be8c3,{'children':[_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':'compatibility:\x20'}),_0x54f331(_0x4be8c3,{'color':_0x490766[_0x22122f(0x77,_0x536cfa._0x3b9f5f,_0x536cfa._0x877c39,0x8e)]['text'],'children':_0xba8d78[_0x22122f(-_0x536cfa._0xc83cdd,-_0x536cfa._0x427c83,-_0x536cfa._0x35089c,-_0x536cfa._0x2ba964)]})]},_0x22122f(-0x14c,-0x22b,-0x4f,-_0x536cfa._0x2143a2))),_0xba8d78[_0x22122f(0x60,-_0x536cfa._0x37f1fd,-0x37,-_0x536cfa._0x53720f)]&&_0xba8d78['allowedTools'][_0x22122f(_0x536cfa._0x409559,0x246,-_0x536cfa._0x249d11,_0x536cfa._0xcf99af)]>0x0&&_0x5b30ce[_0x22122f(_0x536cfa._0x418a25,_0x536cfa._0x27a0a9,-0x52,-0x2b)](_0x445478(_0x4be8c3,{'children':[_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':'allowed_tools:\x20'}),_0x54f331(_0x4be8c3,{'color':_0x490766[_0x332a47(0x1b5,_0x536cfa._0x16f97f,0x2fb,0x264)][_0x22122f(-_0x536cfa._0x263d2a,0x129,_0x536cfa._0x29c9bf,-_0x536cfa._0x27fad0)],'children':_0xba8d78[_0x22122f(-0xef,0x112,0x74,-_0x536cfa._0x53720f)][_0x22122f(-0x65,-0x12f,-_0x536cfa._0x5ce2c3,-_0x536cfa._0x2941ea)](',\x20')})]},_0x22122f(0xe0,0x19,-0x11f,-_0x536cfa._0x41f7c9))),_0xba8d78[_0x22122f(-0x310,-_0x536cfa._0x34661c,-_0x536cfa._0x5ee33a,-0x19a)]&&_0x5b30ce[_0x332a47(_0x536cfa._0x41b13a,0x112,_0x536cfa._0x583a83,0x1ab)](_0x445478(_0x4be8c3,{'children':[_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':'has_scripts:\x20'}),_0x54f331(_0x4be8c3,{'color':_0x490766[_0x22122f(0x110,0x150,_0x536cfa._0x1a79d4,_0x536cfa._0xdc29fa)][_0x22122f(-0x48,0x3f,-0x132,-0x53)],'children':_0x332a47(_0x536cfa._0x50d6c7,-0xa4,_0x536cfa._0xafacc9,0xe1)})]},_0x332a47(_0x536cfa._0x26a7a1,_0x536cfa._0x4def7e,0x285,0xee))),_0xba8d78[_0x22122f(-_0x536cfa._0x1a3df4,-0x1e7,0x45,-0x39)]&&_0x5b30ce[_0x22122f(-0x12f,_0x536cfa._0x23511f,0x9a,-0x2b)](_0x445478(_0x4be8c3,{'children':[_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':_0x22122f(-_0x536cfa._0x4ee41f,-_0x536cfa._0x1b3942,0x51,-_0x536cfa._0xef0bb6)}),_0x54f331(_0x4be8c3,{'color':_0x490766[_0x22122f(_0x536cfa._0x4abb7c,-0x92,_0x536cfa._0x52bcb3,0x8e)]['text'],'children':'true'})]},'has_references')),_0xba8d78['hasAssets']&&_0x5b30ce[_0x22122f(-0x7e,-0x82,-0x156,-_0x536cfa._0x45d34e)](_0x445478(_0x4be8c3,{'children':[_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':_0x332a47(_0x536cfa._0x3b3f0d,0x45f,0x4b8,_0x536cfa._0x22c485)}),_0x54f331(_0x4be8c3,{'color':_0x490766[_0x22122f(_0x536cfa._0x22e95a,-_0x536cfa._0x44e75f,-0xa4,0x8e)][_0x22122f(-_0x536cfa._0x1f8609,-_0x536cfa._0x1ac4a5,_0x536cfa._0x1ae864,-_0x536cfa._0x27fad0)],'children':_0x332a47(_0x536cfa._0x100f57,_0x536cfa._0x410373,_0x536cfa._0x53d7dc,_0x536cfa._0x5aeec8)})]},_0x332a47(_0x536cfa._0x2fd5c6,0x95,_0x536cfa._0x6a8234,0x75))),_0x445478(_0x3795a0,{'flexDirection':_0x22122f(0x1bd,_0x536cfa._0x277732,-_0x536cfa._0x182d62,_0x536cfa._0x2caf26),'children':[_0x445478(_0x3795a0,{'children':[_0x54f331(_0x4be8c3,{'color':_0x4fc712,'bold':!0x0,'children':_0x51c7d6}),_0x54f331(_0x4be8c3,{'children':'\x20'}),_0x54f331(_0x4be8c3,{'color':_0x67e95b?_0xec793a:void 0x0,'children':_0x67e95b?'›\x20':'\x20\x20'}),_0x54f331(_0x4be8c3,{'color':_0x67e95b?_0xec793a:_0x490766[_0x332a47(_0x536cfa._0x259fb7,_0x536cfa._0x208bed,0x2be,0x264)][_0x332a47(_0x536cfa._0x433ea7,-_0x536cfa._0x28f2ee,_0x536cfa._0x37a97c,0x183)],'bold':_0x67e95b,'children':_0x83ded4[_0x22122f(_0x536cfa._0x38ffce,-0x80,_0x536cfa._0x4d62e8,0x10b)]}),_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':'\x20'}),_0x445478(_0x4be8c3,{'color':_0x5bdb2e?_0x490766['tokens'][_0x22122f(_0x536cfa._0x5c91a8,_0x536cfa._0x3d34d9,_0x536cfa._0x5dc502,_0x536cfa._0x3fad26)]:_0x490766[_0x332a47(_0x536cfa._0x4a8cf7,_0x536cfa._0x5dfdb6,_0x536cfa._0x471122,_0x536cfa._0x390221)]['cyan'],'dimColor':!0x0,'children':['[',_0x5bdb2e?_0x332a47(_0x536cfa._0xd52009,_0x536cfa._0xd7e5f5,_0x536cfa._0x4a1a1e,_0x536cfa._0x454e30):_0x332a47(-_0x536cfa._0x47b9f4,0x270,_0x536cfa._0x3f7ca9,_0x536cfa._0x7779c9),']']})]}),_0x67e95b&&_0x445478(_0x3795a0,{'flexDirection':_0x22122f(0xe0,_0x536cfa._0x4ba1c9,-0x81,0x7a),'children':[_0x54f331(_0x3795a0,{'marginLeft':0x4,'borderStyle':_0x332a47(_0x536cfa._0x26799d,_0x536cfa._0x59f672,_0x536cfa._0x162079,0x254),'borderTop':!0x1,'borderBottom':!0x1,'borderRight':!0x1,'borderLeft':!0x0,'borderDimColor':!0x0,'paddingX':0x1,'children':_0x54f331(_0x4be8c3,{'dimColor':!0x0,'wrap':_0x332a47(_0x536cfa._0xc99fbe,-0xa2,0x7e,0x23),'children':_0x83ded4[_0x332a47(_0x536cfa._0x3a11c9,0xbb,0xef,0x86)]})}),_0x445478(_0x3795a0,{'marginLeft':0x4,'children':[_0x445478(_0x4be8c3,{'dimColor':!0x0,'wrap':_0x22122f(-0x213,-_0x536cfa._0x369433,-_0x536cfa._0xf2b8e2,-_0x536cfa._0x18a368),'children':['└─','\x20']}),_0x5b30ce[_0x332a47(_0x536cfa._0x3710ce,0x16e,_0x536cfa._0x532f43,0x279)]>0x0&&_0x5b30ce['map']((_0x1047e6,_0x586282)=>_0x445478(_0x4be8c3,{'children':[_0x1047e6,_0x586282<_0x5b30ce['length']-0x1&&_0x54f331(_0x4be8c3,{'dimColor':!0x0,'children':_0x332a47(0x1ca,0x11f,0x122,0x5e)})]},_0x586282))]})]})]});},[_0x5af435,_0x11d42e,_0x490766]),_0x26ac64=_0x2e05c8(_0x4ae169=>{const _0x351042={_0x43b118:0x8e},_0xc23c8e={_0x182e86:0xd7,_0x3a54e7:0x9a};function _0x4600b1(_0xfee57b,_0x119435,_0x3abe8e,_0x3921f7){return _0x1d691b(_0xfee57b-_0xc23c8e._0x182e86,_0x119435-_0xc23c8e._0x3a54e7,_0x3921f7,_0xfee57b-0x445);}function _0x208283(_0xd45a41,_0x109a6d,_0x484416,_0x5ee392){return _0x1d691b(_0xd45a41-_0x351042._0x43b118,_0x109a6d-0x12d,_0xd45a41,_0x484416-0x466);}let _0x6fba5d=_0x5af435[_0x208283(_0xce588._0x51543d,_0xce588._0x70ee03,0x6f3,0x6d0)](_0xdf7cad=>_0xdf7cad[_0x208283(0x664,0x802,0x69a,0x5e1)]===_0x4ae169['value']);_0x6fba5d&&_0x33b31f?.(_0x6fba5d[_0x4600b1(_0xce588._0x2f110b,0x4cf,_0xce588._0x576c43,_0xce588._0x3eedad)]);},[_0x5af435,_0x33b31f]),_0x2bd952=_0x2e05c8(_0x4c5086=>{const _0x13e559={_0x4fa3e9:0x18};let _0xdcf545=_0x5af435[_0x27a1ac(0x411,_0x411ff1._0x39c1aa,_0x411ff1._0x157c09,_0x411ff1._0x438f8e)](_0x444e0b=>_0x444e0b[_0x27a1ac(0x1f6,0x244,0x388,0x385)]===_0x4c5086[_0x916b6(0x1c0,0x120,0x270,0x134)]);function _0x916b6(_0x142a84,_0x1d3f45,_0x4cbc9b,_0x45fa5b){return _0x1d691b(_0x142a84-0x118,_0x1d3f45-0x2,_0x4cbc9b,_0x142a84-_0x13e559._0x4fa3e9);}function _0x27a1ac(_0xae37d4,_0x5ada28,_0x5ba82d,_0x60c46e){return _0x1d691b(_0xae37d4-0x1da,_0x5ada28-0x8f,_0xae37d4,_0x5ba82d-0x154);}_0xdcf545&&_0x4722c8?.(_0xdcf545['name']);},[_0x5af435,_0x4722c8]),_0x32a677=_0x2e05c8((_0x56f595,_0x25cbcb)=>{_0x3328f8(_0x25cbcb);},[_0x3328f8]);return _0x445478(_0x3795a0,{'flexDirection':_0x1d691b(_0x6b10ae._0x53638e,0x1b2,0x8e,0x1a3),'width':'100%','flexGrow':0x1,'overflow':_0x1d691b(0x139,0x2d7,_0x6b10ae._0x344294,_0x6b10ae._0x4e43df),'children':[_0x54f331(_0x3795a0,{'marginBottom':0x1,'flexShrink':0x0,'children':_0x445478(_0x4be8c3,{'color':_0x490766[_0x1d691b(0x21b,_0x6b10ae._0x5a393f,_0x6b10ae._0x217c72,_0x6b10ae._0x2b1fed)][_0x2ab879(0x14e,_0x6b10ae._0x5da81f,0x23c,_0x6b10ae._0x11404a)],'bold':!0x0,'children':[_0x1d691b(0x330,_0x6b10ae._0x37cd53,0x185,_0x6b10ae._0x55ed64),_0xae9e16(),'/',_0x5af435[_0x1d691b(0xfd,0x1f9,0x349,0x1cc)],')']})}),_0x54f331(_0x3af82d,{'items':_0x38554f,'placeholder':_0x1d691b(-0x102,0x19f,_0x6b10ae._0x23bb23,_0x6b10ae._0x233b17),'enableRotation':!0x0,'showItemCount':!0x1,'focus':_0x1099f4,'renderItem':_0x5ba02a,'onSelect':_0x26ac64,'onHighlight':_0x32a677,'onSpace':_0x2bd952})]});};import{jsx as _0x38c7f8,jsxs as _0x475a39}from'react/jsx-runtime';var Na=0x1e,qi=({visible:_0x58ba48,skills:_0x239d81,enabledSkills:_0x506533={},initialSelectedIndex:_0x2d8ab4,onClose:_0xc93a4c,onSkillStatusChange:_0x43db7f,onSkillEdit:_0x279bb6})=>{const _0x3079a4={_0x7418d6:0x2b6,_0x37249b:0x3c,_0x57fc7a:0x2be,_0x1dc642:0x20a,_0x5b1263:0x85,_0x554bdd:0x17c,_0x5cfa32:0x3f0,_0x454e23:0x14d,_0x5ef7f0:0x32,_0x47816c:0x21f,_0x535613:0x319,_0x363456:0x2e1,_0x3fa88f:0x21a,_0x5df297:0x7c,_0x34c645:0x2e5,_0x3ff586:0x335,_0x5e9e8f:0x216,_0x35dc22:0x279,_0xfb1a21:0x142,_0x1b1719:0x20b,_0x72cde2:0x16c,_0xe71c04:0x105,_0x4952d9:0x3a1,_0x5bbe2d:0x35a,_0x5c9d2a:0x21c,_0x15e134:0x397,_0x1f6bb5:0x136,_0x43ee1f:0x25e,_0x544ffd:0x1bb,_0x136439:0x1ff,_0x1ca99c:0x151,_0x2ca27d:0x44c,_0x2a904c:0x304,_0x4000e8:0x39b,_0x3162e7:0x51,_0x1c7edc:0x1ff,_0x331e8f:0x316,_0x616534:0x2d7,_0x2d6d11:0x367,_0x1ba194:0x218,_0xed53d2:0x470,_0x35feb1:0x403,_0x17cc7a:0x228,_0x341d40:0x1da,_0x54e792:0x261,_0x235721:0x1c0,_0x47e002:0x373,_0x365409:0x38c,_0x2da95b:0x1d9},_0x238ced={_0x1bb8cc:0x32},_0xe395ba={_0x2417e2:0xe3,_0x281dca:0x1eb};let {theme:_0xb04ee6}=_0x23be01(),{rows:_0x4de16e}=_0x4f685a(),_0x448e9d=Gi(_0x239d81,_0x506533,_0x2d8ab4),_0x31b21a=_0x2e2857(_0x5176df=>{function _0x4df56c(_0x375a94,_0x40efb6,_0x134f06,_0x994ff2){return _0x5737(_0x994ff2- -0x115,_0x134f06);}let _0x249877=_0x448e9d[_0x4df56c(0x28a,0xf,0x224,0x156)][_0x5176df]===!0x1;_0x448e9d['toggleSkill'](_0x5176df),_0x43db7f?.(_0x5176df,_0x249877);},[_0x448e9d,_0x43db7f]),_0x180538=_0x2e2857(_0x42c0e4=>{_0x279bb6?.(_0x42c0e4);},[_0x279bb6]);function _0x406580(_0x49a3ac,_0x48f7ba,_0x5b0723,_0x16cc90){return _0x593b39(_0x49a3ac-0x116,_0x16cc90-_0xe395ba._0x2417e2,_0x48f7ba,_0x16cc90-_0xe395ba._0x281dca);}if(!_0x58ba48)return null;function _0x28cd10(_0x41f132,_0x4a894e,_0x57e126,_0x442d8c){return _0x40e58d(_0x41f132,_0x4a894e-0x10f,_0x442d8c- -0x1b1,_0x442d8c-_0x238ced._0x1bb8cc);}let _0x4bb088=Math[_0x28cd10(0xcf,_0x3079a4._0x7418d6,-_0x3079a4._0x37249b,0x155)](Na,_0x4de16e-0x4);return _0x38c7f8(_0x32a44e,{'visible':_0x58ba48,'title':'Skills','closeOnEscape':!0x0,'closeOnEnter':!0x1,'onClose':_0xc93a4c,'paddingX':0x1,'paddingY':0x0,'footer':_0x38c7f8(_0x575740,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x38c7f8(_0x1fb0f6,{'segments':[{'text':'↑↓','highlight':!0x0},{'text':'\x20navigate\x20•\x20'},{'text':_0x28cd10(0x86,_0x3079a4._0x57fc7a,0x11e,0x12b),'highlight':!0x0},{'text':_0x406580(0x396,0x1dd,_0x3079a4._0x1dc642,0x2ac)},{'text':_0x28cd10(0xdb,-_0x3079a4._0x5b1263,-_0x3079a4._0x554bdd,-0x18),'highlight':!0x0},{'text':'\x20view\x20•\x20'},{'text':_0x406580(0x3b2,0x28c,0x24e,_0x3079a4._0x5cfa32),'highlight':!0x0},{'text':_0x28cd10(_0x3079a4._0x454e23,_0x3079a4._0x5ef7f0,-0xc5,-0x12)}]})}),'height':_0x4bb088,'children':_0x239d81[_0x406580(0x342,0x23f,_0x3079a4._0x47816c,_0x3079a4._0x535613)]===0x0?_0x475a39(_0x575740,{'marginX':0x1,'flexDirection':_0x28cd10(_0x3079a4._0x363456,_0x3079a4._0x3fa88f,_0x3079a4._0x5df297,0x158),'children':[_0x38c7f8(_0x37e328,{'color':_0xb04ee6['history'][_0x28cd10(_0x3079a4._0x34c645,0x25c,_0x3079a4._0x3ff586,_0x3079a4._0x5e9e8f)],'children':'No\x20skills\x20found.'}),_0x475a39(_0x37e328,{'color':_0xb04ee6[_0x28cd10(_0x3079a4._0x35dc22,_0x3079a4._0xfb1a21,_0x3079a4._0x1b1719,_0x3079a4._0x72cde2)]['muted'],'dimColor':!0x0,'children':['\x0a',_0x406580(0x2bf,_0x3079a4._0xe71c04,0x1a0,_0x3079a4._0x7418d6)]}),_0x38c7f8(_0x37e328,{'color':_0xb04ee6[_0x406580(_0x3079a4._0x4952d9,0x36a,_0x3079a4._0x5bbe2d,0x304)][_0x406580(0x362,_0x3079a4._0x5c9d2a,0x4dc,_0x3079a4._0x15e134)],'dimColor':!0x0,'children':_0x406580(_0x3079a4._0x1f6bb5,0x1fd,0x141,_0x3079a4._0x43ee1f)}),_0x38c7f8(_0x37e328,{'color':_0xb04ee6['colors'][_0x28cd10(0x2c0,_0x3079a4._0x544ffd,0xdb,_0x3079a4._0x136439)],'dimColor':!0x0,'children':'•\x20~/.claude/skills/\x20(global)'}),_0x38c7f8(_0x37e328,{'color':_0xb04ee6[_0x406580(_0x3079a4._0x1ca99c,_0x3079a4._0x2ca27d,0x3d8,_0x3079a4._0x2a904c)][_0x28cd10(_0x3079a4._0x4000e8,_0x3079a4._0x3162e7,0x200,_0x3079a4._0x1c7edc)],'dimColor':!0x0,'children':_0x406580(_0x3079a4._0x331e8f,_0x3079a4._0x616534,0x34d,_0x3079a4._0x2d6d11)}),_0x38c7f8(_0x37e328,{'color':_0xb04ee6[_0x406580(_0x3079a4._0x1ba194,_0x3079a4._0xed53d2,0x2e1,0x304)][_0x406580(_0x3079a4._0x35feb1,0x2f7,0x3ad,0x397)],'dimColor':!0x0,'children':_0x28cd10(0x22d,0x117,_0x3079a4._0x17cc7a,_0x3079a4._0x341d40)})]}):_0x38c7f8(Vi,{'skills':_0x239d81,'isSkillEnabled':_0x448e9d[_0x28cd10(_0x3079a4._0x54e792,0xe9,_0x3079a4._0x235721,0x1a2)],'onSkillSelect':_0x448e9d[_0x28cd10(_0x3079a4._0x47e002,_0x3079a4._0x365409,0x380,_0x3079a4._0x2da95b)],'onToggle':_0x31b21a,'onEdit':_0x180538,'focus':!0x0})});};import{jsx as _0x5c1205,jsxs as _0x4c02da}from'react/jsx-runtime';var Ga=({context:_0x416dc6,deactivate:_0x35cbc4})=>{const _0x117666={_0xfea1c1:0x78,_0x3fd893:0x3c,_0xa86da3:0x397,_0x157c22:0x2e8,_0x1e8358:0x31a,_0x1b3721:0x80,_0x4ce2d2:0x1b5,_0x575995:0x223,_0x5032fe:0x248,_0x480f52:0xa7,_0xebbb9d:0x39,_0x1457cf:0x2c5,_0xa100e8:0x1ab,_0x2888a0:0x15c,_0x49584f:0xf3,_0x50f01c:0x69,_0x45621c:0x2b0,_0x429a60:0xbd,_0x2b3490:0x150,_0x43350d:0x1c6,_0x242619:0x180,_0x290ed5:0x489,_0x3d223c:0x110,_0x4833e4:0xd4,_0x4464dd:0x189,_0x16365a:0xb8,_0x1fa087:0x97,_0x40d245:0x23f,_0x19a1b4:0x2aa,_0x495d54:0x254,_0x17d069:0x1d1,_0x366773:0x2ea,_0xa78094:0x12f,_0xa9278d:0x1d9,_0x2ff925:0x39,_0x5140aa:0x9a,_0x20684b:0x96,_0x4a1c55:0x32,_0x3afdd8:0x7d,_0x1b52dc:0x1e0,_0x378007:0x9e,_0x1eb1f9:0x86,_0x160bd2:0x1,_0xd27367:0x18e,_0x54bc13:0x14b,_0x51ab9e:0x1a9},_0xb7527={_0x551393:0x26e,_0x3276ba:0x47a,_0x5ba977:0x41d,_0x4386d3:0x2ed,_0x2de63e:0xb7},_0x220f2f={_0x184f26:0x5e3,_0x422254:0x489,_0x391476:0x53b,_0x2a443d:0x442,_0x3f13e4:0x2af,_0xf24765:0x23c},_0x20ba8c={_0x54e788:0xbe,_0x463c89:0xf2,_0x428897:0xf,_0x15d47e:0x2f,_0x4a47fa:0x16c,_0x5c5429:0x2f,_0x170b79:0x1d},_0x1d69ef={_0x43cf08:0x85,_0x530f0a:0x40a},_0x40ccee={_0x3105cc:0x81,_0x5a2787:0x5d,_0x341fc4:0x76,_0x91079f:0xc0,_0x55037f:0x46,_0x1a2c03:0x277,_0x5e6d70:0xa,_0x36beca:0x304,_0x4fc14b:0x191,_0x373f97:0x1ee,_0x5bf93d:0x65,_0x5b489a:0x7d,_0x3223e3:0xd8,_0x4138aa:0xd7,_0x1b5fd0:0x380,_0x5dec03:0x41d,_0x2ba63b:0x2e4,_0x5370ad:0x2f,_0x4dcbb8:0x1b9,_0x4fff70:0x24e,_0x4c4dc7:0x1fe,_0x4638a6:0xd0,_0x523ae5:0x276,_0x14ef5f:0x14c,_0x16615c:0x229},_0x55565a={_0x54334e:0x190},_0x293a11={_0x2513e0:0x1dd,_0x13c99a:0x155,_0xf60737:0xa1};function _0x44340a(_0x3b2bd1,_0x443946,_0x5ed2f0,_0x40366a){return _0x593b39(_0x3b2bd1-_0x293a11._0x2513e0,_0x5ed2f0- -_0x293a11._0x13c99a,_0x443946,_0x40366a-_0x293a11._0xf60737);}let {theme:_0x41d95d}=_0x23be01(),{rows:_0x165868}=_0x4f685a(),[_0x4cf17d,_0x45a06a]=_0x5a7c6b([]),[_0x348755,_0x34f3dd]=_0x5a7c6b({}),[_0x23b0e1,_0x30e594]=_0x5a7c6b(!0x0),[_0x79e93,_0x3cdfc7]=_0x5a7c6b(null),[_0x226ca5,_0x158014]=_0x5a7c6b(_0x2b64fb(-0x215,0x4d,-_0x117666._0xfea1c1,_0x117666._0x3fd893)),[_0x5b5025,_0x2ee0ad]=_0x5a7c6b(null),[_0x4f85c9,_0x5c730d]=_0x5a7c6b(0x0),_0x2bba4c=_0x199005(async()=>{const _0x5181f0={_0x19588f:0xf3,_0x814ec3:0x163};function _0x59cbee(_0x1984a9,_0x47bfd1,_0x3f5858,_0x474663){return _0x2b64fb(_0x1984a9-0x68,_0x3f5858,_0x1984a9-_0x55565a._0x54334e,_0x474663-0x75);}function _0x4fe509(_0x4c25f0,_0x107c12,_0xad42a0,_0x4de6db){return _0x2b64fb(_0x4c25f0-_0x5181f0._0x19588f,_0xad42a0,_0x4de6db-0x36,_0x4de6db-_0x5181f0._0x814ec3);}try{_0x30e594(!0x0),_0x3cdfc7(null),_0x453987['reset']();let _0x3c7756=await _0x453987[_0x59cbee(0x92,-0x92,_0x40ccee._0x3105cc,_0x40ccee._0x5a2787)](process['cwd']());_0x45a06a(Object[_0x4fe509(_0x40ccee._0x341fc4,-0x110,0xe2,-_0x40ccee._0x91079f)](_0x3c7756[_0x59cbee(-0x157,_0x40ccee._0x55037f,-0xc3,-_0x40ccee._0x1a2c03)])),_0x3c7756[_0x59cbee(-_0x40ccee._0x5e6d70,0xf0,0x129,-0xcf)]['length']>0x0&&console[_0x4fe509(-0x333,-_0x40ccee._0x36beca,-_0x40ccee._0x4fc14b,-0x217)](_0x59cbee(-0xf7,-0x17a,-_0x40ccee._0x373f97,-_0x40ccee._0x5bf93d)+_0x3c7756[_0x4fe509(-0x29d,-_0x40ccee._0x5b489a,0x3c,-0x164)]['length']+_0x59cbee(-_0x40ccee._0x3223e3,0xa1,_0x40ccee._0x4138aa,-0x223));let _0x5c7b2d=_0x416dc6[_0x4fe509(-_0x40ccee._0x1b5fd0,-0x13d,-_0x40ccee._0x5dec03,-_0x40ccee._0x2ba63b)][_0x59cbee(-_0x40ccee._0x5370ad,-0x14d,-0xca,-_0x40ccee._0x4dcbb8)](_0x4fe509(-0x148,-0x34d,-_0x40ccee._0x4fff70,-_0x40ccee._0x4c4dc7))||{};_0x34f3dd({..._0x5c7b2d});}catch(_0x190b1b){let _0x238b3e=_0x190b1b instanceof Error?_0x190b1b[_0x59cbee(-_0x40ccee._0x4638a6,-_0x40ccee._0x523ae5,-0x1c2,-0x145)]:String(_0x190b1b);_0x3cdfc7(_0x4fe509(-_0x40ccee._0x14ef5f,-0x19d,-0x3a7,-_0x40ccee._0x16615c)+_0x238b3e);}finally{_0x30e594(!0x1);}},[_0x416dc6[_0x2b64fb(-0x185,-0x229,-0x31a,-_0x117666._0xa86da3)]]);function _0x2b64fb(_0x1433da,_0x4f6b92,_0x3d8de4,_0x1deb90){return _0x40e58d(_0x4f6b92,_0x4f6b92-_0x1d69ef._0x43cf08,_0x3d8de4- -_0x1d69ef._0x530f0a,_0x1deb90-0x10a);}_0x145384(()=>{_0x2bba4c();},[_0x2bba4c]);let _0x1cb487=_0x199005(async(_0x597164,_0x177a1e)=>{const _0x213e39={_0x1d0f3d:0xc2,_0x45b4a2:0x50};function _0xcc3b6c(_0xeb97e8,_0x331d2b,_0x49bbdc,_0x5be456){return _0x44340a(_0xeb97e8-0x2b,_0xeb97e8,_0x331d2b-0xd5,_0x5be456-0xe1);}function _0x5ca26d(_0x37a86d,_0x5a78b6,_0x548039,_0x2af6b5){return _0x44340a(_0x37a86d-_0x213e39._0x1d0f3d,_0x5a78b6,_0x548039- -_0x213e39._0x45b4a2,_0x2af6b5-0x4f);}try{let _0x31eae3={..._0x416dc6[_0xcc3b6c(_0x20ba8c._0x54e788,-0x8c,-0x180,-0x1ab)][_0x5ca26d(_0x20ba8c._0x463c89,-_0x20ba8c._0x428897,-0x56,_0x20ba8c._0x15d47e)]('skillsEnabled')||{},[_0x597164]:_0x177a1e};await _0x416dc6['config'][_0x5ca26d(0xd7,-0x50,0xc2,0x85)]('skillsEnabled',_0x31eae3,_0x5ca26d(_0x20ba8c._0x4a47fa,0x10f,-_0x20ba8c._0x5c5429,-0xf9)),_0x34f3dd(_0x31eae3);}catch(_0x99b7a3){console[_0xcc3b6c(_0x20ba8c._0x170b79,-0x7b,-0x64,-0x1a8)]('Failed\x20to\x20save\x20skill\x20status:',_0x99b7a3);}},[_0x416dc6[_0x2b64fb(-_0x117666._0x157c22,-0x3ba,-_0x117666._0x1e8358,-0x18c)]]),_0x5393c7=_0x199005(async _0x5577ff=>{const _0x390961={_0x10c321:0x1c3,_0x438c0e:0xda},_0xd08abb={_0x6730b9:0xf4,_0x5e8d36:0x36b,_0x45ad1e:0x55};let _0x1703c7=_0x4cf17d[_0x563456(_0x220f2f._0x184f26,_0x220f2f._0x422254,0x44b,_0x220f2f._0x391476)](_0x547c20=>_0x547c20[_0x2fc6f6(0x4b8,0x39a,0x390,0x4d1)]===_0x5577ff);function _0x563456(_0x3777c2,_0x5cd712,_0x5876a9,_0x12c26c){return _0x44340a(_0x3777c2-_0xd08abb._0x6730b9,_0x5cd712,_0x5876a9-_0xd08abb._0x5e8d36,_0x12c26c-_0xd08abb._0x45ad1e);}_0x1703c7>=0x0&&_0x5c730d(_0x1703c7);let _0x5dc6bf=await _0x453987[_0x563456(_0x220f2f._0x2a443d,0x458,0x338,_0x220f2f._0x3f13e4)](_0x5577ff);function _0x2fc6f6(_0x3efaa4,_0x46195c,_0x411d86,_0x4b5a9d){return _0x44340a(_0x3efaa4-_0x390961._0x10c321,_0x3efaa4,_0x46195c-0x251,_0x4b5a9d-_0x390961._0x438c0e);}_0x5dc6bf&&(_0x2ee0ad(_0x5dc6bf),_0x158014(_0x2fc6f6(_0x220f2f._0xf24765,0x2d1,0x35c,0x1cc)));},[_0x4cf17d]),_0x24fe46=_0x199005(()=>{_0x158014('list'),_0x2ee0ad(null);},[]);if(_0x528efb((_0x5daf2f,_0x5abb84)=>{const _0x1e4a00={_0x4a7117:0x1af,_0x38fabc:0x440};function _0x144bd9(_0xae9be2,_0x4c063f,_0x15ff6e,_0x195420){return _0x44340a(_0xae9be2-_0x1e4a00._0x4a7117,_0xae9be2,_0x195420-_0x1e4a00._0x38fabc,_0x195420-0x1ba);}function _0x97e89d(_0xec50aa,_0x1bb7a6,_0x5ecd4e,_0x5405b0){return _0x2b64fb(_0xec50aa-0xac,_0x1bb7a6,_0x5405b0-0x4b2,_0x5405b0-0x1ef);}_0x226ca5===_0x97e89d(_0xb7527._0x551393,_0xb7527._0x3276ba,_0xb7527._0x5ba977,0x379)&&_0x5abb84[_0x97e89d(0x10e,_0xb7527._0x4386d3,_0xb7527._0x2de63e,0x23b)]&&_0x24fe46();},{'isActive':_0x226ca5===_0x44340a(0xdd,0x1ea,_0x117666._0x1b3721,0x42)}),_0x23b0e1)return _0x5c1205(_0x32a44e,{'visible':!0x0,'title':'Skills','onClose':_0x35cbc4,'closeOnEscape':!0x0,'children':_0x5c1205(_0x22f0a5,{'color':_0x41d95d[_0x2b64fb(-_0x117666._0x4ce2d2,-_0x117666._0x575995,-0xed,-_0x117666._0x5032fe)][_0x2b64fb(-0x83,_0x117666._0x480f52,-0x90,_0x117666._0xebbb9d)],'children':_0x44340a(_0x117666._0x1457cf,0x1d2,_0x117666._0xa100e8,_0x117666._0x2888a0)})});if(_0x79e93)return _0x5c1205(_0x32a44e,{'visible':!0x0,'title':_0x2b64fb(-_0x117666._0x49584f,-0x14c,-_0x117666._0x50f01c,-0x91),'titleColor':_0x41d95d['colors'][_0x44340a(-_0x117666._0x45621c,-_0x117666._0x429a60,-_0x117666._0x2b3490,-0x121)],'type':'error','onClose':_0x35cbc4,'closeOnEscape':!0x0,'children':_0x5c1205(_0x22f0a5,{'color':_0x41d95d[_0x2b64fb(-0x71,-_0x117666._0x43350d,-0xed,-0x251)][_0x2b64fb(-_0x117666._0x242619,-_0x117666._0x290ed5,-0x309,-0x487)],'children':_0x79e93})});if(_0x226ca5===_0x44340a(0x18c,-0x10d,0x80,_0x117666._0x3d223c)&&_0x5b5025){let _0x272a5c=Math[_0x44340a(_0x117666._0x4833e4,0x273,_0x117666._0x4464dd,-0x1f)](0x5,_0x165868-0xc);return _0x5c1205(_0x32a44e,{'visible':!0x0,'title':_0x44340a(-0xbc,-_0x117666._0x16365a,-_0x117666._0x1fa087,-_0x117666._0x40d245)+_0x5b5025[_0x44340a(_0x117666._0x19a1b4,0x187,0x149,_0x117666._0x495d54)],'onClose':_0x24fe46,'closeOnEscape':!0x0,'footer':_0x5c1205(_0xced4cf,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x5c1205(_0x1fb0f6,{'segments':[{'text':_0x44340a(0xd2,0x256,_0x117666._0x17d069,_0x117666._0x366773),'highlight':!0x0},{'text':_0x44340a(_0x117666._0xa78094,-_0x117666._0xa9278d,-_0x117666._0x2ff925,0x172)},{'text':'g/G','highlight':!0x0},{'text':_0x2b64fb(-0xce,-_0x117666._0x5140aa,-_0x117666._0x20684b,-0x1fe)},{'text':_0x2b64fb(-_0x117666._0x4a1c55,0xb4,-0x1,0x145),'highlight':!0x0},{'text':_0x44340a(0x117,0xa1,_0x117666._0x3afdd8,_0x117666._0x1b52dc)}]})}),'height':_0x2b64fb(-0x151,0x25,-_0x117666._0x378007,-0x122),'children':_0x4c02da(_0xced4cf,{'flexDirection':'column','flexGrow':0x1,'children':[_0x5c1205(_0xced4cf,{'marginBottom':0x1,'children':_0x5c1205(_0x22f0a5,{'dimColor':!0x0,'children':_0x5b5025['description']})}),_0x5c1205(_0x179e0b,{'maxHeight':_0x272a5c,'showScrollbar':!0x0,'focus':!0x0,'enableKeyboardScroll':!0x0,'children':_0x5c1205(_0x22f0a5,{'children':_0x5b5025[_0x44340a(_0x117666._0x1eb1f9,_0x117666._0x160bd2,_0x117666._0x1b3721,_0x117666._0xd27367)]||_0x44340a(0x103,0x2be,_0x117666._0x54bc13,_0x117666._0x51ab9e)})})]})});}return _0x5c1205(qi,{'visible':!0x0,'skills':_0x4cf17d,'enabledSkills':_0x348755,'initialSelectedIndex':_0x4f85c9,'onClose':_0x35cbc4,'onSkillStatusChange':_0x1cb487,'onSkillEdit':_0x5393c7});};function Yi(_0x3595bd){const _0x5d1daf={_0x4ff3be:0x388,_0x538310:0x380,_0x5a632:0x1ee,_0x4df465:0x17f,_0x9ce14a:0x2f2,_0x385fed:0x283,_0x3ce32c:0x360,_0x4f9e78:0xed,_0x1b1ede:0x162,_0x276232:0x74},_0x5207ec={_0x52ba38:0xda,_0x4e865c:0x4e,_0x347307:0x17e},_0x383b23={_0x1a9747:0x1f4,_0x4eb5cf:0x50};function _0x321fae(_0x40cc5b,_0x46ec3c,_0x414281,_0x253daa){return _0x593b39(_0x40cc5b-_0x383b23._0x1a9747,_0x253daa- -0x83,_0x414281,_0x253daa-_0x383b23._0x4eb5cf);}function _0x2c693d(_0x3a8f96,_0x4ee81a,_0x3c842d,_0x11b228){return _0x593b39(_0x3a8f96-_0x5207ec._0x52ba38,_0x4ee81a- -_0x5207ec._0x4e865c,_0x3c842d,_0x11b228-_0x5207ec._0x347307);}_0x3595bd[_0x321fae(0xe1,_0x5d1daf._0x4ff3be,_0x5d1daf._0x538310,_0x5d1daf._0x5a632)]({'id':'/skills','type':_0x2c693d(0x213,_0x5d1daf._0x4df465,0x100,0x99),'description':_0x2c693d(_0x5d1daf._0x9ce14a,_0x5d1daf._0x385fed,_0x5d1daf._0x3ce32c,_0x5d1daf._0x4f9e78),'category':_0x321fae(-0x229,-_0x5d1daf._0x1b1ede,_0x5d1daf._0x276232,-0x8f),'component':Ga});}import{useCallback as _0x5cdb76,useEffect as _0x4e2afe,useState as _0x1a1332}from'react';import{Box as _0x4176f2,Text as _0x3daa73}from'ink';import*as _0x118687 from'crypto';import{jsx as _0x1c2db2}from'react/jsx-runtime';var Ka=0x1e,qa=({context:_0x58e691,deactivate:_0x2edabc})=>{const _0x3f39d8={_0x40a053:0x1e,_0x3d65e8:0x43,_0x9af035:0xa4,_0x5b7fc3:0x58,_0x4ce683:0xa7,_0x17f5b5:0xbd,_0x2cec4c:0xb4,_0x907e5:0x38b,_0x16b229:0x44f,_0x2aed1d:0x2d,_0x41e855:0x102,_0x1699ef:0x400,_0x305e41:0x5d3,_0x4475ca:0x4b4,_0x51b228:0x3b1,_0x2b8046:0x413,_0x484e30:0x1ae,_0xa3f740:0x4c6,_0x5b1cff:0x73b,_0x294bbf:0x53,_0x3d9776:0x123,_0x28b132:0x18b,_0x2b9ae6:0x66,_0x2826f2:0x1a6},_0x334a35={_0x32057e:0x124,_0x2c58d5:0x279,_0x1b0de7:0x2fd,_0x40ece7:0x528,_0x39b26b:0x657,_0x91355b:0x338,_0x588122:0x3de,_0x391503:0x55a,_0x2ded0a:0x1ec,_0x1a3d94:0x1fc,_0x5a1e60:0x16d,_0x4328ed:0x288,_0x2f549a:0x2f8,_0x5b6f5b:0x373,_0x1b8639:0x4e2,_0x162068:0x4df},_0x34d3e2={_0x4f7123:0x1d8},_0x4a9267={_0x41335d:0xb1,_0x9e75ca:0x58},_0x20ffbf={_0x19eef8:0x28c,_0x9a2e3a:0x2f3,_0x20a98c:0x1cb},_0x3d151b={_0x139c35:0x156,_0x5b68fc:0x2dd,_0xdc2b59:0x148,_0x42f040:0x304,_0x422744:0x1c5,_0x327d74:0x181,_0x53e715:0x99,_0x434c6f:0x3b,_0x15a824:0x145,_0x4d9270:0x36,_0xb0e6c0:0x227,_0x25a83f:0x137,_0xabf3e5:0x74,_0x5eafe4:0x61,_0x302613:0xb1,_0x34f736:0x10},_0x130399={_0x1e3f24:0x2a0};let {theme:_0x3e4ac1}=_0x23be01(),{rows:_0x19e7a6}=_0x4f685a(),[_0x45fea3,_0x373929]=_0x1a1332([]),[_0x3b035b,_0xfd1d7e]=_0x1a1332(!0x0),[_0x5056c9,_0x5f269f]=_0x1a1332(null),[_0x491094,_0x2c1f7f]=_0x1a1332(!0x1),_0x5c2100=_0x5cdb76(async()=>{const _0x29aed6={_0x372965:0x3ca};function _0x32dbf2(_0x327afb,_0x34fb4d,_0x39d597,_0x31d4de){return _0x5737(_0x31d4de- -_0x29aed6._0x372965,_0x39d597);}function _0x4ed581(_0xe66a3c,_0x1df33f,_0x3a52e5,_0x5e07e6){return _0x5737(_0x5e07e6- -_0x130399._0x1e3f24,_0xe66a3c);}try{_0xfd1d7e(!0x0),_0x5f269f(null);let _0x3686b1=_0x58e691[_0x32dbf2(-_0x3d151b._0x139c35,-0x1b8,-0x380,-_0x3d151b._0x5b68fc)]?.[_0x32dbf2(-0x1cd,-_0x3d151b._0xdc2b59,-_0x3d151b._0x42f040,-_0x3d151b._0x422744)]()?.[_0x32dbf2(-0x273,-_0x3d151b._0x327d74,-_0x3d151b._0x53e715,-0x1d8)]?.()?.[_0x32dbf2(-0x133,_0x3d151b._0x434c6f,_0x3d151b._0x15a824,-_0x3d151b._0x4d9270)]?.();if(!_0x3686b1){_0x5f269f(_0x4ed581(-0x207,-0x254,-0x276,-_0x3d151b._0xb0e6c0)),_0x373929([]);return;}let _0x2de1c9=_0x3686b1['list']()['filter'](_0x257563=>_0x257563['user_invocable']!==!0x1)[_0x4ed581(_0x3d151b._0x25a83f,-0x21,_0x3d151b._0xabf3e5,_0x3d151b._0x5eafe4)](_0x25fe2f=>({..._0x25fe2f,'isDefault':_0x3686b1['isDefault'](_0x25fe2f[_0x32dbf2(-0x3c,0x10b,-0x1bb,-0x79)])}));_0x373929(_0x2de1c9);}catch(_0x40f6a6){let _0x5c0e2e=_0x40f6a6 instanceof Error?_0x40f6a6['message']:String(_0x40f6a6);_0x5f269f(_0x32dbf2(_0x3d151b._0x302613,-_0x3d151b._0x15a824,_0x3d151b._0x34f736,-0x2e)+_0x5c0e2e);}finally{_0xfd1d7e(!0x1);}},[_0x58e691[_0x3eff48(-_0x3f39d8._0x40a053,_0x3f39d8._0x3d65e8,-0x17f,_0x3f39d8._0x9af035)]]);_0x4e2afe(()=>{_0x5c2100();},[_0x5c2100]),_0x528efb((_0x2cce79,_0x569014)=>{function _0x51f8fd(_0x35bbb7,_0x310c7f,_0x463a27,_0xd122e9){return _0x3eff48(_0x35bbb7-0x24d,_0x463a27,_0x463a27-0xec,_0xd122e9-0xa0);}_0x569014[_0x51f8fd(_0x20ffbf._0x19eef8,_0x20ffbf._0x9a2e3a,_0x20ffbf._0x20a98c,0x38c)]&&_0x2edabc();},{'isActive':!_0x491094});function _0x3eff48(_0x59ef1d,_0x227e12,_0x1f05bc,_0x5f59b7){return _0x593b39(_0x59ef1d-_0x4a9267._0x41335d,_0x59ef1d- -_0x4a9267._0x9e75ca,_0x227e12,_0x5f59b7-0x5c);}function _0x4e410c(_0x98db48,_0x4bbb7e,_0x358c68,_0x2efb06){return _0x40e58d(_0x98db48,_0x4bbb7e-_0x34d3e2._0x4f7123,_0x358c68-0x2b6,_0x2efb06-0x63);}let _0x2a513e=_0x5cdb76(async _0x17bb8f=>{const _0x572c2c={_0x34c6ff:0x182};function _0xd364e(_0x4835f6,_0xa96c8c,_0x7c0b2d,_0x29c2ed){return _0x3eff48(_0x4835f6- -0x25a,_0x7c0b2d,_0x7c0b2d-0x144,_0x29c2ed-0x19c);}function _0x765cad(_0x1c87c1,_0x4d3ded,_0x27bbef,_0x2b3a19){return _0x3eff48(_0x1c87c1-0x31d,_0x27bbef,_0x27bbef-_0x572c2c._0x34c6ff,_0x2b3a19-0xc2);}if(!_0x491094){_0x2c1f7f(!0x0),_0x5f269f(null);try{_0x17bb8f===_0xd364e(-0xcf,-0x5d,-0xcc,-_0x334a35._0x32057e)?await _0x58e691['orchestratorManager']?.[_0x765cad(0x408,_0x334a35._0x2c58d5,_0x334a35._0x1b0de7,0x2bf)]():await _0x58e691['orchestratorManager']?.[_0x765cad(_0x334a35._0x40ece7,0x6b9,0x4d7,_0x334a35._0x39b26b)](_0x17bb8f),_0x58e691[_0xd364e(-0x24e,-0x24a,-_0x334a35._0x91355b,-0x2c0)]['emit'](_0x765cad(0x568,0x4fb,_0x334a35._0x588122,_0x334a35._0x391503),{'id':_0x118687[_0xd364e(-0x193,-0x172,-_0x334a35._0x2ded0a,-_0x334a35._0x1a3d94)](),'type':_0xd364e(-0x15c,-0xd6,-0xe8,-_0x334a35._0x5a1e60),'content':'Swapped\x20to\x20'+(_0x17bb8f==='main'?_0x765cad(0x411,_0x334a35._0x4328ed,_0x334a35._0x2f549a,0x5ab):_0x17bb8f),'metadata':{'timestamp':new Date()['toISOString']()}}),setTimeout(()=>{_0x2edabc();},0x64);}catch(_0x49e215){let _0x661b4d=_0x49e215 instanceof Error?_0x49e215[_0x765cad(_0x334a35._0x5b6f5b,0x2be,_0x334a35._0x1b8639,_0x334a35._0x162068)]:String(_0x49e215);_0x5f269f('Failed\x20to\x20swap\x20agent:\x20'+_0x661b4d),_0x2c1f7f(!0x1);}}},[_0x58e691[_0x3eff48(-0x1e,0xf8,-_0x3f39d8._0x5b7fc3,-_0x3f39d8._0x4ce683)],_0x491094,_0x2edabc,_0x58e691[_0x3eff48(0xc,_0x3f39d8._0x17f5b5,-_0x3f39d8._0x2cec4c,-0x16a)]]),_0x37ee35=Math[_0x3eff48(0x1b2,0xf2,0x6d,0x118)](Ka,_0x19e7a6-0x4),_0x3bd78a=_0x1c2db2(_0x4176f2,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x1c2db2(_0x1fb0f6,{'segments':[{'text':'↑↓','highlight':!0x0},{'text':'\x20navigate\x20•\x20'},{'text':_0x4e410c(_0x3f39d8._0x907e5,0x319,_0x3f39d8._0x16b229,0x339),'highlight':!0x0},{'text':_0x3eff48(0xaa,_0x3f39d8._0x2aed1d,-_0x3f39d8._0x41e855,0x23f)},{'text':'ESC','highlight':!0x0},{'text':_0x3eff48(0x4b,-0x67,-0x9c,0x95)}]})});return _0x3b035b?_0x1c2db2(_0x32a44e,{'visible':!0x0,'title':_0x4e410c(0x3b4,_0x3f39d8._0x1699ef,0x426,0x499),'onClose':_0x2edabc,'closeOnEscape':!0x0,'footer':_0x3bd78a,'children':_0x1c2db2(_0x3daa73,{'color':_0x3e4ac1[_0x4e410c(0x486,0x6b4,_0x3f39d8._0x305e41,_0x3f39d8._0x4475ca)]['warning'],'children':_0x4e410c(0x3af,_0x3f39d8._0x51b228,0x3f0,_0x3f39d8._0x2b8046)})}):_0x5056c9?_0x1c2db2(_0x32a44e,{'visible':!0x0,'title':_0x3eff48(0x1c,-0xe1,_0x3f39d8._0x484e30,-0x16b),'titleColor':_0x3e4ac1[_0x4e410c(_0x3f39d8._0xa3f740,0x4c2,0x5d3,_0x3f39d8._0x5b1cff)]['error'],'type':_0x3eff48(-_0x3f39d8._0x294bbf,_0x3f39d8._0x3d9776,_0x3f39d8._0x2aed1d,-0x183),'onClose':_0x2edabc,'closeOnEscape':!0x0,'footer':_0x3bd78a,'children':_0x1c2db2(_0x3daa73,{'color':_0x3e4ac1['colors']['error'],'children':_0x5056c9})}):_0x1c2db2(_0x32a44e,{'visible':!0x0,'title':_0x3eff48(0x1c,-0xa7,0xad,0x122),'onClose':_0x2edabc,'closeOnEscape':!0x0,'closeOnEnter':!0x1,'paddingX':0x1,'paddingY':0x0,'footer':_0x3bd78a,'height':_0x37ee35,'children':_0x1c2db2(jo,{'agents':[{'name':_0x3eff48(_0x3f39d8._0x28b132,_0x3f39d8._0x2b9ae6,0x3d,_0x3f39d8._0x2826f2),'description':_0x4e410c(0x55f,0x5ba,0x54f,0x3ed),'instructions':'','allowed_tools':[],'temperature':0.7,'isDefault':!0x0},..._0x45fea3],'isAgentEnabled':()=>!0x0,'onAgentSelect':()=>{},'onToggle':()=>{},'onEdit':_0x47e964=>{_0x2a513e(_0x47e964);},'showStatus':!0x1,'flexGrow':0x1,'focus':!0x0})});};function Qi(_0x238a60){const _0x19415c={_0x563cf5:0x2a6,_0xf5fbbc:0x2c7,_0x375bb5:0x305,_0x1437e9:0x39d,_0x1008cf:0x4db,_0x3198be:0x8d},_0x1303c6={_0x44b80b:0x42,_0x542bb:0x195,_0x48962e:0x1d6,_0x2e9b85:0xad,_0x38ca0a:0x47,_0x3b98ff:0x160,_0x39e135:0x136,_0x3edefe:0x155,_0x1576f7:0xa6,_0x41f6aa:0xe1,_0x4c7977:0x2d2,_0x146877:0x222,_0x129f91:0x395,_0x1bd423:0x5b,_0x22a263:0x1cc,_0x1dadb8:0x10d,_0x537368:0x1a4,_0x48c155:0x2a6,_0x20d94f:0xa7,_0x5eb834:0xa4,_0x46618c:0x223,_0x21da51:0x1c6,_0x37c14a:0xa0,_0x325675:0x121,_0x5e6ac2:0xbe,_0x57bc57:0x5f,_0x485d69:0x26b,_0x4f8a88:0x92,_0x1a41e7:0x1d7,_0x2c208b:0x215,_0x416191:0xa2,_0x37db67:0x168,_0x24fdd3:0x4e,_0x3b204e:0x84,_0x11644f:0xd0,_0x4d4f47:0xfb,_0x2a8031:0x2e,_0x5baaf5:0x26c,_0x173a6e:0x14,_0x17dd05:0x2c9,_0x176f77:0x170,_0x4ce25d:0x15,_0x253bd6:0x9a,_0x417f53:0x6e,_0x407b6d:0x28,_0x521127:0xb0,_0x2f1fca:0x119,_0x3f1290:0x28d,_0x825fe3:0x1dc,_0x5378b9:0x3e},_0x2816f1={_0xee2509:0x4b,_0x6790d2:0xaf,_0x1f0c2f:0x1cc,_0x424de8:0xa5,_0x17e777:0x2,_0xb987a5:0xe4,_0x17b5e0:0x18e},_0x360ce6={_0x54f07e:0x66,_0x50912e:0x484,_0x197299:0x16b},_0x508ba7={_0x1ea7fb:0xa6,_0x160a1b:0xf5};function _0x4b3f0b(_0x207582,_0x565e8e,_0x4c86b8,_0x5a255f){return _0x40e58d(_0x5a255f,_0x565e8e-0xc5,_0x4c86b8- -_0x508ba7._0x1ea7fb,_0x5a255f-_0x508ba7._0x160a1b);}function _0x1f471f(_0xca00ae,_0xfffed4,_0x5e3d8a,_0x5d6e0e){return _0x593b39(_0xca00ae-_0x360ce6._0x54f07e,_0xfffed4-_0x360ce6._0x50912e,_0x5d6e0e,_0x5d6e0e-_0x360ce6._0x197299);}_0x238a60[_0x4b3f0b(0x42c,_0x19415c._0x563cf5,_0x19415c._0xf5fbbc,_0x19415c._0x375bb5)]({'id':_0x1f471f(0x3de,0x47a,_0x19415c._0x1437e9,_0x19415c._0x1008cf),'type':_0x4b3f0b(0x329,0xde,0x223,0x27f),'description':_0x1f471f(0x540,0x4a1,0x539,0x4d6),'category':_0x4b3f0b(-0xe7,0x191,_0x19415c._0x3198be,0x170),'component':qa,'createState'({rawInput:_0x2c0510}){const _0x196408={_0x253bf4:0x175},_0x31f888={_0x534923:0x662};function _0x2bd4f2(_0x17d213,_0x79ec66,_0x2301d2,_0x5cbc47){return _0x1f471f(_0x17d213-0x2f,_0x2301d2- -_0x31f888._0x534923,_0x2301d2-0x44,_0x5cbc47);}function _0x579e90(_0x153a93,_0x159e66,_0x1604a2,_0x39c6c7){return _0x1f471f(_0x153a93-0x1d3,_0x153a93- -0x368,_0x1604a2-_0x196408._0x253bf4,_0x39c6c7);}return{'arg':_0x2c0510[_0x2bd4f2(0x5f,-0x3d,-0xe4,-0xe7)]()[_0x2bd4f2(-0x19b,-_0x2816f1._0xee2509,-_0x2816f1._0x6790d2,-_0x2816f1._0x1f0c2f)](/\s+/)['slice'](0x1)['join']('\x20')[_0x2bd4f2(-_0x2816f1._0x424de8,_0x2816f1._0x17e777,-_0x2816f1._0xb987a5,-_0x2816f1._0x17b5e0)]()};},async 'handler'({rawInput:_0x323061,orchestratorManager:_0x30ef9b,eventBus:_0x202d5d}){const _0x141788={_0x2be860:0x523,_0x496c9e:0x5c};function _0x483e1a(_0x3c1d1c,_0x438e2a,_0x5647e6,_0x56a726){return _0x4b3f0b(_0x3c1d1c-0x1b5,_0x438e2a-0x144,_0x438e2a- -0x2e5,_0x3c1d1c);}function _0x14329c(_0x149b8c,_0x2adc4a,_0x4ccc31,_0x3c4673){return _0x1f471f(_0x149b8c-0x9a,_0x149b8c- -_0x141788._0x2be860,_0x4ccc31-_0x141788._0x496c9e,_0x2adc4a);}let _0x47a8e3=_0x323061[_0x483e1a(-_0x1303c6._0x44b80b,-_0x1303c6._0x542bb,-_0x1303c6._0x48962e,-_0x1303c6._0x2e9b85)]()[_0x483e1a(_0x1303c6._0x38ca0a,-_0x1303c6._0x3b98ff,0x6,-_0x1303c6._0x39e135)](/\s+/)[_0x14329c(_0x1303c6._0x3edefe,_0x1303c6._0x1576f7,-0x55,_0x1303c6._0x41f6aa)](0x1)[_0x483e1a(-_0x1303c6._0x4c7977,-_0x1303c6._0x146877,-_0x1303c6._0x129f91,-0x21c)]('\x20')[_0x14329c(_0x1303c6._0x1bd423,_0x1303c6._0x22a263,_0x1303c6._0x1dadb8,-0x7)]();if(_0x47a8e3)try{_0x47a8e3===_0x14329c(0x144,_0x1303c6._0x537368,_0x1303c6._0x48c155,_0x1303c6._0x20d94f)?(await _0x30ef9b?.[_0x14329c(_0x1303c6._0x5eb834,_0x1303c6._0x46618c,_0x1303c6._0x21da51,_0x1303c6._0x37c14a)](),_0x202d5d[_0x14329c(_0x1303c6._0x325675,_0x1303c6._0x5e6ac2,-_0x1303c6._0x57bc57,0x1d7)](_0x14329c(0x204,_0x1303c6._0x485d69,_0x1303c6._0x4f8a88,0x96),{'id':_0x118687[_0x483e1a(-0x2b,-0x170,-0x283,-0xa8)](),'type':_0x14329c(0xb7,-0xaa,-0x1a,_0x1303c6._0x1a41e7),'content':'Swapped\x20to\x20main\x20agent','metadata':{'timestamp':new Date()[_0x14329c(0xfb,_0x1303c6._0x2c208b,0xc9,-0x7a)]()}})):(await _0x30ef9b?.['swapToAgent'](_0x47a8e3),_0x202d5d[_0x14329c(0x121,0x17d,0x110,0x137)](_0x14329c(0x204,_0x1303c6._0x416191,0x1eb,_0x1303c6._0x37db67),{'id':_0x118687[_0x14329c(0x80,_0x1303c6._0x24fdd3,0x142,0x139)](),'type':'info','content':_0x483e1a(0xd0,_0x1303c6._0x3b204e,-_0x1303c6._0x11644f,0x91)+_0x47a8e3,'metadata':{'timestamp':new Date()[_0x14329c(_0x1303c6._0x4d4f47,0x115,-_0x1303c6._0x2a8031,_0x1303c6._0x5baaf5)]()}}));}catch(_0x5c75fd){let _0x9e42d=_0x5c75fd instanceof Error?_0x5c75fd[_0x483e1a(-0x26e,-0x1e1,-0x29b,-0x2ac)]:String(_0x5c75fd);_0x202d5d['emit'](_0x483e1a(-0xd3,_0x1303c6._0x173a6e,-0xfe,0xc5),{'id':_0x118687[_0x483e1a(-_0x1303c6._0x17dd05,-_0x1303c6._0x176f77,_0x1303c6._0x4ce25d,-0x1ca)](),'type':_0x14329c(-_0x1303c6._0x253bd6,-_0x1303c6._0x417f53,-_0x1303c6._0x407b6d,_0x1303c6._0x521127),'content':_0x14329c(-0x17,-0x160,-_0x1303c6._0x2f1fca,0x79)+_0x9e42d,'metadata':{'timestamp':new Date()[_0x483e1a(-_0x1303c6._0x3f1290,-0xf5,-_0x1303c6._0x825fe3,-_0x1303c6._0x5378b9)]()}});}}});}import{useState as _0x9fbed0,useCallback as _0x155126}from'react';import{Box as _0x4a9a2c,Text as _0x2d47d3}from'ink';function _0x4587(){const _0x4767b0=['uMvHzcWGv2vIu2vHCMnO','rxHPDcb0AguGyxbWBgLJyxrPB24Gywz0zxiGy2XLyw5PBMCGDxaGCMvZB3vYy2vZlG','B2f1DgGTy29UC29Szq','4OAr4OAtl2OVAW','BgLZDa','zw5HyMXLza','Bwf4x3rVA2vUCZOG','vgHPBMTPBMCGq29UzMLNDxjHDgLVBG','C2v0rwrPDgvKqwXSB3DLzfrVB2XZ','x19KzwzHDwX0x18','CMvK','Bgf5B3v0','BMfTzq','sw5ZDgfSBgLUzYbJBgLJBgLJAYb2AweGsg9TzwjYzxCUlI4','kK5VignVBNrLBNqQ','vgfNCZOG','u3rHCNqGysbUzxCGy29UDMvYC2f0Aw9UihnLC3nPB24','DwK6BgLUzq','BwfNzw50yq','u2TPBgXZ','C2v0rwrPDgvKtwf4vg9Rzw5Z','AgfUzgXLu2nVCgvdAgfUz2u','ywn0AxzLvMLLDW','y21K','yxbPlwTLEq','zgvIDwC','CM93','yMLUza','AgfZ','BwvTB3j5lNjLDhjPzxzHBc5TyxHrDwvYAwvZugvYvhvYBG','Dg9Rzw5fBNrYEq','igfKzokgKNjVDZeGia','u2vSzwn0zwqGC2vZC2LVBIbOyxmGBM8GBwvZC2fNzxmGDg8GBg9Hzc4','D2HPDgu','Bxv0zwq','rwrPDcbbz2vUDa','DxnLCL9PBNzVy2fIBgu','qwDLBNqGq29UzMLNDxjHDgLVBG','q29YzsbTzw1VCNKGyNvKz2v0oIaXnta','B2f1DgHdB25ZB2XL','uNvUic9Zzxr1CcbJB21WDxrLCI11C2uGls1MB3jJzsb0BYbMB3jJzsbYzwj1AwXKigf4lwHLBhbLCI4','BwvTB3j5lMv4DhjHy3rPB24UChjVDMLKzxi','vgHLigDLBMvYyxrLzcbJB25MAwD1CMf0Aw9UigLZig5VDcb2ywXPzcbku09olIbuCNKGyMvPBMCGBw9YzsbZCgvJAwzPyYbHyM91Dcb0AguGywDLBNqNCYbYB2XLigfUzcbJB25ZDhjHAw50CY4','C2v0rwrPDgvKsw5ZDhj1y3rPB25Z','4PQGihnOywrVD3mG','C3rHDhvZ','DwK6BwnWoMjHDgnOvg9VBfbLCM1PC3nPB25dAgfUz2vK','zgLYBMfTzq','CM93CW','mJK3mJKWmeTNA2Dfta','BgvMDefYCM93','iefqssbRzxKGC2f2zwqGDg8Gy29UzMLNDxjHDgLVBI4','zxHWAxjLCW','zwrPDezVCM1wAwv3','t0zg','BgLJzw5ZztOG','AxntzwXLy3rLza','AgvSCa','ywn0AxzLuhjVDMLKzxi','Dg9Rzw5Z','4OAr4OAt4OAq4OAs','DwK6Aw5WDxq6Dg9Nz2XLvMLTtw9Kzq','rwrPDa','tgLZDcbHBMqGBwfUywDLigfNzw50ihnRAwXSCW','q3vZDg9TienVBw1HBMrZ','4OcIig1LBw9YEv9ZyxzLihrVB2WGDxnHz2u','uLnticHWCM9JzxnZihrVDgfSkq','z3jHEq','tg9JywW','C29Tzq','rMfPBgvKihrVihnHDMuGtunqigjHDgnOihrVB2WGCgvYBwLZC2LVBNm6','igrLBgv0zsdIGkiG','C2nYzwvUy2fWDhvYzq','ihnHDMuG4OcIia','ywjVCNq','u2vSzwn0ie1VzgvS','Bwf4','rxjYB3iGq3jLyxrPBMCGqwDLBNq','DhLWzq','z2v0qwDLBNrszwDPC3rYEq','l2HLBha','rMfPBgvKihrVihjLBw92zsb1CgrHDgvKigfNzw50igzPBguGywz0zxiGzwrPDcbLCNjVCJO','lY5JBgf1zguV','EwvSBg93','CgvUzgLUzW','4OcuifnLBwfUDgLJoG','CMvXDwvZDhm','rMfPBgvKihrVigXVywqGywDLBNrZoIa','4OAql+kgKG','C2LNBMfS','oda0nJH2ALrpCNe','iokaLcbIDwLSDc1PBIbTywnpuYbZy3jLzw5ZAg90ihrVB2W','ls1MB3jJzq','Bg9HzefSBa','tM8GAgLZDg9YEsbMAwXLigzVDw5KigzVCIbZzxnZAw9Uia','CMf0zq','twvTB3j5oIa','tw9KzwW6','z2v0tunqu2vYDMvYCW','y29ZDa','vg9VBhm6','zMLUza','z2v0qwn0AxzLuhjVzMLSzq','AgfZx2fZC2v0CZOG','B3jPz2LUywW','zM9VDgvY','u2vYDMvYig5VDcbPBML0AwfSAxPLza','C2nVCgu','q3vZDg9TihnWzwnPywXPC3qGywDLBNq','qg51DMLUl251DMLUlwnVCMu','rgLZy292zxjPBMCGC2TPBgXZlI4U','lM1KlIbfzgL0Aw5NigDSB2jHBcb2zxjZAw9UlG','ChjVDMLKzxjZlG','BwvTB3j5lMv4DhjHy3rPB24UBw9KzwW','tM8Gy29UDMvYC2f0Aw9UigHPC3rVCNKGDg8GC3vTBwfYAxPL','C2v0u2vSzwn0zwrbz2vUDeLUzgv4','qwDLBNqGD2L0AcbUyw1Lici','C3rHBgvcyxnO','zw1WDhK','tM8GywDLBNrZignVBMzPz3vYzwqUifbYzxnZien0CMWRtIb0BYbJCMvHDguGysbUzxCGywDLBNqU','z2v0uhjVzMLSzunVBw1HBMrZrgLY','CMvHza','z2v0sw5ZDgfUy2u','rvnd','vg9Rzw4GvxnHz2u','q3vZDg9TiefNzw50','zw50CMLLCW','AgfUzgXLu2f2zuvKAxrPBMC','iokaOIbJCMvHDgvKoIa','u3DHChbLzcb0BYbHz2vUDdOG','zgv2AwnLrMXVDW','zxHLy3v0zq','zMXLEc1LBMq','AgfUzgXLrMLLBgrdAgfUz2u','rMfPBgvKihrVigXVywqGyxzHAwXHyMXLihrVB2XZigzVCIbHz2vUDcbJCMvHDgLVBJO','q3jLyxrLienVBw1HBMq','Dgv4DerPBq','ignHBMnLBa','iokaLcbPBNn0ywXSyxrPB24GzMfPBgvK','igvKAxqG4OcIia','u291CMnLoIa','zgLZDa','z2v0twvTB3j5u2vYDMLJzq','Dw5YzwDPC3rLCG','y2vUDgvY','DgLTzxn0yw1W','r2L0shvIicHdB3bPBg90kq','q2XLyw5PBMCGDxaGCMvZB3vYy2vZlI4U','AI9R','zMv0y2HLzef0','uMf0zsbSAw1PDcbLEgnLzwrLzc4GugXLyxnLihDHAxqGysbTB21LBNqGyw5KihrYEsbHz2fPBI4','BgXTq2fSBenVDw50','iokaLcbJB21WAwXLzcbtD2LMDcbHy2nLC3nPyMLSAxr5igHLBhbLCG','ig1VDMuGia','zgvSzxrL','qwDLBNqGCMvNAxn0CNKGBM90igf2ywLSywjSzs4GugXLyxnLihjLC3rHCNqGDgHLienmssbHBMqGDhj5igfNywLUlG','x19JB3jLx2j1zgDLDf8YntbFxW','C2vZC2LVBI5Tzw1qzxjZAxn0','qwnJzxnZignVDw50oIa','zxHPC3rZ','zxHWAxjLC0f0','Aw5ZDhj1y3rPB25Z','C2v0rwrPDgvKrgvZy3jPChrPB24','twvTB3j5iev4DhjHy3rPB24Gtw9KzwW','zwrPDa','rw5HyMXLigfJDgL2zsbYzwnHBgW','x19TyxHFCxvLCMLLC18Xx18','zMfPBgvK','BwvTB3j5','Bwv0Ag9K','zwrPDgLUz0nVBw1HBMrjza','C2vSzwn0zwrbz2vUDeLUzgv4','iokwVca','rMfPBgvKihrVignYzwf0zsbNBg9IywWGB3zLCNjPzgu6ia','ChjVDMLKzxi','ihWGuhjLzML4oIa','C2HPzNq','C3bSAwnL','D2HPy2GG','u3rHCNrLzcbUzxCGy29UDMvYC2f0Aw9U','rgvZy3jPChrPB246ia','D3jHCa','BgvMDa','ign5y2XLigzPzwXKCYdIGkiG','tM8GChjVDMLKzxjZignVBMzPz3vYzwqU','ywn0AxzLuhjVzMLSzq','rwrPDcbjBNn0CNvJDgLVBNm','igHPzgrLBIaG','ic9Zzxr1Cca8Dg9VBd4Gw29WDgLVBNnD','C2v0qwn0AxzLuhjVzMLSzq','r2XVyMfS','tg9HzgLUzYbTzw1VCMLLCY4UlG','q3jLyxrLzdO','u2nYzwvUifjLy29YzgLUzW','rMfPBgvKihrVignYzwf0zsbHz2vUDdOG','uM93idi','B3b0Aw9UCW','y3jLyxrLqwDLBNq','qwnJzxnZAwjPBgL0Eq','ndaL','l2nVBw1HBMq','y29UzMLN','t3jJAgvZDhjHDg9Yig5VDcbHDMfPBgfIBgu','l3n3yxa','C2v0rwrPDgvKtw9KzwW','rwrPDgLUzYbNBg9IywWGDMvYC2LVBG','AgfZu2nYAxb0CW','qxbWs2L0','y29TChjLC3nbBMrdCMvHDgvozxDtzxnZAw9U','y2XLyxi','vgvTCgvYyxr1CMu6','uM93ide','ig1LC3nHz2vZihrVia','vgfIl0vZyW','zgvSzxrLrNjVBuzPBgu','q29UzMLNDxjLihrOAw5RAw5NigrPC3bSyxKGBgv2zwW6ic90AgLUA2LUzYbBB2zMFgXVD3XTzwrPDw18AgLNAf0','uMvHza','ignVCMu6','zxjYB3i','z2v0u25HChnOB3q','tuvesvvn','l21JCa','twf4ihf1zxjPzxmVDhvYBJOGmq','zgfYD2LU','z2v0q29TBwfUzezPBgvqyxrO','iefqssbRzxK6ia','C291CMnL','qwn0AxzLifjLy2fSBa','CMLNAhrbCNjVDW','Dg9VBhm','vgHPBMTPBMCGzgLZCgXHEsbZzxqGDg86ia','zwrPDgvKtMfTzq','ig5LDYdIGkiG','AgfUzgXLq2fUy2vSrwrPDgLUzW','r2L0shvIigrLDMLJzsbMBg93ihrVA2vUihnHDMvKihrVignVBMzPz3vYyxrPB24U','qwXSB3DLzcbuB29SCZO','4Psu4Psaia','vxnLigrLzMf1BhqGkhnTywXStw9KzwWP','CMf3sw5WDxq','CM9Szq','ic0G','igfKzokgKNjVDZiGia','u3DHCcb0BYbHigrPzMzLCMvUDcbHz2vUDdOGl3n3yxaGw21HAw58pgfNzw50lwLKpL0','iokaLcbJB21WAwXHDgLVBIbMywLSzwq','BM93','Aw1WB3j0iff1yxj0EG','kg5VBMuP','uMvXDwvZDhm','ig5HDMLNyxrLica','ywXSB3DLza','u1vetW','yM9Sza','C2TPBgXZ','rMfPBgvKigfMDgvYia','q29TBwfUzcboyw1LicH3AxrOB3v0ic8PoG','u2vSzwn0ihbYB3zPzgvYoG','DxbbCNjVDW','C3vTBwfYEq','BxrPBwu','icbhCMfUDcbHy2nLC3mGDg8GEw91CIb0zxjTAw5HBcbHCha','BgLUzxm','z2v0q29TBwfUza','q3rYBcTo','AgfZx2fZC2v0CW','q3jLyxrLzcbNBg9IywWGB3zLCNjPzguGyxqGFI8UBNv2Aw4VywDLBNrZlW','CMvSB2fK','iokaOIbZB3vYy2u6ia','AgvPz2H0','C2vZC2LVBG','AgfZx3jLzMvYzw5Jzxm6ia','ig5HDMLNyxrLiokaOIa','B3jJAgvZDhjHDg9YtwfUywDLCG','C3vTBwfYAxPLqw5Kq3jLyxrLtMv3u2vZC2LVBG','z2v0qxzHAwXHyMXLu2nVCgvZ','q2XLyxiGywXSig1LC3nHz2vZigzYB20GDgHLign1CNjLBNqGy29UDMvYC2f0Aw9U','tg9HzgLUzYbHz2vUDhmUlI4','CNnZ','lM51DMLU','qwDLBNqGCMvNAxn0CNKGBM90igf2ywLSywjSzs4','ihjLy29UBMvJDcdIGkiG','zgvZy3jPChrPB24','AxnfzgL0Aw5N','vgvTCcaOmc0YktO','iokaLcbJB21WAwXLzcbZDwnJzxnZzNvSBhK','zgLZywjSzwq','BwnWoNnLCNzLCNndAgfUz2vK','x19Hy3rPDMvFCMvJywXSx29MzL9F','uYVIHPe','qw50AhjVCgLJicG','yMv0yq','z2v0vxbKyxrLzfbYzxzPzxC','BM9Uzq','Dg9VBe5HBwu','cKf2ywLSywjSzsb0B29SCYb3AxrOigrLC2nYAxb0Aw9UCZOklsbMAwXLx3jLywq6ifjLywqGzMLSzsbJB250zw50CYbMCM9TihrOzsbMAwXLC3LZDgvTcI0GzMLSzv9UzxC6ienYzwf0zsbUzxCGzMLSzxmGD2L0AcbZCgvJAwzPzwqGy29UDgvUDaOTigzPBgvFzwrPDdOGtw9KAwz5igv4Axn0Aw5NigzPBgvZihDPDgGGChjLy2LZzsbLzgL0CWOTigjHC2HFDg9VBdOGrxHLy3v0zsbZAgvSBcbJB21Tyw5KCYb3AxrOihrPBwvVDxqklsbNBg9Ix3rVB2W6iezPBMqGzMLSzxmGBwf0y2HPBMCGz2XVyIbWyxr0zxjUCWOTigDYzxbFDg9VBdOGu2vHCMnOigzVCIb0zxH0ihbHDhrLCM5ZigLUigzPBgvZcI0GBhnFDg9VBdOGtgLZDcbKAxjLy3rVCNKGy29UDgvUDhmklsb0B2rVx3DYAxrLoIbdCMvHDguGyw5Kig1HBMfNzsb0yxnRigXPC3rZcI0GD2vIx3nLyxjJAdOGu2vHCMnOihrOzsb3zwiGzM9YigLUzM9YBwf0Aw9UcI0GD2vIx2zLDgnOoIbgzxrJAcbHBMqGCgfYC2uGD2vIihbHz2uGy29UDgvUDaOTigfZC2LNBL90yxnRoIbezwXLz2f0zsb0yxnRCYb0BYbZCgvJAwfSAxn0igfNzw50CWO','ifn5C3rLBsbtzxr0Aw5NCYa','DwK6AgvHzgvYoNjLzNjLC2G','tg9HzgLUzYbJB21Tyw5KCY4UlG','DxbKyxrLtunqqwXSB3DLzfrVB2XZ','zgv0ywLS','sgLKzgvUoIa','y2XPtwvZC2fNzxm','ihrVign5y2XLiokaOIa','A2v5yMLUzgLUz3m','Dg9mB2nHBgveyxrLu3rYAw5N','CMvMCMvZAa','u3bHy2u','C2HVD1bYzxzPzxC','y29TCgf0AwjPBgL0Eq','CgLWzq','q29UzMLNDxjLihn0yxr1C2XPBMuGC2vNBwvUDhmGyw5KigXHEw91Da','BwfPBI5ZD2LMDa','Aw5JBhvKzxm','y29UBMvJDgvK','zxzLBNrcDxm','Dg90ywXdB3n0','qwDLBNrZicG','C3LZDgvT','zxHWB3nLzfrVB2XZ','tM8Gy29UDMvYC2f0Aw9UigHPC3rVCNKGDg8GzxHWB3j0','zgvMyxvSDcaOC21HBgXnB2rLBcK','tfnq','ifrOzsbJB21WDxrLCIb0B29SigLZihjLywr5ihrVihvZzs4','AM9PBG','D2fPDgLUzW','ifbYAxzHy3KGjIbtzwn1CML0Esa','zMLSzv9UzxC','BwnWlNnLCNzLCNm','C3vIDgL0Bgu','lIbuCNKGysbTB3jLigrLDgfPBgvKigrLC2nYAxb0Aw9UlG','u3DHCcbbz2vUDa','Bw9KzwW','y29UDgv4DfDPBMrVD1vZywDL','rMfPBgvKihrVihnHDMuGBw9KzwW','Bw9KywW','CMvTB3zLza','zM9Yz2v0','CM91BMq','ifrOzsbJB21WDxrLCIb0B29SigLZigv4CgvYAw1LBNrHBcbHBMqGCMvXDwLYzxmG','ywDLBNrZrw5HyMXLza','q3rYBcTdien0CMWRqW','rMfPBgvKihrVihnHDMuGC3rHDhvZBgLUzsbSyxLVDxq6ia','BwTKAxjtEw5J','DwKUC3rHDhvZBgLUzs5YB3DZ','iokaLcbpCgvUignVBw1HBMqGBwvUDq','twvTB3jPzxm','zM9YrwfJAa','DwK6y29TBwfUzhm6CMvMCMvZAa','q29UzMLNDxjLie1ducbZzxj2zxiGDg9VBcbWzxjTAxnZAw9UCY4','u2TPBgWGzgLZy292zxj5igHHzca','rMfPBgvKihrVihn3yxaGywDLBNq6ia','lwzYyw1LD29YAW','Bw9KzwXZ','B2f1DgHnyxG','u2nVCgu6','icaGiokaLcbgB3jJzsbYzwj1AwXKigf4lwHLBhbLCIbLDMvUigLMigfSCMvHzhKGy29TCgLSzwq','mJK0mJy4mhfcB1Lqrq','t3b0Aw9UCZO','zgfUz2vY','rxHHBxbSztOGiKeGC2vJDxjPDhKGC3bLy2LHBgLZDcb0Agf0igf1zgL0CYbJB2rLigzVCIb2DwXUzxjHyMLSAxrPzxmGyw5KihbYB3zPzgvZihjLBwvKAwf0Aw9Uihn0zxbZiG','C3rYAw5N','ng1VugjlAa','twfUywDLigXVBMCTDgvYBsbTzw1VCNKGkhnHDMuVCxvLCNKVzxH0CMfJDcKUifvZzsaVBwvTB3j5ignVBMzPzYb0BYbZzxqGzxH0CMfJDgLVBIbTB2rLBc4','y3rYBa','4OcIig1LBw9YEv9LEhrYywn0ihrVB2WGkgv4CgXPy2L0igv4DhjHy3rPB24GkYbJB25ZB2XPzgf0Aw9Ukq','zxnJyxbL','ywDLBNq','yMfZAwm','iIbHBhjLywr5igv4Axn0CW','vg9Nz2XLihn1zg8GBw9KzsaOyNLWyxnZihrVB2WGyxbWCM92ywWGCMvXDwLYzw1LBNqPlG','C2v0rwrPDgvKtMfTzq','rw50zxi','Dhj1zq','q29TBwfUzhmGka','kcaP','tw9KzwW','C3rKzxjY','igv4Axq','iI4GvxnLoIbVzMySigXVDYWGBwvKAxvTlcbVCIbOAwDO','uhjVzMLSzsaO','igvYCM9YCW','Bg9JywW','Bwf0y2G','yxv0Aa','g1S/mJaWngW','AgfZx3nJCMLWDhm','lY5UDxzPBI8','C2nYB2XSvg8','BwvZC2fNzq','rMfPBgvKihrVigXVywqGC2TPBgXZoIa','ChjLzML4','y29UDMvYC2f0Aw9UoMnYzwf0zwq','igrVzxmGBM90ihjLCxvPCMuGyxv0AgvUDgLJyxrPB24U','q2XHDwrLifbYBY9nyxG','DgfI','C2vTyw50Awm','rgvSzxrLiefNzw50','vw5RBM93BIbLCNjVCG','Dw5ZzwXLy3rLza','te9x','ChjPBwfYEq','mJC1mda3n25crwTVDW','teXnihjLDhvYBMvKigfUigvTChr5ihjLC3bVBNnLlIbqBgvHC2uGDhj5igeGBw9YzsbKzxrHAwXLzcbKzxnJCMLWDgLVBI4','AxnezwzHDwX0','u2TPBgW6ia','DgvZDa','BgfZDefJy2vZC2vKqxq','D2fYBG','CMvUzgvYuhjVBxb0','BgLUAW','y3jLyxrLzef0','z2v0twvTB3j5','C29YDej5uhjPB3jPDhK','u3DPDgnOzwqGDg8GC2vZC2LVBIa','C2vSzwn0zwrjBMrLEa','yxv0AgvUDgLJyxrLza','DhLWztOG','C2v0uhjVzMLSzurPCG','Dg9VBenHBgXdB3vUDa','tM8GtunqihnLCNzLCNmGy29UzMLNDxjLzcbVCIbJB25Uzwn0zwq','Dg9dB21WBgv0zq','C3DPzNrJ','y2XLyxjuzxjTAw5HBa','ig1VCMu','A2v5','zg93BKfYCM93','x19Hy3rPDMvFCMvJywXSx29Ux18','lsbuB29SCYbLEgLZDdOG','C3rHBgvfzgL0CW','B2f1DgGTBwf4','uhjLC3mGrw50zxiGDg8Gz2vUzxjHDguSievtqYb0BYbJyw5JzwW','lM1VzgvS','C2TPBgXZrw5HyMXLza','twfPBIbHz2vUDcbZyxzLzc4GuMvZDgfYDcb0AguGq0XjigzVCIbJAgfUz2vZihrVihrHA2uGzwzMzwn0lG','jsbYzwr1y3rPB24P','DwK6BgLUzxm6y2XLyxi','y3vYCMvUDa','l3vZCI9IAw4VChL0Ag9UmW','rMfPBgvKihrVigXVywqGy29TBwfUzhm6ia','tM8GBwvTB3jPzxmGC3rVCMvKihLLDc4','4Psu4PsaihrHz3m6ia','q29ZDa','DwK6zxjYB3i','CxvVDge','4OAtienVBxbSzxrPB246','zY9h','u2f2Aw5NihvWzgf0zwqGy29UzMLNDxjHDgLVBUkaPG','iokaOIa','tMfTztO','ntyZote3nu9ZC2rdBG','y29UC29Szq','C2vYDMvYswq','z2v0qwXStwvTB3jPzxm','C2f2zvrVrMLSzq','uMvZzxq','z2v0qwn0AxzLq29UDMvYC2f0Aw9Uswq','nKP3shPLwq','zMfPBgvKqMfZAa','twf4ifrVA2vUCZO','ywnJzxnZ','AxnbCNjHEq','u2vYDMvYoIa','ignSB3nL','ChjVBxb0','DhjPBq','vxbKyxrPBMCGqwDLBNtIGky','u2vHCMnOihnRAwXSCY4UlG','zwrPDgvKsw5ZDhj1y3rPB25Z','rMfPBgvKihrVignVBxbYzxnZignVBNzLCNnHDgLVBJOG','Dg9Wx3a6ia','tg9HzgLUzY4UlG','A2LUza','ihn3yxaG4OcIia','ls1Yzxr1CM4TDg8TBw9KzwW','q2fUBM90igrLBgv0zsbKzwzHDwX0igfNzw50CW','nJm3mdq4mhrPCgDzAq','Dg90ywXuB2TLBNm','C2v0rw5HyMXLzefNzw50CW','y3vZDg9TlwnVBw1HBMq6zxHLy3v0zq','x19SB2fKAw5Nx186oG','Aw5JBhvKzuHPzgrLBG','CgvYC2LZDgvUy2u','z2v0rgLY','vg90ywWGu2vZC2LVBJOG','twvTB3j5ig5VDcbPBML0AwfSAxPLza','yxGTAgvSCgvY','rMfPBgvKihrVigXVywqGy3vZDg9TignVBw1HBMrZoG','CMvNAxn0CNK','z2v0q29UzMLN','Aw5PDgLHBgL6zq','4OArl+kgKW','uhjVBxb0ihrLBxbSyxrLigLZihjLCxvPCMvK','Dg9VBf9JywXSx2LK','ywXSq29TBwfUzhm','iokaLcbUB3qGzM91BMqGkhvUzxHWzwn0zwqGB24GBwfJt1mP','q3jLyxrPBMCGqwDLBNtIGky','qxv0AgvUDgLJyxrLihDPDgGGysbWCM92AwrLCI4','rwrPDcbhzw5LCMf0zwqGsw5ZDhj1y3rPB25Z','ihnJCM9SBcdIGkiG','iokwSIa','DwK6BgLUzxm6C2v0','CMfUzg9Tvvvjra','zwrPDgvKtwf4vg9Rzw5Z','E3T1C2vYx3bYB21WDh19','Bg9Hzez1BgW','iokaLcbszwnHBgWGChjLDMLVDxmVBMv4Dcb1C2vYig1LC3nHz2vZicH3AgvUihr5CgLUzYK','rMfPBgvKihrVignYzwf0zsbNBg9IywWGB3zLCNjPzgu','z2v0teXnrMfJDg9YEq','u2vHCMnOignVBw1HBMrZlI4U','zgLZy29UBMvJDe1dufnLCNzLCG','vgHLig1VzgvSihrPBwvKig91Dc4Gvhj5igeGC2LTCgXLCIbKzxnJCMLWDgLVBIbVCIbHigzHC3rLCIbTB2rLBc4','uhjVDMLKzxiGzgvMyxvSDa','DgLTzwqGB3v0','C2v0rwrPDgvKvgvTCgvYyxr1CMu','kgrLzMf1BhqP','DMfSAwrHDgu','lsbpCMnOzxn0CMf0B3iGzxHPC3rZoIa','C3bSAxq','tM90ztO','ihnHDMuGia','yxjNDw1LBNrZ','mJDZsw1ZrKW','Bwf4x3rVA2vUCW','tunqifnLCNzLCIbdB25MAwD1CMf0Aw9U','q3rYBcTt','ywXSB3DLzf90B29SCW','ihDOzxjLihvZzxiGAw5WDxqGC2HVDwXKigfWCgvHCG','x19TyxHFCxvLCMLLC18Zx18','vgHPBMTPBMC','CgfYC2u','Dg9Wx3a','ywDLBNqTy29UzMLN','y2XPy2XPy2S','z2v0vg9VBhm','Dgv4Da','z2v0tw9KzwXZ','Dg9VBf9JywXSCW','C3DHCfrVtwfPBG','twvTB3j5icHOzwfWkq','vxnLia','zgLT','ChjVzMLSzq','q29YzsbTzw1VCNKGyNvKz2v0oIa0mda','DMvYAwzPzxi','uMvTB3zLzdOG','qwn0AxzPDhK','BwfPBIbHz2vUDa','iokaLcbUB3qGyxzHAwXHyMXLicH1BMv4CgvJDgvKig9Uig1Hy09tkq','y29TBwfUzdPZDwrVoNrVz2DSzq','z2v0','C2vNBwvUDhm','rMfPBgvKihrVignYzwf0zsbHz2vUDa','z2v0t3jJAgvZDhjHDg9Y','BMf2AwDHDgvuB0jHC2LJrM9YBq','BwvTB3j5lNbYB3zPzgvY','l3zPBq','Aw5MBW','DgHPBMTPBMC','y3LHBG','teXnienHBgXZoIa','AgfZuMvMzxjLBMnLCW','Dg9mB3DLCKnHC2u','qxbWBgLJyxrPB25tzxj2AwnLCW','ifbYB2nLzhvYywW6','BwnWxW','BgfIzwW','yMvHCMvY','uhjVy2vKDxjHBa','y2XLyw51Ca','u2vSzwn0ig1LDgHVzdO','seLhsa','rgvMyxvSDcbHz2vUDhmGy2fUBM90igjLigvKAxrLza','DgvTCgvYyxr1CMu6ia','Aw5WDxq','ChvZAa','iokaLcbUB3qGy29TCgLSzwqGB3iGB3v0zgf0zwqSigj1AwXKAw5NlI4U','ywXSB3DLzfrVB2XZ','BMf2AwDHDgvuB0LUC3rYDwn0Aw9UCW','s2v5yMLUzgLUz3m','ywnJzw50','rgvZy3jPyMuGD2HHDcb5B3uGD2fUDcb0AgLZigfNzw50ihrVigrVlIbczsbZCgvJAwzPyYbHyM91DcbPDhmGCM9SzsWGzxHWzxj0AxnLlcbHBMqGyxbWCM9Hy2GU','ywn0AxzLsw5KzxG','C2v0u2HVD1bYzxzPzxC','z3jLzw4','ChjLC2vYDMvKu3rHDgu','y29TBwfUzhm','zxjYB3jZ','CMvTzw1Izxi','z2XVyMfS','l3n1Bw1HCNK','Dg9VBfjLC3vSDe1LC3nHz2u','y29TChv0zxi','tuvesvvnic0GqMfSyw5JzwqGDgHPBMTPBMCGkdqWotyGDg9Rzw4GyNvKz2v0kq','4OcIic5JBgf1zguVC2TPBgXZlYaOChjVAMvJDcK','tgfZDcbHy2nLC3nLzdO','u3vTBwfYAxPLihrOzsbJDxjYzw50ignVBNzLCNnHDgLVBIbHBMqGy3jLyxrLigeGBMv3ihnLC3nPB24GD2L0Acb0AguGC3vTBwfYEq','z2v0teXn','r2L0igjYyw5JAa','4OcIig1LBw9YEv9XDwvYEsb0B29SihjLDhjPzxzHBcaRic9Tzw1VCNKGy29UzMLN','rMfPBgvKihrVihnHDMuG','C29YDa','rgvSzxrLienVBw1HBMq','y2fJAgvK','yMfKz2u','u2vYDMvYihDPBgWGy29UBMvJDcbVBIbUzxH0ihnLC3nPB24GC3rHCNq','iokaLcbTywnpuYbZExn0zw0GuhL0Ag9U','C2vWlwf0lq','vxbKyxrLzdO','y29TBwfUza','BwvTB3j5lNjLDhjPzxzHBc5Hy3rPDMvfBMfIBgvK','iokaLcbMB3jJzsbYzwj1AwXKihjLCxvLC3rLzc4UlG','tM8GChjLDMLVDxmGC2vZC2LVBIbOAxn0B3jPzxmGzM91BMqU','rMfPBgvKihrVihnHDMuGy29TBwfUzdOG','BgLZDefSBa','uxvHCNr6igzYyw1LD29YAW','igzHAwXLzcbIyxnO','ywnJzxnZq291BNq','ihn0ywXLigvKAxrZlca','zNvUy3rPB24','yw50AhjVCgLJ','rMfPBgvKihrVignYzwf0zsbbueKGA2v5lG','zwrPDgvKtw9KzwW','y29TBwfUzc1Uyw1L','uhjVzMLSzq','Dg9ju09tDhjPBMC','Aw50zwDYyxrPB24','y29UDgfPBMvYsgvPz2H0','rgvMyxvSDcbTywLUigfNzw50','C2vYDMvYCW','ChjVzMLSzurPCG','Axnoyu4','zNjVBq','suq6ia','q2fJAgvK','tM8Gy3vZDg9TignVBw1HBMrZigzVDw5KlIbqCMvZCYbdDhjSk04GDg8Gy3jLyxrLigeGBMv3ignVBw1HBMqU','ihrVigjLihnLDc4','iokaLcbfEgL0igfWCgXPy2f0Aw9UicHKB3vIBguGChjLC3mP','q2HLy2SGyw5KigLUC3rHBgWGChjLCMvXDwLZAxrLCYbMB3iGBNv2Aw4GDg9VBhm','ihzPzxCG4OcIia','y2XVC2u','zMLSzvbHDgG','teXnig5VDcbHDMfPBgfIBgu','tLvwsu5Fq09nufvurvjFvvnfpte','Bg9HzenVBw1HBMrZ','icdIGjqGq2HLy2SGyw5KigLUC3rHBgWGChjLCMvXDwLZAxrLCYbMB3iGDgHLignVBxb1DgvYihvZzsb0B29S','yMX1zq','C2nYB2XSwq','y29TChv0zxiTDxnL','CMvZzxq','ywjVDMu','mtq2mdmZBe1PCeD6','u2vYDMvYigLZigrPC2fIBgvK','l3n0yxr1C2XPBMu','l21VzgvS','Bg9JywXfBMfIBgvKu2TPBgXZ','CMvJzw50tw9KzwXZ','vg9VBcbdywXSCZOG','uMvHzhK','uhjLDMLVDxmGy29UDMvYC2f0Aw9Uihn1Bw1HCNK6cGO','C3vJy2vZCW','ugXLyxnLihjLC3rHCNqGDgHLienmssbHBMqGDhj5igfNywLUlG','l25LDW','zw1PDa','zwrPDgvKvgvTCgvYyxr1CMu','rMfPBgvKihrVihnHDMuGywDLBNq6ia','iokaOIbjBNn0CNvJDgLVBNm','DxrMltG','ifjLCxvPCMvZifHJB2rLienVBw1HBMqGtgLUzsbuB29SCZOG','x19JB3jLx2j1zgDLDf80mdbFxW','z2v0q29UDMvYC2f0Aw9Uq29UDgv4Da','q3jLyxrLzcbNBg9IywWGB3zLCNjPzgu','ihrVz2DSzsdIGkiG','DgfNCW','yMLU','u3rHDhvZBgLUzsbmyxLVDxq','y29TCg9Uzw50','CMv0DxjU','rMfPBgvKihrVihnHDMuGywDLBNqGC3rHDhvZoG','vxnHz2u6','uhjLDMLLDYbhzw5LCMf0zwqGqwDLBNq','igjHy2S','u2TPBgXZigfYzsbKAxnJB3zLCMvKigzYB206','x19TyxHFCxvLCMLLC18Yx18','y29UDgvUDa','kgvTChr5kq','icbhCMfUDcbHy2nLC3mGDg8GEw91CIb0zxjTAw5HBcbHChaGkfrLCM1PBMfSlcbPvgvYBtiSigv0yY4P','y29Kzq','u2vHCMnOigfNzw50CY4UlG','u2HVDYbHDMfPBgfIBguGy29TBwfUzhmGyw5KihnOB3j0y3v0CY4','C3rHCNrZv2L0Aa','zMLSzv9LzgL0','4O+XifjLy2vUDa','u2vSzwn0ig1VzgvSigzYB20GywXSigf1DgHLBNrPy2f0zwqGChjVDMLKzxjZlG','BMf2AwDHDgLVBLnVDxjJzq','q3rYBcTf','y29UDgvUDeHLAwDODa','Bg9N','BwfPBG','AxndDxn0B21dB21Tyw5K','Cgf0Aa','Bg9JyxrPB24','y29UDgv4Da','zwrPDgvKu2nVCgu','twvTB3j5ihDVCMTMBg93CZO','l2HPC3rVCNK','teXnihjLDhvYBMvKigvTChr5ihjLC3bVBNnL','B2zM','CM9VDa','rxjYB3i6ia','rMfPBgvKihrVihnHDMuGy29UzMLN','ChjVDMLKzxjZ','qwDLBNqGCMvNAxn0CNKGBM90igf2ywLSywjSzq','l3rOAw5RAw5N','CMvJywXSoG','C2XPy2u','BMv3','BgXT','z2v0u2nYB2XSsw5MBW','Dg9VBa','l2fNzw50','CMvWBgfJzq','twf4ihf1zxjPzxmVDhvYBJOGmW','zxbPC29KAwm','Bg9JywXeAxi','vhLWztOG','zwrPDgvKrgvZy3jPChrPB24','n01lDfHwyq','zMLSDgvY','t3jJAgvZDhjHDg9Yig5VDcbPBML0AwfSAxPLzcWGD2fPDcbHig1VBwvUDa','zgvMyxvSDa','vxnHz2u6ic9LEhbVCNqGpgzPBgvUyw1LpG','rMfPBgvKihrVihn0yxj0ig5LDYbJB252zxjZyxrPB246ia','EgnVzguTC2vSzwn0ic0TAw5ZDgfSBa','rMfPBgvKihrVigXVywqGC2vZC2LVBJOG','v2vIu2vHCMnO','AgLKzgvU','BwLU','Dg9Rzw4','rxn0Aw1HDgvKienVC3q6ia','y29SDw1U','igjHy2SGDg8GChjLDMLLDW','rMfPBgvKihrVihn1Bw1HCML6zsbJB252zxjZyxrPB246ia','zgLZy292zxi','C2LUz2XL','DMfSDwu','DwK6AgLZDg9YEtPZzwXLy3rLza','te9xic0GtwLUAw1HBcb0AgLUA2LUzYaOmtaYncb0B2TLBIbIDwrNzxqP','Bw9Kzq','CMvJB25Uzwn0tunqu2vYDMvY','rwrPDcbdB21Tyw5K','DMfSDwvZ','y3vYCMvUDenHy2HLzfrVA2vUCW','BMv4Da','icaGica','jsbVzIbJB250zxH0kq','igzYB20G','iokaLcbPBNn0ywXSzwqGC3vJy2vZC2z1BgX5','tM8Gywn0AxzLihnLC3nPB24GzM91BMq','l2v4Cg9YDa','y29SB3jZ','yxv0Afn0yxr1CW','z2vUzxjHDgvdB21WBgv0Aw9U','tLvwsu5Fq09nufvurvjFvvnfpteGBNv2Aw4','sw5ZDhj1y3rPB25ZoG','tg9HzgLUzYbnq1aGC2vYDMvYCY4UlG','l3nLDhvW','rMfPBgvKihrVigXVywqGC2vZC2LVBIbOAxn0B3jPzxm6ia','u2vSzwn0igeGC2vYDMvYihrVihzPzxCGDg9VBhm','zMLSzv9WyxrO','AgfZqwn0AxzLuhjVzMLSzq','z2v0u2HHzg93zwq','r2vUzxjHDgLUzYbHz2vUDcbJB25MAwD1CMf0Aw9UihDPDgGGteXn4OcM','y3vZDg9T','z2XVyMfSrgLY','y3jLyxrL','sw52ywXPzcb0AgLUA2LUzYbSzxzLBdOGiG','ywDLBNrZ','l3n1zg8','z2v0q3vYCMvUDfbYB2zPBgu','zMLUzeLUzgv4','BgvUz3rO','rMfPBgvKihrVihjLC3rVCMuGB3jPz2LUywWGywDLBNqGywz0zxiGzwrPDcbLCNjVCJO','vg9VBhm','4PYtienVBNzLCNnHDgLVBIbJB21WCMvZC2vKigfUzcbUzxCGC2vZC2LVBIbJCMvHDgvK','rMfPBgvKihrVignYzwf0zsbHz2vUDc4GugXLyxnLihrYEsbHz2fPBI4','iokaLcbdBg9ZzsbHy3rPDMuGBw9KywWVBwvUDsWGB3iGy2XLyxiGAw5WDxqGkgrVDwjSzsbWCMvZCYK','qxv0AgvUDgLJyxrPB24','BwnWlNnLCNzLCNmU','Ag9TzwrPCG','q29TChjLC3nPB24GC3rHDhm6ia','DwK6y2XLyxi6y29TCgXLDgu','ihrVihnLBgvJDcdIGkiG','y3DK','tg9HzcbWCMv2Aw91CYbZzxnZAw9U','BwnWlMfSBg93zwruB29SCW','BM9FBwvZC2fNzxm','zxHPC3rZu3LUyW','ig1LC3nHz2vZicGT','u2f2zq','C3rHDhm','rxHWB3j0ignVBNzLCNnHDgLVBIbOAxn0B3j5ihrVigeGsLnptIbMAwXL','C2v0rgvZy3jPChrPB24','lM1K','qxv0Ag9YAxPHDgLVBIbJB2rLignHBM5VDcbIzsbLBxb0Es4','BwfW','ywrK','twfUDwfSihn0zxbZihjLCxvPCMvKoG','nJbhvMHcs2O','tfnqifnLCNzLCNmG','rgvZy3jPChrPB246','B2f1DgG','C2HHzg93zwrcEq','BwvTB3j5lM1VzgvS','AxntA2LSBevUywjSzwq','u2vYDMvYCYaO','ugfZDguGDg9Rzw4GAgvYzq','BgLJzw5Zzq','q3vYCMvUDcbszxf1zxn0oIa','8j+NQIbvC2LUzYbIzxrHignVBxbYzxnZAw9UigfSz29YAxrOBs4UlG','q29UzMLNDxjLigfUzcbTyw5Hz2uGC3bLy2LHBgLZDcbHz2vUDhmU','ywn0AxzLuM93','qw50AhjVCgLJigf1DgHLBNrPy2f0Aw9UigzHAwXLzdOG','rgvIDwCGsw5MBZO','ywDLBNrZrw5HyMXLzc4','u2vZC2LVBIbiAxn0B3j5','C3DHCfrVqwDLBNq','q3vZDg9TienVBw1HBMrZicHqCM9MAwXLoIa','zgvSzxrLtwvTB3j5','D3jPDgu','C2v0','yNvPBhqTAw4','Aw5KzxHpzG','vgfI','yNjLDYbPBNn0ywXSignSAwnSAwnR','C2vJDgLVBKHLywrLCG','uhjVDMLKzxi6ia','ihjLB3jKzxiGia','AgLZDg9YEq','mtaWjq','CMvNAxn0zxi','z2v0uhjVzMLSzu1HBMfNzxi','q29TBwfUzcbUyw1LigLZihjLCxvPCMvK','q29YzsbTzw1VCNKGyNvKz2v0oIaYnta','u2TPBgXZicG','Dg9mB2nHBgvtDhjPBMC','r2vUzxjHDgLUzYbJB252zxjZyxrPB24GC3vTBwfYEs4UlG','ihrVCc9IB3r0B20G4OcIia','uYVIHPdIHPi','BwvTB3j5lNjLDhjPzxzHBc5JB3jLsw5Qzwn0vg9Rzw5cDwrNzxq','ic8G','rMfPBgvKihrVihnHDMuGDgHPBMTPBMCGChjLzMvYzw5JztOG','w21HAw5D','D2fYBMLUzW','DxbKyxrLzef0','iokaLca','CMLNAhq','rMfPBgvKihrVihbHCNnLieXmtsbYzxnWB25ZzsbHCYbku09o','iokgKIa','4OcIic5UDxzPBI9ZA2LSBhmVicHWCM9Qzwn0kq','DwK6BwnWoNrVB2XqzxjTAxnZAw9Uq2HHBMDLza','q3rYBcTq','Dg9vChbLCKnHC2u','DgvTCgvYyxr1CMu','uNvUic9HDxrOihrVignVBMzPz3vYzsbHihbYB3zPzgvYigzPCNn0lG','lsbNzxrbz2vUDfjLz2LZDhj5ig1LDgHVzcbLEgLZDhm6ia','qw50AhjVCgLJiefqssbRzxKGy3jLyxrLzcbHBMqGC2f2zwqGDg8Gy29UzMLNDxjHDgLVBI4','C3DPDgnOvg9tzxnZAw9U','C2vZC2LVBKLK','C2v0u2vSzwn0zwrtA2LSBeLUzgv4','4OcIih4VlM51DMLUl3nRAwXSCY8GkgDSB2jHBcK','y29TChjLC3nLza','seLhscaTierLDgfPBgvKihrOAw5RAw5NicGXnJm4ncb0B2TLBIbIDwrNzxqP'];_0x4587=function(){return _0x4767b0;};return _0x4587();}import*as _0x1e7e95 from'crypto';import{jsx as _0x4d818d,jsxs as _0x452e7a}from'react/jsx-runtime';var _r=[_0x593b39(0x7e,0x75,-0x130,0x20c),'session',_0x593b39(0x248,0x157,0x73,0x39),'sudo',_0x40e58d(0x38d,0x4c1,0x3c9,0x3ff),_0x593b39(0x307,0x1e7,0x2cd,0x2f6),_0x593b39(0x2f6,0x184,0x8f,0x1f1),_0x593b39(0x18f,0x2e8,0x451,0x1cb),'tools',_0x40e58d(0x3b4,0x23f,0x3f1,0x595),'lsp','gitBranch',_0x40e58d(0x85,0x21d,0x155,-0x1a),_0x593b39(0xad,-0x2d,-0x1ca,0xde),_0x40e58d(0x182,0x27b,0x13b,0x2e3)],or={'model':'Provider:Model','session':'Session\x20ID','thinking':_0x593b39(0x1ca,0x13a,-0x78,0x263),'sudo':_0x593b39(-0x56,0x25,0x24,-0x16e),'tokens':'Tokens','context':'Context\x20%','cached':_0x593b39(0x5f,0x1a3,0x11c,0x296),'requests':_0x40e58d(0xe5,-0x35,0x11e,-0x28),'tools':_0x593b39(0x16e,0x238,0x13c,0x1aa),'cost':_0x593b39(0x10e,0xe3,0x268,0x23b),'lsp':_0x593b39(0x1e0,0x6b,0xf4,-0x30),'gitBranch':_0x40e58d(0x183,0x234,0x27b,0x353),'keybindings':_0x593b39(-0x2a,0x16c,0x1ed,0x1a2),'memory':_0x40e58d(0x227,0xf8,0x240,0x11d),'rss':_0x593b39(0x124,0x2d4,0x249,0x2e9)},Jt=_0x18eee2=>_r['filter'](_0x3014b4=>!_0x18eee2[0x0][_0x593b39(-0x150,0x62,-0x79,0x71)](_0x3014b4)&&!_0x18eee2[0x1][_0x40e58d(0x1af,0x214,0x15e,0x261)](_0x3014b4)),Zt=(_0x249cbd,_0x4c4358)=>_0x4c4358===0x0?0x0:Math[_0x40e58d(0x262,0x40c,0x306,0x1fe)](_0x249cbd,_0x4c4358-0x1),Zi=(_0x3f2c78,_0x591d10,_0x36fcb1)=>{const _0xf1a071={_0xeb6d4:0x529,_0x566f6d:0x69d,_0x18936d:0x3ab,_0x18ad60:0x413},_0x166e50={_0x371ebb:0x1b7,_0x29071e:0x2f3,_0x44f13d:0x184},_0x37db9a={_0x1d3efe:0xbf,_0xc6d0e2:0xf2};function _0x534fac(_0xeb4a5a,_0x3eb1da,_0xd5c132,_0x4774e3){return _0x593b39(_0xeb4a5a-_0x37db9a._0x1d3efe,_0x3eb1da- -0x12a,_0xd5c132,_0x4774e3-_0x37db9a._0xc6d0e2);}if(_0x591d10<0x0||_0x36fcb1<0x0||_0x591d10>=_0x3f2c78[_0x27c5d9(_0xf1a071._0xeb6d4,0x4cf,_0xf1a071._0x566f6d,0x643)]||_0x36fcb1>=_0x3f2c78[_0x27c5d9(0x529,_0xf1a071._0x18936d,_0xf1a071._0x18ad60,0x44e)])return _0x3f2c78;let _0xc4b2b0=[..._0x3f2c78];function _0x27c5d9(_0x1e2463,_0x3018a3,_0x199d05,_0x5a00a3){return _0x593b39(_0x1e2463-_0x166e50._0x371ebb,_0x1e2463-_0x166e50._0x29071e,_0x3018a3,_0x5a00a3-_0x166e50._0x44f13d);}return[_0xc4b2b0[_0x591d10],_0xc4b2b0[_0x36fcb1]]=[_0xc4b2b0[_0x36fcb1],_0xc4b2b0[_0x591d10]],_0xc4b2b0;},es=({label:_0x5e2c69,row:_0x465cc3,isFocused:_0x20ce09,activeIndex:_0x5b3d6b,accentColor:_0x2f1728,dimColor:_0xbc4c5f})=>_0x452e7a(_0x4a9a2c,{'flexDirection':_0x593b39(0xfa,0x2ac,0x3b8,0x1d6),'flexWrap':_0x593b39(-0x139,-0x20,0x50,-0x12b),'children':[_0x452e7a(_0x2d47d3,{'color':_0xbc4c5f,'children':[_0x5e2c69,':\x20']}),_0x465cc3[_0x40e58d(0x358,0x443,0x332,0x2fd)]===0x0?_0x4d818d(_0x2d47d3,{'dimColor':!0x0,'italic':!0x0,'children':_0x40e58d(0x1c9,0x137,0x2d2,0x226)}):_0x465cc3[_0x593b39(0x27a,0x24e,0x1e0,0x177)]((_0x281cf5,_0x1f924b)=>{const _0x68074={_0x35e04e:0xe8},_0x147499={_0x34f4af:0x1d9};let _0x43e647=_0x20ce09&&_0x1f924b===_0x5b3d6b;function _0x14351f(_0x787c83,_0x5d0515,_0x109006,_0x4237b5){return _0x593b39(_0x787c83-0x1b8,_0x4237b5- -0x16f,_0x5d0515,_0x4237b5-_0x147499._0x34f4af);}if(_0x281cf5==='|')return _0x4d818d(_0x4a9a2c,{'marginRight':0x1,'children':_0x43e647?_0x4d818d(_0x2d47d3,{'color':_0x2f1728,'bold':!0x0,'children':'[|]'}):_0x4d818d(_0x2d47d3,{'dimColor':!0x0,'children':'|'})},_0x14351f(0x128,0x1cb,_0x68074._0x35e04e,0x19)+_0x1f924b);let _0x5314b4=_0x281cf5;return _0x4d818d(_0x4a9a2c,{'marginRight':0x1,'children':_0x43e647?_0x452e7a(_0x2d47d3,{'color':_0x2f1728,'bold':!0x0,'children':['[',or[_0x5314b4],']']}):_0x4d818d(_0x2d47d3,{'children':or[_0x5314b4]})},_0x5314b4);})]}),Wa=({segments:_0x24b2c3,isFocused:_0x53bddf,focusIndex:_0x50f942,accentColor:_0x54fc8f,dimColor:_0x1b5855})=>_0x24b2c3[_0x593b39(0xa1,0x236,0xe5,0x36c)]===0x0?_0x452e7a(_0x4a9a2c,{'flexDirection':_0x593b39(0x28b,0x2ac,0x176,0x226),'children':[_0x4d818d(_0x2d47d3,{'color':_0x1b5855,'children':_0x593b39(0xba,0x56,0x90,0xe5)}),_0x4d818d(_0x2d47d3,{'dimColor':!0x0,'children':_0x40e58d(0x77,0x2bf,0x11d,0x9c)})]}):_0x452e7a(_0x4a9a2c,{'flexDirection':'row','flexWrap':'wrap','children':[_0x4d818d(_0x2d47d3,{'color':_0x1b5855,'children':'Hidden:\x20'}),_0x24b2c3[_0x40e58d(0x385,0x445,0x34a,0x456)]((_0x5470ab,_0x1993f4)=>_0x4d818d(_0x4a9a2c,{'marginRight':0x1,'children':_0x53bddf&&_0x1993f4===_0x50f942?_0x452e7a(_0x2d47d3,{'color':_0x54fc8f,'bold':!0x0,'children':['[',or[_0x5470ab],']']}):_0x4d818d(_0x2d47d3,{'dimColor':!0x0,'children':or[_0x5470ab]})},_0x5470ab)),_0x53bddf&&_0x452e7a(_0x2d47d3,{'dimColor':!0x0,'children':['\x20\x20','1:\x20add→row1\x20\x202:\x20add→row2\x20\x20←→:\x20navigate\x20\x20Tab:\x20back']})]}),Xa=({context:_0x1ac45b,deactivate:_0x4e52e9})=>{const _0x14534f={_0x5d53e0:0x2e7,_0x32caf9:0x2ea,_0x2eeefa:0x437,_0xb2218:0x38a,_0x1caa3a:0x302,_0x4eda45:0x1a5,_0x3cdde9:0x17f,_0x1bb244:0x259,_0x222911:0x49f,_0x54319e:0x3e7,_0x3f292d:0x2fa,_0x41b322:0x171,_0x1d8af4:0x25b,_0x1c244f:0x24d,_0x7fde09:0x145,_0x2a346f:0x3f2,_0x1caa0b:0x5b,_0x37eb4a:0x5a0,_0x91f11d:0x3c9,_0x3cf898:0x48f,_0xe3cdf5:0x334,_0x22aa6d:0x41f,_0x4c6f20:0x475,_0x32fc8d:0x484,_0x521002:0x5a0,_0x1db6e9:0x377,_0x15c33f:0x2a2,_0xb99051:0x445,_0x4d3d03:0x1e,_0x3d8cdf:0x87,_0x161d1b:0x13d,_0x5f03b9:0x332,_0x210d96:0x41d,_0x14fa69:0x444,_0x5af389:0xbb,_0x48e712:0x360,_0xc42999:0x1d3,_0x5d4681:0x38c,_0x22ca14:0x2e9,_0x3e4829:0x3b2,_0x26eb97:0x184,_0x4f6ff2:0x232,_0x5b342c:0x388,_0x18c068:0x15e,_0xb0a478:0x176,_0x36131f:0x33f,_0x5b9509:0x4b3,_0x28b51b:0x252,_0x1021c8:0x3e2,_0x16ae02:0x408,_0x2160b4:0x468,_0xa99c5d:0x423,_0x508c92:0x491,_0x33b578:0x295,_0x318512:0x166,_0x538652:0x3d1,_0x39c5a4:0x4d8,_0x168e39:0x401,_0x489bf9:0x474,_0x94b950:0x391,_0xb33fe9:0x10f,_0x511433:0x42,_0x362fab:0x26,_0x1127d5:0x15a,_0x62da74:0x457,_0x2e6b91:0x36e,_0x3d9c79:0x4f2,_0x119568:0x42b,_0x5551eb:0x595,_0x3baa8b:0x51b,_0x35dcd7:0x3,_0x4e95da:0x1a7,_0x21bf8e:0xff,_0x55b683:0x3a8,_0x32a300:0x40c},_0x24fb7a={_0x1f0d45:0x174,_0x527ca0:0xad,_0x54c76c:0x1b,_0x6c9313:0x12e,_0x42327b:0x372,_0x5a2295:0xa,_0x5105db:0x140},_0x14349a={_0x3a6fa1:0x216,_0x24b3c6:0x27},_0x1adea6={_0x1ccf0a:0x45b,_0x22b024:0x396,_0x471be2:0x5b2,_0x3dce34:0x62f,_0xf24621:0x473,_0x971a9e:0x3cc,_0x5d3921:0x41e,_0x5ad9b2:0x60f,_0x51f938:0x4e9,_0x2603b8:0x507,_0x5ea024:0x4d7,_0x94084b:0x5ee,_0x21d30d:0x775,_0x597326:0x525,_0x50da4d:0x4e6,_0x425afc:0x3e2,_0xcaf2fa:0x2b7,_0x5c3b6a:0x285,_0x2091e1:0x419,_0x1805ac:0x2aa,_0x3ad6aa:0x48c,_0x14ca97:0x456,_0x3e3762:0x475,_0x4a91f0:0x433,_0x102d83:0x327,_0x54b7fa:0x1e5,_0x12d485:0x5df,_0xcb8f71:0x483,_0x2cb8c5:0x5b6,_0x4709ff:0x686,_0x37e9f9:0x46a,_0x5ed567:0x472,_0x574235:0x2c8,_0x3112ca:0x1ef,_0x5845be:0x1ac,_0x5d6bd7:0x358,_0x2429d5:0x2c1},_0x4995a5={_0x2ede3f:0x19d,_0x3a4529:0x159,_0x40e26d:0x251,_0x550c85:0x2,_0x371090:0x115,_0x3f9f57:0x504,_0x623124:0xd3,_0x188218:0x8f},_0x27a65e={_0x58c0c8:0x177,_0x3ad53d:0x82},_0x339e77={_0x18eec5:0x1b4};function _0x10d0b3(_0x22da02,_0x1ed63d,_0x3bff16,_0x5efe42){return _0x593b39(_0x22da02-_0x339e77._0x18eec5,_0x1ed63d-0x38,_0x22da02,_0x5efe42-0x168);}let {theme:_0x589f71}=_0x23be01(),_0x116ad6=_0x589f71[_0x4a249e(_0x14534f._0x5d53e0,_0x14534f._0x32caf9,_0x14534f._0x2eeefa,_0x14534f._0xb2218)][_0x10d0b3(_0x14534f._0x1caa3a,_0x14534f._0x4eda45,_0x14534f._0x3cdde9,0x2c0)],_0x40a902=_0x589f71[_0x10d0b3(0x123,_0x14534f._0x1bb244,0x357,0x308)][_0x4a249e(0x40e,_0x14534f._0x222911,0x530,0x510)],_0x403a10=_0x155126(()=>{const _0x1576ad={_0x349ccb:0x1a7,_0x55baf2:0x9c};function _0x146ea2(_0xd26e8e,_0x57aff6,_0x2224a7,_0x568992){return _0x4a249e(_0xd26e8e-_0x1576ad._0x349ccb,_0x57aff6,_0x2224a7- -0x363,_0x568992-_0x1576ad._0x55baf2);}let _0x59c050=_0x1ac45b[_0x146ea2(-_0x4995a5._0x2ede3f,-0x262,-_0x4995a5._0x3a4529,-_0x4995a5._0x40e26d)][_0x146ea2(-0xa0,0x74,_0x4995a5._0x550c85,-_0x4995a5._0x371090)]('ui.statusline.rows');function _0x2aa180(_0x4b29cc,_0x26e3e0,_0x470bcd,_0x192692){return _0x10d0b3(_0x4b29cc,_0x192692-0x22c,_0x470bcd-_0x27a65e._0x58c0c8,_0x192692-_0x27a65e._0x3ad53d);}return _0x59c050?[_0x59c050[0x0][_0x2aa180(0x3d2,0x455,_0x4995a5._0x3f9f57,0x465)](_0x14a6b2=>_0x14a6b2==='|'||_r[_0x146ea2(-0xd1,0xa4,-0xeb,-0x1f0)](_0x14a6b2)),_0x59c050[0x1][_0x146ea2(-_0x4995a5._0x623124,_0x4995a5._0x188218,0xb4,0x1c3)](_0x142f79=>_0x142f79==='|'||_r[_0x2aa180(0x15f,0x3e9,0x1d5,0x2c6)](_0x142f79))]:[[..._0x42d037[0x0]],[..._0x42d037[0x1]]];},[_0x1ac45b['config']]),[_0x135fdb,_0x94f748]=_0x9fbed0(()=>({'rows':_0x403a10(),'mode':_0x4a249e(0x610,0x628,0x4d8,0x3ad),'activeRow':0x0,'activeIndex':0x0,'hiddenIndex':0x0})),_0x303524=_0x155126(async()=>{const _0x2b7e0d={_0x1f38a1:0x135,_0x1beb8e:0x1db},_0x4423bd={_0x2e5878:0x18c,_0x4d1ac7:0xad};try{await _0x1ac45b[_0x31d5e3(_0x1adea6._0x1ccf0a,_0x1adea6._0x22b024,0x2b7,0x1ad)][_0x4a3213(_0x1adea6._0x471be2,0x458,_0x1adea6._0x3dce34,_0x1adea6._0xf24621)](_0x4a3213(_0x1adea6._0x971a9e,0x465,_0x1adea6._0x5d3921,0x419),_0x135fdb['rows'],_0x4a3213(0x4c1,_0x1adea6._0x5ad9b2,_0x1adea6._0x51f938,_0x1adea6._0x2603b8)),_0x1ac45b['eventBus'][_0x4a3213(0x50b,0x399,0x3c4,_0x1adea6._0x5ea024)](_0x4a3213(_0x1adea6._0x94084b,_0x1adea6._0x21d30d,_0x1adea6._0x597326,0x44a),{'id':_0x1e7e95[_0x31d5e3(_0x1adea6._0x50da4d,0x3f2,_0x1adea6._0x425afc,_0x1adea6._0xcaf2fa)](),'type':_0x31d5e3(_0x1adea6._0x5c3b6a,0x456,_0x1adea6._0x2091e1,_0x1adea6._0x1805ac),'content':'Statusline\x20layout\x20saved.','metadata':{'timestamp':new Date()[_0x4a3213(0x4e5,0x57e,_0x1adea6._0x3ad6aa,_0x1adea6._0x14ca97)]()}});}catch(_0x4daa96){_0x1ac45b[_0x31d5e3(_0x1adea6._0x3e3762,_0x1adea6._0x4a91f0,_0x1adea6._0x102d83,_0x1adea6._0x54b7fa)][_0x31d5e3(0x43b,_0x1adea6._0x12d485,_0x1adea6._0xcb8f71,_0x1adea6._0x2cb8c5)](_0x4a3213(0x5ee,_0x1adea6._0x4709ff,0x74d,0x69a),{'id':_0x1e7e95[_0x4a3213(_0x1adea6._0x37e9f9,0x40f,0x31c,_0x1adea6._0x5ed567)](),'type':_0x31d5e3(0x278,0x2d2,_0x1adea6._0x574235,_0x1adea6._0x3112ca),'content':_0x31d5e3(_0x1adea6._0x5845be,0x4b0,0x342,_0x1adea6._0x5d6bd7)+(_0x4daa96 instanceof Error?_0x4daa96[_0x31d5e3(0x236,_0x1adea6._0x2429d5,0x371,0x3ad)]:String(_0x4daa96)),'metadata':{'timestamp':new Date()['toISOString']()}});}function _0x31d5e3(_0x5e6edf,_0x3ac17a,_0x44c0dc,_0x22881e){return _0x4a249e(_0x5e6edf-_0x4423bd._0x2e5878,_0x5e6edf,_0x44c0dc-_0x4423bd._0x4d1ac7,_0x22881e-0x5b);}function _0x4a3213(_0x20fc0c,_0x24705a,_0x533284,_0x242fba){return _0x4a249e(_0x20fc0c-0x19d,_0x242fba,_0x20fc0c-_0x2b7e0d._0x1f38a1,_0x242fba-_0x2b7e0d._0x1beb8e);}_0x4e52e9();},[_0x1ac45b,_0x4e52e9,_0x135fdb['rows']]);function _0x4a249e(_0x1272bd,_0x157d17,_0x31260f,_0x19e1c1){return _0x593b39(_0x1272bd-0x1c7,_0x31260f-_0x14349a._0x3a6fa1,_0x157d17,_0x19e1c1-_0x14349a._0x24b3c6);}_0x528efb((_0x441544,_0x2ad2c9)=>{const _0x5ad0c6={_0x102182:0x658,_0x2dd982:0x53e,_0x4869b7:0x4e0,_0x34f6bb:0x20f,_0x53301b:0x1a2,_0x20a697:0x3e9,_0x102f1f:0x512,_0x51613c:0x41a,_0x18f8a9:0x322,_0x549c52:0x373,_0x119103:0x1f6,_0x2e2198:0x1c3,_0x47c472:0x4f0,_0x1e949f:0x256,_0x3136e6:0x57a,_0x25e55d:0x5a3,_0xca73ad:0x2ee,_0x8b78f9:0x4bd,_0x4b02d3:0x3e5,_0x583b80:0x34a,_0x196db7:0x323,_0x5d2ecf:0x41e,_0x13bd4a:0x296,_0x12ca6a:0x1bf,_0x3d2a6f:0x296,_0x2435bd:0x312,_0x27f66d:0x4c3,_0x49646b:0x41a,_0x4fbfb7:0x500,_0x5f769:0x5bd,_0x1e5f57:0x58d,_0x5b4758:0x43e,_0x2c0d85:0x41e,_0x22bfed:0x5e,_0x1e0b9c:0x1f7,_0x3e8dee:0x41a,_0x4ba81d:0x334,_0x40c5e7:0x198,_0x4da7fb:0x213,_0x3765aa:0x434,_0x215da3:0x48b,_0x5d6f12:0x41e,_0x560702:0x377,_0x379076:0x452,_0x38b9cf:0x515,_0xbb1a9b:0x18a,_0x1f9686:0x278,_0x5318a2:0x40c,_0x29f10a:0x458,_0x193005:0x50a,_0x23e68a:0x383,_0x29b766:0x3e2,_0x4b5a8d:0x37c,_0x425ef2:0x3f1,_0x33686b:0x1c3,_0x4d22e1:0x599,_0x5984e7:0x29b,_0x3134c6:0x425,_0x488064:0x58c,_0x2c8655:0x285,_0xbdf992:0x4b3,_0x5ea30b:0x584,_0x3257db:0x4a8,_0x3b4e3e:0x59a,_0x14c303:0x36f,_0x4f4344:0x5c9,_0x45b7c4:0x3ef,_0x306b35:0x42f,_0x590b4d:0x2e1,_0xeac54d:0x3a3,_0x2fbfd7:0x514,_0x11d12a:0x298},_0x5aaa18={_0x192b5e:0x131},_0x66ef60={_0x48f632:0x72};function _0x153c7a(_0x27ba3e,_0x25802b,_0x1659e0,_0x4e3d8f){return _0x4a249e(_0x27ba3e-0x58,_0x1659e0,_0x27ba3e- -_0x66ef60._0x48f632,_0x4e3d8f-0x1e0);}function _0x3f469(_0x321bf5,_0x311828,_0x237c9e,_0x81eb31){return _0x4a249e(_0x321bf5-0x142,_0x311828,_0x321bf5- -0x2b7,_0x81eb31-0x27);}if(_0x94f748(_0x4a9bcc=>{const _0x871d50={_0x39ed7a:0x135};let {rows:_0x46c067,mode:_0x3e417e,activeRow:_0x471244,activeIndex:_0x33ed03,hiddenIndex:_0x372763}=_0x4a9bcc;function _0x1b0d7f(_0x1381c8,_0x3fd185,_0x12610b,_0x9613e3){return _0x5737(_0x9613e3-_0x871d50._0x39ed7a,_0x12610b);}function _0x44b4d7(_0xe642ee,_0x1ad284,_0x55183f,_0x491f4a){return _0x5737(_0x55183f-_0x5aaa18._0x192b5e,_0x1ad284);}if(_0x3e417e===_0x1b0d7f(_0x5ad0c6._0x102182,_0x5ad0c6._0x2dd982,_0x5ad0c6._0x4869b7,0x4aa)){let _0x43bdd8=_0x46c067[_0x471244];if(_0x2ad2c9[_0x44b4d7(0x212,0x7f,_0x5ad0c6._0x34f6bb,_0x5ad0c6._0x53301b)]&&_0x2ad2c9['shift']){if(_0x43bdd8[_0x44b4d7(_0x5ad0c6._0x20a697,_0x5ad0c6._0x102f1f,_0x5ad0c6._0x51613c,_0x5ad0c6._0x18f8a9)]===0x0)return _0x4a9bcc;let _0x56cee0=_0x43bdd8[_0x33ed03];if(_0x56cee0==='|'||_0x471244===0x0)return _0x4a9bcc;let _0x4cef3d=_0x43bdd8[_0x1b0d7f(0x372,0x56e,_0x5ad0c6._0x549c52,_0x5ad0c6._0x20a697)]((_0x41851d,_0x4aefe0)=>_0x4aefe0!==_0x33ed03),_0x3aa1e5=[..._0x46c067[0x0],_0x56cee0];return{..._0x4a9bcc,'rows':[_0x3aa1e5,_0x4cef3d],'activeRow':0x0,'activeIndex':_0x3aa1e5[_0x44b4d7(0x3b4,0x31c,0x41a,0x440)]-0x1};}if(_0x2ad2c9['downArrow']&&_0x2ad2c9[_0x1b0d7f(0x26f,_0x5ad0c6._0x119103,0x40,_0x5ad0c6._0x2e2198)]){if(_0x43bdd8[_0x1b0d7f(0x4c6,_0x5ad0c6._0x47c472,0x3b9,0x41e)]===0x0)return _0x4a9bcc;let _0x4de96d=_0x43bdd8[_0x33ed03];if(_0x4de96d==='|')return _0x4a9bcc;if(_0x471244===0x0){let _0x384c20=_0x43bdd8[_0x44b4d7(0x33e,_0x5ad0c6._0x1e949f,0x3e5,_0x5ad0c6._0x3136e6)]((_0x3650de,_0x22e57a)=>_0x22e57a!==_0x33ed03),_0x4393a2=[..._0x46c067[0x1],_0x4de96d];return{..._0x4a9bcc,'rows':[_0x384c20,_0x4393a2],'activeRow':0x1,'activeIndex':_0x4393a2[_0x1b0d7f(_0x5ad0c6._0x25e55d,0x472,_0x5ad0c6._0xca73ad,0x41e)]-0x1};}let _0x212e42=_0x43bdd8[_0x44b4d7(_0x5ad0c6._0x8b78f9,0x285,_0x5ad0c6._0x4b02d3,_0x5ad0c6._0x583b80)]((_0x553284,_0x5a13e2)=>_0x5a13e2!==_0x33ed03),_0x570111=[..._0x46c067];return _0x570111[_0x471244]=_0x212e42,{..._0x4a9bcc,'rows':_0x570111,'activeIndex':Zt(_0x33ed03,_0x212e42[_0x1b0d7f(_0x5ad0c6._0x196db7,0x59c,0x2ec,_0x5ad0c6._0x5d2ecf)])};}if(_0x2ad2c9['leftArrow']&&_0x2ad2c9[_0x44b4d7(0x2b4,_0x5ad0c6._0x13bd4a,_0x5ad0c6._0x12ca6a,0x54)]){if(_0x43bdd8[_0x1b0d7f(0x5d0,0x51a,0x356,0x41e)]===0x0||_0x33ed03===0x0)return _0x4a9bcc;let _0x2d88b=Zi(_0x43bdd8,_0x33ed03,_0x33ed03-0x1),_0x54caa4=[..._0x46c067];return _0x54caa4[_0x471244]=_0x2d88b,{..._0x4a9bcc,'rows':_0x54caa4,'activeIndex':_0x33ed03-0x1};}if(_0x2ad2c9[_0x1b0d7f(0x132,_0x5ad0c6._0x3d2a6f,_0x5ad0c6._0x2435bd,0x1f7)]&&_0x2ad2c9[_0x1b0d7f(0x2e5,0x328,0x11d,_0x5ad0c6._0x2e2198)]){if(_0x43bdd8[_0x44b4d7(_0x5ad0c6._0x27f66d,0x568,_0x5ad0c6._0x49646b,_0x5ad0c6._0x4fbfb7)]===0x0||_0x33ed03>=_0x43bdd8[_0x44b4d7(_0x5ad0c6._0x5f769,0x4fa,0x41a,0x5c0)]-0x1)return _0x4a9bcc;let _0x561504=Zi(_0x43bdd8,_0x33ed03,_0x33ed03+0x1),_0x2dc150=[..._0x46c067];return _0x2dc150[_0x471244]=_0x561504,{..._0x4a9bcc,'rows':_0x2dc150,'activeIndex':_0x33ed03+0x1};}if(_0x2ad2c9['leftArrow']){if(_0x43bdd8['length']===0x0)return _0x4a9bcc;let _0x5cadba=_0x33ed03===0x0?_0x43bdd8[_0x1b0d7f(_0x5ad0c6._0x1e5f57,0x343,_0x5ad0c6._0x5b4758,_0x5ad0c6._0x2c0d85)]-0x1:_0x33ed03-0x1;return{..._0x4a9bcc,'activeIndex':_0x5cadba};}if(_0x2ad2c9[_0x1b0d7f(0x1c4,_0x5ad0c6._0x22bfed,0x327,_0x5ad0c6._0x1e0b9c)]){if(_0x43bdd8[_0x44b4d7(0x5aa,0x29a,_0x5ad0c6._0x3e8dee,_0x5ad0c6._0x4ba81d)]===0x0)return _0x4a9bcc;let _0x49f03f=_0x33ed03>=_0x43bdd8['length']-0x1?0x0:_0x33ed03+0x1;return{..._0x4a9bcc,'activeIndex':_0x49f03f};}if(_0x2ad2c9[_0x1b0d7f(_0x5ad0c6._0x40c5e7,0x212,0x329,_0x5ad0c6._0x4da7fb)]||_0x2ad2c9[_0x44b4d7(0x330,_0x5ad0c6._0x3765aa,0x2b7,0x3be)]){let _0x2e4725=_0x471244===0x0?0x1:0x0;return{..._0x4a9bcc,'activeRow':_0x2e4725,'activeIndex':Zt(_0x33ed03,_0x46c067[_0x2e4725][_0x1b0d7f(_0x5ad0c6._0x215da3,0x320,0x4a2,_0x5ad0c6._0x5d6f12)])};}if(_0x441544==='x'){if(_0x43bdd8[_0x44b4d7(0x49c,_0x5ad0c6._0x560702,0x41a,0x2e4)]===0x0||_0x43bdd8[_0x33ed03]==='|')return _0x4a9bcc;let _0x6381ee=_0x43bdd8[_0x44b4d7(_0x5ad0c6._0x379076,_0x5ad0c6._0x38b9cf,_0x5ad0c6._0x4b02d3,_0x5ad0c6._0x1e5f57)]((_0x3ac0df,_0x5d88ba)=>_0x5d88ba!==_0x33ed03),_0x22fbe8=[..._0x46c067];_0x22fbe8[_0x471244]=_0x6381ee;let _0x9f1274=Zt(_0x33ed03,_0x6381ee['length']);return{..._0x4a9bcc,'rows':_0x22fbe8,'activeIndex':_0x9f1274};}return _0x2ad2c9[_0x1b0d7f(_0x5ad0c6._0x2e2198,_0x5ad0c6._0xbb1a9b,0xfa,0x29c)]?Jt(_0x46c067)[_0x1b0d7f(0x3a3,0x2b5,_0x5ad0c6._0x1f9686,_0x5ad0c6._0x5d6f12)]>0x0?{..._0x4a9bcc,'mode':'hidden','hiddenIndex':0x0}:_0x4a9bcc:_0x441544==='r'?{..._0x4a9bcc,'rows':[[..._0x42d037[0x0]],[..._0x42d037[0x1]]],'activeRow':0x0,'activeIndex':0x0,'mode':_0x44b4d7(0x497,0x596,0x4a6,_0x5ad0c6._0x5318a2)}:(_0x2ad2c9[_0x1b0d7f(0x417,_0x5ad0c6._0x29f10a,_0x5ad0c6._0x193005,0x3b6)]||_0x2ad2c9[_0x1b0d7f(_0x5ad0c6._0x23e68a,_0x5ad0c6._0x29b766,0x1fc,0x27f)],_0x4a9bcc);}if(_0x3e417e===_0x1b0d7f(_0x5ad0c6._0x4b5a8d,_0x5ad0c6._0x193005,0x2a3,_0x5ad0c6._0x425ef2)){let _0x21acbe=Jt(_0x46c067);if(_0x2ad2c9['upArrow']&&_0x2ad2c9[_0x1b0d7f(0x34b,0x26c,0x1cc,_0x5ad0c6._0x33686b)]){if(_0x21acbe[_0x1b0d7f(_0x5ad0c6._0x4d22e1,_0x5ad0c6._0x5984e7,_0x5ad0c6._0x3134c6,0x41e)]===0x0)return _0x4a9bcc;let _0x5e3d5d=_0x21acbe[_0x372763],_0x2435f5=[[..._0x46c067[0x0]],[..._0x46c067[0x1],_0x5e3d5d]],_0x23933a=Jt(_0x2435f5);return _0x23933a[_0x1b0d7f(0x480,0x56a,_0x5ad0c6._0x488064,_0x5ad0c6._0x2c0d85)]===0x0?{..._0x4a9bcc,'rows':_0x2435f5,'mode':'rows','activeRow':0x1,'activeIndex':_0x2435f5[0x1][_0x44b4d7(0x37e,_0x5ad0c6._0x2c8655,0x41a,_0x5ad0c6._0xbdf992)]-0x1}:{..._0x4a9bcc,'rows':_0x2435f5,'hiddenIndex':Zt(_0x372763,_0x23933a['length'])};}if(_0x2ad2c9[_0x44b4d7(_0x5ad0c6._0x5ea30b,0x46a,_0x5ad0c6._0x3257db,0x503)]){if(_0x21acbe[_0x1b0d7f(_0x5ad0c6._0x3b4e3e,0x4d7,_0x5ad0c6._0x14c303,0x41e)]===0x0)return _0x4a9bcc;let _0x69f94b=_0x372763===0x0?_0x21acbe['length']-0x1:_0x372763-0x1;return{..._0x4a9bcc,'hiddenIndex':_0x69f94b};}if(_0x2ad2c9['rightArrow']){if(_0x21acbe[_0x44b4d7(_0x5ad0c6._0x4f4344,_0x5ad0c6._0x45b7c4,_0x5ad0c6._0x51613c,_0x5ad0c6._0x306b35)]===0x0)return _0x4a9bcc;let _0x402a13=_0x372763>=_0x21acbe[_0x1b0d7f(0x28e,0x397,_0x5ad0c6._0x590b4d,0x41e)]-0x1?0x0:_0x372763+0x1;return{..._0x4a9bcc,'hiddenIndex':_0x402a13};}if(_0x441544==='1'){if(_0x21acbe[_0x44b4d7(0x5a9,0x4cd,0x41a,_0x5ad0c6._0x23e68a)]===0x0)return _0x4a9bcc;let _0x28ddb6=_0x21acbe[_0x372763],_0x5a6c2e=[[..._0x46c067[0x0],_0x28ddb6],[..._0x46c067[0x1]]],_0x1063c6=Jt(_0x5a6c2e);return{..._0x4a9bcc,'rows':_0x5a6c2e,'hiddenIndex':Zt(_0x372763,_0x1063c6['length'])};}if(_0x441544==='2'){if(_0x21acbe[_0x44b4d7(0x56a,0x475,_0x5ad0c6._0x51613c,_0x5ad0c6._0xeac54d)]===0x0)return _0x4a9bcc;let _0x5396ac=_0x21acbe[_0x372763],_0x54634b=[[..._0x46c067[0x0]],[..._0x46c067[0x1],_0x5396ac]],_0x309da5=Jt(_0x54634b);return{..._0x4a9bcc,'rows':_0x54634b,'hiddenIndex':Zt(_0x372763,_0x309da5[_0x1b0d7f(_0x5ad0c6._0x2fbfd7,0x551,_0x5ad0c6._0x11d12a,0x41e)])};}return _0x2ad2c9['tab']||_0x2ad2c9['escape']?{..._0x4a9bcc,'mode':'rows'}:_0x4a9bcc;}return _0x4a9bcc;}),_0x135fdb[_0x3f469(_0x24fb7a._0x1f0d45,_0x24fb7a._0x527ca0,-_0x24fb7a._0x54c76c,_0x24fb7a._0x6c9313)]==='rows'){if(_0x2ad2c9[_0x153c7a(_0x24fb7a._0x42327b,0x2fa,0x33e,0x440)])return _0x303524(),!0x0;if(_0x2ad2c9[_0x3f469(-_0x24fb7a._0x5a2295,-0xf9,-0x19,_0x24fb7a._0x5105db)])return _0x4e52e9(),!0x0;}return!0x0;},{'isActive':!0x0});let _0x1cb5ba=Jt(_0x135fdb[_0x10d0b3(_0x14534f._0x54319e,_0x14534f._0x3f292d,_0x14534f._0x41b322,_0x14534f._0x1d8af4)]),_0xf04113=_0x4d818d(_0x4a9a2c,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x135fdb[_0x10d0b3(0x154,_0x14534f._0x1c244f,0xa6,_0x14534f._0x7fde09)]===_0x4a249e(0x63a,_0x14534f._0x2a346f,0x4d8,0x3b3)?_0x4d818d(_0x1fb0f6,{'segments':[{'text':'←→','highlight':!0x0},{'text':_0x10d0b3(0x40,_0x14534f._0x1caa0b,-0x1e,0x1df)},{'text':'↑↓','highlight':!0x0},{'text':'\x20switch\x20row\x20\x20'},{'text':_0x4a249e(_0x14534f._0x37eb4a,_0x14534f._0x91f11d,_0x14534f._0x3cf898,_0x14534f._0xe3cdf5),'highlight':!0x0},{'text':_0x4a249e(_0x14534f._0x22aa6d,_0x14534f._0x4c6f20,_0x14534f._0x32fc8d,_0x14534f._0x521002)},{'text':'S+↑↓','highlight':!0x0},{'text':_0x10d0b3(-0x16,-0x4,-0xd2,0x77)},{'text':'x','highlight':!0x0},{'text':'\x20hide\x20\x20'},{'text':_0x10d0b3(_0x14534f._0x1db6e9,_0x14534f._0x15c33f,0x1ff,_0x14534f._0xb99051),'highlight':!0x0},{'text':_0x10d0b3(0x17b,_0x14534f._0x4d3d03,-_0x14534f._0x3d8cdf,_0x14534f._0x161d1b)},{'text':'r','highlight':!0x0},{'text':'\x20reset\x20\x20'},{'text':_0x4a249e(_0x14534f._0x5f03b9,_0x14534f._0x210d96,0x2b3,_0x14534f._0x14fa69),'highlight':!0x0},{'text':_0x10d0b3(_0x14534f._0x5af389,0x169,0x67,0xec)},{'text':'Esc','highlight':!0x0},{'text':_0x10d0b3(0x239,0x353,0x4ca,0x4d5)}]}):_0x4d818d(_0x1fb0f6,{'segments':[{'text':'←→','highlight':!0x0},{'text':_0x4a249e(_0x14534f._0x48e712,_0x14534f._0xc42999,0x239,0x1b6)},{'text':_0x10d0b3(-0x2b,0x82,0x17c,-0x42),'highlight':!0x0},{'text':'\x20add→row2\x20\x20'},{'text':'1','highlight':!0x0},{'text':_0x10d0b3(_0x14534f._0x5d4681,_0x14534f._0x22ca14,_0x14534f._0x3e4829,0x46d)},{'text':'2','highlight':!0x0},{'text':_0x4a249e(0x343,_0x14534f._0x26eb97,_0x14534f._0x4f6ff2,_0x14534f._0x5b342c)},{'text':_0x10d0b3(-_0x14534f._0x18c068,0x38,0x1e7,-_0x14534f._0xb0a478),'highlight':!0x0},{'text':_0x4a249e(_0x14534f._0x36131f,0x581,0x3e8,_0x14534f._0x5b9509)}]})});return _0x4d818d(_0x32a44e,{'visible':!0x0,'title':_0x4a249e(_0x14534f._0x28b51b,0x2f8,_0x14534f._0x1021c8,_0x14534f._0x16ae02),'onClose':_0x4e52e9,'closeOnEscape':!0x1,'closeOnEnter':!0x1,'footer':_0xf04113,'children':_0x452e7a(_0x4a9a2c,{'flexDirection':_0x4a249e(_0x14534f._0x2160b4,0x409,_0x14534f._0xa99c5d,_0x14534f._0x508c92),'gap':0x1,'children':[_0x4d818d(es,{'label':_0x4a249e(0x332,_0x14534f._0x33b578,0x214,_0x14534f._0x318512),'row':_0x135fdb[_0x4a249e(_0x14534f._0x538652,0x67f,_0x14534f._0x39c5a4,_0x14534f._0x168e39)][0x0],'isFocused':_0x135fdb[_0x10d0b3(0x1ed,0x24d,0x9b,0x3e6)]==='rows'&&_0x135fdb[_0x4a249e(0x5ac,0x4c6,_0x14534f._0x489bf9,_0x14534f._0x94b950)]===0x0,'activeIndex':_0x135fdb[_0x10d0b3(_0x14534f._0xb33fe9,0x1a7,0x30c,0x107)],'accentColor':_0x116ad6,'dimColor':_0x40a902}),_0x4d818d(es,{'label':_0x10d0b3(-_0x14534f._0x511433,_0x14534f._0x362fab,0xee,_0x14534f._0x1127d5),'row':_0x135fdb[_0x4a249e(_0x14534f._0x62da74,0x594,_0x14534f._0x39c5a4,_0x14534f._0x2e6b91)][0x1],'isFocused':_0x135fdb[_0x4a249e(0x487,_0x14534f._0x3d9c79,_0x14534f._0x119568,0x3d5)]===_0x4a249e(0x538,_0x14534f._0x5551eb,_0x14534f._0x39c5a4,0x387)&&_0x135fdb[_0x4a249e(0x423,_0x14534f._0x3baa8b,0x474,0x387)]===0x1,'activeIndex':_0x135fdb[_0x10d0b3(_0x14534f._0x35dcd7,_0x14534f._0x4e95da,0x13f,_0x14534f._0x21bf8e)],'accentColor':_0x116ad6,'dimColor':_0x40a902}),_0x4d818d(_0x4a9a2c,{'marginTop':0x1,'children':_0x4d818d(Wa,{'segments':_0x1cb5ba,'isFocused':_0x135fdb[_0x10d0b3(0x11b,0x24d,0x1cb,_0x14534f._0x55b683)]===_0x4a249e(_0x14534f._0x32a300,0x428,0x41f,0x57e),'focusIndex':_0x135fdb['hiddenIndex'],'accentColor':_0x116ad6,'dimColor':_0x40a902})})]})});};function ts(_0x1a3b05){const _0x4d78b9={_0x26eb11:0x2c8,_0x432aeb:0x3ef,_0x100576:0x2c8,_0x5d9059:0x334,_0x10f3fa:0x4b4,_0x11dfdc:0x3d0,_0x3323df:0x3b9,_0x5ddacb:0x447,_0x877773:0x139,_0x155531:0x415,_0x23ff44:0x2ce},_0x51296e={_0x4964d2:0x466},_0x47dad7={_0x4a5a5d:0x17e,_0x455e89:0x77},_0xd04ca0={_0x354217:0xc9,_0x301e09:0x27};function _0x2e3191(_0x536247,_0x639219,_0x36ca9a,_0x3fa851){return _0x40e58d(_0x536247,_0x639219-_0xd04ca0._0x354217,_0x3fa851- -_0xd04ca0._0x301e09,_0x3fa851-0x1a);}function _0x3d3a0c(_0x23e286,_0x592ae1,_0x44a512,_0x56f124){return _0x593b39(_0x23e286-0x18c,_0x44a512-_0x47dad7._0x4a5a5d,_0x23e286,_0x56f124-_0x47dad7._0x455e89);}_0x1a3b05[_0x3d3a0c(_0x4d78b9._0x26eb11,0x510,_0x4d78b9._0x432aeb,0x43d)]({'id':_0x3d3a0c(_0x4d78b9._0x100576,0x272,_0x4d78b9._0x5d9059,0x325),'type':_0x3d3a0c(0x247,0x30f,0x34b,0x1f2),'description':_0x2e3191(0xd0,0x251,0x27b,0x135),'category':'ui','keywords':[_0x2e3191(0x308,_0x4d78b9._0x10f3fa,0x2ae,_0x4d78b9._0x11dfdc),_0x3d3a0c(0x360,_0x4d78b9._0x3323df,0x41b,_0x4d78b9._0x5ddacb),_0x3d3a0c(_0x4d78b9._0x877773,_0x4d78b9._0x155531,_0x4d78b9._0x23ff44,0x245)],'component':Xa,'createState'({config:_0x43a645}){const _0x4af49d={_0x479268:0x19d,_0x11857d:0x18a,_0x53c900:0x3ae};function _0x2cac9e(_0x25d872,_0x520e9f,_0x57c3c6,_0x172119){return _0x2e3191(_0x520e9f,_0x520e9f-_0x4af49d._0x479268,_0x57c3c6-_0x4af49d._0x11857d,_0x57c3c6-_0x4af49d._0x53c900);}return{'rows':_0x43a645['get'](_0x2cac9e(0x625,_0x51296e._0x4964d2,0x504,0x620))??[[..._0x42d037[0x0]],[..._0x42d037[0x1]]]};}});}import{useCallback as _0xc2b4d0,useEffect as _0x3b368a,useState as _0x3ee57f}from'react';import{Text as _0x28d395}from'ink';import{useCallback as _0x28959f,useState as _0x1959bf}from'react';import{Box as _0x2ee932,Text as _0xfa8879}from'ink';import{useState as _0x135ae9,useEffect as _0x3734ba}from'react';function Fr(_0x2097ec,_0x1262e1){let [_0x539021,_0x27dcf0]=_0x135ae9(_0x1262e1??0x0),[_0x423543,_0x24f84b]=_0x135ae9(_0x2097ec);return _0x3734ba(()=>{_0x24f84b(_0x2097ec);},[_0x2097ec]),_0x3734ba(()=>{_0x1262e1!==void 0x0&&_0x27dcf0(_0x1262e1);},[_0x1262e1]),{'selectedIndex':_0x539021,'setSelectedIndex':_0x27dcf0,'memories':_0x423543,'setMemories':_0x24f84b};}import{useMemo as _0x45ecdc,useCallback as _0x13b067}from'react';import{Box as _0x88308,Text as _0x39cfce}from'ink';import{jsx as _0xedd181,jsxs as _0x284b1d}from'react/jsx-runtime';var Qa={'semantic':'S','episodic':'E','procedural':'P'};function Ja(_0x5a6ec0,_0x3c9f6c){const _0x695333={_0x245265:0x124,_0x3bd53b:0x215,_0x38a60e:0x236,_0x4570fe:0x1e8,_0x4047a4:0x53},_0x34f7d1={_0xfdd69:0xf7},_0x10e84f={_0x3ccaf1:0xf,_0x45924f:0x21};function _0x57c3cf(_0x4c301f,_0x53506b,_0x216999,_0x137f1d){return _0x593b39(_0x4c301f-_0x10e84f._0x3ccaf1,_0x216999- -_0x10e84f._0x45924f,_0x137f1d,_0x137f1d-0x13f);}function _0x11c72b(_0xd4d989,_0x87f7e3,_0x103b70,_0x40388f){return _0x40e58d(_0xd4d989,_0x87f7e3-0x137,_0x87f7e3- -0x138,_0x40388f-_0x34f7d1._0xfdd69);}return _0x5a6ec0[_0x57c3cf(_0x695333._0x245265,0x30c,_0x695333._0x3bd53b,0x1f0)]<=_0x3c9f6c?_0x5a6ec0:_0x5a6ec0[_0x11c72b(_0x695333._0x38a60e,0x1b8,_0x695333._0x4570fe,_0x695333._0x4047a4)](0x0,_0x3c9f6c-0x1)+'…';}function Za(_0x54cc4d){const _0x35b0d0={_0x1fa45b:0x328,_0x5b0e30:0x319},_0x1d813d={_0x18dd2e:0x124};function _0x2e85cb(_0x3f596f,_0x233090,_0x214a72,_0x1e5ec7){return _0x40e58d(_0x214a72,_0x233090-_0x1d813d._0x18dd2e,_0x3f596f-0x1d2,_0x1e5ec7-0xdb);}return new Date(_0x54cc4d)[_0x2e85cb(_0x35b0d0._0x1fa45b,_0x35b0d0._0x5b0e30,0x38b,0x3b6)]();}var Or=({memories:_0x253b82,onMemorySelect:_0x2c2640,onView:_0x4d7c64,focus:_0x505664=!0x0})=>{const _0x295198={_0x31f285:0x92,_0x5e9458:0x15b,_0x2022fa:0xd,_0x26fe3d:0x120,_0x35d740:0x82,_0x90291b:0x5a,_0x4fa7d6:0x1ac,_0x3e1800:0x6af,_0x5803ee:0x7ae,_0x5b6ae2:0x649,_0x291180:0x41d,_0x292651:0x75,_0x2182b2:0x128,_0x59f2f8:0x711,_0x459faf:0x497,_0x2fadd6:0x594,_0x3af485:0x144,_0x66855b:0x67,_0x1cfe4d:0x3fe},_0xa36fbc={_0x2f5eed:0x8f,_0x531c17:0x31},_0x43e7c1={_0x42831f:0x41f,_0x34530c:0x46e,_0x1a2af3:0x343,_0x4b0398:0x174,_0x12481a:0x12e,_0x170ed6:0x10d,_0x1a24a8:0x284,_0x5f324c:0x14f,_0x312e01:0x21a,_0x26affa:0x4d4,_0x4951cf:0x4e6,_0x2562b2:0x599,_0x35b653:0x42b,_0x335a48:0x13e,_0x7ff807:0x29e,_0x4347b9:0x1d9,_0x1e2474:0x35d,_0xa1f521:0x2c3,_0x4c66dc:0x4ba,_0x59a2de:0x330,_0x276631:0x28d,_0x345e99:0x33b,_0xfe6907:0x21d,_0x348847:0x224,_0x3320e6:0x373,_0x278a92:0x21e,_0x231fe6:0x238,_0x3196d7:0x1df,_0x1e8c58:0x1c1,_0x4211eb:0x2b4,_0x29b02c:0x2af,_0x2b1f76:0x3a7,_0x539a66:0x12c,_0x1f5237:0x270,_0x52dc8d:0x1f1,_0x5ab198:0x348,_0x94bc0f:0x181,_0x5c8072:0x1f8,_0xa780a8:0x2ee,_0x1a2e4c:0x284,_0x3fe03f:0x47,_0xe8d53c:0x3f,_0x3e3efd:0x497,_0x273558:0x98,_0x46dfea:0x2dc,_0x50d4fa:0x284,_0x320e9f:0xed,_0x37c8a6:0x13b,_0x3ac9a9:0x1f0,_0x1fe840:0x185,_0x39cb86:0x10b,_0x185e8f:0xa1,_0x1190a4:0x505,_0x4bba88:0x375,_0x2a9d41:0x1ef,_0x3c4b5b:0x33f,_0x395518:0x372,_0x4e5d68:0x27a,_0x4fa54a:0x278,_0x271f91:0x112,_0xbeeace:0xd,_0x51a400:0x3b5,_0x11ccaa:0x2f8,_0x23c1e2:0x173,_0x1fe6a7:0x3e5,_0x3ccb7a:0x2b7,_0x3a8bef:0x299,_0x3c4a5b:0x210,_0x1a8e77:0x472,_0x53c2e9:0x16f},_0x2e8f01={_0xd18955:0x2e6,_0x1b24b0:0x149},_0x3f80db={_0x260dfb:0x263,_0x36e5fa:0x76};function _0x105477(_0x25a2a6,_0x4507e9,_0x2bca1e,_0x47ab6a){return _0x593b39(_0x25a2a6-0xa,_0x2bca1e- -_0x3f80db._0x260dfb,_0x4507e9,_0x47ab6a-_0x3f80db._0x36e5fa);}function _0x509fa5(_0x334b12,_0x1d06b3,_0x3c5a8d,_0x104c82){return _0x40e58d(_0x104c82,_0x1d06b3-0x160,_0x1d06b3-_0x2e8f01._0xd18955,_0x104c82-_0x2e8f01._0x1b24b0);}let {theme:_0x2a32bc}=_0x23be01(),_0x1107e0=_0x45ecdc(()=>_0x253b82[_0x105477(0x149,-0x108,-0x15,-0xd4)](_0x20b594=>({'label':_0x20b594[_0x105477(0x111,-0xa4,-0x8e,-0x86)],'value':_0x20b594['id']})),[_0x253b82]),_0x361ada=_0x13b067((_0x3241e0,_0x3e465f)=>{const _0xcd4cbb={_0x416f26:0x2b4},_0x2dd702={_0x107ded:0x48,_0x8242ed:0x1cb};function _0x1217c2(_0x5e6f82,_0x54b5bc,_0x4f1214,_0x162748){return _0x509fa5(_0x5e6f82-_0x2dd702._0x107ded,_0x162748- -0x37f,_0x4f1214-_0x2dd702._0x8242ed,_0x5e6f82);}let _0x11a926=_0x253b82[_0x3e2f7(0x3d8,0x4f1,_0x43e7c1._0x42831f,0x425)](_0x4850c1=>_0x4850c1['id']===_0x3241e0[_0x3e2f7(0x3da,0x397,0x341,0x340)]);if(!_0x11a926)return null;let _0x5e90f1=Qa[_0x11a926[_0x1217c2(0x3b1,_0x43e7c1._0x34530c,0x3b7,_0x43e7c1._0x1a2af3)]],_0x425dd2=_0x2a32bc[_0x1217c2(_0x43e7c1._0x4b0398,_0x43e7c1._0x12481a,_0x43e7c1._0x170ed6,_0x43e7c1._0x1a24a8)][_0x3e2f7(_0x43e7c1._0x5f324c,_0x43e7c1._0x312e01,0x28f,0x29b)],_0x684db0=_0x11a926[_0x3e2f7(_0x43e7c1._0x26affa,_0x43e7c1._0x4951cf,_0x43e7c1._0x2562b2,_0x43e7c1._0x35b653)]===_0x1217c2(0x24f,_0x43e7c1._0x335a48,_0x43e7c1._0x7ff807,_0x43e7c1._0x4347b9)?_0x2a32bc[_0x1217c2(_0x43e7c1._0x1e2474,0x44c,0x398,0x330)]['yellow']:_0x2a32bc[_0x1217c2(_0x43e7c1._0xa1f521,_0x43e7c1._0x4c66dc,0x3ca,_0x43e7c1._0x59a2de)]['cyan'];function _0x3e2f7(_0x18ce30,_0x5b1bea,_0x268985,_0x647a44){return _0x509fa5(_0x18ce30-0xf8,_0x647a44- -_0xcd4cbb._0x416f26,_0x268985-0x10d,_0x268985);}return _0x284b1d(_0x88308,{'flexDirection':_0x3e2f7(0x2db,0x360,_0x43e7c1._0x276631,_0x43e7c1._0x345e99),'children':[_0x284b1d(_0x88308,{'children':[_0x284b1d(_0x39cfce,{'children':[_0x5e90f1,'\x20']}),_0xedd181(_0x39cfce,{'color':_0x3e465f?_0x425dd2:void 0x0,'children':_0x3e465f?'›\x20':'\x20\x20'}),_0xedd181(_0x39cfce,{'color':_0x3e465f?_0x425dd2:_0x2a32bc[_0x1217c2(_0x43e7c1._0xfe6907,0x3fc,_0x43e7c1._0x348847,0x284)]['text'],'bold':_0x3e465f,'children':_0x3e465f?_0x11a926[_0x1217c2(_0x43e7c1._0x3320e6,_0x43e7c1._0x278a92,0x2ac,_0x43e7c1._0x231fe6)]:Ja(_0x11a926[_0x3e2f7(_0x43e7c1._0x3196d7,_0x43e7c1._0x1e8c58,0x4b5,0x303)],0x3c)}),_0xedd181(_0x39cfce,{'children':'\x20'}),_0x284b1d(_0x39cfce,{'color':_0x684db0,'dimColor':!0x0,'children':['[',_0x11a926[_0x3e2f7(_0x43e7c1._0x4211eb,0x53d,0x29a,0x42b)],']']})]}),_0x3e465f&&_0x284b1d(_0x88308,{'flexDirection':_0x1217c2(_0x43e7c1._0x29b02c,_0x43e7c1._0x2b1f76,_0x43e7c1._0x539a66,_0x43e7c1._0x1f5237),'children':[_0xedd181(_0x88308,{'marginLeft':0x4,'borderStyle':'single','borderTop':!0x1,'borderBottom':!0x1,'borderRight':!0x1,'borderLeft':!0x0,'borderDimColor':!0x0,'paddingX':0x1,'children':_0x284b1d(_0x39cfce,{'dimColor':!0x0,'wrap':_0x1217c2(0x113,_0x43e7c1._0x52dc8d,-0x131,0x43),'children':[_0xedd181(_0x39cfce,{'children':_0x3e2f7(_0x43e7c1._0x5ab198,_0x43e7c1._0x94bc0f,0x1a0,_0x43e7c1._0x5c8072)}),_0xedd181(_0x39cfce,{'color':_0x2a32bc[_0x1217c2(0xd4,_0x43e7c1._0xa780a8,0x112,_0x43e7c1._0x1a2e4c)][_0x1217c2(0x248,_0x43e7c1._0x3fe03f,_0x43e7c1._0xe8d53c,0x1a3)],'children':_0x11a926[_0x3e2f7(0x3b4,_0x43e7c1._0x3e3efd,0x502,0x40e)]}),_0xedd181(_0x39cfce,{'children':_0x1217c2(-0xa5,0x1f8,0x77,_0x43e7c1._0x273558)}),_0xedd181(_0x39cfce,{'color':_0x2a32bc[_0x1217c2(0x2ec,_0x43e7c1._0x46dfea,0x130,_0x43e7c1._0x50d4fa)]['text'],'children':_0x11a926[_0x3e2f7(_0x43e7c1._0x320e9f,_0x43e7c1._0x348847,0x1ea,_0x43e7c1._0x37c8a6)]}),_0xedd181(_0x39cfce,{'children':'\x20•\x20accessed:\x20'}),_0x284b1d(_0x39cfce,{'color':_0x2a32bc[_0x1217c2(_0x43e7c1._0x3ac9a9,_0x43e7c1._0x1fe840,0x29c,0x284)]['text'],'children':[_0x11a926[_0x1217c2(_0x43e7c1._0x39cb86,0x35d,_0x43e7c1._0x185e8f,0x1f5)],'×']}),_0xedd181(_0x39cfce,{'children':_0x1217c2(0x2dc,_0x43e7c1._0x1190a4,0x33b,_0x43e7c1._0x4bba88)}),_0xedd181(_0x39cfce,{'color':_0x2a32bc[_0x3e2f7(_0x43e7c1._0x2a9d41,_0x43e7c1._0x3c4b5b,0x3a6,0x34f)][_0x3e2f7(_0x43e7c1._0x395518,_0x43e7c1._0x4e5d68,0xc3,0x26e)],'children':Za(_0x11a926[_0x1217c2(_0x43e7c1._0x4fa54a,_0x43e7c1._0x271f91,-_0x43e7c1._0xbeeace,0x127)])})]})}),_0x11a926[_0x3e2f7(_0x43e7c1._0x51a400,0x26e,0x478,_0x43e7c1._0x11ccaa)][_0x1217c2(_0x43e7c1._0x23c1e2,_0x43e7c1._0x1fe6a7,_0x43e7c1._0x3ccb7a,_0x43e7c1._0x3a8bef)]>0x0&&_0xedd181(_0x88308,{'marginLeft':0x4,'children':_0x284b1d(_0x39cfce,{'dimColor':!0x0,'children':[_0x3e2f7(0x183,0x36e,0x1d3,_0x43e7c1._0x3c4a5b),_0x11a926[_0x3e2f7(0x45f,_0x43e7c1._0x1a8e77,_0x43e7c1._0x53c2e9,_0x43e7c1._0x11ccaa)]['join'](',\x20')]})})]})]});},[_0x253b82,_0x2a32bc]),_0x59b628=_0x13b067(_0x116a4d=>{const _0x2df3df={_0x26dd50:0xac,_0x163a7d:0x625};function _0x2ac40c(_0x223541,_0x486868,_0x5a8d38,_0x564e57){return _0x509fa5(_0x223541-_0x2df3df._0x26dd50,_0x5a8d38- -_0x2df3df._0x163a7d,_0x5a8d38-0x194,_0x486868);}_0x4d7c64?.(_0x116a4d[_0x2ac40c(0x98,_0xa36fbc._0x2f5eed,-_0xa36fbc._0x531c17,0x32)]);},[_0x4d7c64]),_0x3c48d3=_0x13b067((_0x922582,_0x560c20)=>{_0x2c2640(_0x560c20);},[_0x2c2640]),_0x56ac4a=_0x45ecdc(()=>{let _0x5db0be={'semantic':0x0,'episodic':0x0,'procedural':0x0};for(let _0x587b0a of _0x253b82)_0x5db0be[_0x587b0a['type']]++;return _0x5db0be;},[_0x253b82]);return _0x284b1d(_0x88308,{'flexDirection':_0x105477(0xb5,-_0x295198._0x31f285,-0x56,_0x295198._0x5e9458),'width':_0x105477(0x21,-0x8c,_0x295198._0x2022fa,-_0x295198._0x26fe3d),'flexGrow':0x1,'overflow':_0x105477(-0x147,_0x295198._0x35d740,-_0x295198._0x90291b,-_0x295198._0x4fa7d6),'children':[_0x284b1d(_0x88308,{'marginBottom':0x1,'flexShrink':0x0,'children':[_0x284b1d(_0x39cfce,{'color':_0x2a32bc[_0x509fa5(0x731,_0x295198._0x3e1800,0x52b,_0x295198._0x5803ee)][_0x509fa5(_0x295198._0x5b6ae2,0x53a,_0x295198._0x291180,0x58c)],'bold':!0x0,'children':['Memories\x20(',_0x253b82[_0x105477(-0xcd,-_0x295198._0x292651,-0x2d,-_0x295198._0x2182b2)],')']}),_0x284b1d(_0x39cfce,{'dimColor':!0x0,'children':['\x20',_0x509fa5(0x5f1,0x6c9,_0x295198._0x59f2f8,0x63d),_0x56ac4a[_0x509fa5(0x60c,_0x295198._0x459faf,0x487,_0x295198._0x2fadd6)],'\x20Episodic:',_0x56ac4a[_0x105477(0x136,_0x295198._0x3af485,-_0x295198._0x66855b,0x100)],_0x509fa5(0x40f,0x53f,_0x295198._0x1cfe4d,0x691),_0x56ac4a['procedural']]})]}),_0xedd181(_0x3af82d,{'items':_0x1107e0,'placeholder':'Search\x20memories...','enableRotation':!0x0,'showItemCount':!0x1,'focus':_0x505664,'renderItem':_0x361ada,'onSelect':_0x59b628,'onHighlight':_0x3c48d3})]});};import{jsx as _0xe8fc4d,jsxs as _0x37ea7c}from'react/jsx-runtime';var el=0x1e,tl={'semantic':'Semantic','episodic':'Episodic','procedural':_0x593b39(0x41,0x161,0x29f,0x24e)},Hr=({visible:_0x2dbb2f,memories:_0x377e5e,onClose:_0x35acfb,onDelete:_0x1084d0})=>{const _0x26c338={_0x455645:0x120,_0x519a11:0x1aa,_0x8aa10b:0x366,_0x593f46:0x3cb,_0x527782:0xef,_0x346bd5:0x9c,_0x1b0438:0x0,_0x2235de:0x60,_0x4bd9d8:0x2e,_0x4d6b31:0xb8,_0x2645e7:0x235,_0x479215:0xba,_0x42c992:0xee,_0x576544:0x30,_0x3dc5de:0xf4,_0x1b7b13:0x1b,_0x45d5f8:0x161,_0x4a74b1:0xf,_0x2b97cb:0x2cf,_0x750799:0x23b,_0x3eccb0:0x15e,_0x3c7043:0xb,_0x2ced7d:0x3,_0x57516f:0x12,_0x4e9fe4:0x6e,_0x105dd7:0x41,_0x4d833f:0x66,_0x2ca045:0x74,_0x4a1642:0x1e4,_0x5e139e:0xe5,_0x51fc2a:0xf4,_0x413e4c:0xd1,_0x225348:0x267,_0x113985:0x1b2,_0x2422e8:0x34,_0x4e7a41:0x11f,_0x251d89:0x108,_0x36b8c9:0x1b4,_0x2c818c:0x6d,_0xff0544:0x266,_0x21be54:0x1cc,_0x71b18b:0x206,_0xe8fefc:0xfd,_0x18edae:0x204,_0x561c46:0x174,_0x43cddb:0x5a,_0x25453f:0x10f,_0xfb8bb9:0xd,_0x3e2133:0x18f,_0x52b537:0xcc,_0x4694ac:0xe4,_0x11e051:0x2c,_0x4514be:0xf2,_0x4fd7e5:0x2e5,_0x11d0e9:0x44c,_0x7027f9:0x19e,_0x1e2beb:0x52,_0x1e3fd0:0x166,_0x298d41:0x133,_0x25531b:0x85,_0x3e9e26:0x160,_0x3004df:0x1b3,_0x2293ac:0x307,_0x589c13:0x42a,_0x2cd37b:0x1f7,_0x19fc09:0x52,_0x2913ed:0x1f7,_0x257101:0x64,_0x5100b0:0x23a,_0x49157f:0x2e6,_0xf94771:0x1af,_0x2582eb:0x333,_0x263948:0x7c,_0x42a943:0x7a,_0xb4f42:0x37,_0x456b2e:0xae,_0x164051:0xc8,_0x24e8a5:0x73,_0x3100f1:0xd3,_0x3e1252:0xf7,_0x426619:0x1d2,_0x38282a:0x2d4,_0xd775a1:0x7d,_0x191481:0x133,_0x17073b:0xef,_0x348f30:0x151,_0x349cdc:0x7c,_0x18d913:0xcf,_0x17e880:0x51,_0x6593b0:0xb0,_0x3db8ce:0x1e5,_0x2b3c38:0xe7,_0x52b8bb:0xc4,_0x3e9740:0xec,_0x5d4ecc:0xca,_0xa0d512:0x257,_0x39ea56:0xd1,_0xbf89d3:0xdf,_0x3c7942:0xaa,_0x5692b4:0x10c,_0x14bf2e:0x1ba,_0x3c7f97:0x1f0,_0x55d052:0x1a8,_0x27c4ed:0xd4,_0x4cb4a9:0x36,_0x4b4c1d:0xa3,_0x53b53e:0x35d,_0x52576a:0xc8,_0x25c6b6:0xd7,_0x138f15:0xe5,_0x4c108a:0x10,_0x519dc8:0x19d,_0x477b83:0x22,_0x2b22c6:0xd8,_0x3977bc:0xc,_0x19672f:0x192,_0x22123b:0x1ed,_0x589672:0xa2,_0x283d18:0xa5,_0x2f17c1:0x8a,_0x4d1947:0xfa,_0x5d60d1:0x47,_0x1683b0:0x28d,_0x563109:0x314,_0x173aa1:0xd1,_0x5bacd9:0x52,_0x2f8077:0x173,_0x229c0f:0x27,_0x3eca39:0x5,_0x1301ec:0x33},_0x3a8464={_0x40442d:0x19c},_0x3815fc={_0x21b848:0xa1,_0xf299b6:0x1f9},_0x355350={_0x3c1c59:0x454},_0x54898d={_0x46e50f:0x5e7,_0x3fb68e:0x5f1,_0x24c131:0x4af},_0x3475c1={_0x15a526:0x114,_0x15b0be:0x91,_0x1018a3:0xa2},_0x51483f={_0xed1b32:0x8f,_0xa2a60c:0x10e},_0x4be992={_0x56cbc5:0x172},_0x3d02de={_0x54aae6:0xd4,_0x27e233:0x273,_0x414ba1:0x10f};function _0x535364(_0x520392,_0x126333,_0x3e0251,_0x1fa09c){return _0x593b39(_0x520392-_0x3d02de._0x54aae6,_0x3e0251- -_0x3d02de._0x27e233,_0x1fa09c,_0x1fa09c-_0x3d02de._0x414ba1);}let {theme:_0x566d3e}=_0x23be01(),{rows:_0x4536bf}=_0x4f685a(),_0x5a7da3=Fr(_0x377e5e),[_0xe44b2a,_0x16313d]=_0x1959bf(_0x4c5626(-0x177,-0x5c,_0x26c338._0x455645,-_0x26c338._0x519a11)),[_0x1c6adb,_0x53bbda]=_0x1959bf(null),_0x3c10f=_0x28959f(_0x459a03=>{function _0x3711dc(_0x165be6,_0x174732,_0xcb1311,_0x3f2f16){return _0x4c5626(_0x165be6-_0x4be992._0x56cbc5,_0x174732-0x20c,_0xcb1311,_0x3f2f16-0xdc);}let _0x51fcda=_0x377e5e[_0x42439a(0x19e,0x18f,0x1e8,_0x3475c1._0x15a526)](_0x4983e8=>_0x4983e8['id']===_0x459a03);function _0x42439a(_0x1b91e7,_0x39e583,_0x5031c1,_0x44cbc3){return _0x4c5626(_0x1b91e7-_0x51483f._0xed1b32,_0x44cbc3-0x10f,_0x5031c1,_0x44cbc3-_0x51483f._0xa2a60c);}_0x51fcda&&(_0x53bbda(_0x51fcda),_0x16313d(_0x3711dc(-0x55,-_0x3475c1._0x15b0be,-0x231,_0x3475c1._0x1018a3)));},[_0x377e5e]),_0x25a3f4=_0x28959f(()=>{const _0x40ab0b={_0x21f16b:0x695};function _0x4c5438(_0x21cbc5,_0x4e432f,_0x1ec000,_0x1a8c92){return _0x4c5626(_0x21cbc5-0x8,_0x1ec000-_0x40ab0b._0x21f16b,_0x1a8c92,_0x1a8c92-0xbc);}_0x16313d(_0x4c5438(_0x54898d._0x46e50f,_0x54898d._0x3fb68e,0x639,_0x54898d._0x24c131)),_0x53bbda(null);},[]),_0x40142a=_0x28959f(_0x26be7c=>{_0x1084d0?.(_0x26be7c);},[_0x1084d0]);if(_0x528efb((_0xf90e6a,_0x1cb7a3)=>{function _0x3cc930(_0x3c2f42,_0x57d969,_0x4c3270,_0x5d4635){return _0x4c5626(_0x3c2f42-0xbc,_0x5d4635-_0x355350._0x3c1c59,_0x57d969,_0x5d4635-0x1c9);}if(_0xe44b2a==='detail'){if(_0x1cb7a3[_0x3cc930(0x32c,0x1dd,_0x3815fc._0x21b848,_0x3815fc._0xf299b6)]){_0x25a3f4();return;}_0xf90e6a==='d'&&_0x1c6adb&&(_0x40142a(_0x1c6adb['id']),_0x25a3f4());}},{'isActive':_0x2dbb2f}),!_0x2dbb2f)return null;let _0x1bcbb8=Math['min'](el,_0x4536bf-0x4);function _0x4c5626(_0x2c5438,_0x3d92a9,_0x753363,_0x1e65a7){return _0x40e58d(_0x753363,_0x3d92a9-_0x3a8464._0x40442d,_0x3d92a9- -0x3ee,_0x1e65a7-0x1a2);}if(_0xe44b2a===_0x535364(-_0x26c338._0x8aa10b,-_0x26c338._0x593f46,-0x21e,-_0x26c338._0x527782)&&_0x1c6adb){let _0x1b3e78=Math['max'](0x5,_0x4536bf-0xc);return _0xe8fc4d(_0x32a44e,{'visible':!0x0,'title':_0x4c5626(-_0x26c338._0x346bd5,_0x26c338._0x1b0438,_0x26c338._0x2235de,-_0x26c338._0x4bd9d8)+tl[_0x1c6adb['type']],'onClose':_0x25a3f4,'closeOnEscape':!0x0,'footer':_0xe8fc4d(_0x2ee932,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0xe8fc4d(_0x1fb0f6,{'segments':[{'text':_0x535364(_0x26c338._0x4d6b31,_0x26c338._0x2645e7,0xb3,-_0x26c338._0x479215),'highlight':!0x0},{'text':_0x535364(-0x1ce,-_0x26c338._0x42c992,-0x157,-_0x26c338._0x576544)},{'text':'d','highlight':!0x0},{'text':'\x20delete\x20•\x20'},{'text':_0x4c5626(_0x26c338._0x3dc5de,_0x26c338._0x1b7b13,_0x26c338._0x45d5f8,-_0x26c338._0x4a74b1),'highlight':!0x0},{'text':_0x4c5626(-_0x26c338._0x2b97cb,-0x120,-0xdc,-_0x26c338._0x750799)}]})}),'height':_0x535364(-_0x26c338._0x3eccb0,-_0x26c338._0x3c7043,-_0x26c338._0x2ced7d,-_0x26c338._0x57516f),'children':_0x37ea7c(_0x2ee932,{'flexDirection':'column','flexGrow':0x1,'marginBottom':0x1,'children':[_0xe8fc4d(_0x2ee932,{'marginBottom':0x1,'flexDirection':_0x535364(_0x26c338._0x4e9fe4,-_0x26c338._0x105dd7,-_0x26c338._0x4d833f,-0x6b),'children':_0xe8fc4d(_0xfa8879,{'children':_0x1c6adb[_0x535364(_0x26c338._0x4d833f,-0x2d,-0x9e,-_0x26c338._0x2ca045)]})}),_0xe8fc4d(_0x179e0b,{'maxHeight':_0x1b3e78,'showScrollbar':!0x0,'focus':!0x0,'enableKeyboardScroll':!0x0,'children':_0x37ea7c(_0x2ee932,{'flexDirection':_0x4c5626(-_0x26c338._0x4a1642,-_0x26c338._0x5e139e,-0x221,-0x243),'children':[_0xe8fc4d(_0xfa8879,{'dimColor':!0x0,'children':'───────────────────────'}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x4c5626(0xbf,-_0x26c338._0x51fc2a,-0x7d,0x77),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x4c5626(-0x11b,-_0x26c338._0x413e4c,-0x202,-0x81)][_0x4c5626(-_0x26c338._0x225348,-_0x26c338._0x113985,-_0x26c338._0x2422e8,-_0x26c338._0x4e7a41)],'children':_0x1c6adb[_0x535364(_0x26c338._0x251d89,_0x26c338._0x36b8c9,_0x26c338._0x2c818c,-0xbe)]})]}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x4c5626(-0xe1,-_0x26c338._0xff0544,-_0x26c338._0x21be54,-_0x26c338._0x71b18b),'\x20',_0xe8fc4d(_0xfa8879,{'color':_0x1c6adb[_0x535364(0x76,0x23,0x8a,-0x101)]===_0x535364(-0xa,-0xd0,-_0x26c338._0xe8fefc,-_0x26c338._0x18edae)?_0x566d3e[_0x535364(0x1ee,_0x26c338._0x561c46,_0x26c338._0x43cddb,-_0x26c338._0x25453f)][_0x4c5626(-_0x26c338._0x527782,-_0x26c338._0xfb8bb9,_0x26c338._0x3e2133,_0x26c338._0x52b537)]:_0x566d3e[_0x535364(0x17a,-0x12f,0x5a,-_0x26c338._0x4694ac)][_0x535364(-0x29f,-0xbb,-0x11b,-0x228)],'children':_0x1c6adb['scope']})]}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x4c5626(-0x92,_0x26c338._0x11e051,-0x7a,0x190),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x4c5626(-0xd2,-0xd1,-_0x26c338._0x4514be,-0x11a)]['text'],'children':_0x1c6adb[_0x4c5626(-0x21d,-_0x26c338._0x4fd7e5,-0x38e,-0x387)]})]}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x535364(-_0x26c338._0x11d0e9,-_0x26c338._0x7027f9,-0x2aa,-0x21a),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x535364(-0x3c,0x108,-_0x26c338._0x1e2beb,-0x29)][_0x535364(-_0x26c338._0x1e3fd0,-0x3e,-_0x26c338._0x298d41,-_0x26c338._0x25531b)],'children':_0x1c6adb[_0x4c5626(-0x186,-_0x26c338._0x3e9e26,-0x1c,-0x270)]})]}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x4c5626(-_0x26c338._0x3004df,-_0x26c338._0x2293ac,-_0x26c338._0x589c13,-_0x26c338._0x2cd37b),'\x20',_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x535364(-0x63,0x146,-_0x26c338._0x19fc09,-_0x26c338._0x2913ed)][_0x535364(-_0x26c338._0x257101,-_0x26c338._0x5100b0,-0x133,-_0x26c338._0x49157f)],'children':new Date(_0x1c6adb[_0x535364(-0x1ca,-0x2c1,-_0x26c338._0xf94771,-_0x26c338._0x2582eb)])[_0x4c5626(0xea,-_0x26c338._0x263948,_0x26c338._0x42a943,-0x16c)]()})]}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x535364(-0x26,-0x171,-0xea,-0xa),'\x20',_0xe8fc4d(_0xfa8879,{'color':_0x566d3e['colors'][_0x535364(_0x26c338._0xb4f42,-_0x26c338._0x456b2e,-_0x26c338._0x298d41,-_0x26c338._0x164051)],'children':new Date(_0x1c6adb[_0x4c5626(0x4e,-_0x26c338._0x24e8a5,_0x26c338._0x527782,-0x1e5)])['toLocaleString']()})]}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x535364(-_0x26c338._0x3100f1,-0x22b,-_0x26c338._0x3e1252,-0x1f3),'\x20',_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x535364(-_0x26c338._0x426619,-0x8,-_0x26c338._0x19fc09,0xf8)][_0x535364(-_0x26c338._0x38282a,-_0x26c338._0xd775a1,-_0x26c338._0x191481,-0x1ff)],'children':new Date(_0x1c6adb[_0x535364(-0xdc,-_0x26c338._0x17073b,-_0x26c338._0x3004df,-0x2fa)])[_0x4c5626(-_0x26c338._0x348f30,-_0x26c338._0x349cdc,-0x1ec,-_0x26c338._0x18d913)]()})]}),_0x1c6adb['tags']['length']>0x0&&_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x4c5626(-0x135,-_0x26c338._0x17e880,_0x26c338._0x6593b0,-0xe4),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e['colors']['text'],'children':_0x1c6adb[_0x535364(-_0x26c338._0x3db8ce,-0x24f,-0xa9,_0x26c338._0x2b3c38)][_0x535364(-0x207,-0x325,-0x206,-0x105)](',\x20')})]}),_0x37ea7c(_0xfa8879,{'dimColor':!0x0,'children':[_0x535364(-_0x26c338._0x52b8bb,-_0x26c338._0x3e9740,-0xd1,_0x26c338._0x5d4ecc),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x4c5626(-_0x26c338._0xa0d512,-_0x26c338._0x39ea56,_0x26c338._0xbf89d3,-0x10c)][_0x535364(-0x57,-0x8f,-_0x26c338._0x298d41,-_0x26c338._0x3c7942)],'children':_0x1c6adb['id']})]})]})})]})});}return _0xe8fc4d(_0x32a44e,{'visible':_0x2dbb2f,'title':_0x535364(-_0x26c338._0x5692b4,-_0x26c338._0x14bf2e,-_0x26c338._0x3c7f97,-0xb2),'closeOnEscape':!0x0,'closeOnEnter':!0x1,'onClose':_0x35acfb,'paddingX':0x1,'paddingY':0x0,'footer':_0xe8fc4d(_0x2ee932,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0xe8fc4d(_0x1fb0f6,{'segments':[{'text':'↑↓','highlight':!0x0},{'text':'\x20navigate\x20•\x20'},{'text':'Enter','highlight':!0x0},{'text':_0x4c5626(-_0x26c338._0x55d052,-0x14a,-_0x26c338._0x27c4ed,-_0x26c338._0x4cb4a9)},{'text':_0x4c5626(-_0x26c338._0x4b4c1d,_0x26c338._0x1b7b13,-0x93,-0xd1),'highlight':!0x0},{'text':_0x535364(-0x39,-0xdc,-0x1d0,-_0x26c338._0x53b53e)}]})}),'height':_0x1bcbb8,'children':_0x377e5e[_0x535364(-_0x26c338._0x52576a,0x110,-0x3d,_0x26c338._0x25c6b6)]===0x0?_0x37ea7c(_0x2ee932,{'marginX':0x1,'flexDirection':_0x4c5626(-0x1da,-_0x26c338._0x138f15,-_0x26c338._0x4c108a,-_0x26c338._0x519dc8),'children':[_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x535364(0x5a,-0x83,-0x4,0x29)][_0x4c5626(_0x26c338._0x477b83,-0x27,_0x26c338._0x2b22c6,0xec)],'children':_0x535364(-0x191,-_0x26c338._0x3977bc,-_0x26c338._0x19672f,-0x68)}),_0x37ea7c(_0xfa8879,{'color':_0x566d3e['colors'][_0x4c5626(-_0x26c338._0x22123b,-0x3e,-_0x26c338._0x4694ac,0x116)],'dimColor':!0x0,'children':['\x0a',_0x535364(_0x26c338._0x589672,_0x26c338._0x283d18,-_0x26c338._0x2f17c1,-_0x26c338._0x4d1947)]}),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x535364(-0x4e,-_0x26c338._0x5d60d1,-0x52,-0x174)]['muted'],'dimColor':!0x0,'children':_0x4c5626(-_0x26c338._0x1683b0,-0x25c,-_0x26c338._0x563109,-0x30c)}),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e[_0x535364(-_0x26c338._0x173aa1,-0x1db,-_0x26c338._0x5bacd9,-_0x26c338._0x2f8077)]['muted'],'dimColor':!0x0,'children':_0x4c5626(-0x26,-0x1f,_0x26c338._0x229c0f,-0x167)}),_0xe8fc4d(_0xfa8879,{'color':_0x566d3e['colors']['muted'],'dimColor':!0x0,'children':_0x4c5626(-_0x26c338._0x3eca39,-0x172,-0x3e,-_0x26c338._0x1301ec)})]}):_0xe8fc4d(Or,{'memories':_0x5a7da3['memories'],'onMemorySelect':_0x5a7da3['setSelectedIndex'],'onView':_0x3c10f,'focus':!0x0})});};import{useState as _0x2ef915,useEffect as _0x2125d4,useMemo as _0x2d1cbb,useRef as _0x13f8bc}from'react';import{Box as _0x4664fe,Text as _0xe864e6}from'ink';import{jsx as _0x1ddcf4,jsxs as _0x463b73}from'react/jsx-runtime';var rl=0x12c*0x3e8,Ur=new Map();function nl(_0x2a0b26){const _0x3c04e3={_0x5d29a2:0x3ed,_0x2f9115:0x309,_0x447aca:0x4f6,_0x1ddce9:0x359,_0x4ceee1:0x1ac,_0x47745e:0x2ea,_0x140752:0xf2,_0x57b268:0x297,_0x27a332:0x29f,_0xac27aa:0x61},_0x2455d5={_0x3c038b:0x105},_0x100e9f={_0xc66190:0x198,_0x495a2d:0x18e};function _0x2279ea(_0x4dbdbe,_0x34a2d6,_0x5f31e5,_0x412071){return _0x593b39(_0x4dbdbe-_0x100e9f._0xc66190,_0x34a2d6- -0x17b,_0x5f31e5,_0x412071-_0x100e9f._0x495a2d);}function _0x8d2684(_0x3ce83a,_0x44ca3f,_0x11d9a,_0x30d0a5){return _0x593b39(_0x3ce83a-_0x2455d5._0x3c038b,_0x3ce83a-0x29e,_0x44ca3f,_0x30d0a5-0x66);}let _0x25e0ec=Ur[_0x8d2684(_0x3c04e3._0x5d29a2,0x26b,_0x3c04e3._0x2f9115,_0x3c04e3._0x447aca)](_0x2a0b26);return _0x25e0ec?Date[_0x8d2684(0x2bd,0x214,0x41e,_0x3c04e3._0x1ddce9)]()-_0x25e0ec[_0x2279ea(0x25,_0x3c04e3._0x4ceee1,_0x3c04e3._0x47745e,0x2e1)]>rl?(Ur[_0x8d2684(0x263,_0x3c04e3._0x140752,_0x3c04e3._0x57b268,0x3e8)](_0x2a0b26),null):_0x25e0ec[_0x2279ea(0x54,-0xf1,-_0x3c04e3._0x27a332,-_0x3c04e3._0xac27aa)]:null;}function il(_0x5caeed,_0x371321){const _0x1496b9={_0x1b805b:0x13,_0x5d1f34:0x127,_0x37166c:0xc6},_0x418ad2={_0x119bae:0x1e1,_0x1cd026:0x11};function _0x2d841d(_0xba55d1,_0x2b17f5,_0x1bd023,_0x5963a1){return _0x40e58d(_0x1bd023,_0x2b17f5-0xbf,_0x5963a1- -_0x418ad2._0x119bae,_0x5963a1-_0x418ad2._0x1cd026);}Ur['set'](_0x5caeed,{'models':_0x371321,'fetchedAt':Date[_0x2d841d(0x5e,-_0x1496b9._0x1b805b,-_0x1496b9._0x5d1f34,-_0x1496b9._0x37166c)]()});}function sl(_0x56f57a,_0x159b60){const _0x22d320={_0x5f3e3:0x51b},_0x53963b={_0x1d05e3:0x2db,_0x197f1e:0x10f,_0x380ed3:0xe9,_0x3b78bb:0x62,_0x1a8db6:0x3a5,_0x5af9f6:0x5c4,_0x6ae78d:0x4ce},_0x27b1e2={_0x137ef6:0x2e,_0x474431:0x37a,_0x3ed009:0x46};function _0x5b8be5(_0x5bd2a2,_0x4d8384,_0x3b5d96,_0x2030f3){return _0x593b39(_0x5bd2a2-_0x27b1e2._0x137ef6,_0x3b5d96-_0x27b1e2._0x474431,_0x5bd2a2,_0x2030f3-_0x27b1e2._0x3ed009);}return _0x159b60?_0x56f57a[_0x5b8be5(0x4b6,_0x22d320._0x5f3e3,0x57b,0x48a)](_0x467d48=>{const _0x1b49e0={_0xd74e1c:0xb6};let _0x41326a=_0x159b60[_0x467d48[_0x2dfcd2(_0x53963b._0x1d05e3,0x224,0x1ed,0x352)]()]||_0x159b60[_0x467d48];function _0x2dfcd2(_0xea03d5,_0x2a6338,_0x41624c,_0x37294f){return _0x5b8be5(_0x2a6338,_0x2a6338-0x17b,_0x37294f- -0x183,_0x37294f-0xaf);}if(!_0x41326a)return!0x1;function _0x3364e4(_0x3eaa06,_0x500ae9,_0x458eae,_0x584581){return _0x5b8be5(_0x3eaa06,_0x500ae9-_0x1b49e0._0xd74e1c,_0x458eae- -0x40e,_0x584581-0x3f);}let _0x4cdb9a=_0x41326a[_0x2dfcd2(0x1a4,0x2b4,_0x53963b._0x197f1e,0x2a0)];return!Array[_0x3364e4(-0xa9,_0x53963b._0x380ed3,_0x53963b._0x3b78bb,0x73)](_0x4cdb9a)||_0x4cdb9a['length']===0x0?!0x1:_0x4cdb9a[_0x2dfcd2(_0x53963b._0x1a8db6,_0x53963b._0x5af9f6,0x5b4,_0x53963b._0x6ae78d)](_0x1665fb=>!!(_0x1665fb[_0x3364e4(0x2c1,0x1e3,0x24c,0x118)]===_0x2dfcd2(0x544,0x31a,0x5de,0x4a1)&&_0x1665fb[_0x3364e4(0x1b8,0x14d,0x216,0x10b)]||_0x1665fb[_0x3364e4(0xd3,0x2cb,0x24c,0x249)]===_0x2dfcd2(0x46a,0x57f,0x57d,0x44b)&&_0x1665fb[_0x2dfcd2(0x390,0x3a6,0x1de,0x2ec)]));}):[];}var Gr=({context:_0x158c19,deactivate:_0x5b1995,isActive:_0x2e8324})=>{const _0x393726={_0x143f65:0x223,_0x14d3ce:0x501,_0x42a279:0x3ad,_0x55df1d:0x4f8,_0x14324c:0x3b5,_0x257aab:0x66b,_0x2e2e44:0x3c2,_0x22feea:0x419,_0xb36ac8:0x60d,_0x557821:0x585,_0x400032:0x3e6,_0x479992:0x3d7,_0x4d9caf:0x351,_0x2c70a6:0xb3,_0x24b209:0x407,_0x41c268:0x4f9,_0x25bdc4:0x4c6,_0x182d5c:0x4cc,_0x31f394:0x433,_0x1e4087:0x316,_0x5bf976:0x2cd,_0x3d94c4:0x20e,_0x1b176e:0x478,_0x30ed72:0x43f,_0x2acc33:0x520,_0x1ce643:0x399,_0x343d77:0x3e4,_0x3b6a50:0x5a4,_0x508d6f:0x4c,_0x5ba961:0x20e,_0x44b0a6:0x48c,_0x33d6d7:0x36e,_0x555178:0x3ae,_0x4dd2c7:0x544,_0x28615d:0x199,_0x3da0b8:0xf9,_0x3e9ea3:0x17e,_0x28d0a1:0x1fa,_0xc24db2:0x4ca,_0xd49f9e:0x5ba,_0x510784:0x672,_0x514722:0x4d4,_0x2e8fc8:0x545,_0x57d15f:0x1bc,_0x1add65:0x4de,_0x5852ef:0x334,_0x54302e:0x54b,_0x399941:0x4bd,_0x57138d:0x629,_0x312383:0x380,_0x3044ce:0x106,_0x4b69a5:0x181,_0x22e045:0x24c,_0x79c77e:0x1a8,_0x49f6a2:0x1ef,_0x2ee9fd:0x34c,_0x5aef4f:0x452,_0x5194ab:0x423,_0x1cce17:0x403,_0x2e51ce:0xf1,_0x586d7f:0x298,_0x2f2fc2:0x22d,_0x5e0f3f:0x3fb,_0x14933d:0x3f5,_0x301a0c:0x2d9,_0x3bc8ed:0x2e0,_0x4faf31:0x496,_0x429bf8:0x487,_0x3d4ca1:0x40b,_0x42cb2b:0x28b,_0x19b318:0x4c1,_0x257a67:0x373,_0x425a3f:0x1c7,_0x31e302:0x4f2,_0x55af43:0x202,_0x51750c:0xad,_0x5d828b:0x44,_0x447ecd:0x185,_0x479940:0x263,_0x52e1b6:0x163,_0x41292c:0x13d,_0x2df3ab:0x59c,_0x1afcbf:0x709,_0x2159f2:0x529,_0x224868:0x5e5,_0x1f2525:0x3a0,_0x1b4b34:0x4d7,_0x259751:0x4eb},_0x5643f3={_0x13c73f:0x52,_0x1304b3:0xdc,_0x1cee1c:0xed,_0x42f278:0x192,_0x2e5949:0x221,_0x2428c4:0x77,_0x5eabb8:0x38,_0x5dc098:0x178,_0x3536e9:0x8b,_0x167226:0x21,_0x1cc653:0xaf,_0x4ab1e9:0xd9,_0x36884c:0x1c,_0x56d9c6:0x5d,_0xe47ca7:0x11d,_0x1cadff:0xc6,_0x2f589f:0x285,_0x48db29:0x2a2,_0x2ad4c7:0x5a,_0x14f848:0x4a,_0x8f86da:0x142,_0x5be492:0xbd,_0xe102e2:0x226,_0x575f65:0x1f1,_0x539567:0x5b,_0xcb3ea6:0x302,_0x1212b4:0x82,_0x331351:0xca,_0x582422:0x34,_0xcf507e:0x6e,_0x1cb375:0x6b,_0x2b8a79:0xa8,_0xbc8e36:0x2d,_0x13caba:0x11,_0x2c8a3e:0x11c,_0x559235:0x69,_0x4277a8:0x141,_0x156fd8:0x2d,_0x115e8a:0x43,_0x201d6e:0xf0,_0x33af77:0x21,_0x5e612f:0x12,_0x1e654f:0x2a,_0x2d1f00:0x236,_0x40caeb:0x13,_0x5b83b0:0xe5,_0x1a38c5:0xbf,_0x168501:0xd4,_0x3c0a05:0x144,_0x1292cc:0xc7,_0x446b92:0x1f1,_0x240187:0x157,_0x404cc3:0x2b,_0x56be7f:0x7d,_0x2875bc:0x30e,_0x3c0e11:0x21e,_0x3a7dbb:0x333,_0xe99a45:0xb5,_0x5b1108:0x227,_0x64823b:0x105,_0x337f15:0x8d,_0x57de63:0x126,_0x18f306:0x17f,_0x4231ae:0x1f1,_0x14af1d:0x98,_0x4cb3aa:0x73,_0x110579:0x1d0,_0x1aad8b:0x6f,_0x3af06f:0x79,_0x371cdb:0x2d,_0x39799f:0x136,_0x414619:0x1c1,_0x4d0d7d:0xf5,_0x4dcd9b:0xb6,_0x2df658:0x211,_0xdde5e6:0x186,_0xdf536b:0x22d,_0x3fd005:0x159,_0x537a23:0xd6,_0x197b4d:0x14e,_0x35e9c4:0x7b,_0x42bf27:0xc5,_0xeece89:0x11d,_0x1836a9:0x67,_0x26d466:0x1b8,_0x20be78:0xa9,_0x1d2b9c:0x89,_0x3ba740:0x138,_0x520662:0x2bd,_0x1a27c2:0x186,_0x3ca656:0x1be,_0x47b3b5:0x1af,_0x3f3b15:0x6d,_0x4af0df:0x3c0,_0x6b5624:0x1c7,_0x63cee6:0x152,_0x18ed67:0x49,_0x1fbfe0:0x57,_0x1d130f:0x27a,_0x6bfc44:0x2f6,_0x3752e7:0x184,_0x81bc78:0x11d,_0x5b3ef4:0x220,_0x594193:0x32f,_0x2788ca:0x29,_0x16bcc3:0x335,_0x304192:0x186,_0x48d767:0x2fc,_0x1de65:0xff,_0x2bdb66:0x157,_0x2ba3a0:0x2f2,_0xf20533:0x214,_0x2792ad:0x21d,_0x21aa39:0x50,_0xd89b62:0x1cc,_0x2eef8f:0x1c4,_0x56cc01:0x307,_0x5e23f9:0x41,_0x56547e:0x5,_0x204e10:0xa4,_0x542f61:0xd1},_0x528ee1={_0x381a70:0x2a4},_0x2db05f={_0x3f3c44:0x1ed,_0x239f0a:0x180,_0x4f6798:0x318,_0x1b6ba7:0x250,_0x2e5004:0x273,_0x151cc3:0x29d,_0x2f573b:0x240,_0x2f367b:0x2f7,_0x45b578:0x2b5,_0x5d7e05:0x2d8,_0x3ca846:0x369,_0x386152:0x397,_0x79423b:0x1be,_0x55166d:0x71,_0x1635ec:0x7e,_0x1939e2:0x3f5,_0x3d60a7:0x259,_0x595a44:0x164,_0x543b97:0x260,_0x3f7aa3:0x1b1,_0x158614:0x29d,_0x20f9dc:0xd4,_0x2fa031:0x22,_0x35a81:0x444,_0x482dc4:0x618,_0x513af1:0x432,_0x527a34:0x100,_0x121c35:0x215,_0x25a909:0x291,_0x3d4713:0x403,_0x3206dd:0x36e,_0x13d2e0:0x442,_0x2695d9:0x3fe,_0x16104b:0x114,_0x124b02:0x4a,_0xe94fd1:0x2c3,_0x23ac66:0xbf,_0x429d0c:0xf,_0x441ef1:0xf6,_0x42efe2:0x333,_0x4aef9e:0x139,_0xc5798:0x5d,_0x438b67:0x2be,_0x458e91:0x21,_0x3f9899:0x53,_0x422956:0x78,_0x58f84a:0x23f,_0x9caadf:0x133,_0x8834bf:0x252},_0x403203={_0x5d5f7c:0x44d,_0xeeaa10:0x540,_0xc74f18:0x23b,_0xd50ec8:0x49f,_0x1fe6a0:0x3b6,_0x4d17f7:0x489},_0x2896ed={_0x40c7a7:0x4b,_0x375599:0x2ca},_0x2ab0c0={_0x471c87:0xbf};let {theme:_0x21b10e}=_0x23be01(),{rows:_0x2db51e}=_0x4f685a(),_0x3d39b8=_0x13f8bc(_0x158c19[_0x14fb93(0x2ab,_0x393726._0x143f65,0x39f,0x2be)][_0x14fb93(_0x393726._0x14d3ce,_0x393726._0x42a279,_0x393726._0x55df1d,0x419)](_0x14fb93(_0x393726._0x14324c,0x374,_0x393726._0x257aab,0x4ba)))['current'],_0x87d3e5=_0x2d1cbb(()=>sl(_0x131b2e(_0x3d39b8),_0x3d39b8),[_0x3d39b8]),_0xf224bc=_0x158c19['config'][_0x14fb93(_0x393726._0x2e2e44,0x32a,0x545,_0x393726._0x22feea)](_0x14fb93(0x4aa,_0x393726._0xb36ac8,0x575,_0x393726._0x557821))||_0x158c19['config'][_0x14fb93(0x327,_0x393726._0x400032,_0x393726._0x479992,0x419)](_0x14fb93(0x462,_0x393726._0x4d9caf,0x40e,0x41e)),_0x470691=_0x158c19[_0x52f81f(0xef,0xb,_0x393726._0x2c70a6,0x1c6)][_0x14fb93(_0x393726._0x24b209,_0x393726._0x41c268,0x4ab,0x419)](_0x14fb93(0x656,_0x393726._0x25bdc4,_0x393726._0x182d5c,0x5cd))||_0x158c19[_0x14fb93(_0x393726._0x31f394,0x231,0x3a4,0x2be)][_0x52f81f(_0x393726._0x1e4087,_0x393726._0x5bf976,_0x393726._0x3d94c4,0xe1)](_0x14fb93(_0x393726._0x1b176e,0x4e7,_0x393726._0x30ed72,_0x393726._0x2acc33)),_0x5a1611=_0x158c19['config'][_0x14fb93(0x41f,0x443,_0x393726._0x1ce643,_0x393726._0x22feea)](_0x14fb93(_0x393726._0x343d77,0x4ae,_0x393726._0x3b6a50,0x455))!==!0x1,_0x541322=_0x158c19[_0x52f81f(0x196,_0x393726._0x508d6f,0xb3,0x166)][_0x52f81f(0x22f,0x215,_0x393726._0x5ba961,0x29d)](_0x52f81f(_0x393726._0x44b0a6,0x461,_0x393726._0x33d6d7,_0x393726._0x555178))??0x2,_0xdbc256=_0x158c19['config']['get'](_0x14fb93(0x658,0x477,0x41c,_0x393726._0x4dd2c7))??0xfa,[_0x380c10,_0x42451f]=_0x2ef915({}),[_0x4bd1fb,_0x25fe52]=_0x2ef915({}),[_0x386cea,_0x5db26c]=_0x2ef915(null),_0x298252=_0x158c19[_0x52f81f(_0x393726._0x28615d,0x9f,_0x393726._0x3da0b8,_0x393726._0x3e9ea3)]?.[_0x52f81f(0x320,0x1ac,0x1e4,_0x393726._0x28d0a1)](),_0x4c275e=_0x13f8bc(!0x1);function _0x52f81f(_0x4718a5,_0x18790d,_0x47298f,_0x512d66){return _0x593b39(_0x4718a5-0x32,_0x47298f-_0x2ab0c0._0x471c87,_0x18790d,_0x512d66-0x38);}function _0x14fb93(_0x1ae8ff,_0x5b82ee,_0x125546,_0x5caef7){return _0x593b39(_0x1ae8ff-_0x2896ed._0x40c7a7,_0x5caef7-_0x2896ed._0x375599,_0x5b82ee,_0x5caef7-0x165);}_0x2125d4(()=>{const _0x2aa19f={_0x94622d:0x2a},_0x120646={_0x328549:0xdc,_0x1d308a:0x386},_0x51f93c={_0x149cbe:0x347,_0x51c0f3:0x33a,_0xb33730:0x1b7},_0x16718b={_0x3d024f:0xe8,_0x56d6a0:0x313};function _0x31a16e(_0x56ae3c,_0x4379f9,_0x2ee5fe,_0x50fae3){return _0x14fb93(_0x56ae3c-0xbb,_0x56ae3c,_0x2ee5fe-0xb5,_0x50fae3- -0x65);}if(_0x87d3e5[_0x19efba(_0x403203._0x5d5f7c,0x5f7,_0x403203._0xeeaa10,0x77f)]===0x0||_0x4c275e[_0x31a16e(_0x403203._0xc74f18,0x497,0x1a9,0x343)])return;_0x4c275e[_0x19efba(0x4d5,_0x403203._0xd50ec8,_0x403203._0x1fe6a0,_0x403203._0x4d17f7)]=!0x0;let _0x299e95=new AbortController(),_0x3dac06=async _0x259752=>{const _0x4f973e={_0x2a75b8:0x35,_0x247a17:0x1a8};let _0x3cf826=nl(_0x259752);if(_0x3cf826){_0x42451f(_0x5c7b67=>({..._0x5c7b67,[_0x259752]:_0x3cf826}));return;}function _0x544ae9(_0x40b1ec,_0x5ce7b3,_0x52ee5f,_0x42f479){return _0x31a16e(_0x52ee5f,_0x5ce7b3-_0x4f973e._0x2a75b8,_0x52ee5f-0xb8,_0x40b1ec- -_0x4f973e._0x247a17);}function _0x2c879c(_0x104952,_0x9c9b17,_0x163fa0,_0x2a56e6){return _0x31a16e(_0x2a56e6,_0x9c9b17-0x71,_0x163fa0-_0x16718b._0x3d024f,_0x163fa0- -_0x16718b._0x56d6a0);}_0x25fe52(_0x1fc06a=>({..._0x1fc06a,[_0x259752]:!0x0}));try{let _0x4e9e64=_0x298252?await _0x298252[_0x544ae9(0x1fe,_0x51f93c._0x149cbe,0xa4,0x7b)](_0x259752,_0x299e95[_0x2c879c(0x17b,0x14c,0x23d,0x33b)]):[],_0x32253d=_0x4e9e64[_0x544ae9(0x2f3,_0x51f93c._0x51c0f3,0x3b8,_0x51f93c._0xb33730)]>0x0?_0x4e9e64:_0x374653[_0x259752]??[];il(_0x259752,_0x32253d),_0x42451f(_0x32c14f=>({..._0x32c14f,[_0x259752]:_0x32253d}));}catch{_0x42451f(_0x3fcf01=>({..._0x3fcf01,[_0x259752]:_0x374653[_0x259752]??[]}));}finally{_0x25fe52(_0x12fb5c=>({..._0x12fb5c,[_0x259752]:!0x1}));}};for(let _0xbbd8ca of _0x87d3e5)_0x3dac06(_0xbbd8ca);function _0x19efba(_0x8746fc,_0x5388cc,_0x36858f,_0x1c3661){return _0x52f81f(_0x8746fc-0xa2,_0x1c3661,_0x5388cc-0x302,_0x1c3661-0x16c);}return()=>{function _0x4eb82f(_0x59f1db,_0xd36c94,_0x583fcc,_0x3b5449){return _0x31a16e(_0x583fcc,_0xd36c94-0xa6,_0x583fcc-_0x120646._0x328549,_0x59f1db- -_0x120646._0x1d308a);}_0x299e95[_0x4eb82f(0x1bb,0x1d0,_0x2aa19f._0x94622d,0x1e4)]();};},[_0x87d3e5,_0x298252]);let _0x19d541=_0x2d1cbb(()=>{const _0x2c0deb={_0x548109:0x11d,_0x32bffe:0xf2,_0x3f3a19:0x4ed};let _0x42d933=[];_0x42d933[_0x125e3e(-0x193,-_0x2db05f._0x3f3c44,-0xbb,-0x11f)]({'label':_0x125e3e(-_0x2db05f._0x239f0a,-0x3f8,-0x253,-_0x2db05f._0x4f6798),'value':_0x43b721(0x279,_0x2db05f._0x1b6ba7,0x3fd,0x363),'group':_0x43b721(0x202,0x406,_0x2db05f._0x2e5004,_0x2db05f._0x151cc3)}),_0x42d933[_0x43b721(0x409,0x464,0x34a,0x3f7)]({'label':'Disable\x20active\x20recall','value':_0x43b721(_0x2db05f._0x2f573b,_0x2db05f._0x2f367b,_0x2db05f._0x45b578,_0x2db05f._0x5d7e05),'group':_0x43b721(0x1e3,_0x2db05f._0x3ca846,_0x2db05f._0x386152,0x29d)}),_0x42d933[_0x125e3e(-_0x2db05f._0x79423b,-_0x2db05f._0x55166d,-0xbb,_0x2db05f._0x1635ec)]({'label':_0x43b721(0x34d,_0x2db05f._0x1939e2,0x35e,0x298),'value':_0x43b721(_0x2db05f._0x3d60a7,_0x2db05f._0x595a44,0x2e3,_0x2db05f._0x543b97),'group':_0x43b721(_0x2db05f._0x3f7aa3,0x30c,0x12e,_0x2db05f._0x158614)}),_0x42d933[_0x125e3e(0x2d,-_0x2db05f._0x20f9dc,-0xbb,_0x2db05f._0x2fa031)]({'label':'Max\x20queries/turn:\x202','value':_0x43b721(_0x2db05f._0x35a81,0x4c2,0x532,0x463),'group':'Active\x20Recall'}),_0x42d933['push']({'label':_0x43b721(_0x2db05f._0x482dc4,0x329,_0x2db05f._0x513af1,0x48a),'value':'__max_queries_3__','group':_0x125e3e(-_0x2db05f._0x527a34,-0x20d,-_0x2db05f._0x121c35,-_0x2db05f._0x25a909)}),_0x42d933['push']({'label':_0x43b721(0x470,0x64b,_0x2db05f._0x3d4713,0x547),'value':'__core_budget_150__','group':'Core\x20Injection'}),_0x42d933[_0x43b721(_0x2db05f._0x3206dd,_0x2db05f._0x13d2e0,_0x2db05f._0x2695d9,0x3f7)]({'label':_0x125e3e(-0x6c,-_0x2db05f._0x16104b,0x51,-_0x2db05f._0x124b02),'value':_0x125e3e(-0x2c7,-_0x2db05f._0xe94fd1,-0x25c,-_0x2db05f._0x23ac66),'group':'Core\x20Injection'}),_0x42d933[_0x125e3e(-0x196,-_0x2db05f._0x429d0c,-0xbb,-_0x2db05f._0x441ef1)]({'label':_0x43b721(_0x2db05f._0x42efe2,0x3ab,0x424,0x3d7),'value':_0x125e3e(-0xe1,-_0x2db05f._0x4aef9e,-_0x2db05f._0xc5798,0x52),'group':'Core\x20Injection'}),_0x42d933['push']({'label':_0x125e3e(-_0x2db05f._0x438b67,-0x349,-0x20b,-0x2b6),'value':_0x125e3e(_0x2db05f._0x458e91,_0x2db05f._0x3f9899,_0x2db05f._0x422956,0xc9),'group':_0x125e3e(-0x106,-_0x2db05f._0x58f84a,-_0x2db05f._0x9caadf,0x2b)});function _0x43b721(_0x5bfb65,_0x361820,_0x5c419d,_0x5ac990){return _0x52f81f(_0x5bfb65-0x70,_0x5bfb65,_0x5ac990-0x1d0,_0x5ac990-0x17);}function _0x125e3e(_0x3f5f23,_0x122733,_0x500622,_0x1d4413){return _0x14fb93(_0x3f5f23-_0x2c0deb._0x548109,_0x122733,_0x500622-_0x2c0deb._0x32bffe,_0x500622- -_0x2c0deb._0x3f3a19);}for(let _0x4f551b of _0x87d3e5){let _0x3bf04f=_0x11c28b(_0x4f551b),_0x581aeb=_0x380c10[_0x4f551b]??[];if(_0x4bd1fb[_0x4f551b]&&_0x581aeb[_0x125e3e(-0x2e,-0xf6,0x13,0x3e)]===0x0)_0x42d933[_0x125e3e(-0x35,0xc0,-0xbb,0x84)]({'label':'Loading...','value':_0x125e3e(-0x2ca,-_0x2db05f._0x8834bf,-0x11a,_0x2db05f._0x1635ec)+_0x4f551b,'group':_0x3bf04f});else{for(let _0x125c4a of _0x581aeb)_0x42d933[_0x43b721(0x3bc,0x58e,0x54c,0x3f7)]({'label':_0x125c4a,'value':_0x4f551b+'::'+_0x125c4a,'group':_0x3bf04f});}}return _0x42d933;},[_0x87d3e5,_0x380c10,_0x4bd1fb]),_0x3881b4=async _0x16552c=>{const _0x1d1d85={_0x100e11:0x33,_0x1c5418:0x7e,_0xb0b567:0x415};function _0x42e9b6(_0x347c72,_0x1fed4b,_0x596ae3,_0x47b05b){return _0x14fb93(_0x347c72-_0x1d1d85._0x100e11,_0x1fed4b,_0x596ae3-_0x1d1d85._0x1c5418,_0x596ae3- -_0x1d1d85._0xb0b567);}function _0x442b73(_0x42ee2f,_0x23a053,_0x607e62,_0x2dc8d5){return _0x52f81f(_0x42ee2f-0x1dd,_0x42ee2f,_0x23a053- -_0x528ee1._0x381a70,_0x2dc8d5-0x45);}if(!_0x16552c[_0x42e9b6(_0x5643f3._0x13c73f,-0x3f,0xc7,-0x7c)][_0x42e9b6(0x1e9,0x23,0x90,0x184)](_0x442b73(-0xad,-_0x5643f3._0x1304b3,-_0x5643f3._0x1cee1c,-_0x5643f3._0x42f278)))try{if(_0x16552c['value']===_0x42e9b6(0x12f,-_0x5643f3._0x2e5949,-_0x5643f3._0x2428c4,_0x5643f3._0x5eabb8))await _0x158c19[_0x442b73(-0x2e1,-0x1f1,-0x47,-_0x5643f3._0x5dc098)][_0x442b73(_0x5643f3._0x3536e9,0x82,-_0x5643f3._0x167226,-_0x5643f3._0x1cc653)](_0x442b73(0x125,-0x5a,0xc4,-_0x5643f3._0x4ab1e9),!0x0,_0x42e9b6(_0x5643f3._0x36884c,0x4f,0x2b,-0x35));else{if(_0x16552c[_0x442b73(-0x15d,0x2d,_0x5643f3._0x56d9c6,-_0x5643f3._0xe47ca7)]===_0x442b73(-0xd2,-0x19c,-_0x5643f3._0x1cadff,-0xa8))await _0x158c19[_0x442b73(-0xb9,-0x1f1,-_0x5643f3._0x2f589f,-_0x5643f3._0x48db29)]['set'](_0x442b73(0x3a,-_0x5643f3._0x2ad4c7,-_0x5643f3._0x14f848,-0x6a),!0x1,_0x42e9b6(-0x77,-_0x5643f3._0x8f86da,0x2b,-_0x5643f3._0x5be492));else{if(_0x16552c[_0x42e9b6(0x1d5,_0x5643f3._0xe102e2,0xc7,0x3e)]==='__max_queries_1__')await _0x158c19[_0x442b73(-0x24e,-_0x5643f3._0x575f65,-_0x5643f3._0x539567,-_0x5643f3._0xcb3ea6)][_0x442b73(-0x2,_0x5643f3._0x1212b4,-0x86,-0x6d)](_0x442b73(-0x37,_0x5643f3._0x331351,_0x5643f3._0x582422,-_0x5643f3._0xcf507e),0x1,_0x42e9b6(0x1a3,_0x5643f3._0x1cb375,0x2b,-_0x5643f3._0x2b8a79));else{if(_0x16552c[_0x442b73(0x143,_0x5643f3._0xbc8e36,0xc3,0x11c)]===_0x442b73(-0x165,-_0x5643f3._0x13caba,0x160,0x12b))await _0x158c19['config'][_0x42e9b6(0x232,0x6f,_0x5643f3._0x2c8a3e,0xad)]('memory.retrieval.maxQueriesPerTurn',0x2,_0x442b73(-0x97,-0x6f,_0x5643f3._0x559235,-0x112));else{if(_0x16552c[_0x442b73(_0x5643f3._0x4277a8,_0x5643f3._0x156fd8,-_0x5643f3._0x115e8a,_0x5643f3._0x201d6e)]===_0x42e9b6(0x96,-_0x5643f3._0x33af77,-_0x5643f3._0x5e612f,-0xd7))await _0x158c19['config'][_0x442b73(0xa7,0x82,-_0x5643f3._0x1e654f,_0x5643f3._0x2d1f00)]('memory.retrieval.maxQueriesPerTurn',0x3,_0x42e9b6(_0x5643f3._0x40caeb,_0x5643f3._0x5b83b0,0x2b,_0x5643f3._0x1a38c5));else{if(_0x16552c[_0x42e9b6(-_0x5643f3._0x168501,_0x5643f3._0x3c0a05,_0x5643f3._0x1292cc,0x185)]==='__core_budget_150__')await _0x158c19[_0x42e9b6(-_0x5643f3._0x446b92,-0x295,-_0x5643f3._0x240187,-0xe5)]['set'](_0x442b73(0x19,0x95,-0x72,-0x93),0x96,_0x42e9b6(-0xf,0x128,_0x5643f3._0x404cc3,-_0x5643f3._0x56be7f));else{if(_0x16552c['value']===_0x442b73(-_0x5643f3._0x2875bc,-_0x5643f3._0x3c0e11,-_0x5643f3._0x3a7dbb,-_0x5643f3._0xe99a45))await _0x158c19[_0x42e9b6(-_0x5643f3._0x5b1108,-0x2dd,-0x157,-_0x5643f3._0x64823b)]['set']('memory.retrieval.coreInjectTokenBudget',0xfa,_0x42e9b6(-_0x5643f3._0x337f15,0xb9,0x2b,0x154));else{if(_0x16552c[_0x442b73(-_0x5643f3._0x57de63,0x2d,-_0x5643f3._0x18f306,-0x151)]==='__core_budget_400__')await _0x158c19[_0x442b73(-_0x5643f3._0x48db29,-_0x5643f3._0x4231ae,-0x324,-0x10e)][_0x442b73(-_0x5643f3._0x14af1d,0x82,0xcb,-0x11a)](_0x442b73(_0x5643f3._0x4cb3aa,0x95,_0x5643f3._0x110579,0x13b),0x190,_0x442b73(0x135,-_0x5643f3._0x1aad8b,-_0x5643f3._0x3af06f,0xa8));else{if(_0x16552c[_0x442b73(0x8d,_0x5643f3._0x371cdb,-_0x5643f3._0x39799f,_0x5643f3._0x414619)]===_0x442b73(_0x5643f3._0x4d0d7d,_0x5643f3._0x4dcd9b,0xb1,0x1c0))await _0x158c19['config'][_0x42e9b6(0xc,-_0x5643f3._0x2df658,-_0x5643f3._0xdde5e6,-_0x5643f3._0xdf536b)](_0x442b73(_0x5643f3._0x3fd005,_0x5643f3._0x537a23,0x12e,0x36),_0x42e9b6(_0x5643f3._0x197b4d,0xff,_0x5643f3._0x404cc3,0x1dc)),await _0x158c19['config'][_0x442b73(-_0x5643f3._0x35e9c4,-0x220,-0x39d,-_0x5643f3._0x42bf27)](_0x42e9b6(_0x5643f3._0xeece89,_0x5643f3._0x1836a9,_0x5643f3._0x26d466,0x2fa),_0x42e9b6(-_0x5643f3._0x20be78,-0x111,0x2b,_0x5643f3._0x1d2b9c)),await _0x158c19[_0x42e9b6(-_0x5643f3._0x3ba740,-0x63,-0x157,-0x2ff)][_0x42e9b6(-_0x5643f3._0x520662,-0x29e,-_0x5643f3._0x1a27c2,-_0x5643f3._0x3ca656)](_0x42e9b6(-0x194,0xfd,0x9,_0x5643f3._0x47b3b5),_0x42e9b6(0x16e,0x10d,_0x5643f3._0x404cc3,_0x5643f3._0x3f3b15)),await _0x158c19['config'][_0x442b73(-_0x5643f3._0x4af0df,-0x220,-_0x5643f3._0x6b5624,-_0x5643f3._0x63cee6)](_0x42e9b6(0xcc,0x1ea,0x10b,-0x38),_0x42e9b6(-_0x5643f3._0x18ed67,0x1cc,0x2b,-_0x5643f3._0x1fbfe0)),await _0x158c19[_0x42e9b6(-_0x5643f3._0x1d130f,-_0x5643f3._0x6bfc44,-0x157,-_0x5643f3._0x3752e7)][_0x442b73(-_0x5643f3._0x81bc78,-_0x5643f3._0x5b3ef4,-_0x5643f3._0x594193,-0x2cf)]('memory.retrieval.activeEnabled','global'),await _0x158c19[_0x442b73(-0xcc,-0x1f1,-0x156,-0x2db)][_0x42e9b6(-_0x5643f3._0x2788ca,-_0x5643f3._0x16bcc3,-_0x5643f3._0x304192,-_0x5643f3._0x48d767)]('memory.retrieval.maxQueriesPerTurn',_0x42e9b6(-_0x5643f3._0x1de65,-_0x5643f3._0x5e612f,0x2b,-0xaf)),await _0x158c19[_0x42e9b6(-0x214,-0x247,-_0x5643f3._0x2bdb66,-0xae)][_0x442b73(-0xeb,-_0x5643f3._0x5b3ef4,-0xc3,-_0x5643f3._0x2ba3a0)]('memory.retrieval.coreInjectTokenBudget',_0x442b73(-_0x5643f3._0xf20533,-_0x5643f3._0x1aad8b,-0x1a2,-_0x5643f3._0x2792ad));else{let [_0x25aac4,_0x25d5dd]=_0x16552c[_0x442b73(0xa9,0x2d,-0x4e,-_0x5643f3._0x21aa39)][_0x442b73(-0xbf,-0xb6,-0x19f,0xc0)]('::');if(!_0x25aac4||!_0x25d5dd)return;await _0x158c19['config']['set'](_0x442b73(_0x5643f3._0xd89b62,0xd6,-0x7a,0xc5),_0x25aac4,'global'),await _0x158c19[_0x442b73(-0x4b,-_0x5643f3._0x575f65,-_0x5643f3._0x2eef8f,-0x2f7)]['set'](_0x42e9b6(0x261,_0x5643f3._0x56cc01,0x1b8,_0x5643f3._0x5e23f9),_0x25d5dd,_0x442b73(_0x5643f3._0x582422,-0x6f,0xde,-_0x5643f3._0x56547e));}}}}}}}}}_0x5b1995();}catch(_0x30b276){_0x5db26c(_0x30b276 instanceof Error?_0x30b276['message']:_0x42e9b6(-0xf1,-0xbd,_0x5643f3._0x204e10,_0x5643f3._0x542f61));}},_0x262d6f=Math[_0x14fb93(_0x393726._0xc24db2,_0x393726._0xd49f9e,_0x393726._0x510784,_0x393726._0x514722)](_0x2db51e-0x4,0x18),_0x3efc62=_0xf224bc&&_0x470691?_0xf224bc+_0x14fb93(0x584,0x659,0x50a,_0x393726._0x2e8fc8)+_0x470691:_0x14fb93(0x437,_0x393726._0x57d15f,_0x393726._0x1add65,_0x393726._0x5852ef),_0x5ce88b=_0x14fb93(0x462,_0x393726._0x54302e,0x5f3,_0x393726._0x399941)+(_0x5a1611?'on':_0x14fb93(0x4d0,_0x393726._0x57138d,_0x393726._0x312383,0x4b6))+'\x20q:'+_0x541322+_0x52f81f(_0x393726._0x3044ce,0x245,0xc3,0x1d4)+_0xdbc256,_0x44dd49=_0x1ddcf4(_0xe864e6,{'dimColor':!0x0,'children':_0x3efc62+_0x52f81f(_0x393726._0x4b69a5,_0x393726._0x22e045,_0x393726._0x79c77e,_0x393726._0x49f6a2)+_0x5ce88b});return _0x87d3e5[_0x52f81f(_0x393726._0x2ee9fd,0x343,0x2f5,_0x393726._0x5aef4f)]===0x0?_0x1ddcf4(_0x32a44e,{'visible':!0x0,'title':_0x14fb93(_0x393726._0x5194ab,_0x393726._0x1cce17,_0x393726._0x2e51ce,_0x393726._0x586d7f),'onClose':_0x5b1995,'closeOnEscape':!0x0,'height':0x8,'children':_0x463b73(_0x4664fe,{'flexDirection':_0x52f81f(_0x393726._0x2f2fc2,0x422,0x2cc,_0x393726._0x5e0f3f),'children':[_0x1ddcf4(_0xe864e6,{'color':_0x21b10e[_0x52f81f(_0x393726._0x14933d,_0x393726._0x301a0c,_0x393726._0x3bc8ed,0x242)][_0x52f81f(_0x393726._0x4faf31,0x378,0x33d,_0x393726._0x429bf8)],'children':'No\x20providers\x20configured.'}),_0x1ddcf4(_0xe864e6,{'color':_0x21b10e[_0x52f81f(_0x393726._0x3d4ca1,_0x393726._0x42cb2b,0x2e0,0x305)][_0x52f81f(0x301,_0x393726._0x19b318,_0x393726._0x257a67,0x3ff)],'dimColor':!0x0,'children':_0x52f81f(_0x393726._0x425a3f,_0x393726._0x31e302,0x348,_0x393726._0x55af43)})]})}):_0x1ddcf4(_0x32a44e,{'visible':!0x0,'title':_0x52f81f(0x205,_0x393726._0x51750c,0x8d,_0x393726._0x5d828b),'rightTitle':_0x44dd49,'onClose':_0x5b1995,'closeOnEscape':!0x0,'closeOnEnter':!0x1,'footer':_0x1ddcf4(_0x4664fe,{'marginLeft':0x1,'flexGrow':0x1,'marginRight':0x1,'flexShrink':0x0,'children':_0x1ddcf4(_0x1fb0f6,{'segments':[{'text':'↑↓','highlight':!0x0},{'text':_0x52f81f(0x27e,0x22a,0xf8,_0x393726._0x447ecd)},{'text':_0x52f81f(_0x393726._0x479940,_0x393726._0x52e1b6,0x15c,_0x393726._0x41292c),'highlight':!0x0},{'text':'\x20select\x20•\x20'},{'text':_0x14fb93(0x684,_0x393726._0x2df3ab,0x74f,0x5d7),'highlight':!0x0},{'text':_0x14fb93(_0x393726._0x1afcbf,0x4a8,_0x393726._0x2159f2,_0x393726._0x224868)}]})}),'height':_0x262d6f,'children':_0x463b73(_0x4664fe,{'flexDirection':_0x14fb93(0x639,0x66b,_0x393726._0x1f2525,_0x393726._0x1b4b34),'flexGrow':0x1,'overflow':_0x14fb93(0x622,0x588,0x59e,0x4d3),'children':[_0x386cea&&_0x1ddcf4(_0x4664fe,{'marginBottom':0x1,'children':_0x1ddcf4(_0xe864e6,{'color':_0x21b10e[_0x14fb93(0x65c,0x5d9,0x36b,_0x393726._0x259751)]['error'],'children':_0x386cea})}),_0x1ddcf4(_0x3af82d,{'items':_0x19d541,'placeholder':'Type\x20to\x20search\x20models...','enableRotation':!0x0,'showItemCount':!0x1,'focus':_0x2e8324,'onSelect':_0x3881b4,'onCancel':_0x5b1995})]})});};import{jsx as _0x31460d}from'react/jsx-runtime';var ll=({context:_0xf1b80c,deactivate:_0x59a10c,isActive:_0x2dfa74})=>{const _0x4c98e1={_0xeb0e17:0xc8,_0x5bb541:0x141,_0x6a12f5:0x4c4,_0x4adbc9:0x5f0,_0x4a3032:0x28c,_0x3baa5b:0x17b,_0x4563d3:0x201,_0x1de978:0x1f1,_0x5a9990:0xb2,_0x1d0e1c:0x247,_0x460d8c:0x14c,_0x4e99aa:0x10b,_0x2a9001:0x1b8,_0x2608fc:0x54b,_0xfa0c81:0x632,_0x34be4c:0x566,_0x4e3670:0x38,_0x415a90:0xec,_0x1cd3c9:0x338,_0x2ba04c:0xe2,_0x3448de:0x3c8,_0x7bdb4f:0x41a,_0x1b3854:0x25f,_0x2c985f:0x1ac,_0x3a8608:0xc,_0x1b9b7a:0x1a,_0x29aa8a:0x29b,_0x103144:0xd0},_0x4bfbed={_0x308dec:0x4fd,_0x5d5b0c:0x4a8,_0x3d29ac:0x119,_0x1acd72:0x7b},_0x35749b={_0x31fabe:0x4d,_0x119cda:0x1a4},_0x2c4308={_0x121af0:0x2fe,_0x29d8f8:0x5e4,_0x960d70:0x754,_0x3f0008:0x3b2,_0x13ab8f:0x3e6},_0x4e55c5={_0x4c9b16:0xb7,_0x365d17:0x4e},_0x325e8d={_0x5ce77c:0x345};function _0x4524e5(_0x2f936f,_0x2581b4,_0x54ac13,_0x22d191){return _0x593b39(_0x2f936f-0x1c6,_0x2f936f-_0x325e8d._0x5ce77c,_0x22d191,_0x22d191-0x15a);}function _0x22f5ba(_0xc3501f,_0x5bc851,_0x37b846,_0x25f5ba){return _0x593b39(_0xc3501f-_0x4e55c5._0x4c9b16,_0x25f5ba- -0x23b,_0xc3501f,_0x25f5ba-_0x4e55c5._0x365d17);}let _0x511116=_0xf1b80c[_0x22f5ba(-0xde,-0x322,-0x282,-0x222)][_0x22f5ba(0x20,-0x141,-_0x4c98e1._0xeb0e17,-_0x4c98e1._0x5bb541)]()['split'](/\s+/)[0x1]?.[_0x4524e5(0x4a0,_0x4c98e1._0x6a12f5,_0x4c98e1._0x4adbc9,0x5b5)](),{theme:_0x2e9fda}=_0x23be01(),[_0x500c74,_0x246f7a]=_0x3ee57f([]),[_0x26ea57,_0x454744]=_0x3ee57f(!0x0),[_0x335674,_0x5980bc]=_0x3ee57f(null),_0x37b3b7=_0xc2b4d0(async()=>{function _0x41bb72(_0x5d17c8,_0xbc7eff,_0x18e5d1,_0x3a1e3f){return _0x4524e5(_0x18e5d1- -0x24e,_0xbc7eff-0x1e8,_0x18e5d1-0x120,_0xbc7eff);}function _0x1f9682(_0x2adf2c,_0x5a0d00,_0x3948f5,_0x1f6bf3){return _0x22f5ba(_0x5a0d00,_0x5a0d00-0xf9,_0x3948f5-0x188,_0x2adf2c-0x4ff);}try{_0x454744(!0x0),_0x5980bc(null);let _0x51171b=_0xf1b80c[_0x1f9682(_0x2c4308._0x121af0,0x447,0x22a,0x33e)]?.[_0x1f9682(_0x2c4308._0x29d8f8,0x4e4,_0x2c4308._0x960d70,0x65d)]();if(!_0x51171b){_0x5980bc('Memory\x20is\x20not\x20enabled.\x20Set\x20memory.enabled\x20=\x20true\x20in\x20your\x20config.');return;}let _0x18643e=await _0x51171b[_0x1f9682(_0x2c4308._0x3f0008,0x4d9,0x2fe,_0x2c4308._0x13ab8f)]();_0x246f7a(_0x18643e);}catch(_0x482501){let _0x23cda0=_0x482501 instanceof Error?_0x482501['message']:String(_0x482501);_0x5980bc('Failed\x20to\x20load\x20memories:\x20'+_0x23cda0);}finally{_0x454744(!0x1);}},[_0xf1b80c['orchestratorManager']]);_0x3b368a(()=>{_0x37b3b7();},[_0x37b3b7]);let _0xbd2800=_0xc2b4d0(async _0x39947f=>{let _0x92f680=_0xf1b80c['orchestratorManager']?.[_0x4d747c(0x5b4,0x75c,_0x4bfbed._0x308dec,_0x4bfbed._0x5d5b0c)]();if(!_0x92f680)return;function _0x396ce3(_0x14548d,_0x4bb6f7,_0x1749a0,_0x1d21b4){return _0x4524e5(_0x4bb6f7- -0x491,_0x4bb6f7-0x136,_0x1749a0-0xed,_0x1d21b4);}function _0x4d747c(_0x24ce82,_0x5e5a21,_0xca253a,_0x3ab22f){return _0x4524e5(_0x24ce82- -0xb1,_0x5e5a21-_0x35749b._0x31fabe,_0xca253a-_0x35749b._0x119cda,_0x3ab22f);}await _0x92f680[_0x396ce3(0x2c8,_0x4bfbed._0x3d29ac,-0x7c,_0x4bfbed._0x1acd72)](_0x39947f)&&_0x246f7a(_0x5769e3=>_0x5769e3[_0x396ce3(0x145,0xb5,0xa3,0x235)](_0x5f3fd7=>_0x5f3fd7['id']!==_0x39947f));},[_0xf1b80c[_0x22f5ba(-0x16a,-_0x4c98e1._0x4a3032,-_0x4c98e1._0x3baa5b,-_0x4c98e1._0x4563d3)]]);return _0x511116===_0x22f5ba(-_0x4c98e1._0x1de978,-0x17b,-_0x4c98e1._0x5a9990,-_0x4c98e1._0x1d0e1c)?_0x31460d(Gr,{'context':_0xf1b80c,'deactivate':_0x59a10c,'isActive':_0x2dfa74}):_0x26ea57?_0x31460d(_0x32a44e,{'visible':!0x0,'title':_0x22f5ba(-0xfd,-_0x4c98e1._0x460d8c,-_0x4c98e1._0x4e99aa,-_0x4c98e1._0x2a9001),'onClose':_0x59a10c,'closeOnEscape':!0x0,'children':_0x31460d(_0x28d395,{'color':_0x2e9fda[_0x4524e5(0x566,_0x4c98e1._0x2608fc,_0x4c98e1._0xfa0c81,_0x4c98e1._0x34be4c)][_0x22f5ba(0x62,-_0x4c98e1._0x4e3670,-_0x4c98e1._0x415a90,0x43)],'children':_0x22f5ba(-0x17d,-_0x4c98e1._0x1cd3c9,-_0x4c98e1._0x2ba04c,-0x251)})}):_0x335674?_0x31460d(_0x32a44e,{'visible':!0x0,'title':_0x4524e5(_0x4c98e1._0x3448de,_0x4c98e1._0x7bdb4f,0x4a8,0x4c6),'titleColor':_0x2e9fda['colors'][_0x22f5ba(-0xbf,-_0x4c98e1._0x1b3854,-_0x4c98e1._0x2c985f,-0x236)],'type':_0x4524e5(0x34a,0x1db,0x1e2,0x201),'onClose':_0x59a10c,'closeOnEscape':!0x0,'children':_0x31460d(_0x28d395,{'color':_0x2e9fda[_0x22f5ba(_0x4c98e1._0x3a8608,-0xb9,0x175,-_0x4c98e1._0x1b9b7a)][_0x22f5ba(-0x15c,-_0x4c98e1._0x29aa8a,-_0x4c98e1._0x103144,-0x236)],'children':_0x335674})}):_0x31460d(Hr,{'visible':!0x0,'memories':_0x500c74,'onClose':_0x59a10c,'onDelete':_0xbd2800});};function ds(_0x2081d5){const _0x58117a={_0x61372a:0x3b1,_0x200230:0x3f5,_0x444856:0x9f,_0xf1e7b8:0xb6,_0x6f48d7:0x316,_0x3dbb73:0x1ce,_0x46ff00:0x1da,_0x48eeab:0x186,_0x2e2819:0x10c,_0x253099:0x8e,_0x3ccf3f:0x355,_0x203192:0x326},_0x221bb2={_0x1197e2:0x15d,_0x1b04b1:0x129},_0x58f1d5={_0xa8693e:0xd9};function _0x57524d(_0x5e945f,_0x157c64,_0x225213,_0x31253b){return _0x40e58d(_0x5e945f,_0x157c64-_0x58f1d5._0xa8693e,_0x31253b- -0xeb,_0x31253b-0x1cc);}function _0x1f1977(_0x3727bc,_0x277e5e,_0x29f6cd,_0x4cbc32){return _0x40e58d(_0x4cbc32,_0x277e5e-_0x221bb2._0x1197e2,_0x3727bc-0x265,_0x4cbc32-_0x221bb2._0x1b04b1);}_0x2081d5['register']({'id':'/memory','type':_0x1f1977(0x52e,0x5a7,0x65d,_0x58117a._0x61372a),'description':_0x1f1977(_0x58117a._0x200230,0x331,0x318,0x36e),'category':_0x57524d(-_0x58117a._0x444856,-_0x58117a._0xf1e7b8,0x5d,0x48),'keywords':['memory','memories',_0x57524d(_0x58117a._0x6f48d7,_0x58117a._0x3dbb73,_0x58117a._0x46ff00,_0x58117a._0x48eeab),_0x57524d(-_0x58117a._0x2e2819,0x16b,-_0x58117a._0x253099,0x8b),_0x1f1977(_0x58117a._0x3ccf3f,0x1b5,_0x58117a._0x203192,0x1bf)],'component':ll});}import{execSync as _0x51cb66,spawnSync as _0x2a5d32}from'child_process';import _0xf781c2 from'fs';import _0x1e5dc7 from'os';import _0x1edd48 from'path';import{fileURLToPath as _0x231f14}from'url';import _0x14d0ec from'chalk';function jr(_0x25775f){const _0x4f79e4={_0x48e250:0x25a,_0xbcdc89:0x4a4,_0x579a7f:0x2f3,_0x12cbba:0x441,_0x4ec469:0x3b3,_0xf04ee1:0x434,_0xdfa344:0x1b6,_0x87acd0:0x44a,_0x355a54:0x303,_0x45d8ea:0x251,_0x1bed46:0x377,_0x1265d1:0x4ce},_0x399fb7={_0x10c20d:0x15},_0x315743={_0x144db7:0x27d};function _0x4d8f06(_0x4ad2b3,_0x47e564,_0x59075a,_0x28b496){return _0x593b39(_0x4ad2b3-0x13b,_0x59075a-_0x315743._0x144db7,_0x28b496,_0x28b496-0x1b1);}function _0x434313(_0x2dcf4b,_0x417898,_0x419430,_0x568a11){return _0x593b39(_0x2dcf4b-0x11b,_0x417898- -0x317,_0x568a11,_0x568a11-_0x399fb7._0x10c20d);}try{return _0x51cb66(_0x4d8f06(0x38c,0x343,_0x4f79e4._0x48e250,0x372)+_0x25775f,{'encoding':_0x4d8f06(_0x4f79e4._0xbcdc89,_0x4f79e4._0x579a7f,_0x4f79e4._0x12cbba,_0x4f79e4._0x4ec469),'stdio':['pipe',_0x434313(-0x3ba,-0x2b8,-0x434,-_0x4f79e4._0xf04ee1),_0x434313(-_0x4f79e4._0xdfa344,-0x2b8,-_0x4f79e4._0x87acd0,-_0x4f79e4._0x355a54)]})[_0x4d8f06(_0x4f79e4._0x45d8ea,0x47c,_0x4f79e4._0x1bed46,_0x4f79e4._0x1265d1)]()||null;}catch{return null;}}function dl(){const _0x4903a8={_0x5229b0:0x359,_0x1db010:0x63b,_0x51d331:0x42e,_0x2a5c2d:0x2d9},_0x45d2ba={_0xdc8345:0x134,_0x38deef:0x385},_0x4c17f0={_0x51001f:0xfa};function _0x5da329(_0x4e26d9,_0x1c1765,_0x39d904,_0x25116f){return _0x593b39(_0x4e26d9-0x40,_0x39d904-0x3cf,_0x25116f,_0x25116f-_0x4c17f0._0x51001f);}function _0x58194c(_0x2456ac,_0x318b24,_0x40cef4,_0x1a42c1){return _0x593b39(_0x2456ac-_0x45d2ba._0xdc8345,_0x318b24-_0x45d2ba._0x38deef,_0x1a42c1,_0x1a42c1-0x28);}return _0x2a5d32('/usr/bin/python3',['-c',_0x58194c(0x418,0x3a5,_0x4903a8._0x5229b0,0x37e)],{'encoding':_0x58194c(_0x4903a8._0x1db010,0x549,0x3d1,0x487),'stdio':[_0x5da329(0x3a6,0x381,_0x4903a8._0x51d331,_0x4903a8._0x2a5c2d),'pipe','pipe']})['status']===0x0;}function ul(){const _0x2714b3={_0xdb0b5c:0xc6,_0x42e73d:0x5a,_0x3a2e42:0x69,_0x40eb33:0xdb,_0x12874e:0x1ab,_0x5a7831:0xc,_0x3e8fbf:0x42,_0x7d068d:0x139,_0x203f8e:0x1de,_0x545ef6:0x47,_0x1f0e0a:0x5b,_0x54c409:0x1b2},_0x49d71a={_0x2f31bb:0x198},_0x4da838={_0x2f36e8:0x2f,_0x562872:0x267,_0x591b6c:0x13d};function _0x1b2ec7(_0x541140,_0x5223a6,_0xcf3cbe,_0x4ff56d){return _0x40e58d(_0x541140,_0x5223a6-_0x4da838._0x2f36e8,_0xcf3cbe- -_0x4da838._0x562872,_0x4ff56d-_0x4da838._0x591b6c);}function _0x45f92e(_0x39b901,_0x426830,_0x15b4b2,_0x356efb){return _0x593b39(_0x39b901-0x1b4,_0x15b4b2- -_0x49d71a._0x2f31bb,_0x39b901,_0x356efb-0x190);}return _0x2a5d32('brew',['install',_0x45f92e(-_0x2714b3._0xdb0b5c,-0x20c,-_0x2714b3._0x42e73d,-0xdd)],{'encoding':'utf-8','stdio':[_0x45f92e(-_0x2714b3._0x3a2e42,-_0x2714b3._0x40eb33,-0x139,-_0x2714b3._0x12874e),'pipe',_0x45f92e(-_0x2714b3._0x5a7831,_0x2714b3._0x3e8fbf,-_0x2714b3._0x7d068d,-_0x2714b3._0x203f8e)]})[_0x1b2ec7(-_0x2714b3._0x545ef6,-_0x2714b3._0x1f0e0a,0x154,_0x2714b3._0x54c409)]===0x0;}var Lt=_0x14d0ec['green']('✅'),Ot=_0x14d0ec[_0x593b39(0x31d,0x29c,0x3a9,0x118)]('❌'),zr=_0x14d0ec[_0x40e58d(0x35d,0x3f9,0x3e1,0x36d)]('⚠️\x20'),So=_0x14d0ec[_0x40e58d(0x1f2,0x2bc,0x254,0x1c7)]('→'),X='\x20\x20';async function gl(_0x10c0f4){const _0x4ef1ad={_0x493fa4:0x2a,_0x29ccb3:0x69,_0x33f785:0x35,_0x348764:0x262,_0x3fbbea:0x2cb,_0x10c625:0x21,_0x2c2b3c:0x13b,_0xe43898:0x16f,_0x1fc07e:0x7,_0x52c431:0x5b,_0xfefd14:0x23,_0x45ad28:0xc,_0xbdf01d:0xc5,_0x132ddd:0x2a5,_0x4c7cd1:0x1ec,_0x294515:0x1de,_0x337e2a:0x210,_0x3db082:0xf1,_0x7f0927:0xaa,_0x23fd90:0x5e,_0x4995da:0x17,_0x508261:0x5f,_0x2d25a3:0x101,_0x2e37e5:0x231,_0x1b5f06:0x22a,_0x50df50:0x18a,_0x9707ef:0x27,_0x2c6f81:0x0,_0x46e753:0x1bd,_0x3698b5:0x211,_0x294275:0x118,_0x138fd7:0x165,_0x2fd010:0x14c,_0x1a6279:0x7f,_0xe64f79:0x62,_0x3134ad:0x196,_0x207afa:0xd8,_0x2ebe5c:0x115,_0x943f0b:0x175,_0x537d9e:0x142,_0x32d02:0x172,_0x566290:0xec,_0x3cbc30:0x3cd,_0x4cbedf:0x497,_0x21e216:0x292,_0x5a50e0:0x2f2,_0x5aecf1:0x351,_0x3b004b:0x2f9,_0x4f46fa:0x35c,_0x22dbea:0x118,_0xbb025:0x13d,_0x4aff3e:0x27,_0x213031:0x170,_0x3e43b4:0x16b,_0x2ff07f:0x249,_0x4a84fd:0x22b,_0x2cd648:0x10c,_0x5a2a53:0x5e,_0x49ebec:0xe1,_0x5abd9d:0x155,_0x329e64:0x297,_0x3686c2:0x13c,_0x1268c5:0x26d,_0xfa141f:0x29f,_0x2ad300:0x250,_0x1b9ece:0x238,_0x23fa03:0xab,_0x4c68a4:0x1d,_0x57249d:0x409,_0x4706b4:0x22d,_0x22ba39:0x244,_0x506987:0x268,_0x5a7b15:0x2b8,_0x576768:0x60,_0x54af95:0x13d,_0x263104:0x37,_0x400285:0x14c,_0xdb6375:0x1b6,_0x54f800:0x29b,_0x1202e7:0x191,_0xf6931f:0x206,_0x581b6a:0x15f,_0x887f96:0x133,_0x15d408:0x2a8,_0x2ef2ce:0xe8,_0x1d70f2:0xbd,_0x577c90:0x4d,_0x22eecf:0x111,_0x1a9b65:0x274,_0x5e1631:0x1db,_0x4e61d2:0x301,_0x140db1:0x1f3,_0xf3a4a5:0x0,_0x4d0ae3:0x104,_0x1eee87:0x18e,_0x2ed1c6:0x35b,_0x3efee9:0x7b,_0x315e99:0x1cc,_0x3ba6a0:0x2b0,_0x4c38a4:0x159,_0x3721ec:0xd6,_0x598a4a:0xca,_0x1d6913:0x8d,_0x1bb8e4:0x9f,_0x411fc6:0x210,_0x5e8782:0x1ab,_0x170af2:0x1c2,_0x4920f3:0x9e,_0x1cb6cf:0x45,_0x389177:0x3e,_0x354123:0x93,_0x1db9eb:0x1d,_0x5ac7c5:0x217,_0x124e47:0x153,_0x372898:0x9a,_0x20a59d:0x11a,_0x15c0ff:0x307,_0x3c6f19:0x1d9,_0x5570e7:0xa8,_0x27a345:0x336,_0x539ca1:0x207,_0x245de1:0x213,_0x2ec8b3:0x1d4,_0x580440:0xba,_0x21c890:0x2dd,_0x2ad8f9:0x1eb,_0x126494:0xbf,_0x222ccd:0x1e2,_0x5b9f74:0x18f,_0xef3920:0x14,_0x40f7e7:0x163,_0x218262:0xc4,_0x384b7c:0x97,_0xe4f6aa:0x2c,_0x56c61d:0x75,_0x2ea2fd:0x69,_0x5a9cd1:0xe4,_0x5653db:0x60,_0x582ed7:0xe9,_0x34878e:0x375,_0x48fff8:0x2a2,_0xa8cbf6:0x1e1,_0x17bc4e:0xb9,_0x2f9425:0x1aa,_0x39be36:0x10,_0x4ffe35:0x151,_0x559f23:0x15c,_0xaee814:0x44,_0x3a8a82:0x20d,_0x1d9ac1:0x13d,_0x31ce94:0xfa,_0x3d14b2:0x1b7,_0x273fe9:0x80,_0x42048f:0x2cf,_0x82854:0x466,_0x5518be:0x185,_0x511abf:0x237,_0x267fb2:0x101,_0x1f6ebe:0x55,_0x1aacd3:0x212,_0xdf17e:0x92,_0x36f758:0xce,_0x283f66:0x3b,_0x4ad534:0x126,_0x2e0ca0:0x11c,_0x3ec0ca:0x3,_0x2b4728:0x2d6,_0x198336:0x130,_0x5d791e:0xe,_0x238b98:0x5a,_0x2f7a84:0xa2,_0x294704:0x7d,_0xa31868:0x7c,_0x4e413c:0x33,_0x4471e4:0x51,_0x2a471a:0x15e,_0x3470e3:0x94,_0x576469:0xd7,_0x141880:0xe2,_0x5c26ad:0x1d9,_0x13859c:0x47,_0x2bee6f:0x289,_0xbe7dff:0x1a9,_0x5a87da:0x2f4,_0x5dcbdd:0x17f,_0x236058:0x105,_0x4124f1:0x141,_0xb3d845:0x53,_0x190c5a:0x280,_0x460ec2:0x2c4,_0xae0420:0x2f9,_0x5659aa:0x11b,_0x2a9934:0x20f,_0x506495:0x460,_0x493250:0x2f1,_0xd4966:0x3e3,_0x92805:0x29,_0x471d49:0x1c7,_0x2c52e8:0x122,_0xd40f6:0x1e0,_0x4790ea:0x15b,_0x8252dc:0x166,_0x38b127:0x2c2,_0xc0ffe6:0x141,_0xc93d9f:0xc8,_0x5844fe:0x65,_0x218e8b:0x49,_0x4b2c42:0x25f,_0x3dd445:0x1fe,_0x3b1cc9:0x240,_0x49bad8:0x19c,_0x9ae2a4:0x13d,_0x2a495:0x63,_0x2064fc:0x2a},_0x17a60b={_0x4c93ac:0x45},_0x41a36a={_0x5751a4:0x41b};if(console[_0x3a06da(_0x4ef1ad._0x493fa4,0x2b,0x1db,_0x4ef1ad._0x29ccb3)](''),console[_0x4bb575(-0x4b,-0x151,-0x13d,_0x4ef1ad._0x33f785)]('🖥️\x20\x20'+_0x14d0ec[_0x4bb575(-0x155,-_0x4ef1ad._0x348764,-0x2f9,-_0x4ef1ad._0x3fbbea)]('Computer\x20Use\x20Tool\x20Setup')),console['log'](''),process['platform']!==_0x3a06da(-_0x4ef1ad._0x10c625,-_0x4ef1ad._0x2c2b3c,-0x1ad,-_0x4ef1ad._0xe43898)){console[_0x4bb575(-0x103,-0x2a3,-0x13d,_0x4ef1ad._0x1fc07e)](''+X+Ot+'\x20Computer\x20use\x20tool\x20is\x20only\x20supported\x20on\x20macOS'),console['log']('');return;}let _0x5b0e8b=_0x1edd48[_0x3a06da(_0x4ef1ad._0x52c431,-_0x4ef1ad._0xfefd14,-0x2c0,-0x10c)](_0x1e5dc7[_0x3a06da(-_0x4ef1ad._0x45ad28,0xf5,0x11,_0x4ef1ad._0xbdf01d)](),'.nuvin',_0x4bb575(-_0x4ef1ad._0x132ddd,-_0x4ef1ad._0x4c7cd1,-0x154,-0x303),_0x4bb575(-_0x4ef1ad._0x294515,-0x6c,-_0x4ef1ad._0x337e2a,-_0x4ef1ad._0x29ccb3)),_0xb1f918=_0x231f14(import.meta.resolve(_0x3a06da(-0x25,_0x4ef1ad._0x3db082,0x2ee,0x186))),_0x4105f2=_0x1edd48['resolve'](_0x1edd48[_0x4bb575(-0x1d1,_0x4ef1ad._0x7f0927,-_0x4ef1ad._0x23fd90,-0x163)](_0xb1f918),'..'),_0x40a470=_0x1edd48[_0x3a06da(-_0x4ef1ad._0x4995da,-0x44,-0xe,-0x10c)](_0x4105f2,_0x3a06da(_0x4ef1ad._0x508261,_0x4ef1ad._0x2d25a3,_0x4ef1ad._0x2e37e5,0x1a6),_0x4bb575(-_0x4ef1ad._0x1b5f06,-0x46a,-0x30f,-0x3fb),_0x3a06da(_0x4ef1ad._0x50df50,-_0x4ef1ad._0x9707ef,0x62,_0x4ef1ad._0x2c6f81),'ax-helper',_0x3a06da(-_0x4ef1ad._0x46e753,-_0x4ef1ad._0x3698b5,-0xda,-_0x4ef1ad._0x294275)),_0x2b835a=_0x10c0f4[_0x3a06da(0x71,-_0x4ef1ad._0x138fd7,-_0x4ef1ad._0x2fd010,-_0x4ef1ad._0x1a6279)]()[_0x3a06da(_0x4ef1ad._0xe64f79,-0x69,-_0x4ef1ad._0x3134ad,-0x4a)](/\s+/),_0x36c176=_0x2b835a[_0x4bb575(-0x27a,-0x3a5,-0x2bd,-0x2ce)](_0x3a06da(0x7a,_0x4ef1ad._0x207afa,_0x4ef1ad._0x2ebe5c,_0x4ef1ad._0x943f0b))||_0x2b835a['includes']('-f'),_0xb21055=!_0xf781c2[_0x4bb575(0x5b,-_0x4ef1ad._0x537d9e,-0xd9,-0x140)](_0x5b0e8b);if(!_0xb21055&&_0xf781c2[_0x3a06da(_0x4ef1ad._0x3db082,_0x4ef1ad._0x32d02,_0x4ef1ad._0x566290,0xcd)](_0x40a470)){let _0xd65083=_0xf781c2['statSync'](_0x5b0e8b);_0xb21055=_0xf781c2['statSync'](_0x40a470)[_0x4bb575(-0x328,-0x261,-0x2f2,-_0x4ef1ad._0x3cbc30)]>_0xd65083[_0x4bb575(-_0x4ef1ad._0x4cbedf,-_0x4ef1ad._0x21e216,-_0x4ef1ad._0x5a50e0,-_0x4ef1ad._0x5aecf1)];}if(_0xb21055||_0x36c176){_0x36c176&&_0xf781c2['existsSync'](_0x5b0e8b)?console['log'](''+X+zr+'\x20'+_0x14d0ec[_0x4bb575(-0x2c4,-0x392,-_0x4ef1ad._0x3b004b,-_0x4ef1ad._0x4f46fa)]('ax-helper')+_0x4bb575(-0x2b1,-_0x4ef1ad._0x22dbea,-0x193,-0x280)):_0xb21055&&console[_0x4bb575(-_0x4ef1ad._0xe64f79,_0x4ef1ad._0x2c6f81,-_0x4ef1ad._0xbb025,-0x1c6)](''+X+zr+'\x20'+_0x14d0ec[_0x3a06da(0x47,-_0x4ef1ad._0x4aff3e,-_0x4ef1ad._0x213031,-0x153)]('ax-helper')+_0x3a06da(_0x4ef1ad._0x3e43b4,-0x9b,0x177,-0x10));let _0x3015f1=_0x1edd48[_0x3a06da(-0x1bf,-_0x4ef1ad._0x2ff07f,-_0x4ef1ad._0x4a84fd,-_0x4ef1ad._0x2cd648)](_0x1e5dc7[_0x4bb575(_0x4ef1ad._0x5a2a53,-0x3c,-_0x4ef1ad._0x49ebec,-_0x4ef1ad._0x5abd9d)](),_0x3a06da(-0x293,-0x2d3,-_0x4ef1ad._0x329e64,-0x139),_0x4bb575(-0x2e0,0x4,-0x154,-_0x4ef1ad._0x3686c2));_0xf781c2['existsSync'](_0x3015f1)||_0xf781c2[_0x4bb575(-_0x4ef1ad._0x1268c5,-0x27d,-_0x4ef1ad._0xfa141f,-0x2ba)](_0x3015f1,{'recursive':!0x0});let _0x5e6d94=_0x2a5d32(_0x4bb575(-0x2b2,-0x307,-_0x4ef1ad._0x2ad300,-_0x4ef1ad._0x1b9ece),['-O','-o',_0x5b0e8b,_0x40a470,'-framework',_0x3a06da(-_0x4ef1ad._0x23fa03,-_0x4ef1ad._0xbdf01d,-0x25,-_0x4ef1ad._0x4c68a4),_0x4bb575(-0x2d3,-_0x4ef1ad._0x57249d,-0x296,-0x2c9),_0x4bb575(-_0x4ef1ad._0x4706b4,-_0x4ef1ad._0x22ba39,-0x325,-_0x4ef1ad._0x506987)],{'stdio':_0x4bb575(-_0x4ef1ad._0x5a7b15,-0x3b2,-0x2c0,-0x2f1),'encoding':'utf8','timeout':0x1d4c0});_0x5e6d94[_0x4bb575(-0x1c,0xb7,-_0x4ef1ad._0x576768,0x3f)]===0x0?console[_0x4bb575(0x75,-0x112,-_0x4ef1ad._0x54af95,-_0x4ef1ad._0x263104)](''+X+Lt+'\x20'+_0x14d0ec[_0x3a06da(-_0x4ef1ad._0x400285,-_0x4ef1ad._0xdb6375,-_0x4ef1ad._0x54f800,-0x153)](_0x4bb575(-_0x4ef1ad._0x1202e7,-0x314,-0x210,-0x385))+_0x3a06da(-_0x4ef1ad._0xf6931f,-_0x4ef1ad._0x581b6a,-0x2aa,-_0x4ef1ad._0x887f96)):(console[_0x4bb575(-_0x4ef1ad._0x15d408,-_0x4ef1ad._0x29ccb3,-0x13d,-0x19f)](''+X+Ot+'\x20'+_0x14d0ec[_0x3a06da(-_0x4ef1ad._0x2ef2ce,-0x124,-_0x4ef1ad._0x1d70f2,-0x153)](_0x3a06da(_0x4ef1ad._0x577c90,-0x72,-_0x4ef1ad._0x22eecf,-0x6a))+_0x4bb575(-_0x4ef1ad._0x1a9b65,-_0x4ef1ad._0x5e1631,-_0x4ef1ad._0x4e61d2,-0x47b)),_0x5e6d94['stderr']&&console[_0x4bb575(-0x28,0x75,-0x13d,-_0x4ef1ad._0x140db1)](X+_0x4bb575(_0x4ef1ad._0xf3a4a5,-0x18b,-_0x4ef1ad._0x4d0ae3,-0x9d)+_0x14d0ec[_0x3a06da(-_0x4ef1ad._0x1eee87,0xc8,0xa0,-0x33)](_0x5e6d94[_0x4bb575(-_0x4ef1ad._0x2ed1c6,-0x2e7,-0x27d,-0x286)][_0x3a06da(0x99,0x80,-0x7c,_0x4ef1ad._0x3efee9)](0x0,0x12c))),console[_0x4bb575(-_0x4ef1ad._0x315e99,-_0x4ef1ad._0x3ba6a0,-0x13d,-_0x4ef1ad._0x45ad28)](X+'\x20\x20\x20\x20\x20'+So+_0x3a06da(0x1cc,_0x4ef1ad._0x4c38a4,-_0x4ef1ad._0x3721ec,0x4c)+_0x14d0ec['cyan'](_0x3a06da(-0x110,-_0x4ef1ad._0x598a4a,-0xec,_0x4ef1ad._0x1d6913))));}else console[_0x4bb575(-_0x4ef1ad._0x1bb8e4,-0x2ae,-_0x4ef1ad._0xbb025,-0x25b)](''+X+Lt+'\x20'+_0x14d0ec['bold'](_0x4bb575(-0x24d,-0x2f3,-_0x4ef1ad._0x411fc6,-0x17d))+_0x3a06da(-_0x4ef1ad._0x5e8782,-_0x4ef1ad._0x170af2,-_0x4ef1ad._0x4920f3,-0x1b6));let _0x5b0034=jr(_0x4bb575(-0x14e,-0x9a,-_0x4ef1ad._0x1cb6cf,-0x12));console[_0x3a06da(-_0x4ef1ad._0x389177,_0x4ef1ad._0x354123,_0x4ef1ad._0x1db9eb,0x69)](_0x5b0034?''+X+Lt+'\x20'+_0x14d0ec[_0x3a06da(-0x173,-0x2e,-_0x4ef1ad._0x5ac7c5,-_0x4ef1ad._0x124e47)](_0x4bb575(0x25,0x61,-_0x4ef1ad._0x1cb6cf,-0x118))+_0x3a06da(_0x4ef1ad._0x372898,_0x4ef1ad._0x20a59d,-0x2b,0x174):''+X+Ot+'\x20'+_0x14d0ec[_0x4bb575(-_0x4ef1ad._0x15c0ff,-0x149,-0x2f9,-0x243)](_0x3a06da(0x120,0x1df,_0x4ef1ad._0x3c6f19,0x161))+_0x4bb575(-_0x4ef1ad._0x5570e7,-_0x4ef1ad._0x27a345,-_0x4ef1ad._0x539ca1,-_0x4ef1ad._0x245de1)),jr('/usr/bin/python3')?(console['log'](''+X+Lt+'\x20'+_0x14d0ec[_0x4bb575(-0x37d,-0x247,-0x2f9,-_0x4ef1ad._0x57249d)](_0x3a06da(0xcb,-_0x4ef1ad._0x2ec8b3,-_0x4ef1ad._0x580440,-0x9a))+_0x4bb575(-_0x4ef1ad._0x21c890,-_0x4ef1ad._0x2ad8f9,-0x198,-_0x4ef1ad._0x126494)),dl()?console['log'](''+X+Lt+'\x20'+_0x14d0ec[_0x4bb575(-0x395,-0x483,-0x2f9,-_0x4ef1ad._0x222ccd)](_0x4bb575(-0x12,-0x213,-_0x4ef1ad._0x5b9f74,-0x1c8))+'\x20—\x20available'):console[_0x4bb575(-_0x4ef1ad._0xef3920,-_0x4ef1ad._0x5b9f74,-_0x4ef1ad._0xbb025,-0x2e6)](''+X+Ot+'\x20'+_0x14d0ec['bold'](_0x4bb575(-_0x4ef1ad._0x40f7e7,-0x181,-0x18f,-0x1a7))+_0x3a06da(-_0x4ef1ad._0x218262,0x129,-_0x4ef1ad._0x384b7c,-_0x4ef1ad._0xe4f6aa))):(console['log'](''+X+Ot+'\x20'+_0x14d0ec['bold']('/usr/bin/python3')+'\x20—\x20not\x20found\x20(unexpected\x20on\x20macOS)'),console[_0x3a06da(0x10c,-_0x4ef1ad._0x56c61d,0x76,_0x4ef1ad._0x2ea2fd)](X+_0x3a06da(_0x4ef1ad._0x5a9cd1,-_0x4ef1ad._0x5653db,-_0x4ef1ad._0x582ed7,0xa2)+So+'\x20Scroll\x20functionality\x20requires\x20macOS\x20system\x20Python'));function _0x4bb575(_0x517115,_0x17311c,_0x4599c2,_0x49e3ef){return _0x40e58d(_0x49e3ef,_0x17311c-0x136,_0x4599c2- -_0x41a36a._0x5751a4,_0x49e3ef-0x1c0);}let _0x5b1d13=jr(_0x4bb575(-_0x4ef1ad._0x34878e,-_0x4ef1ad._0x48fff8,-_0x4ef1ad._0xa8cbf6,-0x8d));function _0x3a06da(_0x2d485d,_0x2a0a8c,_0x1168a8,_0x509e06){return _0x40e58d(_0x1168a8,_0x2a0a8c-0x75,_0x509e06- -0x275,_0x509e06-_0x17a60b._0x4c93ac);}_0x5b1d13?console[_0x4bb575(-0x3a,-_0x4ef1ad._0x17bc4e,-0x13d,-_0x4ef1ad._0x2f9425)](''+X+Lt+'\x20'+_0x14d0ec['bold']('cliclick')+'\x20—\x20found\x20at\x20'+_0x5b1d13):(console['log'](''+X+Ot+'\x20'+_0x14d0ec[_0x3a06da(-0x74,_0x4ef1ad._0x39be36,-0x22e,-0x153)](_0x4bb575(-0x4f,-_0x4ef1ad._0x4ffe35,-0x1e1,-_0x4ef1ad._0x559f23))+'\x20—\x20not\x20found'),console[_0x4bb575(-_0x4ef1ad._0xaee814,-_0x4ef1ad._0x3a8a82,-_0x4ef1ad._0x1d9ac1,-0x176)](''),console[_0x4bb575(-_0x4ef1ad._0x31ce94,-_0x4ef1ad._0x3d14b2,-0x13d,_0x4ef1ad._0x10c625)](X+_0x4bb575(0x115,-0x218,-_0x4ef1ad._0x273fe9,-0x160)),ul()?console['log'](''+X+Lt+'\x20'+_0x14d0ec[_0x4bb575(-_0x4ef1ad._0x42048f,-0x39a,-0x2f9,-_0x4ef1ad._0x82854)](_0x4bb575(-_0x4ef1ad._0xdb6375,-_0x4ef1ad._0x5518be,-0x1e1,-0xd6))+_0x4bb575(-_0x4ef1ad._0x511abf,-0x238,-_0x4ef1ad._0x267fb2,_0x4ef1ad._0x1f6ebe)):(console['log'](''+X+Ot+'\x20'+_0x14d0ec[_0x3a06da(-_0x4ef1ad._0x1aacd3,-_0x4ef1ad._0xdf17e,-_0x4ef1ad._0x36f758,-_0x4ef1ad._0x124e47)](_0x3a06da(0x61,-0x42,-0xa0,-_0x4ef1ad._0x283f66))+_0x4bb575(-_0x4ef1ad._0x4ad534,_0x4ef1ad._0x2e0ca0,-_0x4ef1ad._0x3ec0ca,0x159)),console[_0x4bb575(-0x96,-_0x4ef1ad._0x2b4728,-0x13d,-_0x4ef1ad._0x198336)](X+_0x3a06da(-_0x4ef1ad._0x5d791e,-_0x4ef1ad._0x238b98,-0x103,_0x4ef1ad._0x2f7a84)+So+'\x20Try\x20manually:\x20'+_0x14d0ec['cyan'](_0x4bb575(_0x4ef1ad._0x294704,-_0x4ef1ad._0xa31868,-0xb4,-_0x4ef1ad._0x4e413c))))),console[_0x3a06da(0x204,-0x21,0x20f,0x69)](''),console[_0x3a06da(-_0x4ef1ad._0x4471e4,-_0x4ef1ad._0x218262,_0x4ef1ad._0x2a471a,0x69)](''+X+zr+'\x20'+_0x14d0ec['bold'](_0x3a06da(0x244,0xa1,_0x4ef1ad._0x3470e3,_0x4ef1ad._0x576469))),console['log'](''+X+So+'\x20System\x20Settings\x20'+_0x14d0ec[_0x4bb575(-0x9a,-_0x4ef1ad._0x141880,-_0x4ef1ad._0x5c26ad,-_0x4ef1ad._0x13859c)]('→')+_0x4bb575(-_0x4ef1ad._0x2bee6f,-_0x4ef1ad._0xbe7dff,-0x2b0,-0x193)+_0x14d0ec['dim']('→')+'\x20'+_0x14d0ec[_0x3a06da(-0x148,-0x1c1,-_0x4ef1ad._0x5a87da,-0x153)](_0x4bb575(-0x1f4,-_0x4ef1ad._0x5dcbdd,-0x32e,-0x1b6))),console[_0x4bb575(-0x18f,-0x174,-_0x4ef1ad._0x1d9ac1,0xc)](X+_0x3a06da(0x1bb,-0x122,_0x4ef1ad._0x236058,0x5e)),console[_0x4bb575(0x13,-0x2af,-0x13d,-_0x4ef1ad._0x4124f1)](''+X+So+_0x3a06da(_0x4ef1ad._0xb3d845,-_0x4ef1ad._0x190c5a,-_0x4ef1ad._0x460ec2,-0x128)+_0x14d0ec['dim']('→')+'\x20Privacy\x20&\x20Security\x20'+_0x14d0ec['dim']('→')+'\x20'+_0x14d0ec[_0x4bb575(-0x2b8,-0x487,-_0x4ef1ad._0xae0420,-0x364)](_0x3a06da(-0x30b,-0x316,-0x208,-0x18d))),console[_0x4bb575(-0x252,-0x18,-_0x4ef1ad._0xbb025,-_0x4ef1ad._0x5659aa)](X+_0x4bb575(-_0x4ef1ad._0x2a9934,-_0x4ef1ad._0x506495,-_0x4ef1ad._0x493250,-_0x4ef1ad._0xd4966)),console[_0x4bb575(-0x47,-_0x4ef1ad._0x92805,-0x13d,-0x110)](''),console[_0x4bb575(-_0x4ef1ad._0x471d49,-0x215,-_0x4ef1ad._0x1d9ac1,-_0x4ef1ad._0x2c52e8)](_0x14d0ec['green']('Setup\x20complete!')+_0x4bb575(-0x156,-0x1d5,-0x2b3,-_0x4ef1ad._0xd40f6)),console[_0x4bb575(-0x4c,-_0x4ef1ad._0x4790ea,-_0x4ef1ad._0x1d9ac1,0x45)](''+X+_0x14d0ec[_0x4bb575(-_0x4ef1ad._0x8252dc,-0xb1,-0x1d9,-0xcb)](_0x3a06da(_0x4ef1ad._0x38b127,0x1a1,0x1f5,_0x4ef1ad._0xc0ffe6))),console[_0x4bb575(-0x2d6,-0x290,-0x13d,-0x196)](''),console['log'](''+X+_0x14d0ec[_0x3a06da(0x181,0x1e6,_0x4ef1ad._0xc93d9f,0x16c)](_0x3a06da(-0xf1,-0x2e,-_0x4ef1ad._0x5844fe,-_0x4ef1ad._0x218e8b))+_0x3a06da(-0x211,-0x9b,-_0x4ef1ad._0x4b2c42,-0xfd)+_0x14d0ec[_0x3a06da(-0xd2,-_0x4ef1ad._0x3dd445,-_0x4ef1ad._0x3b1cc9,-_0x4ef1ad._0x124e47)](_0x3a06da(0x86,0x192,0x66,0x33))+_0x3a06da(_0x4ef1ad._0x49bad8,-_0x4ef1ad._0x576768,-0xef,0x2c)),console[_0x4bb575(0x19,-_0x4ef1ad._0x576469,-_0x4ef1ad._0x9ae2a4,_0x4ef1ad._0x2a495)](X+'Example:\x20'+_0x14d0ec['cyan'](_0x3a06da(_0x4ef1ad._0x2064fc,0x98,-0x99,0xab))),console['log']('');}function gs(_0x937d33){const _0x477510={_0x51ec8e:0xa,_0x4c06bf:0x3ae,_0x4dc147:0x497,_0x356330:0x63a,_0x5ad326:0x618,_0x4e9d9e:0x481},_0x2d70c4={_0x2286f4:0x6d0,_0x44ab3f:0x475,_0xb81157:0x5b2,_0x5516df:0x0,_0x11f095:0x96,_0x1aca5c:0x9a,_0xa94088:0x91,_0x4f87d7:0x3f,_0x467403:0xe8,_0x2f472a:0x12f,_0x17912a:0x5ef,_0x52ba92:0x4be,_0x41061:0x6c4,_0x5ce0de:0x7ec,_0x10cd62:0x668,_0x28ba32:0x172,_0xecfa73:0x23a,_0x233597:0x2d7,_0x255064:0x268,_0x21ba8d:0xed,_0x2cd359:0xbe,_0x4311fa:0x67a,_0x568484:0x52f,_0x5bb490:0x6e2,_0x2e8b27:0x569,_0x4f5991:0x70,_0x19095b:0x12b,_0x428b68:0x5d,_0x3af88f:0x4ce,_0x1dce80:0x29,_0x21ad0a:0x3f,_0x31421d:0x107,_0x51cb13:0x325,_0x92adb8:0x102,_0x3cbe8b:0x263,_0x583dcc:0x12e,_0x22ec76:0x129,_0x50d9ea:0x1e3,_0x64dd95:0x1a8,_0x1de742:0xc9,_0x2a72e0:0xaf,_0x309b22:0xcd,_0x226f00:0x194,_0x4e537b:0x16c,_0x2d6258:0x270,_0x36adb1:0x708},_0x1b5d64={_0x1145d4:0x204,_0x2ce66d:0x14f},_0x27d9c1={_0x3e9fdb:0x107,_0x978eb2:0x2c0,_0x38deac:0x196};function _0x1a6f17(_0x193083,_0x56db9c,_0x10af00,_0x342356){return _0x40e58d(_0x10af00,_0x56db9c-_0x27d9c1._0x3e9fdb,_0x193083- -_0x27d9c1._0x978eb2,_0x342356-_0x27d9c1._0x38deac);}function _0x1b0a75(_0x4d28f7,_0x324666,_0x48e4d0,_0x481d54){return _0x40e58d(_0x48e4d0,_0x324666-0x115,_0x4d28f7-_0x1b5d64._0x1145d4,_0x481d54-_0x1b5d64._0x2ce66d);}_0x937d33['register']({'id':_0x1a6f17(0x63,-_0x477510._0x51ec8e,0x5a,-0x14),'type':_0x1b0a75(0x494,_0x477510._0x4c06bf,0x582,0x580),'description':_0x1b0a75(0x4a7,_0x477510._0x4dc147,0x56a,_0x477510._0x356330),'category':_0x1b0a75(0x49b,_0x477510._0x5ad326,0x5fd,_0x477510._0x4e9d9e),async 'handler'({rawInput:_0x46a9de}){const _0x8f01ab={_0x2408b7:0x198,_0x226523:0x2a},_0x5bedd9={_0xc4acb6:0x9f,_0x453cc3:0x1e8};if(_0x46a9de[_0x508627(_0x2d70c4._0x2286f4,_0x2d70c4._0x44ab3f,0x592,0x45b)]()[_0x508627(0x435,_0x2d70c4._0xb81157,0x5c7,0x6c2)](/\s+/)[0x1]?.['toLowerCase']()===_0x5c866e(_0x2d70c4._0x5516df,-0x70,_0x2d70c4._0x11f095,-_0x2d70c4._0x1aca5c)){await gl(_0x46a9de);return;}function _0x5c866e(_0x5ca4dc,_0x1e22bd,_0x82b45e,_0x2ab12d){return _0x1b0a75(_0x1e22bd- -0x521,_0x1e22bd-_0x5bedd9._0xc4acb6,_0x82b45e,_0x2ab12d-_0x5bedd9._0x453cc3);}function _0x508627(_0x1154ea,_0x4f4fad,_0x536383,_0x5b3683){return _0x1b0a75(_0x536383-_0x8f01ab._0x2408b7,_0x4f4fad-_0x8f01ab._0x226523,_0x4f4fad,_0x5b3683-0x117);}console[_0x5c866e(-_0x2d70c4._0xa94088,-_0x2d70c4._0x4f87d7,_0x2d70c4._0x467403,_0x2d70c4._0x2f472a)](''),console['log'](_0x14d0ec[_0x508627(0x3c6,_0x2d70c4._0x17912a,_0x2d70c4._0x52ba92,0x49d)](_0x508627(_0x2d70c4._0x41061,_0x2d70c4._0x5ce0de,_0x2d70c4._0x10cd62,0x600))+_0x5c866e(-_0x2d70c4._0x28ba32,-_0x2d70c4._0xecfa73,-_0x2d70c4._0x233597,-_0x2d70c4._0x255064)),console['log'](''),console[_0x5c866e(-_0x2d70c4._0x21ba8d,-0x3f,0xbe,-_0x2d70c4._0x2cd359)]('Available\x20tools:'),console[_0x508627(0x64f,0x70b,_0x2d70c4._0x4311fa,_0x2d70c4._0x568484)]('\x20\x20'+_0x14d0ec[_0x508627(_0x2d70c4._0x5bb490,_0x2d70c4._0x2e8b27,0x5f0,0x768)](_0x5c866e(-0x1ba,-_0x2d70c4._0x4f5991,_0x2d70c4._0x19095b,_0x2d70c4._0x428b68))+_0x508627(_0x2d70c4._0x3af88f,0x53f,0x646,0x6a7)),console['log'](''),console[_0x5c866e(-_0x2d70c4._0x1dce80,-_0x2d70c4._0x21ad0a,-_0x2d70c4._0x31421d,0xa7)](_0x5c866e(-_0x2d70c4._0x51cb13,-0x192,-_0x2d70c4._0x92adb8,-_0x2d70c4._0x3cbe8b)),console[_0x5c866e(_0x2d70c4._0x583dcc,-0x3f,_0x2d70c4._0x22ec76,-_0x2d70c4._0x50d9ea)]('\x20\x20'+_0x14d0ec[_0x5c866e(-_0x2d70c4._0x64dd95,-_0x2d70c4._0x1de742,_0x2d70c4._0x2a72e0,0xc2)](_0x5c866e(0x26a,_0x2d70c4._0x309b22,0xfc,-0x93),'-f')+_0x5c866e(-0x168,-_0x2d70c4._0x226f00,-_0x2d70c4._0x4e537b,-_0x2d70c4._0x2d6258)),console[_0x508627(_0x2d70c4._0x36adb1,0x6e6,0x67a,0x673)]('');}});}async function fC(_0x40a431){_0x56fa25['setOrchestrator'](_0x40a431),xn(_0x56fa25),vn(_0x56fa25),Tn(_0x56fa25),In(_0x56fa25),Pn(_0x56fa25),Rn(_0x56fa25),_n(_0x56fa25),On(_0x56fa25),Vn(_0x56fa25),gi(_0x56fa25),Mi(_0x56fa25),Ii(_0x56fa25),Ei(_0x56fa25),Ri(_0x56fa25),$i(_0x56fa25),Ni(_0x56fa25),Yi(_0x56fa25),Qi(_0x56fa25),ts(_0x56fa25),ds(_0x56fa25),gs(_0x56fa25),await lr(_0x56fa25);}export{fC as a};
|