@nuvin/nuvin-cli 1.7.2 → 1.7.3

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 _0x9b3c4f(_0x2fbd03,_0x1bbd7e,_0x5797c4,_0x538f82){const _0x380ddc={_0x287e87:0x131};return _0x453e(_0x1bbd7e-_0x380ddc._0x287e87,_0x2fbd03);}(function(_0x2da965,_0x38fbb3){const _0x17a93c={_0x1328cf:0xe1,_0x280773:0xd6,_0x321c3c:0xcc,_0x22f0b2:0xaa,_0x4e5ae6:0x3c5,_0x131647:0x389,_0x32f429:0x398,_0x56bc0c:0x399,_0x2a8e97:0x37d,_0x1ef3ba:0x379,_0x1b001b:0x377,_0x27ec62:0x391,_0xc8a86e:0x390,_0x426a5c:0xd0,_0x5b9dcc:0xd8,_0x3fe2f8:0xb5,_0x491d16:0xae,_0x57cf85:0xbc,_0x401e24:0xbf,_0x424baa:0x388,_0x52272b:0x375,_0x4d5cba:0x385,_0x41f5e8:0x3cb,_0x605359:0x3c7,_0x20584c:0x94},_0x3a0849={_0x21af9f:0x20c},_0x1cc7af=_0x2da965();function _0x542e16(_0x151802,_0xe6a034,_0x3f4975,_0x384932){return _0x453e(_0x151802- -0xbf,_0x384932);}function _0x23b0b2(_0x5aee2c,_0x46f607,_0x1ccec4,_0x1e2bbb){return _0x453e(_0x5aee2c-_0x3a0849._0x21af9f,_0x1ccec4);}while(!![]){try{const _0x170a13=-parseInt(_0x542e16(_0x17a93c._0x1328cf,0xbe,0xf2,_0x17a93c._0x280773))/0x1+parseInt(_0x542e16(_0x17a93c._0x321c3c,0xb3,_0x17a93c._0x22f0b2,0xc7))/0x2*(-parseInt(_0x23b0b2(0x3a9,_0x17a93c._0x4e5ae6,_0x17a93c._0x131647,_0x17a93c._0x32f429))/0x3)+-parseInt(_0x23b0b2(_0x17a93c._0x56bc0c,0x3bc,_0x17a93c._0x2a8e97,_0x17a93c._0x1ef3ba))/0x4*(-parseInt(_0x23b0b2(0x38a,_0x17a93c._0x1b001b,_0x17a93c._0x27ec62,_0x17a93c._0xc8a86e))/0x5)+parseInt(_0x542e16(_0x17a93c._0x426a5c,_0x17a93c._0x5b9dcc,_0x17a93c._0x3fe2f8,_0x17a93c._0x491d16))/0x6+-parseInt(_0x542e16(_0x17a93c._0x57cf85,0x9c,0x9d,_0x17a93c._0x401e24))/0x7+-parseInt(_0x23b0b2(_0x17a93c._0x424baa,_0x17a93c._0x52272b,0x3a5,_0x17a93c._0x4d5cba))/0x8*(-parseInt(_0x542e16(0x9d,0x95,0x7c,0x8d))/0x9)+parseInt(_0x23b0b2(0x3a8,_0x17a93c._0x41f5e8,0x3a6,_0x17a93c._0x605359))/0xa*(parseInt(_0x542e16(_0x17a93c._0x20584c,0xbc,0x93,0x85))/0xb);if(_0x170a13===_0x38fbb3)break;else _0x1cc7af['push'](_0x1cc7af['shift']());}catch(_0x3e8de6){_0x1cc7af['push'](_0x1cc7af['shift']());}}}(_0x39ec,0x36ae1));import{useState as _0x367889}from'react';import*as _0x32b0a5 from'fs';function _0x453e(_0x2f4088,_0x2a7835){const _0x39ec68=_0x39ec();return _0x453e=function(_0x453ebc,_0x225c3d){_0x453ebc=_0x453ebc-0x14d;let _0x3afd81=_0x39ec68[_0x453ebc];if(_0x453e['XuoCKr']===undefined){var _0x613c2f=function(_0x367889){const _0x32b0a5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x576002='',_0x358b9e='';for(let _0x2513e0=0x0,_0x24b837,_0x3e2ccc,_0x25737c=0x0;_0x3e2ccc=_0x367889['charAt'](_0x25737c++);~_0x3e2ccc&&(_0x24b837=_0x2513e0%0x4?_0x24b837*0x40+_0x3e2ccc:_0x3e2ccc,_0x2513e0++%0x4)?_0x576002+=String['fromCharCode'](0xff&_0x24b837>>(-0x2*_0x2513e0&0x6)):0x0){_0x3e2ccc=_0x32b0a5['indexOf'](_0x3e2ccc);}for(let _0x14e097=0x0,_0xaa672d=_0x576002['length'];_0x14e097<_0xaa672d;_0x14e097++){_0x358b9e+='%'+('00'+_0x576002['charCodeAt'](_0x14e097)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x358b9e);};_0x453e['HbIFVn']=_0x613c2f,_0x2f4088=arguments,_0x453e['XuoCKr']=!![];}const _0x3774d5=_0x39ec68[0x0],_0xf16409=_0x453ebc+_0x3774d5,_0x13a981=_0x2f4088[_0xf16409];return!_0x13a981?(_0x3afd81=_0x453e['HbIFVn'](_0x3afd81),_0x2f4088[_0xf16409]=_0x3afd81):_0x3afd81=_0x13a981,_0x3afd81;},_0x453e(_0x2f4088,_0x2a7835);}import*as _0x576002 from'fs/promises';import*as _0x358b9e from'path';import*as _0x2513e0 from'os';import*as _0x24b837 from'fs';import*as _0x3e2ccc from'path';import*as _0x25737c from'os';var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x14e097={}){const _0xf8a97b={_0x24ae22:0x1fb,_0x2dcae5:0x1f8,_0x10021a:0x1f3,_0x5f481f:0x20a,_0x22657d:0x1b6,_0x3593f2:0x1dc,_0x5bf98c:0x194,_0x128d8b:0x508,_0x48a505:0x4fc,_0x15bc5f:0x4fd,_0x3def07:0x51b,_0xac578c:0x194,_0x1e6e05:0x518,_0x3ef62c:0x52e,_0xeae929:0x50b,_0x820766:0x519,_0x1a2cee:0x1b4,_0x57e6bc:0x54d,_0x17da9f:0x517,_0xb43f55:0x524,_0x4aa85c:0x523,_0x1c903f:0x502,_0x109db4:0x51a,_0x2d957e:0x4d9,_0x287dda:0x4ca,_0x76b56f:0x50e,_0x1bbefb:0x206,_0x22e8e0:0x213,_0x4f487a:0x21b,_0x32f211:0x1d4,_0x2b0a70:0x1ec,_0x46738c:0x1d9,_0x3d7845:0x1f0,_0x5a0d8a:0x1f7,_0x4a9d92:0x20e,_0xb2f399:0x223,_0x4506e9:0x52f,_0x385570:0x52e,_0xc88b5e:0x50d,_0x3996ba:0x4dc,_0x1476f8:0x4fe,_0x4475fb:0x507,_0x1ca5e0:0x4f9};this[_0x301880(-_0xf8a97b._0x24ae22,-_0xf8a97b._0x2dcae5,-_0xf8a97b._0x10021a,-_0xf8a97b._0x5f481f)]=null,this[_0x301880(-_0xf8a97b._0x22657d,-0x1b4,-_0xf8a97b._0x3593f2,-0x1c1)]=_0x14e097['logDir']||_0x3e2ccc[_0x301880(-0x1b9,-_0xf8a97b._0x5bf98c,-0x1d2,-0x194)](_0x25737c[_0x2c8539(0x514,0x50b,_0xf8a97b._0x128d8b,0x4fc)](),_0x2c8539(_0xf8a97b._0x48a505,0x545,_0xf8a97b._0x15bc5f,_0xf8a97b._0x3def07),_0x301880(-0x1b5,-0x1a4,-_0xf8a97b._0x3593f2,-_0xf8a97b._0xac578c));let _0xaa672d=_0x14e097[_0x2c8539(0x52a,_0xf8a97b._0x1e6e05,0x526,_0xf8a97b._0x3ef62c)]||'nuvin';function _0x301880(_0x1867a4,_0x475e87,_0xa39eff,_0x51f5b7){return _0x453e(_0x1867a4- -0x34d,_0xa39eff);}function _0x2c8539(_0xe88761,_0x23dd05,_0x231bb6,_0x12fbe8){return _0x453e(_0x12fbe8-0x38d,_0x23dd05);}this[_0x2c8539(0x534,0x511,_0xf8a97b._0xeae929,_0xf8a97b._0x820766)]=_0x3e2ccc[_0x301880(-0x1b9,-0x1d5,-_0xf8a97b._0x1a2cee,-0x1b6)](this[_0x2c8539(_0xf8a97b._0x57e6bc,_0xf8a97b._0x17da9f,0x509,_0xf8a97b._0xb43f55)],_0xaa672d+_0x2c8539(0x4fe,_0xf8a97b._0x4aa85c,0x510,_0xf8a97b._0x1c903f)),this[_0x2c8539(_0xf8a97b._0x109db4,0x4c9,_0xf8a97b._0x2d957e,0x4f1)]=_0x14e097['minLevel']||'error',this[_0x2c8539(0x4cc,_0xf8a97b._0x287dda,_0xf8a97b._0x76b56f,0x4e7)]=_0x14e097[_0x301880(-_0xf8a97b._0x10021a,-_0xf8a97b._0x1bbefb,-_0xf8a97b._0x22e8e0,-_0xf8a97b._0x4f487a)]||0x5*0x400*0x400,this[_0x301880(-0x1ec,-0x1f8,-_0xf8a97b._0x32f211,-0x1fb)]=_0x14e097[_0x301880(-_0xf8a97b._0x2b0a70,-_0xf8a97b._0x24ae22,-_0xf8a97b._0x46738c,-0x1c8)]||0x3,this[_0x301880(-0x1f7,-0x1e8,-_0xf8a97b._0x3d7845,-0x1f5)]=_0x14e097[_0x301880(-_0xf8a97b._0x5a0d8a,-0x222,-_0xf8a97b._0x4a9d92,-_0xf8a97b._0xb2f399)]??!0x0,this[_0x2c8539(0x4ef,0x4f9,_0xf8a97b._0x4506e9,0x50d)]=_0x14e097[_0x2c8539(0x51c,_0xf8a97b._0x385570,0x513,_0xf8a97b._0xc88b5e)]??!0x1,this[_0x2c8539(_0xf8a97b._0x3996ba,_0xf8a97b._0x1476f8,_0xf8a97b._0x4475fb,_0xf8a97b._0x1ca5e0)]();}[_0x1bf1d5(0x216,0x230,0x1ed,0x20b)](){const _0x27eeeb={_0x2f19d9:0x1b7,_0x22d0be:0x1e5,_0x3033f4:0x1ef,_0x378cae:0x1c6,_0x57cb71:0x35c,_0x4b8966:0x36e},_0x384ff4={_0x544b70:0x1d7,_0x314eea:0x37};function _0x1a6442(_0x5ae4f2,_0x45527b,_0x5f2ceb,_0x8dfadd){return _0x1bf1d5(_0x5ae4f2-0x11b,_0x45527b-0x95,_0x5f2ceb-0xc6,_0x8dfadd);}function _0x269e51(_0x446fe2,_0x59b062,_0x1da1e9,_0xbd44e4){return _0x1bf1d5(_0x59b062- -0x41c,_0x59b062-_0x384ff4._0x544b70,_0x1da1e9-_0x384ff4._0x314eea,_0x446fe2);}try{_0x24b837['existsSync'](this[_0x269e51(-_0x27eeeb._0x2f19d9,-0x1db,-0x1da,-_0x27eeeb._0x22d0be)])||_0x24b837[_0x269e51(-0x1c4,-_0x27eeeb._0x3033f4,-_0x27eeeb._0x378cae,-0x1f9)](this[_0x1a6442(_0x27eeeb._0x57cb71,0x334,0x339,0x35c)],{'recursive':!0x0});}catch(_0x2a5c78){console['error']('Failed\x20to\x20create\x20log\x20directory\x20at\x20'+this[_0x1a6442(_0x27eeeb._0x57cb71,0x35a,0x373,_0x27eeeb._0x4b8966)]+':',_0x2a5c78);}}['getWriteStream'](){const _0x1fe9a9={_0x7ce4f5:0x1d3,_0x45e972:0x1bd,_0x341c8c:0x215,_0x4d5c70:0x278,_0x56640c:0x257,_0x424bdd:0x266},_0x480af8={_0x26fdf3:0x1f,_0x50b398:0x34},_0x1045ce={_0x1e243e:0x111};function _0x3d6b82(_0x19080f,_0x156362,_0x5d04ee,_0x1b4dfd){return _0x1bf1d5(_0x19080f- -0x474,_0x156362-0x174,_0x5d04ee-_0x1045ce._0x1e243e,_0x5d04ee);}function _0x9cc515(_0x3efd1f,_0x2bfa14,_0x38d6e7,_0x44c6fc){return _0x1bf1d5(_0x38d6e7- -_0x480af8._0x26fdf3,_0x2bfa14-0x24,_0x38d6e7-_0x480af8._0x50b398,_0x2bfa14);}return(!this[_0x9cc515(0x1f4,_0x1fe9a9._0x7ce4f5,0x1dd,_0x1fe9a9._0x45e972)]||this['writeStream']['destroyed'])&&(this['writeStream']=_0x24b837[_0x9cc515(0x1de,_0x1fe9a9._0x341c8c,0x1f8,0x206)](this['logFilePath'],{'flags':'w'})),this[_0x3d6b82(-_0x1fe9a9._0x4d5c70,-_0x1fe9a9._0x56640c,-_0x1fe9a9._0x424bdd,-0x252)];}[_0x9b3c4f(0x282,0x2a5,0x2ae,0x2cb)](){const _0x1e7ef3={_0x3fcbb9:0x136,_0x540a2c:0x39,_0x283f08:0x3d,_0x2cd39e:0x2e,_0x3e3cbb:0xd,_0xb9616f:0x4f,_0x5225dc:0x10,_0x12da56:0x12b,_0x560c69:0x125,_0x3427b8:0x10f,_0x436581:0xf,_0x4a207c:0x1a,_0x34c4ca:0x19,_0x10f010:0x7,_0x4fc1aa:0x2b,_0x3e245b:0x14,_0x5900ea:0x57,_0x365dc9:0x44,_0x52e5ea:0xa,_0x11b378:0x54,_0x1b8db7:0x1d,_0x146c79:0x104},_0x222105={_0x9a00e1:0x192,_0x14bfbb:0x4e};function _0x6c67b3(_0x4439f4,_0x470b4b,_0x135909,_0xe486be){return _0x1bf1d5(_0x4439f4- -0x1fd,_0x470b4b-0x18e,_0x135909-0x26,_0x135909);}function _0x35d73d(_0x30951a,_0xc4fe96,_0x21b8cc,_0x189e42){return _0x9b3c4f(_0x21b8cc,_0x30951a- -_0x222105._0x9a00e1,_0x21b8cc-0x83,_0x189e42-_0x222105._0x14bfbb);}try{if(!_0x24b837[_0x35d73d(0x142,0x138,_0x1e7ef3._0x3fcbb9,0x161)](this[_0x6c67b3(_0x1e7ef3._0x540a2c,0x37,0x34,_0x1e7ef3._0x283f08)]))return;_0x24b837[_0x6c67b3(_0x1e7ef3._0x2cd39e,_0x1e7ef3._0x3e3cbb,_0x1e7ef3._0xb9616f,_0x1e7ef3._0x5225dc)](this[_0x35d73d(_0x1e7ef3._0x12da56,_0x1e7ef3._0x560c69,0x14b,_0x1e7ef3._0x3427b8)])[_0x6c67b3(_0x1e7ef3._0x436581,-_0x1e7ef3._0x4a207c,0xf,-_0x1e7ef3._0x34c4ca)]>=this[_0x6c67b3(_0x1e7ef3._0x10f010,-0x23,_0x1e7ef3._0x4fc1aa,-_0x1e7ef3._0x3e245b)]&&this[_0x6c67b3(0x46,_0x1e7ef3._0x5900ea,_0x1e7ef3._0x540a2c,_0x1e7ef3._0x365dc9)]();}catch(_0x5cea95){console[_0x6c67b3(0x35,_0x1e7ef3._0x52e5ea,_0x1e7ef3._0x11b378,_0x1e7ef3._0x1b8db7)](_0x35d73d(_0x1e7ef3._0x146c79,0xf6,0xff,0x119),_0x5cea95);}}[_0x9b3c4f(0x2d6,0x2ca,0x2d3,0x2cb)](){const _0x176cac={_0x931e3e:0x157,_0x3f9501:0x161,_0x2541a7:0xcb,_0x398d32:0xde,_0x5a6057:0x133,_0x3988fa:0xd4,_0xa7fd6d:0xe5,_0x5f2c9b:0x125,_0xdb29da:0xe8,_0x597937:0x120,_0x5f924c:0x104,_0x198b0d:0xce,_0x290ff4:0xf9,_0x24651d:0xee,_0x187a0a:0x104,_0x8fa423:0x10a,_0x57b7a3:0x11f,_0x294718:0xfb,_0x529906:0xf4},_0x39a1cb={_0x1b78b8:0x184},_0x37fd2b={_0x184090:0x198,_0x35ca44:0x11d};function _0x65cce5(_0x15f81b,_0xb3f4df,_0x3cecf0,_0x15b8fb){return _0x1bf1d5(_0x15b8fb- -0x149,_0xb3f4df-_0x37fd2b._0x184090,_0x3cecf0-_0x37fd2b._0x35ca44,_0xb3f4df);}function _0x56b470(_0x3efdbc,_0x389d61,_0x1bee27,_0x2ff624){return _0x9b3c4f(_0x3efdbc,_0x1bee27- -0x3da,_0x1bee27-_0x39a1cb._0x1b78b8,_0x2ff624-0x1e5);}try{this[_0x56b470(-0x150,-0x15b,-_0x176cac._0x931e3e,-_0x176cac._0x3f9501)]&&(this['writeStream'][_0x65cce5(0xd9,_0x176cac._0x2541a7,0xd6,_0x176cac._0x398d32)](),this[_0x56b470(-0x145,-_0x176cac._0x5a6057,-0x157,-0x182)]=null);let _0x3c01fd=this[_0x65cce5(_0x176cac._0x3988fa,0x103,_0x176cac._0xa7fd6d,0xed)],_0x2972e5=_0x3c01fd+'.'+this[_0x56b470(-_0x176cac._0x5f2c9b,-0x129,-0x148,-0x125)];_0x24b837[_0x65cce5(0xe3,0x110,0xe5,0x104)](_0x2972e5)&&_0x24b837['unlinkSync'](_0x2972e5);for(let _0x319cab=this['maxFiles']-0x1;_0x319cab>=0x1;_0x319cab--){let _0x2b3bcf=_0x3c01fd+'.'+_0x319cab,_0x8eda56=_0x3c01fd+'.'+(_0x319cab+0x1);_0x24b837[_0x65cce5(0xe9,_0x176cac._0xdb29da,_0x176cac._0x597937,_0x176cac._0x5f924c)](_0x2b3bcf)&&_0x24b837[_0x65cce5(_0x176cac._0x198b0d,0xe9,0xe2,0xe8)](_0x2b3bcf,_0x8eda56);}_0x24b837[_0x65cce5(_0x176cac._0x290ff4,_0x176cac._0x24651d,0xdb,_0x176cac._0x187a0a)](_0x3c01fd)&&_0x24b837['renameSync'](_0x3c01fd,_0x3c01fd+'.1');}catch(_0x2221f0){console[_0x56b470(-_0x176cac._0x8fa423,-_0x176cac._0x57b7a3,-0x121,-0x13d)](_0x65cce5(_0x176cac._0x294718,0xeb,_0x176cac._0x529906,_0x176cac._0x294718),_0x2221f0);}}[_0x1bf1d5(0x248,0x262,0x21f,0x241)](_0x5e519f,_0x1abbd4,_0x44f2ec){const _0xb2f8a9={_0x37f8f8:0x201,_0x8c54b1:0x236,_0x1b64d4:0x246,_0x129b5a:0x256,_0x2dd64e:0x230,_0x39f838:0x36d,_0x169214:0x37b,_0x346e14:0x249,_0x356c3b:0x221,_0x30ab45:0x39d};function _0x55ac4e(_0x40a102,_0x3fddd7,_0x5a240b,_0x5dfff3){return _0x9b3c4f(_0x5a240b,_0x40a102- -0x5d,_0x5a240b-0x40,_0x5dfff3-0x60);}function _0x2dba3d(_0x165121,_0x322f4b,_0x49247e,_0x5083cb){return _0x9b3c4f(_0x49247e,_0x165121-0x100,_0x49247e-0x1c3,_0x5083cb-0xeb);}let _0x319175=[];if(this[_0x55ac4e(0x22a,_0xb2f8a9._0x37f8f8,_0xb2f8a9._0x8c54b1,_0xb2f8a9._0x1b64d4)]&&_0x319175['push']('['+new Date()[_0x55ac4e(_0xb2f8a9._0x129b5a,0x278,0x232,_0xb2f8a9._0x2dd64e)]()+']'),_0x319175['push']('['+_0x5e519f[_0x2dba3d(0x38c,0x3b1,_0xb2f8a9._0x39f838,_0xb2f8a9._0x169214)]()+']'),_0x319175[_0x55ac4e(0x264,0x270,0x256,_0xb2f8a9._0x346e14)](_0x1abbd4),_0x44f2ec!==void 0x0)try{_0x319175['push'](JSON[_0x55ac4e(0x234,_0xb2f8a9._0x356c3b,0x252,0x240)](_0x44f2ec,null,0x2));}catch{_0x319175[_0x55ac4e(0x264,0x23c,0x260,0x250)](String(_0x44f2ec));}return _0x319175[_0x2dba3d(0x3c5,0x3ed,0x3bc,_0xb2f8a9._0x30ab45)]('\x20');}[_0x1bf1d5(0x229,0x223,0x1fe,0x248)](_0x148fd6){const _0x8484ea={_0x1b12b1:0x2b7},_0xeaf554={_0x260657:0x115,_0x47a16a:0x1af};function _0x14b61f(_0x365d70,_0x4c5436,_0x3d81be,_0x447bb5){return _0x1bf1d5(_0x447bb5-0xa9,_0x4c5436-_0xeaf554._0x260657,_0x3d81be-_0xeaf554._0x47a16a,_0x365d70);}return T[_0x148fd6]>=T[this[_0x14b61f(0x2c9,0x28e,0x2db,_0x8484ea._0x1b12b1)]];}[_0x9b3c4f(0x282,0x29a,0x287,0x29e)](_0x65b945,_0x4f0e25,_0x3714bd){const _0x50e650={_0x6396df:0x8,_0x28a5de:0x30,_0x15ff83:0x6a,_0xd616a6:0x46,_0x4440fb:0x4d,_0x1d7406:0xbe,_0x350789:0xa5,_0x7862a0:0x8c,_0x2b57cc:0xac,_0x234417:0xb8,_0x127df7:0x49,_0x28f15f:0x25,_0x3b0f69:0xa0,_0x52a358:0x7f,_0x17a938:0xa9},_0x58e03d={_0x238c48:0x202,_0xb649d3:0x1c6,_0x13a26c:0x2e},_0x12582a={_0x560633:0x15f,_0xd66849:0xbb};if(!this['shouldLog'](_0x65b945))return;let _0x29f669=this[_0x1852d7(0x8,_0x50e650._0x6396df,-0x1a,-_0x50e650._0x28a5de)](_0x65b945,_0x4f0e25,_0x3714bd);this[_0x1852d7(-0x32,-0x49,-0x44,-0x5e)]();function _0x1852d7(_0x8c3702,_0x1455bf,_0x50e640,_0x340162){return _0x9b3c4f(_0x1455bf,_0x50e640- -0x2e9,_0x50e640-_0x12582a._0x560633,_0x340162-_0x12582a._0xd66849);}function _0x341d65(_0x1068ee,_0x220cbe,_0x4592a5,_0x143573){return _0x9b3c4f(_0x1068ee,_0x143573- -_0x58e03d._0x238c48,_0x4592a5-_0x58e03d._0xb649d3,_0x143573-_0x58e03d._0x13a26c);}try{this[_0x1852d7(-_0x50e650._0x15ff83,-0x55,-_0x50e650._0xd616a6,-_0x50e650._0x4440fb)]()[_0x341d65(0xa0,0x71,_0x50e650._0x1d7406,0x98)](_0x29f669+'\x0a');}catch(_0x3fe2a0){console[_0x1852d7(-0x5,-0x55,-0x30,-0x2a)](_0x341d65(0x7f,0xa9,_0x50e650._0x350789,_0x50e650._0x7862a0),_0x3fe2a0);}this[_0x341d65(_0x50e650._0x2b57cc,_0x50e650._0x234417,0xc0,0xaf)]&&(_0x65b945===_0x1852d7(-0x2b,-_0x50e650._0x127df7,-0x30,-_0x50e650._0x28f15f)?console['error']:_0x65b945===_0x341d65(0x88,_0x50e650._0x3b0f69,0x5e,_0x50e650._0x52a358)?console[_0x341d65(0x89,0x64,_0x50e650._0x17a938,0x7f)]:console['log'])(_0x29f669);}['debug'](_0x174cc0,_0x405292){const _0x14bd8d={_0x31f46b:0x1ab,_0x536d62:0x187,_0x3d6b6e:0x3f5,_0x57d9ae:0x3ff},_0x33c9ec={_0x28276f:0x19d,_0x2fba8a:0x136},_0x24a312={_0x543e89:0x19e,_0x293ca8:0x39};function _0x391c45(_0x56ca31,_0x2bdfe2,_0x18cefc,_0x37f262){return _0x9b3c4f(_0x18cefc,_0x37f262-0x140,_0x18cefc-_0x24a312._0x543e89,_0x37f262-_0x24a312._0x293ca8);}function _0x3dc6ab(_0x32ed25,_0x5d741d,_0x4863b9,_0xa9ffbc){return _0x1bf1d5(_0x4863b9- -0x3bc,_0x5d741d-_0x33c9ec._0x28276f,_0x4863b9-_0x33c9ec._0x2fba8a,_0xa9ffbc);}this[_0x3dc6ab(-0x1ae,-_0x14bd8d._0x31f46b,-0x1a9,-_0x14bd8d._0x536d62)](_0x391c45(_0x14bd8d._0x3d6b6e,_0x14bd8d._0x57d9ae,0x3c3,0x3db),_0x174cc0,_0x405292);}[_0x9b3c4f(0x286,0x28a,0x28f,0x270)](_0x46ce70,_0x1f0d6b){const _0x5831df={_0x1ea5a1:0x176,_0xfd84a2:0x14a,_0x49d34b:0x168,_0x10fb8c:0x180},_0x21192f={_0x356b52:0x1a5};function _0x41845d(_0x1de99e,_0x1d21c4,_0x42a4b4,_0x225f26){return _0x1bf1d5(_0x1de99e- -0x9d,_0x1d21c4-0x1a4,_0x42a4b4-_0x21192f._0x356b52,_0x42a4b4);}function _0x33ff1f(_0x918b1b,_0x3b316a,_0x52c9a8,_0x193643){return _0x9b3c4f(_0x918b1b,_0x52c9a8- -0xc9,_0x52c9a8-0x12b,_0x193643-0x93);}this[_0x41845d(_0x5831df._0x1ea5a1,0x161,_0x5831df._0xfd84a2,_0x5831df._0x49d34b)](_0x41845d(0x166,0x152,0x13e,_0x5831df._0x10fb8c),_0x46ce70,_0x1f0d6b);}[_0x9b3c4f(0x295,0x281,0x2ac,0x297)](_0x33c78b,_0x40e428){const _0xdd65da={_0x5c56db:0x307,_0x55505b:0x32c,_0x346a99:0x2e0,_0x23b11a:0x2c8,_0x59134a:0x2cd},_0x13749f={_0x27c99b:0x16f},_0x261c07={_0x2496d4:0xf4,_0x428e8b:0x11b};function _0x966690(_0x32de65,_0x429f75,_0x6ba58,_0x149a43){return _0x1bf1d5(_0x32de65-_0x261c07._0x2496d4,_0x429f75-0x91,_0x6ba58-_0x261c07._0x428e8b,_0x429f75);}function _0x57b111(_0x252e35,_0x1f6671,_0x4cde15,_0xca2c73){return _0x1bf1d5(_0x4cde15- -0x64,_0x1f6671-0x1ed,_0x4cde15-_0x13749f._0x27c99b,_0xca2c73);}this[_0x966690(_0xdd65da._0x5c56db,0x2f1,_0xdd65da._0x55505b,0x2ea)](_0x966690(0x2ee,_0xdd65da._0x346a99,_0xdd65da._0x23b11a,_0xdd65da._0x59134a),_0x33c78b,_0x40e428);}[_0x9b3c4f(0x295,0x2b9,0x2db,0x2bf)](_0x5fb16a,_0x7f6046){const _0x1410ed={_0x356d1f:0xea,_0x4658fc:0xc9},_0x683638={_0x247a9e:0x169,_0x4ae78d:0x164,_0x5bd49e:0x105};function _0x5ea106(_0x57cb4c,_0x56ee92,_0x5baad8,_0x9a4b3e){return _0x1bf1d5(_0x5baad8- -_0x683638._0x247a9e,_0x56ee92-_0x683638._0x4ae78d,_0x5baad8-_0x683638._0x5bd49e,_0x56ee92);}this['write'](_0x5ea106(_0x1410ed._0x356d1f,0xba,_0x1410ed._0x4658fc,0xaf),_0x5fb16a,_0x7f6046);}['close'](){const _0x3971e5={_0x4502ae:0x3c3,_0x12842:0x3a6,_0x14ab38:0x3bb,_0x4e48ca:0x39b,_0x13ae99:0x5c,_0x30550f:0x58,_0x15c322:0x46,_0x67f491:0x56,_0x4aefd2:0x83,_0x2ad96f:0x58},_0x410d5d={_0x529ae3:0x1cd},_0x1129c7={_0x27b47c:0x1c7,_0x4c1693:0x161,_0x3e5e08:0x2c};function _0x2f7438(_0x32ab02,_0x597939,_0x5896c4,_0x19b56f){return _0x1bf1d5(_0x32ab02-_0x1129c7._0x27b47c,_0x597939-_0x1129c7._0x4c1693,_0x5896c4-_0x1129c7._0x3e5e08,_0x597939);}function _0x42e3df(_0x210397,_0x4f4e24,_0x9b8d3a,_0x515147){return _0x1bf1d5(_0x9b8d3a- -0x254,_0x4f4e24-_0x410d5d._0x529ae3,_0x9b8d3a-0x152,_0x4f4e24);}this[_0x2f7438(_0x3971e5._0x4502ae,_0x3971e5._0x12842,_0x3971e5._0x14ab38,_0x3971e5._0x4e48ca)]&&(this[_0x42e3df(-_0x3971e5._0x13ae99,-0x7c,-_0x3971e5._0x30550f,-_0x3971e5._0x15c322)]['end'](),this[_0x42e3df(-_0x3971e5._0x67f491,-_0x3971e5._0x4aefd2,-_0x3971e5._0x2ad96f,-0x3c)]=null);}['getLogFilePath'](){const _0x29d720={_0x5a04aa:0x12c};function _0xa341d7(_0x2682de,_0x41f5cb,_0x1c6888,_0x26ff0b){return _0x1bf1d5(_0x1c6888- -0x3c6,_0x41f5cb-_0x29d720._0x5a04aa,_0x1c6888-0x1e3,_0x26ff0b);}return this[_0xa341d7(-0x1b2,-0x1b2,-0x190,-0x192)];}[_0x9b3c4f(0x278,0x280,0x256,0x26f)](){const _0x85a90d={_0x2d767f:0x66,_0x47c911:0x36,_0x3b330a:0x10,_0x26a2de:0x18,_0x570c9a:0x45,_0x17b5fa:0x16a,_0x217010:0x15f,_0x229a5f:0x135,_0x1dd614:0x11f,_0x3e227b:0x1c,_0x1111e4:0x55,_0x4e3d14:0x59},_0x1046b7={_0x462368:0x15e,_0x36beda:0x8a,_0x3b75fc:0x1d5},_0x387126={_0xd59d42:0x2ec};function _0x4cd7aa(_0x45d010,_0x1ea5c1,_0x1233f2,_0x255bb4){return _0x9b3c4f(_0x1ea5c1,_0x1233f2- -_0x387126._0xd59d42,_0x1233f2-0x12a,_0x255bb4-0xd7);}function _0x18e434(_0x9e0080,_0x331a01,_0x4da78a,_0x3755e3){return _0x9b3c4f(_0x9e0080,_0x4da78a- -_0x1046b7._0x462368,_0x4da78a-_0x1046b7._0x36beda,_0x3755e3-_0x1046b7._0x3b75fc);}try{this[_0x4cd7aa(-_0x85a90d._0x2d767f,-0x3f,-0x44,-_0x85a90d._0x47c911)](),_0x24b837[_0x4cd7aa(-0x31,_0x85a90d._0x3b330a,-_0x85a90d._0x26a2de,0x10)](this['logFilePath'])&&_0x24b837[_0x4cd7aa(-_0x85a90d._0x570c9a,-0x40,-0x41,-0x33)](this[_0x18e434(0x15d,_0x85a90d._0x17b5fa,_0x85a90d._0x217010,_0x85a90d._0x229a5f)]);for(let _0x20b6fb=0x1;_0x20b6fb<=this[_0x18e434(_0x85a90d._0x1dd614,0x10d,0x134,0x129)];_0x20b6fb++){let _0x664d3f=this[_0x4cd7aa(-0x8,-0x36,-0x2f,-_0x85a90d._0x3e227b)]+'.'+_0x20b6fb;_0x24b837['existsSync'](_0x664d3f)&&_0x24b837[_0x4cd7aa(-0x4f,-0x15,-0x41,-0x27)](_0x664d3f);}}catch(_0x58bd7b){console[_0x4cd7aa(-0x23,-_0x85a90d._0x1111e4,-0x33,-_0x85a90d._0x4e3d14)]('Error\x20clearing\x20log\x20files:',_0x58bd7b);}}},L=null;function F(_0x20504f){return L||(L=new x({..._0x20504f})),L;}var V=F();function p(){const _0x5bae6f={_0x553582:0x185,_0x15cb0e:0x1d4,_0x52fce0:0x182,_0x3c8a4a:0x4d0,_0x49d71c:0x4f0,_0xe6085c:0x4f6,_0x31e145:0x4b4},_0x2a8c52={_0x4b70f0:0x155};function _0x3b420e(_0x4ecf4c,_0x4a0de7,_0xa98a59,_0x3d7567){return _0x1bf1d5(_0x4a0de7-0x298,_0x4a0de7-0xc5,_0xa98a59-0x1cb,_0x3d7567);}function _0x17e97c(_0x80caa5,_0x2d8965,_0x126603,_0x22a066){return _0x1bf1d5(_0x2d8965- -0x94,_0x2d8965-_0x2a8c52._0x4b70f0,_0x126603-0x5c,_0x126603);}return _0x358b9e[_0x17e97c(_0x5bae6f._0x553582,0x1aa,_0x5bae6f._0x15cb0e,0x1b7)](_0x2513e0[_0x17e97c(0x197,0x185,_0x5bae6f._0x52fce0,0x16a)](),_0x3b420e(0x4e1,_0x5bae6f._0x3c8a4a,0x4d3,0x4b2),_0x3b420e(_0x5bae6f._0x49d71c,0x4dd,_0x5bae6f._0xe6085c,_0x5bae6f._0x31e145));}async function _(_0xe50011){const _0x5e26aa={_0x55d24c:0x1a5,_0x3aad0e:0x153,_0x383033:0x183,_0x48c823:0x20b,_0x18ef51:0x1e2,_0x27b1ec:0x22a,_0x4e8342:0x215,_0x1875ab:0x1df,_0x412e2f:0x1ec,_0x502a49:0x1f9},_0x1686a2={_0x37aedd:0x8d,_0x2afd6e:0x19b,_0x196f78:0x133},_0x5322e2={_0x193d3e:0x90};function _0x4ddbb7(_0x58a5e7,_0x837d23,_0x29f882,_0x397472){return _0x1bf1d5(_0x58a5e7- -0x31,_0x837d23-0xd9,_0x29f882-_0x5322e2._0x193d3e,_0x837d23);}function _0x4bfe4f(_0x1f5e1e,_0x3ee0ee,_0x5bca6c,_0x494ae5){return _0x1bf1d5(_0x494ae5- -_0x1686a2._0x37aedd,_0x3ee0ee-_0x1686a2._0x2afd6e,_0x5bca6c-_0x1686a2._0x196f78,_0x1f5e1e);}try{let _0x59a960=await _0x576002[_0x4ddbb7(0x1c6,0x1a2,0x1a7,_0x5e26aa._0x55d24c)](_0xe50011,_0x4bfe4f(_0x5e26aa._0x3aad0e,0x19b,_0x5e26aa._0x383033,0x174));if(!_0x59a960||!_0x59a960[_0x4ddbb7(_0x5e26aa._0x48c823,0x228,_0x5e26aa._0x18ef51,_0x5e26aa._0x27b1ec)]())return null;let _0x9d9552=JSON[_0x4ddbb7(0x1ec,_0x5e26aa._0x4e8342,0x1fc,_0x5e26aa._0x1875ab)](_0x59a960);return _0x9d9552??null;}catch(_0x554414){if(_0x554414?.[_0x4ddbb7(0x20c,0x1f5,_0x5e26aa._0x412e2f,_0x5e26aa._0x502a49)]==='ENOENT')return null;throw _0x554414;}}function _0x1bf1d5(_0xbbd010,_0x1270f9,_0x374545,_0x59ecc1){return _0x453e(_0xbbd010-0xaa,_0x59ecc1);}var j=new Map(),W=0x2710,b=new Map(),$=F(),J=async _0x390ac8=>{const _0x294d6c={_0x128f0d:0x10d,_0x52b709:0xfc,_0xf2b03d:0x126,_0x48e049:0x200,_0x235545:0x1d5,_0x3f6807:0x19f,_0x1bac51:0xf6,_0x52171f:0xe7,_0x30b919:0x120,_0x2d6438:0x107,_0xe9d47b:0x129,_0x1f3cbf:0x141,_0x496aa8:0x125},_0x422865={_0x500ea0:0x337,_0x41b6a5:0x7d,_0x131d7d:0x1d5},_0x12aa2f={_0x3da1db:0xd1,_0x38964d:0xab,_0x331780:0x1e5},_0x31928f={_0xc733d4:0x26c,_0x58948b:0x15c,_0x572c23:0x14d,_0x2f08db:0x145,_0x319ea2:0x18b,_0x39da47:0x15d,_0x3da129:0x229,_0x531424:0x248,_0xfa5615:0x244,_0x55c706:0x25b,_0x5dc8a9:0x27c,_0x58a358:0x251,_0x1bc74d:0x246,_0x1660ea:0x26a,_0x1c99f9:0x22a,_0x317dbc:0x22d,_0x5020b1:0x224,_0x397b38:0x26b,_0x234f42:0x267,_0x1f97b7:0x15b,_0x493edc:0x16d,_0x4dae62:0x266,_0x24212f:0x23e,_0x585060:0x279,_0x1d2372:0x260,_0x41451a:0x14a,_0x3dc76c:0x148,_0x4845f7:0x151,_0x1dd18c:0x287,_0x3f0649:0x29a,_0x3d8a9f:0x13c,_0xc02301:0x164,_0x41ade6:0x153,_0xf3dd5b:0x24f,_0xe49f90:0x26b,_0x1ba2da:0x269,_0x569847:0x254,_0x386517:0x26e};$['info'](_0x300a37(-_0x294d6c._0x128f0d,-_0x294d6c._0x52b709,-0x122,-0x127),_0x390ac8);let _0x37b4f1=j['get'](_0x390ac8);if(_0x37b4f1&&Date[_0x300a37(-0x13f,-0x112,-0x126,-_0x294d6c._0xf2b03d)]()-_0x37b4f1[_0x254b9d(0x1e8,0x1f6,_0x294d6c._0x48e049,0x1ea)]<W)return $[_0x254b9d(0x1a4,0x1b9,_0x294d6c._0x235545,_0x294d6c._0x3f6807)](_0x300a37(-_0x294d6c._0x1bac51,-_0x294d6c._0x52171f,-_0x294d6c._0x52b709,-0xda),_0x390ac8),_0x37b4f1[_0x300a37(-_0x294d6c._0x30b919,-_0x294d6c._0x2d6438,-0x103,-_0x294d6c._0xe9d47b)];let _0x2f4067=b['get'](_0x390ac8);if(_0x2f4067)return _0x2f4067;let _0x2bf427=((async()=>{const _0x234f4a={_0x545210:0x278},_0x472d34={_0x570b64:0x1cb,_0x52349a:0x380};function _0x4764ec(_0x14bbc4,_0x3c26e5,_0x1db75b,_0x4b35ca){return _0x300a37(_0x14bbc4-_0x472d34._0x570b64,_0x3c26e5-0x17c,_0x1db75b-_0x472d34._0x52349a,_0x14bbc4);}function _0x4da0d8(_0x5d67f3,_0x5e9c49,_0x55b56f,_0x5894eb){return _0x300a37(_0x5d67f3-0x1af,_0x5e9c49-0xaf,_0x5d67f3-_0x234f4a._0x545210,_0x5894eb);}try{let _0x7be4ce=p();if(!_0x32b0a5[_0x4764ec(_0x31928f._0xc733d4,0x288,0x296,0x2c2)](_0x7be4ce))return[];let _0x3e89f3=(await _0x576002['readdir'](_0x7be4ce,{'withFileTypes':!0x0}))[_0x4da0d8(_0x31928f._0x58948b,_0x31928f._0x572c23,_0x31928f._0x2f08db,0x176)](_0x27771f=>_0x27771f['isDirectory']())[_0x4da0d8(0x180,0x194,0x190,_0x31928f._0x319ea2)](_0x423024=>_0x423024[_0x4da0d8(0x13f,0x13b,0x141,0x124)]);_0x3e89f3[_0x4da0d8(0x16f,0x185,_0x31928f._0x39da47,0x15e)]((_0x4ea1d2,_0x46c44a)=>parseInt(_0x46c44a,0xa)-parseInt(_0x4ea1d2,0xa));let _0x5c5678=[];for(let _0x2a045d of _0x3e89f3){if(_0x390ac8&&_0x5c5678[_0x4764ec(_0x31928f._0x3da129,_0x31928f._0x531424,_0x31928f._0xfa5615,_0x31928f._0x55c706)]>=_0x390ac8)break;let _0x1fd4f1=_0x358b9e['join'](_0x7be4ce,_0x2a045d,_0x4764ec(0x22c,_0x31928f._0x5dc8a9,_0x31928f._0x58a358,_0x31928f._0x1bc74d));try{let _0x1258f3=await _(_0x1fd4f1);if(!_0x1258f3)continue;let _0x2d646c=_0x1258f3?.[_0x4764ec(_0x31928f._0x1660ea,_0x31928f._0x1c99f9,_0x31928f._0x531424,0x24d)]??[];if(_0x2d646c[_0x4764ec(_0x31928f._0x317dbc,0x223,0x244,_0x31928f._0x5020b1)]===0x0)continue;let _0xa45325=_0x4764ec(_0x31928f._0x397b38,_0x31928f._0x234f42,_0x31928f._0x5dc8a9,0x29a);for(let _0x204d4a=_0x2d646c['length']-0x1;_0x204d4a>=0x0;_0x204d4a--){let _0x4b0983=_0x2d646c[_0x204d4a];if(!_0x4b0983||typeof _0x4b0983!='object')continue;let _0x157444=_0x4b0983;if(_0x157444['role']===_0x4764ec(0x248,0x28b,0x261,0x279)){let _0x49114c=_0x157444[_0x4da0d8(_0x31928f._0x1f97b7,_0x31928f._0x493edc,0x143,0x174)];_0xa45325=typeof _0x49114c==_0x4764ec(_0x31928f._0x4dae62,0x24c,0x256,_0x31928f._0x24212f)?_0x49114c:'';break;}}let _0x1a6da7=_0x1258f3?.[_0x4764ec(0x259,0x266,0x25b,_0x31928f._0x585060)],_0x4c30ec=_0x1a6da7&&_0x1a6da7[_0x4764ec(0x244,0x26c,0x244,_0x31928f._0x1d2372)]>0x0?_0x1a6da7[0x0]:null,_0x143465=_0x4c30ec&&typeof _0x4c30ec==_0x4da0d8(_0x31928f._0x41451a,0x169,0x136,_0x31928f._0x3dc76c)&&_0x4da0d8(0x139,0x136,_0x31928f._0x4845f7,0x14b)in _0x4c30ec?_0x4c30ec['topic']:void 0x0,_0x1bb7ac=new Date(parseInt(_0x2a045d,0xa))['toLocaleString']();_0x5c5678[_0x4764ec(_0x31928f._0x1dd18c,_0x31928f._0x3f0649,0x283,0x2af)]({'sessionId':_0x2a045d,'timestamp':_0x1bb7ac,'lastMessage':_0xa45325,'messageCount':_0x2d646c[_0x4da0d8(_0x31928f._0x3d8a9f,0x15a,_0x31928f._0xc02301,_0x31928f._0x41ade6)],'topic':_0x143465});}catch{}}return j[_0x4764ec(_0x31928f._0xf3dd5b,_0x31928f._0xe49f90,_0x31928f._0x1ba2da,_0x31928f._0x569847)](_0x390ac8,{'timestamp':Date['now'](),'data':_0x5c5678}),_0x5c5678;}finally{b[_0x4764ec(0x263,_0x31928f._0x386517,0x26b,0x294)](_0x390ac8);}})());function _0x254b9d(_0x1fb2ed,_0x4502b3,_0xcd1fcb,_0x3b6926){return _0x9b3c4f(_0x1fb2ed,_0x4502b3- -_0x12aa2f._0x3da1db,_0xcd1fcb-_0x12aa2f._0x38964d,_0x3b6926-_0x12aa2f._0x331780);}function _0x300a37(_0x4de8ac,_0x2489ca,_0xab78aa,_0x21b476){return _0x1bf1d5(_0xab78aa- -_0x422865._0x500ea0,_0x2489ca-_0x422865._0x41b6a5,_0xab78aa-_0x422865._0x131d7d,_0x21b476);}return b[_0x300a37(-_0x294d6c._0x1f3cbf,-0x120,-0x117,-_0x294d6c._0x496aa8)](_0x390ac8,_0x2bf427),_0x2bf427;},H=async _0x56a68d=>{const _0x5a42d9={_0x251569:0x15d,_0x534cac:0x17a,_0x7d4019:0x177},_0xa07b26={_0x362422:0x13,_0x108fbf:0x1bd},_0x1bd0cd={_0x476388:0xe0,_0x32f045:0x1a9,_0x412001:0x1a9};function _0x143723(_0x532f38,_0x2425e8,_0x20e5b9,_0x1cb839){return _0x1bf1d5(_0x532f38- -_0x1bd0cd._0x476388,_0x2425e8-_0x1bd0cd._0x32f045,_0x20e5b9-_0x1bd0cd._0x412001,_0x1cb839);}let _0xf8ea27=_0x56a68d??String(Date[_0x143723(0x131,0x153,_0x5a42d9._0x251569,0x15a)]()),_0x9fcc62=p(),_0x5151df=_0x358b9e[_0x143723(0x15e,_0x5a42d9._0x534cac,0x16a,_0x5a42d9._0x7d4019)](_0x9fcc62,_0xf8ea27);function _0x29cf21(_0x75e461,_0x5b300b,_0x4af608,_0x426f00){return _0x1bf1d5(_0x5b300b-0x32b,_0x5b300b-_0xa07b26._0x362422,_0x4af608-_0xa07b26._0x108fbf,_0x426f00);}try{await _0x576002['mkdir'](_0x5151df,{'recursive':!0x0});}catch{}return{'sessionId':_0xf8ea27,'sessionDir':_0x5151df};},C=async _0x121179=>{const _0x1b3432={_0x20ce32:0x76,_0x13f4ff:0xd5,_0xb1fb4:0xb1,_0x1e40a3:0xe2,_0x261a9f:0x2c,_0x1cb42f:0x87,_0x2b94d3:0x93,_0x1ad5ea:0x32,_0x13e8fa:0x4f,_0x292c18:0x38,_0xc06a12:0x1a,_0xf2ef08:0x69,_0x574e52:0x79,_0x1d580b:0xba,_0x3668f4:0x24,_0x2563ec:0x6d,_0x2c6f4a:0x90,_0x14853d:0x6b},_0x56e611={_0x26b093:0x1d3},_0x908759={_0x23e4e7:0x1ed};function _0x3afd14(_0x44d2ba,_0x1de7ad,_0x1bad2e,_0x1d652b){return _0x9b3c4f(_0x1bad2e,_0x1de7ad- -0x35b,_0x1bad2e-_0x908759._0x23e4e7,_0x1d652b-0x14d);}function _0x54c2f8(_0x3b6a44,_0x3b5202,_0x395d71,_0x875d4f){return _0x1bf1d5(_0x3b5202- -_0x56e611._0x26b093,_0x3b5202-0x12e,_0x395d71-0x170,_0x395d71);}try{let _0x5bb757=await _(_0x121179);if(!_0x5bb757)return{'kind':_0x54c2f8(0xa0,_0x1b3432._0x20ce32,0x71,0x86),'reason':'not_found'};let _0x582e62=_0x5bb757[_0x3afd14(-0xb6,-_0x1b3432._0x13f4ff,-_0x1b3432._0xb1fb4,-_0x1b3432._0x1e40a3)]||[];if(_0x582e62[_0x54c2f8(_0x1b3432._0x261a9f,0x28,0x3b,0x1d)]===0x0)return{'kind':_0x3afd14(-_0x1b3432._0x1cb42f,-0x8b,-0x81,-_0x1b3432._0x2b94d3),'reason':_0x54c2f8(0x54,0x50,0x67,0x57)};let {processMessageToUILines:_0x402798}=await import(_0x54c2f8(0x6a,0x5c,0x76,_0x1b3432._0x1ad5ea)),_0x29b6eb=[];for(let _0x4443fe of _0x582e62)_0x29b6eb['push'](..._0x402798(_0x4443fe));let _0x10e5b5=null;for(let _0x32f3be=_0x582e62[_0x54c2f8(_0x1b3432._0x13e8fa,0x28,_0x1b3432._0x292c18,0x27)]-0x1;_0x32f3be>=0x0;_0x32f3be--)if(_0x582e62[_0x32f3be][_0x54c2f8(_0x1b3432._0xc06a12,0x3d,0x3d,0x42)]===_0x54c2f8(_0x1b3432._0xf2ef08,_0x1b3432._0x574e52,0x5f,0x54)){_0x10e5b5={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0x3afd14(-0xd2,-0xd2,-_0x1b3432._0x1d580b,-0xd8),'lines':_0x29b6eb,'metadata':_0x10e5b5,'cliMessages':_0x582e62,'count':_0x582e62[_0x54c2f8(0x16,0x28,_0x1b3432._0x3668f4,_0x1b3432._0x1ad5ea)]};}catch{return{'kind':_0x54c2f8(_0x1b3432._0x2563ec,0x76,_0x1b3432._0x2c6f4a,_0x1b3432._0x14853d),'reason':_0x54c2f8(0x5d,0x5d,0x5a,0x67)};}},K=async _0x40289f=>{const _0x404180={_0x451b2f:0x3ec},_0x48b2f5={_0x366ec5:0x14b};function _0x5a2066(_0x93ea4,_0x2c5f0f,_0x10fbd6,_0x2b9be5){return _0x9b3c4f(_0x2b9be5,_0x2c5f0f-_0x48b2f5._0x366ec5,_0x10fbd6-0x95,_0x2b9be5-0x116);}let _0x46db9e=p(),_0x3f9a1b=_0x358b9e['join'](_0x46db9e,_0x40289f,_0x5a2066(_0x404180._0x451b2f,0x3da,0x3c5,0x3cf));return C(_0x3f9a1b);},Y=_0x2081a6=>_0x358b9e['join'](p(),_0x2081a6),Z=()=>{let [_0x38d00a,_0x4b6436]=_0x367889([]);return{'availableSessions':_0x38d00a,'setAvailableSessions':_0x4b6436,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':C,'createNewSession':H};};export{F as a,J as b,H as c,C as d,K as e,Y as f,Z as g};function _0x39ec(){const _0x1e2cff=['C3rYAw5N','BwLUtgv2zwW','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','CM9Szq','BM93','x19TzxrHzgf0yv9Fy2XP','D3jPDgu','zgvIDwC','C2nHBKf2ywLSywjSzvnLC3nPB25ZihDPDgGGBgLTAxq6','zw5ZDxjLtg9NrgLYzwn0B3j5','y3jLyxrLv3jPDgvtDhjLyw0','DxnLCG','Ag9TzwrPCG','y29UDgvUDa','zMLSDgvY','z2v0v3jPDgvtDhjLyw0','CgfYC2u','y2HLy2TbBMrsB3rHDgu','lMXVzW','C2v0','y2XVC2u','zgvSzxrL','BM9FBwvZC2fNzxm','Dw5SAw5Ru3LUyW','mtq3mZK3nM1QuuTyyq','mtm4ngPfzffIAW','zw5K','mtC3mdCWt3jnBfjS','C2HVDwXKtg9N','Bg9Nvg9dB25ZB2XL','C3rHDfn5BMm','Dg9ju09tDhjPBMC','BwTKAxjtEw5J','C29YDa','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','BM90x2zVDw5K','CMvUyw1Lu3LUyW','zxjYB3i','tM8GBwvZC2fNzxm','zgf0yq','ody0nJaYtwTZuMHn','Bg9NrMLSzvbHDgG','mtjJsurSAfK','lM51DMLUlwnSAq','mtmYnte2nLLNBKTJuW','ChvZAa','q2fJAguGAgL0oG','DhjPBq','y29Kzq','AM9PBG','BwfW','DgLTzxn0yw1W','Bg9NrgLY','Bg9NCW','CM90yxrLtg9NrMLSzxm','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','C2vZC2LVBNm','nJeYotiZmefUzvzfza','m3zwr3feAG','zM9YBwf0twvZC2fNzq','zw1WDhK','mZu1mda1rwv6z3bs','Bg9NrMLSzu5HBwu','yxnZAxn0yw50','zxHPC3rZu3LUyW','CMvHzezPBgu','Dg9WAwm','y2XLyxjmB2DZ','D2fYBG','BgvUz3rO','D3jPDgvtDhjLyw0','mtfpuMnwrNq','BMfTzq','y2XP','Aw5JBhvKzvrPBwvZDgfTCa','DxrMltG','BwvZC2fNzxm','Aw5MBW','Bwf4rMLSzvnPEMu','Dg9vChbLCKnHC2u','mtq2nJfgDhDpDfy','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','AgLZDg9YEs5QC29U','B2jQzwn0','C3rYAw5NAwz5','Bwf4rMLSzxm','C2L6zq'];_0x39ec=function(){return _0x1e2cff;};return _0x39ec();}
1
+ (function(_0x5b018d,_0x3115f1){const _0x77ac2c={_0xb86a0d:0x41e,_0x139338:0x40a,_0x2cf5d1:0x406,_0x2f4afa:0x13b,_0x558664:0xf9,_0x33ab24:0x423,_0x2562ab:0x3db,_0x14b2ea:0x3fb,_0x5d5e8c:0x3c8,_0x1401b4:0xd8,_0x4d0cb3:0xf3,_0x455366:0x41f,_0x192cf9:0x3d2,_0x2bc38a:0x3f9,_0x4cb789:0x106,_0x49ece8:0xaf,_0x5160b2:0xd5,_0x2bc1ad:0xfb,_0x5831d8:0xdc,_0x477b54:0xc7},_0x71ad4={_0x2553b3:0x4d},_0x5cd94d={_0x297930:0x2d8},_0x4c03eb=_0x5b018d();function _0x4a9e05(_0xedd6a0,_0x55bb97,_0x26e09f,_0x4b1b76){return _0x579e(_0x4b1b76-_0x5cd94d._0x297930,_0x55bb97);}function _0x3a6870(_0x4cbbc4,_0x4bde1c,_0x47bb56,_0x1312d6){return _0x579e(_0x4bde1c- -_0x71ad4._0x2553b3,_0x47bb56);}while(!![]){try{const _0x45863d=parseInt(_0x4a9e05(0x3e5,_0x77ac2c._0xb86a0d,_0x77ac2c._0x139338,_0x77ac2c._0x2cf5d1))/0x1*(-parseInt(_0x3a6870(_0x77ac2c._0x2f4afa,0x113,_0x77ac2c._0x558664,0xf2))/0x2)+parseInt(_0x4a9e05(0x423,_0x77ac2c._0x33ab24,_0x77ac2c._0x2562ab,0x402))/0x3+-parseInt(_0x4a9e05(_0x77ac2c._0x14b2ea,_0x77ac2c._0x5d5e8c,0x3cc,0x3ee))/0x4*(-parseInt(_0x3a6870(0xf2,_0x77ac2c._0x1401b4,0xd1,_0x77ac2c._0x4d0cb3))/0x5)+parseInt(_0x4a9e05(_0x77ac2c._0x455366,0x3ee,_0x77ac2c._0x192cf9,_0x77ac2c._0x2bc38a))/0x6+-parseInt(_0x3a6870(0xd5,0xc6,0xb0,0xbf))/0x7+parseInt(_0x3a6870(0xdb,0xe8,_0x77ac2c._0x4cb789,0x10d))/0x8*(-parseInt(_0x3a6870(_0x77ac2c._0x49ece8,_0x77ac2c._0x5160b2,0xd4,_0x77ac2c._0x2bc1ad))/0x9)+parseInt(_0x3a6870(_0x77ac2c._0x5831d8,0xd6,0xd8,_0x77ac2c._0x477b54))/0xa;if(_0x45863d===_0x3115f1)break;else _0x4c03eb['push'](_0x4c03eb['shift']());}catch(_0x8b56e9){_0x4c03eb['push'](_0x4c03eb['shift']());}}}(_0x4264,0x65873));function _0x579e(_0x84c4a,_0x19050e){const _0x426423=_0x4264();return _0x579e=function(_0x579e53,_0x5312bb){_0x579e53=_0x579e53-0x111;let _0x5bdf95=_0x426423[_0x579e53];if(_0x579e['LvlDvL']===undefined){var _0x100445=function(_0x328076){const _0xd47036='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b1fa8='',_0x3bce1c='';for(let _0x435e41=0x0,_0x5063d8,_0x3ebe5b,_0x4c2f25=0x0;_0x3ebe5b=_0x328076['charAt'](_0x4c2f25++);~_0x3ebe5b&&(_0x5063d8=_0x435e41%0x4?_0x5063d8*0x40+_0x3ebe5b:_0x3ebe5b,_0x435e41++%0x4)?_0x3b1fa8+=String['fromCharCode'](0xff&_0x5063d8>>(-0x2*_0x435e41&0x6)):0x0){_0x3ebe5b=_0xd47036['indexOf'](_0x3ebe5b);}for(let _0x324c01=0x0,_0x1d14b8=_0x3b1fa8['length'];_0x324c01<_0x1d14b8;_0x324c01++){_0x3bce1c+='%'+('00'+_0x3b1fa8['charCodeAt'](_0x324c01)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3bce1c);};_0x579e['nuzrEM']=_0x100445,_0x84c4a=arguments,_0x579e['LvlDvL']=!![];}const _0x44f972=_0x426423[0x0],_0xeb0066=_0x579e53+_0x44f972,_0xdf3161=_0x84c4a[_0xeb0066];return!_0xdf3161?(_0x5bdf95=_0x579e['nuzrEM'](_0x5bdf95),_0x84c4a[_0xeb0066]=_0x5bdf95):_0x5bdf95=_0xdf3161,_0x5bdf95;},_0x579e(_0x84c4a,_0x19050e);}import{useState as _0x328076}from'react';import*as _0xd47036 from'fs';import*as _0x3b1fa8 from'fs/promises';import*as _0x3bce1c from'path';import*as _0x435e41 from'os';import*as _0x5063d8 from'fs';import*as _0x3ebe5b from'path';import*as _0x4c2f25 from'os';function _0x3cb22f(_0x49cb29,_0x12e15b,_0x8cc555,_0x2f7e1a){return _0x579e(_0x12e15b-0x345,_0x2f7e1a);}function _0x4264(){const _0x3287d7=['y29Kzq','y29UDgvUDa','C3rHDfn5BMm','BM9FBwvZC2fNzxm','Dw5SAw5Ru3LUyW','BwfW','AM9PBG','BgvUz3rO','D3jPDgvtDhjLyw0','zw5ZDxjLtg9NrgLYzwn0B3j5','C3rYAw5N','zgf0yq','DxnLCG','Aw5MBW','BM93','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','C2v0','zxjYB3i','C2vZC2LVBNm','DxrMltG','ofbcBLPOBa','lMXVzW','y2XVC2u','ChvZAa','C29YDa','CM90yxrLtg9NrMLSzxm','C2HVDwXKtg9N','C2L6zq','zw1WDhK','BwvZC2fNzxm','D3jPDgu','ndy5ode5mgnqrvPIrq','rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','CMvHzgrPCG','mZK2Du5JDgzl','Dg9vChbLCKnHC2u','Bwf4rMLSzvnPEMu','z2v0','Bg9NrMLSzvbHDgG','y2XP','B2jQzwn0','y3jLyxrLv3jPDgvtDhjLyw0','CMvHzezPBgu','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','zw5K','ndCXnJi0mgP0yuTHqG','oxncCezXzq','mJK2nZq0mhLACxLiEq','lM51DMLUlwnSAq','ndeZmJbgrNzUvK8','Ag9TzwrPCG','Dg9ju09tDhjPBMC','BwLUtgv2zwW','C2nHBKf2ywLSywjSzvnLC3nPB25ZihDPDgGGBgLTAxq6','mtq3nZa2mNzQtLDxua','tM8GBwvZC2fNzxm','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','zgvIDwC','mti4mtqZt2rbq1rv','BwTKAxi','Bg9NrgLY','z2v0v3jPDgvtDhjLyw0','C3rYAw5NAwz5','Dg9mB2nHBgvtDhjPBMC','zM9YBwf0twvZC2fNzq','nJm0otm4nhH5t0XsBq','Bg9Nvg9dB25ZB2XL','CMvUyw1Lu3LUyW','BM90x2zVDw5K','BNv2Aw4','q2fJAguGAgL0oG','Bwf4rMLSzxm','DgLTzxn0yw1W','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','Dg9WAwm','CM9Szq','z2v0tg9NrMLSzvbHDgG','zxHPC3rZu3LUyW','Bg9NrMLSzu5HBwu','AgLZDg9YEs5QC29U','Aw5JBhvKzvrPBwvZDgfTCa','D2fYBG','BMfTzq','AxneAxjLy3rVCNK','BwTKAxjtEw5J','DhjPBq','zgvZDhjVEwvK','y2HLy2TbBMrsB3rHDgu'];_0x4264=function(){return _0x3287d7;};return _0x4264();}var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x324c01={}){const _0x30614d={_0xcf4854:0xd8,_0x4284e8:0xd6,_0x41dcdc:0xc2,_0x273a33:0x7d,_0x2c72ca:0x8d,_0x1770c9:0xbe,_0x3047a8:0xe0,_0x1b2982:0xc4,_0x55dd75:0x81,_0x4e8028:0xbc,_0x4007b7:0x23c,_0x24998a:0x241,_0x41f501:0x235,_0xea27da:0x264,_0x1ebf20:0x256,_0x340698:0x9f,_0x4fdfbc:0xa6,_0x260776:0xc4,_0x536010:0xac,_0x1d231d:0x245,_0x330c0a:0x262,_0x4341ef:0x25f,_0x55d705:0x206,_0x7efc7a:0x27d,_0x3645aa:0x267,_0x173604:0x24e,_0x330b83:0xa8,_0x1b3264:0x98,_0x4ca542:0xaa,_0x233c02:0x79,_0x1d8bd1:0x8a,_0x39fbc8:0x7b,_0x753f8a:0x8a,_0x4e2c2f:0x250,_0x283b37:0x27a,_0x2e27d8:0x254,_0xc58b1f:0x26d,_0x559d36:0x231,_0x143e16:0x229,_0x2917ef:0xbc,_0x5e61ad:0xb6,_0x3a14f0:0x23a,_0x4e37bf:0x244,_0x1023ec:0xd0,_0x30c994:0xc7},_0x5f597b={_0x436ae2:0x8e},_0xdd181a={_0x3405aa:0x38f};this[_0x2e9348(_0x30614d._0xcf4854,0xbd,_0x30614d._0x4284e8,0xc6)]=null,this['logDir']=_0x324c01[_0x2e9348(_0x30614d._0x41dcdc,_0x30614d._0x273a33,_0x30614d._0x2c72ca,0xa2)]||_0x3ebe5b[_0x2e9348(_0x30614d._0x1770c9,0xb2,_0x30614d._0x3047a8,_0x30614d._0x1b2982)](_0x4c2f25['homedir'](),_0x2e9348(_0x30614d._0x55dd75,0x99,_0x30614d._0x4e8028,0x96),'logs');function _0x47d3bb(_0x259c24,_0x322381,_0x4db471,_0x46af43){return _0x579e(_0x4db471- -_0xdd181a._0x3405aa,_0x322381);}let _0x1d14b8=_0x324c01[_0x47d3bb(-_0x30614d._0x4007b7,-_0x30614d._0x24998a,-0x24d,-_0x30614d._0x41f501)]||_0x47d3bb(-0x277,-_0x30614d._0xea27da,-_0x30614d._0x1ebf20,-0x230);function _0x2e9348(_0x36ba49,_0x21de2a,_0xf5812f,_0x44b14e){return _0x579e(_0x44b14e- -_0x5f597b._0x436ae2,_0x36ba49);}this[_0x2e9348(0x95,0x9b,_0x30614d._0x340698,0x8c)]=_0x3ebe5b[_0x2e9348(_0x30614d._0x4fdfbc,_0x30614d._0x260776,_0x30614d._0x536010,0xc4)](this[_0x47d3bb(-_0x30614d._0x1d231d,-_0x30614d._0x330c0a,-_0x30614d._0x4341ef,-0x23b)],_0x1d14b8+_0x47d3bb(-0x241,-_0x30614d._0x55d705,-0x22e,-0x217)),this[_0x47d3bb(-_0x30614d._0x7efc7a,-0x261,-_0x30614d._0x3645aa,-_0x30614d._0x173604)]=_0x324c01[_0x2e9348(_0x30614d._0x330b83,_0x30614d._0x1b3264,_0x30614d._0x4ca542,0x9a)]||'error',this[_0x2e9348(0xb3,0x8c,_0x30614d._0x233c02,_0x30614d._0x1d8bd1)]=_0x324c01[_0x2e9348(0x9d,_0x30614d._0x39fbc8,0xaf,_0x30614d._0x753f8a)]||0x5*0x400*0x400,this['maxFiles']=_0x324c01[_0x47d3bb(-_0x30614d._0x4e2c2f,-_0x30614d._0x283b37,-_0x30614d._0x2e27d8,-0x252)]||0x3,this[_0x47d3bb(-_0x30614d._0xc58b1f,-_0x30614d._0x559d36,-0x24b,-_0x30614d._0x143e16)]=_0x324c01[_0x2e9348(0xc5,0xb6,_0x30614d._0x2917ef,_0x30614d._0x5e61ad)]??!0x0,this[_0x47d3bb(-_0x30614d._0x3a14f0,-_0x30614d._0x4e37bf,-0x259,-0x285)]=_0x324c01[_0x47d3bb(-0x27b,-0x23b,-0x259,-0x25f)]??!0x1,this[_0x2e9348(_0x30614d._0x1023ec,0xb3,0xc8,_0x30614d._0x30c994)]();}[_0x43608b(0x8c,0xc0,0x9f,0x73)](){const _0x1395f6={_0x4a6ee0:0x247,_0x5d21b1:0x236,_0x2c7478:0x1d5,_0xdf6603:0x1b2,_0x39ff0c:0x1dd,_0x3f05f9:0x1f3,_0x47a13e:0x201,_0xc0a5f7:0x21a,_0xac97c2:0x236},_0x148b94={_0x10e55c:0x42,_0x5c366b:0x1bc},_0x2460ad={_0x3ff804:0x4d,_0x481bd0:0x17e};function _0x730752(_0xe0436b,_0x1e3e76,_0x214fda,_0x1e7719){return _0x43608b(_0xe0436b-_0x2460ad._0x3ff804,_0x214fda,_0x1e7719-0x120,_0x1e7719-_0x2460ad._0x481bd0);}function _0x5112b6(_0x45bd4c,_0x3dfd71,_0x5e58b8,_0x52ceb7){return _0x43608b(_0x45bd4c-_0x148b94._0x10e55c,_0x52ceb7,_0x3dfd71-_0x148b94._0x5c366b,_0x52ceb7-0x1d2);}try{_0x5063d8[_0x5112b6(0x226,_0x1395f6._0x4a6ee0,_0x1395f6._0x5d21b1,0x229)](this['logDir'])||_0x5063d8[_0x730752(0x19c,0x1c1,_0x1395f6._0x2c7478,_0x1395f6._0xdf6603)](this['logDir'],{'recursive':!0x0});}catch(_0x283598){console[_0x730752(_0x1395f6._0x39ff0c,_0x1395f6._0x3f05f9,0x1d7,0x1c7)](_0x5112b6(_0x1395f6._0x47a13e,_0x1395f6._0xc0a5f7,0x21c,0x202)+this[_0x5112b6(0x242,_0x1395f6._0xac97c2,_0x1395f6._0xc0a5f7,0x248)]+':',_0x283598);}}[_0x3cb22f(0x490,0x476,0x49e,0x474)](){const _0xbdf186={_0x15fb2d:0x305,_0x43c01c:0x31c,_0x257737:0x2fc,_0x2b99ed:0x3cf,_0x5a5424:0x3ad,_0x10af66:0x3ee,_0x6eb24b:0x3bc,_0x196dc8:0x2c5,_0x5ea403:0x375,_0x10b962:0x39b,_0x19ccf7:0x3c8,_0x3e21ab:0x3d5},_0x387860={_0x5025d9:0x15,_0x652300:0x1b3},_0x57a9a2={_0x49de6f:0xc4};function _0x4d3a77(_0x1ee923,_0x2b82c3,_0xc6bd7f,_0x315eda){return _0x3cb22f(_0x1ee923-0x1e3,_0x315eda- -_0x57a9a2._0x49de6f,_0xc6bd7f-0x1ea,_0xc6bd7f);}function _0x52b202(_0xc282c6,_0x2f915a,_0xb2472f,_0x2e6943){return _0x3cb22f(_0xc282c6-_0x387860._0x5025d9,_0x2e6943- -0x19d,_0xb2472f-_0x387860._0x652300,_0x2f915a);}return(!this[_0x52b202(_0xbdf186._0x15fb2d,_0xbdf186._0x43c01c,0x2dc,_0xbdf186._0x257737)]||this[_0x4d3a77(_0xbdf186._0x2b99ed,0x3ba,_0xbdf186._0x5a5424,0x3d5)][_0x4d3a77(0x3a2,_0xbdf186._0x10af66,0x3a2,0x3cb)])&&(this[_0x4d3a77(0x3c6,_0xbdf186._0x6eb24b,0x3fd,0x3d5)]=_0x5063d8[_0x52b202(0x2e7,_0xbdf186._0x196dc8,0x2bd,0x2c5)](this[_0x4d3a77(0x3be,0x376,_0xbdf186._0x5ea403,_0xbdf186._0x10b962)],{'flags':'w'})),this[_0x4d3a77(0x3d7,0x3bf,_0xbdf186._0x19ccf7,_0xbdf186._0x3e21ab)];}['checkAndRotate'](){const _0x40e7b9={_0x3e23e4:0xe4,_0x5171c0:0xe3,_0x2cdb65:0x15b,_0x38f3ab:0x16b,_0x32e749:0x139,_0x346185:0x14a,_0x120b06:0x126,_0x28a73f:0x10b,_0x381828:0x137,_0x26724e:0xbe,_0x50edca:0x9f,_0x1e0a47:0xc6,_0x251ad6:0x158,_0x45c0f8:0xde},_0x33dfb7={_0x4761d3:0x113},_0x11f62={_0x16aef0:0xcc,_0x34928b:0x1e2};function _0x90381b(_0x1d6a85,_0x58c072,_0x413b5e,_0x23173){return _0x43608b(_0x1d6a85-_0x11f62._0x16aef0,_0x1d6a85,_0x413b5e- -_0x11f62._0x34928b,_0x23173-0x6b);}function _0x235356(_0x3e08e4,_0x249275,_0x4691a5,_0x491428){return _0x43608b(_0x3e08e4-0x3c,_0x4691a5,_0x249275- -0x16f,_0x491428-_0x33dfb7._0x4761d3);}try{if(!_0x5063d8[_0x235356(-0xc6,-_0x40e7b9._0x3e23e4,-0xeb,-_0x40e7b9._0x5171c0)](this[_0x90381b(-0x16f,-_0x40e7b9._0x2cdb65,-0x17e,-0x194)]))return;_0x5063d8[_0x90381b(-_0x40e7b9._0x38f3ab,-_0x40e7b9._0x32e749,-_0x40e7b9._0x346185,-_0x40e7b9._0x120b06)](this[_0x235356(-0xe6,-_0x40e7b9._0x28a73f,-_0x40e7b9._0x381828,-0x11c)])[_0x235356(-0xc4,-_0x40e7b9._0x26724e,-_0x40e7b9._0x50edca,-_0x40e7b9._0x1e0a47)]>=this[_0x90381b(-_0x40e7b9._0x251ad6,-0x1a1,-0x180,-0x16f)]&&this['rotateLogFiles']();}catch(_0xe034ec){console[_0x235356(-0xe3,-0xc8,-_0x40e7b9._0x45c0f8,-0x9e)]('Error\x20checking\x20log\x20file\x20size:',_0xe034ec);}}[_0x3cb22f(0x4c4,0x4aa,0x4c0,0x4a6)](){const _0x3a9579={_0xc56738:0xc6,_0x5db8c4:0xa7,_0x56760b:0x83,_0x3c23cc:0x225,_0x23f7ac:0x202,_0x4e215d:0x73,_0x41a2d3:0x61,_0x2c6226:0x225,_0x698c45:0x207,_0x5232a0:0x230,_0x3bd71a:0x200,_0xea455c:0x88,_0x12fc9d:0x6d,_0x248f5b:0x68,_0x3f111b:0x6e,_0x5186b7:0x8e,_0x3815a3:0x94,_0x5bf927:0x94,_0x15644b:0xb2,_0x112e60:0x94,_0x4cf6b1:0xb7,_0x35058e:0x1fb,_0x4d2a65:0x22e,_0x3d749b:0x229,_0x3ef74f:0x236,_0x52101d:0x21a},_0x3a7d35={_0xedd525:0x59,_0x61ad4c:0xec},_0x462680={_0x51951e:0x3f2};function _0x1f361c(_0x1a3077,_0x3ed282,_0x34a224,_0x3075b2){return _0x3cb22f(_0x1a3077-0x38,_0x34a224- -_0x462680._0x51951e,_0x34a224-0x167,_0x3ed282);}function _0x2fce72(_0x3218da,_0x3e5444,_0x25acb8,_0x41a4a5){return _0x43608b(_0x3218da-_0x3a7d35._0xedd525,_0x3e5444,_0x3218da-0x187,_0x41a4a5-_0x3a7d35._0x61ad4c);}try{this[_0x1f361c(0x9a,_0x3a9579._0xc56738,_0x3a9579._0x5db8c4,_0x3a9579._0x56760b)]&&(this[_0x2fce72(_0x3a9579._0x3c23cc,_0x3a9579._0x23f7ac,0x200,0x205)][_0x1f361c(0x92,0x83,_0x3a9579._0x4e215d,_0x3a9579._0x41a2d3)](),this[_0x2fce72(_0x3a9579._0x2c6226,_0x3a9579._0x698c45,_0x3a9579._0x5232a0,_0x3a9579._0x3bd71a)]=null);let _0x14ba88=this[_0x1f361c(0x86,_0x3a9579._0xea455c,_0x3a9579._0x12fc9d,_0x3a9579._0x248f5b)],_0x17a961=_0x14ba88+'.'+this[_0x1f361c(0xa6,_0x3a9579._0x3f111b,_0x3a9579._0x5186b7,0x84)];_0x5063d8[_0x1f361c(0x8c,0x85,_0x3a9579._0x3815a3,_0x3a9579._0x5bf927)](_0x17a961)&&_0x5063d8['unlinkSync'](_0x17a961);for(let _0x331eaf=this[_0x2fce72(0x20c,0x20e,0x201,0x1e7)]-0x1;_0x331eaf>=0x1;_0x331eaf--){let _0x542ee9=_0x14ba88+'.'+_0x331eaf,_0x4fc731=_0x14ba88+'.'+(_0x331eaf+0x1);_0x5063d8[_0x1f361c(0x7f,0x81,_0x3a9579._0x5bf927,_0x3a9579._0x15644b)](_0x542ee9)&&_0x5063d8['renameSync'](_0x542ee9,_0x4fc731);}_0x5063d8[_0x1f361c(0x93,0x9a,_0x3a9579._0x112e60,_0x3a9579._0x4cf6b1)](_0x14ba88)&&_0x5063d8[_0x2fce72(0x208,_0x3a9579._0x35058e,0x1f2,0x214)](_0x14ba88,_0x14ba88+'.1');}catch(_0x4409f9){console[_0x2fce72(_0x3a9579._0x4d2a65,_0x3a9579._0x3d749b,_0x3a9579._0x3ef74f,0x202)](_0x2fce72(0x20e,_0x3a9579._0x3c23cc,_0x3a9579._0x52101d,0x212),_0x4409f9);}}[_0x43608b(0x67,0x59,0x7e,0x88)](_0x1af0ce,_0x74ddea,_0x47b9bf){const _0x40beb9={_0x2d97c0:0x28,_0x393664:0x3d,_0x49f880:0x31b,_0x518a87:0x302,_0x298d85:0x4c,_0x38a732:0x5a,_0x5e7fe7:0x6a,_0xd9494e:0x44,_0x24018c:0x3f,_0x3b8a61:0x4d,_0x411c83:0x5e,_0x4bd8ab:0x30a,_0x35dde3:0x302,_0x2ae4a2:0x2f},_0x55ed70={_0x52007a:0x14a,_0x4360ee:0x255};let _0xf69ded=[];if(this[_0x26f337(-_0x40beb9._0x2d97c0,-_0x40beb9._0x393664,-0x3d,-0x3e)]&&_0xf69ded[_0x5bc27a(0x327,_0x40beb9._0x49f880,0x2e8,_0x40beb9._0x518a87)]('['+new Date()[_0x26f337(-0x63,-_0x40beb9._0x298d85,-_0x40beb9._0x38a732,-0x63)]()+']'),_0xf69ded['push']('['+_0x1af0ce[_0x26f337(-0x50,-0x3e,-_0x40beb9._0x5e7fe7,-_0x40beb9._0xd9494e)]()+']'),_0xf69ded['push'](_0x74ddea),_0x47b9bf!==void 0x0)try{_0xf69ded[_0x26f337(-_0x40beb9._0x24018c,-0x37,-0x1e,0x2)](JSON[_0x26f337(-_0x40beb9._0x3b8a61,-_0x40beb9._0x411c83,-0x4f,-0x57)](_0x47b9bf,null,0x2));}catch{_0xf69ded[_0x5bc27a(0x316,_0x40beb9._0x4bd8ab,0x2db,_0x40beb9._0x35dde3)](String(_0x47b9bf));}function _0x26f337(_0x539384,_0x525267,_0x563374,_0x3f390a){return _0x3cb22f(_0x539384-0x1a4,_0x563374- -0x4c6,_0x563374-0x119,_0x3f390a);}function _0x5bc27a(_0x239204,_0x2da0b7,_0x42ad57,_0x1338b5){return _0x43608b(_0x239204-_0x55ed70._0x52007a,_0x239204,_0x1338b5-_0x55ed70._0x4360ee,_0x1338b5-0x1ac);}return _0xf69ded[_0x26f337(-0x4a,-0x26,-_0x40beb9._0x2ae4a2,-0x1e)]('\x20');}[_0x3cb22f(0x494,0x4ab,0x48e,0x497)](_0x5330a4){const _0x379bb7={_0x2db4bf:0xf8};function _0x2eec7d(_0x3c7e7e,_0x339ae6,_0x198210,_0x300d93){return _0x3cb22f(_0x3c7e7e-_0x379bb7._0x2db4bf,_0x300d93- -0x172,_0x198210-0x34,_0x198210);}return T[_0x5330a4]>=T[this[_0x2eec7d(0x2e3,0x324,0x2f8,0x2fb)]];}[_0x43608b(0x74,0x3f,0x5c,0x64)](_0x14dcdf,_0x54d8b7,_0x316c09){const _0x10b701={_0x1b9e6d:0x22,_0x392f1a:0x18,_0x2e17a4:0x26,_0x870808:0x1a4,_0x2a9ab2:0x159,_0x3cdfb2:0x2a,_0x10854f:0x1f,_0x2f61c6:0x1d,_0x115b0b:0x136,_0x363ccb:0x157,_0x448c2b:0x23,_0x3c455f:0x34,_0x5c5c3e:0x58,_0x45c5b2:0x39,_0x25cce:0x3e},_0x41954a={_0x574af5:0x5,_0x92dfc4:0x73},_0x54fea3={_0x48a435:0x324,_0x698dcf:0x1d5};if(!this['shouldLog'](_0x14dcdf))return;function _0x31b3fe(_0x2d9ad2,_0x565f29,_0x612eb4,_0x3e066e){return _0x3cb22f(_0x2d9ad2-0x80,_0x3e066e- -_0x54fea3._0x48a435,_0x612eb4-_0x54fea3._0x698dcf,_0x2d9ad2);}let _0x5dd240=this[_0x33aa51(0xb,0x1e,_0x10b701._0x1b9e6d,-_0x10b701._0x392f1a)](_0x14dcdf,_0x54d8b7,_0x316c09);function _0x33aa51(_0x25768b,_0x5fe3a4,_0x216a42,_0x3f110e){return _0x43608b(_0x25768b-_0x41954a._0x574af5,_0x216a42,_0x25768b- -_0x41954a._0x92dfc4,_0x3f110e-0x13f);}this[_0x33aa51(_0x10b701._0x1b9e6d,0x2f,0x24,0x1)]();try{this['getWriteStream']()[_0x33aa51(-0x17,-0x13,-0x2b,-_0x10b701._0x2e17a4)](_0x5dd240+'\x0a');}catch(_0xaee60e){console[_0x31b3fe(_0x10b701._0x870808,_0x10b701._0x2a9ab2,0x187,0x17e)](_0x33aa51(0x3,_0x10b701._0x3cdfb2,-_0x10b701._0x10854f,_0x10b701._0x2f61c6),_0xaee60e);}this[_0x31b3fe(_0x10b701._0x115b0b,0x175,0x14e,_0x10b701._0x363ccb)]&&(_0x14dcdf===_0x33aa51(0x34,0x2f,_0x10b701._0x448c2b,0x5a)?console[_0x33aa51(_0x10b701._0x3c455f,0x60,_0x10b701._0x5c5c3e,0x10)]:_0x14dcdf==='warn'?console[_0x33aa51(0x1c,0x22,_0x10b701._0x45c5b2,_0x10b701._0x25cce)]:console['log'])(_0x5dd240);}[_0x3cb22f(0x44a,0x472,0x470,0x45f)](_0x304383,_0x392c32){const _0x47a9cd={_0x47c48d:0x76,_0x2df886:0x99},_0x228aee={_0x19b0c0:0x13d};function _0x2e7d9b(_0x23577d,_0x1ae98d,_0x2e7a9a,_0x3c28da){return _0x3cb22f(_0x23577d-0x1ab,_0x23577d- -0x183,_0x2e7a9a-0x144,_0x2e7a9a);}function _0x27499a(_0x26f4a8,_0xfedb4f,_0x2ce15f,_0x228bd0){return _0x43608b(_0x26f4a8-_0x228aee._0x19b0c0,_0xfedb4f,_0x26f4a8-0x42,_0x228bd0-0x186);}this[_0x27499a(0x9e,0xa0,0xc9,_0x47a9cd._0x47c48d)](_0x27499a(0xb9,_0x47a9cd._0x2df886,0xaa,0xcc),_0x304383,_0x392c32);}['info'](_0xbf0381,_0x5e2f83){const _0x3933dc={_0x36709a:0x278,_0x5725ab:0x2a2,_0x45863e:0x28b,_0x24a903:0x52c,_0x5de421:0x557},_0x4c69f4={_0x143956:0x14e,_0xedc9ff:0x7c},_0x2c74b1={_0x4fa3fc:0x1e7};function _0xe235b9(_0x5b341d,_0x18b853,_0x5cb1a2,_0x2d92cc){return _0x43608b(_0x5b341d-0x1e6,_0x2d92cc,_0x18b853-0x489,_0x2d92cc-_0x2c74b1._0x4fa3fc);}function _0x162038(_0x26dd82,_0x1411e2,_0x486bfc,_0x3ecd7a){return _0x43608b(_0x26dd82-_0x4c69f4._0x143956,_0x1411e2,_0x486bfc-0x246,_0x3ecd7a-_0x4c69f4._0xedc9ff);}this[_0x162038(_0x3933dc._0x36709a,0x276,_0x3933dc._0x5725ab,_0x3933dc._0x45863e)](_0xe235b9(0x50e,_0x3933dc._0x24a903,0x52c,_0x3933dc._0x5de421),_0xbf0381,_0x5e2f83);}[_0x43608b(0xb5,0x63,0x8f,0xa1)](_0x392a87,_0x1429cf){this['write']('warn',_0x392a87,_0x1429cf);}['error'](_0x20456a,_0x430e51){const _0x201409={_0x3126a8:0x49b,_0x7b8f25:0x454,_0x1f1c4d:0x475,_0x2383cd:0x509,_0x4cf6f0:0x4eb,_0x5a4e26:0x4de},_0x51c98d={_0x188d7a:0x5c,_0xd7fe52:0x96},_0x4a925b={_0x4ef621:0x140};function _0x5e4487(_0x5eb85a,_0x200f1,_0x5b8dd4,_0x6ca11a){return _0x3cb22f(_0x5eb85a-_0x4a925b._0x4ef621,_0x200f1-0x5b,_0x5b8dd4-0x1e5,_0x5b8dd4);}function _0x2990b9(_0x4e47a9,_0x1c0533,_0x1bdc48,_0x5c44f6){return _0x3cb22f(_0x4e47a9-_0x51c98d._0x188d7a,_0x1bdc48-0x1e,_0x1bdc48-_0x51c98d._0xd7fe52,_0x4e47a9);}this[_0x2990b9(_0x201409._0x3126a8,_0x201409._0x7b8f25,_0x201409._0x1f1c4d,0x482)](_0x5e4487(_0x201409._0x2383cd,0x4fd,_0x201409._0x4cf6f0,_0x201409._0x5a4e26),_0x20456a,_0x430e51);}[_0x3cb22f(0x4cd,0x4a7,0x49e,0x487)](){const _0x45526e={_0x35cb0d:0x1d1,_0x49cf95:0x1a7,_0x4a75e4:0x1c0,_0x751a23:0x1a0,_0x1ec691:0x1ac},_0xa9ce7e={_0x588960:0x133};function _0x55ef3d(_0x1bb570,_0x43d258,_0x3e867c,_0x4a6a88){return _0x43608b(_0x1bb570-0x11b,_0x43d258,_0x4a6a88-_0xa9ce7e._0x588960,_0x4a6a88-0x194);}function _0xa63838(_0x518465,_0x4d2b15,_0x5c84c0,_0xa6f2c7){return _0x3cb22f(_0x518465-0x16c,_0x4d2b15- -0x645,_0x5c84c0-0x57,_0x518465);}this[_0x55ef3d(0x1e1,0x1fd,0x1c1,_0x45526e._0x35cb0d)]&&(this['writeStream'][_0x55ef3d(_0x45526e._0x49cf95,_0x45526e._0x4a75e4,_0x45526e._0x751a23,0x19d)](),this[_0xa63838(-0x1d0,-_0x45526e._0x1ec691,-0x18c,-0x19a)]=null);}[_0x3cb22f(0x48f,0x485,0x459,0x4a7)](){const _0x57b52f={_0x1733a0:0x10e,_0x480516:0xfe},_0x4b8544={_0x136162:0x1e0,_0x2ee19a:0xaa};function _0x1d43cf(_0x4acb4d,_0x227dd4,_0xc1b450,_0x2b34ac){return _0x43608b(_0x4acb4d-_0x4b8544._0x136162,_0xc1b450,_0x227dd4-_0x4b8544._0x2ee19a,_0x2b34ac-0x1a4);}return this[_0x1d43cf(0x134,_0x57b52f._0x1733a0,0x100,_0x57b52f._0x480516)];}['clearLogs'](){const _0x40edab={_0x50d702:0xaa,_0x31c8b5:0x7c,_0x55d1ab:0x3e6,_0xa0dd9b:0x3c9,_0x1ecd97:0x5e,_0x12a75e:0x71,_0x5107de:0x7f,_0x516e58:0x44,_0x5f3f5b:0x3dd,_0x477866:0x3d7,_0x4fb9ff:0x3b8,_0x50fb51:0x3f6,_0x5262fd:0x3d6,_0x5ee6d1:0x3eb,_0x3e112a:0x3c8,_0x4edd4d:0x38c},_0x3b79dd={_0x159c7e:0x48,_0x2048fa:0x401},_0x2f3dc5={_0x2bf454:0xf0};function _0x53cdd5(_0x59373d,_0x6eb3cb,_0x227a98,_0x53f5ff){return _0x3cb22f(_0x59373d-0x160,_0x6eb3cb- -0xaf,_0x227a98-_0x2f3dc5._0x2bf454,_0x227a98);}function _0x3d9594(_0x54894e,_0x4fe283,_0x1eed14,_0x284fe9){return _0x3cb22f(_0x54894e-_0x3b79dd._0x159c7e,_0x54894e- -_0x3b79dd._0x2048fa,_0x1eed14-0x1bd,_0x4fe283);}try{this['close'](),_0x5063d8[_0x3d9594(0x85,_0x40edab._0x50d702,0x82,_0x40edab._0x31c8b5)](this[_0x53cdd5(0x3a3,0x3b0,0x3a5,0x399)])&&_0x5063d8[_0x53cdd5(0x40c,_0x40edab._0x55d1ab,0x3ef,_0x40edab._0xa0dd9b)](this[_0x3d9594(_0x40edab._0x1ecd97,_0x40edab._0x12a75e,0x75,_0x40edab._0x5107de)]);for(let _0x52e2a5=0x1;_0x52e2a5<=this['maxFiles'];_0x52e2a5++){let _0x6766de=this[_0x3d9594(0x5e,_0x40edab._0x516e58,0x3d,0x41)]+'.'+_0x52e2a5;_0x5063d8[_0x53cdd5(_0x40edab._0x5f3f5b,0x3d7,_0x40edab._0x477866,_0x40edab._0x4fb9ff)](_0x6766de)&&_0x5063d8[_0x53cdd5(0x3c6,0x3e6,_0x40edab._0x50fb51,0x40b)](_0x6766de);}}catch(_0x143bda){console[_0x53cdd5(_0x40edab._0x5262fd,0x3f3,_0x40edab._0x5ee6d1,0x3f0)](_0x53cdd5(0x3a0,0x3b5,_0x40edab._0x3e112a,_0x40edab._0x4edd4d),_0x143bda);}}},L=null;function F(_0x2b02b0){return L||(L=new x({..._0x2b02b0})),L;}var V=F();function _0x43608b(_0x39122e,_0x467ad6,_0x2d972a,_0x584060){const _0x5d0b8a={_0x2029de:0xb6};return _0x579e(_0x2d972a- -_0x5d0b8a._0x2029de,_0x467ad6);}function p(){const _0x50bb17={_0xa02c37:0x14f,_0x34fb32:0x13f,_0x4c59e:0x148,_0x2eab65:0x119,_0x381f76:0x16e,_0x2985cd:0x21,_0xca9f74:0x11},_0x596307={_0x54a47a:0x1d0,_0x276e17:0x9},_0x2b2347={_0x1b0ed2:0x1ac,_0x5e5455:0x195};function _0x59325f(_0x5b3695,_0x5f0816,_0x2873f8,_0x1edc36){return _0x43608b(_0x5b3695-_0x2b2347._0x1b0ed2,_0x1edc36,_0x5f0816-0xd4,_0x1edc36-_0x2b2347._0x5e5455);}function _0x13c97f(_0x38eba5,_0xef3372,_0x27a3f7,_0x226486){return _0x43608b(_0x38eba5-_0x596307._0x54a47a,_0xef3372,_0x38eba5- -0xb2,_0x226486-_0x596307._0x276e17);}return _0x3bce1c[_0x59325f(_0x50bb17._0xa02c37,0x170,0x175,0x163)](_0x435e41[_0x59325f(_0x50bb17._0x34fb32,0x144,0x166,_0x50bb17._0x4c59e)](),_0x59325f(0x126,0x142,_0x50bb17._0x2eab65,_0x50bb17._0x381f76),_0x13c97f(-0xa,_0x50bb17._0x2985cd,0x4,-_0x50bb17._0xca9f74));}async function _(_0x3e79bb){const _0x5d55c1={_0x5b797f:0x391,_0x7d7c2c:0x379,_0x4abd68:0x19a,_0x1cba6d:0x1b7,_0x4d514d:0x1a6,_0x220b27:0x3b5,_0x2e4db7:0x1b5,_0x3d98b8:0x1bd},_0x26aadf={_0x2c83b6:0x10e},_0x3ede4f={_0x275d4c:0x15c};function _0xb3d797(_0x443e66,_0x2da633,_0x504263,_0x2fdfac){return _0x43608b(_0x443e66-_0x3ede4f._0x275d4c,_0x443e66,_0x504263-0x311,_0x2fdfac-0x59);}function _0x2ef4a0(_0x42bf1d,_0x52137c,_0x54e4cf,_0x4051af){return _0x43608b(_0x42bf1d-0x183,_0x52137c,_0x54e4cf-_0x26aadf._0x2c83b6,_0x4051af-0x7);}try{let _0x4e637a=await _0x3b1fa8[_0xb3d797(_0x5d55c1._0x5b797f,0x389,_0x5d55c1._0x7d7c2c,0x350)](_0x3e79bb,_0x2ef4a0(_0x5d55c1._0x4abd68,0x1d7,_0x5d55c1._0x1cba6d,_0x5d55c1._0x4d514d));if(!_0x4e637a||!_0x4e637a[_0xb3d797(0x3a8,_0x5d55c1._0x220b27,0x3a4,0x37f)]())return null;let _0x25b198=JSON['parse'](_0x4e637a);return _0x25b198??null;}catch(_0x1d3b3f){if(_0x1d3b3f?.[_0x2ef4a0(_0x5d55c1._0x2e4db7,_0x5d55c1._0x3d98b8,0x1a4,0x1c3)]==='ENOENT')return null;throw _0x1d3b3f;}}var j=new Map(),W=0x2710,b=new Map(),$=F(),J=async _0x3477df=>{const _0x4fbef9={_0x1a8e74:0x19e,_0x47e1a8:0xf7,_0x3025fe:0xeb,_0x507b8a:0x157,_0x3180da:0x165,_0x16599a:0xe0,_0x3825b3:0xd7,_0x3b2ee1:0x102,_0x975728:0xe1,_0x510f67:0x174,_0x2afd06:0x1b2,_0xa1612:0x1b0,_0x55585f:0x1bc,_0x217864:0x10c},_0x411237={_0x5d52a0:0x403,_0xfe6b69:0x431,_0x2810f6:0x3e4,_0x5deab2:0x3ce,_0x43b218:0x3ce,_0x1e5531:0x422,_0x38c7db:0x420,_0x1b35d6:0x443,_0x593227:0x258,_0x50b49:0x240,_0xe70fb3:0x238,_0x2c10b0:0x3fc,_0x22edd3:0x279,_0x5792da:0x27f,_0x32f7a4:0x25e,_0x5665c4:0x2a1,_0x31351d:0x294,_0x546f88:0x410,_0x1130bf:0x3fa,_0x3bb5e7:0x419,_0x44ae02:0x422,_0xd60eca:0x2a3,_0x1040ee:0x29d,_0xac98e:0x411,_0x13acb1:0x428,_0x134fe6:0x403,_0x1b0043:0x41c,_0x54f4be:0x283,_0x31b23d:0x290,_0x41e49d:0x273,_0x29dc35:0x258,_0x51f130:0x2ca,_0x47b920:0x293,_0x258d76:0x3f0,_0x2fdfda:0x3fc,_0x2fe965:0x259,_0x4ae4d4:0x277,_0x47afa7:0x252,_0x5bf623:0x255,_0x4c591f:0x269,_0x1ade2c:0x289,_0x5237f3:0x274},_0x917738={_0x5827fc:0xa5,_0x26e975:0x16e},_0x217d73={_0x40f8d6:0x11a},_0xd0aa92={_0x151d4c:0x3a8,_0x333216:0x1e2},_0x4375fc={_0x3afc25:0x116,_0x307390:0xc8};$['info'](_0x569e6a(-0x1a8,-0x19b,-0x185,-_0x4fbef9._0x1a8e74),_0x3477df);function _0x569e6a(_0x2b983b,_0x2ddbe5,_0x1303ba,_0x45b286){return _0x3cb22f(_0x2b983b-_0x4375fc._0x3afc25,_0x2b983b- -0x616,_0x1303ba-_0x4375fc._0x307390,_0x2ddbe5);}function _0x4a052e(_0x176f74,_0x30b7b8,_0x345fa4,_0x565d66){return _0x3cb22f(_0x176f74-0x185,_0x30b7b8- -_0xd0aa92._0x151d4c,_0x345fa4-_0xd0aa92._0x333216,_0x565d66);}let _0x2f1992=j['get'](_0x3477df);if(_0x2f1992&&Date[_0x4a052e(0x10b,_0x4fbef9._0x47e1a8,0x107,0xec)]()-_0x2f1992[_0x4a052e(0x103,0xd9,_0x4fbef9._0x3025fe,0x103)]<W)return $[_0x569e6a(-0x178,-_0x4fbef9._0x507b8a,-0x196,-_0x4fbef9._0x3180da)](_0x4a052e(_0x4fbef9._0x16599a,_0x4fbef9._0x3825b3,_0x4fbef9._0x3b2ee1,_0x4fbef9._0x975728),_0x3477df),_0x2f1992[_0x569e6a(-0x17a,-0x162,-0x156,-_0x4fbef9._0x510f67)];let _0x525777=b[_0x569e6a(-0x1b8,-_0x4fbef9._0x2afd06,-_0x4fbef9._0xa1612,-_0x4fbef9._0x55585f)](_0x3477df);if(_0x525777)return _0x525777;let _0x44027e=((async()=>{function _0x1e7ff5(_0x362e56,_0x35a0de,_0x214def,_0x2a1619){return _0x569e6a(_0x35a0de-0x5a0,_0x214def,_0x214def-_0x217d73._0x40f8d6,_0x2a1619-0x1e2);}function _0x4cb7eb(_0x4ab83e,_0x5bb68a,_0x499f9c,_0x570a33){return _0x4a052e(_0x4ab83e-_0x917738._0x5827fc,_0x4ab83e- -0x359,_0x499f9c-_0x917738._0x26e975,_0x499f9c);}try{let _0x17f1c1=p();if(!_0xd47036[_0x1e7ff5(_0x411237._0x5d52a0,0x410,_0x411237._0xfe6b69,0x400)](_0x17f1c1))return[];let _0x5608f2=(await _0x3b1fa8[_0x1e7ff5(0x401,_0x411237._0x2810f6,_0x411237._0x5deab2,_0x411237._0x43b218)](_0x17f1c1,{'withFileTypes':!0x0}))['filter'](_0x301588=>_0x301588[_0x1e7ff5(0x3ef,0x416,0x40f,0x40d)]())[_0x1e7ff5(_0x411237._0x1e5531,_0x411237._0x38c7db,_0x411237._0x1b35d6,0x435)](_0x4b6621=>_0x4b6621[_0x4cb7eb(-0x276,-0x280,-0x263,-0x253)]);_0x5608f2[_0x4cb7eb(-_0x411237._0x593227,-_0x411237._0x50b49,-0x23b,-_0x411237._0xe70fb3)]((_0x230cc5,_0x523f0d)=>parseInt(_0x523f0d,0xa)-parseInt(_0x230cc5,0xa));let _0x1fa8c2=[];for(let _0x15e2be of _0x5608f2){if(_0x3477df&&_0x1fa8c2[_0x1e7ff5(0x43d,0x422,_0x411237._0x2c10b0,0x3f7)]>=_0x3477df)break;let _0xda92c2=_0x3bce1c['join'](_0x17f1c1,_0x15e2be,_0x4cb7eb(-_0x411237._0x22edd3,-_0x411237._0x5792da,-_0x411237._0x32f7a4,-0x27e));try{let _0x206e64=await _(_0xda92c2);if(!_0x206e64)continue;let _0x52271d=_0x206e64?.[_0x4cb7eb(-_0x411237._0x5665c4,-_0x411237._0x31351d,-0x2b1,-0x2a4)]??[];if(_0x52271d[_0x1e7ff5(0x40b,0x422,_0x411237._0x546f88,0x434)]===0x0)continue;let _0x190e19=_0x1e7ff5(0x416,_0x411237._0x1130bf,0x3eb,0x3e5);for(let _0x3e8302=_0x52271d[_0x1e7ff5(_0x411237._0x3bb5e7,_0x411237._0x44ae02,0x443,0x42a)]-0x1;_0x3e8302>=0x0;_0x3e8302--){let _0x3199b5=_0x52271d[_0x3e8302];if(!_0x3199b5||typeof _0x3199b5!=_0x4cb7eb(-0x2a0,-0x2a7,-0x299,-0x27c))continue;let _0x23ff72=_0x3199b5;if(_0x23ff72[_0x4cb7eb(-0x27d,-_0x411237._0xd60eca,-0x27c,-_0x411237._0x1040ee)]===_0x1e7ff5(_0x411237._0xac98e,0x427,_0x411237._0x13acb1,0x44c)){let _0x326616=_0x23ff72[_0x1e7ff5(_0x411237._0x134fe6,_0x411237._0x1b0043,0x3f3,0x43f)];_0x190e19=typeof _0x326616==_0x4cb7eb(-0x266,-_0x411237._0x54f4be,-0x258,-0x244)?_0x326616:'';break;}}let _0x1fad62=_0x206e64?.['__metadata__cli'],_0x5b37dd=_0x1fad62&&_0x1fad62[_0x4cb7eb(-0x269,-_0x411237._0x31b23d,-_0x411237._0x41e49d,-_0x411237._0x29dc35)]>0x0?_0x1fad62[0x0]:null,_0x25c384=_0x5b37dd&&typeof _0x5b37dd==_0x4cb7eb(-0x2a0,-0x28c,-_0x411237._0x51f130,-_0x411237._0x47b920)&&_0x1e7ff5(0x3eb,0x40d,_0x411237._0x258d76,_0x411237._0x2fdfda)in _0x5b37dd?_0x5b37dd[_0x4cb7eb(-0x27e,-0x256,-0x2a5,-0x283)]:void 0x0,_0x16f1d6=new Date(parseInt(_0x15e2be,0xa))[_0x4cb7eb(-0x289,-0x29a,-0x268,-0x25d)]();_0x1fa8c2[_0x4cb7eb(-_0x411237._0x2fe965,-_0x411237._0x4ae4d4,-_0x411237._0x47afa7,-_0x411237._0x5bf623)]({'sessionId':_0x15e2be,'timestamp':_0x16f1d6,'lastMessage':_0x190e19,'messageCount':_0x52271d[_0x4cb7eb(-_0x411237._0x4c591f,-_0x411237._0x1ade2c,-_0x411237._0x5237f3,-0x25a)],'topic':_0x25c384});}catch{}}return j[_0x1e7ff5(0x44a,0x42b,0x41a,0x437)](_0x3477df,{'timestamp':Date['now'](),'data':_0x1fa8c2}),_0x1fa8c2;}finally{b['delete'](_0x3477df);}})());return b[_0x4a052e(0x122,0xf9,_0x4fbef9._0x217864,0xdd)](_0x3477df,_0x44027e),_0x44027e;},H=async _0x717821=>{const _0x2eecc0={_0x5e0b52:0x385,_0x1b9d99:0x3aa,_0x3d8e86:0x3a1},_0x66a762={_0xf4256f:0xaf},_0x4aac35={_0x101810:0x1a2,_0x367374:0xf1};let _0x49d898=_0x717821??String(Date[_0x2b51c0(_0x2eecc0._0x5e0b52,0x3ca,_0x2eecc0._0x1b9d99,0x3c1)]()),_0x1c667c=p(),_0x303cc0=_0x3bce1c['join'](_0x1c667c,_0x49d898);try{await _0x3b1fa8[_0x2b51c0(0x389,0x360,0x37f,_0x2eecc0._0x3d8e86)](_0x303cc0,{'recursive':!0x0});}catch{}function _0x571f7a(_0xca56c,_0x1274e2,_0x49f102,_0x405f05){return _0x43608b(_0xca56c-0x10c,_0xca56c,_0x49f102- -_0x4aac35._0x101810,_0x405f05-_0x4aac35._0x367374);}function _0x2b51c0(_0x2863a7,_0x1447db,_0x1f8d70,_0x47c472){return _0x43608b(_0x2863a7-_0x66a762._0xf4256f,_0x1447db,_0x1f8d70-0x306,_0x47c472-0x1ae);}return{'sessionId':_0x49d898,'sessionDir':_0x303cc0};},C=async _0x1eeb49=>{const _0x533b0b={_0x151d44:0x8f,_0x1f5ef1:0x54,_0x299b0d:0x3b,_0x319c73:0x4b,_0x5daaba:0x3a2,_0x1dc8c6:0x63,_0x120922:0x8d,_0x1d948e:0x58,_0x42f05e:0x52,_0x3a88fb:0x40e,_0x2c42f6:0x439,_0x4a1c1f:0x3e4,_0x107e89:0x42d,_0x502374:0x3f6,_0x129597:0x41d,_0x54f14a:0x406,_0x23c353:0x3dc,_0x3b5f76:0x40c,_0x588546:0x32,_0x185a86:0x6,_0x91b125:0x427,_0x8914f3:0x406,_0x37594c:0x3f4,_0x3f9ee7:0x72,_0x4a0016:0x3eb,_0x5f3ac6:0x3e7},_0x13d98f={_0x19901b:0xe5},_0x4bd2ca={_0x36152c:0x99,_0x10a85a:0x47,_0x2d5bff:0x19};function _0x1ca9ca(_0x302d19,_0xd7377,_0x19678d,_0x2e009d){return _0x43608b(_0x302d19-_0x4bd2ca._0x36152c,_0xd7377,_0x19678d- -_0x4bd2ca._0x10a85a,_0x2e009d-_0x4bd2ca._0x2d5bff);}function _0x6a2db7(_0x6e6344,_0x279fee,_0x3ecf7c,_0x557902){return _0x3cb22f(_0x6e6344-0x6c,_0x279fee- -0x92,_0x3ecf7c-_0x13d98f._0x19901b,_0x557902);}try{let _0x1a020c=await _(_0x1eeb49);if(!_0x1a020c)return{'kind':_0x1ca9ca(0x52,0x82,0x6b,_0x533b0b._0x151d44),'reason':_0x1ca9ca(0x41,_0x533b0b._0x1f5ef1,_0x533b0b._0x299b0d,_0x533b0b._0x319c73)};let _0x55d4cc=_0x1a020c[_0x6a2db7(0x3f9,0x3ce,_0x533b0b._0x5daaba,0x3e3)]||[];if(_0x55d4cc[_0x6a2db7(0x3de,0x406,0x3e7,0x40d)]===0x0)return{'kind':_0x1ca9ca(_0x533b0b._0x1dc8c6,0x67,0x6b,_0x533b0b._0x120922),'reason':_0x1ca9ca(0x26,_0x533b0b._0x1d948e,_0x533b0b._0x42f05e,0x2d)};let {processMessageToUILines:_0x3a394b}=await import(_0x6a2db7(0x3e5,_0x533b0b._0x3a88fb,_0x533b0b._0x2c42f6,_0x533b0b._0x4a1c1f)),_0x2cf956=[];for(let _0x50d4bd of _0x55d4cc)_0x2cf956[_0x6a2db7(_0x533b0b._0x107e89,0x416,_0x533b0b._0x502374,0x3f3)](..._0x3a394b(_0x50d4bd));let _0x386377=null;for(let _0x36cbcb=_0x55d4cc[_0x6a2db7(_0x533b0b._0x129597,_0x533b0b._0x54f14a,_0x533b0b._0x23c353,0x401)]-0x1;_0x36cbcb>=0x0;_0x36cbcb--)if(_0x55d4cc[_0x36cbcb][_0x6a2db7(0x40f,0x3f2,0x402,_0x533b0b._0x3b5f76)]==='assistant'){_0x386377={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0x1ca9ca(_0x533b0b._0x588546,0x3,0x14,_0x533b0b._0x185a86),'lines':_0x2cf956,'metadata':_0x386377,'cliMessages':_0x55d4cc,'count':_0x55d4cc[_0x6a2db7(_0x533b0b._0x91b125,_0x533b0b._0x8914f3,0x42b,_0x533b0b._0x37594c)]};}catch{return{'kind':_0x1ca9ca(0x5e,_0x533b0b._0x3f9ee7,0x6b,0x72),'reason':_0x6a2db7(0x402,_0x533b0b._0x4a0016,_0x533b0b._0x5f3ac6,0x405)};}},K=async _0x345293=>{const _0x5133a6={_0x549264:0x23c,_0xa9782c:0x250},_0x329220={_0x4ec842:0xff,_0x5f12d8:0x18b};function _0x29e01c(_0x4b1b0e,_0x1d02c9,_0x34e3d4,_0x48ba31){return _0x43608b(_0x4b1b0e-_0x329220._0x4ec842,_0x34e3d4,_0x48ba31- -0x2ec,_0x48ba31-_0x329220._0x5f12d8);}let _0x5f4796=p(),_0x12e71b=_0x3bce1c[_0x29e01c(-0x253,-_0x5133a6._0x549264,-0x239,-_0x5133a6._0xa9782c)](_0x5f4796,_0x345293,'history.json');return C(_0x12e71b);},Y=_0x3d498c=>_0x3bce1c[_0x3cb22f(0x4ad,0x497,0x475,0x488)](p(),_0x3d498c),Z=()=>{let [_0x2f5fad,_0x42b87e]=_0x328076([]);return{'availableSessions':_0x2f5fad,'setAvailableSessions':_0x42b87e,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':C,'createNewSession':H};};export{F as a,J as b,H as c,C as d,K as e,Y as f,Z as g};