@nuvin/nuvin-cli 1.12.1 → 1.12.2

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(_0xe373d,_0x1b7600){const _0x3ddc87={_0x22c1d9:0x19f,_0x4e0220:0x1a5,_0xcb6082:0x1bd,_0x5a269f:0x42c,_0x29c39a:0x427,_0x275db6:0x44a,_0x5f3b18:0x440,_0x4e4f7b:0x1b0,_0x41bfbe:0x19c,_0x1b6ace:0x446,_0x5dc5af:0x43f,_0x4aaa0b:0x18e,_0x4374da:0x1cf,_0x317b67:0x1cc,_0x59fee5:0x1cc,_0x271736:0x41b,_0x59d4f6:0x3ff,_0x2000ef:0x418,_0x31bfed:0x40c,_0x353e76:0x3f9,_0x51e001:0x414,_0x1975de:0x199,_0x313eaf:0x1da,_0x46f881:0x1ce},_0x105902={_0x439403:0x27f},_0x2ef065={_0x583a08:0x33a},_0x4e003b=_0xe373d();function _0x106525(_0x393708,_0x5b3a53,_0x35d945,_0xe0fe0e){return _0x4223(_0x5b3a53- -_0x2ef065._0x583a08,_0x35d945);}function _0x6236fc(_0x1f5897,_0x177bc8,_0x3b479f,_0x180268){return _0x4223(_0x1f5897-_0x105902._0x439403,_0x3b479f);}while(!![]){try{const _0x26e2b3=-parseInt(_0x106525(-0x1af,-_0x3ddc87._0x22c1d9,-_0x3ddc87._0x4e0220,-_0x3ddc87._0xcb6082))/0x1+-parseInt(_0x6236fc(_0x3ddc87._0x5a269f,_0x3ddc87._0x29c39a,_0x3ddc87._0x275db6,_0x3ddc87._0x5f3b18))/0x2+parseInt(_0x106525(-_0x3ddc87._0x4e4f7b,-0x196,-_0x3ddc87._0x41bfbe,-0x1b4))/0x3*(parseInt(_0x6236fc(0x434,_0x3ddc87._0x1b6ace,_0x3ddc87._0x5dc5af,0x454))/0x4)+parseInt(_0x106525(-0x184,-_0x3ddc87._0x4aaa0b,-0x17f,-0x184))/0x5*(-parseInt(_0x106525(-_0x3ddc87._0x4374da,-_0x3ddc87._0x317b67,-0x1db,-_0x3ddc87._0x59fee5))/0x6)+parseInt(_0x6236fc(0x421,0x42f,_0x3ddc87._0x271736,_0x3ddc87._0x59d4f6))/0x7+parseInt(_0x6236fc(_0x3ddc87._0x2000ef,_0x3ddc87._0x31bfed,_0x3ddc87._0x353e76,_0x3ddc87._0x51e001))/0x8+-parseInt(_0x106525(-_0x3ddc87._0x1975de,-0x1b7,-0x1b0,-_0x3ddc87._0x313eaf))/0x9*(-parseInt(_0x106525(-0x1d6,-0x1b5,-0x1a6,-_0x3ddc87._0x46f881))/0xa);if(_0x26e2b3===_0x1b7600)break;else _0x4e003b['push'](_0x4e003b['shift']());}catch(_0x13106e){_0x4e003b['push'](_0x4e003b['shift']());}}}(_0xcde9,0x4e1c4));import{useState as _0x59e80f}from'react';import*as _0x4af159 from'fs';function _0x19fef2(_0x5786c6,_0x30c70a,_0x3bd769,_0x2fa547){const _0x2199e5={_0x2edae7:0x22f};return _0x4223(_0x3bd769- -_0x2199e5._0x2edae7,_0x5786c6);}import*as _0x35d055 from'fs/promises';import*as _0x38cc92 from'path';function _0x161967(_0x1a76fb,_0x165d08,_0x59bd68,_0xd5b5f8){const _0x139779={_0xacb816:0x204};return _0x4223(_0x165d08- -_0x139779._0xacb816,_0x59bd68);}import*as _0x11a49e from'os';import*as _0x1255f4 from'fs';import*as _0x3377be from'path';import*as _0x5e911f from'os';function _0x4223(_0x4a3506,_0x1277c2){_0x4a3506=_0x4a3506-0x166;const _0xcde99e=_0xcde9();let _0x422361=_0xcde99e[_0x4a3506];if(_0x4223['cuwUMC']===undefined){var _0x271303=function(_0x1308c0){const _0x1d6976='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x59e80f='',_0x4af159='';for(let _0x35d055=0x0,_0x38cc92,_0x11a49e,_0x1255f4=0x0;_0x11a49e=_0x1308c0['charAt'](_0x1255f4++);~_0x11a49e&&(_0x38cc92=_0x35d055%0x4?_0x38cc92*0x40+_0x11a49e:_0x11a49e,_0x35d055++%0x4)?_0x59e80f+=String['fromCharCode'](0xff&_0x38cc92>>(-0x2*_0x35d055&0x6)):0x0){_0x11a49e=_0x1d6976['indexOf'](_0x11a49e);}for(let _0x3377be=0x0,_0x5e911f=_0x59e80f['length'];_0x3377be<_0x5e911f;_0x3377be++){_0x4af159+='%'+('00'+_0x59e80f['charCodeAt'](_0x3377be)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4af159);};_0x4223['YwidPM']=_0x271303,_0x4223['QnkFhp']={},_0x4223['cuwUMC']=!![];}const _0x3aad74=_0xcde99e[0x0],_0x79a5ae=_0x4a3506+_0x3aad74,_0x3c482a=_0x4223['QnkFhp'][_0x79a5ae];return!_0x3c482a?(_0x422361=_0x4223['YwidPM'](_0x422361),_0x4223['QnkFhp'][_0x79a5ae]=_0x422361):_0x422361=_0x3c482a,_0x422361;}var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x41561d={}){const _0x3a7123={_0x198a58:0x2c7,_0x56ae2e:0x283,_0x4716b1:0x258,_0x3088f9:0x2d3,_0x27a1b9:0x2a8,_0x18dc7e:0x2b3,_0x5ed84b:0x26f,_0x2dd022:0x24f,_0x26296c:0x251,_0x494e7a:0x278,_0x16c9ab:0x292,_0x30d549:0x280,_0x1b2461:0x307,_0x31cdaf:0x2f6,_0x448e8e:0x2e4,_0x2504ea:0x2d3,_0x2db04e:0x2e3,_0x209465:0x2ce,_0x1ffa1a:0x2f1,_0x2a187:0x30c,_0x1a9932:0x2f5,_0x68b975:0x2dd,_0x1c2bfb:0x2af,_0x43c961:0x2ea,_0x1eae72:0x27d,_0x50bf2e:0x277},_0x3029ff={_0x2509b0:0xf2};this[_0x302431(0x2ae,0x2cc,_0x3a7123._0x198a58,0x2df)]=null,this['logDir']=_0x41561d[_0x1c20cd(0x278,_0x3a7123._0x56ae2e,_0x3a7123._0x4716b1,0x283)]||_0x3377be['join'](_0x5e911f[_0x302431(_0x3a7123._0x3088f9,_0x3a7123._0x27a1b9,0x2ca,_0x3a7123._0x18dc7e)](),_0x1c20cd(0x25f,0x263,0x26f,0x264),'logs');let _0x665f74=_0x41561d[_0x302431(0x2bc,0x2dc,0x2bb,0x2e1)]||_0x1c20cd(_0x3a7123._0x5ed84b,_0x3a7123._0x2dd022,_0x3a7123._0x26296c,0x24b);function _0x302431(_0x51d873,_0x2dc47a,_0x4d7dd2,_0xc78d0d){return _0x4223(_0x4d7dd2-0x14c,_0x2dc47a);}function _0x1c20cd(_0x5ef647,_0x2ad87d,_0x4c2859,_0x14a558){return _0x4223(_0x5ef647-_0x3029ff._0x2509b0,_0x4c2859);}this[_0x302431(0x2b1,0x2c1,0x2ce,0x2b0)]=_0x3377be[_0x302431(0x2fc,0x2e4,0x2e9,0x300)](this[_0x1c20cd(_0x3a7123._0x494e7a,_0x3a7123._0x16c9ab,0x295,_0x3a7123._0x30d549)],_0x665f74+'.log'),this['minLevel']=_0x41561d[_0x302431(0x2c1,0x2d3,0x2bc,0x2d6)]||_0x302431(_0x3a7123._0x1b2461,0x2f0,_0x3a7123._0x31cdaf,0x2f9),this[_0x302431(_0x3a7123._0x448e8e,0x2c8,0x2ec,_0x3a7123._0x2504ea)]=_0x41561d['maxFileSize']||0x5*0x400*0x400,this[_0x302431(_0x3a7123._0x2db04e,_0x3a7123._0x209465,_0x3a7123._0x1ffa1a,_0x3a7123._0x2a187)]=_0x41561d[_0x302431(0x2e2,_0x3a7123._0x1a9932,0x2f1,0x306)]||0x3,this['includeTimestamp']=_0x41561d['includeTimestamp']??!0x0,this[_0x302431(_0x3a7123._0x68b975,0x2b1,0x2c4,0x2a3)]=_0x41561d[_0x302431(_0x3a7123._0x1c2bfb,0x29d,0x2c4,_0x3a7123._0x43c961)]??!0x1,this[_0x1c20cd(_0x3a7123._0x30d549,0x295,_0x3a7123._0x1eae72,_0x3a7123._0x50bf2e)]();}[_0x161967(-0x96,-0x76,-0x61,-0x98)](){const _0x2aa9a9={_0x30574f:0x96,_0x33c38b:0x458,_0x22ecf:0x457,_0xac4f0d:0x64,_0xd19f05:0x7c,_0x19efd8:0x477,_0x4a39c1:0x454,_0xdeb95b:0x47b,_0x28664f:0x471,_0x58000d:0x459},_0x4c739a={_0x245604:0x1ad,_0x4d534f:0x1f2};function _0x57bf16(_0x296ac2,_0x5afb49,_0x5c3b50,_0x30de99){return _0x161967(_0x296ac2-_0x4c739a._0x245604,_0x296ac2-0x11,_0x5afb49,_0x30de99-_0x4c739a._0x4d534f);}function _0x45a0fe(_0x326c1f,_0x2a7a7d,_0x4d44d0,_0x4953be){return _0x161967(_0x326c1f-0x1e,_0x4953be-0x4d5,_0x2a7a7d,_0x4953be-0x73);}try{_0x1255f4[_0x57bf16(-0x8a,-_0x2aa9a9._0x30574f,-0x8a,-0xa8)](this[_0x45a0fe(0x46d,0x467,_0x2aa9a9._0x33c38b,_0x2aa9a9._0x22ecf)])||_0x1255f4['mkdirSync'](this[_0x57bf16(-0x6d,-0x78,-_0x2aa9a9._0xac4f0d,-_0x2aa9a9._0xd19f05)],{'recursive':!0x0});}catch(_0x31ed77){console[_0x45a0fe(_0x2aa9a9._0x19efd8,_0x2aa9a9._0x4a39c1,0x483,_0x2aa9a9._0xdeb95b)](_0x45a0fe(_0x2aa9a9._0x28664f,_0x2aa9a9._0x58000d,0x472,0x464)+this['logDir']+':',_0x31ed77);}}[_0x161967(-0x47,-0x65,-0x7c,-0x8d)](){const _0x11aaeb={_0x35184f:0x51a,_0x11d828:0x539,_0x578c6a:0x52e,_0xebaece:0x513,_0xc9b0b:0x552,_0x495033:0x52f,_0x283c80:0x2a0,_0x230257:0x2a3,_0x490f55:0x2a2},_0x50c4e3={_0x48a9b1:0x356},_0x230ed9={_0x56763f:0x5e2,_0x4033fc:0x1b1};function _0x4433df(_0x1580c8,_0x48a35b,_0xb7cd58,_0x466d51){return _0x19fef2(_0xb7cd58,_0x48a35b-0x19e,_0x466d51-_0x230ed9._0x56763f,_0x466d51-_0x230ed9._0x4033fc);}function _0x5a4dd3(_0x190e83,_0x305a5c,_0x17ecfc,_0x47d772){return _0x19fef2(_0x305a5c,_0x305a5c-0x91,_0x190e83-_0x50c4e3._0x48a9b1,_0x47d772-0x10);}return(!this[_0x5a4dd3(0x2a2,0x297,0x2a8,0x2a9)]||this[_0x4433df(_0x11aaeb._0x35184f,_0x11aaeb._0x11d828,0x541,_0x11aaeb._0x578c6a)]['destroyed'])&&(this[_0x4433df(_0x11aaeb._0xebaece,_0x11aaeb._0xc9b0b,_0x11aaeb._0x495033,0x52e)]=_0x1255f4[_0x5a4dd3(0x28e,_0x11aaeb._0x283c80,0x293,_0x11aaeb._0x230257)](this['logFilePath'],{'flags':'w'})),this[_0x5a4dd3(_0x11aaeb._0x490f55,0x29c,0x2a8,0x28f)];}['checkAndRotate'](){const _0x3d7776={_0xd60d81:0x8a,_0xd6e1e0:0x75,_0x1ca178:0x22e,_0x2ce0ba:0x6b,_0x1507dd:0x7b,_0x6954f:0x6f,_0xd4e8ed:0xa1,_0x26b816:0x4b,_0x16f3c3:0x67,_0x44be1a:0x26f,_0x33b7f6:0x24d},_0x55274a={_0x11becf:0x70,_0x3e24fd:0x19c},_0x539516={_0x168a45:0xde,_0x1bbf13:0x32};function _0x362fa6(_0x2fec96,_0x390c10,_0x11164c,_0x211558){return _0x19fef2(_0x2fec96,_0x390c10-_0x539516._0x168a45,_0x390c10-_0x539516._0x1bbf13,_0x211558-0x14b);}function _0x7b36aa(_0x35ffcd,_0x534480,_0x4c77af,_0x3b0af9){return _0x161967(_0x35ffcd-_0x55274a._0x11becf,_0x534480-0x2a7,_0x35ffcd,_0x3b0af9-_0x55274a._0x3e24fd);}try{if(!_0x1255f4['existsSync'](this[_0x362fa6(-_0x3d7776._0xd60d81,-0x7b,-_0x3d7776._0xd6e1e0,-0x76)]))return;_0x1255f4[_0x7b36aa(0x243,0x237,_0x3d7776._0x1ca178,0x245)](this[_0x362fa6(-_0x3d7776._0x2ce0ba,-_0x3d7776._0x1507dd,-_0x3d7776._0x6954f,-0x73)])[_0x362fa6(-0x91,-0x8b,-_0x3d7776._0xd4e8ed,-0x98)]>=this[_0x362fa6(-0x5a,-0x5d,-_0x3d7776._0x26b816,-_0x3d7776._0x16f3c3)]&&this['rotateLogFiles']();}catch(_0x563a9f){console[_0x7b36aa(_0x3d7776._0x44be1a,_0x3d7776._0x33b7f6,0x26f,0x258)]('Error\x20checking\x20log\x20file\x20size:',_0x563a9f);}}[_0x19fef2(-0x8e,-0xa3,-0x97,-0x8f)](){const _0x12e6e7={_0x1cd126:0x426,_0x58b46d:0x429,_0x541721:0x43e,_0x475aa2:0x42c,_0x1fd5ff:0x429,_0x1e78c9:0x416,_0x1c9e40:0x431,_0x14118e:0x421,_0x44f6a3:0x430,_0x49ea04:0xe6,_0x153569:0xf8,_0x4c4d2c:0xd3,_0xce8ad0:0xe2,_0x1d227b:0x3fd,_0x41183b:0x3f1,_0x290780:0xc2,_0x28ed1b:0x10f,_0x1eb084:0x102,_0x4f6953:0x451,_0x5be96f:0x46b,_0x5ad7a2:0x45e},_0x3ffdbf={_0x30c5b9:0x74,_0x2f90e3:0x17b},_0x9ea88a={_0x2f7a40:0x88};function _0x48d94d(_0x41e6a3,_0x116d91,_0x1e104a,_0x1fb16b){return _0x19fef2(_0x1e104a,_0x116d91-0x14,_0x1fb16b-0x4dd,_0x1fb16b-_0x9ea88a._0x2f7a40);}function _0x5e93e7(_0x5c5ca5,_0x483e58,_0x233871,_0x59151f){return _0x161967(_0x5c5ca5-0xc1,_0x483e58- -_0x3ffdbf._0x30c5b9,_0x5c5ca5,_0x59151f-_0x3ffdbf._0x2f90e3);}try{this[_0x48d94d(0x430,0x44a,_0x12e6e7._0x1cd126,_0x12e6e7._0x58b46d)]&&(this[_0x48d94d(0x439,_0x12e6e7._0x541721,_0x12e6e7._0x475aa2,_0x12e6e7._0x1fd5ff)][_0x48d94d(_0x12e6e7._0x1e78c9,_0x12e6e7._0x1cd126,0x417,0x42d)](),this['writeStream']=null);let _0x5f0b1b=this[_0x48d94d(0x445,_0x12e6e7._0x1c9e40,_0x12e6e7._0x14118e,_0x12e6e7._0x44f6a3)],_0x3af3dc=_0x5f0b1b+'.'+this['maxFiles'];_0x1255f4['existsSync'](_0x3af3dc)&&_0x1255f4[_0x5e93e7(-0xe6,-0xfe,-_0x12e6e7._0x49ea04,-0x11d)](_0x3af3dc);for(let _0x19f648=this[_0x5e93e7(-_0x12e6e7._0x153569,-_0x12e6e7._0x4c4d2c,-0xd3,-_0x12e6e7._0xce8ad0)]-0x1;_0x19f648>=0x1;_0x19f648--){let _0x35d368=_0x5f0b1b+'.'+_0x19f648,_0x447a0e=_0x5f0b1b+'.'+(_0x19f648+0x1);_0x1255f4[_0x48d94d(_0x12e6e7._0x1e78c9,_0x12e6e7._0x1d227b,_0x12e6e7._0x41183b,0x417)](_0x35d368)&&_0x1255f4[_0x5e93e7(-0xbd,-0xc8,-0xcf,-_0x12e6e7._0x290780)](_0x35d368,_0x447a0e);}_0x1255f4[_0x5e93e7(-0x10b,-_0x12e6e7._0x28ed1b,-_0x12e6e7._0x1eb084,-0x119)](_0x5f0b1b)&&_0x1255f4[_0x48d94d(0x472,_0x12e6e7._0x4f6953,_0x12e6e7._0x5be96f,_0x12e6e7._0x5ad7a2)](_0x5f0b1b,_0x5f0b1b+'.1');}catch(_0x4c0944){console[_0x48d94d(0x44e,0x43e,0x451,0x458)]('Error\x20rotating\x20log\x20files:',_0x4c0944);}}[_0x19fef2(-0xd3,-0x94,-0xba,-0xa9)](_0x51f0ec,_0x220c2c,_0x30fed6){const _0x24d638={_0x30fb8c:0x171,_0x11cc23:0x163,_0x5973bb:0x168,_0x4d61b5:0x1a7,_0x26ee93:0x1a5,_0x579cc6:0x1c6,_0x1b955a:0x1e6,_0x1840d4:0x19c,_0x28e21e:0x18c,_0xe366e8:0x1a2,_0x747cab:0x177,_0x271ecc:0x197,_0x255929:0x195},_0x24a0e3={_0x2c5173:0x19d};function _0x45a0e2(_0x3e71c1,_0x3dfb41,_0x3ac63e,_0x438e44){return _0x161967(_0x3e71c1-0x7c,_0x3e71c1-0x1d6,_0x438e44,_0x438e44-0xb0);}function _0x19db60(_0x1b6b2e,_0x58f5b5,_0x9974dd,_0x5ebe9e){return _0x161967(_0x1b6b2e-0x1ec,_0x5ebe9e- -0x12e,_0x58f5b5,_0x5ebe9e-_0x24a0e3._0x2c5173);}let _0x111d84=[];if(this[_0x19db60(-0x162,-_0x24d638._0x30fb8c,-_0x24d638._0x11cc23,-0x17e)]&&_0x111d84[_0x45a0e2(_0x24d638._0x5973bb,0x142,0x147,0x162)]('['+new Date()[_0x19db60(-0x1aa,-_0x24d638._0x4d61b5,-_0x24d638._0x26ee93,-0x198)]()+']'),_0x111d84['push']('['+_0x51f0ec[_0x19db60(-0x1a2,-_0x24d638._0x579cc6,-_0x24d638._0x1b955a,-0x1be)]()+']'),_0x111d84[_0x19db60(-0x1ae,-0x182,-0x1ab,-_0x24d638._0x1840d4)](_0x220c2c),_0x30fed6!==void 0x0)try{_0x111d84[_0x19db60(-0x195,-0x19f,-0x1c4,-_0x24d638._0x1840d4)](JSON[_0x19db60(-_0x24d638._0x28e21e,-0x19a,-_0x24d638._0xe366e8,-0x17f)](_0x30fed6,null,0x2));}catch{_0x111d84[_0x45a0e2(0x168,_0x24d638._0x747cab,0x160,0x148)](String(_0x30fed6));}return _0x111d84[_0x19db60(-_0x24d638._0x271ecc,-0x170,-0x1a1,-_0x24d638._0x255929)]('\x20');}[_0x161967(-0x36,-0x59,-0x43,-0x79)](_0x2ff896){const _0x375c7e={_0x24b020:0xca},_0x28f857={_0x48196a:0x96,_0x59831f:0x168};function _0x5a3939(_0x4a83c9,_0x5bda1b,_0x4a1e2a,_0x3063eb){return _0x19fef2(_0x4a83c9,_0x5bda1b-_0x28f857._0x48196a,_0x4a1e2a-_0x28f857._0x59831f,_0x3063eb-0xe2);}return T[_0x2ff896]>=T[this[_0x5a3939(_0x375c7e._0x24b020,0xc5,0xa9,0xa8)]];}[_0x19fef2(-0xc5,-0xb1,-0xbc,-0x97)](_0x21ee42,_0x4d4d44,_0x5d8253){const _0x5af338={_0x43386c:0x22d,_0x2c763d:0x23d,_0x53e2db:0x23e,_0xd66560:0x1c5,_0x41f0d0:0x1e0,_0x56c556:0x1a3,_0x2bc5fb:0x205,_0x114033:0x20b,_0x4ee73a:0x207,_0x321f70:0x23c,_0x50ef61:0x25f,_0x52bbe6:0x1dd,_0x20fa10:0x1bb,_0x555080:0x20c,_0x1794b7:0x22c,_0x1d260d:0x206,_0x4cb4dd:0x251,_0xb03117:0x1f4,_0x23a505:0x20c},_0x277982={_0x54f8a1:0x1dc,_0x1516d7:0x296,_0x5022ca:0x35},_0x1b8e88={_0x41f74a:0x88,_0x92dbf2:0x160,_0x3d52fb:0x12d};function _0x17fe8e(_0x27b695,_0x279035,_0x2d4bc7,_0x1f0dd2){return _0x161967(_0x27b695-_0x1b8e88._0x41f74a,_0x279035- -_0x1b8e88._0x92dbf2,_0x27b695,_0x1f0dd2-_0x1b8e88._0x3d52fb);}function _0x2baee7(_0x143250,_0x4bf51d,_0xb87bf6,_0x51aadd){return _0x161967(_0x143250-_0x277982._0x54f8a1,_0x4bf51d-_0x277982._0x1516d7,_0x143250,_0x51aadd-_0x277982._0x5022ca);}if(!this[_0x2baee7(_0x5af338._0x43386c,_0x5af338._0x2c763d,_0x5af338._0x53e2db,0x257)](_0x21ee42))return;let _0x2cd4e8=this['formatMessage'](_0x21ee42,_0x4d4d44,_0x5d8253);this['checkAndRotate']();try{this[_0x17fe8e(-0x1d5,-_0x5af338._0xd66560,-_0x5af338._0x41f0d0,-_0x5af338._0x56c556)]()[_0x2baee7(0x1e5,_0x5af338._0x2bc5fb,_0x5af338._0x114033,_0x5af338._0x4ee73a)](_0x2cd4e8+'\x0a');}catch(_0x179c4f){console[_0x2baee7(0x230,_0x5af338._0x321f70,_0x5af338._0x50ef61,0x217)](_0x17fe8e(-0x1bb,-_0x5af338._0x52bbe6,-_0x5af338._0x20fa10,-0x1e2),_0x179c4f);}this[_0x2baee7(_0x5af338._0x555080,0x20a,_0x5af338._0x1794b7,_0x5af338._0x1d260d)]&&(_0x21ee42===_0x2baee7(_0x5af338._0x43386c,0x23c,_0x5af338._0x4cb4dd,0x222)?console[_0x2baee7(0x22a,_0x5af338._0x321f70,0x22d,0x22c)]:_0x21ee42==='warn'?console[_0x2baee7(_0x5af338._0xb03117,0x216,0x20b,0x22f)]:console[_0x2baee7(0x228,0x21e,0x237,_0x5af338._0x23a505)])(_0x2cd4e8);}[_0x19fef2(-0x81,-0xa6,-0x7e,-0x99)](_0xf19792,_0x1c52c2){this['write']('debug',_0xf19792,_0x1c52c2);}['info'](_0x5994cf,_0x2e022c){const _0x16d7a9={_0x461526:0xa9,_0x37d8ce:0xcb},_0x2a39e6={_0x5c2dfa:0x32};function _0x426b43(_0x2cc5b3,_0x3a1874,_0x15ba89,_0x1025ba){return _0x161967(_0x2cc5b3-0x1c8,_0x3a1874-0x15c,_0x15ba89,_0x1025ba-_0x2a39e6._0x5c2dfa);}this[_0x426b43(_0x16d7a9._0x461526,_0x16d7a9._0x37d8ce,0xc7,0xa6)]('info',_0x5994cf,_0x2e022c);}['warn'](_0xa443c4,_0x2b6339){const _0x523a45={_0x4396a8:0x270,_0x104b66:0x2f2,_0x4546f9:0x2f6},_0x1d0e11={_0x3fb624:0x324,_0x5490c7:0xcd},_0x38e767={_0x2a9a3c:0x1c0,_0x39e8bc:0x37a};function _0x31508d(_0x14d7fb,_0x51ba5f,_0x8584dc,_0x35f5cf){return _0x19fef2(_0x51ba5f,_0x51ba5f-_0x38e767._0x2a9a3c,_0x35f5cf-_0x38e767._0x39e8bc,_0x35f5cf-0x15f);}function _0x2aba7f(_0x1ff3a6,_0x31a4f1,_0x38f765,_0x29304b){return _0x19fef2(_0x29304b,_0x31a4f1-0xbf,_0x31a4f1-_0x1d0e11._0x3fb624,_0x29304b-_0x1d0e11._0x5490c7);}this[_0x2aba7f(_0x523a45._0x4396a8,0x268,0x26e,0x283)](_0x31508d(_0x523a45._0x104b66,_0x523a45._0x4546f9,0x2bb,0x2cf),_0xa443c4,_0x2b6339);}[_0x161967(-0x5a,-0x5a,-0x7b,-0x7d)](_0x4aa906,_0x3118d8){const _0x107761={_0x25472a:0xff,_0x156d6b:0x107,_0x1dcb46:0x4ad},_0x2fcaef={_0x1479ae:0x507,_0x52a104:0x8b},_0x1adbce={_0x500eb8:0xb6,_0x240778:0x1bb};function _0x266104(_0x23dc6e,_0x3da7a2,_0x473f6c,_0x557ade){return _0x19fef2(_0x23dc6e,_0x3da7a2-_0x1adbce._0x500eb8,_0x473f6c-_0x1adbce._0x240778,_0x557ade-0x191);}function _0x210f7b(_0x1bb116,_0x5ab4f3,_0x3cb955,_0x2a6374){return _0x161967(_0x1bb116-0x108,_0x5ab4f3-_0x2fcaef._0x1479ae,_0x2a6374,_0x2a6374-_0x2fcaef._0x52a104);}this[_0x266104(0x109,0xf2,_0x107761._0x25472a,_0x107761._0x156d6b)](_0x210f7b(0x499,_0x107761._0x1dcb46,0x4b6,0x4a4),_0x4aa906,_0x3118d8);}[_0x19fef2(-0xbd,-0xba,-0x9a,-0x7b)](){const _0x103f38={_0x1afa0e:0x65,_0x2ffd2d:0x81,_0x480f4a:0x85,_0x3bd847:0x91,_0x4f130f:0x66,_0x2f2422:0x8b,_0x1c04c2:0x87,_0x3d6cef:0x5e,_0x18fe27:0x90},_0x502f8a={_0x222475:0x1d1},_0x8d80f1={_0x41b716:0x1c};function _0x57d24d(_0x1f88fe,_0x40a8e6,_0x4bdea8,_0x2287bc){return _0x19fef2(_0x1f88fe,_0x40a8e6-_0x8d80f1._0x41b716,_0x40a8e6-0x4a,_0x2287bc-0xec);}function _0x40ac54(_0x23ccb7,_0x53cf20,_0x1885f5,_0x5b7fdf){return _0x19fef2(_0x1885f5,_0x53cf20-0xf7,_0x5b7fdf-0x225,_0x5b7fdf-_0x502f8a._0x222475);}this[_0x57d24d(-_0x103f38._0x1afa0e,-0x6a,-_0x103f38._0x2ffd2d,-_0x103f38._0x480f4a)]&&(this[_0x57d24d(-_0x103f38._0x3bd847,-0x6a,-0x72,-0x8b)][_0x57d24d(-0x8d,-_0x103f38._0x4f130f,-_0x103f38._0x2f2422,-_0x103f38._0x1c04c2)](),this[_0x57d24d(-0x6d,-0x6a,-_0x103f38._0x3d6cef,-_0x103f38._0x18fe27)]=null);}[_0x161967(-0x60,-0x7c,-0x75,-0x68)](){const _0x119de7={_0x2f5d7c:0x45},_0x473aff={_0x4d2f87:0xf0,_0x27654d:0xca};function _0x718c5a(_0xb01b32,_0x137dce,_0x581d71,_0x51f21e){return _0x19fef2(_0xb01b32,_0x137dce-_0x473aff._0x4d2f87,_0x581d71-0x7c,_0x51f21e-_0x473aff._0x27654d);}return this[_0x718c5a(-0x43,-0x40,-0x31,-_0x119de7._0x2f5d7c)];}[_0x161967(-0x59,-0x61,-0x4b,-0x83)](){const _0x3bdb07={_0x4272e1:0x8c,_0x2eaab9:0x94,_0x206cba:0x92,_0x3467fc:0x8f,_0x11b4cf:0x73,_0x168acc:0x91,_0x39b598:0x77,_0x2397e3:0x82,_0x493c4b:0x548,_0x12ba58:0x6d,_0xcd7c6b:0x5f,_0x43275d:0x583,_0x5679bb:0x56b},_0x1b84ad={_0x3c36dc:0x28,_0x82cd1b:0x60f,_0x42b7f9:0x57},_0x2e4b76={_0x422e4b:0x6a,_0x55b14d:0x101};function _0x2ad280(_0x219d00,_0x421677,_0x5b7f89,_0x307e6f){return _0x161967(_0x219d00-_0x2e4b76._0x422e4b,_0x307e6f-_0x2e4b76._0x55b14d,_0x5b7f89,_0x307e6f-0x6e);}function _0x59e753(_0x9dcb90,_0x5e9a36,_0x3b3359,_0xb29895){return _0x19fef2(_0x5e9a36,_0x5e9a36-_0x1b84ad._0x3c36dc,_0xb29895-_0x1b84ad._0x82cd1b,_0xb29895-_0x1b84ad._0x42b7f9);}try{this[_0x2ad280(_0x3bdb07._0x4272e1,_0x3bdb07._0x2eaab9,0xb7,_0x3bdb07._0x206cba)](),_0x1255f4['existsSync'](this['logFilePath'])&&_0x1255f4[_0x2ad280(_0x3bdb07._0x3467fc,_0x3bdb07._0x11b4cf,_0x3bdb07._0x168acc,_0x3bdb07._0x39b598)](this[_0x2ad280(_0x3bdb07._0x2397e3,0x71,0x6d,0x7f)]);for(let _0x52d4a2=0x1;_0x52d4a2<=this['maxFiles'];_0x52d4a2++){let _0x5e991d=this[_0x2ad280(0x8b,0x68,0x8a,0x7f)]+'.'+_0x52d4a2;_0x1255f4[_0x59e753(0x56a,_0x3bdb07._0x493c4b,0x53f,0x549)](_0x5e991d)&&_0x1255f4[_0x2ad280(_0x3bdb07._0x12ba58,_0x3bdb07._0xcd7c6b,0x6b,_0x3bdb07._0x39b598)](_0x5e991d);}}catch(_0x23774b){console[_0x2ad280(0xab,0x90,0x99,0xa7)](_0x59e753(0x558,_0x3bdb07._0x43275d,0x55c,_0x3bdb07._0x5679bb),_0x23774b);}}},L=null;function F(_0x271e32){const _0x410153={_0x343b9a:0x4b,_0x3aa639:0x2c,_0x32d2d2:0x14},_0x5aa8a2={_0x3453f0:0x2e,_0x1940f7:0x1cb};function _0x114cb2(_0x2c4f1a,_0xacc463,_0x2e5dbc,_0x37c65f){return _0x161967(_0x2c4f1a-0x1a8,_0xacc463-_0x5aa8a2._0x3453f0,_0x37c65f,_0x37c65f-_0x5aa8a2._0x1940f7);}return L||(L=new x({'logDir':'.','minLevel':_0x114cb2(-_0x410153._0x343b9a,-_0x410153._0x3aa639,-_0x410153._0x32d2d2,-0xf),..._0x271e32})),L;}var V=F();function p(){const _0x24c2a4={_0x59cc2a:0x33c,_0x3d4112:0x31d,_0x137e0c:0x432,_0x283248:0x40a},_0x5224a8={_0x2d1a00:0xe3},_0x1cf640={_0x134334:0x4cc,_0x593711:0x18};function _0x5ade7f(_0x17307e,_0x4f15a3,_0x59338e,_0x2e7e4e){return _0x19fef2(_0x4f15a3,_0x4f15a3-0x98,_0x59338e-_0x1cf640._0x134334,_0x2e7e4e-_0x1cf640._0x593711);}function _0x265307(_0x5f1b85,_0x63bd25,_0x37a80a,_0x5dd9ec){return _0x19fef2(_0x63bd25,_0x63bd25-_0x5224a8._0x2d1a00,_0x5f1b85-0x3ce,_0x5dd9ec-0x14f);}return _0x38cc92[_0x265307(_0x24c2a4._0x59cc2a,0x331,0x35c,0x316)](_0x11a49e[_0x265307(_0x24c2a4._0x3d4112,0x310,0x331,0x315)](),_0x5ade7f(0x3f6,_0x24c2a4._0x137e0c,_0x24c2a4._0x283248,0x419),_0x5ade7f(0x450,0x469,0x443,0x45f));}function _0xcde9(){const _0x301ca8=['rMfPBgvKihrVignYzwf0zsbSB2CGzgLYzwn0B3j5igf0ia','C3rHDfn5BMm','y2XVC2u','ChvZAa','BM9FBwvZC2fNzxm','CM90yxrLtg9NrMLSzxm','mtK1mZy4u2TiD0zM','Dg9ju09tDhjPBMC','ndC2otuWAwjhqxn4','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','AM9PBG','Dg9WAwm','z2v0v3jPDgvtDhjLyw0','Bwf4rMLSzvnPEMu','CM9Szq','mZiWmJaXmgTdC3fJwa','y2XLyxjmB2DZ','mZaZzLblAvzy','Bwf4rMLSzxm','C2vZC2LVBNm','BMfTzq','y2XP','C29YDa','zxjYB3i','C2HVDwXKtg9N','nJy5mty1z21fBMvo','mtiXmJGZmermDhPfEq','BwvZC2fNzxm','tM8GBwvZC2fNzxm','CMvUyw1Lu3LUyW','zgvIDwC','y29Kzq','C3rYAw5NAwz5','Aw5JBhvKzvrPBwvZDgfTCa','mJi4odrWqxPIBK0','C2v0','y3jLyxrLv3jPDgvtDhjLyw0','BM90x2zVDw5K','zxHPC3rZu3LUyW','DxnLCG','Dg9mB2nHBgvtDhjPBMC','ru5pru5u','lM51DMLUlwnSAq','mtH0ufbvyxq','Bg9NrMLSzu5HBwu','BwLUtgv2zwW','C3rYAw5N','C2L6zq','D3jPDgu','Dg9vChbLCKnHC2u','zM9YBwf0twvZC2fNzq','z2v0','BM93','Bg9Nvg9dB25ZB2XL','AxneAxjLy3rVCNK','Dw5SAw5Ru3LUyW','D3jPDgvtDhjLyw0','B2jQzwn0','BNv2Aw4','Ag9TzwrPCG','zw5K','x19TzxrHzgf0yv9Fy2XP','y29UDgvUDa','Bg9NrMLSzvbHDgG','nJCWnJe4ogTmEMrpzW','D2fYBG','mtb4u2Plrfi','Bg9NrgLY','rxjYB3iGD3jPDgLUzYb0BYbSB2CGzMLSztO','z2v0tg9NrMLSzvbHDgG','DgLTzxn0yw1W','yxnZAxn0yw50','rxjYB3iGy2XLyxjPBMCGBg9NigzPBgvZoG','Bg9N','BwfW','zw5ZDxjLtg9NrgLYzwn0B3j5','q2fJAguGAgL0oG','BgvUz3rO','BwTKAxi','zw1WDhK'];_0xcde9=function(){return _0x301ca8;};return _0xcde9();}async function I(_0x325a41){const _0x27099c={_0x135a70:0xc,_0x2c05f9:0x1c},_0x431314={_0x53776b:0x119},_0x79ac74={_0x1f9a7d:0x1e4,_0x52f961:0x6e,_0x491086:0x15f};function _0x54ec4e(_0x2340b6,_0x72343e,_0x113919,_0x37e0df){return _0x161967(_0x2340b6-_0x79ac74._0x1f9a7d,_0x37e0df-_0x79ac74._0x52f961,_0x113919,_0x37e0df-_0x79ac74._0x491086);}function _0x3a7b9b(_0x4c4754,_0x126179,_0x28f685,_0x5201e6){return _0x19fef2(_0x28f685,_0x126179-_0x431314._0x53776b,_0x4c4754- -0x93,_0x5201e6-0xed);}try{let _0x38a55a=await _0x35d055['readFile'](_0x325a41,'utf-8');if(!_0x38a55a||!_0x38a55a['trim']())return null;let _0x3c973c=JSON['parse'](_0x38a55a);return _0x3c973c??null;}catch(_0x2471f1){if(_0x2471f1?.[_0x54ec4e(0x3f,0x9,-_0x27099c._0x135a70,_0x27099c._0x2c05f9)]===_0x54ec4e(-0x42,-0x48,-0x31,-0x2a))return null;throw _0x2471f1;}}var j=new Map(),A=0x2710,k=new Map(),W=F(),J=async _0x303584=>{const _0x40f869={_0x3dbd0f:0xac,_0x190e52:0x8d,_0x5776ca:0xc6,_0x495730:0xa5,_0x571cf3:0x6a,_0xc3509c:0x389,_0x3aa580:0x384},_0x3d1c66={_0x29c615:0x1cd},_0x400e31={_0x246bde:0x1f8,_0x35c3da:0x206,_0x4d9ea7:0x4f6,_0x361eff:0x506,_0x2f2690:0x506,_0x44fd36:0x4f5,_0x19d7de:0x511,_0x5329a2:0x4e1,_0x5dc5c2:0x526,_0x21e40a:0x505,_0x5e37f0:0x4fa,_0x574c71:0x510,_0xd7aa54:0x193,_0x54c26f:0x1a2,_0x1c1a55:0x509,_0x184658:0x1d8,_0x29b9fd:0x1c5,_0x5d4371:0x1f6,_0x4019e8:0x1cc,_0x114a98:0x1b0,_0x3c3fd1:0x18a,_0x228a8b:0x1f8,_0x169f75:0x1da,_0x15d683:0x1d0,_0x2f6210:0x1f0,_0x572ab3:0x508,_0x31d6b3:0x4e5,_0x161e15:0x4e3,_0x4c7e4f:0x4e1,_0xff854d:0x1b3,_0x549dc1:0x1b5,_0x23e85d:0x18e,_0x1370d4:0x1e2,_0x2f2886:0x1c0,_0x48fc4e:0x1b9,_0x2319e4:0x1c1,_0x3ab9a9:0x1eb},_0x1ef795={_0x12e683:0xeb},_0x3c5ae8={_0x5a82a8:0x10a,_0x5e9c21:0xe6};function _0x284c14(_0x4e8597,_0x54c259,_0x49a5ce,_0x24d64e){return _0x19fef2(_0x49a5ce,_0x54c259-0x158,_0x24d64e-0x145,_0x24d64e-0x66);}let _0x32c92d=j['get'](_0x303584);if(_0x32c92d&&Date[_0x284c14(0xb0,0x8f,_0x40f869._0x3dbd0f,_0x40f869._0x190e52)]()-_0x32c92d[_0x284c14(0x82,0x87,0x98,0x9f)]<A)return W['info'](_0x284c14(_0x40f869._0x5776ca,0xc8,0x93,_0x40f869._0x495730),_0x303584),_0x32c92d['data'];let _0x32db19=k[_0x284c14(_0x40f869._0x571cf3,0xa9,0xa9,0x8c)](_0x303584);if(_0x32db19)return _0x32db19;let _0xee160b=((async()=>{function _0x37584b(_0x21499b,_0x22d8d6,_0x365c1c,_0x45b814){return _0x284c14(_0x21499b-_0x3c5ae8._0x5a82a8,_0x22d8d6-_0x3c5ae8._0x5e9c21,_0x22d8d6,_0x365c1c- -0x267);}function _0x1d85cf(_0x49caa7,_0x1878d7,_0x45e7d9,_0x2a92bd){return _0x577438(_0x49caa7-0x1e3,_0x1878d7-_0x1ef795._0x12e683,_0x1878d7-0x142,_0x2a92bd);}try{let _0x5e76a8=p();if(!_0x4af159[_0x37584b(-0x1c4,-_0x400e31._0x246bde,-0x1e8,-_0x400e31._0x35c3da)](_0x5e76a8))return[];let _0x531ab6=(await _0x35d055['readdir'](_0x5e76a8,{'withFileTypes':!0x0}))['filter'](_0x50eaea=>_0x50eaea[_0x1d85cf(0x4f4,0x4de,0x4fc,0x4fd)]())[_0x1d85cf(_0x400e31._0x4d9ea7,0x4f2,0x4cd,0x513)](_0x47b759=>_0x47b759[_0x1d85cf(0x4f4,0x50c,0x534,0x4f6)]);_0x531ab6[_0x1d85cf(_0x400e31._0x361eff,0x50e,0x4fd,0x512)]((_0x19ff13,_0x49bfcc)=>parseInt(_0x49bfcc,0xa)-parseInt(_0x19ff13,0xa));let _0x4baa21=[];for(let _0x1b5517 of _0x531ab6){if(_0x303584&&_0x4baa21[_0x1d85cf(_0x400e31._0x2f2690,_0x400e31._0x44fd36,0x513,_0x400e31._0x19d7de)]>=_0x303584)break;let _0x5545ec=_0x38cc92[_0x1d85cf(_0x400e31._0x5329a2,0x502,_0x400e31._0x5dc5c2,0x520)](_0x5e76a8,_0x1b5517,'history.json');try{let _0x2705b3=await I(_0x5545ec);if(!_0x2705b3)continue;let _0x14bf7d=_0x2705b3?.[_0x1d85cf(_0x400e31._0x21e40a,0x50d,_0x400e31._0x5e37f0,0x52e)]??[];if(_0x14bf7d[_0x1d85cf(0x4e6,_0x400e31._0x44fd36,_0x400e31._0x574c71,0x50d)]===0x0)continue;let _0x308fab=_0x37584b(-0x181,-_0x400e31._0xd7aa54,-_0x400e31._0x54c26f,-0x1a9);for(let _0x3e21c8=_0x14bf7d[_0x1d85cf(0x514,0x4f5,_0x400e31._0x361eff,_0x400e31._0x1c1a55)]-0x1;_0x3e21c8>=0x0;_0x3e21c8--){let _0x273b66=_0x14bf7d[_0x3e21c8];if(!_0x273b66||typeof _0x273b66!=_0x37584b(-_0x400e31._0x184658,-_0x400e31._0x29b9fd,-0x1d5,-_0x400e31._0x5d4371))continue;let _0x556515=_0x273b66;if(_0x556515[_0x37584b(-_0x400e31._0x4019e8,-0x18f,-_0x400e31._0x114a98,-_0x400e31._0x3c3fd1)]===_0x37584b(-_0x400e31._0x228a8b,-0x1de,-0x1e7,-0x1c5)){let _0x21f69b=_0x556515[_0x37584b(-0x1f2,-_0x400e31._0x169f75,-_0x400e31._0x15d683,-0x1c2)];_0x308fab=typeof _0x21f69b==_0x37584b(-_0x400e31._0x2f6210,-_0x400e31._0x2f6210,-0x1e0,-_0x400e31._0x5d4371)?_0x21f69b:'';break;}}let _0x2c2777=_0x2705b3?.[_0x1d85cf(_0x400e31._0x572ab3,_0x400e31._0x31d6b3,0x4be,_0x400e31._0x161e15)],_0x51ea2d=_0x2c2777&&_0x2c2777['length']>0x0?_0x2c2777[0x0]:null,_0x425c88=_0x51ea2d&&typeof _0x51ea2d==_0x1d85cf(0x508,_0x400e31._0x4c7e4f,0x4ff,0x4c7)&&_0x37584b(-0x19a,-0x1d1,-_0x400e31._0xff854d,-0x192)in _0x51ea2d?_0x51ea2d[_0x37584b(-0x198,-_0x400e31._0x549dc1,-_0x400e31._0xff854d,-_0x400e31._0x23e85d)]:void 0x0,_0x321569=new Date(parseInt(_0x1b5517,0xa))[_0x1d85cf(0x4bc,0x4d0,0x4ce,0x4ba)]();_0x4baa21[_0x37584b(-_0x400e31._0x1370d4,-0x19c,-0x1bb,-0x1a0)]({'sessionId':_0x1b5517,'timestamp':_0x321569,'lastMessage':_0x308fab,'messageCount':_0x14bf7d[_0x37584b(-_0x400e31._0x2f2886,-_0x400e31._0x48fc4e,-_0x400e31._0x2319e4,-0x1c8)],'topic':_0x425c88});}catch{}}return j[_0x37584b(-0x1e9,-0x211,-_0x400e31._0x3ab9a9,-0x1d1)](_0x303584,{'timestamp':Date['now'](),'data':_0x4baa21}),_0x4baa21;}finally{k['delete'](_0x303584);}})());function _0x577438(_0x48d355,_0x416dac,_0x26dcd5,_0x5c0403){return _0x161967(_0x48d355-0x1a0,_0x26dcd5-0x427,_0x5c0403,_0x5c0403-_0x3d1c66._0x29c615);}return k[_0x577438(0x38c,0x3a6,_0x40f869._0xc3509c,_0x40f869._0x3aa580)](_0x303584,_0xee160b),_0xee160b;},H=async _0x4a0825=>{const _0x245e7a={_0x9e7f3f:0x247,_0xaad666:0x27a,_0x4fd1f9:0x4f2,_0x231360:0x50f,_0x32c544:0x4e9},_0x1aa4c9={_0x6b6d3:0x2e6,_0x1709e3:0x190};let _0x52d299=_0x4a0825??String(Date[_0x512604(_0x245e7a._0x9e7f3f,_0x245e7a._0xaad666,0x23c,0x259)]()),_0x5b0fa0=p(),_0x281779=_0x38cc92['join'](_0x5b0fa0,_0x52d299);function _0x512604(_0x18c602,_0x2f4b89,_0x21a925,_0x1fcdcd){return _0x161967(_0x18c602-0x3c,_0x1fcdcd-_0x1aa4c9._0x6b6d3,_0x2f4b89,_0x1fcdcd-_0x1aa4c9._0x1709e3);}try{await _0x35d055[_0x26cf41(_0x245e7a._0x4fd1f9,_0x245e7a._0x231360,0x507,_0x245e7a._0x32c544)](_0x281779,{'recursive':!0x0});}catch{}function _0x26cf41(_0x531b2a,_0x28ede5,_0x5808bd,_0x153200){return _0x19fef2(_0x531b2a,_0x28ede5-0x5a,_0x5808bd-0x5a5,_0x153200-0xf5);}return{'sessionId':_0x52d299,'sessionDir':_0x281779};},_=async _0x5c3d2c=>{const _0x1a4122={_0x390b87:0x358,_0x3ebc55:0x427,_0x144a22:0x42d,_0x34b9b5:0x357,_0x1a1e0f:0x37a,_0x4709f1:0x372,_0xf8796e:0x378,_0x29bfbf:0x482,_0x700e97:0x449,_0xa255e0:0x459,_0x9ad54b:0x451,_0x2f5517:0x494,_0x5b31a1:0x45c,_0x57bb65:0x471,_0x4bc57a:0x461,_0x2758b5:0x45f,_0x376747:0x350,_0x3b47c2:0x357,_0x496b0b:0x332},_0x577dd4={_0x4f53bd:0x4d3},_0x2181d5={_0x53192d:0xfa,_0x1a2e1e:0x3ce,_0x92d579:0xb3};function _0x4f142e(_0x379b93,_0x210eaf,_0xd9b4d5,_0x3b4d84){return _0x161967(_0x379b93-_0x2181d5._0x53192d,_0x3b4d84-_0x2181d5._0x1a2e1e,_0xd9b4d5,_0x3b4d84-_0x2181d5._0x92d579);}function _0x16e7dc(_0x135c52,_0x246ca4,_0xb02721,_0xfd619c){return _0x161967(_0x135c52-0x9c,_0xb02721-_0x577dd4._0x4f53bd,_0x135c52,_0xfd619c-0xae);}try{let _0x1501e6=await I(_0x5c3d2c);if(!_0x1501e6)return{'kind':_0x4f142e(_0x1a4122._0x390b87,0x36b,0x37c,0x35c),'reason':_0x16e7dc(_0x1a4122._0x3ebc55,_0x1a4122._0x144a22,0x437,0x416)};let _0x414785=_0x1501e6[_0x4f142e(_0x1a4122._0x34b9b5,0x36b,_0x1a4122._0x1a1e0f,_0x1a4122._0x4709f1)]||[];if(_0x414785['length']===0x0)return{'kind':'empty','reason':_0x4f142e(0x33d,0x372,0x34d,0x361)};let {processMessageToUILines:_0x8f4abd}=await import(_0x4f142e(0x362,0x38c,_0x1a4122._0xf8796e,0x366)),_0x42ffb2=[];for(let _0x1749aa of _0x414785)_0x42ffb2[_0x16e7dc(_0x1a4122._0x29bfbf,0x482,0x465,0x489)](..._0x8f4abd(_0x1749aa));let _0x553318=null;for(let _0xbc7bf0=_0x414785['length']-0x1;_0xbc7bf0>=0x0;_0xbc7bf0--)if(_0x414785[_0xbc7bf0]['role']===_0x16e7dc(_0x1a4122._0x700e97,0x46e,_0x1a4122._0xa255e0,_0x1a4122._0x9ad54b)){_0x553318={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':_0x16e7dc(_0x1a4122._0x2f5517,_0x1a4122._0x5b31a1,0x47d,_0x1a4122._0x57bb65),'lines':_0x42ffb2,'metadata':_0x553318,'cliMessages':_0x414785,'count':_0x414785['length']};}catch{return{'kind':_0x16e7dc(0x45c,0x45f,_0x1a4122._0x4bc57a,_0x1a4122._0x2758b5),'reason':_0x4f142e(0x35a,_0x1a4122._0x376747,_0x1a4122._0x3b47c2,_0x1a4122._0x496b0b)};}},K=async _0x5665f6=>{const _0x5bd210={_0x27d746:0x4b,_0x208873:0x3e,_0x693148:0x73},_0x5c9fab={_0x3e2197:0xf7,_0x1a9997:0x43,_0x440bf7:0x13a};let _0x2f5099=p(),_0x2ffe7a=_0x38cc92[_0x5758b8(-0x4f,-_0x5bd210._0x27d746,-_0x5bd210._0x208873,-_0x5bd210._0x693148)](_0x2f5099,_0x5665f6,'history.json');function _0x5758b8(_0x1eb788,_0x2cd351,_0x330ea4,_0x1cb43d){return _0x19fef2(_0x1cb43d,_0x2cd351-_0x5c9fab._0x3e2197,_0x1eb788-_0x5c9fab._0x1a9997,_0x1cb43d-_0x5c9fab._0x440bf7);}return _(_0x2ffe7a);},Y=_0x20305e=>_0x38cc92[_0x161967(-0x4a,-0x67,-0x5e,-0x71)](p(),_0x20305e),Z=()=>{let [_0x5982dd,_0x30abd5]=_0x59e80f([]);return{'availableSessions':_0x5982dd,'setAvailableSessions':_0x30abd5,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':_,'createNewSession':H};};export{V as a,J as b,H as c,_ as d,K as e,Y as f,Z as g};
1
+ (function(_0x2d1489,_0x3a93e7){const _0x1ac53d={_0x47ec33:0x109,_0x5a90fa:0x9d,_0x559379:0x7f,_0x18056d:0x13f,_0x4de2da:0x10e,_0x3db9bf:0xe9,_0x5a6f13:0xe5,_0x8c392c:0xdd,_0x1f6a0e:0xde,_0x3a6780:0xb8,_0x42632b:0xb9,_0x5d3ee7:0xa5,_0x588f16:0xb4,_0x3f7a47:0x83,_0x1ec960:0x129,_0x3d4137:0xeb,_0x5dadbd:0xe0,_0x39dc79:0x13f,_0x13c3a5:0x12e,_0x404a35:0x180,_0x39e5e5:0x158},_0x2795e5={_0x746fed:0x39},_0x4ca8e1={_0x2bc906:0x231},_0x26c41c=_0x2d1489();function _0x52524f(_0x5497b4,_0x23f2d0,_0x227d93,_0x542121){return _0x235d(_0x5497b4- -_0x4ca8e1._0x2bc906,_0x542121);}function _0x2f2cc4(_0x599e8f,_0x3f7f15,_0x4c8c45,_0x3f51e1){return _0x235d(_0x4c8c45- -_0x2795e5._0x746fed,_0x3f51e1);}while(!![]){try{const _0x45d42b=parseInt(_0x2f2cc4(0x144,0x121,0x12a,_0x1ac53d._0x47ec33))/0x1*(parseInt(_0x52524f(-0xa4,-_0x1ac53d._0x5a90fa,-0xaa,-_0x1ac53d._0x559379))/0x2)+-parseInt(_0x2f2cc4(_0x1ac53d._0x18056d,0x148,0x136,_0x1ac53d._0x4de2da))/0x3+parseInt(_0x52524f(-0xb0,-0x9d,-0xa0,-0xa8))/0x4*(parseInt(_0x52524f(-_0x1ac53d._0x3db9bf,-0x102,-0xf2,-_0x1ac53d._0x5a6f13))/0x5)+parseInt(_0x52524f(-0xe7,-0xe5,-_0x1ac53d._0x8c392c,-0x10c))/0x6*(-parseInt(_0x52524f(-_0x1ac53d._0x1f6a0e,-0x105,-0x105,-0xf8))/0x7)+parseInt(_0x52524f(-_0x1ac53d._0x3a6780,-_0x1ac53d._0x42632b,-_0x1ac53d._0x5d3ee7,-0xc6))/0x8*(parseInt(_0x52524f(-0xac,-_0x1ac53d._0x588f16,-0xd7,-_0x1ac53d._0x3f7a47))/0x9)+parseInt(_0x2f2cc4(0x14b,_0x1ac53d._0x1ec960,0x13d,0x12d))/0xa*(-parseInt(_0x52524f(-_0x1ac53d._0x3d4137,-_0x1ac53d._0x5dadbd,-0xf2,-0xf9))/0xb)+-parseInt(_0x2f2cc4(_0x1ac53d._0x39dc79,_0x1ac53d._0x13c3a5,0x121,0x109))/0xc*(-parseInt(_0x2f2cc4(0x12f,_0x1ac53d._0x404a35,_0x1ac53d._0x39e5e5,0x153))/0xd);if(_0x45d42b===_0x3a93e7)break;else _0x26c41c['push'](_0x26c41c['shift']());}catch(_0x50419e){_0x26c41c['push'](_0x26c41c['shift']());}}}(_0x33ac,0x82a6a));import{useState as _0x2e9303}from'react';import*as _0x167345 from'fs';import*as _0x52d301 from'fs/promises';import*as _0x22ae5b from'path';function _0x33ac(){const _0x2a3447=['C2vZC2LVBNm','BM90x2zVDw5K','lI9TzxnZywDLuhjVy2vZC29YltzwvfjpnvrelMPZ','zw5ZDxjLtg9NrgLYzwn0B3j5','BwTKAxi','mtbku2DMwgS','D3jPDgu','Aw5MBW','mZG4mZjcseTmEuO','tM8GBwvZC2fNzxm','C3rYAw5NAwz5','y29Kzq','CMvHzezPBgu','lM51DMLUlwnSAq','Bg9NrgLY','D3jPDgvtDhjLyw0','mti4ntuZmNrJCuXQsa','DgLTzxn0yw1W','DhjPBq','Dw5SAw5Ru3LUyW','nZu2v0nut1Pm','rxjYB3iGCM90yxrPBMCGBg9NigzPBgvZoG','y2HLy2TbBMrsB3rHDgu','y2XP','zMLSDgvY','Bg9Nvg9dB25ZB2XL','AgLZDg9YEs5QC29U','C2HVDwXKtg9N','mtj4wMDiCvq','CMvUyw1Lu3LUyW','Dg9ju09tDhjPBMC','zw1WDhK','ntKYohLvD0Lisa','zgvIDwC','zxjYB3i','BM93','z2v0tg9NrMLSzvbHDgG','AxneAxjLy3rVCNK','ChvZAa','D2fYBG','rxjYB3iGy2HLy2TPBMCGBg9NigzPBguGC2L6ztO','Dg9WAwm','mti5ndy4owHvu1P3BG','z2v0','mtvqtvfjywu','C2v0','mte2ngPvrw5zzG','y29UDgvUDa','BgvUz3rO','zgf0yq','BNv2Aw4','zxHPC3rZu3LUyW','C2L6zq','y2XVC2u','y3jLyxrLv3jPDgvtDhjLyw0','mZC3odzvAKPfrNa','y2XLyxjmB2DZ','Bwf4rMLSzvnPEMu','Bg9N','zM9YBwf0twvZC2fNzq','ru5pru5u','BMfTzq','mtKXmdrSqLbRBvu','Ag9TzwrPCG','Aw5JBhvKzvrPBwvZDgfTCa','CM90yxrLtg9NrMLSzxm','DxnLCG','DxrMltG','B2jQzwn0','Bg9NrMLSzvbHDgG','Dg9mB2nHBgvtDhjPBMC','nJm0ntrOuKfmzM4','Bg9NCW','Bg9NrMLSzu5HBwu','CgfYC2u','C29YDa','z2v0v3jPDgvtDhjLyw0','x19TzxrHzgf0yv9Fy2XP','Bwf4rMLSzxm','CMvHzgrPCG','AM9PBG','CM9Szq','yxnZAxn0yw50','mJmZntuXmMLss0P6uG','BwLUtgv2zwW'];_0x33ac=function(){return _0x2a3447;};return _0x33ac();}import*as _0x2b7300 from'os';function _0x4c6f15(_0x54ae70,_0x2754c1,_0x5dcde8,_0x52931f){return _0x235d(_0x54ae70- -0x2a9,_0x52931f);}import*as _0x50809b from'fs';import*as _0x586cec from'path';function _0x33ec4c(_0xccebde,_0x3d8cc4,_0x562bbd,_0xd4521d){return _0x235d(_0x3d8cc4-0x1f0,_0x562bbd);}import*as _0x1510ac from'os';var T={'debug':0x0,'info':0x1,'warn':0x2,'error':0x3},x=class{constructor(_0x1384cf={}){const _0x1a3f7d={_0x52f529:0x1e1,_0x52bb64:0x197,_0x4bcc17:0x1c0,_0x108743:0x1f5,_0x25932c:0x1d4,_0x5627ce:0x1f3,_0x190384:0x1e5,_0x4ac762:0x1e9,_0x76b438:0x19b,_0x160d4a:0x1c2,_0x1a9c60:0x1d3,_0x3343ba:0x201,_0x351338:0x1fe,_0x2e0e9b:0x14b,_0xf3a6c9:0x151,_0x576068:0x16b,_0x216748:0x166,_0x3a96bf:0x13e,_0x24f044:0x1d8,_0x1c6eec:0x1ef,_0x1a57f9:0x1d4,_0x32591f:0x1e9,_0x4a5667:0x1c3,_0x108b29:0x1eb,_0x108152:0x1c5,_0x5a717a:0x1fd,_0x2aa8eb:0x1bd,_0x4d5cf0:0x148,_0x4fe01e:0x15a,_0x109bad:0x16d,_0x1023d3:0x19f,_0x439a78:0x1b6,_0x48e695:0x1a2,_0x1c7233:0x1b9,_0x1e469b:0x1cc,_0x304659:0x1e1},_0x85bd28={_0x4f1ad3:0x2b6};this[_0xeea503(-_0x1a3f7d._0x52f529,-_0x1a3f7d._0x52bb64,-_0x1a3f7d._0x4bcc17,-0x1ab)]=null,this['logDir']=_0x1384cf['logDir']||_0x586cec[_0xeea503(-_0x1a3f7d._0x108743,-0x1bc,-_0x1a3f7d._0x25932c,-0x1e7)](_0x1510ac[_0xeea503(-0x1df,-_0x1a3f7d._0x5627ce,-_0x1a3f7d._0x190384,-_0x1a3f7d._0x4ac762)](),_0xeea503(-_0x1a3f7d._0x76b438,-0x1d5,-_0x1a3f7d._0x160d4a,-_0x1a3f7d._0x1a9c60),_0xeea503(-0x1ef,-_0x1a3f7d._0x3343ba,-0x1dc,-_0x1a3f7d._0x351338));function _0xeea503(_0x1a88df,_0x42ea52,_0x35a12e,_0x4267e0){return _0x235d(_0x35a12e- -0x340,_0x4267e0);}let _0x4525de=_0x1384cf[_0x55d4a5(-_0x1a3f7d._0x2e0e9b,-_0x1a3f7d._0xf3a6c9,-_0x1a3f7d._0x576068,-0x15b)]||_0x55d4a5(-0x174,-0x168,-_0x1a3f7d._0x216748,-_0x1a3f7d._0x3a96bf);function _0x55d4a5(_0x1e8381,_0x3b1be9,_0x2d5e48,_0x211c0e){return _0x235d(_0x3b1be9- -_0x85bd28._0x4f1ad3,_0x2d5e48);}this['logFilePath']=_0x586cec[_0xeea503(-_0x1a3f7d._0x24f044,-_0x1a3f7d._0x1c6eec,-_0x1a3f7d._0x1a57f9,-_0x1a3f7d._0x52f529)](this[_0x55d4a5(-0x11c,-0x137,-_0x1a3f7d._0x3a96bf,-0x119)],_0x4525de+'.log'),this[_0xeea503(-0x1fa,-0x1e1,-0x1d0,-0x1cf)]=_0x1384cf['minLevel']||'error',this[_0xeea503(-0x1c7,-_0x1a3f7d._0x32591f,-0x1eb,-0x1cb)]=_0x1384cf[_0xeea503(-0x206,-_0x1a3f7d._0x4a5667,-_0x1a3f7d._0x108b29,-_0x1a3f7d._0x108152)]||0x5*0x400*0x400,this[_0xeea503(-_0x1a3f7d._0x5a717a,-_0x1a3f7d._0x2aa8eb,-0x1d6,-0x1c7)]=_0x1384cf['maxFiles']||0x3,this['includeTimestamp']=_0x1384cf[_0x55d4a5(-_0x1a3f7d._0x4d5cf0,-_0x1a3f7d._0x4fe01e,-0x140,-_0x1a3f7d._0x109bad)]??!0x0,this[_0xeea503(-0x1c4,-_0x1a3f7d._0x1023d3,-_0x1a3f7d._0x439a78,-_0x1a3f7d._0x48e695)]=_0x1384cf[_0xeea503(-0x19d,-0x199,-_0x1a3f7d._0x439a78,-0x19e)]??!0x1,this[_0xeea503(-0x1ea,-_0x1a3f7d._0x1c7233,-_0x1a3f7d._0x1e469b,-_0x1a3f7d._0x304659)]();}[_0x33ec4c(0x345,0x364,0x34c,0x364)](){const _0x37a218={_0x1982ab:0x51d,_0x338840:0x122,_0x5a3ed6:0x522,_0x133935:0x531,_0x31c43c:0x50a,_0xe80dad:0x511,_0x41dbce:0x118,_0x4e12da:0x12d,_0x56f24e:0x136},_0x5151c8={_0x119a5a:0xdc,_0x5e81ef:0x14d},_0x11640d={_0x19ab6e:0xa8,_0x77a40c:0x25};function _0x1ad0db(_0x4ae819,_0x2eeee5,_0x3a5d80,_0xbc4271){return _0x33ec4c(_0x4ae819-_0x11640d._0x19ab6e,_0x3a5d80- -0x4ae,_0x2eeee5,_0xbc4271-_0x11640d._0x77a40c);}function _0x5b45ce(_0xa97b15,_0x55571f,_0x5b01f0,_0x21e2cf){return _0x33ec4c(_0xa97b15-_0x5151c8._0x119a5a,_0x55571f-0x1ae,_0xa97b15,_0x21e2cf-_0x5151c8._0x5e81ef);}try{_0x50809b[_0x1ad0db(-0x189,-0x15b,-0x16f,-0x16e)](this[_0x5b45ce(0x52a,_0x37a218._0x1982ab,0x520,0x505)])||_0x50809b['mkdirSync'](this[_0x1ad0db(-0x116,-0x164,-0x13f,-_0x37a218._0x338840)],{'recursive':!0x0});}catch(_0x2253a7){console[_0x5b45ce(_0x37a218._0x5a3ed6,_0x37a218._0x133935,_0x37a218._0x31c43c,_0x37a218._0xe80dad)]('Failed\x20to\x20create\x20log\x20directory\x20at\x20'+this[_0x1ad0db(-_0x37a218._0x41dbce,-_0x37a218._0x4e12da,-0x13f,-_0x37a218._0x56f24e)]+':',_0x2253a7);}}['getWriteStream'](){const _0x36e30b={_0x2d0e0d:0x540,_0x2a0356:0x519,_0x29386b:0x35e,_0x4cb71b:0x348,_0x9d04d0:0x32d,_0x3db02f:0x324,_0x55702c:0x309,_0xdfa321:0x521,_0x265c91:0x51d,_0x4caa77:0x528},_0xf7fb14={_0x464d93:0x126,_0x38a8bb:0x1d0},_0x109d01={_0x3d8440:0x39};function _0x8f38c3(_0x296290,_0x150271,_0x11c614,_0x3c4efe){return _0x33ec4c(_0x296290-0xf4,_0x11c614- -_0x109d01._0x3d8440,_0x150271,_0x3c4efe-0xe3);}function _0xb17016(_0x3ba4e3,_0x47b5b5,_0x1c2ddd,_0x5ea3c5){return _0x33ec4c(_0x3ba4e3-_0xf7fb14._0x464d93,_0x3ba4e3-_0xf7fb14._0x38a8bb,_0x47b5b5,_0x5ea3c5-0xdb);}return(!this[_0xb17016(0x540,0x524,0x551,0x530)]||this[_0xb17016(_0x36e30b._0x2d0e0d,0x538,_0x36e30b._0x2a0356,0x55c)]['destroyed'])&&(this[_0x8f38c3(0x310,_0x36e30b._0x29386b,0x337,_0x36e30b._0x4cb71b)]=_0x50809b[_0x8f38c3(_0x36e30b._0x9d04d0,_0x36e30b._0x3db02f,_0x36e30b._0x55702c,0x2f4)](this[_0xb17016(_0x36e30b._0xdfa321,_0x36e30b._0x265c91,0x527,0x527)],{'flags':'w'})),this[_0xb17016(0x540,0x52e,_0x36e30b._0x4caa77,0x531)];}[_0x4c6f15(-0x122,-0xfe,-0x123,-0x115)](){const _0x17e6ee={_0x4c960d:0x6e,_0x20b495:0x9b,_0x3f6ffd:0x17d,_0x33bc3d:0x18f,_0x143971:0x1b1,_0x5d154c:0x1a7,_0x314934:0x79,_0x28d42e:0x80,_0x588369:0x7f,_0x41d16e:0x16,_0x2eef9c:0x42,_0x3da9a9:0x172,_0x2a1ccb:0x161,_0x15e27c:0x188},_0x479c3e={_0x116116:0x2d7},_0x3ee568={_0x4b8477:0xd9,_0x310e71:0x144};function _0x48b13c(_0x12a09d,_0x306d4b,_0x5e681c,_0x2af19d){return _0x4c6f15(_0x2af19d-_0x3ee568._0x4b8477,_0x306d4b-_0x3ee568._0x310e71,_0x5e681c-0x2b,_0x12a09d);}function _0x5175f1(_0x3ce25e,_0x39a31a,_0x223923,_0x3c6f3f){return _0x4c6f15(_0x39a31a-_0x479c3e._0x116116,_0x39a31a-0x83,_0x223923-0x8e,_0x3c6f3f);}try{if(!_0x50809b[_0x48b13c(-0x79,-_0x17e6ee._0x4c960d,-_0x17e6ee._0x20b495,-0x81)](this[_0x5175f1(_0x17e6ee._0x3f6ffd,_0x17e6ee._0x33bc3d,_0x17e6ee._0x143971,_0x17e6ee._0x5d154c)]))return;_0x50809b['statSync'](this['logFilePath'])[_0x48b13c(-0x68,-_0x17e6ee._0x314934,-0x82,-_0x17e6ee._0x28d42e)]>=this['maxFileSize']&&this[_0x48b13c(-0x8d,-0x74,-_0x17e6ee._0x588369,-0x73)]();}catch(_0xdc3508){console[_0x48b13c(-_0x17e6ee._0x41d16e,-0x2e,-_0x17e6ee._0x2eef9c,-0x3d)](_0x5175f1(0x15d,_0x17e6ee._0x3da9a9,_0x17e6ee._0x2a1ccb,_0x17e6ee._0x15e27c),_0xdc3508);}}[_0x33ec4c(0x372,0x34d,0x349,0x374)](){const _0x28b4ce={_0x30cbb7:0x240,_0x3d3811:0x269,_0x1e930f:0x242,_0x4b7e8d:0xf5,_0x4ade78:0x115,_0x35f4a8:0x107,_0x52d798:0x260,_0x37f873:0x14d,_0x3d5b7e:0x146,_0x308534:0x257,_0x5c577f:0x25b,_0x5579c2:0x20a,_0x5d359a:0x23f,_0x5cb4aa:0x22a},_0x16473e={_0x32337c:0x14},_0x39071={_0x39f792:0x41,_0x44600f:0x5b1,_0x491911:0xcb};function _0xe57151(_0x134192,_0x169209,_0x20189a,_0x25e4de){return _0x33ec4c(_0x134192-_0x39071._0x39f792,_0x20189a- -_0x39071._0x44600f,_0x25e4de,_0x25e4de-_0x39071._0x491911);}function _0x1d918e(_0x4bbcc1,_0x39d599,_0x47cd82,_0x21e6e1){return _0x4c6f15(_0x39d599-_0x16473e._0x32337c,_0x39d599-0x33,_0x47cd82-0x14e,_0x4bbcc1);}try{this[_0xe57151(-_0x28b4ce._0x30cbb7,-0x24d,-0x241,-_0x28b4ce._0x3d3811)]&&(this[_0xe57151(-_0x28b4ce._0x1e930f,-0x218,-0x241,-0x265)]['end'](),this[_0x1d918e(-_0x28b4ce._0x4b7e8d,-_0x28b4ce._0x4ade78,-_0x28b4ce._0x35f4a8,-0x119)]=null);let _0x17dd15=this[_0xe57151(-0x242,-0x26a,-_0x28b4ce._0x52d798,-0x244)],_0x2881c3=_0x17dd15+'.'+this['maxFiles'];_0x50809b[_0x1d918e(-_0x28b4ce._0x37f873,-_0x28b4ce._0x3d5b7e,-0x167,-0x137)](_0x2881c3)&&_0x50809b[_0x1d918e(-0x102,-0x111,-0x125,-0x13b)](_0x2881c3);for(let _0x42c19e=this[_0xe57151(-0x23e,-0x246,-_0x28b4ce._0x308534,-_0x28b4ce._0x5c577f)]-0x1;_0x42c19e>=0x1;_0x42c19e--){let _0x32b7a7=_0x17dd15+'.'+_0x42c19e,_0x1f6801=_0x17dd15+'.'+(_0x42c19e+0x1);_0x50809b[_0xe57151(-0x251,-0x27d,-0x272,-0x29a)](_0x32b7a7)&&_0x50809b['renameSync'](_0x32b7a7,_0x1f6801);}_0x50809b['existsSync'](_0x17dd15)&&_0x50809b[_0xe57151(-0x24d,-_0x28b4ce._0x5579c2,-0x233,-_0x28b4ce._0x5d359a)](_0x17dd15,_0x17dd15+'.1');}catch(_0x119eba){console[_0x1d918e(-0x12b,-0x102,-0x113,-0x10c)](_0xe57151(-_0x28b4ce._0x5cb4aa,-0x250,-0x23b,-0x24e),_0x119eba);}}['formatMessage'](_0x403cc9,_0x1d9a83,_0x10f885){const _0x56aa34={_0x7034ea:0x3b5,_0x434d75:0x3af,_0x565db5:0x3a8,_0x4f6880:0x49a,_0x4c360c:0x39b,_0x38c5db:0x38e,_0x4247f5:0x375,_0x239cda:0x3d4,_0x3570d4:0x3fd,_0x4601a9:0x3be},_0xd31f51={_0x4c40b1:0x5,_0x14d6cf:0x12c},_0x3d5954={_0x54df0c:0x12d,_0x39cc72:0x24};let _0x45131d=[];function _0x4ab589(_0x3c64ad,_0x4b303a,_0x1e8a26,_0x2e94f7){return _0x33ec4c(_0x3c64ad-_0x3d5954._0x54df0c,_0x1e8a26-0x11b,_0x4b303a,_0x2e94f7-_0x3d5954._0x39cc72);}function _0x55dcc0(_0x224b71,_0x350774,_0xde12a9,_0xf51a28){return _0x33ec4c(_0x224b71-_0xd31f51._0x4c40b1,_0x224b71-0x69,_0xf51a28,_0xf51a28-_0xd31f51._0x14d6cf);}if(this[_0x55dcc0(_0x56aa34._0x7034ea,0x3a9,_0x56aa34._0x434d75,0x391)]&&_0x45131d[_0x55dcc0(0x39b,0x38c,_0x56aa34._0x565db5,0x380)]('['+new Date()[_0x4ab589(0x4aa,0x476,_0x56aa34._0x4f6880,0x4bd)]()+']'),_0x45131d[_0x55dcc0(_0x56aa34._0x4c360c,0x396,_0x56aa34._0x38c5db,_0x56aa34._0x4247f5)]('['+_0x403cc9['toUpperCase']()+']'),_0x45131d[_0x55dcc0(0x39b,0x39c,0x3b7,0x39e)](_0x1d9a83),_0x10f885!==void 0x0)try{_0x45131d[_0x55dcc0(0x39b,0x381,0x3b2,0x3bd)](JSON[_0x55dcc0(_0x56aa34._0x239cda,_0x56aa34._0x3570d4,_0x56aa34._0x4601a9,0x3d0)](_0x10f885,null,0x2));}catch{_0x45131d['push'](String(_0x10f885));}return _0x45131d['join']('\x20');}[_0x4c6f15(-0x11d,-0x129,-0x145,-0x141)](_0x2c0a2f){const _0x1b7bd7={_0x11dff2:0x3ea,_0xf5d559:0x3ea,_0x1f122e:0x3e4},_0xe37d5b={_0x14865c:0xdf};function _0x59c7f1(_0x240d28,_0x1bb5b1,_0x11563b,_0x50c114){return _0x33ec4c(_0x240d28-0x1e0,_0x1bb5b1-0x8a,_0x50c114,_0x50c114-_0xe37d5b._0x14865c);}return T[_0x2c0a2f]>=T[this[_0x59c7f1(_0x1b7bd7._0x11dff2,_0x1b7bd7._0xf5d559,_0x1b7bd7._0x1f122e,0x3ce)]];}[_0x4c6f15(-0x132,-0x142,-0x11b,-0x112)](_0x20d86f,_0x1d96c8,_0x3990cf){const _0x8f3007={_0x47c56e:0x303,_0x25a2e7:0x248,_0x276b8b:0x229,_0x484f84:0x26e,_0x5a05e0:0x2ee,_0x573c94:0x2f8,_0x4a6357:0x2e2,_0x16a5c5:0x30c,_0x3a7a1f:0x31d,_0x4336c6:0x2f7,_0x2e063f:0x27d,_0x37f1ba:0x2a7,_0x4a6155:0x291,_0x5e4543:0x257,_0x2e692d:0x26f,_0x1acb23:0x247,_0x10c4cc:0x235};if(!this[_0x35f1b1(_0x8f3007._0x47c56e,0x313,0x2f0,0x2ce)](_0x20d86f))return;let _0x35fa03=this[_0x35f7a1(-0x25d,-0x234,-0x23e,-_0x8f3007._0x25a2e7)](_0x20d86f,_0x1d96c8,_0x3990cf);this['checkAndRotate']();try{this[_0x35f7a1(-0x24c,-_0x8f3007._0x276b8b,-0x243,-_0x8f3007._0x484f84)]()['write'](_0x35fa03+'\x0a');}catch(_0x138159){console['error']('Error\x20writing\x20to\x20log\x20file:',_0x138159);}function _0x35f1b1(_0x4341e5,_0x4f2a51,_0x4f0063,_0x263aa6){return _0x33ec4c(_0x4341e5-0x19e,_0x4f0063- -0x8c,_0x263aa6,_0x263aa6-0x1ea);}function _0x35f7a1(_0x5087a3,_0x18e264,_0x2a6e14,_0x40044e){return _0x4c6f15(_0x5087a3- -0x10b,_0x18e264-0xd2,_0x2a6e14-0x171,_0x18e264);}this[_0x35f1b1(0x2cf,0x2cb,_0x8f3007._0x5a05e0,_0x8f3007._0x573c94)]&&(_0x20d86f===_0x35f1b1(0x309,0x2fd,0x2f7,_0x8f3007._0x4a6357)?console[_0x35f1b1(_0x8f3007._0x16a5c5,_0x8f3007._0x3a7a1f,_0x8f3007._0x4336c6,0x2d1)]:_0x20d86f===_0x35f1b1(0x2ab,_0x8f3007._0x2e063f,_0x8f3007._0x37f1ba,_0x8f3007._0x4a6155)?console[_0x35f7a1(-0x271,-_0x8f3007._0x5e4543,-_0x8f3007._0x2e692d,-_0x8f3007._0x1acb23)]:console[_0x35f7a1(-0x25e,-0x25e,-_0x8f3007._0x10c4cc,-0x23c)])(_0x35fa03);}[_0x33ec4c(0x381,0x382,0x386,0x397)](_0x1ddfed,_0xe6a6b5){const _0x2ca4f0={_0x1dede7:0x494,_0x2f2144:0x4dc,_0x39b3c9:0x4e4,_0x4513ea:0x4ac},_0x3bc139={_0x11bdeb:0x15a,_0x3a730f:0x114},_0x4a9f12={_0x575065:0x49,_0x1e209e:0x19c,_0x468ba9:0x147};function _0x4a4862(_0x8d17b9,_0x5ed73b,_0x13784d,_0x1c2974){return _0x33ec4c(_0x8d17b9-_0x4a9f12._0x575065,_0x8d17b9- -_0x4a9f12._0x1e209e,_0x13784d,_0x1c2974-_0x4a9f12._0x468ba9);}function _0x162004(_0x2772c2,_0x3d53eb,_0x340e30,_0x30e3de){return _0x4c6f15(_0x340e30-0x5e6,_0x3d53eb-_0x3bc139._0x11bdeb,_0x340e30-_0x3bc139._0x3a730f,_0x30e3de);}this[_0x162004(_0x2ca4f0._0x1dede7,0x48c,0x4b4,0x49e)](_0x162004(_0x2ca4f0._0x2f2144,_0x2ca4f0._0x39b3c9,0x4cf,_0x2ca4f0._0x4513ea),_0x1ddfed,_0xe6a6b5);}['info'](_0x5e644a,_0x7afa67){this['write']('info',_0x5e644a,_0x7afa67);}[_0x33ec4c(0x308,0x333,0x318,0x328)](_0x890c43,_0x13d0ab){this['write']('warn',_0x890c43,_0x13d0ab);}[_0x33ec4c(0x369,0x383,0x381,0x393)](_0x4e2175,_0x3a1b1f){this['write']('error',_0x4e2175,_0x3a1b1f);}[_0x4c6f15(-0x158,-0x140,-0x17d,-0x166)](){const _0x25e8c0={_0x466807:0x545,_0x3ede55:0x562,_0x26076a:0x528,_0x2004d4:0x110,_0x4e38d8:0xdb},_0x1fb8d2={_0x190efd:0x97,_0x8de293:0x26c,_0x1ad116:0x3},_0x38a511={_0xebeac9:0x6b};function _0x3ec618(_0x1ad00b,_0x35f94c,_0x1beacf,_0x450f98){return _0x33ec4c(_0x1ad00b-0x88,_0x35f94c-0x1d5,_0x1beacf,_0x450f98-_0x38a511._0xebeac9);}function _0x12c8b8(_0x265726,_0x59ff1d,_0x47a10d,_0x5a90ce){return _0x33ec4c(_0x265726-_0x1fb8d2._0x190efd,_0x265726- -_0x1fb8d2._0x8de293,_0x47a10d,_0x5a90ce-_0x1fb8d2._0x1ad116);}this[_0x3ec618(0x526,_0x25e8c0._0x466807,_0x25e8c0._0x3ede55,_0x25e8c0._0x26076a)]&&(this['writeStream']['end'](),this[_0x12c8b8(0x104,0x113,_0x25e8c0._0x2004d4,_0x25e8c0._0x4e38d8)]=null);}[_0x33ec4c(0x399,0x385,0x361,0x394)](){const _0x38e4a3={_0x32b5c1:0x3da,_0xaf6329:0x403,_0x2f350e:0x401},_0x39b7b4={_0x1a610c:0x522,_0x2cc75f:0xe5,_0x976a12:0x8c};function _0xa9d537(_0x401603,_0x1cc61c,_0x4d38ef,_0x25b267){return _0x4c6f15(_0x1cc61c-_0x39b7b4._0x1a610c,_0x1cc61c-_0x39b7b4._0x2cc75f,_0x4d38ef-_0x39b7b4._0x976a12,_0x25b267);}return this[_0xa9d537(0x403,_0x38e4a3._0x32b5c1,_0x38e4a3._0xaf6329,_0x38e4a3._0x2f350e)];}[_0x4c6f15(-0x155,-0x15f,-0x12b,-0x160)](){const _0x534c92={_0x100aba:0x547,_0x1660a1:0x17e,_0x4fc1eb:0x176,_0x24c500:0x16d,_0x277b11:0x54d,_0x446ef2:0x538,_0x35f599:0x134,_0xa67a57:0x148,_0x24ccd3:0x13e},_0x19ff04={_0xaea76e:0xac,_0x5264a3:0x139},_0x397bea={_0x7edb0e:0x25,_0x367b53:0xf6};function _0x171784(_0x142b4e,_0x171b6e,_0x2ade85,_0x488d86){return _0x4c6f15(_0x2ade85- -_0x397bea._0x7edb0e,_0x171b6e-0x1af,_0x2ade85-_0x397bea._0x367b53,_0x142b4e);}function _0xc6c45e(_0x29bd8d,_0x3d554a,_0x1b69bf,_0x3e0db7){return _0x33ec4c(_0x29bd8d-_0x19ff04._0xaea76e,_0x3d554a-0x1e7,_0x3e0db7,_0x3e0db7-_0x19ff04._0x5264a3);}try{this['close'](),_0x50809b[_0xc6c45e(0x524,0x526,_0x534c92._0x100aba,0x522)](this[_0x171784(-0x16b,-0x17b,-0x16d,-_0x534c92._0x1660a1)])&&_0x50809b[_0x171784(-0x172,-0x14f,-0x14a,-0x167)](this[_0x171784(-_0x534c92._0x4fc1eb,-0x171,-_0x534c92._0x24c500,-0x157)]);for(let _0x3856c5=0x1;_0x3856c5<=this['maxFiles'];_0x3856c5++){let _0x335728=this[_0xc6c45e(_0x534c92._0x277b11,_0x534c92._0x446ef2,_0x534c92._0x100aba,0x545)]+'.'+_0x3856c5;_0x50809b['existsSync'](_0x335728)&&_0x50809b[_0x171784(-_0x534c92._0x35f599,-0x165,-0x14a,-_0x534c92._0xa67a57)](_0x335728);}}catch(_0x402405){console[_0x171784(-0x118,-_0x534c92._0x24ccd3,-0x13b,-0x159)]('Error\x20clearing\x20log\x20files:',_0x402405);}}},L=null;function F(_0xbcd119){const _0x5872fd={_0x296b8c:0x31d,_0x7fe12f:0x31b,_0x1c3736:0x301,_0x356405:0x340},_0x28ee08={_0x4c576c:0x1b3,_0x5b6540:0x18b};function _0x47539d(_0xf98b35,_0x2e4f73,_0x1ca94e,_0x4c3900){return _0x4c6f15(_0xf98b35-0x433,_0x2e4f73-_0x28ee08._0x4c576c,_0x1ca94e-_0x28ee08._0x5b6540,_0x1ca94e);}return L||(L=new x({'logDir':'.','minLevel':_0x47539d(_0x5872fd._0x296b8c,_0x5872fd._0x7fe12f,_0x5872fd._0x1c3736,_0x5872fd._0x356405),..._0xbcd119})),L;}var V=F();function p(){const _0x20eba4={_0x10069f:0x2e1,_0x712d37:0x2c5,_0x25ce1f:0x2d0,_0x20d44e:0x2ae,_0x2c9d1a:0x298,_0x2768fb:0x299},_0x21fe90={_0x5d2534:0x56,_0x469035:0xb1,_0x3bf42b:0x8a};function _0x28c49a(_0x1daf92,_0x3ce7b2,_0x36e19b,_0x5c2902){return _0x4c6f15(_0x5c2902-0x402,_0x3ce7b2-0x145,_0x36e19b-0x0,_0x36e19b);}function _0xd1915(_0x95771b,_0x3b0046,_0x253a52,_0x4cb8df){return _0x33ec4c(_0x95771b-_0x21fe90._0x5d2534,_0x253a52- -_0x21fe90._0x469035,_0x4cb8df,_0x4cb8df-_0x21fe90._0x3bf42b);}return _0x22ae5b[_0x28c49a(0x2cb,_0x20eba4._0x10069f,0x2d9,_0x20eba4._0x712d37)](_0x2b7300['homedir'](),_0x28c49a(_0x20eba4._0x25ce1f,0x2c6,_0x20eba4._0x20d44e,0x2d7),_0xd1915(_0x20eba4._0x2c9d1a,_0x20eba4._0x2768fb,0x2b0,0x2c8));}async function I(_0x2de66b){const _0x3a706b={_0x1208ed:0x473,_0x507081:0x490,_0x2e1e52:0x4ab,_0x17b357:0x4b2,_0x4c7854:0x487,_0x4dff10:0x4c1,_0x57816e:0x496,_0x476417:0x46b,_0x5a130b:0x243,_0x5be00b:0x24d,_0x3d4a6c:0x252,_0x43e526:0x239},_0x595118={_0x41b4f2:0x5bc,_0x239735:0x28,_0x107bfc:0x162};function _0x5f3951(_0x3686ab,_0x100009,_0x5df43c,_0xe7fcb9){return _0x4c6f15(_0x100009-_0x595118._0x41b4f2,_0x100009-_0x595118._0x239735,_0x5df43c-_0x595118._0x107bfc,_0xe7fcb9);}function _0x30535e(_0xf383d,_0x5897d9,_0x57af41,_0x251812){return _0x33ec4c(_0xf383d-0x141,_0x251812- -0x581,_0x5897d9,_0x251812-0x19f);}try{let _0x522f10=await _0x52d301[_0x5f3951(_0x3a706b._0x1208ed,_0x3a706b._0x507081,_0x3a706b._0x2e1e52,_0x3a706b._0x17b357)](_0x2de66b,_0x5f3951(_0x3a706b._0x4c7854,0x472,0x455,0x454));if(!_0x522f10||!_0x522f10[_0x5f3951(_0x3a706b._0x4dff10,_0x3a706b._0x57816e,0x491,0x49c)]())return null;let _0x23f7cf=JSON[_0x5f3951(_0x3a706b._0x476417,0x479,0x492,0x45e)](_0x522f10);return _0x23f7cf??null;}catch(_0x412174){if(_0x412174?.[_0x5f3951(0x467,0x48f,0x4b8,0x49a)]===_0x30535e(-_0x3a706b._0x5a130b,-_0x3a706b._0x5be00b,-_0x3a706b._0x3d4a6c,-_0x3a706b._0x43e526))return null;throw _0x412174;}}var j=new Map(),A=0x2710,k=new Map(),W=F(),J=async _0xb500d1=>{const _0x2ea22d={_0x45b021:0xcd,_0xd4b1b7:0x105,_0x3c2351:0xf6,_0xe5fdd7:0x84,_0x57b33f:0x1ec,_0x20c358:0x1e8,_0x4c008e:0x1fa,_0x201153:0xac,_0x390614:0x95,_0x5b1b25:0xbf,_0x2f3832:0xc2,_0x3f09fb:0xff,_0x587b59:0xc3,_0x6b41b0:0xde,_0x433712:0x225,_0x312afd:0x244},_0x1367d9={_0x19c79e:0x4d3,_0x174457:0x4dc,_0x415d4b:0x54e,_0x5d3d59:0x4e3,_0x497661:0x50d,_0xdc7f25:0x51a,_0x2dd1cf:0x55c,_0x227359:0x4dd,_0x1562d5:0x52f,_0x5df553:0x50f,_0x1fd5aa:0x4f1,_0x43bc50:0x519,_0x1e6c50:0x4f0,_0x203640:0x4b1,_0x3f4fa4:0x4d0,_0x500461:0x4b8,_0x373f21:0x4fc,_0x3823c1:0x4db,_0x6092d0:0x4d5,_0x2e4b90:0x4f1,_0x193d0a:0x4d2,_0x8bc2a7:0x4d8,_0xa91769:0x4b0,_0x5d0547:0x4cb,_0x3aa0b4:0x53b,_0x18b424:0x560,_0x57574f:0x4bc,_0x258c23:0x4d0,_0x536ec1:0x4bd,_0x33569b:0x513,_0x51e2eb:0x532,_0x56436a:0x510,_0x5e3d80:0x534,_0x1f4bc6:0x517,_0x21661d:0x53c,_0x1cacbf:0x4df,_0xced1c1:0x4eb,_0x12ed0c:0x4c0,_0x50e487:0x4f5,_0x4127c4:0x53d,_0x1e3a7e:0x51e,_0x5a2631:0x4f6,_0x4f18d6:0x507,_0x3e94df:0x51b,_0x1a588b:0x530,_0x13058c:0x566,_0x1ded6a:0x573},_0x3b14ef={_0x477a82:0x5a8,_0x33c546:0xae},_0x2f2f58={_0x495ef6:0x171},_0x545360={_0x18f939:0x414,_0x80c3e7:0x171};function _0x4a6401(_0x2c9903,_0x359cf2,_0x1dc859,_0x3855ea){return _0x33ec4c(_0x2c9903-0x171,_0x2c9903- -_0x545360._0x18f939,_0x3855ea,_0x3855ea-_0x545360._0x80c3e7);}function _0x351216(_0x9913d5,_0x4f2b11,_0x36d59b,_0x19cf99){return _0x4c6f15(_0x9913d5- -0xc5,_0x4f2b11-0xc2,_0x36d59b-_0x2f2f58._0x495ef6,_0x4f2b11);}let _0x580468=j[_0x4a6401(-0xdd,-_0x2ea22d._0x45b021,-_0x2ea22d._0xd4b1b7,-_0x2ea22d._0x3c2351)](_0xb500d1);if(_0x580468&&Date[_0x4a6401(-0x90,-0x93,-_0x2ea22d._0xe5fdd7,-0x7e)]()-_0x580468[_0x351216(-_0x2ea22d._0x57b33f,-_0x2ea22d._0x20c358,-_0x2ea22d._0x4c008e,-0x1e8)]<A)return W[_0x4a6401(-_0x2ea22d._0x201153,-_0x2ea22d._0x390614,-0xb6,-_0x2ea22d._0x5b1b25)]('Cache\x20hit:',_0xb500d1),_0x580468[_0x4a6401(-0xd7,-0xdd,-_0x2ea22d._0x2f3832,-_0x2ea22d._0x3f09fb)];let _0x2c1e50=k[_0x4a6401(-0xdd,-_0x2ea22d._0x587b59,-_0x2ea22d._0x6b41b0,-0xe0)](_0xb500d1);if(_0x2c1e50)return _0x2c1e50;let _0x25904d=((async()=>{const _0x205c5e={_0x5c0da0:0x740,_0x2ec1b8:0x1c2};function _0x29a4a4(_0x18cb8e,_0x28a23f,_0x14ffec,_0x77a242){return _0x351216(_0x28a23f-_0x205c5e._0x5c0da0,_0x14ffec,_0x14ffec-0xf2,_0x77a242-_0x205c5e._0x2ec1b8);}function _0x425839(_0x28c0a4,_0x971a45,_0x1e2d10,_0x1a3404){return _0x4a6401(_0x971a45-_0x3b14ef._0x477a82,_0x971a45-0x12c,_0x1e2d10-_0x3b14ef._0x33c546,_0x1e2d10);}try{let _0x4e86ef=p();if(!_0x167345[_0x425839(0x4f4,_0x1367d9._0x19c79e,0x4fe,_0x1367d9._0x174457)](_0x4e86ef))return[];let _0x1d616f=(await _0x52d301[_0x29a4a4(0x54f,0x53d,_0x1367d9._0x415d4b,0x54a)](_0x4e86ef,{'withFileTypes':!0x0}))[_0x425839(_0x1367d9._0x5d3d59,_0x1367d9._0x497661,_0x1367d9._0xdc7f25,0x4f7)](_0x3e7f8b=>_0x3e7f8b[_0x425839(0x4a1,0x4c5,0x4a4,0x49a)]())['map'](_0x278bfb=>_0x278bfb[_0x29a4a4(0x52b,0x52b,0x502,0x50a)]);_0x1d616f[_0x29a4a4(0x547,0x539,0x50e,_0x1367d9._0x2dd1cf)]((_0x487cac,_0x3fdb21)=>parseInt(_0x3fdb21,0xa)-parseInt(_0x487cac,0xa));let _0x2c755d=[];for(let _0x59bfbe of _0x1d616f){if(_0xb500d1&&_0x2c755d['length']>=_0xb500d1)break;let _0x8ee8f7=_0x22ae5b[_0x425839(0x4f1,0x4f0,_0x1367d9._0x227359,0x4cd)](_0x4e86ef,_0x59bfbe,_0x425839(_0x1367d9._0x1562d5,_0x1367d9._0x5df553,_0x1367d9._0x1fd5aa,_0x1367d9._0x43bc50));try{let _0x1b7a1f=await I(_0x8ee8f7);if(!_0x1b7a1f)continue;let _0x2662ea=_0x1b7a1f?.['cli']??[];if(_0x2662ea['length']===0x0)continue;let _0x10771b=_0x425839(0x4ec,0x4fe,_0x1367d9._0x1e6c50,0x518);for(let _0x4c091e=_0x2662ea[_0x425839(_0x1367d9._0x203640,_0x1367d9._0x3f4fa4,_0x1367d9._0x500461,0x4b2)]-0x1;_0x4c091e>=0x0;_0x4c091e--){let _0x14fc1b=_0x2662ea[_0x4c091e];if(!_0x14fc1b||typeof _0x14fc1b!=_0x425839(_0x1367d9._0x373f21,0x4e4,_0x1367d9._0x3823c1,_0x1367d9._0x6092d0))continue;let _0x37aba0=_0x14fc1b;if(_0x37aba0[_0x425839(0x518,_0x1367d9._0x2e4b90,_0x1367d9._0x193d0a,0x4ec)]===_0x425839(0x504,0x4e2,_0x1367d9._0x8bc2a7,0x4c5)){let _0x4752ec=_0x37aba0[_0x425839(0x4bc,0x4cf,_0x1367d9._0xa91769,_0x1367d9._0x5d0547)];_0x10771b=typeof _0x4752ec=='string'?_0x4752ec:'';break;}}let _0x510516=_0x1b7a1f?.[_0x29a4a4(0x541,_0x1367d9._0x3aa0b4,0x52f,_0x1367d9._0x18b424)],_0x40e78a=_0x510516&&_0x510516[_0x425839(_0x1367d9._0x57574f,_0x1367d9._0x258c23,0x4cb,_0x1367d9._0x536ec1)]>0x0?_0x510516[0x0]:null,_0x330ad3=_0x40e78a&&typeof _0x40e78a==_0x29a4a4(_0x1367d9._0x33569b,_0x1367d9._0x51e2eb,0x51c,_0x1367d9._0x56436a)&&_0x29a4a4(_0x1367d9._0x5e3d80,_0x1367d9._0x1f4bc6,_0x1367d9._0x21661d,0x530)in _0x40e78a?_0x40e78a[_0x425839(0x4ed,0x4c9,_0x1367d9._0x1cacbf,_0x1367d9._0xced1c1)]:void 0x0,_0x3a73f1=new Date(parseInt(_0x59bfbe,0xa))[_0x425839(_0x1367d9._0x12ed0c,0x4e6,_0x1367d9._0x50e487,0x4e4)]();_0x2c755d['push']({'sessionId':_0x59bfbe,'timestamp':_0x3a73f1,'lastMessage':_0x10771b,'messageCount':_0x2662ea[_0x29a4a4(_0x1367d9._0x4127c4,_0x1367d9._0x1e3a7e,_0x1367d9._0x5a2631,0x539)],'topic':_0x330ad3});}catch{}}return j[_0x29a4a4(_0x1367d9._0x4f18d6,_0x1367d9._0x3e94df,_0x1367d9._0x4f18d6,_0x1367d9._0x1a588b)](_0xb500d1,{'timestamp':Date[_0x29a4a4(0x588,_0x1367d9._0x13058c,_0x1367d9._0x1ded6a,0x53f)](),'data':_0x2c755d}),_0x2c755d;}finally{k['delete'](_0xb500d1);}})());return k[_0x351216(-_0x2ea22d._0x433712,-_0x2ea22d._0x312afd,-0x210,-0x209)](_0xb500d1,_0x25904d),_0x25904d;},H=async _0xe9841b=>{const _0x5c7afa={_0x54c5cc:0x1f8,_0x33dd7b:0x21b,_0x50c76d:0x1d6,_0x7f4b12:0x1d0,_0x41ac1d:0x1cf,_0x2be9e5:0x1c2,_0x4f6e09:0x1c3},_0x11483b={_0x2b3fda:0x18c,_0x508041:0xcf},_0x1fb33c={_0x3208bd:0x5a9,_0x335be6:0x180,_0x38acc9:0x177};let _0x46220f=_0xe9841b??String(Date[_0x547bec(_0x5c7afa._0x54c5cc,0x1f7,_0x5c7afa._0x33dd7b,_0x5c7afa._0x50c76d)]()),_0x1fc620=p(),_0x3abfd2=_0x22ae5b[_0x547bec(_0x5c7afa._0x7f4b12,0x1c7,_0x5c7afa._0x41ac1d,0x1f1)](_0x1fc620,_0x46220f);function _0x1194c4(_0x3c1f55,_0x203899,_0x5a451b,_0x10291c){return _0x4c6f15(_0x203899-_0x1fb33c._0x3208bd,_0x203899-_0x1fb33c._0x335be6,_0x5a451b-_0x1fb33c._0x38acc9,_0x5a451b);}try{await _0x52d301[_0x547bec(0x1d9,_0x5c7afa._0x2be9e5,_0x5c7afa._0x4f6e09,0x1bc)](_0x3abfd2,{'recursive':!0x0});}catch{}function _0x547bec(_0x10cf6d,_0x52253e,_0x49f13a,_0x1852a0){return _0x33ec4c(_0x10cf6d-0x31,_0x10cf6d- -_0x11483b._0x2b3fda,_0x52253e,_0x1852a0-_0x11483b._0x508041);}return{'sessionId':_0x46220f,'sessionDir':_0x3abfd2};},_=async _0x3e02c9=>{const _0x5da466={_0x366f8b:0x203,_0x5b7c75:0x217,_0xc5fe33:0x1e3,_0x5e4d6d:0x1f1,_0x488bfc:0x20b,_0x4ad36c:0x222,_0x490a1d:0x225,_0x1e069d:0x231,_0x35ffb5:0x262,_0x1a362f:0x224,_0x3c395e:0x222,_0x1f6a4c:0x1f9,_0x30e355:0x21a,_0x56a3ed:0x1cd,_0x68aefb:0x1c1,_0x19fb0c:0x1ca,_0x460a7c:0x1e4,_0x542125:0x1fe,_0x1959df:0x1ec,_0x3284ca:0x1ed,_0x18996c:0x1fa,_0x337d90:0x1b6,_0xc2da3b:0x1b4,_0x34a14a:0x1cb,_0x4dbfe0:0x205},_0x5960d6={_0x32f39a:0xd,_0x4c2e18:0x39};function _0x48b488(_0x42e90b,_0x1aef9d,_0x2a8df6,_0x3e570a){return _0x4c6f15(_0x42e90b- -0xea,_0x1aef9d-_0x5960d6._0x32f39a,_0x2a8df6-_0x5960d6._0x4c2e18,_0x3e570a);}function _0x5c73b0(_0x247e0d,_0x1a485d,_0xddeb40,_0x48f0e3){return _0x33ec4c(_0x247e0d-0x14c,_0xddeb40- -0x171,_0x1a485d,_0x48f0e3-0x176);}try{let _0xc9757=await I(_0x3e02c9);if(!_0xc9757)return{'kind':_0x48b488(-_0x5da466._0x366f8b,-_0x5da466._0x5b7c75,-0x22e,-_0x5da466._0xc5fe33),'reason':_0x5c73b0(0x205,0x1f4,_0x5da466._0x5e4d6d,0x1f6)};let _0x228c75=_0xc9757[_0x48b488(-_0x5da466._0x488bfc,-_0x5da466._0x4ad36c,-0x222,-_0x5da466._0x490a1d)]||[];if(_0x228c75[_0x48b488(-0x247,-_0x5da466._0x1e069d,-_0x5da466._0x35ffb5,-_0x5da466._0x1a362f)]===0x0)return{'kind':_0x48b488(-_0x5da466._0x366f8b,-0x1e8,-_0x5da466._0x3c395e,-_0x5da466._0x1f6a4c),'reason':'no_messages'};let {processMessageToUILines:_0xc3a9f9}=await import(_0x48b488(-0x220,-0x220,-_0x5da466._0x30e355,-0x241)),_0x3afcec=[];for(let _0x37c45f of _0x228c75)_0x3afcec[_0x5c73b0(0x1e5,_0x5da466._0x56a3ed,_0x5da466._0x68aefb,0x1b2)](..._0xc3a9f9(_0x37c45f));let _0xaa2978=null;for(let _0x3e25a3=_0x228c75[_0x5c73b0(0x1b4,_0x5da466._0x19fb0c,0x1cb,_0x5da466._0x460a7c)]-0x1;_0x3e25a3>=0x0;_0x3e25a3--)if(_0x228c75[_0x3e25a3][_0x5c73b0(_0x5da466._0x542125,0x1d8,_0x5da466._0x1959df,_0x5da466._0x488bfc)]===_0x5c73b0(0x1dd,0x214,_0x5da466._0x3284ca,_0x5da466._0x18996c)){_0xaa2978={'promptTokens':0x0,'completionTokens':0x0,'totalTokens':0x0};break;}return{'kind':'messages','lines':_0x3afcec,'metadata':_0xaa2978,'cliMessages':_0x228c75,'count':_0x228c75[_0x5c73b0(_0x5da466._0x337d90,_0x5da466._0xc2da3b,_0x5da466._0x34a14a,0x1dd)]};}catch{return{'kind':_0x5c73b0(_0x5da466._0x4dbfe0,0x203,0x20f,0x23a),'reason':_0x5c73b0(0x1fd,0x1ed,0x1f1,0x1f6)};}},K=async _0x3bd17a=>{const _0x28feef={_0x35cf83:0x3f},_0x5439ee={_0x25107e:0x15a};function _0x153b7c(_0x5020d2,_0x266ffa,_0x3d2229,_0x265be4){return _0x4c6f15(_0x5020d2-0x13b,_0x266ffa-0x1d3,_0x3d2229-_0x5439ee._0x25107e,_0x3d2229);}let _0x5e4236=p(),_0x47ff92=_0x22ae5b['join'](_0x5e4236,_0x3bd17a,_0x153b7c(0x1d,0x1d,0x7,_0x28feef._0x35cf83));return _(_0x47ff92);},Y=_0x1a1ad0=>_0x22ae5b['join'](p(),_0x1a1ad0),Z=()=>{let [_0x145103,_0x559b8a]=_0x2e9303([]);return{'availableSessions':_0x145103,'setAvailableSessions':_0x559b8a,'scanAvailableSessions':J,'loadSessionHistory':K,'loadHistoryFromFile':_,'createNewSession':H};};function _0x235d(_0x45fa49,_0x4b751e){_0x45fa49=_0x45fa49-0x141;const _0x33ace4=_0x33ac();let _0x235d2c=_0x33ace4[_0x45fa49];if(_0x235d['ZWgdEW']===undefined){var _0x3066fe=function(_0x2d3037){const _0x51184e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2e9303='',_0x167345='';for(let _0x52d301=0x0,_0x22ae5b,_0x2b7300,_0x50809b=0x0;_0x2b7300=_0x2d3037['charAt'](_0x50809b++);~_0x2b7300&&(_0x22ae5b=_0x52d301%0x4?_0x22ae5b*0x40+_0x2b7300:_0x2b7300,_0x52d301++%0x4)?_0x2e9303+=String['fromCharCode'](0xff&_0x22ae5b>>(-0x2*_0x52d301&0x6)):0x0){_0x2b7300=_0x51184e['indexOf'](_0x2b7300);}for(let _0x586cec=0x0,_0x1510ac=_0x2e9303['length'];_0x586cec<_0x1510ac;_0x586cec++){_0x167345+='%'+('00'+_0x2e9303['charCodeAt'](_0x586cec)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x167345);};_0x235d['hCjhaC']=_0x3066fe,_0x235d['pkhtxK']={},_0x235d['ZWgdEW']=!![];}const _0x400557=_0x33ace4[0x0],_0x515817=_0x45fa49+_0x400557,_0x47e529=_0x235d['pkhtxK'][_0x515817];return!_0x47e529?(_0x235d2c=_0x235d['hCjhaC'](_0x235d2c),_0x235d['pkhtxK'][_0x515817]=_0x235d2c):_0x235d2c=_0x47e529,_0x235d2c;}export{V as a,J as b,H as c,_ as d,K as e,Y as f,Z as g};