@p697/clawket 0.3.5 → 0.3.7

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x57eedd,_0x2fd0fe){const _0x513ca6={_0x24605c:0x247,_0x389630:0x39f,_0x8e1b3d:0x50b,_0x480249:0x1be,_0x44d2bc:0x2,_0x95f910:0x3f5,_0x3cc8bf:0x3ca,_0x241989:0xbb,_0x3fe217:0x18d,_0x5a294e:0x545,_0xc626db:0x68a,_0x2fefc5:0x441,_0x1453cd:0x649,_0x462a0b:0x2d3,_0x5a4729:0x2f1,_0x53ea16:0x24e},_0x3d9005={_0x315b79:0x29d},_0x591b54={_0x52f0a2:0x1d},_0x2d746b=_0x57eedd();function _0xde1370(_0x3c1dd7,_0x43ee32){return _0x483f(_0x43ee32-_0x591b54._0x52f0a2,_0x3c1dd7);}function _0x4de675(_0x1b0672,_0x4ade94){return _0x483f(_0x1b0672- -_0x3d9005._0x315b79,_0x4ade94);}while(!![]){try{const _0x4e38f2=-parseInt(_0x4de675(_0x513ca6._0x24605c,0x77))/0x1*(parseInt(_0x4de675(0x35a,0x2a7))/0x2)+parseInt(_0x4de675(_0x513ca6._0x389630,_0x513ca6._0x8e1b3d))/0x3*(parseInt(_0x4de675(_0x513ca6._0x480249,0xc0))/0x4)+-parseInt(_0x4de675(_0x513ca6._0x44d2bc,0x255))/0x5*(-parseInt(_0x4de675(_0x513ca6._0x95f910,_0x513ca6._0x3cc8bf))/0x6)+parseInt(_0xde1370(0x582,0x637))/0x7*(-parseInt(_0x4de675(-_0x513ca6._0x241989,-_0x513ca6._0x3fe217))/0x8)+parseInt(_0xde1370(_0x513ca6._0x5a294e,0x5a0))/0x9*(-parseInt(_0xde1370(_0x513ca6._0xc626db,0x605))/0xa)+-parseInt(_0xde1370(_0x513ca6._0x2fefc5,_0x513ca6._0x1453cd))/0xb+-parseInt(_0xde1370(_0x513ca6._0x462a0b,_0x513ca6._0x5a4729))/0xc*(-parseInt(_0x4de675(_0x513ca6._0x53ea16,0xa1))/0xd);if(_0x4e38f2===_0x2fd0fe)break;else _0x2d746b['push'](_0x2d746b['shift']());}catch(_0x27470a){_0x2d746b['push'](_0x2d746b['shift']());}}}(_0x2fe6,0x473ba));const _0x5be685=(function(){let _0xd9fa6c=!![];return function(_0x3d2335,_0x4e14bb){const _0x386453={_0x2f59e0:0x111},_0x1595cd=_0xd9fa6c?function(){function _0x235dbe(_0x188e26,_0x5a930a){return _0x483f(_0x188e26- -0x1e9,_0x5a930a);}if(_0x4e14bb){const _0x5e851f=_0x4e14bb[_0x235dbe(0x144,_0x386453._0x2f59e0)](_0x3d2335,arguments);return _0x4e14bb=null,_0x5e851f;}}:function(){};return _0xd9fa6c=![],_0x1595cd;};}()),_0x5a0693=_0x5be685(this,function(){const _0x59ef41={_0x158d96:0x534,_0x389ed9:0x73d,_0x54a19a:0x72c,_0x477c2c:0x4fd,_0x544571:0x9ce,_0x50a878:0x9d0,_0x421f93:0x5ef,_0x340e54:0x928,_0x1da22e:0x944,_0x40dff4:0x540,_0xe162af:0x484,_0x31d24a:0xac4},_0x31480a={_0x56fafe:0x32f},_0x42933f={};function _0x1691ce(_0x2ebc60,_0x4a4a59){return _0x483f(_0x4a4a59-0x1ff,_0x2ebc60);}function _0x64eda6(_0x14e0db,_0x3f6fd9){return _0x483f(_0x14e0db-_0x31480a._0x56fafe,_0x3f6fd9);}_0x42933f['CSCeA']=_0x1691ce(_0x59ef41._0x158d96,_0x59ef41._0x389ed9)+_0x64eda6(0x8f4,0x6ce);const _0x5d2582=_0x42933f;return _0x5a0693[_0x64eda6(_0x59ef41._0x54a19a,_0x59ef41._0x477c2c)]()[_0x64eda6(_0x59ef41._0x544571,_0x59ef41._0x50a878)](_0x5d2582[_0x64eda6(_0x59ef41._0x421f93,0x5b2)])[_0x1691ce(0x41f,0x5fc)]()[_0x64eda6(_0x59ef41._0x340e54,_0x59ef41._0x1da22e)+_0x1691ce(_0x59ef41._0x40dff4,_0x59ef41._0xe162af)](_0x5a0693)[_0x1691ce(_0x59ef41._0x31d24a,0x89e)](_0x5d2582[_0x1691ce(0x59e,0x4bf)]);});_0x5a0693();import _0x15072f from'qrcode-terminal';import{readFileSync as _0x33b6c6}from'fs';import{Socket}from'net';import{homedir as _0x5d5628}from'os';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0x2420cb(0x8a2,0x879)),CONFIG_PATH=join(CONFIG_DIR,_0x410a57(0x158,0x8a)+_0x2420cb(0x64e,0x41e));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x529c21={_0x431ff5:0x209,_0x4c6167:0xfd,_0x2288cc:0x659,_0x3f23c5:0x1a2,_0x3da5fa:0x486,_0x493028:0x45b,_0x5ab27b:0x5a1,_0x33300c:0x58c,_0xb1d557:0x4e4,_0x3dfdb4:0x1de,_0x5b3248:0xb4,_0x441b3f:0x286,_0x414177:0x48f,_0x238175:0x315,_0x318884:0x32d,_0x52964c:0x3a4,_0x55b99f:0x321,_0x54b3c4:0x579,_0x2f1c57:0x42f,_0x43fde5:0x37c,_0x40181e:0xa9,_0x597f0a:0x104},_0x29d1da={};function _0x19ae42(_0x17d6f1,_0x51a669){return _0x410a57(_0x51a669,_0x17d6f1-0x35d);}_0x29d1da[_0x19ae42(_0x529c21._0x431ff5,_0x529c21._0x4c6167)]='utf8',_0x29d1da['JXqqs']=function(_0x5bf2fa,_0x1286ce){return _0x5bf2fa!==_0x1286ce;};const _0x2f659f=_0x29d1da;function _0x208f19(_0x24f5cf,_0x5aa299){return _0x410a57(_0x24f5cf,_0x5aa299-0x1ce);}if(!existsSync(CONFIG_PATH))return null;try{const _0x52b221=JSON[_0x208f19(_0x529c21._0x2288cc,0x461)](readFileSync(CONFIG_PATH,_0x2f659f[_0x208f19(-_0x529c21._0x3f23c5,0x7a)]));if(!_0x52b221[_0x19ae42(0x45b,0x3bd)+'l']||!_0x52b221[_0x19ae42(0x40e,0x60f)+'d']||!_0x52b221[_0x19ae42(0x5c4,0x392)+_0x208f19(_0x529c21._0x3da5fa,0x3fd)]||!_0x52b221[_0x19ae42(0x1de,0x384)])return null;const _0x6c3e24={'serverUrl':_0x52b221[_0x19ae42(_0x529c21._0x493028,_0x529c21._0x5ab27b)+'l'],'gatewayId':_0x52b221[_0x208f19(0xc0,0x27f)+'d'],'relaySecret':_0x52b221[_0x19ae42(0x5c4,0x5ca)+_0x19ae42(_0x529c21._0x33300c,_0x529c21._0xb1d557)],'relayUrl':_0x52b221[_0x19ae42(_0x529c21._0x3dfdb4,_0x529c21._0x5b3248)],'instanceId':_0x52b221['instance'+'Id']?.['trim']()||createInstanceId(),'displayName':_0x52b221[_0x208f19(_0x529c21._0x441b3f,0x4dd)+_0x19ae42(_0x529c21._0x414177,_0x529c21._0x238175)]??null,'createdAt':_0x52b221[_0x208f19(_0x529c21._0x318884,_0x529c21._0x52964c)+'t']??new Date()[_0x19ae42(_0x529c21._0x55b99f,0x1ab)+_0x208f19(0x3ef,0x2a0)](),'updatedAt':_0x52b221[_0x19ae42(0x310,0x37c)+'t']??new Date()[_0x19ae42(_0x529c21._0x55b99f,_0x529c21._0x54b3c4)+_0x19ae42(_0x529c21._0x2f1c57,_0x529c21._0x43fde5)]()};return _0x2f659f[_0x208f19(_0x529c21._0x40181e,0x2cd)](_0x52b221[_0x208f19(-0x11f,_0x529c21._0x597f0a)+'Id'],_0x6c3e24[_0x19ae42(0x293,0x136)+'Id'])&&writePairingConfig(_0x6c3e24),_0x6c3e24;}catch{return null;}}function writePairingConfig(_0x24775d){const _0x3353df={_0x259421:0x2a7,_0x50b172:0x358,_0x4f2dd4:0x25d},_0x2fc177={_0x3c2640:0x584},_0xb29baf={'GygqV':function(_0x475c45,_0x15ed80,_0x1e0623,_0x4f9047){return _0x475c45(_0x15ed80,_0x1e0623,_0x4f9047);}},_0x310293={};function _0x51f9b9(_0x31afea,_0x32ce71){return _0x2420cb(_0x32ce71- -0x4b7,_0x31afea);}_0x310293['recursiv'+'e']=!![],mkdirSync(CONFIG_DIR,_0x310293);function _0x480bd1(_0x26cc4d,_0x23568e){return _0x2420cb(_0x23568e- -_0x2fc177._0x3c2640,_0x26cc4d);}_0xb29baf[_0x480bd1(0x4f3,_0x3353df._0x259421)](writeFileSync,CONFIG_PATH,JSON[_0x480bd1(_0x3353df._0x50b172,_0x3353df._0x4f2dd4)+'y'](_0x24775d,null,0x2)+'\x0a','utf8');}function deletePairingConfig(){if(!existsSync(CONFIG_PATH))return;const _0x5c4328={};_0x5c4328['force']=!![],rmSync(CONFIG_PATH,_0x5c4328);}function getDefaultBridgeDisplayName(){const _0x5d84e9={_0x38f04f:0x84,_0x45d21e:0x2b1,_0x26bab4:0x1fd},_0x1dab24={_0x339aa1:0x14a},_0x517d36={_0x2a60ee:0x677},_0xa95d98={'WbKpC':function(_0x3fa3d5){return _0x3fa3d5();},'chcKM':function(_0x2a3b85){return _0x2a3b85();}},_0x430c1b=_0xa95d98['WbKpC'](readOpenClawDefaultAgentName);function _0x57d607(_0x151e4,_0x13335f){return _0x410a57(_0x151e4,_0x13335f-_0x517d36._0x2a60ee);}if(_0x430c1b)return _0x430c1b;try{const _0x524c70=_0xa95d98[_0x4ae0e2(_0x5d84e9._0x38f04f,_0x5d84e9._0x45d21e)](userInfo)['username']['trim']();if(_0x524c70)return _0x524c70;}catch{}function _0x4ae0e2(_0x15af23,_0x2fb17b){return _0x410a57(_0x15af23,_0x2fb17b-_0x1dab24._0x339aa1);}const _0x3a013c=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x4ae0e2(-_0x5d84e9._0x26bab4,0x23)]();if(_0x3a013c)return _0x3a013c;return hostname()['trim']()||'Clawket\x20'+_0x57d607(0x956,0x821);}function pickOpenClawDefaultAgentName(_0x566e27){const _0xb69469={_0x3468c9:0x199,_0x34b875:0xc1,_0x38ad66:0x233,_0x2faf0f:0xa2,_0x301cf4:0x167,_0x39fec7:0x368,_0x10d0f9:0x1cb,_0x1c51ff:0x145,_0x2f4803:0x35f},_0x4ab4b5={_0x3ae504:0x665},_0x3a220a={};_0x3a220a[_0x2401e8(-_0xb69469._0x3468c9,-_0xb69469._0x34b875)]=_0x2401e8(0x130,_0xb69469._0x38ad66);const _0x23af20=_0x3a220a;if(!_0x566e27||typeof _0x566e27!==_0x23af20[_0x569061(-0x1f0,-_0xb69469._0x2faf0f)])return null;const _0x4d8fc9=_0x566e27[_0x569061(0xff,_0xb69469._0x301cf4)];function _0x569061(_0x1cc86b,_0x3a3121){return _0x2420cb(_0x3a3121- -_0x4ab4b5._0x3ae504,_0x1cc86b);}const _0x1f17be=Array[_0x2401e8(-_0xb69469._0x39fec7,-0x16b)](_0x4d8fc9?.[_0x2401e8(0x1af,_0xb69469._0x10d0f9)])?_0x4d8fc9[_0x2401e8(_0xb69469._0x1c51ff,_0xb69469._0x10d0f9)]:[],_0x51106f=_0x1f17be['find'](_0x46f1b5=>isDefaultAgent(_0x46f1b5))??_0x1f17be[_0x569061(0x425,_0xb69469._0x2f4803)](_0x34cf55=>hasAgentId(_0x34cf55,'main'))??_0x1f17be[0x0];function _0x2401e8(_0x3431f7,_0x32df95){return _0x2420cb(_0x32df95- -0x684,_0x3431f7);}return readAgentName(_0x51106f);}function createInstanceId(){const _0xdc0773={_0x959e9:0x5e0,_0x548ccc:0x62f,_0x185df7:0x1f0,_0x524dfd:0x70b,_0x38b671:0x4dc},_0x3a4e06={_0x125ed6:0x34f},_0x33aa69={_0x38e52a:0xa1};function _0x1ec0d1(_0x4b615b,_0x4829e6){return _0x2420cb(_0x4b615b-_0x33aa69._0x38e52a,_0x4829e6);}const _0x4f65e9={};function _0x4dbdb2(_0x19ae7c,_0x5f54e5){return _0x2420cb(_0x5f54e5- -_0x3a4e06._0x125ed6,_0x19ae7c);}_0x4f65e9[_0x1ec0d1(_0xdc0773._0x959e9,0x48f)]=_0x1ec0d1(_0xdc0773._0x548ccc,0x773);const _0x5b45ef=_0x4f65e9,_0x210295=sanitizeId(hostname()||_0x5b45ef[_0x4dbdb2(0x2a1,_0xdc0773._0x185df7)]);return _0x1ec0d1(0x78f,_0xdc0773._0x524dfd)+_0x210295+'-'+randomUUID()[_0x4dbdb2(_0xdc0773._0x38b671,0x62f)](0x0,0xa);}function sanitizeId(_0x7d79a4){const _0x3be22e={_0x2b523f:0x8e5,_0x5555c7:0x78a,_0x50a7d6:0x7d8,_0x4265c0:0x58f,_0x5e9e95:0x3f3},_0x1f7edf={_0x2f9b6b:0x1};function _0x43826b(_0x1325b2,_0x3f3288){return _0x2420cb(_0x1325b2-_0x1f7edf._0x2f9b6b,_0x3f3288);}function _0x20c767(_0x4fb3af,_0x4b755a){return _0x2420cb(_0x4b755a- -0x44,_0x4fb3af);}return _0x7d79a4['trim']()[_0x20c767(0x80d,0x7bc)+_0x20c767(_0x3be22e._0x2b523f,0x6be)]()[_0x20c767(0x70b,0x745)](/[^a-z0-9._-]+/g,'-')[_0x43826b(_0x3be22e._0x5555c7,_0x3be22e._0x50a7d6)](/^-+|-+$/g,'')||_0x43826b(_0x3be22e._0x4265c0,_0x3be22e._0x5e9e95);}function readOpenClawDefaultAgentName(){const _0x448c87={_0x125685:0x26};function _0x21c1de(_0x32784a,_0x17813d){return _0x2420cb(_0x17813d- -_0x448c87._0x125685,_0x32784a);}const _0x5274e3=resolveOpenClawConfigPath();if(!_0x5274e3||!existsSync(_0x5274e3))return null;try{const _0x582769=JSON[_0x21c1de(0xbbb,0x93d)](readFileSync(_0x5274e3,'utf8'));return pickOpenClawDefaultAgentName(_0x582769);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x40d69e={_0x46d8ef:0x6d,_0x3c3e16:0x7d2,_0x4eb73b:0x6c3,_0x261f3d:0x5c2},_0x5f40a3={_0x4e7e91:0x5f8},_0x2479f0={_0x361330:0x6aa};function _0x3c7d0e(_0x2294a6,_0x44a0cf){return _0x2420cb(_0x2294a6-0x1e,_0x44a0cf);}function _0x4181a6(_0x49fc76,_0x14415e){return _0x2420cb(_0x49fc76- -0x6e8,_0x14415e);}const _0x297ec2={'qdbBd':'/root','WorrT':function(_0x32e187,_0x45dfa9){return _0x32e187(_0x45dfa9);},'xSDVc':_0x4181a6(-0x144,-0x3a)+'.json'},_0x5e77b7=new Set(),_0x1ce2bc=[homedir(),_0x297ec2['qdbBd']][_0x4181a6(-0xce,-_0x40d69e._0x46d8ef)](_0x4eea9f=>_0x4eea9f['trim']())[_0x3c7d0e(0x6f8,_0x40d69e._0x3c3e16)](Boolean)[_0x3c7d0e(0x6f8,_0x40d69e._0x4eb73b)](_0x329262=>{function _0x196b47(_0x33b2b8,_0x1e0c5e){return _0x4181a6(_0x33b2b8-_0x2479f0._0x361330,_0x1e0c5e);}if(_0x5e77b7['has'](_0x329262))return![];return _0x5e77b7[_0x196b47(0x591,_0x5f40a3._0x4e7e91)](_0x329262),!![];});for(const _0x50d627 of _0x1ce2bc){const _0x3fedee=join(_0x50d627,_0x4181a6(-0x17d,-0x2e)+'w',_0x3c7d0e(_0x40d69e._0x261f3d,0x6dc)+'.json');if(_0x297ec2['WorrT'](existsSync,_0x3fedee))return _0x3fedee;}return _0x1ce2bc[0x0]?join(_0x1ce2bc[0x0],'.opencla'+'w',_0x297ec2[_0x4181a6(0x258,0x24e)]):null;}function isDefaultAgent(_0x327871){return Boolean(_0x327871&&typeof _0x327871==='object'&&_0x327871['default']===!![]);}function hasAgentId(_0x5501ff,_0xa9cd7c){const _0x1e4c14={_0x2ba00a:0x649,_0x2ff75d:0x499,_0x48583a:0x3f9,_0x384244:0x354,_0x544d2b:0x3d7,_0x4bc492:0x485},_0xe34d6b={_0x184d0e:0x54f},_0x139bb5={};function _0x18031d(_0x30b94b,_0x244fe4){return _0x2420cb(_0x244fe4- -0x563,_0x30b94b);}function _0x7288d6(_0x54e7d9,_0x460d24){return _0x2420cb(_0x460d24- -_0xe34d6b._0x184d0e,_0x54e7d9);}_0x139bb5[_0x7288d6(_0x1e4c14._0x2ba00a,_0x1e4c14._0x2ff75d)]=function(_0x2b479b,_0x15434f){return _0x2b479b===_0x15434f;};const _0x1bd407=_0x139bb5;return Boolean(_0x5501ff&&typeof _0x5501ff===_0x18031d(_0x1e4c14._0x48583a,_0x1e4c14._0x384244)&&_0x1bd407[_0x18031d(_0x1e4c14._0x544d2b,_0x1e4c14._0x4bc492)](typeof _0x5501ff['id'],_0x18031d(0x31d,0x49f))&&_0x5501ff['id'][_0x7288d6(0x170,0x5a)]()===_0xa9cd7c);}function readAgentName(_0x14ad13){const _0x26b9fc={_0x5d2cbc:0x28c,_0x28c580:0x45a,_0x1dfc5d:0x6d7,_0x31afb3:0x481,_0x51ecdd:0x581},_0x15d703={_0xb291e6:0x5a8},_0x2df5fa={_0x54f868:0xb7},_0x1e95fb={};function _0x2c33b9(_0x52322c,_0x2bf047){return _0x410a57(_0x2bf047,_0x52322c-_0x2df5fa._0x54f868);}function _0x52353b(_0x3eafc7,_0x3f51a6){return _0x410a57(_0x3f51a6,_0x3eafc7-_0x15d703._0xb291e6);}_0x1e95fb['JCANe']=function(_0x2e2789,_0x317835){return _0x2e2789===_0x317835;},_0x1e95fb['VTAJP']=_0x2c33b9(0x3e9,0x4c3);const _0x47d877=_0x1e95fb;if(!_0x14ad13||typeof _0x14ad13!=='object')return null;const _0x4eca02=_0x14ad13,_0xdd2572=_0x47d877['JCANe'](typeof _0x4eca02[_0x2c33b9(_0x26b9fc._0x5d2cbc,0x9b)]?.[_0x52353b(0x45a,0x39a)],_0x2c33b9(0x3e9,0x45b))?_0x4eca02['identity'][_0x52353b(_0x26b9fc._0x28c580,0x557)]['trim']():'';if(_0xdd2572)return _0xdd2572;const _0x2be7b5=typeof _0x4eca02['name']===_0x47d877[_0x52353b(_0x26b9fc._0x1dfc5d,0x4e0)]?_0x4eca02[_0x52353b(0x45a,0x4d5)][_0x52353b(_0x26b9fc._0x31afb3,_0x26b9fc._0x51ecdd)]():'';return _0x2be7b5||null;}function buildPairingQrPayload(_0xb06894){const _0x1d709d={_0x55d2b8:0x8b9,_0x532249:0x7c3,_0x37ea83:0x391,_0x124c90:0x4c5,_0x2ac09d:0x424,_0x1c1dda:0x3aa,_0x45ef3b:0x7b4,_0xdeb5ea:0x5dd,_0x18a461:0x4dc,_0x16b227:0x41b,_0x26ff94:0x946},_0x4b9dd6={};_0x4b9dd6['v']=0x2,_0x4b9dd6['k']='cp',_0x4b9dd6['s']=_0xb06894['server'],_0x4b9dd6['g']=_0xb06894[_0x3fa52e(0x826,_0x1d709d._0x55d2b8)+'d'],_0x4b9dd6['a']=_0xb06894['accessCo'+'de'];function _0x4d4b89(_0x1fce7b,_0xd0c950){return _0x2420cb(_0x1fce7b- -0xe4,_0xd0c950);}const _0x16c460=_0x4b9dd6;_0xb06894['displayN'+_0x4d4b89(0x71e,_0x1d709d._0x532249)]?.[_0x4d4b89(0x4c5,_0x1d709d._0x37ea83)]()&&(_0x16c460['n']=_0xb06894[_0x3fa52e(0xa84,0x8e0)+'ame'][_0x4d4b89(_0x1d709d._0x124c90,0x372)]());function _0x3fa52e(_0x1228fb,_0x179429){return _0x2420cb(_0x1228fb-0xa5,_0x179429);}return _0xb06894[_0x4d4b89(_0x1d709d._0x2ac09d,_0x1d709d._0x1c1dda)]?.['trim']()&&(_0x16c460['t']=_0xb06894[_0x3fa52e(0x5ad,_0x1d709d._0x45ef3b)][_0x4d4b89(_0x1d709d._0x124c90,_0x1d709d._0xdeb5ea)]()),_0xb06894[_0x4d4b89(0x734,_0x1d709d._0x18a461)]?.[_0x4d4b89(0x4c5,_0x1d709d._0x16b227)]()&&(_0x16c460['p']=_0xb06894[_0x3fa52e(0x8bd,_0x1d709d._0x26ff94)][_0x4d4b89(0x4c5,0x306)]()),JSON['stringif'+'y'](_0x16c460);}function buildGatewayQrPayload(_0x4a5a33){const _0x4fe61b={_0x35b12d:0x30c,_0x137f68:0x2a8,_0x143c81:0x416,_0x541604:0xa6,_0x52ba28:0x290,_0x435f7b:0x42d,_0x2cba3e:0x30b,_0x17b306:0x30f,_0x19bb55:0x134,_0x50b7f7:0x14,_0x28fe46:0x26a,_0x48579b:0x422,_0x56a2ca:0x1d5,_0x22963b:0x751,_0x5795ee:0x171,_0x462c2e:0x7b3,_0x1fbe11:0x543};function _0x4e908a(_0xebebaa,_0x596bcd){return _0x410a57(_0xebebaa,_0x596bcd-0x2fc);}function _0x577ceb(_0x2fc94c,_0x4e3c12){return _0x410a57(_0x2fc94c,_0x4e3c12-0x432);}const _0xf9390f=normalizeGatewayQrUrl(_0x4a5a33['gatewayU'+'rl']),_0x4ffe24={'url':_0xf9390f[_0x4e908a(_0x4fe61b._0x35b12d,_0x4fe61b._0x137f68)],'host':_0xf9390f[_0x4e908a(_0x4fe61b._0x143c81,0x1ba)],'port':_0xf9390f[_0x577ceb(0x4c4,0x5a7)],'tls':_0xf9390f[_0x4e908a(_0x4fe61b._0x541604,0x217)],'mode':'gateway','expiresAt':_0x4a5a33['expiresA'+'t']??Date[_0x4e908a(0xd9,_0x4fe61b._0x52ba28)]()+0xa*0x3c*0x3e8,'qrVersion':0x2};return _0x4a5a33[_0x577ceb(0xc2,0x26a)]?.[_0x577ceb(_0x4fe61b._0x435f7b,_0x4fe61b._0x2cba3e)]()&&(_0x4ffe24[_0x4e908a(_0x4fe61b._0x17b306,_0x4fe61b._0x19bb55)]=_0x4a5a33[_0x577ceb(_0x4fe61b._0x50b7f7,_0x4fe61b._0x28fe46)][_0x4e908a(_0x4fe61b._0x48579b,_0x4fe61b._0x56a2ca)]()),_0x4a5a33['password']?.[_0x4e908a(0x334,0x1d5)]()&&(_0x4ffe24[_0x577ceb(0x653,0x57a)]=_0x4a5a33[_0x577ceb(_0x4fe61b._0x22963b,0x57a)][_0x577ceb(_0x4fe61b._0x5795ee,_0x4fe61b._0x2cba3e)]()),JSON[_0x577ceb(_0x4fe61b._0x462c2e,_0x4fe61b._0x1fbe11)+'y'](_0x4ffe24);}function normalizeGatewayQrUrl(_0x33827d){const _0x356d05={_0x54c46b:0x2cf,_0x17902d:0x520,_0x22b4d7:0x69,_0x2b3503:0xdd,_0x43b23b:0x6fd,_0x3af684:0x66e,_0x4e4d3d:0x769,_0x116cfb:0x520,_0x278927:0x111,_0x3fd293:0x2bb,_0x14ed8a:0x1b0,_0x2d39ee:0x24d},_0x17c36={_0x5bf3fa:0x75a},_0x417191={};_0x417191[_0x4333c5(_0x356d05._0x54c46b,_0x356d05._0x17902d)]=function(_0x4d6293,_0x459460){return _0x4d6293===_0x459460;};const _0x52ba5d=_0x417191,_0x108e1a=new URL(_0x33827d[_0x4333c5(-_0x356d05._0x22b4d7,_0x356d05._0x2b3503)]()),_0x41df42=_0x52ba5d[_0x3b77f4(0x81d,0xa76)](_0x108e1a['protocol'],'wss:')||_0x108e1a[_0x3b77f4(0x565,0x571)]===_0x4333c5(0x2d4,0x226),_0x5cc9e1=_0x41df42?'wss:':_0x3b77f4(_0x356d05._0x43b23b,_0x356d05._0x3af684),_0x4c30ad=_0x108e1a['hostname'],_0x2713a0=_0x108e1a['port']?Number(_0x108e1a[_0x4333c5(0x13d,0x379)]):_0x41df42?0x1bb:0x50;function _0x3b77f4(_0x4cecd9,_0x19656d){return _0x410a57(_0x4cecd9,_0x19656d-_0x17c36._0x5bf3fa);}const _0xb16cbd=!_0x108e1a['pathname']||_0x52ba5d[_0x4333c5(_0x356d05._0x4e4d3d,_0x356d05._0x116cfb)](_0x108e1a['pathname'],'')?'/':_0x108e1a[_0x4333c5(0x147,_0x356d05._0x278927)];function _0x4333c5(_0x4b0191,_0x360edb){return _0x410a57(_0x4b0191,_0x360edb-0x204);}const _0x2b2975={};return _0x2b2975[_0x4333c5(_0x356d05._0x3fd293,_0x356d05._0x14ed8a)]=_0x5cc9e1+'//'+_0x4c30ad+':'+_0x2713a0+_0xb16cbd,_0x2b2975['host']=_0x4c30ad,_0x2b2975[_0x4333c5(_0x356d05._0x2d39ee,0x379)]=_0x2713a0,_0x2b2975[_0x3b77f4(0xb54,0xa1c)]=_0xb16cbd,_0x2b2975['tls']=_0x41df42,_0x2b2975;}var DEFAULT_REGISTRY_BASE=_0x410a57(0xde,-0x158)+_0x410a57(-0x2d0,-0x66)+'.clawket'+_0x410a57(-0xa9,0x97),DEFAULT_REGISTRY_FALLBACK_BASE=_0x410a57(-0x16,-0x158)+_0x2420cb(0x62c,0x3a5)+_0x410a57(0x145,-0x66)+_0x2420cb(0x8a2,0xabb)+_0x410a57(-0x28a,0xb)+_0x2420cb(0x501,0x677);async function pairGateway(_0x2096a3){const _0xa1d67f={_0xcea210:0xb6,_0x551927:0x96,_0x2a2fa9:0x276,_0x457f61:0x300,_0x1fbc7f:0x128,_0x1bd1ee:0x440,_0x5a16d5:0x203,_0x75e5da:0x926,_0x2f84a4:0x6e,_0x11cdcc:0x2e,_0x51b979:0x9c,_0x362636:0x363,_0x512cef:0x32c,_0x31c572:0x4aa,_0x52be61:0x843,_0x4e4636:0x45f,_0xbd4371:0x417,_0x4ef851:0x2fd,_0x2da039:0x257,_0x8d6894:0x8f0,_0x3bf173:0x8ab,_0x181c5e:0x279,_0x3da5c1:0x38c,_0x2d2641:0x8cf,_0x19e4a4:0x1cf,_0x5beb4b:0x7ff,_0x4b0d7c:0x4d4,_0x436b11:0x40d,_0x1bcb80:0x311,_0xcd751d:0x319,_0x2b6638:0x481,_0x58059e:0x5ee,_0x2d1805:0x1e2,_0x2e883b:0x47c,_0xfd061d:0x3e0,_0x2f3581:0x4d7,_0x535c9e:0x8b,_0x29c5fe:0x1e3,_0x46d70a:0x9,_0x43fb97:0x260,_0x25be55:0x9,_0xe3c254:0xe5,_0x49cf71:0x95,_0x3446a5:0x1a7,_0x41cc3f:0x1a3,_0x3b373e:0x8af,_0x27a192:0x6c8,_0x8ff598:0x338,_0x5f8d6e:0x679,_0x34c5bc:0x846,_0x404da7:0x345,_0x4c2395:0xef,_0x19c632:0x831,_0xf4a136:0x926,_0x5a41c0:0x4b6,_0x34cc56:0x3e1,_0x535dc3:0x608,_0x25610e:0x1f5,_0x43fe71:0x657,_0x26687d:0x7cd,_0x2507f3:0x12d,_0x4dcba0:0x114,_0x1e8a23:0x4f0,_0x30158f:0x9f,_0x1b63f3:0x10e},_0xc9aee8={_0x412a11:0xb9},_0x1249c8={_0xbeb528:0x5ff};function _0x4ab676(_0x399c8a,_0x951a69){return _0x2420cb(_0x951a69- -_0x1249c8._0xbeb528,_0x399c8a);}const _0x434d38={};_0x434d38['bCNQa']=function(_0x2b93ef,_0x4e5845){return _0x2b93ef===_0x4e5845;},_0x434d38['FxYtA']=_0x4ab676(-0x1d9,_0xa1d67f._0xcea210);const _0x3d8d56=_0x434d38,_0x3dfe83=normalizeHttpBase(_0x2096a3[_0x4ab676(0x312,0x1cf)+'l']),_0x34d003=readPairingConfig();function _0x5b96b5(_0xeb56eb,_0x61f263){return _0x2420cb(_0x61f263- -_0xc9aee8._0x412a11,_0xeb56eb);}const _0x58cf42=assessPairingCompatibility(_0x34d003,_0x3dfe83);if(_0x58cf42===_0x4ab676(0x1f9,_0xa1d67f._0x551927)+_0x4ab676(_0xa1d67f._0x2a2fa9,0x39)&&_0x34d003){const _0x360c5d={};return _0x360c5d['serverUr'+'l']=_0x34d003[_0x4ab676(-0x98,0x1cf)+'l'],_0x360c5d[_0x4ab676(0xbf,0x182)+'d']=_0x34d003[_0x5b96b5(0x866,0x6c8)+'d'],_0x360c5d[_0x4ab676(0x107,0x338)+_0x4ab676(0x292,_0xa1d67f._0x457f61)]=_0x34d003[_0x4ab676(_0xa1d67f._0x1fbc7f,0x338)+_0x5b96b5(0x670,0x846)],_0x360c5d[_0x4ab676(0x41d,0x3e0)+_0x4ab676(_0xa1d67f._0x1bd1ee,_0xa1d67f._0x5a16d5)]=_0x2096a3[_0x5b96b5(0x8aa,_0xa1d67f._0x75e5da)+'ame'],_0x360c5d[_0x4ab676(_0xa1d67f._0x2f84a4,-0x114)+_0x4ab676(-_0xa1d67f._0x11cdcc,-_0xa1d67f._0x51b979)]=_0x2096a3[_0x5b96b5(_0xa1d67f._0x362636,0x432)+_0x5b96b5(_0xa1d67f._0x512cef,_0xa1d67f._0x31c572)],_0x360c5d[_0x5b96b5(0x805,_0xa1d67f._0x52be61)+_0x5b96b5(_0xa1d67f._0x4e4636,0x4a7)]=_0x2096a3[_0x4ab676(_0xa1d67f._0xbd4371,_0xa1d67f._0x4ef851)+'assword'],refreshAccessCode(_0x360c5d);}if(_0x3d8d56[_0x4ab676(_0xa1d67f._0x2da039,0x377)](_0x58cf42,_0x5b96b5(0x9a3,_0xa1d67f._0x8d6894)+_0x5b96b5(0x852,0x698)))throw new Error('This\x20bri'+'dge\x20is\x20a'+_0x5b96b5(_0xa1d67f._0x3bf173,0x71c)+_0x4ab676(_0xa1d67f._0x181c5e,_0xa1d67f._0x3da5c1)+_0x5b96b5(0x6e1,_0xa1d67f._0x2d2641)+_0x34d003?.[_0x4ab676(0x3dd,_0xa1d67f._0x19e4a4)+'l']+(_0x5b96b5(_0xa1d67f._0x5beb4b,0x8c2)+'lawket\x20r'+_0x5b96b5(0x643,0x800)+'fore\x20pai'+'ring\x20wit'+_0x5b96b5(0x447,0x4d2)+_0x5b96b5(_0xa1d67f._0x4b0d7c,0x475)+'rver.'));const _0xc5657={};_0xc5657[_0x4ab676(_0xa1d67f._0x436b11,0x2c0)+_0x5b96b5(0x7da,0x92a)]='applicat'+_0x5b96b5(0x379,0x60d),_0xc5657['accept']=_0x4ab676(_0xa1d67f._0x1bcb80,0xf1)+_0x5b96b5(0x6c8,0x60d);const _0x2d531a=await postJsonWithCloudflareFallback(_0x3dfe83+(_0x5b96b5(_0xa1d67f._0xcd751d,_0xa1d67f._0x2b6638)+'/registe'+'r'),{'method':_0x3d8d56[_0x5b96b5(0x504,_0xa1d67f._0x58059e)],'headers':_0xc5657,'body':JSON[_0x4ab676(-0x2c,_0xa1d67f._0x2d1805)+'y']({'displayName':_0x2096a3[_0x4ab676(_0xa1d67f._0x2e883b,_0xa1d67f._0xfd061d)+_0x5b96b5(_0xa1d67f._0x2f3581,0x749)]?.[_0x4ab676(-_0xa1d67f._0x535c9e,-0x56)]()||null})});if(!_0x2d531a[_0x4ab676(_0xa1d67f._0x29c5fe,-_0xa1d67f._0x46d70a)]['ok'])throw await buildPairingRequestError('Pair\x20reg'+_0x4ab676(_0xa1d67f._0x43fb97,0x224),_0x2d531a);const _0x2e3488=await _0x2d531a[_0x4ab676(-0xbc,-_0xa1d67f._0x25be55)][_0x5b96b5(0x7b6,0x66d)](),_0x13f77c=new Date()[_0x4ab676(_0xa1d67f._0xe3c254,_0xa1d67f._0x49cf71)+_0x4ab676(_0xa1d67f._0x3446a5,_0xa1d67f._0x41cc3f)](),_0x3b0c70={'serverUrl':_0x3dfe83,'gatewayId':_0x2e3488[_0x5b96b5(_0xa1d67f._0x3b373e,_0xa1d67f._0x27a192)+'d'],'relaySecret':_0x2e3488[_0x4ab676(0x4bf,_0xa1d67f._0x8ff598)+_0x5b96b5(_0xa1d67f._0x5f8d6e,_0xa1d67f._0x34c5bc)],'relayUrl':_0x2e3488['relayUrl'],'instanceId':_0x34d003?.[_0x5b96b5(_0xa1d67f._0x404da7,0x54d)+'Id']??_0x4ab676(0x22d,_0xa1d67f._0x4c2395)+_0x2e3488[_0x5b96b5(_0xa1d67f._0x19c632,0x6c8)+'d']['slice'](-0xa),'displayName':_0x2e3488[_0x5b96b5(0x703,_0xa1d67f._0xf4a136)+_0x5b96b5(0x6d4,0x749)],'createdAt':_0x13f77c,'updatedAt':_0x13f77c};return writePairingConfig(_0x3b0c70),{'config':_0x3b0c70,'accessCode':_0x2e3488[_0x5b96b5(0x36a,_0xa1d67f._0x5a41c0)+'de'],'accessCodeExpiresAt':_0x2e3488[_0x5b96b5(_0xa1d67f._0x34cc56,0x4b6)+'deExpire'+_0x5b96b5(0x55e,_0xa1d67f._0x535dc3)],'action':_0x4ab676(_0xa1d67f._0x25610e,0xc6)+'ed','qrPayload':buildPairingQrPayload({'server':_0x3dfe83,'gatewayId':_0x2e3488[_0x5b96b5(_0xa1d67f._0x43fe71,0x6c8)+'d'],'accessCode':_0x2e3488['accessCo'+'de'],'displayName':_0x2e3488['displayN'+_0x5b96b5(_0xa1d67f._0x26687d,0x749)],'token':_0x2096a3[_0x4ab676(-_0xa1d67f._0x2507f3,-_0xa1d67f._0x4dcba0)+_0x4ab676(-0x1d1,-_0xa1d67f._0x51b979)]?.[_0x5b96b5(0x6f1,_0xa1d67f._0x1e8a23)]()||null,'password':_0x2096a3['gatewayP'+_0x4ab676(-0x12e,-_0xa1d67f._0x30158f)]?.[_0x4ab676(-_0xa1d67f._0x1b63f3,-0x56)]()||null})};}async function refreshAccessCode(_0x410a0b){const _0x5b9b78={_0x4ad184:0x5d0,_0x375faa:0x3b4,_0x25aa60:0x297,_0x4a3edc:0x19d,_0x61d1bc:0x57c,_0x14c8a2:0x31f,_0x3b284c:0x3d8,_0x398ff7:0x416,_0x562c40:0x6ad,_0x45e1b7:0x636,_0x84177d:0x61f,_0x18b368:0x1f6,_0xe12fc1:0x454,_0x41fe67:0x43c,_0xfa86cd:0x33d,_0xe001c5:0x2ea,_0x69d7df:0x4c9,_0x472a32:0x5ed,_0xcd4a3c:0x1a3,_0xa49f80:0x32b,_0x172837:0x2d0,_0x3140f6:0x104,_0x1f3889:0x7a6,_0x13cd99:0x5c4,_0xf4735a:0x6ed,_0x2c38e1:0x80,_0x189e8e:0x1b3,_0x2ddc83:0x200,_0x18a14b:0xe8,_0x37145a:0x798,_0x3ec819:0x2fe,_0xc6e47a:0x46f,_0x46f721:0x4d4,_0x15b30c:0x35a,_0x163ada:0x7d,_0x5e35c5:0x2f8,_0x2e3261:0x5c7,_0x5a1dbe:0x72c,_0x2ef687:0x868,_0x1702a1:0x86a,_0x123a3a:0x3ac,_0x3fd78b:0x550,_0x3a8d88:0x35e,_0x25f3bd:0x3bd,_0x37e955:0x31d,_0x4e2747:0x429,_0x1ec7d0:0x755,_0x447c5d:0x9a7,_0x131386:0x250,_0x4bd302:0x82d,_0x5abf41:0x25c,_0x5ca55b:0x179,_0x349dcb:0x84a,_0x5270e7:0x5e9,_0x15c938:0x5b0,_0x472153:0x311,_0x21894f:0x780,_0x14cbea:0x30e,_0x3d5f3f:0x2c0},_0x24abbd={};_0x24abbd[_0x4e35b9(_0x5b9b78._0x4ad184,_0x5b9b78._0x375faa)]=_0x3e1eea(_0x5b9b78._0x25aa60,0x2fa)+_0x4e35b9(0x474,0x419),_0x24abbd[_0x3e1eea(0x70d,0x60b)]=_0x3e1eea(_0x5b9b78._0x4a3edc,0x10e)+'d';const _0x172097=_0x24abbd,_0xf7d14a=readPairingConfig();function _0x4e35b9(_0x147185,_0x47655a){return _0x410a57(_0x47655a,_0x147185-0x47e);}const _0xf0a469=normalizeHttpBase(_0x410a0b?.[_0x4e35b9(_0x5b9b78._0x61d1bc,_0x5b9b78._0x14c8a2)+'l']??_0xf7d14a?.[_0x3e1eea(0x348,_0x5b9b78._0x3b284c)+'l']??''),_0x2b67df=_0x410a0b?.[_0x3e1eea(_0x5b9b78._0x398ff7,0x38b)+'d']??_0xf7d14a?.[_0x4e35b9(0x52f,0x48f)+'d']??'',_0x2e5d82=_0x410a0b?.[_0x3e1eea(0x65b,0x541)+'ret']??_0xf7d14a?.['relaySec'+_0x4e35b9(_0x5b9b78._0x562c40,_0x5b9b78._0x45e1b7)]??'';if(!_0xf0a469||!_0x2b67df||!_0x2e5d82)throw new Error(_0x4e35b9(0x5da,_0x5b9b78._0x84177d)+_0x3e1eea(_0x5b9b78._0x18b368,0x121)+_0x4e35b9(0x563,0x769)+_0x3e1eea(_0x5b9b78._0xe12fc1,_0x5b9b78._0x41fe67)+_0x3e1eea(_0x5b9b78._0xfa86cd,_0x5b9b78._0xe001c5)+'.');const _0xa1015={};_0xa1015[_0x3e1eea(0x53d,_0x5b9b78._0x69d7df)+_0x3e1eea(0x375,_0x5b9b78._0x472a32)]=_0x172097[_0x3e1eea(_0x5b9b78._0xcd4a3c,0x42c)],_0xa1015[_0x3e1eea(0x4e5,0x568)]=_0x3e1eea(_0x5b9b78._0xa49f80,0x2fa)+_0x3e1eea(0x527,_0x5b9b78._0x172837);const _0x4c39cd=await postJsonWithCloudflareFallback(_0xf0a469+(_0x4e35b9(0x2e8,_0x5b9b78._0x3140f6)+_0x4e35b9(0x56e,_0x5b9b78._0x1f3889)+_0x4e35b9(_0x5b9b78._0x13cd99,0x332)),{'method':'POST','headers':_0xa1015,'body':JSON['stringif'+'y']({'gatewayId':_0x2b67df,'relaySecret':_0x2e5d82,'displayName':_0x410a0b?.[_0x3e1eea(_0x5b9b78._0xf4735a,0x5e9)+'ame']?.[_0x3e1eea(_0x5b9b78._0x2c38e1,_0x5b9b78._0x189e8e)]()||void 0x0})});if(!_0x4c39cd[_0x3e1eea(0x37e,_0x5b9b78._0x2ddc83)]['ok'])throw await buildPairingRequestError(_0x3e1eea(0x1a,_0x5b9b78._0x18a14b)+_0x4e35b9(_0x5b9b78._0x37145a,0x886)+_0x3e1eea(_0x5b9b78._0x3ec819,0x1e0),_0x4c39cd);const _0x43ffd7=await _0x4c39cd[_0x3e1eea(_0x5b9b78._0xc6e47a,0x200)][_0x4e35b9(_0x5b9b78._0x46f721,0x481)](),_0x1076e6={'serverUrl':_0xf0a469,'gatewayId':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x15b30c,0x38b)+'d'],'relaySecret':_0x2e5d82,'relayUrl':_0x43ffd7[_0x4e35b9(0x2ff,0x4bd)],'instanceId':_0xf7d14a?.[_0x4e35b9(_0x5b9b78._0x375faa,0x598)+'Id']??_0x3e1eea(_0x5b9b78._0x163ada,_0x5b9b78._0x5e35c5)+_0x43ffd7[_0x3e1eea(_0x5b9b78._0x2e3261,0x38b)+'d'][_0x4e35b9(_0x5b9b78._0x5a1dbe,_0x5b9b78._0x2ef687)](-0xa),'displayName':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x1702a1,0x5e9)+_0x4e35b9(0x5b0,0x333)],'createdAt':_0xf7d14a?.[_0x3e1eea(0x470,0x4b0)+'t']??new Date()['toISOStr'+_0x3e1eea(0x623,_0x5b9b78._0x123a3a)](),'updatedAt':new Date()[_0x3e1eea(0x534,0x29e)+_0x4e35b9(_0x5b9b78._0x3fd78b,_0x5b9b78._0x3a8d88)]()};writePairingConfig(_0x1076e6);function _0x3e1eea(_0x17dd93,_0xdc0f5a){return _0x410a57(_0x17dd93,_0xdc0f5a-0x2da);}return{'config':_0x1076e6,'accessCode':_0x43ffd7[_0x4e35b9(0x31d,_0x5b9b78._0x25f3bd)+'de'],'accessCodeExpiresAt':_0x43ffd7[_0x4e35b9(_0x5b9b78._0x37e955,_0x5b9b78._0x4e2747)+_0x4e35b9(_0x5b9b78._0x1ec7d0,_0x5b9b78._0x447c5d)+_0x4e35b9(0x46f,_0x5b9b78._0x131386)],'action':_0x172097[_0x4e35b9(0x7af,_0x5b9b78._0x4bd302)],'qrPayload':buildPairingQrPayload({'server':_0xf0a469,'gatewayId':_0x43ffd7['gatewayI'+'d'],'accessCode':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x5abf41,_0x5b9b78._0x5ca55b)+'de'],'displayName':_0x43ffd7[_0x3e1eea(_0x5b9b78._0x349dcb,_0x5b9b78._0x5270e7)+_0x4e35b9(_0x5b9b78._0x15c938,0x4d6)],'token':_0x410a0b?.['gatewayT'+_0x4e35b9(_0x5b9b78._0x472153,0x24c)]?.['trim']()||null,'password':_0x410a0b?.[_0x4e35b9(0x6aa,_0x5b9b78._0x21894f)+_0x4e35b9(_0x5b9b78._0x14cbea,_0x5b9b78._0x3d5f3f)]?.['trim']()||null})};}function normalizeHttpBase(_0x3e66bf){const _0x1a4ec5={_0x1e2db2:0x9a0,_0x5f1a8d:0xae8,_0x23bb7d:0x69a,_0x4c4f0:0x2f,_0x2b25ea:0x233,_0x2c28d4:0x386,_0x3e08a9:0x13,_0x5b48c2:0x176,_0x4f01fc:0x453,_0x5a99fa:0x387,_0x5b8692:0x51b,_0xba2a9b:0x88a,_0xde7dba:0x57c,_0x528ce7:0x6b8,_0x3019cf:0x67b,_0x3bec17:0x5fb,_0x1b25ac:0x452,_0x197da5:0x65d,_0x44e758:0x3c,_0x24eaf1:0x176,_0x3521f0:0x80c,_0x4d601e:0x903},_0x20b53c={_0x52e2de:0x2ce},_0x189786={};_0x189786[_0x393998(_0x1a4ec5._0x1e2db2,_0x1a4ec5._0x5f1a8d)]=_0x393998(0x71f,_0x1a4ec5._0x23bb7d);const _0x58e81f=_0x189786,_0x3abe51=_0x3e66bf[_0x1d28f1(_0x1a4ec5._0x4c4f0,0x1a7)]();if(!_0x3abe51)return'';function _0x393998(_0x32048d,_0x187a94){return _0x410a57(_0x187a94,_0x32048d-0x753);}if(_0x3abe51[_0x1d28f1(0x269,_0x1a4ec5._0x2b25ea)+'th'](_0x1d28f1(0x1ea,_0x1a4ec5._0x2c28d4))||_0x3abe51['startsWi'+'th'](_0x1d28f1(_0x1a4ec5._0x3e08a9,_0x1a4ec5._0x5b48c2)))return _0x3abe51[_0x1d28f1(_0x1a4ec5._0x4f01fc,_0x1a4ec5._0x5a99fa)](/\/+$/,'');if(_0x3abe51[_0x1d28f1(0x320,0x233)+'th'](_0x58e81f[_0x1d28f1(0x365,_0x1a4ec5._0x5b8692)]))return(_0x393998(0x80b,_0x1a4ec5._0xba2a9b)+_0x3abe51[_0x1d28f1(0x3ac,_0x1a4ec5._0xde7dba)]('ws://'['length']))[_0x393998(0x80c,0x958)](/\/+$/,'');function _0x1d28f1(_0x2f47ea,_0x4c728e){return _0x410a57(_0x2f47ea,_0x4c728e-_0x20b53c._0x52e2de);}if(_0x3abe51[_0x393998(_0x1a4ec5._0x528ce7,_0x1a4ec5._0x3019cf)+'th']('wss://'))return(_0x393998(_0x1a4ec5._0x3bec17,_0x1a4ec5._0x1b25ac)+_0x3abe51[_0x1d28f1(0x51d,0x57c)]('wss://'[_0x393998(0x678,_0x1a4ec5._0x197da5)]))['replace'](/\/+$/,'');return(_0x1d28f1(-_0x1a4ec5._0x44e758,_0x1a4ec5._0x24eaf1)+_0x3abe51)[_0x393998(_0x1a4ec5._0x3521f0,_0x1a4ec5._0x4d601e)](/\/+$/,'');}function assessPairingCompatibility(_0x400afd,_0x5d97ae){const _0x189c41={_0x2dc8c3:0x32c,_0x36538d:0x107,_0x27d63c:0x863,_0x3265e8:0x8c6,_0x41d4f4:0x8c2,_0x412716:0x81a,_0x27947f:0x4a2,_0x23f5d3:0x6eb,_0xccb9c1:0x7d7,_0x4014dc:0x3d0},_0x3a4fbb={_0x2451df:0x58e};function _0x23d2f8(_0x150678,_0x35b3f8){return _0x2420cb(_0x35b3f8- -0xe3,_0x150678);}const _0x3f12af={};_0x3f12af[_0x1be8f3(0x5ab,_0x189c41._0x2dc8c3)]=_0x1be8f3(-0x85,_0x189c41._0x36538d)+'existing',_0x3f12af['YkqBi']=_0x23d2f8(_0x189c41._0x27d63c,_0x189c41._0x3265e8)+_0x23d2f8(0x85e,0x66e);const _0x1a7918=_0x3f12af;if(!_0x400afd)return'register'+_0x23d2f8(_0x189c41._0x41d4f4,_0x189c41._0x412716);function _0x1be8f3(_0x500835,_0x4953b5){return _0x2420cb(_0x4953b5- -_0x3a4fbb._0x2451df,_0x500835);}if(_0x400afd[_0x23d2f8(_0x189c41._0x27947f,_0x189c41._0x23f5d3)+'l']===_0x5d97ae)return _0x1a7918[_0x23d2f8(0x6fb,_0x189c41._0xccb9c1)];return _0x1a7918[_0x1be8f3(_0x189c41._0x4014dc,0x2cf)];}async function postJsonWithCloudflareFallback(_0x149f83,_0x5c3f22){const _0x32eb3c={_0x360984:0x3fa,_0x4cc6ea:0x398},_0x3d657c=await fetch(_0x149f83,_0x5c3f22);function _0x574bc(_0x9b62a9,_0x1fb88b){return _0x2420cb(_0x9b62a9- -0x4f6,_0x1fb88b);}const _0x533fae=resolveCloudflareChallengeFallbackUrl(_0x149f83,_0x3d657c);if(!_0x533fae){const _0x496499={};return _0x496499['response']=_0x3d657c,_0x496499['attempte'+'dUrl']=_0x149f83,_0x496499[_0x574bc(_0x32eb3c._0x360984,_0x32eb3c._0x4cc6ea)+'Url']=null,_0x496499;}return{'response':await fetch(_0x533fae,_0x5c3f22),'attemptedUrl':_0x149f83,'fallbackUrl':_0x533fae};}async function buildPairingRequestError(_0x9be00c,_0x4c74e0){const _0x19d571={_0x40a7cb:0x2cc,_0x47a73c:0xfd,_0x43cdb7:0xe5,_0x13bf1a:0x2e3,_0x18550e:0x3e8,_0x4d1604:0x3f7,_0x43215d:0x44,_0x3f913d:0x25c,_0x2f4aec:0x5c0,_0xa9d4a5:0x32b,_0x2dbc71:0x4ac,_0x5c922a:0x72e,_0x1c727b:0x5af,_0x305efa:0x31a,_0x491b8b:0xfd,_0x5ce16a:0x274,_0x2c669d:0x2ec,_0x395157:0x375,_0xf73d93:0x66,_0x336f7f:0x3a9,_0xf491cd:0x11a,_0x450812:0xfe,_0x5ad94a:0x11e,_0x32d485:0x410,_0x248221:0x72f,_0x4c5f82:0x28d,_0x52295b:0x672,_0x2f20fe:0x3d3,_0x3c9f76:0x296},_0x3abd60={_0x57e08a:0x2b3};if(isCloudflareChallengeResponse(_0x4c74e0[_0x35190c(_0x19d571._0x40a7cb,_0x19d571._0x47a73c)])){const _0x3a0a4f=new URL(_0x4c74e0['fallback'+_0x35190c(0xba,_0x19d571._0x43cdb7)]??_0x4c74e0[_0x50b81f(0x45f,0x648)+_0x35190c(_0x19d571._0x13bf1a,_0x19d571._0x18550e)])['origin'],_0x58e1b2=_0x4c74e0[_0x35190c(0x397,_0x19d571._0x4d1604)+_0x35190c(-_0x19d571._0x43215d,0xe5)]?_0x35190c(_0x19d571._0x3f913d,0x2c8)+'ic\x20fallb'+_0x50b81f(_0x19d571._0x2f4aec,0x33f)+_0x4c74e0['fallback'+_0x50b81f(_0x19d571._0xa9d4a5,0x497)]+(_0x35190c(0x239,0x3a1)+'t\x20a\x20Clou'+_0x50b81f(_0x19d571._0x2dbc71,_0x19d571._0x5c922a)+_0x50b81f(0x327,_0x19d571._0x1c727b)+'.'):'';return new Error(_0x9be00c+(_0x50b81f(0x3c8,0x287)+'(')+_0x4c74e0[_0x35190c(_0x19d571._0x305efa,_0x19d571._0x491b8b)]['status']+(_0x35190c(0x49,_0x19d571._0x5ce16a)+'flare\x20ch'+_0x35190c(_0x19d571._0x2c669d,_0x19d571._0x395157)+_0x35190c(0x2c6,_0x19d571._0xf73d93)+_0x50b81f(_0x19d571._0x336f7f,0x340)+_0x35190c(-_0x19d571._0xf491cd,_0x19d571._0x450812)+'\x20at\x20')+_0x3a0a4f+'.'+_0x58e1b2+(_0x35190c(_0x19d571._0x5ad94a,-0x16)+_0x50b81f(_0x19d571._0x32d485,0x411)+_0x35190c(0x2f9,0x449)+_0x35190c(0x171,0x36d)+_0x50b81f(_0x19d571._0x248221,0x95c)+'\x20registr'+'y\x20endpoi'+'nt\x20that\x20'+_0x50b81f(0x3e3,_0x19d571._0x4c5f82)+_0x50b81f(_0x19d571._0x52295b,0x6c1)+'\x20browser'+_0x35190c(0x373,_0x19d571._0x2f20fe)+'ation.'));}function _0x35190c(_0x55a189,_0x53102c){return _0x2420cb(_0x53102c- -0x4f9,_0x55a189);}function _0x50b81f(_0x12fa26,_0x4998df){return _0x2420cb(_0x12fa26- -_0x3abd60._0x57e08a,_0x4998df);}return new Error(_0x9be00c+('\x20failed\x20'+'(')+_0x4c74e0[_0x50b81f(0x343,_0x19d571._0x3c9f76)]['status']+'):\x20'+summarizeFailedResponse(await _0x4c74e0[_0x50b81f(0x343,0x445)][_0x50b81f(0x3ee,0x636)]()));}function isCloudflareChallengeResponse(_0x1c7beb){const _0x4621f6={_0x1b7b20:0x550,_0x40e92a:0x4d4,_0x415dba:0x8b8,_0x4e4e76:0x72e,_0x5750b5:0x760,_0x2ca517:0x399},_0x446f18={};_0x446f18['gIJBE']=function(_0x475cc1,_0x488660){return _0x475cc1===_0x488660;};function _0x5d5463(_0x29fe22,_0x5b96ac){return _0x410a57(_0x5b96ac,_0x29fe22-0x736);}const _0xaf3b55=_0x446f18;function _0x45d71a(_0x1251c2,_0x2ae08f){return _0x410a57(_0x1251c2,_0x2ae08f-0x6ad);}return _0xaf3b55[_0x5d5463(_0x4621f6._0x1b7b20,_0x4621f6._0x40e92a)](_0x1c7beb[_0x5d5463(0x9e2,_0x4621f6._0x415dba)],0x193)&&_0x1c7beb[_0x5d5463(0x92b,0x8bf)]['get'](_0x5d5463(0x9f6,0x81a)+_0x5d5463(_0x4621f6._0x4e4e76,0x520))?.[_0x5d5463(0x60f,_0x4621f6._0x5750b5)]()['toLowerC'+_0x5d5463(0x768,0x760)]()===_0x5d5463(0x576,_0x4621f6._0x2ca517)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x8fc573,_0x10e700){const _0x38e83a={_0xc6f21e:0x7d9,_0x36bd26:0x7ca,_0x10b5a1:0x6c7,_0xb82a5:0x575,_0xe29e6c:0x61a,_0x5bfdf0:0x640,_0x4f5456:0x9fd,_0x1f2b2e:0x868},_0x33fe78={_0x359ef3:0x58c},_0x271fb7={_0x1cf4c1:0x696};function _0x2e61d6(_0x1917b3,_0x18a4d8){return _0x410a57(_0x18a4d8,_0x1917b3-_0x271fb7._0x1cf4c1);}const _0x96c81e={'fPDOC':function(_0x30d6cb,_0x457182){return _0x30d6cb(_0x457182);},'arMqR':function(_0x19c165,_0x35af38){return _0x19c165!==_0x35af38;}};if(!_0x96c81e[_0x5a8f7b(_0x38e83a._0xc6f21e,_0x38e83a._0x36bd26)](isCloudflareChallengeResponse,_0x10e700))return null;const _0x2bc27f=new URL(_0x8fc573);if(_0x96c81e[_0x2e61d6(_0x38e83a._0x10b5a1,_0x38e83a._0xb82a5)](_0x2bc27f[_0x2e61d6(_0x38e83a._0xe29e6c,_0x38e83a._0x5bfdf0)],DEFAULT_REGISTRY_BASE))return null;function _0x5a8f7b(_0x131f54,_0x40b8ab){return _0x410a57(_0x131f54,_0x40b8ab-_0x33fe78._0x359ef3);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x2bc27f['pathname']+_0x2bc27f[_0x5a8f7b(_0x38e83a._0x4f5456,_0x38e83a._0x1f2b2e)];}function summarizeFailedResponse(_0x48e0ef){const _0x2ff052={_0x1469a4:0x680,_0x30096d:0x4a5,_0x2f2a06:0x5b8,_0x455b3d:0x3b0,_0x101c3d:0x542,_0x39cad3:0x680,_0x4c4d85:0x367,_0x4fc1d4:0x917},_0x5b877a={_0x53a710:0x34c},_0x125b40={};function _0x13c5bc(_0x194ee5,_0x259083){return _0x410a57(_0x194ee5,_0x259083-0x669);}_0x125b40[_0x576af9(_0x2ff052._0x1469a4,0x429)]='Empty\x20re'+_0x576af9(_0x2ff052._0x30096d,0x6d3)+'ody';const _0x813790=_0x125b40,_0x39ce27=_0x48e0ef[_0x13c5bc(_0x2ff052._0x2f2a06,0x722)](/\s+/g,'\x20')[_0x13c5bc(_0x2ff052._0x455b3d,_0x2ff052._0x101c3d)]();if(!_0x39ce27)return _0x813790[_0x576af9(_0x2ff052._0x39cad3,0x883)];if(_0x39ce27[_0x576af9(0x271,_0x2ff052._0x4c4d85)]<=0xf0)return _0x39ce27;function _0x576af9(_0x11dd3c,_0x283947){return _0x410a57(_0x283947,_0x11dd3c-_0x5b877a._0x53a710);}return _0x39ce27[_0x13c5bc(0xabb,_0x2ff052._0x4fc1d4)](0x0,0xed)+'...';}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x94be63,mkdirSync as _0x3a5594,openSync,readFileSync as _0x3296c9,realpathSync,rmSync as _0x333acf,writeFileSync as _0x4dedea}from'fs';import{homedir as _0x1ac4d5}from'os';import{dirname,join as _0x33a140}from'path';import{setTimeout as _0x50c01a}from'timers/promises';var SERVICE_LABEL='ai.clawk'+'et.bridg'+_0x2420cb(0x4f5,0x302),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x410a57(0x464,0x2fc),WINDOWS_RUN_KEY=_0x410a57(0x19a,0x316)+_0x2420cb(0x521,0x426),SERVICE_DIR=_0x33a140(_0x1ac4d5(),_0x2420cb(0x8a2,0x8a7)),LOG_DIR=_0x33a140(SERVICE_DIR,'logs'),SERVICE_STATE_PATH=_0x33a140(SERVICE_DIR,'bridge-s'+'ervice.j'+'son'),RUNTIME_REGISTRY_PATH=_0x33a140(SERVICE_DIR,'bridge-r'+_0x2420cb(0x568,0x428)+_0x2420cb(0x856,0x6f0)+_0x410a57(0x4a2,0x2c1)),SERVICE_LAUNCHER_PATH=_0x33a140(SERVICE_DIR,_0x410a57(0xd,0xf8)+_0x2420cb(0x851,0x7d9)+_0x2420cb(0x5b4,0x427)+'sh'),LINUX_CRON_RECORD_PATH=_0x33a140(SERVICE_DIR,_0x2420cb(0x7c8,0x82a)+'ervice.c'+_0x2420cb(0x7f7,0x679)),SERVICE_LOG_PATH=_0x33a140(LOG_DIR,'bridge-c'+_0x410a57(-0x18a,-0x86)),SERVICE_ERROR_LOG_PATH=_0x33a140(LOG_DIR,_0x2420cb(0x75a,0x6ce)+_0x2420cb(0x6e9,0x5a9)+_0x2420cb(0x729,0x98d)),MACOS_PLIST_PATH=_0x33a140(_0x1ac4d5(),'Library','LaunchAg'+_0x2420cb(0x77b,0x50c),SERVICE_LABEL+_0x2420cb(0x93b,0x77b)),LINUX_SERVICE_PATH=_0x33a140(_0x1ac4d5(),'.config',_0x2420cb(0x903,0x9cb),_0x410a57(-0xbd,-0x10),SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x410a57(0x173,-0x1a)+'t-bridge'+_0x2420cb(0x8a7,0xab1);function getServiceProgramArgs(_0x3b5567={},_0x292917=process[_0x2420cb(0x5f9,0x671)]){const _0x304a25={_0x2d3fac:0x412,_0x183102:0x162,_0x511b25:0x1c5,_0x1423f8:0x20f,_0x15a5bd:0x27e,_0x2ee303:0x7b,_0x92dc4c:0x2fa,_0x32505a:0x3f9,_0x1e21fa:0x11,_0x1df202:0x28b,_0x2cb5ac:0x448,_0x488952:0x7b8,_0x262d5d:0x5ac,_0x282089:0x65a,_0x51f701:0x4de},_0x24f04f={'ktplk':function(_0x15c952,_0x47c637){return _0x15c952!==_0x47c637;},'GtLXF':function(_0xfe27cd,_0x56db8e){return _0xfe27cd(_0x56db8e);}};function _0x966e31(_0x213ae1,_0x36420d){return _0x410a57(_0x213ae1,_0x36420d-0x539);}const _0x306155=_0x3b5567[_0x5b9fd3(0x152,0x151)]?.[_0x966e31(0x38b,_0x304a25._0x2d3fac)]()||process['execPath'],_0x344467=resolveScriptPath(_0x3b5567[_0x5b9fd3(-0x12b,_0x304a25._0x183102)+'th']);if(!_0x344467)throw new Error(_0x5b9fd3(0x1d,-_0x304a25._0x511b25)+_0x5b9fd3(_0x304a25._0x1423f8,_0x304a25._0x15a5bd)+_0x5b9fd3(0x297,_0x304a25._0x2ee303)+'ript\x20pat'+_0x5b9fd3(0xb8,_0x304a25._0x92dc4c)+_0x966e31(_0x304a25._0x32505a,0x624)+'stallati'+_0x966e31(0x55a,0x3bd));function _0x5b9fd3(_0x4f4b8f,_0x19f12a){return _0x410a57(_0x19f12a,_0x4f4b8f-0xa6);}if(_0x24f04f['ktplk'](_0x292917,_0x5b9fd3(_0x304a25._0x1e21fa,_0x304a25._0x1df202))){const _0x4b600e={};_0x4b600e[_0x966e31(0x4ed,0x5e5)]=_0x306155,_0x4b600e[_0x966e31(_0x304a25._0x2cb5ac,0x368)+'th']=_0x344467,_0x4b600e[_0x966e31(0x785,_0x304a25._0x488952)]=process.env.PATH??'';const _0x1ebbc6=_0x24f04f['GtLXF'](writeServiceLauncher,_0x4b600e);return ensureLaunchScriptExecutable(_0x1ebbc6,_0x292917),[_0x1ebbc6];}return[_0x306155,_0x344467,_0x966e31(0x5d1,_0x304a25._0x262d5d),_0x966e31(_0x304a25._0x282089,_0x304a25._0x51f701)+'e'];}function getServiceStatus(){const _0x265ffc={_0xdd1a0e:0x43a,_0x4873a5:0x698,_0x50a652:0x62c,_0x18630d:0x425,_0x4f1230:0x406,_0xd5e5d0:0x570,_0x59d2ac:0x535,_0x246225:0x2bd,_0x2432b5:0x510,_0x23d2ac:0x5bd,_0xea52a7:0x6a2,_0x119e64:0x4f3,_0x21b855:0x76d,_0x2a5d66:0x215,_0x322ac7:0x540,_0x1eafe5:0x63e,_0x3ff7fc:0x5cf,_0x2cb5a9:0x570,_0x278630:0x70e,_0x437356:0x4de,_0x25bd5b:0x6a2,_0x52c589:0x36b,_0x53d50e:0x394,_0x54cfec:0x68,_0x5e6c38:0x551,_0x3d15a9:0x4b3,_0x310fcf:0x504,_0x3820de:0x44f,_0x4db5d6:0x323},_0x376263={_0x2eed10:0x355},_0x376a41={'BsSlX':function(_0x32f2bf,_0x12d473){return _0x32f2bf(_0x12d473);},'Qvein':function(_0x2bef57,_0x569672){return _0x2bef57(_0x569672);},'rnXQM':function(_0x5b3e52,_0x3d2788,_0x3c293d){return _0x5b3e52(_0x3d2788,_0x3c293d);}};ensureServiceDirs();function _0x3cd0da(_0x2477b1,_0x5a6c9c){return _0x2420cb(_0x5a6c9c- -_0x376263._0x2eed10,_0x2477b1);}const _0x4eb5d1=readServiceState()?.[_0x49c855(0x677,0x567)]??null,_0x2848b1=detectServiceMethod(),_0x1aa95a={'installed':![],'running':_0x4eb5d1!=null&&_0x376a41[_0x49c855(0x206,0x2ed)](isPidRunning,_0x4eb5d1),'method':_0x2848b1,'servicePath':getServicePath(_0x2848b1),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x4eb5d1};_0x1aa95a[_0x3cd0da(_0x265ffc._0xdd1a0e,0x537)]!=null&&!_0x1aa95a[_0x49c855(0x798,0x6a2)]&&(clearServiceState(_0x1aa95a[_0x49c855(_0x265ffc._0x4873a5,0x567)]),_0x1aa95a[_0x3cd0da(0x388,0x537)]=null);function _0x49c855(_0x187bb9,_0x553b4c){return _0x2420cb(_0x553b4c- -0x325,_0x187bb9);}switch(_0x1aa95a[_0x3cd0da(0x317,0x211)]){case _0x49c855(0x851,_0x265ffc._0x50a652)+_0x49c855(0x467,_0x265ffc._0x18630d):_0x1aa95a[_0x49c855(_0x265ffc._0x4f1230,_0x265ffc._0xd5e5d0)+'d']=_0x376a41[_0x3cd0da(_0x265ffc._0x59d2ac,_0x265ffc._0x246225)](_0x94be63,MACOS_PLIST_PATH);_0x1aa95a[_0x49c855(_0x265ffc._0x2432b5,_0x265ffc._0xd5e5d0)+'d']&&(_0x1aa95a[_0x49c855(_0x265ffc._0x23d2ac,_0x265ffc._0xea52a7)]=commandSucceeds(_0x3cd0da(_0x265ffc._0x119e64,0x438)+'l',['list',SERVICE_LABEL])||_0x1aa95a[_0x49c855(_0x265ffc._0x21b855,0x6a2)]);return _0x1aa95a;case _0x3cd0da(0x169,_0x265ffc._0x2a5d66)+'user':_0x1aa95a[_0x3cd0da(0x586,_0x265ffc._0x322ac7)+'d']=_0x376a41[_0x3cd0da(_0x265ffc._0x1eafe5,0x648)](_0x94be63,LINUX_SERVICE_PATH);_0x1aa95a[_0x49c855(_0x265ffc._0x3ff7fc,_0x265ffc._0x2cb5a9)+'d']&&(_0x1aa95a[_0x49c855(0x497,0x6a2)]=commandSucceeds(_0x49c855(_0x265ffc._0x278630,0x5d5)+'l',['--user',_0x3cd0da(0x5aa,_0x265ffc._0x437356)+'e',_0x49c855(0x557,0x32e),SYSTEMD_UNIT_NAME])||_0x1aa95a[_0x49c855(0x6a2,_0x265ffc._0x25bd5b)]);return _0x1aa95a;case _0x3cd0da(_0x265ffc._0x52c589,0x5d9)+_0x49c855(0x14a,0x2f0):_0x1aa95a[_0x49c855(_0x265ffc._0x53d50e,0x570)+'d']=hasLinuxCronRegistration();return _0x1aa95a;case _0x49c855(_0x265ffc._0x54cfec,0x1bb)+_0x3cd0da(0x53e,0x64e)+_0x49c855(_0x265ffc._0x5e6c38,0x554):_0x1aa95a[_0x49c855(0x306,0x570)+'d']=_0x376a41['rnXQM'](commandSucceeds,_0x3cd0da(_0x265ffc._0x3d15a9,_0x265ffc._0x310fcf),['query',_0x3cd0da(0x6c9,0x4b1)+'tware\x5cMi'+_0x3cd0da(0x106,0x259)+_0x49c855(_0x265ffc._0x3820de,0x214)+_0x49c855(0x5ef,0x6d4)+_0x3cd0da(0x2c4,_0x265ffc._0x4db5d6)+'un','/v',WINDOWS_RUN_KEY]);return _0x1aa95a;default:return _0x1aa95a;}}function installService(_0xdccfb1={}){const _0x1cd82f={_0x386ad8:0x3ec,_0x429844:0x110,_0x4d422b:0x65,_0x513e6a:0x55,_0x4ecf45:0x5b8,_0x79d69b:0x444,_0x15c87c:0x12f,_0x58ab3a:0x36e,_0x4a4c38:0x1b8,_0x2c49a0:0x10a,_0x39bcfd:0x244,_0x257ff0:0x4c,_0x51fa1e:0x6f4,_0x388c09:0x34c,_0x2539a5:0xbd,_0x44d71e:0x25d,_0xab39de:0x2e5,_0x2b6ab6:0xf7,_0x2074af:0x2f1,_0xda4eef:0x660},_0x2a8c0c={_0xeef47d:0x28f};function _0x327d14(_0x5697af,_0x502ed2){return _0x410a57(_0x502ed2,_0x5697af-0x187);}const _0x5883c8={'qFsRh':function(_0x3d685e,_0x2914a0){return _0x3d685e(_0x2914a0);},'OVsKk':function(_0x4d8590,_0x2c5cc2,_0x4019c3,_0x56af07){return _0x4d8590(_0x2c5cc2,_0x4019c3,_0x56af07);},'adWrJ':_0x316be9(_0x1cd82f._0x386ad8,0x2cd),'PMlbZ':'reg','OuaXH':_0x327d14(0x86,-_0x1cd82f._0x429844),'iwxAd':'HKCU\x5cSof'+_0x316be9(0x19a,0x34e)+_0x327d14(_0x1cd82f._0x4d422b,-0x19c)+_0x316be9(0xf8,-_0x1cd82f._0x513e6a)+_0x316be9(_0x1cd82f._0x4ecf45,_0x1cd82f._0x79d69b)+_0x327d14(_0x1cd82f._0x15c87c,_0x1cd82f._0x58ab3a)+'un','HYylq':'REG_SZ'};ensureServiceDirs();const _0x1429ff=_0x5883c8['qFsRh'](getServiceProgramArgs,_0xdccfb1);switch(process[_0x316be9(_0x1cd82f._0x4a4c38,0x23e)]){case'darwin':_0x4dedea(MACOS_PLIST_PATH,buildMacosPlist(_0x1429ff,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x316be9(_0x1cd82f._0x2c49a0,-0x6d)),execIgnoreFailure(_0x327d14(_0x1cd82f._0x39bcfd,_0x1cd82f._0x257ff0)+'l',[_0x316be9(0x4f3,_0x1cd82f._0x51fa1e),'-w',MACOS_PLIST_PATH]),_0x5883c8['OVsKk'](execFileSync,_0x316be9(_0x1cd82f._0x388c09,0x397)+'l',[_0x316be9(0x4ef,0x5fa),'-w',MACOS_PLIST_PATH],{'stdio':_0x5883c8['adWrJ']});break;case _0x316be9(0x1c2,0x39):installLinuxService(_0x1429ff);break;case _0x327d14(0xf2,0x26d):stopRunningProcess();const _0x124fb7={};_0x124fb7[_0x316be9(0x3a8,0x42e)]=_0x316be9(0x3ec,0x341),execFileSync(_0x5883c8['PMlbZ'],[_0x5883c8['OuaXH'],_0x5883c8[_0x327d14(-0xd,_0x1cd82f._0x2539a5)],'/v',WINDOWS_RUN_KEY,'/t',_0x5883c8[_0x316be9(_0x1cd82f._0x44d71e,_0x1cd82f._0xab39de)],'/d',buildWindowsRunCommand(_0x1429ff),'/f'],_0x124fb7),startDetachedWindowsService(_0x1429ff);break;default:throw new Error('Unsuppor'+_0x327d14(0x275,0x3dc)+'form\x20for'+_0x327d14(0xb8,-_0x1cd82f._0x2b6ab6)+_0x327d14(_0x1cd82f._0x2074af,0x26c)+_0x316be9(0x48a,_0x1cd82f._0xda4eef)+'n:\x20'+process['platform']);}function _0x316be9(_0x122da5,_0x17b785){return _0x410a57(_0x17b785,_0x122da5-_0x2a8c0c._0xeef47d);}return getServiceStatus();}function restartService(_0x12f637={}){const _0x23fb7a={_0x482f56:0xa9d,_0x1e8247:0x969,_0x4379f6:0x7d9,_0x24806c:0x800,_0x3504ce:0x49f,_0x19fa58:0x862,_0x26111b:0x41d,_0x4b246a:0x41e,_0x2a6eb1:0x468,_0x570697:0x44a,_0x4cf44c:0x7f8,_0x2a09cc:0x65d,_0x1e3664:0x7c2,_0x222106:0x70b,_0x2d1914:0x864,_0x556d79:0x638,_0x59a67c:0x76c,_0x23c92c:0x6b5,_0x362a55:0x8c9,_0x148feb:0x548,_0x1b5d0b:0x8d7,_0x2d08dc:0x5da,_0x2d9be7:0x9d3,_0x195c51:0x881,_0x5383d0:0x7f3,_0x2ec48c:0x59c,_0x5b0d7d:0x60c,_0x11cdd1:0x319,_0x14cca0:0x535,_0x2a05c5:0x5c7,_0x4e9756:0x4c9,_0x4ec850:0x824},_0xb12086={_0x57ba42:0x35},_0x183491={_0x274c36:0x130},_0x348885={'zReaY':function(_0x5d3765,_0x48bb7b){return _0x5d3765(_0x48bb7b);},'scPGe':function(_0x2f22d5,_0x295ffa,_0x4d4ede,_0xe3af39){return _0x2f22d5(_0x295ffa,_0x4d4ede,_0xe3af39);},'xjgwf':_0x464c3f(_0x23fb7a._0x482f56,_0x23fb7a._0x1e8247),'aWQFH':_0x4250ad(_0x23fb7a._0x4379f6,_0x23fb7a._0x24806c),'BGGaO':_0x464c3f(0x7ca,0x88e),'wHvPe':_0x4250ad(0x29f,_0x23fb7a._0x3504ce),'lihIE':_0x464c3f(0xa1f,_0x23fb7a._0x19fa58),'UunWZ':function(_0x1b270b){return _0x1b270b();}};function _0x4250ad(_0x3444fd,_0x13e2da){return _0x2420cb(_0x13e2da- -_0x183491._0x274c36,_0x3444fd);}function _0x464c3f(_0xde121a,_0x55086d){return _0x2420cb(_0x55086d-_0xb12086._0x57ba42,_0xde121a);}ensureServiceDirs();const _0x38769b=getServiceProgramArgs(_0x12f637);switch(process['platform']){case'darwin':if(!_0x94be63(MACOS_PLIST_PATH))return _0x348885[_0x4250ad(0x3ce,_0x23fb7a._0x26111b)](installService,_0x12f637);_0x348885[_0x4250ad(_0x23fb7a._0x4b246a,_0x23fb7a._0x2a6eb1)](_0x4dedea,MACOS_PLIST_PATH,buildMacosPlist(_0x38769b,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x4250ad(_0x23fb7a._0x570697,0x41b)),execIgnoreFailure(_0x4250ad(_0x23fb7a._0x4cf44c,_0x23fb7a._0x2a09cc)+'l',[_0x348885['xjgwf'],'-w',MACOS_PLIST_PATH]);const _0x1dbf48={};_0x1dbf48['stdio']=_0x464c3f(0x8b5,0x862),execFileSync(_0x464c3f(0x899,_0x23fb7a._0x1e3664)+'l',[_0x348885[_0x4250ad(0x475,_0x23fb7a._0x222106)],'-w',MACOS_PLIST_PATH],_0x1dbf48);break;case _0x464c3f(_0x23fb7a._0x2d1914,_0x23fb7a._0x556d79):restartLinuxService(_0x38769b);break;case'win32':stopRunningProcess(),execFileSync(_0x348885[_0x4250ad(_0x23fb7a._0x59a67c,0x65a)],[_0x348885[_0x464c3f(0x7e2,0x802)],_0x4250ad(_0x23fb7a._0x23c92c,0x6d6)+_0x464c3f(0x620,0x610)+'crosoft\x5c'+'Windows\x5c'+_0x4250ad(0x9ba,_0x23fb7a._0x362a55)+_0x4250ad(0x372,_0x23fb7a._0x148feb)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x4250ad(0x730,_0x23fb7a._0x1b5d0b),'/d',buildWindowsRunCommand(_0x38769b),'/f'],{'stdio':_0x348885[_0x464c3f(0x622,_0x23fb7a._0x2d08dc)]}),startDetachedWindowsService(_0x38769b);break;default:throw new Error(_0x4250ad(_0x23fb7a._0x2d9be7,_0x23fb7a._0x195c51)+_0x464c3f(0xa1e,_0x23fb7a._0x5383d0)+_0x464c3f(_0x23fb7a._0x2ec48c,_0x23fb7a._0x5b0d7d)+_0x4250ad(_0x23fb7a._0x11cdd1,0x4d1)+_0x4250ad(0x347,0x583)+_0x464c3f(_0x23fb7a._0x14cca0,0x669)+process[_0x4250ad(_0x23fb7a._0x2a05c5,_0x23fb7a._0x4e9756)]);}return _0x348885[_0x464c3f(_0x23fb7a._0x4ec850,0x658)](getServiceStatus);}async function startTransientRuntime(_0x25f3bb={}){const _0xa60044={_0x44c4d5:0x226,_0x4ed198:0x5d1,_0x48049d:0x50d,_0x9c6dd2:0x92c,_0x480e5f:0x699,_0x414003:0x4b4},_0x314cbb={_0x2ebed5:0x14e};function _0x572fdc(_0x1f884e,_0xafd7e1){return _0x2420cb(_0x1f884e- -_0x314cbb._0x2ebed5,_0xafd7e1);}ensureServiceDirs();const _0x4da74a=getServiceProgramArgs(_0x25f3bb);function _0x16c2cb(_0x1b3e01,_0x415db3){return _0x2420cb(_0x1b3e01-0xa0,_0x415db3);}switch(process[_0x572fdc(0x4ab,_0xa60044._0x44c4d5)]){case _0x16c2cb(0x7b4,0x8c0):case _0x572fdc(0x4b5,_0xa60044._0x4ed198):startDetachedPosixService(_0x4da74a);break;case _0x572fdc(0x4ed,0x656):startDetachedWindowsService(_0x4da74a);break;default:throw new Error('Unsuppor'+'ted\x20plat'+_0x572fdc(0x489,_0xa60044._0x48049d)+_0x572fdc(0x728,_0xa60044._0x9c6dd2)+'nt\x20CLI\x20r'+'untime\x20s'+'tart:\x20'+process[_0x16c2cb(_0xa60044._0x480e5f,_0xa60044._0x414003)]);}return waitForRuntimeState();}function uninstallService(){const _0x301a8b={_0x28710e:0x2e5,_0x38ed62:0x3c,_0x539919:0x252,_0x3b0664:0x3c0,_0x48697e:0x1f1,_0x5d7214:0x1a9,_0x3ecb54:0xe1,_0x14fb64:0x3a5,_0x13689a:0x8,_0x4fcab4:0x2c4,_0x53720d:0x67,_0x40f2a6:0x3b,_0x4a7071:0x485,_0x541dfb:0x2dd},_0x4eb4df={'WlBSF':function(_0x2dac00,_0xc4ee49,_0x1a40be){return _0x2dac00(_0xc4ee49,_0x1a40be);},'lFMob':function(_0x26f4d8,_0x276f7a,_0x5992d3){return _0x26f4d8(_0x276f7a,_0x5992d3);},'WbfcF':_0x25d5ee(0x457,_0x301a8b._0x28710e),'CUFus':'delete','ynQrQ':function(_0x5941cf){return _0x5941cf();}};function _0x561ed9(_0x15fc85,_0x2f0e2a){return _0x2420cb(_0x2f0e2a- -0x565,_0x15fc85);}stopRunningProcess();switch(process[_0x561ed9(0x202,0x94)]){case _0x25d5ee(-_0x301a8b._0x38ed62,0x1a0):execIgnoreFailure('launchct'+'l',[_0x25d5ee(_0x301a8b._0x539919,_0x301a8b._0x3b0664),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case'linux':_0x94be63(LINUX_SERVICE_PATH)&&(_0x4eb4df[_0x561ed9(0x389,_0x301a8b._0x48697e)](execIgnoreFailure,'systemct'+'l',['--user','disable','--now',SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),_0x4eb4df[_0x25d5ee(_0x301a8b._0x5d7214,0x3a5)](execIgnoreFailure,_0x561ed9(0x538,0x395)+'l',['--user',_0x561ed9(0x35e,_0x301a8b._0x3ecb54)+'eload']));removeLinuxCronRegistration();break;case'win32':_0x4eb4df[_0x25d5ee(0x1c3,_0x301a8b._0x14fb64)](execIgnoreFailure,_0x4eb4df[_0x561ed9(0x431,0x46d)],[_0x4eb4df[_0x561ed9(-0xe2,-_0x301a8b._0x13689a)],'HKCU\x5cSof'+_0x25d5ee(_0x301a8b._0x4fcab4,_0x301a8b._0x53720d)+_0x561ed9(0x1cf,0x49)+_0x25d5ee(0x2c,-_0x301a8b._0x40f2a6)+_0x25d5ee(0x318,_0x301a8b._0x4a7071)+_0x25d5ee(0x137,0x104)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}function _0x25d5ee(_0x526f6f,_0x4d717d){return _0x2420cb(_0x4d717d- -0x574,_0x526f6f);}return clearServiceState(),_0x4eb4df[_0x561ed9(0x101,_0x301a8b._0x541dfb)](getServiceStatus);}function stopService(){const _0x248cef={_0x15f334:0xf4,_0x5a4503:0x2fd,_0x158302:0x4d9,_0xc7ac4e:0x288,_0x5aec6a:0x24d,_0x4c042d:0x1cf,_0x11e242:0x37,_0x5c639c:0x25d,_0x211804:0x160,_0x5383b0:0x27a},_0x1d61c8={_0x56a687:0x5e},_0x2fcdec={'OTuPq':_0x125055(0x501,0x2c2),'NBKIp':_0x15147a(_0x248cef._0x15f334,_0x248cef._0x5a4503),'WdwhS':_0x125055(_0x248cef._0x158302,_0x248cef._0xc7ac4e)+'l','otCRj':_0x125055(_0x248cef._0x5aec6a,_0x248cef._0x4c042d),'RgAJK':_0x125055(0x46,-_0x248cef._0x11e242),'NBFch':function(_0xed5267){return _0xed5267();}};stopRunningProcess();function _0x125055(_0x11ed4e,_0x6b8227){return _0x410a57(_0x11ed4e,_0x6b8227-_0x1d61c8._0x56a687);}function _0x15147a(_0x519d98,_0x34ee04){return _0x410a57(_0x519d98,_0x34ee04-0x3ca);}switch(process[_0x125055(0x17a,-0x79)]){case'darwin':_0x94be63(MACOS_PLIST_PATH)&&execIgnoreFailure('launchct'+'l',[_0x2fcdec[_0x125055(-_0x248cef._0x5c639c,-0x106)],MACOS_PLIST_PATH]);break;case _0x2fcdec[_0x15147a(0x81b,0x6a7)]:_0x94be63(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x2fcdec['WdwhS'],[_0x2fcdec[_0x15147a(0x248,0x25b)],_0x15147a(0x29f,0x4bf),SYSTEMD_UNIT_NAME]);break;case _0x2fcdec[_0x125055(0x315,_0x248cef._0x211804)]:break;default:break;}return _0x2fcdec[_0x15147a(0x303,_0x248cef._0x5383b0)](clearServiceState),getServiceStatus();}function writeServiceState(_0x47339f=process[_0x2420cb(0x88c,0x728)]){const _0x307829={_0x59d970:0x3fa,_0x4d8f90:0x226},_0x29a4f6={_0xb6b9a6:0x3d8},_0x525227={};_0x525227[_0x4b348f(_0x307829._0x59d970,0x359)]=function(_0x22ffbd,_0x449124){return _0x22ffbd+_0x449124;};function _0x4b348f(_0x389f90,_0x1a6626){return _0x410a57(_0x389f90,_0x1a6626-_0x29a4f6._0xb6b9a6);}function _0x1a6989(_0x1e08e9,_0x3de402){return _0x410a57(_0x1e08e9,_0x3de402-0x4b4);}const _0x4799f8=_0x525227;ensureServiceDirs();const _0x4886c9={'pid':_0x47339f,'startedAt':new Date()['toISOStr'+'ing']()};_0x4dedea(SERVICE_STATE_PATH,_0x4799f8[_0x4b348f(_0x307829._0x4d8f90,0x359)](JSON['stringif'+'y'](_0x4886c9,null,0x2),'\x0a'),'utf8');}function registerRuntimeProcess(_0x522a26){const _0x47434c={_0x3cf648:0x201,_0x186b0b:0x123,_0x58ad5c:0xea,_0x224155:0x640,_0x4d1118:0x5ae,_0x2f0116:0x191,_0x480901:0x18c,_0x52e764:0x4f},_0x1142a5={_0x365b22:0x54},_0xae8a5d={'rgsqD':function(_0x5d51a7,_0x3806a3){return _0x5d51a7(_0x3806a3);}};ensureServiceDirs();const _0x315e14={'pid':_0x522a26[_0x28b969(0x718,0x838)]??process[_0x3712f8(0xc8,_0x47434c._0x3cf648)],'startedAt':_0x522a26[_0x3712f8(-_0x47434c._0x186b0b,-_0x47434c._0x58ad5c)+'t']??new Date()[_0x28b969(0x41f,_0x47434c._0x224155)+_0x3712f8(-0x8e,0x117)](),'gatewayId':_0x522a26[_0x28b969(0x556,0x72d)+'d'],'instanceId':_0x522a26['instance'+'Id'],'serviceMode':_0x522a26[_0x28b969(0x7f8,_0x47434c._0x4d1118)+'ode'],'scriptPath':_0xae8a5d[_0x3712f8(0x89,-_0x47434c._0x2f0116)](resolveScriptPath,_0x522a26[_0x3712f8(0x7d,-_0x47434c._0x480901)+'th'])};function _0x28b969(_0xa08fbc,_0xb8f36f){return _0x2420cb(_0xb8f36f- -_0x1142a5._0x365b22,_0xa08fbc);}function _0x3712f8(_0x3f23f8,_0x26022a){return _0x2420cb(_0x26022a- -0x68b,_0x3f23f8);}const _0x138591=readRuntimeRegistry()[_0x3712f8(-0x184,_0x47434c._0x52e764)](_0x5686f9=>_0x5686f9['pid']!==_0x315e14[_0x28b969(0x6d6,0x838)])[_0x28b969(0xa10,0x794)](_0x315e14);writeRuntimeRegistry(_0x138591);}function unregisterRuntimeProcess(_0xcfd0c3=process['pid']){const _0x10081f={_0x533a64:0x1fc,_0x56da11:0x1a8,_0x24b8e6:0x35},_0x34bdb9={_0x3a50ed:0x327},_0x4e1d66={_0x31a780:0xfb};function _0x22547c(_0x23ca32,_0x106269){return _0x410a57(_0x23ca32,_0x106269-_0x4e1d66._0x31a780);}const _0x4cdb67={'qljPk':function(_0x4ec671,_0x3b7c39){return _0x4ec671(_0x3b7c39);}},_0x55b9c2=readRuntimeRegistry()[_0xe5a51f(0x331,_0x10081f._0x533a64)](_0x16ff3d=>_0x16ff3d[_0x22547c(0x455,0x2b7)]!==_0xcfd0c3);function _0xe5a51f(_0x5ef53b,_0x5e987b){return _0x410a57(_0x5e987b,_0x5ef53b-_0x34bdb9._0x3a50ed);}_0x4cdb67[_0x22547c(_0x10081f._0x56da11,_0x10081f._0x24b8e6)](writeRuntimeRegistry,_0x55b9c2);}function isAutostartUnsupportedError(_0x43624f){const _0x313c83={_0x347841:0x5f7,_0x195825:0x3e3,_0x494ed4:0x471,_0x2200e9:0x61a,_0x48885d:0x369,_0x2b8b23:0x3ea,_0x3c4d6e:0x2ef,_0x3ccc26:0x13e,_0x28b95a:0x583},_0x4677d0={_0x796856:0x2e8},_0x14b453={_0x1d1461:0x3d4},_0xda145d=formatError(_0x43624f)['toLowerC'+_0x44f00a(0x41a,0x310)]();function _0x20989b(_0x182be8,_0x10d363){return _0x2420cb(_0x182be8- -_0x14b453._0x1d1461,_0x10d363);}function _0x44f00a(_0x30b963,_0x1ed279){return _0x2420cb(_0x30b963- -_0x4677d0._0x796856,_0x1ed279);}return _0xda145d[_0x44f00a(_0x313c83._0x347841,0x76a)](_0x44f00a(_0x313c83._0x195825,_0x313c83._0x494ed4)+_0x44f00a(0x531,0x4e8)+'ack\x20is\x20a'+'vailable')||_0xda145d[_0x44f00a(_0x313c83._0x347841,_0x313c83._0x2200e9)](_0x44f00a(0x2b1,_0x313c83._0x48885d)+_0x20989b(_0x313c83._0x2b8b23,0x597)+_0x44f00a(_0x313c83._0x3c4d6e,0x28e)+_0x20989b(_0x313c83._0x3ccc26,0x392)+_0x20989b(_0x313c83._0x28b95a,0x4e7));}function listRuntimeProcesses(_0x1795b2={}){const _0x490ca8={_0x2e76be:0x214,_0x3b818d:0x2f5,_0x4c1f4d:0x464,_0x43a38e:0x3ef,_0x4f3fae:0x668},_0xba0e2c={_0x454e88:0x2eb},_0x2f224e={_0x5f3169:0x542},_0x5339eb={'mjbdD':function(_0x34f042,_0x170a1c){return _0x34f042(_0x170a1c);}},_0x2735bf=resolveScriptPath(_0x1795b2[_0x559cba(_0x490ca8._0x2e76be,_0x490ca8._0x3b818d)+'th']),_0x40d0e2=readRuntimeRegistry();function _0x178e7b(_0x1a64df,_0x1e81e8){return _0x2420cb(_0x1a64df- -_0x2f224e._0x5f3169,_0x1e81e8);}const _0xa05436=[..._0x40d0e2],_0x557e63=new Set(_0x40d0e2[_0x559cba(0x32f,0x553)](_0x5349a3=>_0x5349a3[_0x178e7b(0x34a,0x3cf)]));function _0x559cba(_0x4f4e8d,_0x468c10){return _0x2420cb(_0x4f4e8d- -_0xba0e2c._0x454e88,_0x468c10);}for(const _0x2620c2 of _0x5339eb['mjbdD'](listPosixRuntimePids,_0x2735bf)){if(_0x557e63['has'](_0x2620c2))continue;_0xa05436['push']({'pid':_0x2620c2,'startedAt':new Date(0x0)[_0x559cba(0x3a9,_0x490ca8._0x4c1f4d)+'ing'](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x2735bf});}return _0xa05436[_0x559cba(_0x490ca8._0x43a38e,_0x490ca8._0x4f3fae)](_0x44ecbb=>isPidRunning(_0x44ecbb[_0x559cba(0x5a1,0x560)]))[_0x178e7b(0x176,-0xaf)]((_0x3a4a93,_0x25fbfb)=>_0x3a4a93['pid']-_0x25fbfb[_0x559cba(0x5a1,0x6c9)]);}function stopRuntimeProcesses(_0x439234={}){const _0x3bf807={_0x113c37:0x3a,_0x26155e:0x20d,_0x21730e:0x516,_0xbc1260:0x4e0,_0x1c87eb:0x134,_0x21252b:0x153,_0x3d4871:0x176,_0x159139:0x6bc,_0x28f1ad:0x435,_0x8f3513:0x57d,_0xb74c97:0x1db,_0x5d9bdf:0x2c8,_0x5b7e2a:0x484,_0x5f6c1d:0x1f6,_0x207304:0x631,_0x190706:0x39e,_0x474cba:0x4cc,_0x4cf0c9:0x24c,_0x173371:0xd5,_0x4721ae:0x17b,_0x5342dd:0xc6,_0x1eeed:0x586,_0x1c2bda:0x315,_0x2b0a8f:0x55e,_0x14ef7a:0x215,_0x4ae45a:0x67},_0x16b314={'vivvW':function(_0x10a22f,_0x1a2478){return _0x10a22f(_0x1a2478);},'TTEKG':function(_0x3e7109,_0x5eafb4){return _0x3e7109===_0x5eafb4;},'twlzW':function(_0x2cfa6c,_0x281ca7,_0x2c3c38){return _0x2cfa6c(_0x281ca7,_0x2c3c38);},'Tngzj':_0x1ac034(0x46c,0x1d5),'Gdrii':function(_0x3dc1fb){return _0x3dc1fb();}};function _0x493c7a(_0x3b0f5a,_0x5d87cc){return _0x410a57(_0x5d87cc,_0x3b0f5a-0x3f2);}const _0x1f3cf2={};_0x1f3cf2[_0x1ac034(_0x3bf807._0x113c37,_0x3bf807._0x26155e)+'th']=_0x439234[_0x1ac034(_0x3bf807._0x113c37,-0x66)+'th'];const _0x51199b=_0x16b314[_0x493c7a(0x362,_0x3bf807._0x21730e)](listRuntimeProcesses,_0x1f3cf2),_0x4cbbf8=_0x51199b['filter'](_0x5bae1b=>_0x5bae1b[_0x1ac034(0x3c7,0x36e)]!==(_0x439234[_0x1ac034(0x53a,0x327)+'id']??-0x1));if(_0x16b314[_0x1ac034(_0x3bf807._0xbc1260,0x370)](process[_0x1ac034(_0x3bf807._0x1c87eb,_0x3bf807._0x21252b)],_0x1ac034(_0x3bf807._0x3d4871,-0x2c)))for(const _0x2a8443 of _0x4cbbf8){_0x16b314[_0x493c7a(_0x3bf807._0x159139,_0x3bf807._0x28f1ad)](execIgnoreFailure,_0x16b314[_0x493c7a(_0x3bf807._0x8f3513,0x4d1)],[_0x1ac034(_0x3bf807._0xb74c97,_0x3bf807._0x5d9bdf),String(_0x2a8443[_0x493c7a(0x5ae,_0x3bf807._0x5b7e2a)]),'/T','/F']);}else{for(const _0x3b57a6 of _0x4cbbf8){execIgnoreFailure(_0x1ac034(0x65,_0x3bf807._0x5f6c1d),[_0x493c7a(_0x3bf807._0x207304,_0x3bf807._0x190706),String(_0x3b57a6[_0x493c7a(0x5ae,0x627)])]);}for(const _0x344e8b of _0x4cbbf8){!_0x16b314[_0x1ac034(0x4d5,0x5c0)](waitForPidExit,_0x344e8b[_0x1ac034(0x3c7,_0x3bf807._0x474cba)],0xbb8)&&execIgnoreFailure(_0x493c7a(_0x3bf807._0x4cf0c9,_0x3bf807._0x173371),['-KILL',_0x16b314[_0x1ac034(_0x3bf807._0x4721ae,_0x3bf807._0x5342dd)](String,_0x344e8b[_0x1ac034(0x3c7,_0x3bf807._0x1eeed)])]);}}const _0x311304=_0x16b314[_0x493c7a(_0x3bf807._0x1c2bda,_0x3bf807._0x2b0a8f)](readRuntimeRegistry)[_0x1ac034(_0x3bf807._0x14ef7a,-_0x3bf807._0x4ae45a)](_0x5de24d=>!_0x4cbbf8[_0x493c7a(0x55a,0x5cb)](_0x259b06=>_0x259b06[_0x1ac034(0x3c7,0x4be)]===_0x5de24d[_0x493c7a(0x5ae,0x820)]));function _0x1ac034(_0x38ed6f,_0x1d65f8){return _0x410a57(_0x1d65f8,_0x38ed6f-0x20b);}writeRuntimeRegistry(_0x311304);const _0x1aff55=readServiceState();return _0x1aff55&&_0x4cbbf8[_0x493c7a(0x55a,0x6de)](_0x7f3b42=>_0x7f3b42[_0x493c7a(0x5ae,0x5a9)]===_0x1aff55[_0x1ac034(0x3c7,0x503)])&&clearServiceState(),_0x4cbbf8['map'](_0x257538=>_0x257538['pid']);}function clearServiceState(_0x4f958a){const _0x4b65a3={_0x4aa6ff:0x32},_0x30ee88={_0xa66e9b:0x1bb},_0x4019c4={'gAUss':function(_0x557372,_0x1ca65e){return _0x557372!==_0x1ca65e;},'DfIOF':function(_0x326364,_0x37d3e8){return _0x326364(_0x37d3e8);}};function _0x3d83ce(_0x12419a,_0x59fb8f){return _0x2420cb(_0x59fb8f- -_0x30ee88._0xa66e9b,_0x12419a);}if(!_0x94be63(SERVICE_STATE_PATH))return;function _0xd32d74(_0x168a29,_0x33f00c){return _0x2420cb(_0x168a29-_0x4b65a3._0x4aa6ff,_0x33f00c);}if(_0x4f958a!=null){const _0x238dea=readServiceState();if(_0x238dea&&_0x4019c4[_0xd32d74(0x8df,0x733)](_0x238dea[_0x3d83ce(0x568,0x6d1)],_0x4f958a))return;}_0x4019c4[_0x3d83ce(0x60d,0x63e)](rmIfExists,SERVICE_STATE_PATH);}function getServicePaths(){const _0x2d8bd4={_0x3605b2:0x84c},_0x5e7f35={_0x198285:0x61c},_0x544ef1={'lruIV':function(_0xadaa0b){return _0xadaa0b();}};function _0x403453(_0x97857a,_0x4f6934){return _0x410a57(_0x4f6934,_0x97857a-_0x5e7f35._0x198285);}return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(_0x544ef1[_0x403453(_0x2d8bd4._0x3605b2,0x705)](detectServiceMethod))};}function _0x2fe6(){const _0x5af165=['ihbYB2nLC3m','zM9YD2fYze8','Aw5Ntg9Nz2u','y29UDgvUDc0','lJaIigvUy28','zsbdteKGC2m','tdOG','yNjPzgDLlq','Dg9mB2nHBgu','AgvHzgvYCW','zxHPDa','u3rHCNrLzca','DwvZDcbWzw4','AxqU','C3rVCeHLyxi','DgfSBgf0Aw8','ihzLCMLMAwm','r2zwtwK','BMDqywLYuMu','ywX1zxmGBgK','BwvZC2fNzxm','EsbWywLYAw4','kYKRja','pc9ZDhjPBMC','zxnLBNq9','u0Lhvevstq','C2vUzfrVr2e','zguGpI9Kzxy','ig1LzgLHoIa','ugf0Aa','AYbPCYbHDMe','ihvUy2HHBMC','vLzoDM8','cIaGpc9HCNi','DgLTzwqGB3u','Aw5JBhvKzxm','Dw5Cq2XHD2S','zfvYBa','D2LKDgG','y29UBMvJDc4','z25hve4','B2X2zwqGCMu','y29KzsbBls0','vfPfvLy','BKzYr04','BMvJDeHHBMq','Cg9ouK8','mci+cJXKAwm','CLf1zxvLr2e','yxbZAg90','Aw5Nr2f0zxC','CMvJEwnSzsa','zMfSBgjHy2S','u0Lhsu5u','CMfTCW','ig9Yia','Dw4Gq2XHD2S','mtiXndyWDhPvs3H5','CMnLycbVBMW','zgXLigDHDgu','EsbPzIb5B3u','rgv0zwn0zwq','C3LZDgvTy3q','ihbHAxjGigi','z2f0zxDHEva','lw5LDW','ihrVihjLC3q','CMv0','Bhj1svy','BI4GvxnLihK','zKLMquq','C3LZDgvTza','mLDIDfPWBa','zxjYB3jdB2q','y29UC3rYDwm','C2jxrNe','qujMEKy','yw5KC2HHA2u','z2f0zxDHEum','wNbSt1i','z2f0zxDHEvi','CM5MDge','zLbet0m','lvrfuK0','yxjNzxqkcLS','r2f0zxDHEvi','y1n0yxj0pq','B25Uzwn0','y2XVC2vhyxq','yxv0AcbWyxq','D3nZoG','qxr0u2q','ifnLDcb0Agu','BeznB2i','BwuGBM90igy','y2HLzcbTB2q','ihbHC3n3B3i','uu1HENm','ig1VzguGDg8','r3LuAhG','B2rYsfO','l251BgWGmJ4','mti3lJaUmc4','igj1DcbZDg8','zxDHEs5HDxq','ihjLCxvPCMu','thzZA1y','mJe3z0jIywTL','CMvTB3rLsxa','iffsigLUihq','zM91BMq','zcbZzxj2Awm','Dg9eyxrHvvi','BM90ihjLywq','BgLUDxGTy3i','zsbZDgfYDgu','Bg9Hza','DgfZA2TPBgW','qxv0BY1PBNm','BwfUr3K','Dw5SB2fK','ls1Syxn0','Bwf4','CMvSyxLtzwm','tM8GBwf0y2G','mtu4mZe4nM5bu0XkAa','CMvXDwvZDca','lNbSAxn0','y29UzMLNoIa','DgvYpw5LDhC','ChbLBMq6','Axnoyu4','EfnevMm','zuLKBgvhyxq','zMzLCMvUDca','igHHBMrZAge','zxjYB3i','ANDrC0m','phn0CMLUzZ4','zwvKzwq','BgfIzwW','mJC0mLvtAvvVDG','zxHWAxjLC0e','svb2na','DgvZDa','BuPvCNe','Eef0BMC','Cgf0AevUDG','DgLTzw91Da','Bgf1BMnOywC','z2vUzxjHDgu','ienSyxDRzxq','AxmGC2fMzxq','ihrVDgfSpq','Ag90','DMLJzq','yxrO','DfrPBwvY','D3m6lY8XmJC','qwnLtMu','rufuvwy','y3qGAgfUzhm','ywnJzxb0','C2vYDMvYidW','yw50ihrVigi','ica8yxjYyxK','zgu9','CgfYC2u','z2v0cG','zxzLBa','D3rqt2i','zxjYB3jmB2C','zsbNyxrLD2e','CgLKpsXHCMC','ieLeoIa','BguGz2f0zxC','quD5Dhy','y2uGCMvNAxm','Bgf5twvZC2e','zxjYB3i6ia','B3vYignVBNq','Dgv3yxLdB24','yw5KihbHC3m','sK1jr0u','ywLYlMfWChi','CxjjBwfNzva','yKnouwe','B2nHBcbBls0','yNjPzgDLihi','A2v0','veGIiciKu0m','lIbsDw4GiMm','C3rHDhvZ','yxjNDG','C2XPy2u','CMvXDwLYzwq','ugf0AdOG','B2zM','u3rHCNrPBMC','yMfZzty0','zxDHEsbTzxm','B250ywLUzxi','BMvJDgvK','DgHPCYbOB3m','DgGG','Esb0B2TLBIa','Dw5RBM93BG','ywLYzwqGD2K','ywLYlNjLAMu','B249q2XHD2S','DMfSDwvZ','y2XPzw50swq','y2yTBwL0AwC','lMPZB24','Cgf0Aa','DgvTChq9','lY5VCgvUy2W','vxH3CKS','tMrnz1m','whD4thC','A2uGmZbZlca','ywWGwY0TDxi','DhDSELC','uMPczw4','uMvSyxLszwm','uxzLAw4','BM9VCa','nKjJtwfkvq','A2v5pKTLzxa','w1vUAxrDcKq','CMvZDgfYDa','CNvUlxjLz2K','ywLYuMvXDwu','vfrfs0C','zwnHDxnLigW','zgvfEhbPCMu','BxzNAu8','C2vYDMvYlw0','r2f0zxDHEsa','AeLcChy','C2vHCMnO','tKjlsxa','AgfUzgXLr2e','A2TJq1e','B25qzw5KAw4','vw5ZDxbWB3i','t1bftG','yxr0zw1WDd0','B3iGCgfZC3C','DejHC2vezwW','icbLEgvJici','y2XPzw50igq','yNbSvei','Aw5Qzwn0zwq','l0rurcbqteK','Dg9YycbMB3i','BMqGC2vYDMK','Bg8W','AxmGBg9JywW','iurpq1rzueu','D2f5','BgfZDevYCM8','C3bVBNnL','C3z3t2y','zMLUza','z2v0u25HChm','y2XPzw50x2m','CNvUBMLUzW','w3bHAxiTCMu','ywrKCMvZCW','y2XLyxjjBKy','ihjLBgf5pq','lNnLCNzPy2u','DLbpwum','Ag9ZDdPWB3i','ywXYzwfKEsa','AunnEeK','qw1Uyw0','v2jMy0y','igzHBgXIywm','C3bSAxq','DgfW','zgv0ywnOzwq','DxLzCLy','ignYB250ywi','zxvLzcb1BNq','zxvLigjLzM8','AgfRztSGCxu','Ag9ZDg5HBwu','DNbU','uvHMBe4','zgLZCgXHEu4','BejXzfu','q2XHD2TLDca','B3iGDxnLige','DhLWzq','tLLpsei','y2XHD2TLDca','q2XHD2TLDei','D2LUzg93C0G','rM9twfe','CNnPB249iJe','B2rLihjLzNi','pL0GwY0TBgK','tuv0DMK','lY9OB3n0oNa','CxiTzMLSzsa','uKLqvf9qqvq','CMvXDwvZDeK','A2vtDgfYDgu','A2LUza','DMvYlG','pL0GwY0TCMu','B2S9Dhj1zq','z2f0zxDHEvu','C2LUzY4','q05dBfi','q3vYCMvUDfy','ANvkELq','yxj0zwqGDgG','B2DRugC','zxnJCMLWDgK','igvYCM9Yq28','zxHJBhvKzva','DxbKyxrLu24','q3Duv3e','C3rYAw5N','z2f0zxDHEvm','refQu08','tK9erv9qqvq','CMvSyxKGzxi','uKvhx1nA','CgfPCMLUzYa','BwLZC2LUzW','CgvU','y29UBMvJDa','CMvJB25Uzwm','qwnJzxnZigm','uKvrvuLsruq','D2LUzg93CY0','ztOG','ls11CMW','ifjLDhj5igy','Bgf5q29UDhi','yMXLigr1CMK','B3j0','ChjVDg9JB2W','jMD0oW','zxnVBhzLza','z0LkqKu','z2f0zxDHEvq','zwXHEq','zxnZig1HBMe','zxjLCxvPC2K','otiYotzmrMnPwe8','ywfWuxe','ywn0Aw9U','C2GGzhjVCha','Dw5HDMfPBge','DgjLyxq','zs5JBgK','D0jxqMK','y2vZuMvJzw4','C3rHCNqGDxi','zxjZ','CMDZCuq','D3HOyKC','A2LUz0rPCMu','EufJDgL2Axq','B3iGmwqU','C2nYAxb0uge','BMCGy29UBMu','lMrLDG','icaGidXZDhi','BgfZDca8mM0','CMvMCMvZAgu','je5prevFuee','zw1WDa','t3fku2q','Dg9Rzw4','yu5Zzw4','ihrVA2vUoIa','sLDMsKy','BgXDcLDHBNq','DfrPBwvVDxq','q0Xbv0rct1q','yMfJA2DYB3u','y2HHBgXLBMC','Dwfqweu','ignSAsbZzxi','CMLUzYbJB2q','igf1DgGGAxm','BwLU','Es11CMW','y29UzMLNig4','CM9Wzxj0EuW','AxnbCNjHEq','CMvX','rM91BMq','zwq9','DgHLBG','Bca8D3m6lY8','vgHPCYbOB3m','CdOVl3D3DY4','CMLKz2vdBgK','s0zpD0q','igHHCYbIB3q','CgLUzW','DM1Uzxq','B2nRzxq','zsbJB3vSzca','ywrKugvUzgK','B0nQCu0','A2LSBa','CxjqyxLSB2e','CMvSyxKGzgK','BKnSyxCGChi','zxjLBNqGC2u','ihrVihnWzwm','zxrYEurLBge','BMvZidWYmda','B3HPDfi','C2vYDMLJzva','zcWGCNvUBMK','AgfIBgu','rxnZsg4','ywLYic0TzM8','qwXPDMu8l2S','v2LUzg93C1W','l3yXl3bHAxi','DwfSBhKU','AxD4qwq','z2v0vgLTzq','zwqU','tuzJruK','qw5VDgHLCIa','Dw5Yzwy','BM5Ly3qGyxq','B21WBgv0zsa','CxvLC3q','BhzLza','DhjSk0mGDg8','Bg9JywW','BguGzhjVCha','q2XP','yLrWD0e','DxrMoa','v0TTtLC','ELjLyvK','zhjVChbLza','Bg9NCYbMB3u','CMjhAeq','CMvSyxLvCMW','zMfTAwX5','yxLnzxnZywC','B24U','tw9IAwXLiem','ygnSyxDRzxq','Be1Z','AwWGz2f0zxC','DLbqyLC','txm9','zxDHEvvYBa','zxHPDenVzgu','q1vgDxm','DgG8l2TLEt4','yMXVy2TLzca','yxnZD29Yza','B3rduMO','vNzZvhy','B2TLBG','igvSyxbZzwq','zwrcEt1Kzwy','Bwv0Ag9K','CMvHzhLtDge','Dw50Aw1Llxa','y29UzMLNrgK','C3LZDgvTzc0','lM9Wzw5JBge','t1r1uhe','zgvZDhjVEq','y2uGywXYzwe','ywnJzxnZq28','suXVqNK','CZWVA2v5pGO','zNDTCgi','CMvJDgLVBKW','C3rPBgWGCNu','zt1WyxnZD28','C2vYDMLJzuK','y3rVCNK9','Ahr0Chm6lY8','Eu90v0e','wY0TANnVBL0','B2nHBcbpCgu','yLr2yvC','Ac5TB2rLigK','BwvKAwfeAxi','BMrPBMCGCMu','tKjgy2G','yxrLD2f5t3a','BMfTzq','vMvYC2LVBJO','wNverw4','Bg9JywXhyxq','CNvUDgLTzsa','C3nHz2vZ','ywvKB2m','x19JBgf3A2u','CYbUB3qGCMu','AcbHigrPzMy','vLb2ENm','icH0B2TLBIa','Ag9ZDa','zgLZy29UBMu','reDsy0i','v29fAwq','Dg9Y','u2vYDMLJzsa','B3bWzwqGDg8','BujUsue','zcbXDwv1zwq','BIaIy2XHD2S','C2nqr2u','Dw5ZDxbWB3i','ChvZAfbLBMq','BwvZC2fNzq','zw1HBMqGzhi','igrLDMLJzuK','AxncDwzMzxi','Axn0CMf0Aw8','C2LUzYbPzgW','C3rHCNrLzee','ls1UB3C','r2vUzxjHDgu','B3bLBMnSyxC','BgLOsuu','AwvUDerLBwe','yxj0yMvHDca','CfbTzvi','DhjPBq','igXVywqGDgG','CMvZ','mtK0ndG3nvzbzLj6sa','zxj2AwnLige','y3jVC29MDfW','BMD0Ad0','C21HBgW','CMvXDwvZDgu','zhjVChbLzca','z2f0zxDHEsa','yxvUy2HLCI4','uMvXDwvZDfi','DMvYC2LVBG','pwfSD2f5CWO','vg9Rzw5gB3u','Bwu+xsbBls0','Cgf5Bg9Hza','BM90igjLihm','zxqGAw5ZDge','C3DRs08','B3vUDa','r2f0zxDHEtO','DcbKB2vZig4','yxrLD2f5uMu','B25Jzq','EMPvExK','rM9RBfe','uhnQBwS','q3nLB2K','ihj1BNrPBwu','C3rVBsbNyxq','uMvZDgfYDfm','D29YzcbJB24','C2vYDMLJzvi','yxqG','q1ndzue','BLPOq0e','ywrK','CYbTAxnZAw4','z2v0','y2XPzw50x2q','u3rHCNrLza','lJaUmc4XoG','zg93BG','zxnO','zM9YBsbMB3i','y2XVC2u','Bg9N','AgfSBgvUz2u','DhDHCMvCtwK','zgvMyxvSDeC','Cgf0Ag5HBwu','vxjS','swfqywW','y29UBMvJDca','nJbxCenyA1q','DgvYBwLUyxq','Et4kica8C3q','D3m6','qM1kCKm','zcbMB3iGzNi','jNf1B3q7','yMLUyxj5','C3rHBguGz2e','ignSAwvUDhm','DgXZ','AxnszwXHEu8','C25HChnOB3q','ue5fsKG','uLrPEhq','rxHWAxjLCZO','y3jLyxrLv2u','CMvSyxLtB2m','r2rYAwK','qMfJA2DYB3u','BgvUz3rO','CMvZCg9UC2u','C3rYEsbbueK','cIaGphn0CMK','CgXHDgzVCM0','t1bftKnmqvC','u3rYAw5N','vM55sfy','pd94BwWGDMu','CgvUzgLUz0C','B3jKks4','A2fABMe','ienmssbZzxi','C2vYDMLJzu0','BgLUDxG','CgfPCIbYzxe','AxjPBMCU','Aw5ZDgfUy2u','CMvWBgfJzue','lJaUmc4XoJe','qvripsi','CwXQugS','zw5nCZ0','Dw5Kyxj5ihi','zw5JB2rPBMC','BwLSEq','D2fPDa','y29UBMvJDeG','CMvSyxKGy28','qNntBfG','CgLWzq','Bg9JywWTCge','B250ywi','u2vYDMLJztO','CuLKpq','zevYCM9Ypwe','y29UzMLN','BwfW','AxnJB25Uzwm','yurRs2S','phbHDgG+xsa','C2vYDMLJzsi','BgfZDfnLzw4','ig5HBwu9','uNvUBMLUzZO','ihrVA2vUigK','vxvUv1O','D2f5twvZC2e','Cgf0Ad5DifS','zgvK','s213C3a','CNvUifSTlwC','AwyGwYaTEca','AcbNyxrLD2e','ihrLEhq9','y2XHD2TLDc0','zhjVCfn0ywW','yujPwLC','z1bHAxjszxe','CYb1BNnLDc4','lxfYlwzPBgu','yxrLD2f5ihi','igTLChq9','DgfYDdOG','C3rHCNrZv2K','yxrPyYbZDge','iYeVyMLUl3m','zxHPC3rPBMC','zgLUz0DHDgu','yxbWBhK','D2LUmZi','B3jRlw9UBgK','zxHWB3j0ifa','BIWGyw5Kihq','Dw5K','DML2DLC','zhKGCNvUBMK','zsbUzxCGCge','zxrO','zxzLCNK','Dgv3yxK','zgfLBw9Ulxi','vw5HyMXLihq','CM9YoIa','iejYAwrNzsa','BgKUBg9N','C2nOzwr1Bgu','DgfSBgvKigi','zxDHEvjLywm','BgKUANnVBG','zcbKzwXHEu0','yxv0Aa','C0fnuw0','ig1LDgHVzd0','ls1XDwLLDa','B3jPz2LU','yxKGCMvJB24','ls1LCNjVCNm','B24GzMfPBgu','pg5VBMu+','zw5ZDxjLr2e','yxrLD2f5vxi','Bg9Nu2XVD0m','DgHLihjLz2K','DMLJzsbJBgu','sw5ZDgfUy2u','CgfPCIbSB2m','zerLDMLJzxm','y2HHBMDLzc4','ihnPBMnLq2W','pGOGidXRzxK','BM93','zwXVywq','igvYCM9Ytwu','yxnZAwDU','lY9bChbSzs8','AxnhyxrLD2e','CMvNAxn0CNK','Dw5UAw5N','C3rZ','D2KTzMK','ExbHC3mGDgG','BM90igLUC3q','DMLJzsbMB3i','igjYAwrNzsa','BxbSzqPfEgu','C2vHCMnOuge','AxjZDc4Gq28','ls1Zzxj2Awm','AKzZsg8','C2fNzq','zxjZAw9Uxfi','yxv0Ae1Vzgu','yxbWCM92zwq','igzHAwXLzca','DxjS','AwL0s0m','DLnPCeK','zwqGyMfJA2C','ChbLzc4GuMu','ig1PC3nPBMC','AgfUzgXLuMu','DxbKyxrLzee','BcbPCYbUB3q','BgfZDe1Z','ChbW','wgr5vLG','AguGq2XHD2S','yu1xvwq','lwf4','BgLLBNq','BgfZDfjLBge','CNrIzwf0','D2XHBG','qxrnCW','D2f5uMvXDwu','suq6ia','q29UzMLNoIa','DwLMuuK','Dg9ju09tDhi','CMvMCMvZAc0','zg9LCYbUB3q','zMPHquK','q2XLyxjLzca','tuTTBKW','CMWGphDZoI8','cGPBsw5ZDge','D3m6lY8','EsbruIbPBIa','sfL5Bhe','igLUDgvUDgK','l1bjra','Dgv4Da','BNvTyMvY','zwqUifj1BIa','B25SAw5LlNq','qxv0Ae1Vzgu','zxDHEq','rNHzDee','uNPSu2W','CgfPCMvK','BcbNyxrLD2e','ihjLCuLKpq','Dgv3yxLnzxm','Bg9VCgjHy2S','B3vUzcbZzxi','lw5HBwuGpgq','zMX1C2Hqzw4','zxjYB3jnzxm','BMuUDgfYz2u','DMLJzsbYzxm','Aw5ZDgfSBa','ue9tva','iYbJBgf3A2u','DxnfzuO','C29YDa','CMvSyxKGy2W','AM9PBG','zgv2AwnLlNa','AxjKvKG','ls1SB2nHBa','BYbKzxrLCM0','zw50CMLLCW','DxnLCG','C0f0','De1Z','CM9TigeGzgK','yxbWzw5KoG','CMvNAxn0zxi','Aw9Ul2PZB24','ugfZC3DVCMq','yxrLza','u0nssvbux1a','z2vYihrVihi','BM8Gy3jVBNq','nxW0Fdn8mxW','uefjuKLor18','DMv0Aa','Bg9ZAw5NigK','CNjVCKXVzW','ChvZAa','uNbiA3m','icbLEgvJig4','zxK+cIaGphq','yxrLD2f5lxu','Aw5NpG','DgfPBhmSig8','zxHWBgLJAxq','CMHXzLq','zMLSDgvY','lNDVCMTLCNm','Dd4k','zw5dBgf3ieC','zgv2AwnLswq','ywX1zsaI','AxiGzMLYC3q','zNjVBq','AcbMB3iGC2u','wMzSAhm','vLvZDxG','B3rOzxjuzxG','x0DbvevxqvK','u2vYDMLJzv0','ls1MB3jJzq','BgKTzxjYB3i','yxvTthK','y29UBMvJDgu','AxnjBNrLz2u','Bwf0y2G','Aw5ZDc0','C3rHCNq','yxbWBgLJyxq','sxnLEK8','Ahr0Chm6','l3DZ','vvjmoIa','yLnVy2TLDa','pL0GwY0Tzxi','s1rNvvC','zwXHChnLzfm','Dw5PBNn0ywW','zcbHBMqGBM8','w2nSyxDRzxq','DhjPBuvUza','BgWIig9Yici','y2XPzw50q28','DwvZDcbYzxm','y29UzMLNrM8','yxjnCvi','yxnL','CIbWyxnZD28','CMvZzxq','zxf1zxn0CW','zgLUzYbYzxe','y2XLyxi','CxvLC3rjzd0','BMvJDhm','Dg9tDhjPBMC','zsbWywLYAw4','C2nVCMu','CMf3','B21SEvi','phvUA25VD24','yw5Ktxm9','w3n0yxr1C10','yxr0zw1WDgu','BM90ihbHAxi','zgfYD2LU','pLbYB2DYyw0','y2XLyxjuAw0','zxDHEsa','ignVBMzPzYa','ugf0AdWVA2u','CMvQzwn0uge','zw5HyMXL','zgvUDgL0Esa','sw52ywXPzca','Bg9ZzujVDw4','cLr5Cgu9C2K','B3j0pL0GwY0','B2jZzxj2zum','svreEvm','vgLiwNy','C2v0vgLTzw8','iMnSyxDRzxq','ANnVBG','CNqGyxv0B20','jJe7ihrOzw4','lMXVzW','r0TmqKi','ruHPwhC','AKnnswm','AgvHCNrIzwe','CgvUzgLUz1a','Eu9Wzw4','zxDHEvf1zxu','zxqGyxbWoGO','ls1XCI1MAwW','C3rHCNrPBMC','r1DuCgS','zM91BMqGDw4','Aw5Jzq','q2nptfu','tvnstKW','C3rKzxjY','igrPCJOG','ywLYzwqUifi','DgLUzYbMB3i','DhvU','sxzODMK','zcWGyNv0ihm','Dw50','yxj0','zsbYDw50Aw0','CNvU','Bs9everZl1a','y291BNq','Bg9NCW','pLn0yw5Kyxi','yxK+cIaGpgS','q29UzMLNrgK','zw50','zsbdBgf3A2u','AxmGy3vZDg8','y2XPzw50rgu','odC4oq','ywiGzM9Y','uviGAw1Hz2u','AxnTyxrJAa','z2vZ','uvzZvxm','y2XPzw50tMe','ihrVA2vUig8','v2Xcu0y','q29UzMLNrM8','CMvJDxjZAxy','y2XVC2vKoIa','yNjPzgDLlwm','l3jVB3q','A2v0igfWCdO','tg9NihbHDgG','AdOG','zgzSyxjLigm','zcbHigXVy2e','B2jMs3u','yxv0AezPzwW','C2vUzeDHDgu','Bw9Kzq','zgfYEvbLBMq','sfrSDeS','lMfP','mta5nNbfzgTUEq','tunxwxC','C2HHA2vZ','CNn0lcbVCIa','CgfYyw1Z','ktOGq2XVDwq','C2vUDa','Bg9Nugf0Aa','DxjSidX3CZO','BgX3','u1zjAMG','v2TiCeO','B25mB2C','BM5Ly3rLzca','DxjSpL0GwY0','u2vYDMvYifu','uNvUigbJBge','B25tDgf0Dxm','yxj0ienSyxC','zw50CW','BM9KzvbHDgG','Aw5LigeGtee','wvv6tgi','m3WWFdr8mxW','ig5VBMnLuhi','z2f0zxDHEuK','zxnOignSAwu','Dgv3yxKGCxu','B25Uzwn0u3q','BgLUzxm','yNiT','AgfZ','Ahr0CdOVlW','CMvWBgfJzq','qKDhyu8','CLLtAvG','uujXwg4','Bgf1BMnOy3q','AwXHyMXLoIa','DgvK','D2LMAq','qxjNDw1LBNq','zg9JA2vY','sM1nB0y','rxveswq','svntrK4','zcWGC3rVCha','Aw5JBhvKzuu','rMLJCe0','wevAwvO','zMnoEhm','BM9Uy2vqCMu','BwuSigj1Dca','zvrhDvC','zxqGqNjPzgC','y29TBwfUzca','refOvgi','ihjLyxnVBJ0','Aw5N','A2v5CW','vujmsumGiI0','u3rVChbLzca','sKnOz1G','uMvTB3zLzca','Ehrzy3K','zevYCM9Yuge','DeLUDgvYDMe','ls1Zzxj2zxi','ihPLCM87igC','CMqGyMvMB3i','yxrLD2f5twu','CgfPCG','BgrZpq','idXWyxrOpL0','id4+ia','C2vUza','BMzPzYbWyxq','B3qGzM91BMq','C2fNzxmGyMu','AxbZzwm','CNvUiIbTyw4','tMLgEKC','B2rL','CNzPy2uGAw4','CMvJzw50','zgvYia','DgvKihbSyxq','ig1VCMuGzgu','l2fJy2vZCY0','ief1Dg9Tyxq','Bgf3A2v0iha','ze91Dhb1Dd0','EwvZ','C3rVCa','zgvJAxnPB24','zxzLBNq','yNjPzgDLlxm','s3nZr2m','C3rHBgXHDgK','zwjVB3qU','ywDLBNrZ','D0H2ugu','C2vYDMvYvxi','sLHXCxm','yxLnCW','B3zL','uMDbsKS','CNvLlZ4kica','Cw5iCgm','BhjLywr5iha','mc4WlJaUma','q29UBMvJDeG','CejYwLK','zwqGy29Kzt0','zguGCNvUDgK','s3H2u0e','CMvSyxLbDhq','ihPLCM87igm','D2HLCMu','igjPBMfYEt0','rxjYB3iGtg8','C3rYAw5NAwy','BwfYA1bHAxi','zxrOB2q','DxrVBwf0Awm','vuHqAKe','vwXACee','zgv2AwnLrMe','y29Uy2f0','C3rKAw8','Dd5DifSTlxe','C3rVChbLza','rMfPBgvKihq','lZeYnY4WlJa','ig1HBMfNzxi','CIb1C2uGygm','C2v0','ndeXnti3y1vhCK9A','BwfYA0rLDMK','r3voq00','zgv0ywLSCW','CYbHBhjLywq','zwm9mGPxB3i','CM9U','mtGXnZu2oxHvBuDwqW','rgzjt0y','EsbYDw5UAw4','C3rHCNrizwe','uMvSyxKGvvi','uMjNwvO','tNHky3C','vLrbsLa','Dg9mB3DLCKm','jYiNiIC','yw1L','AxngAw5PDgu','swq9','Dg90ywW','seTdvvXtB2y','sciGCNvUic0','CMvSyxLdB24','Et5mywjLBdW','Aw5Nienmssa','zhLuyKO','ihnLCNzPy2u','BwfUzfn0yxi','B25Uzwn0sge','Cgf0AdOG','yxKGCxvLDwu','CNvVtw8','lwPZB25D','C3vJy2vLzgu','C3rPBgWGCgu','C3rVCciGzMK','y29Kzq','DgvKqxrnCW','CgfZC3DVCMq','ywiGzMfSBgi','t0nwsuO','v0Tstue','y29UBMvJDfi','ifSTlwPZB24','cLn0yw5Kyxi','CxvLC3rDihi','igr1CgXPy2e','zuPuuNe','zffiseW','Axn0zxi','y29UzMLNuge','C2vYDMLJzq','zgf0yq','zw1HBMq','zg9JDg9Y','C3bVBNnLigi','Dw50Aw1LigK','r3LNCvy','ugfPCMLUzYa','AwDUB3jL','AxnWBgf5tMe','CgvUzgLUzW','wgDgEwK','Awz5igeGy3u','lIbsDw4GCge','AxmTywn0Axy','C3rHBguGAwq','rfLnsg0','DaPxyw50CZ0','y2HJs00','C29Tzq','BYbYzxnVBhy','DMLJzsbPBNm','yvDrrKG','rI04iJ8+cJW','shLcA1m','igDHDgv3yxK','CNDut0y','B3vUzcbMB3i','ls11C2vY','Ew5rCLe','CMPKq2e','zsbdteKkqwy','Cg9YDa','t3bLBKnSyxC','y29UDhjVBf8','wg5Urhy','DgfPBhnJywW','y2LbtfO','kcGOlISPkYK','B2jZzxj2zuC','zsbIywnRz3i','DMjVEa','BgLZDa','AwrL','zxj2AwnLlwW','C2LVBJ0Ims4','tIbjucbHzgq','CMvSyxKGCMu','igvYCM9Ypq','CM9JzxnZzxm','ww91ignHBIa','ls1Uyw1L','CMvN','CMvQzwn0zwq','vg5NEMO','ufH4wLq','wwTXqMK','zM9YD2fYzgu','igj1DcbNyxq','C2XVD1DHCM4','z2f0zxDHEq','rhHSvw4','Cg9UzW','CuDmrhK','CNr1CcbYzwC','BMv0D29YAYa','B2TLC0i','x1bbu1nxt1i','zxjYB3jdB3i','x1rps0vo','BMvJDgLUzW','Axjszxf1zxm','DvrfBxq','ywXSzw5Nzsa','Aw5gBgLNAhq','v2Hnq0e','igXV','DgvKoYbNyxq','ywnRihrVia','Aw1Hz2uVCg4','sd0I','ihrYyw5ZAwu','lI4VCgfJA2e','zMLNDxjLzcW','C3rYEq','qNjPzgDL','y3jVBNrHyG','rxjYB3iGBg8','BNn0ywXSzwq','B25Uzwn0Aw4','ywnOywjSzsa','D2TLDcbKB2m','B3bLBG','BMv0D29YAY0','CgzAqxm','uKW6ia','B2S9zMfSC2u','ihn0B3aU','yxrLD2f5igK','qhjLyM9VDca','ywXSzwq','verUDuS','zg9JDg9YifS','CgLK','zYbruI4','ugfPCMvKoIa','z2f0zxDHEuG','otLLEKzHrhm','Et4kica8Dhi','BgLZDcb2zxi','CNvUDgLTzs4','B3qGC3vWCg8','Aw5ZDgfSBgu','ihvYBd0','zxrYEvrPBwu','vMzkBgC','tg9HzdWVA2u','igfSC28GAgK','ELngvwS','qMPIr3u','CMuGCMvJEwm','DhLZEKK','B3b0Aw9UCW','BIbMywLSzwq','tK9ux1bbsvi','lMnSyxDRzxq','y2f0y2G','ls1SAw5LCW','AwrLBNrPDhK','y3jLyxrLzee','lwnSAq','DNnfyKC','AK5uCfe','BMrZAgfRzxm','D2LYzwD1yxi','Eu1Z','z0fvC3m','y3rLzcbJB2q','Dg1oqum','ignVBM5Ly3q','ls1Syxn0ihy','ru4IicjODhq','igf2ywLSywi','DLPrq0q','CI1MAwXLidW','zYbWyxrOoIa','B2jQzwn0','BsbNyxrLD2e','zxnLDciGyMu','y2nVzfy','B25Uzwn0zwq'];_0x2fe6=function(){return _0x5af165;};return _0x2fe6();}function buildMacosPlist(_0x55f890,_0x13956e,_0x8ce87e){const _0x23484e={_0x2ea2a8:0x109,_0x5e69cb:0x334,_0x23be6d:0x32b,_0x387fbd:0x85f,_0xa83760:0x42a,_0x7af8e4:0x15c,_0x2874ca:0x4a9,_0x5bf117:0x421,_0x38a0c1:0x52c,_0x4cb2ca:0x654,_0x339102:0x303,_0x1a9df2:0x4f1,_0x303902:0x483,_0x2dd68f:0x435,_0x5d9775:0x5b0,_0x5a56fe:0x54d,_0x2449cd:0x2dd,_0x1683d9:0x1e5,_0x4be4f3:0x6b7,_0x2afb1b:0x3cc,_0x4de581:0x513,_0x25d3d1:0x380,_0x2f625c:0x48f,_0x331457:0x6f3,_0x1912ed:0x27,_0x5b1a5d:0x8c,_0x224d62:0x152,_0x2d2ef4:0x264,_0x3a1c1a:0x236,_0x4d72ab:0x96,_0x3d8107:0x33d,_0x6f2e2a:0x3d0},_0x11a061={_0x37e854:0x1bf},_0xa89909={_0x160dfd:0x34a};function _0x33cefe(_0x428368,_0x11e84f){return _0x410a57(_0x428368,_0x11e84f-_0xa89909._0x160dfd);}const _0x127dff=_0x55f890[_0x29a915(_0x23484e._0x2ea2a8,0x35c)](_0x450791=>_0x29a915(-0xf,-0x1ad)+_0x33cefe(0x407,0x350)+escapeXml(_0x450791)+(_0x29a915(0x3c2,0x25c)+'>'))[_0x33cefe(0x273,_0x23484e._0x5e69cb)]('\x0a');function _0x29a915(_0x29ac67,_0x4a25e0){return _0x410a57(_0x4a25e0,_0x29ac67-_0x11a061._0x37e854);}return _0x33cefe(0x392,0x277)+_0x33cefe(0x650,0x663)+_0x33cefe(0x789,0x53a)+'ding=\x22UT'+_0x29a915(_0x23484e._0x23be6d,0x11a)+_0x33cefe(_0x23484e._0x387fbd,0x639)+'\x20plist\x20P'+_0x29a915(0x293,_0x23484e._0xa83760)+_0x29a915(0x157,_0x23484e._0x7af8e4)+_0x29a915(_0x23484e._0x2874ca,0x675)+'ST\x201.0//'+_0x33cefe(_0x23484e._0x5bf117,_0x23484e._0x38a0c1)+_0x33cefe(0x163,0x19a)+'apple.co'+_0x29a915(0x233,0x44b)+_0x33cefe(0x356,0x192)+'ist-1.0.'+'dtd\x22>\x0a<p'+_0x33cefe(_0x23484e._0x4cb2ca,0x50c)+_0x29a915(0x341,_0x23484e._0x339102)+_0x29a915(0x3da,_0x23484e._0x1a9df2)+'t>\x0a\x20\x20<ke'+_0x33cefe(0x2c6,_0x23484e._0x303902)+'/key>\x0a\x20\x20'+_0x29a915(_0x23484e._0x2dd68f,0x565)+SERVICE_LABEL+(_0x33cefe(_0x23484e._0x5d9775,_0x23484e._0x5a56fe)+_0x33cefe(0x3c2,_0x23484e._0x2449cd)+_0x33cefe(0x4e5,0x38f)+_0x29a915(0x280,0x443)+_0x29a915(0x60,_0x23484e._0x1683d9)+_0x29a915(0x450,_0x23484e._0x4be4f3)+'>\x0a')+_0x127dff+(_0x29a915(_0x23484e._0x2afb1b,0x3ee)+_0x29a915(0x237,0x6f)+'ey>RunAt'+_0x33cefe(0x527,_0x23484e._0x4de581)+_0x29a915(_0x23484e._0x25d3d1,0x58c)+'ue/>\x0a\x20\x20<'+_0x29a915(_0x23484e._0x2f625c,_0x23484e._0x331457)+_0x29a915(_0x23484e._0x1912ed,-0x54)+_0x29a915(0x1c3,-_0x23484e._0x5b1a5d)+_0x29a915(0x2c2,0x152)+'<key>Sta'+'ndardOut'+_0x29a915(0x208,0x4e)+_0x33cefe(0x482,0x25d)+'ring>')+escapeXml(_0x13956e)+(_0x29a915(0x3c2,0x2d3)+_0x29a915(_0x23484e._0x224d62,_0x23484e._0x2d2ef4)+_0x29a915(_0x23484e._0x3a1c1a,0x3bb)+_0x33cefe(0x68f,0x423)+_0x29a915(0x4d,_0x23484e._0x4d72ab)+_0x29a915(0xe7,_0x23484e._0x3d8107)+'ng>')+escapeXml(_0x8ce87e)+('</string'+'>\x0a</dict'+'>\x0a</plis'+_0x29a915(0x1cb,_0x23484e._0x6f2e2a));}function buildLinuxSystemdUnit(_0x5bb238,_0x2ed40b,_0x20275c){const _0x17a7a5={_0x13229e:0x6d8,_0x5a6480:0x4e3,_0x56554a:0x9d6,_0x45b0e9:0xabb,_0x4b7f2f:0x4e2,_0x36cf30:0x96e,_0x44f781:0x610,_0xd9d92d:0x6fa,_0x25c224:0x3f6,_0x13694f:0x500,_0x4642a4:0x775,_0x20e716:0x5c6,_0x3fae48:0x3e8,_0x14235c:0x4f7,_0xc54a01:0x3f2,_0x5bd949:0x7a0,_0x2e70f3:0x3b6,_0x35348c:0x9d0,_0xba7a5e:0x582,_0x1b98c1:0x675,_0x468944:0x687,_0x428135:0x9a6,_0x4391b9:0x8dc,_0x165140:0x96a,_0x5c7787:0x881,_0x225129:0x782,_0x194733:0x682,_0x2426d4:0x621,_0x138dfc:0x250,_0x4cade6:0x262,_0x36e50c:0x2a9,_0x587c9e:0x8a,_0x58c1dd:0x89c},_0x3be6b0={_0x54c753:0x414};function _0x547d76(_0x4b4ee9,_0x309721){return _0x410a57(_0x309721,_0x4b4ee9-_0x3be6b0._0x54c753);}function _0x40c12b(_0x295b15,_0x432021){return _0x410a57(_0x295b15,_0x432021-0x78e);}const _0x50000a=_0x5bb238[_0x40c12b(0x4e3,_0x17a7a5._0x13229e)](escapeSystemdArg)['join']('\x20');return _0x547d76(0x6e5,_0x17a7a5._0x5a6480)+_0x40c12b(_0x17a7a5._0x56554a,_0x17a7a5._0x45b0e9)+_0x547d76(0x6d1,0x941)+_0x547d76(_0x17a7a5._0x4b7f2f,0x5c3)+_0x40c12b(_0x17a7a5._0x36cf30,0x902)+_0x547d76(0x681,0x823)+_0x40c12b(_0x17a7a5._0x44f781,_0x17a7a5._0xd9d92d)+_0x547d76(_0x17a7a5._0x25c224,_0x17a7a5._0x13694f)+_0x547d76(0x57a,_0x17a7a5._0x4642a4)+_0x547d76(_0x17a7a5._0x20e716,0x6b1)+_0x547d76(_0x17a7a5._0x3fae48,_0x17a7a5._0x14235c)+_0x547d76(0x654,0x4c9)+_0x547d76(0x42b,_0x17a7a5._0xc54a01)+_0x40c12b(_0x17a7a5._0x5bd949,0x7dd)+_0x547d76(_0x17a7a5._0x2e70f3,0x48d)+_0x40c12b(0xb2f,_0x17a7a5._0x35348c)+_0x50000a+('\x0aRestart'+_0x40c12b(_0x17a7a5._0xba7a5e,_0x17a7a5._0x1b98c1)+_0x40c12b(0x5b3,_0x17a7a5._0x468944)+_0x40c12b(0x62e,0x8b4)+_0x40c12b(0x395,0x5ba)+_0x40c12b(0x61c,0x635))+escapeSystemdArg(SERVICE_DIR)+(_0x40c12b(_0x17a7a5._0x428135,_0x17a7a5._0x4391b9)+_0x40c12b(_0x17a7a5._0x165140,_0x17a7a5._0x5c7787)+_0x40c12b(0x89a,_0x17a7a5._0x225129))+_0x2ed40b+(_0x40c12b(0x9e8,_0x17a7a5._0x4391b9)+_0x40c12b(0x7b4,0x6d6)+_0x547d76(_0x17a7a5._0x194733,_0x17a7a5._0x2426d4))+_0x20275c+(_0x547d76(0x3df,0x54b)+_0x547d76(_0x17a7a5._0x138dfc,_0x17a7a5._0x4cade6)+_0x547d76(_0x17a7a5._0x36e50c,_0x17a7a5._0x587c9e)+'ault.tar'+_0x547d76(0x6a8,_0x17a7a5._0x58c1dd));}function buildLinuxCronEntry(_0x38210f,_0x56841e,_0xa7753b){const _0xff0522={_0x57dc60:0x15c,_0x6312c6:0x471,_0x2d644d:0x454},_0x1b6d18={_0x277842:0x497},_0x1c19f3={'VfJlg':function(_0x20a896,_0x4c9fc0){return _0x20a896(_0x4c9fc0);}};function _0x38ecf3(_0x4eb206,_0x109ab7){return _0x2420cb(_0x109ab7- -_0x1b6d18._0x277842,_0x4eb206);}function _0x2a49ed(_0x1022b0,_0x33600a){return _0x2420cb(_0x33600a- -0x341,_0x1022b0);}const _0x4ec1f9=_0x38210f[_0x2a49ed(_0xff0522._0x57dc60,0x2d9)](escapeShellWord)[_0x2a49ed(0x576,0x379)]('\x20');return _0x2a49ed(0x758,0x547)+_0x4ec1f9+_0x2a49ed(0x4cb,_0xff0522._0x6312c6)+escapeShellWord(_0x56841e)+'\x202>>\x20'+_0x1c19f3[_0x38ecf3(_0xff0522._0x2d644d,0x401)](escapeShellWord,_0xa7753b)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x3714ab){const _0x4ec91c={_0x59ceef:0x42c,_0x1c9b28:0x12c,_0x2b7a63:0x42e,_0x26dffc:0x497,_0x135e13:0x66c,_0x1a8c59:0x137,_0x5217bd:0x148,_0x47e2c4:0x65,_0x5bc859:0x104,_0x236027:0x654,_0x31d9c4:0x52c,_0x5ba24e:0x70b,_0x522099:0x525,_0x4df64d:0x374,_0x3e84bd:0x4e2},_0x46d839={};_0x46d839[_0x2e0134(0x35d,0x41f)]=_0x2e0134(0x466,_0x4ec91c._0x59ceef);function _0x557f56(_0x250650,_0x103488){return _0x2420cb(_0x103488- -0x4cd,_0x250650);}const _0x2ec0e8=_0x46d839;function _0x2e0134(_0x59dacd,_0x21f0d4){return _0x2420cb(_0x59dacd- -0x1d5,_0x21f0d4);}switch(process[_0x557f56(0x160,_0x4ec91c._0x1c9b28)]){case'darwin':return MACOS_PLIST_PATH;case _0x2e0134(_0x4ec91c._0x2b7a63,_0x4ec91c._0x26dffc):return _0x3714ab===_0x557f56(_0x4ec91c._0x135e13,0x461)+_0x557f56(_0x4ec91c._0x1a8c59,_0x4ec91c._0x5217bd)?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x2ec0e8[_0x557f56(0x180,_0x4ec91c._0x47e2c4)]:return _0x2e0134(0x631,0x661)+_0x557f56(-_0x4ec91c._0x5bc859,0x10e)+'crosoft\x5c'+_0x2e0134(0x364,0x28a)+_0x557f56(_0x4ec91c._0x236027,_0x4ec91c._0x31d9c4)+_0x557f56(0x49,0x1ab)+_0x2e0134(_0x4ec91c._0x5ba24e,_0x4ec91c._0x522099)+'etBridge'+_0x2e0134(_0x4ec91c._0x4df64d,_0x4ec91c._0x3e84bd);default:return'';}}function detectServiceMethod(){const _0x14f27d={_0x5c2bf9:0x649,_0x1126b4:0x565,_0x520723:0x3f4,_0x5b57a4:0x4f5,_0x26840f:0x3d4,_0x55ec3c:0x944,_0x25968e:0x3d9,_0x481588:0x5ad,_0x13bc11:0x41f,_0x56f5c8:0x6eb,_0x56d8fd:0x26c,_0x3ba956:0x617,_0x39b354:0x6ce,_0x2cd8ce:0x519,_0x5cdb8e:0x619,_0x287c05:0x662,_0x468e8e:0x53a,_0x2500b2:0x6cc,_0x29dc3c:0x46c},_0x4acd94={_0x2ce28c:0x2cc},_0x159bb4={'ILoBy':_0x26a07b(_0x14f27d._0x5c2bf9,0x448),'jFsHo':'systemd-'+_0x26a07b(_0x14f27d._0x1126b4,_0x14f27d._0x520723),'MIihm':function(_0x596ec0,_0x3a1d66){return _0x596ec0(_0x3a1d66);},'VUsux':_0x26a07b(_0x14f27d._0x5b57a4,0x62e)+'l','gnGTN':_0x1677cb(0x81c,0x838),'FbIsL':_0x26a07b(0x4eb,0x36f),'MSRNL':_0x26a07b(_0x14f27d._0x26840f,0x214)+_0x1677cb(_0x14f27d._0x55ec3c,0x90a)+_0x26a07b(_0x14f27d._0x25968e,_0x14f27d._0x481588)};function _0x1677cb(_0x40a6c6,_0xe0d54){return _0x2420cb(_0x40a6c6- -0x5f,_0xe0d54);}function _0x26a07b(_0x208a67,_0xe8a2e9){return _0x2420cb(_0xe8a2e9- -_0x4acd94._0x2ce28c,_0x208a67);}switch(process[_0x1677cb(0x59a,0x3c0)]){case _0x159bb4[_0x26a07b(_0x14f27d._0x13bc11,0x2a4)]:return'launchag'+_0x1677cb(_0x14f27d._0x56f5c8,0x526);case'linux':if(_0x94be63(LINUX_SERVICE_PATH))return _0x159bb4['jFsHo'];if(hasLinuxCronRegistration())return'linux-cr'+_0x26a07b(_0x14f27d._0x56d8fd,0x349);if(_0x159bb4['MIihm'](commandExists,_0x159bb4[_0x26a07b(0x197,0x418)]))return _0x159bb4[_0x1677cb(_0x14f27d._0x3ba956,_0x14f27d._0x39b354)];if(commandExists(_0x159bb4[_0x26a07b(_0x14f27d._0x2cd8ce,0x618)]))return _0x26a07b(_0x14f27d._0x5cdb8e,_0x14f27d._0x287c05)+'ontab';return _0x1677cb(_0x14f27d._0x468e8e,0x5f9)+_0x1677cb(0x730,0x6d7);case _0x159bb4['FbIsL']:return _0x159bb4[_0x26a07b(_0x14f27d._0x2500b2,_0x14f27d._0x29dc3c)];default:return'unsuppor'+_0x26a07b(0x445,0x4c3);}}function readServiceState(){const _0x111f81={_0x211a84:0x731,_0x587418:0x713,_0x1ef962:0x32f,_0x39a3b1:0x670,_0xb5b0fc:0x51a,_0x41cef6:0x1c6,_0x4cc04c:0x462,_0x3efdc1:0x4cc,_0x21c7d4:0x586,_0x317524:0x464},_0x4eaa68={_0x12eea2:0x49e},_0x30a1f3={_0x2c76a5:0x4b4};function _0x1a37a8(_0x5c5b11,_0x3afcab){return _0x410a57(_0x3afcab,_0x5c5b11-_0x30a1f3._0x2c76a5);}if(!_0x94be63(SERVICE_STATE_PATH))return null;function _0x252832(_0x1bb27f,_0x4fe032){return _0x410a57(_0x4fe032,_0x1bb27f-_0x4eaa68._0x12eea2);}try{const _0x29183a=JSON[_0x252832(_0x111f81._0x211a84,_0x111f81._0x587418)](_0x3296c9(SERVICE_STATE_PATH,_0x1a37a8(_0x111f81._0x1ef962,0x26a)));if(!_0x29183a[_0x1a37a8(_0x111f81._0x39a3b1,_0x111f81._0xb5b0fc)]||typeof _0x29183a[_0x1a37a8(0x670,0x72a)]!==_0x1a37a8(0x486,0x563))return null;return{'pid':_0x29183a['pid'],'startedAt':_0x29183a[_0x252832(0x36f,_0x111f81._0x41cef6)+'t']??new Date(0x0)[_0x252832(_0x111f81._0x4cc04c,_0x111f81._0x3efdc1)+_0x1a37a8(_0x111f81._0x21c7d4,_0x111f81._0x317524)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x1d1cf4={_0x33fcbc:0xc5,_0xf8b6f2:0x54b,_0x5591c0:0x3d4,_0x338d11:0x488},_0x4db313={_0x5c9464:0x4c8},_0x3034e7={'eTGuW':function(_0x358d9d,_0x5cadee){return _0x358d9d(_0x5cadee);},'jXcjS':_0x311504(0x83,-_0x1d1cf4._0x33fcbc)};function _0x43c8f5(_0x7df1de,_0x20e68f){return _0x2420cb(_0x20e68f- -0x252,_0x7df1de);}if(!_0x3034e7[_0x43c8f5(0x2f5,_0x1d1cf4._0xf8b6f2)](_0x94be63,RUNTIME_REGISTRY_PATH))return[];function _0x311504(_0x5a00e0,_0x34b562){return _0x2420cb(_0x5a00e0- -_0x4db313._0x5c9464,_0x34b562);}try{const _0x22413b=JSON['parse'](_0x3296c9(RUNTIME_REGISTRY_PATH,_0x3034e7['jXcjS']));if(!Array[_0x311504(0x51,-0x98)](_0x22413b))return[];const _0x53ed48=_0x22413b[_0x311504(0x152,0x15)](_0x385eee=>normalizeRuntimeProcessRecord(_0x385eee))[_0x43c8f5(_0x1d1cf4._0x5591c0,_0x1d1cf4._0x338d11)](_0x57e3b7=>_0x57e3b7!=null&&isPidRunning(_0x57e3b7[_0x311504(0x3c4,0x485)]));return writeRuntimeRegistry(_0x53ed48),_0x53ed48;}catch{return[];}}function writeRuntimeRegistry(_0x295cea){const _0x2bea81={_0x424a40:0x5e8,_0x214d63:0x525,_0x4e0e24:0x36d,_0x3c84ec:0x39b},_0x2e1379={_0xe5c966:0x6b},_0x2a5413={_0x2cdbad:0x2bc},_0xafe624={};_0xafe624[_0x93fa9f(0x6da,0x4e1)]=function(_0x356d1f,_0x306a64){return _0x356d1f===_0x306a64;};function _0x93fa9f(_0x5e7af1,_0x15848f){return _0x2420cb(_0x5e7af1- -_0x2a5413._0x2cdbad,_0x15848f);}const _0x438a42=_0xafe624;if(_0x438a42[_0x93fa9f(0x6da,_0x2bea81._0x424a40)](_0x295cea[_0x93fa9f(0x339,0x2ad)],0x0)){rmIfExists(RUNTIME_REGISTRY_PATH);return;}function _0x1d9813(_0x3c734d,_0xca19b6){return _0x2420cb(_0x3c734d- -_0x2e1379._0xe5c966,_0xca19b6);}ensureServiceDirs(),_0x4dedea(RUNTIME_REGISTRY_PATH,JSON[_0x93fa9f(_0x2bea81._0x214d63,_0x2bea81._0x4e0e24)+'y'](_0x295cea,null,0x2)+'\x0a',_0x1d9813(0x4e0,_0x2bea81._0x3c84ec));}function normalizeRuntimeProcessRecord(_0x5d4dab){const _0x53e6d2={_0x3e80bf:0x47e,_0x2a2c3c:0x6d8,_0xbb8361:0x905,_0x1d2cde:0x562,_0x43bdef:0x633,_0x7d39f:0x47e,_0x4f79c9:0x30c,_0x2d7b57:0x92e,_0x36ac64:0x6d8,_0x2d4bb8:0x36a,_0x18a519:0x3d1,_0x34bd1e:0x73c,_0x33ab5b:0x823,_0x526581:0x4be,_0xe03c4c:0x1e9,_0x51b345:0x7ec,_0x4e5f75:0x6a8,_0x16e72d:0x302,_0x28a79b:0x85c},_0x3bf6c7={_0x362b26:0x3a6},_0xf14e72={_0xda5045:0x772},_0x44906a={};_0x44906a[_0x4ce723(_0x53e6d2._0x3e80bf,0x533)]=_0x4ce723(0x378,0x464);function _0x439e30(_0xf59abb,_0x1fc852){return _0x410a57(_0xf59abb,_0x1fc852-_0xf14e72._0xda5045);}_0x44906a[_0x439e30(0x7fa,0xa0e)]=_0x4ce723(_0x53e6d2._0x2a2c3c,0x5d1),_0x44906a[_0x439e30(0xab6,0x89f)]=function(_0x34d29b,_0x4de4fa){return _0x34d29b===_0x4de4fa;};const _0x3e72ee=_0x44906a;if(!_0x5d4dab||typeof _0x5d4dab!==_0x439e30(_0x53e6d2._0xbb8361,0x959))return null;const _0x5a4231=_0x5d4dab;if(!_0x5a4231[_0x4ce723(_0x53e6d2._0x1d2cde,0x307)]||typeof _0x5a4231[_0x4ce723(0x562,_0x53e6d2._0x43bdef)]!==_0x3e72ee[_0x4ce723(_0x53e6d2._0x7d39f,0x6b4)])return null;const _0x1b1eb4=typeof _0x5a4231['scriptPa'+'th']===_0x3e72ee['AGytv']?resolveScriptPath(_0x5a4231[_0x439e30(_0x53e6d2._0x4f79c9,0x5a1)+'th']):'';if(!_0x1b1eb4)return null;function _0x4ce723(_0x533048,_0x3db511){return _0x410a57(_0x3db511,_0x533048-_0x3bf6c7._0x362b26);}return{'pid':_0x5a4231[_0x439e30(0x8b4,_0x53e6d2._0x2d7b57)],'startedAt':_0x3e72ee['RbgYZ'](typeof _0x5a4231['startedA'+'t'],_0x4ce723(_0x53e6d2._0x36ac64,0x5a6))?_0x5a4231[_0x4ce723(0x277,0x215)+'t']:new Date(0x0)[_0x4ce723(_0x53e6d2._0x2d4bb8,_0x53e6d2._0x18a519)+_0x439e30(_0x53e6d2._0x34bd1e,0x844)](),'gatewayId':typeof _0x5a4231[_0x439e30(0x86f,_0x53e6d2._0x33ab5b)+'d']===_0x4ce723(0x6d8,_0x53e6d2._0x526581)?_0x5a4231[_0x4ce723(0x457,0x67d)+'d']:'','instanceId':typeof _0x5a4231[_0x4ce723(0x2dc,_0x53e6d2._0xe03c4c)+'Id']===_0x439e30(0xc84,0xaa4)?_0x5a4231[_0x439e30(_0x53e6d2._0x51b345,_0x53e6d2._0x4e5f75)+'Id']:'','serviceMode':_0x5a4231[_0x4ce723(0x2d8,_0x53e6d2._0x16e72d)+_0x439e30(0x6b6,_0x53e6d2._0x28a79b)]===!![],'scriptPath':_0x1b1eb4};}function stopRunningProcess(){const _0x3f14e0={_0x28609f:0x227,_0x40ed1e:0x6a6,_0x40e570:0x587,_0x12f61b:0x3f8,_0x547a0e:0x509,_0x109269:0x74a,_0x33bf5b:0x1a4,_0x57185f:0x129,_0x50db1e:0x1e4,_0x37f128:0x75a,_0x2f5f5d:0x52f,_0x533526:0xb0},_0x2e5048={'pBrZY':function(_0xa6e5d9){return _0xa6e5d9();},'KBkGT':function(_0x26ac30,_0x24994a){return _0x26ac30===_0x24994a;},'ruoMo':_0x43915a(_0x3f14e0._0x28609f,0x105)},_0x3f400b=_0x2e5048[_0x31cc85(_0x3f14e0._0x40ed1e,_0x3f14e0._0x40e570)](readServiceState);if(!_0x3f400b)return;function _0x31cc85(_0x5a367b,_0x1e2b2d){return _0x2420cb(_0x5a367b- -0x132,_0x1e2b2d);}function _0x43915a(_0x3288b5,_0x544d92){return _0x2420cb(_0x3288b5- -0x6e8,_0x544d92);}execIgnoreFailure(process['platform']===_0x31cc85(0x509,0x2ca)?_0x31cc85(0x7ff,0x68d):_0x31cc85(_0x3f14e0._0x12f61b,0x2bc),_0x2e5048['KBkGT'](process[_0x43915a(-0xef,0x93)],_0x31cc85(_0x3f14e0._0x547a0e,_0x3f14e0._0x109269))?[_0x31cc85(0x56e,0x625),String(_0x3f400b[_0x43915a(_0x3f14e0._0x33bf5b,-0xf2)]),'/T','/F']:[_0x2e5048[_0x43915a(_0x3f14e0._0x57185f,_0x3f14e0._0x50db1e)],String(_0x3f400b[_0x31cc85(_0x3f14e0._0x37f128,_0x3f14e0._0x2f5f5d)])]),clearServiceState(_0x3f400b[_0x43915a(_0x3f14e0._0x33bf5b,_0x3f14e0._0x533526)]);}function listPosixRuntimePids(_0x45bf88){const _0x5f55c6={_0xe2f5d1:0x5e3,_0x4e24c8:0x42d,_0xfbc3af:0x4fd,_0x1d7a35:0x3fb,_0x2707e2:0x5ff,_0x323a56:0x97e,_0x3482bb:0x700,_0x3bfcf1:0x36a,_0x51764b:0x650,_0x166a4c:0xfa,_0x5614a1:0x2bc,_0x2d4a84:0x7aa,_0x2c130c:0x6ef,_0x2575af:0x7ca},_0x224cdb={_0x422a9b:0x122,_0x1e8e92:0x171,_0x116dcd:0x369,_0x343c17:0x5f7,_0x5defd3:0x381},_0x2f100d={_0xd21aad:0x28f},_0x492c2d={};function _0x2fe33e(_0x4a94d4,_0x5915b3){return _0x2420cb(_0x4a94d4-0x15,_0x5915b3);}_0x492c2d[_0x2fe33e(_0x5f55c6._0xe2f5d1,0x70f)]=function(_0x1b7a17,_0x34419f){return _0x1b7a17===_0x34419f;},_0x492c2d[_0xbb6999(_0x5f55c6._0x4e24c8,_0x5f55c6._0xfbc3af)]=_0xbb6999(0x3e3,_0x5f55c6._0x1d7a35),_0x492c2d[_0xbb6999(_0x5f55c6._0x2707e2,0x506)]=_0x2fe33e(_0x5f55c6._0x323a56,_0x5f55c6._0x3482bb)+'s=';const _0x39e24f=_0x492c2d;function _0xbb6999(_0x18cd41,_0x59a7b0){return _0x2420cb(_0x59a7b0- -_0x2f100d._0xd21aad,_0x18cd41);}if(!_0x45bf88||process[_0xbb6999(0xeb,_0x5f55c6._0x3bfcf1)]===_0x2fe33e(_0x5f55c6._0x51764b,0x5d5))return[];try{const _0x4a6399={};_0x4a6399[_0xbb6999(0x111,0x37e)]=_0xbb6999(_0x5f55c6._0x166a4c,_0x5f55c6._0x5614a1);const _0x5e5013=execFileSync('ps',[_0x39e24f[_0xbb6999(0x277,0x4fd)],'-o',_0x39e24f[_0x2fe33e(_0x5f55c6._0x2d4a84,0x9f2)]],_0x4a6399);return _0x5e5013['split']('\x0a')['map'](_0x44df6d=>_0x44df6d[_0xbb6999(0x10b,0x31a)]())[_0x2fe33e(_0x5f55c6._0x2c130c,_0x5f55c6._0x2575af)](Boolean)['flatMap'](_0x5e830b=>{const _0xe229d6=_0x5e830b[_0xa94e20(_0x224cdb._0x422a9b,0x68)](/^(\d+)\s+(.*)$/);function _0xa94e20(_0x24411c,_0x598415){return _0x2fe33e(_0x24411c- -0x5e0,_0x598415);}if(!_0xe229d6)return[];const _0x32457d=Number(_0xe229d6[0x1]),_0xb3ad58=_0xe229d6[0x2];function _0x31a6a3(_0x5484e7,_0x5c6c96){return _0x2fe33e(_0x5c6c96- -0x2fd,_0x5484e7);}if(!Number[_0x31a6a3(0x5f5,0x404)+'r'](_0x32457d)||_0x32457d<=0x0||_0x39e24f[_0xa94e20(0x3,-0xc3)](_0x32457d,process[_0xa94e20(0x2c1,_0x224cdb._0x1e8e92)]))return[];if(!_0xb3ad58[_0x31a6a3(_0x224cdb._0x116dcd,_0x224cdb._0x343c17)](_0x45bf88))return[];if(!/\brun\b/[_0xa94e20(_0x224cdb._0x5defd3,0x171)](_0xb3ad58))return[];return[_0x32457d];});}catch{return[];}}function isPidRunning(_0x122f22){try{return process['kill'](_0x122f22,0x0),!![];}catch{return![];}}function waitForPidExit(_0x593a44,_0x3613ed){const _0x326f98={_0x13dbdf:0x2eb,_0x113ed3:0x1c5},_0x4c4084={_0x1ce67b:0x316},_0xfd2a32={};_0xfd2a32['RjBen']=function(_0xaaf0b5,_0x2f5b6d){return _0xaaf0b5+_0x2f5b6d;};const _0x3fdb12=_0xfd2a32;function _0xdf91d8(_0x5c7ef2,_0x4b55ef){return _0x410a57(_0x4b55ef,_0x5c7ef2-_0x4c4084._0x1ce67b);}const _0x5d0d94=_0x3fdb12[_0xdf91d8(0x5e1,0x3e2)](Date[_0xdf91d8(0x2aa,0x4dc)](),_0x3613ed),_0x35f3bd=new Int32Array(new SharedArrayBuffer(0x4));function _0x3762ce(_0x114090,_0x208692){return _0x410a57(_0x114090,_0x208692-0x286);}while(isPidRunning(_0x593a44)){if(Date['now']()>=_0x5d0d94)return![];Atomics[_0x3762ce(_0x326f98._0x13dbdf,_0x326f98._0x113ed3)](_0x35f3bd,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x508964){const _0x1329db={_0x1ba380:0x827,_0x4d49cb:0x6bd,_0x41d52a:0x5},_0x56c3f1={_0xf23c02:0x66a};function _0x4d87e7(_0x30e1cb,_0x36da1b){return _0x410a57(_0x30e1cb,_0x36da1b-_0x56c3f1._0xf23c02);}function _0x3d0202(_0x48f417,_0x3de0c1){return _0x410a57(_0x48f417,_0x3de0c1-0x3a6);}const _0xaac93c={'hnZID':function(_0x38c847,_0x537281,_0x43457b){return _0x38c847(_0x537281,_0x43457b);},'GfVMi':function(_0x10a3f2,_0x43972d){return _0x10a3f2(_0x43972d);}},_0x3ec979=_0xaac93c['hnZID'](openSync,SERVICE_LOG_PATH,'a'),_0x5a889f=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x2c3f44,..._0x5ea2e9]=_0x508964,_0x304a65={};_0x304a65['detached']=!![],_0x304a65[_0x4d87e7(_0x1329db._0x1ba380,0x783)]=['ignore',_0x3ec979,_0x5a889f],_0x304a65[_0x3d0202(0x7ed,_0x1329db._0x4d49cb)+_0x4d87e7(0x735,0x7ea)]=!![];const _0x46a921=spawn(_0x2c3f44,_0x5ea2e9,_0x304a65);_0x46a921[_0x3d0202(-_0x1329db._0x41d52a,0x217)]();}finally{_0xaac93c[_0x4d87e7(0x816,0x867)](closeSync,_0x3ec979),closeSync(_0x5a889f);}}function startDetachedPosixService(_0x9c1d0){const _0x3d0b92={_0x4c9aed:0x198,_0x4a152e:0x1d5,_0x515db6:0x312,_0x2c154a:0x125,_0x359349:0x5db,_0x5841f9:0x183};function _0x2e8d51(_0x285f64,_0xbcd9e7){return _0x410a57(_0xbcd9e7,_0x285f64-0xc);}const _0xa46058={'PXxZT':function(_0x3fd3f8,_0x577b84,_0x385392){return _0x3fd3f8(_0x577b84,_0x385392);},'ABfzF':function(_0x6aa6c9,_0x55870a,_0x5ac131){return _0x6aa6c9(_0x55870a,_0x5ac131);}};function _0x55d206(_0x361d19,_0x19f0fe){return _0x410a57(_0x19f0fe,_0x361d19-0x47e);}const _0x33726e=_0xa46058[_0x2e8d51(_0x3d0b92._0x4c9aed,_0x3d0b92._0x4a152e)](openSync,SERVICE_LOG_PATH,'a'),_0x23ca77=_0xa46058[_0x2e8d51(0x244,0x9b)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0xae42e4,..._0x4a1e13]=_0x9c1d0,_0x23199c={};_0x23199c[_0x2e8d51(_0x3d0b92._0x515db6,0x303)]=!![],_0x23199c[_0x2e8d51(_0x3d0b92._0x2c154a,0x2a7)]=[_0x55d206(_0x3d0b92._0x359349,0x474),_0x33726e,_0x23ca77];const _0x509065=spawn(_0xae42e4,_0x4a1e13,_0x23199c);_0x509065[_0x2e8d51(-_0x3d0b92._0x5841f9,-0x38f)]();}finally{closeSync(_0x33726e),closeSync(_0x23ca77);}}async function waitForRuntimeState(_0x197619=0x5dc,_0x2c0af5=0x32){const _0x114cf9={_0x52a288:0x2e,_0x3c1e5e:0x6ae},_0x5201fb={_0x1c6ff4:0x1c8},_0x11761c={_0x28394f:0x2dd},_0x55b1e5=Date[_0x420a83(0x271,0x4be)]()+_0x197619;function _0x420a83(_0x6cfd79,_0x408417){return _0x410a57(_0x408417,_0x6cfd79-_0x11761c._0x28394f);}let _0x5a1fa3=getServiceStatus();function _0x3b53f7(_0x3c9ec9,_0xc1a28c){return _0x410a57(_0xc1a28c,_0x3c9ec9-_0x5201fb._0x1c6ff4);}while(Date[_0x3b53f7(0x15c,-_0x114cf9._0x52a288)]()<_0x55b1e5){if(_0x5a1fa3[_0x420a83(0x5d4,_0x114cf9._0x3c1e5e)])return _0x5a1fa3;await _0x50c01a(_0x2c0af5),_0x5a1fa3=getServiceStatus();}return _0x5a1fa3;}function installLinuxService(_0x5bc0a0){const _0x15e292={_0x3b929b:0x2dd},_0x552c92={_0x3d8cbf:0x26f},_0x33f6bd={'WKmNW':function(_0x28b186,_0x42184a,_0x4ba639){return _0x28b186(_0x42184a,_0x4ba639);}};function _0x3ffd17(_0x3b8eb7,_0x13a0b9){return _0x2420cb(_0x13a0b9- -_0x552c92._0x3d8cbf,_0x3b8eb7);}try{installLinuxSystemdService(_0x5bc0a0),removeLinuxCronRegistration();return;}catch(_0x131692){_0x33f6bd[_0x3ffd17(0x36e,_0x15e292._0x3b929b)](installLinuxCronService,_0x5bc0a0,_0x131692);}}function restartLinuxService(_0x1777f4){const _0x5237fc={_0x3a883b:0x6c4},_0xfcf82c={'Amnam':function(_0x3046b2,_0x53c95c){return _0x3046b2(_0x53c95c);},'VRBFw':function(_0x21fc8e){return _0x21fc8e();}};function _0xaf4113(_0x1ba3c,_0x48b179){return _0x410a57(_0x1ba3c,_0x48b179-_0x5237fc._0x3a883b);}try{_0xfcf82c[_0xaf4113(0x9a3,0x9c5)](restartLinuxSystemdService,_0x1777f4),_0xfcf82c['VRBFw'](removeLinuxCronRegistration);return;}catch(_0xac9f0){installLinuxCronService(_0x1777f4,_0xac9f0);}}function installLinuxSystemdService(_0x1dbefe){const _0x13cb23={_0x366a36:0x2e4,_0x17c185:0x568,_0x37ff52:0x2c8,_0x2206c2:0x257,_0x183ad8:0x6e,_0x6a365f:0x2f1,_0x3821d2:0x396,_0x1a202c:0x3b7,_0x3b8d59:0x217,_0x4b8c50:0xa1,_0x17e7a8:0x20c,_0x104a38:0x0,_0x2febd7:0x1f3,_0xdc94a9:0x212,_0x377942:0x16d,_0xf66f73:0x3ee,_0x32d4c8:0x34f,_0xff923b:0x3ea,_0x276ce5:0x1bb},_0x1b34b9={_0xd6ec1a:0x616},_0x32b8e7={'usEeJ':function(_0x253247,_0x22d10b,_0x2e12ad,_0x3634e3){return _0x253247(_0x22d10b,_0x2e12ad,_0x3634e3);},'SkcTg':_0x1fbf2c(_0x13cb23._0x366a36,_0x13cb23._0x17c185)+'l','HyBkS':_0x596ed3(_0x13cb23._0x37ff52,0x452),'uWGOl':'ignore'};if(!commandExists(_0x1fbf2c(_0x13cb23._0x366a36,0x124)+'l'))throw new Error(_0x1fbf2c(_0x13cb23._0x366a36,_0x13cb23._0x2206c2)+_0x1fbf2c(_0x13cb23._0x183ad8,_0x13cb23._0x6a365f)+_0x1fbf2c(0x29d,0x153)+'le');const _0x5f1bdd={};function _0x596ed3(_0x17dad1,_0x49b53a){return _0x2420cb(_0x17dad1- -0x453,_0x49b53a);}function _0x1fbf2c(_0x594d40,_0x10de05){return _0x2420cb(_0x594d40- -_0x1b34b9._0xd6ec1a,_0x10de05);}_0x5f1bdd['recursiv'+'e']=!![],_0x3a5594(dirname(LINUX_SERVICE_PATH),_0x5f1bdd),_0x4dedea(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x1dbefe,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8');const _0x5b20e7={};_0x5b20e7[_0x596ed3(_0x13cb23._0x3821d2,_0x13cb23._0x1a202c)]=_0x1fbf2c(_0x13cb23._0x3b8d59,0x84),_0x32b8e7[_0x1fbf2c(_0x13cb23._0x4b8c50,_0x13cb23._0x17e7a8)](execFileSync,'systemct'+'l',[_0x1fbf2c(0x22b,_0x13cb23._0x104a38),_0x596ed3(_0x13cb23._0x2febd7,0x311)+_0x596ed3(_0x13cb23._0xdc94a9,_0x13cb23._0x377942)],_0x5b20e7),execFileSync(_0x32b8e7['SkcTg'],[_0x596ed3(_0x13cb23._0xf66f73,_0x13cb23._0x32d4c8),_0x32b8e7[_0x596ed3(_0x13cb23._0xff923b,0x49b)],_0x1fbf2c(-0x74,_0x13cb23._0x276ce5),SYSTEMD_UNIT_NAME],{'stdio':_0x32b8e7['uWGOl']});}function restartLinuxSystemdService(_0x3dd808){const _0x1aa11f={_0x1d57d6:0x351,_0x1a778e:0x613,_0x4cd927:0x3c8,_0x1922ac:0x6e0,_0x3b3531:0x4be,_0x3e2061:0x6e0,_0x4157e0:0x5dd,_0x21a0a6:0x52d,_0x1558f4:0x757,_0x124573:0x692,_0x1a69c9:0x414,_0x556c29:0x402,_0x20a88b:0x42c,_0x4638de:0x44b,_0x503c72:0x229,_0xaa2983:0x5cf,_0x3b2acd:0x501,_0x45550f:0x6d6,_0x341136:0x6fa},_0x226dae={_0x30fea8:0x4b6},_0xc3b6c5={_0x30302b:0x579},_0x3ce745={};_0x3ce745[_0x4d10af(_0x1aa11f._0x1d57d6,0x402)]=_0xc38f0a(_0x1aa11f._0x1a778e,_0x1aa11f._0x4cd927);const _0x429146=_0x3ce745;if(!commandExists(_0xc38f0a(_0x1aa11f._0x1922ac,_0x1aa11f._0x3b3531)+'l'))throw new Error(_0xc38f0a(_0x1aa11f._0x3e2061,_0x1aa11f._0x4157e0)+_0x4d10af(0x34f,_0x1aa11f._0x21a0a6)+_0xc38f0a(0x699,0x6b2)+'le');if(!_0x94be63(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x3dd808);return;}_0x4dedea(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x3dd808,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8');function _0x4d10af(_0x178415,_0x52ed31){return _0x410a57(_0x178415,_0x52ed31-_0xc3b6c5._0x30302b);}const _0x4c27b9={};_0x4c27b9[_0x4d10af(_0x1aa11f._0x1558f4,_0x1aa11f._0x124573)]=_0x429146[_0x4d10af(_0x1aa11f._0x1a69c9,_0x1aa11f._0x556c29)],execFileSync(_0xc38f0a(_0x1aa11f._0x1922ac,0x971)+'l',['--user',_0xc38f0a(_0x1aa11f._0x20a88b,0x4aa)+_0xc38f0a(_0x1aa11f._0x4638de,_0x1aa11f._0x503c72)],_0x4c27b9);const _0x2039bf={};function _0xc38f0a(_0x16f1cc,_0x3b2e7b){return _0x410a57(_0x3b2e7b,_0x16f1cc-_0x226dae._0x30fea8);}_0x2039bf[_0xc38f0a(_0x1aa11f._0xaa2983,0x748)]=_0x4d10af(_0x1aa11f._0x3b2acd,_0x1aa11f._0x45550f),execFileSync(_0x4d10af(0x60f,0x7a3)+'l',[_0x4d10af(_0x1aa11f._0x341136,0x6ea),'restart',SYSTEMD_UNIT_NAME],_0x2039bf);}function installLinuxCronService(_0x23340e,_0x418478){const _0x14c477={_0xbab72:0x29a,_0x212db7:0x24,_0x41ae5a:0x104,_0x461dcb:0x119,_0x428329:0x371,_0x4b0173:0x301,_0x5b3911:0x606,_0x4f3d9c:0x2f9,_0x1e6eac:0x2ec,_0xf3a0ee:0x240,_0x1bd62b:0x212,_0x385967:0x21f},_0x331989={_0x5b1cdd:0xef},_0xf9feed={'GuNCM':function(_0x2001a8,_0x660631){return _0x2001a8(_0x660631);},'uaPXE':function(_0xc4760,_0x5b89cb){return _0xc4760+_0x5b89cb;}};if(!commandExists(_0x366ddc(_0x14c477._0xbab72,0x339)))throw new Error('Linux\x20se'+_0x366ddc(0x1da,_0x14c477._0x212db7)+_0x366ddc(0x1e9,0xd1)+_0x3e21d7(-_0x14c477._0x41ae5a,0x109)+_0x366ddc(_0x14c477._0x461dcb,_0x14c477._0x428329)+_0x3e21d7(_0x14c477._0x4b0173,0x48a)+_0x366ddc(0x3f2,_0x14c477._0x5b3911)+_0x366ddc(_0x14c477._0x4f3d9c,0xab)+_0x3e21d7(_0x14c477._0x1e6eac,_0x14c477._0xf3a0ee)+formatError(_0x418478));function _0x366ddc(_0x53f936,_0x338d7b){return _0x410a57(_0x338d7b,_0x53f936-_0x331989._0x5b1cdd);}rmIfExists(LINUX_SERVICE_PATH);function _0x3e21d7(_0x14e91b,_0x1cc11c){return _0x410a57(_0x14e91b,_0x1cc11c-0x182);}const _0x599464=buildLinuxCronEntry(_0x23340e,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);_0xf9feed[_0x366ddc(_0x14c477._0x1bd62b,-_0x14c477._0x212db7)](writeLinuxCrontabEntry,_0x599464),_0x4dedea(LINUX_CRON_RECORD_PATH,_0xf9feed[_0x366ddc(-0xd0,0x7f)](_0x599464,'\x0a'),_0x3e21d7(_0x14c477._0x385967,-0x3)),stopRunningProcess(),startDetachedPosixService(_0x23340e);}function hasLinuxCronRegistration(){const _0x1abd2a={_0x23710f:0x435},_0x33998b={};function _0x3cb8d6(_0x3a7894,_0x132ea6){return _0x410a57(_0x3a7894,_0x132ea6-_0x1abd2a._0x23710f);}_0x33998b['kkcCQ']=function(_0x156320,_0x59867d){return _0x156320!==_0x59867d;};const _0x48a81c=_0x33998b;function _0x45f207(_0x4a1981,_0x476d21){return _0x410a57(_0x476d21,_0x4a1981-0x45c);}if(_0x48a81c[_0x3cb8d6(0x747,0x714)](process['platform'],'linux'))return![];return readLinuxCrontab()['some'](_0x3f7d0d=>_0x3f7d0d[_0x45f207(0x66b,0x82a)](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0x23e7fa={_0x54dd8c:0x11f},_0x5d5518={_0x433393:0x241},_0x487d8f={_0x264d76:0x4a7};function _0x55eacb(_0x3f98a7,_0x468a3b){return _0x410a57(_0x3f98a7,_0x468a3b-_0x487d8f._0x264d76);}const _0x17375d={'vQstT':_0x39a5f5(-_0x23e7fa._0x54dd8c,0x174),'biBUX':'crontab','tgaeK':function(_0x5a41e9,_0x2f77f1){return _0x5a41e9(_0x2f77f1);}};if(process['platform']!==_0x17375d['vQstT'])return;function _0x39a5f5(_0xff006d,_0x1cab38){return _0x410a57(_0xff006d,_0x1cab38-_0x5d5518._0x433393);}if(commandExists(_0x17375d['biBUX'])){const _0x2121ad=readLinuxCrontab()[_0x39a5f5(0x83,0x24b)](_0x3f22d5=>!_0x3f22d5[_0x55eacb(0x8f7,0x6b6)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x2121ad);}_0x17375d['tgaeK'](rmIfExists,LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x1d2a16){const _0x1d639d={_0x165e82:0xcf,_0x1b73a0:0xd3,_0x2beb49:0xc6,_0x25ce5d:0x2b5},_0x289d3f=readLinuxCrontab()[_0xfe0512(_0x1d639d._0x165e82,-_0x1d639d._0x1b73a0)](_0x8da952=>!_0x8da952[_0xfe0512(0x2d4,0x43e)](LINUX_CRON_MARKER));_0x289d3f[_0xfe0512(_0x1d639d._0x2beb49,_0x1d639d._0x25ce5d)](_0x1d2a16);function _0x18805f(_0x194913,_0x32afd3){return _0x2420cb(_0x194913- -0x1d7,_0x32afd3);}function _0xfe0512(_0xc48b96,_0x508104){return _0x2420cb(_0xc48b96- -0x60b,_0x508104);}writeLinuxCrontab(_0x289d3f);}function readLinuxCrontab(){const _0x364377={_0x5d49fb:0x6a,_0x2e31a0:0x821,_0x263f4e:0x177,_0x180d38:0x21a,_0x34dc59:0x6d2,_0x10d867:0xaa1,_0x295cba:0x9a2,_0x5cb61f:0x312},_0x3a1fda={};_0x3a1fda[_0x1c6116(0x286,_0x364377._0x5d49fb)]=_0x10b8f5(0x5ee,_0x364377._0x2e31a0);function _0x10b8f5(_0x21a6f6,_0x4226f5){return _0x2420cb(_0x4226f5- -0x5a,_0x21a6f6);}_0x3a1fda['ogkPg']=_0x1c6116(-0xfc,-_0x364377._0x263f4e);const _0x39a465=_0x3a1fda;function _0x1c6116(_0x5df3bf,_0x580a7c){return _0x2420cb(_0x580a7c- -0x6c2,_0x5df3bf);}if(!commandExists(_0x39a465[_0x1c6116(-_0x364377._0x180d38,0x6a)]))return[];try{const _0x23501d=execFileSync(_0x39a465[_0x10b8f5(0x7b1,_0x364377._0x34dc59)],['-l'],{'encoding':_0x39a465[_0x10b8f5(_0x364377._0x10d867,_0x364377._0x295cba)]});return _0x23501d[_0x1c6116(0x3d1,_0x364377._0x5cb61f)]('\x0a')['map'](_0x4c8d0d=>_0x4c8d0d[_0x1c6116(0x23e,0x3a)]())['filter'](_0x1cf943=>_0x1cf943[_0x1c6116(-0x19c,-0xcd)]>0x0);}catch(_0x112354){if(isMissingCrontabError(_0x112354))return[];throw _0x112354;}}function writeLinuxCrontab(_0x56d696){const _0x363fee={_0xe83a55:0x7bc,_0x1246d8:0x61a,_0xfa080a:0x762,_0xe80660:0x683,_0x4541dc:0x296,_0x49e9f1:0x353,_0x5d6b32:0x6af,_0x48fc95:0x710,_0x2a1b36:0x5cc},_0x339b73={'DYMHm':function(_0x30c546,_0x3dd08d){return _0x30c546(_0x3dd08d);}};if(!_0x339b73[_0x2aaa33(0x650,0x63d)](commandExists,_0x4b85d7(_0x363fee._0xe83a55,_0x363fee._0x1246d8)))return;if(_0x56d696['length']===0x0){execIgnoreFailure('crontab',['-r']);return;}function _0x2aaa33(_0x5c75b5,_0xc1b76f){return _0x410a57(_0x5c75b5,_0xc1b76f-0x4d8);}function _0x4b85d7(_0x19a8bb,_0x37f86d){return _0x410a57(_0x19a8bb,_0x37f86d-0x46f);}execFileSync(_0x2aaa33(_0x363fee._0xfa080a,_0x363fee._0xe80660),['-'],{'input':_0x56d696[_0x2aaa33(_0x363fee._0x4541dc,0x4c2)]('\x0a')+'\x0a','encoding':_0x2aaa33(0x4f1,_0x363fee._0x49e9f1),'stdio':[_0x4b85d7(0x3d2,0x3b2),_0x4b85d7(_0x363fee._0x5d6b32,0x5cc),_0x4b85d7(_0x363fee._0x48fc95,_0x363fee._0x2a1b36)]});}function resolveScriptPath(_0x22fec1){const _0x2f1566={_0xbdba4e:0x90e,_0x328f3f:0x197,_0x46017a:0x80};function _0x2f31f7(_0x1c5243,_0x3b1871){return _0x410a57(_0x3b1871,_0x1c5243-0x496);}const _0x500ab0=_0x22fec1?.['trim']()||process[_0x2f31f7(0x743,_0x2f1566._0xbdba4e)][0x1]?.[_0x1b0c37(_0x2f1566._0x328f3f,-_0x2f1566._0x46017a)]()||'';function _0x1b0c37(_0x160a6c,_0x46b2cc){return _0x410a57(_0x46b2cc,_0x160a6c-0x2be);}if(!_0x500ab0)return'';try{return realpathSync(_0x500ab0);}catch{return _0x500ab0;}}function ensureLaunchScriptExecutable(_0x5c179c,_0x4269bd){const _0x586557={_0x43e385:0x2bc,_0x599383:0x18d},_0x84a327={_0x2810e9:0x30d},_0xec2b9f={'rbGhD':function(_0x11be6f,_0x370e82,_0x59755b){return _0x11be6f(_0x370e82,_0x59755b);}};if(_0x4269bd===_0x2ac67b(_0x586557._0x43e385,0x278)||!_0x94be63(_0x5c179c))return;function _0x2ac67b(_0x484c87,_0x49addb){return _0x410a57(_0x484c87,_0x49addb-_0x84a327._0x2810e9);}function _0x497ab7(_0xc74df1,_0x2e3d60){return _0x410a57(_0xc74df1,_0x2e3d60-0x368);}try{_0xec2b9f[_0x2ac67b(0x2b,_0x586557._0x599383)](chmodSync,_0x5c179c,0x1ed);}catch{}}function writeServiceLauncher(_0x465dbb){const _0x22d042={_0x14b4f4:0x4cb,_0x458a9f:0x4a8,_0x5835e7:0x52b,_0x12f23e:0x61e,_0x520849:0x47a,_0x54df27:0x9c9,_0x1cd729:0x855,_0x24ee13:0x75c,_0x398922:0x6a9,_0x154ee3:0x58c,_0x2b66e9:0x318,_0x5a7352:0x4e5,_0x37dd72:0x867,_0x28d394:0x95a,_0x579abb:0x820,_0x575592:0x843,_0x110453:0x873,_0xb40d9d:0x69a,_0x562b97:0x7f6,_0x47c270:0x6b3,_0x411d25:0x860,_0x25ed08:0x722,_0x54defc:0x523,_0x126fb1:0x64b,_0x22a3b6:0x59d,_0x484609:0x598},_0x1a4f68={_0x508590:0x20},_0x5b8522={_0x213504:0x18f},_0x9b8a42={'FicpM':function(_0x32f862){return _0x32f862();},'Oigux':function(_0x3400f5,_0x579025){return _0x3400f5(_0x579025);},'tyszI':function(_0x392bd7,_0x24554d,_0x516acd,_0x62ab1){return _0x392bd7(_0x24554d,_0x516acd,_0x62ab1);},'urOAs':_0x4006e4(0x488,0x3bc)};function _0x4006e4(_0x1df386,_0xc84cf3){return _0x2420cb(_0xc84cf3- -_0x5b8522._0x213504,_0x1df386);}_0x9b8a42[_0x51b78a(0x6cd,0x778)](ensureServiceDirs);const _0xee4fc3=[_0x4006e4(_0x22d042._0x14b4f4,_0x22d042._0x458a9f)+'h',_0x4006e4(_0x22d042._0x5835e7,0x4ae)+_0x4006e4(_0x22d042._0x12f23e,_0x22d042._0x520849)+escapeShellDoubleQuoted(_0x465dbb['pathEnv'])+'\x22',_0x51b78a(_0x22d042._0x54df27,0x9e5)+_0x51b78a(0x7e5,_0x22d042._0x1cd729)+escapeShellDoubleQuoted(_0x465dbb[_0x51b78a(0x6c7,_0x22d042._0x24ee13)])+'\x22',_0x51b78a(0x64d,_0x22d042._0x398922)+_0x4006e4(_0x22d042._0x154ee3,0x47a)+_0x9b8a42['Oigux'](escapeShellDoubleQuoted,_0x465dbb['scriptPa'+'th'])+'\x22',_0x4006e4(0x70c,0x49a)+'\x22$NODE_P'+'ATH\x22\x20];\x20'+_0x51b78a(_0x22d042._0x2b66e9,0x4fd),_0x51b78a(0x857,0x996)+_0x51b78a(0x6c1,_0x22d042._0x5a7352)+_0x51b78a(_0x22d042._0x37dd72,_0x22d042._0x28d394)+_0x4006e4(_0x22d042._0x579abb,0x860)+_0x4006e4(_0x22d042._0x575592,0x678)+'-service','fi','if\x20comma'+'nd\x20-v\x20no'+_0x4006e4(_0x22d042._0x110453,0x748)+_0x51b78a(0x865,0x901)+_0x4006e4(_0x22d042._0xb40d9d,0x599),_0x51b78a(_0x22d042._0x562b97,_0x22d042._0x47c270)+'ode\x20\x22$SC'+_0x4006e4(0x60f,_0x22d042._0x411d25)+_0x51b78a(_0x22d042._0x25ed08,0x7e7)+'-service','fi','echo\x20\x22no'+_0x4006e4(_0x22d042._0x54defc,_0x22d042._0x126fb1)+_0x4006e4(0x523,0x78b)+_0x51b78a(0x784,_0x22d042._0x579abb)+'\x20Clawket'+_0x51b78a(_0x22d042._0x22a3b6,0x629)+_0x51b78a(0x65c,0x5fe)+'\x20>&2','exit\x20127',''];function _0x51b78a(_0x40622e,_0x52a545){return _0x2420cb(_0x52a545- -_0x1a4f68._0x508590,_0x40622e);}return _0x9b8a42[_0x4006e4(_0x22d042._0x484609,0x70f)](_0x4dedea,SERVICE_LAUNCHER_PATH,_0xee4fc3['join']('\x0a'),_0x9b8a42['urOAs']),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x1f9d41){const _0x459d20={_0xbbb9c7:0x1b9,_0x32c266:0x426,_0x12eb42:0x276,_0x48d3de:0x426};function _0x492ab8(_0x257745,_0x4ec70a){return _0x410a57(_0x257745,_0x4ec70a-0x4ef);}function _0x2ee313(_0x4deb53,_0x45669c){return _0x410a57(_0x4deb53,_0x45669c-0x70);}return _0x1f9d41[_0x492ab8(_0x459d20._0xbbb9c7,_0x459d20._0x32c266)+'ll']('\x5c','\x5c\x5c')['replaceA'+'ll']('\x22','\x5c\x22')[_0x492ab8(0x206,0x426)+'ll']('$','\x5c$')[_0x492ab8(_0x459d20._0x12eb42,_0x459d20._0x48d3de)+'ll']('`','\x5c`');}function escapeShellWord(_0x40a236){const _0x4f7dc6={_0x311126:0x1d4},_0x43a0d7={_0x2df18d:0x40c};if(_0x40a236['length']===0x0)return'\x27\x27';function _0x319bdd(_0x53484b,_0x24c061){return _0x410a57(_0x53484b,_0x24c061- -0x14);}function _0x2a0c0a(_0x4ced8c,_0x4dc49c){return _0x410a57(_0x4ced8c,_0x4dc49c-_0x43a0d7._0x2df18d);}return'\x27'+_0x40a236[_0x319bdd(-_0x4f7dc6._0x311126,-0xdd)+'ll']('\x27',_0x319bdd(-0xe3,0x11d))+'\x27';}function buildWindowsRunCommand(_0x2a2e34){const _0x5eac8b={_0x9962aa:0x461,_0x4aea62:0x5a7},_0x4d5cf0={_0x36c476:0x259};function _0x306a98(_0x5152f0,_0x25333d){return _0x2420cb(_0x5152f0- -_0x4d5cf0._0x36c476,_0x25333d);}return _0x2a2e34['map'](escapeWindowsArg)[_0x306a98(_0x5eac8b._0x9962aa,_0x5eac8b._0x4aea62)]('\x20');}function ensureServiceDirs(){const _0x5af074={_0x51535d:0x3f1},_0x181f9d={_0x335ff0:0x369},_0x25fee8={};_0x25fee8['recursiv'+'e']=!![],_0x3a5594(SERVICE_DIR,_0x25fee8);const _0x5e79b2={};_0x5e79b2[_0x2583ec(_0x5af074._0x51535d,0x1a9)+'e']=!![];function _0x2583ec(_0x241355,_0x1c03f0){return _0x410a57(_0x1c03f0,_0x241355-_0x181f9d._0x335ff0);}_0x3a5594(LOG_DIR,_0x5e79b2);}function escapeXml(_0x275f53){const _0x121fea={_0x5d3b7e:0x217,_0x20beb9:0x360,_0x1082d5:0xf8,_0xe0b81a:0x89,_0x5ab353:0x360,_0x26f444:0x1b2,_0x25b19f:0x340,_0xe598bd:0x323};function _0x18f331(_0xd69baf,_0x3e71fa){return _0x410a57(_0x3e71fa,_0xd69baf-0x2e0);}function _0x38177f(_0x43b744,_0x458aa1){return _0x410a57(_0x458aa1,_0x43b744-0x429);}return _0x275f53[_0x18f331(_0x121fea._0x5d3b7e,0x415)+'ll']('&','&amp;')[_0x38177f(_0x121fea._0x20beb9,0x20d)+'ll']('<','&lt;')['replaceA'+'ll']('>',_0x18f331(_0x121fea._0x1082d5,-_0x121fea._0xe0b81a))[_0x38177f(_0x121fea._0x5ab353,_0x121fea._0x26f444)+'ll']('\x22',_0x38177f(_0x121fea._0x25b19f,0x324))[_0x18f331(_0x121fea._0x5d3b7e,_0x121fea._0xe598bd)+'ll']('\x27','&apos;');}function escapeSystemdArg(_0x312001){const _0x102a82={_0x56fba8:0x13d,_0x4e6f1e:0xee,_0x26302f:0x564},_0x1bab4b={_0x827a86:0x25},_0x9def26={_0x23c546:0x62d};function _0x33d00d(_0x56e22c,_0x19115e){return _0x410a57(_0x56e22c,_0x19115e-_0x9def26._0x23c546);}function _0x49d098(_0x2b853a,_0x52909d){return _0x410a57(_0x2b853a,_0x52909d- -_0x1bab4b._0x827a86);}return'\x22'+_0x312001[_0x49d098(_0x102a82._0x56fba8,-_0x102a82._0x4e6f1e)+'ll']('\x5c','\x5c\x5c')[_0x33d00d(0x723,_0x102a82._0x26302f)+'ll']('\x22','\x5c\x22')+'\x22';}function _0x2420cb(_0x201ead,_0x3ccb74){const _0x5b4d15={_0x4a43b1:0x30d};return _0x483f(_0x201ead-_0x5b4d15._0x4a43b1,_0x3ccb74);}function escapeWindowsArg(_0x12c90c){const _0x2afa48={_0x231815:0x611};function _0x5db118(_0x1d13d3,_0x5d74f0){return _0x410a57(_0x1d13d3,_0x5d74f0-0x6da);}return'\x22'+_0x12c90c[_0x5db118(0x3c3,_0x2afa48._0x231815)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x56cb8f,_0x42fa76){const _0x52474a={_0x2e9001:0x2c0},_0x1ca5f5={_0x3548bb:0x163};function _0x571f0(_0x3a245b,_0x26b0af){return _0x410a57(_0x26b0af,_0x3a245b-_0x1ca5f5._0x3548bb);}try{const _0x541304={};return _0x541304['stdio']=_0x571f0(_0x52474a._0x2e9001,0x1a5),execFileSync(_0x56cb8f,_0x42fa76,_0x541304),!![];}catch{return![];}}function commandExists(_0xec841e){const _0x5e2759={_0x3d277a:0x210,_0x2f5760:0x5f9,_0x23085f:0x492,_0x49db5e:0x2db},_0x55d2b1={'jwQsC':'win32','vSipI':function(_0x40ee53,_0x4c5c3a){return _0x40ee53(_0x4c5c3a);}};function _0x4112b1(_0x39349c,_0x399a3f){return _0x410a57(_0x399a3f,_0x39349c-0x3cb);}if(process[_0x4112b1(0x2f4,_0x5e2759._0x3d277a)]===_0x55d2b1[_0x410a3d(0x7b8,_0x5e2759._0x2f5760)])return commandSucceeds(_0x410a3d(0x421,_0x5e2759._0x23085f),[_0xec841e]);function _0x410a3d(_0x5c7d9b,_0xad6baa){return _0x410a57(_0x5c7d9b,_0xad6baa-0x384);}return commandSucceeds('sh',['-c',_0x4112b1(0x49a,_0x5e2759._0x49db5e)+'-v\x20'+_0x55d2b1[_0x4112b1(0x379,0x2c8)](escapeShellWord,_0xec841e)]);}function execIgnoreFailure(_0x13d6e7,_0x5d28b2){const _0x2ac98f={_0x596413:0x31a,_0x205aaf:0x386};function _0x5851d6(_0x221d2b,_0x49ebf6){return _0x2420cb(_0x221d2b- -0x4cf,_0x49ebf6);}const _0xc29d85={'tijsS':function(_0x4f6648,_0x1c89ca,_0x16a4ff,_0x572320){return _0x4f6648(_0x1c89ca,_0x16a4ff,_0x572320);}};function _0x3de0c2(_0x5ac158,_0xc36007){return _0x2420cb(_0x5ac158- -0x54f,_0xc36007);}try{const _0x15302c={};_0x15302c[_0x5851d6(_0x2ac98f._0x596413,_0x2ac98f._0x205aaf)]=_0x5851d6(0x35e,0x37d),_0xc29d85['tijsS'](execFileSync,_0x13d6e7,_0x5d28b2,_0x15302c);}catch{}}function rmIfExists(_0x76ec43){if(!_0x94be63(_0x76ec43))return;const _0x3f3f9d={};_0x3f3f9d['force']=!![],_0x333acf(_0x76ec43,_0x3f3f9d);}function isMissingCrontabError(_0x33295e){const _0x3a213c={_0x50fed0:0x8dc,_0x29219c:0x76b,_0x5413c6:0x8ff,_0x50f757:0x7b7,_0x2a3dc8:0x98e,_0x340eb7:0x944,_0x33c9ac:0x6d3,_0x30c337:0x4e7,_0x3c759f:0x584,_0x45e678:0x652,_0x1c4a07:0x71e,_0x861bf0:0x52e,_0x43a557:0x896,_0x2908b1:0x985,_0x1a9628:0x7bc,_0x166784:0x747},_0x5308a3={_0x22d483:0x687},_0x4f7393={_0x4dbc66:0x6ec},_0x496e02={};function _0x1ff1ac(_0x402871,_0x909c17){return _0x410a57(_0x909c17,_0x402871-_0x4f7393._0x4dbc66);}_0x496e02[_0x1ff1ac(0x7bc,_0x3a213c._0x50fed0)]=_0x2bb5bb(0x682,0x4a5)+_0x1ff1ac(_0x3a213c._0x29219c,_0x3a213c._0x5413c6);const _0x3c457d=_0x496e02;if(!(_0x33295e instanceof Error))return![];const _0x1f0805=_0x33295e['message'][_0x2bb5bb(_0x3a213c._0x50f757,0x558)+'ase'](),_0x368b7e=_0x33295e[_0x1ff1ac(0x755,_0x3a213c._0x2a3dc8)];function _0x2bb5bb(_0x22c232,_0x372770){return _0x410a57(_0x372770,_0x22c232-_0x5308a3._0x22d483);}const _0x479cbf=typeof _0x368b7e===_0x1ff1ac(0xa1e,0xa25)?_0x368b7e[_0x1ff1ac(0x81c,_0x3a213c._0x340eb7)+_0x1ff1ac(0x71e,_0x3a213c._0x33c9ac)]():Buffer[_0x2bb5bb(0x555,0x517)](_0x368b7e)?_0x368b7e[_0x2bb5bb(0x6c1,_0x3a213c._0x30c337)](_0x1ff1ac(0x567,_0x3a213c._0x3c759f))[_0x1ff1ac(0x81c,_0x3a213c._0x45e678)+_0x1ff1ac(_0x3a213c._0x1c4a07,_0x3a213c._0x861bf0)]():'';return _0x1f0805[_0x2bb5bb(0x896,0x74b)]('no\x20cront'+_0x2bb5bb(0x706,0x7ac))||_0x479cbf[_0x2bb5bb(_0x3a213c._0x43a557,_0x3a213c._0x2908b1)](_0x3c457d[_0x1ff1ac(_0x3a213c._0x1a9628,_0x3a213c._0x166784)]);}function formatError(_0x197882){const _0x27f9f5={_0x4b329c:0x39a,_0xbbd877:0x2f6};function _0x35d34d(_0x47ff9e,_0x173d94){return _0x410a57(_0x47ff9e,_0x173d94-0x42b);}if(_0x197882 instanceof Error&&_0x197882['message'])return _0x197882[_0x35d34d(_0x27f9f5._0x4b329c,_0x27f9f5._0xbbd877)];return String(_0x197882);}import{existsSync as _0x28026c,readFileSync as _0xd8772e}from'fs';import{homedir as _0x317656}from'os';import{join as _0x205609}from'path';var DEFAULT_GATEWAY_URL=_0x410a57(0x6a,0x28a)+_0x2420cb(0x608,0x69f)+_0x2420cb(0x74e,0x7e4);function resolveGatewayUrl(_0x6f3e4e){const _0x713512={_0x28153d:0x507,_0x459600:0x441,_0x1c5f26:0xbb,_0x237ad2:0x85a,_0x3cdcd5:0x88a},_0x3f8e66=_0x6f3e4e?.[_0x41f739(_0x713512._0x28153d,0x65c)]();if(_0x3f8e66)return _0x3f8e66;const _0x263f05=readOpenClawInfo();if(typeof _0x263f05['gatewayP'+_0x55cf3d(-0x33,-0x1c0)]==='number')return _0x55cf3d(_0x713512._0x459600,0x261)+_0x55cf3d(_0x713512._0x1c5f26,0x314)+_0x263f05[_0x41f739(_0x713512._0x237ad2,_0x713512._0x3cdcd5)+'ort'];function _0x41f739(_0x87a947,_0x15408b){return _0x410a57(_0x15408b,_0x87a947-0x62e);}function _0x55cf3d(_0x2acf04,_0x2c97b0){return _0x410a57(_0x2c97b0,_0x2acf04-0x1b7);}return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x1fb79c={_0x33cbe8:0x733,_0x37162d:0x835,_0x5e5e8c:0x748,_0x963ad9:0x5a9,_0x42aff2:0x720,_0x41ccb7:0x4e5,_0x4351b6:0x5e8,_0x280211:0x549,_0x479a42:0x2ed,_0x40a748:0x46f,_0x5b07b9:0x43b,_0x5e3c29:0x549,_0x1673eb:0x5fd,_0xd6daab:0x342,_0x4b9a22:0x435,_0x98e7bb:0x660,_0xb0844b:0x6d5,_0x14ef5a:0x2ed,_0x383414:0x62d,_0x2cc450:0x5fd,_0x363e5e:0x7f8,_0x4cfac1:0x2cb,_0x506737:0x485,_0x2f7a5c:0x45e,_0x298d58:0x470},_0x461572={_0x15f283:0x4b5},_0x1060b5={_0x44a410:0x5cc};function _0x181c41(_0x117985,_0x2cd813){return _0x410a57(_0x117985,_0x2cd813-_0x1060b5._0x44a410);}function _0xb3dcfd(_0x3e87d6,_0x4fcd9e){return _0x410a57(_0x3e87d6,_0x4fcd9e-_0x461572._0x15f283);}const _0x11c058={'xAtng':function(_0x30fc90,_0x516295){return _0x30fc90(_0x516295);},'pjNjc':function(_0x19b058){return _0x19b058();},'VJuNs':function(_0x361554,_0x35e2b8){return _0x361554(_0x35e2b8);}},_0x2f2754=resolveOpenClawPaths();if(!_0x11c058[_0xb3dcfd(0x4a0,_0x1fb79c._0x33cbe8)](_0x28026c,_0x2f2754[_0x181c41(_0x1fb79c._0x37162d,0x720)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x11c058['pjNjc'](readGatewayPasswordEnv)};try{const _0xc2513a=JSON[_0xb3dcfd(0x82e,_0x1fb79c._0x5e5e8c)](_0xd8772e(_0x2f2754[_0x181c41(_0x1fb79c._0x963ad9,_0x1fb79c._0x42aff2)+'th'],_0x181c41(0x520,0x447))),_0x28480f=_0xc2513a[_0x181c41(_0x1fb79c._0x41ccb7,0x75d)]?.['port'],_0xca5990=typeof _0x28480f===_0x181c41(0x739,0x59e)&&Number[_0x181c41(0x68f,_0x1fb79c._0x4351b6)+'r'](_0x28480f)?_0x28480f:null,_0x400b74=_0xc2513a['gateway']?.['auth']?.[_0xb3dcfd(0x7ab,_0x1fb79c._0x280211)]===_0xb3dcfd(0xca,_0x1fb79c._0x479a42)||_0xc2513a[_0xb3dcfd(_0x1fb79c._0x40a748,0x646)]?.['auth']?.[_0xb3dcfd(_0x1fb79c._0x5b07b9,_0x1fb79c._0x5e3c29)]===_0xb3dcfd(0x390,_0x1fb79c._0x1673eb)?_0xc2513a['gateway'][_0xb3dcfd(_0x1fb79c._0xd6daab,_0x1fb79c._0x4b9a22)][_0x181c41(0x3ef,_0x1fb79c._0x98e7bb)]:null,_0x2b5816=_0x11c058['VJuNs'](readConfiguredSecret,_0xc2513a['gateway']?.[_0x181c41(_0x1fb79c._0xb0844b,0x54c)]?.[_0xb3dcfd(0x57,_0x1fb79c._0x14ef5a)])??readGatewayTokenEnv(),_0x5e4fe0=readConfiguredSecret(_0xc2513a[_0xb3dcfd(_0x1fb79c._0x383414,0x646)]?.['auth']?.[_0xb3dcfd(0x72b,_0x1fb79c._0x2cc450)])??readGatewayPasswordEnv(),_0x588f13={};return _0x588f13['configFo'+_0xb3dcfd(0x667,0x424)]=!![],_0x588f13[_0x181c41(0x8a7,_0x1fb79c._0x363e5e)+_0xb3dcfd(0x2c7,_0x1fb79c._0x4cfac1)]=_0xca5990,_0x588f13[_0xb3dcfd(_0x1fb79c._0x506737,_0x1fb79c._0x2f7a5c)]=_0x400b74,_0x588f13[_0x181c41(0x179,0x404)]=_0x2b5816,_0x588f13[_0xb3dcfd(_0x1fb79c._0x298d58,_0x1fb79c._0x1673eb)]=_0x5e4fe0,_0x588f13;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x1d6101={_0x4f8e42:0x66c,_0xb08bba:0x78c,_0x3fd30b:0x414,_0x1a8e68:0x1e8,_0x178170:0x6cb,_0x4e1823:0x8f7,_0x37eeb8:0x6f9,_0x1358ba:0x37c,_0x1564fe:0x4dd,_0x1577e8:0x83c,_0x5c6834:0x65b,_0x2f76d7:0x804,_0x512897:0x8e6,_0x48068d:0x47d,_0x4a38e2:0x375,_0x2e53cf:0x825,_0x38f8a0:0x9cd,_0x3cb3e4:0x7d3,_0x7da46e:0x9af,_0x43cf36:0x65c,_0x16893c:0x4f1,_0x17bbd3:0x5a4,_0x385ff2:0x7d1,_0x49cf25:0x608,_0x11ee25:0x5b6,_0x284326:0x570,_0x1d5cad:0x73a,_0x1a9b98:0x721,_0x117861:0x67f,_0x1a2299:0x6b4,_0x16334c:0x47c,_0x1f4016:0x458,_0x1562c4:0x3bb,_0xcabe74:0x607,_0xa12e61:0x4c6,_0x1f06c3:0x8d2,_0x5472ce:0x8bc,_0x46d118:0x3bb,_0x5ddddb:0x562,_0x1229ae:0x7fb,_0x3d5a24:0xa44,_0x583988:0x5d1},_0x1fd63f={_0x2d942a:0x8c},_0x376630={_0x49a7f8:0x14d},_0x4dd9a8={};_0x4dd9a8[_0x3faece(0x437,0x34e)]='password',_0x4dd9a8[_0x3faece(_0x1d6101._0x4f8e42,0x454)]=function(_0x86ff83,_0x25ca25){return _0x86ff83===_0x25ca25;};const _0x8a802e=_0x4dd9a8,_0x1cac42=readOpenClawInfo(),_0x2a7119=_0x1cac42['token'];function _0x3faece(_0x15a3cf,_0xea1429){return _0x2420cb(_0x15a3cf- -_0x376630._0x49a7f8,_0xea1429);}const _0x847e1d=_0x1cac42[_0x5c7717(0x5d6,_0x1d6101._0xb08bba)];if(_0x2a7119&&_0x847e1d&&_0x1cac42[_0x5c7717(_0x1d6101._0x3fd30b,0x5ed)]==null){const _0x1a663d={};return _0x1a663d[_0x5c7717(_0x1d6101._0x1a8e68,0x47c)]=_0x2a7119,_0x1a663d[_0x3faece(_0x1d6101._0x178170,_0x1d6101._0x4e1823)]=_0x847e1d,_0x1a663d['label']='token',_0x1a663d[_0x5c7717(0x8f3,0x8b8)]=_0x3faece(_0x1d6101._0x37eeb8,0x6ed)+_0x3faece(0x3d6,_0x1d6101._0x1358ba)+_0x3faece(_0x1d6101._0x1564fe,0x46d)+_0x3faece(_0x1d6101._0x1577e8,_0x1d6101._0x5c6834)+_0x5c7717(_0x1d6101._0x2f76d7,_0x1d6101._0x512897)+_0x3faece(_0x1d6101._0x48068d,_0x1d6101._0x4a38e2)+_0x3faece(0x72b,_0x1d6101._0x2e53cf)+_0x5c7717(_0x1d6101._0x38f8a0,_0x1d6101._0x3cb3e4)+_0x5c7717(_0x1d6101._0x7da46e,0x898)+_0x5c7717(_0x1d6101._0x43cf36,_0x1d6101._0x16893c)+_0x5c7717(0x824,_0x1d6101._0x17bbd3)+_0x3faece(0x7cb,0x8c8)+_0x3faece(_0x1d6101._0x385ff2,0x8e3)+_0x3faece(_0x1d6101._0x49cf25,0x3de)+_0x3faece(_0x1d6101._0x11ee25,_0x1d6101._0x284326)+_0x5c7717(_0x1d6101._0x1d5cad,_0x1d6101._0x1a9b98)+_0x5c7717(0x4c8,_0x1d6101._0x117861)+'g.',_0x1a663d;}if(_0x1cac42[_0x3faece(0x52c,_0x1d6101._0x1a2299)]===_0x8a802e['ZuDEn']){const _0x3ac662={};return _0x3ac662[_0x5c7717(0x60b,_0x1d6101._0x16334c)]=null,_0x3ac662[_0x5c7717(0x984,0x78c)]=null,_0x3ac662['label']=null,_0x847e1d?{'token':null,'password':_0x847e1d,'label':_0x8a802e[_0x5c7717(0x3e8,0x4f8)]}:_0x3ac662;}function _0x5c7717(_0xfed888,_0x415ed3){return _0x2420cb(_0x415ed3- -_0x1fd63f._0x2d942a,_0xfed888);}if(_0x8a802e[_0x3faece(_0x1d6101._0x4f8e42,0x6b4)](_0x1cac42['authMode'],_0x5c7717(_0x1d6101._0x1f4016,_0x1d6101._0x16334c))){const _0x1222d1={};return _0x1222d1[_0x3faece(0x3bb,0x130)]=null,_0x1222d1['password']=null,_0x1222d1['label']=null,_0x2a7119?{'token':_0x2a7119,'password':null,'label':_0x3faece(_0x1d6101._0x1562c4,_0x1d6101._0xcabe74)}:_0x1222d1;}if(_0x2a7119){const _0x4f7d6d={};return _0x4f7d6d[_0x3faece(0x3bb,_0x1d6101._0xa12e61)]=_0x2a7119,_0x4f7d6d[_0x3faece(0x6cb,_0x1d6101._0x1f06c3)]=null,_0x4f7d6d[_0x5c7717(0x8f4,_0x1d6101._0x5472ce)]=_0x3faece(_0x1d6101._0x46d118,0x3d3),_0x4f7d6d;}if(_0x847e1d){const _0x53d26a={};return _0x53d26a[_0x3faece(0x3bb,0x129)]=null,_0x53d26a[_0x5c7717(_0x1d6101._0x5ddddb,_0x1d6101._0xb08bba)]=_0x847e1d,_0x53d26a[_0x3faece(_0x1d6101._0x1229ae,_0x1d6101._0x3d5a24)]='password',_0x53d26a;}const _0x4504b6={};return _0x4504b6['token']=null,_0x4504b6[_0x3faece(0x6cb,0x60d)]=null,_0x4504b6[_0x3faece(0x7fb,_0x1d6101._0x583988)]=null,_0x4504b6;}function getOpenClawConfigDir(){const _0x2b80d8={_0x3ed217:0x232,_0x541608:0x47e},_0x30b5ab={_0x1aa3c2:0x5e5};function _0x4a396f(_0x3b1584,_0x1cc87d){return _0x410a57(_0x3b1584,_0x1cc87d-_0x30b5ab._0x1aa3c2);}return resolveOpenClawPaths()[_0x4a396f(_0x2b80d8._0x3ed217,_0x2b80d8._0x541608)+'r'];}function getOpenClawMediaDir(){const _0x5a04cf={_0x167c95:0x591};function _0x27ac9a(_0x13c13f,_0x4294c3){return _0x410a57(_0x13c13f,_0x4294c3-0x6e3);}return resolveOpenClawPaths()[_0x27ac9a(0x30f,_0x5a04cf._0x167c95)];}function readConfiguredSecret(_0x421cd0){const _0x5b89cd={_0x2ef07f:0x617,_0x2d76e0:0x5fd,_0x372e78:0x445,_0x2397b3:0x334,_0x5bd119:0x36,_0xa93030:0x1be},_0x203642={};_0x203642['XgFyi']=_0x560834(_0x5b89cd._0x2ef07f,_0x5b89cd._0x2d76e0);function _0x6211f0(_0x195b94,_0x3af526){return _0x410a57(_0x195b94,_0x3af526-0x1c7);}function _0x560834(_0x143940,_0x6487ef){return _0x410a57(_0x6487ef,_0x143940-0x2e5);}const _0x54e16e=_0x203642;return typeof _0x421cd0===_0x54e16e[_0x560834(_0x5b89cd._0x372e78,_0x5b89cd._0x2397b3)]&&_0x421cd0[_0x560834(0x1be,_0x5b89cd._0x5bd119)]()?_0x421cd0[_0x560834(_0x5b89cd._0xa93030,0x15c)]():null;}function readGatewayTokenEnv(){const _0x365545={_0x440b74:0x1f2,_0x4dde16:0x337},_0x22812b={_0x99156b:0x658},_0xdb880a={_0x14bb7b:0x3ac};function _0xbbd74b(_0x214fc4,_0x5cff3f){return _0x410a57(_0x5cff3f,_0x214fc4-_0xdb880a._0x14bb7b);}function _0x42a33d(_0x280e55,_0x509cd8){return _0x410a57(_0x280e55,_0x509cd8-_0x22812b._0x99156b);}const _0x54f16f={'pfSKQ':function(_0x5b412b,_0x518072,_0x45fb51){return _0x5b412b(_0x518072,_0x45fb51);}};return _0x54f16f['pfSKQ'](readEnvValue,_0xbbd74b(0x2d6,_0x365545._0x440b74)+_0xbbd74b(0x3c2,0x231)+_0xbbd74b(0x546,0x403),'CLAWDBOT'+_0x42a33d(0x84f,0x66e)+_0xbbd74b(0x546,_0x365545._0x4dde16));}function readGatewayPasswordEnv(){const _0x4cfda1={_0x3a7984:0x6ac,_0xb1a3ac:0x6ba,_0x1b9eca:0x82e,_0xe77562:0x5ce},_0xc9927f={_0x12c438:0x696},_0x5077f3={_0x354679:0x56d};function _0xc6fd99(_0x5f3c8e,_0x51c9a0){return _0x410a57(_0x51c9a0,_0x5f3c8e-_0x5077f3._0x354679);}function _0x532553(_0x1eec0b,_0x3335d2){return _0x410a57(_0x3335d2,_0x1eec0b-_0xc9927f._0x12c438);}return readEnvValue('OPENCLAW'+_0xc6fd99(0x583,0x6ab)+'_PASSWOR'+'D',_0xc6fd99(0x3ab,0x2fe)+_0x532553(_0x4cfda1._0x3a7984,_0x4cfda1._0xb1a3ac)+_0x532553(_0x4cfda1._0x1b9eca,_0x4cfda1._0xe77562)+'D');}function readEnvValue(_0x40b675,_0x557ba4){const _0x2ef358={_0x53d43d:0xc5},_0x10cdfd={_0x4ff08c:0x62},_0xe72314=process.env[_0x40b675]?.['trim']();if(_0xe72314)return _0xe72314;function _0x1560ba(_0x554631,_0x289654){return _0x410a57(_0x554631,_0x289654-_0x10cdfd._0x4ff08c);}const _0x28affe=process.env[_0x557ba4]?.[_0x1560ba(0xed,-_0x2ef358._0x53d43d)]();return _0x28affe||null;}function resolveOpenClawPaths(){const _0x5c28e2={_0x58995b:0x485},_0x267d86=buildOpenClawCandidates();function _0x132e41(_0x532fdf,_0x32cab4){return _0x2420cb(_0x532fdf- -0x60f,_0x32cab4);}return _0x267d86[_0x132e41(0x3b5,_0x5c28e2._0x58995b)](_0x3fbff7=>_0x28026c(_0x3fbff7['configPa'+'th']))??_0x267d86[0x0];}function buildOpenClawCandidates(){const _0x205846={_0x28e326:0x73,_0x83b0:0x138,_0x2a8814:0x9,_0x13e112:0xb7},_0x5dd390={_0x578ec2:0x7be,_0x356cab:0x777},_0x1fd3f9={_0x3fa72b:0x33f,_0x2b7e8d:0x389,_0x59ebe2:0x2cd},_0x5cfbd2={_0x266426:0x254},_0x49ceca={_0x5814ad:0x30a},_0x5761d8={'sbWFq':function(_0x3966f4,_0x167b72,_0x3ecc42){return _0x3966f4(_0x167b72,_0x3ecc42);},'JmMoF':'media'};function _0x5a0830(_0x3b32c9,_0x414f26){return _0x2420cb(_0x414f26- -0x623,_0x3b32c9);}const _0x13b58e=new Set();function _0x4d24d8(_0x436170,_0x270f6e){return _0x2420cb(_0x436170- -_0x49ceca._0x5814ad,_0x270f6e);}const _0x3c7391=[_0x317656(),_0x5a0830(-_0x205846._0x28e326,_0x205846._0x83b0)][_0x5a0830(0x1df,-_0x205846._0x2a8814)](_0x49b4df=>_0x49b4df[_0x5a0830(0x5f,-0x7a)]())[_0x5a0830(0x319,_0x205846._0x13e112)](Boolean)[_0x5a0830(0x340,0xb7)](_0x4dd67b=>{if(_0x13b58e[_0x2969a7(_0x1fd3f9._0x3fa72b,_0x1fd3f9._0x2b7e8d)](_0x4dd67b))return![];_0x13b58e[_0x2969a7(_0x1fd3f9._0x59ebe2,0x1d1)](_0x4dd67b);function _0x2969a7(_0x55320b,_0x2df211){return _0x4d24d8(_0x2df211- -0xf4,_0x55320b);}function _0xfc03d3(_0x4dd09f,_0x1e9d63){return _0x4d24d8(_0x4dd09f- -_0x5cfbd2._0x266426,_0x1e9d63);}return!![];});return _0x3c7391[_0x5a0830(0xd8,-0x9)](_0x3739af=>{const _0x1e6090={_0x4d6eb4:0x2f3},_0x5bd974={_0x482feb:0x607},_0x5e50e1=_0x5761d8[_0x2d48da(0x8eb,_0x5dd390._0x578ec2)](_0x205609,_0x3739af,'.opencla'+'w');function _0x2d48da(_0x169b74,_0x1702f1){return _0x5a0830(_0x1702f1,_0x169b74-_0x5bd974._0x482feb);}function _0x4934ad(_0x37d716,_0x2212e2){return _0x5a0830(_0x37d716,_0x2212e2-_0x1e6090._0x4d6eb4);}return{'configDir':_0x5e50e1,'configPath':_0x205609(_0x5e50e1,'openclaw'+'.json'),'mediaDir':_0x205609(_0x5e50e1,_0x5761d8[_0x2d48da(_0x5dd390._0x356cab,0x91a)])};});}var CONTROL_PREFIX=_0x410a57(-0x116,-0x147)+'t_relay_'+_0x2420cb(0x847,0x5d4)+'_:';function parseControl(_0x171741){const _0x581426={_0x37ebbb:0x578,_0x5efa5e:0x542,_0x3aabc1:0x60c,_0x41bee7:0x162,_0x1bf803:0x2dc,_0x53c793:0x5cc,_0x25bf6c:0x830,_0x4fbb77:0x360,_0x5abb27:0x4f0,_0x15391a:0x125,_0x4eb144:0x1f9,_0x4b32db:0x580,_0x39df0c:0x537,_0x4eabea:0x71c,_0x2e8fc7:0x82,_0x1b349e:0xa3,_0x479ba6:0xe6},_0x1631f6={_0x4759a0:0x29},_0x2bfb88={_0x502219:0x6a2},_0x5f5748={};function _0x3fdccd(_0x41a9e7,_0x2ff310){return _0x2420cb(_0x41a9e7- -_0x2bfb88._0x502219,_0x2ff310);}function _0x4f11b3(_0x39132a,_0x5e49ed){return _0x2420cb(_0x5e49ed- -_0x1631f6._0x4759a0,_0x39132a);}_0x5f5748['MCWYw']=function(_0x272230,_0x734414){return _0x272230!==_0x734414;},_0x5f5748[_0x4f11b3(0x2e1,0x568)]=_0x4f11b3(_0x581426._0x37ebbb,0x679);const _0x2d5ea0=_0x5f5748;if(!_0x171741[_0x4f11b3(_0x581426._0x5efa5e,_0x581426._0x3aabc1)+'th'](CONTROL_PREFIX))return null;try{const _0x254718=JSON[_0x3fdccd(0x2c1,_0x581426._0x41bee7)](_0x171741[_0x3fdccd(_0x581426._0x1bf803,0x298)](CONTROL_PREFIX[_0x4f11b3(0x479,_0x581426._0x53c793)]));if(_0x2d5ea0[_0x4f11b3(_0x581426._0x25bf6c,0x740)](typeof _0x254718['event'],_0x3fdccd(_0x581426._0x4fbb77,0x2c1))||!_0x254718[_0x4f11b3(0x7e9,0x79e)][_0x4f11b3(_0x581426._0x5abb27,0x580)]())return null;return{'event':_0x254718[_0x3fdccd(_0x581426._0x15391a,_0x581426._0x4eb144)][_0x4f11b3(0x77f,_0x581426._0x4b32db)](),'count':typeof _0x254718[_0x4f11b3(_0x581426._0x39df0c,_0x581426._0x4eabea)]===_0x2d5ea0[_0x3fdccd(-0x111,_0x581426._0x2e8fc7)]&&Number[_0x4f11b3(0x640,0x7da)](_0x254718[_0x3fdccd(_0x581426._0x1b349e,-_0x581426._0x479ba6)])?_0x254718['count']:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x87d8d4){const _0xfd6887={_0x989254:0x352,_0x67d07d:0x1c2,_0x2c0bd1:0x758,_0x29361a:0x16f,_0x5ba51f:0x149,_0x460a26:0x1b4,_0x17b860:0x13,_0x446797:0x739,_0x38d0e1:0x4d2,_0x4782cb:0x270,_0x28ded5:0x70d,_0xf8099f:0x1b7,_0x3de17f:0x468,_0x332e3c:0x639,_0x2d191e:0x436,_0x10dc7b:0x445,_0x2b8826:0x4f7,_0x44c495:0x6d4,_0x22c033:0x32d,_0x44bbd3:0x33b,_0x39195a:0x258,_0x3fd34c:0x32c,_0x434031:0x5e3},_0x5a48e5={_0x6ff34:0x2aa};function _0x4330a8(_0x171eec,_0x5056c2){return _0x2420cb(_0x5056c2- -0x69e,_0x171eec);}function _0x2b094c(_0x4e41dc,_0x45885b){return _0x2420cb(_0x45885b- -_0x5a48e5._0x6ff34,_0x4e41dc);}const _0xc85c3c={'UlZpA':_0x4330a8(-_0xfd6887._0x989254,-_0xfd6887._0x67d07d),'ITDyS':_0x2b094c(0x5dc,_0xfd6887._0x2c0bd1),'BmJrC':function(_0x4c06e6,_0x132c11,_0x1c7baf,_0x5a1180,_0x5ce7e0){return _0x4c06e6(_0x132c11,_0x1c7baf,_0x5a1180,_0x5ce7e0);},'qGLDy':_0x4330a8(-_0xfd6887._0x29361a,-_0xfd6887._0x5ba51f)+_0x4330a8(_0xfd6887._0x460a26,-_0xfd6887._0x17b860)};try{const _0x44e5f7=JSON['parse'](_0x87d8d4);if(_0x44e5f7[_0x2b094c(0x5be,_0xfd6887._0x446797)]!==_0x2b094c(_0xfd6887._0x38d0e1,_0xfd6887._0x4782cb))return null;if(_0x44e5f7['method']!==_0xc85c3c[_0x2b094c(_0xfd6887._0x28ded5,0x53c)]&&_0x44e5f7[_0x2b094c(_0xfd6887._0xf8099f,0x2bc)]!==_0x2b094c(_0xfd6887._0x3de17f,_0xfd6887._0x332e3c)+_0x2b094c(_0xfd6887._0x2d191e,_0xfd6887._0x10dc7b))return null;const _0x279187=_0x44e5f7[_0x2b094c(0x3b8,0x4c2)]??{},_0x4aba17=typeof _0x44e5f7['id']===_0xc85c3c[_0x2b094c(0x692,0x478)]&&_0x44e5f7['id'][_0x2b094c(_0xfd6887._0x2b8826,0x2ff)]()?_0x44e5f7['id'][_0x2b094c(0x416,0x2ff)]():'req-'+Math['random']()['toString'](0x24)[_0x2b094c(0x76c,_0xfd6887._0x44c495)](0x2,0xc),_0x10096c=_0xc85c3c[_0x2b094c(_0xfd6887._0x22c033,_0xfd6887._0x44bbd3)](firstString,_0x279187['deviceNa'+'me'],_0x279187[_0x4330a8(_0xfd6887._0x39195a,0xb6)+'me'],_0x279187['deviceId'],_0xc85c3c[_0x4330a8(_0xfd6887._0x3fd34c,0x1c6)]),_0x3337d0={};return _0x3337d0['id']=_0x4aba17,_0x3337d0[_0x2b094c(_0xfd6887._0x434031,0x69e)]=_0x10096c,_0x3337d0;}catch{return null;}}function isConnectHandshakeRequest(_0x3aa7eb){const _0x3c1445={_0x2711d9:0x3c0,_0x396462:0x38c,_0x37d0ce:0x6f,_0x4d76a0:0x2f6,_0x346c65:0x38c,_0x44f6a0:0x1a1,_0x276298:0xa5,_0x2b2291:0x30c,_0x247f28:0x4b4,_0x18a3ef:0x229,_0x41913f:0xe4},_0x50be5c={_0x1a1f31:0x5d7},_0x352003={_0x54c969:0x60b};function _0x1cc67f(_0x31a108,_0x199e5f){return _0x2420cb(_0x199e5f- -_0x352003._0x54c969,_0x31a108);}const _0x59af35={};_0x59af35[_0x27673d(_0x3c1445._0x2711d9,0x3f2)]=function(_0x28c61e,_0x1cd6da){return _0x28c61e===_0x1cd6da;};const _0x1d338e=_0x59af35;function _0x27673d(_0x38f664,_0x5f0c7b){return _0x2420cb(_0x38f664- -_0x50be5c._0x1a1f31,_0x5f0c7b);}try{const _0xcf4e9a=JSON[_0x27673d(_0x3c1445._0x396462,0x607)](_0x3aa7eb);return _0xcf4e9a['type']===_0x27673d(-0xbd,_0x3c1445._0x37d0ce)&&(_0x1d338e[_0x1cc67f(_0x3c1445._0x4d76a0,_0x3c1445._0x346c65)](_0xcf4e9a[_0x1cc67f(_0x3c1445._0x44f6a0,-_0x3c1445._0x276298)],_0x1cc67f(0x1d,-0x12f))||_0xcf4e9a['method']===_0x27673d(_0x3c1445._0x2b2291,_0x3c1445._0x247f28)+_0x1cc67f(_0x3c1445._0x18a3ef,_0x3c1445._0x41913f));}catch{return![];}}function parseConnectHandshakeMeta(_0x2735c0){const _0x3389c7={_0x15df46:0x442,_0x22f836:0x669,_0x1db4f5:0x7f,_0xc92be2:0x34c,_0x4055cc:0xb1,_0x3548c1:0x1cd,_0x49f31e:0x54a,_0x5cae58:0x155,_0xaa6383:0x6e,_0x112017:0x21c,_0x538bbd:0x31d,_0x3a3ada:0x54d,_0x5e4d4d:0xa1,_0x523e40:0x1ea};function _0x2d0835(_0x3bb9b8,_0x469c24){return _0x2420cb(_0x3bb9b8- -0x617,_0x469c24);}const _0x182a68={};_0x182a68[_0x43f238(_0x3389c7._0x15df46,0x505)]=function(_0x47dd3f,_0x5620e5){return _0x47dd3f!==_0x5620e5;},_0x182a68[_0x43f238(0x340,0xec)]=_0x43f238(_0x3389c7._0x22f836,0x68e),_0x182a68['iOtpG']=function(_0x554547,_0x163621){return _0x554547===_0x163621;},_0x182a68[_0x43f238(0x1e0,-_0x3389c7._0x1db4f5)]=function(_0x35322a,_0x139ad2){return _0x35322a>_0x139ad2;};function _0x43f238(_0x76e5a8,_0x54c274){return _0x2420cb(_0x76e5a8- -0x399,_0x54c274);}const _0x25c422=_0x182a68;try{const _0xada686=JSON[_0x2d0835(_0x3389c7._0xc92be2,0x39a)](_0x2735c0);if(_0xada686[_0x43f238(0x64a,0x5cb)]!=='req')return null;if(_0x25c422['KxvSA'](_0xada686[_0x2d0835(-_0x3389c7._0x4055cc,0x173)],'connect')&&_0xada686[_0x43f238(_0x3389c7._0x3548c1,0x5a)]!==_0x43f238(_0x3389c7._0x49f31e,0x641)+'start')return null;const _0x1cb12d=_0xada686[_0x2d0835(_0x3389c7._0x5cae58,-0x1b)]?.['device']?.['nonce'],_0x23cb5a=_0xada686[_0x2d0835(0x155,0x1d2)]?.['auth'];return{'id':typeof _0xada686['id']===_0x25c422['rhqfT']&&_0xada686['id'][_0x2d0835(-_0x3389c7._0xaa6383,-_0x3389c7._0x112017)]()?_0xada686['id']['trim']():null,'method':_0xada686[_0x2d0835(-_0x3389c7._0x4055cc,-_0x3389c7._0x538bbd)],'noncePresent':_0x25c422['iOtpG'](typeof _0x1cb12d,_0x2d0835(0x3eb,_0x3389c7._0x3a3ada))&&_0x25c422['yOtWA'](_0x1cb12d['length'],0x0),'nonceLength':typeof _0x1cb12d==='string'?_0x1cb12d[_0x43f238(0x25c,0x267)]:null,'authFields':_0x23cb5a&&typeof _0x23cb5a==='object'?Object[_0x2d0835(0x18c,0x380)](_0x23cb5a)[_0x2d0835(_0x3389c7._0x5e4d4d,_0x3389c7._0x523e40)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x197bc3,_0x2da108=Date[_0x2420cb(0x664,0x8c4)]()){const _0x470180={_0x18b448:0x2cb,_0x5808c5:0x5f8,_0x5a8a2f:0x4ad,_0x3b5b03:0x33f,_0x2cea18:0x37f,_0x152a19:0x3c7,_0x9bcdfe:0x56b,_0x358553:0x2fc,_0x46d76c:0xf5,_0x4eef1c:0x448,_0x46737c:0x40a,_0x108496:0x57b,_0x4ee9d6:0x144,_0x14bfc5:0x712,_0x53d719:0x545,_0x52f10d:0x514,_0x5bc0a6:0x38f,_0x1eec97:0x38d,_0x45cdd7:0x559,_0x3db4c4:0x6fc,_0x286a2c:0x61a,_0x423521:0x2c8,_0x7338b6:0x58a,_0x1fbadb:0x177,_0x4e1c23:0x474,_0x1a15ce:0x5e8,_0x4ee572:0x617},_0x2664e6={_0x32b888:0x2e0};function _0x445c6a(_0x20f72a,_0x309364){return _0x2420cb(_0x309364- -_0x2664e6._0x32b888,_0x20f72a);}function _0x31cdd0(_0x4e32ed,_0x495893){return _0x2420cb(_0x4e32ed- -0x497,_0x495893);}const _0x35f7ca={'EfzXi':function(_0x490d9a,_0x587434){return _0x490d9a!==_0x587434;},'ZplOR':function(_0x4a4e73,_0xb32481){return _0x4a4e73(_0xb32481);},'pPmeR':function(_0x1994e1,_0x27b054,_0xa6d17e){return _0x1994e1(_0x27b054,_0xa6d17e);},'gsJYk':_0x31cdd0(0x398,0x4bd)};try{const _0x3bff75=JSON[_0x31cdd0(0x4cc,0x3ce)](_0x197bc3);if(_0x35f7ca['EfzXi'](_0x3bff75[_0x445c6a(0x7aa,0x703)],_0x445c6a(0x3ba,_0x470180._0x18b448))||_0x3bff75['ok']!==![]||!_0x3bff75[_0x445c6a(_0x470180._0x5808c5,0x664)])return null;const _0x1e3f66=typeof _0x3bff75[_0x31cdd0(_0x470180._0x5a8a2f,_0x470180._0x3b5b03)][_0x31cdd0(_0x470180._0x2cea18,_0x470180._0x152a19)]===_0x31cdd0(_0x470180._0x9bcdfe,_0x470180._0x358553)?_0x3bff75['error'][_0x31cdd0(0x37f,0x335)]:'',_0x5f3024=typeof _0x3bff75['error']['message']==='string'?_0x3bff75['error'][_0x445c6a(_0x470180._0x46d76c,0x2bb)]:'';if(!_0x1e3f66[_0x31cdd0(_0x470180._0x4eef1c,0x1e4)](_0x31cdd0(_0x470180._0x46737c,_0x470180._0x108496)+'ED')&&!_0x1e3f66['includes'](_0x445c6a(0x3ba,0x3ed)+_0x445c6a(_0x470180._0x4ee9d6,0x1ff))&&!_0x5f3024[_0x445c6a(0x53a,0x5ff)]('NOT_PAIR'+'ED')&&!_0x5f3024['includes'](_0x31cdd0(0x571,_0x470180._0x14bfc5)+_0x445c6a(_0x470180._0x53d719,0x69f)))return null;const _0x15dec1=_0x3bff75[_0x445c6a(0x703,0x664)][_0x445c6a(0x42a,_0x470180._0x52f10d)]??_0x3bff75['error'][_0x31cdd0(_0x470180._0x5bc0a6,_0x470180._0x1eec97)]??{},_0x2391c5=firstString(_0x15dec1[_0x31cdd0(_0x470180._0x45cdd7,_0x470180._0x3db4c4)+'d'],_0x35f7ca[_0x445c6a(_0x470180._0x286a2c,0x62b)](extractRequestIdFromMessage,_0x5f3024),'unknown');return{'requestId':_0x2391c5,'deviceId':_0x35f7ca[_0x445c6a(0x237,_0x470180._0x423521)](firstString,_0x15dec1[_0x31cdd0(0x247,0x3ae)],''),'displayName':firstNullableString(_0x15dec1['displayN'+'ame']),'platform':firstNullableString(_0x15dec1[_0x31cdd0(0x162,0x7d)]),'deviceFamily':firstNullableString(_0x15dec1[_0x31cdd0(0x350,_0x470180._0x7338b6)+_0x31cdd0(_0x470180._0x1fbadb,-0xc3)]),'role':firstNullableString(_0x15dec1['role']),'remoteIp':_0x35f7ca[_0x31cdd0(_0x470180._0x4e1c23,_0x470180._0x1a15ce)](firstNullableString,_0x15dec1[_0x445c6a(_0x470180._0x4ee572,0x648)]),'receivedAtMs':_0x2da108,'status':_0x35f7ca['gsJYk']};}catch{return null;}}function parsePairResolvedEvent(_0x1b54bb){const _0x7b7e57={_0x762421:0x230,_0x1daed0:0x411,_0x4ac0ad:0x5fc,_0x203f71:0x44b,_0x4faf27:0x2b7,_0x555ba2:0x769,_0x14aeed:0x88e,_0x233d3d:0x6be,_0x51e3e0:0x744,_0x307e01:0x1f7,_0x228c72:0x83b,_0x1aa17c:0x7e7,_0x1baae6:0x215,_0x18bf9b:0x9a1,_0xc9ec26:0x969,_0x394c93:0x55a,_0x405d2d:0x4bc,_0x236029:0x9b3,_0x20613f:0x236,_0x43b1f3:0x45e,_0x15c9bf:0x3ec,_0x4c2201:0x777},_0x39edb6={_0x30f4dc:0x4f},_0x3d2470={};function _0x47a34a(_0x2a77ab,_0x38742e){return _0x2420cb(_0x2a77ab- -_0x39edb6._0x30f4dc,_0x38742e);}function _0x311a5c(_0x186149,_0x3adaef){return _0x2420cb(_0x3adaef- -0x3c3,_0x186149);}_0x3d2470[_0x311a5c(_0x7b7e57._0x762421,0x2d4)]=_0x311a5c(0x233,0x404),_0x3d2470[_0x47a34a(0x969,0x857)]=function(_0x46ad0f,_0x2465f8){return _0x46ad0f===_0x2465f8;},_0x3d2470[_0x311a5c(0x3af,_0x7b7e57._0x1daed0)]=_0x311a5c(_0x7b7e57._0x4ac0ad,0x63f),_0x3d2470['eJTRq']=_0x311a5c(_0x7b7e57._0x203f71,_0x7b7e57._0x4faf27),_0x3d2470['aBiZW']=_0x47a34a(0x93b,0x6fd);const _0x5e3563=_0x3d2470;try{const _0x39d5c9=JSON[_0x311a5c(_0x7b7e57._0x555ba2,0x5a0)](_0x1b54bb);if(_0x39d5c9[_0x311a5c(_0x7b7e57._0x14aeed,0x620)]!==_0x5e3563[_0x47a34a(0x648,_0x7b7e57._0x233d3d)]||_0x39d5c9['event']!=='device.p'+'air.reso'+_0x47a34a(0x4f6,_0x7b7e57._0x51e3e0)||!_0x39d5c9[_0x311a5c(0x326,_0x7b7e57._0x307e01)])return null;const _0x3b8ac8=_0x5e3563[_0x47a34a(0x969,_0x7b7e57._0x228c72)](typeof _0x39d5c9['payload']['requestI'+'d'],_0x5e3563[_0x47a34a(0x785,_0x7b7e57._0x1aa17c)])?_0x39d5c9[_0x311a5c(_0x7b7e57._0x1baae6,0x1f7)][_0x47a34a(_0x7b7e57._0x18bf9b,_0x7b7e57._0xc9ec26)+'d'][_0x47a34a(_0x7b7e57._0x394c93,_0x7b7e57._0x405d2d)]():'';if(!_0x3b8ac8)return null;const _0x6c595=_0x5e3563[_0x47a34a(_0x7b7e57._0xc9ec26,0x867)](typeof _0x39d5c9['payload']['decision'],_0x47a34a(_0x7b7e57._0x236029,0x8fe))?_0x39d5c9[_0x311a5c(_0x7b7e57._0x20613f,0x1f7)]['decision']:'unknown',_0x5cb4e1=_0x6c595===_0x5e3563[_0x311a5c(0x438,_0x7b7e57._0x43b1f3)]||_0x6c595===_0x311a5c(_0x7b7e57._0x15c9bf,0x497)?_0x6c595:_0x5e3563[_0x47a34a(0x5df,0x814)],_0x337f5e={};return _0x337f5e[_0x311a5c(0x740,0x62d)+'d']=_0x3b8ac8,_0x337f5e[_0x47a34a(_0x7b7e57._0x4c2201,0x99c)]=_0x5cb4e1,_0x337f5e;}catch{return null;}}function parseResponseEnvelopeMeta(_0x5323ac){const _0x253989={_0x57d8e6:0x40c,_0x2f4eff:0x37,_0x5790a5:0x4e5,_0x88a8e9:0x141,_0x28e405:0x339,_0x59ee1a:0x67e,_0xdccc88:0x714,_0x3f3e5c:0x51f,_0x1078a3:0x2bb,_0x328651:0x80,_0x302b1e:0x65e,_0x2240e5:0x4f7,_0x20075c:0x3b7,_0xcd6858:0x574,_0x205270:0x656,_0x280eb4:0x12a,_0x34ec37:0x154,_0x1c3c37:0x37,_0xc801cd:0x34e,_0x373dbd:0x1c3,_0x29b464:0x2ad,_0x41ac74:0x5b2},_0x5ab4f3={_0x1a62f0:0x6ec},_0x10d80c={_0x562dca:0x2ee},_0x16d05a={};_0x16d05a[_0x21a441(_0x253989._0x57d8e6,0x484)]=function(_0x25a78a,_0x441343){return _0x25a78a!==_0x441343;};function _0x21a441(_0x35a46c,_0x3c3bf9){return _0x2420cb(_0x3c3bf9- -_0x10d80c._0x562dca,_0x35a46c);}_0x16d05a['UHPjA']=function(_0x3b0140,_0x1436fe){return _0x3b0140===_0x1436fe;},_0x16d05a[_0x210ad8(_0x253989._0x2f4eff,0xcf)]=function(_0xb2d251,_0x162168){return _0xb2d251===_0x162168;};function _0x210ad8(_0x45d285,_0x31d3da){return _0x2420cb(_0x45d285- -_0x5ab4f3._0x1a62f0,_0x31d3da);}const _0x1cf52f=_0x16d05a;try{const _0x5ce3e5=JSON[_0x21a441(0x75d,0x675)](_0x5323ac);if(_0x1cf52f[_0x21a441(_0x253989._0x5790a5,0x484)](_0x5ce3e5['type'],_0x210ad8(-_0x253989._0x88a8e9,-_0x253989._0x28e405)))return null;if(typeof _0x5ce3e5['id']!==_0x21a441(_0x253989._0x59ee1a,_0x253989._0xdccc88)||!_0x5ce3e5['id'][_0x21a441(_0x253989._0x3f3e5c,_0x253989._0x1078a3)]())return null;return{'id':_0x5ce3e5['id'][_0x21a441(_0x253989._0x328651,0x2bb)](),'ok':_0x1cf52f[_0x21a441(_0x253989._0x302b1e,_0x253989._0x2240e5)](_0x5ce3e5['ok'],!![]),'errorCode':typeof _0x5ce3e5[_0x210ad8(0x258,_0x253989._0x20075c)]?.[_0x210ad8(0x12a,0x12b)]===_0x210ad8(0x316,0x28e)&&_0x5ce3e5[_0x21a441(_0x253989._0xcd6858,_0x253989._0x205270)][_0x210ad8(0x12a,0x134)][_0x21a441(0x3a9,0x2bb)]()?_0x5ce3e5['error'][_0x210ad8(_0x253989._0x280eb4,0x84)][_0x21a441(_0x253989._0x34ec37,0x2bb)]():null,'errorMessage':_0x1cf52f[_0x210ad8(_0x253989._0x1c3c37,0x40)](typeof _0x5ce3e5['error']?.[_0x210ad8(-0x151,-_0x253989._0xc801cd)],_0x21a441(0x716,0x714))&&_0x5ce3e5['error'][_0x21a441(_0x253989._0x373dbd,_0x253989._0x29b464)]['trim']()?_0x5ce3e5[_0x21a441(_0x253989._0x41ac74,_0x253989._0x205270)]['message']['trim']():null};}catch{return null;}}function _0x410a57(_0x38be3a,_0x397965){return _0x483f(_0x397965- -0x3c3,_0x38be3a);}function firstString(..._0x5c767f){const _0x51c829={_0x16fc7c:0x857,_0x21d3e5:0x62f,_0x3594cd:0x518,_0x201479:0x62f,_0x145de6:0x255,_0xc04689:0xd9},_0x25ab76={_0x28f30c:0x40},_0x1ff97c={};_0x1ff97c[_0x2f5d4f(_0x51c829._0x16fc7c,_0x51c829._0x21d3e5)]=_0x2f5d4f(0xc11,0xa42);const _0x32d8ea=_0x1ff97c;function _0x454f0f(_0x59d3b9,_0x2bc786){return _0x2420cb(_0x2bc786- -0x682,_0x59d3b9);}for(const _0x579b78 of _0x5c767f){if(typeof _0x579b78===_0x32d8ea[_0x2f5d4f(_0x51c829._0x3594cd,_0x51c829._0x201479)]&&_0x579b78['trim']())return _0x579b78[_0x454f0f(-_0x51c829._0x145de6,-_0x51c829._0xc04689)]();}function _0x2f5d4f(_0x2a290f,_0x1e0b31){return _0x2420cb(_0x1e0b31-_0x25ab76._0x28f30c,_0x2a290f);}return'';}function firstNullableString(_0x3ae0e3){const _0x18f3e5={_0x2bf537:0x9f,_0x9bbace:0x1f5},_0x128b29={_0x3e3c5a:0x1ac};function _0x2dac48(_0x5d3f89,_0x47613e){return _0x2420cb(_0x5d3f89- -0x3b4,_0x47613e);}function _0xd041f8(_0x190948,_0x3c3236){return _0x2420cb(_0x190948- -_0x128b29._0x3e3c5a,_0x3c3236);}return typeof _0x3ae0e3===_0xd041f8(0x856,0x7bf)&&_0x3ae0e3[_0x2dac48(0x1f5,-_0x18f3e5._0x2bf537)]()?_0x3ae0e3[_0x2dac48(_0x18f3e5._0x9bbace,0x2c8)]():null;}function extractRequestIdFromMessage(_0x564602){const _0x49900b={_0x94cc90:0x54c},_0x9a2f64=_0x564602[_0x12440e(0x436,0x569)](/requestId[:\s]*([a-f0-9-]+)/i);function _0x12440e(_0x13ae45,_0x50502a){return _0x410a57(_0x13ae45,_0x50502a-_0x49900b._0x94cc90);}return _0x9a2f64?.[0x1]??null;}import{randomUUID as _0x213d64}from'crypto';import{setTimeout as _0x123d85}from'timers/promises';import _0x4221f7 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x2420cb(0x89f,0x84c)];[_0x2420cb(0x5f2,0x5a2)+_0x410a57(0x23d,0x2a9)]=null;[_0x410a57(0x405,0x333)+_0x410a57(-0x21d,-0x1aa)]=null;['relayCon'+_0x2420cb(0x86b,0x820)]=![];[_0x410a57(0x374,0x23a)+'onnectin'+'g']=![];[_0x410a57(0x270,0x11b)]=!![];[_0x2420cb(0x7dc,0x548)+_0x2420cb(0x506,0x6d5)]=0x0;[_0x410a57(-0x159,-0x44)+_0x410a57(-0x453,-0x1d3)+_0x2420cb(0x8ac,0x811)]=0x0;[_0x410a57(0x1f,-0x1f3)+_0x410a57(0x78,0x289)]=null;[_0x2420cb(0x90c,0xafb)+_0x410a57(-0x77,0x1c7)+'r']=null;[_0x2420cb(0x72d,0x7c2)+_0x410a57(0x197,0x289)]=null;[_0x410a57(-0x237,-0xd2)+_0x410a57(-0xdb,0xde)+_0x410a57(0xcb,-0x149)]=[];[_0x2420cb(0x88f,0xa43)+_0x410a57(0x268,0x239)+_0x410a57(-0x35e,-0xfd)]=![];[_0x2420cb(0x90a,0xa30)+_0x2420cb(0x71e,0x4e3)+'daryPend'+_0x410a57(0x330,0xd2)]=![];['clientDe'+_0x410a57(-0xbf,0x13d)+_0x410a57(0x14c,0x147)]=null;[_0x2420cb(0x90a,0xa50)+_0x410a57(0x3e,0x1eb)+'AtMs']=null;['inFlight'+_0x2420cb(0x7d7,0x92c)+_0x410a57(-0x3f,0x239)+'s']=new Map();['snapshot'];constructor(_0x967089){const _0x508725={_0x31d202:0x149,_0x3bde93:0x2d3,_0x210c94:0x6fc,_0x499c89:0x85d,_0x3bbe89:0x670},_0x413eb2={_0x42bd80:0x631};function _0x5e85e0(_0x2a40cc,_0xc23d4f){return _0x2420cb(_0xc23d4f-0x57,_0x2a40cc);}function _0x158796(_0x396c25,_0x212de3){return _0x2420cb(_0x212de3- -_0x413eb2._0x42bd80,_0x396c25);}this['options']=_0x967089,this[_0x158796(-_0x508725._0x31d202,-0x44)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x967089['config'][_0x158796(_0x508725._0x3bde93,0x150)+'d'],'instanceId':_0x967089[_0x5e85e0(_0x508725._0x210c94,0x670)]['instance'+'Id'],'relayUrl':_0x967089[_0x5e85e0(_0x508725._0x499c89,_0x508725._0x3bbe89)][_0x5e85e0(0x4db,0x5a8)],'gatewayUrl':_0x967089[_0x5e85e0(0xa71,0xa4d)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x158796(0x3,0x33)]()};}[_0x410a57(0x135,0x1f)](){const _0x4e740b={_0x38ad15:0x508,_0x598a5d:0x520,_0x39eb2c:0x664,_0x176685:0x45,_0x2ac57a:0x5c9,_0x347bd3:0x4a4,_0x20fcbc:0x5e5,_0x47661c:0x833,_0x2cd59f:0x722,_0x540157:0x537,_0x58528a:0x508,_0x359805:0x914,_0x5c4f40:0x538,_0x4a82bb:0x709,_0x4c4a00:0x91e,_0x265fe4:0x77d,_0x550a6a:0x80b,_0x5c46f3:0x439},_0x2ca4af={_0x2683e2:0x4b4},_0x3d2a91={};_0x3d2a91['aapQq']='2|3|4|1|'+'0';const _0x7a2127=_0x3d2a91,_0x1d23ce=_0x7a2127[_0x11689b(-0x237,0x3c)][_0x11689b(_0x4e740b._0x38ad15,_0x4e740b._0x598a5d)]('|');let _0x2b122e=0x0;function _0x11689b(_0x4dde7c,_0x14eb57){return _0x2420cb(_0x14eb57- -_0x2ca4af._0x2683e2,_0x4dde7c);}function _0x197da3(_0x4699c5,_0x22611b){return _0x2420cb(_0x22611b- -0xe2,_0x4699c5);}while(!![]){switch(_0x1d23ce[_0x2b122e++]){case'0':void this[_0x197da3(_0x4e740b._0x39eb2c,0x73a)+_0x11689b(-_0x4e740b._0x176685,0x38)]();continue;case'1':this['log'](_0x197da3(_0x4e740b._0x2ac57a,_0x4e740b._0x347bd3)+_0x197da3(_0x4e740b._0x20fcbc,0x651)+_0x197da3(0x849,0x75c)+_0x197da3(_0x4e740b._0x47661c,_0x4e740b._0x2cd59f)+this[_0x11689b(0x62a,0x3eb)][_0x197da3(0x4e0,_0x4e740b._0x540157)][_0x197da3(_0x4e740b._0x58528a,0x69f)+'d']+('\x20gateway'+'Url=')+this[_0x11689b(0x600,0x3eb)][_0x197da3(0x95c,_0x4e740b._0x359805)+'rl']);continue;case'2':if(!this[_0x197da3(_0x4e740b._0x5c4f40,_0x4e740b._0x4a82bb)])return;continue;case'3':this['stopped']=![];continue;case'4':this[_0x197da3(0x968,_0x4e740b._0x4c4a00)+_0x197da3(_0x4e740b._0x265fe4,_0x4e740b._0x550a6a)]({'running':!![],'gatewayUrl':this[_0x11689b(_0x4e740b._0x5c46f3,0x3eb)][_0x11689b(0x5b5,0x542)+'rl']});continue;}break;}}async['stop'](){const _0x599ee7={_0x48743a:0x3e6,_0x2b87c0:0x565,_0x2818bc:0x521,_0x528d71:0x2dd,_0x36858c:0x490,_0x4f0190:0xc,_0xbea378:0x273,_0x149968:0x36c,_0x11c2e0:0x62d,_0x5011d9:0x352,_0xa9d65a:0x77d,_0x321f0b:0xd5,_0x182aca:0x481,_0x4517e5:0x6af,_0x4f9aca:0x739,_0x3a43b9:0x29,_0x46b270:0x25c,_0x42bc60:0x301,_0x51bf4b:0x63f,_0x367d9b:0x640,_0x779258:0x58d,_0x6fb904:0x4df,_0x19b8f1:0x4c7,_0x32c0f2:0x582,_0x50e79e:0x587,_0x5454b2:0x54d,_0x280794:0x754,_0xf03ba6:0x640,_0x4d46c2:0x86c,_0xee9deb:0x3c5,_0x345dd0:0x5e9,_0x461d6d:0x551,_0xe8ff84:0x50b,_0x3995e5:0x58e,_0x5ad008:0x46a,_0x4d9eb2:0x5a1,_0x3b0b47:0x420,_0x3c7ce0:0x5f8,_0x20d917:0x48f,_0x4be470:0x80f,_0x34700f:0x77a,_0x597553:0x300,_0x3b14f7:0x3a3,_0x3a2278:0x3d3},_0x44cfcb={'JChgX':function(_0x49be91,_0x4557fa){return _0x49be91(_0x4557fa);}};if(this[_0x164235(_0x599ee7._0x48743a,_0x599ee7._0x2b87c0)])return;function _0x164235(_0x235f99,_0x7eb0e){return _0x2420cb(_0x7eb0e- -0x286,_0x235f99);}this[_0x14c883(0x2be,_0x599ee7._0x2818bc)]=!![],this[_0x164235(_0x599ee7._0x528d71,_0x599ee7._0x36858c)+_0x164235(_0x599ee7._0x4f0190,_0x599ee7._0xbea378)](),this[_0x164235(0x4ba,_0x599ee7._0x149968)+_0x14c883(_0x599ee7._0x11c2e0,0x6af)]?.[_0x164235(0xda,_0x599ee7._0x5011d9)](),this[_0x164235(0x6b8,_0x599ee7._0xa9d65a)+'ocket']?.[_0x164235(_0x599ee7._0x321f0b,_0x599ee7._0x5011d9)](),this[_0x164235(0x135,0x36c)+_0x14c883(_0x599ee7._0x182aca,_0x599ee7._0x4517e5)]=null,this[_0x14c883(0x964,_0x599ee7._0x4f9aca)+_0x14c883(-_0x599ee7._0x3a43b9,_0x599ee7._0x46b270)]=null,this['pendingG'+_0x164235(0x308,0x528)+_0x164235(0x52f,_0x599ee7._0x42bc60)]=[],this[_0x14c883(0x4f3,0x5c5)+_0x14c883(0x6ac,_0x599ee7._0x51bf4b)+_0x14c883(0x3d3,0x309)]=![],this[_0x14c883(0x4dc,_0x599ee7._0x367d9b)+_0x14c883(_0x599ee7._0x779258,0x454)+_0x164235(0x510,_0x599ee7._0x6fb904)+'ing']=![],this[_0x164235(0x680,_0x599ee7._0x19b8f1)+_0x164235(_0x599ee7._0x32c0f2,_0x599ee7._0x50e79e)+_0x14c883(0x5e9,_0x599ee7._0x5454b2)]=null,this[_0x14c883(_0x599ee7._0x280794,_0x599ee7._0xf03ba6)+_0x14c883(_0x599ee7._0x4d46c2,0x5f1)+_0x14c883(0x383,_0x599ee7._0xee9deb)]=null;function _0x14c883(_0x255ae5,_0x53e943){return _0x2420cb(_0x53e943- -0x2ca,_0x255ae5);}this[_0x164235(0x421,_0x599ee7._0x345dd0)+_0x164235(0x572,_0x599ee7._0x461d6d)+_0x14c883(0x4b7,_0x599ee7._0x51bf4b)+'s'][_0x14c883(_0x599ee7._0xe8ff84,0x43d)](),this[_0x164235(_0x599ee7._0x3995e5,0x582)+_0x14c883(_0x599ee7._0x5ad008,_0x599ee7._0x4d9eb2)]=![],this['gatewayC'+_0x164235(_0x599ee7._0x3b0b47,_0x599ee7._0x3c7ce0)+'g']=![];const _0x3e7aa7={};_0x3e7aa7[_0x14c883(0x8f1,0x6fd)]=![],_0x3e7aa7[_0x164235(0x654,0x582)+_0x164235(0x58c,0x700)]=![],_0x3e7aa7[_0x14c883(_0x599ee7._0x20d917,_0x599ee7._0xf03ba6)+_0x14c883(0x7fa,0x5f1)]=![],_0x3e7aa7[_0x14c883(0x2f8,0x434)+'unt']=0x0,_0x3e7aa7['lastErro'+'r']=null,this[_0x164235(_0x599ee7._0x4be470,_0x599ee7._0x34700f)+'apshot'](_0x3e7aa7),this[_0x14c883(0x292,0x30f)](_0x164235(0x2fc,_0x599ee7._0x597553)+_0x14c883(_0x599ee7._0x3b14f7,0x521)),await _0x44cfcb[_0x14c883(_0x599ee7._0x3a2278,0x4dc)](_0x123d85,0x19);}async['approveP'+_0x2420cb(0x9a4,0x971)+'st'](_0x44fd6a){const _0x6728f4={_0x1261a1:0x5e2,_0x508755:0x560,_0x2f64b0:0x396,_0x15eb71:0x11b,_0x322355:0x687,_0x37706e:0x101,_0x2c390f:0x3c,_0x1bfbc6:0x232},_0x16b14e={_0x21bc4c:0x15b},_0x3fea7e={_0x54ce38:0x6b6};function _0xb93c84(_0x14e7e4,_0x55ab7b){return _0x2420cb(_0x14e7e4- -_0x3fea7e._0x54ce38,_0x55ab7b);}const _0x2dd56a={};_0x2dd56a[_0xb93c84(0x33a,0x2e4)+'d']=_0x44fd6a,this['sendGate'+_0xb93c84(-0x26,0x1b3)+'st'](_0x24ea3a(_0x6728f4._0x1261a1,_0x6728f4._0x508755)+_0xb93c84(0x2be,_0x6728f4._0x2f64b0)+_0xb93c84(_0x6728f4._0x15eb71,0x350),_0x2dd56a);function _0x24ea3a(_0x3221b9,_0x420a57){return _0x2420cb(_0x420a57- -_0x16b14e._0x21bc4c,_0x3221b9);}this[_0x24ea3a(0x74d,_0x6728f4._0x322355)+_0xb93c84(-_0x6728f4._0x37706e,-0x16)+'esolved'](_0x44fd6a,_0xb93c84(-_0x6728f4._0x2c390f,-_0x6728f4._0x1bfbc6));}async[_0x410a57(0x20c,0x4a)+_0x410a57(0x214,0x19c)+'t'](_0x5bd257){const _0x30b3bc={_0x499902:0x688,_0x53c0b3:0x4d9,_0x24e929:0x68e,_0x46689f:0x5c0,_0x2e515c:0x865},_0x2abda6={_0x30023c:0x3c7},_0x124227={};function _0x561cc2(_0x373e3b,_0x41133f){return _0x410a57(_0x373e3b,_0x41133f-0x6db);}function _0xf81cb2(_0x4a9be2,_0x2a68a2){return _0x410a57(_0x4a9be2,_0x2a68a2-_0x2abda6._0x30023c);}_0x124227['requestI'+'d']=_0x5bd257,this[_0xf81cb2(0x62d,0x45a)+'wayReque'+'st'](_0xf81cb2(0x282,0x3b2)+_0x561cc2(0xb8d,0x997)+'ct',_0x124227),this[_0xf81cb2(_0x30b3bc._0x499902,_0x30b3bc._0x53c0b3)+_0x561cc2(_0x30b3bc._0x24e929,_0x30b3bc._0x46689f)+_0xf81cb2(-0x8c,0x1e0)](_0x5bd257,_0x561cc2(0x89f,_0x30b3bc._0x2e515c));}[_0x410a57(0x539,0x2f5)+_0x410a57(0x2dc,0x286)](){const _0x1d458c={_0x58168f:0x3bc,_0x2c9fbc:0x3d7,_0x33f5e9:0x250,_0x5781b0:0x31d,_0x397b12:0x5aa,_0x3257b9:0x7f4,_0x3ae415:0x29e,_0x3d7e9f:0x607,_0x3cd208:0x4fa,_0x1a3c73:0x2cf},_0x397e4f={_0x290ee3:0x302},_0x5616b5={_0x31f4dc:0x333},_0x580751={...this['snapshot']};_0x580751[_0x4d8438(_0x1d458c._0x58168f,0x34e)+'dDevices']=[...this[_0x4d8438(_0x1d458c._0x2c9fbc,_0x1d458c._0x33f5e9)][_0x11000f(_0x1d458c._0x5781b0,_0x1d458c._0x397b12)+'dDevices']],_0x580751[_0x11000f(0x360,0x4ba)+_0x11000f(0x5d6,_0x1d458c._0x3257b9)+_0x11000f(_0x1d458c._0x3ae415,0x2dc)]=[...this['snapshot'][_0x4d8438(0x449,0x391)+_0x4d8438(0x428,_0x1d458c._0x3d7e9f)+_0x4d8438(_0x1d458c._0x3cd208,_0x1d458c._0x1a3c73)]];function _0x4d8438(_0x2ae9ac,_0x33c76d){return _0x410a57(_0x2ae9ac,_0x33c76d-_0x5616b5._0x31f4dc);}function _0x11000f(_0x2ca4b0,_0x5d156f){return _0x410a57(_0x5d156f,_0x2ca4b0-_0x397e4f._0x290ee3);}return _0x580751;}async[_0x410a57(0x1b3,0x14c)+_0x2420cb(0x4ec,0x4b4)](){const _0x4cf5a7={_0x330194:0x4a5,_0x330bde:0x5a8,_0x1157e9:0x44a,_0x22150b:0x21f,_0x91595e:0x22e,_0x29e5ef:0x62b,_0x56e817:0x665,_0x1a2112:0x7a8,_0x2357de:0x3de,_0x895e32:0x4e1,_0x2561ba:0x1c2,_0x2f76e9:0x40f,_0x196d74:0x860,_0x38fa8d:0xadb,_0x157389:0x4d8,_0x5c5e59:0x5c2,_0x33fa8f:0x581,_0x161394:0x39,_0x3a7bc1:0x234,_0x4f0c8a:0x319,_0x258acd:0x29b,_0x338157:0x468,_0x1dea3d:0x405,_0x398e9a:0x21e,_0x274065:0x553,_0x391707:0x14b},_0x5e05bb={_0x55874c:0x76c,_0x349d92:0x195,_0x384cad:0x244,_0x209abe:0x717,_0x3b83f8:0x98c,_0x2c05de:0x848,_0x57b381:0x118,_0x4e3317:0x39f,_0x370dc6:0x45f,_0x4fd97e:0x1d2,_0x2cb55b:0x2e1,_0xa94f6d:0x79e,_0x3490cc:0x9ec,_0x3fc99b:0x60c,_0x2974e4:0x53f,_0x51eb10:0x54c,_0x18a5da:0x35c,_0x1bb513:0x7c,_0x220e6e:0x48a,_0x1c7b32:0x4a8,_0x1c6394:0x527,_0x28724d:0x474,_0x21297b:0x9c,_0x16a82e:0x29d,_0x4646c5:0x6b1,_0x3d469c:0x5d4},_0x163f8c={_0x4c0fa9:0x5ba,_0x1ae591:0x7bf},_0x3f6d02={_0x2c2bd2:0x1d7},_0x43e721={_0x537f03:0x3c1},_0x3a4ae5={_0x48d002:0x430},_0x2c4e44={_0x599497:0x11f},_0x1b3a9d={_0x1b1c01:0x80c,_0x3e6ef6:0x449,_0x6bb119:0x836,_0x411146:0xaf4,_0x42de61:0xad8,_0x4c8e0a:0x7be,_0x24afb3:0x7e1,_0x3b9a27:0x516,_0x3a23e9:0x72a,_0x468ec5:0x7fd,_0x2ff867:0x49c,_0x1477ee:0x506,_0x1135af:0x623,_0x188237:0x547,_0x2def71:0x7b1,_0x5f529d:0x68b,_0x327e26:0x43c,_0x5fc972:0x79a,_0x2005df:0x53d,_0x42dd2e:0x887,_0x3c3e17:0x7a9,_0x3315c1:0x6ba,_0x51904d:0x882},_0x20d1e3={_0x4d9e6c:0x1d1},_0x478f39={_0x1b8992:0x95},_0x148b7c={'UWDiX':function(_0x196322,_0x1f7f28){return _0x196322(_0x1f7f28);},'CcOLU':_0x2e32eb(0x811,0x819),'aNsen':_0x2e32eb(_0x4cf5a7._0x330194,0x35f)};if(this[_0x2e32eb(0x6b8,_0x4cf5a7._0x330bde)]||this[_0x3d059d(0x345,_0x4cf5a7._0x1157e9)+_0x2e32eb(0x738,0x725)]||this[_0x3d059d(_0x4cf5a7._0x22150b,_0x4cf5a7._0x91595e)+'pen']())return;this[_0x2e32eb(0x6d5,_0x4cf5a7._0x29e5ef)+_0x2e32eb(0x738,_0x4cf5a7._0x56e817)]=!![],this[_0x3d059d(0x608,0x41e)+'empt']+=0x1;function _0x2e32eb(_0x287780,_0x18b6df){return _0x2420cb(_0x287780- -0x133,_0x18b6df);}const _0x1e7e8e=this[_0x2e32eb(0x6a9,_0x4cf5a7._0x1a2112)+'empt'],_0x4add48=buildRelayWsUrl(this[_0x3d059d(_0x4cf5a7._0x2357de,_0x4cf5a7._0x895e32)][_0x3d059d(_0x4cf5a7._0x2561ba,0x25b)]);this['log']('relay\x20co'+_0x2e32eb(_0x4cf5a7._0x2f76e9,0x314)+_0x2e32eb(_0x4cf5a7._0x196d74,_0x4cf5a7._0x38fa8d)+_0x1e7e8e+_0x3d059d(0x5b3,_0x4cf5a7._0x157389)+redactRelayWsUrl(_0x4add48));const _0x37c863=this['createWe'+_0x2e32eb(_0x4cf5a7._0x5c5e59,_0x4cf5a7._0x33fa8f)](_0x4add48);this[_0x3d059d(-_0x4cf5a7._0x161394,_0x4cf5a7._0x3a7bc1)+'ket']=_0x37c863,_0x37c863[_0x2e32eb(0x48f,_0x4cf5a7._0x4f0c8a)](_0x3d059d(_0x4cf5a7._0x258acd,0x4c3),()=>{function _0x5c31e5(_0x4af98d,_0x92734){return _0x2e32eb(_0x4af98d- -_0x478f39._0x1b8992,_0x92734);}function _0x40d6aa(_0x231500,_0x59dc6f){return _0x2e32eb(_0x231500-_0x20d1e3._0x4d9e6c,_0x59dc6f);}const _0x50bd50=(_0x40d6aa(0x76a,0x8bd)+'0|2|6')[_0x5c31e5(_0x1b3a9d._0x1b1c01,0x69a)]('|');let _0x1ca164=0x0;while(!![]){switch(_0x50bd50[_0x1ca164++]){case'0':this[_0x40d6aa(0x677,0x89e)](_0x5c31e5(_0x1b3a9d._0x3e6ef6,0x6c1)+_0x40d6aa(0x813,_0x1b3a9d._0x6bb119)+_0x40d6aa(0xa51,_0x1b3a9d._0x411146)+_0x1e7e8e);continue;case'1':const _0x238241={};_0x238241[_0x40d6aa(0x8a6,_0x1b3a9d._0x42de61)+_0x5c31e5(_0x1b3a9d._0x4c8e0a,0x5e7)]=!![],_0x238241[_0x40d6aa(0xa5f,_0x1b3a9d._0x24afb3)+'r']=null,this[_0x40d6aa(0xa9e,0xa61)+'apshot'](_0x238241);continue;case'2':this[_0x5c31e5(0x633,_0x1b3a9d._0x3b9a27)+_0x40d6aa(0x72b,0x87d)]();continue;case'3':this[_0x40d6aa(_0x1b3a9d._0x3a23e9,_0x1b3a9d._0x468ec5)+'yActivit'+_0x40d6aa(0x94a,0xa97)]=Date[_0x5c31e5(_0x1b3a9d._0x2ff867,_0x1b3a9d._0x1477ee)]();continue;case'4':this['relayCon'+_0x40d6aa(0x909,0x688)]=![];continue;case'5':if(this[_0x5c31e5(_0x1b3a9d._0x1135af,_0x1b3a9d._0x188237)]||this[_0x40d6aa(0x690,0x87b)+_0x5c31e5(_0x1b3a9d._0x2def71,0x53b)]!==_0x37c863){_0x37c863['close']();return;}continue;case'6':shouldKeepGatewayConnected(this[_0x40d6aa(_0x1b3a9d._0x5f529d,_0x1b3a9d._0x327e26)]['clientCo'+'unt'],summarizePendingGatewayMessages(this[_0x5c31e5(0x436,0x2ba)+_0x5c31e5(0x5e6,_0x1b3a9d._0x5fc972)+_0x5c31e5(0x3bf,0x321)])['connectR'+_0x5c31e5(_0x1b3a9d._0x2005df,0x6ee)])&&this[_0x40d6aa(0x6f7,_0x1b3a9d._0x42dd2e)+_0x5c31e5(_0x1b3a9d._0x3c3e17,_0x1b3a9d._0x3315c1)+_0x5c31e5(0x7be,_0x1b3a9d._0x51904d)]();continue;}break;}}),_0x37c863['on'](_0x2e32eb(_0x4cf5a7._0x338157,_0x4cf5a7._0x1dea3d),(_0x3b0976,_0x547726)=>{function _0xacfa7e(_0x279585,_0xe9ecf7){return _0x2e32eb(_0x279585- -_0x2c4e44._0x599497,_0xe9ecf7);}void this[_0xacfa7e(_0x3a4ae5._0x48d002,0x388)+'layMessa'+'ge'](_0x3b0976,_0x547726);}),_0x37c863['on'](_0x2e32eb(0x730,0x8d1),()=>{function _0x2e1ec3(_0x5ace9f,_0x30c06b){return _0x3d059d(_0x5ace9f,_0x30c06b- -0x317);}function _0x39bfc0(_0x151993,_0x179bda){return _0x3d059d(_0x179bda,_0x151993-_0x43e721._0x537f03);}this[_0x39bfc0(0x68f,0x522)+_0x39bfc0(0x500,0x2e5)+_0x2e1ec3(0x2e7,_0x3f6d02._0x2c2bd2)]=Date['now']();}),_0x37c863[_0x2e32eb(0x48f,_0x4cf5a7._0x398e9a)](_0x148b7c[_0x2e32eb(0x604,_0x4cf5a7._0x274065)],_0x2cdcee=>{const _0x50199b={_0x18dd26:0x20e};function _0x337b36(_0x3c8bd2,_0x2a6352){return _0x2e32eb(_0x2a6352- -0x114,_0x3c8bd2);}function _0x488ea4(_0x3b46ba,_0x5827eb){return _0x2e32eb(_0x5827eb- -_0x50199b._0x18dd26,_0x3b46ba);}this[_0x488ea4(0x51a,0x298)](_0x337b36(_0x163f8c._0x4c0fa9,_0x163f8c._0x1ae591)+_0x337b36(0x2e6,0x401)+_0x148b7c['UWDiX'](String,_0x2cdcee));});function _0x3d059d(_0xf300e7,_0x28277e){return _0x2420cb(_0x28277e- -0x3be,_0xf300e7);}_0x37c863[_0x2e32eb(0x48f,0x42a)](_0x148b7c[_0x3d059d(0x3e0,_0x4cf5a7._0x391707)],(_0x32b656,_0x563b5a)=>{const _0x2a5e1a={_0x20a5d2:0x10};this[_0xbea07e(0x390,0x57f)+_0xbea07e(0x717,_0x5e05bb._0x55874c)]===_0x37c863&&(this[_0x93a7(_0x5e05bb._0x349d92,_0x5e05bb._0x384cad)+_0xbea07e(_0x5e05bb._0x209abe,_0x5e05bb._0x3b83f8)]=null);this[_0xbea07e(0x5a6,0x3f7)+'necting']=![];function _0x93a7(_0x320436,_0x2c4b83){return _0x3d059d(_0x320436,_0x2c4b83-_0x2a5e1a._0x20a5d2);}this[_0xbea07e(0x668,_0x5e05bb._0x2c05de)+_0x93a7(0x219,0x146)](),this[_0x93a7(_0x5e05bb._0x57b381,_0x5e05bb._0x4e3317)+_0x93a7(0x6ea,_0x5e05bb._0x370dc6)+'tedAtMs']=null,this[_0xbea07e(0x6a8,0x5cc)+_0x93a7(0x3fb,0x50d)+_0x93a7(_0x5e05bb._0x4fd97e,_0x5e05bb._0x2cb55b)]=null,this[_0xbea07e(_0x5e05bb._0xa94f6d,_0x5e05bb._0x3490cc)+_0x93a7(_0x5e05bb._0x3fc99b,_0x5e05bb._0x2974e4)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x32b656===0x3e8?null:_0x93a7(0xfc,0x30b)+'osed:\x20'+(_0x563b5a[_0x93a7(_0x5e05bb._0x51eb10,_0x5e05bb._0x18a5da)]()||_0x32b656)}),this[_0xbea07e(0x377,0x42d)](_0xbea07e(0x2ca,_0x5e05bb._0x1bb513)+'sconnect'+_0xbea07e(0x577,_0x5e05bb._0x220e6e)+_0x32b656+_0x93a7(0x4de,0x3f3)+(_0x563b5a[_0xbea07e(_0x5e05bb._0x1c7b32,0x464)]()||_0xbea07e(0x3f6,_0x5e05bb._0x1c6394)));function _0xbea07e(_0x330ae9,_0x15ad8b){return _0x3d059d(_0x15ad8b,_0x330ae9-0x15c);}this[_0xbea07e(0x6b2,_0x5e05bb._0x28724d)+_0x93a7(_0x5e05bb._0x21297b,0x2f8)](),this[_0x93a7(0x222,_0x5e05bb._0x16a82e)+'RelayRec'+_0xbea07e(_0x5e05bb._0x4646c5,_0x5e05bb._0x3d469c)]();});}async[_0x410a57(-0x1b,-0x4e)+_0x2420cb(0x96e,0xa58)+'ge'](_0x5a5670,_0xf1ef64){const _0xeff989={_0x23483a:0x1aa,_0x25278e:0x157,_0x32d6bf:0x5a8,_0x57307f:0x7a1,_0x317409:0x149,_0x32d7e5:0x47f,_0x66e65e:0x3e6,_0x273230:0x26e,_0x544dd1:0xaf,_0x5e4f27:0x373,_0xa1906c:0x30e,_0x19a8f1:0x2f6,_0xc685c:0x430,_0x2f4504:0x37e,_0x1b45b0:0x1e0,_0x1a99d5:0x46,_0x34dc64:0x41d,_0x35b882:0x2ad,_0x38c8f3:0x346,_0x3d89ec:0x30c,_0x42d91c:0x50a,_0x5d66b6:0x336},_0x5b2774={_0x80f798:0x304},_0x25c526={'bTpwA':_0x37d74a(_0xeff989._0x23483a,-0x49),'GWTpk':function(_0x5ab731,_0x12c88f){return _0x5ab731(_0x12c88f);}};this['lastRela'+_0x37d74a(0xbf,-_0xeff989._0x25278e)+_0x31173c(_0xeff989._0x32d6bf,_0xeff989._0x57307f)]=Date[_0x37d74a(0x226,_0xeff989._0x317409)]();if(_0xf1ef64){this[_0x37d74a(_0xeff989._0x32d7e5,_0xeff989._0x66e65e)+_0x31173c(0x5e8,0x7c9)+_0x37d74a(_0xeff989._0x273230,_0xeff989._0x544dd1)+_0x31173c(_0xeff989._0x5e4f27,0x2a2)]({'kind':_0x25c526[_0x37d74a(0x10c,_0xeff989._0xa1906c)],'data':_0x25c526[_0x37d74a(_0xeff989._0x19a8f1,0x18e)](normalizeBinary,_0x5a5670)});return;}const _0x26bdf6=normalizeText(_0x5a5670);function _0x31173c(_0xa76541,_0x5bbeec){return _0x2420cb(_0xa76541- -_0x5b2774._0x80f798,_0x5bbeec);}if(_0x26bdf6==null)return;const _0x16fdd7=_0x25c526[_0x31173c(_0xeff989._0xc685c,0x547)](parseControl,_0x26bdf6);if(_0x16fdd7){this[_0x31173c(_0xeff989._0x2f4504,0x3d9)+_0x31173c(_0xeff989._0x1b45b0,-_0xeff989._0x1a99d5)+'ol'](_0x16fdd7[_0x31173c(0x4c3,0x3ae)],_0x16fdd7['count']);return;}const _0x587690=parseConnectStartIdentity(_0x26bdf6);function _0x37d74a(_0x1aa025,_0x45f111){return _0x2420cb(_0x1aa025- -0x43e,_0x45f111);}_0x587690&&this[_0x31173c(_0xeff989._0x34dc64,_0xeff989._0x35b882)+_0x37d74a(_0xeff989._0x38c8f3,0x345)+_0x37d74a(0x303,_0xeff989._0x3d89ec)](_0x587690['id'],_0x587690[_0x37d74a(_0xeff989._0x42d91c,_0xeff989._0x5d66b6)]);const _0x236eec={};_0x236eec['kind']='text',_0x236eec[_0x37d74a(0x263,0x10a)]=_0x26bdf6,this[_0x37d74a(0x47f,0x5d4)+_0x31173c(0x5e8,0x66d)+'tewayMes'+'sage'](_0x236eec);}[_0x2420cb(0x682,0x84b)+_0x410a57(-0x2bf,-0x1ec)+'ol'](_0x431167,_0x24c458){const _0x55d1cf={_0x503562:0x4a9,_0x30f194:0x3f1,_0x19cb18:0x62a,_0x3be269:0x4fb,_0x506502:0x123,_0x12d434:0x1be,_0x16f03:0x40,_0x53db9e:0x276,_0x50b353:0x46b,_0x2b595e:0x123,_0x38fc52:0x303,_0x283b7d:0x4b5,_0x2c1ab3:0x233,_0x571d42:0xd3,_0x3f561e:0x131,_0x4db1ec:0x283,_0x4af46e:0x2e6,_0x251012:0x343,_0x3fd5f6:0x238,_0x126d73:0x34d,_0x3e573c:0x40f,_0x18ac89:0x234,_0x28bb54:0x535,_0x2e5fa3:0x422,_0x28a5ae:0x43f,_0x2f3e8a:0x57b,_0x49471d:0x162,_0x2eb635:0x477,_0x5ecac7:0x23a,_0xe7ddd3:0x1ef,_0x8a3f6:0x134,_0x3baaa3:0x39a,_0x5c9385:0x29f,_0x5e8ee3:0x265,_0x69c9b8:0x95,_0x206298:0xc3,_0x282e11:0x57f,_0x3a9cb7:0x4ec,_0xb86889:0x18a,_0x1a7381:0x312,_0x5e86c2:0x205,_0x33c8d9:0x42d,_0x573edd:0x673,_0xea0e53:0x29d,_0x360a95:0x449,_0x4a0045:0x4ed,_0x44df49:0x29f,_0x229cf8:0xd1,_0x2a4b86:0xc9,_0xb8c0f1:0x207,_0x28124c:0x2e1,_0x224a4d:0x47d,_0x51cb8b:0x6c2,_0x1c7ad3:0x141,_0x1b08da:0x32f,_0x1fdfdb:0x53,_0x2d1f48:0xbd,_0x174d1c:0x10f,_0x70b1b7:0xd2,_0xc42a20:0xa0,_0x497f9c:0xe8,_0x4596a3:0x584,_0x2ce42f:0xe7,_0x308d6c:0x11c,_0x5af1ad:0x2b8,_0x11f870:0xfa,_0x2acea4:0x33b,_0x1f8d8b:0x253,_0x349356:0x3e6,_0x540b06:0x505,_0x2a6a80:0x351,_0x59ef79:0x21b,_0x5a4da4:0x4,_0x2e7a1c:0x479,_0x4d3419:0x2ea,_0x1761b3:0x3c5,_0x317a15:0x29a,_0x244213:0x43f,_0x33413c:0x38a,_0x398f21:0x109,_0x68163d:0x14e,_0x4fe310:0x20f,_0x244d23:0x83,_0x48aea5:0x134,_0x492bbe:0x85,_0x353ae8:0x2e3,_0x257ef9:0x406,_0x3983b5:0x428,_0x38454c:0xe8,_0x311fc1:0x11f,_0x4cce77:0x4b6,_0x579927:0x6ab,_0x573177:0x50f,_0x375ae5:0x5c8,_0x5273d4:0x1,_0x3ad73f:0x52,_0x59698a:0x95,_0x1e945b:0x168,_0x48647d:0x594,_0x336410:0x29f,_0x222137:0x1db,_0x5c9f92:0x19f,_0x6c0f72:0x64,_0x5c4c9b:0x44a,_0x477958:0x528,_0x98105b:0x4f6,_0x239590:0x7c5,_0x167645:0x535,_0x308506:0xdc,_0xae4670:0x220,_0x109cb9:0xd0,_0x550f68:0x3c4,_0xece83e:0x1c9,_0x480fd3:0x41,_0xbfa60:0x2fe,_0x3026ad:0x108,_0x1fcdda:0x344,_0x5f2268:0x1e4,_0x349b34:0x792,_0x2d826c:0x535,_0x466a8f:0x633,_0x21bb75:0x422,_0x52e1b7:0x2ef,_0x3c82e8:0x21f,_0x516591:0x162,_0x37d8ab:0x45f,_0x538a10:0x1c,_0x403425:0x196,_0x3becd2:0x10e,_0x2cb8aa:0x631,_0x1f2535:0x49d,_0xf41f98:0x1b1,_0x59a8ab:0x1dc,_0x45f676:0x176,_0x32a0dd:0x6f6,_0xb5d38:0x4ec,_0x3c5658:0x150,_0x4d311a:0x3a7,_0x569f76:0x6d,_0x113ca8:0x4bb},_0x1130c2={_0x228daa:0x4cb},_0x28bc0c={'BjbGu':function(_0x58014a,_0x4b53e0){return _0x58014a===_0x4b53e0;},'VnyHV':function(_0x19dedc,_0xdd2d29){return _0x19dedc>_0xdd2d29;},'Cseoi':function(_0x564a72,_0x114b8d,_0x13963f,_0x15b4f6,_0x2be012){return _0x564a72(_0x114b8d,_0x13963f,_0x15b4f6,_0x2be012);}};function _0x22cb53(_0x3bae72,_0x4b41b3){return _0x2420cb(_0x3bae72- -0x4ca,_0x4b41b3);}if(_0x28bc0c[_0x57d571(0x1b6,0x3d1)](_0x431167,_0x57d571(_0x55d1cf._0x503562,0x4fb)+_0x22cb53(_0x55d1cf._0x30f194,_0x55d1cf._0x19cb18))||_0x431167===_0x57d571(0x68b,_0x55d1cf._0x3be269)+_0x22cb53(0xf4,0x28b)){const _0x37c395=this[_0x22cb53(_0x55d1cf._0x506502,_0x55d1cf._0x12d434)][_0x57d571(_0x55d1cf._0x16f03,0x233)+_0x22cb53(_0x55d1cf._0x53db9e,0x1e1)],_0xa07e61=_0x24c458??Math[_0x57d571(0x6ac,_0x55d1cf._0x50b353)](0x1,this[_0x22cb53(_0x55d1cf._0x2b595e,_0x55d1cf._0x38fc52)][_0x57d571(_0x55d1cf._0x283b7d,_0x55d1cf._0x2c1ab3)+'unt']);_0x28bc0c[_0x57d571(_0x55d1cf._0x571d42,_0x55d1cf._0x3f561e)](_0xa07e61,0x0)&&this[_0x22cb53(_0x55d1cf._0x4db1ec,0xcc)+_0x57d571(_0x55d1cf._0x4af46e,0x342)+'tedAtMs']==null&&(this['clientDe'+_0x22cb53(_0x55d1cf._0x251012,_0x55d1cf._0x3fd5f6)+_0x22cb53(_0x55d1cf._0x126d73,_0x55d1cf._0x3e573c)]=Date['now']());const _0x34e3d5={};_0x34e3d5[_0x22cb53(_0x55d1cf._0x18ac89,0xa7)+_0x22cb53(0x276,0x39b)]=_0xa07e61,this[_0x57d571(0x2b9,_0x55d1cf._0x28bb54)+_0x57d571(0x401,_0x55d1cf._0x2e5fa3)](_0x34e3d5);if(_0xa07e61===0x0){this[_0x22cb53(0x3c5,0x334)+_0x22cb53(_0x55d1cf._0x28a5ae,_0x55d1cf._0x2f3e8a)+_0x57d571(0x323,0x108)]=![],this['markDevi'+'cesRecen'+'t'](),this[_0x57d571(-0x3e,_0x55d1cf._0x49471d)+_0x22cb53(_0x55d1cf._0x2eb635,_0x55d1cf._0x5ecac7)+_0x57d571(_0x55d1cf._0xe7ddd3,0x265)+'e']();const _0x22c7de=summarizePendingGatewayMessages(this[_0x22cb53(_0x55d1cf._0x8a3f6,0x26e)+_0x22cb53(0x2e4,_0x55d1cf._0x3baaa3)+'ssages'])[_0x22cb53(0x352,_0x55d1cf._0x5c9385)+'equests'];shouldScheduleGatewayIdleClose(_0xa07e61,_0x22c7de,this['isGatewa'+_0x22cb53(_0x55d1cf._0x5e8ee3,_0x55d1cf._0x69c9b8)]())?(this[_0x22cb53(0x10f,-_0x55d1cf._0x206298)](_0x57d571(_0x55d1cf._0x282e11,_0x55d1cf._0x3a9cb7)+'emand\x20dr'+_0x57d571(-_0x55d1cf._0xb86889,0xc9)+_0x57d571(0x4db,_0x55d1cf._0x1a7381)+_0x22cb53(_0x55d1cf._0x5e86c2,0x2e4)+_0x22cb53(_0x55d1cf._0x33c8d9,_0x55d1cf._0x573edd)+_0x57d571(0x419,0x4f5)),this[_0x57d571(_0x55d1cf._0xea0e53,_0x55d1cf._0x360a95)+'eway']()):this['log'](_0x22cb53(_0x55d1cf._0x4a0045,_0x55d1cf._0x44df49)+_0x57d571(0x27d,_0x55d1cf._0x229cf8)+_0x57d571(0x202,_0x55d1cf._0x2a4b86)+_0x57d571(_0x55d1cf._0xb8c0f1,_0x55d1cf._0x28124c)+_0x57d571(0x39e,0x167)+'emains\x20n'+_0x22cb53(_0x55d1cf._0x224a4d,_0x55d1cf._0x51cb8b));}else{if(_0x28bc0c[_0x22cb53(0xfc,-_0x55d1cf._0x1c7ad3)](shouldRecycleGatewayForFreshClient,_0x37c395,_0xa07e61,this[_0x22cb53(0x19f,0x424)+'yOpen'](),![])){const _0x5ae4ca=summarizePendingGatewayMessages(this[_0x57d571(_0x55d1cf._0x1b08da,0x133)+_0x57d571(_0x55d1cf._0x1fdfdb,0x2e3)+_0x22cb53(_0x55d1cf._0x2d1f48,0x1a6)]);this[_0x22cb53(_0x55d1cf._0x174d1c,_0x55d1cf._0x70b1b7)](_0x57d571(_0x55d1cf._0xc42a20,_0x55d1cf._0x497f9c)+_0x22cb53(0x425,_0x55d1cf._0x4596a3)+_0x22cb53(_0x55d1cf._0x2ce42f,-0xaf)+_0x22cb53(_0x55d1cf._0x308d6c,0x3b)+_0x22cb53(_0x55d1cf._0x5af1ad,_0x55d1cf._0x11f870)+'nt\x20deman'+_0x22cb53(0xcc,0x123)+'='+_0x5ae4ca[_0x22cb53(_0x55d1cf._0x2acea4,_0x55d1cf._0x1f8d8b)]+(_0x22cb53(_0x55d1cf._0x349356,0x20b)+'=')+_0x5ae4ca[_0x57d571(_0x55d1cf._0x540b06,_0x55d1cf._0x2a6a80)+_0x57d571(0x33b,_0x55d1cf._0x5ecac7)]+'\x20text='+_0x5ae4ca[_0x22cb53(_0x55d1cf._0x59ef79,-_0x55d1cf._0x5a4da4)+'t']+_0x57d571(0xbe,0x314)+_0x5ae4ca[_0x57d571(0x23,0x11d)]+(_0x22cb53(_0x55d1cf._0x2e7a1c,_0x55d1cf._0x4d3419)+_0x57d571(0x744,0x526)+'d=')+this[_0x22cb53(_0x55d1cf._0x1761b3,_0x55d1cf._0x317a15)+_0x22cb53(_0x55d1cf._0x244213,_0x55d1cf._0x33413c)+_0x22cb53(_0x55d1cf._0x398f21,0x37c)]);const _0x2cbacf=prunePendingGatewayMessagesForFreshDemand(this[_0x22cb53(_0x55d1cf._0x8a3f6,-_0x55d1cf._0x68163d)+_0x57d571(_0x55d1cf._0x4fe310,0x2e3)+'ssages']);_0x28bc0c[_0x22cb53(0x132,0x101)](_0x2cbacf[_0x57d571(0x229,_0x55d1cf._0x244d23)],0x0)&&(this[_0x22cb53(_0x55d1cf._0x48aea5,-_0x55d1cf._0x492bbe)+_0x57d571(0x57b,_0x55d1cf._0x353ae8)+'ssages']=_0x2cbacf[_0x22cb53(_0x55d1cf._0x257ef9,_0x55d1cf._0x3983b5)],this[_0x22cb53(_0x55d1cf._0x174d1c,-0x17)](_0x22cb53(_0x55d1cf._0x38454c,0x370)+_0x22cb53(_0x55d1cf._0x311fc1,-0x22)+_0x22cb53(0x2b9,_0x55d1cf._0x4cce77)+_0x57d571(_0x55d1cf._0x579927,_0x55d1cf._0x573177)+_0x22cb53(0x3d3,_0x55d1cf._0x375ae5)+_0x57d571(-_0x55d1cf._0x5273d4,0x7d)+_0x22cb53(_0x55d1cf._0x3ad73f,-0x215)+_0x2cbacf[_0x22cb53(0x84,-0x168)]+_0x57d571(-_0x55d1cf._0x59698a,_0x55d1cf._0x1e945b)+_0x2cbacf[_0x22cb53(_0x55d1cf._0x257ef9,_0x55d1cf._0x48647d)]['length'])),this[_0x57d571(0x41d,0x449)+_0x57d571(_0x55d1cf._0x336410,_0x55d1cf._0x222137)](!![]);}if(this[_0x22cb53(_0x55d1cf._0x5c9f92,0xe)+_0x57d571(_0x55d1cf._0x6c0f72,0x264)]()&&!this[_0x57d571(0x66b,0x43f)+_0x57d571(_0x55d1cf._0x5c4c9b,0x253)+'daryPend'+'ing']){const _0x49260f={};_0x49260f['gatewayC'+_0x22cb53(0x3f1,_0x55d1cf._0x477958)]=!![],_0x49260f[_0x57d571(0x351,_0x55d1cf._0x98105b)+'r']=null,this[_0x57d571(_0x55d1cf._0x239590,_0x55d1cf._0x167645)+'apshot'](_0x49260f),this[_0x57d571(-_0x55d1cf._0x308506,0x10e)](_0x22cb53(0xe9,-0x2f)+_0x57d571(0x2f8,0x504)+_0x57d571(0x46a,_0x55d1cf._0xae4670)+'d\x20sinceG'+_0x57d571(-0x139,0xb6)+_0x57d571(_0x55d1cf._0x109cb9,0x140)+this[_0x57d571(0x38e,0x22d)+'ince'](this['gatewayC'+_0x22cb53(0x3f1,0x274)+_0x22cb53(0x1c5,-0x8e)])+('\x20handsha'+'keStarte'+'d=')+this[_0x57d571(0x2c3,_0x55d1cf._0x550f68)+_0x22cb53(0x43f,_0x55d1cf._0xece83e)+_0x57d571(_0x55d1cf._0x480fd3,0x108)]);}}this[_0x57d571(_0x55d1cf._0xbfa60,0x18e)+'tewayCon'+'nected']();return;}function _0x57d571(_0x2f2f3c,_0x3788e1){return _0x2420cb(_0x3788e1- -_0x1130c2._0x228daa,_0x2f2f3c);}if(_0x431167===_0x22cb53(_0x55d1cf._0x3026ad,0x3a0)+'isconnec'+'ted'){this[_0x57d571(0x1c9,0x3c4)+_0x22cb53(0x43f,_0x55d1cf._0x1fcdda)+'Started']=![];const _0x4e9a0d={};_0x4e9a0d[_0x22cb53(0x234,_0x55d1cf._0x5f2268)+'unt']=0x0,this[_0x57d571(_0x55d1cf._0x349b34,_0x55d1cf._0x2d826c)+_0x57d571(_0x55d1cf._0x466a8f,_0x55d1cf._0x21bb75)](_0x4e9a0d),this[_0x57d571(_0x55d1cf._0x52e1b7,0x327)+_0x22cb53(0x2d,_0x55d1cf._0x3c82e8)+'t'](),this[_0x57d571(-0x85,_0x55d1cf._0x516591)+_0x22cb53(_0x55d1cf._0x2eb635,0x220)+_0x22cb53(0x266,_0x55d1cf._0x37d8ab)+'e']();const _0x2febaa=summarizePendingGatewayMessages(this[_0x22cb53(0x134,0x2a2)+_0x57d571(0x332,0x2e3)+_0x22cb53(0xbd,_0x55d1cf._0x538a10)])[_0x57d571(0x4cd,_0x55d1cf._0x2a6a80)+_0x22cb53(0x23b,_0x55d1cf._0x37d8ab)];shouldScheduleGatewayIdleClose(0x0,_0x2febaa,this['isGatewa'+_0x22cb53(_0x55d1cf._0x5e8ee3,0x480)]())?(this[_0x57d571(_0x55d1cf._0x403425,_0x55d1cf._0x3becd2)]('client\x20d'+_0x57d571(-0x6d,0x150)+'ted;\x20clo'+_0x57d571(0x2d4,0xd5)+_0x57d571(_0x55d1cf._0x2cb8aa,_0x55d1cf._0x1f2535)+'y'),this[_0x57d571(_0x55d1cf._0xf41f98,0x449)+_0x22cb53(_0x55d1cf._0x59a8ab,0x34f)]()):(this[_0x22cb53(_0x55d1cf._0x174d1c,-_0x55d1cf._0x45f676)](_0x57d571(_0x55d1cf._0x32a0dd,_0x55d1cf._0xb5d38)+_0x57d571(-0x53,_0x55d1cf._0x3c5658)+_0x57d571(0x272,_0x55d1cf._0x4d311a)+'eway\x20rem'+'ains\x20nee'+_0x57d571(0x2a8,0x15b)),this[_0x57d571(_0x55d1cf._0x569f76,0x18e)+'tewayCon'+_0x57d571(0x73a,_0x55d1cf._0x113ca8)]());return;}}[_0x410a57(0x399,0x1ed)+_0x410a57(0x331,0x21c)+_0x410a57(0x92,-0x24)+_0x2420cb(0x677,0x3ed)](_0x2cb040){const _0x2565ad={_0x18efc5:0xb3,_0x48b9ba:0x184,_0x4bda0b:0x2f8,_0x30b0d5:0xe3,_0xaad9b1:0x78,_0x4b3c22:0xf1,_0x2daf73:0xd1,_0x5ae7f5:0x114,_0x41edc8:0x226,_0x4364fb:0x3c8,_0x29d037:0x133,_0x227eb9:0x267,_0x189c29:0x274,_0x28fa6b:0x664,_0x2b4d59:0x160,_0x282816:0x446,_0x289a96:0xb7,_0x11b0e6:0x336,_0x42d3f8:0x3c6,_0x308f66:0x190,_0x400108:0x1cc,_0x52a287:0x16b,_0x47756e:0x3f8,_0x5e3f34:0x1da,_0x3f040a:0x3a7,_0x59ee62:0x138,_0xcadd3:0x2d6,_0x8903d7:0x2ca,_0x2ca745:0x3c,_0x3af081:0xc6,_0x68b56f:0x318,_0x3cc4d2:0xd6,_0x562e71:0x3ed,_0x35a99d:0x7c,_0x94b6b6:0x1a4,_0x285f8c:0x16b,_0x7c4052:0x17d,_0x548ad0:0x1dd,_0x205b2c:0x83,_0xc003fe:0x2b9,_0x1f36ae:0x697,_0x3830f7:0x3dd,_0x1306b7:0x4e1,_0x1a2f4c:0x447,_0x242f76:0x359,_0x34e39e:0x40,_0x5f2455:0x1c6,_0xa37d92:0x1dc,_0x3b5a78:0x4a7,_0x3b6f51:0x6f},_0x2fdafe={_0x20819f:0xfa};function _0x26dad0(_0x2bbe10,_0x43d195){return _0x410a57(_0x2bbe10,_0x43d195-_0x2fdafe._0x20819f);}const _0x41b469={'ciALZ':function(_0x25d65e,_0x46f766){return _0x25d65e===_0x46f766;},'RpHks':_0x26dad0(-_0x2565ad._0x18efc5,0xcb),'UxwrK':function(_0x5c5940,_0x190419){return _0x5c5940(_0x190419);},'CSVJd':_0x3091b6(_0x2565ad._0x48b9ba,_0x2565ad._0x4bda0b)+_0x26dad0(0x66,-_0x2565ad._0x30b0d5)+_0x26dad0(-_0x2565ad._0xaad9b1,-_0x2565ad._0x4b3c22)+_0x3091b6(_0x2565ad._0x2daf73,-_0x2565ad._0x5ae7f5)+'ct\x20hands'+_0x3091b6(0x5ac,0x57d)+_0x3091b6(0x5aa,0x595)+'il\x20gatew'+_0x3091b6(_0x2565ad._0x41edc8,_0x2565ad._0x4364fb)+_0x26dad0(0x14f,_0x2565ad._0x29d037),'NxJcw':function(_0x2dddc0,_0xecc56f){return _0x2dddc0!==_0xecc56f;}};function _0x3091b6(_0x498b4d,_0x4478f7){return _0x410a57(_0x4478f7,_0x498b4d-0x2a1);}const _0xd5d6aa=_0x41b469[_0x26dad0(_0x2565ad._0x227eb9,_0x2565ad._0x189c29)](_0x2cb040[_0x3091b6(0x5c3,_0x2565ad._0x28fa6b)],_0x41b469[_0x3091b6(0x2a3,_0x2565ad._0x2b4d59)])&&_0x41b469[_0x26dad0(_0x2565ad._0x282816,0x3bf)](isConnectHandshakeRequest,_0x2cb040[_0x26dad0(_0x2565ad._0x289a96,0xcb)]);if(this[_0x26dad0(0x221,0x334)+_0x26dad0(0x45,0x148)+_0x3091b6(_0x2565ad._0x11b0e6,_0x2565ad._0x42d3f8)+_0x26dad0(_0x2565ad._0x308f66,_0x2565ad._0x400108)]){this[_0x3091b6(_0x2565ad._0x52a287,_0x2565ad._0x47756e)+_0x3091b6(0x4bf,0x23a)+'ayMessag'+'e'](_0x2cb040);_0xd5d6aa&&this[_0x3091b6(0x1aa,_0x2565ad._0x5e3f34)](_0x41b469['CSVJd']);return;}const _0x2b2e8a=this['gatewayS'+'ocket'];if(!_0x2b2e8a||_0x41b469[_0x3091b6(0x3cf,_0x2565ad._0x3f040a)](_0x2b2e8a[_0x3091b6(_0x2565ad._0x59ee62,-0x148)+'te'],_0x4221f7[_0x26dad0(_0x2565ad._0xcadd3,0x3dc)])){this[_0x3091b6(0x22a,_0x2565ad._0x8903d7)+'tewayCon'+'nected'](),this[_0x26dad0(0x26,-_0x2565ad._0x2ca745)+_0x26dad0(_0x2565ad._0x3af081,_0x2565ad._0x68b56f)+'ayMessag'+'e'](_0x2cb040);_0xd5d6aa&&this['log']('gateway\x20'+'unavaila'+_0x3091b6(0xb6,0x253)+_0x26dad0(0x13a,-_0x2565ad._0x3cc4d2)+_0x26dad0(0x59a,0x387)+'hake;\x20qu'+_0x26dad0(_0x2565ad._0x562e71,0x403)+_0x26dad0(-0x22a,-0x7e)+_0x3091b6(0x226,0x484)+_0x26dad0(0xde,0x133));return;}if(!this[_0x26dad0(_0x2565ad._0x35a99d,0x2b9)+'andshake'+_0x3091b6(_0x2565ad._0x94b6b6,0x268)]){if(!_0xd5d6aa){this[_0x3091b6(_0x2565ad._0x285f8c,_0x2565ad._0x7c4052)+_0x26dad0(_0x2565ad._0x548ad0,0x318)+_0x3091b6(0x124,-_0x2565ad._0x205b2c)+'e'](_0x2cb040);return;}this[_0x26dad0(0x315,_0x2565ad._0xc003fe)+_0x3091b6(0x4da,_0x2565ad._0x1f36ae)+_0x3091b6(0x1a4,_0x2565ad._0x3830f7)]=!![];const _0x103ca3=parseConnectHandshakeMeta(_0x2cb040[_0x3091b6(0x272,_0x2565ad._0x1306b7)]);this['log'](_0x26dad0(0x173,-0x23)+'handshak'+_0x26dad0(_0x2565ad._0x1a2f4c,_0x2565ad._0x242f76)+_0x26dad0(0x233,-_0x2565ad._0x34e39e)+'='+this['pendingG'+_0x3091b6(0x37f,0x60f)+_0x3091b6(0x158,0x21d)][_0x3091b6(_0x2565ad._0x5f2455,_0x2565ad._0xa37d92)]+formatConnectHandshakeMetaForLog(_0x103ca3));}this[_0x3091b6(_0x2565ad._0x3b5a78,0x40f)+_0x26dad0(0x288,_0x2565ad._0x3b6f51)](_0x2cb040);}[_0x2420cb(0x659,0x8c9)+_0x2420cb(0x971,0x874)+'nected'](){const _0x10e142={_0x505b34:0x716,_0x33c0a4:0x57d,_0xe80d09:0x3b5,_0x177214:0x7cd,_0x489162:0x992,_0x9b9a42:0x4bd,_0x1a5904:0x9e5,_0x243e51:0xb8f,_0x35ad70:0x860,_0x2a5c68:0x64a,_0x3bb450:0x5e2,_0x5363d2:0x9e5,_0x388be2:0xb30,_0x170d69:0x784,_0x41ff45:0x6b4,_0x18c29e:0x68e,_0x5b40ec:0x8be,_0x47fe1b:0x4da,_0x26f721:0x3f9,_0x535dd8:0xb44,_0x5ac21c:0x5d3,_0x1b44c2:0x39d,_0x215a2e:0xa87,_0x4d0b8e:0x601,_0x5ed56f:0x70c,_0x14db7f:0x806,_0x1ea82b:0x7ca,_0x6bffa6:0x720,_0x42bb0d:0x926,_0x1bf574:0xa0f,_0x196b15:0x7b3,_0x2bed3f:0x6b3},_0x4bf5d6={_0x466ea8:0x507,_0x266258:0x3f0,_0xae8f04:0x3ab,_0x430fa2:0x48d,_0x424753:0x3e0,_0x3beee8:0x3aa,_0x1cc080:0x42b,_0x5140b0:0x295,_0x2acab0:0x690,_0x3576be:0x70,_0x20c572:0x597,_0x5d0080:0x57a,_0x3f85e3:0x5ae,_0x4c2114:0x38f,_0x5c5683:0x206,_0x582c6e:0x42f,_0xa65fae:0x5a6,_0x2be512:0x7ab,_0x138a31:0x165,_0x32f24a:0x31c,_0x46a647:0x576,_0x4ba6cb:0x4d5,_0x3c9fbd:0x145,_0x2121a6:0x599,_0x203ceb:0x5d8,_0x548ec8:0x4fb,_0xe6b7f5:0x6ac,_0x38640e:0x444,_0x38f588:0x60b,_0x11506b:0x21c,_0x307086:0x397,_0x1cce6c:0x649,_0x2cc046:0x2ef,_0x3d86c9:0x291,_0xf7b776:0x385,_0x4bc27f:0x547,_0x2d016b:0x223,_0xdbd39b:0x299,_0xe2f6e7:0xab,_0x3f4a78:0x427,_0x3c87e0:0x612,_0xd1fffc:0x4b4,_0x2844e3:0x128,_0x9892e9:0x2d8},_0x1e1b13={_0x329c35:0x355},_0x56b58c={_0x1b4123:0x14,_0x3f522d:0x514},_0x51f2b7={_0x149774:0x6c8},_0x236f5b={_0x458e04:0x45e,_0x269fd2:0x6ad,_0x4b01c3:0x204,_0x1ef3db:0x1c2},_0x30b4bd={_0x18346c:0xda},_0x21f36e={_0x51b78d:0x6af,_0x3bf1d2:0x7ae,_0x2bfce1:0x8c7,_0xb44d43:0x78f,_0x3e5f91:0xc6,_0x82ced6:0xa6,_0x281294:0x31d,_0x390486:0x497,_0x5689c8:0x349,_0x1c3955:0x666,_0x402f16:0x535,_0x5e2600:0x78,_0x579732:0x885,_0x2944bf:0x9a5,_0x2d7d58:0x50e,_0x5159eb:0x7b1,_0x119d60:0x647,_0x2dca90:0x15,_0x50eb9a:0x477,_0x217bb8:0xff,_0x24ec84:0x25a,_0x5f0282:0x82,_0x556182:0x611,_0x4fee33:0x3f8,_0x53d9a7:0xc4,_0x2444a6:0x4d,_0xd348cb:0x5d},_0x1c9a3d={};_0x1c9a3d['tmNAC']=_0x3491cc(0x733,0x61e),_0x1c9a3d[_0x2cf41a(0x93e,_0x10e142._0x505b34)]=_0x2cf41a(_0x10e142._0x33c0a4,_0x10e142._0xe80d09);const _0x440043=_0x1c9a3d;if(this[_0x2cf41a(_0x10e142._0x177214,_0x10e142._0x489162)]||!this['isRelayO'+_0x2cf41a(_0x10e142._0x9b9a42,0x306)]()||this[_0x3491cc(_0x10e142._0x1a5904,_0x10e142._0x243e51)+_0x2cf41a(_0x10e142._0x35ad70,_0x10e142._0x2a5c68)+'g']||this[_0x3491cc(0x744,_0x10e142._0x3bb450)+_0x2cf41a(0x711,0x776)]()||this[_0x3491cc(_0x10e142._0x5363d2,_0x10e142._0x388be2)+'loseBoun'+'daryPend'+_0x2cf41a(_0x10e142._0x170d69,0x5c7)])return;this[_0x3491cc(_0x10e142._0x1a5904,0xb63)+'onnectin'+'g']=!![],this[_0x3491cc(_0x10e142._0x41ff45,0x63d)](_0x3491cc(_0x10e142._0x18c29e,_0x10e142._0x5b40ec)+'connect\x20'+_0x2cf41a(_0x10e142._0x47fe1b,_0x10e142._0x26f721)+'l='+this[_0x3491cc(0x97a,0x908)][_0x3491cc(0xad1,_0x10e142._0x535dd8)+'rl']);const _0x40d5ec=this[_0x2cf41a(_0x10e142._0x5ac21c,_0x10e142._0x1b44c2)+_0x2cf41a(0x6d7,0x907)](this[_0x2cf41a(0x881,0x82b)][_0x3491cc(0xad1,0xd65)+'rl']);this[_0x3491cc(0xade,_0x10e142._0x215a2e)+_0x3491cc(_0x10e142._0x4d0b8e,_0x10e142._0x5ed56f)]=_0x40d5ec,_0x40d5ec[_0x3491cc(0x69d,_0x10e142._0x14db7f)](_0x2cf41a(0x863,0x649),()=>{if(this[_0xdc3e94(_0x21f36e._0x51b78d,_0x21f36e._0x3bf1d2)]||this[_0xdc3e94(_0x21f36e._0x2bfce1,_0x21f36e._0xb44d43)+_0x33971c(-_0x21f36e._0x3e5f91,_0x21f36e._0x82ced6)]!==_0x40d5ec){_0x40d5ec['close']();return;}function _0x33971c(_0x36c272,_0xad8ebd){return _0x2cf41a(_0x36c272- -0x5ce,_0xad8ebd);}this['gatewayC'+'onnectin'+'g']=![],this['gatewayH'+_0x33971c(_0x21f36e._0x281294,0x3a1)+_0xdc3e94(_0x21f36e._0x390486,0x689)]=![],this['gatewayC'+'loseBoun'+_0x33971c(0x179,_0x21f36e._0x5689c8)+_0xdc3e94(_0x21f36e._0x1c3955,0x72d)]=![],this['gatewayC'+_0x33971c(0x2cf,_0x21f36e._0x402f16)+_0xdc3e94(0x553,0x433)]=Date[_0x33971c(_0x21f36e._0x5e2600,-0x13)]();const _0x15b55c={};_0x15b55c['gatewayC'+'onnected']=!![],_0x15b55c[_0xdc3e94(_0x21f36e._0x579732,_0x21f36e._0x2944bf)+'r']=null,this[_0x33971c(0x414,_0x21f36e._0x2d7d58)+_0xdc3e94(_0x21f36e._0x5159eb,_0x21f36e._0x119d60)](_0x15b55c);function _0xdc3e94(_0x5122f1,_0x8ed542){return _0x2cf41a(_0x5122f1- -0x11e,_0x8ed542);}this[_0x33971c(-0x13,-_0x21f36e._0x2dca90)](_0xdc3e94(_0x21f36e._0x50eb9a,0x549)+_0x33971c(_0x21f36e._0x217bb8,_0x21f36e._0x24ec84)+'d\x20sinceC'+'lientDem'+_0x33971c(0x124,0x2e6)+this['elapsedS'+_0x33971c(0x14a,-_0x21f36e._0x5f0282)](this[_0xdc3e94(_0x21f36e._0x556182,0x3b2)+_0xdc3e94(0x6d1,0x589)+_0x33971c(0x22b,_0x21f36e._0x4fee33)])),this[_0x33971c(_0x21f36e._0x53d9a7,-0x90)+_0x33971c(_0x21f36e._0x2444a6,0x0)+_0x33971c(0x38,-_0x21f36e._0xd348cb)+'ges']();}),_0x40d5ec['on'](_0x440043[_0x2cf41a(0x93e,_0x10e142._0x1ea82b)],(_0x253e9a,_0x2c8135)=>{function _0x4b5505(_0x4d8b48,_0x5a4462){return _0x3491cc(_0x4d8b48- -0x54e,_0x5a4462);}function _0x444011(_0x273909,_0x182512){return _0x3491cc(_0x182512- -_0x30b4bd._0x18346c,_0x273909);}this[_0x444011(0x87d,0x9af)+_0x444011(_0x236f5b._0x458e04,_0x236f5b._0x269fd2)+_0x4b5505(_0x236f5b._0x4b01c3,_0x236f5b._0x1ef3db)](_0x253e9a,_0x2c8135);});function _0x2cf41a(_0x3b2254,_0x1b818b){return _0x410a57(_0x1b818b,_0x3b2254-0x6b2);}_0x40d5ec[_0x2cf41a(0x5a4,_0x10e142._0x6bffa6)](_0x2cf41a(_0x10e142._0x42bb0d,_0x10e142._0x1bf574),_0x598040=>{function _0x417ab7(_0x7b5bda,_0x177844){return _0x3491cc(_0x7b5bda- -_0x51f2b7._0x149774,_0x177844);}function _0x4d6d5d(_0x2e441b,_0x2b2abf){return _0x3491cc(_0x2b2abf- -0x27b,_0x2e441b);}this[_0x417ab7(-_0x56b58c._0x1b4123,-0x1c2)]('gateway\x20'+_0x417ab7(0x382,_0x56b58c._0x3f522d)+String(_0x598040));});function _0x3491cc(_0x54a22c,_0x38ec2a){return _0x410a57(_0x38ec2a,_0x54a22c-0x7ab);}_0x40d5ec[_0x2cf41a(0x5a4,_0x10e142._0x196b15)](_0x3491cc(_0x10e142._0x2bed3f,0x847),(_0x1d719c,_0x323ebb)=>{const _0x3300e9={_0x2f9a9c:0x2f7},_0x5352da=summarizePendingGatewayMessages(this[_0x21c007(0x2e9,0x168)+'atewayMe'+'ssages'])[_0x21c007(_0x4bf5d6._0x466ea8,0x614)+_0x21c007(_0x4bf5d6._0x266258,0x2f7)];function _0x5cbef5(_0x40e5b7,_0x5c227f){return _0x2cf41a(_0x5c227f- -_0x1e1b13._0x329c35,_0x40e5b7);}function _0x21c007(_0x35e8fc,_0x57e2df){return _0x2cf41a(_0x35e8fc- -_0x3300e9._0x2f9a9c,_0x57e2df);}const _0xa9de1e=this['gatewayC'+_0x5cbef5(0x445,_0x4bf5d6._0xae8f04)+'daryPend'+_0x21c007(_0x4bf5d6._0x430fa2,_0x4bf5d6._0x424753)]&&shouldKeepGatewayConnected(this[_0x21c007(0x2d8,_0x4bf5d6._0x3beee8)][_0x21c007(0x3e9,0x4da)+_0x21c007(_0x4bf5d6._0x1cc080,_0x4bf5d6._0x5140b0)],_0x5352da);this['gatewayS'+'ocket']===_0x40d5ec&&(this[_0x5cbef5(0x57d,_0x4bf5d6._0x2acab0)+_0x21c007(0x211,_0x4bf5d6._0x3576be)]=null);this[_0x5cbef5(0x4e0,_0x4bf5d6._0x20c572)+_0x5cbef5(0x640,0x50b)+'g']=![],this[_0x21c007(_0x4bf5d6._0x5d0080,0x4b4)+_0x21c007(0x5f4,_0x4bf5d6._0x3f85e3)+_0x5cbef5(0x48e,0x260)]=![],this[_0x21c007(0x5f5,_0x4bf5d6._0x4c2114)+_0x5cbef5(_0x4bf5d6._0x5c5683,0x3ab)+_0x21c007(0x450,0x631)+_0x5cbef5(0x357,_0x4bf5d6._0x582c6e)]=![],this['gatewayC'+_0x21c007(_0x4bf5d6._0xa65fae,_0x4bf5d6._0x2be512)+_0x5cbef5(_0x4bf5d6._0x138a31,_0x4bf5d6._0x32f24a)]=null,this['clearInF'+'lightCon'+_0x5cbef5(0x52b,_0x4bf5d6._0x46a647)+_0x21c007(0x455,_0x4bf5d6._0x4ba6cb)](_0x5cbef5(_0x4bf5d6._0x3c9fbd,0x240)+_0x21c007(0x27a,0x30a)+_0x21c007(_0x4bf5d6._0x2121a6,0x5a2)+'e='+_0x1d719c),this[_0x5cbef5(0x5c1,0x68d)+_0x21c007(_0x4bf5d6._0x203ceb,_0x4bf5d6._0x548ec8)]({'gatewayConnected':![],'lastError':_0x1d719c===0x3e8||_0xa9de1e?this[_0x21c007(0x2d8,0x154)][_0x21c007(_0x4bf5d6._0xe6b7f5,0x62d)+'r']:'gateway\x20'+_0x21c007(_0x4bf5d6._0x38640e,_0x4bf5d6._0x38f588)+(_0x323ebb['toString']()||_0x1d719c)}),this['log']('gateway\x20'+_0x5cbef5(0x22f,_0x4bf5d6._0x11506b)+_0x21c007(0x599,0x650)+'e='+_0x1d719c+_0x5cbef5(0x334,0x42e)+(_0x323ebb[_0x5cbef5(0x56c,_0x4bf5d6._0x307086)]()||_0x440043[_0x21c007(0x59a,_0x4bf5d6._0x1cce6c)])+(_0x5cbef5(0x4ec,_0x4bf5d6._0x2cc046)+_0x21c007(_0x4bf5d6._0x3d86c9,0x1c9)+'ndMs=')+this[_0x5cbef5(0x2d2,_0x4bf5d6._0xf7b776)+'ince'](this['clientDe'+'mandStar'+_0x5cbef5(_0x4bf5d6._0x4bc27f,0x4a4)]));if(_0xa9de1e){this[_0x5cbef5(_0x4bf5d6._0x2d016b,0x266)]('gateway\x20'+'close\x20bo'+_0x5cbef5(0x125,_0x4bf5d6._0xdbd39b)+'eached;\x20'+_0x5cbef5(-_0x4bf5d6._0xe2f6e7,0x16a)+_0x21c007(_0x4bf5d6._0x3f4a78,0x446)+'\x20fresh\x20d'+_0x5cbef5(_0x4bf5d6._0x3c87e0,_0x4bf5d6._0xd1fffc)),this[_0x5cbef5(0xd7,0x2e6)+'tewayCon'+'nected']();return;}this[_0x5cbef5(_0x4bf5d6._0x2844e3,_0x4bf5d6._0x9892e9)+'GatewayR'+'econnect']();});}[_0x2420cb(0x9ae,0xbb9)+_0x410a57(-0x169,-0x24)+_0x2420cb(0x677,0x434)](_0x55a0ed,_0x346a22){const _0x5eeb92={_0x3b9f7d:0x776,_0x4de9bf:0xe1,_0x1aff47:0xae,_0x238d33:0x286,_0x8ebc37:0x7e1,_0x2f1f72:0x5df,_0x6dcdce:0x72d,_0x115173:0x7ed,_0x298476:0x5a2,_0x26faa9:0x5c3,_0x5c35b9:0x649,_0xc336cd:0x87,_0x1d98e9:0x37a},_0x4f8bea={'NYOHB':function(_0x4aae59,_0x2c040e){return _0x4aae59(_0x2c040e);}},_0x175708=this['relaySoc'+_0x47bc59(0x70b,_0x5eeb92._0x3b9f7d)];if(!_0x175708||_0x175708[_0x4c21e9(-0xe0,-_0x5eeb92._0x4de9bf)+'te']!==_0x4221f7['OPEN'])return;if(_0x346a22){_0x175708[_0x4c21e9(0x27c,0x16b)](normalizeBinary(_0x55a0ed));return;}const _0x58bdb9=_0x4f8bea['NYOHB'](normalizeText,_0x55a0ed);if(_0x58bdb9==null)return;function _0x4c21e9(_0x92171a,_0x4505bf){return _0x410a57(_0x92171a,_0x4505bf-0x88);}function _0x47bc59(_0xda48ab,_0x1ac3af){return _0x410a57(_0xda48ab,_0x1ac3af-0x4cd);}const _0x3ca5c4=parsePairingRequestFromError(_0x58bdb9);_0x3ca5c4&&this[_0x4c21e9(-_0x5eeb92._0x1aff47,-0x120)+_0x4c21e9(0x4dd,_0x5eeb92._0x238d33)+'quest'](_0x3ca5c4);const _0x136420=_0x4f8bea[_0x47bc59(0x81c,_0x5eeb92._0x8ebc37)](parsePairResolvedEvent,_0x58bdb9);_0x136420&&this[_0x47bc59(0x5c4,_0x5eeb92._0x2f1f72)+'RequestR'+_0x4c21e9(0x1b,-0x15f)](_0x136420[_0x47bc59(_0x5eeb92._0x6dcdce,_0x5eeb92._0x115173)+'d'],_0x136420[_0x47bc59(_0x5eeb92._0x298476,_0x5eeb92._0x26faa9)]);const _0x4c44a3=parseResponseEnvelopeMeta(_0x58bdb9);_0x4c44a3&&this[_0x47bc59(0x57d,_0x5eeb92._0x5c35b9)+_0x4c21e9(0x198,-_0x5eeb92._0xc336cd)+_0x4c21e9(0x12d,_0x5eeb92._0x1d98e9)](_0x4c44a3),_0x175708['send'](_0x58bdb9);}[_0x2420cb(0x6b0,0x67a)+_0x410a57(0x140,-0x97)+_0x2420cb(0x624,0x437)+_0x2420cb(0x752,0x5ad)](){const _0x13bcc9={_0xa2d02b:0x5fa,_0x148dcf:0x25f,_0x531369:0x20b,_0x49cfc1:0xa9,_0x3a15f8:0x80,_0x5466a6:0x187,_0x4eed05:0x49b,_0x96e21b:0x2be,_0xf3c3b0:0xa0,_0x3c16d1:0x63,_0x3a758f:0x638,_0x131e14:0x669,_0x4ed60a:0x1a1,_0x961bde:0x278,_0x1e3be1:0x1d7,_0x3695f5:0x201,_0x4add9:0x233,_0x56d073:0x493,_0x21e56f:0x18a,_0x175b43:0x8e,_0x5036d0:0x6cb,_0x641a08:0x5b5,_0x883c54:0x574,_0x22e879:0x5ee,_0x405e32:0x32f,_0xb855ce:0x2b8,_0x2ee77b:0x3b6,_0x4bdd50:0x53b,_0xd3df24:0x574,_0x3359f7:0x4c1,_0x236284:0x5ee,_0x59838e:0x496,_0x3f9914:0x199,_0x1c5095:0x4df,_0x6ef2da:0x26c},_0x13c5f1={_0x521b68:0xbb},_0x322040={'mBnIA':function(_0x3ba5ca,_0x5939b9){return _0x3ba5ca!==_0x5939b9;},'VDgCQ':function(_0x523d41,_0x303091){return _0x523d41(_0x303091);},'xODSw':function(_0x1db431,_0x7fe47e){return _0x1db431(_0x7fe47e);}};function _0x439645(_0x368ad7,_0x4bd29a){return _0x410a57(_0x368ad7,_0x4bd29a-0x3b5);}const _0x4755fc=this[_0x439645(_0x13bcc9._0xa2d02b,0x6e8)+_0x439645(_0x13bcc9._0x148dcf,_0x13bcc9._0x531369)];if(!_0x4755fc||_0x322040[_0x15e134(-_0x13bcc9._0x49cfc1,-_0x13bcc9._0x3a15f8)](_0x4755fc['readySta'+'te'],_0x4221f7[_0x15e134(0x393,0x39d)]))return;const _0x5bc566=[],_0x164c7e=_0x322040['VDgCQ'](dedupePendingGatewayMessages,this['pendingG'+_0x15e134(0x40c,0x199)+_0x15e134(_0x13bcc9._0x5466a6,-0x8e)]);_0x164c7e[_0x439645(_0x13bcc9._0x4eed05,0x233)]>0x0&&this[_0x439645(0x33b,_0x13bcc9._0x96e21b)](_0x15e134(-_0x13bcc9._0xf3c3b0,-_0x13bcc9._0x3c16d1)+'stale\x20qu'+'eued\x20gat'+_0x439645(_0x13bcc9._0x3a758f,_0x13bcc9._0x131e14)+_0x15e134(0x10c,_0x13bcc9._0x4ed60a)+'fore\x20flu'+_0x439645(_0x13bcc9._0x961bde,_0x13bcc9._0x1e3be1)+_0x439645(0x187,_0x13bcc9._0x3695f5)+_0x164c7e[_0x439645(0x1ad,_0x13bcc9._0x4add9)]+'\x20kept='+_0x164c7e['messages']['length']);function _0x15e134(_0x3d2e9a,_0x28378f){return _0x410a57(_0x3d2e9a,_0x28378f-_0x13c5f1._0x521b68);}this[_0x439645(0x51b,0x2e3)+_0x439645(0x6af,_0x13bcc9._0x56d073)+_0x15e134(_0x13bcc9._0x21e56f,-_0x13bcc9._0x175b43)]=[];for(const _0x337392 of _0x164c7e[_0x439645(_0x13bcc9._0x5036d0,_0x13bcc9._0x641a08)]){if(!this[_0x439645(0x335,_0x13bcc9._0x883c54)+_0x439645(0x85e,_0x13bcc9._0x22e879)+_0x439645(_0x13bcc9._0x405e32,_0x13bcc9._0xb855ce)]){if(_0x337392['kind']!=='text'||!_0x322040['xODSw'](isConnectHandshakeRequest,_0x337392['text'])){_0x5bc566[_0x439645(0x407,_0x13bcc9._0x2ee77b)](_0x337392);continue;}this[_0x439645(_0x13bcc9._0x4bdd50,_0x13bcc9._0xd3df24)+_0x439645(_0x13bcc9._0x3359f7,_0x13bcc9._0x236284)+'Started']=!![];}this['sendToGa'+'teway'](_0x337392);}this[_0x439645(_0x13bcc9._0x59838e,0x2e3)+_0x15e134(0x400,_0x13bcc9._0x3f9914)+_0x439645(_0x13bcc9._0x1c5095,_0x13bcc9._0x6ef2da)]=_0x5bc566;}[_0x410a57(0xec,0x206)+_0x410a57(-0x15f,-0x8b)](_0x2557de){const _0x4c5d8e={_0x3c3843:0x375,_0x19b00e:0x474,_0x59c3bb:0x127,_0x12576b:0x32c,_0x4fbc2c:0x763,_0x55923a:0x304,_0x49c72d:0x2cc,_0xa769ad:0x452,_0x35fe6d:0x620,_0x59950e:0x4cd,_0x49d617:0x588,_0x24d42f:0x354,_0x4f8a4d:0xb5,_0x28d880:0x165,_0x2106a7:0xae,_0x2864f0:0x2ac,_0x1a319d:0x466,_0x4a3ac2:0x4db,_0x7963d0:0x93b,_0x1b2804:0x76a,_0x4fe9c8:0xdb,_0x12aab5:0x174,_0x3ac2ba:0x6c6,_0x42fb4a:0x28d,_0x5ae2a2:0x326,_0x33d0a3:0x125,_0x102708:0x160,_0x447f62:0x1c8,_0x1d79e5:0x564,_0x39c851:0x13e},_0x451420={_0x5b64c5:0x481},_0x880bef={'PNEJH':function(_0x2078ff,_0xeff5b4){return _0x2078ff!==_0xeff5b4;},'pBhgb':function(_0xa45a32,_0x3c872e){return _0xa45a32===_0x3c872e;},'PNMtM':function(_0x5aeb97,_0x2ef064,_0x596013){return _0x5aeb97(_0x2ef064,_0x596013);},'GKLBB':function(_0x209603,_0x23f1ca){return _0x209603(_0x23f1ca);}},_0x30a7aa=this[_0x187bd8(_0x4c5d8e._0x3c3843,0x3fe)+_0x47cf7f(_0x4c5d8e._0x19b00e,0x2d7)];if(!_0x30a7aa||_0x880bef[_0x47cf7f(0x3bc,0x39f)](_0x30a7aa[_0x187bd8(-_0x4c5d8e._0x59c3bb,-_0x4c5d8e._0x12576b)+'te'],_0x4221f7[_0x47cf7f(0x761,_0x4c5d8e._0x4fbc2c)])){this['pushPend'+'ingGatew'+_0x47cf7f(0x3f1,_0x4c5d8e._0x55923a)+'e'](_0x2557de);return;}if(_0x880bef['pBhgb'](_0x2557de['kind'],_0x47cf7f(0x20a,0x452))){const _0x2b51f6=_0x880bef['PNMtM'](patchConnectRequestGatewayAuth,_0x2557de[_0x47cf7f(0x6b5,0x452)],readOpenClawInfo()),_0x1c39ba=_0x880bef[_0x47cf7f(0x5e8,0x4db)](parseConnectHandshakeMeta,_0x2b51f6[_0x47cf7f(_0x4c5d8e._0x49c72d,0x452)]);_0x1c39ba&&(_0x1c39ba['id']&&this[_0x47cf7f(_0x4c5d8e._0xa769ad,_0x4c5d8e._0x35fe6d)+_0x47cf7f(_0x4c5d8e._0x59950e,_0x4c5d8e._0x49d617)+_0x47cf7f(0x74b,0x6ba)+'s']['set'](_0x1c39ba['id'],{'method':_0x1c39ba[_0x47cf7f(_0x4c5d8e._0x24d42f,0x317)],'startedAtMs':Date[_0x187bd8(-0x2a,-0x17b)](),'slowWarningLogged':![]}),this[_0x187bd8(-_0x4c5d8e._0x4f8a4d,-_0x4c5d8e._0x28d880)]('gateway\x20'+_0x187bd8(-_0x4c5d8e._0x2106a7,0x13e)+_0x187bd8(_0x4c5d8e._0x2864f0,_0x4c5d8e._0x1a319d)+_0x187bd8(0x1d0,0x40c)+'d'+_0x880bef[_0x47cf7f(0x44d,_0x4c5d8e._0x4a3ac2)](formatConnectHandshakeMetaForLog,_0x1c39ba)));_0x2b51f6[_0x47cf7f(_0x4c5d8e._0x7963d0,_0x4c5d8e._0x1b2804)]&&this[_0x187bd8(-0xb5,-0x22)](_0x187bd8(-_0x4c5d8e._0x4fe9c8,_0x4c5d8e._0x12aab5)+'connect\x20'+_0x47cf7f(0x6d7,_0x4c5d8e._0x3ac2ba)+_0x187bd8(_0x4c5d8e._0x42fb4a,0x1e8)+_0x47cf7f(0x173,_0x4c5d8e._0x5ae2a2)+'rd');_0x30a7aa[_0x187bd8(_0x4c5d8e._0x33d0a3,-_0x4c5d8e._0x102708)](_0x2b51f6[_0x187bd8(0x13,-_0x4c5d8e._0x447f62)]);return;}function _0x47cf7f(_0x3dbba4,_0x426775){return _0x410a57(_0x3dbba4,_0x426775-_0x451420._0x5b64c5);}function _0x187bd8(_0x57c2e7,_0x1daa87){return _0x410a57(_0x1daa87,_0x57c2e7-0x42);}_0x30a7aa[_0x47cf7f(0x63d,_0x4c5d8e._0x1d79e5)](_0x2557de[_0x187bd8(0x198,_0x4c5d8e._0x39c851)]);}['sendGate'+_0x2420cb(0x690,0x855)+'st'](_0x29b17a,_0x5a5144){const _0x4fd88c={_0x1a254f:0x76a,_0x3f1d20:0x6dc,_0x5002f3:0x771,_0x5a2130:0xb81,_0x35135f:0x9d3,_0x21e68e:0x87a,_0x1b5a9f:0x77f,_0x115f0a:0x5a7,_0x5a6cc7:0x4d7,_0x12f564:0x658};function _0xfb4c90(_0x43d8ad,_0xd15ff9){return _0x2420cb(_0xd15ff9- -0x1f,_0x43d8ad);}const _0x1d690d={'dyTbJ':function(_0x4ff82a){return _0x4ff82a();},'XEZYZ':_0x29c385(_0x4fd88c._0x1a254f,0x59c)},_0xc8781c=JSON[_0x29c385(0x79a,_0x4fd88c._0x3f1d20)+'y']({'type':_0xfb4c90(0x71f,0x4fb),'id':_0xfb4c90(0x60d,0x8a4)+_0x1d690d[_0x29c385(_0x4fd88c._0x5002f3,0x706)](_0x213d64),'method':_0x29b17a,'params':_0x5a5144}),_0x5d1c80={};function _0x29c385(_0xc086a1,_0xeede8b){return _0x2420cb(_0xeede8b- -0x105,_0xc086a1);}_0x5d1c80[_0xfb4c90(_0x4fd88c._0x5a2130,_0x4fd88c._0x35135f)]=_0x1d690d[_0xfb4c90(_0x4fd88c._0x21e68e,0x77a)],_0x5d1c80['text']=_0xc8781c,this[_0x29c385(0x527,0x7b8)+_0x29c385(0xa50,0x7e7)+_0x29c385(_0x4fd88c._0x1b5a9f,_0x4fd88c._0x115f0a)+_0xfb4c90(_0x4fd88c._0x5a6cc7,_0x4fd88c._0x12f564)](_0x5d1c80);}[_0x410a57(0x45d,0x244)+'eway'](_0x317c2b=![]){const _0xdcf67c={_0x53c764:0x244,_0x33229a:0x24f,_0x5ebf47:0x3c0,_0x56ac08:0x4c9,_0x12031d:0x6b2,_0x249ce8:0x454,_0x4ff9ab:0x297,_0x399bd2:0xe4,_0x513046:0xdc,_0x251252:0x1c1,_0x222851:0x350,_0x1c2cfe:0x1b9,_0x2c1109:0xa0,_0x324763:0x104,_0x120495:0x5c0,_0x2ab668:0x533,_0x1f7c5e:0x209,_0x409671:0x44c,_0x450f2a:0x6e2,_0xa1b116:0xd8,_0x158b9f:0x2ff,_0x59f4ed:0x3be,_0x57e9e0:0x13d,_0x517ecb:0x219,_0x5049ce:0x14f,_0x1e3c75:0x43b,_0xd61cb7:0x1f9,_0x45c7ad:0x51,_0x41621d:0x3e4,_0xfa77e0:0x2db,_0x21e8b7:0x2cb,_0x66de65:0x4c7,_0x254f3a:0x4d3,_0xbe4acb:0x268,_0x500c0c:0x3f2,_0x3930f7:0x425,_0x3b7a12:0x2d8,_0x209b84:0x35f,_0x47a7f7:0x4af},_0x3a6c4c={};_0x3a6c4c[_0x10c8c8(_0xdcf67c._0x53c764,0x3f9)]=function(_0x377e1f,_0x5efdcc){return _0x377e1f===_0x5efdcc;};const _0x512a26=_0x3a6c4c;function _0x407258(_0x59c96b,_0x3e4bb2){return _0x410a57(_0x59c96b,_0x3e4bb2-0x184);}this['gatewayR'+_0x407258(0x416,0x34b)+'r']&&(clearTimeout(this[_0x407258(_0xdcf67c._0x33229a,_0xdcf67c._0x5ebf47)+_0x407258(0x474,0x34b)+'r']),this[_0x10c8c8(_0xdcf67c._0x56ac08,_0xdcf67c._0x12031d)+_0x10c8c8(_0xdcf67c._0x249ce8,_0xdcf67c._0x4ff9ab)+'r']=null);const _0x37108e=summarizePendingGatewayMessages(this[_0x407258(_0xdcf67c._0x399bd2,0xb2)+_0x10c8c8(0x36b,_0xdcf67c._0x513046)+_0x10c8c8(0x144,_0xdcf67c._0x251252)])[_0x10c8c8(0x3d9,_0xdcf67c._0x222851)+_0x407258(0x306,_0xdcf67c._0x1c2cfe)],_0x34c91=_0x317c2b&&this[_0x407258(-0x1e9,_0xdcf67c._0x2c1109)+_0x10c8c8(0x98,0x13b)]()&&shouldKeepGatewayConnected(this['snapshot'][_0x407258(_0xdcf67c._0x324763,0x1b2)+_0x10c8c8(0x2fd,0x38f)],_0x37108e);function _0x10c8c8(_0x4c05bd,_0x405d8b){return _0x410a57(_0x405d8b,_0x4c05bd-0x28d);}const _0xe69926=this[_0x10c8c8(_0xdcf67c._0x120495,_0xdcf67c._0x2ab668)+_0x407258(-_0xdcf67c._0x1f7c5e,-0x26)];this[_0x10c8c8(_0xdcf67c._0x409671,_0xdcf67c._0x450f2a)+'andshake'+_0x10c8c8(0x190,0x404)]=![],this['gatewayC'+_0x10c8c8(0x478,0x43d)+_0x407258(-_0xdcf67c._0xa1b116,0x143)]=null;if(!_0xe69926){this[_0x407258(_0xdcf67c._0x158b9f,_0xdcf67c._0x59f4ed)+_0x407258(0x171,0x1d2)+_0x407258(_0xdcf67c._0x57e9e0,_0xdcf67c._0x517ecb)+_0x407258(_0xdcf67c._0x5049ce,0x256)]=![],this['gatewayC'+_0x10c8c8(_0xdcf67c._0x1e3c75,_0xdcf67c._0xd61cb7)+'g']=![];_0x34c91&&this[_0x407258(0x264,0x10d)+_0x10c8c8(0x52e,0x573)+'nected']();return;}if(_0xe69926['readySta'+'te']===_0x4221f7['CLOSING']){this['gatewayC'+'loseBoun'+_0x407258(0x311,0x219)+'ing']=_0x34c91;return;}if(_0xe69926[_0x10c8c8(0x124,-_0xdcf67c._0x45c7ad)+'te']===_0x4221f7['CLOSED']){_0x512a26['XdyVX'](this[_0x10c8c8(0x5c0,_0xdcf67c._0x41621d)+'ocket'],_0xe69926)&&(this[_0x10c8c8(0x5c0,0x32d)+_0x407258(-0x2af,-0x26)]=null);this['gatewayC'+_0x10c8c8(_0xdcf67c._0xfa77e0,0x4c3)+_0x10c8c8(0x322,0x114)+_0x407258(_0xdcf67c._0x21e8b7,0x256)]=![],this[_0x10c8c8(_0xdcf67c._0x66de65,_0xdcf67c._0x254f3a)+_0x10c8c8(_0xdcf67c._0x1e3c75,_0xdcf67c._0xbe4acb)+'g']=![];_0x34c91&&this['ensureGa'+_0x407258(_0xdcf67c._0x500c0c,_0xdcf67c._0x3930f7)+'nected']();return;}this[_0x10c8c8(0x4c7,_0xdcf67c._0x3b7a12)+_0x10c8c8(0x2db,0x544)+'daryPend'+_0x10c8c8(_0xdcf67c._0x209b84,_0xdcf67c._0x47a7f7)]=_0x34c91,_0xe69926['close']();}['createWe'+_0x410a57(-0x256,0x25)](_0x2b7063){const _0x2c9947={_0x2449c6:0x38b,_0xb7aa63:0x61a,_0x2771f4:0x691,_0x47782e:0x420,_0x146924:0x201},_0xe957ec={_0x14cf92:0x1b4},_0xd7b50={_0x8a8a00:0xdb},_0x20bab7={};function _0x8210ca(_0x131eff,_0x259ff4){return _0x2420cb(_0x131eff- -_0xd7b50._0x8a8a00,_0x259ff4);}function _0x3ec6f7(_0x3516b4,_0x4bfeac){return _0x2420cb(_0x4bfeac- -_0xe957ec._0x14cf92,_0x3516b4);}_0x20bab7[_0x3ec6f7(0x273,0x347)]=function(_0x4b4ba6,_0x1153aa){return _0x4b4ba6*_0x1153aa;};const _0x21e0dc=_0x20bab7;if(this[_0x3ec6f7(0x6b7,0x6eb)][_0x8210ca(0x516,_0x2c9947._0x2449c6)+_0x8210ca(_0x2c9947._0xb7aa63,_0x2c9947._0x2771f4)])return this['options'][_0x8210ca(0x516,0x55e)+_0x8210ca(_0x2c9947._0xb7aa63,0x5d7)](_0x2b7063);return new _0x4221f7(_0x2b7063,{'maxPayload':_0x21e0dc[_0x8210ca(_0x2c9947._0x47782e,_0x2c9947._0x146924)](0x19*0x400,0x400)});}[_0x410a57(0x1aa,0x17c)+_0x2420cb(0x5c1,0x3f7)+_0x2420cb(0x9c2,0x93a)](_0x8b5766){const _0x1801c7={_0x4fa75d:0x53e,_0xe402e:0x582,_0x2be82e:0x4fb,_0xaa735e:0x799,_0x2c7da8:0x5c9,_0x51aa72:0x91f,_0x33ccc3:0x765,_0xa26bf1:0x88c,_0x1fa84d:0x66c,_0x5ec860:0x4ad,_0x1c8763:0x418,_0x931061:0x752,_0x2613b8:0xd3,_0x360c43:0x74b,_0x4c3016:0x35d,_0x101d65:0x3cd,_0x58045f:0x7ba,_0x226eae:0x5d5,_0x7836ce:0x2a4,_0x47c871:0x4cb},_0x2f2fb3=this['inFlight'+_0x7326a9(_0x1801c7._0x4fa75d,_0x1801c7._0xe402e)+'andshake'+'s'][_0x5e9c08(0x6ea,_0x1801c7._0x2be82e)](_0x8b5766['id']);if(!_0x2f2fb3)return;this[_0x5e9c08(0x6e7,_0x1801c7._0xaa735e)+'ConnectH'+_0x5e9c08(_0x1801c7._0x2c7da8,0x833)+'s']['delete'](_0x8b5766['id']);function _0x7326a9(_0x5edca4,_0xdcdd0){return _0x410a57(_0xdcdd0,_0x5edca4-0x437);}const _0xca2361=_0x8b5766['ok']?_0x5e9c08(0x839,_0x1801c7._0x51aa72):_0x7326a9(0x5ec,0x4e4)+_0x7326a9(_0x1801c7._0x33ccc3,0x905)+_0x5e9c08(0xa4c,_0x1801c7._0xa26bf1)+(_0x8b5766[_0x7326a9(_0x1801c7._0x1fa84d,_0x1801c7._0x5ec860)+'e']??'<none>')+(_0x7326a9(0x3cd,0x658)+'ssage=')+(_0x8b5766[_0x7326a9(_0x1801c7._0x1c8763,0x1ad)+_0x7326a9(0x3de,0x5ce)]??_0x5e9c08(_0x1801c7._0x931061,0x582));function _0x5e9c08(_0x59cdd7,_0x5d75a9){return _0x410a57(_0x59cdd7,_0x5d75a9-0x5fa);}this[_0x7326a9(0x340,_0x1801c7._0x2613b8)](_0x5e9c08(_0x1801c7._0x360c43,0x4dd)+_0x7326a9(0x347,0x57b)+_0x7326a9(_0x1801c7._0x4c3016,_0x1801c7._0x101d65)+_0x5e9c08(_0x1801c7._0x58045f,_0x1801c7._0x226eae)+_0x8b5766['id']+_0x7326a9(0x3b9,0x1bc)+_0x2f2fb3[_0x5e9c08(_0x1801c7._0x7836ce,0x490)]+('\x20elapsed'+'Ms=')+(Date[_0x5e9c08(0x39c,0x58e)]()-_0x2f2fb3[_0x5e9c08(0x3ab,_0x1801c7._0x47c871)+'tMs'])+'\x20'+_0xca2361);}[_0x2420cb(0x9ca,0xab2)+'lightCon'+_0x410a57(0x22e,0x219)+_0x410a57(0x186,0x9a)](_0x33d393){const _0x1e706d={_0x431761:0x6c5,_0x3a3f25:0x892,_0x59debe:0x61e,_0x369e79:0x730,_0x12bc0f:0x515,_0x228b7:0x42f,_0x27b260:0x3c1,_0x5b7c8d:0x409,_0x2d9cff:0x436,_0x10e80d:0x4c8,_0x2d5771:0x474,_0xf2d173:0x499,_0x24c063:0x3bc,_0x962f6d:0x35f,_0x31b76c:0x4ab,_0x5eb5ad:0x161,_0x49a352:0x3e8,_0x2cad8b:0x509,_0x38d59a:0x4e8,_0x1c0369:0x62d,_0x4cf5bd:0x453,_0x2455d2:0x4d4};if(this[_0x3ca474(_0x1e706d._0x431761,_0x1e706d._0x3a3f25)+_0xb7a46e(0x441,_0x1e706d._0x59debe)+_0xb7a46e(0x93e,0x750)+'s']['size']===0x0)return;for(const [_0x38dad0,_0x523e70]of this[_0x3ca474(_0x1e706d._0x431761,_0x1e706d._0x369e79)+'ConnectH'+'andshake'+'s'][_0x3ca474(_0x1e706d._0x12bc0f,0x4fa)]()){this[_0x3ca474(_0x1e706d._0x228b7,_0x1e706d._0x27b260)](_0x3ca474(_0x1e706d._0x5b7c8d,0x679)+_0x3ca474(_0x1e706d._0x2d9cff,0x364)+_0x3ca474(0x44c,0x613)+_0xb7a46e(0x592,_0x1e706d._0x10e80d)+'\x20reqId='+_0x38dad0+_0xb7a46e(_0x1e706d._0x2d5771,_0x1e706d._0xf2d173)+_0x523e70[_0x3ca474(_0x1e706d._0x24c063,0x4b6)]+(_0x3ca474(0x3ba,0x2a3)+_0x3ca474(0x3b0,0x59b))+(Date[_0xb7a46e(_0x1e706d._0x962f6d,_0x1e706d._0x31b76c)]()-_0x523e70[_0xb7a46e(_0x1e706d._0x5eb5ad,_0x1e706d._0x49a352)+_0xb7a46e(0x4fc,_0x1e706d._0x2cad8b)])+_0xb7a46e(0x3a3,0x5e8)+_0x33d393);}function _0x3ca474(_0x4d0f7d,_0x3f88fd){return _0x410a57(_0x3f88fd,_0x4d0f7d-0x526);}function _0xb7a46e(_0x386fdd,_0x438931){return _0x410a57(_0x386fdd,_0x438931-0x517);}this[_0x3ca474(_0x1e706d._0x431761,_0x1e706d._0x38d59a)+_0x3ca474(_0x1e706d._0x1c0369,_0x1e706d._0x4cf5bd)+_0x3ca474(0x75f,0x703)+'s'][_0xb7a46e(_0x1e706d._0x2455d2,0x54e)]();}[_0x410a57(-0xf8,-0x85)+_0x410a57(0x2ef,0x2cc)+'onnect'](){const _0x40c768={_0x551659:0x89f,_0x2e7aca:0x256,_0x463df0:0x8a5,_0x497271:0x4e3,_0x454b56:0x7cb,_0x560361:0x7d6,_0x4ab4a7:0x4e3,_0x227c9c:0x6a8,_0x1a1ad8:0x5d5,_0x3ecbb9:0x85a,_0x3e1ce1:0x10a,_0x28cc7d:0x13a,_0x2134de:0x38,_0x5551ca:0x444,_0x343430:0x234},_0x16d466={_0x11cf63:0x5e9,_0x2c2b5a:0x41f,_0x43856d:0x387},_0x30ce3f={};_0x30ce3f[_0xc4d820(0x4ae,0x2cb)]=function(_0x7f897a,_0xf12bb4){return _0x7f897a*_0xf12bb4;};const _0xc718c2=_0x30ce3f;if(this[_0x479d8b(_0x40c768._0x551659,0x7f1)]||this[_0xc4d820(-0x38,-_0x40c768._0x2e7aca)+_0xc4d820(0x444,0x1b4)])return;function _0x479d8b(_0x5d17f1,_0x24d43c){return _0x2420cb(_0x24d43c-0x6,_0x5d17f1);}const _0x25e6fd=this[_0x479d8b(0xa36,_0x40c768._0x463df0)][_0x479d8b(0x715,_0x40c768._0x497271)+_0x479d8b(0x897,0x9bb)+_0x479d8b(_0x40c768._0x454b56,_0x40c768._0x560361)]??RECONNECT_BASE_DELAY_MS,_0x2ec404=this['options'][_0x479d8b(0x755,_0x40c768._0x4ab4a7)+'tMaxDela'+'yMs']??RECONNECT_MAX_DELAY_MS;function _0xc4d820(_0xcd517d,_0x2819bb){return _0x2420cb(_0xcd517d- -0x515,_0x2819bb);}const _0x5c5c30=Math['min'](_0x2ec404,_0xc718c2['svwOf'](_0x25e6fd,Math[_0xc4d820(0x421,_0x40c768._0x227c9c)](0x1,this[_0x479d8b(_0x40c768._0x1a1ad8,0x7e2)+_0xc4d820(-0xf,-0x252)])));this[_0xc4d820(0xc4,0x80)](_0x479d8b(0x71c,_0x40c768._0x3ecbb9)+'connect\x20'+_0xc4d820(0x136,_0x40c768._0x3e1ce1)+_0xc4d820(_0x40c768._0x28cc7d,0xf4)+'s='+_0x5c5c30),this[_0xc4d820(-_0x40c768._0x2134de,0x10c)+_0xc4d820(_0x40c768._0x5551ca,_0x40c768._0x343430)]=setTimeout(()=>{const _0x1fa963={_0x256cc9:0x16b};function _0x2299a8(_0x48d042,_0xd227ba){return _0x479d8b(_0x48d042,_0xd227ba- -_0x1fa963._0x256cc9);}this[_0x11921f(0x3bb,0x17c)+_0x2299a8(_0x16d466._0x11cf63,0x7f4)]=null;function _0x11921f(_0x463f9a,_0x330809){return _0x479d8b(_0x463f9a,_0x330809- -0x367);}void this[_0x2299a8(0x7dd,0x6b7)+_0x2299a8(_0x16d466._0x2c2b5a,_0x16d466._0x43856d)]();},_0x5c5c30);}[_0x410a57(-0x1a4,-0x85)+_0x2420cb(0x911,0x7db)+'econnect'](){const _0x11b8b2={_0x4243fc:0xac,_0x4429af:0x181,_0x88aa48:0xa78,_0x172ab6:0xe9,_0x5b480c:0x1c8,_0x1f529b:0x29,_0x578aa8:0x2e9,_0x119b4b:0x55,_0x349cb6:0x1fc,_0x3e553c:0x37,_0x584153:0x48,_0x1aa42c:0x7cb,_0x4081a1:0x53b,_0x50cb2e:0x75e,_0x50a22b:0x11d,_0x4781b5:0xf3,_0x11a72f:0x289,_0x5c769e:0xc4,_0x488928:0x274,_0x45e8c4:0x4f8},_0x47a2b2={_0x21750b:0x606},_0x1cc70e={_0x5a3d6a:0x70f},_0x2edd58={_0x149728:0x730},_0x2c4331={_0xdcac60:0xad};function _0xb11355(_0x449c9d,_0x2aeab5){return _0x410a57(_0x2aeab5,_0x449c9d-_0x2c4331._0xdcac60);}const _0x4f3a20={'WEaGJ':function(_0x3372de,_0x4e60e3,_0x24acb1){return _0x3372de(_0x4e60e3,_0x24acb1);}},_0x3554a5=summarizePendingGatewayMessages(this[_0xb11355(-0x25,_0x11b8b2._0x4243fc)+_0xb11355(0x18b,0x175)+_0xb11355(-0x9c,-_0x11b8b2._0x4429af)])[_0x5e20d7(_0x11b8b2._0x88aa48,0x87c)+_0xb11355(0xe2,_0x11b8b2._0x172ab6)];if(this[_0xb11355(_0x11b8b2._0x5b480c,-_0x11b8b2._0x1f529b)]||this[_0xb11355(_0x11b8b2._0x578aa8,_0x11b8b2._0x119b4b)+_0xb11355(0x274,_0x11b8b2._0x349cb6)+'r']||!this[_0xb11355(-_0x11b8b2._0x3e553c,-_0x11b8b2._0x584153)+_0x5e20d7(_0x11b8b2._0x1aa42c,_0x11b8b2._0x4081a1)]()||!_0x4f3a20['WEaGJ'](shouldKeepGatewayConnected,this['snapshot'][_0x5e20d7(0x88f,_0x11b8b2._0x50cb2e)+_0xb11355(_0x11b8b2._0x50a22b,0x3b4)],_0x3554a5))return;const _0xc48224=this['options'][_0xb11355(0x2e9,0x8c)+_0xb11355(-_0x11b8b2._0x4781b5,0x99)+_0xb11355(_0x11b8b2._0x11a72f,_0x11b8b2._0x5c769e)]??GATEWAY_RETRY_DELAY_MS;function _0x5e20d7(_0x149aa8,_0x307bf0){return _0x410a57(_0x149aa8,_0x307bf0-_0x2edd58._0x149728);}this[_0xb11355(0x2e9,_0x11b8b2._0x349cb6)+_0xb11355(_0x11b8b2._0x488928,_0x11b8b2._0x45e8c4)+'r']=setTimeout(()=>{const _0x35fb2f={_0x31e2d8:0x3e0};function _0x256d8c(_0x715e83,_0x3aa8ac){return _0x5e20d7(_0x715e83,_0x3aa8ac- -_0x35fb2f._0x31e2d8);}function _0x2781a4(_0x5daaf1,_0x5b2fbf){return _0x5e20d7(_0x5b2fbf,_0x5daaf1- -_0x1cc70e._0x5a3d6a);}this[_0x256d8c(0x64d,0x58c)+'etryTime'+'r']=null,this[_0x2781a4(-0x56,0x26)+'tewayCon'+_0x256d8c(0x410,_0x47a2b2._0x21750b)]();},_0xc48224);}['startHea'+'rtbeat'](){const _0x1b1d27={_0xa67a33:0x545,_0xb79595:0x50a,_0x2a2282:0x5e8,_0x1d97f3:0x3e8,_0x45e091:0x12a,_0x29d47c:0x67c,_0x154fa0:0xd,_0x8ce3eb:0x239},_0x2094c6={_0x5756b0:0x72c,_0x32bd23:0x4e1,_0x198ddb:0x92c,_0x58e548:0x590,_0x8d4695:0x40e,_0x3f951c:0x788,_0x54accd:0x824,_0x43f169:0x8ad,_0x532ba1:0x4e0,_0x4a828c:0x487,_0x1af58d:0x477,_0x4e063c:0x826,_0x139cd1:0x870,_0x4856ad:0x553,_0x3ebccf:0x542,_0x3195a6:0x521,_0x28a50c:0x781,_0x5a8bc7:0x2ed,_0x7bc057:0x395,_0x5c2abc:0x2d7},_0x2b8bbc={_0x1c4102:0x4ad},_0x4de6c5={'irdVH':function(_0x45d380,_0x37f6bc,_0x1702ae){return _0x45d380(_0x37f6bc,_0x1702ae);}};function _0x18ada6(_0x1d7154,_0x339a41){return _0x410a57(_0x1d7154,_0x339a41-_0x2b8bbc._0x1c4102);}this[_0x18ada6(0x90c,0x6a7)+'tbeat']();function _0x39732d(_0x29eb0e,_0x5eb48a){return _0x410a57(_0x29eb0e,_0x5eb48a-0x15f);}this[_0x18ada6(_0x1b1d27._0xa67a33,_0x1b1d27._0xb79595)+_0x39732d(_0x1b1d27._0x2a2282,_0x1b1d27._0x1d97f3)]=_0x4de6c5[_0x39732d(_0x1b1d27._0x45e091,0x14b)](setInterval,()=>{const _0x3c2206={_0x439efd:0x2a},_0x17b5d8=this[_0x47ce7b(0x56c,0x454)+_0x3be7cb(0x571,_0x2094c6._0x5756b0)];function _0x47ce7b(_0x585843,_0x1e5ada){return _0x18ada6(_0x1e5ada,_0x585843-0x19d);}if(!_0x17b5d8||_0x17b5d8[_0x47ce7b(_0x2094c6._0x32bd23,0x5bd)+'te']!==_0x4221f7[_0x47ce7b(_0x2094c6._0x198ddb,0x83a)])return;this[_0x3be7cb(_0x2094c6._0x58e548,_0x2094c6._0x8d4695)+_0x47ce7b(_0x2094c6._0x3f951c,0x88f)+_0x47ce7b(_0x2094c6._0x54accd,_0x2094c6._0x43f169)]();const _0x3e208a=this['options'][_0x3be7cb(0x68a,_0x2094c6._0x532ba1)+_0x47ce7b(_0x2094c6._0x4a828c,0x612)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(Date['now']()-this['lastRela'+_0x47ce7b(_0x2094c6._0x1af58d,0x4a1)+_0x47ce7b(_0x2094c6._0x4e063c,_0x2094c6._0x139cd1)]>_0x3e208a){this[_0x47ce7b(_0x2094c6._0x4856ad,_0x2094c6._0x3ebccf)]('relay\x20he'+_0x47ce7b(_0x2094c6._0x3195a6,0x785)+_0x47ce7b(0x858,_0x2094c6._0x28a50c)+'t'),_0x17b5d8[_0x3be7cb(_0x2094c6._0x5a8bc7,_0x2094c6._0x7bc057)+'e']();return;}function _0x3be7cb(_0x452b2a,_0x47a1fc){return _0x18ada6(_0x452b2a,_0x47a1fc- -_0x3c2206._0x439efd);}_0x17b5d8[_0x3be7cb(0x8d,_0x2094c6._0x5c2abc)]();},this[_0x18ada6(0x748,_0x1b1d27._0x29d47c)][_0x39732d(-_0x1b1d27._0x154fa0,0x1bc)+_0x39732d(0x358,_0x1b1d27._0x8ce3eb)+_0x39732d(-0x253,-0x1a)]??HEARTBEAT_INTERVAL_MS);}[_0x410a57(0x134,0x1fa)+_0x410a57(-0x240,-0x1dc)](){const _0x21802a={_0x1f44d0:0x1a0,_0x2be40e:0x68,_0x4847d7:0x1a0,_0x2bd36b:0x378,_0x2b742c:0x6ed,_0x4a5657:0xa9};function _0x59ad99(_0x4279d9,_0x26604d){return _0x410a57(_0x4279d9,_0x26604d-0x464);}function _0x7c0afe(_0x1b6277,_0x40b256){return _0x410a57(_0x40b256,_0x1b6277-0x143);}this[_0x7c0afe(_0x21802a._0x1f44d0,_0x21802a._0x2be40e)+'tTimer']&&(clearInterval(this[_0x7c0afe(_0x21802a._0x4847d7,_0x21802a._0x2bd36b)+_0x59ad99(0x4c1,_0x21802a._0x2b742c)]),this[_0x7c0afe(_0x21802a._0x1f44d0,_0x21802a._0x4a5657)+_0x7c0afe(0x3cc,0x343)]=null);}[_0x2420cb(0x65b,0x8b1)+_0x2420cb(0x80e,0x59a)+_0x410a57(0x401,0x1da)](){const _0xc36713={_0x1d45b8:0x375,_0x76a9f2:0x777,_0x29467e:0x71a,_0x4b2ddc:0x751,_0x397d7b:0x645,_0x3c29a2:0x777,_0x2c0e2e:0x7a7,_0x4a6105:0x6ce,_0x56ffc3:0x3e2,_0x2a0fac:0x6ce,_0x2cb949:0x5ea,_0x6f2818:0x629,_0x52aa9e:0x2f0,_0x321d0a:0x421,_0x270666:0x30c,_0xe0b883:0x211,_0x50cf46:0x24a,_0xabdb4:0x485,_0x363dc6:0x312,_0x574e72:0x3d2,_0x453e03:0x4a1},_0x526ba6={_0x244bbb:0x2d4},_0x190f9e={};_0x190f9e[_0xba2abf(_0xc36713._0x1d45b8,0x5be)]=function(_0x4046a1,_0x583cee){return _0x4046a1<_0x583cee;};const _0x45269e=_0x190f9e;if(this['inFlight'+'ConnectH'+_0xba2abf(_0xc36713._0x76a9f2,0x4fa)+'s']['size']===0x0)return;function _0xba2abf(_0x37448d,_0x5c86e4){return _0x2420cb(_0x37448d- -0x192,_0x5c86e4);}const _0x285e08=this['options'][_0x266cae(0x33c,0x18b)+'andshake'+'WarnDela'+_0xba2abf(_0xc36713._0x29467e,0x69c)]??CONNECT_HANDSHAKE_WARN_DELAY_MS,_0x37dcf6=Date[_0xba2abf(0x4d2,_0xc36713._0x4b2ddc)]();function _0x266cae(_0x15a082,_0x5b0f39){return _0x2420cb(_0x15a082- -_0x526ba6._0x244bbb,_0x5b0f39);}for(const [_0xb8be47,_0x1dcbfc]of this['inFlight'+_0xba2abf(_0xc36713._0x397d7b,0x648)+_0xba2abf(_0xc36713._0x3c29a2,0x952)+'s'][_0xba2abf(0x52d,_0xc36713._0x2c0e2e)]()){const _0x3b05fa=_0x37dcf6-_0x1dcbfc['startedA'+_0x266cae(0x3ee,0x17a)];if(_0x1dcbfc[_0xba2abf(_0xc36713._0x4a6105,0x7c3)+_0x266cae(0x5ea,0x82b)+'d']||_0x45269e[_0xba2abf(0x375,_0xc36713._0x56ffc3)](_0x3b05fa,_0x285e08))continue;_0x1dcbfc[_0xba2abf(_0xc36713._0x2a0fac,0x822)+_0x266cae(_0xc36713._0x2cb949,_0xc36713._0x6f2818)+'d']=!![],this[_0xba2abf(0x447,_0xc36713._0x52aa9e)](_0xba2abf(_0xc36713._0x321d0a,0x5d4)+_0x266cae(_0xc36713._0x270666,_0xc36713._0xe0b883)+_0xba2abf(0x682,0x6d0)+_0xba2abf(0x3ed,_0xc36713._0x50cf46)+_0xba2abf(_0xc36713._0xabdb4,_0xc36713._0x363dc6)+_0xb8be47+_0x266cae(0x37e,0x47b)+_0x1dcbfc[_0x266cae(0x292,0x13c)]+(_0xba2abf(_0xc36713._0x574e72,_0xc36713._0x453e03)+_0x266cae(0x286,0x27f))+_0x3b05fa);}}['pushPend'+_0x410a57(-0x6e,0x21e)+_0x410a57(-0x47,-0x17d)+'e'](_0x291b1b){const _0x16f6b0={_0x2b1d8e:0x462,_0x2f6f07:0x612,_0x18d33a:0x50f,_0x469967:0x173,_0x47600b:0xd2,_0x149d7d:0x155,_0x4e36ed:0x672,_0x2a87f0:0x4ea,_0x514344:0x3eb,_0x1ad2ae:0x535},_0x4544d6={_0x608b7e:0x19c},_0x5c5c11={_0x33edbc:0x659};function _0x36a37f(_0x1497e4,_0x36673e){return _0x2420cb(_0x36673e- -_0x5c5c11._0x33edbc,_0x1497e4);}function _0x4d988e(_0x2ab2a9,_0xfad590){return _0x2420cb(_0x2ab2a9- -_0x4544d6._0x608b7e,_0xfad590);}this[_0x4d988e(_0x16f6b0._0x2b1d8e,0x67b)+_0x4d988e(_0x16f6b0._0x2f6f07,_0x16f6b0._0x18d33a)+_0x36a37f(-_0x16f6b0._0x469967,-_0x16f6b0._0x47600b)]['length']>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+_0x36a37f(0x117,_0x16f6b0._0x149d7d)+_0x4d988e(0x3eb,_0x16f6b0._0x4e36ed)]['shift'](),this[_0x4d988e(_0x16f6b0._0x2b1d8e,0x2db)+_0x4d988e(0x612,_0x16f6b0._0x2a87f0)+_0x4d988e(_0x16f6b0._0x514344,0x1c0)][_0x4d988e(_0x16f6b0._0x1ad2ae,0x795)](_0x291b1b);}[_0x410a57(0x1ad,-0xa3)+_0x2420cb(0x941,0xa5d)+_0x410a57(0x4e,0x60)+'e'](){const _0x245d77={_0x274167:0x395,_0xda7e67:0x5a3,_0x23a59a:0x1a8,_0x3bfc6e:0x215,_0x5ab7cb:0x7f0,_0x24b674:0x1de,_0x537edd:0x557,_0x5d6376:0x7d9,_0x30361a:0x5c2,_0x39abab:0xa38,_0x26e1f8:0x7b5,_0x1adada:0x527,_0x402411:0x5ac,_0x296675:0x8b4,_0x57baba:0x420},_0x3174ce={_0x23b5ae:0x675},_0x36572b={_0x5ea398:0x327},_0x6b5e47={'Ivhvi':function(_0x570da4,_0x447ca1){return _0x570da4(_0x447ca1);},'MKmnL':function(_0x26b7eb,_0x21185d){return _0x26b7eb===_0x21185d;}};function _0x26aa83(_0x2f939a,_0x9dc89){return _0x410a57(_0x2f939a,_0x9dc89-_0x36572b._0x5ea398);}const _0xe4a7e1=_0x6b5e47[_0x26aa83(0x2e0,_0x245d77._0x274167)](summarizePendingGatewayMessages,this[_0x5230e8(0x5a5,_0x245d77._0xda7e67)+_0x26aa83(_0x245d77._0x23a59a,0x405)+'ssages']);if(_0x6b5e47[_0x26aa83(0x1f7,0x2f0)](_0xe4a7e1[_0x5230e8(0x79c,0x7aa)],0x0)||_0xe4a7e1[_0x26aa83(_0x245d77._0x3bfc6e,0x473)+'equests']>0x0)return;function _0x5230e8(_0xcb6b5e,_0x3fbecb){return _0x410a57(_0xcb6b5e,_0x3fbecb-_0x3174ce._0x23b5ae);}this['pendingG'+_0x5230e8(_0x245d77._0x5ab7cb,0x753)+_0x26aa83(0x383,_0x245d77._0x24b674)]=[],this['log'](_0x5230e8(0x41a,_0x245d77._0x537edd)+_0x5230e8(0x939,_0x245d77._0x5d6376)+_0x26aa83(0x4cd,_0x245d77._0x30361a)+_0x5230e8(_0x245d77._0x39abab,_0x245d77._0x26e1f8)+_0x26aa83(_0x245d77._0x1adada,_0x245d77._0x402411)+_0xe4a7e1[_0x5230e8(_0x245d77._0x296675,0x7aa)]+_0x5230e8(0x352,0x5d0)+_0xe4a7e1[_0x26aa83(_0x245d77._0x57baba,0x33c)+'t']+'\x20binary='+_0xe4a7e1['binary']);}[_0x2420cb(0x721,0x7b6)+_0x410a57(0x2ce,0xb4)+_0x410a57(0x164,0x71)](_0x521d49,_0x3df5d1){const _0x10aea7={_0x1cfb99:0x317,_0x47d9fa:0x80,_0x1b0225:0x7,_0x40d05e:0x308,_0x340e66:0x1ca,_0x1a49aa:0x99,_0x4983bc:0x189,_0x401083:0xbf,_0x529269:0xc5,_0x15dcbe:0x267,_0x2fe881:0x180,_0x56baac:0x46b,_0x5759b9:0x29a,_0x146066:0x128,_0x32a372:0x4c8,_0xd5a0eb:0x3dd},_0x985140=Date[_0x3aa360(-_0x10aea7._0x1cfb99,-_0x10aea7._0x47d9fa)](),_0x2a388e=new Map(this[_0x32a04e(0xb5,0x202)][_0x3aa360(0x1b7,_0x10aea7._0x1b0225)+_0x32a04e(0x128,_0x10aea7._0x40d05e)][_0x3aa360(-_0x10aea7._0x340e66,-0xca)](_0x3cdc22=>[_0x3cdc22['id'],{..._0x3cdc22}])),_0x30e74a=_0x2a388e[_0x32a04e(_0x10aea7._0x1a49aa,-_0x10aea7._0x4983bc)](_0x521d49)??{'id':_0x521d49,'label':_0x3df5d1,'state':'connecte'+'d','lastSeenMs':_0x985140};_0x30e74a['label']=_0x3df5d1,_0x30e74a['state']=_0x3aa360(-0xad,_0x10aea7._0x1b0225)+'d';function _0x3aa360(_0x2af7ad,_0x42430a){return _0x410a57(_0x2af7ad,_0x42430a- -0x14);}_0x30e74a[_0x3aa360(_0x10aea7._0x401083,-_0x10aea7._0x529269)+'Ms']=_0x985140;function _0x32a04e(_0x13dec0,_0x403daa){return _0x410a57(_0x403daa,_0x13dec0-0x198);}_0x2a388e[_0x3aa360(0xa8,0x10c)](_0x521d49,_0x30e74a);const _0x178e9b=[..._0x2a388e[_0x3aa360(_0x10aea7._0x15dcbe,0x2aa)]()][_0x32a04e(_0x10aea7._0x2fe881,0xd2)]((_0xc5c1d5,_0x35554f)=>_0x35554f['lastSeen'+'Ms']-_0xc5c1d5[_0x32a04e(0xe7,0x306)+'Ms'])[_0x3aa360(_0x10aea7._0x56baac,_0x10aea7._0x5759b9)](0x0,MAX_DEVICE_DETAILS),_0x555cac={};_0x555cac['connecte'+_0x32a04e(_0x10aea7._0x146066,-0xa9)]=_0x178e9b,this[_0x32a04e(_0x10aea7._0x32a372,_0x10aea7._0xd5a0eb)+'apshot'](_0x555cac);}[_0x2420cb(0x7f2,0xa5a)+'cesRecen'+'t'](){const _0x41e878={_0x4090df:0x239,_0x1ebb86:0x147,_0x5907c9:0x213,_0x16a151:0x6f,_0x251801:0x6c},_0x45a7ea={_0x288a0c:0x6da},_0xae0587={_0x47d192:0x65c};function _0x5bb4bc(_0x133141,_0x2301fe){return _0x2420cb(_0x133141- -_0xae0587._0x47d192,_0x2301fe);}function _0x22d10d(_0x32ef54,_0x1507a5){return _0x2420cb(_0x1507a5- -_0x45a7ea._0x288a0c,_0x32ef54);}this[_0x22d10d(_0x41e878._0x4090df,0x326)+_0x22d10d(_0x41e878._0x1ebb86,_0x41e878._0x5907c9)]({'connectedDevices':this[_0x5bb4bc(-_0x41e878._0x16a151,0x12)][_0x22d10d(_0x41e878._0x251801,0x11)+'dDevices']['map'](_0x298e94=>({..._0x298e94,'state':_0x22d10d(-0x95,0xe2)}))});}[_0x410a57(-0x3e8,-0x1a8)+'ngPairRe'+_0x2420cb(0x544,0x50f)](_0x2071ab){const _0x256b8a={_0x190613:0x15b,_0x373542:0x13d,_0x17d8ea:0x4e0,_0x42cb2a:0x4f4,_0x217f09:0x1ad,_0x254dfe:0x672,_0x5d7a05:0x887,_0x3e01fd:0x984,_0x206512:0xbb,_0x25296e:0x27e,_0x176a9a:0x9cc,_0xd83087:0x8a5,_0x2ed1de:0x370,_0x40e6b6:0x3d9,_0x2799f9:0x1fe,_0x9eb072:0x129,_0x4fdfec:0xa5,_0x4aa4af:0x870},_0xf24ad={_0x59e506:0x4b0};if(this[_0x556c3c(_0x256b8a._0x190613,_0x256b8a._0x373542)]['pendingP'+_0x556c3c(_0x256b8a._0x17d8ea,_0x256b8a._0x42cb2a)+_0x556c3c(0xd5,0x1bc)][_0x556c3c(0x44c,0x388)](_0x19da19=>_0x19da19[_0x556c3c(0x59c,0x540)+'d']===_0x2071ab[_0x16263c(0xc87,0x9f6)+'d']))return;const _0x298d1a=[...this['snapshot'][_0x556c3c(_0x256b8a._0x217f09,0x27e)+_0x556c3c(0x6aa,0x4f4)+_0x16263c(0x7b1,_0x256b8a._0x254dfe)],_0x2071ab][_0x16263c(_0x256b8a._0x5d7a05,_0x256b8a._0x3e01fd)](-MAX_PENDING_PAIR_REQUESTS),_0x8ef2ec={};_0x8ef2ec[_0x556c3c(_0x256b8a._0x206512,_0x256b8a._0x25296e)+'airReque'+'sts']=_0x298d1a,this['updateSn'+'apshot'](_0x8ef2ec);function _0x16263c(_0x59105f,_0x5d29c3){return _0x2420cb(_0x5d29c3-0x6,_0x59105f);}function _0x556c3c(_0x32a132,_0x127d61){return _0x2420cb(_0x127d61- -_0xf24ad._0x59e506,_0x32a132);}this[_0x16263c(_0x256b8a._0x176a9a,_0x256b8a._0xd83087)][_0x556c3c(_0x256b8a._0x2ed1de,0x500)+_0x16263c(_0x256b8a._0x40e6b6,0x635)+'uest']?.(_0x2071ab),this[_0x556c3c(_0x256b8a._0x2799f9,_0x256b8a._0x9eb072)](_0x556c3c(-_0x256b8a._0x4fdfec,0x154)+_0x556c3c(0x2cc,0x418)+_0x556c3c(-0x1b,0x256)+'uestId='+_0x2071ab[_0x16263c(_0x256b8a._0x4aa4af,0x9f6)+'d']+('\x20deviceI'+'d=')+(_0x2071ab[_0x556c3c(0x4bd,0x22e)]||'<unknown'+'>'));}[_0x410a57(0x64,0x112)+_0x410a57(-0x306,-0x11b)+_0x410a57(-0x22f,-0x1e7)](_0x1e8016,_0x1a5822){const _0x115d7b={_0x5bbeee:0x602,_0x129dda:0x4c6,_0x23c00e:0x530,_0x35a2dc:0x521,_0x554378:0x7f5,_0x2519b9:0x802,_0x493742:0x118,_0x205c21:0x112,_0x3a9188:0x189,_0x27b584:0x14,_0x4e8cb1:0x465,_0x7a3c0a:0x6e7,_0x44242b:0x1d},_0x4d5c20={_0x256530:0x4d2},_0x3ce419={_0x3714a8:0x1b},_0x440d0f=this[_0x46e63d(_0x115d7b._0x5bbeee,0x3ef)][_0x46e63d(_0x115d7b._0x129dda,_0x115d7b._0x23c00e)+_0x46e63d(0x90c,0x7a6)+_0x46e63d(_0x115d7b._0x35a2dc,0x46e)]['map'](_0x2acca4=>_0x2acca4[_0x3cf0a5(0xfd,0x305)+'d']===_0x1e8016?{..._0x2acca4,'status':_0x1a5822===_0x46e63d(0x6c0,0x47c)||_0x1a5822===_0x46e63d(0x70d,0x65c)?_0x1a5822:_0x2acca4[_0x3cf0a5(0x5,0x291)]}:_0x2acca4),_0x3f064e={};_0x3f064e['pendingP'+'airReque'+_0x46e63d(0x222,0x46e)]=_0x440d0f;function _0x3cf0a5(_0x3416bc,_0x240551){return _0x410a57(_0x3416bc,_0x240551- -_0x3ce419._0x3714a8);}function _0x46e63d(_0xdd895,_0x33147b){return _0x410a57(_0xdd895,_0x33147b-_0x4d5c20._0x256530);}this[_0x46e63d(_0x115d7b._0x554378,_0x115d7b._0x2519b9)+'apshot'](_0x3f064e),this[_0x3cf0a5(_0x115d7b._0x493742,-_0x115d7b._0x205c21)]('pair\x20req'+_0x3cf0a5(-_0x115d7b._0x3a9188,_0x115d7b._0x27b584)+_0x46e63d(_0x115d7b._0x4e8cb1,_0x115d7b._0x7a3c0a)+_0x3cf0a5(0xb2,_0x115d7b._0x44242b)+_0x1e8016+('\x20decisio'+'n=')+_0x1a5822);}['updateSn'+_0x2420cb(0x8ed,0x9c9)](_0x939156){const _0x5d2291={_0x203ec5:0x396,_0x26656e:0x4ed,_0x1d1415:0x4f7,_0x1ff6d7:0x68d},_0xa5b46d={_0x2cd805:0xec};Object[_0xfdae01(_0x5d2291._0x203ec5,_0x5d2291._0x26656e)](this[_0x582cf6(0x6f8,0x501)],_0x939156,{'lastUpdatedMs':Date['now']()});function _0x582cf6(_0x3a319b,_0x9fc096){return _0x2420cb(_0x9fc096- -_0xa5b46d._0x2cd805,_0x3a319b);}function _0xfdae01(_0x115850,_0x48b160){return _0x2420cb(_0x48b160- -0x17a,_0x115850);}this['options'][_0x582cf6(_0x5d2291._0x1d1415,_0x5d2291._0x1ff6d7)]?.(this['getSnaps'+_0x582cf6(0x65d,0x86a)]());}['log'](_0x5780dc){function _0x8d3b12(_0x2a0a40,_0x1d9620){return _0x2420cb(_0x1d9620- -0x568,_0x2a0a40);}function _0xeee821(_0x54d05a,_0x1fb965){return _0x2420cb(_0x1fb965- -0x70,_0x54d05a);}this[_0xeee821(0x5db,0x82f)][_0xeee821(0x522,0x704)]?.(_0x5780dc);}[_0x410a57(-0xf1,-0xe4)+_0x410a57(-0x411,-0x1f5)](){const _0x1f4640={_0x3b9426:0x1f6,_0x183427:0x365},_0x39b789={_0x545fa5:0x6b8},_0x109917={_0x54744c:0x65},_0x32130b={};function _0x4b3c24(_0x3aca40,_0x491d73){return _0x2420cb(_0x491d73- -_0x109917._0x54744c,_0x3aca40);}function _0x5e3d4a(_0xc0a08f,_0x60dcb5){return _0x2420cb(_0xc0a08f- -_0x39b789._0x545fa5,_0x60dcb5);}_0x32130b['manGy']=function(_0x44c2a8,_0x28a269){return _0x44c2a8===_0x28a269;};const _0x162882=_0x32130b;return _0x162882[_0x4b3c24(0x987,0x8ce)](this[_0x5e3d4a(-0xc6,-_0x1f4640._0x3b9426)+_0x5e3d4a(0x2c1,_0x1f4640._0x183427)]?.['readySta'+'te'],_0x4221f7['OPEN']);}['isGatewa'+_0x2420cb(0x72f,0x7da)](){const _0x581d79={_0x226d65:0x8ee,_0x1d0bb4:0xdc,_0x3b257a:0x710,_0x3d3158:0x66b};function _0x455923(_0x5025f6,_0x76b098){return _0x410a57(_0x76b098,_0x5025f6-0x23d);}function _0x304242(_0x1ced7b,_0x176998){return _0x410a57(_0x176998,_0x1ced7b-0x42e);}return this[_0x304242(0x761,_0x581d79._0x226d65)+_0x455923(0x93,_0x581d79._0x1d0bb4)]?.[_0x304242(0x2c5,0x400)+'te']===_0x4221f7[_0x304242(_0x581d79._0x3b257a,_0x581d79._0x3d3158)];}[_0x2420cb(0x716,0x7c6)+'ers'](){const _0x1e44ec={_0x1d6628:0x2ab,_0x453118:0x89,_0x51e656:0x384,_0x3757c4:0x152,_0x571228:0x124,_0x10d579:0x384,_0x15b6ff:0x5c1,_0x3338c7:0x268,_0x4c1863:0x1c1,_0xc55c32:0x3af,_0x40d2d5:0x2c2,_0x248ef1:0x306,_0xb9177a:0x45a,_0x471276:0x359},_0xb3c1bf={'QXflN':function(_0x2c2660,_0x2ba1fa){return _0x2c2660(_0x2ba1fa);}};function _0x33d0b2(_0x3731df,_0x4481b4){return _0x410a57(_0x4481b4,_0x3731df-0xfb);}this['stopHear'+_0x4730d6(-0x13b,-_0x1e44ec._0x1d6628)]();function _0x4730d6(_0x399cfa,_0x1c6620){return _0x410a57(_0x1c6620,_0x399cfa-0xa1);}this[_0x4730d6(-0x152,-_0x1e44ec._0x453118)+_0x33d0b2(_0x1e44ec._0x51e656,0x4e9)]&&(clearTimeout(this[_0x4730d6(-_0x1e44ec._0x3757c4,-_0x1e44ec._0x571228)+_0x33d0b2(_0x1e44ec._0x10d579,0x13f)]),this['reconnec'+_0x33d0b2(0x384,_0x1e44ec._0x15b6ff)]=null),this['gatewayR'+_0x4730d6(_0x1e44ec._0x3338c7,_0x1e44ec._0x4c1863)+'r']&&(_0xb3c1bf[_0x4730d6(_0x1e44ec._0xc55c32,0x469)](clearTimeout,this[_0x33d0b2(0x337,0x446)+_0x33d0b2(_0x1e44ec._0x40d2d5,_0x1e44ec._0x248ef1)+'r']),this[_0x33d0b2(0x337,_0x1e44ec._0xb9177a)+_0x33d0b2(0x2c2,_0x1e44ec._0x471276)+'r']=null);}[_0x410a57(-0x75,0x28)+_0x410a57(0x23d,0x66)](_0x19f6c0){const _0x4ca30f={_0x53366a:0x89,_0x1fc692:0x1c,_0x2b5af6:0x17},_0x3516f8={_0x577d94:0x190},_0x20bb6c={};_0x20bb6c[_0x24fe17(-_0x4ca30f._0x53366a,-0x17)]=function(_0x3fb16f,_0x580b9c){return _0x3fb16f==_0x580b9c;};const _0x7bfcae=_0x20bb6c;function _0x24fe17(_0x4c3cd2,_0x2f8952){return _0x410a57(_0x4c3cd2,_0x2f8952-_0x3516f8._0x577d94);}function _0x249f3c(_0x3b60a3,_0x18345d){return _0x410a57(_0x3b60a3,_0x18345d-0x66);}return _0x7bfcae[_0x24fe17(_0x4ca30f._0x1fc692,-_0x4ca30f._0x2b5af6)](_0x19f6c0,null)?null:Math['max'](0x0,Date[_0x249f3c(-0x263,-0x6)]()-_0x19f6c0);}};function shouldKeepGatewayConnected(_0x5ed828,_0x308e72){const _0x150cd1={_0x293bed:0x483,_0x19dd19:0x483,_0x3bba3f:0x494},_0x9f0082={_0x1a5e86:0x22d},_0xc0594c={};_0xc0594c[_0x28ff5e(_0x150cd1._0x293bed,0x5d0)]=function(_0x3f7e0e,_0xc75cd9){return _0x3f7e0e>_0xc75cd9;};const _0xcf226f=_0xc0594c;function _0x7cfac6(_0x58e53d,_0x900dbf){return _0x410a57(_0x58e53d,_0x900dbf- -0x3);}function _0x28ff5e(_0x34a3a2,_0x175cbb){return _0x410a57(_0x175cbb,_0x34a3a2-_0x9f0082._0x1a5e86);}return _0xcf226f[_0x7cfac6(0x48f,0x253)](_0x5ed828,0x0)||_0xcf226f[_0x28ff5e(_0x150cd1._0x19dd19,_0x150cd1._0x3bba3f)](_0x308e72,0x0);}function shouldScheduleGatewayIdleClose(_0x2d85d1,_0x489716,_0x54fdba){const _0x125b56={_0x1f549e:0x587};function _0x304312(_0x2d8b1d,_0x55b3d3){return _0x410a57(_0x55b3d3,_0x2d8b1d-_0x125b56._0x1f549e);}const _0x58d8b1={'IsezO':function(_0xc12123,_0x2b0e8e,_0x273d49){return _0xc12123(_0x2b0e8e,_0x273d49);}};return _0x54fdba&&!_0x58d8b1[_0x304312(0x5a8,0x46b)](shouldKeepGatewayConnected,_0x2d85d1,_0x489716);}function shouldRecycleGatewayForFreshClient(_0x299c3e,_0x1b02ca,_0x419758,_0x8d582){return _0x419758&&_0x1b02ca>0x0&&(_0x299c3e===0x0||_0x8d582);}function summarizePendingGatewayMessages(_0x22aa90){const _0x2346f9={_0x5b4535:0x245,_0x32b2e3:0x9b0,_0x3b3143:0x260,_0x24ab2e:0x21b,_0x2da0b9:0x1dc,_0x1732f4:0x2d4,_0x3caf41:0x50c,_0x3e6d18:0x318},_0x225b78={_0x1fa607:0x3cd};function _0x5108b8(_0x43863c,_0x438f53){return _0x2420cb(_0x438f53-0x72,_0x43863c);}function _0x432a55(_0x1276e1,_0x2c5617){return _0x2420cb(_0x2c5617- -_0x225b78._0x1fa607,_0x1276e1);}const _0x1343c9={};_0x1343c9[_0x5108b8(0xa04,0x877)]=_0x22aa90[_0x432a55(_0x2346f9._0x5b4535,0x228)],_0x1343c9[_0x5108b8(0xa81,0x88e)+'equests']=0x0,_0x1343c9[_0x5108b8(_0x2346f9._0x32b2e3,0x757)+'t']=0x0,_0x1343c9['binary']=0x0;const _0x49463e=_0x1343c9;for(const _0x3a698f of _0x22aa90){if(_0x3a698f[_0x5108b8(0xb59,0xa64)]===_0x5108b8(0x7f0,0x65a)){_0x49463e[_0x432a55(_0x2346f9._0x3b3143,_0x2346f9._0x24ab2e)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x3a698f[_0x432a55(_0x2346f9._0x2da0b9,_0x2346f9._0x1732f4)])){_0x49463e[_0x5108b8(0x648,0x88e)+_0x432a55(_0x2346f9._0x3caf41,0x338)]+=0x1;continue;}_0x49463e[_0x432a55(0x411,_0x2346f9._0x3e6d18)+'t']+=0x1;}return _0x49463e;}function dedupePendingGatewayMessages(_0x3982cb){const _0x43441e={_0x2d2277:0x1c3,_0x21abd5:0x3ac,_0x113ae5:0x5ab,_0x3f1cdf:0x259,_0x590377:0x3ab,_0x2fdb17:0x61d,_0x4009b9:0x395},_0x49f1d0={_0x42926b:0x470},_0x486ffb={};_0x486ffb[_0x35f4a9(0x2d0,0x566)]=function(_0x3e2f39,_0x11de4d){return _0x3e2f39===_0x11de4d;};function _0x117a61(_0x43e33c,_0x50dfb5){return _0x410a57(_0x43e33c,_0x50dfb5-_0x49f1d0._0x42926b);}const _0x1953b8=_0x486ffb;let _0x493f03=-0x1;for(let _0x393e31=_0x3982cb[_0x35f4a9(0x300,_0x43441e._0x2d2277)]-0x1;_0x393e31>=0x0;_0x393e31-=0x1){const _0x3b1bd0=_0x3982cb[_0x393e31];if(_0x1953b8['Psjmk'](_0x3b1bd0?.[_0x117a61(0x795,0x792)],_0x35f4a9(_0x43441e._0x21abd5,0x3bb))&&isConnectHandshakeRequest(_0x3b1bd0['text'])){_0x493f03=_0x393e31;break;}}function _0x35f4a9(_0x7b0b56,_0x3f5ee3){return _0x410a57(_0x3f5ee3,_0x7b0b56-0x3db);}if(_0x493f03<=0x0){const _0x453207={};return _0x453207['messages']=[..._0x3982cb],_0x453207[_0x35f4a9(0x259,0x2a6)]=0x0,_0x453207;}const _0x13a91b=_0x3982cb[_0x117a61(_0x43441e._0x113ae5,0x47a)]((_0x1deab5,_0x4ec42f)=>_0x4ec42f>=_0x493f03||(_0x1deab5[_0x35f4a9(0x6fd,0x7b9)]!==_0x35f4a9(0x3ac,0x63d)||!isConnectHandshakeRequest(_0x1deab5[_0x35f4a9(0x3ac,0x37a)]))),_0x5906ff={};return _0x5906ff[_0x117a61(0x607,0x670)]=_0x13a91b,_0x5906ff[_0x35f4a9(_0x43441e._0x3f1cdf,_0x43441e._0x590377)]=_0x3982cb[_0x117a61(_0x43441e._0x2fdb17,0x395)]-_0x13a91b[_0x117a61(0x411,_0x43441e._0x4009b9)],_0x5906ff;}function prunePendingGatewayMessagesForFreshDemand(_0x1ed947){const _0x261b2f={_0x32ef18:0x424,_0x10a4be:0x480,_0x3f6c53:0xa3c,_0x5056f8:0x175,_0x186526:0x7a7,_0x5350b5:0x40},_0x522ba6={_0x4bc517:0x27},_0x577b80={'AttSd':function(_0x326d68,_0x16782c){return _0x326d68>=_0x16782c;},'DxlUn':'text','EuDId':function(_0x38b790,_0x5c34de){return _0x38b790(_0x5c34de);}};if(_0x1ed947['length']===0x0){const _0x3f4062={};return _0x3f4062[_0x12601c(0x67c,0x8a9)]=[],_0x3f4062[_0x12601c(_0x261b2f._0x32ef18,0x527)]=0x0,_0x3f4062;}let _0x4175a5=-0x1;for(let _0x45c806=_0x1ed947[_0x12601c(0x573,0x5ce)]-0x1;_0x577b80[_0x537453(0x22a,_0x261b2f._0x10a4be)](_0x45c806,0x0);_0x45c806-=0x1){const _0x376770=_0x1ed947[_0x45c806];if(_0x376770?.[_0x12601c(_0x261b2f._0x3f6c53,0x9cb)]===_0x577b80[_0x537453(_0x261b2f._0x5056f8,0xc)]&&_0x577b80[_0x12601c(0x882,0x76d)](isConnectHandshakeRequest,_0x376770['text'])){_0x4175a5=_0x45c806;break;}}function _0x537453(_0x4a354f,_0x2b750a){return _0x2420cb(_0x4a354f- -0x6ed,_0x2b750a);}if(_0x4175a5===-0x1){const _0x1d25cc={};return _0x1d25cc['messages']=[],_0x1d25cc[_0x12601c(0x768,0x527)]=_0x1ed947['length'],_0x1d25cc;}const _0xf86246=_0x1ed947[_0x537453(0x291,0x1ea)](_0x4175a5);function _0x12601c(_0x5530a6,_0x404c81){return _0x2420cb(_0x404c81- -_0x522ba6._0x4bc517,_0x5530a6);}const _0x3925e5={};return _0x3925e5[_0x12601c(_0x261b2f._0x186526,0x8a9)]=_0xf86246,_0x3925e5[_0x537453(-0x19f,_0x261b2f._0x5350b5)]=_0x1ed947[_0x12601c(0x4d8,0x5ce)]-_0xf86246[_0x12601c(0x585,0x5ce)],_0x3925e5;}function patchConnectRequestGatewayAuth(_0x350c82,_0x297cc5){const _0x1f95eb={_0x31d415:0x547,_0x1c3922:0x185,_0x3e1e38:0x517,_0x49cb8c:0x478,_0x11356c:0x519,_0x237109:0x619,_0x53d6b9:0x5c3,_0x548c83:0x643,_0x2f3f00:0x1c6,_0x2c432b:0x4e3,_0x55dd49:0x144,_0x41ef91:0x543,_0x5e0225:0x487,_0xac882d:0x3b3,_0x579f1a:0x365,_0x2b44c0:0x67d,_0x41d444:0x2a2,_0x2d841d:0x64f,_0x1811c1:0x56d,_0x34a4c3:0x430,_0x52fbfc:0x53c,_0x232816:0x27e,_0x28494c:0x6fb,_0xe95529:0x209,_0x52fb7e:0x2b5,_0x52c586:0x301,_0x4b7dcc:0x2eb,_0x82209c:0x4dc,_0x7b905a:0x40a,_0x3ac85a:0x2b0,_0x44462b:0x3cc,_0x52e3bd:0x4c7},_0x26ac78={_0x403887:0x33c},_0x555c11={_0x102f4e:0x3a0},_0x3d8ec0={};_0x3d8ec0[_0x3e00f3(_0x1f95eb._0x31d415,0x5e6)]=_0x3e00f3(0x1a0,_0x1f95eb._0x1c3922),_0x3d8ec0['QhdlX']=function(_0x4fd67e,_0x5ad17c){return _0x4fd67e===_0x5ad17c;};function _0x20e118(_0x40ef06,_0x5462b8){return _0x2420cb(_0x40ef06- -_0x555c11._0x102f4e,_0x5462b8);}function _0x3e00f3(_0x17282f,_0x13df66){return _0x2420cb(_0x17282f- -_0x26ac78._0x403887,_0x13df66);}_0x3d8ec0[_0x20e118(0x56d,0x76e)]=_0x20e118(_0x1f95eb._0x3e1e38,0x45e);const _0x31030a=_0x3d8ec0;if(_0x297cc5['authMode']!=='password'||!_0x297cc5[_0x20e118(_0x1f95eb._0x49cb8c,0x3da)]){const _0x5560e6={};return _0x5560e6[_0x20e118(0x301,_0x1f95eb._0x11356c)]=_0x350c82,_0x5560e6[_0x20e118(_0x1f95eb._0x237109,0x7f4)]=![],_0x5560e6;}try{const _0x5df6f7=JSON[_0x20e118(_0x1f95eb._0x53d6b9,0x581)](_0x350c82);if(_0x5df6f7[_0x20e118(_0x1f95eb._0x548c83,0x4a2)]!==_0x3e00f3(0x1de,-0xa0)||_0x5df6f7[_0x20e118(_0x1f95eb._0x2f3f00,0xe6)]!==_0x31030a[_0x20e118(_0x1f95eb._0x2c432b,0x3a4)]&&_0x5df6f7[_0x20e118(0x1c6,_0x1f95eb._0x55dd49)]!==_0x20e118(_0x1f95eb._0x41ef91,_0x1f95eb._0x5e0225)+_0x3e00f3(_0x1f95eb._0xac882d,0x2c7)){const _0x3d5c37={};return _0x3d5c37[_0x3e00f3(_0x1f95eb._0x579f1a,0x506)]=_0x350c82,_0x3d5c37[_0x3e00f3(_0x1f95eb._0x2b44c0,0x433)]=![],_0x3d5c37;}const _0x2edbe1=_0x5df6f7[_0x3e00f3(0x430,_0x1f95eb._0x41d444)]&&_0x31030a['QhdlX'](typeof _0x5df6f7[_0x3e00f3(0x430,_0x1f95eb._0x2d841d)],_0x31030a[_0x20e118(_0x1f95eb._0x1811c1,0x411)])?{..._0x5df6f7[_0x3e00f3(_0x1f95eb._0x34a4c3,0x4be)]}:{},_0x5f4823=_0x2edbe1['auth']&&typeof _0x2edbe1[_0x3e00f3(0x314,_0x1f95eb._0x52fbfc)]===_0x3e00f3(0x57b,0x46a)?{..._0x2edbe1[_0x3e00f3(0x314,0x2d4)]}:{},_0x286796=typeof _0x5f4823[_0x20e118(0x478,_0x1f95eb._0x232816)]===_0x3e00f3(0x6c6,0x720)?_0x5f4823[_0x3e00f3(0x4dc,_0x1f95eb._0x28494c)][_0x20e118(_0x1f95eb._0xe95529,_0x1f95eb._0x52fb7e)]():'';if(_0x286796){const _0x29b2e4={};return _0x29b2e4[_0x20e118(_0x1f95eb._0x52c586,_0x1f95eb._0x4b7dcc)]=_0x350c82,_0x29b2e4['injected']=![],_0x29b2e4;}_0x5f4823[_0x20e118(0x478,0x34c)]=_0x297cc5[_0x3e00f3(_0x1f95eb._0x82209c,_0x1f95eb._0x7b905a)],_0x2edbe1[_0x20e118(_0x1f95eb._0x3ac85a,0x178)]=_0x5f4823;const _0x56e18c={..._0x5df6f7};return _0x56e18c[_0x20e118(_0x1f95eb._0x44462b,_0x1f95eb._0x52e3bd)]=_0x2edbe1,{'text':JSON['stringif'+'y'](_0x56e18c),'injected':!![]};}catch{const _0x58ba94={};return _0x58ba94['text']=_0x350c82,_0x58ba94[_0x3e00f3(_0x1f95eb._0x2b44c0,0x5b4)]=![],_0x58ba94;}}function formatConnectHandshakeMetaForLog(_0x432356){const _0x378fb0={_0x1a6317:0x2ee,_0x3c354f:0x223,_0x3d5f96:0x43,_0x37e750:0x21d,_0x2f2c67:0x639,_0x5be5d4:0x887,_0x94c2e5:0x375,_0x2cc389:0x34b,_0x32ab97:0x68e,_0x4fa0d2:0x49f,_0x2b4fac:0x86e,_0x3e7fb4:0x28e,_0x33d396:0x6a6,_0x475eb7:0x605,_0x2d76f2:0x32d,_0x18e474:0x6a5,_0x25fdda:0x835,_0x1533aa:0x78d},_0x5615f4={_0x20d55b:0x435};function _0x3ffc09(_0x5392f4,_0x2e4e12){return _0x2420cb(_0x2e4e12- -_0x5615f4._0x20d55b,_0x5392f4);}const _0x4e9863={};_0x4e9863['hMQqt']=_0x3ffc09(_0x378fb0._0x1a6317,_0x378fb0._0x3c354f);const _0x1e0cf3=_0x4e9863;if(!_0x432356)return'';function _0x4f3de8(_0x4ed90f,_0x5916b1){return _0x2420cb(_0x5916b1-0xd3,_0x4ed90f);}return _0x3ffc09(-_0x378fb0._0x3d5f96,_0x378fb0._0x37e750)+_0x432356[_0x4f3de8(0x8bd,_0x378fb0._0x2f2c67)]+_0x4f3de8(_0x378fb0._0x5be5d4,0x77e)+(_0x432356['id']??'<none>')+(_0x3ffc09(_0x378fb0._0x94c2e5,_0x378fb0._0x2cc389)+_0x3ffc09(_0x378fb0._0x32ab97,_0x378fb0._0x4fa0d2))+_0x432356[_0x4f3de8(0x8f9,_0x378fb0._0x2b4fac)+_0x3ffc09(_0x378fb0._0x3e7fb4,0x339)]+('\x20nonceLe'+_0x4f3de8(_0x378fb0._0x33d396,0x682))+(_0x432356['nonceLen'+'gth']??0x0)+('\x20authFie'+_0x4f3de8(_0x378fb0._0x475eb7,0x883))+(_0x432356[_0x3ffc09(0x27a,_0x378fb0._0x2d76f2)+'ds']['length']>0x0?_0x432356[_0x4f3de8(_0x378fb0._0x18e474,_0x378fb0._0x25fdda)+'ds'][_0x4f3de8(0x815,_0x378fb0._0x1533aa)](','):_0x1e0cf3['hMQqt']);}function buildRelayWsUrl(_0x221a67){const _0x3552e2={_0x1d6328:0x17c,_0x14d66a:0x17c,_0x274bc5:0x2e7,_0x74c921:0x320,_0x317c6a:0x57b,_0xeece7b:0x3a4,_0x233916:0x623,_0x16bb8c:0x52e,_0x20237e:0x7ad,_0x1ed727:0x3ce,_0x40b524:0x44,_0x4aa40a:0x521,_0x5c2484:0x59b,_0x29d63e:0x668,_0x4b714f:0x665,_0x382672:0x630,_0x3c690d:0x8ab},_0x4bb862={_0x185d8e:0x2cf},_0x7d5b2c={_0x5e0a3d:0x461},_0x325cfc=new URL(_0x221a67['relayUrl']);(!_0x325cfc[_0x5ea51d(_0x3552e2._0x1d6328,0x59)]||_0x325cfc[_0x5ea51d(0x17c,0x17d)]==='/')&&(_0x325cfc[_0x5ea51d(_0x3552e2._0x14d66a,_0x3552e2._0x274bc5)]=_0x5ea51d(0x292,0x2c7));_0x325cfc['searchPa'+'rams']['set'](_0x5ea51d(_0x3552e2._0x74c921,_0x3552e2._0x317c6a)+'d',_0x221a67[_0xb398d4(0x4b2,0x302)+'d']),_0x325cfc[_0xb398d4(_0x3552e2._0xeece7b,0x55d)+_0xb398d4(_0x3552e2._0x233916,0x552)]['set']('role',_0x5ea51d(0x400,0x2b8));function _0x5ea51d(_0x5b58de,_0x52d7a5){return _0x2420cb(_0x5b58de- -_0x7d5b2c._0x5e0a3d,_0x52d7a5);}_0x325cfc[_0xb398d4(_0x3552e2._0xeece7b,0x543)+_0x5ea51d(0x491,0x285)]['set'](_0x5ea51d(_0x3552e2._0x16bb8c,_0x3552e2._0x20237e),_0x221a67[_0xb398d4(0x337,_0x3552e2._0x1ed727)+'Id']);function _0xb398d4(_0x28caf7,_0x2cb7ec){return _0x2420cb(_0x28caf7- -_0x4bb862._0x185d8e,_0x2cb7ec);}return _0x325cfc[_0x5ea51d(0x212,_0x3552e2._0x40b524)+'rams'][_0xb398d4(_0x3552e2._0x4aa40a,_0x3552e2._0x5c2484)](_0x5ea51d(0xa7,0x156),_0x221a67[_0xb398d4(_0x3552e2._0x29d63e,_0x3552e2._0x4b714f)+_0xb398d4(_0x3552e2._0x382672,_0x3552e2._0x3c690d)]),_0x325cfc[_0x5ea51d(0x2a9,0x9f)]();}function redactRelayWsUrl(_0x5d0bf8){const _0x3a5743={_0x340d94:0x36d,_0x83bd71:0x195,_0x512de6:0x322,_0x1ca358:0x574};function _0x2837b6(_0x1344af,_0x23ef95){return _0x2420cb(_0x1344af- -0x373,_0x23ef95);}const _0x4feab6=new URL(_0x5d0bf8);_0x4feab6[_0x5784a5(0x28b,0x356)+'rams'][_0x2837b6(0x414,_0x3a5743._0x340d94)](_0x5784a5(0x120,0x34d))&&_0x4feab6[_0x5784a5(0x28b,0x40f)+'rams']['set'](_0x2837b6(_0x3a5743._0x83bd71,0x15d),'<redacte'+'d>');function _0x5784a5(_0x5bd1f0,_0x5cf6ad){return _0x2420cb(_0x5bd1f0- -0x3e8,_0x5cf6ad);}return _0x4feab6[_0x5784a5(_0x3a5743._0x512de6,_0x3a5743._0x1ca358)]();}function normalizeText(_0x3799d2){const _0x32f613={_0x272f01:0x926,_0xa267f1:0x543,_0x3f405f:0x573,_0x40c2ea:0x1c3,_0x497e1d:0x2c0,_0xaf5098:0x336,_0x235702:0x147,_0x302564:0x249,_0x2a71b5:0x2e7,_0x3a3b32:0x2c0,_0x3c6d83:0x6c4,_0x2760e6:0x736,_0x4efd66:0x217,_0x2a27e5:0x27b},_0xcfcc34={_0x14a65b:0x55};function _0x4acf15(_0x142aa4,_0x5e219a){return _0x2420cb(_0x5e219a- -0x2d0,_0x142aa4);}const _0x2bc822={};_0x2bc822[_0x4cff09(_0x32f613._0x272f01,0x6fd)]=_0x4acf15(_0x32f613._0xa267f1,0x732);function _0x4cff09(_0x439066,_0x419b55){return _0x2420cb(_0x419b55-_0xcfcc34._0x14a65b,_0x439066);}_0x2bc822[_0x4acf15(0x528,_0x32f613._0x3f405f)]=_0x4acf15(_0x32f613._0x40c2ea,0x27b),_0x2bc822[_0x4acf15(0x3b8,_0x32f613._0x497e1d)]=function(_0x28786a,_0x3d3048){return _0x28786a instanceof _0x3d3048;};const _0x2c1a2d=_0x2bc822;if(typeof _0x3799d2===_0x2c1a2d[_0x4acf15(_0x32f613._0xaf5098,0x3d8)])return _0x3799d2;if(Buffer['isBuffer'](_0x3799d2))return _0x3799d2[_0x4cff09(0x75a,0x75f)](_0x2c1a2d['rjdCa']);if(Array[_0x4acf15(_0x32f613._0x235702,_0x32f613._0x302564)](_0x3799d2))return Buffer['concat'](_0x3799d2)['toString']('utf8');if(_0x2c1a2d[_0x4acf15(_0x32f613._0x2a71b5,_0x32f613._0x3a3b32)](_0x3799d2,ArrayBuffer))return Buffer[_0x4cff09(_0x32f613._0x3c6d83,_0x32f613._0x2760e6)](_0x3799d2)[_0x4acf15(0x4e7,0x43a)](_0x4acf15(_0x32f613._0x4efd66,_0x32f613._0x2a27e5));return null;}function normalizeBinary(_0x2de56d){const _0xdde902={_0x4c7163:0x1ba,_0x29f016:0x2e2,_0x434a35:0xe6,_0x4d0b00:0x19,_0x1bd597:0x14d,_0x20c8a3:0x621},_0x4cf791={};function _0x56da26(_0x1b5e9d,_0x5f1eac){return _0x410a57(_0x1b5e9d,_0x5f1eac-0x414);}_0x4cf791[_0x5d8d96(-0x89,-_0xdde902._0x4c7163)]=_0x56da26(0x782,0x746);function _0x5d8d96(_0x333e91,_0x4b712b){return _0x410a57(_0x4b712b,_0x333e91-0xd5);}const _0x17b2a4=_0x4cf791;if(Buffer[_0x56da26(0x7b,_0xdde902._0x29f016)](_0x2de56d))return _0x2de56d;if(typeof _0x2de56d===_0x17b2a4[_0x5d8d96(-0x89,-0x268)])return Buffer[_0x5d8d96(_0xdde902._0x434a35,-_0xdde902._0x4d0b00)](_0x2de56d,'utf8');if(Array[_0x56da26(_0xdde902._0x1bd597,0x25d)](_0x2de56d))return Buffer[_0x56da26(_0xdde902._0x20c8a3,0x52c)](_0x2de56d);return Buffer[_0x56da26(0x618,0x425)](_0x2de56d);}function readRecentCliLogs(_0xcf3e24){const _0x551477={_0x1254ce:0x32d,_0x18a4df:0x6e4,_0x99d112:0x446,_0x12031b:0x248,_0x35f5cf:0x3d1,_0x238fbf:0x4b3,_0xa33c99:0x3fc},_0x5967e4={_0x1e2ddb:0x378},_0x41b0a4={};_0x41b0a4[_0x1c124f(0x7d2,0x6e4)]=function(_0x1b5461,_0x10bf75){return _0x1b5461!=_0x10bf75;};function _0x1c124f(_0x20e215,_0x4ce115){return _0x410a57(_0x20e215,_0x4ce115-0x4b2);}const _0x5ba73d=_0x41b0a4;function _0x33d55f(_0x2291c5,_0x1c5b78){return _0x410a57(_0x2291c5,_0x1c5b78-_0x5967e4._0x1e2ddb);}const {logPath:_0x35de48,errorLogPath:_0xeab01a}=getServicePaths(),_0x5c9ca1=clampLines(_0xcf3e24?.['lines']??0xc8),_0x118c92=_0xcf3e24?.[_0x33d55f(0x3a3,_0x551477._0x1254ce)]??null,_0x88b16c=_0x5ba73d[_0x1c124f(0x4d5,_0x551477._0x18a4df)](_0x118c92,null)?Date[_0x1c124f(0x2cd,_0x551477._0x99d112)]()-_0x118c92:null,_0xf8dfcb=[_0x35de48];_0xcf3e24?.[_0x1c124f(0x68b,0x579)+_0x33d55f(_0x551477._0x12031b,0x378)]&&_0xf8dfcb[_0x1c124f(_0x551477._0x35f5cf,_0x551477._0x238fbf)](_0xeab01a);const _0x2ef274=_0xf8dfcb['flatMap'](_0x1d63e4=>readLogFile(_0x1d63e4)),_0x3b3c5a=_0x88b16c==null?_0x2ef274:_0x2ef274[_0x1c124f(0x40c,0x4bc)](_0x5bf00b=>_0x5bf00b['ts']!=null&&_0x5bf00b['ts']>=_0x88b16c);return _0x3b3c5a['slice'](-_0x5c9ca1)[_0x1c124f(0x333,_0x551477._0xa33c99)](_0x20248c=>_0x20248c[_0x1c124f(0x58e,0x4ef)]);}async function buildDoctorReport(){const _0x1ef7f={_0x4320c2:0x22b,_0x5d8f8c:0x52c,_0x13594b:0x230,_0xb26823:0x30f,_0x42b40c:0x703,_0x292f41:0x3e0,_0x27bcc2:0x420,_0x2ed126:0x4ab,_0xdfb89a:0x6b5,_0x55e2b8:0x3ea,_0x18c3b1:0x14b,_0x3814be:0x25,_0x5c7132:0x335,_0x6516af:0x3ec},_0x57e778={'omlyR':function(_0x110543){return _0x110543();},'lnQwa':function(_0x100ab3,_0x579543){return _0x100ab3(_0x579543);}},_0x4036ff=_0x57e778[_0x46f84b(_0x1ef7f._0x4320c2,0x2d)](readPairingConfig);function _0x2eecc5(_0x53720e,_0x7f29b7){return _0x410a57(_0x7f29b7,_0x53720e-0x47b);}function _0x46f84b(_0x4f7169,_0x2e1ab7){return _0x410a57(_0x2e1ab7,_0x4f7169-0x1ed);}const _0x59a1ff=getServiceStatus(),_0x410ef4=readOpenClawInfo(),_0x64fe6b=resolveGatewayUrl(),_0x4d8f76=await checkGatewayReachable(_0x64fe6b);return{'paired':Boolean(_0x4036ff),'gatewayId':_0x4036ff?.[_0x2eecc5(_0x1ef7f._0x5d8f8c,0x6f0)+'d']??null,'serverUrl':_0x4036ff?.[_0x46f84b(0x2eb,_0x1ef7f._0x13594b)+'l']??null,'relayUrl':_0x4036ff?.[_0x2eecc5(0x2fc,_0x1ef7f._0xb26823)]??null,'instanceId':_0x4036ff?.[_0x2eecc5(0x3b1,0x400)+'Id']??null,'serviceInstalled':_0x59a1ff['installe'+'d'],'serviceRunning':_0x59a1ff[_0x2eecc5(0x772,0x6a2)],'serviceMethod':_0x59a1ff[_0x2eecc5(0x311,0x48f)],'servicePath':_0x59a1ff[_0x46f84b(0x50,0x287)+_0x2eecc5(_0x1ef7f._0x42b40c,0x83f)],'logPath':_0x59a1ff[_0x2eecc5(0x51a,_0x1ef7f._0x292f41)],'errorLogPath':_0x59a1ff['errorLog'+_0x2eecc5(0x684,_0x1ef7f._0x27bcc2)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x410ef4[_0x2eecc5(_0x1ef7f._0x2ed126,_0x1ef7f._0xdfb89a)+_0x2eecc5(_0x1ef7f._0x55e2b8,0x1fb)],'openclawAuthMode':_0x410ef4[_0x46f84b(0x196,_0x1ef7f._0x18c3b1)],'openclawTokenFound':_0x57e778['lnQwa'](Boolean,_0x410ef4[_0x46f84b(_0x1ef7f._0x3814be,0x150)]),'openclawPasswordFound':Boolean(_0x410ef4[_0x46f84b(_0x1ef7f._0x5c7132,_0x1ef7f._0x6516af)]),'localGatewayUrl':_0x64fe6b,'localGatewayReachable':_0x4d8f76};}function _0x483f(_0x1c06e9,_0xf2b321){_0x1c06e9=_0x1c06e9-0x1ce;const _0x33c156=_0x2fe6();let _0x5a0693=_0x33c156[_0x1c06e9];if(_0x483f['IpVHKz']===undefined){var _0x5be685=function(_0x399934){const _0x28781c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8f59ac='',_0xff9939='',_0x184a00=_0x8f59ac+_0x5be685;for(let _0x59a421=0x0,_0x296103,_0x41604a,_0x56ad23=0x0;_0x41604a=_0x399934['charAt'](_0x56ad23++);~_0x41604a&&(_0x296103=_0x59a421%0x4?_0x296103*0x40+_0x41604a:_0x41604a,_0x59a421++%0x4)?_0x8f59ac+=_0x184a00['charCodeAt'](_0x56ad23+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x296103>>(-0x2*_0x59a421&0x6)):_0x59a421:0x0){_0x41604a=_0x28781c['indexOf'](_0x41604a);}for(let _0x157cb7=0x0,_0x39c8e6=_0x8f59ac['length'];_0x157cb7<_0x39c8e6;_0x157cb7++){_0xff9939+='%'+('00'+_0x8f59ac['charCodeAt'](_0x157cb7)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xff9939);};_0x483f['pYUjJJ']=_0x5be685,_0x483f['yQRKdi']={},_0x483f['IpVHKz']=!![];}const _0x2fe6d4=_0x33c156[0x0],_0x483f9d=_0x1c06e9+_0x2fe6d4,_0x4645d3=_0x483f['yQRKdi'][_0x483f9d];if(!_0x4645d3){const _0x15a617=function(_0x144bba){this['OtpiKu']=_0x144bba,this['HeDiZw']=[0x1,0x0,0x0],this['pzqZHl']=function(){return'newState';},this['nyOcZD']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['uTNYmd']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x15a617['prototype']['hSnNBv']=function(){const _0x9a721c=new RegExp(this['nyOcZD']+this['uTNYmd']),_0x5b57a3=_0x9a721c['test'](this['pzqZHl']['toString']())?--this['HeDiZw'][0x1]:--this['HeDiZw'][0x0];return this['KIYRUm'](_0x5b57a3);},_0x15a617['prototype']['KIYRUm']=function(_0x4a1ce4){if(!Boolean(~_0x4a1ce4))return _0x4a1ce4;return this['vkizQn'](this['OtpiKu']);},_0x15a617['prototype']['vkizQn']=function(_0x350454){for(let _0x5d6686=0x0,_0x5aad5f=this['HeDiZw']['length'];_0x5d6686<_0x5aad5f;_0x5d6686++){this['HeDiZw']['push'](Math['round'](Math['random']())),_0x5aad5f=this['HeDiZw']['length'];}return _0x350454(this['HeDiZw'][0x0]);},new _0x15a617(_0x483f)['hSnNBv'](),_0x5a0693=_0x483f['pYUjJJ'](_0x5a0693),_0x483f['yQRKdi'][_0x483f9d]=_0x5a0693;}else _0x5a0693=_0x4645d3;return _0x5a0693;}async function ensurePairPrerequisites(){const _0x31d5ff={_0x1e4279:0x1b7,_0x43670a:0x363,_0x45a939:0x4fa,_0x219a4c:0x71b,_0x3b324e:0x298,_0x3dd687:0x51f,_0x1dbc87:0x34d,_0x24cbc8:0x3a6,_0x5983a3:0x8d1,_0x5da1de:0x598,_0x3a39cc:0x7e0,_0x47d921:0x95f,_0x3dda23:0x778,_0x417c59:0x5df,_0x584add:0x51b,_0x3bd1fe:0x60f,_0x543dbe:0x680,_0x204b2a:0x466,_0x58fbf2:0x357,_0x44bebf:0x89a,_0x135529:0x718,_0x29e2a7:0x6aa,_0x197227:0x5d4,_0x59fc67:0x780,_0x1062da:0x8f8,_0x1c9a40:0x5fd,_0x51806d:0x65e},_0x1e9cb7={_0x43a356:0x4f0},_0x2cef26=await buildDoctorReport(),_0x1e8ebb=listPairPrerequisiteFailures(_0x2cef26);function _0x106efd(_0x48be0a,_0x148149){return _0x410a57(_0x48be0a,_0x148149-_0x1e9cb7._0x43a356);}if(_0x1e8ebb[_0x106efd(0x56a,0x415)]>0x0)throw new Error(['Cannot\x20c'+_0x106efd(_0x31d5ff._0x1e4279,_0x31d5ff._0x43670a)+_0x5cf881(0x51a,_0x31d5ff._0x45a939)+_0x106efd(0x79a,_0x31d5ff._0x219a4c)+_0x106efd(0x8e4,0x7c6)+_0x5cf881(_0x31d5ff._0x3b324e,_0x31d5ff._0x3dd687)+_0x106efd(0x471,_0x31d5ff._0x1dbc87)+_0x5cf881(_0x31d5ff._0x24cbc8,0x492)+'tes\x20are\x20'+_0x5cf881(0x814,_0x31d5ff._0x5983a3)+'y.',..._0x1e8ebb['map'](_0x5c36a9=>'-\x20'+_0x5c36a9),_0x106efd(0x5a6,_0x31d5ff._0x5da1de)+_0x5cf881(_0x31d5ff._0x3a39cc,0x824)+_0x5cf881(0xb5f,_0x31d5ff._0x47d921)+_0x106efd(_0x31d5ff._0x3dda23,_0x31d5ff._0x417c59)+_0x106efd(0x748,0x4f7)+_0x106efd(_0x31d5ff._0x584add,_0x31d5ff._0x3bd1fe)+_0x5cf881(_0x31d5ff._0x543dbe,0x766)+_0x106efd(_0x31d5ff._0x204b2a,_0x31d5ff._0x58fbf2)+_0x5cf881(0xaba,_0x31d5ff._0x44bebf)+_0x106efd(0x7b3,_0x31d5ff._0x135529)+_0x5cf881(_0x31d5ff._0x29e2a7,0x643)+'onally\x20w'+_0x106efd(_0x31d5ff._0x197227,_0x31d5ff._0x59fc67)+_0x106efd(0x45c,0x48e)+_0x5cf881(0x7e3,_0x31d5ff._0x1062da)+'y\x20check.'][_0x5cf881(_0x31d5ff._0x1c9a40,_0x31d5ff._0x51806d)]('\x0a'));function _0x5cf881(_0x5efaeb,_0x3610b4){return _0x410a57(_0x5efaeb,_0x3610b4-0x674);}return _0x2cef26;}function listPairPrerequisiteFailures(_0x358e79){const _0x481737={_0x211b2e:0x712,_0x318040:0x74a,_0x22d9ea:0x290,_0x1a27ef:0x44f,_0x17a6f9:0x839,_0x27a791:0x528,_0x1a0ea7:0x8d8,_0x44816c:0x6c7,_0x34e8dd:0x5cd,_0x197c19:0x1cc,_0x3291ce:0x5ab,_0x3f7502:0x6be,_0x3d5495:0x32b,_0x1b7ebe:0x57b,_0x19078d:0x8ad,_0x544e3b:0x7ea,_0x22414e:0x97c,_0x41f4b5:0x56d,_0x34107e:0x668,_0x1ee76d:0x66f,_0x1b5dfc:0x917,_0x233e09:0x7c1,_0x2ac02d:0x31a,_0x406351:0x38d,_0x419abd:0x623,_0x5e47eb:0x597,_0x56f9a4:0x4f4,_0x22a7f7:0x6ba,_0x508957:0x5a7,_0x33f202:0x50e,_0x43a9ed:0x824,_0x37337d:0x856,_0x2a66a5:0x698,_0x2fab29:0x508,_0x106398:0x1a2,_0x237c2c:0x966,_0x1b433d:0x834,_0x3831bc:0x5c3,_0x579660:0x682,_0x221841:0x303,_0x2a6c81:0x4b5,_0x4fff2f:0x555,_0x2076fe:0x6a7,_0x2ddcfd:0x6c4,_0x5cc618:0x872,_0x2b7ef5:0x72c,_0x3873f4:0x578,_0x467c16:0x6d3,_0xbe0036:0x640,_0x29d551:0x65a,_0x1d0a3e:0x4da,_0x44624b:0x4e1,_0x36be82:0x420,_0x5b6458:0x697,_0xf72ab7:0x57d,_0x25967b:0x3dc},_0xa2becf={_0x3fe510:0x1f0},_0x9bda78={_0x573cb4:0xd},_0x1d85f7={};_0x1d85f7[_0x46af80(0x57b,_0x481737._0x211b2e)]=function(_0x8fbcdb,_0x3300e7){return _0x8fbcdb==_0x3300e7;};const _0x3722e2=_0x1d85f7,_0x54d291=[];function _0x46af80(_0x8bce46,_0xd545b5){return _0x2420cb(_0x8bce46- -_0x9bda78._0x573cb4,_0xd545b5);}!_0x358e79['openclaw'+_0x46af80(_0x481737._0x318040,0x6e0)+_0x52aa34(_0x481737._0x22d9ea,_0x481737._0x1a27ef)]&&_0x54d291['push'](_0x46af80(_0x481737._0x17a6f9,0x8f8)+_0x52aa34(0x773,_0x481737._0x27a791)+'was\x20not\x20'+_0x46af80(0x728,_0x481737._0x1a0ea7)+_0x52aa34(_0x481737._0x44816c,_0x481737._0x34e8dd)+formatOpenClawConfigLocations()+'.');_0x358e79[_0x52aa34(_0x481737._0x197c19,0x3b4)+_0x46af80(_0x481737._0x3291ce,0x48c)+'nd']&&_0x358e79[_0x46af80(0x597,_0x481737._0x3f7502)+_0x52aa34(0x5d1,0x4d7)+_0x52aa34(0x2e7,_0x481737._0x3d5495)]&&_0x3722e2[_0x46af80(_0x481737._0x1b7ebe,0x6f8)](_0x358e79['openclaw'+'AuthMode'],null)&&_0x54d291[_0x46af80(0x6c4,0x4da)](_0x46af80(0x839,_0x481737._0x19078d)+'\x20has\x20bot'+_0x46af80(0x61d,_0x481737._0x544e3b)+_0x46af80(_0x481737._0x22414e,0x9b9)+_0x52aa34(_0x481737._0x41f4b5,0x782)+_0x46af80(0x5bd,0x382)+'figured,'+_0x52aa34(_0x481737._0x34107e,_0x481737._0x1ee76d)+_0x46af80(_0x481737._0x1b5dfc,_0x481737._0x233e09)+_0x52aa34(_0x481737._0x2ac02d,_0x481737._0x406351)+_0x46af80(_0x481737._0x419abd,0x7e4));!_0x358e79[_0x46af80(_0x481737._0x5e47eb,_0x481737._0x56f9a4)+'TokenFou'+'nd']&&!_0x358e79['openclaw'+_0x46af80(_0x481737._0x22a7f7,_0x481737._0x508957)+_0x46af80(_0x481737._0x33f202,0x656)]&&_0x54d291[_0x52aa34(0x4be,0x4e1)](_0x46af80(0x839,_0x481737._0x43a9ed)+_0x52aa34(0x667,0x64e)+'\x20auth\x20is'+_0x52aa34(0x333,0x491)+'\x20(token\x20'+_0x46af80(0x9a7,0x8d8)+_0x46af80(0x5f2,_0x481737._0x37337d));_0x358e79[_0x46af80(_0x481737._0x5e47eb,0x35f)+_0x46af80(_0x481737._0x2a66a5,_0x481737._0x2fab29)]===_0x46af80(0x4fb,0x5fa)&&!_0x358e79['openclaw'+_0x52aa34(_0x481737._0x106398,0x3c8)+'nd']&&_0x54d291['push'](_0x46af80(_0x481737._0x17a6f9,_0x481737._0x237c2c)+_0x46af80(0x831,_0x481737._0x1b433d)+_0x52aa34(0x55a,0x432)+_0x46af80(_0x481737._0x3831bc,_0x481737._0x579660)+'g.');function _0x52aa34(_0x2b6624,_0x2146df){return _0x2420cb(_0x2146df- -_0xa2becf._0x3fe510,_0x2b6624);}return _0x358e79[_0x46af80(0x597,_0x481737._0x221841)+_0x52aa34(0x5b9,_0x481737._0x2a6c81)]===_0x52aa34(_0x481737._0x4fff2f,0x628)&&!_0x358e79[_0x52aa34(0x428,0x3b4)+_0x46af80(0x6ba,_0x481737._0x2076fe)+_0x52aa34(0x112,_0x481737._0x3d5495)]&&_0x54d291[_0x46af80(_0x481737._0x2ddcfd,_0x481737._0x2a66a5)](_0x46af80(0x839,0x76f)+_0x46af80(0x831,0x8c1)+_0x52aa34(_0x481737._0x5cc618,_0x481737._0x2b7ef5)+'d\x20is\x20mis'+_0x52aa34(0x63b,0x807)),!_0x358e79[_0x46af80(_0x481737._0x3873f4,_0x481737._0x467c16)+_0x46af80(_0x481737._0xbe0036,0x768)+_0x46af80(_0x481737._0x27a791,_0x481737._0x29d551)]&&_0x54d291[_0x52aa34(_0x481737._0x1d0a3e,_0x481737._0x44624b)]('Local\x20Op'+_0x46af80(0x6d0,0x52f)+_0x52aa34(_0x481737._0x36be82,_0x481737._0x5b6458)+_0x46af80(_0x481737._0xf72ab7,0x7b9)+_0x46af80(_0x481737._0x5cc618,0xa17)+_0x52aa34(0x1c3,_0x481737._0x25967b)+_0x358e79['localGat'+_0x52aa34(0x2d9,0x36b)]+'.'),_0x54d291;}function formatOpenClawConfigLocations(){const _0x5b6b6b={_0x9efefd:0x7fb,_0x2b9ef0:0x6c0,_0x37a31b:0x73c,_0x38193d:0x917},_0x43e33b={_0x56a2f7:0x1f},_0x472fe3={};_0x472fe3[_0x484d68(_0x5b6b6b._0x9efefd,0x8bd)]=_0x484d68(_0x5b6b6b._0x2b9ef0,_0x5b6b6b._0x37a31b);function _0xc65754(_0x213fcc,_0x404481){return _0x2420cb(_0x404481-0x24,_0x213fcc);}function _0x484d68(_0x36ee81,_0x3ece7c){return _0x2420cb(_0x3ece7c- -_0x43e33b._0x56a2f7,_0x36ee81);}const _0x38a946=_0x472fe3,_0x142300=new Set();return[_0x5d5628(),_0x38a946['VVNvo']]['map'](_0x4aa0a5=>_0x4aa0a5[_0x484d68(0x73c,0x58a)]()+(_0xc65754(0x896,0x9b8)+'aw'))[_0xc65754(0x5e0,0x6fe)](_0x11b98a=>_0x11b98a!=='/.opencl'+'aw')['filter'](_0x54439c=>{if(_0x142300['has'](_0x54439c))return![];return _0x142300['add'](_0x54439c),!![];})['join'](_0xc65754(0x9dd,_0x5b6b6b._0x38193d));}function readLogFile(_0x56a56e){const _0x4dbbe9={_0xe9389d:0x861,_0x1afc3f:0x9b5},_0x295b53={_0x4414bd:0x6b1};function _0x2cd702(_0x5543e7,_0x42c7ab){return _0x410a57(_0x42c7ab,_0x5543e7-0x6ae);}function _0x30baa0(_0x425094,_0x345d1d){return _0x410a57(_0x425094,_0x345d1d-_0x295b53._0x4414bd);}const _0x207d8b={'VvsTv':function(_0x1ca756,_0x394faa,_0x4266b7){return _0x1ca756(_0x394faa,_0x4266b7);}};try{const _0xb8f1c9=_0x207d8b[_0x30baa0(0x6e3,0x543)](_0x33b6c6,_0x56a56e,'utf8');return _0xb8f1c9[_0x30baa0(_0x4dbbe9._0xe9389d,_0x4dbbe9._0x1afc3f)](/\r?\n/)['filter'](Boolean)[_0x2cd702(0x5f8,0x527)](_0x55bab9=>({'raw':_0x55bab9,'ts':parseTimestamp(_0x55bab9)}));}catch{return[];}}function parseTimestamp(_0x1ca158){const _0xd1d165=_0x1ca158['match'](/^\[(\d{13})\]\s/);if(!_0xd1d165)return null;const _0x274526=Number(_0xd1d165[0x1]);return Number['isFinite'](_0x274526)?_0x274526:null;}function clampLines(_0x581e79){const _0x1bb8b9={_0x50af0c:0x1e8,_0x1f7c3e:0x41b},_0x141a17={_0x27cf33:0x61b};if(!Number[_0x1ddd81(_0x1bb8b9._0x50af0c,_0x1bb8b9._0x1f7c3e)](_0x581e79))return 0xc8;function _0x1ddd81(_0x8e0762,_0x138032){return _0x2420cb(_0x8e0762- -_0x141a17._0x27cf33,_0x138032);}function _0x4f59a9(_0x3ccc93,_0x36318c){return _0x2420cb(_0x3ccc93- -0x5c8,_0x36318c);}return Math[_0x1ddd81(0x31b,0x340)](0x1,Math[_0x1ddd81(-0x106,-0x386)](0x7d0,Math['floor'](_0x581e79)));}async function checkGatewayReachable(_0x242664){const _0xfaf1f={_0x112bc8:0x8f8,_0x9068d9:0x787,_0x4fcb72:0x57c,_0x2ec2fd:0x495,_0x4155ab:0x654,_0x2ec50c:0x563,_0x1a5734:0x49d},_0x5d72a9={_0x592247:0x26c,_0x5852cc:0x4e7,_0xf8207a:0x10a,_0x115f95:0x709,_0x2731bd:0x425,_0x2a623d:0x635,_0x2cb904:0x9b7,_0x1dfffc:0x499},_0x44b944={_0x341804:0x2ab},_0x55c16c={_0x9048fc:0x485},_0x2af821={_0x3e7c66:0x1ae,_0x1e1f38:0xdd},_0x22fc3b={_0x27a13d:0x255};function _0x2f39d3(_0x458ac2,_0x103591){return _0x2420cb(_0x458ac2- -0x3b3,_0x103591);}function _0x229423(_0x170f47,_0x7c766e){return _0x2420cb(_0x7c766e- -_0x22fc3b._0x27a13d,_0x170f47);}const _0x53b631={'TZEVV':_0x229423(0x7d0,0x6cd)+'1','jNTpQ':function(_0x458b78,_0x24e530){return _0x458b78(_0x24e530);}};try{const _0x760b11=new URL(_0x242664),_0xd6ae1e=_0x760b11[_0x229423(_0xfaf1f._0x112bc8,_0xfaf1f._0x9068d9)]||_0x53b631[_0x229423(_0xfaf1f._0x4fcb72,0x692)],_0x242535=_0x760b11[_0x2f39d3(0x492,_0xfaf1f._0x2ec2fd)]?_0x53b631[_0x229423(0x7b3,_0xfaf1f._0x4155ab)](Number,_0x760b11['port']):_0x760b11['protocol']===_0x2f39d3(_0xfaf1f._0x2ec50c,_0xfaf1f._0x1a5734)?0x1bb:0x50;return await new Promise((_0x3ca9e6,_0xc3c3d2)=>{const _0x282973={_0x24da21:0x426},_0xf7841e={_0x39bed7:0x105},_0xf868b2={};_0xf868b2['kaZna']='timeout';function _0x11af16(_0x43ea76,_0x5f4167){return _0x2f39d3(_0x5f4167- -_0xf7841e._0x39bed7,_0x43ea76);}const _0x4cb333=_0xf868b2,_0x46c3bc=new Socket();_0x46c3bc[_0x11af16(0x213,_0x5d72a9._0x592247)+'ut'](0x384),_0x46c3bc[_0x1fdeba(_0x5d72a9._0x5852cc,0x635)]('connect',()=>{const _0x5398a3={_0x591dc9:0x503};_0x46c3bc[_0x201095(_0x2af821._0x3e7c66,_0x2af821._0x1e1f38)]();function _0x201095(_0x5355c6,_0xbf0bdc){return _0x1fdeba(_0x5355c6,_0xbf0bdc- -_0x5398a3._0x591dc9);}_0x3ca9e6();}),_0x46c3bc[_0x11af16(0x215,_0x5d72a9._0xf8207a)](_0x11af16(_0x5d72a9._0x115f95,0x498),()=>{_0x46c3bc['destroy']();function _0x169d19(_0x49a651,_0x118701){return _0x11af16(_0x118701,_0x49a651-0x260);}_0xc3c3d2(new Error(_0x4cb333[_0x169d19(0x3a8,_0x55c16c._0x9048fc)]));});function _0x1fdeba(_0x8a394,_0x5e8734){return _0x2f39d3(_0x5e8734-_0x282973._0x24da21,_0x8a394);}_0x46c3bc[_0x1fdeba(_0x5d72a9._0x2731bd,_0x5d72a9._0x2a623d)](_0x1fdeba(0x75b,_0x5d72a9._0x2cb904),_0x1a0ff0=>{const _0x41c8fc={_0x1fba35:0x138};_0x46c3bc[_0x4bf37b(-0x83,-_0x44b944._0x341804)]();function _0x4bf37b(_0x3ed8a9,_0x2e4f58){return _0x11af16(_0x2e4f58,_0x3ed8a9- -_0x41c8fc._0x1fba35);}_0xc3c3d2(_0x1a0ff0);}),_0x46c3bc[_0x1fdeba(_0x5d72a9._0x1dfffc,0x54f)](_0x242535,_0xd6ae1e);}),!![];}catch{return![];}}function parseLookbackToMs(_0x39238a){const _0x1216cd={_0x316c38:0x73f,_0x8db3aa:0x10,_0x51023d:0x3c,_0x431d74:0x8f1,_0xea7b5b:0x3d3,_0x6ef9c8:0x98f,_0x3a1c85:0x97d,_0x2e6920:0xa83},_0xe5847={'AceNe':function(_0x4f28d8,_0xeaea97){return _0x4f28d8(_0xeaea97);},'HrFAq':function(_0x5e6e29,_0x490939){return _0x5e6e29===_0x490939;}},_0x428ce7=_0x39238a?.['trim']();if(!_0x428ce7)return null;const _0x59d998=_0x428ce7[_0x412e49(0x82f,0x70f)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x59d998)throw new Error(_0x412e49(0x865,_0x1216cd._0x316c38)+_0x16dc64(0x1c2,0x1de)+_0x16dc64(-_0x1216cd._0x8db3aa,_0x1216cd._0x51023d)+_0x428ce7+('\x22.\x20Use\x20v'+_0x412e49(0x6aa,_0x1216cd._0x431d74)+_0x412e49(0x853,0x9ba)+'2m,\x201h,\x20'+_0x16dc64(-0x1f1,-_0x1216cd._0xea7b5b)));function _0x16dc64(_0x1baa54,_0x1ea1db){return _0x410a57(_0x1ea1db,_0x1baa54- -0x1f);}const _0x122bfa=_0xe5847[_0x412e49(_0x1216cd._0x6ef9c8,_0x1216cd._0x3a1c85)](Number,_0x59d998[0x1]);function _0x412e49(_0x17ae89,_0x4fbaf5){return _0x410a57(_0x17ae89,_0x4fbaf5-0x6f2);}const _0x2d71d3=_0x59d998[0x2][_0x412e49(_0x1216cd._0x2e6920,0x822)+'ase'](),_0x39449e=_0xe5847['HrFAq'](_0x2d71d3,'ms')?0x1:_0xe5847['HrFAq'](_0x2d71d3,'s')?0x3e8:_0x2d71d3==='m'?0xea60:_0x2d71d3==='h'?0x36ee80:0x5265c00;return _0x122bfa*_0x39449e;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun',_0x410a57(0x286,0x6d),_0x410a57(0x127,0x305),_0x2420cb(0x849,0x6d7)+'e',_0x2420cb(0x8ab,0x76b)+'d','wg',_0x2420cb(0x9dd,0xa0c),_0x410a57(-0x103,0xe7),_0x410a57(0x340,0xc2),_0x2420cb(0x6ce,0x901),_0x2420cb(0x525,0x44d),_0x410a57(0x38b,0x17e),_0x2420cb(0x6ad,0x8d0),_0x410a57(0x150,0x1a1),_0x2420cb(0x9bd,0xa64),'awdl',_0x2420cb(0x771,0x517),'bridge',_0x2420cb(0x786,0x835),_0x410a57(-0x198,-0x4a)];function buildLocalPairingInfo(_0x28f078){const _0x13bacb={_0xf91c0f:0x4ed,_0x5dd579:0x24e,_0x3fc811:0x58d,_0x23e630:0x31b,_0x22ec4b:0x491,_0x54cb00:0x24c,_0x129007:0x60b,_0x5d703b:0x8fb,_0x43dbf7:0x964,_0x39c7d0:0x2d4,_0x3edbfa:0x286,_0x1a9a72:0x488},_0x393f58={_0x66ca75:0x390},_0xbcf12a={_0x29eb19:0x4f},_0x48861d=resolveLocalPairAuth(_0x28f078),_0x38eda5={};_0x38eda5[_0x2b0a18(0x689,_0x13bacb._0xf91c0f)+_0x255626(_0x13bacb._0x5dd579,0x389)]=_0x28f078[_0x2b0a18(0x689,0x600)+_0x2b0a18(0x58f,0x4c4)];function _0x2b0a18(_0x179d4,_0x258ad8){return _0x2420cb(_0x179d4- -_0xbcf12a._0x29eb19,_0x258ad8);}_0x38eda5[_0x2b0a18(_0x13bacb._0x3fc811,_0x13bacb._0x23e630)+_0x255626(0x2ca,_0x13bacb._0x22ec4b)+'l']=_0x28f078[_0x255626(_0x13bacb._0x54cb00,0x1e1)+_0x2b0a18(_0x13bacb._0x129007,0x7b2)+'l'];function _0x255626(_0x490338,_0x4410f4){return _0x2420cb(_0x490338- -_0x393f58._0x66ca75,_0x4410f4);}const _0x2aadaa=resolveLocalPairGatewayUrl(_0x38eda5),_0x438013=_0x28f078[_0x2b0a18(_0x13bacb._0x5d703b,_0x13bacb._0x43dbf7)+'t']??Date[_0x255626(_0x13bacb._0x39c7d0,_0x13bacb._0x3edbfa)]()+0xa*0x3c*0x3e8;return{'gatewayUrl':_0x2aadaa,'expiresAt':_0x438013,'authMode':_0x48861d[_0x2b0a18(0x715,0x716)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x2aadaa,'token':_0x48861d['token'],'password':_0x48861d[_0x255626(_0x13bacb._0x1a9a72,0x68a)],'expiresAt':_0x438013})};}function resolveLocalPairGatewayUrl(_0x6b60f6){const _0x14c943={_0x581164:0x6f8,_0x2e896e:0x6de,_0x40c219:0x3bc,_0xca2b4f:0x633,_0x50cddf:0x40c,_0x10b0d0:0x8e2,_0x96fa9b:0x46f,_0x277cf7:0x4fa,_0x5c2f0e:0x708,_0x1c7e53:0x657,_0x5685c0:0x6e4},_0x35c7f9={_0x3f7d7f:0xf4};function _0x1c34ad(_0x416368,_0x26fc1d){return _0x2420cb(_0x26fc1d- -_0x35c7f9._0x3f7d7f,_0x416368);}const _0x19a1b3={'Zflhs':function(_0x1dc2ce,_0x1da293){return _0x1dc2ce(_0x1da293);},'aDkKk':_0x1c34ad(0x4bb,_0x14c943._0x581164)+_0x17f040(0x5db,0x76c)+_0x17f040(0x9b6,0x82b)+_0x1c34ad(_0x14c943._0x2e896e,0x75f)+'ress.\x20Pa'+'ss\x20--url'+_0x17f040(_0x14c943._0x40c219,0x5dd)+_0x17f040(0x9d7,0x8df)+_0x1c34ad(0x437,0x4d4)+'eway\x20URL'+'.'},_0x2bb799=_0x6b60f6?.[_0x17f040(_0x14c943._0xca2b4f,0x786)+_0x1c34ad(_0x14c943._0x50cddf,0x4ea)]?.[_0x1c34ad(0x264,0x4b5)]();if(_0x2bb799)return _0x19a1b3[_0x17f040(_0x14c943._0x10b0d0,0x791)](normalizeExplicitGatewayUrl,_0x2bb799);function _0x17f040(_0x250f26,_0x5af7e5){return _0x2420cb(_0x5af7e5-0xae,_0x250f26);}const _0x1350c9=_0x6b60f6?.[_0x1c34ad(_0x14c943._0x96fa9b,0x4e8)+_0x17f040(_0x14c943._0x277cf7,_0x14c943._0x5c2f0e)+'l']?.[_0x17f040(0x534,_0x14c943._0x1c7e53)]()||resolveGatewayUrl(),_0x3bb948=detectLanIp();if(!_0x3bb948)throw new Error(_0x19a1b3[_0x1c34ad(_0x14c943._0x5685c0,0x528)]);return rewriteGatewayHost(_0x1350c9,_0x3bb948);}function normalizeExplicitGatewayUrl(_0x1119ca){const _0x11a766={_0xa12aa:0x5f,_0x2d8fb0:0x140,_0x290513:0xad},_0x40bd6a={'EiACS':function(_0x10a9e2,_0xe5db51){return _0x10a9e2(_0xe5db51);}};function _0xba1f88(_0x5ce8de,_0x49bbb2){return _0x2420cb(_0x5ce8de- -0x55f,_0x49bbb2);}const _0x5e675b=_0x1119ca['trim'](),_0x5b3b82=/^[a-z]+:\/\//i[_0xba1f88(0x3ed,0x485)](_0x5e675b)?_0x5e675b:_0xba1f88(0x13d,_0x11a766._0xa12aa)+_0x5e675b;function _0x44cbd7(_0x5b5af5,_0x1baf52){return _0x2420cb(_0x5b5af5- -0x53c,_0x1baf52);}return _0x40bd6a['EiACS'](normalizeGatewayQrUrl,_0x5b3b82)[_0x44cbd7(_0x11a766._0x2d8fb0,-_0x11a766._0x290513)];}function rewriteGatewayHost(_0x495592,_0x3f9554){const _0x1638aa={_0x3b9cf5:0x382,_0x2ce01c:0x48d},_0x1fb050={'zImLE':function(_0x16c044,_0x521408){return _0x16c044(_0x521408);}};function _0x3e3911(_0x4fa717,_0x35ceda){return _0x410a57(_0x35ceda,_0x4fa717-0x76);}const _0x57c9ae=_0x495592['trim'](),_0x562bd5=/^[a-z]+:\/\//i['test'](_0x57c9ae)?_0x57c9ae:'ws://'+_0x57c9ae,_0x245e96=new URL(_0x562bd5);function _0xbe3d72(_0x2a821e,_0x373580){return _0x410a57(_0x2a821e,_0x373580-0x3d9);}return _0x245e96[_0x3e3911(_0x1638aa._0x3b9cf5,0x25d)]=_0x3f9554,_0x1fb050['zImLE'](normalizeGatewayQrUrl,_0x245e96['toString']())[_0xbe3d72(_0x1638aa._0x2ce01c,0x385)];}function detectLanIp(){const _0x31d609={_0x2d4ef2:0x78c,_0x275915:0x502,_0x2b6d38:0x7dc,_0x92abc9:0x594,_0x37f20d:0x5c0,_0x2c6a53:0x78c,_0x288261:0x7ca,_0x4d7dfb:0x663,_0x5b4765:0x594,_0x4f1b11:0x71a,_0x4c4238:0x8f4,_0x4f67ea:0x43f,_0x4a60bd:0x7dc,_0x567e77:0x8ca},_0x1d5f5d={};_0x1d5f5d[_0x129541(_0x31d609._0x2d4ef2,_0x31d609._0x275915)]=function(_0x1e3309,_0x5119a2){return _0x1e3309!==_0x5119a2;},_0x1d5f5d[_0x31b44a(_0x31d609._0x2b6d38,_0x31d609._0x92abc9)]=function(_0x37850b,_0x4a7c27){return _0x37850b===_0x4a7c27;};const _0x444b66=_0x1d5f5d,_0x2e0b63=networkInterfaces();function _0x129541(_0x37602d,_0x195fad){return _0x410a57(_0x195fad,_0x37602d-0x6de);}function _0x31b44a(_0x386900,_0x23f7ce){return _0x410a57(_0x386900,_0x23f7ce-0x5d1);}let _0x4d30d3=null;for(const [_0x4a2010,_0x3b7951]of Object[_0x31b44a(0x36c,_0x31d609._0x37f20d)](_0x2e0b63)){for(const _0x3dc1ff of _0x3b7951??[]){if(_0x444b66[_0x129541(_0x31d609._0x2c6a53,_0x31d609._0x288261)](_0x3dc1ff[_0x129541(0x560,_0x31d609._0x4d7dfb)],_0x129541(0x959,0x896)))continue;const _0x11b415=scoreLanCandidate(_0x4a2010,_0x3dc1ff['address']);if(_0x444b66[_0x31b44a(0x3b3,_0x31d609._0x5b4765)](_0x11b415,0x0))continue;if(!_0x4d30d3||_0x11b415>_0x4d30d3[_0x129541(_0x31d609._0x4f1b11,_0x31d609._0x4c4238)]){const _0x408cfc={};_0x408cfc[_0x31b44a(_0x31d609._0x4f67ea,0x60d)]=_0x11b415,_0x408cfc['ip']=_0x3dc1ff[_0x31b44a(_0x31d609._0x4a60bd,_0x31d609._0x567e77)],_0x4d30d3=_0x408cfc;}}}return _0x4d30d3?.['ip']??null;}function scoreLanCandidate(_0x3ab1c9,_0x408207){const _0x2e9983={_0x240c94:0x6d2,_0x577863:0x549,_0x3cac3e:0x60a,_0x3a29fe:0x131,_0xca1745:0x90,_0x35a2b0:0x7f3,_0x14dab3:0x4ac,_0x2e8c76:0x581},_0x5958c4={_0x4fdd81:0x5e4},_0x5674c9={'JaZrv':function(_0x2a4073,_0x4b8458){return _0x2a4073(_0x4b8458);}};if(!isLanIpv4(_0x408207))return 0x0;const _0x144fe3=_0x3ab1c9[_0x40f3e4(0x25b,0x38c)+_0x43415c(0x7de,0x616)]();function _0x43415c(_0x2f4fa2,_0x4dadde){return _0x410a57(_0x2f4fa2,_0x4dadde-_0x5958c4._0x4fdd81);}if(BLOCKED_INTERFACE_TOKENS['some'](_0x1cfdfc=>_0x144fe3[_0x43415c(0x9f8,0x7f3)](_0x1cfdfc)))return 0x0;function _0x40f3e4(_0x5a2786,_0x431a0c){return _0x410a57(_0x431a0c,_0x5a2786-0x12b);}let _0x36dcde=isRfc1918(_0x408207)?0x78:_0x5674c9['JaZrv'](isCgnat,_0x408207)?0x5a:0x28;return(_0x144fe3[_0x43415c(_0x2e9983._0x240c94,_0x2e9983._0x577863)+'th']('en')||_0x144fe3[_0x43415c(_0x2e9983._0x3cac3e,0x549)+'th'](_0x40f3e4(0x9e,-_0x2e9983._0x3a29fe))||_0x144fe3[_0x40f3e4(_0x2e9983._0xca1745,0x37)+'th'](_0x40f3e4(0xe9,0x343))||_0x144fe3[_0x43415c(0x413,0x549)+'th']('wl')||_0x144fe3[_0x43415c(0x5b5,_0x2e9983._0x35a2b0)](_0x43415c(_0x2e9983._0x14dab3,0x6a4))||_0x144fe3[_0x43415c(0x7d9,0x7f3)](_0x43415c(0x68a,_0x2e9983._0x2e8c76)))&&(_0x36dcde+=0x14),_0x36dcde;}function resolveLocalPairAuth(_0x2fc1d0){const _0x5558ef={_0x544548:0xa0c,_0x46c614:0x8d1,_0x72f45f:0x7a0,_0x2fd973:0x5ba,_0x586fb6:0x4c5,_0x55ee7c:0x68a,_0x370ac4:0x518,_0xc620dd:0x315,_0x1f2811:0x49b,_0x354780:0x634,_0x35d1bf:0x53f,_0x59baae:0x440,_0x5a23c5:0xa4e,_0x50fd5f:0x498,_0x526540:0x7d2,_0x868b9e:0x5eb,_0x5dd485:0x481},_0x1722c7={_0x4cdc2f:0x8b};function _0x5d7f05(_0x2f7577,_0x245b66){return _0x2420cb(_0x245b66-_0x1722c7._0x4cdc2f,_0x2f7577);}const _0x215b79={};function _0x45661e(_0x22f1e2,_0xec9bfe){return _0x2420cb(_0xec9bfe- -0xc8,_0x22f1e2);}_0x215b79['fcNxs']=_0x5d7f05(_0x5558ef._0x544548,_0x5558ef._0x46c614)+_0x45661e(_0x5558ef._0x72f45f,0x776)+_0x5d7f05(_0x5558ef._0x2fd973,0x59f)+'\x20missing'+_0x45661e(0x292,_0x5558ef._0x586fb6)+'or\x20passw'+_0x5d7f05(0x829,_0x5558ef._0x55ee7c);const _0x25d4c3=_0x215b79;if(_0x2fc1d0[_0x5d7f05(_0x5558ef._0x370ac4,0x576)+_0x45661e(_0x5558ef._0xc620dd,_0x5558ef._0x1f2811)]?.[_0x5d7f05(0x74f,_0x5558ef._0x354780)]())return{'mode':_0x45661e(_0x5558ef._0x35d1bf,_0x5558ef._0x59baae),'token':_0x2fc1d0['gatewayT'+'oken']['trim'](),'password':null};if(_0x2fc1d0[_0x45661e(_0x5558ef._0x5a23c5,0x834)+_0x45661e(0x61b,_0x5558ef._0x50fd5f)]?.['trim']())return{'mode':'password','token':null,'password':_0x2fc1d0[_0x45661e(0x884,0x834)+_0x5d7f05(_0x5558ef._0x526540,_0x5558ef._0x868b9e)][_0x5d7f05(_0x5558ef._0x5dd485,0x634)]()};throw new Error(_0x25d4c3[_0x5d7f05(0x781,0x825)]);}function isLanIpv4(_0x2e35e4){const _0x5e5d73={_0x303ed0:0x4d2,_0x4d18b4:0x984,_0x249179:0xbb7,_0x29b873:0x1ec},_0x2c8820={_0x298c2c:0x680};function _0x1654ee(_0x3da66e,_0x3371e0){return _0x410a57(_0x3da66e,_0x3371e0-0x1e1);}const _0x487b93={};function _0x481cd8(_0x2c2d03,_0x50d700){return _0x410a57(_0x50d700,_0x2c2d03-_0x2c8820._0x298c2c);}_0x487b93['KFOwD']=function(_0x3e74b4,_0x4485ba){return _0x3e74b4===_0x4485ba;},_0x487b93['vsEbG']=function(_0xba2ba5,_0x545451){return _0xba2ba5===_0x545451;};const _0x5a15fa=_0x487b93;if(!isValidIpv4(_0x2e35e4))return![];if(_0x5a15fa[_0x481cd8(_0x5e5d73._0x303ed0,0x42d)](_0x2e35e4,_0x1654ee(0x42e,0x2e7)))return![];const [_0x22cccf,_0x4ba4bb,_0x10fb16,_0x2ce1e7]=_0x2e35e4[_0x481cd8(_0x5e5d73._0x4d18b4,_0x5e5d73._0x249179)]('.')[_0x1654ee(_0x5e5d73._0x29b873,0x12b)](Number);if(_0x22cccf===0x7f)return![];if(_0x22cccf===0xa9&&_0x5a15fa['KFOwD'](_0x4ba4bb,0xfe))return![];if(_0x22cccf>=0xe0&&_0x22cccf<=0xef)return![];if(_0x5a15fa[_0x1654ee(0x50e,0x3b9)](_0x22cccf,0xff)&&_0x4ba4bb===0xff&&_0x10fb16===0xff&&_0x2ce1e7===0xff)return![];if(_0x5a15fa[_0x481cd8(0x4d2,0x6a0)](_0x22cccf,0xc6)&&(_0x4ba4bb===0x12||_0x4ba4bb===0x13))return![];return isRfc1918(_0x2e35e4)||isCgnat(_0x2e35e4);}function isRfc1918(_0x2cc1fc){const _0x17a319={_0x1bfbd6:0x8d5,_0x5638a8:0x8d2,_0x1a2cbf:0x21c,_0x4914a1:0x19d,_0x268a03:0x7a7,_0x3f4b82:0x8d5},_0x475e54={_0x5163a8:0x102};function _0x3980e4(_0x31a970,_0x3585c0){return _0x2420cb(_0x3585c0- -_0x475e54._0x5163a8,_0x31a970);}function _0x5e8c75(_0x2e1a83,_0x5243c4){return _0x2420cb(_0x5243c4- -0x5ee,_0x2e1a83);}const _0x3dce63={};_0x3dce63['rYSiX']=function(_0x41d8c4,_0x2f09ce){return _0x41d8c4>=_0x2f09ce;},_0x3dce63['VQSgk']=function(_0x116794,_0x1ad82a){return _0x116794<=_0x1ad82a;},_0x3dce63[_0x3980e4(0x6f9,_0x17a319._0x1bfbd6)]=function(_0x56fae9,_0xdcc15f){return _0x56fae9===_0xdcc15f;};const _0x1935c7=_0x3dce63,[_0x1d2391,_0x31d326]=_0x2cc1fc[_0x3980e4(0xa39,_0x17a319._0x5638a8)]('.')['map'](Number);return _0x1d2391===0xa||_0x1d2391===0xac&&_0x1935c7[_0x5e8c75(_0x17a319._0x1a2cbf,_0x17a319._0x4914a1)](_0x31d326,0x10)&&_0x1935c7['VQSgk'](_0x31d326,0x1f)||_0x1d2391===0xc0&&_0x1935c7[_0x3980e4(_0x17a319._0x268a03,_0x17a319._0x3f4b82)](_0x31d326,0xa8);}function isCgnat(_0x2bcd11){const _0x258860={_0x538dd7:0x7be,_0x1ff749:0x835},_0x5f5ad6={_0x5a974b:0x19f};function _0x122a4a(_0x2a7b6f,_0x2b1f5d){return _0x2420cb(_0x2b1f5d- -_0x5f5ad6._0x5a974b,_0x2a7b6f);}const [_0x234514,_0x5b426b]=_0x2bcd11[_0x122a4a(_0x258860._0x538dd7,_0x258860._0x1ff749)]('.')['map'](Number);return _0x234514===0x64&&_0x5b426b>=0x40&&_0x5b426b<=0x7f;}function isValidIpv4(_0x43dbd4){const _0x1eeebc={_0x3e2f84:0x59e,_0x1e68e6:0x9a,_0xf39985:0xad},_0x45762f={_0x214d85:0x8ed,_0x52b2fe:0x9e6},_0xf2c2d4={_0x27827a:0x3c2},_0x53126f=_0x43dbd4[_0x101942(_0x1eeebc._0x3e2f84,0x6c6)]('.');function _0x101942(_0x1db3b6,_0x51716b){return _0x410a57(_0x1db3b6,_0x51716b-_0xf2c2d4._0x27827a);}function _0x1a9172(_0x3cb6f0,_0x360a59){return _0x410a57(_0x360a59,_0x3cb6f0- -0xe);}return _0x53126f['length']===0x4&&_0x53126f[_0x1a9172(-_0x1eeebc._0x1e68e6,-_0x1eeebc._0xf39985)](_0x868229=>{function _0x25da92(_0x1944b9,_0x5e7e03){return _0x1a9172(_0x5e7e03-0x778,_0x1944b9);}if(!/^\d+$/[_0x25da92(_0x45762f._0x214d85,_0x45762f._0x52b2fe)](_0x868229))return![];const _0x52a57d=Number(_0x868229);return _0x52a57d>=0x0&&_0x52a57d<=0xff;});}import{readFileSync as _0x5758ee}from'fs';import{dirname as _0x5ef10a,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0xb92405={_0x461215:0x132,_0x2478bc:0x1d4,_0x14b381:0x224,_0x4f6f23:0xcb,_0x518107:0x4e9,_0x4f6a8d:0x310,_0x3d038f:0x251,_0x571c37:0x242,_0x27bf96:0x337},_0x35652d={_0x316f65:0x653},_0x2ed3db={_0x4c8150:0xaf};function _0x1842c6(_0x175a51,_0x1e2f72){return _0x2420cb(_0x175a51- -_0x2ed3db._0x4c8150,_0x1e2f72);}const _0x2acf8c={};_0x2acf8c['zSFUk']=_0x41bea7(_0xb92405._0x461215,-0x108);const _0x25dde6=_0x2acf8c;function _0x41bea7(_0x5b48b9,_0x59f730){return _0x2420cb(_0x59f730- -_0x35652d._0x316f65,_0x5b48b9);}const _0x10cde7=_0x5ef10a(fileURLToPath(import.meta.url)),_0x516372=resolve(_0x10cde7,_0x41bea7(_0xb92405._0x2478bc,_0xb92405._0x14b381)+'ge.json'),_0x50ead4=_0x5758ee(_0x516372,_0x25dde6[_0x41bea7(_0xb92405._0x4f6f23,0x248)]),_0x444d5c=JSON[_0x41bea7(_0xb92405._0x518107,_0xb92405._0x4f6a8d)](_0x50ead4);return _0x444d5c[_0x41bea7(-_0xb92405._0x3d038f,-0x9d)]??_0x41bea7(_0xb92405._0x571c37,_0xb92405._0x27bf96);}function buildPairingJson(_0x437151,_0x415279,_0x3f3ad6,_0x1956bc){const _0x5be8e0={_0x5d7e91:0x6f8,_0x1a354a:0x51d,_0x59b563:0x7fe,_0x4e0253:0x45c,_0xb84c4c:0x5d0,_0x22fe2a:0x78f,_0x2dcef7:0x793,_0x367ec4:0x5a6,_0x17aca2:0x79e,_0x10eb64:0x57c,_0x4b10fd:0x710,_0x34ad93:0x47e,_0x1fce8a:0x565,_0x33c2ad:0x6c3,_0x4b27ff:0x328,_0x2a7259:0x328,_0x1b442b:0x4b2,_0x164df3:0x257,_0x385b96:0x34a,_0x355299:0x388,_0x13093d:0x4ff,_0x114c31:0x34a,_0x8e8352:0x1da,_0xed5614:0x807,_0x6ffd96:0x605,_0xd9c3a1:0x515,_0xa9ce79:0x43d,_0x358f66:0x45c,_0x318c03:0x570,_0x2d98d1:0x4f8,_0x4b6986:0x3a6,_0x2697cf:0x6d8,_0x3f7d87:0x3f2,_0x255ef0:0x471,_0x9eee9a:0x2a0,_0x1523ed:0x6d8,_0x5bb9a3:0x527},_0x44e5d2={_0x5ab96e:0x401},_0x2a96dd={};_0x2a96dd['installe'+'d']=_0x3f3ad6['installe'+'d'],_0x2a96dd[_0x3eb016(_0x5be8e0._0x5d7e91,_0x5be8e0._0x1a354a)]=_0x3f3ad6[_0x56366a(0x812,_0x5be8e0._0x59b563)],_0x2a96dd['method']=_0x3f3ad6[_0x3eb016(0x297,0x35d)],_0x2a96dd['serviceP'+'ath']=_0x3f3ad6[_0x3eb016(0x264,_0x5be8e0._0x4e0253)+_0x56366a(_0x5be8e0._0xb84c4c,_0x5be8e0._0x22fe2a)],_0x2a96dd[_0x3eb016(0x4a0,0x6ef)]=_0x3f3ad6[_0x56366a(_0x5be8e0._0x2dcef7,_0x5be8e0._0x367ec4)],_0x2a96dd[_0x56366a(0x8af,_0x5be8e0._0x17aca2)+_0x56366a(_0x5be8e0._0x10eb64,_0x5be8e0._0x4b10fd)]=_0x3f3ad6[_0x56366a(0x754,_0x5be8e0._0x17aca2)+_0x56366a(_0x5be8e0._0x34ad93,0x710)],_0x2a96dd[_0x56366a(0x67f,0x6c3)]=_0x3f3ad6[_0x56366a(_0x5be8e0._0x1fce8a,_0x5be8e0._0x33c2ad)];const _0x52b762={};_0x52b762['ok']=!![],_0x52b762[_0x56366a(0x3bb,_0x5be8e0._0x4b27ff)]=_0x437151[_0x56366a(0x11c,_0x5be8e0._0x2a7259)],_0x52b762[_0x56366a(0x2ee,0x3d2)]=_0x1956bc;function _0x3eb016(_0xd5a3e8,_0xd2e547){return _0x410a57(_0xd2e547,_0xd5a3e8-_0x44e5d2._0x5ab96e);}_0x52b762[_0x3eb016(_0x5be8e0._0x1b442b,_0x5be8e0._0x164df3)+'d']=_0x437151[_0x3eb016(_0x5be8e0._0x385b96,0x1a7)][_0x56366a(0x620,0x5b8)+'d'],_0x52b762[_0x56366a(0x26a,_0x5be8e0._0x355299)]=_0x437151[_0x56366a(0x5af,0x450)][_0x3eb016(0x282,0x28a)],_0x52b762[_0x3eb016(_0x5be8e0._0x13093d,0x267)+'l']=_0x437151[_0x3eb016(_0x5be8e0._0x114c31,_0x5be8e0._0x8e8352)][_0x56366a(_0x5be8e0._0xed5614,_0x5be8e0._0x6ffd96)+'l'],_0x52b762[_0x56366a(_0x5be8e0._0xd9c3a1,_0x5be8e0._0xa9ce79)+'Id']=_0x437151['config'][_0x3eb016(0x337,_0x5be8e0._0x358f66)+'Id'],_0x52b762[_0x56366a(0x5f8,0x3a6)+'de']=_0x437151[_0x56366a(_0x5be8e0._0x318c03,0x3a6)+'de'];function _0x56366a(_0x80ad5a,_0x2cd6e0){return _0x410a57(_0x80ad5a,_0x2cd6e0-0x507);}return _0x52b762[_0x56366a(_0x5be8e0._0x2d98d1,_0x5be8e0._0x4b6986)+_0x3eb016(_0x5be8e0._0x2697cf,0x8fb)+_0x3eb016(_0x5be8e0._0x3f7d87,_0x5be8e0._0x255ef0)]=_0x437151[_0x3eb016(_0x5be8e0._0x9eee9a,0x455)+_0x3eb016(_0x5be8e0._0x1523ed,0x548)+_0x56366a(_0x5be8e0._0x5bb9a3,0x4f8)],_0x52b762['qrImageP'+_0x56366a(0x822,0x78f)]=_0x415279,_0x52b762[_0x3eb016(0x556,0x522)]=_0x2a96dd,_0x52b762;}function buildLocalPairingJson(_0x2506ef){const _0x37025e={_0x309493:0x10b,_0x2d33d1:0xc3,_0x1dacea:0x227,_0x4337a2:0x37,_0xf09748:0x51,_0x10ca78:0x611,_0x123a5f:0x4e6,_0x2cb88e:0x169,_0x3bf068:0x21c,_0x36be50:0x1b4,_0x2f66ed:0x396,_0x1532a8:0x3a4,_0x345d04:0x367,_0x3b0851:0x465,_0x2a2e8a:0x448},_0x41eec0={};_0x41eec0['ok']=!![];function _0x417e3d(_0xc1a7f1,_0x5b719e){return _0x2420cb(_0x5b719e- -0x5b4,_0xc1a7f1);}_0x41eec0[_0x417e3d(-_0x37025e._0x309493,-_0x37025e._0x2d33d1)]=_0x53c214(-_0x37025e._0x1dacea,_0x37025e._0x4337a2),_0x41eec0['message']=_0x2506ef[_0x53c214(_0x37025e._0xf09748,0x8b)],_0x41eec0['gatewayU'+'rl']=_0x2506ef[_0x53c214(_0x37025e._0x10ca78,_0x37025e._0x123a5f)+'rl'];function _0x53c214(_0x238224,_0x2792f9){return _0x2420cb(_0x2792f9- -0x510,_0x238224);}return _0x41eec0[_0x53c214(0x3a8,_0x37025e._0x2cb88e)]=_0x2506ef['authMode'],_0x41eec0[_0x417e3d(_0x37025e._0x3bf068,0x396)+'t']=_0x2506ef[_0x53c214(_0x37025e._0x36be50,0x43a)+'t'],_0x41eec0[_0x53c214(0x690,0x465)+_0x417e3d(_0x37025e._0x2f66ed,_0x37025e._0x1532a8)]=_0x2506ef[_0x53c214(_0x37025e._0x345d04,_0x37025e._0x3b0851)+_0x53c214(0x6cd,_0x37025e._0x2a2e8a)],_0x41eec0;}import{mkdirSync as _0x28d373,writeFileSync as _0x31c728}from'fs';import{dirname as _0x1bc34c,isAbsolute,join as _0x47ed62,resolve as _0x174b58}from'path';import _0x1665d0 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x3be5d8,_0x1bc5dc){const _0x5eb892={_0x3b228e:0x72e,_0xcc31eb:0xa4,_0x183673:0x58c,_0x5022a2:0x185,_0xb054bb:0x261},_0x51b604={_0x1676a5:0x687},_0x29a99c={_0x17e299:0x2ca},_0x36111a={'CNClR':function(_0x258890,_0x191cc7,_0x469ffa){return _0x258890(_0x191cc7,_0x469ffa);}};function _0x5f2bad(_0x30d3c5,_0x3c6aad){return _0x2420cb(_0x3c6aad- -_0x29a99c._0x17e299,_0x30d3c5);}const _0x1e9ef5=_0x36111a[_0x5f2bad(0x583,_0x5eb892._0x3b228e)](resolveQrOutputPath,_0x3be5d8[_0x42eef7(-0x6e,_0x5eb892._0xcc31eb)][_0x5f2bad(_0x5eb892._0x183673,0x4b7)+'d'],_0x1bc5dc);function _0x42eef7(_0x53fec1,_0x3128cf){return _0x2420cb(_0x53fec1- -_0x51b604._0x1676a5,_0x3128cf);}return writeQrPng(_0x3be5d8[_0x5f2bad(_0x5eb892._0x5022a2,_0x5eb892._0xb054bb)+'d'],_0x1e9ef5);}async function writeRawQrPng(_0x3b2aa0,_0x37eee8,_0x50a43c){const _0xb87642=resolveQrOutputPath(_0x37eee8,_0x50a43c);return writeQrPng(_0x3b2aa0,_0xb87642);}async function writeQrPng(_0x166dc5,_0x12717b){const _0x1fc018={_0x1acac4:0xa0,_0xd370b4:0x115,_0x9e4c9c:0x19e,_0x1da4ee:0xa7,_0x32202e:0x332,_0x41ba5e:0x4c4,_0xa50500:0x1b8,_0x4bc388:0xea,_0x1abe08:0x10b,_0x1dfeb3:0x308,_0x430b92:0x285,_0x46d1b6:0x472,_0x52e420:0x2d2,_0x21017c:0x278,_0x2f43f2:0x4ab},_0x5c7801={_0x528e18:0x73},_0x435408={_0x2afca1:0x1f},_0x5e529c={};_0x5e529c[_0x400daa(-_0x1fc018._0x1acac4,_0x1fc018._0xd370b4)]=_0x400daa(0x217,_0x1fc018._0x9e4c9c)+'g';const _0x45ade4=_0x5e529c;function _0x4797ae(_0xa703a3,_0x4f467d){return _0x410a57(_0x4f467d,_0xa703a3-_0x435408._0x2afca1);}const _0x10844b={};_0x10844b[_0x4797ae(_0x1fc018._0x1da4ee,0x270)+'e']=!![],_0x28d373(_0x1bc34c(_0x12717b),_0x10844b);const _0x474c06={};_0x474c06[_0x4797ae(_0x1fc018._0x32202e,_0x1fc018._0x41ba5e)]=_0x45ade4['swkKO'],_0x474c06[_0x4797ae(_0x1fc018._0xa50500,0x30)+_0x400daa(-_0x1fc018._0x4bc388,-_0x1fc018._0x1abe08)+_0x400daa(_0x1fc018._0x1dfeb3,0x130)]='M',_0x474c06['margin']=0x1,_0x474c06[_0x400daa(_0x1fc018._0x430b92,_0x1fc018._0x46d1b6)]=0x2d0;const _0x37fe65=await _0x1665d0[_0x4797ae(0x27b,_0x1fc018._0x52e420)+'L'](_0x166dc5,_0x474c06);function _0x400daa(_0x1def42,_0x174372){return _0x410a57(_0x174372,_0x1def42-_0x5c7801._0x528e18);}const _0xd49752=_0x37fe65[_0x400daa(0x12c,_0x1fc018._0x21017c)](/^data:image\/png;base64,/,'');return _0x31c728(_0x12717b,Buffer['from'](_0xd49752,_0x4797ae(0x2d2,_0x1fc018._0x2f43f2))),_0x12717b;}function resolveQrOutputPath(_0x338d83,_0x145033){const _0x3edc98=_0x145033?.['trim']();if(_0x3edc98)return isAbsolute(_0x3edc98)?_0x3edc98:_0x174b58(_0x3edc98);return _0x47ed62(DEFAULT_QR_DIR,_0x338d83+'.png');}function decidePairServiceAction(_0x135e55,_0x4d7e1b){const _0x128966={_0x40517b:0x396,_0x31b665:0x9e,_0x3f5050:0x3b1,_0x171eb3:0x2e5,_0x10c2d1:0x1f6,_0x288b17:0x231,_0x5aded7:0x388},_0x1ccb23={_0x27cb7a:0xba};function _0x393204(_0x333257,_0x351ec8){return _0x410a57(_0x333257,_0x351ec8-_0x1ccb23._0x27cb7a);}function _0x299532(_0x496e7e,_0xbfa52f){return _0x410a57(_0xbfa52f,_0x496e7e-0x2f0);}if(!_0x4d7e1b[_0x393204(_0x128966._0x40517b,0x27f)+'d'])return _0x393204(0x329,_0x128966._0x31b665);if(!_0x4d7e1b[_0x393204(0x4cc,_0x128966._0x3f5050)])return _0x299532(0x5c2,0x458);if(_0x135e55['action']===_0x299532(_0x128966._0x171eb3,0x1e8)+'ed')return _0x393204(_0x128966._0x10c2d1,0x38c);return _0x393204(_0x128966._0x288b17,_0x128966._0x5aded7);}async function main(){const _0x2deef7={_0x315262:0x5e1,_0x572656:0x614,_0x22006e:0x340,_0x258b23:0x4b2,_0x1fa6ca:0x5c1,_0x21b90e:0x5b9,_0x3b4e96:0x54b,_0x273e5b:0x32f,_0x50ec38:0x2cb,_0x3ca931:0x533,_0x1a2ce0:0x391,_0x50b009:0x6c1,_0x3df9ae:0x60b,_0x20a396:0x2a4,_0x17425d:0x13f,_0x505cd0:0x89b,_0x164d02:0x167,_0xea2df5:0x33d,_0x10feff:0x3ff,_0x545558:0x9f,_0x5c954c:0x68a,_0x12c768:0x8c4,_0x451694:0x4cb,_0x33189e:0x313,_0x2cc7c8:0x660,_0x4f2123:0xaf8,_0x1db537:0x8a4,_0x113670:0x74e,_0x3d2af2:0x34d,_0x135012:0x6cf,_0x2bfb45:0x59c,_0x1a4957:0x331,_0x36933c:0x7b5,_0x34db53:0x583,_0x142488:0x26c,_0x464235:0x703,_0x51bb7e:0x94d,_0x368d8b:0x965,_0x4c5060:0x94d,_0x572264:0x2d1,_0x528f3e:0x4ef,_0x91ebaa:0xf9,_0x44cfc5:0x5a2,_0x58168b:0x801,_0x1a2f6f:0x8af,_0x40ffbb:0x13d,_0x373a3a:0x1fc,_0xe6d577:0x312,_0x1e129f:0x601,_0x3ec5ec:0x529,_0x3d3657:0x7e4,_0x3f3884:0x935,_0x10b341:0x5b5,_0x28cdef:0x44d,_0x13add6:0x64e,_0x50b985:0x5d0,_0x553409:0x1ac,_0x30ad24:0x428,_0x42d593:0xaf2,_0x177926:0x5d2,_0x5f0342:0x958,_0x344499:0x8ca,_0x10dff7:0x4b0,_0xbd7291:0x4f3,_0x5a9feb:0x6c2,_0x15d362:0x936,_0x1f7afa:0x515,_0x4b0959:0x505,_0x51e703:0x4ba,_0x9382b7:0x37,_0x2cca8e:0x853,_0x525097:0x23f,_0x5d032c:0x282,_0x5c205b:0x421,_0x47dc4a:0x62f,_0x408cb1:0x971,_0x229af6:0x7c4,_0x1f9749:0x777,_0x581b5a:0x39a,_0x36a5fc:0x281,_0x2da7d9:0x947,_0x1a9778:0x7a4,_0xce1c1b:0x514,_0x52f382:0x79b,_0x5cebc8:0xba6,_0x51a622:0x475,_0x58de5d:0x18e,_0x38f653:0xc7,_0xfebe8:0x79f,_0x29d68f:0x30c,_0x371714:0x468,_0x5a9612:0x536,_0x2d3497:0x50c,_0x8b3637:0x4a0,_0xb84a68:0x149,_0x5beb49:0x1bd,_0x212b9b:0x31d,_0x2113fb:0x13b,_0x4c8565:0x5b8,_0x5d909d:0x4ea,_0x38db71:0x501,_0x5676f2:0x599,_0x391af6:0x25d,_0x23ac2a:0x8d,_0x38a9ec:0x614,_0x4f2623:0x4d5,_0xebbc03:0x87a,_0x51370c:0x66d,_0x5a5190:0xf4,_0x4601b5:0x712,_0x300ef8:0xa86,_0x59824d:0x924,_0x6f3fe:0x4b1,_0x12f895:0x64f,_0x42dd87:0x76a,_0x14515e:0x397,_0x4b99be:0x3f2,_0x465116:0x846,_0x1f2dec:0x7ae,_0x39e8e9:0x1cc,_0x379c47:0x104,_0x3b995c:0x1ef,_0x2ca96c:0x3c6,_0x213acf:0x442,_0x1152ac:0x355,_0x3915b4:0x2bb,_0x2352f5:0x63d,_0x4ce74d:0x43b,_0x1d6fb9:0x70f,_0x335080:0x312,_0x3227c9:0x492,_0x540fd0:0x689,_0x3d6984:0x4ba,_0x55e65b:0x160,_0x53f096:0x396,_0x4e3ce4:0xae5,_0x296866:0x853,_0x311dd5:0x625,_0x180e84:0x647,_0x3e6d81:0x4a0,_0x499c69:0x347,_0x3154d0:0x662,_0x1916f9:0x6c0,_0x1b1e7d:0x3d9,_0x5cc752:0x518,_0x3fa5d3:0x682,_0x580dbe:0x8f9,_0x35bde0:0x231,_0x55e8e9:0x4a1,_0xf33ef:0x605,_0x8d6fcb:0x2c8,_0x5c0cf2:0x344,_0x1c4fcd:0x578,_0x474579:0x56a,_0x2b1634:0x5ef,_0x18320c:0x9d2,_0x30a063:0x95f,_0x3fd5d8:0x893,_0x4755ae:0x163,_0x16d76f:0x52,_0x1f73b4:0x7fb,_0x321dbb:0x6dc,_0x20c97f:0x8ff,_0x3a15a2:0x6b2,_0x5bbb82:0x88f,_0x16d4f3:0x462,_0x19b589:0x4a6,_0x4d5d90:0x530,_0x2ff7c6:0x8b0,_0x130fb9:0x77f,_0x4665b0:0x69a,_0x288f77:0x5d4,_0x278288:0x96,_0x55df49:0x2f8,_0x1923ff:0x497,_0x46e43f:0x639,_0x2eb2aa:0x8cf,_0x509b4c:0x781,_0x40afc6:0x5c3,_0x533c59:0x84d,_0x402acb:0x751,_0x10d802:0x230,_0x2e7cdd:0xb33,_0x86f781:0x46d,_0x39fd93:0x51e,_0x33aff6:0x16e,_0x583eb4:0x5a7,_0x189bce:0x602,_0x24f8b2:0x776,_0x34d648:0x231,_0x3cf7ad:0x1c,_0x81ba34:0x79e,_0x324793:0x55d,_0x183103:0x231,_0x1adbd3:0x32a,_0x438f0f:0x1ff,_0x38c9ad:0x8d9,_0x273366:0x84d,_0x4e82be:0x5c8,_0x773a63:0x4eb,_0x26301a:0x47e,_0x16aa64:0x8aa,_0x5ad979:0x58c,_0x1f0dc6:0x763,_0x4f18bf:0x3d9,_0x3ecf2e:0x3c2,_0x1d26f3:0x409,_0x35a58d:0x6d8,_0x56a2d7:0x3d9,_0xaeabb1:0x25e,_0x2e864c:0x261,_0x5b840d:0x591,_0x12d816:0x7a5,_0x5a12ef:0x82c},_0x4f556a={_0x2d9a08:0x3c5,_0x1fc60e:0x4bc,_0x3409de:0x68a,_0x2c9a32:0x42c,_0x2886d9:0x662,_0x48b09b:0x4bc,_0x11b0a0:0x38c,_0x3ce759:0x300,_0x54de6a:0x52e,_0x52bc04:0x401},_0x28f7fa={_0x7253c3:0x4fa,_0x1e2c7e:0x45f,_0x54dee2:0x582,_0x57e9d8:0x47c,_0x55dbb4:0x2d3,_0x3f0a6b:0x12e,_0x273934:0xd3,_0x42a6b8:0x2a7,_0x254521:0x493,_0x5dc00b:0x1e5,_0x4ca767:0x39e},_0x21aae2={_0x4fc97f:0x994,_0x33f8c2:0x1be,_0x266318:0x223,_0x5e8cf4:0x47e,_0x2941a0:0x59e,_0xa43a1e:0x1f4,_0x29d45f:0x26,_0x5d9675:0x90,_0x53b1c4:0x69a,_0x174964:0x8b1,_0x2b04a9:0x38d,_0x384f6e:0x5b3,_0x2de23a:0x47c,_0x25db80:0x709,_0x9362c2:0x5ee,_0x35dd09:0x81e,_0x68c4ea:0x1a8,_0x462100:0x381,_0x42f002:0x561,_0x3670dd:0x75,_0x25a64e:0x807,_0x4bd5fc:0x271,_0x4e5bcd:0x17b,_0x9beca:0x1e6},_0x3a71f1={_0x420303:0x6a1,_0x7e0755:0x510},_0x207d5c={_0x331783:0x627},_0x47b573={'hIBpv':function(_0x1ac491,_0x5240af){return _0x1ac491(_0x5240af);},'nFrGN':'down','poNRO':_0x509008(0x680,0x666)+'>','FoklQ':function(_0x5e9b4f,_0x1d420d){return _0x5e9b4f(_0x1d420d);},'mJUrq':function(_0x417707,_0x3daefa,_0x4005f5){return _0x417707(_0x3daefa,_0x4005f5);},'okesB':'--json','wtPOb':_0x509008(_0x2deef7._0x315262,_0x2deef7._0x572656),'uTEmt':function(_0xa9fd2b){return _0xa9fd2b();},'vPOYC':function(_0x258e01,_0x49fdcd){return _0x258e01(_0x49fdcd);},'wBWBi':function(_0x3901b,_0x39f77f,_0x213467,_0x35c88a,_0x48e8a,_0x8c87d1,_0x1b72ad){return _0x3901b(_0x39f77f,_0x213467,_0x35c88a,_0x48e8a,_0x8c87d1,_0x1b72ad);},'obfKu':_0x3b5d72(_0x2deef7._0x22006e,0x441),'WkHpJ':function(_0x44a75e){return _0x44a75e();},'JMIGE':function(_0xf80c83,_0x31cf41,_0x4afa6c){return _0xf80c83(_0x31cf41,_0x4afa6c);},'KmNgs':'https://'+_0x509008(_0x2deef7._0x258b23,_0x2deef7._0x1fa6ca)+'.clawket'+_0x509008(0x59b,0x6be),'WHzuV':function(_0x5a5b44){return _0x5a5b44();},'HTltK':function(_0x48277e,_0x5ab83b,_0x34bb21){return _0x48277e(_0x5ab83b,_0x34bb21);},'KssGc':function(_0x5e67fe){return _0x5e67fe();},'rwTOF':function(_0x15b733,_0x5eaa4d,_0x12727,_0x102de6,_0x21ec10){return _0x15b733(_0x5eaa4d,_0x12727,_0x102de6,_0x21ec10);},'EssHn':_0x509008(_0x2deef7._0x21b90e,_0x2deef7._0x3b4e96)+_0x3b5d72(0x614,0x541)+_0x509008(_0x2deef7._0x273e5b,0x4c5)+_0x3b5d72(0x299,_0x2deef7._0x50ec38)+'ng.\x20Left'+_0x3b5d72(_0x2deef7._0x3ca931,_0x2deef7._0x1a2ce0)+'ed.','XnnDv':function(_0x21c9b9,_0x5ae317){return _0x21c9b9===_0x5ae317;},'iitKC':function(_0x1bb480){return _0x1bb480();},'IaPal':_0x509008(_0x2deef7._0x50b009,_0x2deef7._0x3df9ae),'vZQCD':_0x509008(0x7d6,0x889)+_0x3b5d72(_0x2deef7._0x20a396,_0x2deef7._0x17425d)+'ackgroun'+_0x3b5d72(0x583,0x4d1)+'e.','EHiXw':function(_0x10606c,_0x54c7b0,_0x4b2016){return _0x10606c(_0x54c7b0,_0x4b2016);},'KTgUW':function(_0x4e5bf1,_0x2f8612){return _0x4e5bf1(_0x2f8612);},'juJzT':function(_0x3505d5,_0x59adef){return _0x3505d5(_0x59adef);},'aMWUd':_0x509008(0x60a,_0x2deef7._0x505cd0),'mvgiO':function(_0x1e0dfa,_0x123a42){return _0x1e0dfa(_0x123a42);},'QVsUs':function(_0x17645b,_0x4a5eae,_0x15ccc1){return _0x17645b(_0x4a5eae,_0x15ccc1);},'iCMxI':function(_0x3dbc06){return _0x3dbc06();},'odrHZ':_0x509008(0x4fc,0x6fc)+_0x3b5d72(_0x2deef7._0x164d02,_0x2deef7._0xea2df5)+_0x509008(0x9b6,0x913)+'ce.','hbQyn':_0x3b5d72(_0x2deef7._0x10feff,0x1ec)+_0x3b5d72(0x167,_0x2deef7._0x545558)+_0x509008(0x6d9,0x913)+_0x509008(_0x2deef7._0x5c954c,_0x2deef7._0x12c768)+'tration.','JWfJF':_0x3b5d72(0x5d4,_0x2deef7._0x451694),'bXnbt':_0x3b5d72(0x39e,0x4d8),'uuhsQ':_0x3b5d72(0x58d,_0x2deef7._0x33189e),'WhMCA':function(_0x196dc1){return _0x196dc1();}},[,,_0x32fd1d='help',..._0x138631]=process['argv'],_0x1e8849=hasFlag(_0x138631,_0x509008(_0x2deef7._0x2cc7c8,0x5cc)+'e'),_0x30b095=_0x47b573[_0x509008(_0x2deef7._0x4f2123,_0x2deef7._0x1db537)](hasFlag,_0x138631,_0x47b573[_0x3b5d72(0x4bf,_0x2deef7._0x113670)]);if(_0x32fd1d===_0x3b5d72(0x407,_0x2deef7._0x3d2af2)){const _0x4037a2=readPairSubcommand(_0x138631),_0x39dff7=_0x4037a2===_0x509008(_0x2deef7._0x135012,0x49e)||hasFlag(_0x138631,_0x47b573[_0x509008(0x93d,0x8bd)]);if(_0x39dff7){const _0x20770d=_0x47b573['uTEmt'](resolveGatewayAuth);if(_0x3b5d72(_0x2deef7._0x2bfb45,0x466)in _0x20770d)throw new Error(_0x20770d[_0x509008(0xa54,0x89b)]);const _0x3a0132=readFlag(_0x138631,'--qr-fil'+'e'),_0x52a700=_0x47b573[_0x3b5d72(0x625,0x891)](buildLocalPairingInfo,{'explicitUrl':readFlag(_0x138631,_0x3b5d72(0x13a,0x109)),'gatewayToken':_0x20770d[_0x3b5d72(0x160,_0x2deef7._0x1a4957)],'gatewayPassword':_0x20770d[_0x509008(_0x2deef7._0x36933c,0x76f)]}),_0x46dd7f=await writeRawQrPng(_0x52a700[_0x509008(0x64d,0x482)+'d'],_0x509008(0x426,_0x2deef7._0x34db53)+_0x3b5d72(_0x2deef7._0x142488,0x34a)+'ir',_0x3a0132);if(_0x30b095){const _0x3dadf0={};_0x3dadf0[_0x509008(_0x2deef7._0x464235,_0x2deef7._0x51bb7e)+'rl']=_0x52a700[_0x509008(_0x2deef7._0x368d8b,_0x2deef7._0x4c5060)+'rl'],_0x3dadf0[_0x3b5d72(_0x2deef7._0x572264,_0x2deef7._0x528f3e)]=_0x52a700[_0x3b5d72(_0x2deef7._0x572264,_0x2deef7._0x91ebaa)],_0x3dadf0[_0x3b5d72(0x5a2,0x3d2)+'t']=_0x52a700[_0x3b5d72(_0x2deef7._0x44cfc5,_0x2deef7._0x58168b)+'t'],_0x3dadf0['qrImageP'+_0x509008(0x75c,_0x2deef7._0x1a2f6f)]=_0x46dd7f,_0x3dadf0[_0x3b5d72(0x1f3,_0x2deef7._0x40ffbb)]=_0x3b5d72(0x1fb,_0x2deef7._0x373a3a)+_0x3b5d72(0x3b8,_0x2deef7._0xe6d577)+_0x509008(0x874,_0x2deef7._0x1e129f)+_0x3b5d72(_0x2deef7._0x3ec5ec,0x5a6)+_0x509008(0x6ae,_0x2deef7._0x3d3657),_0x47b573[_0x509008(_0x2deef7._0x3f3884,0x924)](printJson,buildLocalPairingJson(_0x3dadf0));}else _0x47b573[_0x509008(_0x2deef7._0x10b341,_0x2deef7._0x28cdef)](printLocalPairingInfo,_0x52a700[_0x3b5d72(_0x2deef7._0x13add6,0x744)+'rl'],_0x52a700[_0x509008(0x6be,_0x2deef7._0x50b985)],_0x52a700[_0x3b5d72(0x5a2,0x742)+'t'],_0x52a700[_0x509008(0x211,0x482)+'d'],_0x46dd7f,readFlag(_0x138631,'--url'));return;}const _0x1d488f=hasFlag(_0x138631,_0x47b573[_0x3b5d72(0x3b9,0x5d8)]);!_0x1d488f&&await ensurePairPrerequisites();const _0x2e62ea=_0x47b573[_0x3b5d72(0x3cb,_0x2deef7._0x553409)](resolveGatewayAuth);if(_0x3b5d72(0x59c,_0x2deef7._0x30ad24)in _0x2e62ea)throw new Error(_0x2e62ea[_0x509008(0x927,0x89b)]);const _0x4f5eb8=_0x47b573[_0x509008(_0x2deef7._0x42d593,0x8a4)](readFlag,_0x138631,_0x3b5d72(0x403,_0x2deef7._0x177926))??_0x47b573[_0x509008(_0x2deef7._0x5f0342,_0x2deef7._0x344499)](readFlag,_0x138631,'-s')??_0x47b573['KmNgs'],_0x3bf63a=readFlag(_0x138631,_0x3b5d72(_0x2deef7._0x10dff7,_0x2deef7._0xbd7291))??_0x47b573['JMIGE'](readFlag,_0x138631,'-n')??_0x47b573['WHzuV'](getDefaultBridgeDisplayName),_0x309aff=readFlag(_0x138631,_0x509008(0x79e,0x689)+'e'),_0x4c8d3e={};_0x4c8d3e[_0x3b5d72(0x426,0x399)+'l']=_0x4f5eb8,_0x4c8d3e[_0x509008(_0x2deef7._0x5a9feb,_0x2deef7._0x15d362)+_0x3b5d72(0x45a,_0x2deef7._0x1f7afa)]=_0x3bf63a,_0x4c8d3e[_0x509008(_0x2deef7._0x4b0959,0x442)+_0x509008(0x229,_0x2deef7._0x51e703)]=_0x2e62ea[_0x3b5d72(0x160,-_0x2deef7._0x9382b7)],_0x4c8d3e[_0x509008(0x7e0,_0x2deef7._0x2cca8e)+_0x3b5d72(0x1b8,0xa9)]=_0x2e62ea[_0x3b5d72(0x470,_0x2deef7._0x525097)];const _0x2f31a7=await pairGateway(_0x4c8d3e),_0x1f2fdf=await _0x47b573[_0x509008(0x4df,0x6bd)](writePairingQrPng,_0x2f31a7,_0x309aff),_0x48ca89=getServiceStatus(),_0x8c7184=decidePairServiceAction(_0x2f31a7,_0x48ca89);if(_0x8c7184==='noop'){const _0x139175=listRuntimeProcesses();if(_0x139175[_0x3b5d72(0x24d,_0x2deef7._0x5d032c)]>0x1){_0x47b573[_0x3b5d72(_0x2deef7._0x5c205b,_0x2deef7._0x47dc4a)](stopRuntimeProcesses);const _0x39a635=_0x47b573[_0x509008(_0x2deef7._0x408cb1,_0x2deef7._0x229af6)](restartService),_0x1e32dd=_0x3b5d72(0x551,0x35f)+_0x509008(0x9f5,_0x2deef7._0x1f9749)+'te\x20bridg'+_0x3b5d72(_0x2deef7._0x581b5a,_0x2deef7._0x36a5fc)+'es.\x20Rest'+_0x509008(0xa16,0x952)+_0x509008(_0x2deef7._0x2da7d9,_0x2deef7._0x1a9778)+_0x3b5d72(0x306,0x344)+_0x509008(0x622,0x5b4)+'anly.';_0x30b095?printJson(_0x47b573['rwTOF'](buildPairingJson,_0x2f31a7,_0x1f2fdf,_0x39a635,_0x1e32dd)):(printPairingInfo(_0x2f31a7,_0x1f2fdf),printServiceResult(_0x1e32dd,_0x39a635));return;}_0x30b095?printJson(_0x47b573[_0x3b5d72(0x497,_0x2deef7._0xce1c1b)](buildPairingJson,_0x2f31a7,_0x1f2fdf,_0x48ca89,_0x509008(_0x2deef7._0x52f382,0x54b)+_0x509008(_0x2deef7._0x5cebc8,0x913)+'ce\x20alrea'+'dy\x20runni'+'ng.\x20Left'+_0x3b5d72(0x533,_0x2deef7._0x51a622)+_0x3b5d72(0x196,0x3af))):(printPairingInfo(_0x2f31a7,_0x1f2fdf),console[_0x3b5d72(0x231,0x21d)](_0x47b573[_0x3b5d72(_0x2deef7._0x58de5d,_0x2deef7._0x38f653)]),printServiceResult(null,_0x48ca89));return;}try{stopRuntimeProcesses();const _0x3c9a45=_0x47b573[_0x509008(0x5e5,_0x2deef7._0xfebe8)](_0x8c7184,_0x3b5d72(_0x2deef7._0x29d68f,_0x2deef7._0x371714))?_0x47b573['iitKC'](installService):restartService(),_0x294619=_0x8c7184===_0x47b573[_0x509008(0x535,_0x2deef7._0x5a9612)]?_0x47b573[_0x3b5d72(_0x2deef7._0x2d3497,0x40a)]:_0x47b573[_0x3b5d72(_0x2deef7._0x8b3637,0x40c)](_0x2f31a7[_0x3b5d72(_0x2deef7._0xb84a68,_0x2deef7._0x5beb49)],_0x3b5d72(_0x2deef7._0x212b9b,_0x2deef7._0x2113fb)+'ed')?'Bridge\x20i'+_0x509008(0x5de,0x673)+_0x509008(0x598,_0x2deef7._0x4c8565)+'\x20Restart'+_0x3b5d72(0x2d7,0x40c)+'round\x20se'+'rvice\x20to'+_0x509008(_0x2deef7._0x5d909d,_0x2deef7._0x38db71)+_0x509008(0x331,_0x2deef7._0x5676f2)+_0x3b5d72(_0x2deef7._0x391af6,0x4ee):_0x3b5d72(0x24c,_0x2deef7._0x23ac2a)+_0x3b5d72(_0x2deef7._0x38a9ec,0x3c9)+'ce\x20was\x20i'+_0x3b5d72(_0x2deef7._0x4f2623,0x71f)+_0x509008(0x86a,_0x2deef7._0xebbc03)+_0x509008(0x744,0x5d7)+'started\x20'+_0x3b5d72(0x521,_0x2deef7._0x51370c);_0x30b095?printJson(buildPairingJson(_0x2f31a7,_0x1f2fdf,_0x3c9a45,_0x294619)):(printPairingInfo(_0x2f31a7,_0x1f2fdf),_0x47b573[_0x3b5d72(0x383,_0x2deef7._0x5a5190)](printServiceResult,_0x294619,_0x3c9a45));}catch(_0x566b9c){if(_0x47b573[_0x509008(_0x2deef7._0x4601b5,0x64e)](isAutostartUnsupportedError,_0x566b9c)){const _0x56ec0b=await startTransientRuntime(),_0xb62470=_0x47b573[_0x509008(_0x2deef7._0x300ef8,_0x2deef7._0x59824d)](buildUnsupportedAutostartMessage,_0x56ec0b);_0x30b095?_0x47b573[_0x3b5d72(0x652,0x4e1)](printJson,_0x47b573['rwTOF'](buildPairingJson,_0x2f31a7,_0x1f2fdf,_0x56ec0b,_0xb62470)):(_0x47b573['EHiXw'](printPairingInfo,_0x2f31a7,_0x1f2fdf),printServiceResult(_0xb62470,_0x56ec0b));return;}console[_0x3b5d72(0x59c,_0x2deef7._0x6f3fe)](_0x3b5d72(0x484,_0x2deef7._0x12f895)+_0x509008(0x8f9,_0x2deef7._0x42dd87)+_0x3b5d72(_0x2deef7._0x14515e,_0x2deef7._0x4b99be)+_0x509008(0x590,0x504)+'ctivatio'+_0x509008(0x7e3,0x7f7)+':\x20'+formatError2(_0x566b9c)),console['error'](_0x509008(_0x2deef7._0x465116,_0x2deef7._0x1f2dec)+_0x3b5d72(_0x2deef7._0x39e8e9,_0x2deef7._0x379c47)+_0x3b5d72(_0x2deef7._0x3b995c,_0x2deef7._0x2ca96c)+_0x509008(_0x2deef7._0x213acf,0x513)+_0x3b5d72(_0x2deef7._0x1152ac,_0x2deef7._0x3915b4)+_0x3b5d72(_0x2deef7._0x2352f5,_0x2deef7._0x4ce74d)+_0x509008(0x980,_0x2deef7._0x1d6fb9)+_0x509008(_0x2deef7._0x335080,_0x2deef7._0x3227c9)),process[_0x3b5d72(0x1b4,0x251)]=0x1;}return;}if(_0x47b573[_0x3b5d72(_0x2deef7._0x8b3637,0x316)](_0x32fd1d,'refresh-'+_0x509008(0x972,0x76d))){const _0xd87bc=_0x47b573['HTltK'](readFlag,_0x138631,_0x509008(0x5f3,_0x2deef7._0x540fd0)+'e'),_0x104447=resolveGatewayAuth();if(_0x47b573[_0x509008(0x84f,0x5e0)]in _0x104447)throw new Error(_0x104447[_0x3b5d72(_0x2deef7._0x2bfb45,0x589)]);const _0x2e4b47={};_0x2e4b47['gatewayT'+_0x509008(_0x2deef7._0x2d3497,_0x2deef7._0x3d6984)]=_0x104447[_0x3b5d72(_0x2deef7._0x55e65b,_0x2deef7._0x53f096)],_0x2e4b47[_0x509008(_0x2deef7._0x4e3ce4,_0x2deef7._0x296866)+'assword']=_0x104447['password'];const _0x31cc33=await _0x47b573[_0x3b5d72(_0x2deef7._0x311dd5,0x6a2)](refreshAccessCode,_0x2e4b47),_0x1c8768=await writePairingQrPng(_0x31cc33,_0xd87bc);_0x30b095?_0x47b573[_0x3b5d72(0x600,0x770)](printJson,buildPairingJson(_0x31cc33,_0x1c8768,getServiceStatus(),_0x3b5d72(0x484,_0x2deef7._0x180e84)+'code\x20ref'+'reshed.')):_0x47b573[_0x509008(0x6e7,0x6aa)](printPairingInfo,_0x31cc33,_0x1c8768);return;}if(_0x47b573[_0x3b5d72(_0x2deef7._0x3e6d81,0x69d)](_0x32fd1d,_0x47b573['IaPal'])||_0x32fd1d===_0x3b5d72(_0x2deef7._0x499c69,0x434)){const _0x4fc53c=requirePairingConfig();_0x47b573[_0x3b5d72(0x2d5,0x4a3)](stopRuntimeProcesses);const _0x2cb416=installService();console[_0x509008(0x33d,0x530)]('Installe'+'d\x20backgr'+_0x509008(_0x2deef7._0x3154d0,0x605)+_0x3b5d72(0x2c8,0xb4)+_0x509008(_0x2deef7._0x1916f9,0x795)+'\x20'+_0x4fc53c[_0x3b5d72(_0x2deef7._0x1b1e7d,_0x2deef7._0x5cc752)+'d']+'.'),printServiceResult(null,_0x2cb416);return;}function _0x509008(_0x7ed11a,_0x1f34ec){return _0x410a57(_0x7ed11a,_0x1f34ec-_0x207d5c._0x331783);}if(_0x32fd1d===_0x509008(_0x2deef7._0x3fa5d3,_0x2deef7._0x580dbe)){const _0x539bcd=requirePairingConfig();stopRuntimeProcesses();const _0x14044d=restartService();console[_0x3b5d72(_0x2deef7._0x35bde0,_0x2deef7._0x55e8e9)]('Restarte'+'d\x20backgr'+_0x509008(0x847,_0x2deef7._0xf33ef)+_0x3b5d72(_0x2deef7._0x8d6fcb,_0x2deef7._0x5c0cf2)+_0x3b5d72(0x496,0x260)+'\x20'+_0x539bcd['gatewayI'+'d']+'.'),printServiceResult(null,_0x14044d);return;}if(_0x32fd1d==='stop'){const _0x4b7f48=_0x47b573['iCMxI'](stopService);stopRuntimeProcesses(),console['log'](_0x47b573[_0x3b5d72(_0x2deef7._0x1c4fcd,_0x2deef7._0x474579)]),printServiceResult(null,_0x4b7f48);return;}if(_0x47b573[_0x509008(0x97e,_0x2deef7._0xfebe8)](_0x32fd1d,_0x3b5d72(0x351,0x155)+'l')){const _0x300c31=uninstallService();stopRuntimeProcesses(),console[_0x3b5d72(0x231,0x1a7)](_0x47b573['hbQyn']),printServiceResult(null,_0x300c31);return;}if(_0x32fd1d===_0x509008(0x60b,0x65b)){stopRuntimeProcesses(),stopService(),deletePairingConfig(),console['log'](_0x509008(0x56d,_0x2deef7._0x2b1634)+_0x509008(_0x2deef7._0x18320c,_0x2deef7._0x30a063)+_0x509008(0x976,_0x2deef7._0x3fd5d8)+getPairingConfigPath());return;}if(_0x32fd1d===_0x47b573[_0x3b5d72(_0x2deef7._0x4755ae,-_0x2deef7._0x16d76f)]){printStatus();return;}if(_0x32fd1d===_0x47b573['bXnbt']){const _0x3ed748=Number(readFlag(_0x138631,_0x509008(0xa75,_0x2deef7._0x1f73b4))??'200'),_0x21042b=parseLookbackToMs(readFlag(_0x138631,_0x47b573['uuhsQ'])??_0x47b573['JMIGE'](readFlag,_0x138631,'-l')),_0x3a4bd7=_0x47b573['hIBpv'](readRecentCliLogs,{'lines':_0x3ed748,'lastMs':_0x21042b,'includeErrorLog':hasFlag(_0x138631,_0x3b5d72(0x2ae,0x5c))});if(_0x30b095){const _0x2f330c={};_0x2f330c['ok']=!![],_0x2f330c[_0x509008(0x754,_0x2deef7._0x321dbb)]=_0x3a4bd7,_0x47b573[_0x509008(0xa25,_0x2deef7._0x20c97f)](printJson,_0x2f330c);}else _0x3a4bd7[_0x509008(0x404,0x54c)]===0x0?console[_0x3b5d72(0x231,0x2de)](_0x509008(_0x2deef7._0x3a15a2,_0x2deef7._0x5bbb82)+_0x3b5d72(_0x2deef7._0x16d4f3,0x645)+_0x509008(0x4fc,_0x2deef7._0x19b589)+'nd.'):console[_0x509008(0x513,_0x2deef7._0x4d5d90)](_0x3a4bd7[_0x509008(0x7f5,0x611)]('\x0a'));return;}if(_0x32fd1d===_0x509008(_0x2deef7._0x2ff7c6,_0x2deef7._0x130fb9)){const _0x2f266a=await buildDoctorReport();_0x30b095?printJson(_0x2f266a):printDoctorReport(_0x2f266a);return;}function _0x3b5d72(_0x303b10,_0x8216e4){return _0x410a57(_0x8216e4,_0x303b10-0x328);}if(_0x32fd1d===_0x509008(0x42d,_0x2deef7._0x4665b0)){const _0x439778=_0x47b573[_0x509008(0x56d,_0x2deef7._0x288f77)](requirePairingConfig),_0x2e7d48=hasFlag(_0x138631,'--replac'+'e'),_0xef9519=_0x47b573[_0x3b5d72(0x4c8,0x6c5)](listRuntimeProcesses)['map'](_0x40cf0b=>_0x40cf0b[_0x509008(0x601,0x7e3)]);_0xef9519[_0x3b5d72(0x24d,_0x2deef7._0x278288)]>0x0&&(!_0x2e7d48&&(console[_0x3b5d72(0x59c,0x375)](_0x509008(_0x2deef7._0x55df49,_0x2deef7._0x1923ff)+_0x3b5d72(_0x2deef7._0x46e43f,0x53a)+_0x509008(0x98b,_0x2deef7._0x2eb2aa)+_0x509008(0x80a,_0x2deef7._0x509b4c)+_0x3b5d72(0x44d,_0x2deef7._0x40afc6)+_0x509008(_0x2deef7._0x533c59,_0x2deef7._0x402acb)+'g\x20(pid'+(_0xef9519[_0x3b5d72(0x24d,_0x2deef7._0x10d802)]>0x1?'s':'')+':\x20'+_0xef9519['join'](',\x20')+(').\x20Run\x20\x22'+_0x509008(_0x2deef7._0x2e7cdd,0x93c)+_0x3b5d72(_0x2deef7._0x86f781,0x2bd)+_0x509008(0x4fe,0x6c2)+'rerun\x20wi'+'th\x20\x22--re'+'place\x22\x20t'+'o\x20take\x20o'+_0x509008(0xb61,0x94a))),process[_0x3b5d72(_0x2deef7._0x39fd93,0x62a)](0x1)),stopRuntimeProcesses());const _0xd9c864=resolveGatewayUrl(readFlag(_0x138631,'--gatewa'+_0x3b5d72(_0x2deef7._0x33aff6,0x2cb))??readFlag(_0x138631,'-g')),_0x2479d3=_0x5d82fa=>{console['log']('['+Date['now']()+']\x20'+_0x5d82fa);};!_0x1e8849?(console[_0x509008(_0x2deef7._0x583eb4,_0x2deef7._0x4d5d90)](_0x3b5d72(_0x2deef7._0x189bce,0x5c5)+_0x509008(0x638,0x5e8)+_0x439778[_0x509008(_0x2deef7._0x24f8b2,0x6d8)+'d']),console[_0x3b5d72(_0x2deef7._0x34d648,_0x2deef7._0x3cf7ad)](_0x509008(0x3a0,0x5b5)+_0x509008(_0x2deef7._0x81ba34,0x8c1)+_0x439778[_0x509008(0x5c1,_0x2deef7._0x324793)+'Id']),console[_0x509008(0x4a2,0x530)](_0x509008(0xb6a,0x901)+'URL:\x20'+_0xd9c864),console[_0x3b5d72(_0x2deef7._0x183103,_0x2deef7._0x1adbd3)](''),console[_0x3b5d72(0x231,_0x2deef7._0x438f0f)](_0x509008(0x9e7,_0x2deef7._0x38c9ad)+_0x509008(_0x2deef7._0x273366,_0x2deef7._0x4e82be)+_0x3b5d72(_0x2deef7._0x773a63,0x388)+'\x20Press\x20C'+_0x509008(_0x2deef7._0x26301a,0x49d)+_0x3b5d72(0x4de,0x772)),console['log']('')):_0x2479d3('Starting'+_0x509008(0x860,_0x2deef7._0x16aa64)+_0x509008(_0x2deef7._0x5ad979,_0x2deef7._0x1f0dc6)+_0x3b5d72(0x21f,0x96)+'\x20for\x20gat'+_0x3b5d72(0x36f,0x2e7)+_0x439778[_0x3b5d72(_0x2deef7._0x4f18bf,_0x2deef7._0x3ecf2e)+'d']);_0x1e8849&&writeServiceState();const _0x3668c4=new BridgeRuntime({'config':_0x439778,'gatewayUrl':_0xd9c864,'onLog':_0x323d7c=>{const _0x35baab={_0x18b33f:0x16d};function _0x56abc5(_0x2d1bd3,_0x13d606){return _0x509008(_0x2d1bd3,_0x13d606-_0x35baab._0x18b33f);}function _0x41e57a(_0x4f84c2,_0x2a02fa){return _0x509008(_0x2a02fa,_0x4f84c2-0x4f);}_0x47b573[_0x56abc5(0xc15,0xa6f)](_0x2479d3,_0x41e57a(_0x3a71f1._0x420303,_0x3a71f1._0x7e0755)+']\x20'+_0x323d7c);},'onStatus':_0x13a1af=>{const _0x53448e={_0x136f2b:0x371};if(_0x13a1af['lastErro'+'r']){_0x2479d3('[status]'+_0x451fe9(0xa1e,_0x21aae2._0x4fc97f)+(_0x13a1af[_0x273201(_0x21aae2._0x33f8c2,0x87)+_0x273201(0x33c,_0x21aae2._0x266318)]?'up':_0x451fe9(_0x21aae2._0x5e8cf4,_0x21aae2._0x2941a0))+(_0x273201(_0x21aae2._0xa43a1e,_0x21aae2._0x29d45f)+'=')+(_0x13a1af[_0x273201(0x2c0,_0x21aae2._0x5d9675)+_0x451fe9(_0x21aae2._0x53b1c4,0x884)]?'up':_0x47b573[_0x451fe9(0x789,_0x21aae2._0x174964)])+(_0x451fe9(_0x21aae2._0x2b04a9,_0x21aae2._0x384f6e)+'=')+_0x13a1af[_0x273201(0xb4,0x18b)+_0x451fe9(_0x21aae2._0x2de23a,_0x21aae2._0x25db80)]+_0x451fe9(_0x21aae2._0x9362c2,_0x21aae2._0x35dd09)+_0x13a1af['lastErro'+'r']);return;}function _0x273201(_0x3f32ed,_0x1bba7c){return _0x3b5d72(_0x3f32ed- -0x2a2,_0x1bba7c);}function _0x451fe9(_0x51fc93,_0x4a3326){return _0x3b5d72(_0x4a3326-_0x53448e._0x136f2b,_0x51fc93);}_0x2479d3(_0x273201(0xc7,-_0x21aae2._0x68c4ea)+_0x273201(_0x21aae2._0x462100,_0x21aae2._0x42f002)+(_0x13a1af['relayCon'+_0x451fe9(0x97d,0x94f)]?'up':_0x273201(-_0x21aae2._0x3670dd,-0x17b))+(_0x451fe9(0x99e,_0x21aae2._0x25a64e)+'=')+(_0x13a1af['gatewayC'+_0x273201(_0x21aae2._0x4bd5fc,0x4c6)]?'up':'down')+(_0x273201(-0x60,-_0x21aae2._0x4e5bcd)+'=')+_0x13a1af[_0x273201(0xb4,_0x21aae2._0x9beca)+_0x451fe9(0x63f,0x709)]);},'onPendingPairRequest':_0x480609=>{const _0x3335ce={_0x240e6a:0x216};function _0x4a0839(_0x151b39,_0x49d54e){return _0x3b5d72(_0x49d54e- -_0x3335ce._0x240e6a,_0x151b39);}function _0x5417a6(_0x56ada6,_0xf71a4){return _0x3b5d72(_0xf71a4- -0x1a4,_0x56ada6);}_0x47b573[_0x5417a6(_0x28f7fa._0x7253c3,_0x28f7fa._0x1e2c7e)](_0x2479d3,_0x5417a6(_0x28f7fa._0x54dee2,_0x28f7fa._0x57e9d8)+_0x5417a6(0x1bc,_0x28f7fa._0x55dbb4)+'equestId'+'='+_0x480609[_0x4a0839(0x6bb,0x432)+'d']+(_0x5417a6(0x186,0x51)+'d=')+(_0x480609[_0x4a0839(_0x28f7fa._0x3f0a6b,0x120)]||'<unknown'+'>')+_0x5417a6(-_0x28f7fa._0x273934,0xd4)+(_0x480609[_0x5417a6(_0x28f7fa._0x42a6b8,_0x28f7fa._0x254521)+'ame']??_0x47b573[_0x5417a6(_0x28f7fa._0x5dc00b,_0x28f7fa._0x4ca767)]));}});_0x3668c4[_0x3b5d72(0x347,_0x2deef7._0x1d26f3)]();const _0x3557cb={};_0x3557cb[_0x509008(0x958,_0x2deef7._0x35a58d)+'d']=_0x439778[_0x3b5d72(_0x2deef7._0x56a2d7,0x454)+'d'],_0x3557cb[_0x3b5d72(_0x2deef7._0xaeabb1,_0x2deef7._0x2e864c)+'Id']=_0x439778['instance'+'Id'],_0x3557cb['serviceM'+_0x3b5d72(0x412,0x49d)]=_0x1e8849,registerRuntimeProcess(_0x3557cb);const _0x26f1e2=async()=>{function _0x21eb59(_0x2df661,_0xa9a6f5){return _0x3b5d72(_0xa9a6f5- -0x11d,_0x2df661);}process[_0x21eb59(_0x4f556a._0x2d9a08,_0x4f556a._0x1fc60e)](_0x21eb59(_0x4f556a._0x3409de,_0x4f556a._0x2c9a32),_0x26f1e2),process[_0x21eb59(_0x4f556a._0x2886d9,_0x4f556a._0x48b09b)](_0x21eb59(0x394,0x410),_0x26f1e2),await _0x3668c4[_0x21eb59(_0x4f556a._0x11b0a0,_0x4f556a._0x3ce759)](),unregisterRuntimeProcess(process[_0x21eb59(0x473,0x3c7)]);_0x1e8849&&_0x47b573[_0x5b9eb1(0x2e4,_0x4f556a._0x54de6a)](clearServiceState,process[_0x21eb59(0x35a,0x3c7)]);function _0x5b9eb1(_0x54d492,_0x598ba4){return _0x3b5d72(_0x598ba4-0x312,_0x54d492);}process[_0x21eb59(0x492,_0x4f556a._0x52bc04)](0x0);};process['on'](_0x3b5d72(0x549,_0x2deef7._0x5b840d),_0x26f1e2),process['on'](_0x509008(_0x2deef7._0x12d816,_0x2deef7._0x5a12ef),_0x26f1e2),await new Promise(()=>{});}_0x47b573[_0x509008(0xa98,0x927)](printHelp);}function printPairingInfo(_0x364ed1,_0x4b592e){const _0x5cd6b5={_0x417b99:0x3a7,_0x3f8de8:0x4df,_0x45adce:0x7bf,_0xfc8be:0x76c,_0x2ebd4b:0x64c,_0x18d6ed:0x2cc,_0x252e5c:0x4ea,_0x3bb099:0xa44,_0x1c6ae9:0x860,_0x3092a1:0x547,_0x4ebbce:0x4cf,_0x4c8f51:0x774,_0x4f57e5:0x601,_0x306f9d:0x623,_0x44c73a:0x43c,_0x34a282:0x48f,_0x42e996:0xa8d,_0x1f39f5:0x8b8,_0x130543:0x50a,_0x31967a:0x334,_0x44fcc4:0x4ea,_0x32abce:0x606};_0x364ed1[_0x152687(0x45b,_0x5cd6b5._0x417b99)]===_0x152687(0x370,0x3ba)+'d'&&console[_0x22dacc(_0x5cd6b5._0x3f8de8,0x4ea)]('Bridge\x20a'+_0x152687(_0x5cd6b5._0x45adce,0x68b)+_0x22dacc(_0x5cd6b5._0xfc8be,_0x5cd6b5._0x2ebd4b)+'efreshed'+'\x20the\x20pai'+_0x152687(_0x5cd6b5._0x18d6ed,0x3c9)+'e.');function _0x22dacc(_0xfbe788,_0x19a198){return _0x2420cb(_0x19a198- -0xef,_0xfbe788);}console[_0x22dacc(0x49c,_0x5cd6b5._0x252e5c)](_0x152687(_0x5cd6b5._0x3bb099,_0x5cd6b5._0x1c6ae9)+_0x152687(0x510,_0x5cd6b5._0x3092a1)+_0x364ed1[_0x152687(0x4c9,_0x5cd6b5._0x4ebbce)][_0x22dacc(0x74c,0x692)+'d']);function _0x152687(_0x487ee7,_0x4d0914){return _0x2420cb(_0x4d0914- -0x14a,_0x487ee7);}console[_0x22dacc(0x2f8,_0x5cd6b5._0x252e5c)]('\x0aScan\x20th'+'is\x20QR\x20co'+'de\x20in\x20th'+_0x152687(_0x5cd6b5._0x4c8f51,_0x5cd6b5._0x4f57e5)+'t\x20app:\x0a');const _0x1b243f={};_0x1b243f[_0x152687(0x4d6,0x466)]=!![],_0x15072f['generate'](_0x364ed1[_0x22dacc(_0x5cd6b5._0x306f9d,_0x5cd6b5._0x44c73a)+'d'],_0x1b243f),console[_0x152687(0x210,_0x5cd6b5._0x34a282)](_0x152687(0x211,0x4a6)+'\x20'+formatLocalTime(_0x364ed1['accessCo'+_0x22dacc(_0x5cd6b5._0x42e996,_0x5cd6b5._0x1f39f5)+_0x22dacc(_0x5cd6b5._0x130543,0x5d2)])),console[_0x22dacc(_0x5cd6b5._0x31967a,_0x5cd6b5._0x44fcc4)](_0x152687(0x669,_0x5cd6b5._0x32abce)+':\x20'+_0x4b592e);}function printLocalPairingInfo(_0x9286aa,_0x17de9b,_0x580e84,_0x18ab54,_0x3a8a2b,_0x1e5e04){const _0x1077c7={_0x472f63:0x12a,_0x195c6d:0x3d2,_0x34b283:0x10d,_0x1b314d:0x32,_0x1f49ba:0x24f,_0x4164ee:0x3c2,_0x3332f2:0x409,_0x36549:0x426,_0x41b0e2:0x3a0,_0x3a845e:0x50f,_0x2f4091:0x11f,_0x20f53f:0x4ca,_0x185b5e:0x7f,_0x49b6a3:0x282,_0x2082d4:0x4a3,_0x36d8b2:0x5d8,_0x2dbfec:0x67,_0x117dde:0x94,_0x93ad16:0x415,_0x58237c:0x2a1,_0x439d6f:0x387},_0x8aa94e={_0x2aee4e:0x38a},_0xb0c2ba={_0x36176c:0x4af};function _0x4444ab(_0x307183,_0x51a82f){return _0x2420cb(_0x307183- -_0xb0c2ba._0x36176c,_0x51a82f);}console[_0x4444ab(_0x1077c7._0x472f63,0xbf)]('Gateway\x20'+_0x4083f0(_0x1077c7._0x195c6d,0x36a)+_0x9286aa),console[_0x4444ab(0x12a,-_0x1077c7._0x34b283)]('Auth\x20mod'+_0x4444ab(_0x1077c7._0x1b314d,-0x1fd)+_0x17de9b),console[_0x4083f0(0x25d,_0x1077c7._0x1f49ba)](_0x1e5e04?'\x0aScan\x20th'+_0x4083f0(0x1fc,_0x1077c7._0x4164ee)+_0x4444ab(_0x1077c7._0x3332f2,_0x1077c7._0x36549)+_0x4444ab(0x1ee,0x426)+'the\x20Claw'+_0x4444ab(0x2ad,_0x1077c7._0x41b0e2)+'\x0a':'\x0aScan\x20th'+_0x4444ab(_0x1077c7._0x3a845e,0x295)+_0x4444ab(0x38f,_0x1077c7._0x2f4091)+_0x4444ab(0x47a,_0x1077c7._0x20f53f)+_0x4444ab(0x1d9,-_0x1077c7._0x185b5e)+_0x4444ab(_0x1077c7._0x49b6a3,0x134));const _0x49d230={};_0x49d230[_0x4083f0(0x4d,0x226)]=!![],_0x15072f[_0x4444ab(_0x1077c7._0x2082d4,_0x1077c7._0x36d8b2)](_0x18ab54,_0x49d230),console[_0x4444ab(0x12a,-_0x1077c7._0x2dbfec)](_0x4444ab(0x141,-_0x1077c7._0x117dde)+'\x20'+new Date(_0x580e84)[_0x4444ab(_0x1077c7._0x93ad16,0x600)+_0x4083f0(0xc4,0x271)]());function _0x4083f0(_0x432eb0,_0x4aed6d){return _0x2420cb(_0x4aed6d- -_0x8aa94e._0x2aee4e,_0x432eb0);}console[_0x4083f0(0x3f6,0x24f)](_0x4444ab(_0x1077c7._0x58237c,_0x1077c7._0x439d6f)+':\x20'+_0x3a8a2b);}function printStatus(){const _0x4d3048={_0x218fe8:0x6ce,_0x2c1766:0x2fa,_0x4546c3:0x253,_0x45e0fb:0x445,_0x5b0ef0:0x4d2,_0xced31:0x3e8,_0x68481d:0x528,_0x464fd4:0x691,_0x498756:0x9,_0x51755d:0x178,_0x443a3a:0x1d,_0x47193b:0x3e,_0xf60845:0x8f9,_0x571443:0x96,_0x791bf6:0xf6,_0xdf7866:0x1dc,_0x4172f4:0x1a1,_0x5b9a8d:0x2e9,_0xa837fc:0x9a,_0x531092:0x3e,_0x26e147:0x5e1,_0x5af744:0x17c,_0x341922:0x229,_0x223f79:0x12e,_0x53b34d:0x7b,_0x4f94bc:0x662,_0x53d302:0x7e4,_0x421ea5:0x985,_0x21e166:0x258,_0x4cc525:0x35,_0x4bbba3:0x46c,_0x13209f:0xa61,_0x2c05c5:0x916,_0x254286:0x410,_0x2cace0:0x8eb,_0x275846:0x12b,_0x149b00:0x68,_0x47d752:0x511,_0x4a35df:0x3bd,_0x460f43:0xdf},_0x38cbcd={_0x5bc647:0x59b},_0x44471b={_0x559b8c:0xb1},_0x2d5ace={'lBqdU':function(_0x57b91e){return _0x57b91e();},'JXVIG':_0x49daf6(0x59e,_0x4d3048._0x218fe8)+'2','TDnuK':_0x20359e(0x117,_0x4d3048._0x2c1766)+'d'},_0x4a5d40=readPairingConfig(),_0x558885=getServiceStatus(),{logPath:_0x490ee0,errorLogPath:_0x263332}=getServicePaths(),_0x25eb94=_0x2d5ace[_0x20359e(_0x4d3048._0x4546c3,_0x4d3048._0x45e0fb)](readCliVersion);console['log'](_0x49daf6(0x23b,_0x4d3048._0x5b0ef0)+'\x20'+_0x25eb94);if(!_0x4a5d40)console[_0x49daf6(_0x4d3048._0xced31,_0x4d3048._0x68481d)](_0x49daf6(_0x4d3048._0x464fd4,0x5e1)+_0x20359e(-_0x4d3048._0x498756,_0x4d3048._0x51755d)+'ed\x20('+getPairingConfigPath()+')');else{const _0x389c14=_0x2d5ace['JXVIG']['split']('|');let _0x3c6dcd=0x0;while(!![]){switch(_0x389c14[_0x3c6dcd++]){case'0':console[_0x20359e(-_0x4d3048._0x443a3a,_0x4d3048._0x47193b)](_0x49daf6(0x8df,_0x4d3048._0xf60845)+_0x20359e(-_0x4d3048._0x571443,_0x4d3048._0x791bf6)+_0x4a5d40['gatewayI'+'d']);continue;case'1':console[_0x20359e(0x1b7,_0x4d3048._0x47193b)](_0x20359e(0x1c2,_0x4d3048._0xdf7866)+_0x20359e(_0x4d3048._0x4172f4,_0x4d3048._0x5b9a8d)+_0x4a5d40[_0x20359e(0xfb,0x233)+'l']);continue;case'2':console[_0x20359e(-_0x4d3048._0xa837fc,_0x4d3048._0x531092)]('Name:\x20'+(_0x4a5d40[_0x49daf6(0xb49,0x92e)+'ame']??'-'));continue;case'3':console['log'](_0x49daf6(0x560,_0x4d3048._0x26e147)+'paired');continue;case'4':console[_0x20359e(_0x4d3048._0x5af744,0x3e)]('Instance'+':\x20'+_0x4a5d40['instance'+'Id']);continue;}break;}}console[_0x49daf6(0x442,0x528)](_0x49daf6(0x785,0x50e)+'\x20'+resolveGatewayUrl()),console[_0x20359e(-_0x4d3048._0x341922,0x3e)](_0x20359e(_0x4d3048._0x223f79,_0x4d3048._0x53b34d)+'\x20'+(_0x558885[_0x49daf6(_0x4d3048._0x4f94bc,_0x4d3048._0x53d302)+'d']?_0x2d5ace[_0x49daf6(_0x4d3048._0x421ea5,0x7d9)]:_0x49daf6(0x7be,0x5be)+'alled')+'\x20('+_0x558885[_0x20359e(_0x4d3048._0x21e166,-_0x4d3048._0x4cc525)]+')'),console['log'](_0x49daf6(_0x4d3048._0x4bbba3,0x570)+'\x20'+(_0x558885[_0x49daf6(_0x4d3048._0x13209f,_0x4d3048._0x2c05c5)]?_0x20359e(_0x4d3048._0x254286,_0x4d3048._0x341922):'no')),console[_0x20359e(-0x112,0x3e)](_0x49daf6(_0x4d3048._0x2cace0,0x8cf)+(_0x558885[_0x20359e(_0x4d3048._0x275846,-_0x4d3048._0x149b00)+_0x20359e(_0x4d3048._0x47d752,_0x4d3048._0x4a35df)]||'-'));function _0x49daf6(_0x106642,_0x682cc1){return _0x2420cb(_0x682cc1- -_0x44471b._0x559b8c,_0x106642);}console[_0x20359e(-_0x4d3048._0x460f43,0x3e)]('Log:\x20'+_0x490ee0);function _0x20359e(_0x3bfa94,_0x29f8c5){return _0x2420cb(_0x29f8c5- -_0x38cbcd._0x5bc647,_0x3bfa94);}console[_0x20359e(-0xbf,0x3e)](_0x49daf6(0x83a,0x72f)+'g:\x20'+_0x263332),!_0x4a5d40&&(process['exitCode']=0x1);}function printServiceResult(_0x15b97c,_0x22c614){const _0x282bfd={_0x2d34f5:0x6e,_0x4ce8c8:0x227,_0x28ac41:0x257,_0x20bb3c:0x46d,_0x91fde9:0x512,_0x490203:0x6bc,_0x3ed8fe:0x90,_0xc8cc46:0x116,_0x64cf9b:0x153,_0x205a2f:0x7ce,_0x19a6a8:0x655,_0x3830aa:0x504,_0xbe470:0x623,_0x271b44:0x3d2,_0x10c633:0x6cf,_0x47b104:0x4cc,_0x36c1bb:0x55d,_0xa3a8cc:0x70},_0x379cd0={_0x1b6caf:0x4c3},_0x28f6ff={_0x39c73a:0xc7};function _0x1d4cdc(_0x45c2c2,_0x5e9d7b){return _0x2420cb(_0x45c2c2- -_0x28f6ff._0x39c73a,_0x5e9d7b);}function _0x1d392a(_0x2006e1,_0x146498){return _0x2420cb(_0x146498- -_0x379cd0._0x1b6caf,_0x2006e1);}const _0x52268e={};_0x52268e[_0x1d392a(_0x282bfd._0x2d34f5,_0x282bfd._0x4ce8c8)]=_0x1d392a(_0x282bfd._0x28ac41,0x3d2)+_0x1d4cdc(_0x282bfd._0x20bb3c,0x1ed)+'ng';const _0x11f121=_0x52268e;_0x15b97c&&console[_0x1d4cdc(_0x282bfd._0x91fde9,_0x282bfd._0x490203)](_0x15b97c),console[_0x1d392a(-_0x282bfd._0x3ed8fe,_0x282bfd._0xc8cc46)](_0x1d392a(0x29d,_0x282bfd._0x64cf9b)+'\x20'+(_0x22c614[_0x1d4cdc(_0x282bfd._0x205a2f,0x8e5)+'d']?_0x22c614[_0x1d392a(_0x282bfd._0x19a6a8,_0x282bfd._0x3830aa)]?_0x11f121[_0x1d4cdc(_0x282bfd._0xbe470,0x4fd)]:_0x1d392a(0x14b,_0x282bfd._0x271b44)+_0x1d4cdc(_0x282bfd._0x10c633,0x8f9)+'ed':'not\x20inst'+_0x1d392a(0x1fe,0x3c6))),console['log'](_0x1d4cdc(_0x282bfd._0x47b104,_0x282bfd._0x36c1bb)+'path:\x20'+(_0x22c614[_0x1d392a(0x3,_0x282bfd._0xa3a8cc)+'ath']||'-'));}function printDoctorReport(_0x231eab){const _0x47c819={_0x4557a6:0x44,_0x37e5c7:0x35f,_0x2b3843:0x1ec,_0x18796b:0x5f,_0x59f815:0x1aa,_0x4a985c:0x132,_0x1c2a93:0xe0,_0xa8f070:0xae,_0x5a5835:0x236,_0xbc243b:0x159,_0x1934ca:0x3a1,_0x359bb0:0x1a0,_0x4f75bf:0x147,_0x24ca47:0x2d,_0x175f1a:0x36,_0x547aed:0x2df,_0x2312e6:0x2ae,_0x5be404:0x373,_0x2a5481:0x193,_0x2b14fe:0x7b,_0x23e0b1:0x1b1,_0xb1366:0x3d7,_0x3e8d57:0xbd,_0x5472ee:0x33c,_0x3628a9:0x367,_0x2a5679:0x200,_0x64e446:0x265,_0x5c37ad:0x1e1,_0x541f27:0x31e,_0x31ee9d:0x75,_0x46a09f:0x2b4,_0x57d1bf:0x12b,_0x2e182f:0x1b1,_0x5d9815:0x10b,_0x5c084b:0x18c,_0x5dc309:0x1d3,_0x4ff441:0x198,_0xef3597:0x2d3,_0x4dcf87:0x283,_0x5edcf0:0x205,_0x2de7d6:0x140,_0x2b79ea:0x66,_0x39cd0e:0x65,_0x57a5cf:0xa,_0x199b59:0x2dc,_0x1aa080:0x133,_0x5f1e42:0x263,_0x48b8ec:0x340,_0x2d8679:0x40,_0x2c0a4f:0x73,_0xbe4ac4:0x4,_0x570617:0xe3,_0x356223:0x1da,_0x5a670f:0xf8,_0x5c1a56:0x12c,_0x28875f:0x325,_0x5d2d6e:0x88,_0x243d9a:0x97,_0x1c82cd:0x257},_0x537dba={_0x4e8524:0x6e4},_0x10d8e2={};_0x10d8e2[_0x18b33e(_0x47c819._0x4557a6,0x106)]=_0x3c704a(_0x47c819._0x37e5c7,0x1b1)+'d',_0x10d8e2[_0x18b33e(0x33c,0x3b5)]=_0x18b33e(0x8c,0x1b0)+'alled';const _0x527e16=_0x10d8e2;console[_0x18b33e(-0xa,_0x47c819._0x2b3843)](_0x3c704a(_0x47c819._0x18796b,_0x47c819._0x59f815)+(_0x231eab[_0x18b33e(0xc6,_0x47c819._0x4a985c)]?_0x3c704a(-0x104,_0x47c819._0x1c2a93):'no')),console['log'](_0x18b33e(0x3c7,0x1c7)+_0x18b33e(_0x47c819._0xa8f070,0x1dd)+(_0x231eab[_0x18b33e(0x19e,_0x47c819._0x5a5835)+'d']??'-')),console[_0x3c704a(-_0x47c819._0xbc243b,-0x10b)](_0x18b33e(0x194,0x374)+_0x3c704a(_0x47c819._0x1934ca,_0x47c819._0x359bb0)+(_0x231eab[_0x18b33e(0x1eb,_0x47c819._0x4f75bf)+'l']??'-')),console[_0x3c704a(-_0x47c819._0x24ca47,-0x10b)](_0x18b33e(0x219,-_0x47c819._0x175f1a)+_0x18b33e(_0x47c819._0x547aed,_0x47c819._0x2312e6)+(_0x231eab[_0x3c704a(-_0x47c819._0x5be404,-_0x47c819._0x2a5481)]??'-')),console['log'](_0x18b33e(_0x47c819._0x2b14fe,0xc7)+_0x3c704a(0x1c3,0x286)+(_0x231eab['instance'+'Id']??'-')),console[_0x18b33e(-0xa,-0x293)](_0x18b33e(0x33,-_0x47c819._0x23e0b1)+'\x20'+(_0x231eab[_0x3c704a(-_0x47c819._0xb1366,-0x16e)+_0x3c704a(0x315,0x199)]?_0x527e16[_0x3c704a(0x166,-_0x47c819._0x3e8d57)]:_0x527e16[_0x18b33e(_0x47c819._0x5472ee,_0x47c819._0x3628a9)])+'\x20('+_0x231eab['serviceM'+_0x18b33e(_0x47c819._0x2a5679,0x9a)]+')'),console['log'](_0x3c704a(-0x38c,-0x151)+'running:'+'\x20'+(_0x231eab[_0x18b33e(-0x18,-_0x47c819._0x64e446)+_0x3c704a(0x1d,-0x79)]?_0x18b33e(_0x47c819._0x5c37ad,0x449):'no')),console[_0x3c704a(-_0x47c819._0x541f27,-0x10b)](_0x3c704a(-_0x47c819._0x31ee9d,-0x151)+_0x3c704a(_0x47c819._0x46a09f,_0x47c819._0x57d1bf)+(_0x231eab[_0x3c704a(-0x269,-_0x47c819._0x2e182f)+'ath']||'-')),console[_0x3c704a(-0x16,-_0x47c819._0x5d9815)](_0x3c704a(-0x1d,0x79)+':\x20'+_0x231eab[_0x18b33e(_0x47c819._0x5c084b,0x2d6)]),console[_0x18b33e(-0xa,-_0x47c819._0x5dc309)](_0x3c704a(0x64,_0x47c819._0x4ff441)+_0x18b33e(_0x47c819._0xef3597,0x3c1)+_0x231eab[_0x3c704a(0x425,_0x47c819._0x4dcf87)+'Path']),console[_0x3c704a(-0x65,-0x10b)]('OpenClaw'+_0x3c704a(-_0x47c819._0x5edcf0,0x56)+_0x231eab[_0x3c704a(0x33,-_0x47c819._0x2de7d6)+_0x3c704a(_0x47c819._0x2b79ea,_0x47c819._0x39cd0e)+'r']),console[_0x18b33e(-_0x47c819._0x57a5cf,0x24a)](_0x18b33e(0x263,0x291)+_0x3c704a(_0x47c819._0x199b59,0x1f4)+_0x231eab[_0x3c704a(0xfa,-_0x47c819._0x2de7d6)+'MediaDir']),console[_0x3c704a(-_0x47c819._0x1aa080,-_0x47c819._0x5d9815)](_0x18b33e(_0x47c819._0x5f1e42,_0x47c819._0x48b8ec)+'\x20config:'+'\x20'+(_0x231eab[_0x18b33e(-0x3f,0x116)+_0x3c704a(_0x47c819._0x2d8679,_0x47c819._0x2c0a4f)+_0x18b33e(0x5c,0x164)]?_0x3c704a(-_0x47c819._0xbe4ac4,0x246):'missing'));function _0x3c704a(_0x2519f2,_0x3e01a9){return _0x2420cb(_0x3e01a9- -_0x537dba._0x4e8524,_0x2519f2);}console[_0x3c704a(-0x284,-0x10b)](_0x3c704a(0x2b8,0x162)+_0x3c704a(-_0x47c819._0x570617,-_0x47c819._0x356223)+(_0x231eab[_0x3c704a(-_0x47c819._0x5a670f,-0x140)+_0x3c704a(0x15e,-_0x47c819._0x5c1a56)+'nd']?_0x18b33e(0x347,0x4e3):_0x3c704a(0x463,_0x47c819._0x28875f)));function _0x18b33e(_0x133caa,_0x545e50){return _0x2420cb(_0x133caa- -0x5e3,_0x545e50);}console[_0x18b33e(-0xa,0x1fb)](_0x18b33e(0x3c7,0x14d)+_0x18b33e(0x111,0xb4)+_0x231eab['localGat'+_0x18b33e(-_0x47c819._0x5d2d6e,-0x1e)]),console[_0x18b33e(-_0x47c819._0x57a5cf,-0x14e)]('Gateway\x20'+'reachabl'+'e:\x20'+(_0x231eab['localGat'+_0x3c704a(-0x247,-_0x47c819._0x243d9a)+_0x18b33e(-0xae,-0x13)]?_0x3c704a(_0x47c819._0x1c82cd,0xe0):'no'));}function requirePairingConfig(){const _0x138605={_0x9ab64f:0x6d0,_0x108b50:0x649,_0x5b207a:0x400,_0x354718:0x88f,_0x4b2cfb:0x60c,_0x38fbda:0x839,_0x2632ad:0x7e9,_0x1521ea:0x9a1,_0x178f88:0xaa4},_0x3b7663={_0xb1b75c:0x274};function _0x4fb29d(_0xb8a179,_0x1c3964){return _0x2420cb(_0x1c3964- -_0x3b7663._0xb1b75c,_0xb8a179);}const _0x43a815=readPairingConfig();function _0x32e58c(_0x48847c,_0x2258a9){return _0x2420cb(_0x48847c-0xdb,_0x2258a9);}return!_0x43a815&&(console[_0x4fb29d(0x8fa,_0x138605._0x9ab64f)]('Not\x20pair'+_0x32e58c(0x77e,0x7de)+_0x32e58c(0x800,_0x138605._0x108b50)+'\x20pair\x22\x20f'+_0x4fb29d(0x35d,_0x138605._0x5b207a)+_0x32e58c(_0x138605._0x354718,_0x138605._0x4b2cfb)+_0x32e58c(_0x138605._0x38fbda,_0x138605._0x2632ad)+getPairingConfigPath()),process[_0x32e58c(_0x138605._0x1521ea,_0x138605._0x178f88)](0x1)),_0x43a815;}function readFlag(_0x3f6d70,_0x44b0bd){const _0x28e278={_0xc90e45:0x11,_0x24eca8:0x1fd,_0x547702:0x104},_0x162330=_0x3f6d70['indexOf'](_0x44b0bd);function _0x675aec(_0x2eb6dd,_0x408639){return _0x410a57(_0x2eb6dd,_0x408639-0x23);}if(_0x162330<0x0)return null;function _0x5793dd(_0x32c621,_0x352062){return _0x410a57(_0x352062,_0x32c621-0x138);}const _0x129088=_0x3f6d70[_0x162330+0x1];return _0x129088?.[_0x5793dd(_0x28e278._0xc90e45,_0x28e278._0x24eca8)]()?_0x129088[_0x675aec(-0x353,-_0x28e278._0x547702)]():null;}function hasFlag(_0x334d8f,_0x3ccbcc){const _0x3dd141={_0x3c1244:0x977};function _0x2fe5d7(_0x263f2c,_0x45847f){return _0x2420cb(_0x263f2c-0x98,_0x45847f);}return _0x334d8f[_0x2fe5d7(_0x3dd141._0x3c1244,0x9a4)](_0x3ccbcc);}function readPairSubcommand(_0x4f47df){const _0x22502f={_0x270391:0x4e3,_0x425ebd:0x553,_0x3fd0d0:0x503},_0xafbcbf={_0xabf691:0x57e};for(const _0x120cba of _0x4f47df){if(!_0x120cba[_0x473a0d(_0x22502f._0x270391,_0x22502f._0x425ebd)+'th']('-'))return _0x120cba[_0x473a0d(0x457,_0x22502f._0x3fd0d0)]()||null;}function _0x473a0d(_0x3d4e06,_0x1c5708){return _0x410a57(_0x1c5708,_0x3d4e06-_0xafbcbf._0xabf691);}function _0x524855(_0x2c3387,_0xdf4fdb){return _0x410a57(_0xdf4fdb,_0x2c3387- -0x1c);}return null;}function printHelp(){const _0x42270e={_0x2feedd:0x909,_0x4f9af5:0x71f,_0x54848f:0x6f6,_0x421650:0x4b0,_0x48e224:0xbcc,_0x5789ee:0x9ec,_0x345084:0x522,_0x4f9f03:0x5e0,_0x2810de:0x839,_0x3fafe5:0x966,_0x25dffa:0x69a,_0x150381:0x4f2,_0x4293c6:0x6cc,_0x56d109:0x835,_0x2c9233:0x4dd,_0x36f26b:0xad1,_0x5ed742:0x9f5,_0x12fb5e:0x59d,_0x3097a9:0x581,_0x22a8e9:0x3f3,_0x147aba:0xa5f,_0x39dc89:0x43b,_0x145846:0x525,_0x45dd73:0x8f2,_0x3699bd:0x668,_0x4011b2:0x7d9,_0x563f48:0xa5a,_0x270d4e:0x97e,_0x1da773:0x512,_0x1fd5c4:0x911,_0x220f7f:0x985,_0x20c272:0x644,_0x2e2d81:0x742,_0x5d9db6:0x555,_0x17ae1d:0x741,_0x5aeb0e:0x7ac,_0x2a293d:0x80a,_0x4a1dc1:0x45e,_0x141fb8:0x613,_0x520d96:0x9a9,_0x5bb543:0x4b0,_0x11315a:0x6a1,_0x106791:0x909,_0x1bb086:0x849,_0x5b5dd4:0x8af,_0x55f3b5:0x765,_0x22d849:0xad4,_0x3487dc:0x909,_0x16814c:0xb51,_0x42ab2f:0x819,_0x16585b:0x769,_0x1057e0:0x892,_0x365798:0x5f9,_0x34f786:0x687,_0x508e8f:0x5de,_0x48401e:0x6a6},_0x7da4e0={_0x5bfaf9:0x7},_0x252738={_0x1df9aa:0xdc},_0x4f5daa={};_0x4f5daa[_0x32fc00(0x9b2,0x821)]=_0x5a15ac(_0x42270e._0x2feedd,_0x42270e._0x4f9af5)+_0x32fc00(_0x42270e._0x54848f,0x6bb),_0x4f5daa[_0x5a15ac(_0x42270e._0x421650,0x734)]=_0x32fc00(_0x42270e._0x48e224,_0x42270e._0x5789ee)+'stop',_0x4f5daa[_0x5a15ac(0x73f,0x9d0)]='clawket\x20'+_0x5a15ac(0x628,0x499);function _0x5a15ac(_0x41b614,_0x57be1e){return _0x2420cb(_0x41b614- -_0x252738._0x1df9aa,_0x57be1e);}const _0x175d74=_0x4f5daa;function _0x32fc00(_0x5e7295,_0x56ede2){return _0x2420cb(_0x56ede2-_0x7da4e0._0x5bfaf9,_0x5e7295);}console[_0x32fc00(_0x42270e._0x345084,_0x42270e._0x4f9f03)](['clawket\x20'+'pair\x20[--'+_0x32fc00(_0x42270e._0x2810de,_0x42270e._0x3fafe5)+_0x5a15ac(_0x42270e._0x25dffa,_0x42270e._0x150381)+_0x32fc00(0x5ce,0x6b6)+_0x32fc00(_0x42270e._0x4293c6,_0x42270e._0x56d109)+_0x5a15ac(_0x42270e._0x2c9233,0x606)+_0x32fc00(_0x42270e._0x36f26b,_0x42270e._0x5ed742)+'<path>]\x20'+_0x32fc00(_0x42270e._0x12fb5e,_0x42270e._0x3097a9)+'\x20[--forc'+'e]','clawket\x20'+_0x32fc00(_0x42270e._0x22a8e9,0x666)+_0x5a15ac(0x8bd,_0x42270e._0x147aba)+_0x32fc00(_0x42270e._0x39dc89,_0x42270e._0x145846)+_0x5a15ac(_0x42270e._0x45dd73,0x99e)+_0x5a15ac(0x70e,_0x42270e._0x3699bd)+_0x5a15ac(_0x42270e._0x4011b2,0x8b7)+_0x32fc00(0x717,0x62c)+'--json]',_0x5a15ac(0x909,_0x42270e._0x563f48)+'pair\x20--l'+_0x32fc00(0x9f8,_0x42270e._0x270d4e)+_0x5a15ac(0x694,_0x42270e._0x1da773)+_0x5a15ac(_0x42270e._0x1fd5c4,_0x42270e._0x220f7f)+_0x5a15ac(_0x42270e._0x20c272,_0x42270e._0x2e2d81)+_0x5a15ac(_0x42270e._0x5d9db6,0x3d0)+_0x5a15ac(0x6d5,0x4dd)+_0x5a15ac(_0x42270e._0x17ae1d,0x71f)+']',_0x5a15ac(_0x42270e._0x2feedd,_0x42270e._0x5aeb0e)+_0x5a15ac(0x5b9,0x4bb)+_0x5a15ac(_0x42270e._0x2a293d,0x62f)+'qr-file\x20'+_0x32fc00(_0x42270e._0x4a1dc1,0x624)+_0x5a15ac(0x49e,0x424),_0x5a15ac(0x909,0xb64)+_0x5a15ac(_0x42270e._0x141fb8,0x5d3),_0x175d74[_0x32fc00(0xa58,0x821)],'clawket\x20'+_0x32fc00(0x83a,_0x42270e._0x520d96),_0x175d74[_0x5a15ac(_0x42270e._0x5bb543,_0x42270e._0x11315a)],_0x5a15ac(_0x42270e._0x106791,_0x42270e._0x1bb086)+_0x5a15ac(0x61d,_0x42270e._0x5b5dd4)+'l',_0x175d74[_0x32fc00(0x801,0x822)],_0x5a15ac(_0x42270e._0x106791,_0x42270e._0x55f3b5)+_0x32fc00(_0x42270e._0x22d849,0x983),_0x5a15ac(_0x42270e._0x3487dc,_0x42270e._0x16814c)+'logs\x20[--'+_0x5a15ac(0x427,0x282)+_0x5a15ac(0x90f,0x7de)+_0x32fc00(0x471,0x538)+_0x5a15ac(0x61a,0x4fb)+'rors]\x20[-'+_0x32fc00(0x6e4,_0x42270e._0x42ab2f),_0x32fc00(0xa01,0x9ec)+_0x32fc00(_0x42270e._0x16585b,_0x42270e._0x1057e0)+'--json]',_0x5a15ac(0x909,0x891)+_0x32fc00(0x4c2,0x62f)+_0x5a15ac(_0x42270e._0x365798,_0x42270e._0x34f786)+_0x5a15ac(0x5be,0x575)+_0x5a15ac(0x711,_0x42270e._0x2810de)+'.1:18789'+_0x5a15ac(0x918,0x993)+'place]'][_0x5a15ac(_0x42270e._0x508e8f,_0x42270e._0x48401e)]('\x0a'));}function buildUnsupportedAutostartMessage(_0x535fd2){const _0x96bd5e={_0x6dbfb6:0x8a0,_0x2542f2:0x632,_0x25f0f9:0x860,_0xc26d1:0x7da,_0x3fe40f:0x2b9,_0x1cf563:0x711,_0x4edacf:0x478,_0xa8182e:0x615,_0x547a00:0x502,_0x55a0ad:0x795,_0x150f4e:0x542,_0x425aea:0x3b4,_0x3373cf:0x30c,_0x171705:0x35d,_0x2c50d4:0x347,_0x847947:0x426,_0x4bfe16:0x1b8,_0x5b98f7:0x3f7,_0x8226f3:0xbd,_0x46c914:0x131,_0x1e0d90:0x61b,_0x24f2a6:0x324,_0x29026d:0x14d,_0xd8f9fe:0x7f1,_0x43380b:0x85e,_0x4b99ee:0x730},_0x5e1788={_0x21064b:0x46e};function _0xbc1ad(_0x21b106,_0x1b1b33){return _0x2420cb(_0x21b106- -0x127,_0x1b1b33);}function _0x34e4cd(_0x57c874,_0x5c96fd){return _0x2420cb(_0x5c96fd- -_0x5e1788._0x21064b,_0x57c874);}if(_0x535fd2[_0xbc1ad(_0x96bd5e._0x6dbfb6,0x8eb)])return _0xbc1ad(0x7a0,_0x96bd5e._0x2542f2)+'the\x20brid'+'ge\x20runti'+_0x34e4cd(0x35e,0x32e)+_0xbc1ad(_0x96bd5e._0x25f0f9,_0x96bd5e._0xc26d1)+'t\x20does\x20n'+'ot\x20suppo'+_0x34e4cd(0x186,_0x96bd5e._0x3fe40f)+_0xbc1ad(0x50f,_0x96bd5e._0x1cf563)+'rtup\x20reg'+_0xbc1ad(_0x96bd5e._0x4edacf,0x49b)+_0xbc1ad(_0x96bd5e._0xc26d1,0x614)+_0x34e4cd(_0x96bd5e._0xa8182e,_0x96bd5e._0x547a00)+'ainer\x20or'+_0xbc1ad(_0x96bd5e._0x55a0ad,0x9e5)+_0xbc1ad(0x6c7,0x5ad)+_0x34e4cd(_0x96bd5e._0x150f4e,0x490)+_0x34e4cd(_0x96bd5e._0x425aea,_0x96bd5e._0x3373cf)+'ket\x20on\x20r'+_0x34e4cd(0x374,_0x96bd5e._0x171705);return _0x34e4cd(-0x31,0xb1)+_0xbc1ad(0x499,_0x96bd5e._0x2c50d4)+_0x34e4cd(0x6b6,_0x96bd5e._0x847947)+_0xbc1ad(0x600,0x42b)+'atic\x20sta'+_0x34e4cd(_0x96bd5e._0x4bfe16,_0x96bd5e._0x5b98f7)+_0x34e4cd(-_0x96bd5e._0x8226f3,_0x96bd5e._0x46c914)+_0xbc1ad(0x517,0x6d4)+'he\x20bridg'+_0xbc1ad(_0x96bd5e._0x1e0d90,0x548)+_0x34e4cd(_0x96bd5e._0x24f2a6,0xb9)+_0x34e4cd(0x2a9,_0x96bd5e._0x29026d)+'tarted\x20a'+_0xbc1ad(0x6bd,_0x96bd5e._0xd8f9fe)+'ally.\x20Us'+'e\x20your\x20c'+_0xbc1ad(_0x96bd5e._0x43380b,_0x96bd5e._0x4b99ee)+'\x20or\x20proc'+_0xbc1ad(0x3c6,0x213)+_0xbc1ad(0x5a3,0x425)+_0xbc1ad(0x7cd,0x6a2)+'et.';}function formatLocalTime(_0x1d6c08){const _0x270a73={_0x1cc8a6:0x31a,_0x241cf9:0x328,_0x3d08fb:0xe8,_0x1ee105:0x29c,_0x236c8b:0xe0},_0x3d7bb2={_0x2321d2:0x1b5},_0x514e29={_0x50f443:0xab},_0x2946f4=new Date(_0x1d6c08);if(Number[_0x4dac3b(0x179,_0x270a73._0x1cc8a6)](_0x2946f4[_0x4dac3b(-_0x270a73._0x241cf9,-_0x270a73._0x3d08fb)]()))return _0x1d6c08;function _0x4dac3b(_0x2fccf4,_0x333463){return _0x410a57(_0x2fccf4,_0x333463-_0x514e29._0x50f443);}function _0x3d3446(_0xf46b43,_0x187702){return _0x410a57(_0xf46b43,_0x187702-_0x3d7bb2._0x2321d2);}return _0x2946f4[_0x4dac3b(0x152,0x29f)+_0x3d3446(_0x270a73._0x1ee105,_0x270a73._0x236c8b)]();}function formatError2(_0x3d6a1b){const _0x39593d={_0x3097c2:0x9,_0x50909c:0x1ff};function _0x4b7c0f(_0x1966a5,_0x1685f3){return _0x410a57(_0x1685f3,_0x1966a5-0x12c);}return _0x3d6a1b instanceof Error?_0x3d6a1b[_0x4b7c0f(-_0x39593d._0x3097c2,_0x39593d._0x50909c)]:String(_0x3d6a1b);}function printJson(_0x13540d){const _0x4c366d={_0x3b9a3e:0x4ff,_0x21c0a3:0x26a};function _0x29aeb0(_0x28405d,_0x191a95){return _0x2420cb(_0x191a95- -0xda,_0x28405d);}function _0x2f2b55(_0x508bba,_0x4620e8){return _0x2420cb(_0x508bba- -0x577,_0x4620e8);}console[_0x29aeb0(0x636,_0x4c366d._0x3b9a3e)](JSON[_0x2f2b55(_0x4c366d._0x21c0a3,0x365)+'y'](_0x13540d,null,0x2));}main()[_0x2420cb(0x8a3,0x647)](_0x346ccb=>{const _0x48c78e={_0x60e3b2:0x20d,_0xee586a:0x477},_0x50a6eb={_0x592a1b:0x203},_0x336192={_0x1ced2d:0x287};function _0x2a6f14(_0x3b9177,_0x19fb89){return _0x410a57(_0x19fb89,_0x3b9177-_0x336192._0x1ced2d);}function _0x445bc3(_0xdee9c4,_0x4a15b8){return _0x410a57(_0xdee9c4,_0x4a15b8-_0x50a6eb._0x592a1b);}console[_0x445bc3(_0x48c78e._0x60e3b2,_0x48c78e._0xee586a)](formatError2(_0x346ccb)),process[_0x445bc3(0x5fb,0x3f9)](0x1);});
2
+ (function(_0xc3f24,_0x584d12){const _0x1b519d={_0x36fb46:0x50e,_0x43c319:0x647,_0x737d2e:0x88a,_0x59e5ff:0x7a0,_0x301665:0x7cf,_0x44918c:0x367,_0x4deea1:0x5ed,_0x266d0f:0x53f,_0x900cc2:0x772,_0x1ffaca:0x353,_0x426454:0x451,_0x3a6087:0x81f,_0x14b476:0x514},_0x4d9715={_0x21de97:0x16b};function _0x2871d9(_0x54e693,_0xc624cd){return _0x150d(_0xc624cd-0x1fc,_0x54e693);}const _0x138be1=_0xc3f24();function _0x4c4f56(_0x4f5eac,_0x3e558d){return _0x150d(_0x3e558d- -_0x4d9715._0x21de97,_0x4f5eac);}while(!![]){try{const _0x4046a5=-parseInt(_0x2871d9(_0x1b519d._0x36fb46,_0x1b519d._0x43c319))/0x1*(-parseInt(_0x2871d9(_0x1b519d._0x737d2e,0x66f))/0x2)+parseInt(_0x2871d9(_0x1b519d._0x59e5ff,0x57f))/0x3*(parseInt(_0x2871d9(_0x1b519d._0x301665,0x54f))/0x4)+parseInt(_0x4c4f56(0x1de,_0x1b519d._0x44918c))/0x5*(-parseInt(_0x2871d9(0x765,0x871))/0x6)+-parseInt(_0x2871d9(_0x1b519d._0x4deea1,_0x1b519d._0x266d0f))/0x7+parseInt(_0x2871d9(_0x1b519d._0x900cc2,0x6ad))/0x8*(-parseInt(_0x4c4f56(0x126,_0x1b519d._0x1ffaca))/0x9)+parseInt(_0x4c4f56(0x30a,_0x1b519d._0x426454))/0xa*(-parseInt(_0x2871d9(0x692,_0x1b519d._0x3a6087))/0xb)+parseInt(_0x4c4f56(0x16e,0x342))/0xc*(parseInt(_0x4c4f56(0x591,_0x1b519d._0x14b476))/0xd);if(_0x4046a5===_0x584d12)break;else _0x138be1['push'](_0x138be1['shift']());}catch(_0xcb58f9){_0x138be1['push'](_0x138be1['shift']());}}}(_0x202e,0x4df82));const _0x45f3ae=(function(){const _0x244f2a={_0x58aadd:0x8ae};let _0x4d2a35=!![];return function(_0x4fb705,_0x345f97){const _0x47a784=_0x4d2a35?function(){function _0x32d1f0(_0x23e29a,_0x6e5ec0){return _0x150d(_0x6e5ec0-0x3b8,_0x23e29a);}if(_0x345f97){const _0xf717c2=_0x345f97[_0x32d1f0(_0x244f2a._0x58aadd,0x6aa)](_0x4fb705,arguments);return _0x345f97=null,_0xf717c2;}}:function(){};return _0x4d2a35=![],_0x47a784;};}()),_0x54f366=_0x45f3ae(this,function(){const _0x243ac9={_0x45ac7f:0x4a0,_0x457112:0x49e,_0x4c2c87:0x5c8,_0x4b920e:0x4be},_0x203411={_0x37fd88:0x168};function _0x3ebeb0(_0xe0e4ef,_0x573fd9){return _0x150d(_0xe0e4ef-0x14a,_0x573fd9);}function _0x1a3cae(_0x5ae19e,_0x78be5d){return _0x150d(_0x78be5d-_0x203411._0x37fd88,_0x5ae19e);}return _0x54f366[_0x3ebeb0(0x57a,0x76c)]()['search'](_0x3ebeb0(_0x243ac9._0x45ac7f,0x72d)+'+)+$')['toString']()['construc'+_0x1a3cae(_0x243ac9._0x457112,_0x243ac9._0x4c2c87)](_0x54f366)[_0x3ebeb0(0x585,0x784)](_0x1a3cae(0x71f,_0x243ac9._0x4b920e)+'+)+$');});_0x54f366();import _0x2d1298 from'qrcode-terminal';import{readFileSync as _0x2a8843}from'fs';import{Socket}from'net';import{homedir as _0x28fef7}from'os';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname,userInfo}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),'.clawket'),CONFIG_PATH=join(CONFIG_DIR,_0x684713(0xd1,0x266)+_0x684713(0x3c3,0x594));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x196162={_0x12617f:0x76,_0xa16a47:0x5cb,_0x12a363:0x88,_0x333cda:0x6de,_0x2edfc2:0x743,_0x37b9a7:0x192,_0x366e79:0x5cb,_0x1836e7:0x830,_0x4f7b58:0x41c,_0x43ae7c:0x55a,_0x96034f:0x3c8,_0x3b7a2e:0x501,_0x514632:0x6af,_0x5a7ba3:0x547,_0x2c67fd:0x348,_0x476a04:0x372,_0x4e30db:0x77d,_0x426af4:0x137,_0x235f97:0x171},_0x4808fd={_0x52436a:0xd},_0x46f34c={_0x3ada0f:0xf1},_0x215845={'DbvIM':function(_0x33505c,_0x2521e5){return _0x33505c!==_0x2521e5;},'DQrtY':function(_0x1b473c,_0x340156){return _0x1b473c(_0x340156);}};function _0x1ee5f9(_0x1590c1,_0x29e063){return _0x684713(_0x29e063,_0x1590c1-_0x46f34c._0x3ada0f);}if(!existsSync(CONFIG_PATH))return null;function _0x45e586(_0x391915,_0x3173e1){return _0x684713(_0x3173e1,_0x391915-_0x4808fd._0x52436a);}try{const _0x44bfe7=JSON['parse'](readFileSync(CONFIG_PATH,_0x1ee5f9(0x2c0,_0x196162._0x12617f)));if(!_0x44bfe7[_0x1ee5f9(0x350,0x1b1)+'l']||!_0x44bfe7[_0x1ee5f9(_0x196162._0xa16a47,0x701)+'d']||!_0x44bfe7[_0x45e586(0x21a,_0x196162._0x12a363)+_0x1ee5f9(_0x196162._0x333cda,_0x196162._0x2edfc2)]||!_0x44bfe7[_0x45e586(0x338,0x344)])return null;const _0x4c68d2={'serverUrl':_0x44bfe7[_0x45e586(0x26c,_0x196162._0x37b9a7)+'l'],'gatewayId':_0x44bfe7[_0x1ee5f9(_0x196162._0x366e79,_0x196162._0x1836e7)+'d'],'relaySecret':_0x44bfe7[_0x45e586(0x21a,0x3cf)+'ret'],'relayUrl':_0x44bfe7[_0x1ee5f9(_0x196162._0x4f7b58,_0x196162._0x43ae7c)],'instanceId':_0x44bfe7['instance'+'Id']?.[_0x45e586(_0x196162._0x96034f,0x60c)]()||createInstanceId(),'displayName':_0x44bfe7['displayN'+_0x1ee5f9(0x436,_0x196162._0x3b7a2e)]??null,'createdAt':_0x44bfe7[_0x1ee5f9(_0x196162._0x514632,_0x196162._0x5a7ba3)+'t']??new Date()[_0x45e586(_0x196162._0x2c67fd,_0x196162._0x476a04)+_0x1ee5f9(0x567,_0x196162._0x4e30db)](),'updatedAt':_0x44bfe7[_0x45e586(0x19e,0xbb)+'t']??new Date()['toISOStr'+_0x45e586(0x483,0x481)]()};return _0x215845[_0x45e586(0x3aa,0x48e)](_0x44bfe7[_0x45e586(0x1d2,_0x196162._0x426af4)+'Id'],_0x4c68d2[_0x45e586(0x1d2,0xe3)+'Id'])&&_0x215845[_0x45e586(0x231,_0x196162._0x235f97)](writePairingConfig,_0x4c68d2),_0x4c68d2;}catch{return null;}}function writePairingConfig(_0x3da282){const _0x5900d3={_0x13b280:0x399,_0x27860d:0x3b0,_0x36353a:0x22b,_0x25bc02:0x75},_0x50b0a8={'fELOB':function(_0x42112e,_0x5a0e89,_0x297e20,_0x33daa4){return _0x42112e(_0x5a0e89,_0x297e20,_0x33daa4);}},_0x12ed9d={};function _0x3f393a(_0x192a8a,_0x5e043e){return _0x684713(_0x192a8a,_0x5e043e- -0x244);}function _0x248624(_0x6e52a5,_0x1a8c4b){return _0x684713(_0x1a8c4b,_0x6e52a5- -0x103);}_0x12ed9d['recursiv'+'e']=!![],mkdirSync(CONFIG_DIR,_0x12ed9d),_0x50b0a8[_0x3f393a(0x31b,0x418)](writeFileSync,CONFIG_PATH,JSON[_0x248624(_0x5900d3._0x13b280,_0x5900d3._0x27860d)+'y'](_0x3da282,null,0x2)+'\x0a',_0x3f393a(_0x5900d3._0x36353a,-_0x5900d3._0x25bc02));}function deletePairingConfig(){const _0x5ef276={_0x38ebc0:0x4f1,_0x2bdae0:0x5e6},_0x22ff3d={_0x1d9a11:0x576},_0x5d5214={'znuak':function(_0x50c5b0,_0x2d2ad5){return _0x50c5b0(_0x2d2ad5);}};if(!_0x5d5214[_0x1fbca8(_0x5ef276._0x38ebc0,0x4e0)](existsSync,CONFIG_PATH))return;function _0x35fe5f(_0x4a5a30,_0x51b570){return _0x528821(_0x51b570,_0x4a5a30-0x262);}function _0x1fbca8(_0x16dc88,_0x1a95da){return _0x528821(_0x1a95da,_0x16dc88-_0x22ff3d._0x1d9a11);}const _0x349279={};_0x349279[_0x1fbca8(_0x5ef276._0x2bdae0,0x537)]=!![],rmSync(CONFIG_PATH,_0x349279);}function getDefaultBridgeDisplayName(){const _0x411462={_0x3393e4:0x3b7,_0xe5eae8:0x563,_0x141d88:0x3ab,_0x4dc4a7:0x488},_0x5b9244={_0x32f3a3:0x5ea},_0x99ef99={_0x3b7937:0x267},_0x505d85={'HnpJZ':function(_0x490e98){return _0x490e98();}},_0x482b10=readOpenClawDefaultAgentName();function _0x4eff6b(_0x48a0f9,_0x3c513a){return _0x528821(_0x48a0f9,_0x3c513a-_0x99ef99._0x3b7937);}function _0x54827a(_0x531078,_0x2dcac9){return _0x528821(_0x531078,_0x2dcac9-_0x5b9244._0x32f3a3);}if(_0x482b10)return _0x482b10;try{const _0x249942=userInfo()[_0x54827a(_0x411462._0x3393e4,_0x411462._0xe5eae8)][_0x4eff6b(_0x411462._0x141d88,0x380)]();if(_0x249942)return _0x249942;}catch{}const _0x566614=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')['trim']();if(_0x566614)return _0x566614;return _0x505d85['HnpJZ'](hostname)[_0x4eff6b(_0x411462._0x4dc4a7,0x380)]()||'Clawket\x20'+_0x54827a(0x59a,0x727);}function pickOpenClawDefaultAgentName(_0x539b7c){const _0x32d31c={_0x41e54c:0x6b,_0x283457:0x81,_0x395199:0x488,_0x87af45:0x10a,_0x5027cc:0xbe2,_0x5a0a4:0x4e6,_0x36a3f5:0x568},_0x293d6c={_0x50f859:0x333};function _0x350068(_0x339959,_0x472d2d){return _0x684713(_0x339959,_0x472d2d- -_0x293d6c._0x50f859);}const _0x2c713e={'fcVZy':function(_0x39383c,_0x5162f7){return _0x39383c(_0x5162f7);}};if(!_0x539b7c||typeof _0x539b7c!==_0x350068(-_0x32d31c._0x41e54c,-_0x32d31c._0x283457))return null;const _0x87478e=_0x539b7c[_0x350068(_0x32d31c._0x395199,0x2bb)];function _0x174766(_0x43b611,_0x6d34ef){return _0x684713(_0x43b611,_0x6d34ef-0x2ca);}const _0x191aba=Array[_0x350068(0x2bd,_0x32d31c._0x87af45)](_0x87478e?.[_0x174766(_0x32d31c._0x5027cc,0x93f)])?_0x87478e['list']:[],_0x31e169=_0x191aba['find'](_0x311699=>isDefaultAgent(_0x311699))??_0x191aba[_0x174766(0x2d2,_0x32d31c._0x5a0a4)](_0x441f5f=>hasAgentId(_0x441f5f,_0x350068(-0x366,-0x1a9)))??_0x191aba[0x0];return _0x2c713e[_0x174766(0x3cc,_0x32d31c._0x36a3f5)](readAgentName,_0x31e169);}function createInstanceId(){const _0x4eeec6={_0x2425bc:0x5e2,_0x59e550:0x679,_0x5ba8f3:0x6e2},_0x221c68={_0x2862a1:0x27e};function _0x39d3c2(_0x3a9788,_0x5505e2){return _0x528821(_0x3a9788,_0x5505e2-_0x221c68._0x2862a1);}function _0x3a30e8(_0x5a4f1b,_0x34706d){return _0x528821(_0x34706d,_0x5a4f1b-0x2b7);}const _0x91d37d=sanitizeId(hostname()||_0x39d3c2(-0xbd,0x1c2));return _0x39d3c2(_0x4eeec6._0x2425bc,_0x4eeec6._0x59e550)+_0x91d37d+'-'+randomUUID()[_0x39d3c2(_0x4eeec6._0x5ba8f3,0x642)](0x0,0xa);}function sanitizeId(_0x5a2d50){const _0x12f5a6={_0x5d57f5:0x4c1,_0x4a38b1:0x70a,_0x280917:0x6ff,_0x48d2f1:0x550,_0x268d4b:0x4da,_0x1252d3:0x497,_0x3a714f:0x757,_0x15abc3:0x6e4},_0x2cc0e5={_0x4ceac1:0x35b},_0x14c8a2={};_0x14c8a2[_0x2da0b6(_0x12f5a6._0x5d57f5,0x6f6)]='host';function _0x2da0b6(_0xabe332,_0x1021f2){return _0x528821(_0x1021f2,_0xabe332-_0x2cc0e5._0x4ceac1);}function _0x1e292e(_0x28757d,_0x91c01d){return _0x528821(_0x91c01d,_0x28757d-0x5f1);}const _0x3d047d=_0x14c8a2;return _0x5a2d50[_0x1e292e(_0x12f5a6._0x4a38b1,_0x12f5a6._0x280917)]()[_0x1e292e(_0x12f5a6._0x48d2f1,_0x12f5a6._0x268d4b)+'ase']()[_0x2da0b6(0x59f,_0x12f5a6._0x1252d3)](/[^a-z0-9._-]+/g,'-')[_0x1e292e(0x835,0x74d)](/^-+|-+$/g,'')||_0x3d047d[_0x1e292e(_0x12f5a6._0x3a714f,_0x12f5a6._0x15abc3)];}function readOpenClawDefaultAgentName(){const _0x470672={_0x361466:0x11a,_0x38300a:0x6aa,_0x1a2d17:0x4a4,_0x5c6f52:0x4ed},_0x350903={_0x3f3a99:0xaf},_0x489eb6={_0x659558:0xb5};function _0x3d1367(_0x36feba,_0x59f0ec){return _0x684713(_0x36feba,_0x59f0ec- -_0x489eb6._0x659558);}const _0x2cdb5b={'WMUey':_0x3d1367(-0x150,_0x470672._0x361466),'QgYSx':function(_0x4d9928,_0x131577){return _0x4d9928(_0x131577);}};function _0x1a51c7(_0xc2e34c,_0x595bb5){return _0x684713(_0xc2e34c,_0x595bb5-_0x350903._0x3f3a99);}const _0x55f7d6=resolveOpenClawConfigPath();if(!_0x55f7d6||!existsSync(_0x55f7d6))return null;try{const _0x408fc9=JSON[_0x1a51c7(_0x470672._0x38300a,_0x470672._0x1a2d17)](readFileSync(_0x55f7d6,_0x2cdb5b[_0x1a51c7(_0x470672._0x5c6f52,0x527)]));return _0x2cdb5b['QgYSx'](pickOpenClawDefaultAgentName,_0x408fc9);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x522228={_0x16270b:0x6a0,_0x2f41d0:0x6e7,_0x394ab6:0x928,_0x1025f7:0x766,_0x1e43be:0x4d9,_0x3e6a09:0x5c7,_0x18e1da:0x345,_0x3a268f:0x371,_0xbd521a:0x7ed,_0x50a339:0x97c,_0x5c936c:0x321,_0x374e0a:0x64f,_0xf33116:0x4bf,_0x2b2cc4:0x71e,_0x556832:0x371},_0x3f8d0b={_0x5973fe:0x4a5,_0x3e4e33:0x2f9},_0x1c86cd={_0x47201b:0x663},_0x5c96fd={_0x3fd533:0x3fb};function _0x1ab791(_0x280ad1,_0x3df753){return _0x528821(_0x3df753,_0x280ad1-_0x5c96fd._0x3fd533);}function _0x16001b(_0x14e3b0,_0x26dbd4){return _0x528821(_0x26dbd4,_0x14e3b0-_0x1c86cd._0x47201b);}const _0x263036={};_0x263036[_0x1ab791(_0x522228._0x16270b,_0x522228._0x2f41d0)]=_0x16001b(_0x522228._0x394ab6,_0x522228._0x1025f7)+'w',_0x263036[_0x1ab791(0x75d,_0x522228._0x1e43be)]=_0x1ab791(_0x522228._0x3e6a09,_0x522228._0x18e1da)+_0x1ab791(_0x522228._0x3a268f,0x1a4);const _0x231473=_0x263036,_0x54e011=new Set(),_0xcbd019=[homedir(),_0x16001b(_0x522228._0xbd521a,_0x522228._0x50a339)][_0x1ab791(_0x522228._0x5c936c,0x38e)](_0x16e728=>_0x16e728['trim']())[_0x1ab791(_0x522228._0x374e0a,_0x522228._0xf33116)](Boolean)[_0x1ab791(_0x522228._0x374e0a,0x3d4)](_0x4d1ca3=>{if(_0x54e011['has'](_0x4d1ca3))return![];_0x54e011[_0x42856e(_0x3f8d0b._0x5973fe,_0x3f8d0b._0x3e4e33)](_0x4d1ca3);function _0x42856e(_0x32cdeb,_0x25cf2c){return _0x1ab791(_0x25cf2c- -0x2ca,_0x32cdeb);}return!![];});for(const _0x4653e0 of _0xcbd019){const _0x1574cb=join(_0x4653e0,_0x231473['DVhIo'],_0x231473[_0x1ab791(0x75d,_0x522228._0x2b2cc4)]);if(existsSync(_0x1574cb))return _0x1574cb;}return _0xcbd019[0x0]?join(_0xcbd019[0x0],_0x1ab791(0x6c0,0x67b)+'w',_0x16001b(0x82f,0x591)+_0x1ab791(_0x522228._0x556832,0x5d4)):null;}function isDefaultAgent(_0x2773f5){const _0x1f0690={_0x16e32c:0x40d,_0x6676e7:0x226,_0x349faa:0x677,_0x3c80e6:0x491},_0x536c94={_0x3a462f:0x513};function _0x4964cf(_0x2b88c6,_0x22ab60){return _0x528821(_0x2b88c6,_0x22ab60-0x216);}function _0x4e698a(_0x5835a5,_0x33132d){return _0x528821(_0x33132d,_0x5835a5-_0x536c94._0x3a462f);}const _0x431ac1={'JeCkm':function(_0x27b1bf,_0x167f51){return _0x27b1bf(_0x167f51);}};return _0x431ac1[_0x4964cf(0x694,0x53d)](Boolean,_0x2773f5&&typeof _0x2773f5===_0x4964cf(_0x1f0690._0x16e32c,_0x1f0690._0x6676e7)&&_0x2773f5[_0x4964cf(_0x1f0690._0x349faa,_0x1f0690._0x3c80e6)]===!![]);}function hasAgentId(_0x86258,_0x31a5aa){const _0x5d72c4={_0x3a0beb:0x213,_0x5c319b:0x25b,_0x3f1c56:0x130,_0xeb0a2f:0x335,_0xe2caac:0xa3},_0x5b5148={_0x2f26f3:0x86};function _0x397eba(_0x1b2176,_0x1f58d1){return _0x684713(_0x1f58d1,_0x1b2176- -_0x5b5148._0x2f26f3);}function _0x57a953(_0x4b48b2,_0x31068b){return _0x684713(_0x31068b,_0x4b48b2- -0x9f);}return Boolean(_0x86258&&typeof _0x86258===_0x57a953(_0x5d72c4._0x3a0beb,0x19f)&&typeof _0x86258['id']===_0x397eba(_0x5d72c4._0x5c319b,_0x5d72c4._0x3f1c56)&&_0x86258['id'][_0x397eba(_0x5d72c4._0xeb0a2f,_0x5d72c4._0xe2caac)]()===_0x31a5aa);}function _0x202e(){const _0x2f40d7=['zevYCM9Yuge','DgvKoYbNyxq','yxKGCMvJB24','ief1Dg9Tyxq','zgv2AwnL','z2uGCNvUDgK','ls1Zzxj2zxi','BMvZidWYmda','ls1YzxbSywm','C29Tzq','C3vJy2vLzgu','C29YDa','DfrPBwvY','BwLU','Ahr0CdOVlW','Bg9NCYbMB3u','ig1HBMfNzxi','C2vYDMLJzu0','zxHPC3rPBMC','yNjPzgDLlq','twHwEvK','BNqGzgvTyw4','CMvXDwvZDeK','ktOGq2XVDwq','wwrQvLO','Dxv6CMm','uhfSCKq','wNz5CNa','C2vUzfrVr2e','BIbMywLSzwq','ntaXndi1mvvnCNfVBa','EeTMzeC','cIaGpc9HCNi','zwqGy29Kzt0','y2Hvuxi','ue9tva','wwf3v0u','Bwf4ugf5Bg8','Bg9Hza','yujPrKW','B2jZzxj2zum','lJe6mtG3odK','zgfYD2LU','A2v4veu','DgfPBhnJywW','BM90igjLihm','CMvMCMvZAc0','l3jLz2LZDgu','BgLUDxGTy3i','DfrPBwvVDxq','zxf1zxn0swq','BwvZC2fNzxm','ENzqBLm','v2fYBKrLBge','AxnJB25Uzwm','q29UzMLNoIa','uK9vze0','D0DevKK','D2f5uMvXDwu','B2rLiciKu0m','yxrO','CMvZAgvKlG','D29YzcbJB24','mNWXFde2Fde','EufJDgL2Axq','tNvqA24','C2LVBJ0Ims4','ks4GuNvUici','y29UDgvUDc0','zwm9mGPxB3i','Bg9VCgjHy2S','zKvmt0i','C29U','DgfSBgf0Aw8','BgfZDe1Z','Bg9ZzujVDw4','rxH6reC','igXVywqGDgG','turRrNa','zMXHCMuGy2G','y2XPzw50x2m','C2XPy2u','ugf0Aa','ihnLCNzPy2u','y2XHD2TLDc0','BKzLuuS','zMr1vKe','t1LHvLm','ywLYlNjLAMu','A2v0ig9Uihi','D1PhuuW','tg9JywWGt3a','sfHpuMO','Ag9ZDdPWB3i','Eu9Wzw4','CxvLC3q','BgLZDa','Be1Z','zerLDMLJzxm','ywLYuMvXDwu','zwXHChnLzfm','teDAr20','ywWGwY0TDxi','yxjNDG','zw1HBMq','C2fNzq','zcbHBMqGBM8','DgLTzw91Da','tg9NoIa','BgLLBNq','Cg9YDa','ywLUzxiGB3i','mtj1sgLnr1q','BwvZC2fNzq','BwTTtKS','BKLmqwO','zgv2AwnLlNa','y2XVC2vhyxq','AgfUzgXLr2e','yMLUyxj5','y2vZuMvJzw4','CfHWwee','mtu2uKDWEwjk','A2v0','igHHCYbIB3q','B2r5','A2LSBa','y29KzsbBls0','C2LUzY4','yNjPzgDLlxm','DMLJzq','yxrPB24U','CMvZzxq','AwrLBNrPDhK','lwPZB25D','zhjVChbLza','Aw5ZDc0','y3jVBNrHyG','ig9Yia','q1jdq0G','CM9YoIa','sw5ZDgfUy2u','vw5HyMXLihq','sw9St3e','iYbJBgf3A2u','DwvZDcbYzxm','tfDQueO','zhKGCNvUBMK','y291BNq','C2L6zq','z0DgtxO','Aw1Hz2uVCg4','s2DZueu','qMn5v3G','tK9erv9qqvq','CMvQzwn0zwq','uunOuMy','ihrVihnWzwm','C2vYDMLJzq','y2uGD2fZigK','zhrKiJ4kpha','yxnZAwDU','y1rWEKq','jJe7ihrOzw4','DNbU','zgLZy29UBMu','BcbPCYbUB3q','rM91BMq','zgLUzYbYzxe','D3m6','C2HPzNq','ienmssbZzxi','zsbdteKGC2m','EuXht28','EsbYDw5UAw4','BKnSyxCGChi','B25Uzwn0','AgfZ','Aw5LigeGtee','rgv0zwn0zwq','vxjlwMS','z2v0cG','v3LzqLa','mc4WlJaUma','Bg9JywXhyxq','wgDTAxy','igj1DcbNyxq','phjLzgfJDgu','zw5nCZ0','l3DZ','BwfPBG','t2XXs2u','C3rHDhvZ','zhjVCfn0ywW','wvnPD2y','ihn0B3aU','u3P5ANK','DxbKyxrLzee','BgvUz3rO','B3nLzdOG','DxjS','Esb0B2TLBIa','ihjLBgf5pq','y2XPzw50tMe','Dgv3yxKGCxu','B3bLBG','q2XHD2TLDei','BguGz2f0zxC','CevutKe','BM9Uy2u','sd0I','tg5ms2W','se1YBvK','DcbHienSB3u','Dw5UAw5N','yMXVy2TLzca','zfzREwK','ihbHAxiIigy','uMvZDgfYDgu','CffbDeS','Bg9JywW','zfvYBa','C2vYDMLJzsi','ig1PC3nPBMC','zMzLCMvUDca','yxv0Aa','B24U','r2f0zxDHEvi','rgH6AfG','CMvXDwvZDca','yNjPzgDLihi','C3rPBgWGCgu','Cgf0Ad5DifS','CMvSyxLbDhq','y2XPzw50igq','EwvZ','Bwu+xsbBls0','yxv0AcbWyxq','C2nVBM5Ly3q','CMvSyxLtB2m','y2XPzw50swq','Aw5Nienmssa','Dw5PBNn0ywW','cLn0yw5Kyxi','Dgv3yxLnzxm','z3bvCfO','zcbKzwXHEu0','vgHPCYbOB3m','CMfUzg9T','Aw5ZDgfUy2u','CMvZ','idi+pIa','BwfW','CMvHy2HHyMW','zxqGAw5ZDge','DgLUzYbMB3i','CxvLC3rDihi','igf2ywLSywi','B25tDgf0Dxm','DxrMoa','lNbUzW','zNDbCKu','Dw5SB2fK','ifSTlwzVCMm','m3WYFdf8mhW','t1bftKnmqvC','qKnMqu8','CMvN','EsbWywLYAw4','CMvWBgfJzue','ihnPBMnLq2W','z2f0zxDHEum','ELfNr0q','C3rHCNrizwe','u3rHCNrLzca','ywXSEs4Gvxm','CdOVl3D3DY4','qwHHChm','C2vYDMvY','AxnTyxrJAa','zwqUifj1BIa','DLvTDNm','Ag9ZDa','ig5HBwu9','zMfTAwX5','CNn0lcbVCIa','AxqU','y2XLyxi','ls1XDwLLDa','CIbWyxnZD28','q29UBMvJDeG','BsbNyxrLD2e','yKXiywq','qwrIBu4','ig1LDgHVzd0','EsbLBMrWB2K','CgfPCMvK','CMqGyMvMB3i','CMvJDgLVBKW','l251BgWGmJ4','BhzHtge','igDHDgv3yxK','A2X2Avy','ihPLCM87igm','rwTstu4','ywX1zxmGBgK','vNLlteq','lIbsDw4GCge','AgfSBgvUz2u','Dg9mB3DLCKm','uNvUBMLUzZO','t3bLBKnSyxC','BNqGq0Xjihi','yMjsEK8','rMfPBgvKihq','DhDHCMvCtwK','Aw5Nr2f0zxC','ihbHAxjGigi','r21cr3a','yxqG','DgvK','CMvSyxLtzwm','zsb5B3vYigm','zxDHEsbTzxm','DxbKyxrLu24','A2vtDgfYDgu','C2vUza','ihPLCM87igC','A0nxBKC','CMvXlq','AM9PBG','zgv2AwnLswq','lMPZB24','BLDzufm','C3rHCNq','DxnLCM5HBwu','zMLUza','EM51ywS','svb2na','DcbHCha6cG','DMLJzsbYzxm','C3nHz2u9','B3vUzcbMB3i','zcbZAw5JzuC','rffYDfK','z2f0zxDHEvq','Ag9ZDg5HBwu','D2f5twvZC2e','zwqGyMfJA2C','z2f0zxDHEuG','BJOG','zMLNDxjLzcW','y2XHD2TLDca','ywnLqKm','qKHhDLa','mti3lJaUmc4','AgfUzgXLuMu','y29Uy2f0','igLUDgvUDgK','u2vYDMLJztO','C1v0u1q','uMvTB3zLzca','BgLNAhrdB24','y29Kzq','yuTOqK4','BgfIzwW','zgXLigDHDgu','AcbMB3iGC2u','yxj0','thPfrxy','zxjYB3jdB2q','odC4oq','ihbYB2nLC3m','zxHWAxjLC0e','yMzvtKm','B3vUzcbZzxi','lxnLCNzPy2u','zxnJCMLWDgK','zs5JBgK','yMXLigr1CMK','zgf0yq','zxnVBhzLza','DgvYpw5LDhC','rvDNrKC','jMfTCdS','je5prevFuee','Axnoyu4','qwXPDMu8l2S','t0nhyuu','mci+cJXKAwm','v2LUzg93C1W','CYbUB3qGCMu','ignVBM5Ly3q','zcbXDwv1zwq','CNrIzwf0','CMvZCY4Guge','C2nOzwr1Bgu','CgLKpsXHCMC','y29UBMvJDgu','zwXVywq','yNjPzgDL','AgvSCa','AxncDwzMzxi','C2vYDMvYvxi','ls1MB3jJzq','Ag90','mxW1Fdr8mhW','u0Lhvevstq','rfDpCfu','u256wgy','yNjPzgDLlwm','B2X2zwqGCMu','ChjVDg9JB2W','yxnZD29Yza','D2LYzwD1yxi','CgfPCG','zwXHEq','rejKuwu','Aw5Ntg9Nz2u','CMvNAxn0zxi','ugfZC3DVCMq','C3bSAxq','B25Uzwn0zwq','BMDqywLYuMu','igzHBgXIywm','q3vYCMvUDfy','B3jRlw9UBgK','ls1LCNjVCNm','zxj2AwnLlMO','tM8GBwf0y2G','zYbWyxrOoIa','CM9U','ig5VBMnLuhi','A3PVyLq','seLxDg0','ztOG','Axn0zxi','y2yTBwL0AwC','rxHWAxjLCZO','Cgf0AevUDG','igzHAwXLzca','AwWGz2f0zxC','ls1SAw5LCW','lMnVBMzPzW','Aw5Qzwn0zwq','Dg9Rzw4','zxjYB3i6ia','iIrot0rfx1a','ihrVDgfSpq','rM9brhm','z2uUANnVBG','DgfSBgvKigi','zwnOBYaIBM8','yxbWzw5KoG','zM91BMqGDw4','mhWXnhWXmxW','yKfSB3u','D1vmD2G','zw50CW','BwvKAwe','CMvJzw50','y29KzsbYzwy','C2LUzYbPzgW','iurpq1rzueu','y2XPzw50rgu','B3jPz2LU','zMnwwNK','A2DXEvK','zLrSr2G','zsbYDw50Aw0','zZOG','sw92ENq','wY0TANnVBL0','lw5HBwuGpgq','yxj0ienSyxC','yw5Ktxm9','zgLZywjSzq','zM9YD2fYze8','vw5ZDxbWB3i','zxDHEsbYzw0','EgHfuuS','u2Dxwxq','ywLUCYbUzwu','zM9YzsbWywK','zgLUz0DHDgu','CNqGyxv0B20','B2jQzwn0','Aw5gBgLNAhq','q2XLyxjLzca','lMnSyxDRzxq','x19JBgf3A2u','BguGzhjVCha','C3rHBgXHDgK','C2nVCMu','CgfZC3DVCMq','y1n0yxj0pq','mhW1','C3rKAw8','BM9Uy2vmzw4','zeXYyLK','ywiGzM9Y','BcbNyxrLD2e','zYaOCgLK','v3fSB2m','z2vYihrVihi','ALDWCvy','Cgf5Bg9Hza','D2LUzg93C0G','ywn0Aw9U','AgPwD0q','zw5dBgf3ieC','yxj0yMvHDca','pc9ZDhjPBMC','q29UzMLNrgK','CgXHDgzVCM0','BI4GvxnLihK','AxjZDc4Gq28','ChvZAa','DgvKqxrnCW','CNvUDgLTzs4','l2TLEt4kica','ywX1zsaI','CMvJDxjZAxy','r2f0zxDHEsa','C3rPBgWGCNu','uKW6ia','m3W2Fde3Fdm','BMqGlxyGBM8','DhjHDgLVBI4','cIaGphn0CMK','B3iGCgfZC3C','u3rVChbLzca','tK9ux1bbsvi','C3rYAw5N','tg9HzdWVA2u','CvncCNi','B2nHBcbBls0','x1bbu1nxt1i','lvrfuK0','AwXHyMXLoIa','rujHEuW','ywnJzxnZq28','DgfYDgvKige','CMvHzhLtDge','ww91ignHBIa','ienSyxDRzxq','z2v0u25HChm','ignYB250ywi','BMCGy29UBMu','Cgf0AdOG','B3iGDxnLige','AgvHCNrIzwe','Bg9Nu2XVD0m','C3rYEq','vvjmoIa','tg5prhK','B05Xsge','u2vYDMvYifu','DKXbzuW','D2fPDa','q1vYCeO','D2LUzg93CY0','zNjXBxK','zxrYEurLBge','lI4VCgfJA2e','C2vUDa','yxbWBhK','vKnstKO','y2XVC2u','Dw50Aw1LigK','rxjYB3iGBg8','BM5Ly3qGyxq','wKXbvu4','C21HBgW','igf0ia','C0f0','CNvUBMLUzW','vxjS','Aw5ZDgfSBa','C3rKzxjY','Bgf3A2v0ihi','s1fAqM8','zM9Yy2u','Dgv3yxLdB24','AwmGzMfSBgi','B2rLihjLzNi','q2fUBM90igm','zgLZCgXHEu4','EeLkr2u','pGO8l2rPy3q','rhfyBuq','yxnL','BKTorLu','cLjLC3rHCNq','zcbPCYbTAxm','z2v0','C3rHCNrZv2K','uKvhx1nA','zxK+uNvUqxq','BNvTyMvY','zw1HBMqGzhi','zw5JB2rPBMC','BMC+','Dw50Aw1Llxa','Bg9Nugf0Aa','BMuUDgfYz2u','yxLnCW','CMvSyxLvCMW','ls1XCI1MAwW','Axjszxf1zxm','y1LjALe','icaGidXZDhi','DgHLigjYAwq','q2XP','CMvXDwLYzwq','rKPJzLu','q1fet2W','A2uGmZbZlca','B250ywi','lNbSAxn0','tdOG','yxbWCM92zva','Bgf1BMnOy3q','Dg9ju09tDhi','zgfLBw9Ulxi','zxf1zxn0CW','seTdvvXtB2y','vg9Rzw5gB3u','tIbjucbHzgq','suq6ia','CwTJtw0','BM9KzvbHDgG','CgfPCIbSB2m','yw1L','CNvU','q0Xbv0rct1q','ugfPCMLUzYa','CMvSyxKGCMu','Dw5HDMfPBge','q0Xpu0LorW','wLbcufa','ywrKCMvZCW','u3rHCNrLza','zxzLBa','qNzlA2W','C2vUzeDHDgu','yxbZAg90','mZa2nZqWmefmzfHXsq','DguGyNjPzgC','CM9Szq','Ee1OtK4','zw5HyMXL','B3rOzxjuzxG','zcWGyNv0ihm','Dw5Yzwy','y29UzMLN','vKvMrhK','Axn0CMf0Aw8','CMvSyxKGy2W','B25HBgX5ihC','zxqGyxbWoGO','ihvUy2HHBMC','AgfRztSGCxu','mJe5nJC5nM1rCfDbBq','DejHC2vezwW','zxzLCNK','kcGOlISPkYK','l1bjra','zgvSzxrL','C3rVCeHLyxi','zg9JDg9YifS','r09syvy','zuLKBgvhyxq','yxrLD2f5uMu','AwrL','C3bVBNnLigi','CNvUiIbTyw4','DwvZDcbWzw4','C3rVBsbNyxq','Dg9mB2nHBgu','CMvQzwn0uge','lwnSAq','Aw5Jzq','B249q2XHD2S','CNPQyue','ig5VBMnLtgu','AxnjBNrLz2u','zcbZzxj2Awm','y2XPzw50q28','ANvbvwy','ignVBMzPzZO','B3j0pL0GwY0','A0n1C04','igf1DgHgAwu','AxnszwXHEu8','B0DQugm','BgKTzxjYB3i','C3rHCNqGDxi','tMfTztOG','zxDLqKe','DM9nyvO','CgLK','ihjLCuLKpq','qvripsi','u3rYAw5N','wenHAue','yw5KC2HHA2u','Dw50Aw1Lihm','BNqGDgHHDca','D3nZoI8V','AKj6rwm','m2vtzePXsq','CMfTCW','D3vtEei','ChvZAfbLBMq','B25mB2C','qwTQz2q','Ber1Cve','refRq1u','yxrLD2f5lxu','CMuGCMvJEwm','rgj2su0','vujmsumGiI0','DgfYDdOG','BwLZC2LUzW','phbHDgG+xsa','DLrRsLK','Bgf3A2v0iha','y2XVC2uGyM8','ktOG','zNjVBq','zsbZDgfYDgu','B25Uzwn0Aw4','AcbNyxrLD2e','zw50CMLLCW','BwvKAwfeAxi','zg9LCYbUB3q','z2v0vgLTzq','C3LZDgvTza','igzYzxnOigq','y29UzMLNrM8','B25Jzq','DLLzzM4','vMjMs2O','igTLChq9','zxrcCMLKz2u','ig1LzgLHoIa','CMvSyxKGy28','zxHLy1bHDgG','B2rL','tLb5rgW','DhjPBq','ywLYic0TzM8','zLrzzfG','zwqU','C3nHz2vZ','CMvNAxn0CNK','zgvMyxvSDeC','uviGAw1Hz2u','Dw4Gq2XHD2S','sciGCNvUic0','CMnLycbVBMW','z2f0zxDHEva','AvfttvC','ls1Syxn0ihy','BwfYA1bHAxi','q0HsA1G','cLnJyw4GDgG','qurbAMe','ywnRigLZige','zxqGqNjPzgC','zxjYB3jmB2C','CgLWzq','zxrYEvrPBwu','zwq9','A2LUz0rPCMu','CMvTB3rLsxa','zxDHEvvYBa','uNvUigbJBge','C3rYEsbbueK','wuDQq2e','AYbPCYbHDMe','CMvSyxKGAgu','BgfZDfjLBge','EgzbtLC','zgfYEvbLBMq','ywnRz3jVDw4','qNjPzgDL','zxzLBNq','C3rHDgu','DhvU','tfjWC0W','yxv0Ae1Vzgu','BgLZDcb2zxi','D2fZig5VDca','AxngAw5PDgu','pL0GwY0TCMu','ihj1BNrPBwu','Dgv3yxK','BM9VCa','thD4BwG','x0DbvevxqvK','Awz5igeGy3u','yMfJA2DYB3u','ihzLCMLMAwm','DgrIsKe','Ahr0Chm6lY8','BMv0D29YAY0','zxnOignSAwu','CgfYC2u','CM9Wzxj0EuW','ruP0A2q','Bca8D3m6lY8','zgu9','CMLUzZ4','CuPZALO','igrLDMLJzuK','B25Uzwn0sge','q0Xpu0ve','zgvYia','lI4U','mtv8nhW4Fde','yNiT','tvvmv3i','CMLKz2vdBgK','pLbYB2DYyw0','AMjgzfi','AwyGy29TBwe','wwfHvuS','B2nHBcbpCgu','igzVCIbNyxq','iMnSyxDRzxq','zgv0ywnOzwq','lxfYlwzPBgu','y29UBMvJDa','DxjSpL0GwY0','B3qGzM91BMq','sgnjwfi','uMvXDwvZDfi','AgX3CNe','y2XLyxjjBKy','uMnbzKG','C0LyyMO','ChbW','pg5VBMu+','Dfj2C3y','BMD0Ad0','BgXDcLDHBNq','B2zM','BM90igLUC3q','B3jKks4','BvDqzhq','D2LUmZi','zgLUzZ0Ivvq','DMfPBgfIBgu','y29UzMLNrgK','B3vUDa','y2HHBMDLzc4','tKLRqwe','BgfZDfnLzw4','tw9IAwXLiem','CNvUBMLUzZO','D2LMAq','BMfTzq','l3jVB3q','ls1SB2nHBa','CMLUzYbJB2q','y3jVC29MDfW','r2vUzxjHDgu','yxj0zwqGDgG','iffsigLUihq','ANnVBG','BwLSEq','zM9YBsbMB3i','CvHqy0i','AgfIBgu','uefjuKLor18','yw50ihrVigi','zw1HAw5Zig4','zxHPDcaXmJC','ihjLyxnVBJ0','AxnbCNjHEq','BgLUDxG','yxLnzxnZywC','Dg9tDhjPBMC','BMv0D29YAYa','lNnLCNzPy2u','lJaIigvUy28','B25qzw5KAw4','CxvLCNK','AxjPBMCU','Aw5ZDgfSBgu','yxv0AezPzwW','AxiGzMLYC3q','phn0CMLUzZ4','C2vHCMnO','zhjVChbLzca','CNzPy2uGAw4','zgvK','B2TLBG','y29UBMvJDeG','wMrHsMS','zxHWBgLJAxq','zNPey0i','C3rHCNrLzca','rwHbsKq','qMfJA2DYB3u','Ac5TB2rLigK','B25SAw5LlNq','C3LZDgvTzc0','Bg9NCW','ndG0r3v2r2fH','Aw5NpG','phvUA25VD24','zYbruI4','Bs9everZl1a','tgLICMfYEq','r0HmC04','AguGyNjPzgC','BMvJDgvK','zgzSyxjLigm','sK56u0u','zM91BMq','yxrLD2f5t3a','wfbZyue','y2uU','ywrK','tMPiEgG','B3vYignVBNq','ywnXzvO','B3bLBMnSyxC','zxHPDa','Dg9Y','B24GzMfPBgu','DMLJzsbMB3i','w1vUAxrDcKq','FdL8n3WYFde','BhzLza','Aw5N','sKPtzK8','v01vzxK','z2vZ','yxrPyYbZDge','CKT2Aw8','EMrzCg4','zsbNyxrLD2e','qNjPzgDLigK','AcbHigrPzMy','throDxO','tM90ihbHAxi','zgvfEhbPCMu','odq4re53yuDO','lY9bChbSzs8','u0Lhsu5u','z2f0zxDHEvm','B21WBgv0zsa','ls1UB3C','BwuGBM90igy','CMvSyxKGzxi','y2HLzcbTB2q','qhjLyM9VDca','CgXHy2vD','t2XMvNC','ugf0AdOG','CMvSyxKGzgK','Dw5K','idXWyxrOpL0','Bg9N','C2vHCMnOuge','q0nKqxm','C2vYDMLJzvi','B2nRzxq','C0fXCMK','CM9JzxnZzxm','C3rHCNrPBMC','A1rlDfG','C3rYAw5NAwy','uu51se4','BNn0ywXSzwq','tLLKzxa','CMr1vuy','tLfZwu0','CgfPCIbYzxe','zxjYB3jdB3i','AxmGuviGy28','CMLWDcbWyxq','CgXHy2uIihq','y29UDhjVBf8','Dw5ZDxbWB3i','CgvU','x1rps0vo','ieLeoIa','ignSAwvUDhm','EvfuC2e','zM9YD2fYzgu','CMf3','zxrO','zxjLBNqGC2u','u1qGms4WlY8','CM9YC10GwY0','AxmGBg9JywW','Eu1Z','DxrVBwf0Awm','AfDYwvG','yxr0zw1WDgu','yK1sywq','CNvUifSTlwC','Dw50','zxjYB3jnzxm','nZuYnJa0CMzez3zc','BgLLBNrezw0','zg9JDg9Y','igrPCJOG','nJuYntuYDwvxzMD3','Bgf1BMnOywC','zxvWvw0','ywKUy2XHD2S','CeDlEvC','y2XLyxjuAw0','ls1Syxn0','Dg90ywW','lNDVCMTLCNm','txm9','C3rZ','Bg9ZAw5NigK','D3m6lY8XmJC','mtHsseLPqMi','ihjLCxvPCMu','CMvjuu4','zg93BG','mM0SidfOlca','ELzHDKy','zcWGCNvUBMK','sw5ZDgfSBgu','A3P4swK','zw1WDa','zNb4t0u','ywnOywjSzsa','z2f0zxDHEuK','l2fJy2vZCY0','zgv2AwnLrMe','zwzYzxnOzwq','DgjLyxq','B2jZzxj2zuC','Bwf4','zwz2v1e','mZi2mtK1u1bOChn3','qxjNDw1LBNq','BMCUieXLzNq','B3iGmwqU','CMvWBgfJzq','vgXiywe','y3jLyxrLv2u','wurdEu0','A2v5pKTLzxa','swq9','t21XvgS','EKfLA2e','tLHlufq','CNvLlZ4kica','zcWGC3rVCha','CMvXDwvZDgu','BMqU','zxjYB3i','y29UBMvJDc4','BM90ihbHAxi','zMLSDgvY','yMfZzty0','DMv0Aa','lJaUmc4XoJe','y3qGAgfUzhm','BgXRsM8','n3WZFdH8nNW','Dxz0zKy','DxjSidX3CZO','y2HHBgXLBMC','r3DRAMq','DgPzzum','BMvJDeHHBMq','CMvSyxLdB24','igr1CgXPy2e','zxDHEs5HDxq','l0rurcbqteK','CxjqyxLSB2e','BM9Uy2vqCMu','z2f0zxDHEvi','y2XPzw50x2q','BxbSzqPfEgu','z1bHAxjszxe','BM90ihjLywq','zxqU','igvSyxbZzwq','zevYCM9Ypwe','AxnhyxrLD2e','AxmGC2fMzxq','BgfZDca8mM0','sK5wBK8','zcbHigXVy2e','yxDKBa','B25Uzwn0u3q','Dw5RBM93BG','ihjLz2LZDhi','CMvJB25Uzwm','vgrUyxe','CM91BMqGC2u','zgvMyxvSDa','C2XVD1DHCM4','zxDHEvf1zxu','y3rPDMf0Aw8','zxnLBNq9','l3yXl3bHAxi','z2f0zxDHEq','A2v0igfWCdO','zguGAw4GDgG','ls1NyxrLD2e','Bg8W','igjPBMfYEt0','icbLEgvJig4','yND2te0','Dez3AfK','igXV','lMfP','B3zL','qxrnCW','Dd4k','BgfZDevYCM8','CMvZCg9UC2u','CNvUDgLTzsa','zMXHDe1HCa','zguGCNvUDgK','y29UBMvJDca','uKLqvf9qqvq','DgvZigfYzsa','BM5Ly3rLzca','u2vYDMLJzv0','suDXt1q','CMvX','Bgf5q29UDhi','CgDmree','wMvkshe','Et4kica8Dhi','zt1WyxnZD28','CI1MAwXLidW','CNvUlxjLz2K','CMvZDgfYDa','sezrweu','CMLUzYb3Axq','rfzOsw8','qwnJzxnZigm','r011C0q','C2nYAxb0uge','DwvbtMS','t1bftG','C3rVChbLza','z2f0zxDHEsa','DgvTChq9','re9fD2G','zcbIywnRz3i','CYbHBhjLywq','yxbWCM92zwq','u2vYDMLJzsa','CgvUzgLUzW','BYbKzxrLCM0','Dd5DifSTlxe','De1Z','DgvZDa','lMXVzW','q29UzMLNrM8','C2vYDMvYlw0','DuLMqLO','yLnVy2TLDa','Dd4kica8A2u','z2vUzxjHDgu','txfQz0e','ifbYzxnZiem','yxbWBgLJyxq','yxrLD2f5vxi','q0fIzhy','yxvSDc50yxi','lM9Wzw5JBge','CgfPCMLUzYa','C3rVCciGzMK','EsbPzIb5B3u','DgGGiI0TCMu','ihrLEhq9','lZeYnY4WlJa','CM9TigeGzgK','qKDirLO','B3qGC3vWCg8','ywnJzxb0','yxrLD2f5twu','C3rVCa','DMLJzsbPBNm','icH0B2TLBIa','ugf0AdWVA2u','DgHPCYbOB3m','B3bWzwqGDg8','tKDHBeq','CgvUzgLUz0C','ig1VCMuGzgu','BgX3','BMvJDhm','ls1Zzxj2Awm','C3PPAMi','DM1Uzxq','ywXSzwq','BMvJDgLUzW','BMqGC2vYDMK','t0Hvs1u','BMzPzYbWyxq','y2uGywXYzwe','ica8yxjYyxK','B3j0','CxjjBwfNzva','zxDHEvjLywm','zgv2AwnLtMe','DgXxA3y','pwfSD2f5CWO','DxnLCG','ignVBMzPzYa','igHHBMrZAge','DgvKihbSyxq','zw9qqvm','Dg9eyxrHvvi','BgKUANnVBG','Cgf0Aa','D3m6lY8','ihrYyw5ZAwu','BM93','zgDLigLZige','BgLUzxm','r3nkExy','vMnKAwm','y29UzMLNuge','Aw9Ul2PZB24','qxv0Ae1Vzgu','DvLVC1a','igjYAwrNzsa','CgLUzW','BhjLywr5iha','D3nZoG','BMrHCMrpDxq','CgvUzgLUz1a','vhzgu2m','DgvYBwLUyxq','ls11C2vY','uMvSyxKGvvi','w3n0yxr1C10','Df9YzwXHEv8','v0XNywi','Bwv0Ag9K','yw5KihbHC3m','zg9JA2vY','luTjteW','Bw9Kzq','AMvYvMC','DcbKB2vZig4','DgfPBhmSig8','ExbHC3mGDgG','Cgf0Ag5HBwu','igf1DgGGAxm','Dc1ICMLKz2u','rMD1rxi','ls1QC29Uxq','jMD0oW','igvYCM9Ypq','y3jLyxrLzee','BM8Gy3jVBNq','zxjZAw9Uxfi','D2HLCMu','BYb0ywTLig8','DaPxyw50CZ0','y2uGCMvNAxm','EsbJAgvJAY4','A2LUza','C3rHCNrLzee','DgXZ','sMvdA20','rxjYB3iGtg8','zMfSBgjHy2S','mtbMwMDluNe','Bwf0y2G','jYiNiIC','u0nssvbux1a','zNbJBMO','zM9YzsbMBhu','lw5LDW','lwf4','C3LZDgvTy3q','AwDUB3jL','uMvZDgfYDfm','CMHHDgK','y29UBMvJDfi','ywiGzMfSBgi','rfzVq2W','BYbYzxnVBhy','zw50','BgrZpq','zgvJAxnPB24','C2vYDMvYidW','zwqGka','zgvUDgL0Esa','zNHwu1m','C2vYDMLJzva','D2f5','Cvb5BfO','Bgf5twvZC2e','y3rLzcbJB2q','DgGG','ywLYzwqUifi','DhLWzq','zwnVBM5Ly3q','Dgv4Da','CMv0','ywDLBNrZ','zwvKzwq','yxrLD2f5igK','Aw5JBhvKzxm','yxvUy2HLCI4','vxL5DLG','C25HChnOB3q','DMLJzsbJBgu','CgfYyw1Z','BwfUzfn0yxi','pgTLEt5tDge','CNr1CcbYzwC','BIaIy2XHD2S','C2v0','B3b0Aw9UCW','BMrZAgfRzxm','CYb1BNnLDc4','yNr0qwu','z2f0zxDHEvu','zxDHEq','zsbIywnRz3i','zxrOB2q','txH3Dxm','CLf1zxvLr2e','twPSzha','rufdAwq','jNf1B3q7','icbLEgvJici','CxiTzMLSzsa','uw1VDfO','zxjZ','cLr5Cgu9C2K','BwfYA0rLDMK','AdOG','D2TLDcbKB2m','zMX1C2Hqzw4','zw5ZDxjLr2e','DMfSDwvZ','BwfYz2LU'];_0x202e=function(){return _0x2f40d7;};return _0x202e();}function readAgentName(_0x23dd8b){const _0x3a9545={_0xe7545f:0x1a,_0x3438b5:0x43d,_0x20b7a2:0x33b,_0x20acbc:0x4d6,_0x45b1c3:0x421,_0x5c8450:0x87e,_0xb9fc14:0x690,_0x2bd096:0x1ce,_0x536dfb:0x2c7,_0x4a2070:0x426,_0xc73283:0x2d7},_0x193713={_0xa11423:0x45},_0x343949={_0x39bf1e:0x298};if(!_0x23dd8b||typeof _0x23dd8b!==_0x4a1770(_0x3a9545._0xe7545f,0x2a8))return null;const _0x428a66=_0x23dd8b;function _0x4a1770(_0x2e12e9,_0x129161){return _0x528821(_0x2e12e9,_0x129161-_0x343949._0x39bf1e);}const _0x26b882=typeof _0x428a66[_0x75f322(_0x3a9545._0x3438b5,_0x3a9545._0x20b7a2)]?.[_0x4a1770(_0x3a9545._0x20acbc,_0x3a9545._0x45b1c3)]===_0x75f322(0x84,0x1a5)?_0x428a66[_0x4a1770(_0x3a9545._0x5c8450,_0x3a9545._0xb9fc14)][_0x75f322(_0x3a9545._0x2bd096,_0x3a9545._0x536dfb)][_0x75f322(0x15e,0x88)]():'';if(_0x26b882)return _0x26b882;function _0x75f322(_0x270d5d,_0xbcbfb8){return _0x528821(_0xbcbfb8,_0x270d5d-_0x193713._0xa11423);}const _0x449e36=typeof _0x428a66[_0x4a1770(_0x3a9545._0x4a2070,0x421)]===_0x4a1770(0xfd,_0x3a9545._0xc73283)?_0x428a66['name']['trim']():'';return _0x449e36||null;}function buildPairingQrPayload(_0x523555){const _0x22ca92={_0x4eb6fb:0x5e3,_0x484202:0x22b,_0x1a4d5c:0x9f,_0x3849ac:0xa9,_0x6e592a:0x2e8,_0x5dfffc:0x7b,_0x3dfdd9:0x52c,_0x48cf86:0xd8,_0x4b912e:0x11f,_0x133a85:0x6e6,_0x59b6e8:0x5a2,_0x3b668b:0x470,_0x4a4fc9:0x364,_0x1f4b41:0x4a1,_0x3bf86b:0x1e},_0x20605b={_0x1b2975:0x489},_0x2ff22c={};_0x2ff22c['v']=0x2;function _0x18fecc(_0x490222,_0x37e415){return _0x528821(_0x490222,_0x37e415-0x6);}_0x2ff22c['k']='cp',_0x2ff22c['s']=_0x523555[_0x21b102(_0x22ca92._0x4eb6fb,0x3c9)],_0x2ff22c['g']=_0x523555['gatewayI'+'d'],_0x2ff22c['a']=_0x523555['accessCo'+'de'];const _0xc06f65=_0x2ff22c;_0x523555[_0x18fecc(_0x22ca92._0x484202,0x7b)+_0x18fecc(-_0x22ca92._0x1a4d5c,_0x22ca92._0x3849ac)]?.[_0x21b102(0x535,0x5a2)]()&&(_0xc06f65['n']=_0x523555[_0x18fecc(_0x22ca92._0x6e592a,_0x22ca92._0x5dfffc)+_0x21b102(0x3f5,_0x22ca92._0x3dfdd9)][_0x18fecc(-_0x22ca92._0x48cf86,_0x22ca92._0x4b912e)]());function _0x21b102(_0x4740a3,_0x3253f6){return _0x528821(_0x4740a3,_0x3253f6-_0x20605b._0x1b2975);}return _0x523555[_0x21b102(0x499,0x470)]?.[_0x21b102(_0x22ca92._0x133a85,_0x22ca92._0x59b6e8)]()&&(_0xc06f65['t']=_0x523555[_0x21b102(0x5d1,_0x22ca92._0x3b668b)][_0x18fecc(_0x22ca92._0x4a4fc9,0x11f)]()),_0x523555[_0x21b102(0x4fc,_0x22ca92._0x1f4b41)]?.[_0x18fecc(-0xe5,0x11f)]()&&(_0xc06f65['p']=_0x523555[_0x18fecc(-0x11c,_0x22ca92._0x3bf86b)][_0x18fecc(0x23d,0x11f)]()),JSON['stringif'+'y'](_0xc06f65);}function buildGatewayQrPayload(_0x4e9e78){const _0x3264c3={_0x6b2b46:0x488,_0x245475:0x99,_0x4743c7:0xe5,_0x334d1e:0x330,_0x29fc1c:0x40a,_0x5bd77a:0x805,_0x4499d3:0x38,_0x3ff709:0x31e,_0x2adde7:0x31f,_0x4e1716:0x10,_0x3e9f61:0x5f8,_0x1e7e4c:0x83d,_0x590e24:0x4c6,_0x18377c:0x197,_0x5dec19:0x41,_0x1ca2bd:0x2de,_0x4d5d20:0x142,_0x15e997:0x6d9};function _0x4acccf(_0x2579d6,_0x48b335){return _0x684713(_0x2579d6,_0x48b335- -0x279);}const _0x2eb1d9=normalizeGatewayQrUrl(_0x4e9e78[_0x4acccf(_0x3264c3._0x6b2b46,0x387)+'rl']);function _0x347934(_0x4c9da8,_0x184c0d){return _0x684713(_0x184c0d,_0x4c9da8-0x23d);}const _0x1a434e={'url':_0x2eb1d9[_0x4acccf(_0x3264c3._0x245475,-_0x3264c3._0x4743c7)],'host':_0x2eb1d9[_0x4acccf(-_0x3264c3._0x334d1e,-0x93)],'port':_0x2eb1d9[_0x4acccf(0x68f,_0x3264c3._0x29fc1c)],'tls':_0x2eb1d9[_0x347934(_0x3264c3._0x5bd77a,0x7bc)],'mode':'gateway','expiresAt':_0x4e9e78[_0x4acccf(-0x15b,-_0x3264c3._0x4499d3)+'t']??Date[_0x4acccf(_0x3264c3._0x3ff709,_0x3264c3._0x2adde7)]()+0xa*0x3c*0x3e8,'qrVersion':0x2};return _0x4e9e78[_0x4acccf(-0x12b,_0x3264c3._0x4e1716)]?.[_0x347934(_0x3264c3._0x3e9f61,_0x3264c3._0x1e7e4c)]()&&(_0x1a434e[_0x4acccf(-0x2a,0x10)]=_0x4e9e78[_0x347934(_0x3264c3._0x590e24,0x375)]['trim']()),_0x4e9e78[_0x347934(0x4f7,0x5bd)]?.[_0x4acccf(0x216,0x142)]()&&(_0x1a434e['password']=_0x4e9e78[_0x4acccf(_0x3264c3._0x18377c,_0x3264c3._0x5dec19)][_0x4acccf(_0x3264c3._0x1ca2bd,_0x3264c3._0x4d5d20)]()),JSON[_0x347934(_0x3264c3._0x15e997,0x8ed)+'y'](_0x1a434e);}function normalizeGatewayQrUrl(_0xa31c63){const _0x30aec1={_0x525097:0x569,_0x517cd7:0x80a,_0x1ba178:0x846,_0x711454:0x707,_0x4e44a4:0x5fc,_0x228f19:0x27d,_0x525223:0x51e,_0x306856:0x5c5,_0x397de8:0x1b2,_0x36c8d0:0x78c,_0x3dc371:0x36d,_0x52ca90:0x567,_0x53f978:0x71a,_0x234891:0x5b2,_0x4ec73f:0x8cc,_0xf44f2f:0x7e6,_0x45b8e0:0x1a3,_0x109e02:0x26d,_0x179886:0x1d6},_0x9c6185={_0x3ba7c8:0x405},_0x5a16a6={};_0x5a16a6[_0xd8c7ac(_0x30aec1._0x525097,0x7df)]=function(_0x34228a,_0x584a6c){return _0x34228a===_0x584a6c;},_0x5a16a6[_0xd8c7ac(_0x30aec1._0x517cd7,_0x30aec1._0x1ba178)]=_0xd8c7ac(_0x30aec1._0x711454,_0x30aec1._0x4e44a4),_0x5a16a6['GmBGp']=_0x338e23(-0x377,-_0x30aec1._0x228f19);const _0x5f33f0=_0x5a16a6,_0x174a3c=new URL(_0xa31c63[_0xd8c7ac(_0x30aec1._0x525223,0x37a)]()),_0x4a1f51=_0x5f33f0[_0xd8c7ac(_0x30aec1._0x525097,_0x30aec1._0x306856)](_0x174a3c['protocol'],_0x338e23(0x3b8,_0x30aec1._0x397de8))||_0x174a3c['protocol']==='https:',_0x4711d2=_0x4a1f51?_0x5f33f0[_0xd8c7ac(0x80a,_0x30aec1._0x36c8d0)]:_0x5f33f0[_0xd8c7ac(_0x30aec1._0x3dc371,0x169)],_0x557621=_0x174a3c[_0x338e23(-0x2b9,-0x1cc)],_0x14608e=_0x174a3c[_0xd8c7ac(0x7e6,_0x30aec1._0x52ca90)]?Number(_0x174a3c['port']):_0x4a1f51?0x1bb:0x50,_0x420e1f=!_0x174a3c[_0x338e23(0x166,0x1c5)]||_0x174a3c[_0xd8c7ac(_0x30aec1._0x53f978,_0x30aec1._0x234891)]===''?'/':_0x174a3c[_0xd8c7ac(_0x30aec1._0x53f978,_0x30aec1._0x4ec73f)],_0x1f2dfb={};_0x1f2dfb['url']=_0x4711d2+'//'+_0x557621+':'+_0x14608e+_0x420e1f,_0x1f2dfb[_0xd8c7ac(0x349,0x452)]=_0x557621,_0x1f2dfb[_0xd8c7ac(_0x30aec1._0xf44f2f,0x984)]=_0x14608e,_0x1f2dfb[_0x338e23(-0x81,_0x30aec1._0x45b8e0)]=_0x420e1f;function _0x338e23(_0x217130,_0x331e43){return _0x528821(_0x217130,_0x331e43- -0x150);}_0x1f2dfb[_0x338e23(_0x30aec1._0x109e02,_0x30aec1._0x179886)]=_0x4a1f51;function _0xd8c7ac(_0x565b65,_0x462f33){return _0x528821(_0x462f33,_0x565b65-_0x9c6185._0x3ba7c8);}return _0x1f2dfb;}var DEFAULT_REGISTRY_BASE='https://'+_0x684713(0x433,0x3c0)+_0x528821(0x27f,0x13)+_0x528821(0x282,0x28b),DEFAULT_REGISTRY_FALLBACK_BASE=_0x684713(0x247,0x3f2)+_0x684713(0x8c1,0x669)+_0x684713(0x42c,0x3c0)+_0x684713(0xca,0x2b5)+_0x528821(0x1b3,0x227)+'.dev';async function pairGateway(_0x4e7361){const _0x399b07={_0x20063f:0x63b,_0x22197c:0x3e0,_0x2ef7f9:0x389,_0x35dbda:0x48a,_0x5460ce:0x4f0,_0x1cb04a:0x472,_0x394e3a:0x293,_0x29f5d7:0x26c,_0x3f7f08:0x3a,_0x515330:0x49e,_0x27ce01:0x6ee,_0x515a3c:0x5d6,_0x506326:0xd0,_0x2e37d2:0x186,_0x193b20:0x22,_0x50ff6f:0x9f,_0x1d7e28:0x22,_0x36553c:0x17,_0x43d7a2:0x657,_0x3b096c:0x4fa,_0x26e1e3:0x449,_0xfbb1bd:0x17f,_0x362bcf:0x6bd,_0x44b917:0x7ed,_0x52663e:0x474,_0x573663:0x507,_0xee6e51:0x525,_0x233020:0xa35,_0x390b06:0x3a1,_0x5c0d9e:0x348,_0x4d437e:0xed,_0x35e839:0x2ff,_0xeaefe2:0x6a,_0x1f9e15:0x8f3,_0x45d0f2:0x26a,_0x14c696:0x412,_0x23f74d:0x7f4,_0x10ee50:0x3d3,_0x206bf5:0x357,_0x37e941:0x5f6,_0x2e1012:0x7b3,_0x42dae5:0x79f,_0x428633:0x3fd,_0x3d2430:0x48c,_0x47c4b3:0x190,_0x45ed29:0x42d,_0x2d8e30:0x3b2,_0x479846:0x174,_0x1ecc34:0x7c3,_0x4532f0:0x6c4,_0x1a11cd:0x22f,_0x17f8ec:0x172,_0x4f1672:0x331,_0x393d55:0x3a6,_0x3e04d6:0x28,_0x1ca5bc:0x82,_0x90e6ce:0xd0,_0x10db42:0x395,_0x4b8765:0x36,_0x5ab286:0xef,_0x4b41dc:0x55b,_0x13e07c:0x4f,_0x1cc5d0:0x28,_0x167d3c:0x3aa,_0x310551:0x5d6,_0x10c24f:0x731,_0x4a8be0:0x4a,_0x28dc2f:0x81e,_0x4ac283:0x4fa,_0x61284d:0x174},_0x5d14a6={_0x45fb4b:0x5b};function _0x579843(_0x482625,_0x34e136){return _0x528821(_0x34e136,_0x482625-0x533);}const _0x57e0cf={'fxVSS':function(_0x22840d,_0x55dad0){return _0x22840d===_0x55dad0;},'zAeka':function(_0x131cd0,_0x4034e2,_0x296b37){return _0x131cd0(_0x4034e2,_0x296b37);},'mkmNK':'Pair\x20reg'+_0x579843(0x511,_0x399b07._0x20063f),'kzobT':function(_0x201cfe,_0x390482){return _0x201cfe(_0x390482);}},_0x169635=normalizeHttpBase(_0x4e7361['serverUr'+'l']),_0x3badad=readPairingConfig();function _0x174a53(_0x22beba,_0x50ae35){return _0x528821(_0x50ae35,_0x22beba-_0x5d14a6._0x45fb4b);}const _0x535584=assessPairingCompatibility(_0x3badad,_0x169635);if(_0x57e0cf[_0x579843(0x873,0xa10)](_0x535584,_0x174a53(0x3fc,0x623)+_0x174a53(_0x399b07._0x22197c,_0x399b07._0x2ef7f9))&&_0x3badad){const _0x1fcdce={};return _0x1fcdce[_0x579843(0x4f0,_0x399b07._0x35dbda)+'l']=_0x3badad[_0x579843(_0x399b07._0x5460ce,_0x399b07._0x1cb04a)+'l'],_0x1fcdce['gatewayI'+'d']=_0x3badad[_0x174a53(_0x399b07._0x394e3a,_0x399b07._0x29f5d7)+'d'],_0x1fcdce[_0x174a53(-_0x399b07._0x3f7f08,-0xf3)+'ret']=_0x3badad[_0x579843(_0x399b07._0x515330,0x572)+_0x579843(0x87e,_0x399b07._0x27ce01)],_0x1fcdce['displayN'+_0x579843(_0x399b07._0x515a3c,0x42a)]=_0x4e7361[_0x174a53(_0x399b07._0x506326,-_0x399b07._0x2e37d2)+_0x174a53(0xfe,0x27e)],_0x1fcdce[_0x174a53(-_0x399b07._0x193b20,_0x399b07._0x50ff6f)+_0x174a53(0x208,0x1bf)]=_0x4e7361[_0x174a53(-_0x399b07._0x1d7e28,-_0x399b07._0x36553c)+'oken'],_0x1fcdce[_0x579843(_0x399b07._0x43d7a2,0x54b)+_0x579843(_0x399b07._0x3b096c,_0x399b07._0x26e1e3)]=_0x4e7361[_0x174a53(_0x399b07._0xfbb1bd,-0x123)+_0x579843(_0x399b07._0x3b096c,_0x399b07._0x362bcf)],refreshAccessCode(_0x1fcdce);}if(_0x535584===_0x579843(_0x399b07._0x44b917,0x67c)+_0x579843(_0x399b07._0x52663e,_0x399b07._0x573663))throw new Error('This\x20bri'+_0x174a53(0x352,_0x399b07._0xee6e51)+_0x579843(0x834,_0x399b07._0x233020)+'aired\x20wi'+_0x174a53(_0x399b07._0x390b06,_0x399b07._0x5c0d9e)+_0x3badad?.[_0x579843(0x4f0,0x2a9)+'l']+('.\x20Run\x20\x22c'+_0x579843(0x5a1,0x65f)+'eset\x22\x20be'+_0x174a53(0x68,_0x399b07._0x4d437e)+_0x174a53(_0x399b07._0x35e839,_0x399b07._0xeaefe2)+_0x579843(0x710,_0x399b07._0x1f9e15)+_0x174a53(_0x399b07._0x45d0f2,0x3f8)+'rver.'));const _0x41d125={};_0x41d125[_0x174a53(_0x399b07._0x14c696,0x469)+'type']=_0x579843(_0x399b07._0x23f74d,0x727)+'ion/json',_0x41d125[_0x579843(0x802,0x90b)]=_0x174a53(0x31c,_0x399b07._0x10ee50)+_0x174a53(_0x399b07._0x206bf5,_0x399b07._0x37e941);const _0x438385=await postJsonWithCloudflareFallback(_0x169635+(_0x579843(_0x399b07._0x2e1012,_0x399b07._0x42dae5)+_0x174a53(_0x399b07._0x428633,_0x399b07._0x3d2430)+'r'),{'method':_0x174a53(0x3f1,_0x399b07._0x47c4b3),'headers':_0x41d125,'body':JSON['stringif'+'y']({'displayName':_0x4e7361[_0x579843(0x5a8,_0x399b07._0x45ed29)+_0x579843(_0x399b07._0x515a3c,_0x399b07._0x2d8e30)]?.[_0x174a53(_0x399b07._0x479846,-0x4a)]()||null})});if(!_0x438385[_0x579843(0x7c3,0x612)]['ok'])throw await _0x57e0cf[_0x174a53(0x2a6,0x332)](buildPairingRequestError,_0x57e0cf[_0x579843(0x918,0x892)],_0x438385);const _0x38e215=await _0x438385[_0x579843(_0x399b07._0x1ecc34,0x53a)][_0x579843(_0x399b07._0x4532f0,0x489)](),_0x4d52f2=new Date()['toISOStr'+_0x174a53(_0x399b07._0x1a11cd,_0x399b07._0x17f8ec)](),_0x595ce2={'serverUrl':_0x169635,'gatewayId':_0x38e215[_0x174a53(0x293,_0x399b07._0x4f1672)+'d'],'relaySecret':_0x38e215['relaySec'+_0x174a53(_0x399b07._0x393d55,0x448)],'relayUrl':_0x38e215[_0x174a53(0xe4,_0x399b07._0x3e04d6)],'instanceId':_0x3badad?.[_0x174a53(-_0x399b07._0x1ca5bc,0x93)+'Id']??_0x174a53(0x456,0x508)+_0x38e215['gatewayI'+'d'][_0x174a53(0x41f,0x5d2)](-0xa),'displayName':_0x38e215[_0x174a53(_0x399b07._0x90e6ce,0x231)+_0x579843(0x5d6,_0x399b07._0x10db42)],'createdAt':_0x4d52f2,'updatedAt':_0x4d52f2};return _0x57e0cf[_0x174a53(_0x399b07._0x4b8765,-0x83)](writePairingConfig,_0x595ce2),{'config':_0x595ce2,'accessCode':_0x38e215[_0x174a53(0xa2,-_0x399b07._0x5ab286)+'de'],'accessCodeExpiresAt':_0x38e215['accessCo'+_0x579843(0x713,_0x399b07._0x4b41dc)+_0x174a53(0xc4,-_0x399b07._0x13e07c)],'action':_0x174a53(_0x399b07._0x1cc5d0,0xe9)+'ed','qrPayload':buildPairingQrPayload({'server':_0x169635,'gatewayId':_0x38e215[_0x174a53(0x293,_0x399b07._0x167d3c)+'d'],'accessCode':_0x38e215['accessCo'+'de'],'displayName':_0x38e215['displayN'+_0x579843(_0x399b07._0x310551,_0x399b07._0x10c24f)],'token':_0x4e7361[_0x174a53(-0x22,-_0x399b07._0x4a8be0)+_0x579843(0x6e0,0x889)]?.['trim']()||null,'password':_0x4e7361[_0x579843(0x657,_0x399b07._0x28dc2f)+_0x579843(_0x399b07._0x4ac283,0x5c1)]?.[_0x174a53(_0x399b07._0x61284d,0x21e)]()||null})};}async function refreshAccessCode(_0xae5628){const _0x3b0e96={_0x13b264:0x28a,_0x53cecc:0x14f,_0x57b5e3:0x6a3,_0x182871:0x39f,_0xd29f25:0x23f,_0x38e50d:0x3f6,_0x214da1:0x62,_0x354d92:0x3c6,_0x175061:0x657,_0x381725:0x182,_0x4d4151:0x177,_0x30a1c0:0x771,_0x49d736:0x44,_0x4ec7c5:0x525,_0x4d2e3b:0x342,_0x4a5390:0x136,_0x179b90:0x83,_0x40b1c9:0x29f,_0x50d43b:0x2b8,_0x3aa552:0x389,_0x58e8c8:0x553,_0x50818c:0x46,_0x1ccf0e:0x73,_0x2eef76:0x162,_0x45613b:0x90,_0xa484ac:0x6e8,_0x1623d6:0xc5,_0x19d7d5:0x9,_0x460eba:0x1c6,_0x146cec:0x433,_0x2d4ae8:0x7da,_0x22e9c9:0x257,_0x5b180d:0x246},_0xbdeff={'bVAjT':_0x48dc7f(_0x3b0e96._0x13b264,0x202),'qhcyG':_0x11d815(0x604,0x771)+'ion/json','OCSZD':function(_0x5c376a,_0x107aee){return _0x5c376a(_0x107aee);}},_0xe68215=readPairingConfig();function _0x11d815(_0x3b4cbc,_0x35d945){return _0x684713(_0x3b4cbc,_0x35d945-0x20e);}const _0x4ac8ff=normalizeHttpBase(_0xae5628?.[_0x48dc7f(-_0x3b0e96._0x53cecc,-0x2f6)+'l']??_0xe68215?.[_0x11d815(_0x3b0e96._0x57b5e3,0x46d)+'l']??''),_0x285a19=_0xae5628?.['gatewayI'+'d']??_0xe68215?.[_0x11d815(0x726,0x6e8)+'d']??'',_0x39a27c=_0xae5628?.[_0x48dc7f(-0x1a1,-_0x3b0e96._0x182871)+_0x48dc7f(_0x3b0e96._0xd29f25,_0x3b0e96._0x38e50d)]??_0xe68215?.[_0x11d815(0x2fd,0x41b)+'ret']??'';if(!_0x4ac8ff||!_0x285a19||!_0x39a27c)throw new Error('Pairing\x20'+'config\x20n'+_0x48dc7f(_0x3b0e96._0x214da1,0x1a5)+_0x48dc7f(-0x1af,-_0x3b0e96._0x354d92)+_0x11d815(0x42c,_0x3b0e96._0x175061)+'.');const _0x50291c=await postJsonWithCloudflareFallback(_0x4ac8ff+(_0x48dc7f(0x174,_0x3b0e96._0x381725)+_0x48dc7f(0x12d,0x385)+_0x48dc7f(-_0x3b0e96._0x4d4151,-0x43)),{'method':_0xbdeff['bVAjT'],'headers':{'content-type':_0x11d815(0x785,_0x3b0e96._0x30a1c0)+'ion/json','accept':_0xbdeff['qhcyG']},'body':JSON[_0x48dc7f(0xee,_0x3b0e96._0x49d736)+'y']({'gatewayId':_0x285a19,'relaySecret':_0x39a27c,'displayName':_0xae5628?.[_0x11d815(0x50d,_0x3b0e96._0x4ec7c5)+_0x11d815(_0x3b0e96._0x4d2e3b,0x553)]?.['trim']()||void 0x0})});if(!_0x50291c[_0x48dc7f(0x184,_0x3b0e96._0x4a5390)]['ok'])throw await buildPairingRequestError(_0x48dc7f(0x19a,-0xfb)+_0x48dc7f(-0x99,0x1d)+'esh',_0x50291c);const _0x2ad576=await _0x50291c[_0x11d815(0x5a6,0x740)][_0x48dc7f(0x85,0x137)](),_0x3c7339={'serverUrl':_0x4ac8ff,'gatewayId':_0x2ad576['gatewayI'+'d'],'relaySecret':_0x39a27c,'relayUrl':_0x2ad576[_0x48dc7f(-_0x3b0e96._0x179b90,-_0x3b0e96._0x40b1c9)],'instanceId':_0xe68215?.['instance'+'Id']??'inst-'+_0x2ad576['gatewayI'+'d'][_0x48dc7f(_0x3b0e96._0x50d43b,_0x3b0e96._0x3aa552)](-0xa),'displayName':_0x2ad576['displayN'+_0x11d815(0x772,_0x3b0e96._0x58e8c8)],'createdAt':_0xe68215?.[_0x48dc7f(0x210,_0x3b0e96._0x50818c)+'t']??new Date()[_0x48dc7f(-_0x3b0e96._0x1ccf0e,_0x3b0e96._0x2eef76)+'ing'](),'updatedAt':new Date()[_0x48dc7f(-0x73,0x1e2)+'ing']()};function _0x48dc7f(_0x349b6e,_0x2e7297){return _0x684713(_0x2e7297,_0x349b6e- -0x3ae);}return writePairingConfig(_0x3c7339),{'config':_0x3c7339,'accessCode':_0x2ad576[_0x48dc7f(-0xc5,-_0x3b0e96._0x45613b)+'de'],'accessCodeExpiresAt':_0x2ad576['accessCo'+'deExpire'+_0x11d815(0x66d,0x519)],'action':'refreshe'+'d','qrPayload':_0xbdeff['OCSZD'](buildPairingQrPayload,{'server':_0x4ac8ff,'gatewayId':_0x2ad576[_0x11d815(0x4db,_0x3b0e96._0xa484ac)+'d'],'accessCode':_0x2ad576[_0x48dc7f(-_0x3b0e96._0x1623d6,_0x3b0e96._0x19d7d5)+'de'],'displayName':_0x2ad576['displayN'+_0x11d815(0x7df,_0x3b0e96._0x58e8c8)],'token':_0xae5628?.[_0x11d815(_0x3b0e96._0x460eba,_0x3b0e96._0x146cec)+_0x11d815(_0x3b0e96._0x2d4ae8,0x65d)]?.['trim']()||null,'password':_0xae5628?.[_0x48dc7f(0x18,_0x3b0e96._0x22e9c9)+_0x11d815(_0x3b0e96._0x5b180d,0x477)]?.['trim']()||null})};}function normalizeHttpBase(_0x3e7dac){const _0x5224ec={_0x55f0f4:0x870,_0xdb7723:0x56d,_0x286633:0x63b,_0x51c670:0x63f,_0x14c850:0x50c,_0x3baa1c:0x67d,_0x14d9fd:0x870,_0x6ea5ec:0x2c9,_0x223c66:0x4ad,_0x20dc7b:0x27,_0x249400:0x32d,_0x4ad5b5:0x63f,_0x45665a:0x8b3,_0x47aed5:0x101,_0x8904df:0xd},_0x536c00={_0x49314f:0x4ef},_0x17071c=_0x3e7dac['trim']();if(!_0x17071c)return'';function _0x82b664(_0x33988c,_0x5e9435){return _0x528821(_0x33988c,_0x5e9435-_0x536c00._0x49314f);}if(_0x17071c[_0x82b664(0x3df,0x56d)+'th'](_0x82b664(0x8a0,_0x5224ec._0x55f0f4))||_0x17071c[_0x82b664(0x70b,_0x5224ec._0xdb7723)+'th'](_0x82b664(_0x5224ec._0x286633,_0x5224ec._0x51c670)))return _0x17071c['replace'](/\/+$/,'');function _0x561713(_0x23365d,_0x29e689){return _0x528821(_0x23365d,_0x29e689-0xe9);}if(_0x17071c[_0x82b664(_0x5224ec._0x14c850,0x56d)+'th']('ws://'))return(_0x82b664(_0x5224ec._0x3baa1c,_0x5224ec._0x14d9fd)+_0x17071c[_0x561713(_0x5224ec._0x6ea5ec,_0x5224ec._0x223c66)]('ws://'[_0x561713(0x131,-_0x5224ec._0x20dc7b)]))[_0x561713(0x22c,_0x5224ec._0x249400)](/\/+$/,'');if(_0x17071c['startsWi'+'th']('wss://'))return(_0x82b664(0x5e3,_0x5224ec._0x4ad5b5)+_0x17071c[_0x82b664(0x8da,_0x5224ec._0x45665a)](_0x561713(_0x5224ec._0x47aed5,0x1d8)[_0x561713(_0x5224ec._0x8904df,-_0x5224ec._0x20dc7b)]))[_0x561713(0x5c8,0x32d)](/\/+$/,'');return(_0x82b664(0x787,0x63f)+_0x17071c)[_0x561713(0x184,0x32d)](/\/+$/,'');}function assessPairingCompatibility(_0x59ee60,_0xb7f400){const _0x22e30d={_0x5ca494:0x2d2,_0x5db403:0x335,_0x5a10e8:0x64d,_0x134864:0x581},_0x1db491={_0x412818:0x227},_0x4ef975={_0x130429:0xa6},_0x118e1e={};function _0x518bfe(_0x5dad97,_0x581399){return _0x684713(_0x5dad97,_0x581399- -_0x4ef975._0x130429);}_0x118e1e[_0x518bfe(0x3ab,_0x22e30d._0x5ca494)]=_0x7884ca(0x4ce,_0x22e30d._0x5db403)+_0x7884ca(0x22b,-0x44);const _0x1dca9e=_0x118e1e;if(!_0x59ee60)return'register'+_0x518bfe(_0x22e30d._0x5a10e8,0x52c);if(_0x59ee60[_0x518bfe(0x25c,0x1b9)+'l']===_0xb7f400)return _0x7884ca(0x385,0x41c)+_0x518bfe(0x396,_0x22e30d._0x134864);function _0x7884ca(_0x37b7fe,_0x545c57){return _0x684713(_0x37b7fe,_0x545c57- -_0x1db491._0x412818);}return _0x1dca9e[_0x7884ca(0x278,0x151)];}async function postJsonWithCloudflareFallback(_0x2ae9a8,_0x6932c){const _0x564b81={_0x9a5aa6:0x7ba,_0x46aabc:0x66c,_0x5e3e9c:0x5d1,_0x24a89c:0x3dc,_0x5ba21b:0x8,_0x244339:0xcd,_0x2a7dc5:0x2e2,_0x343eed:0x4ef,_0x372cc6:0x1c7,_0x3ff67b:0x231},_0x37ee10={_0x26fbc8:0x1c6},_0x281abe={_0x5c1b3c:0x3dc};function _0x4d91d8(_0x3069b3,_0x5f5e0b){return _0x528821(_0x3069b3,_0x5f5e0b-_0x281abe._0x5c1b3c);}const _0x13e763=await fetch(_0x2ae9a8,_0x6932c),_0x42664d=resolveCloudflareChallengeFallbackUrl(_0x2ae9a8,_0x13e763);if(!_0x42664d){const _0xabc872={};return _0xabc872[_0x4d91d8(_0x564b81._0x9a5aa6,_0x564b81._0x46aabc)]=_0x13e763,_0xabc872[_0x31f4e6(_0x564b81._0x5e3e9c,_0x564b81._0x24a89c)+_0x31f4e6(-_0x564b81._0x5ba21b,_0x564b81._0x244339)]=_0x2ae9a8,_0xabc872[_0x31f4e6(_0x564b81._0x2a7dc5,_0x564b81._0x343eed)+_0x31f4e6(_0x564b81._0x372cc6,_0x564b81._0x3ff67b)]=null,_0xabc872;}function _0x31f4e6(_0x26e1f6,_0x50531b){return _0x528821(_0x26e1f6,_0x50531b-_0x37ee10._0x26fbc8);}return{'response':await fetch(_0x42664d,_0x6932c),'attemptedUrl':_0x2ae9a8,'fallbackUrl':_0x42664d};}async function buildPairingRequestError(_0x42edec,_0x3e987d){const _0x4988f5={_0x1a3061:0xa5b,_0x70a84d:0x943,_0x334f84:0x685,_0x548c61:0x70f,_0x277839:0x391,_0xde5c64:0x91b,_0x18bb3e:0x990,_0x46874b:0x225,_0x563246:0x52,_0x4716c7:0x57d,_0x2ee803:0x7d9,_0x4f257d:0x578,_0x554a00:0x308,_0x285a79:0x5b6,_0x7fb2a6:0x38f,_0x1d04fb:0x5f6,_0x18d0a9:0x504,_0x5df7e4:0x9a4,_0x342318:0x4f1,_0x36a47f:0x41f,_0x5f4888:0x682,_0x19d8da:0x6c9,_0x39937e:0x8e6,_0x39517a:0x166,_0x69f6e7:0x4c5,_0x5b98d9:0x376,_0x23fb19:0x59d,_0x3ca605:0x624,_0x368774:0x7b1,_0x49bd54:0x999,_0x20d2ff:0x847,_0x2e7698:0x71c,_0x3d0b19:0x7c4,_0x13440b:0x99,_0xbbefcf:0x275,_0x4371b7:0x5f4,_0x4e9d42:0x426,_0x41f715:0x670,_0x12222c:0x883},_0xbe9b79={_0x413665:0x84};function _0x526725(_0x1c5fcf,_0x366f9d){return _0x684713(_0x366f9d,_0x1c5fcf-_0xbe9b79._0x413665);}if(isCloudflareChallengeResponse(_0x3e987d[_0xcf40c6(_0x4988f5._0x1a3061,0x8aa)])){const _0x1539be=new URL(_0x3e987d[_0xcf40c6(0xaf4,_0x4988f5._0x70a84d)+_0xcf40c6(0x78b,_0x4988f5._0x334f84)]??_0x3e987d['attempte'+_0xcf40c6(_0x4988f5._0x548c61,0x521)])['origin'],_0x52ae58=_0x3e987d['fallback'+_0x526725(_0x4988f5._0x277839,0x53e)]?_0xcf40c6(_0x4988f5._0xde5c64,_0x4988f5._0x18bb3e)+_0x526725(0x398,0x3e0)+'ack\x20to\x20'+_0x3e987d['fallback'+'Url']+('\x20also\x20hi'+_0x526725(_0x4988f5._0x46874b,_0x4988f5._0x563246)+_0x526725(0x4e8,_0x4988f5._0x4716c7)+_0xcf40c6(_0x4988f5._0x2ee803,_0x4988f5._0x4f257d)+'.'):'';return new Error(_0x42edec+(_0x526725(_0x4988f5._0x554a00,0x145)+'(')+_0x3e987d[_0x526725(_0x4988f5._0x285a79,_0x4988f5._0x7fb2a6)][_0xcf40c6(_0x4988f5._0x1d04fb,_0x4988f5._0x18d0a9)]+(_0xcf40c6(0x79a,_0x4988f5._0x5df7e4)+_0x526725(0x6e8,_0x4988f5._0x342318)+'allenge\x20'+_0xcf40c6(0x654,0x51b)+'the\x20regi'+_0x526725(0x45b,_0x4988f5._0x36a47f)+_0xcf40c6(0x55f,_0x4988f5._0x5f4888))+_0x1539be+'.'+_0x52ae58+('\x20Retry\x20f'+_0xcf40c6(_0x4988f5._0x19d8da,_0x4988f5._0x39937e)+_0x526725(0x230,_0x4988f5._0x39517a)+_0x526725(_0x4988f5._0x69f6e7,0x527)+_0x526725(_0x4988f5._0x5b98d9,0x2e1)+_0x526725(_0x4988f5._0x23fb19,_0x4988f5._0x3ca605)+_0xcf40c6(_0x4988f5._0x368774,0x56b)+_0xcf40c6(0x836,0x708)+_0xcf40c6(0x925,0x724)+_0xcf40c6(_0x4988f5._0x49bd54,_0x4988f5._0x20d2ff)+'\x20browser'+_0x526725(0x474,0x5f2)+_0x526725(_0x4988f5._0x2e7698,_0x4988f5._0x3d0b19)));}function _0xcf40c6(_0x16ae26,_0x40633f){return _0x684713(_0x16ae26,_0x40633f-0x378);}return new Error(_0x42edec+(_0x526725(_0x4988f5._0x554a00,_0x4988f5._0x13440b)+'(')+_0x3e987d[_0xcf40c6(0x70a,0x8aa)][_0xcf40c6(_0x4988f5._0xbbefcf,0x504)]+_0xcf40c6(_0x4988f5._0x4371b7,0x71d)+summarizeFailedResponse(await _0x3e987d[_0x526725(0x5b6,_0x4988f5._0x4e9d42)][_0x526725(_0x4988f5._0x41f715,_0x4988f5._0x12222c)]()));}function isCloudflareChallengeResponse(_0x932429){const _0x30e348={_0x20941e:0x50d,_0x2e023a:0x7,_0xba5863:0x30c,_0x1e4011:0x84,_0x296472:0x1f0};function _0x3db4fa(_0x2a02c3,_0x587ac2){return _0x528821(_0x2a02c3,_0x587ac2- -0x6d);}const _0x26f5e7={};_0x26f5e7['LGZGm']=function(_0x47cb87,_0x37c33a){return _0x47cb87===_0x37c33a;};const _0x8d6186=_0x26f5e7;function _0x2f25df(_0x48d699,_0x1219e6){return _0x528821(_0x1219e6,_0x48d699-0x19);}return _0x8d6186[_0x3db4fa(_0x30e348._0x20941e,0x36b)](_0x932429[_0x2f25df(-0xfd,-0xa)],0x193)&&_0x932429['headers'][_0x3db4fa(0x19e,0x10)](_0x2f25df(-0x8,-_0x30e348._0x2e023a)+'ated')?.[_0x2f25df(0x132,_0x30e348._0xba5863)]()[_0x2f25df(-0x88,0xf0)+_0x3db4fa(-_0x30e348._0x1e4011,0xc)]()===_0x3db4fa(0x335,_0x30e348._0x296472)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x5eb4c2,_0x32f825){const _0x5b665a={_0x21a6ad:0x12d,_0x365800:0x489,_0x313868:0x8ba,_0x23a493:0x717},_0x502978={_0x36a21a:0xd6},_0x2104a5={};_0x2104a5['EWgFG']=function(_0x1bb604,_0x3da71e){return _0x1bb604!==_0x3da71e;};const _0x447984=_0x2104a5;if(!isCloudflareChallengeResponse(_0x32f825))return null;const _0x310bd6=new URL(_0x5eb4c2);if(_0x447984[_0x33c1fb(-_0x5b665a._0x21a6ad,-0x1c2)](_0x310bd6[_0x15b646(0x5a0,_0x5b665a._0x365800)],DEFAULT_REGISTRY_BASE))return null;function _0x33c1fb(_0x9916ce,_0x4780bd){return _0x528821(_0x4780bd,_0x9916ce- -_0x502978._0x36a21a);}function _0x15b646(_0x2251e8,_0x47bca1){return _0x528821(_0x47bca1,_0x2251e8-0x5a5);}return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x310bd6[_0x15b646(_0x5b665a._0x313868,0x7b5)]+_0x310bd6[_0x15b646(0x74e,_0x5b665a._0x23a493)];}function summarizeFailedResponse(_0x16bd80){const _0x43392a={_0x1b9f3f:0x5be,_0x52ce1e:0x4f0,_0x56a2d3:0x336,_0x258153:0x36c,_0x1efe53:0x158,_0x248b2b:0x137,_0x40925c:0x279,_0x59fdf0:0x43b},_0x2a61fe={_0x143315:0x2dd},_0x51e9f4={};function _0x387482(_0x29162d,_0x57736f){return _0x528821(_0x29162d,_0x57736f-0x8f);}function _0x4062df(_0x116d89,_0x28a15f){return _0x528821(_0x116d89,_0x28a15f-_0x2a61fe._0x143315);}_0x51e9f4['GORaV']='Empty\x20re'+_0x4062df(_0x43392a._0x1b9f3f,0x3aa)+_0x387482(_0x43392a._0x52ce1e,0x47f);const _0x437f65=_0x51e9f4,_0x262b34=_0x16bd80[_0x387482(_0x43392a._0x56a2d3,0x2d3)](/\s+/g,'\x20')[_0x387482(0x14d,0x1a8)]();if(!_0x262b34)return _0x437f65[_0x387482(_0x43392a._0x258153,_0x43392a._0x1efe53)];if(_0x262b34[_0x387482(-_0x43392a._0x248b2b,-0x81)]<=0xf0)return _0x262b34;return _0x262b34['slice'](0x0,0xed)+_0x4062df(_0x43392a._0x40925c,_0x43392a._0x59fdf0);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x22e4ca,mkdirSync as _0x22e22c,openSync,readFileSync as _0x9871e4,realpathSync,rmSync as _0x47fb0b,writeFileSync as _0x3a1061}from'fs';import{homedir as _0x46d3ec}from'os';import{dirname,join as _0x225fe4}from'path';import{setTimeout as _0xb6c3d5}from'timers/promises';var SERVICE_LABEL=_0x528821(0x1f9,0x222)+'et.bridg'+_0x684713(0xca,0x246),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x684713(0x253,0x442),WINDOWS_RUN_KEY=_0x528821(-0x259,-0x108)+_0x684713(0x658,0x404),SERVICE_DIR=_0x225fe4(_0x46d3ec(),_0x684713(0x2ca,0x2b5)),LOG_DIR=_0x225fe4(SERVICE_DIR,_0x528821(0x3af,0x1b8)),SERVICE_STATE_PATH=_0x225fe4(SERVICE_DIR,_0x684713(0x810,0x696)+_0x528821(-0x6e,-0x2a)+_0x528821(0x23d,0x3bb)),RUNTIME_REGISTRY_PATH=_0x225fe4(SERVICE_DIR,'bridge-r'+_0x684713(0x30d,0x327)+_0x684713(0x331,0x499)+'.json'),SERVICE_LAUNCHER_PATH=_0x225fe4(SERVICE_DIR,_0x684713(0x58c,0x696)+'ervice-l'+_0x528821(0x15a,0x350)+'sh'),LINUX_CRON_RECORD_PATH=_0x225fe4(SERVICE_DIR,_0x528821(0x366,0x3f4)+'ervice.c'+_0x684713(0xda,0x27b)),SERVICE_LOG_PATH=_0x225fe4(LOG_DIR,'bridge-c'+'li.log'),SERVICE_ERROR_LOG_PATH=_0x225fe4(LOG_DIR,_0x684713(0x115,0x266)+_0x528821(0x85,0xe2)+_0x528821(0x510,0x2b8)),MACOS_PLIST_PATH=_0x225fe4(_0x46d3ec(),_0x528821(-0x27,0x1be),'LaunchAg'+_0x684713(0x2ba,0x296),SERVICE_LABEL+_0x684713(0x14a,0x337));function _0x528821(_0x57e2c3,_0x1fd331){return _0x150d(_0x1fd331- -0x292,_0x57e2c3);}var LINUX_SERVICE_PATH=_0x225fe4(_0x46d3ec(),_0x528821(-0x281,-0x1b),_0x684713(0x15a,0x3ae),'user',SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x684713(0x57a,0x6a5)+_0x684713(0x78d,0x5b9)+_0x528821(0x32d,0xd3);function _0x684713(_0x15f1ff,_0x13c1c8){const _0x5668c1={_0x57f759:0x10};return _0x150d(_0x13c1c8-_0x5668c1._0x57f759,_0x15f1ff);}function getServiceProgramArgs(_0x11bff4={},_0x3b1498=process[_0x684713(0x484,0x2ce)]){const _0x3f75f6={_0x26432c:0x253,_0x197d91:0x57b,_0x5efaeb:0x53e,_0x5ae800:0x24,_0x1bb1e9:0x340,_0x401eeb:0x49,_0x5e9d98:0x279,_0x32c43a:0x410,_0x254479:0x11e,_0x1bd044:0x1bc,_0xa7a678:0x5c,_0xb71680:0x2a2},_0x36d5ce={_0x1336e0:0x24d},_0x3f91a7=_0x11bff4['nodePath']?.['trim']()||process[_0x260a87(_0x3f75f6._0x26432c,0x113)],_0x4f9eb8=resolveScriptPath(_0x11bff4[_0x260a87(0x3e5,_0x3f75f6._0x197d91)+'th']);if(!_0x4f9eb8)throw new Error(_0x260a87(_0x3f75f6._0x5efaeb,0x7e3)+_0x264d73(0x5ad,0x586)+_0x264d73(-_0x3f75f6._0x5ae800,0x123)+_0x260a87(_0x3f75f6._0x1bb1e9,0x349)+_0x260a87(0xd6,0x2f7)+'rvice\x20in'+_0x264d73(0x111,0x263)+_0x260a87(_0x3f75f6._0x401eeb,_0x3f75f6._0x5e9d98));function _0x264d73(_0x3ce05f,_0xe1cbb5){return _0x528821(_0x3ce05f,_0xe1cbb5-_0x36d5ce._0x1336e0);}if(_0x3b1498!=='win32'){const _0x4613c8={};_0x4613c8[_0x264d73(_0x3f75f6._0x32c43a,0x2ee)]=_0x3f91a7,_0x4613c8['scriptPa'+'th']=_0x4f9eb8,_0x4613c8[_0x260a87(_0x3f75f6._0x254479,_0x3f75f6._0x1bd044)]=process.env.PATH??'';const _0x1f4656=writeServiceLauncher(_0x4613c8);return ensureLaunchScriptExecutable(_0x1f4656,_0x3b1498),[_0x1f4656];}function _0x260a87(_0x36301d,_0x134e74){return _0x528821(_0x134e74,_0x36301d-0x13d);}return[_0x3f91a7,_0x4f9eb8,_0x264d73(_0x3f75f6._0xa7a678,0x2f1),_0x260a87(0x419,_0x3f75f6._0xb71680)+'e'];}function getServiceStatus(){const _0x50225a={_0x1a0e74:0x91e,_0x10fd8f:0xb0f,_0x42ce62:0x6cc,_0xb02108:0x734,_0x5a20ba:0x4f9,_0x57f1bc:0x6d3,_0x29aa99:0x606,_0x17f72a:0x945,_0x3f1a65:0x4c8,_0x494d70:0x82c,_0x515102:0x46f,_0x502202:0x728,_0x5e22d1:0x44b,_0x6c7ca3:0x684,_0x441f83:0x549,_0x5d3b2c:0x73c,_0x2a068a:0x7b4,_0x1b636c:0x7a1,_0xd4540:0x598,_0x51723f:0x586,_0x3f8c72:0x494,_0x232693:0x2a7,_0x3bcdda:0x6bd,_0x53fc14:0x709,_0x55e552:0x586,_0xaf8d2c:0x779,_0x54c3f3:0x845,_0x5858fd:0x390},_0x5a5acb={_0x498275:0x13f},_0x2f1974={_0x2203e6:0x34a};function _0x3f3c5c(_0x586865,_0x556b9a){return _0x684713(_0x556b9a,_0x586865-_0x2f1974._0x2203e6);}const _0xc53a5a={'NPyDl':function(_0x1c0b2b){return _0x1c0b2b();},'jBzEc':function(_0x45b5cf,_0x2c5e34){return _0x45b5cf!=_0x2c5e34;},'VyKLD':function(_0x361dd8,_0x392d5b){return _0x361dd8(_0x392d5b);},'QChRf':_0x3f3c5c(_0x50225a._0x1a0e74,_0x50225a._0x10fd8f)+'l','wocqV':_0x3efda1(_0x50225a._0x42ce62,0x43c)+'run-regi'+'stry','jmgGQ':_0x3f3c5c(0x78f,0x946)};function _0x3efda1(_0x29160e,_0xfce732){return _0x684713(_0x29160e,_0xfce732-_0x5a5acb._0x498275);}ensureServiceDirs();const _0x3977f2=_0xc53a5a[_0x3efda1(_0x50225a._0xb02108,_0x50225a._0x5a20ba)](readServiceState)?.[_0x3f3c5c(_0x50225a._0x57f1bc,_0x50225a._0x29aa99)]??null,_0x4f98df=detectServiceMethod(),_0x5e6836={'installed':![],'running':_0xc53a5a[_0x3f3c5c(0x6dc,_0x50225a._0x17f72a)](_0x3977f2,null)&&isPidRunning(_0x3977f2),'method':_0x4f98df,'servicePath':_0xc53a5a[_0x3f3c5c(0x548,0x2fd)](getServicePath,_0x4f98df),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x3977f2};_0x5e6836[_0x3efda1(0x55d,_0x50225a._0x3f1a65)]!=null&&!_0x5e6836[_0x3f3c5c(0x656,_0x50225a._0x494d70)]&&(clearServiceState(_0x5e6836[_0x3efda1(0x2c8,0x4c8)]),_0x5e6836[_0x3f3c5c(_0x50225a._0x57f1bc,0x555)]=null);switch(_0x5e6836[_0x3efda1(_0x50225a._0x515102,0x6ed)]){case _0x3efda1(0x3ba,0x601)+'ent':_0x5e6836['installe'+'d']=_0x22e4ca(MACOS_PLIST_PATH);_0x5e6836[_0x3efda1(_0x50225a._0x502202,0x586)+'d']&&(_0x5e6836[_0x3efda1(0x5d3,_0x50225a._0x5e22d1)]=commandSucceeds(_0x3f3c5c(_0x50225a._0x6c7ca3,_0x50225a._0x441f83)+'l',[_0x3efda1(_0x50225a._0x5d3b2c,_0x50225a._0x2a068a),SERVICE_LABEL])||_0x5e6836['running']);return _0x5e6836;case _0x3efda1(_0x50225a._0x1b636c,_0x50225a._0xd4540)+_0x3f3c5c(0x8d8,0x88d):_0x5e6836[_0x3efda1(0x71d,_0x50225a._0x51723f)+'d']=_0x22e4ca(LINUX_SERVICE_PATH);_0x5e6836[_0x3efda1(0x43f,0x586)+'d']&&(_0x5e6836['running']=commandSucceeds(_0xc53a5a[_0x3efda1(_0x50225a._0x3f8c72,_0x50225a._0x232693)],[_0x3f3c5c(0x8f3,_0x50225a._0x3bcdda),'is-activ'+'e',_0x3f3c5c(0x536,0x67c),SYSTEMD_UNIT_NAME])||_0x5e6836[_0x3efda1(0x605,0x44b)]);return _0x5e6836;case'linux-cr'+_0x3efda1(0x2a5,0x475):_0x5e6836['installe'+'d']=hasLinuxCronRegistration();return _0x5e6836;case _0xc53a5a['wocqV']:_0x5e6836[_0x3efda1(_0x50225a._0x53fc14,_0x50225a._0x55e552)+'d']=commandSucceeds('reg',[_0xc53a5a['jmgGQ'],_0x3f3c5c(0x688,0x583)+'tware\x5cMi'+_0x3f3c5c(_0x50225a._0xaf8d2c,_0x50225a._0x54c3f3)+_0x3efda1(0x2af,0x391)+_0x3efda1(_0x50225a._0x5858fd,0x3b4)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY]);return _0x5e6836;default:return _0x5e6836;}}function installService(_0x452813={}){const _0x5d5c42={_0x2c4724:0x6f7,_0x32a3ae:0x359,_0x1cefb1:0x7dd,_0x2d5dd2:0x5ca,_0x53bb5b:0x8c6,_0x4911ef:0x5e8,_0x46836a:0x620,_0x5ea15c:0x7fb,_0xc28b4f:0x90e,_0x42d5f4:0x970,_0x7e0eda:0x782,_0x289614:0xa5,_0x821928:0x11a,_0x289ebb:0xc2,_0x52409d:0x57e,_0x800366:0x7ad,_0x126251:0x94e,_0x294f8b:0x931,_0x2382f3:0x3e2,_0x277b5f:0x714,_0x3902a2:0x2c},_0x2518f3={'RxdeN':_0x177414(_0x5d5c42._0x2c4724,0x608)+'l','znUkz':_0x35f173(_0x5d5c42._0x32a3ae,0x2e3),'jerVg':_0x177414(_0x5d5c42._0x1cefb1,_0x5d5c42._0x2d5dd2),'OCGaE':function(_0x4d528a){return _0x4d528a();}};ensureServiceDirs();const _0x36ae8e=getServiceProgramArgs(_0x452813);function _0x177414(_0x1e75e9,_0x11e3ee){return _0x684713(_0x11e3ee,_0x1e75e9-0x3bd);}function _0x35f173(_0x5309fb,_0x410c00){return _0x684713(_0x410c00,_0x5309fb- -0x27c);}switch(process[_0x177414(0x68b,_0x5d5c42._0x53bb5b)]){case _0x35f173(0x3c3,0x341):_0x3a1061(MACOS_PLIST_PATH,buildMacosPlist(_0x36ae8e,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x177414(0x58c,_0x5d5c42._0x4911ef)),execIgnoreFailure(_0x2518f3['RxdeN'],[_0x177414(0x58f,_0x5d5c42._0x46836a),'-w',MACOS_PLIST_PATH]);const _0xbb52e3={};_0xbb52e3['stdio']=_0x2518f3['znUkz'],execFileSync(_0x35f173(0xbe,-0x4e)+'l',[_0x177414(0x9f8,0xb72),'-w',MACOS_PLIST_PATH],_0xbb52e3);break;case _0x177414(_0x5d5c42._0x5ea15c,_0x5d5c42._0xc28b4f):installLinuxService(_0x36ae8e);break;case _0x2518f3[_0x177414(_0x5d5c42._0x42d5f4,_0x5d5c42._0x7e0eda)]:_0x2518f3['OCGaE'](stopRunningProcess);const _0x30be61={};_0x30be61['stdio']=_0x177414(0x992,0x816),execFileSync(_0x35f173(-_0x5d5c42._0x289614,_0x5d5c42._0x821928),['add',_0x35f173(_0x5d5c42._0x289ebb,0xa4)+_0x177414(0x5c4,_0x5d5c42._0x52409d)+'crosoft\x5c'+_0x35f173(-0x2a,0x6f)+_0x177414(0x632,_0x5d5c42._0x800366)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t','REG_SZ','/d',buildWindowsRunCommand(_0x36ae8e),'/f'],_0x30be61),startDetachedWindowsService(_0x36ae8e);break;default:throw new Error(_0x177414(0x667,0x58a)+_0x177414(_0x5d5c42._0x126251,0x790)+'form\x20for'+'\x20CLI\x20ser'+_0x177414(_0x5d5c42._0x294f8b,0x6da)+_0x35f173(_0x5d5c42._0x2382f3,0x59b)+_0x177414(0x5e7,_0x5d5c42._0x277b5f)+process[_0x35f173(0x52,0x16)]);}return _0x2518f3[_0x35f173(-_0x5d5c42._0x3902a2,0x99)](getServiceStatus);}function restartService(_0x4c9dca={}){const _0x16697d={_0x1bf2db:0x44a,_0x2766fc:0x188,_0x55614f:0x239,_0xd2c3d4:0x3cf,_0x4dd502:0x796,_0x1cefac:0x353,_0x4e6b70:0x587,_0x5399f4:0x5c0,_0x4d430b:0x31b,_0x5406d2:0x30e,_0x396dc6:0xc3,_0x1424cf:0x152,_0x189448:0x106,_0x4ddcde:0x66d,_0x33bf7b:0x26a,_0x371897:0x3df,_0x3660af:0x748,_0x5150c4:0x21,_0x27ea48:0x16d,_0x3d0cb9:0x2b4,_0x156e4c:0x11,_0x2c2cd6:0x3c7,_0x475ce6:0x238,_0x51439e:0xf4,_0x37b70b:0x15f,_0xa5c777:0x5c3,_0x3d08f8:0x422,_0x4dfb85:0x467,_0x349504:0x6a,_0x2a70d9:0x3d1,_0x521dbf:0x497,_0x46687e:0x300},_0x2e03f0={_0x350bf1:0x1b6},_0x2d83f6={_0x9172c1:0x32},_0xf3cbe0={'qPylZ':function(_0x58e902,_0x25aec8){return _0x58e902(_0x25aec8);},'jjDrP':'darwin','VEfDy':function(_0x1ed768,_0x45a66b){return _0x1ed768(_0x45a66b);},'xIJGe':function(_0x59a9a5,_0x520084,_0x45b517,_0x403f6f){return _0x59a9a5(_0x520084,_0x45b517,_0x403f6f);},'ZLAUN':_0x362530(0x204,_0x16697d._0x1bf2db),'hlwrq':function(_0x1b4b81,_0x2fedd5){return _0x1b4b81(_0x2fedd5);},'UCNCD':_0x43fd2d(_0x16697d._0x2766fc,0xa0)+_0x362530(_0x16697d._0x55614f,0x196)+_0x362530(0x461,_0x16697d._0xd2c3d4)+_0x43fd2d(0x9c,0x168)+_0x43fd2d(0xbf,-0x20)+_0x362530(0x5f2,_0x16697d._0x4dd502)+'un','lvaLa':_0x362530(_0x16697d._0x1cefac,_0x16697d._0x4e6b70),'wuSxB':function(_0x47f010,_0x5b3d94){return _0x47f010(_0x5b3d94);}};function _0x362530(_0xb97220,_0x3d8f05){return _0x684713(_0x3d8f05,_0xb97220-_0x2d83f6._0x9172c1);}function _0x43fd2d(_0x58139c,_0x82caae){return _0x684713(_0x82caae,_0x58139c- -_0x2e03f0._0x350bf1);}ensureServiceDirs();const _0x2cddc0=_0xf3cbe0[_0x362530(0x617,_0x16697d._0x5399f4)](getServiceProgramArgs,_0x4c9dca);switch(process[_0x43fd2d(0x118,0x175)]){case _0xf3cbe0['jjDrP']:if(!_0xf3cbe0[_0x43fd2d(0x1a6,_0x16697d._0x4d430b)](_0x22e4ca,MACOS_PLIST_PATH))return installService(_0x4c9dca);_0x3a1061(MACOS_PLIST_PATH,_0xf3cbe0[_0x362530(0x34a,_0x16697d._0x5406d2)](buildMacosPlist,_0x2cddc0,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x43fd2d(0x19,-_0x16697d._0x396dc6)),execIgnoreFailure('launchct'+'l',[_0xf3cbe0[_0x43fd2d(_0x16697d._0x1424cf,-0x2f)],'-w',MACOS_PLIST_PATH]);const _0x4d8911={};_0x4d8911[_0x362530(0x2ef,_0x16697d._0x189448)]='ignore',execFileSync('launchct'+'l',[_0x362530(_0x16697d._0x4ddcde,0x584),'-w',MACOS_PLIST_PATH],_0x4d8911);break;case'linux':_0xf3cbe0[_0x362530(0x445,0x5c6)](restartLinuxService,_0x2cddc0);break;case _0x43fd2d(_0x16697d._0x33bf7b,_0x16697d._0x371897):stopRunningProcess();const _0x2e0bbc={};_0x2e0bbc[_0x43fd2d(0x107,0x155)]=_0x362530(0x607,_0x16697d._0x3660af),execFileSync(_0x43fd2d(_0x16697d._0x5150c4,-_0x16697d._0x27ea48),[_0x43fd2d(_0x16697d._0x3d0cb9,_0x16697d._0x156e4c),_0xf3cbe0['UCNCD'],'/v',WINDOWS_RUN_KEY,'/t',_0xf3cbe0[_0x362530(0x22a,0x26e)],'/d',_0xf3cbe0[_0x43fd2d(0x42f,0x523)](buildWindowsRunCommand,_0x2cddc0),'/f'],_0x2e0bbc),_0xf3cbe0[_0x362530(_0x16697d._0x2c2cd6,_0x16697d._0x475ce6)](startDetachedWindowsService,_0x2cddc0);break;default:throw new Error(_0x43fd2d(_0x16697d._0x51439e,_0x16697d._0x37b70b)+_0x362530(_0x16697d._0xa5c777,_0x16697d._0x3d08f8)+_0x362530(_0x16697d._0x4dfb85,0x2dd)+_0x362530(0x1a9,0x2d2)+_0x43fd2d(_0x16697d._0x349504,-0x32)+_0x362530(_0x16697d._0x2a70d9,_0x16697d._0x521dbf)+process[_0x362530(_0x16697d._0x46687e,0x291)]);}return getServiceStatus();}async function startTransientRuntime(_0x3989e7={}){const _0x1bde75={_0x14b157:0x64c,_0x35fbcb:0x668,_0x371e4a:0x5eb,_0xe8a0c5:0x499,_0x3073b2:0x7d3,_0x441754:0x609,_0x1e5413:0x3b0,_0x4413cb:0x410,_0xc398fc:0x475,_0x10ed7a:0x82a,_0xb05222:0x3cf,_0x2708b2:0x311,_0x21c04e:0x530,_0x590f24:0x36f},_0x313e8f={_0x3ca179:0x53b},_0x373ce6={};function _0x9ee3d9(_0x325e4c,_0x19d928){return _0x528821(_0x19d928,_0x325e4c-_0x313e8f._0x3ca179);}_0x373ce6[_0x428ba4(_0x1bde75._0x14b157,_0x1bde75._0x35fbcb)]=_0x428ba4(0x6e3,0x80a),_0x373ce6['vUmvs']=_0x428ba4(0x4ff,_0x1bde75._0x371e4a);const _0x517bb1=_0x373ce6;ensureServiceDirs();const _0x5e1c9e=getServiceProgramArgs(_0x3989e7);function _0x428ba4(_0x123de1,_0x200b42){return _0x528821(_0x123de1,_0x200b42-0x46d);}switch(process[_0x428ba4(0x4a2,_0x1bde75._0xe8a0c5)]){case _0x517bb1[_0x428ba4(0x685,0x668)]:case _0x428ba4(_0x1bde75._0x3073b2,_0x1bde75._0x441754):startDetachedPosixService(_0x5e1c9e);break;case _0x517bb1[_0x428ba4(0x34e,_0x1bde75._0x1e5413)]:startDetachedWindowsService(_0x5e1c9e);break;default:throw new Error(_0x428ba4(_0x1bde75._0x4413cb,_0x1bde75._0xc398fc)+_0x9ee3d9(_0x1bde75._0x10ed7a,0xa6f)+'form\x20for'+_0x9ee3d9(0x830,0xa44)+_0x428ba4(0x13c,_0x1bde75._0xb05222)+_0x428ba4(_0x1bde75._0x2708b2,0x55a)+_0x428ba4(_0x1bde75._0x21c04e,0x56a)+process[_0x428ba4(_0x1bde75._0x590f24,0x499)]);}return waitForRuntimeState();}function uninstallService(){const _0xe730d9={_0x363943:0x56e,_0x5a90f3:0x427,_0x5d08ee:0x5b8,_0x5dd2b5:0x3c1,_0x5e1f1d:0x5bd,_0x9840a8:0xf0,_0x4f5ee2:0x2f2,_0x3e3cfa:0x1b,_0x5c21cd:0x409,_0x20360a:0xbd,_0x3bef8a:0x26f},_0x44bcb9={_0x1341f6:0xea};function _0x11aac4(_0x1e3d4f,_0x266602){return _0x528821(_0x266602,_0x1e3d4f-_0x44bcb9._0x1341f6);}const _0x2eb910={'CHRkX':function(_0x271fe6,_0x3e7b50,_0x53cbee){return _0x271fe6(_0x3e7b50,_0x53cbee);},'iQSMW':_0x54881c(0x323,_0xe730d9._0x363943)+'l','YGjCa':_0x54881c(_0xe730d9._0x5a90f3,_0xe730d9._0x5d08ee),'hFRtI':function(_0x3fef18,_0x442924,_0x4bdf33){return _0x3fef18(_0x442924,_0x4bdf33);},'EeeXp':'reg'};function _0x54881c(_0x13f306,_0x31691c){return _0x528821(_0x31691c,_0x13f306-0x28b);}stopRunningProcess();switch(process['platform']){case _0x11aac4(0x487,0x4ed):_0x2eb910[_0x54881c(0x3b3,0x56b)](execIgnoreFailure,_0x2eb910[_0x11aac4(0x20f,-0x53)],[_0x11aac4(0x1a,-0x1c),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x2eb910[_0x54881c(_0xe730d9._0x5dd2b5,0x305)]:_0x22e4ca(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x54881c(_0xe730d9._0x5e1f1d,0x4b3)+'l',[_0x11aac4(0x3f1,0x4e7),_0x11aac4(_0xe730d9._0x9840a8,0xd4),'--now',SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure('systemct'+'l',[_0x54881c(0x592,0x3d6),_0x54881c(0x325,_0xe730d9._0x4f5ee2)+_0x11aac4(0xa3,_0xe730d9._0x3e3cfa)]));removeLinuxCronRegistration();break;case _0x54881c(_0xe730d9._0x5c21cd,0x3e1):_0x2eb910['hFRtI'](execIgnoreFailure,_0x2eb910['EeeXp'],[_0x11aac4(0x1b0,0x60),'HKCU\x5cSof'+_0x11aac4(0x4f,-0x31)+'crosoft\x5c'+_0x54881c(0x23b,0x7d)+_0x11aac4(_0xe730d9._0x20360a,_0xe730d9._0x3bef8a)+_0x54881c(0x5a9,0x5c6)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}return clearServiceState(),getServiceStatus();}function stopService(){const _0x21e588={_0x4cbea0:0x977,_0x3d7709:0x672,_0x1b21b4:0x4a3,_0x21f59a:0x49a,_0x19184e:0x67a,_0x315945:0x491,_0xb0b855:0x4c4,_0xf8d8f:0x679},_0x47ca0f={_0x3ae510:0x5da},_0x5db4fc={_0x4ac041:0x1f3},_0x224421={'HFVDz':function(_0x278de4,_0x2da7ec,_0x1cfcf2){return _0x278de4(_0x2da7ec,_0x1cfcf2);},'GMusD':'unload','qkcMm':'linux','DehZx':function(_0x30d3d3,_0x3a4ea0){return _0x30d3d3(_0x3a4ea0);}};function _0x5ccf2b(_0x3d9b81,_0x5b0a90){return _0x528821(_0x5b0a90,_0x3d9b81-_0x5db4fc._0x4ac041);}stopRunningProcess();switch(process['platform']){case _0x247dbe(_0x21e588._0x4cbea0,0x840):_0x22e4ca(MACOS_PLIST_PATH)&&_0x224421['HFVDz'](execIgnoreFailure,_0x247dbe(_0x21e588._0x3d7709,_0x21e588._0x1b21b4)+'l',[_0x224421[_0x5ccf2b(_0x21e588._0x21f59a,0x50c)],MACOS_PLIST_PATH]);break;case _0x224421[_0x247dbe(_0x21e588._0x19184e,_0x21e588._0x315945)]:_0x224421['DehZx'](_0x22e4ca,LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x247dbe(0x90c,0x961)+'l',[_0x247dbe(0x8e1,0x7df),_0x5ccf2b(_0x21e588._0xb0b855,_0x21e588._0xf8d8f),SYSTEMD_UNIT_NAME]);break;case'win32':break;default:break;}function _0x247dbe(_0x2d152d,_0x1a4099){return _0x528821(_0x1a4099,_0x2d152d-_0x47ca0f._0x3ae510);}return clearServiceState(),getServiceStatus();}function writeServiceState(_0x1f90d1=process[_0x528821(0x1c8,0xe7)]){function _0x538783(_0x38993d,_0x234ba0){return _0x684713(_0x38993d,_0x234ba0-0x3d5);}ensureServiceDirs();const _0x4a4dca={'pid':_0x1f90d1,'startedAt':new Date()['toISOStr'+_0x538783(0xa53,0x84b)]()};_0x3a1061(SERVICE_STATE_PATH,JSON['stringif'+'y'](_0x4a4dca,null,0x2)+'\x0a','utf8');}function registerRuntimeProcess(_0x3c8fea){const _0x32dfd0={_0x2f1c3e:0x12a,_0x168279:0x65a,_0x35ae4d:0x61b,_0x5932cb:0x5b3},_0x20d041={_0x3eced8:0x199},_0x371f18={_0x590cf6:0x2e0},_0xae4e2a={'Wqloc':function(_0x867cd5){return _0x867cd5();}};_0xae4e2a[_0x3b6bf1(_0x32dfd0._0x2f1c3e,0x89)](ensureServiceDirs);function _0x1730f2(_0x10018b,_0x15d923){return _0x684713(_0x15d923,_0x10018b-_0x371f18._0x590cf6);}const _0x4b35fa={'pid':_0x3c8fea[_0x3b6bf1(0x1f0,0x60)]??process[_0x1730f2(0x669,_0x32dfd0._0x168279)],'startedAt':_0x3c8fea['startedA'+'t']??new Date()[_0x1730f2(_0x32dfd0._0x35ae4d,0x3ed)+'ing'](),'gatewayId':_0x3c8fea['gatewayI'+'d'],'instanceId':_0x3c8fea[_0x1730f2(0x4a5,0x666)+'Id'],'serviceMode':_0x3c8fea['serviceM'+_0x1730f2(0x699,_0x32dfd0._0x5932cb)],'scriptPath':resolveScriptPath(_0x3c8fea[_0x1730f2(0x82a,0x890)+'th'])},_0xf3819=readRuntimeRegistry()['filter'](_0x5eedc5=>_0x5eedc5[_0x1730f2(0x669,0x6f6)]!==_0x4b35fa[_0x1730f2(0x669,0x575)])[_0x3b6bf1(0x98,0x9f)](_0x4b35fa);function _0x3b6bf1(_0x28dfb0,_0x45b9d0){return _0x684713(_0x45b9d0,_0x28dfb0- -_0x20d041._0x3eced8);}writeRuntimeRegistry(_0xf3819);}function unregisterRuntimeProcess(_0x2a8bdb=process[_0x528821(0x6a,0xe7)]){const _0x2e27b6={_0x47cea3:0x739,_0x21521d:0x640},_0x5c8a2f={_0x2911f4:0x4e5};function _0x3fe370(_0x17145d,_0x2ffad8){return _0x528821(_0x2ffad8,_0x17145d-_0x5c8a2f._0x2911f4);}const _0xb7e927=readRuntimeRegistry()[_0x3fe370(_0x2e27b6._0x47cea3,_0x2e27b6._0x21521d)](_0x5b23e0=>_0x5b23e0['pid']!==_0x2a8bdb);writeRuntimeRegistry(_0xb7e927);}function isAutostartUnsupportedError(_0x4079ff){const _0x582092={_0x5e99c6:0x115,_0x3e0b43:0x4d9,_0xd6afb1:0x56e,_0x40a4fa:0x410,_0x3930d0:0x465,_0xce20b6:0x281,_0x3c332b:0x101,_0x455a15:0x63,_0x13aecc:0x1f,_0x5b99f5:0x44e,_0x2c3cb2:0x3a6},_0x4c16c4={_0x947ff6:0x2e5},_0x440380={};_0x440380[_0x1ad394(-0xb5,-_0x582092._0x5e99c6)]=_0x1ad394(_0x582092._0x3e0b43,0x2ce)+_0x4b34b9(_0x582092._0xd6afb1,0x61c)+_0x4b34b9(0x416,_0x582092._0x40a4fa)+_0x4b34b9(0x52e,_0x582092._0x3930d0);function _0x1ad394(_0x25e37c,_0x264dc2){return _0x528821(_0x25e37c,_0x264dc2- -0x4f);}function _0x4b34b9(_0x4777b8,_0x21e4ff){return _0x528821(_0x4777b8,_0x21e4ff-_0x4c16c4._0x947ff6);}const _0x12b124=_0x440380,_0x4ed04f=formatError(_0x4079ff)[_0x4b34b9(_0x582092._0xce20b6,0x244)+_0x1ad394(_0x582092._0x3c332b,0x2a)]();return _0x4ed04f['includes'](_0x12b124[_0x1ad394(-_0x582092._0x455a15,-_0x582092._0x5e99c6)])||_0x4ed04f['includes'](_0x1ad394(-_0x582092._0x13aecc,0x1b7)+_0x1ad394(_0x582092._0x5b99f5,0x2a0)+_0x4b34b9(0x602,0x478)+'\x20cli\x20ser'+_0x1ad394(0x29f,_0x582092._0x2c3cb2));}function listRuntimeProcesses(_0x3a129e={}){const _0x5bb6bd={_0x484d71:0x7fa,_0x276330:0x157,_0x67a198:0x261,_0xc498c:0x491,_0x5a92b6:0x2d5,_0x14f9f1:0x301},_0x3c3b90=resolveScriptPath(_0x3a129e[_0x590093(_0x5bb6bd._0x484d71,0x85e)+'th']),_0x327072=readRuntimeRegistry(),_0x407529=[..._0x327072];function _0x1d9408(_0x23ec9c,_0x1fc65b){return _0x684713(_0x1fc65b,_0x23ec9c- -0x31f);}const _0x19f1bd=new Set(_0x327072[_0x1d9408(-_0x5bb6bd._0x276330,-_0x5bb6bd._0x67a198)](_0x2a80bc=>_0x2a80bc[_0x1d9408(0x6a,0x12d)]));for(const _0x5ceb72 of listPosixRuntimePids(_0x3c3b90)){if(_0x19f1bd[_0x590093(0x400,_0x5bb6bd._0xc498c)](_0x5ceb72))continue;_0x407529['push']({'pid':_0x5ceb72,'startedAt':new Date(0x0)['toISOStr'+_0x1d9408(0x157,-0x66)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x3c3b90});}function _0x590093(_0x56efa7,_0x4c7395){return _0x684713(_0x56efa7,_0x4c7395-0x314);}return _0x407529[_0x1d9408(0x1d7,_0x5bb6bd._0x5a92b6)](_0x5d6e33=>isPidRunning(_0x5d6e33['pid']))[_0x1d9408(_0x5bb6bd._0x14f9f1,0x3ed)]((_0xcfae83,_0x16ee0e)=>_0xcfae83[_0x1d9408(0x6a,0x2f5)]-_0x16ee0e[_0x1d9408(0x6a,0x1ae)]);}function stopRuntimeProcesses(_0x4c08fd={}){const _0x46ad80={_0x364f6a:0x46a,_0x3de3e1:0xfb,_0x39413e:0x135,_0x42529d:0x64d,_0x1e61a4:0x62d,_0x16894a:0x6a1,_0x31fe4e:0x892,_0x150137:0x556,_0x294d03:0x5c4,_0x59411e:0x48c,_0x23cf85:0x6ea,_0x3bf89f:0x1dc,_0x35e54a:0x11e,_0x5e4f85:0x796,_0x51e1c3:0x9eb,_0x597124:0x315,_0x5a3b7a:0x5f9,_0x44c519:0x36a,_0x44de8b:0x514},_0x57b050={_0x11cfe8:0xf1},_0x1834f0={'KgsPE':function(_0x58cf90,_0x5a8aee){return _0x58cf90(_0x5a8aee);},'wZGQL':'win32','fzDcB':_0x5d27c9(_0x46ad80._0x364f6a,0x5f7),'gJztx':function(_0x49b484,_0x2ccf5e,_0x65e381){return _0x49b484(_0x2ccf5e,_0x65e381);},'XCaiA':_0x279080(-_0x46ad80._0x3de3e1,_0x46ad80._0x39413e),'HcIXR':function(_0x5431a1){return _0x5431a1();}};function _0x279080(_0x54a7d8,_0x4fe0cc){return _0x528821(_0x54a7d8,_0x4fe0cc-_0x57b050._0x11cfe8);}const _0x3af806={};_0x3af806[_0x5d27c9(0x64d,0x3a9)+'th']=_0x4c08fd[_0x5d27c9(_0x46ad80._0x42529d,_0x46ad80._0x1e61a4)+'th'];const _0x4879e9=_0x1834f0[_0x5d27c9(0x267,0x26)](listRuntimeProcesses,_0x3af806),_0xb90565=_0x4879e9[_0x5d27c9(0x5f9,_0x46ad80._0x16894a)](_0x3161c1=>_0x3161c1[_0x279080(0x294,0x1d8)]!==(_0x4c08fd['excludeP'+'id']??-0x1));if(process['platform']===_0x1834f0[_0x5d27c9(0x772,_0x46ad80._0x31fe4e)])for(const _0x47d8fc of _0xb90565){execIgnoreFailure('taskkill',[_0x1834f0[_0x5d27c9(_0x46ad80._0x150137,_0x46ad80._0x294d03)],String(_0x47d8fc[_0x5d27c9(_0x46ad80._0x59411e,0x2c4)]),'/T','/F']);}else{for(const _0x56c9f1 of _0xb90565){_0x1834f0['gJztx'](execIgnoreFailure,_0x279080(_0x46ad80._0x23cf85,0x4e2),[_0x1834f0[_0x279080(0x256,_0x46ad80._0x3bf89f)],String(_0x56c9f1[_0x279080(_0x46ad80._0x35e54a,0x1d8)])]);}for(const _0x46ca8e of _0xb90565){!waitForPidExit(_0x46ca8e['pid'],0xbb8)&&execIgnoreFailure(_0x5d27c9(_0x46ad80._0x5e4f85,_0x46ad80._0x51e1c3),[_0x279080(0x66a,0x400),String(_0x46ca8e[_0x279080(_0x46ad80._0x597124,0x1d8)])]);}}const _0x2579a1=readRuntimeRegistry()[_0x5d27c9(_0x46ad80._0x5a3b7a,_0x46ad80._0x44c519)](_0x3d01d9=>!_0xb90565[_0x5d27c9(0x721,0x565)](_0x1d72f2=>_0x1d72f2[_0x279080(0x3e0,0x1d8)]===_0x3d01d9['pid']));writeRuntimeRegistry(_0x2579a1);function _0x5d27c9(_0x21c10c,_0x3d23bd){return _0x528821(_0x3d23bd,_0x21c10c-0x3a5);}const _0xa59419=readServiceState();return _0xa59419&&_0xb90565['some'](_0x538861=>_0x538861[_0x279080(0x101,0x1d8)]===_0xa59419[_0x279080(0x35a,0x1d8)])&&_0x1834f0[_0x5d27c9(_0x46ad80._0x44de8b,0x295)](clearServiceState),_0xb90565['map'](_0xff52e0=>_0xff52e0[_0x279080(0x3cf,0x1d8)]);}function clearServiceState(_0x3f43e2){function _0xeb431b(_0x3694d7,_0x240b4d){return _0x684713(_0x240b4d,_0x3694d7-0x12f);}if(!_0x22e4ca(SERVICE_STATE_PATH))return;if(_0x3f43e2!=null){const _0x3c2531=readServiceState();if(_0x3c2531&&_0x3c2531[_0xeb431b(0x4b8,0x5bf)]!==_0x3f43e2)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath(detectServiceMethod())};}function buildMacosPlist(_0x347d50,_0x422054,_0x5e270b){const _0x21a79e={_0x859b78:0x40f,_0x13c32d:0x3d3,_0x25cffb:0x141,_0x589974:0x1a8,_0x24524c:0x28e,_0x3efcf1:0x310,_0x138df0:0x2bc,_0x3b2ae2:0x16,_0x144bfc:0xee,_0x440b60:0x2cb,_0x37fedf:0x544,_0xf12c47:0x758,_0x321d17:0x361,_0x2ca68a:0x461,_0x29dd4a:0x2e1,_0x4a6f1b:0xde,_0x2b50fc:0x3c4,_0x4af58e:0x254,_0x29ad81:0x42b,_0x120cc6:0xa,_0x3ad5ce:0x6e6,_0x3108d3:0x794,_0x518e26:0x5c9,_0x3b4dd2:0x34a,_0x8854fd:0x3ab,_0xc12f43:0x2f4,_0x58c65d:0x3ae,_0x5188bd:0x513,_0x33e8a4:0x2f9,_0x4794a3:0x402,_0x5e23ac:0x704,_0x35501b:0x559,_0x1f8b85:0x61e,_0x54eb1c:0x43c,_0x3fb3d8:0x130,_0x3d7fdc:0x1f4,_0x10a217:0x123,_0x2a696d:0x68f,_0x3c04a9:0x77f},_0x35ffe5={_0x17a075:0x1f6};function _0x5dfc1e(_0x3630e1,_0x52d4dc){return _0x684713(_0x3630e1,_0x52d4dc- -_0x35ffe5._0x17a075);}const _0x34863c=_0x347d50[_0x1a8355(0x327,0x311)](_0x14cde3=>_0x1a8355(0x48e,0x4d6)+_0x1a8355(0x5bb,0x7bc)+escapeXml(_0x14cde3)+('</string'+'>'))['join']('\x0a');function _0x1a8355(_0xc1937e,_0x40c7e1){return _0x684713(_0x40c7e1,_0xc1937e-0x15f);}return'<?xml\x20ve'+'rsion=\x221'+_0x1a8355(0x5a2,_0x21a79e._0x859b78)+_0x5dfc1e(0x16d,0x22b)+'F-8\x22?>\x0a<'+_0x1a8355(0x3fa,_0x21a79e._0x13c32d)+'\x20plist\x20P'+_0x5dfc1e(_0x21a79e._0x25cffb,_0x21a79e._0x589974)+_0x5dfc1e(0x49e,_0x21a79e._0x24524c)+_0x5dfc1e(0x530,_0x21a79e._0x3efcf1)+_0x5dfc1e(0x1a7,_0x21a79e._0x138df0)+'EN\x22\x20\x22htt'+_0x5dfc1e(-0x1aa,-_0x21a79e._0x3b2ae2)+'apple.co'+_0x1a8355(0x5be,0x5aa)+_0x5dfc1e(_0x21a79e._0x144bfc,0x200)+'ist-1.0.'+_0x1a8355(_0x21a79e._0x440b60,0xfa)+_0x1a8355(_0x21a79e._0x37fedf,_0x21a79e._0xf12c47)+_0x5dfc1e(_0x21a79e._0x321d17,_0x21a79e._0x2ca68a)+_0x1a8355(0x3b0,0x62c)+_0x1a8355(0x6be,0x618)+'y>Label<'+_0x5dfc1e(_0x21a79e._0x29dd4a,_0x21a79e._0x4a6f1b)+_0x5dfc1e(_0x21a79e._0x2b50fc,_0x21a79e._0x4af58e)+SERVICE_LABEL+(_0x1a8355(_0x21a79e._0x29ad81,0x330)+'>\x0a\x20\x20<key'+_0x5dfc1e(_0x21a79e._0x120cc6,0x20f)+_0x5dfc1e(0x370,0x2ed)+'s</key>\x0a'+_0x1a8355(_0x21a79e._0x3ad5ce,0x71f)+'>\x0a')+_0x34863c+(_0x1a8355(_0x21a79e._0x3108d3,0x870)+'ay>\x0a\x20\x20<k'+_0x1a8355(0x481,0x667)+_0x1a8355(0x441,0x6be)+_0x5dfc1e(_0x21a79e._0x518e26,_0x21a79e._0x3b4dd2)+'ue/>\x0a\x20\x20<'+_0x5dfc1e(_0x21a79e._0x8854fd,_0x21a79e._0xc12f43)+_0x1a8355(_0x21a79e._0x58c65d,_0x21a79e._0x5188bd)+'ey>\x0a\x20\x20<t'+_0x5dfc1e(0x3a1,_0x21a79e._0x33e8a4)+_0x5dfc1e(0x62a,_0x21a79e._0x4794a3)+_0x1a8355(_0x21a79e._0x5e23ac,0x808)+_0x1a8355(0x6d5,0x81d)+'y>\x0a\x20\x20<st'+_0x1a8355(_0x21a79e._0x35501b,0x6f4))+escapeXml(_0x422054)+('</string'+'>\x0a\x20\x20<key'+'>Standar'+_0x5dfc1e(_0x21a79e._0x1f8b85,0x41f)+'th</key>'+_0x1a8355(_0x21a79e._0x54eb1c,0x21b)+_0x5dfc1e(0x2a9,_0x21a79e._0x3fb3d8))+escapeXml(_0x5e270b)+(_0x1a8355(0x42b,_0x21a79e._0x3d7fdc)+_0x5dfc1e(0x36d,_0x21a79e._0x10a217)+'>\x0a</plis'+_0x1a8355(_0x21a79e._0x2a696d,_0x21a79e._0x3c04a9));}function buildLinuxSystemdUnit(_0x44211a,_0x5bc5ac,_0x107146){const _0x199c90={_0x155793:0xad,_0x27f29e:0x187,_0x4a8dff:0x152,_0x14e9ee:0x84,_0x2cc90e:0xc6,_0x2ab983:0x296,_0x3065ef:0x864,_0x218c81:0x1a3,_0x2811f2:0xd2,_0x3a05a8:0x2c3,_0x18e997:0x2ec,_0x292fe6:0x4cc,_0x119784:0x4da,_0x31f956:0x2db,_0x11e771:0x582,_0x400f0e:0x339,_0x1cfffe:0x743,_0x25cc89:0x5f2,_0x17c606:0x3f9,_0x3d5664:0x162,_0x461b0f:0x12a,_0x51e509:0x424},_0x1f8836={_0x220dcd:0x321},_0x4e3eca={_0x1ce1a5:0x21f},_0x357027=_0x44211a[_0x2b94e0(-_0x199c90._0x155793,-0x159)](escapeSystemdArg)['join']('\x20');function _0x15f91d(_0x40ab38,_0x5d4a8f){return _0x684713(_0x40ab38,_0x5d4a8f-_0x4e3eca._0x1ce1a5);}function _0x2b94e0(_0x5d68a4,_0x11747d){return _0x684713(_0x5d68a4,_0x11747d- -_0x1f8836._0x220dcd);}return _0x2b94e0(_0x199c90._0x27f29e,_0x199c90._0x4a8dff)+_0x2b94e0(-_0x199c90._0x14e9ee,-0xdc)+_0x15f91d(0x5c1,0x596)+_0x2b94e0(-_0x199c90._0x2cc90e,0xad)+'e\x20CLI\x0aAf'+_0x2b94e0(-0x101,-0xd7)+_0x2b94e0(-_0x199c90._0x2ab983,-0xab)+_0x15f91d(0x4c9,0x548)+_0x15f91d(_0x199c90._0x3065ef,0x7e2)+_0x2b94e0(_0x199c90._0x218c81,_0x199c90._0x2811f2)+_0x2b94e0(_0x199c90._0x3a05a8,0x137)+'arget\x0a\x0a['+_0x15f91d(0x830,0x759)+_0x2b94e0(0x570,_0x199c90._0x18e997)+_0x15f91d(_0x199c90._0x292fe6,0x72a)+_0x15f91d(0x5dc,_0x199c90._0x119784)+_0x357027+(_0x15f91d(0x44f,0x53c)+_0x2b94e0(0x303,0x26c)+_0x2b94e0(_0x199c90._0x31f956,0x2b5)+_0x2b94e0(_0x199c90._0x11e771,_0x199c90._0x400f0e)+_0x15f91d(_0x199c90._0x1cfffe,_0x199c90._0x25cc89)+'ctory=')+escapeSystemdArg(SERVICE_DIR)+(_0x2b94e0(-_0x199c90._0x17c606,-_0x199c90._0x3d5664)+'dOutput='+_0x15f91d(0x336,0x4b0))+_0x5bc5ac+(_0x2b94e0(-0x139,-_0x199c90._0x3d5664)+_0x2b94e0(0x47d,0x1ef)+'ppend:')+_0x107146+('\x0a\x0a[Insta'+_0x2b94e0(_0x199c90._0x461b0f,0xfa)+'edBy=def'+_0x15f91d(0x9f4,0x785)+_0x15f91d(_0x199c90._0x51e509,0x3a0));}function buildLinuxCronEntry(_0x486fa0,_0x4b15c7,_0x32f92e){const _0x2a1002={_0x43bac9:0x394,_0x215db3:0x447,_0x52a2a8:0xa6a,_0x8ac5db:0x849,_0x1bda0a:0x3cc,_0x4a13a1:0x515,_0x5a391d:0x5f5},_0x48d364={_0x2e5d76:0x3bd},_0x355907={'aKhBN':function(_0x5d236c,_0x44dd9b){return _0x5d236c(_0x44dd9b);}};function _0x5d99a2(_0x383bba,_0x4edbb9){return _0x684713(_0x383bba,_0x4edbb9-_0x48d364._0x2e5d76);}function _0x1e88e8(_0x3af60d,_0x6c32a8){return _0x684713(_0x6c32a8,_0x3af60d-0x205);}const _0x1f6381=_0x486fa0[_0x1e88e8(0x3cd,_0x2a1002._0x43bac9)](escapeShellWord)[_0x1e88e8(0x41b,_0x2a1002._0x215db3)]('\x20');return _0x5d99a2(_0x2a1002._0x52a2a8,_0x2a1002._0x8ac5db)+_0x1f6381+'\x20>>\x20'+escapeShellWord(_0x4b15c7)+_0x1e88e8(_0x2a1002._0x1bda0a,0x359)+_0x355907[_0x5d99a2(_0x2a1002._0x4a13a1,_0x2a1002._0x5a391d)](escapeShellWord,_0x32f92e)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x380f8e){const _0x15e3da={_0x2d5f6d:0x1b0,_0x41cdf8:0x155,_0x450712:0x3ef,_0x171029:0x1a5,_0x10c806:0x16,_0x2aa23e:0x34d,_0x36ae0f:0x229,_0x394744:0x1df,_0x4d0665:0x246,_0xabb2c8:0x4,_0x306a4d:0x1da};function _0x33568e(_0x2d8117,_0x499e9e){return _0x684713(_0x2d8117,_0x499e9e- -0x157);}function _0x4997c1(_0x5ce5a3,_0x43cd0e){return _0x684713(_0x43cd0e,_0x5ce5a3- -0x235);}const _0x1dd7af={};_0x1dd7af['MiwGA']=_0x4997c1(0x40a,_0x15e3da._0x2d5f6d),_0x1dd7af[_0x33568e(0xa,_0x15e3da._0x41cdf8)]=function(_0x5dea2b,_0x8504af){return _0x5dea2b===_0x8504af;};const _0xe5b8ae=_0x1dd7af;switch(process[_0x33568e(_0x15e3da._0x450712,0x177)]){case _0xe5b8ae['MiwGA']:return MACOS_PLIST_PATH;case'linux':return _0xe5b8ae[_0x4997c1(0x77,_0x15e3da._0x171029)](_0x380f8e,_0x4997c1(0x410,0x1b3)+_0x4997c1(0x101,0x244))?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case _0x33568e(0x393,0x2c9):return _0x4997c1(0x109,-0xbc)+_0x33568e(-_0x15e3da._0x10c806,0xb0)+_0x33568e(_0x15e3da._0x2aa23e,0x2d8)+_0x4997c1(0x1d,_0x15e3da._0x36ae0f)+_0x33568e(_0x15e3da._0x394744,0x11e)+_0x33568e(0x4c7,0x469)+'un\x5cClawk'+_0x33568e(_0x15e3da._0x4d0665,0x25e)+_0x33568e(_0x15e3da._0xabb2c8,_0x15e3da._0x306a4d);default:return'';}}function detectServiceMethod(){const _0x36e2d7={_0x4f0133:0x29a,_0x515ebe:0x39f,_0x3edda6:0x26a,_0x215394:0x4ac,_0x2f54ff:0x56b,_0x43c371:0x5f1,_0x54edc2:0x6d3,_0x246943:0x782,_0x36da27:0x88f,_0x4f2a94:0x1ff,_0x10b68b:0x42e,_0xa52bfc:0x51a,_0x287593:0x77d,_0x2831a0:0x897,_0x17fb11:0x546,_0x4f5918:0x7a9,_0x2a8b48:0x5e5,_0x45a564:0x6d3,_0x1541b1:0x3b6,_0x3a01f3:0x731,_0x4e68e6:0x959,_0x563f00:0x4c7,_0x191ced:0x48f,_0x3150f2:0x5b8,_0x4a2188:0x50f,_0xcd4df0:0x602},_0x58fd72={_0x17ffe9:0x4bc},_0x43c3f1={};function _0x485fd7(_0x33b8e9,_0x11bb3c){return _0x528821(_0x33b8e9,_0x11bb3c-_0x58fd72._0x17ffe9);}function _0x598a0c(_0x3101bf,_0x10711f){return _0x528821(_0x3101bf,_0x10711f-0x55d);}_0x43c3f1[_0x485fd7(_0x36e2d7._0x4f0133,_0x36e2d7._0x515ebe)]='darwin',_0x43c3f1[_0x598a0c(0x82f,0x6ac)]=_0x598a0c(0x837,0x6f9),_0x43c3f1[_0x598a0c(_0x36e2d7._0x3edda6,_0x36e2d7._0x215394)]='linux-cr'+_0x598a0c(_0x36e2d7._0x2f54ff,_0x36e2d7._0x43c371),_0x43c3f1[_0x485fd7(0x871,_0x36e2d7._0x54edc2)]=_0x598a0c(_0x36e2d7._0x246943,_0x36e2d7._0x36da27)+'l',_0x43c3f1[_0x485fd7(_0x36e2d7._0x4f2a94,_0x36e2d7._0x10b68b)]='systemd-'+_0x598a0c(0xa83,0x849);const _0x1104b3=_0x43c3f1;switch(process[_0x598a0c(_0x36e2d7._0xa52bfc,0x589)]){case _0x1104b3[_0x485fd7(0x313,0x39f)]:return _0x598a0c(0x563,_0x36e2d7._0x287593)+_0x598a0c(0x796,_0x36e2d7._0x2831a0);case _0x1104b3[_0x598a0c(_0x36e2d7._0x17fb11,0x6ac)]:if(_0x22e4ca(LINUX_SERVICE_PATH))return _0x485fd7(_0x36e2d7._0x4f5918,0x673)+'user';if(hasLinuxCronRegistration())return _0x1104b3[_0x598a0c(0x57e,0x4ac)];if(commandExists(_0x1104b3[_0x485fd7(_0x36e2d7._0x2a8b48,_0x36e2d7._0x45a564)]))return _0x1104b3[_0x598a0c(_0x36e2d7._0x1541b1,0x4cf)];if(commandExists(_0x598a0c(_0x36e2d7._0x3a01f3,_0x36e2d7._0x4e68e6)))return _0x598a0c(0x7e0,0x900)+'ontab';return _0x485fd7(0x748,0x6c2)+_0x598a0c(0x2d0,_0x36e2d7._0x563f00);case'win32':return _0x598a0c(_0x36e2d7._0x191ced,_0x36e2d7._0x3150f2)+_0x485fd7(0x552,0x75d)+_0x485fd7(0x6b8,_0x36e2d7._0x4a2188);default:return _0x598a0c(_0x36e2d7._0xcd4df0,0x763)+_0x598a0c(0x4b3,0x4c7);}}function readServiceState(){const _0x6273d3={_0x45c5c0:0x83,_0xdf88ef:0x34e,_0x4cea6a:0x466,_0x4ddbde:0x395,_0x4d714d:0x2e3},_0x52dc9a={_0x5aa365:0x261},_0x550e19={};_0x550e19['vLAeL']=_0x1f0e99(_0x6273d3._0x45c5c0,0x1db);function _0x1f0e99(_0x1e35ad,_0x3d8320){return _0x684713(_0x1e35ad,_0x3d8320-0xc);}function _0x4237b1(_0x490d55,_0x33656d){return _0x684713(_0x33656d,_0x490d55- -_0x52dc9a._0x5aa365);}_0x550e19[_0x1f0e99(0x4cd,0x3f8)]=_0x1f0e99(0x1a6,0x32f);const _0x5898e3=_0x550e19;if(!_0x22e4ca(SERVICE_STATE_PATH))return null;try{const _0xf0628e=JSON[_0x1f0e99(_0x6273d3._0xdf88ef,0x401)](_0x9871e4(SERVICE_STATE_PATH,_0x5898e3[_0x4237b1(0x99,0xee)]));if(!_0xf0628e['pid']||typeof _0xf0628e[_0x4237b1(0x128,0xb8)]!==_0x5898e3['Lwxmh'])return null;return{'pid':_0xf0628e[_0x1f0e99(_0x6273d3._0x4cea6a,_0x6273d3._0x4ddbde)],'startedAt':_0xf0628e[_0x4237b1(0x366,_0x6273d3._0x4d714d)+'t']??new Date(0x0)[_0x4237b1(0xda,-0xa)+'ing']()};}catch{return null;}}function readRuntimeRegistry(){const _0x23cfaf={_0x436c9f:0x3c3,_0x3810e9:0x4e0,_0xf7b22f:0x2d8,_0x496635:0x449},_0xe5fdef={_0x11733c:0x5b3};function _0x12502c(_0x2584ad,_0x261569){return _0x528821(_0x2584ad,_0x261569-0x270);}const _0xe28aab={'rKvio':function(_0x172ec6,_0x339926){return _0x172ec6(_0x339926);}};if(!_0x22e4ca(RUNTIME_REGISTRY_PATH))return[];function _0x39ed9e(_0x5a53f9,_0x229aee){return _0x528821(_0x5a53f9,_0x229aee-_0xe5fdef._0x11733c);}try{const _0x595f7b=JSON[_0x12502c(0x4be,_0x23cfaf._0x436c9f)](_0x9871e4(RUNTIME_REGISTRY_PATH,_0x39ed9e(0x4f2,_0x23cfaf._0x3810e9)));if(!Array[_0x12502c(0x21c,0x40b)](_0x595f7b))return[];const _0xe6abcf=_0x595f7b['map'](_0x5c224a=>normalizeRuntimeProcessRecord(_0x5c224a))['filter'](_0x487908=>_0x487908!=null&&isPidRunning(_0x487908[_0x39ed9e(0x7c3,0x69a)]));return _0xe28aab[_0x12502c(_0x23cfaf._0xf7b22f,_0x23cfaf._0x496635)](writeRuntimeRegistry,_0xe6abcf),_0xe6abcf;}catch{return[];}}function writeRuntimeRegistry(_0x506638){const _0x4221d6={_0x2a8784:0x389,_0x3f5827:0x32,_0x2ec3b8:0x1e6,_0x56186e:0x2c1,_0x1ecc65:0x224,_0x3b2b34:0x420,_0x4c3285:0x4f0,_0x598cd0:0x223},_0x2a9bd3={_0x4dd522:0x1ca},_0xe6b7dd={_0xc01429:0x2f6};function _0x586537(_0x560ffc,_0x590992){return _0x528821(_0x560ffc,_0x590992-_0xe6b7dd._0xc01429);}const _0x40b96d={'GHLsN':function(_0x48feb2,_0x2bcb05){return _0x48feb2===_0x2bcb05;},'lDuqQ':function(_0x1c9888,_0x4fefca){return _0x1c9888(_0x4fefca);},'fpxOE':function(_0xfc3558){return _0xfc3558();},'ygHAM':function(_0x2a7fa3,_0x38e5f0,_0x125915,_0x470f07){return _0x2a7fa3(_0x38e5f0,_0x125915,_0x470f07);},'ADAja':function(_0x34bef5,_0x2b077e){return _0x34bef5+_0x2b077e;}};if(_0x40b96d[_0x3eeb43(_0x4221d6._0x2a8784,0x2e8)](_0x506638[_0x586537(_0x4221d6._0x3f5827,_0x4221d6._0x2ec3b8)],0x0)){_0x40b96d[_0x3eeb43(_0x4221d6._0x56186e,_0x4221d6._0x1ecc65)](rmIfExists,RUNTIME_REGISTRY_PATH);return;}_0x40b96d[_0x3eeb43(0x400,0x64d)](ensureServiceDirs);function _0x3eeb43(_0x3665af,_0x1d1981){return _0x528821(_0x1d1981,_0x3665af-_0x2a9bd3._0x4dd522);}_0x40b96d['ygHAM'](_0x3a1061,RUNTIME_REGISTRY_PATH,_0x40b96d[_0x586537(0x1fa,_0x4221d6._0x3b2b34)](JSON[_0x586537(0x4c2,_0x4221d6._0x4c3285)+'y'](_0x506638,null,0x2),'\x0a'),_0x586537(0x3a2,_0x4221d6._0x598cd0));}function normalizeRuntimeProcessRecord(_0x5ceb25){const _0x4dd553={_0x378591:0x223,_0x5b271b:0x31,_0x135d15:0x182,_0xe0a7ff:0x4c7,_0x4e3da3:0x3c0,_0x5823d3:0x1e1,_0x2628b4:0x3da,_0x19cd4a:0x42,_0x673272:0x29b,_0x48b671:0x85,_0x453ed2:0x4f7,_0x512292:0x414,_0x3836c0:0xcf,_0x99cb68:0x2b9},_0x5081b1={};_0x5081b1[_0x979246(0x30d,0x523)]=function(_0x4f8cff,_0xcec920){return _0x4f8cff===_0xcec920;};const _0x534f46=_0x5081b1;if(!_0x5ceb25||typeof _0x5ceb25!==_0x979246(0xab,-0x31))return null;function _0x979246(_0x35ba32,_0x541cc6){return _0x528821(_0x541cc6,_0x35ba32-0x9b);}const _0x307ced=_0x5ceb25;function _0x20e8e1(_0x263aa1,_0x342b82){return _0x528821(_0x263aa1,_0x342b82-0x1a2);}if(!_0x307ced[_0x20e8e1(0x476,0x289)]||typeof _0x307ced[_0x20e8e1(0x174,0x289)]!==_0x20e8e1(0x3ad,_0x4dd553._0x378591))return null;const _0x12b672=typeof _0x307ced['scriptPa'+'th']===_0x979246(0xda,_0x4dd553._0x5b271b)?resolveScriptPath(_0x307ced['scriptPa'+'th']):'';if(!_0x12b672)return null;return{'pid':_0x307ced[_0x979246(_0x4dd553._0x135d15,-0x6b)],'startedAt':typeof _0x307ced[_0x20e8e1(0x29a,_0x4dd553._0xe0a7ff)+'t']==='string'?_0x307ced[_0x979246(_0x4dd553._0x4e3da3,0x370)+'t']:new Date(0x0)['toISOStr'+'ing'](),'gatewayId':typeof _0x307ced[_0x20e8e1(0x155,0x3da)+'d']===_0x20e8e1(-0x41,_0x4dd553._0x5823d3)?_0x307ced[_0x20e8e1(0x2f4,_0x4dd553._0x2628b4)+'d']:'','instanceId':typeof _0x307ced[_0x979246(-_0x4dd553._0x19cd4a,-_0x4dd553._0x673272)+'Id']==='string'?_0x307ced[_0x20e8e1(-_0x4dd553._0x48b671,0xc5)+'Id']:'','serviceMode':_0x534f46[_0x20e8e1(_0x4dd553._0x453ed2,_0x4dd553._0x512292)](_0x307ced['serviceM'+_0x20e8e1(_0x4dd553._0x3836c0,_0x4dd553._0x99cb68)],!![]),'scriptPath':_0x12b672};}function stopRunningProcess(){const _0x3f79ce={_0x10e037:0x354,_0x474c21:0x5e9,_0x258b18:0x3f4,_0x4ca9b9:0x3fb,_0xefdda6:0x4b3,_0x530386:0x862,_0x5084fe:0x4e7,_0x468830:0x354,_0x1c3da3:0xc9,_0x3bd463:0x667,_0x204845:0x87c,_0x433f02:0x3b1,_0x3cf5b4:0x35d,_0xd980cc:0x177,_0x35555b:0x35d,_0x37011b:0x10c};function _0x5e4fdb(_0x40662d,_0x389f81){return _0x684713(_0x389f81,_0x40662d-0x25b);}const _0x4b297e={};function _0x293d47(_0x565b6b,_0x309ac8){return _0x684713(_0x309ac8,_0x565b6b- -0x2c);}_0x4b297e[_0x293d47(_0x3f79ce._0x10e037,_0x3f79ce._0x474c21)]=_0x293d47(_0x3f79ce._0x258b18,0x584),_0x4b297e[_0x5e4fdb(_0x3f79ce._0x4ca9b9,_0x3f79ce._0xefdda6)]=_0x5e4fdb(0x5c2,_0x3f79ce._0x530386);const _0x25edcf=_0x4b297e,_0x10bdba=readServiceState();if(!_0x10bdba)return;execIgnoreFailure(process[_0x293d47(0x2a2,_0x3f79ce._0x5084fe)]===_0x25edcf[_0x293d47(_0x3f79ce._0x468830,_0x3f79ce._0x1c3da3)]?'taskkill':_0x293d47(_0x3f79ce._0x3bd463,_0x3f79ce._0x204845),process['platform']===_0x25edcf[_0x293d47(0x354,0xb6)]?[_0x25edcf['HMrmY'],String(_0x10bdba[_0x5e4fdb(0x5e4,_0x3f79ce._0x433f02)]),'/T','/F']:['-TERM',String(_0x10bdba[_0x293d47(_0x3f79ce._0x3cf5b4,_0x3f79ce._0xd980cc)])]),clearServiceState(_0x10bdba[_0x293d47(_0x3f79ce._0x35555b,_0x3f79ce._0x37011b)]);}function listPosixRuntimePids(_0x30a1b8){const _0x32577c={_0x50d493:0x3c3,_0x348fa0:0x455,_0x4f2740:0x586,_0x57d09e:0x285,_0x4e76a6:0x258,_0x35b17f:0x59a,_0x2124a0:0x834,_0x2bcc6d:0x366,_0x45bf6c:0x46d},_0x23652b={_0x41ecc2:0x6a5,_0x440504:0x52b,_0x2bceba:0x2ad,_0x379e18:0x1d9,_0x1033f5:0x461,_0x11a306:0x524},_0x31aabc={'Szyjy':function(_0x362614,_0x31459d,_0x2a220b,_0x3ab0b2){return _0x362614(_0x31459d,_0x2a220b,_0x3ab0b2);}};function _0x16110b(_0xa55ba9,_0x298e95){return _0x528821(_0x298e95,_0xa55ba9-0x397);}if(!_0x30a1b8||process[_0x16110b(_0x32577c._0x50d493,_0x32577c._0x348fa0)]==='win32')return[];function _0x4858ed(_0x326a5b,_0x28e5ff){return _0x528821(_0x326a5b,_0x28e5ff-0x503);}try{const _0x11caca={};_0x11caca[_0x4858ed(0x42e,_0x32577c._0x4f2740)]=_0x4858ed(0x22b,0x430);const _0x54564d=_0x31aabc[_0x16110b(_0x32577c._0x57d09e,_0x32577c._0x4e76a6)](execFileSync,'ps',[_0x4858ed(_0x32577c._0x35b17f,_0x32577c._0x2124a0),'-o',_0x16110b(0x34e,0x313)+'s='],_0x11caca);return _0x54564d[_0x16110b(_0x32577c._0x2bcc6d,_0x32577c._0x45bf6c)]('\x0a')['map'](_0x4c3456=>_0x4c3456['trim']())[_0x4858ed(0x962,0x757)](Boolean)[_0x4858ed(0x74c,0x795)](_0x5413ee=>{const _0x25dd39={_0x13b389:0x1c2},_0x239736=_0x5413ee[_0x56a1b3(0x6b9,_0x23652b._0x41ecc2)](/^(\d+)\s+(.*)$/);function _0x3f8c13(_0x4257e4,_0x191e32){return _0x16110b(_0x191e32- -_0x25dd39._0x13b389,_0x4257e4);}function _0x56a1b3(_0x32e689,_0x30ba97){return _0x16110b(_0x30ba97- -0x1d,_0x32e689);}if(!_0x239736)return[];const _0xd0b7cd=Number(_0x239736[0x1]),_0x208b2e=_0x239736[0x2];if(!Number[_0x3f8c13(_0x23652b._0x440504,_0x23652b._0x2bceba)+'r'](_0xd0b7cd)||_0xd0b7cd<=0x0||_0xd0b7cd===process[_0x56a1b3(_0x23652b._0x379e18,_0x23652b._0x1033f5)])return[];if(!_0x208b2e[_0x3f8c13(0x453,_0x23652b._0x11a306)](_0x30a1b8))return[];if(!/\brun\b/['test'](_0x208b2e))return[];return[_0xd0b7cd];});}catch{return[];}}function isPidRunning(_0x1037cd){const _0x4313a8={_0x5c8780:0x126};function _0x13e9e0(_0x53f7e6,_0x43194c){return _0x684713(_0x53f7e6,_0x43194c- -_0x4313a8._0x5c8780);}try{return process[_0x13e9e0(0x778,0x56d)](_0x1037cd,0x0),!![];}catch{return![];}}function waitForPidExit(_0x3b5a44,_0x36d7b0){const _0x5c98cd={_0x4a0b0a:0xff},_0x1a172e={_0x4b46ea:0x155};function _0xbaba3(_0x44eac5,_0xac1afe){return _0x528821(_0x44eac5,_0xac1afe-0xb5);}const _0x4dcc5a={};function _0x453b62(_0x234983,_0x28b147){return _0x528821(_0x28b147,_0x234983-_0x1a172e._0x4b46ea);}_0x4dcc5a[_0x453b62(0x266,0x3e2)]=function(_0x45dfb9,_0x3d2272){return _0x45dfb9>=_0x3d2272;};const _0x3ce436=_0x4dcc5a,_0xb519f=Date[_0x453b62(0x44b,0x459)]()+_0x36d7b0,_0x377cd8=new Int32Array(new SharedArrayBuffer(0x4));while(isPidRunning(_0x3b5a44)){if(_0x3ce436[_0x453b62(0x266,0xfe)](Date['now'](),_0xb519f))return![];Atomics[_0xbaba3(-_0x5c98cd._0x4a0b0a,0x10e)](_0x377cd8,0x0,0x0,0x32);}return!![];}function startDetachedWindowsService(_0x43b910){const _0x2ac492={_0x2ead80:0x4e7,_0xe7ec5d:0x345,_0x3fe277:0x516,_0x5ef1dc:0x5bd,_0x252362:0x388},_0x565dbe=openSync(SERVICE_LOG_PATH,'a'),_0x5d0071=openSync(SERVICE_ERROR_LOG_PATH,'a');function _0x24c406(_0x1e8c4d,_0x563ccb){return _0x684713(_0x563ccb,_0x1e8c4d- -0x48);}function _0x36a60c(_0x339f81,_0x4db418){return _0x684713(_0x4db418,_0x339f81-0x24f);}try{const [_0x3b16c6,..._0x282636]=_0x43b910,_0x4da200={};_0x4da200['detached']=!![],_0x4da200[_0x36a60c(0x50c,_0x2ac492._0x2ead80)]=[_0x24c406(0x58d,_0x2ac492._0xe7ec5d),_0x565dbe,_0x5d0071],_0x4da200[_0x36a60c(_0x2ac492._0x3fe277,0x504)+_0x36a60c(_0x2ac492._0x5ef1dc,0x807)]=!![];const _0x14a345=spawn(_0x3b16c6,_0x282636,_0x4da200);_0x14a345[_0x24c406(0x312,_0x2ac492._0x252362)]();}finally{closeSync(_0x565dbe),closeSync(_0x5d0071);}}function startDetachedPosixService(_0xbe037d){const _0x3a246c={_0x389a0b:0x6cd,_0x2e3b18:0x3f9,_0x53ddba:0x202,_0x35f2d8:0x46d},_0xf813a7={_0x2a45e:0xbb},_0x46114d={_0x504670:0x13},_0x4717fc={'fTlGh':function(_0x4a0094,_0x2b5d92,_0x5b329a){return _0x4a0094(_0x2b5d92,_0x5b329a);},'pGKyW':function(_0x475a86,_0x33a892,_0x62f9cd){return _0x475a86(_0x33a892,_0x62f9cd);},'LtNuz':function(_0x526c84,_0x2fad6b){return _0x526c84(_0x2fad6b);}},_0x40653c=_0x4717fc[_0xf0efe6(0x28d,0x4f1)](openSync,SERVICE_LOG_PATH,'a');function _0xf0efe6(_0x4fd1d8,_0x13a895){return _0x684713(_0x13a895,_0x4fd1d8- -_0x46114d._0x504670);}function _0x54e1e6(_0x4e9c72,_0x726fce){return _0x684713(_0x726fce,_0x4e9c72- -_0xf813a7._0x2a45e);}const _0x12c290=_0x4717fc[_0xf0efe6(0x4b2,_0x3a246c._0x389a0b)](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0x3f0422,..._0x49bd03]=_0xbe037d,_0x1a6f53={};_0x1a6f53[_0xf0efe6(_0x3a246c._0x2e3b18,0x627)]=!![],_0x1a6f53[_0x54e1e6(_0x3a246c._0x53ddba,0x22)]=[_0x54e1e6(0x51a,0x3c3),_0x40653c,_0x12c290];const _0x519aa0=spawn(_0x3f0422,_0x49bd03,_0x1a6f53);_0x519aa0['unref']();}finally{_0x4717fc[_0xf0efe6(_0x3a246c._0x35f2d8,0x6b7)](closeSync,_0x40653c),closeSync(_0x12c290);}}async function waitForRuntimeState(_0x865a91=0x5dc,_0x3df556=0x32){const _0x286b84={_0x47329c:0x4ea,_0x3f8e1f:0x85c,_0x592f3e:0x509,_0x15e0b7:0x46d},_0x231848={_0x2519cf:0x52},_0x964e0f={'llkJo':function(_0x4ea778,_0x4433ff){return _0x4ea778+_0x4433ff;},'QmotZ':function(_0x2da082){return _0x2da082();},'YDCyM':function(_0x4ef0d3,_0x51b16e){return _0x4ef0d3(_0x51b16e);},'nILAj':function(_0x249033){return _0x249033();}},_0x4a6aa6=_0x964e0f[_0x2fc2b6(0x51b,_0x286b84._0x47329c)](Date['now'](),_0x865a91);let _0x3521d9=_0x964e0f[_0x35acf7(0x317,0x2ac)](getServiceStatus);while(Date[_0x2fc2b6(0x5b8,_0x286b84._0x3f8e1f)]()<_0x4a6aa6){if(_0x3521d9[_0x2fc2b6(0x32c,0x5d1)])return _0x3521d9;await _0x964e0f[_0x2fc2b6(_0x286b84._0x592f3e,_0x286b84._0x15e0b7)](_0xb6c3d5,_0x3df556),_0x3521d9=_0x964e0f[_0x35acf7(0x394,0x3e8)](getServiceStatus);}function _0x35acf7(_0x11166f,_0x491417){return _0x528821(_0x491417,_0x11166f- -_0x231848._0x2519cf);}function _0x2fc2b6(_0x46af2e,_0x27ad13){return _0x528821(_0x27ad13,_0x46af2e-0x2c2);}return _0x3521d9;}function installLinuxService(_0x1e7e6b){const _0x259d19={'HXORj':function(_0x5ebcc9){return _0x5ebcc9();}};function _0x5dac7e(_0xef6c29,_0x52eed5){return _0x528821(_0xef6c29,_0x52eed5-0x651);}try{installLinuxSystemdService(_0x1e7e6b),_0x259d19[_0x5dac7e(0xa70,0xa20)](removeLinuxCronRegistration);return;}catch(_0x3525f2){installLinuxCronService(_0x1e7e6b,_0x3525f2);}}function restartLinuxService(_0x25c785){const _0x560525={'uhvQk':function(_0x4335fd,_0x218756){return _0x4335fd(_0x218756);}};try{_0x560525['uhvQk'](restartLinuxSystemdService,_0x25c785),removeLinuxCronRegistration();return;}catch(_0x3ae278){installLinuxCronService(_0x25c785,_0x3ae278);}}function installLinuxSystemdService(_0x5e9942){const _0x54d8c9={_0x5f1d75:0x1fe,_0x46ea7c:0x207,_0xc502a7:0xa1,_0x15cc80:0x388,_0x369c7b:0xc0,_0x549c83:0xf7,_0x35d994:0xee,_0x34446b:0x23f,_0x5d0791:0x18,_0x1c39b1:0x18,_0x2d7390:0x67c,_0x2eca6b:0x45d,_0x283d30:0xa89,_0x2948fc:0x94e,_0x464a90:0x355,_0xd8eba3:0x346,_0x2597dd:0x5d4,_0x17a6d3:0x208,_0x14a1f4:0x137,_0xede912:0x7a,_0x6c65f:0x47},_0x16517b={_0x328e42:0x3cd},_0x39117b={_0x20224f:0x379},_0x331921={'YSiwf':function(_0x254aa7,_0x495fd3,_0x2b1853){return _0x254aa7(_0x495fd3,_0x2b1853);},'bttAe':function(_0x2c01f7,_0x2edb85,_0x465231,_0x38c8ad){return _0x2c01f7(_0x2edb85,_0x465231,_0x38c8ad);},'VCRNJ':_0x575205(-_0x54d8c9._0x5f1d75,-0x260),'aKRfL':function(_0x47f589,_0x289d76,_0x2f698c,_0x1df4f7){return _0x47f589(_0x289d76,_0x2f698c,_0x1df4f7);},'JNzSE':_0x575205(_0x54d8c9._0x46ea7c,_0x54d8c9._0xc502a7)+'l'};if(!commandExists(_0x575205(0x207,_0x54d8c9._0x15cc80)+'l'))throw new Error(_0x575205(0x207,_0x54d8c9._0x369c7b)+_0x575205(-0x25b,-0x3c8)+_0x575205(-0x200,-0x1ba)+'le');const _0x660161={};_0x660161[_0x575205(-_0x54d8c9._0x549c83,_0x54d8c9._0x35d994)+'e']=!![],_0x331921[_0x575205(-_0x54d8c9._0x34446b,_0x54d8c9._0x5d0791)](_0x22e22c,dirname(LINUX_SERVICE_PATH),_0x660161),_0x3a1061(LINUX_SERVICE_PATH,_0x331921[_0x575205(0x232,_0x54d8c9._0x1c39b1)](buildLinuxSystemdUnit,_0x5e9942,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x331921[_0x337fac(0x6d8,_0x54d8c9._0x2d7390)]);const _0x35bba6={};_0x35bba6[_0x337fac(_0x54d8c9._0x2eca6b,0x636)]=_0x337fac(_0x54d8c9._0x283d30,_0x54d8c9._0x2948fc);function _0x337fac(_0x8a3845,_0xeb4257){return _0x684713(_0x8a3845,_0xeb4257-_0x39117b._0x20224f);}_0x331921['aKRfL'](execFileSync,_0x331921[_0x337fac(0x930,0x7de)],[_0x575205(0x1dc,_0x54d8c9._0x464a90),_0x337fac(0x941,0x6b5)+_0x337fac(_0x54d8c9._0xd8eba3,_0x54d8c9._0x2597dd)],_0x35bba6);const _0x612c46={};function _0x575205(_0x27b7d9,_0x3c2962){return _0x684713(_0x3c2962,_0x27b7d9- -_0x16517b._0x328e42);}_0x612c46['stdio']=_0x575205(_0x54d8c9._0x17a6d3,_0x54d8c9._0x14a1f4),execFileSync('systemct'+'l',['--user',_0x575205(-0x76,-_0x54d8c9._0xede912),_0x575205(0xbb,-_0x54d8c9._0x6c65f),SYSTEMD_UNIT_NAME],_0x612c46);}function restartLinuxSystemdService(_0x2c2279){const _0x1fc93e={_0x29ef51:0x3e1,_0x4beab2:0x94,_0x47a402:0x3c3,_0x343006:0x36d,_0xf9ab9a:0x4f7,_0x345310:0x36e,_0xe4615c:0x97,_0x5912e0:0x9a,_0x4ffee1:0x233,_0x39fc0f:0x343,_0x50b638:0x36f,_0x1703d5:0x2de},_0xdf106b={_0x1a1a3a:0x1c4},_0x562a11={_0x26f91d:0x3c},_0x3e2610={};_0x3e2610['BCfAO']=_0x2bfd99(0x36e,_0x1fc93e._0x29ef51)+_0x71d320(_0x1fc93e._0x4beab2,-0x1e8)+'\x20availab'+'le',_0x3e2610[_0x2bfd99(0xab,0x30b)]=_0x71d320(0x4f6,0x614)+'l',_0x3e2610[_0x2bfd99(_0x1fc93e._0x47a402,_0x1fc93e._0x343006)]=_0x71d320(_0x1fc93e._0xf9ab9a,0x62f);function _0x2bfd99(_0x49bcba,_0x5087ad){return _0x528821(_0x5087ad,_0x49bcba-_0x562a11._0x26f91d);}const _0x38e3bc=_0x3e2610;function _0x71d320(_0x201645,_0x428468){return _0x528821(_0x428468,_0x201645-_0xdf106b._0x1a1a3a);}if(!commandExists(_0x2bfd99(_0x1fc93e._0x345310,0x109)+'l'))throw new Error(_0x38e3bc[_0x2bfd99(-0x90,-0x179)]);if(!_0x22e4ca(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x2c2279);return;}_0x3a1061(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x2c2279,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x2bfd99(-_0x1fc93e._0xe4615c,_0x1fc93e._0x5912e0)),execFileSync(_0x38e3bc[_0x71d320(_0x1fc93e._0x4ffee1,0x3a7)],[_0x2bfd99(_0x1fc93e._0x39fc0f,0x532),'daemon-r'+'eload'],{'stdio':_0x38e3bc['MhVyY']});const _0x5c1205={};_0x5c1205['stdio']=_0x2bfd99(_0x1fc93e._0x50b638,0x29e),execFileSync(_0x38e3bc['KQZBo'],['--user',_0x2bfd99(_0x1fc93e._0x1703d5,0x22e),SYSTEMD_UNIT_NAME],_0x5c1205);}function installLinuxCronService(_0x378b1f,_0x231650){const _0x1d53da={_0x36d47f:0x670,_0x24b324:0x4d0,_0x45d9cc:0x35f,_0x447f06:0x1e7,_0x52b37d:0x2e7,_0x4f1679:0x174,_0x443201:0x22b},_0xde421e={'QByVL':function(_0x501e1f,_0x2f9741){return _0x501e1f(_0x2f9741);},'gsJBF':_0x5c33fe(0x8c1,0xa3d),'BcyWx':function(_0x2e0d7e,_0xc6683b){return _0x2e0d7e(_0xc6683b);},'NGalD':_0x5c33fe(0x3f2,0x403)};if(!_0xde421e['QByVL'](commandExists,_0xde421e['gsJBF']))throw new Error('Linux\x20se'+_0x5c33fe(_0x1d53da._0x36d47f,0x466)+'stallati'+_0x197cc4(_0x1d53da._0x24b324,_0x1d53da._0x45d9cc)+_0x197cc4(0x4f7,0x56d)+_0x197cc4(_0x1d53da._0x447f06,0x1dd)+_0x197cc4(_0x1d53da._0x52b37d,0x162)+_0x197cc4(_0x1d53da._0x4f1679,0x2c7)+_0x5c33fe(0x50a,0x510)+formatError(_0x231650));function _0x5c33fe(_0x1eb266,_0x3462f7){return _0x684713(_0x3462f7,_0x1eb266-0x223);}_0xde421e[_0x197cc4(-_0x1d53da._0x443201,0x53)](rmIfExists,LINUX_SERVICE_PATH);const _0x55e161=buildLinuxCronEntry(_0x378b1f,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x55e161),_0x3a1061(LINUX_CRON_RECORD_PATH,_0x55e161+'\x0a',_0xde421e[_0x5c33fe(0x79c,0xa3c)]);function _0x197cc4(_0xe41271,_0x149b40){return _0x684713(_0xe41271,_0x149b40- -0x112);}stopRunningProcess(),startDetachedPosixService(_0x378b1f);}function hasLinuxCronRegistration(){const _0x595a55={_0x3e4b62:0x8a6},_0x701a9a={_0x2150a0:0x2af};function _0x4316de(_0x47bb53,_0x538fc1){return _0x684713(_0x47bb53,_0x538fc1-0x3ae);}function _0x480dfa(_0x42904f,_0x585850){return _0x684713(_0x585850,_0x42904f- -_0x701a9a._0x2150a0);}if(process[_0x480dfa(0x1f,-0x233)]!=='linux')return![];return readLinuxCrontab()[_0x4316de(_0x595a55._0x3e4b62,0x9cc)](_0x27fe1b=>_0x27fe1b[_0x480dfa(0x342,0x4db)](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0x32c5ba={_0x4b3684:0x75a,_0x50f74b:0x59b};function _0x3b22e7(_0x2d41de,_0x374899){return _0x528821(_0x374899,_0x2d41de-0x1bd);}const _0x2cb07c={'GckrM':function(_0x3879c7,_0x2a1298){return _0x3879c7(_0x2a1298);},'hobiW':_0x3b22e7(0x5b9,_0x32c5ba._0x4b3684)};if(process['platform']!==_0x3b22e7(0x359,_0x32c5ba._0x50f74b))return;if(_0x2cb07c['GckrM'](commandExists,_0x2cb07c['hobiW'])){const _0x321e31=readLinuxCrontab()['filter'](_0x16906e=>!_0x16906e[_0x3b22e7(0x50c,0x50f)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x321e31);}function _0x33bbe2(_0x5d3ad1,_0x1fcaca){return _0x528821(_0x1fcaca,_0x5d3ad1-0x9);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x105669){const _0x74186d={_0x4dc4a3:0x66b};function _0x11e263(_0x3cd436,_0x3f528b){return _0x684713(_0x3cd436,_0x3f528b-0x220);}const _0x55f56b=readLinuxCrontab()['filter'](_0x4dc97d=>!_0x4dc97d[_0x5ab15f(0xc18,0x98b)](LINUX_CRON_MARKER));_0x55f56b[_0x5ab15f(0x872,_0x74186d._0x4dc4a3)](_0x105669);function _0x5ab15f(_0x246d49,_0x3b6514){return _0x684713(_0x246d49,_0x3b6514-0x39a);}writeLinuxCrontab(_0x55f56b);}function readLinuxCrontab(){const _0x5ad8b3={_0x5069cd:0x8a0,_0x2a5749:0xa2a,_0x1db980:0x4bb,_0x169483:0x834,_0x39552a:0x591,_0xb19029:0x5fd,_0x58d55c:0x554,_0x343b22:0x766},_0x2b06bf={_0x1d3b8b:0x438},_0x16b376={};function _0x2969b(_0x58a0f7,_0x3c2040){return _0x528821(_0x3c2040,_0x58a0f7-_0x2b06bf._0x1d3b8b);}_0x16b376['FFuxu']='utf8';function _0x4bfca8(_0x4617bd,_0x47c311){return _0x528821(_0x4617bd,_0x47c311-0x62e);}const _0xc56c6b=_0x16b376;if(!commandExists(_0x4bfca8(_0x5ad8b3._0x5069cd,_0x5ad8b3._0x2a5749)))return[];try{const _0x4699a5={};_0x4699a5[_0x2969b(_0x5ad8b3._0x1db980,0x339)]=_0xc56c6b['FFuxu'];const _0x978aae=execFileSync(_0x2969b(_0x5ad8b3._0x169483,_0x5ad8b3._0x39552a),['-l'],_0x4699a5);return _0x978aae[_0x4bfca8(0x7c6,_0x5ad8b3._0xb19029)]('\x0a')[_0x4bfca8(0x6e7,_0x5ad8b3._0x58d55c)](_0x2ce5cd=>_0x2ce5cd['trimEnd']())[_0x2969b(0x68c,_0x5ad8b3._0x343b22)](_0x5a65b8=>_0x5a65b8[_0x2969b(0x328,0xd7)]>0x0);}catch(_0x2aeb0a){if(isMissingCrontabError(_0x2aeb0a))return[];throw _0x2aeb0a;}}function writeLinuxCrontab(_0x878b8d){const _0x3610eb={_0xe9130c:0x5a4,_0x4fe9d8:0x792,_0x55f096:0x13a,_0x19a96a:0x22c,_0x1c3a24:0x646,_0x5475be:0x40e,_0x243b53:0x442,_0x33bf69:0x378},_0x34ceb6={_0x4a0978:0x24a};if(!commandExists(_0x3a7469(_0x3610eb._0xe9130c,_0x3610eb._0x4fe9d8)))return;function _0x3a7469(_0x30a01f,_0x2f5707){return _0x528821(_0x30a01f,_0x2f5707-0x396);}function _0xb36fdf(_0x757506,_0x34b680){return _0x528821(_0x34b680,_0x757506-_0x34ceb6._0x4a0978);}if(_0x878b8d[_0xb36fdf(_0x3610eb._0x55f096,_0x3610eb._0x19a96a)]===0x0){execIgnoreFailure(_0xb36fdf(_0x3610eb._0x1c3a24,_0x3610eb._0x5475be),['-r']);return;}execFileSync(_0xb36fdf(0x646,_0x3610eb._0x243b53),['-'],{'input':_0x878b8d['join']('\x0a')+'\x0a','encoding':'utf8','stdio':[_0xb36fdf(_0x3610eb._0x33bf69,0x42b),_0xb36fdf(0x57d,0x36d),'ignore']});}function resolveScriptPath(_0x4cc874){const _0x248eae={_0x27e9f9:0x94,_0x189f39:0x475},_0x1f7709={_0x15d917:0x9b},_0x207c47={_0x2cd267:0x585},_0x59e4f8={'IGqOT':function(_0x1d7fad,_0x255d6e){return _0x1d7fad(_0x255d6e);}};function _0x16e94e(_0x5a3f85,_0x45f76d){return _0x528821(_0x45f76d,_0x5a3f85-_0x207c47._0x2cd267);}const _0x530084=_0x4cc874?.[_0x3790df(-_0x248eae._0x27e9f9,0x1b4)]()||process[_0x3790df(0x6f7,_0x248eae._0x189f39)][0x1]?.['trim']()||'';if(!_0x530084)return'';function _0x3790df(_0x3a918d,_0x4c2036){return _0x528821(_0x3a918d,_0x4c2036-_0x1f7709._0x15d917);}try{return _0x59e4f8[_0x16e94e(0x81e,0x667)](realpathSync,_0x530084);}catch{return _0x530084;}}function ensureLaunchScriptExecutable(_0x26c37e,_0x19583d){if(_0x19583d==='win32'||!_0x22e4ca(_0x26c37e))return;try{chmodSync(_0x26c37e,0x1ed);}catch{}}function writeServiceLauncher(_0x69b442){const _0x2e68fb={_0xe748c4:0x17d,_0x41e7eb:0x96,_0x1eaacb:0x257,_0x2a2f7c:0xf5,_0xfa9e4c:0x15a,_0x599e9b:0x39,_0x40cc82:0x3d,_0x1b06b8:0x541,_0x436bc8:0x2e3,_0x26e244:0x161,_0x4b1522:0x17b,_0x4d57ad:0xbd,_0x5f54eb:0x15,_0x4e4440:0x32b,_0x522b64:0x30d,_0x51dfbe:0xea,_0x33bae8:0xb1,_0x4c5dbe:0x126,_0x5ec896:0x426,_0x199aa5:0xba,_0x1eb491:0x30b,_0x367d28:0x25f,_0xf3a9ae:0xf9,_0x2d8253:0x160,_0x521d09:0x2d,_0x1384f7:0x36,_0x5c6896:0x283,_0x258556:0x1c1,_0x2b3dfe:0x14,_0x395200:0xb4,_0x4e77fc:0x5b};function _0x16d24c(_0x3157f0,_0x4f2eef){return _0x528821(_0x4f2eef,_0x3157f0- -0x68);}const _0x44e2b5={'aceBC':function(_0x5f3da6,_0x197bee){return _0x5f3da6(_0x197bee);},'cXVCN':'if\x20[\x20-x\x20'+_0x16d24c(-0x7f,-_0x2e68fb._0xe748c4)+'ATH\x22\x20];\x20'+'then','yQTsa':_0x1d1bc4(_0x2e68fb._0x41e7eb,0x211),'bwvLM':function(_0x68b388,_0x3aa029,_0x16d0bd,_0x164b83){return _0x68b388(_0x3aa029,_0x16d0bd,_0x164b83);}};ensureServiceDirs();const _0x1db81c=['#!/bin/s'+'h','export\x20P'+_0x1d1bc4(_0x2e68fb._0x1eaacb,0x161)+_0x44e2b5[_0x16d24c(-0xdd,-0x222)](escapeShellDoubleQuoted,_0x69b442[_0x1d1bc4(-_0x2e68fb._0x2a2f7c,0x59)])+'\x22',_0x1d1bc4(-_0x2e68fb._0xfa9e4c,-0xc4)+_0x1d1bc4(0x138,-0x8c)+escapeShellDoubleQuoted(_0x69b442[_0x16d24c(_0x2e68fb._0x599e9b,-_0x2e68fb._0x40cc82)])+'\x22',_0x1d1bc4(_0x2e68fb._0x1b06b8,0x3a5)+_0x1d1bc4(_0x2e68fb._0x436bc8,_0x2e68fb._0x26e244)+_0x44e2b5[_0x1d1bc4(-_0x2e68fb._0x4b1522,0x3)](escapeShellDoubleQuoted,_0x69b442['scriptPa'+'th'])+'\x22',_0x44e2b5['cXVCN'],_0x1d1bc4(0x390,0x3df)+_0x16d24c(-_0x2e68fb._0x4d57ad,-_0x2e68fb._0x5f54eb)+'TH\x22\x20\x22$SC'+_0x1d1bc4(_0x2e68fb._0x4e4440,_0x2e68fb._0x522b64)+'H\x22\x20run\x20-'+_0x16d24c(-0xc6,0xa9),'fi',_0x16d24c(0xfd,-_0x2e68fb._0x51dfbe)+_0x1d1bc4(-0x1a2,_0x2e68fb._0x33bae8)+'de\x20>/dev'+_0x1d1bc4(0x15f,-0x33)+_0x16d24c(-0x19b,-0x19b),_0x1d1bc4(_0x2e68fb._0x4c5dbe,0x2ff)+_0x1d1bc4(0x59d,_0x2e68fb._0x5ec896)+'RIPT_PAT'+_0x16d24c(_0x2e68fb._0x199aa5,0x1b2)+_0x16d24c(-0xc6,-_0x2e68fb._0x599e9b),'fi',_0x16d24c(-0x7a,0x72)+_0x1d1bc4(0x201,_0x2e68fb._0x1eb491)+_0x1d1bc4(-0x29,_0x2e68fb._0x367d28)+_0x16d24c(-0xe8,-0x15b)+_0x16d24c(-0x1d,-_0x2e68fb._0xf3a9ae)+'\x20Bridge\x20'+_0x16d24c(-_0x2e68fb._0x2d8253,_0x2e68fb._0x521d09)+'\x20>&2',_0x44e2b5[_0x1d1bc4(_0x2e68fb._0x1384f7,_0x2e68fb._0x5c6896)],''];function _0x1d1bc4(_0x1ff416,_0x205be7){return _0x528821(_0x1ff416,_0x205be7-0x78);}return _0x44e2b5[_0x16d24c(0x220,0x1c1)](_0x3a1061,SERVICE_LAUNCHER_PATH,_0x1db81c[_0x1d1bc4(_0x2e68fb._0x258556,-_0x2e68fb._0x2b3dfe)]('\x0a'),_0x1d1bc4(-_0x2e68fb._0x395200,-_0x2e68fb._0x4e77fc)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x50fccf){const _0x4d1c88={_0x4cea6c:0x273};function _0x3f67d0(_0x3193d2,_0x17082e){return _0x684713(_0x17082e,_0x3193d2- -0xa9);}function _0x28dfba(_0x3ab8f2,_0xe9e190){return _0x684713(_0xe9e190,_0x3ab8f2- -_0x4d1c88._0x4cea6c);}return _0x50fccf['replaceA'+'ll']('\x5c','\x5c\x5c')[_0x28dfba(-0x9a,0x113)+'ll']('\x22','\x5c\x22')[_0x28dfba(-0x9a,-0x28f)+'ll']('$','\x5c$')['replaceA'+'ll']('`','\x5c`');}function escapeShellWord(_0x171214){const _0x5c11a={_0x372dce:0x678,_0x4bc2f7:0x4c0,_0x24683e:0x269},_0x50501b={_0x452af3:0x26c};function _0x19fb59(_0x8620c1,_0x3b2542){return _0x684713(_0x3b2542,_0x8620c1- -0x10e);}function _0x485c7c(_0x337eb3,_0x38b905){return _0x684713(_0x337eb3,_0x38b905-_0x50501b._0x452af3);}if(_0x171214[_0x485c7c(_0x5c11a._0x372dce,0x3fe)]===0x0)return'\x27\x27';return'\x27'+_0x171214['replaceA'+'ll']('\x27',_0x19fb59(_0x5c11a._0x4bc2f7,_0x5c11a._0x24683e))+'\x27';}function buildWindowsRunCommand(_0x54e9f6){const _0x54e9be={_0x3a434d:0x1d4,_0x243e74:0x95};function _0x4c06d2(_0x533923,_0x335f88){return _0x684713(_0x335f88,_0x533923-0x358);}function _0x33a7d2(_0x99c98c,_0x138c43){return _0x684713(_0x138c43,_0x99c98c- -0x2ab);}return _0x54e9f6[_0x33a7d2(-0xe3,-_0x54e9be._0x3a434d)](escapeWindowsArg)[_0x33a7d2(-_0x54e9be._0x243e74,-0x1a)]('\x20');}function ensureServiceDirs(){const _0x3abc57={_0x5ee33a:0x1b0},_0x3605ee={_0x1573a8:0x126},_0xf5712f={'qEgZA':function(_0x3c65cb,_0x8b7713,_0xcfb3ed){return _0x3c65cb(_0x8b7713,_0xcfb3ed);}},_0x38a4a3={};_0x38a4a3['recursiv'+'e']=!![];function _0x48e94b(_0x2ac520,_0x5781aa){return _0x684713(_0x5781aa,_0x2ac520- -_0x3605ee._0x1573a8);}_0xf5712f['qEgZA'](_0x22e22c,SERVICE_DIR,_0x38a4a3);const _0x4c7500={};_0x4c7500[_0x48e94b(_0x3abc57._0x5ee33a,0x27)+'e']=!![],_0x22e22c(LOG_DIR,_0x4c7500);}function escapeXml(_0x98c516){const _0x1099fc={_0x16f05d:0x69,_0x1f56d0:0x132,_0x5aeadc:0x3b4,_0x4f8b93:0x445,_0x2e94c3:0x4a2,_0x147a5f:0x184,_0x1bb094:0xbf,_0x46afc5:0x78c,_0x43a9c3:0x4ee,_0x638d0d:0x1a3},_0x31f377={_0x47e942:0x11a},_0x2f5110={_0x27ea90:0x2c};function _0x142375(_0x25fd26,_0x4894ef){return _0x684713(_0x4894ef,_0x25fd26-_0x2f5110._0x27ea90);}function _0x5e367e(_0x538b48,_0x3e9117){return _0x684713(_0x538b48,_0x3e9117- -_0x31f377._0x47e942);}return _0x98c516['replaceA'+'ll']('&',_0x5e367e(-_0x1099fc._0x16f05d,_0x1099fc._0x1f56d0))[_0x142375(0x205,-0x6e)+'ll']('<','&lt;')[_0x142375(0x205,_0x1099fc._0x5aeadc)+'ll']('>',_0x5e367e(_0x1099fc._0x4f8b93,_0x1099fc._0x2e94c3))[_0x5e367e(-_0x1099fc._0x147a5f,_0x1099fc._0x1bb094)+'ll']('\x22',_0x5e367e(_0x1099fc._0x46afc5,_0x1099fc._0x43a9c3))[_0x5e367e(-_0x1099fc._0x638d0d,0xbf)+'ll']('\x27','&apos;');}function escapeSystemdArg(_0x48ae9e){const _0x1546e2={_0x46972d:0x517,_0x32486a:0x45f};function _0x385817(_0x3e5393,_0x4292ac){return _0x684713(_0x3e5393,_0x4292ac-0x286);}function _0x2d0593(_0x15cf21,_0x2b89b2){return _0x684713(_0x15cf21,_0x2b89b2-0x251);}return'\x22'+_0x48ae9e[_0x385817(_0x1546e2._0x46972d,_0x1546e2._0x32486a)+'ll']('\x5c','\x5c\x5c')[_0x2d0593(0x615,0x42a)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x1e35a9){const _0xd0f989={_0x5ef463:0x84};function _0x6edf22(_0x987048,_0x4bbc22){return _0x528821(_0x987048,_0x4bbc22- -_0xd0f989._0x5ef463);}return'\x22'+_0x1e35a9[_0x6edf22(-0x1ea,-0x14d)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x3f9e76,_0x10ad69){const _0x66c75d={_0x472e67:0x490},_0x5d9c11={_0x37c18a:0xf},_0x4b8682={_0x1712c3:0x549};function _0x3c1825(_0x4b3a13,_0x4a3c69){return _0x528821(_0x4b3a13,_0x4a3c69-_0x4b8682._0x1712c3);}function _0xa6c3e8(_0x233b68,_0x4c6bcc){return _0x528821(_0x233b68,_0x4c6bcc- -_0x5d9c11._0x37c18a);}try{const _0x4ab7a5={};return _0x4ab7a5[_0x3c1825(0x6b5,0x564)]=_0xa6c3e8(_0x66c75d._0x472e67,0x324),execFileSync(_0x3f9e76,_0x10ad69,_0x4ab7a5),!![];}catch{return![];}}function commandExists(_0x5723fc){const _0x3ad985={_0x65e977:0x596,_0x4b6ed5:0x8ce,_0x4c290a:0x3c6,_0x363aa2:0x5db,_0x392353:0x5b8};function _0x5af333(_0x410f5b,_0x14eca3){return _0x528821(_0x14eca3,_0x410f5b- -0xa9);}const _0x395e6f={'ILbwb':_0x3d4dd9(_0x3ad985._0x65e977,0x72d),'DWOpU':_0x3d4dd9(0x817,_0x3ad985._0x4b6ed5),'NIkAa':function(_0x1a1b28,_0x33ee2a,_0x1b0c03){return _0x1a1b28(_0x33ee2a,_0x1b0c03);},'jWpqV':function(_0x356a64,_0x1f49b9){return _0x356a64(_0x1f49b9);}};if(process[_0x3d4dd9(_0x3ad985._0x4c290a,_0x3ad985._0x363aa2)]===_0x395e6f['ILbwb'])return commandSucceeds(_0x395e6f[_0x3d4dd9(0x7b7,0x571)],[_0x5723fc]);function _0x3d4dd9(_0x4d74af,_0x571561){return _0x528821(_0x4d74af,_0x571561-0x5af);}return _0x395e6f[_0x3d4dd9(_0x3ad985._0x392353,0x733)](commandSucceeds,'sh',['-c','command\x20'+'-v\x20'+_0x395e6f[_0x3d4dd9(0x7f5,0x5d2)](escapeShellWord,_0x5723fc)]);}function execIgnoreFailure(_0x39f378,_0x39ee44){const _0x16a1ac={_0x295b51:0x1,_0x2ffba1:0x2c4,_0x1cbc8b:0x511,_0x4bf9df:0xc1};function _0x4f4219(_0x22f6e9,_0x543a8a){return _0x684713(_0x22f6e9,_0x543a8a- -0xc4);}const _0x5f33ea={'juAUf':function(_0x1766a6,_0x8e551,_0x1f823f,_0x1a1a4d){return _0x1766a6(_0x8e551,_0x1f823f,_0x1a1a4d);}};function _0x2dfbf8(_0x62a025,_0xac5642){return _0x684713(_0x62a025,_0xac5642- -0x2bc);}try{const _0x9d9d2f={};_0x9d9d2f[_0x2dfbf8(-0xb0,_0x16a1ac._0x295b51)]=_0x4f4219(_0x16a1ac._0x2ffba1,_0x16a1ac._0x1cbc8b),_0x5f33ea[_0x2dfbf8(-0x8,_0x16a1ac._0x4bf9df)](execFileSync,_0x39f378,_0x39ee44,_0x9d9d2f);}catch{}}function rmIfExists(_0x2b9941){const _0x5b67f6={_0x2e3fd8:0x56e,_0x5656c0:0x4c6},_0x531513={_0x45d168:0x98},_0x31ea42={_0x3adaab:0x28b},_0x204a2d={'Mjldp':function(_0x8b5425,_0x32c655){return _0x8b5425(_0x32c655);}};if(!_0x204a2d[_0x27353d(_0x5b67f6._0x2e3fd8,_0x5b67f6._0x5656c0)](_0x22e4ca,_0x2b9941))return;const _0x307166={};function _0x45d331(_0x5ca3d1,_0x11bd8c){return _0x684713(_0x11bd8c,_0x5ca3d1-_0x31ea42._0x3adaab);}function _0x27353d(_0x54e4e8,_0x227728){return _0x684713(_0x227728,_0x54e4e8- -_0x531513._0x45d168);}_0x307166[_0x27353d(0x27a,0x8c)]=!![],_0x47fb0b(_0x2b9941,_0x307166);}function isMissingCrontabError(_0x20b9bb){const _0x376067={_0x3adad3:0x646,_0x56f4ab:0x8ab,_0xc47505:0x29c,_0x155c93:0x972,_0x39f713:0xa41,_0x233d98:0x20f,_0x1e711f:0x5fb,_0x3b0047:0x2bd,_0x428014:0x447,_0x1252f0:0x1dd,_0x4a51e2:0x5ff,_0x24e239:0x41c,_0x138082:0x4e3,_0xd210b:0x5cd,_0xa4f3b7:0x5ac,_0x4eabf7:0x956},_0x4cbedd={};_0x4cbedd[_0x592e29(0x4ad,_0x376067._0x3adad3)]=_0xf71dc1(_0x376067._0x56f4ab,0x829)+_0x592e29(0x111,_0x376067._0xc47505);const _0x21407e=_0x4cbedd;if(!(_0x20b9bb instanceof Error))return![];function _0xf71dc1(_0x560f3b,_0x276285){return _0x684713(_0x276285,_0x560f3b-0x2ec);}function _0x592e29(_0x11105d,_0x103c51){return _0x684713(_0x11105d,_0x103c51- -0x24);}const _0x1e0fbf=_0x20b9bb[_0xf71dc1(_0x376067._0x155c93,_0x376067._0x39f713)][_0x592e29(_0x376067._0x233d98,0x1dd)+'ase'](),_0x1a3fe6=_0x20b9bb[_0xf71dc1(_0x376067._0x1e711f,0x59f)],_0x22654c=typeof _0x1a3fe6===_0x592e29(0x44e,_0x376067._0x3b0047)?_0x1a3fe6[_0x592e29(_0x376067._0x428014,_0x376067._0x1252f0)+'ase']():Buffer[_0x592e29(0x11a,0x23a)](_0x1a3fe6)?_0x1a3fe6[_0x592e29(_0x376067._0x4a51e2,_0x376067._0x24e239)](_0xf71dc1(0x4bb,_0x376067._0x138082))[_0x592e29(0x37e,0x1dd)+_0xf71dc1(0x607,0x617)]():'';return _0x1e0fbf[_0x592e29(0x823,_0x376067._0xd210b)]('no\x20cront'+_0xf71dc1(_0x376067._0xa4f3b7,0x533))||_0x22654c[_0x592e29(0x6cb,0x5cd)](_0x21407e[_0xf71dc1(_0x376067._0x4eabf7,0xab6)]);}function formatError(_0xd4ba68){const _0x267536={_0x3f9848:0x139};function _0x1aba8b(_0xda1752,_0xd079fa){return _0x528821(_0xda1752,_0xd079fa-_0x267536._0x3f9848);}if(_0xd4ba68 instanceof Error&&_0xd4ba68[_0x1aba8b(0x59d,0x51d)])return _0xd4ba68['message'];return String(_0xd4ba68);}import{existsSync as _0x7e355a,readFileSync as _0x52332c}from'fs';import{homedir as _0x57c419}from'os';import{join as _0x42f23c}from'path';var DEFAULT_GATEWAY_URL=_0x684713(0x6dd,0x4cd)+_0x528821(0x239,0x257)+_0x684713(0x28a,0x23f);function resolveGatewayUrl(_0x4e9b3c){const _0x39574e={_0x514895:0x2a4,_0x360426:0x326,_0x447f7d:0x331,_0x2209a5:0x4f3,_0xaaeb86:0x140,_0x2051ad:0x28e,_0x28c2ff:0x3ed,_0x515315:0x438,_0x321dfa:0x5b1,_0x2ea4f0:0x754},_0x3fdd77={_0x4b9fd5:0x29},_0x2d306e=_0x4e9b3c?.[_0x444249(_0x39574e._0x514895,_0x39574e._0x360426)]();if(_0x2d306e)return _0x2d306e;const _0x2189a5=readOpenClawInfo();if(typeof _0x2189a5[_0x444249(0x9f,_0x39574e._0x447f7d)+_0x444249(0x321,_0x39574e._0x2209a5)]===_0x444249(_0x39574e._0xaaeb86,_0x39574e._0x2051ad))return _0x444249(_0x39574e._0x28c2ff,_0x39574e._0x515315)+'.0.0.1:'+_0x2189a5[_0xc212bb(0x3ef,0x317)+_0xc212bb(_0x39574e._0x321dfa,_0x39574e._0x2ea4f0)];function _0x444249(_0x52d1a9,_0x31f6ac){return _0x684713(_0x52d1a9,_0x31f6ac- -0x95);}function _0xc212bb(_0x3ab9c6,_0x384592){return _0x684713(_0x384592,_0x3ab9c6-_0x3fdd77._0x4b9fd5);}return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x40525b={_0xc0e818:0x322,_0x591605:0x524,_0x5a255d:0x367,_0x450f76:0x605,_0x4b43d8:0x4aa,_0x5583bd:0x1bf,_0x3a3079:0x3a9,_0x304c7a:0x61a,_0x1fa570:0x571,_0x1dc523:0x215,_0x4e2a8f:0x3f7,_0x2ecac9:0x61a,_0x54b8d5:0x2f1,_0x56ff8c:0x557,_0x4dfb3c:0x134,_0x5cbbbf:0x15,_0x5c8066:0x34d,_0x16e9c3:0x3b7,_0x302b25:0x5a8,_0x415e60:0x241,_0x30e04f:0x487},_0x2b9c4e={_0x1b976f:0x30a},_0x593620={'fpcnj':function(_0x4d43b9,_0x14c8ad){return _0x4d43b9(_0x14c8ad);},'Tdnaq':_0x1e9503(0x513,_0x40525b._0xc0e818),'Gwkjd':function(_0x28667a){return _0x28667a();}};function _0x314bdc(_0x3ac547,_0x1d36e4){return _0x528821(_0x1d36e4,_0x3ac547-0x229);}const _0x5699fe=resolveOpenClawPaths();if(!_0x593620['fpcnj'](_0x7e355a,_0x5699fe[_0x314bdc(_0x40525b._0x591605,0x4a2)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};function _0x1e9503(_0x254ec1,_0x446fbd){return _0x528821(_0x254ec1,_0x446fbd-_0x2b9c4e._0x1b976f);}try{const _0x175323=JSON[_0x1e9503(0x22d,0x45d)](_0x52332c(_0x5699fe[_0x1e9503(_0x40525b._0x5a255d,_0x40525b._0x450f76)+'th'],'utf8')),_0x310164=_0x175323['gateway']?.[_0x1e9503(0x531,0x6eb)],_0x4b7f81=typeof _0x310164==='number'&&Number['isIntege'+'r'](_0x310164)?_0x310164:null,_0x440db6=_0x175323[_0x314bdc(_0x40525b._0x4b43d8,0x6a1)]?.[_0x1e9503(_0x40525b._0x5583bd,0x215)]?.[_0x1e9503(_0x40525b._0x3a3079,_0x40525b._0x304c7a)]===_0x1e9503(0x2f5,0x2f1)||_0x175323[_0x1e9503(_0x40525b._0x1fa570,0x58b)]?.[_0x1e9503(0x74,_0x40525b._0x1dc523)]?.['mode']===_0x593620[_0x1e9503(0x673,0x583)]?_0x175323['gateway'][_0x314bdc(0x134,0x32f)][_0x1e9503(_0x40525b._0x4e2a8f,_0x40525b._0x2ecac9)]:null,_0x25cdad=readConfiguredSecret(_0x175323['gateway']?.[_0x314bdc(0x134,-0xb0)]?.[_0x1e9503(0x4e9,_0x40525b._0x54b8d5)])??_0x593620['Gwkjd'](readGatewayTokenEnv),_0x51c2bb=_0x593620[_0x314bdc(_0x40525b._0x56ff8c,0x51f)](readConfiguredSecret,_0x175323['gateway']?.[_0x314bdc(_0x40525b._0x4dfb3c,_0x40525b._0x5cbbbf)]?.['password'])??readGatewayPasswordEnv(),_0x288004={};return _0x288004[_0x1e9503(0x358,0x418)+'und']=!![],_0x288004[_0x314bdc(_0x40525b._0x5c8066,_0x40525b._0x16e9c3)+_0x314bdc(0x50f,_0x40525b._0x302b25)]=_0x4b7f81,_0x288004['authMode']=_0x440db6,_0x288004['token']=_0x25cdad,_0x288004[_0x314bdc(_0x40525b._0x415e60,0x22)]=_0x51c2bb,_0x288004;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':_0x593620[_0x314bdc(_0x40525b._0x30e04f,0x296)](readGatewayTokenEnv),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x5367d0={_0x5dd507:0x3aa,_0x2207cf:0x81b,_0x411329:0x141,_0x352c9e:0x85,_0x5a5895:0x6a7,_0x30d170:0x535,_0x1a49ce:0x4ef,_0x453f9d:0x2b2,_0x2c4998:0x141,_0x1e3455:0x7d0,_0x4c1e3a:0x76e,_0x18933e:0x1c8,_0x157203:0x549,_0x1b7ca9:0x4d,_0x1cb3dd:0x50b,_0x60e27a:0x3e,_0x472b8d:0x21e,_0x2ed60d:0x32,_0x382fc3:0x5fc,_0x45aa86:0x54e,_0x2e1d6d:0x506,_0x24aebe:0x431,_0x2aeccd:0x605,_0x5cbc22:0x141,_0x3d7796:0x7e5,_0x4dbdf4:0xf1,_0x384e51:0x230,_0x5b3e24:0x3fd,_0x21d32a:0x678,_0x591928:0x343,_0x134cf2:0x3ca},_0x276a38={};_0x276a38[_0x5cb6a3(0x4ef,_0x5367d0._0x5dd507)]=function(_0x3e0058,_0x2e00c6){return _0x3e0058==_0x2e00c6;},_0x276a38[_0x30f24e(_0x5367d0._0x2207cf,0x597)]=_0x5cb6a3(_0x5367d0._0x411329,-_0x5367d0._0x352c9e);const _0x431fc4=_0x276a38,_0x4b7549=readOpenClawInfo();function _0x5cb6a3(_0xc8efa6,_0x21e7cf){return _0x528821(_0x21e7cf,_0xc8efa6-0x15a);}const _0x13d06d=_0x4b7549[_0x30f24e(0x43f,0x504)],_0xc9cb12=_0x4b7549[_0x30f24e(_0x5367d0._0x5a5895,_0x5367d0._0x30d170)];if(_0x13d06d&&_0xc9cb12&&_0x431fc4[_0x5cb6a3(_0x5367d0._0x1a49ce,_0x5367d0._0x453f9d)](_0x4b7549['authMode'],null)){const _0x11ef93={};return _0x11ef93[_0x30f24e(0x6fe,0x504)]=_0x13d06d,_0x11ef93['password']=_0xc9cb12,_0x11ef93['label']=_0x5cb6a3(_0x5367d0._0x2c4998,-0x93),_0x11ef93[_0x30f24e(_0x5367d0._0x1e3455,_0x5367d0._0x4c1e3a)]=_0x5cb6a3(0xbb,_0x5367d0._0x18933e)+_0x5cb6a3(_0x5367d0._0x157203,0x353)+'h\x20gatewa'+_0x5cb6a3(_0x5367d0._0x1b7ca9,0xa1)+'and\x20pass'+_0x5cb6a3(_0x5367d0._0x1cb3dd,0x719)+_0x5cb6a3(0xe3,-0x5f)+_0x5cb6a3(_0x5367d0._0x60e27a,_0x5367d0._0x472b8d)+'eway.aut'+'h.mode\x20i'+_0x5cb6a3(0x4b6,0x60a)+'\x20Set\x20the'+'\x20mode\x20to'+'\x20token\x20o'+_0x5cb6a3(0xa5,-_0x5367d0._0x2ed60d)+_0x30f24e(_0x5367d0._0x382fc3,0x470)+'e\x20pairin'+'g.',_0x11ef93;}if(_0x4b7549['authMode']===_0x30f24e(0x3d0,0x535)){const _0x5109e7={};return _0x5109e7[_0x30f24e(_0x5367d0._0x45aa86,0x504)]=null,_0x5109e7['password']=null,_0x5109e7[_0x30f24e(_0x5367d0._0x2e1d6d,0x4b4)]=null,_0xc9cb12?{'token':null,'password':_0xc9cb12,'label':_0x30f24e(_0x5367d0._0x24aebe,_0x5367d0._0x30d170)}:_0x5109e7;}if(_0x4b7549[_0x30f24e(_0x5367d0._0x2aeccd,0x65f)]===_0x5cb6a3(_0x5367d0._0x5cbc22,0x346)){const _0xd6c461={};return _0xd6c461['token']=null,_0xd6c461['password']=null,_0xd6c461[_0x5cb6a3(0xf1,-0x169)]=null,_0x13d06d?{'token':_0x13d06d,'password':null,'label':_0x431fc4[_0x30f24e(_0x5367d0._0x3d7796,0x597)]}:_0xd6c461;}if(_0x13d06d){const _0x2d189e={};return _0x2d189e['token']=_0x13d06d,_0x2d189e[_0x5cb6a3(0x172,-0x33)]=null,_0x2d189e[_0x5cb6a3(_0x5367d0._0x4dbdf4,_0x5367d0._0x384e51)]=_0x431fc4[_0x5cb6a3(0x1d4,_0x5367d0._0x5b3e24)],_0x2d189e;}if(_0xc9cb12){const _0x54dd65={};return _0x54dd65[_0x5cb6a3(0x141,-0x63)]=null,_0x54dd65[_0x30f24e(_0x5367d0._0x21d32a,_0x5367d0._0x30d170)]=_0xc9cb12,_0x54dd65['label']=_0x5cb6a3(0x172,_0x5367d0._0x591928),_0x54dd65;}const _0x4b37fd={};function _0x30f24e(_0x55ef25,_0x3fe24f){return _0x528821(_0x55ef25,_0x3fe24f-0x51d);}return _0x4b37fd[_0x5cb6a3(0x141,_0x5367d0._0x134cf2)]=null,_0x4b37fd['password']=null,_0x4b37fd[_0x5cb6a3(0xf1,0x1f6)]=null,_0x4b37fd;}function getOpenClawConfigDir(){const _0xd36308={_0x7bfc3d:0x10a};function _0x138dc1(_0x298b0a,_0x483413){return _0x528821(_0x298b0a,_0x483413- -_0xd36308._0x7bfc3d);}return resolveOpenClawPaths()[_0x138dc1(0x90,0x77)+'r'];}function getOpenClawMediaDir(){const _0x1af96a={_0x520ab1:0x1ed};function _0x12fa1c(_0xab47d4,_0x48def2){return _0x684713(_0x48def2,_0xab47d4- -0x1be);}return resolveOpenClawPaths()[_0x12fa1c(_0x1af96a._0x520ab1,-0xb5)];}function readConfiguredSecret(_0xdf0ed5){const _0x230a78={_0x331243:0x57f,_0xcfe303:0x393,_0x4faafd:0x33b,_0xc2d1e7:0x13,_0x128c70:0x4b4},_0x26f0a7={_0xafaf7c:0x540};function _0x334675(_0x3f4bf6,_0x490d27){return _0x528821(_0x3f4bf6,_0x490d27-_0x26f0a7._0xafaf7c);}const _0x19ff2d={};_0x19ff2d['tjYeC']=_0x334675(0x6b9,_0x230a78._0x331243);function _0x3287fc(_0xd93f9d,_0x1bc75e){return _0x528821(_0x1bc75e,_0xd93f9d-0x134);}const _0xaecc47=_0x19ff2d;return typeof _0xdf0ed5===_0xaecc47[_0x3287fc(_0x230a78._0xcfe303,_0x230a78._0x4faafd)]&&_0xdf0ed5[_0x3287fc(0x24d,-_0x230a78._0xc2d1e7)]()?_0xdf0ed5[_0x334675(_0x230a78._0x128c70,0x659)]():null;}function readGatewayTokenEnv(){const _0x15ef6f={_0xd6c841:0x68d,_0x4e641a:0x73a,_0x1b7c8b:0x5e7,_0x120d3f:0x526,_0x72faa4:0x766,_0x8febb8:0x686},_0x5a0cb7={_0x4bad6d:0x2bc},_0x516c49={_0x46d8ba:0x2a0};function _0x42ff43(_0x489f91,_0x3fb417){return _0x684713(_0x489f91,_0x3fb417-_0x516c49._0x46d8ba);}function _0x570c66(_0x5fe1a0,_0x1eee77){return _0x684713(_0x1eee77,_0x5fe1a0-_0x5a0cb7._0x4bad6d);}return readEnvValue(_0x42ff43(0x4c6,0x475)+_0x42ff43(0x6fc,_0x15ef6f._0xd6c841)+_0x570c66(0x766,0x7f9),_0x42ff43(_0x15ef6f._0x4e641a,_0x15ef6f._0x1b7c8b)+_0x570c66(0x6a9,_0x15ef6f._0x120d3f)+_0x570c66(_0x15ef6f._0x72faa4,_0x15ef6f._0x8febb8));}function readGatewayPasswordEnv(){const _0x3f3af2={_0xb3f97c:0x5f4},_0x2467d5={};function _0x2eb8b5(_0x1d9c6c,_0x2392ed){return _0x684713(_0x2392ed,_0x1d9c6c-0x21b);}function _0xa38407(_0x3e8e29,_0xbe6a3d){return _0x684713(_0xbe6a3d,_0x3e8e29-0x207);}_0x2467d5[_0x2eb8b5(0x3bf,0x5a5)]=_0xa38407(0x54e,0x654)+_0xa38407(_0x3f3af2._0xb3f97c,0x510)+_0xa38407(0x4ec,0x725)+'D';const _0x40e52c=_0x2467d5;return readEnvValue(_0xa38407(0x3dc,0x55d)+'_GATEWAY'+'_PASSWOR'+'D',_0x40e52c['dVkyi']);}function readEnvValue(_0x487872,_0x1ad76f){const _0x28ffa3=process.env[_0x487872]?.['trim']();function _0x289653(_0x12d32d,_0x4a4dc9){return _0x528821(_0x4a4dc9,_0x12d32d- -0x9e);}if(_0x28ffa3)return _0x28ffa3;const _0x459832=process.env[_0x1ad76f]?.[_0x289653(0x7b,0xc7)]();return _0x459832||null;}function resolveOpenClawPaths(){const _0x5ddfd5={_0x4081ac:0x550},_0x539ae1={_0x25fd95:0x5d6},_0x5c5fef={_0x25b15c:0x176},_0x4ae5fa={'yoOdR':function(_0xfcd318){return _0xfcd318();}};function _0x58fc76(_0x35c464,_0x3230a5){return _0x528821(_0x3230a5,_0x35c464-_0x5c5fef._0x25b15c);}function _0x5d525d(_0x2b92e6,_0x42dfe4){return _0x528821(_0x2b92e6,_0x42dfe4-_0x539ae1._0x25fd95);}const _0x120a79=_0x4ae5fa['yoOdR'](buildOpenClawCandidates);return _0x120a79[_0x5d525d(0x60f,_0x5ddfd5._0x4081ac)](_0x3e4e73=>_0x7e355a(_0x3e4e73[_0x58fc76(0x471,0x5d0)+'th']))??_0x120a79[0x0];}function buildOpenClawCandidates(){const _0x116f08={_0x35f6b5:0x44d,_0x4bab06:0x95,_0x57baf2:0x1a9,_0x73976:0x64,_0x2272f5:0xcf,_0x2a33b0:0x12e,_0x3b25b6:0x76b,_0x46e28a:0x606,_0x4cc57b:0x395,_0x1bc83e:0x2d8},_0x28799e={_0x3fddb0:0x408,_0x192840:0x1fd},_0x1bbfe4={_0x5e837e:0x638},_0x287400={};function _0x3255c9(_0xc40988,_0x1d7e44){return _0x684713(_0xc40988,_0x1d7e44-0x110);}_0x287400[_0x3255c9(_0x116f08._0x35f6b5,0x444)]='.opencla'+'w',_0x287400[_0x253652(-0x11c,-_0x116f08._0x4bab06)]=_0x253652(-0x24c,-0x131);const _0x188bf6=_0x287400,_0x26ff9a=new Set(),_0x11dddd=[_0x57c419(),_0x253652(_0x116f08._0x57baf2,_0x116f08._0x73976)][_0x253652(-_0x116f08._0x2272f5,-0x200)](_0x40ec48=>_0x40ec48[_0x253652(0x2b,-0xd)]())[_0x253652(-0x86,_0x116f08._0x2a33b0)](Boolean)[_0x3255c9(_0x116f08._0x3b25b6,_0x116f08._0x46e28a)](_0x15df55=>{if(_0x26ff9a[_0x30b865(_0x28799e._0x3fddb0,_0x28799e._0x192840)](_0x15df55))return![];function _0x53d8dc(_0x1074ed,_0x33d9e7){return _0x253652(_0x33d9e7,_0x1074ed-_0x1bbfe4._0x5e837e);}function _0x30b865(_0x304475,_0x41e152){return _0x253652(_0x304475,_0x41e152-0x448);}return _0x26ff9a[_0x53d8dc(0x6da,0x834)](_0x15df55),!![];});function _0x253652(_0x335ad2,_0xb7d5a5){return _0x684713(_0x335ad2,_0xb7d5a5- -0x3c8);}return _0x11dddd[_0x3255c9(_0x116f08._0x4cc57b,_0x116f08._0x1bc83e)](_0x2833ce=>{const _0x46222f={_0x147e1c:0x2d},_0x5e0e1d=_0x42f23c(_0x2833ce,_0x188bf6[_0x4ebf23(0x743,0x4be)]);function _0x4ebf23(_0x58dc10,_0x4733b3){return _0x3255c9(_0x58dc10,_0x4733b3-0x7a);}function _0x3a884a(_0x352b1a,_0x166fe7){return _0x3255c9(_0x166fe7,_0x352b1a- -_0x46222f._0x147e1c);}return{'configDir':_0x5e0e1d,'configPath':_0x42f23c(_0x5e0e1d,'openclaw'+'.json'),'mediaDir':_0x42f23c(_0x5e0e1d,_0x188bf6[_0x4ebf23(0x72d,0x4bd)])};});}var CONTROL_PREFIX=_0x528821(-0x5b,0x14)+_0x528821(0x567,0x30a)+_0x528821(0x1ee,0x205)+'_:';function parseControl(_0x4b715e){const _0x1a7fdc={_0x256a42:0x2b5,_0x507684:0x2d0,_0x12a4b7:0x52,_0x330f1d:0x57,_0x39e5aa:0x309,_0x15ebbd:0x4b,_0x326b6a:0x20a,_0x4efdf4:0xe1,_0x5e67c4:0x32b,_0x47d77b:0x486,_0x11a717:0x24c},_0x572fd9={};_0x572fd9['uIfBZ']=function(_0x581787,_0x405afa){return _0x581787===_0x405afa;};const _0x4e672e=_0x572fd9;function _0xae791d(_0x4eaff1,_0x27240e){return _0x684713(_0x27240e,_0x4eaff1- -0x140);}function _0x16fabc(_0x4d0c7e,_0x905079){return _0x684713(_0x4d0c7e,_0x905079- -0xd7);}if(!_0x4b715e['startsWi'+'th'](CONTROL_PREFIX))return null;try{const _0x3042ba=JSON[_0xae791d(_0x1a7fdc._0x256a42,_0x1a7fdc._0x507684)](_0x4b715e['slice'](CONTROL_PREFIX[_0xae791d(_0x1a7fdc._0x12a4b7,-_0x1a7fdc._0x330f1d)]));if(typeof _0x3042ba[_0x16fabc(0x269,_0x1a7fdc._0x39e5aa)]!==_0x16fabc(-_0x1a7fdc._0x15ebbd,_0x1a7fdc._0x326b6a)||!_0x3042ba['event'][_0xae791d(0x27b,0x4ee)]())return null;return{'event':_0x3042ba['event'][_0x16fabc(_0x1a7fdc._0x4efdf4,0x2e4)](),'count':_0x4e672e[_0x16fabc(_0x1a7fdc._0x5e67c4,_0x1a7fdc._0x47d77b)](typeof _0x3042ba[_0xae791d(0x569,0x54a)],_0x16fabc(0x1c9,_0x1a7fdc._0x11a717))&&Number['isFinite'](_0x3042ba['count'])?_0x3042ba[_0xae791d(0x569,0x6b3)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x454a76){const _0x35d0b3={_0x107296:0x8d,_0x3430ca:0x126,_0xf44d8c:0x7c,_0x1d4c73:0x91,_0xf1792b:0x353,_0x212d94:0x26f,_0x24e0e7:0x399,_0x1fc19c:0x3cb,_0x588097:0xf1,_0x301a61:0x13d,_0xadf756:0x288,_0x2f87ae:0x32e,_0x5765d7:0x16f,_0x395735:0x15c,_0x5d6311:0x359,_0x596b08:0x458,_0x555484:0x1b3,_0x50de6c:0x196,_0x31db23:0x421,_0x2236af:0x529,_0x1f7900:0x620,_0x14eb58:0x135},_0x41d2ba={_0xdb841a:0x62},_0x35abe3={_0x427dbd:0x36e},_0x4dae9b={};function _0x14f354(_0x12dd55,_0x1ed761){return _0x684713(_0x1ed761,_0x12dd55- -_0x35abe3._0x427dbd);}_0x4dae9b[_0x14f354(_0x35d0b3._0x107296,_0x35d0b3._0x3430ca)]=function(_0x4a8503,_0x3fc119){return _0x4a8503!==_0x3fc119;};function _0xa3666b(_0x4647af,_0x199102){return _0x684713(_0x4647af,_0x199102- -_0x41d2ba._0xdb841a);}_0x4dae9b[_0x14f354(-0x1cf,_0x35d0b3._0xf44d8c)]=_0x14f354(0x186,0x15f)+_0x14f354(-0x154,-0x2ca),_0x4dae9b[_0x14f354(-0x19d,-_0x35d0b3._0x1d4c73)]=function(_0x2e1266,_0x580a74){return _0x2e1266===_0x580a74;};const _0x43f016=_0x4dae9b;try{const _0x1e66f0=JSON[_0xa3666b(0x57e,0x393)](_0x454a76);if(_0x1e66f0['type']!==_0x14f354(0x1ce,_0x35d0b3._0xf1792b))return null;if(_0x1e66f0['method']!=='connect'&&_0x43f016[_0xa3666b(_0x35d0b3._0x212d94,_0x35d0b3._0x24e0e7)](_0x1e66f0[_0x14f354(0x240,_0x35d0b3._0x1fc19c)],_0x43f016[_0xa3666b(_0x35d0b3._0x588097,_0x35d0b3._0x301a61)]))return null;const _0x1b6ef2=_0x1e66f0[_0x14f354(_0x35d0b3._0xadf756,0x40d)]??{},_0x56314f=_0x43f016[_0xa3666b(_0x35d0b3._0x2f87ae,_0x35d0b3._0x5765d7)](typeof _0x1e66f0['id'],_0xa3666b(_0x35d0b3._0x395735,0x27f))&&_0x1e66f0['id'][_0xa3666b(0x2ae,_0x35d0b3._0x5d6311)]()?_0x1e66f0['id'][_0xa3666b(_0x35d0b3._0x596b08,0x359)]():_0xa3666b(0x5a,_0x35d0b3._0x555484)+Math[_0x14f354(-0x1aa,-0x446)]()[_0xa3666b(_0x35d0b3._0x50de6c,0x3de)](0x24)[_0x14f354(0x2f8,_0x35d0b3._0x31db23)](0x2,0xc),_0x4bd1a2=firstString(_0x1b6ef2[_0xa3666b(0x37c,_0x35d0b3._0x2236af)+'me'],_0x1b6ef2[_0xa3666b(0x284,0x135)+'me'],_0x1b6ef2[_0x14f354(-0x157,-0x1ed)],_0xa3666b(0x33a,0x3c6)+_0xa3666b(0x73d,_0x35d0b3._0x1f7900)),_0x48cf03={};return _0x48cf03['id']=_0x56314f,_0x48cf03[_0x14f354(-_0x35d0b3._0x14eb58,-0x1ab)]=_0x4bd1a2,_0x48cf03;}catch{return null;}}function isConnectHandshakeRequest(_0x56456e){const _0x1118da={_0x5d09f9:0x2e3,_0x566ea7:0x62e,_0x575b41:0x3f5,_0x58e9c7:0x62e,_0x223ac3:0x5ae,_0x57760a:0x505,_0x208ba6:0x500,_0x29af97:0x73d,_0x388ffd:0x9bc,_0x11a343:0x3a6},_0x2e64e8={_0x3f8b16:0x431};function _0x506d64(_0x22a150,_0x3db8f6){return _0x528821(_0x3db8f6,_0x22a150-_0x2e64e8._0x3f8b16);}const _0xeb4eba={};function _0x3c09d5(_0x3d9a9d,_0x4495f4){return _0x528821(_0x4495f4,_0x3d9a9d-0x2a2);}_0xeb4eba[_0x3c09d5(0x4ec,_0x1118da._0x5d09f9)]='req',_0xeb4eba[_0x3c09d5(_0x1118da._0x566ea7,0x4dd)]=function(_0x1ed912,_0x4c9090){return _0x1ed912===_0x4c9090;};const _0x40c23d=_0xeb4eba;try{const _0x3e1f25=JSON[_0x3c09d5(_0x1118da._0x575b41,0x33a)](_0x56456e);return _0x3e1f25['type']===_0x40c23d[_0x3c09d5(0x4ec,0x3d8)]&&(_0x40c23d[_0x3c09d5(_0x1118da._0x58e9c7,0x556)](_0x3e1f25[_0x3c09d5(_0x1118da._0x223ac3,_0x1118da._0x57760a)],_0x506d64(0x59d,_0x1118da._0x208ba6))||_0x3e1f25[_0x506d64(_0x1118da._0x29af97,_0x1118da._0x388ffd)]===_0x3c09d5(0x4f4,0x44c)+_0x3c09d5(0x21a,_0x1118da._0x11a343));}catch{return![];}}function parseConnectHandshakeMeta(_0x5f2303){const _0x1c53d5={_0x519b41:0x3ed,_0x4c2522:0x5e2,_0x19e295:0x597,_0x8e22ee:0x454,_0x2fb1a5:0x5f9,_0x333c1c:0x994,_0x43e293:0x9b7,_0xe102fa:0x872,_0xcb6b5:0x54b,_0x13fbe1:0x37d,_0xd3abb5:0x759,_0x3c9cfd:0x4be,_0x60ad90:0x5a6,_0xe1854d:0x530,_0x43c3f7:0x67f,_0x17354a:0x446,_0x39a66e:0x721};function _0xe1d7e8(_0x508574,_0x30642c){return _0x684713(_0x30642c,_0x508574- -0x8);}function _0xca7892(_0x107258,_0x21decc){return _0x684713(_0x21decc,_0x107258-0x39e);}try{const _0x3f922d=JSON[_0xe1d7e8(_0x1c53d5._0x519b41,0x2b7)](_0x5f2303);if(_0x3f922d[_0xe1d7e8(_0x1c53d5._0x4c2522,_0x1c53d5._0x19e295)]!=='req')return null;if(_0x3f922d[_0xca7892(0x94c,0x97a)]!==_0xca7892(0x7ac,0x5e5)&&_0x3f922d[_0xe1d7e8(0x5a6,_0x1c53d5._0x8e22ee)]!==_0xca7892(0x892,_0x1c53d5._0x2fb1a5)+'start')return null;const _0x4d02e7=_0x3f922d[_0xca7892(_0x1c53d5._0x333c1c,0x937)]?.[_0xca7892(_0x1c53d5._0x43e293,_0x1c53d5._0xe102fa)]?.[_0xca7892(0x53b,0x499)],_0x16a4c9=_0x3f922d[_0xca7892(0x994,0x8f4)]?.[_0xca7892(_0x1c53d5._0xcb6b5,_0x1c53d5._0x13fbe1)];return{'id':typeof _0x3f922d['id']==='string'&&_0x3f922d['id'][_0xca7892(_0x1c53d5._0xd3abb5,_0x1c53d5._0x3c9cfd)]()?_0x3f922d['id']['trim']():null,'method':_0x3f922d[_0xe1d7e8(_0x1c53d5._0x60ad90,0x44f)],'noncePresent':typeof _0x4d02e7===_0xca7892(0x67f,0x654)&&_0x4d02e7[_0xca7892(_0x1c53d5._0xe1854d,0x559)]>0x0,'nonceLength':typeof _0x4d02e7===_0xca7892(_0x1c53d5._0x43c3f7,_0x1c53d5._0x17354a)?_0x4d02e7[_0xe1d7e8(0x18a,0x127)]:null,'authFields':_0x16a4c9&&typeof _0x16a4c9===_0xca7892(0x650,_0x1c53d5._0x39a66e)?Object['keys'](_0x16a4c9)['sort']():[]};}catch{return null;}}function parsePairingRequestFromError(_0x4c8365,_0x5a5470=Date['now']()){const _0x5a2797={_0x3eb75f:0x601,_0x2f2ea7:0x81a,_0x12a75c:0xa70,_0x298dac:0x7af,_0xec4134:0x35a,_0x8476ce:0x4d1,_0x3d07d1:0x9e,_0x4b632a:0x4,_0x30b1c6:0x148,_0x166d76:0x723,_0xae7d0e:0x6ee,_0x11a887:0x135,_0x4c54b1:0x8b6,_0x208bd1:0x698,_0x40d641:0x34a,_0x35e2ec:0x8b6,_0x27ab15:0x8f3,_0xd83bb0:0x245,_0x8d0b1:0x821,_0x53b0bf:0x821,_0x59fcd4:0x677,_0x1bdf7:0x147,_0x2398ce:0xa07,_0x4cc214:0x199,_0x47ec77:0x31,_0x40eb1e:0x35a,_0x3ef380:0x555,_0x39a50d:0x85f,_0x3e2d28:0x644,_0x22acc2:0x447,_0x136a8d:0x4a1,_0x501556:0x1ac,_0x41658b:0x441,_0x42fd10:0x135,_0x2438ad:0x348,_0x22f650:0x343,_0xfb769b:0x5a5,_0x39ce05:0x6fb,_0x494e06:0x604,_0x5cee4e:0x54a};function _0x5850e6(_0x3d5a73,_0x132854){return _0x684713(_0x132854,_0x3d5a73-0x230);}function _0xa3f199(_0x49938a,_0x5637e1){return _0x684713(_0x5637e1,_0x49938a- -0x199);}const _0x15121a={'szijb':function(_0x4ceafe,_0x324d73){return _0x4ceafe===_0x324d73;},'PqlrD':_0x5850e6(0x748,_0x5a2797._0x3eb75f),'DKaDK':function(_0x2b5a8c,_0x18ae7e){return _0x2b5a8c(_0x18ae7e);}};try{const _0xff41d=JSON[_0xa3f199(0x25c,0x1f6)](_0x4c8365);if(_0xff41d[_0x5850e6(_0x5a2797._0x2f2ea7,_0x5a2797._0x12a75c)]!=='res'||_0xff41d['ok']!==![]||!_0xff41d['error'])return null;const _0x4496dc=_0x15121a[_0x5850e6(_0x5a2797._0x298dac,0x975)](typeof _0xff41d[_0xa3f199(_0x5a2797._0xec4134,_0x5a2797._0x8476ce)][_0xa3f199(_0x5a2797._0x3d07d1,_0x5a2797._0x4b632a)],_0xa3f199(_0x5a2797._0x30b1c6,0x66))?_0xff41d[_0x5850e6(_0x5a2797._0x166d76,_0x5a2797._0xae7d0e)]['code']:'',_0x4fe511=typeof _0xff41d[_0xa3f199(_0x5a2797._0xec4134,_0x5a2797._0x11a887)][_0x5850e6(_0x5a2797._0x4c54b1,_0x5a2797._0x208bd1)]===_0x5850e6(0x511,0x4c2)?_0xff41d[_0xa3f199(_0x5a2797._0xec4134,_0x5a2797._0x40d641)][_0x5850e6(_0x5a2797._0x35e2ec,_0x5a2797._0x27ab15)]:'';if(!_0x4496dc[_0xa3f199(0x458,_0x5a2797._0xd83bb0)]('NOT_PAIR'+'ED')&&!_0x4496dc[_0x5850e6(_0x5a2797._0x8d0b1,0x9b5)](_0xa3f199(0x29f,0x4f2)+'REQUIRED')&&!_0x4fe511[_0x5850e6(_0x5a2797._0x53b0bf,_0x5a2797._0x59fcd4)](_0xa3f199(_0x5a2797._0x1bdf7,0x154)+'ED')&&!_0x4fe511[_0x5850e6(_0x5a2797._0x53b0bf,_0x5a2797._0x2398ce)]('pairing\x20'+_0xa3f199(_0x5a2797._0x4cc214,-_0x5a2797._0x47ec77)))return null;const _0x433343=_0xff41d[_0xa3f199(_0x5a2797._0x40eb1e,0x501)]['details']??_0xff41d[_0xa3f199(0x35a,0x4fd)][_0x5850e6(0x478,_0x5a2797._0x3ef380)]??{},_0x5b65c5=firstString(_0x433343['requestI'+'d'],extractRequestIdFromMessage(_0x4fe511),_0x15121a[_0x5850e6(_0x5a2797._0x39a50d,_0x5a2797._0x3e2d28)]);return{'requestId':_0x5b65c5,'deviceId':firstString(_0x433343[_0x5850e6(_0x5a2797._0x22acc2,_0x5a2797._0x136a8d)],''),'displayName':firstNullableString(_0x433343['displayN'+_0xa3f199(_0x5a2797._0x501556,_0x5a2797._0x41658b)]),'platform':firstNullableString(_0x433343[_0xa3f199(_0x5a2797._0x42fd10,_0x5a2797._0x2438ad)]),'deviceFamily':firstNullableString(_0x433343[_0xa3f199(_0x5a2797._0x22f650,_0x5a2797._0xfb769b)+_0x5850e6(0x664,_0x5a2797._0x39ce05)]),'role':_0x15121a['DKaDK'](firstNullableString,_0x433343['role']),'remoteIp':firstNullableString(_0x433343[_0x5850e6(_0x5a2797._0x494e06,0x54a)]),'receivedAtMs':_0x5a5470,'status':_0x5850e6(0x785,_0x5a2797._0x5cee4e)};}catch{return null;}}function parsePairResolvedEvent(_0x2835f7){const _0x483c6c={_0x76eee6:0x2ff,_0x377e27:0x1bf,_0x261e58:0x4b1,_0x46f702:0x4b2,_0x209948:0x4e8,_0x1f9432:0xa85,_0x1ef583:0x3ec,_0x45508b:0x593,_0x4d7dba:0x455,_0x503530:0x349,_0x5a1607:0x478,_0x16d5f3:0x614,_0x2e295d:0x681,_0x430e73:0x50f,_0x4171e0:0x375,_0x2563ef:0xaa8},_0x42602b={_0x927e0c:0x56f},_0x2e81ca={_0x4e8989:0x35f},_0x3d2f0a={};function _0x17e0a6(_0x1f7c51,_0x281258){return _0x528821(_0x281258,_0x1f7c51-_0x2e81ca._0x4e8989);}_0x3d2f0a['ROUdM']=function(_0x14da02,_0x475b46){return _0x14da02===_0x475b46;};function _0x22d6c4(_0x363496,_0x4bd144){return _0x528821(_0x4bd144,_0x363496-_0x42602b._0x927e0c);}_0x3d2f0a[_0x17e0a6(_0x483c6c._0x76eee6,_0x483c6c._0x377e27)]=_0x17e0a6(0x39e,0x61b),_0x3d2f0a[_0x17e0a6(0x444,_0x483c6c._0x261e58)]='unknown';const _0x5dd567=_0x3d2f0a;try{const _0x1cc26b=JSON[_0x17e0a6(_0x483c6c._0x46f702,_0x483c6c._0x209948)](_0x2835f7);if(_0x1cc26b[_0x22d6c4(0x8b7,_0x483c6c._0x1f9432)]!==_0x17e0a6(0x49d,_0x483c6c._0x1ef583)||_0x1cc26b[_0x17e0a6(0x49d,0x69a)]!=='device.p'+'air.reso'+_0x17e0a6(0x532,0x52c)||!_0x1cc26b[_0x22d6c4(_0x483c6c._0x45508b,_0x483c6c._0x4d7dba)])return null;const _0x17dd6b=_0x5dd567[_0x22d6c4(0x91a,0x81f)](typeof _0x1cc26b[_0x22d6c4(_0x483c6c._0x45508b,_0x483c6c._0x503530)]['requestI'+'d'],_0x22d6c4(0x5ae,0x520))?_0x1cc26b['payload']['requestI'+'d'][_0x17e0a6(_0x483c6c._0x5a1607,_0x483c6c._0x16d5f3)]():'';if(!_0x17dd6b)return null;const _0xf29036=typeof _0x1cc26b['payload'][_0x17e0a6(0x69b,_0x483c6c._0x2e295d)]===_0x5dd567[_0x22d6c4(_0x483c6c._0x430e73,0x522)]?_0x1cc26b[_0x17e0a6(0x383,_0x483c6c._0x4171e0)]['decision']:_0x22d6c4(0x7e5,0x5b2),_0x4f5d90=_0x5dd567['ROUdM'](_0xf29036,_0x22d6c4(0x820,_0x483c6c._0x2563ef))||_0xf29036===_0x22d6c4(0x434,0x1a5)?_0xf29036:_0x5dd567[_0x22d6c4(0x654,0x480)],_0x202d62={};return _0x202d62['requestI'+'d']=_0x17dd6b,_0x202d62[_0x22d6c4(0x8ab,0x672)]=_0x4f5d90,_0x202d62;}catch{return null;}}function parseResponseEnvelopeMeta(_0x41b003){const _0x265297={_0x12b3a4:0xa1,_0x854edd:0x30e,_0x5714fc:0x2d2,_0x318f70:0x49d,_0x4479bd:0x5ea,_0x437423:0x62d,_0xe53c50:0x3fe,_0x2ab18f:0x18f,_0x4d4146:0x298,_0x1802a4:0x326,_0x15b9cc:0x38a,_0x3de989:0xe0,_0x51dd0c:0x366,_0x4c74a3:0x16a,_0x4d202e:0x2f6,_0x1f46af:0x1f0,_0x392f6c:0x536,_0x579749:0x516,_0x513c9c:0x59c,_0x39a281:0x16f,_0x4bbb43:0x66a,_0x5a0108:0x6c9,_0x30e470:0x23d,_0x4a0b9a:0x92a,_0x52424b:0x37f},_0x2133c3={};_0x2133c3[_0x4ff56e(0x41a,0x42c)]=function(_0x46f6b5,_0x22e62e){return _0x46f6b5!==_0x22e62e;};function _0x4ff56e(_0xb31932,_0x2e54e5){return _0x528821(_0x2e54e5,_0xb31932-0x115);}_0x2133c3[_0x4ff56e(0x156,-_0x265297._0x12b3a4)]=function(_0x94beb6,_0x2cffd9){return _0x94beb6===_0x2cffd9;},_0x2133c3[_0x4ff56e(_0x265297._0x854edd,_0x265297._0x5714fc)]=function(_0x26dc98,_0x3653b3){return _0x26dc98===_0x3653b3;};function _0x1cec24(_0x9f4496,_0x15b284){return _0x528821(_0x9f4496,_0x15b284-0x2e5);}const _0x3fbeaf=_0x2133c3;try{const _0x3ff322=JSON[_0x1cec24(0x4fe,0x438)](_0x41b003);if(_0x3fbeaf[_0x1cec24(_0x265297._0x318f70,_0x265297._0x4479bd)](_0x3ff322[_0x1cec24(0x414,_0x265297._0x437423)],_0x1cec24(0x7b,0x209)))return null;if(typeof _0x3ff322['id']!==_0x4ff56e(0x154,0xb2)||!_0x3ff322['id'][_0x1cec24(0x478,_0x265297._0xe53c50)]())return null;return{'id':_0x3ff322['id'][_0x4ff56e(0x22e,_0x265297._0x2ab18f)](),'ok':_0x3ff322['ok']===!![],'errorCode':_0x3fbeaf[_0x1cec24(_0x265297._0x4d4146,_0x265297._0x1802a4)](typeof _0x3ff322[_0x4ff56e(0x366,_0x265297._0x15b9cc)]?.[_0x1cec24(0x442,0x27a)],_0x1cec24(_0x265297._0x3de989,0x324))&&_0x3ff322[_0x4ff56e(_0x265297._0x51dd0c,_0x265297._0x4c74a3)][_0x1cec24(_0x265297._0x4d202e,0x27a)][_0x1cec24(_0x265297._0x1f46af,0x3fe)]()?_0x3ff322[_0x1cec24(0x398,_0x265297._0x392f6c)]['code'][_0x1cec24(_0x265297._0x579749,_0x265297._0xe53c50)]():null,'errorMessage':_0x3fbeaf[_0x1cec24(_0x265297._0x513c9c,0x4de)](typeof _0x3ff322['error']?.['message'],'string')&&_0x3ff322[_0x4ff56e(0x366,_0x265297._0x39a281)][_0x1cec24(_0x265297._0x4bbb43,_0x265297._0x5a0108)][_0x4ff56e(0x22e,_0x265297._0x30e470)]()?_0x3ff322[_0x1cec24(0x3c8,_0x265297._0x392f6c)][_0x1cec24(_0x265297._0x4a0b9a,_0x265297._0x5a0108)][_0x1cec24(_0x265297._0x52424b,0x3fe)]():null};}catch{return null;}}function firstString(..._0x37b147){const _0x106276={_0x115e5b:0x66d},_0x308964={_0x251946:0x28a},_0x2c724c={_0x4f6eb3:0x38c};function _0x46a235(_0x3bce9e,_0x2713e7){return _0x684713(_0x3bce9e,_0x2713e7-_0x2c724c._0x4f6eb3);}function _0x44856c(_0x325b1c,_0xd4f105){return _0x684713(_0x325b1c,_0xd4f105-_0x308964._0x251946);}for(const _0x1b477d of _0x37b147){if(typeof _0x1b477d===_0x46a235(0x7e9,_0x106276._0x115e5b)&&_0x1b477d[_0x44856c(0x7e5,0x645)]())return _0x1b477d[_0x44856c(0x8c9,0x645)]();}return'';}function firstNullableString(_0x2cbebf){const _0x450bd4={_0x52066f:0x744,_0x46aa7d:0x925};function _0x22cc27(_0xebafcd,_0x290779){return _0x528821(_0xebafcd,_0x290779-0x64b);}function _0x5eb380(_0x165813,_0x310c0d){return _0x528821(_0x310c0d,_0x165813-0x1b7);}return typeof _0x2cbebf===_0x22cc27(_0x450bd4._0x52066f,0x68a)&&_0x2cbebf[_0x22cc27(_0x450bd4._0x46aa7d,0x764)]()?_0x2cbebf[_0x5eb380(0x2d0,0x3a5)]():null;}function extractRequestIdFromMessage(_0x3814e5){const _0x421d51={_0x4315ce:0x84e,_0x4130da:0x828},_0x47f6ad={_0x49ed02:0x523},_0x3bb5e5=_0x3814e5[_0x2e6dc6(_0x421d51._0x4315ce,_0x421d51._0x4130da)](/requestId[:\s]*([a-f0-9-]+)/i);function _0x2e6dc6(_0x15efee,_0x22068d){return _0x528821(_0x22068d,_0x15efee-_0x47f6ad._0x49ed02);}return _0x3bb5e5?.[0x1]??null;}import{randomUUID as _0x3bb91d}from'crypto';import{setTimeout as _0x3b1bd0}from'timers/promises';import _0x36f378 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,RECONNECT_BASE_DELAY_MS=0x3e8,RECONNECT_MAX_DELAY_MS=0x3a98,CONNECT_HANDSHAKE_WARN_DELAY_MS=0x1f40,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x528821(0x423,0x35a)];['relaySoc'+_0x528821(0x3ab,0x3ee)]=null;['gatewayS'+_0x684713(0x597,0x497)]=null;['relayCon'+_0x528821(0x47f,0x2e0)]=![];['gatewayC'+_0x684713(0x2ac,0x3a8)+'g']=![];[_0x528821(0x313,0x2ab)]=!![];[_0x684713(0x3cd,0x1b5)+_0x684713(0x252,0x4d7)]=0x0;[_0x528821(-0x7d,0x139)+_0x528821(0x4ce,0x3b3)+_0x528821(0x181,0x213)]=0x0;['reconnec'+_0x684713(0x647,0x621)]=null;[_0x684713(0x3e4,0x509)+_0x528821(0x30c,0x12f)+'r']=null;[_0x684713(0x205,0x2f3)+'tTimer']=null;['pendingG'+_0x528821(0x47b,0x2d0)+_0x684713(0x2a3,0x3bf)]=[];[_0x528821(-0x258,-0x79)+_0x528821(-0x5b,0xec)+'Started']=![];[_0x528821(-0x329,-0xc7)+'loseBoun'+_0x684713(0x5bd,0x3dd)+_0x528821(0x2cf,0x1d4)]=![];['clientDe'+_0x528821(0x2cd,0x355)+_0x684713(0x4d0,0x2d2)]=null;['gatewayC'+_0x528821(-0x186,-0x30)+'AtMs']=null;['inFlight'+_0x528821(0x158,-0xb4)+_0x684713(0x599,0x38e)+'s']=new Map();[_0x528821(0x4a2,0x352)];constructor(_0x21108a){const _0x49c986={_0x553db5:0x717,_0x24cd22:0x47d,_0x2b2c15:0x820,_0x38735c:0x587,_0x45c336:0x476,_0x2010b6:0x2e0,_0x2cadc5:0x30c,_0xcbf536:0x71b,_0x3a0289:0x876};this[_0x3720c4(_0x49c986._0x553db5,_0x49c986._0x24cd22)]=_0x21108a;function _0x219074(_0x5ec2c2,_0x22459e){return _0x684713(_0x5ec2c2,_0x22459e-0x22c);}function _0x3720c4(_0x40fd6f,_0xddc722){return _0x684713(_0xddc722,_0x40fd6f-0x11b);}this[_0x219074(0xa6f,_0x49c986._0x2b2c15)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x21108a[_0x219074(0x6a7,_0x49c986._0x38735c)]['gatewayI'+'d'],'instanceId':_0x21108a[_0x3720c4(_0x49c986._0x45c336,0x4a4)][_0x3720c4(_0x49c986._0x2010b6,0x288)+'Id'],'relayUrl':_0x21108a[_0x3720c4(0x476,0x695)][_0x3720c4(0x446,_0x49c986._0x2cadc5)],'gatewayUrl':_0x21108a[_0x3720c4(_0x49c986._0xcbf536,_0x49c986._0x3a0289)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}[_0x684713(0x2c0,0x21a)](){const _0x1c704a={_0xa28499:0xb6,_0x3aa760:0x319,_0x4dcd27:0x33a,_0x4a57ca:0x1cd,_0x31edcd:0xc0,_0x271d42:0x5b4,_0x1154b9:0x1d4,_0x58fce2:0x7e,_0x485347:0x225,_0x36405f:0x17e,_0x3b0ea4:0x3c1,_0x59cac0:0x721,_0x11609f:0x9b,_0x17ef27:0x336},_0x5d8233={_0x4c0cdf:0x308};if(!this[_0x1c576f(0x287,0x2b8)])return;this[_0x1c576f(0x287,0x438)]=![],this[_0x1c576f(-_0x1c704a._0xa28499,-0x37)+_0x1c576f(0x8c,_0x1c704a._0x3aa760)]({'running':!![],'gatewayUrl':this[_0x1c576f(0x336,0x58c)][_0x1c576f(_0x1c704a._0x4dcd27,0x552)+'rl']});function _0x5c9219(_0xc6ac85,_0xfed2a6){return _0x528821(_0xc6ac85,_0xfed2a6-_0x5d8233._0x4c0cdf);}this[_0x1c576f(_0x1c704a._0x4a57ca,-_0x1c704a._0x31edcd)](_0x5c9219(_0x1c704a._0x271d42,0x599)+_0x1c576f(_0x1c704a._0x1154b9,-0x60)+_0x1c576f(-0xcd,-_0x1c704a._0x58fce2)+_0x1c576f(_0x1c704a._0x485347,0x433)+this[_0x5c9219(0x589,0x662)][_0x5c9219(_0x1c704a._0x36405f,_0x1c704a._0x3b0ea4)][_0x5c9219(_0x1c704a._0x59cac0,0x540)+'d']+(_0x1c576f(-0xcd,-_0x1c704a._0x11609f)+'Url=')+this[_0x1c576f(_0x1c704a._0x17ef27,0x5a1)]['gatewayU'+'rl']);function _0x1c576f(_0x497d96,_0x5d74e6){return _0x528821(_0x5d74e6,_0x497d96- -0x24);}void this['connectR'+_0x1c576f(-0x5a,0x28)]();}async['stop'](){const _0x4b7375={_0x2cba24:0x945,_0x569712:0x7ed,_0x1d4943:0x714,_0x31243e:0x8a4,_0x147b56:0x8f4,_0x1ec46b:0x200,_0x30d1e4:0x454,_0x281a17:0x6c9,_0x50ee5b:0x733,_0x326446:0x43b,_0x49b26e:0x47b,_0x321a3f:0x460,_0x4e65c1:0x40a,_0x5a0584:0x7cf,_0x2d6a7b:0x373,_0xd18618:0xa9d,_0x536618:0x438,_0x318871:0x61e,_0x4660d3:0x61e,_0x3e043b:0x48f,_0x29f7f4:0x49c,_0x1660b2:0x263,_0x2d7d55:0x4c9,_0x5e2f91:0x526,_0x5477e8:0x6e1,_0x13393a:0x5ee,_0x185a30:0x60f,_0x4c8dd3:0x76f,_0x511341:0x982,_0x275e1f:0x471,_0x31a62f:0x557,_0x44ec9d:0x58a,_0x27fac8:0x959,_0x50bc0d:0x5ac,_0x15a0df:0x52a,_0x1c6798:0x4e8,_0x2715d9:0x500,_0xb9a96e:0x7d1,_0x24deca:0x16d,_0x4b1a23:0x5f2,_0x202469:0x53c,_0x34aae3:0x46a,_0x48889c:0x353,_0x3de832:0x92c,_0x5271b5:0x828,_0x47d552:0x69a,_0x3e9962:0x49c,_0x117b64:0x5c3,_0x3e2b5a:0x386,_0x511f8d:0x62e,_0x5f15ef:0x5f5},_0x125ab1={_0xc29c37:0x542},_0x57322b={_0x3b02bb:0x43a},_0x54abd1={};_0x54abd1['JSsrt']=_0x49e9ce(_0x4b7375._0x2cba24,0x7d3)+_0x49e9ce(0x772,_0x4b7375._0x569712);const _0x29bf27=_0x54abd1;function _0xb42146(_0x20601c,_0x1012b1){return _0x528821(_0x20601c,_0x1012b1-_0x57322b._0x3b02bb);}const _0x28e183=(_0xb42146(0x314,0x599)+_0xb42146(0x567,0x472)+_0x49e9ce(0x9ad,_0x4b7375._0x1d4943)+_0x49e9ce(_0x4b7375._0x31243e,_0x4b7375._0x147b56)+_0x49e9ce(0x350,0x533)+_0xb42146(_0x4b7375._0x1ec46b,_0x4b7375._0x30d1e4))[_0xb42146(0x320,0x409)]('|');let _0x48c0ba=0x0;function _0x49e9ce(_0x26795c,_0x3d05db){return _0x528821(_0x26795c,_0x3d05db-_0x125ab1._0xc29c37);}while(!![]){switch(_0x28e183[_0x48c0ba++]){case'0':this[_0x49e9ce(_0x4b7375._0x281a17,_0x4b7375._0x50ee5b)](_0x29bf27['JSsrt']);continue;case'1':this[_0x49e9ce(_0x4b7375._0x326446,_0x4b7375._0x49b26e)+_0xb42146(_0x4b7375._0x321a3f,_0x4b7375._0x4e65c1)+_0x49e9ce(0x6ae,_0x4b7375._0x5a0584)]=null;continue;case'2':this[_0xb42146(0x296,_0x4b7375._0x2d6a7b)+_0x49e9ce(_0x4b7375._0xd18618,0x900)+_0xb42146(_0x4b7375._0x536618,0x575)+'ing']=![];continue;case'3':this[_0xb42146(0x769,_0x4b7375._0x318871)+'ocket']=null;continue;case'4':this[_0x49e9ce(0x61b,0x7ed)]=!![];continue;case'5':await _0x3b1bd0(0x19);continue;case'6':this[_0xb42146(0x823,_0x4b7375._0x4660d3)+'ocket']?.[_0xb42146(_0x4b7375._0x3e043b,_0x4b7375._0x29f7f4)]();continue;case'7':this[_0x49e9ce(_0x4b7375._0x1660b2,_0x4b7375._0x2d7d55)+_0xb42146(0x693,_0x4b7375._0x5e2f91)+_0x49e9ce(_0x4b7375._0x5477e8,_0x4b7375._0x13393a)]=![];continue;case'8':this[_0x49e9ce(_0x4b7375._0x185a30,0x766)+_0xb42146(_0x4b7375._0x4c8dd3,0x7a4)]();continue;case'9':this['pendingG'+_0xb42146(_0x4b7375._0x511341,0x70a)+_0xb42146(_0x4b7375._0x275e1f,_0x4b7375._0x31a62f)]=[];continue;case'10':this[_0x49e9ce(_0x4b7375._0x44ec9d,0x7a3)+_0x49e9ce(_0x4b7375._0x27fac8,0x822)]=![];continue;case'11':const _0x2d5fd2={};_0x2d5fd2[_0x49e9ce(0x6ab,_0x4b7375._0x50bc0d)]=![],_0x2d5fd2[_0xb42146(0x6cb,0x69b)+_0xb42146(_0x4b7375._0x15a0df,0x5fb)]=![],_0x2d5fd2[_0xb42146(_0x4b7375._0x1c6798,_0x4b7375._0x2d6a7b)+_0xb42146(0x4b0,0x40a)]=![],_0x2d5fd2[_0xb42146(_0x4b7375._0x2715d9,0x514)+'unt']=0x0,_0x2d5fd2[_0x49e9ce(0x9a5,_0x4b7375._0xb9a96e)+'r']=null,this[_0xb42146(_0x4b7375._0x24deca,0x3a8)+_0x49e9ce(0x401,_0x4b7375._0x4b1a23)](_0x2d5fd2);continue;case'12':this[_0x49e9ce(0x497,_0x4b7375._0x202469)+_0x49e9ce(0x64f,0x897)+_0xb42146(0x3d9,_0x4b7375._0x34aae3)]=null;continue;case'13':this[_0xb42146(0x5ea,_0x4b7375._0x48889c)+_0xb42146(_0x4b7375._0x3de832,_0x4b7375._0x5271b5)]?.[_0xb42146(_0x4b7375._0x47d552,_0x4b7375._0x3e9962)]();continue;case'14':this[_0x49e9ce(0x679,0x47b)+_0xb42146(_0x4b7375._0x117b64,0x540)+'g']=![];continue;case'15':if(this['stopped'])return;continue;case'16':this[_0xb42146(0x521,0x44b)+_0xb42146(0x4f9,_0x4b7375._0x3e2b5a)+_0x49e9ce(0x6c1,_0x4b7375._0x511f8d)+'s']['clear']();continue;case'17':this[_0xb42146(_0x4b7375._0x5f15ef,_0x4b7375._0x48889c)+_0x49e9ce(0x73b,0x930)]=null;continue;}break;}}async[_0x528821(0x92,0x97)+_0x684713(0x737,0x678)+'st'](_0xfa62da){const _0x26ec83={_0x5a0b6b:0x60a,_0x31677e:0x829,_0x5aef2b:0x600,_0x6f06c9:0x602,_0x30b06f:0x873,_0x23d7c7:0x9e9,_0x5f1675:0x561,_0x58091c:0x77e,_0x3c1974:0x97f,_0x352a18:0x911},_0x3d86f7={_0xcc2b2:0xd4},_0x1c4cbd={_0x54417c:0x3be},_0x301517={};function _0x511fad(_0x2c7e88,_0x451544){return _0x684713(_0x2c7e88,_0x451544-_0x1c4cbd._0x54417c);}_0x301517[_0x511fad(_0x26ec83._0x5a0b6b,_0x26ec83._0x31677e)]=_0x511fad(0xa23,0xa47)+'air.appr'+_0x43f216(_0x26ec83._0x5aef2b,_0x26ec83._0x6f06c9);const _0x339e7e=_0x301517,_0x44475b={};_0x44475b[_0x511fad(_0x26ec83._0x30b06f,_0x26ec83._0x23d7c7)+'d']=_0xfa62da;function _0x43f216(_0x20eb3e,_0x1a0765){return _0x684713(_0x20eb3e,_0x1a0765-_0x3d86f7._0xcc2b2);}this['sendGate'+_0x43f216(_0x26ec83._0x5f1675,0x723)+'st'](_0x339e7e[_0x511fad(_0x26ec83._0x58091c,0x829)],_0x44475b),this['markPair'+_0x43f216(0x782,0x4e6)+_0x511fad(0x6d3,0x607)](_0xfa62da,_0x511fad(_0x26ec83._0x3c1974,_0x26ec83._0x352a18));}async[_0x528821(-0x20,0xd2)+_0x684713(0x2c9,0x32d)+'t'](_0x1df63a){const _0x1553d3={_0x3d7240:0x5a3,_0x5b850c:0x845,_0x17844c:0x66c,_0x5597c4:0x1c7,_0x56a0cf:0x411,_0x4b0384:0x248,_0x20f935:0xd2,_0x2ed6a8:0x302},_0x18d042={_0x2d11db:0x2a1},_0x57598d={};_0x57598d['requestI'+'d']=_0x1df63a;function _0x489e53(_0x15ddad,_0x47081a){return _0x528821(_0x47081a,_0x15ddad-_0x18d042._0x2d11db);}function _0x4e24c5(_0x4d53d3,_0x61d97a){return _0x528821(_0x61d97a,_0x4d53d3-0x5a8);}this[_0x4e24c5(0x657,_0x1553d3._0x3d7240)+_0x489e53(0x64e,_0x1553d3._0x5b850c)+'st']('device.p'+_0x489e53(_0x1553d3._0x17844c,0x4d7)+'ct',_0x57598d),this[_0x489e53(0x3c8,_0x1553d3._0x5597c4)+_0x489e53(_0x1553d3._0x56a0cf,0x4e6)+_0x489e53(_0x1553d3._0x4b0384,_0x1553d3._0x20f935)](_0x1df63a,_0x489e53(0x166,_0x1553d3._0x2ed6a8));}[_0x684713(0x321,0x2ee)+_0x528821(0xad,-0x41)](){const _0xbe7a03={_0x3f8bda:0x304,_0x19b43a:0x4ad,_0x473d4c:0x22e,_0x154154:0xa7f,_0x9ce16d:0x79f,_0x4f2da1:0x8cb,_0x559411:0x7ed,_0x3e2864:0x549},_0x27dbe5={_0x31231c:0x1f9},_0x4d5a1a={_0x6b365d:0x253},_0x3e2494={...this[_0x5eac70(0x7ed,0xa06)]};_0x3e2494[_0x53309f(0x4ad,_0xbe7a03._0x3f8bda)+_0x5eac70(0x870,0x6bc)]=[...this['snapshot'][_0x53309f(_0xbe7a03._0x19b43a,_0xbe7a03._0x473d4c)+_0x53309f(0x8ca,_0xbe7a03._0x154154)]];function _0x53309f(_0x28cbce,_0x243910){return _0x684713(_0x243910,_0x28cbce-_0x4d5a1a._0x6b365d);}_0x3e2494[_0x5eac70(_0xbe7a03._0x9ce16d,0x788)+_0x53309f(_0xbe7a03._0x4f2da1,0x7c3)+_0x5eac70(0x6c4,0x4ef)]=[...this[_0x5eac70(_0xbe7a03._0x559411,_0xbe7a03._0x3e2864)]['pendingP'+'airReque'+'sts']];function _0x5eac70(_0x725b12,_0x236520){return _0x684713(_0x236520,_0x725b12-_0x27dbe5._0x31231c);}return _0x3e2494;}async[_0x684713(0x5ff,0x5d8)+_0x684713(0x440,0x26c)](){const _0xe63d33={_0x19eea4:0x60d,_0x230a1b:0x5ba,_0x50318a:0x799,_0x31d776:0x65b,_0x3e9238:0x570,_0x3859f8:0x76c,_0x4408ce:0x67e,_0x15366d:0x8e5,_0x3c106b:0x59e,_0x76e322:0x5d0,_0x54e49e:0x83a,_0x15ceb0:0x6be,_0x1e44d0:0x7f6,_0x314bf3:0x590,_0x50840f:0xaef,_0x42635f:0x84b,_0x49afdc:0x625,_0x5d5571:0x478,_0x490431:0xd,_0x48f1c1:0x260,_0x2f2b4c:0x9e9,_0x2c8f9f:0x768,_0x19037e:0x8c8,_0x3db52a:0x2e6},_0x2c674c={_0x10ef74:0x32a,_0x421806:0x438,_0x2b2017:0x15,_0xd53cf0:0x17,_0x418318:0x40a,_0x1d03ee:0x699,_0x1ae2bf:0xcb,_0x117e3b:0x2e,_0x349c96:0x3f,_0x4342c6:0x243,_0x3ebac7:0x4c,_0x549185:0x258,_0x3d24b7:0x37b,_0xc3514f:0xe8,_0x5d2362:0x14,_0x526cdd:0x2a9,_0x2b1dbf:0xb7,_0x361d89:0x287,_0x1c5133:0xcc,_0x321d88:0x464,_0x5c2d25:0x1b6,_0x4c1a15:0x422,_0x2d144c:0x192},_0x11baba={_0x71cd23:0x5e9},_0x16c6c4={_0x51aca7:0x5bc,_0x2880c6:0xa17},_0x57f11a={_0x3c74f2:0x65},_0x4364ea={_0x59e283:0x307,_0xedd2d2:0x22a,_0xb490ee:0x1e0},_0x184c66={_0x34144f:0x42a,_0x344e23:0x687,_0x1aeb74:0x7e0},_0x4c1563={_0x3b97d4:0x169},_0x35a468={_0xabe97c:0x2a1,_0xff58d9:0x375,_0x311255:0x1ab,_0x52e02b:0x696,_0x35e598:0x9,_0x11ecf2:0x2ec,_0x4a8c44:0x7af,_0x15695b:0x908,_0x51d67b:0xcf,_0x818549:0x56,_0x58c839:0x15,_0x35874d:0x20f,_0x437e6c:0x31,_0x1f4fc7:0x66b,_0x379822:0x47b,_0x15f1f7:0x32c,_0x1ec1ef:0x376,_0x558765:0x748},_0x238446={_0x46bcbb:0x369},_0x32449b={_0x453865:0x605},_0x25e574={};_0x25e574[_0x5079b8(0x7e0,0x8c8)]=_0x1c4dda(_0xe63d33._0x19eea4,_0xe63d33._0x230a1b),_0x25e574[_0x5079b8(0x60b,_0xe63d33._0x50318a)]=_0x1c4dda(0x63d,0x3cb);const _0x15f474=_0x25e574;function _0x5079b8(_0x4200cd,_0x15a640){return _0x528821(_0x4200cd,_0x15a640-_0x32449b._0x453865);}if(this[_0x5079b8(0x913,0x8b0)]||this[_0x1c4dda(_0xe63d33._0x31d776,0x5ca)+_0x1c4dda(0x85f,0x649)]||this['isRelayO'+_0x1c4dda(0x478,_0xe63d33._0x3e9238)]())return;this[_0x1c4dda(_0xe63d33._0x3859f8,0x5ca)+_0x5079b8(_0xe63d33._0x4408ce,_0xe63d33._0x15366d)]=!![],this['relayAtt'+_0x1c4dda(0x622,_0xe63d33._0x3c106b)]+=0x1;const _0x346475=this[_0x1c4dda(0x2b6,0x27c)+_0x5079b8(_0xe63d33._0x76e322,_0xe63d33._0x54e49e)],_0x409644=buildRelayWsUrl(this['options'][_0x5079b8(_0xe63d33._0x15ceb0,0x6be)]);function _0x1c4dda(_0x11ff8c,_0x9855a){return _0x528821(_0x11ff8c,_0x9855a-_0x238446._0x46bcbb);}this[_0x5079b8(0x616,_0xe63d33._0x1e44d0)](_0x5079b8(_0xe63d33._0x314bf3,0x71a)+_0x1c4dda(0x4aa,0x3ce)+_0x1c4dda(0x50b,0x616)+_0x346475+'\x20url='+redactRelayWsUrl(_0x409644));const _0x4bf761=this[_0x5079b8(_0xe63d33._0x50840f,_0xe63d33._0x42635f)+_0x1c4dda(0x4f8,_0xe63d33._0x49afdc)](_0x409644);this['relaySoc'+'ket']=_0x4bf761,_0x4bf761[_0x1c4dda(0x387,_0xe63d33._0x5d5571)](_0x1c4dda(-_0xe63d33._0x490431,_0xe63d33._0x48f1c1),()=>{const _0x1229cc={_0x55342e:0x373};if(this[_0x4f3982(_0x35a468._0xabe97c,_0x35a468._0xff58d9)]||this['relaySoc'+'ket']!==_0x4bf761){_0x4bf761['close']();return;}this['relayCon'+_0x4f3982(0x2d6,_0x35a468._0x311255)]=![];function _0x4f3982(_0x2e5f21,_0x200ba1){return _0x1c4dda(_0x200ba1,_0x2e5f21- -_0x1229cc._0x55342e);}this[_0x3be9f0(0x687,_0x35a468._0x52e02b)+'yActivit'+_0x4f3982(0x209,-_0x35a468._0x35e598)]=Date[_0x4f3982(_0x35a468._0x11ecf2,0x531)]();function _0x3be9f0(_0x24b5bb,_0x357e5a){return _0x1c4dda(_0x357e5a,_0x24b5bb-0x1e5);}const _0x5b1714={};_0x5b1714[_0x3be9f0(_0x35a468._0x4a8c44,_0x35a468._0x15695b)+'nected']=!![],_0x5b1714[_0x3be9f0(0x7dd,0x846)+'r']=null,this['updateSn'+_0x4f3982(0xa6,-0xad)](_0x5b1714),this[_0x4f3982(0x1e7,0x411)]('relay\x20co'+_0x3be9f0(0x7e5,0x9d1)+'attempt='+_0x346475),this[_0x4f3982(-_0x35a468._0x51d67b,0x9)+_0x4f3982(-_0x35a468._0x818549,-0x224)](),shouldKeepGatewayConnected(this[_0x3be9f0(0x8a0,0xa4b)][_0x4f3982(0xd0,_0x35a468._0x58c839)+_0x4f3982(_0x35a468._0x35874d,-_0x35a468._0x437e6c)],summarizePendingGatewayMessages(this[_0x4f3982(0x2ce,0x3cc)+_0x4f3982(0x2c6,0x377)+_0x3be9f0(_0x35a468._0x1f4fc7,_0x35a468._0x379822)])[_0x4f3982(_0x35a468._0x15f1f7,0x1c1)+_0x3be9f0(0x5e9,_0x35a468._0x1ec1ef)])&&this[_0x3be9f0(0x8be,_0x35a468._0x558765)+'tewayCon'+'nected']();}),_0x4bf761['on'](_0x5079b8(0xc0a,_0xe63d33._0x2f2b4c),(_0x391593,_0x3d12fc)=>{function _0xca3158(_0x23cd8a,_0xa98ffb){return _0x5079b8(_0xa98ffb,_0x23cd8a- -_0x4c1563._0x3b97d4);}function _0x283cb2(_0x1a4ce0,_0x3b017c){return _0x5079b8(_0x1a4ce0,_0x3b017c-0x4b);}void this[_0xca3158(_0x184c66._0x34144f,_0x184c66._0x344e23)+_0xca3158(_0x184c66._0x1aeb74,0x9a6)+'ge'](_0x391593,_0x3d12fc);}),_0x4bf761['on']('pong',()=>{const _0x2662df={_0x4dae1f:0x437},_0x338689={_0x2fd12b:0x721};function _0x271165(_0xcf516a,_0x2e8942){return _0x5079b8(_0x2e8942,_0xcf516a- -_0x338689._0x2fd12b);}function _0x45b279(_0x454fd1,_0x58c11c){return _0x5079b8(_0x58c11c,_0x454fd1- -_0x2662df._0x4dae1f);}this[_0x45b279(_0x4364ea._0x59e283,_0x4364ea._0xedd2d2)+_0x45b279(0x581,0x813)+_0x271165(0xf7,_0x4364ea._0xb490ee)]=Date[_0x45b279(0x4c4,0x4b1)]();}),_0x4bf761[_0x5079b8(_0xe63d33._0x2c8f9f,0x714)](_0x15f474[_0x5079b8(0x7f9,_0xe63d33._0x19037e)],_0x1fa648=>{function _0x37012d(_0x5ec208,_0x4312bd){return _0x1c4dda(_0x4312bd,_0x5ec208-_0x57f11a._0x3c74f2);}function _0x3036d5(_0x3f2530,_0x34f7f7){return _0x1c4dda(_0x34f7f7,_0x3f2530-0x2af);}this['log'](_0x37012d(0x5b6,_0x16c6c4._0x51aca7)+_0x3036d5(_0x16c6c4._0x2880c6,0x7ab)+String(_0x1fa648));}),_0x4bf761['once'](_0x15f474[_0x1c4dda(_0xe63d33._0x3db52a,0x4fd)],(_0x26accf,_0x4bf736)=>{const _0x174762={_0x180256:0x535},_0x5abc5f=('0|2|5|4|'+_0x45d207(_0x2c674c._0x10ef74,_0x2c674c._0x421806)+'1')[_0x351973(-_0x2c674c._0x2b2017,-0xe4)]('|');let _0x88d266=0x0;function _0x45d207(_0x14bbed,_0x305948){return _0x5079b8(_0x305948,_0x14bbed- -_0x174762._0x180256);}function _0x351973(_0x1f0760,_0x3f2c0a){return _0x5079b8(_0x3f2c0a,_0x1f0760- -_0x11baba._0x71cd23);}while(!![]){switch(_0x5abc5f[_0x88d266++]){case'0':this[_0x45d207(-_0x2c674c._0xd53cf0,0x171)+_0x351973(_0x2c674c._0x418318,_0x2c674c._0x1d03ee)]===_0x4bf761&&(this[_0x351973(-_0x2c674c._0x1ae2bf,-0x1)+_0x351973(_0x2c674c._0x418318,0x613)]=null);continue;case'1':this[_0x351973(-_0x2c674c._0x117e3b,-0xde)+'RelayRec'+_0x45d207(-0x56,0xef)]();continue;case'2':this[_0x45d207(0x331,0x535)+_0x45d207(0x3b0,0x1af)]=![];continue;case'3':this[_0x351973(-0x76,0x181)+'apshot']({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x26accf===0x3e8?null:_0x45d207(0x18c,0x391)+_0x45d207(-_0x2c674c._0x349c96,0xd2)+(_0x4bf736[_0x351973(0x1ba,_0x2c674c._0x4342c6)]()||_0x26accf)});continue;case'4':this['clientDe'+'mandStar'+_0x351973(_0x2c674c._0x3ebac7,0x2a7)]=null;continue;case'5':this['stopHear'+_0x351973(_0x2c674c._0x549185,0x281)]();continue;case'6':this[_0x45d207(0x4b8,0x23b)+_0x351973(_0x2c674c._0x3d24b7,_0x2c674c._0xc3514f)]();continue;case'7':this['gatewayC'+_0x351973(-_0x2c674c._0x5d2362,-0x9f)+_0x351973(_0x2c674c._0x526cdd,_0x2c674c._0x2b1dbf)]=null;continue;case'8':this[_0x45d207(0x2c1,0x1d2)](_0x45d207(0x2be,_0x2c674c._0x361d89)+_0x351973(-_0x2c674c._0x1c5133,-0x161)+_0x45d207(_0x2c674c._0x321d88,0x553)+_0x26accf+_0x351973(_0x2c674c._0x5c2d25,_0x2c674c._0x4c1a15)+(_0x4bf736[_0x45d207(0x26e,0x24d)]()||_0x351973(_0x2c674c._0x2d144c,0x13f)));continue;}break;}});}async[_0x528821(-0x1e4,-0x72)+_0x528821(0x299,0x344)+'ge'](_0xd6197c,_0x53799a){const _0x19b9d7={_0x214f36:0x186,_0x1b73e1:0xf4,_0x523a78:0x1ce,_0xda18f6:0x4bb,_0x4d6771:0x9a5,_0x30c83c:0x817,_0x345db0:0x819,_0x4eac02:0x47,_0x267477:0x641,_0xc992ec:0xf9,_0x33138d:0x354,_0x183f3c:0x788,_0x47ef4d:0x729,_0x1d6f4d:0x170,_0x11207b:0x127,_0x201a89:0x579,_0x57ae4a:0x397},_0x590621={_0x229f70:0x212},_0x5c16bf={'LRpsL':function(_0x48387e,_0x5f0da6){return _0x48387e(_0x5f0da6);},'cYIjQ':function(_0x20fe1c,_0x445e5e){return _0x20fe1c(_0x445e5e);}};this[_0xd9eb92(_0x19b9d7._0x214f36,_0x19b9d7._0x1b73e1)+_0xd9eb92(0x1b1,0x36e)+_0xd9eb92(0x3e7,_0x19b9d7._0x523a78)]=Date['now']();if(_0x53799a){this[_0x55a220(0x34e,_0x19b9d7._0xda18f6)+_0x55a220(_0x19b9d7._0x4d6771,_0x19b9d7._0x30c83c)+'tewayMes'+'sage']({'kind':'binary','data':_0x5c16bf[_0x55a220(_0x19b9d7._0x345db0,0x5f5)](normalizeBinary,_0xd6197c)});return;}const _0x4fef7e=_0x5c16bf[_0xd9eb92(-0xda,_0x19b9d7._0x4eac02)](normalizeText,_0xd6197c);if(_0x4fef7e==null)return;const _0x48a041=parseControl(_0x4fef7e);if(_0x48a041){this[_0x55a220(_0x19b9d7._0x267477,0x442)+_0xd9eb92(0x9f,0x256)+'ol'](_0x48a041[_0xd9eb92(0x22f,_0x19b9d7._0xc992ec)],_0x48a041[_0xd9eb92(_0x19b9d7._0x33138d,0x3c2)]);return;}const _0x7182e=parseConnectStartIdentity(_0x4fef7e);function _0xd9eb92(_0x573552,_0x3361c3){return _0x684713(_0x573552,_0x3361c3- -0x2e7);}_0x7182e&&this[_0x55a220(0x87b,0x84f)+_0x55a220(_0x19b9d7._0x183f3c,_0x19b9d7._0x47ef4d)+_0xd9eb92(-0x91,-0xab)](_0x7182e['id'],_0x7182e['label']);const _0x42492e={};_0x42492e[_0xd9eb92(0x564,0x2df)]=_0xd9eb92(0xe2,0x305),_0x42492e[_0x55a220(0x707,0x7fe)]=_0x4fef7e;function _0x55a220(_0x3cd759,_0x38f54c){return _0x684713(_0x3cd759,_0x38f54c-_0x590621._0x229f70);}this[_0xd9eb92(-_0x19b9d7._0x1d6f4d,-0x3e)+'rQueueGa'+_0xd9eb92(-0x11e,-_0x19b9d7._0x11207b)+_0xd9eb92(_0x19b9d7._0x201a89,_0x19b9d7._0x57ae4a)](_0x42492e);}[_0x684713(0x186,0x230)+'layContr'+'ol'](_0xd52840,_0x6c35d){const _0x366808={_0x133fa6:0x52,_0x503976:0x5f,_0x13f053:0x1a4,_0x15077f:0x1c,_0x4ef0c1:0x8d,_0x45e095:0x1f,_0x21b3c3:0x1fd,_0x2b24c7:0x30b,_0x954180:0x1c4,_0x1ef630:0xe8,_0x35986f:0x1c2,_0x531789:0x3f4,_0x43621f:0x93,_0x508044:0xca,_0x1ab21d:0x2da,_0x11806a:0xcb,_0x1e632f:0x204,_0x105716:0x270,_0x5090c6:0x215,_0x1157a9:0x177,_0x5df8c4:0x11e,_0x215aa7:0x148,_0x125b1d:0xbe,_0x3a0a1a:0x453,_0x4fbdbf:0x319,_0x1f59a5:0x74,_0x63808e:0x20e,_0x1ba22b:0x3df,_0x23abe2:0x9e,_0x31e13b:0x21d,_0x12aa04:0x131,_0x209a5c:0x62,_0x27afba:0x302,_0x4ad1e8:0x21e,_0x4b4b34:0x29d,_0x54e234:0x29,_0x5736cf:0xfa,_0x6fff9b:0xe,_0x512552:0x2c,_0x57fa07:0x85,_0x1bbb31:0x220,_0x377967:0x248,_0x374863:0x31,_0x178f68:0x2be,_0x2f0648:0x6d,_0x24aaa0:0xa3,_0x500232:0x1da,_0x2353be:0xbb,_0x57cd2e:0x15f,_0x5ec73c:0x70,_0x5dc5bd:0x25e,_0x442a02:0x1f5,_0x2cc513:0x4d9,_0x2ceca6:0x1a4,_0x1ab4cb:0xcc,_0x2a8148:0x188,_0x4199d0:0x236,_0x3446ff:0x202,_0x4c6d61:0xe7,_0x400bf2:0xe0,_0x1ed55e:0x1ff,_0x5ef587:0x19f,_0x28f68f:0xaa,_0x2c5d47:0x1b7,_0x501f30:0x319,_0x49c22f:0x28b,_0x22be00:0x21,_0xc1a65:0x218,_0x533f5d:0x190,_0x5bb943:0x65,_0x311e8b:0x32e,_0x5d4bd5:0x2ae,_0x46e2d1:0x4,_0x113935:0x149,_0x5422b3:0x42b,_0x3c91c8:0x19b,_0x302402:0x19c,_0x3c15d6:0x106,_0x38a052:0x1e8,_0x1ad0bc:0x1ce,_0x549e3e:0x1ca,_0x5ec462:0x112,_0x4071d6:0x332,_0x3544a9:0x27c,_0x25b84a:0xc0,_0xcdd611:0xa2,_0x4d4bab:0x1dc,_0x37b97f:0x3e4,_0x1acbc5:0x2ac,_0x5b2c5a:0x17,_0x76274e:0x65,_0x48c767:0x18d,_0x6e3749:0x1b5,_0x4e113f:0x4f,_0x5895e6:0x139,_0x3c2ae8:0x78,_0x2e3471:0x342,_0x35b605:0x3e,_0x57235c:0x3f3,_0x298761:0x330,_0x29b23c:0x80,_0x16396c:0x283,_0xe2fc9f:0x424,_0x18fd11:0x215,_0x225941:0x2b,_0x5dd8a1:0x51d,_0x42b4ec:0x306,_0x37bce2:0x86,_0x13d325:0x3e,_0x1f9993:0x17f,_0x6529d7:0x17e,_0x4822df:0x343,_0x9e8ebf:0x3c9,_0x351bf1:0x1f4,_0x28ca8b:0x137,_0x10f214:0x26d,_0xcba158:0x74,_0x2e90a1:0x215,_0x5d9f1f:0x6a,_0x485c08:0x1a0,_0x5d7f10:0x3ea,_0x178bf9:0x1df,_0x523913:0x30a,_0x2f09e2:0x131,_0x3d93f8:0x1d1,_0x2f368f:0x34,_0x5eda21:0x10d,_0x1a1e85:0xc,_0x443dee:0x73,_0x496e73:0x1e5,_0x4f684f:0x1c7,_0x464cfe:0xd,_0x200a42:0x14c,_0x4f4610:0x1fe,_0x3dd39d:0x21e,_0x42ffc6:0x29d,_0x2190bc:0x263,_0x185828:0x15e,_0x473e97:0x84,_0x4b76e6:0xeb,_0x3d5b93:0x2eb,_0x3d09cf:0x27e,_0x51295b:0xcd,_0x38f41b:0x295,_0xc5cbc6:0x127,_0x4c181c:0x2c9,_0x3bb2b1:0x2a7,_0x5ae77e:0x25b,_0x242ee3:0x422,_0x3d8579:0x5e},_0x336fef={_0x5cb2a1:0x14e},_0x4178c8={_0x1ffa8a:0xb8};function _0x3f211f(_0x2a3429,_0x2abed0){return _0x528821(_0x2a3429,_0x2abed0- -_0x4178c8._0x1ffa8a);}const _0x28348b={'BHGvP':function(_0x577297,_0x17fc35){return _0x577297===_0x17fc35;},'oNqHa':function(_0x320bca,_0x1963b6){return _0x320bca==_0x1963b6;},'ZeJHq':function(_0x2446ae,_0x9049f8){return _0x2446ae===_0x9049f8;},'oGjPc':function(_0x524611,_0x530888,_0x4b3b75,_0x198f28){return _0x524611(_0x530888,_0x4b3b75,_0x198f28);},'iyvUo':_0x3f211f(-0x9c,0x1b0)+_0x14fe21(0x25b,_0x366808._0x133fa6)+_0x14fe21(-0x1e4,-_0x366808._0x503976),'xfANW':function(_0x3be62b,_0xcf057d,_0x5129e4,_0x51250c){return _0x3be62b(_0xcf057d,_0x5129e4,_0x51250c);},'hjVwD':_0x3f211f(0xf,-_0x366808._0x13f053)+_0x14fe21(0x25b,_0x366808._0x15077f)+'ted;\x20clo'+_0x14fe21(-0x156,0x82)+_0x14fe21(_0x366808._0x4ef0c1,_0x366808._0x45e095)+'y'};if(_0xd52840===_0x3f211f(_0x366808._0x21b3c3,_0x366808._0x2b24c7)+_0x3f211f(-_0x366808._0x954180,-_0x366808._0x1ef630)||_0x28348b[_0x14fe21(-_0x366808._0x35986f,-_0x366808._0x531789)](_0xd52840,_0x3f211f(0xbe,_0x366808._0x2b24c7)+_0x3f211f(_0x366808._0x43621f,_0x366808._0x508044))){const _0x54a4b7=this[_0x3f211f(_0x366808._0x1ab21d,0x29a)][_0x3f211f(0xba,0x22)+_0x14fe21(_0x366808._0x11806a,-0x7f)],_0x32ae3c=_0x6c35d??Math['max'](0x1,this[_0x14fe21(_0x366808._0x1e632f,_0x366808._0x105716)][_0x14fe21(-0x74,-0x255)+_0x14fe21(_0x366808._0x11806a,_0x366808._0x5090c6)]);_0x32ae3c>0x0&&_0x28348b[_0x14fe21(-0xf8,0x49)](this[_0x14fe21(-0x154,-_0x366808._0x1157a9)+_0x3f211f(0x8b,0x29d)+_0x14fe21(-_0x366808._0x5df8c4,-0xfe)],null)&&(this[_0x3f211f(-_0x366808._0x215aa7,-_0x366808._0x125b1d)+_0x14fe21(0x207,_0x366808._0x3a0a1a)+_0x14fe21(-0x11e,-_0x366808._0x4fbdbf)]=Date['now']());const _0x2377f4={};_0x2377f4[_0x14fe21(-_0x366808._0x1f59a5,-_0x366808._0x63808e)+'unt']=_0x32ae3c,this[_0x14fe21(-0x1e0,-_0x366808._0x1ba22b)+_0x14fe21(-_0x366808._0x23abe2,-_0x366808._0x31e13b)](_0x2377f4);if(_0x28348b[_0x14fe21(0x14f,-0x8c)](_0x32ae3c,0x0)){this[_0x3f211f(-0x2ad,-_0x366808._0x12aa04)+_0x14fe21(-_0x366808._0x209a5c,-_0x366808._0x27afba)+_0x14fe21(-0xa2,-0x1d8)]=![],this[_0x14fe21(_0x366808._0x4ad1e8,-0x5)+_0x14fe21(_0x366808._0x4b4b34,_0x366808._0x54e234)+'t'](),this[_0x3f211f(-_0x366808._0x5736cf,-0x1cd)+_0x14fe21(-0x84,_0x366808._0x6fff9b)+_0x14fe21(0x12f,-_0x366808._0x512552)+'e']();const _0x19f556=summarizePendingGatewayMessages(this[_0x3f211f(_0x366808._0x57fa07,_0x366808._0x1bbb31)+_0x3f211f(_0x366808._0x377967,0x218)+_0x14fe21(-_0x366808._0x374863,0x161)])[_0x3f211f(0x5e,0x27e)+_0x14fe21(-0xb3,-_0x366808._0x178f68)];_0x28348b[_0x14fe21(-_0x366808._0x2f0648,0x226)](shouldScheduleGatewayIdleClose,_0x32ae3c,_0x19f556,this['isGatewa'+'yOpen']())?(this[_0x14fe21(_0x366808._0x24aaa0,-_0x366808._0x500232)](_0x3f211f(-0x19f,-0x1a4)+_0x3f211f(-_0x366808._0x2353be,-0x36)+'opped\x20to'+_0x3f211f(-0x3f,-_0x366808._0x57cd2e)+_0x3f211f(_0x366808._0x5ec73c,0x172)+_0x14fe21(-0x1b6,-_0x366808._0x5dc5bd)+_0x3f211f(_0x366808._0x442a02,0x28a)),this[_0x3f211f(0x24f,0x330)+_0x3f211f(_0x366808._0x2cc513,0x2a7)]()):this[_0x14fe21(0xa3,0x102)](_0x3f211f(-0x153,-_0x366808._0x2ceca6)+_0x14fe21(-_0x366808._0x1ab4cb,-0x2fb)+_0x14fe21(_0x366808._0x2a8148,_0x366808._0x4199d0)+_0x3f211f(-_0x366808._0x3446ff,-0x147)+'ateway\x20r'+_0x3f211f(_0x366808._0x4c6d61,_0x366808._0x400bf2)+_0x14fe21(_0x366808._0x1ed55e,_0x366808._0x5ef587));}else{if(shouldRecycleGatewayForFreshClient(_0x54a4b7,_0x32ae3c,this[_0x3f211f(-_0x366808._0x28f68f,_0x366808._0x2c5d47)+_0x3f211f(0x4e6,_0x366808._0x501f30)](),![])){const _0x4bed9c=summarizePendingGatewayMessages(this[_0x14fe21(0x18a,_0x366808._0x49c22f)+_0x3f211f(_0x366808._0x22be00,_0x366808._0xc1a65)+_0x3f211f(_0x366808._0x533f5d,_0x366808._0x5bb943)]);this['log'](_0x3f211f(_0x366808._0x311e8b,0x1f4)+'recycle\x20'+_0x3f211f(_0x366808._0x5d4bd5,0x197)+'d\x20for\x20fr'+_0x14fe21(_0x366808._0x46e2d1,-_0x366808._0x113935)+_0x14fe21(0x23a,_0x366808._0x5422b3)+_0x14fe21(-_0x366808._0x3c91c8,-0x291)+'='+_0x4bed9c[_0x3f211f(0x18f,0x16e)]+(_0x3f211f(-_0x366808._0x302402,-_0x366808._0x3c15d6)+'=')+_0x4bed9c[_0x14fe21(_0x366808._0x38a052,_0x366808._0x1ad0bc)+_0x14fe21(-0xb3,_0x366808._0x549e3e)]+_0x14fe21(0x17c,-0xe8)+_0x4bed9c['otherTex'+'t']+_0x3f211f(_0x366808._0x5ec462,0x1ce)+_0x4bed9c[_0x3f211f(0x41c,_0x366808._0x4071d6)]+(_0x3f211f(_0x366808._0x3544a9,0x236)+'keStarte'+'d=')+this[_0x3f211f(0x76,-0x131)+_0x14fe21(-0x62,_0x366808._0x25b84a)+_0x14fe21(-_0x366808._0xcdd611,_0x366808._0x4d4bab)]);const _0x45fc1e=prunePendingGatewayMessagesForFreshDemand(this[_0x3f211f(_0x366808._0x37b97f,0x220)+_0x3f211f(_0x366808._0x1acbc5,0x218)+_0x3f211f(-_0x366808._0x5b2c5a,_0x366808._0x76274e)]);_0x45fc1e['dropped']>0x0&&(this['pendingG'+'atewayMe'+'ssages']=_0x45fc1e[_0x14fe21(0x258,0x436)],this['log'](_0x14fe21(0x5c,_0x366808._0x48c767)+'stale\x20ga'+_0x3f211f(-_0x366808._0x6e3749,-_0x366808._0x35986f)+'eue\x20befo'+_0x14fe21(-0x54,-_0x366808._0x4e113f)+_0x14fe21(-_0x366808._0x5895e6,-0x13c)+_0x3f211f(0x1,_0x366808._0x3c2ae8)+_0x45fc1e[_0x3f211f(0xf7,_0x366808._0x2e3471)]+_0x3f211f(-_0x366808._0x35b605,0x5a)+_0x45fc1e['messages']['length'])),this[_0x3f211f(_0x366808._0x57235c,_0x366808._0x298761)+_0x3f211f(_0x366808._0x29b23c,0x2a7)](!![]);}if(this['isGatewa'+_0x14fe21(_0x366808._0x16396c,_0x366808._0xe2fc9f)]()&&!this[_0x14fe21(-_0x366808._0x18fd11,-_0x366808._0x225941)+_0x3f211f(_0x366808._0x5dd8a1,_0x366808._0x42b4ec)+_0x14fe21(-0x13,0x1ef)+_0x14fe21(_0x366808._0x37bce2,-_0x366808._0x13d325)]){const _0x49bf3c={};_0x49bf3c[_0x3f211f(-0x37d,-_0x366808._0x1f9993)+_0x14fe21(-_0x366808._0x6529d7,-_0x366808._0x4822df)]=!![],_0x49bf3c[_0x14fe21(0x141,_0x366808._0x9e8ebf)+'r']=null,this[_0x3f211f(0x32,-0x14a)+_0x14fe21(-_0x366808._0x23abe2,-0x2b1)](_0x49bf3c),this['log'](_0x3f211f(0x194,_0x366808._0x351bf1)+'already\x20'+_0x14fe21(-0x196,0xd9)+_0x3f211f(0x4f,-_0x366808._0x28ca8b)+_0x3f211f(0x156,0x10d)+_0x14fe21(-0x268,-0x4d4)+this[_0x3f211f(_0x366808._0x10f214,0x31f)+_0x14fe21(-0x7a,-_0x366808._0xcba158)](this[_0x14fe21(-_0x366808._0x2e90a1,-0x2f1)+_0x14fe21(-0x17e,-_0x366808._0x5d9f1f)+'AtMs'])+(_0x14fe21(_0x366808._0x485c08,_0x366808._0x5d7f10)+_0x14fe21(-_0x366808._0x178bf9,-_0x366808._0x523913)+'d=')+this[_0x3f211f(-_0x366808._0x2b24c7,-_0x366808._0x2f09e2)+_0x3f211f(-_0x366808._0x3d93f8,_0x366808._0x2f368f)+_0x3f211f(_0x366808._0x5eda21,-_0x366808._0x1a1e85)]);}}this['ensureGa'+'tewayCon'+_0x14fe21(_0x366808._0x443dee,0x163)]();return;}function _0x14fe21(_0x473224,_0x284086){return _0x528821(_0x284086,_0x473224- -_0x336fef._0x5cb2a1);}if(_0x28348b[_0x3f211f(0x315,_0x366808._0x496e73)](_0xd52840,_0x28348b['iyvUo'])){this[_0x14fe21(-_0x366808._0x4f684f,_0x366808._0x464cfe)+_0x3f211f(-0x43,_0x366808._0x2f368f)+_0x14fe21(-_0x366808._0xcdd611,_0x366808._0x533f5d)]=![];const _0x12cb14={};_0x12cb14['clientCo'+'unt']=0x0,this[_0x3f211f(-_0x366808._0x200a42,-0x14a)+_0x14fe21(-0x9e,_0x366808._0x4f4610)](_0x12cb14),this[_0x14fe21(_0x366808._0x3dd39d,0x135)+_0x14fe21(_0x366808._0x42ffc6,0x6c)+'t'](),this[_0x14fe21(-_0x366808._0x2190bc,-_0x366808._0x185828)+_0x14fe21(-_0x366808._0x473e97,_0x366808._0x4b76e6)+_0x3f211f(_0x366808._0x3d5b93,0x1c5)+'e']();const _0x51f295=summarizePendingGatewayMessages(this[_0x3f211f(0x88,_0x366808._0x1bbb31)+'atewayMe'+'ssages'])[_0x3f211f(0x74,_0x366808._0x3d09cf)+'equests'];_0x28348b[_0x14fe21(-0x14,-_0x366808._0x51295b)](shouldScheduleGatewayIdleClose,0x0,_0x51f295,this[_0x3f211f(_0x366808._0x38f41b,0x1b7)+'yOpen']())?(this['log'](_0x28348b[_0x14fe21(-_0x366808._0xc5cbc6,-0x23e)]),this[_0x3f211f(0x3b0,0x330)+_0x3f211f(_0x366808._0x4c181c,_0x366808._0x3bb2b1)]()):(this['log'](_0x3f211f(-0x361,-0x1a4)+_0x14fe21(_0x366808._0x5ae77e,0x3f9)+_0x3f211f(_0x366808._0x242ee3,0x2bc)+_0x14fe21(-0x145,-0x26e)+_0x14fe21(-0x142,-0x100)+_0x14fe21(_0x366808._0x3d8579,0x2d9)),this[_0x3f211f(0x30d,0x2b8)+_0x3f211f(0xe8,-0x47)+_0x3f211f(0xdc,0x109)]());return;}}[_0x684713(0x503,0x2a9)+_0x528821(0x1ec,0x363)+_0x528821(-0xcf,-0xe2)+_0x528821(0x15c,0x3dc)](_0x1240bd){const _0x249097={_0x503e5e:0x783,_0x15acba:0x5c1,_0x237d7d:0x52b,_0x3eaeab:0x8c6,_0x57abce:0x2dd,_0x1bf553:0x391,_0x476035:0xa7,_0x26b60d:0x146,_0x35e6a9:0x332,_0x46336d:0x534,_0x2a5ca8:0x3ed,_0x4fa3da:0x1e9,_0x301077:0x18f,_0x1bd0ee:0x4f5,_0x4c9df4:0x560,_0xc860f4:0x4b6,_0x2911cf:0x578,_0x447ebc:0x7e5,_0x4b9c55:0x3eb,_0x35202e:0x37c,_0x498d42:0x45e,_0x39a2f9:0x43a,_0x2f6d83:0x36f,_0xa53811:0x22a,_0x1f38be:0x3b,_0x4cd2cf:0xe6,_0x12767a:0x2eb,_0x42c914:0x4f5,_0x20a5ac:0x578,_0x47ef7b:0x794,_0x9e792a:0xf1,_0x531231:0x349,_0x226a90:0x2f1,_0x8124b3:0x427,_0x39c456:0xed,_0x417ff2:0x430,_0x5b16a2:0x421,_0x5c7a0e:0x48f,_0x14ce89:0x48e,_0x3f41d5:0x3f2,_0x5bb321:0x50e,_0x241a0f:0x25e,_0x428a96:0x18d,_0x378b99:0x19,_0x540214:0x2d4,_0x2afda7:0x4d0},_0x45dd63={_0x54e0e4:0x29d},_0x5c3171={_0x4e2bf9:0x141},_0x194d49={'vqiMp':_0xec7fb3(0x5e7,_0x249097._0x503e5e),'LnODy':function(_0x356bb5,_0x1d08a4){return _0x356bb5+_0x1d08a4;},'DzOQB':function(_0x57e101,_0x1ffd45){return _0x57e101(_0x1ffd45);}},_0xf5c0b6=_0x1240bd[_0xec7fb3(_0x249097._0x15acba,_0x249097._0x237d7d)]===_0x194d49['vqiMp']&&isConnectHandshakeRequest(_0x1240bd['text']);if(this['gatewayC'+_0xec7fb3(0x65b,_0x249097._0x3eaeab)+_0xec7fb3(0x3d8,_0x249097._0x57abce)+_0x3a7fe4(0x11b,0x315)]){this[_0xec7fb3(_0x249097._0x1bf553,0x15c)+_0x3a7fe4(0x244,_0x249097._0x476035)+_0x3a7fe4(_0x249097._0x26b60d,0x2de)+'e'](_0x1240bd);_0xf5c0b6&&this[_0x3a7fe4(0x587,_0x249097._0x35e6a9)](_0x3a7fe4(_0x249097._0x46336d,_0x249097._0x2a5ca8)+_0x3a7fe4(0x428,_0x249097._0x4fa3da)+'ble\x20duri'+_0x3a7fe4(-0x3a,_0x249097._0x301077)+_0xec7fb3(_0x249097._0x1bd0ee,_0x249097._0x4c9df4)+_0xec7fb3(0x35d,0x45d)+'eued\x20unt'+'il\x20gatew'+_0x3a7fe4(0x524,_0x249097._0xc860f4)+_0xec7fb3(_0x249097._0x2911cf,_0x249097._0x447ebc));return;}function _0x3a7fe4(_0x29a13d,_0x11f942){return _0x528821(_0x29a13d,_0x11f942-_0x5c3171._0x4e2bf9);}function _0xec7fb3(_0x16a135,_0x15d6f7){return _0x528821(_0x15d6f7,_0x16a135-_0x45dd63._0x54e0e4);}const _0x302a1e=this[_0xec7fb3(0x481,0x1fd)+'ocket'];if(!_0x302a1e||_0x302a1e[_0x3a7fe4(0x1ec,0x18a)+'te']!==_0x36f378[_0x3a7fe4(0x558,_0x249097._0x4b9c55)]){this['ensureGa'+_0x3a7fe4(_0x249097._0x35202e,0x1b2)+_0xec7fb3(_0x249097._0x498d42,0x6e1)](),this['pushPend'+'ingGatew'+_0xec7fb3(_0x249097._0x39a2f9,_0x249097._0x2f6d83)+'e'](_0x1240bd);_0xf5c0b6&&this['log']('gateway\x20'+_0x3a7fe4(_0x249097._0xa53811,0x1e9)+_0x3a7fe4(-_0x249097._0x1f38be,_0x249097._0x4cd2cf)+_0xec7fb3(_0x249097._0x12767a,0x2f2)+_0xec7fb3(_0x249097._0x42c914,0x43c)+'hake;\x20qu'+'eued\x20unt'+_0xec7fb3(0x280,0xc3)+_0x3a7fe4(0x38e,0x4b6)+_0xec7fb3(_0x249097._0x20a5ac,_0x249097._0x47ef7b));return;}if(!this[_0x3a7fe4(_0x249097._0x9e792a,0xc8)+_0x3a7fe4(0xad,0x22d)+_0xec7fb3(_0x249097._0x531231,_0x249097._0x226a90)]){if(!_0xf5c0b6){this[_0x3a7fe4(_0x249097._0x8124b3,0x235)+_0xec7fb3(0x203,_0x249097._0x39c456)+_0xec7fb3(0x43a,_0x249097._0x417ff2)+'e'](_0x1240bd);return;}this[_0xec7fb3(0x224,_0x249097._0x5b16a2)+_0xec7fb3(0x389,_0x249097._0x5c7a0e)+_0xec7fb3(0x349,0x5cc)]=!![];const _0x55f5e0=parseConnectHandshakeMeta(_0x1240bd[_0xec7fb3(0x5e7,0x766)]);this[_0xec7fb3(_0x249097._0x14ce89,_0x249097._0x3f41d5)](_0x194d49[_0x3a7fe4(0x431,0x196)](_0x3a7fe4(0x651,_0x249097._0x2a5ca8)+'handshak'+_0xec7fb3(0x3a2,0x191)+'d\x20queued'+'='+this[_0x3a7fe4(0x3e4,0x419)+_0xec7fb3(0x56d,_0x249097._0x5bb321)+_0x3a7fe4(0x3d,_0x249097._0x241a0f)][_0xec7fb3(_0x249097._0x428a96,_0x249097._0x378b99)],_0x194d49['DzOQB'](formatConnectHandshakeMetaForLog,_0x55f5e0)));}this[_0x3a7fe4(_0x249097._0x540214,_0x249097._0x2afda7)+_0x3a7fe4(0x3,0x289)](_0x1240bd);}['ensureGa'+_0x684713(0x208,0x313)+'nected'](){const _0x33bc45={_0x1374dc:0x4d3,_0x29a893:0x7ad,_0x32f539:0x712,_0x207fb3:0x59b,_0x3f3135:0x8b0,_0x5c2e94:0x70b,_0x35846f:0x548,_0x2109fb:0x25,_0xcd3289:0x9df,_0x3a4e97:0x362,_0x1f3ca0:0x597,_0x28a950:0x52a,_0x19580d:0x4bb,_0x193620:0x6e8,_0x24e864:0x535,_0x2fecd9:0x95f,_0x3291f1:0xa22,_0x41fb29:0x7c9,_0x11dafe:0x8c1,_0x4e75d8:0xab7,_0x59c1d9:0x336,_0x4effea:0xa4,_0x33b8cb:0xc6c,_0xc6fdd3:0x5e1,_0x48d76c:0x807,_0x45260f:0x667,_0x158331:0x496},_0x2d62f2={_0x376c62:0x1cc,_0x2423ea:0xd4,_0x2e6179:0x182,_0x14a5f5:0x80,_0x28b808:0x100,_0x5893a4:0x197,_0xf6df38:0x4ab,_0x11e0ce:0x6,_0x3dff5d:0x145,_0x3c7c48:0xb2,_0x2f6da8:0x121,_0x192093:0x377,_0x56f2b9:0x9d,_0x41b3b6:0x13a,_0x4d78e6:0x49,_0x5f43a0:0x182,_0x2a8744:0x134,_0x57199d:0x28d,_0x47bee4:0x303,_0x1eb98a:0xb7,_0x115363:0x140,_0x4f5891:0x1af,_0x193cc2:0x18c,_0x5132a3:0x2d,_0xf1195f:0x28a,_0x1f7d54:0x14d,_0x294e6c:0xbf,_0x7f095c:0x55,_0x30bcb4:0x380,_0x18085b:0x136,_0x151e7b:0x1f1,_0x21d212:0x28a,_0x344445:0x35f,_0x1c6117:0xdd,_0x27ae68:0xda,_0x1f52ab:0x11e,_0x1207a4:0xa4,_0x22ccce:0x141,_0x47090b:0x13b,_0x1ad3c9:0x25c,_0x5be501:0x88,_0x4f26ce:0x117,_0x2384ba:0x28e},_0x2e84c0={_0x5befbe:0x2e2},_0x11b333={_0x42799e:0x140,_0x50c1f8:0x39e,_0x23595b:0x53b,_0x23f6bf:0x277,_0x224056:0x3},_0x40b789={_0x5a530e:0x376},_0x232932={_0x400a12:0x9a9,_0x3c97f7:0xf0,_0x270d90:0x319},_0x10b058={_0x5c87bb:0x55},_0x1b5c91={_0x26f49f:0x438,_0x19699d:0x607,_0x2b6188:0x5c6,_0x3bd300:0x56a,_0x3195b5:0x66a,_0x2e63a6:0x114,_0x586dac:0x650,_0x53fd0a:0x469,_0x4e91cf:0x610,_0x43ccc7:0x54b,_0x3f7434:0x60f,_0x117986:0x2c8,_0xe07831:0x15d,_0x26ceb8:0x61e,_0x2e906f:0x85a,_0x456c8d:0xc6,_0x3675ae:0xdb,_0x369f59:0x534,_0x216a2a:0x710,_0x11a815:0x52d,_0x440faf:0x373,_0x3a1460:0x614,_0x3a4a25:0x8b1,_0x43fe98:0x755,_0x24a488:0x74d,_0x16dcad:0x145,_0x16dd68:0x3e8,_0x13813c:0x3a9,_0x270b66:0x2b8,_0x3514bc:0x4fa,_0x494f13:0x470,_0x25e04d:0x8d3,_0x319117:0xa37,_0x1c0c22:0x19b,_0x32f31b:0x5f5},_0x1b7d01={_0x58d9ab:0x9a},_0x562bff={_0x210f4c:0x605},_0x1a0cfd={};_0x1a0cfd['rhati']=_0x94ff02(_0x33bc45._0x1374dc,0x5cc)+_0x1af9d7(0x707,0x7f6)+'undary\x20r'+'eached;\x20'+'reconnec'+_0x1af9d7(0x52e,_0x33bc45._0x29a893)+_0x1af9d7(_0x33bc45._0x32f539,_0x33bc45._0x207fb3)+_0x1af9d7(0x9e0,0x7dc);const _0x3fdbc8=_0x1a0cfd;if(this[_0x1af9d7(_0x33bc45._0x3f3135,0x92c)]||!this[_0x1af9d7(0x6e5,0x570)+'pen']()||this['gatewayC'+_0x1af9d7(_0x33bc45._0x5c2e94,_0x33bc45._0x35846f)+'g']||this[_0x1af9d7(0x874,0x96d)+'yOpen']()||this[_0x94ff02(0x160,-_0x33bc45._0x2109fb)+_0x1af9d7(0x9c3,_0x33bc45._0xcd3289)+_0x94ff02(_0x33bc45._0x3a4e97,0x5c6)+'ing'])return;function _0x94ff02(_0x7ac170,_0x29afdc){return _0x528821(_0x29afdc,_0x7ac170-0x227);}function _0x1af9d7(_0x32d139,_0xc2bfba){return _0x528821(_0xc2bfba,_0x32d139-_0x562bff._0x210f4c);}this[_0x1af9d7(0x53e,0x6f9)+_0x94ff02(0x32d,_0x33bc45._0x1f3ca0)+'g']=!![],this['log'](_0x94ff02(0x4d3,_0x33bc45._0x28a950)+_0x94ff02(_0x33bc45._0x19580d,0x263)+_0x1af9d7(_0x33bc45._0x193620,_0x33bc45._0x24e864)+'l='+this[_0x1af9d7(_0x33bc45._0x2fecd9,_0x33bc45._0x3291f1)][_0x94ff02(0x585,_0x33bc45._0x41fb29)+'rl']);const _0x1ba2a3=this[_0x1af9d7(0x84b,0xa16)+_0x1af9d7(_0x33bc45._0x11dafe,_0x33bc45._0x4e75d8)](this[_0x1af9d7(0x95f,0xa2e)]['gatewayU'+'rl']);this[_0x1af9d7(0x7e9,0x8cf)+_0x94ff02(0x41c,0x40b)]=_0x1ba2a3,_0x1ba2a3[_0x94ff02(_0x33bc45._0x59c1d9,_0x33bc45._0x4effea)](_0x94ff02(0x11e,-0x22),()=>{if(this[_0x4e7db0(_0x1b5c91._0x26f49f,_0x1b5c91._0x19699d)]||this[_0x4e7db0(0x371,0x46c)+_0x4e7db0(0x382,0x48c)]!==_0x1ba2a3){_0x1ba2a3[_0x262518(_0x1b5c91._0x2b6188,0x655)]();return;}this[_0x262518(0x49d,_0x1b5c91._0x3bd300)+_0x262518(_0x1b5c91._0x3195b5,0x83c)+'g']=![];function _0x262518(_0x562fbf,_0x196048){return _0x94ff02(_0x562fbf-0x33d,_0x196048);}this[_0x4e7db0(_0x1b5c91._0x2e63a6,0x8f)+_0x262518(_0x1b5c91._0x586dac,_0x1b5c91._0x53fd0a)+_0x262518(_0x1b5c91._0x4e91cf,0x7f4)]=![],this[_0x4e7db0(0xc6,-0x1ab)+_0x4e7db0(_0x1b5c91._0x43ccc7,_0x1b5c91._0x3f7434)+_0x4e7db0(_0x1b5c91._0x117986,0x1f2)+_0x4e7db0(0x361,0x303)]=![],this['gatewayC'+_0x4e7db0(_0x1b5c91._0xe07831,0x34f)+_0x4e7db0(0x41a,_0x1b5c91._0x26ceb8)]=Date[_0x262518(_0x1b5c91._0x2e906f,0xab3)]();const _0x23fe1c={};_0x23fe1c[_0x4e7db0(_0x1b5c91._0x456c8d,_0x1b5c91._0x3675ae)+_0x262518(_0x1b5c91._0x369f59,_0x1b5c91._0x216a2a)]=!![];function _0x4e7db0(_0x5469f0,_0x3b4a2a){return _0x94ff02(_0x5469f0- -_0x1b7d01._0x58d9ab,_0x3b4a2a);}_0x23fe1c[_0x4e7db0(0x41c,_0x1b5c91._0x11a815)+'r']=null,this[_0x4e7db0(0xfb,_0x1b5c91._0x440faf)+_0x262518(_0x1b5c91._0x3a1460,_0x1b5c91._0x3a4a25)](_0x23fe1c),this[_0x262518(_0x1b5c91._0x43fe98,_0x1b5c91._0x24a488)]('gateway\x20'+_0x4e7db0(_0x1b5c91._0x16dcad,_0x1b5c91._0x16dd68)+'d\x20sinceC'+_0x4e7db0(_0x1b5c91._0x13813c,_0x1b5c91._0x270b66)+_0x262518(0x569,_0x1b5c91._0x3514bc)+this['elapsedS'+_0x262518(0x638,_0x1b5c91._0x494f13)](this['clientDe'+'mandStar'+_0x262518(0x594,0x316)])),this[_0x262518(_0x1b5c91._0x25e04d,_0x1b5c91._0x319117)+_0x4e7db0(_0x1b5c91._0x1c0c22,0x3d6)+'wayMessa'+_0x4e7db0(0x364,_0x1b5c91._0x32f31b)]();}),_0x1ba2a3['on'](_0x1af9d7(0x9e9,_0x33bc45._0x33b8cb),(_0x1b9a7e,_0xd56af1)=>{const _0x2b20ac={_0x2a4da1:0x2c5};function _0x8256e1(_0x41b1b8,_0x8ef5bd){return _0x94ff02(_0x8ef5bd-_0x2b20ac._0x2a4da1,_0x41b1b8);}function _0x3039ef(_0x57b165,_0x4f03e0){return _0x94ff02(_0x57b165- -_0x10b058._0x5c87bb,_0x4f03e0);}this[_0x8256e1(_0x232932._0x400a12,0x8d5)+_0x3039ef(_0x232932._0x3c97f7,0x1c5)+_0x3039ef(0x5ae,_0x232932._0x270d90)](_0x1b9a7e,_0xd56af1);}),_0x1ba2a3[_0x1af9d7(0x714,_0x33bc45._0xc6fdd3)](_0x94ff02(0x478,0x4f5),_0x262590=>{function _0xc2f43c(_0x23b064,_0xbebcd8){return _0x1af9d7(_0x23b064- -_0x40b789._0x5a530e,_0xbebcd8);}function _0x2c6d51(_0x4e79b7,_0x3b468f){return _0x1af9d7(_0x3b468f- -0x458,_0x4e79b7);}this[_0x2c6d51(_0x11b333._0x42799e,_0x11b333._0x50c1f8)](_0xc2f43c(_0x11b333._0x23595b,0x3dc)+_0xc2f43c(_0x11b333._0x23f6bf,_0x11b333._0x224056)+String(_0x262590));}),_0x1ba2a3[_0x1af9d7(0x714,_0x33bc45._0x48d76c)](_0x1af9d7(_0x33bc45._0x45260f,_0x33bc45._0x158331),(_0x833bb,_0x421237)=>{const _0x42a591=summarizePendingGatewayMessages(this[_0x2dbdfb(0x1f9,0x21d)+_0x17598a(0x1fc,0x1ae)+_0x17598a(0x49,-_0x2d62f2._0x376c62)])[_0x17598a(0x262,0xf5)+_0x17598a(-0x39,-_0x2d62f2._0x2423ea)],_0x1258c4=this[_0x2dbdfb(-0x3dc,-_0x2d62f2._0x2e6179)+'loseBoun'+_0x2dbdfb(-0xa9,_0x2d62f2._0x14a5f5)+_0x17598a(_0x2d62f2._0x28b808,_0x2d62f2._0x5893a4)]&&shouldKeepGatewayConnected(this[_0x17598a(0x27e,_0x2d62f2._0xf6df38)][_0x17598a(_0x2d62f2._0x11e0ce,-0x79)+_0x17598a(_0x2d62f2._0x3dff5d,0x263)],_0x42a591);this[_0x2dbdfb(-_0x2d62f2._0x3c7c48,0x129)+_0x17598a(_0x2d62f2._0x2f6da8,_0x2d62f2._0x192093)]===_0x1ba2a3&&(this[_0x2dbdfb(-_0x2d62f2._0x56f2b9,0x129)+_0x2dbdfb(0x43,_0x2d62f2._0x41b3b6)]=null);this[_0x2dbdfb(_0x2d62f2._0x4d78e6,-_0x2d62f2._0x5f43a0)+'onnectin'+'g']=![],this[_0x2dbdfb(-0x2c7,-_0x2d62f2._0x2a8744)+'andshake'+'Started']=![],this['gatewayC'+_0x2dbdfb(_0x2d62f2._0x57199d,_0x2d62f2._0x47bee4)+_0x17598a(0x67,0x47)+_0x17598a(0x100,-0x89)]=![],this[_0x17598a(-0x19b,-0x208)+'onnected'+_0x17598a(0x1b9,0x1d6)]=null,this[_0x2dbdfb(0x280,_0x2d62f2._0x1eb98a)+_0x17598a(-_0x2d62f2._0x115363,-_0x2d62f2._0x4f5891)+_0x17598a(_0x2d62f2._0x193cc2,0x280)+'shakes'](_0x17598a(0x1d8,-_0x2d62f2._0x5132a3)+_0x17598a(-0x205,-0x63)+_0x2dbdfb(0x2ae,_0x2d62f2._0xf1195f)+'e='+_0x833bb);function _0x2dbdfb(_0x288aea,_0x3bea7e){return _0x94ff02(_0x3bea7e- -_0x2e84c0._0x5befbe,_0x288aea);}this[_0x2dbdfb(-0x268,-_0x2d62f2._0x1f7d54)+_0x17598a(-0x24,-0x2c8)]({'gatewayConnected':![],'lastError':_0x833bb===0x3e8||_0x1258c4?this['snapshot'][_0x2dbdfb(_0x2d62f2._0x294e6c,0x1d4)+'r']:_0x17598a(0x1d8,0x217)+'closed:\x20'+(_0x421237[_0x17598a(0xca,_0x2d62f2._0x7f095c)]()||_0x833bb)}),this[_0x2dbdfb(_0x2d62f2._0x30bcb4,_0x2d62f2._0x18085b)](_0x2dbdfb(-0x11,_0x2d62f2._0x151e7b)+'disconne'+_0x2dbdfb(-0xe,_0x2d62f2._0x21d212)+'e='+_0x833bb+'\x20reason='+(_0x421237[_0x17598a(0xca,_0x2d62f2._0x344445)]()||_0x2dbdfb(0x27e,0xbb))+(_0x17598a(-0x19c,_0x2d62f2._0x1c6117)+'ientDema'+'ndMs=')+this['elapsedS'+_0x17598a(0x0,-0x14)](this[_0x17598a(-_0x2d62f2._0x27ae68,-_0x2d62f2._0x1f52ab)+_0x17598a(0x281,0x2e8)+_0x17598a(-_0x2d62f2._0x1207a4,0x1b6)]));function _0x17598a(_0x206c5,_0x305419){return _0x94ff02(_0x206c5- -0x2fb,_0x305419);}if(_0x1258c4){this[_0x2dbdfb(-_0x2d62f2._0x22ccce,0x136)](_0x3fdbc8[_0x2dbdfb(0x3c7,0x27a)]),this['ensureGa'+_0x17598a(-0x63,-_0x2d62f2._0x47090b)+_0x2dbdfb(_0x2d62f2._0x1ad3c9,0x106)]();return;}this[_0x2dbdfb(-_0x2d62f2._0x5be501,-0x105)+_0x17598a(-0x1c7,-0x3a3)+_0x2dbdfb(_0x2d62f2._0x4f26ce,_0x2d62f2._0x2384ba)]();});}[_0x684713(0x84b,0x68b)+'tewayMes'+_0x528821(0x3bc,0x3dc)](_0x420ea7,_0xc6d802){const _0x209bbb={_0x78b451:0x3d8,_0x50ad2c:0x1f4,_0x4437c0:0x360,_0x28e486:0xbf3,_0x4d86d3:0x9fc,_0x4216ff:0x751,_0x83b71f:0xa18,_0x49e0a9:0x79a,_0x3c0b56:0x9b3,_0x5e59bc:0x62d,_0x1c6762:0x6f5},_0x5dfe42={_0x99b1b2:0x38f},_0x5844c2={};_0x5844c2[_0x1d4038(0x5ea,0x6fd)]=function(_0x48201a,_0x1b5600){return _0x48201a==_0x1b5600;};const _0x5c93a6=_0x5844c2,_0x96ba44=this['relaySoc'+'ket'];if(!_0x96ba44||_0x96ba44[_0x1d4038(_0x209bbb._0x78b451,_0x209bbb._0x50ad2c)+'te']!==_0x36f378[_0x1b1906(0x804,0x8d4)])return;if(_0xc6d802){_0x96ba44['send'](normalizeBinary(_0x420ea7));return;}function _0x1b1906(_0x39dead,_0x5987a){return _0x528821(_0x39dead,_0x5987a-0x62a);}const _0x150ae1=normalizeText(_0x420ea7);function _0x1d4038(_0x1695eb,_0x267678){return _0x528821(_0x267678,_0x1695eb-_0x5dfe42._0x99b1b2);}if(_0x5c93a6['uvtfF'](_0x150ae1,null))return;const _0x39cc18=parsePairingRequestFromError(_0x150ae1);_0x39cc18&&this['addPendi'+_0x1d4038(_0x209bbb._0x4437c0,0x188)+_0x1b1906(_0x209bbb._0x28e486,_0x209bbb._0x4d86d3)](_0x39cc18);const _0x3dda3c=parsePairResolvedEvent(_0x150ae1);_0x3dda3c&&this[_0x1b1906(0x8e3,_0x209bbb._0x4216ff)+_0x1b1906(_0x209bbb._0x83b71f,_0x209bbb._0x49e0a9)+_0x1d4038(0x336,0xd7)](_0x3dda3c[_0x1b1906(0x7b4,_0x209bbb._0x3c0b56)+'d'],_0x3dda3c['decision']);const _0x16d0d6=parseResponseEnvelopeMeta(_0x150ae1);_0x16d0d6&&this[_0x1b1906(0xaf8,0x867)+_0x1b1906(_0x209bbb._0x5e59bc,_0x209bbb._0x1c6762)+'sponse'](_0x16d0d6),_0x96ba44[_0x1d4038(0x2ff,0x60)](_0x150ae1);}['flushPen'+_0x684713(0x1e5,0x2b0)+_0x528821(0x6,-0x7b)+_0x684713(0x5cc,0x479)](){const _0x55edc2={_0x8ccec8:0x18f,_0x13e35c:0x387,_0x5bf911:0xae,_0xf98a9d:0x176,_0x30d35a:0x259,_0x475bad:0x142,_0x30e384:0x15a,_0x33b6ea:0x319,_0x4b4505:0x3de,_0x78200f:0x31d,_0x37d199:0x1c1,_0x2a0633:0x37f,_0x156347:0x593,_0x4390aa:0x71,_0x44b225:0x174,_0x1d379a:0x28a,_0x277b7a:0x32d,_0x315056:0x15b,_0x4709e0:0x3d3,_0x556058:0x178,_0x3356ec:0x2d3,_0xab8ca6:0x470,_0x3f3fc7:0x511,_0x27153e:0x3f9,_0x1d8f18:0x15b,_0x1e7c62:0x5dd,_0xa4042b:0x4c5,_0x5aa13f:0x4bd},_0x379fbb={_0x344aa4:0x1f3},_0x1d1bdf={'voMaZ':'text','MDkFp':function(_0x41e154,_0x19367a){return _0x41e154(_0x19367a);}};function _0x34ddb6(_0x1c9c4a,_0x525107){return _0x684713(_0x1c9c4a,_0x525107- -0xb5);}const _0x51719e=this[_0x34ddb6(0x5a7,0x3d1)+_0x34ddb6(0x2de,0x3e2)];function _0x2b6fa3(_0x52b6b8,_0x24c539){return _0x684713(_0x52b6b8,_0x24c539- -_0x379fbb._0x344aa4);}if(!_0x51719e||_0x51719e[_0x2b6fa3(_0x55edc2._0x8ccec8,0xf8)+'te']!==_0x36f378[_0x2b6fa3(0x5f7,0x359)])return;const _0x4d9b9d=[],_0x2746d0=dedupePendingGatewayMessages(this[_0x2b6fa3(0x291,_0x55edc2._0x13e35c)+'atewayMe'+_0x2b6fa3(_0x55edc2._0x5bf911,0x1cc)]);_0x2746d0['dropped']>0x0&&this['log'](_0x2b6fa3(_0x55edc2._0xf98a9d,_0x55edc2._0x30d35a)+'stale\x20qu'+'eued\x20gat'+_0x34ddb6(-_0x55edc2._0x475bad,_0x55edc2._0x30e384)+'sages\x20be'+_0x2b6fa3(_0x55edc2._0x33b6ea,_0x55edc2._0x4b4505)+'sh\x20dropp'+_0x34ddb6(0x1d9,_0x55edc2._0x78200f)+_0x2746d0['dropped']+_0x2b6fa3(0x430,_0x55edc2._0x37d199)+_0x2746d0[_0x2b6fa3(0x4bf,0x455)]['length']);this[_0x34ddb6(0x30e,0x4c5)+_0x2b6fa3(0x11a,_0x55edc2._0x2a0633)+_0x2b6fa3(0x228,0x1cc)]=[];for(const _0x43c5ff of _0x2746d0[_0x34ddb6(0x689,_0x55edc2._0x156347)]){if(!this[_0x34ddb6(_0x55edc2._0x4390aa,_0x55edc2._0x44b225)+_0x2b6fa3(_0x55edc2._0x1d379a,0x19b)+_0x2b6fa3(_0x55edc2._0x277b7a,_0x55edc2._0x315056)]){if(_0x43c5ff[_0x2b6fa3(0x386,_0x55edc2._0x4709e0)]!==_0x1d1bdf[_0x34ddb6(_0x55edc2._0x556058,_0x55edc2._0x3356ec)]||!_0x1d1bdf[_0x2b6fa3(0x1ec,_0x55edc2._0xab8ca6)](isConnectHandshakeRequest,_0x43c5ff[_0x2b6fa3(_0x55edc2._0x3f3fc7,_0x55edc2._0x27153e)])){_0x4d9b9d[_0x34ddb6(0x170,0x21c)](_0x43c5ff);continue;}this[_0x34ddb6(-0x4c,0x174)+'andshake'+_0x2b6fa3(-0x133,_0x55edc2._0x1d8f18)]=!![];}this['sendToGa'+'teway'](_0x43c5ff);}this[_0x34ddb6(_0x55edc2._0x1e7c62,_0x55edc2._0xa4042b)+_0x34ddb6(0x306,_0x55edc2._0x5aa13f)+'ssages']=_0x4d9b9d;}[_0x528821(0x5af,0x38f)+_0x684713(0x2db,0x3ea)](_0x5a6523){const _0x449501={_0x42d666:0x245,_0x3bf517:0x168,_0x42b834:0x4f5,_0x27a3ff:0xcb,_0x198f65:0x2c5,_0x2c9cc0:0x2c2,_0x2e953f:0x17a,_0x253a63:0x37a,_0x47aa3d:0x313,_0x2686d7:0x4a0,_0x3e7588:0x26d,_0x591f3c:0x63c,_0x51c992:0x41a,_0x43c2ea:0xe1,_0x3be570:0x4c,_0x389632:0x3bd,_0x34daad:0x429,_0x32d547:0x579,_0x3f2a97:0x37c,_0x2c9381:0x548,_0x29aac1:0x21,_0x1a34ca:0x30c,_0x3288a6:0x3de,_0x1c360d:0x1f8,_0x2a4689:0x6d2,_0xee8e9b:0x70,_0x4425cd:0x27b},_0x1d7d99={_0x56dcca:0xd0},_0x4bf6a5={};function _0x452c9a(_0x43a69f,_0x227f8d){return _0x528821(_0x227f8d,_0x43a69f-0x100);}_0x4bf6a5['ZPBPP']=function(_0x1fc323,_0x370c1f){return _0x1fc323!==_0x370c1f;},_0x4bf6a5[_0x452c9a(0x492,_0x449501._0x42d666)]=_0x4f95da(_0x449501._0x3bf517,0x37c)+'connect\x20'+_0x4f95da(-0x133,-0x19)+_0x4f95da(0x421,0x2b9)+_0x452c9a(0x39f,0x2a2)+'rd';const _0x425907=_0x4bf6a5,_0x18278a=this[_0x4f95da(_0x449501._0x42b834,0x2b4)+_0x4f95da(_0x449501._0x27a3ff,_0x449501._0x198f65)];function _0x4f95da(_0x10497b,_0x470e37){return _0x528821(_0x10497b,_0x470e37-_0x1d7d99._0x56dcca);}if(!_0x18278a||_0x425907[_0x4f95da(_0x449501._0x2c9cc0,_0x449501._0x2e953f)](_0x18278a['readySta'+'te'],_0x36f378[_0x4f95da(0x204,_0x449501._0x253a63)])){this[_0x4f95da(_0x449501._0x47aa3d,0x1c4)+'ingGatew'+_0x4f95da(_0x449501._0x2686d7,_0x449501._0x3e7588)+'e'](_0x5a6523);return;}if(_0x5a6523[_0x452c9a(0x424,0x4bc)]==='text'){const _0x278217=patchConnectRequestGatewayAuth(_0x5a6523[_0x4f95da(_0x449501._0x591f3c,_0x449501._0x51c992)],readOpenClawInfo()),_0x74008c=parseConnectHandshakeMeta(_0x278217[_0x4f95da(0x580,0x41a)]);_0x74008c&&(_0x74008c['id']&&this[_0x4f95da(-0xce,_0x449501._0x43c2ea)+_0x452c9a(_0x449501._0x3be570,-0x114)+'andshake'+'s'][_0x4f95da(_0x449501._0x389632,_0x449501._0x34daad)](_0x74008c['id'],{'method':_0x74008c['method'],'startedAtMs':Date[_0x452c9a(0x3f6,0x16e)](),'slowWarningLogged':![]}),this['log'](_0x4f95da(_0x449501._0x32d547,_0x449501._0x3f2a97)+_0x4f95da(_0x449501._0x2c9381,0x364)+_0x4f95da(0x20b,-_0x449501._0x29aac1)+_0x452c9a(_0x449501._0x1a34ca,_0x449501._0x3288a6)+'d'+formatConnectHandshakeMetaForLog(_0x74008c)));_0x278217['injected']&&this[_0x4f95da(_0x449501._0x1c360d,0x2c1)](_0x425907[_0x452c9a(0x492,_0x449501._0x2a4689)]);_0x18278a['send'](_0x278217['text']);return;}_0x18278a[_0x452c9a(_0x449501._0xee8e9b,0x2c3)](_0x5a6523[_0x452c9a(0xa6,_0x449501._0x4425cd)]);}[_0x684713(0x530,0x351)+_0x528821(0x5c9,0x3ad)+'st'](_0x5a13c7,_0x527aef){const _0x5ae8eb={_0x4f20e3:0x62d,_0x3abeab:0x791,_0x52a2ba:0x929,_0x357604:0x838,_0x480584:0x68f,_0x24f108:0x464,_0x1e5437:0x5a8,_0x2014af:0x62d,_0x349f9d:0x97f,_0x5ef628:0x917},_0x108e85={_0x207a9f:0x301},_0x1c1f9f={_0x123e4d:0x41},_0x5991e7={'wGDVI':function(_0x5d3203){return _0x5d3203();},'CCdAs':_0x78a35a(_0x5ae8eb._0x4f20e3,0x474)},_0x4cace8=JSON[_0x152586(0x79d,_0x5ae8eb._0x3abeab)+'y']({'type':'req','id':_0x152586(_0x5ae8eb._0x52a2ba,_0x5ae8eb._0x357604)+_0x5991e7[_0x78a35a(_0x5ae8eb._0x480584,_0x5ae8eb._0x24f108)](_0x3bb91d),'method':_0x5a13c7,'params':_0x527aef});function _0x78a35a(_0x145aa7,_0x57b2f1){return _0x684713(_0x57b2f1,_0x145aa7-_0x1c1f9f._0x123e4d);}const _0x202c3a={};_0x202c3a[_0x152586(0x8c7,0x9ef)]=_0x5991e7[_0x78a35a(0x4d6,_0x5ae8eb._0x1e5437)],_0x202c3a[_0x78a35a(_0x5ae8eb._0x2014af,0x848)]=_0x4cace8;function _0x152586(_0x486109,_0x3cfc5a){return _0x684713(_0x3cfc5a,_0x486109-_0x108e85._0x207a9f);}this['forwardO'+'rQueueGa'+'tewayMes'+_0x152586(_0x5ae8eb._0x349f9d,_0x5ae8eb._0x5ef628)](_0x202c3a);}[_0x528821(0x53b,0x3e8)+_0x684713(0x883,0x601)](_0x405064=![]){const _0x233824={_0x265595:0x613,_0x199fbd:0x5ab,_0x30e0fd:0x333,_0x5658b7:0x6e3,_0x4a2c2d:0x8a7,_0x2de567:0x754,_0x280dbd:0x99e,_0x5586b2:0x4bc,_0x20d0e9:0x70c,_0x52fc97:0x683,_0x313b5c:0x7f7,_0x55bc46:0x7ce,_0x53a330:0x50f,_0x4c7338:0x375,_0x1734df:0x520,_0x4f966a:0x2c9,_0x4dc0cb:0x2b2,_0xeb3b59:0x568,_0x3f1560:0x3b1,_0x1d2961:0x5cf,_0x3e725d:0x264,_0x27da1a:0x44c,_0x16ad81:0x49c,_0x2c6792:0x3b5,_0x161fb2:0x52d,_0x5688b7:0x5bb,_0x29f3b4:0x6e9,_0x51a178:0x4bf,_0x5c6052:0x3ec,_0x39bcf8:0x69b,_0x12b68c:0x3ee,_0x3b3270:0x3d4,_0x27c070:0x7cb,_0x5160a6:0x5f9,_0x504e25:0x466,_0x277e80:0x650,_0xf2ba32:0x69c,_0x119ae8:0x487,_0x2d8e8a:0x660,_0x42a8b3:0x7d8,_0x47c4f1:0x650,_0x16a760:0x804,_0x1e94b8:0x48c,_0x2828d5:0x6da,_0x2b75cc:0x475,_0xbdac5b:0x5ef,_0x18e3db:0x83a,_0x1a1c9c:0x879,_0x38b31a:0x6e1},_0x576686={_0x3fe88f:0x32b};this[_0x7e29cb(0x6e3,_0x233824._0x265595)+_0x7e29cb(_0x233824._0x199fbd,_0x233824._0x30e0fd)+'r']&&(clearTimeout(this[_0x7e29cb(_0x233824._0x5658b7,_0x233824._0x4a2c2d)+'etryTime'+'r']),this['gatewayR'+'etryTime'+'r']=null);function _0x20e1b7(_0x146ab2,_0x5d3180){return _0x528821(_0x146ab2,_0x5d3180-_0x576686._0x3fe88f);}const _0x25f98f=summarizePendingGatewayMessages(this[_0x7e29cb(_0x233824._0x2de567,_0x233824._0x280dbd)+_0x7e29cb(0x74c,_0x233824._0x5586b2)+_0x7e29cb(0x599,_0x233824._0x20d0e9)])['connectR'+'equests'],_0x35d144=_0x405064&&this[_0x7e29cb(0x55c,0x4d1)+_0x7e29cb(_0x233824._0x52fc97,_0x233824._0x313b5c)]()&&shouldKeepGatewayConnected(this[_0x7e29cb(_0x233824._0x55bc46,0x9f5)]['clientCo'+_0x20e1b7(0x503,0x544)],_0x25f98f),_0x30335b=this[_0x20e1b7(0x282,_0x233824._0x53a330)+_0x20e1b7(_0x233824._0x4c7338,_0x233824._0x1734df)];this[_0x20e1b7(_0x233824._0x4f966a,_0x233824._0x4dc0cb)+_0x7e29cb(_0x233824._0xeb3b59,_0x233824._0x3f1560)+_0x20e1b7(_0x233824._0x1d2961,0x3d7)]=![];function _0x7e29cb(_0x40e83f,_0x178937){return _0x528821(_0x178937,_0x40e83f-0x47c);}this[_0x20e1b7(0x2a1,_0x233824._0x3e725d)+_0x7e29cb(_0x233824._0x27da1a,_0x233824._0x16ad81)+'AtMs']=null;if(!_0x30335b){this[_0x7e29cb(_0x233824._0x2c6792,_0x233824._0x161fb2)+_0x20e1b7(_0x233824._0x5688b7,_0x233824._0x29f3b4)+_0x7e29cb(0x5b7,0x769)+'ing']=![],this[_0x7e29cb(_0x233824._0x2c6792,_0x233824._0x51a178)+_0x7e29cb(0x582,_0x233824._0x5c6052)+'g']=![];_0x35d144&&this[_0x20e1b7(0x7ad,_0x233824._0x39bcf8)+'tewayCon'+_0x20e1b7(_0x233824._0x12b68c,0x4ec)]();return;}if(_0x30335b[_0x20e1b7(0x2fb,0x374)+'te']===_0x36f378[_0x20e1b7(0x249,_0x233824._0x3b3270)]){this['gatewayC'+_0x20e1b7(_0x233824._0x27c070,_0x233824._0x29f3b4)+_0x20e1b7(_0x233824._0x5160a6,_0x233824._0x504e25)+_0x7e29cb(_0x233824._0x277e80,0x648)]=_0x35d144;return;}if(_0x30335b['readySta'+'te']===_0x36f378[_0x20e1b7(_0x233824._0xf2ba32,_0x233824._0x119ae8)]){this[_0x20e1b7(0x4ee,_0x233824._0x53a330)+_0x7e29cb(0x671,0x481)]===_0x30335b&&(this[_0x7e29cb(_0x233824._0x2d8e8a,0x42f)+_0x7e29cb(0x671,_0x233824._0x42a8b3)]=null);this[_0x7e29cb(0x3b5,0x1e0)+'loseBoun'+'daryPend'+_0x7e29cb(_0x233824._0x47c4f1,_0x233824._0x16a760)]=![],this[_0x7e29cb(_0x233824._0x2c6792,_0x233824._0x1e94b8)+'onnectin'+'g']=![];_0x35d144&&this[_0x20e1b7(_0x233824._0x2828d5,_0x233824._0x39bcf8)+_0x7e29cb(0x4ed,_0x233824._0x2b75cc)+_0x7e29cb(0x63d,_0x233824._0xbdac5b)]();return;}this['gatewayC'+_0x7e29cb(_0x233824._0x18e3db,_0x233824._0x1a1c9c)+'daryPend'+_0x7e29cb(_0x233824._0x47c4f1,_0x233824._0x38b31a)]=_0x35d144,_0x30335b['close']();}[_0x684713(0x4f7,0x4e8)+_0x684713(0x3e5,0x55e)](_0xfc8d9a){const _0x273a83={_0x5b8b6a:0x533,_0x562be8:0x65d};if(this['options']['createWe'+_0x4f4c12(0x495,0x262)])return this[_0x4f4c12(_0x273a83._0x5b8b6a,0x2a1)][_0x217031(0x36c,0x50b)+_0x217031(0x790,0x581)](_0xfc8d9a);const _0x2c0bd={};function _0x4f4c12(_0x234cc8,_0x3c5434){return _0x528821(_0x3c5434,_0x234cc8-0x1d9);}_0x2c0bd[_0x217031(0x5f0,_0x273a83._0x562be8)+'ad']=0x19*0x400*0x400;function _0x217031(_0x2a6ab8,_0x35c21f){return _0x528821(_0x2a6ab8,_0x35c21f-0x2c5);}return new _0x36f378(_0xfc8d9a,_0x2c0bd);}[_0x684713(0x5f4,0x4df)+_0x528821(0x29,0xcb)+'sponse'](_0x19074a){const _0xcdea17={_0x3363d0:0x642,_0x239594:0x8dd,_0x4d5808:0x3b2,_0x127f98:0x4b0,_0x8138f8:0xe8,_0x1860bc:0x286,_0x1d0cdc:0x709,_0x20f1a1:0x1d1,_0x1c3313:0x286,_0x550742:0x4c4,_0x59b8e0:0x59e,_0x8c138b:0x5b9,_0x673244:0x898,_0x2b5b81:0x59c,_0x3e0e3a:0x588,_0x217573:0x716,_0x428a1e:0x96e,_0x3446ab:0x8f0,_0x49240d:0x785,_0x51c767:0x5ce,_0x1fb865:0x422,_0x2fe7d6:0x646,_0x541707:0x630,_0x114755:0x525,_0x431fc0:0x65f,_0x8c5116:0xa81};function _0x46c7f3(_0x48d888,_0x2e0933){return _0x528821(_0x48d888,_0x2e0933-0x33a);}const _0x5de099={};_0x5de099[_0x403000(0x6d1,_0xcdea17._0x3363d0)]='ok=true',_0x5de099[_0x46c7f3(_0xcdea17._0x239594,0x738)]=_0x46c7f3(_0xcdea17._0x4d5808,_0xcdea17._0x127f98);const _0x926e3b=_0x5de099;function _0x403000(_0x24c785,_0x1239ed){return _0x528821(_0x1239ed,_0x24c785-0x61d);}const _0x3d6bdf=this[_0x403000(0x62e,0x6bc)+_0x46c7f3(_0xcdea17._0x8138f8,_0xcdea17._0x1860bc)+_0x403000(_0xcdea17._0x1d0cdc,0x70f)+'s'][_0x403000(0x69a,0x6da)](_0x19074a['id']);if(!_0x3d6bdf)return;this['inFlight'+_0x46c7f3(_0xcdea17._0x20f1a1,_0xcdea17._0x1c3313)+_0x46c7f3(_0xcdea17._0x550742,0x426)+'s'][_0x403000(0x6e3,0x539)](_0x19074a['id']);const _0x4c847b=_0x19074a['ok']?_0x926e3b['xMhNN']:'ok=false'+'\x20errorCo'+_0x46c7f3(_0xcdea17._0x59b8e0,0x491)+(_0x19074a[_0x403000(_0xcdea17._0x8c138b,0x816)+'e']??_0x926e3b[_0x403000(0xa1b,_0xcdea17._0x673244)])+('\x20errorMe'+_0x403000(_0xcdea17._0x2b5b81,0x7c5))+(_0x19074a[_0x403000(0x837,0x5cc)+_0x46c7f3(_0xcdea17._0x3e0e3a,_0xcdea17._0x217573)]??'<none>');this[_0x403000(0x80e,_0xcdea17._0x428a1e)](_0x403000(0x8c9,_0xcdea17._0x3446ab)+_0x46c7f3(_0xcdea17._0x49240d,_0xcdea17._0x51c767)+_0x46c7f3(0x4d5,0x5ca)+_0x46c7f3(0x56a,_0xcdea17._0x1fb865)+_0x19074a['id']+'\x20method='+_0x3d6bdf[_0x46c7f3(0x770,_0xcdea17._0x2fe7d6)]+('\x20elapsed'+_0x403000(0x845,0xad8))+(Date[_0x46c7f3(0x465,_0xcdea17._0x541707)]()-_0x3d6bdf[_0x46c7f3(_0xcdea17._0x114755,_0xcdea17._0x431fc0)+_0x403000(0x8d3,_0xcdea17._0x8c5116)])+'\x20'+_0x4c847b);}[_0x684713(0x66a,0x414)+_0x684713(0xe,0x236)+_0x528821(0x2b4,0x260)+'shakes'](_0x5eac84){const _0x4860db={_0x2494d1:0x37f,_0xfbfb3b:0x293,_0x2c4c1f:0x7d,_0x484aa0:0x344,_0x5453c5:0x20e,_0x46f484:0x8e,_0x28c28d:0x1b4,_0x52a4c5:0x11b,_0x547fc8:0x232,_0x3dd619:0x18b,_0x4ef9c1:0x1d2,_0x23cc6c:0x379,_0x36e976:0x374,_0x2b8b6f:0x20f,_0xe90b00:0x1ca,_0x187b0a:0x2c7,_0xc675fd:0x1,_0x1c274f:0x239,_0x32a926:0x2d0,_0x5267ee:0x1cb},_0x6515d4={_0x3683e5:0x20},_0xcbedc7={_0x1dad38:0x300};function _0x534830(_0x439190,_0x4ab71a){return _0x684713(_0x439190,_0x4ab71a- -_0xcbedc7._0x1dad38);}const _0x161433={};_0x161433[_0x53c0f8(0x44d,_0x4860db._0x2494d1)]=function(_0x2db838,_0x44cd1d){return _0x2db838===_0x44cd1d;};const _0x1e4b80=_0x161433;if(_0x1e4b80[_0x534830(-0x21,0x16d)](this[_0x53c0f8(_0x4860db._0xfbfb3b,_0x4860db._0x2c4c1f)+_0x53c0f8(0x1ce,_0x4860db._0x484aa0)+_0x534830(_0x4860db._0x5453c5,_0x4860db._0x46f484)+'s'][_0x534830(-_0x4860db._0x28c28d,-0x19f)],0x0))return;function _0x53c0f8(_0x2198e5,_0x34da45){return _0x684713(_0x34da45,_0x2198e5- -_0x6515d4._0x3683e5);}for(const [_0x583612,_0x7a7092]of this['inFlight'+'ConnectH'+'andshake'+'s']['entries']()){this['log']('gateway\x20'+_0x534830(0x1c9,0x236)+_0x534830(_0x4860db._0x52a4c5,_0x4860db._0x547fc8)+_0x53c0f8(_0x4860db._0x3dd619,0x10f)+'\x20reqId='+_0x583612+_0x53c0f8(_0x4860db._0x4ef9c1,_0x4860db._0x23cc6c)+_0x7a7092['method']+(_0x534830(_0x4860db._0x36e976,_0x4860db._0x2b8b6f)+_0x534830(0x1f7,_0x4860db._0xe90b00))+(Date['now']()-_0x7a7092[_0x534830(0x523,_0x4860db._0x187b0a)+_0x534830(0x1c5,0x258)])+_0x534830(-_0x4860db._0xc675fd,0x13c)+_0x5eac84);}this[_0x534830(0xab,-0x4d)+_0x53c0f8(0x1ce,_0x4860db._0x1c274f)+_0x534830(_0x4860db._0x32a926,0x8e)+'s'][_0x53c0f8(_0x4860db._0x5267ee,0x2d)]();}['schedule'+'RelayRec'+_0x528821(-0x10f,-0x126)](){const _0x1f6514={_0x2a2cc2:0x14a,_0x3554f6:0x267,_0x207f29:0x16,_0x5c87f1:0x154,_0x1ba48a:0x14f,_0x47fe0c:0x2a8,_0x3c0bd5:0x23b,_0x3ac503:0x126,_0x39aa63:0x310,_0x3fdb49:0xd9,_0x4a27a1:0x9e,_0x516bcd:0x17c,_0x52e0ae:0x1f8,_0x30c91a:0x2c9,_0x214c82:0x1a0,_0x118eee:0x267},_0x435411={_0x38b27c:0x185,_0x3b2f55:0x715,_0x3623cc:0x957,_0x1ade58:0x4f,_0xae7a2d:0x7};if(this[_0x215e7e(_0x1f6514._0x2a2cc2,0x1d3)]||this[_0x3b31dd(0x131,0x160)+_0x3b31dd(0x189,_0x1f6514._0x3554f6)])return;const _0x3e084a=this['options'][_0x215e7e(0x46,0x1a0)+_0x215e7e(-0x1d,-_0x1f6514._0x207f29)+_0x215e7e(_0x1f6514._0x5c87f1,-0x50)]??RECONNECT_BASE_DELAY_MS;function _0x215e7e(_0x5c0adf,_0x1554b4){return _0x684713(_0x5c0adf,_0x1554b4- -0x37a);}function _0x3b31dd(_0x1b2b70,_0x2d05ca){return _0x684713(_0x1b2b70,_0x2d05ca- -0x3ba);}const _0xc15870=this[_0x215e7e(0x328,0x282)]['reconnec'+'tMaxDela'+_0x3b31dd(0x18a,0xfb)]??RECONNECT_MAX_DELAY_MS,_0x5651fb=Math[_0x215e7e(_0x1f6514._0x1ba48a,_0x1f6514._0x47fe0c)](_0xc15870,_0x3e084a*Math[_0x3b31dd(_0x1f6514._0x3c0bd5,_0x1f6514._0x3ac503)](0x1,this[_0x3b31dd(-_0x1f6514._0x39aa63,-0x205)+_0x215e7e(0x33e,0x15d)]));this[_0x3b31dd(0x342,_0x1f6514._0x3fdb49)](_0x215e7e(-0x26b,-0x31)+_0x3b31dd(_0x1f6514._0x4a27a1,_0x1f6514._0x516bcd)+_0x215e7e(-0xef,-0x122)+_0x3b31dd(-0x2a5,-_0x1f6514._0x52e0ae)+'s='+_0x5651fb),this[_0x215e7e(_0x1f6514._0x30c91a,_0x1f6514._0x214c82)+_0x3b31dd(0x36c,_0x1f6514._0x118eee)]=setTimeout(()=>{function _0x18d825(_0x13617d,_0xec8ac1){return _0x3b31dd(_0x13617d,_0xec8ac1-0x6f0);}this[_0x9a56e0(_0x435411._0x38b27c,0x2b5)+_0x18d825(_0x435411._0x3b2f55,_0x435411._0x3623cc)]=null;function _0x9a56e0(_0x5cbc6b,_0x5dd06f){return _0x3b31dd(_0x5cbc6b,_0x5dd06f-0x155);}void this['connectR'+_0x9a56e0(_0x435411._0x1ade58,_0x435411._0xae7a2d)]();},_0x5651fb);}['schedule'+_0x684713(0x307,0x1af)+'econnect'](){const _0x19f24d={_0x2147b8:0x300,_0x25c3d5:0x36e,_0x5b758d:0x4ae,_0x21122:0x652,_0x232fcd:0x107,_0x3f43b4:0x2a7,_0x16d9e0:0x58,_0x50f094:0x390,_0x59f59e:0x5a2,_0x1c6bf2:0x102,_0x4d6cde:0x331,_0x322d3d:0x85,_0x5bbf28:0x28f,_0x286e5f:0x2b6,_0x454b7e:0x157},_0x56ac05={_0x2d5a4c:0x487,_0x44c547:0x178,_0x25c992:0x749,_0x2053d5:0x630,_0x1955c6:0x75,_0x336dc5:0x4c2},_0x529d91={_0x13115e:0x27a},_0x2ff34b={_0xc8757:0x12a};function _0x3171e4(_0x4ab68a,_0x16bb69){return _0x684713(_0x4ab68a,_0x16bb69- -_0x2ff34b._0xc8757);}function _0x1e0739(_0x5dc077,_0x408ca5){return _0x684713(_0x408ca5,_0x5dc077- -_0x529d91._0x13115e);}const _0x280414=summarizePendingGatewayMessages(this[_0x1e0739(_0x19f24d._0x2147b8,0x45c)+'atewayMe'+_0x1e0739(0x145,_0x19f24d._0x25c3d5)])[_0x3171e4(0x3df,_0x19f24d._0x5b758d)+'equests'];if(this[_0x3171e4(_0x19f24d._0x21122,0x423)]||this['gatewayR'+_0x3171e4(_0x19f24d._0x232fcd,_0x19f24d._0x3f43b4)+'r']||!this[_0x3171e4(_0x19f24d._0x16d9e0,0x258)+_0x3171e4(_0x19f24d._0x50f094,0x37f)]()||!shouldKeepGatewayConnected(this[_0x1e0739(0x37a,_0x19f24d._0x59f59e)][_0x1e0739(_0x19f24d._0x1c6bf2,0x338)+'unt'],_0x280414))return;const _0x433ecf=this[_0x1e0739(0x382,_0x19f24d._0x4d6cde)]['gatewayR'+_0x1e0739(_0x19f24d._0x322d3d,0x1ab)+_0x1e0739(0x23b,-0x24)]??GATEWAY_RETRY_DELAY_MS;this[_0x1e0739(_0x19f24d._0x5bbf28,_0x19f24d._0x286e5f)+_0x1e0739(_0x19f24d._0x454b7e,0x2d9)+'r']=setTimeout(()=>{function _0x41b3ef(_0x384c0e,_0x1ea07a){return _0x3171e4(_0x384c0e,_0x1ea07a-0x148);}function _0x4c6f64(_0x438c33,_0x401b71){return _0x3171e4(_0x401b71,_0x438c33- -0x1e4);}this[_0x4c6f64(0x1fb,_0x56ac05._0x2d5a4c)+_0x4c6f64(0xc3,-_0x56ac05._0x44c547)+'r']=null,this[_0x41b3ef(_0x56ac05._0x25c992,_0x56ac05._0x2053d5)+_0x4c6f64(0x5,-_0x56ac05._0x1955c6)+_0x41b3ef(_0x56ac05._0x336dc5,0x481)]();},_0x433ecf);}[_0x528821(0xcc,-0xc5)+_0x684713(0x1f0,0x256)](){const _0x395629={_0x48ebc9:0x7ce,_0xf3b700:0x4ae,_0x508f53:0x71c,_0x1c2fa6:0x6a9,_0x24672c:0x57d,_0x50840e:0x93c,_0x10282b:0x89b,_0x1505db:0x3c7},_0x261ce9={_0x48a2cb:0x851,_0x350ee6:0xd3,_0x375b5f:0xca,_0xfadba2:0x23f,_0x3c6e0c:0x288,_0x5b8dd5:0x1da,_0xcb3055:0x3ff,_0x2f6d08:0x2ee,_0x408724:0x2cf,_0x5ed9d1:0x64f,_0x324f1:0x1ea,_0x5ddf8c:0x763,_0x150111:0x6ce},_0x5d4d25={_0x404e0a:0x17f},_0x3a0b3f={_0x46792a:0x5e2},_0x4c627f={_0x280b8c:0x376},_0x5e4265={};_0x5e4265[_0x8e7b8e(_0x395629._0x48ebc9,0x93e)]=_0x395cdc(0x237,_0x395629._0xf3b700)+_0x8e7b8e(0x60b,_0x395629._0x508f53)+'timed\x20ou'+'t';function _0x395cdc(_0x5269bd,_0x34bb94){return _0x528821(_0x5269bd,_0x34bb94-_0x4c627f._0x280b8c);}function _0x8e7b8e(_0x55db65,_0x56e5a3){return _0x528821(_0x56e5a3,_0x55db65-_0x3a0b3f._0x46792a);}const _0x2c00eb=_0x5e4265;this[_0x8e7b8e(_0x395629._0x1c2fa6,_0x395629._0x24672c)+'tbeat'](),this['heartbea'+_0x8e7b8e(0x961,0x6c5)]=setInterval(()=>{const _0x128fec=this['relaySoc'+_0x4294e6(_0x261ce9._0x48a2cb,0x908)];if(!_0x128fec||_0x128fec[_0x5df56e(-_0x261ce9._0x350ee6,-0x280)+'te']!==_0x36f378[_0x5df56e(0x18e,0x1b1)])return;function _0x5df56e(_0x380b35,_0x41e1cc){return _0x8e7b8e(_0x380b35- -0x6fe,_0x41e1cc);}function _0x4294e6(_0x4724fe,_0x5d2f31){return _0x8e7b8e(_0x4724fe- -_0x5d4d25._0x404e0a,_0x5d2f31);}this[_0x5df56e(-_0x261ce9._0x375b5f,0x1cf)+_0x5df56e(0x3f,0x18a)+_0x5df56e(_0x261ce9._0xfadba2,0x477)]();const _0x59b36d=this[_0x4294e6(0x7bd,0x6cb)][_0x4294e6(0x4b4,0x42b)+_0x5df56e(_0x261ce9._0x3c6e0c,0x3fb)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(Date[_0x5df56e(_0x261ce9._0x5b8dd5,0x2ff)]()-this[_0x4294e6(0x59c,_0x261ce9._0xcb3055)+'yActivit'+_0x5df56e(0xf7,_0x261ce9._0x2f6d08)]>_0x59b36d){this[_0x5df56e(0xd5,_0x261ce9._0x408724)](_0x2c00eb[_0x4294e6(_0x261ce9._0x5ed9d1,0x548)]),_0x128fec[_0x5df56e(_0x261ce9._0x324f1,0x271)+'e']();return;}_0x128fec[_0x4294e6(_0x261ce9._0x5ddf8c,_0x261ce9._0x150111)]();},this[_0x8e7b8e(_0x395629._0x50840e,_0x395629._0x10282b)][_0x395cdc(0x16a,_0x395629._0x1505db)+'tInterva'+_0x8e7b8e(0x9b6,0xae3)]??HEARTBEAT_INTERVAL_MS);}[_0x528821(-0xdb,0xc7)+_0x528821(0xbf,0x23c)](){const _0x5111f3={_0x54e1e0:0xaf,_0x341072:0x8b7,_0x30d1db:0x6c,_0x98f800:0x9ec},_0x2fd58b={_0x152543:0x287},_0x444aec={_0x648412:0x296};function _0x35deba(_0x33aaf2,_0x27bdf1){return _0x684713(_0x33aaf2,_0x27bdf1-_0x444aec._0x648412);}function _0x563dd9(_0x562f31,_0x20a0a9){return _0x684713(_0x562f31,_0x20a0a9- -_0x2fd58b._0x152543);}this[_0x563dd9(_0x5111f3._0x54e1e0,0x6c)+_0x35deba(0xa7c,_0x5111f3._0x341072)]&&(clearInterval(this[_0x35deba(0x3d1,0x589)+'tTimer']),this[_0x563dd9(0x1b2,_0x5111f3._0x30d1db)+_0x35deba(_0x5111f3._0x98f800,_0x5111f3._0x341072)]=null);}[_0x528821(0x20,0x52)+_0x528821(0x1b8,0x15b)+_0x684713(0x3fc,0x5fd)](){const _0x1d1aa8={_0x531883:0x82,_0x5a4881:0x104,_0x11e5b2:0x147,_0x283ddc:0x466,_0x1f357a:0x239,_0x5496aa:0x11b,_0x34b0b7:0x93,_0x398350:0x20b,_0x159c2a:0x315,_0x2c3cf9:0x779,_0x5220b3:0x58d,_0x49652b:0x44b,_0x1a4789:0x2c6,_0x593639:0x5fd,_0x4514de:0x466,_0x1ebf7a:0x107,_0x28443b:0x58,_0x1c494c:0x292,_0x3f557e:0x630,_0x4bc2d4:0x19f,_0x291230:0x346,_0x1650ff:0x4a7,_0x216ff6:0x1ef,_0x53d2ed:0x346,_0x1f3e95:0x583,_0x4c0593:0x626,_0x4c5e0b:0x1e4,_0x5a162d:0x28b,_0x28db71:0x11d,_0x50f9a2:0x143,_0x3546e8:0x80e,_0x36baec:0x5a2};if(this[_0x5e2480(0xb2,-_0x1d1aa8._0x531883)+_0x5e2480(_0x1d1aa8._0x5a4881,-_0x1d1aa8._0x11e5b2)+_0xc1a8f0(0x3e9,_0x1d1aa8._0x283ddc)+'s'][_0xc1a8f0(0x392,_0x1d1aa8._0x1f357a)]===0x0)return;function _0x5e2480(_0x5971cc,_0x243ff6){return _0x528821(_0x5971cc,_0x243ff6- -0x93);}function _0xc1a8f0(_0x531ba6,_0x1fd1cb){return _0x528821(_0x531ba6,_0x1fd1cb-0x37a);}const _0x5e1b4d=this['options'][_0x5e2480(0x1bc,_0x1d1aa8._0x5496aa)+_0x5e2480(_0x1d1aa8._0x34b0b7,0x59)+_0x5e2480(_0x1d1aa8._0x398350,_0x1d1aa8._0x159c2a)+_0xc1a8f0(_0x1d1aa8._0x2c3cf9,_0x1d1aa8._0x5220b3)]??CONNECT_HANDSHAKE_WARN_DELAY_MS,_0x282a01=Date[_0x5e2480(0xb7,0x263)]();for(const [_0x2127d5,_0x3965bc]of this['inFlight'+_0xc1a8f0(_0x1d1aa8._0x49652b,_0x1d1aa8._0x1a4789)+_0xc1a8f0(_0x1d1aa8._0x593639,_0x1d1aa8._0x4514de)+'s'][_0x5e2480(_0x1d1aa8._0x1ebf7a,0x75)]()){const _0x24d828=_0x282a01-_0x3965bc[_0x5e2480(_0x1d1aa8._0x28443b,_0x1d1aa8._0x1c494c)+_0xc1a8f0(0x395,_0x1d1aa8._0x3f557e)];if(_0x3965bc[_0x5e2480(0xca,0x1e9)+_0xc1a8f0(_0x1d1aa8._0x4bc2d4,_0x1d1aa8._0x291230)+'d']||_0x24d828<_0x5e1b4d)continue;_0x3965bc[_0xc1a8f0(_0x1d1aa8._0x1650ff,0x5f6)+_0xc1a8f0(_0x1d1aa8._0x216ff6,_0x1d1aa8._0x53d2ed)+'d']=!![],this['log'](_0xc1a8f0(_0x1d1aa8._0x1f3e95,_0x1d1aa8._0x4c0593)+'connect\x20'+_0xc1a8f0(_0x1d1aa8._0x4c5e0b,_0x1d1aa8._0x5a162d)+'nding\x20re'+'qId='+_0x2127d5+_0x5e2480(-_0x1d1aa8._0x28db71,-_0x1d1aa8._0x50f9a2)+_0x3965bc[_0xc1a8f0(0x6a8,0x686)]+('\x20elapsed'+_0xc1a8f0(_0x1d1aa8._0x3546e8,_0x1d1aa8._0x36baec))+_0x24d828);}}[_0x528821(0x2a7,0xf4)+_0x528821(0xe4,-0x9a)+_0x684713(0x4a7,0x43f)+'e'](_0x3c71de){const _0x41cc8c={_0x35b060:0x584,_0x58246c:0x4d2,_0x1f0fba:0x2b0,_0x52b378:0x43,_0x22f42e:0x3c9,_0x28b41e:0x27,_0x50fd93:0x35,_0x573e51:0x270};function _0x36dc26(_0x4ed37c,_0x2855cc){return _0x684713(_0x4ed37c,_0x2855cc- -0x14f);}this[_0x4cca24(_0x41cc8c._0x35b060,_0x41cc8c._0x58246c)+'atewayMe'+'ssages'][_0x36dc26(_0x41cc8c._0x1f0fba,_0x41cc8c._0x52b378)]>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+'atewayMe'+_0x4cca24(_0x41cc8c._0x22f42e,0x286)][_0x36dc26(0x215,_0x41cc8c._0x28b41e)]();function _0x4cca24(_0x2d69fa,_0x416212){return _0x684713(_0x416212,_0x2d69fa-0xa);}this[_0x4cca24(_0x41cc8c._0x35b060,0x33d)+'atewayMe'+_0x36dc26(_0x41cc8c._0x50fd93,_0x41cc8c._0x573e51)]['push'](_0x3c71de);}[_0x528821(-0x2c1,-0x115)+_0x528821(0x1c,0xca)+_0x684713(0x2b5,0x51f)+'e'](){const _0x23c941={_0x4e457d:0x174,_0x19d686:0x270,_0x3704a5:0x216,_0x1f0c2a:0x89,_0x521a71:0x16c,_0x578c92:0x481,_0x3cb1cc:0x5c8,_0x2d8111:0x140,_0x4c8baf:0x27c,_0x93dda6:0x677,_0x3ad376:0x4c4,_0x6414fe:0xf0,_0x41935c:0x55c,_0x5d6088:0x391,_0x516988:0x5cd,_0xae389f:0x45d,_0x2f286f:0x62d,_0x21651b:0x5ab},_0xa96b79={_0xcc1a58:0x3a7},_0x1b357b={_0x5074ee:0xba},_0x5a0d03={'reIQN':function(_0xd3c561,_0x597a56){return _0xd3c561(_0x597a56);},'eupUm':function(_0x107ccd,_0x158640){return _0x107ccd>_0x158640;}};function _0x1a5f3a(_0x7215ed,_0x22a84e){return _0x528821(_0x7215ed,_0x22a84e- -_0x1b357b._0x5074ee);}const _0x2b2214=_0x5a0d03[_0x1a5f3a(0x1cf,_0x23c941._0x4e457d)](summarizePendingGatewayMessages,this[_0x1a5f3a(_0x23c941._0x19d686,0x21e)+_0x1a5f3a(0x26a,_0x23c941._0x3704a5)+'ssages']);function _0xc8641f(_0xe77323,_0x4ed92d){return _0x528821(_0xe77323,_0x4ed92d-_0xa96b79._0xcc1a58);}if(_0x2b2214[_0x1a5f3a(-_0x23c941._0x1f0c2a,_0x23c941._0x521a71)]===0x0||_0x5a0d03[_0xc8641f(_0x23c941._0x578c92,_0x23c941._0x3cb1cc)](_0x2b2214[_0x1a5f3a(_0x23c941._0x2d8111,_0x23c941._0x4c8baf)+'equests'],0x0))return;this['pendingG'+_0xc8641f(0x5d2,_0x23c941._0x93dda6)+_0xc8641f(0x688,_0x23c941._0x3ad376)]=[],this['log'](_0x1a5f3a(-0x8a,_0x23c941._0x6414fe)+'stale\x20id'+_0x1a5f3a(-0x104,-0x1c1)+'ay\x20queue'+_0xc8641f(_0x23c941._0x41935c,_0x23c941._0x5d6088)+_0x2b2214[_0xc8641f(0x3b0,_0x23c941._0x516988)]+_0x1a5f3a(0x437,0x210)+_0x2b2214[_0xc8641f(0x2ed,_0x23c941._0xae389f)+'t']+_0xc8641f(0x394,_0x23c941._0x2f286f)+_0x2b2214[_0x1a5f3a(_0x23c941._0x21651b,0x330)]);}[_0x684713(0x48f,0x63d)+_0x528821(0x3f2,0x275)+_0x684713(0x2e3,0x23c)](_0x2098eb,_0xc86908){const _0x1d80f5={_0x2dd52a:0x54f,_0xa035d5:0x526,_0x56e06e:0x288,_0x238a38:0x475,_0x52077d:0x5eb,_0x41446f:0x548,_0x35addf:0x3e3,_0xb1911b:0x7fc,_0x47ed42:0x7b0,_0x3d202d:0x552,_0x13c84b:0x598,_0x41e1c9:0x3b0,_0x18d570:0x300,_0x4ab661:0x7cd,_0x1a0065:0x6d4,_0x5c9927:0x34e},_0xcbcf78={_0x4af20d:0x156};function _0x108112(_0x1287b3,_0x477898){return _0x684713(_0x1287b3,_0x477898- -0xce);}const _0x33f440={};_0x33f440['FoADs']=_0x108112(-0xe9,0x18c)+'d';const _0x50073c=_0x33f440,_0x2717ef=Date['now'](),_0x3d104b=new Map(this[_0x108112(_0x1d80f5._0x2dd52a,_0x1d80f5._0xa035d5)][_0x3e1131(0x3b0,_0x1d80f5._0x56e06e)+_0x3e1131(0x7cd,0x9de)]['map'](_0x96e02c=>[_0x96e02c['id'],{..._0x96e02c}])),_0x333dae=_0x3d104b[_0x3e1131(_0x1d80f5._0x238a38,_0x1d80f5._0x52077d)](_0x2098eb)??{'id':_0x2098eb,'label':_0xc86908,'state':_0x108112(-0x15,0x18c)+'d','lastSeenMs':_0x2717ef};_0x333dae[_0x3e1131(0x38f,_0x1d80f5._0x41446f)]=_0xc86908,_0x333dae[_0x108112(0x3c9,0x313)]=_0x50073c[_0x3e1131(_0x1d80f5._0x35addf,0x584)],_0x333dae[_0x3e1131(0x57d,_0x1d80f5._0xb1911b)+'Ms']=_0x2717ef;function _0x3e1131(_0x823975,_0x43abd4){return _0x684713(_0x43abd4,_0x823975-_0xcbcf78._0x4af20d);}_0x3d104b['set'](_0x2098eb,_0x333dae);const _0xd95ada=[..._0x3d104b[_0x108112(0x66c,0x545)]()][_0x108112(_0x1d80f5._0x47ed42,_0x1d80f5._0x3d202d)]((_0xb0c571,_0x2290ec)=>_0x2290ec[_0x3e1131(0x57d,0x5b8)+'Ms']-_0xb0c571['lastSeen'+'Ms'])[_0x108112(0x46a,_0x1d80f5._0x13c84b)](0x0,MAX_DEVICE_DETAILS),_0x4a4b2e={};_0x4a4b2e[_0x3e1131(_0x1d80f5._0x41e1c9,_0x1d80f5._0x18d570)+_0x3e1131(_0x1d80f5._0x4ab661,_0x1d80f5._0x1a0065)]=_0xd95ada,this[_0x3e1131(0x366,_0x1d80f5._0x5c9927)+'apshot'](_0x4a4b2e);}[_0x684713(0x785,0x60e)+_0x684713(0x5e1,0x68d)+'t'](){const _0x5f0507={_0x4f978a:0x67f,_0x2fabd7:0xe0,_0x36258b:0x78c,_0xd605ee:0x6d5,_0x342b7f:0x152},_0x14035d={_0x200da6:0x76};function _0x387ffc(_0x27bfe5,_0x167a5f){return _0x684713(_0x27bfe5,_0x167a5f- -_0x14035d._0x200da6);}function _0xd5cc76(_0x4fb186,_0x1d3aa6){return _0x684713(_0x1d3aa6,_0x4fb186-0x115);}this[_0x387ffc(0x16,0x19a)+_0xd5cc76(0x467,0x20e)]({'connectedDevices':this[_0x387ffc(_0x5f0507._0x4f978a,0x57e)][_0x387ffc(_0x5f0507._0x2fabd7,0x1e4)+_0xd5cc76(_0x5f0507._0x36258b,_0x5f0507._0xd605ee)][_0x387ffc(0x2bf,_0x5f0507._0x342b7f)](_0x2c76ca=>({..._0x2c76ca,'state':_0x387ffc(0x3f9,0x222)}))});}['addPendi'+_0x528821(-0x1,-0x2f)+_0x528821(0x1c6,0x3d2)](_0x42a867){const _0x4d80c4={_0x145fd7:0x446,_0x502d23:0x285,_0x9c3bcf:0x2d3,_0x212405:0x395,_0x52761d:0x476,_0x274b30:0x26f,_0x251400:0x20b,_0x2c4181:0x685,_0x1f5496:0x5df,_0x2fdaf1:0x702,_0x1c880b:0x61,_0x2bae3a:0x2db,_0x127544:0x3a,_0x1d4b09:0x123,_0x542a33:0x8bc,_0x389540:0x172,_0x369f8b:0x17c,_0x324a24:0x181,_0x91f96f:0x104,_0x4b349b:0x50,_0x426472:0x210,_0x508b16:0x1ad,_0x42a95e:0x7ac,_0x28c7dd:0x80d},_0x260dee={_0x2ea546:0x321};if(this['snapshot'][_0x3c3a60(_0x4d80c4._0x145fd7,_0x4d80c4._0x502d23)+_0x446392(0xb9f,0xa28)+_0x446392(0x602,0x87b)][_0x3c3a60(0x3b7,0x2fd)](_0x1b7a25=>_0x1b7a25['requestI'+'d']===_0x42a867[_0x3c3a60(0x352,0x30a)+'d']))return;function _0x446392(_0x3dc261,_0x4e2977){return _0x684713(_0x3dc261,_0x4e2977-0x3b0);}function _0x3c3a60(_0x2eda09,_0x1a809a){return _0x684713(_0x2eda09,_0x1a809a- -_0x260dee._0x2ea546);}const _0x4fcb07=[...this[_0x3c3a60(0xed,_0x4d80c4._0x9c3bcf)][_0x3c3a60(_0x4d80c4._0x212405,_0x4d80c4._0x502d23)+_0x3c3a60(_0x4d80c4._0x52761d,0x357)+'sts'],_0x42a867][_0x3c3a60(_0x4d80c4._0x274b30,0x345)](-MAX_PENDING_PAIR_REQUESTS),_0x10df83={};_0x10df83[_0x3c3a60(_0x4d80c4._0x251400,0x285)+_0x3c3a60(0x504,0x357)+_0x446392(_0x4d80c4._0x2c4181,0x87b)]=_0x4fcb07,this['updateSn'+_0x446392(_0x4d80c4._0x1f5496,_0x4d80c4._0x2fdaf1)](_0x10df83),this[_0x3c3a60(_0x4d80c4._0x1c880b,_0x4d80c4._0x2bae3a)][_0x3c3a60(-_0x4d80c4._0x127544,_0x4d80c4._0x1d4b09)+_0x446392(0x944,_0x4d80c4._0x542a33)+'uest']?.(_0x42a867),this[_0x3c3a60(0x332,_0x4d80c4._0x389540)](_0x3c3a60(_0x4d80c4._0x369f8b,_0x4d80c4._0x324a24)+_0x3c3a60(_0x4d80c4._0x91f96f,_0x4d80c4._0x4b349b)+_0x3c3a60(-_0x4d80c4._0x426472,-_0x4d80c4._0x508b16)+'uestId='+_0x42a867['requestI'+'d']+(_0x446392(0x542,_0x4d80c4._0x42a95e)+'d=')+(_0x42a867['deviceId']||_0x446392(0x814,_0x4d80c4._0x28c7dd)+'>'));}[_0x684713(0x2bc,0x3c9)+_0x684713(0x34d,0x412)+_0x684713(0xc2,0x249)](_0xf2825b,_0x1dfa38){const _0x3d34eb={_0x5ab759:0x5de,_0x3d9ee9:0x57b,_0x12744d:0x278,_0x38622d:0x616,_0x3fa19:0x248,_0x1e0685:0x402,_0x29308f:0x692,_0x324881:0x4cb,_0x143160:0x421},_0x432228=this['snapshot'][_0x1f1204(0x579,_0x3d34eb._0x5ab759)+_0x1f1204(0x7fe,0x6b0)+_0x19eabd(0x740,_0x3d34eb._0x3d9ee9)][_0x19eabd(0x4ea,_0x3d34eb._0x12744d)](_0x4446bd=>_0x4446bd['requestI'+'d']===_0xf2825b?{..._0x4446bd,'status':_0x1dfa38==='approved'||_0x1dfa38===_0x1f1204(0x329,0x19f)?_0x1dfa38:_0x4446bd['status']}:_0x4446bd),_0x46e0a5={};_0x46e0a5[_0x1f1204(0x67e,_0x3d34eb._0x5ab759)+'airReque'+_0x1f1204(_0x3d34eb._0x38622d,0x503)]=_0x432228,this[_0x1f1204(0x1a5,_0x3d34eb._0x3fa19)+_0x19eabd(0x262,_0x3d34eb._0x1e0685)](_0x46e0a5);function _0x19eabd(_0x530062,_0x2ac1fc){return _0x528821(_0x530062,_0x2ac1fc-0x352);}function _0x1f1204(_0x509200,_0x1d2276){return _0x528821(_0x509200,_0x1d2276-0x2da);}this[_0x1f1204(_0x3d34eb._0x29308f,_0x3d34eb._0x324881)](_0x19eabd(0x620,0x552)+_0x1f1204(0x826,0x6de)+_0x1f1204(_0x3d34eb._0x143160,0x29f)+'questId='+_0xf2825b+('\x20decisio'+'n=')+_0x1dfa38);}['updateSn'+_0x528821(0x18c,0xb0)](_0x36b024){const _0x13da09={_0x4f9603:0x6e,_0x47bf86:0x820,_0x364f52:0x7c4,_0x5ea139:0x8a8,_0x1efddc:0x373,_0x4150e0:0x310},_0x29d5ea={_0x1c5bf4:0x1db};function _0x54de5c(_0x51579b,_0x3fe291){return _0x684713(_0x3fe291,_0x51579b-0x22c);}Object[_0x3001e8(-_0x13da09._0x4f9603,-0x242)](this[_0x54de5c(_0x13da09._0x47bf86,0xa2b)],_0x36b024,{'lastUpdatedMs':Date[_0x54de5c(_0x13da09._0x364f52,_0x13da09._0x5ea139)]()});function _0x3001e8(_0x56a34e,_0x85012e){return _0x684713(_0x85012e,_0x56a34e- -_0x29d5ea._0x1c5bf4);}this[_0x3001e8(0x421,0x379)][_0x3001e8(-0xd,-0x6e)]?.(this[_0x54de5c(0x51a,_0x13da09._0x1efddc)+_0x54de5c(0x48d,_0x13da09._0x4150e0)]());}['log'](_0x553fc8){const _0x37356c={_0x230766:0x2f5,_0x531e6f:0x273},_0x2b9d36={_0x50478c:0x182};function _0x320e55(_0x258b42,_0x1a00e7){return _0x684713(_0x258b42,_0x1a00e7-_0x2b9d36._0x50478c);}function _0x4b87f8(_0x1444e2,_0x582686){return _0x684713(_0x582686,_0x1444e2- -0xa2);}this[_0x320e55(0x59f,0x77e)][_0x4b87f8(_0x37356c._0x230766,_0x37356c._0x531e6f)]?.(_0x553fc8);}[_0x528821(0x201,0xe0)+_0x528821(0x85,0x207)](){const _0x39b55c={_0x204192:0x59a,_0x134987:0x5fe},_0x410b4d={_0x42123f:0x210},_0x2adcf2={_0x17c17e:0x57};function _0x5e59c0(_0x315dcb,_0xede73){return _0x528821(_0x315dcb,_0xede73-_0x2adcf2._0x17c17e);}function _0x549db8(_0x27260c,_0x4496ff){return _0x528821(_0x27260c,_0x4496ff-_0x410b4d._0x42123f);}return this['relaySoc'+_0x549db8(_0x39b55c._0x204192,_0x39b55c._0x134987)]?.[_0x549db8(0x312,0x259)+'te']===_0x36f378['OPEN'];}['isGatewa'+_0x528821(0x4f5,0x3d1)](){const _0x37406b={_0x1a2c80:0x37b,_0x3c4de2:0x78,_0x4d4ce5:0x13b,_0x3a7468:0x319,_0x126e94:0x39c};function _0x1f50f8(_0x5d6650,_0x2bd505){return _0x684713(_0x2bd505,_0x5d6650- -0x2e);}function _0x3c8008(_0x37d44f,_0x1d997c){return _0x684713(_0x37d44f,_0x1d997c- -0x1b0);}return this['gatewayS'+_0x3c8008(_0x37406b._0x1a2c80,0x2e7)]?.[_0x3c8008(-_0x37406b._0x3c4de2,_0x37406b._0x4d4ce5)+'te']===_0x36f378[_0x3c8008(_0x37406b._0x3a7468,_0x37406b._0x126e94)];}[_0x528821(0x89,0x224)+_0x528821(0x246,0x36a)](){const _0xf84bfa={_0x1660dc:0x1e1,_0x2b539a:0x228,_0x54f226:0x2e8,_0x5488ab:0x2e8,_0x290c75:0x5f8,_0xc98f84:0x60d,_0x1fd6a9:0x525,_0x3df7e5:0x2e8,_0x166cfc:0x1d0,_0x5425a2:0x3a5,_0x32dded:0x1d0,_0x746c3:0x73a},_0x4b2d76={_0x3d0978:0x97};this['stopHear'+_0x4e1e5b(0x5bc,0x615)]();function _0xe1b7ce(_0x17d22e,_0x3cc32c){return _0x528821(_0x17d22e,_0x3cc32c- -_0x4b2d76._0x3d0978);}function _0x4e1e5b(_0x8afa2a,_0x3bf2df){return _0x528821(_0x3bf2df,_0x8afa2a-0x380);}this[_0xe1b7ce(0x189,_0xf84bfa._0x1660dc)+_0xe1b7ce(_0xf84bfa._0x2b539a,_0xf84bfa._0x54f226)]&&(clearTimeout(this['reconnec'+_0xe1b7ce(0x1e4,_0xf84bfa._0x5488ab)]),this[_0x4e1e5b(_0xf84bfa._0x290c75,_0xf84bfa._0xc98f84)+_0xe1b7ce(_0xf84bfa._0x1fd6a9,_0xf84bfa._0x3df7e5)]=null),this[_0xe1b7ce(0x3f5,_0xf84bfa._0x166cfc)+_0x4e1e5b(0x4af,0x59d)+'r']&&(clearTimeout(this[_0x4e1e5b(0x5e7,0x706)+'etryTime'+'r']),this[_0xe1b7ce(_0xf84bfa._0x5425a2,_0xf84bfa._0x32dded)+_0x4e1e5b(0x4af,_0xf84bfa._0x746c3)+'r']=null);}['elapsedS'+'ince'](_0x2a389e){const _0x477023={_0x3ed407:0x4b8,_0x42170a:0x67a,_0x54e036:0x439,_0x7d5482:0x1f2,_0x340933:0x5d2,_0x4c1bf8:0x5d1,_0x472fa1:0x41f,_0x21c215:0x563,_0xdcb2d:0x7f6},_0x1cc726={_0xca3288:0x2d3};function _0x22cb64(_0x2dae46,_0x389737){return _0x528821(_0x2dae46,_0x389737-_0x1cc726._0xca3288);}const _0x2f9d0e={};_0x2f9d0e[_0x22cb64(_0x477023._0x3ed407,_0x477023._0x42170a)]=function(_0x13a335,_0x1ff77c){return _0x13a335==_0x1ff77c;},_0x2f9d0e[_0x22cb64(_0x477023._0x54e036,_0x477023._0x7d5482)]=function(_0x1bc68b,_0x15bae9){return _0x1bc68b-_0x15bae9;};function _0x4f6f0b(_0x315803,_0x2265de){return _0x528821(_0x2265de,_0x315803-0x500);}const _0x1b4d02=_0x2f9d0e;return _0x1b4d02[_0x22cb64(_0x477023._0x340933,0x67a)](_0x2a389e,null)?null:Math[_0x22cb64(_0x477023._0x4c1bf8,0x511)](0x0,_0x1b4d02[_0x4f6f0b(_0x477023._0x472fa1,_0x477023._0x21c215)](Date[_0x4f6f0b(_0x477023._0xdcb2d,0x76d)](),_0x2a389e));}};function shouldKeepGatewayConnected(_0x553455,_0x2ea489){return _0x553455>0x0||_0x2ea489>0x0;}function shouldScheduleGatewayIdleClose(_0x1bdcfb,_0x1dd8f7,_0x4a3a14){return _0x4a3a14&&!shouldKeepGatewayConnected(_0x1bdcfb,_0x1dd8f7);}function shouldRecycleGatewayForFreshClient(_0x191ef1,_0x3d0740,_0x22f2a3,_0xef063){const _0x258a4c={_0x20248c:0xce};function _0xde7202(_0x3b8d6d,_0x498964){return _0x684713(_0x3b8d6d,_0x498964- -0x85);}const _0x374ca9={};function _0x59fdae(_0x17fa22,_0x354110){return _0x684713(_0x354110,_0x17fa22- -_0x258a4c._0x20248c);}_0x374ca9[_0x59fdae(0x39a,0x213)]=function(_0xd0c7a6,_0x2b76da){return _0xd0c7a6===_0x2b76da;};const _0x28f237=_0x374ca9;return _0x22f2a3&&_0x3d0740>0x0&&(_0x28f237[_0x59fdae(0x39a,0x3f3)](_0x191ef1,0x0)||_0xef063);}function summarizePendingGatewayMessages(_0xf72fba){const _0x10aab8={_0x312d4f:0x34a,_0x2152df:0x4e6,_0xb886c8:0x390,_0x57755a:0x5a,_0x36636e:0x36,_0x28089e:0x271,_0x51c4da:0x78e,_0x4828a0:0x554,_0x194a67:0x319,_0x359c85:0x4b4,_0x18d6b0:0x422,_0x14973d:0x220},_0x56f08e={_0x1553d9:0x373},_0x520810={_0xc187fe:0x138},_0x3b6cc5={};_0x3b6cc5[_0x1bed67(_0x10aab8._0x312d4f,0x40d)]=function(_0x4d5d51,_0x3c82f4){return _0x4d5d51===_0x3c82f4;};const _0x26e2c7=_0x3b6cc5,_0x3147cf={};_0x3147cf[_0x1bed67(_0x10aab8._0x2152df,_0x10aab8._0xb886c8)]=_0xf72fba[_0x1bed67(0x2f5,_0x10aab8._0x57755a)];function _0x1bed67(_0x8b78b0,_0x258fb2){return _0x684713(_0x8b78b0,_0x258fb2- -_0x520810._0xc187fe);}function _0x4050ac(_0x1a1de3,_0x3c0bc3){return _0x684713(_0x3c0bc3,_0x1a1de3- -_0x56f08e._0x1553d9);}_0x3147cf['connectR'+_0x4050ac(-_0x10aab8._0x36636e,-_0x10aab8._0x28089e)]=0x0,_0x3147cf['otherTex'+'t']=0x0,_0x3147cf[_0x4050ac(0x319,0x559)]=0x0;const _0x5f0626=_0x3147cf;for(const _0x2b556a of _0xf72fba){if(_0x26e2c7['HFQXE'](_0x2b556a['kind'],_0x1bed67(_0x10aab8._0x51c4da,_0x10aab8._0x4828a0))){_0x5f0626[_0x4050ac(_0x10aab8._0x194a67,0x326)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x2b556a[_0x1bed67(0x596,_0x10aab8._0x359c85)])){_0x5f0626['connectR'+_0x1bed67(0x3f9,0x205)]+=0x1;continue;}_0x5f0626[_0x1bed67(_0x10aab8._0x18d6b0,_0x10aab8._0x14973d)+'t']+=0x1;}return _0x5f0626;}function dedupePendingGatewayMessages(_0x62fe73){const _0x55bf2c={_0x1d7e01:0x205,_0x160134:0x296,_0x28f869:0x75b,_0x2050f5:0x6e9,_0x5d937c:0x70f,_0xbf96b7:0x12e,_0x588b45:0x1df},_0x4e52b5={_0x40599c:0x4d},_0x2b14e1={'dLrbY':function(_0x51eb7c,_0x59e50e){return _0x51eb7c-_0x59e50e;},'pgLDA':function(_0x517b5b,_0x247ee6){return _0x517b5b(_0x247ee6);}};let _0x2876b9=-0x1;for(let _0x75c622=_0x2b14e1[_0x667054(0x332,0x43d)](_0x62fe73[_0x667054(_0x55bf2c._0x1d7e01,_0x55bf2c._0x160134)],0x1);_0x75c622>=0x0;_0x75c622-=0x1){const _0xdfa6eb=_0x62fe73[_0x75c622];if(_0xdfa6eb?.['kind']===_0x667054(0x65f,0x4ce)&&_0x2b14e1[_0x667054(0x5b1,_0x55bf2c._0x28f869)](isConnectHandshakeRequest,_0xdfa6eb['text'])){_0x2876b9=_0x75c622;break;}}function _0x667054(_0x1f1e6b,_0x3f3c75){return _0x684713(_0x3f3c75,_0x1f1e6b-0x73);}function _0x5351c7(_0x366fe5,_0x3eacb5){return _0x684713(_0x366fe5,_0x3eacb5-_0x4e52b5._0x40599c);}if(_0x2876b9<=0x0){const _0x4cfecb={};return _0x4cfecb[_0x667054(0x6bb,0x77b)]=[..._0x62fe73],_0x4cfecb[_0x5351c7(0x861,_0x55bf2c._0x2050f5)]=0x0,_0x4cfecb;}const _0x5bcac0=_0x62fe73[_0x667054(0x569,0x776)]((_0x46689f,_0x327ac9)=>_0x327ac9>=_0x2876b9||(_0x46689f[_0x667054(0x639,0x684)]!==_0x667054(0x65f,0x586)||!isConnectHandshakeRequest(_0x46689f[_0x5351c7(0x3a4,0x639)]))),_0x4ba8e8={};return _0x4ba8e8['messages']=_0x5bcac0,_0x4ba8e8[_0x667054(_0x55bf2c._0x5d937c,0x78c)]=_0x62fe73[_0x5351c7(_0x55bf2c._0xbf96b7,_0x55bf2c._0x588b45)]-_0x5bcac0[_0x667054(0x205,0x3e7)],_0x4ba8e8;}function prunePendingGatewayMessagesForFreshDemand(_0x364ad5){const _0xe2f845={_0x589f12:0x2f7,_0x576564:0x4d3,_0xee113d:0xae,_0x48a458:0x564,_0x558de4:0x4e2,_0x5a162e:0x121,_0x1f91a9:0x14e,_0x6da178:0x336,_0x399466:0x353,_0x2d83ab:0x36d,_0xb1f478:0xae,_0xd0ddde:0x337,_0x5b1e8d:0x582,_0x4372f2:0x4c5,_0xd35b85:0x3d8,_0x4aa114:0x373},_0x103af2={_0x2910af:0xe4},_0x5a240f={'bbRzO':_0x16c762(_0xe2f845._0x589f12,_0xe2f845._0x576564),'pQAtK':function(_0x482ca2,_0x4f18f9){return _0x482ca2(_0x4f18f9);}};if(_0x364ad5[_0x159ffc(_0xe2f845._0xee113d,0x6a)]===0x0){const _0x33f977={};return _0x33f977[_0x159ffc(_0xe2f845._0x48a458,0x786)]=[],_0x33f977['dropped']=0x0,_0x33f977;}let _0x3d1b5f=-0x1;for(let _0x36b4c1=_0x364ad5['length']-0x1;_0x36b4c1>=0x0;_0x36b4c1-=0x1){const _0x344962=_0x364ad5[_0x36b4c1];if(_0x344962?.[_0x159ffc(_0xe2f845._0x558de4,0x6c2)]===_0x5a240f[_0x159ffc(_0xe2f845._0x5a162e,0x20d)]&&_0x5a240f[_0x16c762(-_0xe2f845._0x1f91a9,0x5b)](isConnectHandshakeRequest,_0x344962[_0x16c762(_0xe2f845._0x589f12,_0xe2f845._0x6da178)])){_0x3d1b5f=_0x36b4c1;break;}}if(_0x3d1b5f===-0x1){const _0x54e38d={};return _0x54e38d[_0x16c762(_0xe2f845._0x399466,_0xe2f845._0x2d83ab)]=[],_0x54e38d[_0x159ffc(0x5b8,0x7e0)]=_0x364ad5[_0x159ffc(_0xe2f845._0xb1f478,_0xe2f845._0xd0ddde)],_0x54e38d;}function _0x159ffc(_0x5b2553,_0x2d4ab7){return _0x684713(_0x2d4ab7,_0x5b2553- -_0x103af2._0x2910af);}function _0x16c762(_0x3863aa,_0x3cbdd9){return _0x684713(_0x3cbdd9,_0x3863aa- -0x2f5);}const _0x5dcb8a=_0x364ad5[_0x159ffc(_0xe2f845._0x5b1e8d,_0xe2f845._0x4372f2)](_0x3d1b5f),_0x4523a8={};return _0x4523a8[_0x159ffc(0x564,_0xe2f845._0xd35b85)]=_0x5dcb8a,_0x4523a8[_0x159ffc(0x5b8,0x620)]=_0x364ad5[_0x16c762(-0x163,-_0xe2f845._0x4aa114)]-_0x5dcb8a['length'],_0x4523a8;}function patchConnectRequestGatewayAuth(_0x530f6d,_0x283dab){const _0x4ff3ca={_0x1c0522:0x90,_0x396a5f:0xc0,_0x217744:0x269,_0x18f3b2:0x115,_0x10a264:0x184,_0xb6239b:0x1cf,_0x57596c:0x167,_0x39b5e3:0x7b,_0x23fafa:0x2a9,_0x3e2fcd:0x115,_0x4cc5e2:0x29f,_0x4cfaaf:0x17a,_0x40b240:0x16e,_0x4386bf:0x2dd,_0x1e91ee:0x87,_0x5cf6f3:0x106,_0xf52606:0x2e7,_0x269195:0x16,_0x5bb7c5:0x131,_0x47f801:0x1af,_0x1be689:0x92,_0x1e6b2d:0x14b,_0x32f907:0x55,_0x428367:0xd7,_0x433c5d:0x41,_0x382acb:0x2dd,_0x2c8239:0x301,_0x33056b:0xc0,_0x485d90:0x162,_0x14f6d0:0x193,_0x58621a:0x18d,_0x4f92d1:0x23c,_0xdcfbfb:0x185},_0x530420={_0x1d26e9:0x6d},_0x2b622d={};_0x2b622d['OlqKe']=_0x1f944f(-_0x4ff3ca._0x1c0522,-_0x4ff3ca._0x396a5f),_0x2b622d[_0x1f944f(-_0x4ff3ca._0x217744,-_0x4ff3ca._0x18f3b2)]=function(_0x13e7b4,_0x44543c){return _0x13e7b4!==_0x44543c;},_0x2b622d['RcAfH']=function(_0x3bf318,_0x33dee2){return _0x3bf318===_0x33dee2;};function _0x1f944f(_0x5edc99,_0x2d4222){return _0x528821(_0x5edc99,_0x2d4222- -0xd8);}const _0x293ac0=_0x2b622d;function _0x4c19e4(_0xdc9056,_0x1dee16){return _0x528821(_0x1dee16,_0xdc9056- -_0x530420._0x1d26e9);}if(_0x283dab[_0x1f944f(0x117,0x6a)]!==_0x293ac0[_0x4c19e4(-_0x4ff3ca._0x10a264,-_0x4ff3ca._0xb6239b)]||!_0x283dab[_0x1f944f(-0x2fb,-0xc0)]){const _0x25a3d4={};return _0x25a3d4['text']=_0x530f6d,_0x25a3d4['injected']=![],_0x25a3d4;}try{const _0x38356c=JSON[_0x1f944f(_0x4ff3ca._0x57596c,_0x4ff3ca._0x39b5e3)](_0x530f6d);if(_0x38356c[_0x1f944f(_0x4ff3ca._0x23fafa,0x270)]!=='req'||_0x38356c['method']!==_0x4c19e4(0xff,-0x173)&&_0x293ac0[_0x1f944f(0x2a,-_0x4ff3ca._0x3e2fcd)](_0x38356c[_0x4c19e4(_0x4ff3ca._0x4cc5e2,0x3b1)],_0x1f944f(0xca,_0x4ff3ca._0x4cfaaf)+_0x4c19e4(-0xf5,_0x4ff3ca._0x40b240))){const _0x1e48e9={};return _0x1e48e9[_0x4c19e4(_0x4ff3ca._0x4386bf,0x393)]=_0x530f6d,_0x1e48e9[_0x4c19e4(-_0x4ff3ca._0x1e91ee,-0x7d)]=![],_0x1e48e9;}const _0x2e306f=_0x38356c['params']&&_0x293ac0[_0x4c19e4(_0x4ff3ca._0x5cf6f3,-0x16d)](typeof _0x38356c[_0x4c19e4(_0x4ff3ca._0xf52606,0x4ea)],'object')?{..._0x38356c['params']}:{},_0x1425bc=_0x2e306f[_0x1f944f(_0x4ff3ca._0x269195,-0x1cd)]&&typeof _0x2e306f['auth']===_0x4c19e4(-0x5d,-_0x4ff3ca._0x5bb7c5)?{..._0x2e306f[_0x4c19e4(-0x162,-_0x4ff3ca._0x47f801)]}:{},_0x19da01=typeof _0x1425bc[_0x1f944f(-_0x4ff3ca._0x1be689,-0xc0)]===_0x4c19e4(-0x2e,-_0x4ff3ca._0x1e6b2d)?_0x1425bc[_0x4c19e4(-_0x4ff3ca._0x32f907,-0x34)][_0x1f944f(-_0x4ff3ca._0x428367,_0x4ff3ca._0x433c5d)]():'';if(_0x19da01){const _0x69f860={};return _0x69f860[_0x4c19e4(_0x4ff3ca._0x382acb,0x18c)]=_0x530f6d,_0x69f860[_0x4c19e4(-_0x4ff3ca._0x1e91ee,-_0x4ff3ca._0x2c8239)]=![],_0x69f860;}_0x1425bc[_0x1f944f(-0xff,-_0x4ff3ca._0x33056b)]=_0x283dab['password'],_0x2e306f[_0x4c19e4(-_0x4ff3ca._0x485d90,-_0x4ff3ca._0x14f6d0)]=_0x1425bc;const _0x3061da={..._0x38356c};return _0x3061da['params']=_0x2e306f,{'text':JSON[_0x4c19e4(_0x4ff3ca._0x58621a,_0x4ff3ca._0x4f92d1)+'y'](_0x3061da),'injected':!![]};}catch{const _0x4ceccb={};return _0x4ceccb['text']=_0x530f6d,_0x4ceccb[_0x1f944f(_0x4ff3ca._0xdcfbfb,-0xf2)]=![],_0x4ceccb;}}function formatConnectHandshakeMetaForLog(_0x4a9977){const _0xc5ffdc={_0x83df12:0x199,_0x2e3556:0xa5,_0x234cec:0x2a3,_0x26b378:0xaf,_0x58865e:0x4d,_0x5a06fe:0x2e1,_0x352dfd:0x283,_0x54f76c:0xc1,_0x4d0db4:0x3d,_0x4f1dfd:0x1e4,_0x51ef38:0x2ed,_0x17b81b:0x1bd,_0x8d42e1:0x3c,_0x4e84f8:0x263,_0x485e62:0x7f,_0xac598:0x5,_0x4b7964:0x13d,_0x5968ec:0x2fd,_0xfc9028:0x17,_0x3886a1:0xf5,_0xe0e9c0:0x345,_0x5c51f4:0x199},_0x17a695={_0x4ccde3:0x9b},_0x79b85e={};_0x79b85e[_0x3266f2(_0xc5ffdc._0x83df12,0x36)]='<none>';function _0x3266f2(_0x1e8e2c,_0x3cb369){return _0x528821(_0x3cb369,_0x1e8e2c- -_0x17a695._0x4ccde3);}const _0x1a334d=_0x79b85e;function _0x27feae(_0x2940c6,_0x9eb3e1){return _0x528821(_0x9eb3e1,_0x2940c6- -0x69);}if(!_0x4a9977)return'';return _0x3266f2(-0x14b,-_0xc5ffdc._0x2e3556)+_0x4a9977[_0x27feae(_0xc5ffdc._0x234cec,_0xc5ffdc._0x26b378)]+_0x3266f2(_0xc5ffdc._0x58865e,_0xc5ffdc._0x5a06fe)+(_0x4a9977['id']??_0x27feae(0x10d,_0xc5ffdc._0x352dfd))+(_0x3266f2(-_0xc5ffdc._0x54f76c,-_0xc5ffdc._0x4d0db4)+_0x3266f2(_0xc5ffdc._0x4f1dfd,_0xc5ffdc._0x51ef38))+_0x4a9977[_0x3266f2(0x1cb,_0xc5ffdc._0x17b81b)+_0x3266f2(-_0xc5ffdc._0x8d42e1,-0x13)]+(_0x3266f2(0x3c,-_0xc5ffdc._0x4e84f8)+_0x3266f2(0xdd,0x4d))+(_0x4a9977[_0x3266f2(-_0xc5ffdc._0x485e62,-_0xc5ffdc._0xac598)+'gth']??0x0)+(_0x27feae(0x76,0xed)+_0x27feae(0x2d2,0x155))+(_0x4a9977[_0x27feae(_0xc5ffdc._0x4b7964,_0xc5ffdc._0x5968ec)+'ds'][_0x27feae(-0x179,-_0xc5ffdc._0xfc9028)]>0x0?_0x4a9977[_0x3266f2(0x10b,0x87)+'ds'][_0x27feae(-_0xc5ffdc._0x3886a1,-_0xc5ffdc._0xe0e9c0)](','):_0x1a334d[_0x3266f2(_0xc5ffdc._0x5c51f4,0x10b)]);}function buildRelayWsUrl(_0x2de1df){const _0x3a8500={_0x505abd:0x19a,_0x3a05e9:0x8e9,_0x4075db:0x684,_0xb81510:0x118,_0x1e94ec:0x4b2,_0x328728:0x41d,_0x1d1bc5:0x9a,_0x34184d:0xf0,_0x30252a:0xd1,_0x54ef06:0x27b,_0x1cac0d:0x1c6,_0x2a4237:0x104,_0x18e319:0x49e,_0x1b09d2:0x32d,_0x469b75:0x34d,_0x4b6f95:0x486,_0x4f17a4:0x2ae,_0x38673f:0x109,_0x464ec8:0x150,_0x815dcd:0x1c6,_0x37ef00:0x61a,_0xf7dff8:0x6df,_0x88c8ac:0x172},_0x318521={_0x42a722:0x2ce},_0x43807c={_0x455eeb:0xf2},_0x4d66bc={};function _0x8471b4(_0x5f1f7e,_0x3f3add){return _0x684713(_0x5f1f7e,_0x3f3add-_0x43807c._0x455eeb);}_0x4d66bc[_0x3e55eb(-0x9a,-_0x3a8500._0x505abd)]=function(_0x5668d5,_0x86667){return _0x5668d5===_0x86667;};function _0x3e55eb(_0x34bcb2,_0x2085be){return _0x684713(_0x2085be,_0x34bcb2- -_0x318521._0x42a722);}_0x4d66bc[_0x8471b4(_0x3a8500._0x3a05e9,_0x3a8500._0x4075db)]=_0x3e55eb(0x87,-_0x3a8500._0xb81510);const _0x30463c=_0x4d66bc,_0x5b3f8d=new URL(_0x2de1df[_0x8471b4(_0x3a8500._0x1e94ec,_0x3a8500._0x328728)]);return(!_0x5b3f8d[_0x8471b4(0x5a3,0x6a9)]||_0x30463c[_0x3e55eb(-_0x3a8500._0x1d1bc5,_0x3a8500._0x34184d)](_0x5b3f8d['pathname'],'/'))&&(_0x5b3f8d[_0x8471b4(0x5e7,0x6a9)]=_0x8471b4(_0x3a8500._0x30252a,_0x3a8500._0x54ef06)),_0x5b3f8d[_0x3e55eb(_0x3a8500._0x1cac0d,_0x3a8500._0x2a4237)+_0x8471b4(_0x3a8500._0x18e319,0x486)][_0x3e55eb(0x32d,0x567)]('gatewayI'+'d',_0x2de1df[_0x3e55eb(0x20c,0x330)+'d']),_0x5b3f8d['searchPa'+_0x3e55eb(0xc6,0x334)][_0x3e55eb(_0x3a8500._0x1b09d2,0x405)](_0x30463c[_0x8471b4(0x6b0,0x684)],_0x8471b4(0x74b,0x615)),_0x5b3f8d[_0x8471b4(_0x3a8500._0x469b75,0x586)+_0x8471b4(0x686,_0x3a8500._0x4b6f95)]['set'](_0x8471b4(0x8e,_0x3a8500._0x4f17a4),_0x2de1df[_0x3e55eb(-_0x3a8500._0x38673f,_0x3a8500._0x464ec8)+'Id']),_0x5b3f8d[_0x3e55eb(_0x3a8500._0x815dcd,0x298)+_0x8471b4(0x4f4,_0x3a8500._0x4b6f95)]['set']('token',_0x2de1df[_0x3e55eb(-0xc1,-0x22b)+_0x8471b4(_0x3a8500._0x37ef00,_0x3a8500._0xf7dff8)]),_0x5b3f8d[_0x3e55eb(_0x3a8500._0x88c8ac,0x226)]();}function redactRelayWsUrl(_0x4de66e){const _0x43f43d={_0x2b9ec8:0x13b,_0x2d0528:0x668,_0x28d053:0x919};function _0x14b58e(_0x42b479,_0x4649b3){return _0x528821(_0x42b479,_0x4649b3- -0xb7);}const _0xe5aca7={};_0xe5aca7[_0x225f92(0x72d,0x9bc)]='token';const _0x1a553f=_0xe5aca7;function _0x225f92(_0x5b1e85,_0x5e8dc5){return _0x528821(_0x5e8dc5,_0x5b1e85-0x5b0);}const _0x470abc=new URL(_0x4de66e);return _0x470abc[_0x14b58e(0x22d,_0x43f43d._0x2b9ec8)+_0x225f92(0x6a2,_0x43f43d._0x2d0528)]['has'](_0x1a553f['mWPdt'])&&_0x470abc['searchPa'+'rams']['set'](_0x1a553f[_0x225f92(0x72d,0x669)],_0x225f92(0x495,0x591)+'d>'),_0x470abc[_0x225f92(0x74e,_0x43f43d._0x28d053)]();}function normalizeText(_0x2f5471){const _0x51e64f={_0x3cac1b:0x29b,_0x59bd9d:0x131,_0xf353f9:0x36c,_0x2e5cac:0x4ad,_0x1a25c8:0x62f,_0x48f020:0x25e,_0xcaa17a:0x131,_0x78c006:0xfe,_0x11da86:0x1ae,_0x5c0aad:0x3bd,_0x4eecce:0x3a2,_0x42bff5:0x3d7,_0x4505c6:0x177,_0x1593f3:0x348},_0x28c04b={_0x5120a1:0x21f},_0x21c4b6={_0x16965c:0x204},_0x535a3c={};_0x535a3c[_0x2bb3e6(0x177,_0x51e64f._0x3cac1b)]=_0x38b5ac(_0x51e64f._0x59bd9d,_0x51e64f._0xf353f9),_0x535a3c[_0x38b5ac(_0x51e64f._0x2e5cac,_0x51e64f._0x1a25c8)]=function(_0x1f6efe,_0x270568){return _0x1f6efe instanceof _0x270568;};const _0x5a0787=_0x535a3c;if(typeof _0x2f5471===_0x2bb3e6(_0x51e64f._0x48f020,0x1d0))return _0x2f5471;function _0x38b5ac(_0x4b4d76,_0x4273be){return _0x528821(_0x4273be,_0x4b4d76-_0x21c4b6._0x16965c);}if(Buffer['isBuffer'](_0x2f5471))return _0x2f5471['toString'](_0x38b5ac(_0x51e64f._0xcaa17a,-_0x51e64f._0x78c006));if(Array['isArray'](_0x2f5471))return Buffer[_0x2bb3e6(_0x51e64f._0x11da86,0x3b1)](_0x2f5471)[_0x2bb3e6(_0x51e64f._0x5c0aad,0x206)](_0x5a0787[_0x2bb3e6(0x177,-0x122)]);function _0x2bb3e6(_0x33d508,_0x24da35){return _0x528821(_0x24da35,_0x33d508-_0x28c04b._0x5120a1);}if(_0x5a0787[_0x38b5ac(0x4ad,0x5a4)](_0x2f5471,ArrayBuffer))return Buffer['from'](_0x2f5471)[_0x38b5ac(_0x51e64f._0x4eecce,_0x51e64f._0x42bff5)](_0x5a0787[_0x2bb3e6(_0x51e64f._0x4505c6,_0x51e64f._0x1593f3)]);return null;}function normalizeBinary(_0x29c2dc){const _0x46d185={_0x500459:0x1dc,_0x1835d4:0x21,_0x93006d:0xb8,_0xc3a9d7:0x362,_0x288502:0xc,_0x17daa5:0x172},_0x13b9ba={_0x1b8071:0xde},_0x23c800={};_0x23c800[_0x3cbedb(_0x46d185._0x500459,0x250)]=function(_0x454ef7,_0x1a8a39){return _0x454ef7===_0x1a8a39;};const _0xaf67c7=_0x23c800;if(Buffer[_0x3cbedb(_0x46d185._0x1835d4,-_0x46d185._0x93006d)](_0x29c2dc))return _0x29c2dc;if(_0xaf67c7[_0x2255e8(0x33b,0x56c)](typeof _0x29c2dc,_0x3cbedb(0xa4,0x96)))return Buffer[_0x3cbedb(0x169,_0x46d185._0xc3a9d7)](_0x29c2dc,'utf8');if(Array['isArray'](_0x29c2dc))return Buffer[_0x3cbedb(-_0x46d185._0x288502,-_0x46d185._0x17daa5)](_0x29c2dc);function _0x2255e8(_0x4056b0,_0x344cdc){return _0x684713(_0x344cdc,_0x4056b0- -_0x13b9ba._0x1b8071);}function _0x3cbedb(_0x278976,_0x49715d){return _0x684713(_0x49715d,_0x278976- -0x23d);}return Buffer['from'](_0x29c2dc);}function readRecentCliLogs(_0x45958e){const _0xd118a8={_0xae4165:0x355,_0x544f75:0x4c6,_0x352624:0x3b2,_0x302baf:0x707,_0x70f677:0x4e8,_0x290e58:0x3b0,_0x126d50:0xc5,_0x130cca:0x351,_0x5dd36d:0x30e,_0x322283:0x70e,_0x52c9e1:0x913,_0x3f6968:0x270,_0x31f08d:0x27e},_0x13e240={};function _0x491ac2(_0x458e91,_0x586cb3){return _0x684713(_0x458e91,_0x586cb3- -0x1e8);}function _0x4a3df4(_0x5d25f6,_0x33d29b){return _0x684713(_0x33d29b,_0x5d25f6-0xa8);}_0x13e240[_0x4a3df4(_0xd118a8._0xae4165,0x543)]=function(_0x14f0e5,_0x3a007a){return _0x14f0e5==_0x3a007a;};const _0x58fe53=_0x13e240,{logPath:_0x4f21ff,errorLogPath:_0x11354c}=getServicePaths(),_0x38fcfc=clampLines(_0x45958e?.[_0x491ac2(_0xd118a8._0x544f75,_0xd118a8._0x352624)]??0xc8),_0x4e002f=_0x45958e?.[_0x4a3df4(_0xd118a8._0x302baf,_0xd118a8._0x70f677)]??null,_0x537c26=_0x4e002f!=null?Date[_0x491ac2(0x50f,_0xd118a8._0x290e58)]()-_0x4e002f:null,_0x9e916c=[_0x4f21ff];_0x45958e?.['includeE'+'rrorLog']&&_0x9e916c['push'](_0x11354c);const _0x44bf89=_0x9e916c['flatMap'](_0x318823=>readLogFile(_0x318823)),_0x2b0dbe=_0x58fe53[_0x491ac2(0x2a1,_0xd118a8._0x126d50)](_0x537c26,null)?_0x44bf89:_0x44bf89[_0x491ac2(_0xd118a8._0x130cca,_0xd118a8._0x5dd36d)](_0x4c3773=>_0x4c3773['ts']!=null&&_0x4c3773['ts']>=_0x537c26);return _0x2b0dbe[_0x4a3df4(_0xd118a8._0x322283,_0xd118a8._0x52c9e1)](-_0x38fcfc)[_0x4a3df4(_0xd118a8._0x3f6968,_0xd118a8._0x31f08d)](_0x423ad1=>_0x423ad1[_0x4a3df4(0x557,0x2bc)]);}async function buildDoctorReport(){const _0x596bfc={_0x5accd6:0x6e9,_0x35eaf6:0x5d1,_0x2d1889:0x226,_0x5e02d3:0x422,_0x49922c:0x309,_0x4d2583:0x433,_0x5be5dd:0x635,_0x144287:0x500,_0x525b8f:0x6b5,_0x1f7344:0x56e,_0x14ea32:0x751,_0x54f7b2:0x4c6,_0x553ff2:0x4a5,_0x3327e7:0x4a7,_0x380178:0x628,_0x191abf:0x4db},_0x4ed799={'Zvyrp':function(_0x3ea72f){return _0x3ea72f();}};function _0x1aa33a(_0x47631e,_0x1447ca){return _0x684713(_0x47631e,_0x1447ca-0xf7);}const _0x1c03c5=readPairingConfig(),_0x29a3be=getServiceStatus(),_0x4797a3=_0x4ed799['Zvyrp'](readOpenClawInfo),_0x165b3f=_0x4ed799[_0x2ddd35(_0x596bfc._0x5accd6,0x54d)](resolveGatewayUrl);function _0x2ddd35(_0x5a2f65,_0x9fbafc){return _0x684713(_0x5a2f65,_0x9fbafc- -0xe3);}const _0x577344=await checkGatewayReachable(_0x165b3f);return{'paired':Boolean(_0x1c03c5),'gatewayId':_0x1c03c5?.[_0x1aa33a(0x791,_0x596bfc._0x35eaf6)+'d']??null,'serverUrl':_0x1c03c5?.[_0x1aa33a(0x2d3,0x356)+'l']??null,'relayUrl':_0x1c03c5?.[_0x1aa33a(_0x596bfc._0x2d1889,_0x596bfc._0x5e02d3)]??null,'instanceId':_0x1c03c5?.['instance'+'Id']??null,'serviceInstalled':_0x29a3be[_0x1aa33a(0x2ec,0x53e)+'d'],'serviceRunning':_0x29a3be[_0x1aa33a(_0x596bfc._0x49922c,0x403)],'serviceMethod':_0x29a3be[_0x1aa33a(_0x596bfc._0x4d2583,0x6a5)],'servicePath':_0x29a3be[_0x2ddd35(_0x596bfc._0x5be5dd,_0x596bfc._0x144287)+_0x2ddd35(_0x596bfc._0x525b8f,_0x596bfc._0x1f7344)],'logPath':_0x29a3be['logPath'],'errorLogPath':_0x29a3be[_0x1aa33a(_0x596bfc._0x14ea32,_0x596bfc._0x54f7b2)+'Path'],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x4797a3[_0x1aa33a(_0x596bfc._0x553ff2,_0x596bfc._0x3327e7)+'und'],'openclawAuthMode':_0x4797a3[_0x1aa33a(_0x596bfc._0x380178,_0x596bfc._0x191abf)],'openclawTokenFound':Boolean(_0x4797a3['token']),'openclawPasswordFound':Boolean(_0x4797a3['password']),'localGatewayUrl':_0x165b3f,'localGatewayReachable':_0x577344};}async function ensurePairPrerequisites(){const _0x414903={_0xe39b6a:0x4d7,_0x271b66:0x3ec,_0x4516d4:0x1e8,_0x4e46ad:0x107,_0x1a0e43:0x242,_0x535481:0x307,_0x3f76d8:0x12d,_0x759744:0x7e,_0x529263:0x4ad,_0x44ed92:0x436,_0x5cddf2:0x228,_0x1aa4cd:0x1f1,_0x2f791a:0x90,_0x485606:0x50e,_0x1aed20:0xe1,_0x44992a:0x468,_0x327176:0x145,_0xc0931b:0x39,_0x3c0939:0x284,_0x2bb497:0x166,_0x475815:0x94,_0x1ec3a6:0x410,_0x420f42:0x504,_0x52c56d:0x3cc,_0x308576:0x114},_0x3338d9={_0x5bb975:0x1a0},_0x77f880={_0x402ae8:0xa9},_0x587727={};_0x587727[_0xa8fffa(_0x414903._0xe39b6a,_0x414903._0x271b66)]=_0x565b98(0x27,0x11d)+_0x565b98(_0x414903._0x4516d4,0x28e)+'`clawket'+_0xa8fffa(0x58,_0x414903._0x4e46ad)+'ecause\x20l'+_0xa8fffa(_0x414903._0x1a0e43,_0x414903._0x535481)+_0x565b98(_0x414903._0x3f76d8,-_0x414903._0x759744)+'erequisi'+_0xa8fffa(_0x414903._0x529263,_0x414903._0x44ed92)+_0x565b98(_0x414903._0x5cddf2,0x314)+'y.';const _0x58dd2f=_0x587727;function _0x565b98(_0x58d5b8,_0x3dacb2){return _0x528821(_0x58d5b8,_0x3dacb2-_0x77f880._0x402ae8);}const _0x4b57f9=await buildDoctorReport(),_0x2663c2=listPairPrerequisiteFailures(_0x4b57f9);if(_0x2663c2[_0xa8fffa(-_0x414903._0x1aa4cd,_0x414903._0x2f791a)]>0x0)throw new Error([_0x58dd2f[_0x565b98(0xf4,0x2f5)],..._0x2663c2[_0x565b98(0x154,-0x31)](_0x4717e8=>'-\x20'+_0x4717e8),_0x565b98(0xf3,0x1dd)+_0xa8fffa(0x41b,_0x414903._0x485606)+'tor`\x20for'+_0xa8fffa(0x2ce,0x479)+_0xa8fffa(0x6f6,0x4b3)+'r\x20use\x20`c'+_0x565b98(-0x93,0x1aa)+_0x565b98(-0xb0,0x1c3)+_0xa8fffa(_0x414903._0x1aed20,0x2c3)+_0xa8fffa(0x34a,_0x414903._0x44992a)+_0x565b98(_0x414903._0x327176,_0x414903._0xc0931b)+_0x565b98(_0x414903._0x3c0939,_0x414903._0x2bb497)+_0xa8fffa(_0x414903._0x475815,0x337)+_0xa8fffa(0x212,0x4b4)+_0xa8fffa(0x637,_0x414903._0x1ec3a6)+_0x565b98(_0x414903._0x420f42,_0x414903._0x52c56d)][_0xa8fffa(0xb6,_0x414903._0x308576)]('\x0a'));function _0xa8fffa(_0x14e5db,_0x190f07){return _0x528821(_0x14e5db,_0x190f07-_0x3338d9._0x5bb975);}return _0x4b57f9;}function listPairPrerequisiteFailures(_0x3bc48d){const _0x45587e={_0x360cc9:0x4b9,_0x184203:0x936,_0x1a866e:0x27f,_0x47824f:0x60a,_0x1b440d:0x7b1,_0x5ead44:0x60f,_0x5ac2bf:0x2d2,_0x3086a0:0x70d,_0x5000c2:0x37f,_0x1bce76:0x109,_0x4b75b1:0x47e,_0x575cd4:0x1b3,_0x4ed171:0x3f7,_0x3c3545:0x4e0,_0x528054:0x76d,_0x46773f:0x4f3,_0x5af1e6:0x6d1,_0x2dc705:0x5cf,_0x318078:0x4d1,_0x56a7a1:0x5cb,_0x453926:0x3b7,_0x10f224:0x5ef,_0xeb82b2:0x3a4,_0x5e9f92:0x1c6,_0x1f7c97:0x7cb,_0x385e67:0x497,_0x103207:0x588,_0x4e1353:0x4ae,_0x322d8f:0x69e,_0x4b7e18:0x438,_0x260b1a:0x462,_0x40052d:0x311,_0x4beb79:0xa9,_0x8000b9:0x239,_0x4d96e8:0x628,_0x4734cc:0x223,_0x229d34:0x4ab,_0x1046eb:0x6fe,_0xad750:0x690,_0x544b5f:0x37f,_0x2243a8:0x32,_0xf38ab5:0x15,_0x1f0695:0x4dc,_0x1adc10:0x4da,_0x38cd2b:0x2b0,_0x155894:0x34c,_0x4f1d88:0x243,_0xf1c450:0x413,_0x54668a:0x4ab,_0x545380:0x5ca,_0x215429:0x477,_0x3e843b:0x4d8,_0x367ec2:0x892,_0x9b1fd5:0x24f,_0x5f4b81:0x6fb,_0x38d67d:0x33,_0x64b882:0x415},_0x370778={_0x55e524:0x2e2},_0x3aee74={'DOEwh':function(_0x4252d1){return _0x4252d1();},'rduUF':function(_0x2e3be2,_0x2f2d28){return _0x2e3be2==_0x2f2d28;},'sIXbj':function(_0x1c4948,_0x55980b){return _0x1c4948===_0x55980b;}},_0x4606d0=[];!_0x3bc48d[_0x451230(_0x45587e._0x360cc9,0x690)+'ConfigFo'+_0x451230(_0x45587e._0x184203,0x6b3)]&&_0x4606d0['push'](_0x451230(_0x45587e._0x1a866e,0x425)+_0x451230(_0x45587e._0x47824f,_0x45587e._0x1b440d)+_0x451230(_0x45587e._0x5ead44,0x608)+_0x5091a6(_0x45587e._0x5ac2bf,0x15c)+_0x5091a6(0x43f,0x539)+_0x3aee74[_0x451230(_0x45587e._0x3086a0,0x772)](formatOpenClawConfigLocations)+'.');_0x3bc48d['openclaw'+_0x5091a6(_0x45587e._0x5000c2,_0x45587e._0x1bce76)+'nd']&&_0x3bc48d['openclaw'+_0x5091a6(0x2b0,_0x45587e._0x4b75b1)+_0x5091a6(_0x45587e._0x575cd4,_0x45587e._0x4ed171)]&&_0x3aee74[_0x5091a6(_0x45587e._0x3c3545,_0x45587e._0x528054)](_0x3bc48d[_0x451230(0x4bb,0x690)+_0x5091a6(0x5df,0x37a)],null)&&_0x4606d0[_0x451230(0x68d,_0x45587e._0x46773f)]('OpenClaw'+_0x5091a6(_0x45587e._0x5af1e6,_0x45587e._0x2dc705)+_0x451230(_0x45587e._0x318078,_0x45587e._0x56a7a1)+_0x451230(0x3bd,_0x45587e._0x453926)+_0x5091a6(_0x45587e._0x10f224,_0x45587e._0xeb82b2)+'word\x20con'+'figured,'+_0x5091a6(_0x45587e._0x5e9f92,0xcd)+_0x5091a6(0x545,_0x45587e._0x1f7c97)+_0x5091a6(_0x45587e._0x385e67,0x25f)+_0x451230(_0x45587e._0x103207,0x820));function _0x451230(_0x9c1808,_0x2fc285){return _0x528821(_0x9c1808,_0x2fc285-0x4c4);}function _0x5091a6(_0x2ac809,_0x1a930d){return _0x528821(_0x1a930d,_0x2ac809-_0x370778._0x55e524);}return!_0x3bc48d[_0x5091a6(_0x45587e._0x4e1353,_0x45587e._0x322d8f)+'TokenFou'+'nd']&&!_0x3bc48d[_0x5091a6(0x4ae,0x521)+_0x451230(_0x45587e._0x4b7e18,0x492)+_0x451230(_0x45587e._0x260b1a,0x395)]&&_0x4606d0[_0x5091a6(_0x45587e._0x40052d,_0x45587e._0x4beb79)](_0x5091a6(0x243,0x2bf)+_0x5091a6(_0x45587e._0x8000b9,0xf4)+_0x5091a6(0x5f8,_0x45587e._0x322d8f)+'\x20missing'+_0x5091a6(0x5b5,_0x45587e._0x4d96e8)+'or\x20passw'+'ord).'),_0x3bc48d[_0x5091a6(0x4ae,_0x45587e._0x4734cc)+_0x451230(0xa57,0x7c1)]===_0x451230(0x304,_0x45587e._0x229d34)&&!_0x3bc48d[_0x451230(_0x45587e._0x1046eb,_0x45587e._0xad750)+_0x5091a6(_0x45587e._0x544b5f,0x48a)+'nd']&&_0x4606d0['push'](_0x5091a6(0x243,-_0x45587e._0x2243a8)+_0x5091a6(0x239,-_0x45587e._0xf38ab5)+'\x20token\x20i'+'s\x20missin'+'g.'),_0x3aee74[_0x451230(_0x45587e._0x2dc705,0x638)](_0x3bc48d[_0x5091a6(_0x45587e._0x4e1353,0x608)+_0x5091a6(0x5df,0x4ce)],_0x451230(_0x45587e._0x10f224,_0x45587e._0x1f0695))&&!_0x3bc48d[_0x5091a6(0x4ae,_0x45587e._0x1adc10)+_0x5091a6(_0x45587e._0x38cd2b,0x1f3)+_0x451230(0x2ae,0x395)]&&_0x4606d0[_0x5091a6(0x311,_0x45587e._0x155894)](_0x5091a6(_0x45587e._0x4f1d88,_0x45587e._0xf1c450)+'\x20gateway'+'\x20passwor'+_0x451230(_0x45587e._0x54668a,0x540)+_0x5091a6(0x6d5,0x45a)),!_0x3bc48d['localGat'+_0x5091a6(_0x45587e._0x545380,0x3fc)+_0x5091a6(_0x45587e._0x215429,_0x45587e._0x3e843b)]&&_0x4606d0['push'](_0x451230(0x889,_0x45587e._0x367ec2)+_0x451230(_0x45587e._0x9b1fd5,0x4ec)+_0x451230(0x738,0x812)+_0x5091a6(0x293,0x4b6)+_0x451230(0x76e,_0x45587e._0x5f4b81)+_0x5091a6(0x24b,0x294)+_0x3bc48d[_0x5091a6(0x1c4,_0x45587e._0x38d67d)+_0x5091a6(_0x45587e._0x64b882,0x527)]+'.'),_0x4606d0;}function formatOpenClawConfigLocations(){const _0x3fa655={_0x5dd24d:0x5a0,_0x4c7a69:0x514,_0x1080d5:0x11f,_0x49eb4b:0x234,_0x3ef9a3:0x2ae},_0x4f90ff={_0x1a4019:0x14f,_0x375a30:0x19e,_0xb43a59:0x304},_0x2a0ec1={_0x904bfc:0xb4},_0x28adc9={_0x1e122c:0xea},_0x303218={_0x2ec200:0x1e},_0x3288ed=new Set();function _0x503ddf(_0x421dd9,_0x3f1e03){return _0x684713(_0x421dd9,_0x3f1e03-_0x303218._0x2ec200);}function _0xeeb4(_0x14c72b,_0x473e4a){return _0x684713(_0x14c72b,_0x473e4a- -0x380);}return[_0x28fef7(),'/root'][_0xeeb4(0x40,-0x1b8)](_0x26267e=>_0x26267e[_0x503ddf(0x63f,0x3d9)]()+('/.opencl'+'aw'))[_0x503ddf(_0x3fa655._0x5dd24d,_0x3fa655._0x4c7a69)](_0x312823=>_0x312823!=='/.opencl'+'aw')[_0x503ddf(0x33c,0x514)](_0x493e68=>{function _0x4e30c8(_0x6f72a7,_0x37b544){return _0xeeb4(_0x6f72a7,_0x37b544-_0x28adc9._0x1e122c);}if(_0x3288ed[_0x231286(-_0x4f90ff._0x1a4019,-0xd1)](_0x493e68))return![];function _0x231286(_0x36f8e5,_0x28163f){return _0xeeb4(_0x28163f,_0x36f8e5-_0x2a0ec1._0x904bfc);}return _0x3288ed[_0x231286(_0x4f90ff._0x375a30,_0x4f90ff._0xb43a59)](_0x493e68),!![];})[_0x503ddf(_0x3fa655._0x1080d5,_0x3fa655._0x49eb4b)](_0xeeb4(_0x3fa655._0x3ef9a3,0x31f));}function readLogFile(_0x5a5fd8){const _0x593d86={_0x20f2b9:0x22a,_0x34619d:0x4a9,_0x397a67:0x7ac,_0x44fb54:0x47e},_0x5eb9f3={_0x3a996d:0x558};function _0x2b90d8(_0xff85e0,_0x58ed77){return _0x528821(_0x58ed77,_0xff85e0-_0x5eb9f3._0x3a996d);}const _0x2e5c96={'DqXmD':function(_0x3fec31,_0x4c92cc,_0x3ab11f){return _0x3fec31(_0x4c92cc,_0x3ab11f);}};function _0x238c7a(_0x16a951,_0xa9d0b7){return _0x528821(_0x16a951,_0xa9d0b7-0x57c);}try{const _0x2b7f5d=_0x2e5c96[_0x2b90d8(0x5d0,0x344)](_0x2a8843,_0x5a5fd8,_0x238c7a(_0x593d86._0x20f2b9,_0x593d86._0x34619d));return _0x2b7f5d[_0x2b90d8(0x527,0x455)](/\r?\n/)[_0x2b90d8(_0x593d86._0x397a67,0x9c1)](Boolean)[_0x2b90d8(_0x593d86._0x44fb54,0x1f6)](_0x448562=>({'raw':_0x448562,'ts':parseTimestamp(_0x448562)}));}catch{return[];}}function parseTimestamp(_0xc61d6f){const _0x568dd8={_0x49b6c8:0x1c8,_0x6cf29a:0x9},_0x3ba84c=_0xc61d6f['match'](/^\[(\d{13})\]\s/);if(!_0x3ba84c)return null;function _0x1bf2cb(_0xe12dfd,_0x2fcc9b){return _0x684713(_0xe12dfd,_0x2fcc9b- -0x3de);}const _0x282928=Number(_0x3ba84c[0x1]);return Number[_0x1bf2cb(_0x568dd8._0x49b6c8,_0x568dd8._0x6cf29a)](_0x282928)?_0x282928:null;}function clampLines(_0x2db9c9){const _0x1f1621={_0x16e3ee:0x66f,_0x34ec22:0x768,_0x2a2cc0:0xb0f,_0xdc74b9:0x8aa},_0x507d53={_0x47ce40:0x1cf},_0x2af5b9={_0x525570:0x288};if(!Number[_0x50210a(0x83a,_0x1f1621._0x16e3ee)](_0x2db9c9))return 0xc8;function _0x50210a(_0x4241cd,_0xb2bde7){return _0x684713(_0x4241cd,_0xb2bde7-_0x2af5b9._0x525570);}function _0x56a95e(_0x5daa78,_0x67c767){return _0x684713(_0x67c767,_0x5daa78-_0x507d53._0x47ce40);}return Math[_0x50210a(0x7d6,_0x1f1621._0x34ec22)](0x1,Math[_0x50210a(_0x1f1621._0x2a2cc0,_0x1f1621._0xdc74b9)](0x7d0,Math['floor'](_0x2db9c9)));}async function checkGatewayReachable(_0xba104e){const _0x5b7da0={_0xf944ae:0x442,_0x1d71f6:0x1ac,_0x13da63:0x367,_0x5eba61:0x327,_0x1a797a:0x6ad,_0x229924:0x6c4,_0x7c4b52:0x836},_0x16430e={_0x3175dd:0x752,_0x2faf58:0x985,_0x2917e6:0x7af,_0x195470:0x87f,_0x42702b:0xa7a,_0x1c875c:0x385},_0xee279={_0x419150:0x9c5,_0x5467c3:0x876},_0x2e8336={};_0x2e8336[_0x397345(0x526,_0x5b7da0._0xf944ae)]='error';const _0x756403=_0x2e8336;function _0x23866b(_0x43a8d7,_0x206eea){return _0x528821(_0x43a8d7,_0x206eea- -0x130);}function _0x397345(_0x216d91,_0x5d875d){return _0x528821(_0x216d91,_0x5d875d-0x534);}try{const _0x5d879e=new URL(_0xba104e),_0xcc25c7=_0x5d879e[_0x23866b(-0x3d4,-_0x5b7da0._0x1d71f6)]||_0x23866b(-_0x5b7da0._0x13da63,-0x1a3)+'1',_0x2d16d6=_0x5d879e[_0x23866b(_0x5b7da0._0x5eba61,0x2b1)]?Number(_0x5d879e[_0x397345(_0x5b7da0._0x1a797a,0x915)]):_0x5d879e[_0x23866b(-0x16f,-0x16a)]===_0x397345(_0x5b7da0._0x229924,_0x5b7da0._0x7c4b52)?0x1bb:0x50;return await new Promise((_0x397c23,_0xbb178)=>{const _0xe27e97={_0xb816f1:0x46a};function _0x51edd5(_0x376cf,_0x47002a){return _0x23866b(_0x47002a,_0x376cf-_0xe27e97._0xb816f1);}const _0x3e4ddb=new Socket();function _0x40c7f3(_0x42bbe7,_0x5dc85d){return _0x23866b(_0x5dc85d,_0x42bbe7-0x773);}_0x3e4ddb['setTimeo'+'ut'](0x384),_0x3e4ddb[_0x40c7f3(_0x16430e._0x3175dd,_0x16430e._0x2faf58)](_0x40c7f3(_0x16430e._0x2917e6,_0x16430e._0x195470),()=>{_0x3e4ddb['destroy'](),_0x397c23();}),_0x3e4ddb[_0x40c7f3(0x752,0x526)](_0x40c7f3(0xa21,_0x16430e._0x42702b),()=>{function _0x259cad(_0xe92b1d,_0x224b9f){return _0x40c7f3(_0x224b9f- -0x1ab,_0xe92b1d);}_0x3e4ddb['destroy'](),_0xbb178(new Error(_0x259cad(_0xee279._0x419150,_0xee279._0x5467c3)));}),_0x3e4ddb[_0x51edd5(0x449,0x6de)](_0x756403['DhzhX'],_0x9bcdf4=>{_0x3e4ddb['destroy'](),_0xbb178(_0x9bcdf4);}),_0x3e4ddb[_0x51edd5(0x4a6,_0x16430e._0x1c875c)](_0x2d16d6,_0xcc25c7);}),!![];}catch{return![];}}function parseLookbackToMs(_0xcb6231){const _0x3bfa46={_0x10a935:0x5,_0x1eb7f2:0x2b,_0x420835:0x8b,_0x37f47c:0x8b,_0x446bbe:0x12d,_0x3ba323:0x0,_0x4aaccc:0x125,_0xf284a2:0x1e7,_0x353059:0x90,_0x5612fc:0x82,_0xb3e6f2:0x203,_0x394197:0x1ed},_0x31e37d={'OHUKU':function(_0x45b8d8,_0xe6a83){return _0x45b8d8(_0xe6a83);},'WLgab':function(_0x3f8e25,_0x2a9319){return _0x3f8e25===_0x2a9319;}},_0x535aac=_0xcb6231?.[_0x4e3aaa(0x297,-_0x3bfa46._0x10a935)]();if(!_0x535aac)return null;const _0x29c1d1=_0x535aac[_0x5b94d1(0x230,0x3ad)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x29c1d1)throw new Error('Invalid\x20'+_0x5b94d1(_0x3bfa46._0x1eb7f2,-_0x3bfa46._0x420835)+_0x4e3aaa(-0x29f,-0xeb)+_0x535aac+('\x22.\x20Use\x20v'+_0x4e3aaa(-0xf3,-0x1c3)+_0x4e3aaa(0x1d9,-_0x3bfa46._0x37f47c)+_0x5b94d1(0x135,-_0x3bfa46._0x446bbe)+_0x4e3aaa(_0x3bfa46._0x3ba323,_0x3bfa46._0x4aaccc)));function _0x5b94d1(_0x9f3de2,_0x568062){return _0x684713(_0x568062,_0x9f3de2- -0x39d);}const _0x4ff514=_0x31e37d[_0x5b94d1(_0x3bfa46._0xf284a2,_0x3bfa46._0x353059)](Number,_0x29c1d1[0x1]),_0xed5996=_0x29c1d1[0x2]['toLowerC'+_0x5b94d1(-_0x3bfa46._0x5612fc,-_0x3bfa46._0xb3e6f2)]();function _0x4e3aaa(_0x47e4d9,_0x19b469){return _0x684713(_0x47e4d9,_0x19b469- -0x3c0);}const _0x162f4d=_0x31e37d[_0x4e3aaa(0xe6,_0x3bfa46._0x394197)](_0xed5996,'ms')?0x1:_0xed5996==='s'?0x3e8:_0xed5996==='m'?0xea60:_0xed5996==='h'?0x36ee80:0x5265c00;return _0x4ff514*_0x162f4d;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=['utun',_0x684713(0x3cf,0x3e2),'tap',_0x528821(0x4f0,0x39f)+'e',_0x528821(-0x51,-0x38)+'d','wg',_0x528821(0xe8,-0x132),'ipsec',_0x684713(0x662,0x5b0),_0x684713(0x36d,0x4f8),_0x684713(0x2f5,0x580),'vbox',_0x528821(0x259,0x3b9),_0x528821(0xff,0x28a),_0x528821(0x2d0,0x285),_0x684713(0x5be,0x516),_0x528821(0x96,0x2da),_0x684713(0x90,0x25c),_0x684713(0x538,0x402),_0x528821(-0x77,0x175)];function buildLocalPairingInfo(_0x4e8fb1){const _0x314fdd={_0x3b16ed:0x889,_0x4be620:0x705,_0x3b7f07:0x559,_0x4b4238:0x857,_0x3a41d6:0x69b,_0x58c9a4:0x471,_0x319387:0x674,_0x43b6ca:0x761,_0x1c03f6:0x7ad,_0xefc83e:0x570,_0x40fc64:0x60a,_0x263f9f:0x63e,_0x3cacde:0x4f4,_0x86f0e5:0x584,_0x1e0cad:0x779,_0x292ed8:0x53c},_0x5155e8={_0x1f87d2:0x249},_0x2c3929={_0x1e60f0:0x2b3},_0x1e29d3={'kexTE':function(_0x57c3cb,_0x246092){return _0x57c3cb(_0x246092);}},_0x2ea264=_0x1e29d3[_0x417d19(0x766,_0x314fdd._0x3b16ed)](resolveLocalPairAuth,_0x4e8fb1);function _0x55f451(_0x56b562,_0xae8fb1){return _0x684713(_0x56b562,_0xae8fb1-_0x2c3929._0x1e60f0);}const _0x4c1263={};_0x4c1263[_0x55f451(0x6f3,_0x314fdd._0x4be620)+_0x55f451(_0x314fdd._0x3b7f07,0x5c0)]=_0x4e8fb1[_0x417d19(_0x314fdd._0x4b4238,_0x314fdd._0x3a41d6)+_0x55f451(_0x314fdd._0x58c9a4,0x5c0)],_0x4c1263[_0x55f451(0x6f9,_0x314fdd._0x319387)+_0x417d19(_0x314fdd._0x43b6ca,_0x314fdd._0x1c03f6)+'l']=_0x4e8fb1[_0x417d19(_0x314fdd._0xefc83e,_0x314fdd._0x40fc64)+_0x55f451(_0x314fdd._0x263f9f,0x817)+'l'];const _0x203172=resolveLocalPairGatewayUrl(_0x4c1263);function _0x417d19(_0x3c7769,_0x37db68){return _0x684713(_0x3c7769,_0x37db68-_0x5155e8._0x1f87d2);}const _0x172904=_0x4e8fb1[_0x55f451(0x2f5,_0x314fdd._0x3cacde)+'t']??Date[_0x417d19(_0x314fdd._0x86f0e5,0x7e1)]()+0xa*0x3c*0x3e8;return{'gatewayUrl':_0x203172,'expiresAt':_0x172904,'authMode':_0x2ea264['mode'],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x203172,'token':_0x2ea264[_0x55f451(_0x314fdd._0x1e0cad,_0x314fdd._0x292ed8)],'password':_0x2ea264['password'],'expiresAt':_0x172904})};}function resolveLocalPairGatewayUrl(_0xaadbc1){const _0x531b03={_0x4e26db:0x733,_0x483cfb:0x855,_0x27caca:0x686,_0x29ac99:0x81b,_0x4840e6:0x443,_0x7d1e05:0x1d3,_0x34a248:0x605,_0x138c48:0x826,_0x181a85:0x4a7,_0x264a1c:0x72c,_0x306e19:0x637},_0x4ac970={_0x4cd830:0x567},_0x3831a0={'zKXnE':function(_0xcc0fa2,_0x5c3af4){return _0xcc0fa2(_0x5c3af4);}};function _0x52c72a(_0x209baa,_0x3b506f){return _0x528821(_0x3b506f,_0x209baa-_0x4ac970._0x4cd830);}const _0x346518=_0xaadbc1?.['explicit'+_0x52c72a(0x5d2,_0x531b03._0x4e26db)]?.[_0x67f8db(0x6f9,_0x531b03._0x483cfb)]();function _0x67f8db(_0xa3b158,_0x3a1664){return _0x528821(_0x3a1664,_0xa3b158-0x5e0);}if(_0x346518)return _0x3831a0['zKXnE'](normalizeExplicitGatewayUrl,_0x346518);const _0x441b75=_0xaadbc1?.[_0x52c72a(_0x531b03._0x27caca,0x8c4)+'atewayUr'+'l']?.[_0x52c72a(0x680,0x64e)]()||resolveGatewayUrl(),_0x440d10=detectLanIp();if(!_0x440d10)throw new Error(_0x52c72a(0x4cb,0x313)+_0x52c72a(_0x531b03._0x29ac99,0x6ad)+_0x52c72a(_0x531b03._0x4840e6,_0x531b03._0x7d1e05)+_0x52c72a(_0x531b03._0x34a248,_0x531b03._0x138c48)+_0x67f8db(0x595,0x508)+'ss\x20--url'+_0x67f8db(_0x531b03._0x181a85,0x492)+_0x67f8db(_0x531b03._0x264a1c,0x6c5)+_0x52c72a(_0x531b03._0x306e19,0x56c)+'eway\x20URL'+'.');return rewriteGatewayHost(_0x441b75,_0x440d10);}function normalizeExplicitGatewayUrl(_0xe031f4){const _0x5dcd66={_0x45f563:0x1e9,_0x383730:0x373,_0x8565c0:0x263,_0x196d9d:0x132},_0x341ae7=_0xe031f4[_0x28bb1e(0x198,_0x5dcd66._0x45f563)](),_0x4f7d67=/^[a-z]+:\/\//i['test'](_0x341ae7)?_0x341ae7:_0x28bb1e(_0x5dcd66._0x383730,0x1c2)+_0x341ae7;function _0x28bb1e(_0x3d3add,_0x150bd9){return _0x684713(_0x150bd9,_0x3d3add- -0x223);}function _0x65497f(_0x470943,_0x541968){return _0x684713(_0x470943,_0x541968- -0x2c6);}return normalizeGatewayQrUrl(_0x4f7d67)[_0x65497f(-_0x5dcd66._0x8565c0,-_0x5dcd66._0x196d9d)];}function rewriteGatewayHost(_0x4b967f,_0x1bcf6a){const _0x39ce92={_0x18241a:0x7a6,_0x194b70:0x6e9,_0x5174fc:0xc0,_0x135d17:0x60,_0x47b95f:0x186};function _0x3e74b0(_0x596ba8,_0x211faf){return _0x528821(_0x596ba8,_0x211faf-0x3f5);}const _0x338f9f=_0x4b967f[_0x55d2ef(0x2a,0x101)]();function _0x55d2ef(_0x4ef3a3,_0x43bb3e){return _0x528821(_0x4ef3a3,_0x43bb3e- -0x18);}const _0x12728b=/^[a-z]+:\/\//i['test'](_0x338f9f)?_0x338f9f:_0x3e74b0(_0x39ce92._0x18241a,_0x39ce92._0x194b70)+_0x338f9f,_0x3dd898=new URL(_0x12728b);return _0x3dd898[_0x55d2ef(_0x39ce92._0x5174fc,-0x94)]=_0x1bcf6a,normalizeGatewayQrUrl(_0x3dd898[_0x55d2ef(_0x39ce92._0x135d17,_0x39ce92._0x47b95f)]())['url'];}function detectLanIp(){const _0x188f88={_0x501ad8:0x433,_0x180c2b:0x203,_0x506045:0x15c,_0x581513:0x504,_0x5f37b8:0x598},_0x3638fe={_0x2e4dd3:0x24b},_0x2fcfd4={'MULWr':function(_0x4a2923,_0x2ce0e9){return _0x4a2923!==_0x2ce0e9;},'pXpXA':function(_0x58138e,_0x430fe4,_0x37fb1c){return _0x58138e(_0x430fe4,_0x37fb1c);},'HIWtm':function(_0x2b2101,_0x6dd928){return _0x2b2101===_0x6dd928;}};function _0x26d4d4(_0x1f0a6d,_0x2bb2fb){return _0x684713(_0x2bb2fb,_0x1f0a6d-_0x3638fe._0x2e4dd3);}function _0xc4012a(_0x3075ae,_0x4a5f5f){return _0x684713(_0x3075ae,_0x4a5f5f- -0xc2);}const _0x2e6318=networkInterfaces();let _0x1fdca2=null;for(const [_0x4427f6,_0x1653e2]of Object['entries'](_0x2e6318)){for(const _0x4fd49f of _0x1653e2??[]){if(_0x2fcfd4[_0xc4012a(0x54a,0x341)](_0x4fd49f[_0x26d4d4(_0x188f88._0x501ad8,_0x188f88._0x180c2b)],_0xc4012a(0x274,_0x188f88._0x506045)))continue;const _0xd45d41=_0x2fcfd4[_0x26d4d4(0x8d9,0x8e9)](scoreLanCandidate,_0x4427f6,_0x4fd49f[_0xc4012a(0x362,0x28b)]);if(_0x2fcfd4[_0xc4012a(0x2b5,0x1bc)](_0xd45d41,0x0))continue;if(!_0x1fdca2||_0xd45d41>_0x1fdca2['score']){const _0x209f67={};_0x209f67[_0x26d4d4(_0x188f88._0x581513,0x39f)]=_0xd45d41,_0x209f67['ip']=_0x4fd49f[_0x26d4d4(_0x188f88._0x5f37b8,0x757)],_0x1fdca2=_0x209f67;}}}return _0x1fdca2?.['ip']??null;}function scoreLanCandidate(_0x4b55cb,_0x29f083){const _0x1450e3={_0x6e1cf3:0x427,_0x5ea830:0x489,_0x158bd9:0x683,_0x3005e1:0x1bf,_0x2d610e:0x7b,_0x1a0dbe:0x1bf,_0x1bcb2c:0xf0,_0x449068:0x5f7},_0x11d16e={_0xd11210:0x10c},_0x1c2374={_0x11cda1:0x161},_0x54a238={'ZdaJk':function(_0x4efe49,_0x37ed96){return _0x4efe49(_0x37ed96);},'wSpeG':_0x342cc5(0x536,0x726)};function _0x400d49(_0x49dd30,_0x481b4d){return _0x684713(_0x481b4d,_0x49dd30- -_0x1c2374._0x11cda1);}if(!isLanIpv4(_0x29f083))return 0x0;const _0x7a7e7c=_0x4b55cb[_0x400d49(0xa0,-0x13c)+_0x342cc5(_0x1450e3._0x6e1cf3,_0x1450e3._0x5ea830)]();if(BLOCKED_INTERFACE_TOKENS['some'](_0x2e502b=>_0x7a7e7c['includes'](_0x2e502b)))return 0x0;let _0x5c2734=_0x54a238[_0x342cc5(0x55d,_0x1450e3._0x158bd9)](isRfc1918,_0x29f083)?0x78:isCgnat(_0x29f083)?0x5a:0x28;(_0x7a7e7c[_0x400d49(_0x1450e3._0x3005e1,-_0x1450e3._0x2d610e)+'th']('en')||_0x7a7e7c[_0x400d49(_0x1450e3._0x1a0dbe,0x134)+'th'](_0x400d49(0x34f,0x17e))||_0x7a7e7c[_0x400d49(0x1bf,_0x1450e3._0x1bcb2c)+'th']('wlan')||_0x7a7e7c[_0x342cc5(0x42c,_0x1450e3._0x449068)+'th']('wl')||_0x7a7e7c['includes'](_0x54a238['wSpeG'])||_0x7a7e7c[_0x342cc5(0x6fd,0x840)]('wi-fi'))&&(_0x5c2734+=0x14);function _0x342cc5(_0x231f0f,_0x5c9fe5){return _0x684713(_0x5c9fe5,_0x231f0f-_0x11d16e._0xd11210);}return _0x5c2734;}function resolveLocalPairAuth(_0x4ccb76){const _0x41b6b7={_0x22d186:0x811,_0x4d0778:0x962,_0x19c98b:0x49e,_0x587a06:0x26b,_0xa591b4:0x62,_0x4aec57:0xac,_0x2ab8ca:0x37f,_0x12e799:0x1de,_0x5bba8a:0x44d,_0x570297:0x210,_0x57f146:0x59f,_0x237eb5:0x561,_0xce5b67:0x259,_0x49a36a:0x26,_0x2daa63:0x5e3,_0x2009c0:0x11e,_0x373b4d:0x101,_0x52ce63:0x749},_0x210671={_0x109be6:0x1dd},_0x430136={};_0x430136[_0x50ab79(_0x41b6b7._0x22d186,_0x41b6b7._0x4d0778)]=_0x50ab79(_0x41b6b7._0x19c98b,0x3f8);const _0x39c1f0=_0x430136;if(_0x4ccb76[_0x50ab79(0x409,_0x41b6b7._0x587a06)+'oken']?.[_0x1cf24b(0x4d,0x1de)]())return{'mode':_0x1cf24b(_0x41b6b7._0xa591b4,_0x41b6b7._0x4aec57),'token':_0x4ccb76['gatewayT'+'oken'][_0x1cf24b(_0x41b6b7._0x2ab8ca,_0x41b6b7._0x12e799)](),'password':null};function _0x1cf24b(_0x54a689,_0x555f1d){return _0x684713(_0x54a689,_0x555f1d- -_0x210671._0x109be6);}if(_0x4ccb76['gatewayP'+_0x50ab79(_0x41b6b7._0x5bba8a,_0x41b6b7._0x570297)]?.[_0x50ab79(_0x41b6b7._0x57f146,0x66c)]())return{'mode':_0x39c1f0[_0x1cf24b(0x651,0x450)],'token':null,'password':_0x4ccb76[_0x50ab79(0x5aa,0x4a9)+_0x50ab79(0x44d,_0x41b6b7._0x237eb5)][_0x50ab79(_0x41b6b7._0x57f146,0x763)]()};function _0x50ab79(_0x4c72f8,_0x931900){return _0x684713(_0x931900,_0x4c72f8-0x1e4);}throw new Error(_0x1cf24b(-_0x41b6b7._0xce5b67,_0x41b6b7._0x49a36a)+'\x20gateway'+'\x20auth\x20is'+_0x1cf24b(-0xa6,-0x32)+_0x50ab79(0x759,_0x41b6b7._0x2daa63)+_0x1cf24b(_0x41b6b7._0x2009c0,_0x41b6b7._0x373b4d)+_0x50ab79(0x602,_0x41b6b7._0x52ce63));}function isLanIpv4(_0xa722b1){const _0x392797={_0x1eafd3:0x3da,_0x2b3062:0x675,_0x1b1262:0x5c5,_0x469f4b:0x528},_0x573f7d={_0x403b04:0x257};function _0x2b7aba(_0x27ff98,_0x27f806){return _0x684713(_0x27f806,_0x27ff98-0x150);}function _0x36bc18(_0x57d690,_0x70157a){return _0x684713(_0x57d690,_0x70157a-_0x573f7d._0x403b04);}const _0x1673f1={'Ahaps':function(_0x560ebc,_0x23b1e5){return _0x560ebc===_0x23b1e5;},'frqmy':function(_0x2ccdef,_0x553812){return _0x2ccdef===_0x553812;},'JJSfO':function(_0x444f5d,_0x2c6fb2){return _0x444f5d===_0x2c6fb2;},'gGFMz':function(_0x2fdca9,_0x399c7f){return _0x2fdca9===_0x399c7f;},'wULwh':function(_0x33c642,_0x384828){return _0x33c642(_0x384828);}};if(!isValidIpv4(_0xa722b1))return![];if(_0xa722b1===_0x36bc18(0x3ea,_0x392797._0x1eafd3))return![];const [_0x24353f,_0x183916,_0x2ab8fd,_0x178444]=_0xa722b1['split']('.')['map'](Number);if(_0x24353f===0x7f)return![];if(_0x1673f1[_0x36bc18(0x5df,0x438)](_0x24353f,0xa9)&&_0x1673f1[_0x36bc18(_0x392797._0x2b3062,0x555)](_0x183916,0xfe))return![];if(_0x24353f>=0xe0&&_0x24353f<=0xef)return![];if(_0x1673f1['Ahaps'](_0x24353f,0xff)&&_0x183916===0xff&&_0x1673f1[_0x36bc18(_0x392797._0x1b1262,0x6ce)](_0x2ab8fd,0xff)&&_0x178444===0xff)return![];if(_0x24353f===0xc6&&(_0x1673f1[_0x2b7aba(0x2b2,_0x392797._0x469f4b)](_0x183916,0x12)||_0x1673f1[_0x36bc18(0x676,0x6ce)](_0x183916,0x13)))return![];return _0x1673f1[_0x2b7aba(0x3e5,0x4b2)](isRfc1918,_0xa722b1)||isCgnat(_0xa722b1);}function isRfc1918(_0x46704c){const _0x2f786a={_0x4e1a74:0x131,_0x1378fc:0x3f,_0x35a57a:0x1ea,_0x975268:0x388,_0x1c7c33:0x6c,_0x20c2a7:0x122,_0x1c3687:0x2c2},_0x5ea1df={_0x391863:0xc8},_0x31b0cc={};_0x31b0cc['cTpzD']=function(_0x25d8b7,_0x5b53fb){return _0x25d8b7===_0x5b53fb;};function _0x584788(_0x292b7c,_0x157d6f){return _0x528821(_0x157d6f,_0x292b7c-_0x5ea1df._0x391863);}_0x31b0cc[_0x584788(0x122,-_0x2f786a._0x4e1a74)]=function(_0x134e2e,_0x4ac080){return _0x134e2e>=_0x4ac080;};function _0x4de6f4(_0x3b8df9,_0x5bc3c2){return _0x528821(_0x3b8df9,_0x5bc3c2-0x3b9);}_0x31b0cc[_0x584788(_0x2f786a._0x1378fc,-0x40)]=function(_0x5b7e8d,_0x198b08){return _0x5b7e8d<=_0x198b08;};const _0x40ac55=_0x31b0cc,[_0x33a60c,_0x37ac59]=_0x46704c[_0x4de6f4(_0x2f786a._0x35a57a,_0x2f786a._0x975268)]('.')[_0x584788(-0x12,0x222)](Number);return _0x40ac55[_0x584788(-_0x2f786a._0x1c7c33,-0x2e4)](_0x33a60c,0xa)||_0x33a60c===0xac&&_0x40ac55[_0x584788(_0x2f786a._0x20c2a7,_0x2f786a._0x1c3687)](_0x37ac59,0x10)&&_0x40ac55[_0x584788(0x3f,-0x9)](_0x37ac59,0x1f)||_0x33a60c===0xc0&&_0x37ac59===0xa8;}function isCgnat(_0x2bbd03){const _0x1dda76={_0x2d556e:0x49c,_0x29883c:0x3e5,_0x257701:0x19e,_0x1675db:0x1b3,_0x49a260:0x8ac,_0xafa96d:0x618},_0x308772={_0x269bca:0xd3},_0x203871={};function _0xe5788b(_0x819bcd,_0x50faea){return _0x684713(_0x50faea,_0x819bcd- -_0x308772._0x269bca);}_0x203871[_0xe5788b(_0x1dda76._0x2d556e,_0x1dda76._0x29883c)]=function(_0x3d2cf3,_0x170de0){return _0x3d2cf3<=_0x170de0;};const _0x4e5d95=_0x203871;function _0x2266c7(_0x37c928,_0x1984b0){return _0x684713(_0x1984b0,_0x37c928-0x33d);}const [_0x3f5fcc,_0x32cf94]=_0x2bbd03[_0xe5788b(_0x1dda76._0x257701,_0x1dda76._0x1675db)]('.')['map'](Number);return _0x3f5fcc===0x64&&_0x32cf94>=0x40&&_0x4e5d95[_0x2266c7(_0x1dda76._0x49a260,_0x1dda76._0xafa96d)](_0x32cf94,0x7f);}function isValidIpv4(_0x4c90bd){const _0x2bf732={_0x31be72:0x324,_0x38cc68:0x470,_0xb4e22e:0x328,_0x308911:0xbe,_0x4c6ebd:0x214},_0x557d01={_0x6f7f24:0x42b,_0x262584:0x3d8},_0x71fa56={_0x17bc1a:0xcf},_0x6fdf07={_0x1184c7:0xb7};function _0x5e6061(_0x219922,_0x1df0ae){return _0x684713(_0x1df0ae,_0x219922- -0x250);}function _0x29cdef(_0x560393,_0x1cd3f4){return _0x684713(_0x560393,_0x1cd3f4-_0x6fdf07._0x1184c7);}const _0x36c8c3={};_0x36c8c3[_0x29cdef(0x456,_0x2bf732._0x31be72)]=function(_0x82ef09,_0x55295a){return _0x82ef09===_0x55295a;};const _0x184cab=_0x36c8c3,_0x5df21c=_0x4c90bd[_0x29cdef(_0x2bf732._0x38cc68,_0x2bf732._0xb4e22e)]('.');return _0x184cab['DBdQe'](_0x5df21c[_0x5e6061(-_0x2bf732._0x308911,-_0x2bf732._0x4c6ebd)],0x4)&&_0x5df21c[_0x5e6061(0x115,0x159)](_0x2e479b=>{if(!/^\d+$/[_0x3f6f35(_0x557d01._0x6f7f24,_0x557d01._0x262584)](_0x2e479b))return![];function _0x3f6f35(_0x30f227,_0x55330c){return _0x5e6061(_0x55330c-_0x71fa56._0x17bc1a,_0x30f227);}const _0x4ce532=Number(_0x2e479b);return _0x4ce532>=0x0&&_0x4ce532<=0xff;});}import{readFileSync as _0x3a3b1f}from'fs';import{dirname as _0x51b220,resolve}from'path';import{fileURLToPath}from'url';function _0x150d(_0xa71daf,_0x23f04d){_0xa71daf=_0xa71daf-0x151;const _0x5b0553=_0x202e();let _0x54f366=_0x5b0553[_0xa71daf];if(_0x150d['stjLkA']===undefined){var _0x45f3ae=function(_0x476713){const _0x2ad103='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x38f042='',_0x51c967='',_0x43280b=_0x38f042+_0x45f3ae;for(let _0x544855=0x0,_0x2e624f,_0x28f8c1,_0x35cb58=0x0;_0x28f8c1=_0x476713['charAt'](_0x35cb58++);~_0x28f8c1&&(_0x2e624f=_0x544855%0x4?_0x2e624f*0x40+_0x28f8c1:_0x28f8c1,_0x544855++%0x4)?_0x38f042+=_0x43280b['charCodeAt'](_0x35cb58+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x2e624f>>(-0x2*_0x544855&0x6)):_0x544855:0x0){_0x28f8c1=_0x2ad103['indexOf'](_0x28f8c1);}for(let _0x49d883=0x0,_0x515490=_0x38f042['length'];_0x49d883<_0x515490;_0x49d883++){_0x51c967+='%'+('00'+_0x38f042['charCodeAt'](_0x49d883)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x51c967);};_0x150d['bMKTUG']=_0x45f3ae,_0x150d['dadXxR']={},_0x150d['stjLkA']=!![];}const _0x202e96=_0x5b0553[0x0],_0x150d2d=_0xa71daf+_0x202e96,_0x48c6fd=_0x150d['dadXxR'][_0x150d2d];if(!_0x48c6fd){const _0x18f887=function(_0x102bc5){this['xYBWip']=_0x102bc5,this['PXQDLk']=[0x1,0x0,0x0],this['gMukCA']=function(){return'newState';},this['lhbWvy']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['CqDbrs']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x18f887['prototype']['UrFuEK']=function(){const _0x2cae6a=new RegExp(this['lhbWvy']+this['CqDbrs']),_0x4a286f=_0x2cae6a['test'](this['gMukCA']['toString']())?--this['PXQDLk'][0x1]:--this['PXQDLk'][0x0];return this['rgINLh'](_0x4a286f);},_0x18f887['prototype']['rgINLh']=function(_0x576e69){if(!Boolean(~_0x576e69))return _0x576e69;return this['WWSCKG'](this['xYBWip']);},_0x18f887['prototype']['WWSCKG']=function(_0x22e064){for(let _0xded46d=0x0,_0x336450=this['PXQDLk']['length'];_0xded46d<_0x336450;_0xded46d++){this['PXQDLk']['push'](Math['round'](Math['random']())),_0x336450=this['PXQDLk']['length'];}return _0x22e064(this['PXQDLk'][0x0]);},new _0x18f887(_0x150d)['UrFuEK'](),_0x54f366=_0x150d['bMKTUG'](_0x54f366),_0x150d['dadXxR'][_0x150d2d]=_0x54f366;}else _0x54f366=_0x48c6fd;return _0x54f366;}function readCliVersion(){const _0x511651={_0x17151d:0x45e,_0x50c493:0x436,_0x436000:0x342,_0x4b8d84:0x558,_0x35045d:0x699};function _0x5dbd8b(_0x1ae411,_0x3f15f1){return _0x684713(_0x1ae411,_0x3f15f1-0x2ca);}const _0x49b2e0=_0x51b220(fileURLToPath(import.meta.url));function _0x3c8a52(_0x39ca23,_0x565448){return _0x684713(_0x565448,_0x39ca23-0x15e);}const _0x3c6125=resolve(_0x49b2e0,_0x3c8a52(_0x511651._0x17151d,_0x511651._0x50c493)+_0x5dbd8b(_0x511651._0x436000,_0x511651._0x4b8d84)),_0x3f10cb=_0x3a3b1f(_0x3c6125,_0x5dbd8b(0x6a8,0x499)),_0x146998=JSON['parse'](_0x3f10cb);return _0x146998['version']??_0x5dbd8b(_0x511651._0x35045d,0x7e2);}function buildPairingJson(_0x397449,_0x3cd9b2,_0x5bd1b6,_0xef1ea6){const _0x46e0e3={_0x2098c7:0x61,_0x2c0029:0x374,_0x3058e0:0x232,_0x37b249:0x241,_0x554b52:0x11e,_0x4f3439:0xf7,_0x1969c8:0x4e3,_0x49bdad:0x214,_0x5abe7b:0x3ce,_0x4a7f0c:0x550,_0x312215:0x113,_0x2fa88c:0x326,_0x2e630d:0x59c,_0x564fdd:0x174,_0x233987:0x110,_0x4310cb:0x1fd,_0x424912:0x1f3,_0xf5f879:0x3f8,_0x1a53e2:0x14a,_0x296bb9:0x40b,_0x242e9d:0xf6,_0x193f45:0x4d6,_0x5aa7eb:0x290,_0x2faa77:0x19b,_0x5c7e27:0xe3,_0x28efef:0x146,_0x558249:0x3c4,_0x118129:0xfa,_0x44874c:0x32a,_0x1cc66d:0x39,_0x259569:0x108,_0xa362c2:0x4eb,_0x3f8204:0x4be,_0x599a13:0x6eb,_0x51ea7d:0x586,_0x5b6818:0x1af,_0x193be4:0xab},_0x4bff2b={};_0x4bff2b[_0x89b5e1(_0x46e0e3._0x2098c7,0x232)+'d']=_0x5bd1b6[_0x89b5e1(_0x46e0e3._0x2c0029,_0x46e0e3._0x3058e0)+'d'];function _0x89b5e1(_0x1067e6,_0x52849f){return _0x684713(_0x1067e6,_0x52849f- -0x215);}_0x4bff2b[_0x4cb3dd(0x2a8,_0x46e0e3._0x37b249)]=_0x5bd1b6[_0x89b5e1(_0x46e0e3._0x554b52,_0x46e0e3._0x4f3439)],_0x4bff2b[_0x89b5e1(0x46d,0x399)]=_0x5bd1b6[_0x4cb3dd(0x518,_0x46e0e3._0x1969c8)],_0x4bff2b[_0x89b5e1(_0x46e0e3._0x49bdad,_0x46e0e3._0x5abe7b)+'ath']=_0x5bd1b6[_0x89b5e1(_0x46e0e3._0x4a7f0c,_0x46e0e3._0x5abe7b)+_0x89b5e1(0x6bd,0x43c)],_0x4bff2b[_0x89b5e1(0x34,_0x46e0e3._0x312215)]=_0x5bd1b6[_0x89b5e1(0x1e4,0x113)],_0x4bff2b[_0x4cb3dd(0xab,0x304)+_0x4cb3dd(_0x46e0e3._0x2fa88c,_0x46e0e3._0x2e630d)]=_0x5bd1b6[_0x4cb3dd(0x1aa,0x304)+_0x4cb3dd(0x390,_0x46e0e3._0x2e630d)],_0x4bff2b[_0x89b5e1(0x15c,0x174)]=_0x5bd1b6[_0x89b5e1(0x24b,_0x46e0e3._0x564fdd)];const _0x368156={};_0x368156['ok']=!![],_0x368156[_0x4cb3dd(_0x46e0e3._0x233987,_0x46e0e3._0x4310cb)]=_0x397449['action'],_0x368156[_0x89b5e1(_0x46e0e3._0x424912,0x471)]=_0xef1ea6,_0x368156[_0x89b5e1(_0x46e0e3._0xf5f879,0x2c5)+'d']=_0x397449[_0x89b5e1(-_0x46e0e3._0x1a53e2,0x146)][_0x4cb3dd(_0x46e0e3._0x296bb9,0x40f)+'d'];function _0x4cb3dd(_0xa8a34f,_0x5c209c){return _0x684713(_0xa8a34f,_0x5c209c- -0xcb);}return _0x368156[_0x89b5e1(_0x46e0e3._0x242e9d,0x116)]=_0x397449[_0x4cb3dd(_0x46e0e3._0x193f45,_0x46e0e3._0x5aa7eb)][_0x89b5e1(_0x46e0e3._0x2faa77,0x116)],_0x368156[_0x4cb3dd(-0x6f,0x194)+'l']=_0x397449[_0x89b5e1(-_0x46e0e3._0x5c7e27,_0x46e0e3._0x28efef)][_0x4cb3dd(_0x46e0e3._0x558249,0x194)+'l'],_0x368156[_0x4cb3dd(-0x112,0xfa)+'Id']=_0x397449[_0x4cb3dd(0xde,0x290)][_0x4cb3dd(-0x116,_0x46e0e3._0x118129)+'Id'],_0x368156[_0x89b5e1(-0x15,0xd4)+'de']=_0x397449['accessCo'+'de'],_0x368156[_0x4cb3dd(0x12a,0x21e)+_0x89b5e1(0x493,0x26d)+_0x89b5e1(_0x46e0e3._0x44874c,0xf6)]=_0x397449[_0x89b5e1(_0x46e0e3._0x1cc66d,0xd4)+_0x89b5e1(0x380,0x26d)+_0x4cb3dd(_0x46e0e3._0x259569,0x240)],_0x368156[_0x4cb3dd(_0x46e0e3._0xa362c2,_0x46e0e3._0x3f8204)+_0x4cb3dd(_0x46e0e3._0x599a13,_0x46e0e3._0x51ea7d)]=_0x3cd9b2,_0x368156[_0x89b5e1(-_0x46e0e3._0x5b6818,-_0x46e0e3._0x193be4)]=_0x4bff2b,_0x368156;}function buildLocalPairingJson(_0x51dc81){const _0x582fd9={_0x59793b:0x274,_0x27925d:0x1c5,_0x5835c2:0xcb,_0x686977:0x319,_0x3988c3:0x3ab,_0x946924:0x293,_0x34df2b:0xeb,_0x175fe9:0x7f,_0xd59d59:0x23d,_0x366512:0x397,_0x6c3f58:0x1b8,_0x1b6646:0x12b},_0x31aae0={_0x497d47:0x12f};function _0x4ad7df(_0x22681e,_0x5d3527){return _0x528821(_0x5d3527,_0x22681e- -0xcb);}const _0xb93777={};_0xb93777['ok']=!![],_0xb93777[_0xdeae8e(-_0x582fd9._0x59793b,-0x109)]=_0x4ad7df(-_0x582fd9._0x27925d,_0x582fd9._0x5835c2),_0xb93777[_0x4ad7df(_0x582fd9._0x686977,_0x582fd9._0x3988c3)]=_0x51dc81[_0xdeae8e(0x286,0x2b5)],_0xb93777[_0x4ad7df(_0x582fd9._0x946924,0x1f)+'rl']=_0x51dc81[_0x4ad7df(0x293,_0x582fd9._0x34df2b)+'rl'];function _0xdeae8e(_0xa92582,_0x2f1fc8){return _0x528821(_0xa92582,_0x2f1fc8- -_0x31aae0._0x497d47);}return _0xb93777[_0x4ad7df(0x77,-_0x582fd9._0x175fe9)]=_0x51dc81[_0x4ad7df(0x77,_0x582fd9._0xd59d59)],_0xb93777[_0x4ad7df(-0x12c,-_0x582fd9._0x366512)+'t']=_0x51dc81['expiresA'+'t'],_0xb93777[_0xdeae8e(0x3ad,_0x582fd9._0x6c3f58)+'ath']=_0x51dc81['qrImageP'+_0x4ad7df(0x2e4,_0x582fd9._0x1b6646)],_0xb93777;}import{mkdirSync as _0x1dce8a,writeFileSync as _0x22108b}from'fs';import{dirname as _0x2fd534,isAbsolute,join as _0x211049,resolve as _0x22ea3d}from'path';import _0x32607b from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x4acaeb,_0x1d889b){const _0x6b2ad9={_0x1f4c1a:0x5ea,_0xc8e654:0x1f},_0x148fd2={_0x1d3db8:0x2c8},_0xc9df92={_0x2992c7:0x202},_0x42190b=resolveQrOutputPath(_0x4acaeb['config'][_0x18a826(0x6dc,_0x6b2ad9._0x1f4c1a)+'d'],_0x1d889b);function _0x18a826(_0x19fa7c,_0x31de00){return _0x684713(_0x31de00,_0x19fa7c-_0xc9df92._0x2992c7);}function _0x3cd6ca(_0x53a482,_0x4fb9a7){return _0x684713(_0x4fb9a7,_0x53a482- -_0x148fd2._0x1d3db8);}return writeQrPng(_0x4acaeb[_0x3cd6ca(0x23f,-_0x6b2ad9._0xc8e654)+'d'],_0x42190b);}async function writeRawQrPng(_0x212c13,_0x155348,_0x29b322){const _0x479c30={_0x4cb930:0x18c};function _0x25b28d(_0x3b44d6,_0x59c250){return _0x528821(_0x59c250,_0x3b44d6-0x2b5);}const _0x578d7c={'yLGOo':function(_0x4f414e,_0x4b1beb,_0x32d16f){return _0x4f414e(_0x4b1beb,_0x32d16f);}},_0x184a39=resolveQrOutputPath(_0x155348,_0x29b322);return _0x578d7c[_0x25b28d(_0x479c30._0x4cb930,0x116)](writeQrPng,_0x212c13,_0x184a39);}async function writeQrPng(_0xd2d0b1,_0x2f2d6d){const _0x5e2ec6={_0x4ac4b5:0x5fe,_0x21524f:0x5d2,_0x49eec7:0x393,_0x70c9ab:0x3dc,_0x57c1b2:0x98b,_0x279077:0x7c3,_0x2810e3:0x38e,_0x1633c9:0x392},_0x4f8515={};_0x4f8515[_0x1f7013(_0x5e2ec6._0x4ac4b5,0x506)+'e']=!![],_0x1dce8a(_0x2fd534(_0x2f2d6d),_0x4f8515);const _0x232050={};_0x232050[_0x418224(_0x5e2ec6._0x21524f,0x435)]=_0x1f7013(0x340,_0x5e2ec6._0x49eec7)+'g',_0x232050[_0x418224(0x48b,0x4e1)+_0x1f7013(0x64a,0x426)+_0x1f7013(_0x5e2ec6._0x70c9ab,0x57f)]='M',_0x232050[_0x418224(0x5fc,0x4ed)]=0x1,_0x232050['width']=0x2d0;const _0xf84a49=await _0x32607b[_0x1f7013(_0x5e2ec6._0x57c1b2,_0x5e2ec6._0x279077)+'L'](_0xd2d0b1,_0x232050),_0x2c8156=_0xf84a49[_0x418224(0x4ce,0x3f0)](/^data:image\/png;base64,/,'');function _0x1f7013(_0x417e2c,_0x4d287a){return _0x684713(_0x417e2c,_0x4d287a-0x230);}function _0x418224(_0xbb45ee,_0x218512){return _0x684713(_0x218512,_0xbb45ee- -0x18);}return _0x22108b(_0x2f2d6d,Buffer[_0x418224(_0x5e2ec6._0x2810e3,_0x5e2ec6._0x1633c9)](_0x2c8156,_0x418224(0x4df,0x29b))),_0x2f2d6d;}function resolveQrOutputPath(_0x27fb86,_0x197941){const _0x14f4cd={_0x1d8ecc:0x1b0,_0x65b2c:0x109},_0x53c320={_0x2b3653:0x2d9},_0x7a0312=_0x197941?.[_0x4074a7(0xe2,-_0x14f4cd._0x1d8ecc)]();if(_0x7a0312)return isAbsolute(_0x7a0312)?_0x7a0312:_0x22ea3d(_0x7a0312);function _0x1e1929(_0x251222,_0x44377e){return _0x684713(_0x251222,_0x44377e-0x1f4);}function _0x4074a7(_0x2c1a47,_0xbd6200){return _0x684713(_0xbd6200,_0x2c1a47- -_0x53c320._0x2b3653);}return _0x211049(DEFAULT_QR_DIR,_0x27fb86+_0x4074a7(-_0x14f4cd._0x65b2c,-0x225));}function decidePairServiceAction(_0x33a04e,_0x58d98c){const _0x2fc870={_0x15b50a:0x166,_0x45af24:0x120,_0x292c8e:0x355,_0xc15cc9:0x2e6,_0x244aff:0x46d,_0x14526f:0x55a,_0xa8f9ca:0x370,_0x2dd6b6:0x3cf,_0x2bd0e5:0x607,_0x5852fe:0x1f1,_0x1c8790:0x118,_0x495372:0x155,_0x1f1664:0x480,_0x260aab:0x649,_0x188a9e:0x4ae},_0x554fea={_0x3f5d06:0x365},_0x1447f1={_0x457dc5:0x1cb},_0xc7706f={};_0xc7706f[_0x426ff1(_0x2fc870._0x15b50a,_0x2fc870._0x45af24)]=_0x426ff1(0x198,_0x2fc870._0x292c8e)+'ed';function _0x426ff1(_0x11d48f,_0x593d22){return _0x528821(_0x593d22,_0x11d48f-_0x1447f1._0x457dc5);}_0xc7706f[_0x426ff1(_0x2fc870._0xc15cc9,0x159)]=_0x426ff1(_0x2fc870._0x244aff,_0x2fc870._0x14526f);const _0x42b6c5=_0xc7706f;if(!_0x58d98c[_0x426ff1(_0x2fc870._0xa8f9ca,0x119)+'d'])return _0x443a9d(_0x2fc870._0x2dd6b6,0x3d1);if(!_0x58d98c['running'])return _0x443a9d(0x66b,_0x2fc870._0x2bd0e5);function _0x443a9d(_0x20dd0e,_0x39d9d0){return _0x528821(_0x20dd0e,_0x39d9d0-_0x554fea._0x3f5d06);}if(_0x33a04e[_0x426ff1(_0x2fc870._0x5852fe,_0x2fc870._0x1c8790)]===_0x42b6c5[_0x443a9d(_0x2fc870._0x495372,0x300)])return _0x42b6c5[_0x443a9d(0x1df,_0x2fc870._0x1f1664)];return _0x443a9d(_0x2fc870._0x260aab,_0x2fc870._0x188a9e);}async function main(){const _0x69a6c5={_0x2965a6:0x1f9,_0x23fd4e:0x33b,_0x47c483:0x283,_0x1f7b56:0x35a,_0x223ebe:0x5d,_0x48e9cf:0x7c,_0x2990a0:0x5fd,_0xbe96bb:0x5df,_0x22235d:0x7b9,_0x564909:0x2fd,_0x118d14:0x4e4,_0x26ea5e:0x33b,_0x5533ff:0x5b,_0x8f1a5c:0x37a,_0x2d51a6:0x48c,_0x45ada0:0x43a,_0x30ad6b:0x324,_0xf70b68:0x282,_0xaac0f2:0x230,_0x48e7bd:0x1bc,_0x102604:0xc8,_0xaa7035:0x24e,_0x3a2d3a:0x618,_0x57a10f:0x3d6,_0x195ede:0x13c,_0x21050d:0x279,_0x4f1cf1:0x56d,_0x121c77:0x45c,_0x306f3b:0xc1,_0x3819c1:0x2ff,_0x44ac8e:0x95,_0x26a14c:0x618,_0x16c1b7:0x7b4,_0x2a6359:0x207,_0x17f71f:0x154,_0x7aa403:0x17,_0x249ef6:0x46f,_0x22c023:0x26a,_0x435eca:0x3af,_0x20756e:0x1aa,_0x1fba58:0x2cf,_0x3831c7:0x1e,_0x58eed6:0x5f2,_0x293060:0x225,_0x340f9a:0x1c1,_0x3dc891:0xf,_0xae4230:0x73f,_0x16eda5:0x380,_0x240e8a:0x148,_0x4c6dde:0x628,_0x3b5a52:0x3cc,_0x2844a5:0x6c4,_0x19e9bc:0x174,_0x4fdae2:0x3fb,_0x58be87:0x3fa,_0xf1c314:0x5b6,_0x543f02:0x59c,_0x108710:0x163,_0x111857:0x214,_0x5ee6f5:0x1db,_0x111384:0x176,_0x3db145:0x1e5,_0x379c2f:0x3c,_0x2c156a:0x447,_0x5bea9a:0x3f7,_0x89d07f:0x35c,_0x2f12e8:0x251,_0x2fc119:0x23f,_0x374a01:0x2e1,_0x1eea7f:0x1c1,_0x274ba4:0x10e,_0x191a99:0x3eb,_0x204220:0x362,_0x327f10:0x521,_0x508c73:0x96,_0x12f745:0x12e,_0x585619:0x50,_0x3b8b16:0x84,_0x2d84ff:0x12c,_0x1906ff:0x22d,_0x330f56:0xa5,_0x49fa8f:0x4a0,_0x5a9801:0x2f0,_0x16a9ce:0x17c,_0x2603dc:0xc6,_0x2b91b2:0x3de,_0x13ef5a:0x1df,_0x496498:0x3d1,_0x186a65:0x4fd,_0xda08d7:0x165,_0x368d9d:0x88,_0x3c5f00:0x18c,_0x3741e:0x370,_0x28536a:0x495,_0x2af76d:0x575,_0x40d68a:0x42f,_0x2bd0a5:0x2d5,_0x5e9129:0x2c3,_0x65ee5f:0x57b,_0x38227c:0x377,_0x5f1f76:0x20b,_0x3ac230:0x359,_0x42d3e5:0x25a,_0x44097c:0x521,_0x4cad50:0x3c1,_0x7e1333:0x5fb,_0x35e432:0x4b8,_0x16e748:0x6b8,_0x20acf3:0x24b,_0x25b8de:0x222,_0x3b8345:0x147,_0x1fb3e5:0x336,_0x5867e8:0x4f9,_0x537a33:0x1b8,_0x44a675:0xa4,_0x1751d9:0x6a1,_0x3ed9be:0x5ce,_0x54ee7a:0x48f,_0x24b218:0x528,_0x8a1758:0x235,_0x30e2c5:0x307,_0x5f2409:0x363,_0xc9dcae:0x7,_0x187204:0x1,_0x33ef49:0x62,_0x35924d:0x1a2,_0x25ac8e:0x14d,_0x41d48e:0x5a3,_0x2c26a3:0x434,_0x112500:0x29a,_0x31bb46:0x2e4,_0x141022:0x252,_0x31b59b:0x75,_0x549fab:0x42e,_0x21dd73:0x27b,_0x317944:0xe2,_0x368522:0x13d,_0x479fd2:0x4ca,_0x1b29a0:0x244,_0x2b9b4d:0x32d,_0x4279e9:0x1d6,_0x584410:0x110,_0x33cbb9:0xd2,_0x2b2cfb:0x2b,_0x3f4f40:0x2b6,_0x3e6992:0x23b,_0x33bae2:0x4e0,_0x5499b2:0x784,_0x1c4d46:0x142,_0x292dec:0x4ed,_0x1a9322:0x4ed,_0x4d6626:0x40e,_0x26bfb4:0x1ae,_0x47d3b9:0x3c7,_0x74cbdc:0x3f1,_0x29f476:0x1e5,_0x4a2824:0x426,_0x436ed9:0x50f,_0x2382de:0x26f,_0xb14bc4:0x99,_0x47c260:0x37f,_0x251afd:0x418,_0x4e431d:0x35f,_0x2bbb45:0x405,_0x42a5f1:0x26f,_0x363e70:0x1d1,_0xaff575:0x156,_0x15b4d8:0x38b,_0x482e66:0x25f,_0x13095a:0x270,_0x382a9c:0x278,_0x5530a8:0x1fd,_0x438ab0:0x1b5,_0x3b5d1b:0x42f,_0x4ed36c:0x626,_0x44977c:0x5,_0x3fbc35:0x90,_0x2532bf:0x653,_0x4e158d:0x43d,_0x435830:0x448,_0x33583b:0x3f6,_0x4fca3f:0x27d,_0x7ebcfc:0x556,_0x5ec9fd:0x4e3,_0x3ab5ae:0x53,_0x1d515c:0x9f,_0x5f3f41:0x26f,_0x406671:0x400,_0x4b86ab:0x48e,_0x1381f0:0x6ee,_0x410f0e:0x15d,_0x43f261:0x18f,_0x105829:0xe,_0x23c829:0x14a,_0x3f85aa:0x29b,_0x47b0c3:0x3f9,_0x39d200:0x3da,_0x1f5363:0x1be,_0x4913c8:0x28,_0x203fc7:0x74,_0x223449:0x2cf,_0x359a0a:0x171,_0x588a5f:0x1f1,_0x376d76:0x4ee,_0x5b60f3:0x53f,_0x2ec7ea:0x1ac,_0x591497:0x25e,_0x3bee01:0x7c,_0x4a1400:0x92,_0x5e91a7:0xe,_0x570f62:0x434,_0x4d6fc1:0x5f,_0xb1c9b7:0x8,_0x167cd1:0x345,_0x443c76:0x23e,_0x4aa34a:0x442,_0x34e6ab:0x4ed,_0x159e0a:0x55e,_0x45f249:0x16e,_0x2063fa:0x65,_0x24223b:0x2bd,_0x2230b5:0x33a,_0x1fdeca:0x2c1,_0xec7817:0x42f,_0x18a67c:0x490,_0x472763:0x12d,_0x2348e9:0x1ce,_0x2c4c3b:0x604,_0x5e2a64:0x4c7,_0x1bcc83:0x533,_0x47b38d:0x2b6,_0x12315b:0x5f,_0x5c40f1:0x355,_0x54ca8d:0xfc,_0x27be41:0xc4,_0x23eb07:0x421,_0x170ff6:0x3f},_0x292c36={_0xbe45f4:0x20b,_0x20e96d:0x258,_0x34e7fa:0x23a,_0x3e080d:0x4a8,_0x4ae3d1:0x616},_0x4656df={_0x102ff6:0x42},_0x466b68={_0x2db9b9:0x7f,_0x3cf424:0x89c,_0x345161:0x880,_0x46c820:0x7d,_0x2dd01f:0x64,_0x290029:0x56c,_0x3e1bcd:0x7bd,_0x5bd4a:0x923},_0x377261={_0x5b4be8:0x58f,_0x382b5d:0x78c,_0x2ead7d:0x861,_0x5ee9f3:0x29c,_0x5515cc:0x6e4,_0x1ec285:0x121,_0x316fa8:0x3da,_0xcbbe40:0x4a1,_0x16ef63:0xba,_0x3ae274:0x1de,_0x452e5c:0x914,_0x2fe035:0x3cd,_0x4fab12:0x410,_0x5769b4:0x75,_0x551273:0x1cf,_0x5a05b3:0x54f,_0x7afdb2:0x342,_0x3b81e9:0x15d,_0x377f4d:0x453,_0x4f67c8:0x281,_0x57fe80:0x4b1},_0x4bd0c4={_0x4f81fd:0x69d},_0x505007={_0xb9b3e6:0x1b4},_0x22f98f={_0x4ae32c:0x64},_0x64b52={_0x26df56:0x224},_0x33a476={'MqjgA':function(_0x3331ee,_0x459f7b){return _0x3331ee(_0x459f7b);},'vTkJY':'down','eJyzQ':_0xa884fc(_0x69a6c5._0x2965a6,_0x69a6c5._0x23fd4e),'jhRsP':_0x2cbdf5(_0x69a6c5._0x47c483,_0x69a6c5._0x1f7b56)+'e','EBayL':function(_0x4ffccb,_0x5fa159){return _0x4ffccb(_0x5fa159);},'zVavF':_0x2cbdf5(_0x69a6c5._0x223ebe,-_0x69a6c5._0x48e9cf),'DAkCU':function(_0x52f8ac,_0x2c8452,_0x22db6c){return _0x52f8ac(_0x2c8452,_0x22db6c);},'YawWE':function(_0x3b0665,_0x2ec73c){return _0x3b0665 in _0x2ec73c;},'NuPkn':function(_0x5b1c19,_0x35e148,_0x29a066){return _0x5b1c19(_0x35e148,_0x29a066);},'FLueE':function(_0x3aa266,_0x5bc6c4,_0x320687){return _0x3aa266(_0x5bc6c4,_0x320687);},'fduVA':function(_0x2e541d){return _0x2e541d();},'vWPDS':function(_0x2fedcd,_0x5b29f9){return _0x2fedcd in _0x5b29f9;},'ikake':function(_0x110189,_0x323b69,_0x500104){return _0x110189(_0x323b69,_0x500104);},'jOgqs':function(_0x2b3848){return _0x2b3848();},'Iovzt':_0x2cbdf5(0x339,0x108)+'e','BvKkl':function(_0x1cc6ed){return _0x1cc6ed();},'pETNA':function(_0x4d2796,_0x59c3d6,_0x7a5511,_0xdb09b4,_0x1ee6ef){return _0x4d2796(_0x59c3d6,_0x7a5511,_0xdb09b4,_0x1ee6ef);},'bLHad':function(_0x20ac16,_0x1c2be8,_0xb0f0e1,_0x299b56,_0x5c829b){return _0x20ac16(_0x1c2be8,_0xb0f0e1,_0x299b56,_0x5c829b);},'SBALY':_0x2cbdf5(0x351,0x232)+_0xa884fc(0x51f,_0x69a6c5._0x2990a0)+_0xa884fc(0x522,_0x69a6c5._0xbe96bb)+_0xa884fc(0x644,_0x69a6c5._0x22235d)+'ng.\x20Left'+_0xa884fc(_0x69a6c5._0x564909,_0x69a6c5._0x118d14)+_0x2cbdf5(_0x69a6c5._0x26ea5e,0x19a),'IolOq':'install','GsJyv':'Auto-ins'+_0x2cbdf5(-_0x69a6c5._0x5533ff,0x6b)+_0xa884fc(_0x69a6c5._0x8f1a5c,_0x69a6c5._0x2d51a6)+_0xa884fc(0x317,0x58f)+'e.','uYosP':_0x2cbdf5(0xdd,0x232)+_0xa884fc(0x51f,0x5a0)+_0xa884fc(0x107,0x290)+_0xa884fc(_0x69a6c5._0x45ada0,_0x69a6c5._0x30ad6b)+'\x20but\x20sto'+'pped.\x20Re'+_0x2cbdf5(_0x69a6c5._0xf70b68,_0x69a6c5._0xaac0f2)+_0xa884fc(0x186,_0x69a6c5._0x48e7bd),'WyYBP':function(_0x2fc354,_0x2627af){return _0x2fc354(_0x2627af);},'UrKZk':function(_0x583634,_0x4c0609,_0x18cbda,_0x5a8d8e,_0x1e6703){return _0x583634(_0x4c0609,_0x18cbda,_0x5a8d8e,_0x1e6703);},'tFwhY':_0x2cbdf5(0x1f2,_0x69a6c5._0x102604)+_0xa884fc(0x274,_0x69a6c5._0xaa7035)+_0x2cbdf5(_0x69a6c5._0x3a2d3a,_0x69a6c5._0x57a10f)+_0xa884fc(0x166,-_0x69a6c5._0x195ede)+'ll\x22\x20or\x20\x22'+'clawket\x20'+_0xa884fc(0x30c,_0x69a6c5._0x21050d)+'ually.','LbWiT':'error','Vcdic':function(_0x415bce,_0x4662fd,_0x3be617){return _0x415bce(_0x4662fd,_0x3be617);},'EACid':function(_0x263dc1,_0x3d05b6,_0x2a6bd7,_0x27a632,_0x1abfe9){return _0x263dc1(_0x3d05b6,_0x2a6bd7,_0x27a632,_0x1abfe9);},'sAqri':function(_0x1268a9){return _0x1268a9();},'NYdep':function(_0x39991f,_0x2b020f,_0x468bf4){return _0x39991f(_0x2b020f,_0x468bf4);},'kgqyY':function(_0x5894a4,_0x364e26,_0x44057c){return _0x5894a4(_0x364e26,_0x44057c);},'EhAJD':function(_0x4eb4cc,_0x3832b5,_0x5b8bdc){return _0x4eb4cc(_0x3832b5,_0x5b8bdc);},'OYaVS':function(_0x464e93,_0x191ea4){return _0x464e93===_0x191ea4;},'mqVdf':_0xa884fc(0x635,_0x69a6c5._0x4f1cf1),'vYYfn':function(_0x50910a){return _0x50910a();},'NQsYM':_0x2cbdf5(0x2e4,0x62),'FguEr':function(_0x39b79f,_0x2a9c79,_0x537e71){return _0x39b79f(_0x2a9c79,_0x537e71);},'UyyvX':function(_0x4be18a){return _0x4be18a();},'EkRMN':function(_0x1e4de1,_0x26b30d){return _0x1e4de1>_0x26b30d;},'ltfHQ':function(_0x40e95e,_0x46d81d){return _0x40e95e>_0x46d81d;},'efvWQ':_0xa884fc(0x4c2,_0x69a6c5._0x121c77)+'y-url','zdYpn':'Starting'+_0xa884fc(0x53d,0x423)+_0xa884fc(0x26f,_0x69a6c5._0x306f3b)+_0xa884fc(0x4fe,0x693)+'trl+C\x20to'+_0x2cbdf5(-_0x69a6c5._0x3819c1,-_0x69a6c5._0x44ac8e),'xGBbd':function(_0x6e8696){return _0x6e8696();}},[,,_0x4f8708=_0x33a476['eJyzQ'],..._0x1d18c0]=process[_0xa884fc(_0x69a6c5._0x26a14c,_0x69a6c5._0x16c1b7)],_0x43aa7a=hasFlag(_0x1d18c0,_0x33a476['jhRsP']),_0x1d1c1f=hasFlag(_0x1d18c0,'--json');if(_0x4f8708===_0xa884fc(_0x69a6c5._0x2a6359,_0x69a6c5._0x17f71f)){const _0x5c5912=_0x33a476[_0xa884fc(0x284,_0x69a6c5._0x7aa403)](readPairSubcommand,_0x1d18c0),_0x5e412a=_0x5c5912===_0x33a476[_0xa884fc(_0x69a6c5._0x249ef6,_0x69a6c5._0x22c023)]||_0x33a476['DAkCU'](hasFlag,_0x1d18c0,_0xa884fc(0x3c9,_0x69a6c5._0x435eca));if(_0x5e412a){const _0x273dec=resolveGatewayAuth();if(_0x33a476[_0x2cbdf5(_0x69a6c5._0x20756e,0x415)](_0x2cbdf5(0x525,0x2cf),_0x273dec))throw new Error(_0x273dec[_0x2cbdf5(0x2c9,_0x69a6c5._0x1fba58)]);const _0x27433b=readFlag(_0x1d18c0,_0x2cbdf5(-_0x69a6c5._0x3831c7,0x108)+'e'),_0x4ad1ae=buildLocalPairingInfo({'explicitUrl':_0x33a476[_0xa884fc(_0x69a6c5._0x58eed6,0x432)](readFlag,_0x1d18c0,'--url'),'gatewayToken':_0x273dec[_0xa884fc(_0x69a6c5._0x293060,_0x69a6c5._0x340f9a)],'gatewayPassword':_0x273dec[_0x2cbdf5(_0x69a6c5._0x3dc891,0x96)]}),_0x1dc625=await writeRawQrPng(_0x4ad1ae[_0xa884fc(0x4a3,0x214)+'d'],'clawket-'+'local-pa'+'ir',_0x27433b);if(_0x1d1c1f){const _0x1c9d25={};_0x1c9d25[_0xa884fc(0x59c,_0x69a6c5._0xae4230)+'rl']=_0x4ad1ae['gatewayU'+'rl'],_0x1c9d25[_0xa884fc(_0x69a6c5._0x16eda5,_0x69a6c5._0x240e8a)]=_0x4ad1ae['authMode'],_0x1c9d25['expiresA'+'t']=_0x4ad1ae['expiresA'+'t'],_0x1c9d25['qrImageP'+'ath']=_0x1dc625,_0x1c9d25[_0xa884fc(0x622,_0x69a6c5._0x4c6dde)]=_0xa884fc(_0x69a6c5._0x3b5a52,0x3c8)+_0xa884fc(0x4b1,_0x69a6c5._0x2844a5)+_0xa884fc(0x25d,0x165)+_0xa884fc(_0x69a6c5._0x19e9bc,_0x69a6c5._0x4fdae2)+_0xa884fc(_0x69a6c5._0x58be87,_0x69a6c5._0xf1c314),printJson(buildLocalPairingJson(_0x1c9d25));}else printLocalPairingInfo(_0x4ad1ae[_0xa884fc(_0x69a6c5._0x543f02,0x7d4)+'rl'],_0x4ad1ae[_0x2cbdf5(_0x69a6c5._0x108710,0x1c0)],_0x4ad1ae['expiresA'+'t'],_0x4ad1ae[_0xa884fc(0x4a3,_0x69a6c5._0x111857)+'d'],_0x1dc625,_0x33a476[_0x2cbdf5(_0x69a6c5._0x5ee6f5,_0x69a6c5._0x111384)](readFlag,_0x1d18c0,'--url'));return;}const _0x55c45b=_0x33a476['FLueE'](hasFlag,_0x1d18c0,_0x2cbdf5(_0x69a6c5._0x3db145,_0x69a6c5._0x379c2f));!_0x55c45b&&await _0x33a476[_0x2cbdf5(0x5cb,_0x69a6c5._0x2c156a)](ensurePairPrerequisites);const _0x4492b1=resolveGatewayAuth();if(_0x33a476['vWPDS'](_0x2cbdf5(0x524,0x2cf),_0x4492b1))throw new Error(_0x4492b1[_0xa884fc(0x48f,0x421)]);const _0x4f5828=_0x33a476['ikake'](readFlag,_0x1d18c0,_0x2cbdf5(0x682,_0x69a6c5._0x5bea9a))??readFlag(_0x1d18c0,'-s')??'https://'+_0xa884fc(_0x69a6c5._0x89d07f,0x429)+_0xa884fc(_0x69a6c5._0x2f12e8,0x415)+'.ai',_0x1da48f=readFlag(_0x1d18c0,'--name')??readFlag(_0x1d18c0,'-n')??_0x33a476['jOgqs'](getDefaultBridgeDisplayName),_0x260b36=readFlag(_0x1d18c0,_0x33a476[_0xa884fc(_0x69a6c5._0x2fc119,0x1ac)]),_0x152d4b={};_0x152d4b['serverUr'+'l']=_0x4f5828,_0x152d4b[_0x2cbdf5(_0x69a6c5._0x48e7bd,0xf3)+_0xa884fc(_0x69a6c5._0x374a01,0x142)]=_0x1da48f,_0x152d4b[_0xa884fc(_0x69a6c5._0x1eea7f,_0x69a6c5._0x274ba4)+_0xa884fc(_0x69a6c5._0x191a99,0x5b0)]=_0x4492b1['token'],_0x152d4b[_0xa884fc(_0x69a6c5._0x204220,_0x69a6c5._0x327f10)+'assword']=_0x4492b1[_0x2cbdf5(-0xe4,_0x69a6c5._0x508c73)];const _0x20bbe6=await pairGateway(_0x152d4b),_0x37c0a4=await writePairingQrPng(_0x20bbe6,_0x260b36),_0x1e93d8=getServiceStatus(),_0x57c258=decidePairServiceAction(_0x20bbe6,_0x1e93d8);if(_0x57c258==='noop'){const _0x29b360=listRuntimeProcesses();if(_0x29b360[_0xa884fc(_0x69a6c5._0x12f745,-_0x69a6c5._0x585619)]>0x1){_0x33a476[_0x2cbdf5(-_0x69a6c5._0x3b8b16,_0x69a6c5._0x2d84ff)](stopRuntimeProcesses);const _0x5e6f97=restartService(),_0x41d532=_0x2cbdf5(-_0x69a6c5._0x1906ff,-_0x69a6c5._0x330f56)+_0xa884fc(_0x69a6c5._0x49fa8f,0x57d)+_0xa884fc(_0x69a6c5._0x5a9801,_0x69a6c5._0x16a9ce)+_0x2cbdf5(-_0x69a6c5._0x2603dc,0x7d)+'es.\x20Rest'+_0xa884fc(0x3cd,0x438)+_0x2cbdf5(0x17d,_0x69a6c5._0x2b91b2)+_0xa884fc(_0x69a6c5._0x13ef5a,0x340)+_0x2cbdf5(0x3ff,_0x69a6c5._0x496498)+'anly.';_0x1d1c1f?_0x33a476[_0xa884fc(_0x69a6c5._0x186a65,0x37b)](printJson,_0x33a476[_0x2cbdf5(_0x69a6c5._0xda08d7,-_0x69a6c5._0x368d9d)](buildPairingJson,_0x20bbe6,_0x37c0a4,_0x5e6f97,_0x41d532)):(printPairingInfo(_0x20bbe6,_0x37c0a4),printServiceResult(_0x41d532,_0x5e6f97));return;}_0x1d1c1f?printJson(_0x33a476[_0xa884fc(_0x69a6c5._0x3c5f00,-0x4b)](buildPairingJson,_0x20bbe6,_0x37c0a4,_0x1e93d8,_0x2cbdf5(0x371,0x232)+_0xa884fc(0x51f,_0x69a6c5._0x3741e)+_0xa884fc(0x522,_0x69a6c5._0x28536a)+_0xa884fc(0x644,_0x69a6c5._0x2af76d)+_0x2cbdf5(0xb7,0x2c0)+'\x20unchang'+_0x2cbdf5(0x34e,0x19a))):(printPairingInfo(_0x20bbe6,_0x37c0a4),console[_0xa884fc(_0x69a6c5._0x40d68a,_0x69a6c5._0x2bd0a5)](_0x33a476['SBALY']),printServiceResult(null,_0x1e93d8));return;}try{stopRuntimeProcesses();const _0x351781=_0x57c258===_0x2cbdf5(_0x69a6c5._0x5e9129,0xea)?installService():restartService(),_0x2c88b4=_0x57c258===_0x33a476[_0xa884fc(0x640,_0x69a6c5._0x65ee5f)]?_0x33a476[_0x2cbdf5(0x10d,_0x69a6c5._0x38227c)]:_0x20bbe6['action']===_0xa884fc(_0x69a6c5._0x5f1f76,0x44f)+'ed'?_0x2cbdf5(_0x69a6c5._0x3ac230,_0x69a6c5._0x42d3e5)+_0x2cbdf5(_0x69a6c5._0x44097c,0x3bd)+_0xa884fc(_0x69a6c5._0x4cad50,_0x69a6c5._0x7e1333)+'\x20Restart'+_0x2cbdf5(0x37,0x4)+_0xa884fc(_0x69a6c5._0x35e432,_0x69a6c5._0x16e748)+'rvice\x20to'+_0xa884fc(0x5fe,0x4dd)+'e\x20new\x20pa'+_0x2cbdf5(_0x69a6c5._0x20acf3,_0x69a6c5._0x25b8de):_0x33a476[_0x2cbdf5(_0x69a6c5._0x3b8345,0x37c)];_0x1d1c1f?printJson(buildPairingJson(_0x20bbe6,_0x37c0a4,_0x351781,_0x2c88b4)):(printPairingInfo(_0x20bbe6,_0x37c0a4),_0x33a476[_0xa884fc(_0x69a6c5._0x1fb3e5,_0x69a6c5._0x5867e8)](printServiceResult,_0x2c88b4,_0x351781));}catch(_0x2064c9){if(isAutostartUnsupportedError(_0x2064c9)){const _0x16836b=await startTransientRuntime(),_0x3bd708=_0x33a476['WyYBP'](buildUnsupportedAutostartMessage,_0x16836b);_0x1d1c1f?printJson(_0x33a476[_0x2cbdf5(_0x69a6c5._0x537a33,-_0x69a6c5._0x44a675)](buildPairingJson,_0x20bbe6,_0x37c0a4,_0x16836b,_0x3bd708)):(printPairingInfo(_0x20bbe6,_0x37c0a4),printServiceResult(_0x3bd708,_0x16836b));return;}console[_0x2cbdf5(0x33d,_0x69a6c5._0x1fba58)](_0xa884fc(0x2e4,_0x69a6c5._0x1eea7f)+_0xa884fc(0x5bb,_0x69a6c5._0x1751d9)+_0xa884fc(0x2f5,_0x69a6c5._0x191a99)+'ervice\x20a'+_0x2cbdf5(0x34e,0x2fc)+_0xa884fc(_0x69a6c5._0x3ed9be,0x7f8)+':\x20'+formatError2(_0x2064c9)),console[_0xa884fc(_0x69a6c5._0x54ee7a,_0x69a6c5._0x24b218)](_0x33a476[_0x2cbdf5(_0x69a6c5._0x8a1758,_0x69a6c5._0x30e2c5)]),process['exitCode']=0x1;}return;}if(_0x4f8708===_0x2cbdf5(_0x69a6c5._0x5f2409,0x41f)+'code'){const _0xa9ac2=readFlag(_0x1d18c0,_0x2cbdf5(0x2fa,0x108)+'e'),_0x3cb6e6=resolveGatewayAuth();if(_0x33a476['LbWiT']in _0x3cb6e6)throw new Error(_0x3cb6e6['error']);const _0x16f79a={};_0x16f79a[_0x2cbdf5(_0x69a6c5._0xc9dcae,_0x69a6c5._0x187204)+'oken']=_0x3cb6e6['token'],_0x16f79a[_0x2cbdf5(_0x69a6c5._0x33ef49,_0x69a6c5._0x35924d)+_0x2cbdf5(_0x69a6c5._0x25ac8e,0x45)]=_0x3cb6e6[_0xa884fc(0x256,0x1e9)];const _0x18052b=await refreshAccessCode(_0x16f79a),_0x56fc8c=await _0x33a476[_0xa884fc(0x538,0x7cc)](writePairingQrPng,_0x18052b,_0xa9ac2);_0x1d1c1f?printJson(_0x33a476[_0xa884fc(_0x69a6c5._0x41d48e,0x525)](buildPairingJson,_0x18052b,_0x56fc8c,_0x33a476[_0xa884fc(_0x69a6c5._0x2c26a3,_0x69a6c5._0x112500)](getServiceStatus),_0xa884fc(_0x69a6c5._0x31bb46,0x363)+_0x2cbdf5(_0x69a6c5._0x141022,_0x69a6c5._0x31b59b)+_0x2cbdf5(0x502,_0x69a6c5._0x549fab))):_0x33a476[_0x2cbdf5(0x13c,_0x69a6c5._0x21dd73)](printPairingInfo,_0x18052b,_0x56fc8c);return;}if(_0x4f8708===_0x2cbdf5(-_0x69a6c5._0x317944,0xea)||_0x4f8708===_0xa884fc(0x1b6,_0x69a6c5._0x368522)){const _0x4546e4=requirePairingConfig();_0x33a476['sAqri'](stopRuntimeProcesses);const _0x361226=_0x33a476[_0x2cbdf5(_0x69a6c5._0x479fd2,_0x69a6c5._0x2c156a)](installService);console[_0xa884fc(0x42f,0x545)](_0x2cbdf5(0x446,0x2b1)+_0x2cbdf5(_0x69a6c5._0x1b29a0,_0x69a6c5._0x2b9b4d)+_0xa884fc(0x1df,_0x69a6c5._0x4279e9)+_0x2cbdf5(_0x69a6c5._0x584410,0x24e)+_0x2cbdf5(_0x69a6c5._0x33cbb9,-_0x69a6c5._0x2b2cfb)+'\x20'+_0x4546e4[_0x2cbdf5(0x399,_0x69a6c5._0x3f4f40)+'d']+'.'),_0x33a476[_0xa884fc(_0x69a6c5._0x3e6992,0x258)](printServiceResult,null,_0x361226);return;}function _0x2cbdf5(_0x3b5407,_0x1adcca){return _0x684713(_0x3b5407,_0x1adcca- -_0x64b52._0x26df56);}if(_0x4f8708===_0xa884fc(_0x69a6c5._0x33bae2,_0x69a6c5._0x5499b2)){const _0xc1ecd=requirePairingConfig();stopRuntimeProcesses();const _0x2f9fc9=restartService();console[_0xa884fc(0x42f,0x4cd)](_0xa884fc(_0x69a6c5._0x1c4d46,0x3b)+_0xa884fc(_0x69a6c5._0x292dec,_0x69a6c5._0x1a9322)+'ound\x20ser'+_0xa884fc(_0x69a6c5._0x4d6626,_0x69a6c5._0x26bfb4)+_0xa884fc(0x195,-0xda)+'\x20'+_0xc1ecd[_0x2cbdf5(_0x69a6c5._0x47d3b9,0x2b6)+'d']+'.'),_0x33a476[_0xa884fc(_0x69a6c5._0x74cbdc,_0x69a6c5._0x29f476)](printServiceResult,null,_0x2f9fc9);return;}if(_0x33a476[_0x2cbdf5(_0x69a6c5._0x4a2824,0x448)](_0x4f8708,_0xa884fc(_0x69a6c5._0x436ed9,0x66b))){const _0x3f23e4=stopService();stopRuntimeProcesses(),console[_0x2cbdf5(0x16e,_0x69a6c5._0x2382de)](_0xa884fc(0x27b,_0x69a6c5._0xb14bc4)+_0x2cbdf5(_0x69a6c5._0x47c260,0x1cb)+_0x2cbdf5(_0x69a6c5._0x251afd,_0x69a6c5._0x4e431d)+_0xa884fc(_0x69a6c5._0x2bbb45,0x3e3)),printServiceResult(null,_0x3f23e4);return;}if(_0x4f8708===_0xa884fc(0x15a,0x27b)+'l'){const _0x2115c3=uninstallService();stopRuntimeProcesses(),console[_0x2cbdf5(-0x23,_0x69a6c5._0x42a5f1)](_0xa884fc(_0x69a6c5._0x363e70,_0x69a6c5._0xaff575)+_0xa884fc(_0x69a6c5._0x15b4d8,_0x69a6c5._0x2382de)+_0x2cbdf5(_0x69a6c5._0x482e66,0x35f)+_0x2cbdf5(_0x69a6c5._0x13095a,0x3a0)+_0xa884fc(_0x69a6c5._0x382a9c,_0x69a6c5._0x5530a8)),printServiceResult(null,_0x2115c3);return;}if(_0x4f8708===_0x33a476['mqVdf']){const _0xfccf5d=(_0xa884fc(0x170,0xff)+'4')[_0x2cbdf5(-_0x69a6c5._0x438ab0,0x4d)]('|');let _0x3a0dfb=0x0;while(!![]){switch(_0xfccf5d[_0x3a0dfb++]){case'0':console[_0xa884fc(_0x69a6c5._0x3b5d1b,_0x69a6c5._0x4ed36c)](_0x2cbdf5(_0x69a6c5._0x44977c,_0x69a6c5._0x3fbc35)+_0xa884fc(0x504,_0x69a6c5._0x2532bf)+'config:\x20'+_0x33a476[_0x2cbdf5(_0x69a6c5._0x89d07f,0x274)](getPairingConfigPath));continue;case'1':_0x33a476[_0x2cbdf5(-0x135,_0x69a6c5._0x2d84ff)](deletePairingConfig);continue;case'2':stopService();continue;case'3':_0x33a476[_0xa884fc(0x34e,_0x69a6c5._0x4e158d)](stopRuntimeProcesses);continue;case'4':return;}break;}}if(_0x33a476[_0x2cbdf5(0x33c,_0x69a6c5._0x435830)](_0x4f8708,'status')){printStatus();return;}if(_0x4f8708===_0xa884fc(_0x69a6c5._0x33583b,0x249)){const _0xa6a402=Number(readFlag(_0x1d18c0,_0x33a476[_0x2cbdf5(0x4f0,_0x69a6c5._0x4fca3f)])??'200'),_0x198d0e=parseLookbackToMs(_0x33a476[_0xa884fc(_0x69a6c5._0x7ebcfc,0x2c7)](readFlag,_0x1d18c0,_0xa884fc(0x463,_0x69a6c5._0x5ec9fd))??readFlag(_0x1d18c0,'-l')),_0x17b0b6=readRecentCliLogs({'lines':_0xa6a402,'lastMs':_0x198d0e,'includeErrorLog':hasFlag(_0x1d18c0,_0x2cbdf5(-0x245,_0x69a6c5._0x3ab5ae))});if(_0x1d1c1f){const _0x5c4471={};_0x5c4471['ok']=!![],_0x5c4471[_0x2cbdf5(0x219,0x376)]=_0x17b0b6,printJson(_0x5c4471);}else _0x17b0b6[_0xa884fc(0x12e,-_0x69a6c5._0x1d515c)]===0x0?console[_0x2cbdf5(0x13,_0x69a6c5._0x5f3f41)](_0x2cbdf5(-0x18f,0x55)+_0xa884fc(0x159,-_0x69a6c5._0x31b59b)+_0x2cbdf5(0x618,_0x69a6c5._0x406671)+_0xa884fc(_0x69a6c5._0x4b86ab,_0x69a6c5._0x1381f0)):console[_0x2cbdf5(_0x69a6c5._0x410f0e,0x26f)](_0x17b0b6[_0x2cbdf5(_0x69a6c5._0x43f261,-_0x69a6c5._0x105829)]('\x0a'));return;}function _0xa884fc(_0x168b29,_0x3c84ce){return _0x684713(_0x3c84ce,_0x168b29- -_0x22f98f._0x4ae32c);}if(_0x4f8708===_0x2cbdf5(_0x69a6c5._0x23c829,_0x69a6c5._0x3f85aa)){const _0x747bd3=await buildDoctorReport();_0x1d1c1f?printJson(_0x747bd3):printDoctorReport(_0x747bd3);return;}if(_0x4f8708===_0xa884fc(0x2e2,0x23c)){const _0x33b8c8=requirePairingConfig(),_0x1b6cfb=hasFlag(_0x1d18c0,_0x2cbdf5(0x54f,_0x69a6c5._0x47b0c3)+'e'),_0x20c889=_0x33a476[_0xa884fc(0x58f,_0x69a6c5._0x39d200)](listRuntimeProcesses)[_0xa884fc(0x164,-0xc7)](_0x3c7a01=>_0x3c7a01[_0x2cbdf5(-0xf3,0x165)]);_0x33a476[_0x2cbdf5(_0x69a6c5._0x1f5363,-_0x69a6c5._0x4913c8)](_0x20c889[_0xa884fc(0x12e,-_0x69a6c5._0x203fc7)],0x0)&&(!_0x1b6cfb&&(console[_0x2cbdf5(0x31c,_0x69a6c5._0x223449)]('Another\x20'+'Clawket\x20'+_0xa884fc(0x14e,_0x69a6c5._0x359a0a)+_0x2cbdf5(_0x69a6c5._0x588a5f,0xe1)+_0xa884fc(_0x69a6c5._0x376d76,_0x69a6c5._0x5b60f3)+_0x2cbdf5(-_0x69a6c5._0x2ec7ea,-0xaa)+_0xa884fc(_0x69a6c5._0x591497,_0x69a6c5._0x3bee01)+(_0x33a476['ltfHQ'](_0x20c889[_0x2cbdf5(-_0x69a6c5._0x30e2c5,-_0x69a6c5._0x4a1400)],0x1)?'s':'')+':\x20'+_0x20c889[_0x2cbdf5(_0x69a6c5._0x368d9d,-_0x69a6c5._0x5e91a7)](',\x20')+(_0x2cbdf5(0x33c,_0x69a6c5._0x570f62)+_0x2cbdf5(_0x69a6c5._0x4d6fc1,_0x69a6c5._0xb1c9b7)+_0x2cbdf5(0x133,_0x69a6c5._0x167cd1)+_0xa884fc(0x185,0x316)+'rerun\x20wi'+_0x2cbdf5(_0x69a6c5._0x443c76,0x347)+_0xa884fc(_0x69a6c5._0x4aa34a,_0x69a6c5._0x34e6ab)+_0xa884fc(_0x69a6c5._0x159e0a,0x66c)+'ver.')),process[_0x2cbdf5(_0x69a6c5._0x45f249,0x24b)](0x1)),stopRuntimeProcesses());const _0x3acddb=_0x33a476[_0xa884fc(0x11e,_0x69a6c5._0x2063fa)](resolveGatewayUrl,readFlag(_0x1d18c0,_0x33a476[_0x2cbdf5(0x363,_0x69a6c5._0x24223b)])??_0x33a476['FguEr'](readFlag,_0x1d18c0,'-g')),_0x580580=_0x1ec8e9=>{function _0x5b0f3a(_0x30842c,_0x2b4265){return _0xa884fc(_0x2b4265-_0x505007._0xb9b3e6,_0x30842c);}console[_0x5b0f3a(_0x4bd0c4._0x4f81fd,0x5e3)]('['+Date['now']()+']\x20'+_0x1ec8e9);};!_0x43aa7a?(console['log'](_0xa884fc(0x273,_0x69a6c5._0x2230b5)+'ID:\x20'+_0x33b8c8['gatewayI'+'d']),console['log'](_0xa884fc(0x63e,0x400)+'\x20ID:\x20'+_0x33b8c8[_0xa884fc(0x161,_0x69a6c5._0x1fdeca)+'Id']),console[_0xa884fc(_0x69a6c5._0xec7817,0x337)]('Gateway\x20'+_0x2cbdf5(-0x7a,0xd2)+_0x3acddb),console[_0x2cbdf5(_0x69a6c5._0x18a67c,0x26f)](''),console[_0x2cbdf5(_0x69a6c5._0x472763,0x26f)](_0x33a476[_0xa884fc(0x418,0x5d9)]),console[_0x2cbdf5(_0x69a6c5._0x2348e9,0x26f)]('')):_0x580580('Starting'+_0x2cbdf5(-0x5a,0xc9)+_0xa884fc(_0x69a6c5._0x2c4c3b,_0x69a6c5._0x406671)+_0xa884fc(0x385,0x43f)+_0x2cbdf5(0x1e7,0x1e6)+'eway\x20'+_0x33b8c8[_0x2cbdf5(0x3c1,0x2b6)+'d']);_0x43aa7a&&writeServiceState();const _0x47de8b=new BridgeRuntime({'config':_0x33b8c8,'gatewayUrl':_0x3acddb,'onLog':_0x4a82c9=>{_0x580580('[clawket'+']\x20'+_0x4a82c9);},'onStatus':_0x235f05=>{function _0x2623df(_0x2fe269,_0x2923da){return _0x2cbdf5(_0x2923da,_0x2fe269-0x103);}if(_0x235f05[_0x501a59(0x712,_0x377261._0x5b4be8)+'r']){_0x580580(_0x501a59(_0x377261._0x382b5d,_0x377261._0x2ead7d)+_0x501a59(0x377,_0x377261._0x5ee9f3)+(_0x235f05[_0x501a59(_0x377261._0x5515cc,0x912)+'nected']?'up':_0x2623df(0x3b0,_0x377261._0x1ec285))+(_0x501a59(_0x377261._0x316fa8,_0x377261._0xcbbe40)+'=')+(_0x235f05[_0x2623df(_0x377261._0x16ef63,-_0x377261._0x3ae274)+_0x501a59(0x453,0x1c5)]?'up':'down')+(_0x501a59(0x68d,_0x377261._0x452e5c)+'=')+_0x235f05['clientCo'+'unt']+_0x2623df(0x49c,_0x377261._0x2fe035)+_0x235f05[_0x2623df(_0x377261._0x4fab12,0x413)+'r']);return;}function _0x501a59(_0x5e1f14,_0x2b15a9){return _0x2cbdf5(_0x2b15a9,_0x5e1f14-0x405);}_0x33a476[_0x501a59(0x742,0x4c3)](_0x580580,'[status]'+_0x2623df(_0x377261._0x5769b4,_0x377261._0x551273)+(_0x235f05[_0x2623df(0x3e2,_0x377261._0x5a05b3)+_0x2623df(_0x377261._0x7afdb2,0x2ef)]?'up':'down')+(_0x501a59(0x3da,_0x377261._0x3b81e9)+'=')+(_0x235f05['gatewayC'+_0x501a59(_0x377261._0x377f4d,0x1b0)]?'up':_0x33a476[_0x2623df(_0x377261._0x4f67c8,_0x377261._0x57fe80)])+('\x20clients'+'=')+_0x235f05['clientCo'+'unt']);},'onPendingPairRequest':_0x83c269=>{const _0x31b39c={_0x483d7d:0x1e7};function _0x757a51(_0x10fe11,_0x306ff2){return _0xa884fc(_0x10fe11- -_0x31b39c._0x483d7d,_0x306ff2);}function _0x8c5546(_0x293ace,_0x6e7d4d){return _0xa884fc(_0x293ace-0x2b9,_0x6e7d4d);}_0x580580('[pair-re'+_0x757a51(-_0x466b68._0x2db9b9,0xd5)+_0x8c5546(_0x466b68._0x3cf424,0x714)+'='+_0x83c269[_0x8c5546(_0x466b68._0x345161,0xa3e)+'d']+('\x20deviceI'+'d=')+(_0x83c269[_0x757a51(-0x34,_0x466b68._0x46c820)]||_0x757a51(0x212,0x8f)+'>')+_0x757a51(-_0x466b68._0x2dd01f,0xa3)+(_0x83c269[_0x8c5546(_0x466b68._0x290029,_0x466b68._0x3e1bcd)+_0x757a51(0xfa,0x26d)]??_0x8c5546(0x6b2,_0x466b68._0x5bd4a)+'>'));}});_0x47de8b['start']();const _0x2d2b79={};_0x2d2b79[_0x2cbdf5(_0x69a6c5._0x5e2a64,_0x69a6c5._0x3f4f40)+'d']=_0x33b8c8[_0x2cbdf5(_0x69a6c5._0x1bcc83,_0x69a6c5._0x47b38d)+'d'],_0x2d2b79[_0x2cbdf5(0x126,-0x5f)+'Id']=_0x33b8c8[_0x2cbdf5(-0x183,-_0x69a6c5._0x12315b)+'Id'],_0x2d2b79[_0x2cbdf5(0x35c,0x402)+_0xa884fc(_0x69a6c5._0x5c40f1,0x106)]=_0x43aa7a,_0x33a476[_0x2cbdf5(-_0x69a6c5._0x54ca8d,_0x69a6c5._0x27be41)](registerRuntimeProcess,_0x2d2b79);const _0x57bb25=async()=>{const _0x15abf2={_0x50ed0f:0x545},_0xbd5b05=(_0x3426bb(-0x10c,0x80)+'2|3')[_0x3426bb(_0x292c36._0xbe45f4,0x8f)]('|');function _0x3c270d(_0x1a0566,_0x46d572){return _0x2cbdf5(_0x46d572,_0x1a0566-_0x15abf2._0x50ed0f);}let _0x122ac6=0x0;function _0x3426bb(_0x545aa4,_0x326480){return _0x2cbdf5(_0x545aa4,_0x326480-_0x4656df._0x102ff6);}while(!![]){switch(_0xbd5b05[_0x122ac6++]){case'0':unregisterRuntimeProcess(process[_0x3c270d(0x6aa,0x54c)]);continue;case'1':process[_0x3426bb(_0x292c36._0x20e96d,_0x292c36._0x34e7fa)]('SIGINT',_0x57bb25);continue;case'2':_0x43aa7a&&clearServiceState(process['pid']);continue;case'3':process[_0x3426bb(_0x292c36._0x3e080d,0x28d)](0x0);continue;case'4':await _0x47de8b[_0x3c270d(0x894,0x655)]();continue;case'5':process[_0x3c270d(0x73d,_0x292c36._0x4ae3d1)](_0x3426bb(0xbb,0x81),_0x57bb25);continue;}break;}};process['on'](_0xa884fc(_0x69a6c5._0x23eb07,0x63b),_0x57bb25),process['on'](_0x2cbdf5(-0x1a5,_0x69a6c5._0x170ff6),_0x57bb25),await new Promise(()=>{});}_0x33a476['xGBbd'](printHelp);}function printPairingInfo(_0x499070,_0xaa7c){const _0x12cebc={_0x25cdc5:0x466,_0x46b77a:0x25e,_0x16d897:0x2f1,_0x287957:0x38b,_0x11f996:0x46d,_0x4a365a:0x79f,_0x231f82:0x543,_0x533487:0x387,_0x313c6e:0x3f1,_0x5a9fe6:0x3a7,_0x284771:0x40b,_0x530baa:0x58a,_0x45c6e7:0x86,_0x34bd5b:0x701,_0x294f06:0x3b9,_0xb94437:0x4e9,_0x115b6a:0x582,_0x5376dc:0x543,_0x3578e2:0x446,_0x4d48e0:0x616,_0x52569e:0x448,_0x4d4eca:0x399,_0x2826c7:0xd0,_0x247b5d:0x13d,_0x3b6488:0x4bb,_0x19fc7c:0x1d6,_0x5684aa:0x7d},_0xcdce9a={'Akjgd':function(_0xffd035,_0x595434){return _0xffd035(_0x595434);}};_0x499070[_0x570d2c(-0xf4,-0x7d)]==='refreshe'+'d'&&console['log']('Bridge\x20a'+_0x570d2c(_0x12cebc._0x25cdc5,_0x12cebc._0x46b77a)+_0x570d2c(_0x12cebc._0x16d897,0x2a4)+_0x570d2c(_0x12cebc._0x287957,0x198)+'\x20the\x20pai'+_0x3dff40(_0x12cebc._0x11f996,0x4de)+'e.');console[_0x3dff40(_0x12cebc._0x4a365a,_0x12cebc._0x231f82)](_0x3dff40(0x5bb,_0x12cebc._0x533487)+_0x3dff40(0x5f3,_0x12cebc._0x313c6e)+_0x499070[_0x3dff40(_0x12cebc._0x5a9fe6,_0x12cebc._0x284771)][_0x3dff40(0x6f5,_0x12cebc._0x530baa)+'d']),console['log'](_0x570d2c(-0x1c2,_0x12cebc._0x45c6e7)+_0x3dff40(_0x12cebc._0x34bd5b,0x554)+_0x570d2c(0x386,0x1e0)+'e\x20Clawke'+_0x570d2c(0xd2,-0x126));const _0x56c502={};function _0x3dff40(_0x2ce0eb,_0x49e74b){return _0x684713(_0x2ce0eb,_0x49e74b-0xb0);}_0x56c502[_0x3dff40(0x420,_0x12cebc._0x294f06)]=!![];function _0x570d2c(_0xbd66d,_0x5101c4){return _0x684713(_0xbd66d,_0x5101c4- -0x345);}_0x2d1298[_0x3dff40(_0x12cebc._0xb94437,0x610)](_0x499070['qrPayloa'+'d'],_0x56c502),console[_0x3dff40(_0x12cebc._0x115b6a,_0x12cebc._0x5376dc)](_0x3dff40(_0x12cebc._0x3578e2,0x332)+'\x20'+_0xcdce9a[_0x3dff40(_0x12cebc._0x4d48e0,_0x12cebc._0x52569e)](formatLocalTime,_0x499070[_0x3dff40(0x108,_0x12cebc._0x4d4eca)+_0x570d2c(_0x12cebc._0x2826c7,_0x12cebc._0x247b5d)+_0x3dff40(0x1e3,0x3bb)])),console[_0x3dff40(_0x12cebc._0x3b6488,0x543)](_0x570d2c(_0x12cebc._0x19fc7c,_0x12cebc._0x5684aa)+':\x20'+_0xaa7c);}function printLocalPairingInfo(_0x141508,_0x29ee3e,_0x9cadd,_0x1f720c,_0x4911ce,_0x163947){const _0x4bf31e={_0x157fce:0xa46,_0x884274:0x66a,_0x548f94:0x192,_0x37aa0c:0x383,_0x4fff43:0x612,_0x5971db:0x4a,_0x3ba587:0x8b7,_0x580bf6:0x6e4,_0x3e8ffb:0xcb,_0x4f12be:0x21,_0x2311e2:0x924,_0x5468ee:0x8a7,_0x3c4f80:0x8f3,_0x20d8cb:0x60,_0x3adde5:0x992,_0x6aec18:0x706,_0x2c41ee:0x112,_0x52c331:0x31},_0x3b8540={_0xdc256f:0x635};console[_0x2e48d0(_0x4bf31e._0x157fce,0x826)](_0x2e48d0(0x55b,_0x4bf31e._0x884274)+_0x5b21a1(-0x8b,_0x4bf31e._0x548f94)+_0x141508),console['log']('Auth\x20mod'+_0x2e48d0(_0x4bf31e._0x37aa0c,_0x4bf31e._0x4fff43)+_0x29ee3e);function _0x5b21a1(_0x9d1746,_0x29e722){return _0x528821(_0x29e722,_0x9d1746- -0xdf);}console['log'](_0x163947?_0x5b21a1(_0x4bf31e._0x5971db,-0xc7)+'is\x20custo'+_0x5b21a1(-_0x4bf31e._0x548f94,-0x2a)+'y\x20QR\x20in\x20'+'the\x20Claw'+_0x2e48d0(0x6e5,_0x4bf31e._0x3ba587)+'\x0a':_0x2e48d0(_0x4bf31e._0x580bf6,0x75e)+_0x2e48d0(0x9ce,0x847)+_0x5b21a1(-0x188,-_0x4bf31e._0x3e8ffb)+_0x5b21a1(0xb1,0x2d8)+'he\x20Clawk'+_0x5b21a1(-_0x4bf31e._0x4f12be,-0x190));const _0x4d8758={};_0x4d8758[_0x2e48d0(_0x4bf31e._0x2311e2,0x69c)]=!![];function _0x2e48d0(_0x21eae3,_0x3c7460){return _0x528821(_0x21eae3,_0x3c7460-_0x3b8540._0xdc256f);}_0x2d1298[_0x2e48d0(_0x4bf31e._0x5468ee,_0x4bf31e._0x3c4f80)](_0x1f720c,_0x4d8758),console[_0x5b21a1(0x112,_0x4bf31e._0x20d8cb)](_0x2e48d0(0x7cd,0x615)+'\x20'+new Date(_0x9cadd)[_0x2e48d0(_0x4bf31e._0x3adde5,_0x4bf31e._0x6aec18)+_0x5b21a1(0xb,0x70)]()),console[_0x5b21a1(_0x4bf31e._0x2c41ee,_0x4bf31e._0x52c331)]('QR\x20image'+':\x20'+_0x4911ce);}function printStatus(){const _0x379064={_0x4dd598:0x789,_0x39304b:0x6c0,_0x57fd2c:0x488,_0x4363e7:0x15e,_0x1e3a2e:0x429,_0x4e33f2:0x1e3,_0x25d87b:0x164,_0x1ced2f:0x6a1,_0x1f3e21:0x30,_0x1dbd1e:0x50,_0x29a4d8:0x204,_0x129b6f:0x4b5,_0x45f36f:0x16a,_0x44c9b9:0x10b,_0x4ce4ae:0x61a,_0x352e64:0x804,_0x4b6ba0:0x1b7,_0x5897b4:0x727,_0x52625e:0x629,_0x5d2938:0x2c8,_0x53e70f:0x6dc,_0x8baf97:0x95,_0x241007:0x1f9,_0x5c6d2e:0x2f7,_0x30d76f:0x680,_0x4cf26a:0x37b,_0x4dd101:0x723,_0x5cdde2:0x126,_0x127201:0x16a,_0x444e85:0x8e,_0x122ce7:0x915,_0x1363ff:0x87c,_0x574c48:0xa7d},_0x26c40b={};_0x26c40b['bAlou']=_0x266745(0x11e,-0x40)+'d';const _0x4d4ea1=_0x26c40b,_0x44bc07=readPairingConfig(),_0x135fef=getServiceStatus(),{logPath:_0x86974f,errorLogPath:_0x44bf7d}=getServicePaths();function _0x266745(_0x317855,_0x2a131a){return _0x684713(_0x2a131a,_0x317855- -0x329);}const _0x47814e=readCliVersion();console[_0x17325c(0x727,0x58a)]('Version:'+'\x20'+_0x47814e);!_0x44bc07?console['log'](_0x266745(0x323,0x30f)+_0x17325c(_0x379064._0x4dd598,_0x379064._0x39304b)+_0x266745(0x2b7,0x2e6)+getPairingConfigPath()+')'):(console[_0x17325c(0x727,0x6c3)]('Config:\x20'+_0x17325c(_0x379064._0x57fd2c,0x4c0)),console[_0x266745(0x16a,_0x379064._0x4363e7)](_0x17325c(0x56b,_0x379064._0x1e3a2e)+'ID:\x20'+_0x44bc07['gatewayI'+'d']),console['log'](_0x266745(0x379,_0x379064._0x4e33f2)+':\x20'+_0x44bc07[_0x266745(-_0x379064._0x25d87b,-0x121)+'Id']),console[_0x17325c(0x727,_0x379064._0x1ced2f)](_0x266745(-_0x379064._0x1f3e21,0x1bf)+_0x266745(-_0x379064._0x1dbd1e,_0x379064._0x29a4d8)+_0x44bc07[_0x17325c(0x4f3,_0x379064._0x129b6f)+'l']),console[_0x266745(_0x379064._0x45f36f,-_0x379064._0x44c9b9)](_0x17325c(_0x379064._0x4ce4ae,_0x379064._0x352e64)+(_0x44bc07['displayN'+_0x266745(0x1c,_0x379064._0x4b6ba0)]??'-')));console[_0x17325c(_0x379064._0x5897b4,_0x379064._0x52625e)]('Gateway:'+'\x20'+resolveGatewayUrl()),console[_0x266745(0x16a,_0x379064._0x5d2938)]('Service:'+'\x20'+(_0x135fef[_0x17325c(0x6db,_0x379064._0x53e70f)+'d']?_0x4d4ea1[_0x266745(-_0x379064._0x8baf97,-_0x379064._0x241007)]:'not\x20inst'+'alled')+'\x20('+_0x135fef['method']+')'),console[_0x17325c(0x727,0x7b6)](_0x17325c(0x496,_0x379064._0x5c6d2e)+'\x20'+(_0x135fef[_0x17325c(0x5a0,0x822)]?_0x17325c(0x44b,_0x379064._0x30d76f):'no')),console[_0x266745(0x16a,_0x379064._0x4cf26a)](_0x17325c(_0x379064._0x4dd101,0x634)+(_0x135fef[_0x266745(0x2ba,_0x379064._0x5cdde2)+'ath']||'-')),console[_0x266745(_0x379064._0x127201,_0x379064._0x444e85)](_0x17325c(_0x379064._0x122ce7,0xb78)+_0x86974f),console[_0x17325c(0x727,_0x379064._0x1363ff)](_0x17325c(0x85e,_0x379064._0x574c48)+_0x266745(-0x87,0x15f)+_0x44bf7d);function _0x17325c(_0x4abe74,_0x2fed9e){return _0x684713(_0x2fed9e,_0x4abe74-0x294);}!_0x44bc07&&(process['exitCode']=0x1);}function printServiceResult(_0x12d375,_0x595c4b){const _0x56b867={_0x889e51:0x71c,_0x35692b:0xfa,_0x479f06:0x1a6,_0x564419:0x595,_0x583693:0x707,_0x58f442:0x39b,_0x556c34:0x42c,_0x45f0b6:0x475,_0x4c4812:0x822,_0xf56206:0x448,_0x1d6007:0x290,_0x1f8246:0x71c,_0x308159:0x740,_0x383a3a:0x7dd,_0x2a12ab:0x5d0,_0xe42895:0x24a},_0x20cf24={_0x34be53:0x289};_0x12d375&&console[_0x197774(_0x56b867._0x889e51,0x8ae)](_0x12d375);console[_0x197774(0x71c,0x91f)](_0x386538(_0x56b867._0x35692b,_0x56b867._0x479f06)+'\x20'+(_0x595c4b['installe'+'d']?_0x595c4b[_0x197774(_0x56b867._0x564419,_0x56b867._0x583693)]?_0x197774(0x6d0,0x5bd)+_0x386538(_0x56b867._0x58f442,0x2a0)+'ng':_0x197774(0x6d0,_0x56b867._0x556c34)+_0x386538(0x3b7,_0x56b867._0x45f0b6)+'ed':_0x197774(0x6a6,_0x56b867._0x4c4812)+_0x386538(_0x56b867._0xf56206,_0x56b867._0x1d6007)));function _0x197774(_0x40f7ef,_0x5f31dd){return _0x684713(_0x5f31dd,_0x40f7ef-_0x20cf24._0x34be53);}function _0x386538(_0x5d2fd4,_0x8d0074){return _0x684713(_0x8d0074,_0x5d2fd4- -0x139);}console[_0x197774(_0x56b867._0x1f8246,_0x56b867._0x308159)](_0x197774(_0x56b867._0x383a3a,0x6e7)+_0x197774(0x57a,_0x56b867._0x2a12ab)+(_0x595c4b[_0x386538(0x4aa,_0x56b867._0xe42895)+'ath']||'-'));}function printDoctorReport(_0x328edd){const _0x12aa3f={_0x17cc7e:0x397,_0x52cb5a:0x3f8,_0x1fb44f:0xf9,_0x47f4d6:0x7,_0x3a92d6:0x62e,_0x1f26e3:0x400,_0x58c1a6:0x3dd,_0x1b50c9:0x603,_0x1554ad:0x3b6,_0x264cc0:0x57f,_0x3059cc:0x570,_0x1f2d7d:0x3c0,_0x54eb48:0x867,_0x42d4a3:0x52b,_0x31a781:0x461,_0x57ce54:0x55a,_0x32994a:0x82a,_0x1c346d:0x5bc,_0x2107bd:0x1d3,_0xa659c3:0x703,_0x2259ff:0x6e0,_0xc0dcc6:0x67d,_0x5233c1:0x552,_0x354ecb:0x5bf,_0x19a980:0x27f,_0x19c857:0x2,_0x322f78:0x794,_0x2467e0:0x631,_0x13cdf3:0x5d6,_0x58a032:0x1e8,_0x2e604e:0x41a,_0x457c33:0x505,_0x5b19f4:0x46e,_0x37e244:0x42f,_0x794b1:0x744,_0x36a4be:0x9b5,_0x1c41ce:0x32c,_0x209869:0x7e1,_0x56c48e:0x5e9,_0x5625e4:0x54b,_0x12b563:0x6c7,_0x517fbf:0x3aa,_0x315a53:0x4df,_0x4037e2:0x570,_0x4c3691:0x45b,_0x4a5c85:0x597,_0x486dba:0x813,_0x45380d:0x684,_0x42e30c:0x56e,_0x49cbd2:0x594,_0x48b41c:0x751,_0x437ee8:0x7a0,_0x644524:0x2e0,_0x54ec2b:0x4c9,_0x128722:0x3b4,_0x4e73a3:0x1cf,_0x145988:0x261,_0x122512:0x38,_0x15f169:0x2a6,_0x24bce7:0x347,_0x2bc9a1:0x667,_0x515e4a:0x514,_0x570173:0x2f5,_0x963b46:0x179},_0x243a04={};_0x243a04[_0x4ca915(0x7f9,0x703)]=_0x4ca915(_0x12aa3f._0x17cc7e,0x2e0),_0x243a04[_0x4ca915(_0x12aa3f._0x52cb5a,0x5e0)]='found';const _0x28dcac=_0x243a04;console[_0x4ca915(0x785,0x5bc)]('Paired:\x20'+(_0x328edd[_0x365f0b(0x2d1,_0x12aa3f._0x1fb44f)]?_0x365f0b(0x294,_0x12aa3f._0x47f4d6):'no')),console[_0x365f0b(0x570,_0x12aa3f._0x3a92d6)](_0x4ca915(0x188,_0x12aa3f._0x1f26e3)+_0x365f0b(0x41e,_0x12aa3f._0x58c1a6)+(_0x328edd['gatewayI'+'d']??'-')),console[_0x365f0b(0x570,_0x12aa3f._0x1b50c9)](_0x365f0b(0x3d6,0x207)+_0x365f0b(_0x12aa3f._0x1554ad,_0x12aa3f._0x264cc0)+(_0x328edd[_0x365f0b(0x33c,0x284)+'l']??'-')),console[_0x365f0b(_0x12aa3f._0x3059cc,_0x12aa3f._0x1f2d7d)](_0x365f0b(0x687,_0x12aa3f._0x54eb48)+_0x4ca915(_0x12aa3f._0x42d4a3,_0x12aa3f._0x31a781)+(_0x328edd[_0x365f0b(0x408,0x5a9)]??'-')),console[_0x365f0b(_0x12aa3f._0x3059cc,_0x12aa3f._0x57ce54)](_0x4ca915(0x5bd,0x7cb)+_0x4ca915(_0x12aa3f._0x32994a,0x5d4)+(_0x328edd[_0x365f0b(0x2a2,0x389)+'Id']??'-')),console[_0x4ca915(0x65d,_0x12aa3f._0x1c346d)](_0x365f0b(0x310,_0x12aa3f._0x2107bd)+'\x20'+(_0x328edd['serviceI'+_0x365f0b(0x57b,0x557)]?'installe'+'d':'not\x20inst'+'alled')+'\x20('+_0x328edd[_0x365f0b(_0x12aa3f._0xa659c3,0x8bc)+_0x365f0b(_0x12aa3f._0x2259ff,0x73f)]+')'),console[_0x4ca915(0x59a,_0x12aa3f._0x1c346d)](_0x4ca915(0x57d,_0x12aa3f._0xc0dcc6)+_0x4ca915(0x7bd,_0x12aa3f._0x5233c1)+'\x20'+(_0x328edd[_0x4ca915(0x668,_0x12aa3f._0x354ecb)+_0x365f0b(_0x12aa3f._0x19a980,_0x12aa3f._0x19c857)]?_0x28dcac[_0x365f0b(0x6b7,_0x12aa3f._0x322f78)]:'no'));function _0x4ca915(_0x647e72,_0x5db91d){return _0x684713(_0x647e72,_0x5db91d-0x129);}console['log'](_0x365f0b(_0x12aa3f._0x2467e0,_0x12aa3f._0x13cdf3)+_0x4ca915(_0x12aa3f._0x58a032,_0x12aa3f._0x2e604e)+(_0x328edd[_0x365f0b(0x6c0,_0x12aa3f._0x457c33)+'ath']||'-')),console[_0x4ca915(0x85e,_0x12aa3f._0x1c346d)]('Log\x20path'+':\x20'+_0x328edd['logPath']),console['log'](_0x4ca915(_0x12aa3f._0x5b19f4,_0x12aa3f._0x37e244)+_0x365f0b(0x357,0x11b)+_0x328edd['errorLog'+_0x365f0b(_0x12aa3f._0x794b1,_0x12aa3f._0x36a4be)]),console[_0x365f0b(0x570,0x551)](_0x4ca915(0x42f,_0x12aa3f._0x1c41ce)+_0x4ca915(_0x12aa3f._0x209869,_0x12aa3f._0x56c48e)+_0x328edd[_0x365f0b(_0x12aa3f._0x5625e4,_0x12aa3f._0x12b563)+_0x365f0b(_0x12aa3f._0x517fbf,0x548)+'r']),console['log']('OpenClaw'+_0x4ca915(0x26b,_0x12aa3f._0x315a53)+_0x328edd[_0x365f0b(0x54b,0x4f9)+'MediaDir']),console[_0x365f0b(_0x12aa3f._0x4037e2,0x5c7)]('OpenClaw'+_0x365f0b(_0x12aa3f._0x4c3691,0x437)+'\x20'+(_0x328edd[_0x4ca915(0x2fa,_0x12aa3f._0x4a5c85)+_0x4ca915(_0x12aa3f._0x486dba,_0x12aa3f._0x45380d)+_0x365f0b(_0x12aa3f._0x42e30c,0x59b)]?_0x28dcac[_0x365f0b(_0x12aa3f._0x49cbd2,0x4dd)]:_0x4ca915(_0x12aa3f._0x48b41c,0x4c9)));function _0x365f0b(_0x5a1226,_0x263311){return _0x684713(_0x263311,_0x5a1226-0xdd);}console[_0x365f0b(0x570,_0x12aa3f._0x437ee8)](_0x365f0b(_0x12aa3f._0x644524,0x502)+'\x20token:\x20'+(_0x328edd[_0x4ca915(0x6fe,0x597)+'TokenFou'+'nd']?_0x365f0b(0x543,0x400):_0x4ca915(0x640,_0x12aa3f._0x54ec2b))),console[_0x365f0b(0x570,0x54c)](_0x365f0b(_0x12aa3f._0x128722,0x2fa)+_0x365f0b(0x3d3,_0x12aa3f._0x4e73a3)+_0x328edd[_0x365f0b(_0x12aa3f._0x145988,-_0x12aa3f._0x122512)+'ewayUrl']),console[_0x365f0b(0x570,0x419)](_0x365f0b(0x3b4,0x173)+_0x365f0b(_0x12aa3f._0x15f169,0xf0)+_0x4ca915(_0x12aa3f._0x24bce7,0x3a8)+(_0x328edd[_0x365f0b(0x261,0x6e)+_0x365f0b(_0x12aa3f._0x2bc9a1,0x851)+_0x365f0b(_0x12aa3f._0x515e4a,_0x12aa3f._0x570173)]?_0x4ca915(_0x12aa3f._0x963b46,0x2e0):'no'));}function requirePairingConfig(){const _0x5e6d6b={_0x517c65:0x680,_0x447a48:0x12b,_0x54c235:0x2d4,_0x279130:0x44a},_0x1e49f0={_0x349144:0xc2},_0x4d259c=readPairingConfig();function _0x5cc94a(_0x9bbfa5,_0x5f4c58){return _0x684713(_0x5f4c58,_0x9bbfa5-0x4);}function _0x2af235(_0xecee5e,_0x2b55cd){return _0x684713(_0x2b55cd,_0xecee5e-_0x1e49f0._0x349144);}return!_0x4d259c&&(console[_0x2af235(0x5b5,_0x5e6d6b._0x517c65)](_0x5cc94a(0x485,0x53a)+_0x2af235(0x2a6,0x1dc)+_0x5cc94a(0x40f,0x68d)+_0x2af235(0x267,_0x5e6d6b._0x447a48)+_0x5cc94a(_0x5e6d6b._0x54c235,_0x5e6d6b._0x279130)+_0x2af235(0x647,0x7e0)+_0x2af235(0x6d1,0x790)+getPairingConfigPath()),process[_0x5cc94a(0x473,0x47f)](0x1)),_0x4d259c;}function readFlag(_0x2da54a,_0x4cbde9){const _0x5d846d={_0x44b223:0x4ba,_0x48fa3f:0x42a,_0x1372da:0x214,_0x4ab97f:0x99},_0x522ad3={_0x543a74:0x1a7},_0x495897={_0x194a92:0x1f8};function _0x4ffc67(_0x2cc15d,_0x48d338){return _0x684713(_0x48d338,_0x2cc15d-_0x495897._0x194a92);}const _0x122f5e={};_0x122f5e[_0x4ffc67(0x859,0x8d9)]=function(_0x883016,_0x355ea1){return _0x883016+_0x355ea1;};function _0x526c0e(_0x51048d,_0x56057b){return _0x684713(_0x56057b,_0x51048d- -_0x522ad3._0x543a74);}const _0x4b7fa0=_0x122f5e,_0xde76e0=_0x2da54a['indexOf'](_0x4cbde9);if(_0xde76e0<0x0)return null;const _0xec7dc5=_0x2da54a[_0x4b7fa0[_0x526c0e(_0x5d846d._0x44b223,_0x5d846d._0x48fa3f)](_0xde76e0,0x1)];return _0xec7dc5?.[_0x4ffc67(0x5b3,0x5f7)]()?_0xec7dc5[_0x526c0e(_0x5d846d._0x1372da,_0x5d846d._0x4ab97f)]():null;}function hasFlag(_0x4d1c1f,_0x2de385){const _0x223d0a={_0x14cfe1:0x1fe},_0x150bde={_0x23f466:0x151};function _0x2ac15b(_0x274701,_0x482de5){return _0x528821(_0x482de5,_0x274701- -_0x150bde._0x23f466);}return _0x4d1c1f[_0x2ac15b(_0x223d0a._0x14cfe1,0x3b0)](_0x2de385);}function readPairSubcommand(_0xfcd5f8){const _0x2a51fe={_0x22ff2c:0x3c3,_0x36f148:0x5a4};function _0x1437ef(_0xb925f4,_0x26d9cc){return _0x528821(_0x26d9cc,_0xb925f4-0x2aa);}for(const _0x3c6055 of _0xfcd5f8){if(!_0x3c6055[_0x1437ef(0x328,0x5c4)+'th']('-'))return _0x3c6055[_0x1437ef(_0x2a51fe._0x22ff2c,_0x2a51fe._0x36f148)]()||null;}function _0x4bd5b6(_0x40aa73,_0xfd94ac){return _0x528821(_0x40aa73,_0xfd94ac-0x4e2);}return null;}function printHelp(){const _0x1c678c={_0x230ce8:0x2c1,_0x3b5557:0x7e,_0x304c0e:0x48a,_0x4b46c6:0x12d,_0x3fe0e5:0x481,_0x3e1d13:0x1ef,_0x4a311c:0x366,_0x4bebf1:0x351,_0x233c15:0x1f4,_0x31fb8d:0x2f0,_0xe1fec8:0x147,_0x1e8719:0x44b,_0x573cbd:0x78,_0x2a8126:0x3b,_0xb5c327:0x120,_0x4432d8:0x147,_0x54ebda:0xba,_0x2eaaa1:0x3b,_0x25b307:0x2a2,_0x5c392e:0x525,_0x1f2bde:0x144,_0x5d1e8b:0x216,_0x6e56de:0x39,_0x3a0411:0x1c3,_0x211dc6:0xb3,_0x26d255:0x2b3,_0x580134:0x1e,_0x50da6c:0x4fa,_0x1d5cb1:0x3b,_0x2076dc:0x197,_0x543a6e:0x167,_0x582422:0x378,_0x3e419c:0x2cb,_0x483500:0x549,_0x5d3674:0x24b,_0x250586:0x27,_0x17170d:0x28b,_0x84fb5e:0x33d,_0x5c5580:0x180,_0x50008f:0x13f,_0x1cf177:0x3b,_0x334895:0x248,_0x2b4c1a:0x1f6,_0x85aad:0x4da,_0x2bb01b:0x1e8,_0x49cd8a:0x1e3,_0x286e97:0x553,_0x2b8f6d:0x224,_0x5e8b45:0x1aa,_0x464a6a:0x37b,_0x45e3c5:0x397,_0x4714db:0x1f7},_0x28ee1b={_0x2c13cb:0x2cb},_0x3ed3b2={};_0x3ed3b2[_0xdf9db8(_0x1c678c._0x230ce8,0x36c)]='clawket\x20'+_0xdf9db8(0x79,-_0x1c678c._0x3b5557)+_0x227288(0x65b,_0x1c678c._0x304c0e)+_0xdf9db8(_0x1c678c._0x4b46c6,-0xe)+_0x227288(0x2b6,_0x1c678c._0x3fe0e5)+_0x227288(_0x1c678c._0x3e1d13,_0x1c678c._0x4a311c)+_0x227288(0xf7,_0x1c678c._0x4bebf1)+_0x227288(_0x1c678c._0x233c15,-0x3d)+_0xdf9db8(_0x1c678c._0x31fb8d,_0x1c678c._0xe1fec8),_0x3ed3b2[_0x227288(0x68f,_0x1c678c._0x1e8719)]=_0x227288(_0x1c678c._0x573cbd,_0x1c678c._0x2a8126)+'uninstal'+'l';function _0xdf9db8(_0x2eb39a,_0x2bed2b){return _0x684713(_0x2bed2b,_0x2eb39a- -_0x28ee1b._0x2c13cb);}_0x3ed3b2['EJtkd']=_0x227288(-_0x1c678c._0xb5c327,0x3b)+'reset';function _0x227288(_0x3e6e23,_0x15b1d){return _0x684713(_0x3e6e23,_0x15b1d- -0x1f1);}_0x3ed3b2[_0xdf9db8(0x21c,_0x1c678c._0x4432d8)]=_0x227288(-_0x1c678c._0x54ebda,_0x1c678c._0x2eaaa1)+_0xdf9db8(0x9f,-0x200)+'--json]';const _0x26d957=_0x3ed3b2;console[_0x227288(0x36d,_0x1c678c._0x25b307)]([_0xdf9db8(-0x9f,0x1a0)+'pair\x20[--'+_0x227288(_0x1c678c._0x5c392e,0x3ee)+_0xdf9db8(_0x1c678c._0x1f2bde,0xe9)+_0xdf9db8(-0x26,-_0x1c678c._0x5d1e8b)+'isplayNa'+_0x227288(-0x25d,-_0x1c678c._0x6e56de)+_0xdf9db8(0x33f,0x1ce)+_0x227288(_0x1c678c._0x3a0411,0x1b0)+_0x227288(0x71,_0x1c678c._0x211dc6)+_0x227288(-_0x1c678c._0x26d255,-_0x1c678c._0x580134)+'e]',_0x26d957[_0xdf9db8(_0x1c678c._0x230ce8,_0x1c678c._0x50da6c)],_0x227288(-0x8a,_0x1c678c._0x1d5cb1)+'pair\x20--l'+_0x227288(-0xfd,0xf3)+_0xdf9db8(0x233,0x441)+'//host:p'+_0x227288(_0x1c678c._0x2076dc,0x18e)+_0x227288(_0x1c678c._0x543a6e,0x21c)+_0x227288(0x33f,0x2a1)+'\x20[--json'+']','clawket\x20'+_0xdf9db8(_0x1c678c._0x582422,0x3e2)+_0x227288(_0x1c678c._0x3e419c,0x4a3)+_0x227288(_0x1c678c._0x483500,0x419)+_0x227288(_0x1c678c._0x5d3674,0x1b0)+_0xdf9db8(-_0x1c678c._0x250586,-0x21c),_0x227288(_0x1c678c._0x17170d,0x3b)+_0xdf9db8(-0xb1,-0x2d8),_0x227288(0x2be,0x3b)+_0xdf9db8(0x43,-0x72),_0xdf9db8(-0x9f,_0x1c678c._0x1f2bde)+'restart','clawket\x20'+'stop',_0x26d957[_0x227288(0x5ae,0x44b)],_0x26d957[_0x227288(_0x1c678c._0x84fb5e,0x206)],_0x227288(-_0x1c678c._0x5c5580,0x3b)+_0xdf9db8(-_0x1c678c._0x50008f,-0x123),_0x227288(-0x233,_0x1c678c._0x1cf177)+'logs\x20[--'+_0xdf9db8(_0x1c678c._0x334895,_0x1c678c._0x2b4c1a)+'>]\x20[--li'+_0x227288(_0x1c678c._0x85aad,0x42b)+'>]\x20[--er'+_0xdf9db8(_0x1c678c._0x2bb01b,_0x1c678c._0x49cd8a)+_0x227288(_0x1c678c._0x286e97,0x4aa),_0x26d957[_0x227288(_0x1c678c._0x2b8f6d,0x2f6)],_0xdf9db8(-0x9f,0x57)+_0xdf9db8(_0x1c678c._0x3e1d13,0x326)+_0x227288(0x44a,_0x1c678c._0x5e8b45)+'rl\x20<ws:/'+_0x227288(0x2cc,0x37c)+_0xdf9db8(0x373,_0x1c678c._0x464a6a)+_0x227288(_0x1c678c._0x45e3c5,_0x1c678c._0x4714db)+_0xdf9db8(0x1c2,0x416)]['join']('\x0a'));}function buildUnsupportedAutostartMessage(_0x2c0b22){const _0x2da708={_0x2d2b28:0x2a8,_0x21d58c:0x38f,_0x515148:0x3f9,_0x516caf:0x612,_0x270611:0x5f4,_0x4fec05:0x792,_0x3bce3f:0x76a,_0x1737af:0x2f0,_0xf1a57d:0x71f,_0x3728fa:0x814,_0x49aac1:0x46d,_0x2e7d20:0x26b,_0x4acbd2:0x3de,_0x52ec08:0x21c,_0xdd459c:0x1dc,_0x43e495:0x894,_0x5debd9:0x242,_0x57de0b:0x60a,_0x4ef0c4:0x44f,_0x131091:0x550,_0x182957:0xdf,_0x6586d3:0x24d,_0x27ec77:0x309,_0x40bfc9:0x416,_0x2eb089:0x4f6,_0x38c5cb:0x2f9,_0x37a710:0x23d,_0x2ed88f:0x96,_0x2dfd59:0x452,_0x45850d:0x264,_0x406731:0xf,_0x430166:0x1aa,_0x3a59d7:0x260,_0x5ba34d:0x35f,_0x170cb0:0x729},_0x37c800={_0x143f83:0x64};function _0xb96d4e(_0x3adad2,_0x644656){return _0x684713(_0x3adad2,_0x644656-0x21b);}if(_0x2c0b22[_0x12add4(0x3bf,_0x2da708._0x2d2b28)])return _0xb96d4e(_0x2da708._0x21d58c,_0x2da708._0x515148)+_0xb96d4e(_0x2da708._0x516caf,0x54b)+_0x12add4(_0x2da708._0x270611,0x5b6)+'me,\x20but\x20'+_0xb96d4e(0x84b,_0x2da708._0x4fec05)+_0x12add4(0x3ee,0x550)+_0xb96d4e(_0x2da708._0x3bce3f,0x78b)+_0x12add4(_0x2da708._0x1737af,0x24d)+'atic\x20sta'+_0xb96d4e(_0x2da708._0xf1a57d,_0x2da708._0x3728fa)+_0xb96d4e(0x65d,0x578)+_0x12add4(_0x2da708._0x49aac1,_0x2da708._0x2e7d20)+_0xb96d4e(0x86e,0x687)+_0x12add4(_0x2da708._0x4acbd2,0x620)+_0x12add4(_0x2da708._0x52ec08,_0x2da708._0xdd459c)+_0xb96d4e(_0x2da708._0x43e495,0x840)+'\x20to\x20rest'+_0x12add4(-0xc,_0x2da708._0x5debd9)+_0x12add4(0x832,_0x2da708._0x57de0b)+'eboot.';function _0x12add4(_0x4076a1,_0x4c3b12){return _0x684713(_0x4076a1,_0x4c3b12- -_0x37c800._0x143f83);}return _0xb96d4e(0x1df,0x3de)+_0x12add4(_0x2da708._0x4ef0c4,_0x2da708._0x131091)+'ot\x20suppo'+_0x12add4(_0x2da708._0x182957,_0x2da708._0x6586d3)+_0x12add4(_0x2da708._0x27ec77,_0x2da708._0x40bfc9)+'rtup\x20reg'+_0x12add4(_0x2da708._0x2eb089,_0x2da708._0x38c5cb)+'n,\x20and\x20t'+_0x12add4(0x3d3,0x3fe)+_0x12add4(0x113,_0x2da708._0x37a710)+'e\x20could\x20'+_0xb96d4e(0x779,0x85d)+_0x12add4(_0x2da708._0x2ed88f,0x286)+_0x12add4(0x1c4,_0x2da708._0x2dfd59)+_0xb96d4e(_0x2da708._0x45850d,0x3fa)+_0x12add4(_0x2da708._0x406731,_0x2da708._0x430166)+'ontainer'+'\x20or\x20proc'+'ess\x20mana'+_0x12add4(0x261,_0x2da708._0x3a59d7)+_0x12add4(0x4b1,_0x2da708._0x5ba34d)+_0xb96d4e(0x660,_0x2da708._0x170cb0);}function formatLocalTime(_0x4719f5){const _0x535289={_0x4fc1dd:0x1e1,_0x3654c7:0x643,_0xacd33:0x835,_0xfc6098:0x7a6,_0x3886fa:0x355,_0x71167a:0x31f},_0x31d4c4={_0x3640e8:0x235},_0x4f7e0b={_0x152d30:0x538};function _0x3dc8e4(_0x422966,_0x37adfd){return _0x528821(_0x37adfd,_0x422966-_0x4f7e0b._0x152d30);}const _0x4d8f56=new Date(_0x4719f5);function _0x5e5167(_0x24d8b3,_0x33c414){return _0x528821(_0x24d8b3,_0x33c414-_0x31d4c4._0x3640e8);}if(Number[_0x5e5167(0x11e,_0x535289._0x4fc1dd)](_0x4d8f56[_0x3dc8e4(_0x535289._0x3654c7,_0x535289._0xacd33)]()))return _0x4719f5;return _0x4d8f56[_0x3dc8e4(0x609,_0x535289._0xfc6098)+_0x5e5167(_0x535289._0x3886fa,_0x535289._0x71167a)]();}function formatError2(_0x4f3f88){const _0x59ebb8={_0x315d95:0x754,_0x662e01:0x727},_0x1349d3={_0x3aff0d:0xce};function _0x120d95(_0x189724,_0x46d841){return _0x684713(_0x46d841,_0x189724-_0x1349d3._0x3aff0d);}return _0x4f3f88 instanceof Error?_0x4f3f88[_0x120d95(_0x59ebb8._0x315d95,_0x59ebb8._0x662e01)]:String(_0x4f3f88);}function printJson(_0x1d0904){const _0x2dee64={_0x12737d:0x11f},_0x417d27={_0x291ac3:0x466},_0x281ee8={_0x354b5a:0xdb};function _0x4d9311(_0x2d7e1b,_0x22f7ea){return _0x528821(_0x2d7e1b,_0x22f7ea- -_0x281ee8._0x354b5a);}function _0x52255b(_0x21fb77,_0x132f2e){return _0x528821(_0x132f2e,_0x21fb77-_0x417d27._0x291ac3);}console[_0x52255b(0x657,0x486)](JSON[_0x4d9311(-0xd4,_0x2dee64._0x12737d)+'y'](_0x1d0904,null,0x2));}main()['catch'](_0x2d70ee=>{console['error'](formatError2(_0x2d70ee)),process['exit'](0x1);});