@nuvin/nuvin-cli 1.19.0 → 1.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (function(_0x281f9e,_0xf7d5d1){const _0x260753={_0x2ecfb9:0x202,_0x56c0de:0x242,_0x4f55e7:0x1e8,_0x369aa0:0x213,_0x231099:0x22e,_0x592dcd:0x22a,_0xa83357:0x23b,_0x4d9a4c:0x242,_0x2daaee:0x208,_0x6b9b88:0x202,_0x23e9a2:0x1c6,_0x5b6881:0x1b0,_0x4f68ff:0x1b5,_0xa8d84c:0x24a,_0x4e11fc:0x224,_0x45208a:0x222},_0xee653a={_0x222819:0x2c7},_0x35e66d=_0x281f9e();function _0x154d17(_0x53523a,_0x68f277,_0x1b6760,_0x2ca7d9){return _0x5da2(_0x68f277- -_0xee653a._0x222819,_0x53523a);}function _0x1e18bc(_0x27373f,_0x609229,_0x34e1a0,_0x4385e6){return _0x5da2(_0x609229- -0x27d,_0x27373f);}while(!![]){try{const _0x1e8d37=parseInt(_0x154d17(-0x1eb,-_0x260753._0x2ecfb9,-0x225,-0x1fb))/0x1+parseInt(_0x154d17(-0x266,-_0x260753._0x56c0de,-0x24c,-0x250))/0x2*(-parseInt(_0x1e18bc(-_0x260753._0x4f55e7,-0x209,-0x1e2,-_0x260753._0x369aa0))/0x3)+-parseInt(_0x154d17(-0x218,-0x22c,-_0x260753._0x231099,-0x206))/0x4+parseInt(_0x154d17(-0x200,-_0x260753._0x592dcd,-_0x260753._0xa83357,-_0x260753._0x4d9a4c))/0x5+parseInt(_0x1e18bc(-_0x260753._0x2daaee,-0x1fe,-0x1f9,-_0x260753._0x6b9b88))/0x6+parseInt(_0x1e18bc(-_0x260753._0x23e9a2,-0x1cc,-_0x260753._0x5b6881,-0x1d7))/0x7*(parseInt(_0x1e18bc(-0x19b,-0x1b5,-0x1bc,-_0x260753._0x4f68ff))/0x8)+-parseInt(_0x154d17(-_0x260753._0xa8d84c,-_0x260753._0x4e11fc,-_0x260753._0x45208a,-0x214))/0x9;if(_0x1e8d37===_0xf7d5d1)break;else _0x35e66d['push'](_0x35e66d['shift']());}catch(_0x4660f8){_0x35e66d['push'](_0x35e66d['shift']());}}}(_0x288d,0x8da75));function _0x2cd0ef(_0x7efc89,_0x3a47d2,_0x2d09cf,_0x299329){const _0x38a9ca={_0x16f9d6:0x1d7};return _0x5da2(_0x2d09cf- -_0x38a9ca._0x16f9d6,_0x3a47d2);}import{b as _0x49468f}from'./chunk-PC75UOLY.js';import{a as _0x5070a8}from'./chunk-M6KACDU7.js';function _0x5408d5(_0x33eb5e,_0x4b86e9,_0x58c13b,_0x47e7f1){return _0x5da2(_0x47e7f1- -0x12d,_0x58c13b);}import{useState as _0x1128e9}from'react';import*as _0x51314f from'fs';import*as _0x466ba1 from'fs/promises';import*as _0x4bede6 from'path';import*as _0x1d2cbc from'os';import*as _0x3f37d3 from'fs';import*as _0x33e2b4 from'path';function _0x5da2(_0x1ac159,_0x5675e3){_0x1ac159=_0x1ac159-0x74;const _0x288d7f=_0x288d();let _0x5da2fe=_0x288d7f[_0x1ac159];if(_0x5da2['WYKTzn']===undefined){var _0x1f104b=function(_0x5e8289){const _0x1c95c9='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x49468f='',_0x5070a8='';for(let _0x1128e9=0x0,_0x51314f,_0x466ba1,_0x4bede6=0x0;_0x466ba1=_0x5e8289['charAt'](_0x4bede6++);~_0x466ba1&&(_0x51314f=_0x1128e9%0x4?_0x51314f*0x40+_0x466ba1:_0x466ba1,_0x1128e9++%0x4)?_0x49468f+=String['fromCharCode'](0xff&_0x51314f>>(-0x2*_0x1128e9&0x6)):0x0){_0x466ba1=_0x1c95c9['indexOf'](_0x466ba1);}for(let _0x1d2cbc=0x0,_0x3f37d3=_0x49468f['length'];_0x1d2cbc<_0x3f37d3;_0x1d2cbc++){_0x5070a8+='%'+('00'+_0x49468f['charCodeAt'](_0x1d2cbc)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5070a8);};_0x5da2['VdwMQi']=_0x1f104b,_0x5da2['tecbVs']={},_0x5da2['WYKTzn']=!![];}const _0x2c5518=_0x288d7f[0x0],_0x524fd3=_0x1ac159+_0x2c5518,_0x30be5c=_0x5da2['tecbVs'][_0x524fd3];return!_0x30be5c?(_0x5da2fe=_0x5da2['VdwMQi'](_0x5da2fe),_0x5da2['tecbVs'][_0x524fd3]=_0x5da2fe):_0x5da2fe=_0x30be5c,_0x5da2fe;}import*as _0xc75125 from'os';var $={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},F=class{constructor(_0x241d7e={}){const _0x31aece={_0x5b0e4c:0x299,_0x59d0cf:0x286,_0xd0e0d6:0x29d,_0x5a1c63:0x2c1,_0x1e7da0:0x2a3,_0x414492:0x28c,_0x36f04a:0x2c6,_0x23ba9c:0x2bf,_0x29b170:0x268,_0x28fa54:0x283,_0x4f5868:0x287,_0x1fad27:0x255,_0x206471:0x295,_0x2b7c4d:0x293,_0x3f7033:0x27a,_0x354a86:0x292,_0x4d1b58:0x13d,_0x3985ac:0x174,_0x502ed6:0x17e,_0x148c42:0x17b,_0x1ca0c1:0x14c,_0x13245a:0x13a,_0x595901:0x135,_0x1a75ff:0x155,_0x4b58a6:0x29d,_0x3ec0e9:0x27b,_0x52f450:0x28e,_0x3f7815:0x277,_0x3f5b54:0x296,_0xa4b106:0x16a,_0x3bdaad:0x2a7,_0x595f3f:0x28e,_0x588f41:0x2a0,_0x5c1c2f:0x198,_0x574eff:0x149,_0x28fd88:0x124,_0x473218:0x27f,_0x34e18e:0x269,_0x367b93:0x291,_0xc970d0:0x122,_0x1bcb07:0x124,_0x5ce322:0x11b},_0x8762bf={_0x34b480:0xaa},_0x27be7d={_0xa2713b:0x1e0};function _0x544846(_0x2106a9,_0x4d81c5,_0x188f7d,_0x848270){return _0x5da2(_0x2106a9-_0x27be7d._0xa2713b,_0x188f7d);}this['writeStream']=null,this[_0x544846(_0x31aece._0x5b0e4c,_0x31aece._0x59d0cf,0x28c,0x2b2)]=_0x241d7e[_0x544846(0x299,_0x31aece._0xd0e0d6,0x282,_0x31aece._0x5a1c63)]||_0x33e2b4['join'](_0xc75125[_0x544846(_0x31aece._0x1e7da0,_0x31aece._0x414492,_0x31aece._0x36f04a,_0x31aece._0x23ba9c)](),'.nuvin-cli',_0x544846(_0x31aece._0x29b170,_0x31aece._0x28fa54,_0x31aece._0x4f5868,0x282));let _0x4b46c3=_0x241d7e[_0x544846(_0x31aece._0x1fad27,0x23d,0x275,0x259)]||'nuvin';function _0x21ba47(_0x3230ca,_0x4ca6fe,_0xda6289,_0x55ca1c){return _0x5da2(_0x3230ca-_0x8762bf._0x34b480,_0xda6289);}this[_0x544846(_0x31aece._0x206471,_0x31aece._0x2b7c4d,0x297,0x2b5)]=_0x33e2b4[_0x544846(_0x31aece._0x3f7033,_0x31aece._0x354a86,0x25f,0x2a4)](this[_0x21ba47(0x163,_0x31aece._0x4d1b58,_0x31aece._0x3985ac,0x17e)],_0x4b46c3+_0x21ba47(0x159,_0x31aece._0x502ed6,_0x31aece._0x148c42,0x14f)),this[_0x21ba47(_0x31aece._0x1ca0c1,_0x31aece._0x13245a,_0x31aece._0x595901,0x137)]=_0x241d7e[_0x21ba47(0x14c,0x12b,0x12a,_0x31aece._0x1a75ff)]||_0x544846(_0x31aece._0x4b58a6,_0x31aece._0x3ec0e9,0x2c7,0x2c8),this[_0x544846(_0x31aece._0x52f450,_0x31aece._0x3f7815,_0x31aece._0x3f7815,_0x31aece._0x3f5b54)]=_0x241d7e[_0x21ba47(0x158,0x179,_0x31aece._0xa4b106,0x160)]||0x5*0x400*0x400,this[_0x544846(_0x31aece._0x3bdaad,_0x31aece._0x595f3f,_0x31aece._0x588f41,0x29a)]=_0x241d7e[_0x21ba47(0x171,_0x31aece._0x5c1c2f,0x162,0x14e)]||0x3,this[_0x21ba47(_0x31aece._0x574eff,_0x31aece._0x28fd88,0x124,0x14d)]=_0x241d7e[_0x544846(_0x31aece._0x473218,_0x31aece._0x34e18e,0x28e,_0x31aece._0x367b93)]??!0x0,this['logToConsole']=_0x241d7e[_0x21ba47(0x128,0x134,0xfd,_0x31aece._0xc970d0)]??!0x1,this[_0x21ba47(_0x31aece._0x1bcb07,0x101,0x105,_0x31aece._0x5ce322)]();}[_0x2cd0ef(-0x186,-0x188,-0x15d,-0x144)](){const _0x18b3b9={_0x41e858:0x2d2,_0x1c914a:0x2d7,_0x30fa4a:0x2f7,_0x1d988c:0x2c0,_0x38fa30:0x2d0},_0x3f9473={_0x37154c:0xe7},_0x5cf07b={_0x27b64:0x3ee,_0x3a516f:0x6a};function _0x1f8edd(_0x576e4d,_0x1598a8,_0x2385b9,_0x4934e2){return _0x2cd0ef(_0x576e4d-0x91,_0x1598a8,_0x4934e2-_0x5cf07b._0x27b64,_0x4934e2-_0x5cf07b._0x3a516f);}function _0x4ac88c(_0x27e7bd,_0x56a27d,_0x135dc0,_0x3909a5){return _0x2cd0ef(_0x27e7bd-_0x3f9473._0x37154c,_0x3909a5,_0x135dc0-0x380,_0x3909a5-0xfa);}try{_0x3f37d3[_0x1f8edd(0x2c5,0x2d5,_0x18b3b9._0x41e858,_0x18b3b9._0x1c914a)](this['logDir'])||_0x3f37d3['mkdirSync'](this[_0x1f8edd(_0x18b3b9._0x30fa4a,_0x18b3b9._0x1d988c,0x2da,_0x18b3b9._0x38fa30)],{'recursive':!0x0});}catch(_0x33635f){console['error'](_0x1f8edd(0x2c6,0x2bf,0x2a1,0x2b8)+this['logDir']+':',_0x33635f);}}[_0x2cd0ef(-0x110,-0x10b,-0x121,-0x129)](){const _0x516215={_0x5f24cc:0x13c,_0x163b88:0x123,_0x546d2e:0x15d,_0x4971a5:0x155,_0x41eb62:0x171,_0x13c005:0x12b,_0x90dc94:0x133,_0x285191:0x12b,_0x97c652:0x150,_0x2b91fd:0x117,_0x2ab585:0x432,_0x365168:0x419,_0x2d3dc8:0x411,_0x366ca4:0x3f9},_0x146554={_0x404426:0x1c4},_0x2051ee={_0x340f0a:0x186};function _0x4f2cd5(_0x2838c0,_0x18e6fb,_0x1f6972,_0x358f53){return _0x2cd0ef(_0x2838c0-0x91,_0x1f6972,_0x18e6fb-0x554,_0x358f53-_0x2051ee._0x340f0a);}function _0x542d7f(_0x523155,_0x4e6b18,_0x557125,_0x5b09c9){return _0x2cd0ef(_0x523155-_0x146554._0x404426,_0x557125,_0x523155-0x27f,_0x5b09c9-0x1d7);}return(!this[_0x542d7f(_0x516215._0x5f24cc,0x133,_0x516215._0x163b88,_0x516215._0x546d2e)]||this['writeStream'][_0x542d7f(_0x516215._0x4971a5,0x161,_0x516215._0x41eb62,0x12b)])&&(this[_0x542d7f(0x13c,0x15c,_0x516215._0x13c005,_0x516215._0x90dc94)]=_0x3f37d3[_0x542d7f(_0x516215._0x285191,_0x516215._0x97c652,0x13f,_0x516215._0x2b91fd)](this[_0x4f2cd5(0x436,_0x516215._0x2ab585,_0x516215._0x365168,0x424)],{'flags':'w'})),this[_0x4f2cd5(0x43a,_0x516215._0x2d3dc8,_0x516215._0x366ca4,0x41c)];}[_0x2cd0ef(-0x13c,-0x111,-0x12c,-0x10f)](){const _0x348074={_0x123d80:0xb,_0x3c29fe:0x26,_0x5a5a54:0x91,_0x5d6829:0x0,_0x482735:0x1,_0x33317c:0x9,_0x3b98bd:0x2b,_0x5b0414:0x7,_0x18b459:0x27,_0x9cdb20:0x9,_0x2447a0:0x8c,_0x4f5e73:0x62,_0x5e5933:0x7b,_0x417505:0xbe,_0x2f871e:0x59,_0x1a2fda:0x3d,_0x2260c1:0x13},_0x4705c2={_0x5cac93:0x116,_0x117308:0x6f};function _0x5605f0(_0x61d970,_0x5c7b53,_0x4c4a07,_0x203487){return _0x5408d5(_0x61d970-_0x4705c2._0x5cac93,_0x5c7b53-0x11b,_0x203487,_0x4c4a07-_0x4705c2._0x117308);}function _0xa5e017(_0xc8d689,_0xaf065e,_0x368c50,_0x20ac31){return _0x2cd0ef(_0xc8d689-0x1a9,_0x20ac31,_0x368c50-0xc7,_0x20ac31-0x34);}try{if(!_0x3f37d3[_0xa5e017(-0x31,-0x41,-0x50,-0x2b)](this[_0x5605f0(-_0x348074._0x123d80,-_0x348074._0x3c29fe,-0x9,-0x19)]))return;_0x3f37d3[_0xa5e017(-0x9e,-_0x348074._0x5a5a54,-0x84,-0x9c)](this[_0x5605f0(_0x348074._0x5d6829,-_0x348074._0x482735,-_0x348074._0x33317c,-_0x348074._0x3b98bd)])[_0x5605f0(-_0x348074._0x5b0414,-0x41,-_0x348074._0x18b459,-_0x348074._0x9cdb20)]>=this[_0xa5e017(-0x7c,-_0x348074._0x2447a0,-_0x348074._0x4f5e73,-0x50)]&&this[_0xa5e017(-_0x348074._0x5e5933,-_0x348074._0x417505,-0x95,-0x94)]();}catch(_0x941766){console[_0xa5e017(-_0x348074._0x2f871e,-0x5c,-0x53,-0x35)](_0x5605f0(-0x46,-_0x348074._0x1a2fda,-0x2b,-_0x348074._0x2260c1),_0x941766);}}[_0x5408d5(-0xbf,-0x8a,-0x94,-0xb2)](){const _0x4dfbc1={_0x5b41bc:0xf4,_0x2b367f:0x11a,_0x283da8:0x10c,_0x56df14:0xf3,_0x5ce076:0x21f,_0xf8c203:0x214,_0x132c30:0x1f6,_0x5cbe66:0xee,_0x4abfa4:0xe2,_0x49eb3c:0xdf,_0x473068:0x22a,_0x298ef3:0x226,_0x304e67:0xcb,_0x16cd82:0xf5,_0x446ffa:0x1ea,_0x4fc506:0xbf,_0x1ea5a5:0x106,_0x4c1ea5:0xe3,_0x145d31:0xe4},_0xd8a7b6={_0x1e9080:0x9b},_0x50b1b4={_0x3bfbc0:0x154};function _0x12195a(_0xcecbfe,_0x4de4a6,_0x4baa1e,_0x3243e1){return _0x2cd0ef(_0xcecbfe-0xb,_0x4baa1e,_0xcecbfe-0x33a,_0x3243e1-_0x50b1b4._0x3bfbc0);}function _0x1c094d(_0x51f455,_0x19ba9f,_0x103311,_0x31cbd7){return _0x2cd0ef(_0x51f455-0x9e,_0x19ba9f,_0x103311-0x37,_0x31cbd7-_0xd8a7b6._0x1e9080);}try{this[_0x1c094d(-_0x4dfbc1._0x5b41bc,-_0x4dfbc1._0x2b367f,-_0x4dfbc1._0x283da8,-0x107)]&&(this[_0x1c094d(-0x127,-0xe8,-_0x4dfbc1._0x283da8,-_0x4dfbc1._0x56df14)][_0x12195a(0x1ff,_0x4dfbc1._0x5ce076,_0x4dfbc1._0xf8c203,_0x4dfbc1._0x132c30)](),this['writeStream']=null);let _0x1ef9e5=this['logFilePath'],_0x45f6da=_0x1ef9e5+'.'+this['maxFiles'];_0x3f37d3[_0x12195a(0x223,0x21b,0x212,0x212)](_0x45f6da)&&_0x3f37d3[_0x1c094d(-_0x4dfbc1._0x5cbe66,-_0x4dfbc1._0x4abfa4,-_0x4dfbc1._0x49eb3c,-0x103)](_0x45f6da);for(let _0x6801c4=this[_0x12195a(_0x4dfbc1._0x473068,0x236,_0x4dfbc1._0x298ef3,0x213)]-0x1;_0x6801c4>=0x1;_0x6801c4--){let _0x3f6850=_0x1ef9e5+'.'+_0x6801c4,_0x3afae3=_0x1ef9e5+'.'+(_0x6801c4+0x1);_0x3f37d3[_0x1c094d(-_0x4dfbc1._0x304e67,-_0x4dfbc1._0x16cd82,-0xe0,-0xff)](_0x3f6850)&&_0x3f37d3['renameSync'](_0x3f6850,_0x3afae3);}_0x3f37d3['existsSync'](_0x1ef9e5)&&_0x3f37d3[_0x12195a(0x201,0x1f9,_0x4dfbc1._0x446ffa,0x1fc)](_0x1ef9e5,_0x1ef9e5+'.1');}catch(_0x5c3ed7){console[_0x1c094d(-_0x4dfbc1._0x4fc506,-_0x4dfbc1._0x1ea5a5,-_0x4dfbc1._0x4c1ea5,-_0x4dfbc1._0x145d31)]('Error\x20rotating\x20log\x20files:',_0x5c3ed7);}}[_0x5408d5(-0xb6,-0xc7,-0x92,-0xa3)](_0xd60c4e,_0x559910,_0x2988be){const _0x370e8d={_0x21f65c:0x2c3,_0x177bda:0x2ba,_0x282467:0x28c,_0x270f14:0x273,_0x3b62df:0x2a7,_0x216dba:0x2a0,_0x1a630c:0x29e,_0x39858d:0x2c7,_0x3065aa:0x29d,_0x4f9faa:0x2c0,_0x1ff668:0x2a2,_0x588282:0x276,_0x2ec9c0:0x292,_0xdf849c:0x2c3,_0x2d4b8a:0x2eb,_0x9ed56b:0x2d5,_0x1754b7:0x2e8},_0x53b80b={_0x1d1aa4:0x1f3},_0x524c03={_0x2353af:0x4d};function _0x4a7dc0(_0x4cfaec,_0x35c015,_0x4fd69a,_0x414cbe){return _0x2cd0ef(_0x4cfaec-0x40,_0x4fd69a,_0x35c015- -0x198,_0x414cbe-_0x524c03._0x2353af);}let _0x255c1e=[];if(this['includeTimestamp']&&_0x255c1e[_0x4a7dc0(-0x2e0,-_0x370e8d._0x21f65c,-_0x370e8d._0x177bda,-0x2b4)]('['+new Date()['toISOString']()+']'),_0x255c1e[_0x467401(-0x280,-0x28d,-0x2a0,-0x2af)]('['+_0xd60c4e[_0x467401(-_0x370e8d._0x282467,-0x276,-0x29a,-_0x370e8d._0x270f14)]()+']'),_0x255c1e[_0x467401(-_0x370e8d._0x3b62df,-0x2c7,-_0x370e8d._0x216dba,-_0x370e8d._0x1a630c)](_0x559910),_0x2988be!==void 0x0)try{_0x255c1e[_0x467401(-_0x370e8d._0x39858d,-_0x370e8d._0x3065aa,-0x2a0,-_0x370e8d._0x4f9faa)](JSON[_0x467401(-_0x370e8d._0x1ff668,-_0x370e8d._0x588282,-_0x370e8d._0x2ec9c0,-0x2ac)](_0x2988be,null,0x2));}catch{_0x255c1e[_0x4a7dc0(-0x2e7,-_0x370e8d._0xdf849c,-0x2c3,-0x2a2)](String(_0x2988be));}function _0x467401(_0x290bda,_0x3e9fd2,_0x44380f,_0x4795a0){return _0x5408d5(_0x290bda-_0x53b80b._0x1d1aa4,_0x3e9fd2-0x6b,_0x3e9fd2,_0x44380f- -0x21f);}return _0x255c1e[_0x4a7dc0(-_0x370e8d._0x2d4b8a,-_0x370e8d._0x9ed56b,-_0x370e8d._0x1754b7,-0x2e3)]('\x20');}[_0x5408d5(-0x62,-0x57,-0x9d,-0x79)](_0x221531){return $[_0x221531]>=$[this['minLevel']];}[_0x2cd0ef(-0x12a,-0x122,-0x124,-0x137)](_0x40045f,_0x4faab5,_0xf4c23b){const _0x22ca24={_0x11cebf:0x1e4,_0x3b7bca:0x1f0,_0xdcec3b:0x21b,_0x1df3b6:0x208,_0x3539fd:0x1bd,_0x5bb041:0x1f5,_0x26f364:0x1cf,_0x157e93:0x1dc,_0xc6f87a:0x221,_0x46c5a7:0x21f,_0x40dbe9:0x1fd,_0x13b5d3:0x20b,_0x3772ff:0x22e,_0x5aeb0e:0x222,_0x1f9ab4:0x231,_0x1a1549:0x206,_0x230a1a:0x1e6,_0xaed853:0x235},_0x8982f={_0x468570:0x27,_0x2e41e5:0x1a0},_0x2a9087={_0x1a5704:0x5a};function _0x18217b(_0x5afae3,_0x182cb2,_0x20425a,_0x2f77e0){return _0x2cd0ef(_0x5afae3-0xc,_0x5afae3,_0x182cb2-0x33c,_0x2f77e0-_0x2a9087._0x1a5704);}if(!this[_0x137aae(-0x1bd,-_0x22ca24._0x11cebf,-_0x22ca24._0x3b7bca,-0x1de)](_0x40045f))return;let _0x144749=this[_0x137aae(-0x20f,-_0x22ca24._0xdcec3b,-0x21d,-_0x22ca24._0x1df3b6)](_0x40045f,_0x4faab5,_0xf4c23b);this[_0x137aae(-_0x22ca24._0x3539fd,-_0x22ca24._0x5bb041,-0x1e3,-0x1e7)]();function _0x137aae(_0x10167,_0x598878,_0x18b623,_0xfc2dd3){return _0x5408d5(_0x10167-_0x8982f._0x468570,_0x598878-_0x8982f._0x2e41e5,_0x598878,_0xfc2dd3- -0x165);}try{this[_0x137aae(-0x1e5,-_0x22ca24._0x26f364,-0x1c1,-_0x22ca24._0x157e93)]()[_0x18217b(_0x22ca24._0xc6f87a,0x218,_0x22ca24._0x46c5a7,0x233)](_0x144749+'\x0a');}catch(_0x3ccf95){console['error']('Error\x20writing\x20to\x20log\x20file:',_0x3ccf95);}this[_0x137aae(-_0x22ca24._0x40dbe9,-_0x22ca24._0x13b5d3,-0x1fc,-0x214)]&&(_0x40045f===_0x18217b(_0x22ca24._0x3772ff,_0x22ca24._0x5aeb0e,0x22f,0x233)?console[_0x18217b(_0x22ca24._0x1f9ab4,_0x22ca24._0x5aeb0e,0x203,_0x22ca24._0x1a1549)]:_0x40045f===_0x137aae(-0x21b,-0x1ef,-_0x22ca24._0x230a1a,-0x1fc)?console['warn']:console[_0x137aae(-0x1e9,-0x213,-_0x22ca24._0xaed853,-0x212)])(_0x144749);}[_0x5408d5(-0x6f,-0x84,-0xb6,-0x98)](_0x5215d9,_0x14eaf1){const _0x423829={_0x50493f:0x25e,_0x47e594:0x26f,_0x1a47cf:0x255,_0x131d01:0xc3},_0x21f791={_0x3fbd02:0x379,_0x3bedbc:0x1b8},_0x107ddd={_0xfdf693:0xf2,_0x1ac4a3:0xe2};function _0x300143(_0x554220,_0x34bb3d,_0x3570df,_0x51f0ca){return _0x2cd0ef(_0x554220-_0x107ddd._0xfdf693,_0x51f0ca,_0x34bb3d-0x222,_0x51f0ca-_0x107ddd._0x1ac4a3);}function _0x538f1f(_0x5c612d,_0x24632d,_0x137710,_0xd4df2d){return _0x2cd0ef(_0x5c612d-0xd4,_0x24632d,_0xd4df2d-_0x21f791._0x3fbd02,_0xd4df2d-_0x21f791._0x3bedbc);}this[_0x538f1f(_0x423829._0x50493f,_0x423829._0x47e594,0x27d,_0x423829._0x1a47cf)](_0x300143(0xe5,0xe0,0xcb,_0x423829._0x131d01),_0x5215d9,_0x14eaf1);}[_0x5408d5(-0xa9,-0xa6,-0x64,-0x84)](_0x1cdcf1,_0x3db938){const _0x1308f3={_0x4d18d6:0x130,_0x28add8:0x11b,_0x9ab136:0x13a,_0x44f971:0x13e,_0x48f7f7:0x11d},_0x2a728c={_0x5b5e68:0xc},_0x178d15={_0x539a52:0x9e};function _0x3970cc(_0x2de912,_0x1d4b0d,_0x433896,_0x207b8f){return _0x5408d5(_0x2de912-_0x178d15._0x539a52,_0x1d4b0d-0x1ac,_0x433896,_0x207b8f- -0x30);}function _0x3317df(_0x1787a9,_0x30515a,_0x5ad418,_0x597eb6){return _0x2cd0ef(_0x1787a9-0xbc,_0x30515a,_0x1787a9- -_0x2a728c._0x5b5e68,_0x597eb6-0x47);}this[_0x3317df(-_0x1308f3._0x4d18d6,-0x156,-_0x1308f3._0x28add8,-0x151)](_0x3317df(-_0x1308f3._0x9ab136,-_0x1308f3._0x44f971,-_0x1308f3._0x48f7f7,-0x147),_0x1cdcf1,_0x3db938);}['warn'](_0x12ee42,_0x48bcae){const _0x190170={_0x459984:0x172,_0x5401ac:0x120,_0x1ef323:0x131,_0x1827ff:0x163,_0x3eceb6:0x167},_0x3b884d={_0x3522f6:0x148},_0x24a078={_0x237777:0x8a};function _0x2fb3fe(_0x33c815,_0x30e209,_0x279d65,_0x19bbe5){return _0x2cd0ef(_0x33c815-0x2d,_0x19bbe5,_0x30e209-0x326,_0x19bbe5-_0x24a078._0x237777);}function _0x99cc38(_0xa394cd,_0x1bea29,_0x5628aa,_0x512357){return _0x2cd0ef(_0xa394cd-0x8d,_0xa394cd,_0x5628aa- -0x26,_0x512357-_0x3b884d._0x3522f6);}this[_0x99cc38(-_0x190170._0x459984,-_0x190170._0x5401ac,-0x14a,-_0x190170._0x1ef323)](_0x99cc38(-0x17a,-_0x190170._0x1827ff,-_0x190170._0x3eceb6,-0x191),_0x12ee42,_0x48bcae);}[_0x5408d5(-0x6c,-0x96,-0x65,-0x70)](_0x443bd8,_0x1d9ab4){const _0xb3857={_0x40519a:0x27a,_0x2e4149:0x25a,_0x36d68e:0x28a};function _0x4fb0e3(_0xfd5703,_0x130ed3,_0x24dc6f,_0x1f8e18){return _0x5408d5(_0xfd5703-0x63,_0x130ed3-0x61,_0x130ed3,_0xfd5703-0x2f4);}this[_0x4fb0e3(_0xb3857._0x40519a,_0xb3857._0x2e4149,0x261,_0xb3857._0x36d68e)]('error',_0x443bd8,_0x1d9ab4);}['close'](){const _0x5bf321={_0x3b6b92:0x366,_0x509ca0:0x365,_0x2d43f4:0x349,_0x5818a4:0x37f,_0x26397d:0x38e,_0x1964db:0xa9,_0x42b911:0xd1},_0x22be88={_0x32900a:0x1d6,_0x2b4879:0xe};function _0x23c9bf(_0x442ce3,_0x5ec63d,_0x410ffd,_0x12b7c0){return _0x2cd0ef(_0x442ce3-0xdf,_0x410ffd,_0x5ec63d-0x4a8,_0x12b7c0-0x5a);}function _0xd0845a(_0x12be62,_0x5cdc0c,_0x27abcf,_0x3efb7e){return _0x2cd0ef(_0x12be62-_0x22be88._0x32900a,_0x12be62,_0x3efb7e-0x214,_0x3efb7e-_0x22be88._0x2b4879);}this[_0x23c9bf(_0x5bf321._0x3b6b92,_0x5bf321._0x509ca0,0x358,_0x5bf321._0x2d43f4)]&&(this['writeStream'][_0x23c9bf(_0x5bf321._0x5818a4,0x36d,0x361,_0x5bf321._0x26397d)](),this[_0xd0845a(0xba,0xb7,_0x5bf321._0x1964db,_0x5bf321._0x42b911)]=null);}[_0x5408d5(-0x4e,-0x4c,-0x6c,-0x76)](){const _0x518c43={_0x2d721e:0x14f,_0x140e6f:0x13f},_0x5cecee={_0x25c8e5:0xad};function _0x3c4020(_0x523edf,_0x2d09d8,_0x32b19d,_0x215c17){return _0x5408d5(_0x523edf-0x171,_0x2d09d8-0x45,_0x215c17,_0x32b19d- -_0x5cecee._0x25c8e5);}return this[_0x3c4020(-_0x518c43._0x2d721e,-0x11d,-0x125,-_0x518c43._0x140e6f)];}[_0x2cd0ef(-0xfa,-0xff,-0x113,-0x12d)](){const _0x201813={_0x15a343:0x186,_0x59c497:0x1a1,_0x39eba0:0x17a,_0x2cc361:0x1aa,_0x13eff8:0x223,_0x377c1f:0x226,_0x1b2c96:0x1f0,_0x10b26e:0x21a,_0x327972:0x18e,_0x108ba3:0x209,_0x36e091:0x21e,_0x5d0592:0x23c,_0x24f5ac:0x21b,_0xae0f20:0x164,_0x15a3e7:0x170,_0x493ced:0x22a,_0x2ced8d:0x225},_0x47ac00={_0x4c5e74:0xcb},_0x4d951d={_0x5eabae:0xb4,_0x12fde4:0x136};function _0x166596(_0xcf3a74,_0x532f00,_0x1bc731,_0x56fa0a){return _0x2cd0ef(_0xcf3a74-_0x4d951d._0x5eabae,_0xcf3a74,_0x532f00- -0x4e,_0x56fa0a-_0x4d951d._0x12fde4);}function _0x3ffa6d(_0x3769ea,_0x411048,_0x1596b3,_0x13b481){return _0x2cd0ef(_0x3769ea-0x1d3,_0x3769ea,_0x13b481- -0x104,_0x13b481-_0x47ac00._0x4c5e74);}try{this[_0x166596(-_0x201813._0x15a343,-_0x201813._0x59c497,-_0x201813._0x39eba0,-_0x201813._0x2cc361)](),_0x3f37d3['existsSync'](this[_0x3ffa6d(-0x24b,-_0x201813._0x13eff8,-0x211,-_0x201813._0x377c1f)])&&_0x3f37d3[_0x3ffa6d(-0x224,-_0x201813._0x1b2c96,-0x217,-_0x201813._0x10b26e)](this[_0x166596(-_0x201813._0x327972,-0x170,-0x17f,-0x157)]);for(let _0x214052=0x1;_0x214052<=this[_0x166596(-0x183,-0x15e,-0x160,-0x17b)];_0x214052++){let _0x2d533b=this['logFilePath']+'.'+_0x214052;_0x3f37d3[_0x3ffa6d(-_0x201813._0x108ba3,-_0x201813._0x36e091,-_0x201813._0x5d0592,-_0x201813._0x24f5ac)](_0x2d533b)&&_0x3f37d3[_0x166596(-0x156,-_0x201813._0xae0f20,-_0x201813._0x15a3e7,-0x147)](_0x2d533b);}}catch(_0x4cb012){console[_0x3ffa6d(-_0x201813._0x493ced,-0x206,-_0x201813._0x2ced8d,-_0x201813._0x36e091)]('Error\x20clearing\x20log\x20files:',_0x4cb012);}}},w=null;function x(_0x3deb90){return w||(w=new F({'logDir':'.','minLevel':'error',..._0x3deb90})),w;}var Y=x();function p(_0x14a896){const _0x2129a6={_0xcfdee7:0x173,_0x547865:0x175,_0x13d308:0x1aa,_0x4907df:0x16e,_0x4ed170:0x186,_0x10c301:0x162,_0x3503c8:0x16a,_0x14c992:0x120,_0x38d5a7:0x1a6,_0x4664c3:0x161,_0x2ce4d7:0x17b,_0x3b6a72:0x166},_0x2a58e9={_0xde16cb:0x1a7,_0x1d778d:0xdf};function _0x1b998a(_0x51d487,_0x209e45,_0x2bbaef,_0x9608cc){return _0x2cd0ef(_0x51d487-0x18e,_0x9608cc,_0x51d487-0x296,_0x9608cc-0x16f);}let _0x12f4a2=_0x49468f['getInstance'](),_0x370613=_0x12f4a2['getProfileManager']();if(!_0x370613)return _0x4bede6[_0x5157a8(-0x170,-_0x2129a6._0xcfdee7,-_0x2129a6._0x547865,-0x172)](_0x1d2cbc['homedir'](),_0x5157a8(-0x1ac,-_0x2129a6._0x13d308,-_0x2129a6._0x4907df,-_0x2129a6._0x4ed170),_0x5157a8(-_0x2129a6._0x10c301,-_0x2129a6._0x3503c8,-_0x2129a6._0x14c992,-0x146));function _0x5157a8(_0x38996e,_0x10e6cb,_0x4f9bcb,_0x1960df){return _0x5408d5(_0x38996e-_0x2a58e9._0xde16cb,_0x10e6cb-0x1ca,_0x38996e,_0x1960df- -_0x2a58e9._0x1d778d);}let _0x27052c=_0x14a896??_0x12f4a2[_0x5157a8(-0x18e,-_0x2129a6._0x38d5a7,-_0x2129a6._0x4664c3,-_0x2129a6._0x2ce4d7)]();return _0x370613[_0x5157a8(-_0x2129a6._0x3b6a72,-0x183,-0x190,-0x17d)](_0x27052c);}async function N(_0x4d37e3){const _0x10a289={_0x5c054c:0x37c,_0x38f0b6:0x394,_0x2a4871:0x14,_0x369ed9:0x12,_0x4abca6:0x19,_0x1b55db:0x1,_0x1a9d59:0x370,_0xc582f:0x365,_0x452c24:0x29,_0x4fc5b8:0x1b},_0x2c0cf3={_0x4de4be:0x19d,_0x2263df:0xbd},_0x3ec6f1={_0x11cca9:0x144};function _0x2637ef(_0x12ec04,_0x3d7a4,_0x397afc,_0x312310){return _0x2cd0ef(_0x12ec04-0x21,_0x397afc,_0x3d7a4-_0x3ec6f1._0x11cca9,_0x312310-0x17b);}function _0x26b13d(_0x6dd757,_0x5ed893,_0x36adfb,_0x595d6c){return _0x2cd0ef(_0x6dd757-_0x2c0cf3._0x4de4be,_0x36adfb,_0x595d6c-0x4ee,_0x595d6c-_0x2c0cf3._0x2263df);}try{let _0x2187a7=await _0x466ba1[_0x26b13d(0x37b,_0x10a289._0x5c054c,0x372,_0x10a289._0x38f0b6)](_0x4d37e3,_0x2637ef(-_0x10a289._0x2a4871,-_0x10a289._0x369ed9,_0x10a289._0x4abca6,-_0x10a289._0x1b55db));if(!_0x2187a7||!_0x2187a7['trim']())return null;let _0x2a0282=JSON[_0x26b13d(0x378,_0x10a289._0x1a9d59,_0x10a289._0xc582f,0x38d)](_0x2187a7);return _0x2a0282??null;}catch(_0x23e29e){if(_0x23e29e?.['code']===_0x2637ef(-_0x10a289._0x452c24,-_0x10a289._0x4fc5b8,-0x32,-0x9))return null;throw _0x23e29e;}}var E=new Map(),H=0x2710,D=new Map(),U=x();function G(_0x380275,_0x41e042){const _0x993767={_0x9e865f:0x2bf,_0x308984:0x2d6},_0x1e8c9c={_0x5a25d2:0x1a9,_0x4d3f7a:0x1a2};function _0x47532a(_0x5aa8de,_0x2b7071,_0x2d6a48,_0x575073){return _0x2cd0ef(_0x5aa8de-0x1e8,_0x5aa8de,_0x2b7071- -_0x1e8c9c._0x5a25d2,_0x575073-_0x1e8c9c._0x4d3f7a);}return(_0x41e042??_0x5070a8)+'_'+(_0x380275??_0x47532a(-_0x993767._0x9e865f,-_0x993767._0x308984,-0x2d8,-0x2b2));}var V=async(_0x4ca466,_0x2f0047)=>{const _0x4451c8={_0x13a012:0xd0,_0x553c6f:0xbe,_0x122f9e:0xfa,_0x5332c2:0xf7,_0x632ef5:0xb3,_0x16960c:0xa2,_0x24e039:0x9b,_0x2f2a32:0xbf},_0x489d87={_0xdc92d4:0xd,_0x49c44f:0x23,_0x3cab81:0x2fc,_0x49e5fe:0x2da,_0x333c3c:0x2c,_0x2a933f:0x37,_0x5b29e6:0x3,_0x3408cc:0x6,_0xc83892:0x14,_0xc109e3:0x9,_0x41f289:0xb,_0x3b0c17:0x2d0,_0xfc9038:0x302,_0x499899:0x16,_0x34d3fc:0xe,_0x2c2d8f:0x10,_0x3fa392:0x2e7,_0x228506:0x2d1,_0x2c5bc6:0x29,_0x1e4921:0xe,_0x7a85e3:0x3f,_0xcb765e:0x1c,_0x5c4e8f:0x2e5,_0x2c6b52:0x2ff,_0x36e668:0x2e6,_0x5e5882:0x1a,_0x3c9dbe:0xa,_0x92643:0x31,_0x2397c8:0x316,_0x42ba41:0x29,_0x41a0c7:0x7,_0x30e79a:0x2fa,_0x21699b:0x26,_0x4e3b6c:0x32,_0x44f707:0x10,_0x40d8aa:0x32,_0x16d1d6:0x1c,_0x2a3da2:0x2d5,_0x138751:0x21,_0x2eb280:0x2f4,_0x2b628f:0x31a},_0x3d0032={_0x2a368b:0x104},_0x4d3e30={_0x1a6122:0x1d1,_0x3a3a83:0x23,_0x26015b:0x25};let _0xd934af=G(_0x4ca466,_0x2f0047),_0x4aa0a1=E['get'](_0xd934af);if(_0x4aa0a1&&Date[_0xd60a40(_0x4451c8._0x13a012,0xb9,_0x4451c8._0x553c6f,0xbd)]()-_0x4aa0a1[_0xd60a40(0xe4,0x10d,_0x4451c8._0x122f9e,_0x4451c8._0x5332c2)]<H)return U[_0x31ac2e(-0xa9,-0xcf,-0xa7,-0xa0)]('Cache\x20hit:',_0xd934af),_0x4aa0a1[_0xd60a40(_0x4451c8._0x632ef5,0x9d,_0x4451c8._0x16960c,_0x4451c8._0x24e039)];function _0x31ac2e(_0x3f6777,_0x244e39,_0x194fe5,_0x14db68){return _0x5408d5(_0x3f6777-_0x4d3e30._0x1a6122,_0x244e39-_0x4d3e30._0x3a3a83,_0x194fe5,_0x3f6777- -_0x4d3e30._0x26015b);}let _0x4f80fa=D[_0x31ac2e(-0xaa,-_0x4451c8._0x2f2a32,-0xd3,-_0x4451c8._0x13a012)](_0xd934af);function _0xd60a40(_0x241db4,_0x4e0246,_0x47b41b,_0xc4e720){return _0x5408d5(_0x241db4-_0x3d0032._0x2a368b,_0x4e0246-0x91,_0x4e0246,_0x241db4-0x159);}if(_0x4f80fa)return _0x4f80fa;let _0x1c8096=((async()=>{const _0x4eab42={_0x5d2440:0xfd},_0x26fc31={_0x29c32c:0xd7};function _0x215a8e(_0x55b113,_0x3acef6,_0x45dfe5,_0x8731f){return _0xd60a40(_0x8731f- -0x3b1,_0x3acef6,_0x45dfe5-_0x26fc31._0x29c32c,_0x8731f-0x189);}function _0x5167a4(_0x38fb98,_0x18e36c,_0x12d717,_0x462e44){return _0x31ac2e(_0x18e36c-0xad,_0x18e36c-0x174,_0x38fb98,_0x462e44-_0x4eab42._0x5d2440);}try{let _0x5dc0fa=p(_0x2f0047);if(!_0x51314f[_0x5167a4(-0x1,0x1b,-_0x489d87._0xdc92d4,_0x489d87._0x49c44f)](_0x5dc0fa))return[];let _0xda246a=(await _0x466ba1[_0x215a8e(-_0x489d87._0x3cab81,-_0x489d87._0x49e5fe,-0x2e2,-0x2df)](_0x5dc0fa,{'withFileTypes':!0x0}))['filter'](_0x263050=>_0x263050[_0x5167a4(0x15,-0x13,-0x34,-0x3c)]())[_0x5167a4(-0x1c,-_0x489d87._0x333c3c,-0x6,-_0x489d87._0x2a933f)](_0x499470=>_0x499470[_0x5167a4(-0xa,0x1d,-0xa,0xd)]);_0xda246a[_0x5167a4(-_0x489d87._0x5b29e6,-0x5,0x24,-_0x489d87._0x3408cc)]((_0x2e8953,_0x10cf02)=>parseInt(_0x10cf02,0xa)-parseInt(_0x2e8953,0xa));let _0x6649b=[];for(let _0x3b2646 of _0xda246a){if(_0x4ca466&&_0x6649b[_0x5167a4(-_0x489d87._0xc83892,-0x15,-0x3d,_0x489d87._0xc109e3)]>=_0x4ca466)break;let _0x1e54c7=_0x4bede6[_0x5167a4(-0x2b,-_0x489d87._0x41f289,_0x489d87._0xc83892,0x4)](_0x5dc0fa,_0x3b2646,'history.json');try{let _0x2485a0=await N(_0x1e54c7);if(!_0x2485a0)continue;let _0x3a9e7c=_0x2485a0?.[_0x215a8e(-_0x489d87._0x3b0c17,-_0x489d87._0xfc9038,-0x2df,-0x2ec)]??[];if(_0x3a9e7c[_0x5167a4(-0x10,-0x15,-_0x489d87._0x5b29e6,-0x31)]===0x0)continue;let _0x436cce=_0x5167a4(0x1,_0x489d87._0x499899,-_0x489d87._0x34d3fc,_0x489d87._0x2c2d8f);for(let _0x43dd9a=_0x3a9e7c[_0x215a8e(-_0x489d87._0x3fa392,-0x2d6,-_0x489d87._0x228506,-0x2f5)]-0x1;_0x43dd9a>=0x0;_0x43dd9a--){let _0x36f83a=_0x3a9e7c[_0x43dd9a];if(!_0x36f83a||typeof _0x36f83a!=_0x5167a4(-0x31,-_0x489d87._0x2c5bc6,-_0x489d87._0x1e4921,-_0x489d87._0x7a85e3))continue;let _0x5bc3cf=_0x36f83a;if(_0x5bc3cf[_0x5167a4(0xd,-_0x489d87._0xcb765e,-0xf,-0x41)]===_0x215a8e(-_0x489d87._0x5c4e8f,-_0x489d87._0x2c6b52,-_0x489d87._0x36e668,-0x2e0)){let _0x2ca1c7=_0x5bc3cf[_0x5167a4(0x6,-0xd,-0x33,-0x2e)];_0x436cce=typeof _0x2ca1c7=='string'?_0x2ca1c7:'';break;}}let _0x15247a=_0x2485a0?.[_0x5167a4(0x42,_0x489d87._0x5e5882,_0x489d87._0x3c9dbe,_0x489d87._0x92643)],_0x541250=_0x15247a&&_0x15247a[_0x215a8e(-0x30d,-_0x489d87._0x2397c8,-0x2e8,-0x2f5)]>0x0?_0x15247a[0x0]:null,_0xfb9d19=_0x541250&&typeof _0x541250==_0x5167a4(-0x3f,-_0x489d87._0x42ba41,-_0x489d87._0x41a0c7,-0x20)&&_0x5167a4(-0x2e,-0x2e,-0x16,-0x4b)in _0x541250?_0x541250[_0x215a8e(-_0x489d87._0x30e79a,-0x330,-0x2e6,-0x30e)]:void 0x0,_0x567f41=new Date(parseInt(_0x3b2646,0xa))[_0x5167a4(_0x489d87._0x21699b,0x19,_0x489d87._0x4e3b6c,_0x489d87._0x44f707)]();_0x6649b['push']({'sessionId':_0x3b2646,'timestamp':_0x567f41,'lastMessage':_0x436cce,'messageCount':_0x3a9e7c[_0x5167a4(-0xf,-0x15,-_0x489d87._0x40d8aa,-_0x489d87._0x16d1d6)],'topic':_0xfb9d19});}catch{}}return E[_0x215a8e(-0x2d0,-0x2b8,-0x2c9,-_0x489d87._0x2a3da2)](_0xd934af,{'timestamp':Date[_0x5167a4(-0x8,-0x1,_0x489d87._0x138751,0xb)](),'data':_0x6649b}),_0x6649b;}finally{D[_0x215a8e(-0x2f7,-_0x489d87._0x2eb280,-_0x489d87._0x2b628f,-0x2f7)](_0xd934af);}})());return D['set'](_0xd934af,_0x1c8096),_0x1c8096;},q=async(_0x42f3a4,_0x488909)=>{const _0x51ada9={_0x3cf04c:0x268},_0x3723be={_0x3c8398:0x14b};let _0x41dc46=_0x42f3a4??String(Date['now']()),_0x3a483a=p(_0x488909),_0x57e6df=_0x4bede6[_0x5e9c31(-0x288,-0x262,-_0x51ada9._0x3cf04c,-0x282)](_0x3a483a,_0x41dc46);function _0x5e9c31(_0x5fb4bf,_0x2fb218,_0x2e3967,_0x45830c){return _0x2cd0ef(_0x5fb4bf-0xd0,_0x2e3967,_0x5fb4bf- -_0x3723be._0x3c8398,_0x45830c-0x7c);}return{'sessionId':_0x41dc46,'sessionDir':_0x57e6df};},O=async _0x2879e1=>{const _0x3dc030={_0x3db90f:0x1a1,_0x1c1ed1:0x1b9,_0x5bb502:0x1df,_0x9a3a08:0x2e1,_0x135e18:0x301,_0x50e4ab:0x2f8,_0x460bb3:0x315,_0x576e54:0x1c5,_0x1a1755:0x1bb,_0x5706aa:0x2ca,_0x430123:0x2e9,_0x4f016c:0x309,_0x534715:0x2f1,_0x5a243e:0x1b1,_0x5672a7:0x1ce,_0x2d50ff:0x1ba,_0x30a7b4:0x1bd,_0x18bec8:0x1a2,_0x5cf99f:0x178},_0x43d86d={_0x4bd271:0x32,_0x31586d:0x9a},_0x2ca3f2={_0x6e396f:0x78,_0x4e4c94:0x23f};function _0xa33857(_0x4c83e3,_0x4ae4d5,_0x406260,_0x58a127){return _0x5408d5(_0x4c83e3-0x184,_0x4ae4d5-_0x2ca3f2._0x6e396f,_0x406260,_0x4ae4d5-_0x2ca3f2._0x4e4c94);}function _0x3831dd(_0x40c9de,_0x3c9bfa,_0x250e0e,_0x2e3d27){return _0x5408d5(_0x40c9de-_0x43d86d._0x4bd271,_0x3c9bfa-_0x43d86d._0x31586d,_0x3c9bfa,_0x250e0e- -0x24d);}try{let _0x3d9341=await N(_0x2879e1);if(!_0x3d9341)return{'kind':_0xa33857(0x18e,0x194,0x1a9,0x18f),'reason':_0xa33857(_0x3dc030._0x3db90f,_0x3dc030._0x1c1ed1,_0x3dc030._0x5bb502,0x1ad)};let _0x3f44dc=_0x3d9341[_0x3831dd(-0x2e9,-0x307,-_0x3dc030._0x9a3a08,-0x2e6)]||[];if(_0x3f44dc['length']===0x0)return{'kind':_0x3831dd(-0x31a,-_0x3dc030._0x135e18,-_0x3dc030._0x50e4ab,-_0x3dc030._0x460bb3),'reason':'no_messages'};let {processMessageToUILines:_0x4ac9a4}=await import(_0xa33857(_0x3dc030._0x576e54,0x19f,_0x3dc030._0x1a1755,0x176)),_0x5736c6=[];for(let _0x15fc94 of _0x3f44dc)_0x5736c6['push'](..._0x4ac9a4(_0x15fc94));let _0x2dbd9c=null;for(let _0x25f094=_0x3f44dc[_0x3831dd(-0x301,-_0x3dc030._0x5706aa,-0x2ea,-_0x3dc030._0x430123)]-0x1;_0x25f094>=0x0;_0x25f094--)if(_0x3f44dc[_0x25f094][_0x3831dd(-_0x3dc030._0x4f016c,-0x2d4,-_0x3dc030._0x534715,-0x30e)]==='assistant'){_0x2dbd9c={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0xa33857(_0x3dc030._0x5a243e,_0x3dc030._0x5672a7,_0x3dc030._0x2d50ff,0x1f1),'lines':_0x5736c6,'metadata':_0x2dbd9c,'cliMessages':_0x3f44dc,'count':_0x3f44dc[_0xa33857(_0x3dc030._0x30a7b4,_0x3dc030._0x18bec8,0x192,_0x3dc030._0x5cf99f)]};}catch{return{'kind':'empty','reason':'not_found'};}},B=async(_0x21774f,_0x2233dd)=>{const _0x64ac3e={_0x5d3762:0x354,_0x3de85a:0x315,_0x179123:0x32b},_0xafe686={_0x4accb2:0xbe,_0x197052:0x69},_0x24c731={_0x27666f:0x197};function _0x48fe47(_0x1c42c4,_0x231d50,_0x5b75f9,_0x5941db){return _0x5408d5(_0x1c42c4-0x167,_0x231d50-_0x24c731._0x27666f,_0x231d50,_0x5941db-0x3d1);}function _0x2445ea(_0x536f59,_0x5465a2,_0x1a5d84,_0x49904e){return _0x2cd0ef(_0x536f59-_0xafe686._0x4accb2,_0x5465a2,_0x49904e-0xb8,_0x49904e-_0xafe686._0x197052);}let _0x5a01fc=p(_0x2233dd),_0x5dd607=_0x4bede6[_0x48fe47(0x327,0x319,0x348,0x33e)](_0x5a01fc,_0x21774f,_0x48fe47(_0x64ac3e._0x5d3762,_0x64ac3e._0x3de85a,_0x64ac3e._0x179123,0x32f));return O(_0x5dd607);},ie=(_0x101078,_0x4b9cde)=>_0x4bede6['join'](p(_0x4b9cde),_0x101078),ne=()=>{let [_0xda2d5c,_0xc68406]=_0x1128e9([]);return{'availableSessions':_0xda2d5c,'setAvailableSessions':_0xc68406,'scanAvailableSessions':V,'loadSessionHistory':B,'loadHistoryFromFile':O,'createNewSession':q};};function _0x288d(){const _0x4bbe0c=['mJKYogvOBKrytG','m3bvsgrSBa','Bg9NrMLSzu5HBwu','CgfYC2u','Dg9WAwm','ru5pru5u','BwfW','zw5ZDxjLtg9NrgLYzwn0B3j5','CM90yxrLtg9NrMLSzxm','B2jQzwn0','CMvHzezPBgu','Bg9Nvg9dB25ZB2XL','mti3mJG3nK1pufvcta','Bg9N','DxrMltG','zw1WDhK','y3jLyxrLv3jPDgvtDhjLyw0','y2XVC2u','mteZmJiZogzKBhfyuq','lM51DMLUlwnSAq','zgf0yq','Bg9NCW','CM9Szq','zM9YBwf0twvZC2fNzq','AgLZDg9YEs5QC29U','C3rHDfn5BMm','lI9TzxnZywDLuhjVy2vZC29YltzmwLPeq0jylMPZ','zgvSzxrL','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','BgvUz3rO','z2v0q3vYCMvUDfbYB2zPBgu','AxneAxjLy3rVCNK','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','D3jPDgvtDhjLyw0','zgvIDwC','D2fYBG','C2L6zq','y29UDgvUDa','y2XP','AM9PBG','mtCYotuXmKLwq2PxAa','zw5K','mtyZmJq0mhHqzuzhAa','CMvUyw1Lu3LUyW','Aw5JBhvKzvrPBwvZDgfTCa','C29YDa','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','BwLUtgv2zwW','ndm4otu2mxniBuPoAW','BM93','DxnLCG','CMvHzgrPCG','BM90x2zVDw5K','z2v0','Aw5MBW','ywXS','y2HLy2TbBMrsB3rHDgu','ChvZAa','zgvZDhjVEwvK','Bwf4rMLSzvnPEMu','lMXVzW','C2v0','mJeXmZnoD1fMDue','Dg9vChbLCKnHC2u','D3jPDgu','C2HVDwXKtg9N','Bg9NrMLSzvbHDgG','z2v0v3jPDgvtDhjLyw0','z2v0tg9NrMLSzvbHDgG','DgLTzxn0yw1W','Bg9NrgLY','C3rYAw5NAwz5','tM8GBwvZC2fNzxm','BwvZC2fNzxm','zxjYB3i','Dg9mB2nHBgvtDhjPBMC','x19TzxrHzgf0yv9Fy2XP','zxHPC3rZu3LUyW','Dw5SAw5Ru3LUyW','BMfTzq','Ag9TzwrPCG','y2XLyxjmB2DZ','ndiYoduXt0j4EMfN','C2vZC2LVBNm','Bwf4rMLSzxm'];_0x288d=function(){return _0x4bbe0c;};return _0x288d();}export{Y as a,V as b,q as c,O as d,B as e,ie as f,ne as g};
1
+ function _0x2c898a(_0x156618,_0x267b5d,_0x5871d5,_0x4940a9){return _0x3a5b(_0x267b5d-0x2f3,_0x5871d5);}(function(_0xd3aded,_0x2dd3e9){const _0x5a44a5={_0x3fe535:0xf,_0x251d72:0x20,_0x4501a9:0x19c,_0x41cd17:0x16a,_0x33806e:0x1ad,_0x3b6e4b:0x1b7,_0x38fcfd:0x18c,_0x2cb1ef:0x1b4,_0x482d94:0x17,_0x4f1b82:0x26,_0x40a845:0x2f,_0x47907f:0x155,_0x354702:0x15f,_0x1feceb:0x149,_0x344a1f:0x187,_0x5b1bd6:0x159,_0x2d0af0:0x156,_0x5910db:0x17};function _0x50c804(_0xd2b83c,_0x4ac69a,_0x11cee8,_0xeab421){return _0x3a5b(_0x4ac69a- -0x25e,_0xeab421);}const _0x3e9726=_0xd3aded();function _0x19cbf4(_0x203478,_0x5d5a2e,_0x129ce2,_0x5d7c99){return _0x3a5b(_0x5d5a2e- -0xf9,_0x129ce2);}while(!![]){try{const _0x45a255=-parseInt(_0x19cbf4(_0x5a44a5._0x3fe535,_0x5a44a5._0x251d72,-0x8,-0x1))/0x1*(-parseInt(_0x50c804(-_0x5a44a5._0x4501a9,-0x190,-_0x5a44a5._0x41cd17,-_0x5a44a5._0x33806e))/0x2)+-parseInt(_0x50c804(-_0x5a44a5._0x3b6e4b,-_0x5a44a5._0x38fcfd,-0x16a,-_0x5a44a5._0x2cb1ef))/0x3+parseInt(_0x19cbf4(-_0x5a44a5._0x482d94,0xd,_0x5a44a5._0x4f1b82,_0x5a44a5._0x40a845))/0x4+-parseInt(_0x50c804(-_0x5a44a5._0x47907f,-0x166,-_0x5a44a5._0x354702,-0x161))/0x5+-parseInt(_0x50c804(-_0x5a44a5._0x1feceb,-0x171,-_0x5a44a5._0x344a1f,-0x18b))/0x6+-parseInt(_0x50c804(-_0x5a44a5._0x5b1bd6,-0x16c,-_0x5a44a5._0x2d0af0,-0x192))/0x7+parseInt(_0x19cbf4(-0x2b,-0x26,-_0x5a44a5._0x5910db,-0x44))/0x8;if(_0x45a255===_0x2dd3e9)break;else _0x3e9726['push'](_0x3e9726['shift']());}catch(_0x3c9c22){_0x3e9726['push'](_0x3e9726['shift']());}}}(_0x4bc9,0xd9328));function _0x3cb6d5(_0x495278,_0x15d485,_0x24d917,_0x34872b){return _0x3a5b(_0x15d485- -0x19c,_0x495278);}import{b as _0x449605}from'./chunk-PC75UOLY.js';import{a as _0xd8691f}from'./chunk-M6KACDU7.js';import{useState as _0x435083}from'react';import*as _0x458e72 from'fs';import*as _0x10db00 from'fs/promises';import*as _0x1009d0 from'path';import*as _0x37f488 from'os';function _0x3a5b(_0x35d44a,_0x5e3883){_0x35d44a=_0x35d44a-0xcd;const _0x4bc9e0=_0x4bc9();let _0x3a5bb0=_0x4bc9e0[_0x35d44a];if(_0x3a5b['yEWuAe']===undefined){var _0x39c654=function(_0x5d2c97){const _0x313ab2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x449605='',_0xd8691f='';for(let _0x435083=0x0,_0x458e72,_0x10db00,_0x1009d0=0x0;_0x10db00=_0x5d2c97['charAt'](_0x1009d0++);~_0x10db00&&(_0x458e72=_0x435083%0x4?_0x458e72*0x40+_0x10db00:_0x10db00,_0x435083++%0x4)?_0x449605+=String['fromCharCode'](0xff&_0x458e72>>(-0x2*_0x435083&0x6)):0x0){_0x10db00=_0x313ab2['indexOf'](_0x10db00);}for(let _0x37f488=0x0,_0x3f1682=_0x449605['length'];_0x37f488<_0x3f1682;_0x37f488++){_0xd8691f+='%'+('00'+_0x449605['charCodeAt'](_0x37f488)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xd8691f);};_0x3a5b['yVeEfe']=_0x39c654,_0x3a5b['ELgKVZ']={},_0x3a5b['yEWuAe']=!![];}const _0x58f9f0=_0x4bc9e0[0x0],_0x58c3bd=_0x35d44a+_0x58f9f0,_0x12c9cd=_0x3a5b['ELgKVZ'][_0x58c3bd];return!_0x12c9cd?(_0x3a5bb0=_0x3a5b['yVeEfe'](_0x3a5bb0),_0x3a5b['ELgKVZ'][_0x58c3bd]=_0x3a5bb0):_0x3a5bb0=_0x12c9cd,_0x3a5bb0;}import*as _0x3f1682 from'fs';import*as _0x3bd3b9 from'path';import*as _0x13db13 from'os';var $={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},F=class{constructor(_0x183773={}){const _0xf759c4={_0x524862:0x33e,_0xc1a650:0x35c,_0x48c609:0x331,_0x5a7554:0x34f,_0x1bd31a:0x34f,_0x9e629d:0x262,_0x14249:0x224,_0x8e3e79:0x287,_0x6b0850:0x288,_0x410568:0x271,_0xf2cd43:0x37a,_0x2520fa:0x36a,_0x263636:0x24f,_0x8ad744:0x22a,_0x143e03:0x24e,_0x11bf5a:0x271,_0x598559:0x246,_0x46be5b:0x256,_0x251a49:0x242,_0xbe50e4:0x248,_0x7b2a7b:0x342,_0x1a70b5:0x276,_0x3d3782:0x263,_0x13041e:0x240,_0x1069c9:0x329,_0x41c041:0x333,_0x42c06a:0x275,_0x24f1d5:0x235,_0x3ec520:0x24c,_0x43be43:0x359,_0x4b8a9c:0x25a,_0x2adff9:0x230,_0x48fd52:0x23d},_0xed1509={_0x5477dc:0x35d};this['writeStream']=null,this['logDir']=_0x183773[_0x121540(_0xf759c4._0x524862,_0xf759c4._0xc1a650,_0xf759c4._0x48c609,0x358)]||_0x3bd3b9[_0x121540(_0xf759c4._0x5a7554,_0xf759c4._0x1bd31a,0x35c,0x335)](_0x13db13[_0x80eedf(-0x24b,-_0xf759c4._0x9e629d,-_0xf759c4._0x14249,-0x238)](),'.nuvin-cli',_0x80eedf(-_0xf759c4._0x8e3e79,-_0xf759c4._0x6b0850,-0x265,-_0xf759c4._0x410568));function _0x121540(_0x25b780,_0x3ae86e,_0x1148a5,_0x57450d){return _0x3a5b(_0x25b780-0x241,_0x3ae86e);}function _0x80eedf(_0x1589d4,_0x84f76b,_0x5d8f5c,_0x25b53f){return _0x3a5b(_0x1589d4- -_0xed1509._0x5477dc,_0x25b53f);}let _0xe8829f=_0x183773[_0x121540(0x358,0x32e,_0xf759c4._0xf2cd43,_0xf759c4._0x2520fa)]||_0x80eedf(-0x23e,-0x23c,-0x25f,-0x24e);this['logFilePath']=_0x3bd3b9[_0x80eedf(-_0xf759c4._0x263636,-_0xf759c4._0x8ad744,-0x256,-0x24f)](this[_0x80eedf(-0x260,-_0xf759c4._0x143e03,-_0xf759c4._0x11bf5a,-_0xf759c4._0x598559)],_0xe8829f+_0x80eedf(-_0xf759c4._0x46be5b,-_0xf759c4._0x251a49,-0x246,-_0xf759c4._0xbe50e4)),this[_0x121540(0x328,0x33d,_0xf759c4._0x7b2a7b,_0xf759c4._0x524862)]=_0x183773[_0x80eedf(-_0xf759c4._0x1a70b5,-_0xf759c4._0x3d3782,-0x25c,-0x24e)]||'error',this[_0x80eedf(-0x263,-_0xf759c4._0x13041e,-0x270,-0x266)]=_0x183773['maxFileSize']||0x5*0x400*0x400,this[_0x121540(0x329,0x34f,_0xf759c4._0x1069c9,_0xf759c4._0x41c041)]=_0x183773[_0x80eedf(-_0xf759c4._0x42c06a,-0x26c,-0x283,-0x298)]||0x3,this['includeTimestamp']=_0x183773[_0x80eedf(-0x24e,-_0xf759c4._0x24f1d5,-0x227,-0x235)]??!0x0,this[_0x80eedf(-_0xf759c4._0x3ec520,-0x276,-0x249,-0x229)]=_0x183773[_0x121540(0x352,0x35b,_0xf759c4._0x43be43,0x350)]??!0x1,this[_0x80eedf(-_0xf759c4._0x4b8a9c,-_0xf759c4._0x2adff9,-_0xf759c4._0x48fd52,-0x230)]();}[_0x3cb6d5(-0xb3,-0x99,-0xb9,-0x7e)](){const _0x465afb={_0x1a37d3:0xa2,_0x534f2d:0x228,_0x179e1d:0x225,_0x3b1a19:0x203,_0x164f79:0x2a,_0x16c582:0x24,_0x1d1548:0x230,_0x3d9cc8:0x214,_0x3c0d7e:0x1ef,_0x17df06:0x5b,_0xea3246:0x7b,_0x2d7656:0x53,_0x3686da:0x6c,_0x1bc147:0x209},_0x33ab95={_0xb325ab:0x104,_0x4ffe1b:0x1bc},_0x596a8c={_0x2d7797:0x2c4,_0xc0f77:0x80};function _0x1bffd7(_0x3a41f5,_0x10cf9d,_0xfc4c5b,_0x26e17d){return _0x3cb6d5(_0x26e17d,_0x10cf9d-_0x596a8c._0x2d7797,_0xfc4c5b-0x65,_0x26e17d-_0x596a8c._0xc0f77);}function _0x2899ce(_0x10973c,_0x229a3a,_0x5ef791,_0x5952c0){return _0x3cb6d5(_0x229a3a,_0x5ef791-_0x33ab95._0xb325ab,_0x5ef791-_0x33ab95._0x4ffe1b,_0x5952c0-0x1e7);}try{_0x3f1682[_0x2899ce(_0x465afb._0x1a37d3,0x6d,0x85,0x9c)](this[_0x1bffd7(_0x465afb._0x534f2d,_0x465afb._0x179e1d,_0x465afb._0x3b1a19,0x24b)])||_0x3f1682[_0x2899ce(0x56,_0x465afb._0x164f79,0x37,_0x465afb._0x16c582)](this[_0x1bffd7(0x22e,_0x465afb._0x179e1d,_0x465afb._0x1d1548,_0x465afb._0x3d9cc8)],{'recursive':!0x0});}catch(_0x414971){console[_0x1bffd7(0x1ed,0x214,_0x465afb._0x3c0d7e,0x210)](_0x2899ce(_0x465afb._0x17df06,_0x465afb._0xea3246,_0x465afb._0x2d7656,_0x465afb._0x3686da)+this[_0x1bffd7(_0x465afb._0x1bc147,0x225,0x229,0x20f)]+':',_0x414971);}}[_0x2c898a(0x418,0x3fd,0x3f5,0x423)](){const _0x55279b={_0x28060e:0x1d0,_0x438a86:0x1cb,_0xe90fb5:0x1d8,_0x1de767:0x20f,_0x1afad9:0x224,_0x4b1dd2:0x21b,_0x521b9d:0x1f8,_0x350731:0x1f2,_0x53bcd4:0x1f8,_0x2b8c3b:0x1e3,_0x4a8a15:0x1d4},_0x1fa1a0={_0x1b87e0:0x21f},_0x1291d5={_0xd21f15:0x92};function _0x41e7a7(_0x1b0cf8,_0x4e9ee7,_0x4617ce,_0x4154c9){return _0x3cb6d5(_0x1b0cf8,_0x4154c9-0x2cc,_0x4617ce-0x138,_0x4154c9-_0x1291d5._0xd21f15);}function _0x25cfa4(_0x2996e8,_0x55eff0,_0x21f9a6,_0x447628){return _0x2c898a(_0x2996e8-0x4,_0x55eff0- -_0x1fa1a0._0x1b87e0,_0x21f9a6,_0x447628-0x1df);}return(!this['writeStream']||this['writeStream'][_0x25cfa4(_0x55279b._0x28060e,0x1d5,_0x55279b._0x438a86,_0x55279b._0xe90fb5)])&&(this[_0x41e7a7(_0x55279b._0x1de767,0x222,_0x55279b._0x1afad9,0x212)]=_0x3f1682[_0x41e7a7(0x235,0x21c,_0x55279b._0x4b1dd2,0x22c)](this[_0x25cfa4(_0x55279b._0x521b9d,_0x55279b._0x350731,_0x55279b._0x53bcd4,_0x55279b._0x2b8c3b)],{'flags':'w'})),this[_0x25cfa4(0x1d8,0x1b6,0x1a0,_0x55279b._0x4a8a15)];}[_0x3cb6d5(-0xaf,-0x9e,-0xae,-0x91)](){const _0x3d1742={_0x16f723:0x3f8,_0x156cde:0x3d6,_0x2c15ef:0x3cb,_0x2f3122:0x4cd,_0x1c6b93:0x49a,_0x191641:0x472,_0x43c74a:0x45d,_0x59d486:0x464,_0x431f40:0x3f5,_0x478ecc:0x3dd,_0x447a55:0x4a2,_0xb00586:0x46c,_0x51a807:0x3e4,_0x3d4449:0x3bf},_0x38cb1c={_0x37e87a:0x1f,_0x4f6811:0x1bf},_0x5836b1={_0x21226f:0xa1};function _0xd19a8e(_0x283f29,_0x38e5eb,_0x1025ca,_0x23bb23){return _0x2c898a(_0x283f29-0x75,_0x38e5eb-_0x5836b1._0x21226f,_0x23bb23,_0x23bb23-0x179);}function _0x52bc69(_0x50744d,_0x103696,_0x4af9e,_0x5d8c3a){return _0x2c898a(_0x50744d-0x143,_0x5d8c3a- -_0x38cb1c._0x37e87a,_0x50744d,_0x5d8c3a-_0x38cb1c._0x4f6811);}try{if(!_0x3f1682[_0x52bc69(0x3fa,_0x3d1742._0x16f723,0x3cd,0x3f1)](this['logFilePath']))return;_0x3f1682[_0x52bc69(0x3a1,0x3d3,_0x3d1742._0x156cde,_0x3d1742._0x2c15ef)](this[_0xd19a8e(_0x3d1742._0x2f3122,0x4b2,_0x3d1742._0x1c6b93,0x4c5)])[_0xd19a8e(0x448,_0x3d1742._0x191641,_0x3d1742._0x43c74a,_0x3d1742._0x59d486)]>=this['maxFileSize']&&this[_0x52bc69(0x3e8,0x3dd,_0x3d1742._0x431f40,_0x3d1742._0x478ecc)]();}catch(_0x1db560){console[_0xd19a8e(0x493,0x480,_0x3d1742._0x447a55,_0x3d1742._0xb00586)](_0x52bc69(_0x3d1742._0x51a807,_0x3d1742._0x3d4449,0x401,0x3e8),_0x1db560);}}[_0x2c898a(0x41c,0x3fc,0x3eb,0x3f1)](){const _0x362320={_0x12e727:0x263,_0xf85bbe:0x256,_0x47cd81:0x9d,_0x1a49ff:0xb2,_0xdb4242:0xa8,_0x32fbf1:0xc6,_0x16cc0c:0x241,_0x347be3:0x273,_0x49604d:0x26c,_0x1bb584:0x292,_0x137c23:0xb6,_0x8da2fa:0xac,_0x317fb1:0x8f,_0x3e5c82:0x99,_0x520397:0x24c,_0x36a878:0x23b,_0x3d3ab9:0x266,_0x59a3f0:0x28c,_0x17e45f:0x291,_0x7b2b2f:0x286,_0x42cdd8:0x26e,_0x295d64:0x27c,_0x4c8814:0x291,_0x35ba3f:0x27b,_0x301902:0x2a4,_0x439dae:0x2a7,_0x290106:0x280,_0x3a0645:0x248,_0x50eab5:0x23e},_0x113b90={_0x5c5064:0xf6},_0xdbbab2={_0x102d42:0x310,_0x3c444d:0x19a};function _0xb24fc8(_0x59691f,_0x45c237,_0x3ba4d2,_0xb422fe){return _0x3cb6d5(_0x45c237,_0x3ba4d2-_0xdbbab2._0x102d42,_0x3ba4d2-0x148,_0xb422fe-_0xdbbab2._0x3c444d);}function _0x387c74(_0x2b128b,_0x182a3c,_0x4ae42c,_0x2f09a7){return _0x2c898a(_0x2b128b-0x10f,_0x2b128b- -0x338,_0x4ae42c,_0x2f09a7-_0x113b90._0x5c5064);}try{this[_0xb24fc8(0x25b,_0x362320._0x12e727,_0x362320._0xf85bbe,0x26e)]&&(this[_0x387c74(_0x362320._0x47cd81,_0x362320._0x1a49ff,_0x362320._0xdb4242,_0x362320._0x32fbf1)]['end'](),this[_0xb24fc8(0x23a,_0x362320._0x16cc0c,_0x362320._0xf85bbe,0x235)]=null);let _0x45cf9b=this[_0xb24fc8(_0x362320._0x347be3,_0x362320._0x49604d,_0x362320._0x1bb584,0x2b6)],_0x4edf26=_0x45cf9b+'.'+this['maxFiles'];_0x3f1682[_0x387c74(0xd8,_0x362320._0x137c23,0xda,0xf7)](_0x4edf26)&&_0x3f1682[_0x387c74(_0x362320._0x8da2fa,0x8d,_0x362320._0x317fb1,_0x362320._0x3e5c82)](_0x4edf26);for(let _0x26c751=this[_0xb24fc8(_0x362320._0x520397,_0x362320._0x36a878,0x25c,0x27c)]-0x1;_0x26c751>=0x1;_0x26c751--){let _0xb24395=_0x45cf9b+'.'+_0x26c751,_0x12d88b=_0x45cf9b+'.'+(_0x26c751+0x1);_0x3f1682[_0xb24fc8(_0x362320._0x3d3ab9,_0x362320._0x59a3f0,_0x362320._0x17e45f,_0x362320._0x7b2b2f)](_0xb24395)&&_0x3f1682['renameSync'](_0xb24395,_0x12d88b);}_0x3f1682[_0xb24fc8(_0x362320._0x42cdd8,_0x362320._0x295d64,_0x362320._0x4c8814,_0x362320._0x35ba3f)](_0x45cf9b)&&_0x3f1682[_0xb24fc8(_0x362320._0x301902,_0x362320._0x439dae,_0x362320._0x290106,0x282)](_0x45cf9b,_0x45cf9b+'.1');}catch(_0x8ec9f5){console[_0xb24fc8(0x277,_0x362320._0x3a0645,0x260,0x287)](_0xb24fc8(_0x362320._0x50eab5,0x26e,0x25a,0x25d),_0x8ec9f5);}}[_0x2c898a(0x3e0,0x3fb,0x419,0x3ec)](_0xc5e058,_0x2390a8,_0x590e69){const _0x5a6f56={_0x2ec4e0:0x11f,_0x49d191:0x13c,_0x51c815:0xd6,_0x517087:0xff,_0x452b7e:0x111,_0x504e90:0x147,_0x12aebd:0x157,_0x5ccd92:0x124,_0x180126:0x11d,_0xb94944:0x11e,_0x54a8f6:0x101,_0x872afd:0x12f},_0x1bacea={_0x190c89:0x44,_0x22c8d0:0x514,_0x5f3135:0xea},_0x4f705d={_0x3c1445:0x1d7,_0x4e1232:0x129,_0x33ccb6:0x84};function _0x5a3a2e(_0xabefe1,_0x438ba3,_0x370d69,_0x36ca1a){return _0x3cb6d5(_0x370d69,_0x438ba3-_0x4f705d._0x3c1445,_0x370d69-_0x4f705d._0x4e1232,_0x36ca1a-_0x4f705d._0x33ccb6);}function _0x12abbf(_0x165f88,_0x31b0d,_0x25c522,_0x424e9){return _0x2c898a(_0x165f88-_0x1bacea._0x190c89,_0x165f88- -_0x1bacea._0x22c8d0,_0x25c522,_0x424e9-_0x1bacea._0x5f3135);}let _0x57466f=[];if(this[_0x5a3a2e(0x12e,0x14a,_0x5a6f56._0x2ec4e0,_0x5a6f56._0x49d191)]&&_0x57466f[_0x12abbf(-0xff,-_0x5a6f56._0x51c815,-_0x5a6f56._0x517087,-_0x5a6f56._0x452b7e)]('['+new Date()[_0x12abbf(-_0x5a6f56._0x504e90,-0x13c,-_0x5a6f56._0x12aebd,-0x12c)]()+']'),_0x57466f['push']('['+_0xc5e058[_0x5a3a2e(_0x5a6f56._0x5ccd92,0x136,_0x5a6f56._0x180126,_0x5a6f56._0xb94944)]()+']'),_0x57466f['push'](_0x2390a8),_0x590e69!==void 0x0)try{_0x57466f['push'](JSON['stringify'](_0x590e69,null,0x2));}catch{_0x57466f[_0x12abbf(-0xff,-0x104,-0x118,-_0x5a6f56._0x54a8f6)](String(_0x590e69));}return _0x57466f[_0x5a3a2e(_0x5a6f56._0x872afd,0x149,0x121,0x11e)]('\x20');}[_0x2c898a(0x3e2,0x3d4,0x3d8,0x3c4)](_0x2006b9){const _0x509c7b={_0x59532a:0x123,_0x228967:0xf5,_0x447584:0xfd};function _0x4f56ae(_0x504fe2,_0x5299d1,_0x127989,_0x3323ec){return _0x3cb6d5(_0x3323ec,_0x127989- -0x48,_0x127989-0x12b,_0x3323ec-0x126);}return $[_0x2006b9]>=$[this[_0x4f56ae(-_0x509c7b._0x59532a,-_0x509c7b._0x228967,-_0x509c7b._0x447584,-0xe7)]];}[_0x2c898a(0x3d9,0x3cc,0x3cd,0x3a8)](_0xb311cd,_0x303843,_0x287251){const _0x5d945f={_0x51d48f:0xb,_0xcf9f80:0x11,_0x5d8cf2:0x18,_0x1eae88:0x2a,_0x27f9d1:0x28,_0x9b1c9d:0x4,_0x100c68:0x340,_0x315f38:0x31f,_0x504113:0x355,_0x3d3b4a:0x322},_0x14535f={_0x318ed3:0x27,_0xd4a2f1:0x167},_0x580088={_0x4ad75a:0xb3,_0x4b4c3e:0x25};function _0x4f34bd(_0x111503,_0x4bc25f,_0x5e5f7e,_0x3b191e){return _0x2c898a(_0x111503-0x53,_0x5e5f7e- -_0x580088._0x4ad75a,_0x111503,_0x3b191e-_0x580088._0x4b4c3e);}if(!this[_0xc1ab94(0x10,-_0x5d945f._0x51d48f,-_0x5d945f._0xcf9f80,-_0x5d945f._0x5d8cf2)](_0xb311cd))return;let _0x40d51d=this['formatMessage'](_0xb311cd,_0x303843,_0x287251);this['checkAndRotate']();try{this[_0xc1ab94(_0x5d945f._0x1eae88,_0x5d945f._0x27f9d1,_0x5d945f._0x5d8cf2,-_0x5d945f._0x9b1c9d)]()[_0x4f34bd(0x2fd,0x318,0x319,0x2fc)](_0x40d51d+'\x0a');}catch(_0x2b9e59){console['error'](_0x4f34bd(0x36b,0x31f,_0x5d945f._0x100c68,_0x5d945f._0x315f38),_0x2b9e59);}function _0xc1ab94(_0x27612d,_0x454080,_0x28b141,_0x404c04){return _0x3cb6d5(_0x454080,_0x28b141-0xaa,_0x28b141-_0x14535f._0x318ed3,_0x404c04-_0x14535f._0xd4a2f1);}this['logToConsole']&&(_0xb311cd==='error'?console[_0x4f34bd(_0x5d945f._0x504113,0x338,0x32c,0x304)]:_0xb311cd===_0x4f34bd(_0x5d945f._0x3d3b4a,0x354,0x32f,0x311)?console['warn']:console['log'])(_0x40d51d);}[_0x3cb6d5(-0x9a,-0xb7,-0xbb,-0xba)](_0x1c2292,_0x1c0eb7){const _0x51506c={_0x469c2d:0x1b0,_0x14cbb7:0x185,_0x392c2a:0x17d},_0x561688={_0x258c41:0xc6,_0x55d99a:0x17c};function _0x518082(_0x2cda55,_0x9af0f1,_0x10afa6,_0x48ae8b){return _0x3cb6d5(_0x2cda55,_0x48ae8b-0x3a7,_0x10afa6-0x2b,_0x48ae8b-0x197);}function _0x46b346(_0x179381,_0x1b99fa,_0x2dae0f,_0xe75766){return _0x3cb6d5(_0x2dae0f,_0xe75766- -_0x561688._0x258c41,_0x2dae0f-0xb3,_0xe75766-_0x561688._0x55d99a);}this[_0x46b346(-0x1a0,-0x162,-_0x51506c._0x469c2d,-0x189)](_0x46b346(-0x178,-_0x51506c._0x14cbb7,-0x156,-_0x51506c._0x392c2a),_0x1c2292,_0x1c0eb7);}[_0x3cb6d5(-0xbb,-0xb9,-0xad,-0xde)](_0xd2a834,_0x2061fe){const _0x4924bb={_0x1e77cb:0x276,_0x25b2bb:0x1ef,_0x29e91f:0x1fa},_0x247012={_0x2fe7c3:0x15a},_0x503245={_0x14a1c2:0x17e,_0x237861:0x1e7,_0x56c00f:0xf1};function _0x49d9d1(_0x193857,_0x54e826,_0x494072,_0x402888){return _0x2c898a(_0x193857-_0x503245._0x14a1c2,_0x54e826- -_0x503245._0x237861,_0x402888,_0x402888-_0x503245._0x56c00f);}function _0xc9957d(_0x21c2d2,_0x226a2e,_0x972cf8,_0x1b8810){return _0x3cb6d5(_0x226a2e,_0x21c2d2- -0x1c7,_0x972cf8-0x16e,_0x1b8810-_0x247012._0x2fe7c3);}this[_0xc9957d(-0x28a,-0x284,-0x2ad,-_0x4924bb._0x1e77cb)](_0x49d9d1(0x1e4,_0x4924bb._0x25b2bb,_0x4924bb._0x29e91f,0x21a),_0xd2a834,_0x2061fe);}['warn'](_0x1e17c9,_0x1c45ad){const _0x1003a8={_0x16a1f1:0x9c,_0x3eea8d:0x99},_0x5f07c3={_0x2dab56:0x11,_0x1a2f36:0x129,_0xf14b84:0x10c};function _0x751f44(_0x1d0556,_0x33dd5d,_0x4a561e,_0x23424a){return _0x3cb6d5(_0x4a561e,_0x1d0556-_0x5f07c3._0x2dab56,_0x4a561e-_0x5f07c3._0x1a2f36,_0x23424a-_0x5f07c3._0xf14b84);}this['write'](_0x751f44(-_0x1003a8._0x16a1f1,-0x78,-_0x1003a8._0x3eea8d,-0xa1),_0x1e17c9,_0x1c45ad);}['error'](_0x185ba9,_0x184b3b){const _0x52a735={_0x33108d:0x79,_0x49bafa:0x89,_0x1b3ef8:0xa1,_0x5b1f82:0xb0,_0x5df82c:0x31a},_0x287524={_0x38533c:0x29,_0x320527:0x9f},_0x613d31={_0x5ed4b9:0x39,_0x4a60df:0x343,_0x35db8a:0x11f};function _0x1dad0a(_0x783a21,_0x21120c,_0x40052a,_0x4a6ddd){return _0x2c898a(_0x783a21-_0x613d31._0x5ed4b9,_0x21120c- -_0x613d31._0x4a60df,_0x40052a,_0x4a6ddd-_0x613d31._0x35db8a);}function _0x47b620(_0x2917d9,_0x40d733,_0x33596f,_0x170e1d){return _0x2c898a(_0x2917d9-_0x287524._0x38533c,_0x170e1d- -_0x287524._0x320527,_0x2917d9,_0x170e1d-0x1e6);}this[_0x1dad0a(_0x52a735._0x33108d,_0x52a735._0x49bafa,_0x52a735._0x1b3ef8,_0x52a735._0x5b1f82)](_0x47b620(0x339,0x32d,_0x52a735._0x5df82c,0x340),_0x185ba9,_0x184b3b);}[_0x3cb6d5(-0x9c,-0x9d,-0xa2,-0x9a)](){const _0xdf4302={_0x3b313e:0x20a,_0x121312:0x1fb,_0x3901c6:0x1c2,_0x2b10a7:0x1d9,_0x2fc6a9:0x1e6},_0xab52fb={_0x24e76a:0x1a3,_0x34e2aa:0x127},_0x1faf6b={_0x3f079f:0x1f3};function _0x12e31b(_0x34a494,_0x63216b,_0x524d19,_0x2e50ba){return _0x2c898a(_0x34a494-0x1da,_0x34a494- -0x56a,_0x2e50ba,_0x2e50ba-_0x1faf6b._0x3f079f);}function _0x30ffda(_0x473d78,_0x2b96c9,_0x7cff97,_0x4b5458){return _0x2c898a(_0x473d78-_0xab52fb._0x24e76a,_0x4b5458- -0x1ef,_0x7cff97,_0x4b5458-_0xab52fb._0x34e2aa);}this[_0x30ffda(_0xdf4302._0x3b313e,0x1c6,0x1cc,0x1e6)]&&(this['writeStream']['end'](),this[_0x30ffda(_0xdf4302._0x121312,_0xdf4302._0x3901c6,_0xdf4302._0x2b10a7,_0xdf4302._0x2fc6a9)]=null);}[_0x3cb6d5(-0x8b,-0xb3,-0xbc,-0x98)](){const _0x53c72c={_0x2c9769:0x11e,_0x193b20:0x146},_0x51eb52={_0x27eddf:0x11d,_0x15f5ab:0x185};function _0x590e26(_0x4561c1,_0x317cb3,_0x3cef61,_0x3f7df2){return _0x2c898a(_0x4561c1-_0x51eb52._0x27eddf,_0x317cb3- -0x2f3,_0x3f7df2,_0x3f7df2-_0x51eb52._0x15f5ab);}return this[_0x590e26(0xfc,_0x53c72c._0x2c9769,_0x53c72c._0x193b20,0x12f)];}[_0x2c898a(0x3cd,0x3cf,0x3b1,0x3c1)](){const _0xd7e63={_0xeb75f3:0x157,_0x62baaf:0x159,_0x167080:0x17c,_0x152ffa:0x15f,_0x5f16e0:0x13c,_0x1b47a7:0x14f,_0x7a8fb0:0x159,_0x5cb03d:0x407,_0x27eec1:0x3ce,_0x569677:0x3c2,_0x1ab9f8:0x162,_0x35d76c:0x187,_0x436c79:0x1a2,_0x1e8522:0x3c1,_0x6c8c7f:0x3b8,_0xeae51f:0x3bf},_0x52ab21={_0x739ad:0x199,_0xe4642c:0x560,_0x2101c0:0x15e};function _0x2803ad(_0x3e15be,_0x4f7471,_0x17cbc3,_0x2a6980){return _0x2c898a(_0x3e15be-_0x52ab21._0x739ad,_0x17cbc3- -_0x52ab21._0xe4642c,_0x3e15be,_0x2a6980-_0x52ab21._0x2101c0);}function _0x3ba2af(_0x41aba1,_0x4ad6d0,_0x1c2d87,_0x56c2c7){return _0x2c898a(_0x41aba1-0x19c,_0x56c2c7- -0x27,_0x1c2d87,_0x56c2c7-0x1bf);}try{this['close'](),_0x3f1682['existsSync'](this['logFilePath'])&&_0x3f1682[_0x2803ad(-_0xd7e63._0xeb75f3,-_0xd7e63._0x62baaf,-_0xd7e63._0x167080,-0x167)](this[_0x2803ad(-_0xd7e63._0x152ffa,-_0xd7e63._0x5f16e0,-_0xd7e63._0x1b47a7,-_0xd7e63._0x7a8fb0)]);for(let _0x3458b7=0x1;_0x3458b7<=this['maxFiles'];_0x3458b7++){let _0xd208b6=this[_0x3ba2af(_0xd7e63._0x5cb03d,_0xd7e63._0x27eec1,_0xd7e63._0x569677,0x3ea)]+'.'+_0x3458b7;_0x3f1682['existsSync'](_0xd208b6)&&_0x3f1682[_0x2803ad(-_0xd7e63._0x1ab9f8,-_0xd7e63._0x35d76c,-0x17c,-_0xd7e63._0x436c79)](_0xd208b6);}}catch(_0x27cbf2){console[_0x3ba2af(0x3a1,0x3cf,_0xd7e63._0x1e8522,_0xd7e63._0x6c8c7f)](_0x3ba2af(0x397,0x3bf,_0xd7e63._0xeae51f,0x3ac),_0x27cbf2);}}},w=null;function x(_0x4d2c8e){const _0x89bbea={_0x359e43:0x304,_0x183de8:0x306},_0xad3ea0={_0x2abc1c:0xd9,_0x553d3d:0x5f};function _0x1262c1(_0x37e20e,_0x273104,_0x2fe72b,_0x156e41){return _0x2c898a(_0x37e20e-0x1a8,_0x273104- -_0xad3ea0._0x2abc1c,_0x156e41,_0x156e41-_0xad3ea0._0x553d3d);}return w||(w=new F({'logDir':'.','minLevel':_0x1262c1(_0x89bbea._0x359e43,_0x89bbea._0x183de8,0x2df,0x2e4),..._0x4d2c8e})),w;}function _0x4bc9(){const _0x1dc053=['zM9YBwf0twvZC2fNzq','CM90yxrLtg9NrMLSzxm','z2v0v3jPDgvtDhjLyw0','C2vZC2LVBNm','CMvUyw1Lu3LUyW','C2v0','AM9PBG','Aw5JBhvKzvrPBwvZDgfTCa','zgvSzxrL','Bg9Nvg9dB25ZB2XL','Ag9TzwrPCG','tM8GBwvZC2fNzxm','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','C29YDa','Dg9WAwm','Bg9NrMLSzu5HBwu','BM90x2zVDw5K','mvfbtuzXuG','lM51DMLUlwnSAq','CgfYC2u','BM9FBwvZC2fNzxm','zxHPC3rZu3LUyW','Bg9NrMLSzvbHDgG','BNv2Aw4','z2v0sw5ZDgfUy2u','z2v0q3vYCMvUDfbYB2zPBgu','ChvZAa','AxneAxjLy3rVCNK','mty4otqWnKDks0fMrW','BwTKAxjtEw5J','B2jQzwn0','BM93','mJCXotG1n0LQwLjOAq','mJG1nZy2otzwBuvtwNy','BMfTzq','ywXS','Bg9NCW','yxnZAxn0yw50','CM9Szq','D3jPDgu','Dg9ju09tDhjPBMC','z2v0','y2XLyxjmB2DZ','zw1WDhK','C2L6zq','zMLSDgvY','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','C2HVDwXKtg9N','D3jPDgvtDhjLyw0','Aw5MBW','x19TzxrHzgf0yv9Fy2XP','zgvIDwC','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','BwLUtgv2zwW','Bwf4rMLSzxm','z2v0tg9NrMLSzvbHDgG','BwfW','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','zxjYB3i','nZq2mJCXnNvSqKDVrq','ru5pru5u','D2fYBG','DxnLCG','Dw5SAw5Ru3LUyW','ode4nJq1mwzuCuzHua','z2v0uhjVzMLSzu1HBMfNzxi','C3rYAw5N','Dg9mB2nHBgvtDhjPBMC','z2v0uhjVzMLSzvnLC3nPB25ZrgLY','C3rHDfn5BMm','ntG3ndiYnw1Wz013vq','y2XP','Bwf4rMLSzvnPEMu','Dg9vChbLCKnHC2u','y3jLyxrLv3jPDgvtDhjLyw0','Bg9NrgLY','y2HLy2TbBMrsB3rHDgu','y2XVC2u','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','zgvZDhjVEwvK','AgLZDg9YEs5QC29U','zw5ZDxjLtg9NrgLYzwn0B3j5','BgvUz3rO','CMvHzgrPCG','mZG3mdm3mMXerNLcAq','lMXVzW'];_0x4bc9=function(){return _0x1dc053;};return _0x4bc9();}var Y=x();function p(_0x4a6d08){const _0x3880fb={_0x465f46:0xaf,_0x4ea97a:0xb0,_0x19b537:0xd0,_0x42e7ec:0x1fe,_0x132738:0x1d4,_0x3a2eff:0x20f,_0x25d90f:0x1dc,_0x5b235a:0xb2,_0x18cf6c:0xa5,_0x26d588:0x1f4,_0xaa975c:0x1d8,_0x1e535f:0x1e1,_0x38b94f:0x1f8,_0x57a75f:0xda,_0x3a696b:0xbd},_0x29837b={_0x3313a4:0x34,_0x2280fe:0x1e5},_0x4387a={_0x53eafc:0x1be,_0x542567:0x21c};let _0x1f60d3=_0x449605[_0x6f5b05(-_0x3880fb._0x465f46,-_0x3880fb._0x4ea97a,-0xb5,-0xd1)](),_0x2da55a=_0x1f60d3[_0x6f5b05(-0xcc,-0xdd,-0xec,-_0x3880fb._0x19b537)]();if(!_0x2da55a)return _0x1009d0[_0x2be88d(0x1c2,0x1e5,_0x3880fb._0x42e7ec,_0x3880fb._0x132738)](_0x37f488[_0x2be88d(0x1e1,0x1e9,_0x3880fb._0x3a2eff,_0x3880fb._0x25d90f)](),_0x6f5b05(-_0x3880fb._0x5b235a,-0xb6,-0xd9,-_0x3880fb._0x18cf6c),_0x2be88d(_0x3880fb._0x26d588,0x1e2,0x1e8,_0x3880fb._0xaa975c));let _0x57b063=_0x4a6d08??_0x1f60d3[_0x2be88d(_0x3880fb._0x1e535f,_0x3880fb._0x38b94f,_0x3880fb._0x38b94f,0x1fc)]();function _0x2be88d(_0x4075cf,_0x10d7da,_0xabdba3,_0x4e19ea){return _0x2c898a(_0x4075cf-_0x4387a._0x53eafc,_0x10d7da- -_0x4387a._0x542567,_0x4e19ea,_0x4e19ea-0xe1);}function _0x6f5b05(_0xfce55a,_0x37dafd,_0xa28a0,_0x33b3bd){return _0x3cb6d5(_0xfce55a,_0x37dafd- -_0x29837b._0x3313a4,_0xa28a0-0x74,_0x33b3bd-_0x29837b._0x2280fe);}return _0x2da55a[_0x6f5b05(-0xd5,-_0x3880fb._0x57a75f,-_0x3880fb._0x3a696b,-0xf5)](_0x57b063);}async function N(_0x485f3d){const _0x4b00ed={_0x30b7b2:0x11,_0x40759b:0x27,_0x21a77d:0x2b,_0x2d18a2:0x25,_0x30a7ff:0x26},_0x3e1757={_0x538059:0x128,_0x5ef775:0xf},_0x5db78f={_0x46801f:0xac,_0x56f4bb:0x1ef,_0x58f792:0x141};function _0x4a926e(_0x5b4af7,_0x37be21,_0x12dd01,_0x39ff13){return _0x3cb6d5(_0x37be21,_0x39ff13-_0x5db78f._0x46801f,_0x12dd01-_0x5db78f._0x56f4bb,_0x39ff13-_0x5db78f._0x58f792);}function _0x2b9602(_0x6eada6,_0x29d321,_0x3e5280,_0x4c66a8){return _0x3cb6d5(_0x29d321,_0x6eada6- -_0x3e1757._0x538059,_0x3e5280-0x2c,_0x4c66a8-_0x3e1757._0x5ef775);}try{let _0x4fb3b2=await _0x10db00['readFile'](_0x485f3d,'utf-8');if(!_0x4fb3b2||!_0x4fb3b2['trim']())return null;let _0x1a8e82=JSON[_0x4a926e(_0x4b00ed._0x30b7b2,_0x4b00ed._0x40759b,0x3b,_0x4b00ed._0x21a77d)](_0x4fb3b2);return _0x1a8e82??null;}catch(_0x5cc461){if(_0x5cc461?.['code']===_0x4a926e(-_0x4b00ed._0x2d18a2,_0x4b00ed._0x30a7ff,0x12,-0x2))return null;throw _0x5cc461;}}var E=new Map(),H=0x2710,D=new Map(),U=x();function G(_0xf7ea8d,_0x46aa20){const _0x298c55={_0x5e02c6:0x2a7,_0x4e1dac:0x297},_0x3e0594={_0x555275:0x131,_0xdc824c:0xd};function _0x2eb8e9(_0x240240,_0x4879a4,_0x39b863,_0x3f88ba){return _0x2c898a(_0x240240-0xc3,_0x4879a4- -_0x3e0594._0x555275,_0x39b863,_0x3f88ba-_0x3e0594._0xdc824c);}return(_0x46aa20??_0xd8691f)+'_'+(_0xf7ea8d??_0x2eb8e9(_0x298c55._0x5e02c6,_0x298c55._0x4e1dac,0x293,0x2c1));}var V=async(_0x5784c3,_0x469f1b)=>{const _0x720934={_0x5322aa:0x299,_0x7c1524:0x273,_0x229134:0x27a,_0x581d30:0x266,_0x3c62f5:0x273,_0x4da152:0x262,_0x13689b:0x283},_0x52f2b1={_0x15c79a:0x18,_0x2c3ce5:0x1de,_0x11a841:0x1b9,_0x3b7c79:0x1e0,_0x23a258:0x55,_0x469187:0x4a,_0x5ab174:0x68,_0x3e69a5:0x55,_0x1be16c:0x1b6,_0x460bce:0x18d,_0x5345e8:0x33,_0xe770ac:0x30,_0x19178f:0x5b,_0x20ab3e:0x16,_0x2a64f1:0x15,_0x3b60ec:0x25,_0x3631ce:0x44,_0x5e5f82:0x7c,_0x54b6af:0x5a,_0x223e9a:0x56,_0x521c5e:0x51,_0x5a1666:0x43,_0x46062f:0x57,_0x2df72c:0x1f1,_0x4b0bd2:0x1ce,_0x460a78:0x1eb,_0x3f0d7a:0x35,_0x45a614:0x45,_0x51309e:0x58,_0x25268f:0x2a,_0x437df6:0x5,_0x38b7f6:0x1dc,_0x2b8e98:0xb,_0x33ca57:0x13,_0x4453f0:0xe,_0x3e67cf:0x1a0,_0x560e2c:0x1b8,_0x361008:0x174,_0x1395be:0x1a0,_0x15ee01:0x1de,_0x2787ee:0x1c2,_0x525afa:0x1e2,_0x55c3e6:0x1ce,_0x426bf9:0x1ed,_0x1266b9:0x19,_0x17e34a:0x7},_0xa53680={_0xb0fee2:0x225,_0x1beaaf:0x143},_0x20f6b4={_0xb140ad:0x16b,_0x219faa:0x8e},_0x2bccca={_0x3ad2cb:0x1b2,_0x236a46:0x1a9};let _0x27614e=G(_0x5784c3,_0x469f1b),_0x4672f1=E[_0x51873c(-_0x720934._0x5322aa,-_0x720934._0x7c1524,-0x254,-0x25a)](_0x27614e);if(_0x4672f1&&Date[_0x9d01ea(_0x720934._0x229134,0x263,0x242,_0x720934._0x581d30)]()-_0x4672f1['timestamp']<H)return U[_0x9d01ea(0x290,0x273,_0x720934._0x3c62f5,0x278)]('Cache\x20hit:',_0x27614e),_0x4672f1['data'];let _0x3a78ab=D[_0x51873c(-_0x720934._0x4da152,-0x273,-_0x720934._0x13689b,-0x28e)](_0x27614e);function _0x51873c(_0x289b85,_0x53599c,_0x23e233,_0x250759){return _0x3cb6d5(_0x289b85,_0x53599c- -_0x2bccca._0x3ad2cb,_0x23e233-_0x2bccca._0x236a46,_0x250759-0xaa);}function _0x9d01ea(_0x300d91,_0x5188d8,_0x5d4eda,_0x494702){return _0x2c898a(_0x300d91-_0x20f6b4._0xb140ad,_0x494702- -0x15e,_0x5d4eda,_0x494702-_0x20f6b4._0x219faa);}if(_0x3a78ab)return _0x3a78ab;let _0x2426de=((async()=>{function _0x4e83bb(_0x5ec14a,_0x4400c8,_0xbb7944,_0x4dbad8){return _0x51873c(_0x5ec14a,_0x4400c8-_0xa53680._0xb0fee2,_0xbb7944-0x16a,_0x4dbad8-_0xa53680._0x1beaaf);}function _0x9706ac(_0x145799,_0x27bc4c,_0x460be2,_0x29b95b){return _0x9d01ea(_0x145799-0xe6,_0x27bc4c-0x165,_0x27bc4c,_0x460be2- -0x453);}try{let _0x22d663=p(_0x469f1b);if(!_0x458e72[_0x4e83bb(0x18,-0xc,-_0x52f2b1._0x15c79a,-0xa)](_0x22d663))return[];let _0xa9bff8=(await _0x10db00[_0x9706ac(-0x1b2,-_0x52f2b1._0x2c3ce5,-_0x52f2b1._0x11a841,-_0x52f2b1._0x3b7c79)](_0x22d663,{'withFileTypes':!0x0}))[_0x4e83bb(-_0x52f2b1._0x23a258,-_0x52f2b1._0x469187,-_0x52f2b1._0x5ab174,-0x36)](_0x1b9f2f=>_0x1b9f2f[_0x4e83bb(-0x50,-0x5c,-0x3c,-0x81)]())[_0x4e83bb(-0x27,-0x3f,-_0x52f2b1._0x3e69a5,-0x59)](_0x87898a=>_0x87898a[_0x9706ac(-0x209,-0x212,-0x1ea,-0x1cb)]);_0xa9bff8[_0x9706ac(-_0x52f2b1._0x1be16c,-0x183,-0x1a9,-_0x52f2b1._0x460bce)]((_0xe0e2b,_0x433bab)=>parseInt(_0x433bab,0xa)-parseInt(_0xe0e2b,0xa));let _0x389757=[];for(let _0x198a2c of _0xa9bff8){if(_0x5784c3&&_0x389757['length']>=_0x5784c3)break;let _0x43efa9=_0x1009d0['join'](_0x22d663,_0x198a2c,_0x4e83bb(-0x2,-0x27,-0x16,-_0x52f2b1._0x5345e8));try{let _0x294119=await N(_0x43efa9);if(!_0x294119)continue;let _0x7644b9=_0x294119?.[_0x4e83bb(-0x9,-_0x52f2b1._0xe770ac,-0x1e,-_0x52f2b1._0x19178f)]??[];if(_0x7644b9['length']===0x0)continue;let _0x227dda=_0x4e83bb(0x15,-_0x52f2b1._0x20ab3e,_0x52f2b1._0x2a64f1,-0x18);for(let _0x2d6ae5=_0x7644b9[_0x4e83bb(-0x17,-_0x52f2b1._0x3b60ec,-_0x52f2b1._0x3631ce,-0x9)]-0x1;_0x2d6ae5>=0x0;_0x2d6ae5--){let _0x2448d2=_0x7644b9[_0x2d6ae5];if(!_0x2448d2||typeof _0x2448d2!=_0x4e83bb(-_0x52f2b1._0x5e5f82,-0x59,-_0x52f2b1._0x54b6af,-_0x52f2b1._0x223e9a))continue;let _0x196b3f=_0x2448d2;if(_0x196b3f[_0x4e83bb(-_0x52f2b1._0x521c5e,-0x51,-_0x52f2b1._0x5a1666,-_0x52f2b1._0x46062f)]===_0x9706ac(-0x1a6,-_0x52f2b1._0x2df72c,-_0x52f2b1._0x4b0bd2,-_0x52f2b1._0x460a78)){let _0x34403e=_0x196b3f['content'];_0x227dda=typeof _0x34403e==_0x4e83bb(-_0x52f2b1._0x469187,-_0x52f2b1._0x3f0d7a,-0x57,-0x2d)?_0x34403e:'';break;}}let _0x4d470c=_0x294119?.[_0x4e83bb(-0x5a,-_0x52f2b1._0x45a614,-_0x52f2b1._0x51309e,-_0x52f2b1._0x25268f)],_0x372710=_0x4d470c&&_0x4d470c[_0x4e83bb(-0x31,-0x25,-0x46,_0x52f2b1._0x437df6)]>0x0?_0x4d470c[0x0]:null,_0xf8c3cf=_0x372710&&typeof _0x372710==_0x9706ac(-0x1ca,-_0x52f2b1._0x38b7f6,-0x1ee,-0x20a)&&_0x4e83bb(-_0x52f2b1._0x2b8e98,-_0x52f2b1._0x33ca57,-_0x52f2b1._0x4453f0,-0x14)in _0x372710?_0x372710['topic']:void 0x0,_0x59d8bb=new Date(parseInt(_0x198a2c,0xa))[_0x9706ac(-_0x52f2b1._0x3e67cf,-0x1be,-0x1c9,-_0x52f2b1._0x560e2c)]();_0x389757[_0x9706ac(-0x185,-0x1b3,-0x19c,-_0x52f2b1._0x361008)]({'sessionId':_0x198a2c,'timestamp':_0x59d8bb,'lastMessage':_0x227dda,'messageCount':_0x7644b9[_0x9706ac(-0x1b3,-_0x52f2b1._0x1395be,-0x1ba,-_0x52f2b1._0x15ee01)],'topic':_0xf8c3cf});}catch{}}return E[_0x9706ac(-0x1cd,-0x19d,-0x1b1,-_0x52f2b1._0x2787ee)](_0x27614e,{'timestamp':Date[_0x9706ac(-_0x52f2b1._0x525afa,-_0x52f2b1._0x55c3e6,-_0x52f2b1._0x426bf9,-0x1ee)](),'data':_0x389757}),_0x389757;}finally{D[_0x4e83bb(0xf,-_0x52f2b1._0x1266b9,-0x6,-_0x52f2b1._0x17e34a)](_0x27614e);}})());return D['set'](_0x27614e,_0x2426de),_0x2426de;},q=async(_0x1ee6a0,_0x4bca7b)=>{const _0x288376={_0x4f4be8:0x4fc,_0x58ad6d:0x4d3},_0x434a34={_0x4eaa75:0x10b,_0x36e790:0xd2,_0xc88212:0x39};let _0x44a0a6=_0x1ee6a0??String(Date['now']()),_0x39220b=p(_0x4bca7b),_0x3daa01=_0x1009d0[_0x3500ee(0x4fd,0x4f4,_0x288376._0x4f4be8,_0x288376._0x58ad6d)](_0x39220b,_0x44a0a6);function _0x3500ee(_0xcf1236,_0x525350,_0x51bd9f,_0x25107c){return _0x2c898a(_0xcf1236-_0x434a34._0x4eaa75,_0x25107c-_0x434a34._0x36e790,_0x51bd9f,_0x25107c-_0x434a34._0xc88212);}return{'sessionId':_0x44a0a6,'sessionDir':_0x3daa01};},O=async _0x4b2c76=>{const _0x388779={_0x359ea1:0x3f,_0x5ad06e:0xa,_0x101780:0x1fb,_0x357ed0:0x22c,_0x550d80:0x2,_0x103e55:0x10,_0x5be9e6:0x1da,_0x503c05:0x1f,_0x1e0af2:0x3a,_0x2fc32f:0x10,_0x255dad:0x3b,_0x59de74:0x40,_0x4d0616:0x1aa,_0x4be3cc:0x1ba,_0x3de156:0x24,_0x2796e3:0x14,_0xac4833:0x4,_0x4a1676:0xc},_0x297482={_0x3164f8:0x28c,_0x84a4ae:0x17d},_0x5e5eff={_0x7de6c5:0x1f};function _0x157705(_0x583ff4,_0x17414a,_0x2ba1a9,_0x1b9c6f){return _0x2c898a(_0x583ff4-0x195,_0x1b9c6f- -0x3ff,_0x17414a,_0x1b9c6f-_0x5e5eff._0x7de6c5);}function _0x1ecb5a(_0x5f50ee,_0x2af50f,_0x22e7d5,_0x178de1){return _0x3cb6d5(_0x5f50ee,_0x2af50f-_0x297482._0x3164f8,_0x22e7d5-_0x297482._0x84a4ae,_0x178de1-0x133);}try{let _0x44c398=await N(_0x4b2c76);if(!_0x44c398)return{'kind':_0x157705(-0x51,-_0x388779._0x359ea1,-_0x388779._0x5ad06e,-0x2f),'reason':_0x1ecb5a(0x226,0x208,_0x388779._0x101780,_0x388779._0x357ed0)};let _0xf7c6eb=_0x44c398['cli']||[];if(_0xf7c6eb[_0x157705(_0x388779._0x550d80,_0x388779._0x103e55,0xb,-0x8)]===0x0)return{'kind':_0x1ecb5a(_0x388779._0x5be9e6,0x1cd,0x1ce,0x1b0),'reason':_0x157705(_0x388779._0x503c05,-0x14,_0x388779._0x1e0af2,_0x388779._0x2fc32f)};let {processMessageToUILines:_0x2d89e3}=await import('./messageProcessor-6LZZDCBX.js'),_0x3411de=[];for(let _0x22da48 of _0xf7c6eb)_0x3411de[_0x157705(_0x388779._0x255dad,_0x388779._0x59de74,-0x4,0x16)](..._0x2d89e3(_0x22da48));let _0x476290=null;for(let _0x43e478=_0xf7c6eb[_0x157705(0x11,-0x4,-0x14,-0x8)]-0x1;_0x43e478>=0x0;_0x43e478--)if(_0xf7c6eb[_0x43e478][_0x1ecb5a(_0x388779._0x4d0616,0x1c8,0x1c7,_0x388779._0x4be3cc)]===_0x157705(-0x18,-_0x388779._0x3de156,-0x4d,-0x35)){_0x476290={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':'messages','lines':_0x3411de,'metadata':_0x476290,'cliMessages':_0xf7c6eb,'count':_0xf7c6eb[_0x157705(0x16,-_0x388779._0x2796e3,-_0x388779._0xac4833,-0x8)]};}catch{return{'kind':'empty','reason':_0x157705(-0xc,0x26,-0x8,_0x388779._0x4a1676)};}},B=async(_0x476a4f,_0x22781e)=>{const _0x377d91={_0x2c0d09:0x27b,_0x401b3b:0x28b,_0x4924c8:0x256,_0x2d32f4:0x268,_0x2d598d:0x24d},_0x5dbdef={_0x1f84cd:0x18d,_0x3144f4:0xc9},_0x326111={_0xcdc34e:0x1ed,_0x111764:0xfc};function _0x5df113(_0x2bbf6e,_0x8c875,_0x127e7a,_0x4f9539){return _0x3cb6d5(_0x2bbf6e,_0x8c875- -_0x326111._0xcdc34e,_0x127e7a-_0x326111._0x111764,_0x4f9539-0x109);}let _0x5670c5=p(_0x22781e),_0x15ced7=_0x1009d0[_0x5df113(-0x2a0,-_0x377d91._0x2c0d09,-_0x377d91._0x401b3b,-_0x377d91._0x4924c8)](_0x5670c5,_0x476a4f,_0x59b46e(_0x377d91._0x2d32f4,0x275,0x293,_0x377d91._0x2d598d));function _0x59b46e(_0x2d8ba5,_0x351e22,_0x359920,_0x371b40){return _0x2c898a(_0x2d8ba5-0x19e,_0x2d8ba5- -_0x5dbdef._0x1f84cd,_0x371b40,_0x371b40-_0x5dbdef._0x3144f4);}return O(_0x15ced7);},ie=(_0x4aea04,_0x1f616c)=>_0x1009d0[_0x3cb6d5(-0x6d,-0x8e,-0xa4,-0x8e)](p(_0x1f616c),_0x4aea04),ne=()=>{let [_0x583033,_0x553377]=_0x435083([]);return{'availableSessions':_0x583033,'setAvailableSessions':_0x553377,'scanAvailableSessions':V,'loadSessionHistory':B,'loadHistoryFromFile':O,'createNewSession':q};};export{Y as a,V as b,q as c,O as d,B as e,ie as f,ne as g};