@p697/clawket 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x4fff46,_0x22b60a){const _0xdc1efc={_0x4d0146:0x533,_0x377594:0x68e,_0x34eb72:0x61a,_0x24cd95:0x604,_0x4d27d0:0x256,_0x42049a:0x4e4,_0x1eeb7b:0x480,_0x354cf0:0x5fb,_0x16c40f:0x384,_0x8bb1d8:0x43f,_0x3058bd:0x40a},_0x28d081={_0x5859e6:0x16f},_0x1213f6={_0x126773:0x29};function _0xc6918a(_0x5d9ed5,_0x13166a){return _0x2370(_0x13166a-_0x1213f6._0x126773,_0x5d9ed5);}const _0x91daa3=_0x4fff46();function _0xe48dce(_0x5604ff,_0x5e4e43){return _0x2370(_0x5e4e43-_0x28d081._0x5859e6,_0x5604ff);}while(!![]){try{const _0x4486a5=-parseInt(_0xc6918a(0x7c8,0x5f9))/0x1+-parseInt(_0xc6918a(0x4c1,_0xdc1efc._0x4d0146))/0x2+-parseInt(_0xe48dce(0x4e6,_0xdc1efc._0x377594))/0x3+-parseInt(_0xe48dce(_0xdc1efc._0x34eb72,_0xdc1efc._0x24cd95))/0x4*(parseInt(_0xc6918a(0x22,_0xdc1efc._0x4d27d0))/0x5)+-parseInt(_0xc6918a(_0xdc1efc._0x42049a,_0xdc1efc._0x1eeb7b))/0x6*(-parseInt(_0xe48dce(0x5bb,_0xdc1efc._0x354cf0))/0x7)+-parseInt(_0xe48dce(_0xdc1efc._0x16c40f,0x548))/0x8*(parseInt(_0xe48dce(0x3c4,_0xdc1efc._0x8bb1d8))/0x9)+parseInt(_0xc6918a(0x361,_0xdc1efc._0x3058bd))/0xa*(parseInt(_0xe48dce(0x5c7,0x465))/0xb);if(_0x4486a5===_0x22b60a)break;else _0x91daa3['push'](_0x91daa3['shift']());}catch(_0x42ecc8){_0x91daa3['push'](_0x91daa3['shift']());}}}(_0x472c,0xef2bb));const _0x2b7cce=(function(){let _0x4c1f3b=!![];return function(_0x115823,_0x3e9b72){const _0x49fdd1=_0x4c1f3b?function(){if(_0x3e9b72){const _0x38da65=_0x3e9b72['apply'](_0x115823,arguments);return _0x3e9b72=null,_0x38da65;}}:function(){};return _0x4c1f3b=![],_0x49fdd1;};}()),_0x345fc1=_0x2b7cce(this,function(){const _0x4acad8={_0x3a590a:0x112,_0x1e638f:0x63,_0x9e1c89:0x505,_0x357e51:0x733,_0x193b4f:0x544,_0x270999:0x785,_0x41e2aa:0x5ad,_0xfb3dd8:0x304,_0x1f2291:0x522,_0x3c3e3a:0x47f,_0x2a0640:0x452,_0x1cc8a6:0x606},_0x366357={_0x134f72:0x12f},_0x549a19={};_0x549a19['KFocj']=_0x258a43(_0x4acad8._0x3a590a,-_0x4acad8._0x1e638f)+_0x258a43(_0x4acad8._0x9e1c89,_0x4acad8._0x357e51);function _0x573077(_0x3bfcad,_0x238085){return _0x2370(_0x238085-0x3c5,_0x3bfcad);}const _0x2d1836=_0x549a19;function _0x258a43(_0xbf4697,_0x15f7d0){return _0x2370(_0xbf4697- -_0x366357._0x134f72,_0x15f7d0);}return _0x345fc1[_0x258a43(0x304,_0x4acad8._0x193b4f)]()[_0x573077(0x5d4,_0x4acad8._0x270999)](_0x2d1836[_0x573077(0x39a,_0x4acad8._0x41e2aa)])[_0x258a43(_0x4acad8._0xfb3dd8,_0x4acad8._0x1f2291)]()[_0x258a43(_0x4acad8._0x3c3e3a,0x2c5)+_0x573077(_0x4acad8._0x2a0640,0x640)](_0x345fc1)['search'](_0x573077(0x599,_0x4acad8._0x1cc8a6)+_0x258a43(0x505,0x579));});_0x345fc1();import _0x5b54b5 from'qrcode-terminal';import{readFileSync as _0x285c85}from'fs';import{Socket}from'net';import{homedir as _0xc0aab1}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(),_0x3a7f13(0x39d,0x36b)),CONFIG_PATH=join(CONFIG_DIR,_0x32d8ea(0x8ea,0x8d0)+_0x32d8ea(0x8fd,0x728));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x481b8c={_0x71b4e:0x8d,_0x260933:0x60,_0x2a296d:0xa,_0x5206c9:0x31f,_0x3faff8:0x13f,_0xe60029:0x10a,_0x3d6950:0x1bd,_0xef4f56:0x118,_0x2a454e:0x402,_0x5413e0:0x50c,_0x5befcb:0x343,_0x41f0bb:0x45c,_0x2c076f:0x242,_0x2b3447:0x2ab,_0x4be370:0x383,_0x34a8ee:0x13,_0x59d9ef:0x129,_0x57299f:0x142,_0x5f1676:0x343},_0x3dbfdb={_0x1efc16:0x516},_0x380d7e={_0x29fff9:0x6de};function _0x233995(_0x5ef7db,_0x385fb2){return _0x32d8ea(_0x5ef7db,_0x385fb2- -_0x380d7e._0x29fff9);}const _0xc1ea09={};function _0x1b0a0a(_0x45d155,_0x32031a){return _0x32d8ea(_0x32031a,_0x45d155- -_0x3dbfdb._0x1efc16);}_0xc1ea09[_0x233995(0x60,-_0x481b8c._0x71b4e)]='utf8',_0xc1ea09[_0x233995(-_0x481b8c._0x260933,-_0x481b8c._0x2a296d)]=function(_0x1c6d98,_0xcf11c5){return _0x1c6d98!==_0xcf11c5;};const _0x55b07a=_0xc1ea09;if(!existsSync(CONFIG_PATH))return null;try{const _0x3c09a7=JSON[_0x233995(0x2a8,0x5e)](readFileSync(CONFIG_PATH,_0x55b07a[_0x1b0a0a(0x13b,0x357)]));if(!_0x3c09a7[_0x1b0a0a(0xee,-0x20)+'l']||!_0x3c09a7['gatewayI'+'d']||!_0x3c09a7[_0x1b0a0a(0x2b3,_0x481b8c._0x5206c9)+'ret']||!_0x3c09a7['relayUrl'])return null;const _0xbc2527={'serverUrl':_0x3c09a7[_0x233995(_0x481b8c._0x3faff8,-0xda)+'l'],'gatewayId':_0x3c09a7[_0x233995(_0x481b8c._0xe60029,_0x481b8c._0x3d6950)+'d'],'relaySecret':_0x3c09a7[_0x233995(-_0x481b8c._0xef4f56,0xeb)+_0x233995(_0x481b8c._0x2a454e,0x1d4)],'relayUrl':_0x3c09a7[_0x1b0a0a(0x4a4,_0x481b8c._0x5413e0)],'instanceId':_0x3c09a7[_0x233995(0x409,_0x481b8c._0x5befcb)+'Id']?.[_0x233995(_0x481b8c._0x41f0bb,0x351)]()||createInstanceId(),'displayName':_0x3c09a7[_0x1b0a0a(_0x481b8c._0x2c076f,_0x481b8c._0x2b3447)+_0x233995(0x3f8,0x2af)]??null,'createdAt':_0x3c09a7[_0x1b0a0a(0x514,_0x481b8c._0x4be370)+'t']??new Date()[_0x1b0a0a(0x9f,-_0x481b8c._0x34a8ee)+'ing'](),'updatedAt':_0x3c09a7['updatedA'+'t']??new Date()[_0x233995(-0x27d,-_0x481b8c._0x59d9ef)+'ing']()};return _0x55b07a[_0x233995(_0x481b8c._0x57299f,-0xa)](_0x3c09a7['instance'+'Id'],_0xbc2527[_0x233995(0x437,_0x481b8c._0x5f1676)+'Id'])&&writePairingConfig(_0xbc2527),_0xbc2527;}catch{return null;}}function writePairingConfig(_0xf00c35){const _0x446494={_0x3ab799:0x3db,_0x591c0a:0x190,_0x5e04f8:0x32e},_0x43a0a8={_0x4e829c:0x42a},_0x1d7e12={};_0x1d7e12['YxpHO']=function(_0x4940ca,_0x1af02f){return _0x4940ca+_0x1af02f;};const _0x577d6a=_0x1d7e12,_0x2a22eb={};_0x2a22eb[_0x4c2eed(_0x446494._0x3ab799,_0x446494._0x591c0a)+'e']=!![],mkdirSync(CONFIG_DIR,_0x2a22eb);function _0x4c2eed(_0x47fb30,_0x4f14f7){return _0x32d8ea(_0x47fb30,_0x4f14f7- -_0x43a0a8._0x4e829c);}function _0x5557ae(_0x517213,_0x26c73){return _0x32d8ea(_0x26c73,_0x517213- -0x62a);}writeFileSync(CONFIG_PATH,_0x577d6a['YxpHO'](JSON[_0x4c2eed(0x50e,0x42d)+'y'](_0xf00c35,null,0x2),'\x0a'),_0x5557ae(_0x446494._0x5e04f8,0x2a3));}function deletePairingConfig(){if(!existsSync(CONFIG_PATH))return;function _0x427726(_0x4469fa,_0x24801a){return _0x32d8ea(_0x24801a,_0x4469fa- -0xba);}const _0x4c5d0c={};_0x4c5d0c[_0x427726(0x76f,0x6fc)]=!![],rmSync(CONFIG_PATH,_0x4c5d0c);}function getDefaultBridgeDisplayName(){const _0x51ce8a={_0x3e62a7:0x5f8,_0x14cb51:0xe3,_0x247505:0x397,_0x3372e7:0x300,_0x5a0b2f:0x111,_0x52776a:0xd4,_0xc1ca22:0x56c},_0x12d00b={_0x1d216c:0x72f},_0x162c55={'NvLxc':function(_0x39b53b){return _0x39b53b();}},_0xe8b65c=readOpenClawDefaultAgentName();if(_0xe8b65c)return _0xe8b65c;try{const _0x327fdd=_0x162c55[_0x187a22(_0x51ce8a._0x3e62a7,0x5b9)](userInfo)[_0x180033(-_0x51ce8a._0x14cb51,-0x56)][_0x180033(_0x51ce8a._0x247505,_0x51ce8a._0x3372e7)]();if(_0x327fdd)return _0x327fdd;}catch{}const _0x271d04=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x180033(_0x51ce8a._0x5a0b2f,_0x51ce8a._0x3372e7)]();function _0x187a22(_0x3c18c2,_0x432fdb){return _0x32d8ea(_0x432fdb,_0x3c18c2- -0x334);}if(_0x271d04)return _0x271d04;function _0x180033(_0x555c62,_0x3b8120){return _0x32d8ea(_0x555c62,_0x3b8120- -_0x12d00b._0x1d216c);}return hostname()[_0x180033(_0x51ce8a._0x52776a,_0x51ce8a._0x3372e7)]()||_0x187a22(_0x51ce8a._0xc1ca22,0x39f)+'Bridge';}function pickOpenClawDefaultAgentName(_0x3b91cc){const _0x3df43f={_0x1b498c:0x1a6,_0xdb9ea7:0x6b,_0x10f787:0x83,_0x42b4cf:0x5e5,_0x2509b7:0x51b,_0x4d96fe:0xcf};function _0x396fcd(_0x2fd176,_0x7fee55){return _0x3a7f13(_0x7fee55,_0x2fd176-0x152);}const _0x280b6c={};_0x280b6c[_0x594c7d(0x3c2,_0x3df43f._0x1b498c)]='object';const _0x27f0f0=_0x280b6c;if(!_0x3b91cc||typeof _0x3b91cc!==_0x27f0f0['hyDSP'])return null;function _0x594c7d(_0x2a9888,_0x4ed06e){return _0x3a7f13(_0x2a9888,_0x4ed06e- -0x37e);}const _0x3846ed=_0x3b91cc[_0x396fcd(0x354,0x45a)],_0x522db6=Array[_0x594c7d(-_0x3df43f._0xdb9ea7,-_0x3df43f._0x10f787)](_0x3846ed?.[_0x396fcd(_0x3df43f._0x42b4cf,_0x3df43f._0x2509b7)])?_0x3846ed['list']:[],_0x16bfb1=_0x522db6[_0x594c7d(0x1a4,_0x3df43f._0x4d96fe)](_0x25f13f=>isDefaultAgent(_0x25f13f))??_0x522db6['find'](_0x4af7d8=>hasAgentId(_0x4af7d8,_0x396fcd(0x730,0x92d)))??_0x522db6[0x0];return readAgentName(_0x16bfb1);}function createInstanceId(){const _0x57543b={_0x29e204:0x2c0,_0x59b561:0x49d,_0x201e7d:0x24e,_0x5b8a04:0x1b3,_0x147589:0x159,_0x331bc7:0x45c,_0x2f35c7:0x18},_0x4469a0={_0x549a16:0x759},_0xbeac5b={_0x57b23a:0x70c};function _0xbcbfd8(_0x5466fe,_0x46b496){return _0x32d8ea(_0x46b496,_0x5466fe- -_0xbeac5b._0x57b23a);}function _0x56c446(_0x4ff197,_0x2dffb5){return _0x32d8ea(_0x2dffb5,_0x4ff197- -_0x4469a0._0x549a16);}const _0x2e1d4d={'pRvmd':function(_0x366372,_0x18b093){return _0x366372(_0x18b093);},'iTeOC':function(_0x29b353){return _0x29b353();}},_0x251dd3=_0x2e1d4d[_0xbcbfd8(_0x57543b._0x29e204,_0x57543b._0x59b561)](sanitizeId,hostname()||_0x56c446(_0x57543b._0x201e7d,_0x57543b._0x5b8a04));return _0xbcbfd8(_0x57543b._0x147589,0x31)+_0x251dd3+'-'+_0x2e1d4d[_0xbcbfd8(0x2c5,_0x57543b._0x331bc7)](randomUUID)[_0x56c446(-_0x57543b._0x2f35c7,-0x171)](0x0,0xa);}function sanitizeId(_0x55358f){const _0x30be95={_0x38a6b2:0x683,_0x5bb8c6:0x1a7,_0xf82460:0x71a,_0x35c604:0x768},_0x1f9f47={_0x3c5020:0x71a},_0x470559={_0x1390f2:0x23f};function _0x3ce935(_0x27cfa0,_0xb5626d){return _0x32d8ea(_0x27cfa0,_0xb5626d- -_0x470559._0x1390f2);}function _0x383a2b(_0x5f2413,_0x333b66){return _0x32d8ea(_0x333b66,_0x5f2413- -_0x1f9f47._0x3c5020);}return _0x55358f['trim']()[_0x3ce935(0x4db,_0x30be95._0x38a6b2)+_0x383a2b(0x238,_0x30be95._0x5bb8c6)]()['replace'](/[^a-z0-9._-]+/g,'-')[_0x383a2b(-0x7b,0xb5)](/^-+|-+$/g,'')||_0x3ce935(_0x30be95._0xf82460,_0x30be95._0x35c604);}function readOpenClawDefaultAgentName(){const _0x687c94={_0x3fa505:0x709,_0x4aaf15:0x57e},_0x4ac9ee={_0x1d0730:0x30e},_0x5d0059=resolveOpenClawConfigPath();if(!_0x5d0059||!existsSync(_0x5d0059))return null;function _0x5b72bf(_0x1d2c82,_0x4673c2){return _0x3a7f13(_0x4673c2,_0x1d2c82- -_0x4ac9ee._0x1d0730);}function _0x17941d(_0x48cd40,_0x1c152f){return _0x3a7f13(_0x48cd40,_0x1c152f-0x4c);}try{const _0x1ee93b=JSON[_0x17941d(0x1f6,0x362)](readFileSync(_0x5d0059,_0x17941d(_0x687c94._0x3fa505,_0x687c94._0x4aaf15)));return pickOpenClawDefaultAgentName(_0x1ee93b);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x470478={_0x51756c:0x6bb,_0x43b77b:0x4a9,_0x5413c1:0x544,_0x55d89d:0x19d,_0x34200d:0x62,_0x357b1a:0x69c,_0x59145d:0x18f,_0x32b4ee:0x6bb,_0x216e78:0x8ea,_0xf11cb1:0xc,_0x5d364f:0x292},_0x578d91={_0x441aaa:0x32},_0x20cb0c={_0x226f34:0x559},_0xc9e5f2={_0x503cb0:0x5d6},_0x26569b={_0x252b36:0x121};function _0x18df30(_0x251143,_0x4cb24a){return _0x32d8ea(_0x4cb24a,_0x251143- -_0x26569b._0x252b36);}const _0x1f39f6={'NNBQK':function(_0x36f66b,_0x5b2455,_0x5723df,_0x3c95bc){return _0x36f66b(_0x5b2455,_0x5723df,_0x3c95bc);},'IpvzX':function(_0x16aa71,_0x2e2b75,_0x42b752,_0x43f72c){return _0x16aa71(_0x2e2b75,_0x42b752,_0x43f72c);},'FCVSl':_0x18df30(_0x470478._0x51756c,0x476)+_0x18df30(_0x470478._0x43b77b,0x2d9)},_0x30ce21=new Set();function _0xe07bde(_0x199e14,_0x52bcf4){return _0x32d8ea(_0x199e14,_0x52bcf4- -_0xc9e5f2._0x503cb0);}const _0x25459f=[homedir(),_0x18df30(_0x470478._0x5413c1,0x34b)][_0xe07bde(0x1b4,_0x470478._0x55d89d)](_0x323ba2=>_0x323ba2[_0x18df30(0x90e,0x965)]())[_0xe07bde(_0x470478._0x34200d,0x298)](Boolean)['filter'](_0x2f0b90=>{if(_0x30ce21[_0x337b0d(0x2a1,0x4c2)](_0x2f0b90))return![];function _0x41db62(_0x29202b,_0x28be3a){return _0x18df30(_0x29202b- -0x328,_0x28be3a);}_0x30ce21[_0x337b0d(-0x3,-_0x578d91._0x441aaa)](_0x2f0b90);function _0x337b0d(_0x4420c5,_0x410032){return _0x18df30(_0x4420c5- -_0x20cb0c._0x226f34,_0x410032);}return!![];});for(const _0x202c2e of _0x25459f){const _0x2b9696=_0x1f39f6[_0x18df30(0x483,_0x470478._0x357b1a)](join,_0x202c2e,_0xe07bde(_0x470478._0x59145d,0x292)+'w',_0x18df30(_0x470478._0x32b4ee,_0x470478._0x216e78)+_0xe07bde(-0x190,-_0x470478._0xf11cb1));if(existsSync(_0x2b9696))return _0x2b9696;}return _0x25459f[0x0]?_0x1f39f6['IpvzX'](join,_0x25459f[0x0],_0xe07bde(0x350,_0x470478._0x5d364f)+'w',_0x1f39f6[_0xe07bde(0x90,-0x13)]):null;}function isDefaultAgent(_0x5a04e7){const _0x5bf2ae={_0x5f2766:0x465,_0x873a2b:0x2db,_0x2f94ba:0x4ee},_0x5f47da={_0x3a683d:0x449},_0x190a70={_0xbfa142:0x3f0},_0x2dbf14={};function _0x3c790e(_0x5dcaba,_0x451c77){return _0x32d8ea(_0x5dcaba,_0x451c77- -_0x190a70._0xbfa142);}function _0x28c015(_0x2ffc01,_0x4ba026){return _0x32d8ea(_0x4ba026,_0x2ffc01- -_0x5f47da._0x3a683d);}_0x2dbf14[_0x28c015(0x48e,_0x5bf2ae._0x5f2766)]=function(_0x5d5605,_0x2bdd55){return _0x5d5605===_0x2bdd55;};const _0x16bac5=_0x2dbf14;return Boolean(_0x5a04e7&&typeof _0x5a04e7==='object'&&_0x16bac5['iEriB'](_0x5a04e7[_0x3c790e(_0x5bf2ae._0x873a2b,_0x5bf2ae._0x2f94ba)],!![]));}function hasAgentId(_0x1c0c91,_0x5601e8){const _0x28e666={_0x21ce9e:0x2a0,_0x55b7c1:0x7a,_0x9c9713:0x1b6,_0x4f02c6:0x22f,_0x39b95a:0x6d5,_0x6dbd:0x843};function _0x143f72(_0xa6d38,_0x1c2a56){return _0x32d8ea(_0x1c2a56,_0xa6d38- -0x456);}function _0x33a6dd(_0x3f3e27,_0xf4cfe9){return _0x32d8ea(_0xf4cfe9,_0x3f3e27- -0x35a);}return Boolean(_0x1c0c91&&typeof _0x1c0c91===_0x143f72(_0x28e666._0x21ce9e,_0x28e666._0x55b7c1)&&typeof _0x1c0c91['id']===_0x143f72(_0x28e666._0x9c9713,_0x28e666._0x4f02c6)&&_0x1c0c91['id'][_0x33a6dd(_0x28e666._0x39b95a,_0x28e666._0x6dbd)]()===_0x5601e8);}function readAgentName(_0x57143d){const _0x336f70={_0x2d36e3:0x475,_0x3d8751:0x400,_0x181b43:0x516,_0x55ddbc:0x195,_0x2d9b08:0x637,_0x3f66d5:0x5a2,_0x10394e:0x398,_0x8bd1a4:0x809,_0x40357c:0x3b5,_0x591941:0x278,_0x2fe7f7:0x5f1},_0x1a4a82={_0x2b9d94:0x130},_0x3b1324={};_0x3b1324[_0x3e1e65(0x516,_0x336f70._0x2d36e3)]=function(_0x575402,_0x576f0c){return _0x575402===_0x576f0c;},_0x3b1324[_0x422b86(0x2b1,0x278)]=_0x422b86(-0x137,0x81);const _0xcd108b=_0x3b1324;function _0x422b86(_0x3a96dc,_0x33d0d4){return _0x3a7f13(_0x3a96dc,_0x33d0d4- -0x165);}if(!_0x57143d||typeof _0x57143d!==_0x3e1e65(_0x336f70._0x3d8751,0x609))return null;const _0x37389c=_0x57143d,_0x148a71=_0xcd108b[_0x3e1e65(_0x336f70._0x181b43,0x6f5)](typeof _0x37389c[_0x422b86(0x18a,_0x336f70._0x55ddbc)]?.['name'],'string')?_0x37389c[_0x3e1e65(0x42a,_0x336f70._0x2d9b08)][_0x422b86(_0x336f70._0x3f66d5,_0x336f70._0x10394e)][_0x3e1e65(0x739,_0x336f70._0x8bd1a4)]():'';if(_0x148a71)return _0x148a71;const _0x338302=typeof _0x37389c[_0x422b86(_0x336f70._0x40357c,_0x336f70._0x10394e)]===_0xcd108b[_0x422b86(0x41b,_0x336f70._0x591941)]?_0x37389c[_0x3e1e65(0x62d,_0x336f70._0x2fe7f7)][_0x422b86(0x292,0x4a4)]():'';function _0x3e1e65(_0x25a9c7,_0x32a7ac){return _0x3a7f13(_0x32a7ac,_0x25a9c7-_0x1a4a82._0x2b9d94);}return _0x338302||null;}function buildPairingQrPayload(_0x59f8f1){const _0x1b90af={_0x275830:0x644,_0x255a2e:0x3d4,_0x32233a:0x248,_0x328731:0x69e,_0x55a327:0x6b9,_0x274bbd:0x7d9,_0x5b02b0:0x6b9,_0x3260c3:0x6ce,_0x3b78c6:0x4d4,_0x43ee9d:0x8c9,_0x209fcb:0x58d,_0x155220:0x4e1,_0x4c4194:0x39d},_0x190f9c={_0x642b90:0x376},_0x8ff90c={_0x3897d2:0x2ef};function _0x5bf577(_0x2ff57f,_0x112eb4){return _0x32d8ea(_0x2ff57f,_0x112eb4- -_0x8ff90c._0x3897d2);}const _0xaccc4b={};function _0x130b5b(_0x1061ab,_0x3326bc){return _0x32d8ea(_0x3326bc,_0x1061ab- -_0x190f9c._0x642b90);}_0xaccc4b['v']=0x2,_0xaccc4b['k']='cp',_0xaccc4b['s']=_0x59f8f1[_0x5bf577(_0x1b90af._0x275830,0x608)],_0xaccc4b['g']=_0x59f8f1['gatewayI'+'d'],_0xaccc4b['a']=_0x59f8f1[_0x130b5b(_0x1b90af._0x255a2e,0x351)+'de'];const _0x40358b=_0xaccc4b;return _0x59f8f1[_0x5bf577(_0x1b90af._0x32233a,0x469)+_0x5bf577(0x47b,_0x1b90af._0x328731)]?.[_0x130b5b(_0x1b90af._0x55a327,_0x1b90af._0x274bbd)]()&&(_0x40358b['n']=_0x59f8f1[_0x5bf577(0x4bf,0x469)+'ame'][_0x130b5b(_0x1b90af._0x5b02b0,_0x1b90af._0x3260c3)]()),_0x59f8f1[_0x5bf577(0x3db,0x5a0)]?.[_0x130b5b(_0x1b90af._0x55a327,0x5cc)]()&&(_0x40358b['t']=_0x59f8f1[_0x130b5b(0x519,_0x1b90af._0x3b78c6)][_0x130b5b(_0x1b90af._0x5b02b0,_0x1b90af._0x43ee9d)]()),_0x59f8f1['password']?.[_0x130b5b(_0x1b90af._0x5b02b0,_0x1b90af._0x209fcb)]()&&(_0x40358b['p']=_0x59f8f1['password']['trim']()),JSON[_0x130b5b(_0x1b90af._0x155220,_0x1b90af._0x4c4194)+'y'](_0x40358b);}function buildGatewayQrPayload(_0x412a42){const _0xd95b43={_0x5b5a16:0x681,_0x363e24:0x470,_0x5c3bc8:0x4f9,_0x189c6e:0x363,_0x4c3803:0x5b3,_0x4fc8c5:0x64c,_0xaa66db:0x5f5,_0x29f948:0x63d,_0x3183da:0x2a8,_0x4e78f3:0x13d,_0x1b5df0:0x74c,_0x366318:0x539,_0x29293e:0x3b4,_0x3d0fb7:0x3b2,_0x1ed41f:0x59e,_0xdbb382:0x5a6,_0x14c44e:0x62b,_0x3ec9bc:0x5e3,_0x5d8663:0x584,_0x4af9f7:0x765,_0xf25c34:0x6ec},_0x3582b8={_0x17f6a3:0xb7},_0x24212b={};_0x24212b[_0x237318(_0xd95b43._0x5b5a16,0x506)]=function(_0x122965,_0x49eeef){return _0x122965+_0x49eeef;},_0x24212b['OboGC']=function(_0x5180e1,_0x22975b){return _0x5180e1*_0x22975b;};function _0x5ae5a0(_0x273922,_0x35f55f){return _0x3a7f13(_0x35f55f,_0x273922-0x214);}const _0x40f231=_0x24212b;function _0x237318(_0x1999e8,_0x3c936e){return _0x3a7f13(_0x1999e8,_0x3c936e- -_0x3582b8._0x17f6a3);}const _0x11418f=normalizeGatewayQrUrl(_0x412a42[_0x5ae5a0(_0xd95b43._0x363e24,_0xd95b43._0x5c3bc8)+'rl']),_0x17e774={'url':_0x11418f[_0x237318(_0xd95b43._0x189c6e,0x134)],'host':_0x11418f[_0x5ae5a0(0x795,_0xd95b43._0x4c3803)],'port':_0x11418f[_0x5ae5a0(_0xd95b43._0x4fc8c5,_0xd95b43._0xaa66db)],'tls':_0x11418f[_0x5ae5a0(_0xd95b43._0x29f948,0x5a1)],'mode':_0x237318(0x1a7,_0xd95b43._0x3183da),'expiresAt':_0x412a42[_0x237318(-0xcc,_0xd95b43._0x4e78f3)+'t']??_0x40f231[_0x5ae5a0(0x7d1,0x6f5)](Date[_0x237318(_0xd95b43._0x1b5df0,_0xd95b43._0x366318)](),_0x40f231['OboGC'](0xa*0x3c,0x3e8)),'qrVersion':0x2};return _0x412a42[_0x237318(_0xd95b43._0x29293e,_0xd95b43._0x3d0fb7)]?.['trim']()&&(_0x17e774[_0x237318(_0xd95b43._0x1ed41f,_0xd95b43._0x3d0fb7)]=_0x412a42[_0x237318(_0xd95b43._0xdbb382,0x3b2)]['trim']()),_0x412a42[_0x5ae5a0(0x584,_0xd95b43._0x14c44e)]?.[_0x5ae5a0(0x81d,_0xd95b43._0x3ec9bc)]()&&(_0x17e774[_0x5ae5a0(_0xd95b43._0x5d8663,_0xd95b43._0x4af9f7)]=_0x412a42[_0x5ae5a0(_0xd95b43._0x5d8663,0x7bc)][_0x5ae5a0(0x81d,_0xd95b43._0xf25c34)]()),JSON['stringif'+'y'](_0x17e774);}function normalizeGatewayQrUrl(_0x51f9d3){const _0x8a7fb0={_0x17c78c:0x267,_0x216e0f:0x3a3,_0x1cb8a0:0x6ef,_0x513a00:0x2c4,_0x1d9b00:0x299,_0x5a4d5a:0x2e7,_0x11188b:0x2c1,_0x115d44:0x515,_0x51c2ec:0x52d,_0x1a53ed:0x291,_0x27a0d0:0x1d2,_0x2994ad:0x71e,_0x26510b:0x54f,_0x1fa7a3:0x8d5,_0xd36cb4:0x50,_0x595a4c:0x1e3,_0x1dfa5d:0x7ca,_0x3d01a4:0x694,_0x117d44:0x2f0,_0x5a0d53:0x488},_0x398236={_0x2a39ea:0x68c},_0x456873={};_0x456873[_0x290994(0xe7,_0x8a7fb0._0x17c78c)]=function(_0x122f18,_0x4976cd){return _0x122f18===_0x4976cd;},_0x456873[_0x3b306d(0x5ac,0x560)]=function(_0x38ce6e,_0x3029e3){return _0x38ce6e===_0x3029e3;};const _0x26ca36=_0x456873,_0xf16735=new URL(_0x51f9d3[_0x290994(0x58c,_0x8a7fb0._0x216e0f)]()),_0x2726ad=_0xf16735[_0x3b306d(_0x8a7fb0._0x1cb8a0,0x4cb)]===_0x290994(0x2e8,_0x8a7fb0._0x513a00)||_0x26ca36[_0x290994(_0x8a7fb0._0x1d9b00,_0x8a7fb0._0x17c78c)](_0xf16735['protocol'],_0x290994(_0x8a7fb0._0x5a4d5a,_0x8a7fb0._0x11188b)),_0xabdad4=_0x2726ad?_0x290994(0x4c5,0x2c4):'ws:';function _0x290994(_0x52e37a,_0x41f4cb){return _0x32d8ea(_0x52e37a,_0x41f4cb- -_0x398236._0x2a39ea);}const _0x2e615c=_0xf16735[_0x3b306d(_0x8a7fb0._0x115d44,_0x8a7fb0._0x51c2ec)],_0x548a7a=_0xf16735[_0x290994(_0x8a7fb0._0x1a53ed,_0x8a7fb0._0x27a0d0)]?Number(_0xf16735[_0x3b306d(_0x8a7fb0._0x2994ad,_0x8a7fb0._0x26510b)]):_0x2726ad?0x1bb:0x50,_0x5a605c=!_0xf16735[_0x3b306d(_0x8a7fb0._0x1fa7a3,0x694)]||_0x26ca36[_0x290994(_0x8a7fb0._0xd36cb4,_0x8a7fb0._0x595a4c)](_0xf16735[_0x3b306d(_0x8a7fb0._0x1dfa5d,_0x8a7fb0._0x3d01a4)],'')?'/':_0xf16735['pathname'],_0x54ae09={};_0x54ae09[_0x3b306d(0x3c0,0x302)]=_0xabdad4+'//'+_0x2e615c+':'+_0x548a7a+_0x5a605c,_0x54ae09[_0x290994(_0x8a7fb0._0x117d44,0x31b)]=_0x2e615c,_0x54ae09[_0x3b306d(0x669,0x54f)]=_0x548a7a,_0x54ae09[_0x3b306d(0x6f6,0x5a6)]=_0x5a605c,_0x54ae09[_0x3b306d(_0x8a7fb0._0x5a0d53,0x540)]=_0x2726ad;function _0x3b306d(_0x2c9779,_0x214987){return _0x32d8ea(_0x2c9779,_0x214987- -0x30f);}return _0x54ae09;}var DEFAULT_REGISTRY_BASE=_0x32d8ea(0x681,0x707)+_0x32d8ea(0x921,0x95a)+_0x32d8ea(0x71d,0x791)+_0x3a7f13(0x415,0x287),DEFAULT_REGISTRY_FALLBACK_BASE=_0x3a7f13(0x1bb,0x2e1)+_0x3a7f13(0x5cf,0x562)+_0x3a7f13(0x376,0x534)+_0x32d8ea(0x975,0x791)+_0x3a7f13(0x447,0x554)+_0x32d8ea(0xa53,0x84a);async function pairGateway(_0x2994c9){const _0x3ade50={_0x429066:0x482,_0x5daeab:0x499,_0x5d17ea:0x469,_0xc52102:0xa5,_0x35ced8:0xec,_0x449882:0xd5,_0x1cc421:0x4bd,_0x52a6fa:0x1c2,_0x220412:0x284,_0x198c66:0x132,_0xb71404:0x29d,_0x5e5c3c:0xd1,_0x19ec67:0x5af,_0xc024d6:0x5b1,_0x2083db:0x4af,_0x1781e9:0x356,_0x397261:0x778,_0x394a34:0x65,_0x40e060:0x187,_0x2ec97b:0x373,_0x535789:0x2ad,_0x46f3de:0x26d,_0x33f591:0x87,_0x19e586:0x24,_0x2e5117:0x27,_0xabceae:0xdc,_0x578776:0x12b,_0x4b9172:0x12f,_0x83d83f:0x51,_0x4b5fc3:0x58f,_0x51c832:0x1c9,_0x1d7b65:0x465,_0x238a59:0x4af,_0x3060b3:0x191,_0x2f630b:0xce,_0x1973ad:0x158,_0x1c057e:0x3c5,_0x4edd91:0x307,_0x1c829e:0x30d,_0x5f1a5c:0x510,_0x50f8e4:0x29d,_0x2b072e:0x46d,_0x351f43:0x200,_0x32cf47:0x1ec,_0x974698:0x599,_0x80b842:0x2ca,_0x472aa1:0x7c8,_0x304a2d:0x274,_0x5be016:0x5a,_0x4ecdff:0x1d3,_0x54fa4b:0xfd,_0x1f81e4:0x1a2,_0x5f89de:0x34c},_0x4786b5={_0x21fd6a:0x2ca},_0x3b71f7={'oJpbO':function(_0x2259a3){return _0x2259a3();},'PIJBv':function(_0x28a7ef,_0x2dd7b6){return _0x28a7ef===_0x2dd7b6;},'RONRH':_0x2c7127(0x19d,0x3d1)+_0x51f968(_0x3ade50._0x429066,_0x3ade50._0x5daeab)};function _0x51f968(_0x43eaee,_0x417804){return _0x3a7f13(_0x43eaee,_0x417804-0x48);}const _0x3c673a=normalizeHttpBase(_0x2994c9[_0x51f968(0x2d1,0x226)+'l']),_0x180e83=_0x3b71f7[_0x51f968(0x37a,_0x3ade50._0x5d17ea)](readPairingConfig),_0x64061c=assessPairingCompatibility(_0x180e83,_0x3c673a);if(_0x64061c==='refresh-'+_0x2c7127(_0x3ade50._0xc52102,-0xd5)&&_0x180e83){const _0x3b145f={};return _0x3b145f['serverUr'+'l']=_0x180e83[_0x2c7127(-_0x3ade50._0x35ced8,_0x3ade50._0x449882)+'l'],_0x3b145f[_0x51f968(0x66c,_0x3ade50._0x1cc421)+'d']=_0x180e83[_0x51f968(0x3ff,_0x3ade50._0x1cc421)+'d'],_0x3b145f[_0x2c7127(0xd9,0x2b9)+_0x2c7127(_0x3ade50._0x52a6fa,_0x3ade50._0x220412)]=_0x180e83['relaySec'+_0x2c7127(_0x3ade50._0x52a6fa,0xc8)],_0x3b145f[_0x51f968(_0x3ade50._0x198c66,0x37a)+_0x2c7127(_0x3ade50._0xb71404,_0x3ade50._0x5e5c3c)]=_0x2994c9['displayN'+_0x51f968(0x7a6,_0x3ade50._0x19ec67)],_0x3b145f['gatewayT'+_0x51f968(_0x3ade50._0xc024d6,0x603)]=_0x2994c9[_0x51f968(_0x3ade50._0x2083db,_0x3ade50._0x1781e9)+_0x51f968(_0x3ade50._0x397261,0x603)],_0x3b145f['gatewayP'+_0x2c7127(-_0x3ade50._0x394a34,-_0x3ade50._0x40e060)]=_0x2994c9['gatewayP'+_0x51f968(_0x3ade50._0x2ec97b,_0x3ade50._0x535789)],refreshAccessCode(_0x3b145f);}if(_0x3b71f7['PIJBv'](_0x64061c,_0x51f968(0x40b,0x257)+_0x51f968(0x3a2,0x445)))throw new Error(_0x51f968(_0x3ade50._0x46f3de,0x4b7)+_0x2c7127(_0x3ade50._0x33f591,0x1ba)+'lready\x20p'+_0x2c7127(_0x3ade50._0x19e586,-_0x3ade50._0x2e5117)+_0x2c7127(-_0x3ade50._0xabceae,-0x31d)+_0x180e83?.['serverUr'+'l']+('.\x20Run\x20\x22c'+'lawket\x20r'+_0x2c7127(0x12e,0x116)+'fore\x20pai'+_0x2c7127(_0x3ade50._0x578776,0x6c)+_0x2c7127(-_0x3ade50._0x4b9172,0x29)+_0x2c7127(0xa2,_0x3ade50._0x83d83f)+_0x51f968(0x73f,_0x3ade50._0x4b5fc3)));const _0x52f545={};_0x52f545[_0x2c7127(0x2a,_0x3ade50._0x51c832)+'type']=_0x51f968(_0x3ade50._0x1d7b65,_0x3ade50._0x238a59)+'ion/json',_0x52f545[_0x51f968(0x40d,0x33a)]=_0x3b71f7[_0x2c7127(_0x3ade50._0x3060b3,-0x61)];function _0x2c7127(_0x17ffef,_0x14f525){return _0x3a7f13(_0x14f525,_0x17ffef- -_0x4786b5._0x21fd6a);}const _0x5bf1a2=await postJsonWithCloudflareFallback(_0x3c673a+(_0x2c7127(_0x3ade50._0x2f630b,-_0x3ade50._0x1973ad)+_0x2c7127(0x189,_0x3ade50._0x1c057e)+'r'),{'method':_0x51f968(_0x3ade50._0x4edd91,_0x3ade50._0x1c829e),'headers':_0x52f545,'body':JSON['stringif'+'y']({'displayName':_0x2994c9[_0x51f968(_0x3ade50._0x5f1a5c,0x37a)+_0x2c7127(_0x3ade50._0x50f8e4,_0x3ade50._0x2b072e)]?.[_0x51f968(0x6c6,0x651)]()||null})});if(!_0x5bf1a2['response']['ok'])throw await buildPairingRequestError('Pair\x20reg'+_0x2c7127(_0x3ade50._0x351f43,_0x3ade50._0x32cf47),_0x5bf1a2);const _0x21963b=await _0x5bf1a2['response'][_0x2c7127(-0x7c,0x142)](),_0x2de348=new Date()['toISOStr'+'ing'](),_0x1c96c2={'serverUrl':_0x3c673a,'gatewayId':_0x21963b[_0x51f968(_0x3ade50._0x974698,_0x3ade50._0x1cc421)+'d'],'relaySecret':_0x21963b['relaySec'+_0x51f968(0x610,0x4d4)],'relayUrl':_0x21963b[_0x2c7127(_0x3ade50._0x80b842,0x2e7)],'instanceId':_0x180e83?.['instance'+'Id']??_0x2c7127(0x175,-0x9a)+_0x21963b[_0x51f968(0x356,_0x3ade50._0x1cc421)+'d'][_0x2c7127(0x51,-0xe2)](-0xa),'displayName':_0x21963b['displayN'+_0x51f968(_0x3ade50._0x472aa1,0x5af)],'createdAt':_0x2de348,'updatedAt':_0x2de348};return writePairingConfig(_0x1c96c2),{'config':_0x1c96c2,'accessCode':_0x21963b[_0x2c7127(0x5a,-0x4)+'de'],'accessCodeExpiresAt':_0x21963b['accessCo'+_0x2c7127(0x32c,0x1d5)+'sAt'],'action':_0x51f968(_0x3ade50._0x304a2d,0x473)+'ed','qrPayload':buildPairingQrPayload({'server':_0x3c673a,'gatewayId':_0x21963b[_0x51f968(0x326,0x4bd)+'d'],'accessCode':_0x21963b[_0x2c7127(_0x3ade50._0x5be016,-_0x3ade50._0x4ecdff)+'de'],'displayName':_0x21963b['displayN'+_0x2c7127(_0x3ade50._0xb71404,_0x3ade50._0x54fa4b)],'token':_0x2994c9[_0x51f968(_0x3ade50._0x1f81e4,_0x3ade50._0x1781e9)+'oken']?.[_0x2c7127(0x33f,0x55a)]()||null,'password':_0x2994c9['gatewayP'+_0x51f968(_0x3ade50._0x5f89de,0x2ad)]?.[_0x51f968(0x756,0x651)]()||null})};}async function refreshAccessCode(_0x32e6c5){const _0x2551d7={_0x2f43e7:0x298,_0x2b721c:0xd,_0x140c16:0x17d,_0x589596:0x3cf,_0x51a9ed:0x3d5,_0x28e015:0x1e5,_0x701cf1:0x479,_0x2dae19:0x2aa,_0x15372b:0x2bb,_0x55eb0a:0x10e,_0x27f338:0x283,_0x1712a8:0x27a,_0x374619:0x26d,_0x34a7e9:0x2b1,_0x114c96:0x56e,_0x25ff63:0x111,_0x1c4041:0x4ad,_0x55d98c:0x58f,_0x4ad9a7:0x34e,_0x178cd0:0x254,_0x162e3c:0x3bd,_0xc71d90:0x384,_0x18ae22:0x137,_0x4ce1a7:0x599,_0x2d1309:0x740,_0x4abf15:0x40e,_0x11fb01:0x512,_0x4e1665:0x49a,_0x574c0c:0x356,_0x307043:0x152,_0x33ac40:0x356,_0x5f3748:0x2c8,_0x5157d7:0x57d,_0x15d420:0x364,_0x55f449:0x63c},_0x3993ae={_0x3a6ec6:0x32},_0xf166c={_0x177891:0x1e4},_0x13b6bf={'toQhx':function(_0x3940f9,_0x51fece){return _0x3940f9(_0x51fece);},'GAciL':_0x2a0dd0(0x1b1,0x175)+_0xcf259a(_0x2551d7._0x2f43e7,0x78)+_0x2a0dd0(_0x2551d7._0x2b721c,0x1ef)+_0xcf259a(0x44e,0x47f)+_0x2a0dd0(_0x2551d7._0x140c16,0x102)+'.','vmbnG':function(_0x1eb307,_0x26d6b4,_0x2069d5){return _0x1eb307(_0x26d6b4,_0x2069d5);},'mjpHO':function(_0x2c8805,_0xaec785){return _0x2c8805(_0xaec785);}},_0x478b9e=readPairingConfig();function _0x2a0dd0(_0x5e1c09,_0xa81060){return _0x3a7f13(_0xa81060,_0x5e1c09- -_0xf166c._0x177891);}const _0x34d53c=_0x13b6bf['toQhx'](normalizeHttpBase,_0x32e6c5?.['serverUr'+'l']??_0x478b9e?.[_0x2a0dd0(-0x6,0x5f)+'l']??''),_0x2c55a2=_0x32e6c5?.[_0x2a0dd0(0x291,_0x2551d7._0x589596)+'d']??_0x478b9e?.[_0x2a0dd0(0x291,0x3a2)+'d']??'',_0x82f524=_0x32e6c5?.[_0xcf259a(_0x2551d7._0x51a9ed,_0x2551d7._0x28e015)+_0x2a0dd0(0x2a8,0x1fe)]??_0x478b9e?.[_0x2a0dd0(0x1bf,0x1e0)+'ret']??'';if(!_0x34d53c||!_0x2c55a2||!_0x82f524)throw new Error(_0x13b6bf[_0xcf259a(0x2b3,_0x2551d7._0x701cf1)]);const _0x2f106c={};_0x2f106c[_0x2a0dd0(0x110,_0x2551d7._0x2dae19)+_0xcf259a(0x48b,0x512)]=_0xcf259a(0x499,_0x2551d7._0x15372b)+'ion/json',_0x2f106c[_0x2a0dd0(_0x2551d7._0x55eb0a,0x29d)]=_0x2a0dd0(_0x2551d7._0x27f338,_0x2551d7._0x1712a8)+_0x2a0dd0(_0x2551d7._0x374619,0x30c);const _0x4caff8=await _0x13b6bf[_0xcf259a(_0x2551d7._0x34a7e9,0x432)](postJsonWithCloudflareFallback,_0x34d53c+('/v1/pair'+_0xcf259a(_0x2551d7._0x114c96,0x3ef)+_0x2a0dd0(0x163,_0x2551d7._0x25ff63)),{'method':_0x2a0dd0(0xe1,0x105),'headers':_0x2f106c,'body':JSON[_0x2a0dd0(0x24d,0x27a)+'y']({'gatewayId':_0x2c55a2,'relaySecret':_0x82f524,'displayName':_0x32e6c5?.['displayN'+'ame']?.['trim']()||void 0x0})});function _0xcf259a(_0x406ac4,_0x4dd472){return _0x3a7f13(_0x4dd472,_0x406ac4-_0x3993ae._0x3a6ec6);}if(!_0x4caff8['response']['ok'])throw await buildPairingRequestError(_0xcf259a(_0x2551d7._0x1c4041,_0x2551d7._0x55d98c)+_0xcf259a(0x48a,_0x2551d7._0x4ad9a7)+_0xcf259a(0x329,_0x2551d7._0x178cd0),_0x4caff8);const _0x5cb1f5=await _0x4caff8[_0xcf259a(_0x2551d7._0x162e3c,0x1f3)]['json'](),_0x5924b3={'serverUrl':_0x34d53c,'gatewayId':_0x5cb1f5[_0xcf259a(0x4a7,0x31f)+'d'],'relaySecret':_0x82f524,'relayUrl':_0x5cb1f5['relayUrl'],'instanceId':_0x478b9e?.[_0x2a0dd0(0x417,_0x2551d7._0xc71d90)+'Id']??_0x2a0dd0(0x25b,0x452)+_0x5cb1f5['gatewayI'+'d'][_0x2a0dd0(_0x2551d7._0x18ae22,0x25b)](-0xa),'displayName':_0x5cb1f5['displayN'+_0xcf259a(_0x2551d7._0x4ce1a7,_0x2551d7._0x2d1309)],'createdAt':_0x478b9e?.['createdA'+'t']??new Date()[_0x2a0dd0(-0x55,-0x9)+_0x2a0dd0(_0x2551d7._0x4abf15,_0x2551d7._0x11fb01)](),'updatedAt':new Date()[_0xcf259a(0x1c1,0x155)+_0x2a0dd0(_0x2551d7._0x4abf15,_0x2551d7._0x4e1665)]()};return writePairingConfig(_0x5924b3),{'config':_0x5924b3,'accessCode':_0x5cb1f5[_0xcf259a(_0x2551d7._0x574c0c,_0x2551d7._0x307043)+'de'],'accessCodeExpiresAt':_0x5cb1f5[_0xcf259a(_0x2551d7._0x33ac40,0x318)+_0xcf259a(0x628,0x875)+_0x2a0dd0(_0x2551d7._0x5f3748,0x24e)],'action':_0xcf259a(0x3c3,_0x2551d7._0x5157d7)+'d','qrPayload':_0x13b6bf[_0xcf259a(0x5a0,0x632)](buildPairingQrPayload,{'server':_0x34d53c,'gatewayId':_0x5cb1f5['gatewayI'+'d'],'accessCode':_0x5cb1f5['accessCo'+'de'],'displayName':_0x5cb1f5[_0xcf259a(_0x2551d7._0x15d420,0x526)+'ame'],'token':_0x32e6c5?.[_0xcf259a(0x340,0x2ce)+_0xcf259a(0x5ed,0x4ef)]?.[_0xcf259a(0x63b,_0x2551d7._0x55f449)]()||null,'password':_0x32e6c5?.['gatewayP'+'assword']?.[_0x2a0dd0(0x425,0x1e8)]()||null})};}function normalizeHttpBase(_0x17d247){const _0x27ab3c={_0x1f7c48:0x52b,_0x22a6bd:0x704,_0x7bcae8:0x78f,_0x579beb:0x419,_0x2cd5ff:0x46f,_0x5a4845:0x741,_0x2337be:0x939,_0x464432:0x52b,_0x57253b:0x5d1,_0x34c0ed:0x5a7,_0x51a852:0x5eb,_0x2952d9:0x269,_0x45923b:0x275,_0x193223:0x638,_0x3f6b6d:0x3fa,_0xd328e9:0x36a,_0x41857a:0x2d5,_0x480d9b:0x46f,_0x12c943:0x6bc,_0x443cc0:0x46f},_0x5e9f96={_0x478d4f:0x46d},_0x48bdbb={_0x3e03cf:0x230};function _0x2a7a56(_0x48a90a,_0xc84889){return _0x32d8ea(_0x48a90a,_0xc84889- -_0x48bdbb._0x3e03cf);}const _0x45b38b={};_0x45b38b[_0x15b82c(0x767,_0x27ab3c._0x1f7c48)]=_0x2a7a56(_0x27ab3c._0x22a6bd,_0x27ab3c._0x7bcae8),_0x45b38b[_0x2a7a56(0x7dc,0x637)]='wss://';const _0x411692=_0x45b38b;function _0x15b82c(_0x4e54f0,_0x1af61f){return _0x32d8ea(_0x4e54f0,_0x1af61f- -_0x5e9f96._0x478d4f);}const _0xdc9789=_0x17d247[_0x15b82c(0x6d8,0x5c2)]();if(!_0xdc9789)return'';if(_0xdc9789[_0x2a7a56(0x2ad,_0x27ab3c._0x579beb)+'th'](_0x15b82c(0x42e,0x553))||_0xdc9789[_0x2a7a56(0x348,0x419)+'th'](_0x15b82c(0x2d0,0x29a)))return _0xdc9789[_0x2a7a56(0x28f,_0x27ab3c._0x2cd5ff)](/\/+$/,'');if(_0xdc9789[_0x15b82c(0x36,0x1dc)+'th'](_0x411692[_0x15b82c(_0x27ab3c._0x5a4845,0x52b)]))return(_0x2a7a56(_0x27ab3c._0x2337be,0x790)+_0xdc9789[_0x15b82c(0x354,0x2d4)](_0x411692[_0x15b82c(0x620,_0x27ab3c._0x464432)][_0x2a7a56(_0x27ab3c._0x57253b,_0x27ab3c._0x34c0ed)]))['replace'](/\/+$/,'');if(_0xdc9789[_0x2a7a56(_0x27ab3c._0x51a852,0x419)+'th'](_0x15b82c(0xbb,_0x27ab3c._0x2952d9)))return('https://'+_0xdc9789[_0x15b82c(_0x27ab3c._0x45923b,0x2d4)](_0x411692[_0x15b82c(_0x27ab3c._0x193223,_0x27ab3c._0x3f6b6d)][_0x15b82c(0x4f9,_0x27ab3c._0xd328e9)]))[_0x2a7a56(_0x27ab3c._0x41857a,_0x27ab3c._0x480d9b)](/\/+$/,'');return('https://'+_0xdc9789)[_0x2a7a56(_0x27ab3c._0x12c943,_0x27ab3c._0x443cc0)](/\/+$/,'');}function assessPairingCompatibility(_0x4ccb17,_0x328c84){const _0x15dbda={_0x9212e2:0x1ab,_0x2b036b:0x6fb,_0x181475:0x4b6,_0x10e583:0x119,_0x4499bd:0x1fa,_0x31dbe8:0x1d2,_0x952790:0x22b,_0x2c1600:0x281},_0x56f4b0={_0x481354:0x6ff},_0x33e57f={_0x1ea04b:0x40a},_0x37ab5b={};function _0x4531b1(_0x51b810,_0x7e21c6){return _0x32d8ea(_0x51b810,_0x7e21c6- -_0x33e57f._0x1ea04b);}_0x37ab5b['nhVdj']=function(_0x15427e,_0x57a084){return _0x15427e===_0x57a084;};const _0x436cb7=_0x37ab5b;if(!_0x4ccb17)return _0x260c28(_0x15dbda._0x9212e2,0x152)+_0x4531b1(_0x15dbda._0x2b036b,_0x15dbda._0x181475);if(_0x436cb7[_0x260c28(_0x15dbda._0x10e583,-0x55)](_0x4ccb17[_0x4531b1(0xef,_0x15dbda._0x4499bd)+'l'],_0x328c84))return _0x4531b1(0x2ec,0x48d)+'existing';function _0x260c28(_0xf7c7fd,_0x2f0761){return _0x32d8ea(_0xf7c7fd,_0x2f0761- -_0x56f4b0._0x481354);}return _0x4531b1(_0x15dbda._0x31dbe8,_0x15dbda._0x952790)+_0x260c28(_0x15dbda._0x2c1600,0x124);}async function postJsonWithCloudflareFallback(_0x31d11a,_0x5d2ab1){const _0x328dc5={_0x28385a:0x193,_0x4a21ee:0x2f,_0x68fb4f:0x72,_0x10d25d:0x7b,_0x354b98:0x18b,_0x53d24e:0x1a7},_0x222367={_0x4ac65c:0x75b},_0x37d3ed={_0x4a2ab3:0x61e};function _0x2e18b5(_0x4f088f,_0x3b2fbd){return _0x32d8ea(_0x3b2fbd,_0x4f088f- -_0x37d3ed._0x4a2ab3);}const _0x4ec2c7={'MTZha':function(_0x1eb014,_0x1e6cdc,_0x4cd772){return _0x1eb014(_0x1e6cdc,_0x4cd772);}},_0x1b9f54=await _0x4ec2c7['MTZha'](fetch,_0x31d11a,_0x5d2ab1),_0x5dff58=resolveCloudflareChallengeFallbackUrl(_0x31d11a,_0x1b9f54);function _0x38452b(_0x35d44,_0x22d0e4){return _0x32d8ea(_0x35d44,_0x22d0e4- -_0x222367._0x4ac65c);}if(!_0x5dff58){const _0x44de53={};return _0x44de53[_0x2e18b5(_0x328dc5._0x28385a,_0x328dc5._0x4a21ee)]=_0x1b9f54,_0x44de53[_0x2e18b5(-_0x328dc5._0x68fb4f,-0x18a)+_0x2e18b5(_0x328dc5._0x10d25d,0x93)]=_0x31d11a,_0x44de53[_0x38452b(0x13f,_0x328dc5._0x354b98)+_0x2e18b5(_0x328dc5._0x53d24e,0x17f)]=null,_0x44de53;}return{'response':await fetch(_0x5dff58,_0x5d2ab1),'attemptedUrl':_0x31d11a,'fallbackUrl':_0x5dff58};}async function buildPairingRequestError(_0xa99653,_0x28a51d){const _0x1a6429={_0x31e6aa:0x5b0,_0x4ab6c6:0x4ca,_0x4947d4:0x5ea,_0x931009:0x755,_0x20ca6a:0x2de,_0x4c3f68:0x96e,_0xbe4ce6:0x885,_0x1ca3a5:0x892,_0x49c322:0x9d0,_0x55826a:0x75e,_0x47aaa7:0x5d5,_0xe164a2:0x68e,_0x20c68b:0x60a,_0x41b7c7:0x56d,_0x54eab1:0x66c,_0x29dbaa:0x61b,_0x891a0a:0x803,_0x5d89a2:0x61d,_0x4917da:0x5f7,_0x192400:0x927,_0x39f6f5:0x5a0,_0x1b1046:0x785,_0x16b9d9:0x723,_0x50c2ff:0x8c4,_0x45c87b:0x730,_0x390b5e:0x838,_0x5ac3fd:0x7ad,_0x3b1e30:0x702,_0x420178:0x91b,_0x34b4fc:0x814,_0x2d1a1e:0x6b1,_0x5f2991:0x64c},_0x419836={_0x50f146:0x165};if(isCloudflareChallengeResponse(_0x28a51d[_0x2868e7(0x561,0x64c)])){const _0x155f17=new URL(_0x28a51d[_0x2868e7(_0x1a6429._0x31e6aa,0x781)+'Url']??_0x28a51d[_0x3aad7c(0x4fd,_0x1a6429._0x4ab6c6)+_0x3aad7c(_0x1a6429._0x4947d4,0x6a6)])['origin'],_0x382f58=_0x28a51d[_0x3aad7c(0x837,0x6b5)+'Url']?_0x2868e7(0x91a,_0x1a6429._0x931009)+_0x2868e7(_0x1a6429._0x20ca6a,0x489)+_0x3aad7c(_0x1a6429._0x4c3f68,0xa85)+_0x28a51d['fallback'+_0x2868e7(_0x1a6429._0xbe4ce6,0x660)]+(_0x2868e7(0x610,0x4ee)+'t\x20a\x20Clou'+_0x3aad7c(0x6b4,_0x1a6429._0x1ca3a5)+_0x3aad7c(0x94e,0xab4)+'.'):'';return new Error(_0xa99653+(_0x3aad7c(0x7b0,_0x1a6429._0x49c322)+'(')+_0x28a51d[_0x3aad7c(0x702,0x508)][_0x2868e7(0x69f,_0x1a6429._0x55826a)]+(_0x3aad7c(_0x1a6429._0x47aaa7,_0x1a6429._0xe164a2)+_0x2868e7(0x470,_0x1a6429._0x20c68b)+_0x2868e7(0x70f,_0x1a6429._0x41b7c7)+_0x3aad7c(_0x1a6429._0x54eab1,0x49f)+'the\x20regi'+'stry\x20API'+_0x3aad7c(_0x1a6429._0x29dbaa,_0x1a6429._0x891a0a))+_0x155f17+'.'+_0x382f58+(_0x2868e7(_0x1a6429._0x5d89a2,_0x1a6429._0x4917da)+_0x3aad7c(_0x1a6429._0x192400,0x920)+_0x2868e7(0x3e9,_0x1a6429._0x39f6f5)+'network\x20'+'or\x20use\x20a'+_0x2868e7(0x89e,_0x1a6429._0x1b1046)+'y\x20endpoi'+_0x2868e7(_0x1a6429._0x16b9d9,_0x1a6429._0x50c2ff)+_0x2868e7(0x477,0x5a3)+_0x3aad7c(_0x1a6429._0x45c87b,0x738)+_0x2868e7(_0x1a6429._0x390b5e,0x64a)+_0x2868e7(0x386,0x456)+_0x2868e7(_0x1a6429._0x5ac3fd,0x6a9)));}function _0x3aad7c(_0x2246fd,_0x175b2c){return _0x32d8ea(_0x175b2c,_0x2246fd- -0xaf);}function _0x2868e7(_0x3b026e,_0x1f8903){return _0x32d8ea(_0x3b026e,_0x1f8903- -_0x419836._0x50f146);}return new Error(_0xa99653+('\x20failed\x20'+'(')+_0x28a51d[_0x3aad7c(_0x1a6429._0x3b1e30,_0x1a6429._0x420178)][_0x3aad7c(_0x1a6429._0x34b4fc,0xa54)]+_0x3aad7c(0x7e9,0x9a3)+summarizeFailedResponse(await _0x28a51d[_0x2868e7(_0x1a6429._0x2d1a1e,_0x1a6429._0x5f2991)][_0x2868e7(0x59b,0x537)]()));}function isCloudflareChallengeResponse(_0x1d58bc){const _0x2bfc06={_0x453001:0x5dd,_0xb1e1db:0x684,_0x188c49:0x6ab,_0x163bea:0x563,_0x13b7db:0x8fd},_0x169246={_0x151543:0x55};function _0x4876c6(_0x42e866,_0x18fdd3){return _0x32d8ea(_0x18fdd3,_0x42e866- -_0x169246._0x151543);}function _0x410146(_0x4cefd4,_0x3e24d6){return _0x32d8ea(_0x4cefd4,_0x3e24d6- -0x758);}return _0x1d58bc['status']===0x193&&_0x1d58bc[_0x4876c6(_0x2bfc06._0x453001,_0x2bfc06._0xb1e1db)]['get'](_0x4876c6(_0x2bfc06._0x188c49,_0x2bfc06._0x163bea)+'ated')?.['trim']()['toLowerC'+_0x4876c6(_0x2bfc06._0x13b7db,0x6ec)]()===_0x4876c6(0x758,0x8eb)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x307e65,_0x4c8606){if(!isCloudflareChallengeResponse(_0x4c8606))return null;const _0xadd3df=new URL(_0x307e65);if(_0xadd3df['origin']!==DEFAULT_REGISTRY_BASE)return null;return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0xadd3df['pathname']+_0xadd3df['search'];}function summarizeFailedResponse(_0x940b2d){const _0x3b1da6={_0x1243e3:0x660,_0x32b69b:0x77e,_0x264205:0x3a1,_0x52963e:0x97b,_0x49e149:0x660,_0x184807:0x8a4,_0x35d081:0x9da,_0x5dc76f:0x79a,_0x587de3:0x9d7},_0x1a6469={_0x1aabdb:0x3d},_0x1ebcd0={_0x58e987:0x12a},_0x1d74bf={};function _0x4b8a95(_0x12c0ad,_0xe5c371){return _0x32d8ea(_0xe5c371,_0x12c0ad- -_0x1ebcd0._0x58e987);}_0x1d74bf[_0x1ce119(0x656,_0x3b1da6._0x1243e3)]=_0x4b8a95(0x78c,0x94e)+'sponse\x20b'+_0x4b8a95(0x8aa,_0x3b1da6._0x32b69b);function _0x1ce119(_0x51e885,_0x2c55b9){return _0x32d8ea(_0x51e885,_0x2c55b9- -_0x1a6469._0x1aabdb);}_0x1d74bf['GJtyO']=function(_0x2b4dbd,_0x41fa4b){return _0x2b4dbd<=_0x41fa4b;};const _0xbbe988=_0x1d74bf,_0x2b9c55=_0x940b2d[_0x4b8a95(0x575,_0x3b1da6._0x264205)](/\s+/g,'\x20')[_0x4b8a95(0x905,_0x3b1da6._0x52963e)]();if(!_0x2b9c55)return _0xbbe988[_0x1ce119(0x494,_0x3b1da6._0x49e149)];if(_0xbbe988[_0x1ce119(_0x3b1da6._0x184807,_0x3b1da6._0x35d081)](_0x2b9c55[_0x1ce119(0x5d7,_0x3b1da6._0x5dc76f)],0xf0))return _0x2b9c55;return _0x2b9c55[_0x1ce119(0x8f7,0x704)](0x0,0xed)+_0x1ce119(0xb83,_0x3b1da6._0x587de3);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x103d0e,mkdirSync as _0x2669a4,openSync,readFileSync as _0x2d25c1,realpathSync,rmSync as _0x34a55c,writeFileSync as _0x5e0dad}from'fs';import{homedir as _0x42adab}from'os';function _0x32d8ea(_0x9765cd,_0x3846fd){const _0x50480c={_0x4bbe26:0x3e1};return _0x2370(_0x3846fd-_0x50480c._0x4bbe26,_0x9765cd);}import{dirname,join as _0x5ea869}from'path';var SERVICE_LABEL=_0x32d8ea(0x97a,0x737)+_0x3a7f13(0x40c,0x3c2)+_0x3a7f13(0x9c,0x27b),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x3a7f13(0x41b,0x29f),WINDOWS_RUN_KEY='ClawketB'+'ridgeCli',SERVICE_DIR=_0x5ea869(_0x42adab(),_0x32d8ea(0x84a,0x791)),LOG_DIR=_0x5ea869(SERVICE_DIR,_0x32d8ea(0x8c4,0x73a)),SERVICE_STATE_PATH=_0x5ea869(SERVICE_DIR,_0x32d8ea(0x6bf,0x859)+'ervice.j'+_0x3a7f13(0x384,0x198)),SERVICE_LAUNCHER_PATH=_0x5ea869(SERVICE_DIR,_0x32d8ea(0x953,0x859)+_0x32d8ea(0xb77,0x9a2)+_0x3a7f13(0x493,0x5b1)+'sh'),SERVICE_LOG_PATH=_0x5ea869(LOG_DIR,_0x3a7f13(0x26d,0x4aa)+_0x32d8ea(0x769,0x710)),SERVICE_ERROR_LOG_PATH=_0x5ea869(LOG_DIR,'bridge-c'+'li-error'+'.log'),MACOS_PLIST_PATH=_0x5ea869(_0x42adab(),_0x32d8ea(0x6c1,0x7d1),_0x3a7f13(0x590,0x37f)+_0x3a7f13(0x2da,0x498),SERVICE_LABEL+_0x3a7f13(0x517,0x452)),LINUX_SERVICE_PATH=_0x5ea869(_0x42adab(),_0x32d8ea(0x916,0x82f),_0x3a7f13(0x6d1,0x545),_0x3a7f13(0x3b4,0x34c),SYSTEMD_UNIT_NAME);function getServiceProgramArgs(_0x5b6a7b={},_0x252ff7=process[_0x32d8ea(0x84a,0x774)]){const _0x45675c={_0x104bf0:0x461,_0x1eb8e8:0x445,_0x4cadcb:0x122,_0x1c0dd8:0x49,_0x16b1d9:0xc3,_0xb1b376:0x484,_0x3a184f:0x311,_0x34f72e:0xe4,_0x2f2855:0x99,_0x33e9b9:0x56c,_0x4e8586:0x3cb,_0x44f967:0x426},_0x5c4447={'qGxnf':function(_0x5d169b,_0x243ff0){return _0x5d169b(_0x243ff0);},'SgySe':function(_0x3ed79d,_0x493f70){return _0x3ed79d!==_0x493f70;},'aNAkd':function(_0x14e7f4,_0xc373e2,_0x231295){return _0x14e7f4(_0xc373e2,_0x231295);}};function _0x34a325(_0x5c771d,_0x45ad4b){return _0x32d8ea(_0x5c771d,_0x45ad4b- -0x5ea);}const _0x512b88=_0x5b6a7b['nodePath']?.[_0x34a325(_0x45675c._0x104bf0,_0x45675c._0x1eb8e8)]()||process[_0x34a325(_0x45675c._0x4cadcb,_0x45675c._0x1c0dd8)];function _0x116b7a(_0x54511c,_0x36e447){return _0x32d8ea(_0x54511c,_0x36e447- -0x262);}const _0x275f6a=_0x5c4447[_0x34a325(-_0x45675c._0x16b1d9,0x42)](resolveScriptPath,_0x5b6a7b['scriptPa'+'th']);if(!_0x275f6a)throw new Error(_0x34a325(_0x45675c._0xb1b376,_0x45675c._0x3a184f)+_0x34a325(-_0x45675c._0x34f72e,_0x45675c._0x2f2855)+'e\x20CLI\x20sc'+'ript\x20pat'+_0x116b7a(0x609,0x7b9)+'rvice\x20in'+_0x34a325(0xf9,-0x1d)+_0x34a325(0x225,0x14b));if(_0x5c4447[_0x116b7a(_0x45675c._0x33e9b9,0x6d0)](_0x252ff7,'win32')){const _0x332a38={};_0x332a38[_0x116b7a(0x4a7,0x48d)]=_0x512b88,_0x332a38[_0x34a325(0x220,0xe9)+'th']=_0x275f6a,_0x332a38[_0x116b7a(0x53c,0x42e)]=process.env.PATH??'';const _0x28ea59=writeServiceLauncher(_0x332a38);return _0x5c4447[_0x34a325(_0x45675c._0x4e8586,0x1ce)](ensureLaunchScriptExecutable,_0x28ea59,_0x252ff7),[_0x28ea59];}return[_0x512b88,_0x275f6a,_0x116b7a(_0x45675c._0x44f967,0x369),_0x116b7a(0x35c,_0x45675c._0x44f967)+'e'];}function getServiceStatus(){const _0x85ab44={_0x16978f:0x398,_0x57cfd9:0x1be,_0x2a0741:0x3c8,_0x3780ba:0x6ab,_0x13fdea:0x8a2,_0x1d5b78:0xb3c,_0x57fdf0:0x927,_0x34f442:0x6c1,_0x358b3e:0x6c3,_0x10f5c0:0x6b5,_0x45efb2:0x6c3,_0x469404:0x51e,_0xd80418:0x343,_0x568954:0x217,_0x3fedca:0x39a,_0x6a6306:0x49a,_0x2c270b:0x60e,_0x3e0e87:0x59f,_0x338c75:0x698,_0x14ed55:0x45d,_0x127e64:0x620,_0x498d12:0x624,_0xd8cb70:0x26a,_0x2df595:0x5d5,_0xc3e1a8:0x1c5,_0xa9b1ce:0x1b8,_0x3e089b:0x77d,_0x345906:0x7da,_0x12b112:0x9aa,_0x1259dd:0x53f,_0x1cf902:0x53d,_0x513c18:0x506},_0x1b386c={_0x3b02e1:0x41a},_0x28790e={'CkDsm':function(_0x33ff29,_0x14abea){return _0x33ff29(_0x14abea);},'lLBgA':_0x5ac579(_0x85ab44._0x16978f,_0x85ab44._0x57cfd9)+_0x5ac579(0x1be,_0x85ab44._0x2a0741),'czoyR':function(_0x22ca23,_0x145f3f,_0x124c30){return _0x22ca23(_0x145f3f,_0x124c30);},'AyQms':'launchct'+'l','leLEa':_0x61d723(0x9c9,0x837),'DJsGO':_0x5ac579(0x4be,0x29a)+'l','CjjcO':_0x61d723(_0x85ab44._0x3780ba,0x59e),'VyHSR':_0x61d723(_0x85ab44._0x13fdea,0x65b)+'e','itRPZ':_0x61d723(_0x85ab44._0x1d5b78,_0x85ab44._0x57fdf0)};ensureServiceDirs();const _0x3d0972=readServiceState()?.['pid']??null,_0x12f6b3={'installed':![],'running':_0x3d0972!=null&&_0x28790e[_0x5ac579(0x598,_0x85ab44._0x34f442)](isPidRunning,_0x3d0972),'method':detectServiceMethod(),'servicePath':getServicePath(),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x3d0972};_0x12f6b3[_0x61d723(0x510,_0x85ab44._0x358b3e)]!=null&&!_0x12f6b3['running']&&(clearServiceState(_0x12f6b3[_0x61d723(0x877,_0x85ab44._0x358b3e)]),_0x12f6b3[_0x61d723(_0x85ab44._0x10f5c0,_0x85ab44._0x45efb2)]=null);function _0x61d723(_0x2bbf1d,_0x438a14){return _0x32d8ea(_0x2bbf1d,_0x438a14- -0x82);}function _0x5ac579(_0x2b4721,_0x2de4f2){return _0x32d8ea(_0x2de4f2,_0x2b4721- -_0x1b386c._0x3b02e1);}switch(_0x12f6b3[_0x5ac579(0x321,_0x85ab44._0x469404)]){case _0x28790e['lLBgA']:_0x12f6b3['installe'+'d']=_0x103d0e(MACOS_PLIST_PATH);_0x12f6b3[_0x5ac579(_0x85ab44._0xd80418,0x349)+'d']&&(_0x12f6b3[_0x5ac579(_0x85ab44._0x568954,_0x85ab44._0x3fedca)]=_0x28790e['czoyR'](commandSucceeds,_0x28790e[_0x5ac579(0x537,0x53a)],[_0x28790e[_0x5ac579(_0x85ab44._0x6a6306,_0x85ab44._0x2c270b)],SERVICE_LABEL])||_0x12f6b3['running']);return _0x12f6b3;case _0x61d723(0x418,_0x85ab44._0x3e0e87)+_0x5ac579(0x358,0x395):_0x12f6b3[_0x61d723(0x4f1,0x6db)+'d']=_0x103d0e(LINUX_SERVICE_PATH);_0x12f6b3['installe'+'d']&&(_0x12f6b3[_0x61d723(_0x85ab44._0x338c75,0x5af)]=commandSucceeds(_0x28790e[_0x61d723(_0x85ab44._0x14ed55,_0x85ab44._0x127e64)],[_0x28790e[_0x61d723(0x62e,0x724)],_0x28790e['VyHSR'],_0x5ac579(_0x85ab44._0x498d12,0x5c3),SYSTEMD_UNIT_NAME])||_0x12f6b3[_0x5ac579(_0x85ab44._0x568954,0x3b7)]);return _0x12f6b3;case _0x61d723(0x576,0x71a)+_0x5ac579(0x223,_0x85ab44._0xd8cb70)+_0x61d723(0x82e,0x9a9):_0x12f6b3[_0x61d723(0x758,0x6db)+'d']=commandSucceeds(_0x61d723(0x430,_0x85ab44._0x2df595),[_0x28790e[_0x5ac579(_0x85ab44._0xc3e1a8,_0x85ab44._0xa9b1ce)],_0x61d723(_0x85ab44._0x3e089b,0x924)+_0x61d723(_0x85ab44._0x345906,_0x85ab44._0x12b112)+_0x5ac579(0x1e6,0x385)+_0x5ac579(0x4a5,0x6c5)+_0x5ac579(_0x85ab44._0x1259dd,0x50e)+_0x5ac579(_0x85ab44._0x1cf902,_0x85ab44._0x513c18)+'un','/v',WINDOWS_RUN_KEY]);return _0x12f6b3;default:return _0x12f6b3;}}function installService(_0x37261a={}){const _0x15d244={_0x50773f:0x718,_0x511d2c:0x3ac,_0x47b301:0x3e3,_0x42c3cc:0x60c,_0x44252b:0x5f7,_0x41d01a:0x5f5,_0x6a656d:0x712,_0x58f76c:0x7f8,_0xadf161:0x77c,_0x4a6113:0x65f,_0x46629e:0x6e4,_0x20204e:0x65d,_0x34bdf1:0x765,_0x357b71:0x586,_0x564378:0x6e4,_0x234406:0x670,_0xa076d1:0x684,_0x3f2a84:0x2cf,_0x1be44e:0x74f,_0xba87bc:0x53f,_0x43eda3:0x7ba,_0x3d9e5b:0x6f3,_0x5c1ab1:0x759,_0x18c3d1:0x5ee,_0x40bd4d:0x66b,_0xd6f6d7:0x646,_0x15a2e5:0x734,_0x41c233:0x6cb,_0x4eaed2:0x7af,_0x17352e:0x38c,_0x258e49:0x7da,_0x1ede21:0x577,_0x133b67:0x6e3,_0x5ef522:0x6a8,_0x167915:0x5ad,_0x580067:0x641,_0x383834:0x5aa,_0x491bfe:0x731,_0x45f0eb:0x528,_0x1e9c75:0x432},_0x2f6a93={'lMKhp':function(_0xbe1147,_0x5ccfef,_0x375183,_0x11e158){return _0xbe1147(_0x5ccfef,_0x375183,_0x11e158);},'pbhGo':_0x175a53(_0x15d244._0x50773f,0x664)+'l','lKpIj':_0x175a53(0x5c8,_0x15d244._0x511d2c),'fcHao':'--now','CcVya':function(_0x3d0bf6){return _0x3d0bf6();},'XGFsS':_0x175a53(0x3be,_0x15d244._0x47b301),'NiFID':function(_0x302fb9,_0x9d4329){return _0x302fb9(_0x9d4329);},'LCtDt':_0x4b8057(_0x15d244._0x42c3cc,0x765)};ensureServiceDirs();const _0x4abd63=getServiceProgramArgs(_0x37261a);function _0x175a53(_0x1f3177,_0x28e8fa){return _0x3a7f13(_0x1f3177,_0x28e8fa-0x1b2);}switch(process[_0x4b8057(_0x15d244._0x44252b,_0x15d244._0x41d01a)]){case _0x4b8057(_0x15d244._0x6a656d,_0x15d244._0x58f76c):_0x5e0dad(MACOS_PLIST_PATH,_0x2f6a93[_0x4b8057(_0x15d244._0xadf161,_0x15d244._0x4a6113)](buildMacosPlist,_0x4abd63,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x175a53(0x57c,_0x15d244._0x46629e)),execIgnoreFailure('launchct'+'l',['unload','-w',MACOS_PLIST_PATH]);const _0x30ceb9={};_0x30ceb9['stdio']=_0x4b8057(_0x15d244._0x20204e,_0x15d244._0x34bdf1),execFileSync(_0x4b8057(_0x15d244._0x357b71,0x5ed)+'l',[_0x175a53(0x59a,0x434),'-w',MACOS_PLIST_PATH],_0x30ceb9);break;case'linux':const _0x45520f={};_0x45520f[_0x4b8057(0x635,0x43b)+'e']=!![],_0x2669a4(dirname(LINUX_SERVICE_PATH),_0x45520f),_0x5e0dad(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x4abd63,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x175a53(0x5c7,_0x15d244._0x564378));const _0x339f79={};_0x339f79[_0x4b8057(0x8e2,0x7ba)]=_0x175a53(0x485,_0x15d244._0x234406),execFileSync(_0x2f6a93[_0x175a53(_0x15d244._0xa076d1,0x57a)],[_0x175a53(_0x15d244._0x3f2a84,0x3ac),_0x175a53(_0x15d244._0x1be44e,_0x15d244._0xba87bc)+_0x4b8057(0x87b,0x882)],_0x339f79);const _0x49011d={};_0x49011d[_0x4b8057(0x7b6,_0x15d244._0x43eda3)]=_0x4b8057(0x981,0x765),execFileSync(_0x4b8057(_0x15d244._0x3d9e5b,_0x15d244._0x5c1ab1)+'l',[_0x2f6a93[_0x175a53(0x402,_0x15d244._0x18c3d1)],'enable',_0x2f6a93['fcHao'],SYSTEMD_UNIT_NAME],_0x49011d);break;case _0x175a53(_0x15d244._0x40bd4d,0x5c2):_0x2f6a93[_0x175a53(_0x15d244._0xd6f6d7,0x432)](stopRunningProcess),execFileSync(_0x2f6a93[_0x175a53(_0x15d244._0x15a2e5,_0x15d244._0x41c233)],['add',_0x4b8057(_0x15d244._0x4eaed2,0x827)+_0x175a53(0x5ef,0x7b8)+_0x175a53(0x217,_0x15d244._0x17352e)+'Windows\x5c'+_0x4b8057(0x855,_0x15d244._0x258e49)+_0x175a53(_0x15d244._0x1ede21,_0x15d244._0x133b67)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x4b8057(0x405,0x438),'/d',_0x2f6a93['NiFID'](buildWindowsRunCommand,_0x4abd63),'/f'],{'stdio':_0x2f6a93[_0x4b8057(0x44f,0x64e)]}),startDetachedWindowsService(_0x4abd63);break;default:throw new Error(_0x175a53(0x496,_0x15d244._0x5ef522)+_0x175a53(0x705,0x53a)+'form\x20for'+_0x4b8057(0x501,0x544)+_0x4b8057(_0x15d244._0x167915,_0x15d244._0x580067)+_0x175a53(_0x15d244._0x383834,_0x15d244._0x491bfe)+_0x4b8057(0x585,0x5d5)+process[_0x4b8057(_0x15d244._0x45f0eb,0x5f5)]);}function _0x4b8057(_0x4e8dae,_0x14052){return _0x3a7f13(_0x4e8dae,_0x14052-0x2a7);}return _0x2f6a93[_0x175a53(0x5d4,_0x15d244._0x1e9c75)](getServiceStatus);}function restartService(_0x2413fa={}){const _0x5ca788={_0x5b1099:0x58e,_0x1fb424:0x476,_0x1b621c:0x367,_0x5320f1:0x2ca,_0x2f182b:0x528,_0x27e4d3:0x4b3,_0x41c941:0x500,_0x4d05f2:0x77a,_0x799c3b:0x5a4,_0xe770bd:0x62b,_0x45c0df:0x6ab,_0x3cc081:0x90e,_0x538e83:0x706,_0x5eab6b:0x14a,_0x55c198:0x403,_0x460192:0x2a6,_0xf8ed63:0x979,_0x5db56e:0x4df,_0x5b81ab:0x6fa,_0x3de53e:0x623,_0x16939d:0x553,_0x3bf322:0x35d,_0x2413b6:0x25c,_0x1d7c3d:0x68f,_0x117830:0x706,_0x25700d:0x17e,_0x380f21:0x7c8,_0x525420:0x553,_0x176b3d:0x422,_0x379c72:0x61c,_0x3dba48:0x270,_0x59c3a1:0x73e,_0x1ec5d5:0x73f,_0x11d059:0x5f1,_0x2f94de:0x278,_0x5bf4db:0x1ea,_0xb1cc09:0x2e4,_0xde7cd7:0x2f7,_0x5e4963:0x121,_0x1b5ce8:0x525},_0x1f26b0={'IFWQc':function(_0x2b8ba3,_0x26e0ec){return _0x2b8ba3(_0x26e0ec);},'fEDdx':function(_0x10cc4d,_0x1eb49a,_0x117413,_0x20ef37){return _0x10cc4d(_0x1eb49a,_0x117413,_0x20ef37);},'gVKIM':'unload','JRfad':_0x302320(_0x5ca788._0x5b1099,_0x5ca788._0x1fb424)+'l','idAUu':'load','DgxHl':function(_0x4933a7,_0x37449c){return _0x4933a7(_0x37449c);},'zIurE':_0x302320(0x442,_0x5ca788._0x1b621c),'pkhod':_0x55dc20(0x2da,_0x5ca788._0x5320f1)+_0x55dc20(_0x5ca788._0x2f182b,_0x5ca788._0x27e4d3),'RQopP':function(_0x2562fa){return _0x2562fa();},'ihSZu':_0x55dc20(0x19e,-0x97),'fgZOb':function(_0x46ed78){return _0x46ed78();}};ensureServiceDirs();const _0x103cdf=getServiceProgramArgs(_0x2413fa);function _0x55dc20(_0x1dd2df,_0x50005d){return _0x3a7f13(_0x50005d,_0x1dd2df- -0xb3);}switch(process[_0x302320(0x596,0x596)]){case'darwin':if(!_0x1f26b0[_0x302320(0x566,_0x5ca788._0x41c941)](_0x103d0e,MACOS_PLIST_PATH))return installService(_0x2413fa);_0x1f26b0['fEDdx'](_0x5e0dad,MACOS_PLIST_PATH,buildMacosPlist(_0x103cdf,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x302320(_0x5ca788._0x4d05f2,_0x5ca788._0x799c3b)),execIgnoreFailure(_0x302320(0x58e,_0x5ca788._0xe770bd)+'l',[_0x1f26b0[_0x302320(0x5ee,_0x5ca788._0x45c0df)],'-w',MACOS_PLIST_PATH]);const _0x45a41f={};_0x45a41f[_0x302320(0x75b,_0x5ca788._0x3cc081)]=_0x302320(_0x5ca788._0x538e83,0x62e),execFileSync(_0x1f26b0[_0x55dc20(0xd9,_0x5ca788._0x5eab6b)],[_0x1f26b0[_0x55dc20(0x30a,0x1f3)],'-w',MACOS_PLIST_PATH],_0x45a41f);break;case _0x302320(_0x5ca788._0x55c198,0x475):if(!_0x1f26b0[_0x55dc20(_0x5ca788._0x460192,0x294)](_0x103d0e,LINUX_SERVICE_PATH))return installService(_0x2413fa);const _0x207aa9={};_0x207aa9[_0x302320(0x3dc,0x569)+'e']=!![],_0x2669a4(dirname(LINUX_SERVICE_PATH),_0x207aa9),_0x5e0dad(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x103cdf,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),'utf8');const _0x551ae7={};_0x551ae7[_0x302320(0x75b,_0x5ca788._0xf8ed63)]=_0x55dc20(0x40b,0x4a7),execFileSync('systemct'+'l',[_0x1f26b0[_0x302320(0x686,0x74b)],_0x1f26b0[_0x55dc20(_0x5ca788._0x5db56e,0x49a)]],_0x551ae7);const _0x200a8f={};_0x200a8f[_0x302320(0x75b,0x73b)]=_0x55dc20(0x40b,0x541),execFileSync(_0x302320(_0x5ca788._0x5b81ab,_0x5ca788._0x3de53e)+'l',['--user',_0x302320(_0x5ca788._0x16939d,0x791),SYSTEMD_UNIT_NAME],_0x200a8f);break;case _0x55dc20(_0x5ca788._0x3bf322,_0x5ca788._0x2413b6):_0x1f26b0[_0x302320(0x742,0x7bc)](stopRunningProcess);const _0x16c7ba={};_0x16c7ba[_0x302320(0x75b,_0x5ca788._0x1d7c3d)]=_0x302320(_0x5ca788._0x117830,0x6b1),execFileSync(_0x55dc20(_0x5ca788._0x25700d,0x1a4),[_0x1f26b0['ihSZu'],_0x302320(_0x5ca788._0x380f21,0x8b4)+_0x55dc20(_0x5ca788._0x525420,0x3a0)+_0x302320(_0x5ca788._0x176b3d,0x332)+'Windows\x5c'+_0x55dc20(0x480,0x3d7)+_0x55dc20(0x47e,_0x5ca788._0x379c72)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x55dc20(0xde,_0x5ca788._0x3dba48),'/d',buildWindowsRunCommand(_0x103cdf),'/f'],_0x16c7ba),startDetachedWindowsService(_0x103cdf);break;default:throw new Error(_0x302320(_0x5ca788._0x59c3a1,_0x5ca788._0x1ec5d5)+_0x302320(0x5d0,_0x5ca788._0x11d059)+_0x302320(0x40a,_0x5ca788._0x2f94de)+_0x55dc20(_0x5ca788._0x5bf4db,0x21f)+_0x55dc20(0x26a,_0x5ca788._0xb1cc09)+_0x55dc20(_0x5ca788._0xde7cd7,_0x5ca788._0x5e4963)+process[_0x55dc20(0x29b,0x3cf)]);}function _0x302320(_0x28c24c,_0x2c31b7){return _0x3a7f13(_0x2c31b7,_0x28c24c-0x248);}return _0x1f26b0[_0x302320(_0x5ca788._0x1b5ce8,0x500)](getServiceStatus);}function uninstallService(){const _0x5f017d={_0x54f9e1:0x200,_0x1461e0:0x173,_0xe85a2e:0x5ba,_0x2c7a3e:0x5b5,_0x4b6c0b:0x16b,_0x8b345c:0xda,_0x43727e:0x360,_0x3d33b3:0x2da,_0xb58905:0x236,_0x1c61ca:0x363,_0x3afe84:0xdf,_0x3ef93f:0x1f,_0x4aedfe:0x431,_0x255df1:0x400,_0xcf9bf6:0x59,_0x56b97e:0x295,_0x56ffea:0x51a,_0x434cc4:0x3a5,_0x26b622:0x19f,_0x44f8ab:0x57c,_0x5422f6:0x50f},_0x4a8301={_0xdb8b1a:0x601},_0x242e42={_0x5388d9:0x3c2},_0x9acb25={'MYHVg':_0x3e98cd(_0x5f017d._0x54f9e1,0x327),'hkvxD':function(_0x3cc00b,_0x4c19e3){return _0x3cc00b(_0x4c19e3);},'WuJOh':function(_0x105c12,_0x15fc29,_0x35434b){return _0x105c12(_0x15fc29,_0x35434b);},'GCciw':function(_0x39134c){return _0x39134c();}};stopRunningProcess();switch(process[_0x525793(0x18b,_0x5f017d._0x1461e0)]){case _0x3e98cd(_0x5f017d._0xe85a2e,_0x5f017d._0x2c7a3e):execIgnoreFailure(_0x525793(0x187,_0x5f017d._0x4b6c0b)+'l',[_0x3e98cd(0x43d,0x43e),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x525793(_0x5f017d._0x8b345c,-0x20):_0x103d0e(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x3e98cd(_0x5f017d._0x43727e,0x516)+'l',[_0x525793(0x1d3,0x1f),_0x525793(_0x5f017d._0x3d33b3,_0x5f017d._0xb58905),_0x9acb25[_0x3e98cd(_0x5f017d._0x1c61ca,0x458)],SYSTEMD_UNIT_NAME]),_0x9acb25[_0x525793(-0xe5,_0x5f017d._0x3afe84)](rmIfExists,LINUX_SERVICE_PATH),execIgnoreFailure(_0x3e98cd(0x500,0x516)+'l',[_0x525793(-0x45,_0x5f017d._0x3ef93f),_0x3e98cd(_0x5f017d._0x4aedfe,0x3f1)+_0x525793(0x229,_0x5f017d._0x255df1)]));break;case _0x525793(_0x5f017d._0xcf9bf6,0x235):_0x9acb25['WuJOh'](execIgnoreFailure,_0x3e98cd(0x30a,_0x5f017d._0x56b97e),['delete',_0x525793(_0x5f017d._0x56ffea,_0x5f017d._0x434cc4)+'tware\x5cMi'+_0x3e98cd(_0x5f017d._0x26b622,0x23e)+'Windows\x5c'+'CurrentV'+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}function _0x3e98cd(_0x5b88b2,_0x3fbff3){return _0x32d8ea(_0x5b88b2,_0x3fbff3- -_0x242e42._0x5388d9);}_0x9acb25[_0x3e98cd(_0x5f017d._0x44f8ab,_0x5f017d._0x5422f6)](clearServiceState);function _0x525793(_0x257947,_0x4b0467){return _0x32d8ea(_0x257947,_0x4b0467- -_0x4a8301._0xdb8b1a);}return getServiceStatus();}function stopService(){const _0x19f3be={_0x1e0768:0x633,_0x1790a0:0x6ec,_0x4d4cde:0x376,_0x2f4a8b:0x561,_0xd9232d:0x57d,_0x446305:0x35d,_0x962d68:0x2c5,_0x3b7278:0x906},_0x2f5730={'JmQad':_0x28fc73(0xa30,0x8f7),'KXekN':function(_0xa34b42,_0x2ef400,_0x5713fb){return _0xa34b42(_0x2ef400,_0x5713fb);}};stopRunningProcess();switch(process[_0x28fc73(0x8a5,0x6f4)]){case _0x2f5730[_0x376f44(0x610,_0x19f3be._0x1e0768)]:_0x103d0e(MACOS_PLIST_PATH)&&_0x2f5730[_0x376f44(0x4fe,0x58a)](execIgnoreFailure,_0x28fc73(0x85c,_0x19f3be._0x1790a0)+'l',['unload',MACOS_PLIST_PATH]);break;case _0x28fc73(_0x19f3be._0x4d4cde,_0x19f3be._0x2f4a8b):_0x103d0e(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x376f44(0x625,_0x19f3be._0xd9232d)+'l',[_0x376f44(_0x19f3be._0x446305,_0x19f3be._0x962d68),_0x376f44(0x458,0x585),SYSTEMD_UNIT_NAME]);break;case _0x28fc73(_0x19f3be._0x3b7278,0x7b6):break;default:break;}function _0x376f44(_0x19d6f4,_0x4e3a15){return _0x32d8ea(_0x19d6f4,_0x4e3a15- -0x35b);}clearServiceState();function _0x28fc73(_0x6c77df,_0x13f296){return _0x32d8ea(_0x6c77df,_0x13f296- -0x80);}return getServiceStatus();}function writeServiceState(_0xc1e747=process['pid']){const _0x3cd800={_0x278072:0x336,_0x422f31:0x6d5},_0x232360={_0x1cd7e8:0x3dd};function _0x2d8c61(_0x227422,_0xf1f99d){return _0x3a7f13(_0x227422,_0xf1f99d-_0x232360._0x1cd7e8);}const _0x2a2e1a={'DpCoX':function(_0x39a9fb){return _0x39a9fb();}};_0x2a2e1a['DpCoX'](ensureServiceDirs);const _0xb41ab4={'pid':_0xc1e747,'startedAt':new Date()[_0x2d8c61(_0x3cd800._0x278072,0x56c)+_0x3e16a6(_0x3cd800._0x422f31,0x48a)]()};function _0x3e16a6(_0x14c761,_0x4fccea){return _0x3a7f13(_0x14c761,_0x4fccea- -0x168);}_0x5e0dad(SERVICE_STATE_PATH,JSON['stringif'+'y'](_0xb41ab4,null,0x2)+'\x0a',_0x2d8c61(0xb4a,0x90f));}function clearServiceState(_0x7aa9df){const _0x2fff02={_0x5df3e5:0x915},_0x32bc4d={_0x30a82f:0x8f};function _0x446720(_0x188147,_0x32d49c){return _0x32d8ea(_0x188147,_0x32d49c- -0x62f);}function _0x3fb3e8(_0x13aa72,_0x2223dc){return _0x32d8ea(_0x2223dc,_0x13aa72- -_0x32bc4d._0x30a82f);}const _0x418d39={'GdyDZ':function(_0x5bc988){return _0x5bc988();}};if(!_0x103d0e(SERVICE_STATE_PATH))return;if(_0x7aa9df!=null){const _0x5b0b63=_0x418d39[_0x3fb3e8(0x8a5,_0x2fff02._0x5df3e5)](readServiceState);if(_0x5b0b63&&_0x5b0b63[_0x446720(0x219,0x116)]!==_0x7aa9df)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){function _0x2d0493(_0x291a1a,_0x80763c){return _0x32d8ea(_0x291a1a,_0x80763c- -0x4c2);}const _0x248911={'SEpke':function(_0x4e61ee){return _0x4e61ee();}};return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x248911[_0x2d0493(0x4a0,0x284)](getServicePath)};}function buildMacosPlist(_0x19d64b,_0x2bf595,_0x311df3){const _0x5e02ed={_0x15efee:0x3e,_0x39bbcf:0x1c5,_0x5239f6:0x7e,_0x34261c:0xef,_0x43c230:0xbd,_0x1a31b1:0x2fd,_0x3fed4f:0x278,_0x2f8c8c:0x18c,_0x30f59f:0xd1,_0x56c75a:0x1b4,_0x4d7201:0x23,_0x4d44a5:0x221,_0x3f462f:0xe7,_0x59105c:0x330,_0x87ada2:0x1f8,_0x374a26:0x82,_0x50da76:0x1be,_0x16b42e:0x2c2,_0x4cd239:0x340,_0x720116:0xdb,_0x20efc9:0x48,_0x32140d:0x7f,_0x137266:0x50,_0x3978f9:0x141,_0x325e45:0x381,_0x3e1e42:0x16c,_0x485813:0x33,_0x20ccf3:0x122,_0x3f9738:0x1c,_0x508664:0x289,_0x72aa66:0x6c,_0x43c524:0x143,_0x3ae86d:0x124,_0x32bd96:0x8e,_0x4e7119:0x1d,_0x5d2f70:0x17b,_0x586382:0x27b,_0x4937c4:0xd0,_0x2b1965:0x24e,_0x2af9f9:0x166,_0x9dac6c:0x91,_0x39f97e:0xa2,_0x49ed0a:0x1ce},_0x5e2652={_0x1c70c2:0x2f3};function _0x493a60(_0x33315b,_0xefc1db){return _0x3a7f13(_0x33315b,_0xefc1db- -0x29c);}const _0x592899=_0x19d64b[_0x493a60(0x1ca,0xb1)](_0x340f0e=>_0x493a60(0x16c,0xdc)+_0x1456a1(0x114,-0x4b)+escapeXml(_0x340f0e)+('</string'+'>'))['join']('\x0a');function _0x1456a1(_0x1fab7a,_0x228ccf){return _0x3a7f13(_0x1fab7a,_0x228ccf- -_0x5e2652._0x1c70c2);}return _0x1456a1(0x3c,_0x5e02ed._0x15efee)+'rsion=\x221'+_0x493a60(0x187,_0x5e02ed._0x39bbcf)+_0x1456a1(0x345,0x1f9)+'F-8\x22?>\x0a<'+_0x493a60(-0x247,-0xd6)+_0x1456a1(-_0x5e02ed._0x5239f6,-_0x5e02ed._0x34261c)+_0x493a60(0xcd,-_0x5e02ed._0x43c230)+_0x1456a1(_0x5e02ed._0x1a31b1,_0x5e02ed._0x3fed4f)+_0x493a60(-_0x5e02ed._0x2f8c8c,-0xf0)+_0x1456a1(-0x36,_0x5e02ed._0x30f59f)+_0x1456a1(_0x5e02ed._0x56c75a,0x320)+_0x493a60(_0x5e02ed._0x4d7201,_0x5e02ed._0x4d44a5)+_0x493a60(_0x5e02ed._0x3f462f,0x204)+_0x1456a1(-0x330,-0x122)+'ropertyL'+'ist-1.0.'+_0x1456a1(_0x5e02ed._0x59105c,_0x5e02ed._0x87ada2)+'list\x20ver'+_0x1456a1(-_0x5e02ed._0x374a26,-0x120)+_0x1456a1(0xba,0x32)+_0x493a60(_0x5e02ed._0x50da76,_0x5e02ed._0x16b42e)+_0x493a60(0x520,_0x5e02ed._0x4cd239)+'/key>\x0a\x20\x20'+_0x493a60(_0x5e02ed._0x56c75a,_0x5e02ed._0x720116)+SERVICE_LABEL+(_0x1456a1(0x37,_0x5e02ed._0x20efc9)+_0x493a60(-_0x5e02ed._0x32140d,-0x105)+_0x1456a1(0x109,0x81)+_0x1456a1(0x186,0x2dc)+_0x1456a1(-_0x5e02ed._0x137266,-0x18)+_0x1456a1(-0x30,_0x5e02ed._0x3978f9)+'>\x0a')+_0x592899+(_0x1456a1(-_0x5e02ed._0x325e45,-0x174)+_0x493a60(_0x5e02ed._0x3e1e42,_0x5e02ed._0x485813)+_0x493a60(_0x5e02ed._0x20ccf3,_0x5e02ed._0x3f9738)+'Load</ke'+_0x493a60(0x3b2,_0x5e02ed._0x508664)+'ue/>\x0a\x20\x20<'+'key>Keep'+_0x493a60(_0x5e02ed._0x72aa66,_0x5e02ed._0x43c524)+_0x493a60(0xca,0x1ed)+_0x493a60(_0x5e02ed._0x3ae86d,-_0x5e02ed._0x32bd96)+'<key>Sta'+_0x1456a1(-_0x5e02ed._0x4e7119,_0x5e02ed._0x5d2f70)+_0x493a60(-_0x5e02ed._0x586382,-_0x5e02ed._0x4937c4)+'y>\x0a\x20\x20<st'+_0x493a60(0x1f9,0xb9))+escapeXml(_0x2bf595)+(_0x493a60(0x284,0x9f)+_0x493a60(-0x82,-0x105)+_0x1456a1(0x6a,_0x5e02ed._0x2b1965)+_0x493a60(0x4ea,0x2a3)+_0x493a60(_0x5e02ed._0x2af9f9,-0x78)+_0x493a60(0x131,-0xc0)+_0x1456a1(_0x5e02ed._0x9dac6c,0xe0))+escapeXml(_0x311df3)+('</string'+_0x493a60(_0x5e02ed._0x39f97e,-0xa4)+'>\x0a</plis'+_0x493a60(_0x5e02ed._0x49ed0a,0x2f5));}function buildLinuxSystemdUnit(_0x20f92b,_0x46472f,_0x5f30a1){const _0x5e65c7={_0x31dbf7:0x134,_0x2a7685:0x1ea,_0x24b3a8:0x2f2,_0x538490:0x133,_0x19f81c:0x5f8,_0x591ebe:0x3bb,_0x124970:0xd6,_0x119c64:0x66,_0x32264b:0x1f4,_0x44d32c:0x15e,_0x5eff95:0x7,_0x58328d:0x182,_0x39770c:0xb2,_0x187806:0xeb,_0xd4d0a0:0x259,_0x28f445:0x1ef,_0x25f586:0x6d,_0x580e8b:0x1b3,_0x312ab7:0x9a,_0x4bf9ba:0x79,_0xa49b5e:0x79,_0x4dcfe3:0x379,_0x5dd248:0xf2,_0x5c3dcc:0x135,_0xfbaa68:0x425,_0x32de3d:0x40b},_0x3318a0={_0x2e80ba:0x147},_0x5eb2d9={_0x42911a:0x2fa};function _0x55acec(_0x261e49,_0x4e445a){return _0x3a7f13(_0x4e445a,_0x261e49- -_0x5eb2d9._0x42911a);}function _0xa60fa(_0x383220,_0x50ab97){return _0x3a7f13(_0x383220,_0x50ab97- -_0x3318a0._0x2e80ba);}const _0x253daa=_0x20f92b['map'](escapeSystemdArg)['join']('\x20');return _0x55acec(_0x5e65c7._0x31dbf7,0x275)+_0xa60fa(0x53c,0x486)+_0x55acec(_0x5e65c7._0x2a7685,0x36b)+_0xa60fa(_0x5e65c7._0x24b3a8,_0x5e65c7._0x538490)+_0xa60fa(_0x5e65c7._0x19f81c,_0x5e65c7._0x591ebe)+_0xa60fa(0x1ea,0x33a)+'ork-onli'+_0x55acec(_0x5e65c7._0x124970,0x68)+_0xa60fa(0x235,_0x5e65c7._0x119c64)+_0xa60fa(0x644,0x49c)+'online.t'+_0x55acec(_0x5e65c7._0x32264b,_0x5e65c7._0x44d32c)+_0xa60fa(0x39b,0x1b7)+_0x55acec(_0x5e65c7._0x5eff95,-0x1eb)+'mple\x0aExe'+_0xa60fa(_0x5e65c7._0x58328d,0x29d)+_0x253daa+(_0xa60fa(0x94,0x159)+_0xa60fa(_0x5e65c7._0x39770c,_0x5e65c7._0x187806)+'RestartS'+_0xa60fa(0x11f,0x17f)+_0x55acec(_0x5e65c7._0xd4d0a0,_0x5e65c7._0x28f445)+'ctory=')+escapeSystemdArg(SERVICE_DIR)+(_0x55acec(-_0x5e65c7._0x25f586,-_0x5e65c7._0x580e8b)+_0xa60fa(0x78,0xae)+_0x55acec(-0xbd,_0x5e65c7._0x312ab7))+_0x46472f+(_0x55acec(-_0x5e65c7._0x25f586,-_0x5e65c7._0x4bf9ba)+_0x55acec(_0x5e65c7._0xa49b5e,0x15d)+_0xa60fa(_0x5e65c7._0x4dcfe3,0x237))+_0x5f30a1+(_0xa60fa(0xbf,0x147)+_0x55acec(_0x5e65c7._0x5dd248,_0x5e65c7._0x5c3dcc)+_0xa60fa(_0x5e65c7._0xfbaa68,0x419)+'ault.tar'+_0xa60fa(_0x5e65c7._0x32de3d,0x1fb));}function getServicePath(){const _0x454824={_0x493ae9:0xa9a,_0xd0148d:0x640,_0x165598:0x635,_0x3fe4b9:0x42d,_0x3f5ea0:0x550,_0x20c3b4:0x803,_0x3b0252:0x80f,_0x4dcba8:0x666,_0x280d6a:0x560,_0x10a7dc:0x742,_0x45cef0:0x370,_0x1d3346:0x46a,_0x4e94c5:0x531},_0x3129c1={};function _0x3ba06c(_0x5bef95,_0x204fb1){return _0x32d8ea(_0x5bef95,_0x204fb1- -0x3f7);}function _0x76ad0c(_0x731564,_0x512c74){return _0x32d8ea(_0x731564,_0x512c74- -0xb0);}_0x3129c1[_0x76ad0c(0x6db,0x87e)]=_0x76ad0c(_0x454824._0x493ae9,0x8f6)+_0x3ba06c(_0x454824._0xd0148d,_0x454824._0x165598)+_0x76ad0c(_0x454824._0x3fe4b9,_0x454824._0x3f5ea0)+_0x76ad0c(_0x454824._0x20c3b4,_0x454824._0x3b0252)+'CurrentV'+_0x3ba06c(_0x454824._0x4dcba8,_0x454824._0x280d6a)+'un\x5cClawk'+_0x76ad0c(_0x454824._0x10a7dc,0x508)+'Cli';const _0x581bf3=_0x3129c1;switch(process[_0x3ba06c(0x275,0x37d)]){case _0x3ba06c(_0x454824._0x45cef0,0x580):return MACOS_PLIST_PATH;case _0x76ad0c(_0x454824._0x1d3346,_0x454824._0x4e94c5):return LINUX_SERVICE_PATH;case'win32':return _0x581bf3[_0x3ba06c(0x6f2,0x537)];default:return'';}}function detectServiceMethod(){const _0x3ef37f={_0x2f8105:0x403,_0x5ebe14:0x32c,_0x5c0100:0x2b6,_0xbf934b:0x48f,_0x3ea46c:0xb3,_0x36fa63:0x7a,_0x36d2b8:0x60a,_0x42afe3:0x29b,_0x109123:0x2a4,_0x4515cf:0x3a,_0x163026:0x435,_0x56d991:0x175,_0x475feb:0x54,_0x3a5073:0xdb},_0x4b6c7={_0x174b03:0x6c1},_0x1149ac={};function _0x37ab43(_0x526afb,_0xc3bfc3){return _0x32d8ea(_0xc3bfc3,_0x526afb- -0x33d);}_0x1149ac[_0x37ab43(_0x3ef37f._0x2f8105,_0x3ef37f._0x5ebe14)]=_0x3b73a4(_0x3ef37f._0x5c0100,_0x3ef37f._0xbf934b);function _0x3b73a4(_0x12b7cc,_0x221e08){return _0x32d8ea(_0x221e08,_0x12b7cc- -_0x4b6c7._0x174b03);}const _0x401415=_0x1149ac;switch(process[_0x3b73a4(_0x3ef37f._0x3ea46c,-_0x3ef37f._0x36fa63)]){case _0x401415[_0x37ab43(_0x3ef37f._0x2f8105,0x338)]:return _0x37ab43(0x475,_0x3ef37f._0x36d2b8)+_0x37ab43(_0x3ef37f._0x42afe3,0x1e9);case _0x37ab43(_0x3ef37f._0x109123,0x207):return _0x3b73a4(-0xa0,-_0x3ef37f._0x4515cf)+_0x37ab43(_0x3ef37f._0x163026,0x343);case _0x3b73a4(_0x3ef37f._0x56d991,-_0x3ef37f._0x475feb):return _0x3b73a4(_0x3ef37f._0x3a5073,0x1b7)+_0x37ab43(0x300,0x4db)+'stry';default:return'unsuppor'+'ted';}}function readServiceState(){const _0x8d58a9={_0x4f944d:0x391,_0x1494ca:0x2cc,_0x4e2344:0x651,_0x2abf0c:0xe0,_0x2bb0de:0x103,_0x4d3acc:0x74b,_0x3ff7d6:0x628},_0x556de6={_0x59135d:0x6cc},_0x20afd6={_0x24687d:0x3f0};function _0x29931c(_0x445ce0,_0x5e713d){return _0x32d8ea(_0x445ce0,_0x5e713d- -_0x20afd6._0x24687d);}const _0x41dc4b={'uUIwe':function(_0xc4ed83,_0x40eae2){return _0xc4ed83(_0x40eae2);},'OJQGv':function(_0x14f79f,_0xa1d941,_0x47ad89){return _0x14f79f(_0xa1d941,_0x47ad89);},'NePLD':_0x190b46(_0x8d58a9._0x4f944d,0x28c)};if(!_0x41dc4b[_0x29931c(0x44a,_0x8d58a9._0x1494ca)](_0x103d0e,SERVICE_STATE_PATH))return null;function _0x190b46(_0xa0b58d,_0x471d62){return _0x32d8ea(_0xa0b58d,_0x471d62- -_0x556de6._0x59135d);}try{const _0x5c4fe2=JSON['parse'](_0x41dc4b['OJQGv'](_0x2d25c1,SERVICE_STATE_PATH,_0x41dc4b[_0x29931c(_0x8d58a9._0x4e2344,0x599)]));if(!_0x5c4fe2['pid']||typeof _0x5c4fe2['pid']!=='number')return null;return{'pid':_0x5c4fe2['pid'],'startedAt':_0x5c4fe2[_0x190b46(-_0x8d58a9._0x2abf0c,_0x8d58a9._0x2bb0de)+'t']??new Date(0x0)[_0x29931c(-0x49,0x1c5)+_0x29931c(_0x8d58a9._0x4d3acc,_0x8d58a9._0x3ff7d6)]()};}catch{return null;}}function stopRunningProcess(){const _0x16b95a={_0x37ea0a:0x1cf,_0xb6bc6c:0x14f,_0x175aed:0x49,_0x18a1d3:0x23e,_0x3a0bf9:0x230,_0xeb1bf2:0x6b,_0x3747fd:0x28a,_0x1598bb:0x3c},_0x4f545e={_0x568f59:0x241},_0x1ef77b={'hyzrD':function(_0x39f67d,_0x23c746,_0x5f20b0){return _0x39f67d(_0x23c746,_0x5f20b0);},'OxLWc':_0x25e72c(0x28a,0x182),'ExrCY':_0x25e72c(_0x16b95a._0x37ea0a,-0x2d),'Nigns':_0x25e72c(0x14f,0x335)},_0x1e3f6e=readServiceState();if(!_0x1e3f6e)return;_0x1ef77b['hyzrD'](execIgnoreFailure,process[_0x504340(0x6b,-_0x16b95a._0xb6bc6c)]===_0x25e72c(_0x16b95a._0x37ea0a,0x216)?_0x1ef77b[_0x504340(_0x16b95a._0x175aed,0x120)]:_0x504340(_0x16b95a._0x18a1d3,_0x16b95a._0x3a0bf9),process[_0x504340(_0x16b95a._0xeb1bf2,0x52)]===_0x1ef77b[_0x504340(-0x8a,0xf8)]?[_0x25e72c(0x3be,_0x16b95a._0x3747fd),String(_0x1e3f6e[_0x504340(_0x16b95a._0x1598bb,-0x1f)]),'/T','/F']:[_0x1ef77b[_0x25e72c(0x161,0x90)],String(_0x1e3f6e[_0x504340(_0x16b95a._0x1598bb,0xaf)])]);function _0x504340(_0xd11f2a,_0x3ea559){return _0x3a7f13(_0x3ea559,_0xd11f2a- -0x2e3);}function _0x25e72c(_0x3d6699,_0x550942){return _0x3a7f13(_0x550942,_0x3d6699- -_0x4f545e._0x568f59);}clearServiceState(_0x1e3f6e['pid']);}function isPidRunning(_0x34b3a6){const _0x366997={_0x1773cb:0x284};function _0x482e83(_0x2e9599,_0x5933d0){return _0x32d8ea(_0x2e9599,_0x5933d0- -_0x366997._0x1773cb);}try{return process[_0x482e83(0x8f4,0x6c3)](_0x34b3a6,0x0),!![];}catch{return![];}}function startDetachedWindowsService(_0x473c28){const _0x2c7aac={_0x276cb4:0x555,_0x5d9b59:0x4b8,_0x13ba42:0x58c},_0x3e34ca={_0x3f7b47:0x377},_0x202e91={'umXju':function(_0x1eef4f,_0x14f96b,_0x46fcf2){return _0x1eef4f(_0x14f96b,_0x46fcf2);}},_0x1cdb2c=_0x202e91[_0x548895(0x5f2,0x73a)](openSync,SERVICE_LOG_PATH,'a');function _0x548895(_0x3dd1b9,_0x56ff87){return _0x32d8ea(_0x56ff87,_0x3dd1b9- -_0x3e34ca._0x3f7b47);}function _0x15b3be(_0x54812d,_0x334d12){return _0x32d8ea(_0x334d12,_0x54812d- -0x481);}const _0x1e8e21=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x27321c,..._0x5e9a44]=_0x473c28,_0x522748={};_0x522748[_0x548895(_0x2c7aac._0x276cb4,0x357)]=!![],_0x522748[_0x15b3be(_0x2c7aac._0x5d9b59,0x2ac)]=['ignore',_0x1cdb2c,_0x1e8e21],_0x522748[_0x15b3be(0x128,0x223)+_0x548895(_0x2c7aac._0x13ba42,0x5f3)]=!![];const _0x4e90d0=spawn(_0x27321c,_0x5e9a44,_0x522748);_0x4e90d0[_0x548895(0x5b8,0x51d)]();}finally{closeSync(_0x1cdb2c),closeSync(_0x1e8e21);}}function resolveScriptPath(_0x4b3eba){const _0x52c77a={_0x348821:0xa45,_0x4f6369:0x82a,_0x3ceb39:0x42c,_0xcc6aa3:0x61e,_0x1591a9:0x4d0},_0xcde5ae=_0x4b3eba?.[_0x2968d8(_0x52c77a._0x348821,_0x52c77a._0x4f6369)]()||process[_0x1183c4(_0x52c77a._0x3ceb39,0x2f1)][0x1]?.[_0x1183c4(_0x52c77a._0xcc6aa3,_0x52c77a._0x1591a9)]()||'';function _0x1183c4(_0x942f58,_0x297b6e){return _0x32d8ea(_0x297b6e,_0x942f58- -0x411);}function _0x2968d8(_0x418d19,_0x582f76){return _0x32d8ea(_0x418d19,_0x582f76- -0x205);}if(!_0xcde5ae)return'';try{return realpathSync(_0xcde5ae);}catch{return _0xcde5ae;}}function ensureLaunchScriptExecutable(_0x46cc59,_0x52029c){const _0x4f295e={_0x16619e:0x34a,_0x43cc8d:0x39d};if(_0x52029c===_0x544828(_0x4f295e._0x16619e,_0x4f295e._0x43cc8d)||!_0x103d0e(_0x46cc59))return;function _0x544828(_0x1fe3e3,_0x46f06e){return _0x3a7f13(_0x46f06e,_0x1fe3e3- -0xc6);}try{chmodSync(_0x46cc59,0x1ed);}catch{}}function writeServiceLauncher(_0x2b94cb){const _0x4e164c={_0x3760cd:0x2c6,_0x409a49:0x89,_0x349020:0x3f8,_0x4a01ca:0x1d,_0x118298:0xd4,_0x4c0362:0x28a,_0x2494b1:0xc5,_0x66f8a8:0x33f,_0x33783f:0x98,_0x371574:0x219,_0x507fe0:0xf,_0x301276:0x367,_0x19d9b9:0x4ec,_0x1f149e:0x406,_0x69c7eb:0x223,_0x192a12:0xba,_0xd69bd8:0x273,_0x27b2eb:0x521,_0x1f1255:0x8f,_0x4168f3:0xdb,_0x2e3414:0x2ae,_0x5266b1:0x215,_0x552f03:0x333,_0x3c2838:0x335,_0x543bc5:0xc3,_0x79879c:0x1c7,_0x53bc4e:0x45,_0x61145:0x209,_0xd4b940:0xef,_0x17c370:0x275,_0x23cd27:0x37,_0xe2f25c:0x1d2,_0x1cc05e:0x31c,_0x5cb890:0x3d2},_0x1567a2={_0x5d4690:0x4cc},_0xac0c37={'xiIsE':function(_0x5eb71d,_0x3545d7){return _0x5eb71d(_0x3545d7);},'GvmKQ':function(_0x318a5e,_0x716e4c){return _0x318a5e(_0x716e4c);},'tyxnR':_0x7ef03e(_0x4e164c._0x3760cd,_0x4e164c._0x409a49)+_0x7ef03e(0x48b,_0x4e164c._0x349020)+_0x7ef03e(0x487,0x307)+_0x7ef03e(_0x4e164c._0x4a01ca,0xf5)+_0x7ef03e(0x227,_0x4e164c._0x118298)+_0x7ef03e(_0x4e164c._0x4c0362,_0x4e164c._0x2494b1)};ensureServiceDirs();function _0x7ef03e(_0x5a9a4e,_0xac5595){return _0x32d8ea(_0x5a9a4e,_0xac5595- -0x5f8);}const _0x51f887=[_0x7ef03e(0x1b4,_0x4e164c._0x66f8a8)+'h',_0x338299(0x30d,0x307)+_0x7ef03e(0x16d,0x147)+escapeShellDoubleQuoted(_0x2b94cb[_0x7ef03e(0x237,_0x4e164c._0x33783f)])+'\x22',_0x7ef03e(_0x4e164c._0x371574,-_0x4e164c._0x507fe0)+_0x7ef03e(_0x4e164c._0x301276,0x172)+_0xac0c37[_0x7ef03e(_0x4e164c._0x19d9b9,_0x4e164c._0x1f149e)](escapeShellDoubleQuoted,_0x2b94cb[_0x338299(0x205,_0x4e164c._0x69c7eb)])+'\x22',_0x7ef03e(_0x4e164c._0x192a12,0x254)+_0x338299(0x39a,_0x4e164c._0xd69bd8)+_0xac0c37[_0x338299(_0x4e164c._0x27b2eb,0x4e3)](escapeShellDoubleQuoted,_0x2b94cb[_0x7ef03e(_0x4e164c._0x1f1255,_0x4e164c._0x4168f3)+'th'])+'\x22',_0x338299(0x34d,_0x4e164c._0x2e3414)+'\x22$NODE_P'+_0x7ef03e(_0x4e164c._0x5266b1,_0x4e164c._0x552f03)+_0x7ef03e(0x1a4,0x76),_0xac0c37['tyxnR'],'fi',_0x338299(_0x4e164c._0x3c2838,0x308)+'nd\x20-v\x20no'+_0x338299(0x4d5,0x438)+_0x338299(_0x4e164c._0x543bc5,0x247)+_0x7ef03e(_0x4e164c._0x79879c,-0x31),_0x338299(-_0x4e164c._0x53bc4e,0xe2)+_0x338299(0x2c4,0xdf)+'RIPT_PAT'+'H\x22\x20run\x20-'+'-service','fi',_0x7ef03e(0xdd,_0x4e164c._0x61145)+_0x338299(0x3be,0x180)+'me\x20not\x20f'+_0x7ef03e(0x6a,_0x4e164c._0xd4b940)+_0x7ef03e(_0x4e164c._0x17c370,_0x4e164c._0x23cd27)+_0x338299(0xe,_0x4e164c._0xe2f25c)+'service\x22'+_0x7ef03e(_0x4e164c._0x1cc05e,0x21e),_0x338299(_0x4e164c._0x5cb890,0x490),''];function _0x338299(_0x4cee4a,_0x4cd23c){return _0x32d8ea(_0x4cee4a,_0x4cd23c- -_0x1567a2._0x5d4690);}return _0x5e0dad(SERVICE_LAUNCHER_PATH,_0x51f887['join']('\x0a'),_0x7ef03e(0x1e3,0x360)),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x4534d6){const _0x248770={_0x4fc718:0x34c,_0x154bdc:0x37b},_0x2c807d={_0x19c4cb:0x4d5};function _0x20648c(_0x243fe5,_0x2c77f5){return _0x32d8ea(_0x243fe5,_0x2c77f5- -0x6c3);}function _0x5dc1de(_0x4b796e,_0x5067){return _0x32d8ea(_0x4b796e,_0x5067- -_0x2c807d._0x19c4cb);}return _0x4534d6[_0x20648c(0x152,0x18d)+'ll']('\x5c','\x5c\x5c')[_0x5dc1de(_0x248770._0x4fc718,_0x248770._0x154bdc)+'ll']('\x22','\x5c\x22')['replaceA'+'ll']('$','\x5c$')[_0x20648c(0x77,0x18d)+'ll']('`','\x5c`');}function buildWindowsRunCommand(_0x2c3d90){const _0x50f6ae={_0x386a15:0x30e};function _0x3dc492(_0x56263d,_0x10042b){return _0x32d8ea(_0x10042b,_0x56263d- -0x32f);}function _0x18d847(_0x54c647,_0x40afa4){return _0x32d8ea(_0x40afa4,_0x54c647- -0x5dd);}return _0x2c3d90[_0x3dc492(0x444,_0x50f6ae._0x386a15)](escapeWindowsArg)[_0x18d847(0x408,0x394)]('\x20');}function ensureServiceDirs(){const _0x3d0aa0={_0x2ff423:0x1a4},_0x31d8c5={_0x5ab6a5:0x196},_0x302af5={};_0x302af5[_0xf13ad(0x104,_0x3d0aa0._0x2ff423)+'e']=!![],_0x2669a4(SERVICE_DIR,_0x302af5);function _0x1ea10a(_0x1dece3,_0x48eed7){return _0x3a7f13(_0x1dece3,_0x48eed7-_0x31d8c5._0x5ab6a5);}function _0xf13ad(_0x597a80,_0xcb45fb){return _0x3a7f13(_0x597a80,_0xcb45fb-0x10);}const _0x1ad26f={};_0x1ad26f[_0xf13ad(-0x97,0x1a4)+'e']=!![],_0x2669a4(LOG_DIR,_0x1ad26f);}function escapeXml(_0x39bb03){const _0x1ba379={_0x5d8b53:0x88a,_0x349092:0x765,_0x3dc899:0x6ad,_0x35523a:0x105,_0x42b9fd:0x1d7,_0x34ba7e:0x1d7,_0x276461:0x286,_0x114597:0x2f1};function _0x3a7911(_0xfb2dd3,_0x150095){return _0x3a7f13(_0x150095,_0xfb2dd3- -0x253);}const _0x125304={};_0x125304[_0x8914a8(0xa9c,_0x1ba379._0x5d8b53)]='&amp;';function _0x8914a8(_0x3c1f43,_0x5665aa){return _0x3a7f13(_0x3c1f43,_0x5665aa-0x283);}const _0x2463b0=_0x125304;return _0x39bb03['replaceA'+'ll']('&',_0x2463b0[_0x8914a8(0x961,_0x1ba379._0x5d8b53)])[_0x8914a8(_0x1ba379._0x349092,_0x1ba379._0x3dc899)+'ll']('<',_0x3a7911(_0x1ba379._0x35523a,0x78))[_0x3a7911(_0x1ba379._0x42b9fd,0x320)+'ll']('>','&gt;')[_0x3a7911(_0x1ba379._0x34ba7e,_0x1ba379._0x276461)+'ll']('\x22',_0x3a7911(0x365,_0x1ba379._0x114597))['replaceA'+'ll']('\x27',_0x8914a8(0x63a,0x722));}function escapeSystemdArg(_0x3e1278){function _0x13a663(_0x7f906a,_0x291f72){return _0x32d8ea(_0x291f72,_0x7f906a- -0x258);}return'\x22'+_0x3e1278['replaceA'+'ll']('\x5c','\x5c\x5c')[_0x13a663(0x5f8,0x764)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x580fe4){const _0x31f9e5={_0x186d92:0x771,_0x10a119:0x7be},_0xffef41={_0x2b6779:0xdf};function _0x4391e9(_0x46977b,_0x313dea){return _0x32d8ea(_0x313dea,_0x46977b- -_0xffef41._0x2b6779);}return'\x22'+_0x580fe4[_0x4391e9(_0x31f9e5._0x186d92,_0x31f9e5._0x10a119)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x133700,_0x9412c1){try{const _0x1ed3c3={};return _0x1ed3c3['stdio']='ignore',execFileSync(_0x133700,_0x9412c1,_0x1ed3c3),!![];}catch{return![];}}function execIgnoreFailure(_0x372739,_0x179080){const _0x510c67={_0x40f216:0x122},_0x2b4e97={'SLPAf':function(_0x32075e,_0x3d15e4,_0x542e7f,_0x27ef8c){return _0x32075e(_0x3d15e4,_0x542e7f,_0x27ef8c);}};function _0x15acd8(_0x4c4001,_0x5d6528){return _0x3a7f13(_0x5d6528,_0x4c4001- -0x101);}function _0x579463(_0x232430,_0x127fc6){return _0x3a7f13(_0x232430,_0x127fc6- -0xa0);}try{const _0x464700={};_0x464700['stdio']=_0x579463(0x5c8,0x41e),_0x2b4e97[_0x15acd8(0x7f,_0x510c67._0x40f216)](execFileSync,_0x372739,_0x179080,_0x464700);}catch{}}function rmIfExists(_0x1af702){const _0xd992d0={_0x21e709:0x51a};if(!_0x103d0e(_0x1af702))return;function _0x3f8dbc(_0x25d19f,_0x3a6b44){return _0x32d8ea(_0x3a6b44,_0x25d19f- -0x30f);}const _0x24d9ae={};_0x24d9ae[_0x3f8dbc(_0xd992d0._0x21e709,0x4cc)]=!![],_0x34a55c(_0x1af702,_0x24d9ae);}import{existsSync as _0x57e053,readFileSync as _0x1b8c77}from'fs';import{homedir as _0x1c41ad}from'os';import{join as _0x3ca535}from'path';var DEFAULT_GATEWAY_URL=_0x3a7f13(0x2a1,0x4a1)+_0x32d8ea(0x4ac,0x5f6)+_0x3a7f13(0x6ab,0x528);function resolveGatewayUrl(_0x3ccaeb){const _0x41e848={_0x47504a:0x3bc,_0x585841:0x22f,_0x44b81f:0x128,_0x4f0543:0x3f3,_0x3f3f09:0x4b7},_0x2df2a6={_0x222c4d:0x56c},_0xece52c=_0x3ccaeb?.[_0x4e58f7(0x351,0x355)]();function _0x3d3fdc(_0x23c4af,_0x5df981){return _0x32d8ea(_0x23c4af,_0x5df981- -_0x2df2a6._0x222c4d);}if(_0xece52c)return _0xece52c;const _0x10e1a0=readOpenClawInfo();if(typeof _0x10e1a0[_0x3d3fdc(_0x41e848._0x47504a,_0x41e848._0x585841)+_0x3d3fdc(_0x41e848._0x44b81f,0x2cf)]===_0x3d3fdc(_0x41e848._0x4f0543,_0x41e848._0x3f3f09))return'ws://127'+'.0.0.1:'+_0x10e1a0['gatewayP'+_0x4e58f7(0x221,0x161)];function _0x4e58f7(_0x27545c,_0x40aa5e){return _0x32d8ea(_0x27545c,_0x40aa5e- -0x6da);}return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x2c9fba={_0x567991:0x72c,_0x25cbd8:0x57,_0x258a4c:0x445,_0x46b840:0x34f,_0x363048:0x57d,_0x5e91dc:0x127,_0x10d6bb:0x62,_0x4d6952:0x494,_0x347290:0x2f7,_0x16c453:0x492,_0x20a0be:0x21c,_0x2a3cc3:0x1e7,_0x54c896:0x2a0,_0x1b00df:0x2ca,_0x55520f:0x49f,_0x4742bf:0x36e,_0x19c438:0x681,_0x5361d9:0x48e,_0xccb032:0x55a,_0x32a6b5:0x70f,_0x3fb023:0x598,_0x3b28a8:0x47c};function _0x5cb7eb(_0x42d711,_0x40b3e0){return _0x32d8ea(_0x42d711,_0x40b3e0- -0x5ef);}const _0x41399a={'dSdQw':'utf8','YfKwg':_0x51bfca(_0x2c9fba._0x567991,0x74a),'yQhgr':function(_0x69e2df,_0x59f191){return _0x69e2df===_0x59f191;},'yUOkp':function(_0x2db320,_0x573449){return _0x2db320(_0x573449);}},_0x1187c8=resolveOpenClawPaths();if(!_0x57e053(_0x1187c8[_0x5cb7eb(0x24c,_0x2c9fba._0x25cbd8)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};function _0x51bfca(_0x3c2d04,_0x366eaa){return _0x32d8ea(_0x366eaa,_0x3c2d04- -0x2f7);}try{const _0x44009d=JSON[_0x51bfca(_0x2c9fba._0x258a4c,0x570)](_0x1b8c77(_0x1187c8[_0x51bfca(_0x2c9fba._0x46b840,_0x2c9fba._0x363048)+'th'],_0x41399a[_0x5cb7eb(_0x2c9fba._0x5e91dc,0x153)])),_0x48c089=_0x44009d[_0x5cb7eb(-_0x2c9fba._0x10d6bb,0x196)]?.['port'],_0x156c6a=typeof _0x48c089===_0x41399a[_0x51bfca(_0x2c9fba._0x4d6952,_0x2c9fba._0x347290)]&&Number[_0x51bfca(_0x2c9fba._0x16c453,0x664)+'r'](_0x48c089)?_0x48c089:null,_0x1f6ec3=_0x41399a[_0x5cb7eb(0x373,_0x2c9fba._0x20a0be)](_0x44009d['gateway']?.['auth']?.[_0x5cb7eb(0x1e7,_0x2c9fba._0x2a3cc3)],_0x5cb7eb(0x473,_0x2c9fba._0x54c896))||_0x44009d[_0x51bfca(0x48e,_0x2c9fba._0x1b00df)]?.['auth']?.['mode']===_0x51bfca(_0x2c9fba._0x55520f,0x56f)?_0x44009d['gateway']['auth'][_0x5cb7eb(_0x2c9fba._0x4742bf,_0x2c9fba._0x2a3cc3)]:null,_0x19e23e=_0x41399a[_0x51bfca(0x6a8,_0x2c9fba._0x19c438)](readConfiguredSecret,_0x44009d[_0x51bfca(_0x2c9fba._0x5361d9,_0x2c9fba._0xccb032)]?.[_0x51bfca(_0x2c9fba._0x32a6b5,0x6f0)]?.[_0x51bfca(_0x2c9fba._0x3fb023,0x783)])??readGatewayTokenEnv(),_0x4a3767=readConfiguredSecret(_0x44009d[_0x51bfca(0x48e,0x3b5)]?.[_0x51bfca(0x70f,0x87d)]?.[_0x5cb7eb(0x3cb,0x1a7)])??readGatewayPasswordEnv(),_0xf1256d={};return _0xf1256d['configFo'+_0x5cb7eb(_0x2c9fba._0x3b28a8,0x2b0)]=!![],_0xf1256d[_0x51bfca(0x4a4,0x3ec)+_0x51bfca(0x544,0x57c)]=_0x156c6a,_0xf1256d[_0x5cb7eb(0x45d,0x2bc)]=_0x1f6ec3,_0xf1256d[_0x5cb7eb(0x446,0x2a0)]=_0x19e23e,_0xf1256d['password']=_0x4a3767,_0xf1256d;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x3812e8={_0x4632d0:0x7b8,_0xe24fce:0x1c8,_0x5a7f72:0x882,_0x3c620b:0xa11,_0x545d22:0x31d,_0x2be9d3:0x17e,_0x1ae62f:0x9c1,_0x1fe46d:0x631,_0x759a75:0x5e3,_0x3ee91a:0x120,_0x20749d:0xbc,_0x37c3ba:0x12,_0x53fdff:0x58,_0x71281f:0x8c9,_0x4341e0:0x641,_0x43163d:0x7f5,_0x17964a:0x85f,_0x4f067b:0x855,_0x3103e7:0x289,_0x4fb7ce:0xd1,_0x4979f7:0x6c,_0x4bfb05:0x26e,_0x499a48:0x271,_0x18061f:0xb3,_0xf9d2b1:0x3f9,_0x525c15:0x843,_0x4ec3fa:0x882,_0x44e8c9:0x938,_0x1d1977:0x7a,_0x10f604:0x71e,_0x293174:0x2c7,_0x59cef5:0xb,_0x27efa7:0x2bd,_0x93714d:0x8f0,_0x2ad971:0x346},_0x2e0f81={_0xdf604a:0xd},_0x148d2f={_0x2371cd:0x711},_0x2961f8={};_0x2961f8[_0x111784(0x651,_0x3812e8._0x4632d0)]=function(_0x3cedef,_0x29d357){return _0x3cedef===_0x29d357;},_0x2961f8['xjMjo']=_0x179e65(-_0x3812e8._0xe24fce,0x85),_0x2961f8[_0x111784(0x9a1,0x80b)]=_0x111784(_0x3812e8._0x5a7f72,0x8d9);const _0x1af41c=_0x2961f8;function _0x179e65(_0x239a7c,_0x42aad4){return _0x32d8ea(_0x239a7c,_0x42aad4- -_0x148d2f._0x2371cd);}const _0x52fa94=readOpenClawInfo(),_0x369912=_0x52fa94[_0x179e65(0x146,0x17e)],_0x327235=_0x52fa94[_0x179e65(-0x1b4,0x85)];if(_0x369912&&_0x327235&&_0x52fa94[_0x111784(0x89e,_0x3812e8._0x3c620b)]==null){const _0xdf167d={};return _0xdf167d[_0x179e65(_0x3812e8._0x545d22,_0x3812e8._0x2be9d3)]=_0x369912,_0xdf167d['password']=_0x327235,_0xdf167d[_0x111784(_0x3812e8._0x1ae62f,0xb56)]=_0x111784(0x882,0xa83),_0xdf167d[_0x111784(_0x3812e8._0x1fe46d,_0x3812e8._0x759a75)]='OpenClaw'+_0x179e65(0xab,-_0x3812e8._0x3ee91a)+'h\x20gatewa'+_0x179e65(-0xac,-0x57)+'and\x20pass'+_0x179e65(_0x3812e8._0x20749d,-_0x3812e8._0x37c3ba)+_0x179e65(0x1e5,-_0x3812e8._0x53fdff)+_0x179e65(0x179,-0x95)+_0x111784(_0x3812e8._0x71281f,0xa67)+_0x179e65(-0x1ae,-0x48)+_0x111784(_0x3812e8._0x4341e0,_0x3812e8._0x43163d)+_0x111784(_0x3812e8._0x17964a,_0x3812e8._0x4f067b)+_0x179e65(_0x3812e8._0x3103e7,0x19f)+_0x179e65(-0x2d1,-_0x3812e8._0x4fb7ce)+_0x111784(0x654,0x6f3)+_0x179e65(_0x3812e8._0x4979f7,_0x3812e8._0x4bfb05)+_0x179e65(0x223,0x53)+'g.',_0xdf167d;}if(_0x1af41c[_0x179e65(-_0x3812e8._0x499a48,-_0x3812e8._0x18061f)](_0x52fa94['authMode'],_0x1af41c[_0x111784(0x603,_0x3812e8._0xf9d2b1)])){const _0x15fe4e={};return _0x15fe4e[_0x179e65(-0xd,_0x3812e8._0x2be9d3)]=null,_0x15fe4e[_0x111784(0x789,_0x3812e8._0x525c15)]=null,_0x15fe4e[_0x111784(_0x3812e8._0x1ae62f,0x976)]=null,_0x327235?{'token':null,'password':_0x327235,'label':'password'}:_0x15fe4e;}if(_0x52fa94['authMode']===_0x1af41c[_0x111784(0x9a1,0x7df)]){const _0x50e5e8={};return _0x50e5e8[_0x111784(_0x3812e8._0x4ec3fa,0x6ab)]=null,_0x50e5e8[_0x111784(0x789,_0x3812e8._0x44e8c9)]=null,_0x50e5e8[_0x179e65(_0x3812e8._0x1d1977,0x2bd)]=null,_0x369912?{'token':_0x369912,'password':null,'label':'token'}:_0x50e5e8;}function _0x111784(_0x4a1fcc,_0x211b8a){return _0x32d8ea(_0x211b8a,_0x4a1fcc- -_0x2e0f81._0xdf604a);}if(_0x369912){const _0x17e841={};return _0x17e841[_0x111784(0x882,0xa7d)]=_0x369912,_0x17e841[_0x111784(0x789,_0x3812e8._0x10f604)]=null,_0x17e841[_0x179e65(_0x3812e8._0x293174,0x2bd)]=_0x111784(0x882,0x723),_0x17e841;}if(_0x327235){const _0x14351f={};return _0x14351f['token']=null,_0x14351f[_0x179e65(-_0x3812e8._0x59cef5,0x85)]=_0x327235,_0x14351f[_0x179e65(0xfe,_0x3812e8._0x27efa7)]=_0x1af41c['xjMjo'],_0x14351f;}const _0x929339={};return _0x929339['token']=null,_0x929339[_0x111784(0x789,_0x3812e8._0x93714d)]=null,_0x929339[_0x179e65(_0x3812e8._0x2ad971,0x2bd)]=null,_0x929339;}function getOpenClawConfigDir(){const _0x22d121={_0x27e940:0x253};function _0x54d1b7(_0x32e574,_0x3357c4){return _0x32d8ea(_0x32e574,_0x3357c4- -0x7b3);}return resolveOpenClawPaths()[_0x54d1b7(_0x22d121._0x27e940,0x45)+'r'];}function getOpenClawMediaDir(){const _0x553630={_0x341154:0x56a};function _0x3f8e15(_0x36fae1,_0x3636df){return _0x32d8ea(_0x36fae1,_0x3636df- -_0x553630._0x341154);}const _0x5b619c={'HsgUl':function(_0x399781){return _0x399781();}};return _0x5b619c[_0x3f8e15(0x12c,0xe8)](resolveOpenClawPaths)['mediaDir'];}function readConfiguredSecret(_0x4675a2){const _0x5bb179={_0x43020e:0x421,_0x1e2d4b:0x268,_0x5a65b5:0x475,_0x795405:0x22e},_0x37e641={_0x4e5d5a:0x425},_0x1ae9a2={};_0x1ae9a2[_0x49208e(0x1b8,0x268)]=function(_0x54abc9,_0x5dece0){return _0x54abc9===_0x5dece0;};const _0x231dc6=_0x1ae9a2;function _0x2e13fb(_0x18b3ea,_0x21fec0){return _0x32d8ea(_0x18b3ea,_0x21fec0- -0x3de);}function _0x49208e(_0x4104d5,_0x5bbc30){return _0x32d8ea(_0x4104d5,_0x5bbc30- -_0x37e641._0x4e5d5a);}return _0x231dc6[_0x49208e(_0x5bb179._0x43020e,_0x5bb179._0x1e2d4b)](typeof _0x4675a2,_0x2e13fb(_0x5bb179._0x5a65b5,_0x5bb179._0x795405))&&_0x4675a2['trim']()?_0x4675a2['trim']():null;}function readGatewayTokenEnv(){const _0x81eec5={_0x228e6c:0x58e,_0x5e1377:0x806,_0x45c7a6:0x533,_0x46fe27:0x6ab,_0x2df0fa:0x68a},_0x395db2={_0x56ad04:0xd9},_0x4cc6df={};function _0x4a91d0(_0x4c4b59,_0x5326c2){return _0x3a7f13(_0x5326c2,_0x4c4b59- -_0x395db2._0x56ad04);}_0x4cc6df['OUkbk']='OPENCLAW'+_0x1d5aeb(_0x81eec5._0x228e6c,0x3b9)+_0x1d5aeb(0x5e6,_0x81eec5._0x5e1377);function _0x1d5aeb(_0x561aa2,_0x53117c){return _0x3a7f13(_0x53117c,_0x561aa2-0x20d);}const _0x3cdec0=_0x4cc6df;return readEnvValue(_0x3cdec0[_0x1d5aeb(_0x81eec5._0x45c7a6,0x533)],_0x4a91d0(0x49d,_0x81eec5._0x46fe27)+_0x1d5aeb(_0x81eec5._0x228e6c,_0x81eec5._0x2df0fa)+'_TOKEN');}function readGatewayPasswordEnv(){const _0x510e24={_0x5d2932:0x60,_0x3df72f:0x13e,_0x1b612e:0x7d,_0x597f6c:0x18b,_0x4d3927:0x78,_0x1f759e:0x93,_0x1d1b3e:0x272},_0x2c70d4={_0x3b643f:0x72a};function _0x3899b1(_0x15b4e7,_0x37718a){return _0x32d8ea(_0x37718a,_0x15b4e7- -0x7af);}const _0x4c2240={};function _0x2acefc(_0x1610bb,_0x8052d7){return _0x32d8ea(_0x8052d7,_0x1610bb- -_0x2c70d4._0x3b643f);}_0x4c2240[_0x2acefc(-0x93,-_0x510e24._0x5d2932)]=_0x3899b1(-_0x510e24._0x3df72f,-0x263)+_0x2acefc(_0x510e24._0x1b612e,_0x510e24._0x597f6c)+_0x3899b1(-0xb2,-_0x510e24._0x4d3927)+'D';const _0x4b16b5=_0x4c2240;return readEnvValue(_0x4b16b5[_0x2acefc(-_0x510e24._0x1f759e,-0x256)],_0x2acefc(_0x510e24._0x1d1b3e,0x3ec)+'_GATEWAY'+'_PASSWOR'+'D');}function readEnvValue(_0x56121d,_0x97d755){const _0x4a2baf={_0x236f37:0x4e2,_0x43107d:0x309},_0x3a1a1f={_0x3b54b8:0x2cd},_0x3bf12a={_0x51a96e:0x127};function _0x5b010c(_0x2fdfb6,_0x593cff){return _0x3a7f13(_0x593cff,_0x2fdfb6- -_0x3bf12a._0x51a96e);}function _0x9e06b9(_0x428829,_0x2bb827){return _0x3a7f13(_0x428829,_0x2bb827- -_0x3a1a1f._0x3b54b8);}const _0x4b5e27=process.env[_0x56121d]?.[_0x5b010c(_0x4a2baf._0x236f37,_0x4a2baf._0x43107d)]();if(_0x4b5e27)return _0x4b5e27;const _0x4d5cd6=process.env[_0x97d755]?.[_0x5b010c(0x4e2,0x448)]();return _0x4d5cd6||null;}function resolveOpenClawPaths(){const _0x62d021={_0x1859ee:0x121};function _0x43f219(_0x20897f,_0x3f448b){return _0x32d8ea(_0x20897f,_0x3f448b- -0x39);}function _0x558cdc(_0xd3a20f,_0x5ae68a){return _0x32d8ea(_0x5ae68a,_0xd3a20f- -_0x62d021._0x1859ee);}const _0x3e155e=buildOpenClawCandidates();return _0x3e155e[_0x558cdc(0x752,0x8d0)](_0x345c03=>_0x57e053(_0x345c03[_0x558cdc(0x525,0x410)+'th']))??_0x3e155e[0x0];}function buildOpenClawCandidates(){const _0x49768d={_0x5c789d:0x857,_0x57aaec:0x918},_0x2b3db1={_0x550da0:0x474,_0x1df9c8:0xde,_0x1fadab:0x3},_0x1f3b05={_0x11ccdc:0x32e},_0x41614e={_0x31d6a1:0xc7},_0x5492ea={_0x5f2918:0x11b},_0x228223={'okGis':function(_0x2fc40b,_0xfd4f5f,_0x2e7a75){return _0x2fc40b(_0xfd4f5f,_0x2e7a75);}},_0xb68b77=new Set(),_0xe93fbe=[_0x1c41ad(),'/root']['map'](_0x31eccf=>_0x31eccf['trim']())['filter'](Boolean)[_0x35a930(_0x49768d._0x5c789d,_0x49768d._0x57aaec)](_0x5aadb2=>{if(_0xb68b77['has'](_0x5aadb2))return![];function _0x4cf0d8(_0x3f3bce,_0x3cee69){return _0x35a930(_0x3cee69- -0x4d7,_0x3f3bce);}return _0xb68b77[_0x4cf0d8(_0x5492ea._0x5f2918,0x189)](_0x5aadb2),!![];});function _0x4e339a(_0x24f537,_0x42a4f6){return _0x3a7f13(_0x24f537,_0x42a4f6-_0x41614e._0x31d6a1);}function _0x35a930(_0xc0e85e,_0x5159db){return _0x3a7f13(_0x5159db,_0xc0e85e-0x40f);}return _0xe93fbe[_0x4e339a(0x392,0x414)](_0x2be1a3=>{function _0x3d17b1(_0x9faeb4,_0x4fcb36){return _0x35a930(_0x9faeb4- -_0x1f3b05._0x11ccdc,_0x4fcb36);}function _0x30d8dc(_0x1bba48,_0x4907dd){return _0x35a930(_0x4907dd- -0x5b0,_0x1bba48);}const _0x2d8489=_0x228223[_0x30d8dc(0x5ee,_0x2b3db1._0x550da0)](_0x3ca535,_0x2be1a3,_0x3d17b1(0x523,0x43a)+'w');return{'configDir':_0x2d8489,'configPath':_0x3ca535(_0x2d8489,_0x30d8dc(0x3fd,0x215)+_0x30d8dc(-_0x2b3db1._0x1df9c8,_0x2b3db1._0x1fadab)),'mediaDir':_0x228223[_0x3d17b1(0x6f6,0x801)](_0x3ca535,_0x2d8489,'media')};});}var CONTROL_PREFIX='__clawke'+_0x32d8ea(0x3fb,0x603)+'control_'+'_:';function parseControl(_0xc8a0b5){const _0x2e2b1c={_0xd847ce:0x1be,_0x178d1e:0x18d,_0x418008:0x159,_0x396462:0x3a2,_0x1be8ce:0x8d6,_0x2eefaa:0x396,_0x2152a3:0x597,_0x31b1b2:0x764,_0xde712d:0x3a8,_0x4decc5:0x254,_0x46e7ac:0x26c},_0x5d5b6f={_0x3355ee:0x68d};function _0x330182(_0x148070,_0x3f9b13){return _0x32d8ea(_0x3f9b13,_0x148070- -0x159);}function _0x4c6792(_0x4f47d8,_0x1d1e08){return _0x32d8ea(_0x1d1e08,_0x4f47d8- -_0x5d5b6f._0x3355ee);}if(!_0xc8a0b5[_0x4c6792(-0x44,_0x2e2b1c._0xd847ce)+'th'](CONTROL_PREFIX))return null;try{const _0x1a92bc=JSON[_0x4c6792(0xaf,-_0x2e2b1c._0x178d1e)](_0xc8a0b5['slice'](CONTROL_PREFIX[_0x4c6792(0x14a,_0x2e2b1c._0x418008)]));if(typeof _0x1a92bc['event']!=='string'||!_0x1a92bc[_0x4c6792(0x17,0x1df)][_0x4c6792(_0x2e2b1c._0x396462,0x4fa)]())return null;return{'event':_0x1a92bc['event'][_0x330182(_0x2e2b1c._0x1be8ce,0x75b)](),'count':typeof _0x1a92bc[_0x330182(0x8dc,0x820)]===_0x4c6792(_0x2e2b1c._0x2eefaa,_0x2e2b1c._0x2152a3)&&Number[_0x330182(_0x2e2b1c._0x31b1b2,0x731)](_0x1a92bc[_0x4c6792(_0x2e2b1c._0xde712d,_0x2e2b1c._0x4decc5)])?_0x1a92bc[_0x4c6792(0x3a8,_0x2e2b1c._0x46e7ac)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x37d986){const _0x50c0aa={_0x4bf469:0x133,_0x2879cc:0x8f,_0x2d7c26:0x15a,_0x43f74b:0x4c,_0x3785dd:0xb2,_0x15a059:0xe4,_0x470cac:0x4,_0x1122cb:0x3,_0x223d4d:0x25f,_0x48bf8e:0x1c5,_0x382109:0x3,_0x99c11c:0x234,_0x24d916:0x70,_0x10313c:0xc4,_0x58bb0c:0x3aa,_0x18d2df:0x195,_0x7618fb:0xdc,_0xac2fc:0x199,_0x1e7f14:0x9,_0x5d24c7:0xba,_0x8c8c89:0x17,_0x388a4f:0x27c},_0x1ee63f={_0x28d567:0x738},_0x34d18c={};_0x34d18c[_0x108186(0x96,-_0x50c0aa._0x4bf469)]=_0x2883a3(_0x50c0aa._0x2879cc,_0x50c0aa._0x2d7c26),_0x34d18c['mBgAl']=_0x108186(-_0x50c0aa._0x43f74b,-_0x50c0aa._0x3785dd);function _0x2883a3(_0x5a0965,_0x14de3b){return _0x32d8ea(_0x5a0965,_0x14de3b- -_0x1ee63f._0x28d567);}function _0x108186(_0x149fff,_0x545853){return _0x32d8ea(_0x545853,_0x149fff- -0x658);}const _0x1db803=_0x34d18c;try{const _0x3c3f2a=JSON[_0x2883a3(-_0x50c0aa._0x15a059,_0x50c0aa._0x470cac)](_0x37d986);if(_0x3c3f2a['type']!==_0x1db803['Jkbcv'])return null;if(_0x3c3f2a[_0x2883a3(-0xfc,_0x50c0aa._0x1122cb)]!==_0x108186(_0x50c0aa._0x223d4d,_0x50c0aa._0x48bf8e)&&_0x3c3f2a[_0x2883a3(-0x10e,_0x50c0aa._0x382109)]!==_0x108186(_0x50c0aa._0x99c11c,_0x50c0aa._0x24d916)+'start')return null;const _0xef000f=_0x3c3f2a['params']??{},_0x1b2448=typeof _0x3c3f2a['id']===_0x1db803[_0x2883a3(-_0x50c0aa._0x10313c,0x120)]&&_0x3c3f2a['id'][_0x2883a3(0x424,0x2f7)]()?_0x3c3f2a['id'][_0x2883a3(0x3a6,0x2f7)]():_0x2883a3(-_0x50c0aa._0x58bb0c,-0x167)+Math[_0x108186(0x259,0x2a3)]()[_0x2883a3(_0x50c0aa._0x18d2df,_0x50c0aa._0x7618fb)](0x24)[_0x2883a3(_0x50c0aa._0xac2fc,_0x50c0aa._0x1e7f14)](0x2,0xc),_0x1ba450=firstString(_0xef000f[_0x2883a3(_0x50c0aa._0x5d24c7,-_0x50c0aa._0x3785dd)+'me'],_0xef000f['clientNa'+'me'],_0xef000f[_0x108186(-_0x50c0aa._0x8c8c89,-0x1a8)],'Mobile\x20C'+_0x108186(_0x50c0aa._0x388a4f,0x7b)),_0x126a44={};return _0x126a44['id']=_0x1b2448,_0x126a44['label']=_0x1ba450,_0x126a44;}catch{return null;}}function isConnectHandshakeRequest(_0x37b3eb){const _0x21ea28={_0x212dee:0x841,_0x14927e:0xa4c,_0x315b68:0x59f,_0x1848da:0x7a5,_0x56aac3:0x306};function _0x3f82bc(_0x502a1e,_0x312e7d){return _0x3a7f13(_0x312e7d,_0x502a1e-0x3d5);}function _0x2e7080(_0x419604,_0xdbbd0a){return _0x3a7f13(_0x419604,_0xdbbd0a- -0x264);}try{const _0x57dc84=JSON[_0x3f82bc(0x6eb,0x5a8)](_0x37b3eb);return _0x57dc84['type']===_0x3f82bc(_0x21ea28._0x212dee,_0x21ea28._0x14927e)&&(_0x57dc84[_0x3f82bc(0x6ea,_0x21ea28._0x315b68)]===_0x3f82bc(0x866,_0x21ea28._0x1848da)||_0x57dc84[_0x3f82bc(0x6ea,0x73c)]===_0x2e7080(-0x36,0x202)+_0x2e7080(_0x21ea28._0x56aac3,0x364));}catch{return![];}}function parseConnectHandshakeMeta(_0x15b8b0){const _0x56f22d={_0x8147f6:0x280,_0x4b6316:0x522,_0x53943b:0x3f6,_0x48fffc:0x4bf,_0xc609d4:0x656,_0x2577d3:0x192,_0x570038:0x21,_0x4a948f:0x17f,_0x2d12b1:0x5e5,_0x10c723:0x62b,_0x2af0dc:0x1c6,_0x30d2fe:0x12,_0x5a80f8:0x51f,_0x42ab7a:0x43b,_0x59ff11:0x31,_0x5d2f31:0x6cc,_0x5bbd06:0x3fa,_0x20aa4e:0x66e,_0x3e3cc4:0x343,_0x2a2087:0x499,_0x3547fc:0x5dc,_0x420afd:0x43f,_0x5e5cab:0xa8,_0x493e34:0x100,_0x27accc:0x276,_0x1659ad:0x57,_0x30be09:0x2a5,_0x2574a2:0x251};function _0x580e23(_0x1ec97a,_0x25adc4){return _0x32d8ea(_0x1ec97a,_0x25adc4- -0x74d);}const _0x3d6429={};_0x3d6429[_0x580e23(0x490,_0x56f22d._0x8147f6)]=_0x143817(_0x56f22d._0x4b6316,0x4fa),_0x3d6429[_0x143817(0x452,_0x56f22d._0x53943b)]=_0x143817(0x2d2,0x4f4)+_0x143817(_0x56f22d._0x48fffc,_0x56f22d._0xc609d4),_0x3d6429[_0x580e23(-_0x56f22d._0x2577d3,_0x56f22d._0x570038)]=_0x580e23(-_0x56f22d._0x4a948f,-0x141),_0x3d6429[_0x143817(_0x56f22d._0x2d12b1,0x45d)]=function(_0xe3c444,_0x2c10f4){return _0xe3c444===_0x2c10f4;},_0x3d6429[_0x143817(0x4a0,_0x56f22d._0x10c723)]=function(_0x22442a,_0x58fb51){return _0x22442a===_0x58fb51;};const _0x3363f6=_0x3d6429;function _0x143817(_0x4a920b,_0x5f22fd){return _0x32d8ea(_0x4a920b,_0x5f22fd- -0x398);}try{const _0x570309=JSON['parse'](_0x15b8b0);if(_0x570309[_0x580e23(0x229,0x132)]!==_0x3363f6['KsZVQ'])return null;if(_0x570309[_0x580e23(_0x56f22d._0x2af0dc,-_0x56f22d._0x30d2fe)]!==_0x143817(0x413,_0x56f22d._0x5a80f8)&&_0x570309[_0x143817(0x546,0x3a3)]!==_0x3363f6['jZMmI'])return null;const _0x3f83ac=_0x570309[_0x143817(_0x56f22d._0x42ab7a,0x397)]?.[_0x580e23(-0x95,-_0x56f22d._0x59ff11)]?.[_0x143817(_0x56f22d._0x5d2f31,0x68e)],_0x4bf3e8=_0x570309[_0x143817(_0x56f22d._0x5bbd06,0x397)]?.[_0x143817(0x83b,_0x56f22d._0x20aa4e)];return{'id':typeof _0x570309['id']===_0x580e23(-_0x56f22d._0x3e3cc4,-0x141)&&_0x570309['id']['trim']()?_0x570309['id'][_0x580e23(0x4fc,0x2e2)]():null,'method':_0x570309[_0x143817(_0x56f22d._0x2a2087,0x3a3)],'noncePresent':typeof _0x3f83ac===_0x3363f6[_0x143817(_0x56f22d._0x3547fc,0x3d6)]&&_0x3f83ac[_0x143817(0x5ba,_0x56f22d._0x420afd)]>0x0,'nonceLength':_0x3363f6[_0x580e23(-0x30,_0x56f22d._0x5e5cab)](typeof _0x3f83ac,_0x3363f6[_0x580e23(-_0x56f22d._0x493e34,0x21)])?_0x3f83ac['length']:null,'authFields':_0x4bf3e8&&_0x3363f6[_0x580e23(0x159,_0x56f22d._0x27accc)](typeof _0x4bf3e8,_0x580e23(-0x185,-_0x56f22d._0x1659ad))?Object[_0x143817(0x759,0x630)](_0x4bf3e8)[_0x580e23(_0x56f22d._0x30be09,_0x56f22d._0x2574a2)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x521a90,_0x82134c=Date[_0x32d8ea(0x9f2,0xa16)]()){const _0x6bd566={_0x1c624d:0xb43,_0x441200:0x5d9,_0x194d36:0x3b0,_0x5e9ef4:0x1e8,_0x3d527f:0x6a1,_0x48f87b:0x17b,_0xaa271c:0x332,_0x5461fb:0x2e4,_0x577c56:0x4ee,_0xc5ae89:0xa3,_0x4279b7:0x1e6,_0x456409:0x85f,_0x3073f6:0x71,_0x44e0a5:0x163,_0x363ef2:0x727,_0x28f938:0x733,_0x3f8f1d:0x91a,_0x107ef4:0xa3,_0x3a7ead:0xbf,_0x4bd1c2:0x1bd,_0x14760f:0x6cf,_0x512782:0x429,_0xcdec40:0x3cf,_0xe4d1c6:0x2eb,_0x2536a3:0x9c2,_0x3d45c0:0x104,_0x160c57:0x776,_0x5c4cbd:0x811,_0x562898:0x381,_0x41ee36:0xa6,_0x21466f:0x625,_0xe6b46a:0x947,_0x5821af:0xae2,_0x5f02f6:0x9d9,_0x2279aa:0x20d,_0xa4584b:0x217},_0x2e7f25={_0x5a3981:0x175},_0x5109ab={_0xa3279f:0x3e0};function _0xac88f9(_0x16d208,_0x507d2c){return _0x3a7f13(_0x507d2c,_0x16d208-_0x5109ab._0xa3279f);}const _0x31619a={'YuzbE':_0xac88f9(0x5c7,0x4a7),'fxmeZ':function(_0x5c3b98,_0x23f3e2){return _0x5c3b98===_0x23f3e2;},'SQzbU':_0xac88f9(0x97e,_0x6bd566._0x1c624d)+'ED','itDKe':_0xac88f9(_0x6bd566._0x441200,_0x6bd566._0x194d36)+_0x3b3c54(_0x6bd566._0x5e9ef4,0x23b),'xkPeO':_0xac88f9(0x8d8,_0x6bd566._0x3d527f),'OKzIu':function(_0x473b6c,_0x2753b4){return _0x473b6c(_0x2753b4);},'pQLfx':_0x3b3c54(_0x6bd566._0x48f87b,_0x6bd566._0xaa271c)};function _0x3b3c54(_0x2ac9f6,_0x58a899){return _0x3a7f13(_0x58a899,_0x2ac9f6- -_0x2e7f25._0x5a3981);}try{const _0x3876c2=JSON[_0xac88f9(0x6f6,0x61c)](_0x521a90);if(_0x3876c2[_0x3b3c54(_0x6bd566._0x5461fb,_0x6bd566._0x577c56)]!==_0x31619a[_0x3b3c54(0x3ad,0x296)]||_0x3876c2['ok']!==![]||!_0x3876c2['error'])return null;const _0x1410e3=typeof _0x3876c2[_0x3b3c54(_0x6bd566._0xc5ae89,_0x6bd566._0x4279b7)][_0xac88f9(0x727,_0x6bd566._0x456409)]===_0x3b3c54(_0x6bd566._0x3073f6,0x79)?_0x3876c2[_0x3b3c54(_0x6bd566._0xc5ae89,-_0x6bd566._0x44e0a5)][_0xac88f9(_0x6bd566._0x363ef2,0x91b)]:'',_0x1f4c99=_0x31619a[_0xac88f9(_0x6bd566._0x28f938,_0x6bd566._0x3f8f1d)](typeof _0x3876c2[_0x3b3c54(_0x6bd566._0x107ef4,-_0x6bd566._0x3a7ead)][_0x3b3c54(0x246,0x46e)],_0x3b3c54(_0x6bd566._0x3073f6,_0x6bd566._0x4bd1c2))?_0x3876c2['error'][_0xac88f9(0x79b,_0x6bd566._0x14760f)]:'';if(!_0x1410e3['includes'](_0x3b3c54(_0x6bd566._0x512782,_0x6bd566._0xcdec40)+'ED')&&!_0x1410e3[_0x3b3c54(0x2cb,_0x6bd566._0xe4d1c6)]('PAIRING_'+_0xac88f9(0x802,_0x6bd566._0x2536a3))&&!_0x1f4c99[_0x3b3c54(0x2cb,_0x6bd566._0x3d45c0)](_0x31619a['SQzbU'])&&!_0x1f4c99[_0xac88f9(0x820,0x769)](_0x31619a[_0x3b3c54(0x173,0x74)]))return null;const _0x1ca0d6=_0x3876c2['error'][_0xac88f9(_0x6bd566._0x160c57,0x634)]??_0x3876c2[_0x3b3c54(0xa3,-0xc9)]['data']??{},_0x1591f0=firstString(_0x1ca0d6[_0xac88f9(0x8dc,_0x6bd566._0x5c4cbd)+'d'],extractRequestIdFromMessage(_0x1f4c99),_0x31619a[_0x3b3c54(0x49d,_0x6bd566._0x562898)]);return{'requestId':_0x1591f0,'deviceId':firstString(_0x1ca0d6[_0x3b3c54(_0x6bd566._0x41ee36,-0x2)],''),'displayName':_0x31619a[_0xac88f9(_0x6bd566._0x21466f,0x7d9)](firstNullableString,_0x1ca0d6['displayN'+_0xac88f9(_0x6bd566._0xe6b46a,_0x6bd566._0x5821af)]),'platform':firstNullableString(_0x1ca0d6[_0xac88f9(0x72e,0x841)]),'deviceFamily':firstNullableString(_0x1ca0d6['deviceFa'+_0x3b3c54(0x6f,0xc7)]),'role':_0x31619a['OKzIu'](firstNullableString,_0x1ca0d6[_0xac88f9(_0x6bd566._0x5f02f6,0xbe3)]),'remoteIp':firstNullableString(_0x1ca0d6[_0x3b3c54(_0x6bd566._0x2279aa,_0x6bd566._0xa4584b)]),'receivedAtMs':_0x82134c,'status':_0x31619a[_0x3b3c54(0x30a,0x2a0)]};}catch{return null;}}function parsePairResolvedEvent(_0x1615b6){const _0x4a011a={_0x2a5559:0x62f,_0x55469e:0x89a,_0x470b2e:0x646,_0x2c4b32:0x566,_0x26aa1c:0x61f,_0x498fdb:0x7d7,_0xfa8caf:0x5b4,_0x3f5792:0x667,_0x66b8ba:0x6cd,_0x1932d5:0x747,_0x39be9f:0x4d6,_0x2098ae:0x7ee,_0x387a85:0x719,_0x3bdb8b:0x832,_0x2044cf:0x605,_0x3dee17:0x557,_0x12649b:0x516,_0x36a2c0:0x41a,_0x1a60d3:0x738,_0x240071:0x4f4,_0x4d4e15:0x9d5,_0x7d2a83:0x88d,_0x1fd0d8:0x79e,_0x11f658:0x3f5},_0x5f4812={_0x37ead5:0x330};function _0x2b6218(_0x164110,_0x30e79f){return _0x3a7f13(_0x30e79f,_0x164110-_0x5f4812._0x37ead5);}const _0x413c99={};_0x413c99[_0x8840e2(0x427,_0x4a011a._0x2a5559)]=_0x8840e2(_0x4a011a._0x55469e,0x866),_0x413c99['EBcGZ']=function(_0x2d337f,_0x160e40){return _0x2d337f===_0x160e40;};function _0x8840e2(_0x39216e,_0x4cd556){return _0x3a7f13(_0x39216e,_0x4cd556-0x336);}const _0x1f9085=_0x413c99;try{const _0x24d1b2=JSON[_0x2b6218(_0x4a011a._0x470b2e,_0x4a011a._0x2c4b32)](_0x1615b6);if(_0x24d1b2[_0x2b6218(0x789,_0x4a011a._0x26aa1c)]!==_0x8840e2(_0x4a011a._0x498fdb,_0x4a011a._0xfa8caf)||_0x24d1b2[_0x8840e2(_0x4a011a._0x3f5792,0x5b4)]!==_0x2b6218(0x5fd,0x51a)+_0x2b6218(_0x4a011a._0x66b8ba,0x8a4)+_0x8840e2(_0x4a011a._0x1932d5,0x597)||!_0x24d1b2[_0x8840e2(_0x4a011a._0x39be9f,0x60b)])return null;const _0x5504d5=typeof _0x24d1b2[_0x8840e2(_0x4a011a._0x2098ae,0x60b)]['requestI'+'d']==='string'?_0x24d1b2[_0x2b6218(0x605,0x51e)][_0x8840e2(_0x4a011a._0x387a85,_0x4a011a._0x3bdb8b)+'d']['trim']():'';if(!_0x5504d5)return null;const _0x5ca5d7=typeof _0x24d1b2[_0x2b6218(_0x4a011a._0x2044cf,0x6e6)][_0x8840e2(0x3e7,_0x4a011a._0x3dee17)]===_0x2b6218(_0x4a011a._0x12649b,_0x4a011a._0x36a2c0)?_0x24d1b2[_0x2b6218(0x605,_0x4a011a._0x1a60d3)][_0x2b6218(0x551,_0x4a011a._0x240071)]:'unknown',_0x5e9aa1=_0x5ca5d7===_0x1f9085['YLJGg']||_0x1f9085[_0x8840e2(_0x4a011a._0x4d4e15,_0x4a011a._0x7d2a83)](_0x5ca5d7,_0x8840e2(0x311,0x4bf))?_0x5ca5d7:'unknown',_0x3e1960={};return _0x3e1960[_0x2b6218(0x82c,_0x4a011a._0x1fd0d8)+'d']=_0x5504d5,_0x3e1960[_0x2b6218(0x551,_0x4a011a._0x11f658)]=_0x5e9aa1,_0x3e1960;}catch{return null;}}function firstString(..._0x206b6d){const _0x486d16={_0x3ffa99:0x219,_0x47ac96:0x457},_0x7c2ebc={_0x34d8d3:0x1b2};for(const _0x8a8eb4 of _0x206b6d){if(typeof _0x8a8eb4===_0x3bd7f4(-_0x486d16._0x3ffa99,0x34)&&_0x8a8eb4['trim']())return _0x8a8eb4[_0x3bd7f4(0x673,_0x486d16._0x47ac96)]();}function _0x3bd7f4(_0x3f84d6,_0x4b44b4){return _0x3a7f13(_0x3f84d6,_0x4b44b4- -_0x7c2ebc._0x34d8d3);}function _0x573fc4(_0xe41b94,_0x41047a){return _0x3a7f13(_0xe41b94,_0x41047a- -0x395);}return'';}function firstNullableString(_0x570dd9){const _0x4a5605={_0x548c87:0x634},_0x5b8f9b={_0x59dad2:0x18a};function _0x2819f4(_0xcc9aff,_0x3de583){return _0x32d8ea(_0xcc9aff,_0x3de583- -_0x5b8f9b._0x59dad2);}const _0x5aaa65={};function _0x376f96(_0x5b2c3b,_0x3285db){return _0x32d8ea(_0x5b2c3b,_0x3285db- -0x30e);}_0x5aaa65['whPbo']=function(_0x5c8f59,_0x200f95){return _0x5c8f59===_0x200f95;};const _0x1913b3=_0x5aaa65;return _0x1913b3['whPbo'](typeof _0x570dd9,_0x2819f4(_0x4a5605._0x548c87,0x482))&&_0x570dd9['trim']()?_0x570dd9[_0x376f96(0x910,0x721)]():null;}function extractRequestIdFromMessage(_0xeef4fa){const _0xf31e08={_0x143ffc:0x5cc,_0x325506:0x669},_0xf56788={_0x39ffeb:0x330};function _0x56be58(_0x5357c8,_0x1af215){return _0x3a7f13(_0x1af215,_0x5357c8-_0xf56788._0x39ffeb);}const _0x5ec343=_0xeef4fa[_0x56be58(_0xf31e08._0x143ffc,_0xf31e08._0x325506)](/requestId[:\s]*([a-f0-9-]+)/i);return _0x5ec343?.[0x1]??null;}import{randomUUID as _0x45799a}from'crypto';import{setTimeout as _0x20a233}from'timers/promises';import _0x30847f 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,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x3a7f13(0x31f,0x2e4)];[_0x32d8ea(0x8b6,0x7e9)+_0x3a7f13(0x1fe,0x268)]=null;['gatewayS'+_0x3a7f13(0x81e,0x5f4)]=null;[_0x3a7f13(0x52b,0x59b)+_0x3a7f13(0x131,0x35c)]=![];[_0x3a7f13(0x459,0x286)+_0x32d8ea(0xafb,0x930)+'g']=![];[_0x32d8ea(0x9d2,0x84b)]=!![];[_0x32d8ea(0x8cf,0x8dd)+_0x32d8ea(0x7fc,0x831)]=0x0;[_0x32d8ea(0x6b6,0x7d2)+'yActivit'+_0x32d8ea(0x9dc,0x85c)]=0x0;[_0x32d8ea(0x6b5,0x72d)+'tTimer']=null;[_0x3a7f13(0x2d6,0x1f0)+'etryTime'+'r']=null;[_0x3a7f13(0x443,0x45d)+_0x3a7f13(0x2ee,0x1b5)]=null;['pendingG'+_0x32d8ea(0xb76,0xa2e)+_0x3a7f13(0x9c,0x18a)]=[];['gatewayH'+'andshake'+_0x32d8ea(0x973,0x9e2)]=![];['clientDe'+_0x3a7f13(0x504,0x4c8)+_0x32d8ea(0x569,0x642)]=null;[_0x32d8ea(0x72b,0x6ac)+_0x32d8ea(0x7f7,0x673)+'AtMs']=null;[_0x3a7f13(0x1d2,0x2e3)];constructor(_0xc19279){const _0x36a253={_0x15ce4b:0x538,_0x17b447:0x57e,_0x4677ea:0x6c9,_0x47ab2d:0x555,_0x172754:0x4f1,_0x1a3fb7:0x628,_0x4804d1:0x417},_0x2705bf={_0x1d8806:0x2fe};function _0x47a35e(_0x950431,_0x2ed468){return _0x3a7f13(_0x2ed468,_0x950431-0x254);}this[_0x47a35e(_0x36a253._0x15ce4b,0x77c)]=_0xc19279;function _0x10266f(_0x16b542,_0x3918b1){return _0x3a7f13(_0x16b542,_0x3918b1-_0x2705bf._0x1d8806);}this['snapshot']={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0xc19279[_0x47a35e(_0x36a253._0x17b447,0x723)][_0x47a35e(_0x36a253._0x4677ea,_0x36a253._0x47ab2d)+'d'],'instanceId':_0xc19279[_0x10266f(_0x36a253._0x172754,_0x36a253._0x1a3fb7)][_0x10266f(0x98f,0x8f9)+'Id'],'relayUrl':_0xc19279[_0x47a35e(0x57e,_0x36a253._0x4804d1)][_0x47a35e(0x7e8,0x678)],'gatewayUrl':_0xc19279['gatewayU'+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}[_0x3a7f13(0x3b9,0x5c8)](){const _0x2c8eae={_0x29d054:0x97,_0x88a8:0x63e,_0x35e508:0x58c,_0x1dbfa7:0x343,_0x239f32:0x48e,_0x3e43cc:0x46,_0x133e6d:0x850,_0x283a5:0x2b1,_0x31305a:0x6d};function _0x1c6c0c(_0x1156b0,_0x23aadf){return _0x32d8ea(_0x23aadf,_0x1156b0- -0x6c5);}if(!this['stopped'])return;this[_0x1c6c0c(0x186,0xd1)]=![],this[_0x1c6c0c(-0xd0,_0x2c8eae._0x29d054)+_0x1c6c0c(0x2b7,0x25e)]({'running':!![],'gatewayUrl':this['options']['gatewayU'+'rl']}),this[_0x385915(0x663,0x55d)](_0x385915(_0x2c8eae._0x88a8,_0x2c8eae._0x35e508)+'starting'+_0x1c6c0c(0x1d5,0x209)+_0x1c6c0c(_0x2c8eae._0x1dbfa7,_0x2c8eae._0x239f32)+this[_0x1c6c0c(0x45,_0x2c8eae._0x3e43cc)][_0x385915(0x705,0x6e6)][_0x385915(_0x2c8eae._0x133e6d,0x9ea)+'d']+(_0x1c6c0c(0x1d5,0xb3)+'Url=')+this['options']['gatewayU'+'rl']);function _0x385915(_0x5bb5f7,_0x3b2380){return _0x32d8ea(_0x3b2380,_0x5bb5f7- -0x4b);}void this[_0x1c6c0c(_0x2c8eae._0x283a5,0xe2)+_0x1c6c0c(-0xc4,_0x2c8eae._0x31305a)]();}async[_0x32d8ea(0x855,0x8e0)](){const _0x5d89fa={_0x51b232:0x469,_0x16fa7b:0x231,_0x338222:0x407,_0x2d0e2e:0x18c,_0x40ef60:0x412,_0x1d5f96:0x39c,_0x1abd36:0x6d5,_0x48f41a:0x2c2,_0x63acc9:0x6,_0x149076:0x18c,_0x2b9557:0x3aa,_0xc0823d:0x3a1,_0x5df586:0x193,_0x375188:0x52c,_0x3d6e7d:0x37c,_0x46b47b:0x266,_0x263736:0x47c,_0x393d48:0x42a,_0x57cd40:0x35c,_0x18e77c:0xe7,_0x4a30ce:0x140,_0x5ba9bb:0x2b,_0x588ab5:0x337,_0x31f77f:0x5df,_0x5b94ef:0x95,_0x43eb95:0x12f,_0x4a9f65:0x411,_0x24d611:0x607,_0x144976:0x291,_0x35a329:0x5d7,_0x18d3ea:0x3ea,_0x3a4c38:0x8,_0x4013a9:0x1ac,_0xdf00b9:0x31,_0x288146:0x349},_0x456309={_0x8a46fe:0x502},_0x4fbaf7={_0x20fa7:0x3e2};if(this[_0x239919(0x2d7,_0x5d89fa._0x51b232)])return;this['stopped']=!![],this['clearTim'+_0x3338a4(0x52,0x124)](),this[_0x239919(_0x5d89fa._0x16fa7b,_0x5d89fa._0x338222)+_0x3338a4(-0x80,_0x5d89fa._0x2d0e2e)]?.[_0x3338a4(_0x5d89fa._0x40ef60,_0x5d89fa._0x1d5f96)](),this[_0x239919(_0x5d89fa._0x1abd36,0x58e)+_0x3338a4(0x335,0x518)]?.['close'](),this[_0x239919(_0x5d89fa._0x48f41a,0x407)+_0x3338a4(-_0x5d89fa._0x63acc9,_0x5d89fa._0x149076)]=null,this[_0x239919(_0x5d89fa._0x2b9557,0x58e)+_0x3338a4(_0x5d89fa._0xc0823d,0x518)]=null,this[_0x3338a4(_0x5d89fa._0x5df586,0x2c2)+_0x3338a4(0x54a,_0x5d89fa._0x375188)+_0x3338a4(-0x176,0xae)]=[],this[_0x239919(0x302,_0x5d89fa._0x3d6e7d)+_0x3338a4(_0x5d89fa._0x46b47b,_0x5d89fa._0x263736)+_0x239919(_0x5d89fa._0x393d48,0x600)]=![],this['clientDe'+_0x3338a4(_0x5d89fa._0x57cd40,0x3ec)+_0x3338a4(_0x5d89fa._0x18e77c,_0x5d89fa._0x4a30ce)]=null,this[_0x3338a4(_0x5d89fa._0x5ba9bb,0x1aa)+'onnected'+_0x3338a4(0x371,_0x5d89fa._0x588ab5)]=null,this[_0x239919(0x480,_0x5d89fa._0x31f77f)+_0x3338a4(0x3de,0x280)]=![],this['gatewayC'+'onnectin'+'g']=![];function _0x239919(_0x2597f3,_0x17e29a){return _0x32d8ea(_0x2597f3,_0x17e29a- -_0x4fbaf7._0x20fa7);}const _0x2d1b3a={};_0x2d1b3a[_0x3338a4(-_0x5d89fa._0x5b94ef,_0x5d89fa._0x43eb95)]=![],_0x2d1b3a['relayCon'+_0x239919(_0x5d89fa._0x4a9f65,_0x5d89fa._0x24d611)]=![],_0x2d1b3a['gatewayC'+_0x239919(0xaf,_0x5d89fa._0x144976)]=![],_0x2d1b3a[_0x239919(0x45a,_0x5d89fa._0x35a329)+_0x239919(0x520,0x473)]=0x0,_0x2d1b3a[_0x239919(_0x5d89fa._0x18d3ea,0x4c8)+'r']=null,this[_0x3338a4(_0x5d89fa._0x3a4c38,0xf3)+_0x239919(0x60c,0x59a)](_0x2d1b3a);function _0x3338a4(_0x1b308e,_0x4b3e94){return _0x32d8ea(_0x1b308e,_0x4b3e94- -_0x456309._0x8a46fe);}this[_0x3338a4(-0x6f,_0x5d89fa._0x4013a9)](_0x3338a4(-_0x5d89fa._0xdf00b9,0x187)+_0x3338a4(0x19b,_0x5d89fa._0x288146)),await _0x20a233(0x19);}async[_0x32d8ea(0x860,0x6c1)+_0x3a7f13(0x3c7,0x250)+'st'](_0x526e82){const _0x56f155={_0x3601b6:0x84,_0x545d78:0x1a8,_0xe8498e:0x79e,_0x51f78d:0x314,_0xf74d81:0x37f,_0x507ec1:0x455,_0x311a34:0x22a,_0x2b6622:0x77c,_0x3240aa:0x8b3,_0x4b62ec:0xa92},_0x5370d8={};_0x5370d8[_0x476d51(_0x56f155._0x3601b6,_0x56f155._0x545d78)+'d']=_0x526e82,this[_0x59b8d6(_0x56f155._0xe8498e,0x8d3)+_0x476d51(-_0x56f155._0x51f78d,-0x195)+'st'](_0x59b8d6(0x588,_0x56f155._0xf74d81)+_0x59b8d6(0x4f9,0x739)+'ove',_0x5370d8);function _0x59b8d6(_0x1c9d6a,_0x282dd1){return _0x3a7f13(_0x282dd1,_0x1c9d6a-0x2bb);}function _0x476d51(_0x33f68e,_0x33a5ed){return _0x3a7f13(_0x33f68e,_0x33a5ed- -0x354);}this[_0x476d51(_0x56f155._0x507ec1,_0x56f155._0x311a34)+_0x59b8d6(_0x56f155._0x2b6622,0x54a)+_0x59b8d6(_0x56f155._0x3240aa,_0x56f155._0x4b62ec)](_0x526e82,'approved');}async[_0x32d8ea(0x665,0x8a9)+'irReques'+'t'](_0x555f1d){const _0x1e085b={_0x426a36:0x54d,_0x308a14:0x60,_0x366cae:0x5a1,_0x11f3c9:0x649,_0x28c0ef:0x6c0,_0x2d11fe:0x4},_0x47271f={_0x44ea88:0x51},_0x3186f7={};_0x3186f7[_0x2edd9e(_0x1e085b._0x426a36,0x75b)+'d']=_0x555f1d;function _0x2d463f(_0xa7ce19,_0xd6cd1b){return _0x3a7f13(_0xd6cd1b,_0xa7ce19- -0x15f);}function _0x2edd9e(_0x176ff3,_0x5d67e5){return _0x3a7f13(_0x5d67e5,_0x176ff3-_0x47271f._0x44ea88);}this[_0x2edd9e(0x534,0x41c)+_0x2d463f(_0x1e085b._0x308a14,0xba)+'st']('device.p'+_0x2d463f(0x472,0x54c)+'ct',_0x3186f7),this['markPair'+_0x2edd9e(0x512,_0x1e085b._0x366cae)+_0x2edd9e(_0x1e085b._0x11f3c9,_0x1e085b._0x28c0ef)](_0x555f1d,_0x2d463f(0x2a,_0x1e085b._0x2d11fe));}['getSnaps'+_0x32d8ea(0x73f,0x8f2)](){const _0x3bf970={_0x3f6bf7:0x84,_0x5ac613:0x7b0,_0x37aedf:0x48e,_0x5e4f3b:0x4d1,_0x1db1d5:0x802,_0x519cf0:0x1a4,_0x48f745:0x2d5,_0xee83d7:0x554,_0x251336:0x338},_0x480c01={_0xd0c7d5:0x271},_0x296571={_0x15a137:0xac};function _0x2189e1(_0x191301,_0x38fcda){return _0x3a7f13(_0x38fcda,_0x191301- -_0x296571._0x15a137);}const _0x4ed85e={...this[_0x21aaa5(0x554,0x5dd)]};_0x4ed85e[_0x2189e1(0x171,_0x3bf970._0x3f6bf7)+_0x21aaa5(0x719,_0x3bf970._0x5ac613)]=[...this['snapshot'][_0x21aaa5(_0x3bf970._0x37aedf,_0x3bf970._0x5e4f3b)+_0x21aaa5(0x719,_0x3bf970._0x1db1d5)]],_0x4ed85e[_0x2189e1(0x1d1,0x252)+_0x2189e1(_0x3bf970._0x519cf0,_0x3bf970._0x48f745)+_0x2189e1(0x3b0,0x5c5)]=[...this[_0x21aaa5(_0x3bf970._0xee83d7,0x4e4)][_0x2189e1(0x1d1,0x136)+_0x21aaa5(0x4c1,_0x3bf970._0x251336)+_0x2189e1(0x3b0,0x4bc)]];function _0x21aaa5(_0x16d62b,_0x317b77){return _0x3a7f13(_0x317b77,_0x16d62b-_0x480c01._0xd0c7d5);}return _0x4ed85e;}async[_0x3a7f13(0x6d4,0x550)+_0x3a7f13(0x15f,0x1db)](){const _0x42c754={_0x32f32b:0x227,_0x123dbc:0x291,_0x4c04c2:0x375,_0x14cf69:0x72e,_0x9ca813:0x760,_0x4e197e:0x1c8,_0xed4ebb:0x837,_0x226ba0:0x7ac,_0x331661:0x24e,_0x5570d4:0x85,_0x496c0b:0x7dd,_0x30b6d4:0x78d,_0x17e004:0x196,_0x52b40e:0xd2,_0xa6a10e:0x60f,_0x4015e6:0x3b8,_0x2028da:0x35e,_0x135d4f:0x209,_0x508e9c:0x373,_0x42e673:0x3dd,_0xb3e61a:0x938,_0x53e194:0x41d},_0x3083f9={_0x92ef38:0x557,_0xc0ae80:0xc8,_0x58345c:0x660,_0x4016a9:0x53c,_0x2a7ee2:0x4f8,_0x4a9a45:0xb3,_0x1e5496:0xc2,_0x1dbeed:0xf2,_0x1735ba:0x55c,_0x164957:0x5d2,_0x47c23f:0x25,_0x26ccce:0x8f,_0x5e3e2e:0x21c,_0x1845e0:0x27f,_0x4d270f:0x296,_0x43f013:0x71,_0xf6d42:0x4cd,_0x5ab2a6:0x302,_0x1aee25:0x91,_0x364627:0x50,_0x344164:0x3c2,_0x398e07:0x99,_0x20c731:0x4b3,_0x537af0:0x313},_0x5e6032={_0x1bd5eb:0x2d6,_0x5a7aa4:0x4fd,_0x621e0b:0x208,_0x3abdc3:0x499,_0x330e78:0x671},_0x4665b7={_0x27bd38:0x0,_0x2a5571:0x12f,_0x588c48:0x34,_0xf56732:0x215,_0x38880f:0x1a1,_0xcc0256:0x371,_0x41ddd3:0x3b6,_0x530213:0x289,_0x532667:0x86,_0x51c115:0x32,_0x47bde7:0x3b,_0x5c28f7:0xc5,_0x1077a2:0x378,_0x1a8a6e:0xa3,_0x65337d:0x137,_0x57d616:0x44b,_0x4d6035:0x243},_0x20b856={'fRhfx':_0x11c8d2(0x23d,0x265)+_0x11c8d2(0x1a6,0x24c),'ERHOm':function(_0x20226e,_0x2c53c1){return _0x20226e===_0x2c53c1;},'WZyxU':function(_0x5e6996,_0x18a8b4){return _0x5e6996(_0x18a8b4);},'zwivv':_0x11c8d2(_0x42c754._0x32f32b,0x367)};if(this[_0x11c8d2(_0x42c754._0x123dbc,_0x42c754._0x4c04c2)]||this[_0x237489(_0x42c754._0x14cf69,_0x42c754._0x9ca813)+_0x11c8d2(_0x42c754._0x4e197e,0x2c2)]||this[_0x237489(_0x42c754._0xed4ebb,_0x42c754._0x226ba0)+_0x11c8d2(_0x42c754._0x331661,_0x42c754._0x5570d4)]())return;this[_0x237489(_0x42c754._0x496c0b,0x760)+_0x11c8d2(0x1c8,0x38a)]=!![],this[_0x237489(_0x42c754._0x30b6d4,0x67c)+'empt']+=0x1;const _0x3ee4c4=this['relayAtt'+'empt'],_0x504b3f=_0x20b856[_0x237489(0x7e7,0x6e0)](buildRelayWsUrl,this['options'][_0x11c8d2(_0x42c754._0x17e004,_0x42c754._0x52b40e)]);function _0x237489(_0x3c00b3,_0x3d23b8){return _0x32d8ea(_0x3c00b3,_0x3d23b8- -0x261);}this['log'](_0x237489(0x89b,0x66c)+_0x237489(_0x42c754._0xa6a10e,0x599)+'tempt='+_0x3ee4c4+_0x237489(_0x42c754._0x4015e6,0x347)+redactRelayWsUrl(_0x504b3f));const _0x2a48db={};_0x2a48db[_0x237489(0x940,0x76f)+'ad']=0x19*0x400*0x400;const _0x21ac8b=new _0x30847f(_0x504b3f,_0x2a48db);function _0x11c8d2(_0x371b8d,_0x4125e9){return _0x32d8ea(_0x4125e9,_0x371b8d- -0x5ba);}this['relaySoc'+_0x237489(0x256,0x42d)]=_0x21ac8b,_0x21ac8b[_0x11c8d2(0x459,_0x42c754._0x2028da)]('open',()=>{const _0x106f36={_0xc687e5:0x535},_0x56d9f5={_0x3839b3:0x3aa};function _0x2b5ecf(_0x43ddce,_0x4c4a94){return _0x237489(_0x4c4a94,_0x43ddce- -_0x56d9f5._0x3839b3);}const _0x24753c=_0x20b856[_0x2b5ecf(_0x4665b7._0x27bd38,_0x4665b7._0x2a5571)][_0x59edb3(-0x5c,_0x4665b7._0x588c48)]('|');let _0x23b2cc=0x0;function _0x59edb3(_0x4bcba8,_0x1026e8){return _0x237489(_0x4bcba8,_0x1026e8- -_0x106f36._0xc687e5);}while(!![]){switch(_0x24753c[_0x23b2cc++]){case'0':const _0x284fb6={};_0x284fb6['relayCon'+_0x2b5ecf(0x3de,_0x4665b7._0xf56732)]=!![],_0x284fb6['lastErro'+'r']=null,this[_0x59edb3(-0x38a,-_0x4665b7._0x38880f)+_0x2b5ecf(_0x4665b7._0xcc0256,0x46e)](_0x284fb6);continue;case'1':this[_0x2b5ecf(0x247,0x1)+_0x59edb3(-0x50,0x29)+'nected']();continue;case'2':this[_0x2b5ecf(_0x4665b7._0x41ddd3,0x4a5)+_0x2b5ecf(0x177,_0x4665b7._0x530213)]=![];continue;case'3':if(this[_0x2b5ecf(0x240,0x1c2)]||this[_0x59edb3(_0x4665b7._0x532667,0x53)+_0x2b5ecf(0x83,-_0x4665b7._0x51c115)]!==_0x21ac8b){_0x21ac8b[_0x2b5ecf(0x293,0x43d)]();return;}continue;case'4':this[_0x2b5ecf(0x1c7,0x366)+_0x59edb3(-_0x4665b7._0x47bde7,_0x4665b7._0x5c28f7)+'yMs']=Date[_0x59edb3(_0x4665b7._0x1077a2,0x280)]();continue;case'5':this[_0x2b5ecf(_0x4665b7._0x1a8a6e,-0xd2)](_0x59edb3(-0x4d,_0x4665b7._0x65337d)+_0x59edb3(_0x4665b7._0x57d616,_0x4665b7._0x4d6035)+'attempt='+_0x3ee4c4);continue;case'6':this['startHea'+'rtbeat']();continue;}break;}}),_0x21ac8b['on'](_0x20b856[_0x237489(0x4c6,0x37f)],(_0x33cc2a,_0xf6d79)=>{function _0x44b1da(_0x2d2a0c,_0x46f829){return _0x11c8d2(_0x46f829-0x1d0,_0x2d2a0c);}void this[_0x44b1da(0x3c5,0x1cc)+'layMessa'+'ge'](_0x33cc2a,_0xf6d79);}),_0x21ac8b['on'](_0x11c8d2(0x3b7,_0x42c754._0x135d4f),()=>{function _0x5772b6(_0x1502ec,_0x460c48){return _0x237489(_0x1502ec,_0x460c48- -0x144);}function _0x12cc32(_0x133793,_0x583373){return _0x237489(_0x583373,_0x133793- -0x324);}this['lastRela'+_0x12cc32(_0x5e6032._0x1bd5eb,_0x5e6032._0x5a7aa4)+_0x12cc32(0x2d7,_0x5e6032._0x621e0b)]=Date[_0x5772b6(_0x5e6032._0x3abdc3,_0x5e6032._0x330e78)]();}),_0x21ac8b['once'](_0x237489(_0x42c754._0x508e9c,_0x42c754._0x42e673),_0x3325cf=>{const _0x3e09f7={_0x448165:0x165};function _0x39fcdd(_0x2d4e7a,_0x595790){return _0x237489(_0x595790,_0x2d4e7a- -0x2df);}function _0x281623(_0xa6679d,_0x206a4b){return _0x237489(_0x206a4b,_0xa6679d-_0x3e09f7._0x448165);}this[_0x281623(0x5b2,0x618)](_0x281623(0x698,0x4ed)+'ror:\x20'+String(_0x3325cf));}),_0x21ac8b[_0x237489(_0x42c754._0xb3e61a,0x7b2)](_0x11c8d2(0x2e4,_0x42c754._0x53e194),(_0x4c6cb8,_0x3c4131)=>{function _0x201ee5(_0x31945c,_0x47d9b9){return _0x237489(_0x47d9b9,_0x31945c- -0x3bc);}const _0x16e2db=(_0x76bb8d(_0x3083f9._0x92ef38,0x376)+_0x201ee5(_0x3083f9._0xc0ae80,-0x123)+'2')[_0x76bb8d(0x691,0x4ae)]('|');function _0x76bb8d(_0x325391,_0x4e3b9c){return _0x237489(_0x325391,_0x4e3b9c- -0xbb);}let _0x20e144=0x0;while(!![]){switch(_0x16e2db[_0x20e144++]){case'0':this[_0x76bb8d(0x519,0x2d9)+_0x76bb8d(0x63c,_0x3083f9._0x58345c)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x20b856['ERHOm'](_0x4c6cb8,0x3e8)?null:'relay\x20cl'+_0x76bb8d(_0x3083f9._0x4016a9,0x509)+(_0x3c4131[_0x76bb8d(0x57b,_0x3083f9._0x2a7ee2)]()||_0x4c6cb8)});continue;case'1':this[_0x201ee5(_0x3083f9._0x4a9a45,-0x123)+_0x201ee5(_0x3083f9._0x1e5496,_0x3083f9._0x1dbeed)]();continue;case'2':this[_0x201ee5(0x257,0x228)+'RelayRec'+_0x201ee5(0x13e,-0xc4)]();continue;case'3':this['clientDe'+_0x76bb8d(_0x3083f9._0x1735ba,_0x3083f9._0x164957)+_0x201ee5(_0x3083f9._0x47c23f,0xd9)]=null;continue;case'4':this[_0x201ee5(_0x3083f9._0x26ccce,0x239)+'onnected'+_0x201ee5(_0x3083f9._0x5e3e2e,0x362)]=null;continue;case'5':this[_0x201ee5(_0x3083f9._0x1845e0,_0x3083f9._0x4d270f)+'tbeat']();continue;case'6':this['relaySoc'+_0x201ee5(_0x3083f9._0x43f013,0x14)]===_0x21ac8b&&(this[_0x76bb8d(0x5e8,_0x3083f9._0xf6d42)+_0x76bb8d(_0x3083f9._0x5ab2a6,0x372)]=null);continue;case'7':this[_0x201ee5(_0x3083f9._0x1aee25,-_0x3083f9._0x364627)](_0x76bb8d(0x562,0x653)+_0x201ee5(0x3d0,0x549)+'ed\x20code='+_0x4c6cb8+'\x20reason='+(_0x3c4131[_0x201ee5(0x1f7,_0x3083f9._0x344164)]()||_0x201ee5(_0x3083f9._0x398e07,0x266)));continue;case'8':this[_0x201ee5(0x3a4,_0x3083f9._0x20c731)+_0x76bb8d(_0x3083f9._0x537af0,0x466)]=![];continue;}break;}});}async[_0x3a7f13(0x1d5,0x190)+_0x3a7f13(0x1b9,0x38a)+'ge'](_0x113840,_0x15e601){const _0x35a697={_0x48d3a5:0xd5,_0x2f1e16:0x109,_0x25a1d5:0xd1,_0x4e6293:0xbc,_0x219d28:0x443,_0x287bda:0x33b,_0x15ac0a:0x57f,_0x4b2839:0x68e,_0x1b3407:0x85c,_0x213c5f:0x165,_0x200b20:0x298,_0x4f609b:0x722,_0x11565d:0x64a,_0x408e6f:0x7f,_0x4836bc:0x1a1,_0x21c113:0x6ac,_0x367984:0x577,_0x5b4baf:0x27c,_0x1ee10a:0x82,_0x13feb3:0x52f,_0xbe740d:0x1ed},_0x55680f={_0x403ffe:0x313},_0x3f4fc0={'XXHgC':function(_0xfb3e65,_0x48d853){return _0xfb3e65(_0x48d853);},'DnhHn':_0x289a44(_0x35a697._0x48d3a5,-0x103)};this[_0x289a44(-_0x35a697._0x2f1e16,0x33)+_0x289a44(_0x35a697._0x25a1d5,_0x35a697._0x4e6293)+_0x19a259(0x549,0x464)]=Date[_0x289a44(0x3a4,0x277)]();if(_0x15e601){this['forwardO'+_0x19a259(_0x35a697._0x219d28,_0x35a697._0x287bda)+_0x19a259(0x72a,0x7e8)+'sage']({'kind':_0x19a259(0x521,_0x35a697._0x15ac0a),'data':_0x3f4fc0[_0x19a259(_0x35a697._0x4b2839,_0x35a697._0x1b3407)](normalizeBinary,_0x113840)});return;}const _0x17ff93=normalizeText(_0x113840);function _0x19a259(_0xda6d78,_0x2faef9){return _0x32d8ea(_0x2faef9,_0xda6d78- -_0x55680f._0x403ffe);}if(_0x17ff93==null)return;const _0x8433ee=parseControl(_0x17ff93);if(_0x8433ee){this[_0x19a259(0x2a3,0xbb)+_0x289a44(_0x35a697._0x213c5f,_0x35a697._0x200b20)+'ol'](_0x8433ee[_0x19a259(0x391,0x502)],_0x8433ee[_0x19a259(_0x35a697._0x4f609b,_0x35a697._0x11565d)]);return;}const _0x13c642=parseConnectStartIdentity(_0x17ff93);_0x13c642&&this[_0x289a44(_0x35a697._0x408e6f,-_0x35a697._0x4836bc)+'onnectSt'+_0x289a44(0xce,0x253)](_0x13c642['id'],_0x13c642[_0x19a259(0x6bb,_0x35a697._0x21c113)]);const _0x5c05a1={};_0x5c05a1[_0x19a259(0x665,_0x35a697._0x367984)]=_0x3f4fc0[_0x289a44(-_0x35a697._0x5b4baf,-0x16f)];function _0x289a44(_0x46827e,_0x54dfdf){return _0x32d8ea(_0x46827e,_0x54dfdf- -0x79f);}_0x5c05a1['text']=_0x17ff93,this[_0x289a44(-_0x35a697._0x1ee10a,-0x12f)+_0x19a259(0x443,0x396)+_0x19a259(0x72a,_0x35a697._0x13feb3)+_0x289a44(0x21,_0x35a697._0xbe740d)](_0x5c05a1);}[_0x3a7f13(0x97,0x190)+_0x32d8ea(0x966,0xa37)+'ol'](_0x454d8f,_0x159a4a){const _0x12caed={_0x4e7347:0x952,_0x1bcbc7:0x258,_0x3864fa:0xe,_0x1da572:0x8ce,_0x37e042:0x9a1,_0x175358:0x9d7,_0x4007a5:0x672,_0x136de2:0x450,_0x4e37bd:0x5ee,_0x5f2589:0x95d,_0x420f62:0x840,_0x3c6bd9:0x6b1,_0x2a5ee1:0x5b4,_0x5f4b8c:0x55e,_0x4d90e0:0x444,_0x268c55:0x54e,_0x21e770:0x541,_0x408798:0x4e9,_0x34e242:0x23d,_0x3f1562:0x27a,_0x3b448c:0x82d,_0x2b6883:0x7fd,_0x2e885b:0xa16,_0x4894e0:0x7b9,_0x22a211:0x926,_0x5e2445:0x6ea,_0x2f0b6c:0x656,_0x2e1a7e:0x484,_0x59099f:0x1bc,_0x67a46f:0xb8,_0x4a6312:0x378,_0x4115b2:0x2b1,_0xe48f8e:0x953,_0x5b54be:0xa64,_0x4c44da:0x30a,_0x3e0af1:0x60d,_0x11128a:0x4ea,_0x5eaac4:0x5a3,_0x3f8169:0x608,_0x4593d6:0x4b6,_0x2c834c:0x6fd,_0x58c23b:0x56a,_0xcfdead:0x5c7,_0x22f127:0x91e,_0x5a2f42:0x999,_0x2850f4:0x1f8,_0x1d7264:0x7dc,_0x57bf90:0x5ff,_0x1df3e2:0x500,_0x11bfbb:0x7e6,_0x15a7d4:0x2f2,_0x46a6f3:0x764,_0x19d720:0x98a,_0x36293b:0xb8b,_0x1f21cf:0x3bf,_0x28dc6c:0x3ec,_0x593bbc:0x353,_0x5c4653:0x512,_0x17b6e5:0x4b8,_0x5bcc2a:0x629,_0x500017:0x56b,_0xc02a47:0x295,_0x249274:0x559,_0xabd676:0x58c,_0x12344c:0x611,_0x36c9ae:0x3a5,_0x5f37eb:0x7bc,_0x9bf0ae:0x2cb,_0x169ca3:0x687,_0x47ab8e:0x5d5,_0x2b7f79:0x654,_0x12edcc:0x529,_0x45d048:0x26e,_0x453b9c:0x1f0,_0x435c64:0x247,_0x37c7d6:0x9ed,_0x17a8f0:0x23e,_0x47a894:0x6d1,_0x170c2c:0x7d7,_0x242158:0x57d,_0x4c92db:0x4b4,_0x1af8ec:0x2a7,_0x3d7f3f:0x706,_0x43eb03:0x98a,_0x3cdcb6:0xb21,_0x87b0be:0x556,_0x52301b:0x961,_0xcac473:0x7b6,_0x2e7c99:0x251,_0x16befd:0x3a4,_0x5bea1f:0x219,_0x4fa2af:0x351,_0x594ffe:0x3ba,_0x988747:0x991},_0x347c92={_0x4a97d7:0x21},_0x3ec6e1={'rxgjg':_0x378ce3(_0x12caed._0x4e7347,0x786)+'ount','PLZQq':function(_0x1ab9c7,_0xe402bf){return _0x1ab9c7==_0xe402bf;},'whQab':function(_0x2cccd6,_0x4f484f){return _0x2cccd6(_0x4f484f);},'AmzKV':function(_0x5182d8,_0x4fab5d){return _0x5182d8>_0x4fab5d;},'nBoaW':_0x25464f(_0x12caed._0x1bcbc7,_0x12caed._0x3864fa)+_0x25464f(0x37f,0x5c3)+_0x25464f(0x2cc,0x354),'QrpVy':_0x25464f(0x4f0,0x414)+'isconnec'+'ted;\x20kee'+'ping\x20gat'+_0x378ce3(_0x12caed._0x1da572,_0x12caed._0x37e042)+_0x378ce3(0x991,_0x12caed._0x175358)};function _0x25464f(_0x31ef3f,_0x26e9ff){return _0x3a7f13(_0x26e9ff,_0x31ef3f-_0x347c92._0x4a97d7);}function _0x378ce3(_0x2cfc19,_0x4e4e1e){return _0x3a7f13(_0x4e4e1e,_0x2cfc19-0x3ce);}if(_0x454d8f===_0x378ce3(0x952,0x9b9)+_0x378ce3(0x61b,_0x12caed._0x4007a5)||_0x454d8f===_0x3ec6e1['rxgjg']){const _0x1e2641=this[_0x378ce3(0x6b1,0x467)][_0x378ce3(0x961,0x8c4)+_0x25464f(_0x12caed._0x136de2,_0x12caed._0x4e37bd)],_0x482b81=_0x159a4a??Math[_0x378ce3(_0x12caed._0x5f2589,_0x12caed._0x420f62)](0x1,this[_0x378ce3(_0x12caed._0x3c6bd9,0x5a8)][_0x25464f(_0x12caed._0x2a5ee1,0x4e6)+_0x378ce3(0x7fd,0x61c)]);_0x482b81>0x0&&_0x3ec6e1[_0x25464f(_0x12caed._0x5f4b8c,_0x12caed._0x4d90e0)](this[_0x25464f(_0x12caed._0x268c55,0x4c7)+_0x25464f(0x4e9,_0x12caed._0x21e770)+_0x378ce3(0x5ea,0x40a)],null)&&(this[_0x25464f(0x54e,0x669)+_0x25464f(_0x12caed._0x408798,0x37f)+_0x25464f(_0x12caed._0x34e242,_0x12caed._0x3f1562)]=Date[_0x378ce3(0x9be,_0x12caed._0x3b448c)]());const _0x2239c0={};_0x2239c0['clientCo'+_0x378ce3(_0x12caed._0x2b6883,_0x12caed._0x2e885b)]=_0x482b81,this[_0x378ce3(0x59d,_0x12caed._0x4894e0)+_0x378ce3(0x924,0x7f1)](_0x2239c0);if(_0x482b81===0x0)this[_0x378ce3(0x706,0x911)+_0x378ce3(_0x12caed._0x22a211,0x930)+_0x378ce3(0x98a,0x845)]=![],this[_0x25464f(0x3a4,0x541)+_0x378ce3(0x773,_0x12caed._0x5e2445)+'t'](),this[_0x378ce3(_0x12caed._0x2f0b6c,_0x12caed._0x2e1a7e)]('client\x20d'+_0x25464f(0x248,_0x12caed._0x59099f)+'opped\x20to'+'\x20zero;\x20k'+_0x25464f(0x4f4,0x5d0)+_0x25464f(0x466,0x66b)+_0x25464f(0x26e,_0x12caed._0x67a46f));else{if(shouldRecycleGatewayForFreshClient(_0x1e2641,_0x482b81,this[_0x378ce3(0x603,0x805)+_0x25464f(0x595,0x55f)](),![])){const _0x40c389=_0x3ec6e1[_0x25464f(_0x12caed._0x4a6312,_0x12caed._0x4115b2)](summarizePendingGatewayMessages,this['pendingG'+_0x378ce3(0x9d6,_0x12caed._0xe48f8e)+'ssages']);this['log'](_0x378ce3(0x8d1,_0x12caed._0x5b54be)+_0x25464f(0x268,_0x12caed._0x4c44da)+_0x25464f(0x3f9,_0x12caed._0x3e0af1)+_0x25464f(_0x12caed._0x11128a,0x54c)+_0x25464f(_0x12caed._0x5eaac4,_0x12caed._0x3f8169)+_0x25464f(_0x12caed._0x4593d6,_0x12caed._0x2c834c)+_0x378ce3(_0x12caed._0x58c23b,_0x12caed._0xcfdead)+'='+_0x40c389['total']+('\x20connect'+'=')+_0x40c389[_0x378ce3(_0x12caed._0x22f127,_0x12caed._0x5a2f42)+'equests']+_0x25464f(0x1b7,_0x12caed._0x2850f4)+_0x40c389[_0x378ce3(0x620,0x5b5)+'t']+_0x25464f(0x49e,0x511)+_0x40c389[_0x378ce3(_0x12caed._0x1d7264,_0x12caed._0x57bf90)]+(_0x25464f(_0x12caed._0x1df3e2,0x6d7)+_0x378ce3(0x9e4,_0x12caed._0x11bfbb)+'d=')+this[_0x25464f(0x359,_0x12caed._0x15a7d4)+_0x378ce3(0x926,_0x12caed._0x46a6f3)+_0x378ce3(_0x12caed._0x19d720,_0x12caed._0x36293b)]);const _0x3c7d17=prunePendingGatewayMessagesForFreshDemand(this[_0x25464f(_0x12caed._0x1f21cf,_0x12caed._0x28dc6c)+'atewayMe'+_0x25464f(0x1ab,_0x12caed._0x593bbc)]);_0x3ec6e1[_0x25464f(0x321,0x53e)](_0x3c7d17[_0x25464f(_0x12caed._0x5c4653,_0x12caed._0x17b6e5)],0x0)&&(this['pendingG'+_0x25464f(_0x12caed._0x5bcc2a,0x52d)+_0x378ce3(0x558,_0x12caed._0x500017)]=_0x3c7d17['messages'],this[_0x25464f(0x2a9,0x47a)](_0x378ce3(0x66c,0x4d6)+'stale\x20ga'+_0x25464f(_0x12caed._0xc02a47,0x3fb)+_0x378ce3(_0x12caed._0x249274,0x536)+_0x378ce3(_0x12caed._0xabd676,_0x12caed._0x12344c)+_0x378ce3(0x719,0x8ef)+'ed='+_0x3c7d17['dropped']+_0x25464f(_0x12caed._0x36c9ae,0x35c)+_0x3c7d17[_0x378ce3(0x8a2,_0x12caed._0x5f37eb)][_0x25464f(0x3d2,0x60d)])),this[_0x25464f(_0x12caed._0x9bf0ae,0x13a)+_0x378ce3(_0x12caed._0x169ca3,_0x12caed._0x47ab8e)]();}if(this[_0x25464f(0x256,0x3fc)+_0x25464f(0x595,0x690)]()){const _0x1f8f78={};_0x1f8f78[_0x378ce3(_0x12caed._0x2b7f79,_0x12caed._0x12edcc)+_0x25464f(_0x12caed._0x45d048,0x298)]=!![],_0x1f8f78['lastErro'+'r']=null,this[_0x25464f(_0x12caed._0x453b9c,_0x12caed._0x435c64)+_0x378ce3(0x924,_0x12caed._0x37c7d6)](_0x1f8f78),this[_0x25464f(0x2a9,0x2a9)]('gateway\x20'+_0x378ce3(0x88a,0x79c)+_0x25464f(_0x12caed._0x17a8f0,0xd3)+_0x378ce3(0x761,0x7ee)+_0x378ce3(_0x12caed._0x47a894,_0x12caed._0x170c2c)+_0x378ce3(_0x12caed._0x242158,_0x12caed._0x4c92db)+this[_0x378ce3(0x860,0x736)+_0x378ce3(0x9c1,0xa57)](this[_0x25464f(_0x12caed._0x1af8ec,0x403)+_0x378ce3(0x61b,0x495)+'AtMs'])+('\x20handsha'+'keStarte'+'d=')+this[_0x378ce3(_0x12caed._0x3d7f3f,0x4c2)+_0x25464f(0x579,0x5cc)+_0x378ce3(_0x12caed._0x43eb03,0xb3f)]);}}this[_0x25464f(0x44d,0x2d7)+_0x25464f(0x3ba,0x39c)+_0x378ce3(0x991,_0x12caed._0x3cdcb6)]();return;}if(_0x454d8f===_0x3ec6e1[_0x25464f(_0x12caed._0x87b0be,0x77b)]){this['gatewayH'+_0x378ce3(0x926,0x986)+'Started']=![];const _0x3f8ed1={};_0x3f8ed1[_0x378ce3(_0x12caed._0x52301b,_0x12caed._0xcac473)+_0x378ce3(0x7fd,0x73a)]=0x0,this[_0x25464f(0x1f0,_0x12caed._0x2e7c99)+'apshot'](_0x3f8ed1),this[_0x25464f(_0x12caed._0x16befd,_0x12caed._0x5bea1f)+_0x25464f(0x3c6,_0x12caed._0x4fa2af)+'t'](),this[_0x378ce3(0x656,0x547)](_0x3ec6e1['QrpVy']),this[_0x378ce3(0x7fa,0x711)+_0x25464f(_0x12caed._0x594ffe,0x495)+_0x378ce3(_0x12caed._0x988747,0xb82)]();return;}}['forwardO'+_0x3a7f13(0x233,0x330)+_0x3a7f13(0x4d2,0x617)+_0x3a7f13(0x39f,0x566)](_0x5be2fa){const _0x36f3f2={_0x52d1c0:0x599,_0x1a8699:0x409,_0x534a4a:0x29e,_0x1d478e:0x15d,_0x514564:0x310,_0x8c983b:0x273,_0x4a6654:0x95,_0x316051:0x121,_0x2c6a68:0x3d7,_0x57521d:0x17c,_0x10ea90:0x211,_0x5c9686:0x28d,_0x5f0cb6:0x76,_0x228a5b:0x14c,_0x32c385:0x1de,_0xc823fb:0xf3,_0x429525:0x1b9,_0x4fe4e1:0x1ed,_0x5212e9:0x188,_0x38602e:0x24c,_0x1f3b09:0x47,_0x45ec76:0x23e,_0x28242b:0x21f,_0x2b9143:0x3f2,_0x3dc9fe:0xd4,_0x27aa0d:0x2f0,_0x427e9b:0x1ed,_0x52f556:0x283,_0x4c98eb:0x2ff,_0x202af0:0x17c,_0x594831:0x1d4,_0x3285c7:0x3a4,_0x2ee922:0x3c1,_0x327d26:0x50e,_0x56f9e2:0x1ae,_0x3a7c3e:0xa,_0x27b079:0x93,_0x54f3cb:0x109};function _0x30831e(_0x5bf5f9,_0x19a8d8){return _0x3a7f13(_0x5bf5f9,_0x19a8d8- -0xfa);}const _0xf794e9={'cwjRO':function(_0x361183,_0x18ce5a){return _0x361183===_0x18ce5a;},'yZVGc':function(_0x565f9d,_0xa9bf18){return _0x565f9d!==_0xa9bf18;},'MJByu':_0x30831e(_0x36f3f2._0x52d1c0,_0x36f3f2._0x1a8699)+_0x98eac6(-0x19b,-0x30e)+_0x30831e(-0x10,0xc6)+_0x98eac6(0x111,_0x36f3f2._0x534a4a)+_0x30831e(0xa1,_0x36f3f2._0x1d478e)+'hake;\x20qu'+_0x30831e(_0x36f3f2._0x514564,_0x36f3f2._0x8c983b)+_0x98eac6(-0x22,-_0x36f3f2._0x4a6654)+'ay\x20recon'+_0x98eac6(0x21,0x10f),'lzVfP':function(_0x27a566,_0x1a572c){return _0x27a566(_0x1a572c);}},_0x285e55=_0xf794e9[_0x30831e(-_0x36f3f2._0x316051,0xe7)](_0x5be2fa[_0x98eac6(0x219,_0x36f3f2._0x2c6a68)],'text')&&isConnectHandshakeRequest(_0x5be2fa[_0x30831e(0x2f4,_0x36f3f2._0x57521d)]);function _0x98eac6(_0x2ac862,_0x391f28){return _0x3a7f13(_0x391f28,_0x2ac862- -0x339);}const _0x4a4120=this[_0x98eac6(_0x36f3f2._0x10ea90,_0x36f3f2._0x5c9686)+'ocket'];if(!_0x4a4120||_0xf794e9['yZVGc'](_0x4a4120[_0x30831e(-_0x36f3f2._0x5f0cb6,0x171)+'te'],_0x30847f[_0x98eac6(-_0x36f3f2._0x228a5b,-_0x36f3f2._0x32c385)])){this[_0x98eac6(_0x36f3f2._0xc823fb,0x199)+'tewayCon'+_0x98eac6(0x28a,0x89)](),this['pushPend'+_0x30831e(_0x36f3f2._0x429525,_0x36f3f2._0x4fe4e1)+_0x98eac6(0x215,_0x36f3f2._0x5212e9)+'e'](_0x5be2fa);_0x285e55&&this['log'](_0xf794e9[_0x30831e(_0x36f3f2._0x38602e,0x202)]);return;}if(!this[_0x30831e(_0x36f3f2._0x1f3b09,_0x36f3f2._0x45ec76)+_0x98eac6(_0x36f3f2._0x28242b,_0x36f3f2._0x2b9143)+_0x98eac6(0x283,0x1c1)]){if(!_0x285e55){this[_0x30831e(0x79,_0x36f3f2._0x3dc9fe)+_0x30831e(_0x36f3f2._0x27aa0d,_0x36f3f2._0x427e9b)+_0x30831e(0x467,0x454)+'e'](_0x5be2fa);return;}this['gatewayH'+_0x98eac6(0x21f,0x42c)+_0x98eac6(_0x36f3f2._0x52f556,_0x36f3f2._0x4c98eb)]=!![];const _0x56b8a7=_0xf794e9[_0x98eac6(-_0x36f3f2._0x5212e9,-0xa9)](parseConnectHandshakeMeta,_0x5be2fa[_0x30831e(0xd4,_0x36f3f2._0x202af0)]);this['log'](_0x30831e(0x486,0x409)+'handshak'+_0x98eac6(_0x36f3f2._0x594831,_0x36f3f2._0x3285c7)+_0x30831e(-0x16b,0xa2)+'='+this[_0x30831e(_0x36f3f2._0x2ee922,0x2a4)+_0x30831e(0x431,_0x36f3f2._0x327d26)+_0x30831e(-_0x36f3f2._0x56f9e2,0x90)][_0x98eac6(0x78,0x26b)]+formatConnectHandshakeMetaForLog(_0x56b8a7));}this[_0x30831e(_0x36f3f2._0x3a7c3e,_0x36f3f2._0x27b079)+_0x30831e(-0x105,_0x36f3f2._0x54f3cb)](_0x5be2fa);}[_0x32d8ea(0x82f,0x852)+'tewayCon'+_0x3a7f13(0x790,0x5c3)](){const _0x5e6043={_0x53af4a:0x420,_0x52a94e:0x2ad,_0x235bfc:0x2df,_0x5dfe33:0x4da,_0x3c2567:0x307,_0x154a94:0x4ec,_0x235353:0x33f,_0x119697:0x456,_0xd5d84b:0x406,_0x3fa634:0x171,_0x52589c:0x80a,_0x501c30:0x6f0,_0x31ac49:0x3ee,_0x4bc083:0x23f,_0x361bb0:0x5c9,_0x48ad15:0x90,_0x3e5fd0:0x14f,_0xf1f662:0x416,_0x24a6a8:0x7bf,_0x123b98:0x654,_0x59ce62:0x173,_0x440b3b:0x1ae,_0x267420:0x2ae,_0x2cb2d8:0x4b1,_0x44dd87:0x582},_0x313872={_0x35c388:0x471,_0x2dae16:0x3ba,_0x61c0a5:0x671,_0x2d25f9:0x47f,_0x4f4d98:0x723,_0x3c7cc3:0x22f,_0x588153:0x336,_0x5d6674:0x484,_0x3bda27:0x6bd,_0x5b8616:0x5b6,_0x50b745:0x21f,_0x546730:0x7bc,_0x31678a:0x60a,_0x50d403:0x1af,_0x4da0d1:0x3ba,_0x2cc5e8:0x555,_0x1a03c1:0x31a,_0x2e4e68:0x443,_0x17cab4:0x3e0,_0x47192a:0x412,_0x1d26f8:0x4e2,_0x171a57:0x694,_0x1df616:0x788,_0x17396d:0x62f,_0x57398e:0x355,_0x452b57:0x383,_0xe9ed35:0x32c},_0x4e5219={_0x571290:0x34},_0x2f3caa={_0x381519:0x274},_0x488768={_0x4e1250:0x4e6,_0x2d0a05:0x7c3},_0x4b5e8f={_0xeb4ded:0x36b},_0x313145={_0x43ab1d:0x74},_0x171522={_0x419ef6:0x4bd,_0xd69c39:0x579,_0x88897c:0x373,_0x5ee01b:0x2d5},_0x18fc23={_0x4c6a02:0x235},_0x476a56={_0x101da8:0x43b,_0x1c7f24:0x7f,_0x149100:0x271,_0x47c02e:0x3d,_0x19ee90:0x268,_0x1f41fa:0x66e,_0x3b46e8:0x17a,_0x44376c:0x293,_0xf2c7b5:0x81,_0x34e5ae:0x339,_0x50e7b1:0xcf,_0xa42df5:0x48b,_0x34085d:0x3f3,_0x49a4fe:0x60b,_0x59e0cd:0x460,_0x520782:0x593,_0x4194a4:0x60f,_0x5eab63:0x581,_0x4ca393:0x493,_0x30be6c:0x51e,_0x53b98d:0x454,_0x2637ae:0x3bc,_0x59e1e6:0x30a,_0x2fd0e3:0x28b,_0x403de2:0x4ad,_0x5f1c5b:0x182,_0x271b57:0x1cf,_0x51cfe9:0x150},_0x353c1f={_0x57c211:0x533};function _0x7c344a(_0x587345,_0x15d9ce){return _0x32d8ea(_0x587345,_0x15d9ce- -_0x353c1f._0x57c211);}function _0x487313(_0x240c85,_0x400ce1){return _0x32d8ea(_0x240c85,_0x400ce1- -0x31c);}const _0xc46e44={};_0xc46e44[_0x7c344a(_0x5e6043._0x53af4a,_0x5e6043._0x52a94e)]=function(_0x1c31cc,_0x351662){return _0x1c31cc*_0x351662;};const _0x47679d=_0xc46e44;if(this[_0x7c344a(_0x5e6043._0x235bfc,0x318)]||!this[_0x7c344a(0x663,_0x5e6043._0x5dfe33)+_0x487313(_0x5e6043._0x3c2567,_0x5e6043._0x154a94)]()||this['gatewayC'+'onnectin'+'g']||this[_0x487313(0x4af,_0x5e6043._0x235353)+_0x7c344a(_0x5e6043._0x119697,0x467)]())return;this['gatewayC'+_0x7c344a(_0x5e6043._0xd5d84b,0x3fd)+'g']=!![],this[_0x7c344a(_0x5e6043._0x3fa634,0x17b)](_0x487313(_0x5e6043._0x52589c,0x60d)+_0x487313(_0x5e6043._0x501c30,0x588)+_0x487313(0x847,0x638)+'l='+this[_0x487313(0x1a9,_0x5e6043._0x31ac49)][_0x7c344a(_0x5e6043._0x4bc083,0x14f)+'rl']);const _0x1644fc=new _0x30847f(this[_0x487313(_0x5e6043._0x361bb0,0x3ee)][_0x7c344a(-_0x5e6043._0x48ad15,_0x5e6043._0x3e5fd0)+'rl'],{'maxPayload':_0x47679d[_0x7c344a(_0x5e6043._0xf1f662,0x2ad)](0x19,0x400)*0x400});this[_0x487313(_0x5e6043._0x24a6a8,_0x5e6043._0x123b98)+_0x7c344a(0x3f8,0x4e7)]=_0x1644fc,_0x1644fc[_0x7c344a(0x45b,0x4e0)](_0x7c344a(_0x5e6043._0x59ce62,_0x5e6043._0x440b3b),()=>{const _0x4d30b0={_0x7c0b8c:0xef};function _0xf6a34f(_0x1d84ee,_0x42ae21){return _0x487313(_0x42ae21,_0x1d84ee- -_0x4d30b0._0x7c0b8c);}function _0x30b596(_0x559ec6,_0x44843f){return _0x487313(_0x559ec6,_0x44843f- -0x3cd);}const _0x5cc1d4=(_0xf6a34f(_0x476a56._0x101da8,0x252)+_0x30b596(0x2a6,0x1bd))[_0x30b596(_0x476a56._0x1c7f24,0xe1)]('|');let _0x18de4f=0x0;while(!![]){switch(_0x5cc1d4[_0x18de4f++]){case'0':this[_0x30b596(0x25,-0x3d)+_0x30b596(0x108,0x247)+'g']=![];continue;case'1':const _0x352c71={};_0x352c71[_0x30b596(-_0x476a56._0x149100,-_0x476a56._0x47c02e)+_0xf6a34f(_0x476a56._0x19ee90,0x415)]=!![],_0x352c71[_0xf6a34f(0x49f,_0x476a56._0x1f41fa)+'r']=null,this['updateSn'+_0x30b596(_0x476a56._0x3b46e8,_0x476a56._0x44376c)](_0x352c71);continue;case'2':this[_0x30b596(_0x476a56._0xf2c7b5,0x75)+_0xf6a34f(0x573,_0x476a56._0x34e5ae)+'Started']=![];continue;case'3':this[_0x30b596(_0x476a56._0x50e7b1,-0xaf)+_0x30b596(-0xeb,0x15)+'wayMessa'+_0xf6a34f(_0x476a56._0xa42df5,_0x476a56._0x34085d)]();continue;case'4':this['gatewayC'+'onnected'+'AtMs']=Date[_0xf6a34f(_0x476a56._0x49a4fe,_0x476a56._0x59e0cd)]();continue;case'5':if(this['stopped']||this[_0xf6a34f(0x565,_0x476a56._0x520782)+_0xf6a34f(_0x476a56._0x4194a4,_0x476a56._0x5eab63)]!==_0x1644fc){_0x1644fc[_0xf6a34f(_0x476a56._0x4ca393,0x523)]();return;}continue;case'6':this['log'](_0xf6a34f(_0x476a56._0x30be6c,_0x476a56._0x53b98d)+_0xf6a34f(0x238,0x3bb)+_0x30b596(_0x476a56._0x2637ae,0x234)+_0xf6a34f(_0x476a56._0x59e1e6,0x498)+_0xf6a34f(_0x476a56._0x2fd0e3,_0x476a56._0x403de2)+this[_0x30b596(_0x476a56._0x5f1c5b,_0x476a56._0x271b57)+'ince'](this[_0x30b596(_0x476a56._0x51cfe9,0x26a)+_0x30b596(0x2e1,0x205)+_0x30b596(-0x276,-0xa7)]));continue;}break;}}),_0x1644fc['on'](_0x7c344a(0x220,_0x5e6043._0x267420),(_0x1cf2f2,_0x38db95)=>{function _0x2ab852(_0x517efe,_0x558b3d){return _0x7c344a(_0x517efe,_0x558b3d- -_0x18fc23._0x4c6a02);}function _0x38d9c7(_0x417467,_0x508c51){return _0x7c344a(_0x508c51,_0x417467-0x7d);}this[_0x38d9c7(_0x171522._0x419ef6,_0x171522._0xd69c39)+_0x2ab852(_0x171522._0x88897c,_0x171522._0x5ee01b)+_0x2ab852(0x2f7,0x224)](_0x1cf2f2,_0x38db95);}),_0x1644fc[_0x487313(_0x5e6043._0x2cb2d8,0x6f7)](_0x7c344a(0x9f,0x10b),_0xb68914=>{function _0x3ac37d(_0x598284,_0x57314f){return _0x7c344a(_0x598284,_0x57314f- -_0x313145._0x43ab1d);}function _0x598958(_0x58cea0,_0x904d7e){return _0x7c344a(_0x904d7e,_0x58cea0-_0x4b5e8f._0xeb4ded);}this[_0x598958(_0x488768._0x4e1250,0x611)]('gateway\x20'+_0x598958(_0x488768._0x2d0a05,0x7bd)+String(_0xb68914));}),_0x1644fc['once'](_0x487313(0x3cf,_0x5e6043._0x44dd87),(_0x4575dc,_0x577e76)=>{this[_0x36e8a4(_0x313872._0x35c388,0x5f5)+_0x8d57d8(0x608,0x75b)]===_0x1644fc&&(this[_0x36e8a4(0x471,0x225)+'ocket']=null);this[_0x8d57d8(_0x313872._0x2dae16,0x3ed)+_0x8d57d8(0x4c3,_0x313872._0x61c0a5)+'g']=![];function _0x8d57d8(_0x3e3fa5,_0x1760a4){return _0x7c344a(_0x3e3fa5,_0x1760a4-_0x2f3caa._0x381519);}this['gatewayH'+_0x36e8a4(_0x313872._0x2d25f9,0x2b3)+_0x8d57d8(0x4f5,_0x313872._0x4f4d98)]=![];function _0x36e8a4(_0x5ca5a0,_0x228707){return _0x7c344a(_0x228707,_0x5ca5a0-_0x4e5219._0x571290);}this[_0x8d57d8(_0x313872._0x3c7cc3,0x3ed)+'onnected'+'AtMs']=null,this[_0x8d57d8(0x1b5,_0x313872._0x588153)+_0x8d57d8(_0x313872._0x5d6674,_0x313872._0x3bda27)]({'gatewayConnected':![],'lastError':_0x4575dc===0x3e8?this[_0x8d57d8(_0x313872._0x5b8616,0x44a)][_0x36e8a4(0x3ab,_0x313872._0x50b745)+'r']:_0x8d57d8(_0x313872._0x546730,0x66a)+_0x8d57d8(_0x313872._0x31678a,0x439)+(_0x577e76[_0x36e8a4(0x315,0x3f5)]()||_0x4575dc)}),this[_0x36e8a4(_0x313872._0x50d403,0x352)]('gateway\x20'+_0x36e8a4(0x233,0x57)+'cted\x20cod'+'e='+_0x4575dc+_0x8d57d8(0x4f4,_0x313872._0x4da0d1)+(_0x577e76[_0x8d57d8(0x390,_0x313872._0x2cc5e8)]()||_0x36e8a4(0x1b7,_0x313872._0x1a03c1))+(_0x36e8a4(_0x313872._0x2e4e68,0x496)+'ientDema'+_0x36e8a4(_0x313872._0x17cab4,_0x313872._0x47192a))+this['elapsedS'+_0x36e8a4(0x51a,_0x313872._0x1d26f8)](this[_0x8d57d8(0x616,_0x313872._0x171a57)+_0x8d57d8(_0x313872._0x1df616,_0x313872._0x17396d)+_0x8d57d8(_0x313872._0x57398e,_0x313872._0x452b57)])),this['schedule'+'GatewayR'+_0x8d57d8(0x2b4,_0x313872._0xe9ed35)]();});}[_0x3a7f13(0x470,0x54d)+'tewayMes'+'sage'](_0x5ebb0e,_0x1cc094){const _0x5186df={_0x281ace:0x511,_0x1cacc0:0x493,_0x2df121:0x5a6,_0x524613:0x5d9,_0x46bc7d:0x813,_0xc9904f:0x775,_0x5120b6:0x5b9,_0x133547:0x73f,_0x280c1f:0x7e0,_0x303b75:0x976,_0x4dd3d7:0x877,_0x54b162:0x710,_0xe5860:0x54c,_0x3eba12:0x470,_0xdb79d3:0x46f,_0x293b5b:0x423};function _0x3b797e(_0x2d23ed,_0x3fa1be){return _0x32d8ea(_0x2d23ed,_0x3fa1be- -0x1d7);}const _0x303f25={'bPGrb':function(_0x1db5b0,_0x5da861){return _0x1db5b0(_0x5da861);}},_0x210e9b=this['relaySoc'+'ket'];if(!_0x210e9b||_0x210e9b[_0x33fd7a(_0x5186df._0x281ace,0x53f)+'te']!==_0x30847f[_0x33fd7a(_0x5186df._0x1cacc0,0x5c8)])return;if(_0x1cc094){_0x210e9b[_0x3b797e(_0x5186df._0x2df121,0x418)](_0x303f25[_0x33fd7a(_0x5186df._0x524613,_0x5186df._0x46bc7d)](normalizeBinary,_0x5ebb0e));return;}function _0x33fd7a(_0x7163f,_0x4ba99b){return _0x32d8ea(_0x4ba99b,_0x7163f- -0x180);}const _0x4bb06a=normalizeText(_0x5ebb0e);if(_0x4bb06a==null)return;const _0x5c2463=parsePairingRequestFromError(_0x4bb06a);_0x5c2463&&this[_0x33fd7a(0x77e,_0x5186df._0xc9904f)+_0x33fd7a(_0x5186df._0x5120b6,_0x5186df._0x133547)+_0x33fd7a(_0x5186df._0x280c1f,_0x5186df._0x303b75)](_0x5c2463);const _0x52631a=_0x303f25[_0x3b797e(0x47f,0x582)](parsePairResolvedEvent,_0x4bb06a);_0x52631a&&this[_0x3b797e(_0x5186df._0x4dd3d7,0x7cd)+_0x3b797e(0x5d0,_0x5186df._0x54b162)+_0x33fd7a(0x89e,0x989)](_0x52631a[_0x33fd7a(0x7a2,0x95a)+'d'],_0x52631a[_0x3b797e(_0x5186df._0xe5860,_0x5186df._0x3eba12)]),_0x210e9b[_0x33fd7a(_0x5186df._0xdb79d3,_0x5186df._0x293b5b)](_0x4bb06a);}['flushPen'+_0x32d8ea(0x556,0x6fe)+_0x3a7f13(0x488,0x4ce)+'ges'](){const _0x15a353={_0x36d576:0x731,_0x17b44e:0x68c,_0x321d18:0x272,_0x35a9f1:0x75,_0x254356:0x10e,_0x39771f:0x223,_0x5105d5:0xcb,_0x1b6e5a:0x51e,_0x18585e:0x1e,_0x4110d7:0x13e,_0xace224:0x1b,_0x32b917:0x13e,_0x2a228d:0x741,_0x1a6c3f:0x6a0,_0xcad3a6:0x20c,_0x317d1e:0x264,_0x38a85d:0x36d,_0x562f0a:0x1bc,_0x5efa5f:0x11b,_0x183718:0x120,_0x671a9c:0x486,_0x32f436:0x3d0,_0x4febca:0x226,_0x47579b:0x209,_0x3e2277:0x1e5,_0x252ee0:0x222},_0x2fef28={_0x3315b1:0x396},_0x2e7282={};_0x2e7282[_0x2512eb(0x20a,0x32d)]=function(_0x5a01a1,_0x1256e5){return _0x5a01a1>_0x1256e5;};const _0x46db71=_0x2e7282,_0x3c35be=this[_0x171b37(_0x15a353._0x36d576,0x5e2)+_0x171b37(0x5bc,_0x15a353._0x17b44e)];if(!_0x3c35be||_0x3c35be[_0x171b37(0x4a3,0x303)+'te']!==_0x30847f['OPEN'])return;const _0x47fa68=[],_0x7317cf=dedupePendingGatewayMessages(this['pendingG'+_0x2512eb(_0x15a353._0x321d18,0x1bc)+_0x2512eb(-0x20c,-_0x15a353._0x35a9f1)]);_0x46db71['Xcsnp'](_0x7317cf['dropped'],0x0)&&this[_0x2512eb(-_0x15a353._0x254356,-0x25)]('dropped\x20'+_0x2512eb(_0x15a353._0x39771f,_0x15a353._0x5105d5)+_0x171b37(0x1fa,0x384)+_0x171b37(0x5c4,_0x15a353._0x1b6e5a)+_0x2512eb(-0x1b4,_0x15a353._0x18585e)+'fore\x20flu'+_0x2512eb(0x1c7,0x1bd)+'ed='+_0x7317cf[_0x2512eb(0x15b,-0xc8)]+_0x171b37(0x20d,0x41c)+_0x7317cf[_0x2512eb(_0x15a353._0x4110d7,0x2b0)][_0x2512eb(_0x15a353._0xace224,_0x15a353._0x32b917)]);this['pendingG'+_0x171b37(_0x15a353._0x2a228d,_0x15a353._0x1a6c3f)+_0x2512eb(-_0x15a353._0xcad3a6,-_0x15a353._0x317d1e)]=[];function _0x171b37(_0x27ab60,_0x2dc8de){return _0x3a7f13(_0x27ab60,_0x2dc8de-0x98);}for(const _0xabf106 of _0x7317cf[_0x2512eb(0x13e,0x251)]){if(!this['gatewayH'+'andshake'+_0x2512eb(0x226,_0x15a353._0x38a85d)]){if(_0xabf106[_0x2512eb(_0x15a353._0x562f0a,0x0)]!==_0x171b37(_0x15a353._0x5efa5f,0x30e)||!isConnectHandshakeRequest(_0xabf106[_0x2512eb(-_0x15a353._0x183718,-0x180)])){_0x47fa68['push'](_0xabf106);continue;}this[_0x171b37(_0x15a353._0x671a9c,_0x15a353._0x32f436)+_0x171b37(0x545,0x5f0)+_0x2512eb(_0x15a353._0x4febca,0x8)]=!![];}this[_0x2512eb(-_0x15a353._0x47579b,-0x3ec)+'teway'](_0xabf106);}function _0x2512eb(_0x14e56b,_0x45590f){return _0x3a7f13(_0x45590f,_0x14e56b- -_0x2fef28._0x3315b1);}this['pendingG'+'atewayMe'+_0x171b37(_0x15a353._0x3e2277,_0x15a353._0x252ee0)]=_0x47fa68;}[_0x32d8ea(0x5bf,0x5b3)+_0x3a7f13(0x294,0x203)](_0x4105aa){const _0x51cb4c={_0x46afcf:0x5be,_0x1c7c6b:0x27e,_0xbf7767:0x492,_0x2ba374:0x8c7,_0x42296c:0x8f8,_0x401a01:0x5ef,_0x27d50f:0x5e8,_0x1e0cb0:0x5ef,_0x104533:0x474,_0x8bb785:0x4af,_0x36ba26:0x52f,_0x185fcf:0x390,_0x5d17f6:0x7f8,_0x58dd3a:0x7b0,_0x292ab6:0x80b,_0x7b0fbd:0x45e,_0x304e97:0x568,_0x1177df:0x3f1},_0x11cfa0={_0x12143d:0x91},_0x270631={'pixCJ':function(_0x62a9c1,_0x2218be,_0x233f70){return _0x62a9c1(_0x2218be,_0x233f70);},'tbVbe':function(_0x4bd9c8,_0x147897){return _0x4bd9c8(_0x147897);}};function _0x5ebf72(_0xcf9ac0,_0x293e92){return _0x3a7f13(_0xcf9ac0,_0x293e92-_0x11cfa0._0x12143d);}const _0x1ca838=this[_0x5ebf72(_0x51cb4c._0x46afcf,0x5db)+_0x25f179(0x96d,0xb35)];function _0x25f179(_0xba29b7,_0x536a09){return _0x3a7f13(_0x536a09,_0xba29b7-0x379);}if(!_0x1ca838||_0x1ca838[_0x25f179(0x5e4,0x826)+'te']!==_0x30847f[_0x5ebf72(0x45d,_0x51cb4c._0x1c7c6b)]){this['pushPend'+_0x25f179(0x660,_0x51cb4c._0xbf7767)+_0x25f179(_0x51cb4c._0x2ba374,_0x51cb4c._0x42296c)+'e'](_0x4105aa);return;}if(_0x4105aa[_0x5ebf72(0x62d,0x5e3)]===_0x25f179(_0x51cb4c._0x401a01,0x789)){const _0x2b2883=_0x270631[_0x5ebf72(0x111,0x2c4)](patchConnectRequestGatewayAuth,_0x4105aa[_0x25f179(0x5ef,_0x51cb4c._0x27d50f)],readOpenClawInfo()),_0xe3b951=parseConnectHandshakeMeta(_0x2b2883[_0x25f179(_0x51cb4c._0x1e0cb0,_0x51cb4c._0x104533)]);_0xe3b951&&this[_0x25f179(0x601,_0x51cb4c._0x401a01)]('gateway\x20'+'connect\x20'+_0x5ebf72(0x679,_0x51cb4c._0x8bb785)+'forwarde'+'d'+_0x270631[_0x5ebf72(0x328,_0x51cb4c._0x36ba26)](formatConnectHandshakeMetaForLog,_0xe3b951));_0x2b2883[_0x5ebf72(0x285,_0x51cb4c._0x185fcf)]&&this[_0x5ebf72(0x1a6,0x319)]('gateway\x20'+_0x25f179(0x7f7,_0x51cb4c._0x5d17f6)+_0x25f179(_0x51cb4c._0x58dd3a,_0x51cb4c._0x292ab6)+_0x5ebf72(_0x51cb4c._0x7b0fbd,_0x51cb4c._0x304e97)+'e=passwo'+'rd');_0x1ca838[_0x25f179(0x542,0x3c8)](_0x2b2883[_0x25f179(0x5ef,0x558)]);return;}_0x1ca838[_0x25f179(0x542,_0x51cb4c._0x1177df)](_0x4105aa['data']);}['sendGate'+_0x3a7f13(-0x82,0x1bf)+'st'](_0x22be31,_0x47ab7b){const _0x267bd7={_0x249989:0x2d6,_0x1dcc1c:0x3be,_0x426c2a:0x2d7,_0x103cb2:0x39,_0x535374:0x2c0},_0x9f8db1={_0x3c4c1c:0x151},_0x16a880={'HRiwJ':function(_0x1b1f86){return _0x1b1f86();}},_0x4fde71=JSON[_0x223756(0x32,0xda)+'y']({'type':_0x223756(0x1a1,0x115),'id':'bridge-'+_0x16a880[_0x51f64f(_0x267bd7._0x249989,0x13b)](_0x45799a),'method':_0x22be31,'params':_0x47ab7b}),_0x313719={};function _0x51f64f(_0x2c5bbb,_0x3c6af3){return _0x3a7f13(_0x3c6af3,_0x2c5bbb- -_0x9f8db1._0x3c4c1c);}_0x313719[_0x223756(_0x267bd7._0x1dcc1c,0x1fb)]='text';function _0x223756(_0x38cf9a,_0xe33c72){return _0x3a7f13(_0x38cf9a,_0xe33c72- -0x357);}_0x313719[_0x51f64f(0x125,_0x267bd7._0x426c2a)]=_0x4fde71,this[_0x223756(_0x267bd7._0x103cb2,-0x10d)+_0x51f64f(0x1df,0x328)+_0x223756(0x104,_0x267bd7._0x535374)+'sage'](_0x313719);}['closeGat'+_0x32d8ea(0x7e8,0x6df)](){const _0x745f04={_0x5a5b2d:0x200,_0x4d0ea3:0x766,_0x380f02:0x880,_0x6f4e08:0xc9,_0x41e2a8:0x193};this[_0x42ed82(_0x745f04._0x5a5b2d,0x361)+_0x103206(0x6e0,0x8e2)]?.[_0x103206(0x779,_0x745f04._0x4d0ea3)](),this[_0x103206(_0x745f04._0x380f02,0x838)+'ocket']=null;function _0x103206(_0x5b8805,_0x4bc590){return _0x3a7f13(_0x5b8805,_0x4bc590-0x2ee);}this['gatewayC'+_0x103206(0x7f3,0x7f8)+'g']=![],this[_0x103206(0x7f3,0x626)+_0x42ed82(0x20e,0x2bd)+_0x42ed82(0x272,0x36)]=![];function _0x42ed82(_0x4cad2b,_0x4daa98){return _0x3a7f13(_0x4daa98,_0x4cad2b- -0x34a);}this[_0x103206(0x790,0x574)+_0x103206(0x69e,0x53b)+_0x42ed82(_0x745f04._0x6f4e08,_0x745f04._0x41e2a8)]=null;}[_0x3a7f13(0x479,0x44e)+_0x3a7f13(0x65d,0x42d)+'onnect'](){const _0x5b6102={_0x21ee16:0xa0,_0xbbaf29:0xf4,_0x5b971d:0x157,_0xea00ea:0x226,_0x1b2840:0x10,_0xc42bef:0x3e2,_0x27da81:0x15f,_0xe6fee3:0x249,_0x35c033:0x378,_0x20b32f:0x56a,_0x147a65:0x1ec,_0x6566ea:0x81,_0x3268c1:0x2f1,_0xa15002:0x11c,_0x243850:0x42,_0x5da79b:0x29f,_0xac9db9:0x1b4,_0x514fe1:0x184,_0x2d638e:0x115},_0x4aa87f={_0xe92fe1:0x40c,_0x5b142b:0x140,_0x4cce5f:0x51e,_0xb618ad:0x389,_0x502ff3:0x27f},_0xf37f28={_0x5683dd:0x2ca},_0x1e2c4a={_0x55fbcd:0xbe},_0x3485d0={};function _0x191543(_0x5b7546,_0x732850){return _0x3a7f13(_0x732850,_0x5b7546- -_0x1e2c4a._0x55fbcd);}_0x3485d0[_0x22836b(_0x5b6102._0x21ee16,-_0x5b6102._0xbbaf29)]=function(_0x1f57ad,_0x17cafb){return _0x1f57ad*_0x17cafb;};const _0x365556=_0x3485d0;if(this['stopped']||this['reconnec'+_0x191543(0xf7,_0x5b6102._0x5b971d)])return;function _0x22836b(_0x1bbca7,_0x43fc86){return _0x3a7f13(_0x1bbca7,_0x43fc86- -_0xf37f28._0x5683dd);}const _0x5d182f=this[_0x191543(_0x5b6102._0xea00ea,-_0x5b6102._0x1b2840)][_0x191543(0x249,0x2fa)+_0x191543(0x4ef,_0x5b6102._0xc42bef)+_0x22836b(0x45a,0x2c6)]??RECONNECT_BASE_DELAY_MS,_0x3140f0=this[_0x22836b(-_0x5b6102._0x27da81,0x1a)][_0x191543(_0x5b6102._0xe6fee3,0x9f)+'tMaxDela'+_0x191543(_0x5b6102._0x35c033,_0x5b6102._0x20b32f)]??RECONNECT_MAX_DELAY_MS,_0x1719d2=Math[_0x22836b(-_0x5b6102._0x147a65,-_0x5b6102._0x6566ea)](_0x3140f0,_0x365556[_0x191543(0x118,0x92)](_0x5d182f,Math[_0x22836b(0x7c,0x2c5)](0x1,this['relayAtt'+_0x191543(0x34d,_0x5b6102._0x3268c1)])));this[_0x22836b(_0x5b6102._0xa15002,-_0x5b6102._0x243850)](_0x191543(0x488,_0x5b6102._0x5da79b)+_0x22836b(0x13d,_0x5b6102._0xac9db9)+_0x22836b(0x277,_0x5b6102._0x514fe1)+'d\x20delayM'+'s='+_0x1719d2),this['reconnec'+_0x22836b(-0x7e,-_0x5b6102._0x2d638e)]=setTimeout(()=>{function _0x3e9d10(_0x2fd62f,_0x2bfc99){return _0x191543(_0x2fd62f-0x26c,_0x2bfc99);}function _0x332067(_0x4cd742,_0x475117){return _0x191543(_0x475117-0x8c,_0x4cd742);}this[_0x332067(_0x4aa87f._0xe92fe1,0x2d5)+_0x3e9d10(0x363,_0x4aa87f._0x5b142b)]=null,void this[_0x332067(0x6f5,_0x4aa87f._0x4cce5f)+_0x3e9d10(_0x4aa87f._0xb618ad,_0x4aa87f._0x502ff3)]();},_0x1719d2);}['schedule'+_0x3a7f13(0x2b9,0x3e1)+_0x3a7f13(0x1d2,0x1c5)](){const _0x3dd219={_0x17e0be:0x42c,_0xd33e9d:0x330,_0x527aae:0x56e,_0x793df1:0x229,_0x3b0ea4:0x30,_0x68f39c:0xc6,_0x2ffafc:0x658,_0x30569b:0x4fe,_0x162128:0x55a},_0x4adc95={_0xca7a30:0x367,_0x3872cb:0x36c,_0x20d360:0x45f,_0x117440:0x29c},_0x1fae21={_0xa41843:0x15d},_0x4a8eec={_0x2ab395:0x7};function _0x2c8749(_0x3961bb,_0x2a704c){return _0x3a7f13(_0x3961bb,_0x2a704c- -0x12a);}function _0x143c0(_0x52bdc5,_0x1df513){return _0x3a7f13(_0x1df513,_0x52bdc5-_0x4a8eec._0x2ab395);}if(this[_0x143c0(_0x3dd219._0x17e0be,_0x3dd219._0xd33e9d)]||this['gatewayR'+_0x2c8749(0x407,0x33a)+'r']||!this['isRelayO'+_0x143c0(0x3e9,_0x3dd219._0x527aae)]())return;const _0x245f5e=this[_0x2c8749(_0x3dd219._0x793df1,0x1ba)][_0x2c8749(-_0x3dd219._0x3b0ea4,_0x3dd219._0x68f39c)+_0x143c0(0x5f2,_0x3dd219._0x2ffafc)+_0x2c8749(_0x3dd219._0x30569b,0x30c)]??GATEWAY_RETRY_DELAY_MS;this[_0x143c0(0x1f7,0x21)+_0x143c0(0x46b,_0x3dd219._0x162128)+'r']=setTimeout(()=>{this[_0x422dbb(0xf3,-0xda)+_0x422dbb(_0x4adc95._0xca7a30,_0x4adc95._0x3872cb)+'r']=null;function _0x1874dd(_0x248b04,_0x2ba807){return _0x2c8749(_0x248b04,_0x2ba807-_0x1fae21._0xa41843);}function _0x422dbb(_0x350e65,_0x33864f){return _0x2c8749(_0x33864f,_0x350e65-0x2d);}this[_0x1874dd(0x58c,_0x4adc95._0x20d360)+_0x422dbb(_0x4adc95._0x117440,0x1a5)+_0x1874dd(0x79a,0x5f6)]();},_0x245f5e);}[_0x3a7f13(0x347,0x4e1)+_0x3a7f13(0x2af,0x34f)](){const _0x6b88cf={_0x5dc74d:0xe4,_0x4fb2fb:0x501,_0x4a9526:0x51e,_0x3ce620:0x3e0,_0x4ef356:0x153,_0x1494b2:0x1d1,_0x35f891:0x37e,_0x5ebd89:0x41d,_0xb9af3c:0x3a4},_0x2e7547={_0x13ca45:0x49b,_0x48a27f:0x51c,_0x26b65f:0x3bb,_0x30e2ed:0x434,_0x48b0e1:0x4d0,_0x5268c5:0x58b,_0x254e3a:0x3de,_0x450382:0x912,_0x495e5d:0x484,_0x1ae785:0x50d,_0x13b774:0x588,_0x1d1a0b:0x3c5,_0x1c80ee:0x1d1},_0x3d0e84={};_0x3d0e84[_0x51c516(_0x6b88cf._0x5dc74d,-0xbb)]='relay\x20he'+_0x16187d(_0x6b88cf._0x4fb2fb,_0x6b88cf._0x4a9526)+_0x51c516(_0x6b88cf._0x3ce620,0x621)+'t';const _0x53516d=_0x3d0e84;function _0x51c516(_0x272911,_0x17f3b4){return _0x32d8ea(_0x17f3b4,_0x272911- -0x5b7);}this['stopHear'+'tbeat']();function _0x16187d(_0x1e58d3,_0x2b13d5){return _0x32d8ea(_0x1e58d3,_0x2b13d5- -0x2ce);}this[_0x16187d(0x608,0x5b5)+'tTimer']=setInterval(()=>{const _0x188d58={_0x294f35:0x80};function _0x213929(_0x52aa23,_0x4dce58){return _0x16187d(_0x4dce58,_0x52aa23- -0x8);}function _0x436faa(_0x17cb06,_0x4117d0){return _0x16187d(_0x4117d0,_0x17cb06- -_0x188d58._0x294f35);}const _0x52c69a=this[_0x436faa(_0x2e7547._0x13ca45,_0x2e7547._0x48a27f)+_0x436faa(0x340,0x2f1)];if(!_0x52c69a||_0x52c69a[_0x213929(_0x2e7547._0x26b65f,0x4f1)+'te']!==_0x30847f['OPEN'])return;const _0x2afcc0=this[_0x213929(_0x2e7547._0x30e2ed,_0x2e7547._0x48b0e1)][_0x213929(0x5ad,0x526)+_0x436faa(_0x2e7547._0x5268c5,_0x2e7547._0x254e3a)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(Date[_0x436faa(0x6c8,_0x2e7547._0x450382)]()-this[_0x436faa(_0x2e7547._0x495e5d,0x32d)+_0x436faa(_0x2e7547._0x1ae785,_0x2e7547._0x13b774)+'yMs']>_0x2afcc0){this[_0x213929(0x3d8,0x3fa)](_0x53516d[_0x213929(_0x2e7547._0x1d1a0b,_0x2e7547._0x1c80ee)]),_0x52c69a['terminat'+'e']();return;}_0x52c69a[_0x213929(0x346,0x171)]();},this[_0x51c516(_0x6b88cf._0x4ef356,0x10d)][_0x51c516(0x2cc,_0x6b88cf._0x1494b2)+_0x51c516(_0x6b88cf._0x35f891,_0x6b88cf._0x5ebd89)+_0x16187d(0x4ab,_0x6b88cf._0xb9af3c)]??HEARTBEAT_INTERVAL_MS);}[_0x3a7f13(0x29b,0x476)+'tbeat'](){const _0xee489d={_0x25f1e7:0x9e9,_0x24f2a1:0x4ad,_0x4b1650:0x2b2,_0x4c8f8c:0x8dc,_0x4935fc:0xac5,_0x1f3bc5:0x6f9,_0x1cbe39:0x64a,_0xefb076:0x7e4};function _0x2e6178(_0x30c707,_0x17ef40){return _0x32d8ea(_0x17ef40,_0x30c707- -0x12e);}function _0x1b1ae9(_0x4a640f,_0x112a8f){return _0x32d8ea(_0x4a640f,_0x112a8f- -0x9f);}const _0xd12a43={'dZhJW':function(_0xce0f7,_0x427a61){return _0xce0f7(_0x427a61);}};this[_0x1b1ae9(_0xee489d._0x25f1e7,0x7e4)+_0x2e6178(_0xee489d._0x24f2a1,_0xee489d._0x4b1650)]&&(_0xd12a43[_0x2e6178(_0xee489d._0x4c8f8c,_0xee489d._0x4935fc)](clearInterval,this[_0x1b1ae9(_0xee489d._0x1f3bc5,0x7e4)+'tTimer']),this[_0x1b1ae9(_0xee489d._0x1cbe39,_0xee489d._0xefb076)+'tTimer']=null);}['pushPend'+'ingGatew'+_0x3a7f13(0x49c,0x54e)+'e'](_0x4fd96e){const _0x4321e7={_0x49cb5e:0xa2c,_0x36a262:0x34b,_0x198faa:0x509,_0x2891aa:0x7fe,_0x1cf3b4:0x34b,_0x5278cc:0x2fd};this[_0x2ca63f(0x7c2,0x5aa)+_0x2ca63f(_0x4321e7._0x49cb5e,0xc28)+'ssages'][_0x2ca63f(0x7d5,0x846)]>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+_0x2ca63f(_0x4321e7._0x49cb5e,0x837)+_0x546512(_0x4321e7._0x36a262,_0x4321e7._0x198faa)][_0x2ca63f(0x8df,0xa89)]();function _0x546512(_0x459f2b,_0x184289){return _0x32d8ea(_0x184289,_0x459f2b- -0x265);}function _0x2ca63f(_0x245d0d,_0x2068fe){return _0x32d8ea(_0x2068fe,_0x245d0d- -0x2);}this['pendingG'+_0x2ca63f(_0x4321e7._0x49cb5e,_0x4321e7._0x2891aa)+_0x546512(_0x4321e7._0x1cf3b4,_0x4321e7._0x5278cc)]['push'](_0x4fd96e);}['observeC'+'onnectSt'+'art'](_0x146a82,_0x148ea6){const _0x541aad={_0x5d8154:0x510,_0xbece0f:0x46b,_0x49c9ca:0x37b,_0x19ece2:0x63a,_0x4f5282:0x640,_0x5f4257:0x810,_0x14726d:0x89b,_0x233fbb:0xa7f,_0x4f1547:0x5bd,_0x3d662f:0x6ab,_0x453aab:0x6ef,_0x273d25:0x603,_0x1b2b43:0x2d9,_0x1d2a4f:0x599,_0x4b15aa:0x484,_0x4a6964:0x432,_0x8a20a3:0x540,_0x3a761b:0x4ae,_0x1d853d:0x267,_0x506b4b:0x53d},_0x1cfd45={_0x45417a:0x98},_0x953c9c={_0x62be95:0x2f3},_0x493d95={};_0x493d95['vVOAc']=_0x1bfa65(_0x541aad._0x5d8154,0x6aa)+'d';const _0x4c651b=_0x493d95;function _0x1bfa65(_0x146566,_0x1101e4){return _0x3a7f13(_0x1101e4,_0x146566-_0x953c9c._0x62be95);}const _0x57399b=Date[_0x1eea31(0x688,_0x541aad._0xbece0f)](),_0x6564c0=new Map(this[_0x1eea31(_0x541aad._0x49c9ca,0x361)][_0x1bfa65(0x510,0x6df)+_0x1eea31(0x540,_0x541aad._0x19ece2)][_0x1bfa65(_0x541aad._0x4f5282,0x66d)](_0x2fa302=>[_0x2fa302['id'],{..._0x2fa302}])),_0x768f93=_0x6564c0['get'](_0x146a82)??{'id':_0x146a82,'label':_0x148ea6,'state':_0x4c651b[_0x1bfa65(_0x541aad._0x5f4257,0x7c2)],'lastSeenMs':_0x57399b};_0x768f93[_0x1bfa65(_0x541aad._0x14726d,_0x541aad._0x233fbb)]=_0x148ea6,_0x768f93[_0x1bfa65(_0x541aad._0x4f1547,_0x541aad._0x3d662f)]='connecte'+'d',_0x768f93[_0x1bfa65(_0x541aad._0x453aab,_0x541aad._0x273d25)+'Ms']=_0x57399b,_0x6564c0[_0x1eea31(_0x541aad._0x1b2b43,0x3e3)](_0x146a82,_0x768f93);const _0x204725=[..._0x6564c0[_0x1eea31(0x40a,_0x541aad._0x1d2a4f)]()]['sort']((_0xd8e026,_0x3202a8)=>_0x3202a8[_0x1bfa65(0x6ef,0x5dc)+'Ms']-_0xd8e026['lastSeen'+'Ms'])[_0x1eea31(0x3b3,_0x541aad._0x4b15aa)](0x0,MAX_DEVICE_DETAILS),_0x48130e={};_0x48130e[_0x1bfa65(0x510,_0x541aad._0x4a6964)+_0x1eea31(_0x541aad._0x8a20a3,_0x541aad._0x3a761b)]=_0x204725;function _0x1eea31(_0x20fda2,_0xef427){return _0x3a7f13(_0xef427,_0x20fda2-_0x1cfd45._0x45417a);}this[_0x1eea31(_0x541aad._0x1d853d,0x2d8)+_0x1eea31(0x5ee,_0x541aad._0x506b4b)](_0x48130e);}[_0x32d8ea(0x89f,0x7a9)+_0x3a7f13(0x271,0x3a5)+'t'](){const _0x7ed173={_0x1c4e32:0x7f6,_0x2b74b5:0x595,_0x4a58ee:0x309,_0x45fa66:0x53,_0x2fd3b4:0x33};function _0x53a16a(_0x3052bc,_0x22ba52){return _0x3a7f13(_0x22ba52,_0x3052bc- -0x3a0);}function _0x45d8c9(_0x4ea480,_0x5b0ab7){return _0x3a7f13(_0x5b0ab7,_0x4ea480-0x2b2);}this['updateSn'+_0x45d8c9(0x808,_0x7ed173._0x1c4e32)]({'connectedDevices':this[_0x45d8c9(_0x7ed173._0x2b74b5,0x415)]['connecte'+_0x53a16a(0x108,_0x7ed173._0x4a58ee)][_0x53a16a(-_0x7ed173._0x45fa66,-_0x7ed173._0x2fd3b4)](_0x25603a=>({..._0x25603a,'state':_0x53a16a(-0x106,-0x10b)}))});}[_0x32d8ea(0xa82,0x8fe)+_0x3a7f13(0x259,0x313)+_0x3a7f13(0x431,0x53a)](_0x235b93){const _0x2a101b={_0x379cb9:0x82b,_0x37df8a:0x62a,_0x3fb738:0x4ef,_0x43ad03:0x967,_0x36f8d9:0x726,_0x4cad89:0x233,_0x370e16:0xa,_0x356a57:0x1c6,_0x30fc12:0x5fd,_0x1ca1aa:0x611,_0xecb1be:0x30a,_0x156abb:0x5f6,_0x8e5cb4:0x635,_0x29f07b:0x66b,_0x47a3ed:0x5c8,_0x45a628:0x7b1,_0x3b9909:0xbb};if(this[_0x39b3b8(0x690,_0x2a101b._0x379cb9)][_0x39b3b8(_0x2a101b._0x37df8a,_0x2a101b._0x3fb738)+'airReque'+'sts'][_0x39b3b8(_0x2a101b._0x43ad03,_0x2a101b._0x36f8d9)](_0x4c738f=>_0x4c738f[_0x5aeee4(0x38b,0x445)+'d']===_0x235b93[_0x5aeee4(0x4cb,0x445)+'d']))return;const _0x5b0ecb=[...this[_0x5aeee4(_0x2a101b._0x4cad89,0x22c)][_0x5aeee4(_0x2a101b._0x370e16,_0x2a101b._0x356a57)+'airReque'+'sts'],_0x235b93]['slice'](-MAX_PENDING_PAIR_REQUESTS),_0xb8944c={};function _0x5aeee4(_0x4d7dd9,_0x52d6cc){return _0x32d8ea(_0x4d7dd9,_0x52d6cc- -0x4dd);}_0xb8944c[_0x5aeee4(0x3b2,0x1c6)+_0x39b3b8(_0x2a101b._0x30fc12,0x42f)+'sts']=_0x5b0ecb,this[_0x39b3b8(0x57c,_0x2a101b._0x1ca1aa)+'apshot'](_0xb8944c),this[_0x39b3b8(0x691,0x793)][_0x39b3b8(0x642,0x47f)+_0x5aeee4(0x133,_0x2a101b._0xecb1be)+_0x5aeee4(_0x2a101b._0x156abb,0x3df)]?.(_0x235b93);function _0x39b3b8(_0x472860,_0x21711d){return _0x32d8ea(_0x21711d,_0x472860- -0x79);}this[_0x39b3b8(_0x2a101b._0x8e5cb4,0x400)]('pair\x20req'+_0x39b3b8(0x6da,0x7c0)+_0x39b3b8(_0x2a101b._0x29f07b,0x470)+_0x5aeee4(0x42f,0x2cf)+_0x235b93['requestI'+'d']+('\x20deviceI'+'d=')+(_0x235b93[_0x39b3b8(_0x2a101b._0x47a3ed,_0x2a101b._0x45a628)]||_0x5aeee4(_0x2a101b._0x3b9909,0x182)+'>'));}[_0x3a7f13(0x55c,0x57e)+_0x32d8ea(0xa26,0x8e7)+'esolved'](_0x3b8105,_0x5146e7){const _0x594d6c={_0x49a52a:0x506,_0x2524b3:0x752,_0x9f0ebc:0x6e5,_0x30e93b:0x744,_0x5ae1a1:0x421,_0x9c0894:0x2c8,_0x5c2176:0x4d9,_0x546a4c:0x458,_0xd0c633:0x41a,_0x4af966:0x239,_0x5ce297:0x6ec,_0x35f50e:0x663,_0x40bf57:0x658},_0x2baa14=this[_0x827a22(0x487,0x52d)][_0x5c6964(_0x594d6c._0x49a52a,_0x594d6c._0x2524b3)+_0x5c6964(0x4d9,0x541)+_0x5c6964(_0x594d6c._0x9f0ebc,_0x594d6c._0x30e93b)][_0x827a22(0x4f1,0x625)](_0xcda4f2=>_0xcda4f2['requestI'+'d']===_0x3b8105?{..._0xcda4f2,'status':_0x5146e7===_0x5c6964(0x7b9,0x9f4)||_0x5146e7===_0x5c6964(0x412,0x35f)?_0x5146e7:_0xcda4f2['status']}:_0xcda4f2);function _0x5c6964(_0x27adb2,_0x174797){return _0x3a7f13(_0x174797,_0x27adb2-0x289);}const _0xbf4f5b={};_0xbf4f5b[_0x827a22(_0x594d6c._0x5ae1a1,_0x594d6c._0x9c0894)+_0x5c6964(_0x594d6c._0x5c2176,0x364)+_0x5c6964(0x6e5,0x4a4)]=_0x2baa14;function _0x827a22(_0x5be46a,_0x40e774){return _0x3a7f13(_0x40e774,_0x5be46a-0x1a4);}this[_0x5c6964(_0x594d6c._0x546a4c,_0x594d6c._0xd0c633)+_0x5c6964(0x7df,0x656)](_0xbf4f5b),this[_0x827a22(0x42c,_0x594d6c._0x4af966)](_0x827a22(_0x594d6c._0x5ce297,_0x594d6c._0x35f50e)+_0x5c6964(0x55a,0x5b3)+'olved\x20re'+'questId='+_0x3b8105+(_0x827a22(_0x594d6c._0x40bf57,0x6c1)+'n=')+_0x5146e7);}[_0x32d8ea(0x3d6,0x5f5)+'apshot'](_0x203e9d){const _0x6c7134={_0x4e476d:0x263,_0x24a7df:0x29c,_0x166ca8:0x456,_0x275be2:0x10b,_0x7829b8:0x1f4,_0x17f345:0x2cd,_0x500098:0x409,_0x1dcd19:0x485},_0x5312e9={_0x41237a:0x259};function _0x343d4e(_0x5b7447,_0x99efd3){return _0x3a7f13(_0x99efd3,_0x5b7447- -_0x5312e9._0x41237a);}Object[_0x3f06f3(0x5b2,0x57d)](this[_0x3f06f3(_0x6c7134._0x4e476d,_0x6c7134._0x24a7df)],_0x203e9d,{'lastUpdatedMs':Date['now']()});function _0x3f06f3(_0x2aaf4d,_0x5dd903){return _0x3a7f13(_0x2aaf4d,_0x5dd903- -0x47);}this[_0x3f06f3(_0x6c7134._0x166ca8,0x29d)][_0x343d4e(_0x6c7134._0x275be2,_0x6c7134._0x7829b8)]?.(this[_0x343d4e(0x234,_0x6c7134._0x17f345)+_0x3f06f3(_0x6c7134._0x500098,_0x6c7134._0x1dcd19)]());}['log'](_0x48e639){function _0x5e6bfb(_0x44ce56,_0x108ce2){return _0x32d8ea(_0x44ce56,_0x108ce2- -0x249);}this[_0x5e6bfb(0x698,0x4c1)]['onLog']?.(_0x48e639);}[_0x3a7f13(0x6f3,0x5e7)+_0x32d8ea(0x92f,0x808)](){const _0x5857d3={_0x385283:0xd4,_0x58d155:0x90,_0x49a5a0:0x146,_0xc808aa:0x86},_0x4a79a9={_0x169be1:0x759},_0x62f6ba={_0x7042ca:0x70d},_0x10fa60={};function _0x46e165(_0x368343,_0x2e5c5a){return _0x32d8ea(_0x2e5c5a,_0x368343- -_0x62f6ba._0x7042ca);}_0x10fa60[_0x53673e(_0x5857d3._0x385283,0x221)]=function(_0x357942,_0x4f57bf){return _0x357942===_0x4f57bf;};const _0x576e7f=_0x10fa60;function _0x53673e(_0x440e47,_0x281f28){return _0x32d8ea(_0x281f28,_0x440e47- -_0x4a79a9._0x169be1);}return _0x576e7f['CpzvN'](this[_0x53673e(_0x5857d3._0x58d155,-0xd9)+'ket']?.[_0x53673e(-0xc8,-0x2bb)+'te'],_0x30847f[_0x53673e(-_0x5857d3._0x49a5a0,-_0x5857d3._0xc808aa)]);}[_0x32d8ea(0x545,0x65b)+_0x32d8ea(0xa4b,0x99a)](){const _0x26e8af={_0x1c8d07:0x2aa,_0x1a9cfa:0x563,_0x204ea4:0x57e,_0x23ee3f:0x90b,_0x4cd086:0x62c,_0x349471:0x307,_0x408aef:0x3dc},_0x5f39bc={_0x134079:0x65},_0x35eed7={};_0x35eed7[_0xf34309(0x2bc,_0x26e8af._0x1c8d07)]=function(_0x3a0da4,_0x15ed2f){return _0x3a0da4===_0x15ed2f;};function _0x3cc6c1(_0x36b4e7,_0x38030f){return _0x32d8ea(_0x38030f,_0x36b4e7- -_0x5f39bc._0x134079);}const _0x18ed18=_0x35eed7;function _0xf34309(_0x13911a,_0x1a4aec){return _0x32d8ea(_0x1a4aec,_0x13911a- -0x30c);}return _0x18ed18[_0x3cc6c1(_0x26e8af._0x1a9cfa,_0x26e8af._0x204ea4)](this[_0x3cc6c1(_0x26e8af._0x23ee3f,0xab9)+_0x3cc6c1(0x9b5,0x979)]?.[_0x3cc6c1(_0x26e8af._0x4cd086,0x6f0)+'te'],_0x30847f[_0xf34309(_0x26e8af._0x349471,_0x26e8af._0x408aef)]);}[_0x3a7f13(0x606,0x516)+_0x32d8ea(0x508,0x626)](){const _0x33936d={_0x512fdd:0x514,_0x28b916:0x1e2,_0x5b4cc6:0x5c,_0x3bd44b:0x85,_0xc40430:0x1d7,_0x290bef:0x234,_0x44a766:0x14e,_0x720ef6:0x49c,_0x13f0ac:0xd8,_0x17f3f3:0x502},_0x1180f6={_0xd5e108:0x7b2},_0x20aedc={'CZZvg':function(_0x2410fd,_0x12d68b){return _0x2410fd(_0x12d68b);}};this[_0x45572a(_0x33936d._0x512fdd,0x3d2)+_0x2b1852(-_0x33936d._0x28b916,_0x33936d._0x5b4cc6)]();function _0x2b1852(_0x2ae157,_0x2a4f36){return _0x32d8ea(_0x2a4f36,_0x2ae157- -_0x1180f6._0xd5e108);}function _0x45572a(_0x5648c7,_0x574d1e){return _0x32d8ea(_0x574d1e,_0x5648c7- -0x388);}this['reconnec'+'tTimer']&&(_0x20aedc[_0x45572a(0x6ab,0x471)](clearTimeout,this[_0x2b1852(-_0x33936d._0x3bd44b,0x16f)+'tTimer']),this['reconnec'+_0x2b1852(-_0x33936d._0xc40430,-0x2e5)]=null),this[_0x45572a(0x28e,_0x33936d._0x290bef)+_0x2b1852(0xd8,-_0x33936d._0x44a766)+'r']&&(_0x20aedc[_0x45572a(0x6ab,_0x33936d._0x720ef6)](clearTimeout,this[_0x2b1852(-0x19c,-0x209)+_0x2b1852(_0x33936d._0x13f0ac,0x159)+'r']),this[_0x45572a(0x28e,0x217)+_0x45572a(_0x33936d._0x17f3f3,0x3bd)+'r']=null);}[_0x3a7f13(0x333,0x492)+_0x3a7f13(0x64b,0x5f3)](_0x287304){const _0x45f31c={_0x316ed5:0x56c,_0x49b979:0x31e,_0x3158e0:0x9cd},_0xa449ef={_0x351257:0x23},_0x1f0018={_0x2bf83f:0x3dd};function _0x5a7a2c(_0x22268b,_0x46445c){return _0x3a7f13(_0x22268b,_0x46445c-_0x1f0018._0x2bf83f);}function _0x5087aa(_0x3c1502,_0x57119e){return _0x3a7f13(_0x57119e,_0x3c1502- -_0xa449ef._0x351257);}return _0x287304==null?null:Math[_0x5087aa(_0x45f31c._0x316ed5,_0x45f31c._0x49b979)](0x0,Date[_0x5a7a2c(0xbce,_0x45f31c._0x3158e0)]()-_0x287304);}};function shouldRecycleGatewayForFreshClient(_0x18f9ba,_0x1f077c,_0x1a11c7,_0x1a0d5f){return _0x1a11c7&&_0x1f077c>0x0&&(_0x18f9ba===0x0||_0x1a0d5f);}function summarizePendingGatewayMessages(_0x15fc80){const _0x2ce4f1={_0x2ad8a8:0x586,_0x4f747a:0x710,_0x285aee:0x544,_0x3f422d:0x64c,_0x4a491c:0x6a0,_0x4e8028:0x508,_0x433f5e:0x369,_0x19fa73:0x7e2,_0x38a81b:0x1b0,_0x12c9dd:0x203,_0x187790:0x269},_0x20b3e8={_0x39c7ac:0x40f},_0x490eaf={_0x530c6c:0x194},_0x5e69fe={};_0x5e69fe[_0x12be22(0x3a2,_0x2ce4f1._0x2ad8a8)]=_0x8edcef(0x6a0,_0x2ce4f1._0x4f747a);const _0x57130f=_0x5e69fe,_0x55a403={};_0x55a403['total']=_0x15fc80[_0x8edcef(0x643,_0x2ce4f1._0x285aee)],_0x55a403[_0x8edcef(0x7e2,0x806)+'equests']=0x0;function _0x8edcef(_0x49d132,_0x44f30d){return _0x32d8ea(_0x44f30d,_0x49d132- -_0x490eaf._0x530c6c);}_0x55a403[_0x12be22(0x31b,0x269)+'t']=0x0;function _0x12be22(_0x495be7,_0x552978){return _0x32d8ea(_0x495be7,_0x552978- -_0x20b3e8._0x39c7ac);}_0x55a403['binary']=0x0;const _0x482d3d=_0x55a403;for(const _0x1a1445 of _0x15fc80){if(_0x1a1445[_0x12be22(_0x2ce4f1._0x3f422d,0x569)]===_0x57130f[_0x12be22(0x592,0x586)]){_0x482d3d[_0x8edcef(_0x2ce4f1._0x4a491c,0x858)]+=0x1;continue;}if(isConnectHandshakeRequest(_0x1a1445[_0x8edcef(_0x2ce4f1._0x4e8028,_0x2ce4f1._0x433f5e)])){_0x482d3d[_0x8edcef(_0x2ce4f1._0x19fa73,0x5b2)+_0x12be22(0x35,_0x2ce4f1._0x38a81b)]+=0x1;continue;}_0x482d3d[_0x12be22(_0x2ce4f1._0x12c9dd,_0x2ce4f1._0x187790)+'t']+=0x1;}return _0x482d3d;}function dedupePendingGatewayMessages(_0x4280c7){const _0x29b484={_0x1575ea:0x3e1,_0x753c63:0x4ef,_0x4b9581:0x789,_0x1b8572:0x213,_0x2dc8b6:0x6b4,_0x58ec6c:0x291,_0x241c0a:0x2df,_0x2bd355:0x110,_0x398996:0x205,_0x5042ba:0x99},_0x3cf6d4={_0xdc4ee5:0x23b},_0x2dd3bf={_0x1925a4:0x669};function _0x4da3ce(_0x524d2b,_0x1e7674){return _0x32d8ea(_0x1e7674,_0x524d2b- -_0x2dd3bf._0x1925a4);}function _0x123ab2(_0x30b0eb,_0x4743fa){return _0x32d8ea(_0x30b0eb,_0x4743fa- -_0x3cf6d4._0xdc4ee5);}const _0xe41506={};_0xe41506[_0x123ab2(_0x29b484._0x1575ea,_0x29b484._0x753c63)]=function(_0x55e0f3,_0x4b6fb5){return _0x55e0f3<=_0x4b6fb5;},_0xe41506[_0x123ab2(_0x29b484._0x4b9581,0x604)]=function(_0x3ce36f,_0x5547f2){return _0x3ce36f-_0x5547f2;};const _0x4720f0=_0xe41506;let _0x575bcd=-0x1;for(let _0x38913c=_0x4280c7[_0x4da3ce(0x16e,_0x29b484._0x1b8572)]-0x1;_0x38913c>=0x0;_0x38913c-=0x1){const _0xbb07b=_0x4280c7[_0x38913c];if(_0xbb07b?.[_0x123ab2(_0x29b484._0x2dc8b6,0x73d)]==='text'&&isConnectHandshakeRequest(_0xbb07b[_0x4da3ce(0x33,-0x11a)])){_0x575bcd=_0x38913c;break;}}if(_0x4720f0['UgLJE'](_0x575bcd,0x0)){const _0x837300={};return _0x837300[_0x4da3ce(_0x29b484._0x58ec6c,_0x29b484._0x241c0a)]=[..._0x4280c7],_0x837300[_0x4da3ce(0x2ae,_0x29b484._0x2bd355)]=0x0,_0x837300;}const _0x56e61e=_0x4280c7[_0x4da3ce(_0x29b484._0x398996,0xc1)]((_0x84ae08,_0x3d5bb9)=>_0x3d5bb9>=_0x575bcd||(_0x84ae08[_0x4da3ce(0x30f,0x372)]!==_0x4da3ce(0x33,0x26b)||!isConnectHandshakeRequest(_0x84ae08[_0x4da3ce(0x33,0xf8)])));return{'messages':_0x56e61e,'dropped':_0x4720f0['QrXAf'](_0x4280c7['length'],_0x56e61e[_0x4da3ce(0x16e,_0x29b484._0x5042ba)])};}function prunePendingGatewayMessagesForFreshDemand(_0x37a750){const _0x1eb042={_0x587fbb:0x19,_0x426151:0x2e6,_0x173081:0xd2,_0x23109c:0xd8,_0x5a446a:0x212,_0x1e92f3:0x19,_0x117bfa:0x137,_0x480112:0x70c,_0x36f36c:0x553,_0x265844:0x78,_0x1c8e8e:0x1f5,_0x5c3067:0xcb,_0x4c93b9:0xd2},_0x20a1c7={_0xc16832:0x705},_0x5be7ce={_0x2915df:0x1ee},_0x5a927e={};_0x5a927e[_0x13648e(0x247,_0x1eb042._0x587fbb)]=function(_0x3d1ad3,_0x46811f){return _0x3d1ad3-_0x46811f;},_0x5a927e[_0x1f7a63(0x7c5,0x797)]=function(_0x24296f,_0x15029b){return _0x24296f===_0x15029b;};const _0x51ccb2=_0x5a927e;if(_0x37a750[_0x13648e(_0x1eb042._0x426151,_0x1eb042._0x173081)]===0x0){const _0xca3526={};return _0xca3526[_0x13648e(0xa9,0x1f5)]=[],_0xca3526[_0x13648e(_0x1eb042._0x23109c,_0x1eb042._0x5a446a)]=0x0,_0xca3526;}function _0x1f7a63(_0x6c61ef,_0x32c4d7){return _0x32d8ea(_0x6c61ef,_0x32c4d7- -_0x5be7ce._0x2915df);}let _0x35200b=-0x1;for(let _0x3f0674=_0x51ccb2[_0x13648e(-0x26,_0x1eb042._0x1e92f3)](_0x37a750[_0x13648e(0x167,0xd2)],0x1);_0x3f0674>=0x0;_0x3f0674-=0x1){const _0x4bcf19=_0x37a750[_0x3f0674];if(_0x4bcf19?.[_0x13648e(0x354,0x273)]===_0x13648e(_0x1eb042._0x117bfa,-0x69)&&isConnectHandshakeRequest(_0x4bcf19['text'])){_0x35200b=_0x3f0674;break;}}if(_0x51ccb2[_0x1f7a63(0x911,0x797)](_0x35200b,-0x1)){const _0x3fc91c={};return _0x3fc91c[_0x1f7a63(0x5e5,_0x1eb042._0x480112)]=[],_0x3fc91c[_0x1f7a63(0x808,0x729)]=_0x37a750[_0x1f7a63(0x7f5,0x5e9)],_0x3fc91c;}const _0x549490=_0x37a750[_0x1f7a63(0x5f1,_0x1eb042._0x36f36c)](_0x35200b),_0x4d08dd={};_0x4d08dd[_0x13648e(_0x1eb042._0x265844,_0x1eb042._0x1c8e8e)]=_0x549490;function _0x13648e(_0x4b075c,_0x4b180c){return _0x32d8ea(_0x4b075c,_0x4b180c- -_0x20a1c7._0xc16832);}return _0x4d08dd[_0x13648e(_0x1eb042._0x5c3067,0x212)]=_0x37a750['length']-_0x549490[_0x13648e(0x1c4,_0x1eb042._0x4c93b9)],_0x4d08dd;}function patchConnectRequestGatewayAuth(_0x11536e,_0x5a369b){const _0x3ad6e9={_0x29cb8b:0x9de,_0x53dffc:0x9e3,_0x4c7f7a:0x395,_0x465b48:0x46b,_0x12f0fd:0x97d,_0x1980a4:0x6b5,_0x1f3bd9:0x45f,_0x509b35:0x6b6,_0x1d8ba0:0x755,_0xb04e0e:0x755,_0xab5cf:0x394,_0x43605b:0x70b,_0x37aca1:0x6fa,_0xd247cd:0x51b,_0x36f534:0x674,_0xe75d92:0x5a2,_0x53367e:0x2d9,_0x4205e6:0x1f1,_0x190a97:0x2e3,_0x5cb0eb:0x65e,_0x515936:0x5ba,_0x13b2e5:0x8b7,_0x1b1be5:0x65b,_0x22f840:0x2f6},_0x23b892={_0xf5f2a2:0x26},_0x19183e={};_0x19183e[_0x488f46(_0x3ad6e9._0x29cb8b,_0x3ad6e9._0x53dffc)]=_0x4340ad(_0x3ad6e9._0x4c7f7a,0x446),_0x19183e[_0x4340ad(0xf2,0x1a4)]=_0x4340ad(0x583,_0x3ad6e9._0x465b48),_0x19183e[_0x488f46(0x8c6,_0x3ad6e9._0x12f0fd)]=_0x488f46(0x488,_0x3ad6e9._0x1980a4);const _0x23dd96=_0x19183e;if(_0x5a369b[_0x4340ad(0x2c7,_0x3ad6e9._0x1f3bd9)]!==_0x488f46(_0x3ad6e9._0x509b35,_0x3ad6e9._0x1d8ba0)||!_0x5a369b[_0x488f46(0x551,_0x3ad6e9._0xb04e0e)]){const _0x365a9d={};return _0x365a9d[_0x4340ad(_0x3ad6e9._0xab5cf,0x250)]=_0x11536e,_0x365a9d['injected']=![],_0x365a9d;}function _0x4340ad(_0x1471dc,_0x23637a){return _0x3a7f13(_0x1471dc,_0x23637a- -_0x23b892._0xf5f2a2);}function _0x488f46(_0x1ee7c7,_0x2be30e){return _0x3a7f13(_0x1ee7c7,_0x2be30e-0x3e5);}try{const _0x56ae17=JSON[_0x488f46(0x7a5,0x6fb)](_0x11536e);if(_0x56ae17[_0x488f46(_0x3ad6e9._0x43605b,0x83e)]!==_0x23dd96['gEhsb']||_0x56ae17[_0x488f46(0x4b8,_0x3ad6e9._0x37aca1)]!==_0x23dd96[_0x488f46(_0x3ad6e9._0xd247cd,0x5af)]&&_0x56ae17[_0x488f46(0x714,_0x3ad6e9._0x37aca1)]!=='connect.'+_0x4340ad(_0x3ad6e9._0x36f534,_0x3ad6e9._0xe75d92)){const _0x21f8cd={};return _0x21f8cd['text']=_0x11536e,_0x21f8cd[_0x4340ad(0xbf,_0x3ad6e9._0x53367e)]=![],_0x21f8cd;}const _0x48c863=_0x56ae17[_0x4340ad(_0x3ad6e9._0x4205e6,_0x3ad6e9._0x190a97)]&&typeof _0x56ae17['params']==='object'?{..._0x56ae17[_0x4340ad(0x360,0x2e3)]}:{},_0x48631c=_0x48c863['auth']&&typeof _0x48c863['auth']===_0x23dd96['bUGPU']?{..._0x48c863[_0x4340ad(_0x3ad6e9._0x5cb0eb,_0x3ad6e9._0x515936)]}:{},_0x253a81=typeof _0x48631c[_0x488f46(0x57f,0x755)]===_0x4340ad(0x256,0x1c0)?_0x48631c[_0x488f46(_0x3ad6e9._0x13b2e5,0x755)][_0x488f46(0x8ab,0x9ee)]():'';if(_0x253a81){const _0x5a017e={};return _0x5a017e[_0x488f46(0x411,_0x3ad6e9._0x1b1be5)]=_0x11536e,_0x5a017e[_0x488f46(0x4d1,0x6e4)]=![],_0x5a017e;}_0x48631c['password']=_0x5a369b[_0x4340ad(0x319,0x34a)],_0x48c863[_0x488f46(0x865,0x9c5)]=_0x48631c;const _0xc37d41={..._0x56ae17};return _0xc37d41[_0x488f46(0x4bb,0x6ee)]=_0x48c863,{'text':JSON['stringif'+'y'](_0xc37d41),'injected':!![]};}catch{const _0x49aa6e={};return _0x49aa6e[_0x4340ad(0x190,0x250)]=_0x11536e,_0x49aa6e[_0x4340ad(_0x3ad6e9._0x22f840,_0x3ad6e9._0x53367e)]=![],_0x49aa6e;}}function formatConnectHandshakeMetaForLog(_0x11737f){const _0x8a2974={_0x174dce:0xa6,_0x8276fe:0x290,_0xb52bb1:0x126,_0x498eb6:0x1fc,_0x4adf78:0x110,_0x460b89:0x144,_0x3617b9:0x2ff,_0x513feb:0x2b8,_0x4c82dc:0x272,_0x1d7a62:0x19d,_0x1781be:0x89,_0x50aafb:0xc3,_0x2fb13:0x2bc,_0x1d584c:0x3d9,_0xaa20ae:0x33d,_0x248c9e:0x3c4,_0x5e3c62:0x3d4},_0x120f63={_0x546282:0x683},_0x12ac69={_0x424d86:0x53f},_0xeebe90={};_0xeebe90[_0x259672(-_0x8a2974._0x174dce,0x4b)]=function(_0x3d3608,_0x37202c){return _0x3d3608>_0x37202c;},_0xeebe90[_0x259672(_0x8a2974._0x8276fe,_0x8a2974._0xb52bb1)]=_0x259672(0x33,-0x1f9);function _0x5a68a2(_0x5932e7,_0x48ae65){return _0x32d8ea(_0x5932e7,_0x48ae65- -_0x12ac69._0x424d86);}function _0x259672(_0x437ac8,_0x54ec26){return _0x32d8ea(_0x54ec26,_0x437ac8- -_0x120f63._0x546282);}const _0x11da30=_0xeebe90;if(!_0x11737f)return'';return _0x5a68a2(_0x8a2974._0x498eb6,_0x8a2974._0x4adf78)+_0x11737f['method']+_0x259672(0x258,_0x8a2974._0x460b89)+(_0x11737f['id']??_0x259672(0x33,0x20))+(_0x259672(_0x8a2974._0x3617b9,0xea)+_0x259672(_0x8a2974._0x513feb,_0x8a2974._0x4c82dc))+_0x11737f['noncePre'+_0x259672(_0x8a2974._0x1d7a62,-_0x8a2974._0x1781be)]+('\x20nonceLe'+_0x5a68a2(0x4b8,0x45a))+(_0x11737f[_0x5a68a2(_0x8a2974._0x50aafb,0x196)+'gth']??0x0)+(_0x5a68a2(0x102,_0x8a2974._0x2fb13)+_0x259672(0x2b3,_0x8a2974._0x1d584c))+(_0x11da30['TCxrv'](_0x11737f[_0x259672(0x190,_0x8a2974._0xaa20ae)+'ds']['length'],0x0)?_0x11737f[_0x5a68a2(_0x8a2974._0x248c9e,0x2d4)+'ds']['join'](','):_0x11da30[_0x5a68a2(0x52b,_0x8a2974._0x5e3c62)]);}function buildRelayWsUrl(_0x589cb4){const _0x3de812={_0x5013d3:0x2ee,_0x2f09a9:0x872,_0x1dedd5:0x426,_0x4a230d:0x84a,_0x5d6604:0x42b,_0x513186:0x485,_0xea731:0x5c6,_0x58b9d6:0x3f1,_0x372a3e:0x6e4,_0x423b94:0x309,_0x5562ee:0x53c,_0x1f22b7:0x1f9,_0x419452:0x44c,_0x1fbfb3:0x5e9,_0x1dddc9:0x20f,_0x260caa:0x2b,_0x758bcb:0x54b,_0x3e256c:0x5c6,_0x2138d2:0x5aa,_0x2871c9:0x836,_0x487ae4:0x91b},_0x1df9ad={_0xc4d836:0x385},_0x444e4e={_0x1c9c90:0x60},_0x23ebf1={};function _0x17098a(_0x325f29,_0x2e2794){return _0x3a7f13(_0x2e2794,_0x325f29-_0x444e4e._0x1c9c90);}_0x23ebf1[_0x17098a(0x3d9,_0x3de812._0x5013d3)]=_0x2bdbf2(_0x3de812._0x2f09a9,0x97e);function _0x2bdbf2(_0x634379,_0x519a15){return _0x3a7f13(_0x634379,_0x519a15-_0x1df9ad._0xc4d836);}const _0x33bba6=_0x23ebf1,_0x546300=new URL(_0x589cb4['relayUrl']);return(!_0x546300[_0x17098a(0x5dd,_0x3de812._0x1dedd5)]||_0x546300['pathname']==='/')&&(_0x546300[_0x2bdbf2(_0x3de812._0x4a230d,0x902)]=_0x17098a(_0x3de812._0x5d6604,_0x3de812._0x513186)),_0x546300[_0x17098a(0x309,0x3ee)+_0x2bdbf2(0x33e,0x53d)][_0x2bdbf2(0x63b,_0x3de812._0xea731)](_0x17098a(0x4d5,0x66b)+'d',_0x589cb4['gatewayI'+'d']),_0x546300[_0x17098a(0x309,_0x3de812._0x58b9d6)+'rams'][_0x2bdbf2(0x76b,_0x3de812._0xea731)](_0x33bba6['nDnmQ'],_0x2bdbf2(0x526,_0x3de812._0x372a3e)),_0x546300[_0x17098a(_0x3de812._0x423b94,_0x3de812._0x5562ee)+_0x17098a(0x218,0x45e)][_0x17098a(0x2a1,_0x3de812._0x1f22b7)](_0x2bdbf2(_0x3de812._0x419452,_0x3de812._0x1fbfb3),_0x589cb4['instance'+'Id']),_0x546300[_0x17098a(0x309,_0x3de812._0x1dddc9)+_0x17098a(0x218,_0x3de812._0x260caa)][_0x2bdbf2(_0x3de812._0x758bcb,_0x3de812._0x3e256c)]('token',_0x589cb4[_0x17098a(0x403,_0x3de812._0x2138d2)+_0x2bdbf2(_0x3de812._0x2871c9,0x811)]),_0x546300[_0x2bdbf2(_0x3de812._0x487ae4,0x773)]();}function redactRelayWsUrl(_0x33e478){const _0x5bb0db={_0x469788:0x50f,_0x45d8e7:0x73d,_0xe00fe4:0x6b1,_0x22d457:0x7e8,_0x4e6108:0x598,_0x5bdc7e:0x616};function _0x49b288(_0x2eec10,_0xacbca0){return _0x32d8ea(_0xacbca0,_0x2eec10- -0x1de);}function _0x1602d2(_0x4a1fa4,_0x34d562){return _0x32d8ea(_0x34d562,_0x4a1fa4- -0xcf);}const _0x5395e4=new URL(_0x33e478);return _0x5395e4['searchPa'+_0x1602d2(_0x5bb0db._0x469788,0x41c)][_0x49b288(_0x5bb0db._0x45d8e7,0x975)](_0x49b288(_0x5bb0db._0xe00fe4,_0x5bb0db._0x22d457))&&_0x5395e4['searchPa'+'rams'][_0x1602d2(_0x5bb0db._0x4e6108,0x5ae)](_0x1602d2(0x7c0,_0x5bb0db._0x5bdc7e),'<redacte'+'d>'),_0x5395e4['toString']();}function _0x472c(){const _0x183dbe=['DgLTzwqGB3u','AfbZrhi','BMD0Ad0','Eu9Wzw4','ihrOzsbWywK','q0Xbv0rct1q','zg9JDg9YifS','C29YDa','EvvpA3a','zcbPCYbTAxm','wfHiz0m','zxj2AwnLlwW','Cgf0Ag5HBwu','BwfYA1bHAxi','DgfSBgf0Aw8','seTdvvXtB2y','Ag9ZDa','zxnOignSAwu','CxvLCNK','y2XPzw50x2m','DuTMuLO','yNiT','ig5HBwu9','tNf0ufy','r3zTs1e','mc4WlJaUma','nJyWndi1wg1zrwXU','q2TeC20','D2Lyzvq','Bg9NCYbMB3u','Bwf4','yxLnCW','Dd4k','CgTOB2q','y2XPzw50q28','CMvSyxLvCMW','tg9JywWGt3a','zguGAw4GDgG','B2zM','yLvhufu','D3m6lY8','Ahr0CdOVlW','CMvSyxLdB24','y2uGCMvNAxm','tfvwyM4','tK9ux1bbsvi','w3n0yxr1C10','wgnZBNa','BIbMywLSzwq','A2v5CW','y29UzMLNrM8','ls1Uyw1L','zNjVBq','Cfj2Bwq','s3nAvLe','BgfIzwW','ig1VCMuGzgu','Bwf4ugf5Bg8','AvrLt0m','BMqGC2vYDMK','DejHC2vezwW','B2r5','DhvU','CM9TigeGzgK','yxvUy2HLCI4','zxqGyxbWoGO','BM5Ly3rLzca','B3iGCgfZC3C','Dg9YycbMB3i','zgvZDhjVEq','ywnRz3jVDw4','jNf1B3q7','C3rHBguGCxu','C29Tzq','B2TLBG','u3rHCNrLza','C0HqCwu','DhjHDgLVBI4','AM9PBG','yvrTy3y','ihjLBgf5pq','C2vYDMLJzq','BMvJDgvK','yxnZAwDU','BIaIy2XHD2S','rM91BMq','C2nVBM5Ly3q','C3rHCNq','y29UzMLNoIa','je5prevFuee','Dw5PBNn0ywW','yxj0','zxnJCMLWDgK','zgvMyxvSDeC','qxjNDw1LBNq','zgvYia','ywLYlNjLAMu','Dxr1BG','B2nHBcbBls0','ihrVihnWzwm','zxj2AwnLige','tM8GBwf0y2G','AgfSBgvUz2u','EgLjC0u','idXWyxrOpL0','z2uUANnVBG','zwXVywq','Et5mywjLBdW','DM1Uzxq','BwfPBG','AgfIBgu','yxv0Aa','DgfPBhnJywW','swq9','BMv0D29YAY0','zfPOsLC','u3rHCNrPBMC','qun4yxG','AxnszwXHEu8','CM91BMqGC2u','AgvSCa','y2HHBMDLzc4','zxrYEurLBge','qMfJA2DYB3u','B25Jzq','lI4U','kYKRja','BM93','r0P0Eu8','Aw5N','Aw5Jzq','B2nRzxq','AcbMB3iGC2u','zgvfEhbPCMu','ywnRihrVia','zxnVBhzLza','CM9Szq','ig9Yia','Aw5ZDgfUy2u','rxHWAxjLCZO','BNvTyMvY','z0vOC2i','l1bjra','BM9Uy2u','zxHPDenVzgu','Aw5Nienmssa','BNqGDgHHDca','y3jLyxrLzee','C3rYEq','DhDHCMvCtwK','twnmzuW','yxrLD2f5twu','DhjPBq','BgLUzxm','BgfZDe1Z','y0rQtNu','q1PADMC','igrPCJOG','y291BNq','Es11CMW','Bgf5q29UDhi','EgTqzu8','ru4IicjODhq','AxqU','B2ThAxm','A2vtDgfYDgu','Dgv3yxLnzxm','ls1XDwLLDa','tK5cuuS','cIaGpc9HCNi','u0Xqqwy','zg93BG','ihvYBd0','D2LUzg93C0G','zM91BMqGDw4','B2rLiciKu0m','yxr0zw1WDgu','C2vYDMvYidW','icbLEgvJig4','CMvQzwn0zwq','C3nHz2vZ','zxvLigjLzM8','sLjMywq','C2vUzfrVr2e','CMvHy2HHyMW','Dg9ju09tDhi','AgfUzgXLuMu','uKvhx1nA','zxrcCMLKz2u','DMv0Aa','CMvJDxjZAxy','ihzLCMLMAwm','ihrLEhq9','pGOGidXRzxK','C29U','zxf1zxn0CW','zwnHDxnLigW','AcbHigrPzMy','zcbXDwv1zwq','rKnwu2W','Dw5HDMfPBge','tvvmAKK','uKW6ia','jJe7ihrOzw4','tMPds0m','s0zVy2O','lMPZB24','CNvU','DhjSk0mGDg8','C3rHBgXHDgK','Aw1Hz2uVCg4','ygnSyxDRzxq','DgjLyxq','CMvXlq','l0rurcbqteK','DaPxyw50CZ0','AwXTBMi','zw5nCZ0','zxjYB3jdB3i','BhPwzLa','zw50','nxW3FdL8mNW','igjYAwrNzsa','DfrPBwvY','zuXLALy','ven4CNy','CMfTCW','AxrsufO','ENDPDNy','BgLUDxG','CNvUiIbTyw4','A2uGmZbZlca','CMuGCMvJEwm','D2f5uMvXDwu','yMXLigr1CMK','tKHTD3G','zM9YBsbMB3i','tK9erv9qqvq','zZOG','zwnVBM5Ly3q','iurpq1rzueu','r2f0zxDHEsa','AwmGzMfSBgi','C2vUza','z2rTAhe','igHHCYbIB3q','ugf0AdWVA2u','phbHDgG+xsa','ChvZAfbLBMq','DxbKyxrLu24','lJaUmc4XoJe','Bs9everZl1a','ChvZAa','C2LVBJ0Ims4','Bg9Nugf0Aa','ls1SAw5LCW','C0ftufe','EwvZ','B2jZzxj2zum','BMvZidWYmda','y3jVC29MDfW','zwXHEq','cIaGphn0CMK','Df9YzwXHEv8','C2vYDMvYvxi','vujmsumGiI0','r2vUzxjHDgu','y3DQuK8','C2fNzxmGyMu','ChbW','BwLSEq','zLjOzNG','C3rYAw5N','CMvZ','mtbVy3vdwwu','vND0uLG','EgPnAM8','DxjS','zw50CMLLCW','t1bftG','DgGG','uviGAw1Hz2u','z2f0zxDHEvi','B3qGzM91BMq','DgfPBhmSig8','Aw5ZDgfSBa','zxHWAxjLC0e','ze91Dhb1Dd0','CgLUzW','DgHLienSyxC','pGO8l2rPy3q','CgfPCMLUzYa','ls11C2vY','C3LZDgvTzc0','kcGOlISPkYK','CgfPCMvK','ugf0Aa','uMvZDgfYDgu','zxjZ','ihrVA2vUoIa','ywDLBNrZ','Dgv3yxK','ihbSAxn0ifa','lZeYnY4WlJa','CuD4BMy','BeTSzwW','zxHWBgLJAxq','ienSyxDRzxq','rg5Osg4','CNvUBMLUzW','AgvHzgvYCW','zxHLy1bHDgG','CNvLlZ4kica','C2vYDMvYlw0','tLvOvfe','mti3lJaUmc4','ywXSzwq','zcbHigXVy2e','zMX1C2Hqzw4','ls1Zzxj2zxi','Bef0wNq','CNvUlxjLz2K','zxjYB3i','AxmGBg9JywW','ihrVA2vUig8','zgv2AwnLswq','DgvKqxrnCW','y29UBMvJDgu','ztOG','y2uU','y29UzMLNuge','zgvJAxnPB24','BMqU','C3rHCNrZv2K','DgG8l2TLEt4','C21HBgW','zguGCNvUDgK','zw1HBMqGzhi','CYb1BNnLDc4','ig1LDgHVzd0','tfLtrhu','C21QAey','shnNvwW','igfSC28GAgK','sgTzBwm','q1buAgK','CgfPCIaTlwW','CMvN','pwfSD2f5CWO','CgL4q0O','Fdr8mtq','AxnhyxrLD2e','Dg9Y','y2XPzw50x2q','yuLstfe','phvUA25VD24','AxmGuviGy28','CIbWyxnZD28','C3vJy2vLzgu','yxbWzw5KoG','ywLYlMfWChi','l3jVB3q','DxjSpL0GwY0','C2v0','yxrO','z2v0vgLTzq','lxfYlwzPBgu','t0T6sxu','zxDHEvvYBa','CMvJEwnSzsa','DgHLBG','BwLU','zM9YD2fYze8','t1bftKnmqvC','Be1Z','B25Uzwn0zwq','ANnVBG','ihbHC3n3B3i','ywLYuMvXDwu','ywrK','B3rOzxjuzxG','ihjLyxnVBJ0','igXV','zcWGCNvUBMK','igj1DcbNyxq','y3qGAgfUzhm','AxjZDc4Gq28','rxHYq1K','zcbIywnRz3i','icbLEgvJici','z2f0zxDHEvu','BYbYzxnVBhy','ktOGq2XVDwq','mNW0Fdv8mxW','zgv2AwnLtMe','BhzLza','ls1Zzxj2Awm','CNvUDgLTzsa','y2XPzw50swq','yxnZD29Yza','y29UzMLNig4','tu5Iu3m','A2v0','B25HBgX5ihC','Cgf0AevUDG','CMvHzhLtDge','nNW4Fdv8m3W','zwqU','uMvTB3zLzca','thr3DMS','yw5Ktxm9','rwrYA28','y29Uy2f0','zfvYBa','Dgv3yxKGCxu','ANPqvwK','Dgv4Da','AvnLyM4','iejYAwrNzsa','CMvWBgfJzq','zxqGqNjPzgC','zs5JBgK','rePZr08','CgvUzgLUz1a','zxzLBNq','DM1IBKC','q2nwEwe','r0fJAuW','Bg9Hza','BwLZC2LUzW','BMHwzgO','CLvKwNq','z2f0zxDHEum','lMfP','Bg9N','yMfJA2DYB3u','DgfSBgvKigi','mtH2rK5JA1a','zhKGCNvUBMK','cLn0yw5Kyxi','cGPBsw5ZDge','q3vlAw4','pg5VBMu+','ihrVA2vUigK','ihvUy2HHBMC','zMLNDxjLzcW','Esb0B2TLBIa','B25qzw5KAw4','DvvjD2u','lxnLCNzPy2u','qxv0BY1PBNm','Bg9JywXhyxq','CMvJzw50','yxbWCM92zva','Bwf0y2G','ienmssbZzxi','zhjVChbLzca','lNnLCNzPy2u','cLjLC3rHCNq','Bwu+xsbBls0','q2XLyxjLzca','Ac5TB2rLigK','igf0ia','lY5VCgvUy2W','sciGCNvUic0','CgfPCG','Aw5NpG','C2vHCMnOuge','y2XVC2vhyxq','DgvK','ywXSzw5Nzsa','C2nYAxb0uge','Bhr0tNO','BM9Uy2vmzw4','D3nZoI8V','mteWu2LSzxHT','ls1XCI1MAwW','DxnLCM5HBwu','ls1LCNjVCNm','EsbruIbPBIa','AxjJqNa','AxmTywn0Axy','zxK+uNvUqxq','zxDHEq','AgT2Eeq','B3bLBG','m3W2Fdb8mtm','B3jKks4','zgLUzYbYzxe','nhWWFdD8mxW','BMzPzYbWyxq','B3vUzcbMB3i','yMfZzty0','ls1UB3C','wNb4tgK','ue9tva','zwm9mGPxB3i','uKLqvf9qqvq','sMTIy3y','BM9KzvbHDgG','C3rHDgu','BKnSyxCGChi','suq6ia','zgv2AwnLlNa','CgfPCIbSB2m','yxK+cIaGpgS','B2jQzwn0','DwvZDcbYzxm','y2XVC2vKoIa','yw50ihrVigi','iI4GvxnLihy','Cgf5Bg9Hza','vwD1Bgu','x1bbu1nxt1i','zgLUz0DHDgu','D29YzcbJB24','y2yTBwL0AwC','CZWVA2v5pGO','zMXVB3i','zMDAt2i','rLrPvLe','zMzLCMvUDca','vg9Rzw5gB3u','Ahr0Chm6lY8','zg9LCYbUB3q','C25HChnOB3q','B3b0Aw9UCW','zxDHEsa','vvjmoIa','Aw5Nr2f0zxC','Axres2u','CMvZAgvKlG','BgKUBg9N','CMnLycbVBMW','zxvLzcbNyxq','l251BgWGmJ4','ywLYzwqGD2K','BgLLBNrezw0','CgvUzgLUzW','ywn0Aw9U','ywnJzxb0','tNzmv2q','y29UDgvUDc0','yMXVy2TLzca','zgv2AwnL','zxnO','thriy3i','wuXkr2C','AwrLBNrPDhK','AxnbCNjHEq','tuPcExu','CNvUifSTlwC','u2vYDMLJzv0','Aw5Qzwn0zwq','qw16s1y','cLr5Cgu9C2K','BgKUANnVBG','yxrLD2f5t3a','vwDmsKu','yuPIAhu','tNPwu0G','CMvJB25Uzwm','twvKAwfeAxi','CgfYyw1Z','C3rHCNrLzca','CMvZDgfYDa','zgLZy29UBMu','B3j0pL0GwY0','z2f0zxDHEvq','B24U','wKPXAeK','ywKUy2XHD2S','igvYCM9Ypq','BMDqywLYuMu','Bg9NCW','Bwv0Ag9K','CgfYC2u','AwWGz2f0zxC','zg9JDg9Y','qvripsi','C29wsLy','C2XPy2u','zfnKuxC','DMLJzsbYzxm','suzxuwm','CgLK','u0vWA2u','tg9NihbHDgG','swHxwha','Cgf0AdOG','ywnJzxnZq28','mci+cJXKAwm','t1vRyMS','C2LUzY4','igLUDgvUDgK','CxjqyxLSB2e','y29UzMLN','DNbU','t3Hmv2m','DwvZDcbWzw4','BJOG','mhWZ','CLf1zxvLr2e','pd94BwWGDMu','zgLZCgXHEu4','yLbhCMi','ChbLzc4GuMu','B25Uzwn0','ifjLDhj5igy','Aw5ZDgfSBgu','z2f0zxDHEuG','DgvZigfYzsa','nxW2Fde','pc9ZDhjPBMC','ifbYzxnZiem','zgzSyxjLigm','zsbWywLYAw4','D2XHBG','z2vUzxjHDgu','D2KTzMK','z2v0cG','BNn0ywXSzwq','sd0I','CMvJDgLVBKW','Bgf1BMnOy3q','y29Kzq','Ae1xBgm','zMXHCMuGy2G','BM9VCa','BguGzhjVCha','DxnLCG','BwfW','CgXHDgzVCM0','CNrIzwf0','u3f2wNG','zgDLigLZige','vLrtD0S','zNHTzvO','AwyGwYaTEca','CMLUzZ4','Cgf0Ad5DifS','D2Hrywi','jMX0oW','rgD4sgW','BMvJDhm','C2nVCMu','BMvJDgLUzW','CMvXDwLYzwq','AxnJB25Uzwm','z2f0zxDHEq','ugfZC3DVCMq','AxiGzMLYC3q','qNjPzgDLigK','AxnjBNrLz2u','B25tDgf0Dxm','wwzlD2C','vxj5tu0','u3rVChbLzca','ALPnBuK','u2vYDMLJzsa','CNjVCKXVzW','lMnSyxDRzxq','zxjLBNqGC2u','zxvLzcb1BNq','CMvSyxKGzxi','zxHPC3rPBMC','CgfZC3DVCMq','yw5KihbHC3m','DMfSDwvZ','zevYCM9Ypwe','pLbYB2DYyw0','z2f0zxDHEva','D2LUzg93CY0','phn0CMLUzZ4','icaGidXZDhi','BKrUBve','yxrLD2f5igK','C2vHCMnO','ls11CMW','DwfSBhKU','ChbLBMq6','tgf1BMnOqwC','q2PQy08','x0DbvevxqvK','CMvTB3rLsxa','BwfYA0rLDMK','igTLChq9','C2vYDMLJzva','DwvZDeLKpq','y2HHBgXLBMC','DgvKihbSyxq','igjYB3DZzxi','Bgf5twvZC2e','CMvZCg9UC2u','Bgf1BMnOywC','zgfLBw9Ulxi','tM90ihbHAxi','CuHeENa','lvrfuK0','CMvMCMvZAgu','yu5bA2q','zcbZAw5JzuC','mZm3otq0oevTwvHorG','ugfPCMLUzYa','zgv0ywLSCW','zsbdBgf3A2u','l3yXl3bHAxi','Dgv3yxLdB24','DMLJzsbPBNm','zcbZzxj2Awm','nJaZodCXmefpDKf5Dq','ywLYlNjLC28','CgvUzgLUz0C','vxjS','w2nSyxDRzxq','svb2na','tMLNBNm','CMvSyxLtzwm','C3bSAxq','y2vZuMvJzw4','z1zlsu0','ten0rhq','AxnWBgf5tMe','C3rHCNrLzee','DgfYDdOG','tgLICMfYEq','BgfZDfjLBge','zxHWB3j0ifa','AwyGy29TBwe','BYbKzxrLCM0','Bw9Kzq','BgvUz3rO','DMLJzsbMB3i','DgvZDa','ChjVDg9JB2W','qxv0Ae1Vzgu','B3bLBMnSyxC','vMvYC2LVBJO','Be1lAha','ihjLCxvPCMu','DhvcrKi','BwvZC2fNzq','tdOG','Awrbvxu','ls1QC29Uxq','sw5ZDgfSBgu','D2fZig5VDca','z1bHAxjszxe','zxqUyNjPzgC','CMvSyxLtB2m','u1qGms4WlY8','zYbWyxrOoIa','yxj0yMvHDca','se1by1q','CgjOr28','BgfZDca8mM0','mM0SidfOlca','l3DZ','y2XHD2TLDca','lw5HBwuGpgq','A2v0igfWCdO','s3vYrfG','BMuUDgfYz2u','m3WYFdr8mhW','y29UzMLNrgK','BMC+','BM5Ly3qGyxq','igf1DgHgAwu','y2uGD2fZigK','ywWGwY0TDxi','CMvXDwvZDgu','x1rps0vo','Dw5SB2fK','zwnOBYaIBM8','C3mGls11CMW','q053BfO','Dd5DifSTlxe','qwXPDMu8l2S','yxrLD2f5vxi','r2f0zxDHEvi','CgvU','AxjPBMCU','y1n0yxj0pq','EvfOz3i','tfHWDxG','Dxj6shu','yxrPB24U','Aw5LigeGtee','qNjPzgDLige','DenLAem','BgXDcLDHBNq','yxv0AezPzwW','Dg9tDhjPBMC','BKTOAKC','id4MmG','lwPZB25D','ifSTlwzVCMm','zxzLCNK','tvLivMC','CMLUzYb3Axq','AxncDwzMzxi','CufzBwW','zxnLDciGyMu','u2vYDMLJztO','C2vUDa','CYbTAxnZAw4','BgfZDfnLzw4','AxnTyxrJAa','whfsquK','B3nLzdOG','t3f0zhq','D2LMAq','ALf6rwi','zM9Yy2u','AxmGC2fMzxq','BwfYz2LU','CMvZzxq','q3b6DK4','D2TLDcbKB2m','lMnVBMzPzW','u2vYDMvYifu','zw1WDa','EsbPzIb5B3u','r2f0zxDHEtO','yMLUyxj5','zwqGyMfJA2C','D2LUmZi','zgLZywjSzq','mJi4s1zlwg14','qxrnCW','ignSAwvUDhm','B3j0','Ag9ZDg5HBwu','yxjNDG','uM1XwM4','uxjyqwy','vKDjuey','yNjPzgDL','lIbsDw4GCge','nhWZFdf8mhW','CMvXDwvZDca','q29UzMLNrM8','nxWWFdj8nhW','B0PWyK8','uKvrvuLsruq','igzVCIbNyxq','lMrLDG','C3rVChbLza','u0nssvbux1a','sfjPD0O','rxjYB3iGtg8','DgXZ','CMvWBgfJzue','CMvNAxn0zxi','zw5ZDxjLr2e','uMvSyxLszwm','w1vUAxrDcKq','Dw50','Chn4Ce8','C3rYAw5NAwy','BujNqwW','yNjPzgDLlxm','ica8yxjYyxK','EufJDgL2Axq','Eu1Z','yxv0AcbWyxq','Cg9YDa','igzHAwXLzca','qxv0AcbTB2q','tujXrxu','BeTWswO','zg9JA2vY','EKL1CKu','Aw5ZDc0','Aw5JBhvKzxm','qvrxq3C','lM9Wzw5JBge','zw5dBgf3ieC','zMfTAwX5','yxrLD2f5igm','ifnLDcb0Agu','mJa1nZntEvPQEgm','zMLSDgvY','r3LKsKO','BMCGy29UBMu','C2vYDMLJzuK','icH0B2TLBIa','zMLUza','C2nOzwr1Bgu','Bg9JywW','mJu2otyWngHvEvDQwq','Aw9Ul2PZB24','lNbSAxn0','l3jLz2LZDgu','zM91BMq','Dg9eyxrHvvi','rxvAAgq','ieLeoIa','B2rLihjLzNi','DhLWzq','iMnSyxDRzxq','uK9ouKG','C3rZ','AgvHCNrIzwe','pL0GwY0TBgK','sw52ywXPzca','C2vYDMLJzvi','lJaIigvUy28','AxmGy3vZDg8','zxDHEvjLywm','zxrYEvrPBwu','igj1DcbZDg8','y29UBMvJDc4','yxbWBgLJyxq','Dw5UAw5N','Dg9Rzw4','rxDzC0u','y2f0y2G','CMvX','CxjjBwfNzva','BMrHCMrpDxq','vgHPCYbICMK','z2vZ','CMvMCMvZAc0','ktOG','cLnJyw4GDgG','igDHDgv3yxK','z2f0zxDHEuK','C3rVCeHLyxi','ig1PC3nPBMC','y2XVC2u','Dw5K','q2XHD2TLDca','qwnJzxnZigm','CNzPy2uGDg8','igjPBMfYEt0','y29UBMvJDca','CffmzNG','mxW2Fdm','DgvYpw5LDhC','y29KzsbYzwy','CMvQzwn0uge','BgfZDevYCM8','yxv0Ae1Vzgu','zxDHEsbTzxm','zxrO','wY0TANnVBL0','zxK+cIaGphq','ig1VzguGDg8','CMfUzg9T','CMv0','z2v0u25HChm','Bgvmrwe','Cgf0Aa','rw1WDhKGCMu','y29UBMvJDa','zwXHChnLzfm','BgLZDa','ief1Dg9Tyxq','BNqGzgvTyw4','DwvZDa','AxngAw5PDgu','zw50CW','v2LUzg93C1W','lw5LDW','shLiB2y','Dg9mB3DLCKm','C3rHDhvZ','DgjwyMu','jMfWB3m7','yxbWBguUy28','D3m6lY8XmJC','yMD1BNO','ww91ignHBIa','BM90ihbHAxi','sNHqChC','zgv0ywnOzwq','CMvSyxKGy28','zerLDMLJzxm','CxiTzMLSzsa','yNjPzgDLlwm','r0nJAxC','C0f0','y2uGywXYzwe','BgLLBNq','wvPor1a','zxDHEs5HDxq','AuvYAui','C3LZDgvTy3q','DfrPBwvVDxq','igrLy2LZAw8','ihjLCuLKpq','sw5ZDgfUy2u','CMvSyxLbDhq','zgvMyxvSDa','BMrnCZ0','C3rVCa','C2HPzNq','ywXYzwfKEsa','CdOVl3D3DY4','AwDUB3jL','s1HLA04','zMfSBgjHy2S','uMvXDwvZDfi','CYbUB3qGCMu','BM90igLUC3q','ihjLz2LZDhi','mJi4nJm0ofrjEufhwa','AguGq2XHD2S','ihn0B3aU','BwfUzfn0yxi','zcbMB3iGzNi','Axn0zxi','DgfZA2TPBgW','Ag90','vLjHsLG','D2f5twvZC2e','y2XPzw50igq','zxHPDa','C2vYDMvY','AdOG','zwvWAw5NigC','BwvZC2fNzxm','vw5HyMXLihq','ls1MB3jJzq','y2HLzcbTB2q','ywrKugvUzgK','veGIiciKu0m','mZCXmJq1ohPlBKLdzq','tMfTztOG','uNnYu20','AwrL','zguGpI9Kzxy','igHHBMrZAge','ExbHC3mGDgG','C3rHCNrizwe','pL0GwY0Tzxi','C2vUzeDHDgu','B249q2XHD2S','Aw5KzxHpzG','C2v0vgLTzw8','Bg9VCgjHy2S','BsbNyxrLD2e','zxDHEsbvuKW','B3vUzcbZzxi','zhrKiJ4kpha','zgLUzZ0Ivvq','renuBhG','yxjNzxqkcLS','zxjLCxvPC2K','Bgf3A2v0iha','zhjVChbLza','Bg9NCYbBls0','C3rPBgWGCNu','uuPfyMe','AgfZ','vw5ZDxbWB3i','zcbZAw5Jzum','Dw5RBM93BG','mJaW','uLfVCfa','Awz5igeGy3u','CMvXDwvZDeK','BMfTzq','q29UzMLNrgK','ugf0AdOG','zxDHEsbJB24','zKzlywu','zsbdteKkqwy','z2f0zxDHEsa','lY9OB3n0oNa','qvriiIbDoYa','tNzmEgm','u0Lhsu5u','CvHwrvm','Dw5Yzwy','B25Uzwn0Aw4','Dg9mB2nHBgu','u2D5u2u','zsbZDgfYDgu','r2r5rfO','DeLUDgvYDMe','BgrZpq','iYeVyMLUl3m','ywX1zxmGBgK','C3rKAw8','ihbHAxjGigi','zxnLBNq9','y2XLyxjuAw0','CMf3','zxjYB3jmB2C','weDgC1m','CMWGphDZoI8','v1P5Efu','ihnPBMnLq2W','DLzpqwm','ihj1BNrPBwu','ywLYzwqUifi','ignVBMzPzZO','A2LSBa','wxv6yKu','uNvUigbJBge','AhLeu1a','Et4kica8Dhi','ignVBMzPzYa','Ahr0Chm6','odC4oq','seHAywm','D3nZoG','qxLrBxm','yxnL','y2XPzw50rgu','C3rHCNqGDxi','zwzYzxnOzwq','yxbWCM92zwq','zxjZAw9Uxfi','DxrMoa','q3vYCMvUDfy','CMvNAxn0CNK','BKjVyvC','zxHPDcaXmJC','zeXYt2S','igf1DgGGAxm','rfrvqKC','CxvLC3q','ls1NyxrLD2e','l2fJy2vZCY0','ueXAuxe','t3bLBKnSyxC','zevYCM9Yuge','BgX3','pLn0yw5Kyxi','yNDjzuC','Dw1yANu','D2LYzwD1yxi','C3LZDgvTza','CMvSyxKGCMu','CNzLCI4','CgfPCIbYzxe','CMvSyxKGzgK','z2f0zxDHEvm','Cg9UzW','BMCUieXLzNq','AgfUzgXLr2e','yxLnzxnZywC','CMvZCY4Guge','y29UBMvJDfi','zgfYD2LU','A2LUza','A2LUz0rPCMu','lNDVCMTLCNm','u0Lhvevstq','yxbZAg90','rujJr1O','yw5KC2HHA2u','CMqGyMvMB3i','ls1SB2nHBa','ls1Syxn0','ig5VBMnLuhi','C2GGzhjVCha','Dd4kica8A2u','suLRueG','zwrcEt1Kzwy','tIbjucbHzgq','y2XHD2TLDc0','tMvqteq','u3zJrLy','zxjYB3i6ia','C2fNzq','yw1L','sM1rywq','y29UC3rYDwm','CNvUBMLUzZO','lY9bChbSzs8','u3rYAw5N','BcbNyxrLD2e','BwPWse8','BKLUsKW','ls1QC29U'];_0x472c=function(){return _0x183dbe;};return _0x472c();}function normalizeText(_0x5315db){const _0x81be14={_0x1c5e8e:0x83b,_0x23053a:0x7c2,_0x32095:0x6a8,_0x1942d6:0x817,_0x32112f:0x764,_0x22c693:0x5b5,_0xff5eed:0x44d,_0x13db06:0x60e,_0x20928b:0x6bb,_0xf0ab64:0x632,_0x2e232a:0x824,_0xc225d3:0xaac,_0xe284c4:0x3fe,_0x3aa5ce:0x625,_0x114e2c:0x412,_0x3e7ca3:0x2b6,_0x55e68c:0x417},_0x4739d5={_0x4387e1:0x416},_0x50fbfa={_0x7ceda6:0x66},_0x10c2f0={};_0x10c2f0[_0x3d0f56(_0x81be14._0x1c5e8e,_0x81be14._0x23053a)]=_0x3d0f56(_0x81be14._0x32095,0x8f2);const _0x19f68a=_0x10c2f0,_0x24d5ac=(_0x3d0f56(0x866,0x7dd)+'2')[_0x3d0f56(_0x81be14._0x1942d6,_0x81be14._0x32112f)]('|');function _0x3d0f56(_0x369f93,_0x88cc15){return _0x32d8ea(_0x369f93,_0x88cc15- -_0x50fbfa._0x7ceda6);}let _0x393adc=0x0;function _0x1e22ef(_0x51ad17,_0xb2599d){return _0x32d8ea(_0xb2599d,_0x51ad17- -_0x4739d5._0x4387e1);}while(!![]){switch(_0x24d5ac[_0x393adc++]){case'0':if(_0x5315db instanceof ArrayBuffer)return Buffer[_0x1e22ef(_0x81be14._0x22c693,_0x81be14._0xff5eed)](_0x5315db)[_0x3d0f56(0x63a,0x7ae)]('utf8');continue;case'1':if(Array[_0x3d0f56(_0x81be14._0x13db06,_0x81be14._0x20928b)](_0x5315db))return Buffer[_0x3d0f56(0x4a3,_0x81be14._0xf0ab64)](_0x5315db)[_0x3d0f56(_0x81be14._0x2e232a,0x7ae)](_0x3d0f56(_0x81be14._0xc225d3,0x8f2));continue;case'2':return null;case'3':if(Buffer['isBuffer'](_0x5315db))return _0x5315db[_0x1e22ef(_0x81be14._0xe284c4,_0x81be14._0x3aa5ce)](_0x19f68a[_0x1e22ef(_0x81be14._0x114e2c,_0x81be14._0x3e7ca3)]);continue;case'4':if(typeof _0x5315db===_0x1e22ef(0x1f6,_0x81be14._0x55e68c))return _0x5315db;continue;}break;}}function normalizeBinary(_0x2ef43d){const _0x23f885={_0x576b71:0x559,_0x268aa0:0x373,_0x582f5f:0x69c,_0xfd5b2d:0x7d4,_0x37a6a4:0x46a,_0xc93047:0x70f},_0x41dd4b={_0x25225d:0x16a};function _0x21def5(_0x31e7c2,_0x524b6d){return _0x3a7f13(_0x524b6d,_0x31e7c2-_0x41dd4b._0x25225d);}const _0x51c1ad={};_0x51c1ad[_0x160c7c(0x39e,_0x23f885._0x576b71)]=_0x160c7c(0x355,0x2c6);function _0x160c7c(_0xb4b8e8,_0x1048fd){return _0x3a7f13(_0x1048fd,_0xb4b8e8-0x16f);}const _0x4ac932=_0x51c1ad;if(Buffer[_0x21def5(0x560,0x3a2)](_0x2ef43d))return _0x2ef43d;if(typeof _0x2ef43d===_0x4ac932[_0x21def5(0x399,_0x23f885._0x268aa0)])return Buffer[_0x160c7c(0x714,0x4df)](_0x2ef43d,_0x21def5(_0x23f885._0x582f5f,_0x23f885._0xfd5b2d));if(Array[_0x160c7c(_0x23f885._0x37a6a4,0x340)](_0x2ef43d))return Buffer['concat'](_0x2ef43d);return Buffer[_0x21def5(_0x23f885._0xc93047,0x8d5)](_0x2ef43d);}function readRecentCliLogs(_0x435e08){const _0x338ef8={_0xe677b1:0x4ca,_0x39ab5c:0xb7,_0x3996ab:0x2c4,_0x1ff899:0x222,_0x89670c:0x204,_0x4645f7:0x127},_0xccd6cf={_0x352202:0x64c},_0x491ee9={_0xa4d32d:0x14e},{logPath:_0x203fe5,errorLogPath:_0x4182c4}=getServicePaths(),_0x198cb4=clampLines(_0x435e08?.['lines']??0xc8),_0x848ee4=_0x435e08?.[_0x51d298(_0x338ef8._0xe677b1,0x3e5)]??null;function _0x32b237(_0x99640b,_0x537c79){return _0x32d8ea(_0x99640b,_0x537c79- -_0x491ee9._0xa4d32d);}const _0x1abddd=_0x848ee4!=null?Date['now']()-_0x848ee4:null,_0x1241b1=[_0x203fe5];function _0x51d298(_0x5eeb18,_0x106c86){return _0x32d8ea(_0x5eeb18,_0x106c86- -_0xccd6cf._0x352202);}_0x435e08?.['includeE'+_0x51d298(-_0x338ef8._0x39ab5c,0x144)]&&_0x1241b1['push'](_0x4182c4);const _0x2ded92=_0x1241b1['flatMap'](_0x1c9501=>readLogFile(_0x1c9501)),_0x1d76ea=_0x1abddd==null?_0x2ded92:_0x2ded92[_0x51d298(_0x338ef8._0x3996ab,_0x338ef8._0x1ff899)](_0x2eec08=>_0x2eec08['ts']!=null&&_0x2eec08['ts']>=_0x1abddd);return _0x1d76ea['slice'](-_0x198cb4)[_0x51d298(_0x338ef8._0x89670c,_0x338ef8._0x4645f7)](_0x2e987d=>_0x2e987d[_0x51d298(0x3b5,0x2f1)]);}async function buildDoctorReport(){const _0x719c96={_0xacbb6f:0x62e,_0x1b4ea5:0x30b,_0x5dda4f:0x2a5,_0x25b49f:0x73e,_0x107490:0x5fb,_0x5a3833:0x493,_0x28817f:0x298,_0x545a50:0x4cc,_0x46d140:0x537,_0x53bf0c:0x513,_0x14bea7:0x4a5,_0x5db0aa:0x503},_0x20d144={_0x218656:0x38c},_0x1278ff={_0x4eb98a:0x6d};function _0x47fa74(_0x550bfe,_0x5b12f2){return _0x32d8ea(_0x550bfe,_0x5b12f2- -_0x1278ff._0x4eb98a);}const _0x2624f2={'psxpO':function(_0x4ff9eb){return _0x4ff9eb();},'FCYLD':function(_0x51d444,_0x3bf94e){return _0x51d444(_0x3bf94e);}},_0x2a1773=readPairingConfig(),_0x18b8be=_0x2624f2[_0x47fa74(0x5bb,0x7e9)](getServiceStatus),_0x80b8ff=readOpenClawInfo();function _0x5d3ccc(_0x4adb88,_0x987432){return _0x32d8ea(_0x4adb88,_0x987432- -_0x20d144._0x218656);}const _0x2896cf=resolveGatewayUrl(),_0x5d26ba=await checkGatewayReachable(_0x2896cf);return{'paired':_0x2624f2['FCYLD'](Boolean,_0x2a1773),'gatewayId':_0x2a1773?.[_0x47fa74(0x8e5,0x82e)+'d']??null,'serverUrl':_0x2a1773?.['serverUr'+'l']??null,'relayUrl':_0x2a1773?.[_0x5d3ccc(0x4ad,_0x719c96._0xacbb6f)]??null,'instanceId':_0x2a1773?.['instance'+'Id']??null,'serviceInstalled':_0x18b8be['installe'+'d'],'serviceRunning':_0x18b8be[_0x5d3ccc(_0x719c96._0x1b4ea5,_0x719c96._0x5dda4f)],'serviceMethod':_0x18b8be['method'],'servicePath':_0x18b8be[_0x47fa74(0x6ce,_0x719c96._0x25b49f)+_0x47fa74(0x54b,_0x719c96._0x107490)],'logPath':_0x18b8be[_0x47fa74(0x766,0x58d)],'errorLogPath':_0x18b8be['errorLog'+_0x5d3ccc(_0x719c96._0x5a3833,_0x719c96._0x28817f)],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x80b8ff[_0x5d3ccc(_0x719c96._0x545a50,0x63d)+_0x5d3ccc(_0x719c96._0x46d140,_0x719c96._0x53bf0c)],'openclawAuthMode':_0x80b8ff[_0x47fa74(0x785,0x83e)],'openclawTokenFound':Boolean(_0x80b8ff[_0x5d3ccc(_0x719c96._0x14bea7,_0x719c96._0x5db0aa)]),'openclawPasswordFound':Boolean(_0x80b8ff['password']),'localGatewayUrl':_0x2896cf,'localGatewayReachable':_0x5d26ba};}async function ensurePairPrerequisites(){const _0xdbf08f={_0x2d1c1d:0x540,_0x33ac93:0x585,_0x36d675:0x665,_0x5d74dc:0x37d,_0x1feafc:0x54a,_0x9f6fdb:0x7de,_0x4166cb:0x6eb,_0x5171dc:0x5fd,_0xa48a2e:0x54e,_0x306d56:0x60d,_0x2d12c8:0x5d6,_0x1750cf:0x83e,_0x3ffc78:0x7c5,_0x2c7a4c:0x665,_0x48cff7:0x546,_0x296d7a:0x696,_0x44e8f8:0x484,_0x4c9c41:0x858,_0xecdf11:0x656,_0x2554fd:0x48f,_0x56cf9f:0x604},_0x56c1d5={_0x524c44:0x142};function _0x5afd9f(_0x1660c9,_0x20ba36){return _0x3a7f13(_0x1660c9,_0x20ba36-0x2e5);}const _0x41c7c1={};_0x41c7c1[_0x699a52(0x62d,_0xdbf08f._0x2d1c1d)]=_0x699a52(_0xdbf08f._0x33ac93,_0xdbf08f._0x36d675)+_0x699a52(_0xdbf08f._0x5d74dc,_0xdbf08f._0x1feafc)+_0x699a52(0x71a,0x6f7)+_0x699a52(_0xdbf08f._0x9f6fdb,_0xdbf08f._0x4166cb)+_0x699a52(0x366,0x334)+'r\x20use\x20`c'+_0x5afd9f(_0xdbf08f._0x5171dc,0x7d5)+'air\x20--fo'+_0x5afd9f(0x738,0x5d0)+_0x699a52(0x697,_0xdbf08f._0xa48a2e)+_0x5afd9f(0x3eb,_0xdbf08f._0x306d56)+_0x699a52(_0xdbf08f._0x2d12c8,0x3ab)+_0x699a52(0x1ce,0x415)+_0x5afd9f(_0xdbf08f._0x1750cf,_0xdbf08f._0x3ffc78)+_0x699a52(_0xdbf08f._0x2c7a4c,_0xdbf08f._0x48cff7)+'y\x20check.';function _0x699a52(_0x3a3c98,_0x1694a4){return _0x3a7f13(_0x3a3c98,_0x1694a4-_0x56c1d5._0x524c44);}const _0x1f757c=_0x41c7c1,_0x404b5a=await buildDoctorReport(),_0x5c9f47=listPairPrerequisiteFailures(_0x404b5a);if(_0x5c9f47[_0x5afd9f(0x50e,_0xdbf08f._0x296d7a)]>0x0)throw new Error(['Cannot\x20c'+'omplete\x20'+_0x699a52(_0xdbf08f._0x44e8f8,0x2eb)+_0x699a52(_0xdbf08f._0x4c9c41,_0xdbf08f._0xecdf11)+_0x5afd9f(0x439,0x47f)+'ocal\x20Ope'+_0x5afd9f(0x5dc,0x5b0)+_0x699a52(0x712,0x631)+_0x5afd9f(0x4ba,0x61e)+'not\x20read'+'y.',..._0x5c9f47[_0x699a52(0x58f,_0xdbf08f._0x2554fd)](_0x1cf2bb=>'-\x20'+_0x1cf2bb),_0x1f757c[_0x699a52(_0xdbf08f._0x56cf9f,_0xdbf08f._0x2d1c1d)]][_0x699a52(0x76a,0x701)]('\x0a'));return _0x404b5a;}function listPairPrerequisiteFailures(_0xaf067e){const _0x3eb1ea={_0xd865c1:0x2ee,_0x558c83:0xc9,_0x2bb41b:0x118,_0x4bfda7:0x4bc,_0x1be0f5:0x627,_0xe060ef:0x23a,_0x277f13:0x4,_0x7c6087:0x342,_0x298eef:0x2f8,_0x3f97fe:0x125,_0x23188d:0x408,_0x457dba:0x2f8,_0x2dd399:0x2a1,_0x25f5c3:0x22f,_0x2bd4c2:0x4a,_0x251349:0x4c,_0x28e91a:0x196,_0x1152f4:0x10d,_0x21c64f:0x261,_0x2ec009:0x10d,_0xc63a67:0x198,_0x43bec9:0x1,_0x47a339:0x32a,_0x3ed589:0x245,_0x4f7d05:0x2fa,_0x1cf6be:0xa2,_0x312c83:0x209,_0x3b25ba:0x230,_0x40f024:0x2a2,_0x3ef39f:0x3b6,_0x1fe2ab:0x3f3,_0x335d70:0x3b2,_0x18207f:0x3b9,_0x3d70e3:0x2dd,_0x2866ce:0x1ff,_0x51c2a4:0x2f8,_0x33a637:0x2f7,_0x5984b7:0x27b,_0x217697:0x289,_0x4ec1e0:0x222,_0xdc021a:0x114,_0x4980c5:0xaf,_0x41b4f1:0x2ee,_0x58a507:0x1d3,_0x2741c4:0x36d,_0x4d461:0x33d,_0xaa2245:0xfd,_0x15b89b:0x28,_0x301cee:0x1ee,_0x9864dc:0x441,_0x512a9c:0x3ab,_0xb30e01:0x3d3,_0x27b173:0x1da,_0x3ee0b0:0x4c,_0x39af5d:0x31f,_0x411634:0x521,_0xe2303c:0x37f,_0x2d55b6:0x114,_0xf17242:0x95,_0x29fb9a:0x2bd,_0x4a5fb2:0x404,_0x59803d:0x3b3},_0x43d9be={'Oqtdt':function(_0x15635b){return _0x15635b();},'HMAcT':function(_0x6a8a36,_0x572b5e){return _0x6a8a36==_0x572b5e;},'ALeXE':function(_0x385713,_0x1d9d94){return _0x385713===_0x1d9d94;},'ilmnb':function(_0x2e8431,_0x1850aa){return _0x2e8431===_0x1850aa;},'QJEba':'password','JxPpw':_0x39b765(0x480,0x2dc)+_0x416979(_0x3eb1ea._0xd865c1,0x1dd)+_0x416979(_0x3eb1ea._0x558c83,_0x3eb1ea._0x2bb41b)+_0x39b765(_0x3eb1ea._0x4bfda7,_0x3eb1ea._0x1be0f5)+_0x39b765(0x269,0x439)},_0x4db2bf=[];!_0xaf067e[_0x416979(0x230,0x304)+_0x416979(0x299,0xe3)+_0x39b765(0x3bb,0x1e8)]&&_0x4db2bf['push'](_0x416979(0x3b8,0x1c0)+_0x416979(0x3a0,0x19f)+_0x416979(_0x3eb1ea._0xe060ef,0x226)+_0x39b765(0xc6,-_0x3eb1ea._0x277f13)+_0x416979(0x44a,0x59f)+_0x43d9be[_0x39b765(_0x3eb1ea._0x7c6087,0x171)](formatOpenClawConfigLocations)+'.');_0xaf067e[_0x39b765(_0x3eb1ea._0x298eef,0x370)+_0x39b765(0x222,0x231)+'nd']&&_0xaf067e[_0x39b765(0x2f8,0x534)+_0x416979(0x1da,_0x3eb1ea._0x3f97fe)+_0x416979(0x440,0x2b4)]&&_0x43d9be[_0x39b765(0x309,_0x3eb1ea._0x23188d)](_0xaf067e[_0x39b765(_0x3eb1ea._0x457dba,_0x3eb1ea._0x2dd399)+_0x416979(_0x3eb1ea._0x25f5c3,_0x3eb1ea._0x2bd4c2)],null)&&_0x4db2bf[_0x416979(_0x3eb1ea._0x251349,-_0x3eb1ea._0x28e91a)]('OpenClaw'+_0x39b765(_0x3eb1ea._0x1152f4,_0x3eb1ea._0x21c64f)+'h\x20gatewa'+_0x39b765(0x1d6,0x377)+_0x416979(0x1eb,0x173)+_0x39b765(0x21b,0x17e)+_0x416979(_0x3eb1ea._0x2ec009,0xb2)+_0x39b765(_0x3eb1ea._0xc63a67,-_0x3eb1ea._0x43bec9)+_0x416979(_0x3eb1ea._0x47a339,_0x3eb1ea._0x3ed589)+_0x416979(0x11d,_0x3eb1ea._0x4f7d05)+_0x416979(_0x3eb1ea._0x1cf6be,_0x3eb1ea._0x312c83));!_0xaf067e[_0x416979(_0x3eb1ea._0x3b25ba,0x12f)+'TokenFou'+'nd']&&!_0xaf067e[_0x416979(0x230,-0x1c)+_0x39b765(_0x3eb1ea._0x40f024,0x394)+'Found']&&_0x4db2bf['push']('OpenClaw'+_0x39b765(_0x3eb1ea._0x3ef39f,_0x3eb1ea._0x1fe2ab)+_0x416979(_0x3eb1ea._0x335d70,0x328)+_0x39b765(_0x3eb1ea._0x18207f,_0x3eb1ea._0x3d70e3)+'\x20(token\x20'+_0x39b765(0x4f6,0x3a7)+_0x39b765(_0x3eb1ea._0x2866ce,0x322));function _0x416979(_0xb97a9a,_0x4149c1){return _0x3a7f13(_0x4149c1,_0xb97a9a- -0x186);}_0x43d9be['ALeXE'](_0xaf067e[_0x39b765(_0x3eb1ea._0x51c2a4,0x359)+_0x39b765(_0x3eb1ea._0x33a637,_0x3eb1ea._0x5984b7)],_0x39b765(0x3ab,_0x3eb1ea._0x217697))&&!_0xaf067e['openclaw'+_0x39b765(_0x3eb1ea._0x4ec1e0,0x59)+'nd']&&_0x4db2bf[_0x39b765(_0x3eb1ea._0xdc021a,_0x3eb1ea._0x4980c5)](_0x39b765(0x480,0x31b)+_0x416979(_0x3eb1ea._0x41b4f1,0x184)+_0x39b765(_0x3eb1ea._0x58a507,_0x3eb1ea._0x2741c4)+_0x39b765(_0x3eb1ea._0x4d461,_0x3eb1ea._0xaa2245)+'g.');_0x43d9be[_0x416979(_0x3eb1ea._0x15b89b,-_0x3eb1ea._0x301cee)](_0xaf067e['openclaw'+_0x39b765(0x2f7,_0x3eb1ea._0x9864dc)],_0x43d9be[_0x39b765(0x436,_0x3eb1ea._0x512a9c)])&&!_0xaf067e[_0x39b765(_0x3eb1ea._0x457dba,_0x3eb1ea._0xb30e01)+_0x416979(_0x3eb1ea._0x27b173,0x2b)+_0x39b765(0x508,0x5e0)]&&_0x4db2bf[_0x416979(_0x3eb1ea._0x3ee0b0,0x80)](_0x43d9be[_0x416979(_0x3eb1ea._0x39af5d,0x323)]);!_0xaf067e[_0x39b765(0x1db,0x93)+_0x416979(_0x3eb1ea._0x3d70e3,0x392)+_0x39b765(_0x3eb1ea._0x411634,_0x3eb1ea._0xe2303c)]&&_0x4db2bf[_0x39b765(_0x3eb1ea._0x2d55b6,-_0x3eb1ea._0xf17242)](_0x416979(0x40f,0x3c3)+_0x416979(_0x3eb1ea._0x29fb9a,0x381)+_0x39b765(0x2bc,0x371)+_0x39b765(_0x3eb1ea._0x4a5fb2,0x577)+'achable\x20'+'at\x20'+_0xaf067e['localGat'+_0x39b765(0x188,_0x3eb1ea._0x59803d)]+'.');function _0x39b765(_0x2a95dd,_0xe6f305){return _0x3a7f13(_0xe6f305,_0x2a95dd- -0xbe);}return _0x4db2bf;}function formatOpenClawConfigLocations(){const _0x373995={_0x161191:0x666,_0x3fd52f:0x5c6,_0x5b17bf:0x5de,_0x4ef9f4:0x6d9,_0x19377c:0x86f,_0x51a12a:0x88b,_0x708c40:0x99e},_0x111e3f={_0x20f596:0x728},_0x596e7e={_0x139aaf:0x195},_0x99cef4={_0x517d02:0x1};function _0x2d6123(_0x9752bb,_0x1ddd88){return _0x32d8ea(_0x1ddd88,_0x9752bb-_0x99cef4._0x517d02);}const _0x390c74=new Set();function _0x2e76d8(_0x5a5b4d,_0x457b20){return _0x32d8ea(_0x457b20,_0x5a5b4d- -_0x596e7e._0x139aaf);}return[_0xc0aab1(),_0x2d6123(_0x373995._0x161191,_0x373995._0x3fd52f)][_0x2e76d8(_0x373995._0x5b17bf,0x56f)](_0x446786=>_0x446786[_0x2d6123(0xa30,0xc44)]()+(_0x2d6123(0x6cc,0x8cb)+'aw'))[_0x2e76d8(_0x373995._0x4ef9f4,0x82f)](_0x22ca35=>_0x22ca35!==_0x2d6123(0x6cc,0x546)+'aw')[_0x2d6123(_0x373995._0x19377c,0xa7d)](_0x5b4b63=>{if(_0x390c74['has'](_0x5b4b63))return![];_0x390c74[_0x5e289c(_0x111e3f._0x20f596,0x55d)](_0x5b4b63);function _0x5e289c(_0x49dc61,_0x5791fe){return _0x2e76d8(_0x5791fe-0x7b,_0x49dc61);}return!![];})['join'](_0x2e76d8(_0x373995._0x51a12a,_0x373995._0x708c40));}function readLogFile(_0x4ad7bb){const _0x529064={_0x2f0ce5:0x5bd,_0xd33bed:0x8aa,_0x2271a0:0x551,_0xfb6917:0x5a5},_0x219ad8={_0x36f6f6:0x2c9};function _0x45566e(_0x1f743a,_0x74e25a){return _0x32d8ea(_0x74e25a,_0x1f743a- -0x74);}function _0x19475a(_0x4b7eef,_0x2648ec){return _0x32d8ea(_0x4b7eef,_0x2648ec- -_0x219ad8._0x36f6f6);}try{const _0x37605a=_0x285c85(_0x4ad7bb,_0x19475a(_0x529064._0x2f0ce5,0x68f));return _0x37605a[_0x45566e(0x756,_0x529064._0xd33bed)](/\r?\n/)[_0x19475a(_0x529064._0x2271a0,_0x529064._0xfb6917)](Boolean)['map'](_0x3a7543=>({'raw':_0x3a7543,'ts':parseTimestamp(_0x3a7543)}));}catch{return[];}}function parseTimestamp(_0x52122b){const _0x3b7811=_0x52122b['match'](/^\[(\d{13})\]\s/);if(!_0x3b7811)return null;const _0x4c1f39=Number(_0x3b7811[0x1]);return Number['isFinite'](_0x4c1f39)?_0x4c1f39:null;}function clampLines(_0x172060){const _0x477033={_0x359d1e:0x44d,_0x19dcec:0x68d,_0x1ab532:0x604},_0x17c1a2={_0x16ee71:0x3b1};if(!Number[_0x5486ce(0x468,_0x477033._0x359d1e)](_0x172060))return 0xc8;function _0x5486ce(_0x175ac0,_0x2f005){return _0x3a7f13(_0x175ac0,_0x2f005- -0x4a);}function _0x5a5da6(_0x4df710,_0x3cd6d8){return _0x3a7f13(_0x3cd6d8,_0x4df710-_0x17c1a2._0x16ee71);}return Math[_0x5a5da6(0x940,0x9c8)](0x1,Math['min'](0x7d0,Math[_0x5a5da6(_0x477033._0x19dcec,_0x477033._0x1ab532)](_0x172060)));}async function checkGatewayReachable(_0x5c431a){const _0x572fc5={_0x3b19ee:0x228,_0x5edef5:0x70c,_0x3e63f3:0x573,_0x568184:0x4e3},_0x798455={_0x395d8b:0x7db,_0x13db03:0x505},_0x4530b4={_0x590ae9:0x13b},_0x9d6590={};_0x9d6590['NUhTQ']='error';function _0x447911(_0x57cbc5,_0x99a5b9){return _0x3a7f13(_0x57cbc5,_0x99a5b9-0x88);}const _0x5da404=_0x9d6590;function _0x436e7e(_0x521164,_0xe8ed3b){return _0x3a7f13(_0x521164,_0xe8ed3b-_0x4530b4._0x590ae9);}try{const _0x63d496=new URL(_0x5c431a),_0x339935=_0x63d496['hostname']||_0x447911(_0x572fc5._0x3b19ee,0x299)+'1',_0x496d17=_0x63d496[_0x436e7e(_0x572fc5._0x5edef5,_0x572fc5._0x3e63f3)]?Number(_0x63d496[_0x436e7e(_0x572fc5._0x568184,0x573)]):_0x63d496['protocol']==='wss:'?0x1bb:0x50;return await new Promise((_0x4e5439,_0x3d0d12)=>{const _0x216c1d={_0x21ca1e:0x811,_0x54193a:0x820},_0x128406={_0x10779e:0x26d};function _0x4cf17f(_0x8f4478,_0x3d0cb4){return _0x447911(_0x3d0cb4,_0x8f4478-_0x128406._0x10779e);}const _0x23874b=new Socket();_0x23874b[_0x4cf17f(_0x798455._0x395d8b,0xa0e)+'ut'](0x384),_0x23874b[_0x4cf17f(0x8e2,0x749)](_0xe51091(0x7c6,0x628),()=>{_0x23874b['destroy'](),_0x4e5439();});function _0xe51091(_0x189046,_0x56415c){return _0x447911(_0x56415c,_0x189046-0x2ad);}_0x23874b['once']('timeout',()=>{_0x23874b[_0x4adb5d(0x5a9,0x449)]();function _0x4adb5d(_0x20c5a6,_0x5b08fc){return _0xe51091(_0x20c5a6- -0x342,_0x5b08fc);}_0x3d0d12(new Error('timeout'));}),_0x23874b[_0x4cf17f(0x8e2,0x89c)](_0x5da404[_0x4cf17f(_0x798455._0x13db03,0x4ba)],_0x35786d=>{const _0xba34ee={_0xda6dfa:0x9a};function _0x190a29(_0x728ee2,_0x4ba3c0){return _0x4cf17f(_0x728ee2- -_0xba34ee._0xda6dfa,_0x4ba3c0);}_0x23874b[_0x190a29(_0x216c1d._0x21ca1e,_0x216c1d._0x54193a)](),_0x3d0d12(_0x35786d);}),_0x23874b['connect'](_0x496d17,_0x339935);}),!![];}catch{return![];}}function parseLookbackToMs(_0x236b59){const _0x578587={_0x586989:0x5f2,_0x2b477c:0x65f,_0x1def02:0x3b3,_0x4a04ac:0x464,_0x2d8b43:0x2bd,_0x31e639:0x3a9,_0x29de9e:0x3c9,_0x3285fb:0x3b3,_0x3f6b4e:0x244,_0x1b971e:0x485,_0x59bb05:0x864},_0x3f09f7={_0x400476:0xee},_0x2b8f81=_0x236b59?.[_0x53cae9(0x5d1,_0x578587._0x586989)]();if(!_0x2b8f81)return null;function _0x53cae9(_0x3b6a1c,_0xc134bb){return _0x32d8ea(_0x3b6a1c,_0xc134bb- -0x43d);}const _0x502105=_0x2b8f81[_0x42ee69(0x5d4,_0x578587._0x2b477c)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x502105)throw new Error(_0x53cae9(_0x578587._0x1def02,0x448)+'--last\x20v'+'alue\x20\x22'+_0x2b8f81+(_0x53cae9(_0x578587._0x4a04ac,_0x578587._0x2d8b43)+_0x53cae9(_0x578587._0x31e639,0x4fb)+_0x53cae9(_0x578587._0x29de9e,0x1a6)+_0x53cae9(0x210,_0x578587._0x3285fb)+'or\x201d.'));function _0x42ee69(_0x31fa98,_0x1ac142){return _0x32d8ea(_0x1ac142,_0x31fa98- -_0x3f09f7._0x400476);}const _0x5be541=Number(_0x502105[0x1]),_0x280514=_0x502105[0x2][_0x53cae9(_0x578587._0x3f6b4e,_0x578587._0x1b971e)+_0x42ee69(_0x578587._0x59bb05,0x6e6)](),_0x5b724b=_0x280514==='ms'?0x1:_0x280514==='s'?0x3e8:_0x280514==='m'?0xea60:_0x280514==='h'?0x36ee80:0x5265c00;return _0x5be541*_0x5b724b;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=[_0x3a7f13(0x749,0x5d2),_0x3a7f13(0x4ed,0x5af),'tap',_0x3a7f13(0x599,0x5e1)+'e',_0x32d8ea(0x81a,0x96a)+'d','wg',_0x3a7f13(0x2e0,0x32b),'ipsec',_0x3a7f13(0x5ea,0x43d),_0x3a7f13(0x365,0x193),_0x3a7f13(0x528,0x5dd),'vbox',_0x3a7f13(0x5e6,0x4e7),_0x32d8ea(0x7a4,0x67a),'lo0','awdl',_0x3a7f13(0x60d,0x540),_0x32d8ea(0x9cb,0x841),_0x32d8ea(0xb6d,0x9ac),_0x32d8ea(0x685,0x609)];function buildLocalPairingInfo(_0x6c14e5){const _0x44830e={_0x2ccb68:0x76f,_0xe15dc6:0x623,_0x3a33cd:0x623,_0xe32c80:0x436,_0x194002:0x448,_0x536d3c:0x6a9,_0x1c2843:0x88f,_0x871ead:0x7fb,_0x395554:0x60f,_0x1bfc1a:0x67b,_0x239260:0x48b,_0x10fbac:0x637,_0xc262e5:0xaa7};function _0x3f9d00(_0xe7c103,_0x2944af){return _0x32d8ea(_0x2944af,_0xe7c103- -0x34b);}const _0x259ddc={'bgunz':function(_0x536985,_0x2384e8){return _0x536985(_0x2384e8);},'DTUBG':function(_0x5eceeb,_0x474c10){return _0x5eceeb(_0x474c10);},'SvcFV':function(_0x3625db,_0x4b9c29){return _0x3625db*_0x4b9c29;}},_0x4782d2=_0x259ddc[_0x32e0b3(0x8bd,_0x44830e._0x2ccb68)](resolveLocalPairAuth,_0x6c14e5),_0x5da348={};_0x5da348[_0x32e0b3(_0x44830e._0xe15dc6,0x4e4)+_0x32e0b3(0x7ba,0x790)]=_0x6c14e5[_0x32e0b3(_0x44830e._0x3a33cd,_0x44830e._0xe32c80)+'Url'],_0x5da348['defaultG'+_0x3f9d00(0x4bb,_0x44830e._0x194002)+'l']=_0x6c14e5[_0x3f9d00(_0x44830e._0x536d3c,_0x44830e._0x1c2843)+_0x32e0b3(_0x44830e._0x871ead,0x6e0)+'l'];const _0x2e19aa=_0x259ddc[_0x32e0b3(0x954,0x8d9)](resolveLocalPairGatewayUrl,_0x5da348);function _0x32e0b3(_0x1d74b9,_0x3d7bee){return _0x32d8ea(_0x3d7bee,_0x1d74b9- -0xb);}const _0x10185d=_0x6c14e5[_0x32e0b3(_0x44830e._0x395554,0x3d9)+'t']??Date[_0x3f9d00(0x6cb,_0x44830e._0x1bfc1a)]()+_0x259ddc[_0x3f9d00(0x63f,0x69c)](0xa,0x3c)*0x3e8;return{'gatewayUrl':_0x2e19aa,'expiresAt':_0x10185d,'authMode':_0x4782d2[_0x3f9d00(_0x44830e._0x239260,_0x44830e._0x10fbac)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x2e19aa,'token':_0x4782d2[_0x32e0b3(0x884,_0x44830e._0xc262e5)],'password':_0x4782d2[_0x32e0b3(0x78b,0x881)],'expiresAt':_0x10185d})};}function resolveLocalPairGatewayUrl(_0x54e190){const _0x442a64={_0xe2fa7:0x52d,_0x33b61c:0x581,_0x2f1cb5:0x7eb,_0x9a6809:0x774,_0x3602e1:0x42e,_0x3d254d:0x1b7,_0x191fdc:0x731,_0x3fbec2:0x5e1,_0x22dba9:0x7b6};function _0x3d00a2(_0x3361f3,_0x181b21){return _0x32d8ea(_0x3361f3,_0x181b21- -0x244);}const _0x5017dc={'aTmcv':function(_0x5103fe,_0x15e027){return _0x5103fe(_0x15e027);}},_0x491afc=_0x54e190?.[_0xb942a6(-0x144,0x58)+_0x3d00a2(_0x442a64._0xe2fa7,_0x442a64._0x33b61c)]?.[_0x3d00a2(0x630,_0x442a64._0x2f1cb5)]();if(_0x491afc)return _0x5017dc[_0x3d00a2(_0x442a64._0x9a6809,0x7a2)](normalizeExplicitGatewayUrl,_0x491afc);const _0x3136d6=_0x54e190?.[_0x3d00a2(0x8d1,0x7b0)+_0x3d00a2(_0x442a64._0x3602e1,0x5c2)+'l']?.['trim']()||resolveGatewayUrl(),_0x296ea8=detectLanIp();function _0xb942a6(_0x2a9db8,_0x3763ba){return _0x32d8ea(_0x3763ba,_0x2a9db8- -0x772);}if(!_0x296ea8)throw new Error('Failed\x20t'+_0xb942a6(0x63,_0x442a64._0x3d254d)+_0x3d00a2(0x6b3,0x5cb)+_0xb942a6(0x215,0x44b)+_0x3d00a2(0x520,_0x442a64._0x191fdc)+_0xb942a6(0x90,0xfb)+_0x3d00a2(_0x442a64._0x3fbec2,_0x442a64._0x22dba9)+_0xb942a6(0x1af,0x19a)+'stom\x20gat'+_0xb942a6(0x19d,0x311)+'.');return rewriteGatewayHost(_0x3136d6,_0x296ea8);}function normalizeExplicitGatewayUrl(_0x40c1e7){const _0x3dd15e={_0x4d9361:0x81a,_0x6e3728:0x529,_0x1acd5c:0x689,_0x33b20c:0x54a,_0x521dfa:0x5a0};function _0x5d93cc(_0x31b3af,_0x432723){return _0x3a7f13(_0x432723,_0x31b3af-0x3fe);}const _0x29dab7=_0x40c1e7[_0x5d93cc(0xa07,_0x3dd15e._0x4d9361)](),_0x2238fa=/^[a-z]+:\/\//i[_0x260dcc(_0x3dd15e._0x6e3728,_0x3dd15e._0x1acd5c)](_0x29dab7)?_0x29dab7:_0x260dcc(0x70f,_0x3dd15e._0x33b20c)+_0x29dab7;function _0x260dcc(_0x3580e4,_0x1af28f){return _0x3a7f13(_0x1af28f,_0x3580e4-0x176);}return normalizeGatewayQrUrl(_0x2238fa)[_0x260dcc(0x361,_0x3dd15e._0x521dfa)];}function rewriteGatewayHost(_0x25aa5f,_0x5d2ccc){const _0x2ab1d9={_0x18ea12:0x168,_0x580a6c:0x35,_0x41b670:0x195},_0x1e7073={_0xa0f7e5:0x21f},_0x1d1104={'BFWeD':function(_0x54feca,_0xe9a439){return _0x54feca(_0xe9a439);}},_0x3c20ef=_0x25aa5f['trim']();function _0x45dee0(_0x499061,_0xda8383){return _0x3a7f13(_0x499061,_0xda8383- -0x2ae);}function _0x36d8be(_0x4aeaba,_0xb328d5){return _0x3a7f13(_0x4aeaba,_0xb328d5- -_0x1e7073._0xa0f7e5);}const _0xce4181=/^[a-z]+:\/\//i[_0x36d8be(0x370,0x194)](_0x3c20ef)?_0x3c20ef:_0x45dee0(0x342,0x2eb)+_0x3c20ef,_0x13b596=new URL(_0xce4181);return _0x13b596[_0x45dee0(0x41,_0x2ab1d9._0x18ea12)]=_0x5d2ccc,_0x1d1104['BFWeD'](normalizeGatewayQrUrl,_0x13b596[_0x36d8be(-_0x2ab1d9._0x580a6c,0x1cf)]())[_0x45dee0(-_0x2ab1d9._0x41b670,-0xc3)];}function detectLanIp(){const _0x1864cf={_0xddff3d:0x143,_0x101720:0x1fc,_0x46cfbd:0x13,_0x57ab8b:0x314,_0xd704b1:0x416},_0x5c1200={_0x571217:0x2aa},_0x423790={_0x42e371:0xbb},_0x1b5386={};function _0x42fb2e(_0x4f5cad,_0x1ecdd8){return _0x3a7f13(_0x4f5cad,_0x1ecdd8-_0x423790._0x42e371);}_0x1b5386[_0x42804a(0x257,_0x1864cf._0xddff3d)]=function(_0x177279,_0x561c6c){return _0x177279===_0x561c6c;};const _0x4cec3d=_0x1b5386,_0x25b4c9=networkInterfaces();let _0x6c54bc=null;function _0x42804a(_0x1b97dc,_0x5756c0){return _0x3a7f13(_0x5756c0,_0x1b97dc- -_0x5c1200._0x571217);}for(const [_0x599a4b,_0x3c45e5]of Object[_0x42fb2e(_0x1864cf._0x101720,0x2a7)](_0x25b4c9)){for(const _0x10f5ca of _0x3c45e5??[]){if(_0x10f5ca[_0x42fb2e(0x2b3,0x4ff)]!==_0x42fb2e(0x288,0x45c))continue;const _0x52f47b=scoreLanCandidate(_0x599a4b,_0x10f5ca['address']);if(_0x4cec3d[_0x42804a(0x257,_0x1864cf._0x46cfbd)](_0x52f47b,0x0))continue;if(!_0x6c54bc||_0x52f47b>_0x6c54bc[_0x42fb2e(_0x1864cf._0x57ab8b,0x416)]){const _0x23eed8={};_0x23eed8[_0x42fb2e(0x311,_0x1864cf._0xd704b1)]=_0x52f47b,_0x23eed8['ip']=_0x10f5ca['address'],_0x6c54bc=_0x23eed8;}}}return _0x6c54bc?.['ip']??null;}function scoreLanCandidate(_0x138e5c,_0x520e27){const _0x421987={_0x1a3427:0x75b,_0x5aa9d1:0x675,_0x4805a7:0x80a,_0x40be57:0x86a,_0xce22c4:0x724,_0x171c71:0x4e2,_0x856152:0x3df,_0x445225:0x3fa,_0x507885:0x369,_0x13214b:0x6ff,_0x185819:0x5e6,_0x105f7a:0x6c0,_0x408720:0x3fc,_0x27fdb3:0x2be},_0x93b1c1={_0x1ff35b:0x167};function _0x2748f0(_0x14b477,_0x3c5b22){return _0x32d8ea(_0x14b477,_0x3c5b22- -_0x93b1c1._0x1ff35b);}const _0x336b0f={'iTSER':function(_0x31055d,_0x236ac4){return _0x31055d(_0x236ac4);},'dLrOk':function(_0x270b50,_0x3c3e27){return _0x270b50(_0x3c3e27);}};if(!isLanIpv4(_0x520e27))return 0x0;function _0x29bf5e(_0x4f00cf,_0x2e90ac){return _0x32d8ea(_0x2e90ac,_0x4f00cf- -0x36b);}const _0x5dd22e=_0x138e5c[_0x2748f0(0x526,_0x421987._0x1a3427)+'ase']();if(BLOCKED_INTERFACE_TOKENS[_0x29bf5e(_0x421987._0x5aa9d1,_0x421987._0x4805a7)](_0x29edf7=>_0x5dd22e[_0x2748f0(0x4ce,0x6ff)](_0x29edf7)))return 0x0;let _0x5e364b=_0x336b0f['iTSER'](isRfc1918,_0x520e27)?0x78:_0x336b0f[_0x2748f0(_0x421987._0x40be57,0x7f6)](isCgnat,_0x520e27)?0x5a:0x28;return(_0x5dd22e[_0x2748f0(_0x421987._0xce22c4,0x4e2)+'th']('en')||_0x5dd22e[_0x2748f0(0x505,_0x421987._0x171c71)+'th'](_0x29bf5e(0x542,_0x421987._0x856152))||_0x5dd22e[_0x29bf5e(0x2de,0x1d9)+'th'](_0x29bf5e(_0x421987._0x445225,0x1df))||_0x5dd22e[_0x2748f0(_0x421987._0x507885,_0x421987._0x171c71)+'th']('wl')||_0x5dd22e[_0x2748f0(0x54d,_0x421987._0x13214b)](_0x2748f0(_0x421987._0x185819,_0x421987._0x105f7a))||_0x5dd22e['includes'](_0x29bf5e(_0x421987._0x408720,_0x421987._0x27fdb3)))&&(_0x5e364b+=0x14),_0x5e364b;}function resolveLocalPairAuth(_0x1fe2b9){const _0x45914e={_0x4cacab:0x2a2,_0x1454c7:0x112,_0x294b8c:0x161,_0xd92fb3:0x33c,_0x5eeb2e:0x52d,_0x257573:0xe2,_0x114143:0x4eb,_0x1bd981:0x1a,_0x3cda08:0x17d,_0x140308:0x7c1,_0x159a44:0x5d0,_0xbedcbd:0x6f6,_0x5cbd99:0x4be,_0x5d1372:0x6f0,_0x4c3af1:0x62f,_0x2e4774:0x75e,_0x172000:0x30,_0x43f83f:0x76c},_0x3c98ee={_0x5326b5:0x1b8},_0x665b99={_0x1fd113:0x27f},_0x44abd1={};_0x44abd1[_0x3da04e(0x4bd,_0x45914e._0x4cacab)]=_0x3da04e(0x528,0x359);const _0x304347=_0x44abd1;function _0xb411be(_0xd2e451,_0x42c7cb){return _0x3a7f13(_0x42c7cb,_0xd2e451- -_0x665b99._0x1fd113);}if(_0x1fe2b9['gatewayT'+_0xb411be(0x33c,0x196)]?.['trim']())return{'mode':_0xb411be(0x1ea,_0x45914e._0x1454c7),'token':_0x1fe2b9[_0xb411be(0x8f,-_0x45914e._0x294b8c)+_0xb411be(_0x45914e._0xd92fb3,0x481)][_0xb411be(0x38a,0x2aa)](),'password':null};if(_0x1fe2b9[_0x3da04e(_0x45914e._0x5eeb2e,0x590)+_0xb411be(-0x1a,_0x45914e._0x257573)]?.[_0x3da04e(0x7c1,0x93f)]())return{'mode':_0x304347[_0x3da04e(0x4bd,_0x45914e._0x114143)],'token':null,'password':_0x1fe2b9['gatewayP'+_0xb411be(-_0x45914e._0x1bd981,_0x45914e._0x3cda08)][_0x3da04e(_0x45914e._0x140308,_0x45914e._0x159a44)]()};function _0x3da04e(_0x2e864d,_0x26fe2d){return _0x3a7f13(_0x26fe2d,_0x2e864d-_0x3c98ee._0x5326b5);}throw new Error(_0x3da04e(_0x45914e._0xbedcbd,_0x45914e._0x5cbd99)+'\x20gateway'+_0x3da04e(_0x45914e._0x5d1372,0x617)+_0x3da04e(_0x45914e._0x4c3af1,_0x45914e._0x2e4774)+_0xb411be(0x1cd,_0x45914e._0x172000)+_0x3da04e(_0x45914e._0x43f83f,0x979)+'ord).');}function isLanIpv4(_0x31ba62){const _0x194fe7={_0x21e135:0x52e,_0x596308:0x582,_0x591286:0x5b3,_0x583453:0x543,_0x3add00:0x4cf,_0x5b649a:0x373,_0x1f9d6f:0x63a},_0x44031f={_0x45a6ad:0x405},_0x4bb46e={};_0x4bb46e['VwtRX']=function(_0x3de991,_0x381c9){return _0x3de991===_0x381c9;},_0x4bb46e[_0x4a7619(_0x194fe7._0x21e135,0x3b5)]=function(_0x3c6daf,_0xe5af15){return _0x3c6daf>=_0xe5af15;},_0x4bb46e['VTSwK']=function(_0x166547,_0x3fe16a){return _0x166547<=_0x3fe16a;};function _0x4d718f(_0x2af97b,_0x272719){return _0x32d8ea(_0x2af97b,_0x272719- -_0x44031f._0x45a6ad);}_0x4bb46e[_0x4d718f(0x69e,0x4bc)]=function(_0x23a26c,_0x3677c6){return _0x23a26c===_0x3677c6;},_0x4bb46e[_0x4a7619(0x5f5,_0x194fe7._0x596308)]=function(_0x28df5b,_0x407abd){return _0x28df5b===_0x407abd;};const _0x2d0d59=_0x4bb46e;if(!isValidIpv4(_0x31ba62))return![];if(_0x31ba62===_0x4d718f(_0x194fe7._0x591286,0x5ab))return![];const [_0x148f44,_0x358565,_0x460a25,_0x564ea6]=_0x31ba62[_0x4a7619(_0x194fe7._0x583453,0x74b)]('.')['map'](Number);if(_0x2d0d59['VwtRX'](_0x148f44,0x7f))return![];if(_0x148f44===0xa9&&_0x358565===0xfe)return![];if(_0x2d0d59[_0x4d718f(0x1ef,0x3b0)](_0x148f44,0xe0)&&_0x2d0d59[_0x4d718f(_0x194fe7._0x3add00,_0x194fe7._0x5b649a)](_0x148f44,0xef))return![];if(_0x2d0d59[_0x4d718f(0x20b,0x20a)](_0x148f44,0xff)&&_0x2d0d59[_0x4a7619(_0x194fe7._0x1f9d6f,0x653)](_0x358565,0xff)&&_0x460a25===0xff&&_0x2d0d59[_0x4d718f(0x1d7,0x20a)](_0x564ea6,0xff))return![];function _0x4a7619(_0x7f5943,_0x3fb6f8){return _0x32d8ea(_0x3fb6f8,_0x7f5943- -0x287);}if(_0x148f44===0xc6&&(_0x2d0d59[_0x4a7619(0x5f5,0x503)](_0x358565,0x12)||_0x358565===0x13))return![];return isRfc1918(_0x31ba62)||isCgnat(_0x31ba62);}function isRfc1918(_0xe9067){const _0x342813={_0x5b4a93:0x2cb,_0x45fb54:0xa5},_0x143aab={_0x41411a:0x60a},_0x379d24={_0x38a3eb:0x781};function _0x2de6de(_0x933299,_0x1aa417){return _0x32d8ea(_0x933299,_0x1aa417- -_0x379d24._0x38a3eb);}const _0x428f7b={};_0x428f7b[_0xc26a4f(0x417,_0x342813._0x5b4a93)]=function(_0x2d2d4b,_0x4432a0){return _0x2d2d4b<=_0x4432a0;};const _0x3bf160=_0x428f7b,[_0x55f654,_0x52f759]=_0xe9067[_0x2de6de(-_0x342813._0x45fb54,0x49)]('.')[_0xc26a4f(0x299,0x169)](Number);function _0xc26a4f(_0x298345,_0x341224){return _0x32d8ea(_0x298345,_0x341224- -_0x143aab._0x41411a);}return _0x55f654===0xa||_0x55f654===0xac&&_0x52f759>=0x10&&_0x3bf160[_0xc26a4f(0x3ce,_0x342813._0x5b4a93)](_0x52f759,0x1f)||_0x55f654===0xc0&&_0x52f759===0xa8;}function isCgnat(_0x3aa99e){const _0x3b7127={_0x421f7c:0x5d};function _0x58af5f(_0x159a4e,_0xea2064){return _0x32d8ea(_0xea2064,_0x159a4e- -0x51c);}function _0x11fefb(_0x1748a2,_0x2f398c){return _0x32d8ea(_0x1748a2,_0x2f398c- -0x14d);}const [_0x47123e,_0xf9d1ee]=_0x3aa99e[_0x58af5f(0x2ae,0x330)]('.')[_0x58af5f(0x257,_0x3b7127._0x421f7c)](Number);return _0x47123e===0x64&&_0xf9d1ee>=0x40&&_0xf9d1ee<=0x7f;}function isValidIpv4(_0x43cb60){const _0x44344f={_0x39aafa:0x3d7},_0x39b8eb={_0xd23c8a:0x294},_0x36288b={_0x40497e:0x5f},_0x2638cb={'UryMM':function(_0x5cba69,_0x7b6eb6){return _0x5cba69(_0x7b6eb6);}};function _0x3825ad(_0x1b8855,_0x49fdb4){return _0x3a7f13(_0x1b8855,_0x49fdb4- -0x73);}const _0x2ed8e8=_0x43cb60['split']('.');return _0x2ed8e8['length']===0x4&&_0x2ed8e8[_0x3825ad(_0x44344f._0x39aafa,0x380)](_0x4c25fd=>{if(!/^\d+$/['test'](_0x4c25fd))return![];function _0xdff87a(_0x1d32a9,_0x4577ae){return _0x3825ad(_0x4577ae,_0x1d32a9- -_0x36288b._0x40497e);}const _0xb5715c=_0x2638cb[_0xdff87a(_0x39b8eb._0xd23c8a,0x2be)](Number,_0x4c25fd);return _0xb5715c>=0x0&&_0xb5715c<=0xff;});}function _0x2370(_0x637ef,_0x1368cc){_0x637ef=_0x637ef-0x1c3;const _0x4bc50a=_0x472c();let _0x345fc1=_0x4bc50a[_0x637ef];if(_0x2370['ECVRxC']===undefined){var _0x2b7cce=function(_0x1b68c3){const _0x2c5bae='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x75bb2f='',_0x2b085f='',_0x513af7=_0x75bb2f+_0x2b7cce;for(let _0x18f9a6=0x0,_0x2e3a84,_0x3716e5,_0x23c8a5=0x0;_0x3716e5=_0x1b68c3['charAt'](_0x23c8a5++);~_0x3716e5&&(_0x2e3a84=_0x18f9a6%0x4?_0x2e3a84*0x40+_0x3716e5:_0x3716e5,_0x18f9a6++%0x4)?_0x75bb2f+=_0x513af7['charCodeAt'](_0x23c8a5+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x2e3a84>>(-0x2*_0x18f9a6&0x6)):_0x18f9a6:0x0){_0x3716e5=_0x2c5bae['indexOf'](_0x3716e5);}for(let _0x8a4c48=0x0,_0x45c0d2=_0x75bb2f['length'];_0x8a4c48<_0x45c0d2;_0x8a4c48++){_0x2b085f+='%'+('00'+_0x75bb2f['charCodeAt'](_0x8a4c48)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2b085f);};_0x2370['IcvOlM']=_0x2b7cce,_0x2370['dafVvv']={},_0x2370['ECVRxC']=!![];}const _0x472c2c=_0x4bc50a[0x0],_0x23706c=_0x637ef+_0x472c2c,_0x5c3753=_0x2370['dafVvv'][_0x23706c];if(!_0x5c3753){const _0x55fa60=function(_0x44712a){this['TDYVLO']=_0x44712a,this['AjoClQ']=[0x1,0x0,0x0],this['HOTMwY']=function(){return'newState';},this['szpkbe']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['LMHndt']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x55fa60['prototype']['awWmeJ']=function(){const _0x791ef0=new RegExp(this['szpkbe']+this['LMHndt']),_0x1fa53a=_0x791ef0['test'](this['HOTMwY']['toString']())?--this['AjoClQ'][0x1]:--this['AjoClQ'][0x0];return this['zqIAjF'](_0x1fa53a);},_0x55fa60['prototype']['zqIAjF']=function(_0x53ae32){if(!Boolean(~_0x53ae32))return _0x53ae32;return this['uqRGnm'](this['TDYVLO']);},_0x55fa60['prototype']['uqRGnm']=function(_0xbe82c){for(let _0x2d5d28=0x0,_0x477718=this['AjoClQ']['length'];_0x2d5d28<_0x477718;_0x2d5d28++){this['AjoClQ']['push'](Math['round'](Math['random']())),_0x477718=this['AjoClQ']['length'];}return _0xbe82c(this['AjoClQ'][0x0]);},new _0x55fa60(_0x2370)['awWmeJ'](),_0x345fc1=_0x2370['IcvOlM'](_0x345fc1),_0x2370['dafVvv'][_0x23706c]=_0x345fc1;}else _0x345fc1=_0x5c3753;return _0x345fc1;}import{readFileSync as _0x242515}from'fs';function _0x3a7f13(_0x50f014,_0x31f839){const _0x111bc5={_0x2324ed:0x45};return _0x2370(_0x31f839- -_0x111bc5._0x2324ed,_0x50f014);}import{dirname as _0xd755a,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x10d99d={_0x588d67:0x5ac,_0x5b1b00:0x4f1,_0x362ce4:0x4fe,_0xd988d8:0x4d8,_0x45c95b:0x4b7},_0x330f7a={_0x20c3ff:0xd},_0x32e445=_0xd755a(fileURLToPath(import.meta.url)),_0x6a0397=resolve(_0x32e445,'../packa'+_0x5d9873(0x3b6,0x599)),_0x2ab18f=_0x242515(_0x6a0397,_0x5d9873(_0x10d99d._0x588d67,_0x10d99d._0x5b1b00)),_0x4125bd=JSON[_0x5e6559(0x309,_0x10d99d._0x362ce4)](_0x2ab18f);function _0x5e6559(_0x2aec8d,_0x5f2ffa){return _0x3a7f13(_0x5f2ffa,_0x2aec8d- -_0x330f7a._0x20c3ff);}function _0x5d9873(_0x3e23a5,_0x2458cd){return _0x3a7f13(_0x3e23a5,_0x2458cd- -0x41);}return _0x4125bd['version']??_0x5d9873(_0x10d99d._0xd988d8,_0x10d99d._0x45c95b);}function buildPairingJson(_0x1440ff,_0x2d0222,_0x2fecad,_0x30a72a){const _0x3b8daf={_0x2d346d:0x603,_0x44dc34:0x1c1,_0x513bd1:0x66e,_0xe74bd5:0x178,_0x3768d6:0xc,_0x319ed8:0x1f9,_0x38d713:0x50e,_0x2ce7d4:0x48a,_0x2ebc96:0x1bd,_0x14e32d:0x4ca,_0x53a5c2:0x373,_0x5b0e80:0x187,_0x4d1dce:0xa0,_0x1776a4:0xa,_0x3db4fb:0x6ef,_0x38d810:0x2a,_0x129362:0x5f6,_0x3f3b67:0x4e6,_0x571bd6:0x203,_0xb81f3a:0xfa,_0x26838e:0x5f6,_0x30ecff:0x4aa,_0x239f93:0x8c7,_0x2f1f95:0x5f6,_0x74ae7a:0x3f9,_0x49c3c0:0xa1e,_0x3ea0a6:0x5f0,_0x57505b:0x5f0,_0x332c52:0x6d,_0x2afdf8:0x18b,_0x1fffba:0x2bf,_0x43594c:0x4f2,_0x529d20:0x50e,_0x3e7da7:0x58b},_0x284820={_0x4e65ed:0x391},_0x212ad4={_0x2ad2f9:0x2cc},_0x5bc7a3={};_0x5bc7a3[_0x49bb62(_0x3b8daf._0x2d346d,0x710)+'d']=_0x2fecad[_0x3e007c(-0x5a,0xc9)+'d'],_0x5bc7a3[_0x3e007c(-0x186,-_0x3b8daf._0x44dc34)]=_0x2fecad[_0x3e007c(-0x186,-0x1db)];function _0x49bb62(_0x356bcc,_0x550c12){return _0x3a7f13(_0x550c12,_0x356bcc-_0x212ad4._0x2ad2f9);}_0x5bc7a3[_0x49bb62(0x5e1,_0x3b8daf._0x513bd1)]=_0x2fecad['method'],_0x5bc7a3[_0x3e007c(-0xc,_0x3b8daf._0xe74bd5)+'ath']=_0x2fecad[_0x3e007c(-_0x3b8daf._0x3768d6,-_0x3b8daf._0x319ed8)+_0x49bb62(_0x3b8daf._0x38d713,_0x3b8daf._0x2ce7d4)],_0x5bc7a3[_0x49bb62(0x4a0,0x3d3)]=_0x2fecad[_0x3e007c(-_0x3b8daf._0x2ebc96,-0x139)];function _0x3e007c(_0x49c810,_0x4b345f){return _0x3a7f13(_0x4b345f,_0x49c810- -_0x284820._0x4e65ed);}_0x5bc7a3['errorLog'+_0x49bb62(_0x3b8daf._0x14e32d,_0x3b8daf._0x53a5c2)]=_0x2fecad[_0x3e007c(_0x3b8daf._0x5b0e80,0x2d5)+_0x3e007c(-0x193,-0x84)],_0x5bc7a3['pid']=_0x2fecad['pid'];const _0x35ea66={};return _0x35ea66['ok']=!![],_0x35ea66[_0x3e007c(-_0x3b8daf._0x4d1dce,-_0x3b8daf._0x1776a4)]=_0x1440ff[_0x49bb62(0x5bd,_0x3b8daf._0x3db4fb)],_0x35ea66[_0x3e007c(_0x3b8daf._0x38d810,0x191)]=_0x30a72a,_0x35ea66[_0x49bb62(0x741,0x7ab)+'d']=_0x1440ff[_0x49bb62(_0x3b8daf._0x129362,_0x3b8daf._0x3f3b67)]['gatewayI'+'d'],_0x35ea66[_0x3e007c(_0x3b8daf._0x571bd6,_0x3b8daf._0xb81f3a)]=_0x1440ff['config'][_0x49bb62(0x860,0x8e7)],_0x35ea66[_0x49bb62(0x4aa,0x696)+'l']=_0x1440ff[_0x49bb62(_0x3b8daf._0x26838e,0x7e1)][_0x49bb62(_0x3b8daf._0x30ecff,0x311)+'l'],_0x35ea66[_0x49bb62(_0x3b8daf._0x239f93,0x995)+'Id']=_0x1440ff[_0x49bb62(_0x3b8daf._0x2f1f95,_0x3b8daf._0x74ae7a)][_0x49bb62(0x8c7,_0x3b8daf._0x49c3c0)+'Id'],_0x35ea66[_0x49bb62(_0x3b8daf._0x3ea0a6,0x6c3)+'de']=_0x1440ff[_0x49bb62(_0x3b8daf._0x57505b,0x5d7)+'de'],_0x35ea66[_0x3e007c(-_0x3b8daf._0x332c52,_0x3b8daf._0x2afdf8)+_0x3e007c(0x265,0x358)+_0x3e007c(0x11b,_0x3b8daf._0x1fffba)]=_0x1440ff[_0x49bb62(0x5f0,0x3f2)+_0x49bb62(0x8c2,0x6a6)+_0x49bb62(0x778,0x89d)],_0x35ea66[_0x49bb62(0x739,_0x3b8daf._0x43594c)+_0x49bb62(_0x3b8daf._0x529d20,_0x3b8daf._0x3e7da7)]=_0x2d0222,_0x35ea66[_0x49bb62(0x88e,0xa82)]=_0x5bc7a3,_0x35ea66;}function buildLocalPairingJson(_0x6a3bbc){const _0x184882={_0x4a678:0x1b6,_0x3faab5:0x26a,_0x435a4b:0x2f5,_0x486228:0x12e,_0x2c8952:0x14a,_0x3c9586:0x3c3},_0xd3e913={_0x3daef5:0xc6},_0x560286={};_0x560286['ok']=!![],_0x560286[_0x55bce3(_0x184882._0x4a678,0x247)]=_0xb2dfda(_0x184882._0x3faab5,0x389),_0x560286[_0xb2dfda(0x2ad,_0x184882._0x435a4b)]=_0x6a3bbc[_0xb2dfda(0x246,_0x184882._0x435a4b)],_0x560286[_0xb2dfda(0x109,0x196)+'rl']=_0x6a3bbc['gatewayU'+'rl'];function _0xb2dfda(_0x1011f5,_0x35d966){return _0x3a7f13(_0x1011f5,_0x35d966- -_0xd3e913._0x3daef5);}_0x560286[_0xb2dfda(0x339,0x3bf)]=_0x6a3bbc['authMode'];function _0x55bce3(_0x5d289e,_0x26509c){return _0x3a7f13(_0x5d289e,_0x26509c- -0xaa);}return _0x560286[_0xb2dfda(0x312,_0x184882._0x486228)+'t']=_0x6a3bbc[_0x55bce3(0x33f,_0x184882._0x2c8952)+'t'],_0x560286[_0x55bce3(0x418,_0x184882._0x3c9586)+_0x55bce3(0x3b0,0x198)]=_0x6a3bbc[_0x55bce3(0x2b5,0x3c3)+_0xb2dfda(0x3b4,0x17c)],_0x560286;}import{mkdirSync as _0x3e75a8,writeFileSync as _0x5f24f7}from'fs';import{dirname as _0x2104fa,isAbsolute,join as _0x2bdafe,resolve as _0x1546d3}from'path';import _0x3ce7bc from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x16464a,_0x37cc27){const _0x27215d={_0xd6132a:0x1a4,_0x3f3f0c:0x7b};function _0x2ccd06(_0x564e12,_0x1542b3){return _0x3a7f13(_0x564e12,_0x1542b3- -0x2ae);}function _0x4ff1d0(_0x26f118,_0x57ce53){return _0x3a7f13(_0x57ce53,_0x26f118- -0x117);}const _0x4f60aa=resolveQrOutputPath(_0x16464a[_0x4ff1d0(0x213,0xf7)]['gatewayI'+'d'],_0x37cc27);return writeQrPng(_0x16464a[_0x2ccd06(_0x27215d._0xd6132a,_0x27215d._0x3f3f0c)+'d'],_0x4f60aa);}async function writeRawQrPng(_0x341227,_0x3ac7fa,_0x88492d){const _0x3c6f56={_0x26c267:0x5a0};function _0x372f19(_0x453985,_0x40a60e){return _0x32d8ea(_0x40a60e,_0x453985- -0x3b0);}const _0x4b4cbc={'FTiVQ':function(_0x4ef232,_0x55a062,_0x5c60ee){return _0x4ef232(_0x55a062,_0x5c60ee);}},_0xe8dcb8=_0x4b4cbc[_0x372f19(0x354,_0x3c6f56._0x26c267)](resolveQrOutputPath,_0x3ac7fa,_0x88492d);return writeQrPng(_0x341227,_0xe8dcb8);}async function writeQrPng(_0x4d3910,_0x452613){const _0x5f0930={_0x2560db:0x2f9,_0x1918d9:0x2b4,_0x3a27eb:0x661,_0x2d25b6:0x556,_0x5abd27:0x19e};function _0x161f8e(_0x334265,_0x4fb10f){return _0x3a7f13(_0x334265,_0x4fb10f-0x151);}const _0x446ffe={};_0x446ffe[_0x161f8e(0x369,0x2e5)+'e']=!![],_0x3e75a8(_0x2104fa(_0x452613),_0x446ffe);function _0x1e53e6(_0x373eaf,_0x1fa25f){return _0x3a7f13(_0x373eaf,_0x1fa25f-0x104);}const _0x3eddb1={};_0x3eddb1['type']=_0x161f8e(0x4cc,_0x5f0930._0x2560db)+'g',_0x3eddb1[_0x1e53e6(0x8f,_0x5f0930._0x1918d9)+_0x161f8e(0x553,0x496)+'evel']='M',_0x3eddb1[_0x161f8e(_0x5f0930._0x3a27eb,_0x5f0930._0x2d25b6)]=0x1,_0x3eddb1['width']=0x2d0;const _0x527403=await _0x3ce7bc[_0x161f8e(0x732,0x5a6)+'L'](_0x4d3910,_0x3eddb1),_0x38dc5e=_0x527403['replace'](/^data:image\/png;base64,/,'');return _0x5f24f7(_0x452613,Buffer['from'](_0x38dc5e,_0x1e53e6(_0x5f0930._0x5abd27,0x3c6))),_0x452613;}function resolveQrOutputPath(_0x779c06,_0x20fb70){const _0x2d9c10={_0x794f7c:0x571,_0x3e7e0d:0x3e8},_0x48b77c={_0x9138f7:0x1ae},_0x120e21={'Ugule':function(_0x3e4dac,_0x2df285){return _0x3e4dac(_0x2df285);},'Iohpi':function(_0xb51877,_0x5d4533,_0x5cb8ec){return _0xb51877(_0x5d4533,_0x5cb8ec);}},_0x5e4013=_0x20fb70?.[_0x54f84e(0x881,0xab5)]();function _0x54f84e(_0x173144,_0x456129){return _0x32d8ea(_0x456129,_0x173144- -_0x48b77c._0x9138f7);}if(_0x5e4013)return _0x120e21[_0x29efd7(_0x2d9c10._0x794f7c,_0x2d9c10._0x3e7e0d)](isAbsolute,_0x5e4013)?_0x5e4013:_0x1546d3(_0x5e4013);function _0x29efd7(_0x5a4381,_0x31337f){return _0x32d8ea(_0x31337f,_0x5a4381- -0x18b);}return _0x120e21['Iohpi'](_0x2bdafe,DEFAULT_QR_DIR,_0x779c06+'.png');}function decidePairServiceAction(_0x1f96b9,_0x1018a8){const _0x5d6e6b={_0x1be4aa:0x367,_0x144fe8:0x43e,_0x2d3fa1:0x4f9},_0x280e70={};_0x280e70['kynzT']='restart';const _0x233959=_0x280e70;if(!_0x1018a8[_0x213b26(_0x5d6e6b._0x1be4aa,0x3da)+'d'])return _0x54c245(0x2d6,_0x5d6e6b._0x144fe8);function _0x213b26(_0x5c5479,_0x13dc8d){return _0x32d8ea(_0x5c5479,_0x13dc8d- -0x383);}function _0x54c245(_0x41ad44,_0x27114b){return _0x32d8ea(_0x41ad44,_0x27114b- -0x1db);}if(!_0x1018a8['running'])return _0x233959['kynzT'];if(_0x1f96b9[_0x213b26(0x4dd,0x394)]==='register'+'ed')return _0x213b26(_0x5d6e6b._0x2d3fa1,0x3ae);return'noop';}async function main(){const _0x19a62e={_0x1bbf60:0x108,_0x4ccb37:0x52,_0x5ef4c9:0x542,_0x5ba3c0:0xea,_0x440854:0x268,_0x4e839b:0x464,_0x49bc2e:0x4bb,_0xd773a4:0x2f2,_0x2b648e:0x570,_0x1accc7:0x404,_0x493870:0x516,_0x20631c:0x55d,_0x3c97ce:0x22e,_0x41efca:0x1b9,_0x21838a:0x4e1,_0x4c7166:0x4e1,_0x17205b:0x205,_0x5ea1eb:0x152,_0x332f51:0x3f0,_0x308187:0x3cf,_0x2ef7c4:0x35d,_0x1a9d43:0xeb,_0x154c1f:0x318,_0x3b1e9b:0x472,_0x15726b:0x17b,_0x15274d:0x27,_0x1d8c9d:0x45a,_0x4849da:0x342,_0x5c959b:0xfb,_0x3ec8fc:0x38,_0x2add96:0x200,_0x5f3458:0x40c,_0x4d2b51:0x5b,_0xf5ab26:0x1e1,_0x303250:0x2b0,_0x301925:0x3d4,_0x4ccd3f:0x23a,_0x22a165:0x45d,_0x426598:0x22a,_0x31bb0c:0x202,_0x3e3d13:0x437,_0x1e405b:0x591,_0x55e88f:0x396,_0x358bf4:0x366,_0x1b8397:0x31f,_0x51ce40:0x554,_0x18bbb9:0x5a8,_0x364e9c:0x3f0,_0x383638:0x362,_0x976b9a:0x1ec,_0x316aa5:0x2b6,_0x4e89c4:0x614,_0x5a2837:0x457,_0x395973:0x12e,_0x149a6b:0x337,_0x10b15b:0x533,_0x1b16a4:0x2fe,_0x39bfbd:0x219,_0x4d6fc9:0x15,_0x30a78d:0x37,_0x2bfc4d:0x573,_0x4df754:0x32e,_0x107196:0x213,_0x3c38ba:0x3f4,_0x5a7fdf:0x68d,_0x59bdde:0x539,_0x4595ac:0x484,_0x2c398a:0x21f,_0x556514:0x456,_0x5b37b3:0x5a4,_0x2bd0fa:0x322,_0x2954b1:0x237,_0x2ad0db:0x535,_0x5ce4be:0x3cd,_0x413c92:0x34f,_0x40bb13:0x40e,_0x230118:0x403,_0x109e39:0x3d0,_0x275975:0x35d,_0x2f01ae:0x2ca,_0x379582:0x244,_0x118422:0x10c,_0x72a53b:0x321,_0x46c0dc:0x59b,_0x17773a:0x484,_0x1b33b4:0x57a,_0x547f89:0x148,_0x4a7e0a:0x19f,_0x159e17:0x1c3,_0x41d722:0x2bd,_0x495a16:0x787,_0x84cfb0:0x4bf,_0x31821c:0x58e,_0xd594a9:0x1bb,_0x320fc5:0x46f,_0x30a69e:0x7fc,_0x213207:0x304,_0x3e2dbb:0x1ee,_0x592404:0x29f,_0xe2bd70:0x33a,_0x1222f1:0x477,_0x127e24:0x31c,_0x230f05:0x469,_0x3d9189:0x2d6,_0x56d02f:0x13d,_0x2d025a:0x31b,_0x22c310:0x181,_0x593021:0x54f,_0x4a21c3:0x485,_0x260b2f:0x365,_0x194119:0x3fb,_0xff9717:0x307,_0x292114:0x74a,_0x2258e1:0x30f,_0x385a7b:0x186,_0x2dd1a9:0x18d,_0x29db94:0x1ba,_0x789dde:0x247,_0xb90119:0x4d7,_0x2e0efb:0x462,_0x224919:0x3d4,_0x256f86:0x367,_0xf3cf91:0x45b,_0x3ba8cf:0x2f6,_0x40c21b:0x553,_0x5039d7:0x2e0,_0x30b912:0x276,_0x3c58ef:0x604,_0x5afcf6:0x543,_0x560789:0x3e9,_0xdbe6d8:0x28f,_0x462e8b:0x206,_0x1bbe8d:0x342,_0xda5685:0x480,_0x33dcc9:0x175,_0x13c1b3:0x4f3,_0x47cb95:0x21a,_0xe0524:0x56d,_0x52c33a:0x23b,_0x139abd:0x1c2,_0x23808e:0x338,_0x2125b4:0x55d,_0x336247:0x20f,_0x312606:0x20f,_0xb0f34e:0x18a,_0xc34ea:0x428,_0x52fbbf:0x189,_0x34ac71:0x597,_0x712bbf:0x64b,_0x279b1f:0x2e5,_0x5eb76f:0x4a3,_0x45772d:0x39,_0x497537:0x26d,_0x336fc3:0x33e,_0x2f221c:0x275,_0x17fe32:0x5d2,_0x41905b:0x3c8,_0x40f07d:0x331,_0x38d6b9:0x193,_0x5b5c82:0x44e,_0x217e9b:0x62,_0x2ae8d4:0x3e1,_0x2cb598:0x51d,_0x176e9a:0x190,_0x205222:0x4f7,_0x21e16d:0x3aa,_0x4f9793:0x4c4,_0x4edec1:0x26c,_0x5da919:0x1b4,_0x44a660:0x462,_0x4e2717:0x25c},_0x176968={_0x33aa56:0x749,_0x5a13bd:0x8b0,_0xfc8f53:0x372,_0x466d40:0x66c,_0x40c7bc:0x814,_0x1eeaba:0x7e},_0xad1212={_0xd536e3:0x22b},_0x15d8ca={_0x104afd:0x283,_0x3c6d8f:0x51b,_0x2132e6:0x336,_0x3a6ee6:0x64a,_0x55fa44:0x4bb,_0x405e11:0x28a},_0x5570ad={_0x458221:0x66d,_0x102074:0x716,_0x5a6392:0x5f0,_0x129a4d:0x7fd,_0xf02c4d:0x855,_0x11cff1:0x4c5,_0x4e3364:0x6a9,_0x20f565:0x2d7,_0x3cd002:0x752,_0x1c7521:0x825,_0x33ea87:0x6c1,_0x3bff53:0x2f1,_0x40813a:0x4bb,_0x179ef9:0x831,_0x1bb383:0x5ec,_0x5042d2:0x43a,_0x58646b:0x706,_0x4562f6:0x61e,_0x2ca56b:0x518,_0x5e2592:0x611,_0x2bd788:0x4df,_0x2c82b6:0x6a6,_0x37cfd1:0x7f8,_0x58e831:0x7d9},_0x1ba0ef={_0x4edc8d:0xca},_0x2c6833={_0x1ed2ca:0x85d},_0x2d9514={_0x308d79:0x13},_0x4e0c81={'CuKin':_0x468f81(_0x19a62e._0x1bbf60,_0x19a62e._0x4ccb37),'EwYsE':function(_0x5dd4c1,_0x2de0b5){return _0x5dd4c1(_0x2de0b5);},'ZJqhI':_0x276253(0x615,_0x19a62e._0x5ef4c9),'urzHu':function(_0x7c43d,_0x18cd5b,_0x262a2c){return _0x7c43d(_0x18cd5b,_0x262a2c);},'MULjI':function(_0x4a81a0,_0x260c98){return _0x4a81a0 in _0x260c98;},'dexhu':'clawket-'+'local-pa'+'ir','NHmwx':function(_0x530d38,_0x1617ef,_0x4d2cbe){return _0x530d38(_0x1617ef,_0x4d2cbe);},'RsrSm':function(_0x137aaf){return _0x137aaf();},'jjJkn':function(_0x39a19f,_0x315e4f){return _0x39a19f in _0x315e4f;},'rQyFe':_0x468f81(0x19f,_0x19a62e._0x5ba3c0),'otAuB':_0x468f81(_0x19a62e._0x440854,_0x19a62e._0x4e839b)+_0x468f81(_0x19a62e._0x49bc2e,0x3f5)+_0x468f81(_0x19a62e._0xd773a4,0x346)+_0x468f81(0x20e,0x389),'LYSDu':function(_0x1f334e){return _0x1f334e();},'lAtZt':function(_0x594239,_0x2aed93,_0x394cc9){return _0x594239(_0x2aed93,_0x394cc9);},'eLejV':function(_0x3215e8,_0xea2399){return _0x3215e8===_0xea2399;},'wiXeT':function(_0x44b6ce,_0xad3970,_0x374752,_0x3685f6,_0x58cde5){return _0x44b6ce(_0xad3970,_0x374752,_0x3685f6,_0x58cde5);},'NzVSH':function(_0x5ac861,_0x520586){return _0x5ac861(_0x520586);},'HHZac':function(_0x5c4cd6,_0x335370){return _0x5c4cd6===_0x335370;},'IhWXp':_0x276253(0x2db,0x2f8),'ircBp':function(_0x3da46d,_0x3ccfef,_0x1af826){return _0x3da46d(_0x3ccfef,_0x1af826);},'rUdZt':function(_0x1ecc5f,_0x314efb){return _0x1ecc5f(_0x314efb);},'ZpxLi':function(_0x469279,_0x143191,_0x2e8d84){return _0x469279(_0x143191,_0x2e8d84);},'ACxax':function(_0x2f2057,_0x2fb81d){return _0x2f2057(_0x2fb81d);},'MBqEu':function(_0x5566ef){return _0x5566ef();},'nKhjG':function(_0x3c5add,_0x30e94c,_0x4c8db9){return _0x3c5add(_0x30e94c,_0x4c8db9);},'Ltwvk':_0x276253(0x63e,0x4f4)},[,,_0x311c82=_0x468f81(_0x19a62e._0x2b648e,0x612),..._0x53ee04]=process[_0x276253(0x3de,_0x19a62e._0x1accc7)],_0x3a5270=hasFlag(_0x53ee04,'--servic'+'e'),_0x5c7b62=hasFlag(_0x53ee04,_0x276253(_0x19a62e._0x493870,_0x19a62e._0x20631c));if(_0x311c82===_0x468f81(_0x19a62e._0x3c97ce,0x69)){const _0x4083fd=readPairSubcommand(_0x53ee04),_0x48619d=_0x4083fd===_0x276253(0x22d,0x43c)||_0x4e0c81[_0x468f81(0x36e,_0x19a62e._0x41efca)](hasFlag,_0x53ee04,_0x468f81(_0x19a62e._0x21838a,_0x19a62e._0x4c7166));if(_0x48619d){const _0x1cac0e=resolveGatewayAuth();if(_0x4e0c81[_0x276253(0x372,0x18c)](_0x276253(0x33,_0x19a62e._0x17205b),_0x1cac0e))throw new Error(_0x1cac0e[_0x276253(_0x19a62e._0x5ea1eb,_0x19a62e._0x17205b)]);const _0x1b4c29=readFlag(_0x53ee04,'--qr-fil'+'e'),_0x3070ac=buildLocalPairingInfo({'explicitUrl':readFlag(_0x53ee04,'--url'),'gatewayToken':_0x1cac0e[_0x468f81(_0x19a62e._0x332f51,_0x19a62e._0x308187)],'gatewayPassword':_0x1cac0e[_0x276253(0x271,_0x19a62e._0x2ef7c4)]}),_0x47bed1=await writeRawQrPng(_0x3070ac[_0x468f81(0x2b0,0x488)+'d'],_0x4e0c81['dexhu'],_0x1b4c29);if(_0x5c7b62){const _0x1da0b3={};_0x1da0b3[_0x468f81(0x1e3,_0x19a62e._0x1a9d43)+'rl']=_0x3070ac['gatewayU'+'rl'],_0x1da0b3[_0x468f81(0x40c,_0x19a62e._0x154c1f)]=_0x3070ac[_0x276253(0x2fb,_0x19a62e._0x3b1e9b)],_0x1da0b3[_0x468f81(_0x19a62e._0x15726b,0x283)+'t']=_0x3070ac[_0x468f81(0x17b,_0x19a62e._0x15274d)+'t'],_0x1da0b3[_0x276253(0x51e,_0x19a62e._0x1d8c9d)+'ath']=_0x47bed1,_0x1da0b3[_0x468f81(_0x19a62e._0x4849da,_0x19a62e._0x5c959b)]=_0x276253(0x12a,0x1cd)+_0x276253(_0x19a62e._0x3ec8fc,_0x19a62e._0x2add96)+_0x276253(0x6c5,0x55a)+'y\x20pairin'+'g\x20QR.',printJson(buildLocalPairingJson(_0x1da0b3));}else printLocalPairingInfo(_0x3070ac[_0x276253(0x28e,0x249)+'rl'],_0x3070ac[_0x468f81(_0x19a62e._0x5f3458,0x52a)],_0x3070ac[_0x276253(-_0x19a62e._0x4d2b51,_0x19a62e._0xf5ab26)+'t'],_0x3070ac[_0x468f81(_0x19a62e._0x303250,0x224)+'d'],_0x47bed1,_0x4e0c81[_0x276253(0x289,_0x19a62e._0x301925)](readFlag,_0x53ee04,_0x276253(_0x19a62e._0x4ccd3f,0x369)));return;}const _0x5a7d4c=_0x4e0c81['NHmwx'](hasFlag,_0x53ee04,_0x468f81(_0x19a62e._0x22a165,0x47e));!_0x5a7d4c&&await ensurePairPrerequisites();const _0x673f8d=_0x4e0c81['RsrSm'](resolveGatewayAuth);if(_0x4e0c81['jjJkn'](_0x4e0c81['rQyFe'],_0x673f8d))throw new Error(_0x673f8d[_0x276253(0x32,_0x19a62e._0x17205b)]);const _0xbd3e3b=readFlag(_0x53ee04,_0x276253(_0x19a62e._0x426598,_0x19a62e._0x31bb0c))??_0x4e0c81['NHmwx'](readFlag,_0x53ee04,'-s')??_0x4e0c81['otAuB'],_0x202b73=readFlag(_0x53ee04,_0x276253(_0x19a62e._0x3e3d13,_0x19a62e._0x1e405b))??readFlag(_0x53ee04,'-n')??getDefaultBridgeDisplayName(),_0x2a0654=readFlag(_0x53ee04,_0x276253(_0x19a62e._0x55e88f,0x29f)+'e'),_0x19b701={};_0x19b701['serverUr'+'l']=_0xbd3e3b,_0x19b701[_0x276253(_0x19a62e._0x358bf4,_0x19a62e._0x1b8397)+_0x276253(0x309,_0x19a62e._0x51ce40)]=_0x202b73,_0x19b701[_0x468f81(0x295,0x376)+_0x276253(0x470,_0x19a62e._0x18bbb9)]=_0x673f8d[_0x468f81(_0x19a62e._0x364e9c,0x519)],_0x19b701[_0x276253(0x397,_0x19a62e._0x383638)+_0x468f81(_0x19a62e._0x976b9a,0x55)]=_0x673f8d[_0x276253(_0x19a62e._0x316aa5,_0x19a62e._0x2ef7c4)];const _0x2b6ae4=await _0x4e0c81[_0x276253(_0x19a62e._0x4e89c4,_0x19a62e._0x5a2837)](pairGateway,_0x19b701),_0x320531=await _0x4e0c81[_0x468f81(0x148,_0x19a62e._0x395973)](writePairingQrPng,_0x2b6ae4,_0x2a0654),_0x5f226c=_0x4e0c81['LYSDu'](getServiceStatus),_0x33bd92=decidePairServiceAction(_0x2b6ae4,_0x5f226c);if(_0x33bd92===_0x276253(0x217,_0x19a62e._0x149a6b)){_0x5c7b62?printJson(buildPairingJson(_0x2b6ae4,_0x320531,_0x5f226c,'Backgrou'+_0x468f81(_0x19a62e._0x10b15b,_0x19a62e._0x1b16a4)+_0x276253(0x345,0x49a)+'dy\x20runni'+_0x276253(0x2f8,0x539)+_0x468f81(_0x19a62e._0x39bfbd,_0x19a62e._0x4d6fc9)+'ed.')):(_0x4e0c81[_0x468f81(0x19d,-_0x19a62e._0x30a78d)](printPairingInfo,_0x2b6ae4,_0x320531),console['log'](_0x468f81(_0x19a62e._0x2bfc4d,_0x19a62e._0x4df754)+'nd\x20servi'+_0x276253(0x507,0x49a)+_0x468f81(_0x19a62e._0x107196,_0x19a62e._0x3c38ba)+_0x276253(_0x19a62e._0x5a7fdf,_0x19a62e._0x59bdde)+'\x20unchang'+_0x276253(0x3a8,0x25a)),printServiceResult(null,_0x5f226c));return;}try{const _0x57de99=_0x33bd92==='install'?installService():_0x4e0c81[_0x468f81(0x463,_0x19a62e._0x4595ac)](restartService),_0x18fe82=_0x33bd92==='install'?_0x468f81(_0x19a62e._0x2c398a,0x202)+_0x468f81(0x211,_0x19a62e._0x556514)+_0x276253(0x356,_0x19a62e._0x5b37b3)+_0x468f81(_0x19a62e._0x2bd0fa,0xe4)+'e.':_0x4e0c81['eLejV'](_0x2b6ae4[_0x468f81(0x278,_0x19a62e._0x2954b1)],_0x276253(_0x19a62e._0x2ad0db,0x418)+'ed')?_0x276253(_0x19a62e._0x5ce4be,_0x19a62e._0x413c92)+'dentity\x20'+_0x276253(_0x19a62e._0x40bb13,0x5d7)+'\x20Restart'+_0x276253(_0x19a62e._0x316aa5,0x3fc)+_0x276253(0x77e,0x5d5)+_0x468f81(_0x19a62e._0x230118,0x651)+'\x20load\x20th'+'e\x20new\x20pa'+_0x276253(0x34d,_0x19a62e._0x109e39):'Backgrou'+'nd\x20servi'+_0x468f81(_0x19a62e._0x275975,0x22d)+_0x468f81(_0x19a62e._0x2f01ae,0x320)+_0x276253(_0x19a62e._0x379582,0x452)+_0x276253(_0x19a62e._0x118422,_0x19a62e._0x72a53b)+_0x468f81(0x291,0x1f5)+_0x468f81(_0x19a62e._0x46c0dc,_0x19a62e._0x17773a);_0x5c7b62?printJson(_0x4e0c81[_0x276253(0x418,_0x19a62e._0x1b33b4)](buildPairingJson,_0x2b6ae4,_0x320531,_0x57de99,_0x18fe82)):(printPairingInfo(_0x2b6ae4,_0x320531),_0x4e0c81[_0x468f81(_0x19a62e._0x547f89,0xe5)](printServiceResult,_0x18fe82,_0x57de99));}catch(_0x1adf19){console[_0x468f81(_0x19a62e._0x4a7e0a,-0x1)](_0x276253(0x31f,0x382)+_0x468f81(_0x19a62e._0x159e17,_0x19a62e._0x41d722)+'d,\x20but\x20s'+_0x468f81(0x55c,_0x19a62e._0x495a16)+'ctivatio'+_0x276253(_0x19a62e._0x84cfb0,_0x19a62e._0x31821c)+':\x20'+formatError(_0x1adf19)),console[_0x468f81(_0x19a62e._0x4a7e0a,_0x19a62e._0xd594a9)](_0x276253(0x4cf,0x490)+_0x276253(_0x19a62e._0x320fc5,0x4e0)+_0x276253(_0x19a62e._0x30a69e,0x5b2)+'et\x20insta'+'ll\x22\x20or\x20\x22'+_0x276253(0x4e0,0x3b9)+_0x276253(0x9,0x1a9)+_0x468f81(_0x19a62e._0x213207,_0x19a62e._0x3e2dbb)),process[_0x468f81(0x588,0x409)]=0x1;}return;}if(_0x311c82==='refresh-'+'code'){const _0x2f918a=readFlag(_0x53ee04,_0x276253(0x1dc,_0x19a62e._0x592404)+'e'),_0x5bc22b=resolveGatewayAuth();if(_0x468f81(0x19f,-0x46)in _0x5bc22b)throw new Error(_0x5bc22b['error']);const _0x5ce2de={};_0x5ce2de[_0x276253(_0x19a62e._0xe2bd70,0x2fb)+_0x276253(0x437,0x5a8)]=_0x5bc22b['token'],_0x5ce2de['gatewayP'+'assword']=_0x5bc22b[_0x276253(_0x19a62e._0x1222f1,0x35d)];const _0x9948c1=await refreshAccessCode(_0x5ce2de),_0x54d0e3=await writePairingQrPng(_0x9948c1,_0x2f918a);_0x5c7b62?_0x4e0c81[_0x276253(0x31b,0x2f3)](printJson,buildPairingJson(_0x9948c1,_0x54d0e3,getServiceStatus(),_0x468f81(_0x19a62e._0x127e24,0x549)+_0x276253(0x3e5,0x46f)+_0x276253(_0x19a62e._0x230f05,_0x19a62e._0x3d9189))):printPairingInfo(_0x9948c1,_0x54d0e3);return;}if(_0x4e0c81[_0x468f81(_0x19a62e._0x56d02f,_0x19a62e._0x2d025a)](_0x311c82,_0x276253(_0x19a62e._0x22c310,0x1e0))||_0x311c82===_0x468f81(_0x19a62e._0x593021,0x380)){const _0x94a45e=requirePairingConfig(),_0x157539=installService();console['log'](_0x276253(_0x19a62e._0x4a21c3,0x3ac)+_0x468f81(0x1e1,0x196)+_0x276253(0x651,0x4d7)+_0x276253(_0x19a62e._0x260b2f,0x39f)+_0x468f81(_0x19a62e._0x194119,_0x19a62e._0xff9717)+'\x20'+_0x94a45e[_0x468f81(0x3fc,0x25c)+'d']+'.'),printServiceResult(null,_0x157539);return;}if(_0x4e0c81[_0x276253(_0x19a62e._0x292114,0x516)](_0x311c82,_0x4e0c81[_0x276253(0x187,_0x19a62e._0x2258e1)])){const _0x1a097a=requirePairingConfig(),_0x3344fe=restartService();console[_0x468f81(0x20f,0x1bc)](_0x468f81(_0x19a62e._0x385a7b,_0x19a62e._0x2dd1a9)+_0x276253(_0x19a62e._0x29db94,_0x19a62e._0x789dde)+_0x276253(0x6da,_0x19a62e._0xb90119)+'vice\x20for'+'\x20gateway'+'\x20'+_0x1a097a[_0x276253(0x41f,_0x19a62e._0x2e0efb)+'d']+'.'),_0x4e0c81[_0x276253(0x3f8,_0x19a62e._0x224919)](printServiceResult,null,_0x3344fe);return;}if(_0x311c82===_0x276253(_0x19a62e._0x256f86,0x4a7)){const _0x4364c4=_0x4e0c81[_0x276253(_0x19a62e._0xf3cf91,0x4c9)](stopService);console[_0x468f81(0x20f,_0x19a62e._0x3ba8cf)](_0x276253(0x179,0x354)+'backgrou'+_0x468f81(0x533,0x4de)+_0x276253(0x257,0x20c)),_0x4e0c81[_0x276253(_0x19a62e._0x40c21b,_0x19a62e._0x224919)](printServiceResult,null,_0x4364c4);return;}if(_0x311c82==='uninstal'+'l'){const _0x157de9=uninstallService();console[_0x276253(0x1c7,0x275)](_0x468f81(0x1f5,0x3a0)+_0x276253(_0x19a62e._0x5039d7,_0x19a62e._0x30b912)+_0x468f81(0x533,0x636)+_0x468f81(0x523,_0x19a62e._0x3c58ef)+_0x468f81(0x545,0x4d0)),_0x4e0c81[_0x276253(0x3d3,0x2a3)](printServiceResult,null,_0x157de9);return;}if(_0x311c82===_0x276253(_0x19a62e._0x5afcf6,0x3f3)){stopService(),_0x4e0c81[_0x468f81(0x1b1,0x343)](deletePairingConfig),console[_0x276253(0x31b,0x275)](_0x276253(_0x19a62e._0x560789,_0x19a62e._0xdbe6d8)+_0x468f81(0x180,_0x19a62e._0x462e8b)+_0x468f81(0x550,0x3fe)+getPairingConfigPath());return;}if(_0x311c82===_0x468f81(0x424,0x47c)){printStatus();return;}function _0x276253(_0x190279,_0x2cfa0d){return _0x3a7f13(_0x190279,_0x2cfa0d- -_0x2d9514._0x308d79);}if(_0x4e0c81[_0x276253(_0x19a62e._0x39bfbd,0x1a3)](_0x311c82,'logs')){const _0x14a761=Number(readFlag(_0x53ee04,_0x468f81(0x15c,_0x19a62e._0x1bbe8d))??_0x468f81(_0x19a62e._0xda5685,0x446)),_0x520e2d=_0x4e0c81[_0x276253(_0x19a62e._0x33dcc9,0x272)](parseLookbackToMs,_0x4e0c81[_0x468f81(0x19d,0x3c9)](readFlag,_0x53ee04,_0x276253(_0x19a62e._0x13c1b3,0x548))??_0x4e0c81[_0x276253(_0x19a62e._0x47cb95,0x2b1)](readFlag,_0x53ee04,'-l')),_0x479e1c=_0x4e0c81[_0x468f81(_0x19a62e._0xe0524,0x458)](readRecentCliLogs,{'lines':_0x14a761,'lastMs':_0x520e2d,'includeErrorLog':hasFlag(_0x53ee04,_0x468f81(_0x19a62e._0x52c33a,_0x19a62e._0x139abd))});if(_0x5c7b62){const _0x1bb1af={};_0x1bb1af['ok']=!![],_0x1bb1af[_0x276253(0x7dc,0x5f7)]=_0x479e1c,printJson(_0x1bb1af);}else _0x479e1c[_0x468f81(_0x19a62e._0x23808e,0x4cd)]===0x0?console['log'](_0x468f81(_0x19a62e._0x2125b4,0x5b4)+_0x276253(0x760,0x5ef)+_0x276253(0x5da,0x57b)+_0x276253(0x332,_0x19a62e._0x336247)):console[_0x468f81(_0x19a62e._0x312606,_0x19a62e._0xb0f34e)](_0x479e1c['join']('\x0a'));return;}if(_0x311c82===_0x276253(0x11b,0x305)){const _0x7f3161=await _0x4e0c81[_0x276253(0x2c4,_0x19a62e._0xc34ea)](buildDoctorReport);_0x5c7b62?printJson(_0x7f3161):printDoctorReport(_0x7f3161);return;}if(_0x4e0c81['HHZac'](_0x311c82,_0x276253(_0x19a62e._0x52fbbf,0x192))){const _0x9bf94e=requirePairingConfig(),_0x5cb57b=resolveGatewayUrl(readFlag(_0x53ee04,_0x276253(0x3ce,0x528)+_0x468f81(_0x19a62e._0x34ac71,_0x19a62e._0x712bbf))??_0x4e0c81[_0x468f81(0x376,_0x19a62e._0x279b1f)](readFlag,_0x53ee04,'-g')),_0x312bfd=_0x3d6aaa=>{function _0x2dc090(_0x3f69a0,_0x23664f){return _0x468f81(_0x23664f-0x2e9,_0x3f69a0);}console['log']('['+Date[_0x2dc090(_0x2c6833._0x1ed2ca,0x860)]()+']\x20'+_0x3d6aaa);};!_0x3a5270?(console['log'](_0x276253(0x23f,0x1b4)+'ID:\x20'+_0x9bf94e['gatewayI'+'d']),console['log'](_0x276253(0x50a,_0x19a62e._0x5eb76f)+'\x20ID:\x20'+_0x9bf94e[_0x276253(0x434,0x5e8)+'Id']),console[_0x468f81(0x20f,_0x19a62e._0x45772d)](_0x276253(0x3c4,0x1b4)+_0x468f81(_0x19a62e._0x497537,_0x19a62e._0x336fc3)+_0x5cb57b),console[_0x276253(0x158,_0x19a62e._0x2f221c)](''),console['log'](_0x276253(0x819,_0x19a62e._0x17fe32)+_0x276253(_0x19a62e._0x41905b,0x1a1)+'runtime.'+_0x468f81(0x2c3,_0x19a62e._0x40f07d)+_0x276253(0x1e,_0x19a62e._0x38d6b9)+_0x468f81(_0x19a62e._0x5b5c82,0x2d0)),console[_0x276253(_0x19a62e._0x217e9b,0x275)]('')):_0x4e0c81[_0x468f81(_0x19a62e._0xe0524,_0x19a62e._0x2ae8d4)](_0x312bfd,_0x276253(_0x19a62e._0x2cb598,0x5d2)+_0x468f81(_0x19a62e._0x176e9a,0x45)+'\x20service'+_0x276253(_0x19a62e._0x205222,0x50b)+_0x468f81(_0x19a62e._0x21e16d,_0x19a62e._0x4f9793)+_0x468f81(_0x19a62e._0x4edec1,_0x19a62e._0x5da919)+_0x9bf94e[_0x276253(0x294,_0x19a62e._0x44a660)+'d']);_0x3a5270&&writeServiceState();const _0x15bb0e=new BridgeRuntime({'config':_0x9bf94e,'gatewayUrl':_0x5cb57b,'onLog':_0x2d24dc=>{function _0x34ed33(_0x1cf949,_0xb6fd98){return _0x276253(_0xb6fd98,_0x1cf949- -0x73);}_0x312bfd(_0x34ed33(0x31a,0x45b)+']\x20'+_0x2d24dc);},'onStatus':_0x6061bb=>{function _0x4f1023(_0x4d5b20,_0x259ed4){return _0x468f81(_0x259ed4-0x30b,_0x4d5b20);}function _0x5f2004(_0x47fd6d,_0xcbe9b1){return _0x468f81(_0x47fd6d-_0x1ba0ef._0x4edc8d,_0xcbe9b1);}if(_0x6061bb[_0x4f1023(_0x5570ad._0x458221,_0x5570ad._0x102074)+'r']){_0x312bfd(_0x5f2004(_0x5570ad._0x5a6392,_0x5570ad._0x129a4d)+'\x20relay='+(_0x6061bb[_0x4f1023(0x693,0x82d)+_0x4f1023(0x6a8,_0x5570ad._0xf02c4d)]?'up':_0x4e0c81[_0x5f2004(0x2e0,0x3bb)])+(_0x5f2004(_0x5570ad._0x11cff1,_0x5570ad._0x4e3364)+'=')+(_0x6061bb[_0x5f2004(_0x5570ad._0x20f565,0x12f)+_0x5f2004(0x29e,0x244)]?'up':'down')+(_0x4f1023(_0x5570ad._0x3cd002,0x6a6)+'=')+_0x6061bb[_0x4f1023(0x6d1,_0x5570ad._0x1c7521)+_0x4f1023(0x5c1,_0x5570ad._0x33ea87)]+_0x5f2004(0x363,_0x5570ad._0x3bff53)+_0x6061bb[_0x4f1023(0x8f8,_0x5570ad._0x102074)+'r']);return;}_0x4e0c81[_0x5f2004(_0x5570ad._0x40813a,0x2a2)](_0x312bfd,_0x4f1023(0x861,_0x5570ad._0x179ef9)+_0x4f1023(0x800,0x853)+(_0x6061bb[_0x5f2004(_0x5570ad._0x1bb383,_0x5570ad._0x5042d2)+_0x4f1023(0x8c8,_0x5570ad._0xf02c4d)]?'up':_0x5f2004(0x1d2,0x2c3))+(_0x4f1023(0x509,_0x5570ad._0x58646b)+'=')+(_0x6061bb[_0x4f1023(_0x5570ad._0x4562f6,_0x5570ad._0x2ca56b)+_0x4f1023(_0x5570ad._0x5e2592,_0x5570ad._0x2bd788)]?'up':_0x4e0c81[_0x5f2004(0x2e0,0x408)])+(_0x4f1023(0x6c2,_0x5570ad._0x2c82b6)+'=')+_0x6061bb[_0x5f2004(0x5e4,_0x5570ad._0x37cfd1)+_0x4f1023(_0x5570ad._0x58e831,_0x5570ad._0x33ea87)]);},'onPendingPairRequest':_0x50487e=>{const _0x4d3470={_0xdc7b48:0x2fb};function _0x49ab27(_0x4cfda9,_0x4742e1){return _0x468f81(_0x4cfda9-0xd,_0x4742e1);}function _0x4ffbdf(_0x2e4dbe,_0x5b670b){return _0x468f81(_0x2e4dbe-_0x4d3470._0xdc7b48,_0x5b670b);}_0x312bfd('[pair-re'+'quest]\x20r'+'equestId'+'='+_0x50487e[_0x4ffbdf(0x77e,0x6b6)+'d']+('\x20deviceI'+'d=')+(_0x50487e['deviceId']||_0x4ffbdf(0x4bb,_0x15d8ca._0x104afd)+'>')+_0x49ab27(_0x15d8ca._0x3c6d8f,_0x15d8ca._0x2132e6)+(_0x50487e['displayN'+_0x49ab27(0x4fb,_0x15d8ca._0x3a6ee6)]??_0x4ffbdf(_0x15d8ca._0x55fa44,_0x15d8ca._0x405e11)+'>'));}});_0x15bb0e[_0x468f81(_0x19a62e._0x593021,0x688)]();const _0x38cbe3=async()=>{process[_0x51e330(_0x176968._0x33aa56,_0x176968._0x5a13bd)](_0x51e330(0x6b9,0x8ac),_0x38cbe3),process['off'](_0x4e0c81[_0x51e330(0x4c2,_0x176968._0xfc8f53)],_0x38cbe3);function _0xe0703d(_0x186605,_0x1dbfcd){return _0x468f81(_0x186605- -0x324,_0x1dbfcd);}await _0x15bb0e[_0x51e330(_0x176968._0x466d40,_0x176968._0x40c7bc)]();function _0x51e330(_0x204633,_0x1c0ffb){return _0x468f81(_0x204633-_0xad1212._0xd536e3,_0x1c0ffb);}_0x3a5270&&clearServiceState(process[_0xe0703d(-_0x176968._0x1eeaba,-0xe1)]),process['exit'](0x0);};process['on'](_0x4e0c81[_0x276253(0x1e7,_0x19a62e._0x4e2717)],_0x38cbe3),process['on'](_0x4e0c81[_0x276253(0x4bf,0x2fd)],_0x38cbe3),await new Promise(()=>{});}function _0x468f81(_0x518bb1,_0x2e18c3){return _0x3a7f13(_0x2e18c3,_0x518bb1- -0x79);}printHelp();}function printPairingInfo(_0x481627,_0x503ba5){const _0x378275={_0x3852bc:0x89c,_0x4389ef:0x66b,_0x1a0cfa:0xee,_0xf06f10:0x8a,_0x327846:0xd9,_0x2acea:0x7d3,_0x38fc8c:0x6d9,_0x327380:0x534,_0x1c639f:0x23,_0x3133cb:0x7e2,_0x3f2b45:0x9fe,_0x1492e5:0x5f5,_0x4d1652:0x16c,_0x344192:0x9e,_0x241f18:0x8b6,_0x2811db:0x164,_0x5e1b77:0xca,_0x592c06:0x156,_0x198c6a:0x51d,_0x2576c9:0x4cf,_0x53cdd2:0xbb,_0x391ce4:0x2ef,_0x177ef6:0x316,_0x166613:0x7f,_0x21697a:0x21d,_0x26c1d8:0x39c},_0x24a475={_0x11621d:0x72d},_0x3ab1a0={_0x780d7b:0xb9},_0x493b66={'VGIPF':_0x540bb7(0xe3,0x107)+'lready\x20p'+_0x540bb7(0x218,0x321)+_0x5a58dc(_0x378275._0x3852bc,_0x378275._0x4389ef)+_0x540bb7(0x26e,0x439)+'ring\x20cod'+'e.','SqvZx':function(_0x2d423c,_0x3dd053){return _0x2d423c(_0x3dd053);}};_0x481627[_0x540bb7(-0x16,-_0x378275._0x1a0cfa)]===_0x540bb7(_0x378275._0xf06f10,_0x378275._0x327846)+'d'&&console[_0x540bb7(-0x7f,0x1e)](_0x493b66[_0x5a58dc(0x787,_0x378275._0x2acea)]);console[_0x5a58dc(0x5f5,_0x378275._0x38fc8c)](_0x5a58dc(_0x378275._0x327380,0x3fc)+'ID:\x20'+_0x481627[_0x540bb7(_0x378275._0x1c639f,-0x75)][_0x5a58dc(_0x378275._0x3133cb,_0x378275._0x3f2b45)+'d']),console[_0x5a58dc(_0x378275._0x1492e5,0x67c)](_0x540bb7(_0x378275._0x4d1652,-_0x378275._0x344192)+_0x540bb7(-0xcd,-0x30d)+_0x5a58dc(0x903,_0x378275._0x241f18)+_0x540bb7(0x90,-_0x378275._0x2811db)+'t\x20app:\x0a');const _0x4bf770={};_0x4bf770[_0x540bb7(-0xe2,-_0x378275._0x5e1b77)]=!![];function _0x5a58dc(_0x5c614a,_0x4ad84d){return _0x32d8ea(_0x4ad84d,_0x5c614a- -_0x3ab1a0._0x780d7b);}_0x5b54b5[_0x540bb7(0x39,_0x378275._0x592c06)](_0x481627[_0x540bb7(0x22,-0x1d3)+'d'],_0x4bf770),console[_0x5a58dc(_0x378275._0x1492e5,_0x378275._0x198c6a)](_0x540bb7(0x2f5,_0x378275._0x2576c9)+'\x20'+_0x493b66[_0x540bb7(0x49,_0x378275._0x53cdd2)](formatLocalTime,_0x481627[_0x540bb7(0x1d,-0x1b6)+_0x540bb7(_0x378275._0x391ce4,_0x378275._0x177ef6)+'sAt']));function _0x540bb7(_0x223d1a,_0x447c6b){return _0x32d8ea(_0x447c6b,_0x223d1a- -_0x24a475._0x11621d);}console[_0x540bb7(-_0x378275._0x166613,-_0x378275._0x21697a)](_0x5a58dc(0x55c,_0x378275._0x26c1d8)+':\x20'+_0x503ba5);}function printLocalPairingInfo(_0x2edf63,_0x1aeaf3,_0x59bc6d,_0x104fe8,_0x1de7c5,_0x4581b4){const _0x6481dc={_0x450372:0x57a,_0x552df8:0x6fc,_0x1d2e32:0x7fe,_0x35c297:0x917,_0x1f9a3d:0x62e,_0x28ac97:0x5a3,_0x1abe07:0x4e0,_0x1d6f9d:0x2c8,_0x1bde23:0x50a,_0x4ee3cb:0x5db,_0x1481b0:0x706,_0x2faf6f:0x3f9,_0x91bdf2:0x4a8,_0x477426:0x713,_0x496966:0x603,_0x1b32c0:0x56e,_0xef19df:0x689,_0x1a7c45:0x664,_0x216a67:0x470,_0x4f6230:0x5d0,_0x195f4e:0x5c2,_0x5c0cbe:0x56f,_0x56bdc4:0x36b,_0xc62ed2:0x615,_0xb660b9:0x487,_0x530500:0x7e1,_0x102d75:0x78c},_0x1e9e1d={_0x4876df:0x285},_0x270255=(_0x5923dd(0x3ff,_0x6481dc._0x450372)+_0x5923dd(_0x6481dc._0x552df8,0x64a))['split']('|');function _0x5923dd(_0x3013d4,_0x37210e){return _0x32d8ea(_0x3013d4,_0x37210e- -0x10b);}function _0x1ebb60(_0x544610,_0x411b78){return _0x32d8ea(_0x411b78,_0x544610- -_0x1e9e1d._0x4876df);}let _0x2df215=0x0;while(!![]){switch(_0x270255[_0x2df215++]){case'0':console['log'](_0x5923dd(_0x6481dc._0x1d2e32,_0x6481dc._0x35c297)+'\x20'+new Date(_0x59bc6d)['toLocale'+_0x5923dd(0x823,0x887)]());continue;case'1':const _0x2a7ffb={};_0x2a7ffb['small']=!![],_0x5b54b5['generate'](_0x104fe8,_0x2a7ffb);continue;case'2':console[_0x5923dd(_0x6481dc._0x1f9a3d,_0x6481dc._0x28ac97)](_0x1ebb60(0x368,0x26f)+_0x5923dd(_0x6481dc._0x1abe07,0x601)+_0x2edf63);continue;case'3':console[_0x1ebb60(0x429,0x308)](_0x5923dd(_0x6481dc._0x1d6f9d,_0x6481dc._0x1bde23)+':\x20'+_0x1de7c5);continue;case'4':console['log'](_0x1ebb60(_0x6481dc._0x4ee3cb,_0x6481dc._0x1481b0)+_0x1ebb60(0x3bf,_0x6481dc._0x2faf6f)+_0x1aeaf3);continue;case'5':console[_0x1ebb60(0x429,_0x6481dc._0x91bdf2)](_0x4581b4?_0x5923dd(_0x6481dc._0x477426,0x78e)+_0x1ebb60(_0x6481dc._0x496966,_0x6481dc._0x1b32c0)+_0x1ebb60(_0x6481dc._0xef19df,_0x6481dc._0x1a7c45)+_0x5923dd(_0x6481dc._0x216a67,_0x6481dc._0x4f6230)+_0x5923dd(_0x6481dc._0x195f4e,0x512)+_0x1ebb60(_0x6481dc._0x5c0cbe,0x556)+'\x0a':_0x1ebb60(0x614,0x7a9)+_0x5923dd(_0x6481dc._0x56bdc4,0x534)+_0x1ebb60(_0x6481dc._0xc62ed2,_0x6481dc._0xb660b9)+'\x20QR\x20in\x20t'+_0x5923dd(0x9d3,_0x6481dc._0x530500)+_0x1ebb60(0x753,_0x6481dc._0x102d75));continue;}break;}}function printStatus(){const _0x1f6930={_0x1612c1:0x6f3,_0x4fcf9e:0x5c4,_0x16287b:0x39b,_0x2c6fcd:0x7ec,_0x591971:0x608,_0x1be6ef:0x8e4,_0x122296:0x20c,_0x488388:0x2c2,_0x51cddc:0x1f0,_0x44fc00:0x937,_0x1794c6:0x20c,_0x1bd193:0x217,_0x546f1f:0x591,_0x3607f7:0x404,_0x4537e8:0x66e,_0x3fb0b7:0x4eb,_0x264fc0:0x58c,_0xfdafaf:0x5cb,_0x6db325:0xf0,_0xcef3a6:0x447,_0x4d27a0:0x656,_0x2d6d38:0x1fe,_0x3cd1a0:0x878,_0x11688c:0x18f,_0x38aa4b:0x513,_0x4a9a6d:0x20c,_0x4a012c:0x7db,_0x496665:0x6c1,_0x41f3a8:0x70f,_0xfb6012:0x405,_0x360845:0x3ac,_0x56867a:0x4db,_0x334e43:0x500},_0x24dd5a={_0x5b1fda:0x4a2},_0xf802={_0x4937a5:0xea},_0x3f6bc1={'Vwwqn':function(_0x427e7f){return _0x427e7f();},'bhrsk':function(_0x3ec992){return _0x3ec992();}};function _0x20c2dc(_0x25f4be,_0x175b44){return _0x32d8ea(_0x175b44,_0x25f4be- -_0xf802._0x4937a5);}const _0x37e924=readPairingConfig(),_0x1ba7e3=getServiceStatus(),{logPath:_0x1d4d06,errorLogPath:_0x4dd5ec}=_0x3f6bc1['Vwwqn'](getServicePaths),_0x55669e=_0x3f6bc1['bhrsk'](readCliVersion);console['log'](_0x20c2dc(_0x1f6930._0x1612c1,0x59e)+'\x20'+_0x55669e);function _0x1da90e(_0x1e63b3,_0x306926){return _0x32d8ea(_0x306926,_0x1e63b3- -_0x24dd5a._0x5b1fda);}!_0x37e924?console[_0x1da90e(0x20c,0x93)]('Config:\x20'+_0x1da90e(0x428,0x3b6)+'ed\x20('+getPairingConfigPath()+')'):(console[_0x20c2dc(_0x1f6930._0x4fcf9e,0x409)]('Config:\x20'+_0x1da90e(0x181,_0x1f6930._0x16287b)),console[_0x20c2dc(0x5c4,_0x1f6930._0x2c6fcd)]('Gateway\x20'+_0x20c2dc(_0x1f6930._0x591971,0x42e)+_0x37e924[_0x20c2dc(0x7b1,_0x1f6930._0x1be6ef)+'d']),console[_0x1da90e(_0x1f6930._0x122296,_0x1f6930._0x488388)](_0x1da90e(0x43a,_0x1f6930._0x51cddc)+':\x20'+_0x37e924[_0x20c2dc(_0x1f6930._0x44fc00,0x7d6)+'Id']),console[_0x1da90e(_0x1f6930._0x1794c6,_0x1f6930._0x1bd193)](_0x20c2dc(0x746,_0x1f6930._0x546f1f)+_0x1da90e(0x124,0x8d)+_0x37e924['serverUr'+'l']),console[_0x1da90e(0x20c,0x8d)](_0x1da90e(0x45f,_0x1f6930._0x3607f7)+(_0x37e924[_0x20c2dc(_0x1f6930._0x4537e8,0x8b2)+_0x1da90e(_0x1f6930._0x3fb0b7,_0x1f6930._0x264fc0)]??'-'))),console['log'](_0x20c2dc(0x749,0x891)+'\x20'+resolveGatewayUrl()),console[_0x20c2dc(0x5c4,_0x1f6930._0xfdafaf)](_0x1da90e(0x37d,0x184)+'\x20'+(_0x1ba7e3['installe'+'d']?_0x1da90e(0x2bb,_0x1f6930._0x6db325)+'d':_0x1da90e(_0x1f6930._0xcef3a6,_0x1f6930._0x4d27a0)+_0x1da90e(0x196,_0x1f6930._0x2d6d38))+'\x20('+_0x1ba7e3[_0x20c2dc(0x651,_0x1f6930._0x3cd1a0)]+')'),console[_0x20c2dc(0x5c4,0x7bd)]('Running:'+'\x20'+(_0x1ba7e3[_0x1da90e(_0x1f6930._0x11688c,0x251)]?_0x20c2dc(_0x1f6930._0x38aa4b,0x50a):'no')),console[_0x1da90e(_0x1f6930._0x4a9a6d,0xd7)](_0x20c2dc(0x83b,_0x1f6930._0x4a012c)+(_0x1ba7e3[_0x20c2dc(_0x1f6930._0x496665,_0x1f6930._0x41f3a8)+_0x1da90e(0x1c6,_0x1f6930._0xfb6012)]||'-')),console['log']('Log:\x20'+_0x1d4d06),console[_0x20c2dc(_0x1f6930._0x4fcf9e,0x47e)](_0x1da90e(_0x1f6930._0x360845,_0x1f6930._0x56867a)+_0x20c2dc(_0x1f6930._0x334e43,0x62a)+_0x4dd5ec),!_0x37e924&&(process[_0x20c2dc(0x93d,0xa90)]=0x1);}function printServiceResult(_0x2e4b95,_0x45da0e){const _0x5b1365={_0x585cbf:0x174,_0x3d959a:0x5b4,_0x46dabd:0xba,_0x3e82b3:0x170,_0x44d6d7:0x24e,_0x43a584:0x2a8},_0x26b51d={_0x2ffbc4:0x57e},_0x51e3ab={};function _0xf8eea0(_0x4dd745,_0xbb4dd1){return _0x32d8ea(_0x4dd745,_0xbb4dd1- -0x541);}_0x51e3ab['yQsRU']=_0xf8eea0(0x10c,0x21c)+_0x1aeb68(0xfd,0x16b)+'ng';const _0x4dc7cd=_0x51e3ab;_0x2e4b95&&console['log'](_0x2e4b95);function _0x1aeb68(_0x506f77,_0x3a2f64){return _0x32d8ea(_0x3a2f64,_0x506f77- -_0x26b51d._0x2ffbc4);}console[_0x1aeb68(0x130,0x326)]('Service:'+'\x20'+(_0x45da0e[_0x1aeb68(0x1df,-0x31)+'d']?_0x45da0e[_0x1aeb68(0xb3,-_0x5b1365._0x585cbf)]?_0x4dc7cd['yQsRU']:'installe'+'d,\x20stopp'+'ed':_0xf8eea0(_0x5b1365._0x3d959a,0x3a8)+_0x1aeb68(_0x5b1365._0x46dabd,-_0x5b1365._0x3e82b3))),console['log'](_0xf8eea0(0xd7,_0x5b1365._0x44d6d7)+_0xf8eea0(_0x5b1365._0x43a584,0x208)+(_0x45da0e['serviceP'+_0xf8eea0(0xd3,0x127)]||'-'));}function printDoctorReport(_0x594a62){const _0x523d19={_0x217a04:0x615,_0xe81acb:0x471,_0x3762e7:0x4dd,_0x25b9cc:0x4ad,_0x2bde55:0x574,_0x521860:0x59b,_0x361490:0x260,_0x3da853:0x7cb,_0x535dcb:0x4c8,_0x39cafb:0x2f6,_0x20407f:0x4f2,_0x404bce:0x2c8,_0x3dea80:0x28d,_0x582c1b:0x3bd,_0x214253:0x531,_0x5718bf:0x40f,_0x314392:0x3fa,_0x426052:0x503,_0x451d46:0x471,_0x377a32:0x454,_0x4524c1:0x626,_0xd4ce1b:0x2d9,_0x4deb85:0x2e1,_0x49a568:0x435,_0xd4c92a:0x599,_0x2d620b:0x5c3,_0x24d845:0x2a3,_0x26fca2:0x34a,_0x495dbc:0x228,_0x252878:0x3d7,_0x223d3e:0x2c8,_0x266052:0x49a,_0x2602c3:0x4ff,_0x51069a:0x557,_0x1eca2a:0x240,_0x8e88ad:0x3ca,_0x2384df:0x2f2,_0x36bc8b:0x287,_0x85e94a:0x32a,_0x208199:0x254,_0x2c3be7:0x43d,_0x141b43:0x533,_0x184844:0x1d3,_0x89ac25:0x361,_0x21742f:0x2e1,_0x53a95e:0x551,_0x5f2eda:0x559,_0x3e4f0c:0x296,_0x43b3ba:0x36c,_0x5121e6:0x3e3,_0x9584c3:0x37a,_0x10ac92:0x4fd,_0x4c647b:0xca,_0x287278:0x1f9,_0x5258b8:0x262,_0x58e37a:0x2c2,_0x2a7991:0x4a9,_0x1a5bb9:0x341,_0x3be8e2:0x2e2,_0x5d677d:0x4dd,_0x4eef50:0x5a0,_0x1f0277:0x52f,_0x47543b:0x427,_0x46b7e8:0x50f,_0x5314a2:0x6df,_0x208052:0x496,_0x52e0aa:0x35c,_0x2782fa:0x538,_0x3ab92f:0x4bc,_0xbf1449:0x6c3,_0x2b31fe:0x230,_0x43b5ff:0x37c,_0x2e3ce1:0x3de},_0x1e8189={};_0x1e8189[_0x5339c0(_0x523d19._0x217a04,_0x523d19._0xe81acb)]=_0x5339c0(_0x523d19._0x3762e7,_0x523d19._0x25b9cc),_0x1e8189[_0x5339c0(_0x523d19._0x2bde55,_0x523d19._0x521860)]=_0x24e55c(0x34b,0x367),_0x1e8189['NvLWd']='yes',_0x1e8189[_0x5339c0(0x19e,_0x523d19._0x361490)]=_0x24e55c(_0x523d19._0x3da853,0x5a7)+_0x24e55c(_0x523d19._0x535dcb,_0x523d19._0x39cafb);const _0x839573=_0x1e8189;function _0x5339c0(_0xd0fbd9,_0x44ede9){return _0x3a7f13(_0xd0fbd9,_0x44ede9-0x59);}const _0x32077f=(_0x5339c0(0x22f,0x20c)+'12|11|1|'+'15|8|10|'+_0x24e55c(_0x523d19._0x20407f,0x3a0)+_0x5339c0(_0x523d19._0x404bce,_0x523d19._0x3dea80))['split']('|');let _0x5d7d0a=0x0;function _0x24e55c(_0x4d18bb,_0x44593c){return _0x3a7f13(_0x4d18bb,_0x44593c-0xe4);}while(!![]){switch(_0x32077f[_0x5d7d0a++]){case'0':console['log'](_0x5339c0(_0x523d19._0x582c1b,0x597)+_0x24e55c(_0x523d19._0x214253,0x604)+'\x20'+(_0x594a62[_0x5339c0(0x45d,_0x523d19._0x5718bf)+_0x24e55c(_0x523d19._0x314392,_0x523d19._0x426052)+_0x5339c0(0x587,0x4d2)]?_0x839573[_0x5339c0(0x55b,_0x523d19._0x451d46)]:_0x839573[_0x24e55c(_0x523d19._0x377a32,_0x523d19._0x4524c1)]));continue;case'1':console[_0x5339c0(_0x523d19._0xd4ce1b,_0x523d19._0x4deb85)](_0x24e55c(_0x523d19._0x49a568,0x44d)+_0x5339c0(_0x523d19._0xd4c92a,_0x523d19._0x2d620b)+'\x20'+(_0x594a62[_0x5339c0(_0x523d19._0x24d845,0x4b9)+_0x24e55c(_0x523d19._0x26fca2,0x54c)]?_0x839573[_0x24e55c(_0x523d19._0x495dbc,_0x523d19._0x252878)]:'no'));continue;case'2':console[_0x5339c0(0x333,_0x523d19._0x4deb85)]('Relay\x20UR'+_0x5339c0(0x1f9,0x415)+(_0x594a62[_0x24e55c(0x681,0x678)]??'-'));continue;case'3':console[_0x5339c0(_0x523d19._0x223d3e,0x2e1)](_0x5339c0(0x3d2,0x597)+_0x5339c0(0x4bc,0x667)+_0x594a62[_0x24e55c(0x68e,_0x523d19._0x266052)+_0x5339c0(_0x523d19._0x2602c3,_0x523d19._0x51069a)+'r']);continue;case'4':console['log'](_0x24e55c(0x1a4,0x2ab)+_0x24e55c(_0x523d19._0x1eca2a,_0x523d19._0x8e88ad)+_0x594a62[_0x5339c0(0x218,_0x523d19._0x2384df)+_0x24e55c(_0x523d19._0x36bc8b,_0x523d19._0x85e94a)]);continue;case'5':console[_0x24e55c(0x16e,0x36c)]('Paired:\x20'+(_0x594a62[_0x5339c0(_0x523d19._0x208199,0x256)]?_0x5339c0(_0x523d19._0x2c3be7,0x230):'no'));continue;case'6':console[_0x24e55c(_0x523d19._0x208199,0x36c)](_0x24e55c(_0x523d19._0x141b43,0x622)+'\x20media:\x20'+_0x594a62[_0x24e55c(0x30b,_0x523d19._0x266052)+_0x5339c0(_0x523d19._0x184844,_0x523d19._0x89ac25)]);continue;case'7':console[_0x5339c0(0x48c,_0x523d19._0x21742f)]('Gateway\x20'+_0x5339c0(_0x523d19._0x53a95e,0x325)+(_0x594a62[_0x24e55c(0x3c7,_0x523d19._0x5f2eda)+'d']??'-'));continue;case'8':console[_0x24e55c(_0x523d19._0x3e4f0c,_0x523d19._0x43b3ba)](_0x5339c0(_0x523d19._0x5121e6,_0x523d19._0x9584c3)+':\x20'+_0x594a62['logPath']);continue;case'9':console['log'](_0x24e55c(_0x523d19._0x10ac92,0x4ee)+_0x5339c0(_0x523d19._0x4c647b,_0x523d19._0x287278)+(_0x594a62[_0x24e55c(_0x523d19._0x5258b8,_0x523d19._0x58e37a)+'l']??'-'));continue;case'10':console['log']('Error\x20lo'+_0x24e55c(0x2cd,_0x523d19._0x2a7991)+_0x594a62[_0x5339c0(_0x523d19._0x1a5bb9,0x571)+_0x24e55c(0x48d,_0x523d19._0x3be8e2)]);continue;case'11':console[_0x5339c0(0x3fa,_0x523d19._0x4deb85)](_0x24e55c(0x640,_0x523d19._0x5d677d)+'\x20'+(_0x594a62[_0x24e55c(_0x523d19._0x4eef50,_0x523d19._0x1f0277)+_0x24e55c(0x20b,_0x523d19._0x47543b)]?_0x5339c0(0x243,0x390)+'d':_0x839573['lKlel'])+'\x20('+_0x594a62['serviceM'+'ethod']+')');continue;case'12':console['log'](_0x5339c0(0x603,_0x523d19._0x46b7e8)+_0x5339c0(0x4d2,0x4b0)+(_0x594a62[_0x24e55c(0x852,_0x523d19._0x5314a2)+'Id']??'-'));continue;case'13':console[_0x24e55c(0x1e8,0x36c)](_0x5339c0(0x637,0x597)+_0x24e55c(_0x523d19._0x208052,0x2e5)+(_0x594a62[_0x24e55c(0x439,0x49a)+'TokenFou'+'nd']?_0x24e55c(_0x523d19._0x52e0aa,_0x523d19._0x2782fa):_0x839573[_0x24e55c(0x827,0x626)]));continue;case'14':console[_0x5339c0(0x417,0x2e1)]('Gateway\x20'+_0x24e55c(0x292,0x272)+_0x5339c0(0x17c,0x277)+(_0x594a62['localGat'+_0x5339c0(0x38f,_0x523d19._0x3ab92f)+_0x24e55c(0x8ac,_0x523d19._0xbf1449)]?_0x5339c0(0x6c,_0x523d19._0x2b31fe):'no'));continue;case'15':console[_0x5339c0(0xb8,_0x523d19._0x21742f)](_0x5339c0(0x240,0x3c2)+_0x5339c0(0x13e,_0x523d19._0x43b5ff)+(_0x594a62[_0x5339c0(0x1aa,_0x523d19._0x2e3ce1)+_0x24e55c(0x2fb,0x326)]||'-'));continue;}break;}}function requirePairingConfig(){const _0x365824={_0x49ec80:0x759,_0x2adef2:0x56b,_0x3eb199:0x478,_0x46566f:0x3df,_0xdfd7a4:0x245,_0x560c66:0x457,_0x6be8e7:0xa3d},_0x321d6f={_0xcb642a:0x7b},_0x90f548={_0x351d4f:0x353};function _0x416b5c(_0xf6b83b,_0x4ed8c5){return _0x3a7f13(_0xf6b83b,_0x4ed8c5-_0x90f548._0x351d4f);}const _0x1c0de0=readPairingConfig();!_0x1c0de0&&(console[_0x416b5c(_0x365824._0x49ec80,_0x365824._0x2adef2)](_0x2588fc(0xda,0x313)+'ed.\x20Run\x20'+_0x2588fc(_0x365824._0x3eb199,_0x365824._0x46566f)+'\x20pair\x22\x20f'+_0x416b5c(0x5c0,0x5ab)+_0x2588fc(0x299,_0x365824._0xdfd7a4)+_0x2588fc(0x295,_0x365824._0x560c66)+getPairingConfigPath()),process[_0x416b5c(_0x365824._0x6be8e7,0x823)](0x1));function _0x2588fc(_0x577e83,_0x174f76){return _0x3a7f13(_0x577e83,_0x174f76- -_0x321d6f._0xcb642a);}return _0x1c0de0;}function readFlag(_0x24d311,_0x44bd0f){const _0x524d52={_0x3b2c33:0x275,_0x220276:0x43a,_0x593394:0x432},_0x28eab5={_0x11d7a0:0xf3},_0x4adcf6=_0x24d311[_0x420110(_0x524d52._0x3b2c33,0x1e4)](_0x44bd0f);function _0x231912(_0x297d9f,_0x2cbb3f){return _0x3a7f13(_0x2cbb3f,_0x297d9f- -_0x28eab5._0x11d7a0);}if(_0x4adcf6<0x0)return null;function _0x420110(_0x125726,_0x15f23a){return _0x3a7f13(_0x125726,_0x15f23a- -0x301);}const _0x359818=_0x24d311[_0x4adcf6+0x1];return _0x359818?.[_0x420110(_0x524d52._0x220276,0x308)]()?_0x359818[_0x420110(_0x524d52._0x593394,0x308)]():null;}function hasFlag(_0x344184,_0x51cbc8){return _0x344184['includes'](_0x51cbc8);}function readPairSubcommand(_0xf6f63c){const _0x18f02d={_0x57ddb5:0x43c,_0x2a7c71:0x807,_0x2f5c2a:0x9f3},_0x2a0ffb={_0x2bb3ec:0x3ea};function _0xc84d2e(_0x6b1598,_0x2ec4e8){return _0x3a7f13(_0x6b1598,_0x2ec4e8-_0x2a0ffb._0x2bb3ec);}for(const _0x2fedde of _0xf6f63c){if(!_0x2fedde[_0xc84d2e(_0x18f02d._0x57ddb5,0x60d)+'th']('-'))return _0x2fedde[_0xc84d2e(_0x18f02d._0x2a7c71,_0x18f02d._0x2f5c2a)]()||null;}function _0x463461(_0x16cd33,_0x20eac8){return _0x3a7f13(_0x16cd33,_0x20eac8-0x41a);}return null;}function printHelp(){const _0xb983fb={_0x28bed7:0x64b,_0x4fd4d0:0x737,_0x8c079:0x51b,_0x3afaec:0x64c,_0x2cec1e:0x784,_0x34ac7c:0x771,_0xe073ef:0x664,_0x30f531:0x57a,_0x4e3e8c:0x54d,_0x5a81dc:0x458,_0xe96151:0x445,_0x39d6b3:0x55d,_0x5cc30d:0x4ea,_0x4c938f:0x57b,_0x455158:0x4a0,_0x23ca05:0x43a,_0xd667d2:0x661,_0x2d36e5:0x501,_0x32b598:0x4a2,_0x2c9151:0x715,_0x465264:0x445,_0x2e4cbf:0x555,_0x3b1565:0x58f,_0x5b8586:0x86f,_0x1c7598:0x6d3,_0x4fc53b:0x55b,_0x325546:0x3a4,_0x75b235:0x639,_0x1e158f:0x200,_0x24fd77:0x416,_0x2e6a1a:0x4ad,_0xb05eb4:0x446,_0x2c1119:0x79e,_0x97bdd7:0x31a,_0x2c5a5b:0x658,_0x4f13e8:0x82f,_0x114183:0x5f9,_0x430632:0x26c,_0x56262b:0x313,_0x40f032:0x849,_0x5081bd:0x727,_0x338d50:0x8c6,_0x31ac68:0x532,_0x142604:0x738,_0x8b0bcb:0x371,_0x5101d6:0x491,_0x6f4e0e:0x7e4,_0x2447b1:0x56a,_0x59f3fe:0x593,_0x2a031f:0x3d9,_0x493557:0x641},_0xfc428f={_0x45ed4f:0x26d},_0x2c9b0e={_0x1e2e69:0x79},_0x2a5eae={};_0x2a5eae[_0x47de80(0x49b,0x66c)]=_0x48309c(0x445,0x4e6)+_0x47de80(0x53b,0x6b1)+_0x48309c(0x450,0x399)+'l\x20<ws://'+'host:por'+_0x47de80(_0xb983fb._0x28bed7,_0xb983fb._0x4fd4d0)+'r-file\x20<'+_0x48309c(0x3cf,0x22d)+_0x47de80(0x62b,_0xb983fb._0x8c079);function _0x48309c(_0x476657,_0x1904b2){return _0x3a7f13(_0x1904b2,_0x476657-_0x2c9b0e._0x1e2e69);}_0x2a5eae[_0x48309c(0x5fe,0x824)]='clawket\x20'+_0x48309c(0x2a9,0x19c)+_0x48309c(_0xb983fb._0x3afaec,_0xb983fb._0x2cec1e)+'url\x20<ws:'+_0x47de80(_0xb983fb._0x34ac7c,_0xb983fb._0xe073ef)+_0x47de80(_0xb983fb._0x30f531,_0xb983fb._0x4e3e8c)+_0x47de80(0x4b1,_0xb983fb._0x5a81dc)+_0x48309c(0x652,0x6dd)+'\x20[--json'+']',_0x2a5eae[_0x47de80(0x658,0x4b7)]=_0x48309c(_0xb983fb._0xe96151,_0xb983fb._0x39d6b3)+_0x48309c(_0xb983fb._0x5cc30d,_0xb983fb._0x4c938f)+'code\x20[--'+_0x48309c(0x522,_0xb983fb._0x455158)+_0x47de80(_0xb983fb._0x23ca05,_0xb983fb._0xd667d2)+_0x48309c(_0xb983fb._0x2d36e5,0x3d5);function _0x47de80(_0x482002,_0x5a3dde){return _0x3a7f13(_0x5a3dde,_0x482002-_0xfc428f._0x45ed4f);}_0x2a5eae['qAYml']=_0x48309c(0x445,0x2b3)+_0x48309c(0x384,_0xb983fb._0x32b598),_0x2a5eae[_0x48309c(0x685,_0xb983fb._0x2c9151)]=_0x48309c(_0xb983fb._0x465264,0x574)+_0x47de80(0x838,0x78d)+'l',_0x2a5eae['HFQWb']=_0x47de80(0x639,_0xb983fb._0x2e4cbf)+_0x47de80(0x75f,_0xb983fb._0x3b1565)+_0x47de80(0x636,_0xb983fb._0x5b8586)+_0x47de80(0x6cb,_0xb983fb._0x1c7598)+_0x47de80(0x446,0x657)+_0x48309c(_0xb983fb._0x4fc53b,_0xb983fb._0x325546)+'rors]\x20[-'+_0x48309c(0x46a,0x3be);const _0x3e1902=_0x2a5eae;console['log']([_0x47de80(_0xb983fb._0x75b235,0x702)+'pair\x20[--'+_0x48309c(_0xb983fb._0x1e158f,_0xb983fb._0x24fd77)+_0x47de80(_0xb983fb._0x2e6a1a,0x3fd)+_0x48309c(_0xb983fb._0xb05eb4,0x248)+_0x47de80(0x615,_0xb983fb._0x2c1119)+_0x48309c(_0xb983fb._0x97bdd7,0x1c3)+'qr-file\x20'+'<path>]\x20'+'[--json]'+_0x48309c(0x46b,0x57e)+'e]',_0x3e1902['HkYmc'],_0x3e1902['uKfRZ'],_0x3e1902[_0x47de80(_0xb983fb._0x2c5a5b,0x7c8)],_0x47de80(0x639,_0xb983fb._0x4f13e8)+_0x47de80(0x835,_0xb983fb._0x114183),'clawket\x20'+_0x48309c(_0xb983fb._0x430632,0x214),_0x3e1902[_0x48309c(0x470,_0xb983fb._0x56262b)],_0x47de80(0x639,_0xb983fb._0x40f032)+_0x47de80(_0xb983fb._0x5081bd,_0xb983fb._0x338d50),_0x3e1902[_0x47de80(0x879,0x6ba)],_0x48309c(_0xb983fb._0xe96151,_0xb983fb._0x31ac68)+_0x47de80(0x673,_0xb983fb._0x8c079),_0x47de80(_0xb983fb._0x75b235,_0xb983fb._0x142604)+_0x48309c(0x516,_0xb983fb._0x8b0bcb),_0x3e1902['HFQWb'],_0x48309c(_0xb983fb._0xe96151,_0xb983fb._0x5101d6)+_0x47de80(_0xb983fb._0x6f4e0e,0x79a)+'--json]',_0x47de80(0x639,0x738)+_0x47de80(_0xb983fb._0x2447b1,0x589)+'ateway-u'+_0x48309c(_0xb983fb._0x59f3fe,_0xb983fb._0x2a031f)+_0x47de80(0x472,_0xb983fb._0x493557)+'.1:18789'+'>]']['join']('\x0a'));}function formatLocalTime(_0xaf4fa2){const _0x2ecfa5={_0x49974b:0x698,_0x3501c9:0x607,_0x3c9c12:0x5f1};function _0x475d3d(_0x427ead,_0x250678){return _0x3a7f13(_0x250678,_0x427ead-0x18d);}const _0x11b371=new Date(_0xaf4fa2);function _0x24c05a(_0x5a3f1e,_0x174929){return _0x3a7f13(_0x5a3f1e,_0x174929-0x85);}if(Number['isNaN'](_0x11b371[_0x24c05a(0x248,0x2c8)]()))return _0xaf4fa2;return _0x11b371[_0x475d3d(_0x2ecfa5._0x49974b,0x812)+_0x24c05a(_0x2ecfa5._0x3501c9,_0x2ecfa5._0x3c9c12)]();}function formatError(_0x116e47){const _0x4572cc={_0x29a34e:0x51f,_0x4d95ec:0x2e4},_0x32ea83={_0x15265c:0xd7};function _0x7bcc85(_0x126152,_0x982fb5){return _0x3a7f13(_0x126152,_0x982fb5- -_0x32ea83._0x15265c);}return _0x116e47 instanceof Error?_0x116e47[_0x7bcc85(_0x4572cc._0x29a34e,_0x4572cc._0x4d95ec)]:String(_0x116e47);}function printJson(_0x389300){console['log'](JSON['stringif'+'y'](_0x389300,null,0x2));}main()[_0x32d8ea(0x67f,0x891)](_0x2ec9c7=>{const _0x2de458={_0x322cfc:0x780};function _0x2e273b(_0x2e8c32,_0x96d5fe){return _0x32d8ea(_0x96d5fe,_0x2e8c32- -0x24e);}console['error'](formatError(_0x2ec9c7)),process[_0x2e273b(0x6a8,_0x2de458._0x322cfc)](0x1);});
2
+ (function(_0x258026,_0x466299){const _0x3e3d70={_0x155f42:0x3fa,_0x6b159e:0x466,_0x51cff3:0x9c,_0x42eba6:0x5cf,_0x5718d6:0xf0,_0x55adff:0x104,_0x2993bd:0x59,_0x43252e:0x19d,_0x1ae9e9:0x0,_0x5e82f1:0x26e,_0x1879ed:0x38,_0x820978:0x71a,_0x1136cd:0x2da,_0x5e6a4a:0x713,_0x495325:0x1e5,_0x2a4f87:0x86},_0xcf818={_0x15e333:0x26a};function _0x2d07bc(_0x5f56bb,_0x4cae3b){return _0x573e(_0x4cae3b- -_0xcf818._0x15e333,_0x5f56bb);}const _0x40e96f=_0x258026();function _0x26d8b4(_0x4343e7,_0x155868){return _0x573e(_0x4343e7-0x1f6,_0x155868);}while(!![]){try{const _0x9697cf=-parseInt(_0x26d8b4(_0x3e3d70._0x155f42,_0x3e3d70._0x6b159e))/0x1*(parseInt(_0x2d07bc(_0x3e3d70._0x51cff3,0x2c0))/0x2)+-parseInt(_0x26d8b4(_0x3e3d70._0x42eba6,0x72a))/0x3*(-parseInt(_0x2d07bc(_0x3e3d70._0x5718d6,_0x3e3d70._0x55adff))/0x4)+parseInt(_0x2d07bc(0x45,-_0x3e3d70._0x2993bd))/0x5+-parseInt(_0x2d07bc(_0x3e3d70._0x43252e,_0x3e3d70._0x1ae9e9))/0x6*(-parseInt(_0x2d07bc(-_0x3e3d70._0x5e82f1,-_0x3e3d70._0x1879ed))/0x7)+parseInt(_0x26d8b4(0x561,_0x3e3d70._0x820978))/0x8*(parseInt(_0x2d07bc(0x35f,_0x3e3d70._0x1136cd))/0x9)+-parseInt(_0x26d8b4(0x33d,0x30b))/0xa+parseInt(_0x26d8b4(0x70f,_0x3e3d70._0x5e6a4a))/0xb*(-parseInt(_0x2d07bc(_0x3e3d70._0x495325,_0x3e3d70._0x2a4f87))/0xc);if(_0x9697cf===_0x466299)break;else _0x40e96f['push'](_0x40e96f['shift']());}catch(_0x3386b0){_0x40e96f['push'](_0x40e96f['shift']());}}}(_0x1415,0xd377c));const _0x4cd244=(function(){let _0x46699b=!![];return function(_0x88fab4,_0x14d415){const _0x28cad9={_0x184ed5:0x570},_0x3bb7fa=_0x46699b?function(){function _0x41e903(_0xf98a05,_0x2660fb){return _0x573e(_0xf98a05-0x163,_0x2660fb);}if(_0x14d415){const _0x7aada2=_0x14d415[_0x41e903(0x506,_0x28cad9._0x184ed5)](_0x88fab4,arguments);return _0x14d415=null,_0x7aada2;}}:function(){};return _0x46699b=![],_0x3bb7fa;};}()),_0xbe614a=_0x4cd244(this,function(){const _0x125403={_0x210211:0x29d,_0x3e6451:0x125,_0x142bd0:0x161,_0xed35a2:0x87,_0xd2100:0x3f3,_0x595ba3:0x132,_0x8c8407:0x10},_0x4a5e23={_0x5594a4:0x1f9};function _0x179a46(_0x5d9bea,_0x37be99){return _0x573e(_0x5d9bea- -_0x4a5e23._0x5594a4,_0x37be99);}const _0x34ef78={};_0x34ef78['MJQOy']='(((.+)+)'+_0x179a46(0x255,0x36b);function _0x26ac62(_0x5c0e02,_0x5237c1){return _0x573e(_0x5237c1- -0x34f,_0x5c0e02);}const _0x3e7e07=_0x34ef78;return _0xbe614a[_0x26ac62(0x1f1,_0x125403._0x210211)]()[_0x179a46(_0x125403._0x3e6451,_0x125403._0x142bd0)](_0x3e7e07[_0x26ac62(-0x11f,-_0x125403._0xed35a2)])[_0x179a46(_0x125403._0xd2100,0x48c)]()['construc'+_0x179a46(-0x49,0x1f5)](_0xbe614a)['search'](_0x26ac62(_0x125403._0x595ba3,-_0x125403._0x8c8407)+_0x26ac62(0x199,0xff));});_0xbe614a();import _0x252066 from'qrcode-terminal';import{readFileSync as _0x41d4c1}from'fs';import{Socket}from'net';import{homedir as _0x4b3921}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,_0x586208(0x65b,0x70a)+_0x586208(0x41e,0x2f0));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x21215a={_0xa95416:0x2ac,_0x5dc35a:0x3aa,_0x2c4818:0x47c,_0x2fad5a:0x3f2,_0x32aff9:0xfd,_0x554923:0x37a,_0x4c4542:0x48f,_0x2d6f68:0x4e2,_0x34f69f:0x47c,_0xcaa7d2:0x54f,_0xf0733:0x215,_0x37a243:0x14,_0x19db13:0x18b,_0x378e77:0x374,_0x45a200:0x4f3},_0x1bdf66={_0xa0a559:0x4c0};function _0x4e13a4(_0x515e7a,_0x10522f){return _0x586208(_0x515e7a- -0x2ba,_0x10522f);}const _0x29cb4f={'Iwwdt':function(_0x104d88,_0x40abdb){return _0x104d88(_0x40abdb);}};function _0x317a7f(_0x1032e4,_0x178634){return _0x586208(_0x1032e4- -_0x1bdf66._0xa0a559,_0x178634);}if(!existsSync(CONFIG_PATH))return null;try{const _0x2a8dfa=JSON[_0x317a7f(_0x21215a._0xa95416,_0x21215a._0x5dc35a)](readFileSync(CONFIG_PATH,_0x317a7f(0x119,-0x28)));if(!_0x2a8dfa[_0x4e13a4(_0x21215a._0x2c4818,_0x21215a._0x2fad5a)+'l']||!_0x2a8dfa[_0x317a7f(-_0x21215a._0x32aff9,-_0x21215a._0x554923)+'d']||!_0x2a8dfa['relaySec'+_0x4e13a4(_0x21215a._0x4c4542,_0x21215a._0x2d6f68)]||!_0x2a8dfa['relayUrl'])return null;const _0x55f825={'serverUrl':_0x2a8dfa[_0x4e13a4(_0x21215a._0x34f69f,0x465)+'l'],'gatewayId':_0x2a8dfa[_0x317a7f(-_0x21215a._0x32aff9,-0x1c2)+'d'],'relaySecret':_0x2a8dfa['relaySec'+_0x4e13a4(_0x21215a._0x4c4542,_0x21215a._0xcaa7d2)],'relayUrl':_0x2a8dfa['relayUrl'],'instanceId':_0x2a8dfa[_0x317a7f(0x16e,_0x21215a._0xf0733)+'Id']?.[_0x317a7f(-0x1b,0x1c7)]()||createInstanceId(),'displayName':_0x2a8dfa['displayN'+_0x317a7f(-0x152,-0x1b)]??null,'createdAt':_0x2a8dfa['createdA'+'t']??new Date()['toISOStr'+_0x4e13a4(0x3b9,0x540)](),'updatedAt':_0x2a8dfa[_0x4e13a4(0x26c,_0x21215a._0x37a243)+'t']??new Date()[_0x4e13a4(0x319,_0x21215a._0x19db13)+'ing']()};return _0x2a8dfa['instance'+'Id']!==_0x55f825[_0x4e13a4(_0x21215a._0x378e77,_0x21215a._0x45a200)+'Id']&&_0x29cb4f['Iwwdt'](writePairingConfig,_0x55f825),_0x55f825;}catch{return null;}}function writePairingConfig(_0x8560bb){const _0x36b547={_0x3de9f8:0x111},_0x4518cc={};function _0xe6d8c(_0x239261,_0x4fc107){return _0x586208(_0x4fc107- -0x440,_0x239261);}_0x4518cc['recursiv'+'e']=!![],mkdirSync(CONFIG_DIR,_0x4518cc),writeFileSync(CONFIG_PATH,JSON[_0xe6d8c(-0x107,_0x36b547._0x3de9f8)+'y'](_0x8560bb,null,0x2)+'\x0a','utf8');}function deletePairingConfig(){if(!existsSync(CONFIG_PATH))return;const _0x5dd1bc={};_0x5dd1bc['force']=!![],rmSync(CONFIG_PATH,_0x5dd1bc);}function getDefaultBridgeDisplayName(){const _0x39d305={_0xb701a3:0x8e7,_0x2af7ea:0x799,_0x5b15b4:0x625,_0x428d69:0x7bd,_0x136eac:0x50e,_0x5d2c37:0x618,_0x2df39c:0x2c7,_0x4125b6:0x1a7,_0x56cce5:0x7b3},_0x3fcce4={_0x592198:0x155},_0x58f36e={};_0x58f36e[_0x3c3716(_0x39d305._0xb701a3,0x7b3)]=_0x3c3716(_0x39d305._0x2af7ea,0x859)+_0x3c3716(_0x39d305._0x5b15b4,_0x39d305._0x428d69);const _0x4c6f9c=_0x58f36e,_0x367522=readOpenClawDefaultAgentName();if(_0x367522)return _0x367522;function _0x1f7072(_0x193a24,_0x3d80ee){return _0x14f19b(_0x3d80ee- -0x337,_0x193a24);}try{const _0x737728=userInfo()[_0x1f7072(0x3a8,_0x39d305._0x136eac)][_0x1f7072(0x129,0x1a7)]();if(_0x737728)return _0x737728;}catch{}function _0x3c3716(_0x216a32,_0x4ccbdd){return _0x14f19b(_0x4ccbdd-_0x3fcce4._0x592198,_0x216a32);}const _0x4278ac=(process.env.LOGNAME??process.env.USER??process.env.USERNAME??'')[_0x3c3716(_0x39d305._0x5d2c37,0x633)]();if(_0x4278ac)return _0x4278ac;return hostname()[_0x1f7072(_0x39d305._0x2df39c,_0x39d305._0x4125b6)]()||_0x4c6f9c[_0x3c3716(0x53c,_0x39d305._0x56cce5)];}function pickOpenClawDefaultAgentName(_0x1f1cea){const _0x84b9f3={_0x41fb1a:0x7ac,_0x3fae7c:0x400,_0x4a29c7:0x652,_0x2df7da:0x508,_0x22fb56:0x750,_0x57fa69:0x6b5,_0x2d8d30:0x824},_0x547d7c={};_0x547d7c[_0x263f86(_0x84b9f3._0x41fb1a,0x6e2)]=function(_0x1bbc13,_0x1ec75a){return _0x1bbc13!==_0x1ec75a;},_0x547d7c['pmFpo']=_0x263f86(0x49f,_0x84b9f3._0x3fae7c);const _0x37da8a=_0x547d7c;function _0x3604d6(_0x5091f1,_0x45e4a3){return _0x586208(_0x45e4a3- -0xa4,_0x5091f1);}if(!_0x1f1cea||_0x37da8a['tenHz'](typeof _0x1f1cea,_0x37da8a['pmFpo']))return null;const _0x57c0d5=_0x1f1cea[_0x263f86(_0x84b9f3._0x4a29c7,0x3d6)],_0x76be24=Array[_0x263f86(_0x84b9f3._0x2df7da,0x288)](_0x57c0d5?.[_0x3604d6(0x3c1,0x528)])?_0x57c0d5['list']:[];function _0x263f86(_0x273a9a,_0x38df7d){return _0x586208(_0x273a9a-0x12e,_0x38df7d);}const _0x234be7=_0x76be24[_0x263f86(_0x84b9f3._0x22fb56,_0x84b9f3._0x57fa69)](_0x32cb5b=>isDefaultAgent(_0x32cb5b))??_0x76be24[_0x263f86(0x750,_0x84b9f3._0x2d8d30)](_0x519b51=>hasAgentId(_0x519b51,_0x263f86(0x5c7,0x389)))??_0x76be24[0x0];return readAgentName(_0x234be7);}function createInstanceId(){const _0x401244={_0x3d931a:0x39b,_0x52d970:0x5fa,_0xd24f6f:0x553,_0x27291d:0x427,_0x1c0ade:0x704},_0xdbcc6c={_0x25cc2d:0x78},_0x415244={'tTZam':function(_0x42c773){return _0x42c773();}},_0x5cbf37=sanitizeId(_0x415244[_0x49c15d(_0x401244._0x3d931a,_0x401244._0x52d970)](hostname)||_0x49c15d(_0x401244._0xd24f6f,_0x401244._0x27291d));function _0xc6c2d2(_0x3e60eb,_0x3811dc){return _0x586208(_0x3811dc- -0x1a5,_0x3e60eb);}function _0x49c15d(_0x2809c4,_0x240a8c){return _0x586208(_0x2809c4- -_0xdbcc6c._0x25cc2d,_0x240a8c);}return _0x49c15d(0x572,0x322)+_0x5cbf37+'-'+randomUUID()[_0x49c15d(_0x401244._0x1c0ade,0x8bc)](0x0,0xa);}function sanitizeId(_0x2b5ed4){const _0x358c45={_0x3a579e:0x323,_0x15040c:0x292,_0xd5679e:0x119,_0x4ce816:0x17e},_0x3ea785={};function _0x32d762(_0x1eb865,_0x4a521c){return _0x586208(_0x4a521c- -0x518,_0x1eb865);}function _0x29d97d(_0x32237f,_0x42339a){return _0x586208(_0x32237f- -0x182,_0x42339a);}_0x3ea785['xAzIZ']=_0x32d762(0xa4,0xb3);const _0x16f996=_0x3ea785;return _0x2b5ed4[_0x29d97d(_0x358c45._0x3a579e,0x4c0)]()['toLowerC'+_0x32d762(0x472,_0x358c45._0x15040c)]()[_0x32d762(-0x3ce,-0x19e)](/[^a-z0-9._-]+/g,'-')[_0x32d762(-_0x358c45._0xd5679e,-0x19e)](/^-+|-+$/g,'')||_0x16f996[_0x32d762(_0x358c45._0x4ce816,0x13d)];}function readOpenClawDefaultAgentName(){const _0x33305a=resolveOpenClawConfigPath();if(!_0x33305a||!existsSync(_0x33305a))return null;try{const _0x42f1a1=JSON['parse'](readFileSync(_0x33305a,'utf8'));return pickOpenClawDefaultAgentName(_0x42f1a1);}catch{return null;}}function resolveOpenClawConfigPath(){const _0x4b2632={_0x73eba6:0xc5,_0x59bfb5:0x75e,_0x5aafef:0x2,_0x7ece41:0x81,_0x34b6cb:0x2fc,_0xb68fb0:0x1d6,_0x5e2468:0x17,_0x2d3667:0x462,_0x3e8aa1:0x112,_0x29e785:0x47},_0x2587bc={_0x3f0a4a:0x51d},_0x224679={'vjrmi':_0x3299c5(_0x4b2632._0x73eba6,-0xd5),'BGWQm':function(_0x5e5f74,_0x5cd3ac){return _0x5e5f74(_0x5cd3ac);},'Deaaq':'openclaw'+_0x3299c5(0xc9,0x2e6)},_0x28a436=new Set();function _0x3299c5(_0x4f1f6c,_0xbab6d6){return _0x14f19b(_0xbab6d6- -_0x2587bc._0x3f0a4a,_0x4f1f6c);}const _0x53bd34=[homedir(),_0x224679[_0x3a6d63(0x541,_0x4b2632._0x59bfb5)]][_0x3299c5(-0x1a9,-_0x4b2632._0x5aafef)](_0x4f1d9e=>_0x4f1d9e[_0x3299c5(0x208,-0x3f)]())[_0x3a6d63(0x506,0x3d5)](Boolean)[_0x3299c5(_0x4b2632._0x7ece41,0x1cd)](_0x5c5f3f=>{if(_0x28a436['has'](_0x5c5f3f))return![];return _0x28a436['add'](_0x5c5f3f),!![];});for(const _0x5ec2b5 of _0x53bd34){const _0x5c9b1f=join(_0x5ec2b5,_0x3a6d63(_0x4b2632._0x34b6cb,_0x4b2632._0xb68fb0)+'w',_0x3299c5(0x299,_0x4b2632._0x5e2468)+_0x3a6d63(0x61f,_0x4b2632._0x2d3667));if(_0x224679[_0x3299c5(0xeb,_0x4b2632._0x3e8aa1)](existsSync,_0x5c9b1f))return _0x5c9b1f;}function _0x3a6d63(_0x1abba8,_0xd9c314){return _0x14f19b(_0x1abba8- -0x1e4,_0xd9c314);}return _0x53bd34[0x0]?join(_0x53bd34[0x0],'.opencla'+'w',_0x224679[_0x3299c5(0x130,_0x4b2632._0x29e785)]):null;}function isDefaultAgent(_0x4dd902){const _0x514418={_0x52be20:0x3a0};function _0x4b1d98(_0x21a6ac,_0x35927d){return _0x14f19b(_0x21a6ac- -0xa,_0x35927d);}return Boolean(_0x4dd902&&typeof _0x4dd902===_0x4b1d98(_0x514418._0x52be20,0x60d)&&_0x4dd902['default']===!![]);}function hasAgentId(_0x2b6a59,_0x4b969f){const _0x845be2={_0x3c1608:0x60,_0x3127f6:0x6e,_0x355c11:0x13},_0x3b4261={_0x5a6750:0x3eb},_0x95c04a={_0x3628d3:0x27c};function _0xf144cf(_0x1ebc5f,_0xfd580d){return _0x14f19b(_0xfd580d- -_0x95c04a._0x3628d3,_0x1ebc5f);}const _0x594613={'uobud':function(_0x5d608a,_0x57b112){return _0x5d608a(_0x57b112);},'QNCor':function(_0x133884,_0x11f9c9){return _0x133884===_0x11f9c9;}};function _0x5390b4(_0x4435a5,_0x342652){return _0x14f19b(_0x4435a5- -_0x3b4261._0x5a6750,_0x342652);}return _0x594613[_0x5390b4(-_0x845be2._0x3c1608,-0x2ae)](Boolean,_0x2b6a59&&typeof _0x2b6a59===_0xf144cf(0x235,0x12e)&&_0x594613['QNCor'](typeof _0x2b6a59['id'],_0x5390b4(_0x845be2._0x3127f6,_0x845be2._0x355c11))&&_0x2b6a59['id'][_0x5390b4(0xf3,0x309)]()===_0x4b969f);}function readAgentName(_0x22293d){const _0x355071={_0x3e41b6:0x50c,_0x33aeeb:0x566,_0x30c77d:0x6e4,_0x54afe0:0xa64,_0x401c3f:0x5ab,_0x269dfc:0x8d1,_0x5eb9c4:0x951,_0x122a29:0x58d,_0x322cb9:0xa84,_0x136cae:0x5b8},_0x1112be={_0x39857d:0x3fa},_0x11cc29={_0x1345eb:0x113},_0x47b0ac={};_0x47b0ac[_0x1daa7e(_0x355071._0x3e41b6,0x594)]=function(_0x4fd917,_0x56de7d){return _0x4fd917!==_0x56de7d;};function _0x1daa7e(_0xf08849,_0x116b7e){return _0x586208(_0xf08849-_0x11cc29._0x1345eb,_0x116b7e);}_0x47b0ac[_0x1daa7e(_0x355071._0x33aeeb,_0x355071._0x30c77d)]='string',_0x47b0ac[_0x49c15f(0x64c,0x41e)]=function(_0x1ee46a,_0x389a8f){return _0x1ee46a===_0x389a8f;};const _0x36cc3b=_0x47b0ac;if(!_0x22293d||_0x36cc3b[_0x49c15f(0x213,-0x1)](typeof _0x22293d,'object'))return null;const _0x4eedc3=_0x22293d;function _0x49c15f(_0x4d682c,_0xece31d){return _0x586208(_0xece31d- -_0x1112be._0x39857d,_0x4d682c);}const _0x149160=typeof _0x4eedc3['identity']?.[_0x1daa7e(0x8d1,_0x355071._0x54afe0)]===_0x36cc3b[_0x1daa7e(0x566,0x614)]?_0x4eedc3[_0x1daa7e(_0x355071._0x401c3f,0x6f4)][_0x1daa7e(_0x355071._0x269dfc,_0x355071._0x5eb9c4)][_0x49c15f(0xad,0xab)]():'';if(_0x149160)return _0x149160;const _0x135702=_0x36cc3b[_0x49c15f(_0x355071._0x122a29,0x41e)](typeof _0x4eedc3[_0x1daa7e(0x8d1,_0x355071._0x322cb9)],_0x1daa7e(0x533,0x74b))?_0x4eedc3[_0x49c15f(0x2e2,0x3c4)][_0x1daa7e(_0x355071._0x136cae,0x82b)]():'';return _0x135702||null;}function buildPairingQrPayload(_0x14a525){const _0x3e1855={_0xf0e341:0x41a,_0x510d75:0x37c,_0xc85344:0x1cf,_0x2af34b:0x221,_0x5bde4b:0x276,_0x172df4:0x15d,_0x5e7491:0x10a,_0x1f72ac:0x72,_0x1d155e:0x254,_0x581e88:0x1b8,_0x9cea78:0x494,_0x949456:0x250,_0x5823ee:0x2b8},_0x45ea59={_0x2f79ba:0x299},_0x4f1e5c={};function _0x368263(_0x1c6904,_0x4ad8b7){return _0x586208(_0x4ad8b7- -0x264,_0x1c6904);}function _0x377938(_0x32ba08,_0x550689){return _0x586208(_0x32ba08- -_0x45ea59._0x2f79ba,_0x550689);}_0x4f1e5c['v']=0x2,_0x4f1e5c['k']='cp',_0x4f1e5c['s']=_0x14a525[_0x377938(_0x3e1855._0xf0e341,0x39d)],_0x4f1e5c['g']=_0x14a525[_0x377938(0x12a,_0x3e1855._0x510d75)+'d'],_0x4f1e5c['a']=_0x14a525['accessCo'+'de'];const _0x236082=_0x4f1e5c;return _0x14a525[_0x377938(0x221,0x447)+_0x368263(_0x3e1855._0xc85344,0x10a)]?.[_0x368263(0x169,0x241)]()&&(_0x236082['n']=_0x14a525[_0x377938(_0x3e1855._0x2af34b,_0x3e1855._0x5bde4b)+_0x368263(-_0x3e1855._0x172df4,_0x3e1855._0x5e7491)]['trim']()),_0x14a525[_0x377938(0x254,_0x3e1855._0x1f72ac)]?.[_0x368263(0x244,0x241)]()&&(_0x236082['t']=_0x14a525[_0x377938(_0x3e1855._0x1d155e,0x18b)][_0x377938(0x20c,_0x3e1855._0x581e88)]()),_0x14a525[_0x377938(_0x3e1855._0x9cea78,0x4a4)]?.[_0x368263(0x1f7,0x241)]()&&(_0x236082['p']=_0x14a525[_0x368263(0x71d,0x4c9)][_0x377938(0x20c,_0x3e1855._0x949456)]()),JSON[_0x377938(_0x3e1855._0x5823ee,0x408)+'y'](_0x236082);}function buildGatewayQrPayload(_0x478cc3){const _0x3ec774={_0x3c1d30:0x431,_0x4b7445:0x5d2,_0x1fa7bd:0x4ec,_0x410832:0x4ae,_0x4b613e:0x368,_0x197f49:0x34a,_0x457b4c:0x4a7,_0x499bc2:0x4a7,_0x41559b:0x508,_0x273a07:0x780,_0x114d91:0x3a2,_0x110bce:0x526,_0x119f00:0x65f,_0x3625a8:0x3f2,_0x508e64:0x688,_0x3662e2:0x6e9,_0x38ccaf:0x475,_0x5537b2:0x848},_0x1088d9={_0x3038d8:0x7d};function _0x165b7c(_0x5b7ad8,_0x9c1ced){return _0x14f19b(_0x9c1ced- -0x69,_0x5b7ad8);}function _0x3cb547(_0x3d1597,_0x11e451){return _0x14f19b(_0x11e451- -_0x1088d9._0x3038d8,_0x3d1597);}const _0x408341=normalizeGatewayQrUrl(_0x478cc3[_0x165b7c(_0x3ec774._0x3c1d30,_0x3ec774._0x4b7445)+'rl']),_0x1c37c3={'url':_0x408341[_0x165b7c(0x2e6,_0x3ec774._0x1fa7bd)],'host':_0x408341[_0x3cb547(0x389,0x587)],'port':_0x408341[_0x165b7c(_0x3ec774._0x410832,_0x3ec774._0x4b613e)],'tls':_0x408341[_0x3cb547(0x2fa,_0x3ec774._0x197f49)],'mode':_0x3cb547(_0x3ec774._0x457b4c,_0x3ec774._0x499bc2),'expiresAt':_0x478cc3[_0x165b7c(_0x3ec774._0x41559b,0x684)+'t']??Date[_0x3cb547(0x710,_0x3ec774._0x273a07)]()+0xa*0x3c*0x3e8,'qrVersion':0x2};return _0x478cc3[_0x165b7c(_0x3ec774._0x114d91,0x4bd)]?.[_0x3cb547(_0x3ec774._0x110bce,0x461)]()&&(_0x1c37c3[_0x165b7c(_0x3ec774._0x119f00,0x4bd)]=_0x478cc3[_0x3cb547(_0x3ec774._0x3625a8,0x4a9)]['trim']()),_0x478cc3[_0x3cb547(_0x3ec774._0x508e64,_0x3ec774._0x3662e2)]?.[_0x165b7c(0x3ed,_0x3ec774._0x38ccaf)]()&&(_0x1c37c3[_0x165b7c(_0x3ec774._0x5537b2,0x6fd)]=_0x478cc3['password']['trim']()),JSON[_0x3cb547(0x4db,0x50d)+'y'](_0x1c37c3);}function _0x14f19b(_0x31af96,_0x585726){return _0x573e(_0x31af96-0x250,_0x585726);}function normalizeGatewayQrUrl(_0x188d9a){const _0xa57b8b={_0x16cf3c:0x2a4,_0x10862a:0x3ed,_0x2f1795:0xb1,_0x56cc92:0x28,_0x20559f:0x3b,_0x188ad5:0xfc,_0x35a5d8:0x382,_0x134206:0xaa,_0x32ca24:0x375},_0x439fdd={_0x18328b:0x3d3},_0x1c5f4a={};_0x1c5f4a[_0x1a7e58(0x42f,0x3ab)]=_0x4213fe(0xf6,_0xa57b8b._0x16cf3c),_0x1c5f4a['EZOhG']=_0x4213fe(0x3de,0x21a);const _0x328a12=_0x1c5f4a,_0x380648=new URL(_0x188d9a[_0x4213fe(0x32f,0xd2)]()),_0x1b566b=_0x380648['protocol']===_0x328a12['VUsfc']||_0x380648['protocol']===_0x4213fe(0x35f,0x2d7),_0x5bd876=_0x1b566b?_0x328a12[_0x1a7e58(0x42f,_0xa57b8b._0x10862a)]:_0x328a12[_0x4213fe(0x90,_0xa57b8b._0x2f1795)],_0x308431=_0x380648['hostname'];function _0x1a7e58(_0x3904f2,_0xfe67ad){return _0x586208(_0x3904f2- -0x19,_0xfe67ad);}const _0x1d4ee7=_0x380648[_0x4213fe(-0x96,-0x3b)]?Number(_0x380648[_0x4213fe(_0xa57b8b._0x56cc92,-_0xa57b8b._0x20559f)]):_0x1b566b?0x1bb:0x50,_0x1fcb7e=!_0x380648[_0x4213fe(-_0xa57b8b._0x188ad5,-0x38)]||_0x380648[_0x4213fe(0x117,-0x38)]===''?'/':_0x380648[_0x1a7e58(_0xa57b8b._0x35a5d8,0x4ea)],_0x1cbd3a={};_0x1cbd3a[_0x4213fe(-_0xa57b8b._0x134206,0x149)]=_0x5bd876+'//'+_0x308431+':'+_0x1d4ee7+_0x1fcb7e,_0x1cbd3a['host']=_0x308431,_0x1cbd3a[_0x4213fe(0x1d1,-0x3b)]=_0x1d4ee7,_0x1cbd3a['path']=_0x1fcb7e,_0x1cbd3a[_0x1a7e58(_0xa57b8b._0x32ca24,0x140)]=_0x1b566b;function _0x4213fe(_0x2e1f58,_0x175287){return _0x586208(_0x175287- -_0x439fdd._0x18328b,_0x2e1f58);}return _0x1cbd3a;}var DEFAULT_REGISTRY_BASE=_0x14f19b(0x4e2,0x408)+'registry'+_0x14f19b(0x727,0x6c4)+_0x586208(0x50e,0x31a),DEFAULT_REGISTRY_FALLBACK_BASE='https://'+_0x14f19b(0x51a,0x700)+_0x586208(0x7c2,0x838)+_0x586208(0x6ee,0x4df)+_0x586208(0x424,0x294)+_0x586208(0x7e5,0x9df);async function pairGateway(_0xdedd01){const _0x3e54e7={_0x1a4886:0x2b6,_0x4821f9:0x42e,_0x41ba2e:0x2d,_0x17ce6f:0x308,_0x538bad:0x38d,_0x4cfe34:0x359,_0x1bc292:0x224,_0x546bcc:0x2ae,_0x29c0a8:0x4a7,_0x43fcf1:0xff,_0x432e2d:0xc5,_0x52cb66:0x28a,_0x3cd471:0x134,_0x87948b:0x3a6,_0x2299bb:0x4b3,_0x3364ff:0x1b4,_0x559967:0x27,_0x138f8c:0x8,_0x29ceb5:0xdf,_0x212bc3:0x371,_0x31228b:0x4e2,_0x42a5bf:0x13e,_0x32c0f9:0x454,_0x5ab4b3:0x2f1,_0x6594fd:0x497,_0x115ed5:0x1c5,_0x29f341:0x35,_0x43295d:0x80,_0x20c48c:0x494,_0xcb35e0:0x3f1,_0x1e76d9:0x274,_0x270aaa:0x139,_0x4833b5:0x24a,_0x31f958:0x380,_0x5936e1:0x168,_0x1efa31:0x282,_0x2a9659:0x223,_0x284d68:0x4d0,_0xcf05f6:0x5a6,_0x3c7c39:0xec,_0xad4858:0x140,_0x7128db:0x24,_0x3a4679:0x153,_0x48ec6d:0x2f0,_0x22c0cc:0x8f,_0x2f5b7f:0x444,_0x192426:0x3e4,_0x3d47a7:0x369,_0x44f489:0x39f,_0x117ab9:0x329,_0x3efb3a:0xd3,_0x537912:0x2c1,_0x5cf307:0xdf,_0x13cf54:0xc5,_0x206e96:0x1e5,_0x38abf8:0x11b,_0x1c940c:0x1b0,_0x32fccb:0x3c8,_0x1cdab8:0x199},_0x360ff6={_0x16a34a:0x4fb},_0x3ab045={_0x4a9d2d:0x2c8},_0x482469={'bAMhJ':function(_0x149b41,_0x436555){return _0x149b41(_0x436555);},'XounK':function(_0xfe1543,_0x5cfc37){return _0xfe1543===_0x5cfc37;},'ovOPj':'server-m'+_0x3458b0(0x2fb,0xca),'izjfU':function(_0x578c71,_0x3769a8,_0x2963c2){return _0x578c71(_0x3769a8,_0x2963c2);},'jiurC':_0x339a40(_0x3e54e7._0x1a4886,_0x3e54e7._0x4821f9),'fXlBc':_0x3458b0(-0x24,0x1d6)+'ion/json','bgHbw':_0x3458b0(-0x5b,-_0x3e54e7._0x41ba2e)+'ed'},_0x5779d4=_0x482469[_0x339a40(_0x3e54e7._0x17ce6f,_0x3e54e7._0x538bad)](normalizeHttpBase,_0xdedd01[_0x339a40(_0x3e54e7._0x4cfe34,0x4a7)+'l']),_0x69c3b=readPairingConfig(),_0x213146=assessPairingCompatibility(_0x69c3b,_0x5779d4);if(_0x482469['XounK'](_0x213146,_0x339a40(_0x3e54e7._0x1bc292,0x25a)+_0x3458b0(_0x3e54e7._0x546bcc,0x4da))&&_0x69c3b){const _0x6eb6a2={};return _0x6eb6a2[_0x3458b0(0x274,0x345)+'l']=_0x69c3b[_0x339a40(0x726,_0x3e54e7._0x29c0a8)+'l'],_0x6eb6a2[_0x3458b0(-_0x3e54e7._0x43fcf1,-_0x3e54e7._0x432e2d)+'d']=_0x69c3b[_0x339a40(_0x3e54e7._0x52cb66,_0x3e54e7._0x3cd471)+'d'],_0x6eb6a2[_0x339a40(_0x3e54e7._0x87948b,0x3e7)+_0x339a40(_0x3e54e7._0x2299bb,0x4ba)]=_0x69c3b[_0x3458b0(_0x3e54e7._0x3364ff,_0x3e54e7._0x559967)+'ret'],_0x6eb6a2[_0x3458b0(-_0x3e54e7._0x138f8c,0x15c)+_0x339a40(-0xad,_0x3e54e7._0x29ceb5)]=_0xdedd01[_0x3458b0(-0x8,-0x1d)+'ame'],_0x6eb6a2[_0x339a40(0x58a,_0x3e54e7._0x212bc3)+_0x339a40(0x6ec,_0x3e54e7._0x31228b)]=_0xdedd01[_0x3458b0(_0x3e54e7._0x42a5bf,0xac)+_0x339a40(_0x3e54e7._0x32c0f9,0x4e2)],_0x6eb6a2[_0x3458b0(_0x3e54e7._0x5ab4b3,0x2d5)+'assword']=_0xdedd01['gatewayP'+_0x339a40(_0x3e54e7._0x6594fd,0x364)],refreshAccessCode(_0x6eb6a2);}if(_0x213146===_0x482469['ovOPj'])throw new Error(_0x339a40(_0x3e54e7._0x115ed5,0x40f)+_0x3458b0(_0x3e54e7._0x29f341,_0x3e54e7._0x43295d)+'lready\x20p'+_0x339a40(_0x3e54e7._0x20c48c,0x3f0)+_0x3458b0(0x37b,_0x3e54e7._0xcb35e0)+_0x69c3b?.[_0x3458b0(_0x3e54e7._0x1e76d9,0x133)+'l']+('.\x20Run\x20\x22c'+_0x3458b0(_0x3e54e7._0x270aaa,0x1ca)+_0x339a40(_0x3e54e7._0x4833b5,0x1ac)+_0x3458b0(0x2de,_0x3e54e7._0x31f958)+_0x3458b0(-0x141,0xd4)+'h\x20a\x20diff'+'erent\x20se'+_0x3458b0(_0x3e54e7._0x5936e1,0xba)));const _0x2f7c03=await _0x482469['izjfU'](postJsonWithCloudflareFallback,_0x5779d4+(_0x339a40(_0x3e54e7._0x1efa31,_0x3e54e7._0x2a9659)+'/registe'+'r'),{'method':_0x482469[_0x339a40(_0x3e54e7._0x284d68,_0x3e54e7._0xcf05f6)],'headers':{'content-type':_0x482469[_0x339a40(_0x3e54e7._0x3c7c39,_0x3e54e7._0xad4858)],'accept':_0x3458b0(-_0x3e54e7._0x7128db,-0x289)+_0x3458b0(_0x3e54e7._0x3a4679,_0x3e54e7._0x48ec6d)},'body':JSON[_0x3458b0(_0x3e54e7._0x22c0cc,-0x89)+'y']({'displayName':_0xdedd01['displayN'+_0x339a40(0x31c,_0x3e54e7._0x29ceb5)]?.[_0x3458b0(-0x1d,-0x59)]()||null})});if(!_0x2f7c03['response']['ok'])throw await buildPairingRequestError('Pair\x20reg'+_0x339a40(0x653,_0x3e54e7._0x2f5b7f),_0x2f7c03);function _0x339a40(_0xe345e5,_0x2d74d7){return _0x14f19b(_0x2d74d7- -_0x3ab045._0x4a9d2d,_0xe345e5);}const _0x827663=await _0x2f7c03[_0x339a40(0x400,0x348)][_0x339a40(0x3ae,0x445)](),_0x462d88=new Date()['toISOStr'+_0x339a40(0x33f,_0x3e54e7._0x192426)](),_0x26991c={'serverUrl':_0x5779d4,'gatewayId':_0x827663['gatewayI'+'d'],'relaySecret':_0x827663[_0x3458b0(_0x3e54e7._0x3364ff,_0x3e54e7._0x3d47a7)+_0x3458b0(0x287,0x369)],'relayUrl':_0x827663[_0x339a40(0x209,0xe1)],'instanceId':_0x69c3b?.[_0x339a40(0x1e3,_0x3e54e7._0x44f489)+'Id']??'inst-'+_0x827663[_0x3458b0(-0xff,-_0x3e54e7._0x117ab9)+'d']['slice'](-0xa),'displayName':_0x827663[_0x3458b0(-_0x3e54e7._0x138f8c,_0x3e54e7._0x3efb3a)+_0x339a40(_0x3e54e7._0x537912,_0x3e54e7._0x5cf307)],'createdAt':_0x462d88,'updatedAt':_0x462d88};function _0x3458b0(_0x1bc002,_0x2d5554){return _0x14f19b(_0x1bc002- -_0x360ff6._0x16a34a,_0x2d5554);}return writePairingConfig(_0x26991c),{'config':_0x26991c,'accessCode':_0x827663[_0x3458b0(0x195,-_0x3e54e7._0x13cf54)+'de'],'accessCodeExpiresAt':_0x827663[_0x3458b0(0x195,_0x3e54e7._0x206e96)+'deExpire'+_0x339a40(0x19d,_0x3e54e7._0x38abf8)],'action':_0x482469[_0x339a40(0x159,0x292)],'qrPayload':buildPairingQrPayload({'server':_0x5779d4,'gatewayId':_0x827663[_0x339a40(_0x3e54e7._0x2a9659,0x134)+'d'],'accessCode':_0x827663[_0x339a40(_0x3e54e7._0x1c940c,_0x3e54e7._0x32fccb)+'de'],'displayName':_0x827663[_0x3458b0(-_0x3e54e7._0x138f8c,0x17b)+'ame'],'token':_0xdedd01[_0x3458b0(_0x3e54e7._0x42a5bf,0x216)+'oken']?.['trim']()||null,'password':_0xdedd01[_0x339a40(0x5fb,0x524)+_0x3458b0(0x131,_0x3e54e7._0x1cdab8)]?.['trim']()||null})};}async function refreshAccessCode(_0x1db4c0){const _0x17d84e={_0x2e4078:0x3ac,_0x492a00:0x67,_0x581ee1:0x1da,_0x4f1431:0x63e,_0x38b8f1:0x217,_0x45853d:0x2e8,_0x590d29:0x59d,_0x13e2e3:0x534,_0x3ed15e:0x4ca,_0x3e9f92:0x31f,_0x2ecfe1:0xaa,_0x1ba829:0x236,_0x34814e:0xf2,_0x56f496:0x1c7,_0x275e8a:0x306,_0x35337d:0x24a,_0x5f5588:0x57a,_0x1255c2:0x511,_0x123556:0xa2,_0x6eaad5:0x407,_0x248ec9:0xca,_0x35de28:0x29,_0x3211ad:0x6b,_0x4bdd5d:0x26e,_0x341170:0x4db,_0x10eac2:0x1db,_0x4ab46f:0xc8,_0x43ccb8:0x1eb,_0x1924a4:0xf3,_0xe63b1c:0x80,_0x35c147:0x1eb,_0x3e2444:0x3b5,_0x19efb1:0x60e,_0x7f1470:0x5d0,_0x52ec67:0x5a0,_0x59c5f6:0x47,_0x558aa5:0xc5,_0x19138c:0x4ab,_0xb56b1e:0x49a,_0x4a53af:0x4ab,_0x31521f:0x586,_0x51bbd4:0x204,_0x5bd950:0x548,_0x4070da:0x240,_0x214aaf:0x2a9,_0x4776ba:0x1c3,_0x4ffd85:0x45,_0x3206fc:0x439,_0x35e40e:0x2f9},_0xf310d7={_0x594e84:0x5ae},_0x208396={'ixDos':function(_0x25a868,_0x1f985c,_0x5a770e){return _0x25a868(_0x1f985c,_0x5a770e);},'YJfQj':_0x30314a(_0x17d84e._0x2e4078,0x2f2)+_0x23ea57(_0x17d84e._0x492a00,_0x17d84e._0x581ee1)};function _0x23ea57(_0x3dba6c,_0x359556){return _0x586208(_0x3dba6c- -_0xf310d7._0x594e84,_0x359556);}const _0x54d46d=readPairingConfig();function _0x30314a(_0x2fb9fe,_0xf1fa72){return _0x586208(_0xf1fa72- -0x1ac,_0x2fb9fe);}const _0x5650a3=normalizeHttpBase(_0x1db4c0?.['serverUr'+'l']??_0x54d46d?.[_0x30314a(_0x17d84e._0x4f1431,0x58a)+'l']??''),_0x3950a8=_0x1db4c0?.[_0x30314a(0x23d,_0x17d84e._0x38b8f1)+'d']??_0x54d46d?.['gatewayI'+'d']??'',_0x3d881e=_0x1db4c0?.[_0x23ea57(0xc8,_0x17d84e._0x45853d)+_0x30314a(0x43d,_0x17d84e._0x590d29)]??_0x54d46d?.[_0x30314a(_0x17d84e._0x13e2e3,_0x17d84e._0x3ed15e)+_0x30314a(_0x17d84e._0x3e9f92,_0x17d84e._0x590d29)]??'';if(!_0x5650a3||!_0x3950a8||!_0x3d881e)throw new Error(_0x23ea57(_0x17d84e._0x2ecfe1,0x2ae)+_0x23ea57(-_0x17d84e._0x1ba829,-0x1ce)+_0x23ea57(0xd4,_0x17d84e._0x34814e)+_0x23ea57(-0x68,-0x1)+_0x23ea57(_0x17d84e._0x56f496,-0x1c)+'.');const _0x1644d5=await _0x208396['ixDos'](postJsonWithCloudflareFallback,_0x5650a3+(_0x30314a(0x46d,_0x17d84e._0x275e8a)+'/access-'+_0x30314a(0x3a0,_0x17d84e._0x35337d)),{'method':_0x30314a(_0x17d84e._0x5f5588,_0x17d84e._0x1255c2),'headers':{'content-type':_0x23ea57(-0x110,-_0x17d84e._0x123556)+_0x30314a(0x5f3,0x469),'accept':_0x208396['YJfQj']},'body':JSON['stringif'+'y']({'gatewayId':_0x3950a8,'relaySecret':_0x3d881e,'displayName':_0x1db4c0?.[_0x30314a(_0x17d84e._0x6eaad5,0x30e)+_0x30314a(_0x17d84e._0x248ec9,0x1c2)]?.['trim']()||void 0x0})});if(!_0x1644d5[_0x23ea57(_0x17d84e._0x35de28,0x2d)]['ok'])throw await buildPairingRequestError(_0x23ea57(0x1f9,_0x17d84e._0x3211ad)+_0x23ea57(-_0x17d84e._0x4bdd5d,-_0x17d84e._0x341170)+_0x30314a(0x57f,0x3bb),_0x1644d5);const _0x24b666=await _0x1644d5[_0x30314a(_0x17d84e._0x10eac2,0x42b)][_0x23ea57(0x126,_0x17d84e._0x4ab46f)](),_0x13aef7={'serverUrl':_0x5650a3,'gatewayId':_0x24b666[_0x23ea57(-_0x17d84e._0x43ccb8,-_0x17d84e._0x1924a4)+'d'],'relaySecret':_0x3d881e,'relayUrl':_0x24b666['relayUrl'],'instanceId':_0x54d46d?.[_0x23ea57(_0x17d84e._0xe63b1c,-0x92)+'Id']??'inst-'+_0x24b666[_0x23ea57(-_0x17d84e._0x35c147,-_0x17d84e._0x3e2444)+'d'][_0x30314a(_0x17d84e._0x19efb1,_0x17d84e._0x7f1470)](-0xa),'displayName':_0x24b666['displayN'+'ame'],'createdAt':_0x54d46d?.[_0x30314a(_0x17d84e._0x52ec67,0x620)+'t']??new Date()[_0x23ea57(0x25,_0x17d84e._0x59c5f6)+_0x23ea57(0xc5,-0xd3)](),'updatedAt':new Date()[_0x30314a(0x559,0x427)+_0x23ea57(_0x17d84e._0x558aa5,-0x157)]()};return writePairingConfig(_0x13aef7),{'config':_0x13aef7,'accessCode':_0x24b666[_0x30314a(0x331,_0x17d84e._0x19138c)+'de'],'accessCodeExpiresAt':_0x24b666[_0x30314a(_0x17d84e._0xb56b1e,_0x17d84e._0x4a53af)+_0x30314a(_0x17d84e._0x31521f,0x3fb)+_0x23ea57(-_0x17d84e._0x51bbd4,0x73)],'action':_0x30314a(0x3b8,0x61f)+'d','qrPayload':buildPairingQrPayload({'server':_0x5650a3,'gatewayId':_0x24b666[_0x30314a(0x3f9,0x217)+'d'],'accessCode':_0x24b666[_0x30314a(_0x17d84e._0x5bd950,0x4ab)+'de'],'displayName':_0x24b666[_0x23ea57(-0xf4,-0x8a)+_0x23ea57(-_0x17d84e._0x4070da,-_0x17d84e._0x214aaf)],'token':_0x1db4c0?.['gatewayT'+_0x23ea57(_0x17d84e._0x4776ba,0x49)]?.[_0x30314a(0x135,0x2f9)]()||null,'password':_0x1db4c0?.[_0x30314a(0x85b,0x607)+_0x23ea57(_0x17d84e._0x4ffd85,0x220)]?.[_0x30314a(_0x17d84e._0x3206fc,_0x17d84e._0x35e40e)]()||null})};}function normalizeHttpBase(_0x29d872){const _0xded34f={_0x5b568c:0x666,_0x820141:0x44c,_0xdd951f:0x4de,_0x488481:0x523,_0x12a8a5:0xcd,_0x8ff166:0x32c,_0x396c2a:0x872,_0x398dd5:0x6ba,_0x3f1471:0x512,_0x1440eb:0x6e0,_0x106b65:0x7ac,_0x44d057:0x3f4,_0x2add30:0x3fc,_0x274d75:0x3e4,_0x2a7d96:0x4ae,_0x473aad:0x4ab,_0x3cd997:0x32c,_0x39d22d:0x35b,_0x4b2f67:0x45b},_0x305c0f={_0x5c43aa:0x7a},_0x1914cb=_0x29d872['trim']();if(!_0x1914cb)return'';if(_0x1914cb[_0x6a9a28(_0xded34f._0x5b568c,0x5f2)+'th'](_0x3fadfd(0x619,_0xded34f._0x820141))||_0x1914cb['startsWi'+'th'](_0x3fadfd(_0xded34f._0xdd951f,_0xded34f._0x488481)))return _0x1914cb[_0x6a9a28(_0xded34f._0x12a8a5,_0xded34f._0x8ff166)](/\/+$/,'');if(_0x1914cb[_0x3fadfd(_0xded34f._0x396c2a,_0xded34f._0x398dd5)+'th'](_0x6a9a28(0x683,0x545)))return(_0x6a9a28(0x567,0x384)+_0x1914cb[_0x6a9a28(_0xded34f._0x3f1471,0x72e)]('ws://'[_0x3fadfd(_0xded34f._0x1440eb,_0xded34f._0x106b65)]))[_0x3fadfd(0x397,_0xded34f._0x44d057)](/\/+$/,'');function _0x6a9a28(_0x3b1f45,_0x18bec2){return _0x586208(_0x18bec2- -0x4e,_0x3b1f45);}function _0x3fadfd(_0x10ddb3,_0x3435e4){return _0x586208(_0x3435e4-_0x305c0f._0x5c43aa,_0x10ddb3);}if(_0x1914cb[_0x6a9a28(_0xded34f._0x2add30,0x5f2)+'th'](_0x3fadfd(_0xded34f._0x274d75,_0xded34f._0x2a7d96)))return('https://'+_0x1914cb[_0x6a9a28(0x95b,0x72e)]('wss://'[_0x6a9a28(0x65f,0x6e4)]))[_0x6a9a28(_0xded34f._0x473aad,_0xded34f._0x3cd997)](/\/+$/,'');return(_0x6a9a28(_0xded34f._0x39d22d,_0xded34f._0x4b2f67)+_0x1914cb)['replace'](/\/+$/,'');}function assessPairingCompatibility(_0x5dced8,_0x1dfe1e){const _0x57905f={_0x2563a0:0x3c,_0x577342:0x33,_0xba0d8:0x1c3},_0x4c2ba1={_0x57c525:0x4b5};if(!_0x5dced8)return _0x59c48e(0x1da,-0x4e)+_0x59c48e(-_0x57905f._0x2563a0,_0x57905f._0x577342);function _0x59c48e(_0x4f2a0d,_0x1f7cec){return _0x586208(_0x1f7cec- -_0x4c2ba1._0x57c525,_0x4f2a0d);}if(_0x5dced8['serverUr'+'l']===_0x1dfe1e)return'refresh-'+_0x59c48e(0x3a8,0x2bb);function _0x24adff(_0x46a2ae,_0x52317d){return _0x586208(_0x52317d- -0x496,_0x46a2ae);}return _0x24adff(0x2c4,_0x57905f._0xba0d8)+_0x59c48e(0x4b9,0x308);}async function postJsonWithCloudflareFallback(_0x4b8497,_0x349ff2){const _0x1f2854={_0xd48b97:0x561,_0x4b35f7:0xd0,_0x446fe9:0x4f7,_0x249430:0x521},_0xebf303={_0x21f94d:0x8a},_0x34612e=await fetch(_0x4b8497,_0x349ff2),_0x378867=resolveCloudflareChallengeFallbackUrl(_0x4b8497,_0x34612e);function _0x148413(_0x201dfd,_0x27e88d){return _0x586208(_0x27e88d- -_0xebf303._0x21f94d,_0x201dfd);}if(!_0x378867){const _0x3e56fc={};return _0x3e56fc['response']=_0x34612e,_0x3e56fc[_0x148413(_0x1f2854._0xd48b97,0x3ec)+_0x32442b(_0x1f2854._0x4b35f7,0x34e)]=_0x4b8497,_0x3e56fc[_0x148413(_0x1f2854._0x446fe9,_0x1f2854._0x249430)+'Url']=null,_0x3e56fc;}function _0x32442b(_0x2c642,_0xd9d6cb){return _0x586208(_0xd9d6cb- -0x3cf,_0x2c642);}return{'response':await fetch(_0x378867,_0x349ff2),'attemptedUrl':_0x4b8497,'fallbackUrl':_0x378867};}async function buildPairingRequestError(_0x725082,_0x1ac15f){const _0xf5bfa6={_0x5357cf:0x4c6,_0xf35cc:0x172,_0x5196c:0x30e,_0x4b3460:0x365,_0x229077:0x6d5,_0x306f76:0x185,_0x28e00d:0x24,_0x24ce17:0x54d,_0x3a8664:0x4f1,_0x5ed505:0x3e7,_0x19e2be:0x21d,_0xdc5e6:0x63a,_0x498494:0x147,_0x2b29ae:0x154,_0x13d5a8:0x466,_0x39dffd:0x913,_0x2a203f:0x4c5,_0x2c1e28:0x38e,_0x3583d1:0x2b5,_0x28ad1a:0x322,_0x307d9f:0x6fc,_0x5c492d:0x25f,_0x173101:0x72b,_0x486546:0x6ce,_0x35596c:0xf0,_0x3c69c9:0x37e,_0x1c5cf1:0x1be,_0x3dd58c:0x3e9,_0x43013c:0x16},_0xb3805={_0x1ff832:0x111},_0x3ac35f={_0x91e6e0:0x58d};function _0x593e29(_0x5cba72,_0x18eacf){return _0x586208(_0x18eacf- -_0x3ac35f._0x91e6e0,_0x5cba72);}function _0x531f82(_0x349068,_0x17440a){return _0x586208(_0x17440a- -_0xb3805._0x1ff832,_0x349068);}if(isCloudflareChallengeResponse(_0x1ac15f[_0x531f82(0x741,_0xf5bfa6._0x5357cf)])){const _0x459727=new URL(_0x1ac15f[_0x593e29(-0x112,0x1e)+_0x593e29(-_0xf5bfa6._0xf35cc,0xd1)]??_0x1ac15f[_0x531f82(_0xf5bfa6._0x5196c,_0xf5bfa6._0x4b3460)+'dUrl'])[_0x531f82(0x68b,0x654)],_0x794cc5=_0x1ac15f['fallback'+_0x531f82(_0xf5bfa6._0x229077,0x54d)]?'\x20Automat'+_0x593e29(-0xd5,_0xf5bfa6._0x306f76)+_0x593e29(_0xf5bfa6._0x28e00d,0x64)+_0x1ac15f[_0x593e29(-0xa9,0x1e)+_0x531f82(0x3cf,_0xf5bfa6._0x24ce17)]+(_0x593e29(0xad,-0x153)+_0x531f82(_0xf5bfa6._0x3a8664,_0xf5bfa6._0x5ed505)+_0x531f82(0x434,0x5c5)+_0x593e29(-_0xf5bfa6._0x19e2be,-0x1a1)+'.'):'';return new Error(_0x725082+(_0x531f82(0x547,_0xf5bfa6._0xdc5e6)+'(')+_0x1ac15f[_0x593e29(0x153,0x4a)]['status']+(_0x593e29(-0x33c,-_0xf5bfa6._0x498494)+_0x593e29(-_0xf5bfa6._0x2b29ae,-0x240)+_0x531f82(_0xf5bfa6._0x13d5a8,0x651)+'blocked\x20'+_0x593e29(-0xeb,-0x107)+_0x531f82(_0xf5bfa6._0x39dffd,0x71c)+_0x531f82(0x715,_0xf5bfa6._0x2a203f))+_0x459727+'.'+_0x794cc5+(_0x531f82(0x5c7,0x64f)+'rom\x20a\x20di'+_0x593e29(_0xf5bfa6._0x2c1e28,_0xf5bfa6._0x3583d1)+_0x531f82(0x937,0x712)+_0x531f82(0x3ce,_0xf5bfa6._0x28ad1a)+_0x531f82(0x453,0x637)+'y\x20endpoi'+_0x531f82(0x64c,_0xf5bfa6._0x307d9f)+_0x593e29(_0xf5bfa6._0x5c492d,0x9)+'\x20require'+'\x20browser'+_0x531f82(_0xf5bfa6._0x173101,_0xf5bfa6._0x486546)+_0x593e29(_0xf5bfa6._0x35596c,0xe8)));}return new Error(_0x725082+(_0x593e29(_0xf5bfa6._0x3c69c9,_0xf5bfa6._0x1c5cf1)+'(')+_0x1ac15f['response'][_0x593e29(-0x25f,-0x20d)]+_0x593e29(_0xf5bfa6._0x3dd58c,0x288)+summarizeFailedResponse(await _0x1ac15f[_0x593e29(_0xf5bfa6._0x43013c,0x4a)]['text']()));}function isCloudflareChallengeResponse(_0x22e2c8){const _0x258648={_0x4e63ae:0x102,_0x5af6fe:0x37c,_0x408c51:0x23d,_0x56844d:0x1d1,_0x42d368:0x5d7,_0x2b72ba:0x825,_0x37c257:0x4,_0x3aff2f:0x6a0},_0x2e88fc={_0x544e0b:0x4a1},_0xe3da9a={_0x194f36:0x1ac};function _0x36aeb9(_0x519345,_0x55e241){return _0x586208(_0x519345- -_0xe3da9a._0x194f36,_0x55e241);}function _0x1b6495(_0x23f9c9,_0x1eb8a9){return _0x586208(_0x23f9c9- -_0x2e88fc._0x544e0b,_0x1eb8a9);}return _0x22e2c8[_0x1b6495(-0x121,0x9f)]===0x193&&_0x22e2c8[_0x1b6495(-_0x258648._0x4e63ae,0xfa)][_0x36aeb9(_0x258648._0x5af6fe,0x14c)](_0x36aeb9(_0x258648._0x408c51,_0x258648._0x56844d)+_0x36aeb9(_0x258648._0x42d368,_0x258648._0x2b72ba))?.[_0x1b6495(_0x258648._0x37c257,-0x167)]()[_0x1b6495(0x243,-0x36)+_0x36aeb9(0x5fe,_0x258648._0x3aff2f)]()===_0x36aeb9(0x1fd,0x2ab)+'e';}function resolveCloudflareChallengeFallbackUrl(_0x244ecf,_0x2512f7){const _0x1024f1={_0xfcbc2e:0x1ad,_0x4f860e:0x30c,_0x374b27:0x3a5,_0x23697f:0x33d,_0x35b230:0x2b7,_0x19605f:0xbb},_0x58c791={_0x1c7543:0xa4},_0x58dff5={'FQyvt':function(_0x186920,_0x386779){return _0x186920(_0x386779);},'GYiKL':function(_0x588d29,_0x271085){return _0x588d29!==_0x271085;}};if(!_0x58dff5[_0x44778b(_0x1024f1._0xfcbc2e,-0x31)](isCloudflareChallengeResponse,_0x2512f7))return null;function _0x44778b(_0x3261c7,_0x32fd79){return _0x586208(_0x32fd79- -0x4ae,_0x3261c7);}const _0x23b37f=new URL(_0x244ecf);function _0x5aca20(_0x134c14,_0x59b545){return _0x586208(_0x134c14- -_0x58c791._0x1c7543,_0x59b545);}if(_0x58dff5[_0x5aca20(_0x1024f1._0x4f860e,_0x1024f1._0x374b27)](_0x23b37f[_0x44778b(_0x1024f1._0x23697f,_0x1024f1._0x35b230)],DEFAULT_REGISTRY_BASE))return null;return''+DEFAULT_REGISTRY_FALLBACK_BASE+_0x23b37f[_0x44778b(_0x1024f1._0x19605f,-0x113)]+_0x23b37f['search'];}function summarizeFailedResponse(_0x5c55c9){const _0x32a721={_0x3f9e3c:0x453,_0x3b07e4:0x3f6,_0x14fe5f:0x56e,_0x368531:0x92c,_0x1573cc:0x81d,_0x4ec539:0x30e,_0x5a42a8:0x444},_0x36c072={_0x562752:0x68},_0x108cc0={};_0x108cc0['lXnSl']='Empty\x20re'+_0x1b1a23(0x3d8,_0x32a721._0x3f9e3c)+_0x1b1a23(_0x32a721._0x3b07e4,0x5b2),_0x108cc0['BEwYM']=function(_0x23f05a,_0x5c3108){return _0x23f05a<=_0x5c3108;};const _0x554a56=_0x108cc0;function _0x1a406d(_0x413fe6,_0x1f08bb){return _0x14f19b(_0x1f08bb-_0x36c072._0x562752,_0x413fe6);}const _0xbc5366=_0x5c55c9[_0x1b1a23(0x1f9,0x3d7)](/\s+/g,'\x20')[_0x1b1a23(0x324,0x441)]();function _0x1b1a23(_0x397ebe,_0xb746ab){return _0x14f19b(_0x397ebe- -0x1ba,_0xb746ab);}if(!_0xbc5366)return _0x554a56[_0x1a406d(0x53c,_0x32a721._0x14fe5f)];if(_0x554a56[_0x1b1a23(0x6ae,0x471)](_0xbc5366[_0x1b1a23(0x5b1,0x33a)],0xf0))return _0xbc5366;return _0xbc5366[_0x1a406d(_0x32a721._0x368531,_0x32a721._0x1573cc)](0x0,0xed)+_0x1a406d(_0x32a721._0x4ec539,_0x32a721._0x5a42a8);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x500bce,mkdirSync as _0x1a8f09,openSync,readFileSync as _0x2164bf,realpathSync,rmSync as _0x1a75e2,writeFileSync as _0x2ceca8}from'fs';import{homedir as _0x130b0f}from'os';import{dirname,join as _0x1a86d5}from'path';var SERVICE_LABEL='ai.clawk'+_0x14f19b(0x701,0x7df)+'e.cli',SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x14f19b(0x5d2,0x519),WINDOWS_RUN_KEY=_0x586208(0x3a2,0x141)+'ridgeCli',SERVICE_DIR=_0x1a86d5(_0x130b0f(),_0x586208(0x6ee,0x698)),LOG_DIR=_0x1a86d5(SERVICE_DIR,_0x14f19b(0x3a4,0x5aa)),SERVICE_STATE_PATH=_0x1a86d5(SERVICE_DIR,'bridge-s'+_0x14f19b(0x3ec,0x668)+_0x586208(0x6f1,0x644)),RUNTIME_REGISTRY_PATH=_0x1a86d5(SERVICE_DIR,_0x586208(0x440,0x5ed)+_0x586208(0x7fa,0xa72)+'rocesses'+_0x586208(0x7ca,0x885)),SERVICE_LAUNCHER_PATH=_0x1a86d5(SERVICE_DIR,'bridge-s'+'ervice-l'+_0x14f19b(0x583,0x7b5)+'sh'),LINUX_CRON_RECORD_PATH=_0x1a86d5(SERVICE_DIR,_0x586208(0x7c6,0x8b6)+_0x586208(0x3fe,0x481)+'ron'),SERVICE_LOG_PATH=_0x1a86d5(LOG_DIR,_0x14f19b(0x694,0x4f6)+_0x586208(0x407,0x379)),SERVICE_ERROR_LOG_PATH=_0x1a86d5(LOG_DIR,_0x586208(0x65b,0x704)+'li-error'+'.log'),MACOS_PLIST_PATH=_0x1a86d5(_0x130b0f(),_0x586208(0x628,0x478),_0x14f19b(0x391,0x256)+_0x14f19b(0x3be,0x473),SERVICE_LABEL+_0x14f19b(0x752,0x6ae)),LINUX_SERVICE_PATH=_0x1a86d5(_0x130b0f(),_0x14f19b(0x536,0x34e),_0x586208(0x67b,0x5db),'user',SYSTEMD_UNIT_NAME),LINUX_CRON_MARKER=_0x14f19b(0x3b4,0x14c)+_0x586208(0x35f,0x14e)+_0x14f19b(0x5a8,0x748);function getServiceProgramArgs(_0x597016={},_0x5c7e71=process['platform']){const _0x1d0721={_0x315bff:0x53e,_0x131179:0x40f,_0x1e0fe7:0x107,_0xd799a9:0x397,_0x1b8672:0x450,_0x1160f0:0xd6,_0x44dd9a:0x6f6,_0x5c0173:0x8e7,_0x30d976:0x4f2,_0x5f5d65:0x45b,_0x406a67:0x8f5,_0x40e8ef:0x522,_0x23dd91:0x2de,_0x529d1a:0x166,_0x1a3073:0xfc,_0xfd72f4:0x676,_0x5e04b7:0x431,_0x301330:0x66c},_0xf2f74e={_0x264c63:0x3d7},_0x35513f={};function _0x5164cb(_0x3c9927,_0x3e03f2){return _0x14f19b(_0x3e03f2- -_0xf2f74e._0x264c63,_0x3c9927);}_0x35513f['VSAmx']=_0x57cb90(_0x1d0721._0x315bff,0x75d)+'e';const _0xb7e9cc=_0x35513f,_0x57caf4=_0x597016[_0x57cb90(0x4a5,_0x1d0721._0x131179)]?.[_0x5164cb(0x208,_0x1d0721._0x1e0fe7)]()||process[_0x57cb90(0x3c8,_0x1d0721._0xd799a9)],_0x3c6729=resolveScriptPath(_0x597016['scriptPa'+'th']);if(!_0x3c6729)throw new Error(_0x57cb90(_0x1d0721._0x1b8672,0x4ae)+_0x5164cb(0x34e,_0x1d0721._0x1160f0)+_0x57cb90(_0x1d0721._0x44dd9a,_0x1d0721._0x5c0173)+_0x5164cb(_0x1d0721._0x30d976,0x44d)+_0x5164cb(0x597,_0x1d0721._0x5f5d65)+_0x57cb90(0x6a2,_0x1d0721._0x406a67)+_0x57cb90(_0x1d0721._0x40e8ef,0x473)+_0x57cb90(0x3f6,_0x1d0721._0x23dd91));function _0x57cb90(_0x2f8fa9,_0x4aed53){return _0x14f19b(_0x2f8fa9- -0x2e,_0x4aed53);}if(_0x5c7e71!==_0x5164cb(-0x5f,_0x1d0721._0x529d1a)){const _0x572715={};_0x572715[_0x5164cb(0xb5,_0x1d0721._0x1a3073)]=_0x57caf4,_0x572715[_0x5164cb(0x1bf,-0x39)+'th']=_0x3c6729,_0x572715[_0x57cb90(_0x1d0721._0xfd72f4,0x57b)]=process.env.PATH??'';const _0x870541=writeServiceLauncher(_0x572715);return ensureLaunchScriptExecutable(_0x870541,_0x5c7e71),[_0x870541];}return[_0x57caf4,_0x3c6729,_0x57cb90(_0x1d0721._0x5e04b7,0x35a),_0xb7e9cc[_0x57cb90(_0x1d0721._0x301330,0x4e1)]];}function getServiceStatus(){const _0x30186a={_0xe96f45:0xde,_0x5f1768:0x431,_0x43b076:0x493,_0xc7c9df:0x46d,_0x48d539:0x1f9,_0x55e3e8:0x439,_0x4e3475:0x594,_0x500c63:0x1d0,_0x10df4e:0x72,_0x52f808:0x422,_0x2dde18:0x65e,_0xf3bde4:0x4e1,_0x1dda03:0x4ff,_0x208a79:0x1a3,_0x15d91f:0x4c4,_0x973e27:0x422,_0x3d1052:0x55b,_0x5c74ba:0x6b,_0x2e149d:0xe5,_0x399d92:0x348,_0xa978e5:0x335,_0x4de42f:0x6b,_0x4bf121:0x16d,_0x3ec99a:0x24f,_0x5a860c:0x3ce,_0x4a0701:0xed,_0x19598a:0x5d1,_0x27d811:0x2f5,_0x250374:0xfd,_0x2eec76:0x4b3,_0x5ae913:0x22f},_0x8e6c0c={_0x40cab1:0x311},_0x439b2b={'YLogW':function(_0x46c4f4){return _0x46c4f4();},'bmXBm':function(_0x3690ad,_0x3bdbb1){return _0x3690ad!=_0x3bdbb1;},'mZMNi':_0x20ce4f(0x3d5,0x5cc)+'ent','StBbi':function(_0x20dba6,_0x74a00d){return _0x20dba6(_0x74a00d);},'iWppm':function(_0x214ea4,_0x1a3926,_0x1ceb98){return _0x214ea4(_0x1a3926,_0x1ceb98);},'iTxvS':'systemd-'+_0x20ce4f(_0x30186a._0xe96f45,0x2aa),'gtnbl':_0x20ce4f(0x1ff,_0x30186a._0x5f1768)+'e','JktNB':'--quiet','DyFpe':'windows-'+'run-regi'+_0x2a7168(0x357,0x2d9)};function _0x2a7168(_0x193622,_0x3c1a04){return _0x14f19b(_0x3c1a04- -_0x8e6c0c._0x40cab1,_0x193622);}ensureServiceDirs();const _0x8be76f=_0x439b2b[_0x2a7168(0x6f1,_0x30186a._0x43b076)](readServiceState)?.[_0x20ce4f(0x439,_0x30186a._0xc7c9df)]??null;function _0x20ce4f(_0x30e03f,_0x44f5cf){return _0x14f19b(_0x30e03f- -0x3ee,_0x44f5cf);}const _0x568d46=detectServiceMethod(),_0x3f3aac={'installed':![],'running':_0x439b2b[_0x20ce4f(0x2a7,_0x30186a._0x48d539)](_0x8be76f,null)&&isPidRunning(_0x8be76f),'method':_0x568d46,'servicePath':getServicePath(_0x568d46),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x8be76f};_0x3f3aac[_0x20ce4f(_0x30186a._0x55e3e8,_0x30186a._0x4e3475)]!=null&&!_0x3f3aac[_0x2a7168(_0x30186a._0x500c63,_0x30186a._0x10df4e)]&&(clearServiceState(_0x3f3aac[_0x2a7168(0x67d,0x516)]),_0x3f3aac[_0x2a7168(0x2af,0x516)]=null);switch(_0x3f3aac[_0x2a7168(0x28f,0x13a)]){case _0x439b2b['mZMNi']:_0x3f3aac[_0x20ce4f(_0x30186a._0x52f808,_0x30186a._0x2dde18)+'d']=_0x439b2b[_0x2a7168(0x3af,0x240)](_0x500bce,MACOS_PLIST_PATH);_0x3f3aac[_0x2a7168(_0x30186a._0xf3bde4,_0x30186a._0x1dda03)+'d']&&(_0x3f3aac[_0x20ce4f(-0x6b,-_0x30186a._0x208a79)]=_0x439b2b[_0x2a7168(0x34b,_0x30186a._0x15d91f)](commandSucceeds,_0x20ce4f(0x203,0x3bc)+'l',['list',SERVICE_LABEL])||_0x3f3aac[_0x2a7168(0x77,0x72)]);return _0x3f3aac;case _0x439b2b[_0x2a7168(0x380,0x481)]:_0x3f3aac[_0x20ce4f(_0x30186a._0x973e27,_0x30186a._0x3d1052)+'d']=_0x500bce(LINUX_SERVICE_PATH);_0x3f3aac['installe'+'d']&&(_0x3f3aac[_0x20ce4f(-_0x30186a._0x5c74ba,_0x30186a._0x2e149d)]=_0x439b2b[_0x20ce4f(0x3e7,_0x30186a._0x399d92)](commandSucceeds,_0x2a7168(0x217,_0x30186a._0xa978e5)+'l',[_0x2a7168(0x6ae,0x47c),_0x439b2b[_0x2a7168(0x27b,0x31f)],_0x439b2b['JktNB'],SYSTEMD_UNIT_NAME])||_0x3f3aac[_0x20ce4f(-_0x30186a._0x4de42f,-_0x30186a._0x4bf121)]);return _0x3f3aac;case _0x2a7168(0x184,_0x30186a._0x3ec99a)+_0x2a7168(_0x30186a._0x5a860c,0x51f):_0x3f3aac[_0x2a7168(0x6e7,0x4ff)+'d']=hasLinuxCronRegistration();return _0x3f3aac;case _0x439b2b[_0x2a7168(_0x30186a._0x4a0701,0x17d)]:_0x3f3aac[_0x20ce4f(0x422,_0x30186a._0x19598a)+'d']=commandSucceeds(_0x2a7168(0x224,_0x30186a._0x27d811),[_0x20ce4f(0x2b2,_0x30186a._0x250374),'HKCU\x5cSof'+_0x2a7168(0x5b9,_0x30186a._0x2eec76)+_0x20ce4f(0xc4,-0x2f)+_0x2a7168(0x326,0x537)+_0x2a7168(0x399,0x4a9)+_0x20ce4f(_0x30186a._0x5ae913,0x2b1)+'un','/v',WINDOWS_RUN_KEY]);return _0x3f3aac;default:return _0x3f3aac;}}function installService(_0x3cde7e={}){const _0x4b58ff={_0x487479:0x684,_0x5db08a:0x747,_0x35360a:0x689,_0x340dc1:0x63c,_0x3ffa2c:0x4ff,_0x441f05:0x8c1,_0x2097b2:0x7fb,_0x373638:0x90b,_0x225d67:0x876,_0x3082cd:0x61b,_0x43789c:0x746,_0x11d5c2:0x95c,_0x1a352a:0x93f,_0x18313f:0x711,_0x321a2f:0x919,_0x2a4c2f:0x64c,_0xdd838c:0x610,_0xbc4cba:0x5fd,_0x29923f:0x482,_0x2ae177:0x509,_0x53b6de:0x8d0,_0x25bf93:0x722,_0x44959c:0x91b,_0x49f541:0xaab,_0x34fb22:0x647,_0x29c247:0x5e0,_0x3e42d8:0x837,_0x1dc3e7:0x7b4,_0x36143c:0x948,_0x54daa3:0xb02,_0x2085d5:0x4d4,_0x412dba:0x5ac,_0x26c7d2:0x6ad,_0x5a735c:0x7a5,_0x1cd90e:0x911,_0x369316:0xaf2},_0x49d3ad={_0x146617:0x16e},_0x301c6f={'jcrou':function(_0x7a9aa3,_0x47ad6c){return _0x7a9aa3(_0x47ad6c);},'sssSX':_0x3232db(_0x4b58ff._0x487479,0x726),'bikVD':_0x3232db(_0x4b58ff._0x5db08a,_0x4b58ff._0x35360a),'QiDah':function(_0x5af978,_0x54f13b,_0x3f26f2){return _0x5af978(_0x54f13b,_0x3f26f2);},'bmtmp':'launchct'+'l','hlSlr':_0x3232db(_0x4b58ff._0x340dc1,_0x4b58ff._0x3ffa2c)};function _0x3232db(_0x2d1799,_0xd99313){return _0x586208(_0x2d1799-_0x49d3ad._0x146617,_0xd99313);}ensureServiceDirs();const _0x26cb01=_0x301c6f['jcrou'](getServiceProgramArgs,_0x3cde7e);function _0x4c0c02(_0x31f46f,_0x36d82e){return _0x586208(_0x36d82e-0x10c,_0x31f46f);}switch(process[_0x4c0c02(0xa65,_0x4b58ff._0x441f05)]){case _0x301c6f[_0x3232db(_0x4b58ff._0x2097b2,0x9dc)]:_0x2ceca8(MACOS_PLIST_PATH,buildMacosPlist(_0x26cb01,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x301c6f[_0x3232db(_0x4b58ff._0x373638,_0x4b58ff._0x225d67)]),_0x301c6f[_0x4c0c02(_0x4b58ff._0x3082cd,0x58f)](execIgnoreFailure,'launchct'+'l',[_0x3232db(_0x4b58ff._0x43789c,_0x4b58ff._0x11d5c2),'-w',MACOS_PLIST_PATH]),execFileSync(_0x301c6f[_0x4c0c02(0x65e,0x82a)],[_0x3232db(_0x4b58ff._0x1a352a,0x91a),'-w',MACOS_PLIST_PATH],{'stdio':_0x301c6f[_0x3232db(_0x4b58ff._0x18313f,_0x4b58ff._0x321a2f)]});break;case _0x4c0c02(0x781,0x910):installLinuxService(_0x26cb01);break;case _0x4c0c02(_0x4b58ff._0x2a4c2f,_0x4b58ff._0xdd838c):stopRunningProcess();const _0x5e11a9={};_0x5e11a9[_0x4c0c02(_0x4b58ff._0xbc4cba,_0x4b58ff._0x29923f)]=_0x4c0c02(0x61f,0x5da),execFileSync(_0x4c0c02(0x76e,0x6d9),[_0x4c0c02(0x736,_0x4b58ff._0x2ae177),_0x4c0c02(_0x4b58ff._0x53b6de,_0x4b58ff._0x25bf93)+'tware\x5cMi'+'crosoft\x5c'+_0x4c0c02(0x714,_0x4b58ff._0x44959c)+_0x4c0c02(_0x4b58ff._0x49f541,0x88d)+_0x3232db(0x752,0x569)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x4c0c02(_0x4b58ff._0x34fb22,_0x4b58ff._0x29c247),'/d',buildWindowsRunCommand(_0x26cb01),'/f'],_0x5e11a9),_0x301c6f[_0x4c0c02(_0x4b58ff._0x3e42d8,0x891)](startDetachedWindowsService,_0x26cb01);break;default:throw new Error(_0x4c0c02(0x88b,_0x4b58ff._0x1dc3e7)+_0x3232db(_0x4b58ff._0x36143c,_0x4b58ff._0x54daa3)+_0x3232db(_0x4b58ff._0x2085d5,0x25f)+_0x4c0c02(_0x4b58ff._0x412dba,0x5f6)+_0x4c0c02(0x44c,_0x4b58ff._0x26c7d2)+_0x4c0c02(_0x4b58ff._0x5a735c,0x678)+_0x4c0c02(0xb40,_0x4b58ff._0x1cd90e)+process[_0x4c0c02(_0x4b58ff._0x369316,0x8c1)]);}return getServiceStatus();}function restartService(_0x16f824={}){const _0x1aaf51={_0x4a2f8d:0x519,_0x3d565a:0xa87,_0x36577b:0x5a4,_0x285dc9:0x75b,_0x4d93c8:0x75a,_0x4db37a:0x4df,_0x4d1585:0x866,_0x34e588:0x686,_0x3e9af4:0x650,_0x2db4a7:0x6d2,_0x2cccb4:0x703,_0xfb4a3a:0x7de,_0x5ede1c:0x72a,_0x1f00f2:0x6d7,_0x29c3a8:0x6cd,_0x494ac5:0x3f8,_0xb7fa39:0x656,_0x544c2a:0x5f4,_0x48b87c:0x4f1,_0x2b7d52:0x561,_0x4a3f87:0x435,_0x5dd549:0x937,_0x8f39a8:0x639,_0x29f9d8:0x806},_0x40b338={'PmGIb':_0x5eb670(0x525,0x5b7),'oInWA':_0x5eb670(_0x1aaf51._0x4a2f8d,0x37c),'Zqskk':'add','sVPMV':function(_0x5460c3){return _0x5460c3();}};ensureServiceDirs();function _0x7c82c5(_0x589383,_0x2395b2){return _0x586208(_0x2395b2-0x182,_0x589383);}const _0x5bc33e=getServiceProgramArgs(_0x16f824);function _0x5eb670(_0x2f7e67,_0x1d20a0){return _0x586208(_0x2f7e67- -0xb4,_0x1d20a0);}switch(process[_0x7c82c5(_0x1aaf51._0x3d565a,0x937)]){case _0x7c82c5(0x79f,0x698):if(!_0x500bce(MACOS_PLIST_PATH))return installService(_0x16f824);_0x2ceca8(MACOS_PLIST_PATH,buildMacosPlist(_0x5bc33e,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x40b338[_0x7c82c5(0x5ff,0x5ed)]),execIgnoreFailure(_0x7c82c5(_0x1aaf51._0x36577b,0x73a)+'l',[_0x7c82c5(_0x1aaf51._0x285dc9,_0x1aaf51._0x4d93c8),'-w',MACOS_PLIST_PATH]);const _0x2d43cd={};_0x2d43cd['stdio']='ignore',execFileSync(_0x5eb670(0x504,0x6b4)+'l',[_0x5eb670(0x71d,_0x1aaf51._0x4db37a),'-w',MACOS_PLIST_PATH],_0x2d43cd);break;case _0x5eb670(0x750,0x85d):restartLinuxService(_0x5bc33e);break;case _0x7c82c5(_0x1aaf51._0x4d1585,_0x1aaf51._0x34e588):stopRunningProcess();const _0x1fa2e0={};_0x1fa2e0['stdio']=_0x7c82c5(0x5ea,_0x1aaf51._0x3e9af4),execFileSync(_0x40b338[_0x5eb670(_0x1aaf51._0x2db4a7,0x8cf)],[_0x40b338[_0x5eb670(_0x1aaf51._0x2cccb4,_0x1aaf51._0xfb4a3a)],_0x5eb670(0x562,_0x1aaf51._0x5ede1c)+_0x5eb670(_0x1aaf51._0x1f00f2,0x555)+_0x5eb670(0x3c5,0x635)+_0x5eb670(0x75b,0x5c2)+_0x5eb670(_0x1aaf51._0x29c3a8,0x942)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t',_0x7c82c5(_0x1aaf51._0x494ac5,_0x1aaf51._0xb7fa39),'/d',buildWindowsRunCommand(_0x5bc33e),'/f'],_0x1fa2e0),startDetachedWindowsService(_0x5bc33e);break;default:throw new Error(_0x5eb670(_0x1aaf51._0x544c2a,_0x1aaf51._0x48b87c)+_0x5eb670(0x726,_0x1aaf51._0x2b7d52)+_0x5eb670(0x2b2,0x222)+_0x7c82c5(_0x1aaf51._0x4a3f87,0x66c)+_0x5eb670(0x4ad,0x4c7)+_0x5eb670(0x742,0x7a2)+process[_0x7c82c5(0x73c,_0x1aaf51._0x5dd549)]);}return _0x40b338[_0x7c82c5(_0x1aaf51._0x8f39a8,_0x1aaf51._0x29f9d8)](getServiceStatus);}function uninstallService(){const _0x257ffe={_0x32abe4:0x67b,_0x51aa5e:0x831,_0x41bfef:0x642,_0x576a6a:0x39d,_0x20d782:0x4d9,_0x4d173f:0x37b,_0x30f995:0x1fa,_0x5e5064:0x46d,_0x203bda:0x217,_0x1ed96e:0x4f4,_0x30d93b:0x42f,_0x393641:0x521,_0x1568e7:0x516,_0x5f206a:0x735,_0x3a6f79:0x571,_0x4bc96d:0x460,_0x14b8ff:0x41d,_0x29e0e6:0x31f,_0x49b7cb:0x22d,_0x2cb187:0x1ae,_0x586886:0x61a,_0x45a765:0x51d,_0xd3cb3d:0x74f,_0x2f8ddf:0x3e9,_0x2e9c80:0x5f8,_0x3f91eb:0x3b7,_0x4407f9:0x3b9},_0x18367={_0x3dc43a:0x189},_0x24c13={_0x473a3b:0x22d},_0x42579f={'hPzDE':function(_0x5f1952,_0x4d4fca,_0x10df09){return _0x5f1952(_0x4d4fca,_0x10df09);},'cRDQN':_0x35ae50(_0x257ffe._0x32abe4,_0x257ffe._0x51aa5e),'IByKo':function(_0x66ee9b,_0x32c128){return _0x66ee9b(_0x32c128);},'HbMwj':'systemct'+'l','ZQsRV':_0x425884(0x527,_0x257ffe._0x41bfef),'cDXBm':_0x425884(_0x257ffe._0x576a6a,0x5c2)+_0x35ae50(_0x257ffe._0x20d782,0x575),'PYQkE':function(_0x3a2123){return _0x3a2123();},'wgMmR':_0x35ae50(_0x257ffe._0x4d173f,_0x257ffe._0x30f995),'SUloJ':'reg','yDMtN':function(_0x2c1a46){return _0x2c1a46();}};stopRunningProcess();switch(process[_0x35ae50(0x62c,_0x257ffe._0x5e5064)]){case _0x425884(0x2e9,_0x257ffe._0x203bda):_0x42579f[_0x35ae50(_0x257ffe._0x1ed96e,0x28c)](execIgnoreFailure,_0x35ae50(_0x257ffe._0x30d93b,_0x257ffe._0x393641)+'l',[_0x425884(0x3ab,0x31b),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x42579f['cRDQN']:_0x42579f[_0x35ae50(_0x257ffe._0x1568e7,_0x257ffe._0x5f206a)](_0x500bce,LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x42579f[_0x35ae50(_0x257ffe._0x3a6f79,_0x257ffe._0x4bc96d)],['--user',_0x35ae50(_0x257ffe._0x14b8ff,0x2ed),'--now',SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure('systemct'+'l',[_0x42579f[_0x35ae50(_0x257ffe._0x29e0e6,_0x257ffe._0x49b7cb)],_0x42579f['cDXBm']]));_0x42579f[_0x35ae50(0x316,_0x257ffe._0x2cb187)](removeLinuxCronRegistration);break;case _0x42579f[_0x35ae50(0x4da,0x26d)]:execIgnoreFailure(_0x42579f[_0x425884(_0x257ffe._0x586886,0x5ce)],[_0x35ae50(_0x257ffe._0x45a765,_0x257ffe._0xd3cb3d),_0x425884(_0x257ffe._0x2f8ddf,0x1ce)+_0x425884(0x55e,0x55d)+'crosoft\x5c'+_0x425884(0x5e2,0x6f4)+_0x35ae50(_0x257ffe._0x2e9c80,0x600)+_0x425884(_0x257ffe._0x3f91eb,_0x257ffe._0x4407f9)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}_0x42579f[_0x35ae50(0x37c,0x12a)](clearServiceState);function _0x425884(_0x36dafb,_0x5876da){return _0x586208(_0x36dafb- -_0x24c13._0x473a3b,_0x5876da);}function _0x35ae50(_0x46b46e,_0x1dced9){return _0x586208(_0x46b46e- -_0x18367._0x3dc43a,_0x1dced9);}return getServiceStatus();}function stopService(){const _0x5f2482={_0x4a8940:0x7b1,_0x2c4765:0x699,_0x5a5e58:0x2fb,_0x957653:0x287,_0x414be6:0x344,_0x1015ed:0x664,_0x3a05ff:0x456,_0x2e69f8:0x82d,_0x21dcc2:0x7e0,_0x2ce339:0x772,_0x42fa7d:0x82a,_0x420119:0x64e,_0x9b87b7:0x4d2},_0x54ace6={_0x564ae2:0x8c},_0x4bf72={'KcwZo':_0x4dbf2e(0x890,_0x5f2482._0x4a8940),'wbwCx':function(_0x18238c,_0x4f6c4f){return _0x18238c(_0x4f6c4f);},'QttOb':_0x4dbf2e(_0x5f2482._0x2c4765,0x667)+'l','QcnTM':'win32'};stopRunningProcess();switch(process[_0x2b663f(_0x5f2482._0x5a5e58,0x541)]){case _0x4dbf2e(0x5a2,0x4d7):_0x500bce(MACOS_PLIST_PATH)&&execIgnoreFailure(_0x2b663f(_0x5f2482._0x957653,_0x5f2482._0x414be6)+'l',[_0x4dbf2e(_0x5f2482._0x1015ed,_0x5f2482._0x3a05ff),MACOS_PLIST_PATH]);break;case _0x4bf72['KcwZo']:_0x4bf72[_0x4dbf2e(0x775,_0x5f2482._0x2e69f8)](_0x500bce,LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x4bf72[_0x2b663f(0x5df,0x55c)],[_0x4dbf2e(_0x5f2482._0x21dcc2,0x767),_0x4dbf2e(_0x5f2482._0x2ce339,_0x5f2482._0x42fa7d),SYSTEMD_UNIT_NAME]);break;case _0x4bf72[_0x4dbf2e(_0x5f2482._0x420119,_0x5f2482._0x9b87b7)]:break;default:break;}function _0x4dbf2e(_0x41d773,_0x1f56f1){return _0x586208(_0x41d773-_0x54ace6._0x564ae2,_0x1f56f1);}function _0x2b663f(_0x2a2f17,_0x490d22){return _0x586208(_0x490d22- -0x274,_0x2a2f17);}return clearServiceState(),getServiceStatus();}function writeServiceState(_0x221b57=process[_0x586208(0x7ee,0x5fc)]){const _0x2d2e2d={_0x3c2e1a:0x106,_0x175802:0xfc,_0x1c9e38:0x7b,_0x50fc08:0x4e1,_0x1f615d:0x4dc,_0xf9994e:0x3f};function _0x11097e(_0x407aad,_0x45a909){return _0x14f19b(_0x407aad- -0x12b,_0x45a909);}const _0x1c3d20={'CdOKc':function(_0x576c74){return _0x576c74();},'Lxzsm':function(_0x50d7c4,_0x2ef671){return _0x50d7c4+_0x2ef671;},'yyLTg':_0x371c77(0x49,-_0x2d2e2d._0x3c2e1a)};_0x1c3d20[_0x371c77(-_0x2d2e2d._0x175802,_0x2d2e2d._0x1c9e38)](ensureServiceDirs);function _0x371c77(_0x2606c2,_0x48366a){return _0x14f19b(_0x2606c2- -0x5c9,_0x48366a);}const _0x3d97cf={'pid':_0x221b57,'startedAt':new Date()[_0x11097e(_0x2d2e2d._0x50fc08,0x372)+_0x11097e(0x581,_0x2d2e2d._0x1f615d)]()};_0x2ceca8(SERVICE_STATE_PATH,_0x1c3d20[_0x371c77(0x149,0x11b)](JSON[_0x371c77(-_0x2d2e2d._0xf9994e,-0xc9)+'y'](_0x3d97cf,null,0x2),'\x0a'),_0x1c3d20[_0x371c77(-0x188,-0x192)]);}function registerRuntimeProcess(_0xd4b160){const _0x31e432={_0x4bf856:0xb8,_0x311068:0x1f6,_0x271766:0x2ad,_0xde39c7:0x41b,_0x3cddc8:0x510,_0x435045:0x868,_0x53cdc6:0x78a,_0x5d93cb:0x5dd,_0x37be41:0x3f1,_0x432298:0x115,_0xfd4665:0xb9},_0x30dce4={_0x51a61:0x631},_0x584c9a={'UrCND':function(_0x557f38,_0x26ecc6){return _0x557f38(_0x26ecc6);}};ensureServiceDirs();function _0x4f5ccc(_0x585181,_0x41281a){return _0x14f19b(_0x41281a- -_0x30dce4._0x51a61,_0x585181);}function _0xe7dc33(_0x6a16ef,_0x49e5d0){return _0x14f19b(_0x49e5d0-0x114,_0x6a16ef);}const _0x401c0a={'pid':_0xd4b160[_0x4f5ccc(0x3a3,0x1f6)]??process[_0x4f5ccc(_0x31e432._0x4bf856,_0x31e432._0x311068)],'startedAt':_0xd4b160[_0x4f5ccc(-0x26e,-_0x31e432._0x271766)+'t']??new Date()[_0xe7dc33(0x80f,0x720)+'ing'](),'gatewayId':_0xd4b160[_0xe7dc33(_0x31e432._0xde39c7,_0x31e432._0x3cddc8)+'d'],'instanceId':_0xd4b160[_0x4f5ccc(0x222,0x36)+'Id'],'serviceMode':_0xd4b160[_0xe7dc33(_0x31e432._0x435045,0x92e)+_0xe7dc33(_0x31e432._0x53cdc6,_0x31e432._0x5d93cb)],'scriptPath':_0x584c9a[_0xe7dc33(0x727,0x77f)](resolveScriptPath,_0xd4b160[_0xe7dc33(_0x31e432._0x37be41,0x4b2)+'th'])},_0xe7e77f=readRuntimeRegistry()[_0x4f5ccc(_0x31e432._0x432298,_0x31e432._0xfd4665)](_0x2702c1=>_0x2702c1[_0x4f5ccc(0x2c3,0x1f6)]!==_0x401c0a[_0x4f5ccc(0x47,0x1f6)])['concat'](_0x401c0a);writeRuntimeRegistry(_0xe7e77f);}function unregisterRuntimeProcess(_0x1ea2aa=process['pid']){const _0x241191={_0x10a289:0x1e},_0x747644={_0x502e1e:0xd1},_0x234e5c={_0x33db26:0x55a},_0x3b055d={'hHgZi':function(_0x204f4e,_0xb3efbc){return _0x204f4e(_0xb3efbc);}};function _0x386a4b(_0x252acf,_0x4b9345){return _0x14f19b(_0x252acf- -_0x234e5c._0x33db26,_0x4b9345);}function _0x24c533(_0x448c6c,_0x13bbf0){return _0x14f19b(_0x448c6c- -_0x747644._0x502e1e,_0x13bbf0);}const _0x30db9c=readRuntimeRegistry()['filter'](_0x2c4f15=>_0x2c4f15[_0x24c533(0x756,0x585)]!==_0x1ea2aa);_0x3b055d[_0x386a4b(_0x241191._0x10a289,0x2a)](writeRuntimeRegistry,_0x30db9c);}function listRuntimeProcesses(_0x44ddb5={}){const _0x26a8ab={_0x2c4039:0x6ac,_0x73af5e:0x4ae,_0x1f4ae4:0x436,_0x3b8b5b:0x284,_0x5891e0:0x3ae,_0x36460d:0x361,_0x1aa178:0x81b,_0xa826b8:0x272,_0x31d378:0x30f,_0x2f4c6f:0x479},_0x2101fc={_0x3750cf:0xac},_0x815d9b={'JXlHA':function(_0x42597e,_0x21416b){return _0x42597e(_0x21416b);}};function _0x26c0a1(_0x39a6f8,_0x1dc56f){return _0x586208(_0x39a6f8- -_0x2101fc._0x3750cf,_0x1dc56f);}const _0x3385f4=_0x815d9b[_0x26c0a1(_0x26a8ab._0x2c4039,0x6c9)](resolveScriptPath,_0x44ddb5[_0x26c0a1(0x2b9,_0x26a8ab._0x73af5e)+'th']),_0x54dcf2=readRuntimeRegistry();function _0x33a91c(_0x5e9f0c,_0x2780f2){return _0x586208(_0x2780f2- -0x43f,_0x5e9f0c);}const _0x133296=[..._0x54dcf2],_0x49219d=new Set(_0x54dcf2[_0x26c0a1(_0x26a8ab._0x1f4ae4,0x2e3)](_0x38ae7f=>_0x38ae7f['pid']));for(const _0x56fe68 of listPosixRuntimePids(_0x3385f4)){if(_0x49219d[_0x33a91c(_0x26a8ab._0x3b8b5b,0x150)](_0x56fe68))continue;_0x133296[_0x33a91c(0x153,_0x26a8ab._0x5891e0)]({'pid':_0x56fe68,'startedAt':new Date(0x0)[_0x26c0a1(0x527,_0x26a8ab._0x36460d)+_0x26c0a1(0x5c7,_0x26a8ab._0x1aa178)](),'gatewayId':'','instanceId':'','serviceMode':![],'scriptPath':_0x3385f4});}return _0x133296[_0x33a91c(0x27a,_0x26a8ab._0xa826b8)](_0x15c61e=>isPidRunning(_0x15c61e[_0x26c0a1(0x742,0x9c1)]))[_0x26c0a1(_0x26a8ab._0x31d378,_0x26a8ab._0x2f4c6f)]((_0xc60a28,_0x3d4104)=>_0xc60a28[_0x26c0a1(0x742,0x79c)]-_0x3d4104[_0x26c0a1(0x742,0x8c0)]);}function stopRuntimeProcesses(_0x5558e1={}){const _0x7c7f51={_0x537ee9:0x17e,_0x4afa1e:0x4,_0x3cab61:0x16,_0x2d89ba:0x116,_0x97f0fe:0x176,_0x4efd61:0x236,_0x51e23c:0x5b,_0x34987b:0x85,_0x5e5af6:0x1a9,_0x3b6845:0x3b8,_0x5bdc04:0x2b0,_0x49af66:0x373,_0x5c407f:0xb3,_0x19e62a:0x142},_0x1664c7={_0x4a9ce4:0x51c},_0x560e0a={_0x6b0767:0x4b4},_0x360a97={'KmQTk':function(_0x5d26c5,_0x575234){return _0x5d26c5(_0x575234);},'CwNPY':function(_0x1174e9,_0x4ca49a){return _0x1174e9===_0x4ca49a;},'ObumO':'win32','eULiH':_0x19f286(-0x2d2,-0xa2),'vlUpx':function(_0x4b81f4,_0x3c33f1,_0x508a3d){return _0x4b81f4(_0x3c33f1,_0x508a3d);},'ksVgN':function(_0x11393f,_0x18e023){return _0x11393f(_0x18e023);}};function _0x19f286(_0x555d45,_0x1e0710){return _0x14f19b(_0x1e0710- -_0x560e0a._0x6b0767,_0x555d45);}const _0xaeee5a={};_0xaeee5a[_0x416927(-_0x7c7f51._0x537ee9,_0x7c7f51._0x4afa1e)+'th']=_0x5558e1[_0x19f286(-_0x7c7f51._0x3cab61,-_0x7c7f51._0x2d89ba)+'th'];const _0x1970ea=_0x360a97[_0x19f286(_0x7c7f51._0x97f0fe,0x35a)](listRuntimeProcesses,_0xaeee5a),_0x18b0f0=_0x1970ea[_0x19f286(0x463,_0x7c7f51._0x4efd61)](_0x16c082=>_0x16c082[_0x416927(0x30b,0x49d)]!==(_0x5558e1[_0x19f286(0x353,0x34a)+'id']??-0x1));if(_0x360a97['CwNPY'](process[_0x416927(0x2d2,0x3a2)],_0x360a97[_0x416927(0x338,0x4e8)]))for(const _0x375402 of _0x18b0f0){execIgnoreFailure(_0x19f286(_0x7c7f51._0x51e23c,-0x27),[_0x360a97[_0x19f286(-_0x7c7f51._0x34987b,_0x7c7f51._0x5e5af6)],String(_0x375402['pid']),'/T','/F']);}else{for(const _0xaee43c of _0x18b0f0){execIgnoreFailure(_0x416927(0x248,_0x7c7f51._0x3b6845),[_0x19f286(-0x180,0xf8),String(_0xaee43c['pid'])]);}for(const _0x106592 of _0x18b0f0){!_0x360a97[_0x19f286(0x27d,0x5b)](waitForPidExit,_0x106592['pid'],0xbb8)&&execIgnoreFailure(_0x19f286(0xac,_0x7c7f51._0x5bdc04),['-KILL',String(_0x106592[_0x19f286(0x394,_0x7c7f51._0x49af66)])]);}}const _0x3d3395=readRuntimeRegistry()[_0x19f286(0x444,0x236)](_0xe43b6a=>!_0x18b0f0[_0x19f286(0x3e3,0x2dc)](_0x3dc265=>_0x3dc265['pid']===_0xe43b6a[_0x19f286(0x17e,0x373)]));_0x360a97[_0x19f286(0xd5,_0x7c7f51._0x5c407f)](writeRuntimeRegistry,_0x3d3395);const _0x4f83d0=readServiceState();_0x4f83d0&&_0x18b0f0['some'](_0x99a2ce=>_0x99a2ce['pid']===_0x4f83d0['pid'])&&clearServiceState();function _0x416927(_0x5c94d2,_0x408d90){return _0x14f19b(_0x5c94d2- -_0x1664c7._0x4a9ce4,_0x408d90);}return _0x18b0f0[_0x19f286(_0x7c7f51._0x19e62a,0x67)](_0x43df7d=>_0x43df7d[_0x416927(0x30b,0x19e)]);}function clearServiceState(_0xe96f10){const _0x515f40={_0x490da3:0x662,_0x4165c2:0x4b5,_0x308540:0x483},_0x285d33={_0xa6ff36:0x4e7},_0x48cc38={_0x59856e:0x18c};function _0x12bfd0(_0x480878,_0xa43301){return _0x586208(_0x480878- -_0x48cc38._0x59856e,_0xa43301);}const _0x5c75fc={'Oiouu':function(_0xa86998,_0x5e5ac6){return _0xa86998(_0x5e5ac6);}};if(!_0x500bce(SERVICE_STATE_PATH))return;if(_0xe96f10!=null){const _0x550b9f=readServiceState();if(_0x550b9f&&_0x550b9f[_0x12bfd0(_0x515f40._0x490da3,_0x515f40._0x4165c2)]!==_0xe96f10)return;}function _0xe3b364(_0xaaaaf9,_0x464d3a){return _0x586208(_0x464d3a- -_0x285d33._0xa6ff36,_0xaaaaf9);}_0x5c75fc[_0xe3b364(_0x515f40._0x308540,0x216)](rmIfExists,SERVICE_STATE_PATH);}function getServicePaths(){const _0xa116a6={_0x2fc658:0x91a},_0x4cba76={'UfKDW':function(_0x137d9d,_0x383300){return _0x137d9d(_0x383300);}};function _0x981ee4(_0x2ea1d0,_0xf7a34f){return _0x14f19b(_0x2ea1d0-0x83,_0xf7a34f);}return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':_0x4cba76[_0x981ee4(0x86c,_0xa116a6._0x2fc658)](getServicePath,detectServiceMethod())};}function buildMacosPlist(_0x35fdd5,_0x12d113,_0x438772){const _0x3f06b7={_0x48892c:0xb0,_0x46e8c5:0x40c,_0x110d14:0x483,_0x5f35da:0x177,_0x244db3:0x272,_0x4512b1:0x3a6,_0x708109:0x1ae,_0x58656d:0x2ad,_0x3c27b9:0xc3,_0x4f59be:0x280,_0x2e3ff2:0x29f,_0x5c6294:0xa2,_0x202ea9:0x39a,_0x49b1db:0x2f1,_0x118540:0x2a5,_0x420046:0x323,_0x6323c5:0x16a,_0x4d7b18:0x3a4,_0x34c5d0:0x60,_0x409b1d:0x149,_0x2ffe02:0x65,_0x4aed8d:0x26,_0x1615df:0x1e9,_0x254f51:0x11,_0x4ef1a0:0x360,_0x19fefd:0x1c3,_0x231d7b:0x2ac,_0x3f335b:0x1af,_0x33bc92:0x211,_0x4c3195:0x2f9,_0x120655:0xe8,_0x3b7dce:0x48e,_0x84fcef:0x31,_0x3a7026:0xf8,_0x13276b:0x261,_0x28b810:0x3c5,_0x168de6:0x3d5,_0x59e0c9:0x197,_0x449de7:0x3d0,_0x316466:0x2b7,_0x42c7ff:0x212,_0x3ee137:0x2dd},_0x20fd8f={_0x3d4e8e:0x3db},_0x4b7965={_0x12874f:0x46b};function _0x2b3873(_0x56b2b7,_0x5b08bb){return _0x14f19b(_0x56b2b7- -_0x4b7965._0x12874f,_0x5b08bb);}function _0x3e117a(_0x4dd4e2,_0x1480f9){return _0x14f19b(_0x4dd4e2- -_0x20fd8f._0x3d4e8e,_0x1480f9);}const _0x86e27a={'jZxqs':function(_0x339656,_0x344d56){return _0x339656(_0x344d56);}},_0x1ec9f2=_0x35fdd5[_0x2b3873(_0x3f06b7._0x48892c,-0xd9)](_0x5d4473=>_0x2b3873(0xbd,-0x10c)+_0x2b3873(0x37b,0x59a)+escapeXml(_0x5d4473)+(_0x2b3873(0x261,0x46a)+'>'))[_0x3e117a(_0x3f06b7._0x46e8c5,_0x3f06b7._0x110d14)]('\x0a');return _0x2b3873(-0xf0,-0x10b)+_0x2b3873(_0x3f06b7._0x5f35da,_0x3f06b7._0x244db3)+_0x2b3873(0x12b,0x1bf)+_0x2b3873(_0x3f06b7._0x4512b1,0x1ea)+_0x2b3873(0x1f7,0x26c)+'!DOCTYPE'+'\x20plist\x20P'+_0x3e117a(_0x3f06b7._0x708109,_0x3f06b7._0x58656d)+'//Apple/'+_0x3e117a(-0x24,-0x31)+'ST\x201.0//'+'EN\x22\x20\x22htt'+_0x2b3873(0x5,_0x3f06b7._0x3c27b9)+_0x3e117a(0x5f,_0x3f06b7._0x4f59be)+_0x2b3873(0x30c,0x586)+_0x2b3873(0x388,0x5dd)+_0x2b3873(_0x3f06b7._0x2e3ff2,0x3f9)+_0x3e117a(_0x3f06b7._0x3c27b9,0xb0)+'list\x20ver'+_0x2b3873(-_0x3f06b7._0x5c6294,-0x9e)+_0x3e117a(0x4a1,0x586)+_0x2b3873(0x2aa,_0x3f06b7._0x202ea9)+_0x2b3873(0x2d6,0x2c7)+_0x3e117a(0x222,0x3bc)+'<string>'+SERVICE_LABEL+(_0x3e117a(_0x3f06b7._0x49b1db,_0x3f06b7._0x118540)+_0x2b3873(_0x3f06b7._0x420046,0x166)+_0x2b3873(_0x3f06b7._0x6323c5,0x1d5)+_0x2b3873(_0x3f06b7._0x4d7b18,0x155)+_0x2b3873(_0x3f06b7._0x34c5d0,-0x126)+_0x2b3873(0x315,_0x3f06b7._0x409b1d)+'>\x0a')+_0x1ec9f2+('\x0a\x20\x20</arr'+_0x3e117a(0x258,_0x3f06b7._0x2ffe02)+_0x2b3873(-_0x3f06b7._0x4aed8d,-0x9)+_0x3e117a(_0x3f06b7._0x1615df,_0x3f06b7._0x254f51)+_0x2b3873(_0x3f06b7._0x4ef1a0,_0x3f06b7._0x19fefd)+_0x2b3873(0x1b4,0x2)+'key>Keep'+_0x3e117a(_0x3f06b7._0x231d7b,_0x3f06b7._0x3f335b)+'ey>\x0a\x20\x20<t'+_0x2b3873(0x3d4,_0x3f06b7._0x33bc92)+_0x2b3873(0x1e6,_0x3f06b7._0x4c3195)+_0x2b3873(_0x3f06b7._0x120655,0x26a)+_0x3e117a(0x33d,0x3db)+_0x3e117a(_0x3f06b7._0x3b7dce,0x389)+_0x3e117a(_0x3f06b7._0x84fcef,_0x3f06b7._0x3a7026))+escapeXml(_0x12d113)+(_0x2b3873(_0x3f06b7._0x13276b,_0x3f06b7._0x28b810)+'>\x0a\x20\x20<key'+_0x2b3873(_0x3f06b7._0x168de6,0x57c)+_0x3e117a(_0x3f06b7._0x420046,_0x3f06b7._0x59e0c9)+'th</key>'+_0x2b3873(_0x3f06b7._0x449de7,0x53f)+_0x3e117a(0x1d8,_0x3f06b7._0x316466))+_0x86e27a[_0x3e117a(0x151,0x359)](escapeXml,_0x438772)+(_0x3e117a(_0x3f06b7._0x49b1db,_0x3f06b7._0x42c7ff)+_0x2b3873(0x308,0x220)+_0x3e117a(0x2c6,_0x3f06b7._0x3ee137)+'t>\x0a');}function buildLinuxSystemdUnit(_0x90573d,_0x596532,_0x252562){const _0x543bdb={_0x4e00be:0xf0,_0x38ab7d:0xc2,_0x21908b:0xa8,_0x3f1257:0x1dd,_0x85b4ec:0xf9,_0x56eb95:0x604,_0xe260a0:0x9b,_0x1b3013:0x458,_0x451915:0xa4,_0x5e9c1a:0x1c9,_0x464f7b:0x200,_0x3a5514:0x37a,_0xe8f2b6:0x1b0,_0x372b96:0x19c,_0x1347d3:0x154,_0x3d79a3:0x3d0,_0x2bb628:0x5b9,_0x366c80:0x24b,_0xd9328d:0x1f8,_0x978feb:0x90,_0x3b55f7:0x7a,_0x1cae19:0x73,_0x21beaf:0xe3,_0x5294b6:0x89,_0x337280:0xc4,_0x3775a7:0x47b,_0x47b8dc:0x2ab,_0x517477:0x7d,_0x3788b2:0x19b},_0x14002d={_0x3e6927:0x5d9},_0x5dbdd4={'Xgeqt':function(_0x5155ba,_0x3b55fa){return _0x5155ba(_0x3b55fa);}},_0x2f071e=_0x90573d[_0x4594a7(_0x543bdb._0x4e00be,0xa0)](escapeSystemdArg)[_0x4594a7(0x5a3,0x36c)]('\x20');function _0x4594a7(_0x599f3c,_0x4a8c58){return _0x14f19b(_0x4a8c58- -0x47b,_0x599f3c);}function _0x1c7809(_0x1c76d3,_0x540208){return _0x14f19b(_0x540208- -_0x14002d._0x3e6927,_0x1c76d3);}return _0x1c7809(-0xaa,0xe1)+'escripti'+_0x1c7809(_0x543bdb._0x38ab7d,_0x543bdb._0x21908b)+_0x4594a7(_0x543bdb._0x3f1257,_0x543bdb._0x85b4ec)+_0x4594a7(_0x543bdb._0x56eb95,0x3a4)+_0x1c7809(0x113,_0x543bdb._0xe260a0)+'ork-onli'+_0x4594a7(0xcb,0xe3)+_0x1c7809(_0x543bdb._0x1b3013,0x271)+_0x4594a7(0x121,-_0x543bdb._0x451915)+_0x4594a7(_0x543bdb._0x5e9c1a,0x2e6)+'arget\x0a\x0a['+_0x4594a7(0x43,0x1e1)+_0x4594a7(0x1cb,0x325)+_0x4594a7(-0xb6,0x6a)+'cStart='+_0x2f071e+(_0x1c7809(-0xe0,0x186)+_0x4594a7(_0x543bdb._0x464f7b,0x211)+_0x1c7809(_0x543bdb._0x3a5514,0x22f)+_0x1c7809(_0x543bdb._0xe8f2b6,_0x543bdb._0x372b96)+_0x4594a7(_0x543bdb._0x1347d3,0xc1)+_0x4594a7(_0x543bdb._0x3d79a3,0x1cc))+_0x5dbdd4[_0x4594a7(_0x543bdb._0x2bb628,0x381)](escapeSystemdArg,SERVICE_DIR)+(_0x1c7809(_0x543bdb._0x366c80,_0x543bdb._0xd9328d)+_0x4594a7(-_0x543bdb._0x978feb,-_0x543bdb._0x3b55f7)+_0x1c7809(-_0x543bdb._0x1cae19,-_0x543bdb._0x21beaf))+_0x596532+('\x0aStandar'+_0x4594a7(0xf6,_0x543bdb._0x5294b6)+'ppend:')+_0x252562+(_0x1c7809(-0xd7,_0x543bdb._0x337280)+_0x4594a7(_0x543bdb._0x3775a7,_0x543bdb._0x47b8dc)+'edBy=def'+_0x1c7809(-_0x543bdb._0x517477,-_0x543bdb._0x3788b2)+_0x4594a7(0x8f,0x203));}function buildLinuxCronEntry(_0x187d6c,_0x46d520,_0x14adf3){const _0x47c1b8={_0xd2397a:0x465,_0x4f2723:0x55a,_0x3ba46c:0xe5,_0x14181e:0x14},_0x9e1d10={_0x208c09:0x6f},_0x19d6a8={'OAdIl':function(_0x59c90a,_0x1c24d4){return _0x59c90a(_0x1c24d4);}},_0x5bee8=_0x187d6c[_0x13a687(0x7ef,0x58a)](escapeShellWord)['join']('\x20');function _0x13a687(_0x15a0bf,_0x1e0db1){return _0x14f19b(_0x1e0db1-_0x9e1d10._0x208c09,_0x15a0bf);}function _0x3bfae6(_0x4a2d3c,_0x1484f6){return _0x14f19b(_0x4a2d3c- -0x5ba,_0x1484f6);}return _0x13a687(_0x47c1b8._0xd2397a,0x647)+_0x5bee8+_0x13a687(_0x47c1b8._0x4f2723,0x531)+escapeShellWord(_0x46d520)+_0x3bfae6(0x17d,0x24f)+_0x19d6a8[_0x3bfae6(-_0x47c1b8._0x3ba46c,-_0x47c1b8._0x14181e)](escapeShellWord,_0x14adf3)+'\x20'+LINUX_CRON_MARKER;}function getServicePath(_0x5ce8d9){const _0x374e94={_0x31845c:0x609,_0x37ce5f:0x71a,_0x68cca5:0xac7,_0x12cbe8:0x8e6,_0xe7ab53:0xf4,_0x632bab:0x22a,_0x5f169f:0x863,_0x18f938:0xac2,_0x3a1b59:0x279,_0x41aff5:0x1aa,_0x397353:0x2c1},_0x5a08cd={};function _0x2ff43a(_0x212ec0,_0x12a51c){return _0x586208(_0x212ec0-0xe2,_0x12a51c);}_0x5a08cd['mIbcY']=_0x2ff43a(_0x374e94._0x31845c,_0x374e94._0x37ce5f)+_0x2ff43a(0x8d9,0x848);function _0x51d3c2(_0x408221,_0xc31ea7){return _0x586208(_0x408221- -0x561,_0xc31ea7);}const _0x4ce412=_0x5a08cd;switch(process[_0x2ff43a(0x897,_0x374e94._0x68cca5)]){case'darwin':return MACOS_PLIST_PATH;case _0x2ff43a(_0x374e94._0x12cbe8,0xa96):return _0x5ce8d9===_0x4ce412[_0x51d3c2(-0x1d9,0x7a)]?LINUX_CRON_RECORD_PATH:LINUX_SERVICE_PATH;case'win32':return _0x51d3c2(0xb5,_0x374e94._0xe7ab53)+_0x51d3c2(_0x374e94._0x632bab,0x3c7)+_0x51d3c2(-0xe8,-0x1d4)+_0x51d3c2(0x2ae,0x104)+_0x2ff43a(_0x374e94._0x5f169f,_0x374e94._0x18f938)+_0x51d3c2(0x83,_0x374e94._0x3a1b59)+_0x51d3c2(-_0x374e94._0x41aff5,-0x2f0)+'etBridge'+_0x51d3c2(0x1fc,_0x374e94._0x397353);default:return'';}}function _0x586208(_0xe5b9be,_0x6c2213){return _0x573e(_0xe5b9be-0x217,_0x6c2213);}function detectServiceMethod(){const _0x2abd50={_0x39e736:0x102,_0x441f63:0x141,_0x5675bf:0x31d,_0x35981a:0x203,_0xa4bb38:0x458,_0x8aacf5:0x2ef,_0x584b54:0x3f,_0x280d4e:0xf4,_0x5b6f49:0x60,_0x1277d0:0x2b3,_0x57ad55:0x7f,_0x3b8a19:0x5a,_0x27bd55:0x18c,_0x59d832:0x1ea,_0x352546:0x113,_0x597013:0x2ed,_0x306cba:0x270,_0x3ff3a4:0x36b,_0x1138b4:0xf0,_0x1e7749:0x15a,_0x19ae04:0x190,_0xf9e9e6:0x2a,_0x1b0d8d:0x26f},_0x428a06={_0x2c6627:0x44d},_0x444bf0={_0x4a5114:0x5c0},_0x79ab27={'XFejt':_0x2daebe(_0x2abd50._0x39e736,-0x81),'mMWIn':function(_0x5bce0d,_0x44adb2){return _0x5bce0d(_0x44adb2);},'BzhbJ':_0x2daebe(-0x19,-0x1d6)};function _0x28a9ba(_0x353082,_0x279af0){return _0x14f19b(_0x353082- -_0x444bf0._0x4a5114,_0x279af0);}function _0x2daebe(_0xe9377a,_0x58755f){return _0x14f19b(_0xe9377a- -_0x428a06._0x2c6627,_0x58755f);}switch(process[_0x28a9ba(0x22e,0x8d)]){case _0x79ab27[_0x2daebe(_0x2abd50._0x441f63,_0x2abd50._0x5675bf)]:return _0x28a9ba(_0x2abd50._0x35981a,_0x2abd50._0xa4bb38)+_0x28a9ba(-0xd6,-0x13c);case _0x28a9ba(0x27d,_0x2abd50._0x8aacf5):if(_0x500bce(LINUX_SERVICE_PATH))return _0x28a9ba(-0x1a7,-_0x2abd50._0x584b54)+_0x28a9ba(-_0x2abd50._0x280d4e,-0xaf);if(hasLinuxCronRegistration())return _0x28a9ba(-_0x2abd50._0x5b6f49,-_0x2abd50._0x1277d0)+'ontab';if(commandExists(_0x28a9ba(0x86,0x80)+'l'))return _0x2daebe(-0x34,0x1ec)+_0x2daebe(_0x2abd50._0x57ad55,_0x2abd50._0x3b8a19);if(_0x79ab27[_0x28a9ba(_0x2abd50._0x27bd55,_0x2abd50._0x59d832)](commandExists,_0x79ab27['BzhbJ']))return _0x2daebe(_0x2abd50._0x352546,_0x2abd50._0x597013)+_0x28a9ba(_0x2abd50._0x306cba,_0x2abd50._0x3ff3a4);return _0x2daebe(0x3ac,0x1b6)+'ted';case _0x2daebe(_0x2abd50._0x1138b4,_0x2abd50._0x1e7749):return'windows-'+_0x28a9ba(-_0x2abd50._0x19ae04,-0x2a9)+_0x28a9ba(_0x2abd50._0xf9e9e6,0x1a9);default:return'unsuppor'+_0x28a9ba(0x2ba,_0x2abd50._0x1b0d8d);}}function readServiceState(){const _0xe5168b={_0x4057b8:0x719,_0xd57808:0x709,_0xf3c99e:0x701,_0x4002b0:0x7e5,_0x335b6f:0x788,_0x12acdf:0x2c5,_0x364df5:0x56a,_0x4afc64:0x404,_0x3ce85c:0x4fb};function _0x2e02a4(_0x28d9c2,_0x2efc20){return _0x586208(_0x28d9c2- -0x69,_0x2efc20);}function _0x263989(_0x2024f6,_0x50f6fd){return _0x586208(_0x2024f6- -0x9,_0x50f6fd);}const _0x2c6040={'whETj':function(_0x141a4a,_0x49625a,_0x371645){return _0x141a4a(_0x49625a,_0x371645);}};if(!_0x500bce(SERVICE_STATE_PATH))return null;try{const _0x34583b=JSON[_0x263989(0x763,_0xe5168b._0x4057b8)](_0x2c6040[_0x2e02a4(_0xe5168b._0xd57808,0x4d0)](_0x2164bf,SERVICE_STATE_PATH,_0x263989(0x5d0,_0xe5168b._0xf3c99e)));if(!_0x34583b[_0x263989(_0xe5168b._0x4002b0,0x811)]||typeof _0x34583b['pid']!==_0x263989(_0xe5168b._0x335b6f,0x5be))return null;return{'pid':_0x34583b[_0x2e02a4(0x785,0x922)],'startedAt':_0x34583b[_0x2e02a4(0x2e2,_0xe5168b._0x12acdf)+'t']??new Date(0x0)[_0x2e02a4(_0xe5168b._0x364df5,_0xe5168b._0x4afc64)+_0x2e02a4(0x60a,_0xe5168b._0x3ce85c)]()};}catch{return null;}}function readRuntimeRegistry(){const _0x5ef65a={_0x34bd82:0x29a,_0x4924f9:0x2ac,_0x4b1e8f:0xf8,_0x4f46df:0x1e7,_0x21b141:0x1df,_0x5c051b:0x148},_0x232b91={_0x49b0df:0x72},_0x4723e8={_0x368f33:0x4d2},_0x1a7dff={};_0x1a7dff['Lzjyu']=_0x2d5224(0x107,0x1d6);function _0x2d5224(_0x29f3a2,_0x4c21cb){return _0x586208(_0x29f3a2- -_0x4723e8._0x368f33,_0x4c21cb);}function _0x25d6bf(_0x44c504,_0x21de22){return _0x586208(_0x21de22-_0x232b91._0x49b0df,_0x44c504);}const _0x2dad50=_0x1a7dff;if(!_0x500bce(RUNTIME_REGISTRY_PATH))return[];try{const _0x31bd2b=JSON[_0x2d5224(_0x5ef65a._0x34bd82,0x2be)](_0x2164bf(RUNTIME_REGISTRY_PATH,_0x2dad50[_0x2d5224(0x132,_0x5ef65a._0x4924f9)]));if(!Array[_0x2d5224(-_0x5ef65a._0x4b1e8f,-_0x5ef65a._0x4f46df)](_0x31bd2b))return[];const _0x1e6114=_0x31bd2b['map'](_0x518f20=>normalizeRuntimeProcessRecord(_0x518f20))[_0x2d5224(_0x5ef65a._0x21b141,_0x5ef65a._0x5c051b)](_0x16d8a7=>_0x16d8a7!=null&&isPidRunning(_0x16d8a7['pid']));return writeRuntimeRegistry(_0x1e6114),_0x1e6114;}catch{return[];}}function writeRuntimeRegistry(_0x2e3c9f){const _0x4a3284={_0x33a394:0x184,_0x5aa698:0x310,_0x53c37c:0x108,_0x998450:0x265,_0x2502cc:0x285,_0xd95543:0x5d};function _0x4678d2(_0x2499bd,_0x43a2e2){return _0x586208(_0x43a2e2- -0x47d,_0x2499bd);}function _0x8ec375(_0x3fd3a4,_0x3b87ae){return _0x586208(_0x3b87ae- -0x5ae,_0x3fd3a4);}const _0x51c804={'GnJHU':function(_0x443d46){return _0x443d46();},'JbjAF':function(_0xbdad0b,_0x459818){return _0xbdad0b+_0x459818;}};if(_0x2e3c9f[_0x8ec375(0x1ed,_0x4a3284._0x33a394)]===0x0){rmIfExists(RUNTIME_REGISTRY_PATH);return;}_0x51c804[_0x4678d2(-_0x4a3284._0x5aa698,-_0x4a3284._0x53c37c)](ensureServiceDirs),_0x2ceca8(RUNTIME_REGISTRY_PATH,_0x51c804[_0x8ec375(-0x3d6,-_0x4a3284._0x998450)](JSON[_0x8ec375(-_0x4a3284._0x2502cc,-_0x4a3284._0xd95543)+'y'](_0x2e3c9f,null,0x2),'\x0a'),'utf8');}function normalizeRuntimeProcessRecord(_0x39dfab){const _0x5f56bf={_0x357c20:0x62d,_0x30ea66:0x31c,_0x3420db:0x31d,_0x37e546:0x3aa,_0x154457:0x59c,_0x9299c7:0x165,_0x4ee8d1:0x390,_0x13784a:0x390,_0x43c02e:0x470,_0xb25750:0x749,_0x10c8f1:0x499,_0x1d5aa6:0x64e,_0x3e82a6:0x399,_0x115cb8:0x8a7,_0x292cd5:0x704,_0x5e27c2:0x60a,_0x90cfe5:0x4d2,_0x39cf98:0x8b7,_0x3cb98b:0x4d5},_0x1f9633={_0x4d4d4d:0x9d},_0x4f7937={'inWWL':_0xe24cf7(_0x5f56bf._0x357c20,0x447),'JYycS':_0xe24cf7(0x82f,0x867),'GKVhz':function(_0x35f335,_0x11b43a){return _0x35f335(_0x11b43a);},'GjwTU':'string'};if(!_0x39dfab||typeof _0x39dfab!==_0x4f7937[_0xe24cf7(0x5bf,0x7c8)])return null;function _0xe24cf7(_0x371243,_0x439ef4){return _0x14f19b(_0x439ef4-_0x1f9633._0x4d4d4d,_0x371243);}const _0x208ed1=_0x39dfab;if(!_0x208ed1[_0xe24cf7(0x7cf,0x8c4)]||typeof _0x208ed1['pid']!==_0x4f7937[_0x2a8758(_0x5f56bf._0x30ea66,0x4ba)])return null;const _0x4d541a=typeof _0x208ed1[_0x2a8758(_0x5f56bf._0x3420db,_0x5f56bf._0x37e546)+'th']==='string'?_0x4f7937[_0xe24cf7(_0x5f56bf._0x154457,0x4b1)](resolveScriptPath,_0x208ed1[_0x2a8758(_0x5f56bf._0x9299c7,0x3aa)+'th']):'';function _0x2a8758(_0x5c1c0b,_0x45fcf0){return _0x14f19b(_0x45fcf0-0xc,_0x5c1c0b);}if(!_0x4d541a)return null;return{'pid':_0x208ed1['pid'],'startedAt':typeof _0x208ed1[_0x2a8758(0x5c7,_0x5f56bf._0x4ee8d1)+'t']==='string'?_0x208ed1[_0x2a8758(0x226,_0x5f56bf._0x13784a)+'t']:new Date(0x0)[_0x2a8758(_0x5f56bf._0x43c02e,0x618)+_0xe24cf7(0x859,_0x5f56bf._0xb25750)](),'gatewayId':typeof _0x208ed1[_0xe24cf7(0x4e2,_0x5f56bf._0x10c8f1)+'d']===_0x2a8758(_0x5f56bf._0x1d5aa6,0x465)?_0x208ed1[_0xe24cf7(_0x5f56bf._0x3e82a6,_0x5f56bf._0x10c8f1)+'d']:'','instanceId':typeof _0x208ed1[_0xe24cf7(_0x5f56bf._0x115cb8,_0x5f56bf._0x292cd5)+'Id']===_0x4f7937[_0xe24cf7(_0x5f56bf._0x5e27c2,_0x5f56bf._0x90cfe5)]?_0x208ed1[_0xe24cf7(0x585,0x704)+'Id']:'','serviceMode':_0x208ed1[_0xe24cf7(0x766,_0x5f56bf._0x39cf98)+_0x2a8758(0x4a9,_0x5f56bf._0x3cb98b)]===!![],'scriptPath':_0x4d541a};}function stopRunningProcess(){const _0x1ada43={_0x8b7e8c:0x525,_0x2ab1ef:0x58c,_0x3e6781:0x7f5,_0x9a2c93:0x231,_0x16d07f:0x6dd,_0x2fe8ce:0x823,_0x9ad454:0x5ae,_0x4c9ecd:0x67f,_0x5a90c4:0x7a0,_0x57f229:0x95c};function _0x481c08(_0x242064,_0x55d0a1){return _0x586208(_0x242064-0x40,_0x55d0a1);}const _0x24e53c={'VmyYG':function(_0x5d79f5,_0x44843a,_0x58ec2b){return _0x5d79f5(_0x44843a,_0x58ec2b);},'zvTPh':_0x3474fe(_0x1ada43._0x8b7e8c,_0x1ada43._0x2ab1ef)};function _0x3474fe(_0x4d2ce7,_0x554139){return _0x586208(_0x4d2ce7- -0x4e,_0x554139);}const _0x885922=readServiceState();if(!_0x885922)return;_0x24e53c['VmyYG'](execIgnoreFailure,process[_0x481c08(_0x1ada43._0x3e6781,0x979)]===_0x3474fe(0x4b6,0x3f8)?_0x3474fe(0x406,_0x1ada43._0x9a2c93):_0x3474fe(_0x1ada43._0x16d07f,_0x1ada43._0x2fe8ce),process[_0x3474fe(0x767,_0x1ada43._0x9ad454)]===_0x481c08(0x544,_0x1ada43._0x4c9ecd)?[_0x3474fe(0x38b,0x3db),String(_0x885922[_0x3474fe(_0x1ada43._0x5a90c4,0x835)]),'/T','/F']:[_0x24e53c['zvTPh'],String(_0x885922[_0x481c08(0x82e,0x748)])]),clearServiceState(_0x885922[_0x3474fe(0x7a0,_0x1ada43._0x57f229)]);}function listPosixRuntimePids(_0x109e2c){const _0x42174d={_0x36b787:0x56,_0x1af5c9:0xa6,_0x596649:0x3ca,_0xbc60f3:0x645,_0x38b947:0x8b3,_0x33b348:0x602,_0x5bc9f1:0x8d3,_0x1794de:0x6d7,_0x1090d7:0x662,_0x3979cc:0x583,_0x4479cc:0x8ba,_0x300bac:0x6b9,_0x17a802:0x3df,_0x2853c8:0x5e0,_0x40eb0e:0x374,_0x5e28f1:0x2b4},_0x4e7b15={_0x37fc8b:0x680,_0x503c7f:0x567,_0x3c346e:0x62c,_0x4bffae:0x760,_0x544c50:0x7ba,_0x458fb5:0x612},_0x117842={_0x3ac1dd:0x502},_0x2b8b09={_0x32b53d:0x468};function _0x8723ff(_0x1d5633,_0x4d205a){return _0x14f19b(_0x1d5633- -_0x2b8b09._0x32b53d,_0x4d205a);}const _0x13f69e={};_0x13f69e[_0x8723ff(_0x42174d._0x36b787,_0x42174d._0x1af5c9)]=_0x32f261(_0x42174d._0x596649,_0x42174d._0xbc60f3)+'s=';const _0x5c4583=_0x13f69e;if(!_0x109e2c||process[_0x32f261(0xa2d,_0x42174d._0x38b947)]===_0x32f261(0x403,_0x42174d._0x33b348))return[];function _0x32f261(_0x165d0d,_0x107d58){return _0x14f19b(_0x107d58-0xc5,_0x165d0d);}try{const _0x574065={};_0x574065[_0x32f261(_0x42174d._0x5bc9f1,0x655)]=_0x32f261(0x5bf,_0x42174d._0x1794de);const _0x53e3c3=execFileSync('ps',['-ax','-o',_0x5c4583[_0x32f261(_0x42174d._0x1090d7,_0x42174d._0x3979cc)]],_0x574065);return _0x53e3c3[_0x32f261(_0x42174d._0x4479cc,_0x42174d._0x300bac)]('\x0a')[_0x32f261(_0x42174d._0x17a802,_0x42174d._0x2853c8)](_0xb8be86=>_0xb8be86['trim']())[_0x32f261(0x53f,0x7af)](Boolean)[_0x8723ff(_0x42174d._0x40eb0e,_0x42174d._0x5e28f1)](_0x37bbfc=>{function _0x235330(_0x58b52d,_0x4d91f9){return _0x8723ff(_0x58b52d-0x3a1,_0x4d91f9);}function _0x50963c(_0xdcb0ef,_0x278aa2){return _0x8723ff(_0x278aa2-_0x117842._0x3ac1dd,_0xdcb0ef);}const _0x68fd9d=_0x37bbfc[_0x50963c(0x7b0,_0x4e7b15._0x37fc8b)](/^(\d+)\s+(.*)$/);if(!_0x68fd9d)return[];const _0x40ca58=Number(_0x68fd9d[0x1]),_0x2e95e5=_0x68fd9d[0x2];if(!Number[_0x235330(_0x4e7b15._0x503c7f,_0x4e7b15._0x3c346e)+'r'](_0x40ca58)||_0x40ca58<=0x0||_0x40ca58===process[_0x235330(_0x4e7b15._0x4bffae,_0x4e7b15._0x544c50)])return[];if(!_0x2e95e5[_0x235330(_0x4e7b15._0x458fb5,0x647)](_0x109e2c))return[];if(!/\brun\b/[_0x235330(0x38f,0x444)](_0x2e95e5))return[];return[_0x40ca58];});}catch{return[];}}function isPidRunning(_0x28bd9a){const _0x16d947={_0x3c1f5b:0x73b};function _0x42aa8f(_0x15c242,_0x4fa7fa){return _0x586208(_0x15c242- -0x19d,_0x4fa7fa);}try{return process[_0x42aa8f(0x58e,_0x16d947._0x3c1f5b)](_0x28bd9a,0x0),!![];}catch{return![];}}function waitForPidExit(_0x5199fe,_0x1fed8b){const _0x44c41d={_0x17f778:0x777,_0x273873:0x5a6},_0x495921={_0x284f10:0x86},_0x2cc26d=Date[_0x1d5d19(0x6b6,_0x44c41d._0x17f778)]()+_0x1fed8b;function _0x1d5d19(_0xbc6f22,_0x116575){return _0x14f19b(_0x116575- -_0x495921._0x284f10,_0xbc6f22);}const _0x55b04c=new Int32Array(new SharedArrayBuffer(0x4));while(isPidRunning(_0x5199fe)){if(Date['now']()>=_0x2cc26d)return![];Atomics[_0x1d5d19(_0x44c41d._0x273873,0x67a)](_0x55b04c,0x0,0x0,0x32);}function _0xe2a0b8(_0x1dd526,_0xb96b76){return _0x14f19b(_0x1dd526-0x18a,_0xb96b76);}return!![];}function _0x573e(_0x3b67d6,_0x447897){_0x3b67d6=_0x3b67d6-0x129;const _0xa4388f=_0x1415();let _0xbe614a=_0xa4388f[_0x3b67d6];if(_0x573e['EZvhSB']===undefined){var _0x4cd244=function(_0x2f5248){const _0x24c6f5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x29f841='',_0x591303='',_0xd46fc2=_0x29f841+_0x4cd244;for(let _0x222ac0=0x0,_0x46b454,_0x6de7ff,_0x235d6b=0x0;_0x6de7ff=_0x2f5248['charAt'](_0x235d6b++);~_0x6de7ff&&(_0x46b454=_0x222ac0%0x4?_0x46b454*0x40+_0x6de7ff:_0x6de7ff,_0x222ac0++%0x4)?_0x29f841+=_0xd46fc2['charCodeAt'](_0x235d6b+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x46b454>>(-0x2*_0x222ac0&0x6)):_0x222ac0:0x0){_0x6de7ff=_0x24c6f5['indexOf'](_0x6de7ff);}for(let _0x216d89=0x0,_0x3c8a11=_0x29f841['length'];_0x216d89<_0x3c8a11;_0x216d89++){_0x591303+='%'+('00'+_0x29f841['charCodeAt'](_0x216d89)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x591303);};_0x573e['OzjvGk']=_0x4cd244,_0x573e['gGDuMS']={},_0x573e['EZvhSB']=!![];}const _0x1415b5=_0xa4388f[0x0],_0x573e4f=_0x3b67d6+_0x1415b5,_0x132680=_0x573e['gGDuMS'][_0x573e4f];if(!_0x132680){const _0xdf8b5f=function(_0x44ae1b){this['qgYKxM']=_0x44ae1b,this['PHOlCc']=[0x1,0x0,0x0],this['CUjvpz']=function(){return'newState';},this['RbEHzY']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['naktlg']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xdf8b5f['prototype']['zRkzyI']=function(){const _0x33bf8c=new RegExp(this['RbEHzY']+this['naktlg']),_0x31f72a=_0x33bf8c['test'](this['CUjvpz']['toString']())?--this['PHOlCc'][0x1]:--this['PHOlCc'][0x0];return this['vhTcKx'](_0x31f72a);},_0xdf8b5f['prototype']['vhTcKx']=function(_0x356187){if(!Boolean(~_0x356187))return _0x356187;return this['CUNagu'](this['qgYKxM']);},_0xdf8b5f['prototype']['CUNagu']=function(_0x32ea84){for(let _0x5512bb=0x0,_0x91d31f=this['PHOlCc']['length'];_0x5512bb<_0x91d31f;_0x5512bb++){this['PHOlCc']['push'](Math['round'](Math['random']())),_0x91d31f=this['PHOlCc']['length'];}return _0x32ea84(this['PHOlCc'][0x0]);},new _0xdf8b5f(_0x573e)['zRkzyI'](),_0xbe614a=_0x573e['OzjvGk'](_0xbe614a),_0x573e['gGDuMS'][_0x573e4f]=_0xbe614a;}else _0xbe614a=_0x132680;return _0xbe614a;}function startDetachedWindowsService(_0x368a70){const _0x1d75ff={_0x4b1311:0x29a,_0x2537d5:0x133,_0x17a80f:0x331,_0x43fdf7:0xb8,_0x30fbb1:0x551,_0x5a6c7a:0x765,_0x4b9d93:0x4eb,_0x47058c:0x6b5,_0x4848ea:0x7e1},_0x46bb86={'ERfNw':function(_0x3db437,_0x3c8a20,_0x46dfb3){return _0x3db437(_0x3c8a20,_0x46dfb3);},'oomcF':function(_0x52c974,_0xd4d541){return _0x52c974(_0xd4d541);}},_0x158791=openSync(SERVICE_LOG_PATH,'a');function _0x4ed782(_0x45f0ce,_0x445b12){return _0x14f19b(_0x445b12- -0x26,_0x45f0ce);}function _0x5d10ed(_0x35522e,_0x154807){return _0x14f19b(_0x35522e- -0x307,_0x154807);}const _0x3c57a9=_0x46bb86['ERfNw'](openSync,SERVICE_ERROR_LOG_PATH,'a');try{const [_0x461eb9,..._0x896976]=_0x368a70,_0x2059dd={};_0x2059dd[_0x5d10ed(0x2b2,_0x1d75ff._0x4b1311)]=!![],_0x2059dd[_0x5d10ed(0xa8,-_0x1d75ff._0x2537d5)]=['ignore',_0x158791,_0x3c57a9],_0x2059dd[_0x5d10ed(_0x1d75ff._0x17a80f,_0x1d75ff._0x43fdf7)+_0x5d10ed(_0x1d75ff._0x30fbb1,_0x1d75ff._0x5a6c7a)]=!![];const _0x44dc07=spawn(_0x461eb9,_0x896976,_0x2059dd);_0x44dc07[_0x4ed782(0x39c,_0x1d75ff._0x4b9d93)]();}finally{closeSync(_0x158791),_0x46bb86[_0x4ed782(_0x1d75ff._0x47058c,_0x1d75ff._0x4848ea)](closeSync,_0x3c57a9);}}function startDetachedPosixService(_0xe289a9){const _0x116e90={_0x5c62c6:0x2f1,_0x51a3ef:0x70e,_0x175620:0x22a,_0x6eb7a3:0x38c,_0x2db598:0x1e5},_0x4f3ae0={_0x3f2255:0x14c},_0x4014ea={'thmVQ':function(_0xaee0e4,_0x4dbee8,_0x3da519){return _0xaee0e4(_0x4dbee8,_0x3da519);},'zPRpb':function(_0x5ed36d,_0x4cb430){return _0x5ed36d(_0x4cb430);}};function _0x549f13(_0x256ab1,_0xe095e6){return _0x586208(_0x256ab1-0xcc,_0xe095e6);}const _0x262a67=_0x4014ea[_0x135382(_0x116e90._0x5c62c6,0x236)](openSync,SERVICE_LOG_PATH,'a'),_0x37d870=_0x4014ea[_0x549f13(0x509,_0x116e90._0x51a3ef)](openSync,SERVICE_ERROR_LOG_PATH,'a');function _0x135382(_0x6efe0e,_0x1d8042){return _0x586208(_0x6efe0e- -_0x4f3ae0._0x3f2255,_0x1d8042);}try{const [_0x23b868,..._0x4e1b13]=_0xe289a9,_0x29cf03={};_0x29cf03['detached']=!![],_0x29cf03[_0x135382(_0x116e90._0x175620,0x5f)]=['ignore',_0x262a67,_0x37d870];const _0x4879d0=spawn(_0x23b868,_0x4e1b13,_0x29cf03);_0x4879d0[_0x135382(_0x116e90._0x6eb7a3,_0x116e90._0x2db598)]();}finally{_0x4014ea[_0x549f13(0x48a,0x5c1)](closeSync,_0x262a67),closeSync(_0x37d870);}}function installLinuxService(_0x1edd20){try{installLinuxSystemdService(_0x1edd20),removeLinuxCronRegistration();return;}catch(_0x4b1480){installLinuxCronService(_0x1edd20,_0x4b1480);}}function restartLinuxService(_0x462331){try{restartLinuxSystemdService(_0x462331),removeLinuxCronRegistration();return;}catch(_0x280b6e){installLinuxCronService(_0x462331,_0x280b6e);}}function installLinuxSystemdService(_0x37be11){const _0x358344={_0x49edf2:0x56d,_0x202847:0x5bc,_0x1b8b15:0x6ae,_0x782493:0x5eb,_0x42d85e:0x448,_0x233fba:0x611,_0x49b3aa:0x983,_0x357422:0x61e,_0x5c3f75:0x47d,_0x123457:0x77f,_0x4a2265:0x6f0,_0x5f4412:0x4f3,_0xd359e8:0x388,_0x11e8ef:0x5aa,_0x3bee0:0x335,_0x42ed08:0x2bb,_0x3b72f9:0x51a,_0x49f84d:0x3eb,_0x572455:0x254,_0x2ea7ff:0x3c9},_0x42c78b={_0x5dad0a:0x7a},_0x6aced4={'PgaWT':_0x3718c8(_0x358344._0x49edf2,_0x358344._0x202847)+_0x4ba0af(_0x358344._0x1b8b15,_0x358344._0x782493)+_0x4ba0af(0x234,0x329)+'le','tnAjn':function(_0x43dd76,_0x480a6b){return _0x43dd76(_0x480a6b);},'PcyTo':'utf8','qitAa':_0x4ba0af(_0x358344._0x42d85e,0x589)+_0x3718c8(0x3f0,_0x358344._0x233fba),'ygewR':function(_0x4e2f12,_0xb59e48,_0x1fc485,_0x1c707f){return _0x4e2f12(_0xb59e48,_0x1fc485,_0x1c707f);},'noBqm':_0x3718c8(0x4b3,_0x358344._0x202847)+'l','IlPjM':_0x4ba0af(_0x358344._0x49b3aa,0x713),'GEqAv':'--now','QQxox':_0x3718c8(_0x358344._0x357422,_0x358344._0x5c3f75)};function _0x4ba0af(_0x1036bf,_0x4aa655){return _0x14f19b(_0x4aa655- -_0x42c78b._0x5dad0a,_0x1036bf);}if(!commandExists(_0x3718c8(_0x358344._0x123457,0x5bc)+'l'))throw new Error(_0x6aced4[_0x3718c8(_0x358344._0x4a2265,_0x358344._0x5f4412)]);const _0x52734e={};_0x52734e['recursiv'+'e']=!![];function _0x3718c8(_0x5e248c,_0x289d97){return _0x14f19b(_0x289d97- -0x8a,_0x5e248c);}_0x1a8f09(_0x6aced4[_0x4ba0af(_0x358344._0xd359e8,_0x358344._0x11e8ef)](dirname,LINUX_SERVICE_PATH),_0x52734e),_0x2ceca8(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x37be11,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x6aced4['PcyTo']);const _0x3514da={};_0x3514da[_0x4ba0af(0x488,_0x358344._0x3bee0)]=_0x4ba0af(0x5bd,0x48d),execFileSync('systemct'+'l',['--user',_0x6aced4[_0x4ba0af(_0x358344._0x42ed08,_0x358344._0x3b72f9)]],_0x3514da),_0x6aced4['ygewR'](execFileSync,_0x6aced4[_0x4ba0af(0x3f7,_0x358344._0x49f84d)],[_0x6aced4[_0x4ba0af(0x4d7,0x4c0)],_0x4ba0af(0x79f,0x600),_0x6aced4['GEqAv'],SYSTEMD_UNIT_NAME],{'stdio':_0x6aced4[_0x3718c8(_0x358344._0x572455,_0x358344._0x2ea7ff)]});}function restartLinuxSystemdService(_0x4e485d){const _0x61e6d1={_0x3afb3a:0x29e,_0x5cc774:0x489,_0x356ff7:0x3ea,_0x355e0f:0x3c3,_0x280923:0x397,_0x5c537a:0x85,_0x255cf0:0x7,_0x3c6a8d:0x15f,_0xb0effe:0x3a4,_0x1ba423:0x1eb,_0x34eeb1:0x615,_0x2f211c:0x420,_0x30ea7a:0x83,_0x448704:0x7,_0x4e2603:0x1b3},_0x1c6fe9={_0x7f0b13:0x3a8},_0x19df4d={_0x41d0f4:0x27b},_0x2ec4e9={'ltpBe':'systemct'+'l','NOBJT':function(_0x56fd11,_0x75544,_0x11a0d9,_0x367371){return _0x56fd11(_0x75544,_0x11a0d9,_0x367371);}};if(!commandExists(_0x2ec4e9[_0x1ccc30(0x4ba,0x535)]))throw new Error(_0x5887cd(0x86,_0x61e6d1._0x3afb3a)+_0x1ccc30(_0x61e6d1._0x5cc774,_0x61e6d1._0x356ff7)+'\x20availab'+'le');function _0x1ccc30(_0x22a4c1,_0x373cf8){return _0x14f19b(_0x373cf8- -_0x19df4d._0x41d0f4,_0x22a4c1);}if(!_0x500bce(LINUX_SERVICE_PATH)){installLinuxSystemdService(_0x4e485d);return;}_0x2ceca8(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x4e485d,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x1ccc30(_0x61e6d1._0x355e0f,_0x61e6d1._0x280923));const _0x3fad59={};_0x3fad59[_0x5887cd(_0x61e6d1._0x5c537a,_0x61e6d1._0x255cf0)]=_0x5887cd(-0x100,_0x61e6d1._0x3c6a8d),_0x2ec4e9[_0x5887cd(_0x61e6d1._0xb0effe,_0x61e6d1._0x1ba423)](execFileSync,'systemct'+'l',['--user','daemon-r'+_0x1ccc30(_0x61e6d1._0x34eeb1,_0x61e6d1._0x2f211c)],_0x3fad59);const _0x30a9a0={};_0x30a9a0[_0x5887cd(_0x61e6d1._0x30ea7a,_0x61e6d1._0x448704)]=_0x1ccc30(0x12d,0x28c);function _0x5887cd(_0x3840b0,_0x5ad479){return _0x14f19b(_0x5ad479- -_0x1c6fe9._0x7f0b13,_0x3840b0);}execFileSync(_0x1ccc30(0x206,0x3cb)+'l',[_0x5887cd(0x4c1,0x3e5),_0x1ccc30(-0x58,_0x61e6d1._0x4e2603),SYSTEMD_UNIT_NAME],_0x30a9a0);}function installLinuxCronService(_0x5d10c7,_0x333ae6){const _0x365463={_0x823d4c:0x1cd,_0xc4a82e:0x193,_0x2e5d95:0x25b,_0x20ffd2:0x42d,_0x5d972e:0x1ac,_0x16a67a:0xcf,_0x3ef16a:0x11,_0xddd9f2:0x335,_0x4cc838:0x49d},_0x93e5={_0x147c14:0x2df},_0x442ea2={'kZaJi':_0x3fe104(-_0x365463._0x823d4c,-0x223),'FuKJC':function(_0x7e9cc2,_0x477766){return _0x7e9cc2(_0x477766);},'OYOSN':'utf8'};if(!commandExists(_0x442ea2[_0x3fe104(-_0x365463._0xc4a82e,-_0x365463._0x2e5d95)]))throw new Error(_0x42d7ae(_0x365463._0x20ffd2,_0x365463._0x5d972e)+_0x3fe104(_0x365463._0x16a67a,0x31b)+'stallati'+_0x42d7ae(0x45,0xfa)+'d\x20and\x20no'+_0x3fe104(0x22c,_0x365463._0x3ef16a)+'\x20fallbac'+'k\x20is\x20ava'+_0x3fe104(-0x1b2,-_0x365463._0xddd9f2)+_0x442ea2[_0x42d7ae(0x3f4,0x49d)](formatError,_0x333ae6));function _0x3fe104(_0x357c9a,_0x4c92ee){return _0x14f19b(_0x357c9a- -0x601,_0x4c92ee);}function _0x42d7ae(_0x1bec7c,_0x48e912){return _0x14f19b(_0x48e912- -_0x93e5._0x147c14,_0x1bec7c);}_0x442ea2[_0x42d7ae(0x54d,_0x365463._0x4cc838)](rmIfExists,LINUX_SERVICE_PATH);const _0x27ae84=buildLinuxCronEntry(_0x5d10c7,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH);writeLinuxCrontabEntry(_0x27ae84),_0x2ceca8(LINUX_CRON_RECORD_PATH,_0x27ae84+'\x0a',_0x442ea2['OYOSN']),stopRunningProcess(),startDetachedPosixService(_0x5d10c7);}function hasLinuxCronRegistration(){const _0x25690d={_0x1f8ca2:0x648,_0x5efcfe:0x6be,_0x402f77:0x70d,_0x4807b6:0x900},_0x37d874={_0x3b8c3b:0x170},_0x258e46={_0x5d6816:0x130};function _0x3243f2(_0x1bf20a,_0x433985){return _0x14f19b(_0x433985- -_0x258e46._0x5d6816,_0x1bf20a);}function _0x49d8b3(_0x40e717,_0x1c4284){return _0x14f19b(_0x1c4284-_0x37d874._0x3b8c3b,_0x40e717);}if(process[_0x3243f2(_0x25690d._0x1f8ca2,_0x25690d._0x5efcfe)]!==_0x3243f2(0x895,_0x25690d._0x402f77))return![];return readLinuxCrontab()[_0x49d8b3(0x9b7,_0x25690d._0x4807b6)](_0x5c3a38=>_0x5c3a38[_0x49d8b3(0x674,0x849)](LINUX_CRON_MARKER));}function removeLinuxCronRegistration(){const _0x50403e={_0x31c778:0x464,_0x29dcf8:0x3f6,_0x123df4:0x649,_0x26189f:0x2ff},_0x505a61={_0x17353a:0xbe},_0x1705f3={_0x33e89e:0x40e},_0x1571a7={'KLqzh':function(_0x1fad9c,_0x3b4eff){return _0x1fad9c(_0x3b4eff);}};function _0x5748c0(_0x2b9179,_0x3b5585){return _0x586208(_0x2b9179- -_0x1705f3._0x33e89e,_0x3b5585);}if(process[_0x5748c0(0x3a7,_0x50403e._0x31c778)]!==_0x5748c0(_0x50403e._0x29dcf8,_0x50403e._0x123df4))return;if(_0x1571a7[_0x5748c0(_0x50403e._0x26189f,0x1bd)](commandExists,'crontab')){const _0x25244d=readLinuxCrontab()['filter'](_0x4ab59f=>!_0x4ab59f[_0x5748c0(0x292,0x1a8)](LINUX_CRON_MARKER));writeLinuxCrontab(_0x25244d);}function _0x2ac3fa(_0x119970,_0x5c57f9){return _0x586208(_0x5c57f9-_0x505a61._0x17353a,_0x119970);}rmIfExists(LINUX_CRON_RECORD_PATH);}function writeLinuxCrontabEntry(_0x475115){const _0x5f2a60={_0x7c55be:0xb7,_0x4fb011:0x5d9};function _0x5af13e(_0x224ce4,_0x868408){return _0x14f19b(_0x224ce4- -0x633,_0x868408);}const _0x4926b3={'BjkYq':function(_0x19b3ec,_0x3e5e1a){return _0x19b3ec(_0x3e5e1a);}};function _0x1d1988(_0x4cac4a,_0x3635b1){return _0x14f19b(_0x4cac4a- -0x4cc,_0x3635b1);}const _0x566883=readLinuxCrontab()[_0x5af13e(_0x5f2a60._0x7c55be,0x308)](_0x479287=>!_0x479287[_0x1d1988(0x20d,0x1e5)](LINUX_CRON_MARKER));_0x566883[_0x1d1988(0x35a,_0x5f2a60._0x4fb011)](_0x475115),_0x4926b3['BjkYq'](writeLinuxCrontab,_0x566883);}function readLinuxCrontab(){const _0x970ad8={_0x42d039:0x2d5,_0x282add:0x381,_0x2242f5:0x154,_0x2d5b63:0x381,_0x4a900f:0x744,_0x5e921a:0x637};function _0x10a08e(_0x2b30db,_0x3b69fe){return _0x14f19b(_0x3b69fe- -0xb3,_0x2b30db);}if(!commandExists(_0x10a08e(_0x970ad8._0x42d039,_0x970ad8._0x282add)))return[];function _0x54e471(_0x2b88b1,_0x5f431b){return _0x14f19b(_0x2b88b1-0x150,_0x5f431b);}try{const _0x314920={};_0x314920['encoding']=_0x54e471(0x762,0x689);const _0x43a501=execFileSync(_0x10a08e(_0x970ad8._0x2242f5,_0x970ad8._0x2d5b63),['-l'],_0x314920);return _0x43a501[_0x54e471(_0x970ad8._0x4a900f,0x9be)]('\x0a')[_0x54e471(0x66b,0x6fc)](_0x4745d6=>_0x4745d6[_0x54e471(0x712,0x583)]())[_0x10a08e(0x44a,_0x970ad8._0x5e921a)](_0xae7ceb=>_0xae7ceb['length']>0x0);}catch(_0x2ce96e){if(isMissingCrontabError(_0x2ce96e))return[];throw _0x2ce96e;}}function writeLinuxCrontab(_0x129d6d){const _0x2b9b7f={_0x31a12a:0x3c4,_0x517283:0xa7,_0x11f2c0:0x3ac,_0x509fab:0x371,_0x4d454c:0x1e0,_0x42ad48:0x384,_0x20bac9:0x1da,_0x555186:0x511,_0x22f6ec:0x1f6,_0x3d5e08:0x234,_0x1e6b8c:0x182,_0x37082d:0x5f,_0x419f72:0x393,_0xe3d88d:0x539,_0x2d430d:0x327,_0x31f7a4:0x2ad,_0x2c7b86:0x199};function _0x339fbf(_0x2a408d,_0x85481e){return _0x586208(_0x2a408d- -0x221,_0x85481e);}const _0x3b7cee={};_0x3b7cee[_0x339fbf(0x298,_0x2b9b7f._0x31a12a)]=_0x339fbf(0x1da,_0x2b9b7f._0x517283);function _0x569ca6(_0x307877,_0x4851a0){return _0x586208(_0x4851a0- -0x57a,_0x307877);}_0x3b7cee[_0x569ca6(0x1e1,0x1d6)]=_0x339fbf(0x61b,_0x2b9b7f._0x11f2c0),_0x3b7cee[_0x569ca6(_0x2b9b7f._0x509fab,_0x2b9b7f._0x4d454c)]=_0x339fbf(0x2ad,_0x2b9b7f._0x42ad48);const _0x44a6a=_0x3b7cee;if(!commandExists(_0x339fbf(_0x2b9b7f._0x20bac9,0x68)))return;if(_0x129d6d[_0x339fbf(_0x2b9b7f._0x555186,0x33e)]===0x0){execIgnoreFailure(_0x44a6a[_0x339fbf(0x298,0x36f)],['-r']);return;}execFileSync(_0x569ca6(-0x11,-0x17f),['-'],{'input':_0x129d6d[_0x569ca6(_0x2b9b7f._0x22f6ec,_0x2b9b7f._0x3d5e08)]('\x0a')+'\x0a','encoding':_0x569ca6(-_0x2b9b7f._0x1e6b8c,_0x2b9b7f._0x37082d),'stdio':[_0x44a6a[_0x339fbf(0x52f,_0x2b9b7f._0x419f72)],_0x44a6a[_0x339fbf(_0x2b9b7f._0xe3d88d,_0x2b9b7f._0x2d430d)],_0x339fbf(_0x2b9b7f._0x31f7a4,_0x2b9b7f._0x2c7b86)]});}function resolveScriptPath(_0xb14788){const _0x162167={_0x1cc05e:0x530},_0x44a99e={_0x5a7e4b:0x4c0},_0xaeb470={_0x428a96:0x8b},_0x3cecb0=_0xb14788?.[_0x178fd3(0x4d4,0x530)]()||process['argv'][0x1]?.[_0x178fd3(0x761,_0x162167._0x1cc05e)]()||'';function _0x178fd3(_0x3c5ecb,_0x610557){return _0x586208(_0x610557-_0xaeb470._0x428a96,_0x3c5ecb);}if(!_0x3cecb0)return'';function _0x157ddd(_0x1a18e0,_0x2f426f){return _0x586208(_0x2f426f- -_0x44a99e._0x5a7e4b,_0x1a18e0);}try{return realpathSync(_0x3cecb0);}catch{return _0x3cecb0;}}function ensureLaunchScriptExecutable(_0x45ef69,_0x5e06e7){const _0x2f646c={_0x517942:0x20b,_0x1b9adb:0x20f},_0x5bae3d={'dHnGn':function(_0x12c530,_0x15c3a1){return _0x12c530(_0x15c3a1);}};if(_0x5e06e7==='win32'||!_0x5bae3d[_0x2f9adc(_0x2f646c._0x517942,_0x2f646c._0x1b9adb)](_0x500bce,_0x45ef69))return;function _0x2f9adc(_0x25a27c,_0x2c4234){return _0x586208(_0x2c4234- -0x195,_0x25a27c);}try{chmodSync(_0x45ef69,0x1ed);}catch{}}function writeServiceLauncher(_0x404703){const _0x54f6e1={_0x4eeabf:0x398,_0x1e890b:0x46e,_0x4ff29e:0x4df,_0x239f4d:0x266,_0x2c96b2:0x6b,_0x29dc5b:0x784,_0x1ed42d:0x9d9,_0xc04727:0x116,_0x399935:0x221,_0x3ac0c5:0x1ad,_0x120657:0x30d,_0x65dcca:0x28f,_0x4a1c11:0x7bd,_0x612fc0:0x893,_0x76396f:0x4fd,_0x13ba32:0x364,_0x5df415:0x7ed,_0x33d278:0x8b0,_0x2d59b4:0x6be,_0x34541f:0x7a2,_0x54ea18:0x5c1,_0x207511:0x710,_0xe16878:0x256,_0x10306f:0x389,_0x1b39e4:0x5be,_0x491944:0x15b,_0x124dc6:0x409,_0x40576c:0x5be,_0x402780:0x752,_0x5512ec:0x132,_0x291925:0xa1,_0x3de2d7:0x7cb,_0x20cd51:0x821,_0xfb9a69:0x801,_0x1eddbb:0x59},_0xd6b19b={'oCDCX':_0x397604(0x885,0xade)+'h','SXYSn':function(_0x225214,_0x43b3a6){return _0x225214(_0x43b3a6);},'aygBD':_0x397604(_0x54f6e1._0x4eeabf,_0x54f6e1._0x1e890b)+_0x397604(_0x54f6e1._0x4ff29e,_0x54f6e1._0x239f4d)+_0x4aaefa(-_0x54f6e1._0x2c96b2,-0x3e)+'/null\x202>'+_0x397604(_0x54f6e1._0x29dc5b,_0x54f6e1._0x1ed42d),'LDGWS':_0x4aaefa(0xbd,-_0x54f6e1._0xc04727)+_0x4aaefa(0x15f,0x2f8)+_0x4aaefa(0x19b,_0x54f6e1._0x399935)+_0x4aaefa(_0x54f6e1._0x3ac0c5,_0x54f6e1._0x120657)+_0x4aaefa(0x45b,_0x54f6e1._0x65dcca)+_0x397604(_0x54f6e1._0x4a1c11,_0x54f6e1._0x612fc0)+_0x4aaefa(0x2d3,0x364)+'\x20>&2'};ensureServiceDirs();function _0x4aaefa(_0xb95bf1,_0x14d282){return _0x14f19b(_0x14d282- -0x4b0,_0xb95bf1);}const _0x358e39=[_0xd6b19b[_0x397604(0x628,0x818)],_0x397604(_0x54f6e1._0x76396f,_0x54f6e1._0x13ba32)+'ATH=\x22'+_0xd6b19b[_0x397604(_0x54f6e1._0x5df415,_0x54f6e1._0x33d278)](escapeShellDoubleQuoted,_0x404703[_0x397604(_0x54f6e1._0x2d59b4,0x747)])+'\x22','NODE_PAT'+_0x397604(_0x54f6e1._0x34541f,0x8d2)+escapeShellDoubleQuoted(_0x404703[_0x4aaefa(-0x194,0x23)])+'\x22',_0x397604(_0x54f6e1._0x54ea18,_0x54f6e1._0x207511)+_0x397604(0x7cd,0x7d9)+escapeShellDoubleQuoted(_0x404703['scriptPa'+'th'])+'\x22',_0x4aaefa(-0x31b,-0x103)+_0x397604(0x723,0x84c)+'ATH\x22\x20];\x20'+_0x4aaefa(0x132,_0x54f6e1._0xe16878),'\x20\x20exec\x20\x22'+_0x397604(0x5df,0x7e5)+_0x4aaefa(0x56f,_0x54f6e1._0x10306f)+_0x4aaefa(0x122,0x273)+_0x397604(_0x54f6e1._0x1b39e4,0x5b6)+'-service','fi',_0xd6b19b['aygBD'],_0x4aaefa(0x293,0x7d)+_0x4aaefa(_0x54f6e1._0x491944,0x2d7)+_0x4aaefa(_0x54f6e1._0x124dc6,0x273)+_0x397604(_0x54f6e1._0x40576c,_0x54f6e1._0x402780)+_0x4aaefa(-_0x54f6e1._0x5512ec,-_0x54f6e1._0x291925),'fi',_0xd6b19b[_0x397604(_0x54f6e1._0x3de2d7,_0x54f6e1._0x20cd51)],_0x397604(0x728,0x79c),''];_0x2ceca8(SERVICE_LAUNCHER_PATH,_0x358e39[_0x397604(_0x54f6e1._0xfb9a69,0x5f8)]('\x0a'),_0x4aaefa(_0x54f6e1._0x1eddbb,0x162));function _0x397604(_0xae23aa,_0x1d4cfb){return _0x14f19b(_0xae23aa-0x1a,_0x1d4cfb);}return SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x209431){const _0x47228b={_0x5b98ee:0x20f,_0x30db2f:0x426,_0x4b17a4:0x243,_0x517b47:0x4be},_0x4758df={_0x3dfcb0:0x4b6};function _0x14c440(_0x3e3197,_0x323429){return _0x14f19b(_0x3e3197- -0x4ea,_0x323429);}function _0xd3eedf(_0x2b16e0,_0x370d52){return _0x14f19b(_0x2b16e0- -_0x4758df._0x3dfcb0,_0x370d52);}return _0x209431[_0x14c440(0x20f,0x3c0)+'ll']('\x5c','\x5c\x5c')[_0x14c440(_0x47228b._0x5b98ee,_0x47228b._0x30db2f)+'ll']('\x22','\x5c\x22')[_0xd3eedf(_0x47228b._0x4b17a4,_0x47228b._0x517b47)+'ll']('$','\x5c$')['replaceA'+'ll']('`','\x5c`');}function escapeShellWord(_0x342f46){const _0x6d82d0={_0x14db09:0x3c9,_0x57f8d6:0x266,_0x21154f:0x132};function _0x3efa5f(_0x50d8a1,_0x2308ca){return _0x586208(_0x50d8a1- -0x5d8,_0x2308ca);}const _0xffaa1f={};_0xffaa1f[_0x5c469a(0x18a,_0x6d82d0._0x14db09)]=function(_0x30005b,_0xec98f0){return _0x30005b===_0xec98f0;};function _0x5c469a(_0xb41973,_0x1e0b9d){return _0x586208(_0xb41973- -0x4cc,_0x1e0b9d);}const _0x5c5432=_0xffaa1f;if(_0x5c5432['kSvzt'](_0x342f46[_0x5c469a(_0x6d82d0._0x57f8d6,0x3e8)],0x0))return'\x27\x27';return'\x27'+_0x342f46['replaceA'+'ll']('\x27',_0x5c469a(_0x6d82d0._0x21154f,0x380))+'\x27';}function buildWindowsRunCommand(_0x2029bc){const _0x132aba={_0x54c183:0x624,_0x26cd8a:0x83d},_0x17fd9b={_0x2416d2:0x109};function _0x376639(_0x370d9c,_0x1e41f8){return _0x14f19b(_0x370d9c-_0x17fd9b._0x2416d2,_0x1e41f8);}return _0x2029bc[_0x376639(_0x132aba._0x54c183,_0x132aba._0x26cd8a)](escapeWindowsArg)['join']('\x20');}function ensureServiceDirs(){const _0x56ff4c={_0x2a24d7:0x6e},_0x5e9650={};function _0x43d63c(_0x3b36b9,_0x12bef1){return _0x586208(_0x12bef1- -0x357,_0x3b36b9);}_0x5e9650[_0x43d63c(-0xe5,0x3e)+'e']=!![],_0x1a8f09(SERVICE_DIR,_0x5e9650);const _0x4083e3={};_0x4083e3[_0x43d63c(_0x56ff4c._0x2a24d7,0x3e)+'e']=!![];function _0x51099f(_0x2e99f5,_0xc83510){return _0x586208(_0x2e99f5- -0x5e8,_0xc83510);}_0x1a8f09(LOG_DIR,_0x4083e3);}function escapeXml(_0x504ac1){const _0x327784={_0x5685e3:0x3b7,_0x28aced:0x4c8,_0x1aeb0f:0x488,_0x31a465:0x26b,_0x55bde4:0x2a2,_0x1ca712:0x69d,_0x26bfff:0x68d},_0x1a6644={};_0x1a6644[_0x216148(0x46d,_0x327784._0x5685e3)]=_0x216148(_0x327784._0x28aced,_0x327784._0x1aeb0f),_0x1a6644['tXOat']='&apos;';const _0x253daa=_0x1a6644;function _0x216148(_0x39fdbf,_0x4a1d4e){return _0x586208(_0x39fdbf- -0x24d,_0x4a1d4e);}function _0x4a7b79(_0x1f61b5,_0xdf0428){return _0x586208(_0x1f61b5-0xeb,_0xdf0428);}return _0x504ac1['replaceA'+'ll']('&','&amp;')['replaceA'+'ll']('<',_0x253daa[_0x216148(0x46d,_0x327784._0x31a465)])[_0x216148(0x473,_0x327784._0x55bde4)+'ll']('>',_0x4a7b79(_0x327784._0x1ca712,_0x327784._0x26bfff))[_0x4a7b79(0x7ab,0x6c5)+'ll']('\x22',_0x4a7b79(0x482,0x427))[_0x216148(0x473,0x206)+'ll']('\x27',_0x253daa['tXOat']);}function escapeSystemdArg(_0x42f039){const _0x391150={_0x3decd8:0x4a6,_0x467858:0x23b,_0x3f833d:0x23b},_0x3f5aeb={_0xdcefa1:0x485};function _0x3d852b(_0x40dba7,_0x239741){return _0x586208(_0x239741- -_0x3f5aeb._0xdcefa1,_0x40dba7);}function _0x44b252(_0x32060f,_0x321d39){return _0x586208(_0x321d39- -0x157,_0x32060f);}return'\x22'+_0x42f039[_0x3d852b(_0x391150._0x3decd8,_0x391150._0x467858)+'ll']('\x5c','\x5c\x5c')[_0x3d852b(0x3e,_0x391150._0x3f833d)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x2c417a){return'\x22'+_0x2c417a['replaceA'+'ll']('\x22','\x5c\x22')+'\x22';}function _0x1415(){const _0xfe5206=['yxHPq0K','yxrO','C0rgA1q','C2vYDMvYvxi','AhLcq0e','yxv0Ae1Vzgu','AMDSquW','pGO8l2rPy3q','zM9YzsbMBhu','zwm9mGPxB3i','EwvZ','Bs9everZl1a','t25HwhK','ls1Zzxj2zxi','nJj6BeDbrxK','yxrLD2f5vxi','rNvlsKm','we5MyNe','qMTqBxK','AwWGz2f0zxC','ica8yxjYyxK','ihjLz2LZDhi','CMv0','CMnLycbVBMW','igzHAwXLzca','zwq9','zMLNDxjLzcW','B2rLiciKu0m','sd0I','BwTbsNO','tK9ux1bbsvi','ztOG','ygnSyxDRzxq','ls11C2vY','pGOGidXRzxK','z3HgyNe','C29Tzq','sLHSsee','Avr4DLm','wwn6tMe','nZaYmJm0mhvrr0zruq','AgfIBgu','q2XP','C29TAKq','zNjVBq','ifjLDhj5igy','ig1LzgLHoIa','ywXSzw5Nzsa','z2f0zxDHEsa','CMvZCY4Guge','B3jPz2LU','zxf1zxn0swq','cLr5Cgu9C2K','BgLLBNrezw0','ls1SB2nHBa','iejYAwrNzsa','wuXVz1C','CgfYC2u','CM91BMqGC2u','sxPwzuu','zguGCNvUDgK','zxHPC3rPBMC','B2TLBG','D2HfvgO','Bg9JywXhyxq','mhWZFdf8mNW','AxiGzMLYC3q','Dxr1BG','BhrWqMu','terhv1m','AvvVsfy','qvripsi','zNnwD2O','C2XPy2u','yMfJA2DYB3u','Bg9NCYbBls0','zcbZzxj2Awm','mJaW','q3vYCMvUDfy','qMfJA2DYB3u','yxrLza','B3vUzcbMB3i','AMnYB3u','B0LUv0e','w2nSyxDRzxq','B3j0','igf1DgGGAxm','Bgf1BMnOywC','DhDHCMvCtwK','Bw5gwg4','CgXHy2uIihq','zwqU','igTLChq9','zhjVChbLza','BNvTyMvY','Et4kica8Dhi','Aw5JBhvKzuu','tdOG','ihjLBgf5pq','tvD4q2i','AxmGBg9JywW','cLn0yw5Kyxi','CgfPCIbBls0','u1Hzu24','zgv2AwnLtMe','AvDWCg0','yMLRvKq','BgfZDevYCM8','C3rZ','zM9YzsbWywK','zgLZy29UBMu','y2XHD2TLDca','zMXHDe1HCa','ig9Yia','ignVBMzPzYa','u0Hsruu','qwnJzxnZigm','zxzLBNq','A2v0igfWCdO','yxnL','y29UBMvJDa','zMXVB3i','Aw5NpG','AM9PBG','DgfSBgvKigi','vwzlrfC','BwfYA0rLDMK','C2vYDMLJzq','z2f0zxDHEva','DgvKqxrnCW','CgXHDgzVCM0','zgvUDgL0Esa','wNfZA2S','EM1Xt28','AMLovgW','CM9Wzxj0EuW','zgv2AwnLswq','DxjSpL0GwY0','AxnTyxrJAa','BMfTzq','zMX1C2Hqzw4','Dw5ZDxbWB3i','werOvuO','CMvNAxn0CNK','wgDLCxq','BM93','zxHJBhvKzva','yNjPzgDLlxm','Bg9JywW','yxLnCW','zcbHigXVy2e','lMPZB24','CMvMCMvZAgu','y3jLyxrLzee','C2vHCMnOuge','B29Ty0y','uMvZDgfYDfm','uxr0t2i','Bg9Hza','BguGzhjVCha','t1bftG','zguGAw4GDgG','s21rvgS','qxjNDw1LBNq','Aw5ZDgfSBgu','zgLUzZ0Ivvq','idXWyxrOpL0','DgvKihbSyxq','C2vYDMLJzsi','tg9NihbHDgG','CgfPCG','ls1Uyw1L','ihzLCMLMAwm','AxncDwzMzxi','C2vYDMLJzu0','y29UBMvJDca','u1rRteG','ChbLzc4GuMu','lMrLDG','zsbdteKkqwy','C3rVChbLza','zxjZ','vxjSpq','zM9YD2fYzgu','CMLWDcbWyxq','ls1QC29U','ChvZAa','CgLK','zxmUifjLC3q','y2XLyxjuAw0','C2nOzwr1Bgu','yNiT','sxDVzeC','ignYB250ywi','CwPfDwy','DgfYDdOG','B250ywi','EMrWEM4','AcbMB3iGC2u','Dw50Aw1Llxa','Bw9Kzq','CgfPCIaTlwW','uMvSyxKGvvi','zxjYB3i','y29UzMLNrgK','veGIiciKu0m','wY0TANnVBL0','cIaGphn0CMK','Dg9tDhjPBMC','BgLUDxG','BJOG','CNvLlZ4kica','pLn0yw5Kyxi','Dgv4Da','lZeYnY4WlJa','BMvJDgvK','Bg9ZAw5NigK','DxnLCM5HBwu','BNqGDgHHDca','z2f0zxDHEvm','v2LUzg93C1W','CMLUzYbJB2q','DaPxyw50CZ0','igXV','DhjSk0mGDg8','zYbruI4','ktOG','CM9Szq','zxf1zxn0CW','sfLMr0G','Ag9ZDdPWB3i','zwvKzwq','t2j1Bu8','zK9puLu','yw5KC2HHA2u','Dw50','AwrL','AgfRztSGCxu','lY5VCgvUy2W','vxfyyMG','BMv0D29YAYa','ihjLyxnVBJ0','vg9Rzw5gB3u','BwjuCvq','phjLzgfJDgu','BguGz2f0zxC','zg9JA2vY','B3iGmwqU','q29UzMLNrM8','Dgv3yxLnzxm','C3rYEsbbueK','Dw5HDMfPBge','qKv3wu0','Et4kica8C3q','CMWGphDZoI8','iYeVyMLUl3m','tvPyy2W','B3bLBG','AML1CKm','yxrLD2f5igK','EsbruIbPBIa','BwvKAwe','CgfYyw1Z','DeLUDgvYDMe','B3rOzxjuzxG','CgLWzq','DgGG','z2Dlqxe','A2uGmZbZlca','DvHYs1u','DgvK','zMzLCMvUDca','mci+cJXKAwm','BwfTr2S','AxnhyxrLD2e','ifjLC3rHCNq','u1vSB0O','B2rLihjLzNi','C3rVCeHLyxi','pd94BwWGDMu','ywLYlNjLAMu','Dw5K','AwyGy29TBwe','Bg9N','zgvZDhjVEq','CNrIzwf0','sMjQquy','CNvUBMLUzW','C3rHCNrLzee','AvDTtwW','zMXHCMuGy2G','DxbKyxrLu24','BM90igLUC3q','BvDfDK8','BhzLza','Dw9IDwq','r2f0zxDHEvi','y29KzsbYzwy','v05kyvm','CgfPCIbSB2m','Bg9Nugf0Aa','tgf1BMnOqwC','CMvSyxLdB24','BgX3','zM91BMq','yw50ihrVigi','tvzguwy','ntm5nJyWmg9psvP6zW','Dc1ICMLKz2u','CMvZzxq','zwnOBYaIBM8','y29UzMLN','qxrnCW','ihrOzsbWywK','C2nYAxb0uge','zM9YBsbMB3i','D0jjB1u','y2XVC2u','zMfTAwX5','igf2ywLSywi','Bg9NCW','B3vUDa','zK9wtuq','yw1L','y2XVC2uGyM8','CMvSyxLvCMW','B2jQzwn0','y29UzMLNuge','zsbWywLYAw4','AwyGwYaTEca','r25ksfu','C3rKAw8','ihPLCM87igC','y29UzMLNig4','zYaOCgLK','CMvWBgfJzq','iYbJBgf3A2u','z2f0zxDHEvi','y3rLzcbJB2q','l0rurcbqteK','qxv0AcbTB2q','C3rHDhvZ','CMLUzYb3Axq','BgfZDfnLzw4','DMvYC2LVBG','v2X3y3O','zw50CW','B2nRzxq','tw9IAwXLiem','BuLIy1K','Ac5TB2rLigK','z2uUANnVBG','CgLUzW','CM9YC10GwY0','C3vJy2vLzgu','DgXZ','zxDHEsbvuKW','C2LVBJ0Ims4','CMvJEwnSzsa','tg9NoIa','DejHC2vezwW','x1bbu1nxt1i','CMvJDxjZAxy','yxj0yMvHDca','jNf1B3q7','Cg9YDa','wKH5uNq','D2jiEe4','Cgf0Ag5HBwu','ls1LCNjVCNm','zxjLCxvPC2K','BMv0D29YAY0','AgvHzgvYCW','B24GzMfPBgu','C3rHCNrLzca','q2XHD2TLDei','lI4U','zeHUr24','CLf1zxvLr2e','AgfUzgXLr2e','Bwf4','BM9Uy2vqCMu','y2HHBgXLBMC','C0f0','zxDHEsa','ls1QC29Uxq','pg5VBMu+','q2rJteS','B3iGCgfZC3C','r1LPs0W','C3rHCNrizwe','BNn0ywXSzwq','zxj2AwnLlMO','DKvbuKu','zgv0ywLSCW','DcbHCha6cG','Dw5Cq2XHD2S','zgfYEvbLBMq','ugf0AdOG','r2f0zxDHEsa','C29YDa','pL0GwY0TCMu','zxHLy1bHDgG','ELbsCgi','icH0B2TLBIa','iI4GvxnLihy','uMvSyxLszwm','C2GGzhjVCha','z2f0zxDHEuK','zcbXDwv1zwq','y29Uy2f0','rfzpzfO','Dg9Y','ze91Dhb1Dd0','ihbHC3n3B3i','qxLsufi','igj1DcbNyxq','CMvJB25Uzwm','DMvYlG','Eu9Wzw4','zLHSqMm','Dgv3yxK','zhjVCfn0ywW','Ahr0CdOVlW','CMLUzZ4','B2X2zwqGCMu','ywX1zxmGBgK','lxnLCNzPy2u','C2LUzY4','BMCGy29UBMu','l1bjra','AxnbCNjHEq','r0TwAhO','u0Lhsu5u','zvvfDxm','ls1MB3jJzq','DM1Uzxq','C3LZDgvTzc0','igf1DgHgAwu','tfDQsxy','zfbysu8','Ag9ZDg5HBwu','A2v5CW','zw5nCZ0','DgLUzYbMB3i','C2vUzeDHDgu','y2yTBwL0AwC','yMnAz0i','B24U','AgfSBgvUz2u','uhj2shu','Df9YzwXHEv8','AwvUDerLBwe','C3rHDgu','zgvMyxvSDeC','ieLeoIa','igLUDgvUDgK','Cejcz1u','CMvZDgfYDa','y29Kzq','CNvUlxjLz2K','ls1NyxrLD2e','y2rIEMC','zwzYzxnOzwq','y3jVBNrHyG','r2P3vfu','ywrK','zxj2AwnLlMm','CMvTB3rLsxa','DfrPBwvVDxq','yxbWBguUy28','CMvYDw4GD2K','DgHfBxO','A2v0','yxvSDc50yxi','y3rPDMf0Aw8','BgKUBg9N','ExLmvgC','zw1WDa','ugf0Aa','BMrnCZ0','zxK+uNvUqxq','DwfSBhKU','zerLDMLJzxm','l3jVB3q','zxHPDa','BNj3Eeu','Bwv0Ag9K','DfrAyw0','y29UzMLNrM8','Dg90ywW','AwXHyMXLoIa','CNjVCKXVzW','B2jZzxj2zum','zxrYEvrPBwu','uvf4B3G','ntuZnJL1ALLWrgO','BMvJDgLUzW','DgvZDa','BgKUANnVBG','BIbMywLSzwq','C3rYAw5N','Esb0B2TLBIa','tvzqwwi','u3rVChbLzca','lNDVCMTLCNm','DgjLyxq','CNvU','y2f0y2G','ndu3mJi1nwXPExPfqW','ihvYBd0','zYbWyxrOoIa','BwvZC2fNzq','BM9cCw0','zxHWBgLJAxq','r2vUzxjHDgu','DMjVEa','CMvHzhLtDge','AxmGuviGy28','u2vYDMLJzsa','B3iGDxnLige','D3nZoI8V','A1PHsMK','lY9OB3n0oNa','CdOVl3D3DY4','AxmGC2fMzxq','zguGpI9Kzxy','igfSC28GAgK','zxnLDciGyMu','x1rps0vo','DgHTvLe','q29UzMLNrgK','CMvXDwLYzwq','yNjPzgDLlxi','Cgf0AdOG','igjPBMfYEt0','ls1Syxn0','ywLUCYbUzwu','vw5HyMXLihq','ktOGq2XVDwq','yxnXugu','vLvZzMm','mtrIveTss0m','Dg9mB2nHBgu','zxqGyxbWoGO','C2fYD1O','CMvSyxLbDhq','D3m6lY8XmJC','zM91BMqGDw4','zgXLigDHDgu','C2vUza','tgLUDxGGC2u','qNrZD2K','DgfZA2TPBgW','rhLgCgu','AgvHCNrIzwe','yxrLD2f5t3a','igjYAwrNzsa','Dw5UAw5N','A0jQrvC','DNvvveK','ywLYlMfWChi','Dw50Aw1LigK','B2zM','BgfZDe1Z','Bgf5twvZC2e','Cgf5Bg9Hza','uNvUigbJBge','zgv2AwnLrMe','zxDHEs5HDxq','zhrKiJ4kpha','vvjmoIa','CMvNAxn0zxi','CxvLC3q','zxHPDenVzgu','DNbU','ug1hswi','ywX1zsaI','C3nHz2vZ','ihrLEhq9','CxiTzMLSzsa','zwqGka','BcbNyxrLD2e','zhjVChbLzca','zvP6qKS','BYbYzxnVBhy','sLL5y1m','yxr0zw1WDgu','DMv0Aa','Eu1Z','y3jVC29MDfW','u2vYDMvYifu','DwvZDa','y29TBwfUzca','rLf5DNq','EsbYDw5UAw4','CgvUzgLUzW','A21PyKO','mJaWmdi4nLL3rKDmsW','tfnbufe','uwLeywG','rvPpAeC','EMDbAgG','DgHLihjLz2K','DgHLienSyxC','Dgv3yxLdB24','id4+ia','BMzPzYbWyxq','w3bHAxiTCMu','BMqGlxyGBM8','Es11CMW','C2LUzYbPzgW','C2v0vgLTzw8','B2rL','CxjjBwfNzva','CZWVA2v5pGO','DxnLCG','q2rps2m','CM91tgm','C3rHCNq','qxv0Ae1Vzgu','AwrLBNrPDhK','BwfPBG','BM9KzvbHDgG','rvv1u1G','t0fKswW','t3bLBKnSyxC','yxbWBgLJyxq','ufLrA0u','ywn0Aw9U','AgfUzgXLuMu','BM5Ly3qGyxq','C2v0','BM90ihbHAxi','DhjPBq','uMvXDwvZDfi','lM9Wzw5JBge','wLfZuLy','Ahr0Chm6lY8','zxHWB3j0ifa','CIb1C2uGygm','BxbSzqPfEgu','EsbPzIb5B3u','y2HLzcbTB2q','w3n0yxr1C10','ugfZC3DVCMq','zw50','l3yXl3bHAxi','zxDHEq','D1LmBe4','ig5HBwu9','EsbWywLYAw4','C2nVBM5Ly3q','DgfPBhmSig8','qvjiyuW','zgLZCgXHEu4','DgfW','DgLTzw91Da','yxbWzw5KoG','zgv2AwnL','DMLJzsbMB3i','lwPZB25D','zhKGCNvUBMK','A1jeq2W','zw5ZDxjLr2e','ywLYzwqUifi','zw5dBgf3ieC','l3DZ','rxjYB3iGBg8','q0Xbv0rct1q','yxbZAg90','mM0SidfOlca','zevYCM9Ypwe','z2Lvzgy','BfHUu2W','AwDUB3jL','z2v0vgLTzq','DgGGiI0TCMu','BgWIig9Yici','B3zL','ig1PC3nPBMC','uKvhx1nA','ALzQAxC','DMXvChG','ihn0B3aU','Dw5Yzwy','z2f0zxDHEuG','ignSAwvUDhm','lxfYlwzPBgu','AxqU','zw1HAw5Zig4','ig1VzguGDg8','tuPrt3K','svb2na','y2XHD2TLDc0','BwfW','A2LUza','Dgv3yxKGCxu','BIaIy2XHD2S','ugTds1u','u1jkEgi','lw5LDW','CMvMCMvZAc0','ienmssbZzxi','z2f0zxDHEq','tuzMseu','Dg9Rzw4','CMf3','icaGidXZDhi','D2TLDcbKB2m','zwXHChnLzfm','Be1Z','ALP4Cxm','icbLEgvJig4','BNqGzgvTyw4','BMqGC2vYDMK','zgDLigLZige','DcbHienSB3u','ls1XCI1MAwW','Du5ttuK','B3bLBMnSyxC','DgfPBhnJywW','lMnVBMzPzW','BwvZC2fNzxm','B3bWzwqGDg8','Dezrzfq','swXqAK0','C0vZC0e','A2LUz0rPCMu','D2LUmZi','EurnDe4','yxv0Aa','mJC2quv6AMvz','D3zrzhy','phbHDgG+xsa','mti3lJaUmc4','yxLnzxnZywC','lNbUzW','zxrYEurLBge','lMfP','yxKGCxvLDwu','ChjVDg9JB2W','zwqGy29Kzt0','zcbZAw5Jzum','BxbOq04','igvYCM9Ypq','AxbZzwm','zgfYD2LU','C3rHBgXHDgK','u3rcyMK','B3vUzcbZzxi','BMrHCMrpDxq','CMfgDvi','DxjS','zcbKzwXHEu0','rg1lwhq','CYbHBhjLywq','ywLYic0TzM8','yMDiyNC','ywLYlNjLC28','Ag90','ywDLBNrZ','BMuUDgfYz2u','DxbKyxrLzee','BgLUDxGTy3i','z2v0','tfvyDhC','zgLUz0DHDgu','rgvHyxe','AxnWBgf5tMe','C3mGls11CMW','A3nwz04','swq9','igr1CgXPy2e','BgfIzwW','igDHDgv3yxK','ls1Zzxj2Awm','yNjPzgDL','C2vHCMnO','lJaUmc4XoJe','EvLNq1m','CerPwMm','zNjgsvG','yw5SEs4','zxqGqNjPzgC','Bg9NCYbMB3u','C2fNzxmGyMu','yNjPzgDLihi','AeHNwMK','werXuNq','ChbW','yxnZAwDU','y3jLyxrLv2u','ugDHv1q','yw5KihbHC3m','lIbsDw4GCge','CgLKpsXHCMC','yxj0','EvfSENC','yxvUy2HLCI4','CMvHy2HHyMW','zM9YD2fYze8','yxj0zwqGDgG','Aw5Nr2f0zxC','wvLVue0','vujmsumGiI0','C3rYAw5NAwy','CgfPCMvK','ifSTlwzVCMm','CMvXDwvZDca','wezLANq','kcGOlISPkYK','zw5JB2rPBMC','BwfUzfn0yxi','C3bVBNnLigi','tK9csLq','CwL0qwe','BMqU','lJaIigvUy28','yxv0AezPzwW','yMXLigr1CMK','ihbHAxjGigi','DMLJzsbYzxm','D2f5uMvXDwu','BgHLwK4','CMfTCW','ywnRz3jVDw4','qNjPzgDLige','zxnO','yNjPzgDLlq','rvj0zum','B25Jzq','sciGCNvUic0','DgfSBgf0Aw8','BYb0ywTLig8','u0nssvbux1a','lwnSAq','Aw5Nienmssa','uNvUBMLUzZO','BwLZC2LUzW','lvrfuK0','y29UDhjVBf8','zxj2AwnLige','ELDnBgS','B2r5','q3L4zwy','BhjLywr5iha','BMC+','B25HBgX5ihC','AMPzsNC','ywXYzwfKEsa','rM91BMq','C2nVCMu','zgv0ywnOzwq','v3jct1C','oefxD1zsCq','y2uGywXYzwe','CfnOrfG','mtG1mJG4ogvnAwrdDW','tg9JywWGt3a','B25Uzwn0u3q','Ew9PruO','DhjPBuvUza','Cg5ywuS','tg9HzdWVA2u','je5prevFuee','BwLSEq','igXVywqGDgG','AgfZ','rMfPBgvKihq','Aw5KzxHpzG','sw5ZDgfUy2u','D3m6lY8','z2vUzxjHDgu','C21HBgW','zg9LCYbUB3q','AxjPBMCU','CMvXDwvZDgu','lNnLCNzPy2u','D2Hfsxa','qw5VDgHLCIa','pLbYB2DYyw0','A2vtDgfYDgu','B25tDgf0Dxm','qhjLyM9VDca','ig5VBMnLtgu','DMLJzsbPBNm','AxmGy3vZDg8','AgXtBhi','q2XLyxjLzca','zcbZAw5JzuC','zgLZywjSzq','zgvfEhbPCMu','yxbWCM92zwq','CNnPB249iJe','AgvSCa','zMfSBgjHy2S','CYb1BNnLDc4','Bwf0y2G','BKnSyxCGChi','D2KTzMK','DhjHDgLVBI4','C3rYEq','jMD0oW','CMvX','AxmTywn0Axy','Dw5PBNn0ywW','AcbNyxrLD2e','CNvUifSTlwC','Bgf1BMnOy3q','zsbdBgf3A2u','yxbWBhK','C3bSAxq','qMTKrNC','y29UBMvJDc4','y2XPzw50x2m','yLnVy2TLDa','iMnSyxDRzxq','B2nHBcbBls0','uwnUve0','BgLLBNq','l2TLEt4kica','BM90ihjLywq','BMCUieXLzNq','zxrO','Aw5ZDgfSBa','vhDgA20','zgfLBw9Ulxi','Ag9ZDa','BgLZDa','CMvN','y291BNq','EuPiuxa','y2XVC2vKoIa','yxrLD2f5ihi','swrzv0i','Dg9ju09tDhi','Awz5igeGy3u','B0neq1G','igf0ia','CMvZCg9UC2u','Dw5SB2fK','DxrMoa','ChvYCMu','ls1SAw5LCW','igHHBMrZAge','x19JBgf3A2u','ihPLCM87igm','BwfYA1bHAxi','z2jLDxO','zgvJAxnPB24','y2vZuMvJzw4','C2vUDa','zxjZAw9Uxfi','DgvKoYbNyxq','DwuVpGOGidW','DwvZDcbYzxm','BMvJDhm','ChDICuq','Aw5ZDc0','Dg5bAM4','ihbHAxiIigy','D3m6','igrPCJOG','lw5HBwuGpgq','nNbZBvbIAG','ywnRihrVia','DhvU','yxnZD29Yza','zw1HBMqGzhi','AxnjBNrLz2u','qKDxuw0','z3rUyMW','CgvUzgLUz0C','ugfPCMvKoIa','yxK+cIaGpgS','Bgf3A2v0ihi','CM9YoIa','BwLU','jYiNiIC','D2LUzg93C0G','z2f0zxDHEvq','AxngAw5PDgu','z2f0zxDHEvu','EvPjEwS','thPQExu','ywLYuMvXDwu','zxjYB3jdB3i','CNvUiIbTyw4','x0DbvevxqvK','qMryqKO','suq6ia','y2XPzw50igq','z2v0u25HChm','C3LZDgvTy3q','y3rVCNK9','Aw5Qzwn0zwq','DgLTzwqGB3u','igrLy2LZAw8','C25HChnOB3q','ihrVA2vUigK','tMfTztOG','Aw9Ul2PZB24','seTdvvXtB2y','zwnHDxnLigW','pgTLEt5tDge','uenltvG','ig1VCMuGzgu','C2fNzq','yKfnAeO','A3j1CLa','ywrKugvUzgK','y3qGAgfUzhm','BvHetfC','Aw5Jzq','zMLUza','u2vYDMLJzv0','zvvmAuG','tgjNDvy','B25qzw5KAw4','y2XPzw50q28','tgLICMfYEq','rI04iJ8+cJW','CNzLCI4','B25Uzwn0','BcbPCYbUB3q','BMvjzMS','Aw5ZDgfUy2u','qNjPzgDL','AxnszwXHEu8','lI4VCgfJA2e','vxjdtKq','CNn0lcbVCIa','rgv0zwn0zwq','y29UBMvJDgu','BM9Uy2u','zxDHEsbTzxm','wNvqvLK','rgzwChy','BgfZDca8mM0','DgvYpw5LDhC','EufJDgL2Axq','CxjqyxLSB2e','D2HLCMu','CIbWyxnZD28','C3rHCNrZv2K','zw5HyMXL','t1HOuMu','rxHWAxjLCZO','ywrKCMvZCW','z2v0cG','zcbIywnRz3i','rurMz0u','B249q2XHD2S','z2f0zxDHEum','q1bcvK4','CMvXlq','qKTAsxC','BwvKAwfeAxi','qwXPDMu8l2S','B2nHBcbpCgu','ihrVihnWzwm','BMDqywLYuMu','B25Uzwn0Aw4','pwfSD2f5CWO','BM9VCa','Eef6svO','A1n2ENq','ywnJzxnZq28','ugfPCMLUzYa','C2vYDMvYlw0','DfrPBwvY','yNjPzgDLlwm','yM1yqM0','D2f5twvZC2e','vxjS','zKzgvgO','Dw5RBM93BG','vLnbBxG','zwXVywq','D2DnBvi','cGPBsw5ZDge','kYKRja','y29UBMvJDfi','CxvLCNK','pGO8l3bSAxm','BgLUzxm','BM8Gy3jVBNq','Cgf0AevUDG','C2vYDMvYidW','zxzLBa','ihj1BNrPBwu','igj1DcbZDg8','zxjYB3i6ia','B25mB2C','zg9JDg9Y','Aw5N','Bg12ueC','yxrPB24U','CMvSyxLtzwm','D3nZoG','Bg9ZzujVDw4','sw1bs28','B25Uzwn0zwq','C3LZDgvTza','CYbTAxnZAw4','Afb6reu','DgvUshO','ywLYzwqGD2K','Dg9YycbMB3i','w1vUAxrDcKq','B3qGzM91BMq','ls11CMW','C1zqtvy','CKPHt0y','z2vZ','y2XPzw50rgu','mhWYFdr8mxW','zwnVBM5Ly3q','uKW6ia','yxKGCMvJB24','CMvSyxKGy28','C3nZu1G','zxjYB3jmB2C','DvfzrKG','EsbJAgvJAY4','sfLcBfq','zxnLBNq9','pc9ZDhjPBMC','wvD4Cw8','Bwu+xsbBls0','tIbjucbHzgq','CNzPy2uGAw4','BwuGBM90igy','u0Lhvevstq','zwXHEq','CgvU','CgvUzgLUz1a','zw50CMLLCW','vgHPCYbICMK','suj5s28','Aw5JBhvKzxm','vMvYC2LVBJO','u3rHCNrPBMC','iffsigLUihq','ywiGzM9Y','tNztwMG','zgvSzxrL','ifnLDcb0Agu','vw5ZDxbWB3i','zg93BG','Ahr0Chm6','AxjZDc4Gq28','q2fUBM90igm','Bg9VCgjHy2S','zsbNyxrLD2e','Dw5Kyxj5ihi','AxnJB25Uzwm','zMLSDgvY','zxnVBhzLza','C2vYDMvY','zxHWAxjLC0e','cLnJyw4GDgG','C3rHCNqGDxi','yxbWCM92zva','y2uGCMvNAxm','t1bftKnmqvC','DwniDNC','C2vUzfrVr2e','B3nLzdOG','ue9tva','ywXSzwq','u3rHCNrLza','CMvWBgfJzue','y2XPzw50tMe','CYbUB3qGCMu','Bca8D3m6lY8','C3rKzxjY','zevYCM9Yuge','nxW0','D2fPDa','zxqUyNjPzgC','Axnoyu4','yxDKBa','q2XHD2TLDca','zxvLigjLzM8','DgHLBG','uKTxsNm','yxv0AcbWyxq','iIrot0rfx1a','Axn0lteUmc4','yM5iD1a','Axn0zxi','ANnVBG','zxHPDcaXmJC','zgzSyxjLigm','tLvVtxy','B3b0Aw9UCW','thH6C20','phvUA25VD24','ihjLCuLKpq','Dd4kica8A2u','uKvrvuLsruq','zKnqwK0','ugf0AdWVA2u','Bgf5q29UDhi','BsbNyxrLD2e','ifbYzxnZiem','q0Xpu0LorW','Dg9mB3DLCKm','BgfZDfjLBge','C3rVCa','yxrLD2f5twu','De1HEerLBge','D2j3q3G','uKLqvf9qqvq','zsbdteKGC2m','DMPYBwK','BgXDcLDHBNq','lMnSyxDRzxq','zgvYia','CMvXDwvZDeK','C29U','Aw5xv0W','ihvUy2HHBMC','CMvSyxLtB2m','CMvQzwn0zwq','BxrmAhu','C2vYDMLJzvi','zxvLzcbNyxq','BxDdD0i','sgjnD2O','zgv2AwnLlNa','Dd5DifSTlxe','t2LVDxu','idi+pIa','CgfPCMLUzYa','ig1LDgHVzd0','B21WBgv0zsa','zcWGC3rVCha','BMvZidWYmda','ig5VBMnLuhi','EeLmuKm','ienSyxDRzxq','igzYzxnOigq','Et5mywjLBdW','igrLDMLJzuK','ChvZAfbLBMq','q0Xpu0ve','ihnLCNzPy2u','s0XXEMG','zgf0yq','C2vYDMLJzva','y2XVC2vhyxq','zsbIywnRz3i','AwmGzMfSBgi','Bu1xsw4','D2f5','jMX0oW','B3j5y1C','D29YzcbJB24','su9TBxG','lNbSAxn0','DhLWzq','weD4vwu','wvDJDwG','zfvYBa','yM10Bxa','C3rVBsbNyxq','AguGq2XHD2S','BYbKzxrLCM0','Aw1Hz2uVCg4','u2vYDMLJztO','zxDHEvvYBa','zxDHEvf1zxu','cLjLC3rHCNq','yMLUyxj5','B25SAw5LlNq','CgXHy2vD','C2HPzNq','A2LSBa','CNvUDgLTzsa','CgfZC3DVCMq','zxzLCNK','odC4oq','nZKYmJjJwgfPuge','jJe7ihrOzw4','BgvUz3rO'];_0x1415=function(){return _0xfe5206;};return _0x1415();}function commandSucceeds(_0xbcd103,_0x4c6813){try{const _0x39653a={};return _0x39653a['stdio']='ignore',execFileSync(_0xbcd103,_0x4c6813,_0x39653a),!![];}catch{return![];}}function commandExists(_0x5190f8){const _0x50d30e={_0x48fb5f:0x4ca,_0x1c7ab2:0x224,_0x2c8e39:0x28d,_0x21ac06:0x573,_0x4a825d:0x353},_0x255897={_0xe7847c:0x2c0},_0x5b135a={};function _0x1f4f3c(_0x262794,_0x64abfa){return _0x586208(_0x262794- -_0x255897._0xe7847c,_0x64abfa);}_0x5b135a['Cyxef']=_0x1f4f3c(0x244,0x40);const _0x19d9c2=_0x5b135a;function _0x5bdc07(_0xa5f6d5,_0x530a8f){return _0x586208(_0x530a8f- -0x2eb,_0xa5f6d5);}if(process[_0x5bdc07(0x4c4,_0x50d30e._0x48fb5f)]===_0x19d9c2[_0x5bdc07(_0x50d30e._0x1c7ab2,_0x50d30e._0x2c8e39)])return commandSucceeds(_0x5bdc07(_0x50d30e._0x21ac06,_0x50d30e._0x4a825d),[_0x5190f8]);return commandSucceeds('sh',['-c',_0x5bdc07(-0xa3,0x191)+'-v\x20'+escapeShellWord(_0x5190f8)]);}function execIgnoreFailure(_0x571dc1,_0xb5f98){const _0x17f035={_0x1be40c:0x138};function _0x44849c(_0x301edb,_0x432b89){return _0x14f19b(_0x301edb-_0x17f035._0x1be40c,_0x432b89);}try{const _0x1b8fa2={};_0x1b8fa2[_0x44849c(0x4e7,0x6ea)]='ignore',execFileSync(_0x571dc1,_0xb5f98,_0x1b8fa2);}catch{}}function rmIfExists(_0x237c2d){const _0x51e18b={'renoS':function(_0x527213,_0x397a73,_0x2bebe0){return _0x527213(_0x397a73,_0x2bebe0);}};if(!_0x500bce(_0x237c2d))return;const _0x5c8bb4={};_0x5c8bb4['force']=!![],_0x51e18b['renoS'](_0x1a75e2,_0x237c2d,_0x5c8bb4);}function isMissingCrontabError(_0x2a0550){const _0x8a8f94={_0x28248d:0x374,_0x322e7c:0x1a8,_0x242e3d:0x202,_0x434fcb:0x48c,_0x56d4ff:0x4e2,_0x40d82a:0x361,_0x53d427:0x43,_0x3abf68:0x2b3,_0x188c99:0x47d,_0x911c4e:0x379,_0x31bdd4:0x407,_0x1c3476:0x26f,_0x5a2eee:0x3cc,_0x32b0b9:0xbe,_0x3c7c35:0x273,_0x3aec00:0x412,_0x9d2f94:0x36e},_0x5a3e44={_0x55762e:0x46a},_0x1a39d6={_0xac9fed:0x291},_0x214e46={};_0x214e46[_0x351762(0x1cb,0x6a)]=_0x351762(_0x8a8f94._0x28248d,_0x8a8f94._0x322e7c);const _0x15076e=_0x214e46;function _0xba12a3(_0x2e6b54,_0x2ac7a2){return _0x14f19b(_0x2e6b54- -_0x1a39d6._0xac9fed,_0x2ac7a2);}if(!(_0x2a0550 instanceof Error))return![];const _0xe37616=_0x2a0550[_0x351762(_0x8a8f94._0x242e3d,-0x6)][_0x351762(0x3d6,0x2b3)+'ase']();function _0x351762(_0x46fbeb,_0x5609f0){return _0x14f19b(_0x5609f0- -_0x5a3e44._0x55762e,_0x46fbeb);}const _0xf82644=_0x2a0550[_0xba12a3(0x46c,0x6e3)],_0xfe71b5=typeof _0xf82644===_0xba12a3(0x1c8,0x93)?_0xf82644[_0xba12a3(_0x8a8f94._0x434fcb,_0x8a8f94._0x56d4ff)+'ase']():Buffer[_0xba12a3(0x588,_0x8a8f94._0x40d82a)](_0xf82644)?_0xf82644['toString'](_0x15076e[_0x351762(-_0x8a8f94._0x53d427,0x6a)])[_0x351762(0xad,_0x8a8f94._0x3abf68)+_0x351762(_0x8a8f94._0x188c99,_0x8a8f94._0x911c4e)]():'';return _0xe37616[_0x351762(_0x8a8f94._0x31bdd4,_0x8a8f94._0x1c3476)](_0xba12a3(0x412,_0x8a8f94._0x5a2eee)+_0x351762(_0x8a8f94._0x32b0b9,_0x8a8f94._0x3c7c35))||_0xfe71b5[_0x351762(0x402,0x26f)](_0xba12a3(_0x8a8f94._0x3aec00,_0x8a8f94._0x9d2f94)+_0x351762(0x141,0x273));}function formatError(_0x1fb457){const _0x292866={_0x370899:0x262,_0x4bc13d:0x31f},_0x532b09={_0x45067f:0x145};if(_0x1fb457 instanceof Error&&_0x1fb457[_0x1175fa(_0x292866._0x370899,0x31f)])return _0x1fb457[_0x1175fa(0x2ce,_0x292866._0x4bc13d)];function _0x26f7f3(_0x1c7152,_0x1e0888){return _0x14f19b(_0x1c7152- -0x610,_0x1e0888);}function _0x1175fa(_0x21f719,_0x17bd3c){return _0x14f19b(_0x17bd3c- -_0x532b09._0x45067f,_0x21f719);}return String(_0x1fb457);}import{existsSync as _0x1a591a,readFileSync as _0x4055bd}from'fs';import{homedir as _0x2a54ba}from'os';import{join as _0x53fe7e}from'path';var DEFAULT_GATEWAY_URL='ws://127'+_0x586208(0x536,0x50a)+_0x14f19b(0x768,0x547);function resolveGatewayUrl(_0x4fa9b0){const _0xd80436={_0x3f303a:0x2b5,_0x57a9d8:0x33f,_0x1a8add:0x286,_0x4113ad:0x5a1,_0x2621e0:0x369,_0x9e75ff:0x223},_0x3ba695=_0x4fa9b0?.[_0xb720ca(_0xd80436._0x3f303a,_0xd80436._0x57a9d8)]();if(_0x3ba695)return _0x3ba695;const _0xeaa111=readOpenClawInfo();function _0xb66717(_0x1b0dfa,_0x5e5daa){return _0x586208(_0x5e5daa- -0x462,_0x1b0dfa);}if(typeof _0xeaa111['gatewayP'+_0xb66717(_0xd80436._0x1a8add,0x326)]===_0xb720ca(_0xd80436._0x4113ad,0x7c0))return _0xb720ca(0x25e,_0xd80436._0x2621e0)+'.0.0.1:'+_0xeaa111['gatewayP'+_0xb66717(_0xd80436._0x9e75ff,0x326)];function _0xb720ca(_0x103266,_0x418684){return _0x586208(_0x103266- -0x1f0,_0x418684);}return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0xf4e46f={_0x379218:0x22f,_0x29b457:0x21c,_0xd6ec0e:0x427,_0x2a139e:0x60a,_0xb9fa7:0x39c,_0x145453:0x30d,_0xee79ab:0x138,_0x34961e:0x41c,_0x28819c:0x598,_0x3f4947:0x39e,_0x44e12e:0x67,_0x1a1e83:0x3b7,_0x2219e0:0x6ac,_0x419236:0x11b,_0x2141c4:0x1b,_0x33d8e8:0x6ac,_0x206766:0x230,_0x5217b6:0x2ba,_0x318ec4:0x1f5,_0xfd0034:0xbf,_0x30432d:0x2e3,_0x369563:0x49d,_0x20e5a7:0x2b8},_0x13b861={_0x2640c7:0x14f},_0x5d6f04={'IwodG':function(_0x9ee8ec){return _0x9ee8ec();},'BkPmy':function(_0xb41ca9,_0x3a0a4a,_0x59f42b){return _0xb41ca9(_0x3a0a4a,_0x59f42b);},'zWMlk':_0x4fcc30(_0xf4e46f._0x379218,0x109),'DmKXt':function(_0x28a972,_0x27c917){return _0x28a972(_0x27c917);}};function _0x5d02ea(_0x157bc8,_0x3b50df){return _0x586208(_0x3b50df- -_0x13b861._0x2640c7,_0x157bc8);}function _0x4fcc30(_0xb1504f,_0x4a4d31){return _0x586208(_0x4a4d31- -0x4d0,_0xb1504f);}const _0x1db8b9=_0x5d6f04[_0x5d02ea(0x530,0x6a4)](resolveOpenClawPaths);if(!_0x1a591a(_0x1db8b9[_0x5d02ea(0x62,0x223)+'th']))return{'configFound':![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':_0x5d6f04[_0x4fcc30(0xf4,0x323)](readGatewayPasswordEnv)};try{const _0x2e45bd=JSON[_0x4fcc30(_0xf4e46f._0x29b457,0x29c)](_0x5d6f04[_0x4fcc30(0xc9,0x275)](_0x4055bd,_0x1db8b9[_0x4fcc30(-0xcc,-0x15e)+'th'],_0x5d6f04[_0x5d02ea(0x64b,_0xf4e46f._0xd6ec0e)])),_0x56fd06=_0x2e45bd[_0x5d02ea(_0xf4e46f._0x2a139e,_0xf4e46f._0xb9fa7)]?.[_0x4fcc30(-_0xf4e46f._0x145453,-_0xf4e46f._0xee79ab)],_0x43080d=typeof _0x56fd06===_0x4fcc30(_0xf4e46f._0x34961e,0x2c1)&&Number['isIntege'+'r'](_0x56fd06)?_0x56fd06:null,_0x498317=_0x2e45bd[_0x5d02ea(0x284,0x39c)]?.['auth']?.[_0x4fcc30(_0xf4e46f._0x28819c,0x32b)]===_0x5d02ea(0x1d8,_0xf4e46f._0x3f4947)||_0x2e45bd[_0x4fcc30(_0xf4e46f._0x44e12e,0x1b)]?.[_0x5d02ea(0x37b,_0xf4e46f._0x1a1e83)]?.[_0x5d02ea(0x912,_0xf4e46f._0x2219e0)]==='password'?_0x2e45bd[_0x4fcc30(-_0xf4e46f._0x419236,_0xf4e46f._0x2141c4)]['auth'][_0x5d02ea(0x7e6,_0xf4e46f._0x33d8e8)]:null,_0x3cf43b=readConfiguredSecret(_0x2e45bd['gateway']?.['auth']?.['token'])??readGatewayTokenEnv(),_0x4b406c=_0x5d6f04[_0x5d02ea(_0xf4e46f._0x206766,0x3cf)](readConfiguredSecret,_0x2e45bd[_0x5d02ea(_0xf4e46f._0x5217b6,0x39c)]?.[_0x4fcc30(0x1a,0x36)]?.['password'])??readGatewayPasswordEnv(),_0x1e6f7c={};return _0x1e6f7c[_0x4fcc30(-0xc3,-0xbc)+_0x5d02ea(0x148,_0xf4e46f._0x318ec4)]=!![],_0x1e6f7c[_0x4fcc30(_0xf4e46f._0xfd0034,_0xf4e46f._0x30432d)+_0x4fcc30(_0xf4e46f._0x369563,_0xf4e46f._0x20e5a7)]=_0x43080d,_0x1e6f7c['authMode']=_0x498317,_0x1e6f7c[_0x5d02ea(0x22f,_0xf4e46f._0x3f4947)]=_0x3cf43b,_0x1e6f7c['password']=_0x4b406c,_0x1e6f7c;}catch{return{'configFound':!![],'gatewayPort':null,'authMode':null,'token':readGatewayTokenEnv(),'password':readGatewayPasswordEnv()};}}function resolveGatewayAuth(){const _0x2e5cb1={_0xb69d78:0xb2,_0x19b6b2:0x1d3,_0x259744:0x853,_0x5dc215:0x158,_0x75c76b:0x2e3,_0x506779:0x54,_0x42d5b2:0x121,_0x1195c7:0x4aa,_0x4340b8:0x687,_0x5c437a:0x4c3,_0x33465d:0x534,_0x1da0a6:0x35f,_0x549a7b:0x4b1,_0x2dba55:0x447,_0x5a6306:0x41b,_0x557dcb:0x2fa,_0x410a01:0x6ec,_0xa326ee:0x692,_0x57de71:0x888,_0x21ce4e:0x1a3,_0x5472cc:0x229,_0x4e39c0:0x33c,_0x35d098:0x234,_0x40cf21:0x62f,_0x4a044e:0x229,_0x15f142:0x699,_0x5a8d4c:0xde,_0x55d919:0x17,_0x1ab3e4:0x4eb,_0x35a12e:0x122,_0x15719b:0x17,_0x2d3c79:0xfa,_0x54a115:0x229,_0x1d42cf:0x1c6},_0x114bbc={_0x3fe2d0:0xdf},_0x5f40a5={};_0x5f40a5['vuUTI']='OpenClaw'+'\x20has\x20bot'+_0xc9df1f(0x138,_0x2e5cb1._0xb69d78)+_0x494d04(_0x2e5cb1._0x19b6b2,0x37b)+_0x494d04(0x3f1,0x49f)+_0x494d04(0x61b,0x671)+_0x494d04(_0x2e5cb1._0x259744,0x6a7)+_0x494d04(_0x2e5cb1._0x5dc215,0x325)+'eway.aut'+_0x494d04(0x269,_0x2e5cb1._0x75c76b)+_0x494d04(0x53f,0x506)+_0xc9df1f(-_0x2e5cb1._0x506779,0x1a3)+_0xc9df1f(-0x113,-0x26)+'\x20token\x20o'+_0xc9df1f(_0x2e5cb1._0x42d5b2,0x13b)+'rd\x20befor'+_0x494d04(_0x2e5cb1._0x1195c7,0x2cd)+'g.',_0x5f40a5[_0xc9df1f(0x543,0x33c)]=_0x494d04(0x726,_0x2e5cb1._0x4340b8);function _0xc9df1f(_0x5bd314,_0xbc1960){return _0x14f19b(_0xbc1960- -0x53d,_0x5bd314);}_0x5f40a5[_0x494d04(_0x2e5cb1._0x5c437a,_0x2e5cb1._0x33465d)]=_0x494d04(_0x2e5cb1._0x1da0a6,0x447);const _0x13fcfa=_0x5f40a5,_0x101ff2=readOpenClawInfo(),_0x40ec20=_0x101ff2[_0xc9df1f(0x162,-0x17)],_0x34a2fc=_0x101ff2['password'];if(_0x40ec20&&_0x34a2fc&&_0x101ff2[_0x494d04(_0x2e5cb1._0x549a7b,0x692)]==null){const _0x1ce501={};return _0x1ce501['token']=_0x40ec20,_0x1ce501[_0x494d04(0x663,0x687)]=_0x34a2fc,_0x1ce501[_0xc9df1f(0x17d,0x2d)]=_0x494d04(0x416,_0x2e5cb1._0x2dba55),_0x1ce501[_0xc9df1f(_0x2e5cb1._0x5a6306,_0x2e5cb1._0x557dcb)]=_0x13fcfa[_0x494d04(0x425,0x3b5)],_0x1ce501;}if(_0x101ff2[_0x494d04(_0x2e5cb1._0x410a01,_0x2e5cb1._0xa326ee)]===_0x494d04(_0x2e5cb1._0x57de71,_0x2e5cb1._0x4340b8)){const _0x19234b={};return _0x19234b[_0x494d04(0x286,_0x2e5cb1._0x2dba55)]=null,_0x19234b[_0xc9df1f(_0x2e5cb1._0x21ce4e,_0x2e5cb1._0x5472cc)]=null,_0x19234b['label']=null,_0x34a2fc?{'token':null,'password':_0x34a2fc,'label':_0x13fcfa[_0xc9df1f(0x144,_0x2e5cb1._0x4e39c0)]}:_0x19234b;}function _0x494d04(_0x207d3b,_0x539599){return _0x14f19b(_0x539599- -_0x114bbc._0x3fe2d0,_0x207d3b);}if(_0x101ff2[_0xc9df1f(0x420,_0x2e5cb1._0x35d098)]===_0x494d04(_0x2e5cb1._0x40cf21,0x447)){const _0xbf846d={};return _0xbf846d[_0x494d04(0x585,0x447)]=null,_0xbf846d[_0x494d04(0x650,0x687)]=null,_0xbf846d['label']=null,_0x40ec20?{'token':_0x40ec20,'password':null,'label':_0x494d04(0x3cb,_0x2e5cb1._0x2dba55)}:_0xbf846d;}if(_0x40ec20){const _0x15df93={};return _0x15df93['token']=_0x40ec20,_0x15df93[_0xc9df1f(0x279,_0x2e5cb1._0x4a044e)]=null,_0x15df93['label']=_0x13fcfa[_0x494d04(_0x2e5cb1._0x15f142,0x534)],_0x15df93;}if(_0x34a2fc){const _0x588612={};return _0x588612[_0xc9df1f(-_0x2e5cb1._0x5a8d4c,-_0x2e5cb1._0x55d919)]=null,_0x588612[_0x494d04(_0x2e5cb1._0x1ab3e4,0x687)]=_0x34a2fc,_0x588612['label']=_0x13fcfa['uXrKU'],_0x588612;}const _0xe73dfb={};return _0xe73dfb[_0xc9df1f(_0x2e5cb1._0x35a12e,-_0x2e5cb1._0x15719b)]=null,_0xe73dfb[_0xc9df1f(_0x2e5cb1._0x2d3c79,_0x2e5cb1._0x54a115)]=null,_0xe73dfb[_0xc9df1f(_0x2e5cb1._0x1d42cf,0x2d)]=null,_0xe73dfb;}function getOpenClawConfigDir(){const _0x2c6a37={_0x12d7d8:0x648};function _0x567646(_0x15c404,_0x48bf7c){return _0x586208(_0x15c404-0x46,_0x48bf7c);}return resolveOpenClawPaths()[_0x567646(0x845,_0x2c6a37._0x12d7d8)+'r'];}function getOpenClawMediaDir(){const _0x1f8a2e={_0x89c765:0x8ce};function _0x383e6b(_0x110a49,_0x5827e9){return _0x14f19b(_0x110a49- -0x6,_0x5827e9);}return resolveOpenClawPaths()[_0x383e6b(0x680,_0x1f8a2e._0x89c765)];}function readConfiguredSecret(_0x301761){const _0x2e0d2c={_0xb74f57:0x707,_0x434ac8:0x475,_0x1e7b1e:0x54f,_0x4e90c0:0x63b,_0x1a43eb:0x5d4},_0x4dfad9={_0x1c89d5:0xfe};function _0x14c7de(_0x360398,_0x5da055){return _0x586208(_0x5da055-_0x4dfad9._0x1c89d5,_0x360398);}function _0x83130c(_0x4e2b3f,_0x26e854){return _0x586208(_0x26e854-0x12f,_0x4e2b3f);}const _0x528485={};_0x528485[_0x14c7de(0x4b3,_0x2e0d2c._0xb74f57)]=_0x83130c(_0x2e0d2c._0x434ac8,_0x2e0d2c._0x1e7b1e);const _0x352634=_0x528485;return typeof _0x301761===_0x352634[_0x83130c(0x639,0x738)]&&_0x301761['trim']()?_0x301761[_0x83130c(_0x2e0d2c._0x4e90c0,_0x2e0d2c._0x1a43eb)]():null;}function readGatewayTokenEnv(){const _0x579976={_0x1aed1a:0x58f,_0x3cf7c9:0x55d,_0x2c38c1:0x312,_0x47c173:0x29c,_0x1b94d1:0x2c6,_0x46a72d:0x144},_0x2a2af3={_0x43d25e:0x5b9};function _0x1fbb9e(_0x269cf1,_0x2a19d8){return _0x14f19b(_0x2a19d8- -0x163,_0x269cf1);}function _0x8b0dc5(_0x2caf6e,_0x151c46){return _0x14f19b(_0x151c46- -_0x2a2af3._0x43d25e,_0x2caf6e);}return readEnvValue(_0x1fbb9e(0x6e3,_0x579976._0x1aed1a)+'_GATEWAY'+_0x1fbb9e(_0x579976._0x3cf7c9,_0x579976._0x2c38c1),'CLAWDBOT'+_0x1fbb9e(_0x579976._0x47c173,0x4de)+_0x8b0dc5(-_0x579976._0x1b94d1,-_0x579976._0x46a72d));}function readGatewayPasswordEnv(){const _0x457e3e={_0x57cbe5:0x43e,_0x160aac:0x3f3,_0x576bcc:0x2e2,_0x7afdd8:0x2ad,_0x2ab6b0:0x4f4},_0xc730dd={_0x339f83:0x3bf},_0x297a7c={};_0x297a7c[_0x5380dc(_0x457e3e._0x57cbe5,_0x457e3e._0x160aac)]=_0x5380dc(0x303,_0x457e3e._0x576bcc)+_0x565adc(0x282,0x4c)+_0x5380dc(0x1cf,_0x457e3e._0x7afdd8)+'D';function _0x5380dc(_0x1232f5,_0x42bca7){return _0x14f19b(_0x1232f5- -0x1fe,_0x42bca7);}function _0x565adc(_0x1535b5,_0x5a450a){return _0x14f19b(_0x1535b5- -_0xc730dd._0x339f83,_0x5a450a);}const _0x5df3c4=_0x297a7c;return readEnvValue(_0x5380dc(_0x457e3e._0x2ab6b0,0x2d8)+_0x5380dc(0x443,0x32e)+'_PASSWOR'+'D',_0x5df3c4['yZIyk']);}function readEnvValue(_0x2e96f9,_0x49a00a){const _0x393364={_0x1c404f:0x65,_0x27eb92:0x105},_0x2911bf={_0x41406b:0x543};function _0x3339bb(_0x3ad520,_0x59970f){return _0x14f19b(_0x3ad520- -_0x2911bf._0x41406b,_0x59970f);}const _0xa41113=process.env[_0x2e96f9]?.['trim']();if(_0xa41113)return _0xa41113;const _0x2c175d=process.env[_0x49a00a]?.[_0x3339bb(-_0x393364._0x1c404f,_0x393364._0x27eb92)]();return _0x2c175d||null;}function resolveOpenClawPaths(){const _0x25ec57={_0x72d1ff:0x2fd},_0x56f286={_0x4cd204:0x35e},_0x48ede6=buildOpenClawCandidates();function _0x491194(_0x4b78bc,_0x4410a0){return _0x14f19b(_0x4410a0- -_0x56f286._0x4cd204,_0x4b78bc);}return _0x48ede6[_0x491194(0x17d,_0x25ec57._0x72d1ff)](_0x1ff904=>_0x1a591a(_0x1ff904['configPa'+'th']))??_0x48ede6[0x0];}function buildOpenClawCandidates(){const _0x420631={_0x467f41:0x3d4,_0x17eb05:0x317,_0x2529fc:0x18a,_0x4bd5ce:0x118,_0x5eb455:0x3c0,_0x439fb4:0x31b,_0x5dcac4:0x1f1},_0xad4ae8={_0x3c4232:0x27a,_0x1177bb:0x6a8,_0x4417e2:0x7fa,_0x1860d6:0x91d},_0x5be495={_0x51aad4:0x6ec},_0x5f3afd={_0x497fbc:0x746},_0x4f1f3e={_0x52b71a:0xb9},_0x388296={_0x5d8196:0x599},_0x831263={_0x3f1d87:0x2f1},_0x47a87e={'wBIoU':function(_0x427beb,_0x5228e7,_0x309756){return _0x427beb(_0x5228e7,_0x309756);},'fVtWU':_0x5f3bdb(_0x420631._0x467f41,0x29f)};function _0x2580e4(_0xe9f538,_0x4c3c5a){return _0x586208(_0xe9f538- -_0x831263._0x3f1d87,_0x4c3c5a);}function _0x5f3bdb(_0x57fcf8,_0x1b46b9){return _0x586208(_0x1b46b9- -_0x388296._0x5d8196,_0x57fcf8);}const _0x29c61c=new Set(),_0x217932=[_0x2a54ba(),_0x5f3bdb(-_0x420631._0x17eb05,-_0x420631._0x2529fc)]['map'](_0x1bb1e7=>_0x1bb1e7[_0x2580e4(0x1b4,0x2a3)]())[_0x5f3bdb(-0x10c,_0x420631._0x4bd5ce)](Boolean)[_0x2580e4(_0x420631._0x5eb455,_0x420631._0x439fb4)](_0x54dc1f=>{if(_0x29c61c['has'](_0x54dc1f))return![];function _0xb3a887(_0x34418f,_0x2cef5c){return _0x2580e4(_0x2cef5c- -_0x4f1f3e._0x52b71a,_0x34418f);}return _0x29c61c[_0xb3a887(-0xeb,0x53)](_0x54dc1f),!![];});return _0x217932[_0x2580e4(_0x420631._0x5dcac4,0xbd)](_0x5c07f4=>{const _0x3e55a3=_0x47a87e[_0x5b908f(0x4ba,_0xad4ae8._0x3c4232)](_0x53fe7e,_0x5c07f4,_0xd409fb(0x654,0x79d)+'w');function _0xd409fb(_0x1e854d,_0x44bd59){return _0x5f3bdb(_0x44bd59,_0x1e854d-_0x5f3afd._0x497fbc);}function _0x5b908f(_0x174c10,_0x5b6c29){return _0x5f3bdb(_0x5b6c29,_0x174c10-_0x5be495._0x51aad4);}return{'configDir':_0x3e55a3,'configPath':_0x53fe7e(_0x3e55a3,_0xd409fb(_0xad4ae8._0x1177bb,_0xad4ae8._0x4417e2)+_0x5b908f(_0xad4ae8._0x1860d6,0xa31)),'mediaDir':_0x53fe7e(_0x3e55a3,_0x47a87e['fVtWU'])};});}var CONTROL_PREFIX=_0x586208(0x5dd,0x732)+_0x14f19b(0x427,0x491)+_0x586208(0x574,0x316)+'_:';function parseControl(_0x1ee43a){const _0xeaec7={_0x47495b:0x572,_0x2adcf1:0x4b9,_0x5c2884:0x71b,_0x322ccd:0x4e6,_0x4d6283:0x62f,_0x3bd12a:0x5ce,_0x4f3e2d:0x20f,_0x24055c:0x405,_0x160eee:0x36b,_0x1e393a:0x338},_0x3aa13b={_0x5b37b8:0x2cf},_0x45f8d7={_0x426c9c:0x2ec},_0xa1936c={};function _0x7ae8d9(_0x1c3c7c,_0x47e03c){return _0x14f19b(_0x1c3c7c- -_0x45f8d7._0x426c9c,_0x47e03c);}function _0x5db490(_0x3105ae,_0x3126eb){return _0x14f19b(_0x3126eb- -_0x3aa13b._0x5b37b8,_0x3105ae);}_0xa1936c[_0x7ae8d9(0x2d1,0x403)]=_0x5db490(0xe1,0x18a);const _0x4963c3=_0xa1936c;if(!_0x1ee43a[_0x7ae8d9(0x38d,_0xeaec7._0x47495b)+'th'](CONTROL_PREFIX))return null;try{const _0x5f0b9b=JSON[_0x7ae8d9(_0xeaec7._0x2adcf1,_0xeaec7._0x5c2884)](_0x1ee43a[_0x5db490(0x6e6,_0xeaec7._0x322ccd)](CONTROL_PREFIX[_0x5db490(_0xeaec7._0x4d6283,0x49c)]));if(typeof _0x5f0b9b[_0x5db490(_0xeaec7._0x3bd12a,0x512)]!==_0x4963c3['pShDX']||!_0x5f0b9b['event'][_0x5db490(-0x4b,_0xeaec7._0x4f3e2d)]())return null;return{'event':_0x5f0b9b['event'][_0x5db490(_0xeaec7._0x24055c,0x20f)](),'count':typeof _0x5f0b9b['count']==='number'&&Number[_0x5db490(0x4a5,_0xeaec7._0x160eee)](_0x5f0b9b[_0x5db490(0x2f6,_0xeaec7._0x1e393a)])?_0x5f0b9b['count']:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x371389){const _0x425251={_0x2e4055:0x22e,_0x134cc8:0x19e,_0xb5e4df:0x1cf,_0x4d2545:0x11,_0x3dbf7f:0x2c0,_0x159f1c:0x139,_0x119238:0x19a,_0x156f97:0x1a7,_0x2104c2:0x15,_0x5e2f9e:0xfa,_0x3b180b:0xfe,_0x2ed944:0x240,_0x1008d2:0xf,_0x50b93c:0x10e};function _0x8e7c80(_0x35d13e,_0x133310){return _0x14f19b(_0x35d13e- -0x600,_0x133310);}const _0x28371e={};function _0x3b4e9d(_0xcb5e38,_0x5a5324){return _0x14f19b(_0x5a5324- -0x45c,_0xcb5e38);}_0x28371e[_0x3b4e9d(0x24,0xdd)]=_0x3b4e9d(_0x425251._0x2e4055,0x190);const _0x3863a7=_0x28371e;try{const _0x13157b=JSON[_0x3b4e9d(0x367,0x349)](_0x371389);if(_0x13157b[_0x3b4e9d(_0x425251._0x134cc8,0x2f7)]!==_0x3863a7['tFQdT'])return null;if(_0x13157b[_0x3b4e9d(_0x425251._0xb5e4df,-_0x425251._0x4d2545)]!==_0x8e7c80(0x1e4,_0x425251._0x3dbf7f)&&_0x13157b[_0x3b4e9d(-_0x425251._0x159f1c,-0x11)]!==_0x3b4e9d(0x1b3,_0x425251._0x119238)+'start')return null;const _0x402452=_0x13157b['params']??{},_0x362abe=typeof _0x13157b['id']===_0x8e7c80(-_0x425251._0x156f97,-_0x425251._0x2104c2)&&_0x13157b['id']['trim']()?_0x13157b['id']['trim']():_0x8e7c80(0x84,0x1f9)+Math['random']()[_0x3b4e9d(0x5c3,0x3e0)](0x24)[_0x8e7c80(0x1b5,0xd1)](0x2,0xc),_0x5dd8e5=firstString(_0x402452[_0x3b4e9d(0x573,0x378)+'me'],_0x402452[_0x8e7c80(_0x425251._0x5e2f9e,-_0x425251._0x3b180b)+'me'],_0x402452[_0x3b4e9d(0x2eb,0x398)],_0x8e7c80(-_0x425251._0x2ed944,-0x2c7)+_0x3b4e9d(0x372,0x1a0)),_0x24e196={};return _0x24e196['id']=_0x362abe,_0x24e196[_0x3b4e9d(-_0x425251._0x1008d2,_0x425251._0x50b93c)]=_0x5dd8e5,_0x24e196;}catch{return null;}}function isConnectHandshakeRequest(_0x14bde9){const _0x2aad5f={_0x50def6:0x33,_0x2de882:0x12a,_0x4a33fe:0x1a0,_0x26b72c:0x4fa,_0x17580d:0x2d2},_0xd913e7={_0x2cdd66:0x512};function _0x2c692f(_0x48a43f,_0x5282e5){return _0x14f19b(_0x5282e5- -_0xd913e7._0x2cdd66,_0x48a43f);}function _0x350240(_0x6851a5,_0x1d8683){return _0x14f19b(_0x6851a5- -0x629,_0x1d8683);}const _0x16b7cc={};_0x16b7cc[_0x2c692f(-0x18e,-0xd6)]=_0x350240(-_0x2aad5f._0x50def6,0x1d9)+'start';const _0x1b2967=_0x16b7cc;try{const _0x7aa505=JSON[_0x350240(0x17c,0x1df)](_0x14bde9);return _0x7aa505[_0x350240(_0x2aad5f._0x2de882,_0x2aad5f._0x4a33fe)]===_0x350240(-0x3d,-0x147)&&(_0x7aa505['method']===_0x2c692f(_0x2aad5f._0x26b72c,_0x2aad5f._0x17580d)||_0x7aa505['method']===_0x1b2967['thEmz']);}catch{return![];}}function parseConnectHandshakeMeta(_0x334ef7){const _0x4b58db={_0x352d71:0x2e8,_0x402bc5:0x895,_0x38b136:0x5ce,_0x3d0720:0x65c,_0x5a50bd:0x7dc,_0x3547c7:0x5a2,_0x3b8956:0x92a,_0x3ca416:0x8f0,_0x58f693:0x74d,_0x10b5b9:0x2b2,_0xa40163:0x9c9,_0x337737:0x455,_0x2b3c29:0x64e,_0x1e2601:0x408,_0x5e6b77:0x23c,_0x324740:0x655,_0x523730:0x521,_0x2ac3df:0xafd,_0x493fbf:0x8c2,_0x4cc9ce:0x7ca,_0x37a44e:0x9a,_0x40aa50:0x18d,_0x3008b9:0x456,_0x3b5833:0x575,_0x20d336:0xec,_0x30ca21:0x1d7},_0xbd1b64={};_0xbd1b64[_0xd9fd29(0x28e,_0x4b58db._0x352d71)]=function(_0x3ac426,_0x4759d7){return _0x3ac426!==_0x4759d7;};function _0x109768(_0x5c8ea8,_0x176148){return _0x14f19b(_0x176148-0x157,_0x5c8ea8);}_0xbd1b64['XGxUe']=function(_0x31f538,_0x34c512){return _0x31f538!==_0x34c512;};function _0xd9fd29(_0x19cc90,_0x11819b){return _0x14f19b(_0x11819b- -0x21d,_0x19cc90);}_0xbd1b64[_0x109768(0x810,_0x4b58db._0x402bc5)]=function(_0x1dc9bd,_0x4067f3){return _0x1dc9bd===_0x4067f3;},_0xbd1b64[_0xd9fd29(0x64e,0x551)]=_0x109768(0x7e2,0x5b0);const _0x164e5e=_0xbd1b64;try{const _0xc5b825=JSON['parse'](_0x334ef7);if(_0x164e5e[_0x109768(_0x4b58db._0x38b136,_0x4b58db._0x3d0720)](_0xc5b825['type'],'req'))return null;if(_0x164e5e[_0x109768(0x8bb,0x8ab)](_0xc5b825[_0x109768(_0x4b58db._0x5a50bd,_0x4b58db._0x3547c7)],_0x109768(_0x4b58db._0x3b8956,0x93b))&&_0xc5b825['method']!==_0x109768(_0x4b58db._0x3ca416,_0x4b58db._0x58f693)+_0xd9fd29(0x46f,_0x4b58db._0x10b5b9))return null;const _0x2fc98d=_0xc5b825[_0x109768(0xa36,_0x4b58db._0xa40163)]?.[_0x109768(_0x4b58db._0x337737,_0x4b58db._0x2b3c29)]?.[_0x109768(0x890,0x7c6)],_0x22cd0d=_0xc5b825[_0x109768(0x888,0x9c9)]?.[_0xd9fd29(_0x4b58db._0x1e2601,0x322)];return{'id':typeof _0xc5b825['id']===_0xd9fd29(0xc2,_0x4b58db._0x5e6b77)&&_0xc5b825['id']['trim']()?_0xc5b825['id']['trim']():null,'method':_0xc5b825[_0x109768(_0x4b58db._0x324740,0x5a2)],'noncePresent':_0x164e5e[_0xd9fd29(0x334,_0x4b58db._0x523730)](typeof _0x2fc98d,_0x164e5e[_0xd9fd29(0x2e8,0x551)])&&_0x2fc98d[_0x109768(_0x4b58db._0x2ac3df,_0x4b58db._0x493fbf)]>0x0,'nonceLength':typeof _0x2fc98d===_0x109768(_0x4b58db._0x4cc9ce,0x5b0)?_0x2fc98d['length']:null,'authFields':_0x22cd0d&&typeof _0x22cd0d===_0xd9fd29(-_0x4b58db._0x37a44e,_0x4b58db._0x40aa50)?Object[_0x109768(_0x4b58db._0x3008b9,_0x4b58db._0x3b5833)](_0x22cd0d)[_0xd9fd29(_0x4b58db._0x20d336,_0x4b58db._0x30ca21)]():[]};}catch{return null;}}function parsePairingRequestFromError(_0x5decf0,_0x2be272=Date[_0x586208(0x7c4,0x9b0)]()){const _0x4d318b={_0xe6bac3:0x392,_0x45f235:0x63e,_0x2a9d84:0x3ce,_0x47ce82:0x3b1,_0x56fe5e:0x37e,_0xd168dc:0x603,_0x4ab5fd:0x22c,_0x4bc73f:0x392,_0x5d2bb6:0x737,_0x17b70f:0x368,_0x3ac76c:0x243,_0x4b6571:0x46f,_0x1697c7:0x261,_0xfd2a02:0x65b,_0x59f2b8:0x366,_0x55d0d4:0x634,_0x1fc07f:0x1b1,_0x2a5297:0x327,_0x5de29e:0x523,_0x32f29b:0x6da,_0xa927d3:0x193,_0x238e25:0x13f,_0x1d1fe6:0x480,_0x59f494:0x5f1,_0x32b47e:0x448,_0x293b44:0x634,_0x3ecd7f:0x42c,_0x3a8313:0x1a4,_0x4a1dba:0x727,_0x3ce645:0x3ec,_0x258f0e:0x32c,_0x4996ee:0x3c3,_0x547935:0x31f,_0x5b1554:0x3a7,_0x14e77e:0x371,_0x575426:0x3f1},_0x52d05b={_0x51bca1:0x203},_0x229f58={_0xb72e7:0xc7};function _0xbe361a(_0x2e7ac6,_0xbf24c3){return _0x14f19b(_0xbf24c3- -_0x229f58._0xb72e7,_0x2e7ac6);}const _0x53b1b6={'mWEvO':'res','DfVpv':_0xbe361a(0x573,_0x4d318b._0xe6bac3),'pBBgU':_0xbe361a(_0x4d318b._0x45f235,0x671)+_0xbe361a(_0x4d318b._0x2a9d84,_0x4d318b._0x47ce82),'MVFQf':function(_0x4522f0,_0x53e5ca){return _0x4522f0(_0x53e5ca);},'CPBVN':function(_0x26673e,_0x191c59,_0x1d8d0a){return _0x26673e(_0x191c59,_0x1d8d0a);},'hyBCA':function(_0x49ed69,_0x584fc2){return _0x49ed69(_0x584fc2);},'iUoHV':function(_0x4ff686,_0x21b09d){return _0x4ff686(_0x21b09d);}};function _0x4ecc92(_0x561556,_0x2f89d6){return _0x14f19b(_0x561556- -_0x52d05b._0x51bca1,_0x2f89d6);}try{const _0x17f8fb=JSON[_0x4ecc92(0x5a2,0x66f)](_0x5decf0);if(_0x17f8fb['type']!==_0x53b1b6[_0x4ecc92(0x186,_0x4d318b._0x56fe5e)]||_0x17f8fb['ok']!==![]||!_0x17f8fb[_0xbe361a(_0x4d318b._0xd168dc,0x770)])return null;const _0x27ff0e=typeof _0x17f8fb['error'][_0x4ecc92(_0x4d318b._0x4ab5fd,0x357)]===_0xbe361a(0x2d0,_0x4d318b._0x4bc73f)?_0x17f8fb[_0xbe361a(_0x4d318b._0x5d2bb6,0x770)][_0xbe361a(0x19b,_0x4d318b._0x17b70f)]:'',_0x3d7728=typeof _0x17f8fb['error'][_0xbe361a(_0x4d318b._0x3ac76c,0x39d)]===_0x53b1b6[_0x4ecc92(_0x4d318b._0x4b6571,0x5ed)]?_0x17f8fb[_0x4ecc92(0x634,0x473)][_0x4ecc92(_0x4d318b._0x1697c7,0x270)]:'';if(!_0x27ff0e['includes'](_0xbe361a(0x539,0x6c3)+'ED')&&!_0x27ff0e['includes']('PAIRING_'+_0x4ecc92(0x513,0x66c))&&!_0x3d7728[_0xbe361a(0x6d6,0x612)]('NOT_PAIR'+'ED')&&!_0x3d7728[_0xbe361a(_0x4d318b._0xfd2a02,0x612)](_0x53b1b6[_0xbe361a(0x20a,_0x4d318b._0x59f2b8)]))return null;const _0x3f7d20=_0x17f8fb[_0x4ecc92(_0x4d318b._0x55d0d4,0x67e)][_0xbe361a(_0x4d318b._0x1fc07f,_0x4d318b._0x2a5297)]??_0x17f8fb[_0xbe361a(_0x4d318b._0x5de29e,0x770)][_0x4ecc92(0x544,_0x4d318b._0x32f29b)]??{},_0xb1ed1f=firstString(_0x3f7d20[_0x4ecc92(0x526,0x413)+'d'],_0x53b1b6[_0x4ecc92(_0x4d318b._0xa927d3,_0x4d318b._0x238e25)](extractRequestIdFromMessage,_0x3d7728),'unknown');return{'requestId':_0xb1ed1f,'deviceId':_0x53b1b6[_0x4ecc92(_0x4d318b._0x1d1fe6,0x6d1)](firstString,_0x3f7d20[_0x4ecc92(_0x4d318b._0x59f494,_0x4d318b._0x32b47e)],''),'displayName':firstNullableString(_0x3f7d20[_0xbe361a(_0x4d318b._0x293b44,_0x4d318b._0x3ecd7f)+_0x4ecc92(_0x4d318b._0x3a8313,0x1f8)]),'platform':firstNullableString(_0x3f7d20[_0xbe361a(0x5d9,_0x4d318b._0x4a1dba)]),'deviceFamily':_0x53b1b6[_0x4ecc92(0x56d,_0x4d318b._0x3ce645)](firstNullableString,_0x3f7d20[_0x4ecc92(0x299,_0x4d318b._0x258f0e)+_0x4ecc92(_0x4d318b._0x4996ee,_0x4d318b._0x547935)]),'role':firstNullableString(_0x3f7d20['role']),'remoteIp':_0x53b1b6[_0xbe361a(0x6c0,0x6eb)](firstNullableString,_0x3f7d20[_0xbe361a(_0x4d318b._0x5b1554,_0x4d318b._0x14e77e)]),'receivedAtMs':_0x2be272,'status':_0xbe361a(0x4fd,_0x4d318b._0x575426)};}catch{return null;}}function parsePairResolvedEvent(_0x1dacb5){const _0x55b894={_0x2ce2c9:0x49,_0x331df3:0x1b6,_0x136f12:0x176,_0x39a8f8:0x73f,_0x147125:0x754,_0x9c79e5:0x1f5,_0x5c183b:0x848,_0x4f671c:0x40,_0x38900e:0x70,_0x331ffa:0x85f,_0x5d09f2:0x89b,_0x3f7a7a:0xb0c,_0x4bde90:0x1ad,_0x113d89:0x554,_0x591fca:0x43b,_0x48a9bb:0xeb,_0x434f31:0x513,_0x11b15c:0x6b2,_0x37a39f:0x6cb,_0x43a084:0x7e3,_0x41e538:0x833,_0x35d574:0x9a,_0x54ac9d:0xe1,_0x1c57ba:0x115,_0x4847c6:0x7a5,_0x545b74:0x2b6,_0x5b1e52:0x109,_0x227f7d:0x6d4},_0x29c322={_0x18f7a0:0x629},_0x4754a0={_0x4cf0db:0xba},_0x48cafa={};function _0x1459af(_0x4b11a9,_0x1e6f2d){return _0x14f19b(_0x4b11a9-_0x4754a0._0x4cf0db,_0x1e6f2d);}_0x48cafa[_0x344d91(_0x55b894._0x2ce2c9,_0x55b894._0x331df3)]=_0x344d91(_0x55b894._0x136f12,0x1b8),_0x48cafa[_0x1459af(_0x55b894._0x39a8f8,0x765)]=function(_0x402dd6,_0x124569){return _0x402dd6===_0x124569;},_0x48cafa[_0x1459af(0x6af,_0x55b894._0x147125)]=_0x344d91(-_0x55b894._0x9c79e5,-0x1d0),_0x48cafa[_0x1459af(0x63c,_0x55b894._0x5c183b)]=_0x344d91(_0x55b894._0x4f671c,_0x55b894._0x38900e);function _0x344d91(_0x245af8,_0x115ea3){return _0x14f19b(_0x115ea3- -_0x29c322._0x18f7a0,_0x245af8);}const _0xb70a66=_0x48cafa;try{const _0x2704ac=JSON[_0x1459af(_0x55b894._0x331ffa,0x7eb)](_0x1dacb5);if(_0x2704ac['type']!==_0xb70a66['SHREE']||_0x2704ac[_0x1459af(_0x55b894._0x5d09f2,_0x55b894._0x3f7a7a)]!=='device.p'+_0x1459af(0x615,0x398)+_0x1459af(0x444,0x6a6)||!_0x2704ac[_0x344d91(-_0x55b894._0x4bde90,-0x18f)])return null;const _0x435201=_0xb70a66['BKZIw'](typeof _0x2704ac[_0x1459af(_0x55b894._0x113d89,_0x55b894._0x591fca)][_0x344d91(_0x55b894._0x48a9bb,0x100)+'d'],_0x1459af(_0x55b894._0x434f31,_0x55b894._0x11b15c))?_0x2704ac[_0x1459af(0x554,_0x55b894._0x37a39f)][_0x1459af(_0x55b894._0x43a084,_0x55b894._0x41e538)+'d'][_0x344d91(-_0x55b894._0x35d574,-0x14b)]():'';if(!_0x435201)return null;const _0x2518a2=typeof _0x2704ac[_0x344d91(0x30,-0x18f)][_0x344d91(-_0x55b894._0x54ac9d,-0xf)]===_0xb70a66[_0x344d91(-0x105,-0x34)]?_0x2704ac[_0x344d91(-0x196,-0x18f)][_0x344d91(-_0x55b894._0x1c57ba,-0xf)]:_0x1459af(0x753,_0x55b894._0x4847c6),_0x5d398b=_0x2518a2===_0x344d91(-_0x55b894._0x545b74,-0x48)||_0x2518a2==='rejected'?_0x2518a2:_0xb70a66[_0x344d91(-_0x55b894._0x5b1e52,-0xa7)],_0x425724={};return _0x425724['requestI'+'d']=_0x435201,_0x425724[_0x1459af(_0x55b894._0x227f7d,0x4f3)]=_0x5d398b,_0x425724;}catch{return null;}}function firstString(..._0x112819){const _0x6037a0={_0x16d1b9:0x26c,_0x35e3b8:0x2cd,_0xcc31d2:0x4f2},_0x3fa66c={_0x1bf0e8:0x4d};function _0x5da3c6(_0x204369,_0x109111){return _0x586208(_0x109111- -0x74,_0x204369);}for(const _0x5bb116 of _0x112819){if(typeof _0x5bb116===_0x5da3c6(_0x6037a0._0x16d1b9,0x3ac)&&_0x5bb116[_0x539866(_0x6037a0._0x35e3b8,_0x6037a0._0xcc31d2)]())return _0x5bb116['trim']();}function _0x539866(_0x21221a,_0x1b10fd){return _0x586208(_0x1b10fd-_0x3fa66c._0x1bf0e8,_0x21221a);}return'';}function firstNullableString(_0x39ebcc){const _0x4c4a12={_0x292841:0xc5},_0xa7856d={_0x9652ac:0x3bf};function _0x633a60(_0x3e7d93,_0x26a75a){return _0x14f19b(_0x26a75a- -0x459,_0x3e7d93);}function _0xc2c368(_0x1a72cb,_0x4dd651){return _0x14f19b(_0x4dd651- -_0xa7856d._0x9652ac,_0x1a72cb);}return typeof _0x39ebcc===_0xc2c368(0x27f,0x9a)&&_0x39ebcc[_0xc2c368(-0xb8,0x11f)]()?_0x39ebcc[_0xc2c368(_0x4c4a12._0x292841,0x11f)]():null;}function extractRequestIdFromMessage(_0x52b113){const _0x2f9ef9={_0x22379d:0x2b8},_0x608924=_0x52b113[_0xfe48da(0x32e,0x550)](/requestId[:\s]*([a-f0-9-]+)/i);function _0xfe48da(_0x4dd970,_0x8f228e){return _0x14f19b(_0x4dd970- -_0x2f9ef9._0x22379d,_0x8f228e);}return _0x608924?.[0x1]??null;}import{randomUUID as _0x24a8b1}from'crypto';import{setTimeout as _0x49ea09}from'timers/promises';import _0x1c58eb 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,MAX_PENDING_GATEWAY_MESSAGES=0x100,MAX_DEVICE_DETAILS=0x20,MAX_PENDING_PAIR_REQUESTS=0x10,BridgeRuntime=class{[_0x586208(0x6d8,0x471)];[_0x586208(0x6f4,0x52c)+_0x14f19b(0x43d,0x4a4)]=null;['gatewayS'+_0x14f19b(0x3bf,0x481)]=null;['relayCon'+_0x586208(0x41c,0x52c)]=![];[_0x14f19b(0x682,0x40d)+_0x586208(0x652,0x605)+'g']=![];[_0x586208(0x7e7,0x586)]=!![];['relayAtt'+_0x586208(0x409,0x618)]=0x0;[_0x14f19b(0x71e,0x8a2)+_0x586208(0x63c,0x663)+'yMs']=0x0;['reconnec'+_0x586208(0x65a,0x495)]=null;['gatewayR'+_0x14f19b(0x452,0x3ce)+'r']=null;[_0x14f19b(0x48f,0x61b)+_0x14f19b(0x693,0x7d1)]=null;[_0x586208(0x5f8,0x859)+_0x586208(0x6e7,0x4df)+_0x14f19b(0x4a6,0x5c4)]=[];['gatewayH'+_0x586208(0x81d,0x7a6)+_0x586208(0x6bf,0x6b7)]=![];[_0x586208(0x649,0x735)+_0x586208(0x678,0x8fc)+_0x586208(0x3b8,0x45d)+'ing']=![];[_0x14f19b(0x6c0,0x535)+_0x586208(0x558,0x59f)+_0x586208(0x7b4,0x88d)]=null;[_0x14f19b(0x682,0x50f)+_0x14f19b(0x6b3,0x638)+_0x586208(0x363,0x590)]=null;['snapshot'];constructor(_0x32bbb6){const _0x5499b8={_0x5ab072:0x146,_0x49e2ca:0x19d,_0x33bbdf:0x82,_0x4888dc:0x5d};this[_0x36554b(0x13a,0x2db)]=_0x32bbb6;function _0x36554b(_0x200924,_0x1bc9db){return _0x14f19b(_0x200924- -0x5d7,_0x1bc9db);}function _0xdbf77d(_0x21015c,_0x15cde5){return _0x14f19b(_0x15cde5- -0x319,_0x21015c);}this['snapshot']={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x32bbb6[_0x36554b(-0x23c,-0x80)][_0xdbf77d(_0x5499b8._0x5ab072,0xe3)+'d'],'instanceId':_0x32bbb6[_0x36554b(-0x23c,-0x135)][_0x36554b(0x90,_0x5499b8._0x49e2ca)+'Id'],'relayUrl':_0x32bbb6[_0xdbf77d(0x1a6,_0x5499b8._0x33bbdf)][_0x36554b(-0x22e,-0x1ed)],'gatewayUrl':_0x32bbb6[_0xdbf77d(0x170,0x322)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x36554b(0x226,_0x5499b8._0x4888dc)]()};}[_0x586208(0x496,0x2a3)](){const _0x5d4d87={_0x262154:0x4cc,_0x1cdc7b:0x74b,_0x52ac76:0x6f8,_0x70cdd5:0x443,_0x582f01:0x440,_0x1bab53:0x6f5,_0x15d0df:0x1fc,_0x423a13:0x605,_0x2ebc94:0x5e9,_0x5cb32f:0x513,_0x48a3e3:0x943,_0x397861:0x6f5,_0x7f213a:0x5ab,_0x3120dc:0x9f,_0x312dc1:0x25f,_0x2a0fce:0x625},_0x473c02=(_0x2dbb70(0x683,0x599)+'3')[_0x2dbb70(0x324,_0x5d4d87._0x262154)]('|');let _0x8775f9=0x0;function _0x2dbb70(_0x61e5,_0x469ee2){return _0x586208(_0x469ee2- -0xef,_0x61e5);}function _0x58365a(_0x459e87,_0x3cadfe){return _0x586208(_0x459e87-0x15c,_0x3cadfe);}while(!![]){switch(_0x473c02[_0x8775f9++]){case'0':if(!this[_0x2dbb70(_0x5d4d87._0x1cdc7b,_0x5d4d87._0x52ac76)])return;continue;case'1':this[_0x2dbb70(0xd2,0x257)](_0x58365a(0x888,0x8ce)+'starting'+_0x2dbb70(0x24d,_0x5d4d87._0x70cdd5)+_0x2dbb70(0x3d4,_0x5d4d87._0x582f01)+this[_0x2dbb70(_0x5d4d87._0x1bab53,0x5e9)][_0x2dbb70(0x267,0x273)]['gatewayI'+'d']+(_0x2dbb70(_0x5d4d87._0x15d0df,0x443)+_0x2dbb70(_0x5d4d87._0x423a13,0x6fa))+this[_0x2dbb70(0x456,_0x5d4d87._0x2ebc94)][_0x2dbb70(0x6c4,_0x5d4d87._0x5cb32f)+'rl']);continue;case'2':this[_0x58365a(_0x5d4d87._0x48a3e3,0x8c6)]=![];continue;case'3':void this['connectR'+_0x2dbb70(_0x5d4d87._0x397861,_0x5d4d87._0x7f213a)]();continue;case'4':this[_0x2dbb70(_0x5d4d87._0x3120dc,_0x5d4d87._0x312dc1)+_0x58365a(_0x5d4d87._0x2a0fce,0x864)]({'running':!![],'gatewayUrl':this[_0x2dbb70(0x4ab,0x5e9)]['gatewayU'+'rl']});continue;}break;}}async[_0x14f19b(0x71f,0x866)](){const _0x350d7b={_0x2af8c5:0x66d,_0xd409cf:0x535,_0x54aaca:0x66d,_0x3b4b66:0x61b,_0x32ffa4:0x169,_0x5f2573:0x52,_0x4ac040:0x3a7,_0x2edae0:0x4f4,_0x20559c:0x12,_0x2d8b1e:0x28a,_0x434fb8:0x50c,_0x5992e0:0xeb,_0x1c0bbe:0x1d2,_0x2f5f75:0x4c4,_0x5d8ec8:0x4a5,_0xea700:0x3dd,_0x29a349:0x59,_0xef98bb:0x37d,_0x219d72:0x297,_0x4232de:0x50d,_0x37c43b:0x849,_0x5c47e5:0x6d,_0x36f549:0x181,_0x259934:0x3f,_0x7c449f:0x1df,_0x10c521:0x3ae,_0x4a8de8:0x589,_0x56d9f9:0x6a4,_0x278d37:0x687,_0x4db833:0x1cc};if(this[_0x3504e7(0x8a8,_0x350d7b._0x2af8c5)])return;this[_0x3504e7(_0x350d7b._0xd409cf,_0x350d7b._0x54aaca)]=!![],this['clearTim'+_0x411ed0(0x54d,_0x350d7b._0x3b4b66)](),this['relaySoc'+_0x411ed0(_0x350d7b._0x32ffa4,-_0x350d7b._0x5f2573)]?.[_0x3504e7(_0x350d7b._0x4ac040,0x1ee)](),this[_0x3504e7(_0x350d7b._0x2edae0,0x694)+_0x411ed0(0xeb,0x29f)]?.['close'](),this['relaySoc'+_0x3504e7(_0x350d7b._0x20559c,_0x350d7b._0x2d8b1e)]=null,this[_0x411ed0(0x573,_0x350d7b._0x434fb8)+_0x411ed0(_0x350d7b._0x5992e0,0x68)]=null;function _0x411ed0(_0x2754d9,_0x20228f){return _0x14f19b(_0x2754d9- -0x2d4,_0x20228f);}this[_0x3504e7(0x37b,0x47e)+_0x3504e7(0x3e2,0x56d)+_0x411ed0(_0x350d7b._0x1c0bbe,0x231)]=[],this[_0x3504e7(_0x350d7b._0x2f5f75,0x35f)+_0x3504e7(_0x350d7b._0x5d8ec8,0x6a3)+'Started']=![],this[_0x411ed0(0x3ae,0x4e3)+_0x3504e7(_0x350d7b._0xea700,0x4fe)+_0x3504e7(_0x350d7b._0x29a349,0x23e)+_0x411ed0(0x3d8,_0x350d7b._0xef98bb)]=![],this[_0x3504e7(_0x350d7b._0x219d72,_0x350d7b._0x4232de)+_0x411ed0(0x2bd,0x1c6)+_0x3504e7(_0x350d7b._0x37c43b,0x63a)]=null,this['gatewayC'+'onnected'+'AtMs']=null,this[_0x411ed0(0xbe,_0x350d7b._0x5c47e5)+_0x411ed0(_0x350d7b._0x36f549,0x1e9)]=![],this[_0x3504e7(0x64e,0x4cf)+'onnectin'+'g']=![];const _0x2e9f4a={};_0x2e9f4a[_0x411ed0(0xaf,-0xcb)]=![],_0x2e9f4a[_0x3504e7(_0x350d7b._0x259934,_0x350d7b._0x7c449f)+_0x411ed0(0x56f,0x5bc)]=![];function _0x3504e7(_0x50c145,_0x387ba6){return _0x14f19b(_0x387ba6- -0x1b3,_0x50c145);}_0x2e9f4a[_0x411ed0(_0x350d7b._0x10c521,0x3ba)+_0x411ed0(0x3df,0x191)]=![],_0x2e9f4a['clientCo'+_0x3504e7(_0x350d7b._0x4a8de8,_0x350d7b._0x56d9f9)]=0x0,_0x2e9f4a[_0x411ed0(0x503,_0x350d7b._0x278d37)+'r']=null,this[_0x411ed0(0xb3,-0x1a5)+'apshot'](_0x2e9f4a),this[_0x3504e7(0x38,_0x350d7b._0x4db833)](_0x411ed0(0x491,0x2a8)+'stopped'),await _0x49ea09(0x19);}async[_0x14f19b(0x6f0,0x8d2)+_0x586208(0x605,0x3d8)+'st'](_0x1d861a){const _0x56f4bf={_0x2d12b5:0x7b1,_0x34608b:0x403,_0x58bad1:0x69f,_0x3b3072:0x4e2,_0x2f3795:0x5b8,_0x458268:0x55d,_0x2e9c0c:0x682,_0xd7a4f9:0x572,_0x1049a8:0x7e8},_0xd0f09d={_0x22ab37:0x92},_0x4e53f8={};_0x4e53f8['hmdJt']=_0x2e6981(0x6a2,_0x56f4bf._0x2d12b5)+_0x2e6981(_0x56f4bf._0x34608b,0x3b1)+_0x23ac7b(_0x56f4bf._0x58bad1,_0x56f4bf._0x3b3072),_0x4e53f8[_0x2e6981(0x78a,0x62b)]=_0x23ac7b(0x3f1,_0x56f4bf._0x2f3795);const _0x1c8a26=_0x4e53f8;function _0x23ac7b(_0x57c7ad,_0x459e70){return _0x14f19b(_0x459e70- -0x29,_0x57c7ad);}const _0x1db225={};_0x1db225['requestI'+'d']=_0x1d861a;function _0x2e6981(_0x2845a5,_0x7a43ab){return _0x14f19b(_0x2845a5- -_0xd0f09d._0x22ab37,_0x7a43ab);}this[_0x2e6981(0x38f,_0x56f4bf._0x458268)+_0x23ac7b(_0x56f4bf._0x2e9c0c,_0x56f4bf._0xd7a4f9)+'st'](_0x1c8a26['hmdJt'],_0x1db225),this['markPair'+_0x23ac7b(0x52d,0x4b6)+'esolved'](_0x1d861a,_0x1c8a26[_0x23ac7b(_0x56f4bf._0x1049a8,0x7f3)]);}async['rejectPa'+'irReques'+'t'](_0x56bb06){const _0x1499c4={_0xd44816:0x5da,_0x1329f6:0x6a5,_0x397d81:0x6b,_0x1c2789:0x348,_0x39eb0c:0x53,_0x1c23c7:0x4,_0x2d4fae:0xd7},_0x4fbdb5={_0x1daa1f:0x614};function _0xef60b2(_0x4c974c,_0xdbd293){return _0x14f19b(_0x4c974c-0x3f,_0xdbd293);}const _0x2ebc95={};_0x2ebc95['requestI'+'d']=_0x56bb06;function _0x258dee(_0x278b9c,_0x5a35b7){return _0x14f19b(_0x5a35b7- -_0x4fbdb5._0x1daa1f,_0x278b9c);}this['sendGate'+_0xef60b2(_0x1499c4._0xd44816,_0x1499c4._0x1329f6)+'st'](_0x258dee(_0x1499c4._0x397d81,0x120)+_0xef60b2(0x3bb,_0x1499c4._0x1c2789)+'ct',_0x2ebc95),this[_0x258dee(-_0x1499c4._0x39eb0c,_0x1499c4._0x1c23c7)+_0x258dee(0x106,-0x135)+_0x258dee(-0x9b,_0x1499c4._0x2d4fae)](_0x56bb06,_0x258dee(0xab,0x11a));}[_0x586208(0x60c,0x590)+'hot'](){const _0x3bfbbb={_0x4fd603:0x7d4,_0xfc903c:0x2d5,_0x2984d6:0x6c2,_0x433b65:0x1f2,_0x5edc4b:0x665,_0x558b16:0x6b5,_0x184a4d:0x5b1,_0xa74838:0x52f,_0x367d27:0x4ae},_0x190aba={_0x37bf36:0x227},_0x57441e={...this[_0x23565b(_0x3bfbbb._0x4fd603,0x6c2)]};function _0x23565b(_0x43b8d3,_0x1d5b29){return _0x14f19b(_0x1d5b29-0x77,_0x43b8d3);}_0x57441e[_0x23565b(0x5e7,0x6e5)+_0x23565b(_0x3bfbbb._0xfc903c,0x4be)]=[...this[_0x23565b(0x701,_0x3bfbbb._0x2984d6)][_0x2f206a(0x39b,0x447)+_0x2f206a(_0x3bfbbb._0x433b65,0x220)]],_0x57441e['pendingP'+_0x23565b(_0x3bfbbb._0x5edc4b,_0x3bfbbb._0x558b16)+_0x2f206a(0x36e,_0x3bfbbb._0x184a4d)]=[...this[_0x23565b(_0x3bfbbb._0xa74838,0x6c2)][_0x2f206a(0x6ae,_0x3bfbbb._0x367d27)+_0x23565b(0x4f2,0x6b5)+_0x2f206a(0x4e0,0x5b1)]];function _0x2f206a(_0x262828,_0x56a2f9){return _0x14f19b(_0x56a2f9- -_0x190aba._0x37bf36,_0x262828);}return _0x57441e;}async[_0x14f19b(0x69f,0x5d7)+_0x14f19b(0x6d3,0x4a0)](){const _0x2e82aa={_0x17857c:0x1c1,_0x4f73a2:0x486,_0x1496fb:0x453,_0xbd504e:0x8c7,_0x5134d6:0x425,_0xb3f34:0x441,_0x512c1f:0x511,_0x4b7e83:0x370,_0x549f32:0x1ba,_0x362b72:0x647,_0x76a28a:0x75,_0x577622:0x1b9,_0x3a36f6:0x774,_0x2ab3ba:0x837,_0x1b82fd:0xa5,_0x3c57bc:0x526,_0x1e09ec:0x4f1,_0x23b955:0x6e,_0x470fab:0x869,_0x4d9251:0x35f,_0x322135:0x28f,_0x1de87b:0x2b,_0x4e84d6:0x184,_0xb4e8d1:0x148,_0x1e194c:0xf3,_0x29dc80:0x12b},_0x3cc899={_0x229c63:0x8a0,_0x82a4a5:0x6b5,_0x8fb830:0x5c9,_0x1ee647:0x536,_0x4e555c:0x302,_0x52b378:0x648,_0x1deab5:0x5fb,_0x134aff:0x519,_0xf60d16:0x6b7,_0x34b0ca:0x63b,_0x3d8bef:0x3ca,_0x5ea0f9:0x324,_0xb9ce83:0x755,_0x5d4506:0x67d,_0x41fbc1:0x922,_0x53f445:0x9b,_0x1d6803:0x52d,_0x4b36fd:0x478,_0x5a4ca6:0x4d2,_0x558fed:0x6a6,_0x35bce7:0x34f,_0x816e6a:0x382,_0x4c91f7:0x78d},_0x3e1851={_0x1f4f6b:0x118},_0x39e6fe={_0x42b6fb:0x5c4},_0x512d6e={_0x298647:0x6,_0x5582a3:0x55a},_0x10168a={_0x2d6901:0x165},_0x5056d1={_0x2035b2:0x6de,_0x524546:0x283,_0x41d85a:0x25f,_0x88f0cf:0x22a,_0x348258:0x250,_0x5cb520:0x5dc,_0x9ad8c8:0x3a1,_0x1f96cb:0x1d1,_0x3893ae:0x5ce,_0x57d0d1:0x503,_0x355341:0x38c,_0xdda19a:0x3c0,_0x40892a:0x4fd,_0x2f5419:0x332,_0x2f2cc0:0x3a2,_0x5f4ccb:0x5de,_0x296daf:0x4b2,_0xb002a1:0x870,_0x531af5:0x930,_0x575d78:0x701},_0x2e3d0a={_0x2ef0ed:0x374},_0x4ef853={};function _0x4bb0d1(_0x4b8e2a,_0x6d7f0c){return _0x14f19b(_0x4b8e2a-0xa0,_0x6d7f0c);}_0x4ef853[_0x30d739(-0x69,_0x2e82aa._0x17857c)]=_0x4bb0d1(_0x2e82aa._0x4f73a2,0x5dd),_0x4ef853[_0x4bb0d1(0x71b,0x7b2)]='pong',_0x4ef853[_0x4bb0d1(0x5e1,_0x2e82aa._0x1496fb)]=_0x4bb0d1(0x8d7,_0x2e82aa._0xbd504e),_0x4ef853[_0x4bb0d1(_0x2e82aa._0x5134d6,0x47a)]=_0x4bb0d1(_0x2e82aa._0xb3f34,_0x2e82aa._0x512c1f);const _0x3c879d=_0x4ef853;if(this[_0x30d739(0x1e0,_0x2e82aa._0x4b7e83)]||this[_0x4bb0d1(0x432,_0x2e82aa._0x549f32)+_0x4bb0d1(0x4f5,_0x2e82aa._0x362b72)]||this[_0x30d739(-_0x2e82aa._0x76a28a,_0x2e82aa._0x577622)+_0x4bb0d1(_0x2e82aa._0x3a36f6,_0x2e82aa._0x2ab3ba)]())return;this[_0x30d739(-_0x2e82aa._0x1b82fd,-0x11e)+_0x30d739(0xca,-0x5b)]=!![],this['relayAtt'+_0x30d739(0xfa,-0x6e)]+=0x1;const _0x236e0a=this[_0x4bb0d1(_0x2e82aa._0x3c57bc,_0x2e82aa._0x1e09ec)+_0x30d739(-0x181,-_0x2e82aa._0x23b955)],_0x432482=buildRelayWsUrl(this[_0x4bb0d1(0x7b1,_0x2e82aa._0x470fab)][_0x30d739(0x82,-0x115)]);this[_0x4bb0d1(0x41f,_0x2e82aa._0x4d9251)](_0x30d739(0x458,0x215)+_0x30d739(_0x2e82aa._0x322135,_0x2e82aa._0x1de87b)+'tempt='+_0x236e0a+_0x30d739(-0x1d6,-0x4e)+redactRelayWsUrl(_0x432482));const _0xafb789=this['createWe'+_0x30d739(_0x2e82aa._0x4e84d6,_0x2e82aa._0xb4e8d1)](_0x432482);this['relaySoc'+'ket']=_0xafb789;function _0x30d739(_0x3d62df,_0x3f510a){return _0x14f19b(_0x3f510a- -0x4b0,_0x3d62df);}_0xafb789[_0x30d739(0x333,0xf3)]('open',()=>{const _0x47a262={_0x483500:0x1e2};if(this[_0x31eb15(0x683,_0x5056d1._0x2035b2)]||this[_0x7a2b19(0x459,_0x5056d1._0x524546)+'ket']!==_0xafb789){_0xafb789[_0x31eb15(0x49e,_0x5056d1._0x41d85a)]();return;}this[_0x31eb15(_0x5056d1._0x88f0cf,_0x5056d1._0x348258)+_0x31eb15(0x56d,0x313)]=![],this[_0x31eb15(0x575,_0x5056d1._0x5cb520)+_0x7a2b19(_0x5056d1._0x9ad8c8,0x558)+'yMs']=Date['now']();const _0x580da2={};_0x580da2[_0x31eb15(_0x5056d1._0x1f96cb,0x250)+_0x7a2b19(0x56f,_0x5056d1._0x3893ae)]=!![];function _0x7a2b19(_0x4ccf06,_0x54e0ef){return _0x4bb0d1(_0x4ccf06- -_0x2e3d0a._0x2ef0ed,_0x54e0ef);}_0x580da2[_0x7a2b19(_0x5056d1._0x57d0d1,0x677)+'r']=null,this['updateSn'+_0x31eb15(_0x5056d1._0x355341,_0x5056d1._0xdda19a)](_0x580da2),this[_0x31eb15(0x422,0x23d)]('relay\x20co'+'nnected\x20'+'attempt='+_0x236e0a),this[_0x31eb15(_0x5056d1._0x40892a,0x2a8)+_0x7a2b19(0xad,-0x47)]();function _0x31eb15(_0x5c178f,_0x5dd7a1){return _0x4bb0d1(_0x5dd7a1- -_0x47a262._0x483500,_0x5c178f);}shouldKeepGatewayConnected(this[_0x7a2b19(0x377,0x410)]['clientCo'+_0x7a2b19(0x583,_0x5056d1._0x2f5419)],summarizePendingGatewayMessages(this['pendingG'+_0x31eb15(_0x5056d1._0x2f2cc0,_0x5056d1._0x5f4ccb)+'ssages'])[_0x7a2b19(0x3cb,_0x5056d1._0x296daf)+_0x31eb15(_0x5056d1._0xb002a1,0x70e)])&&this[_0x31eb15(0x594,0x3ba)+'tewayCon'+_0x31eb15(_0x5056d1._0x531af5,_0x5056d1._0x575d78)]();}),_0xafb789['on'](_0x30d739(-0x160,-0x4c),(_0x2ce9ab,_0x3b9139)=>{const _0x100318={_0x3b1731:0x9e};function _0x369d78(_0x2aa732,_0x2de34b){return _0x30d739(_0x2de34b,_0x2aa732-_0x100318._0x3b1731);}void this['handleRe'+_0x369d78(0x87,-_0x10168a._0x2d6901)+'ge'](_0x2ce9ab,_0x3b9139);}),_0xafb789['on'](_0x3c879d['OXhRe'],()=>{const _0x1129dd={_0xf2489e:0x60c};function _0x3ef264(_0xa2a832,_0x4b7ed3){return _0x4bb0d1(_0x4b7ed3- -0x343,_0xa2a832);}function _0x122cae(_0x31e8fc,_0x46c562){return _0x4bb0d1(_0x31e8fc- -_0x1129dd._0xf2489e,_0x46c562);}this[_0x3ef264(0x693,0x47b)+'yActivit'+_0x3ef264(-_0x512d6e._0x298647,0x20e)]=Date[_0x3ef264(0x691,_0x512d6e._0x5582a3)]();}),_0xafb789[_0x30d739(0x1e8,_0x2e82aa._0x1e194c)](_0x3c879d[_0x4bb0d1(0x5e1,0x80a)],_0x5eb333=>{const _0x5eb0d9={_0x479a59:0x111};function _0x3adb0f(_0x5ad6f6,_0xdbf871){return _0x4bb0d1(_0xdbf871- -_0x5eb0d9._0x479a59,_0x5ad6f6);}this['log']('relay\x20er'+_0x3adb0f(0x360,_0x39e6fe._0x42b6fb)+String(_0x5eb333));}),_0xafb789['once'](_0x3c879d[_0x30d739(-0x1f8,-_0x2e82aa._0x29dc80)],(_0xfba19,_0x59a1d3)=>{this['relaySoc'+_0x112aa3(0x4fd,0x3c5)]===_0xafb789&&(this[_0x112aa3(_0x3cc899._0x229c63,_0x3cc899._0x82a4a5)+'ket']=null);this[_0x593e52(_0x3cc899._0x8fb830,0x3c7)+_0x593e52(_0x3cc899._0x1ee647,0x48a)]=![],this[_0x112aa3(0x11c,_0x3cc899._0x4e555c)+_0x112aa3(0x365,0x3e6)](),this[_0x112aa3(0x5bf,_0x3cc899._0x52b378)+_0x112aa3(_0x3cc899._0x1deab5,_0x3cc899._0x134aff)+_0x593e52(0x937,0x822)]=null,this[_0x593e52(0x609,_0x3cc899._0xf60d16)+_0x112aa3(0x89c,_0x3cc899._0x34b0ca)+_0x112aa3(_0x3cc899._0x3d8bef,_0x3cc899._0x5ea0f9)]=null,this['updateSn'+_0x593e52(_0x3cc899._0xb9ce83,0x537)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0xfba19===0x3e8?null:'relay\x20cl'+_0x112aa3(0x7b3,_0x3cc899._0x5d4506)+(_0x59a1d3[_0x112aa3(_0x3cc899._0x41fbc1,0x7c4)]()||_0xfba19)}),this[_0x112aa3(_0x3cc899._0x53f445,0x307)]('relay\x20di'+_0x112aa3(_0x3cc899._0x1d6803,_0x3cc899._0x4b36fd)+_0x112aa3(0x2f2,_0x3cc899._0x5a4ca6)+_0xfba19+'\x20reason='+(_0x59a1d3[_0x593e52(0xab8,0x871)]()||_0x3c879d[_0x593e52(0x865,_0x3cc899._0x558fed)])),this[_0x593e52(0x7c4,0x77e)+_0x112aa3(0x50a,0x474)]();function _0x593e52(_0x56ed84,_0x24ae59){return _0x4bb0d1(_0x24ae59- -0x6b,_0x56ed84);}function _0x112aa3(_0x2efac3,_0x5af589){return _0x4bb0d1(_0x5af589- -_0x3e1851._0x1f4f6b,_0x2efac3);}this['schedule'+_0x112aa3(_0x3cc899._0x35bce7,_0x3cc899._0x816e6a)+_0x593e52(_0x3cc899._0x4c91f7,0x699)]();});}async[_0x586208(0x4a1,0x5da)+_0x586208(0x460,0x547)+'ge'](_0x4d519b,_0x269c2f){const _0x4684b9={_0x546391:0x20a,_0x22bc7d:0x2cf,_0x41125e:0x2d1,_0x132db8:0xd7,_0x2edffc:0x11d,_0x4bb8d2:0x14d,_0x324142:0xe2,_0x264a0c:0x25c,_0x4e77bd:0x2a7,_0x3a1d3c:0xdb,_0x3548cb:0xdb,_0x485e53:0x55,_0x3e3fc6:0x44,_0x48e1c6:0x330,_0x72b429:0x128,_0x1af831:0xe8},_0xf627e3={_0x5c605b:0x4fe},_0x35df93={'nrwxE':'binary','kWRMM':function(_0x3e38ad,_0x2f3332){return _0x3e38ad(_0x2f3332);},'somjD':function(_0x34444e,_0x4d2c88){return _0x34444e==_0x4d2c88;}};this['lastRela'+_0x36c1b3(0x13e,_0x4684b9._0x546391)+_0x1f2e6c(-0x7b,-_0x4684b9._0x22bc7d)]=Date[_0x1f2e6c(_0x4684b9._0x41125e,0x16e)]();if(_0x269c2f){this[_0x1f2e6c(0x59,_0x4684b9._0x132db8)+'rQueueGa'+'tewayMes'+_0x36c1b3(_0x4684b9._0x2edffc,-_0x4684b9._0x4bb8d2)]({'kind':_0x35df93[_0x1f2e6c(-_0x4684b9._0x324142,-0xe8)],'data':normalizeBinary(_0x4d519b)});return;}const _0x12c1d9=_0x35df93['kWRMM'](normalizeText,_0x4d519b);if(_0x35df93[_0x36c1b3(0x260,0x23d)](_0x12c1d9,null))return;const _0x330f17=parseControl(_0x12c1d9);if(_0x330f17){this[_0x1f2e6c(-0x52,-_0x4684b9._0x264a0c)+_0x1f2e6c(0x1ed,0x2b2)+'ol'](_0x330f17[_0x1f2e6c(0x2b5,_0x4684b9._0x4e77bd)],_0x330f17[_0x1f2e6c(_0x4684b9._0x3a1d3c,0x83)]);return;}const _0x207cff=parseConnectStartIdentity(_0x12c1d9);function _0x36c1b3(_0x3f075c,_0x4f9c70){return _0x586208(_0x3f075c- -_0xf627e3._0x5c605b,_0x4f9c70);}_0x207cff&&this[_0x1f2e6c(-_0x4684b9._0x3548cb,0xde)+_0x1f2e6c(0x94,-0x1eb)+_0x1f2e6c(_0x4684b9._0x485e53,-_0x4684b9._0x3e3fc6)](_0x207cff['id'],_0x207cff['label']);const _0xb5091={};_0xb5091['kind']='text',_0xb5091['text']=_0x12c1d9;function _0x1f2e6c(_0x54931a,_0x2fd86d){return _0x586208(_0x54931a- -0x4f3,_0x2fd86d);}this[_0x1f2e6c(0x59,0x2d4)+_0x36c1b3(-0x159,-_0x4684b9._0x48e1c6)+'tewayMes'+_0x1f2e6c(_0x4684b9._0x72b429,-_0x4684b9._0x1af831)](_0xb5091);}[_0x14f19b(0x4da,0x432)+_0x586208(0x6e0,0x5ec)+'ol'](_0x5ac732,_0x5a1cd1){const _0x26c6a9={_0x3b0868:0x1f0,_0x1628e4:0x6c,_0x2a60f8:0x38,_0x542f98:0x15d,_0x328599:0x254,_0xb6d261:0x158,_0x377d36:0xb2,_0x1d4b84:0x260,_0x4585d4:0x1d1,_0x5951b4:0x275,_0xa5d44d:0x259,_0x45d2b6:0x662,_0x1bc49e:0x2fa,_0xc0dd73:0x59e,_0x52b28f:0xcc,_0x44057b:0x3b8,_0x14a1b3:0x73,_0x1c014e:0x46b,_0x18e598:0x58d,_0x377f23:0x289,_0x4f32ef:0x259,_0x84b0b2:0x34b,_0x12648f:0x373,_0x4d3858:0x122,_0x17ff92:0x192,_0x5527fe:0x2d0,_0x66b4f8:0x44a,_0x4df08e:0x493,_0x4eac77:0x537,_0x5b79a8:0x58,_0x20c3ba:0x120,_0x3a78e9:0x259,_0x12eab1:0x459,_0x39bfd3:0x29,_0x1452a3:0x362,_0xc66dcc:0x17a,_0x513f93:0x35e,_0x5f4a40:0x2f5,_0xabceb2:0x155,_0x4c94ca:0x25,_0x115b18:0x14d,_0x4afb03:0x2d0,_0x5c09c1:0x3b,_0x509b31:0xb5,_0x5e4b67:0x77,_0x4e0cef:0x468,_0x4744eb:0x47,_0x3f6aea:0x47c,_0x1d5a07:0x7,_0x1eb336:0x9c,_0x50437c:0x21,_0x1402ad:0x27c,_0xbb72c5:0x224,_0x2f2261:0x8f,_0x49a0a1:0x2e0,_0x63e925:0x1eb,_0x1739a7:0xaa,_0x434ed8:0x640,_0x5541dc:0x30d,_0x37a793:0x235,_0x9818e1:0x454,_0x7181bf:0x281,_0x59ba22:0xbb,_0x15c04e:0xb3,_0x3ead14:0x3de,_0x5788c4:0x192,_0x4aa4bb:0x281,_0x3c871d:0xa8,_0x26e923:0x88,_0xff31f4:0x533,_0x2e58b9:0x3bb,_0x930bff:0x2f,_0x5d3ec6:0x98,_0x1fe851:0x51e,_0x7222f1:0x101,_0x347f5d:0xd1,_0x857622:0x1c,_0x3ef9b2:0x297,_0x44d794:0x4a6,_0x65462e:0x18d,_0x4ec5fe:0x20d,_0x163df3:0x2c8,_0x5c5fe2:0x598,_0x509758:0x338,_0x112f97:0x182,_0x401617:0x6c,_0x4c6ae8:0x3b1,_0x4e078d:0x2a6,_0x54e756:0x396,_0x1c8e77:0x117,_0x16e0dc:0x1cf,_0x4d99e3:0x13f,_0x1b7ce1:0xa5,_0x2eb636:0x13a,_0x2661fe:0x8b,_0x5cc889:0x1bb,_0xe75e9d:0x446,_0x4c5251:0x1e3,_0x14850a:0x1f2,_0x2033f1:0x22a,_0x2ba60a:0x34c,_0x28244b:0x1eb,_0xd986df:0x393,_0x52fe73:0x509,_0x1ead5c:0x5d,_0x37d5ad:0x42c,_0x489959:0x378,_0x2f9e13:0x189,_0x26d7a4:0x1b,_0x4a1e3a:0x259,_0x17ecd1:0x4cb,_0x3e4de6:0x192,_0x54753a:0x17c,_0x4beb37:0x1fa,_0x35deaf:0x3a8,_0x2a1344:0x200,_0x15d0ff:0x93,_0x2384bf:0x49,_0x2d2546:0x2fc,_0x1f2a0c:0x521,_0x2d777a:0x2aa,_0x424e78:0x113,_0x1c81cf:0x4d,_0x2843b9:0x2fe,_0x53bea6:0x92,_0x3474a7:0x1cb},_0x326c49={'mwCwB':function(_0x2873aa,_0x137dff){return _0x2873aa===_0x137dff;},'bcZgB':_0x548d30(0x20c,_0x26c6a9._0x3b0868)+_0x3ccf9e(0x187,0x214),'wYLlN':function(_0x5107a3,_0x37675a,_0x2bda23,_0xcb714c){return _0x5107a3(_0x37675a,_0x2bda23,_0xcb714c);},'sEssA':function(_0x235f75,_0x3c9a85,_0x4aeb1c,_0xc429e0,_0x5081e4){return _0x235f75(_0x3c9a85,_0x4aeb1c,_0xc429e0,_0x5081e4);},'pnXYK':function(_0x1d53ab,_0x24da4b){return _0x1d53ab(_0x24da4b);}};if(_0x326c49[_0x3ccf9e(_0x26c6a9._0x1628e4,0x293)](_0x5ac732,_0x326c49[_0x548d30(_0x26c6a9._0x2a60f8,-_0x26c6a9._0x542f98)])||_0x5ac732===_0x3ccf9e(_0x26c6a9._0x328599,_0x26c6a9._0xb6d261)+_0x3ccf9e(-_0x26c6a9._0x377d36,-0xfa)){const _0x121442=this[_0x548d30(_0x26c6a9._0x1d4b84,_0x26c6a9._0x4585d4)][_0x548d30(_0x26c6a9._0x5951b4,_0x26c6a9._0xa5d44d)+_0x548d30(0x46c,_0x26c6a9._0x45d2b6)],_0x3f64a1=_0x5a1cd1??Math[_0x548d30(-0xb,-0x1d7)](0x1,this['snapshot'][_0x3ccf9e(_0x26c6a9._0x1bc49e,0x1c1)+_0x3ccf9e(_0x26c6a9._0xc0dd73,0x3b8)]);_0x3f64a1>0x0&&this['clientDe'+_0x548d30(0x1a6,0x19c)+'tedAtMs']==null&&(this[_0x548d30(0x2d5,0x1a4)+_0x3ccf9e(-_0x26c6a9._0x52b28f,0xf2)+_0x3ccf9e(0x12c,0x34e)]=Date['now']());const _0x260333={};_0x260333[_0x548d30(0x275,0x39d)+_0x3ccf9e(0x5c5,_0x26c6a9._0x44057b)]=_0x3f64a1,this[_0x3ccf9e(0xb0,-0x118)+_0x548d30(0x117,0x2bf)](_0x260333);if(_0x3f64a1===0x0){this[_0x3ccf9e(0x1d3,_0x26c6a9._0x14a1b3)+_0x548d30(_0x26c6a9._0x1c014e,_0x26c6a9._0x18e598)+_0x3ccf9e(_0x26c6a9._0x377f23,_0x26c6a9._0x4f32ef)]=![],this[_0x3ccf9e(0x366,_0x26c6a9._0x84b0b2)+'cesRecen'+'t'](),this['dropStal'+'eIdleGat'+_0x548d30(_0x26c6a9._0x12648f,_0x26c6a9._0x4d3858)+'e']();const _0x3caac6=summarizePendingGatewayMessages(this[_0x3ccf9e(0x2bb,_0x26c6a9._0x17ff92)+_0x3ccf9e(_0x26c6a9._0x5527fe,0x281)+'ssages'])['connectR'+_0x3ccf9e(_0x26c6a9._0x66b4f8,0x3b1)];_0x326c49[_0x548d30(0x102,0x19)](shouldScheduleGatewayIdleClose,_0x3f64a1,_0x3caac6,this[_0x548d30(_0x26c6a9._0x4df08e,_0x26c6a9._0x4eac77)+_0x3ccf9e(0x150,-0x98)]())?(this[_0x3ccf9e(_0x26c6a9._0x5b79a8,-_0x26c6a9._0x20c3ba)](_0x548d30(_0x26c6a9._0x3a78e9,0x46d)+'emand\x20dr'+'opped\x20to'+_0x548d30(0x22c,0x4a)+_0x548d30(_0x26c6a9._0x12eab1,0x3a1)+_0x3ccf9e(_0x26c6a9._0x39bfd3,-0x16)+_0x548d30(_0x26c6a9._0x1452a3,_0x26c6a9._0xc66dcc)),this[_0x548d30(_0x26c6a9._0x513f93,_0x26c6a9._0x5f4a40)+_0x548d30(0x101,-0x13d)]()):this[_0x3ccf9e(_0x26c6a9._0xabceb2,-0x120)](_0x3ccf9e(-0x4d,0x1a5)+_0x548d30(0x242,_0x26c6a9._0x4c94ca)+_0x548d30(_0x26c6a9._0x115b18,_0x26c6a9._0x4afb03)+_0x548d30(-_0x26c6a9._0x5c09c1,-_0x26c6a9._0x509b31)+_0x3ccf9e(0x3ea,0x16b)+_0x3ccf9e(0x1c0,_0x26c6a9._0x5e4b67)+_0x548d30(_0x26c6a9._0x4e0cef,0x6a4));}else{if(_0x326c49[_0x548d30(0x150,_0x26c6a9._0x4744eb)](shouldRecycleGatewayForFreshClient,_0x121442,_0x3f64a1,this[_0x548d30(0x493,0x42f)+_0x548d30(0x1c,-0x6c)](),![])){const _0x25b59c=_0x326c49[_0x548d30(0x1d8,0x3b3)](summarizePendingGatewayMessages,this['pendingG'+_0x3ccf9e(_0x26c6a9._0x3f6aea,0x281)+_0x3ccf9e(0x4f,_0x26c6a9._0x1d5a07)]);this[_0x548d30(-_0x26c6a9._0x1628e4,_0x26c6a9._0x1eb336)]('gateway\x20'+_0x548d30(-_0x26c6a9._0x50437c,-_0x26c6a9._0x1402ad)+_0x3ccf9e(_0x26c6a9._0xbb72c5,0x132)+'d\x20for\x20fr'+'esh\x20clie'+_0x3ccf9e(0xbd,_0x26c6a9._0x2f2261)+_0x548d30(0x12,0x214)+'='+_0x25b59c[_0x548d30(0x63,-0xde)]+('\x20connect'+'=')+_0x25b59c[_0x548d30(0x2b4,0x3af)+_0x3ccf9e(0x390,0x3b1)]+_0x548d30(0xbc,-0x16e)+_0x25b59c['otherTex'+'t']+_0x548d30(0x90,0x20a)+_0x25b59c[_0x3ccf9e(0x513,0x2c1)]+(_0x548d30(0x22a,_0x26c6a9._0x49a0a1)+_0x548d30(_0x26c6a9._0x63e925,-0x99)+'d=')+this[_0x548d30(0x127,-_0x26c6a9._0x1739a7)+_0x548d30(0x46b,_0x26c6a9._0x434ed8)+_0x548d30(_0x26c6a9._0x5541dc,_0x26c6a9._0x37a793)]);const _0x536f1f=prunePendingGatewayMessagesForFreshDemand(this[_0x3ccf9e(0x1c8,0x192)+_0x3ccf9e(_0x26c6a9._0x9818e1,_0x26c6a9._0x7181bf)+_0x548d30(_0x26c6a9._0x59ba22,-_0x26c6a9._0x15c04e)]);_0x536f1f[_0x548d30(_0x26c6a9._0x3ead14,_0x26c6a9._0x4e0cef)]>0x0&&(this[_0x3ccf9e(-0xa1,_0x26c6a9._0x5788c4)+_0x3ccf9e(0x16,_0x26c6a9._0x4aa4bb)+_0x548d30(0xbb,-_0x26c6a9._0x3c871d)]=_0x536f1f['messages'],this[_0x3ccf9e(_0x26c6a9._0x26e923,-_0x26c6a9._0x20c3ba)]('dropped\x20'+'stale\x20ga'+_0x3ccf9e(-0xfc,0x7e)+_0x548d30(0x31a,_0x26c6a9._0xff31f4)+'re\x20recyc'+_0x3ccf9e(_0x26c6a9._0x2e58b9,0x36c)+'ed='+_0x536f1f['dropped']+'\x20kept='+_0x536f1f[_0x3ccf9e(-_0x26c6a9._0x930bff,_0x26c6a9._0x5d3ec6)][_0x548d30(0x380,_0x26c6a9._0x1fe851)])),this[_0x3ccf9e(0x32a,0x2aa)+_0x548d30(_0x26c6a9._0x7222f1,-_0x26c6a9._0x347f5d)](!![]);}if(this['isGatewa'+_0x548d30(_0x26c6a9._0x857622,0x242)]()&&!this[_0x548d30(_0x26c6a9._0x3ef9b2,_0x26c6a9._0x44d794)+'loseBoun'+'daryPend'+_0x3ccf9e(_0x26c6a9._0x65462e,_0x26c6a9._0x4ec5fe)]){const _0x58b44f={};_0x58b44f['gatewayC'+_0x548d30(_0x26c6a9._0x163df3,0x13a)]=!![],_0x58b44f[_0x3ccf9e(_0x26c6a9._0x5c5fe2,_0x26c6a9._0x509758)+'r']=null,this[_0x548d30(-0x64,-_0x26c6a9._0x112f97)+_0x3ccf9e(0x18c,0x63)](_0x58b44f),this[_0x548d30(-_0x26c6a9._0x401617,-0x89)](_0x548d30(_0x26c6a9._0x4c6ae8,_0x26c6a9._0x4e078d)+_0x3ccf9e(_0x26c6a9._0x54e756,_0x26c6a9._0x1c8e77)+_0x3ccf9e(0x3d7,_0x26c6a9._0x16e0dc)+_0x3ccf9e(0x1b5,_0x26c6a9._0x4d99e3)+_0x548d30(_0x26c6a9._0x1b7ce1,0xbe)+_0x548d30(0x34,_0x26c6a9._0x2eb636)+this[_0x3ccf9e(-0x4c,_0x26c6a9._0x2661fe)+_0x3ccf9e(0x29,_0x26c6a9._0x5cc889)](this[_0x3ccf9e(_0x26c6a9._0xe75e9d,_0x26c6a9._0x4c5251)+_0x548d30(_0x26c6a9._0x163df3,_0x26c6a9._0x14850a)+_0x548d30(-0x4f,-0x1c4)])+(_0x548d30(_0x26c6a9._0x2033f1,_0x26c6a9._0x2ba60a)+_0x548d30(_0x26c6a9._0x28244b,_0x26c6a9._0xd986df)+'d=')+this['gatewayH'+_0x3ccf9e(_0x26c6a9._0x52fe73,0x3b7)+_0x548d30(_0x26c6a9._0x5541dc,0x1ec)]);}}this[_0x3ccf9e(-0x11,_0x26c6a9._0x1ead5c)+_0x3ccf9e(-0x1d7,0x22)+_0x3ccf9e(_0x26c6a9._0x37d5ad,0x3a4)]();return;}function _0x548d30(_0xeaded2,_0x222293){return _0x586208(_0xeaded2- -0x3b2,_0x222293);}function _0x3ccf9e(_0x4c1fc5,_0x1ba8c5){return _0x586208(_0x1ba8c5- -0x466,_0x4c1fc5);}if(_0x5ac732==='client_d'+_0x548d30(0x2fe,_0x26c6a9._0x489959)+'ted'){this[_0x3ccf9e(-_0x26c6a9._0x2f9e13,0x73)+'andshake'+_0x3ccf9e(_0x26c6a9._0x26d7a4,_0x26c6a9._0x4a1e3a)]=![];const _0xfa07eb={};_0xfa07eb['clientCo'+_0x3ccf9e(_0x26c6a9._0x17ecd1,_0x26c6a9._0x44057b)]=0x0,this[_0x548d30(-0x64,_0x26c6a9._0x3e4de6)+_0x548d30(0x117,-0x79)](_0xfa07eb),this['markDevi'+_0x3ccf9e(0x2eb,_0x26c6a9._0x54753a)+'t'](),this[_0x548d30(0x1f,_0x26c6a9._0x4beb37)+'eIdleGat'+_0x548d30(0x373,0x1b9)+'e']();const _0x2942f2=summarizePendingGatewayMessages(this['pendingG'+'atewayMe'+_0x548d30(0xbb,-0x169)])[_0x3ccf9e(_0x26c6a9._0x35deaf,_0x26c6a9._0x2a1344)+'equests'];shouldScheduleGatewayIdleClose(0x0,_0x2942f2,this['isGatewa'+_0x3ccf9e(0x15,-_0x26c6a9._0x5d3ec6)]())?(this['log'](_0x548d30(0x259,0x276)+_0x3ccf9e(_0x26c6a9._0x15d0ff,0x24a)+'ted;\x20clo'+_0x3ccf9e(_0x26c6a9._0x2384bf,0x28)+_0x548d30(_0x26c6a9._0x2d2546,_0x26c6a9._0x1f2a0c)+'y'),this[_0x3ccf9e(0x2dc,_0x26c6a9._0x2d777a)+_0x3ccf9e(_0x26c6a9._0x424e78,_0x26c6a9._0x1c81cf)]()):(this[_0x548d30(-_0x26c6a9._0x401617,-0x1c7)](_0x548d30(_0x26c6a9._0x4a1e3a,0x492)+_0x548d30(_0x26c6a9._0x2843b9,0x2d1)+_0x548d30(0x233,0x351)+'eway\x20rem'+_0x548d30(_0x26c6a9._0x53bea6,0x1a)+'ded'),this[_0x3ccf9e(-0xf1,0x5d)+_0x3ccf9e(_0x26c6a9._0x3474a7,0x22)+'nected']());return;}}[_0x586208(0x54c,0x6d2)+_0x14f19b(0x3de,0x44e)+_0x14f19b(0x865,0x7da)+_0x586208(0x61b,0x3b5)](_0x2c4dbf){const _0x39887b={_0x380f36:0x305,_0x31cc11:0x1c2,_0x295386:0x7f,_0x9df118:0x42,_0x1d9a4c:0x1c9,_0x4d3431:0x23e,_0x35ab95:0x7e,_0x33978f:0x2b,_0x16f4ce:0x1ec,_0x48ce8e:0xca,_0x4ec108:0x236,_0x1b664b:0x1cb,_0x478fbf:0x187,_0x5ab878:0xd7,_0x23aeac:0x1c2,_0x5ce728:0xa,_0x4f28b3:0xb2,_0x235114:0x7c,_0x53090c:0xb6,_0x54d70d:0x27b,_0x30b2d3:0x3d5,_0x427971:0x307,_0x3cd14c:0x25f,_0x512225:0x26d,_0x1bbc77:0x146,_0x3a1b7f:0x171,_0x290ec1:0x212,_0x50b3c0:0x240,_0x2e42a9:0x139,_0x384924:0x249,_0x3fb0b0:0x7a,_0x2d4f24:0x96,_0x5cca26:0x131,_0x2bc908:0xf0,_0x527171:0xd2,_0x4f0ae6:0xf8,_0x26dde2:0x102,_0x217af1:0x149,_0x44ec07:0x41a,_0xc475e5:0x267,_0x2781ed:0x364,_0x359540:0x48e,_0x35c2b8:0x13f,_0x527bb7:0x1dd,_0x4b960f:0x154,_0x38b707:0xfa,_0x316e72:0x181,_0x424f13:0x1f1},_0xd18071={'etqfl':function(_0x5d487e,_0x13ec98){return _0x5d487e===_0x13ec98;},'mnFXn':_0x1717af(0x267,_0x39887b._0x380f36),'PCKMX':function(_0x4efa4a,_0x3dec68){return _0x4efa4a!==_0x3dec68;},'HYBlT':_0x1717af(_0x39887b._0x31cc11,_0x39887b._0x295386)+_0x1717af(0x28d,0x199)+_0x1717af(-_0x39887b._0x9df118,-0x14d)+_0x1717af(-_0x39887b._0x1d9a4c,-_0x39887b._0x4d3431)+_0x1717af(_0x39887b._0x35ab95,_0x39887b._0x33978f)+'hake;\x20qu'+'eued\x20unt'+_0x1717af(0x1a5,-0xa7)+_0x152dd7(_0x39887b._0x16f4ce,_0x39887b._0x48ce8e)+_0x1717af(0x47,_0x39887b._0x4ec108),'YpaYn':function(_0x960af7,_0x52b8e0){return _0x960af7(_0x52b8e0);},'LSAPQ':function(_0x2c9c5c,_0x8880c9){return _0x2c9c5c+_0x8880c9;}},_0x4d39a9=_0xd18071['etqfl'](_0x2c4dbf[_0x1717af(-0xbe,-0x20e)],_0xd18071[_0x152dd7(0x26,_0x39887b._0x1b664b)])&&isConnectHandshakeRequest(_0x2c4dbf['text']);function _0x152dd7(_0x347ed6,_0x235d37){return _0x586208(_0x235d37- -0x5c1,_0x347ed6);}if(this[_0x152dd7(-_0x39887b._0x478fbf,0x88)+_0x1717af(_0x39887b._0x5ab878,_0x39887b._0x23aeac)+_0x1717af(-0x1e9,-_0x39887b._0x5ce728)+_0x152dd7(0x222,_0x39887b._0x4f28b3)]){this['pushPend'+_0x152dd7(-_0x39887b._0x235114,-0x73)+_0x152dd7(0x1b9,-_0x39887b._0x53090c)+'e'](_0x2c4dbf);_0x4d39a9&&this[_0x152dd7(-0x457,-_0x39887b._0x54d70d)]('gateway\x20'+_0x1717af(0x28d,0x3d)+_0x1717af(-_0x39887b._0x9df118,-0x28e)+_0x1717af(-0x1c9,-_0x39887b._0x30b2d3)+'ct\x20hands'+_0x152dd7(_0x39887b._0x427971,_0x39887b._0x3cd14c)+'eued\x20unt'+_0x1717af(0x1a5,0x354)+'ay\x20recon'+_0x152dd7(0x36,0x27));return;}const _0x550d99=this[_0x1717af(_0x39887b._0x512225,0x1dd)+'ocket'];if(!_0x550d99||_0xd18071[_0x152dd7(_0x39887b._0x1bbc77,0x58)](_0x550d99[_0x1717af(-_0x39887b._0x3a1b7f,-0x3a8)+'te'],_0x1c58eb[_0x152dd7(0xe9,_0x39887b._0x290ec1)])){this['ensureGa'+_0x152dd7(-_0x39887b._0x50b3c0,-_0x39887b._0x2e42a9)+_0x152dd7(0x119,_0x39887b._0x384924)](),this['pushPend'+_0x1717af(-0x53,_0x39887b._0x3fb0b0)+_0x1717af(-_0x39887b._0x2d4f24,_0x39887b._0x5cca26)+'e'](_0x2c4dbf);_0x4d39a9&&this[_0x1717af(-0x25b,-0x24c)](_0xd18071[_0x1717af(_0x39887b._0x2bc908,-_0x39887b._0x527171)]);return;}if(!this[_0x152dd7(_0x39887b._0x4f0ae6,-0xe8)+_0x152dd7(_0x39887b._0x26dde2,0x25c)+'Started']){if(!_0x4d39a9){this[_0x152dd7(-0x89,_0x39887b._0x217af1)+'ingGatew'+_0x1717af(-0x96,-0x2aa)+'e'](_0x2c4dbf);return;}this['gatewayH'+_0x152dd7(_0x39887b._0x44ec07,0x25c)+'Started']=!![];const _0x2f7a27=_0xd18071['YpaYn'](parseConnectHandshakeMeta,_0x2c4dbf[_0x1717af(_0x39887b._0xc475e5,_0x39887b._0x2781ed)]);this[_0x152dd7(-_0x39887b._0x359540,-0x27b)](_0xd18071[_0x152dd7(-0x169,-_0x39887b._0x35c2b8)](_0x152dd7(0x31f,0x1a2)+'handshak'+'e\x20starte'+_0x1717af(-_0x39887b._0x527bb7,-0x25b)+'='+this['pendingG'+'atewayMe'+_0x152dd7(-0x364,-_0x39887b._0x4b960f)][_0x152dd7(0x2c4,0x171)],formatConnectHandshakeMetaForLog(_0x2f7a27)));}function _0x1717af(_0x3f177f,_0x212c48){return _0x586208(_0x3f177f- -0x5a1,_0x212c48);}this[_0x152dd7(0x192,_0x39887b._0x38b707)+_0x152dd7(-_0x39887b._0x316e72,-_0x39887b._0x424f13)](_0x2c4dbf);}['ensureGa'+_0x14f19b(0x4c1,0x536)+_0x14f19b(0x843,0x5fd)](){const _0x489dd5={_0x12cdd0:0x84e,_0x456955:0x9b2,_0x252211:0xa71,_0xbbbd53:0x680,_0xe5de32:0x866,_0x5818bb:0x612,_0x310f28:0x6a2,_0x129c44:0x86a,_0x5630ec:0x814,_0xbf55f7:0x778,_0x1a988a:0x83e,_0x1bdb11:0x89b,_0x1fa26b:0x92e,_0x112ed1:0x881,_0x16a128:0x7c7,_0x77bd24:0x634,_0x1adbf5:0x728,_0x13bf42:0x7cd,_0xfb08c:0x551,_0x20b4b2:0x373,_0x2bf832:0x5ba,_0x3add4e:0x89b,_0x2f5eeb:0x735,_0x2da7be:0x80e,_0x166439:0x36a,_0x5ccf49:0x533,_0x397d09:0x45d},_0x49d147={_0x194be7:0x15,_0x22be2a:0x68,_0x16e287:0x47f,_0x137f5d:0xe1,_0x5ca06d:0x17f,_0x3953ae:0x5a4,_0x42bbfe:0x322,_0x27d465:0x103,_0x146d84:0x372,_0x4d6d85:0x36b,_0x5bf8a8:0x337,_0x50a654:0x559,_0x494c28:0x33b,_0x3d827f:0x1f2,_0x21547f:0x1ec,_0xf3fba1:0x16b,_0x52e32f:0x568,_0x185a54:0x5ca,_0x5adcd8:0x7a,_0x36bf04:0x162,_0x4a9575:0x3c3,_0x533080:0x5a6,_0x439108:0xe8,_0x2d0486:0x3fe,_0x1a7caf:0x214,_0x5dea83:0x39,_0x4bbfc1:0x12b,_0x1c3903:0x6c9,_0x154267:0x563,_0x482058:0x54e,_0x2a0cfa:0x672,_0x5e36f4:0x151,_0x116829:0x16a,_0x336a61:0x362,_0x31ef77:0xf8,_0x209940:0x156,_0x4c0549:0x3d2,_0x29dfe9:0x2a3,_0x11dd0b:0x4ff,_0x56014d:0x91,_0x5506f4:0x22e,_0x41e240:0x64,_0x3082f5:0x1ed,_0x512e72:0x117,_0x32fa8d:0x39b,_0x321e39:0x132,_0x543439:0x33e,_0x19c08c:0x220,_0x352eb7:0x555,_0x58c9c1:0x4e8,_0x258dc7:0x30a,_0xa349fc:0x3d4,_0x14cca5:0x4b8},_0x4e981f={_0x470063:0xae1,_0x337fa9:0x70c},_0x4c9f4e={_0xdf6160:0x392,_0x5ed8e7:0xa99,_0x2486c6:0x90e,_0x45542f:0x86f,_0x3d189a:0x6fd},_0x1ea1bc={_0x3a4e71:0x4f4,_0x5add72:0x4e,_0x35212a:0x223,_0x3aa9e8:0x32f,_0x3028bd:0x1bf,_0xba5de4:0x5a1,_0x93f382:0x34b,_0x2a3537:0x2d4,_0x181488:0x35e,_0x328d96:0x3e8,_0x41ffba:0x54,_0xddff4e:0x450,_0x1946c6:0x26f,_0x3bddc7:0x26,_0x57ec1e:0x1af,_0x1e660a:0x2e,_0x376db0:0x3ef,_0x5ee68d:0x309,_0x5da0c4:0x19e,_0x2fb2d3:0x5b,_0x4a30b0:0x1d7,_0x3b5efb:0x2ad,_0x45cd16:0x61a,_0x48e732:0x1f0},_0x1bf709={_0x158e96:0x3c4},_0x56aa5c={_0x5cf62f:0x192},_0x2c8ec8={_0x1d420f:0x17};function _0x20f403(_0xa3444,_0x53405d){return _0x14f19b(_0x53405d-_0x2c8ec8._0x1d420f,_0xa3444);}const _0x6b256e={'YYoPM':function(_0x48af02,_0x41c5c4){return _0x48af02(_0x41c5c4);},'WNJaS':_0x20f403(0x7e8,_0x489dd5._0x12cdd0)};if(this[_0x2220ec(_0x489dd5._0x456955,_0x489dd5._0x252211)]||!this[_0x20f403(0x585,_0x489dd5._0xbbbd53)+_0x2220ec(_0x489dd5._0xe5de32,_0x489dd5._0x5818bb)]()||this[_0x2220ec(0x814,0x8ed)+_0x20f403(0x825,_0x489dd5._0x310f28)+'g']||this[_0x2220ec(0xa10,_0x489dd5._0x129c44)+'yOpen']()||this[_0x2220ec(_0x489dd5._0x5630ec,0x6bb)+_0x2220ec(0x843,0x92d)+_0x2220ec(0x583,_0x489dd5._0xbf55f7)+_0x2220ec(_0x489dd5._0x1a988a,0x9d4)])return;this['gatewayC'+_0x2220ec(0x81d,_0x489dd5._0x1bdb11)+'g']=!![],this[_0x2220ec(0x511,0x2d3)](_0x2220ec(_0x489dd5._0x1fa26b,0xae9)+'connect\x20'+_0x2220ec(_0x489dd5._0x112ed1,_0x489dd5._0x16a128)+'l='+this[_0x2220ec(0x8a3,_0x489dd5._0x77bd24)][_0x20f403(0x766,0x652)+'rl']);function _0x2220ec(_0x4e5c00,_0x23997e){return _0x14f19b(_0x4e5c00-_0x56aa5c._0x5cf62f,_0x23997e);}const _0x5dcb37=this['createWe'+'bSocket'](this[_0x20f403(0x8a1,_0x489dd5._0x1adbf5)][_0x2220ec(_0x489dd5._0x13bf42,0x8a5)+'rl']);this['gatewayS'+_0x2220ec(_0x489dd5._0xfb08c,_0x489dd5._0x20b4b2)]=_0x5dcb37,_0x5dcb37[_0x20f403(_0x489dd5._0x2bf832,0x5ba)](_0x2220ec(0x9ff,_0x489dd5._0x3add4e),()=>{if(this[_0x25596d(0x650,0x4cd)]||this[_0x25596d(0x738,_0x1ea1bc._0x3a4e71)+_0x25596d(-0x57,0x6c)]!==_0x5dcb37){_0x5dcb37[_0x25596d(0x2a4,_0x1ea1bc._0x5add72)]();return;}this[_0x25596d(_0x1ea1bc._0x35212a,_0x1ea1bc._0x3aa9e8)+_0x25596d(0x202,0x338)+'g']=![],this[_0x25596d(0x8a,_0x1ea1bc._0x3028bd)+_0x1c6e1f(_0x1ea1bc._0xba5de4,0x4a9)+_0x1c6e1f(0x521,_0x1ea1bc._0x93f382)]=![],this[_0x1c6e1f(0x433,0x2d5)+_0x25596d(_0x1ea1bc._0x2a3537,_0x1ea1bc._0x181488)+'daryPend'+_0x1c6e1f(0x1e7,0x2ff)]=![];function _0x1c6e1f(_0x24e07a,_0x41c375){return _0x20f403(_0x24e07a,_0x41c375- -_0x1bf709._0x158e96);}this['gatewayC'+_0x1c6e1f(_0x1ea1bc._0x328d96,0x306)+_0x1c6e1f(_0x1ea1bc._0x41ffba,-0x11)]=Date[_0x1c6e1f(0x3b9,_0x1ea1bc._0xddff4e)]();function _0x25596d(_0x4c4cc9,_0x411eec){return _0x20f403(_0x4c4cc9,_0x411eec- -0x36a);}const _0x309194={};_0x309194['gatewayC'+'onnected']=!![],_0x309194['lastErro'+'r']=null,this[_0x1c6e1f(-_0x1ea1bc._0x1946c6,-_0x1ea1bc._0x3bddc7)+_0x25596d(0x80,_0x1ea1bc._0x57ec1e)](_0x309194),this[_0x1c6e1f(0x58,-_0x1ea1bc._0x1e660a)](_0x1c6e1f(0x32d,_0x1ea1bc._0x376db0)+'connecte'+_0x1c6e1f(_0x1ea1bc._0x5ee68d,_0x1ea1bc._0x5da0c4)+_0x25596d(0x59d,0x44e)+'andMs='+this[_0x25596d(-_0x1ea1bc._0x2fb2d3,_0x1ea1bc._0x4a30b0)+_0x1c6e1f(0x350,_0x1ea1bc._0x3b5efb)](this['clientDe'+'mandStar'+'tedAtMs'])),this[_0x25596d(_0x1ea1bc._0x45cd16,0x4a5)+_0x25596d(_0x1ea1bc._0x48e732,0x210)+'wayMessa'+_0x1c6e1f(0x153,0x312)]();}),_0x5dcb37['on'](_0x20f403(0x348,0x47b),(_0x382041,_0x1595a0)=>{function _0x1af50a(_0xbea47e,_0x54b6c2){return _0x20f403(_0x54b6c2,_0xbea47e- -0x3ff);}function _0x3f6963(_0x1ccc51,_0x31082f){return _0x20f403(_0x1ccc51,_0x31082f-0x92);}this[_0x3f6963(_0x4c9f4e._0xdf6160,0x488)+_0x3f6963(_0x4c9f4e._0x5ed8e7,_0x4c9f4e._0x2486c6)+_0x3f6963(_0x4c9f4e._0x45542f,_0x4c9f4e._0x3d189a)](_0x382041,_0x1595a0);}),_0x5dcb37[_0x2220ec(_0x489dd5._0x2f5eeb,_0x489dd5._0x2da7be)](_0x6b256e[_0x20f403(_0x489dd5._0x166439,0x3a5)],_0x4cb994=>{function _0x5748ce(_0x495a51,_0x4dad93){return _0x2220ec(_0x4dad93- -0x20,_0x495a51);}function _0x4cd4e5(_0xae32e6,_0x92a7ab){return _0x2220ec(_0xae32e6- -0xbe,_0x92a7ab);}this[_0x5748ce(0x4ea,0x4f1)](_0x4cd4e5(0x870,_0x4e981f._0x470063)+_0x5748ce(_0x4e981f._0x337fa9,0x81b)+String(_0x4cb994));}),_0x5dcb37[_0x2220ec(0x735,0x76a)](_0x2220ec(_0x489dd5._0x5ccf49,_0x489dd5._0x397d09),(_0x4bbdd9,_0xc43931)=>{const _0x47c970={_0x44a04b:0x537},_0x4090a1=_0x6b256e[_0x421676(_0x49d147._0x194be7,_0x49d147._0x22be2a)](summarizePendingGatewayMessages,this['pendingG'+_0x3fe2d4(0x432,_0x49d147._0x16e287)+_0x421676(-_0x49d147._0x137f5d,-0x7a)])[_0x421676(0x217,_0x49d147._0x5ca06d)+_0x3fe2d4(0x562,_0x49d147._0x3953ae)],_0x2fb2a5=this[_0x3fe2d4(0x394,_0x49d147._0x42bbfe)+'loseBoun'+_0x3fe2d4(_0x49d147._0x27d465,0x1f1)+'ing']&&shouldKeepGatewayConnected(this[_0x421676(-0x14f,0x12b)][_0x3fe2d4(_0x49d147._0x146d84,0x2cc)+_0x421676(_0x49d147._0x4d6d85,_0x49d147._0x5bf8a8)],_0x4090a1);this['gatewayS'+_0x421676(-0x1b9,-0x161)]===_0x5dcb37&&(this[_0x3fe2d4(_0x49d147._0x50a654,_0x49d147._0x494c28)+_0x3fe2d4(0xd1,_0x49d147._0x3d827f)]=null);this[_0x3fe2d4(0x394,0x58f)+_0x421676(_0x49d147._0x21547f,_0x49d147._0xf3fba1)+'g']=![],this['gatewayH'+_0x3fe2d4(_0x49d147._0x52e32f,_0x49d147._0x185a54)+'Started']=![];function _0x421676(_0x32ce90,_0xf0c5da){return _0x20f403(_0x32ce90,_0xf0c5da- -_0x47c970._0x44a04b);}this[_0x421676(_0x49d147._0x5adcd8,_0x49d147._0x36bf04)+_0x3fe2d4(_0x49d147._0x4a9575,_0x49d147._0x533080)+'daryPend'+'ing']=![],this['gatewayC'+_0x421676(-_0x49d147._0x439108,0x193)+_0x421676(-_0x49d147._0x2d0486,-0x184)]=null,this[_0x421676(-0x61,-0x199)+_0x3fe2d4(_0x49d147._0x1a7caf,-_0x49d147._0x5dea83)]({'gatewayConnected':![],'lastError':_0x4bbdd9===0x3e8||_0x2fb2a5?this[_0x421676(0x75,_0x49d147._0x4bbfc1)][_0x3fe2d4(0x4e9,0x4b5)+'r']:_0x3fe2d4(0x4ae,_0x49d147._0x1c3903)+_0x3fe2d4(0x31b,_0x49d147._0x154267)+(_0xc43931[_0x3fe2d4(_0x49d147._0x482058,_0x49d147._0x2a0cfa)]()||_0x4bbdd9)}),this[_0x3fe2d4(0x91,_0x49d147._0x5e36f4)]('gateway\x20'+_0x421676(0x152,0x2ba)+_0x421676(-0x2b4,-_0x49d147._0x116829)+'e='+_0x4bbdd9+_0x421676(0x585,0x33d)+(_0xc43931[_0x421676(_0x49d147._0x336a61,0x31c)]()||'<none>')+('\x20sinceCl'+_0x421676(0xf7,-_0x49d147._0x31ef77)+_0x3fe2d4(_0x49d147._0x209940,-0x57))+this['elapsedS'+_0x421676(0x397,0x13a)](this[_0x3fe2d4(_0x49d147._0x4c0549,0x2da)+_0x3fe2d4(_0x49d147._0x29dfe9,0x377)+_0x3fe2d4(_0x49d147._0x11dd0b,0x715)]));if(_0x2fb2a5){this[_0x3fe2d4(_0x49d147._0x56014d,_0x49d147._0x5506f4)]('gateway\x20'+_0x421676(-_0x49d147._0x41e240,-0x178)+_0x421676(_0x49d147._0x3082f5,0x1c8)+'eached;\x20'+_0x3fe2d4(_0x49d147._0x512e72,_0x49d147._0x32fa8d)+_0x3fe2d4(_0x49d147._0x321e39,_0x49d147._0x543439)+_0x421676(0x2ad,_0x49d147._0x19c08c)+'emand'),this['ensureGa'+'tewayCon'+_0x3fe2d4(_0x49d147._0x352eb7,0x3a0)]();return;}function _0x3fe2d4(_0x14f698,_0x4b94e5){return _0x20f403(_0x4b94e5,_0x14f698- -0x305);}this[_0x421676(_0x49d147._0x58c9c1,_0x49d147._0x258dc7)+_0x3fe2d4(0x9e,0x12c)+_0x3fe2d4(_0x49d147._0xa349fc,_0x49d147._0x14cca5)]();});}[_0x14f19b(0x3df,0x46c)+_0x586208(0x82c,0x7d7)+'sage'](_0x13a975,_0x3bb139){const _0x12992d={_0x4140ab:0x605,_0x641ac9:0x375,_0x3f5c30:0x546,_0x34a96f:0x705,_0x364a6e:0x58f,_0x20eeab:0x5c2,_0x2c3658:0x24e,_0x59a004:0x2,_0x1fad34:0x3c5,_0x563d09:0x40a,_0x3bfe4b:0x417,_0x1afd04:0x498,_0x37151f:0x44e,_0x2f57bc:0x3c2},_0x1e3664={'eApAi':function(_0x312c46,_0x5cfe23){return _0x312c46!==_0x5cfe23;},'toINY':function(_0x30f35e,_0x3b6b7d){return _0x30f35e(_0x3b6b7d);}};function _0x5c6693(_0x21ed0b,_0x2540d4){return _0x14f19b(_0x21ed0b- -0x253,_0x2540d4);}const _0x2ff1f3=this[_0x41c35e(_0x12992d._0x4140ab,0x665)+_0x41c35e(0x3a4,_0x12992d._0x641ac9)];if(!_0x2ff1f3||_0x1e3664['eApAi'](_0x2ff1f3['readySta'+'te'],_0x1c58eb[_0x5c6693(0x5b9,_0x12992d._0x3f5c30)]))return;if(_0x3bb139){_0x2ff1f3[_0x41c35e(0x2b6,0x3c2)](_0x1e3664['toINY'](normalizeBinary,_0x13a975));return;}function _0x41c35e(_0x20630c,_0x325b0b){return _0x14f19b(_0x325b0b- -0xc8,_0x20630c);}const _0x3c6c71=normalizeText(_0x13a975);if(_0x3c6c71==null)return;const _0x4b0e4c=parsePairingRequestFromError(_0x3c6c71);_0x4b0e4c&&this[_0x41c35e(_0x12992d._0x34a96f,_0x12992d._0x364a6e)+_0x41c35e(0x45c,_0x12992d._0x20eeab)+_0x5c6693(_0x12992d._0x2c3658,_0x12992d._0x59a004)](_0x4b0e4c);const _0x405149=parsePairResolvedEvent(_0x3c6c71);_0x405149&&this[_0x5c6693(_0x12992d._0x1fad34,_0x12992d._0x563d09)+_0x41c35e(0x57e,_0x12992d._0x3bfe4b)+_0x5c6693(_0x12992d._0x1afd04,0x38f)](_0x405149[_0x5c6693(0x4d6,_0x12992d._0x37151f)+'d'],_0x405149['decision']),_0x2ff1f3[_0x41c35e(0x19b,_0x12992d._0x2f57bc)](_0x3c6c71);}[_0x586208(0x7bf,0x92d)+_0x586208(0x52a,0x418)+_0x586208(0x65d,0x400)+_0x14f19b(0x6bf,0x777)](){const _0x1da5fc={_0x4a3619:0x254,_0xea6c50:0x95,_0x23b7ff:0x219,_0x3f5aaa:0x5e2,_0x95f95c:0x45a,_0x29f268:0x368,_0x5608e3:0x33e,_0x833b97:0x1d6,_0x4c572e:0x57,_0x3aaecc:0x5f3,_0x53393a:0x423,_0x317cbe:0x26,_0x482cb0:0x636,_0x3c3f85:0x6e2,_0x1e7ab8:0x35e,_0x562cca:0x647,_0x490826:0x518,_0x366d2a:0x63e,_0xeacf68:0xaa,_0x55127b:0xbc,_0x44cce1:0x2d,_0x319703:0x178,_0x346525:0x4f3,_0x32cdd8:0x39b,_0x2ed848:0x5e2,_0x3608d0:0x7ce,_0x1e6e74:0x446,_0x366d6a:0x3f9,_0x11ba4d:0x79,_0x240467:0xe1,_0x35193b:0x6c3,_0x535bfc:0x2c3,_0x5dc37b:0x24e,_0x27f38d:0x703,_0x351816:0x137,_0x38138b:0xe1,_0x46a1ce:0x392,_0xc50839:0x1ea,_0x412ab3:0x3e,_0x52c252:0x12d,_0x98f3bc:0x51d},_0x1917c2={_0x40227a:0x5ba},_0x2ee491=this[_0x99614e(0x2e,_0x1da5fc._0x4a3619)+'ocket'];if(!_0x2ee491||_0x2ee491['readySta'+'te']!==_0x1c58eb[_0x99614e(_0x1da5fc._0xea6c50,_0x1da5fc._0x23b7ff)])return;function _0x3fc6ef(_0x678e5b,_0x10fb9b){return _0x586208(_0x678e5b- -0x105,_0x10fb9b);}function _0x99614e(_0x2c1065,_0x2bbd4b){return _0x586208(_0x2bbd4b- -_0x1917c2._0x40227a,_0x2c1065);}const _0x354a38=[],_0x9ac6b2=dedupePendingGatewayMessages(this['pendingG'+_0x3fc6ef(_0x1da5fc._0x3f5aaa,_0x1da5fc._0x95f95c)+_0x3fc6ef(_0x1da5fc._0x29f268,_0x1da5fc._0x5608e3)]);_0x9ac6b2[_0x99614e(0x1bb,_0x1da5fc._0x833b97)]>0x0&&this[_0x99614e(-_0x1da5fc._0x4c572e,-0x274)]('dropped\x20'+'stale\x20qu'+_0x3fc6ef(_0x1da5fc._0x3aaecc,_0x1da5fc._0x53393a)+_0x99614e(-_0x1da5fc._0x317cbe,0x7d)+_0x3fc6ef(0x438,0x5dc)+_0x3fc6ef(_0x1da5fc._0x482cb0,_0x1da5fc._0x3c3f85)+_0x3fc6ef(0x2bd,_0x1da5fc._0x1e7ab8)+_0x3fc6ef(_0x1da5fc._0x562cca,_0x1da5fc._0x490826)+_0x9ac6b2[_0x3fc6ef(0x68b,0x74e)]+_0x3fc6ef(0x68a,_0x1da5fc._0x366d2a)+_0x9ac6b2[_0x99614e(-_0x1da5fc._0xeacf68,-_0x1da5fc._0x55127b)][_0x99614e(-_0x1da5fc._0x44cce1,_0x1da5fc._0x319703)]);this[_0x3fc6ef(_0x1da5fc._0x346525,_0x1da5fc._0x32cdd8)+_0x3fc6ef(_0x1da5fc._0x2ed848,_0x1da5fc._0x3608d0)+_0x3fc6ef(0x368,_0x1da5fc._0x1e6e74)]=[];for(const _0x521df3 of _0x9ac6b2[_0x3fc6ef(_0x1da5fc._0x366d6a,0x3c1)]){if(!this[_0x99614e(-_0x1da5fc._0x11ba4d,-_0x1da5fc._0x240467)+_0x3fc6ef(0x718,_0x1da5fc._0x35193b)+'Started']){if(_0x521df3[_0x3fc6ef(0x3de,_0x1da5fc._0x535bfc)]!==_0x99614e(0x151,_0x1da5fc._0x5dc37b)||!isConnectHandshakeRequest(_0x521df3[_0x3fc6ef(_0x1da5fc._0x27f38d,0x79d)])){_0x354a38['push'](_0x521df3);continue;}this[_0x99614e(-_0x1da5fc._0x351816,-_0x1da5fc._0x38138b)+_0x3fc6ef(0x718,0x856)+'Started']=!![];}this['sendToGa'+_0x99614e(-_0x1da5fc._0x46a1ce,-_0x1da5fc._0xc50839)](_0x521df3);}this[_0x99614e(-0xd3,_0x1da5fc._0x412ab3)+_0x99614e(0x1c5,_0x1da5fc._0x52c252)+_0x3fc6ef(0x368,_0x1da5fc._0x98f3bc)]=_0x354a38;}[_0x14f19b(0x6f4,0x93c)+'teway'](_0x36cac3){const _0xafd7a6={_0x1d3135:0x2b4,_0x280e28:0x371,_0x5c8f89:0x4cc,_0x1f7bbf:0x2db,_0x4fa280:0x4ea,_0x446df5:0x701,_0x5bdead:0x619,_0xda8abe:0x644,_0xc2bbe6:0x458,_0x730960:0x439,_0xd5547:0x274,_0x1b3f95:0x64f,_0x1047f3:0x558,_0x52431b:0x5d7,_0x9e9cab:0x103,_0x341790:0x349,_0x366fa8:0x718,_0x48f5bd:0x5b8,_0x584ab7:0x63f,_0x3f1cdd:0x4c4,_0x4fdc72:0x2a3,_0x2567f9:0x37f,_0x585b2c:0x246,_0x4cd20b:0x4d0},_0x21805a={_0x1e050a:0x244};function _0x82cdae(_0x33a0c,_0x3a6169){return _0x14f19b(_0x33a0c- -0x10b,_0x3a6169);}const _0x125693={'PkCKU':function(_0x19f06f,_0x401cf8){return _0x19f06f!==_0x401cf8;},'UqXbh':function(_0xbe0f2a,_0x50cb1e){return _0xbe0f2a(_0x50cb1e);}},_0x3a221a=this[_0x82cdae(0x73c,0x5b1)+_0x82cdae(_0xafd7a6._0x1d3135,_0xafd7a6._0x280e28)];if(!_0x3a221a||_0x125693[_0x1e4f32(_0xafd7a6._0x5c8f89,_0xafd7a6._0x1f7bbf)](_0x3a221a[_0x82cdae(0x35e,_0xafd7a6._0x4fa280)+'te'],_0x1c58eb[_0x82cdae(_0xafd7a6._0x446df5,_0xafd7a6._0x5bdead)])){this[_0x1e4f32(_0xafd7a6._0xda8abe,0x4ff)+_0x1e4f32(_0xafd7a6._0xc2bbe6,0x343)+_0x82cdae(_0xafd7a6._0x730960,0x1dd)+'e'](_0x36cac3);return;}function _0x1e4f32(_0x3864b9,_0x20a2f3){return _0x14f19b(_0x20a2f3- -_0x21805a._0x1e050a,_0x3864b9);}if(_0x36cac3[_0x1e4f32(0x23e,0x2d8)]==='text'){const _0x25ec4b=patchConnectRequestGatewayAuth(_0x36cac3['text'],readOpenClawInfo()),_0x48078d=parseConnectHandshakeMeta(_0x25ec4b['text']);_0x48078d&&this[_0x82cdae(_0xafd7a6._0xd5547,0x4bf)](_0x1e4f32(_0xafd7a6._0x1b3f95,_0xafd7a6._0x1047f3)+_0x1e4f32(0x404,_0xafd7a6._0x52431b)+_0x1e4f32(_0xafd7a6._0x9e9cab,_0xafd7a6._0x341790)+_0x82cdae(_0xafd7a6._0x366fa8,_0xafd7a6._0x48f5bd)+'d'+_0x125693[_0x1e4f32(0x737,0x617)](formatConnectHandshakeMetaForLog,_0x48078d));_0x25ec4b['injected']&&this['log'](_0x82cdae(0x691,_0xafd7a6._0x584ab7)+_0x1e4f32(0x48d,_0xafd7a6._0x52431b)+_0x1e4f32(0x58f,_0xafd7a6._0x3f1cdd)+_0x1e4f32(0x343,_0xafd7a6._0x4fdc72)+'e=passwo'+'rd');_0x3a221a[_0x82cdae(_0xafd7a6._0x2567f9,0x111)](_0x25ec4b['text']);return;}_0x3a221a[_0x1e4f32(0x4bb,_0xafd7a6._0x585b2c)](_0x36cac3[_0x1e4f32(_0xafd7a6._0x4cd20b,0x503)]);}['sendGate'+_0x14f19b(0x59b,0x817)+'st'](_0x38bb91,_0x48b572){const _0x373ec5={_0x84492a:0x209,_0x1bb5b5:0x6a,_0x3ef9f3:0x2c9,_0x112d11:0x37c,_0x100209:0x2c7,_0x7ca355:0x81,_0x39d097:0x1f9,_0x34fd61:0x327,_0x412c28:0x321,_0x53bf5d:0x9b,_0x2becdf:0x142,_0xba83cb:0x768,_0x49b784:0x134},_0x5ef3b4=JSON[_0x122dad(_0x373ec5._0x84492a,_0x373ec5._0x1bb5b5)+'y']({'type':_0x3f5f34(_0x373ec5._0x3ef9f3,_0x373ec5._0x112d11),'id':_0x122dad(_0x373ec5._0x100209,_0x373ec5._0x7ca355)+_0x24a8b1(),'method':_0x38bb91,'params':_0x48b572}),_0x5c0d84={};_0x5c0d84[_0x3f5f34(_0x373ec5._0x39d097,0x233)]=_0x122dad(_0x373ec5._0x34fd61,_0x373ec5._0x412c28),_0x5c0d84[_0x122dad(0x393,0x321)]=_0x5ef3b4;function _0x3f5f34(_0x248850,_0x266544){return _0x14f19b(_0x248850- -0x323,_0x266544);}function _0x122dad(_0x1ebedb,_0x19f2bc){return _0x14f19b(_0x19f2bc- -0x520,_0x1ebedb);}this[_0x122dad(_0x373ec5._0x53bf5d,0x65)+_0x122dad(-0x215,-_0x373ec5._0x2becdf)+_0x3f5f34(0x542,_0x373ec5._0xba83cb)+_0x122dad(0xb0,_0x373ec5._0x49b784)](_0x5c0d84);}['closeGat'+'eway'](_0x2319fd=![]){const _0x27bacf={_0x3fea74:0x4f1,_0x3e1930:0x5d6,_0x3c6df0:0x4ae,_0x23ce1d:0x50b,_0x14f466:0x4ae,_0x30eb18:0x3ab,_0x66f215:0x787,_0x45639c:0x9ad,_0x5ab34e:0x98c,_0x37e482:0x88a,_0x19f74c:0x7b2,_0xd3085:0x79c,_0x4385f2:0xa1d,_0x2e7889:0x993,_0x1c0252:0x8a3,_0x24dab4:0x651,_0x16065b:0x64e,_0x41abec:0x6ab,_0x36dedc:0x7be,_0x201adc:0x4d8,_0x12aef8:0x7c7,_0x66a81a:0x558,_0x2f0604:0x51d,_0x2d7ee5:0x5a5,_0x3f2108:0x53a,_0x41f5e2:0x778,_0x48fffd:0x533,_0x1c3e36:0x7e8,_0x24758f:0x8cb,_0x5d003e:0xa2e,_0x5c7d9d:0x8a3,_0x4a1e89:0x645,_0x4f7ef3:0x70d,_0x4483ef:0x7e8,_0x5d602e:0x7be,_0x1b709e:0x962,_0x1da11f:0x6e7,_0x4f450e:0x5fd,_0x4ac10b:0x573,_0x49eef1:0x6de,_0x1ce7b7:0x68a,_0xd2e5dc:0x611,_0x548399:0x731},_0x370470={_0x3f922a:0x175},_0x2431d9={'BjlEN':function(_0x23b338,_0x154682){return _0x23b338(_0x154682);},'gxFbq':function(_0x26fcd2,_0x5b9118){return _0x26fcd2===_0x5b9118;}};this['gatewayR'+'etryTime'+'r']&&(_0x2431d9['BjlEN'](clearTimeout,this[_0x4aafa6(_0x27bacf._0x3fea74,_0x27bacf._0x3e1930)+_0x508342(_0x27bacf._0x3c6df0,0x23d)+'r']),this[_0x4aafa6(0x4f1,_0x27bacf._0x23ce1d)+_0x508342(_0x27bacf._0x14f466,_0x27bacf._0x30eb18)+'r']=null);const _0x335a59=summarizePendingGatewayMessages(this[_0x4aafa6(0x76d,0x980)+'atewayMe'+_0x4aafa6(0x5e2,_0x27bacf._0x66f215)])[_0x4aafa6(0x7db,_0x27bacf._0x45639c)+_0x4aafa6(_0x27bacf._0x5ab34e,_0x27bacf._0x37e482)],_0x46f467=_0x2319fd&&this[_0x4aafa6(0x7a5,0x604)+_0x508342(0x730,0x6a0)]()&&shouldKeepGatewayConnected(this[_0x4aafa6(0x787,_0x27bacf._0x19f74c)][_0x4aafa6(_0x27bacf._0xd3085,_0x27bacf._0x4385f2)+_0x4aafa6(_0x27bacf._0x2e7889,0x9bd)],_0x335a59),_0x54d255=this[_0x508342(_0x27bacf._0x1c0252,_0x27bacf._0x24dab4)+_0x4aafa6(0x4fb,0x5d1)];this[_0x4aafa6(_0x27bacf._0x16065b,0x87d)+_0x508342(0x8b2,_0x27bacf._0x41abec)+'Started']=![],this[_0x4aafa6(_0x27bacf._0x36dedc,0x78c)+_0x4aafa6(0x7ef,0x5eb)+_0x4aafa6(_0x27bacf._0x201adc,0x6db)]=null;if(!_0x54d255){this['gatewayC'+_0x508342(0x70d,0x811)+_0x4aafa6(0x52d,0x52f)+_0x4aafa6(0x7e8,0x8cb)]=![],this[_0x4aafa6(0x7be,0x8da)+_0x4aafa6(_0x27bacf._0x12aef8,0x6e1)+'g']=![];_0x46f467&&this[_0x508342(_0x27bacf._0x66a81a,0x720)+_0x508342(_0x27bacf._0x2f0604,0x353)+'nected']();return;}if(_0x54d255[_0x4aafa6(_0x27bacf._0x2d7ee5,_0x27bacf._0x3f2108)+'te']===_0x1c58eb[_0x508342(_0x27bacf._0x41f5e2,0x9f4)]){this[_0x508342(0x6de,_0x27bacf._0x48fffd)+'loseBoun'+_0x4aafa6(0x52d,0x383)+_0x4aafa6(_0x27bacf._0x1c3e36,0x95c)]=_0x46f467;return;}function _0x508342(_0x5f14e1,_0x37d315){return _0x586208(_0x5f14e1-0x95,_0x37d315);}function _0x4aafa6(_0x458829,_0x47bf44){return _0x586208(_0x458829-_0x370470._0x3f922a,_0x47bf44);}if(_0x2431d9[_0x4aafa6(_0x27bacf._0x24758f,0xa0c)](_0x54d255['readySta'+'te'],_0x1c58eb[_0x508342(0x7a0,0x64a)])){this[_0x4aafa6(0x983,_0x27bacf._0x5d003e)+_0x508342(0x41b,0x508)]===_0x54d255&&(this[_0x508342(_0x27bacf._0x5c7d9d,_0x27bacf._0x4a1e89)+'ocket']=null);this['gatewayC'+_0x508342(_0x27bacf._0x4f7ef3,0x8d0)+_0x4aafa6(0x52d,0x72d)+_0x4aafa6(_0x27bacf._0x4483ef,0x939)]=![],this[_0x4aafa6(_0x27bacf._0x5d602e,_0x27bacf._0x1b709e)+_0x508342(_0x27bacf._0x1da11f,0x8c3)+'g']=![];_0x46f467&&this[_0x508342(0x558,0x3a0)+_0x4aafa6(_0x27bacf._0x4f450e,_0x27bacf._0x4ac10b)+'nected']();return;}this[_0x508342(_0x27bacf._0x49eef1,_0x27bacf._0x1ce7b7)+_0x508342(0x70d,_0x27bacf._0xd2e5dc)+'daryPend'+_0x4aafa6(_0x27bacf._0x4483ef,_0x27bacf._0x548399)]=_0x46f467,_0x54d255['close']();}[_0x14f19b(0x57c,0x433)+_0x586208(0x5bf,0x77d)](_0x2d299e){const _0x5d96ef={_0x500e84:0x46f,_0x21d986:0x2a5,_0x17a797:0x6fb,_0x3347f0:0x532},_0x34f3f1={_0x22740b:0x16};function _0x455cef(_0x4dd498,_0xf5b6c8){return _0x14f19b(_0xf5b6c8- -0x45c,_0x4dd498);}const _0x4525d4={};_0x4525d4['TbLSJ']=function(_0x52a53f,_0x49fe89){return _0x52a53f*_0x49fe89;},_0x4525d4[_0x524b56(_0x5d96ef._0x500e84,_0x5d96ef._0x21d986)]=function(_0x201add,_0x566fd8){return _0x201add*_0x566fd8;};function _0x524b56(_0x2c180b,_0x3e9784){return _0x14f19b(_0x2c180b- -_0x34f3f1._0x22740b,_0x3e9784);}const _0x1f7387=_0x4525d4;if(this[_0x524b56(_0x5d96ef._0x17a797,0x600)]['createWe'+'bSocket'])return this['options'][_0x524b56(0x566,_0x5d96ef._0x3347f0)+_0x524b56(0x5e2,0x4c3)](_0x2d299e);return new _0x1c58eb(_0x2d299e,{'maxPayload':_0x1f7387['TbLSJ'](_0x1f7387[_0x455cef(0x206,0x29)](0x19,0x400),0x400)});}['schedule'+'RelayRec'+_0x586208(0x62b,0x73b)](){const _0x30ad55={_0xd06fe9:0x4fb,_0x4f0288:0x29a,_0x3a3d17:0xb0,_0x5d6f4f:0x1f8,_0x4efbec:0x18b,_0x424782:0x181,_0x5d679c:0x1ba,_0x479efb:0x310,_0x1ac01f:0x27b,_0x17007c:0x312,_0x4c2a83:0x1a6,_0x2c4126:0x136,_0x109533:0x27a,_0x4a0eef:0x2a4,_0x188c2f:0xa1,_0x25d3d1:0x74,_0x5dab57:0x181},_0x1361a5={_0x1011f2:0x270,_0x165504:0x1c2},_0x5799fe={_0x1054d6:0x586};if(this[_0x5f04ca(_0x30ad55._0xd06fe9,_0x30ad55._0x4f0288)]||this[_0x44c588(-_0x30ad55._0x3a3d17,-_0x30ad55._0x5d6f4f)+_0x5f04ca(-0x58,0x10d)])return;const _0x46b273=this[_0x5f04ca(0x11f,_0x30ad55._0x4efbec)][_0x5f04ca(0x92,-_0x30ad55._0x424782)+_0x5f04ca(-0x183,-_0x30ad55._0x5d679c)+_0x5f04ca(_0x30ad55._0x479efb,_0x30ad55._0x1ac01f)]??RECONNECT_BASE_DELAY_MS,_0xa65f88=this['options'][_0x44c588(-0xb0,0xb2)+_0x5f04ca(0x22b,0x19b)+_0x5f04ca(-_0x30ad55._0x17007c,-0xd5)]??RECONNECT_MAX_DELAY_MS;function _0x44c588(_0x487ccc,_0x369298){return _0x14f19b(_0x487ccc- -0x4b5,_0x369298);}function _0x5f04ca(_0x553631,_0x38985){return _0x14f19b(_0x38985- -_0x5799fe._0x1054d6,_0x553631);}const _0x1a4e49=Math[_0x44c588(0x181,-0x99)](_0xa65f88,_0x46b273*Math[_0x5f04ca(0xd1,-_0x30ad55._0x4c2a83)](0x1,this[_0x44c588(-0x2f,0x75)+'empt']));this[_0x44c588(-_0x30ad55._0x2c4126,-0xfa)]('relay\x20re'+_0x44c588(0x366,0x38a)+_0x5f04ca(_0x30ad55._0x109533,_0x30ad55._0x4a0eef)+_0x44c588(_0x30ad55._0x188c2f,-_0x30ad55._0x25d3d1)+'s='+_0x1a4e49),this[_0x5f04ca(-0x3a1,-_0x30ad55._0x5dab57)+'tTimer']=setTimeout(()=>{function _0x4122ec(_0x34346e,_0x441ae7){return _0x44c588(_0x34346e-0x52,_0x441ae7);}this['reconnec'+'tTimer']=null,void this['connectR'+_0x4122ec(_0x1361a5._0x1011f2,_0x1361a5._0x165504)]();},_0x1a4e49);}[_0x586208(0x7f1,0x84e)+'GatewayR'+_0x14f19b(0x6c2,0x7bb)](){const _0x23d918={_0x232135:0x196,_0x5e5e26:0x3b5,_0x4b9c8a:0x619,_0x4b2d40:0x77e,_0x144d19:0x202,_0x376c66:0x68,_0x2caae7:0x3bc,_0x5368dd:0x5c,_0x191730:0xab,_0x5bab9d:0x114,_0x572dba:0x113,_0x59e781:0x202,_0x1532a0:0x147},_0xb12047={_0x3b04cf:0x211,_0x3309e8:0x23a},_0xbf6686={_0x2b9ce8:0x17a},_0x366116={_0x15168f:0x462},_0x481e39={'jVjiw':function(_0x233f7c,_0x586d23,_0x51fffb){return _0x233f7c(_0x586d23,_0x51fffb);}},_0x337853=summarizePendingGatewayMessages(this[_0x4a47f8(_0x23d918._0x232135,0x399)+'atewayMe'+'ssages'])[_0x4a47f8(0x204,0x2b9)+_0x4a47f8(_0x23d918._0x5e5e26,_0x23d918._0x4b9c8a)];function _0x4a47f8(_0x35094e,_0x2c0c22){return _0x586208(_0x35094e- -_0x366116._0x15168f,_0x2c0c22);}if(this[_0x8cc631(0x66d,_0x23d918._0x4b2d40)]||this[_0x8cc631(_0x23d918._0x144d19,0x329)+_0x4a47f8(-0x49,-0x1c9)+'r']||!this['isRelayO'+_0x4a47f8(0x239,_0x23d918._0x376c66)]()||!shouldKeepGatewayConnected(this['snapshot'][_0x4a47f8(0x1c5,0x194)+_0x4a47f8(_0x23d918._0x2caae7,0x2c9)],_0x337853))return;function _0x8cc631(_0x54bccc,_0x4a5f92){return _0x586208(_0x54bccc- -_0xbf6686._0x2b9ce8,_0x4a5f92);}const _0x2e390b=this['options'][_0x8cc631(0x202,-_0x23d918._0x5368dd)+_0x4a47f8(_0x23d918._0x191730,_0x23d918._0x5bab9d)+_0x4a47f8(0x16,_0x23d918._0x572dba)]??GATEWAY_RETRY_DELAY_MS;this[_0x8cc631(_0x23d918._0x59e781,0x263)+'etryTime'+'r']=_0x481e39[_0x4a47f8(0x73,_0x23d918._0x1532a0)](setTimeout,()=>{function _0x1597f8(_0x1fbee7,_0x5304e9){return _0x4a47f8(_0x5304e9- -0xba,_0x1fbee7);}this[_0x1597f8(-0x12d,-0x1a0)+_0x1597f8(0x95,-0x103)+'r']=null;function _0x55cee0(_0x39bdae,_0x182f5f){return _0x4a47f8(_0x182f5f- -0xc0,_0x39bdae);}this[_0x55cee0(-_0xb12047._0x3b04cf,-0x5f)+_0x55cee0(-_0xb12047._0x3309e8,-0x9a)+_0x1597f8(0x517,0x2ee)]();},_0x2e390b);}[_0x14f19b(0x3ea,0x355)+_0x586208(0x348,0x52a)](){const _0x36c6ea={_0xc38012:0x360,_0x394340:0x2ac,_0x13828a:0x26,_0x32fa14:0x276,_0x5a083a:0x197,_0x19f73d:0x3a4,_0x1f5d4e:0x24d,_0x4c79a8:0xfb},_0x2955f={_0x2b9740:0x61f,_0x4be01e:0x16f,_0x1592a9:0x39c,_0x5c25bf:0x38,_0x324921:0xf1,_0x460656:0x27d,_0x26f57b:0x191,_0x296b6d:0x36c,_0x2cd233:0x229,_0x58f0ba:0x7df,_0x6ffec3:0x651,_0x465a0c:0x130,_0x51b795:0x55,_0x297864:0x5a,_0xf3fdce:0x251,_0x321838:0x785},_0x3f1d37={_0x2d4191:0x5ed},_0x425f79={};function _0x13e200(_0x196060,_0x213b52){return _0x586208(_0x213b52- -_0x3f1d37._0x2d4191,_0x196060);}_0x425f79[_0xa78669(0x58f,_0x36c6ea._0xc38012)]=function(_0x49c856,_0x4500d8){return _0x49c856-_0x4500d8;};function _0xa78669(_0x1a520e,_0x48c9cd){return _0x586208(_0x48c9cd- -0x3e4,_0x1a520e);}const _0x457bee=_0x425f79;this[_0x13e200(-0x4b5,-_0x36c6ea._0x394340)+'tbeat'](),this['heartbea'+_0xa78669(_0x36c6ea._0x13828a,_0x36c6ea._0x32fa14)]=setInterval(()=>{const _0x1340cc={_0x259cb5:0x203};function _0x8301e3(_0xd882d,_0x54f756){return _0xa78669(_0xd882d,_0x54f756- -_0x1340cc._0x259cb5);}const _0x164bc0=this[_0x272ab8(_0x2955f._0x2b9740,0x660)+_0x272ab8(0x27f,0x370)];function _0x272ab8(_0x1b730e,_0x26d048){return _0xa78669(_0x1b730e,_0x26d048-0x350);}if(!_0x164bc0||_0x164bc0[_0x272ab8(_0x2955f._0x4be01e,_0x2955f._0x1592a9)+'te']!==_0x1c58eb['OPEN'])return;const _0x187c09=this[_0x8301e3(-_0x2955f._0x5c25bf,_0x2955f._0x324921)][_0x8301e3(-_0x2955f._0x460656,-_0x2955f._0x26f57b)+_0x272ab8(0x159,_0x2955f._0x296b6d)+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x457bee[_0x8301e3(_0x2955f._0x2cd233,0x15d)](Date[_0x272ab8(_0x2955f._0x58f0ba,0x730)](),this[_0x272ab8(0x649,_0x2955f._0x6ffec3)+_0x8301e3(-_0x2955f._0x465a0c,_0x2955f._0x51b795)+_0x8301e3(-0x30b,-0x16f)])>_0x187c09){this[_0x8301e3(-0x1b6,-0x2a1)]('relay\x20he'+_0x8301e3(-_0x2955f._0x297864,-_0x2955f._0xf3fdce)+_0x272ab8(_0x2955f._0x321838,0x57c)+'t'),_0x164bc0['terminat'+'e']();return;}_0x164bc0[_0x272ab8(0x249,0x2f7)]();},this[_0x13e200(-0x56,0xeb)][_0x13e200(-0x1df,-_0x36c6ea._0x5a083a)+_0x13e200(_0x36c6ea._0x19f73d,_0x36c6ea._0x1f5d4e)+_0x13e200(0x90,-_0x36c6ea._0x4c79a8)]??HEARTBEAT_INTERVAL_MS);}[_0x586208(0x341,0x1ce)+'tbeat'](){const _0x3173e3={_0x1c9265:0x2fd,_0x20386a:0x231,_0x371cbe:0x7b2,_0x5816fa:0x5ae,_0x276f15:0x2fd,_0x1c26bc:0x8b},_0x102036={_0x40c025:0x159};function _0x1e95f5(_0x5a9f53,_0x313499){return _0x586208(_0x5a9f53- -_0x102036._0x40c025,_0x313499);}function _0x350723(_0x455ec3,_0x2ee12e){return _0x586208(_0x455ec3-0x158,_0x2ee12e);}this[_0x1e95f5(_0x3173e3._0x1c9265,_0x3173e3._0x20386a)+_0x350723(_0x3173e3._0x371cbe,0x928)]&&(clearInterval(this[_0x350723(_0x3173e3._0x5816fa,0x662)+_0x350723(0x7b2,0x59b)]),this[_0x1e95f5(_0x3173e3._0x276f15,_0x3173e3._0x1c26bc)+_0x350723(0x7b2,0x8ca)]=null);}[_0x586208(0x70a,0x5e0)+_0x586208(0x54e,0x6aa)+_0x14f19b(0x544,0x69f)+'e'](_0x88a0fc){const _0x19203c={_0x36d38c:0x415,_0x1b169e:0x4ac,_0x290bda:0x1b2,_0x1803a4:0x24d,_0x506adc:0x415,_0x39079f:0x48e,_0x4ad574:0x30c,_0x247304:0x202,_0x24dc06:0x30a,_0x32b653:0x547,_0x125657:0x742,_0x3df89f:0x113,_0x41f4c5:0x24e,_0x196ebe:0x28a,_0x3a86f3:0x4e3,_0xfc2246:0x60a},_0x178325={_0x242c20:0x51e},_0x13073f={_0x13651b:0x21c},_0x327087={};function _0x9fb501(_0x2ae5e6,_0x106934){return _0x14f19b(_0x2ae5e6- -_0x13073f._0x13651b,_0x106934);}_0x327087['LSdIa']=function(_0x1f8f84,_0x12a26b){return _0x1f8f84>=_0x12a26b;};function _0x4bd844(_0x563ea5,_0x15aced){return _0x14f19b(_0x15aced- -_0x178325._0x242c20,_0x563ea5);}const _0x15614c=_0x327087;_0x15614c['LSdIa'](this[_0x9fb501(_0x19203c._0x36d38c,_0x19203c._0x1b169e)+'atewayMe'+_0x4bd844(0x20a,-0x78)][_0x4bd844(_0x19203c._0x290bda,_0x19203c._0x1803a4)],MAX_PENDING_GATEWAY_MESSAGES)&&this[_0x9fb501(_0x19203c._0x506adc,_0x19203c._0x39079f)+_0x4bd844(_0x19203c._0x4ad574,_0x19203c._0x247304)+_0x9fb501(0x28a,_0x19203c._0x24dc06)][_0x9fb501(_0x19203c._0x32b653,_0x19203c._0x125657)](),this[_0x4bd844(-0x3b,_0x19203c._0x3df89f)+_0x4bd844(_0x19203c._0x41f4c5,0x202)+_0x9fb501(_0x19203c._0x196ebe,_0x19203c._0x3a86f3)][_0x9fb501(_0x19203c._0xfc2246,0x4fe)](_0x88a0fc);}['dropStal'+'eIdleGat'+_0x586208(0x725,0x58c)+'e'](){const _0x453e15={_0x26dffb:0xc7,_0x469796:0x369,_0x709009:0x104,_0x3d5c60:0x29d,_0x50f823:0x46d,_0x3d23b9:0x1eb,_0xfeb847:0x5ab,_0x34945c:0x402,_0x4e5541:0x28b,_0x2d08f5:0x138,_0x3e1ea1:0x1f4,_0x440079:0x30a,_0x877fc7:0x417,_0x3ebdc0:0xef},_0x2fd8d2={_0xbd53bb:0x27a},_0x3870f2={_0x231389:0x531},_0x2f78fe={'WtHGs':function(_0x525bb6,_0x59cf11){return _0x525bb6(_0x59cf11);},'EDfgE':function(_0x49a58d,_0x29aa0a){return _0x49a58d>_0x29aa0a;}},_0x2d9efd=_0x2f78fe['WtHGs'](summarizePendingGatewayMessages,this[_0x3c25ec(_0x453e15._0x26dffb,0x7)+_0x3c25ec(0x1b6,_0x453e15._0x469796)+_0xb37f6e(0x39b,0x1f3)]);function _0x3c25ec(_0xd4adbb,_0x36b2a9){return _0x586208(_0xd4adbb- -_0x3870f2._0x231389,_0x36b2a9);}function _0xb37f6e(_0x21c305,_0x16859f){return _0x586208(_0x16859f- -_0x2fd8d2._0xbd53bb,_0x21c305);}if(_0x2d9efd['total']===0x0||_0x2f78fe[_0xb37f6e(0x207,0x3cd)](_0x2d9efd[_0xb37f6e(0x521,0x3ec)+_0x3c25ec(0x2e6,0x96)],0x0))return;this[_0x3c25ec(_0x453e15._0x26dffb,_0x453e15._0x709009)+_0xb37f6e(_0x453e15._0x3d5c60,_0x453e15._0x50f823)+_0xb37f6e(0x293,0x1f3)]=[],this[_0x3c25ec(-_0x453e15._0x3d23b9,-0x137)](_0x3c25ec(-0xbf,-0xc4)+'stale\x20id'+_0xb37f6e(_0x453e15._0xfeb847,0x5ae)+_0xb37f6e(_0x453e15._0x34945c,0x295)+'\x20total='+_0x2d9efd[_0xb37f6e(_0x453e15._0x4e5541,0x19b)]+_0xb37f6e(_0x453e15._0x2d08f5,_0x453e15._0x3e1ea1)+_0x2d9efd[_0x3c25ec(_0x453e15._0x440079,_0x453e15._0x877fc7)+'t']+_0x3c25ec(-_0x453e15._0x3ebdc0,-0x2ba)+_0x2d9efd['binary']);}[_0x14f19b(0x451,0x5ea)+_0x586208(0x587,0x3c8)+_0x14f19b(0x581,0x7fc)](_0x3234d8,_0x4fb72d){const _0x4b0d25={_0x404336:0x80b,_0x427481:0x5a3,_0x19c903:0x450,_0x2a2df8:0x62e,_0x2080af:0x5c0,_0x3493f1:0x4ed,_0x3e13ed:0x942,_0x304b25:0x563,_0x4c3896:0x329,_0xc44c18:0x51c},_0x1d4c55={_0x2d5895:0x92},_0x49ef82={_0x674c48:0xfd},_0x6f64f2=Date[_0x5bc82f(0x732,_0x4b0d25._0x404336)](),_0x25e7a1=new Map(this['snapshot'][_0x5bc82f(_0x4b0d25._0x427481,0x3fb)+_0x5bc82f(0x37c,0x391)][_0x5bc82f(_0x4b0d25._0x19c903,0x650)](_0x17546b=>[_0x17546b['id'],{..._0x17546b}])),_0xf051a9=_0x25e7a1['get'](_0x3234d8)??{'id':_0x3234d8,'label':_0x4fb72d,'state':_0x5bc82f(_0x4b0d25._0x427481,0x48f)+'d','lastSeenMs':_0x6f64f2};function _0x1317f3(_0x44cbbd,_0x1a1c84){return _0x586208(_0x44cbbd-_0x49ef82._0x674c48,_0x1a1c84);}_0xf051a9[_0x1317f3(_0x4b0d25._0x2a2df8,_0x4b0d25._0x2080af)]=_0x4fb72d;function _0x5bc82f(_0x2c2f35,_0x353231){return _0x586208(_0x2c2f35- -_0x1d4c55._0x2d5895,_0x353231);}_0xf051a9[_0x1317f3(_0x4b0d25._0x3493f1,0x403)]=_0x1317f3(0x732,_0x4b0d25._0x3e13ed)+'d',_0xf051a9[_0x1317f3(0x47f,0x605)+'Ms']=_0x6f64f2,_0x25e7a1[_0x5bc82f(0x411,_0x4b0d25._0x304b25)](_0x3234d8,_0xf051a9);const _0x1faa33=[..._0x25e7a1['values']()][_0x5bc82f(_0x4b0d25._0x4c3896,0x1a1)]((_0x4a4f27,_0x4bab3c)=>_0x4bab3c['lastSeen'+'Ms']-_0x4a4f27[_0x5bc82f(0x2f0,0x4c8)+'Ms'])[_0x5bc82f(0x6ea,0x5dc)](0x0,MAX_DEVICE_DETAILS),_0x505d50={};_0x505d50[_0x5bc82f(_0x4b0d25._0x427481,0x4b3)+_0x5bc82f(0x37c,0x4bd)]=_0x1faa33,this['updateSn'+_0x1317f3(0x5c6,_0x4b0d25._0xc44c18)](_0x505d50);}[_0x586208(0x7b1,0x735)+'cesRecen'+'t'](){const _0x299999={_0x11761a:0x42d,_0x10beaf:0x525,_0x5fc8a:0x346,_0x1175c8:0x69b,_0x22f8ae:0x388},_0x4b6cd0={_0x531b49:0x5c};function _0x5bb4a7(_0x17e93c,_0x5537dd){return _0x586208(_0x5537dd- -0x107,_0x17e93c);}function _0x56233d(_0x57f784,_0x3ea0fa){return _0x586208(_0x57f784-_0x4b6cd0._0x531b49,_0x3ea0fa);}this[_0x56233d(0x3aa,_0x299999._0x11761a)+_0x56233d(_0x299999._0x10beaf,_0x299999._0x5fc8a)]({'connectedDevices':this[_0x56233d(0x66e,0x690)]['connecte'+_0x56233d(0x46a,_0x299999._0x1175c8)][_0x56233d(0x53e,_0x299999._0x22f8ae)](_0x1e40a8=>({..._0x1e40a8,'state':'recent'}))});}[_0x586208(0x61e,0x3b2)+_0x586208(0x651,0x696)+_0x586208(0x468,0x42f)](_0x3a260c){const _0xa17fef={_0x33b764:0x670,_0x54a677:0x48f,_0x2547e0:0x746,_0xf8f0d1:0x33e,_0x466f58:0x4e2,_0x3d3dbb:0x49d,_0x2b328a:0x459,_0x485c41:0x1f6,_0x337989:0x212,_0x44607b:0x778,_0x10fb33:0x59d,_0x50e164:0x407},_0x401765={_0x2fb3ff:0x2c},_0x2cee82={_0x2a0a17:0x285},_0xffe83b={};_0xffe83b[_0xae6197(0x344,0x1c2)]=_0xae6197(0x455,0x5c5)+'>';const _0x39a08a=_0xffe83b;if(this['snapshot'][_0x178b8d(_0xa17fef._0x33b764,_0xa17fef._0x54a677)+_0x178b8d(0x5d9,0x419)+'sts']['some'](_0x45aa8f=>_0x45aa8f[_0xae6197(0x46b,0x45c)+'d']===_0x3a260c[_0xae6197(0x46b,0x570)+'d']))return;function _0xae6197(_0x5b9b0a,_0x4993ad){return _0x586208(_0x5b9b0a- -_0x2cee82._0x2a0a17,_0x4993ad);}const _0x409c26=[...this[_0x178b8d(0x5e6,_0xa17fef._0x2547e0)][_0xae6197(0x417,0x4ec)+_0x178b8d(0x5d9,0x797)+_0x178b8d(0x773,0x63a)],_0x3a260c]['slice'](-MAX_PENDING_PAIR_REQUESTS),_0x2e7f55={};_0x2e7f55[_0xae6197(0x417,_0xa17fef._0xf8f0d1)+'airReque'+_0xae6197(0x51a,_0xa17fef._0x466f58)]=_0x409c26;function _0x178b8d(_0x34361f,_0x528808){return _0x586208(_0x34361f- -_0x401765._0x2fb3ff,_0x528808);}this[_0xae6197(0xc9,0x279)+_0x178b8d(_0xa17fef._0x3d3dbb,_0xa17fef._0x2b328a)](_0x2e7f55),this[_0xae6197(0x453,0x4d7)][_0x178b8d(0x5fa,0x48c)+'gPairReq'+_0xae6197(_0xa17fef._0x485c41,0x7d)]?.(_0x3a260c),this[_0x178b8d(0x31a,_0xa17fef._0x337989)]('pair\x20req'+'uest\x20pen'+'ding\x20req'+'uestId='+_0x3a260c[_0x178b8d(0x6c4,0x677)+'d']+(_0x178b8d(0x6dd,0x5a2)+'d=')+(_0x3a260c[_0xae6197(0x536,_0xa17fef._0x44607b)]||_0x39a08a[_0x178b8d(_0xa17fef._0x10fb33,_0xa17fef._0x50e164)]));}[_0x586208(0x5df,0x817)+'RequestR'+'esolved'](_0x5d8f23,_0x51869d){const _0x575f5a={_0x5cc4ba:0x23d,_0x39d594:0x472,_0x3293ba:0x229,_0x12791e:0x398,_0x288258:0x433,_0x144f94:0x42f,_0x54b096:0x532,_0x286b2b:0x343,_0x46424b:0x1a6,_0x4d9a5e:0x37a,_0x2c2111:0x83,_0x44a741:0x234,_0x21a403:0x1e3,_0x388645:0x3a4},_0x20badd={_0xe1fa15:0x1a0},_0x57cf26={_0x117619:0x26d},_0x34845d=this[_0x53745f(_0x575f5a._0x5cc4ba,_0x575f5a._0x39d594)][_0x1f628a(_0x575f5a._0x3293ba,0x42f)+_0x1f628a(0x147,_0x575f5a._0x12791e)+'sts']['map'](_0x352443=>_0x352443[_0x53745f(0x417,0x550)+'d']===_0x5d8f23?{..._0x352443,'status':_0x51869d===_0x1f628a(0x326,0x33b)||_0x51869d===_0x53745f(0x575,0x555)?_0x51869d:_0x352443['status']}:_0x352443),_0x2413ea={};function _0x1f628a(_0xcf0985,_0x3f4c3d){return _0x586208(_0x3f4c3d- -_0x57cf26._0x117619,_0xcf0985);}function _0x53745f(_0x3b2c34,_0x106e4c){return _0x586208(_0x106e4c- -_0x20badd._0xe1fa15,_0x3b2c34);}_0x2413ea[_0x1f628a(_0x575f5a._0x288258,_0x575f5a._0x144f94)+_0x1f628a(0x468,_0x575f5a._0x12791e)+_0x1f628a(0x33c,_0x575f5a._0x54b096)]=_0x34845d,this['updateSn'+_0x53745f(0x49b,0x329)](_0x2413ea),this[_0x53745f(_0x575f5a._0x286b2b,_0x575f5a._0x46424b)]('pair\x20req'+_0x1f628a(0x405,_0x575f5a._0x4d9a5e)+_0x53745f(_0x575f5a._0x2c2111,_0x575f5a._0x44a741)+'questId='+_0x5d8f23+(_0x1f628a(_0x575f5a._0x21a403,_0x575f5a._0x388645)+'n=')+_0x51869d);}['updateSn'+_0x586208(0x4c9,0x248)](_0x2dc77b){const _0x5a7d2e={_0x125f48:0x1b1,_0x26a486:0x628,_0x4b9998:0x433,_0x56eeb1:0x347,_0x1b9fde:0xee,_0x363b8c:0x35e,_0x1afa8f:0x192},_0xc0e7c3={_0x190663:0x3ca};Object[_0x5e6859(0x1f2,_0x5a7d2e._0x125f48)](this[_0x5e6859(0x122,0x281)],_0x2dc77b,{'lastUpdatedMs':Date[_0x5e6859(_0x5a7d2e._0x26a486,_0x5a7d2e._0x4b9998)]()});function _0x5e6859(_0x11c780,_0x5c0c8b){return _0x14f19b(_0x5c0c8b- -_0xc0e7c3._0x190663,_0x11c780);}function _0xbfb6ec(_0x5d1427,_0x3d7df4){return _0x14f19b(_0x3d7df4- -0x628,_0x5d1427);}this[_0x5e6859(0x4d9,_0x5a7d2e._0x56eeb1)][_0x5e6859(_0x5a7d2e._0x1b9fde,0x20d)]?.(this[_0x5e6859(_0x5a7d2e._0x363b8c,0x27b)+_0x5e6859(0x100,_0x5a7d2e._0x1afa8f)]());}[_0x14f19b(0x37f,0x41d)](_0x285ce9){const _0x2cdbd1={_0x55cd51:0xfa},_0x1db608={_0x273836:0x577};function _0x537998(_0x19e053,_0x127ea5){return _0x586208(_0x127ea5- -_0x1db608._0x273836,_0x19e053);}this['options'][_0x537998(0xad,_0x2cdbd1._0x55cd51)]?.(_0x285ce9);}['isRelayO'+_0x586208(0x69b,0x871)](){const _0x345a67={_0x5f4505:0x75b,_0x37f1f1:0x5a6,_0x12fba8:0x3f,_0x193922:0x3b2,_0x143028:0x30a},_0x229ea5={_0xbcc32d:0x421},_0x20c6cf={_0xe8caa0:0x14e};function _0xd27fc0(_0x5d8c07,_0x7c4c9f){return _0x586208(_0x7c4c9f- -_0x20c6cf._0xe8caa0,_0x5d8c07);}function _0x20b988(_0x3cdb66,_0xa84d41){return _0x586208(_0x3cdb66- -_0x229ea5._0xbcc32d,_0xa84d41);}return this[_0xd27fc0(_0x345a67._0x5f4505,_0x345a67._0x37f1f1)+_0xd27fc0(_0x345a67._0x12fba8,0x2b6)]?.['readySta'+'te']===_0x1c58eb[_0x20b988(_0x345a67._0x193922,_0x345a67._0x143028)];}[_0x586208(0x845,0x902)+_0x586208(0x3ce,0x558)](){const _0x21a734={_0x5af47d:0x2fa},_0x3366f6={_0x37e257:0x2b2},_0x22df30={_0x28c90b:0xa9},_0xc31c03={};_0xc31c03['eZzBK']=function(_0x1c953f,_0x4ab435){return _0x1c953f===_0x4ab435;};function _0x30bc43(_0x488b43,_0x17d3e5){return _0x14f19b(_0x17d3e5- -_0x22df30._0x28c90b,_0x488b43);}const _0x314f54=_0xc31c03;function _0x31ed9f(_0x3c2c38,_0x544bab){return _0x14f19b(_0x3c2c38- -_0x3366f6._0x37e257,_0x544bab);}return _0x314f54[_0x30bc43(0x1ae,0x403)](this['gatewayS'+_0x30bc43(_0x21a734._0x5af47d,0x316)]?.[_0x31ed9f(0x1b7,0x1c3)+'te'],_0x1c58eb['OPEN']);}[_0x586208(0x7f0,0xa4d)+_0x14f19b(0x821,0x906)](){const _0x20d0a8={_0x523b9a:0x1e,_0xbf09df:0x190,_0x3c103f:0x710,_0x527aa1:0x35d,_0x2ff292:0x4cf,_0x3c1841:0x60e},_0x10e457={_0x4dc741:0x23c},_0x2041e={'JYLgE':function(_0x5c7037,_0x2bf874){return _0x5c7037(_0x2bf874);}};function _0x31e268(_0x304b1a,_0x555bdd){return _0x586208(_0x304b1a-0xb6,_0x555bdd);}this['stopHear'+'tbeat']();function _0x438759(_0x53e763,_0x4bce8d){return _0x586208(_0x4bce8d- -_0x10e457._0x4dc741,_0x53e763);}this[_0x438759(0x16c,0x190)+'tTimer']&&(clearTimeout(this[_0x438759(_0x20d0a8._0x523b9a,_0x20d0a8._0xbf09df)+_0x31e268(_0x20d0a8._0x3c103f,0x991)]),this['reconnec'+_0x438759(_0x20d0a8._0x527aa1,0x41e)]=null),this['gatewayR'+'etryTime'+'r']&&(_0x2041e['JYLgE'](clearTimeout,this['gatewayR'+_0x31e268(_0x20d0a8._0x2ff292,0x6f2)+'r']),this['gatewayR'+_0x31e268(_0x20d0a8._0x2ff292,_0x20d0a8._0x3c1841)+'r']=null);}[_0x14f19b(0x52a,0x350)+_0x14f19b(0x65a,0x87b)](_0x54dd15){const _0x2e4474={_0x383655:0x200};function _0x4a624c(_0xb849bb,_0x37add1){return _0x14f19b(_0x37add1- -0x5e0,_0xb849bb);}return _0x54dd15==null?null:Math[_0x4a624c(-0x355,-_0x2e4474._0x383655)](0x0,Date['now']()-_0x54dd15);}};function shouldKeepGatewayConnected(_0x3a98b6,_0x493e87){return _0x3a98b6>0x0||_0x493e87>0x0;}function shouldScheduleGatewayIdleClose(_0x176fd5,_0x2ccb0d,_0x2275c2){return _0x2275c2&&!shouldKeepGatewayConnected(_0x176fd5,_0x2ccb0d);}function shouldRecycleGatewayForFreshClient(_0x30ee43,_0xdd925c,_0x51e728,_0x306d1d){return _0x51e728&&_0xdd925c>0x0&&(_0x30ee43===0x0||_0x306d1d);}function summarizePendingGatewayMessages(_0x156356){const _0x18a5ca={_0x4a3ba6:0x48e,_0x2fdb92:0x500,_0x5a9c70:0x550,_0x51c598:0x573,_0x21b0f0:0x6f5,_0x2a894c:0x54f,_0x1c1d27:0x3b1,_0x18b12b:0x216,_0x357c95:0x63e,_0x1c1f14:0x478,_0x53d6ac:0x564,_0x3f6ba0:0x3c2,_0x4de62f:0x573,_0x472e54:0x72b,_0x538c90:0x54f},_0x282a74={'YWcuh':function(_0x68e16e,_0x43858c){return _0x68e16e(_0x43858c);}};function _0x446202(_0x145871,_0x5384ae){return _0x586208(_0x145871- -0x2a4,_0x5384ae);}const _0x332142={};function _0x414363(_0x273e7a,_0x1792a0){return _0x586208(_0x1792a0- -0x2ec,_0x273e7a);}_0x332142['total']=_0x156356[_0x446202(_0x18a5ca._0x4a3ba6,_0x18a5ca._0x2fdb92)],_0x332142[_0x414363(_0x18a5ca._0x5a9c70,0x37a)+_0x446202(_0x18a5ca._0x51c598,_0x18a5ca._0x21b0f0)]=0x0,_0x332142[_0x414363(0x3d0,_0x18a5ca._0x2a894c)+'t']=0x0,_0x332142[_0x446202(0x483,_0x18a5ca._0x1c1d27)]=0x0;const _0x58edf6=_0x332142;for(const _0x4ae9e6 of _0x156356){if(_0x4ae9e6[_0x414363(_0x18a5ca._0x18b12b,0x1f7)]===_0x446202(0x483,_0x18a5ca._0x357c95)){_0x58edf6['binary']+=0x1;continue;}if(_0x282a74[_0x446202(_0x18a5ca._0x1c1f14,0x6d0)](isConnectHandshakeRequest,_0x4ae9e6[_0x446202(_0x18a5ca._0x53d6ac,0x38f)])){_0x58edf6[_0x446202(_0x18a5ca._0x3f6ba0,0x3dd)+_0x446202(_0x18a5ca._0x4de62f,_0x18a5ca._0x472e54)]+=0x1;continue;}_0x58edf6[_0x414363(0x3a0,_0x18a5ca._0x538c90)+'t']+=0x1;}return _0x58edf6;}function dedupePendingGatewayMessages(_0x2cfd43){const _0x4fd3f={_0x56dbaf:0x5f3,_0x4bb763:0x864,_0x483b04:0x64c,_0x4a4680:0x772,_0x5c56e4:0x4ae,_0x267cb7:0x7f3,_0x35bf1c:0x630,_0x3e5e12:0x903,_0x452a26:0x62b,_0x2386b0:0x678,_0x565893:0x8c2,_0x2a1a0c:0x6ac},_0x164d69={_0x501c07:0x132},_0x11d06b={_0x4f8e9e:0x86},_0x98f3b6={};_0x98f3b6[_0x18a0a0(0x56e,0x461)]=function(_0x2eaf5d,_0x3eb6a3){return _0x2eaf5d>=_0x3eb6a3;},_0x98f3b6[_0x18a0a0(0x6ec,_0x4fd3f._0x56dbaf)]=function(_0x2886f4,_0x137148){return _0x2886f4<=_0x137148;};function _0x18a0a0(_0x3c11f6,_0x204377){return _0x586208(_0x204377- -_0x11d06b._0x4f8e9e,_0x3c11f6);}const _0x12fb1c=_0x98f3b6;let _0x4ed926=-0x1;for(let _0x1ae4cf=_0x2cfd43[_0x1de978(0x846,_0x4fd3f._0x4bb763)]-0x1;_0x12fb1c['SRJxb'](_0x1ae4cf,0x0);_0x1ae4cf-=0x1){const _0x114cbb=_0x2cfd43[_0x1ae4cf];if(_0x114cbb?.[_0x1de978(_0x4fd3f._0x483b04,0x615)]===_0x18a0a0(_0x4fd3f._0x4a4680,0x782)&&isConnectHandshakeRequest(_0x114cbb[_0x1de978(0xb50,0x93a)])){_0x4ed926=_0x1ae4cf;break;}}if(_0x12fb1c[_0x18a0a0(_0x4fd3f._0x5c56e4,0x5f3)](_0x4ed926,0x0)){const _0xc62161={};return _0xc62161[_0x1de978(_0x4fd3f._0x267cb7,_0x4fd3f._0x35bf1c)]=[..._0x2cfd43],_0xc62161[_0x18a0a0(_0x4fd3f._0x3e5e12,0x70a)]=0x0,_0xc62161;}const _0x1707f9=_0x2cfd43[_0x18a0a0(0x583,_0x4fd3f._0x452a26)]((_0x251ee2,_0x3baf16)=>_0x3baf16>=_0x4ed926||(_0x251ee2['kind']!=='text'||!isConnectHandshakeRequest(_0x251ee2['text']))),_0x452eb0={};function _0x1de978(_0x18ae88,_0x3925ac){return _0x586208(_0x3925ac-_0x164d69._0x501c07,_0x18ae88);}return _0x452eb0[_0x1de978(0x4a7,_0x4fd3f._0x35bf1c)]=_0x1707f9,_0x452eb0[_0x1de978(_0x4fd3f._0x2386b0,_0x4fd3f._0x565893)]=_0x2cfd43[_0x18a0a0(0x77e,_0x4fd3f._0x2a1a0c)]-_0x1707f9['length'],_0x452eb0;}function prunePendingGatewayMessagesForFreshDemand(_0x17e79f){const _0x6a6cfa={_0x12c1c9:0x114,_0x289afc:0x45a,_0x5041c1:0x5d1,_0x532b39:0x3af,_0x212ea2:0x1d9,_0x9d5b80:0x302,_0xdd2a45:0x6b9,_0x1b9813:0x530,_0x25c5da:0x3e1,_0x327cf2:0x5e3},_0x54fcbd={_0x31e155:0x14f};function _0x47b9ff(_0x2a5d6c,_0x2142f5){return _0x586208(_0x2a5d6c- -_0x54fcbd._0x31e155,_0x2142f5);}const _0x1e790e={};_0x1e790e[_0x13b203(-0x2,_0x6a6cfa._0x12c1c9)]=function(_0x3a614f,_0x4c0d4d){return _0x3a614f===_0x4c0d4d;},_0x1e790e[_0x13b203(_0x6a6cfa._0x289afc,0x398)]=function(_0xfc5e61,_0xf38e5b){return _0xfc5e61-_0xf38e5b;};const _0x77ba4a=_0x1e790e;if(_0x77ba4a[_0x13b203(-0x2,-0x127)](_0x17e79f[_0x47b9ff(0x5e3,_0x6a6cfa._0x5041c1)],0x0)){const _0x24adf9={};return _0x24adf9[_0x47b9ff(_0x6a6cfa._0x532b39,_0x6a6cfa._0x212ea2)]=[],_0x24adf9[_0x47b9ff(0x641,0x657)]=0x0,_0x24adf9;}let _0x480646=-0x1;for(let _0x81e3bf=_0x17e79f[_0x13b203(0x397,_0x6a6cfa._0x9d5b80)]-0x1;_0x81e3bf>=0x0;_0x81e3bf-=0x1){const _0x173d21=_0x17e79f[_0x81e3bf];if(_0x77ba4a[_0x13b203(-0x2,-0x159)](_0x173d21?.[_0x13b203(0x148,0x387)],_0x13b203(0x46d,0x505))&&isConnectHandshakeRequest(_0x173d21[_0x47b9ff(_0x6a6cfa._0xdd2a45,_0x6a6cfa._0x1b9813)])){_0x480646=_0x81e3bf;break;}}function _0x13b203(_0x330586,_0x48d215){return _0x586208(_0x330586- -0x39b,_0x48d215);}if(_0x77ba4a[_0x13b203(-0x2,-0x217)](_0x480646,-0x1)){const _0x5ee9dd={};return _0x5ee9dd['messages']=[],_0x5ee9dd['dropped']=_0x17e79f['length'],_0x5ee9dd;}const _0xcc6b5e=_0x17e79f[_0x13b203(_0x6a6cfa._0x25c5da,0x27a)](_0x480646);return{'messages':_0xcc6b5e,'dropped':_0x77ba4a['qjEuf'](_0x17e79f[_0x47b9ff(_0x6a6cfa._0x327cf2,0x513)],_0xcc6b5e['length'])};}function patchConnectRequestGatewayAuth(_0x212fd3,_0x55af45){const _0x31bc62={_0xd29c86:0x418,_0x450234:0x571,_0x14a371:0x6f6,_0x3b915c:0x520,_0x3815fd:0x810,_0x2b7bbd:0x6d8,_0x557491:0x3d0,_0x561a1c:0x407,_0x284451:0x8dd,_0x4fb1c3:0x898,_0x540153:0x8dd,_0x2b22e6:0x968,_0x4fbd43:0x32f,_0x2109ac:0x7f7,_0x598a6d:0x665,_0x3a1444:0x465,_0x320254:0x582,_0x401912:0x4c4,_0x4fae32:0x7d1,_0x57889c:0xb00,_0x5f0a17:0x6eb,_0x40150e:0x7d1,_0x391f60:0x95d,_0x116f72:0x4a4,_0x8c422f:0x5f5,_0x299341:0x60d,_0x4ff30d:0x5cd,_0x4d3385:0x40b},_0x18e4c4={};_0x18e4c4[_0x5c6f5c(_0x31bc62._0xd29c86,0x19c)]=_0x5c6f5c(_0x31bc62._0x450234,0x664);const _0x3b1762=_0x18e4c4;function _0x5c6f5c(_0x8f5c08,_0x5a4d83){return _0x14f19b(_0x8f5c08- -0x7b,_0x5a4d83);}if(_0x55af45[_0x5c6f5c(_0x31bc62._0x14a371,_0x31bc62._0x3b915c)]!==_0x117454(0x7d1,0x5dd)||!_0x55af45['password']){const _0x44a0fb={};return _0x44a0fb[_0x117454(0x8ac,0x83e)]=_0x212fd3,_0x44a0fb['injected']=![],_0x44a0fb;}function _0x117454(_0x287e12,_0x3d8cf5){return _0x14f19b(_0x287e12-0x6b,_0x3d8cf5);}try{const _0x9eee0c=JSON[_0x117454(_0x31bc62._0x3815fd,0x712)](_0x212fd3);if(_0x9eee0c[_0x5c6f5c(_0x31bc62._0x2b7bbd,0x5c7)]!==_0x3b1762[_0x5c6f5c(0x418,0x3dd)]||_0x9eee0c['method']!=='connect'&&_0x9eee0c[_0x5c6f5c(_0x31bc62._0x557491,_0x31bc62._0x561a1c)]!==_0x117454(0x661,0x756)+'start'){const _0x1f3600={};return _0x1f3600[_0x117454(0x8ac,0x882)]=_0x212fd3,_0x1f3600['injected']=![],_0x1f3600;}const _0x30f53d=_0x9eee0c[_0x117454(_0x31bc62._0x284451,_0x31bc62._0x4fb1c3)]&&typeof _0x9eee0c[_0x117454(_0x31bc62._0x540153,_0x31bc62._0x2b22e6)]===_0x5c6f5c(_0x31bc62._0x4fbd43,0x5a9)?{..._0x9eee0c[_0x5c6f5c(_0x31bc62._0x2109ac,_0x31bc62._0x598a6d)]}:{},_0x23e93d=_0x30f53d[_0x5c6f5c(0x4c4,_0x31bc62._0x3a1444)]&&typeof _0x30f53d['auth']===_0x117454(0x415,0x65f)?{..._0x30f53d['auth']}:{},_0x205a11=typeof _0x23e93d[_0x117454(0x7d1,_0x31bc62._0x320254)]===_0x117454(_0x31bc62._0x401912,0x692)?_0x23e93d[_0x117454(_0x31bc62._0x4fae32,0x7a7)][_0x5c6f5c(0x463,0x4f6)]():'';if(_0x205a11){const _0x572f9e={};return _0x572f9e[_0x117454(0x8ac,_0x31bc62._0x57889c)]=_0x212fd3,_0x572f9e[_0x117454(0x6b3,0x8f1)]=![],_0x572f9e;}_0x23e93d[_0x5c6f5c(_0x31bc62._0x5f0a17,0x948)]=_0x55af45[_0x117454(_0x31bc62._0x40150e,_0x31bc62._0x391f60)],_0x30f53d[_0x5c6f5c(_0x31bc62._0x401912,_0x31bc62._0x116f72)]=_0x23e93d;const _0x450e7c={..._0x9eee0c};return _0x450e7c[_0x117454(0x8dd,0x9b0)]=_0x30f53d,{'text':JSON[_0x117454(_0x31bc62._0x8c422f,_0x31bc62._0x299341)+'y'](_0x450e7c),'injected':!![]};}catch{const _0x3c3bf7={};return _0x3c3bf7['text']=_0x212fd3,_0x3c3bf7[_0x5c6f5c(_0x31bc62._0x4ff30d,_0x31bc62._0x4d3385)]=![],_0x3c3bf7;}}function formatConnectHandshakeMetaForLog(_0x5620ba){const _0x420bea={_0x482fed:0x58a,_0x4f2f15:0x4e5,_0x5f143e:0x214,_0x6d035e:0x357,_0x3bd008:0x794,_0x305953:0xc2,_0x344294:0x2f2,_0x5133fb:0x58e,_0x59c2b6:0x353,_0xad488:0x51c,_0x132c3b:0x70,_0x1dcb57:0x2d5,_0x477335:0x528,_0x4a8fb3:0x326,_0x5c0fe5:0x341,_0x2350ce:0x4a3,_0x45d03b:0x5bc,_0x394b33:0x17e,_0x14b338:0x827,_0x35e9a1:0x126},_0x367efd={_0x7b9199:0xbb},_0x1d3490={};function _0x2c255b(_0x379eab,_0x5b71ed){return _0x586208(_0x5b71ed- -_0x367efd._0x7b9199,_0x379eab);}_0x1d3490['raFuR']=_0x2c255b(0x38c,0x2f2);const _0x2721d5=_0x1d3490;if(!_0x5620ba)return'';function _0x47f840(_0x1e6564,_0x3fbe38){return _0x586208(_0x1e6564- -0x176,_0x3fbe38);}return _0x47f840(_0x420bea._0x482fed,_0x420bea._0x4f2f15)+_0x5620ba[_0x2c255b(_0x420bea._0x5f143e,_0x420bea._0x6d035e)]+_0x47f840(0x565,_0x420bea._0x3bd008)+(_0x5620ba['id']??_0x2c255b(_0x420bea._0x305953,_0x420bea._0x344294))+(_0x47f840(_0x420bea._0x5133fb,_0x420bea._0x59c2b6)+_0x47f840(_0x420bea._0xad488,0x43c))+_0x5620ba[_0x47f840(0x232,_0x420bea._0x132c3b)+_0x2c255b(_0x420bea._0x1dcb57,_0x420bea._0x477335)]+(_0x47f840(0x42a,0x3d1)+'ngth=')+(_0x5620ba['nonceLen'+'gth']??0x0)+(_0x2c255b(0x294,_0x420bea._0x4a8fb3)+'lds=')+(_0x5620ba[_0x2c255b(_0x420bea._0x5c0fe5,_0x420bea._0x2350ce)+'ds'][_0x47f840(_0x420bea._0x45d03b,0x706)]>0x0?_0x5620ba[_0x47f840(0x3e8,_0x420bea._0x394b33)+'ds'][_0x47f840(0x638,_0x420bea._0x14b338)](','):_0x2721d5[_0x47f840(0x3a5,_0x420bea._0x35e9a1)]);}function buildRelayWsUrl(_0x55f5c5){const _0x5c27da={_0x4818ce:0x471,_0x311930:0x1d3,_0x34362a:0x20,_0x127b82:0x236,_0x115eb5:0x1a2,_0x3a7367:0xa8,_0x5906b1:0x54b,_0x43570c:0x477,_0xd485bd:0x271,_0x4ded4a:0xd0,_0x2b8b04:0x295,_0x4b029d:0x1b0,_0xa3e152:0x2de,_0x5646b1:0x4da,_0x253d94:0x2c,_0x17cf4e:0x95,_0x49f128:0x681,_0x1c124b:0x4b,_0x296da2:0x22c,_0x3aac61:0x1e5},_0xd69e3a={_0x1eab3b:0x32c},_0xba6657={};function _0xcbbf63(_0x90cd9f,_0x13d1e9){return _0x14f19b(_0x90cd9f- -0x571,_0x13d1e9);}_0xba6657['LUXtw']=function(_0x51bb60,_0x100f7d){return _0x51bb60===_0x100f7d;},_0xba6657[_0x2eb95e(_0x5c27da._0x4818ce,0x2df)]=_0x2eb95e(0x393,_0x5c27da._0x311930);const _0x448205=_0xba6657,_0x52891e=new URL(_0x55f5c5['relayUrl']);(!_0x52891e['pathname']||_0x448205[_0x2eb95e(-_0x5c27da._0x34362a,_0x5c27da._0x127b82)](_0x52891e[_0xcbbf63(-0x19d,-_0x5c27da._0x115eb5)],'/'))&&(_0x52891e[_0x2eb95e(0x2ae,_0x5c27da._0x3a7367)]=_0x448205[_0x2eb95e(_0x5c27da._0x5906b1,0x2df)]);_0x52891e['searchPa'+_0x2eb95e(_0x5c27da._0x43570c,_0x5c27da._0xd485bd)]['set']('gatewayI'+'d',_0x55f5c5[_0x2eb95e(0x2ba,_0x5c27da._0x4ded4a)+'d']),_0x52891e[_0xcbbf63(_0x5c27da._0x2b8b04,0x1b4)+'rams'][_0x2eb95e(0x327,_0x5c27da._0x4b029d)](_0xcbbf63(_0x5c27da._0xa3e152,0x55b),'gateway'),_0x52891e[_0x2eb95e(0x307,_0x5c27da._0x5646b1)+_0xcbbf63(_0x5c27da._0x253d94,0x65)][_0xcbbf63(-_0x5c27da._0x17cf4e,0x39)]('clientId',_0x55f5c5[_0x2eb95e(0x3a6,0x33b)+'Id']),_0x52891e[_0x2eb95e(_0x5c27da._0x49f128,0x4da)+_0x2eb95e(0x11f,0x271)][_0xcbbf63(-0x95,0xb2)](_0xcbbf63(-_0x5c27da._0x1c124b,_0x5c27da._0x296da2),_0x55f5c5[_0x2eb95e(_0x5c27da._0x3aac61,0x383)+_0xcbbf63(0x211,0x196)]);function _0x2eb95e(_0x45d635,_0x461f3a){return _0x14f19b(_0x461f3a- -_0xd69e3a._0x1eab3b,_0x45d635);}return _0x52891e['toString']();}function redactRelayWsUrl(_0x2b1e30){const _0x14277a={_0x5eca72:0x505,_0x37ef6c:0x530,_0x5640a0:0x48e,_0x58458f:0x34e,_0x558b37:0x505,_0x282a19:0x188},_0x2c21c2={_0x3865f8:0x98},_0x27b53e={};_0x27b53e[_0xea0dd8(-0x1f,0x122)]=_0xea0dd8(0x388,0x4ec)+'d>';const _0x142210=_0x27b53e;function _0x13879e(_0x45085f,_0x17b9d6){return _0x14f19b(_0x17b9d6- -_0x2c21c2._0x3865f8,_0x45085f);}const _0x61a68b=new URL(_0x2b1e30);_0x61a68b[_0xea0dd8(0x32e,0x336)+_0x13879e(0x46f,_0x14277a._0x5eca72)][_0x13879e(0x2fd,_0x14277a._0x37ef6c)](_0x13879e(0x232,_0x14277a._0x5640a0))&&_0x61a68b['searchPa'+_0x13879e(_0x14277a._0x58458f,_0x14277a._0x558b37)][_0x13879e(0x580,0x444)]('token',_0x142210[_0xea0dd8(-0x1f,_0x14277a._0x282a19)]);function _0xea0dd8(_0x5202d1,_0x2aceb8){return _0x14f19b(_0x5202d1- -0x4d8,_0x2aceb8);}return _0x61a68b[_0xea0dd8(0x364,0x16f)]();}function normalizeText(_0x110502){const _0x1bd9eb={_0xa26a78:0xb,_0x5726b8:0x90,_0x3d6000:0x38,_0x5eacee:0x7e3,_0x452d9b:0x39b,_0x5f4736:0x183,_0x332227:0x21f,_0x52043c:0x181,_0x5f542a:0x46b,_0x43756b:0x5af},_0x4fa9ba={_0x427984:0x1b0},_0xb390fc={_0x3f01a4:0x5e4},_0x1703ee={};_0x1703ee['whEIp']=_0x1c22a3(0x107,-_0x1bd9eb._0xa26a78),_0x1703ee[_0x1c22a3(-0xa8,_0x1bd9eb._0x5726b8)]=function(_0x4bda75,_0x3fdc67){return _0x4bda75 instanceof _0x3fdc67;};function _0x1c22a3(_0x54f2c6,_0x590f9d){return _0x586208(_0x590f9d- -_0xb390fc._0x3f01a4,_0x54f2c6);}const _0x7c386d=_0x1703ee;if(typeof _0x110502===_0x446d75(_0x1bd9eb._0x3d6000,0x270))return _0x110502;if(Buffer[_0x446d75(_0x1bd9eb._0x5eacee,0x630)](_0x110502))return _0x110502['toString'](_0x446d75(_0x1bd9eb._0x452d9b,0x429));if(Array[_0x1c22a3(-_0x1bd9eb._0x5f4736,-0x20a)](_0x110502))return Buffer[_0x446d75(0x2ce,0x215)](_0x110502)[_0x1c22a3(0x2b5,_0x1bd9eb._0x332227)](_0x7c386d[_0x446d75(_0x1bd9eb._0x52043c,0x3ea)]);if(_0x7c386d['lmvPG'](_0x110502,ArrayBuffer))return Buffer[_0x446d75(_0x1bd9eb._0x5f542a,_0x1bd9eb._0x43756b)](_0x110502)['toString']('utf8');function _0x446d75(_0x593607,_0x22da37){return _0x586208(_0x22da37- -_0x4fa9ba._0x427984,_0x593607);}return null;}function normalizeBinary(_0x2348fc){const _0x45539f={_0xe36da9:0x54f,_0x2a9199:0x3f5,_0x57c687:0x82a,_0x3a491b:0x476,_0xef73cf:0x31c,_0x1e718f:0x1e1,_0x287dd0:0x7fb,_0x20e6d3:0x762},_0x3f1f5e={_0x34b443:0x21d},_0x1920a9={_0x2d954a:0x63};function _0x2fdcc4(_0xaef620,_0x2844d6){return _0x14f19b(_0xaef620-_0x1920a9._0x2d954a,_0x2844d6);}const _0x55f442={};_0x55f442[_0x27c7cb(0x5d5,0x4f3)]='string',_0x55f442[_0x27c7cb(0x6d8,_0x45539f._0xe36da9)]=_0x27c7cb(0x222,_0x45539f._0x2a9199);const _0x5a2db4=_0x55f442;if(Buffer['isBuffer'](_0x2348fc))return _0x2348fc;function _0x27c7cb(_0x4ce7ee,_0x3df73d){return _0x14f19b(_0x3df73d- -_0x3f1f5e._0x34b443,_0x4ce7ee);}if(typeof _0x2348fc===_0x5a2db4[_0x2fdcc4(0x773,_0x45539f._0x57c687)])return Buffer['from'](_0x2348fc,_0x5a2db4[_0x27c7cb(0x5c5,0x54f)]);if(Array[_0x2fdcc4(_0x45539f._0x3a491b,_0x45539f._0xef73cf)](_0x2348fc))return Buffer[_0x27c7cb(0xe5,_0x45539f._0x1e718f)](_0x2348fc);return Buffer[_0x2fdcc4(_0x45539f._0x287dd0,_0x45539f._0x20e6d3)](_0x2348fc);}function readRecentCliLogs(_0x54f49a){const _0x3d2695={_0xc785:0x349,_0x491a3a:0x397,_0x5b518d:0x3d4,_0x1b8480:0x237,_0x922847:0x3c5,_0x55cdbd:0x452,_0x1f852d:0x64a,_0x32b962:0x3a4,_0x10e2fa:0x7f7,_0x6468f5:0x9f6,_0x39abc3:0x8c2,_0x2aaec9:0x782,_0x50e7d4:0x338,_0x486b16:0xe3},_0xf6c932={_0x3fc106:0x438},_0x388310={'MWxCb':function(_0x8085c9){return _0x8085c9();},'bnHwP':function(_0x3a0683,_0x18defa){return _0x3a0683(_0x18defa);},'XMJsf':function(_0x46bd63,_0x40ab0f){return _0x46bd63-_0x40ab0f;}},{logPath:_0x904fc8,errorLogPath:_0x21ae47}=_0x388310[_0x548485(_0x3d2695._0xc785,_0x3d2695._0x491a3a)](getServicePaths),_0x2e6176=_0x388310[_0x548485(_0x3d2695._0x5b518d,0x2d3)](clampLines,_0x54f49a?.['lines']??0xc8),_0x132038=_0x54f49a?.[_0x548485(0xa8,0x60)]??null;function _0x548485(_0x2a2054,_0x142845){return _0x14f19b(_0x142845- -_0xf6c932._0x3fc106,_0x2a2054);}const _0x42a145=_0x132038!=null?_0x388310['XMJsf'](Date[_0x548485(_0x3d2695._0x1b8480,_0x3d2695._0x922847)](),_0x132038):null,_0xce96f8=[_0x904fc8];function _0x5e8599(_0x258008,_0x10d379){return _0x14f19b(_0x258008-0x10d,_0x10d379);}_0x54f49a?.[_0x548485(_0x3d2695._0x55cdbd,0x394)+_0x5e8599(0x55d,0x510)]&&_0xce96f8[_0x548485(_0x3d2695._0x1f852d,0x3ee)](_0x21ae47);const _0x43665f=_0xce96f8[_0x548485(0x1c6,_0x3d2695._0x32b962)](_0x4e36a4=>readLogFile(_0x4e36a4)),_0x22fd75=_0x42a145==null?_0x43665f:_0x43665f[_0x5e8599(_0x3d2695._0x10e2fa,_0x3d2695._0x6468f5)](_0x37f812=>_0x37f812['ts']!=null&&_0x37f812['ts']>=_0x42a145);return _0x22fd75[_0x5e8599(_0x3d2695._0x39abc3,_0x3d2695._0x2aaec9)](-_0x2e6176)[_0x548485(_0x3d2695._0x50e7d4,_0x3d2695._0x486b16)](_0x975ec9=>_0x975ec9[_0x548485(0xec,0xef)]);}async function buildDoctorReport(){const _0x306a6f={_0x3b5687:0x406,_0x3ebf38:0x39c,_0x15d459:0x139,_0x553d77:0x1e9,_0x226280:0x101,_0x13cc39:0x9,_0x37025f:0x78b,_0xa173ca:0x568,_0x5630a7:0x236,_0x1ec9c7:0x462,_0x1fa915:0x229,_0x36de8d:0x293,_0x5e4fc0:0x1b8,_0x359666:0x1e0,_0x55a5ff:0x93},_0x40c4fe={_0x1ac7fd:0x580},_0x4f966f={'lheZN':function(_0x163588){return _0x163588();},'IOmmx':function(_0x3ff549){return _0x3ff549();},'asqPe':function(_0x5f014e,_0x2ea095){return _0x5f014e(_0x2ea095);}},_0x1f0a61=readPairingConfig(),_0x200ba2=_0x4f966f[_0x1b36e2(0xa2,-0x1d)](getServiceStatus),_0x2652bc=readOpenClawInfo();function _0x226c91(_0x304061,_0x46b6e0){return _0x586208(_0x46b6e0- -0x26f,_0x304061);}const _0x57bcf0=_0x4f966f[_0x226c91(_0x306a6f._0x3b5687,0x4a9)](resolveGatewayUrl),_0x3e8105=await _0x4f966f[_0x1b36e2(-_0x306a6f._0x3ebf38,-_0x306a6f._0x15d459)](checkGatewayReachable,_0x57bcf0);function _0x1b36e2(_0x383d41,_0x168231){return _0x586208(_0x168231- -_0x40c4fe._0x1ac7fd,_0x383d41);}return{'paired':Boolean(_0x1f0a61),'gatewayId':_0x1f0a61?.['gatewayI'+'d']??null,'serverUrl':_0x1f0a61?.[_0x226c91(0x6b6,0x4c7)+'l']??null,'relayUrl':_0x1f0a61?.[_0x226c91(_0x306a6f._0x553d77,_0x306a6f._0x226280)]??null,'instanceId':_0x1f0a61?.[_0x1b36e2(_0x306a6f._0x13cc39,0xae)+'Id']??null,'serviceInstalled':_0x200ba2[_0x226c91(_0x306a6f._0x37025f,_0x306a6f._0xa173ca)+'d'],'serviceRunning':_0x200ba2[_0x1b36e2(-0x236,-_0x306a6f._0x5630a7)],'serviceMethod':_0x200ba2['method'],'servicePath':_0x200ba2['serviceP'+'ath'],'logPath':_0x200ba2[_0x1b36e2(-_0x306a6f._0x1ec9c7,-_0x306a6f._0x1fa915)],'errorLogPath':_0x200ba2[_0x226c91(_0x306a6f._0x36de8d,0x41f)+'Path'],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x2652bc['configFo'+_0x1b36e2(-0xd5,-0x23c)],'openclawAuthMode':_0x2652bc[_0x1b36e2(0x108,_0x306a6f._0x5e4fc0)],'openclawTokenFound':Boolean(_0x2652bc[_0x1b36e2(_0x306a6f._0x359666,-_0x306a6f._0x55a5ff)]),'openclawPasswordFound':Boolean(_0x2652bc[_0x226c91(0x6b9,0x4be)]),'localGatewayUrl':_0x57bcf0,'localGatewayReachable':_0x3e8105};}async function ensurePairPrerequisites(){const _0x1d6ae0={_0x5030c9:0x4fe,_0x5c3d6a:0x90f,_0x536f21:0x7c7,_0x3968ad:0x5d4,_0x536a24:0x55f,_0x1c25ec:0x6ba,_0x111aa0:0x46a,_0x203934:0x4d3,_0x5818fb:0x556,_0x14011c:0x310,_0x25d3d3:0x495,_0xe72f54:0x6f4,_0x3de20e:0x465,_0x44321a:0x287,_0x24bb14:0x9c,_0x3febe3:0x51f,_0x4659cb:0x304,_0x467159:0x2ef,_0x503407:0x7be,_0x12f78b:0x521,_0x3f11b5:0x78d,_0x13463e:0x467,_0xf3ad96:0x3d1,_0x5877cd:0x5ef,_0x247413:0x12b,_0x3b153c:0x12d,_0x3d3964:0x4ac,_0x209c35:0x642,_0x36aa90:0x25b,_0x20d2a9:0x988},_0x2d02fd={_0x499a49:0x74};function _0x53cea3(_0x9e5e33,_0x3d8b7c){return _0x586208(_0x9e5e33- -0x231,_0x3d8b7c);}const _0x2d219d=await buildDoctorReport(),_0x2466f4=listPairPrerequisiteFailures(_0x2d219d);if(_0x2466f4[_0x53cea3(0x501,0x452)]>0x0)throw new Error([_0x53cea3(0x47b,_0x1d6ae0._0x5030c9)+_0x283c1e(0x775,_0x1d6ae0._0x5c3d6a)+_0x283c1e(_0x1d6ae0._0x536f21,0x80f)+_0x283c1e(_0x1d6ae0._0x3968ad,0x737)+_0x283c1e(0x68b,_0x1d6ae0._0x536a24)+_0x283c1e(0x6c3,_0x1d6ae0._0x1c25ec)+_0x283c1e(0x622,_0x1d6ae0._0x111aa0)+_0x53cea3(0x16c,-0x81)+'tes\x20are\x20'+_0x283c1e(0x639,_0x1d6ae0._0x203934)+'y.',..._0x2466f4[_0x283c1e(_0x1d6ae0._0x5818fb,_0x1d6ae0._0x14011c)](_0x57550e=>'-\x20'+_0x57550e),_0x283c1e(0x4d6,_0x1d6ae0._0x25d3d3)+_0x53cea3(0x2bf,0x3f9)+_0x283c1e(_0x1d6ae0._0xe72f54,0x55b)+_0x53cea3(0x3e9,_0x1d6ae0._0x3de20e)+_0x53cea3(_0x1d6ae0._0x44321a,_0x1d6ae0._0x24bb14)+_0x283c1e(_0x1d6ae0._0x3febe3,_0x1d6ae0._0x4659cb)+'lawket\x20p'+_0x53cea3(_0x1d6ae0._0x467159,0x517)+_0x283c1e(_0x1d6ae0._0x503407,0xa24)+_0x283c1e(_0x1d6ae0._0x12f78b,_0x1d6ae0._0x3f11b5)+_0x283c1e(_0x1d6ae0._0x13463e,_0x1d6ae0._0xf3ad96)+_0x283c1e(_0x1d6ae0._0x5877cd,0x668)+_0x53cea3(_0x1d6ae0._0x247413,_0x1d6ae0._0x3b153c)+'ypass\x20th'+_0x283c1e(_0x1d6ae0._0x3d3964,_0x1d6ae0._0x209c35)+_0x53cea3(0x45f,_0x1d6ae0._0x36aa90)][_0x283c1e(0x822,_0x1d6ae0._0x20d2a9)]('\x0a'));function _0x283c1e(_0x46fcdf,_0x6aba01){return _0x586208(_0x46fcdf-_0x2d02fd._0x499a49,_0x6aba01);}return _0x2d219d;}function listPairPrerequisiteFailures(_0x2fd6b7){const _0x1e344a={_0x3bd389:0x446,_0x272282:0x79f,_0x4e63ab:0x46a,_0x332e7e:0x2d9,_0xd24311:0x5cb,_0x45834c:0x61c,_0x472cb4:0x22d,_0x5f0bca:0x10d,_0x1d4eac:0x372,_0x13690d:0x69c,_0x2b5c81:0x126,_0x264306:0x30e,_0x13e698:0x28e,_0x544289:0x481,_0x40079f:0x3ad,_0x221a50:0x664,_0x4e32a8:0x554,_0x445c17:0x338,_0x5a7da2:0x42d,_0x3bb0b4:0x12c,_0x348208:0x298,_0xc689e6:0x3bc,_0x346568:0x1a9,_0x47e982:0x100,_0x3c4854:0x419,_0x56a87d:0x492,_0x44d3a5:0x14b,_0x49138b:0x66d,_0x5349c9:0xa1,_0x5eb41d:0x364,_0x101e0c:0x1e0,_0x455ddf:0x3f1,_0x8d7496:0x777,_0x22945c:0x4f3,_0x58541e:0x241,_0x20b8e0:0x45b,_0x3c0e6c:0x275,_0x3ae43e:0x622,_0x2a37fc:0x3f5,_0xf5e0fe:0x434,_0x38a9ba:0x5ea,_0x4d7833:0x364,_0x1da30:0x2a3,_0x259583:0x5f9,_0x75c062:0x51b,_0x131f83:0x59b},_0xb6aba8={};_0xb6aba8[_0x37bc3a(0x4bd,_0x1e344a._0x3bd389)]=function(_0x29baee,_0x5a4acd){return _0x29baee==_0x5a4acd;},_0xb6aba8[_0x43bcb6(_0x1e344a._0x272282,0x5d6)]=function(_0x507081,_0x5f3b0d){return _0x507081===_0x5f3b0d;};const _0x364063=_0xb6aba8,_0x304edb=[];!_0x2fd6b7[_0x43bcb6(_0x1e344a._0x4e63ab,_0x1e344a._0x332e7e)+_0x43bcb6(0x77a,0x609)+_0x43bcb6(-0x1,0x122)]&&_0x304edb[_0x43bcb6(0x40e,_0x1e344a._0xd24311)]('OpenClaw'+_0x37bc3a(0x6b5,_0x1e344a._0x45834c)+'was\x20not\x20'+_0x43bcb6(0xca,_0x1e344a._0x472cb4)+_0x37bc3a(0x4e7,0x566)+formatOpenClawConfigLocations()+'.');function _0x37bc3a(_0x16a24a,_0x3d13b2){return _0x14f19b(_0x3d13b2- -0x1c2,_0x16a24a);}_0x2fd6b7[_0x37bc3a(_0x1e344a._0x5f0bca,_0x1e344a._0x1d4eac)+_0x37bc3a(0x83c,_0x1e344a._0x13690d)+'nd']&&_0x2fd6b7[_0x43bcb6(_0x1e344a._0x2b5c81,0x2d9)+_0x43bcb6(_0x1e344a._0x264306,_0x1e344a._0x13e698)+_0x43bcb6(0x2f2,0x35c)]&&_0x364063[_0x43bcb6(_0x1e344a._0x544289,_0x1e344a._0x40079f)](_0x2fd6b7[_0x37bc3a(0x24a,_0x1e344a._0x1d4eac)+_0x37bc3a(0x192,0x30e)],null)&&_0x304edb[_0x37bc3a(0x3e9,_0x1e344a._0x221a50)](_0x37bc3a(_0x1e344a._0x4e32a8,0x314)+'\x20has\x20bot'+_0x37bc3a(_0x1e344a._0x445c17,_0x1e344a._0x5a7da2)+_0x37bc3a(_0x1e344a._0x3bb0b4,_0x1e344a._0x348208)+_0x37bc3a(0x403,_0x1e344a._0xc689e6)+_0x43bcb6(0x5af,0x4f5)+_0x37bc3a(0x6b5,0x5c4)+_0x43bcb6(0x1e7,_0x1e344a._0x346568)+_0x37bc3a(0xca,0x2db)+_0x43bcb6(_0x1e344a._0x47e982,0x167)+'s\x20unset.');!_0x2fd6b7[_0x37bc3a(_0x1e344a._0x3c4854,_0x1e344a._0x1d4eac)+_0x43bcb6(_0x1e344a._0x56a87d,0x603)+'nd']&&!_0x2fd6b7['openclaw'+_0x43bcb6(_0x1e344a._0x44d3a5,0x28e)+'Found']&&_0x304edb[_0x43bcb6(_0x1e344a._0x49138b,0x5cb)](_0x43bcb6(0x485,0x27b)+'\x20gateway'+_0x43bcb6(0x537,0x567)+'\x20missing'+'\x20(token\x20'+_0x43bcb6(-_0x1e344a._0x5349c9,0x18d)+'ord).');function _0x43bcb6(_0x3917d4,_0x3242e0){return _0x14f19b(_0x3242e0- -0x25b,_0x3917d4);}return _0x2fd6b7['openclaw'+_0x43bcb6(0xf6,0x275)]===_0x37bc3a(0x2e5,_0x1e344a._0x5eb41d)&&!_0x2fd6b7['openclaw'+'TokenFou'+'nd']&&_0x304edb[_0x43bcb6(0x7fc,0x5cb)](_0x43bcb6(_0x1e344a._0x101e0c,0x27b)+'\x20gateway'+_0x43bcb6(0x5e7,_0x1e344a._0x455ddf)+_0x37bc3a(_0x1e344a._0x8d7496,_0x1e344a._0x22945c)+'g.'),_0x364063[_0x43bcb6(0x376,0x5d6)](_0x2fd6b7[_0x37bc3a(_0x1e344a._0x58541e,0x372)+_0x43bcb6(_0x1e344a._0x20b8e0,_0x1e344a._0x3c0e6c)],_0x37bc3a(0x683,0x5a4))&&!_0x2fd6b7['openclaw'+_0x43bcb6(0x183,0x28e)+_0x37bc3a(_0x1e344a._0x3ae43e,_0x1e344a._0x2a37fc)]&&_0x304edb[_0x37bc3a(0x71c,0x664)](_0x43bcb6(0x3b2,0x27b)+'\x20gateway'+_0x43bcb6(-0xb5,0x1a7)+'d\x20is\x20mis'+_0x37bc3a(_0x1e344a._0xf5e0fe,0x24e)),!_0x2fd6b7[_0x37bc3a(0x6fb,_0x1e344a._0x38a9ba)+'ewayReac'+_0x43bcb6(0x6fe,0x53a)]&&_0x304edb['push'](_0x43bcb6(0x2ef,_0x1e344a._0x4d7833)+_0x43bcb6(0x444,_0x1e344a._0x1da30)+_0x43bcb6(_0x1e344a._0x259583,0x614)+_0x43bcb6(0x542,0x4a0)+'achable\x20'+'at\x20'+_0x2fd6b7[_0x43bcb6(0x529,0x551)+_0x37bc3a(_0x1e344a._0x75c062,_0x1e344a._0x131f83)]+'.'),_0x304edb;}function formatOpenClawConfigLocations(){const _0x4f159b={_0x53c1d3:0x59,_0x5ba560:0x165,_0x286d3b:0x2b2,_0x36afee:0x439,_0x4b44b1:0x975,_0x3d8418:0x5ba,_0x5471c8:0x536,_0x4e5cdb:0xb7e},_0xa83e44={_0x494bd6:0x4a3},_0x12647e={_0x135222:0xbb},_0x3f0660={'eUEus':function(_0x52f40d){return _0x52f40d();}},_0xc6ec00=new Set();function _0x522d2e(_0x1e2904,_0x1f715b){return _0x14f19b(_0x1e2904-0x15e,_0x1f715b);}function _0x15a3f9(_0x28a81a,_0x2d8c0b){return _0x14f19b(_0x2d8c0b- -0x2b1,_0x28a81a);}return[_0x3f0660[_0x15a3f9(_0x4f159b._0x53c1d3,_0x4f159b._0x5ba560)](_0x4b3921),_0x522d2e(0x5a6,0x577)][_0x15a3f9(_0x4f159b._0x286d3b,0x26a)](_0x1cc534=>_0x1cc534[_0x522d2e(0x63c,0x425)]()+(_0x522d2e(0x9b8,0x86f)+'aw'))[_0x15a3f9(0x3ba,_0x4f159b._0x36afee)](_0x3a06c4=>_0x3a06c4!==_0x15a3f9(0x560,0x5a9)+'aw')[_0x522d2e(0x848,_0x4f159b._0x4b44b1)](_0x359dca=>{function _0x54e952(_0x1d2eb4,_0x4c1d8b){return _0x522d2e(_0x4c1d8b- -0x352,_0x1d2eb4);}if(_0xc6ec00[_0x54e952(_0xa83e44._0x494bd6,0x3d4)](_0x359dca))return![];_0xc6ec00[_0x54e952(0x33d,0x242)](_0x359dca);function _0xcb66b3(_0x307f72,_0x409142){return _0x522d2e(_0x307f72- -_0x12647e._0x135222,_0x409142);}return!![];})[_0x15a3f9(_0x4f159b._0x3d8418,_0x4f159b._0x5471c8)](_0x522d2e(0x93b,_0x4f159b._0x4e5cdb));}function readLogFile(_0x18b451){const _0x4c6a75={_0x1e2898:0x9,_0xb71839:0x14f},_0x90755a={_0x15e9ce:0x512},_0x305ef9={_0x3a5a33:0x42};function _0x38ab98(_0x2c8d2f,_0x4d930a){return _0x14f19b(_0x4d930a-_0x305ef9._0x3a5a33,_0x2c8d2f);}function _0x4f5569(_0x40e167,_0x48d9ff){return _0x14f19b(_0x40e167- -_0x90755a._0x15e9ce,_0x48d9ff);}try{const _0x3944d1=_0x41d4c1(_0x18b451,_0x4f5569(0x100,0x142));return _0x3944d1['split'](/\r?\n/)['filter'](Boolean)[_0x4f5569(_0x4c6a75._0x1e2898,-_0x4c6a75._0xb71839)](_0x39d107=>({'raw':_0x39d107,'ts':parseTimestamp(_0x39d107)}));}catch{return[];}}function parseTimestamp(_0x5b891e){const _0x444539={_0x32744e:0x7c7,_0x3bfd71:0x91a},_0x37f6c8={_0xe95556:0x1c6},_0x1896ef=_0x5b891e['match'](/^\[(\d{13})\]\s/);if(!_0x1896ef)return null;const _0x5645e0=Number(_0x1896ef[0x1]);function _0x48dc89(_0x4d3885,_0x38bb49){return _0x586208(_0x4d3885-_0x37f6c8._0xe95556,_0x38bb49);}return Number[_0x48dc89(_0x444539._0x32744e,_0x444539._0x3bfd71)](_0x5645e0)?_0x5645e0:null;}function clampLines(_0x300679){const _0x3ea4d2={_0x352e8e:0x4ae,_0x2de6bd:0x29d,_0x4da593:0x4aa,_0x27bc6c:0x659},_0x59edff={_0x32c19c:0x153};function _0xca232d(_0x50f9e7,_0xdfd16f){return _0x586208(_0xdfd16f- -_0x59edff._0x32c19c,_0x50f9e7);}function _0x328b0c(_0xa8ccf,_0xd92870){return _0x586208(_0xd92870- -0x22b,_0xa8ccf);}if(!Number[_0xca232d(0x349,_0x3ea4d2._0x352e8e)](_0x300679))return 0xc8;return Math[_0x328b0c(0x3ba,0x17c)](0x1,Math[_0xca232d(_0x3ea4d2._0x2de6bd,_0x3ea4d2._0x4da593)](0x7d0,Math[_0x328b0c(_0x3ea4d2._0x27bc6c,0x581)](_0x300679)));}async function checkGatewayReachable(_0x30f3d1){const _0x2a4f83={_0xa17b73:0x514,_0x579d20:0x1cc,_0x155053:0x133,_0x376365:0x750},_0xab2ee3={_0x593cab:0x193,_0x3c77b5:0x416,_0x305089:0x2b2,_0x4dbd22:0x5f,_0x1da4f7:0x3d,_0xd493a6:0x29b,_0x201647:0x291},_0x3a03ea={_0x2401a5:0x42c},_0x4ec20f={_0x3c2e0c:0x294},_0x3026e2={_0x7af557:0xf7};function _0x32a95b(_0xbf8e2f,_0x297aec){return _0x14f19b(_0xbf8e2f- -0x1f1,_0x297aec);}function _0x3e5f72(_0x1c5eb5,_0x5b3de5){return _0x14f19b(_0x5b3de5-_0x3026e2._0x7af557,_0x1c5eb5);}const _0x57794f={'quPFw':'error','ERteC':function(_0x4ba392,_0x496161){return _0x4ba392(_0x496161);},'Wlwcz':function(_0x4a4883,_0x3d1d07){return _0x4a4883===_0x3d1d07;},'mXDLW':'wss:'};try{const _0x21879d=new URL(_0x30f3d1),_0x23b625=_0x21879d[_0x3e5f72(0x559,_0x2a4f83._0xa17b73)]||_0x3e5f72(0x68a,0x63a)+'1',_0x284a05=_0x21879d['port']?_0x57794f[_0x32a95b(0x3b1,0x5e0)](Number,_0x21879d['port']):_0x57794f[_0x32a95b(_0x2a4f83._0x579d20,_0x2a4f83._0x155053)](_0x21879d[_0x3e5f72(0x556,0x640)],_0x57794f[_0x3e5f72(0x76d,_0x2a4f83._0x376365)])?0x1bb:0x50;return await new Promise((_0xf4f3b6,_0x14a8d3)=>{const _0x2b86fd=new Socket();_0x2b86fd[_0x47e24f(_0xab2ee3._0x593cab,_0xab2ee3._0x3c77b5)+'ut'](0x384),_0x2b86fd[_0x16e55b(0x28c,0x71)](_0x16e55b(0x46b,_0xab2ee3._0x305089),()=>{const _0xc207a9={_0x5c61c1:0x615};function _0x2de38d(_0xbcd79b,_0x776bde){return _0x16e55b(_0x776bde,_0xbcd79b-_0xc207a9._0x5c61c1);}_0x2b86fd[_0x2de38d(0x463,_0x4ec20f._0x3c2e0c)](),_0xf4f3b6();}),_0x2b86fd[_0x16e55b(_0xab2ee3._0x4dbd22,0x71)](_0x16e55b(-0x160,-_0xab2ee3._0x1da4f7),()=>{_0x2b86fd['destroy'](),_0x14a8d3(new Error('timeout'));}),_0x2b86fd[_0x47e24f(0x26e,_0xab2ee3._0xd493a6)](_0x57794f['quPFw'],_0x303284=>{_0x2b86fd['destroy'](),_0x14a8d3(_0x303284);});function _0x47e24f(_0x3f12d4,_0xbf3f4a){return _0x3e5f72(_0xbf3f4a,_0x3f12d4- -_0x3a03ea._0x2401a5);}function _0x16e55b(_0x35d9ab,_0x472197){return _0x3e5f72(_0x35d9ab,_0x472197- -0x629);}_0x2b86fd[_0x47e24f(0x4af,_0xab2ee3._0x201647)](_0x284a05,_0x23b625);}),!![];}catch{return![];}}function parseLookbackToMs(_0x535806){const _0x325fe0={_0x2bf53e:0x2e3,_0x2a7282:0xf5,_0x19f907:0x148,_0x17a8ac:0x13,_0x422f53:0x160,_0x107110:0x208,_0x1c57e5:0xd0,_0xa3b702:0x29e,_0x1a2e9f:0x290,_0x57c50e:0x135,_0x346072:0x244},_0x595d83={_0x538d18:0x5d3},_0x2ec57d={_0x30799c:0x184},_0x414435={};_0x414435[_0x4e2f28(-_0x325fe0._0x2bf53e,-0xa0)]=function(_0x188aa0,_0x51b459){return _0x188aa0===_0x51b459;};const _0x1fc4e1=_0x414435,_0x29f3b4=_0x535806?.[_0x4e2f28(-0x1df,-_0x325fe0._0x2a7282)]();function _0x2cf7a6(_0x554264,_0x391885){return _0x14f19b(_0x391885- -_0x2ec57d._0x30799c,_0x554264);}if(!_0x29f3b4)return null;const _0x4fbc91=_0x29f3b4[_0x4e2f28(-_0x325fe0._0x19f907,_0x325fe0._0x17a8ac)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x4fbc91)throw new Error('Invalid\x20'+'--last\x20v'+_0x4e2f28(-_0x325fe0._0x422f53,-0x12e)+_0x29f3b4+(_0x4e2f28(-_0x325fe0._0x107110,-0x1da)+_0x4e2f28(-0x141,-0x1c5)+_0x2cf7a6(0x509,0x6f4)+_0x4e2f28(-0x207,-_0x325fe0._0x1c57e5)+_0x4e2f28(_0x325fe0._0xa3b702,_0x325fe0._0x1a2e9f)));const _0x15fdc9=Number(_0x4fbc91[0x1]),_0x2c0cf0=_0x4fbc91[0x2][_0x4e2f28(_0x325fe0._0x57c50e,0x14a)+_0x2cf7a6(0x4fc,0x65f)](),_0x46b2b0=_0x1fc4e1[_0x4e2f28(-_0x325fe0._0x346072,-0xa0)](_0x2c0cf0,'ms')?0x1:_0x2c0cf0==='s'?0x3e8:_0x2c0cf0==='m'?0xea60:_0x2c0cf0==='h'?0x36ee80:0x5265c00;function _0x4e2f28(_0x31aa1a,_0x5d31d3){return _0x14f19b(_0x5d31d3- -_0x595d83._0x538d18,_0x31aa1a);}return _0x15fdc9*_0x46b2b0;}import{networkInterfaces}from'os';var BLOCKED_INTERFACE_TOKENS=[_0x14f19b(0x7af,0x8ed),_0x586208(0x5f2,0x403),_0x14f19b(0x4f4,0x561),_0x586208(0x4fc,0x69b)+'e','wireguar'+'d','wg',_0x14f19b(0x4a3,0x6a9),_0x14f19b(0x54e,0x650),_0x586208(0x829,0x5e4),_0x586208(0x477,0x386),_0x14f19b(0x418,0x391),_0x586208(0x42f,0x1d4),_0x586208(0x6ad,0x43e),_0x14f19b(0x84b,0x9d1),'lo0',_0x586208(0x6ca,0x824),_0x586208(0x35a,0x44b),_0x14f19b(0x56d,0x5b7),_0x14f19b(0x82b,0x768),_0x14f19b(0x57a,0x76f)];function buildLocalPairingInfo(_0x5c80c7){const _0x516654={_0x3e92ac:0x86,_0x1c34c8:0x79,_0x5e5c25:0x1ab,_0x1d7e03:0x200,_0x58f6d9:0x583,_0x3169bc:0x7bb,_0x238e9d:0x311,_0x507ae4:0x720,_0x12b07f:0x295,_0x236cbc:0x3a,_0x29cd15:0x1db},_0x257b21={_0x1dd481:0x4ec},_0x7e4b18={_0x2e3120:0x114},_0x3f9c4c={};function _0x11839e(_0xfb4e06,_0x1f4039){return _0x14f19b(_0xfb4e06- -_0x7e4b18._0x2e3120,_0x1f4039);}_0x3f9c4c[_0x11839e(0x45d,0x32d)]=function(_0x3b8c5e,_0x14cf7d){return _0x3b8c5e+_0x14cf7d;};const _0x32726c=_0x3f9c4c,_0x35061d=resolveLocalPairAuth(_0x5c80c7),_0x2ef708={};_0x2ef708[_0x319533(-0x102,-_0x516654._0x3e92ac)+_0x319533(-_0x516654._0x1c34c8,_0x516654._0x5e5c25)]=_0x5c80c7[_0x11839e(0x352,_0x516654._0x1d7e03)+_0x11839e(_0x516654._0x58f6d9,_0x516654._0x3169bc)],_0x2ef708[_0x11839e(0x316,0x19c)+'atewayUr'+'l']=_0x5c80c7[_0x319533(0x3a,-0xc2)+'atewayUr'+'l'];const _0x3ba7a9=resolveLocalPairGatewayUrl(_0x2ef708),_0x3189f1=_0x5c80c7['expiresA'+'t']??_0x32726c['pDiZc'](Date[_0x319533(0x328,_0x516654._0x238e9d)](),0xa*0x3c*0x3e8);function _0x319533(_0x53146f,_0x3fa40c){return _0x14f19b(_0x3fa40c- -_0x257b21._0x1dd481,_0x53146f);}return{'gatewayUrl':_0x3ba7a9,'expiresAt':_0x3189f1,'authMode':_0x35061d[_0x11839e(_0x516654._0x507ae4,0x504)],'qrPayload':buildGatewayQrPayload({'gatewayUrl':_0x3ba7a9,'token':_0x35061d[_0x319533(_0x516654._0x12b07f,_0x516654._0x236cbc)],'password':_0x35061d[_0x319533(_0x516654._0x29cd15,0x27a)],'expiresAt':_0x3189f1})};}function resolveLocalPairGatewayUrl(_0x274d41){const _0x3ffdb5={_0x588190:0x4a6,_0x14782c:0x1da,_0x21afc2:0x765,_0x55ae9c:0x3d1,_0x5c0e08:0x687,_0x569566:0x6bb,_0x2f70a8:0x7b0,_0x2c45e4:0x965,_0x17facc:0x4d5,_0x29cc62:0x35e},_0x5d2d5a={_0x32e82a:0x6a},_0xba523={'CdcLK':function(_0x3b7049){return _0x3b7049();}},_0x217110=_0x274d41?.['explicit'+'Url']?.[_0x1187fc(_0x3ffdb5._0x588190,0x474)]();if(_0x217110)return normalizeExplicitGatewayUrl(_0x217110);const _0x15f631=_0x274d41?.[_0x3efc03(_0x3ffdb5._0x14782c,0x414)+_0x3efc03(0x665,_0x3ffdb5._0x21afc2)+'l']?.[_0x3efc03(0x6f5,0x4c8)]()||resolveGatewayUrl();function _0x1187fc(_0x4e0b06,_0x1bf23f){return _0x14f19b(_0x1bf23f- -_0x5d2d5a._0x32e82a,_0x4e0b06);}const _0x276a62=_0xba523[_0x3efc03(0x15e,_0x3ffdb5._0x55ae9c)](detectLanIp);if(!_0x276a62)throw new Error(_0x3efc03(_0x3ffdb5._0x5c0e08,0x5b3)+_0x1187fc(0x67e,0x6f0)+'ine\x20a\x20LA'+_0x1187fc(0x8b6,0x665)+_0x1187fc(_0x3ffdb5._0x569566,0x733)+_0x1187fc(0x33f,0x4fc)+_0x1187fc(0x39c,0x61f)+_0x1187fc(_0x3ffdb5._0x2f70a8,0x5a3)+_0x1187fc(_0x3ffdb5._0x2c45e4,0x6ee)+_0x1187fc(_0x3ffdb5._0x17facc,_0x3ffdb5._0x29cc62)+'.');function _0x3efc03(_0x9edf0f,_0x44c0e5){return _0x14f19b(_0x44c0e5- -0x16,_0x9edf0f);}return rewriteGatewayHost(_0x15f631,_0x276a62);}function normalizeExplicitGatewayUrl(_0x2fef16){const _0x2c26a7={_0x57d685:0x31},_0x3b5c24={_0x107b19:0x6d},_0x5d6518={_0x2bb356:0x4b1};function _0x7489af(_0xfe4cce,_0x347bfb){return _0x14f19b(_0x347bfb- -_0x5d6518._0x2bb356,_0xfe4cce);}function _0x55a152(_0x3774c6,_0x3a9397){return _0x14f19b(_0x3774c6-_0x3b5c24._0x107b19,_0x3a9397);}const _0x5e2fc1=_0x2fef16[_0x55a152(0x54b,0x566)](),_0x24afaa=/^[a-z]+:\/\//i[_0x7489af(-0x1e2,-0x5b)](_0x5e2fc1)?_0x5e2fc1:_0x7489af(_0x2c26a7._0x57d685,0x11b)+_0x5e2fc1;return normalizeGatewayQrUrl(_0x24afaa)['url'];}function rewriteGatewayHost(_0x5e9141,_0x47031){const _0x2ce020={_0x36bba7:0x1c8,_0x5c964b:0x4e,_0x16745c:0xcd},_0x1bfba6={'orycW':function(_0x23b731,_0x30f6c6){return _0x23b731(_0x30f6c6);}},_0x5c73ea=_0x5e9141[_0x2c79c5(0xd3,-0x132)](),_0x59ea0e=/^[a-z]+:\/\//i[_0x108745(-0x2a4,-_0x2ce020._0x36bba7)](_0x5c73ea)?_0x5c73ea:_0x2c79c5(0xb3,-0x44)+_0x5c73ea;function _0x108745(_0x2c2f53,_0x21feb2){return _0x14f19b(_0x21feb2- -0x61e,_0x2c2f53);}const _0x25824d=new URL(_0x59ea0e);function _0x2c79c5(_0x2ee4b9,_0x1cde73){return _0x14f19b(_0x1cde73- -0x610,_0x2ee4b9);}return _0x25824d[_0x108745(-0x338,-0x201)]=_0x47031,_0x1bfba6[_0x2c79c5(_0x2ce020._0x5c964b,0x13f)](normalizeGatewayQrUrl,_0x25824d[_0x2c79c5(_0x2ce020._0x16745c,0x22c)]())['url'];}function detectLanIp(){const _0x2944a8={_0x1937ea:0x5fb,_0x4f43d1:0x34e,_0x1aee3d:0x435,_0x21cac2:0x4c5,_0x269258:0x497,_0x5619e8:0x564,_0x45190a:0x607,_0x44ed06:0x629};function _0x205ea4(_0x5deb58,_0x224bcc){return _0x14f19b(_0x224bcc- -0x54,_0x5deb58);}const _0x35f423={'oehgb':function(_0x187d73,_0x44600f,_0x3a5e0a){return _0x187d73(_0x44600f,_0x3a5e0a);}},_0xca558c=networkInterfaces();let _0x41191b=null;function _0x2456a8(_0x2c006f,_0x5c08b2){return _0x14f19b(_0x5c08b2- -0xdb,_0x2c006f);}for(const [_0x1a242d,_0x5897a7]of Object[_0x2456a8(0x7fa,_0x2944a8._0x1937ea)](_0xca558c)){for(const _0x2b004e of _0x5897a7??[]){if(_0x2b004e[_0x205ea4(0x405,_0x2944a8._0x4f43d1)]!==_0x205ea4(_0x2944a8._0x1aee3d,_0x2944a8._0x21cac2))continue;const _0x216fc8=_0x35f423['oehgb'](scoreLanCandidate,_0x1a242d,_0x2b004e['address']);if(_0x216fc8===0x0)continue;if(!_0x41191b||_0x216fc8>_0x41191b[_0x205ea4(0x7d6,0x564)]){const _0x259c03={};_0x259c03[_0x205ea4(_0x2944a8._0x269258,_0x2944a8._0x5619e8)]=_0x216fc8,_0x259c03['ip']=_0x2b004e[_0x205ea4(_0x2944a8._0x45190a,_0x2944a8._0x44ed06)],_0x41191b=_0x259c03;}}}return _0x41191b?.['ip']??null;}function scoreLanCandidate(_0x15f177,_0x42175b){const _0x3ea435={_0x32d492:0x301,_0x34091c:0x465,_0x293126:0x51f,_0x2e4382:0x4a6,_0x2adb52:0x373,_0x3c6217:0x1ff,_0x38f874:0x62,_0x5e25d6:0x55f,_0x22fb23:0x74b,_0xb0dba:0x48e,_0x2f7531:0x4c0},_0x4c5d6b={_0x256121:0x3f9},_0x3ba368={};_0x3ba368[_0x25d41d(_0x3ea435._0x32d492,0x3bb)]='wlan';const _0x40c0eb=_0x3ba368;if(!isLanIpv4(_0x42175b))return 0x0;const _0x3db91d=_0x15f177[_0x133673(_0x3ea435._0x34091c,0x324)+_0x25d41d(0x689,0x7bd)]();function _0x133673(_0x4c7abb,_0x1f123d){return _0x14f19b(_0x1f123d- -_0x4c5d6b._0x256121,_0x4c7abb);}if(BLOCKED_INTERFACE_TOKENS['some'](_0x56f134=>_0x3db91d[_0x133673(0x446,0x2e0)](_0x56f134)))return 0x0;let _0x42a1fa=isRfc1918(_0x42175b)?0x78:isCgnat(_0x42175b)?0x5a:0x28;(_0x3db91d[_0x25d41d(_0x3ea435._0x293126,0x75c)+'th']('en')||_0x3db91d[_0x25d41d(0x51f,0x330)+'th'](_0x25d41d(_0x3ea435._0x2e4382,_0x3ea435._0x2adb52))||_0x3db91d['startsWi'+'th'](_0x40c0eb[_0x133673(_0x3ea435._0x3c6217,_0x3ea435._0x38f874)])||_0x3db91d[_0x25d41d(_0x3ea435._0x293126,_0x3ea435._0x5e25d6)+'th']('wl')||_0x3db91d['includes']('wifi')||_0x3db91d[_0x25d41d(0x57f,_0x3ea435._0x22fb23)](_0x25d41d(_0x3ea435._0xb0dba,_0x3ea435._0x2f7531)))&&(_0x42a1fa+=0x14);function _0x25d41d(_0xc2b271,_0x46ed40){return _0x14f19b(_0xc2b271- -0x15a,_0x46ed40);}return _0x42a1fa;}function resolveLocalPairAuth(_0x336ab6){const _0x4aaa57={_0x4d3982:0x76,_0x6ffd2f:0x60,_0x3d3fb9:0x50c,_0x1ee8cc:0x578,_0x149066:0x7b3,_0x34a559:0x103,_0x158920:0x120,_0x3ab058:0x2f0,_0x233334:0x274,_0x2b84f5:0x61,_0x272930:0x7bc,_0x3414c8:0x66e,_0x2c0a82:0x520,_0x109046:0x128,_0x2b5ec4:0x230,_0x5612d7:0x97c,_0x4d3f76:0xbfa,_0x56e9d0:0x58},_0x225ddd={};_0x225ddd['fOORU']=_0x2c73b2(_0x4aaa57._0x4d3982,-_0x4aaa57._0x6ffd2f)+'\x20gateway'+_0x2c73b2(_0x4aaa57._0x3d3fb9,0x28c)+_0x25fc2a(0x69c,_0x4aaa57._0x1ee8cc)+_0x25fc2a(0x588,_0x4aaa57._0x149066)+'or\x20passw'+'ord).';function _0x25fc2a(_0x420cb2,_0x37c21c){return _0x14f19b(_0x420cb2-0x190,_0x37c21c);}function _0x2c73b2(_0x472aed,_0x1271f3){return _0x14f19b(_0x1271f3- -0x536,_0x472aed);}const _0xa1a807=_0x225ddd;if(_0x336ab6[_0x2c73b2(0x2ac,_0x4aaa57._0x34a559)+_0x25fc2a(0x93a,0xba7)]?.['trim']())return{'mode':_0x25fc2a(0x6b6,0x765),'token':_0x336ab6[_0x2c73b2(_0x4aaa57._0x158920,0x103)+_0x2c73b2(_0x4aaa57._0x3ab058,_0x4aaa57._0x233334)]['trim'](),'password':null};if(_0x336ab6[_0x2c73b2(_0x4aaa57._0x2b84f5,0x2b6)+_0x25fc2a(_0x4aaa57._0x272930,0x634)]?.[_0x25fc2a(_0x4aaa57._0x3414c8,_0x4aaa57._0x2c0a82)]())return{'mode':_0x2c73b2(_0x4aaa57._0x109046,_0x4aaa57._0x2b5ec4),'token':null,'password':_0x336ab6[_0x25fc2a(_0x4aaa57._0x5612d7,_0x4aaa57._0x4d3f76)+_0x2c73b2(0x280,0xf6)][_0x2c73b2(0x159,-_0x4aaa57._0x56e9d0)]()};throw new Error(_0xa1a807[_0x25fc2a(0x9e5,0xa39)]);}function isLanIpv4(_0x12e134){const _0x2a2265={_0x8558f0:0x178,_0x121536:0x617,_0x108ed2:0x507},_0x5aad44={_0x30d54d:0x4a1},_0x5c51a6={};_0x5c51a6[_0x3b6790(0x46b,0x3cb)]=function(_0x3219a1,_0xa71062){return _0x3219a1===_0xa71062;};const _0x27daba=_0x5c51a6;if(!isValidIpv4(_0x12e134))return![];if(_0x12e134==='0.0.0.0')return![];function _0x23cfb7(_0x53f609,_0x35d8a9){return _0x14f19b(_0x35d8a9- -0x365,_0x53f609);}const [_0x16fdb7,_0x4c1eff,_0x50af19,_0xda7293]=_0x12e134['split']('.')[_0x3b6790(-_0x2a2265._0x8558f0,0x7a)](Number);if(_0x16fdb7===0x7f)return![];if(_0x16fdb7===0xa9&&_0x27daba[_0x23cfb7(_0x2a2265._0x121536,_0x2a2265._0x108ed2)](_0x4c1eff,0xfe))return![];if(_0x16fdb7>=0xe0&&_0x16fdb7<=0xef)return![];function _0x3b6790(_0x565c6f,_0x4930e2){return _0x14f19b(_0x4930e2- -_0x5aad44._0x30d54d,_0x565c6f);}if(_0x16fdb7===0xff&&_0x4c1eff===0xff&&_0x50af19===0xff&&_0x27daba['MZXcl'](_0xda7293,0xff))return![];if(_0x16fdb7===0xc6&&(_0x4c1eff===0x12||_0x4c1eff===0x13))return![];return isRfc1918(_0x12e134)||isCgnat(_0x12e134);}function isRfc1918(_0x4fa998){const _0x5c95d={_0x412ace:0x1bb,_0x2416bd:0x6e3,_0x5a3922:0x60e,_0x4206d9:0x535,_0xe42def:0x1d4},_0x588745={_0x378dd5:0x1a},_0xb72720={};function _0x1aedce(_0x35ecc0,_0x3685d8){return _0x14f19b(_0x35ecc0- -0x98,_0x3685d8);}function _0x21c119(_0x4f477f,_0x22e75a){return _0x14f19b(_0x22e75a-_0x588745._0x378dd5,_0x4f477f);}_0xb72720[_0x1aedce(0x367,0x24c)]=function(_0x25acc9,_0xc23a29){return _0x25acc9===_0xc23a29;},_0xb72720[_0x1aedce(0x436,_0x5c95d._0x412ace)]=function(_0x53dbfa,_0x3d2a45){return _0x53dbfa>=_0x3d2a45;},_0xb72720[_0x1aedce(0x522,_0x5c95d._0x2416bd)]=function(_0x475051,_0x15e54d){return _0x475051===_0x15e54d;};const _0x4d1c86=_0xb72720,[_0x3b5d12,_0x137785]=_0x4fa998[_0x21c119(0x4b6,_0x5c95d._0x5a3922)]('.')[_0x21c119(0x3dd,_0x5c95d._0x4206d9)](Number);return _0x3b5d12===0xa||_0x4d1c86[_0x21c119(0x277,0x419)](_0x3b5d12,0xac)&&_0x4d1c86[_0x1aedce(0x436,_0x5c95d._0xe42def)](_0x137785,0x10)&&_0x137785<=0x1f||_0x3b5d12===0xc0&&_0x4d1c86['WrBOW'](_0x137785,0xa8);}function isCgnat(_0x5e2297){const _0x5a8200={_0x1d13b6:0x868,_0x4ec2dc:0x7aa,_0xb6b22f:0x5e5,_0xb4e0e9:0x4ba,_0x51171f:0x756},_0x2fd4fc={};function _0x557730(_0x164104,_0x1408b7){return _0x14f19b(_0x1408b7-0xf6,_0x164104);}_0x2fd4fc[_0x205ee7(0x9e7,_0x5a8200._0x1d13b6)]=function(_0x5c049b,_0x4bd4cb){return _0x5c049b>=_0x4bd4cb;};const _0x3d19e3=_0x2fd4fc;function _0x205ee7(_0x5cea6c,_0x287c8f){return _0x14f19b(_0x287c8f- -0xf,_0x5cea6c);}const [_0x4b90b6,_0x21d312]=_0x5e2297[_0x205ee7(_0x5a8200._0x4ec2dc,_0x5a8200._0xb6b22f)]('.')[_0x557730(_0x5a8200._0xb4e0e9,0x611)](Number);return _0x4b90b6===0x64&&_0x3d19e3[_0x557730(_0x5a8200._0x51171f,0x96d)](_0x21d312,0x40)&&_0x21d312<=0x7f;}function isValidIpv4(_0x46555f){const _0x3ae8c4={_0x2b49fc:0x9bb,_0x4974a8:0x8fb,_0x2c27cd:0x76f},_0x51fe9e={_0x5d38c9:0x1be},_0x40fffa={_0x4aefb1:0x1c9},_0x38c386={_0x2fa591:0x23c};function _0x4ed0bb(_0x22862e,_0x40fe9b){return _0x586208(_0x40fe9b- -_0x38c386._0x2fa591,_0x22862e);}function _0x2b59a1(_0x453c91,_0x3c8161){return _0x586208(_0x453c91-_0x40fffa._0x4aefb1,_0x3c8161);}const _0x568ce8=_0x46555f[_0x2b59a1(0x784,_0x3ae8c4._0x2b49fc)]('.');return _0x568ce8[_0x2b59a1(_0x3ae8c4._0x4974a8,_0x3ae8c4._0x2c27cd)]===0x4&&_0x568ce8[_0x2b59a1(0x8f7,0x8e6)](_0x34faeb=>{if(!/^\d+$/[_0xad2638(-0x3f,-_0x51fe9e._0x5d38c9)](_0x34faeb))return![];const _0xa5fe83=Number(_0x34faeb);function _0xad2638(_0x55212e,_0x375496){return _0x4ed0bb(_0x55212e,_0x375496- -0x39f);}return _0xa5fe83>=0x0&&_0xa5fe83<=0xff;});}import{readFileSync as _0x1707ba}from'fs';import{dirname as _0x1801b1,resolve}from'path';import{fileURLToPath}from'url';function readCliVersion(){const _0x395853={_0x55bc0c:0x4b5,_0x3887ad:0x2b5,_0x584e20:0x3a,_0x2ccacc:0xe,_0x4b0695:0x20b,_0x481651:0x3f0,_0x3affce:0x185,_0x14ba7e:0x7,_0x1a9f07:0x2e4},_0x54b6ea={_0x2de994:0x376},_0x6a110b=_0x1801b1(fileURLToPath(import.meta.url)),_0x38d2d5=resolve(_0x6a110b,_0x31ad19(_0x395853._0x55bc0c,_0x395853._0x3887ad)+_0x31ad19(-_0x395853._0x584e20,_0x395853._0x2ccacc));function _0x31ad19(_0x59d7ea,_0x401e5c){return _0x586208(_0x401e5c- -0x37c,_0x59d7ea);}function _0xeb820c(_0xc9cf30,_0x114b54){return _0x586208(_0xc9cf30- -_0x54b6ea._0x2de994,_0x114b54);}const _0x5a54bd=_0x1707ba(_0x38d2d5,'utf8'),_0x44a0ad=JSON[_0x31ad19(_0x395853._0x4b0695,_0x395853._0x481651)](_0x5a54bd);return _0x44a0ad[_0x31ad19(-_0x395853._0x3affce,_0x395853._0x14ba7e)]??_0x31ad19(0x452,_0x395853._0x1a9f07);}function buildPairingJson(_0x2d2b6c,_0x543515,_0x32d71a,_0x72229b){const _0x37f933={_0x154821:0xbf,_0x47b91f:0x1d1,_0x139efb:0x2ca,_0x40f415:0x484,_0x1d7f7b:0x12c,_0xa601d:0x2f1,_0x4dca2e:0x403,_0x363bca:0x277,_0x465ff5:0x48c,_0x42e29a:0x403,_0xa039eb:0x7,_0x3cf448:0x215,_0x1a5926:0x31e,_0x4b72a1:0x1a,_0x5e5965:0x138,_0x2edd29:0x273,_0x19fbd0:0x152,_0x3d9234:0xe5,_0x435c32:0x149,_0x853c05:0x4b,_0xdbf7aa:0x2b1,_0x59d73f:0x1a7,_0xa599ba:0x3a3,_0x4990b8:0x74,_0x2f2a9e:0x1d0,_0x57aaec:0x1c0,_0x196e0b:0x239,_0x24dbdf:0x176,_0x1a09ee:0x31c,_0x3059e5:0x104,_0x32607b:0x152,_0xc63bf0:0x151,_0x47a105:0xb,_0x5cbe28:0x1cf},_0x112ac6={_0x28acff:0x61c},_0x2312c7={};_0x2312c7[_0x1103aa(0x320,0x54c)+'d']=_0x32d71a['installe'+'d'];function _0x3c2efa(_0xbdd919,_0x1501b6){return _0x14f19b(_0xbdd919- -_0x112ac6._0x28acff,_0x1501b6);}_0x2312c7['running']=_0x32d71a[_0x1103aa(0xeb,_0x37f933._0x154821)],_0x2312c7['method']=_0x32d71a[_0x3c2efa(-_0x37f933._0x47b91f,-0x2b8)],_0x2312c7[_0x1103aa(_0x37f933._0x139efb,_0x37f933._0x40f415)+_0x1103aa(0x29a,0x4a9)]=_0x32d71a[_0x3c2efa(_0x37f933._0x1d7f7b,_0x37f933._0xa601d)+'ath'],_0x2312c7[_0x1103aa(-0x188,0xcc)]=_0x32d71a['logPath'],_0x2312c7[_0x1103aa(0x24f,_0x37f933._0x4dca2e)+_0x3c2efa(-0x1d9,-_0x37f933._0x363bca)]=_0x32d71a[_0x1103aa(_0x37f933._0x465ff5,_0x37f933._0x42e29a)+_0x3c2efa(-0x1d9,-_0x37f933._0xa039eb)];function _0x1103aa(_0x156f23,_0x382a9b){return _0x14f19b(_0x382a9b- -0x2c4,_0x156f23);}_0x2312c7['pid']=_0x32d71a['pid'];const _0x521306={};return _0x521306['ok']=!![],_0x521306[_0x1103aa(0x340,_0x37f933._0x3cf448)]=_0x2d2b6c['action'],_0x521306[_0x1103aa(_0x37f933._0x1a5926,0x1a0)]=_0x72229b,_0x521306['gatewayI'+'d']=_0x2d2b6c[_0x3c2efa(-0x281,-0x3af)][_0x1103aa(-_0x37f933._0x4b72a1,_0x37f933._0x5e5965)+'d'],_0x521306[_0x3c2efa(-_0x37f933._0x2edd29,-0x4c1)]=_0x2d2b6c[_0x3c2efa(-0x281,-0x4dd)][_0x1103aa(-_0x37f933._0x19fbd0,_0x37f933._0x3d9234)],_0x521306[_0x3c2efa(0x153,0x93)+'l']=_0x2d2b6c[_0x3c2efa(-0x281,-_0x37f933._0x435c32)][_0x1103aa(0x727,0x4ab)+'l'],_0x521306[_0x3c2efa(_0x37f933._0x853c05,_0x37f933._0xdbf7aa)+'Id']=_0x2d2b6c[_0x1103aa(_0x37f933._0x59d73f,0xd7)][_0x1103aa(0x36e,_0x37f933._0xa599ba)+'Id'],_0x521306[_0x3c2efa(0x74,-0x87)+'de']=_0x2d2b6c[_0x3c2efa(_0x37f933._0x4990b8,-0x22)+'de'],_0x521306[_0x1103aa(_0x37f933._0x2f2a9e,0x3cc)+_0x3c2efa(-0x3c,-_0x37f933._0x57aaec)+_0x3c2efa(-_0x37f933._0x196e0b,-_0x37f933._0x24dbdf)]=_0x2d2b6c['accessCo'+_0x1103aa(0x598,_0x37f933._0x1a09ee)+_0x3c2efa(-0x239,-_0x37f933._0x3059e5)],_0x521306[_0x3c2efa(-_0x37f933._0x32607b,-0x214)+_0x3c2efa(_0x37f933._0xc63bf0,-_0x37f933._0x47a105)]=_0x543515,_0x521306[_0x3c2efa(_0x37f933._0x5cbe28,0x158)]=_0x2312c7,_0x521306;}function buildLocalPairingJson(_0x330c02){const _0x99df0={_0x856582:0x4e1,_0x392dda:0xa19,_0x13763e:0x685,_0x55f38a:0x7bb,_0x508ffd:0x514,_0x19d293:0xa0c,_0x2069a8:0x7b7},_0x23d3aa={};_0x23d3aa['ok']=!![],_0x23d3aa[_0x402bd9(_0x99df0._0x856582,0x523)]=_0x402bd9(_0x99df0._0x392dda,0x84a),_0x23d3aa['message']=_0x330c02['message'];function _0x402bd9(_0x41c3fd,_0x499b41){return _0x586208(_0x499b41-0x83,_0x41c3fd);}_0x23d3aa[_0x54ea5d(0x357,0x4c2)+'rl']=_0x330c02[_0x402bd9(0x65b,_0x99df0._0x13763e)+'rl'];function _0x54ea5d(_0x2def62,_0x3b4a65){return _0x586208(_0x2def62- -0x2ab,_0x3b4a65);}return _0x23d3aa['authMode']=_0x330c02[_0x402bd9(0x9f4,_0x99df0._0x55f38a)],_0x23d3aa['expiresA'+'t']=_0x330c02[_0x54ea5d(0x409,0x2ec)+'t'],_0x23d3aa[_0x402bd9(0x39d,_0x99df0._0x508ffd)+_0x402bd9(_0x99df0._0x19d293,_0x99df0._0x2069a8)]=_0x330c02['qrImageP'+_0x54ea5d(0x489,0x3e0)],_0x23d3aa;}import{mkdirSync as _0x3606fc,writeFileSync as _0x563764}from'fs';import{dirname as _0x4f086b,isAbsolute,join as _0x4be5dd,resolve as _0x5718e5}from'path';import _0x2e0ef5 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x2390a0,_0x3286a6){const _0x33a3b0={_0x2f7532:0xfc,_0x15e301:0x43,_0x2940b7:0x500},_0x217341={_0x136ea6:0x3de},_0x47349d={'dtFoH':function(_0x14e674,_0xf59cd1,_0xca02c4){return _0x14e674(_0xf59cd1,_0xca02c4);},'aKnwy':function(_0x94770b,_0x474afa,_0x12e61e){return _0x94770b(_0x474afa,_0x12e61e);}},_0x200c36=_0x47349d['dtFoH'](resolveQrOutputPath,_0x2390a0[_0xb5589e(_0x33a3b0._0x2f7532,-_0x33a3b0._0x15e301)]['gatewayI'+'d'],_0x3286a6);function _0xb5589e(_0x453606,_0x5f5a91){return _0x14f19b(_0x5f5a91- -_0x217341._0x136ea6,_0x453606);}function _0x3e9253(_0x5b294c,_0x4071ec){return _0x14f19b(_0x4071ec- -0x176,_0x5b294c);}return _0x47349d['aKnwy'](writeQrPng,_0x2390a0[_0x3e9253(0x2bd,_0x33a3b0._0x2940b7)+'d'],_0x200c36);}async function writeRawQrPng(_0x42957e,_0x4eb4ed,_0x503a22){const _0x2d3f65={_0x56402d:0xc6},_0x3556b4={'XDqRt':function(_0x21e03a,_0xff1628,_0x58ce3a){return _0x21e03a(_0xff1628,_0x58ce3a);}};function _0x45403a(_0x3dda20,_0x107743){return _0x586208(_0x107743- -_0x2d3f65._0x56402d,_0x3dda20);}const _0x3d96f3=_0x3556b4[_0x45403a(0x6c6,0x47a)](resolveQrOutputPath,_0x4eb4ed,_0x503a22);return writeQrPng(_0x42957e,_0x3d96f3);}async function writeQrPng(_0x5d7f19,_0x53ae4c){const _0xbadb9b={_0x40d0b0:0x51,_0x5cca11:0x5d0},_0x4da7f8={_0x5a50b4:0x3f0},_0x345ca9={};_0x345ca9[_0x5e2efe(_0xbadb9b._0x40d0b0,-0x22)+'e']=!![],_0x3606fc(_0x4f086b(_0x53ae4c),_0x345ca9);function _0xa4a4bd(_0x2fcd4a,_0x13d387){return _0x14f19b(_0x13d387- -0xec,_0x2fcd4a);}function _0x5e2efe(_0x57f461,_0x19f29c){return _0x14f19b(_0x19f29c- -_0x4da7f8._0x5a50b4,_0x57f461);}const _0x5d258d={};_0x5d258d[_0x5e2efe(_0xbadb9b._0x5cca11,0x363)]=_0x5e2efe(0x482,0x36b)+'g',_0x5d258d[_0xa4a4bd(0x358,0x553)+'rectionL'+_0x5e2efe(0x289,0x2b6)]='M',_0x5d258d['margin']=0x1,_0x5d258d['width']=0x2d0;const _0x43f2db=await _0x2e0ef5['toDataUR'+'L'](_0x5d7f19,_0x5d258d),_0x5a9a75=_0x43f2db['replace'](/^data:image\/png;base64,/,'');return _0x563764(_0x53ae4c,Buffer[_0xa4a4bd(0x4ee,0x6ac)](_0x5a9a75,'base64')),_0x53ae4c;}function resolveQrOutputPath(_0x1db79f,_0x2f2483){const _0x9760ed={_0x5be340:0xaf};function _0x11e0d4(_0x5b7dc1,_0x36d9b6){return _0x14f19b(_0x5b7dc1- -0x571,_0x36d9b6);}function _0x2d9000(_0x34a98b,_0x133ea2){return _0x14f19b(_0x133ea2- -_0x9760ed._0x5be340,_0x34a98b);}const _0x2e0904={'jiNTl':function(_0x133e01,_0x347327){return _0x133e01(_0x347327);}},_0x3ca942=_0x2f2483?.['trim']();if(_0x3ca942)return isAbsolute(_0x3ca942)?_0x3ca942:_0x2e0904[_0x11e0d4(0x281,0x313)](_0x5718e5,_0x3ca942);return _0x4be5dd(DEFAULT_QR_DIR,_0x1db79f+_0x2d9000(0x348,0x496));}function decidePairServiceAction(_0x1516c3,_0x4d33b0){const _0x556719={_0xf89100:0x76b,_0x1026ca:0x1f5,_0x1bd7da:0x3a7,_0x20aa34:0x3f0,_0x5cad97:0x1b0,_0x46eefe:0x2bf},_0x1a7dec={};_0x1a7dec[_0x40a1bb(0x773,_0x556719._0xf89100)]=function(_0x407793,_0x45638c){return _0x407793===_0x45638c;};const _0x55d26d=_0x1a7dec;if(!_0x4d33b0['installe'+'d'])return'install';function _0x40a1bb(_0x31c8ed,_0x4a9d26){return _0x586208(_0x31c8ed- -0x4e,_0x4a9d26);}if(!_0x4d33b0[_0x40a1bb(0x2fc,_0x556719._0x1026ca)])return _0x40a1bb(0x3a7,0x530);if(_0x55d26d[_0x40a1bb(0x773,0x7f2)](_0x1516c3[_0x40a1bb(0x452,0x279)],'register'+'ed'))return _0x40a1bb(_0x556719._0x1bd7da,_0x556719._0x20aa34);function _0x322d39(_0x288ced,_0x5c592f){return _0x586208(_0x288ced- -0x4a4,_0x5c592f);}return _0x322d39(_0x556719._0x5cad97,_0x556719._0x46eefe);}async function main(){const _0x1fbe3d={_0x446021:0x588,_0x23ae0f:0x593,_0x40ac3c:0x53d,_0x6b3208:0x8e1,_0x31bf4e:0x72e,_0x267971:0x6e2,_0x60bfdb:0x58d,_0x2b6e33:0x55b,_0x2b649e:0x725,_0x19db7d:0x78d,_0x2145b3:0x892,_0x549383:0x828,_0x4fb8aa:0x662,_0x5d3275:0x5c6,_0x112c45:0x4c5,_0x4252ef:0x6f2,_0x24ef06:0x3ee,_0x41d3bb:0x4c0,_0x5c8508:0x867,_0x1a6fe1:0x6e7,_0x18eefe:0xa66,_0x218262:0x877,_0x4acf7b:0x87d,_0x29ecf4:0x9d8,_0x47f60b:0x621,_0x24aed5:0x651,_0x3ac9d7:0x898,_0x2326af:0x898,_0x5726f5:0x7e2,_0x45d17f:0x75d,_0x3687e4:0x761,_0x320222:0x640,_0x26e6f0:0x8a5,_0x232e58:0x761,_0x144465:0x556,_0x5d043c:0x967,_0x16e02d:0x897,_0x475f9a:0x5f0,_0x438d3c:0x71e,_0x175a40:0x58a,_0x53b5ef:0x4e9,_0x5b0779:0x754,_0x495fb5:0x79f,_0x379af6:0x863,_0x387b06:0x34e,_0x4495d0:0x67d,_0x1676f7:0x424,_0x1870ad:0x69c,_0x202f38:0x7e2,_0x5f2b5a:0x8c0,_0x5b15fe:0x56b,_0x5aba9d:0x913,_0x327f15:0x764,_0x5509da:0x898,_0x255f9b:0x564,_0x36f694:0x7da,_0x31ba5b:0x921,_0x4bd6a3:0x8f8,_0x146efc:0x7fe,_0x48f60e:0x788,_0x1d6c71:0x52a,_0xe0995a:0x93d,_0x38e6f1:0x52d,_0x378dfe:0x658,_0x443441:0x325,_0x24e11b:0x2a2,_0x33fa3c:0x80b,_0x33970c:0x89c,_0x463393:0x6ee,_0x274522:0x44b,_0xd69ccd:0x5ca,_0x4072f5:0x94e,_0x4aaeca:0x79a,_0x5177db:0x45d,_0x3cfa65:0x5e7,_0x60e7d8:0xa72,_0x4434da:0x5cf,_0x5824ba:0x5b3,_0x9ca8e3:0x6f7,_0x148ea7:0x5c4,_0x4a0510:0x61d,_0x2aafa3:0x2d9,_0x19912b:0x5bb,_0x36469e:0x434,_0x5f2ae7:0x727,_0x2429b1:0x974,_0xf7f088:0x461,_0x3beffa:0x7be,_0x52e042:0x6c4,_0x120254:0x879,_0x3ac5ad:0x5ff,_0x49c13a:0x572,_0x3fe330:0x542,_0x32be16:0x4fc,_0x4eb991:0x850,_0x2c61f2:0x888,_0x5791c6:0x8e0,_0x26a94f:0x7cd,_0x58b211:0x6f6,_0x5a9001:0x512,_0x48780e:0xa09,_0x57d2e7:0x73b,_0x28faf4:0x79c,_0x56ac96:0x9e5,_0x5a9ad5:0x393,_0x49f936:0x576,_0x9f63f2:0x898,_0x3b7e54:0x589,_0x4fbe42:0x644,_0x23b562:0x774,_0xec7166:0x901,_0x1c88b8:0x7f7,_0x204fb0:0x41c,_0x87c8:0x4a7,_0x4c1611:0x577,_0x342a82:0x73e,_0x44d3cf:0x583,_0x5b86a5:0x4b1,_0x41991f:0x804,_0x568e13:0x790,_0x2a2497:0x69a,_0x372439:0x771,_0x39749e:0xb60,_0x516b7e:0x737,_0x263935:0x7c7,_0x34a1cd:0x8de,_0x2610c7:0x541,_0x420a47:0x4a5,_0x566520:0x7a5,_0x2a9089:0x409,_0x157da3:0x61e,_0x78f454:0x54c,_0x28ea5f:0x556,_0x123383:0x5ca,_0x250876:0x6e0,_0xa1976e:0x5e2,_0x4518bf:0x5b3,_0x3afd76:0x66f,_0x44d8b9:0x66d,_0x4b5d4b:0x590,_0x44a10b:0x597,_0x154b2e:0x454,_0x3a3b42:0x817,_0x1e5b44:0x8ce,_0xeb8f63:0x561,_0x3993f5:0x6c7,_0x192cee:0x63e,_0x356e24:0x70d,_0x3fb228:0x71f,_0x356580:0x708,_0x4e9ef0:0x595,_0x1b5223:0x675,_0x35bf67:0x81a,_0x45aa8d:0x5a2,_0x1c89cf:0x4fb,_0xf70775:0x7c8,_0x505691:0x63a,_0x522132:0x3e0,_0x2ec1d9:0x60a,_0x549a84:0x78a,_0xa5c32:0x6bb,_0x38ea05:0x4a8,_0x547f59:0x7d1,_0x39ad89:0x845,_0x3e69a8:0x85a,_0x5095c7:0x748,_0x5155fc:0x43e,_0x36c836:0x57c,_0x192b8f:0x635,_0x1821c1:0x82a,_0x57c548:0x3e2,_0x5c2dae:0x4f7,_0x3bba30:0x67c,_0x55ead4:0x5b9,_0x482186:0x481,_0x3aa711:0x891,_0xabc98a:0x848,_0x394146:0x792,_0x487bd1:0x99c,_0x5335fe:0x38b,_0x1e4e83:0x5d1,_0x220fcc:0x2cb,_0x3f3238:0x2a5,_0x4ad728:0x519,_0x36d78a:0x52d,_0x55375f:0x8a7,_0x4d6c7e:0x54c,_0x3a1999:0x45d,_0x3fbfc1:0x62c,_0x15255c:0x551,_0x29bfec:0x5d3,_0x3bcda5:0x5c5,_0x36cf80:0x36d,_0xa0a31c:0x841,_0xf52237:0x8be,_0x164bcf:0x8ad,_0x2cd698:0x636,_0x14bfee:0x801,_0x121511:0x865,_0x86e2f2:0x7a6,_0x15919e:0x7a9,_0x8bd8eb:0x32f,_0x5442d2:0x808,_0x4411db:0x521,_0x561384:0x78d,_0x1a3997:0x70a,_0x265f1d:0x7bc,_0x1b96b4:0x87b,_0x5b74b4:0x72e},_0x1b2e29={_0x2a6bc4:0x15f},_0x2eb2b6={_0x1cca88:0xfc,_0x5ba145:0x1eb,_0x5ee2d0:0x2ba},_0x6c6abc={_0x495c7a:0x5bc,_0x200ae5:0x604,_0x21c12e:0x332,_0x2fff15:0x4ef,_0x29b782:0x5fe},_0x3c72a8={_0x1eed5e:0x59b,_0x3eae8e:0x55c,_0x34cefa:0x33b,_0x28f78a:0x684,_0x5562e1:0x65c,_0x10979a:0x470,_0x43f681:0x4bc,_0x2f7f33:0x609,_0x287a5d:0x922,_0x586f9b:0x800,_0x379c68:0x31e,_0x318219:0x276,_0x12a856:0x634,_0x2ed240:0x55c,_0xa63b48:0x7ec,_0x475037:0x514,_0x4c4bf8:0x651,_0x659247:0x65c,_0x5cfdf8:0x2da,_0x124dff:0x709,_0x308261:0x464},_0x53b0f6={_0xd777af:0x453,_0x24ab6b:0x4b0,_0x9271a:0x939,_0x63b474:0x882},_0x4c756a={_0xaf1145:0x508},_0x21c70e={_0x7a01db:0x32c},_0x603b67={'frFIX':function(_0x185f8a,_0x29bfa4){return _0x185f8a(_0x29bfa4);},'mphCN':'down','BsBmf':_0x2ab63(0x7f8,0x814),'yoiEJ':_0x4b5ce6(0x69d,0x5cd)+'e','mbTqT':function(_0x483b8b,_0x251da6,_0x3a7e81){return _0x483b8b(_0x251da6,_0x3a7e81);},'kRDCl':function(_0xca285c){return _0xca285c();},'fCPZM':function(_0x300be9,_0x3690f0){return _0x300be9 in _0x3690f0;},'jglAL':_0x4b5ce6(_0x1fbe3d._0x446021,_0x1fbe3d._0x23ae0f)+'e','jjYJw':_0x2ab63(_0x1fbe3d._0x40ac3c,0x30a),'wbHxN':_0x2ab63(_0x1fbe3d._0x6b3208,_0x1fbe3d._0x31bf4e)+'nd\x20servi'+_0x2ab63(_0x1fbe3d._0x267971,_0x1fbe3d._0x60bfdb)+_0x4b5ce6(0x680,_0x1fbe3d._0x2b6e33)+_0x2ab63(_0x1fbe3d._0x2b649e,0x6ca)+_0x4b5ce6(0x5d8,_0x1fbe3d._0x19db7d)+_0x4b5ce6(_0x1fbe3d._0x2145b3,_0x1fbe3d._0x549383),'vEARE':_0x4b5ce6(0x60a,_0x1fbe3d._0x4fb8aa),'dPXIO':_0x2ab63(_0x1fbe3d._0x5d3275,_0x1fbe3d._0x112c45)+'ed','XTwzv':function(_0x509648,_0x2b8895,_0x31cc0d){return _0x509648(_0x2b8895,_0x31cc0d);},'NvSZh':function(_0x57dd29){return _0x57dd29();},'zmqOo':function(_0x4c804e,_0x17e257){return _0x4c804e in _0x17e257;},'mamGk':function(_0x57ea04,_0x3e3550,_0x5e6418,_0x270cbf,_0x53fc89){return _0x57ea04(_0x3e3550,_0x5e6418,_0x270cbf,_0x53fc89);},'LWjIv':_0x4b5ce6(0x4b2,_0x1fbe3d._0x4252ef)+_0x4b5ce6(0x4da,_0x1fbe3d._0x24ef06)+'reshed.','DpwBO':function(_0x3187f9,_0x1e63d8,_0x3ecdf0){return _0x3187f9(_0x1e63d8,_0x3ecdf0);},'QoKcd':function(_0x3c8f25,_0x3d4c51){return _0x3c8f25===_0x3d4c51;},'PrvHu':function(_0x345fe1,_0x13616b){return _0x345fe1===_0x13616b;},'rJaOF':function(_0x22202f){return _0x22202f();},'zmhsi':_0x4b5ce6(0x602,0x3fa),'MFfHE':'4|1|3|0|'+'2','uqZWp':_0x4b5ce6(0x1c2,0x41a),'IzVeE':function(_0x252e9b){return _0x252e9b();},'pwbqD':_0x4b5ce6(0x6f2,_0x1fbe3d._0x41d3bb),'fFFTj':function(_0x56cf65){return _0x56cf65();},'cADZE':function(_0x39327a,_0x2df6d3,_0x592e14){return _0x39327a(_0x2df6d3,_0x592e14);},'YWxqo':function(_0x45557c){return _0x45557c();}},[,,_0x377842=_0x2ab63(0x709,_0x1fbe3d._0x5c8508),..._0x498d45]=process['argv'],_0x33d607=hasFlag(_0x498d45,_0x603b67[_0x2ab63(_0x1fbe3d._0x1a6fe1,0x89d)]);function _0x4b5ce6(_0x113466,_0x1e9ff8){return _0x586208(_0x1e9ff8-0x9a,_0x113466);}const _0x456460=_0x603b67[_0x2ab63(0x985,0x906)](hasFlag,_0x498d45,_0x4b5ce6(_0x1fbe3d._0x18eefe,0x886));if(_0x377842===_0x4b5ce6(0x798,_0x1fbe3d._0x218262)){const _0x9c930e=readPairSubcommand(_0x498d45),_0x59f4bb=_0x9c930e===_0x4b5ce6(_0x1fbe3d._0x4acf7b,0x861)||hasFlag(_0x498d45,_0x4b5ce6(_0x1fbe3d._0x29ecf4,0x803));if(_0x59f4bb){const _0xf1d677=_0x603b67[_0x2ab63(_0x1fbe3d._0x47f60b,0x413)](resolveGatewayAuth);if(_0x603b67[_0x4b5ce6(0x97b,0x778)](_0x4b5ce6(_0x1fbe3d._0x24aed5,_0x1fbe3d._0x3ac9d7),_0xf1d677))throw new Error(_0xf1d677['error']);const _0x3d2013=readFlag(_0x498d45,_0x603b67[_0x2ab63(_0x1fbe3d._0x2326af,0x6fe)]),_0x1674ad=buildLocalPairingInfo({'explicitUrl':readFlag(_0x498d45,_0x2ab63(_0x1fbe3d._0x5726f5,_0x1fbe3d._0x45d17f)),'gatewayToken':_0xf1d677['token'],'gatewayPassword':_0xf1d677[_0x4b5ce6(_0x1fbe3d._0x3687e4,0x7c7)]}),_0x155cef=await writeRawQrPng(_0x1674ad[_0x4b5ce6(0x754,0x6d7)+'d'],_0x2ab63(_0x1fbe3d._0x320222,_0x1fbe3d._0x26e6f0)+'local-pa'+'ir',_0x3d2013);if(_0x456460){const _0x81d63e={};_0x81d63e[_0x2ab63(_0x1fbe3d._0x232e58,_0x1fbe3d._0x144465)+'rl']=_0x1674ad[_0x2ab63(_0x1fbe3d._0x3687e4,_0x1fbe3d._0x5d043c)+'rl'],_0x81d63e[_0x2ab63(_0x1fbe3d._0x16e02d,0x7a4)]=_0x1674ad[_0x2ab63(0x897,0xa46)],_0x81d63e[_0x4b5ce6(0x95f,0x74e)+'t']=_0x1674ad[_0x2ab63(0x813,0x66a)+'t'],_0x81d63e[_0x2ab63(_0x1fbe3d._0x475f9a,_0x1fbe3d._0x438d3c)+'ath']=_0x155cef,_0x81d63e[_0x2ab63(_0x1fbe3d._0x175a40,_0x1fbe3d._0x53b5ef)]=_0x2ab63(_0x1fbe3d._0x60bfdb,_0x1fbe3d._0x5b0779)+_0x4b5ce6(_0x1fbe3d._0x495fb5,_0x1fbe3d._0x379af6)+_0x4b5ce6(_0x1fbe3d._0x387b06,0x50b)+_0x4b5ce6(_0x1fbe3d._0x4495d0,0x550)+_0x4b5ce6(0x7f7,0x8ae),printJson(_0x603b67[_0x4b5ce6(_0x1fbe3d._0x1676f7,0x5d3)](buildLocalPairingJson,_0x81d63e));}else printLocalPairingInfo(_0x1674ad[_0x4b5ce6(0x630,_0x1fbe3d._0x1870ad)+'rl'],_0x1674ad['authMode'],_0x1674ad[_0x4b5ce6(0x50f,0x74e)+'t'],_0x1674ad[_0x4b5ce6(0x88a,0x6d7)+'d'],_0x155cef,readFlag(_0x498d45,_0x2ab63(_0x1fbe3d._0x202f38,0x8ba)));return;}const _0x2470bf=_0x603b67[_0x4b5ce6(0x78e,_0x1fbe3d._0x5f2b5a)](hasFlag,_0x498d45,_0x603b67[_0x2ab63(0x6db,_0x1fbe3d._0x5b15fe)]);!_0x2470bf&&await _0x603b67[_0x4b5ce6(0x5dd,0x55c)](ensurePairPrerequisites);const _0x2d7808=resolveGatewayAuth();if(_0x4b5ce6(_0x1fbe3d._0x5aba9d,0x898)in _0x2d7808)throw new Error(_0x2d7808[_0x4b5ce6(_0x1fbe3d._0x327f15,_0x1fbe3d._0x5509da)]);const _0x103477=readFlag(_0x498d45,_0x4b5ce6(_0x1fbe3d._0x255f9b,_0x1fbe3d._0x36f694))??readFlag(_0x498d45,'-s')??'https://'+_0x2ab63(_0x1fbe3d._0x31ba5b,_0x1fbe3d._0x4bd6a3)+_0x4b5ce6(_0x1fbe3d._0x146efc,_0x1fbe3d._0x48f60e)+_0x4b5ce6(_0x1fbe3d._0x1d6c71,0x5a8),_0x25a60a=readFlag(_0x498d45,_0x2ab63(_0x1fbe3d._0xe0995a,0x6f3))??_0x603b67['mbTqT'](readFlag,_0x498d45,'-n')??_0x603b67[_0x2ab63(_0x1fbe3d._0x47f60b,_0x1fbe3d._0x38e6f1)](getDefaultBridgeDisplayName),_0x49ca87=readFlag(_0x498d45,_0x2ab63(_0x1fbe3d._0x378dfe,_0x1fbe3d._0x24ef06)+'e'),_0x131e2a={};_0x131e2a['serverUr'+'l']=_0x103477,_0x131e2a[_0x4b5ce6(_0x1fbe3d._0x443441,0x554)+_0x2ab63(0x4cd,_0x1fbe3d._0x24e11b)]=_0x25a60a,_0x131e2a['gatewayT'+_0x4b5ce6(0x9a0,_0x1fbe3d._0x33fa3c)]=_0x2d7808[_0x2ab63(0x64c,0x67a)],_0x131e2a[_0x4b5ce6(0x70a,0x84d)+'assword']=_0x2d7808['password'];const _0x4773f6=await pairGateway(_0x131e2a),_0x1fac73=await writePairingQrPng(_0x4773f6,_0x49ca87),_0x159a13=getServiceStatus(),_0x310187=decidePairServiceAction(_0x4773f6,_0x159a13);if(_0x310187===_0x4b5ce6(_0x1fbe3d._0x33970c,_0x1fbe3d._0x463393)){const _0x5ccf43=listRuntimeProcesses();if(_0x5ccf43['length']>0x1){stopRuntimeProcesses();const _0x6ec9fd=restartService(),_0x96070=_0x4b5ce6(0x79f,0x6ce)+_0x4b5ce6(_0x1fbe3d._0x274522,_0x1fbe3d._0xd69ccd)+'te\x20bridg'+'e\x20runtim'+_0x2ab63(_0x1fbe3d._0x4072f5,_0x1fbe3d._0x4aaeca)+_0x4b5ce6(_0x1fbe3d._0x5177db,_0x1fbe3d._0x3cfa65)+_0x2ab63(0x870,_0x1fbe3d._0x60e7d8)+_0x4b5ce6(_0x1fbe3d._0x4434da,_0x1fbe3d._0x5824ba)+'vice\x20cle'+_0x2ab63(0x699,_0x1fbe3d._0x9ca8e3);_0x456460?printJson(buildPairingJson(_0x4773f6,_0x1fac73,_0x6ec9fd,_0x96070)):(printPairingInfo(_0x4773f6,_0x1fac73),printServiceResult(_0x96070,_0x6ec9fd));return;}_0x456460?_0x603b67[_0x2ab63(0x698,0x6fe)](printJson,buildPairingJson(_0x4773f6,_0x1fac73,_0x159a13,_0x4b5ce6(0x7b2,0x81c)+_0x2ab63(0x655,0x42d)+_0x4b5ce6(_0x1fbe3d._0x148ea7,_0x1fbe3d._0x4a0510)+_0x4b5ce6(_0x1fbe3d._0x2aafa3,_0x1fbe3d._0x2b6e33)+_0x2ab63(_0x1fbe3d._0x2b649e,0x7e9)+_0x4b5ce6(0x8ec,0x78d)+_0x4b5ce6(_0x1fbe3d._0x19912b,0x828))):(printPairingInfo(_0x4773f6,_0x1fac73),console['log'](_0x603b67[_0x4b5ce6(0x684,_0x1fbe3d._0x36469e)]),printServiceResult(null,_0x159a13));return;}try{stopRuntimeProcesses();const _0x453f5e=_0x310187===_0x2ab63(_0x1fbe3d._0x5f2ae7,_0x1fbe3d._0x2429b1)?installService():restartService(),_0x477714=_0x310187===_0x603b67[_0x2ab63(0x513,_0x1fbe3d._0xf7f088)]?'Auto-ins'+_0x4b5ce6(_0x1fbe3d._0x3beffa,0x849)+_0x2ab63(_0x1fbe3d._0x52e042,_0x1fbe3d._0x120254)+_0x4b5ce6(0xa25,0x819)+'e.':_0x4773f6[_0x2ab63(_0x1fbe3d._0x3ac5ad,_0x1fbe3d._0x49c13a)]===_0x603b67[_0x2ab63(_0x1fbe3d._0x3fe330,_0x1fbe3d._0x32be16)]?'Bridge\x20i'+_0x4b5ce6(0x9a6,_0x1fbe3d._0x4eb991)+'changed.'+_0x4b5ce6(_0x1fbe3d._0x2c61f2,_0x1fbe3d._0x5791c6)+'ed\x20backg'+_0x4b5ce6(0x979,0x807)+'rvice\x20to'+_0x2ab63(0x6ed,_0x1fbe3d._0x26a94f)+'e\x20new\x20pa'+_0x2ab63(_0x1fbe3d._0x58b211,_0x1fbe3d._0x5a9001):_0x4b5ce6(_0x1fbe3d._0x48780e,0x81c)+_0x2ab63(0x655,_0x1fbe3d._0x57d2e7)+'ce\x20was\x20i'+_0x4b5ce6(0x571,0x44c)+_0x4b5ce6(_0x1fbe3d._0x28faf4,0x709)+_0x4b5ce6(_0x1fbe3d._0x56ac96,0x87e)+_0x4b5ce6(0x2bb,0x43b)+_0x4b5ce6(_0x1fbe3d._0x5a9ad5,_0x1fbe3d._0x49f936);_0x456460?printJson(buildPairingJson(_0x4773f6,_0x1fac73,_0x453f5e,_0x477714)):(printPairingInfo(_0x4773f6,_0x1fac73),_0x603b67['XTwzv'](printServiceResult,_0x477714,_0x453f5e));}catch(_0x24e7eb){console[_0x4b5ce6(0x7c7,_0x1fbe3d._0x9f63f2)]('Pairing\x20'+_0x4b5ce6(0x598,0x427)+'d,\x20but\x20s'+_0x2ab63(0x6d4,0x5e0)+_0x4b5ce6(0x4c2,0x4a0)+_0x4b5ce6(_0x1fbe3d._0x3b7e54,0x4b9)+':\x20'+formatError2(_0x24e7eb)),console['error']('You\x20can\x20'+'still\x20ru'+_0x2ab63(_0x1fbe3d._0x4fbe42,_0x1fbe3d._0x23b562)+'et\x20insta'+_0x4b5ce6(0x35f,0x56b)+_0x2ab63(_0x1fbe3d._0xec7166,_0x1fbe3d._0x1c88b8)+_0x2ab63(0x766,0x5fd)+_0x4b5ce6(_0x1fbe3d._0x204fb0,_0x1fbe3d._0x87c8)),process[_0x2ab63(0x5c8,_0x1fbe3d._0x4c1611)]=0x1;}return;}if(_0x377842===_0x4b5ce6(_0x1fbe3d._0x342a82,_0x1fbe3d._0x44d3cf)+'code'){const _0x418b13=readFlag(_0x498d45,_0x4b5ce6(_0x1fbe3d._0x5b86a5,_0x1fbe3d._0x23ae0f)+'e'),_0x3a90f4=_0x603b67[_0x2ab63(_0x1fbe3d._0x41991f,_0x1fbe3d._0x568e13)](resolveGatewayAuth);if(_0x603b67[_0x2ab63(0x917,0xa9b)](_0x4b5ce6(0x7f6,0x898),_0x3a90f4))throw new Error(_0x3a90f4[_0x4b5ce6(0x9a6,0x898)]);const _0x2f023e={};_0x2f023e[_0x4b5ce6(0x7fe,_0x1fbe3d._0x2a2497)+_0x2ab63(0x8d0,_0x1fbe3d._0x372439)]=_0x3a90f4[_0x2ab63(0x64c,0x55f)],_0x2f023e[_0x2ab63(0x912,_0x1fbe3d._0x39749e)+_0x2ab63(0x752,_0x1fbe3d._0x516b7e)]=_0x3a90f4[_0x4b5ce6(0x6bd,_0x1fbe3d._0x263935)];const _0xae0cfc=await refreshAccessCode(_0x2f023e),_0x4c119b=await writePairingQrPng(_0xae0cfc,_0x418b13);_0x456460?printJson(_0x603b67[_0x4b5ce6(0xa0b,_0x1fbe3d._0x34a1cd)](buildPairingJson,_0xae0cfc,_0x4c119b,getServiceStatus(),_0x603b67[_0x2ab63(_0x1fbe3d._0x2610c7,0x645)])):_0x603b67['DpwBO'](printPairingInfo,_0xae0cfc,_0x4c119b);return;}if(_0x377842===_0x603b67[_0x2ab63(0x513,0x2e3)]||_0x603b67['QoKcd'](_0x377842,_0x2ab63(0x5f5,0x4fc))){const _0x2105f0=requirePairingConfig();stopRuntimeProcesses();const _0x5d7d91=installService();console[_0x2ab63(_0x1fbe3d._0x420a47,0x482)]('Installe'+_0x2ab63(_0x1fbe3d._0x566520,0x62f)+_0x4b5ce6(_0x1fbe3d._0x2a9089,0x5b3)+_0x2ab63(_0x1fbe3d._0x157da3,0x5d4)+'\x20gateway'+'\x20'+_0x2105f0['gatewayI'+'d']+'.'),printServiceResult(null,_0x5d7d91);return;}if(_0x603b67[_0x2ab63(_0x1fbe3d._0x78f454,0x2f8)](_0x377842,'restart')){const _0x6d17cb=requirePairingConfig();stopRuntimeProcesses();const _0x6a1075=_0x603b67[_0x4b5ce6(_0x1fbe3d._0x28ea5f,0x55c)](restartService);console[_0x4b5ce6(0x5f9,0x3e0)]('Restarte'+_0x4b5ce6(_0x1fbe3d._0x123383,_0x1fbe3d._0x250876)+_0x4b5ce6(_0x1fbe3d._0xa1976e,_0x1fbe3d._0x4518bf)+'vice\x20for'+_0x4b5ce6(_0x1fbe3d._0x3afd76,0x5cc)+'\x20'+_0x6d17cb[_0x2ab63(0x522,0x5a2)+'d']+'.'),printServiceResult(null,_0x6a1075);return;}if(_0x377842===_0x2ab63(0x845,0x87e)){const _0x30f45a=stopService();stopRuntimeProcesses(),console[_0x2ab63(_0x1fbe3d._0x420a47,_0x1fbe3d._0x44d8b9)](_0x4b5ce6(0x5c3,0x4bd)+'backgrou'+_0x4b5ce6(0x7b3,_0x1fbe3d._0x4b5d4b)+'ce.'),printServiceResult(null,_0x30f45a);return;}if(_0x377842===_0x2ab63(0x714,_0x1fbe3d._0x44a10b)+'l'){const _0x2282d5=uninstallService();_0x603b67[_0x2ab63(0x7e4,0x61a)](stopRuntimeProcesses),console['log']('Removed\x20'+_0x2ab63(0x8dc,0x7be)+_0x2ab63(0x655,_0x1fbe3d._0x154b2e)+_0x2ab63(_0x1fbe3d._0x3a3b42,0x776)+_0x2ab63(0x70f,_0x1fbe3d._0x1e5b44)),printServiceResult(null,_0x2282d5);return;}if(_0x377842===_0x603b67['zmhsi']){const _0x4fb40a=_0x603b67[_0x4b5ce6(0x78d,0x586)]['split']('|');let _0x5c081f=0x0;while(!![]){switch(_0x4fb40a[_0x5c081f++]){case'0':console[_0x4b5ce6(_0x1fbe3d._0xeb8f63,0x3e0)](_0x4b5ce6(_0x1fbe3d._0x3993f5,_0x1fbe3d._0x192cee)+_0x2ab63(0x85e,_0x1fbe3d._0x356e24)+'config:\x20'+getPairingConfigPath());continue;case'1':stopService();continue;case'2':return;case'3':deletePairingConfig();continue;case'4':_0x603b67[_0x4b5ce6(0x5c7,_0x1fbe3d._0x3fb228)](stopRuntimeProcesses);continue;}break;}}if(_0x377842===_0x603b67['uqZWp']){printStatus();return;}if(_0x377842==='logs'){const _0x312867=Number(_0x603b67[_0x2ab63(0x985,_0x1fbe3d._0x356580)](readFlag,_0x498d45,_0x4b5ce6(_0x1fbe3d._0x4e9ef0,_0x1fbe3d._0x1b5223))??_0x4b5ce6(0x847,_0x1fbe3d._0x35bf67)),_0x12c98d=parseLookbackToMs(readFlag(_0x498d45,_0x2ab63(_0x1fbe3d._0x45aa8d,0x7e3))??readFlag(_0x498d45,'-l')),_0x7f3dd9=_0x603b67['frFIX'](readRecentCliLogs,{'lines':_0x312867,'lastMs':_0x12c98d,'includeErrorLog':hasFlag(_0x498d45,_0x2ab63(_0x1fbe3d._0x1c89cf,0x702))});if(_0x456460){const _0x12e35c={};_0x12e35c['ok']=!![],_0x12e35c[_0x2ab63(_0x1fbe3d._0xf70775,_0x1fbe3d._0x505691)]=_0x7f3dd9,printJson(_0x12e35c);}else _0x7f3dd9[_0x4b5ce6(0x686,0x7cc)]===0x0?console[_0x4b5ce6(_0x1fbe3d._0x255f9b,_0x1fbe3d._0x522132)]('No\x20match'+_0x4b5ce6(0x800,_0x1fbe3d._0x2ec1d9)+_0x4b5ce6(_0x1fbe3d._0x549a84,0x5d6)+_0x2ab63(_0x1fbe3d._0xa5c32,_0x1fbe3d._0x38ea05)):console[_0x2ab63(_0x1fbe3d._0x420a47,0x480)](_0x7f3dd9['join']('\x0a'));return;}if(_0x377842===_0x2ab63(_0x1fbe3d._0x547f59,_0x1fbe3d._0x39ad89)){const _0x540fb5=await _0x603b67[_0x2ab63(0x8cd,_0x1fbe3d._0x3e69a8)](buildDoctorReport);_0x456460?printJson(_0x540fb5):printDoctorReport(_0x540fb5);return;}if(_0x377842===_0x603b67[_0x2ab63(_0x1fbe3d._0x5095c7,0x86f)]){const _0x566ab3=requirePairingConfig(),_0x4aeb18=hasFlag(_0x498d45,'--replac'+'e'),_0x490773=listRuntimeProcesses()[_0x4b5ce6(_0x1fbe3d._0x5155fc,_0x1fbe3d._0x36c836)](_0x11677e=>_0x11677e[_0x4b5ce6(0x9b9,0x888)]);_0x490773['length']>0x0&&(!_0x4aeb18&&(console[_0x2ab63(0x95d,0xb3f)](_0x4b5ce6(0x63e,_0x1fbe3d._0x192b8f)+_0x2ab63(_0x1fbe3d._0x1821c1,0x99c)+_0x2ab63(0x69d,0x5af)+_0x4b5ce6(_0x1fbe3d._0x57c548,_0x1fbe3d._0x5c2dae)+_0x4b5ce6(_0x1fbe3d._0x3bba30,_0x1fbe3d._0x55ead4)+_0x4b5ce6(_0x1fbe3d._0x482186,0x518)+_0x2ab63(0x4d8,0x6be)+(_0x490773[_0x2ab63(_0x1fbe3d._0x3aa711,0x9c9)]>0x1?'s':'')+':\x20'+_0x490773[_0x4b5ce6(0x907,_0x1fbe3d._0xabc98a)](',\x20')+(').\x20Run\x20\x22'+_0x2ab63(_0x1fbe3d._0xec7166,0xa63)+'stop\x22\x20fi'+_0x2ab63(_0x1fbe3d._0x394146,_0x1fbe3d._0x487bd1)+_0x4b5ce6(_0x1fbe3d._0x5335fe,0x49c)+_0x2ab63(0x62f,0x8a4)+_0x4b5ce6(0x8a5,0x827)+_0x4b5ce6(_0x1fbe3d._0x1e4e83,0x607)+_0x4b5ce6(_0x1fbe3d._0x220fcc,0x467))),process['exit'](0x1)),_0x603b67[_0x2ab63(0x7be,0x913)](stopRuntimeProcesses));const _0x72c033=resolveGatewayUrl(_0x603b67['cADZE'](readFlag,_0x498d45,_0x4b5ce6(_0x1fbe3d._0x3f3238,0x492)+_0x2ab63(0x5ec,0x86e))??readFlag(_0x498d45,'-g')),_0x500b00=_0x21c0dc=>{function _0x2ad116(_0x3d641f,_0x2637d2){return _0x2ab63(_0x3d641f- -_0x21c70e._0x7a01db,_0x2637d2);}function _0x4a86dc(_0x221d89,_0xec33d6){return _0x2ab63(_0xec33d6- -0x41b,_0x221d89);}console[_0x4a86dc(0x119,0x8a)]('['+Date[_0x4a86dc(0x756,_0x4c756a._0xaf1145)]()+']\x20'+_0x21c0dc);};!_0x33d607?(console[_0x2ab63(0x4a5,0x3b7)](_0x2ab63(_0x1fbe3d._0x4ad728,_0x1fbe3d._0x36d78a)+_0x4b5ce6(_0x1fbe3d._0x55375f,0x6a4)+_0x566ab3[_0x4b5ce6(_0x1fbe3d._0x4d6c7e,_0x1fbe3d._0x3a1999)+'d']),console['log'](_0x4b5ce6(0x7f3,_0x1fbe3d._0x3fbfc1)+_0x2ab63(_0x1fbe3d._0x15255c,_0x1fbe3d._0x29bfec)+_0x566ab3['instance'+'Id']),console[_0x4b5ce6(0x4b2,0x3e0)]('Gateway\x20'+_0x2ab63(_0x1fbe3d._0x3bcda5,_0x1fbe3d._0x36cf80)+_0x72c033),console[_0x4b5ce6(0x395,0x3e0)](''),console['log']('Starting'+_0x4b5ce6(0x34a,0x4f2)+'runtime.'+_0x2ab63(_0x1fbe3d._0xa0a31c,0x8e4)+_0x4b5ce6(_0x1fbe3d._0xf52237,_0x1fbe3d._0x164bcf)+_0x2ab63(_0x1fbe3d._0x2cd698,0x760)),console['log']('')):_0x500b00(_0x2ab63(_0x1fbe3d._0x14bfee,0x745)+_0x2ab63(_0x1fbe3d._0x121511,0xa98)+_0x4b5ce6(0x885,_0x1fbe3d._0x86e2f2)+_0x2ab63(_0x1fbe3d._0x26a94f,_0x1fbe3d._0x15919e)+'\x20for\x20gat'+_0x2ab63(0x50a,_0x1fbe3d._0x8bd8eb)+_0x566ab3[_0x4b5ce6(0x6ca,0x45d)+'d']);_0x33d607&&_0x603b67[_0x4b5ce6(0x926,_0x1fbe3d._0x5442d2)](writeServiceState);const _0x34dab4=new BridgeRuntime({'config':_0x566ab3,'gatewayUrl':_0x72c033,'onLog':_0xaeb14c=>{function _0x452c8e(_0x163e00,_0x575ad8){return _0x2ab63(_0x575ad8- -0x64,_0x163e00);}function _0x4f9211(_0x299a4e,_0xc04713){return _0x2ab63(_0x299a4e- -0x245,_0xc04713);}_0x603b67[_0x4f9211(_0x53b0f6._0xd777af,_0x53b0f6._0x24ab6b)](_0x500b00,_0x452c8e(_0x53b0f6._0x9271a,_0x53b0f6._0x63b474)+']\x20'+_0xaeb14c);},'onStatus':_0x8cc081=>{const _0x3a0ef4={_0x4833dc:0x398},_0x20832a={_0x56b348:0x17d};function _0x532379(_0x51aaf0,_0x444bb1){return _0x2ab63(_0x444bb1- -_0x20832a._0x56b348,_0x51aaf0);}function _0x553c0e(_0x509b4b,_0x3c437c){return _0x2ab63(_0x3c437c- -_0x3a0ef4._0x4833dc,_0x509b4b);}if(_0x8cc081[_0x532379(_0x3c72a8._0x1eed5e,0x780)+'r']){_0x500b00('[status]'+_0x553c0e(0x6c6,_0x3c72a8._0x3eae8e)+(_0x8cc081[_0x532379(0x282,_0x3c72a8._0x34cefa)+_0x532379(0x7c3,0x7ec)]?'up':_0x603b67[_0x532379(_0x3c72a8._0x28f78a,0x4f5)])+('\x20gateway'+'=')+(_0x8cc081[_0x532379(0x595,0x62b)+_0x532379(0x551,_0x3c72a8._0x5562e1)]?'up':_0x553c0e(0x6d7,_0x3c72a8._0x10979a))+(_0x532379(0x41e,_0x3c72a8._0x43f681)+'=')+_0x8cc081[_0x532379(0x682,_0x3c72a8._0x2f7f33)+_0x532379(_0x3c72a8._0x287a5d,_0x3c72a8._0x586f9b)]+_0x532379(0x2dc,0x4f6)+_0x8cc081['lastErro'+'r']);return;}_0x500b00(_0x553c0e(_0x3c72a8._0x379c68,_0x3c72a8._0x318219)+_0x553c0e(_0x3c72a8._0x12a856,_0x3c72a8._0x2ed240)+(_0x8cc081[_0x553c0e(0x163,0x120)+_0x532379(0x95e,_0x3c72a8._0xa63b48)]?'up':_0x532379(0x68d,0x68b))+(_0x532379(0x75f,_0x3c72a8._0x475037)+'=')+(_0x8cc081['gatewayC'+_0x532379(_0x3c72a8._0x4c4bf8,_0x3c72a8._0x659247)]?'up':_0x603b67[_0x553c0e(0x2bf,_0x3c72a8._0x5cfdf8)])+(_0x532379(_0x3c72a8._0x124dff,0x4bc)+'=')+_0x8cc081[_0x532379(_0x3c72a8._0x308261,_0x3c72a8._0x2f7f33)+_0x532379(0x938,_0x3c72a8._0x586f9b)]);},'onPendingPairRequest':_0x1a8fad=>{const _0x8741d0={_0x26060d:0x309};function _0x536cb9(_0x3db752,_0x1f821c){return _0x2ab63(_0x3db752- -_0x8741d0._0x26060d,_0x1f821c);}function _0xbcd94f(_0x4dd72c,_0x15b10c){return _0x2ab63(_0x4dd72c- -0x34a,_0x15b10c);}_0x603b67['frFIX'](_0x500b00,_0xbcd94f(0x2a0,0x4a2)+'quest]\x20r'+_0x536cb9(_0x6c6abc._0x495c7a,_0x6c6abc._0x200ae5)+'='+_0x1a8fad[_0x536cb9(0x546,_0x6c6abc._0x21c12e)+'d']+('\x20deviceI'+'d=')+(_0x1a8fad[_0x536cb9(0x611,0x4ba)]||_0xbcd94f(_0x6c6abc._0x2fff15,0x4b2)+'>')+_0xbcd94f(0x2ca,0x314)+(_0x1a8fad[_0x536cb9(0x310,0x248)+_0x536cb9(0x1c4,0x7e)]??_0x536cb9(0x530,_0x6c6abc._0x29b782)+'>'));}});_0x34dab4['start']();const _0x1713fb={};_0x1713fb['gatewayI'+'d']=_0x566ab3[_0x4b5ce6(_0x1fbe3d._0x4411db,_0x1fbe3d._0x5177db)+'d'],_0x1713fb[_0x2ab63(_0x1fbe3d._0x561384,_0x1fbe3d._0x1a3997)+'Id']=_0x566ab3['instance'+'Id'],_0x1713fb[_0x4b5ce6(_0x1fbe3d._0x265f1d,_0x1fbe3d._0x1b96b4)+_0x2ab63(0x5ef,0x60f)]=_0x33d607,registerRuntimeProcess(_0x1713fb);const _0x4d9dfa=async()=>{const _0x2e7d35={_0x51aa72:0x5f4};process[_0x26bc12(-0x152,-_0x2eb2b6._0x1cca88)](_0x26bc12(-0x175,-0x17e),_0x4d9dfa),process[_0x26bc12(-_0x2eb2b6._0x5ba145,-0xfc)](_0x603b67['BsBmf'],_0x4d9dfa),await _0x34dab4['stop'](),unregisterRuntimeProcess(process['pid']);function _0x558e7e(_0x71ba63,_0x375337){return _0x4b5ce6(_0x71ba63,_0x375337- -0x222);}_0x33d607&&clearServiceState(process['pid']);function _0x26bc12(_0x2a1731,_0x132988){return _0x4b5ce6(_0x2a1731,_0x132988- -_0x2e7d35._0x51aa72);}process[_0x26bc12(-_0x2eb2b6._0x5ee2d0,-0x14a)](0x0);};process['on']('SIGINT',_0x4d9dfa),process['on'](_0x4b5ce6(0x6f5,0x733),_0x4d9dfa),await new Promise(()=>{});}function _0x2ab63(_0x2fcd3c,_0x59c2a9){return _0x586208(_0x2fcd3c-_0x1b2e29._0x2a6bc4,_0x59c2a9);}_0x603b67[_0x4b5ce6(0x746,_0x1fbe3d._0x5b74b4)](printHelp);}function printPairingInfo(_0x50941a,_0x3d267a){const _0x3e0d61={_0x3a807b:0x271,_0x27b085:0x734,_0x371a07:0x23b,_0xb561d9:0x415,_0x410968:0x190,_0x3b4ff3:0x106,_0x2e7af3:0x45d,_0x1fd048:0x67d,_0x159390:0x5db,_0x41bdeb:0x65f,_0x22539c:0x511,_0x3221ea:0x47b,_0x29c302:0x48e,_0x8e2f96:0x1e9,_0x6befef:0x38f,_0x24c63b:0x7cc,_0x414a90:0x870,_0x78362b:0x15f,_0xcc3f25:0x8eb,_0x1e94d7:0x4,_0x4f9e93:0xad,_0x2c7e44:0x24a,_0x2af754:0x21,_0x3bb6ed:0x965,_0x45b236:0x479,_0x1eaca7:0x402,_0xd6a1e1:0x5fd,_0x146f8a:0x75,_0x23f7c2:0xb3,_0x41eb3e:0x76e,_0xdd5a3f:0x717,_0x3ce906:0x17,_0x2bb815:0x2a4,_0x5cf887:0x1e6},_0x2f5343={_0x90ed7f:0x5c9},_0x51f8ab={};function _0x3b47bd(_0x1cc516,_0x4c1b3a){return _0x14f19b(_0x1cc516-0xde,_0x4c1b3a);}function _0xdd90a0(_0x4f2fe1,_0x51a121){return _0x14f19b(_0x51a121- -_0x2f5343._0x90ed7f,_0x4f2fe1);}_0x51f8ab[_0x3b47bd(0x4e1,_0x3e0d61._0x3a807b)]=function(_0x5c4447,_0xc7d43f){return _0x5c4447===_0xc7d43f;},_0x51f8ab[_0x3b47bd(_0x3e0d61._0x27b085,0x83e)]=_0xdd90a0(0x363,_0x3e0d61._0x371a07)+'d';const _0x12c996=_0x51f8ab,_0x14d8d7=(_0xdd90a0(_0x3e0d61._0xb561d9,0x1e4)+_0xdd90a0(_0x3e0d61._0x410968,0x136))['split']('|');let _0x1c2d1a=0x0;while(!![]){switch(_0x14d8d7[_0x1c2d1a++]){case'0':_0x12c996['AyRPR'](_0x50941a[_0xdd90a0(_0x3e0d61._0x3b4ff3,-0xf0)],_0x12c996['krurP'])&&console[_0x3b47bd(_0x3e0d61._0x2e7af3,0x2ad)](_0x3b47bd(_0x3e0d61._0x1fd048,0x566)+_0x3b47bd(0x690,0x832)+_0x3b47bd(_0x3e0d61._0x159390,_0x3e0d61._0x41bdeb)+_0x3b47bd(_0x3e0d61._0x22539c,0x294)+_0x3b47bd(_0x3e0d61._0x3221ea,_0x3e0d61._0x29c302)+_0xdd90a0(_0x3e0d61._0x8e2f96,0x280)+'e.');continue;case'1':console[_0xdd90a0(-_0x3e0d61._0x6befef,-0x24a)](_0x3b47bd(_0x3e0d61._0x24c63b,_0x3e0d61._0x414a90)+_0xdd90a0(0x8,-_0x3e0d61._0x78362b)+_0x3b47bd(_0x3e0d61._0xcc3f25,0x803)+_0x3b47bd(0x6d0,0x63f)+_0xdd90a0(-0x1c0,-0x1da));continue;case'2':const _0x4c7861={};_0x4c7861['small']=!![],_0x252066[_0xdd90a0(-0x247,_0x3e0d61._0x1e94d7)](_0x50941a[_0xdd90a0(0x6c,_0x3e0d61._0x4f9e93)+'d'],_0x4c7861);continue;case'3':console[_0xdd90a0(-0x318,-_0x3e0d61._0x2c7e44)](_0xdd90a0(_0x3e0d61._0x2af754,-0x1d6)+_0x3b47bd(0x721,_0x3e0d61._0x3bb6ed)+_0x50941a[_0x3b47bd(_0x3e0d61._0x45b236,_0x3e0d61._0x1eaca7)][_0x3b47bd(0x4da,_0x3e0d61._0xd6a1e1)+'d']);continue;case'4':console['log']('QR\x20image'+':\x20'+_0x3d267a);continue;case'5':console[_0xdd90a0(-0x1a7,-0x24a)](_0xdd90a0(_0x3e0d61._0x146f8a,_0x3e0d61._0x23f7c2)+'\x20'+formatLocalTime(_0x50941a[_0x3b47bd(_0x3e0d61._0x41eb3e,_0x3e0d61._0xdd5a3f)+_0xdd90a0(0x171,_0x3e0d61._0x3ce906)+_0xdd90a0(-_0x3e0d61._0x2bb815,-_0x3e0d61._0x5cf887)]));continue;}break;}}function printLocalPairingInfo(_0x425168,_0x260b09,_0x16d887,_0x1984bb,_0x4eeb7a,_0x16a179){const _0x4dc4ee={_0x12c99f:0xc4,_0x2d3a54:0x142,_0x19ccd6:0x16c,_0x59be2e:0x17d,_0x39d72e:0x1b6,_0x1d8b0b:0x351,_0x57d4ca:0x1e5,_0x39290a:0x33b,_0x1a0f1e:0xb8,_0x11bcd8:0x1d0,_0x7db724:0x1a7,_0x533eeb:0x14e,_0x3ad39f:0x194,_0x2a0ca5:0x288,_0x16459d:0x4ae,_0x456d87:0x1c3,_0x110eb1:0x182,_0x15bd9d:0x42e};function _0x2570d5(_0x2b2a6f,_0x5e6177){return _0x14f19b(_0x2b2a6f- -0x120,_0x5e6177);}console[_0x2a1169(-0x1b6,-_0x4dc4ee._0x12c99f)](_0x2a1169(-_0x4dc4ee._0x2d3a54,-0xe8)+_0x2a1169(-0x96,-_0x4dc4ee._0x19ccd6)+_0x425168);function _0x2a1169(_0x6df027,_0x451cf3){return _0x14f19b(_0x6df027- -0x535,_0x451cf3);}console['log'](_0x2a1169(-_0x4dc4ee._0x59be2e,-0x19a)+_0x2a1169(0x256,0x227)+_0x260b09),console[_0x2a1169(-_0x4dc4ee._0x39d72e,-_0x4dc4ee._0x1d8b0b)](_0x16a179?'\x0aScan\x20th'+_0x2a1169(0xa6,-0x17e)+_0x2a1169(_0x4dc4ee._0x57d4ca,0x40a)+_0x2a1169(_0x4dc4ee._0x39290a,_0x4dc4ee._0x1a0f1e)+_0x2a1169(-0x75,0x17e)+_0x2570d5(0x6c2,0x5a1)+'\x0a':'\x0aScan\x20th'+_0x2a1169(0x29b,0x36e)+_0x2570d5(0x44b,_0x4dc4ee._0x11bcd8)+_0x2a1169(_0x4dc4ee._0x7db724,_0x4dc4ee._0x533eeb)+_0x2a1169(0x224,_0x4dc4ee._0x3ad39f)+_0x2a1169(-0xb1,-_0x4dc4ee._0x2a0ca5));const _0x301e66={};_0x301e66[_0x2570d5(_0x4dc4ee._0x16459d,0x2fb)]=!![],_0x252066[_0x2a1169(0x98,_0x4dc4ee._0x456d87)](_0x1984bb,_0x301e66),console['log']('Expires:'+'\x20'+new Date(_0x16d887)[_0x2a1169(-0xb2,_0x4dc4ee._0x110eb1)+'String']()),console[_0x2570d5(0x25f,_0x4dc4ee._0x15bd9d)]('QR\x20image'+':\x20'+_0x4eeb7a);}function printStatus(){const _0x1de7a7={_0x3b286d:0x5c8,_0x34a1cb:0x3b7,_0x46238a:0x333,_0x385c95:0x4e1,_0x3e4a24:0x944,_0x3d7304:0x341,_0x2697e5:0x213,_0x6a9b46:0x5f6,_0x184f61:0x557,_0xaad389:0x42b,_0x3ef396:0x602,_0x16e58b:0x4fb,_0x195941:0x436,_0x59302c:0x875,_0x191d86:0x493,_0x56e6a7:0x23b,_0x412a4c:0x213,_0x538124:0x263,_0x4210ad:0x85c,_0x573dd5:0x88a,_0xac356d:0x6a4,_0xbc451f:0x61f,_0x1a3ba4:0x60a,_0x2787fd:0x286,_0x1cba2f:0x25f,_0x51aaff:0x3b7,_0x21038d:0x65a,_0x5500d4:0x4da},_0x263949={_0x44913c:0x71},_0x3a6d5b={'uQYFH':function(_0x511f53){return _0x511f53();}},_0x1658b2=readPairingConfig(),_0x3c8666=getServiceStatus();function _0x30ffc5(_0x5c18d8,_0x11789c){return _0x586208(_0x11789c- -0x133,_0x5c18d8);}const {logPath:_0x1f5747,errorLogPath:_0x5f53ab}=getServicePaths(),_0x1ad0b9=readCliVersion();console[_0x30ffc5(0x2c0,0x213)](_0x30ffc5(0x773,0x56e)+'\x20'+_0x1ad0b9);!_0x1658b2?console[_0x2ddda0(_0x1de7a7._0x3b286d,_0x1de7a7._0x34a1cb)]('Config:\x20'+_0x30ffc5(_0x1de7a7._0x46238a,0x371)+_0x2ddda0(0x3d0,_0x1de7a7._0x385c95)+_0x3a6d5b[_0x2ddda0(_0x1de7a7._0x3e4a24,0x700)](getPairingConfigPath)+')'):(console[_0x30ffc5(_0x1de7a7._0x3d7304,_0x1de7a7._0x2697e5)]('Config:\x20'+'paired'),console[_0x2ddda0(_0x1de7a7._0x6a9b46,_0x1de7a7._0x34a1cb)](_0x2ddda0(_0x1de7a7._0x184f61,_0x1de7a7._0xaad389)+'ID:\x20'+_0x1658b2[_0x2ddda0(_0x1de7a7._0x3ef396,0x434)+'d']),console['log'](_0x2ddda0(0x855,0x603)+':\x20'+_0x1658b2[_0x30ffc5(0x691,_0x1de7a7._0x16e58b)+'Id']),console[_0x2ddda0(0x2ad,_0x1de7a7._0x34a1cb)]('Server\x20U'+'RL:\x20'+_0x1658b2[_0x2ddda0(0x697,0x7a7)+'l']),console[_0x30ffc5(_0x1de7a7._0x195941,_0x1de7a7._0x2697e5)](_0x2ddda0(_0x1de7a7._0x59302c,0x685)+(_0x1658b2[_0x30ffc5(_0x1de7a7._0x191d86,0x387)+_0x30ffc5(0xba,_0x1de7a7._0x56e6a7)]??'-')));console[_0x30ffc5(0x156,_0x1de7a7._0x412a4c)]('Gateway:'+'\x20'+resolveGatewayUrl()),console[_0x2ddda0(_0x1de7a7._0x538124,0x3b7)]('Service:'+'\x20'+(_0x3c8666[_0x2ddda0(_0x1de7a7._0x4210ad,0x848)+'d']?_0x30ffc5(_0x1de7a7._0x573dd5,_0x1de7a7._0xac356d)+'d':_0x30ffc5(-0x62,0x21c)+'alled')+'\x20('+_0x3c8666[_0x2ddda0(0x68f,0x483)]+')'),console[_0x30ffc5(0x379,0x213)](_0x2ddda0(0x6c5,0x5e2)+'\x20'+(_0x3c8666['running']?_0x30ffc5(_0x1de7a7._0xbc451f,_0x1de7a7._0x1a3ba4):'no')),console[_0x2ddda0(0x467,0x3b7)](_0x30ffc5(0x342,_0x1de7a7._0x2787fd)+(_0x3c8666['serviceP'+_0x2ddda0(0x9e3,0x7a5)]||'-')),console['log'](_0x30ffc5(0x365,_0x1de7a7._0x1cba2f)+_0x1f5747);function _0x2ddda0(_0x2da164,_0x94115f){return _0x586208(_0x94115f-_0x263949._0x44913c,_0x2da164);}console[_0x2ddda0(0x354,_0x1de7a7._0x51aaff)]('Error\x20Lo'+'g:\x20'+_0x5f53ab),!_0x1658b2&&(process[_0x2ddda0(_0x1de7a7._0x21038d,_0x1de7a7._0x5500d4)]=0x1);}function printServiceResult(_0x276bf5,_0x41c1a1){const _0x59a4a5={_0x4ef5d8:0x6f9,_0x1fc911:0x391,_0x5458dd:0x417,_0x2350b4:0x55c,_0x453f41:0x4fc,_0x5e71ed:0x518,_0x8c44e0:0x487,_0x468373:0x668,_0xf5b670:0x3ea,_0x202b48:0x1a4,_0x550e7d:0x4d4,_0x3320b6:0x550,_0x59b346:0x1a0,_0x59422b:0x196,_0x2fb89c:0x9f,_0x2a4266:0x473},_0x1888a0={_0x2a1ac9:0x1a6},_0x1271a1={};_0x1271a1[_0x2959a6(_0x59a4a5._0x4ef5d8,0x550)]=_0x30c223(0x53b,0x2ee)+'d,\x20runni'+'ng',_0x1271a1[_0x2959a6(0x597,_0x59a4a5._0x1fc911)]=_0x2959a6(0x3b6,0x631)+_0x2959a6(_0x59a4a5._0x5458dd,_0x59a4a5._0x2350b4)+'ed';function _0x2959a6(_0x591442,_0x391921){return _0x586208(_0x391921- -_0x1888a0._0x2a1ac9,_0x591442);}function _0x30c223(_0x5cd6a6,_0x52ab5d){return _0x586208(_0x5cd6a6- -0x29c,_0x52ab5d);}_0x1271a1['OdhmD']=_0x2959a6(0x82,0x1a9)+_0x2959a6(_0x59a4a5._0x453f41,_0x59a4a5._0x5e71ed);const _0x2d33dd=_0x1271a1;_0x276bf5&&console['log'](_0x276bf5),console[_0x2959a6(0x3f6,0x1a0)](_0x30c223(_0x59a4a5._0x8c44e0,_0x59a4a5._0x468373)+'\x20'+(_0x41c1a1[_0x30c223(0x53b,0x330)+'d']?_0x41c1a1[_0x2959a6(_0x59a4a5._0xf5b670,_0x59a4a5._0x202b48)]?_0x2d33dd[_0x2959a6(_0x59a4a5._0x550e7d,_0x59a4a5._0x3320b6)]:_0x2d33dd['yYgCS']:_0x2d33dd['OdhmD'])),console[_0x2959a6(0x2fe,_0x59a4a5._0x59b346)](_0x30c223(_0x59a4a5._0x59422b,-_0x59a4a5._0x2fb89c)+'path:\x20'+(_0x41c1a1[_0x30c223(_0x59a4a5._0x2a4266,0x508)+'ath']||'-'));}function printDoctorReport(_0x3501ad){const _0x23da84={_0xa155c6:0x3d4,_0x16e5ac:0x31d,_0x2e23b7:0x455,_0x3df1bb:0x205,_0x43b4d6:0x71,_0x450b6e:0x1e1,_0x93753d:0x3ca,_0x54f5e3:0x723,_0xcf30fa:0x83,_0x2aab18:0x453,_0x3f4ce5:0x4e4,_0x283ca6:0x4ed,_0x33b0b3:0x35c,_0x344612:0x5a4,_0x2eb197:0x81e,_0x3d36a9:0x482,_0x1d996e:0x513,_0x4a6a30:0x3c3,_0x4c5f3b:0x8be,_0x1ae5d7:0x706,_0x449890:0x86,_0x2949a8:0x15c,_0x5a92ac:0x758,_0x1863ae:0x5c,_0x427a8f:0x4e,_0x43e6e4:0x84d,_0x118714:0xa08,_0x1f8bf4:0x4f7,_0x2bfc19:0x4a7,_0x2901be:0x24e,_0x511234:0x304,_0x3d8550:0x61b,_0xa28431:0x5c,_0x356c5e:0x1b3,_0x12617b:0x148,_0xf12f8b:0x85e,_0x10a2b8:0x9cd,_0x25097c:0x69c,_0xbefe87:0x651,_0x3cdd49:0x679,_0xb6bdca:0x204,_0x3faa7e:0x554,_0x40cfe8:0x472,_0x454043:0x3a4,_0x358ea1:0x120,_0x522c2b:0x5c7,_0x44423b:0x304,_0x360689:0x400,_0x2fc715:0x568,_0x34cf09:0x434,_0x3085e5:0x1c3,_0x218ca4:0x7c1,_0x42991d:0x88b,_0x563a7a:0x470,_0x2b24be:0x632,_0x171da3:0x7a3,_0x1a8b54:0x12d,_0x2ddd2c:0x869,_0x2ee7a0:0x683,_0x15531:0x69c,_0x2621b6:0x470,_0x5bdd8c:0x211,_0x9ed78d:0x71,_0x476e25:0x288,_0x310209:0x657,_0x56f0ac:0x783,_0x43bb23:0x43a,_0x12199b:0x47a,_0x1b13bf:0x18,_0x5b47cc:0x613},_0x5567cc={};function _0x1b69ab(_0x4f4c38,_0x15df75){return _0x586208(_0x4f4c38-0x12a,_0x15df75);}_0x5567cc['gbeuz']='not\x20inst'+_0x145e75(_0x23da84._0xa155c6,_0x23da84._0x16e5ac),_0x5567cc[_0x145e75(_0x23da84._0x2e23b7,_0x23da84._0x3df1bb)]=_0x145e75(_0x23da84._0x43b4d6,-_0x23da84._0x450b6e);const _0xd19ab3=_0x5567cc;console[_0x1b69ab(0x470,_0x23da84._0x93753d)](_0x1b69ab(_0x23da84._0x54f5e3,0x837)+(_0x3501ad[_0x145e75(0x268,_0x23da84._0xcf30fa)]?_0x145e75(_0x23da84._0x2aab18,0x29c):'no')),console[_0x145e75(0x5c,-0x1af)](_0x1b69ab(_0x23da84._0x3f4ce5,0x666)+'ID:\x20'+(_0x3501ad[_0x1b69ab(_0x23da84._0x283ca6,_0x23da84._0x33b0b3)+'d']??'-')),console[_0x1b69ab(0x470,0x219)](_0x1b69ab(_0x23da84._0x344612,_0x23da84._0x2eb197)+_0x145e75(0x3a0,0x601)+(_0x3501ad['serverUr'+'l']??'-')),console[_0x1b69ab(0x470,_0x23da84._0x3d36a9)](_0x145e75(_0x23da84._0x1d996e,_0x23da84._0x4a6a30)+_0x1b69ab(_0x23da84._0x4c5f3b,_0x23da84._0x1ae5d7)+(_0x3501ad[_0x145e75(_0x23da84._0x449890,0x155)]??'-')),console[_0x145e75(0x5c,0x206)](_0x145e75(0x2a8,0x38a)+_0x145e75(0x108,-_0x23da84._0x2949a8)+(_0x3501ad[_0x1b69ab(_0x23da84._0x5a92ac,0x893)+'Id']??'-'));function _0x145e75(_0x31b9bd,_0x26bbf5){return _0x586208(_0x31b9bd- -0x2ea,_0x26bbf5);}console[_0x145e75(_0x23da84._0x1863ae,_0x23da84._0x427a8f)](_0x1b69ab(_0x23da84._0x43e6e4,_0x23da84._0x118714)+'\x20'+(_0x3501ad['serviceI'+'nstalled']?_0x145e75(_0x23da84._0x283ca6,0x36e)+'d':_0xd19ab3[_0x1b69ab(0x70a,0x52f)])+'\x20('+_0x3501ad[_0x145e75(_0x23da84._0x1f8bf4,_0x23da84._0x2bfc19)+'ethod']+')'),console[_0x145e75(_0x23da84._0x1863ae,_0x23da84._0x2901be)](_0x1b69ab(0x55c,_0x23da84._0x511234)+'running:'+'\x20'+(_0x3501ad[_0x145e75(0x40d,0x1f0)+_0x1b69ab(0x583,0x501)]?_0x145e75(0x453,_0x23da84._0x3d8550):'no')),console[_0x145e75(_0x23da84._0xa28431,-_0x23da84._0x356c5e)](_0x145e75(_0x23da84._0x12617b,0x207)+_0x145e75(0x157,0x312)+(_0x3501ad[_0x1b69ab(0x839,0x6d0)+_0x1b69ab(_0x23da84._0xf12f8b,_0x23da84._0x10a2b8)]||'-')),console['log'](_0x145e75(0x4f2,_0x23da84._0x25097c)+':\x20'+_0x3501ad[_0x1b69ab(0x481,_0x23da84._0xbefe87)]),console[_0x1b69ab(0x470,_0x23da84._0x3cdd49)](_0x145e75(0x1dd,_0x23da84._0xb6bdca)+_0x1b69ab(_0x23da84._0x3faa7e,_0x23da84._0x40cfe8)+_0x3501ad[_0x145e75(_0x23da84._0x454043,0x355)+_0x145e75(_0x23da84._0x358ea1,0x288)]),console[_0x1b69ab(0x470,0x433)](_0x1b69ab(_0x23da84._0x522c2b,0x51b)+_0x145e75(_0x23da84._0x44423b,_0x23da84._0x360689)+_0x3501ad[_0x1b69ab(0x625,0x85f)+_0x1b69ab(_0x23da84._0x2fc715,_0x23da84._0x34cf09)+'r']),console[_0x145e75(0x5c,-_0x23da84._0x3085e5)](_0x1b69ab(0x5c7,_0x23da84._0x218ca4)+_0x1b69ab(_0x23da84._0x42991d,0x8a4)+_0x3501ad['openclaw'+'MediaDir']),console[_0x1b69ab(_0x23da84._0x563a7a,_0x23da84._0x2b24be)](_0x145e75(0x1b3,0x228)+'\x20config:'+'\x20'+(_0x3501ad[_0x1b69ab(0x625,_0x23da84._0x171da3)+_0x145e75(0x541,0x49b)+_0x145e75(0x5a,-_0x23da84._0x1a8b54)]?_0xd19ab3[_0x1b69ab(_0x23da84._0x2ddd2c,_0x23da84._0x2ee7a0)]:_0x1b69ab(_0x23da84._0x15531,0x830))),console[_0x1b69ab(_0x23da84._0x2621b6,0x23d)]('OpenClaw'+'\x20token:\x20'+(_0x3501ad[_0x145e75(_0x23da84._0x5bdd8c,0x144)+_0x145e75(0x53b,0x435)+'nd']?_0x145e75(_0x23da84._0x9ed78d,0xd1):_0x145e75(_0x23da84._0x476e25,0x369))),console[_0x1b69ab(0x470,_0x23da84._0x310209)](_0x145e75(0xd0,0x124)+'URL:\x20'+_0x3501ad[_0x1b69ab(0x89d,_0x23da84._0x56f0ac)+_0x145e75(_0x23da84._0x43bb23,0x484)]),console[_0x1b69ab(0x470,_0x23da84._0x12199b)](_0x145e75(0xd0,-_0x23da84._0x1b13bf)+_0x145e75(0x261,0x5b)+'e:\x20'+(_0x3501ad['localGat'+'ewayReac'+'hable']?_0x1b69ab(0x867,_0x23da84._0x5b47cc):'no'));}function requirePairingConfig(){const _0x209390={_0x37389b:0x350,_0x226ea0:0x296},_0x385809={'fOVMD':function(_0x39d34f){return _0x39d34f();}},_0x472369=readPairingConfig();function _0x46d6d0(_0x12608e,_0xbc261d){return _0x14f19b(_0x12608e- -0x288,_0xbc261d);}function _0x1c40e0(_0x49160f,_0x5a40e6){return _0x14f19b(_0x5a40e6- -0x17a,_0x49160f);}return!_0x472369&&(console[_0x46d6d0(0x5af,0x75b)]('Not\x20pair'+'ed.\x20Run\x20'+_0x46d6d0(0x371,0x45b)+_0x46d6d0(0x39d,0x3e0)+_0x1c40e0(_0x209390._0x37389b,0x56a)+_0x1c40e0(0x2a1,0x349)+'h:\x20'+_0x385809[_0x1c40e0(_0x209390._0x226ea0,0x22c)](getPairingConfigPath)),process[_0x1c40e0(0x430,0x2cf)](0x1)),_0x472369;}function readFlag(_0xf19565,_0x337caf){const _0x30b408={_0x278027:0x187},_0x5a0fb2={_0x8c58a5:0x42d},_0x493629={};_0x493629['EvrTP']=function(_0x21896f,_0x4e4292){return _0x21896f+_0x4e4292;};function _0xd85871(_0x17ee0f,_0x746f83){return _0x14f19b(_0x746f83- -_0x5a0fb2._0x8c58a5,_0x17ee0f);}const _0x5e38c4=_0x493629,_0x5f3755=_0xf19565[_0xe4593a(0x197,0x18b)](_0x337caf);function _0xe4593a(_0x2720e7,_0x5abfa6){return _0x14f19b(_0x5abfa6- -0x43f,_0x2720e7);}if(_0x5f3755<0x0)return null;const _0x411f3d=_0xf19565[_0x5e38c4['EvrTP'](_0x5f3755,0x1)];return _0x411f3d?.[_0xe4593a(_0x30b408._0x278027,0x9f)]()?_0x411f3d['trim']():null;}function hasFlag(_0x50f34f,_0x51426f){return _0x50f34f['includes'](_0x51426f);}function readPairSubcommand(_0x4c0870){const _0x4920d3={_0x4c7c7d:0x4b0};function _0x2f0489(_0xc2c544,_0x391314){return _0x586208(_0x391314-0xb,_0xc2c544);}for(const _0x18a3d0 of _0x4c0870){if(!_0x18a3d0['startsWi'+'th']('-'))return _0x18a3d0[_0x2f0489(0x32e,_0x4920d3._0x4c7c7d)]()||null;}return null;}function printHelp(){const _0x408708={_0x179f0f:0xd,_0x441f53:0x78d,_0x555740:0x8ce,_0x5e6957:0x3c3,_0x56408d:0x97b,_0x4a20fc:0xaca,_0x52e45e:0x7ae,_0x3647ff:0x95e,_0x287901:0x712,_0x89d078:0x316,_0x28c9d4:0x1d6,_0x539af8:0x62e,_0x570381:0x2df,_0x5cca73:0xac2,_0x4a552f:0x93a,_0xe68618:0xac3,_0x5c2f97:0x70f,_0x428117:0x961,_0x104375:0xaf5,_0xcf0a58:0x2f2,_0x1657d3:0x7f9,_0x5ca532:0x277,_0x32970b:0x54b,_0x277e06:0x136,_0x7ce9f8:0x661,_0x4c192a:0x270,_0x3c1995:0xe0,_0x37ee05:0x4d3,_0x58ef1d:0xb46,_0x119516:0x88d,_0x2ee293:0x13c,_0x355238:0x2ad,_0x2c9131:0x19b,_0x1f1319:0x7b9,_0x4adf80:0x25a,_0x3205df:0x44e,_0x8fc991:0x961,_0x3fecb1:0xae1,_0x2ab262:0x774,_0x46d3bf:0x316,_0x31b69c:0x374,_0x4ed7d8:0x359,_0x2af5ac:0x765,_0x43c9fc:0x316,_0x5499b9:0xe0,_0x36119a:0xf6,_0x4aba17:0x776,_0x2321ef:0x24e,_0x4b6b62:0x37d,_0x3963ca:0x4f8,_0x49d7d9:0x57b},_0x1fc52d={_0x1b46ac:0x186},_0xc2cdaa={_0x28c4f6:0x4c5},_0x382c7f={};function _0x40ae6f(_0x270277,_0x13b37a){return _0x14f19b(_0x270277- -_0xc2cdaa._0x28c4f6,_0x13b37a);}_0x382c7f[_0x40ae6f(0x1a1,_0x408708._0x179f0f)]=_0x4eb095(0x961,_0x408708._0x441f53)+_0x4eb095(0x958,_0x408708._0x555740)+_0x40ae6f(0x1e0,_0x408708._0x5e6957)+_0x4eb095(_0x408708._0x56408d,_0x408708._0x4a20fc)+_0x4eb095(_0x408708._0x52e45e,_0x408708._0x3647ff)+_0x40ae6f(0xa0,-0x6c)+_0x4eb095(0x854,0x9b0)+'qr-file\x20'+'<path>]\x20'+_0x40ae6f(0x375,0x1b2)+_0x4eb095(_0x408708._0x287901,0x4d8)+'e]',_0x382c7f['RKWJs']=_0x40ae6f(_0x408708._0x89d078,_0x408708._0x28c9d4)+_0x40ae6f(0x5d,0x1a5)+'code\x20[--'+_0x4eb095(_0x408708._0x539af8,0x43d)+_0x40ae6f(0x7d,_0x408708._0x570381)+_0x4eb095(0x9c0,_0x408708._0x5cca73),_0x382c7f[_0x4eb095(_0x408708._0x4a552f,_0x408708._0xe68618)]=_0x40ae6f(0x316,0x346)+_0x4eb095(0x655,_0x408708._0x5c2f97),_0x382c7f['ualQS']=_0x4eb095(_0x408708._0x428117,_0x408708._0x104375)+_0x40ae6f(_0x408708._0xcf0a58,0x21f)+_0x4eb095(_0x408708._0x1657d3,0x816)+'>]\x20[--li'+_0x40ae6f(_0x408708._0x5ca532,0x26f)+'>]\x20[--er'+_0x4eb095(_0x408708._0x32970b,0x3ab)+_0x40ae6f(0x34,-0x22d);function _0x4eb095(_0x5b83c7,_0x191778){return _0x14f19b(_0x5b83c7-_0x1fc52d._0x1b46ac,_0x191778);}const _0x286f2f=_0x382c7f;console[_0x40ae6f(-0x146,0x71)]([_0x286f2f['neIfk'],_0x4eb095(0x961,0x7ba)+_0x40ae6f(-_0x408708._0x277e06,-0x1f2)+'al\x20[--ur'+_0x4eb095(0x882,_0x408708._0x7ce9f8)+_0x4eb095(0x9d8,0xa84)+_0x40ae6f(_0x408708._0x4c192a,0x194)+'r-file\x20<'+'path>]\x20['+_0x40ae6f(-_0x408708._0x3c1995,-0x285),_0x40ae6f(_0x408708._0x89d078,_0x408708._0x37ee05)+_0x4eb095(0x9bb,_0x408708._0x58ef1d)+_0x40ae6f(0x135,0x3b2)+'url\x20<ws:'+_0x40ae6f(-0x56,0x1d7)+'ort>]\x20[-'+_0x4eb095(0x69a,_0x408708._0x52e45e)+_0x40ae6f(0x34d,0x199)+'\x20[--json'+']',_0x286f2f[_0x4eb095(_0x408708._0x119516,0x83f)],_0x286f2f['fsVwj'],_0x4eb095(0x961,0x79e)+_0x40ae6f(_0x408708._0x2ee293,_0x408708._0x355238),_0x4eb095(0x961,0x81c)+_0x40ae6f(-0x97,_0x408708._0x2c9131),_0x4eb095(0x961,_0x408708._0x1f1319)+_0x40ae6f(_0x408708._0x4adf80,_0x408708._0x3205df),_0x4eb095(_0x408708._0x8fc991,_0x408708._0x3fecb1)+_0x4eb095(_0x408708._0x2ab262,0x55c)+'l',_0x40ae6f(_0x408708._0x46d3bf,_0x408708._0x31b69c)+_0x40ae6f(-0x12c,-0x102),_0x40ae6f(_0x408708._0x89d078,_0x408708._0x4ed7d8)+_0x4eb095(0x53f,_0x408708._0x2af5ac),_0x286f2f['ualQS'],_0x40ae6f(_0x408708._0x43c9fc,0x3c6)+'doctor\x20['+_0x40ae6f(-_0x408708._0x5499b9,_0x408708._0x36119a),'clawket\x20'+_0x4eb095(_0x408708._0x4aba17,0x83a)+'ateway-u'+_0x40ae6f(0x3a5,_0x408708._0x2321ef)+_0x40ae6f(_0x408708._0x4b6b62,_0x408708._0x3963ca)+'.1:18789'+_0x4eb095(_0x408708._0x49d7d9,0x76d)+_0x40ae6f(0x29d,0x308)]['join']('\x0a'));}function formatLocalTime(_0x822f64){const _0x28e93d={_0x405dc3:0x65b,_0x5a0911:0xf6,_0x5e9c82:0x167},_0x55efa2={_0x25f6de:0xa7},_0x2685dd=new Date(_0x822f64);if(Number[_0x14ae08(_0x28e93d._0x405dc3,0x501)](_0x2685dd[_0x2ea725(-_0x28e93d._0x5a0911,_0x28e93d._0x5e9c82)]()))return _0x822f64;function _0x14ae08(_0x4ff69a,_0x46575f){return _0x14f19b(_0x4ff69a- -_0x55efa2._0x25f6de,_0x46575f);}function _0x2ea725(_0x43fa24,_0x8ad70){return _0x14f19b(_0x43fa24- -0x5fe,_0x8ad70);}return _0x2685dd['toLocale'+'String']();}function formatError2(_0x235e48){const _0x10cc43={_0x339acc:0x388};function _0x2e424e(_0x421e9c,_0x37b7d2){return _0x14f19b(_0x421e9c- -0x5c5,_0x37b7d2);}return _0x235e48 instanceof Error?_0x235e48[_0x2e424e(-0x161,-_0x10cc43._0x339acc)]:String(_0x235e48);}function printJson(_0x39d049){const _0x423461={_0x4889be:0x1dd,_0x20bbb1:0x234},_0x1e4d8a={_0x5229cb:0x31d},_0x8909={_0x423afe:0x43a};function _0x337e0c(_0x1ec776,_0x54ba4e){return _0x586208(_0x54ba4e- -_0x8909._0x423afe,_0x1ec776);}function _0x2c8c73(_0x752759,_0x3895d5){return _0x586208(_0x3895d5- -_0x1e4d8a._0x5229cb,_0x752759);}console[_0x2c8c73(0xe3,0x29)](JSON[_0x2c8c73(_0x423461._0x4889be,_0x423461._0x20bbb1)+'y'](_0x39d049,null,0x2));}main()[_0x586208(0x427,0x258)](_0x5b012b=>{const _0x4369bc={_0x5c7c56:0x53b},_0xe5dcec={_0x17cc24:0x2c3};function _0x183c03(_0x3e2b1e,_0x57fa38){return _0x586208(_0x3e2b1e- -_0xe5dcec._0x17cc24,_0x57fa38);}console[_0x183c03(_0x4369bc._0x5c7c56,0x5ea)](formatError2(_0x5b012b));function _0x336a2f(_0x316fe9,_0xa95a3b){return _0x586208(_0xa95a3b- -0x522,_0x316fe9);}process[_0x183c03(0x14d,-0x12)](0x1);});