@p697/clawket 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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(_0xe82415,_0x50da81){const _0x775058={_0x1fca47:0x47,_0x51b80e:0x5ef,_0x300cca:0x47f,_0x2e0e11:0x2f},_0x57387b=_0xe82415();function _0xfd2095(_0x322308,_0x364ecb){return _0xd787(_0x322308- -0x3bd,_0x364ecb);}function _0x2ee780(_0x4b57c5,_0x40c38d){return _0xd787(_0x40c38d-0x10d,_0x4b57c5);}while(!![]){try{const _0x1530b9=parseInt(_0x2ee780(0x3ca,0x292))/0x1+-parseInt(_0xfd2095(-_0x775058._0x1fca47,-0xc1))/0x2+-parseInt(_0x2ee780(0x6e3,_0x775058._0x51b80e))/0x3+parseInt(_0x2ee780(0x50c,_0x775058._0x300cca))/0x4+parseInt(_0x2ee780(0x670,0x607))/0x5+-parseInt(_0x2ee780(0x555,0x3ba))/0x6+parseInt(_0xfd2095(-0x14e,-_0x775058._0x2e0e11))/0x7*(parseInt(_0xfd2095(-0x1f1,-0x4a))/0x8);if(_0x1530b9===_0x50da81)break;else _0x57387b['push'](_0x57387b['shift']());}catch(_0x746610){_0x57387b['push'](_0x57387b['shift']());}}}(_0x3788,0x18c4c));const _0x3430ea=(function(){const _0x1a4e13={_0x3830fa:0x14d};let _0x300007=!![];return function(_0x2d8862,_0x388178){const _0x1d85a7={_0x48fe0:0x39a},_0x960d21=_0x300007?function(){function _0x3b81ff(_0x299412,_0x46fd12){return _0xd787(_0x299412- -_0x1d85a7._0x48fe0,_0x46fd12);}if(_0x388178){const _0x4af5ef=_0x388178[_0x3b81ff(-0x89,-_0x1a4e13._0x3830fa)](_0x2d8862,arguments);return _0x388178=null,_0x4af5ef;}}:function(){};return _0x300007=![],_0x960d21;};}()),_0x485fb5=_0x3430ea(this,function(){const _0x4ba814={_0x5591da:0x270,_0x486773:0x4ab,_0x17cbcc:0xe3,_0x2bb628:0xc6,_0x77ecd4:0x11c,_0x19e42e:0x194};function _0x28ef74(_0x52abae,_0xb5556c){return _0xd787(_0x52abae-0x173,_0xb5556c);}function _0x4b3ac7(_0x5aa9a2,_0x175cfe){return _0xd787(_0x5aa9a2- -0x193,_0x175cfe);}return _0x485fb5[_0x4b3ac7(0x104,0x2b8)]()[_0x28ef74(0x42d,_0x4ba814._0x5591da)]('(((.+)+)'+_0x28ef74(0x65b,_0x4ba814._0x486773))['toString']()[_0x4b3ac7(0x1d8,_0x4ba814._0x17cbcc)+_0x4b3ac7(0x19a,0x1e3)](_0x485fb5)[_0x4b3ac7(0x127,_0x4ba814._0x2bb628)](_0x4b3ac7(_0x4ba814._0x77ecd4,_0x4ba814._0x19e42e)+'+)+$');});_0x485fb5();import _0x45a1c1 from'qrcode-terminal';import{readFileSync as _0x1ff118}from'fs';import{Socket}from'net';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';function _0x17b889(_0x3c1db5,_0x479279){return _0xd787(_0x3c1db5- -0x91,_0x479279);}import{randomUUID}from'crypto';import{homedir,hostname}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0x17b889(0x267,0x424)),CONFIG_PATH=join(CONFIG_DIR,'bridge-c'+_0x1cec38(0x17,0x11d));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x243930={_0x56bfde:0x527,_0x58bdee:0x542,_0x543b18:0x100,_0x524bcd:0x168,_0x390d48:0xea,_0x528038:0x3e6,_0x42b39d:0x749,_0x4150ce:0x511,_0x2dafa3:0x5f0,_0x3525e7:0x773,_0x53fa82:0x63e,_0x5b52f8:0x798,_0x299a45:0x663,_0x5524dc:0x6ee},_0x83e352={_0x2c8ff3:0x10b},_0x481c6d={_0x5a6a3d:0x521};function _0x4643da(_0x592118,_0x2e0cb9){return _0x1cec38(_0x592118,_0x2e0cb9-_0x481c6d._0x5a6a3d);}const _0x32c35e={'RhipG':function(_0x3a905c){return _0x3a905c();}};if(!existsSync(CONFIG_PATH))return null;function _0x52b02a(_0x4d9520,_0x1a79df){return _0x1cec38(_0x4d9520,_0x1a79df- -_0x83e352._0x2c8ff3);}try{const _0x36265f=JSON[_0x4643da(_0x243930._0x56bfde,0x52d)](readFileSync(CONFIG_PATH,'utf8'));if(!_0x36265f[_0x4643da(0x4ba,_0x243930._0x58bdee)+'l']||!_0x36265f[_0x52b02a(-_0x243930._0x543b18,-0xe5)+'d']||!_0x36265f[_0x4643da(0x873,0x74f)+'ret']||!_0x36265f['relayUrl'])return null;const _0x5c1458={'serverUrl':_0x36265f[_0x52b02a(-_0x243930._0x524bcd,-_0x243930._0x390d48)+'l'],'gatewayId':_0x36265f[_0x4643da(_0x243930._0x528038,0x547)+'d'],'relaySecret':_0x36265f[_0x4643da(_0x243930._0x42b39d,0x74f)+_0x4643da(0x48c,_0x243930._0x4150ce)],'relayUrl':_0x36265f['relayUrl'],'instanceId':_0x36265f[_0x52b02a(-0x194,-0x1b9)+'Id']?.[_0x4643da(0x64b,0x6d8)]()||_0x32c35e[_0x4643da(_0x243930._0x2dafa3,_0x243930._0x3525e7)](createInstanceId),'displayName':_0x36265f['displayN'+_0x4643da(_0x243930._0x53fa82,_0x243930._0x5b52f8)]??null,'createdAt':_0x36265f[_0x52b02a(0xcd,0xa4)+'t']??new Date()['toISOStr'+_0x52b02a(0x7c,0xce)](),'updatedAt':_0x36265f[_0x4643da(_0x243930._0x299a45,_0x243930._0x5524dc)+'t']??new Date()[_0x52b02a(0x13,0x170)+'ing']()};return _0x36265f[_0x52b02a(-0x2c1,-0x1b9)+'Id']!==_0x5c1458['instance'+'Id']&&writePairingConfig(_0x5c1458),_0x5c1458;}catch{return null;}}function writePairingConfig(_0x4e3bfe){const _0x47ae0b={_0x4e0d93:0x41b,_0x476b78:0x4dd,_0x5d8165:0x508},_0x5cf66a={_0x509eac:0x373},_0x3816b1={};function _0x19dcc7(_0x82258e,_0x53b77d){return _0x1cec38(_0x82258e,_0x53b77d-0x228);}_0x3816b1['aDUEb']=function(_0x3ee72f,_0x1bb364){return _0x3ee72f+_0x1bb364;};const _0x20e246=_0x3816b1,_0x338d9b={};_0x338d9b[_0x19dcc7(0x33c,_0x47ae0b._0x4e0d93)+'e']=!![];function _0x45a483(_0x11d011,_0xde8397){return _0x1cec38(_0x11d011,_0xde8397-_0x5cf66a._0x509eac);}mkdirSync(CONFIG_DIR,_0x338d9b),writeFileSync(CONFIG_PATH,_0x20e246[_0x45a483(_0x47ae0b._0x476b78,0x4b7)](JSON[_0x19dcc7(_0x47ae0b._0x5d8165,0x375)+'y'](_0x4e3bfe,null,0x2),'\x0a'),_0x45a483(0x426,0x462));}function deletePairingConfig(){if(!existsSync(CONFIG_PATH))return;const _0xbd68ca={};_0xbd68ca['force']=!![],rmSync(CONFIG_PATH,_0xbd68ca);}function createInstanceId(){const _0x14891b={_0x5476ae:0x19,_0x11e98a:0xa1,_0x4b0144:0x1c4},_0x1e67d4={_0x3e2603:0x34},_0x1a4051={_0x1f4cac:0x270},_0x1bf29b={'bKRPN':function(_0x32d652,_0x561491){return _0x32d652(_0x561491);},'JHLDj':function(_0x2712bd){return _0x2712bd();}},_0x13e2f2=_0x1bf29b[_0x422ed1(-_0x14891b._0x5476ae,-_0x14891b._0x11e98a)](sanitizeId,hostname()||_0x422ed1(-0x1a,-_0x14891b._0x4b0144));function _0xa70278(_0x2d967d,_0x1236ee){return _0x1cec38(_0x1236ee,_0x2d967d-_0x1a4051._0x1f4cac);}function _0x422ed1(_0x3bea5d,_0x517203){return _0x1cec38(_0x517203,_0x3bea5d- -_0x1e67d4._0x3e2603);}return'inst-'+_0x13e2f2+'-'+_0x1bf29b['JHLDj'](randomUUID)[_0x422ed1(0x271,0x275)](0x0,0xa);}function sanitizeId(_0x1d0551){const _0x12ef9c={_0x437452:0x83b,_0x3b9e74:0x39f},_0xb88d3d={_0x57ddba:0x525};function _0x299fbd(_0x2d4c63,_0x56011e){return _0x1cec38(_0x56011e,_0x2d4c63-0x439);}function _0x3d2f7b(_0x5bd373,_0x184f0a){return _0x1cec38(_0x184f0a,_0x5bd373-_0xb88d3d._0x57ddba);}return _0x1d0551['trim']()['toLowerC'+_0x3d2f7b(0x7be,_0x12ef9c._0x437452)]()['replace'](/[^a-z0-9._-]+/g,'-')[_0x3d2f7b(0x656,0x809)](/^-+|-+$/g,'')||_0x3d2f7b(0x53f,_0x12ef9c._0x3b9e74);}function buildPairingQrPayload(_0x4f82fd){const _0x358939={_0x42d649:0x3ee,_0x5c2920:0x378,_0x37f8f2:0x4d7,_0xc65f3d:0x4e6,_0xbd698a:0x51e,_0x218263:0x1df,_0x2ffea6:0x11f,_0x173192:0x42e,_0x401d83:0x3f0,_0x1b6cb3:0x405,_0x440795:0x479,_0x301c70:0x3f0,_0x23fa1a:0x4f6,_0xba5ff7:0xa3,_0x3a079c:0x11f,_0x54262f:0x1ff},_0x29ffb7={_0x4196ae:0x239},_0x576076={};_0x576076['v']=0x2,_0x576076['k']='cp',_0x576076['s']=_0x4f82fd[_0x38759c(_0x358939._0x42d649,_0x358939._0x5c2920)],_0x576076['g']=_0x4f82fd[_0x17f36b(-0x110,-0x72)+'d'],_0x576076['a']=_0x4f82fd[_0x38759c(_0x358939._0x37f8f2,0x3a9)+'de'];const _0x41c30b=_0x576076;function _0x17f36b(_0xa0733c,_0x2bb694){return _0x1cec38(_0xa0733c,_0x2bb694- -0x98);}_0x4f82fd[_0x38759c(_0x358939._0xc65f3d,_0x358939._0xbd698a)+_0x17f36b(0x140,_0x358939._0x218263)]?.[_0x17f36b(0x1c1,_0x358939._0x2ffea6)]()&&(_0x41c30b['n']=_0x4f82fd[_0x38759c(_0x358939._0xc65f3d,_0x358939._0x173192)+'ame'][_0x38759c(_0x358939._0x401d83,_0x358939._0x1b6cb3)]());function _0x38759c(_0x3786f2,_0x5a207c){return _0x1cec38(_0x5a207c,_0x3786f2-_0x29ffb7._0x4196ae);}return _0x4f82fd[_0x38759c(_0x358939._0x440795,0x336)]?.[_0x38759c(_0x358939._0x301c70,_0x358939._0x23fa1a)]()&&(_0x41c30b['t']=_0x4f82fd[_0x38759c(_0x358939._0x440795,0x3d9)][_0x17f36b(-_0x358939._0xba5ff7,_0x358939._0x3a079c)]()),JSON[_0x38759c(0x386,_0x358939._0x54262f)+'y'](_0x41c30b);}async function pairGateway(_0xd178b1){const _0x7f1a29={_0x18a6c4:0x377,_0x5afa93:0x234,_0x426882:0xfb,_0x11864b:0x1a4,_0x5c8fb2:0x1ce,_0x19ea06:0x28d,_0x16b878:0x229,_0xf1957:0x19d,_0x1d6c94:0x209,_0x19c1f5:0x411,_0x171b10:0x4cc,_0x4486f3:0x19c,_0x436e07:0x2e7,_0x58e838:0x3f8,_0x59de87:0x3d7,_0x36c606:0x168,_0x5d1ebf:0x42c,_0x4d5f42:0x19a,_0x15c0f3:0x3b0,_0x1448ec:0x51c,_0x1bbfb4:0x31b,_0x3caa9c:0x2cc,_0x290316:0x307,_0x32de8e:0x453,_0x51f726:0x43e,_0x3165e3:0x40a,_0x276463:0x36c,_0x290a92:0x37f,_0x1f0ffb:0x547,_0x599bb2:0x242,_0x25cdf8:0x2b1,_0x46da8b:0x431,_0x45a1ee:0x424,_0x489e37:0x35d,_0xa57f29:0x2e3,_0x3d3dd:0x3c6,_0xe5ba07:0x125,_0x3b0f29:0x36,_0x5c6426:0x13c,_0x350118:0x257,_0x228450:0x3f9,_0x181caa:0x1b1,_0xa70043:0x2d0,_0x25ec91:0x29d,_0x58eb40:0x537,_0x5d3070:0x44b,_0x5f34fd:0x5ba,_0x48038d:0x284,_0x4a73eb:0x30d},_0x411ec9={'ICaiM':function(_0x5491b1,_0x1ca77c){return _0x5491b1(_0x1ca77c);},'ENilu':function(_0x47c3b2){return _0x47c3b2();},'wAEoQ':function(_0x3cb472,_0x110305){return _0x3cb472===_0x110305;},'BWzjt':'POST','jVnMA':_0x486893(0x369,0x367)+_0x486893(_0x7f1a29._0x18a6c4,0x49e),'xXnKY':function(_0x46a510,_0x45eefd){return _0x46a510(_0x45eefd);},'GAGQA':_0x527a30(0x248,0x17c)+'ed','VXgeZ':function(_0x58de6a,_0x1ff96c){return _0x58de6a(_0x1ff96c);}},_0x50e4e0=_0x411ec9['ICaiM'](normalizeHttpBase,_0xd178b1['serverUr'+'l']),_0x517c0b=_0x411ec9[_0x486893(_0x7f1a29._0x5afa93,0x342)](readPairingConfig),_0x487e01=assessPairingCompatibility(_0x517c0b,_0x50e4e0);if(_0x487e01===_0x486893(_0x7f1a29._0x426882,0xd0)+_0x527a30(0x2fc,_0x7f1a29._0x11864b)&&_0x517c0b){const _0x42a219={};return _0x42a219['serverUr'+'l']=_0x517c0b[_0x486893(_0x7f1a29._0x5c8fb2,0x303)+'l'],_0x42a219[_0x527a30(0x28d,0x3d0)+'d']=_0x517c0b[_0x527a30(_0x7f1a29._0x19ea06,_0x7f1a29._0x16b878)+'d'],_0x42a219[_0x486893(0x3db,0x22d)+_0x486893(_0x7f1a29._0xf1957,_0x7f1a29._0x1d6c94)]=_0x517c0b[_0x527a30(0x495,_0x7f1a29._0x19c1f5)+'ret'],_0x42a219['gatewayT'+'oken']=_0xd178b1[_0x527a30(0x48c,_0x7f1a29._0x171b10)+'oken'],_0x411ec9[_0x527a30(_0x7f1a29._0x4486f3,0x2d8)](refreshAccessCode,_0x42a219);}if(_0x411ec9['wAEoQ'](_0x487e01,_0x486893(0x2a1,_0x7f1a29._0x436e07)+_0x527a30(_0x7f1a29._0x58e838,_0x7f1a29._0x59de87)))throw new Error(_0x486893(_0x7f1a29._0x36c606,0x235)+_0x486893(_0x7f1a29._0x5d1ebf,0x3a7)+'lready\x20p'+_0x486893(0x32d,_0x7f1a29._0x4d5f42)+_0x486893(_0x7f1a29._0x15c0f3,_0x7f1a29._0x1448ec)+_0x517c0b?.[_0x486893(0x1ce,_0x7f1a29._0x1bbfb4)+'l']+(_0x527a30(_0x7f1a29._0x3caa9c,0x3cc)+_0x486893(_0x7f1a29._0x290316,0x41f)+'eset\x22\x20be'+_0x486893(0xf6,0x109)+_0x486893(_0x7f1a29._0x32de8e,_0x7f1a29._0x51f726)+'h\x20a\x20diff'+_0x486893(_0x7f1a29._0x3165e3,_0x7f1a29._0x276463)+_0x527a30(_0x7f1a29._0x290a92,_0x7f1a29._0x1f0ffb)));const _0x37cbd0=await fetch(_0x50e4e0+(_0x486893(0x13a,-0x21)+_0x486893(0x1c2,0x9d)+'r'),{'method':_0x411ec9['BWzjt'],'headers':{'content-type':_0x411ec9[_0x527a30(_0x7f1a29._0x599bb2,_0x7f1a29._0x25cdf8)],'accept':'applicat'+_0x527a30(_0x7f1a29._0x46da8b,0x3e5)},'body':JSON['stringif'+'y']({'displayName':_0xd178b1[_0x486893(0x45a,0x368)+_0x486893(_0x7f1a29._0x45a1ee,_0x7f1a29._0x489e37)]?.['trim']()||null})});if(!_0x37cbd0['ok'])throw new Error(_0x486893(0x411,0x4b7)+'ister\x20fa'+_0x486893(_0x7f1a29._0xa57f29,_0x7f1a29._0x3d3dd)+_0x37cbd0[_0x527a30(0x3fc,0x57c)]+'):\x20'+await _0x37cbd0[_0x486893(_0x7f1a29._0xe5ba07,-_0x7f1a29._0x3b0f29)]());const _0x35fe05=await _0x37cbd0[_0x486893(_0x7f1a29._0x5c6426,0x159)](),_0x21992d=new Date()['toISOStr'+_0x527a30(0x440,0x45d)](),_0x67e614={'serverUrl':_0x50e4e0,'gatewayId':_0x35fe05['gatewayI'+'d'],'relaySecret':_0x35fe05[_0x527a30(0x495,0x4b3)+_0x527a30(_0x7f1a29._0x350118,_0x7f1a29._0x228450)],'relayUrl':_0x35fe05[_0x527a30(_0x7f1a29._0x181caa,0x87)],'instanceId':_0x517c0b?.['instance'+'Id']??_0x486893(_0x7f1a29._0xa70043,0x1c6)+_0x35fe05[_0x527a30(_0x7f1a29._0x19ea06,_0x7f1a29._0x25ec91)+'d'][_0x486893(0x452,_0x7f1a29._0x58eb40)](-0xa),'displayName':_0x35fe05['displayN'+'ame'],'createdAt':_0x21992d,'updatedAt':_0x21992d};function _0x486893(_0x1a287c,_0x5cba4b){return _0x1cec38(_0x5cba4b,_0x1a287c-0x1ad);}function _0x527a30(_0xb0aab0,_0x11eb06){return _0x1cec38(_0x11eb06,_0xb0aab0-0x267);}return _0x411ec9[_0x486893(0x20f,_0x7f1a29._0x290a92)](writePairingConfig,_0x67e614),{'config':_0x67e614,'accessCode':_0x35fe05[_0x486893(_0x7f1a29._0x5d3070,0x5b4)+'de'],'accessCodeExpiresAt':_0x35fe05[_0x486893(0x44b,0x2e0)+'deExpire'+_0x527a30(0x4ca,0x579)],'action':_0x411ec9[_0x527a30(0x48d,_0x7f1a29._0x5f34fd)],'qrPayload':_0x411ec9[_0x527a30(_0x7f1a29._0x48038d,_0x7f1a29._0x4a73eb)](buildPairingQrPayload,{'server':_0x50e4e0,'gatewayId':_0x35fe05[_0x527a30(0x28d,0x109)+'d'],'accessCode':_0x35fe05[_0x527a30(0x505,0x425)+'de'],'displayName':_0x35fe05['displayN'+'ame'],'token':_0xd178b1['gatewayT'+_0x527a30(0x46e,0x50c)]?.['trim']()||null})};}async function refreshAccessCode(_0x477be5){const _0x2c796f={_0x18b0db:0x26b,_0x3b3df5:0x2be,_0x43109c:0x33d,_0xc7c99b:0x19b,_0x484dbe:0x1e3,_0x4515ac:0x15c,_0x574f5e:0x5,_0x1daf50:0x1b2,_0x3e8cc4:0x30d,_0x3e80dd:0x155,_0xbf3e48:0x1bd,_0x2ace86:0x63,_0x55ebd9:0x1a5,_0x10b784:0x1d6,_0x58575c:0x122,_0x1dd5c2:0x2a,_0x3f3a79:0x115,_0x19086d:0x15d,_0x346d65:0x45,_0x3da12b:0x47,_0x5cfeec:0x204,_0x3e0395:0x120,_0x3013bf:0x199,_0x443810:0x23f,_0x65fde5:0x94,_0x4093fe:0x14f,_0x2c56fb:0xe6,_0x13bdba:0x128,_0x3fe30:0x123,_0x388a78:0xae,_0xd98895:0x63,_0x50a6b0:0x2f3,_0x1db0c6:0x37f,_0x29dfb3:0x1ec,_0x222838:0x345,_0x5afa22:0x395,_0x2ca9bd:0x206,_0x1f1a3d:0x2db,_0x13abe2:0x25f,_0x1ffe57:0x229,_0x37016a:0x1b7,_0x4d9f49:0xe9,_0x46e8b9:0x4f,_0x2f4069:0x2b4,_0x32b435:0x164,_0x2e1d25:0x1b0,_0x1c345b:0x192,_0x1eb616:0x2dd},_0x163c49={_0x114c40:0x243},_0x2004b5={_0x46bf39:0x191},_0x2936d1={'QNePq':function(_0x43d498,_0x4401f9){return _0x43d498(_0x4401f9);}};function _0x23954f(_0x3e0797,_0x5f4cde){return _0x17b889(_0x5f4cde- -_0x2004b5._0x46bf39,_0x3e0797);}const _0x490f01=readPairingConfig(),_0x380b18=normalizeHttpBase(_0x477be5?.['serverUr'+'l']??_0x490f01?.[_0x23c402(-0xea,-0x54)+'l']??''),_0x166403=_0x477be5?.['gatewayI'+'d']??_0x490f01?.['gatewayI'+'d']??'',_0x27da61=_0x477be5?.[_0x23954f(0x434,_0x2c796f._0x18b0db)+'ret']??_0x490f01?.['relaySec'+'ret']??'';if(!_0x380b18||!_0x166403||!_0x27da61)throw new Error('Pairing\x20'+_0x23954f(0x470,_0x2c796f._0x3b3df5)+_0x23c402(_0x2c796f._0x43109c,_0x2c796f._0xc7c99b)+'.\x20Run\x20pa'+'ir\x20first'+'.');const _0x36a074={};_0x36a074[_0x23c402(0x39e,_0x2c796f._0x484dbe)+_0x23954f(_0x2c796f._0x4515ac,_0x2c796f._0x574f5e)]=_0x23954f(0x17e,0x1f9)+'ion/json';function _0x23c402(_0x30f83c,_0xb723d5){return _0x17b889(_0xb723d5- -_0x163c49._0x114c40,_0x30f83c);}_0x36a074['accept']=_0x23c402(_0x2c796f._0x1daf50,0x147)+_0x23c402(_0x2c796f._0x3e8cc4,_0x2c796f._0x3e80dd);const _0x975523={};_0x975523[_0x23954f(_0x2c796f._0xbf3e48,_0x2c796f._0x2ace86)+'d']=_0x166403,_0x975523['relaySec'+_0x23c402(-_0x2c796f._0x55ebd9,-0x85)]=_0x27da61;const _0x4b3377=await fetch(_0x380b18+(_0x23954f(-_0x2c796f._0x10b784,-0x36)+'/access-'+_0x23954f(_0x2c796f._0x58575c,0x6d)),{'method':_0x23c402(_0x2c796f._0x1dd5c2,_0x2c796f._0x3f3a79),'headers':_0x36a074,'body':JSON['stringif'+'y'](_0x975523)});if(!_0x4b3377['ok'])throw new Error('Access\x20c'+_0x23954f(_0x2c796f._0x19086d,_0x2c796f._0x346d65)+_0x23c402(-_0x2c796f._0x3da12b,0x168)+_0x23c402(0x2f8,_0x2c796f._0x5cfeec)+_0x4b3377[_0x23c402(0x140,_0x2c796f._0x3e0395)]+_0x23954f(_0x2c796f._0x3013bf,_0x2c796f._0x443810)+await _0x4b3377[_0x23954f(-_0x2c796f._0x65fde5,-0x4b)]());const _0x15f780=await _0x4b3377[_0x23c402(-_0x2c796f._0x4093fe,-_0x2c796f._0x2c56fb)](),_0x3fb39f={'serverUrl':_0x380b18,'gatewayId':_0x15f780[_0x23954f(-_0x2c796f._0x13bdba,0x63)+'d'],'relaySecret':_0x27da61,'relayUrl':_0x15f780[_0x23954f(-0x20f,-0x79)],'instanceId':_0x490f01?.[_0x23c402(-0x179,-_0x2c796f._0x3fe30)+'Id']??_0x23c402(0x1e6,_0x2c796f._0x388a78)+_0x15f780[_0x23954f(-0xd4,_0x2c796f._0xd98895)+'d'][_0x23c402(0x300,0x230)](-0xa),'displayName':_0x15f780[_0x23c402(0x341,0x238)+_0x23954f(_0x2c796f._0x50a6b0,0x2b4)],'createdAt':_0x490f01?.[_0x23954f(_0x2c796f._0x1db0c6,_0x2c796f._0x29dfb3)+'t']??new Date()['toISOStr'+_0x23954f(_0x2c796f._0x222838,0x216)](),'updatedAt':new Date()[_0x23c402(_0x2c796f._0x5afa22,_0x2c796f._0x2ca9bd)+_0x23954f(0x1d8,0x216)]()};return writePairingConfig(_0x3fb39f),{'config':_0x3fb39f,'accessCode':_0x15f780[_0x23954f(0x40d,_0x2c796f._0x1f1a3d)+'de'],'accessCodeExpiresAt':_0x15f780[_0x23c402(_0x2c796f._0x13abe2,_0x2c796f._0x1ffe57)+_0x23c402(-0x71,-0x68)+_0x23954f(_0x2c796f._0x37016a,0x2a0)],'action':'refreshe'+'d','qrPayload':_0x2936d1['QNePq'](buildPairingQrPayload,{'server':_0x380b18,'gatewayId':_0x15f780[_0x23c402(-_0x2c796f._0x4d9f49,-_0x2c796f._0x46e8b9)+'d'],'accessCode':_0x15f780['accessCo'+'de'],'displayName':_0x15f780[_0x23c402(0x32f,0x238)+_0x23954f(0x292,_0x2c796f._0x2f4069)],'token':_0x477be5?.[_0x23c402(_0x2c796f._0x32b435,_0x2c796f._0x2e1d25)+_0x23c402(0x30a,_0x2c796f._0x1c345b)]?.[_0x23c402(_0x2c796f._0x1eb616,0x142)]()||null})};}function normalizeHttpBase(_0x14c6ce){const _0x779146={_0x19a2d6:0x82a,_0x3d3dd7:0x58c,_0x20d6cc:0x61d,_0x3d3cb3:0x616,_0x30dcfd:0x6e6,_0x1564c9:0x633,_0x29e2eb:0x807,_0x3ce10f:0x53c,_0x29059d:0x6a4,_0xef1fd8:0x74e,_0x21be46:0x5cf,_0x1ea487:0x6ce,_0x29b505:0x609,_0xef0377:0x8f3,_0x1823f0:0x75d,_0x574351:0x5cf,_0x63a497:0x6c8,_0x116f7c:0x5b5},_0x2cda02={_0x3c1e7d:0x2b6},_0xb7cd9c={};_0xb7cd9c[_0x4fd7c8(_0x779146._0x19a2d6,0x680)]=_0x4fd7c8(_0x779146._0x3d3dd7,0x41b),_0xb7cd9c[_0x4fd7c8(_0x779146._0x20d6cc,0x697)]=_0x5230d3(_0x779146._0x3d3cb3,0x50b);const _0x409c23=_0xb7cd9c,_0xdd60ed=_0x14c6ce[_0x4fd7c8(0x5dc,0x63b)]();function _0x5230d3(_0x2062f1,_0x2ea600){return _0x17b889(_0x2062f1-0x3d7,_0x2ea600);}if(!_0xdd60ed)return'';if(_0xdd60ed[_0x4fd7c8(0x6b6,_0x779146._0x30dcfd)+'th'](_0x5230d3(0x746,0x673))||_0xdd60ed['startsWi'+'th'](_0x5230d3(_0x779146._0x1564c9,0x794)))return _0xdd60ed['replace'](/\/+$/,'');if(_0xdd60ed[_0x5230d3(_0x779146._0x29e2eb,0x918)+'th'](_0x5230d3(_0x779146._0x3ce10f,0x3fa)))return(_0x4fd7c8(_0x779146._0x29059d,0x625)+_0xdd60ed[_0x5230d3(0x84a,_0x779146._0xef1fd8)](_0x409c23['agvGR'][_0x4fd7c8(0x5bc,_0x779146._0x21be46)]))[_0x5230d3(0x6d6,_0x779146._0x1ea487)](/\/+$/,'');if(_0xdd60ed['startsWi'+'th'](_0x409c23[_0x4fd7c8(_0x779146._0x29b505,0x697)]))return('https://'+_0xdd60ed[_0x4fd7c8(_0x779146._0xef0377,0x729)](_0x409c23[_0x5230d3(0x7b8,_0x779146._0x1823f0)][_0x4fd7c8(0x690,_0x779146._0x574351)]))[_0x4fd7c8(_0x779146._0x63a497,_0x779146._0x116f7c)](/\/+$/,'');function _0x4fd7c8(_0x2a52a7,_0x279fd6){return _0x17b889(_0x279fd6-_0x2cda02._0x3c1e7d,_0x2a52a7);}return(_0x5230d3(0x633,0x6d6)+_0xdd60ed)[_0x5230d3(0x6d6,0x7ce)](/\/+$/,'');}function assessPairingCompatibility(_0x21eabf,_0x1be033){const _0x9233ea={_0x27a0da:0x3ad,_0x1da3e8:0x46c},_0x4765c7={_0x692fe1:0x2c2};function _0x56944c(_0x42f9cf,_0x846c41){return _0x1cec38(_0x42f9cf,_0x846c41-_0x4765c7._0x692fe1);}const _0x2169c9={};_0x2169c9['bZomL']='server-m'+_0x56944c(0x490,0x453);const _0x151de8=_0x2169c9;function _0x199085(_0x5a34ce,_0x3afd3d){return _0x1cec38(_0x3afd3d,_0x5a34ce-0x4b7);}if(!_0x21eabf)return'register'+_0x56944c(_0x9233ea._0x27a0da,_0x9233ea._0x1da3e8);if(_0x21eabf['serverUr'+'l']===_0x1be033)return'refresh-'+'existing';return _0x151de8['bZomL'];}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x2c3da2,mkdirSync as _0x3d7e29,openSync,readFileSync as _0x398781,realpathSync,rmSync as _0xb8b2b6,writeFileSync as _0x150847}from'fs';import{homedir as _0x47f31c}from'os';import{dirname,join as _0x473af3}from'path';var SERVICE_LABEL=_0x17b889(0x23a,0x3d4)+'et.bridg'+_0x17b889(0x298,0x214),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x17b889(0x429,0x366),WINDOWS_RUN_KEY=_0x1cec38(-0xee,0x12)+_0x1cec38(0x3b6,0x250),SERVICE_DIR=_0x473af3(_0x47f31c(),'.clawket'),LOG_DIR=_0x473af3(SERVICE_DIR,_0x17b889(0x168,0x199)),SERVICE_STATE_PATH=_0x473af3(SERVICE_DIR,_0x17b889(0x3cd,0x311)+_0x1cec38(0x2eb,0x22f)+_0x17b889(0x14a,0x2bb)),SERVICE_LOG_PATH=_0x473af3(LOG_DIR,_0x17b889(0x253,0x179)+'li.log'),SERVICE_ERROR_LOG_PATH=_0x473af3(LOG_DIR,_0x17b889(0x253,0x26a)+'li-error'+_0x1cec38(0x3af,0x23c)),MACOS_PLIST_PATH=_0x473af3(_0x47f31c(),_0x17b889(0x317,0x1e8),_0x1cec38(-0x14,-0x79)+'ents',SERVICE_LABEL+'.plist'),LINUX_SERVICE_PATH=_0x473af3(_0x47f31c(),'.config',_0x1cec38(0xad,0x23e),_0x17b889(0x18b,0x277),SYSTEMD_UNIT_NAME);function getServiceProgramArgs(_0x41ab77={},_0x227d34=process[_0x17b889(0x31d,0x276)]){const _0x107663={_0x25d577:0x34,_0x3925c6:0x221,_0x42a1bd:0x2b0,_0x2e839f:0x374,_0x2adf38:0x3c3,_0x1f4c42:0x589,_0x527bf3:0x217,_0x5f1af4:0x161,_0x8a4323:0x295,_0x1f8da8:0x10c,_0x79be82:0x5b,_0x450686:0x1b8,_0x822eb1:0x28e,_0x179034:0x33e,_0x21377f:0x164,_0x700f8d:0x292,_0x2d8ea5:0x259,_0x553f2e:0x3de,_0x4766e4:0x375,_0x70dd99:0x19f,_0x136305:0x1b6,_0x5a475f:0x352},_0xf3e7fa={'mvjKo':function(_0x13f6ba,_0x5b28bb){return _0x13f6ba(_0x5b28bb);},'YTkPE':function(_0x28e9f2,_0x3dfaee){return _0x28e9f2!==_0x3dfaee;},'lbwSx':'run','kgENa':_0x1b3f64(0x1b6,_0x107663._0x25d577)+'e'},_0x1648c7=_0x41ab77[_0x1b3f64(_0x107663._0x3925c6,_0x107663._0x42a1bd)]?.['trim']()||process[_0x31c98d(0x35e,_0x107663._0x2e839f)];function _0x31c98d(_0x379526,_0x4288f2){return _0x17b889(_0x379526- -0xa1,_0x4288f2);}const _0x3b98f7=_0xf3e7fa[_0x31c98d(_0x107663._0x2adf38,_0x107663._0x1f4c42)](resolveScriptPath,_0x41ab77[_0x1b3f64(0x1c3,0x14d)+'th']);if(!_0x3b98f7)throw new Error('Unable\x20t'+_0x31c98d(_0x107663._0x527bf3,0x194)+'e\x20CLI\x20sc'+_0x31c98d(_0x107663._0x5f1af4,0x11d)+_0x31c98d(_0x107663._0x8a4323,_0x107663._0x1f8da8)+_0x31c98d(0x158,_0x107663._0x79be82)+_0x31c98d(_0x107663._0x450686,_0x107663._0x822eb1)+_0x1b3f64(_0x107663._0x179034,0x1c7));function _0x1b3f64(_0x11dce0,_0x3853b4){return _0x17b889(_0x11dce0- -0x3d,_0x3853b4);}ensureLaunchScriptExecutable(_0x3b98f7,_0x227d34);if(_0xf3e7fa[_0x31c98d(_0x107663._0x21377f,0x327)](_0x227d34,_0x31c98d(_0x107663._0x700f8d,_0x107663._0x2d8ea5)))return[_0x3b98f7,_0xf3e7fa[_0x31c98d(_0x107663._0x553f2e,0x558)],_0xf3e7fa[_0x1b3f64(_0x107663._0x4766e4,0x35b)]];return[_0x1648c7,_0x3b98f7,_0x31c98d(0x346,_0x107663._0x70dd99),_0x1b3f64(_0x107663._0x136305,_0x107663._0x5a475f)+'e'];}function getServiceStatus(){const _0x1efb70={_0x3e89fb:0x4a,_0x45c32c:0x17,_0x39762e:0x80e,_0xe6c162:0x98b,_0x3ef4b7:0x850,_0x7f6cc5:0x6a,_0x5bc5b8:0x15a,_0x36c7af:0x552,_0x3096f5:0x61d,_0x124648:0x850,_0x5b05ef:0x152,_0x1118b0:0xeb,_0x4d892e:0x53a,_0x369568:0x518,_0x30fdcf:0x52a,_0x38154a:0x191,_0x165d09:0x11f,_0x37c85e:0x1cd,_0x1f8452:0x8e5,_0xdabe74:0x734,_0x859826:0x14d,_0x242d7d:0x2ad,_0x3c63e4:0x231,_0x5ecd61:0x33,_0x588190:0x566,_0x303a27:0x60b,_0x11095e:0x61d,_0xcf1cdb:0x595},_0x30c1ff={_0x45dea5:0x3f8},_0xbae6c4={_0x2b32b3:0x29e},_0x41114a={'eIsKA':function(_0x57d39d){return _0x57d39d();},'SDECv':function(_0xb8eb9,_0x39d4f2){return _0xb8eb9!=_0x39d4f2;},'rfgZn':function(_0x1ea1d0,_0x452e80){return _0x1ea1d0(_0x452e80);},'bHIKx':function(_0x393f93,_0x3122d3){return _0x393f93(_0x3122d3);},'lsfHc':function(_0x1eb8f3,_0x2698ec){return _0x1eb8f3(_0x2698ec);},'RyeHN':'--quiet','yzXzQ':_0x5d109f(-_0x1efb70._0x3e89fb,-0x41)};function _0x5d109f(_0x3be706,_0x58399a){return _0x17b889(_0x3be706- -_0xbae6c4._0x2b32b3,_0x58399a);}function _0x2223d6(_0x1e90de,_0x5ce30d){return _0x17b889(_0x5ce30d-_0x30c1ff._0x45dea5,_0x1e90de);}ensureServiceDirs();const _0x26770a=_0x41114a[_0x5d109f(-_0x1efb70._0x45c32c,-0x13a)](readServiceState)?.[_0x2223d6(_0x1efb70._0x39762e,0x6c8)]??null,_0x47d22c={'installed':![],'running':_0x41114a[_0x5d109f(0x26,-0xf2)](_0x26770a,null)&&_0x41114a['rfgZn'](isPidRunning,_0x26770a),'method':detectServiceMethod(),'servicePath':getServicePath(),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x26770a};_0x47d22c['pid']!=null&&!_0x47d22c[_0x2223d6(_0x1efb70._0xe6c162,_0x1efb70._0x3ef4b7)]&&(_0x41114a[_0x5d109f(-_0x1efb70._0x7f6cc5,0xe3)](clearServiceState,_0x47d22c['pid']),_0x47d22c['pid']=null);switch(_0x47d22c[_0x5d109f(-_0x1efb70._0x5bc5b8,0x2b)]){case'launchag'+_0x2223d6(0x648,_0x1efb70._0x36c7af):_0x47d22c['installe'+'d']=_0x2c3da2(MACOS_PLIST_PATH);_0x47d22c[_0x2223d6(0x792,_0x1efb70._0x3096f5)+'d']&&(_0x47d22c[_0x2223d6(0x9ea,_0x1efb70._0x124648)]=commandSucceeds(_0x5d109f(-_0x1efb70._0x5b05ef,-_0x1efb70._0x1118b0)+'l',[_0x2223d6(0x679,_0x1efb70._0x4d892e),SERVICE_LABEL])||_0x47d22c['running']);return _0x47d22c;case _0x2223d6(_0x1efb70._0x369568,_0x1efb70._0x30fdcf)+_0x2223d6(0x4c0,0x583):_0x47d22c[_0x2223d6(0x76a,0x61d)+'d']=_0x41114a[_0x5d109f(_0x1efb70._0x38154a,_0x1efb70._0x165d09)](_0x2c3da2,LINUX_SERVICE_PATH);_0x47d22c[_0x5d109f(-0x79,-0x1d9)+'d']&&(_0x47d22c[_0x5d109f(0x1ba,_0x1efb70._0x37c85e)]=commandSucceeds(_0x2223d6(_0x1efb70._0x1f8452,_0x1efb70._0xdabe74)+'l',['--user',_0x5d109f(-_0x1efb70._0x859826,-_0x1efb70._0x242d7d)+'e',_0x41114a[_0x2223d6(0x7dc,0x6d8)],SYSTEMD_UNIT_NAME])||_0x47d22c[_0x5d109f(0x1ba,_0x1efb70._0x3c63e4)]);return _0x47d22c;case'windows-'+_0x5d109f(0xc4,-_0x1efb70._0x5ecd61)+_0x2223d6(_0x1efb70._0x588190,_0x1efb70._0x303a27):_0x47d22c[_0x2223d6(0x6a3,_0x1efb70._0x11095e)+'d']=commandSucceeds('reg',[_0x41114a['yzXzQ'],_0x2223d6(_0x1efb70._0xcf1cdb,0x536)+'tware\x5cMi'+'crosoft\x5c'+'Windows\x5c'+_0x2223d6(0x703,0x565)+_0x5d109f(0x197,0xf8)+'un','/v',WINDOWS_RUN_KEY]);return _0x47d22c;default:return _0x47d22c;}}function installService(_0x54a1b4={}){const _0xc25d96={_0x143d9d:0x5d1,_0x25c606:0x4d9,_0x59a34f:0x1f3,_0x1d981b:0x349,_0x291c43:0x556,_0xf38841:0x4f4,_0x49e4f0:0x463,_0x3244d8:0x528,_0x5b2254:0x516,_0x3580cd:0x567,_0xd76a22:0x690,_0x414fc3:0x761,_0x47cbb5:0x738,_0x23694d:0x767,_0xd7a3c6:0x60a,_0x26c96c:0x6e3,_0x3f18ac:0x36c,_0x237f4a:0x4c6,_0x2af5ff:0x618,_0x50dc82:0x39d,_0x1a5291:0x63f,_0xaebdaf:0x846,_0x13bd07:0x9c9,_0x2050d2:0x7af,_0x356c3a:0x4a0,_0x866283:0x70c,_0x38021e:0x2ff,_0x2c63a3:0x275,_0x25d75e:0x321,_0x5190da:0x42f,_0x4e6e6f:0x2da,_0x477655:0x658,_0x239cd7:0x59d,_0x16b4b6:0x6b3,_0x22fcb8:0x572,_0x1364fa:0x34b,_0xeac828:0x3a3,_0x290b7f:0x555,_0x2e96c1:0x4c3,_0x37c1a8:0x2c9},_0x3d0544={_0xa09bfd:0x374},_0x12ae6f={'rCYLY':_0x2a503e(_0xc25d96._0x143d9d,0x4c6),'yahEC':function(_0x24c07c,_0x5c54f6,_0x2b3388,_0x5aabf3){return _0x24c07c(_0x5c54f6,_0x2b3388,_0x5aabf3);},'BCSMF':_0x3a4fd6(0x754,0x8e5)+'l','FvXBF':'--user','zUzaM':_0x2a503e(0x683,_0xc25d96._0x25c606),'sTQBd':_0x2a503e(_0xc25d96._0x59a34f,_0xc25d96._0x1d981b),'vzIkS':_0x3a4fd6(_0xc25d96._0x291c43,0x3b4)+'tware\x5cMi'+_0x2a503e(0x4c0,0x319)+'Windows\x5c'+'CurrentV'+'ersion\x5cR'+'un','aWhtW':function(_0x2b7e0f,_0x55dcad){return _0x2b7e0f(_0x55dcad);},'ZBNmU':function(_0x31726b){return _0x31726b();}};ensureServiceDirs();const _0x442d54=getServiceProgramArgs(_0x54a1b4);function _0x3a4fd6(_0x41bd7c,_0x3fcd3d){return _0x1cec38(_0x3fcd3d,_0x41bd7c-0x5e6);}function _0x2a503e(_0x4927a4,_0x44feec){return _0x1cec38(_0x4927a4,_0x44feec-_0x3d0544._0xa09bfd);}switch(process['platform']){case'darwin':_0x150847(MACOS_PLIST_PATH,buildMacosPlist(_0x442d54,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x2a503e(_0xc25d96._0xf38841,_0xc25d96._0x49e4f0)),execIgnoreFailure('launchct'+'l',[_0x2a503e(0x684,0x4ff),'-w',MACOS_PLIST_PATH]);const _0x1f2222={};_0x1f2222['stdio']=_0x12ae6f['rCYLY'],execFileSync('launchct'+'l',['load','-w',MACOS_PLIST_PATH],_0x1f2222);break;case _0x2a503e(0x436,_0xc25d96._0x3244d8):const _0x24acc7={};_0x24acc7[_0x2a503e(_0xc25d96._0x5b2254,_0xc25d96._0x3580cd)+'e']=!![],_0x3d7e29(dirname(LINUX_SERVICE_PATH),_0x24acc7),_0x150847(LINUX_SERVICE_PATH,_0x12ae6f[_0x3a4fd6(_0xc25d96._0xd76a22,_0xc25d96._0x414fc3)](buildLinuxSystemdUnit,_0x442d54,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x3a4fd6(0x6d5,0x68b));const _0x11f603={};_0x11f603['stdio']=_0x3a4fd6(_0xc25d96._0x47cbb5,0x76d),execFileSync(_0x12ae6f[_0x2a503e(0x46c,0x2ce)],[_0x3a4fd6(_0xc25d96._0x23694d,_0xc25d96._0xd7a3c6),'daemon-r'+_0x3a4fd6(0x57c,0x6f0)],_0x11f603);const _0x58d06d={};_0x58d06d[_0x2a503e(_0xc25d96._0x26c96c,0x5d4)]=_0x2a503e(_0xc25d96._0x3f18ac,_0xc25d96._0x237f4a),execFileSync(_0x3a4fd6(0x754,_0xc25d96._0x2af5ff)+'l',[_0x12ae6f['FvXBF'],'enable',_0x2a503e(0x54d,_0xc25d96._0x50dc82),SYSTEMD_UNIT_NAME],_0x58d06d);break;case _0x12ae6f[_0x2a503e(_0xc25d96._0x1a5291,0x4e1)]:stopRunningProcess();const _0x274d8f={};_0x274d8f[_0x3a4fd6(_0xc25d96._0xaebdaf,_0xc25d96._0x13bd07)]=_0x3a4fd6(0x738,0x841),execFileSync(_0x12ae6f[_0x3a4fd6(_0xc25d96._0x2050d2,0x69b)],[_0x2a503e(_0xc25d96._0x356c3a,0x32e),_0x12ae6f[_0x2a503e(_0xc25d96._0x866283,0x56c)],'/v',WINDOWS_RUN_KEY,'/t',_0x2a503e(0x322,_0xc25d96._0x38021e),'/d',buildWindowsRunCommand(_0x442d54),'/f'],_0x274d8f),_0x12ae6f['aWhtW'](startDetachedWindowsService,_0x442d54);break;default:throw new Error(_0x2a503e(_0xc25d96._0x2c63a3,_0xc25d96._0x25d75e)+_0x2a503e(_0xc25d96._0x5190da,_0xc25d96._0x4e6e6f)+_0x2a503e(_0xc25d96._0x477655,_0xc25d96._0x239cd7)+_0x3a4fd6(0x5e4,_0xc25d96._0x16b4b6)+_0x3a4fd6(0x56e,_0xc25d96._0x22fcb8)+_0x2a503e(_0xc25d96._0x1364fa,0x401)+_0x2a503e(0x47e,_0xc25d96._0xeac828)+process[_0x2a503e(_0xc25d96._0x290b7f,_0xc25d96._0x2e96c1)]);}return _0x12ae6f[_0x2a503e(_0xc25d96._0x37c1a8,0x444)](getServiceStatus);}function restartService(_0x42c8ad={}){const _0x3e547b={_0x51bfe2:0x255,_0x5ca861:0xe1,_0x3cb41b:0x47,_0x50d719:0x89,_0x2f9f5e:0xf1,_0x41be19:0x29,_0x1ce6b3:0x3e1,_0x4d5296:0x389,_0xd84d74:0x28e,_0x2f2183:0x3d0,_0x3837f1:0x328,_0x5a24d7:0xf4,_0x386a9b:0xd0,_0x22ceaf:0x123,_0x264d80:0x61,_0x421bba:0x188,_0x465624:0x22e,_0x46fa38:0x1ba,_0x271be6:0x11a,_0x384345:0xd2,_0x3a4a9d:0x6b,_0x11ab27:0x101,_0x4b6da1:0xa4,_0x167168:0xee,_0x182277:0x27,_0x2a3e3e:0x11e,_0x1dbce9:0x2d4,_0x127441:0xb1,_0x3718c6:0xe2,_0x3bfa87:0x22f,_0x286222:0x39d,_0x34b201:0x266,_0x53f0bf:0x11d,_0x3f470b:0x2c3},_0xd77395={_0x4f3635:0x174};function _0x6590c4(_0x135b7d,_0xa5d7b9){return _0x1cec38(_0xa5d7b9,_0x135b7d- -0x5e);}const _0x424cf9={'EIzvc':function(_0x189065,_0x5e7015){return _0x189065(_0x5e7015);},'NsBlu':_0x6590c4(_0x3e547b._0x51bfe2,_0x3e547b._0x5ca861),'yfajc':function(_0x5f435a,_0x4a4c5b){return _0x5f435a(_0x4a4c5b);},'nDjaQ':function(_0x32d4bb,_0x4f97a6){return _0x32d4bb(_0x4f97a6);},'aZotF':_0x6590c4(0x107,_0x3e547b._0x3cb41b),'qREBm':function(_0x51ffc0){return _0x51ffc0();},'BfeCa':function(_0x3ce0f2,_0x419efd,_0xda1c1d,_0x549001){return _0x3ce0f2(_0x419efd,_0xda1c1d,_0x549001);},'WUDyK':_0x6590c4(-_0x3e547b._0x50d719,-0xce),'OtQdj':'REG_SZ'};function _0x32255f(_0x4d28e6,_0x574b53){return _0x1cec38(_0x4d28e6,_0x574b53-_0xd77395._0x4f3635);}ensureServiceDirs();const _0x576f49=_0x424cf9['EIzvc'](getServiceProgramArgs,_0x42c8ad);switch(process[_0x6590c4(_0x3e547b._0x2f9f5e,_0x3e547b._0x41be19)]){case _0x424cf9[_0x32255f(_0x3e547b._0x1ce6b3,0x2a3)]:if(!_0x424cf9[_0x32255f(_0x3e547b._0x4d5296,0x23b)](_0x2c3da2,MACOS_PLIST_PATH))return installService(_0x42c8ad);execIgnoreFailure('launchct'+'l',[_0x32255f(0x143,0x2ff),'-w',MACOS_PLIST_PATH]);const _0x2426d4={};_0x2426d4[_0x6590c4(0x202,_0x3e547b._0xd84d74)]=_0x32255f(0x436,0x2c6),execFileSync(_0x6590c4(-0xe0,-0x2a7)+'l',[_0x6590c4(0x5a,-0xb0),'-w',MACOS_PLIST_PATH],_0x2426d4);break;case _0x32255f(_0x3e547b._0x2f2183,_0x3e547b._0x3837f1):if(!_0x424cf9[_0x32255f(0x247,0x37a)](_0x2c3da2,LINUX_SERVICE_PATH))return installService(_0x42c8ad);const _0x2628c2={};_0x2628c2[_0x6590c4(0x202,0x3cc)]=_0x6590c4(_0x3e547b._0x5a24d7,-0x28),execFileSync(_0x6590c4(0x110,_0x3e547b._0x386a9b)+'l',[_0x6590c4(_0x3e547b._0x22ceaf,0x27c),_0x6590c4(-_0x3e547b._0x264d80,-_0x3e547b._0x421bba),SYSTEMD_UNIT_NAME],_0x2628c2);break;case _0x424cf9[_0x6590c4(_0x3e547b._0x465624,0x35c)]:_0x424cf9[_0x6590c4(_0x3e547b._0x46fa38,_0x3e547b._0x271be6)](stopRunningProcess);const _0x1f6a36={};_0x1f6a36['stdio']=_0x6590c4(_0x3e547b._0x5a24d7,-_0x3e547b._0x384345),_0x424cf9['BfeCa'](execFileSync,_0x424cf9[_0x6590c4(-_0x3e547b._0x3a4a9d,_0x3e547b._0x11ab27)],[_0x6590c4(-_0x3e547b._0x4b6da1,0x63),_0x6590c4(-_0x3e547b._0x167168,-0x12f)+_0x6590c4(0x18c,-_0x3e547b._0x182277)+_0x6590c4(-0xb9,-0x22f)+_0x6590c4(0x111,0xd5)+'CurrentV'+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/t',_0x424cf9[_0x32255f(_0x3e547b._0x2a3e3e,_0x3e547b._0x1dbce9)],'/d',buildWindowsRunCommand(_0x576f49),'/f'],_0x1f6a36),startDetachedWindowsService(_0x576f49);break;default:throw new Error(_0x6590c4(-_0x3e547b._0x127441,-_0x3e547b._0x3718c6)+'ted\x20plat'+_0x32255f(_0x3e547b._0x3bfa87,_0x3e547b._0x286222)+_0x32255f(_0x3e547b._0x34b201,0x172)+_0x32255f(0x4c5,0x313)+_0x32255f(0x34f,0x318)+process[_0x32255f(_0x3e547b._0x53f0bf,_0x3e547b._0x3f470b)]);}return getServiceStatus();}function uninstallService(){const _0x342ef3={_0x23aae4:0x5f1,_0x46a098:0x3fd,_0x19c6d8:0x87d,_0x292a2f:0x6e0,_0xfc003d:0x542,_0x578b9c:0x511,_0x2146c2:0x5bf,_0x58ca79:0x56c,_0x240f81:0x35f,_0x1f02e3:0x7b2,_0x38b8f6:0x501,_0x230c77:0x433,_0x30fc88:0x485,_0x2d2147:0x35b,_0x1e9c18:0x468,_0x50b874:0x51f,_0x1a3825:0x346,_0x30646d:0x838,_0x42dbe2:0x6c3,_0x38f3be:0x7be};function _0x1e7552(_0x14197b,_0x488657){return _0x1cec38(_0x488657,_0x14197b-0x3d4);}function _0x320da4(_0x38d4ef,_0x21fe9c){return _0x1cec38(_0x21fe9c,_0x38d4ef-0x52c);}const _0x1069e5={'KbvzN':'launchct'+'l','TiuHD':_0x1e7552(0x555,_0x342ef3._0x23aae4),'cORrw':_0x1e7552(_0x342ef3._0x46a098,0x423),'SxVUa':function(_0x455a4f,_0x5f2e1f,_0x578be0){return _0x455a4f(_0x5f2e1f,_0x578be0);},'kiZqN':function(_0x1196b4){return _0x1196b4();}};stopRunningProcess();switch(process['platform']){case _0x320da4(0x7df,_0x342ef3._0x19c6d8):execIgnoreFailure(_0x1069e5[_0x1e7552(0x478,0x4a4)],[_0x320da4(0x6b7,0x6a9),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case _0x320da4(_0x342ef3._0x292a2f,0x6c6):_0x2c3da2(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x1e7552(_0x342ef3._0xfc003d,0x535)+'l',[_0x1069e5['TiuHD'],'disable',_0x1069e5[_0x1e7552(0x5a2,0x5a3)],SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),_0x1069e5[_0x1e7552(_0x342ef3._0x578b9c,0x522)](execIgnoreFailure,_0x320da4(0x69a,_0x342ef3._0x2146c2)+'l',[_0x1069e5['TiuHD'],_0x1e7552(_0x342ef3._0x58ca79,0x65e)+_0x320da4(0x4c2,_0x342ef3._0x240f81)]));break;case _0x320da4(0x691,_0x342ef3._0x1f02e3):execIgnoreFailure(_0x320da4(_0x342ef3._0x38b8f6,0x4a3),[_0x1e7552(_0x342ef3._0x230c77,_0x342ef3._0x30fc88),_0x320da4(0x49c,_0x342ef3._0x2d2147)+_0x1e7552(0x5be,_0x342ef3._0x1e9c18)+_0x1e7552(0x379,0x2eb)+_0x1e7552(0x543,_0x342ef3._0x50b874)+_0x1e7552(0x373,_0x342ef3._0x1a3825)+_0x320da4(0x793,_0x342ef3._0x30646d)+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}return _0x1069e5[_0x320da4(_0x342ef3._0x42dbe2,_0x342ef3._0x38f3be)](clearServiceState),getServiceStatus();}function stopService(){const _0x40bcde={_0x51a9b0:0x210,_0x3d9e98:0x15b,_0x5ce876:0x5de,_0x4d9f93:0x4f9,_0x3b6745:0x6a8,_0x44de2f:0x794,_0x3e2b3e:0x5c4,_0x28cf55:0x206,_0x3d3842:0x52,_0x1ec207:0x68b};function _0x4e5bbe(_0x11a376,_0x9c8352){return _0x17b889(_0x11a376-0x25c,_0x9c8352);}const _0x2aa058={'cUade':_0x46dd43(_0x40bcde._0x51a9b0,_0x40bcde._0x3d9e98),'cgflZ':_0x4e5bbe(_0x40bcde._0x5ce876,0x728),'BWVvA':function(_0x3292ff,_0x2b1e38,_0x227def){return _0x3292ff(_0x2b1e38,_0x227def);},'EvQVx':'win32'};stopRunningProcess();switch(process['platform']){case _0x4e5bbe(0x6dd,0x51f):_0x2c3da2(MACOS_PLIST_PATH)&&execIgnoreFailure(_0x4e5bbe(0x3a8,_0x40bcde._0x4d9f93)+'l',[_0x2aa058[_0x4e5bbe(_0x40bcde._0x3b6745,_0x40bcde._0x44de2f)],MACOS_PLIST_PATH]);break;case _0x2aa058['cgflZ']:_0x2c3da2(LINUX_SERVICE_PATH)&&_0x2aa058[_0x4e5bbe(_0x40bcde._0x3e2b3e,0x739)](execIgnoreFailure,_0x46dd43(0x1f3,0x20c)+'l',[_0x46dd43(_0x40bcde._0x28cf55,0x222),_0x46dd43(0xbb,-_0x40bcde._0x3d3842),SYSTEMD_UNIT_NAME]);break;case _0x2aa058[_0x4e5bbe(0x596,_0x40bcde._0x1ec207)]:break;default:break;}function _0x46dd43(_0x3781fc,_0xd9c652){return _0x17b889(_0x3781fc- -0x149,_0xd9c652);}return clearServiceState(),getServiceStatus();}function writeServiceState(_0x132472=process[_0x17b889(0x2d0,0x20e)]){const _0x269a3f={_0x35fa0a:0x3e0,_0x326ea9:0x4aa,_0x12404b:0x4d7,_0x1d7299:0x3f7},_0x1fbe21={_0x1c06ef:0xb5};function _0x8aecb5(_0x3bcb19,_0x15b1bf){return _0x17b889(_0x15b1bf- -_0x1fbe21._0x1c06ef,_0x3bcb19);}const _0x36e8f1={'VzkmH':function(_0x51eddc,_0xce9f39,_0xa82ae6,_0x4c9e28){return _0x51eddc(_0xce9f39,_0xa82ae6,_0x4c9e28);}};ensureServiceDirs();function _0x55d5b5(_0x50b917,_0x4e0bec){return _0x17b889(_0x50b917-0x1bc,_0x4e0bec);}const _0x9be610={'pid':_0x132472,'startedAt':new Date()['toISOStr'+'ing']()};_0x36e8f1[_0x55d5b5(_0x269a3f._0x35fa0a,_0x269a3f._0x326ea9)](_0x150847,SERVICE_STATE_PATH,JSON[_0x55d5b5(_0x269a3f._0x12404b,_0x269a3f._0x1d7299)+'y'](_0x9be610,null,0x2)+'\x0a','utf8');}function clearServiceState(_0x11b8eb){if(!_0x2c3da2(SERVICE_STATE_PATH))return;if(_0x11b8eb!=null){const _0x2fd01b=readServiceState();if(_0x2fd01b&&_0x2fd01b['pid']!==_0x11b8eb)return;}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath()};}function buildMacosPlist(_0x1d3e0a,_0x278d7d,_0x2806d0){const _0x2a6462={_0x47e74d:0x3ae,_0x3e82f:0x2b,_0x3ac65e:0x1ca,_0x4e760e:0x204,_0x430d62:0xb0,_0x27e42a:0xcb,_0x3cdc51:0x18f,_0x338c87:0x2ed,_0x432cce:0x260,_0x6fcd8b:0x2e8,_0x3a7014:0x29b,_0x21f898:0x55b,_0xfd9acf:0x70,_0xfcffb6:0x246,_0x1d2072:0x6b,_0x495bb8:0xf8,_0xed4719:0x194,_0xa6ae32:0x1e8,_0x59fff8:0xec,_0x451537:0x1d6,_0x57ee56:0x24a,_0x120e02:0x25a,_0x3c9692:0x2cb,_0x29e981:0x26e,_0x461532:0x44d,_0x310c8c:0x3c9,_0x2acef1:0x2b8,_0x32b781:0x17c,_0x4d40cd:0x42,_0x3d84d0:0x21f,_0x426696:0x210,_0x386277:0x252,_0x237470:0x1a1,_0x116599:0x3a7,_0x439834:0x1b0,_0x4f66b2:0xd,_0xafc887:0x120,_0x34e664:0xfe,_0x48760f:0x29f,_0xd24bcd:0x285,_0x2fd599:0x1ed,_0x323e4e:0x25,_0x512aa4:0x29c,_0x556d9b:0x1a4,_0x5d454b:0x30b,_0x1cf371:0x2af,_0x4a9634:0x2b1,_0x87182:0xdf},_0x4cb4ab={_0x270d50:0x62},_0x1e5187=_0x1d3e0a[_0x39ff12(0x3b7,_0x2a6462._0x47e74d)](_0x11b6d9=>_0x330b3f(0x26a,0x2c4)+_0x39ff12(0x1d4,0x17c)+escapeXml(_0x11b6d9)+('</string'+'>'))['join']('\x0a');function _0x39ff12(_0x3655e9,_0xae74d5){return _0x1cec38(_0xae74d5,_0x3655e9-0x1f7);}function _0x330b3f(_0x5c95e9,_0x4f7809){return _0x1cec38(_0x4f7809,_0x5c95e9-_0x4cb4ab._0x270d50);}return'<?xml\x20ve'+_0x330b3f(-_0x2a6462._0x3e82f,-_0x2a6462._0x3ac65e)+'.0\x22\x20enco'+_0x330b3f(_0x2a6462._0x4e760e,_0x2a6462._0x430d62)+_0x330b3f(_0x2a6462._0x27e42a,-0x41)+'!DOCTYPE'+_0x39ff12(_0x2a6462._0x3cdc51,0x13d)+'UBLIC\x20\x22-'+_0x330b3f(_0x2a6462._0x338c87,0x1b2)+_0x39ff12(0x2ad,_0x2a6462._0x432cce)+'ST\x201.0//'+_0x39ff12(0x200,0x308)+_0x330b3f(0x209,0x278)+_0x330b3f(_0x2a6462._0x6fcd8b,_0x2a6462._0x3a7014)+'m/DTDs/P'+_0x39ff12(0x445,_0x2a6462._0x21f898)+_0x330b3f(-_0x2a6462._0xfd9acf,0xef)+_0x330b3f(0x1df,_0x2a6462._0xfcffb6)+_0x330b3f(-_0x2a6462._0x1d2072,-0xa7)+_0x330b3f(_0x2a6462._0x495bb8,0x90)+_0x330b3f(0x256,0x297)+_0x330b3f(_0x2a6462._0xed4719,_0x2a6462._0xa6ae32)+_0x330b3f(0x14f,0xdc)+_0x330b3f(_0x2a6462._0x59fff8,0x1d4)+_0x39ff12(_0x2a6462._0x451537,_0x2a6462._0x57ee56)+SERVICE_LABEL+(_0x39ff12(0x380,_0x2a6462._0x451537)+_0x39ff12(_0x2a6462._0x120e02,0x282)+_0x330b3f(_0x2a6462._0x3c9692,_0x2a6462._0x29e981)+_0x39ff12(0x3ed,0x256)+_0x39ff12(_0x2a6462._0x461532,0x389)+'\x20\x20<array'+'>\x0a')+_0x1e5187+(_0x39ff12(_0x2a6462._0x310c8c,0x58a)+_0x39ff12(0x2ba,_0x2a6462._0x2acef1)+_0x39ff12(_0x2a6462._0x32b781,-0x42)+_0x330b3f(0xa9,-_0x2a6462._0x4d40cd)+_0x39ff12(_0x2a6462._0x3d84d0,_0x2a6462._0x426696)+_0x330b3f(_0x2a6462._0x386277,_0x2a6462._0x237470)+_0x39ff12(0x2c2,_0x2a6462._0x116599)+'Alive</k'+_0x39ff12(_0x2a6462._0x439834,0x32a)+_0x330b3f(_0x2a6462._0x4f66b2,_0x2a6462._0xafc887)+_0x330b3f(_0x2a6462._0x34e664,0x2b4)+_0x39ff12(0x4ad,0x490)+'Path</ke'+_0x39ff12(0x178,_0x2a6462._0x48760f)+_0x39ff12(0x32b,_0x2a6462._0xd24bcd))+escapeXml(_0x278d7d)+('</string'+'>\x0a\x20\x20<key'+_0x39ff12(_0x2a6462._0x2fd599,_0x2a6462._0x323e4e)+_0x39ff12(_0x2a6462._0x512aa4,0x363)+_0x330b3f(0x133,0xa5)+'\x0a\x20\x20<stri'+_0x39ff12(0x161,_0x2a6462._0x556d9b))+escapeXml(_0x2806d0)+('</string'+_0x39ff12(_0x2a6462._0x5d454b,_0x2a6462._0x1cf371)+_0x39ff12(_0x2a6462._0x4a9634,0x1c8)+_0x330b3f(_0x2a6462._0x87182,0xc8));}function buildLinuxSystemdUnit(_0x1eda7d,_0x44e7a3,_0x2f8c5b){const _0x103d48={_0x2cc3ac:0x2f2,_0x339034:0xf1,_0x1a022d:0x10e,_0x3e0c47:0x5c,_0x4c74ed:0x175,_0x7106cd:0xd2,_0x118a21:0x69,_0x346298:0x171,_0x3101b8:0x84,_0x430514:0x160,_0x20226c:0x6,_0x5ba34b:0x159,_0x291ba8:0x1e0,_0x5dd774:0x13b,_0x257b17:0x153,_0x8d20f:0xab,_0x185682:0x1bf,_0xfd94ef:0xcd,_0x39c209:0x287,_0x3006af:0x105,_0xb4c349:0x2ed,_0x4cc036:0x3fe,_0x1d179f:0x5d,_0x2e20f4:0x2c,_0x7bcc14:0x8f,_0xd2a386:0xac,_0x1e14aa:0x1c3,_0x357b05:0x1a5,_0x5f4dc6:0x1fc,_0x437631:0x8c},_0x3b0d60={'kbrPa':function(_0x3688b2,_0x16a7a0){return _0x3688b2(_0x16a7a0);}};function _0x4d1311(_0xd24531,_0x31f5bb){return _0x1cec38(_0x31f5bb,_0xd24531-0x53);}const _0x2a69f3=_0x1eda7d[_0x290ebb(_0x103d48._0x2cc3ac,0x13a)](escapeSystemdArg)[_0x290ebb(-_0x103d48._0x339034,-0x14)]('\x20');function _0x290ebb(_0x26945e,_0x2c0fc8){return _0x1cec38(_0x26945e,_0x2c0fc8- -0x86);}return _0x290ebb(-_0x103d48._0x1a022d,-_0x103d48._0x3e0c47)+'escripti'+_0x290ebb(0x84,0x49)+_0x290ebb(0xd5,_0x103d48._0x4c74ed)+_0x4d1311(_0x103d48._0x7106cd,-_0x103d48._0x118a21)+_0x4d1311(0x3d,-_0x103d48._0x346298)+'ork-onli'+_0x290ebb(-_0x103d48._0x3101b8,-0x100)+'t\x0aWants='+_0x4d1311(0x242,_0x103d48._0x430514)+'online.t'+'arget\x0a\x0a['+_0x4d1311(-_0x103d48._0x20226c,-_0x103d48._0x5ba34b)+_0x290ebb(-_0x103d48._0x291ba8,-_0x103d48._0x5dd774)+_0x290ebb(_0x103d48._0x257b17,0x14)+_0x4d1311(_0x103d48._0x8d20f,0x17)+_0x2a69f3+(_0x290ebb(0x1a6,_0x103d48._0x185682)+_0x4d1311(0x1d1,0x1f7)+_0x290ebb(0x1f6,_0x103d48._0xfd94ef)+_0x4d1311(0x27,0x155)+'kingDire'+'ctory=')+_0x3b0d60['kbrPa'](escapeSystemdArg,SERVICE_DIR)+(_0x4d1311(_0x103d48._0x39c209,_0x103d48._0x3006af)+_0x4d1311(_0x103d48._0xb4c349,_0x103d48._0x4cc036)+_0x4d1311(_0x103d48._0x1d179f,0x52))+_0x44e7a3+(_0x4d1311(0x287,0x402)+_0x4d1311(0x1b7,0xf0)+_0x290ebb(_0x103d48._0x2e20f4,_0x103d48._0x7bcc14))+_0x2f8c5b+(_0x4d1311(_0x103d48._0xd2a386,_0x103d48._0x1e14aa)+'ll]\x0aWant'+'edBy=def'+_0x290ebb(0x96,_0x103d48._0x357b05)+_0x4d1311(_0x103d48._0x5f4dc6,_0x103d48._0x437631));}function getServicePath(){const _0x49104c={_0x56cf30:0x238,_0x22bb1b:0x32e,_0x455994:0x284,_0x30ce81:0x1bb,_0x44c9ec:0x2f5,_0x537c84:0x140,_0x27f2bc:0x2e0,_0x5774c1:0x286},_0x4d1d96={_0x19922e:0x1c8};function _0x20081a(_0x2517d7,_0x1f4c83){return _0x17b889(_0x1f4c83- -0x1fd,_0x2517d7);}function _0x127c5a(_0x14539a,_0x218eaf){return _0x17b889(_0x218eaf-_0x4d1d96._0x19922e,_0x14539a);}switch(process[_0x20081a(_0x49104c._0x56cf30,0x120)]){case _0x20081a(_0x49104c._0x22bb1b,_0x49104c._0x455994):return MACOS_PLIST_PATH;case'linux':return LINUX_SERVICE_PATH;case _0x20081a(-0x6a,0x136):return'HKCU\x5cSof'+_0x20081a(0x4c,_0x49104c._0x30ce81)+'crosoft\x5c'+_0x20081a(_0x49104c._0x44c9ec,_0x49104c._0x537c84)+_0x127c5a(0x257,0x335)+'ersion\x5cR'+_0x20081a(_0x49104c._0x27f2bc,0x182)+_0x20081a(0x2e4,_0x49104c._0x5774c1)+_0x127c5a(0x4f8,0x62d);default:return'';}}function detectServiceMethod(){const _0x2557b5={_0x66c379:0x118,_0x362f7c:0x629,_0x385a47:0x144,_0x41851f:0xe5,_0x4354fb:0xab,_0x265888:0x12e,_0x59c5b9:0x183,_0x3ce090:0x20d,_0x3b7093:0x1a,_0x53af7d:0x15d,_0x3184dd:0x4ec,_0x3b83a5:0x4ed,_0x478d9d:0x372,_0x1b5bd2:0x2e7},_0x326c94={_0x54a8a3:0x205},_0x97001f={_0x4f2be0:0x1a8};function _0x2f6a13(_0x4576c6,_0x154831){return _0x17b889(_0x4576c6-_0x97001f._0x4f2be0,_0x154831);}function _0x46affa(_0x4dc973,_0x46edc){return _0x17b889(_0x46edc- -_0x326c94._0x54a8a3,_0x4dc973);}switch(process[_0x46affa(0x232,_0x2557b5._0x66c379)]){case _0x2f6a13(_0x2557b5._0x362f7c,0x6c2):return _0x46affa(0x110,_0x2557b5._0x385a47)+_0x46affa(_0x2557b5._0x41851f,-_0x2557b5._0x4354fb);case'linux':return _0x46affa(-0xb8,-0xd3)+_0x46affa(-0x14f,-0x7a);case _0x46affa(0x2f0,_0x2557b5._0x265888):return _0x46affa(_0x2557b5._0x59c5b9,_0x2557b5._0x3ce090)+_0x46affa(_0x2557b5._0x3b7093,_0x2557b5._0x53af7d)+_0x2f6a13(0x3bb,0x23f);default:return _0x2f6a13(_0x2557b5._0x3184dd,_0x2557b5._0x3b83a5)+_0x2f6a13(_0x2557b5._0x478d9d,_0x2557b5._0x1b5bd2);}}function readServiceState(){const _0x1db399={_0x25638f:0x3ac,_0x286ddc:0x257,_0x45bd01:0x44b,_0x30004f:0x3ab,_0x489c03:0x362,_0x1588e2:0x4bd,_0x39d5f7:0x31c,_0x50d73b:0x6ca,_0x173b05:0x49e},_0x3c28b0={_0x4bb7a2:0x2c5},_0x4a8af={_0x3c6502:0x349},_0x42fc45={};_0x42fc45[_0x402763(_0x1db399._0x25638f,_0x1db399._0x286ddc)]=function(_0x2cec94,_0x5f4b57){return _0x2cec94!==_0x5f4b57;};function _0x110d30(_0x4519f4,_0x3abb9d){return _0x1cec38(_0x4519f4,_0x3abb9d-_0x4a8af._0x3c6502);}function _0x402763(_0x194fa0,_0x28d19c){return _0x1cec38(_0x194fa0,_0x28d19c-_0x3c28b0._0x4bb7a2);}const _0x39b887=_0x42fc45;if(!_0x2c3da2(SERVICE_STATE_PATH))return null;try{const _0x5522e5=JSON[_0x402763(0x375,0x2d1)](_0x398781(SERVICE_STATE_PATH,'utf8'));if(!_0x5522e5['pid']||_0x39b887[_0x110d30(0x39b,0x2db)](typeof _0x5522e5[_0x110d30(0x4dc,_0x1db399._0x45bd01)],_0x110d30(_0x1db399._0x30004f,0x560)))return null;return{'pid':_0x5522e5[_0x402763(_0x1db399._0x489c03,0x3c7)],'startedAt':_0x5522e5[_0x110d30(_0x1db399._0x1588e2,_0x1db399._0x39d5f7)+'t']??new Date(0x0)[_0x110d30(_0x1db399._0x50d73b,0x5c4)+_0x402763(0x618,_0x1db399._0x173b05)]()};}catch{return null;}}function stopRunningProcess(){const _0x3abe05={_0x160f3a:0x17d,_0x169879:0x297,_0x160908:0x3a4,_0x5a11cc:0x508,_0x53073b:0x13f,_0x4d24f5:0x2b4,_0x22c572:0x254,_0x42c995:0x1b8,_0x28a87c:0xad},_0x803e31={_0x2325a:0x118};function _0x1e4fb6(_0x571982,_0x3a6cf3){return _0x17b889(_0x571982-0x87,_0x3a6cf3);}function _0x18f8af(_0xf21ce8,_0x1b2be3){return _0x17b889(_0xf21ce8- -_0x803e31._0x2325a,_0x1b2be3);}const _0x3c0e2c={'yeBBr':_0x18f8af(0xfc,0xaf),'MpHbi':_0x1e4fb6(_0x3abe05._0x160f3a,_0x3abe05._0x169879),'BTCzl':function(_0x5ac547,_0x4be781){return _0x5ac547===_0x4be781;},'eResJ':'/PID','HPUXF':_0x18f8af(0x74,0x194),'gsEAQ':function(_0x2be770,_0x246da){return _0x2be770(_0x246da);}},_0x371c10=readServiceState();if(!_0x371c10)return;execIgnoreFailure(process[_0x1e4fb6(_0x3abe05._0x160908,0x532)]===_0x1e4fb6(0x3ba,_0x3abe05._0x5a11cc)?_0x3c0e2c['yeBBr']:_0x3c0e2c[_0x18f8af(_0x3abe05._0x53073b,_0x3abe05._0x4d24f5)],_0x3c0e2c[_0x1e4fb6(0x4bf,0x54e)](process[_0x1e4fb6(0x3a4,0x3fc)],_0x18f8af(0x21b,0x35a))?[_0x3c0e2c[_0x1e4fb6(0x2a1,0x308)],String(_0x371c10[_0x18f8af(0x1b8,_0x3abe05._0x22c572)]),'/T','/F']:[_0x3c0e2c[_0x18f8af(0x6b,0x35)],String(_0x371c10[_0x1e4fb6(0x357,0x399)])]),_0x3c0e2c['gsEAQ'](clearServiceState,_0x371c10[_0x18f8af(_0x3abe05._0x42c995,_0x3abe05._0x28a87c)]);}function isPidRunning(_0x323a8d){const _0x517d40={_0x2c2f0e:0x4df},_0x9b5756={_0x4ea0bb:0x410};function _0x286857(_0x4a38ce,_0x31c465){return _0x17b889(_0x4a38ce-_0x9b5756._0x4ea0bb,_0x31c465);}try{return process[_0x286857(0x506,_0x517d40._0x2c2f0e)](_0x323a8d,0x0),!![];}catch{return![];}}function startDetachedWindowsService(_0xdbe4e3){const _0x312c8d={_0x2239fe:0x1e,_0x29badb:0x518,_0x20c82f:0x1ca,_0x56dc76:0x51c,_0x47dafc:0x50e,_0x30de28:0x301,_0x53c7fa:0x2f4,_0x3118f4:0x1c4,_0x57c22a:0x4f0,_0x13145a:0x3e6},_0x556934={_0x40ae1c:0x167},_0x38402c={'YEarw':function(_0x5a1057,_0x2f4b26,_0x524469,_0x5ea8ee){return _0x5a1057(_0x2f4b26,_0x524469,_0x5ea8ee);},'bMQXP':function(_0x2bb158,_0x182e79){return _0x2bb158(_0x182e79);}},_0x516540=openSync(SERVICE_LOG_PATH,'a');function _0x12dce8(_0x2b6216,_0x17bba7){return _0x1cec38(_0x17bba7,_0x2b6216-_0x556934._0x40ae1c);}function _0x30454f(_0x12024d,_0x4b199c){return _0x1cec38(_0x4b199c,_0x12024d-0x395);}const _0x4e06bb=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x5701a3,..._0x28c56c]=_0xdbe4e3,_0x17b91b={};_0x17b91b[_0x12dce8(0xae,-_0x312c8d._0x2239fe)]=!![],_0x17b91b[_0x30454f(0x5f5,_0x312c8d._0x29badb)]=['ignore',_0x516540,_0x4e06bb],_0x17b91b[_0x12dce8(0xbd,_0x312c8d._0x20c82f)+_0x30454f(_0x312c8d._0x56dc76,_0x312c8d._0x47dafc)]=!![];const _0x14eeb0=_0x38402c[_0x30454f(_0x312c8d._0x30de28,0x2d8)](spawn,_0x5701a3,_0x28c56c,_0x17b91b);_0x14eeb0[_0x12dce8(_0x312c8d._0x53c7fa,_0x312c8d._0x3118f4)]();}finally{_0x38402c[_0x30454f(_0x312c8d._0x57c22a,_0x312c8d._0x13145a)](closeSync,_0x516540),closeSync(_0x4e06bb);}}function resolveScriptPath(_0x1c97a2){const _0x23bcfb={_0x28afbc:0x7f},_0x29af57=_0x1c97a2?.[_0x54df33(0x743,0x661)]()||process[_0x54df33(0x6dc,0x737)][0x1]?.['trim']()||'';if(!_0x29af57)return'';function _0x54df33(_0x3acf46,_0x39c4e6){return _0x1cec38(_0x3acf46,_0x39c4e6-0x4aa);}function _0x16b785(_0x29594f,_0xb12a6a){return _0x1cec38(_0xb12a6a,_0x29594f-_0x23bcfb._0x28afbc);}try{return realpathSync(_0x29af57);}catch{return _0x29af57;}}function ensureLaunchScriptExecutable(_0x4f7c26,_0x2d1d81){const _0x26df30={_0x1521cc:0x530,_0x429049:0x36c};function _0x2f854e(_0x4b779b,_0x2d4eb0){return _0x17b889(_0x2d4eb0-0x1d8,_0x4b779b);}const _0x20b853={'qCWlV':function(_0x3034f9,_0x42502b,_0x349f30){return _0x3034f9(_0x42502b,_0x349f30);}};if(_0x2d1d81===_0x2f854e(_0x26df30._0x1521cc,0x50b)||!_0x2c3da2(_0x4f7c26))return;function _0x31e785(_0xeec224,_0x17e89a){return _0x17b889(_0x17e89a-0x119,_0xeec224);}try{_0x20b853[_0x2f854e(0x2f5,_0x26df30._0x429049)](chmodSync,_0x4f7c26,0x1ed);}catch{}}function buildWindowsRunCommand(_0x47e24b){const _0x2ff41c={_0x3001b4:0x674,_0x573be9:0x795,_0x3034f1:0x647},_0x41a9a3={_0x10c3e1:0x5d5},_0x27e0a9={_0x1a4e1f:0x3d};function _0x5b39e5(_0xf58f28,_0x3ebe8d){return _0x1cec38(_0x3ebe8d,_0xf58f28- -_0x27e0a9._0x1a4e1f);}function _0xf949df(_0x1d6fb3,_0x832be6){return _0x1cec38(_0x1d6fb3,_0x832be6-_0x41a9a3._0x10c3e1);}return _0x47e24b[_0xf949df(_0x2ff41c._0x3001b4,_0x2ff41c._0x573be9)](escapeWindowsArg)[_0xf949df(0x67b,_0x2ff41c._0x3034f1)]('\x20');}function ensureServiceDirs(){const _0x1e5439={_0x618367:0x15d};function _0x118b93(_0x4a6d34,_0x432679){return _0x17b889(_0x4a6d34- -0x264,_0x432679);}const _0x30927f={};_0x30927f[_0x118b93(_0x1e5439._0x618367,0x29f)+'e']=!![];function _0x330086(_0x1f6d91,_0x43803c){return _0x17b889(_0x43803c- -0x33f,_0x1f6d91);}_0x3d7e29(SERVICE_DIR,_0x30927f);const _0x16ca5f={};_0x16ca5f[_0x118b93(0x15d,0x1d8)+'e']=!![],_0x3d7e29(LOG_DIR,_0x16ca5f);}function escapeXml(_0x54dca8){const _0x1678a1={_0x335b66:0x37d,_0x56d0c2:0x215,_0x5e6b5b:0x280,_0x17e3b8:0xc3,_0x12290f:0x394,_0x511445:0x2d5,_0x25d691:0x46a,_0x2c7223:0x267},_0x386fa1={_0x2d6ac3:0x1ac},_0x42ee52={};_0x42ee52[_0x54c536(_0x1678a1._0x335b66,0x281)]=_0x54c536(0x31c,_0x1678a1._0x56d0c2);function _0x204a91(_0x37f119,_0x332bc5){return _0x1cec38(_0x332bc5,_0x37f119- -0x125);}_0x42ee52['pCybj']=_0x54c536(0x1e7,0x1bf);function _0x54c536(_0x1dd26b,_0x45381e){return _0x1cec38(_0x45381e,_0x1dd26b-_0x386fa1._0x2d6ac3);}_0x42ee52['LCSXa']='&gt;';const _0x3bfc36=_0x42ee52;return _0x54dca8[_0x54c536(0x394,0x444)+'ll']('&',_0x3bfc36[_0x54c536(_0x1678a1._0x335b66,_0x1678a1._0x5e6b5b)])[_0x204a91(_0x1678a1._0x17e3b8,0x121)+'ll']('<',_0x3bfc36['pCybj'])[_0x54c536(_0x1678a1._0x12290f,0x2f6)+'ll']('>',_0x3bfc36[_0x54c536(_0x1678a1._0x511445,_0x1678a1._0x25d691)])['replaceA'+'ll']('\x22','&quot;')[_0x54c536(_0x1678a1._0x12290f,_0x1678a1._0x2c7223)+'ll']('\x27',_0x204a91(0x116,0xad));}function escapeSystemdArg(_0x370198){const _0x5bbf7f={_0x5f15ef:0x385,_0x17670d:0x109},_0x2e2445={_0x3fecc1:0x17e},_0x5dcaa2={_0x4d5c73:0x2fd};function _0x17e626(_0xc26e51,_0x2ccc04){return _0x1cec38(_0x2ccc04,_0xc26e51-_0x5dcaa2._0x4d5c73);}function _0x23901f(_0x16c951,_0x143985){return _0x1cec38(_0x16c951,_0x143985- -_0x2e2445._0x3fecc1);}return'\x22'+_0x370198[_0x17e626(0x4e5,_0x5bbf7f._0x5f15ef)+'ll']('\x5c','\x5c\x5c')[_0x23901f(_0x5bbf7f._0x17670d,0x6a)+'ll']('\x22','\x5c\x22')+'\x22';}function _0xd787(_0x276786,_0x265aba){_0x276786=_0x276786-0x181;const _0x2088e5=_0x3788();let _0x485fb5=_0x2088e5[_0x276786];if(_0xd787['MwbjbH']===undefined){var _0x3430ea=function(_0x382ff0){const _0x2ba2fb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3f964d='',_0x5e20fe='',_0x1972ab=_0x3f964d+_0x3430ea;for(let _0x181cfa=0x0,_0x275ae8,_0x417a1a,_0x5c76d9=0x0;_0x417a1a=_0x382ff0['charAt'](_0x5c76d9++);~_0x417a1a&&(_0x275ae8=_0x181cfa%0x4?_0x275ae8*0x40+_0x417a1a:_0x417a1a,_0x181cfa++%0x4)?_0x3f964d+=_0x1972ab['charCodeAt'](_0x5c76d9+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x275ae8>>(-0x2*_0x181cfa&0x6)):_0x181cfa:0x0){_0x417a1a=_0x2ba2fb['indexOf'](_0x417a1a);}for(let _0x5cef02=0x0,_0x151f38=_0x3f964d['length'];_0x5cef02<_0x151f38;_0x5cef02++){_0x5e20fe+='%'+('00'+_0x3f964d['charCodeAt'](_0x5cef02)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5e20fe);};_0xd787['kOdyPM']=_0x3430ea,_0xd787['PYnKDL']={},_0xd787['MwbjbH']=!![];}const _0x37889f=_0x2088e5[0x0],_0xd78791=_0x276786+_0x37889f,_0x3088f1=_0xd787['PYnKDL'][_0xd78791];if(!_0x3088f1){const _0x1de5ed=function(_0x47f568){this['gNqCLh']=_0x47f568,this['msHBvA']=[0x1,0x0,0x0],this['UQDTyr']=function(){return'newState';},this['LHuOjI']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['VAdeKz']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x1de5ed['prototype']['WGvguD']=function(){const _0x4ba131=new RegExp(this['LHuOjI']+this['VAdeKz']),_0x2f58db=_0x4ba131['test'](this['UQDTyr']['toString']())?--this['msHBvA'][0x1]:--this['msHBvA'][0x0];return this['fNYFMV'](_0x2f58db);},_0x1de5ed['prototype']['fNYFMV']=function(_0x29cf03){if(!Boolean(~_0x29cf03))return _0x29cf03;return this['ltqNnQ'](this['gNqCLh']);},_0x1de5ed['prototype']['ltqNnQ']=function(_0xbe42ad){for(let _0x3091e0=0x0,_0x2955a8=this['msHBvA']['length'];_0x3091e0<_0x2955a8;_0x3091e0++){this['msHBvA']['push'](Math['round'](Math['random']())),_0x2955a8=this['msHBvA']['length'];}return _0xbe42ad(this['msHBvA'][0x0]);},new _0x1de5ed(_0xd787)['WGvguD'](),_0x485fb5=_0xd787['kOdyPM'](_0x485fb5),_0xd787['PYnKDL'][_0xd78791]=_0x485fb5;}else _0x485fb5=_0x3088f1;return _0x485fb5;}function escapeWindowsArg(_0x26a34c){const _0x45716c={_0x371b15:0x275};function _0x441935(_0x3cda32,_0x1775ad){return _0x17b889(_0x1775ad-_0x45716c._0x371b15,_0x3cda32);}return'\x22'+_0x26a34c[_0x441935(0x5fc,0x62b)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x219658,_0x3d246f){const _0x19c2ac={_0x2f47f2:0x3bf,_0x59d598:0x4db,_0x46a24f:0x6a8,_0x485ec7:0x5b5,_0x5876e4:0x4d0},_0x3bbf2a={_0x580a0b:0xad},_0x2e010f={'XzzTQ':function(_0xb15cb7,_0x522c27,_0x1cbd07,_0xffe50c){return _0xb15cb7(_0x522c27,_0x1cbd07,_0xffe50c);}};function _0x4f5af6(_0x3b5e1a,_0x1311bd){return _0x17b889(_0x1311bd-_0x3bbf2a._0x580a0b,_0x3b5e1a);}function _0x581185(_0x38f3cd,_0x26ea46){return _0x17b889(_0x26ea46-0x295,_0x38f3cd);}try{const _0x170993={};return _0x170993[_0x4f5af6(_0x19c2ac._0x2f47f2,_0x19c2ac._0x59d598)]=_0x581185(_0x19c2ac._0x46a24f,_0x19c2ac._0x485ec7),_0x2e010f[_0x581185(0x5d5,_0x19c2ac._0x5876e4)](execFileSync,_0x219658,_0x3d246f,_0x170993),!![];}catch{return![];}}function execIgnoreFailure(_0x113d47,_0x567279){const _0x5caf99={_0x57b46c:0x5f4},_0x5adb2={_0x46d1ad:0x4a2};function _0x53e6ed(_0x409d61,_0x2b5adb){return _0x1cec38(_0x2b5adb,_0x409d61-_0x5adb2._0x46d1ad);}try{const _0x2e4122={};_0x2e4122['stdio']=_0x53e6ed(_0x5caf99._0x57b46c,0x663),execFileSync(_0x113d47,_0x567279,_0x2e4122);}catch{}}function rmIfExists(_0x57768f){const _0x432cb9={_0x1b7828:0x39,_0x368a4:0x99},_0x2ee3c7={_0x46f68f:0x285};if(!_0x2c3da2(_0x57768f))return;const _0xcf0a55={};_0xcf0a55[_0x4e12da(_0x432cb9._0x1b7828,_0x432cb9._0x368a4)]=!![];function _0x4e12da(_0x2c1132,_0x297183){return _0x17b889(_0x2c1132- -_0x2ee3c7._0x46f68f,_0x297183);}_0xb8b2b6(_0x57768f,_0xcf0a55);}import{existsSync as _0x2f2211,readFileSync as _0x29bc5c}from'fs';import{homedir as _0x2749eb}from'os';import{join as _0x34b0d9}from'path';var DEFAULT_GATEWAY_URL='ws://127'+'.0.0.1:1'+_0x17b889(0x20b,0x101),OPENCLAW_DIR=_0x34b0d9(_0x2749eb(),_0x1cec38(0xe3,-0x1c)+'w'),OPENCLAW_CONFIG_PATH=_0x34b0d9(OPENCLAW_DIR,'openclaw'+_0x17b889(0x24c,0x277)),OPENCLAW_MEDIA_DIR=_0x34b0d9(OPENCLAW_DIR,_0x1cec38(0x83,-0x7c));function resolveGatewayUrl(_0x369bf6){const _0x3d0d3a={_0x4ec71c:0x426,_0x16b91e:0x2a2,_0x4511b4:0x5cb,_0x2cd425:0x514,_0x3466b2:0x5c6,_0xd71d78:0x26c,_0x148bc8:0x437,_0x86029c:0x3f5,_0x329feb:0x3b4},_0x3649da={_0x587d2c:0x26f},_0x1de16e={};function _0x4cc32a(_0x23d1f0,_0x4cba67){return _0x1cec38(_0x4cba67,_0x23d1f0-0x445);}function _0x52dcdf(_0x23a5d0,_0x4559dc){return _0x1cec38(_0x23a5d0,_0x4559dc-_0x3649da._0x587d2c);}_0x1de16e['KEsau']=function(_0x448fb9,_0x456638){return _0x448fb9===_0x456638;};const _0x3f9bad=_0x1de16e,_0x25e768=_0x369bf6?.[_0x52dcdf(0x3fc,_0x3d0d3a._0x4ec71c)]();if(_0x25e768)return _0x25e768;const _0x555476=readOpenClawInfo();if(_0x3f9bad[_0x52dcdf(_0x3d0d3a._0x16b91e,0x436)](typeof _0x555476[_0x4cc32a(_0x3d0d3a._0x4511b4,_0x3d0d3a._0x2cd425)+'ort'],_0x4cc32a(0x65c,_0x3d0d3a._0x3466b2)))return'ws://127'+_0x52dcdf(_0x3d0d3a._0xd71d78,_0x3d0d3a._0x148bc8)+_0x555476[_0x52dcdf(0x260,_0x3d0d3a._0x86029c)+_0x4cc32a(0x453,_0x3d0d3a._0x329feb)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x4e83b8={_0x221069:0x2be,_0x559d05:0x469,_0x40b906:0x5a3,_0x541b8d:0x405,_0x3aa802:0x5ee,_0x55cb40:0x457,_0x27c606:0x344,_0x10bda0:0x56a,_0x535a22:0x492,_0xcdc6b7:0x196,_0x19b66c:0x31e,_0x1f979d:0x341,_0x345167:0x175,_0x1db5e9:0x385,_0x4c640e:0x274,_0x208121:0x3f0,_0xa37608:0x2e4,_0x1e3f3f:0x19f,_0x37eade:0x19d,_0x1e170f:0x3d8,_0x41411c:0x729,_0x212ce0:0x576,_0x2dc398:0x551},_0x537d21={_0x370ab1:0x84},_0x5acb73={_0x904412:0x168},_0x471034={};function _0x1307ac(_0x3fd339,_0x3c33e6){return _0x17b889(_0x3c33e6-_0x5acb73._0x904412,_0x3fd339);}_0x471034[_0x1307ac(_0x4e83b8._0x221069,_0x4e83b8._0x559d05)]='number';function _0x51c2c1(_0x31f5f2,_0x356064){return _0x17b889(_0x356064-_0x537d21._0x370ab1,_0x31f5f2);}_0x471034[_0x1307ac(0x333,0x4b9)]=_0x1307ac(0x45c,_0x4e83b8._0x40b906);const _0x498327=_0x471034;if(!_0x2f2211(OPENCLAW_CONFIG_PATH)){const _0x3889df={};return _0x3889df[_0x51c2c1(0x355,_0x4e83b8._0x541b8d)+_0x51c2c1(_0x4e83b8._0x3aa802,_0x4e83b8._0x55cb40)]=![],_0x3889df['gatewayP'+_0x1307ac(0x345,_0x4e83b8._0x27c606)]=null,_0x3889df[_0x51c2c1(_0x4e83b8._0x10bda0,_0x4e83b8._0x535a22)]=null,_0x3889df;}try{const _0x415bff=JSON[_0x51c2c1(_0x4e83b8._0xcdc6b7,0x25e)](_0x29bc5c(OPENCLAW_CONFIG_PATH,_0x51c2c1(_0x4e83b8._0x19b66c,_0x4e83b8._0x1f979d))),_0x79c94=_0x415bff['gateway']?.[_0x51c2c1(0x119,_0x4e83b8._0x345167)],_0x528467=typeof _0x79c94===_0x498327[_0x51c2c1(0x1fa,_0x4e83b8._0x1db5e9)]&&Number['isIntege'+'r'](_0x79c94)?_0x79c94:null,_0x2a12ce=typeof _0x415bff['gateway']?.[_0x51c2c1(0x185,_0x4e83b8._0x4c640e)]?.[_0x51c2c1(_0x4e83b8._0x208121,0x492)]===_0x498327[_0x51c2c1(0x31e,0x3d5)]&&_0x415bff[_0x1307ac(_0x4e83b8._0xa37608,0x26d)][_0x51c2c1(_0x4e83b8._0x1e3f3f,_0x4e83b8._0x4c640e)][_0x51c2c1(0x5ff,0x492)][_0x1307ac(0x5ef,0x4ed)]()?_0x415bff[_0x1307ac(_0x4e83b8._0x37eade,0x26d)]['auth'][_0x51c2c1(0x497,0x492)][_0x1307ac(_0x4e83b8._0x1e170f,0x4ed)]():null,_0x3daf0e={};return _0x3daf0e[_0x1307ac(0x4ff,0x4e9)+'und']=!![],_0x3daf0e['gatewayP'+_0x1307ac(0x471,_0x4e83b8._0x27c606)]=_0x528467,_0x3daf0e[_0x1307ac(_0x4e83b8._0x41411c,_0x4e83b8._0x212ce0)]=_0x2a12ce,_0x3daf0e;}catch{const _0xe65236={};return _0xe65236['configFo'+'und']=!![],_0xe65236['gatewayP'+_0x51c2c1(0x98,0x260)]=null,_0xe65236[_0x51c2c1(_0x4e83b8._0x2dc398,_0x4e83b8._0x535a22)]=null,_0xe65236;}}function resolveGatewayToken(){const _0x140dc4={_0x1ad2fa:0x10b,_0x1ba5b6:0x204},_0x410876={_0x168e96:0x20a};function _0x3954b5(_0x203a7f,_0x536482){return _0x17b889(_0x536482- -_0x410876._0x168e96,_0x203a7f);}return readOpenClawInfo()[_0x3954b5(_0x140dc4._0x1ad2fa,_0x140dc4._0x1ba5b6)];}function getOpenClawConfigDir(){return OPENCLAW_DIR;}function getOpenClawMediaDir(){return OPENCLAW_MEDIA_DIR;}var CONTROL_PREFIX=_0x1cec38(-0x78,0x125)+'t_relay_'+_0x17b889(0x3ec,0x289)+'_:';function _0x3788(){const _0x408e46=['uMHPCeC','B25Uzwn0','D2f5uMvXDwu','Bgf5q29UDhi','CZWVA2v5pGO','icaGihbHAxi','y29UDgvUDc0','ugf0Aa','C2uGy2XPzw4','lNnLCNzPy2u','tKzfEu4','zxjLBNqGC2u','yw5KC2HHA2u','C3nHz2vZ','C3rKAw8','BhnMsgm','C3rHCNrZv2K','C0f0','ugfPCIbYzwC','qxv0BY1PBNm','BKTgAvq','zxjZAw9Uxfi','AxnszwXHEu8','pLbYB2DYyw0','qLrdEMW','Cxzhs3i','CgfPCMLUzYa','C3rYAw5N','CMvZAgvKlG','ANrIuMO','y2XLyxjuAw0','zgv2AwnLrMe','C3bSAxq','zxrYEvrPBwu','s2jTvxy','Buvxquy','rwfPwuG','yw1L','EwL4u1y','zwqGka','CxvLDwuGChu','Dg9ju09tDhi','BwLSEq','zg93BG','y1vHzgu','zgDLigLZige','B3zL','y29UzMLNig4','y29KzsbYzwy','nty0ndHkzgPKzLm','zxDHEq','BMqGC2vYDMK','yxbWBguUy28','r2f0zxDHEu8','ve1zBg4','kYKRja','CNvUBMLUzW','lY9bChbSzs8','yvPVDey','yxjNDG','D0fUEu4','Dhj1zq','Aw1Hz2uVCg4','CMvSyxLtB2m','y2XPzw50rgu','BgvKihjLyxm','m3W1','z2f0zxDHEvi','BxzQs28','q2XP','BM5Ly3qGyxq','yxnL','ze91Dhb1Dd0','mZy3ntm1v25wBMPZ','C2fNzq','CNjVCKXVzW','ywnJzxnZq28','yxrO','zunSB3nL','BgfZDfnLzw4','zcWGyNv0ihm','ugfPCMvKoIa','yxbWCM92zwq','C2XPy2u','CMLUzYb3Axq','z2vZ','r0zgAMq','Dgv3yxLjzgW','ls1LCNjVCNm','B3bLBG','DgvKqxrnCW','zgLZCgXHEu4','zsbKzwXHEsa','ww91ignHBIa','C2vUzfrVr2e','Bgj3u3G','Ag9ZDg5HBwu','zgfYD2LU','DcbHCha6cG','zxrcCMLKz2u','BMrHCMrpDxq','yxj0yMvHDca','zcWGC3rVCha','Cg9YDa','phjLzgfJDgu','BNn0ywXSzwq','ntG5mtvPEej6EKW','y29UzMLN','A2LSBa','CMvSyxKGy28','zgvZDhjVEq','CgvU','q2XLyxjLzca','CMvHy2HHyMW','Axn0lteUmc4','DgLTzw91Da','D21ty24','z2f0zxDHEsa','DLHmyxK','BgLZDcb2zxi','igzVCIbNyxq','sunHAu0','zwXHEq','z2f0zxDHEq','ihnLCNzPy2u','EeXfCu8','CMvZigLKpq','CNzPy2uGDg8','CxvLC3q','yw5Ktxm9','sw52ywXPzca','z2f0zxDHEv8','CgDWugi','zw50pq','l3DZ','vMj5tg4','zcbZAw5Jzum','AxnhyxrLD2e','C3nUtfa','zgv0ywnOzwq','C2LUy2vdBgK','zM9YzsbWywK','CMvSyxLvCMW','cLr5Cgu9C2K','ChjVDg9JB2W','rwXxEvi','CMvMCMvZAc0','DwvZDcbWzw4','y2uGD2fZigK','zK9fvw0','Aw5ZDgfUy2u','Aw5JBhvKzuu','z2f0zxDHEvu','ls1NyxrLD2e','D2LUzg93C0G','CMLUzYbJB2q','C2HPzNq','zwqGy29Kzt0','qKnttuy','C2vUza','C2vYDMLJzq','zsbdBgf3A2u','C2vUzeDHDgu','yxnZAwDU','yxr0zw1WDd0','yxj0','uviGAw1Hz2u','CMvQzwn0zwq','C3LZDgvTzc0','igXVywqGDgG','DgvKihbSyxq','yw1Lia','yxbZAg90','Bg9Nugf0Aa','BMC+','tw9IAwXLiem','wuvHCNC','mJrSDNHbBui','DgvYigDHDgu','ywrKugvUzgK','seTdvvXtB2y','ywX1zsaI','DfrPBwvY','CNnPB249iJe','BgLZDa','y29UBMvJDfi','Bwv0Ag9K','C0HktwG','Dgv4Da','CNvUDgLTzsa','iMnSyxDRzxq','mJaW','C29U','Cg9UzW','Bgf1BMnOy3q','pg5VBMu+','zLLqBfa','Et4kica8C3q','Dgv3yxK','AxmTywn0Axy','BwvKAwe','zxK+uNvUqxq','BMuUDgfYz2u','tgf1BMnOqwC','DMLJzsbPBNm','uefjuKLor18','C3rHCNrLzca','uKvhx1nA','zw50','l3yXl3bHAxi','C2vYDMLJzvi','ANnVBG','zNjVBq','CxiTzMLSzsa','t0DgwNy','Dw5RBM93BG','zwzYzxnOzwq','sK9dv2m','zwXVywq','D3m6lY8','ihbSAxn0ifa','DwXLzcbYzwe','Bg9NCW','BMrnCZ0','swq9','yxbWCM92zva','sw5ZDgfUy2u','q3vYCMvUDfy','CMvTB3rLsxa','B2zM','phbHDgG+xsa','BgfZDevYCM8','BM5Ly3rLzca','y3jVC29MDfW','DgjLyxq','u2vYDMLJzv0','wNbsweC','Aw5KzxHpzG','yxLnzxnZywC','CNvLlZ4kica','Dw5PBNn0ywW','vw5ZDxbWB3i','CMvX','z2f0zxDHEuG','BIbMywLSzwq','CM9Szq','uMvTB3zLzca','Eu1Z','zwqGyMvJyxu','sfbvwey','y2uGywXYzwe','icaGia','DLDYzfG','zxK+cIaGphq','ywrK','vgHPCYbICMK','DgLUzYbMCMu','DxnLCG','lvrfuK0','zxjYB3jmB2C','ihjLyxnVBJ0','s1bPs3y','Df9Yzxf1zxm','CgvUzgLUz1a','BMDqywLYuMu','re9Is3O','CunxBfy','yvL2Bui','DhLWzq','uuPHzeK','D2f5ihjLB3a','B3vUzcbZzxi','w3n0yxr1C10','y29KzsbBls0','zgXLq2XVC2u','vgLTzxi','BMvJDgvK','Ag90','sKTNzfO','C3rHCNrLzee','zwm9mGPxB3i','CMvN','y29UBMvJDc4','AgfZr2f0zxC','z2f0zxDHEvm','zM9YD2fYze8','B2jZzxj2zum','ALzUtue','ihvUy2HHBMC','Aw5NpG','lMfP','phn0CMLUzZ4','CMvJB25Uzwm','CMvNAxn0zxi','r1HUre4','zsbUzxCGCge','lM9Wzw5JBge','qMfJA2DYB3u','zg9JDg9Y','zxDHEvvYBa','vg9Rzw5gB3u','AgvHCNrIzwe','DgvYpw5LDhC','zxjYB3i','vvjmoIaGica','mM0SidfOlca','ls1XCI1MAwW','BwvZC2fNzq','CMv0','uMvSyxKGvvi','igjYAwrNzsa','v1veEuS','C2GGy2HHBgW','Bwu+xsbBls0','pLn0yw5Kyxi','twvKAwfeAxi','zwnVBM5Ly3q','vgnjveC','y2XPzw50swq','BM5Ly3qGzhi','DgvK','CMvZDgfYDa','ienmssbZzxi','yMfJA2DYB3u','BwfYz2LU','z1LSCNa','zguGAw4GDgG','zsbZDgfYDgu','u0Lhsu5u','ignSAwvUDhm','zwqGyMfJA2C','BgfIzwW','B2rLihjLzNi','ru4IicjODhq','yxbWzw5KoG','q29UzMLNoIa','CgfYC2u','zgvfEhbPCMu','B3j0','CejqEuK','mtiYnZCZrfjIwxLZ','v25nrxy','q2XHD2TLDei','CMfTCW','y2XPzw50x2q','l3jLz2LZDgu','igrPCJOGica','t1bftG','zxnVBhzLza','D2f5twvZC2e','Ag9ZDa','yKTsue4','rxHWAxjLCZO','vLHNzvO','zxnOignSAwu','C3rHCNrPBMC','uMvXDwvZDfi','C2vYDMvYvxi','yxv0Aa','tdOGia','y2vZuMvJzw4','ls1Zzxj2Awm','z2f0zxDHEuK','uuzNvLq','Et4kica8Dhi','ls1UB3C','w1vUAxrDcKq','CNzPy2uGAw4','CNvUifSTlwC','ywLYlNjLAMu','q1jrqLu','BJOG','y29Kzq','B3b0Aw9UCW','C2nYAxb0uge','CMvSyxKGCMu','CMLWDcbWyxq','ig5HBwu9','C3rVCa','wvrRueu','Dg9tDhjPBMC','Dgv3yxLdB24','BNqGzgvTyw4','jMX0oW','EwXhz1G','odC4oq','EgDyv2C','C3rHCNq','q0jMCMu','zcbZzxj2Awm','m3WYFdb8nhW','BgfZDca8mM0','DMLJzsbMB3i','C3rYEq','DgfZA2TPBgW','tg9HzdWVA2u','BwfYA1bHAxi','zxjYB3jdB3i','yvHlB08','uKvrvuLsruq','zvjLC0O','ihf1zxvLzd0','ndyXnJi4u0ziExjm','C3rVCeHLyxi','kcGOlISPkYK','q29UzMLNrgK','BK1Zpq','ls1SAw5LCW','Bwf0y2G','BM90igLUC3q','vNPRBuG','Aw5ZDgfSBgu','y1n0yxj0pq','cGPBsw5ZDge','ls1Syxn0ihy','C2vHCMnO','CgfYyw1Z','CMf3','CMvHzhLtDge','zgvSzxrL','uNfNCxm','ig9Rpq','EfHUs1K','pGOGidXRzxK','y29UBMvJDa','lIbsDw4GiMm','yKHjs3G','AgfUzgXLr2e','sgfRAxK','rI04iJ8+cJW','ls1Syxn0','zcbXDwv1zwq','ywKUy2XHD2S','whP6vfe','lw5HBwuGpgq','ihjLBgf5pq','DfrPBwvVDxq','D3nZoI8V','AM9PBG','AxnbCNjHEq','ywLYzwqUifi','BM93','CgfPCMvK','A2LUza','zcWGCNvUBMK','y2XPzw50x2m','BMCUieXLzNq','lZeYnY4WlJa','C2vYDMLJzva','Dd4k','lMPZB24','zsbdteKkqwy','sw5ZDgfSBgu','r0fdzvK','wMvbDg0','t3bLBKnSyxC','zxjYB3i6ia','yNjPzgDLlwm','CxvLCNK','ru5PBhu','C2nOzwr1Bgu','txbiyMK','l2TLEt4kica','C3rHBgXHDgK','BgfZDfjLBge','DgfSBgf0Aw8','Ahr0Chm6lY8','igHHBMrZAge','BM9KzvbHDgG','yxLnCZ0','BgLLBNrezw0','AcbUBYbHy3q','y2XVC2u','zxHPC3rPBMC','C2LVBJ0Ims4','CMvNAxn0CNK','y2HHBMDLzc4','lMnSyxDRzxq','BxbSzqPfEgu','AuT4wey','pgTLEt5tDge','zxj2AwnLige','vwrmy0G','BhjLywr5iha','CMWGphDZoI8','Aw5ZDgfSBa','BwLU','DhjHDgLVBI4','s2j2EK4','zevYCM9Yuge','igrLDMLJzuK','AxngAw5PDgu','y2XVC2vhyxq','C3rHCNrizwe','EwfOrum','B2nRzxq','zwqUifj1BIa','zxrYEurLBge','y29UBMvJDgu','y3v6sxq','u2vYDMvYifu','Dfb4qK4','yxbWBhK','C2vYDMLJzu0','sM9JvMG','suq6ia','l0rurcbqteK','y2XPzw50q28','Bg9Hza','zuLZs0e','pGO8l3bSAxm','icaGicaGica','C2uGC2TPCha','BMqU','Aw5Nienmssa','tK9ux1bbsvi','t3bLBJ0','r1bus3u','B3bLBMnSyxC','yxK+cIaGpgS','Cgf0AdOGica','AxmGuviGy28','qxrnCW','EwzHAMm','BwfYA0rLDMK','r2f0zxDHEuK','zs5JBgK','A2v5pKTLzxa','BIaIy2XHD2S','B2q9','Dg9Y','B249q2XHD2S','wKjoBvu','DgG8l2TLEt4','y29Uy2f0','CMvXlq','zwqU','DxjSpL0GwY0','ChvZAa','zgv2AwnLtMe','igDHDgv3yxK','zw1HBMrFCMu','vxjSpq','CLf1zxvLr2e','oIaGia','BgWIig9Yici','CMvSyxKGy2W','D3nZoG','y2XVC2vKige','Dg9mB3DLCKm','ihrVA2vUoIa','phvUA25VD24','C2uGywXYzwe','BuzhsNG','BhvxBvK','AwrSzsb3Axq','tM8GBwf0y2G','yMfZzty0','BYbYzxnVBhy','CMvXig1LDgG','DMTTzLi','Et5mywjLBdW','zgXLrgLZy28','DxrMoa','zM9Yy2u','EMLivNa','yxrLD2f5lxu','ihbHAxiIigy','C2vYDMvYlw0','Bwf4ugf5Bg8','u0rfq3y','Be1Z','Aw5Nr2f0zxC','zxf1zxn0swq','B25Jzq','CgvUzgLUz0C','zgf0yq','u2vYDMLJzsa','C29YDa','BMzPzYbWyxq','Dg9eyxrHvvi','zMLSDgvY','CgLK','tg9NihbHDgG','ugf0AdOGica','qNjPzgDLigK','EwvZ','De1HEerLBge','uKW6ia','AgfUzhnOywS','DgvYBwLUyxq','BgLLBNq','y29UC3rYDwm','uuzly1O','zfjzBwe','CMvSyxLdB24','ywLYlMfWChi','B3bWzwqGywy','uNLLse4','ntC3otm2uenVCKrZ','pGO8l2rPy3q','ChbLBMq6','ls1Zzxj2zxi','mJy0nJm0A3fqtefo','CNzLCI4','ignVBMzPzZO','ieLeoIaGica','zw50rgvTyw4','zw4GC2LUy2u','BgKUANnVBG','r2f0zxDHEtO','AgvSCa','lwPZB25D','rxjYB3iGtg8','tM90ihbHAxi','Aw5ZDc0','A2u9','x19JBgf3A2u','r2f0zxDHEvi','uundz3O','DwfSBhKU','tentwge','ls1QC29Uxq','y291BNq','Es11CMW','ifjLC3rHCNq','zxzLBNq','tNncBhu','C2vYDMLJzuK','CMvWBgfJzq','Dd4kica8A2u','yNzWzLm','CMLUzZ4','zg9JDg9YifS','AwXLzcaO','wfPozeq','Aw5JBhvKzxm','DMfSDwvZ','CMvSyxKGzxi','Aw5Jzq','ihn0B3aU','u3Hwvwe','pL0GwY0TBgK','wY0TANnVBL0','y3rPDMf0Aw8','tdOGicaGica','zxrOB2q','z0TnBhy','yurvrwi','Axjszxf1zxm','wKTczxq','ihnPBMnLr2e','AxnWBgf5tMe','tgLICMfYEq','Cgf0Ag5HBwu','BgvUz3rO','C29Tzq','C3rYAw5NAwy','qLP4vLy','CgXHDgzVCM0','zw50pwnSAwu','CMvSyxLbDhq','AwDUB3jL','uMvZDgfYDfm','sungyNG','zxjZ','CNrIzwf0','ihnPBMnLq2W','C2GGC2L6zt0','C29Upq','Bgf3A2v0ihi','yK1rwfa','ChvZAfbLBMq','qM5xCwu','u3rHCNrLza','DxzbAvu','t3rrzgO','zNjHBwuG','zgLZy29UBMu','ALPfweO','zevYCM9Ypwe','D2LUmZi','yNjPzgDLlq','y2XHD2TLDca','AcbMB3iGC2u','DcbKzw1HBMq','ywn0Aw9U','y29UBMvJDca','rxzrvNG','ELv6yu0','C3LZDgvTy3q','v2LUzg93C1W','jMfTCdS','B25Uzwn0u3q','CMvSyxKGzNi','ihrOzsbWywK','Dgv3yxLpCgu','DwvZDeLKpq','Dw5ZDxbWB3i','Bg9JywXhyxq','z2vUzxjHDgu','zgv2AwnLlNa','C2vHCMnOuge','Bgf1BMnOywC','C25HChnOB3q','zhrKiJ4kpha','pwfSD2f5CWO','ze1Zpq','ywLYzwqGD2K','ls11C2vY','u3rHCNrPBMC','BgHuqwK','CMfUzg9T','D2LKDgG','z2f0zxDHEva','AwrL','EufJDgL2Axq','pc9ZDhjPBMC','ue9tva','Dw5SB2fK','AMD3sxK','Dw5Yzwy','y2uU','C21HBgW','DeLUDgvYDMe','AxnTyxrJAa','DgfSBgvKigi','zxzLBa','CNvUlxjLz2K','C3rHDhvZ','uNvUBMLUzZO','A2LACu4','zgfLBw9Ulxi','CgfPCIbYzxe','qLDwDKe','zgLUzYbYzxe','ywXSzwq','zvvNyNO','BgLUzxm','DMLJzsbYzxm','yMLUyxj5','Ahr0CdOVlW','zgLUzZ0Ivvq','B25Uzwn0Aw4','DgfYDdOG','B25qzw5KAw4','q29UzMLNrM8','CdOVl3D3DY4','BwfUzfn0yxi','z2v0cG','lw5LDW','CMvXDwLYzwq','zNrLCIbPzgW','B24U','rvb3v24','y3jLyxrLzee','AgfIBgu','Dw5Cq2XHD2S','icaGig5VDca','y29UzMLNrM8','BgLUDxG','C2vYDMvY','zgv2AwnLswq','DhjPBq','u3f4v2G','AxzLihnVy2S','zcbMB3iGzNi','C2uGy2fUy2u','yxbWBgLJyxq','BhzLza','yxLnCW','zxHPDenVzgu','BwfW','icaG','sg9St1K','Bwf4','yxLezw1HBMq','y2f0y2G','B3nLzdOG','s0vZyxu','lJaUmc4XoG','C1rrqMq','Aw9Ul2PZB24','y2fUy2vSr2e','A2v0','DxbKyxrLzee','y09sCNC','CMvZ','B25Uzwn0zwq','u1Hitwq','cIaGpc9HCNi','CMvXDwvZDeK','zerLDMLJzxm','CgvUtxm9','zw1WDa','uMvZDgfYDgu','mxW0Fdb8mNW','Aw5N','q05kwMS','C2vYDMvYidW','BxDdv1m','zxnOigzHAwW','vNPiB3q','B3vUDf96zxi','yxrLD2f5twu','zhKGCNvUBMK','zwXHChnLzfm','Eu9Wzw4','A2DftMe','C3rVChbLza','AMjtAeC','y29UzMLNoIa','CMvWBgfJzue','Dw50','DhDHCMvCtwK','CNvUBMLUzZO','C3rZ','Bg9NCYbMB3u','CM9YoIa','BMv0D29YAY0','DwuVpGOGidW','CgfPCMvKicG','zw5ZDxjLr2e','CMvJDxjZAxy','mci+cJXKAwm','CMvSyxKGAgu','qxjNDw1LBNq','thz1A0q','DNPjA1m','CMvSyxKGzgK','z2v0u25HChm','zxqGqNjPzgC','ywD2r1i','uKW6icaGica','CxjqyxLSB2e','yNjPzgDLlxm','Bg9N','AxnJB25Uzwm','ktOG','DgGG','nxW0Fde','Dw5K','BKrQyve','B2TLBG','icaGidXZDhi','Cu5JDgG','vvfku2y','zcbKzwXHEu0','AwvUDerLBwe','zMXHDe1HCa','Cgf5Bg9Hza','u2rJCwC','B3qGzM91BMq','D2fjAhe','vK5IrLm','yuPmA1e','uMvSyxLszwm','ywLYuMvXDwu','zMX1C2Hqzw4','BNvTyMvY','CvjfqM0','CNvU','BMvJDgLUzW','AwrSzsbJBg8','zxHPDa','yMzkvwe','y29UDhjVBf8','zxDHEsa','CMvJEwnSzsa','B2X2zwqGCMu','ihvYBd0','AxncDwzMzxi','sfvIuLC','z2f0zxDHEvq','r0fhuue','C3rHDgu','AgfUzgXLuMu','zM9YBsbMB3i','AgfZ','yxvSDc50yxi','C3rVCMvK','z2f0zxDHEum','CMvSyxLtzwm','zxj2AwnLlMO','BM9VCa','zxHLy1bHDgG','A25IBe0','CgfPCG','cLn0yw5Kyxi','BNrYB2WGzxy','u2vYDMLJztO','DxbKyxrLu24','r2f0zxDHEsa','C2v0','v1r2tgK','jMfWB3m7','lMXVzW','ieLeoIa','C3LZDgvTza','Bgf5twvZC2e','Dg9Rzw4','CxvLC3rDihi','C3rPBgWGCNu','Dgv3yxLnzxm','D2LUzg93CY0','cLjLC3rHCNq','CgfPCIbBls0','wwfKz3K','zgvUDgL0Esa','ugfPCMLUzYa','zcbIywnRz3i','zgvJAxnPB24','zgv0ywLSCW','ChbLzc4GuMu','CM9Wzxj0EuW','CMvZzxq','CMLKz2vdBgK','u3rVChbLzca'];_0x3788=function(){return _0x408e46;};return _0x3788();}function parseControl(_0x3e718d){const _0x5c3485={_0x3d12f8:0x7dd,_0x444240:0x683,_0x58ea96:0x255,_0x5f02b7:0x2a1,_0x25e604:0x666,_0x5d30cd:0xc2,_0x3609a3:0x2bc,_0x11953b:0x2fb,_0x347571:0x15f,_0x55c705:0x24b,_0x25124d:0x15f,_0x5151d3:0x6ab},_0x40dc45={_0x557179:0x36a},_0x4dc849={_0xa1fbcb:0x19a};function _0x3e6f3c(_0x381ab7,_0x44fed2){return _0x17b889(_0x44fed2- -_0x4dc849._0xa1fbcb,_0x381ab7);}function _0x11991b(_0x2f448a,_0x5575b2){return _0x17b889(_0x5575b2-_0x40dc45._0x557179,_0x2f448a);}if(!_0x3e718d[_0x3e6f3c(0x1c3,0x296)+'th'](CONTROL_PREFIX))return null;try{const _0xba397f=JSON['parse'](_0x3e718d[_0x11991b(0x752,_0x5c3485._0x3d12f8)](CONTROL_PREFIX[_0x11991b(0x524,_0x5c3485._0x444240)]));if(typeof _0xba397f['event']!==_0x3e6f3c(_0x5c3485._0x58ea96,_0x5c3485._0x5f02b7)||!_0xba397f[_0x11991b(0x6d6,_0x5c3485._0x25e604)][_0x3e6f3c(_0x5c3485._0x5d30cd,0x1eb)]())return null;return{'event':_0xba397f['event'][_0x3e6f3c(_0x5c3485._0x3609a3,0x1eb)](),'count':typeof _0xba397f[_0x3e6f3c(_0x5c3485._0x11953b,_0x5c3485._0x347571)]===_0x3e6f3c(0x34e,_0x5c3485._0x55c705)&&Number[_0x11991b(0x684,0x5df)](_0xba397f[_0x3e6f3c(0x137,_0x5c3485._0x25124d)])?_0xba397f[_0x11991b(_0x5c3485._0x5151d3,0x663)]:void 0x0};}catch{return null;}}function parseConnectStartIdentity(_0x2344e4){const _0x5cdde8={_0x3e882b:0x28a,_0x3be429:0x10e,_0x27790d:0x45f,_0x2a681e:0x271,_0x4c1ae4:0xbe,_0x447563:0x1c5,_0x5d04bd:0x237,_0x4551e6:0x301,_0x5b3aab:0x6c,_0x57842b:0xda,_0x54dac1:0x65c,_0x12af85:0x2ad,_0x4cd640:0xfe,_0x32cfef:0x2c,_0x5b5915:0x27a,_0x13c79f:0x477,_0x550ddd:0x4af,_0x3d3081:0x178,_0x33a2c9:0x4c,_0x1a3153:0x2c8,_0x3582f1:0x1cf},_0x4e5ac4={_0x16e7de:0x2c1},_0x4021b2={_0x5a7b86:0xf6},_0x2b3ff3={};function _0x121a5d(_0x277318,_0x19f0a7){return _0x1cec38(_0x19f0a7,_0x277318-_0x4021b2._0x5a7b86);}_0x2b3ff3[_0x121a5d(0x136,0x6b)]='connect',_0x2b3ff3[_0x41aa64(_0x5cdde8._0x3e882b,_0x5cdde8._0x3be429)]=function(_0x392cf8,_0x17cc42){return _0x392cf8!==_0x17cc42;};function _0x41aa64(_0x4878f7,_0x7532c6){return _0x1cec38(_0x7532c6,_0x4878f7-_0x4e5ac4._0x16e7de);}_0x2b3ff3[_0x41aa64(0x343,_0x5cdde8._0x27790d)]=_0x121a5d(0x61,0x21c)+_0x41aa64(0x3cc,_0x5cdde8._0x2a681e);const _0x4c0c57=_0x2b3ff3;try{const _0x4e1927=JSON['parse'](_0x2344e4);if(_0x4e1927[_0x121a5d(_0x5cdde8._0x4c1ae4,_0x5cdde8._0x447563)]!==_0x121a5d(0xa4,0x218))return null;if(_0x4e1927[_0x41aa64(_0x5cdde8._0x5d04bd,0x241)]!==_0x4c0c57[_0x41aa64(_0x5cdde8._0x4551e6,0x31a)]&&_0x4c0c57['QJadI'](_0x4e1927[_0x121a5d(_0x5cdde8._0x5b3aab,-0x19)],'connect.'+'start'))return null;const _0x3b1399=_0x4e1927[_0x121a5d(0x152,_0x5cdde8._0x57842b)]??{},_0x2fd314=typeof _0x4e1927['id']===_0x41aa64(0x52e,_0x5cdde8._0x54dac1)&&_0x4e1927['id'][_0x121a5d(0x2ad,0x3eb)]()?_0x4e1927['id'][_0x121a5d(_0x5cdde8._0x12af85,0x22c)]():_0x121a5d(0x1c9,_0x5cdde8._0x4cd640)+Math[_0x41aa64(0x445,0x2e6)]()[_0x121a5d(0x12e,_0x5cdde8._0x32cfef)](0x24)['slice'](0x2,0xc),_0x1aece1=firstString(_0x3b1399[_0x121a5d(0x1cd,_0x5cdde8._0x5b5915)+'me'],_0x3b1399['clientNa'+'me'],_0x3b1399[_0x41aa64(_0x5cdde8._0x13c79f,_0x5cdde8._0x550ddd)],_0x4c0c57[_0x121a5d(_0x5cdde8._0x3d3081,_0x5cdde8._0x33a2c9)]),_0xcabd84={};return _0xcabd84['id']=_0x2fd314,_0xcabd84[_0x41aa64(_0x5cdde8._0x1a3153,_0x5cdde8._0x3582f1)]=_0x1aece1,_0xcabd84;}catch{return null;}}function isConnectHandshakeRequest(_0x23ac63){const _0x30acab={_0x32e665:0x1d0,_0xc9e3af:0x39a,_0x53eacd:0x335,_0x2e2627:0x511,_0x46be94:0x3ad,_0x57be43:0x225,_0x30e99b:0x3c2,_0x512877:0x3ad,_0x26817a:0x52f,_0x5af0d3:0x58b,_0x421f57:0x2b0,_0x19f87f:0x46f},_0x137a0c={_0x54d3ab:0x21e},_0x8bf1fe={};function _0xd1a726(_0x2a6899,_0x24d42c){return _0x17b889(_0x24d42c-0x1a0,_0x2a6899);}_0x8bf1fe[_0xd1a726(0x514,0x4b1)]=function(_0xb3a6ae,_0x131791){return _0xb3a6ae===_0x131791;},_0x8bf1fe[_0x203021(0x6b1,0x609)]=_0x203021(_0x30acab._0x32e665,_0x30acab._0xc9e3af);function _0x203021(_0x4ef340,_0x56d3bb){return _0x17b889(_0x56d3bb-_0x137a0c._0x54d3ab,_0x4ef340);}_0x8bf1fe[_0xd1a726(0x420,_0x30acab._0x53eacd)]=function(_0x1f02c8,_0x5db72a){return _0x1f02c8===_0x5db72a;},_0x8bf1fe[_0x203021(_0x30acab._0x2e2627,_0x30acab._0x46be94)]=_0x203021(_0x30acab._0x57be43,_0x30acab._0x30e99b)+_0xd1a726(0x35b,_0x30acab._0x512877);const _0x9a99f3=_0x8bf1fe;try{const _0x28f16b=JSON['parse'](_0x23ac63);return _0x9a99f3[_0x203021(0x46a,_0x30acab._0x26817a)](_0x28f16b['type'],_0x9a99f3[_0xd1a726(0x74c,_0x30acab._0x5af0d3)])&&(_0x9a99f3['aYvmB'](_0x28f16b[_0xd1a726(_0x30acab._0x421f57,0x2e4)],_0xd1a726(_0x30acab._0x19f87f,0x3d2))||_0x28f16b['method']===_0x9a99f3[_0x203021(0x2ea,0x3ad)]);}catch{return![];}}function parsePairingRequestFromError(_0x5d512b,_0x1782b4=Date[_0x17b889(0x243,0x9a)]()){const _0x4c44b9={_0x1474b9:0x334,_0x50c6d1:0x305,_0x4400fd:0x408,_0x404256:0x4d8,_0x4939f5:0x1d3,_0x419579:0x1a2,_0x56bab4:0x53c,_0x3d4f72:0x464,_0x83329b:0x399,_0x427aed:0x6c1,_0x1787cc:0x4b6,_0x1a4c90:0x665,_0x4cc71a:0x404,_0x245b40:0x4d2,_0x7eb244:0x1dd,_0x494246:0x1c6,_0x5ed8cc:0x595,_0x41209a:0x4c1,_0x388a4b:0x294,_0x211133:0x399,_0x1eeef2:0x4bb,_0x37c7ee:0x501,_0xa86ae7:0x738,_0x50c1b5:0x695,_0x229ef1:0x246},_0x1ceeba={_0x34cc03:0x24a},_0x5340fc={'fOEUm':'res','GFFjd':_0x1d8199(0x309,0x1a4)+'ED','aXKoO':function(_0x26ae97,_0x466a56){return _0x26ae97(_0x466a56);},'CMnbq':'pending'};function _0x155e70(_0x56382f,_0x41e94e){return _0x1cec38(_0x56382f,_0x41e94e-0x419);}function _0x1d8199(_0x304658,_0x54c33d){return _0x1cec38(_0x54c33d,_0x304658-_0x1ceeba._0x34cc03);}try{const _0x26a021=JSON[_0x1d8199(0x256,0x37d)](_0x5d512b);if(_0x26a021[_0x155e70(0x29a,0x3e1)]!==_0x5340fc[_0x155e70(0x34b,0x36a)]||_0x26a021['ok']!==![]||!_0x26a021['error'])return null;const _0xe98c06=typeof _0x26a021[_0x155e70(_0x4c44b9._0x1474b9,0x404)][_0x155e70(0x2ae,0x449)]==='string'?_0x26a021['error']['code']:'',_0x4dcf53=typeof _0x26a021[_0x1d8199(0x235,0x293)][_0x155e70(0x34a,0x408)]==='string'?_0x26a021[_0x1d8199(0x235,_0x4c44b9._0x50c6d1)][_0x155e70(0x3df,_0x4c44b9._0x4400fd)]:'';if(!_0xe98c06['includes'](_0x155e70(0x319,_0x4c44b9._0x404256)+'ED')&&!_0xe98c06[_0x155e70(0x4a3,0x551)](_0x1d8199(_0x4c44b9._0x4939f5,_0x4c44b9._0x419579)+_0x155e70(_0x4c44b9._0x56bab4,_0x4c44b9._0x3d4f72))&&!_0x4dcf53[_0x1d8199(0x382,_0x4c44b9._0x83329b)](_0x5340fc[_0x155e70(0x851,_0x4c44b9._0x427aed)])&&!_0x4dcf53[_0x155e70(0x631,0x551)](_0x1d8199(_0x4c44b9._0x1787cc,0x566)+_0x155e70(0x50b,0x5c4)))return null;const _0x390919=_0x26a021['error'][_0x155e70(0x510,_0x4c44b9._0x1a4c90)]??_0x26a021[_0x155e70(0x33a,_0x4c44b9._0x4cc71a)][_0x1d8199(0x346,_0x4c44b9._0x245b40)]??{},_0x23492d=firstString(_0x390919['requestI'+'d'],_0x5340fc[_0x155e70(0x56d,0x463)](extractRequestIdFromMessage,_0x4dcf53),_0x1d8199(_0x4c44b9._0x7eb244,_0x4c44b9._0x494246));return{'requestId':_0x23492d,'deviceId':firstString(_0x390919['deviceId'],''),'displayName':firstNullableString(_0x390919[_0x1d8199(0x4f7,_0x4c44b9._0x5ed8cc)+_0x1d8199(_0x4c44b9._0x41209a,0x4d4)]),'platform':_0x5340fc[_0x1d8199(_0x4c44b9._0x388a4b,0xdb)](firstNullableString,_0x390919[_0x1d8199(_0x4c44b9._0x211133,0x37b)]),'deviceFamily':firstNullableString(_0x390919[_0x1d8199(_0x4c44b9._0x1eeef2,_0x4c44b9._0x37c7ee)+_0x155e70(_0x4c44b9._0xa86ae7,_0x4c44b9._0x50c1b5)]),'role':firstNullableString(_0x390919[_0x155e70(_0x4c44b9._0x229ef1,0x3ca)]),'remoteIp':firstNullableString(_0x390919[_0x1d8199(0x1ea,0x335)]),'receivedAtMs':_0x1782b4,'status':_0x5340fc['CMnbq']};}catch{return null;}}function parsePairResolvedEvent(_0x3ce1e8){const _0x1f0bf7={_0x44a03d:0x681,_0x3207fc:0x851,_0x5c325f:0x38b,_0x316c3f:0x56a,_0x16cc71:0x3e9,_0x4bf061:0x36b,_0x25b89d:0x351,_0x15afd2:0x74d,_0x41e56a:0x83f,_0x56e3d5:0x8ec,_0x38721c:0x804,_0x52e120:0x1b4,_0x27dd0d:0x8db,_0x59ab3a:0x89e,_0x14d768:0x587,_0x92fe9f:0x4e1,_0x3105d8:0x678,_0x8215b3:0x87c},_0x36f19e={_0x809a98:0x463},_0xc129e6={_0x1a261c:0x6f},_0x2d26f0={};_0x2d26f0[_0x42ef50(_0x1f0bf7._0x44a03d,0x5a8)]=_0x42ef50(_0x1f0bf7._0x3207fc,0x89e);function _0x21a1cb(_0x422a0a,_0x4953d1){return _0x17b889(_0x4953d1-_0xc129e6._0x1a261c,_0x422a0a);}_0x2d26f0[_0x21a1cb(0x2a1,_0x1f0bf7._0x5c325f)]=function(_0x2f061f,_0x1104b2){return _0x2f061f===_0x1104b2;},_0x2d26f0[_0x42ef50(0x39f,_0x1f0bf7._0x316c3f)]=function(_0x570f00,_0x1d34f7){return _0x570f00===_0x1d34f7;},_0x2d26f0['apWEG']=_0x21a1cb(0x309,0x1a0);const _0x3d0ae2=_0x2d26f0;function _0x42ef50(_0x145d0f,_0x517226){return _0x17b889(_0x517226-_0x36f19e._0x809a98,_0x145d0f);}try{const _0x5f23c3=JSON['parse'](_0x3ce1e8);if(_0x5f23c3[_0x42ef50(0x57d,0x5f9)]!=='event'||_0x5f23c3[_0x21a1cb(_0x1f0bf7._0x16cc71,_0x1f0bf7._0x4bf061)]!==_0x21a1cb(_0x1f0bf7._0x25b89d,0x3b6)+'air.reso'+_0x42ef50(0x665,0x7ee)||!_0x5f23c3[_0x21a1cb(0x3f2,0x44b)])return null;const _0x4df31a=typeof _0x5f23c3[_0x42ef50(_0x1f0bf7._0x15afd2,_0x1f0bf7._0x41e56a)][_0x42ef50(_0x1f0bf7._0x56e3d5,_0x1f0bf7._0x38721c)+'d']===_0x3d0ae2[_0x21a1cb(0x16c,_0x1f0bf7._0x52e120)]?_0x5f23c3[_0x42ef50(_0x1f0bf7._0x27dd0d,0x83f)][_0x42ef50(0x9c8,_0x1f0bf7._0x38721c)+'d']['trim']():'';if(!_0x4df31a)return null;const _0x5e99a3=_0x3d0ae2['BZxVV'](typeof _0x5f23c3[_0x42ef50(0x936,0x83f)]['decision'],_0x42ef50(0x820,_0x1f0bf7._0x59ab3a))?_0x5f23c3[_0x42ef50(0x8bf,0x83f)][_0x21a1cb(0x558,0x488)]:'unknown',_0x25f773=_0x5e99a3===_0x21a1cb(_0x1f0bf7._0x14d768,_0x1f0bf7._0x92fe9f)||_0x3d0ae2['xLEqO'](_0x5e99a3,_0x3d0ae2['apWEG'])?_0x5e99a3:_0x42ef50(_0x1f0bf7._0x3105d8,0x5c4),_0x498275={};return _0x498275[_0x21a1cb(0x44a,0x410)+'d']=_0x4df31a,_0x498275[_0x42ef50(0x7a8,_0x1f0bf7._0x8215b3)]=_0x25f773,_0x498275;}catch{return null;}}function firstString(..._0x537f83){for(const _0x52211b of _0x537f83){if(typeof _0x52211b==='string'&&_0x52211b['trim']())return _0x52211b['trim']();}return'';}function firstNullableString(_0x7df163){const _0x4b4048={_0x5bd270:0x517,_0x4fb6ee:0x4dd,_0x5f096f:0x1cc};function _0x2e9708(_0x59c98b,_0x471d38){return _0x1cec38(_0x471d38,_0x59c98b-0x2aa);}function _0x18f334(_0x54607f,_0xc6f9fd){return _0x1cec38(_0xc6f9fd,_0x54607f-0x11a);}return typeof _0x7df163===_0x2e9708(_0x4b4048._0x5bd270,_0x4b4048._0x4fb6ee)&&_0x7df163[_0x18f334(0x2d1,0x365)]()?_0x7df163[_0x18f334(0x2d1,_0x4b4048._0x5f096f)]():null;}function extractRequestIdFromMessage(_0xc332b9){const _0x33c493={_0x4742e5:0x316,_0x10f007:0x385},_0x2b6355={_0x1a2aa6:0x331},_0x345e26=_0xc332b9[_0xf78326(_0x33c493._0x4742e5,_0x33c493._0x10f007)](/requestId[:\s]*([a-f0-9-]+)/i);function _0xf78326(_0x530b05,_0x11218e){return _0x1cec38(_0x530b05,_0x11218e-_0x2b6355._0x1a2aa6);}return _0x345e26?.[0x1]??null;}import{randomUUID as _0x6b5db1}from'crypto';import{setTimeout as _0x55bf9a}from'timers/promises';import _0x4664d1 from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,GATEWAY_IDLE_DISCONNECT_DELAY_MS=0x7530,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{[_0x17b889(0x1ff,0x3ca)];[_0x17b889(0x45f,0x5ab)+_0x1cec38(0x2ff,0x1cc)]=null;[_0x1cec38(0x87,-0x28)+_0x1cec38(0x57,0xab)]=null;['relayCon'+'necting']=![];['gatewayC'+_0x1cec38(0x2d3,0x1a3)+'g']=![];[_0x1cec38(0x2db,0x1e5)]=!![];[_0x1cec38(0x140,0x151)+_0x1cec38(0xc5,0x1d6)]=0x0;[_0x1cec38(0x179,0x8c)+_0x1cec38(0xdd,0x188)+'yMs']=0x0;[_0x1cec38(0x1a6,-0x20)+_0x1cec38(0xb7,-0x8e)]=null;[_0x1cec38(0xd6,0x295)+'etryTime'+'r']=null;[_0x17b889(0x1f4,0x47)+_0x1cec38(0x117,-0x32)+_0x17b889(0x19d,0x26a)]=null;['heartbea'+_0x1cec38(-0x17f,-0x8e)]=null;[_0x17b889(0x2c9,0x117)+_0x1cec38(0x124,0x1e0)+'ssages']=[];['gatewayH'+'andshake'+_0x1cec38(0x9a,0x15e)]=![];[_0x17b889(0x460,0x5e9)+_0x1cec38(0xfb,0x1a8)+'tedAtMs']=null;[_0x17b889(0x3fb,0x384)+_0x17b889(0x39e,0x30c)+_0x1cec38(0x62,0xc6)]=null;[_0x1cec38(0x147,0x17c)];constructor(_0x3f54c0){const _0x15e3b3={_0x3c4e63:0xe2,_0x19249a:0x425,_0x26f1ee:0x28,_0x14fac3:0x3,_0x36c119:0x2e5,_0x3cc82c:0x5,_0xc7ac36:0x2ba};this[_0x57bebb(0xc8,_0x15e3b3._0x3c4e63)]=_0x3f54c0;function _0x57bebb(_0x16f05f,_0x27908f){return _0x1cec38(_0x16f05f,_0x27908f-0xb1);}function _0x440429(_0x80abd6,_0x13d15d){return _0x1cec38(_0x13d15d,_0x80abd6-0x39b);}this[_0x57bebb(0x3be,0x22d)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x3f54c0[_0x440429(0x2c2,_0x15e3b3._0x19249a)][_0x57bebb(0x10d,0xd7)+'d'],'instanceId':_0x3f54c0[_0x57bebb(-0xc9,-_0x15e3b3._0x26f1ee)][_0x57bebb(0xc4,_0x15e3b3._0x14fac3)+'Id'],'relayUrl':_0x3f54c0['config'][_0x440429(_0x15e3b3._0x36c119,0x390)],'gatewayUrl':_0x3f54c0[_0x57bebb(-0x12f,_0x15e3b3._0x3cc82c)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date[_0x57bebb(_0x15e3b3._0xc7ac36,0x126)]()};}[_0x17b889(0x20d,0xec)](){const _0x5cdf96={_0xd396c7:0x575,_0x25e6a7:0x668,_0x4d8dfb:0x403,_0x4bf051:0x4a9,_0xc2f0b7:0x330,_0x20b9f4:0x483,_0x3716ff:0x42d,_0x3729fd:0x3b1,_0x506268:0x2c7,_0x2bea08:0x562,_0x58d08e:0x612,_0x511408:0x564,_0x11e76a:0x3de,_0x1999d2:0x3f8,_0x41a52e:0x4e9},_0x3b04b4={_0x24efef:0x2bc},_0x57e020={_0x5b80a9:0x2b5};if(!this[_0x1c7b21(_0x5cdf96._0xd396c7,_0x5cdf96._0x25e6a7)])return;function _0x1c7b21(_0xd2cceb,_0x167e25){return _0x17b889(_0x167e25-_0x57e020._0x5b80a9,_0xd2cceb);}this['stopped']=![],this['updateSn'+'apshot']({'running':!![],'gatewayUrl':this['options']['gatewayU'+'rl']});function _0xcaf3a9(_0x52e4ed,_0x26799b){return _0x17b889(_0x52e4ed-_0x3b04b4._0x24efef,_0x26799b);}this['log'](_0xcaf3a9(_0x5cdf96._0x4d8dfb,0x503)+_0xcaf3a9(_0x5cdf96._0x4bf051,_0x5cdf96._0xc2f0b7)+'\x20gateway'+_0xcaf3a9(0x426,_0x5cdf96._0x20b9f4)+this[_0xcaf3a9(0x4bb,_0x5cdf96._0x3716ff)][_0xcaf3a9(_0x5cdf96._0x3729fd,_0x5cdf96._0x506268)]['gatewayI'+'d']+(_0xcaf3a9(_0x5cdf96._0x2bea08,_0x5cdf96._0x58d08e)+_0xcaf3a9(_0x5cdf96._0x511408,0x5fa))+this['options'][_0xcaf3a9(_0x5cdf96._0x11e76a,0x3fb)+'rl']),void this[_0x1c7b21(0x515,_0x5cdf96._0x1999d2)+_0xcaf3a9(0x3c0,_0x5cdf96._0x41a52e)]();}async[_0x1cec38(-0x6f,0x36)](){const _0x51f268={_0x4d62a2:0x81a,_0x3289c8:0x7bf,_0x4966c9:0x7b6,_0x4d729b:0x801,_0x1686df:0x7b2,_0x4db1b2:0x63a,_0x408a7e:0x6e0,_0x46350d:0x710,_0x44ab1d:0x730,_0x24c945:0x6dd,_0x3f78d1:0x65b,_0x451ce8:0x793,_0x22e293:0x80b,_0x378c8c:0x8c7,_0x24c869:0x7bc,_0x2e0390:0x6f6,_0x1b569c:0x862,_0x3be981:0x7e8,_0x3cf464:0x7c4,_0x277dbd:0x7bc,_0x582a9a:0x863,_0x375468:0x65d,_0x1659fe:0x6db,_0x34509d:0x7c6,_0x304a9:0x724},_0x1fce59={_0x1cfce6:0x467},_0x57da76={};_0x57da76[_0xdfa13c(0x567,0x432)]='runtime\x20'+_0xdfa13c(_0x51f268._0x4d62a2,0x778);const _0x3cfd60=_0x57da76;if(this[_0x11373f(0x774,0x857)])return;this[_0x11373f(0x774,_0x51f268._0x3289c8)]=!![],this[_0x11373f(0x7ff,0x726)+_0xdfa13c(0x78a,_0x51f268._0x4966c9)](),this['relaySoc'+_0xdfa13c(_0x51f268._0x4d729b,_0x51f268._0x1686df)]?.['close'](),this[_0x11373f(0x567,0x428)+_0x11373f(_0x51f268._0x4db1b2,0x734)]?.['close'](),this[_0xdfa13c(0x8c6,0x9fb)+'ket']=null,this['gatewayS'+_0xdfa13c(_0x51f268._0x408a7e,_0x51f268._0x46350d)]=null,this[_0xdfa13c(_0x51f268._0x44ab1d,_0x51f268._0x24c945)+'atewayMe'+_0xdfa13c(0x894,0x86c)]=[],this[_0x11373f(0x53e,_0x51f268._0x3f78d1)+'andshake'+_0xdfa13c(_0x51f268._0x451ce8,_0x51f268._0x22e293)]=![],this[_0xdfa13c(_0x51f268._0x378c8c,0x9c0)+_0xdfa13c(0x7dd,0x776)+'tedAtMs']=null,this[_0x11373f(_0x51f268._0x24c869,_0x51f268._0x2e0390)+'onnected'+_0xdfa13c(0x6fb,0x574)]=null,this[_0x11373f(0x69e,0x5ff)+'necting']=![],this[_0xdfa13c(_0x51f268._0x1b569c,0x8b3)+'onnectin'+'g']=![];const _0x47cf0c={};function _0xdfa13c(_0x33c8fd,_0x3a6530){return _0x17b889(_0x33c8fd-_0x1fce59._0x1cfce6,_0x3a6530);}_0x47cf0c['running']=![],_0x47cf0c[_0x11373f(0x69e,_0x51f268._0x3be981)+_0xdfa13c(0x605,_0x51f268._0x3cf464)]=![],_0x47cf0c[_0x11373f(_0x51f268._0x277dbd,_0x51f268._0x582a9a)+_0xdfa13c(0x805,_0x51f268._0x375468)]=![],_0x47cf0c['clientCo'+_0x11373f(0x778,_0x51f268._0x1659fe)]=0x0,_0x47cf0c['lastErro'+'r']=null,this[_0x11373f(_0x51f268._0x34509d,_0x51f268._0x304a9)+_0x11373f(0x4f7,0x688)](_0x47cf0c),this['log'](_0x3cfd60['vXLay']);function _0x11373f(_0xab69e0,_0x1d5025){return _0x17b889(_0xab69e0-0x3c1,_0x1d5025);}await _0x55bf9a(0x19);}async[_0x17b889(0x16b,0x2ee)+'airReque'+'st'](_0x5d2953){const _0x4c2aa5={_0x3f22fe:0x5f0,_0x2a4b00:0x580,_0x152f7f:0x448,_0x5219a5:0x52d,_0x14f23a:0x50f,_0x3d7522:0x321,_0xc774a:0x41a,_0x184807:0x319,_0x3d4d89:0x575},_0x249dce={_0x3869d6:0x41d},_0x5a8f62={_0x5832b3:0x301};function _0x59b8ba(_0x333d88,_0x5461b1){return _0x1cec38(_0x333d88,_0x5461b1-_0x5a8f62._0x5832b3);}function _0x4ec3aa(_0x1221cb,_0x1103f8){return _0x1cec38(_0x1103f8,_0x1221cb-_0x249dce._0x3869d6);}const _0x561da7={};_0x561da7[_0x4ec3aa(_0x4c2aa5._0x3f22fe,0x5c2)+'d']=_0x5d2953,this['sendGate'+_0x59b8ba(_0x4c2aa5._0x2a4b00,0x555)+'st'](_0x59b8ba(_0x4c2aa5._0x152f7f,0x47a)+_0x4ec3aa(_0x4c2aa5._0x5219a5,0x452)+_0x59b8ba(0x4de,0x581),_0x561da7),this[_0x59b8ba(_0x4c2aa5._0x14f23a,0x349)+_0x59b8ba(0x415,_0x4c2aa5._0x3d7522)+_0x59b8ba(_0x4c2aa5._0xc774a,_0x4c2aa5._0x184807)](_0x5d2953,_0x59b8ba(_0x4c2aa5._0x3d4d89,0x5a5));}async['rejectPa'+_0x17b889(0x313,0x19c)+'t'](_0x5d8611){const _0x2d48f1={_0x392e10:0x7da,_0xaf01d4:0x74b,_0x1f6898:0x82b,_0xe0a61a:0x7cc,_0x1e2333:0xf8,_0x45170f:0x2d},_0x154712={_0x1d7f0c:0x578},_0x50c60a={_0x28e266:0xf1},_0x58f413={};function _0x34fe26(_0x5340db,_0x14b358){return _0x1cec38(_0x5340db,_0x14b358- -_0x50c60a._0x28e266);}_0x58f413[_0x277bf0(_0x2d48f1._0x392e10,_0x2d48f1._0xaf01d4)+'d']=_0x5d8611,this['sendGate'+_0x277bf0(_0x2d48f1._0x1f6898,_0x2d48f1._0xe0a61a)+'st']('device.p'+_0x34fe26(-_0x2d48f1._0x1e2333,-0xc4)+'ct',_0x58f413);function _0x277bf0(_0x3ef25b,_0x21170f){return _0x1cec38(_0x3ef25b,_0x21170f-_0x154712._0x1d7f0c);}this[_0x277bf0(0x459,0x5c0)+_0x34fe26(0x7b,-0xd1)+_0x34fe26(_0x2d48f1._0x45170f,-0xd9)](_0x5d8611,'rejected');}[_0x17b889(0x3c8,0x46c)+_0x1cec38(-0x1b3,-0x2f)](){const _0x219a14={_0x50f085:0x502,_0x5e6b9e:0x55f,_0x384e36:0x11,_0x28ba32:0x151,_0x550c4b:0x137,_0x461955:0x474},_0x6729c8={...this['snapshot']};_0x6729c8[_0x25f4f1(0x7a,-0x66)+'dDevices']=[...this['snapshot'][_0x483c60(_0x219a14._0x50f085,_0x219a14._0x5e6b9e)+'dDevices']];function _0x483c60(_0x218e7a,_0x339372){return _0x17b889(_0x339372-0x2e3,_0x218e7a);}function _0x25f4f1(_0x197782,_0x2d08b6){return _0x17b889(_0x2d08b6- -0x2e2,_0x197782);}return _0x6729c8[_0x25f4f1(_0x219a14._0x384e36,-_0x219a14._0x28ba32)+_0x25f4f1(0x28c,0x101)+_0x25f4f1(_0x219a14._0x550c4b,0xd8)]=[...this[_0x483c60(0x6cf,0x62d)][_0x483c60(0x369,_0x219a14._0x461955)+'airReque'+'sts']],_0x6729c8;}async[_0x1cec38(-0x10b,-0x8b)+_0x1cec38(0x9f,-0xca)](){const _0x1499a6={_0x30a81f:0x21a,_0x1e460c:0x65,_0x2aebe5:0x4e9,_0x3cdb81:0x5f2,_0x21dde9:0x4f3,_0x3e8fef:0x37c,_0x3a53a3:0x127,_0x1cd7b2:0x242,_0x45edb7:0x3eb,_0x21b7b1:0x75a,_0x552f8c:0x528,_0x59f140:0xd1,_0x32f50e:0xac,_0x58c591:0x4f0,_0x1c5610:0xcc},_0x10579c={_0x3bf732:0x4fd,_0x599e5e:0x37b,_0x11a52b:0x65a,_0x12c614:0x684,_0x50808c:0x9c7,_0x5f5bea:0x8c7,_0x3660b4:0x518,_0x14483b:0x332,_0x1f5672:0x4a3,_0x183820:0x369,_0x2ce1e5:0x7fb,_0x52ee6e:0x66d,_0x5832cf:0x915,_0x296acf:0x835,_0x363beb:0x6c7,_0x25c2e2:0x22c,_0x2ffb06:0x116,_0x581753:0x7d0,_0x1c1d65:0x1eb,_0x494e18:0x241,_0x42484c:0x5ac,_0x3117b9:0x5b9,_0x4f74a8:0x480,_0x11da93:0x47e},_0x533489={_0x284bc1:0x2a2,_0x2bbf83:0x290,_0x5cf79f:0x1e0},_0x45ced1={_0xd59a83:0x21c},_0x28c3be={_0x396433:0x54e,_0x305cee:0x1c3,_0x3f8d5e:0x478},_0x128d2b={_0x3b90e5:0x638},_0x4eed7e={_0xd5496f:0xbf},_0x21158f={_0xc2d711:0xf0},_0x188e4c={_0x1a9912:0x5fa},_0x50b01c={_0x9fced9:0x5d9,_0x538962:0x48f,_0x332292:0x278,_0x299d19:0x21,_0x3f34c5:0x65,_0x11b10b:0x371,_0x14f1f8:0x614,_0x20e476:0x3a7,_0x363956:0x23e,_0x2c592e:0x36c,_0x30e40b:0x1d3,_0x1f570e:0x156,_0x11c1c5:0x7f2,_0x363b95:0x35c,_0x8ffd71:0x14b,_0x17b07b:0x107,_0xa7b2e2:0x31b,_0x3679d7:0x199,_0x136c45:0x5d},_0x4307d9={_0x4694c9:0x2f4},_0x6d0ee9={'BnWqe':function(_0x4996d3,_0x165576){return _0x4996d3===_0x165576;},'QFgVT':function(_0x254b9a,_0x475716){return _0x254b9a(_0x475716);},'vIwkb':function(_0x8d2924,_0x1c9218){return _0x8d2924(_0x1c9218);},'LvukD':function(_0x1784e,_0xaab81b){return _0x1784e*_0xaab81b;},'FIMLr':'message','CRQBU':'error','waIhq':'close'};if(this[_0x4683f2(0x6a7,0x66c)]||this['relayCon'+_0x25679b(0x1cc,0x18)]||this[_0x25679b(_0x1499a6._0x30a81f,0xf0)+'pen']())return;this[_0x25679b(0xc1,0x9a)+'necting']=!![],this[_0x4683f2(0x613,0x5b7)+_0x4683f2(0x698,0x4dc)]+=0x1;const _0x56ab62=this[_0x25679b(0x103,_0x1499a6._0x1e460c)+'empt'],_0x37804c=_0x6d0ee9[_0x4683f2(_0x1499a6._0x2aebe5,_0x1499a6._0x3cdb81)](buildRelayWsUrl,this[_0x4683f2(_0x1499a6._0x21dde9,_0x1499a6._0x3e8fef)][_0x25679b(-_0x1499a6._0x3a53a3,-_0x1499a6._0x1cd7b2)]);this['log'](_0x4683f2(_0x1499a6._0x45edb7,0x277)+_0x4683f2(_0x1499a6._0x21b7b1,0x7f5)+'tempt='+_0x56ab62+_0x4683f2(0x6e4,0x734)+_0x6d0ee9['vIwkb'](redactRelayWsUrl,_0x37804c));const _0x45ef6d=new _0x4664d1(_0x37804c,{'maxPayload':_0x6d0ee9[_0x4683f2(0x6b9,_0x1499a6._0x552f8c)](0x19,0x400)*0x400});function _0x4683f2(_0x187c0f,_0x5a1618){return _0x17b889(_0x187c0f-_0x4307d9._0x4694c9,_0x5a1618);}this['relaySoc'+'ket']=_0x45ef6d,_0x45ef6d['once']('open',()=>{const _0x456625={_0x2e9f7d:0xce},_0x49a493={_0x27bf11:0x5bb};function _0x3baca1(_0x100f37,_0x139f50){return _0x4683f2(_0x139f50- -_0x49a493._0x27bf11,_0x100f37);}if(this[_0x594ead(_0x50b01c._0x9fced9,_0x50b01c._0x538962)]||this[_0x594ead(0x685,0x695)+_0x3baca1(_0x50b01c._0x332292,0xd3)]!==_0x45ef6d){_0x45ef6d[_0x3baca1(_0x50b01c._0x299d19,-_0x50b01c._0x3f34c5)]();return;}this[_0x594ead(0x503,_0x50b01c._0x11b10b)+_0x594ead(0x60e,_0x50b01c._0x14f1f8)]=![],this['lastRela'+'yActivit'+_0x594ead(_0x50b01c._0x20e476,_0x50b01c._0x363956)]=Date[_0x3baca1(0x140,-0x84)]();const _0x18341d={};_0x18341d[_0x3baca1(-0x1a3,0x16)+_0x594ead(0x3c4,_0x50b01c._0x2c592e)]=!![],_0x18341d[_0x3baca1(-_0x50b01c._0x30e40b,-_0x50b01c._0x1f570e)+'r']=null,this[_0x594ead(0x62b,_0x50b01c._0x11c1c5)+_0x594ead(_0x50b01c._0x363b95,0x291)](_0x18341d);function _0x594ead(_0x13bf93,_0x172857){return _0x4683f2(_0x13bf93- -_0x456625._0x2e9f7d,_0x172857);}this[_0x3baca1(_0x50b01c._0x8ffd71,_0x50b01c._0x17b07b)](_0x594ead(0x31d,_0x50b01c._0xa7b2e2)+'nnected\x20'+_0x3baca1(-0x88,-_0x50b01c._0x3679d7)+_0x56ab62),this['startHea'+_0x3baca1(0x176,_0x50b01c._0x136c45)]();}),_0x45ef6d['on'](_0x6d0ee9['FIMLr'],(_0x4eeadf,_0x110196)=>{function _0x162712(_0xdc9b5f,_0x47242a){return _0x4683f2(_0xdc9b5f- -_0x188e4c._0x1a9912,_0x47242a);}void this[_0x162712(_0x21158f._0xc2d711,0x86)+'layMessa'+'ge'](_0x4eeadf,_0x110196);}),_0x45ef6d['on'](_0x25679b(-_0x1499a6._0x59f140,-0x27c),()=>{function _0x343cf0(_0x21e613,_0x193558){return _0x4683f2(_0x21e613- -_0x4eed7e._0xd5496f,_0x193558);}function _0x46a543(_0xde19ec,_0x45df5e){return _0x4683f2(_0xde19ec- -_0x128d2b._0x3b90e5,_0x45df5e);}this['lastRela'+_0x343cf0(0x58b,_0x28c3be._0x396433)+_0x46a543(-_0x28c3be._0x305cee,-0x169)]=Date[_0x343cf0(_0x28c3be._0x3f8d5e,0x2da)]();});function _0x25679b(_0x76f038,_0x5b0a1d){return _0x17b889(_0x76f038- -_0x45ced1._0xd59a83,_0x5b0a1d);}_0x45ef6d[_0x25679b(_0x1499a6._0x32f50e,0xd8)](_0x6d0ee9[_0x4683f2(_0x1499a6._0x58c591,0x642)],_0x2c85fb=>{const _0x17693c={_0x4e4cd5:0xf0};function _0x55298f(_0x52a3da,_0x47cfe2){return _0x25679b(_0x52a3da-_0x17693c._0x4e4cd5,_0x47cfe2);}function _0x13d863(_0x7d6f6c,_0x4ede94){return _0x25679b(_0x4ede94- -0x134,_0x7d6f6c);}this[_0x55298f(_0x533489._0x284bc1,0x1ef)](_0x55298f(0x1dc,0xa8)+_0x55298f(_0x533489._0x2bbf83,_0x533489._0x5cf79f)+String(_0x2c85fb));}),_0x45ef6d[_0x4683f2(0x5bc,0x514)](_0x6d0ee9[_0x25679b(0x1c3,_0x1499a6._0x1c5610)],(_0x353255,_0x608b9f)=>{const _0x5a2125={_0x33c3ef:0x2ba};this[_0x24ae9d(_0x10579c._0x3bf732,0x694)+'ket']===_0x45ef6d&&(this[_0x24ae9d(_0x10579c._0x3bf732,0x42c)+_0xe39f1b(0x6a6,0x801)]=null);function _0xe39f1b(_0x599e49,_0x2988e7){return _0x25679b(_0x2988e7-0x683,_0x599e49);}this[_0x24ae9d(_0x10579c._0x599e5e,0x1e0)+'necting']=![],this[_0xe39f1b(_0x10579c._0x11a52b,_0x10579c._0x12c614)+_0x24ae9d(0x212,0xd2)](),this[_0xe39f1b(_0x10579c._0x50808c,_0x10579c._0x5f5bea)+_0xe39f1b(0x8c8,0x7dd)+_0x24ae9d(_0x10579c._0x3660b4,0x47e)]=null,this[_0x24ae9d(0x499,0x606)+'onnected'+_0x24ae9d(_0x10579c._0x14483b,0x2ef)]=null,this[_0x24ae9d(_0x10579c._0x1f5672,0x65b)+_0x24ae9d(0x1d4,0x299)]({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x6d0ee9[_0x24ae9d(0x3c9,_0x10579c._0x183820)](_0x353255,0x3e8)?null:_0x24ae9d(0x34a,0x3d1)+_0xe39f1b(0x98e,_0x10579c._0x2ce1e5)+(_0x608b9f[_0xe39f1b(0x5ed,_0x10579c._0x52ee6e)]()||_0x353255)});function _0x24ae9d(_0x2647c0,_0x455bcf){return _0x25679b(_0x2647c0-_0x5a2125._0x33c3ef,_0x455bcf);}this[_0xe39f1b(_0x10579c._0x5832cf,_0x10579c._0x296acf)](_0xe39f1b(0x737,0x82e)+'sconnect'+_0xe39f1b(_0x10579c._0x363beb,0x58e)+_0x353255+_0x24ae9d(_0x10579c._0x25c2e2,_0x10579c._0x2ffb06)+(_0x608b9f[_0xe39f1b(_0x10579c._0x581753,_0x10579c._0x52ee6e)]()||_0x24ae9d(_0x10579c._0x1c1d65,_0x10579c._0x494e18))),this[_0xe39f1b(0x732,0x6dd)+_0x24ae9d(0x4f0,_0x10579c._0x42484c)](),this[_0xe39f1b(_0x10579c._0x3117b9,0x6bd)+_0x24ae9d(_0x10579c._0x4f74a8,0x402)+_0x24ae9d(0x4bf,_0x10579c._0x11da93)]();});}async[_0x1cec38(0x155,0x228)+_0x17b889(0x40d,0x411)+'ge'](_0x33d52c,_0x2d2416){const _0x46a249={_0x5b406a:0x547,_0x2b6863:0x7d6,_0x34a95f:0x677,_0x16a2c8:0x41c,_0x394da3:0x48e,_0x47cc4a:0x380,_0x44dfef:0x4ec,_0x2c5a47:0x57a,_0x313027:0x553,_0xbe28e0:0x4d5,_0xbc4395:0x361,_0x1337d6:0x381,_0xce55e7:0x308,_0x450b4b:0x260,_0x287b9:0x3ae,_0x452d93:0x5cc,_0x242eee:0x50f,_0xcdb67f:0x380,_0x22e9ba:0x4e2,_0x67dd99:0x482,_0x4fa3b4:0x787},_0x13f37f={_0x174c1e:0x31d},_0x2c4f63={_0x2f6d5b:0x1d9},_0x46e7a7={};_0x46e7a7['Hakiy']=_0x3bde1c(_0x46a249._0x5b406a,0x59b),_0x46e7a7[_0x4b8364(_0x46a249._0x2b6863,_0x46a249._0x34a95f)]='text';const _0x42360a=_0x46e7a7;this['lastRela'+'yActivit'+'yMs']=Date[_0x3bde1c(_0x46a249._0x16a2c8,_0x46a249._0x394da3)]();function _0x3bde1c(_0x45c610,_0x3932df){return _0x17b889(_0x45c610-_0x2c4f63._0x2f6d5b,_0x3932df);}if(_0x2d2416){this[_0x3bde1c(_0x46a249._0x47cc4a,0x393)+_0x3bde1c(0x482,0x2ff)+'tewayMes'+_0x3bde1c(0x643,_0x46a249._0x44dfef)]({'kind':_0x42360a[_0x4b8364(_0x46a249._0x2c5a47,_0x46a249._0x313027)],'data':normalizeBinary(_0x33d52c)});return;}const _0x382f00=normalizeText(_0x33d52c);function _0x4b8364(_0x3c6b6b,_0x4f6e7f){return _0x17b889(_0x4f6e7f-_0x13f37f._0x174c1e,_0x3c6b6b);}if(_0x382f00==null)return;const _0x450e3f=parseControl(_0x382f00);if(_0x450e3f){this[_0x3bde1c(0x5cf,0x6b2)+'layContr'+'ol'](_0x450e3f[_0x3bde1c(_0x46a249._0xbe28e0,_0x46a249._0xbc4395)],_0x450e3f[_0x3bde1c(0x4d2,0x36c)]);return;}const _0x1125ac=parseConnectStartIdentity(_0x382f00);_0x1125ac&&this[_0x3bde1c(_0x46a249._0x1337d6,0x36a)+_0x4b8364(0x74f,0x65c)+_0x3bde1c(_0x46a249._0xce55e7,_0x46a249._0x450b4b)](_0x1125ac['id'],_0x1125ac[_0x3bde1c(_0x46a249._0x287b9,0x48b)]);const _0x4c02e2={};_0x4c02e2[_0x3bde1c(0x41e,0x571)]=_0x42360a[_0x4b8364(_0x46a249._0x452d93,0x677)],_0x4c02e2[_0x4b8364(_0x46a249._0x242eee,0x463)]=_0x382f00,this[_0x3bde1c(_0x46a249._0xcdb67f,_0x46a249._0x22e9ba)+_0x3bde1c(_0x46a249._0x67dd99,0x340)+'tewayMes'+_0x4b8364(0x720,_0x46a249._0x4fa3b4)](_0x4c02e2);}[_0x17b889(0x3f6,0x3ec)+_0x1cec38(0xf9,0x255)+'ol'](_0x5b8847,_0x3cf251){const _0x18ad0f={_0x5ce28b:0x5e5,_0x12acfa:0x4c6,_0x49a3a1:0x117,_0x4fec8a:0x143,_0x535a89:0x47f,_0x7c56ef:0x28b,_0x445a25:0x25f,_0x4ead43:0x19a,_0x23e600:0x530,_0x44cb3f:0x477,_0x17bb8f:0x424,_0x4816a4:0x29,_0x11bf8b:0x2d,_0x1bdab0:0x4d0,_0x18208c:0x3a9,_0x9ea216:0x4f5,_0x26973f:0x28b,_0x4f0d69:0x5ff,_0x3caa67:0x522,_0xb1a5ab:0x378,_0x5e6a4d:0x5c,_0x120849:0x19a,_0x336780:0x204,_0x1482c8:0x31a,_0x1918b7:0x4b,_0x270739:0x435,_0x156ac4:0x3f5,_0x5503e2:0x317,_0x30e9e4:0x15c,_0x55a096:0x287,_0x259b02:0x2c2,_0x524a6d:0x2ca,_0x4d622b:0x2ae,_0x293081:0x60d,_0x513994:0x543,_0x4b8687:0x381,_0x2809fa:0x3e9,_0x2a548d:0x446,_0xcca2d2:0x487,_0x2c03a9:0x30f,_0x9bfde5:0x2b2,_0x14ec2a:0xba,_0x2f4681:0x14,_0x4cf4e3:0x2e5,_0x443340:0x527,_0x323de3:0x11d,_0x581ea3:0x7ba,_0x5c6639:0x2b2,_0x5a90cc:0x40a,_0x513632:0x310,_0x2796ee:0x34d,_0x2228c1:0x221,_0xabae83:0x489,_0x323855:0x42d,_0xdbbfae:0x5f4,_0x3cb9df:0x33e,_0xac3629:0x39f,_0x4a819f:0x21e,_0x5f56c0:0x310,_0x2ca6d8:0x53d,_0xd7560:0x429,_0xff74cc:0x433,_0x3871d6:0x31c,_0x2ade21:0x5cb,_0x50afe9:0x448,_0x59762d:0x55f,_0x4cde12:0x67b,_0x48f69b:0x3a6,_0x5383b2:0x45d,_0x5dcb7e:0x33d,_0x394f54:0x42f,_0x1244d7:0x56d,_0x2b1dd6:0x152,_0x3b2965:0x24,_0x9ad0e6:0x579,_0x277849:0x4c3,_0x2edbda:0x4b8,_0x494420:0x484,_0x208340:0x170,_0x4e507c:0xf7,_0x41c0b0:0x369,_0x5b607d:0x341,_0x37c3d0:0x208,_0x277204:0x2f2,_0x54a9e4:0x1e5,_0x5159f0:0x225,_0x20e71f:0xb1,_0x19db41:0xf7,_0x2b9d3a:0x1d1,_0x2a480f:0x2e4,_0x4e2b1c:0x1fd,_0x565282:0x59,_0x7399bb:0x318,_0x1cae0a:0x233,_0x266479:0x1fe,_0x27850f:0x2c5,_0x103928:0x35b,_0x3c8a3b:0x619,_0x144bbb:0x4bb,_0x5c7aa6:0x4e1,_0x42bdc6:0x2c5,_0x13319b:0x59a,_0x1a73db:0x387,_0x4accaf:0x2b3,_0x143099:0x6d7,_0x1401f7:0x24},_0x18aee8={_0x33574c:0xe3},_0x252b51={_0x51399b:0x36d},_0x3549b9={};function _0xc1fdd1(_0x758180,_0x4a449d){return _0x1cec38(_0x4a449d,_0x758180-_0x252b51._0x51399b);}_0x3549b9[_0xc1fdd1(0x3cd,0x583)]=function(_0x269063,_0x50730e){return _0x269063===_0x50730e;},_0x3549b9[_0xc1fdd1(_0x18ad0f._0x5ce28b,_0x18ad0f._0x12acfa)]='client_c'+'ount',_0x3549b9['jZEXJ']=function(_0x53d037,_0x5f4078){return _0x53d037>_0x5f4078;};const _0x1c9f31=_0x3549b9;if(_0x1c9f31[_0x131166(_0x18ad0f._0x49a3a1,_0x18ad0f._0x4fec8a)](_0x5b8847,_0xc1fdd1(0x3e6,0x582)+_0xc1fdd1(0x53d,0x53b))||_0x5b8847===_0x1c9f31[_0xc1fdd1(0x5e5,_0x18ad0f._0x535a89)]){const _0x539d45=this[_0x131166(_0x18ad0f._0x7c56ef,_0x18ad0f._0x445a25)][_0x131166(0x1b3,_0x18ad0f._0x4ead43)+_0xc1fdd1(0x556,0x548)],_0x1fedf4=_0x3cf251??Math[_0xc1fdd1(_0x18ad0f._0x23e600,0x45f)](0x1,this[_0xc1fdd1(0x4e9,_0x18ad0f._0x44cb3f)][_0xc1fdd1(_0x18ad0f._0x17bb8f,0x548)+_0x131166(0x353,0x2cc)]),_0x3d3095=Boolean(this[_0x131166(_0x18ad0f._0x4816a4,0x109)+_0x131166(-_0x18ad0f._0x11bf8b,0xb1)+_0x131166(-0x4e,0xb2)]);_0x1c9f31[_0xc1fdd1(_0x18ad0f._0x1bdab0,_0x18ad0f._0x18208c)](_0x1fedf4,0x0)&&this[_0xc1fdd1(0x5ff,_0x18ad0f._0x9ea216)+_0x131166(0x26d,_0x18ad0f._0x26973f)+_0x131166(0x3bd,0x38f)]==null&&(this[_0xc1fdd1(_0x18ad0f._0x4f0d69,_0x18ad0f._0x3caa67)+'mandStar'+_0x131166(_0x18ad0f._0xb1a5ab,0x38f)]=Date['now']());const _0x23ec68={};_0x23ec68[_0x131166(_0x18ad0f._0x5e6a4d,_0x18ad0f._0x120849)+'unt']=_0x1fedf4,this[_0x131166(_0x18ad0f._0x336780,_0x18ad0f._0x1482c8)+_0x131166(-0x10d,_0x18ad0f._0x1918b7)](_0x23ec68);if(_0x1fedf4===0x0)this[_0xc1fdd1(_0x18ad0f._0x270739,0x46b)+'cesRecen'+'t'](),this[_0xc1fdd1(_0x18ad0f._0x156ac4,0x39e)+_0xc1fdd1(0x436,0x302)+'dleClose'](_0x131166(_0x18ad0f._0x5503e2,_0x18ad0f._0x30e9e4)+_0x131166(_0x18ad0f._0x55a096,_0x18ad0f._0x259b02)+'o');else{this[_0x131166(_0x18ad0f._0x524a6d,_0x18ad0f._0x4d622b)+_0x131166(0x2b5,0x38c)+_0xc1fdd1(_0x18ad0f._0x293081,_0x18ad0f._0x513994)](_0xc1fdd1(_0x18ad0f._0x4b8687,_0x18ad0f._0x2809fa)+_0xc1fdd1(_0x18ad0f._0x2a548d,_0x18ad0f._0xcca2d2)+_0x131166(0x212,_0x18ad0f._0x2c03a9));shouldRecycleGatewayForFreshClient(_0x539d45,_0x1fedf4,this[_0xc1fdd1(_0x18ad0f._0x9bfde5,0x3b8)+_0x131166(0x3e9,0x2c6)](),_0x3d3095)&&(this[_0x131166(0x376,0x2e3)](_0x131166(_0x18ad0f._0x14ec2a,_0x18ad0f._0x2f4681)+_0x131166(_0x18ad0f._0x4cf4e3,0x303)+'requeste'+_0xc1fdd1(_0x18ad0f._0x443340,0x4ed)+_0x131166(-0x46,0x101)+_0x131166(0x72,_0x18ad0f._0x323de3)+'d'),this['closeGat'+_0xc1fdd1(0x5f1,_0x18ad0f._0x581ea3)]());if(this[_0xc1fdd1(_0x18ad0f._0x5c6639,_0x18ad0f._0x5a90cc)+_0xc1fdd1(0x550,0x475)]()){const _0x1c3bac={};_0x1c3bac[_0x131166(0x2c7,_0x18ad0f._0x513632)+_0x131166(_0x18ad0f._0x2796ee,0x2b3)]=!![],_0x1c3bac[_0xc1fdd1(0x310,0x47d)+'r']=null,this['updateSn'+_0xc1fdd1(0x2d5,_0x18ad0f._0x2228c1)](_0x1c3bac),this[_0xc1fdd1(0x56d,0x610)]('gateway\x20'+'reuse\x20op'+_0xc1fdd1(_0x18ad0f._0xabae83,_0x18ad0f._0x323855)+_0xc1fdd1(_0x18ad0f._0xdbbfae,0x796)+_0x131166(_0x18ad0f._0x3cb9df,0x2b8)+this[_0x131166(0x3e3,0x2c5)+_0x131166(_0x18ad0f._0xac3629,_0x18ad0f._0x4a819f)](this[_0x131166(0x16d,_0x18ad0f._0x5f56c0)+_0xc1fdd1(_0x18ad0f._0x2ca6d8,_0x18ad0f._0xd7560)+_0xc1fdd1(_0x18ad0f._0xff74cc,0x3c3)])+(_0x131166(0xb2,0x172)+'keStarte'+'d=')+this[_0xc1fdd1(_0x18ad0f._0x3871d6,0x36f)+_0xc1fdd1(_0x18ad0f._0x2ade21,0x62a)+_0xc1fdd1(0x4cb,_0x18ad0f._0x50afe9)]);}this[_0xc1fdd1(_0x18ad0f._0x59762d,_0x18ad0f._0x4cde12)+_0xc1fdd1(_0x18ad0f._0x48f69b,_0x18ad0f._0x5383b2)+_0xc1fdd1(_0x18ad0f._0x5dcb7e,_0x18ad0f._0x394f54)]();}this[_0xc1fdd1(_0x18ad0f._0x1244d7,0x622)](_0x131166(-0x1b3,0xc)+_0xc1fdd1(0x5a2,0x4c4)+_0x131166(-_0x18ad0f._0x2b1dd6,_0x18ad0f._0x3b2965)+_0x5b8847+'\x20count='+_0x1fedf4+('\x20sinceCl'+_0xc1fdd1(_0x18ad0f._0x9ad0e6,0x5e7)+'ndMs=')+this['elapsedS'+'ince'](this[_0xc1fdd1(0x5ff,0x606)+_0xc1fdd1(0x515,_0x18ad0f._0x277849)+'tedAtMs'])+'\x20queued='+this[_0xc1fdd1(0x468,0x5be)+'atewayMe'+'ssages'][_0xc1fdd1(_0x18ad0f._0x2edbda,_0x18ad0f._0x494420)]);return;}function _0x131166(_0x2783ac,_0x590e9){return _0x1cec38(_0x2783ac,_0x590e9-_0x18aee8._0x33574c);}if(_0x5b8847===_0x131166(_0x18ad0f._0x208340,_0x18ad0f._0x4e507c)+'isconnec'+_0xc1fdd1(_0x18ad0f._0x41c0b0,0x42f)){this['gatewayH'+_0x131166(_0x18ad0f._0x2228c1,_0x18ad0f._0x5b607d)+_0x131166(0x3cd,0x241)]=![];const _0x4b27b3={};_0x4b27b3['clientCo'+'unt']=0x0,this[_0x131166(0x3db,_0x18ad0f._0x1482c8)+_0x131166(_0x18ad0f._0x37c3d0,0x4b)](_0x4b27b3),this[_0xc1fdd1(0x435,_0x18ad0f._0x277204)+_0xc1fdd1(0x391,_0x18ad0f._0x54a9e4)+'t'](),this[_0x131166(_0x18ad0f._0x5159f0,0x16b)+'GatewayI'+_0x131166(0x1d2,_0x18ad0f._0x20e71f)](_0x131166(0x11,_0x18ad0f._0x19db41)+_0x131166(_0x18ad0f._0x2b9d3a,_0x18ad0f._0x2a480f)+_0x131166(0x295,0xdf)),this[_0x131166(_0x18ad0f._0x4e2b1c,0x2e3)](_0x131166(_0x18ad0f._0x565282,0xc)+_0x131166(0x2ac,_0x18ad0f._0x7399bb)+_0x131166(0xf1,_0x18ad0f._0x1cae0a)+'nt_disco'+_0x131166(-0xd0,0x87)+_0xc1fdd1(0x2b5,0x285)+_0x131166(0x270,_0x18ad0f._0x266479)+_0x131166(0xf2,0x262)+this[_0x131166(0x308,_0x18ad0f._0x27850f)+_0x131166(0x29d,0x21e)](this['clientDe'+_0x131166(_0x18ad0f._0x103928,0x28b)+_0xc1fdd1(_0x18ad0f._0x3c8a3b,_0x18ad0f._0x144bbb)])+('\x20sinceGa'+_0xc1fdd1(_0x18ad0f._0x5c7aa6,0x5b9)+_0x131166(0x54,0x135))+this[_0x131166(0x1a7,_0x18ad0f._0x42bdc6)+_0x131166(0x9d,0x21e)](this[_0xc1fdd1(_0x18ad0f._0x13319b,0x633)+_0x131166(_0x18ad0f._0x1a73db,_0x18ad0f._0x4accaf)+'AtMs']));return;}this[_0xc1fdd1(0x56d,_0x18ad0f._0x143099)]('relay\x20co'+_0x131166(0x351,0x318)+_0x131166(0x2f,_0x18ad0f._0x1401f7)+_0x5b8847);}[_0x1cec38(0xc3,-0x27)+_0x1cec38(0x25c,0xdb)+_0x17b889(0x411,0x3e7)+_0x17b889(0x46a,0x4fb)](_0x30c1ae){const _0x13ea3a={_0x5a5909:0x59a,_0xed2b87:0x491,_0x395807:0x37d,_0x6ecb84:0x643,_0x3ce1a3:0x768,_0x44b93c:0x70d,_0x263802:0x56a,_0x435365:0x5ab,_0x178b47:0x4a4,_0x12d301:0x6fe,_0x1d3159:0x55c,_0x174356:0x45a,_0x27d05b:0x4c6,_0x9e8c64:0x529,_0x5c39a1:0x6b0,_0x87bcd9:0x5cb,_0x16a14e:0x43b,_0x3e6d8d:0x5b3,_0x5bacb5:0x54b,_0x5bfd26:0x540,_0x57e975:0x500,_0x136c1b:0x664,_0x4c8f19:0x7fc,_0x1a04a7:0x63e,_0x56196b:0x41c,_0x396b7a:0x267,_0x4f19d7:0x4f8,_0x465915:0x3d5,_0x50551f:0x525,_0x508043:0x6f3,_0x433651:0x4ee,_0x3f9ec3:0x4ab,_0x1bac64:0x3cf,_0x2b7734:0x725,_0x2c7029:0x5eb,_0x2b929f:0x496,_0x455474:0x571,_0xb3aec4:0x64f,_0x2e3f2d:0x35b,_0x1e9386:0x3b4,_0xf34168:0x68e,_0x2af956:0x424,_0x1c42c2:0x39f,_0x1e6c5b:0x408,_0x44e90e:0x360,_0x2b4c3a:0x54d,_0x2e78a3:0x6b5,_0x23b915:0x713,_0x12e302:0x2c8,_0x35942d:0x475},_0x49a9ec={_0x3dda7d:0x325},_0x36de42={};_0x36de42[_0x33362c(0x67a,_0x13ea3a._0x5a5909)]=function(_0x215ed7,_0x5c6705){return _0x215ed7===_0x5c6705;};const _0x5c9f67=_0x36de42;function _0x33362c(_0x35fd84,_0x2976a2){return _0x17b889(_0x35fd84-0x237,_0x2976a2);}const _0x235f74=_0x30c1ae[_0x33362c(0x47c,_0x13ea3a._0xed2b87)]===_0x33362c(_0x13ea3a._0x395807,0x37f)&&isConnectHandshakeRequest(_0x30c1ae[_0x33362c(0x37d,0x2ce)]);function _0x21be4e(_0x53e6d5,_0x233a81){return _0x17b889(_0x233a81-_0x49a9ec._0x3dda7d,_0x53e6d5);}if(_0x5c9f67[_0x21be4e(_0x13ea3a._0x6ecb84,_0x13ea3a._0x3ce1a3)](_0x30c1ae[_0x21be4e(_0x13ea3a._0x44b93c,_0x13ea3a._0x263802)],_0x21be4e(_0x13ea3a._0x435365,0x46b))){const _0x172635=summarizeJsonFrame(_0x30c1ae[_0x21be4e(_0x13ea3a._0x178b47,0x46b)]);_0x172635&&this['log'](_0x21be4e(_0x13ea3a._0x12d301,0x665)+_0x21be4e(_0x13ea3a._0x1d3159,_0x13ea3a._0x174356)+_0x172635+(_0x33362c(0x494,_0x13ea3a._0x27d05b)+_0x33362c(_0x13ea3a._0x9e8c64,_0x13ea3a._0x5c39a1))+_0x235f74+(_0x21be4e(0x434,_0x13ea3a._0x87bcd9)+_0x21be4e(_0x13ea3a._0x16a14e,_0x13ea3a._0x3e6d8d))+this[_0x21be4e(0x5a6,0x438)+'yOpen']()+_0x21be4e(_0x13ea3a._0x5bacb5,_0x13ea3a._0x5bfd26)+this[_0x33362c(_0x13ea3a._0x57e975,0x579)+'atewayMe'+_0x33362c(_0x13ea3a._0x136c1b,0x81d)][_0x21be4e(_0x13ea3a._0x4c8f19,_0x13ea3a._0x1a04a7)]);}const _0x352f9b=this['gatewayS'+_0x21be4e(0x46a,0x59e)];if(!_0x352f9b||_0x352f9b[_0x33362c(0x463,0x488)+'te']!==_0x4664d1[_0x33362c(_0x13ea3a._0x56196b,_0x13ea3a._0x396b7a)]){this[_0x33362c(0x5f7,_0x13ea3a._0x4f19d7)+'tewayCon'+_0x33362c(_0x13ea3a._0x465915,_0x13ea3a._0x50551f)]();if(shouldDropStaleConnectAfterGatewayReopen(Boolean(_0x352f9b&&_0x352f9b[_0x33362c(0x463,0x2b2)+'te']===_0x4664d1['OPEN']),_0x235f74)){this[_0x21be4e(0x7ac,_0x13ea3a._0x508043)]('stale\x20co'+_0x21be4e(0x37e,_0x13ea3a._0x433651)+_0x33362c(0x516,_0x13ea3a._0x3f9ec3)+_0x33362c(0x373,0x42a)+_0x33362c(_0x13ea3a._0x1bac64,0x2fb)+'en;\x20awai'+_0x33362c(0x3c1,0x4f5)+_0x33362c(0x3f9,0x35d)+'enge');return;}this['pushPend'+_0x21be4e(_0x13ea3a._0x2b7734,_0x13ea3a._0x2c7029)+_0x33362c(0x3af,_0x13ea3a._0x2b929f)+'e'](_0x30c1ae);return;}if(!this[_0x33362c(0x3b4,0x3b9)+'andshake'+_0x33362c(0x563,_0x13ea3a._0x455474)]){if(!_0x235f74){this[_0x21be4e(0x64f,_0x13ea3a._0xb3aec4)+_0x33362c(0x4fd,_0x13ea3a._0x2e3f2d)+'ayMessag'+'e'](_0x30c1ae);return;}this[_0x33362c(_0x13ea3a._0x1e9386,0x220)+_0x21be4e(0x6ba,0x751)+_0x33362c(0x563,_0x13ea3a._0xf34168)]=!![],this['log'](_0x21be4e(0x4e7,_0x13ea3a._0x2af956)+_0x33362c(0x50e,_0x13ea3a._0x1c42c2)+_0x33362c(_0x13ea3a._0x1e6c5b,_0x13ea3a._0x44e90e)+_0x33362c(0x470,0x56f)+'='+this['pendingG'+_0x21be4e(_0x13ea3a._0x2b4c3a,0x6d3)+'ssages'][_0x21be4e(0x79f,0x63e)]);}this[_0x33362c(_0x13ea3a._0x2e78a3,_0x13ea3a._0x23b915)+_0x21be4e(_0x13ea3a._0x12e302,_0x13ea3a._0x35942d)](_0x30c1ae);}[_0x1cec38(0x113,0x1f2)+_0x1cec38(0xb8,0x39)+_0x17b889(0x19e,0x11)](){const _0x5b19b3={_0x37f384:0x29b,_0xc5a821:0x346,_0x85d46f:0x4f3,_0x419e35:0x467,_0x14f246:0x4f0,_0x4fd6b9:0x137,_0x3d5ebe:0x208,_0x3f9ee5:0x5e2,_0x345dd8:0x4f1,_0x1757b0:0x359,_0x5592aa:0x2e5,_0xed3cf7:0x728,_0x20369c:0x56c,_0x250a1:0x506,_0x54aa62:0x50e,_0x544a91:0xb3,_0x43bcdf:0x5eb,_0x32336d:0x3aa,_0x5f4a11:0x3ab,_0x2659ed:0x8a,_0x4724a7:0x2e6,_0x2e0bcd:0x408,_0x4ec8bd:0x5b9,_0x8a2778:0x408,_0x49fece:0x446,_0xa96f88:0x3c1},_0x3e080d={_0x51edba:0x477,_0x578ce0:0x320,_0x12a9ee:0x130,_0x35a05e:0x575,_0x7c283a:0x2fb,_0x44d190:0x375,_0x4f71c1:0x3b6,_0x1f16a3:0x4f0,_0x4525c2:0xfb,_0x46f2ea:0x9d,_0x2f5915:0x3d0,_0x3838c3:0x358,_0x12b31c:0x4ff,_0x5cb825:0x25c,_0x797696:0x190,_0x2e1017:0x56,_0x3c6b8b:0x220,_0x15c2e9:0x6ab,_0x388889:0x73b,_0xefecab:0x43a,_0x5f35ba:0x33a,_0x396917:0x293,_0x238616:0x3e2,_0x4cd594:0x30e},_0x2681da={_0x378beb:0x1b6},_0xd25b14={_0x9367c9:0x465,_0xecce08:0x5c9},_0x2a6e64={_0x2b91fb:0x18e},_0x16e24d={_0x1942f1:0x230},_0x401923={_0x36e420:0x62b,_0x2cbac4:0x729,_0x1eb95b:0x555,_0x80dadd:0x710,_0x17450b:0x660,_0x573dd2:0x832,_0x349f88:0x76f,_0x15fa4d:0x4d6,_0xa98350:0x7a2,_0x476198:0x60a,_0x3fe02c:0x618,_0x117824:0x714,_0x3959a4:0x55a,_0x1219bb:0x744,_0x1af09e:0x510,_0x3ca423:0x525,_0x1f5c79:0x65e,_0x4f2dd0:0x433,_0x5ae0ec:0x481,_0x47c397:0x728,_0x4e86a5:0x735,_0x434c0b:0x774,_0x5a433c:0x958,_0x479b79:0x5e5},_0x48180b={};_0x48180b['EaiYH']=function(_0x50eb97,_0x33203c){return _0x50eb97===_0x33203c;};function _0x302917(_0x39c19a,_0xc24285){return _0x1cec38(_0x39c19a,_0xc24285-0x30e);}_0x48180b['dejwt']=_0x302917(0x151,0x24d)+_0x4229cf(0x1c6,0x2a3)+_0x302917(0x2e0,0x2d0)+_0x302917(_0x5b19b3._0x37f384,0x30a);const _0x168a64=_0x48180b;if(this[_0x302917(_0x5b19b3._0xc5a821,_0x5b19b3._0x85d46f)]||!this['isRelayO'+'pen']()||this[_0x4229cf(_0x5b19b3._0x419e35,_0x5b19b3._0x14f246)+'onnectin'+'g']||this[_0x4229cf(_0x5b19b3._0x4fd6b9,_0x5b19b3._0x3d5ebe)+_0x302917(_0x5b19b3._0x3f9ee5,_0x5b19b3._0x345dd8)]()||!this[_0x302917(_0x5b19b3._0x1757b0,_0x5b19b3._0x5592aa)+'ayDemand']())return;this[_0x302917(0x330,0x4d9)+_0x4229cf(_0x5b19b3._0xed3cf7,_0x5b19b3._0x20369c)+'eClose'](_0x168a64['dejwt']),this[_0x4229cf(0x698,0x4f0)+'onnectin'+'g']=!![];function _0x4229cf(_0x2c1bce,_0x4024c7){return _0x1cec38(_0x2c1bce,_0x4024c7-0x2c3);}this[_0x302917(_0x5b19b3._0x250a1,_0x5b19b3._0x54aa62)](_0x302917(_0x5b19b3._0x544a91,0x23f)+_0x4229cf(_0x5b19b3._0x43bcdf,0x42e)+'start\x20ur'+'l='+this[_0x302917(0x24a,0x33f)][_0x4229cf(_0x5b19b3._0x32336d,0x217)+'rl']);const _0x294027={};_0x294027[_0x4229cf(_0x5b19b3._0x5f4a11,0x3b8)+'ad']=0x19*0x400*0x400;const _0x19a670=new _0x4664d1(this[_0x4229cf(0x2ad,0x2f4)][_0x4229cf(_0x5b19b3._0x2659ed,0x217)+'rl'],_0x294027);this[_0x302917(0x375,_0x5b19b3._0x4724a7)+_0x302917(0x4fe,0x3b9)]=_0x19a670,_0x19a670[_0x302917(0x423,_0x5b19b3._0x2e0bcd)](_0x302917(0x420,_0x5b19b3._0x4ec8bd),()=>{function _0x5bfa17(_0x59e0b2,_0x2b5945){return _0x302917(_0x59e0b2,_0x2b5945-0x2be);}if(this[_0x4310b3(_0x401923._0x36e420,_0x401923._0x2cbac4)]||this[_0x4310b3(0x668,0x51c)+_0x5bfa17(_0x401923._0x1eb95b,0x677)]!==_0x19a670){_0x19a670[_0x5bfa17(_0x401923._0x80dadd,_0x401923._0x17450b)]();return;}this[_0x5bfa17(0x6f0,0x7f9)+_0x5bfa17(_0x401923._0x573dd2,_0x401923._0x349f88)+'g']=![],this[_0x5bfa17(_0x401923._0x15fa4d,0x57b)+_0x4310b3(0x5ed,_0x401923._0xa98350)+_0x4310b3(0x86a,0x6a2)]=![];function _0x4310b3(_0x45f301,_0x41879a){return _0x302917(_0x45f301,_0x41879a-0x236);}this['gatewayC'+'onnected'+_0x4310b3(0x4e2,_0x401923._0x476198)]=Date['now']();const _0x263172={};_0x263172[_0x4310b3(_0x401923._0x3fe02c,0x771)+_0x4310b3(0x6bc,_0x401923._0x117824)]=!![],_0x263172['lastErro'+'r']=null,this['updateSn'+_0x4310b3(_0x401923._0x3959a4,0x4ac)](_0x263172),this[_0x4310b3(0x780,_0x401923._0x1219bb)](_0x5bfa17(0x42c,0x4fd)+'connecte'+_0x5bfa17(0x4be,_0x401923._0x1af09e)+_0x5bfa17(_0x401923._0x3ca423,_0x401923._0x1f5c79)+_0x4310b3(_0x401923._0x4f2dd0,_0x401923._0x5ae0ec)+this['elapsedS'+_0x4310b3(_0x401923._0x47c397,0x67f)](this['clientDe'+_0x5bfa17(_0x401923._0x4e86a5,_0x401923._0x434c0b)+_0x5bfa17(_0x401923._0x5a433c,0x878)])),this['flushPen'+'dingGate'+_0x5bfa17(0x4f2,_0x401923._0x479b79)+_0x4310b3(0x93d,0x7eb)]();}),_0x19a670['on'](_0x302917(0x2ee,0x2fd),(_0xd1bdff,_0x55ec13)=>{const _0x2b4138={_0x1e4e3a:0x18};function _0x5e41ee(_0x2e773b,_0x3442db){return _0x4229cf(_0x3442db,_0x2e773b- -0x2d6);}function _0x53bee4(_0x286896,_0x83b124){return _0x4229cf(_0x286896,_0x83b124- -_0x2b4138._0x1e4e3a);}this['handleGa'+_0x5e41ee(_0x16e24d._0x1942f1,0x3f7)+_0x5e41ee(0x289,0x1f5)](_0xd1bdff,_0x55ec13);}),_0x19a670[_0x302917(0x593,_0x5b19b3._0x8a2778)](_0x302917(_0x5b19b3._0x49fece,0x2f9),_0x3bf8bb=>{function _0x5e529e(_0x1607cd,_0xc24482){return _0x4229cf(_0xc24482,_0x1607cd- -_0x2a6e64._0x2b91fb);}function _0x296938(_0x28f5f3,_0x26f76a){return _0x4229cf(_0x28f5f3,_0x26f76a-0x106);}this[_0x296938(_0xd25b14._0x9367c9,_0xd25b14._0xecce08)]('gateway\x20'+_0x5e529e(0x1b9,0x152)+String(_0x3bf8bb));}),_0x19a670[_0x4229cf(_0x5b19b3._0xa96f88,0x3bd)](_0x302917(0x329,0x3a2),(_0x2e271c,_0x459037)=>{const _0x555906={_0x5385a6:0x191};this[_0x54b395(_0x3e080d._0x51edba,0x4ef)+_0x1c99f1(0x203,_0x3e080d._0x578ce0)]===_0x19a670&&(this[_0x1c99f1(_0x3e080d._0x12a9ee,0x2cc)+'ocket']=null);function _0x1c99f1(_0x3cee5a,_0x4ca8ae){return _0x302917(_0x4ca8ae,_0x3cee5a- -_0x2681da._0x378beb);}this[_0x54b395(0x6cc,_0x3e080d._0x35a05e)+_0x1c99f1(_0x3e080d._0x7c283a,0x495)+'g']=![],this[_0x54b395(0x44e,_0x3e080d._0x44d190)+_0x1c99f1(_0x3e080d._0x4f71c1,0x4b1)+_0x54b395(0x5fd,_0x3e080d._0x1f16a3)]=![],this['gatewayC'+'onnected'+'AtMs']=null;function _0x54b395(_0x402fee,_0x66735f){return _0x302917(_0x66735f,_0x402fee-_0x555906._0x5385a6);}this['updateSn'+'apshot']({'gatewayConnected':![],'lastError':_0x168a64[_0x54b395(0x715,0x79f)](_0x2e271c,0x3e8)?this[_0x1c99f1(0x2d4,0x2a6)][_0x1c99f1(_0x3e080d._0x4525c2,_0x3e080d._0x46f2ea)+'r']:_0x54b395(_0x3e080d._0x2f5915,0x38d)+'closed:\x20'+(_0x459037['toString']()||_0x2e271c)}),this[_0x1c99f1(_0x3e080d._0x3838c3,_0x3e080d._0x12b31c)]('gateway\x20'+_0x54b395(0x601,0x741)+'cted\x20cod'+'e='+_0x2e271c+_0x1c99f1(0x118,_0x3e080d._0x5cb825)+(_0x459037[_0x1c99f1(_0x3e080d._0x797696,0x1b2)]()||_0x1c99f1(0xd7,_0x3e080d._0x2e1017))+(_0x1c99f1(0x2af,_0x3e080d._0x3c6b8b)+_0x54b395(_0x3e080d._0x15c2e9,_0x3e080d._0x388889)+_0x54b395(_0x3e080d._0xefecab,0x2ae))+this[_0x1c99f1(_0x3e080d._0x5f35ba,0x4f7)+_0x1c99f1(_0x3e080d._0x396917,_0x3e080d._0x238616)](this['clientDe'+_0x1c99f1(0x300,_0x3e080d._0x4cd594)+'tedAtMs'])),this['schedule'+'GatewayR'+'econnect']();});}[_0x1cec38(0x1f,0x67)+_0x1cec38(0x33b,0x243)+'sage'](_0x70c307,_0x59a73d){const _0xf27e60={_0x39419a:0x70c,_0x4320e2:0x306,_0x25ec1e:0x2ca,_0x46255f:0x154,_0x157a7a:0x70c,_0x43c51b:0x324,_0x481510:0x471,_0x4ddc4b:0x414,_0x4430c4:0x39a,_0x537a4b:0x74c,_0x3e3ed3:0x722,_0x2bccca:0x6f5,_0x3764b5:0x45b,_0x3e80a5:0x96d,_0x206850:0x7ec,_0x51fbcc:0x427,_0x258619:0x2d2,_0x283cd1:0x70b,_0x27c0d3:0x76d,_0x3209e6:0x368,_0x3449c3:0x222,_0x32876f:0x2a2,_0x1e6b19:0x342,_0x27f347:0x34c,_0x47819a:0x1c9,_0x45181a:0x560,_0x50a128:0x2cb,_0x407929:0x187,_0x35898f:0x35c},_0x2b2498={_0x3efce7:0xe5},_0x46a7c={_0xe6fbf3:0x372},_0x265aea={'wmScn':function(_0x2cae21,_0x38b7b1){return _0x2cae21!==_0x38b7b1;},'GACeY':function(_0x149acd,_0x1c2875){return _0x149acd(_0x1c2875);}},_0x47e5ba=this[_0x531540(0x719,0x7d1)+_0x531540(0x7f4,_0xf27e60._0x39419a)];if(!_0x47e5ba||_0x265aea[_0x593fa4(0x1e3,_0xf27e60._0x4320e2)](_0x47e5ba[_0x593fa4(0x311,0x250)+'te'],_0x4664d1[_0x593fa4(_0xf27e60._0x25ec1e,_0xf27e60._0x46255f)]))return;if(_0x59a73d){_0x47e5ba['send'](_0x265aea[_0x593fa4(0x334,0x2dd)](normalizeBinary,_0x70c307));return;}const _0x2230a=normalizeText(_0x70c307);if(_0x2230a==null)return;function _0x531540(_0x10f9a6,_0x5c64a5){return _0x17b889(_0x5c64a5-_0x46a7c._0xe6fbf3,_0x10f9a6);}const _0x3ae19b=_0x265aea[_0x531540(_0xf27e60._0x157a7a,0x5c1)](summarizeJsonFrame,_0x2230a);_0x3ae19b&&this['log'](_0x531540(_0xf27e60._0x43c51b,_0xf27e60._0x481510)+_0x593fa4(_0xf27e60._0x4ddc4b,_0xf27e60._0x4430c4)+_0x3ae19b+('\x20sinceCl'+_0x531540(0x714,_0xf27e60._0x537a4b)+'ndMs=')+this[_0x531540(0x8ac,_0xf27e60._0x3e3ed3)+_0x593fa4(0x3ee,0x3e4)](this[_0x531540(_0xf27e60._0x2bccca,0x7d2)+_0x593fa4(_0xf27e60._0x3764b5,0x312)+_0x531540(_0xf27e60._0x3e80a5,_0xf27e60._0x206850)])+('\x20sinceGa'+_0x593fa4(_0xf27e60._0x51fbcc,_0xf27e60._0x258619)+'nMs=')+this[_0x531540(0x7cb,0x722)+'ince'](this[_0x531540(_0xf27e60._0x283cd1,_0xf27e60._0x27c0d3)+_0x593fa4(0x483,_0xf27e60._0x3209e6)+_0x531540(0x7cd,0x606)]));const _0x56b668=parsePairingRequestFromError(_0x2230a);_0x56b668&&this[_0x593fa4(_0xf27e60._0x3449c3,_0xf27e60._0x32876f)+_0x531540(_0xf27e60._0x1e6b19,0x504)+_0x531540(_0xf27e60._0x27f347,0x47c)](_0x56b668);const _0x53c22c=parsePairResolvedEvent(_0x2230a);_0x53c22c&&this[_0x593fa4(0x2fb,_0xf27e60._0x47819a)+_0x531540(0x705,_0xf27e60._0x45181a)+_0x593fa4(_0xf27e60._0x50a128,_0xf27e60._0x407929)](_0x53c22c['requestI'+'d'],_0x53c22c[_0x593fa4(0x4fe,_0xf27e60._0x35898f)]);function _0x593fa4(_0x4d1295,_0x793abc){return _0x17b889(_0x4d1295-_0x2b2498._0x3efce7,_0x793abc);}_0x47e5ba[_0x593fa4(0x20e,0x159)](_0x2230a);}[_0x1cec38(0x6a,0x216)+'dingGate'+'wayMessa'+'ges'](){const _0x3e7e99={_0x1ef03a:0x3c6,_0x17d94f:0x12b,_0x4a0bfb:0x1be,_0x46e3ef:0x3b5,_0x4165c2:0x79,_0x2409bc:0x1bd,_0x31feab:0x2e0,_0x219e3b:0x8b,_0x1286dd:0xc,_0x1c7cee:0xf2,_0x1e9409:0x122,_0x1f2f19:0x157,_0x1c054e:0x5a,_0x5b94d2:0x13f,_0x1fcd33:0x2dc},_0x5e0c33={_0x4c9e52:0x7},_0x26dc64={'ElWyR':'text','BWcRq':function(_0x19fc20,_0x2c9151){return _0x19fc20(_0x2c9151);}};function _0x58c196(_0x264ddc,_0x2de03f){return _0x17b889(_0x264ddc-_0x5e0c33._0x4c9e52,_0x2de03f);}const _0x4e4079=this[_0x58c196(0x1ad,0x378)+_0x28f15f(0xa,0x194)];if(!_0x4e4079||_0x4e4079[_0x58c196(0x233,_0x3e7e99._0x1ef03a)+'te']!==_0x4664d1['OPEN'])return;function _0x28f15f(_0x1c35b5,_0x4b4f8e){return _0x17b889(_0x1c35b5- -0x26f,_0x4b4f8e);}const _0x1b604c=[],_0x270783=[...this[_0x58c196(0x2d0,0x424)+_0x28f15f(0x13f,_0x3e7e99._0x17d94f)+_0x28f15f(_0x3e7e99._0x4a0bfb,0x1d6)]];this['pendingG'+_0x58c196(_0x3e7e99._0x46e3ef,0x429)+'ssages']=[],this[_0x28f15f(0x15f,_0x3e7e99._0x4165c2)]('gateway\x20'+'flush\x20qu'+'eued='+_0x270783['length']);for(const _0x4216eb of _0x270783){if(!this[_0x28f15f(-0xf2,-0xfd)+_0x28f15f(_0x3e7e99._0x2409bc,_0x3e7e99._0x31feab)+_0x28f15f(0xbd,_0x3e7e99._0x219e3b)]){if(_0x4216eb[_0x58c196(0x24c,0x3d3)]!==_0x26dc64[_0x58c196(0x122,-_0x3e7e99._0x1286dd)]||!_0x26dc64['BWcRq'](isConnectHandshakeRequest,_0x4216eb[_0x28f15f(-0x129,-0x151)])){_0x1b604c['push'](_0x4216eb);continue;}this[_0x28f15f(-_0x3e7e99._0x1c7cee,-_0x3e7e99._0x1e9409)+'andshake'+'Started']=!![];}this['sendToGa'+_0x58c196(_0x3e7e99._0x1f2f19,0x1b7)](_0x4216eb);}this[_0x28f15f(_0x3e7e99._0x1c054e,0x2c)+_0x28f15f(_0x3e7e99._0x5b94d2,_0x3e7e99._0x1fcd33)+'ssages']=_0x1b604c;}[_0x1cec38(0x2b8,0x2b0)+_0x17b889(0x150,0x305)](_0x521d7a){const _0x5e264c={_0x3081c0:0x4c0,_0x10607d:0x521,_0x16f8fd:0x436,_0x1d2b19:0x557,_0x413c64:0x45c,_0x4089a5:0x4d6,_0x45ffc7:0x633,_0x2de74e:0x50e,_0x4995da:0x5b7,_0x1c2d35:0x3c6,_0x3831cc:0x402,_0x58f6bf:0x37e,_0xc11973:0x41a,_0x45e5f9:0x437,_0xbce368:0x41a,_0x3904db:0x6f6,_0x41cfa2:0x5bb},_0x19d1a9={};_0x19d1a9[_0x41407e(0x442,_0x5e264c._0x3081c0)]=function(_0x5ef40c,_0x4c1d62){return _0x5ef40c!==_0x4c1d62;};const _0x5093ec=_0x19d1a9,_0x3c5bfd=this['gatewayS'+_0x290907(_0x5e264c._0x10607d,_0x5e264c._0x16f8fd)];if(!_0x3c5bfd||_0x5093ec[_0x41407e(_0x5e264c._0x1d2b19,_0x5e264c._0x3081c0)](_0x3c5bfd['readySta'+'te'],_0x4664d1[_0x41407e(_0x5e264c._0x413c64,_0x5e264c._0x4089a5)])){this[_0x290907(_0x5e264c._0x45ffc7,0x4e7)+_0x41407e(_0x5e264c._0x2de74e,_0x5e264c._0x4995da)+_0x290907(_0x5e264c._0x1c2d35,0x335)+'e'](_0x521d7a);return;}function _0x41407e(_0x39039c,_0x9cae6e){return _0x1cec38(_0x39039c,_0x9cae6e-0x4bf);}if(_0x521d7a[_0x290907(0x5aa,_0x5e264c._0x3831cc)]===_0x41407e(0x3c7,0x437)){_0x3c5bfd[_0x41407e(_0x5e264c._0x58f6bf,_0x5e264c._0xc11973)](_0x521d7a[_0x41407e(0x32f,_0x5e264c._0x45e5f9)]);return;}function _0x290907(_0xc6c1d1,_0x48137b){return _0x1cec38(_0xc6c1d1,_0x48137b-0x38b);}_0x3c5bfd[_0x41407e(0x54d,_0x5e264c._0xbce368)](_0x521d7a[_0x41407e(_0x5e264c._0x3904db,_0x5e264c._0x41cfa2)]);}[_0x1cec38(0xd7,-0xa2)+_0x17b889(0x422,0x5a5)+'st'](_0x3106fb,_0x58dfef){const _0x582c76={_0x48092e:0x5ef,_0x1089a2:0x591,_0x22c676:0x238,_0x1b68fd:0x39b,_0x39415c:0x421,_0x1f03d9:0x503,_0x8a1d74:0x55c,_0x21d98f:0x4ae},_0x1420fb={_0x2ccd61:0x3aa};function _0x3b87ea(_0x5a3ee3,_0x13ff29){return _0x17b889(_0x5a3ee3-0xf2,_0x13ff29);}const _0x4e2465=JSON[_0x4b4301(0x6c5,0x690)+'y']({'type':'req','id':_0x3b87ea(0x426,0x575)+_0x6b5db1(),'method':_0x3106fb,'params':_0x58dfef}),_0x2e9167={};function _0x4b4301(_0x2d5bd5,_0x183f92){return _0x17b889(_0x2d5bd5-_0x1420fb._0x2ccd61,_0x183f92);}_0x2e9167[_0x4b4301(_0x582c76._0x48092e,_0x582c76._0x1089a2)]=_0x3b87ea(_0x582c76._0x22c676,0x234),_0x2e9167['text']=_0x4e2465,this[_0x4b4301(0x551,0x60b)+_0x3b87ea(_0x582c76._0x1b68fd,_0x582c76._0x39415c)+_0x3b87ea(_0x582c76._0x1f03d9,0x623)+_0x3b87ea(_0x582c76._0x8a1d74,_0x582c76._0x21d98f)](_0x2e9167);}[_0x1cec38(0xda,0xa8)+'eway'](){const _0x4cf15f={_0x47ca45:0x45c,_0x11a2d8:0x4da,_0xfe3c9d:0x1fa,_0x412ee3:0x44f,_0x75a4ab:0x495,_0x1e6635:0x35f,_0x2f42a4:0x28b,_0x41a50d:0x120,_0x2e784c:0x288,_0xe35617:0x254,_0x538be1:0x318,_0x1fec86:0x28c,_0x5b48b4:0x1be},_0x1e9e79={_0x586f52:0x170},_0x68f927=(_0x179228(_0x4cf15f._0x47ca45,_0x4cf15f._0x11a2d8)+_0x1a682(0x2f2,0x47e))[_0x1a682(0x2d0,0x18f)]('|');function _0x179228(_0x3d4857,_0x14f0ec){return _0x17b889(_0x3d4857-0xb6,_0x14f0ec);}function _0x1a682(_0x2f4da9,_0x5a4dd4){return _0x17b889(_0x2f4da9- -_0x1e9e79._0x586f52,_0x5a4dd4);}let _0x193894=0x0;while(!![]){switch(_0x68f927[_0x193894++]){case'0':this[_0x1a682(0x36,_0x4cf15f._0xfe3c9d)+_0x1a682(0x109,0x75)]=null;continue;case'1':this[_0x179228(_0x4cf15f._0x412ee3,0x28e)+_0x1a682(0x307,_0x4cf15f._0x75a4ab)+_0x1a682(0x2fe,_0x4cf15f._0x1e6635)]();continue;case'2':this[_0x1a682(_0x4cf15f._0x2f42a4,_0x4cf15f._0x41a50d)+_0x179228(0x427,_0x4cf15f._0x2e784c)+'g']=![];continue;case'3':this['gatewayH'+_0x179228(0x4e2,0x3b0)+'Started']=![];continue;case'4':this[_0x1a682(0x36,0x169)+_0x179228(0x32f,_0x4cf15f._0xe35617)]?.[_0x179228(_0x4cf15f._0x538be1,_0x4cf15f._0x1fec86)]();continue;case'5':this[_0x1a682(0x28b,0x345)+'onnected'+_0x179228(0x34a,_0x4cf15f._0x5b48b4)]=null;continue;}break;}}[_0x1cec38(0x1b4,0x88)+_0x17b889(0x297,0x1d5)+_0x17b889(0x19c,0x31f)](_0x357299){const _0x4712f0={_0x2e0328:0x645,_0x165ea0:0x717,_0x4cb994:0x7c3,_0x3351d7:0x5df,_0x384e3a:0x752,_0x5b8553:0x629,_0x185631:0x6bf,_0x38916b:0x73e,_0x641fd6:0x5e5,_0x3b53f8:0x33f,_0x20b884:0x70c,_0x5a24bf:0x6d9,_0xf0e19f:0x682,_0x5a4f33:0x68c,_0x487a77:0x5b6,_0x6d35ab:0x615,_0xf18c7e:0x468,_0x123c9c:0x507,_0x112b4e:0x698,_0xcce702:0x3ef,_0x3451fc:0x62a,_0x50752b:0x749,_0x4f5ddb:0x4dc,_0x5139f7:0x612,_0x94361:0x4c7,_0x521500:0x5cd,_0x4bfa28:0x6ec,_0x497b8d:0x256,_0x1ee621:0x410,_0x26a788:0x5d1,_0x14b6b4:0x432,_0x26f005:0x335,_0x1b77ef:0x4e3,_0x274510:0x626,_0xd827a9:0x6a2,_0xdf9f6f:0x6e4,_0x1f8dc7:0x531,_0x4dbc92:0x6c1,_0x20baf3:0x8ab,_0x1e932e:0x6fe,_0x2b34bd:0x4ad,_0x1ce861:0x5cf},_0x1c1d30={_0x55c93e:0x265,_0x55eec3:0x34d,_0x137667:0x53a,_0x3de66c:0x7cc,_0x387e07:0x73e,_0x2f6033:0x2a7,_0x2fa397:0x67e,_0x260579:0x688,_0xdd0ca5:0x5f4,_0x37a728:0x39b,_0x5009bc:0x4a0,_0x2c2d7f:0x46a,_0xc8cecf:0x352,_0x4602fe:0x795,_0x45e289:0x546,_0x37c4c3:0x7b5,_0x3a47a4:0x73f,_0x259b69:0x47d,_0x21ed30:0x2de,_0x54193b:0x774,_0xb11534:0x7d6,_0x33ac91:0x5fc,_0x247bb5:0x500,_0x5bb13e:0x6ac,_0x165e3e:0x522,_0x339565:0x5a8},_0x5104e1={_0x1a71ad:0x311};function _0x30f932(_0x8ce7b3,_0x2d5a0e){return _0x17b889(_0x2d5a0e-0x360,_0x8ce7b3);}const _0x5e1113={'mwCWS':function(_0x47559b,_0x3836dc){return _0x47559b(_0x3836dc);},'GnoJY':function(_0x537119,_0x3738c3,_0x57200d){return _0x537119(_0x3738c3,_0x57200d);}};this[_0x374d58(_0x4712f0._0x2e0328,0x774)+_0x30f932(0x609,0x7a1)+'r']&&(_0x5e1113[_0x374d58(0x681,0x6bb)](clearTimeout,this[_0x30f932(_0x4712f0._0x165ea0,_0x4712f0._0x4cb994)+'etryTime'+'r']),this['gatewayR'+_0x374d58(_0x4712f0._0x3351d7,_0x4712f0._0x384e3a)+'r']=null);this[_0x30f932(0x5a2,_0x4712f0._0x5b8553)+_0x374d58(0x5d9,_0x4712f0._0x185631)+_0x374d58(0x8f5,_0x4712f0._0x38916b)]=[];function _0x374d58(_0x569491,_0x40128d){return _0x17b889(_0x40128d-_0x5104e1._0x1a71ad,_0x569491);}const _0x2dd8e0={};_0x2dd8e0[_0x30f932(0x7ae,_0x4712f0._0x641fd6)+_0x30f932(0x6c5,0x717)]=0x0,this[_0x374d58(0x57f,0x716)+_0x374d58(_0x4712f0._0x3b53f8,0x447)](_0x2dd8e0);if(!this[_0x30f932(0x4ad,0x473)+_0x374d58(_0x4712f0._0x4cb994,0x6c2)]()&&!this[_0x374d58(0x67e,_0x4712f0._0x20b884)+_0x374d58(_0x4712f0._0x5a24bf,_0x4712f0._0xf0e19f)+'g']){this[_0x30f932(_0x4712f0._0x5a4f33,0x72e)]('gateway\x20'+_0x30f932(_0x4712f0._0x487a77,_0x4712f0._0x6d35ab)+_0x374d58(_0x4712f0._0xf18c7e,0x572)+_0x374d58(_0x4712f0._0x123c9c,_0x4712f0._0x112b4e)+'et\x20reaso'+'n='+_0x357299),this[_0x374d58(0x7bd,0x771)+'mandStar'+'tedAtMs']=null;return;}if(this[_0x30f932(0x438,0x554)+_0x30f932(0x68c,0x4fc)+_0x30f932(0x402,0x4fd)]){this[_0x30f932(0x713,0x72e)](_0x30f932(_0x4712f0._0xcce702,0x45f)+_0x30f932(_0x4712f0._0x3451fc,_0x4712f0._0x50752b)+_0x30f932(_0x4712f0._0x4f5ddb,_0x4712f0._0x5139f7)+'dy\x20sched'+_0x30f932(0x552,_0x4712f0._0x94361)+_0x374d58(0x504,0x638)+_0x357299);return;}const _0x49aeed=this['options']['gatewayI'+_0x374d58(0x6fe,_0x4712f0._0x521500)+'nnectDel'+_0x30f932(0x66a,_0x4712f0._0x4bfa28)]??GATEWAY_IDLE_DISCONNECT_DELAY_MS;this['log'](_0x374d58(_0x4712f0._0x497b8d,_0x4712f0._0x1ee621)+_0x374d58(_0x4712f0._0x26a788,0x6fa)+'se\x20sched'+'uled\x20del'+_0x30f932(_0x4712f0._0x14b6b4,0x5bf)+_0x49aeed+_0x374d58(_0x4712f0._0x26f005,0x49f)+_0x357299+(_0x374d58(_0x4712f0._0x1b77ef,_0x4712f0._0x274510)+_0x30f932(0x57a,_0x4712f0._0xd827a9)+_0x374d58(_0x4712f0._0xdf9f6f,_0x4712f0._0x1f8dc7))+this[_0x374d58(0x775,_0x4712f0._0x4dbc92)+'ince'](this[_0x30f932(0x768,0x75b)+_0x30f932(_0x4712f0._0x20baf3,_0x4712f0._0x1e932e)+_0x374d58(0x6f7,0x5a5)])),this[_0x374d58(0x3d6,0x505)+_0x374d58(0x53a,_0x4712f0._0x2b34bd)+_0x374d58(_0x4712f0._0x1ce861,0x4ae)]=_0x5e1113['GnoJY'](setTimeout,()=>{this['gatewayI'+_0x4eb766(0x3c9,0x344)+'Timer']=null;if(this[_0x4eb766(_0x1c1d30._0x55c93e,_0x1c1d30._0x55eec3)+_0x4eb766(0x37a,_0x1c1d30._0x137667)]()){this[_0x141028(_0x1c1d30._0x3de66c,_0x1c1d30._0x387e07)](_0x4eb766(0x111,_0x1c1d30._0x2f6033)+_0x4eb766(_0x1c1d30._0x2fa397,0x591)+_0x141028(_0x1c1d30._0x260579,_0x1c1d30._0xdd0ca5)+_0x4eb766(_0x1c1d30._0x37a728,0x32a)+_0x4eb766(_0x1c1d30._0x5009bc,0x5d0)+_0x4eb766(_0x1c1d30._0x2c2d7f,0x4df)+'\x20returne'+'d');return;}this[_0x4eb766(_0x1c1d30._0xc8cecf,0x41e)+_0x141028(0x850,0x79f)]();const _0xd060da={};_0xd060da[_0x141028(0x7f9,_0x1c1d30._0x4602fe)+_0x4eb766(0x5cf,_0x1c1d30._0x45e289)]=![];function _0x4eb766(_0x74003a,_0x47312e){return _0x374d58(_0x74003a,_0x47312e- -0x169);}_0xd060da[_0x141028(0x683,0x7d0)+_0x141028(_0x1c1d30._0x37c4c3,_0x1c1d30._0x3a47a4)]=0x0,this['updateSn'+_0x4eb766(_0x1c1d30._0x259b69,_0x1c1d30._0x21ed30)](_0xd060da);function _0x141028(_0x156d83,_0x2bdfd5){return _0x374d58(_0x2bdfd5,_0x156d83-0xed);}this['clientDe'+_0x141028(_0x1c1d30._0x54193b,_0x1c1d30._0xb11534)+_0x4eb766(_0x1c1d30._0x33ac91,0x622)]=null,this[_0x4eb766(_0x1c1d30._0x247bb5,0x576)]('gateway\x20'+_0x141028(_0x1c1d30._0x5bb13e,0x505)+_0x4eb766(0x583,_0x1c1d30._0x165e3e)+_0x4eb766(_0x1c1d30._0x339565,0x624)+'reason='+_0x357299);},_0x49aeed);}[_0x17b889(0x399,0x28f)+_0x17b889(0x477,0x3df)+'eClose'](_0x2b547f){const _0x64e6ab={_0x4123ec:0x63d,_0x48f3c1:0x63b,_0x1cb803:0x47e,_0x167d17:0x5e3,_0x2bc98b:0x5cb,_0x2bc459:0x61e,_0x5415b5:0x698,_0x1fee6a:0x5cb,_0x350b6a:0x55f,_0x1a28ea:0x573,_0x41d397:0x656,_0x1ae959:0x4f3,_0x3d7e99:0x815,_0x161afa:0x546,_0x567a2c:0x6a0,_0xf0f481:0x7d0,_0x44f980:0x8a8},_0x3389af={_0x4b1714:0x447};function _0x244be9(_0x25afb7,_0x2cd553){return _0x17b889(_0x2cd553-_0x3389af._0x4b1714,_0x25afb7);}if(!this[_0x244be9(_0x64e6ab._0x4123ec,_0x64e6ab._0x48f3c1)+_0x244be9(_0x64e6ab._0x1cb803,_0x64e6ab._0x167d17)+_0x32e345(0x574,0x49a)])return;clearTimeout(this[_0x32e345(_0x64e6ab._0x2bc98b,_0x64e6ab._0x2bc459)+_0x32e345(0x573,_0x64e6ab._0x5415b5)+'Timer']);function _0x32e345(_0x52c2c2,_0x27db66){return _0x17b889(_0x52c2c2-0x3d7,_0x27db66);}this[_0x32e345(_0x64e6ab._0x1fee6a,_0x64e6ab._0x350b6a)+_0x32e345(_0x64e6ab._0x1a28ea,_0x64e6ab._0x41d397)+_0x244be9(_0x64e6ab._0x1ae959,0x5e4)]=null,_0x2b547f&&this[_0x244be9(0x95e,_0x64e6ab._0x3d7e99)](_0x244be9(0x651,_0x64e6ab._0x161afa)+'idle\x20clo'+_0x244be9(_0x64e6ab._0x567a2c,_0x64e6ab._0xf0f481)+_0x244be9(0x9ce,_0x64e6ab._0x44f980)+'on='+_0x2b547f);}[_0x17b889(0x256,0x195)+_0x17b889(0x3e2,0x45f)+_0x1cec38(0x207,0x253)](){const _0x27e929={_0x2883cf:0x326,_0x23cc2d:0x1dd,_0x384707:0x199,_0x5976f0:0x96,_0x14a915:0x1fd,_0x4fa3fa:0x16e,_0x3e0665:0x35b,_0x3fa6d7:0x2ac,_0x2ab350:0x163,_0x59065f:0xea,_0x3e2947:0x203,_0x133167:0x1c5,_0x2e62f5:0x3},_0x5db874={_0x594329:0x40a,_0x57eaa1:0x364},_0x3d7a4d={_0x24efe7:0x1d};if(this[_0x356385(_0x27e929._0x2883cf,_0x27e929._0x23cc2d)]||this[_0xa353e1(_0x27e929._0x384707,-0x3)+_0x356385(0xb0,-_0x27e929._0x5976f0)])return;const _0x47b450=this['options']['reconnec'+'tBaseDel'+_0x356385(0x222,0x1b6)]??RECONNECT_BASE_DELAY_MS;function _0x356385(_0x2ae999,_0x3cd29a){return _0x1cec38(_0x2ae999,_0x3cd29a- -0x8);}function _0xa353e1(_0x5bfc83,_0x431c31){return _0x1cec38(_0x5bfc83,_0x431c31-_0x3d7a4d._0x24efe7);}const _0x58e924=this['options'][_0x356385(0xb4,-0x28)+_0xa353e1(_0x27e929._0x14a915,0x124)+'yMs']??RECONNECT_MAX_DELAY_MS,_0xb8a2bb=Math['min'](_0x58e924,_0x47b450*Math['max'](0x1,this[_0xa353e1(0x25,_0x27e929._0x4fa3fa)+_0xa353e1(_0x27e929._0x3e0665,0x1f3)]));this[_0xa353e1(_0x27e929._0x3fa6d7,0x21d)](_0x356385(0x7b,0x2b)+_0x356385(0x18d,_0x27e929._0x2ab350)+_0xa353e1(-_0x27e929._0x59065f,0xa5)+_0x356385(0x2ae,_0x27e929._0x3e2947)+'s='+_0xb8a2bb),this[_0xa353e1(_0x27e929._0x133167,-_0x27e929._0x2e62f5)+_0x356385(-0x11a,-_0x27e929._0x5976f0)]=setTimeout(()=>{function _0x2d03b8(_0x38c3ab,_0x108610){return _0xa353e1(_0x38c3ab,_0x108610-0x411);}function _0xcc1a67(_0x3f0ece,_0x3fd70a){return _0xa353e1(_0x3f0ece,_0x3fd70a-0x478);}this[_0xcc1a67(0x5f5,0x475)+'tTimer']=null,void this[_0xcc1a67(0x245,_0x5db874._0x594329)+_0x2d03b8(0x3d6,_0x5db874._0x57eaa1)]();},_0xb8a2bb);}[_0x1cec38(0x61,0x88)+_0x17b889(0x2f4,0x2ee)+_0x1cec38(-0x8e,-0x8)](){const _0x3f6356={_0x40801d:0xc9,_0x32fbf6:0x88,_0x4c7f5b:0x460,_0x512578:0x2da,_0x427bc0:0x24d,_0x2840ab:0xe0,_0x419a0c:0x1b0,_0x2247ec:0x95},_0x4a2420={_0x55d678:0x2af,_0xaea9c4:0x9dc,_0x17eb62:0x175,_0x1fbbbf:0x8c,_0x3e7f54:0x10c},_0x5309b8={_0x2364c8:0x2f3},_0x2f87a2={_0x5e7358:0x42f};if(this[_0x860282(0x6f5,0x614)]||this['gatewayR'+_0x1ce38a(_0x3f6356._0x40801d,0x22b)+'r']||!this[_0x860282(0x82d,0x697)+_0x1ce38a(-_0x3f6356._0x32fbf6,-0x11d)]()||!this[_0x860282(0x4a6,0x406)+'ayDemand']())return;const _0x596b87=this[_0x860282(0x2fe,_0x3f6356._0x4c7f5b)][_0x1ce38a(_0x3f6356._0x512578,_0x3f6356._0x427bc0)+_0x1ce38a(_0x3f6356._0x2840ab,0x65)+_0x1ce38a(-_0x3f6356._0x419a0c,-_0x3f6356._0x2247ec)]??GATEWAY_RETRY_DELAY_MS;function _0x1ce38a(_0x55ac7c,_0xdac381){return _0x1cec38(_0x55ac7c,_0xdac381- -0x48);}function _0x860282(_0xbb8856,_0x23e7b8){return _0x1cec38(_0xbb8856,_0x23e7b8-_0x2f87a2._0x5e7358);}this[_0x1ce38a(0x84,0x24d)+'etryTime'+'r']=setTimeout(()=>{this[_0x923743(_0x4a2420._0x55d678,0x3d1)+_0x5e5d0a(_0x4a2420._0xaea9c4,0x860)+'r']=null;function _0x923743(_0xef0774,_0x36c6e6){return _0x860282(_0xef0774,_0x36c6e6- -_0x5309b8._0x2364c8);}function _0x5e5d0a(_0xe94b7e,_0x573e07){return _0x860282(_0xe94b7e,_0x573e07-0x1be);}this[_0x5e5d0a(0x6ba,0x7df)+_0x923743(0x2f4,_0x4a2420._0x17eb62)+_0x923743(_0x4a2420._0x1fbbbf,_0x4a2420._0x3e7f54)]();},_0x596b87);}[_0x17b889(0x277,0x3da)+_0x1cec38(-0x35,0x156)](){const _0x3ab906={_0x595afa:0x46c,_0x235302:0x1ac,_0x4ea5c9:0x157,_0x4511d8:0x3a9,_0x4b6868:0x516,_0xdd07d0:0x28c,_0x505463:0xc7,_0x14e634:0x4e4},_0x504b57={_0x2b1687:0x1be,_0x26e570:0x368,_0x25456c:0x1b3,_0x48b7bb:0x1c9,_0x408ad9:0x1cd,_0x7136ee:0x4e8,_0x5b5f13:0x4ea,_0x11cce1:0xfd,_0x137cef:0x211,_0x294026:0x6ff,_0x3c3400:0x5d5,_0x5391e2:0x7ce,_0x1125d8:0x561,_0x523940:0x453,_0x3bccab:0x17d},_0x4e0a64={_0x38c51a:0x317},_0x39cc56={_0x40ff0b:0x297};function _0x5c70de(_0x2ec7b5,_0x596705){return _0x17b889(_0x596705- -_0x39cc56._0x40ff0b,_0x2ec7b5);}function _0x1e686a(_0x15c91a,_0x41249){return _0x17b889(_0x41249-_0x4e0a64._0x38c51a,_0x15c91a);}this[_0x1e686a(_0x3ab906._0x595afa,0x534)+'tbeat'](),this['heartbea'+_0x5c70de(-_0x3ab906._0x235302,-_0x3ab906._0x4ea5c9)]=setInterval(()=>{const _0xc0e9f5=this['relaySoc'+_0x4b2ec7(_0x504b57._0x2b1687,_0x504b57._0x26e570)];if(!_0xc0e9f5||_0xc0e9f5['readySta'+'te']!==_0x4664d1[_0x4b2ec7(0x20b,_0x504b57._0x25456c)])return;function _0xe8d351(_0x4764c3,_0x256543){return _0x5c70de(_0x256543,_0x4764c3-0x5c8);}const _0x4fbdef=this[_0x4b2ec7(_0x504b57._0x48b7bb,_0x504b57._0x408ad9)][_0xe8d351(_0x504b57._0x7136ee,_0x504b57._0x5b5f13)+_0x4b2ec7(_0x504b57._0x11cce1,0x20c)+'Ms']??HEARTBEAT_TIMEOUT_MS;function _0x4b2ec7(_0x25eacb,_0x5c5d66){return _0x5c70de(_0x25eacb,_0x5c5d66-0x265);}if(Date[_0x4b2ec7(0x3b8,_0x504b57._0x137cef)]()-this['lastRela'+'yActivit'+'yMs']>_0x4fbdef){this[_0xe8d351(_0x504b57._0x294026,_0x504b57._0x3c3400)](_0xe8d351(0x6f4,_0x504b57._0x5391e2)+_0x4b2ec7(_0x504b57._0x1125d8,_0x504b57._0x523940)+'timed\x20ou'+'t'),_0xc0e9f5[_0x4b2ec7(_0x504b57._0x3bccab,0x2a6)+'e']();return;}_0xc0e9f5['ping']();},this[_0x1e686a(_0x3ab906._0x4511d8,_0x3ab906._0x4b6868)][_0x5c70de(-_0x3ab906._0xdd07d0,-0xe0)+_0x5c70de(0x284,_0x3ab906._0x505463)+_0x1e686a(_0x3ab906._0x14e634,0x5dc)]??HEARTBEAT_INTERVAL_MS);}['stopHear'+_0x1cec38(0x148,-0x5a)](){const _0xf53b2f={_0x4fbd04:0x2b7,_0x3e3f4b:0x341,_0x317252:0x408,_0x2daaa2:0x240},_0x4e7072={_0x330cf9:0x18a};function _0xeb784e(_0x6f9e96,_0x41df9e){return _0x1cec38(_0x6f9e96,_0x41df9e-0x2ce);}function _0x412d43(_0x153c3b,_0x18a9be){return _0x1cec38(_0x153c3b,_0x18a9be-_0x4e7072._0x330cf9);}this[_0xeb784e(0x175,_0xf53b2f._0x4fbd04)+_0xeb784e(_0xf53b2f._0x3e3f4b,0x240)]&&(clearInterval(this['heartbea'+_0xeb784e(_0xf53b2f._0x317252,_0xf53b2f._0x2daaa2)]),this['heartbea'+_0x412d43(0xd3,0xfc)]=null);}[_0x17b889(0x32a,0x27d)+_0x1cec38(-0x5,0xf8)+_0x1cec38(-0x1de,-0x56)+'e'](_0xd7f8bf){const _0x18b1d1={_0x5b78a6:0xa,_0x771847:0x12a,_0xae6087:0x20f,_0x45a749:0x318,_0x4b22a8:0x3df,_0x308530:0x4b8,_0x443ca9:0x372,_0x5287d3:0x22f,_0x286154:0x476,_0x5beb69:0x2a9,_0x5bd032:0x521,_0x4860dd:0x582,_0x3864fa:0x676,_0x3a6343:0x667,_0x1a3072:0x6ba},_0x33a766={_0x53a998:0x2f},_0x37c0a4={_0x54e32f:0x487};this[_0x506b80(_0x18b1d1._0x5b78a6,_0x18b1d1._0x771847)+_0x506b80(0x29d,_0x18b1d1._0xae6087)+'ssages'][_0x506b80(_0x18b1d1._0x45a749,0x17a)]>=MAX_PENDING_GATEWAY_MESSAGES&&this['pendingG'+_0x506b80(0xdd,_0x18b1d1._0xae6087)+'ssages'][_0x30904d(_0x18b1d1._0x4b22a8,0x235)]();this[_0x30904d(0x582,0x5c6)+_0x30904d(0x667,_0x18b1d1._0x308530)+_0x30904d(0x6e6,0x72c)]['push'](_0xd7f8bf);function _0x30904d(_0x3f161d,_0x3a7ad9){return _0x1cec38(_0x3a7ad9,_0x3f161d-_0x37c0a4._0x54e32f);}function _0x506b80(_0x24823b,_0x1f5c02){return _0x1cec38(_0x24823b,_0x1f5c02-_0x33a766._0x53a998);}this[_0x506b80(_0x18b1d1._0x443ca9,_0x18b1d1._0x5287d3)](_0x30904d(0x3b8,_0x18b1d1._0x286154)+_0x506b80(0x11a,_0x18b1d1._0x5beb69)+_0x30904d(0x5df,_0x18b1d1._0x5bd032)+this[_0x30904d(_0x18b1d1._0x4860dd,_0x18b1d1._0x3864fa)+_0x30904d(_0x18b1d1._0x3a6343,_0x18b1d1._0x3a6343)+'ssages'][_0x30904d(0x5d2,_0x18b1d1._0x1a3072)]);}[_0x17b889(0x1a8,0x1a3)+'onnectSt'+_0x1cec38(-0x25,-0x9f)](_0x632ca,_0x387ff6){const _0x4ce9dc={_0x38f31c:0x458,_0x3d7fce:0x54b,_0x235ab3:0x2b2,_0x1b357c:0x327,_0xbc73a1:0x337,_0x5150bc:0x61d,_0x3ab5aa:0x4a0,_0x4592a5:0x43a,_0x19d64e:0x3b2,_0x109973:0x377,_0xe4bb14:0x4b0},_0xdb6f52={_0x169e17:0xab},_0x64a601={_0x4da593:0x215},_0x8c8c67=Date[_0x26465a(0x393,_0x4ce9dc._0x38f31c)](),_0x399044=new Map(this[_0x8bac37(_0x4ce9dc._0x3d7fce,0x3f5)][_0x8bac37(_0x4ce9dc._0x235ab3,_0x4ce9dc._0x1b357c)+'dDevices'][_0x26465a(0x619,0x5a3)](_0x535fa7=>[_0x535fa7['id'],{..._0x535fa7}]));function _0x26465a(_0x18067f,_0x23fa34){return _0x17b889(_0x23fa34-_0x64a601._0x4da593,_0x18067f);}function _0x8bac37(_0x39ffe0,_0x53fac4){return _0x17b889(_0x53fac4-_0xdb6f52._0x169e17,_0x39ffe0);}const _0x6897a8=_0x399044['get'](_0x632ca)??{'id':_0x632ca,'label':_0x387ff6,'state':_0x8bac37(_0x4ce9dc._0xbc73a1,0x327)+'d','lastSeenMs':_0x8c8c67};_0x6897a8['label']=_0x387ff6,_0x6897a8[_0x8bac37(_0x4ce9dc._0x5150bc,_0x4ce9dc._0x3ab5aa)]=_0x8bac37(_0x4ce9dc._0x4592a5,0x327)+'d',_0x6897a8['lastSeen'+'Ms']=_0x8c8c67,_0x399044['set'](_0x632ca,_0x6897a8);const _0x3cd6c2=[..._0x399044[_0x8bac37(0x57b,_0x4ce9dc._0x19d64e)]()][_0x8bac37(0x492,_0x4ce9dc._0x109973)]((_0x46d4f1,_0x3a521d)=>_0x3a521d[_0x8bac37(0x46c,0x51a)+'Ms']-_0x46d4f1[_0x8bac37(0x3b2,0x51a)+'Ms'])['slice'](0x0,MAX_DEVICE_DETAILS),_0x5887ad={};_0x5887ad[_0x8bac37(0x1aa,_0x4ce9dc._0x1b357c)+_0x26465a(0x571,0x5b7)]=_0x3cd6c2,this[_0x8bac37(0x4a4,_0x4ce9dc._0xe4bb14)+_0x8bac37(0x2b3,0x1e1)](_0x5887ad);}[_0x17b889(0x296,0x17d)+'cesRecen'+'t'](){const _0x561f2f={_0x1522dd:0xa15,_0x56d3ff:0x8c6,_0x47c289:0x6a8,_0x1b47ce:0x7ef},_0x512f77={_0x483c85:0x44d};function _0x18eae4(_0x303397,_0x42637d){return _0x17b889(_0x303397-0x42c,_0x42637d);}function _0x94cd58(_0x18c2ed,_0x39f4e0){return _0x17b889(_0x18c2ed-_0x512f77._0x483c85,_0x39f4e0);}this[_0x94cd58(0x852,_0x561f2f._0x1522dd)+'apshot']({'connectedDevices':this[_0x18eae4(0x776,_0x561f2f._0x56d3ff)][_0x18eae4(_0x561f2f._0x47c289,0x690)+_0x94cd58(_0x561f2f._0x1b47ce,0x6c6)][_0x94cd58(0x7db,0x755)](_0x5a17d9=>({..._0x5a17d9,'state':'recent'}))});}[_0x1cec38(0x133,-0x91)+_0x17b889(0x192,0x13d)+_0x1cec38(-0xfb,-0xc4)](_0x1c9b46){const _0x5f0348={_0x268cb6:0x30b,_0x2a664b:0x1cc,_0x57db10:0x265,_0x12696b:0x28a,_0x47a7e7:0x7f6,_0x379b38:0x872,_0x49e54f:0x13,_0x2fd3c7:0x7f6,_0x2f791e:0x287,_0x5756d5:0x4c7,_0x47e53e:0x63b,_0x300da3:0x549,_0x5bc93f:0x7af,_0x28e7d5:0x250,_0x14eecf:0x61,_0x57a95e:0x21,_0x316350:0x6f7,_0x36b6ab:0x733,_0x3fd670:0x25b},_0x29a294={_0x1f5202:0x43c},_0x5a9769={_0xa59e8a:0x17e};if(this[_0x1c7740(0x786,0x91d)][_0x13a46a(0x13,0x19)+'airReque'+_0x1c7740(0x7f6,0x7ae)][_0x13a46a(0x19c,_0x5f0348._0x268cb6)](_0x415bf3=>_0x415bf3[_0x1c7740(0x7dd,0x8fc)+'d']===_0x1c9b46[_0x1c7740(0x7dd,0x8cf)+'d']))return;const _0x40ebe5=[...this[_0x13a46a(_0x5f0348._0x2a664b,0x314)]['pendingP'+_0x13a46a(_0x5f0348._0x57db10,_0x5f0348._0x12696b)+_0x1c7740(_0x5f0348._0x47a7e7,_0x5f0348._0x379b38)],_0x1c9b46][_0x13a46a(0x2f5,0x1a0)](-MAX_PENDING_PAIR_REQUESTS),_0x418889={};function _0x13a46a(_0x20e408,_0x26abcd){return _0x17b889(_0x20e408- -_0x5a9769._0xa59e8a,_0x26abcd);}_0x418889[_0x13a46a(_0x5f0348._0x49e54f,-0x4f)+'airReque'+_0x1c7740(_0x5f0348._0x2fd3c7,0x6dc)]=_0x40ebe5,this[_0x13a46a(_0x5f0348._0x2f791e,0x367)+_0x1c7740(0x572,_0x5f0348._0x5756d5)](_0x418889),this[_0x1c7740(_0x5f0348._0x47e53e,_0x5f0348._0x300da3)][_0x1c7740(0x7af,_0x5f0348._0x5bc93f)+'gPairReq'+'uest']?.(_0x1c9b46);function _0x1c7740(_0x472a41,_0x412a3f){return _0x17b889(_0x472a41-_0x29a294._0x1f5202,_0x412a3f);}this[_0x13a46a(_0x5f0348._0x28e7d5,0x18a)](_0x13a46a(0x1e9,0x49)+_0x13a46a(-_0x5f0348._0x14eecf,0x144)+_0x13a46a(0x1eb,0x273)+_0x13a46a(0x1c5,_0x5f0348._0x57a95e)+_0x1c9b46[_0x1c7740(0x7dd,_0x5f0348._0x316350)+'d']+(_0x1c7740(0x6b0,_0x5f0348._0x36b6ab)+'d=')+(_0x1c9b46[_0x13a46a(0x206,_0x5f0348._0x3fd670)]||'<unknown'+'>'));}[_0x17b889(0x216,0x2be)+_0x17b889(0x1ee,0x186)+_0x17b889(0x1e6,0x13c)](_0x1dceda,_0x2cb7f2){const _0x4316e1={_0x28eb89:0x74b,_0x4632e4:0x6e4,_0x4a82f8:0x7e4,_0x554b66:0x59a,_0x595f41:0x592,_0x3903d6:0x245,_0x54510e:0x967,_0x115760:0x806,_0x5aa314:0x537,_0x293b74:0x88f,_0x30139a:0x735,_0x3d04c5:0x669},_0x29f007={_0x230685:0x19e},_0xfd8768={_0x5def7d:0x401},_0x38e232=this[_0x3cdb9b(0x888,_0x4316e1._0x28eb89)][_0x3f0eb4(0x9b,-0xd)+_0x3cdb9b(_0x4316e1._0x4632e4,_0x4316e1._0x4a82f8)+'sts']['map'](_0x194bbb=>_0x194bbb[_0x3cdb9b(0x68f,0x7a2)+'d']===_0x1dceda?{..._0x194bbb,'status':_0x2cb7f2===_0x3cdb9b(0x9c1,0x873)||_0x2cb7f2==='rejected'?_0x2cb7f2:_0x194bbb[_0x3f0eb4(0x5,0x1c5)]}:_0x194bbb),_0x23d0b5={};function _0x3cdb9b(_0x315b1b,_0x23f22e){return _0x17b889(_0x23f22e-_0xfd8768._0x5def7d,_0x315b1b);}function _0x3f0eb4(_0x3e721a,_0x186d5d){return _0x17b889(_0x186d5d- -_0x29f007._0x230685,_0x3e721a);}_0x23d0b5[_0x3cdb9b(_0x4316e1._0x554b66,_0x4316e1._0x595f41)+_0x3f0eb4(0x33d,_0x4316e1._0x3903d6)+'sts']=_0x38e232,this[_0x3cdb9b(_0x4316e1._0x54510e,_0x4316e1._0x115760)+_0x3cdb9b(0x487,_0x4316e1._0x5aa314)](_0x23d0b5),this[_0x3cdb9b(_0x4316e1._0x293b74,0x7cf)](_0x3cdb9b(_0x4316e1._0x30139a,0x768)+'uest\x20res'+_0x3cdb9b(_0x4316e1._0x3d04c5,0x7f0)+'questId='+_0x1dceda+('\x20decisio'+'n=')+_0x2cb7f2);}[_0x1cec38(0x272,0x237)+'apshot'](_0x44b994){const _0x511cd4={_0x35df29:0x505,_0x393774:0x440,_0x224180:0x367,_0x49279e:0x4ec,_0x2827d3:0x438,_0x587881:0x505},_0x393986={_0x181eef:0x4e1};function _0x1f0412(_0x39d209,_0x7e587b){return _0x1cec38(_0x7e587b,_0x39d209-0x2f2);}Object[_0x2e3a21(_0x511cd4._0x35df29,_0x511cd4._0x393774)](this['snapshot'],_0x44b994,{'lastUpdatedMs':Date[_0x1f0412(_0x511cd4._0x224180,0x297)]()});function _0x2e3a21(_0x376a99,_0x55c691){return _0x1cec38(_0x376a99,_0x55c691-_0x393986._0x181eef);}this['options']['onStatus']?.(this[_0x1f0412(_0x511cd4._0x49279e,_0x511cd4._0x2827d3)+_0x2e3a21(_0x511cd4._0x587881,0x4b2)]());}[_0x17b889(0x3ce,0x471)](_0x25042a){const _0x17d1d7={_0x50ca8b:0x8e};function _0x17ead0(_0x290a4b,_0x17e5a8){return _0x1cec38(_0x17e5a8,_0x290a4b-0x5d);}this[_0x17ead0(_0x17d1d7._0x50ca8b,0xc5)]['onLog']?.(_0x25042a);}[_0x17b889(0x436,0x482)+_0x17b889(0xf9,0x1f3)](){const _0x954204={_0x3dabc4:0x1d5,_0x3ad125:0x469,_0x1e6d19:0x3ad,_0x2ffa89:0x2fb,_0x10499d:0x216},_0x1a2c93={_0x1417e1:0xbc};function _0x14775e(_0x4e8a70,_0x3a34cc){return _0x1cec38(_0x3a34cc,_0x4e8a70- -_0x1a2c93._0x1417e1);}function _0x1b81c8(_0x5339c5,_0x13cdd3){return _0x1cec38(_0x13cdd3,_0x5339c5-0x29d);}return this[_0x14775e(_0x954204._0x3dabc4,0x84)+_0x1b81c8(_0x954204._0x3ad125,_0x954204._0x1e6d19)]?.[_0x1b81c8(_0x954204._0x2ffa89,_0x954204._0x10499d)+'te']===_0x4664d1[_0x1b81c8(0x2b4,0x18b)];}[_0x1cec38(-0x12a,-0xbb)+_0x17b889(0x3b1,0x4de)](){const _0x490fc6={_0x4936d9:0x23a,_0x103b7c:0x2cc,_0x100bfc:0x617,_0x3741c4:0x756,_0x4c7403:0x2c,_0x1c9e67:0xf6,_0x63e5a9:0x694,_0x3f5d05:0x606,_0x3e8165:0x135},_0x134b9f={};_0x134b9f[_0x20edaa(_0x490fc6._0x4936d9,_0x490fc6._0x103b7c)]=function(_0x4fd5c5,_0x469c6c){return _0x4fd5c5===_0x469c6c;};function _0x20edaa(_0x1ee8d7,_0x2da316){return _0x1cec38(_0x1ee8d7,_0x2da316-0x11e);}const _0x3c1add=_0x134b9f;function _0x50c5fd(_0x2171cb,_0x11df74){return _0x1cec38(_0x2171cb,_0x11df74-0x5a8);}return _0x3c1add[_0x50c5fd(_0x490fc6._0x100bfc,_0x490fc6._0x3741c4)](this[_0x20edaa(_0x490fc6._0x4c7403,_0x490fc6._0x1c9e67)+'ocket']?.[_0x50c5fd(_0x490fc6._0x63e5a9,_0x490fc6._0x3f5d05)+'te'],_0x4664d1[_0x20edaa(0x2f4,_0x490fc6._0x3e8165)]);}[_0x17b889(0x1a5,0x21c)+_0x17b889(0x392,0x333)](){const _0x36eaa7={_0x1e3770:0x3ae,_0x2ca50d:0x427,_0x3f4dcf:0x41b,_0x454b10:0x1b7,_0x5beffd:0x32d,_0x4db386:0x304,_0x48992c:0x37d};function _0x3ca054(_0x3d2a03,_0x49151e){return _0x17b889(_0x49151e-0x64,_0x3d2a03);}function _0x330f32(_0x5cefe9,_0x22e7cb){return _0x17b889(_0x22e7cb-0x1a2,_0x5cefe9);}return this[_0x3ca054(0x40c,_0x36eaa7._0x1e3770)][_0x330f32(0x29d,_0x36eaa7._0x2ca50d)+_0x3ca054(0x286,_0x36eaa7._0x3f4dcf)]>0x0||this[_0x3ca054(_0x36eaa7._0x454b10,_0x36eaa7._0x5beffd)+_0x3ca054(_0x36eaa7._0x4db386,0x412)+'ssages'][_0x3ca054(0x21a,_0x36eaa7._0x48992c)]>0x0;}['clearTim'+'ers'](){const _0x24ffb3={_0x2a1e2d:0x5bb,_0x49d89a:0x608,_0x13ed89:0x47c,_0x2d8cb6:0x531,_0x328622:0x4de,_0x1c6105:0x4c6,_0x184f19:0x4de,_0x44918e:0x57a,_0xbf64f6:0x400,_0x53ec48:0x801,_0xda31ef:0x7f5,_0xa93d54:0x7df,_0x1f2592:0x7df,_0x416a0b:0x829,_0x1bc27c:0x74a,_0x564d46:0x73f,_0x53ebe0:0x815},_0x5e2586={_0x46e2e0:0x4d7},_0xf0b2bb={_0x304bdb:0x56c};function _0x2b576d(_0x4db034,_0x54ddf2){return _0x1cec38(_0x54ddf2,_0x4db034-_0xf0b2bb._0x304bdb);}const _0x38c71f={'esEEc':function(_0x4af037,_0x47ff4e){return _0x4af037(_0x47ff4e);}};function _0x12e694(_0x19c770,_0x43a72d){return _0x1cec38(_0x43a72d,_0x19c770-_0x5e2586._0x46e2e0);}this[_0x2b576d(_0x24ffb3._0x2a1e2d,_0x24ffb3._0x49d89a)+_0x12e694(0x47d,_0x24ffb3._0x13ed89)](),this[_0x2b576d(0x54c,_0x24ffb3._0x2d8cb6)+_0x2b576d(_0x24ffb3._0x328622,_0x24ffb3._0x1c6105)]&&(_0x38c71f['esEEc'](clearTimeout,this['reconnec'+_0x2b576d(_0x24ffb3._0x184f19,_0x24ffb3._0x44918e)]),this['reconnec'+_0x2b576d(0x4de,_0x24ffb3._0xbf64f6)]=null),this[_0x2b576d(_0x24ffb3._0x53ec48,_0x24ffb3._0xda31ef)+_0x2b576d(_0x24ffb3._0xa93d54,0x8cc)+'r']&&(clearTimeout(this['gatewayR'+_0x2b576d(_0x24ffb3._0x1f2592,_0x24ffb3._0x416a0b)+'r']),this['gatewayR'+_0x12e694(_0x24ffb3._0x1bc27c,0x890)+'r']=null),this[_0x12e694(0x6a2,_0x24ffb3._0x564d46)+_0x2b576d(_0x24ffb3._0x53ebe0,0x834)+'eClose']();}[_0x1cec38(0x111,0x1e2)+_0x17b889(0x309,0x1e4)](_0x544bc0){const _0x28aebc={_0x5e231b:0x685,_0x4d8946:0x3b6,_0x5dbee5:0x1c5},_0x1afdba={_0x40ad98:0x47a},_0x35477c={_0x508ee3:0x150},_0xc72866={};_0xc72866[_0x2f235f(0x6e0,_0x28aebc._0x5e231b)]=function(_0x19b9e9,_0x121efd){return _0x19b9e9==_0x121efd;};function _0x2251da(_0x31f41b,_0x5dda97){return _0x1cec38(_0x31f41b,_0x5dda97-_0x35477c._0x508ee3);}function _0x2f235f(_0x131e6f,_0x38bc51){return _0x1cec38(_0x38bc51,_0x131e6f-_0x1afdba._0x40ad98);}const _0x1f0864=_0xc72866;return _0x1f0864[_0x2251da(0x376,_0x28aebc._0x4d8946)](_0x544bc0,null)?null:Math['max'](0x0,Date[_0x2251da(0x2f8,_0x28aebc._0x5dbee5)]()-_0x544bc0);}};function shouldRecycleGatewayForFreshClient(_0x1fe2e3,_0x4ef93e,_0x34a439,_0x55deef){return _0x34a439&&_0x4ef93e>0x0&&(_0x1fe2e3===0x0||_0x55deef);}function summarizeJsonFrame(_0x5365e5){const _0x3d00b6={_0x46b657:0x583,_0x5a72a8:0x5fc,_0x1a1e0f:0x72a,_0x591e26:0x602,_0x297673:0x496,_0x335908:0x4b0,_0x11956a:0x515,_0x38f1e3:0x583,_0x3b93fe:0x391,_0x1525e5:0x6b3,_0x42f78b:0x4cd,_0x265b12:0x5b9,_0x455ce2:0x814,_0x37aa8d:0x657,_0x138086:0x3e4,_0x297237:0x667,_0x3e1b84:0x605,_0x44dbaa:0x4df,_0x15956e:0x59b,_0x236c59:0x523,_0x3b4a95:0x73b,_0x127ec6:0x6b8,_0x39e476:0x496,_0x25f896:0x568,_0x1aefe1:0x5ba,_0x381c65:0x73b,_0x3148d4:0x5c5,_0x2aed2f:0x66d,_0x286c24:0x5d7,_0x214d71:0x7d7,_0x25e428:0x7f7,_0x559c93:0x6ae,_0x437a32:0x575,_0xb0d157:0x456,_0x3259d2:0x4fe,_0x337123:0x3c3,_0x196f4c:0x3b5,_0x1eb42f:0x408},_0x567d7b={_0x17d857:0x4ce},_0x1c6c04={};_0x1c6c04[_0x5069d0(0x6df,_0x3d00b6._0x46b657)]=function(_0xabe3e7,_0x1359be){return _0xabe3e7===_0x1359be;};function _0x5069d0(_0x23190e,_0x40d613){return _0x1cec38(_0x23190e,_0x40d613-0x58a);}_0x1c6c04['XZNdD']=_0x2e391b(0x674,0x73b),_0x1c6c04['WnMEv']=_0x2e391b(0x62a,_0x3d00b6._0x5a72a8),_0x1c6c04[_0x5069d0(0x822,0x676)]=function(_0x2c9c96,_0x126548){return _0x2c9c96===_0x126548;},_0x1c6c04['GXnDN']=_0x5069d0(_0x3d00b6._0x1a1e0f,0x819),_0x1c6c04['JocVh']=function(_0x5403d7,_0x26787c){return _0x5403d7===_0x26787c;};const _0x3a2be9=_0x1c6c04;function _0x2e391b(_0x1ef633,_0x188309){return _0x1cec38(_0x1ef633,_0x188309-_0x567d7b._0x17d857);}try{const _0x52639c=JSON[_0x2e391b(_0x3d00b6._0x591e26,0x4da)](_0x5365e5);if(_0x52639c[_0x2e391b(0x4c0,_0x3d00b6._0x297673)]===_0x2e391b(_0x3d00b6._0x335908,0x47c)&&_0x3a2be9[_0x5069d0(_0x3d00b6._0x11956a,_0x3d00b6._0x38f1e3)](typeof _0x52639c[_0x2e391b(_0x3d00b6._0x3b93fe,0x444)],_0x3a2be9[_0x5069d0(_0x3d00b6._0x1525e5,0x6c1)]))return _0x2e391b(_0x3d00b6._0x42f78b,_0x3d00b6._0x265b12)+_0x5069d0(_0x3d00b6._0x455ce2,_0x3d00b6._0x37aa8d)+_0x52639c[_0x2e391b(_0x3d00b6._0x138086,0x444)]+'\x20id='+(typeof _0x52639c['id']===_0x3a2be9[_0x2e391b(_0x3d00b6._0x297237,_0x3d00b6._0x3e1b84)]?_0x52639c['id']:'<unknown'+'>');if(_0x52639c[_0x2e391b(_0x3d00b6._0x44dbaa,_0x3d00b6._0x297673)]===_0x3a2be9[_0x5069d0(0x6ca,_0x3d00b6._0x15956e)]&&typeof _0x52639c[_0x2e391b(_0x3d00b6._0x236c59,_0x3d00b6._0x5a72a8)]===_0x2e391b(0x895,_0x3d00b6._0x3b4a95))return'event\x20na'+'me='+_0x52639c[_0x5069d0(0x62a,_0x3d00b6._0x127ec6)];if(_0x52639c[_0x2e391b(0x34c,_0x3d00b6._0x39e476)]===_0x5069d0(0x660,0x759)){const _0x248ac4=_0x3a2be9[_0x2e391b(_0x3d00b6._0x25f896,_0x3d00b6._0x1aefe1)](typeof _0x52639c['id'],_0x2e391b(0x684,_0x3d00b6._0x381c65))?_0x52639c['id']:_0x5069d0(_0x3d00b6._0x3148d4,_0x3d00b6._0x2aed2f)+'>',_0x43d2ff=_0x52639c['ok']===!![]?_0x3a2be9[_0x5069d0(0x4f7,0x56c)]:'false',_0x267c80=_0x3a2be9[_0x5069d0(_0x3d00b6._0x286c24,0x63e)](typeof _0x52639c[_0x2e391b(0x520,0x4b9)]?.[_0x2e391b(0x391,0x4fe)],_0x5069d0(_0x3d00b6._0x214d71,_0x3d00b6._0x25e428))?_0x52639c[_0x5069d0(_0x3d00b6._0x559c93,_0x3d00b6._0x437a32)][_0x2e391b(_0x3d00b6._0xb0d157,_0x3d00b6._0x3259d2)]:_0x2e391b(_0x3d00b6._0x337123,0x44d);return _0x2e391b(_0x3d00b6._0x196f4c,_0x3d00b6._0x1eb42f)+_0x248ac4+_0x5069d0(0x669,0x5eb)+_0x43d2ff+'\x20code='+_0x267c80;}return null;}catch{return null;}}function shouldDropStaleConnectAfterGatewayReopen(_0x13f138,_0x25b791){const _0x44bef4={_0x2e42d6:0x6d4,_0x5ae492:0x540},_0x263188={_0x17e9cf:0x336};function _0x5c7bf4(_0x4f5d38,_0x7e8320){return _0x1cec38(_0x4f5d38,_0x7e8320-0x1ff);}function _0x137caf(_0xbe755f,_0x3d4157){return _0x1cec38(_0x3d4157,_0xbe755f-_0x263188._0x17e9cf);}const _0x406293={};_0x406293[_0x137caf(0x540,_0x44bef4._0x2e42d6)]=function(_0x189948,_0x57f3b3){return _0x189948&&_0x57f3b3;};const _0x1b937f=_0x406293;return _0x1b937f[_0x137caf(_0x44bef4._0x5ae492,0x59f)](!_0x13f138,_0x25b791);}function buildRelayWsUrl(_0x240c9a){const _0x513711={_0x236c46:0x4af,_0x2045d1:0x72,_0x1ef23a:0x214,_0x2e05f5:0xf5,_0x210335:0x19b,_0x517803:0x3c4,_0x593fd9:0x278,_0x118795:0x18a,_0x446962:0x18b,_0x25ca07:0x528,_0x44dca5:0x586,_0x89bdeb:0x181,_0x4a7909:0x128,_0x198b1:0x636,_0x3a5623:0x24,_0x3637bb:0x124,_0x534259:0x202,_0x20503b:0x47f,_0x5f47c1:0x418,_0x1fb54b:0x84,_0x5c82f7:0x11,_0x16ba59:0x143,_0x161697:0x56c,_0xa4eb79:0x256,_0x361fef:0x405,_0x1bda5e:0x509,_0x3e32ff:0x62b,_0x12a9fa:0x3ec,_0x4c1274:0x3ae,_0xd20085:0x344,_0x4827d8:0x541,_0x123270:0x6ce,_0x12f068:0x1},_0xc1d25d={_0x44a952:0x3f2},_0x5e6e9f={};_0x5e6e9f[_0x59d284(_0x513711._0x236c46,0x551)]=function(_0x348bab,_0x52dc30){return _0x348bab===_0x52dc30;},_0x5e6e9f[_0x1b210f(-0x129,-_0x513711._0x2045d1)]=_0x1b210f(-_0x513711._0x1ef23a,-_0x513711._0x2e05f5),_0x5e6e9f['cIDrl']=_0x1b210f(-_0x513711._0x210335,-0x86),_0x5e6e9f[_0x59d284(0x3d9,_0x513711._0x517803)]=_0x1b210f(-_0x513711._0x593fd9,-0x100),_0x5e6e9f[_0x1b210f(_0x513711._0x118795,_0x513711._0x446962)]=_0x59d284(_0x513711._0x25ca07,0x632);const _0x8f5c5=_0x5e6e9f,_0x3a6a83=new URL(_0x240c9a['relayUrl']);function _0x1b210f(_0x53b3ae,_0x3b8ab2){return _0x1cec38(_0x53b3ae,_0x3b8ab2- -0x37);}(!_0x3a6a83[_0x59d284(_0x513711._0x44dca5,0x53c)]||_0x8f5c5[_0x1b210f(_0x513711._0x89bdeb,_0x513711._0x4a7909)](_0x3a6a83['pathname'],'/'))&&(_0x3a6a83[_0x59d284(_0x513711._0x198b1,0x53c)]=_0x8f5c5[_0x1b210f(-0x10e,-_0x513711._0x2045d1)]);function _0x59d284(_0x312e2e,_0x16ec02){return _0x1cec38(_0x312e2e,_0x16ec02-_0xc1d25d._0x44a952);}return _0x3a6a83[_0x1b210f(0x28a,0x143)+_0x1b210f(-0xde,-_0x513711._0x3a5623)][_0x1b210f(_0x513711._0x3637bb,_0x513711._0x534259)](_0x59d284(_0x513711._0x20503b,_0x513711._0x5f47c1)+'d',_0x240c9a[_0x1b210f(-_0x513711._0x1fb54b,-_0x513711._0x5c82f7)+'d']),_0x3a6a83[_0x1b210f(0x55,_0x513711._0x16ba59)+'rams'][_0x59d284(0x695,0x62b)](_0x8f5c5['cIDrl'],_0x8f5c5[_0x1b210f(-0x207,-0x65)]),_0x3a6a83[_0x59d284(0x5bc,_0x513711._0x161697)+_0x59d284(_0x513711._0xa4eb79,_0x513711._0x361fef)][_0x59d284(_0x513711._0x1bda5e,_0x513711._0x3e32ff)](_0x59d284(0x519,_0x513711._0x12a9fa),_0x240c9a[_0x59d284(_0x513711._0x4c1274,_0x513711._0xd20085)+'Id']),_0x3a6a83[_0x59d284(0x60b,0x56c)+_0x59d284(_0x513711._0x4827d8,0x405)][_0x1b210f(0x21f,_0x513711._0x534259)](_0x8f5c5[_0x59d284(_0x513711._0x123270,0x5b4)],_0x240c9a['relaySec'+'ret']),_0x3a6a83[_0x1b210f(0xb,_0x513711._0x12f068)]();}function redactRelayWsUrl(_0xa4f7cf){const _0x1690ef={_0x5a7c36:0x44b,_0x1a917a:0x298,_0x2e1704:0x2bc,_0x326145:0x4de,_0x10c4f3:0x7f7,_0xd95a68:0x634,_0x32e589:0x645,_0x590548:0x704,_0x285ba5:0x3bc,_0x52013b:0x503,_0x1b9779:0x3ec},_0x125c92={_0x339309:0x5b1},_0x53843e={};function _0x59dab0(_0x2206c5,_0xb0fb4c){return _0x1cec38(_0xb0fb4c,_0x2206c5-0x4cb);}_0x53843e[_0x59dab0(_0x1690ef._0x5a7c36,_0x1690ef._0x1a917a)]=_0x59dab0(0x3ef,_0x1690ef._0x2e1704)+'d>';const _0x9e20bc=_0x53843e;function _0x2c5208(_0x1ac2e1,_0xb28ca8){return _0x1cec38(_0xb28ca8,_0x1ac2e1-_0x125c92._0x339309);}const _0x43921c=new URL(_0xa4f7cf);return _0x43921c['searchPa'+_0x59dab0(_0x1690ef._0x326145,0x635)][_0x59dab0(0x6f5,_0x1690ef._0x10c4f3)](_0x2c5208(0x7f1,_0x1690ef._0xd95a68))&&_0x43921c[_0x59dab0(_0x1690ef._0x32e589,0x7f6)+_0x59dab0(0x4de,0x49a)][_0x59dab0(_0x1690ef._0x590548,0x63e)](_0x59dab0(0x70b,0x562),_0x9e20bc[_0x59dab0(0x44b,_0x1690ef._0x285ba5)]),_0x43921c[_0x59dab0(_0x1690ef._0x52013b,_0x1690ef._0x1b9779)]();}function normalizeText(_0x487f4f){const _0x1ffd9c={_0x2a6601:0x493,_0x5300bf:0x612,_0x4ad7c7:0x7be,_0x56fd68:0x610,_0x1a69da:0x753,_0x2fa277:0x840,_0x1a63ac:0x342,_0xa96ad:0x78e,_0x34600e:0x594,_0x2f9bd2:0x72e,_0x248c53:0x21,_0x13cc68:0x79,_0x55244a:0x3e,_0x55e733:0x121,_0x92316a:0x4ba,_0x48ab6c:0x76b,_0x98fead:0x12d},_0x467bcc={};_0x467bcc[_0x110e85(0x181,0x19)]='0|3|1|2|'+'4',_0x467bcc[_0x3547a7(0x5bc,_0x1ffd9c._0x2a6601)]=function(_0x43d543,_0x3b3693){return _0x43d543 instanceof _0x3b3693;},_0x467bcc[_0x3547a7(_0x1ffd9c._0x5300bf,_0x1ffd9c._0x4ad7c7)]=_0x3547a7(_0x1ffd9c._0x56fd68,0x6bf);function _0x110e85(_0x28c053,_0x32f5b4){return _0x1cec38(_0x32f5b4,_0x28c053- -0xb1);}const _0xf7c32b=_0x467bcc,_0x56fa33=_0xf7c32b[_0x3547a7(_0x1ffd9c._0x1a69da,_0x1ffd9c._0x2fa277)][_0x110e85(0x1c1,_0x1ffd9c._0x1a63ac)]('|');function _0x3547a7(_0x2d0507,_0x1f0a73){return _0x1cec38(_0x1f0a73,_0x2d0507-0x521);}let _0x4e5197=0x0;while(!![]){switch(_0x56fa33[_0x4e5197++]){case'0':if(typeof _0x487f4f===_0x3547a7(_0x1ffd9c._0xa96ad,0x860))return _0x487f4f;continue;case'1':if(Array[_0x3547a7(_0x1ffd9c._0x34600e,_0x1ffd9c._0x2f9bd2)](_0x487f4f))return Buffer[_0x110e85(_0x1ffd9c._0x248c53,0x4a)](_0x487f4f)[_0x110e85(-_0x1ffd9c._0x13cc68,-0x18e)](_0x110e85(_0x1ffd9c._0x55244a,0x29));continue;case'2':if(_0xf7c32b['iKxXF'](_0x487f4f,ArrayBuffer))return Buffer[_0x110e85(-_0x1ffd9c._0x55e733,-0x24c)](_0x487f4f)[_0x3547a7(0x559,0x4a4)](_0xf7c32b[_0x3547a7(0x612,_0x1ffd9c._0x92316a)]);continue;case'3':if(Buffer[_0x3547a7(0x744,_0x1ffd9c._0x48ab6c)](_0x487f4f))return _0x487f4f['toString'](_0x110e85(_0x1ffd9c._0x55244a,_0x1ffd9c._0x98fead));continue;case'4':return null;}break;}}function normalizeBinary(_0x29e827){const _0x282527={_0x29af94:0xc1,_0x104a03:0x49,_0x132c3b:0x255,_0x3cdd32:0x38c,_0x309a9c:0x269,_0x2325fd:0x2c8},_0x182e2b={_0x10a69f:0x350},_0x318123={_0x4ee5e0:0x28},_0x2ec61e={};_0x2ec61e[_0x1e8c02(-_0x282527._0x29af94,-_0x282527._0x104a03)]=_0x1e8c02(-0x93,-_0x282527._0x132c3b);const _0x33b86c=_0x2ec61e;function _0x50237d(_0x3b10ab,_0x21e4d7){return _0x17b889(_0x3b10ab-_0x318123._0x4ee5e0,_0x21e4d7);}if(Buffer['isBuffer'](_0x29e827))return _0x29e827;function _0x1e8c02(_0x4c9a17,_0x511c40){return _0x17b889(_0x4c9a17- -_0x182e2b._0x10a69f,_0x511c40);}if(typeof _0x29e827===_0x50237d(0x463,_0x282527._0x3cdd32))return Buffer['from'](_0x29e827,_0x33b86c[_0x1e8c02(-0xc1,-0x276)]);if(Array[_0x50237d(_0x282527._0x309a9c,0x21a)](_0x29e827))return Buffer[_0x50237d(_0x282527._0x2325fd,0x1c0)](_0x29e827);return Buffer[_0x50237d(0x186,0x1a9)](_0x29e827);}function readRecentCliLogs(_0x22baa9){const _0x24cafe={_0x330190:0x3cd,_0x105f9c:0x456,_0x257a85:0x109,_0x15e2fc:0x7e,_0x63bc0c:0x93,_0x5ab2d9:0x6c,_0x3309f3:0xf0,_0x33915f:0x227,_0x3b2b8d:0x274,_0x109902:0x5e2},_0x2c9f67={};_0x2c9f67[_0x353544(_0x24cafe._0x330190,0x276)]=function(_0x2ab8c0,_0x102e3c){return _0x2ab8c0-_0x102e3c;};function _0x353544(_0x3913ab,_0x2853e7){return _0x17b889(_0x2853e7- -0x1b4,_0x3913ab);}const _0x187d69=_0x2c9f67,{logPath:_0x252162,errorLogPath:_0x10d65c}=getServicePaths(),_0xf14dab=clampLines(_0x22baa9?.[_0x44581a(_0x24cafe._0x105f9c,0x540)]??0xc8),_0xd481f2=_0x22baa9?.['lastMs']??null,_0x2a9f54=_0xd481f2!=null?_0x187d69['NFEyN'](Date[_0x353544(-_0x24cafe._0x257a85,0x8f)](),_0xd481f2):null;function _0x44581a(_0x40a023,_0x15ff33){return _0x17b889(_0x15ff33-0x1d4,_0x40a023);}const _0x324a44=[_0x252162];_0x22baa9?.[_0x353544(_0x24cafe._0x15e2fc,-_0x24cafe._0x63bc0c)+_0x353544(0x123,0x2b7)]&&_0x324a44[_0x353544(-_0x24cafe._0x5ab2d9,_0x24cafe._0x3309f3)](_0x10d65c);const _0x3798f4=_0x324a44[_0x353544(0x148,_0x24cafe._0x33915f)](_0x2c94b5=>readLogFile(_0x2c94b5)),_0x1eb39f=_0x2a9f54==null?_0x3798f4:_0x3798f4['filter'](_0x2fd7e2=>_0x2fd7e2['ts']!=null&&_0x2fd7e2['ts']>=_0x2a9f54);return _0x1eb39f[_0x353544(_0x24cafe._0x3b2b8d,0x2bf)](-_0xf14dab)[_0x44581a(_0x24cafe._0x109902,0x562)](_0x35e68d=>_0x35e68d[_0x44581a(0x2db,0x3ff)]);}async function buildDoctorReport(){const _0x903557={_0x315a4a:0x1b7,_0x178c7e:0x7d6,_0x3665c3:0x429,_0x452e22:0x5a8,_0x2e79c1:0x58d,_0x4c583a:0x4d1,_0x217444:0x5b8,_0x1a9f12:0x5de,_0x327bb9:0x17a,_0x58aaaf:0x4fd,_0x2c1bad:0x137,_0x2f1a49:0x826,_0x19f0e8:0x27,_0x197a16:0x790,_0xcbcc07:0x1cd,_0x4f890e:0x828,_0x2aab28:0x78c},_0x1694db={_0x11943f:0x3b9},_0x45915c={_0x43f328:0x1b4};function _0x59aa83(_0x287ee5,_0x30e40e){return _0x17b889(_0x287ee5- -_0x45915c._0x43f328,_0x30e40e);}const _0x3f6c86={'eUgbz':function(_0x2ea1f8){return _0x2ea1f8();},'VzHot':function(_0x3ca7f6,_0x14ca04){return _0x3ca7f6(_0x14ca04);},'qNcth':function(_0x1e1a8d){return _0x1e1a8d();}};function _0x502feb(_0xdf25e6,_0x632c25){return _0x17b889(_0x632c25-_0x1694db._0x11943f,_0xdf25e6);}const _0x516601=readPairingConfig(),_0xa9434=getServiceStatus(),_0x3bafd6=_0x3f6c86[_0x59aa83(_0x903557._0x315a4a,0x9f)](readOpenClawInfo),_0x37b8a9=resolveGatewayUrl(),_0x27e319=await _0x3f6c86[_0x502feb(_0x903557._0x178c7e,0x765)](checkGatewayReachable,_0x37b8a9);return{'paired':_0x3f6c86['VzHot'](Boolean,_0x516601),'gatewayId':_0x516601?.[_0x502feb(0x6da,0x5ad)+'d']??null,'serverUrl':_0x516601?.[_0x502feb(_0x903557._0x3665c3,_0x903557._0x452e22)+'l']??null,'relayUrl':_0x516601?.[_0x502feb(_0x903557._0x2e79c1,_0x903557._0x4c583a)]??null,'instanceId':_0x516601?.['instance'+'Id']??null,'serviceInstalled':_0xa9434[_0x502feb(_0x903557._0x217444,_0x903557._0x1a9f12)+'d'],'serviceRunning':_0xa9434[_0x59aa83(0x2a4,_0x903557._0x327bb9)],'serviceMethod':_0xa9434[_0x502feb(0x513,_0x903557._0x58aaaf)],'servicePath':_0xa9434[_0x59aa83(0x96,_0x903557._0x2c1bad)+_0x502feb(0x836,_0x903557._0x2f1a49)],'logPath':_0xa9434['logPath'],'errorLogPath':_0xa9434[_0x59aa83(-_0x903557._0x19f0e8,-0x126)+'Path'],'openclawConfigDir':getOpenClawConfigDir(),'openclawMediaDir':_0x3f6c86[_0x502feb(0x8eb,_0x903557._0x197a16)](getOpenClawMediaDir),'openclawConfigFound':_0x3bafd6[_0x59aa83(_0x903557._0xcbcc07,0x7b)+_0x502feb(_0x903557._0x4f890e,_0x903557._0x2aab28)],'openclawTokenFound':Boolean(_0x3bafd6[_0x59aa83(0x25a,0x2a4)]),'localGatewayUrl':_0x37b8a9,'localGatewayReachable':_0x27e319};}function readLogFile(_0x3d2eb5){const _0x23c1de={_0x3bef23:0x3f4,_0x403f41:0x765,_0x5c8a14:0x67e,_0x46fad9:0x653,_0x28906e:0x5b0,_0x80f2fb:0x6b3,_0x123018:0x7fe};function _0x56811a(_0x586e47,_0x1931fb){return _0x17b889(_0x586e47-0x325,_0x1931fb);}function _0x548fa7(_0x522702,_0x4f7b6a){return _0x17b889(_0x4f7b6a-0x2e1,_0x522702);}try{const _0x5c28b0=_0x1ff118(_0x3d2eb5,_0x548fa7(_0x23c1de._0x3bef23,0x59e));return _0x5c28b0[_0x56811a(_0x23c1de._0x403f41,_0x23c1de._0x5c8a14)](/\r?\n/)[_0x548fa7(_0x23c1de._0x46fad9,_0x23c1de._0x28906e)](Boolean)[_0x56811a(_0x23c1de._0x80f2fb,_0x23c1de._0x123018)](_0x4eb4c7=>({'raw':_0x4eb4c7,'ts':parseTimestamp(_0x4eb4c7)}));}catch{return[];}}function parseTimestamp(_0x2dbf22){const _0x5f5370={_0x5b4ac0:0x4d4,_0x1834da:0x34b},_0x34dabb={_0x537a5b:0x129};function _0xde564b(_0x53874e,_0x363be2){return _0x17b889(_0x363be2-_0x34dabb._0x537a5b,_0x53874e);}const _0xa4a56f=_0x2dbf22[_0xde564b(_0x5f5370._0x5b4ac0,_0x5f5370._0x1834da)](/^\[(\d{13})\]\s/);if(!_0xa4a56f)return null;const _0x23f555=Number(_0xa4a56f[0x1]);return Number['isFinite'](_0x23f555)?_0x23f555:null;}function clampLines(_0x2cb1cd){const _0x470ac2={_0x5e4c47:0x38a,_0x38633e:0x2a1,_0x431f06:0x385},_0x2cdbc4={_0x298267:0x2e3};function _0x3cbcc0(_0x3bc37a,_0x2d4dc8){return _0x1cec38(_0x2d4dc8,_0x3bc37a- -0x21);}function _0x10035c(_0x4c5f22,_0x2228cb){return _0x1cec38(_0x4c5f22,_0x2228cb-_0x2cdbc4._0x298267);}if(!Number[_0x10035c(0x53b,_0x470ac2._0x5e4c47)](_0x2cb1cd))return 0xc8;return Math['max'](0x1,Math[_0x10035c(_0x470ac2._0x38633e,_0x470ac2._0x431f06)](0x7d0,Math['floor'](_0x2cb1cd)));}function _0x1cec38(_0x93dd14,_0x4772cb){const _0x3f61b0={_0x4a5059:0x25f};return _0xd787(_0x4772cb- -_0x3f61b0._0x4a5059,_0x93dd14);}async function checkGatewayReachable(_0x4c1490){const _0x27c9f7={_0x2734bc:0x63a,_0x442649:0x5ce,_0x3fd97e:0x262,_0x20a514:0x241,_0x522432:0x1ca,_0x14b33e:0x20e,_0x2100c7:0x268,_0x23d26b:0x3fb},_0x3f5ec2={_0xc7d310:0x4d9,_0x2b4cb0:0x695},_0x24eebe={_0x28be31:0x274,_0x2c4fd7:0x147},_0x5a3255={_0x4ab5f8:0x688},_0x4643b5={_0x5d39c6:0xed};function _0x4fbdad(_0x4eebd5,_0x281729){return _0x1cec38(_0x4eebd5,_0x281729- -_0x4643b5._0x5d39c6);}const _0x1eae03={'mFGJx':function(_0x6e90f7,_0x11d504){return _0x6e90f7(_0x11d504);},'ssnLP':'127.0.0.'+'1'};function _0x29a327(_0x532439,_0x235b5f){return _0x1cec38(_0x532439,_0x235b5f-0x31c);}try{const _0x5baf5a=new URL(_0x4c1490),_0x106a20=_0x5baf5a[_0x29a327(_0x27c9f7._0x2734bc,_0x27c9f7._0x442649)]||_0x1eae03[_0x29a327(0x3b6,_0x27c9f7._0x3fd97e)],_0x4d8328=_0x5baf5a[_0x4fbdad(-_0x27c9f7._0x20a514,-_0x27c9f7._0x522432)]?Number(_0x5baf5a['port']):_0x5baf5a[_0x29a327(_0x27c9f7._0x14b33e,_0x27c9f7._0x2100c7)]===_0x29a327(0x40b,_0x27c9f7._0x23d26b)?0x1bb:0x50;return await new Promise((_0x44614c,_0x29c499)=>{const _0x44aee0={_0x3ba87f:0x740},_0x5e91f1={'bHXyn':function(_0x2078e6,_0x10e583){const _0x157856={_0x264d95:0x267};function _0x298959(_0x1a8522,_0x2f02cc){return _0xd787(_0x1a8522-_0x157856._0x264d95,_0x2f02cc);}return _0x1eae03[_0x298959(0x5ab,_0x44aee0._0x3ba87f)](_0x2078e6,_0x10e583);}},_0x1b0228=new Socket();function _0x339190(_0x3766e8,_0x3245f5){return _0x4fbdad(_0x3766e8,_0x3245f5-0x8f);}_0x1b0228['setTimeo'+'ut'](0x384);function _0x13fbdd(_0x2c359a,_0x4557c2){return _0x4fbdad(_0x2c359a,_0x4557c2-_0x5a3255._0x4ab5f8);}_0x1b0228['once'](_0x13fbdd(0x578,0x5ff),()=>{function _0x42b25d(_0x67898b,_0x258025){return _0x13fbdd(_0x67898b,_0x258025- -0x60c);}_0x1b0228[_0x42b25d(-_0x24eebe._0x28be31,-_0x24eebe._0x2c4fd7)](),_0x44614c();}),_0x1b0228[_0x13fbdd(_0x3f5ec2._0xc7d310,_0x3f5ec2._0x2b4cb0)](_0x13fbdd(0x62b,0x4ca),()=>{const _0x1d9a3c={_0x2a7ee3:0x240};function _0x2f373c(_0x5f3586,_0x2e6736){return _0x13fbdd(_0x2e6736,_0x5f3586- -_0x1d9a3c._0x2a7ee3);}_0x1b0228[_0x2f373c(0x285,0x199)](),_0x29c499(new Error('timeout'));}),_0x1b0228[_0x13fbdd(0x6b9,_0x3f5ec2._0x2b4cb0)](_0x13fbdd(0x4ee,0x586),_0x350a36=>{_0x1b0228['destroy'](),_0x5e91f1['bHXyn'](_0x29c499,_0x350a36);}),_0x1b0228['connect'](_0x4d8328,_0x106a20);}),!![];}catch{return![];}}function parseLookbackToMs(_0x899077){const _0x44d785={_0x5806de:0x426,_0x13248d:0x26e,_0x11de40:0x1ad,_0x4a35f8:0x311,_0x5b3e82:0x218,_0x564b20:0x1e8},_0x4afd1c=_0x899077?.[_0x4bc3b5(0x5a7,_0x44d785._0x5806de)]();if(!_0x4afd1c)return null;const _0x1fa4c1=_0x4afd1c[_0x4bc3b5(0x1a1,0x2c3)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x1fa4c1)throw new Error(_0x4bc3b5(_0x44d785._0x13248d,_0x44d785._0x11de40)+_0x2b57bb(_0x44d785._0x4a35f8,0x301)+_0x2b57bb(0x2b2,_0x44d785._0x5b3e82)+_0x4afd1c+('\x22.\x20Use\x20v'+'alues\x20li'+'ke\x2030s,\x20'+_0x4bc3b5(0xf9,0x25c)+'or\x201d.'));function _0x4bc3b5(_0x2fb60b,_0x5857ff){return _0x1cec38(_0x2fb60b,_0x5857ff-0x26f);}const _0x30b848=Number(_0x1fa4c1[0x1]),_0x2cc85a=_0x1fa4c1[0x2][_0x4bc3b5(_0x44d785._0x564b20,0x350)+_0x2b57bb(0x423,0x540)](),_0x3208cc=_0x2cc85a==='ms'?0x1:_0x2cc85a==='s'?0x3e8:_0x2cc85a==='m'?0xea60:_0x2cc85a==='h'?0x36ee80:0x5265c00;function _0x2b57bb(_0x397109,_0x1c45e2){return _0x1cec38(_0x397109,_0x1c45e2-0x2a7);}return _0x30b848*_0x3208cc;}function buildPairingJson(_0x4d6078,_0x2d8152,_0x1672fb,_0x1abe5b){const _0x2c9183={_0x3b9abb:0x26c,_0x227583:0x1e0,_0x586500:0x2e6,_0x4aeaa4:0x548,_0x4a2735:0x2a0,_0x185f9b:0x1d4,_0xec6f74:0x23f,_0x3071a6:0x15f,_0x547ecb:0x2ed,_0x10e35e:0x25b,_0x202bae:0x28b,_0x32fa73:0x1bc,_0x5c737e:0x273,_0x3bb438:0xea,_0x54ed0a:0x222,_0xf5ed22:0x4a3,_0x4e83bd:0x4b3,_0x49312d:0x554,_0x39869b:0x26f},_0x35ffb8={_0x3393c3:0x47},_0x4defdd={_0x557a61:0x9c},_0x495ce9={};_0x495ce9['installe'+'d']=_0x1672fb[_0x561fba(0x367,_0x2c9183._0x3b9abb)+'d'],_0x495ce9['running']=_0x1672fb[_0xabba30(0x4f4,0x4ce)],_0x495ce9['method']=_0x1672fb[_0xabba30(_0x2c9183._0x227583,0x76)],_0x495ce9[_0xabba30(_0x2c9183._0x586500,0x15f)+_0xabba30(0x509,_0x2c9183._0x4aeaa4)]=_0x1672fb[_0x561fba(0x20b,0x291)+_0x561fba(0x3f9,0x4b4)],_0x495ce9[_0xabba30(0x1d3,0x2f3)]=_0x1672fb['logPath'],_0x495ce9[_0x561fba(0x106,0x1d4)+'Path']=_0x1672fb[_0x561fba(_0x2c9183._0x4a2735,_0x2c9183._0x185f9b)+_0xabba30(0x4c3,0x598)],_0x495ce9[_0x561fba(0x31f,0x317)]=_0x1672fb['pid'];function _0xabba30(_0x25a342,_0x3b09e2){return _0x17b889(_0x25a342-_0x4defdd._0x557a61,_0x3b09e2);}const _0x275a3d={};_0x275a3d['ok']=!![],_0x275a3d[_0xabba30(0x3d4,0x4e5)]=_0x4d6078['action'],_0x275a3d[_0xabba30(0x259,0x176)]=_0x1abe5b,_0x275a3d['gatewayI'+'d']=_0x4d6078['config'][_0x561fba(0x193,0x23b)+'d'],_0x275a3d[_0x561fba(_0x2c9183._0xec6f74,_0x2c9183._0x3071a6)]=_0x4d6078['config'][_0xabba30(0x1b4,0x260)],_0x275a3d[_0x561fba(_0x2c9183._0x547ecb,0x236)+'l']=_0x4d6078[_0xabba30(0x191,_0x2c9183._0x10e35e)][_0xabba30(_0x2c9183._0x202bae,0x446)+'l'],_0x275a3d[_0xabba30(0x1bc,0x9)+'Id']=_0x4d6078[_0xabba30(0x191,0x120)][_0xabba30(_0x2c9183._0x32fa73,_0x2c9183._0x5c737e)+'Id'],_0x275a3d['accessCo'+'de']=_0x4d6078[_0xabba30(0x508,0x5f0)+'de'],_0x275a3d[_0xabba30(0x508,0x672)+_0x561fba(_0x2c9183._0x3bb438,_0x2c9183._0x54ed0a)+'sAt']=_0x4d6078[_0x561fba(_0x2c9183._0xf5ed22,_0x2c9183._0x4e83bd)+'deExpire'+'sAt'];function _0x561fba(_0x4398f6,_0x5dc763){return _0x17b889(_0x5dc763-_0x35ffb8._0x3393c3,_0x4398f6);}return _0x275a3d['qrImageP'+_0xabba30(0x509,_0x2c9183._0x49312d)]=_0x2d8152,_0x275a3d[_0xabba30(0x1c6,_0x2c9183._0x39869b)]=_0x495ce9,_0x275a3d;}import{mkdirSync as _0x587032,writeFileSync as _0xbdde71}from'fs';import{dirname as _0x19ae1b,isAbsolute,join as _0x302085,resolve}from'path';import _0x2e06c9 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x2c5232,_0x4e11c5){const _0xeb3e31={_0x4c8989:0x1ab,_0xe922df:0x2dc,_0x163773:0x21b,_0x2068a0:0x266,_0x250541:0x365,_0x55374c:0x41d,_0x2c2a1b:0x1d1,_0x2dec96:0xe5,_0x50cdca:0x18a,_0x1a274d:0x117,_0x55bbd1:0xd3},_0x30a849={_0x232d16:0x4c},_0x14f582={'VbyLn':function(_0x222bcd,_0x95bfe4){return _0x222bcd(_0x95bfe4);}},_0x5bcfb9=resolveQrOutputPath(_0x2c5232,_0x4e11c5),_0x4d2fa7={};_0x4d2fa7[_0x1d9f56(0x23f,0x2f8)+'e']=!![],_0x587032(_0x14f582[_0x2e4c16(0x115,0x2a2)](_0x19ae1b,_0x5bcfb9),_0x4d2fa7);const _0x112cdf={};_0x112cdf[_0x1d9f56(0x14,-_0xeb3e31._0x4c8989)]=_0x1d9f56(_0xeb3e31._0xe922df,0x17b)+'g';function _0x2e4c16(_0x49771d,_0x469975){return _0x1cec38(_0x469975,_0x49771d-0x1d2);}_0x112cdf[_0x2e4c16(_0xeb3e31._0x163773,_0xeb3e31._0x2068a0)+'rectionL'+_0x2e4c16(_0xeb3e31._0x250541,_0xeb3e31._0x55374c)]='M',_0x112cdf[_0x2e4c16(0x1d2,0x2fd)]=0x1,_0x112cdf[_0x1d9f56(_0xeb3e31._0x2c2a1b,_0xeb3e31._0x2dec96)]=0x2d0;const _0x341fb7=await _0x2e06c9[_0x2e4c16(0x2d2,_0xeb3e31._0x50cdca)+'L'](_0x2c5232[_0x2e4c16(0x3d0,0x523)+'d'],_0x112cdf),_0xa5c5b8=_0x341fb7[_0x1d9f56(0x17d,_0xeb3e31._0x1a274d)](/^data:image\/png;base64,/,'');function _0x1d9f56(_0x51aec4,_0xf8e8f5){return _0x1cec38(_0xf8e8f5,_0x51aec4-_0x30a849._0x232d16);}return _0xbdde71(_0x5bcfb9,Buffer[_0x2e4c16(0x162,_0xeb3e31._0x55bbd1)](_0xa5c5b8,_0x1d9f56(0x135,0x1ff))),_0x5bcfb9;}function resolveQrOutputPath(_0x540a89,_0x1b1d21){const _0x2e8a00=_0x1b1d21?.['trim']();if(_0x2e8a00)return isAbsolute(_0x2e8a00)?_0x2e8a00:resolve(_0x2e8a00);return _0x302085(DEFAULT_QR_DIR,_0x540a89['config']['gatewayI'+'d']+'.png');}function decidePairServiceAction(_0x58fbb9,_0x19e832){const _0xc9e18a={_0x597204:0x156,_0x3a1fe3:0x31a,_0x258e47:0x1d8,_0x460727:0x1ce,_0xcf8364:0x104,_0x259729:0x48e,_0x5a6aec:0x169,_0x5b7c80:0x591},_0x1b81dc={_0x3fea91:0x230},_0x199c4c={};function _0x24b238(_0x1b054b,_0xb149d2){return _0x17b889(_0x1b054b-0x20b,_0xb149d2);}function _0x591376(_0x56b267,_0x3e15dd){return _0x17b889(_0x56b267- -_0x1b81dc._0x3fea91,_0x3e15dd);}_0x199c4c[_0x591376(_0xc9e18a._0x597204,_0xc9e18a._0x3a1fe3)]='register'+'ed',_0x199c4c[_0x591376(_0xc9e18a._0x258e47,0x129)]=_0x591376(_0xc9e18a._0x460727,_0xc9e18a._0xcf8364);const _0xdc832c=_0x199c4c;if(!_0x19e832[_0x24b238(0x430,_0xc9e18a._0x259729)+'d'])return _0x591376(0x3f,-_0xc9e18a._0x5a6aec);if(!_0x19e832['running'])return _0x24b238(0x3d6,0x2a9);if(_0x58fbb9[_0x24b238(0x543,0x565)]===_0xdc832c[_0x24b238(_0xc9e18a._0x5b7c80,0x548)])return'restart';return _0xdc832c[_0x591376(0x1d8,0x118)];}async function main(){const _0x48f221={_0x3825b5:0x20b,_0x2f96af:0xa1,_0x1293eb:0xc1,_0x2de10d:0x95,_0x3c829e:0x17b,_0x1437fd:0x158,_0x3b647c:0x3a,_0x53123b:0xdd,_0x302c96:0x1ef,_0x105914:0x7c,_0x16a0b8:0x22,_0xab954a:0x42,_0xe81e33:0xf7,_0x536dd5:0x200,_0x351b6b:0x89,_0x365b8c:0x1d9,_0x16d442:0x1bd,_0x5d2590:0x140,_0x1b4702:0x187,_0x408b99:0x95,_0x4b261c:0x25d,_0x22fe7a:0x31c,_0x228e49:0x72,_0x2f19b7:0x13,_0x47dad2:0x121,_0x3ff5ef:0x4c,_0x21f5b2:0xde,_0x1db231:0x79,_0x4c9934:0x70,_0x21ea25:0x147,_0x58563b:0x148,_0x83e769:0x23d,_0x368e05:0x16a,_0x1977c9:0xb5,_0x233aa4:0xe5,_0x4df6d7:0x2f6,_0xe54462:0xe6,_0x39d002:0x18d,_0x2460da:0x1ac,_0x348849:0x123,_0x25ff34:0x6a,_0x2dc094:0x13f,_0x10aaf1:0x80,_0x470cc0:0x1d4,_0x599969:0xe7,_0x1fb839:0xc,_0x13802d:0xf5,_0x2e3010:0x8a,_0x1de112:0x11b,_0x549d41:0x8c,_0x364bbf:0x9,_0x1df13b:0x4a0,_0x48dfb1:0x346,_0x511147:0x2f0,_0x207703:0x374,_0x273caf:0x75,_0x1a83c7:0x1f,_0xc165d7:0x20e,_0x5d36a1:0x57,_0x3b8880:0x6b,_0x2d4606:0x92,_0x631bc2:0x184,_0x490466:0x11d,_0x507592:0x100,_0x75e7cf:0x298,_0x442e4d:0x17a,_0x483202:0xda,_0x13a3bd:0xcf,_0x45af7c:0x56,_0x3c29a3:0x22d,_0x1772b5:0x14,_0x591dcc:0x18,_0x17eb8e:0x315,_0xdbedb9:0x36b,_0x9183cf:0xeb,_0x103194:0x2a7,_0x11828d:0x22e,_0x1fbefd:0x1af,_0x5f3336:0x18c,_0x242703:0x2f1,_0x12b26c:0x126,_0x52756f:0x84,_0xa5ccdf:0xb2,_0x2fe420:0x17f,_0x9ab956:0x26b,_0x380cfa:0xcd,_0x283b0e:0x74,_0xde534e:0xe,_0x5dc4ec:0x1d8,_0x5906ef:0x229,_0x584c0c:0x2f9,_0x4c29c4:0x166,_0x5c1fd6:0x68,_0x567c13:0x281,_0x5cb7d7:0x59,_0x1e0deb:0x1e1,_0x123c17:0x2c0,_0x43979b:0x17,_0x3e4039:0x139,_0x29847a:0x2d,_0x4fc19a:0x1f2,_0x1a3940:0x1bf,_0xc41fd9:0x16d,_0x79d23:0x8e,_0x42847d:0x161,_0x3bb383:0x312,_0x478a20:0xfa,_0x151057:0x18,_0x1bfa0e:0x21f,_0x7b130e:0x3c,_0x4bb885:0x80,_0x4f4514:0x97,_0x34989e:0xc0,_0x226b74:0x165,_0x37920a:0x164,_0x7fcce:0x2cd,_0x2e8cec:0x203,_0x4f87e3:0xeb,_0x4a9c2d:0x2df,_0xba5ae4:0xde,_0x5f3fa7:0x36,_0x56b816:0x35a,_0x55163f:0xf0,_0x1c73f8:0x25,_0x7b8a15:0x1f7,_0x1386d9:0x2f9,_0xefb9a:0x24d},_0x278bbe={_0x163f10:0x42d,_0x5c0ff1:0x2ff,_0x3bad7c:0x5ae,_0x1c0bcb:0x1ca},_0x3c56bc={_0x4ba3c1:0x563,_0x850055:0x45f,_0x5d34ca:0x63d,_0x3e888d:0x6fc,_0x5946e0:0x6bd,_0x19bbfd:0x5ab,_0x67557f:0x805},_0x39537b={_0x47c116:0xe1,_0x4f7990:0x4d,_0x2d6d2e:0xbe,_0x51cdd7:0x5,_0x24cab0:0x6,_0x1fdb3f:0x210,_0x56b648:0x14d,_0x51a4aa:0x165,_0xbd8a7c:0x32a,_0x3e0d2b:0x87,_0x94211f:0x108,_0x4fba86:0x29a,_0x232793:0x196,_0x1be136:0x1cf,_0x428e3d:0xb5,_0x4dbfe5:0x38d,_0x454ef2:0x330,_0x3a24cf:0x2e9,_0x30f9ab:0x3dd,_0x3f8f16:0x117},_0x20cb92={_0x26c935:0x209},_0xdae7ca={_0x21ca4b:0x125,_0xd9dc77:0x16},_0x127415={_0x27fefe:0x28},_0x3d9290={_0x865e00:0xa7},_0x1aff82={'Sdcqg':_0x2c74c9(0x324,0x3f2),'luWmY':function(_0x3939e3,_0x13f02e){return _0x3939e3(_0x13f02e);},'ZKBet':'<unknown'+'>','tPxBN':_0x4a0e74(_0x48f221._0x3825b5,_0x48f221._0x2f96af),'TMYln':function(_0x2e5d8a){return _0x2e5d8a();},'JOCWc':function(_0x123ef8,_0x34b6cc){return _0x123ef8(_0x34b6cc);},'pBPyI':_0x4a0e74(-0x43,-_0x48f221._0x1293eb)+_0x4a0e74(0x25d,0x30c)+_0x4a0e74(-0x72,-0x168)+_0x4a0e74(0x1b9,0x2e3)+_0x2c74c9(0x121,-_0x48f221._0x2de10d)+'\x20unchang'+_0x2c74c9(_0x48f221._0x3c829e,0x143),'vWrdX':function(_0x55e1b0,_0x42cd97){return _0x55e1b0===_0x42cd97;},'dRYma':_0x2c74c9(0x88,_0x48f221._0x1437fd)+'ed','ylGgX':function(_0x1b3e2e,_0x331d7a,_0x1635ba){return _0x1b3e2e(_0x331d7a,_0x1635ba);},'wAnyN':_0x4a0e74(-_0x48f221._0x3b647c,-_0x48f221._0x53123b)+'e','vZBsh':_0x2c74c9(0xa4,_0x48f221._0x302c96),'ICFbx':function(_0x43ee57,_0x560d0f){return _0x43ee57===_0x560d0f;},'CNJZk':_0x4a0e74(-_0x48f221._0x105914,-0x222)+'l','FCuTO':function(_0x9dc44e,_0x37666f){return _0x9dc44e===_0x37666f;},'qvGKr':function(_0x43d61c,_0x432c19,_0x5c4797){return _0x43d61c(_0x432c19,_0x5c4797);},'HXhpB':_0x2c74c9(_0x48f221._0x16a0b8,-0x162),'Yadgy':_0x4a0e74(_0x48f221._0xab954a,-0xc6),'QCCgz':_0x4a0e74(0x282,0x34a),'ZpRXG':function(_0x12d475,_0x3af69e){return _0x12d475(_0x3af69e);},'jtbRj':function(_0x94826e,_0x56e893){return _0x94826e===_0x56e893;},'sogzu':_0x4a0e74(-0x42,0x8e),'dfRto':function(_0x482b8f,_0x174d23){return _0x482b8f(_0x174d23);},'QFKcZ':'6|3|2|0|'+_0x2c74c9(0x2ab,0x218),'PTtps':function(_0x34f572){return _0x34f572();}};function _0x2c74c9(_0x59d4d5,_0x45fff9){return _0x1cec38(_0x45fff9,_0x59d4d5-_0x3d9290._0x865e00);}const [,,_0x3730a4=_0x4a0e74(_0x48f221._0xe81e33,_0x48f221._0x536dd5),..._0x2a33cf]=process['argv'],_0x416f0b=hasFlag(_0x2a33cf,_0x2c74c9(0xcc,0x1a2)+'e'),_0x27e93d=hasFlag(_0x2a33cf,'--json');function _0x4a0e74(_0x5e53b5,_0x211631){return _0x1cec38(_0x211631,_0x5e53b5- -_0x127415._0x27fefe);}if(_0x3730a4===_0x1aff82[_0x4a0e74(_0x48f221._0x351b6b,_0x48f221._0x365b8c)]){const _0x46505b=readFlag(_0x2a33cf,_0x2c74c9(_0x48f221._0x16d442,0x140))??readFlag(_0x2a33cf,'-s')??_0x2c74c9(0x135,-0x70)+_0x4a0e74(0x6f,0x1dd)+_0x2c74c9(_0x48f221._0x5d2590,0x5a)+_0x2c74c9(0x85,_0x48f221._0x1b4702),_0x3ba2e9=readFlag(_0x2a33cf,'--name')??readFlag(_0x2a33cf,'-n')??null,_0x22862c=readFlag(_0x2a33cf,_0x2c74c9(_0x48f221._0x408b99,0x152)+'e'),_0x3a6753=await pairGateway({'serverUrl':_0x46505b,'displayName':_0x3ba2e9,'gatewayToken':resolveGatewayToken()}),_0x486b43=await writePairingQrPng(_0x3a6753,_0x22862c),_0x136056=_0x1aff82[_0x2c74c9(0x32f,0x4c7)](getServiceStatus),_0x66f7a5=decidePairServiceAction(_0x3a6753,_0x136056);if(_0x66f7a5===_0x2c74c9(0x2d7,0x23a)){_0x27e93d?_0x1aff82[_0x2c74c9(0x3c,0x16d)](printJson,buildPairingJson(_0x3a6753,_0x486b43,_0x136056,'Backgrou'+_0x4a0e74(_0x48f221._0x4b261c,_0x48f221._0x22fe7a)+_0x4a0e74(-_0x48f221._0x228e49,_0x48f221._0x2f19b7)+'dy\x20runni'+_0x2c74c9(_0x48f221._0x47dad2,0xa0)+_0x4a0e74(-_0x48f221._0x3ff5ef,-0x179)+_0x2c74c9(0x17b,0x1f7))):(printPairingInfo(_0x3a6753,_0x486b43),console[_0x4a0e74(0x1d8,_0x48f221._0x21f5b2)](_0x1aff82[_0x2c74c9(0xb6,0x170)]),printServiceResult(null,_0x136056));return;}try{const _0x383a4e=_0x66f7a5===_0x4a0e74(_0x48f221._0x1db231,0xd9)?installService():restartService(),_0x20e404=_0x1aff82[_0x4a0e74(-_0x48f221._0x4c9934,-_0x48f221._0x21ea25)](_0x66f7a5,_0x2c74c9(_0x48f221._0x58563b,-0x57))?_0x4a0e74(_0x48f221._0x83e769,0x101)+_0x4a0e74(_0x48f221._0x368e05,_0x48f221._0x1977c9)+'ackgroun'+_0x2c74c9(0xe8,_0x48f221._0x233aa4)+'e.':_0x3a6753[_0x2c74c9(0x211,_0x48f221._0x4df6d7)]===_0x1aff82[_0x4a0e74(_0x48f221._0xe54462,_0x48f221._0x39d002)]?_0x2c74c9(_0x48f221._0x2460da,_0x48f221._0x348849)+_0x4a0e74(0x220,_0x48f221._0x25ff34)+_0x2c74c9(_0x48f221._0x2dc094,-_0x48f221._0x10aaf1)+_0x2c74c9(_0x48f221._0x470cc0,_0x48f221._0x599969)+_0x4a0e74(-0x22,-0x63)+'round\x20se'+_0x2c74c9(-0x1e,-0xac)+_0x2c74c9(_0x48f221._0x1fb839,_0x48f221._0x13802d)+_0x2c74c9(_0x48f221._0x2e3010,_0x48f221._0x1de112)+'iring.':_0x2c74c9(_0x48f221._0x549d41,0x249)+'nd\x20servi'+_0x2c74c9(-_0x48f221._0x364bbf,0x11f)+'nstalled'+'\x20but\x20sto'+_0x2c74c9(0x2f4,_0x48f221._0x1df13b)+_0x2c74c9(0x31,-0x190)+'it.';_0x27e93d?_0x1aff82[_0x2c74c9(0x18d,_0x48f221._0x48dfb1)](printJson,buildPairingJson(_0x3a6753,_0x486b43,_0x383a4e,_0x20e404)):(printPairingInfo(_0x3a6753,_0x486b43),printServiceResult(_0x20e404,_0x383a4e));}catch(_0x3b3442){console[_0x2c74c9(0x92,0x242)](_0x2c74c9(_0x48f221._0x511147,0x1e7)+'succeede'+_0x2c74c9(0x349,_0x48f221._0x207703)+_0x4a0e74(_0x48f221._0x273caf,-_0x48f221._0x1a83c7)+_0x4a0e74(0x118,_0x48f221._0xc165d7)+_0x2c74c9(_0x48f221._0x5d36a1,_0x48f221._0x3b8880)+':\x20'+formatError(_0x3b3442)),console[_0x2c74c9(_0x48f221._0x2d4606,-0xe0)](_0x4a0e74(0x287,0x3f0)+_0x2c74c9(0x2e9,_0x48f221._0x1437fd)+_0x2c74c9(0x173,0x11)+'et\x20insta'+_0x2c74c9(_0x48f221._0x631bc2,_0x48f221._0x490466)+'clawket\x20'+'run\x22\x20man'+_0x4a0e74(_0x48f221._0x507592,_0x48f221._0x75e7cf)),process[_0x2c74c9(0x266,_0x48f221._0x442e4d)]=0x1;}return;}if(_0x3730a4===_0x4a0e74(-_0x48f221._0x483202,-_0x48f221._0x13a3bd)+_0x2c74c9(0xd7,-_0x48f221._0x45af7c)){const _0x24e7af=_0x1aff82['ylGgX'](readFlag,_0x2a33cf,_0x1aff82[_0x2c74c9(0x335,_0x48f221._0x3c29a3)]),_0x4312d1=await refreshAccessCode({'gatewayToken':resolveGatewayToken()}),_0x29cd37=await _0x1aff82[_0x4a0e74(_0x48f221._0x1772b5,_0x48f221._0x591dcc)](writePairingQrPng,_0x4312d1,_0x24e7af);_0x27e93d?printJson(buildPairingJson(_0x4312d1,_0x29cd37,getServiceStatus(),_0x2c74c9(0x2f0,0x339)+_0x4a0e74(0x25a,0x299)+_0x2c74c9(_0x48f221._0x17eb8e,_0x48f221._0xdbedb9))):printPairingInfo(_0x4312d1,_0x29cd37);return;}if(_0x3730a4===_0x4a0e74(0x79,0x15c)){const _0x38f9d4=requirePairingConfig(),_0x32e006=installService();console['log'](_0x4a0e74(0x58,0x60)+_0x4a0e74(0x222,0x95)+'ound\x20ser'+_0x2c74c9(_0x48f221._0x9183cf,0x77)+_0x2c74c9(0x17f,0x1f6)+'\x20'+_0x38f9d4['gatewayI'+'d']+'.'),printServiceResult(null,_0x32e006);return;}if(_0x3730a4===_0x1aff82['vZBsh']){const _0x2ec5bf=requirePairingConfig(),_0x543355=restartService();console[_0x2c74c9(_0x48f221._0x103194,_0x48f221._0x11828d)](_0x4a0e74(_0x48f221._0x1fbefd,_0x48f221._0x5f3336)+_0x2c74c9(_0x48f221._0x242703,_0x48f221._0x12b26c)+_0x4a0e74(-0x5d,_0x48f221._0x52756f)+_0x2c74c9(0xeb,_0x48f221._0xa5ccdf)+_0x2c74c9(_0x48f221._0x2fe420,_0x48f221._0x9ab956)+'\x20'+_0x2ec5bf[_0x2c74c9(_0x48f221._0x380cfa,-0x2)+'d']+'.'),printServiceResult(null,_0x543355);return;}if(_0x1aff82[_0x2c74c9(0x1fb,_0x48f221._0x283b0e)](_0x3730a4,_0x4a0e74(_0x48f221._0xde534e,-0x146))){const _0x12e39e=stopService();console[_0x4a0e74(_0x48f221._0x5dc4ec,0xc4)](_0x4a0e74(_0x48f221._0x5906ef,_0x48f221._0x584c0c)+'backgrou'+_0x4a0e74(_0x48f221._0x4b261c,0x14e)+_0x4a0e74(_0x48f221._0x4c29c4,_0x48f221._0x5c1fd6)),printServiceResult(null,_0x12e39e);return;}if(_0x3730a4===_0x1aff82[_0x2c74c9(_0x48f221._0x567c13,0x17f)]){const _0xf5403e=uninstallService();console[_0x4a0e74(0x1d8,0x150)](_0x2c74c9(_0x48f221._0x5cb7d7,_0x48f221._0x1e0deb)+_0x2c74c9(0xa6,-0xf6)+_0x4a0e74(_0x48f221._0x4b261c,_0x48f221._0x123c17)+'ce\x20regis'+_0x4a0e74(0x7b,-_0x48f221._0x43979b)),printServiceResult(null,_0xf5403e);return;}if(_0x1aff82['FCuTO'](_0x3730a4,_0x2c74c9(0x2f6,0x143))){stopService(),deletePairingConfig(),console[_0x4a0e74(_0x48f221._0x5dc4ec,_0x48f221._0x3e4039)](_0x2c74c9(-_0x48f221._0x29847a,-_0x48f221._0x4fc19a)+'pairing\x20'+_0x4a0e74(_0x48f221._0x1a3940,0xb3)+getPairingConfigPath());return;}if(_0x3730a4===_0x4a0e74(_0x48f221._0xc41fd9,0x197)){printStatus();return;}if(_0x3730a4===_0x4a0e74(-_0x48f221._0x79d23,-_0x48f221._0x42847d)){const _0xfcda96=Number(_0x1aff82[_0x2c74c9(_0x48f221._0x3bb383,0x35d)](readFlag,_0x2a33cf,_0x2c74c9(_0x48f221._0x478a20,_0x48f221._0x151057))??_0x1aff82['HXhpB']),_0x18cb14=parseLookbackToMs(readFlag(_0x2a33cf,_0x1aff82[_0x4a0e74(_0x48f221._0x1bfa0e,0x27f)])??readFlag(_0x2a33cf,'-l')),_0x5a29b5=_0x1aff82[_0x2c74c9(_0x48f221._0x7b130e,0x93)](readRecentCliLogs,{'lines':_0xfcda96,'lastMs':_0x18cb14,'includeErrorLog':hasFlag(_0x2a33cf,_0x1aff82[_0x2c74c9(0x1ce,_0x48f221._0x549d41)])});if(_0x27e93d){const _0x3ffd8f={};_0x3ffd8f['ok']=!![],_0x3ffd8f['lines']=_0x5a29b5,_0x1aff82[_0x4a0e74(-_0x48f221._0x4bb885,0x88)](printJson,_0x3ffd8f);}else _0x5a29b5[_0x2c74c9(0x1f2,_0x48f221._0x4f4514)]===0x0?console['log'](_0x4a0e74(_0x48f221._0x34989e,0x21f)+_0x2c74c9(_0x48f221._0x226b74,0x1b5)+_0x4a0e74(0x1c5,0xb6)+_0x2c74c9(_0x48f221._0x37920a,_0x48f221._0x7fcce)):console['log'](_0x5a29b5[_0x4a0e74(0x4a,_0x48f221._0x348849)]('\x0a'));return;}if(_0x1aff82[_0x2c74c9(0x316,_0x48f221._0x2e8cec)](_0x3730a4,_0x1aff82['sogzu'])){const _0x341cdd=await buildDoctorReport();_0x27e93d?_0x1aff82['dfRto'](printJson,_0x341cdd):printDoctorReport(_0x341cdd);return;}if(_0x3730a4==='run'){const _0x153cf5=requirePairingConfig(),_0x1f5f38=resolveGatewayUrl(readFlag(_0x2a33cf,_0x4a0e74(-0xd3,-0x4a)+_0x2c74c9(0x1d3,0x20c))??readFlag(_0x2a33cf,'-g')),_0x260e4d=_0x4973b8=>{function _0x5a3047(_0x4191e0,_0x3b19fb){return _0x4a0e74(_0x4191e0-0xd8,_0x3b19fb);}console['log']('['+Date[_0x5a3047(_0xdae7ca._0x21ca4b,_0xdae7ca._0xd9dc77)]()+']\x20'+_0x4973b8);};if(!_0x416f0b){const _0x3c932a=_0x1aff82[_0x2c74c9(0x1b4,0x135)]['split']('|');let _0x351a83=0x0;while(!![]){switch(_0x3c932a[_0x351a83++]){case'0':console[_0x4a0e74(0x1d8,_0x48f221._0x4f87e3)](_0x4a0e74(0x210,_0x48f221._0x4a9c2d)+'URL:\x20'+_0x1f5f38);continue;case'1':console['log']('');continue;case'2':console[_0x4a0e74(_0x48f221._0x5dc4ec,0x230)]('Relay\x20UR'+'L:\x20\x20\x20'+_0x153cf5[_0x4a0e74(-_0x48f221._0xba5ae4,-0x10)]);continue;case'3':console[_0x2c74c9(0x2a7,0x2be)]('Instance'+_0x4a0e74(0x215,0x1cb)+_0x153cf5[_0x2c74c9(-0x7,0x84)+'Id']);continue;case'4':console['log'](_0x2c74c9(0x229,0x1b1)+_0x4a0e74(-_0x48f221._0x5f3fa7,-0x6d)+'runtime.'+'\x20Press\x20C'+'trl+C\x20to'+_0x4a0e74(0x114,0x60));continue;case'5':console['log']('');continue;case'6':console[_0x4a0e74(_0x48f221._0x5dc4ec,_0x48f221._0x56b816)]('Gateway\x20'+'ID:\x20\x20'+_0x153cf5['gatewayI'+'d']);continue;}break;}}else _0x260e4d('Starting'+'\x20Clawket'+_0x4a0e74(-_0x48f221._0x55163f,-_0x48f221._0x364bbf)+'\x20runtime'+_0x2c74c9(-_0x48f221._0x1c73f8,-0x18)+_0x4a0e74(_0x48f221._0x7b8a15,_0x48f221._0x1386d9)+_0x153cf5[_0x2c74c9(_0x48f221._0x380cfa,_0x48f221._0xefb9a)+'d']);_0x416f0b&&writeServiceState();const _0x2b34e6=new BridgeRuntime({'config':_0x153cf5,'gatewayUrl':_0x1f5f38,'onLog':_0xb40e2=>{_0x260e4d('[clawket'+']\x20'+_0xb40e2);},'onStatus':_0x212060=>{function _0x53f123(_0x1c886f,_0x30ab66){return _0x2c74c9(_0x1c886f-0xb9,_0x30ab66);}if(_0x212060[_0x2e6af2(-0x1bf,-_0x39537b._0x47c116)+'r']){_0x260e4d(_0x53f123(0x12c,-_0x39537b._0x4f7990)+_0x53f123(0x1cf,_0x39537b._0x2d6d2e)+(_0x212060[_0x2e6af2(-0x53,-_0x39537b._0x51cdd7)+_0x53f123(0x130,0x1bc)]?'up':_0x53f123(0x3dd,0x213))+(_0x2e6af2(-0x8a,_0x39537b._0x24cab0)+'=')+(_0x212060[_0x2e6af2(0xcb,_0x39537b._0x1fdb3f)+'onnected']?'up':_0x1aff82[_0x2e6af2(0xad,_0x39537b._0x56b648)])+(_0x53f123(_0x39537b._0x51a4aa,_0x39537b._0xbd8a7c)+'=')+_0x212060[_0x53f123(0x217,0xe3)+_0x2e6af2(_0x39537b._0x3e0d2b,_0x39537b._0x94211f)]+'\x20error='+_0x212060[_0x53f123(0x103,_0x39537b._0x4fba86)+'r']);return;}function _0x2e6af2(_0xb7aaf1,_0x46408c){return _0x2c74c9(_0xb7aaf1- -_0x20cb92._0x26c935,_0x46408c);}_0x260e4d(_0x2e6af2(-_0x39537b._0x232793,-0x37)+_0x53f123(_0x39537b._0x1be136,_0x39537b._0x428e3d)+(_0x212060[_0x2e6af2(-0x53,-0x1cd)+_0x2e6af2(-0x192,-0x129)]?'up':'down')+('\x20gateway'+'=')+(_0x212060[_0x53f123(_0x39537b._0x4dbfe5,0x3d8)+_0x53f123(_0x39537b._0x454ef2,_0x39537b._0x3a24cf)]?'up':_0x53f123(_0x39537b._0x30f9ab,0x218))+(_0x53f123(_0x39537b._0x51a4aa,_0x39537b._0x3f8f16)+'=')+_0x212060['clientCo'+_0x53f123(0x349,0x4de)]);},'onPendingPairRequest':_0x502e69=>{const _0x583cf4={_0x528f1b:0x492};function _0x1b9849(_0x122516,_0x3798f6){return _0x4a0e74(_0x122516-_0x583cf4._0x528f1b,_0x3798f6);}function _0x2193dd(_0x4bbc3f,_0x180def){return _0x4a0e74(_0x180def-0x59e,_0x4bbc3f);}_0x1aff82[_0x1b9849(0x550,0x68f)](_0x260e4d,'[pair-re'+_0x2193dd(0x886,0x7b7)+_0x1b9849(_0x3c56bc._0x4ba3c1,_0x3c56bc._0x850055)+'='+_0x502e69[_0x1b9849(_0x3c56bc._0x5d34ca,_0x3c56bc._0x3e888d)+'d']+(_0x1b9849(0x510,0x470)+'d=')+(_0x502e69[_0x2193dd(_0x3c56bc._0x5946e0,0x72c)]||_0x1aff82[_0x2193dd(0x707,0x6bc)])+_0x2193dd(0x5ea,_0x3c56bc._0x19bbfd)+(_0x502e69[_0x2193dd(_0x3c56bc._0x67557f,0x823)+_0x1b9849(0x6e1,0x576)]??'<unknown'+'>'));}});_0x2b34e6['start']();const _0x353939=async()=>{const _0x566768={_0x1248c7:0x3b7},_0x172fb2=(_0x191902(0x22c,0x30b)+'1')[_0x2a26d5(0x568,0x601)]('|');function _0x2a26d5(_0x4da8d5,_0x5a54bb){return _0x4a0e74(_0x5a54bb-_0x566768._0x1248c7,_0x4da8d5);}let _0x38498e=0x0;function _0x191902(_0x3ffece,_0x56cff0){return _0x4a0e74(_0x56cff0-0x2f1,_0x3ffece);}while(!![]){switch(_0x172fb2[_0x38498e++]){case'0':await _0x2b34e6[_0x191902(_0x278bbe._0x163f10,_0x278bbe._0x5c0ff1)]();continue;case'1':process[_0x2a26d5(_0x278bbe._0x3bad7c,0x5ab)](0x0);continue;case'2':process[_0x2a26d5(_0x278bbe._0x1c0bcb,0x330)]('SIGTERM',_0x353939);continue;case'3':process['off'](_0x191902(0x154,0x2cd),_0x353939);continue;case'4':_0x416f0b&&clearServiceState(process['pid']);continue;}break;}};process['on']('SIGINT',_0x353939),process['on']('SIGTERM',_0x353939),await new Promise(()=>{});}_0x1aff82['PTtps'](printHelp);}function printPairingInfo(_0x2e858c,_0x1f9b88){const _0x4fb686={_0x1888b1:0x72a,_0x494ea2:0x6f4,_0x4253ff:0x882,_0x54d4dc:0x57f,_0x1de11b:0x554,_0x2923d4:0x512,_0x58053d:0x384,_0x1ce602:0x437,_0x43e34b:0x604,_0x172746:0x6e0,_0x217021:0x777,_0x53bb9a:0x2ea,_0x5ed102:0x407,_0x1a47ed:0x596,_0x15f380:0x571,_0xa39199:0x431,_0x466cc4:0x497,_0x33a954:0x513,_0x3106d9:0x52c,_0xd4d809:0x6df,_0x4e2808:0x706,_0x4affb0:0x4ec,_0x5626b9:0x5a5,_0x383527:0x4e2,_0x411899:0x43d,_0xcc589e:0x933,_0x25b46b:0x836,_0x42e2d8:0x4c4},_0x460cfd={_0x5aeec7:0x312},_0x10b8ea={};_0x10b8ea[_0x18865d(_0x4fb686._0x1888b1,0x7cd)]='refreshe'+'d';const _0x2bf5d6=_0x10b8ea;_0x2e858c[_0x3e9644(_0x4fb686._0x494ea2,0x64a)]===_0x2bf5d6[_0x18865d(0x72a,_0x4fb686._0x4253ff)]&&console[_0x3e9644(0x87d,0x6e0)]('Bridge\x20a'+_0x3e9644(0x4a8,_0x4fb686._0x54d4dc)+_0x3e9644(0x651,_0x4fb686._0x1de11b)+_0x3e9644(_0x4fb686._0x2923d4,0x474)+_0x18865d(0x679,0x520)+_0x3e9644(_0x4fb686._0x58053d,_0x4fb686._0x1ce602)+'e.');console[_0x3e9644(_0x4fb686._0x43e34b,_0x4fb686._0x172746)](_0x3e9644(_0x4fb686._0x217021,0x718)+'ID:\x20'+_0x2e858c[_0x3e9644(_0x4fb686._0x53bb9a,_0x4fb686._0x5ed102)][_0x3e9644(0x5a1,0x506)+'d']),console[_0x18865d(0x706,_0x4fb686._0x1a47ed)](_0x3e9644(_0x4fb686._0x15f380,0x4d1)+'L:\x20\x20'+_0x2e858c[_0x18865d(0x42d,0x347)][_0x18865d(0x450,0x5b1)]),console[_0x3e9644(0x61a,0x6e0)](_0x3e9644(_0x4fb686._0xa39199,0x4fc)+_0x3e9644(0x5ca,_0x4fb686._0x466cc4)+_0x2e858c['accessCo'+_0x18865d(_0x4fb686._0x33a954,_0x4fb686._0x3106d9)+_0x3e9644(_0x4fb686._0xd4d809,0x743)]),console[_0x18865d(_0x4fb686._0x4e2808,0x88d)](_0x18865d(0x468,_0x4fb686._0x4affb0)+':\x20\x20\x20'+_0x1f9b88),console['log']('\x0aScan\x20th'+_0x3e9644(0x4cf,_0x4fb686._0x5626b9)+_0x3e9644(0x580,_0x4fb686._0x383527)+_0x3e9644(0x3c3,_0x4fb686._0x411899)+_0x3e9644(_0x4fb686._0xcc589e,0x794));const _0x535f9f={};function _0x3e9644(_0x19af97,_0x4cbdfc){return _0x17b889(_0x4cbdfc-_0x460cfd._0x5aeec7,_0x19af97);}_0x535f9f[_0x18865d(0x695,_0x4fb686._0x25b46b)]=!![];function _0x18865d(_0x317509,_0x577366){return _0x17b889(_0x317509-0x338,_0x577366);}_0x45a1c1[_0x3e9644(_0x4fb686._0x42e2d8,0x658)](_0x2e858c[_0x18865d(0x704,0x642)+'d'],_0x535f9f);}function printStatus(){const _0xa1f903={_0x40e72d:0x7d6,_0x149abd:0x801,_0x3f00cc:0x1f0,_0x34c14e:0x2d3,_0x40d04d:0x7d7,_0x4bdd9d:0x6b6,_0x4ec635:0xb5,_0x46b18f:0x16,_0x9f7c06:0x72,_0xc2748b:0xcc,_0x58d886:0x624,_0x297c2e:0x54b,_0xf9815f:0x4f,_0x310ea1:0xb,_0x2820c3:0xf8,_0x215d70:0x338,_0x2ef56d:0x1f0,_0x166e96:0x59,_0x228c52:0x9cb,_0x472606:0x8ae,_0x25adb5:0x10e,_0x3b5955:0x837,_0x2bdef5:0x5b8,_0x264a24:0x658,_0x44ae82:0x63f,_0x2d099d:0x577,_0x5c58da:0x27a,_0xd3dd96:0x73,_0x911dbf:0x81c,_0x2e733e:0x705,_0x2bfee2:0x186,_0x510a91:0x58,_0x2bbe5a:0x6c,_0x20d9d8:0x70f,_0x2fd1d2:0x801,_0x2f58eb:0x4d2,_0x3a5e0b:0x8c9,_0x1d53dd:0x7c0},_0x28f5ea={_0x5be13a:0x1de},_0xbabede={_0x332423:0x433},_0xf102e3={};_0xf102e3[_0x1972a1(0x55e,0x63f)]=_0x1972a1(0x7f1,0x656)+'alled';const _0x1f98bb=_0xf102e3,_0x227f1b=readPairingConfig(),_0x1e9745=getServiceStatus(),{logPath:_0x5cfbd4,errorLogPath:_0x2b3ca8}=getServicePaths();!_0x227f1b?console[_0x1972a1(_0xa1f903._0x40e72d,_0xa1f903._0x149abd)](_0x479fb2(0xa5,-0x5)+_0x1972a1(0x7b6,0x7b3)+_0x1972a1(0x8ad,0x7f2)+getPairingConfigPath()+')'):(console[_0x479fb2(0x123,_0xa1f903._0x3f00cc)](_0x479fb2(0x117,-0x5)+_0x1972a1(0x7d6,0x858)+'ed'),console[_0x479fb2(0x310,0x1f0)](_0x479fb2(_0xa1f903._0x34c14e,0x228)+_0x1972a1(_0xa1f903._0x40d04d,_0xa1f903._0x4bdd9d)+_0x227f1b[_0x479fb2(-_0xa1f903._0x4ec635,_0xa1f903._0x46b18f)+'d']),console[_0x1972a1(0x75a,_0xa1f903._0x149abd)](_0x479fb2(0x31,-_0xa1f903._0x9f7c06)+_0x479fb2(-0xbe,_0xa1f903._0xc2748b)+_0x227f1b[_0x479fb2(-0x1c7,-0xbe)+'Id']),console['log']('Relay\x20UR'+_0x1972a1(0x762,_0xa1f903._0x58d886)+_0x227f1b[_0x1972a1(0x48a,_0xa1f903._0x297c2e)]),console['log'](_0x479fb2(-_0xa1f903._0xf9815f,0xa0)+_0x479fb2(_0xa1f903._0x310ea1,_0xa1f903._0x2820c3)+_0x227f1b['serverUr'+'l']),console[_0x479fb2(_0xa1f903._0x215d70,_0xa1f903._0x2ef56d)]('Name:\x20\x20\x20'+_0x479fb2(0xff,-_0xa1f903._0x166e96)+(_0x227f1b[_0x1972a1(_0xa1f903._0x228c52,_0xa1f903._0x472606)+'ame']??'-')));function _0x1972a1(_0x58d11a,_0x562986){return _0x17b889(_0x562986-_0xbabede._0x332423,_0x58d11a);}console[_0x479fb2(0x88,_0xa1f903._0x3f00cc)](_0x479fb2(0x1c5,_0xa1f903._0x25adb5)+_0x1972a1(0x5f5,0x5b8)+resolveGatewayUrl()),console['log'](_0x1972a1(0x6fd,_0xa1f903._0x3b5955)+_0x1972a1(0x6fc,_0xa1f903._0x2bdef5)+(_0x1e9745[_0x1972a1(0x5ff,_0xa1f903._0x264a24)+'d']?'installe'+'d':_0x1f98bb[_0x1972a1(0x628,_0xa1f903._0x44ae82)])+'\x20('+_0x1e9745[_0x1972a1(0x6c6,_0xa1f903._0x2d099d)]+')'),console['log'](_0x479fb2(0x25d,0x186)+'\x20\x20\x20\x20'+(_0x1e9745[_0x479fb2(0x175,_0xa1f903._0x5c58da)]?_0x479fb2(-_0xa1f903._0xd3dd96,0xf6):'no'));function _0x479fb2(_0x12def9,_0x142768){return _0x17b889(_0x142768- -_0x28f5ea._0x5be13a,_0x12def9);}console[_0x479fb2(0x329,0x1f0)](_0x1972a1(_0xa1f903._0x911dbf,_0xa1f903._0x2e733e)+_0x479fb2(-_0xa1f903._0x2bfee2,-0x59)+(_0x1e9745[_0x479fb2(_0xa1f903._0x510a91,_0xa1f903._0x2bbe5a)+_0x1972a1(0x7e4,0x8a0)]||'-')),console[_0x1972a1(_0xa1f903._0x20d9d8,_0xa1f903._0x2fd1d2)]('Log:\x20\x20\x20\x20'+_0x1972a1(_0xa1f903._0x2f58eb,0x5b8)+_0x5cfbd4),console['log'](_0x1972a1(_0xa1f903._0x3a5e0b,0x722)+'g:\x20\x20'+_0x2b3ca8),!_0x227f1b&&(process[_0x1972a1(0x69a,_0xa1f903._0x1d53dd)]=0x1);}function printServiceResult(_0x419433,_0x438ef4){const _0x55ab6f={_0x4686b7:0x838,_0x1d53b4:0x8e0,_0x4d2782:0x68f,_0x378a69:0x801,_0x4118e0:0x155,_0x1bf396:0x215,_0x2c9cb5:0x134,_0x3db16a:0x2f,_0x991fae:0x55a,_0x30e160:0x1da,_0x41b1b1:0x23a},_0x20f1df={_0x226aa4:0xdd};function _0x1f34a0(_0x54daa1,_0x45959f){return _0x1cec38(_0x45959f,_0x54daa1-_0x20f1df._0x226aa4);}_0x419433&&console[_0x41cb94(_0x55ab6f._0x4686b7,0x74c)](_0x419433);function _0x41cb94(_0x530780,_0x309b21){return _0x1cec38(_0x309b21,_0x530780-0x638);}console[_0x41cb94(0x838,_0x55ab6f._0x1d53b4)](_0x1f34a0(0x313,0x449)+'\x20'+(_0x438ef4[_0x41cb94(0x68f,0x5c4)+'d']?_0x438ef4['running']?_0x41cb94(_0x55ab6f._0x4d2782,_0x55ab6f._0x378a69)+_0x1f34a0(_0x55ab6f._0x4118e0,_0x55ab6f._0x1bf396)+'ng':_0x1f34a0(_0x55ab6f._0x2c9cb5,-_0x55ab6f._0x3db16a)+_0x41cb94(_0x55ab6f._0x991fae,0x4cb)+'ed':'not\x20inst'+_0x1f34a0(0x279,0x314))),console[_0x1f34a0(0x2dd,0x42f)](_0x1f34a0(_0x55ab6f._0x30e160,0x140)+_0x1f34a0(0x1a1,_0x55ab6f._0x41b1b1)+'\x20\x20\x20'+(_0x438ef4['serviceP'+'ath']||'-'));}function printDoctorReport(_0x5a80b9){const _0x1c4da5={_0x16a2ab:0x3fc,_0x155df4:0x3a2,_0x3cdf3f:0x4e9,_0x5cc743:0x437,_0x26d7ef:0x525,_0x11ce27:0x453,_0x3a98bd:0x5b1,_0xb611a4:0x14,_0x700349:0x1c9,_0x2e37eb:0x35d,_0x560af2:0x113,_0x2fef6f:0x11,_0x34bb80:0x54d,_0x162b9c:0x391,_0x56d1e0:0x3fd,_0xc9817a:0x54a,_0xe022ee:0x30a,_0x3856f7:0x6e1,_0x499a38:0x2eb,_0x4dadc4:0x269,_0x485a39:0x15d,_0x20de34:0x18a,_0x42e6e0:0x29f,_0x56851a:0x79,_0x5e0666:0x41a,_0x1c1e87:0x50e,_0x3ca432:0x6d3,_0x49072c:0x47d,_0x2ff180:0x231,_0x1f3f57:0x78,_0x5241a4:0x400,_0x14a97f:0x2e0,_0x5005bd:0x3cd,_0x2074f5:0x438,_0x353437:0x12a,_0x32b4b0:0x70,_0x42f5b7:0x44a,_0x47e0af:0x34,_0x4a60d4:0x424,_0x52046d:0x5f7,_0x5c9a4a:0x50e,_0x195d19:0x2b6,_0x50ef35:0x1f4,_0x3e67a9:0x54d,_0x5875fb:0x2d1,_0x4166ea:0x5a6,_0x20b882:0x64,_0x23217a:0x4c,_0x58a0fb:0x23b,_0x582ce9:0x40,_0x5cb68f:0x8b,_0x3cfd33:0x39e,_0xd184bd:0x3d2,_0x49b015:0x40f,_0x4762cc:0x344,_0x1670df:0x53,_0x1ce150:0x473,_0x1a2e26:0x2be,_0x446597:0x1c9,_0x32fbfe:0x42f,_0x40e1af:0x50e,_0x7855b7:0x69e,_0x3bab7e:0x40a,_0x3d7c9e:0x33e,_0xd92abc:0x272,_0x692e62:0x4b,_0x13577f:0xd2,_0x25f703:0x325,_0x472829:0x201,_0x7ff678:0x5c,_0x13e7a9:0x140,_0x4487d1:0x4fd,_0x73e96f:0x6d,_0x1e21b1:0x67},_0xcc5257={_0x18060e:0x205},_0x3379f7={_0x4ddb76:0x17f},_0x53b1cd={};_0x53b1cd[_0x41c0c5(_0x1c4da5._0x16a2ab,0x342)]=_0x41c0c5(_0x1c4da5._0x155df4,0x2de)+_0x41c0c5(_0x1c4da5._0x3cdf3f,_0x1c4da5._0x5cc743),_0x53b1cd['UdLcH']=_0x41c0c5(0x453,0x526);const _0x2f3a58=_0x53b1cd;console['log'](_0x20a4f2(0xb2,0x26c)+'\x20\x20\x20\x20\x20\x20\x20\x20'+_0x41c0c5(0x50e,_0x1c4da5._0x26d7ef)+(_0x5a80b9[_0x41c0c5(0x3c3,0x3d1)]?_0x41c0c5(_0x1c4da5._0x11ce27,_0x1c4da5._0x3a98bd):'no'));function _0x41c0c5(_0x4657d1,_0x435a96){return _0x17b889(_0x4657d1-_0x3379f7._0x4ddb76,_0x435a96);}console[_0x20a4f2(_0x1c4da5._0xb611a4,_0x1c4da5._0x700349)](_0x20a4f2(_0x1c4da5._0x2e37eb,0x201)+'ID:\x20\x20\x20\x20\x20'+'\x20\x20\x20'+(_0x5a80b9[_0x20a4f2(_0x1c4da5._0x560af2,-_0x1c4da5._0x2fef6f)+'d']??'-')),console[_0x41c0c5(_0x1c4da5._0x34bb80,_0x1c4da5._0x162b9c)](_0x41c0c5(_0x1c4da5._0x56d1e0,0x44e)+_0x41c0c5(_0x1c4da5._0xc9817a,0x5b4)+_0x20a4f2(_0x1c4da5._0xe022ee,0x18a)+(_0x5a80b9['serverUr'+'l']??'-')),console['log']('Relay\x20UR'+_0x20a4f2(0x24f,0x10a)+'\x20\x20\x20'+(_0x5a80b9['relayUrl']??'-')),console[_0x41c0c5(_0x1c4da5._0x34bb80,_0x1c4da5._0x3856f7)](_0x41c0c5(_0x1c4da5._0x499a38,0x4b6)+_0x20a4f2(_0x1c4da5._0x4dadc4,0xe3)+_0x20a4f2(_0x1c4da5._0x485a39,_0x1c4da5._0x20de34)+(_0x5a80b9[_0x41c0c5(_0x1c4da5._0x42e6e0,_0x1c4da5._0x162b9c)+'Id']??'-')),console[_0x20a4f2(_0x1c4da5._0x56851a,_0x1c4da5._0x700349)](_0x41c0c5(0x583,_0x1c4da5._0x5e0666)+_0x20a4f2(0x165,0x84)+_0x41c0c5(_0x1c4da5._0x1c1e87,_0x1c4da5._0x3ca432)+(_0x5a80b9[_0x41c0c5(_0x1c4da5._0x49072c,0x5c1)+_0x20a4f2(-_0x1c4da5._0x2ff180,-0x112)]?'installe'+'d':_0x2f3a58[_0x20a4f2(-0xc6,_0x1c4da5._0x1f3f57)])+'\x20('+_0x5a80b9[_0x41c0c5(_0x1c4da5._0x5241a4,0x40b)+_0x41c0c5(0x48f,_0x1c4da5._0x14a97f)]+')'),console[_0x20a4f2(0x2a5,0x1c9)](_0x41c0c5(0x44a,_0x1c4da5._0x5005bd)+_0x41c0c5(0x538,_0x1c4da5._0x2074f5)+'\x20\x20\x20'+(_0x5a80b9[_0x20a4f2(-_0x1c4da5._0x353437,-0xa9)+'unning']?_0x41c0c5(_0x1c4da5._0x11ce27,0x5bc):'no')),console[_0x20a4f2(_0x1c4da5._0x32b4b0,0x1c9)](_0x41c0c5(_0x1c4da5._0x42f5b7,0x3c6)+'path:\x20\x20\x20'+_0x41c0c5(_0x1c4da5._0x1c1e87,0x477)+(_0x5a80b9[_0x20a4f2(-_0x1c4da5._0x47e0af,0x45)+'ath']||'-')),console[_0x41c0c5(0x54d,_0x1c4da5._0x4a60d4)](_0x41c0c5(0x450,_0x1c4da5._0x52046d)+':\x20\x20\x20\x20\x20\x20\x20'+_0x41c0c5(_0x1c4da5._0x5c9a4a,0x3dd)+_0x5a80b9[_0x41c0c5(_0x1c4da5._0x195d19,_0x1c4da5._0x50ef35)]),console[_0x41c0c5(_0x1c4da5._0x3e67a9,0x684)]('Error\x20lo'+'g\x20path:\x20'+_0x20a4f2(_0x1c4da5._0x5875fb,_0x1c4da5._0x20de34)+_0x5a80b9['errorLog'+_0x41c0c5(_0x1c4da5._0x4166ea,0x65e)]),console[_0x20a4f2(_0x1c4da5._0x20b882,_0x1c4da5._0x700349)](_0x20a4f2(0xc1,_0x1c4da5._0x23217a)+_0x41c0c5(0x363,0x2a4)+_0x20a4f2(_0x1c4da5._0x58a0fb,0x18a)+_0x5a80b9[_0x20a4f2(_0x1c4da5._0x582ce9,_0x1c4da5._0x5cb68f)+_0x41c0c5(_0x1c4da5._0x3cfd33,_0x1c4da5._0xd184bd)+'r']);function _0x20a4f2(_0x4d6f2c,_0xfeb5a4){return _0x17b889(_0xfeb5a4- -_0xcc5257._0x18060e,_0x4d6f2c);}console['log']('OpenClaw'+'\x20media:\x20'+'\x20\x20\x20'+_0x5a80b9[_0x41c0c5(_0x1c4da5._0x49b015,0x34d)+_0x41c0c5(_0x1c4da5._0x4762cc,0x3e0)]),console['log']('OpenClaw'+_0x41c0c5(0x466,_0x1c4da5._0x52046d)+'\x20\x20\x20'+(_0x5a80b9[_0x20a4f2(_0x1c4da5._0x1670df,_0x1c4da5._0x5cb68f)+_0x41c0c5(0x4f3,_0x1c4da5._0x1ce150)+'und']?'found':'missing')),console[_0x20a4f2(_0x1c4da5._0x1a2e26,_0x1c4da5._0x446597)](_0x20a4f2(-0x7,_0x1c4da5._0x23217a)+_0x41c0c5(_0x1c4da5._0x32fbfe,0x409)+_0x41c0c5(_0x1c4da5._0x40e1af,_0x1c4da5._0x7855b7)+(_0x5a80b9[_0x41c0c5(0x40f,_0x1c4da5._0x3bab7e)+_0x41c0c5(0x335,0x413)+'nd']?'found':'missing')),console[_0x20a4f2(_0x1c4da5._0x3d7c9e,0x1c9)](_0x20a4f2(_0x1c4da5._0xd92abc,0x201)+_0x20a4f2(0xc4,-_0x1c4da5._0x692e62)+'\x20\x20\x20'+_0x5a80b9[_0x41c0c5(0x4c4,0x35f)+_0x20a4f2(_0x1c4da5._0x13577f,-0x50)]),console[_0x20a4f2(_0x1c4da5._0x25f703,0x1c9)](_0x20a4f2(0x2e7,_0x1c4da5._0x472829)+_0x20a4f2(_0x1c4da5._0x7ff678,-0x10a)+'e:\x20'+(_0x5a80b9[_0x20a4f2(0x25c,_0x1c4da5._0x13e7a9)+'ewayReac'+_0x41c0c5(_0x1c4da5._0x4487d1,0x5f9)]?_0x2f3a58[_0x20a4f2(-_0x1c4da5._0x73e96f,_0x1c4da5._0x1e21b1)]:'no'));}function requirePairingConfig(){const _0x5efbb5={_0x506b06:0x2b7,_0x514d0e:0x53f,_0xbf6366:0x684,_0x54a0e4:0x4ee,_0x5067fb:0x451,_0x20c9cf:0x416,_0x15411d:0x5ca},_0x529948={_0x2ec225:0x24f};function _0x37d712(_0x2594e9,_0x479b97){return _0x17b889(_0x2594e9-_0x529948._0x2ec225,_0x479b97);}function _0x22ddf3(_0x1942ec,_0x23cbe2){return _0x17b889(_0x23cbe2-0x309,_0x1942ec);}const _0x58f84e=readPairingConfig();return!_0x58f84e&&(console[_0x37d712(0x408,_0x5efbb5._0x506b06)](_0x37d712(_0x5efbb5._0x514d0e,_0x5efbb5._0xbf6366)+_0x22ddf3(_0x5efbb5._0x54a0e4,0x583)+_0x22ddf3(0x4ab,_0x5efbb5._0x5067fb)+_0x22ddf3(_0x5efbb5._0x20c9cf,_0x5efbb5._0x15411d)+'irst.\x20Co'+_0x37d712(0x51c,0x574)+'h:\x20'+getPairingConfigPath()),process[_0x22ddf3(0x728,0x6f3)](0x1)),_0x58f84e;}function readFlag(_0x4c2009,_0x47ee40){const _0x3abd88={_0x18cb4e:0x2e8,_0x606027:0x34f},_0x415a49={_0x5b686d:0x131};function _0x3e3d44(_0x22f5e0,_0x51a5a9){return _0x1cec38(_0x51a5a9,_0x22f5e0-_0x415a49._0x5b686d);}const _0x11d62c=_0x4c2009[_0x3e3d44(0xda,0x1b6)](_0x47ee40);function _0x3edd6e(_0x2592c8,_0x44785c){return _0x1cec38(_0x44785c,_0x2592c8-0x23b);}if(_0x11d62c<0x0)return null;const _0x18616d=_0x4c2009[_0x11d62c+0x1];return _0x18616d?.[_0x3e3d44(_0x3abd88._0x18cb4e,0x306)]()?_0x18616d[_0x3edd6e(0x3f2,_0x3abd88._0x606027)]():null;}function hasFlag(_0x4d5718,_0x3e2979){const _0x545364={_0xef682d:0x2ff};function _0xb8a79f(_0x4b2a49,_0x2264d1){return _0x17b889(_0x4b2a49- -0x19b,_0x2264d1);}return _0x4d5718[_0xb8a79f(0x16b,_0x545364._0xef682d)](_0x3e2979);}function printHelp(){const _0x454f32={_0xb35182:0x5c4,_0x49a6ca:0x432,_0x40eb2d:0x592,_0x463572:0x4b4,_0x565d07:0x409,_0x3da538:0x66f,_0x356887:0x449,_0x4f76f2:0x400,_0x3a16db:0x679,_0xfb9b93:0x7c1,_0x2371b1:0x74f,_0x44b37f:0x7df,_0x33adee:0x676,_0x2935a7:0x55c,_0x5cfd2d:0x511,_0x316a8c:0x624,_0x592df8:0x68e,_0x4f8a75:0x544,_0x4d1292:0x2b5,_0x1f289a:0x3d0,_0x281794:0x51c,_0x172561:0x26d,_0x34b135:0x5ea,_0x4ebb89:0x307,_0x440f54:0x301,_0x3a9615:0x670,_0x4ebc4c:0x6b6,_0x59c55f:0x53f,_0x59db58:0x641,_0x17cbf3:0x3ff,_0x49e460:0x36b},_0x22d83e={_0x4c22bf:0x2cb};function _0x2d3506(_0x1a3938,_0x568ad2){return _0x1cec38(_0x568ad2,_0x1a3938-0x54f);}const _0x1f93ab={};_0x1f93ab[_0x35f0d2(_0x454f32._0xb35182,0x4dd)]=_0x35f0d2(0x5a3,_0x454f32._0x49a6ca)+'logs\x20[--'+_0x2d3506(_0x454f32._0x40eb2d,0x443)+_0x35f0d2(_0x454f32._0x463572,_0x454f32._0x565d07)+'nes\x20<200'+'>]\x20[--er'+'rors]\x20[-'+_0x2d3506(_0x454f32._0x3da538,0x4c7);function _0x35f0d2(_0x412d4e,_0xcdf765){return _0x1cec38(_0x412d4e,_0xcdf765-_0x22d83e._0x4c22bf);}_0x1f93ab['KbmUv']=_0x35f0d2(_0x454f32._0x356887,_0x454f32._0x49a6ca)+_0x35f0d2(0x366,_0x454f32._0x4f76f2)+_0x2d3506(_0x454f32._0x3a16db,_0x454f32._0xfb9b93);const _0x4c4b12=_0x1f93ab;console[_0x2d3506(_0x454f32._0x2371b1,_0x454f32._0x44b37f)]([_0x2d3506(0x6b6,_0x454f32._0x33adee)+_0x35f0d2(_0x454f32._0x2935a7,_0x454f32._0x5cfd2d)+_0x2d3506(0x72a,0x5aa)+_0x2d3506(_0x454f32._0x316a8c,0x7a7)+_0x2d3506(0x5bd,0x43c)+_0x2d3506(0x697,_0x454f32._0x592df8)+_0x2d3506(_0x454f32._0x4f8a75,0x54a)+_0x35f0d2(_0x454f32._0x4d1292,0x25c)+'<path>]\x20'+_0x2d3506(0x68e,0x6b2),_0x35f0d2(_0x454f32._0x1f289a,0x432)+'refresh-'+_0x2d3506(_0x454f32._0x281794,0x656)+'qr-file\x20'+_0x35f0d2(0x380,_0x454f32._0x172561)+'[--json]',_0x2d3506(0x6b6,_0x454f32._0x34b135)+_0x2d3506(0x5f0,0x6ea),'clawket\x20'+_0x35f0d2(0x349,0x2c8),'clawket\x20'+_0x35f0d2(_0x454f32._0x4ebb89,_0x454f32._0x440f54),_0x2d3506(0x6b6,0x5f9)+'uninstal'+'l',_0x2d3506(0x6b6,_0x454f32._0x3a9615)+_0x35f0d2(0x3d5,0x51a),_0x2d3506(_0x454f32._0x4ebc4c,0x68e)+'status',_0x4c4b12['VNbFS'],_0x4c4b12[_0x35f0d2(0x612,_0x454f32._0x59c55f)],'clawket\x20'+_0x2d3506(0x57b,0x6c1)+_0x2d3506(_0x454f32._0x59db58,0x596)+_0x35f0d2(_0x454f32._0x17cbf3,_0x454f32._0x49e460)+_0x35f0d2(0x46f,0x346)+'.1:18789'+'>]'][_0x2d3506(0x5c1,0x4ea)]('\x0a'));}function formatError(_0x43d2cb){const _0x49a65b={_0x4c2eab:0x581,_0x1ca30e:0x3f8,_0x15946c:0x42d,_0x46baba:0x316},_0x214437={_0x2b752e:0x641},_0x23bca5={};_0x23bca5['pgpPb']=function(_0x75aa03,_0x31f5a2){return _0x75aa03 instanceof _0x31f5a2;};function _0xeffe47(_0x2b9b05,_0x48a4a6){return _0x1cec38(_0x48a4a6,_0x2b9b05-0x43e);}const _0x42da17=_0x23bca5;function _0x4769c6(_0x58c79b,_0x20b602){return _0x1cec38(_0x20b602,_0x58c79b-_0x214437._0x2b752e);}return _0x42da17[_0x4769c6(_0x49a65b._0x4c2eab,_0x49a65b._0x1ca30e)](_0x43d2cb,Error)?_0x43d2cb[_0xeffe47(_0x49a65b._0x15946c,_0x49a65b._0x46baba)]:String(_0x43d2cb);}function printJson(_0x46bc24){const _0x2bb46f={_0x20319f:0x845},_0x4f0da1={_0x328691:0x129};function _0x567be8(_0x28980d,_0x2e32ef){return _0x1cec38(_0x28980d,_0x2e32ef-_0x4f0da1._0x328691);}function _0x47c139(_0x108e82,_0x389ef2){return _0x1cec38(_0x108e82,_0x389ef2-0x4b3);}console[_0x47c139(_0x2bb46f._0x20319f,0x6b3)](JSON[_0x47c139(0x6a2,0x600)+'y'](_0x46bc24,null,0x2));}main()[_0x17b889(0x393,0x42f)](_0x29aaf7=>{const _0x480b92={_0x1abc68:0x33a},_0x582c73={_0x15147c:0x7a};function _0x4cdf13(_0x190a06,_0x29f85a){return _0x17b889(_0x29f85a- -_0x582c73._0x15147c,_0x190a06);}const _0x29ffc8={'jbShG':function(_0x4fc8c1,_0x1844d3){return _0x4fc8c1(_0x1844d3);}};console['error'](_0x29ffc8[_0x4cdf13(0x29d,_0x480b92._0x1abc68)](formatError,_0x29aaf7)),process['exit'](0x1);});
2
+ (function(_0x3ea0ae,_0x148a97){const _0x32e79b={_0x48dd3d:0x32c,_0x50f3b8:0x515,_0xb41e9e:0x21e,_0x23502a:0x2bf,_0x422c5b:0x5d8,_0xa818fc:0x47d,_0x2a6a07:0x401,_0x59d6b1:0x282,_0xe8b353:0xb6};function _0x2c65be(_0x9b2de7,_0x5bff66){return _0x262d(_0x5bff66-0xcc,_0x9b2de7);}const _0x4bf4de=_0x3ea0ae();function _0x387f78(_0x4baa58,_0x174b08){return _0x262d(_0x174b08- -0x2e,_0x4baa58);}while(!![]){try{const _0x1e1d5d=-parseInt(_0x2c65be(0x3d6,0x511))/0x1+-parseInt(_0x2c65be(_0x32e79b._0x48dd3d,0x48f))/0x2*(parseInt(_0x2c65be(0x271,0x1d1))/0x3)+parseInt(_0x2c65be(_0x32e79b._0x50f3b8,0x38a))/0x4+-parseInt(_0x2c65be(0x325,0x4ae))/0x5+-parseInt(_0x2c65be(_0x32e79b._0xb41e9e,_0x32e79b._0x23502a))/0x6+-parseInt(_0x387f78(0x3b9,0x266))/0x7*(parseInt(_0x2c65be(_0x32e79b._0x422c5b,_0x32e79b._0xa818fc))/0x8)+parseInt(_0x2c65be(_0x32e79b._0x2a6a07,_0x32e79b._0x59d6b1))/0x9*(parseInt(_0x387f78(0x1c4,_0x32e79b._0xe8b353))/0xa);if(_0x1e1d5d===_0x148a97)break;else _0x4bf4de['push'](_0x4bf4de['shift']());}catch(_0x42d6df){_0x4bf4de['push'](_0x4bf4de['shift']());}}}(_0x51df,0x884d1));const _0x518518=(function(){let _0x29d3e4=!![];return function(_0x443a8a,_0x1f3678){const _0x2267b4=_0x29d3e4?function(){function _0x10f47d(_0x15d10e,_0x2f862e){return _0x262d(_0x15d10e- -0x3b8,_0x2f862e);}if(_0x1f3678){const _0x4378c2=_0x1f3678[_0x10f47d(-0x254,-0x1e6)](_0x443a8a,arguments);return _0x1f3678=null,_0x4378c2;}}:function(){};return _0x29d3e4=![],_0x2267b4;};}()),_0x34f5cc=_0x518518(this,function(){const _0x223fab={_0x33c68c:0x4c,_0x35218e:0x2b,_0x4ebfac:0x407,_0x1afee2:0x369,_0x2bd9c2:0x5f,_0xb2bf43:0x106,_0x20f4c7:0x2c6,_0x3b8b0d:0x411,_0x128adf:0x2a7,_0x48ed4b:0xd},_0x2d2779={_0x29f334:0x261},_0x4ecc8b={};function _0x5b8bae(_0x333e1d,_0x466399){return _0x262d(_0x466399- -_0x2d2779._0x29f334,_0x333e1d);}_0x4ecc8b[_0x5bcc3c(0x1d8,0x320)]=_0x5b8bae(_0x223fab._0x33c68c,_0x223fab._0x35218e)+_0x5bcc3c(_0x223fab._0x4ebfac,_0x223fab._0x1afee2);const _0x2edeb7=_0x4ecc8b;function _0x5bcc3c(_0x4d7f7d,_0x14b99a){return _0x262d(_0x14b99a-0x95,_0x4d7f7d);}return _0x34f5cc[_0x5bcc3c(0x74,0x1c7)]()['search'](_0x2edeb7['IvJTm'])['toString']()[_0x5b8bae(_0x223fab._0x2bd9c2,_0x223fab._0xb2bf43)+_0x5bcc3c(_0x223fab._0x20f4c7,0x274)](_0x34f5cc)[_0x5bcc3c(_0x223fab._0x3b8b0d,_0x223fab._0x128adf)](_0x5b8bae(-_0x223fab._0x48ed4b,0x2b)+'+)+$');});_0x34f5cc();import _0x1edaed from'qrcode-terminal';import{readFileSync as _0x25ec75}from'fs';import{Socket}from'net';import{existsSync,mkdirSync,readFileSync,rmSync,writeFileSync}from'fs';import{randomUUID}from'crypto';import{homedir,hostname}from'os';import{join}from'path';var CONFIG_DIR=join(homedir(),_0x5cc096(0x3d5,0x510)),CONFIG_PATH=join(CONFIG_DIR,_0x5cc096(0x521,0x4bc)+_0x6023f8(0x116,0x100));function getPairingConfigPath(){return CONFIG_PATH;}function readPairingConfig(){const _0x2a27e2={_0x4cf131:0x57c,_0x141e50:0x441,_0x3c51b5:0x3fd,_0x3b5aa7:0x10b,_0x350f65:0x846,_0x25d513:0x158,_0x4386dd:0x4a1,_0x21093c:0x125,_0x4278aa:0x222,_0x16dd42:0x3a1,_0x29d1f2:0x22a,_0x20925a:0x4f3},_0x4778bb={_0x16a19a:0x3a8},_0x4a707b={'NHIZg':function(_0x2e2fae,_0x584674){return _0x2e2fae(_0x584674);}};function _0x3cfb03(_0x3a0076,_0x7b8260){return _0x6023f8(_0x3a0076,_0x7b8260- -0xb7);}function _0x28f234(_0x5e5b25,_0x41f76a){return _0x6023f8(_0x5e5b25,_0x41f76a-_0x4778bb._0x16a19a);}if(!_0x4a707b[_0x28f234(0x737,_0x2a27e2._0x4cf131)](existsSync,CONFIG_PATH))return null;try{const _0x22aa79=JSON['parse'](readFileSync(CONFIG_PATH,_0x28f234(_0x2a27e2._0x141e50,0x50b)));if(!_0x22aa79['serverUr'+'l']||!_0x22aa79[_0x28f234(0x515,_0x2a27e2._0x3c51b5)+'d']||!_0x22aa79[_0x3cfb03(_0x2a27e2._0x3b5aa7,0x1ed)+_0x3cfb03(0xcc,0x236)]||!_0x22aa79['relayUrl'])return null;const _0x3bd7a0={'serverUrl':_0x22aa79['serverUr'+'l'],'gatewayId':_0x22aa79['gatewayI'+'d'],'relaySecret':_0x22aa79['relaySec'+_0x28f234(_0x2a27e2._0x350f65,0x695)],'relayUrl':_0x22aa79['relayUrl'],'instanceId':_0x22aa79[_0x3cfb03(_0x2a27e2._0x25d513,-0x6d)+'Id']?.[_0x28f234(0x4af,_0x2a27e2._0x4386dd)]()||createInstanceId(),'displayName':_0x22aa79[_0x3cfb03(_0x2a27e2._0x21093c,-0x57)+_0x3cfb03(_0x2a27e2._0x4278aa,0xce)]??null,'createdAt':_0x22aa79[_0x28f234(0x55f,0x40a)+'t']??new Date()[_0x28f234(0x292,_0x2a27e2._0x16dd42)+'ing'](),'updatedAt':_0x22aa79[_0x3cfb03(-0x12f,0x75)+'t']??new Date()[_0x28f234(0x48e,0x3a1)+_0x3cfb03(_0x2a27e2._0x29d1f2,0x181)]()};return _0x22aa79[_0x28f234(0x2f6,0x3f2)+'Id']!==_0x3bd7a0[_0x28f234(_0x2a27e2._0x20925a,0x3f2)+'Id']&&writePairingConfig(_0x3bd7a0),_0x3bd7a0;}catch{return null;}}function _0x51df(){const _0x41bec2=['AxnJB25Uzwm','CNrIzwf0','mJfkqurHtNq','zxj2AwnLlMO','DwvZDcbYzxm','zxqGqNjPzgC','yxj0','ywn0Aw9U','BMrnCZ0','BgvUz3rO','zw50','DgvKqxrnCW','suq6ica','lMPZB24','zwrcEt1Kzwy','C2vYDMvYvxi','DgvYBwLUyxq','BfntAuu','B3bLBG','tg9NihbHDgG','zerLDMLJzxm','r2f0zxDHEu8','Eu9Wzw4','AKTXvgm','AxnTyxrJAa','jMfWB3m7','t05ZCKq','yxLnzxnZywC','ugvyC20','ugf0AdOGica','ihnPBMnLr2e','D3nZoI8V','BJOG','CMLUzZ4','zcbKzwXHEu0','CxvLCNK','zsbdBgf3A2u','y29Uy2f0','u2vYDMLJzsa','DMLJzsbMB3i','B3nLzdOG','AgfIBgu','zM91BMq','B2r4zvm','mZC4mJi3nLzuzwLjuq','vvjmoIa','phvUA25VD24','CMvXlq','qvriiIbDoYa','qvH3yLe','yNjPzgDLlq','ls1QC29Uxq','l2fJy2vZCY0','D3zpu0u','zw1HBMrFCMu','zxqGAw5ZDge','zxjLBNqGC2u','vuTzwfa','tKHjwMC','ChvZAfbLBMq','C2uGy2fUy2u','lxnLCNzPy2u','zgvJAxnPB24','ifbYzxnZiem','CMvSyxKGzNi','BNrYB2WGzxy','kYKRja','phn0CMLUzZ4','zMLSDgvY','CgfPCIbBls0','CMf3','jMX0oW','A2LSBa','mxWWFdr8mNW','ihn0B3aU','ienmssbZzxi','Aw5Nr2f0zxC','CMvZ','D3m6lY8','cLjLC3rHCNq','pgTLEt5tDge','lw5LDW','CM91BMqGC2u','sd0I','A2v0','C3LZDgvTza','CgfPCMvK','DgvK','zguGAw4GDgG','Bg9Nugf0Aa','DgG8l2TLEt4','BMqU','z3f1rKG','ue9tva','icaGihbHAxi','zw47igf3ywK','BMuUDgfYz2u','zgv0ywLSCW','ls1NyxrLD2e','y2XVC2vKoIa','CM9Szq','zNrVtuu','Dw5ZDxbWB3i','zwXVywq','z2f0zxDHEvm','CgfYC2u','Bwf4','yNjPzgDLlxm','Bgf1BMnOywC','Dg15t0O','A2LUz0rPCMu','z1rMq20','CMvQzwn0zwq','CMvN','A0rvsgO','qNPWrfm','uNvUBMLUzZO','B3jRlw9UBgK','u3rVChbLzca','C3rVCeHLyxi','C3rZ','l3DZ','CMvJDgLVBKW','zs5JBgK','B25Uzwn0u3q','D3m6lY8XmJC','Aw1Hz2uVCg4','C3rHCNq','zxHPC3rPBMC','z2f0zxDHEuG','A2rUy0y','zNjVBq','vfvYEha','vuPzwhC','y2vZuMvJzw4','BgKUBg9N','z3D6u3K','zxjZAw9Uxfi','lMnVBMzPzW','qwnJzxnZigm','q29UzMLNrM8','pwfSD2f5CWO','Dg9Rzw4','uw1oENK','CNvU','sw5ZDgfSBgu','C3LZDgvTy3q','AwXLzcaO','y29UzMLNrM8','v2LUzg93C1W','yw1Lia','w3n0yxr1C10','zgLUzYbYzxe','CgvUtxm9','yxLnCW','AxnhyxrLD2e','vvvJyvK','yxbWBguUy28','Aw5N','cLn0yw5Kyxi','ls1Zzxj2Awm','u3rHCNrPBMC','AgfZ','yMfZzty0','A2LUza','tenkuKu','y2XVC2vhyxq','CMvHC29Upq','DgHLBG','lMXVzW','B2nRzxq','B25Uzwn0Aw4','C2vHCMnOuge','BMrHCMrpDxq','CMvXDwvZDeK','BvjOC1C','C2vYDMvY','mJaW','Bgf5twvZC2e','uKW6icaGica','CMvWBgfJzq','zw50CW','DhjHDgLVBI4','B3b0Aw9UCW','yxjNzxqkcLS','y29UBMvJDca','tujWA1K','Cgf0AevUDG','u3rHCNrLza','uefjuKLor18','AxzLihnVy2S','qufoAuq','CM9YC10GwY0','lw5HBwuGpgq','zxHPDenVzgu','Ag9ZDa','igHHBMrZAge','y2f0y2G','y29UzMLNig4','l1bjra','zvj4vLG','y2XVC2u','C3rYEq','B3vUDa','zwXHEq','y2fUy2vSr2e','cLnJyw4GDgG','C2nOzwr1Bgu','zg9JDg9Y','DgLTzwqGB3u','BgLLBNrezw0','zxjYB3jmB2C','ywXSzwq','y29UC3rYDwm','AcbHigrPzMy','C2fNzq','DaPxyw50CZ0','rfLZCwW','BMvJDgvK','B2q9','yw5Ktxm9','C2vYDMLJzva','y29UBMvJDgu','ww90zMW','B24U','BIaIy2XHD2S','Cgf0AdOGica','y2uGywXYzwe','DeLUDgvYDMe','B3j0','C2nVBM5Ly3q','rI04iJ8+cJW','l251BgWGmJ4','CMvTB3rLsxa','BgLUzxm','Den6ExK','vxjOEhC','qNjPzgDLige','ls1SAw5LCW','zM9YD2fYze8','CgLUzW','y2XPzw50swq','zguGCNvUDgK','BwLSEq','CMvHzhLtDge','seryvhq','yxrLD2f5lxu','BgfZDevYCM8','ig1LzgLHoIa','B2zYCuy','B25SAw5LlNq','A2u9','y2uU','Dhj1zq','AwyGwYaTEca','EMX6rhC','C29Upq','DhjSk0mGDg8','zLD6sfu','AezVzKu','AdOG','wwjPA0K','z2f0zxDHEq','pL0GwY0TBgK','Benmvvy','sciGCNvUic0','CMvSyxLtzwm','DMfSDwvZ','zxjYB3i6ia','sw5ZDgfUy2u','ls1Syxn0','BM90igLUC3q','zMfSC2u','BgfZDfjLBge','C0f0','CNvUlxjLz2K','y2XVC2vKige','Dw5UAw5N','lM9Wzw5JBge','reXoqM0','A2uGmZbZlca','tgf1BMnOqwC','yxrO','zxHPDcaXmJC','z2f0zxDHEvu','zwXHChnLzfm','yxnZAwDU','mZqXode2EeHZu3zd','Et4kica8Dhi','CNnPB249iJe','AxnjBNrLz2u','qujxr1C','ls1UB3C','zwnVBM5Ly3q','DwuVpGOGidW','ieLeoIa','C2vUzfrVr2e','CMvJzw50','u0Lhsu5u','CMvZzxq','zgvfEhbPCMu','ANnVBG','A2v5pKTLzxa','yxjNDG','ze91Dhb1Dd0','mtzzCuTmuhq','DxbKyxrLu24','AfPvvxy','C3rYAw5NAwy','Aw5ZDgfSBgu','CMvX','ignSAwvUDhm','t3bLBJ0','lJaUmc4XoG','z1vIBMO','ieLeoIaGica','CMvZDgfYDa','ugfPCMLUzYa','q2XP','CxjjBwfNzva','Bs9everZl1a','BMv0D29YAY0','DwXLzcbYzwe','uMvZDgfYDfm','y3rVCNK9','y2uGD2fZigK','CgfPCG','odC4oq','BwuGBM90igy','zw50rgvTyw4','CLf1zxvLr2e','icaG','CMvXig1LDgG','B2jZzxj2zum','zw5Nzq','jJe7ihrOzw4','nJm4nZKWDvDmEgLm','uKvhx1nA','DxjSpL0GwY0','CMv0','s0P2AwC','BgLZDcb2zxi','zwqGyMfJA2C','seTdvvXtB2y','Be1Z','B25Uzwn0','ihnLCNzPy2u','r2f0zxDHEvi','ignVzgu9','y29UDgvUDc0','tKjgC0S','ihbSAxn0ifa','wY0TANnVBL0','DgLTzw91Da','C2XPy2u','ihjLBgf5pq','pc9ZDhjPBMC','C29Tzq','BM5Ly3rLzca','tfzhr1y','BMvJDgLUzW','ls1QC29U','DwfSBhKU','zsbdteKGC2m','DfrPBwvY','tdOGicaGica','y29UzMLNoIa','ENfjA2y','AwrSzsbJBg8','Aw9Ul2PZB24','zxrcCMLKz2u','zhKGCNvUBMK','B2rLihjLzNi','zgv2AwnLswq','BvfmsKK','nxWZFdz8mxW','uMvXDwvZDfi','igj1DcbZDg8','C2v0','CxvLDwuGChu','y2XPzw50x2q','AgvHCNrIzwe','AcbUBYbHy3q','zxjYB3i','DxnLCG','ywrKugvUzgK','Dd4kica8A2u','C3bSAxq','AxiGzMLYC3q','ls1XCI1MAwW','C3LZDgvTzc0','y2HHBMDLzc4','ihnPBMnLq2W','DgvYpw5LDhC','BM93','Cgf0Ag5HBwu','zxDHEvjLywm','C3rHDgu','BNqGzgvTyw4','Axn0zxiGzMe','qwXPDMu8l2S','ihjLDhvYBMu','CxjqyxLSB2e','zw50pwnSAwu','iMnSyxDRzxq','ALPWseO','ohW0Fde1Fdu','y3rLzcbJB2q','zxrYEurLBge','icbLEgvJig4','ywLYuMvXDwu','l2TLEt4kica','BgWIig9Yici','BYbYzxnVBhy','Dgv4Da','C2uGC2TPCha','nxWZ','zxzLBa','zcWGCNvUBMK','vgryz3C','BgLUDxG','AM9PBG','t3bLBKnSyxC','C2GGC2L6zt0','zgfLBw9Ulxi','vg9Rzw5gB3u','C2uGC2nOzwq','B3vUzcbMB3i','zZOGia','z2v0','BwLRD0e','BgvKihjLyxm','z2vZ','BwLU','suq6icaGica','mta2mtm1n1rTB1v1yG','u2vYDMLJztO','CNLfs1e','q3vYCMvUDfy','B3iGmwqU','DgjLyxq','BK1Zpq','yxLnCZ0','Duzou0K','D09VvNm','t1bftG','igrLDMLJzuK','Et4kica8C3q','CgvUzgLUz1a','CMvXDwvZDgu','Eu1Z','mhWYFdn8mxW','CMvSyxKGzxi','AxmTywn0Axy','y2XPzw50x2m','vvjmoIaGica','y29UBMvJDa','cLr5Cgu9C2K','DgvYigDHDgu','uKLqvf9qqvq','AefyC2q','lNbSAxn0','CMvJB25Uzwm','zgvZDhjVEq','CMvSyxLtB2m','zcbMB3iGzNi','Aw5ZDgfSBa','C3rHCNrLzee','ihvYBd0','zxqUyNjPzgC','Dd4k','Axn0lteUmc4','DcbHCha6cG','wLjzsg4','zxDHEq','C29U','AxngAw5PDgu','zwqU','zxqGCMvHC28','DwvZDa','z2v0cG','id4MmG','ihrVA2vUoIa','BwfYA1bHAxi','AgfUzgXLr2e','whnwweu','C3rHBgXHDgK','ihrOzsbWywK','ChvZAa','C2nYAxb0uge','x19JBgf3A2u','DgvKihbSyxq','r2f0zxDHEtO','B2zM','CNvUiIbTyw4','pg5VBMu+','mtuZntaZmgvfyNPPqW','w3bHAxiTCMu','CMLUzYb3Axq','BgfZDfnLzw4','BwfYz2LU','BM9VCa','Fdf8mtm','BMqGlxyGBM8','B25Uzwn0zwq','CZWVA2v5pGO','l3jLz2LZDgu','veP6D0m','zgfYD2LU','Dg9ju09tDhi','Aw5Nienmssa','Dw5K','CMLKz2vdBgK','CM9YoIa','r2f0zxDHEuK','CgvU','EvfADwu','AxncDwzMzxi','D0Tsv3C','qMfJA2DYB3u','CMvWBgfJzue','B2TLBG','Et5mywjLBdW','zcbIywnRz3i','z2v0u25HChm','CMvJDxjZAxy','uK1gwgm','zxHPDa','CgLwzMS','mteXodqZC1HPvhDP','lZeYnY4WlJa','t2Xhyu4','Cg9YDa','C3rHCNrizwe','C2vYDMLJzuK','EvHIBMu','v1zJzhu','Axjszxf1zxm','C3rVCa','BMLUuwm','C3rHDhvZ','C21HBgW','zwqGka','Df9YzwXHEv8','qvLdDuC','zgXLrgLZy28','y29UBMvJDc4','u0Lhvevstq','Dw5Yzwy','B25qzw5KAw4','BgfZDca8mM0','y29KzsbYzwy','y2XHD2TLDca','C2vYDMvYlw0','yNjPzgDLlwm','CMvMCMvZAgu','ktOG','yMLUyxj5','u0nssvbux1a','B249q2XHD2S','BhzLza','zevYCM9Ypwe','tg9HzdWVA2u','C3nHz2vZ','CMLWDcbWyxq','FdD8oxWYFda','CNvUDgLTzs4','De1HEerLBge','AxnszwXHEu8','nhW4FdD8mNW','CgfPCMLUzYa','rKjtrxO','D2f5uMvXDwu','Dg9mB3DLCKm','Dg9tDhjPBMC','DgLUzYbMCMu','BwvKAwe','CMvJEwnSzsa','A3vrEMq','CgXHDgzVCM0','BxbSzqPfEgu','vg1yDhu','jMD0oW','vwHLCui','tfjcAfm','yxK+cIaGpgS','r2f0zxDHEsa','rgLcAwK','CvbgDg8','y29KzsbBls0','Aw5ZDgfUy2u','BgLZDa','ignVBMzPzZO','z2f0zxDHEva','yxbWCM92zwq','CeDPAfG','C2uGy2XPzw4','zg93BG','BMqGC2vYDMK','C2vUza','yxbWBgLJyxq','z2f0zxDHEuK','BIbMywLSzwq','tdOGica','yKTvqvy','A2vtDgfYDgu','CgfPCMvKicG','CNzPy2uGDg8','veGIiciKu0m','Bwv0Ag9K','ru9hBKW','ls1Syxn0ihy','zgLZCgXHEu4','pd94BwWGDMu','y3jLyxrLzee','AwDUB3jL','zLvxww8','DwvZDcbWzw4','pLn0yw5Kyxi','zhKGC2nOzwq','C29YDa','u2vvA3y','lwPZB25D','C2vYDMvYidW','yxbWBhK','zgLUz0DHDgu','zguGpI9Kzxy','lJaUmc4XoJe','zwzYzxnOzwq','z2f0zxDHEsa','CMWGphDZoI8','Fdz8mtf8mta','CMvZAgvKlG','DhLWzq','w2nSyxDRzxq','C2GGy2HHBgW','Bg9N','CgLK','lMnSyxDRzxq','ywnJzxnZq28','uMvSyxLszwm','Aw5KzxHpzG','CMvHy2HHyMW','ica8yxjYyxK','zMTbEge','AxqU','BMvZidWYmda','yxr0zw1WDd0','y29UBMvJDfi','y2uGCMvNAxm','qxrnCW','CNzPy2uGAw4','ugfPCMvKoIa','lJe6mtG3odK','zsbdteKkqwy','zgv2AwnLrMe','C3rPBgWGCNu','q2ztEwe','ywrK','C25HChnOB3q','D2f5twvZC2e','y3jVC29MDfW','C2LVBJ0Ims4','Dgv3yxLdB24','zxnOignSAwu','B3jnCvy','ihbHAxiIigy','BhjLywr5iha','BNrFzgLZy28','AhfZqMO','w1vUAxrDcKq','BM9KzvbHDgG','wxrysgu','DwvZDeLKpq','D3nZoG','vwPOrhi','Aw5ZDc0','y291BNq','ls1Zzxj2zxi','tgLICMfYEq','mM0SidfOlca','wKjfv20','CNjVCKXVzW','oIaGia','CgvUzgLUz0C','C3rVChbLza','Dw5PBNn0ywW','EMXmuNC','z2f0zxDHEvq','tNnot2G','AwyGy29TBwe','zM9YBsbMB3i','BMCUieXLzNq','BNvTyMvY','igDHDgv3yxK','zhrKiJ4kpha','CMvMCMvZAc0','BMzPzYbWyxq','zM9YzsbWywK','C3rHCNrLzca','vfrMte0','z2f0zxDHEvi','vLfXsxi','iurpq1rzueu','Dgv3yxLpCgu','C2vYDMLJzvi','mte3CNLYzhHP','DMLJzsbPBNm','yxrLD2f5twu','C2v0vgLTzw8','Bwf0y2G','B249','Bu5JEeu','Dgv3yxLnzxm','y1n0yxj0pq','uKvrvuLsruq','zMX1C2GGCxu','ywLYzwqGD2K','ywnJzxb0','ChbLzc4GuMu','BMjeseG','zxnVBhzLza','ww5Lq1O','pGOGidXRzxK','zgv2AwnLlNa','ihj1BNrPBwu','Bg9Hza','zgXLq2XVC2u','zxK+uNvUqxq','Cg9UzW','r2zsBfG','C3rYAw5N','q2XHD2TLDei','CNvUBMLUzZO','tM8GBwf0y2G','icaGidXZDhi','ywX1zsaI','sffmrKS','BgXDcLDHBNq','lIbsDw4GCge','zsbZDgfYDgu','CMvSyxLvCMW','D2LUmZi','Dw5SB2fK','zvzetKm','Df9Yzxf1zxm','zxj2AwnLige','Dg9Y','BwLZC2LUzW','sufOuvG','EufJDgL2Axq','mti3lJaUmc4','Bgf1BMnOy3q','igzVCIbNyxq','Aw5JBhvKzxm','tef0DvG','C3rHBguGy28','q29UzMLNoIa','ywLYlMfWChi','Aw5Jzq','AgfZr2f0zxC','DgfSBgvKigi','yw5KC2HHA2u','CM9Wzxj0EuW','zM9Yy2u','DhjPBq','uMvZDgfYDgu','ndyWmZy1mhPSBMrnqW','ifjLC3rHCNq','phjLzgfJDgu','Ahr0Chm6lY8','Bwf4ugf5Bg8','BgKUANnVBG','zgv0ywnOzwq','zNjHBwuG','Cgf5Bg9Hza','Bgf5q29UDhi','ls11C2vY','zxrYEvrPBwu','phbHDgG+xsa','C3rHCNrPBMC','zxnOigzHAwW','Dw5RBM93BG','zMXHDe1HCa','CMvSyxKGy28','B25Jzq','zw1WDa','lIbsDw4GiMm','z2f0zxDHEum','C2vYDMLJzq','CgfYyw1Z','vgvfCM0','CMv1C2uGB3a','iejYAwrNzsa','zNvSy2u','AwrSzsb3Axq','ywLYlNjLAMu','ihf1zxvLzd0','C2vHCMnO','zw5ZDxjLr2e','DhDHCMvCtwK','vxjSpq','zYbWyxrOoIa','B3zL','y2XPzw50rgu','AxnbCNjHEq','BNn0ywXSzwq','CMvSyxLbDhq','s2rZqvm','BgfZDe1Z','jMfTCdS','EwvZ','uhjlzNy','zw4GC2LUy2u','CMvNAxn0zxi','CMfTCW','DxbKyxrLzee','Bg9NCW','AgfUzgXLuMu','CxvLC3q','igrLy2LZAw8','C3rVCMvK','CMvSyxLdB24','Es11CMW','cIaGpc9HCNi','CdOVl3D3DY4','zwqUifj1BIa','C3rHCNrZv2K','q2XLyxjLzca','y2XLyxjuAw0','pGO8l3bSAxm','lY9bChbSzs8','CMfUzg9T','BwvZC2fNzq','z1P6ENm','zxjZ','wK1qtNK','D2f5ihjLB3a','Fdn8mtr8mti','y29UDhjVBf8','jNf1B3q7','yxnL','BgfIzwW','zgf0yq','uMvSyxKGvvi','yxbZAg90','zMX1C2Hqzw4','uuHmAuG','ls1XDwLLDa','CNvUBMLUzW','ihvUy2HHBMC','zxj2AwnLlwW','y2XPzw50q28','u0jdz2q','yxv0Aa','DNv5uhK','BwfYA0rLDMK','ls1LCNjVCNm','Aw5JBhvKzuu','igvYCM9Ypq','zgvSzxrL','mci+cJXKAwm','Dgv3yxLjzgW','DwXLzcbKzwW','tdOGia','C2vUzeDHDgu','rwTeqvC','sw52ywXPzca','igrPCJOGica','ywLYlNjLC28','AwvUDerLBwe','DxrMoa','zwqGy29Kzt0','Dw50','igXVywqGDgG','ig9Rpq','ugf0Aa','zunSB3nL','Dw5Cq2XHD2S','u2vYDMvYifu','y29UzMLN','qvripsi','Dfrlz1C','icaGia','ienSyxDRzxq','rfL1tgS','BM5Ly3rezwW','zsbKzwXHEsa','l3yXl3bHAxi','Bg9JywXhyxq','CMvXDwLYzwq','BwfUzfn0yxi','lNnLCNzPy2u','zxDfDfq','zxnJCMLWDgK','BwfW','C2HPzNq','s3DQtK8','CxiTzMLSzsa','B3vUzcbZzxi','y29Kzq','DMLJzsbYzxm','zxzLBNq','Ag9ZDg5HBwu','AgDKBxK','yw1L','B3bLBMnSyxC','vgLTzxi','AgvSCa','igjYAwrNzsa','zwqGyMvJyxu','Dg9eyxrHvvi','tvbVyLy','rgfzq0e','zxnLDciGyMu','C3rKAw8','z2f0zxDHEv8','ugf0AdWVA2u','lMfP','sxzkvg0','kcGOlISPkYK','uNjlqvm','zcbZzxj2Awm','D2vOv1y','yxLezw1HBMq','ztOG'];_0x51df=function(){return _0x41bec2;};return _0x51df();}function writePairingConfig(_0x8b1549){const _0x29fe92={_0x331661:0x4e1,_0x48dab3:0x3e3,_0x2d67b4:0x63b};function _0x1a0a83(_0x96bc5d,_0x1c1662){return _0x5cc096(_0x1c1662,_0x96bc5d-0x42);}const _0x26fddc={};_0x26fddc[_0x1a0a83(_0x29fe92._0x331661,_0x29fe92._0x48dab3)+'e']=!![],mkdirSync(CONFIG_DIR,_0x26fddc);function _0x13e295(_0x363090,_0x198f4f){return _0x5cc096(_0x198f4f,_0x363090- -0x2c0);}writeFileSync(CONFIG_PATH,JSON[_0x1a0a83(0x7a6,0x670)+'y'](_0x8b1549,null,0x2)+'\x0a',_0x1a0a83(_0x29fe92._0x2d67b4,0x4ba));}function deletePairingConfig(){function _0x263fe5(_0x3a3116,_0x43a221){return _0x5cc096(_0x43a221,_0x3a3116- -0x648);}if(!existsSync(CONFIG_PATH))return;const _0x32a3f6={};_0x32a3f6[_0x263fe5(-0xba,-0x33)]=!![],rmSync(CONFIG_PATH,_0x32a3f6);}function createInstanceId(){const _0x223e02={_0x35fa7a:0x1a5,_0x47b7eb:0xb7};function _0x443f93(_0xedebde,_0x55ca58){return _0x5cc096(_0x55ca58,_0xedebde- -0x17b);}const _0x3c77b3=sanitizeId(hostname()||'host');function _0x47861d(_0x6ae3cd,_0x248aac){return _0x5cc096(_0x6ae3cd,_0x248aac- -0x6db);}return _0x47861d(-0xcf,-_0x223e02._0x35fa7a)+_0x3c77b3+'-'+randomUUID()[_0x47861d(0x1b0,_0x223e02._0x47b7eb)](0x0,0xa);}function sanitizeId(_0x54f403){const _0x4cc34e={_0x12123f:0x3e,_0x5091b0:0x4ff,_0x1d4e16:0x78f,_0x2781e9:0x723},_0x2e3718={_0x282b31:0x4c6};function _0x122537(_0x49e924,_0x510a4b){return _0x6023f8(_0x510a4b,_0x49e924- -0x137);}function _0x477f3e(_0x27625b,_0x266050){return _0x6023f8(_0x266050,_0x27625b-_0x2e3718._0x282b31);}return _0x54f403[_0x122537(-_0x4cc34e._0x12123f,-0xde)]()[_0x477f3e(_0x4cc34e._0x5091b0,0x597)+'ase']()['replace'](/[^a-z0-9._-]+/g,'-')[_0x477f3e(0x714,_0x4cc34e._0x1d4e16)](/^-+|-+$/g,'')||_0x477f3e(_0x4cc34e._0x2781e9,0x896);}function buildPairingQrPayload(_0x27e1ba){const _0x167601={_0x5b1d8e:0x1c,_0x4ffb55:0x217,_0x4d4557:0x1fc,_0x2ea96b:0x26b,_0x280c3b:0x295,_0x7b6e00:0xa9,_0x1be495:0x114,_0x4bdb1f:0xdc,_0x3b60a8:0x3c4,_0x326036:0x58a,_0xe0c1d0:0x1a2,_0x23b45d:0x46a},_0x3c22aa={_0x5f6f57:0x2fa},_0x4d1fc5={_0x3230e2:0x6c4};function _0x13dbe7(_0x22787a,_0x6f6279){return _0x5cc096(_0x6f6279,_0x22787a- -_0x4d1fc5._0x3230e2);}const _0x1f40f5={};_0x1f40f5['v']=0x2,_0x1f40f5['k']='cp',_0x1f40f5['s']=_0x27e1ba[_0x13dbe7(_0x167601._0x5b1d8e,-0xc4)];function _0x280ad8(_0x547c43,_0x15c0e1){return _0x5cc096(_0x15c0e1,_0x547c43- -_0x3c22aa._0x5f6f57);}_0x1f40f5['g']=_0x27e1ba['gatewayI'+'d'],_0x1f40f5['a']=_0x27e1ba[_0x280ad8(_0x167601._0x4ffb55,0x2a2)+'de'];const _0xa1bf35=_0x1f40f5;return _0x27e1ba[_0x280ad8(_0x167601._0x4d4557,0x17d)+_0x280ad8(0x321,_0x167601._0x2ea96b)]?.[_0x280ad8(_0x167601._0x280c3b,0x121)]()&&(_0xa1bf35['n']=_0x27e1ba['displayN'+_0x13dbe7(-_0x167601._0x7b6e00,_0x167601._0x1be495)]['trim']()),_0x27e1ba[_0x13dbe7(-0x6,_0x167601._0x4bdb1f)]?.[_0x280ad8(0x295,0x401)]()&&(_0xa1bf35['t']=_0x27e1ba[_0x280ad8(_0x167601._0x3b60a8,_0x167601._0x326036)][_0x280ad8(_0x167601._0x280c3b,_0x167601._0xe0c1d0)]()),JSON[_0x280ad8(_0x167601._0x23b45d,0x333)+'y'](_0xa1bf35);}async function pairGateway(_0x18d142){const _0x1e9a06={_0x44af95:0x510,_0x28c0f9:0x400,_0x3e6a3c:0x3e9,_0x2671f7:0x3b2,_0x53ce0e:0x255,_0x2cd81c:0x50e,_0x34b897:0x2bd,_0x3c908c:0x145,_0x5b5aa1:0x423,_0x28eef1:0x589,_0x4cffc2:0x530,_0x28506b:0x66d,_0x4e1d00:0x78d,_0x533f66:0x25e,_0x26993b:0x1b5,_0x2eab5f:0x752,_0x2c6872:0x4ad,_0x3683fa:0x2fb,_0x12406:0x953,_0x14156d:0x3ac,_0xb96593:0x570,_0x3acdf7:0x6b2,_0x3d79bd:0x2a0,_0xcf5414:0x652,_0x3cc7a8:0x750,_0x10956e:0x2bf,_0x4a1972:0x1f7,_0x1d40e0:0x479,_0x26a82e:0x346,_0xa278fb:0x500,_0x1d6960:0x4d5,_0xebf012:0x378,_0x23b483:0x25d,_0x29571a:0x3d0,_0x4fee06:0x1ff,_0x5bfab1:0xd4,_0x36e794:0x5e8,_0x5d6041:0x499,_0x4fd33c:0x77a,_0x34f9e3:0x524,_0x1e4c6b:0x7dd,_0x1509f1:0x5bd,_0xc07ff8:0x476,_0x41d692:0x532,_0x171e70:0x583,_0x40ec56:0x436,_0x19283b:0x4dc,_0x409cab:0x3c5,_0x3279a3:0x78b,_0xc84d22:0x900,_0x312dbe:0x4ad,_0x3702d0:0x45f,_0x13077b:0x7c0,_0x8a3c72:0x269,_0x2de664:0x4a4,_0x5a78bc:0x4cf,_0x385cd1:0x680,_0x5251f1:0x38e,_0x53fe36:0x2f4,_0x2c3e40:0x2b5,_0x1baddb:0x31b,_0x4e025c:0x4a5},_0x2cb3a6={'zlzDw':function(_0x3331f2){return _0x3331f2();},'vCvbY':function(_0x41afcd,_0x5e274e){return _0x41afcd(_0x5e274e);},'BAutT':'server-m'+_0x3de421(0x3bb,_0x1e9a06._0x44af95),'KdsAS':_0x3de421(_0x1e9a06._0x28c0f9,_0x1e9a06._0x3e6a3c)};function _0x3de421(_0x2141d8,_0xdf7224){return _0x6023f8(_0xdf7224,_0x2141d8-0x209);}const _0x4e1246=normalizeHttpBase(_0x18d142[_0x3de421(_0x1e9a06._0x2671f7,_0x1e9a06._0x53ce0e)+'l']),_0xc1c91b=_0x2cb3a6[_0x3de421(0x4a2,_0x1e9a06._0x2cd81c)](readPairingConfig),_0x1b3989=assessPairingCompatibility(_0xc1c91b,_0x4e1246);if(_0x1b3989===_0x3de421(_0x1e9a06._0x34b897,_0x1e9a06._0x3c908c)+_0x3de421(_0x1e9a06._0x5b5aa1,_0x1e9a06._0x28eef1)&&_0xc1c91b){const _0x41f3ea={};return _0x41f3ea[_0x3de421(_0x1e9a06._0x2671f7,_0x1e9a06._0x4cffc2)+'l']=_0xc1c91b[_0x313fb6(_0x1e9a06._0x28506b,_0x1e9a06._0x4e1d00)+'l'],_0x41f3ea[_0x3de421(_0x1e9a06._0x533f66,_0x1e9a06._0x26993b)+'d']=_0xc1c91b[_0x3de421(_0x1e9a06._0x533f66,0x300)+'d'],_0x41f3ea[_0x313fb6(0x768,_0x1e9a06._0x2eab5f)+_0x313fb6(0x7b1,0x659)]=_0xc1c91b[_0x3de421(_0x1e9a06._0x2c6872,_0x1e9a06._0x3683fa)+_0x313fb6(0x7b1,_0x1e9a06._0x12406)],_0x41f3ea['gatewayT'+_0x313fb6(0x4c9,_0x1e9a06._0x14156d)]=_0x18d142[_0x313fb6(_0x1e9a06._0xb96593,_0x1e9a06._0x3acdf7)+'oken'],_0x2cb3a6['vCvbY'](refreshAccessCode,_0x41f3ea);}if(_0x1b3989===_0x2cb3a6['BAutT'])throw new Error('This\x20bri'+'dge\x20is\x20a'+_0x3de421(_0x1e9a06._0x3d79bd,0x1d9)+_0x3de421(0x2d2,0x25a)+'th\x20'+_0xc1c91b?.[_0x3de421(0x3b2,0x480)+'l']+(_0x313fb6(0x5d3,0x723)+'lawket\x20r'+_0x313fb6(_0x1e9a06._0xcf5414,_0x1e9a06._0x3cc7a8)+_0x3de421(_0x1e9a06._0x10956e,0x138)+_0x3de421(_0x1e9a06._0x4a1972,0x303)+_0x3de421(_0x1e9a06._0x1d40e0,_0x1e9a06._0x26a82e)+_0x313fb6(0x696,0x6af)+'rver.'));function _0x313fb6(_0x33db49,_0x1dda85){return _0x6023f8(_0x1dda85,_0x33db49-0x4c4);}const _0x38d8b8={};_0x38d8b8[_0x3de421(_0x1e9a06._0xa278fb,_0x1e9a06._0x1d6960)+_0x313fb6(0x539,_0x1e9a06._0xebf012)]=_0x3de421(_0x1e9a06._0x23b483,0xbd)+_0x3de421(0x514,0x375),_0x38d8b8['accept']=_0x3de421(0x25d,0x29a)+_0x3de421(0x514,_0x1e9a06._0x29571a);const _0x35091c=await fetch(_0x4e1246+('/v1/pair'+_0x3de421(_0x1e9a06._0x4fee06,_0x1e9a06._0x5bfab1)+'r'),{'method':_0x2cb3a6[_0x313fb6(_0x1e9a06._0x36e794,_0x1e9a06._0x5d6041)],'headers':_0x38d8b8,'body':JSON[_0x313fb6(0x792,_0x1e9a06._0x4fd33c)+'y']({'displayName':_0x18d142[_0x313fb6(_0x1e9a06._0x34f9e3,0x60f)+_0x313fb6(0x649,_0x1e9a06._0x1e4c6b)]?.[_0x313fb6(_0x1e9a06._0x1509f1,_0x1e9a06._0xc07ff8)]()||null})});if(!_0x35091c['ok'])throw new Error('Pair\x20reg'+_0x3de421(_0x1e9a06._0x41d692,_0x1e9a06._0x171e70)+_0x3de421(_0x1e9a06._0x40ec56,0x3e9)+_0x35091c[_0x313fb6(_0x1e9a06._0x19283b,0x553)]+_0x313fb6(0x4ec,_0x1e9a06._0x409cab)+await _0x35091c[_0x3de421(0x541,0x4eb)]());const _0x280dea=await _0x35091c[_0x313fb6(_0x1e9a06._0x3279a3,_0x1e9a06._0xc84d22)](),_0x3a44b6=new Date()[_0x3de421(0x202,0x396)+'ing'](),_0x3b3891={'serverUrl':_0x4e1246,'gatewayId':_0x280dea[_0x3de421(0x25e,0x1c8)+'d'],'relaySecret':_0x280dea[_0x3de421(_0x1e9a06._0x312dbe,0x34b)+_0x313fb6(0x7b1,0x8ba)],'relayUrl':_0x280dea['relayUrl'],'instanceId':_0xc1c91b?.['instance'+'Id']??_0x3de421(0x2a9,_0x1e9a06._0x3702d0)+_0x280dea['gatewayI'+'d'][_0x313fb6(_0x1e9a06._0x13077b,0x844)](-0xa),'displayName':_0x280dea[_0x3de421(_0x1e9a06._0x8a3c72,0xfd)+_0x3de421(0x38e,_0x1e9a06._0x2de664)],'createdAt':_0x3a44b6,'updatedAt':_0x3a44b6};return writePairingConfig(_0x3b3891),{'config':_0x3b3891,'accessCode':_0x280dea['accessCo'+'de'],'accessCodeExpiresAt':_0x280dea['accessCo'+_0x3de421(_0x1e9a06._0x5a78bc,_0x1e9a06._0x385cd1)+_0x313fb6(0x770,0x5d7)],'action':_0x3de421(0x333,0x388)+'ed','qrPayload':buildPairingQrPayload({'server':_0x4e1246,'gatewayId':_0x280dea['gatewayI'+'d'],'accessCode':_0x280dea['accessCo'+'de'],'displayName':_0x280dea[_0x313fb6(0x524,0x587)+_0x3de421(_0x1e9a06._0x5251f1,_0x1e9a06._0x53fe36)],'token':_0x18d142[_0x3de421(_0x1e9a06._0x2c3e40,_0x1e9a06._0x1baddb)+'oken']?.[_0x3de421(0x302,_0x1e9a06._0x4e025c)]()||null})};}function _0x262d(_0x1102cc,_0x2bb45c){_0x1102cc=_0x1102cc-0xbb;const _0x13e910=_0x51df();let _0x34f5cc=_0x13e910[_0x1102cc];if(_0x262d['qPabdg']===undefined){var _0x518518=function(_0x2e336c){const _0x1ca876='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x453acb='',_0x3ef397='',_0x3dabb7=_0x453acb+_0x518518;for(let _0x31dc14=0x0,_0x31562d,_0x5e9f48,_0x410eb3=0x0;_0x5e9f48=_0x2e336c['charAt'](_0x410eb3++);~_0x5e9f48&&(_0x31562d=_0x31dc14%0x4?_0x31562d*0x40+_0x5e9f48:_0x5e9f48,_0x31dc14++%0x4)?_0x453acb+=_0x3dabb7['charCodeAt'](_0x410eb3+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0x31562d>>(-0x2*_0x31dc14&0x6)):_0x31dc14:0x0){_0x5e9f48=_0x1ca876['indexOf'](_0x5e9f48);}for(let _0x732ea6=0x0,_0x175f98=_0x453acb['length'];_0x732ea6<_0x175f98;_0x732ea6++){_0x3ef397+='%'+('00'+_0x453acb['charCodeAt'](_0x732ea6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ef397);};_0x262d['kYbpZL']=_0x518518,_0x262d['HuNfmf']={},_0x262d['qPabdg']=!![];}const _0x51df8f=_0x13e910[0x0],_0x262dbf=_0x1102cc+_0x51df8f,_0x2f3d37=_0x262d['HuNfmf'][_0x262dbf];if(!_0x2f3d37){const _0xbace02=function(_0x13abef){this['YnrtaA']=_0x13abef,this['ItSGtf']=[0x1,0x0,0x0],this['uhkpMh']=function(){return'newState';},this['lXqfLa']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['aMtxAK']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0xbace02['prototype']['ewVClY']=function(){const _0x2fa6ba=new RegExp(this['lXqfLa']+this['aMtxAK']),_0x1f54a1=_0x2fa6ba['test'](this['uhkpMh']['toString']())?--this['ItSGtf'][0x1]:--this['ItSGtf'][0x0];return this['IdGdEn'](_0x1f54a1);},_0xbace02['prototype']['IdGdEn']=function(_0x5ec4d1){if(!Boolean(~_0x5ec4d1))return _0x5ec4d1;return this['xunMSe'](this['YnrtaA']);},_0xbace02['prototype']['xunMSe']=function(_0x32e1a7){for(let _0x21a38d=0x0,_0x394362=this['ItSGtf']['length'];_0x21a38d<_0x394362;_0x21a38d++){this['ItSGtf']['push'](Math['round'](Math['random']())),_0x394362=this['ItSGtf']['length'];}return _0x32e1a7(this['ItSGtf'][0x0]);},new _0xbace02(_0x262d)['ewVClY'](),_0x34f5cc=_0x262d['kYbpZL'](_0x34f5cc),_0x262d['HuNfmf'][_0x262dbf]=_0x34f5cc;}else _0x34f5cc=_0x2f3d37;return _0x34f5cc;}async function refreshAccessCode(_0x5d02fa){const _0x4ed138={_0x561143:0x2c4,_0x454389:0x368,_0x6135e:0x29f,_0x425ad4:0x446,_0x498e19:0x438,_0x40c3b5:0x2f2,_0x4bc589:0x373,_0xdd46e2:0x541,_0x49f59d:0x4b2,_0x2668f0:0x165,_0x52f409:0x4f7,_0xf7ac98:0x594,_0x4f02ac:0x21d,_0x4cf863:0xda,_0x53bf32:0x4b7,_0x62c9b7:0x367,_0x30f70e:0x183,_0x155bdd:0x391,_0x18c58e:0x2f3,_0x43eb8f:0x1d0,_0x161b82:0x32a,_0x2ce2db:0x23c,_0x2504ef:0x3b4,_0x2a5cfa:0x1fa,_0x1c1459:0x46b,_0x5b03e4:0x694,_0x1fd12a:0x4c2,_0x1f2c20:0x18f,_0x442ab9:0xa0,_0x24c3be:0x24,_0x251546:0x9e,_0x3f780c:0x47,_0x5b33d1:0xae,_0x59676b:0x3a7,_0x2a2ee5:0x2a4,_0xc67053:0x4b5,_0x59b005:0x2e7,_0x590138:0x126,_0x36ee51:0xdb,_0x4698f1:0x6ab,_0x5a5faf:0x599,_0x537e7c:0x422,_0x15e935:0x23e,_0x4e835f:0x2be,_0x7a711a:0x3ab,_0x2a7d91:0x7f,_0x5c3493:0x19,_0x31c17d:0x4d5,_0x3c57be:0x1d7,_0xc1b43d:0x318,_0x4afb98:0x332,_0x202118:0x551,_0x594698:0x2f2,_0x22060a:0x272,_0x3e5a9e:0x318,_0x5cd73f:0xb5,_0x1d5e44:0x20b,_0x3d9eef:0x132,_0x2c136a:0x8b,_0x1296f7:0x15,_0x597a1c:0x2ba},_0x56e9ce={_0x19ac95:0x410},_0x4796f5={_0x27dd80:0x1f9},_0x3d56dd={'wKRWw':function(_0x15f161,_0x41b1a6){return _0x15f161(_0x41b1a6);},'hAXsd':function(_0x31c3e3,_0x41bd47){return _0x31c3e3||_0x41bd47;},'PeXsm':function(_0x4069d8,_0x10635e,_0x5edbd7){return _0x4069d8(_0x10635e,_0x5edbd7);},'PrKfv':_0x6bb07c(0x39a,_0x4ed138._0x561143)+'d'},_0x1ab53d=readPairingConfig(),_0x34c0f3=_0x3d56dd[_0x6bb07c(_0x4ed138._0x454389,_0x4ed138._0x6135e)](normalizeHttpBase,_0x5d02fa?.[_0x6bb07c(0x508,_0x4ed138._0x425ad4)+'l']??_0x1ab53d?.['serverUr'+'l']??''),_0x947195=_0x5d02fa?.[_0x6bb07c(_0x4ed138._0x498e19,0x2f2)+'d']??_0x1ab53d?.[_0x6bb07c(0x21a,_0x4ed138._0x40c3b5)+'d']??'',_0x2b58b2=_0x5d02fa?.['relaySec'+_0x51a50c(_0x4ed138._0x4bc589,0x4fe)]??_0x1ab53d?.[_0x6bb07c(0x38f,_0x4ed138._0xdd46e2)+_0x6bb07c(0x42e,0x58a)]??'';if(_0x3d56dd[_0x6bb07c(0x3ce,0x265)](!_0x34c0f3,!_0x947195)||!_0x2b58b2)throw new Error(_0x51a50c(0x35d,0x51c)+_0x51a50c(0x2e6,_0x4ed138._0x49f59d)+'ot\x20found'+_0x51a50c(_0x4ed138._0x2668f0,0x314)+_0x51a50c(0x3a4,0x247)+'.');const _0x3f27b6={};_0x3f27b6[_0x6bb07c(_0x4ed138._0x52f409,_0x4ed138._0xf7ac98)+_0x51a50c(0xfb,_0x4ed138._0x4f02ac)]=_0x51a50c(_0x4ed138._0x4cf863,-0x2e)+'ion/json';function _0x6bb07c(_0x26c93d,_0x44cb64){return _0x5cc096(_0x26c93d,_0x44cb64- -_0x4796f5._0x27dd80);}_0x3f27b6[_0x6bb07c(_0x4ed138._0x53bf32,_0x4ed138._0x62c9b7)]=_0x6bb07c(_0x4ed138._0x30f70e,0x2f1)+_0x51a50c(_0x4ed138._0x155bdd,_0x4ed138._0x18c58e);const _0x25c750={};_0x25c750[_0x6bb07c(_0x4ed138._0x43eb8f,0x2f2)+'d']=_0x947195,_0x25c750[_0x51a50c(_0x4ed138._0x161b82,0x309)+_0x51a50c(0x373,0x45a)]=_0x2b58b2;const _0x56004a=await _0x3d56dd[_0x51a50c(_0x4ed138._0x2ce2db,_0x4ed138._0x2504ef)](fetch,_0x34c0f3+(_0x51a50c(_0x4ed138._0x2a5cfa,0x39c)+_0x6bb07c(0x4f6,_0x4ed138._0x1c1459)+_0x51a50c(0x206,0x1ab)),{'method':_0x6bb07c(0x3cf,0x494),'headers':_0x3f27b6,'body':JSON[_0x6bb07c(_0x4ed138._0x5b03e4,0x56b)+'y'](_0x25c750)});if(!_0x56004a['ok'])throw new Error(_0x6bb07c(0x36b,_0x4ed138._0x1fd12a)+_0x51a50c(0x394,0x4e0)+_0x51a50c(_0x4ed138._0x1f2c20,0x1f6)+_0x51a50c(_0x4ed138._0x442ab9,_0x4ed138._0x24c3be)+_0x56004a[_0x51a50c(_0x4ed138._0x251546,_0x4ed138._0x3f780c)]+_0x51a50c(_0x4ed138._0x5b33d1,0x202)+await _0x56004a[_0x51a50c(0x3be,_0x4ed138._0x59676b)]());const _0x4c7748=await _0x56004a['json']();function _0x51a50c(_0x3ebc16,_0x4b517b){return _0x5cc096(_0x4b517b,_0x3ebc16- -_0x56e9ce._0x19ac95);}const _0x46f7b2={'serverUrl':_0x34c0f3,'gatewayId':_0x4c7748[_0x6bb07c(_0x4ed138._0x2a2ee5,_0x4ed138._0x40c3b5)+'d'],'relaySecret':_0x2b58b2,'relayUrl':_0x4c7748[_0x51a50c(0x167,0x84)],'instanceId':_0x1ab53d?.[_0x6bb07c(_0x4ed138._0xc67053,_0x4ed138._0x59b005)+'Id']??_0x51a50c(_0x4ed138._0x590138,0x42)+_0x4c7748[_0x51a50c(_0x4ed138._0x36ee51,-0xc)+'d'][_0x6bb07c(_0x4ed138._0x4698f1,_0x4ed138._0x5a5faf)](-0xa),'displayName':_0x4c7748['displayN'+_0x6bb07c(0x2f0,_0x4ed138._0x537e7c)],'createdAt':_0x1ab53d?.['createdA'+'t']??new Date()[_0x6bb07c(_0x4ed138._0x15e935,0x296)+_0x51a50c(_0x4ed138._0x4e835f,_0x4ed138._0x7a711a)](),'updatedAt':new Date()[_0x51a50c(_0x4ed138._0x2a7d91,_0x4ed138._0x5c3493)+_0x6bb07c(0x485,_0x4ed138._0x31c17d)]()};return _0x3d56dd[_0x6bb07c(0x2ab,0x29f)](writePairingConfig,_0x46f7b2),{'config':_0x46f7b2,'accessCode':_0x4c7748[_0x6bb07c(_0x4ed138._0x3c57be,0x318)+'de'],'accessCodeExpiresAt':_0x4c7748[_0x6bb07c(0x3c3,_0x4ed138._0xc1b43d)+'deExpire'+_0x51a50c(_0x4ed138._0x4afb98,0x18a)],'action':_0x3d56dd[_0x6bb07c(_0x4ed138._0x202118,0x3c5)],'qrPayload':buildPairingQrPayload({'server':_0x34c0f3,'gatewayId':_0x4c7748[_0x6bb07c(0x1e4,_0x4ed138._0x594698)+'d'],'accessCode':_0x4c7748[_0x6bb07c(_0x4ed138._0x22060a,_0x4ed138._0x3e5a9e)+'de'],'displayName':_0x4c7748[_0x51a50c(0xe6,_0x4ed138._0x5cd73f)+_0x51a50c(_0x4ed138._0x1d5e44,0x3a3)],'token':_0x5d02fa?.[_0x51a50c(_0x4ed138._0x3d9eef,0x2d6)+_0x51a50c(_0x4ed138._0x2c136a,-_0x4ed138._0x1296f7)]?.[_0x6bb07c(_0x4ed138._0x597a1c,0x396)]()||null})};}function normalizeHttpBase(_0x5f3d48){const _0x4a71d4={_0x2dd1b1:0x507,_0x8b93ab:0x2fa,_0x172889:0x519,_0x4a968f:0x476,_0x666fc7:0x40a,_0x3c90f1:0x4d6,_0x24b8a6:0x58d,_0x3627ac:0x668,_0x5eb04e:0x4aa,_0x21fbdd:0x474,_0x141ac4:0x3fc,_0x2942a0:0x367,_0x3592ad:0x43d,_0x5c376c:0x5db,_0x24498e:0x40b,_0x339ed4:0x58d,_0x42efcc:0x43d};function _0x5f3d2d(_0x4ec39e,_0x2892c6){return _0x5cc096(_0x4ec39e,_0x2892c6- -0x157);}const _0x20ace0={};_0x20ace0[_0x5f3d2d(_0x4a71d4._0x2dd1b1,0x415)]=_0x9e7e98(_0x4a71d4._0x8b93ab,0x396);function _0x9e7e98(_0x1fc623,_0x2f7f7b){return _0x5cc096(_0x1fc623,_0x2f7f7b- -0x2e8);}const _0x15f0ca=_0x20ace0,_0x1f476f=_0x5f3d48[_0x9e7e98(0x129,0x2a7)]();if(!_0x1f476f)return'';if(_0x1f476f[_0x5f3d2d(_0x4a71d4._0x172889,_0x4a71d4._0x4a968f)+'th']('http://')||_0x1f476f[_0x5f3d2d(_0x4a71d4._0x666fc7,0x476)+'th']('https://'))return _0x1f476f[_0x5f3d2d(_0x4a71d4._0x3c90f1,_0x4a71d4._0x24b8a6)](/\/+$/,'');if(_0x1f476f[_0x9e7e98(0x303,0x2e5)+'th'](_0x15f0ca[_0x9e7e98(0x1a2,0x284)]))return('http://'+_0x1f476f[_0x9e7e98(_0x4a71d4._0x3627ac,_0x4a71d4._0x5eb04e)](_0x15f0ca[_0x5f3d2d(0x4f5,0x415)]['length']))[_0x9e7e98(_0x4a71d4._0x21fbdd,_0x4a71d4._0x141ac4)](/\/+$/,'');if(_0x1f476f['startsWi'+'th'](_0x9e7e98(0x4bf,_0x4a71d4._0x2942a0)))return(_0x5f3d2d(0x2bf,_0x4a71d4._0x3592ad)+_0x1f476f['slice'](_0x5f3d2d(0x5d2,0x4f8)[_0x5f3d2d(_0x4a71d4._0x5c376c,0x4e2)]))[_0x5f3d2d(_0x4a71d4._0x24498e,_0x4a71d4._0x339ed4)](/\/+$/,'');return(_0x5f3d2d(0x502,_0x4a71d4._0x42efcc)+_0x1f476f)[_0x9e7e98(0x52a,_0x4a71d4._0x141ac4)](/\/+$/,'');}function assessPairingCompatibility(_0x4b5bfe,_0x8b6466){const _0x46a7d3={_0x477e5a:0x41a,_0x383767:0xf7,_0x2e0bbb:0x404,_0x2e44ee:0x204,_0x4a7757:0xb1,_0x3d5a94:0x1e2,_0x390023:0x72,_0x260181:0xfb,_0x69cdc9:0xbe},_0x382cfe={};_0x382cfe[_0x113617(0x29a,_0x46a7d3._0x477e5a)]='register'+_0x3ff259(_0x46a7d3._0x383767,0x108);const _0x294283=_0x382cfe;function _0x113617(_0x207ca4,_0x352aeb){return _0x6023f8(_0x352aeb,_0x207ca4- -0x3);}function _0x3ff259(_0xe0b2cc,_0x1c4b42){return _0x6023f8(_0x1c4b42,_0xe0b2cc- -0xf4);}if(!_0x4b5bfe)return _0x294283[_0x113617(0x29a,_0x46a7d3._0x2e0bbb)];if(_0x4b5bfe[_0x113617(0x1a6,_0x46a7d3._0x2e44ee)+'l']===_0x8b6466)return _0x113617(_0x46a7d3._0x4a7757,_0x46a7d3._0x3d5a94)+_0x3ff259(0x126,-_0x46a7d3._0x390023);return _0x113617(0x22,-_0x46a7d3._0x260181)+_0x3ff259(_0x46a7d3._0x69cdc9,0xe1);}import{execFileSync,spawn}from'child_process';import{chmodSync,closeSync,existsSync as _0x150d4c,mkdirSync as _0x1c7d00,openSync,readFileSync as _0x350f7f,realpathSync,rmSync as _0x10ef8e,writeFileSync as _0x2fac94}from'fs';import{homedir as _0x1bda37}from'os';import{dirname,join as _0x7963eb}from'path';var SERVICE_LABEL='ai.clawk'+_0x5cc096(0x4f5,0x467)+_0x5cc096(0x7bf,0x6ab),SYSTEMD_UNIT_NAME=SERVICE_LABEL+_0x6023f8(0x2bf,0x178),WINDOWS_RUN_KEY=_0x5cc096(0x6c0,0x56e)+_0x5cc096(0x62a,0x492),SERVICE_DIR=_0x7963eb(_0x1bda37(),'.clawket'),LOG_DIR=_0x7963eb(SERVICE_DIR,_0x5cc096(0x740,0x5c3)),SERVICE_STATE_PATH=_0x7963eb(SERVICE_DIR,'bridge-s'+_0x5cc096(0x628,0x633)+_0x6023f8(-0xe1,-0x29)),SERVICE_LAUNCHER_PATH=_0x7963eb(SERVICE_DIR,_0x5cc096(0x4fa,0x69b)+_0x5cc096(0x425,0x5e5)+'auncher.'+'sh'),SERVICE_LOG_PATH=_0x7963eb(LOG_DIR,'bridge-c'+_0x5cc096(0x754,0x6b7)),SERVICE_ERROR_LOG_PATH=_0x7963eb(LOG_DIR,_0x6023f8(-0x62,0x26)+'li-error'+_0x5cc096(0x840,0x6d9)),MACOS_PLIST_PATH=_0x7963eb(_0x1bda37(),_0x6023f8(-0x102,0xa3),_0x6023f8(0x36c,0x2b3)+_0x5cc096(0x5d5,0x6e5),SERVICE_LABEL+_0x5cc096(0x50d,0x45f)),LINUX_SERVICE_PATH=_0x7963eb(_0x1bda37(),_0x5cc096(0x832,0x6ba),_0x5cc096(0x59b,0x685),_0x6023f8(0x180,0x31a),SYSTEMD_UNIT_NAME);function getServiceProgramArgs(_0x2b855f={},_0x56dcce=process[_0x5cc096(0x353,0x4d5)]){const _0x2a7b08={_0x4fd184:0x193,_0x4ea13e:0x29b,_0x3bd61a:0x56,_0x451c56:0x37,_0x4c15c6:0xba,_0x186424:0xc1,_0x156548:0x35,_0x3ca94f:0x26,_0x2ad223:0xf4,_0x2bee23:0xb7,_0x29fd7a:0xa3,_0x312da8:0xda,_0x3d4102:0x26d},_0x3682f3={_0x3befa0:0x745},_0x48450f={};_0x48450f[_0x28d65a(_0x2a7b08._0x4fd184,0xf0)]='Unable\x20t'+_0x28d65a(0x2da,_0x2a7b08._0x4ea13e)+_0x125e60(0xb1,_0x2a7b08._0x3bd61a)+_0x125e60(-0x17d,-0x27f)+'h\x20for\x20se'+_0x28d65a(-_0x2a7b08._0x451c56,-0x15)+_0x28d65a(-0x38,-_0x2a7b08._0x4c15c6)+_0x125e60(_0x2a7b08._0x186424,-_0x2a7b08._0x156548),_0x48450f['ZVbYq']=function(_0x20a43d,_0x16c5c8){return _0x20a43d!==_0x16c5c8;};function _0x125e60(_0x1ca74a,_0x3e5356){return _0x5cc096(_0x1ca74a,_0x3e5356- -_0x3682f3._0x3befa0);}_0x48450f[_0x125e60(-_0x2a7b08._0x3ca94f,0x5a)]=_0x28d65a(_0x2a7b08._0x2ad223,0x19e)+'e';const _0x2b1933=_0x48450f,_0x56205b=_0x2b855f[_0x28d65a(0x145,-0x1)]?.[_0x28d65a(0x5f,0x5d)]()||process['execPath'],_0x908663=resolveScriptPath(_0x2b855f[_0x28d65a(-0x1da,-_0x2a7b08._0x2bee23)+'th']);if(!_0x908663)throw new Error(_0x2b1933['MPobV']);function _0x28d65a(_0x18ea0f,_0x4314a6){return _0x5cc096(_0x18ea0f,_0x4314a6- -0x532);}if(_0x2b1933['ZVbYq'](_0x56dcce,_0x28d65a(_0x2a7b08._0x29fd7a,0x46))){const _0x10326e={};_0x10326e['nodePath']=_0x56205b,_0x10326e['scriptPa'+'th']=_0x908663,_0x10326e['pathEnv']=process.env.PATH??'';const _0x597379=writeServiceLauncher(_0x10326e);return ensureLaunchScriptExecutable(_0x597379,_0x56dcce),[_0x597379];}return[_0x56205b,_0x908663,_0x125e60(-_0x2a7b08._0x312da8,-0x85),_0x2b1933[_0x28d65a(0x126,_0x2a7b08._0x3d4102)]];}function getServiceStatus(){const _0x1f26be={_0xa8ae4:0x205,_0x4e6b20:0xf1,_0x164b7b:0x194,_0x24aebc:0x60,_0x1981df:0x33a,_0x4866d3:0x171,_0x3dc748:0x79,_0x176cec:0x9d,_0x23dd95:0x2e2,_0x296130:0x171,_0x80d97f:0x10b,_0x330ca7:0x1c,_0x3e87bb:0x181,_0x2773e9:0x66,_0x136659:0x70,_0x28e0af:0x17d,_0x2cd15a:0x136,_0x19ec34:0x373,_0x18bcf9:0x1b6,_0x16950d:0xac,_0x5bed2e:0x301,_0x34aa71:0x175,_0x31ba5e:0x34,_0x12e994:0x23,_0x4440dc:0xc3,_0x4122bc:0x11f,_0x5aafb6:0xc7,_0x5bde7d:0xce,_0x5ea8bb:0x159,_0x5f3eef:0x7b,_0x469a60:0x237,_0x171af8:0xa4,_0x570f94:0x39},_0x22a22b={'ewEtT':function(_0x5c7c2d,_0x241952){return _0x5c7c2d!=_0x241952;},'gZzzs':function(_0x234d17,_0xa2ddd1){return _0x234d17(_0xa2ddd1);}};ensureServiceDirs();const _0x32df71=readServiceState()?.[_0x54ccb6(-_0x1f26be._0xa8ae4,-0xa0)]??null;function _0x4e1c27(_0x55794a,_0x57f703){return _0x5cc096(_0x55794a,_0x57f703- -0x680);}const _0x4e1200={'installed':![],'running':_0x22a22b[_0x4e1c27(-_0x1f26be._0x4e6b20,-0x71)](_0x32df71,null)&&_0x22a22b[_0x54ccb6(_0x1f26be._0x164b7b,0x25)](isPidRunning,_0x32df71),'method':detectServiceMethod(),'servicePath':getServicePath(),'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'pid':_0x32df71};_0x22a22b[_0x54ccb6(0x1ed,_0x1f26be._0x24aebc)](_0x4e1200[_0x4e1c27(-_0x1f26be._0x1981df,-_0x1f26be._0x4866d3)],null)&&!_0x4e1200[_0x4e1c27(_0x1f26be._0x3dc748,-_0x1f26be._0x176cec)]&&(clearServiceState(_0x4e1200[_0x4e1c27(-_0x1f26be._0x23dd95,-_0x1f26be._0x296130)]),_0x4e1200[_0x4e1c27(-0x6a,-0x171)]=null);function _0x54ccb6(_0x319047,_0x33a17f){return _0x5cc096(_0x319047,_0x33a17f- -0x5af);}switch(_0x4e1200['method']){case _0x4e1c27(_0x1f26be._0x80d97f,_0x1f26be._0x330ca7)+_0x4e1c27(-_0x1f26be._0x3e87bb,-0x46):_0x4e1200[_0x4e1c27(0x1f2,0xe5)+'d']=_0x22a22b[_0x4e1c27(_0x1f26be._0x2773e9,-0xac)](_0x150d4c,MACOS_PLIST_PATH);_0x4e1200[_0x4e1c27(_0x1f26be._0x136659,0xe5)+'d']&&(_0x4e1200[_0x4e1c27(-0x171,-0x9d)]=commandSucceeds('launchct'+'l',[_0x4e1c27(-0x268,-0x19f),SERVICE_LABEL])||_0x4e1200['running']);return _0x4e1200;case _0x4e1c27(_0x1f26be._0x28e0af,_0x1f26be._0x2cd15a)+_0x4e1c27(0x0,0x130):_0x4e1200[_0x54ccb6(_0x1f26be._0x19ec34,_0x1f26be._0x18bcf9)+'d']=_0x22a22b[_0x4e1c27(0x6f,-_0x1f26be._0x16950d)](_0x150d4c,LINUX_SERVICE_PATH);_0x4e1200[_0x54ccb6(0x173,0x1b6)+'d']&&(_0x4e1200[_0x54ccb6(0x1a0,0x34)]=commandSucceeds('systemct'+'l',['--user',_0x4e1c27(_0x1f26be._0x5bed2e,_0x1f26be._0x34aa71)+'e',_0x4e1c27(-0x15d,-0x9e),SYSTEMD_UNIT_NAME])||_0x4e1200[_0x54ccb6(0x6a,_0x1f26be._0x31ba5e)]);return _0x4e1200;case'windows-'+_0x4e1c27(-_0x1f26be._0x12e994,_0x1f26be._0x4440dc)+'stry':_0x4e1200[_0x4e1c27(0xb7,0xe5)+'d']=commandSucceeds(_0x4e1c27(0x1a2,0x21),[_0x4e1c27(_0x1f26be._0x4122bc,-0x2d),_0x4e1c27(0x202,0x107)+_0x4e1c27(-_0x1f26be._0x5aafb6,-_0x1f26be._0x5bde7d)+_0x4e1c27(0x6f,-_0x1f26be._0x5ea8bb)+'Windows\x5c'+_0x54ccb6(_0x1f26be._0x5f3eef,_0x1f26be._0x469a60)+_0x4e1c27(-_0x1f26be._0x171af8,_0x1f26be._0x570f94)+'un','/v',WINDOWS_RUN_KEY]);return _0x4e1200;default:return _0x4e1200;}}function installService(_0x1aacb5={}){const _0x45da2a={_0x55eb38:0x17f,_0x5ba06c:0x1d8,_0x103a75:0x20d,_0x56e12c:0x4ac,_0x3323be:0x25f,_0x543f0b:0x78,_0x1ae333:0x8f,_0x561559:0x83,_0xaa5995:0x125,_0x5a3a3c:0x378,_0x4977b6:0x180,_0x53cfe0:0x2f6,_0x594ba3:0x3ec,_0x59b52b:0x211,_0x35e286:0x23d,_0x4e0a37:0xa5,_0x3ffd98:0x1c6,_0x4bfc44:0x3ad,_0x161dc4:0x2af,_0x45d926:0x1f2,_0x54ce28:0x23d,_0x4cd15b:0x9c,_0x38816c:0x1cb,_0x5c6423:0x2da,_0x51ef2b:0x2d5,_0x454a89:0x483,_0x240b26:0xc7,_0x2ecd05:0x58,_0x391565:0x155,_0x5e62cd:0x212,_0x588293:0x25c,_0x556ae4:0x265,_0x283f86:0x116,_0x27825d:0xd2,_0x31b940:0x192,_0x1b1cf8:0xe8,_0x35fe27:0xcf,_0x4a9bcf:0x238,_0x2407bc:0x1f3,_0x433540:0x4f},_0x167a00={'uFNSI':function(_0x5b7001,_0x4f100e,_0x1e3cb6,_0x57091d){return _0x5b7001(_0x4f100e,_0x1e3cb6,_0x57091d);},'XsVXE':_0x1543f8(0x19c,0xc6),'ZRYHn':function(_0x20d610,_0x1048d8,_0x3fb5a7){return _0x20d610(_0x1048d8,_0x3fb5a7);},'Kspij':_0x1543f8(0x11c,0x17c),'QHLiH':_0x1543f8(0x265,_0x45da2a._0x55eb38)+'l','aesCJ':_0x1543f8(0x13e,_0x45da2a._0x5ba06c),'fWzHU':_0x1543f8(0x11b,_0x45da2a._0x103a75),'ftoME':_0x5a1ccf(_0x45da2a._0x56e12c,0x399),'hqsBj':_0x5a1ccf(_0x45da2a._0x3323be,0x111)};ensureServiceDirs();const _0x452244=getServiceProgramArgs(_0x1aacb5);function _0x1543f8(_0xa8be9,_0x4444e1){return _0x6023f8(_0x4444e1,_0xa8be9-0x39);}function _0x5a1ccf(_0x4d131a,_0x11e54b){return _0x6023f8(_0x4d131a,_0x11e54b-0xae);}switch(process[_0x1543f8(_0x45da2a._0x543f0b,-0x154)]){case _0x1543f8(0x31,-0xf3):_0x2fac94(MACOS_PLIST_PATH,_0x167a00[_0x5a1ccf(0x3b3,0x403)](buildMacosPlist,_0x452244,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x167a00[_0x5a1ccf(0x250,_0x45da2a._0x1ae333)]),_0x167a00[_0x5a1ccf(0x1d7,_0x45da2a._0x561559)](execIgnoreFailure,_0x1543f8(_0x45da2a._0xaa5995,0x28)+'l',[_0x167a00['Kspij'],'-w',MACOS_PLIST_PATH]);const _0x517541={};_0x517541[_0x5a1ccf(_0x45da2a._0x5a3a3c,0x23d)]='ignore',execFileSync(_0x1543f8(0x125,-0x7c)+'l',[_0x5a1ccf(0x53,_0x45da2a._0x4977b6),'-w',MACOS_PLIST_PATH],_0x517541);break;case _0x5a1ccf(_0x45da2a._0x53cfe0,_0x45da2a._0x594ba3):const _0x5857b9={};_0x5857b9[_0x5a1ccf(0x22d,0xb7)+'e']=!![],_0x1c7d00(dirname(LINUX_SERVICE_PATH),_0x5857b9),_0x2fac94(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x452244,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x5a1ccf(0x365,_0x45da2a._0x59b52b));const _0x1dba78={};_0x1dba78[_0x5a1ccf(0x296,_0x45da2a._0x35e286)]=_0x1543f8(0x9c,-_0x45da2a._0x4e0a37),execFileSync(_0x167a00[_0x1543f8(0x184,_0x45da2a._0x3ffd98)],[_0x167a00['aesCJ'],'daemon-r'+_0x5a1ccf(_0x45da2a._0x4bfc44,_0x45da2a._0x161dc4)],_0x1dba78);const _0x38b31b={};_0x38b31b[_0x5a1ccf(_0x45da2a._0x45d926,_0x45da2a._0x54ce28)]=_0x1543f8(_0x45da2a._0x4cd15b,_0x45da2a._0x38816c),execFileSync(_0x5a1ccf(0x2c2,_0x45da2a._0x5c6423)+'l',['--user','enable','--now',SYSTEMD_UNIT_NAME],_0x38b31b);break;case _0x167a00[_0x1543f8(_0x45da2a._0x51ef2b,_0x45da2a._0x454a89)]:stopRunningProcess(),execFileSync('reg',[_0x1543f8(_0x45da2a._0x240b26,_0x45da2a._0x2ecd05),_0x1543f8(0x32a,0x3ff)+_0x1543f8(_0x45da2a._0x391565,0x134)+'crosoft\x5c'+_0x1543f8(0x268,_0x45da2a._0x5e62cd)+'CurrentV'+_0x1543f8(_0x45da2a._0x588293,_0x45da2a._0x556ae4)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x167a00[_0x1543f8(0x238,_0x45da2a._0x283f86)],'/d',buildWindowsRunCommand(_0x452244),'/f'],{'stdio':_0x167a00[_0x1543f8(_0x45da2a._0x27825d,0x28d)]}),startDetachedWindowsService(_0x452244);break;default:throw new Error('Unsuppor'+_0x1543f8(0x20,_0x45da2a._0x31b940)+_0x1543f8(_0x45da2a._0x1b1cf8,0xb6)+_0x5a1ccf(_0x45da2a._0x35fe27,0x293)+_0x5a1ccf(_0x45da2a._0x4a9bcf,0x16d)+'tallatio'+_0x1543f8(_0x45da2a._0x2407bc,_0x45da2a._0x433540)+process['platform']);}return getServiceStatus();}function restartService(_0x449992={}){const _0x3459e1={_0x5c3526:0x57,_0x4d4575:0x17e,_0x2ba7e:0x247,_0x264388:0x226,_0x59670f:0x3e,_0x21e711:0x47,_0x4a0a1b:0x2d8,_0x378253:0x12e,_0x509182:0x11f,_0x455b58:0x52,_0x87a367:0x187,_0x263bad:0xac,_0x1d1d9c:0x17a,_0x25421d:0x23,_0x25a70f:0x212,_0xa2cea:0x194,_0x2271a1:0x179,_0x3dd8d9:0x40b,_0x1ec5fc:0x1b1,_0x45bf48:0x21c,_0x201d4b:0x1aa,_0x5f483f:0x520,_0x1c2e34:0x62,_0x367d05:0x408,_0x5107f9:0x591,_0x56dc8c:0x2ed,_0x19567e:0x1c7,_0x223b06:0x1c0,_0x57e035:0x137,_0x2027bb:0x1e0,_0x294397:0x306,_0x9baada:0x3f,_0xe54741:0x37,_0x58eada:0x46c,_0xa99bc:0x119,_0x2259ce:0x57,_0x53aa9f:0xca,_0x2cef6b:0x2b3,_0x2f06c4:0x15f},_0x54b8c8={_0x505b14:0x132},_0x383c7f={_0x141dfc:0x1b},_0x56d7e1={'ZMPNy':function(_0x23c094){return _0x23c094();},'TeErm':_0x123a52(_0x3459e1._0x5c3526,_0x3459e1._0x4d4575),'FBSEz':_0x123a52(0xc4,0xfe),'DiBii':_0x123a52(0x3d,0x120),'KJvig':_0x123a52(0x81,_0x3459e1._0x2ba7e)+'l','orMqV':_0x123a52(0xde,_0x3459e1._0x264388),'AYCuG':function(_0x3d7ee5,_0x5b33af){return _0x3d7ee5(_0x5b33af);},'Urhxw':function(_0x17ca02,_0x537d12){return _0x17ca02(_0x537d12);}};_0x56d7e1[_0x123a52(-_0x3459e1._0x59670f,0x15b)](ensureServiceDirs);function _0x123a52(_0x3a7d14,_0x20c2fa){return _0x6023f8(_0x3a7d14,_0x20c2fa-_0x383c7f._0x141dfc);}const _0x41c61=getServiceProgramArgs(_0x449992);function _0x533cca(_0x29cf42,_0x8af84e){return _0x6023f8(_0x8af84e,_0x29cf42-_0x54b8c8._0x505b14);}switch(process[_0x533cca(0x171,-_0x3459e1._0x21e711)]){case _0x533cca(0x12a,_0x3459e1._0x4a0a1b):if(!_0x150d4c(MACOS_PLIST_PATH))return installService(_0x449992);_0x2fac94(MACOS_PLIST_PATH,buildMacosPlist(_0x41c61,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x56d7e1[_0x123a52(0x1be,_0x3459e1._0x378253)]),execIgnoreFailure('launchct'+'l',[_0x56d7e1[_0x123a52(-_0x3459e1._0x509182,_0x3459e1._0x455b58)],'-w',MACOS_PLIST_PATH]);const _0x1570eb={};_0x1570eb[_0x123a52(_0x3459e1._0x87a367,0x1aa)]=_0x123a52(-_0x3459e1._0x263bad,0x7e),execFileSync(_0x123a52(0x22c,0x107)+'l',[_0x533cca(0x204,_0x3459e1._0x1d1d9c),'-w',MACOS_PLIST_PATH],_0x1570eb);break;case _0x533cca(0x470,0x462):if(!_0x150d4c(LINUX_SERVICE_PATH))return installService(_0x449992);const _0x12ec4f={};_0x12ec4f[_0x123a52(-_0x3459e1._0x25421d,0x24)+'e']=!![],_0x1c7d00(dirname(LINUX_SERVICE_PATH),_0x12ec4f),_0x2fac94(LINUX_SERVICE_PATH,buildLinuxSystemdUnit(_0x41c61,SERVICE_LOG_PATH,SERVICE_ERROR_LOG_PATH),_0x56d7e1[_0x533cca(0x245,0x260)]);const _0xd10ec3={};_0xd10ec3['stdio']=_0x533cca(0x195,_0x3459e1._0x25a70f),execFileSync(_0x123a52(_0x3459e1._0xa2cea,0x247)+'l',[_0x56d7e1[_0x533cca(_0x3459e1._0x2271a1,0x133)],_0x533cca(0x474,_0x3459e1._0x3dd8d9)+_0x123a52(_0x3459e1._0x1ec5fc,_0x3459e1._0x45bf48)],_0xd10ec3);const _0x572618={};_0x572618[_0x123a52(0x58,_0x3459e1._0x201d4b)]='ignore',execFileSync(_0x56d7e1[_0x533cca(0x420,_0x3459e1._0x5f483f)],[_0x56d7e1[_0x123a52(0x210,_0x3459e1._0x1c2e34)],_0x533cca(_0x3459e1._0x367d05,_0x3459e1._0x5107f9),SYSTEMD_UNIT_NAME],_0x572618);break;case _0x533cca(0x214,_0x3459e1._0x56dc8c):stopRunningProcess();const _0x280e52={};_0x280e52[_0x123a52(0x165,0x1aa)]=_0x533cca(0x195,-0xc),execFileSync(_0x56d7e1[_0x533cca(_0x3459e1._0x19567e,0x9d)],[_0x533cca(_0x3459e1._0x223b06,0x1f2),_0x123a52(0x1ca,0x30c)+_0x123a52(0x2d3,_0x3459e1._0x57e035)+'crosoft\x5c'+'Windows\x5c'+_0x533cca(0x482,0x3fa)+_0x123a52(_0x3459e1._0x2027bb,0x23e)+'un','/v',WINDOWS_RUN_KEY,'/t',_0x123a52(0x467,_0x3459e1._0x294397),'/d',_0x56d7e1[_0x123a52(_0x3459e1._0x9baada,_0x3459e1._0xe54741)](buildWindowsRunCommand,_0x41c61),'/f'],_0x280e52),_0x56d7e1[_0x123a52(_0x3459e1._0x58eada,0x2a1)](startDetachedWindowsService,_0x41c61);break;default:throw new Error('Unsuppor'+_0x533cca(_0x3459e1._0xa99bc,0x2c3)+_0x123a52(-_0x3459e1._0x2259ce,_0x3459e1._0x53aa9f)+_0x123a52(0x19a,0x200)+_0x533cca(_0x3459e1._0x2cef6b,_0x3459e1._0x2f06c4)+'tart:\x20'+process['platform']);}return getServiceStatus();}function uninstallService(){const _0x440964={_0x37b4ef:0x11b,_0x116068:0x244,_0x4b0ce4:0xd2,_0x5c9c8e:0x2e,_0x49956e:0x19c,_0x1d758e:0xe3,_0x1ad476:0x374,_0x7dbfc5:0xc,_0x8114b5:0x86,_0x43cc18:0x25b,_0x3544c1:0x1ad,_0x187622:0x171,_0x41b29a:0x2ba,_0x405c62:0x1,_0x4439a5:0x47,_0x13c73b:0x20b,_0x397b02:0x1d5,_0x355116:0x259,_0x28e5c7:0x80,_0x52ba27:0x1a,_0x4df7c9:0x23f,_0x3d209b:0x54},_0x360508={'wOoVs':_0x15328b(_0x440964._0x37b4ef,_0x440964._0x116068)+'l','WVcdu':'disable','wvOSE':function(_0x6b1b45){return _0x6b1b45();}};stopRunningProcess();switch(process[_0x15328b(-_0x440964._0x4b0ce4,0xc7)]){case _0x15328b(-0x119,_0x440964._0x5c9c8e):execIgnoreFailure('launchct'+'l',[_0x10cb15(_0x440964._0x49956e,_0x440964._0x1d758e),'-w',MACOS_PLIST_PATH]),rmIfExists(MACOS_PLIST_PATH);break;case'linux':_0x150d4c(LINUX_SERVICE_PATH)&&(execIgnoreFailure(_0x360508[_0x15328b(0x245,_0x440964._0x1ad476)],[_0x15328b(-_0x440964._0x7dbfc5,-_0x440964._0x8114b5),_0x360508[_0x10cb15(0xcd,_0x440964._0x43cc18)],_0x15328b(_0x440964._0x3544c1,0x21d),SYSTEMD_UNIT_NAME]),rmIfExists(LINUX_SERVICE_PATH),execIgnoreFailure('systemct'+'l',[_0x10cb15(0x1be,_0x440964._0x187622),'daemon-r'+_0x10cb15(_0x440964._0x41b29a,0x253)]));break;case _0x10cb15(0x19b,_0x440964._0x405c62):execIgnoreFailure('reg',[_0x15328b(_0x440964._0x4439a5,_0x440964._0x13c73b),'HKCU\x5cSof'+_0x10cb15(_0x440964._0x397b02,_0x440964._0x355116)+_0x15328b(-_0x440964._0x28e5c7,-_0x440964._0x52ba27)+'Windows\x5c'+_0x15328b(_0x440964._0x4df7c9,0x141)+'ersion\x5cR'+'un','/v',WINDOWS_RUN_KEY,'/f']);break;default:break;}function _0x15328b(_0x14ed61,_0x3d6432){return _0x6023f8(_0x3d6432,_0x14ed61- -0x111);}clearServiceState();function _0x10cb15(_0x249314,_0x52c1fc){return _0x6023f8(_0x52c1fc,_0x249314-0xb9);}return _0x360508[_0x15328b(0xbe,-_0x440964._0x3d209b)](getServiceStatus);}function stopService(){const _0x123ee6={_0xf7c239:0x2cc,_0x517605:0x17b,_0x4f136b:0x4c6,_0x520a76:0x44b,_0x4ae18b:0x2e0,_0x166b2b:0x243,_0x3f9dd7:0x3be,_0x1e6e20:0x80};function _0x57ad8a(_0x428aa1,_0x26e8aa){return _0x5cc096(_0x428aa1,_0x26e8aa- -0x389);}const _0x114e39={'BzpDS':_0x57ad8a(0x3ae,0x1f9)+'l','DLNBm':'win32','nbDHH':function(_0x324f59){return _0x324f59();}};function _0x51621c(_0x6cc426,_0x11d501){return _0x5cc096(_0x6cc426,_0x11d501- -0x528);}stopRunningProcess();switch(process['platform']){case _0x51621c(0xfd,-0x9a):_0x150d4c(MACOS_PLIST_PATH)&&execIgnoreFailure(_0x114e39[_0x51621c(_0x123ee6._0xf7c239,_0x123ee6._0x517605)],['unload',MACOS_PLIST_PATH]);break;case _0x57ad8a(_0x123ee6._0x4f136b,_0x123ee6._0x520a76):_0x150d4c(LINUX_SERVICE_PATH)&&execIgnoreFailure(_0x51621c(_0x123ee6._0x4ae18b,0x19a)+'l',['--user','stop',SYSTEMD_UNIT_NAME]);break;case _0x114e39[_0x57ad8a(_0x123ee6._0x166b2b,_0x123ee6._0x3f9dd7)]:break;default:break;}return _0x114e39[_0x51621c(-_0x123ee6._0x1e6e20,0x3a)](clearServiceState),getServiceStatus();}function writeServiceState(_0xacec95=process[_0x6023f8(0xeb,0x79)]){const _0x17f4de={_0x45db11:0x1e8,_0x1a22ba:0x8a};ensureServiceDirs();const _0x476660={'pid':_0xacec95,'startedAt':new Date()[_0x533b7a(-_0x17f4de._0x45db11,-_0x17f4de._0x1a22ba)+'ing']()};function _0x533b7a(_0x4ec6d3,_0x255cdf){return _0x6023f8(_0x255cdf,_0x4ec6d3- -0x1e1);}_0x2fac94(SERVICE_STATE_PATH,JSON['stringif'+'y'](_0x476660,null,0x2)+'\x0a','utf8');}function clearServiceState(_0x1cb0a4){if(!_0x150d4c(SERVICE_STATE_PATH))return;if(_0x1cb0a4!=null){const _0x4c1a41=readServiceState();if(_0x4c1a41&&_0x4c1a41[_0xde935a(0x24e,0xee)]!==_0x1cb0a4)return;}function _0xde935a(_0x257667,_0x3b9eba){return _0x6023f8(_0x3b9eba,_0x257667-0x1d5);}rmIfExists(SERVICE_STATE_PATH);}function getServicePaths(){return{'logPath':SERVICE_LOG_PATH,'errorLogPath':SERVICE_ERROR_LOG_PATH,'servicePath':getServicePath()};}function buildMacosPlist(_0x25ba7a,_0x23182,_0x461440){const _0x486d8c={_0x4e4648:0xec,_0x27e93e:0x478,_0x2cda16:0x4a1,_0x584c77:0x2a2,_0x228566:0x3ba,_0x24704f:0x1f4,_0x315ef3:0x4c3,_0x51a2f3:0xa2,_0x15a130:0x12c,_0x42e3aa:0x24f,_0x491cb7:0x370,_0x12b955:0x413,_0x5b3cbd:0x1c3,_0x13fc79:0xc7,_0x45a09c:0x10c,_0xfaf67f:0x1ec,_0x21f397:0x389,_0x16030e:0x1cb,_0x21064a:0x94,_0x1758e5:0x52,_0x25fc55:0x13f,_0x304764:0x189,_0x1d132:0x316,_0x3dd364:0x2a9,_0x25e032:0x208,_0x36ad21:0x9,_0x57db5f:0x28e,_0x32237d:0x1e8,_0x52d604:0x2f4,_0x4c571e:0x133,_0x198f26:0x222,_0x2a2609:0x94,_0x1b0a25:0xd4,_0x33b97a:0x4ff,_0x3de983:0x61,_0x18fa60:0x142,_0x2f9041:0xd6,_0x15ffb6:0xf2,_0x2eaf51:0x2f2,_0x374e09:0x201,_0x5a715c:0x12d,_0x1d3774:0x73,_0x395d35:0x40d},_0x16827a={_0x2f5a1a:0x6fd},_0x4ceb0c={'gUbnj':function(_0x217ba0,_0x316383){return _0x217ba0(_0x316383);}};function _0x4ff3eb(_0x48c870,_0x2d9a20){return _0x5cc096(_0x48c870,_0x2d9a20- -_0x16827a._0x2f5a1a);}function _0x475348(_0xb9129d,_0x49746a){return _0x5cc096(_0xb9129d,_0x49746a- -0x35d);}const _0x1a3576=_0x25ba7a[_0x4ff3eb(-0x1f8,-_0x486d8c._0x4e4648)](_0x7a8a62=>_0x4ff3eb(-0x356,-0x18c)+'ing>'+escapeXml(_0x7a8a62)+(_0x4ff3eb(0x116,0x97)+'>'))[_0x475348(0x2e2,_0x486d8c._0x27e93e)]('\x0a');return _0x4ff3eb(-0x1aa,-0x206)+_0x475348(_0x486d8c._0x2cda16,0x3f4)+'.0\x22\x20enco'+'ding=\x22UT'+_0x475348(_0x486d8c._0x584c77,_0x486d8c._0x228566)+_0x475348(0x39d,_0x486d8c._0x24704f)+_0x475348(_0x486d8c._0x315ef3,0x432)+'UBLIC\x20\x22-'+_0x4ff3eb(_0x486d8c._0x51a2f3,-_0x486d8c._0x15a130)+'/DTD\x20PLI'+'ST\x201.0//'+'EN\x22\x20\x22htt'+_0x475348(0xa8,0x26e)+_0x475348(_0x486d8c._0x42e3aa,_0x486d8c._0x491cb7)+_0x475348(0x40c,_0x486d8c._0x12b955)+_0x475348(_0x486d8c._0x5b3cbd,0x230)+_0x475348(_0x486d8c._0x13fc79,_0x486d8c._0x45a09c)+_0x475348(0x42,_0x486d8c._0xfaf67f)+_0x475348(0x25f,0x428)+_0x475348(_0x486d8c._0x21f397,_0x486d8c._0x16030e)+_0x4ff3eb(-_0x486d8c._0x21064a,-0x10e)+_0x4ff3eb(-0x2f,0xb5)+_0x475348(_0x486d8c._0x1758e5,_0x486d8c._0x25fc55)+_0x4ff3eb(0x42,0xce)+_0x475348(_0x486d8c._0x304764,_0x486d8c._0x1d132)+SERVICE_LABEL+(_0x475348(0x2c1,0x437)+_0x475348(_0x486d8c._0x3dd364,_0x486d8c._0x25e032)+'>Program'+'Argument'+_0x475348(-_0x486d8c._0x36ad21,0x12e)+_0x4ff3eb(-_0x486d8c._0x57db5f,-_0x486d8c._0x32237d)+'>\x0a')+_0x1a3576+(_0x4ff3eb(-_0x486d8c._0x52d604,-_0x486d8c._0x4c571e)+_0x4ff3eb(-0x10c,-_0x486d8c._0x198f26)+_0x4ff3eb(-_0x486d8c._0x2a2609,-0x193)+_0x475348(_0x486d8c._0x1b0a25,0x167)+_0x475348(_0x486d8c._0x33b97a,0x3f3)+_0x4ff3eb(0x59,0x59)+_0x4ff3eb(0x94,_0x486d8c._0x3de983)+_0x475348(0x481,0x463)+'ey>\x0a\x20\x20<t'+'rue/>\x0a\x20\x20'+_0x475348(0x3fd,0x323)+_0x475348(0x4f1,0x380)+_0x4ff3eb(-_0x486d8c._0x18fa60,-_0x486d8c._0x2f9041)+_0x4ff3eb(0x2ae,_0x486d8c._0x15ffb6)+_0x475348(_0x486d8c._0x2eaf51,0x2f4))+escapeXml(_0x23182)+('</string'+_0x475348(0x27e,0x208)+_0x4ff3eb(-0x326,-_0x486d8c._0x374e09)+'dErrorPa'+_0x4ff3eb(_0x486d8c._0x5a715c,-_0x486d8c._0x1d3774)+'\x0a\x20\x20<stri'+'ng>')+_0x4ceb0c[_0x475348(0x373,_0x486d8c._0x395d35)](escapeXml,_0x461440)+(_0x4ff3eb(0xc,0x97)+'>\x0a</dict'+_0x4ff3eb(-0x110,-0x12d)+_0x4ff3eb(-0x3ba,-0x295));}function buildLinuxSystemdUnit(_0x123ac3,_0x1b9952,_0xee4880){const _0x4652fb={_0x2642dd:0x742,_0x29af65:0x71e,_0x5a8d5a:0x54b,_0x301ad5:0x6d3,_0x3b2617:0x3d0,_0xcd10d4:0x3b1,_0x1c375f:0x3d7,_0x5aa767:0x5b4,_0x5b5c92:0x6ab,_0x7ffbfd:0x713,_0x5f3019:0x617,_0x592d5e:0x77c,_0x9faafc:0x90a,_0x5b5cdc:0x75c,_0x4b685f:0x7e3,_0x13099c:0x580,_0x5c29f4:0x58e,_0x412309:0x6b9,_0x11f7e0:0x78f,_0xbba96b:0x6ea,_0x261ed3:0x77b,_0x54e9f1:0x6ff,_0x4dcd12:0x4de,_0x2a5520:0x5cf,_0x17be8b:0x602,_0x2c4efc:0x381},_0x2171ea={_0x2799eb:0x1b};function _0x3c8237(_0x307656,_0x7fbc52){return _0x5cc096(_0x7fbc52,_0x307656- -0xf1);}const _0x2bb4db={'ScbBA':function(_0x313528,_0x1baf2e){return _0x313528(_0x1baf2e);}};function _0xda10da(_0x50346a,_0x44c449){return _0x5cc096(_0x44c449,_0x50346a-_0x2171ea._0x2799eb);}const _0x5dab5e=_0x123ac3[_0xda10da(0x62c,_0x4652fb._0x2642dd)](escapeSystemdArg)[_0xda10da(0x7f0,_0x4652fb._0x29af65)]('\x20');return _0xda10da(_0x4652fb._0x5a8d5a,0x513)+_0x3c8237(0x51f,_0x4652fb._0x301ad5)+_0x3c8237(_0x4652fb._0x3b2617,_0x4652fb._0xcd10d4)+_0xda10da(0x650,0x522)+_0xda10da(0x53b,_0x4652fb._0x1c375f)+_0x3c8237(0x6c8,0x563)+_0x3c8237(_0x4652fb._0x5aa767,0x4a8)+_0xda10da(_0x4652fb._0x5b5c92,_0x4652fb._0x7ffbfd)+_0x3c8237(_0x4652fb._0x5f3019,_0x4652fb._0x592d5e)+_0xda10da(0x78c,_0x4652fb._0x9faafc)+_0x3c8237(0x639,_0x4652fb._0x5b5cdc)+_0xda10da(0x703,_0x4652fb._0x4b685f)+'Service]'+_0x3c8237(0x36a,0x375)+_0xda10da(0x4f1,_0x4652fb._0x13099c)+_0x3c8237(0x46b,0x59c)+_0x5dab5e+(_0x3c8237(_0x4652fb._0x5c29f4,0x53c)+_0xda10da(0x6d8,0x734)+_0x3c8237(0x682,0x7e9)+'ec=2\x0aWor'+_0xda10da(_0x4652fb._0x412309,0x87d)+_0xda10da(_0x4652fb._0x11f7e0,0x796))+_0x2bb4db['ScbBA'](escapeSystemdArg,SERVICE_DIR)+(_0xda10da(_0x4652fb._0xbba96b,0x557)+_0xda10da(_0x4652fb._0x261ed3,_0x4652fb._0x54e9f1)+'append:')+_0x1b9952+('\x0aStandar'+_0xda10da(_0x4652fb._0x4dcd12,_0x4652fb._0x2a5520)+'ppend:')+_0xee4880+('\x0a\x0a[Insta'+_0x3c8237(0x483,_0x4652fb._0x17be8b)+_0xda10da(0x659,0x6bf)+'ault.tar'+_0x3c8237(_0x4652fb._0x2c4efc,0x37a));}function getServicePath(){const _0x5c864d={_0x409626:0x17e,_0xc22e21:0x186,_0x217293:0x345,_0x4b2571:0x17e,_0x553d64:0x113,_0x2440b7:0x4a,_0x9d30e:0x1c0,_0x2708a2:0x244,_0x5c2e5e:0x2e,_0x2ef47d:0x123,_0x3c4306:0x187,_0xaf2bbf:0x21},_0x136872={};function _0x28176e(_0x394ee1,_0x2a0bb8){return _0x5cc096(_0x2a0bb8,_0x394ee1- -0x4dd);}_0x136872[_0x28176e(_0x5c864d._0x409626,0x323)]=_0x64e0b0(-0x1fd,-_0x5c864d._0xc22e21);function _0x64e0b0(_0x3b2039,_0xf22f29){return _0x5cc096(_0xf22f29,_0x3b2039- -0x68b);}const _0x432b55=_0x136872;switch(process[_0x64e0b0(-0x1b6,-_0x5c864d._0x217293)]){case _0x432b55[_0x28176e(_0x5c864d._0x4b2571,0x303)]:return MACOS_PLIST_PATH;case'linux':return LINUX_SERVICE_PATH;case _0x64e0b0(-_0x5c864d._0x553d64,-0x1c):return _0x28176e(0x2aa,0x19c)+_0x28176e(0xd5,0x1f4)+_0x28176e(_0x5c864d._0x2440b7,_0x5c864d._0x9d30e)+_0x28176e(0x1e8,_0x5c864d._0x2708a2)+'CurrentV'+_0x64e0b0(_0x5c864d._0x5c2e5e,-0x158)+_0x28176e(_0x5c864d._0x2ef47d,_0x5c864d._0x3c4306)+_0x64e0b0(0x117,-0x4d)+_0x64e0b0(0xe3,-_0x5c864d._0xaf2bbf);default:return'';}}function detectServiceMethod(){const _0x48a941={_0x4acd43:0x491,_0xef6e21:0x462,_0x10609e:0x220,_0x2164cc:0x1d8,_0x2acf57:0x25f,_0x216640:0x416,_0x7ab585:0x505,_0xc0e4b1:0x3b8,_0x17eb7e:0x3b9},_0x159644={_0x50a744:0x1c7},_0x24a165={};_0x24a165[_0x5eab69(_0x48a941._0x4acd43,_0x48a941._0xef6e21)]=_0x494896(0x4e7,0x3e6)+_0x5eab69(0x4b3,0x61b),_0x24a165[_0x494896(0x440,0x567)]=_0x494896(0x2a9,_0x48a941._0x10609e);function _0x5eab69(_0x35aafe,_0x41a57f){return _0x6023f8(_0x41a57f,_0x35aafe-0x199);}const _0x33f09f=_0x24a165;function _0x494896(_0x36bf98,_0x1bf5a7){return _0x6023f8(_0x1bf5a7,_0x36bf98-_0x159644._0x50a744);}switch(process[_0x5eab69(_0x48a941._0x2164cc,_0x48a941._0x2acf57)]){case'darwin':return _0x494896(0x3cd,_0x48a941._0x216640)+'ent';case _0x494896(_0x48a941._0x7ab585,0x5e3):return _0x33f09f['NBFsK'];case _0x33f09f[_0x5eab69(0x412,0x5a2)]:return'windows-'+_0x494896(0x474,0x5fc)+_0x5eab69(0x3fd,0x57a);default:return _0x5eab69(0x399,0x367)+_0x494896(_0x48a941._0xc0e4b1,_0x48a941._0x17eb7e);}}function readServiceState(){const _0x30dbe2={_0x285ded:0x25e,_0x413bb9:0x27e,_0x4c2bea:0x1ad,_0x24575b:0x313,_0x599ad4:0x230,_0x18b638:0x1cc,_0x3bbbb1:0x1fa,_0x3d3177:0x194,_0x1cd44a:0x103,_0x29f938:0xe2,_0x1b0a10:0x52,_0x45716c:0x114},_0x243dd4={_0x4c90c0:0x134},_0x2a405a={_0x3635f7:0x11b};function _0x5d1c89(_0x5d39e4,_0x127fd4){return _0x6023f8(_0x5d39e4,_0x127fd4-_0x2a405a._0x3635f7);}function _0x3da5a3(_0x1a6f0e,_0x31cc0c){return _0x6023f8(_0x31cc0c,_0x1a6f0e-_0x243dd4._0x4c90c0);}if(!_0x150d4c(SERVICE_STATE_PATH))return null;try{const _0x18da44=JSON['parse'](_0x350f7f(SERVICE_STATE_PATH,_0x5d1c89(_0x30dbe2._0x285ded,_0x30dbe2._0x413bb9)));if(!_0x18da44[_0x3da5a3(0x1ad,0xcc)]||typeof _0x18da44[_0x3da5a3(_0x30dbe2._0x4c2bea,_0x30dbe2._0x24575b)]!==_0x5d1c89(_0x30dbe2._0x599ad4,_0x30dbe2._0x18b638))return null;return{'pid':_0x18da44[_0x5d1c89(_0x30dbe2._0x3bbbb1,_0x30dbe2._0x3d3177)],'startedAt':_0x18da44[_0x3da5a3(_0x30dbe2._0x1cd44a,_0x30dbe2._0x29f938)+'t']??new Date(0x0)[_0x5d1c89(-_0x30dbe2._0x1b0a10,_0x30dbe2._0x45716c)+'ing']()};}catch{return null;}}function stopRunningProcess(){const _0x27f5af={_0x4182ee:0x394,_0x152dd7:0x108,_0x37c125:0xc7,_0x219535:0x65,_0x52317c:0x26,_0x2dbb86:0x220,_0x30662e:0x2c1,_0x17f167:0xb7,_0x19654f:0x2fb},_0x40d216={_0x5bb27e:0x214},_0x4b71cb={_0x4fd6fa:0x5dd};function _0x79dd60(_0x12047c,_0x1a867d){return _0x5cc096(_0x1a867d,_0x12047c- -_0x4b71cb._0x4fd6fa);}function _0x3da340(_0x1e7181,_0x452795){return _0x5cc096(_0x452795,_0x1e7181- -_0x40d216._0x5bb27e);}const _0x5393cd={'jiGVD':_0x3da340(0x364,_0x27f5af._0x4182ee),'UZZlU':function(_0x305429,_0x517474){return _0x305429(_0x517474);}},_0xd0db28=readServiceState();if(!_0xd0db28)return;execIgnoreFailure(process[_0x79dd60(-_0x27f5af._0x152dd7,-_0x27f5af._0x37c125)]===_0x79dd60(-_0x27f5af._0x219535,-_0x27f5af._0x52317c)?'taskkill':_0x79dd60(0x9b,_0x27f5af._0x2dbb86),process[_0x3da340(_0x27f5af._0x30662e,0x1c3)]===_0x5393cd['jiGVD']?[_0x3da340(0x4e3,0x559),String(_0xd0db28[_0x79dd60(-0xce,-_0x27f5af._0x17f167)]),'/T','/F']:['-TERM',String(_0xd0db28['pid'])]),_0x5393cd['UZZlU'](clearServiceState,_0xd0db28[_0x3da340(_0x27f5af._0x19654f,0x3a9)]);}function isPidRunning(_0x42c0cf){try{return process['kill'](_0x42c0cf,0x0),!![];}catch{return![];}}function startDetachedWindowsService(_0x1e06f0){const _0x3ffb07={_0x2519c7:0xe8,_0x4ba68c:0x59,_0x24ca13:0x186,_0x3d781a:0x28,_0x6d5e8e:0x145,_0x25006e:0x9f},_0x765777={_0x2824a8:0x1e9},_0x43661b={'OHKjC':function(_0x55d199,_0x2ea1cb,_0xe2cddd){return _0x55d199(_0x2ea1cb,_0xe2cddd);},'DaYCA':function(_0x4bb352,_0x272e99){return _0x4bb352(_0x272e99);}},_0x4ac29e=_0x43661b['OHKjC'](openSync,SERVICE_LOG_PATH,'a');function _0x33d6cf(_0x2f9935,_0x551fb7){return _0x6023f8(_0x2f9935,_0x551fb7- -_0x765777._0x2824a8);}function _0x204276(_0xd986a8,_0x2b0000){return _0x6023f8(_0x2b0000,_0xd986a8- -0x48);}const _0xa1b554=openSync(SERVICE_ERROR_LOG_PATH,'a');try{const [_0x53f142,..._0x47c37e]=_0x1e06f0,_0x59a3af={};_0x59a3af[_0x33d6cf(0xb0,-_0x3ffb07._0x2519c7)]=!![],_0x59a3af[_0x33d6cf(_0x3ffb07._0x4ba68c,-0x5a)]=[_0x33d6cf(-0x1e1,-_0x3ffb07._0x24ca13),_0x4ac29e,_0xa1b554],_0x59a3af['windowsH'+'ide']=!![];const _0x461acf=spawn(_0x53f142,_0x47c37e,_0x59a3af);_0x461acf[_0x204276(-_0x3ffb07._0x3d781a,0x5a)]();}finally{_0x43661b[_0x204276(_0x3ffb07._0x6d5e8e,_0x3ffb07._0x25006e)](closeSync,_0x4ac29e),closeSync(_0xa1b554);}}function resolveScriptPath(_0x326a35){const _0x2420a8={_0x343b03:0x2fd,_0x2d2248:0x4ad,_0x4f0ac2:0x4cd,_0xae9e2f:0x2cd},_0x1dc40f={_0x272e1e:0x204},_0x3a2322={_0x53c03e:0x1fb};function _0x15e150(_0x18f3f3,_0x36ffe){return _0x6023f8(_0x18f3f3,_0x36ffe-_0x3a2322._0x53c03e);}const _0x33caa9={'SeUkv':function(_0x52c57f,_0x3441fb){return _0x52c57f(_0x3441fb);}},_0x59ae11=_0x326a35?.[_0x10081e(0x47e,_0x2420a8._0x343b03)]()||process[_0x10081e(_0x2420a8._0x2d2248,_0x2420a8._0x4f0ac2)][0x1]?.['trim']()||'';if(!_0x59ae11)return'';function _0x10081e(_0x2eca94,_0x59db7f){return _0x6023f8(_0x2eca94,_0x59db7f-_0x1dc40f._0x272e1e);}try{return _0x33caa9[_0x10081e(_0x2420a8._0xae9e2f,0x26d)](realpathSync,_0x59ae11);}catch{return _0x59ae11;}}function ensureLaunchScriptExecutable(_0x319f72,_0x5611e2){function _0x30fdcd(_0x2fe6b8,_0x51f33b){return _0x6023f8(_0x2fe6b8,_0x51f33b-0x4b4);}if(_0x5611e2===_0x30fdcd(0x510,0x596)||!_0x150d4c(_0x319f72))return;try{chmodSync(_0x319f72,0x1ed);}catch{}}function writeServiceLauncher(_0x390317){const _0x3ccc7e={_0x3580c1:0x1d6,_0x500841:0x48e,_0x4e7362:0x175,_0x174fa4:0x57,_0x422670:0xdb,_0x4fd7ba:0x91,_0x192388:0x5af,_0x3b983d:0x176,_0x2c9e8a:0x57,_0x469813:0x473,_0x2ab007:0x3d0,_0x210544:0x658,_0x17f008:0x4ff,_0x1c763d:0x6d0,_0x5546ad:0x762,_0x5b7e88:0x24d,_0x652c6:0x168,_0x2725e7:0x605,_0x523dee:0x3fd,_0x4e88e5:0x481,_0x599c69:0x700,_0x5c9b0c:0x169,_0x4ba619:0x125,_0x5784ff:0x71a,_0x1c8c1a:0xff,_0x594b83:0x11e,_0x9e8bd6:0x20,_0x33a81b:0x181,_0x149320:0xae,_0x3336eb:0xaf,_0x21dfb8:0x46b,_0x3e448c:0xf1,_0x58c734:0x7cd},_0x4dc6be={_0x56c9a7:0x1c4},_0x232191={'KAWIZ':function(_0x1c286f,_0x53e594){return _0x1c286f(_0x53e594);},'tqCxh':_0xcacf3c(_0x3ccc7e._0x3580c1,0x16f)+'ode\x20\x22$SC'+_0x1cd494(0x455,_0x3ccc7e._0x500841)+_0xcacf3c(0x39,0xdf)+'-service'};function _0xcacf3c(_0x2a7976,_0x2319cf){return _0x6023f8(_0x2a7976,_0x2319cf- -_0x4dc6be._0x56c9a7);}ensureServiceDirs();function _0x1cd494(_0x92fbe9,_0x10d34b){return _0x6023f8(_0x10d34b,_0x92fbe9-0x48e);}const _0x2f7547=['#!/bin/s'+'h','export\x20P'+_0xcacf3c(_0x3ccc7e._0x4e7362,-_0x3ccc7e._0x174fa4)+escapeShellDoubleQuoted(_0x390317[_0xcacf3c(_0x3ccc7e._0x422670,_0x3ccc7e._0x4fd7ba)])+'\x22','NODE_PAT'+_0x1cd494(0x67b,_0x3ccc7e._0x192388)+_0x232191['KAWIZ'](escapeShellDoubleQuoted,_0x390317['nodePath'])+'\x22',_0x1cd494(0x4b8,0x3c8)+_0xcacf3c(_0x3ccc7e._0x3b983d,-_0x3ccc7e._0x2c9e8a)+escapeShellDoubleQuoted(_0x390317[_0x1cd494(_0x3ccc7e._0x469813,_0x3ccc7e._0x2ab007)+'th'])+'\x22',_0xcacf3c(0x11c,0xd4)+'\x22$NODE_P'+_0x1cd494(_0x3ccc7e._0x210544,_0x3ccc7e._0x17f008)+_0x1cd494(_0x3ccc7e._0x1c763d,_0x3ccc7e._0x5546ad),'\x20\x20exec\x20\x22'+'$NODE_PA'+_0xcacf3c(-_0x3ccc7e._0x5b7e88,-_0x3ccc7e._0x652c6)+'RIPT_PAT'+_0x1cd494(0x731,_0x3ccc7e._0x2725e7)+_0x1cd494(0x665,0x7af),'fi',_0x1cd494(0x53c,_0x3ccc7e._0x523dee)+_0x1cd494(_0x3ccc7e._0x4e88e5,0x56b)+_0x1cd494(0x4fc,0x6c8)+_0x1cd494(0x710,_0x3ccc7e._0x599c69)+_0xcacf3c(_0x3ccc7e._0x5c9b0c,_0x3ccc7e._0x4ba619),_0x232191['tqCxh'],'fi','echo\x20\x22no'+_0x1cd494(_0x3ccc7e._0x5784ff,0x6a2)+_0xcacf3c(_0x3ccc7e._0x1c8c1a,_0x3ccc7e._0x594b83)+_0xcacf3c(-_0x3ccc7e._0x9e8bd6,_0x3ccc7e._0x33a81b)+_0x1cd494(0x5fe,0x52b)+_0xcacf3c(-_0x3ccc7e._0x149320,-_0x3ccc7e._0x3336eb)+'service\x22'+_0x1cd494(_0x3ccc7e._0x21dfb8,0x31f),_0xcacf3c(0x13d,_0x3ccc7e._0x3e448c),''];return _0x2fac94(SERVICE_LAUNCHER_PATH,_0x2f7547[_0x1cd494(_0x3ccc7e._0x58c734,0x7e5)]('\x0a'),'utf8'),SERVICE_LAUNCHER_PATH;}function escapeShellDoubleQuoted(_0x1ab420){const _0x422238={_0x50889e:0x123,_0x1c5baf:0x16b,_0x27df47:0x2d9},_0x1d616b={_0x21c247:0x154};function _0x3e6c24(_0x989a9f,_0x225a48){return _0x6023f8(_0x989a9f,_0x225a48- -_0x1d616b._0x21c247);}function _0x115877(_0x3de070,_0x2e8134){return _0x6023f8(_0x3de070,_0x2e8134-0x11f);}return _0x1ab420[_0x3e6c24(-0x253,-0x150)+'ll']('\x5c','\x5c\x5c')[_0x115877(0x134,_0x422238._0x50889e)+'ll']('\x22','\x5c\x22')[_0x3e6c24(-_0x422238._0x1c5baf,-0x150)+'ll']('$','\x5c$')[_0x115877(_0x422238._0x27df47,0x123)+'ll']('`','\x5c`');}function buildWindowsRunCommand(_0x3aad0c){const _0x924bd8={_0x41172e:0x4ae};function _0x1fd4d0(_0x4b5c52,_0x267053){return _0x6023f8(_0x4b5c52,_0x267053-0x333);}function _0x58eb50(_0xdfd89a,_0x4eb9cc){return _0x6023f8(_0x4eb9cc,_0xdfd89a-0x22c);}return _0x3aad0c[_0x1fd4d0(0x568,_0x924bd8._0x41172e)](escapeWindowsArg)[_0x58eb50(0x56b,0x604)]('\x20');}function ensureServiceDirs(){const _0x38af06={_0xf2e8c6:0xd9,_0x2d5153:0xeb,_0x427ff6:0x27d,_0x5cb65a:0x3c0,_0x1a3bbd:0x7d,_0x57cc6a:0x7e},_0x405ad8={'gTfCm':function(_0x3c34c7,_0xccd237,_0x5d3484){return _0x3c34c7(_0xccd237,_0x5d3484);},'RMFXc':function(_0x225611,_0x5743a1,_0x422cdf){return _0x225611(_0x5743a1,_0x422cdf);}};function _0x4d48ef(_0x4b3e2a,_0x504ad7){return _0x5cc096(_0x4b3e2a,_0x504ad7- -0x3b4);}function _0x326ab3(_0x1257fb,_0x2d46c1){return _0x5cc096(_0x2d46c1,_0x1257fb- -0x422);}const _0x2c6906={};_0x2c6906[_0x4d48ef(-_0x38af06._0xf2e8c6,_0x38af06._0x2d5153)+'e']=!![],_0x405ad8[_0x326ab3(_0x38af06._0x427ff6,_0x38af06._0x5cb65a)](_0x1c7d00,SERVICE_DIR,_0x2c6906);const _0x34de3a={};_0x34de3a[_0x326ab3(_0x38af06._0x1a3bbd,0x1e6)+'e']=!![],_0x405ad8[_0x326ab3(_0x38af06._0x57cc6a,0x224)](_0x1c7d00,LOG_DIR,_0x34de3a);}function escapeXml(_0x4f06de){const _0x44967e={_0x4a5568:0x400,_0x30a104:0x5ed,_0x3b03b1:0x4cb,_0x4c29b6:0x415,_0x389325:0x6a8,_0x4af29d:0x5a3,_0x11a871:0x30c,_0x30a3e5:0x1cc,_0x2f120c:0x73d},_0x5ee166={};_0x5ee166[_0x3a9dad(_0x44967e._0x4a5568,0x336)]=_0x149ab0(_0x44967e._0x30a104,0x554);const _0x2ff6c3=_0x5ee166;function _0x149ab0(_0x2b1fcb,_0x50ff5d){return _0x5cc096(_0x50ff5d,_0x2b1fcb-0x31);}function _0x3a9dad(_0x277175,_0x9f31fc){return _0x5cc096(_0x277175,_0x9f31fc- -0x2ce);}return _0x4f06de[_0x149ab0(_0x44967e._0x3b03b1,0x319)+'ll']('&',_0x2ff6c3[_0x3a9dad(_0x44967e._0x4c29b6,0x336)])[_0x149ab0(0x4cb,0x4cc)+'ll']('<',_0x149ab0(_0x44967e._0x389325,_0x44967e._0x4af29d))['replaceA'+'ll']('>',_0x3a9dad(0x3b2,0x20a))[_0x3a9dad(0x27f,0x1cc)+'ll']('\x22',_0x3a9dad(0x3ec,_0x44967e._0x11a871))[_0x3a9dad(0x186,_0x44967e._0x30a3e5)+'ll']('\x27',_0x149ab0(0x67a,_0x44967e._0x2f120c));}function escapeSystemdArg(_0x43ea47){const _0x3a4336={_0x14827d:0x3ca,_0x4b383d:0x40f,_0x59da37:0x2db},_0x9d4302={_0x2f7805:0x3c6},_0x38e62f={_0x29697d:0x130};function _0x27c92e(_0x463570,_0xf2acdd){return _0x6023f8(_0xf2acdd,_0x463570- -_0x38e62f._0x29697d);}function _0x2c3d74(_0x2a9e11,_0x1fc2bf){return _0x6023f8(_0x1fc2bf,_0x2a9e11-_0x9d4302._0x2f7805);}return'\x22'+_0x43ea47[_0x2c3d74(_0x3a4336._0x14827d,_0x3a4336._0x4b383d)+'ll']('\x5c','\x5c\x5c')[_0x2c3d74(0x3ca,_0x3a4336._0x59da37)+'ll']('\x22','\x5c\x22')+'\x22';}function escapeWindowsArg(_0x79e1c9){const _0x851fa={_0x23a2bc:0x12a},_0x586639={_0x2db8bd:0x43f};function _0x249b05(_0x1316e9,_0x4ec974){return _0x5cc096(_0x4ec974,_0x1316e9- -_0x586639._0x2db8bd);}return'\x22'+_0x79e1c9[_0x249b05(0x5b,-_0x851fa._0x23a2bc)+'ll']('\x22','\x5c\x22')+'\x22';}function commandSucceeds(_0x433bdd,_0x226867){const _0x28856f={_0xb0f09f:0x1c1,_0x58ba05:0x2f3},_0x247f91={_0x522c2e:0x2d2};function _0x6557f7(_0x61a650,_0x9a69a7){return _0x6023f8(_0x9a69a7,_0x61a650-0x15e);}function _0x10ef83(_0x1fd008,_0x507659){return _0x6023f8(_0x1fd008,_0x507659-_0x247f91._0x522c2e);}const _0x5577b8={'LVGGV':function(_0x5b09ba,_0x18590c,_0x121ee4,_0x50acf7){return _0x5b09ba(_0x18590c,_0x121ee4,_0x50acf7);}};try{const _0x59a81b={};return _0x59a81b['stdio']=_0x6557f7(_0x28856f._0xb0f09f,0xc6),_0x5577b8[_0x6557f7(0x45f,_0x28856f._0x58ba05)](execFileSync,_0x433bdd,_0x226867,_0x59a81b),!![];}catch{return![];}}function execIgnoreFailure(_0x590003,_0x602214){const _0x4bb47e={_0x3b5035:0x382},_0x4b746d={_0x4dd309:0x28f};function _0x2c110c(_0x44d430,_0x3f4c5f){return _0x6023f8(_0x44d430,_0x3f4c5f-0x334);}function _0x387dca(_0x56201c,_0x2d512d){return _0x6023f8(_0x2d512d,_0x56201c- -_0x4b746d._0x4dd309);}try{const _0x569c82={};_0x569c82[_0x2c110c(_0x4bb47e._0x3b5035,0x4c3)]=_0x2c110c(0x40b,0x397),execFileSync(_0x590003,_0x602214,_0x569c82);}catch{}}function rmIfExists(_0x2d03b5){const _0x3eb8fb={_0x2e1233:0x1e8};if(!_0x150d4c(_0x2d03b5))return;const _0x3c69b2={};function _0x568b81(_0x562003,_0x1a7557){return _0x5cc096(_0x1a7557,_0x562003- -0x776);}_0x3c69b2[_0x568b81(-_0x3eb8fb._0x2e1233,-0xe8)]=!![],_0x10ef8e(_0x2d03b5,_0x3c69b2);}import{existsSync as _0x436da6,readFileSync as _0xbb3858}from'fs';import{homedir as _0x2722f1}from'os';import{join as _0x27a3a3}from'path';var DEFAULT_GATEWAY_URL=_0x6023f8(0x3a3,0x217)+_0x5cc096(0x33b,0x505)+_0x5cc096(0x764,0x777),OPENCLAW_DIR=_0x27a3a3(_0x2722f1(),_0x6023f8(0x318,0x2b0)+'w'),OPENCLAW_CONFIG_PATH=_0x27a3a3(OPENCLAW_DIR,_0x6023f8(0xc6,0x186)+_0x6023f8(0x165,0x1a7)),OPENCLAW_MEDIA_DIR=_0x27a3a3(OPENCLAW_DIR,_0x6023f8(0x16,0x3c));function resolveGatewayUrl(_0x2a7074){const _0x1e2748={_0x3075ba:0x404,_0x8c9aa6:0x69c,_0x35cf57:0x2ca,_0x17d669:0x246,_0x59ee7b:0x71c,_0x1ed87e:0x498,_0x3caef4:0x648},_0x4eed8c={_0x5d3544:0x219},_0x35e040={_0x5cfdf7:0x2d9},_0x47ee9f={'MSZPr':function(_0x202e69){return _0x202e69();}},_0x60a405=_0x2a7074?.['trim']();if(_0x60a405)return _0x60a405;const _0x88e964=_0x47ee9f['MSZPr'](readOpenClawInfo);function _0x481ee9(_0x5c4752,_0x424513){return _0x6023f8(_0x5c4752,_0x424513-_0x35e040._0x5cfdf7);}function _0x53ec01(_0x40fdcd,_0x3c5838){return _0x6023f8(_0x3c5838,_0x40fdcd-_0x4eed8c._0x5d3544);}if(typeof _0x88e964[_0x481ee9(_0x1e2748._0x3075ba,0x326)+_0x481ee9(_0x1e2748._0x8c9aa6,0x558)]===_0x53ec01(_0x1e2748._0x35cf57,_0x1e2748._0x17d669))return'ws://127'+_0x481ee9(_0x1e2748._0x59ee7b,0x5ac)+_0x88e964[_0x53ec01(0x266,0x10f)+_0x53ec01(_0x1e2748._0x1ed87e,_0x1e2748._0x3caef4)];return DEFAULT_GATEWAY_URL;}function readOpenClawInfo(){const _0x4043f7={_0x2761e5:0x52c,_0x24b6d6:0x63a,_0x12619d:0x34d,_0x1d714a:0x325,_0x5b9786:0x3fa,_0x3635c2:0x231,_0x26f5cd:0x37b,_0x353da3:0x89a,_0x1c9d6a:0xe8,_0x3a5f6f:0x38a,_0x19f5e9:0x2d7,_0xc656ab:0x631,_0x2bd23a:0x6b4,_0x2cf1cc:0x558,_0x193d2f:0x92a,_0x1e7d15:0x631,_0xfd9199:0x6c7,_0x555776:0x2f6,_0x506a24:0x1c7,_0x80165f:0x1b6,_0x42c7b0:0x220,_0x3338bd:0x263,_0x4245bf:0x2ff,_0x5d1163:0x70d,_0x5e7c3e:0x58e,_0x4bd404:0x9b,_0x4540cb:0x63e,_0x11a31d:0x61f,_0xa219b3:0x707},_0x5b4f4c={};_0x5b4f4c['RHrsp']=_0x28d18a(0x1a5,0x31d);const _0xcfff99=_0x5b4f4c;function _0x3062a7(_0xc9c612,_0x1a9f87){return _0x6023f8(_0x1a9f87,_0xc9c612-0x4df);}if(!_0x436da6(OPENCLAW_CONFIG_PATH)){const _0x438b73={};return _0x438b73['configFo'+_0x3062a7(0x4da,0x392)]=![],_0x438b73[_0x3062a7(_0x4043f7._0x2761e5,_0x4043f7._0x24b6d6)+_0x28d18a(_0x4043f7._0x12619d,_0x4043f7._0x1d714a)]=null,_0x438b73[_0x28d18a(0x2f6,_0x4043f7._0x5b9786)]=null,_0x438b73;}function _0x28d18a(_0x5b69d8,_0x42c7c8){return _0x6023f8(_0x42c7c8,_0x5b69d8-0xce);}try{const _0x2ce78d=JSON[_0x3062a7(0x6e2,0x76f)](_0xbb3858(OPENCLAW_CONFIG_PATH,_0x28d18a(_0x4043f7._0x3635c2,_0x4043f7._0x26f5cd))),_0x7f8afb=_0x2ce78d[_0x3062a7(0x77f,_0x4043f7._0x353da3)]?.[_0x28d18a(0xde,-_0x4043f7._0x1c9d6a)],_0x11bb7e=typeof _0x7f8afb===_0x28d18a(0x17f,0x348)&&Number[_0x28d18a(_0x4043f7._0x3a5f6f,_0x4043f7._0x19f5e9)+'r'](_0x7f8afb)?_0x7f8afb:null,_0x563da3=typeof _0x2ce78d['gateway']?.[_0x3062a7(_0x4043f7._0xc656ab,_0x4043f7._0x2bd23a)]?.[_0x3062a7(0x707,_0x4043f7._0x2cf1cc)]===_0xcfff99['RHrsp']&&_0x2ce78d[_0x3062a7(0x77f,_0x4043f7._0x193d2f)][_0x3062a7(_0x4043f7._0x1e7d15,_0x4043f7._0xfd9199)][_0x28d18a(_0x4043f7._0x555776,0x205)][_0x28d18a(_0x4043f7._0x506a24,0x11c)]()?_0x2ce78d[_0x28d18a(0x36e,_0x4043f7._0x80165f)][_0x28d18a(_0x4043f7._0x42c7b0,_0x4043f7._0x3338bd)][_0x28d18a(0x2f6,_0x4043f7._0x4245bf)][_0x28d18a(0x1c7,0x122)]():null,_0x558cfa={};return _0x558cfa[_0x3062a7(_0x4043f7._0x5d1163,_0x4043f7._0x5e7c3e)+'und']=!![],_0x558cfa[_0x28d18a(0x11b,_0x4043f7._0x4bd404)+_0x28d18a(0x34d,0x250)]=_0x11bb7e,_0x558cfa['token']=_0x563da3,_0x558cfa;}catch{const _0x51a796={};return _0x51a796['configFo'+_0x3062a7(0x4da,_0x4043f7._0x4540cb)]=!![],_0x51a796['gatewayP'+_0x3062a7(0x75e,_0x4043f7._0x11a31d)]=null,_0x51a796[_0x3062a7(_0x4043f7._0xa219b3,0x65d)]=null,_0x51a796;}}function resolveGatewayToken(){const _0x1e5e45={_0x1b10d2:0x1b9,_0xacea09:0x225},_0x24dbd7={_0x3cf5a3:0x3};function _0x43003f(_0x9d7905,_0x5ace57){return _0x6023f8(_0x9d7905,_0x5ace57- -_0x24dbd7._0x3cf5a3);}return readOpenClawInfo()[_0x43003f(_0x1e5e45._0x1b10d2,_0x1e5e45._0xacea09)];}function getOpenClawConfigDir(){return OPENCLAW_DIR;}function getOpenClawMediaDir(){return OPENCLAW_MEDIA_DIR;}var CONTROL_PREFIX=_0x5cc096(0x2ff,0x47c)+_0x6023f8(0xa5,0x1b)+_0x6023f8(0x1ae,0x143)+'_:';function parseControl(_0x1ccdda){const _0xce228a={_0x462e88:0x1c7,_0x4931ec:0x364,_0x4979e9:0x21c,_0x15e80f:0x1aa,_0x4b83bd:0x456,_0x33feb4:0x429,_0x5d2e3a:0x9,_0x2796fa:0xa2,_0x21304c:0x103,_0x2f0119:0x4,_0xdbc83d:0x3f},_0x5a977f={_0x52e292:0xe0},_0x573499={};function _0x4953a2(_0x28793e,_0x52b093){return _0x6023f8(_0x52b093,_0x28793e-0x2b3);}function _0x5bd4a5(_0x551a9e,_0x134b74){return _0x6023f8(_0x134b74,_0x551a9e- -_0x5a977f._0x52e292);}_0x573499[_0x5bd4a5(0x116,-0x27)]=function(_0x38623f,_0x2dcb1c){return _0x38623f!==_0x2dcb1c;},_0x573499[_0x5bd4a5(-0x82,-_0xce228a._0x462e88)]=_0x4953a2(_0xce228a._0x4931ec,0x4c7);const _0x208644=_0x573499;if(!_0x1ccdda['startsWi'+'th'](CONTROL_PREFIX))return null;try{const _0x16d398=JSON[_0x5bd4a5(0x123,-0x1d)](_0x1ccdda[_0x5bd4a5(_0xce228a._0x4979e9,_0xce228a._0x15e80f)](CONTROL_PREFIX[_0x4953a2(_0xce228a._0x4b83bd,_0xce228a._0x33feb4)]));if(_0x208644['gquFH'](typeof _0x16d398['event'],_0x5bd4a5(-_0xce228a._0x5d2e3a,0x125))||!_0x16d398[_0x5bd4a5(_0xce228a._0x2796fa,-0x2f)]['trim']())return null;return{'event':_0x16d398[_0x5bd4a5(0xa2,_0xce228a._0x21304c)]['trim'](),'count':typeof _0x16d398[_0x5bd4a5(-0x3f,-0x172)]===_0x208644[_0x4953a2(0x311,0x28b)]&&Number[_0x5bd4a5(-0x108,-_0xce228a._0x2f0119)](_0x16d398['count'])?_0x16d398[_0x5bd4a5(-_0xce228a._0xdbc83d,-0x148)]:void 0x0};}catch{return null;}}function _0x6023f8(_0x458006,_0x1982ee){const _0x44bc16={_0x595fa5:0xf8};return _0x262d(_0x1982ee- -_0x44bc16._0x595fa5,_0x458006);}function parseConnectStartIdentity(_0x201571){const _0x21e1b6={_0x3ac80d:0x4b5,_0x4f0106:0x32d,_0x1c1149:0x384,_0x3aca7f:0x5a5,_0x50d77b:0x5f0,_0x277ab6:0x5bc,_0x524537:0x349,_0x33b9c1:0x319,_0x2bee0e:0x430,_0x281930:0x417,_0x27b453:0x26b,_0x49a4a1:0x5cd,_0x12d7ea:0x44a,_0x170044:0x5af,_0x1a9d40:0x326,_0x25bb38:0x61a,_0x3991ad:0x719,_0x13899f:0x509},_0xa328b1={_0x45f172:0x1aa},_0x55b8a2={};function _0x13c67d(_0xd71791,_0x4eb11e){return _0x5cc096(_0x4eb11e,_0xd71791- -0x178);}_0x55b8a2['SBCgd']=function(_0x238969,_0x3b24e4){return _0x238969!==_0x3b24e4;};function _0x3d2848(_0xe885c0,_0x47697d){return _0x5cc096(_0x47697d,_0xe885c0- -_0xa328b1._0x45f172);}_0x55b8a2[_0x13c67d(_0x21e1b6._0x3ac80d,0x349)]=function(_0xb8392b,_0x5ecf7e){return _0xb8392b!==_0x5ecf7e;},_0x55b8a2[_0x13c67d(_0x21e1b6._0x4f0106,_0x21e1b6._0x1c1149)]=function(_0x5540e8,_0xeb93d0){return _0x5540e8===_0xeb93d0;},_0x55b8a2[_0x13c67d(0x4a2,_0x21e1b6._0x3aca7f)]='Mobile\x20C'+'lient';const _0x5b5e87=_0x55b8a2;try{const _0x540e67=JSON[_0x13c67d(0x521,_0x21e1b6._0x50d77b)](_0x201571);if(_0x5b5e87[_0x13c67d(0x46f,0x545)](_0x540e67[_0x3d2848(0x361,0x35d)],_0x3d2848(_0x21e1b6._0x277ab6,0x4fd)))return null;if(_0x5b5e87[_0x3d2848(0x43d,0x279)](_0x540e67['method'],_0x3d2848(0x2b0,0x134))&&_0x5b5e87['wehWV'](_0x540e67[_0x3d2848(_0x21e1b6._0x524537,_0x21e1b6._0x33b9c1)],'connect.'+_0x13c67d(0x537,0x3ce)))return null;const _0x3b8813=_0x540e67[_0x13c67d(_0x21e1b6._0x2bee0e,0x2fc)]??{},_0x4d704=_0x5b5e87['OlGaN'](typeof _0x540e67['id'],'string')&&_0x540e67['id'][_0x13c67d(_0x21e1b6._0x281930,_0x21e1b6._0x27b453)]()?_0x540e67['id'][_0x13c67d(0x417,_0x21e1b6._0x49a4a1)]():_0x13c67d(0x4e7,_0x21e1b6._0x12d7ea)+Math[_0x13c67d(0x45a,_0x21e1b6._0x170044)]()[_0x3d2848(_0x21e1b6._0x1a9d40,0x1c0)](0x24)[_0x13c67d(_0x21e1b6._0x25bb38,_0x21e1b6._0x3991ad)](0x2,0xc),_0x18245d=firstString(_0x3b8813['deviceNa'+'me'],_0x3b8813['clientNa'+'me'],_0x3b8813[_0x13c67d(0x62d,_0x21e1b6._0x13899f)],_0x5b5e87['hgdmy']),_0x47ca7d={};return _0x47ca7d['id']=_0x4d704,_0x47ca7d[_0x13c67d(0x464,0x2d2)]=_0x18245d,_0x47ca7d;}catch{return null;}}function isConnectHandshakeRequest(_0x2219ef){const _0x2404c7={_0x34b882:0x337,_0x1db936:0x3c0},_0x1e9155={_0x301d59:0x67},_0x26f32e={_0x3418cb:0x311};function _0x6173aa(_0x1e04e5,_0x381f7d){return _0x6023f8(_0x1e04e5,_0x381f7d-_0x26f32e._0x3418cb);}function _0x35beec(_0x456065,_0x203f2f){return _0x6023f8(_0x203f2f,_0x456065-_0x1e9155._0x301d59);}const _0x3a5739={};_0x3a5739[_0x35beec(0x1d8,0x1df)]=_0x35beec(_0x2404c7._0x34b882,0x3b6);const _0x245c3f=_0x3a5739;try{const _0x349444=JSON['parse'](_0x2219ef);return _0x349444[_0x35beec(0xdc,0xf7)]===_0x245c3f['DYuLk']&&(_0x349444[_0x6173aa(0x3b2,0x36e)]==='connect'||_0x349444[_0x6173aa(0x20e,0x36e)]===_0x6173aa(_0x2404c7._0x1db936,0x32f)+'start');}catch{return![];}}function parsePairingRequestFromError(_0x16870c,_0xbe00ad=Date[_0x5cc096(0x627,0x7ba)]()){const _0x2e0e3e={_0x571025:0x136,_0x22fff2:0x93,_0x5b2a03:0xdd,_0x261fdd:0x3ec,_0x379b49:0x52,_0x4dd1ef:0x10,_0x1379b2:0x63,_0x3036be:0x1aa,_0x356da0:0x36a,_0x22e522:0x251,_0x515ebc:0x253,_0x5251b9:0x3aa,_0x440fad:0x10a,_0x580927:0xa9,_0x3435bc:0x1ec,_0xbdd751:0xd2,_0x38e118:0x416,_0x35e0fc:0x2ce,_0x4287ab:0x163,_0x572215:0x568,_0x508838:0x3e2,_0x3fefaa:0x160,_0x5100b2:0x15,_0xc098ae:0x466,_0x1e0917:0x15e,_0x184de3:0x11d,_0x3e61f6:0x8e};function _0x22e8c1(_0xf0efdf,_0x296a89){return _0x6023f8(_0xf0efdf,_0x296a89-0xd3);}function _0xf46429(_0x83af13,_0x292b88){return _0x6023f8(_0x83af13,_0x292b88- -0x170);}const _0x29e3c9={'CfSya':'NOT_PAIR'+'ED','gCLro':function(_0x33c65d,_0x1e7c33){return _0x33c65d(_0x1e7c33);},'LCJRE':function(_0x554ba8,_0x2a9651){return _0x554ba8(_0x2a9651);}};try{const _0x4c0f5b=JSON[_0xf46429(_0x2e0e3e._0x571025,_0x2e0e3e._0x22fff2)](_0x16870c);if(_0x4c0f5b['type']!==_0xf46429(-_0x2e0e3e._0x5b2a03,0x77)||_0x4c0f5b['ok']!==![]||!_0x4c0f5b[_0xf46429(0x12a,0x1a9)])return null;const _0x1afc13=typeof _0x4c0f5b[_0x22e8c1(0x230,_0x2e0e3e._0x261fdd)][_0xf46429(-_0x2e0e3e._0x379b49,_0x2e0e3e._0x4dd1ef)]===_0x22e8c1(_0x2e0e3e._0x1379b2,_0x2e0e3e._0x3036be)?_0x4c0f5b[_0xf46429(_0x2e0e3e._0x356da0,0x1a9)][_0x22e8c1(_0x2e0e3e._0x22e522,_0x2e0e3e._0x515ebc)]:'',_0x4c7413=typeof _0x4c0f5b[_0xf46429(0x267,0x1a9)][_0x22e8c1(0x37e,0x210)]===_0x22e8c1(0xf3,0x1aa)?_0x4c0f5b[_0xf46429(0x89,0x1a9)]['message']:'';if(!_0x1afc13[_0x22e8c1(0x389,0x1c1)](_0x29e3c9[_0xf46429(0x61,-0xe3)])&&!_0x1afc13['includes'](_0x22e8c1(_0x2e0e3e._0x5251b9,0x32a)+_0xf46429(-_0x2e0e3e._0x440fad,-_0x2e0e3e._0x580927))&&!_0x4c7413[_0x22e8c1(_0x2e0e3e._0x3435bc,0x1c1)]('NOT_PAIR'+'ED')&&!_0x4c7413[_0xf46429(-_0x2e0e3e._0xbdd751,-0x82)](_0x22e8c1(0x7e,0x109)+_0x22e8c1(_0x2e0e3e._0x38e118,0x249)))return null;const _0x7f7cd6=_0x4c0f5b[_0x22e8c1(0x4d2,0x3ec)][_0x22e8c1(0x20c,_0x2e0e3e._0x35e0fc)]??_0x4c0f5b[_0xf46429(0x89,0x1a9)][_0xf46429(-_0x2e0e3e._0x4287ab,-0x29)]??{},_0x437309=firstString(_0x7f7cd6['requestI'+'d'],_0x29e3c9['gCLro'](extractRequestIdFromMessage,_0x4c7413),'unknown');return{'requestId':_0x437309,'deviceId':firstString(_0x7f7cd6[_0x22e8c1(_0x2e0e3e._0x572215,_0x2e0e3e._0x508838)],''),'displayName':firstNullableString(_0x7f7cd6['displayN'+_0xf46429(-_0x2e0e3e._0x3fefaa,_0x2e0e3e._0x5100b2)]),'platform':firstNullableString(_0x7f7cd6['platform']),'deviceFamily':_0x29e3c9[_0x22e8c1(_0x2e0e3e._0xc098ae,0x312)](firstNullableString,_0x7f7cd6[_0x22e8c1(0x1af,_0x2e0e3e._0x1e0917)+_0xf46429(0x2b6,_0x2e0e3e._0x184de3)]),'role':firstNullableString(_0x7f7cd6[_0xf46429(0x172,_0x2e0e3e._0x3e61f6)]),'remoteIp':firstNullableString(_0x7f7cd6[_0xf46429(0x2a,0x113)]),'receivedAtMs':_0xbe00ad,'status':'pending'};}catch{return null;}}function parsePairResolvedEvent(_0x3ff88e){const _0xc50532={_0x53a51d:0x10c,_0x484ce7:0x58,_0x1b2040:0x16c,_0x14ea0f:0x150,_0x7bc98d:0x27f,_0x1e4c15:0x43e,_0x3b921d:0x348,_0x276552:0x2ce,_0xd969b4:0x9d,_0x1aa145:0x19b,_0x179368:0x1c1,_0x5a940b:0x22c,_0x17c89c:0x19e,_0x5e4226:0x37,_0x4fdeb2:0x1ce,_0x527d7a:0x313,_0x324f9c:0x368,_0x125c21:0x320,_0x30ab18:0xd9,_0x1682bc:0x2a3,_0x6a473a:0x186,_0x129621:0x208,_0x3cfa1f:0x2c4,_0x63ff2b:0x80,_0x54b57e:0x38,_0x300b73:0x36f,_0x5b928b:0x1c2,_0x96b6ac:0x201},_0x2efe3d={_0x13e4f2:0x3cb},_0x15e969={};function _0x5b931e(_0x2a794b,_0x80a179){return _0x5cc096(_0x80a179,_0x2a794b- -_0x2efe3d._0x13e4f2);}_0x15e969[_0x5b931e(_0xc50532._0x53a51d,_0xc50532._0x484ce7)]=_0x1683a2(_0xc50532._0x1b2040,_0xc50532._0x14ea0f),_0x15e969[_0x5b931e(_0xc50532._0x7bc98d,_0xc50532._0x1e4c15)]=function(_0x5ca480,_0x27c702){return _0x5ca480===_0x27c702;},_0x15e969[_0x5b931e(0x2e9,_0xc50532._0x3b921d)]=_0x5b931e(0x1a2,0x2e5);function _0x1683a2(_0x19697b,_0x3b72aa){return _0x5cc096(_0x3b72aa,_0x19697b- -0x4ac);}const _0x195d2a=_0x15e969;try{const _0x3bc5c4=JSON[_0x5b931e(_0xc50532._0x276552,0x114)](_0x3ff88e);if(_0x3bc5c4['type']!==_0x195d2a[_0x1683a2(0x2b,0x1e4)]||_0x3bc5c4[_0x1683a2(_0xc50532._0x1b2040,_0xc50532._0xd969b4)]!==_0x5b931e(_0xc50532._0x1aa145,_0xc50532._0x179368)+_0x5b931e(_0xc50532._0x5a940b,0x2af)+_0x5b931e(0xf7,0x275)||!_0x3bc5c4[_0x5b931e(0x1ce,0x12)])return null;const _0x7a538=_0x195d2a[_0x1683a2(_0xc50532._0x17c89c,_0xc50532._0x5e4226)](typeof _0x3bc5c4[_0x5b931e(_0xc50532._0x4fdeb2,0x36a)][_0x5b931e(_0xc50532._0x527d7a,0x1a6)+'d'],_0x195d2a[_0x5b931e(0x2e9,_0xc50532._0x324f9c)])?_0x3bc5c4[_0x5b931e(0x1ce,0x370)][_0x5b931e(0x313,_0xc50532._0x125c21)+'d']['trim']():'';if(!_0x7a538)return null;const _0x599077=typeof _0x3bc5c4[_0x5b931e(0x1ce,_0xc50532._0x30ab18)][_0x5b931e(_0xc50532._0x1682bc,_0xc50532._0x6a473a)]===_0x195d2a[_0x1683a2(_0xc50532._0x129621,_0xc50532._0x3cfa1f)]?_0x3bc5c4[_0x5b931e(0x1ce,_0xc50532._0x63ff2b)][_0x1683a2(0x1c2,0x153)]:'unknown',_0x2df0fd=_0x599077===_0x1683a2(_0xc50532._0x54b57e,0xb3)||_0x599077===_0x1683a2(0x1f4,0x318)?_0x599077:_0x5b931e(0x1d5,_0xc50532._0x300b73),_0x31cf87={};return _0x31cf87[_0x1683a2(0x232,0x27c)+'d']=_0x7a538,_0x31cf87[_0x1683a2(_0xc50532._0x5b928b,_0xc50532._0x96b6ac)]=_0x2df0fd,_0x31cf87;}catch{return null;}}function firstString(..._0x1d7b64){const _0x39b2cb={_0x4de95a:0x269,_0x54f51f:0xbe,_0x467ae6:0xdd,_0x58bbc6:0x2dd},_0x4a90a4={};function _0x14c28f(_0x40a38c,_0x2ae176){return _0x5cc096(_0x40a38c,_0x2ae176- -0x66c);}function _0x31c909(_0x2a397c,_0xc26cf){return _0x5cc096(_0xc26cf,_0x2a397c- -0x2c9);}_0x4a90a4[_0x31c909(_0x39b2cb._0x4de95a,_0x39b2cb._0x54f51f)]=function(_0x36bfeb,_0x914c2){return _0x36bfeb===_0x914c2;};const _0x71904=_0x4a90a4;for(const _0x26209c of _0x1d7b64){if(_0x71904['YtXHe'](typeof _0x26209c,_0x31c909(0x2a4,0x3ea))&&_0x26209c[_0x14c28f(-0x70,-_0x39b2cb._0x467ae6)]())return _0x26209c[_0x31c909(0x2c6,_0x39b2cb._0x58bbc6)]();}return'';}function firstNullableString(_0x5e74ac){const _0x221b9b={_0x266839:0x3f5,_0x456a28:0x41a},_0x35fc68={_0x50ffce:0x274};function _0x42de11(_0x4441f1,_0x4b27be){return _0x5cc096(_0x4441f1,_0x4b27be- -_0x35fc68._0x50ffce);}function _0x434116(_0x422f3b,_0x5dca83){return _0x5cc096(_0x422f3b,_0x5dca83- -0x175);}return typeof _0x5e74ac===_0x434116(0x3ca,0x3f8)&&_0x5e74ac[_0x434116(_0x221b9b._0x266839,_0x221b9b._0x456a28)]()?_0x5e74ac['trim']():null;}function extractRequestIdFromMessage(_0x335b1a){const _0x51ef58={_0x51d550:0x4a3},_0x191c9b=_0x335b1a[_0x26cd05(0x4b3,_0x51ef58._0x51d550)](/requestId[:\s]*([a-f0-9-]+)/i);function _0x26cd05(_0xde8f56,_0x3087bb){return _0x5cc096(_0xde8f56,_0x3087bb- -0xb5);}return _0x191c9b?.[0x1]??null;}import{randomUUID as _0x5b1254}from'crypto';import{setTimeout as _0x55c7e6}from'timers/promises';import _0x1f747b from'ws';var HEARTBEAT_INTERVAL_MS=0x2710,HEARTBEAT_TIMEOUT_MS=0x88b8,GATEWAY_RETRY_DELAY_MS=0x4b0,GATEWAY_IDLE_DISCONNECT_DELAY_MS=0x7530,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{[_0x6023f8(0x89,0x251)];[_0x6023f8(-0x92,-0x34)+_0x6023f8(0x22b,0x1ee)]=null;[_0x5cc096(0x645,0x698)+_0x6023f8(0x33b,0x244)]=null;['relayCon'+_0x6023f8(0x2a0,0x302)]=![];[_0x5cc096(0x5fd,0x5a6)+_0x5cc096(0x7a8,0x6db)+'g']=![];['stopped']=!![];['relayAtt'+_0x6023f8(0x2a1,0x10e)]=0x0;[_0x5cc096(0x5ee,0x741)+_0x5cc096(0x4d9,0x580)+'yMs']=0x0;[_0x5cc096(0x427,0x460)+_0x5cc096(0x68c,0x79c)]=null;[_0x6023f8(-0x44,0xb9)+'etryTime'+'r']=null;[_0x5cc096(0x321,0x4eb)+_0x5cc096(0x5d7,0x569)+_0x5cc096(0x6a1,0x61d)]=null;[_0x5cc096(0x7ee,0x7ad)+'tTimer']=null;[_0x5cc096(0x536,0x53e)+'atewayMe'+'ssages']=[];[_0x5cc096(0x62c,0x6b1)+_0x5cc096(0x6e2,0x58c)+_0x6023f8(0x420,0x256)]=![];['clientDe'+_0x6023f8(0x211,0x177)+_0x6023f8(-0xe,0x1a5)]=null;['gatewayC'+'onnected'+_0x5cc096(0x429,0x51c)]=null;['snapshot'];constructor(_0x33966b){const _0x542cc4={_0x3f5bef:0x5c6,_0x26e7a8:0x50f,_0x32d505:0x2c,_0x345d6f:0x4c,_0x186574:0x62b,_0x3393b5:0x685},_0x271d22={_0x4a64bf:0x64e};function _0x582da6(_0x1adc81,_0x1351ca){return _0x5cc096(_0x1351ca,_0x1adc81- -_0x271d22._0x4a64bf);}function _0x3c1552(_0x50c1ab,_0xa27b36){return _0x5cc096(_0xa27b36,_0x50c1ab- -0x121);}this[_0x3c1552(_0x542cc4._0x3f5bef,_0x542cc4._0x26e7a8)]=_0x33966b,this[_0x582da6(-0x129,_0x542cc4._0x32d505)]={'running':![],'relayConnected':![],'gatewayConnected':![],'gatewayId':_0x33966b['config']['gatewayI'+'d'],'instanceId':_0x33966b[_0x582da6(-_0x542cc4._0x345d6f,0x10a)][_0x582da6(-0x16e,-0xc0)+'Id'],'relayUrl':_0x33966b[_0x582da6(-0x4c,0x26)][_0x582da6(-0xd7,-0x82)],'gatewayUrl':_0x33966b[_0x3c1552(_0x542cc4._0x186574,_0x542cc4._0x3393b5)+'rl'],'clientCount':0x0,'connectedDevices':[],'pendingPairRequests':[],'lastError':null,'lastUpdatedMs':Date['now']()};}[_0x6023f8(0x2f2,0x219)](){const _0x5c8000={_0x510f27:0x1a5,_0x1e2c7d:0xaf,_0x1e5307:0x34f,_0x47937a:0x572,_0x4f69ee:0x104,_0x4c3ea1:0x14f,_0x3e6ebd:0x1e3,_0x351e30:0xb8,_0x1658a9:0x6a,_0x52e5fb:0x3c3,_0x1217ee:0x519,_0x43fafc:0x4f7,_0x1062e2:0x6c3,_0x4a675c:0x258},_0x51b6c8={_0x304b81:0x2a6};if(!this[_0x8c0e83(_0x5c8000._0x510f27,_0x5c8000._0x1e2c7d)])return;function _0x8c0e83(_0xaed73f,_0x311adc){return _0x6023f8(_0xaed73f,_0x311adc-0x6);}this[_0x4bdd39(_0x5c8000._0x1e5307,0x283)]=![],this[_0x4bdd39(_0x5c8000._0x47937a,0x401)+_0x8c0e83(_0x5c8000._0x4f69ee,_0x5c8000._0x4c3ea1)]({'running':!![],'gatewayUrl':this[_0x8c0e83(0x376,0x257)][_0x4bdd39(0x55c,0x4c2)+'rl']});function _0x4bdd39(_0x1f0c0c,_0x494352){return _0x6023f8(_0x494352,_0x1f0c0c-_0x51b6c8._0x304b81);}this[_0x8c0e83(0xd4,0x7e)]('runtime\x20'+_0x4bdd39(0x3ae,_0x5c8000._0x3e6ebd)+_0x8c0e83(-0xab,_0x5c8000._0x351e30)+'Id='+this['options']['config'][_0x8c0e83(0x132,0x5b)+'d']+(_0x8c0e83(-_0x5c8000._0x1658a9,0xb8)+_0x4bdd39(_0x5c8000._0x52e5fb,_0x5c8000._0x1217ee))+this[_0x4bdd39(_0x5c8000._0x43fafc,_0x5c8000._0x1062e2)]['gatewayU'+'rl']),void this[_0x4bdd39(0x32a,_0x5c8000._0x4a675c)+'elay']();}async[_0x5cc096(0x47b,0x4ac)](){const _0x279232={_0x5958a1:0x739,_0x3a5f08:0x38,_0x3ac8d7:0x48c,_0xc1c80a:0x537,_0x42f9cc:0x49,_0x18b386:0x6d,_0xe45b8d:0x379,_0x3b0d8e:0x6e,_0x1eb496:0x18f,_0x3380a3:0x1c7,_0x1e2b11:0x88,_0x49ddc3:0xf7,_0x5ca035:0x64c,_0x587531:0x58e,_0x5d3344:0x2ad,_0x31ac27:0x538,_0x19ce65:0x628,_0x58c906:0x1e0,_0x13e68c:0x57,_0x30e64b:0x67b,_0x5945f2:0x2e1,_0x2f1243:0x538,_0x350fb3:0x66,_0x1dc669:0x359,_0x3a2d7a:0x548,_0x595788:0x25b,_0xa9bc49:0x45a,_0x489246:0x61d,_0x493ca1:0x115,_0x1f6cf7:0x4af,_0x44e3ee:0x37b,_0x1ffb02:0x347,_0x42836d:0x256,_0x13e82c:0x58f,_0x745720:0x474,_0x5030ca:0x89,_0x9d53b9:0x104},_0x41e153={_0x63cdf9:0x34a},_0x4ab9b6=(_0x56d4b6(0x67a,_0x279232._0x5958a1)+_0x56d4b6(0x37b,0x2c4)+_0x535137(-0x16f,_0x279232._0x3a5f08)+_0x56d4b6(_0x279232._0x3ac8d7,_0x279232._0xc1c80a)+_0x535137(-0x4d,-_0x279232._0x42f9cc))[_0x56d4b6(0x667,0x6b2)]('|');let _0x1715f6=0x0;function _0x535137(_0x280d82,_0x4fed13){return _0x6023f8(_0x280d82,_0x4fed13- -0x3b);}function _0x56d4b6(_0x55ef89,_0x2dd047){return _0x6023f8(_0x2dd047,_0x55ef89-_0x41e153._0x63cdf9);}while(!![]){switch(_0x4ab9b6[_0x1715f6++]){case'0':this[_0x535137(0x103,_0x279232._0x18b386)+'atewayMe'+_0x56d4b6(_0x279232._0xe45b8d,0x511)]=[];continue;case'1':this[_0x535137(0x9c,0x3d)]('runtime\x20'+_0x535137(0x1de,_0x279232._0x3b0d8e));continue;case'2':this[_0x535137(_0x279232._0x1eb496,_0x279232._0x3380a3)+_0x535137(_0x279232._0x1e2b11,0x209)]=null;continue;case'3':this[_0x535137(0xa6,_0x279232._0x49ddc3)+_0x56d4b6(_0x279232._0x5ca035,_0x279232._0x587531)]=![];continue;case'4':this['stopped']=!![];continue;case'5':this[_0x56d4b6(0x316,_0x279232._0x5d3344)+_0x56d4b6(_0x279232._0x31ac27,_0x279232._0x19ce65)]?.['close']();continue;case'6':this[_0x535137(0x3ad,_0x279232._0x58c906)+_0x535137(-_0x279232._0x13e68c,0xbb)+_0x56d4b6(0x5a0,0x735)]=![];continue;case'7':this[_0x56d4b6(0x54c,_0x279232._0x30e64b)+'ocket']?.['close']();continue;case'8':if(this['stopped'])return;continue;case'9':this[_0x56d4b6(0x316,_0x279232._0x5945f2)+_0x56d4b6(_0x279232._0x2f1243,0x381)]=null;continue;case'10':this[_0x535137(-_0x279232._0x350fb3,0xd5)+_0x56d4b6(0x33e,0x3f3)+_0x535137(0xaf,0x4b)]=null;continue;case'11':this['clientDe'+_0x56d4b6(0x4c1,_0x279232._0x1dc669)+'tedAtMs']=null;continue;case'12':const _0xdcae56={};_0xdcae56[_0x56d4b6(0x497,_0x279232._0x3a2d7a)]=![],_0xdcae56[_0x535137(_0x279232._0x595788,0xf7)+'nected']=![],_0xdcae56[_0x56d4b6(_0x279232._0xa9bc49,_0x279232._0x489246)+'onnected']=![],_0xdcae56[_0x535137(-0x32,_0x279232._0x493ca1)+_0x56d4b6(_0x279232._0x1f6cf7,_0x279232._0x44e3ee)]=0x0,_0xdcae56[_0x535137(_0x279232._0x1ffb02,_0x279232._0x42836d)+'r']=null,this['updateSn'+_0x535137(0x1a1,0x10e)](_0xdcae56);continue;case'13':await _0x55c7e6(0x19);continue;case'14':this['gatewayC'+_0x56d4b6(_0x279232._0x13e82c,0x70a)+'g']=![];continue;case'15':this[_0x56d4b6(0x483,_0x279232._0x745720)+_0x535137(-_0x279232._0x5030ca,_0x279232._0x9d53b9)]();continue;}break;}}async['approveP'+_0x6023f8(0x21c,0x334)+'st'](_0xd9139e){const _0x2d2f85={_0x5b558c:0x167,_0xaac5f1:0x21b,_0xe1de0e:0x4,_0xf3e03e:0x10f,_0x833b1a:0x14a,_0xf47d61:0x11b,_0x31636d:0x1c8,_0x47437f:0x19a,_0x1a2d84:0x2eb},_0x325169={_0x2d0bcd:0xcd},_0x1fb33c={_0x56bdb4:0x10},_0x3d68f6={};_0x3d68f6[_0x5f3256(0x352,0x2ca)]=_0x5f3256(0x19d,_0x2d2f85._0x5b558c)+_0x5f3256(0x1bf,_0x2d2f85._0xaac5f1)+_0x53c2ff(-_0x2d2f85._0xe1de0e,_0x2d2f85._0xf3e03e),_0x3d68f6[_0x53c2ff(_0x2d2f85._0x833b1a,0x1c3)]=_0x5f3256(_0x2d2f85._0xf47d61,0x2c0);const _0x20bb01=_0x3d68f6;function _0x53c2ff(_0x50923e,_0x3410b3){return _0x6023f8(_0x50923e,_0x3410b3- -_0x1fb33c._0x56bdb4);}const _0x44a87a={};_0x44a87a['requestI'+'d']=_0xd9139e;function _0x5f3256(_0xc57732,_0x2db2d3){return _0x6023f8(_0x2db2d3,_0xc57732-_0x325169._0x2d0bcd);}this[_0x53c2ff(0x248,0x14d)+_0x5f3256(0x105,_0x2d2f85._0x31636d)+'st'](_0x20bb01[_0x53c2ff(0x3c7,0x275)],_0x44a87a),this['markPair'+'RequestR'+_0x5f3256(_0x2d2f85._0x47437f,0x5d)](_0xd9139e,_0x20bb01[_0x53c2ff(_0x2d2f85._0x1a2d84,0x1c3)]);}async['rejectPa'+_0x5cc096(0x499,0x4ab)+'t'](_0x46576d){const _0x3b01c6={_0x283e00:0x183,_0x56dcc0:0x548,_0x4d2c4c:0x45f,_0x2b8f8b:0xce,_0x5d7a2d:0x1d,_0x4dac5f:0x1d9,_0x3ede19:0x270,_0x52699a:0x3e0,_0xc6ac4e:0x325,_0x1df27a:0x198,_0x38343c:0x20f},_0x12e884={_0x481809:0x610},_0x17a7fc={};function _0x3d25fd(_0x47016b,_0x5dc2e2){return _0x5cc096(_0x5dc2e2,_0x47016b- -_0x12e884._0x481809);}_0x17a7fc[_0x3d25fd(-_0x3b01c6._0x283e00,-0x2e7)]=_0x5f4efc(_0x3b01c6._0x56dcc0,_0x3b01c6._0x4d2c4c);const _0x1a94f0=_0x17a7fc,_0x1d3367={};_0x1d3367[_0x3d25fd(_0x3b01c6._0x2b8f8b,0x199)+'d']=_0x46576d;function _0x5f4efc(_0x49c733,_0x3e7bfe){return _0x5cc096(_0x49c733,_0x3e7bfe- -0x241);}this[_0x3d25fd(-_0x3b01c6._0x5d7a2d,-_0x3b01c6._0x4dac5f)+_0x3d25fd(-0x142,-_0x3b01c6._0x3ede19)+'st'](_0x5f4efc(_0x3b01c6._0x52699a,_0x3b01c6._0xc6ac4e)+_0x5f4efc(0x36d,0x36d)+'ct',_0x1d3367),this[_0x5f4efc(0x36b,0x234)+_0x3d25fd(_0x3b01c6._0x1df27a,0x44)+'esolved'](_0x46576d,_0x1a94f0[_0x3d25fd(-0x183,-_0x3b01c6._0x38343c)]);}[_0x5cc096(0x564,0x49e)+'hot'](){const _0x57bad3={_0x3e8efa:0x83,_0x5276a5:0xdf,_0x35a5d7:0xe4,_0x358c16:0x2c9,_0x374d07:0x341,_0xb749e7:0x1dc,_0x7eeec8:0x1c6,_0x3ff3d2:0x490,_0x54672c:0x222,_0x578cd2:0x136,_0x176112:0x1a0},_0x1b3e6e={...this[_0x1c08ff(_0x57bad3._0x3e8efa,-0x105)]};function _0x43efd4(_0x523f79,_0x46551e){return _0x6023f8(_0x523f79,_0x46551e-0x193);}_0x1b3e6e[_0x1c08ff(-_0x57bad3._0x5276a5,_0x57bad3._0x35a5d7)+_0x43efd4(_0x57bad3._0x358c16,0x341)]=[...this['snapshot'][_0x1c08ff(0xcb,0xe4)+_0x43efd4(0x1fc,_0x57bad3._0x374d07)]];function _0x1c08ff(_0x593388,_0x4ca588){return _0x6023f8(_0x593388,_0x4ca588- -0x194);}return _0x1b3e6e[_0x1c08ff(_0x57bad3._0xb749e7,_0x57bad3._0x7eeec8)+'airReque'+_0x43efd4(_0x57bad3._0x3ff3d2,0x3a5)]=[...this[_0x43efd4(0x235,_0x57bad3._0x54672c)][_0x1c08ff(0x160,_0x57bad3._0x7eeec8)+_0x1c08ff(_0x57bad3._0x578cd2,_0x57bad3._0x176112)+'sts']],_0x1b3e6e;}async[_0x5cc096(0x5c4,0x51a)+_0x5cc096(0x758,0x6fc)](){const _0x39d944={_0x4561cb:0x5ef,_0x4cc790:0x619,_0x5c0499:0x33f,_0x5871a6:0x41e,_0x536e4b:0x317,_0x4b47e5:0x79d,_0x1784d6:0x320,_0x321cad:0x2cb,_0x42e4c9:0x472,_0xd23327:0x5ee,_0x534209:0x51a,_0x27c0ba:0x3f7,_0x32af63:0x526,_0x24bf92:0x4d5,_0x1f329d:0x458,_0x452088:0x577,_0x23b6db:0x543,_0x2c4728:0x2bc,_0x301b69:0x336,_0x565cab:0x665,_0x484dd5:0x2b8,_0x3d58e1:0x3f9,_0x4b0180:0x694,_0x3ef93e:0x4cc,_0x428340:0x3f2,_0x428fed:0x699,_0x5d3eb5:0x710,_0x450839:0x5db,_0x1141a5:0x65a},_0x26d5e8={_0x1e09a0:0x485,_0x4bc5a5:0x1b4,_0x5a4cd1:0x198,_0x1636b4:0x12a,_0x52e764:0x1ee,_0x4c4aad:0x3a1,_0x15292f:0xc9,_0x3f4067:0x253,_0x22386d:0x2ee,_0x40d772:0x249,_0xafb841:0x119,_0x307dd1:0x35,_0x364880:0x1b9,_0x2c6d4b:0x21d,_0x49f3dd:0x7a,_0x59f242:0x5,_0x2d51d8:0xdd,_0x54e22e:0x1d0,_0x55b328:0x2bf,_0x8782e3:0x97,_0x2f3206:0x212,_0x4eebb1:0x23e,_0x3e205a:0x2ad,_0x2df575:0x6a,_0x27c017:0xe3},_0x37ef4a={_0x51e056:0x38f,_0x8d3c41:0x58d,_0x4d2daf:0x4d1},_0x5469f4={_0x5c33c5:0x26c,_0x54f12b:0x375},_0x45755e={_0x1804e2:0x6c9},_0x26488b={_0x376d2a:0x189,_0x24a4ad:0xe3,_0x2645eb:0x178,_0x40fb92:0x3e2,_0x20df15:0x1,_0x8fb959:0x19f,_0x6008e8:0x282,_0x2ca3bc:0x24a,_0x5e7849:0x16a,_0x25abd4:0x58,_0x42bd1e:0x36,_0x208762:0xeb,_0x45533f:0x22,_0x1fb664:0xcc,_0x46e113:0x62,_0xdab1c5:0x32,_0x52e10b:0xdc,_0x1e19e4:0x57,_0xff15a8:0x299},_0x586d77={_0x5098f6:0x1aa},_0x3788e={};_0x3788e[_0x2b41a5(_0x39d944._0x4561cb,_0x39d944._0x4cc790)]=function(_0x5645d3,_0x18c8ac){return _0x5645d3===_0x18c8ac;};const _0x305e7e=_0x3788e;function _0x2b41a5(_0x580582,_0x5ce2ab){return _0x5cc096(_0x580582,_0x5ce2ab- -0x9f);}if(this[_0x4462ae(0x395,_0x39d944._0x5c0499)]||this[_0x4462ae(_0x39d944._0x5871a6,_0x39d944._0x536e4b)+_0x4462ae(0x5ee,_0x39d944._0x4b47e5)]||this[_0x4462ae(_0x39d944._0x1784d6,_0x39d944._0x321cad)+_0x4462ae(0x2eb,_0x39d944._0x42e4c9)]())return;function _0x4462ae(_0x2d68cb,_0x36b2bd){return _0x5cc096(_0x36b2bd,_0x2d68cb- -_0x586d77._0x5098f6);}this['relayCon'+_0x4462ae(_0x39d944._0xd23327,0x4bb)]=!![],this[_0x2b41a5(0x3a9,_0x39d944._0x534209)+_0x2b41a5(_0x39d944._0x27c0ba,0x505)]+=0x1;const _0xb2a2bf=this['relayAtt'+_0x4462ae(0x3fa,_0x39d944._0x32af63)],_0x3e5400=buildRelayWsUrl(this[_0x4462ae(0x53d,_0x39d944._0x24bf92)][_0x4462ae(_0x39d944._0x1f329d,_0x39d944._0x452088)]);this[_0x2b41a5(0x45a,0x46f)](_0x2b41a5(_0x39d944._0x23b6db,0x503)+'nnect\x20at'+'tempt='+_0xb2a2bf+_0x4462ae(_0x39d944._0x2c4728,_0x39d944._0x301b69)+redactRelayWsUrl(_0x3e5400));const _0x17b69f={};_0x17b69f[_0x2b41a5(_0x39d944._0x565cab,0x4f6)+'ad']=0x19*0x400*0x400;const _0x2814b9=new _0x1f747b(_0x3e5400,_0x17b69f);this[_0x4462ae(_0x39d944._0x484dd5,0x24e)+_0x4462ae(0x4da,0x330)]=_0x2814b9,_0x2814b9[_0x4462ae(_0x39d944._0x3d58e1,0x4ab)](_0x4462ae(0x498,0x457),()=>{const _0x4508d={_0x2d3e0a:0x3c6};function _0x2a8268(_0x56f4ee,_0x458821){return _0x4462ae(_0x56f4ee- -_0x4508d._0x2d3e0a,_0x458821);}if(this[_0x2a8268(-0x31,0xab)]||this['relaySoc'+_0x2a8268(0x114,0xd2)]!==_0x2814b9){_0x2814b9[_0x2a8268(_0x26488b._0x376d2a,_0x26488b._0x24a4ad)]();return;}this[_0x497185(-_0x26488b._0x2645eb,-0x338)+_0x2a8268(0x228,_0x26488b._0x40fb92)]=![],this[_0x497185(_0x26488b._0x20df15,-0x96)+_0x497185(-0x1c0,-_0x26488b._0x8fb959)+_0x2a8268(_0x26488b._0x6008e8,0x3fd)]=Date[_0x2a8268(_0x26488b._0x2ca3bc,_0x26488b._0x5e7849)]();const _0x2573c3={};_0x2573c3[_0x2a8268(_0x26488b._0x25abd4,0x19e)+_0x497185(-_0x26488b._0x42bd1e,_0x26488b._0x208762)]=!![],_0x2573c3['lastErro'+'r']=null;function _0x497185(_0x29fd9f,_0x56b6c1){return _0x4462ae(_0x29fd9f- -0x596,_0x56b6c1);}this[_0x497185(_0x26488b._0x45533f,_0x26488b._0x1fb664)+'apshot'](_0x2573c3),this[_0x2a8268(-_0x26488b._0x46e113,0x5e)](_0x2a8268(_0x26488b._0xdab1c5,_0x26488b._0x52e10b)+'nnected\x20'+_0x2a8268(-_0x26488b._0x1e19e4,0xe8)+_0xb2a2bf),this[_0x497185(-_0x26488b._0xff15a8,-0x3a8)+'rtbeat']();}),_0x2814b9['on'](_0x2b41a5(0x644,0x534),(_0x411023,_0x851c4f)=>{const _0x33dd9b={_0x5bd33b:0x191};function _0x36f76(_0x38e39c,_0x321fa5){return _0x4462ae(_0x38e39c-_0x33dd9b._0x5bd33b,_0x321fa5);}function _0x6252cc(_0x47d9f3,_0x59cfe6){return _0x4462ae(_0x59cfe6- -0x44c,_0x47d9f3);}void this[_0x36f76(0x5ab,0x706)+_0x36f76(_0x45755e._0x1804e2,0x668)+'ge'](_0x411023,_0x851c4f);}),_0x2814b9['on'](_0x2b41a5(_0x39d944._0x4b0180,_0x39d944._0x3ef93e),()=>{const _0x463e06={_0x129172:0xd0};function _0x1f0924(_0x489bd2,_0x36fe8c){return _0x2b41a5(_0x489bd2,_0x36fe8c- -0x3a6);}function _0x493464(_0x263da4,_0x99ad5b){return _0x2b41a5(_0x99ad5b,_0x263da4-_0x463e06._0x129172);}this[_0x493464(0x772,0x691)+'yActivit'+_0x1f0924(0x285,0x3ad)]=Date[_0x1f0924(_0x5469f4._0x5c33c5,_0x5469f4._0x54f12b)]();}),_0x2814b9[_0x4462ae(0x3f9,_0x39d944._0x428340)](_0x2b41a5(_0x39d944._0x428fed,_0x39d944._0x5d3eb5),_0x48ea07=>{const _0x4e7a5b={_0x4b71f6:0x1e8};function _0x5dab1d(_0x3e19e5,_0x5861a8){return _0x4462ae(_0x5861a8- -0x116,_0x3e19e5);}function _0x42ac1e(_0x278ab4,_0x31db34){return _0x4462ae(_0x31db34-_0x4e7a5b._0x4b71f6,_0x278ab4);}this[_0x5dab1d(_0x37ef4a._0x51e056,0x24e)](_0x5dab1d(_0x37ef4a._0x8d3c41,0x534)+_0x42ac1e(0x5fa,_0x37ef4a._0x4d2daf)+String(_0x48ea07));}),_0x2814b9['once'](_0x2b41a5(_0x39d944._0x450839,_0x39d944._0x1141a5),(_0x56cf5f,_0x4512e7)=>{const _0x5ce347=(_0x5e1289(0x3bf,_0x26d5e8._0x1e09a0)+_0x4f23d7(-_0x26d5e8._0x4bc5a5,-_0x26d5e8._0x5a4cd1)+'0')['split']('|');let _0xa096b4=0x0;function _0x4f23d7(_0x110900,_0x38770d){return _0x4462ae(_0x110900- -0x4d5,_0x38770d);}function _0x5e1289(_0x379ffa,_0x573730){return _0x4462ae(_0x379ffa- -0x23e,_0x573730);}while(!![]){switch(_0x5ce347[_0xa096b4++]){case'0':this[_0x4f23d7(0x80,0x1af)+_0x5e1289(_0x26d5e8._0x1636b4,_0x26d5e8._0x52e764)+_0x5e1289(_0x26d5e8._0x4c4aad,0x21b)]();continue;case'1':this[_0x4f23d7(-_0x26d5e8._0x15292f,0xf8)+_0x4f23d7(-0x72,-0x169)+_0x5e1289(_0x26d5e8._0x3f4067,0x274)]=null;continue;case'2':this[_0x5e1289(_0x26d5e8._0x22386d,0x4a6)+_0x5e1289(0x84,_0x26d5e8._0x40d772)]();continue;case'3':this[_0x5e1289(0x1e0,0x233)+_0x4f23d7(_0x26d5e8._0xafb841,_0x26d5e8._0x307dd1)]=![];continue;case'4':this['gatewayC'+_0x4f23d7(-0x1f5,-0x2a6)+_0x5e1289(0x134,0x46)]=null;continue;case'5':_0x305e7e[_0x4f23d7(0x39,_0x26d5e8._0x364880)](this[_0x4f23d7(-_0x26d5e8._0x2c6d4b,-_0x26d5e8._0x49f3dd)+_0x4f23d7(_0x26d5e8._0x59f242,-_0x26d5e8._0x2d51d8)],_0x2814b9)&&(this['relaySoc'+_0x4f23d7(0x5,_0x26d5e8._0x54e22e)]=null);continue;case'6':this[_0x5e1289(_0x26d5e8._0x55b328,0x144)+_0x5e1289(0x400,0x39a)]();continue;case'7':this['log']('relay\x20di'+_0x4f23d7(_0x26d5e8._0x8782e3,-0xa)+_0x5e1289(_0x26d5e8._0x2f3206,_0x26d5e8._0x4eebb1)+_0x56cf5f+'\x20reason='+(_0x4512e7[_0x5e1289(0xe8,_0x26d5e8._0x3e205a)]()||_0x5e1289(0x99,_0x26d5e8._0x2df575)));continue;case'8':this[_0x4f23d7(_0x26d5e8._0x27c017,-0x49)+'apshot']({'relayConnected':![],'gatewayConnected':![],'clientCount':0x0,'lastError':_0x56cf5f===0x3e8?null:'relay\x20cl'+_0x4f23d7(-0x27,-0x1a0)+(_0x4512e7['toString']()||_0x56cf5f)});continue;}break;}});}async['handleRe'+_0x5cc096(0x548,0x6e2)+'ge'](_0x50d250,_0x47c34a){const _0x165c34={_0x33f259:0x289,_0x194e4d:0x230,_0x438245:0x26f,_0x306d4f:0x2d0,_0xbadf7c:0x2e1,_0x442c0b:0x336,_0x37df25:0x269,_0xce42a8:0x160,_0xfa44a0:0x5a,_0x9ec2e1:0x89,_0xb31388:0x22c,_0x194a66:0x42,_0x984f3f:0x240,_0x10fe78:0x17c,_0xb8d54:0x1fc,_0x1ddb5b:0x1c3,_0x574c78:0x414,_0x1189b6:0x2de,_0x609264:0xe9,_0x51413b:0x1a4,_0x3341da:0xfb,_0x3f7182:0x1f6},_0x41e55c={'zjQzI':function(_0x3d3d15,_0x383d0c){return _0x3d3d15(_0x383d0c);}};function _0x556daf(_0x5b3dc2,_0x4d6a7b){return _0x5cc096(_0x5b3dc2,_0x4d6a7b- -0x511);}this[_0x556daf(_0x165c34._0x33f259,_0x165c34._0x194e4d)+_0x4827f4(_0x165c34._0x438245,0x120)+_0x556daf(_0x165c34._0x306d4f,_0x165c34._0xbadf7c)]=Date['now']();if(_0x47c34a){this[_0x4827f4(0x48e,0x2bf)+_0x556daf(_0x165c34._0x442c0b,_0x165c34._0x37df25)+'tewayMes'+'sage']({'kind':_0x4827f4(_0x165c34._0xce42a8,0x5f),'data':normalizeBinary(_0x50d250)});return;}const _0x15336a=normalizeText(_0x50d250);if(_0x15336a==null)return;const _0x27ce14=_0x41e55c['zjQzI'](parseControl,_0x15336a);if(_0x27ce14){this['handleRe'+_0x556daf(_0x165c34._0xfa44a0,_0x165c34._0x9ec2e1)+'ol'](_0x27ce14[_0x4827f4(0x31c,0x1b8)],_0x27ce14['count']);return;}const _0x49906f=parseConnectStartIdentity(_0x15336a);_0x49906f&&this['observeC'+_0x4827f4(_0x165c34._0xb31388,0x24c)+_0x556daf(_0x165c34._0x194a66,0x125)](_0x49906f['id'],_0x49906f[_0x4827f4(_0x165c34._0x984f3f,_0x165c34._0x10fe78)]);const _0x1d9ff2={};_0x1d9ff2[_0x556daf(_0x165c34._0xb8d54,_0x165c34._0x1ddb5b)]=_0x556daf(_0x165c34._0x574c78,0x2bd);function _0x4827f4(_0x56bbfc,_0x466502){return _0x5cc096(_0x56bbfc,_0x466502- -0x460);}_0x1d9ff2[_0x4827f4(_0x165c34._0x1189b6,0x36e)]=_0x15336a,this[_0x556daf(_0x165c34._0x609264,0x20e)+_0x556daf(0x419,0x269)+_0x4827f4(_0x165c34._0x51413b,_0x165c34._0x3341da)+_0x556daf(0x37c,_0x165c34._0x3f7182)](_0x1d9ff2);}[_0x6023f8(0x6d,0x12e)+_0x6023f8(0x5e,0x104)+'ol'](_0x282275,_0x28624d){const _0x5c1d81={_0x5ab420:0x7e7,_0x4283c4:0x6a8,_0x499b80:0x7d5,_0x18815a:0x58c,_0x4dc411:0x2d1,_0x39df01:0x23d,_0x2400cb:0x615,_0x273a82:0x602,_0x5f3d3a:0x615,_0x4e0679:0x77e,_0x227ebe:0x432,_0x37d79f:0x362,_0x790553:0x2bd,_0x15f87b:0x3b9,_0x3a3b79:0x362,_0x450c23:0x627,_0x10d71b:0x621,_0x5a4156:0x600,_0x338748:0x600,_0x3d75f6:0x6d0,_0x42eeb4:0x7d2,_0x4418df:0x4ae,_0x31aeac:0x5e1,_0x8f8684:0x6bb,_0x383b93:0x39c,_0x1e8c56:0x3ab,_0x4d89df:0x2da,_0x27b4d9:0x412,_0x14b8ac:0x675,_0x30d332:0x477,_0x3e4def:0x20f,_0x38cf89:0x80b,_0x354275:0x297,_0x59d1a0:0x20f,_0x164dac:0x233,_0x149ffd:0x573,_0x1a6940:0x56a,_0x2f50cc:0x5c0,_0x5def0d:0x687,_0x5a61b2:0x4a4,_0x12cefe:0x741,_0x4a0722:0x7bc,_0x4a29db:0x4f5,_0x3abc3f:0x38b,_0x25290c:0x14c,_0x3ca0e0:0x2b3,_0x232981:0x5c4,_0x2a7b5b:0x5d9,_0x4ab2e5:0x3f1,_0x4bb6c2:0x4ea,_0x3e50e5:0x6e4,_0x24f541:0x197,_0x4592c3:0x55b,_0x4bda01:0x340,_0x38a386:0x3ea,_0x12a368:0x564,_0x20a520:0x2c6,_0x43d494:0x3e7,_0x21ce8c:0x335,_0x22e944:0x5d0,_0x33be02:0x3b1,_0x284189:0x67c,_0x17cf00:0x224,_0x51d61d:0x302,_0x470ba5:0x307,_0x2a3037:0x558,_0x5ce9c0:0x2df,_0x2e9740:0x45d,_0x8e3dcb:0x1a3,_0x5f0c3b:0x706,_0x2aa1d4:0x59c,_0x4132d1:0x45e,_0x2d6d1a:0x270,_0x253beb:0x462,_0x1bceab:0x3ac,_0x255046:0x315,_0x516a3a:0x54a,_0x471f65:0x4b7,_0x438a70:0x7dd,_0x5b2f8f:0x389,_0x365b71:0x525,_0x2b3171:0x561,_0x53da87:0x4b3,_0x1895ee:0x655,_0x257ded:0x622,_0x32c5b4:0x194,_0x19e8f7:0x2fe,_0x1b60e2:0x9b7,_0x17e810:0x5a3,_0x325a9b:0x489,_0x20fb62:0x3fb,_0x1329d2:0x236,_0x15fda2:0x44e,_0x40f20d:0x2c8,_0x14fa3a:0x68b,_0x25d496:0x583};function _0x368938(_0xf078a4,_0x2ae900){return _0x5cc096(_0x2ae900,_0xf078a4-0x1a);}const _0x1f5403={'YbikI':function(_0x31d976,_0x5ec938){return _0x31d976===_0x5ec938;},'ryEKQ':function(_0x1f4d3b,_0x5bc1b4){return _0x1f4d3b>_0x5bc1b4;},'qPFto':_0x368938(0x810,_0x5c1d81._0x5ab420)+'ount_zer'+'o','fUWYo':function(_0x461080,_0x89776,_0x1c80f9,_0x32599e,_0x12cc72){return _0x461080(_0x89776,_0x1c80f9,_0x32599e,_0x12cc72);}};function _0x3d7ec4(_0x4c90c7,_0x5a8977){return _0x5cc096(_0x4c90c7,_0x5a8977- -0x254);}if(_0x1f5403[_0x368938(0x74f,_0x5c1d81._0x4283c4)](_0x282275,_0x368938(0x810,_0x5c1d81._0x499b80)+'onnected')||_0x282275===_0x3d7ec4(0x598,0x5a2)+_0x368938(0x715,_0x5c1d81._0x18815a)){const _0xd59211=this[_0x3d7ec4(0x21f,_0x5c1d81._0x4dc411)][_0x3d7ec4(_0x5c1d81._0x39df01,0x392)+_0x368938(_0x5c1d81._0x2400cb,_0x5c1d81._0x273a82)],_0x46d7e2=_0x28624d??Math[_0x368938(0x6b4,0x7a4)](0x1,this['snapshot'][_0x368938(0x600,0x5d4)+_0x368938(_0x5c1d81._0x5f3d3a,_0x5c1d81._0x4e0679)]),_0x19e658=Boolean(this[_0x368938(0x505,_0x5c1d81._0x227ebe)+'dleClose'+_0x3d7ec4(0x4d2,0x3c9)]);_0x1f5403[_0x3d7ec4(0x486,0x591)](_0x46d7e2,0x0)&&this[_0x3d7ec4(0x3a8,_0x5c1d81._0x37d79f)+_0x3d7ec4(_0x5c1d81._0x790553,_0x5c1d81._0x15f87b)+'tedAtMs']==null&&(this[_0x3d7ec4(0x32b,_0x5c1d81._0x3a3b79)+_0x368938(_0x5c1d81._0x450c23,_0x5c1d81._0x18815a)+'tedAtMs']=Date[_0x368938(0x7d4,_0x5c1d81._0x10d71b)]());const _0x26e800={};_0x26e800[_0x368938(_0x5c1d81._0x5a4156,0x4c5)+'unt']=_0x46d7e2,this[_0x368938(0x77c,_0x5c1d81._0x338748)+'apshot'](_0x26e800);if(_0x46d7e2===0x0)this['markDevi'+_0x368938(_0x5c1d81._0x3d75f6,_0x5c1d81._0x42eeb4)+'t'](),this['schedule'+_0x368938(_0x5c1d81._0x4418df,_0x5c1d81._0x31aeac)+_0x368938(0x583,_0x5c1d81._0x8f8684)](_0x1f5403[_0x368938(0x4f8,0x394)]);else{this[_0x368938(0x717,0x8ca)+_0x3d7ec4(0x558,_0x5c1d81._0x383b93)+_0x3d7ec4(0x423,_0x5c1d81._0x1e8c56)](_0x368938(0x7c6,0x6b8)+_0x3d7ec4(_0x5c1d81._0x4d89df,_0x5c1d81._0x27b4d9)+_0x368938(0x5e1,_0x5c1d81._0x14b8ac));_0x1f5403[_0x3d7ec4(0x39f,0x2a6)](shouldRecycleGatewayForFreshClient,_0xd59211,_0x46d7e2,this[_0x3d7ec4(_0x5c1d81._0x27b4d9,_0x5c1d81._0x30d332)+'yOpen'](),_0x19e658)&&(this[_0x368938(0x528,0x6ef)](_0x368938(0x521,0x373)+_0x3d7ec4(_0x5c1d81._0x3e4def,0x27f)+_0x368938(_0x5c1d81._0x38cf89,0x926)+_0x3d7ec4(_0x5c1d81._0x354275,_0x5c1d81._0x59d1a0)+_0x3d7ec4(_0x5c1d81._0x164dac,0x2d6)+_0x3d7ec4(_0x5c1d81._0x149ffd,_0x5c1d81._0x1a6940)+'d'),this[_0x368938(0x6f0,0x874)+_0x3d7ec4(0xc5,0x218)]());if(this['isGatewa'+'yOpen']()){const _0x584823={};_0x584823[_0x368938(_0x5c1d81._0x2f50cc,_0x5c1d81._0x5def0d)+_0x368938(_0x5c1d81._0x5a61b2,0x64d)]=!![],_0x584823[_0x368938(_0x5c1d81._0x12cefe,_0x5c1d81._0x4a0722)+'r']=null,this[_0x3d7ec4(0x3f2,0x50e)+_0x3d7ec4(_0x5c1d81._0x4a29db,_0x5c1d81._0x3abc3f)](_0x584823),this[_0x368938(0x528,0x5bf)](_0x3d7ec4(_0x5c1d81._0x25290c,_0x5c1d81._0x3ca0e0)+_0x368938(_0x5c1d81._0x232981,0x4c8)+_0x368938(_0x5c1d81._0x2a7b5b,0x4e0)+_0x3d7ec4(0x49a,_0x5c1d81._0x4ab2e5)+_0x3d7ec4(0x629,0x475)+this[_0x3d7ec4(_0x5c1d81._0x4bb6c2,0x4f9)+_0x368938(0x5a3,_0x5c1d81._0x3e50e5)](this['gatewayC'+_0x368938(0x4a4,0x45e)+_0x3d7ec4(_0x5c1d81._0x24f541,0x2c8)])+(_0x368938(0x70e,0x5fb)+_0x3d7ec4(0x231,0x29b)+'d=')+this['gatewayH'+_0x3d7ec4(0x203,0x338)+_0x3d7ec4(_0x5c1d81._0x4592c3,0x498)]);}this[_0x368938(0x5cb,0x719)+'tewayCon'+_0x3d7ec4(_0x5c1d81._0x4bda01,0x4b6)]();}this['log']('relay\x20co'+'ntrol\x20ev'+'ent='+_0x282275+'\x20count='+_0x46d7e2+(_0x3d7ec4(_0x5c1d81._0x38a386,_0x5c1d81._0x12a368)+_0x3d7ec4(_0x5c1d81._0x20a520,0x3a4)+_0x3d7ec4(0x396,0x3e4))+this[_0x3d7ec4(0x3fe,0x4f9)+_0x3d7ec4(_0x5c1d81._0x43d494,_0x5c1d81._0x21ce8c)](this[_0x368938(_0x5c1d81._0x22e944,0x4c7)+_0x3d7ec4(_0x5c1d81._0x33be02,_0x5c1d81._0x15f87b)+'tedAtMs'])+_0x368938(0x5c9,_0x5c1d81._0x284189)+this['pendingG'+_0x3d7ec4(_0x5c1d81._0x17cf00,_0x5c1d81._0x51d61d)+_0x3d7ec4(_0x5c1d81._0x470ba5,0x271)]['length']);return;}if(_0x282275===_0x3d7ec4(0x4a5,_0x5c1d81._0x2a3037)+'isconnec'+'ted'){this[_0x3d7ec4(_0x5c1d81._0x5ce9c0,_0x5c1d81._0x2e9740)+_0x3d7ec4(_0x5c1d81._0x8e3dcb,0x338)+_0x368938(_0x5c1d81._0x5f0c3b,_0x5c1d81._0x2aa1d4)]=![];const _0x25d137={};_0x25d137[_0x368938(_0x5c1d81._0x5a4156,0x5dc)+_0x368938(0x615,0x53a)]=0x0,this[_0x3d7ec4(_0x5c1d81._0x4132d1,0x50e)+'apshot'](_0x25d137),this[_0x3d7ec4(_0x5c1d81._0x2d6d1a,0x396)+_0x3d7ec4(0x43c,_0x5c1d81._0x253beb)+'t'](),this['schedule'+'GatewayI'+_0x3d7ec4(_0x5c1d81._0x1bceab,_0x5c1d81._0x255046)](_0x3d7ec4(_0x5c1d81._0x516a3a,0x558)+_0x368938(0x64a,0x556)+'ted'),this[_0x368938(0x528,_0x5c1d81._0x471f65)]('relay\x20co'+_0x368938(0x68b,0x4e9)+_0x368938(_0x5c1d81._0x438a70,0x7fd)+_0x368938(0x548,0x643)+_0x368938(0x7b0,0x76e)+'sinceCli'+_0x3d7ec4(_0x5c1d81._0x5b2f8f,_0x5c1d81._0x365b71)+'dMs='+this[_0x3d7ec4(_0x5c1d81._0x2b3171,0x4f9)+_0x3d7ec4(0x408,_0x5c1d81._0x21ce8c)](this[_0x3d7ec4(0x217,0x362)+_0x3d7ec4(_0x5c1d81._0x53da87,0x3b9)+_0x368938(_0x5c1d81._0x1895ee,_0x5c1d81._0x257ded)])+('\x20sinceGa'+_0x3d7ec4(_0x5c1d81._0x32c5b4,_0x5c1d81._0x19e8f7)+_0x368938(0x803,_0x5c1d81._0x1b60e2))+this[_0x3d7ec4(0x5a2,0x4f9)+_0x368938(_0x5c1d81._0x17e810,_0x5c1d81._0x325a9b)](this[_0x368938(_0x5c1d81._0x2f50cc,0x4b8)+_0x3d7ec4(_0x5c1d81._0x20fb62,_0x5c1d81._0x1329d2)+_0x3d7ec4(_0x5c1d81._0x15fda2,_0x5c1d81._0x40f20d)]));return;}this['log'](_0x3d7ec4(0x21b,0x34e)+_0x368938(_0x5c1d81._0x14fa3a,_0x5c1d81._0x25d496)+'ent='+_0x282275);}['forwardO'+_0x6023f8(0x475,0x2e4)+_0x5cc096(0x4e6,0x55b)+_0x6023f8(0x110,0x271)](_0x54536d){const _0x1a441f={_0x1c3d4d:0x4d4,_0x8c4693:0x4a7,_0x9d5a6c:0x32f,_0x15123a:0x2cf,_0x5370ab:0x18d,_0x1f5ffd:0x4f8,_0x34f7fc:0x3cb,_0x938133:0x307,_0x3ec646:0x42e,_0x3a847c:0x547,_0x4e5f4c:0x591,_0x47fb4b:0x560,_0x4423a3:0x615,_0x22793d:0x5ae,_0x209494:0x64c,_0x338886:0x469,_0x1d492f:0x5e0,_0x13f52c:0x5db,_0x4d4e94:0x4b9,_0x2be37c:0x3d7,_0x1a855f:0x3b1,_0x388e95:0x4a4,_0x3e5548:0x3c9,_0x4cc4cb:0x50b,_0x24d774:0x6e7,_0x2d35a1:0x62b,_0x36b6f4:0x58c,_0x39366b:0x439,_0x2ec2ee:0x645,_0x3e44ad:0x70e,_0x45ac17:0x638,_0x48566e:0x4ef,_0xa72480:0x5ce,_0x13f25e:0x4ad,_0x2dc06b:0x651,_0xb3c8f3:0x55f,_0x5d7f48:0x6a9,_0xeb8a9e:0x4de,_0xcb1637:0x4be,_0x550373:0x4ad,_0x42c59c:0x66c,_0x1e4b98:0x45a,_0x3726be:0x42c,_0x12b6cb:0x474,_0x5479c1:0x6df,_0x540560:0x679},_0x24257b={_0x24222d:0xdf},_0x716677={'RrKAS':_0xe5ec2e(0x641,_0x1a441f._0x1c3d4d),'Thbag':function(_0x3f65fb,_0x4f8d11){return _0x3f65fb(_0x4f8d11);},'EkDAW':function(_0x82ab15,_0x2fa501,_0xc7bc8c){return _0x82ab15(_0x2fa501,_0xc7bc8c);},'SOwUZ':function(_0x5ad110,_0x22cf8b){return _0x5ad110===_0x22cf8b;},'jZpHJ':_0x381d00(_0x1a441f._0x8c4693,_0x1a441f._0x9d5a6c)+'nnect\x20dr'+'opped\x20af'+_0xe5ec2e(_0x1a441f._0x15123a,_0x1a441f._0x5370ab)+_0x381d00(_0x1a441f._0x1f5ffd,_0x1a441f._0x34f7fc)+_0x381d00(0x5b0,0x623)+_0xe5ec2e(0x344,_0x1a441f._0x938133)+_0x381d00(_0x1a441f._0x3ec646,0x4bd)+_0x381d00(0x69f,0x749)},_0x54fad8=_0x54536d[_0xe5ec2e(_0x1a441f._0x3a847c,0x3ca)]===_0x716677[_0x381d00(0x54c,0x40a)]&&_0x716677['Thbag'](isConnectHandshakeRequest,_0x54536d['text']);if(_0x54536d[_0x381d00(0x5f5,0x7c1)]===_0xe5ec2e(0x641,0x706)){const _0x40850d=summarizeJsonFrame(_0x54536d['text']);_0x40850d&&this['log'](_0x381d00(_0x1a441f._0x4e5f4c,_0x1a441f._0x47fb4b)+_0xe5ec2e(0x539,0x38b)+_0x40850d+(_0x381d00(_0x1a441f._0x4423a3,_0x1a441f._0x22793d)+_0x381d00(_0x1a441f._0x209494,0x5f2))+_0x54fad8+(_0x381d00(_0x1a441f._0x338886,_0x1a441f._0x1d492f)+_0xe5ec2e(_0x1a441f._0x13f52c,0x593))+this[_0xe5ec2e(0x53e,0x64d)+_0xe5ec2e(_0x1a441f._0x4d4e94,_0x1a441f._0x2be37c)]()+'\x20queued='+this[_0xe5ec2e(_0x1a441f._0x1a855f,_0x1a441f._0x388e95)+_0xe5ec2e(_0x1a441f._0x3e5548,0x372)+'ssages']['length']);}function _0x381d00(_0x20948b,_0x1ea708){return _0x5cc096(_0x1ea708,_0x20948b- -_0x24257b._0x24222d);}function _0xe5ec2e(_0x3ec391,_0x426644){return _0x5cc096(_0x426644,_0x3ec391- -0x18d);}const _0x1ef1cd=this[_0xe5ec2e(_0x1a441f._0x4cc4cb,0x4fd)+'ocket'];if(!_0x1ef1cd||_0x1ef1cd[_0x381d00(0x645,_0x1a441f._0x24d774)+'te']!==_0x1f747b[_0x381d00(0x70e,0x6dd)]){this['ensureGa'+_0x381d00(0x44a,0x5a0)+_0x381d00(_0x1a441f._0x2d35a1,_0x1a441f._0x36b6f4)]();if(_0x716677[_0x381d00(0x515,_0x1a441f._0x39366b)](shouldDropStaleConnectAfterGatewayReopen,Boolean(_0x1ef1cd&&_0x716677['SOwUZ'](_0x1ef1cd[_0x381d00(_0x1a441f._0x2ec2ee,0x5e4)+'te'],_0x1f747b[_0x381d00(_0x1a441f._0x3e44ad,0x5a0)])),_0x54fad8)){this['log'](_0x716677[_0xe5ec2e(_0x1a441f._0x45ac17,0x4ee)]);return;}this[_0xe5ec2e(0x4de,0x3a1)+_0xe5ec2e(_0x1a441f._0x48566e,_0x1a441f._0xa72480)+_0xe5ec2e(0x4be,0x45c)+'e'](_0x54536d);return;}if(!this['gatewayH'+_0x381d00(_0x1a441f._0x13f25e,_0x1a441f._0x2dc06b)+_0xe5ec2e(_0x1a441f._0xb3c8f3,_0x1a441f._0x5d7f48)]){if(!_0x54fad8){this[_0xe5ec2e(_0x1a441f._0xeb8a9e,0x5e8)+'ingGatew'+_0xe5ec2e(_0x1a441f._0xcb1637,0x53f)+'e'](_0x54536d);return;}this['gatewayH'+_0x381d00(_0x1a441f._0x550373,_0x1a441f._0x42c59c)+'Started']=!![],this['log'](_0x381d00(0x428,_0x1a441f._0x1e4b98)+'handshak'+_0xe5ec2e(0x3e9,0x4b5)+'d\x20queued'+'='+this[_0x381d00(0x45f,_0x1a441f._0x3726be)+_0x381d00(0x477,_0x1a441f._0x12b6cb)+_0x381d00(0x3e6,0x54f)][_0x381d00(0x55a,_0x1a441f._0x5479c1)]);}this[_0x381d00(_0x1a441f._0x540560,0x5f1)+'teway'](_0x54536d);}['ensureGa'+_0x5cc096(0x607,0x529)+_0x6023f8(0x26a,0x274)](){const _0x4232db={_0x3691e9:0x159,_0x4a1ed5:0x29f,_0x3789af:0xf3,_0x14c641:0x8e,_0x3798a6:0x141,_0x5ea0d7:0xab,_0x38f054:0x19b,_0x428b8c:0x123,_0x673b28:0x79,_0x27c1f0:0x60,_0x40df4d:0x1d0,_0xd57c67:0x268,_0xf6c030:0x29c,_0x5df5f0:0x80,_0x118fd1:0x85,_0x435f0e:0x4c,_0x43e364:0x2a,_0x40681c:0x9c,_0x53e866:0x61,_0x2ba976:0x28,_0x252ffe:0x28f,_0x211fef:0x46,_0x1e1a57:0x5b,_0x2d5809:0x2b8,_0x57f758:0x70},_0x44d374={_0xd0aa9e:0x42e,_0xb6761a:0x122,_0x23589d:0x32b,_0x46c351:0x12c,_0x5eaef8:0x268,_0x224ec4:0x2fb,_0x132d04:0x33c,_0x5a74db:0x402,_0x27e84a:0x150,_0x336ab4:0x4f8,_0x1d9c9d:0x375,_0x19cd63:0x1eb,_0x2806db:0x36f,_0x334496:0x29d,_0x372a6b:0x429,_0x1218c3:0x3eb,_0xb67599:0x4c,_0x54717e:0x1ea,_0x56f36d:0x4af,_0x124bbf:0x334,_0x2c38f3:0x275,_0x157299:0x3ce,_0x3a69b5:0x31f,_0x26ec6b:0x264,_0x36a2d8:0x4da,_0x51df54:0x1b7,_0x316e9e:0x452,_0x13c47c:0x307},_0x132814={_0x1b7062:0x4ed,_0x4a52cf:0x282,_0xf2ac9d:0x1c2,_0xf0f747:0x4ba,_0x59a118:0x3f7},_0x19ea27={_0xa221b6:0x2f0,_0x30d8d4:0x219},_0x4c2cbf={_0x2cb785:0x146,_0x53c7ef:0x467,_0x15d518:0x833,_0x53259d:0x6fb,_0x21e5ab:0x8,_0xfb4e04:0x113,_0x2736d4:0x736,_0x41e84c:0x789,_0x25c9ed:0x5f0,_0x2c2ab6:0x10a,_0x56f103:0x6f6,_0xeef88:0x12,_0x4c7dab:0xcb,_0x4cb68d:0x193,_0x21fae0:0x21d,_0x17145c:0x295,_0x4074cb:0x629,_0x1e3f67:0x86,_0x290b4c:0x26,_0x3a6ac9:0x16e,_0x32e0ad:0x1cd,_0x1b567b:0x7c9,_0x4597b1:0x15f,_0x47d3ca:0xb,_0xb1cd97:0x1ac,_0x4411fc:0x22,_0x1ceb59:0xfd,_0x4e6f23:0x7c2,_0x33a575:0x685,_0x2e9325:0x45d,_0x209eac:0x82a};function _0x3e3991(_0x33cb41,_0x24baf0){return _0x6023f8(_0x24baf0,_0x33cb41- -0x2d3);}if(this[_0x3e3991(-0x22a,-_0x4232db._0x3691e9)]||!this[_0x3e3991(-_0x4232db._0x4a1ed5,-0x1b3)+_0x28c6f3(-0x2e1,-0x4ac)]()||this[_0x28c6f3(-0x1d0,-_0x4232db._0x3789af)+_0x3e3991(-_0x4232db._0x14c641,-_0x4232db._0x3798a6)+'g']||this[_0x28c6f3(-_0x4232db._0x5ea0d7,-_0x4232db._0x38f054)+_0x3e3991(-_0x4232db._0x428b8c,0x7e)]()||!this[_0x3e3991(-0x1df,-0x166)+_0x28c6f3(-0x148,-0x17)]())return;this[_0x28c6f3(-_0x4232db._0x673b28,_0x4232db._0x27c1f0)+_0x28c6f3(-0x186,-0x34)+_0x3e3991(-0x16a,0x39)](_0x28c6f3(-0x150,-0x316)+'reconnec'+_0x3e3991(-0x1ee,-0x319)+'ted'),this[_0x28c6f3(-_0x4232db._0x40df4d,-0x78)+'onnectin'+'g']=!![],this[_0x28c6f3(-_0x4232db._0xd57c67,-_0x4232db._0xf6c030)]('gateway\x20'+_0x3e3991(-_0x4232db._0x5df5f0,-0x1f0)+'start\x20ur'+'l='+this[_0x28c6f3(-0x8f,0xe0)][_0x28c6f3(-0x2a,_0x4232db._0x118fd1)+'rl']);const _0x4686b1={};function _0x28c6f3(_0x340b35,_0x54f152){return _0x6023f8(_0x54f152,_0x340b35- -0x2e0);}_0x4686b1[_0x3e3991(-0x1d4,-0x59)+'ad']=0x19*0x400*0x400;const _0x5aee9b=new _0x1f747b(this[_0x3e3991(-0x82,-_0x4232db._0x435f0e)][_0x28c6f3(-_0x4232db._0x43e364,0x162)+'rl'],_0x4686b1);this['gatewayS'+_0x28c6f3(-_0x4232db._0x40681c,_0x4232db._0x53e866)]=_0x5aee9b,_0x5aee9b[_0x28c6f3(-0x1d3,-0x29d)](_0x28c6f3(-0x134,_0x4232db._0x2ba976),()=>{if(this[_0x4f5f7a(-0x55,0x15b)]||this['gatewayS'+_0x4f5f7a(_0x4c2cbf._0x2cb785,0x1a7)]!==_0x5aee9b){_0x5aee9b[_0x396d76(0x90a,0x743)]();return;}function _0x4f5f7a(_0x3c9577,_0x4fab6e){return _0x3e3991(_0x3c9577-0x1d5,_0x4fab6e);}this[_0x396d76(_0x4c2cbf._0x53c7ef,0x5f0)+'onnectin'+'g']=![],this[_0x396d76(_0x4c2cbf._0x15d518,_0x4c2cbf._0x53259d)+_0x4f5f7a(-_0x4c2cbf._0x21e5ab,_0x4c2cbf._0xfb4e04)+_0x396d76(0x636,_0x4c2cbf._0x2736d4)]=![],this[_0x396d76(_0x4c2cbf._0x41e84c,_0x4c2cbf._0x25c9ed)+_0x4f5f7a(-_0x4c2cbf._0x2c2ab6,-0x45)+_0x396d76(_0x4c2cbf._0x56f103,0x566)]=Date[_0x4f5f7a(0x226,0x24e)]();const _0x304296={};_0x304296[_0x4f5f7a(_0x4c2cbf._0xeef88,-_0x4c2cbf._0x4c7dab)+'onnected']=!![],_0x304296[_0x4f5f7a(_0x4c2cbf._0x4cb68d,_0x4c2cbf._0x21fae0)+'r']=null,this[_0x4f5f7a(0x1ce,_0x4c2cbf._0x17145c)+_0x396d76(0x73e,_0x4c2cbf._0x4074cb)](_0x304296),this[_0x4f5f7a(-_0x4c2cbf._0x1e3f67,-0x71)](_0x4f5f7a(-0x8d,0x1b)+_0x4f5f7a(0x17a,_0x4c2cbf._0x290b4c)+'d\x20sinceC'+_0x4f5f7a(_0x4c2cbf._0x3a6ac9,_0x4c2cbf._0x32e0ad)+_0x396d76(_0x4c2cbf._0x1b567b,0x756)+this[_0x4f5f7a(0x1b9,_0x4c2cbf._0x4597b1)+_0x4f5f7a(-_0x4c2cbf._0x47d3ca,_0x4c2cbf._0xb1cd97)](this[_0x4f5f7a(_0x4c2cbf._0x4411fc,_0x4c2cbf._0x1ceb59)+_0x4f5f7a(0x79,0x52)+_0x396d76(_0x4c2cbf._0x4e6f23,_0x4c2cbf._0x33a575)]));function _0x396d76(_0x91c0df,_0x52eb7f){return _0x3e3991(_0x52eb7f-0x7b3,_0x91c0df);}this[_0x396d76(0x640,0x62a)+_0x396d76(0x57b,0x54d)+_0x396d76(_0x4c2cbf._0x2e9325,0x570)+_0x396d76(0x6ca,_0x4c2cbf._0x209eac)]();}),_0x5aee9b['on'](_0x3e3991(-0x196,-_0x4232db._0x252ffe),(_0x58e484,_0x4d9a14)=>{const _0x4164fd={_0x147646:0x427};function _0xea3c28(_0x2d3f01,_0x2201de){return _0x3e3991(_0x2201de-0x753,_0x2d3f01);}function _0x443611(_0x1358ee,_0x23efaa){return _0x3e3991(_0x23efaa-_0x4164fd._0x147646,_0x1358ee);}this[_0x443611(_0x19ea27._0xa221b6,0x134)+_0x443611(0x218,_0x19ea27._0x30d8d4)+_0x443611(0x3e2,0x3c5)](_0x58e484,_0x4d9a14);}),_0x5aee9b[_0x3e3991(-0x1c6,-0x1ad)](_0x3e3991(_0x4232db._0x211fef,-_0x4232db._0x1e1a57),_0xba883a=>{const _0x6d4888={_0x14bf70:0x431};function _0x1d7349(_0x5a38f4,_0x1414eb){return _0x28c6f3(_0x5a38f4-0x755,_0x1414eb);}function _0x1a9662(_0x10762d,_0x582a3d){return _0x28c6f3(_0x582a3d-_0x6d4888._0x14bf70,_0x10762d);}this[_0x1d7349(_0x132814._0x1b7062,0x45b)](_0x1a9662(_0x132814._0x4a52cf,_0x132814._0xf2ac9d)+_0x1a9662(_0x132814._0xf0f747,_0x132814._0x59a118)+String(_0xba883a));}),_0x5aee9b[_0x28c6f3(-0x1d3,-_0x4232db._0x2d5809)](_0x3e3991(-_0x4232db._0x57f758,-0x163),(_0x4a06f5,_0x9684da)=>{function _0x430e00(_0x5a3a35,_0x44b3){return _0x3e3991(_0x5a3a35-0x2e5,_0x44b3);}this[_0x5c29c6(_0x44d374._0xd0aa9e,0x34d)+_0x5c29c6(0x470,0x2f6)]===_0x5aee9b&&(this[_0x5c29c6(0x42e,0x265)+'ocket']=null);this[_0x430e00(_0x44d374._0xb6761a,-0xa8)+_0x5c29c6(0x471,0x31d)+'g']=![],this[_0x5c29c6(0x447,_0x44d374._0x23589d)+_0x430e00(0x108,_0x44d374._0x46c351)+_0x430e00(_0x44d374._0x5eaef8,_0x44d374._0x224ec4)]=![],this[_0x5c29c6(_0x44d374._0x132d04,_0x44d374._0x5a74db)+_0x430e00(0x6,-_0x44d374._0x27e84a)+'AtMs']=null;function _0x5c29c6(_0x4bf717,_0xcd8fff){return _0x3e3991(_0x4bf717-0x4ff,_0xcd8fff);}this[_0x5c29c6(_0x44d374._0x336ab4,0x641)+_0x5c29c6(_0x44d374._0x1d9c9d,_0x44d374._0x19cd63)]({'gatewayConnected':![],'lastError':_0x4a06f5===0x3e8?this[_0x5c29c6(0x2bb,0x3ff)][_0x430e00(0x2a3,_0x44d374._0x2806db)+'r']:_0x5c29c6(_0x44d374._0x334496,0x208)+_0x5c29c6(_0x44d374._0x372a6b,_0x44d374._0x1218c3)+(_0x9684da[_0x430e00(_0x44d374._0xb67599,0x1d5)]()||_0x4a06f5)}),this[_0x430e00(0x8a,0x4f)](_0x5c29c6(0x29d,_0x44d374._0x54717e)+'disconne'+_0x430e00(0x343,_0x44d374._0x56f36d)+'e='+_0x4a06f5+'\x20reason='+(_0x9684da[_0x430e00(_0x44d374._0xb67599,-0x89)]()||'<none>')+(_0x430e00(_0x44d374._0x124bbf,_0x44d374._0x2c38f3)+'ientDema'+_0x5c29c6(_0x44d374._0x157299,0x439))+this['elapsedS'+_0x5c29c6(_0x44d374._0x3a69b5,_0x44d374._0x26ec6b)](this[_0x5c29c6(0x34c,_0x44d374._0x36a2d8)+_0x5c29c6(0x3a3,0x346)+_0x430e00(_0x44d374._0x51df54,0x14c)])),this[_0x5c29c6(0x495,_0x44d374._0x316e9e)+_0x430e00(_0x44d374._0x13c47c,0x40e)+'econnect']();});}[_0x6023f8(0x12a,-0x20)+'tewayMes'+_0x5cc096(0x6b6,0x707)](_0x37766f,_0x5612c7){const _0x5b99ad={_0x2ed904:0x1e,_0x5a6ec4:0xa4,_0x487f96:0x431,_0x1f8a54:0x510,_0x2ba50e:0x37a,_0x2c9c14:0x16e,_0x3ffc62:0x47,_0x27d384:0xf9,_0x294e7b:0x299,_0x19c4ad:0xcb,_0x5459d2:0xcf,_0x4f63ef:0xb8,_0x211372:0x1e1,_0x8c3b45:0x8cd,_0x31c5a0:0x131,_0x262625:0x568,_0x471d2a:0x292,_0x4e5fcd:0x44c,_0x209cb9:0x4de,_0x132f05:0x854,_0x1473e2:0x1bc,_0x18157d:0x14b,_0x3f609a:0x862,_0x5ab034:0x76a,_0x2b1ec1:0x1a3,_0x26004c:0x19b,_0x18abb1:0x4ab},_0x2293d8={_0x5e9a0f:0x706},_0x1c3df0={'TTfLM':function(_0x31011c,_0x2d03eb){return _0x31011c(_0x2d03eb);}},_0x1e831f=this[_0x474da0(-0x2a4,-0x400)+'ket'];if(!_0x1e831f||_0x1e831f[_0x474da0(_0x5b99ad._0x2ed904,-_0x5b99ad._0x5a6ec4)+'te']!==_0x1f747b[_0x474da0(0xe7,0x7d)])return;if(_0x5612c7){_0x1e831f['send'](normalizeBinary(_0x37766f));return;}const _0x43ef86=normalizeText(_0x37766f);if(_0x43ef86==null)return;function _0x474da0(_0x2593d2,_0x5e8c6f){return _0x5cc096(_0x5e8c6f,_0x2593d2- -_0x2293d8._0x5e9a0f);}const _0xd86d30=_0x1c3df0[_0x289a39(_0x5b99ad._0x487f96,_0x5b99ad._0x1f8a54)](summarizeJsonFrame,_0x43ef86);_0xd86d30&&this['log'](_0x474da0(-0x1ff,-_0x5b99ad._0x2ba50e)+_0x474da0(-_0x5b99ad._0x2c9c14,-0x169)+_0xd86d30+(_0x474da0(0xb2,0x53)+'ientDema'+'ndMs=')+this[_0x474da0(_0x5b99ad._0x3ffc62,_0x5b99ad._0x2ed904)+'ince'](this[_0x474da0(-0x150,-0x255)+_0x474da0(-_0x5b99ad._0x27d384,-_0x5b99ad._0x294e7b)+_0x474da0(-_0x5b99ad._0x19c4ad,_0x5b99ad._0x5459d2)])+(_0x474da0(-_0x5b99ad._0x4f63ef,-_0x5b99ad._0x211372)+'tewayOpe'+_0x289a39(_0x5b99ad._0x8c3b45,0x7ab))+this[_0x474da0(0x47,_0x5b99ad._0x31c5a0)+_0x474da0(-0x17d,-0x194)](this[_0x289a39(0x638,_0x5b99ad._0x262625)+_0x289a39(_0x5b99ad._0x471d2a,_0x5b99ad._0x4e5fcd)+_0x289a39(0x4a3,_0x5b99ad._0x209cb9)]));const _0x2de166=parsePairingRequestFromError(_0x43ef86);_0x2de166&&this[_0x289a39(_0x5b99ad._0x132f05,0x773)+'ngPairRe'+_0x474da0(-0x141,-_0x5b99ad._0x1473e2)](_0x2de166);const _0x564843=parsePairResolvedEvent(_0x43ef86);function _0x289a39(_0x163470,_0x33978b){return _0x5cc096(_0x163470,_0x33978b- -0x3e);}_0x564843&&this[_0x474da0(-0x291,-_0x5b99ad._0x18157d)+_0x289a39(_0x5b99ad._0x3f609a,_0x5b99ad._0x5ab034)+_0x474da0(-_0x5b99ad._0x2b1ec1,-_0x5b99ad._0x26004c)](_0x564843['requestI'+'d'],_0x564843['decision']),_0x1e831f[_0x289a39(0x555,_0x5b99ad._0x18abb1)](_0x43ef86);}[_0x5cc096(0x619,0x5e0)+_0x5cc096(0x653,0x503)+_0x6023f8(-0x130,0x90)+'ges'](){const _0x55ab76={_0x2fc06b:0x23a,_0x156966:0x1e4,_0x552983:0x1bd,_0x17540d:0x1fc,_0x204b10:0x14,_0x2e6460:0x16b,_0x9f1679:0x178,_0x4c89f9:0x16f,_0xe0b4be:0x2df,_0x83a6:0x4f5,_0x19e8e6:0x357,_0xd40a99:0x2d,_0x51b7c0:0x211,_0xed3edb:0xe5,_0xa948da:0x1bf,_0x488de0:0x357,_0x470f62:0x79,_0x1150b2:0x443,_0x33163b:0x3af,_0x51badd:0x21,_0x6d544:0x2d7},_0x3bf6a5={_0x20bff3:0xc9},_0x1ae08d=this[_0x5c696d(_0x55ab76._0x2fc06b,0x33e)+'ocket'];function _0xd739f7(_0x4cc52c,_0x2a73e9){return _0x6023f8(_0x2a73e9,_0x4cc52c- -_0x3bf6a5._0x20bff3);}if(!_0x1ae08d||_0x1ae08d[_0xd739f7(0x1c5,0x361)+'te']!==_0x1f747b[_0xd739f7(0x28e,0xfb)])return;function _0x5c696d(_0x48a277,_0x3bc506){return _0x6023f8(_0x48a277,_0x3bc506-0x13c);}const _0x71d4d7=[],_0x312f38=[...this[_0x5c696d(0x227,_0x55ab76._0x156966)+_0xd739f7(-0x9,0x102)+_0xd739f7(-0x9a,-_0x55ab76._0x552983)]];this[_0x5c696d(0x18c,0x1e4)+_0x5c696d(0x2ba,_0x55ab76._0x17540d)+_0x5c696d(_0x55ab76._0x204b10,_0x55ab76._0x2e6460)]=[],this[_0xd739f7(-0x51,_0x55ab76._0x9f1679)]('gateway\x20'+_0x5c696d(_0x55ab76._0x4c89f9,0x204)+'eued='+_0x312f38[_0x5c696d(0x225,_0x55ab76._0xe0b4be)]);for(const _0x61cba4 of _0x312f38){if(!this[_0x5c696d(_0x55ab76._0x83a6,_0x55ab76._0x19e8e6)+_0xd739f7(_0x55ab76._0xd40a99,-0x58)+_0x5c696d(_0x55ab76._0x51b7c0,0x392)]){if(_0x61cba4['kind']!=='text'||!isConnectHandshakeRequest(_0x61cba4['text'])){_0x71d4d7[_0xd739f7(-_0x55ab76._0xed3edb,-0xfe)](_0x61cba4);continue;}this[_0x5c696d(_0x55ab76._0xa948da,_0x55ab76._0x488de0)+_0xd739f7(0x2d,_0x55ab76._0x470f62)+_0x5c696d(_0x55ab76._0x1150b2,0x392)]=!![];}this[_0xd739f7(0x1f9,_0x55ab76._0x33163b)+'teway'](_0x61cba4);}this[_0xd739f7(-_0x55ab76._0x51badd,-0xd1)+'atewayMe'+_0x5c696d(_0x55ab76._0x6d544,0x16b)]=_0x71d4d7;}[_0x6023f8(0x35a,0x2c2)+'teway'](_0xc8858c){const _0x9f3f19={_0x1caff3:0x329,_0x1982df:0x262,_0x27573e:0x2dc,_0x14405e:0x35d,_0x5d76ad:0x33f,_0x578200:0x15d,_0x1bbc84:0x7,_0x2d9fa0:0x45f,_0x4a8759:0x5c0},_0x310691={_0x27ba38:0x5a},_0x11a402={_0x5d51e3:0x127},_0x3223be=this[_0x5f2e08(_0x9f3f19._0x1caff3,0x2ed)+'ocket'];function _0x5f2e08(_0x606f01,_0x2c5e47){return _0x6023f8(_0x2c5e47,_0x606f01-_0x11a402._0x5d51e3);}function _0x2e6c10(_0x580683,_0x4daa4c){return _0x6023f8(_0x580683,_0x4daa4c- -_0x310691._0x27ba38);}if(!_0x3223be||_0x3223be[_0x2e6c10(_0x9f3f19._0x1982df,0x234)+'te']!==_0x1f747b[_0x5f2e08(0x47e,0x596)]){this['pushPend'+'ingGatew'+_0x5f2e08(_0x9f3f19._0x27573e,_0x9f3f19._0x14405e)+'e'](_0xc8858c);return;}if(_0xc8858c[_0x5f2e08(0x365,0x1ce)]===_0x5f2e08(0x45f,_0x9f3f19._0x5d76ad)){_0x3223be[_0x2e6c10(-_0x9f3f19._0x578200,-_0x9f3f19._0x1bbc84)](_0xc8858c[_0x5f2e08(_0x9f3f19._0x2d9fa0,_0x9f3f19._0x4a8759)]);return;}_0x3223be[_0x2e6c10(-0x15a,-0x7)](_0xc8858c[_0x2e6c10(0x154,0xed)]);}[_0x6023f8(0x78,0x15d)+_0x6023f8(-0x108,0x38)+'st'](_0x177a71,_0x180563){const _0x4fe444={_0x1f2b16:0xff,_0x1c4a98:0xc1,_0x107e03:0x520,_0x3ba3d4:0x182,_0x1f5eb6:0x2f,_0x42246f:0x6e5,_0x1af343:0x10f,_0x513374:0x9c,_0x1e973f:0x5a9,_0x3119cf:0x67a},_0x4c55c9={_0x1ecaa4:0x20f},_0x93de00={_0x45196c:0x338},_0xd71b59=JSON[_0x4b189a(-_0x4fe444._0x1f2b16,0xbf)+'y']({'type':_0x4b189a(0x1d,_0x4fe444._0x1c4a98),'id':_0x180d6a(0x504,_0x4fe444._0x107e03)+_0x5b1254(),'method':_0x177a71,'params':_0x180563}),_0x173bdf={};_0x173bdf[_0x4b189a(-_0x4fe444._0x3ba3d4,_0x4fe444._0x1f5eb6)]=_0x180d6a(0x670,_0x4fe444._0x42246f);function _0x180d6a(_0xa06a5a,_0x40f149){return _0x6023f8(_0x40f149,_0xa06a5a-_0x93de00._0x45196c);}function _0x4b189a(_0x489d12,_0x284a31){return _0x6023f8(_0x489d12,_0x284a31- -_0x4c55c9._0x1ecaa4);}_0x173bdf[_0x4b189a(_0x4fe444._0x1af343,0x129)]=_0xd71b59,this['forwardO'+_0x180d6a(0x61c,0x547)+_0x4b189a(-_0x4fe444._0x513374,-0x14a)+_0x180d6a(_0x4fe444._0x1e973f,_0x4fe444._0x3119cf)](_0x173bdf);}[_0x5cc096(0x686,0x6d6)+'eway'](){const _0x516859={_0x354f07:0x4f5,_0x2f9e69:0x653,_0x4b6223:0x5df,_0x1f2df5:0x5fe,_0xcfcee8:0x6ed,_0x533337:0x2e3,_0x38302e:0x415,_0x19740d:0x5df,_0x151266:0x1f1,_0x2f18b6:0x200,_0x21ec0c:0x2fc,_0x5bdeb6:0x1d7,_0xe8d131:0x5f1,_0xe1c91c:0x1c9,_0x460cbf:0x167,_0x534923:0x274};this[_0x230cf1(0x602,0x4ec)+_0x230cf1(_0x516859._0x354f07,_0x516859._0x2f9e69)+'eClose'](),this['gatewayS'+_0x230cf1(_0x516859._0x4b6223,0x6bf)]?.[_0x230cf1(_0x516859._0x1f2df5,_0x516859._0xcfcee8)](),this[_0x5dad74(_0x516859._0x533337,_0x516859._0x38302e)+_0x230cf1(_0x516859._0x19740d,0x750)]=null;function _0x230cf1(_0x355702,_0x3ef031){return _0x6023f8(_0x3ef031,_0x355702-0x39b);}this[_0x5dad74(_0x516859._0x151266,_0x516859._0x2f18b6)+'onnectin'+'g']=![];function _0x5dad74(_0x4fff2d,_0x3dc9d0){return _0x6023f8(_0x3dc9d0,_0x4fff2d-0xe1);}this[_0x5dad74(_0x516859._0x21ec0c,0x3e7)+_0x5dad74(_0x516859._0x5bdeb6,0x105)+_0x230cf1(_0x516859._0xe8d131,0x556)]=![],this[_0x5dad74(0x1f1,_0x516859._0xe1c91c)+_0x230cf1(0x38f,0x4ce)+_0x5dad74(_0x516859._0x460cbf,_0x516859._0x534923)]=null;}[_0x5cc096(0x698,0x6ff)+_0x6023f8(-0x157,-0x2)+_0x5cc096(0x687,0x569)](_0x52f14c){const _0x323d10={_0x165d61:0x544,_0xc01f31:0x4aa,_0x603cc8:0x480,_0x5997d0:0x65d,_0x35e792:0x209,_0x432ca5:0x58c,_0x221394:0x58c,_0xef90fe:0x369,_0x53bb71:0x41c,_0x329320:0x405,_0x81e6f0:0x593,_0x348626:0x623,_0x2df143:0x486,_0x19bf41:0x296,_0x30e2d8:0x45f,_0x57871c:0x676,_0x31b9e1:0x5ea,_0x3e91f9:0x6b5,_0x1fc75f:0x649,_0x4af90f:0x62e,_0x11cb84:0x56e,_0x30ca51:0x2f0,_0x84867:0x638,_0x224dac:0x48d,_0x430465:0x4bb,_0x4be3b0:0x528,_0x24a728:0x67d,_0x407814:0x3e9,_0x5edfd0:0x54b,_0x4541ba:0x544,_0x26c88d:0x475,_0x1abae2:0x53a,_0x1917de:0x626,_0xcb3db:0x76d,_0x244d51:0x903,_0x330b66:0x724,_0x18cd75:0x5ef,_0x31aa8a:0x370,_0x7f7cb9:0x36b,_0x441a4e:0x32b,_0x403fb6:0x645,_0x3a428c:0x707,_0x5a74a5:0x554,_0x398997:0x620,_0x28f126:0x72a,_0x3d627d:0x8c6,_0x3636bd:0x4ce,_0x508c1f:0x5cd,_0x192594:0x5c6,_0x390df1:0x659,_0x377402:0x2f9,_0x26dbed:0x49d,_0x2df050:0x5e9,_0x35392:0x7a4},_0x548d11={_0x2a04e5:0x24c,_0x25d665:0x203,_0x1b7766:0x15e,_0x58d2c3:0xe2,_0x2c52fb:0x108,_0x25953e:0x2e,_0x46cb25:0x31e,_0x5d9ab1:0x12,_0x3f13de:0x99,_0xaee274:0x1da,_0x5c9f45:0xbb,_0x2810a9:0x250,_0x129eae:0x12a,_0x44a145:0x13d},_0xb435e3={'xngHz':_0x5e171b(_0x323d10._0x165d61,_0x323d10._0xc01f31)+_0x5e171b(0x7dd,0x731)+_0x4cebd7(_0x323d10._0x603cc8,0x64f)+_0x5e171b(_0x323d10._0x5997d0,0x759)+_0x4cebd7(_0x323d10._0x35e792,0x366)+'t\x20demand'+_0x4cebd7(0x6f9,0x641)+'d','fulce':function(_0x3385fb,_0x40245a,_0x418cff){return _0x3385fb(_0x40245a,_0x418cff);}};this[_0x5e171b(_0x323d10._0x432ca5,0x68e)+'etryTime'+'r']&&(clearTimeout(this[_0x5e171b(_0x323d10._0x221394,0x420)+'etryTime'+'r']),this[_0x4cebd7(_0x323d10._0xef90fe,0x3cf)+_0x4cebd7(0x51a,_0x323d10._0x53bb71)+'r']=null);this[_0x5e171b(0x57b,_0x323d10._0x329320)+_0x5e171b(_0x323d10._0x81e6f0,0x653)+_0x5e171b(0x502,0x374)]=[];const _0x3d98db={};function _0x5e171b(_0x12dbd7,_0x23cbbd){return _0x6023f8(_0x23cbbd,_0x12dbd7-0x4d3);}_0x3d98db[_0x5e171b(_0x323d10._0x348626,0x7ec)+_0x5e171b(0x638,_0x323d10._0x2df143)]=0x0,this[_0x5e171b(0x79f,0x7d7)+_0x4cebd7(_0x323d10._0x19bf41,_0x323d10._0x30e2d8)](_0x3d98db);if(!this['isGatewa'+'yOpen']()&&!this['gatewayC'+_0x5e171b(0x718,_0x323d10._0x57871c)+'g']){this[_0x4cebd7(0x3b7,0x38e)]('gateway\x20'+_0x5e171b(_0x323d10._0x31b9e1,_0x323d10._0x3e91f9)+_0x4cebd7(_0x323d10._0x1fc75f,_0x323d10._0x4af90f)+_0x4cebd7(0x3a2,_0x323d10._0x11cb84)+_0x4cebd7(0x3f7,_0x323d10._0x30ca51)+'n='+_0x52f14c),this[_0x4cebd7(0x4b5,0x436)+_0x4cebd7(_0x323d10._0x84867,_0x323d10._0x224dac)+_0x4cebd7(0x544,_0x323d10._0x430465)]=null;return;}if(this[_0x5e171b(_0x323d10._0x4be3b0,_0x323d10._0x24a728)+_0x4cebd7(0x3e0,_0x323d10._0x407814)+'Timer']){this[_0x5e171b(_0x323d10._0x5edfd0,0x41c)](_0x5e171b(_0x323d10._0x4541ba,_0x323d10._0x26c88d)+'idle\x20clo'+'se\x20alrea'+_0x5e171b(_0x323d10._0x1abae2,0x41a)+_0x4cebd7(_0x323d10._0x1917de,0x5f2)+_0x5e171b(_0x323d10._0xcb3db,_0x323d10._0x244d51)+_0x52f14c);return;}function _0x4cebd7(_0x4cfcc5,_0x11645a){return _0x6023f8(_0x4cfcc5,_0x11645a-0x316);}const _0x31fb2c=this[_0x5e171b(_0x323d10._0x330b66,_0x323d10._0x18cd75)][_0x4cebd7(_0x323d10._0x31aa8a,_0x323d10._0x7f7cb9)+_0x4cebd7(_0x323d10._0x441a4e,0x333)+_0x5e171b(_0x323d10._0x403fb6,0x5d1)+_0x5e171b(_0x323d10._0x3a428c,0x7c5)]??GATEWAY_IDLE_DISCONNECT_DELAY_MS;this[_0x4cebd7(_0x323d10._0x5a74a5,0x38e)]('gateway\x20'+_0x4cebd7(0x55b,_0x323d10._0x398997)+_0x4cebd7(_0x323d10._0x28f126,0x65a)+_0x5e171b(0x62e,0x5d7)+_0x5e171b(0x827,_0x323d10._0x3d627d)+_0x31fb2c+'\x20reason='+_0x52f14c+(_0x4cebd7(0x53b,_0x323d10._0x3636bd)+'tewayOpe'+_0x4cebd7(0x5d1,0x669))+this[_0x4cebd7(0x73a,_0x323d10._0x508c1f)+_0x5e171b(_0x323d10._0x192594,0x5fe)](this[_0x4cebd7(0x599,0x426)+'onnected'+_0x5e171b(0x559,_0x323d10._0x390df1)])),this[_0x4cebd7(0x1fa,_0x323d10._0x7f7cb9)+'dleClose'+_0x4cebd7(_0x323d10._0x377402,_0x323d10._0x26dbed)]=_0xb435e3[_0x5e171b(_0x323d10._0x2df050,_0x323d10._0x35392)](setTimeout,()=>{function _0x4e19c9(_0xf7881a,_0x32870c){return _0x5e171b(_0x32870c- -0x50d,_0xf7881a);}const _0x29b2f2=(_0x3d1da1(_0x548d11._0x2a04e5,0xac)+_0x3d1da1(0x133,_0x548d11._0x25d665))['split']('|');let _0x5134e0=0x0;function _0x3d1da1(_0x20ad64,_0x1bcd13){return _0x5e171b(_0x1bcd13- -0x60a,_0x20ad64);}while(!![]){switch(_0x29b2f2[_0x5134e0++]){case'0':if(this[_0x3d1da1(-0x4b,-0x43)+_0x4e19c9(0xe0,_0x548d11._0x1b7766)]()){this[_0x3d1da1(-0x1c7,-0xbf)](_0xb435e3['xngHz']);return;}continue;case'1':this[_0x3d1da1(0x26,-_0x548d11._0x58d2c3)+'dleClose'+_0x4e19c9(_0x548d11._0x2c52fb,0x14d)]=null;continue;case'2':const _0x3f16bf={};_0x3f16bf['gatewayC'+_0x3d1da1(-0x24c,-0x143)]=![],_0x3f16bf['clientCo'+_0x3d1da1(0x14c,_0x548d11._0x25953e)]=0x0,this[_0x3d1da1(_0x548d11._0x46cb25,0x195)+_0x3d1da1(0x110,_0x548d11._0x5d9ab1)](_0x3f16bf);continue;case'3':this[_0x4e19c9(_0x548d11._0x3f13de,0x3e)]('gateway\x20'+_0x4e19c9(_0x548d11._0xaee274,0x274)+'fter\x20idl'+_0x4e19c9(_0x548d11._0x5c9f45,0x139)+_0x4e19c9(0x124,0x207)+_0x52f14c);continue;case'4':this['closeGat'+'eway']();continue;case'5':this[_0x4e19c9(_0x548d11._0x2810a9,0xe6)+_0x4e19c9(_0x548d11._0x129eae,_0x548d11._0x44a145)+'tedAtMs']=null;continue;}break;}},_0x31fb2c);}[_0x5cc096(0x69c,0x6fd)+'tewayIdl'+_0x6023f8(0xc,0x169)](_0x3a0cb7){const _0x565810={_0x60fed5:0x15b,_0x399787:0x2e9,_0x2283b0:0x11,_0x21e870:0xdd,_0x7cfbc3:0x48b,_0x3c3dac:0x64b,_0x405bde:0x70b,_0x8edb6d:0x597,_0x41788a:0x590,_0x2bdc62:0x64b,_0x5602eb:0x138,_0x357f66:0x1f,_0x4eed91:0x679,_0x2b34fb:0x26,_0x5894b0:0x178,_0x34b706:0x946,_0xf76215:0x80d,_0x7d940:0x3de},_0x375caa={_0x26b9c6:0x646};if(!this[_0x3bf126(-_0x565810._0x60fed5,-_0x565810._0x399787)+'dleClose'+_0x1a0e4d(0x51e,0x64b)])return;function _0x3bf126(_0x312f21,_0x1d80ab){return _0x5cc096(_0x1d80ab,_0x312f21- -_0x375caa._0x26b9c6);}clearTimeout(this[_0x3bf126(-0x15b,-_0x565810._0x2283b0)+_0x3bf126(-_0x565810._0x21e870,0xa7)+_0x1a0e4d(_0x565810._0x7cfbc3,_0x565810._0x3c3dac)]);function _0x1a0e4d(_0x45175d,_0x3634f3){return _0x5cc096(_0x45175d,_0x3634f3-0x2e);}this['gatewayI'+_0x1a0e4d(_0x565810._0x405bde,_0x565810._0x8edb6d)+_0x1a0e4d(_0x565810._0x41788a,_0x565810._0x2bdc62)]=null,_0x3a0cb7&&this[_0x3bf126(-_0x565810._0x5602eb,_0x565810._0x357f66)]('gateway\x20'+_0x1a0e4d(_0x565810._0x4eed91,0x7ce)+_0x3bf126(_0x565810._0x2b34fb,-_0x565810._0x5894b0)+_0x1a0e4d(_0x565810._0x34b706,_0x565810._0xf76215)+_0x1a0e4d(_0x565810._0x7d940,0x587)+_0x3a0cb7);}[_0x5cc096(0x6a2,0x6ff)+_0x6023f8(0x8,0x7c)+_0x5cc096(0x8cd,0x789)](){const _0x4b84fd={_0xc71390:0x195,_0x76de23:0x3b4,_0x2f6876:0x52,_0x1291c3:0x253,_0x341049:0xc5,_0x45ef76:0x109,_0x51a608:0x430,_0xd480eb:0x38c,_0x5a3561:0x286,_0x192069:0x178,_0x465772:0xf0,_0x430cca:0x3cc},_0x18d42b={_0xe494b3:0x640,_0x367226:0x6a8,_0x2bd303:0x2fa},_0x45b0a2={_0xac890b:0x23f},_0x38e9e5={_0x59fe73:0x71c},_0x17a306={'hZUUv':function(_0x49c821,_0x5d8ebf){return _0x49c821*_0x5d8ebf;},'BogxI':function(_0x5958bd,_0x2eea62,_0x11b3ab){return _0x5958bd(_0x2eea62,_0x11b3ab);}};function _0x3ff08b(_0x147fab,_0x5894a5){return _0x5cc096(_0x5894a5,_0x147fab- -_0x38e9e5._0x59fe73);}function _0x109a09(_0x33a0fe,_0x225035){return _0x5cc096(_0x33a0fe,_0x225035- -0x333);}if(this[_0x109a09(_0x4b84fd._0xc71390,0x20c)]||this[_0x3ff08b(-0x2bc,-0x2f9)+_0x3ff08b(0x80,-0x45)])return;const _0x46c8aa=this[_0x109a09(0x548,_0x4b84fd._0x76de23)]['reconnec'+'tBaseDel'+_0x3ff08b(-_0x4b84fd._0x2f6876,-0x1f4)]??RECONNECT_BASE_DELAY_MS,_0x3a8780=this[_0x109a09(0x32d,0x3b4)][_0x3ff08b(-0x2bc,-0x460)+_0x3ff08b(-_0x4b84fd._0x1291c3,-0x36e)+_0x109a09(0x48b,0x4bf)]??RECONNECT_MAX_DELAY_MS,_0x458b4b=Math[_0x3ff08b(_0x4b84fd._0x341049,_0x4b84fd._0x45ef76)](_0x3a8780,_0x17a306[_0x109a09(0x5c6,_0x4b84fd._0x51a608)](_0x46c8aa,Math['max'](0x1,this[_0x109a09(_0x4b84fd._0xd480eb,_0x4b84fd._0x5a3561)+_0x3ff08b(-_0x4b84fd._0x192069,-0x219)])));this['log']('relay\x20re'+_0x3ff08b(-0x33,_0x4b84fd._0x465772)+_0x109a09(0x217,_0x4b84fd._0x430cca)+_0x3ff08b(-0xca,0xd5)+'s='+_0x458b4b),this[_0x3ff08b(-0x2bc,-0x345)+'tTimer']=_0x17a306['BogxI'](setTimeout,()=>{this['reconnec'+_0x12064c(_0x18d42b._0xe494b3,_0x18d42b._0x367226)]=null;function _0x12064c(_0x862b64,_0x26773c){return _0x109a09(_0x862b64,_0x26773c-_0x45b0a2._0xac890b);}function _0x2d3172(_0x37fcac,_0x45cb73){return _0x109a09(_0x37fcac,_0x45cb73-0x113);}void this[_0x2d3172(0x140,_0x18d42b._0x2bd303)+_0x2d3172(0x628,0x4dc)]();},_0x458b4b);}[_0x5cc096(0x58e,0x6ff)+_0x6023f8(0x33b,0x2f5)+_0x6023f8(0x437,0x2bf)](){const _0x324c13={_0x93c50d:0x1cb,_0x2cf8c9:0x19b,_0x1e46b1:0x6a,_0x3fe8b5:0x482,_0x4ca142:0x612,_0x3aa5b7:0x2ea,_0x370f74:0x337},_0x2314d5={_0x2118d9:0x44a,_0x3e58d0:0x469,_0x30e221:0x497,_0x41cba9:0x42b,_0x1b98cd:0x2b0,_0x40dea8:0x791};function _0x3d8c48(_0x32a0d9,_0x498512){return _0x5cc096(_0x32a0d9,_0x498512- -0x265);}const _0x3db41b={'LRBhS':function(_0x36c7f2,_0x2f0ccd,_0x16af1f){return _0x36c7f2(_0x2f0ccd,_0x16af1f);}};if(this[_0x59ddf9(_0x324c13._0x93c50d,_0x324c13._0x2cf8c9)]||this['gatewayR'+_0x3d8c48(0x496,0x337)+'r']||!this[_0x59ddf9(0x156,_0x324c13._0x1e46b1)+_0x3d8c48(0x27d,0x230)]()||!this[_0x3d8c48(0x4bc,0x325)+_0x3d8c48(0x3a7,0x3c9)]())return;function _0x59ddf9(_0x3395a1,_0x1aa8db){return _0x5cc096(_0x1aa8db,_0x3395a1- -0x374);}const _0x314b9b=this[_0x3d8c48(0x3bb,_0x324c13._0x3fe8b5)][_0x59ddf9(0x1db,0x34d)+_0x59ddf9(0x454,0x5d7)+_0x3d8c48(_0x324c13._0x4ca142,0x58d)]??GATEWAY_RETRY_DELAY_MS;this[_0x3d8c48(0x296,_0x324c13._0x3aa5b7)+_0x3d8c48(0x310,_0x324c13._0x370f74)+'r']=_0x3db41b[_0x3d8c48(0x3e1,0x275)](setTimeout,()=>{this[_0x5c516a(0x608,_0x2314d5._0x2118d9)+_0x5c516a(_0x2314d5._0x3e58d0,_0x2314d5._0x30e221)+'r']=null;function _0x5c516a(_0xb17465,_0x6daa5a){return _0x3d8c48(_0xb17465,_0x6daa5a-0x160);}function _0x383454(_0xd2e15c,_0x897e4a){return _0x3d8c48(_0x897e4a,_0xd2e15c-0x230);}this[_0x5c516a(_0x2314d5._0x41cba9,0x4ac)+_0x5c516a(_0x2314d5._0x1b98cd,0x424)+_0x383454(0x6d5,_0x2314d5._0x40dea8)]();},_0x314b9b);}[_0x5cc096(0x383,0x4a7)+_0x5cc096(0x660,0x631)](){const _0x219af1={_0x3f569d:0x4e,_0x207658:0x23,_0x24dd45:0x36b,_0x300cbb:0x4c8,_0x2ce6eb:0x59,_0x576030:0xcd},_0x12ef33={_0x3bd369:0x2d5,_0x58b532:0x8d,_0x1a6337:0x4d,_0x2fa6f7:0x5a,_0x2ba4cc:0x1f,_0x5f85f6:0x22c,_0x31105a:0x10e,_0xe2f471:0x144},_0x4a5db3={};function _0xa32ba0(_0x3cc409,_0x24a3b3){return _0x6023f8(_0x3cc409,_0x24a3b3-0x1b1);}_0x4a5db3[_0x87110d(0x9,-0x161)]=function(_0x7c6567,_0x382711){return _0x7c6567>_0x382711;},_0x4a5db3[_0x87110d(-0xaa,_0x219af1._0x3f569d)]='relay\x20he'+'artbeat\x20'+_0xa32ba0(0x4e8,0x41c)+'t';function _0x87110d(_0x5aedae,_0x4038c5){return _0x6023f8(_0x5aedae,_0x4038c5- -0x225);}const _0x3bdfa6=_0x4a5db3;this['stopHear'+'tbeat'](),this['heartbea'+_0x87110d(-_0x219af1._0x207658,0xe1)]=setInterval(()=>{const _0x46adcc=this[_0x35aca1(-0x2fe,-0x4c7)+_0x2db601(0x1b4,_0x12ef33._0x3bd369)];if(!_0x46adcc||_0x46adcc['readySta'+'te']!==_0x1f747b[_0x35aca1(_0x12ef33._0x58b532,0x1f3)])return;function _0x35aca1(_0x5e9366,_0x4b642a){return _0xa32ba0(_0x4b642a,_0x5e9366- -0x47b);}const _0x4fc573=this[_0x2db601(0x2bc,0x338)][_0x35aca1(_0x12ef33._0x1a6337,-0x112)+'tTimeout'+'Ms']??HEARTBEAT_TIMEOUT_MS;if(_0x3bdfa6['mNcxE'](Date[_0x35aca1(_0x12ef33._0x2fa6f7,0x1bf)]()-this[_0x35aca1(-_0x12ef33._0x2ba4cc,-0x73)+_0x2db601(0x1f0,0x1d1)+_0x35aca1(0x92,_0x12ef33._0x5f85f6)],_0x4fc573)){this[_0x2db601(0x9f,0x15f)](_0x3bdfa6[_0x35aca1(-0x57,-_0x12ef33._0x31105a)]),_0x46adcc[_0x35aca1(-0x120,-0x2e9)+'e']();return;}function _0x2db601(_0xea93a9,_0x7b62c){return _0xa32ba0(_0xea93a9,_0x7b62c- -0xca);}_0x46adcc[_0x35aca1(-0x40,_0x12ef33._0xe2f471)]();},this['options'][_0xa32ba0(_0x219af1._0x24dd45,_0x219af1._0x300cbb)+_0x87110d(0x1b9,_0x219af1._0x2ce6eb)+_0x87110d(0x25,_0x219af1._0x576030)]??HEARTBEAT_INTERVAL_MS);}[_0x6023f8(0x289,0x211)+'tbeat'](){const _0x25070a={_0x512270:0x79f,_0x35671b:0x75,_0x231ea3:0x79f},_0x15d2a8={_0x4c79dd:0x3};function _0x511358(_0x22cc01,_0x5c594e){return _0x5cc096(_0x22cc01,_0x5c594e-_0x15d2a8._0x4c79dd);}function _0x522074(_0x3f3ea2,_0x213332){return _0x5cc096(_0x3f3ea2,_0x213332- -0x63d);}this[_0x511358(0x979,0x7b0)+_0x511358(0x670,_0x25070a._0x512270)]&&(clearInterval(this[_0x511358(0x853,0x7b0)+_0x522074(0x14a,0x15f)]),this[_0x522074(_0x25070a._0x35671b,0x170)+_0x511358(0x6f4,_0x25070a._0x231ea3)]=null);}[_0x5cc096(0x666,0x66b)+_0x5cc096(0x7e9,0x67c)+_0x5cc096(0x754,0x64b)+'e'](_0x51c397){const _0x4cb94b={_0xbf8e4f:0x11,_0x340086:0x205,_0x599597:0x68,_0x43d9e0:0x28d,_0xbec9a5:0x159,_0x5c7f2c:0x3ac,_0x4350f1:0x328,_0x520735:0x15,_0x36cb4c:0xe2,_0x5112b7:0x59,_0x5accd5:0x1f,_0x1887b3:0x57,_0x487b23:0x26,_0x180025:0x27e,_0x4b4ab4:0x74,_0x5610c3:0x144,_0x3b905b:0x29e,_0x45bf42:0x3b5},_0x4a14da={_0x2cb2e2:0x2cd},_0xef03fe={_0x21ae85:0x97};this[_0x2d2961(-0x19c,_0x4cb94b._0xbf8e4f)+_0x2db7b9(-0x20d,-0x44)+_0x2d2961(-_0x4cb94b._0x340086,-_0x4cb94b._0x599597)][_0x2db7b9(-0x12a,-_0x4cb94b._0x43d9e0)]>=MAX_PENDING_GATEWAY_MESSAGES&&this[_0x2d2961(-_0x4cb94b._0xbec9a5,_0x4cb94b._0xbf8e4f)+_0x2db7b9(-0x20d,-_0x4cb94b._0x5c7f2c)+_0x2db7b9(-0x29e,-_0x4cb94b._0x4350f1)][_0x2db7b9(-0x151,_0x4cb94b._0x520735)]();function _0x2d2961(_0x1b8187,_0x3d73a2){return _0x6023f8(_0x1b8187,_0x3d73a2- -_0xef03fe._0x21ae85);}this['pendingG'+_0x2db7b9(-0x20d,-0x359)+_0x2d2961(-_0x4cb94b._0x36cb4c,-_0x4cb94b._0x599597)][_0x2d2961(-0x55,-0xb3)](_0x51c397);function _0x2db7b9(_0x519c04,_0x1c1864){return _0x6023f8(_0x1c1864,_0x519c04- -_0x4a14da._0x2cb2e2);}this[_0x2d2961(_0x4cb94b._0x5112b7,-_0x4cb94b._0x5accd5)](_0x2d2961(-_0x4cb94b._0x1887b3,-_0x4cb94b._0x487b23)+_0x2d2961(0x29e,_0x4cb94b._0x180025)+_0x2db7b9(_0x4cb94b._0x4b4ab4,0x1ae)+this[_0x2db7b9(-0x225,-_0x4cb94b._0x5610c3)+_0x2d2961(0x146,0x29)+_0x2db7b9(-_0x4cb94b._0x3b905b,-_0x4cb94b._0x45bf42)]['length']);}[_0x5cc096(0x66a,0x77d)+'onnectSt'+_0x6023f8(0x1eb,0x1a0)](_0x458685,_0x31d3da){const _0x3cae06={_0x3e5ae2:0x29e,_0x121fd2:0x4cc,_0x1d0735:0x47f,_0x4e8afe:0x541,_0x452ac9:0x511,_0x139aa0:0x33f,_0x59f775:0x169,_0x36e4cf:0x671,_0x530598:0x40f,_0x4eb376:0x2ea,_0x11fca7:0x4f6,_0x40e6ae:0x3e2,_0x3798a8:0x35b,_0x1912df:0x2ff},_0x302f4c=Date['now'](),_0x186e6b=new Map(this[_0x1486e5(0x289,_0x3cae06._0x3e5ae2)][_0x1486e5(0x472,_0x3cae06._0x121fd2)+_0x4cdc40(0x318,_0x3cae06._0x1d0735)][_0x4cdc40(0x2e5,0x1f2)](_0x1d0dac=>[_0x1d0dac['id'],{..._0x1d0dac}]));function _0x1486e5(_0x1f07da,_0x2ce051){return _0x5cc096(_0x2ce051,_0x1f07da- -0x29c);}const _0x322e77=_0x186e6b[_0x1486e5(_0x3cae06._0x4e8afe,_0x3cae06._0x452ac9)](_0x458685)??{'id':_0x458685,'label':_0x31d3da,'state':'connecte'+'d','lastSeenMs':_0x302f4c};_0x322e77[_0x1486e5(0x340,0x374)]=_0x31d3da;function _0x4cdc40(_0x13e412,_0x31b8e3){return _0x5cc096(_0x31b8e3,_0x13e412- -0x32c);}_0x322e77[_0x4cdc40(0x491,0x4d7)]=_0x4cdc40(0x3e2,_0x3cae06._0x139aa0)+'d',_0x322e77[_0x4cdc40(0x159,_0x3cae06._0x59f775)+'Ms']=_0x302f4c,_0x186e6b[_0x1486e5(0x50e,_0x3cae06._0x36e4cf)](_0x458685,_0x322e77);const _0x16ce57=[..._0x186e6b[_0x4cdc40(_0x3cae06._0x530598,_0x3cae06._0x4eb376)]()][_0x4cdc40(0x1d2,0xcd)]((_0x45458c,_0x55d9d6)=>_0x55d9d6['lastSeen'+'Ms']-_0x45458c['lastSeen'+'Ms'])[_0x1486e5(_0x3cae06._0x11fca7,0x5ad)](0x0,MAX_DEVICE_DETAILS),_0x5ed899={};_0x5ed899[_0x4cdc40(_0x3cae06._0x40e6ae,_0x3cae06._0x3798a8)+_0x4cdc40(0x318,_0x3cae06._0x1912df)]=_0x16ce57,this['updateSn'+'apshot'](_0x5ed899);}[_0x6023f8(0x101,0x154)+_0x5cc096(0x4fd,0x6b6)+'t'](){const _0x480f3c={_0x5b5135:0x44d,_0x10c1a9:0x539,_0x4ff9cb:0x586};function _0x369090(_0x551132,_0x1db54b){return _0x6023f8(_0x1db54b,_0x551132- -0x1d5);}function _0x3e4201(_0x577cb3,_0x2fd812){return _0x6023f8(_0x2fd812,_0x577cb3-0x3be);}this[_0x3e4201(0x68a,0x7ab)+'apshot']({'connectedDevices':this[_0x3e4201(_0x480f3c._0x5b5135,0x32e)]['connecte'+'dDevices'][_0x3e4201(_0x480f3c._0x10c1a9,_0x480f3c._0x4ff9cb)](_0x464357=>({..._0x464357,'state':_0x3e4201(0x681,0x762)}))});}[_0x6023f8(0x4df,0x31b)+'ngPairRe'+_0x5cc096(0x77e,0x5c5)](_0x4598aa){const _0x285d56={_0x219ac3:0x59b,_0x54895a:0x62a,_0x534bf7:0x11e,_0x1e4ac0:0x3e,_0x2d7ac2:0x10b,_0x5cf584:0xbc,_0x27bbf1:0xd3,_0x1a2828:0x59b,_0x478a82:0x484,_0x580c41:0x582,_0x34e55a:0x6da,_0x21c536:0x262,_0x1b37df:0x2fe,_0x59bf1e:0x24e,_0xd1a733:0x2b9,_0x5b6101:0x19a,_0x41c436:0x473,_0x55a54c:0x550},_0xed3a95={_0x2932a2:0x241},_0x5159bf={_0x56eb76:0x229};if(this[_0x43be76(-0x6a,-0x19a)][_0x2e688a(_0x285d56._0x219ac3,0x727)+_0x43be76(0xc1,0x10b)+_0x2e688a(0x453,0x3eb)][_0x2e688a(0x540,_0x285d56._0x54895a)](_0x4ba4fe=>_0x4ba4fe[_0x43be76(0x1b5,0x1f)+'d']===_0x4598aa[_0x2e688a(0x489,0x48c)+'d']))return;function _0x43be76(_0x5af723,_0x4b788a){return _0x6023f8(_0x5af723,_0x4b788a- -_0x5159bf._0x56eb76);}const _0x5f1b7e=[...this['snapshot'][_0x43be76(_0x285d56._0x534bf7,0x131)+_0x43be76(-_0x285d56._0x1e4ac0,_0x285d56._0x2d7ac2)+_0x43be76(_0x285d56._0x5cf584,-0x17)],_0x4598aa][_0x43be76(0xd0,_0x285d56._0x27bbf1)](-MAX_PENDING_PAIR_REQUESTS),_0x4ebc1e={};_0x4ebc1e[_0x2e688a(_0x285d56._0x1a2828,_0x285d56._0x478a82)+'airReque'+_0x2e688a(0x453,_0x285d56._0x580c41)]=_0x5f1b7e,this[_0x2e688a(0x50d,_0x285d56._0x34e55a)+'apshot'](_0x4ebc1e);function _0x2e688a(_0x20cb2b,_0x37cfe4){return _0x6023f8(_0x37cfe4,_0x20cb2b-_0xed3a95._0x2932a2);}this['options'][_0x2e688a(_0x285d56._0x21c536,0x428)+'gPairReq'+_0x43be76(-_0x285d56._0x1b37df,-_0x285d56._0x59bf1e)]?.(_0x4598aa),this[_0x2e688a(_0x285d56._0xd1a733,0x1fe)]('pair\x20req'+_0x43be76(-_0x285d56._0x5b6101,-0x1c4)+_0x2e688a(_0x285d56._0x41c436,0x569)+_0x2e688a(0x2de,0x30f)+_0x4598aa['requestI'+'d']+(_0x43be76(0x25,0x12f)+'d=')+(_0x4598aa[_0x2e688a(_0x285d56._0x55a54c,0x494)]||'<unknown'+'>'));}[_0x6023f8(0xfe,-0x21)+_0x5cc096(0x7c5,0x7a8)+_0x6023f8(0xc1,0xcd)](_0x4f4903,_0x5be8a2){const _0x3d8151={_0x49104f:0x43e,_0xe65a4d:0x4b5,_0x1fae72:0x27b,_0x1c0ae9:0x305,_0x899f69:0x13d,_0x3628d3:0x34c,_0x1bff6e:0x2f6,_0x2db587:0x28b,_0x25148f:0x269,_0x105ea3:0x10b,_0x37d218:0x16b,_0x2b8d3a:0x1f5,_0x1b19df:0x160},_0x1299a4={_0x4366f2:0x4d4},_0x3983b4={_0x243fee:0x3a3};function _0x87fe71(_0x17159f,_0x136f68){return _0x5cc096(_0x17159f,_0x136f68- -_0x3983b4._0x243fee);}const _0x42e88e=this['snapshot'][_0x87fe71(_0x3d8151._0x49104f,0x44d)+_0x29e741(_0x3d8151._0xe65a4d,0x2f6)+_0x87fe71(_0x3d8151._0x1fae72,_0x3d8151._0x1c0ae9)][_0x29e741(0x28e,_0x3d8151._0x899f69)](_0x632a69=>_0x632a69[_0x87fe71(0x40c,0x33b)+'d']===_0x4f4903?{..._0x632a69,'status':_0x5be8a2===_0x87fe71(0x123,0x141)||_0x5be8a2===_0x29e741(0x19c,0x1cc)?_0x5be8a2:_0x632a69['status']}:_0x632a69);function _0x29e741(_0x5a7950,_0x2de58d){return _0x5cc096(_0x5a7950,_0x2de58d- -_0x1299a4._0x4366f2);}const _0x350120={};_0x350120[_0x87fe71(_0x3d8151._0x3628d3,0x44d)+_0x29e741(0x23b,_0x3d8151._0x1bff6e)+_0x87fe71(_0x3d8151._0x2db587,0x305)]=_0x42e88e,this[_0x29e741(0x1dd,0x28e)+_0x29e741(_0x3d8151._0x25148f,_0x3d8151._0x105ea3)](_0x350120),this[_0x87fe71(0x2ef,_0x3d8151._0x37d218)]('pair\x20req'+_0x29e741(_0x3d8151._0x2b8d3a,_0x3d8151._0x1b19df)+'olved\x20re'+'questId='+_0x4f4903+(_0x29e741(0x87,0xf2)+'n=')+_0x5be8a2);}[_0x6023f8(0x159,0x2cc)+_0x6023f8(0x212,0x149)](_0x41eab1){const _0x537b17={_0x439145:0x277,_0x1f9caf:0x2aa,_0x34db01:0x423,_0x12b8a5:0x9,_0x41041d:0xee},_0x4e5965={_0x2d102a:0xe6};function _0x5b22e8(_0x4bc147,_0x19ad43){return _0x6023f8(_0x4bc147,_0x19ad43-_0x4e5965._0x2d102a);}function _0x21a971(_0x45256f,_0xe00920){return _0x6023f8(_0x45256f,_0xe00920- -0x257);}Object[_0x5b22e8(_0x537b17._0x439145,0x39e)](this['snapshot'],_0x41eab1,{'lastUpdatedMs':Date[_0x5b22e8(_0x537b17._0x1f9caf,0x40a)]()}),this[_0x5b22e8(_0x537b17._0x34db01,0x337)]['onStatus']?.(this[_0x5b22e8(-_0x537b17._0x12b8a5,_0x537b17._0x41041d)+'hot']());}[_0x5cc096(0x62a,0x50e)](_0x9a2df7){const _0x31b56d={_0x378ca5:0x48f};function _0x450051(_0x797465,_0x59b845){return _0x5cc096(_0x797465,_0x59b845- -0x25c);}this[_0x450051(_0x31b56d._0x378ca5,0x48b)]['onLog']?.(_0x9a2df7);}[_0x5cc096(0x4df,0x4ca)+_0x6023f8(-0x84,-0x1)](){const _0x1af9cb={_0x459e82:0xdc,_0x458b8f:0x60c,_0x374b79:0x6e9},_0x3cdfe3={_0x408c28:0x104};function _0x3f53cd(_0x1ae21b,_0x3512e3){return _0x5cc096(_0x1ae21b,_0x3512e3- -_0x3cdfe3._0x408c28);}function _0x14f2ed(_0x4896b0,_0x45aa27){return _0x5cc096(_0x45aa27,_0x4896b0- -0x5b9);}return this['relaySoc'+'ket']?.[_0x14f2ed(0x16b,_0x1af9cb._0x459e82)+'te']===_0x1f747b[_0x3f53cd(_0x1af9cb._0x458b8f,_0x1af9cb._0x374b79)];}[_0x5cc096(0x841,0x6cb)+_0x6023f8(0x29b,0x1b0)](){const _0x1bd1f0={_0x28e458:0x5fc,_0x5f8a04:0x4df};function _0x2e6019(_0x29c63b,_0x37dfac){return _0x5cc096(_0x29c63b,_0x37dfac- -0x128);}function _0x229443(_0x3c69e3,_0x2925f9){return _0x5cc096(_0x2925f9,_0x3c69e3- -0x30e);}return this['gatewayS'+'ocket']?.[_0x2e6019(0x447,_0x1bd1f0._0x28e458)+'te']===_0x1f747b[_0x229443(_0x1bd1f0._0x5f8a04,0x50d)];}[_0x6023f8(0x1e5,0xf4)+'ayDemand'](){const _0x30c3c8={_0x32f69c:0x135,_0x1ebbcf:0x10,_0x575fd2:0x120,_0x1d06fc:0x493,_0x49419b:0x548,_0x213e0f:0x3ee,_0x55babf:0x717,_0x2b14ac:0x562},_0x82c989={_0x4c6aa7:0x71b},_0x59b71c={_0x1ae9ce:0xd7};function _0x46e3b9(_0x24fa72,_0x10cb14){return _0x5cc096(_0x24fa72,_0x10cb14- -_0x59b71c._0x1ae9ce);}function _0x54193d(_0x6e41e9,_0x4254a3){return _0x5cc096(_0x6e41e9,_0x4254a3- -_0x82c989._0x4c6aa7);}return this[_0x46e3b9(0x508,0x44e)][_0x54193d(-0x1f7,-_0x30c3c8._0x32f69c)+_0x54193d(-_0x30c3c8._0x1ebbcf,-_0x30c3c8._0x575fd2)]>0x0||this[_0x46e3b9(_0x30c3c8._0x1d06fc,0x467)+'atewayMe'+_0x46e3b9(_0x30c3c8._0x49419b,_0x30c3c8._0x213e0f)][_0x46e3b9(_0x30c3c8._0x55babf,_0x30c3c8._0x2b14ac)]>0x0;}[_0x5cc096(0x618,0x5cf)+'ers'](){const _0x7b05ba={_0x1ae8d8:0x30c,_0x2b8cc1:0x5ef,_0x4c7667:0x413,_0x293a42:0x55b,_0x2284d8:0x21d,_0x249cc6:0x34c,_0x4f9b77:0x3ef,_0x26497f:0x3a2,_0x51929f:0x16d,_0x537262:0x181},_0x1edb11={_0x418b02:0x1ad},_0x5534c3={'dVCzp':function(_0x1f9fbb,_0x259251){return _0x1f9fbb(_0x259251);}};function _0x2c2221(_0x124d01,_0x5b8cb8){return _0x5cc096(_0x5b8cb8,_0x124d01- -0x76c);}this['stopHear'+'tbeat']();function _0x55b913(_0x4c3f60,_0x47da01){return _0x5cc096(_0x4c3f60,_0x47da01- -_0x1edb11._0x418b02);}this[_0x2c2221(-_0x7b05ba._0x1ae8d8,-0x45e)+'tTimer']&&(clearTimeout(this[_0x55b913(0x2c5,0x2b3)+_0x55b913(0x57c,_0x7b05ba._0x2b8cc1)]),this[_0x2c2221(-_0x7b05ba._0x1ae8d8,-_0x7b05ba._0x4c7667)+_0x55b913(_0x7b05ba._0x293a42,0x5ef)]=null),this[_0x2c2221(-_0x7b05ba._0x2284d8,-_0x7b05ba._0x249cc6)+_0x55b913(0x4e8,_0x7b05ba._0x4f9b77)+'r']&&(_0x5534c3['dVCzp'](clearTimeout,this[_0x55b913(0x500,_0x7b05ba._0x26497f)+_0x55b913(0x2b4,0x3ef)+'r']),this[_0x55b913(0x227,0x3a2)+'etryTime'+'r']=null),this[_0x2c2221(-0x6f,0x64)+'tewayIdl'+_0x2c2221(-_0x7b05ba._0x51929f,-_0x7b05ba._0x537262)]();}[_0x5cc096(0x8f0,0x74d)+'ince'](_0x15e7e6){const _0x5a7582={_0x56d3f4:0x4b6,_0x1f1ba4:0x315,_0x3778a3:0x2b2,_0x2363ab:0x4d2,_0x4a66a0:0x328},_0x2bfc8a={};_0x2bfc8a['yQZue']=function(_0xc08b8a,_0x299ca1){return _0xc08b8a-_0x299ca1;};function _0x25276e(_0x33317d,_0x20c44f){return _0x5cc096(_0x33317d,_0x20c44f- -0x492);}function _0x50328d(_0x668c4c,_0x17369a){return _0x5cc096(_0x17369a,_0x668c4c- -0x1e4);}const _0x2f2964=_0x2bfc8a;return _0x15e7e6==null?null:Math[_0x50328d(_0x5a7582._0x56d3f4,_0x5a7582._0x1f1ba4)](0x0,_0x2f2964[_0x50328d(_0x5a7582._0x3778a3,0x43e)](Date[_0x25276e(_0x5a7582._0x2363ab,_0x5a7582._0x4a66a0)](),_0x15e7e6));}};function shouldRecycleGatewayForFreshClient(_0x1b5238,_0x26c9eb,_0x2fe9a8,_0x517c43){const _0x5b974b={_0x331194:0x9,_0x79bd70:0x18d,_0xfc3e75:0x9},_0x205ab4={_0x442dc5:0x6be},_0xcfeee1={_0x15f54b:0x46a},_0x1f90e7={};function _0x19ea47(_0x2069c2,_0x598169){return _0x5cc096(_0x2069c2,_0x598169- -_0xcfeee1._0x15f54b);}function _0x42b732(_0x300188,_0x2c87cb){return _0x5cc096(_0x2c87cb,_0x300188- -_0x205ab4._0x442dc5);}_0x1f90e7[_0x42b732(-_0x5b974b._0x331194,_0x5b974b._0x79bd70)]=function(_0x45a48e,_0x4ed34f){return _0x45a48e===_0x4ed34f;};const _0x537b4c=_0x1f90e7;return _0x2fe9a8&&_0x26c9eb>0x0&&(_0x537b4c[_0x42b732(-_0x5b974b._0xfc3e75,0x8c)](_0x1b5238,0x0)||_0x517c43);}function summarizeJsonFrame(_0x12b6f0){const _0xd27dbd={_0x426488:0xfb,_0x143094:0x16b,_0xd8f524:0x99,_0x3e9d7b:0x2b8,_0x3f86e3:0x3a8,_0x20fc2e:0x299,_0x41dd81:0x401,_0x205c10:0x162,_0x3683a6:0x161,_0x404d05:0x2c6,_0x191e24:0x357,_0x4d306b:0x2bb,_0x28f832:0x2b4,_0x37a7ef:0x6a9,_0x56e1ca:0x286,_0x5ebb4f:0x18b},_0x53e6ef={_0x2fe18a:0x2b9},_0x4771b3={_0x37ee7b:0x472};function _0x4da26f(_0x2405f4,_0x23d0a1){return _0x5cc096(_0x2405f4,_0x23d0a1- -_0x4771b3._0x37ee7b);}const _0x219dfd={};_0x219dfd[_0x4a482f(0x3d8,0x47f)]=_0x4da26f(0x72,_0xd27dbd._0x426488),_0x219dfd[_0x4da26f(0x436,0x2b7)]=function(_0x3efdde,_0x4c213c){return _0x3efdde===_0x4c213c;},_0x219dfd['eRxVX']=_0x4a482f(_0xd27dbd._0x143094,0x1c8);const _0x9b5bd5=_0x219dfd;function _0x4a482f(_0x1fc77f,_0x265b9d){return _0x5cc096(_0x1fc77f,_0x265b9d- -_0x53e6ef._0x2fe18a);}try{const _0x2c5021=JSON['parse'](_0x12b6f0);if(_0x2c5021[_0x4da26f(-0x59,_0xd27dbd._0xd8f524)]===_0x4da26f(_0xd27dbd._0x3e9d7b,0x2f4)&&typeof _0x2c5021['method']===_0x4da26f(0x1b7,_0xd27dbd._0x426488))return _0x4a482f(0x611,0x4c3)+_0x4da26f(_0xd27dbd._0x3f86e3,_0xd27dbd._0x20fc2e)+_0x2c5021[_0x4da26f(0x1fa,0x81)]+'\x20id='+(typeof _0x2c5021['id']==='string'?_0x2c5021['id']:'<unknown'+'>');if(_0x2c5021[_0x4a482f(_0xd27dbd._0x41dd81,0x252)]===_0x4da26f(_0xd27dbd._0x205c10,0x1a6)&&typeof _0x2c5021[_0x4da26f(0x2d,0x1a6)]===_0x9b5bd5[_0x4da26f(_0xd27dbd._0x3683a6,_0xd27dbd._0x404d05)])return'event\x20na'+'me='+_0x2c5021[_0x4a482f(0x376,0x35f)];if(_0x9b5bd5['ofrqF'](_0x2c5021['type'],_0x4a482f(0x38b,0x3c4))){const _0x33abe6=typeof _0x2c5021['id']===_0x9b5bd5[_0x4da26f(0x1e9,0x2c6)]?_0x2c5021['id']:_0x4a482f(0x216,0x3a5)+'>',_0x5f390d=_0x9b5bd5[_0x4a482f(0x368,0x470)](_0x2c5021['ok'],!![])?_0x4da26f(_0xd27dbd._0x191e24,_0xd27dbd._0x4d306b):_0x4da26f(0x165,0x2ce),_0x1582ed=typeof _0x2c5021[_0x4a482f(0x669,0x4f6)]?.[_0x4a482f(0x268,0x35d)]===_0x4a482f(0x403,_0xd27dbd._0x28f832)?_0x2c5021[_0x4a482f(_0xd27dbd._0x37a7ef,0x4f6)][_0x4da26f(0xb4,0x1a4)]:_0x9b5bd5[_0x4da26f(0x37e,_0xd27dbd._0x56e1ca)];return'res\x20id='+_0x33abe6+_0x4da26f(0x2c4,_0xd27dbd._0x5ebb4f)+_0x5f390d+_0x4da26f(0x30a,0x31a)+_0x1582ed;}return null;}catch{return null;}}function shouldDropStaleConnectAfterGatewayReopen(_0x40a945,_0x3f6ac1){return!_0x40a945&&_0x3f6ac1;}function buildRelayWsUrl(_0x2269ef){const _0x15b767={_0x5059f9:0x59a,_0x16fceb:0x65c,_0xe0adee:0x3bf,_0x5e620e:0x738,_0x16fb4e:0x65c,_0x2fc344:0x57c,_0x7d26a:0x5f7,_0x3192c5:0x5de,_0x344cd9:0x602,_0x1463f4:0x735,_0x2a9be0:0x468,_0x5ccb0c:0x659,_0x34035c:0x727,_0x482e97:0x5e2,_0x1f5bc1:0x6f8,_0x4753ad:0x66f,_0xcd9a6f:0x42e,_0x257576:0x2ca,_0x470210:0x5ab,_0x52a158:0x53e,_0x5c79df:0x818,_0x3358b9:0x6ff,_0x159722:0x41e},_0x3c4d75={_0x3fb6c5:0x3e4},_0x2301a6={_0x1ebcf9:0x413},_0x1d8208={};_0x1d8208[_0x41874c(_0x15b767._0x5059f9,_0x15b767._0x16fceb)]=function(_0x219790,_0x123736){return _0x219790===_0x123736;},_0x1d8208['QmNzy']=_0x41874c(_0x15b767._0xe0adee,0x468)+'d';function _0x41874c(_0x5e2ca7,_0xfc6ad9){return _0x6023f8(_0x5e2ca7,_0xfc6ad9-_0x2301a6._0x1ebcf9);}const _0x423d6c=_0x1d8208,_0x1f5f46=new URL(_0x2269ef[_0x240b00(0x4c5,0x61c)]);(!_0x1f5f46[_0x41874c(0x7dd,_0x15b767._0x5e620e)]||_0x423d6c[_0x41874c(0x6ce,_0x15b767._0x16fb4e)](_0x1f5f46['pathname'],'/'))&&(_0x1f5f46[_0x240b00(0x709,_0x15b767._0x2fc344)]=_0x240b00(_0x15b767._0x7d26a,0x781));_0x1f5f46[_0x41874c(_0x15b767._0x3192c5,0x659)+'rams'][_0x41874c(_0x15b767._0x344cd9,0x727)](_0x423d6c[_0x240b00(0x60d,_0x15b767._0x1463f4)],_0x2269ef[_0x41874c(0x2e6,_0x15b767._0x2a9be0)+'d']),_0x1f5f46[_0x41874c(0x5a9,_0x15b767._0x5ccb0c)+'rams'][_0x41874c(0x5f9,_0x15b767._0x34035c)](_0x240b00(_0x15b767._0x482e97,0x458),'gateway'),_0x1f5f46[_0x240b00(0x62a,_0x15b767._0x1f5bc1)+_0x41874c(0x3cb,0x53e)][_0x240b00(0x6f8,0x715)](_0x240b00(_0x15b767._0x4753ad,0x522),_0x2269ef[_0x240b00(_0x15b767._0xcd9a6f,_0x15b767._0x257576)+'Id']),_0x1f5f46['searchPa'+_0x41874c(_0x15b767._0x470210,_0x15b767._0x52a158)][_0x240b00(0x6f8,0x808)]('token',_0x2269ef[_0x41874c(_0x15b767._0x5c79df,0x6b7)+_0x41874c(_0x15b767._0x3358b9,0x700)]);function _0x240b00(_0x150098,_0x59ab82){return _0x6023f8(_0x59ab82,_0x150098-_0x3c4d75._0x3fb6c5);}return _0x1f5f46[_0x240b00(_0x15b767._0x159722,0x53a)]();}function redactRelayWsUrl(_0x2bfa8){const _0x5f3af8={_0x93904d:0x6b,_0x16cddd:0x1c9,_0x278a35:0x240,_0x5d75b4:0xb4,_0x22940a:0x24c,_0x4191a5:0x159,_0x33375e:0xe3,_0x4a2f0c:0x409},_0x29a315={};_0x29a315[_0x2ed6ff(-0x237,-0x259)]='token';const _0x1361b1=_0x29a315;function _0x555ad3(_0x2a7b29,_0x3544d2){return _0x6023f8(_0x3544d2,_0x2a7b29-0x5c);}const _0x40f2ec=new URL(_0x2bfa8);_0x40f2ec[_0x2ed6ff(0x85,-_0x5f3af8._0x93904d)+_0x2ed6ff(-_0x5f3af8._0x16cddd,-0x186)][_0x2ed6ff(-_0x5f3af8._0x278a35,-0x75)](_0x1361b1['bKUAV'])&&_0x40f2ec['searchPa'+_0x555ad3(0x187,0x2fd)][_0x555ad3(0x370,0x1ca)](_0x1361b1[_0x555ad3(_0x5f3af8._0x5d75b4,_0x5f3af8._0x22940a)],_0x555ad3(_0x5f3af8._0x4191a5,_0x5f3af8._0x33375e)+'d>');function _0x2ed6ff(_0x4d5890,_0x2ae6ad){return _0x6023f8(_0x4d5890,_0x2ae6ad- -0x2b1);}return _0x40f2ec[_0x2ed6ff(-_0x5f3af8._0x4a2f0c,-0x277)]();}function _0x5cc096(_0x500966,_0x2bbec5){const _0x145b28={_0x3689bc:0x39e};return _0x262d(_0x2bbec5-_0x145b28._0x3689bc,_0x500966);}function normalizeText(_0x254e7a){const _0x470a35={_0x3d61eb:0x523,_0x48162f:0x59a,_0x13940c:0x587,_0xbd1247:0x43b,_0x2aecf4:0x3a0,_0x31f376:0x1d4,_0x5b9409:0x59,_0xc04f2:0xf9,_0x2f906b:0x15e,_0x5e9c59:0x7,_0x4f881d:0x1ea,_0x10b9a4:0x51d,_0x85a06f:0x69,_0x4a2940:0x223,_0x3fe2df:0x277,_0x52376e:0x444},_0xd4cb0f={_0x27c660:0x259},_0x17dc5c={_0x312b7c:0x6ba},_0x52618b={};_0x52618b[_0x5d273e(_0x470a35._0x3d61eb,0x408)]=_0x5d273e(0x3e0,_0x470a35._0x48162f)+'4',_0x52618b[_0x5d273e(_0x470a35._0x13940c,0x585)]=_0x5d273e(_0x470a35._0xbd1247,_0x470a35._0x2aecf4);function _0x177cf6(_0x55318c,_0x566f08){return _0x5cc096(_0x55318c,_0x566f08- -_0x17dc5c._0x312b7c);}const _0x13e741=_0x52618b,_0x18a0b2=_0x13e741[_0x177cf6(-_0x470a35._0x31f376,-_0x470a35._0x5b9409)][_0x177cf6(0x9a,_0x470a35._0xc04f2)]('|');let _0xcb454=0x0;function _0x5d273e(_0x546052,_0x515e0a){return _0x5cc096(_0x546052,_0x515e0a- -_0xd4cb0f._0x27c660);}while(!![]){switch(_0x18a0b2[_0xcb454++]){case'0':if(typeof _0x254e7a==='string')return _0x254e7a;continue;case'1':if(_0x254e7a instanceof ArrayBuffer)return Buffer[_0x177cf6(_0x470a35._0x2f906b,-_0x470a35._0x5e9c59)](_0x254e7a)[_0x177cf6(-0x30f,-_0x470a35._0x4f881d)](_0x5d273e(_0x470a35._0x10b9a4,_0x470a35._0x2aecf4));continue;case'2':if(Buffer[_0x177cf6(-_0x470a35._0x85a06f,-_0x470a35._0x4a2940)](_0x254e7a))return _0x254e7a[_0x5d273e(0x35a,_0x470a35._0x3fe2df)](_0x13e741[_0x5d273e(0x3b9,0x585)]);continue;case'3':if(Array['isArray'](_0x254e7a))return Buffer['concat'](_0x254e7a)[_0x5d273e(0x308,0x277)](_0x5d273e(_0x470a35._0x52376e,0x3a0));continue;case'4':return null;}break;}}function normalizeBinary(_0x3f6719){const _0x29d4db={_0x24bb1e:0x231,_0x4f21f4:0x596,_0x18a553:0x27e},_0x46b5b6={_0x271e23:0x15d};function _0x56dbe8(_0x582691,_0x414850){return _0x6023f8(_0x414850,_0x582691-0x379);}const _0x598e6f={};_0x598e6f[_0x56dbe8(0x3f9,0x576)]='string';const _0xcfe3ae=_0x598e6f;if(Buffer['isBuffer'](_0x3f6719))return _0x3f6719;if(typeof _0x3f6719===_0xcfe3ae[_0x1523a0(0x1dd,_0x29d4db._0x24bb1e)])return Buffer[_0x56dbe8(_0x29d4db._0x4f21f4,0x73e)](_0x3f6719,'utf8');function _0x1523a0(_0x52c3d5,_0x3ac8a6){return _0x6023f8(_0x3ac8a6,_0x52c3d5-_0x46b5b6._0x271e23);}if(Array[_0x1523a0(_0x29d4db._0x18a553,0x267)](_0x3f6719))return Buffer[_0x56dbe8(0x538,0x404)](_0x3f6719);return Buffer['from'](_0x3f6719);}function readRecentCliLogs(_0x406a40){const _0x5219b7={_0x5947b4:0x63d,_0x3f6a88:0x59c,_0x23e782:0x507,_0x165d54:0x6dd,_0x23d9b9:0x624,_0x6f8261:0x50c,_0x5a9d5e:0x4c4,_0x31ce12:0x5f0,_0x174988:0x4d7},_0x3ae430={_0x2c857f:0xdd},_0x3feebb={'eGfKJ':function(_0x4230b1){return _0x4230b1();},'YneCZ':function(_0x300aae,_0x3cfdc5){return _0x300aae!=_0x3cfdc5;}},{logPath:_0x2c99a0,errorLogPath:_0x2015f0}=_0x3feebb['eGfKJ'](getServicePaths),_0xd707e6=clampLines(_0x406a40?.[_0x34f6dd(0x49a,_0x5219b7._0x5947b4)]??0xc8),_0x3676b8=_0x406a40?.[_0x30bda0(0x5f3,0x68d)]??null,_0x40ee07=_0x3feebb[_0x30bda0(_0x5219b7._0x3f6a88,_0x5219b7._0x23e782)](_0x3676b8,null)?Date[_0x34f6dd(0x81d,_0x5219b7._0x165d54)]()-_0x3676b8:null,_0x59f90d=[_0x2c99a0];_0x406a40?.[_0x30bda0(_0x5219b7._0x23d9b9,0x757)+_0x34f6dd(_0x5219b7._0x6f8261,0x45f)]&&_0x59f90d['push'](_0x2015f0);const _0x4d84c5=_0x59f90d[_0x34f6dd(0x30e,_0x5219b7._0x5a9d5e)](_0x57e7ef=>readLogFile(_0x57e7ef)),_0x545749=_0x40ee07==null?_0x4d84c5:_0x4d84c5[_0x30bda0(0x6ac,_0x5219b7._0x31ce12)](_0x47bf70=>_0x47bf70['ts']!=null&&_0x47bf70['ts']>=_0x40ee07);function _0x30bda0(_0x33ecdf,_0x115509){return _0x5cc096(_0x115509,_0x33ecdf-0x38);}function _0x34f6dd(_0x16ff17,_0x544247){return _0x5cc096(_0x16ff17,_0x544247- -_0x3ae430._0x2c857f);}return _0x545749[_0x34f6dd(0x61a,0x6b5)](-_0xd707e6)[_0x34f6dd(_0x5219b7._0x174988,0x534)](_0x52d7c6=>_0x52d7c6[_0x34f6dd(0x4b2,0x599)]);}async function buildDoctorReport(){const _0x1d13c6={_0x339ffe:0x4e,_0x11b889:0x4f,_0x298dc3:0x196,_0x2ec3f4:0x96,_0x105532:0x2c,_0x55686a:0x77,_0x3a9004:0x259,_0x2cc91d:0x10e,_0x124053:0x182,_0x3e22dd:0x170,_0xc9b134:0x17d,_0x2119d0:0x1b6,_0x5a2326:0x1f7,_0x268be5:0x2c8,_0x28b1fb:0x127,_0x1accfd:0xf3,_0x348368:0x1b0,_0x1d2c15:0x1b8,_0x4a4d95:0x377},_0x403edc={_0x5b86c9:0x6f1},_0xa7680b={'kDUHj':function(_0x1c1fb6){return _0x1c1fb6();},'yvxgL':function(_0x52d24e,_0x32a980){return _0x52d24e(_0x32a980);}},_0x439bf2=readPairingConfig();function _0x17f325(_0x53afb3,_0x9d8868){return _0x5cc096(_0x9d8868,_0x53afb3- -0x50c);}const _0x559eb6=getServiceStatus(),_0x1ffe26=_0xa7680b[_0x30b833(-_0x1d13c6._0x339ffe,-_0x1d13c6._0x11b889)](readOpenClawInfo),_0xaf3ab5=_0xa7680b[_0x17f325(_0x1d13c6._0x298dc3,_0x1d13c6._0x2ec3f4)](resolveGatewayUrl),_0x4f582c=await _0xa7680b['yvxgL'](checkGatewayReachable,_0xaf3ab5);function _0x30b833(_0x50ad50,_0x4e9ee9){return _0x5cc096(_0x50ad50,_0x4e9ee9- -_0x403edc._0x5b86c9);}return{'paired':Boolean(_0x439bf2),'gatewayId':_0x439bf2?.['gatewayI'+'d']??null,'serverUrl':_0x439bf2?.[_0x30b833(0xe1,-0xb2)+'l']??null,'relayUrl':_0x439bf2?.['relayUrl']??null,'instanceId':_0x439bf2?.[_0x17f325(-_0x1d13c6._0x105532,-_0x1d13c6._0x55686a)+'Id']??null,'serviceInstalled':_0x559eb6[_0x17f325(_0x1d13c6._0x3a9004,0x142)+'d'],'serviceRunning':_0x559eb6[_0x30b833(0x57,-_0x1d13c6._0x2cc91d)],'serviceMethod':_0x559eb6['method'],'servicePath':_0x559eb6[_0x30b833(-_0x1d13c6._0x124053,0x1c)+_0x17f325(0x23e,_0x1d13c6._0x3e22dd)],'logPath':_0x559eb6[_0x17f325(_0x1d13c6._0xc9b134,_0x1d13c6._0x2119d0)],'errorLogPath':_0x559eb6[_0x17f325(_0x1d13c6._0x5a2326,_0x1d13c6._0x268be5)+_0x30b833(-_0x1d13c6._0x28b1fb,-_0x1d13c6._0x1accfd)],'openclawConfigDir':_0xa7680b[_0x30b833(-_0x1d13c6._0x348368,-_0x1d13c6._0x11b889)](getOpenClawConfigDir),'openclawMediaDir':getOpenClawMediaDir(),'openclawConfigFound':_0x1ffe26[_0x17f325(_0x1d13c6._0x1d2c15,_0x1d13c6._0x4a4d95)+'und'],'openclawTokenFound':Boolean(_0x1ffe26['token']),'localGatewayUrl':_0xaf3ab5,'localGatewayReachable':_0x4f582c};}function readLogFile(_0xfe612d){const _0x3f24a8={_0x230d8e:0x545,_0x329c68:0x33b,_0xc5516:0x362,_0x303ccc:0x261,_0x2ce57e:0x223,_0x4f32f8:0x55d},_0x4d78cf={_0x41f8ab:0xb4};function _0x5553e0(_0x47fcde,_0x1d23a6){return _0x5cc096(_0x47fcde,_0x1d23a6- -_0x4d78cf._0x41f8ab);}function _0x241a8f(_0x3648da,_0x37a236){return _0x5cc096(_0x3648da,_0x37a236- -0x451);}const _0x18d242={};_0x18d242['FYOkE']=_0x5553e0(0x6c3,_0x3f24a8._0x230d8e);const _0x143ed4=_0x18d242;try{const _0x1616f4=_0x25ec75(_0xfe612d,_0x143ed4['FYOkE']);return _0x1616f4[_0x241a8f(_0x3f24a8._0x329c68,_0x3f24a8._0xc5516)](/\r?\n/)[_0x241a8f(_0x3f24a8._0x303ccc,_0x3f24a8._0x2ce57e)](Boolean)[_0x5553e0(0x565,_0x3f24a8._0x4f32f8)](_0xe089d5=>({'raw':_0xe089d5,'ts':parseTimestamp(_0xe089d5)}));}catch{return[];}}function parseTimestamp(_0x59c35a){const _0x3fd809={_0x1b5cd8:0x112},_0x2fa42d={_0x3d906c:0x26e},_0x1a4188=_0x59c35a[_0x8050f8(-0x1ac,-0xc5)](/^\[(\d{13})\]\s/);function _0x410eb5(_0x3c489b,_0x15a929){return _0x6023f8(_0x3c489b,_0x15a929-0x13a);}if(!_0x1a4188)return null;const _0x13c1e7=Number(_0x1a4188[0x1]);function _0x8050f8(_0x168f15,_0x23d7c3){return _0x6023f8(_0x23d7c3,_0x168f15- -_0x2fa42d._0x3d906c);}return Number[_0x410eb5(0x17f,_0x3fd809._0x1b5cd8)](_0x13c1e7)?_0x13c1e7:null;}function clampLines(_0x51fa05){const _0x3420f2={_0x1e9f7c:0x410},_0x267f3c={_0x48a375:0x34f},_0x5286bd={_0x4df758:0x34d};function _0x50a79f(_0xa8853a,_0x1082e2){return _0x5cc096(_0x1082e2,_0xa8853a- -_0x5286bd._0x4df758);}if(!Number['isFinite'](_0x51fa05))return 0xc8;function _0x2db7a7(_0x115de4,_0xd05cec){return _0x5cc096(_0x115de4,_0xd05cec- -_0x267f3c._0x48a375);}return Math[_0x2db7a7(0x460,0x34b)](0x1,Math[_0x50a79f(0x494,_0x3420f2._0x1e9f7c)](0x7d0,Math['floor'](_0x51fa05)));}async function checkGatewayReachable(_0x777d09){const _0x55b909={_0x30ce85:0x143,_0x25c53c:0x304,_0x567492:0x227,_0x33db13:0x1d,_0x42e108:0x397,_0x2265f2:0x54b,_0x1448bf:0x51},_0x29df9c={_0x54d225:0x35},_0x6ef9e4={_0x769267:0x2b4,_0x56b5e0:0x3b5},_0x4d84ad={_0x47f5cd:0x43c},_0x4c8ac0={_0x3135b8:0x4c3};function _0x73dd65(_0x4b2ea7,_0x5f0510){return _0x5cc096(_0x4b2ea7,_0x5f0510- -_0x4c8ac0._0x3135b8);}const _0x3a772b={};_0x3a772b[_0x421726(_0x55b909._0x30ce85,0x17b)]='connect',_0x3a772b[_0x421726(0x397,0x2fb)]=function(_0x415ab7,_0x5bc2ef){return _0x415ab7===_0x5bc2ef;};function _0x421726(_0x510420,_0x21d509){return _0x5cc096(_0x21d509,_0x510420- -_0x4d84ad._0x47f5cd);}const _0x33e1ca=_0x3a772b;try{const _0xdb3f65=new URL(_0x777d09),_0x866e53=_0xdb3f65[_0x73dd65(_0x55b909._0x25c53c,0x156)]||_0x73dd65(_0x55b909._0x567492,0xbe)+'1',_0xe990f6=_0xdb3f65[_0x73dd65(0x107,-_0x55b909._0x33db13)]?Number(_0xdb3f65[_0x421726(0x6a,-0xe4)]):_0x33e1ca[_0x421726(_0x55b909._0x42e108,_0x55b909._0x2265f2)](_0xdb3f65['protocol'],_0x73dd65(_0x55b909._0x1448bf,0x71))?0x1bb:0x50;return await new Promise((_0x2e0ed8,_0x5203ca)=>{const _0x4e01a6={_0x4da717:0xf9},_0x378582={_0x1f5f87:0x58d},_0x8375d0={'ZnsDR':function(_0x5b1ba1,_0xc078f0){return _0x5b1ba1(_0xc078f0);}},_0x3801f7=new Socket();_0x3801f7[_0x1c325a(-0x18a,-_0x29df9c._0x54d225)+'ut'](0x384),_0x3801f7[_0x2526a1(0x260,0x2ce)](_0x33e1ca[_0x2526a1(0x23c,0x16b)],()=>{const _0x37161d={_0x5c79ce:0x34};function _0x548f55(_0x555ed,_0x34dcf5){return _0x1c325a(_0x555ed- -_0x37161d._0x5c79ce,_0x34dcf5);}_0x3801f7[_0x548f55(-_0x6ef9e4._0x769267,-_0x6ef9e4._0x56b5e0)](),_0x2e0ed8();});function _0x1c325a(_0x4b6b1d,_0x359d55){return _0x421726(_0x4b6b1d- -0x2a5,_0x359d55);}_0x3801f7[_0x1c325a(-0x13e,-0x110)](_0x1c325a(0xb0,-0xd),()=>{function _0x16a9f1(_0x1e2313,_0x4036ff){return _0x1c325a(_0x1e2313-0x61a,_0x4036ff);}function _0x519475(_0x5ed328,_0x4fb864){return _0x1c325a(_0x5ed328-_0x378582._0x1f5f87,_0x4fb864);}_0x3801f7[_0x16a9f1(0x39a,0x330)](),_0x8375d0['ZnsDR'](_0x5203ca,new Error(_0x16a9f1(0x6ca,0x721)));});function _0x2526a1(_0x25562a,_0xcc0f81){return _0x421726(_0x25562a-_0x4e01a6._0x4da717,_0xcc0f81);}_0x3801f7['once'](_0x1c325a(0xce,0xec),_0x2d8a90=>{_0x3801f7['destroy'](),_0x5203ca(_0x2d8a90);}),_0x3801f7['connect'](_0xe990f6,_0x866e53);}),!![];}catch{return![];}}function parseLookbackToMs(_0x4a2152){const _0x49d31c={_0x584ac9:0x1d5,_0x2c44ac:0x1b7,_0x36d7e7:0x109,_0x3e26a4:0xc1,_0x2959ef:0x97,_0x2d3a36:0x14e,_0x32f04a:0x307,_0x471685:0x3d7,_0x3b09f0:0xe3,_0x490399:0xab,_0x38f5ad:0x71},_0x3a8007={_0x1c2342:0x420},_0x21463e={};_0x21463e['ninQc']=function(_0x13b020,_0x5dc885){return _0x13b020===_0x5dc885;};const _0x4cbc4c=_0x21463e,_0x164ebc=_0x4a2152?.[_0x5c2ddf(0x1a3,0x94)]();if(!_0x164ebc)return null;const _0x310896=_0x164ebc[_0x23a49d(0x138,0x17)](/^(\d+)(ms|s|m|h|d)$/i);if(!_0x310896)throw new Error(_0x23a49d(_0x49d31c._0x584ac9,_0x49d31c._0x2c44ac)+_0x5c2ddf(_0x49d31c._0x36d7e7,_0x49d31c._0x3e26a4)+_0x5c2ddf(0x186,_0x49d31c._0x2959ef)+_0x164ebc+('\x22.\x20Use\x20v'+'alues\x20li'+_0x5c2ddf(0x35c,0x4e6)+_0x5c2ddf(_0x49d31c._0x2d3a36,_0x49d31c._0x32f04a)+_0x5c2ddf(0x3fb,_0x49d31c._0x471685)));const _0x2ce960=Number(_0x310896[0x1]),_0x249a2d=_0x310896[0x2][_0x5c2ddf(_0x49d31c._0x3b09f0,_0x49d31c._0x490399)+_0x23a49d(0x1bb,_0x49d31c._0x38f5ad)]();function _0x5c2ddf(_0x296ae3,_0x54604a){return _0x5cc096(_0x54604a,_0x296ae3- -0x3ec);}function _0x23a49d(_0x377cac,_0x3116f8){return _0x5cc096(_0x3116f8,_0x377cac- -_0x3a8007._0x1c2342);}const _0x4c1f67=_0x4cbc4c[_0x5c2ddf(0xc1,0x9d)](_0x249a2d,'ms')?0x1:_0x249a2d==='s'?0x3e8:_0x249a2d==='m'?0xea60:_0x249a2d==='h'?0x36ee80:0x5265c00;return _0x2ce960*_0x4c1f67;}function buildPairingJson(_0x55aa2b,_0x19aedf,_0x1fa2ca,_0x242d4a){const _0x5be450={_0x44739c:0x23,_0x23d880:0x28c,_0x43debe:0x4e3,_0x50dbc7:0x47b,_0x32fdcb:0x59,_0x2a6ef7:0x3f4,_0x4af7f8:0x580,_0x548fd0:0x3d4,_0x2dd984:0x234,_0x411291:0xf3,_0x3d0a80:0x3e6,_0x392097:0x2e5,_0x247b1a:0x372,_0x1f6bd8:0x3a9,_0x197073:0x2c1,_0x559e7d:0x450,_0x2411fc:0x4d2,_0x192823:0x206,_0x3a7b82:0x34d,_0x15cbb8:0x17,_0x30db6c:0xef,_0x432f5d:0x399,_0x533015:0x5e,_0x38594a:0xb2,_0x3b01f5:0x2b6,_0x393877:0x211,_0x2a190b:0x2e7,_0x55eb20:0x51,_0x42edc2:0xcb,_0x5780c2:0x1e0,_0x20a25d:0x518,_0x5429d7:0x43a},_0x73e995={};_0x73e995[_0x187447(-_0x5be450._0x44739c,0x74)+'d']=_0x1fa2ca[_0x572f82(0x53b,0x3b6)+'d'],_0x73e995['running']=_0x1fa2ca[_0x572f82(0x3b9,_0x5be450._0x23d880)],_0x73e995['method']=_0x1fa2ca[_0x187447(-0x364,-0x1fe)],_0x73e995[_0x187447(0xda,0x1c)+'ath']=_0x1fa2ca[_0x572f82(_0x5be450._0x43debe,_0x5be450._0x50dbc7)+_0x187447(0x130,_0x5be450._0x32fdcb)];function _0x572f82(_0x5d2c60,_0x134892){return _0x6023f8(_0x134892,_0x5d2c60-0x26c);}function _0x187447(_0x309dfb,_0x33984b){return _0x6023f8(_0x309dfb,_0x33984b- -0x25b);}_0x73e995[_0x572f82(0x45f,_0x5be450._0x2a6ef7)]=_0x1fa2ca['logPath'],_0x73e995[_0x572f82(0x4d9,_0x5be450._0x4af7f8)+_0x572f82(_0x5be450._0x548fd0,0x3e0)]=_0x1fa2ca[_0x187447(0x1f,0x12)+_0x187447(-_0x5be450._0x2dd984,-_0x5be450._0x411291)],_0x73e995[_0x572f82(0x2e5,_0x5be450._0x3d0a80)]=_0x1fa2ca[_0x572f82(_0x5be450._0x392097,_0x5be450._0x247b1a)];const _0x1cdb0a={};return _0x1cdb0a['ok']=!![],_0x1cdb0a['action']=_0x55aa2b['action'],_0x1cdb0a[_0x572f82(_0x5be450._0x1f6bd8,0x49e)]=_0x242d4a,_0x1cdb0a[_0x572f82(_0x5be450._0x197073,_0x5be450._0x559e7d)+'d']=_0x55aa2b[_0x572f82(0x3d8,_0x5be450._0x2411fc)][_0x187447(-0x16c,-_0x5be450._0x192823)+'d'],_0x1cdb0a[_0x572f82(_0x5be450._0x3a7b82,0x2e9)]=_0x55aa2b[_0x187447(-_0x5be450._0x15cbb8,-_0x5be450._0x30db6c)]['relayUrl'],_0x1cdb0a[_0x572f82(0x415,0x402)+'l']=_0x55aa2b[_0x572f82(0x3d8,_0x5be450._0x432f5d)][_0x187447(-_0x5be450._0x533015,-_0x5be450._0x38594a)+'l'],_0x1cdb0a[_0x572f82(_0x5be450._0x3b01f5,0x1bb)+'Id']=_0x55aa2b[_0x572f82(0x3d8,0x2fc)][_0x187447(-0x364,-_0x5be450._0x393877)+'Id'],_0x1cdb0a['accessCo'+'de']=_0x55aa2b[_0x572f82(_0x5be450._0x2a190b,0x199)+'de'],_0x1cdb0a[_0x187447(-0x98,-0x1e0)+'deExpire'+_0x187447(0xfa,_0x5be450._0x55eb20)]=_0x55aa2b[_0x187447(-_0x5be450._0x42edc2,-_0x5be450._0x5780c2)+_0x187447(-0x89,0x6b)+_0x572f82(_0x5be450._0x20a25d,0x629)],_0x1cdb0a[_0x572f82(0x545,0x49a)+_0x572f82(0x520,_0x5be450._0x5429d7)]=_0x19aedf,_0x1cdb0a[_0x572f82(0x37d,0x21c)]=_0x73e995,_0x1cdb0a;}import{mkdirSync as _0x5237ce,writeFileSync as _0x3e7778}from'fs';import{dirname as _0x4c8902,isAbsolute,join as _0x322df0,resolve}from'path';import _0x28e443 from'qrcode';var DEFAULT_QR_DIR=getOpenClawMediaDir();async function writePairingQrPng(_0x41d9ba,_0x2363ef){const _0x138389={_0x2f087e:0x229,_0x59dc01:0x1fd,_0x15f1aa:0x216,_0x2d6d7c:0x19c,_0x76f8cf:0x20,_0x20eac6:0x3a,_0xfd7fff:0x152,_0x3b72ee:0x161,_0x2b6dbe:0x1ea,_0x4cfe1a:0x4f,_0x4bf3b7:0x10e,_0x95612b:0x1aa},_0x3f1f68={_0x1d1eb1:0x1da},_0xe4dc81={_0x4b74c6:0x11},_0x2e3439={};_0x2e3439[_0x32d21d(-0xb8,-0x19c)]=_0x2781b1(_0x138389._0x2f087e,_0x138389._0x59dc01)+'g';const _0x25a7a9=_0x2e3439;function _0x2781b1(_0x4071ae,_0x654a4b){return _0x6023f8(_0x654a4b,_0x4071ae-_0xe4dc81._0x4b74c6);}const _0x34ade8=resolveQrOutputPath(_0x41d9ba,_0x2363ef),_0x57455e={};_0x57455e[_0x32d21d(-_0x138389._0x15f1aa,-0x1d1)+'e']=!![],_0x5237ce(_0x4c8902(_0x34ade8),_0x57455e);const _0x4c80ad={};function _0x32d21d(_0x4001ba,_0x3fc6ff){return _0x6023f8(_0x4001ba,_0x3fc6ff- -_0x3f1f68._0x1d1eb1);}_0x4c80ad[_0x2781b1(0x86,-0x2e)]=_0x25a7a9[_0x32d21d(-0x296,-_0x138389._0x2d6d7c)],_0x4c80ad['errorCor'+_0x32d21d(_0x138389._0x76f8cf,_0x138389._0x20eac6)+_0x32d21d(_0x138389._0xfd7fff,_0x138389._0x3b72ee)]='M',_0x4c80ad[_0x32d21d(-0x325,-_0x138389._0x2b6dbe)]=0x1,_0x4c80ad['width']=0x2d0;const _0x255d1a=await _0x28e443[_0x32d21d(-0x96,-_0x138389._0x4cfe1a)+'L'](_0x41d9ba['qrPayloa'+'d'],_0x4c80ad),_0x24e09f=_0x255d1a[_0x32d21d(-0x3e,0x74)](/^data:image\/png;base64,/,'');return _0x3e7778(_0x34ade8,Buffer[_0x2781b1(0x22e,_0x138389._0x4bf3b7)](_0x24e09f,_0x32d21d(_0x138389._0x95612b,0x63))),_0x34ade8;}function resolveQrOutputPath(_0x127c26,_0x38b1ec){const _0x3688f6={_0x366b8a:0xb,_0x1ab991:0x12f,_0x5d66a3:0xbc},_0x3dc4fd=_0x38b1ec?.[_0x2a4be7(-_0x3688f6._0x366b8a,-_0x3688f6._0x1ab991)]();function _0x2a4be7(_0x3a1804,_0x22ac3d){return _0x6023f8(_0x3a1804,_0x22ac3d- -0x228);}function _0x3e72e3(_0x35ddb2,_0xef2d84){return _0x6023f8(_0x35ddb2,_0xef2d84- -0xee);}if(_0x3dc4fd)return isAbsolute(_0x3dc4fd)?_0x3dc4fd:resolve(_0x3dc4fd);return _0x322df0(DEFAULT_QR_DIR,_0x127c26[_0x2a4be7(0x1b,-_0x3688f6._0x5d66a3)]['gatewayI'+'d']+'.png');}function decidePairServiceAction(_0x32c927,_0x2efbfa){const _0x25efb9={_0x35ba9e:0x4ac,_0x36699:0x134,_0x13c47e:0x560,_0x180fb4:0x419,_0x3f9bb2:0x5b8,_0x8913e8:0x49c,_0x2393d1:0x171,_0x40bf4d:0x37},_0x570efb={_0x5b1499:0x2fb},_0x4068d0={};_0x4068d0[_0x148f01(0x526,_0x25efb9._0x35ba9e)]=_0x96db63(-_0x25efb9._0x36699,-0x1f3),_0x4068d0['LAtuX']='noop';function _0x96db63(_0x108620,_0x5bfb27){return _0x6023f8(_0x5bfb27,_0x108620- -0x102);}const _0x2e16e6=_0x4068d0;if(!_0x2efbfa[_0x148f01(_0x25efb9._0x13c47e,0x5ca)+'d'])return _0x2e16e6[_0x96db63(0xaf,0x252)];function _0x148f01(_0x1679da,_0x140fcd){return _0x6023f8(_0x1679da,_0x140fcd-_0x570efb._0x5b1499);}if(!_0x2efbfa['running'])return _0x148f01(_0x25efb9._0x180fb4,0x5d1);if(_0x32c927[_0x148f01(_0x25efb9._0x3f9bb2,_0x25efb9._0x8913e8)]==='register'+'ed')return _0x96db63(0x1d4,_0x25efb9._0x2393d1);return _0x2e16e6[_0x96db63(-0x13,_0x25efb9._0x40bf4d)];}async function main(){const _0x198352={_0x305230:0x238,_0x2854dd:0x1cb,_0x3979c6:0x70b,_0x399382:0x7b9,_0x230041:0x79b,_0x281dea:0x6f3,_0x24e95b:0x5dc,_0xc269a:0x4e,_0x19617c:0x30f,_0x461b87:0x256,_0x4831b3:0x205,_0x630b7d:0x576,_0x13f0bf:0x65f,_0x2f1105:0x494,_0x5f3f87:0xc6,_0x2de41e:0x19d,_0x3e52c7:0x478,_0xada290:0x598,_0x2c29b4:0x47d,_0x10306e:0x3be,_0x1b3fb5:0x2ce,_0x473645:0x568,_0x1ea8ca:0x683,_0x53eea8:0x351,_0x46049c:0x2ac,_0x53fa91:0x4d3,_0x513ac6:0x616,_0x54fe45:0x757,_0x169e62:0x63e,_0x57490c:0x6c8,_0x3efd61:0x433,_0x5b5008:0x6aa,_0x20fd74:0x51d,_0x594f7a:0x224,_0x13d842:0x65e,_0x18c29d:0x18e,_0x174773:0x539,_0x4bdd7a:0x5dd,_0x142e02:0x8e5,_0x1a3c16:0x7ad,_0x1e1f26:0x57b,_0x106938:0x2b1,_0x56b810:0x16a,_0x425c1d:0x2b5,_0x19ed54:0x403,_0x485a58:0x4e0,_0x556bdf:0x2e9,_0x1ac130:0x229,_0x137eea:0x81,_0x27ed07:0x335,_0x145ca2:0x147,_0x52d140:0x572,_0x11367a:0x49a,_0x41e45b:0x1d9,_0x5bf0e4:0x638,_0x1cd1a2:0x77e,_0x483eb4:0x82e,_0x1b815e:0x2d2,_0x2e40c6:0x1d4,_0x89f651:0x657,_0x7330bd:0x5f4,_0x3e78da:0x354,_0x3ef801:0x7fb,_0x3ed3dd:0x550,_0x6ee3d7:0x559,_0xb5ae12:0x545,_0x5f2922:0x492,_0x3a1400:0x58c,_0x294a05:0x42b,_0x5a31a4:0x2f1,_0x5534a2:0x492,_0x420b2d:0x25d,_0xb0a2d7:0x408,_0x19a263:0x440,_0x4af546:0x3d5,_0x874937:0x264,_0x43d648:0x230,_0x7ffe42:0x79e,_0x42b8b:0x765,_0x1884e9:0x19c,_0x1c1cad:0x20b,_0x812773:0x414,_0x2e4ac1:0x2f6,_0x470aa1:0x1f1,_0x1754ba:0x6b9,_0xc5dc57:0x60d,_0x346209:0x424,_0x41671c:0x7ac,_0x609c48:0x60b,_0x3f88bd:0x60b,_0x81d243:0x4a8,_0x23fa9b:0x506,_0x2ed4c1:0x3f8,_0x37c42f:0x273,_0x4b5bcd:0xfb,_0x1f426f:0x1e9,_0x4a66fa:0x1ce,_0x5663d2:0x1cd,_0x2bb391:0x4a4,_0x51bd97:0x3f9,_0x266b0a:0x670,_0x4cb97e:0x69e,_0xde07ac:0x894,_0x38c04b:0x724,_0x4c3da1:0x38c,_0x253d64:0x34f,_0x8ebfce:0x1cb,_0x4b0c9d:0x12a,_0x1f035b:0x1fe,_0x48592c:0x3c9,_0x92afea:0x2bd,_0x471566:0x5a6,_0x6f4d54:0x33a,_0x435157:0x481,_0x4547e8:0x7e4,_0x1979b4:0x3c4,_0x3acbeb:0x5e1,_0x464a18:0x35f,_0x1cbc1c:0x3fd,_0x590e1a:0x1a5,_0x266f37:0x1f1,_0x1e8b87:0x2c3,_0x4ed655:0x1f1,_0x716cdb:0x7cd,_0x477f87:0x5e3,_0x594586:0x757,_0xf829c7:0x6e2,_0x1cd04d:0x553,_0x336932:0x3a3,_0x3ab0d:0x79e,_0x3db44e:0x4d4,_0x376862:0x3f3,_0x1e0453:0x31f,_0x111d74:0x43a,_0x2985d8:0x6a0,_0x336c12:0x620,_0x4eb3e8:0x4e5,_0x35bfa3:0x5fc,_0x4c47d2:0x506,_0x48e9b6:0x622,_0x212cbf:0x232,_0x267983:0x2d3,_0x2d926f:0x349,_0x362caf:0x667,_0x9741c5:0x892,_0x26438d:0x729,_0xde96d5:0x5a2,_0xad2cc1:0x5f5,_0x5abd1f:0x46d,_0x369ce5:0x180,_0x321506:0x24a,_0x593f1b:0x49b,_0x2da0c3:0x1ce,_0x2f680c:0x36a,_0x21e7f2:0x392,_0x133c56:0x628,_0x3d8846:0x752},_0x39f073={_0x4328bc:0x5c,_0x5f01f0:0x90,_0x53a46e:0x8,_0x322cb0:0x57},_0x57dec4={_0x4f0b27:0x4bd,_0x4da30f:0x61f,_0x3e9eae:0x4d8,_0x1959a4:0x37e,_0x48227d:0x530,_0x2a4c18:0x655,_0x34354b:0x597,_0x2e5816:0x513},_0x55bda8={_0x51b684:0x3d},_0x1198a3={_0x1fee43:0x592,_0x48c229:0x565,_0x33eabb:0x5ea,_0x50bac5:0x565,_0x4f8bc4:0x352,_0x500595:0x63,_0x47a62d:0x31c,_0x392d03:0x350,_0x1ac5c4:0x451,_0x269312:0x466,_0x50c084:0x527,_0x154ad4:0x44b,_0x9dbdb6:0x592,_0x2413ba:0x256,_0x9c4bef:0x335,_0x3807f1:0x2d2,_0x395909:0x157,_0x466180:0x299,_0x550fc2:0x267,_0x17d806:0x2f6,_0x11105a:0x52c},_0x222fa3={_0x3adf03:0x49c,_0x36b548:0x2b2,_0x4a717c:0x2af},_0x4af8d2={_0x199132:0x31d},_0x160932={_0x1f9fbe:0x8},_0x35bbef={'AANiD':function(_0x3bbd53,_0x2b1050){return _0x3bbd53(_0x2b1050);},'ABWGW':'down','UheqB':'<unknown'+'>','tmyOJ':function(_0x2f147d,_0x23b803){return _0x2f147d(_0x23b803);},'kdncF':function(_0x194ebd,_0x38b2fd){return _0x194ebd===_0x38b2fd;},'zlLRw':function(_0x227d8b,_0x8f6a0f,_0x28151d){return _0x227d8b(_0x8f6a0f,_0x28151d);},'yXbne':_0x43442a(0x145,0x17c)+_0x43442a(_0x198352._0x305230,_0x198352._0x2854dd)+_0x51c839(0x74c,_0x198352._0x3979c6)+_0x51c839(_0x198352._0x399382,_0x198352._0x230041)+'ng.\x20Left'+_0x51c839(_0x198352._0x281dea,_0x198352._0x24e95b)+_0x43442a(_0x198352._0xc269a,0x152),'dWJls':function(_0x4f519b,_0x515eaa){return _0x4f519b===_0x515eaa;},'SWYgN':'Auto-ins'+_0x43442a(0x3c6,0x26e)+'ackgroun'+_0x43442a(0x4c3,_0x198352._0x19617c)+'e.','eVDNC':'register'+'ed','KhsIT':function(_0x919df,_0x45d182,_0x36648b,_0x45e666,_0x2e1307){return _0x919df(_0x45d182,_0x36648b,_0x45e666,_0x2e1307);},'HDXTt':'You\x20can\x20'+_0x43442a(_0x198352._0x461b87,_0x198352._0x4831b3)+_0x43442a(_0x198352._0x630b7d,0x3f4)+_0x51c839(0x716,_0x198352._0x13f0bf)+_0x43442a(_0x198352._0x2f1105,0x4af)+_0x43442a(_0x198352._0x5f3f87,_0x198352._0x2de41e)+_0x51c839(0x30c,_0x198352._0x3e52c7)+_0x43442a(_0x198352._0xada290,_0x198352._0x2c29b4),'KwjNO':function(_0x57a3e1){return _0x57a3e1();},'lSSiE':function(_0x524d81,_0x404419,_0x26e92c){return _0x524d81(_0x404419,_0x26e92c);},'vuyPy':_0x51c839(0x62c,0x736),'piVfk':_0x43442a(_0x198352._0x10306e,_0x198352._0x1b3fb5),'PYtuC':_0x51c839(0x6dd,_0x198352._0x473645)+_0x43442a(0xc8,0x173)+'logs\x20fou'+_0x51c839(0x4c2,_0x198352._0x1ea8ca),'LnDaZ':function(_0x4d5cc3,_0x5673e1){return _0x4d5cc3(_0x5673e1);},'MBpkY':function(_0x3fb366,_0x1de65f){return _0x3fb366===_0x1de65f;},'CNmLg':function(_0x3d9ef0,_0x2de372,_0x5c637c){return _0x3d9ef0(_0x2de372,_0x5c637c);},'mQLJI':_0x51c839(0x63a,0x68a)+_0x43442a(_0x198352._0x53eea8,_0x198352._0x46049c)},[,,_0x30c6b9=_0x51c839(_0x198352._0x53fa91,_0x198352._0x513ac6),..._0x5af9ea]=process[_0x51c839(0x613,_0x198352._0x54fe45)],_0x21adff=hasFlag(_0x5af9ea,_0x51c839(_0x198352._0x169e62,_0x198352._0x57490c)+'e'),_0x29dcdd=hasFlag(_0x5af9ea,_0x43442a(_0x198352._0x3efd61,0x47c));if(_0x35bbef[_0x51c839(0x4ef,_0x198352._0x5b5008)](_0x30c6b9,_0x43442a(0x2a3,0x459))){const _0x234520=readFlag(_0x5af9ea,_0x51c839(_0x198352._0x20fd74,0x530))??_0x35bbef[_0x43442a(0x15f,_0x198352._0x594f7a)](readFlag,_0x5af9ea,'-s')??_0x51c839(_0x198352._0x13d842,0x58c)+'registry'+_0x43442a(_0x198352._0x18c29d,0x1f3)+_0x51c839(0x74b,0x620),_0x3564c9=_0x35bbef[_0x51c839(0x36a,_0x198352._0x174773)](readFlag,_0x5af9ea,'--name')??readFlag(_0x5af9ea,'-n')??null,_0x1870f7=_0x35bbef[_0x51c839(_0x198352._0x4bdd7a,0x539)](readFlag,_0x5af9ea,_0x51c839(_0x198352._0x142e02,_0x198352._0x1a3c16)+'e'),_0x58850d=await _0x35bbef[_0x51c839(0x73d,0x6e7)](pairGateway,{'serverUrl':_0x234520,'displayName':_0x3564c9,'gatewayToken':resolveGatewayToken()}),_0x3fdcf1=await writePairingQrPng(_0x58850d,_0x1870f7),_0x22eea4=getServiceStatus(),_0x32f51b=_0x35bbef[_0x51c839(_0x198352._0x1e1f26,0x539)](decidePairServiceAction,_0x58850d,_0x22eea4);if(_0x32f51b===_0x43442a(_0x198352._0x106938,_0x198352._0x56b810)){_0x29dcdd?printJson(buildPairingJson(_0x58850d,_0x3fdcf1,_0x22eea4,_0x43442a(_0x198352._0x425c1d,0x17c)+_0x51c839(_0x198352._0x19ed54,_0x198352._0x485a58)+_0x43442a(_0x198352._0x556bdf,0x3f6)+'dy\x20runni'+_0x43442a(0x2c6,_0x198352._0x1ac130)+_0x51c839(0x412,0x5dc)+_0x43442a(0x47,0x152))):(_0x35bbef[_0x43442a(_0x198352._0x137eea,0x224)](printPairingInfo,_0x58850d,_0x3fdcf1),console['log'](_0x35bbef[_0x51c839(_0x198352._0x27ed07,0x4a1)]),printServiceResult(null,_0x22eea4));return;}try{const _0xbdbb01=_0x32f51b===_0x51c839(0x387,0x45c)?installService():restartService(),_0x53e3f0=_0x35bbef['dWJls'](_0x32f51b,_0x43442a(0x4b,_0x198352._0x145ca2))?_0x35bbef['SWYgN']:_0x58850d['action']===_0x35bbef[_0x51c839(0x72a,_0x198352._0x52d140)]?'Bridge\x20i'+'dentity\x20'+_0x43442a(0x57b,_0x198352._0x11367a)+_0x43442a(_0x198352._0x41e45b,0x275)+_0x51c839(_0x198352._0x5bf0e4,_0x198352._0x1cd1a2)+_0x51c839(_0x198352._0x483eb4,0x67a)+_0x43442a(_0x198352._0x1b815e,_0x198352._0x2e40c6)+_0x51c839(_0x198352._0x89f651,_0x198352._0x7330bd)+'e\x20new\x20pa'+'iring.':'Backgrou'+'nd\x20servi'+_0x43442a(0x43d,0x458)+_0x43442a(_0x198352._0x3e78da,0x29b)+_0x51c839(_0x198352._0x3ef801,0x7a1)+_0x51c839(_0x198352._0x3ed3dd,_0x198352._0x6ee3d7)+_0x51c839(0x5db,_0x198352._0xb5ae12)+_0x51c839(0x5a6,0x50f);_0x29dcdd?printJson(_0x35bbef['KhsIT'](buildPairingJson,_0x58850d,_0x3fdcf1,_0xbdbb01,_0x53e3f0)):(printPairingInfo(_0x58850d,_0x3fdcf1),printServiceResult(_0x53e3f0,_0xbdbb01));}catch(_0x437e5c){console[_0x43442a(0x5cf,_0x198352._0x5f2922)](_0x43442a(_0x198352._0x3a1400,0x450)+'succeede'+'d,\x20but\x20s'+_0x51c839(_0x198352._0x294a05,0x574)+'ctivatio'+_0x43442a(0x30a,0x1cf)+':\x20'+formatError(_0x437e5c)),console[_0x43442a(_0x198352._0x5a31a4,_0x198352._0x5534a2)](_0x35bbef[_0x43442a(_0x198352._0x420b2d,_0x198352._0xb0a2d7)]),process[_0x43442a(_0x198352._0x19a263,_0x198352._0x4af546)]=0x1;}return;}if(_0x30c6b9===_0x43442a(_0x198352._0x874937,0x22d)+_0x43442a(_0x198352._0x43d648,0x2f9)){const _0x2719e0=readFlag(_0x5af9ea,'--qr-fil'+'e'),_0x5b5cca=await refreshAccessCode({'gatewayToken':resolveGatewayToken()}),_0x21e7c0=await writePairingQrPng(_0x5b5cca,_0x2719e0);_0x29dcdd?printJson(buildPairingJson(_0x5b5cca,_0x21e7c0,getServiceStatus(),_0x51c839(_0x198352._0x7ffe42,_0x198352._0x42b8b)+_0x43442a(0x2ef,_0x198352._0x1884e9)+_0x43442a(_0x198352._0x1c1cad,0x1ed))):printPairingInfo(_0x5b5cca,_0x21e7c0);return;}if(_0x30c6b9===_0x43442a(0x15,_0x198352._0x145ca2)){const _0x30b865=requirePairingConfig(),_0x128594=_0x35bbef[_0x43442a(_0x198352._0x812773,_0x198352._0x2e4ac1)](installService);console[_0x43442a(0x1f8,_0x198352._0x470aa1)](_0x51c839(0x80e,_0x198352._0x1754ba)+'d\x20backgr'+_0x51c839(0x626,_0x198352._0xc5dc57)+_0x43442a(_0x198352._0x346209,0x33a)+'\x20gateway'+'\x20'+_0x30b865[_0x43442a(0x35a,0x1ce)+'d']+'.'),printServiceResult(null,_0x128594);return;}if(_0x30c6b9==='restart'){const _0x3d9475=_0x35bbef[_0x51c839(_0x198352._0x41671c,_0x198352._0x609c48)](requirePairingConfig),_0x19d6bb=_0x35bbef[_0x51c839(0x5ab,_0x198352._0x3f88bd)](restartService);console[_0x51c839(_0x198352._0x81d243,_0x198352._0x23fa9b)](_0x43442a(_0x198352._0x2ed4c1,_0x198352._0x37c42f)+_0x43442a(_0x198352._0x4b5bcd,0x180)+'ound\x20ser'+_0x43442a(_0x198352._0x1f426f,0x33a)+_0x43442a(0x1a1,0x22b)+'\x20'+_0x3d9475[_0x43442a(0x1e,_0x198352._0x4a66fa)+'d']+'.'),_0x35bbef[_0x43442a(_0x198352._0x5663d2,0x324)](printServiceResult,null,_0x19d6bb);return;}if(_0x30c6b9===_0x51c839(0x541,_0x198352._0x2bb391)){const _0x457728=_0x35bbef[_0x43442a(_0x198352._0x51bd97,0x2f6)](stopService);console['log'](_0x51c839(_0x198352._0x266b0a,_0x198352._0x4cb97e)+'backgrou'+_0x43442a(0x107,0x1cb)+_0x51c839(_0x198352._0xde07ac,_0x198352._0x38c04b)),printServiceResult(null,_0x457728);return;}if(_0x30c6b9===_0x51c839(0x5a4,0x538)+'l'){const _0x58583a=uninstallService();console[_0x43442a(_0x198352._0x4c3da1,0x1f1)]('Removed\x20'+'backgrou'+_0x43442a(_0x198352._0x253d64,_0x198352._0x8ebfce)+_0x43442a(_0x198352._0x4b0c9d,_0x198352._0x1f035b)+_0x43442a(0x49a,_0x198352._0x48592c)),printServiceResult(null,_0x58583a);return;}if(_0x30c6b9===_0x51c839(0x91e,0x753)){stopService(),deletePairingConfig(),console[_0x43442a(_0x198352._0x92afea,0x1f1)](_0x51c839(_0x198352._0x471566,0x5c6)+'pairing\x20'+_0x43442a(_0x198352._0x6f4d54,_0x198352._0x435157)+getPairingConfigPath());return;}function _0x51c839(_0x1bf5ea,_0x5cf797){return _0x5cc096(_0x1bf5ea,_0x5cf797- -_0x160932._0x1f9fbe);}function _0x43442a(_0x544f3f,_0x14488b){return _0x5cc096(_0x544f3f,_0x14488b- -_0x4af8d2._0x199132);}if(_0x30c6b9==='status'){printStatus();return;}if(_0x30c6b9===_0x43442a(0x293,0x2a6)){const _0x45271f=Number(readFlag(_0x5af9ea,_0x51c839(_0x198352._0x4547e8,0x716))??_0x43442a(0x24b,_0x198352._0x1979b4)),_0x135d8d=parseLookbackToMs(readFlag(_0x5af9ea,_0x35bbef[_0x51c839(0x6d6,_0x198352._0x3acbeb)])??readFlag(_0x5af9ea,'-l')),_0x18f6e1=readRecentCliLogs({'lines':_0x45271f,'lastMs':_0x135d8d,'includeErrorLog':hasFlag(_0x5af9ea,_0x35bbef[_0x43442a(0x62,0x185)])});if(_0x29dcdd){const _0x2bdcce={};_0x2bdcce['ok']=!![],_0x2bdcce[_0x43442a(_0x198352._0x464a18,_0x198352._0x1cbc1c)]=_0x18f6e1,printJson(_0x2bdcce);}else _0x18f6e1['length']===0x0?console[_0x43442a(_0x198352._0x590e1a,_0x198352._0x266f37)](_0x35bbef['PYtuC']):console[_0x43442a(_0x198352._0x1e8b87,_0x198352._0x4ed655)](_0x18f6e1[_0x51c839(0x818,_0x198352._0x716cdb)]('\x0a'));return;}if(_0x30c6b9===_0x51c839(_0x198352._0x477f87,0x6f8)){const _0x4a965e=await buildDoctorReport();_0x29dcdd?printJson(_0x4a965e):_0x35bbef['LnDaZ'](printDoctorReport,_0x4a965e);return;}if(_0x35bbef[_0x51c839(_0x198352._0x594586,_0x198352._0xf829c7)](_0x30c6b9,_0x43442a(_0x198352._0x1cd04d,_0x198352._0x336932))){const _0x33a364=requirePairingConfig(),_0x558505=resolveGatewayUrl(_0x35bbef['CNmLg'](readFlag,_0x5af9ea,_0x35bbef[_0x51c839(0x642,_0x198352._0x3ab0d)])??readFlag(_0x5af9ea,'-g')),_0x573bc4=_0x5a622f=>{function _0x4b04d1(_0x82ac9e,_0x3990c1){return _0x43442a(_0x82ac9e,_0x3990c1- -0x1de);}console['log']('['+Date[_0x4b04d1(0x306,0x2bf)]()+']\x20'+_0x5a622f);};!_0x21adff?(console[_0x51c839(0x5b8,0x506)](_0x51c839(0x500,_0x198352._0x3db44e)+_0x43442a(_0x198352._0x376862,_0x198352._0x1e0453)+_0x33a364['gatewayI'+'d']),console[_0x51c839(0x5f1,0x506)]('Instance'+_0x43442a(0x463,_0x198352._0x111d74)+_0x33a364['instance'+'Id']),console[_0x51c839(0x3a5,_0x198352._0x23fa9b)](_0x51c839(_0x198352._0x2985d8,0x5d6)+_0x51c839(_0x198352._0x336c12,_0x198352._0x4eb3e8)+_0x33a364['relayUrl']),console[_0x51c839(_0x198352._0x35bfa3,_0x198352._0x4c47d2)](_0x51c839(_0x198352._0x48e9b6,0x4d4)+_0x51c839(0x59e,0x655)+_0x558505),console[_0x43442a(_0x198352._0x212cbf,_0x198352._0x4ed655)](''),console['log'](_0x43442a(_0x198352._0x267983,0x3b4)+_0x43442a(0x47a,0x302)+_0x43442a(_0x198352._0x2d926f,0x1ab)+_0x51c839(0x5ec,_0x198352._0x362caf)+_0x51c839(_0x198352._0x9741c5,_0x198352._0x26438d)+_0x51c839(_0x198352._0xde96d5,0x672)),console[_0x51c839(0x61a,0x506)]('')):_0x573bc4('Starting'+'\x20Clawket'+_0x43442a(_0x198352._0xad2cc1,_0x198352._0x5abd1f)+_0x43442a(_0x198352._0x369ce5,_0x198352._0x321506)+_0x51c839(_0x198352._0x593f1b,_0x198352._0x1e1f26)+'eway\x20'+_0x33a364[_0x43442a(0x335,_0x198352._0x2da0c3)+'d']);_0x21adff&&writeServiceState();const _0x2a9db3=new BridgeRuntime({'config':_0x33a364,'gatewayUrl':_0x558505,'onLog':_0x3ce5a5=>{function _0x2b8233(_0x8e7509,_0x10da2d){return _0x43442a(_0x10da2d,_0x8e7509-0xca);}function _0x339412(_0x4faf0e,_0x4d97aa){return _0x43442a(_0x4faf0e,_0x4d97aa-0xc0);}_0x35bbef[_0x2b8233(_0x222fa3._0x3adf03,0x3fa)](_0x573bc4,_0x339412(_0x222fa3._0x36b548,_0x222fa3._0x4a717c)+']\x20'+_0x3ce5a5);},'onStatus':_0x579433=>{const _0x2c8c4f={_0x3972af:0x154},_0x2378dc={_0x23174b:0x188};function _0x17fd02(_0x5bd697,_0x2aadc){return _0x43442a(_0x2aadc,_0x5bd697-_0x2378dc._0x23174b);}if(_0x579433[_0x17fd02(_0x1198a3._0x1fee43,_0x1198a3._0x48c229)+'r']){_0x35bbef['AANiD'](_0x573bc4,_0x17fd02(0x532,_0x1198a3._0x33eabb)+_0x17fd02(0x5fe,_0x1198a3._0x50bac5)+(_0x579433['relayCon'+'nected']?'up':_0x17fd02(_0x1198a3._0x4f8bc4,0x400))+(_0x36d66d(_0x1198a3._0x500595,0xd7)+'=')+(_0x579433[_0x17fd02(0x411,_0x1198a3._0x47a62d)+_0x36d66d(-0xe3,0x19)]?'up':_0x17fd02(_0x1198a3._0x4f8bc4,_0x1198a3._0x392d03))+('\x20clients'+'=')+_0x579433[_0x17fd02(_0x1198a3._0x1ac5c4,0x288)+_0x17fd02(_0x1198a3._0x269312,_0x1198a3._0x50c084)]+_0x17fd02(0x458,_0x1198a3._0x154ad4)+_0x579433[_0x17fd02(_0x1198a3._0x9dbdb6,0x680)+'r']);return;}function _0x36d66d(_0x4e6fb1,_0x656069){return _0x43442a(_0x4e6fb1,_0x656069- -_0x2c8c4f._0x3972af);}_0x573bc4(_0x36d66d(0x307,_0x1198a3._0x2413ba)+_0x36d66d(_0x1198a3._0x9c4bef,0x322)+(_0x579433[_0x36d66d(_0x1198a3._0x3807f1,_0x1198a3._0x395909)+_0x36d66d(0x41b,_0x1198a3._0x466180)]?'up':_0x35bbef[_0x36d66d(0x391,0x2e2)])+(_0x17fd02(0x3b3,0x4dd)+'=')+(_0x579433['gatewayC'+_0x17fd02(0x2f5,0x32d)]?'up':_0x36d66d(-0x14a,0x76))+(_0x36d66d(_0x1198a3._0x550fc2,_0x1198a3._0x17d806)+'=')+_0x579433[_0x17fd02(_0x1198a3._0x1ac5c4,_0x1198a3._0x11105a)+'unt']);},'onPendingPairRequest':_0x10c034=>{function _0x1a46e7(_0x3aa9f9,_0x4be892){return _0x43442a(_0x3aa9f9,_0x4be892-_0x55bda8._0x51b684);}function _0x14df43(_0x5e9178,_0x57f761){return _0x43442a(_0x5e9178,_0x57f761-0x357);}_0x573bc4(_0x14df43(0x3e6,_0x57dec4._0x4f0b27)+'quest]\x20r'+'equestId'+'='+_0x10c034[_0x14df43(_0x57dec4._0x4da30f,0x718)+'d']+(_0x1a46e7(0x6b1,0x50e)+'d=')+(_0x10c034['deviceId']||_0x1a46e7(_0x57dec4._0x3e9eae,_0x57dec4._0x1959a4)+'>')+'\x20name='+(_0x10c034[_0x14df43(0x62c,_0x57dec4._0x48227d)+_0x14df43(0x520,_0x57dec4._0x2a4c18)]??_0x35bbef[_0x14df43(_0x57dec4._0x34354b,_0x57dec4._0x2e5816)]));}});_0x2a9db3[_0x43442a(_0x198352._0x2f680c,_0x198352._0x21e7f2)]();const _0x3cc256=async()=>{process[_0x310fa2(-0x102,-0x90)](_0x4afaa9(-0x24,_0x39f073._0x4328bc),_0x3cc256),process[_0x310fa2(0x49,-_0x39f073._0x5f01f0)](_0x310fa2(_0x39f073._0x53a46e,-0x5a),_0x3cc256),await _0x2a9db3['stop']();_0x21adff&&_0x35bbef[_0x310fa2(0x9c,0x18e)](clearServiceState,process[_0x310fa2(-_0x39f073._0x322cb0,0x0)]);function _0x310fa2(_0x44f9e2,_0x985494){return _0x43442a(_0x44f9e2,_0x985494- -0x1f2);}function _0x4afaa9(_0x3108a4,_0x29cb83){return _0x43442a(_0x29cb83,_0x3108a4- -0x461);}process['exit'](0x0);};process['on'](_0x51c839(_0x198352._0x133c56,_0x198352._0x3d8846),_0x3cc256),process['on'](_0x51c839(0x39e,0x4ad),_0x3cc256),await new Promise(()=>{});}printHelp();}function printPairingInfo(_0x4e181e,_0x3926bd){const _0x2f2c63={_0xf7ab2a:0x465,_0x1b4ec8:0x1da,_0x1aa907:0x35,_0x5ea375:0x49,_0x26bd56:0xa6,_0x46f41e:0x1f6,_0x39fd8a:0x410,_0x4435b:0x795,_0x47dc78:0x4e6,_0x5733d3:0x457,_0x5e4bb1:0x14,_0x558d34:0xf2,_0x3cef9b:0x110,_0x34fa0f:0x2f,_0x4b12e2:0x415,_0x3063bc:0x4da,_0x56b4c8:0x2bd,_0x26b15d:0x113,_0x328e02:0xc2,_0x4bcacd:0x1f5,_0x1ae9ab:0x705,_0x21529b:0x66c,_0x5662a1:0x1c,_0x44c3c9:0x569,_0x242e4b:0x438,_0x46454b:0x20c,_0x2cffb3:0x57e,_0x99a298:0x394,_0x13fbb1:0x43,_0x58cd89:0x65,_0x4ca700:0x65b,_0x4bc2e7:0x6ec},_0x2f6583={_0x2bbffb:0xd6},_0x482233={};function _0x45520b(_0x5b6b90,_0x2ad5ab){return _0x5cc096(_0x2ad5ab,_0x5b6b90- -0x4f2);}_0x482233[_0x30f635(0x332,_0x2f2c63._0xf7ab2a)]=function(_0x454d4a,_0x3be194){return _0x454d4a===_0x3be194;},_0x482233[_0x45520b(_0x2f2c63._0x1b4ec8,0x1da)]=_0x45520b(-_0x2f2c63._0x1aa907,0xc2)+'d';function _0x30f635(_0x268569,_0x3548cd){return _0x5cc096(_0x268569,_0x3548cd- -_0x2f6583._0x2bbffb);}const _0x5252e0=_0x482233;_0x5252e0[_0x45520b(_0x2f2c63._0x5ea375,-_0x2f2c63._0x26bd56)](_0x4e181e[_0x30f635(0x57e,0x561)],_0x5252e0[_0x45520b(_0x2f2c63._0x1b4ec8,_0x2f2c63._0x46f41e)])&&console[_0x30f635(_0x2f2c63._0x39fd8a,0x438)](_0x30f635(_0x2f2c63._0x4435b,0x647)+_0x30f635(_0x2f2c63._0x47dc78,_0x2f2c63._0x5733d3)+'aired.\x20R'+_0x45520b(_0x2f2c63._0x5e4bb1,-0x14d)+_0x30f635(0x44a,0x3a3)+'ring\x20cod'+'e.');console[_0x30f635(0x3f5,0x438)](_0x45520b(-0x16,_0x2f2c63._0x558d34)+'ID:\x20'+_0x4e181e[_0x45520b(_0x2f2c63._0x3cef9b,-_0x2f2c63._0x34fa0f)][_0x30f635(0x414,_0x2f2c63._0x4b12e2)+'d']),console[_0x30f635(_0x2f2c63._0x3063bc,0x438)]('Relay\x20UR'+'L:\x20\x20'+_0x4e181e[_0x45520b(0x110,_0x2f2c63._0x56b4c8)]['relayUrl']),console[_0x30f635(0x2ce,0x438)]('Expires:'+_0x45520b(_0x2f2c63._0x26b15d,_0x2f2c63._0x328e02)+_0x4e181e['accessCo'+_0x45520b(0x26a,_0x2f2c63._0x4bcacd)+_0x30f635(_0x2f2c63._0x1ae9ab,_0x2f2c63._0x21529b)]),console[_0x45520b(_0x2f2c63._0x5662a1,0xf2)]('QR\x20image'+':\x20\x20\x20'+_0x3926bd),console[_0x30f635(_0x2f2c63._0x44c3c9,_0x2f2c63._0x242e4b)](_0x45520b(_0x2f2c63._0x46454b,0x162)+'is\x20QR\x20co'+_0x45520b(0x196,0x26a)+_0x30f635(0x4d8,_0x2f2c63._0x2cffb3)+_0x30f635(0x1f0,_0x2f2c63._0x99a298));const _0x460e8a={};_0x460e8a[_0x45520b(-_0x2f2c63._0x13fbb1,_0x2f2c63._0x58cd89)]=!![],_0x1edaed['generate'](_0x4e181e[_0x30f635(_0x2f2c63._0x4ca700,_0x2f2c63._0x4bc2e7)+'d'],_0x460e8a);}function printStatus(){const _0x3eaadb={_0xd843f7:0x225,_0x2b4c56:0x344,_0x4079f7:0x117,_0x1fe6fc:0x179,_0x2333e0:0x17a,_0x39bde7:0x258,_0xcece8b:0xc5,_0x42c95b:0x27c,_0x3c1d35:0x1b1,_0x120a92:0x140,_0x435321:0x29f,_0x3ab093:0x2fb,_0x29142e:0x1c1,_0x4096f:0x239,_0x176a87:0x54,_0x5ce0e1:0x167,_0xd925d0:0x12d,_0x4738fd:0x1b,_0x391435:0x403,_0x3f8fcd:0x36b,_0x418b53:0x201,_0x547cc2:0x342,_0x20613d:0xf4,_0x236f91:0xb2,_0x28a1c2:0xd4,_0x48f5b1:0x9d,_0x3d5807:0x3e8,_0x26c616:0x2b3,_0x1ed4da:0x29b,_0x5234ff:0x1dc,_0xe02eff:0xb2,_0x85c04a:0x1ac,_0x16a8ed:0x1cf,_0x176a2b:0xb0},_0x32fca8={_0x2c6498:0x6b7},_0x5f30a2={'VQqIr':function(_0x2bd210){return _0x2bd210();}},_0x42281c=_0x5f30a2['VQqIr'](readPairingConfig),_0x4ee610=getServiceStatus(),{logPath:_0x3136f1,errorLogPath:_0xb09ce9}=getServicePaths();!_0x42281c?console['log'](_0xf80f9e(_0x3eaadb._0xd843f7,_0x3eaadb._0x2b4c56)+'\x20\x20\x20\x20not\x20'+_0xf80f9e(0x18e,_0x3eaadb._0x4079f7)+getPairingConfigPath()+')'):(console['log'](_0xf80f9e(0x225,0x28e)+_0x1f777e(_0x3eaadb._0x1fe6fc,-0x29)+'ed'),console[_0xf80f9e(0x1ac,0x35)](_0xf80f9e(_0x3eaadb._0x2333e0,0x1f)+'ID:\x20'+_0x42281c['gatewayI'+'d']),console['log'](_0x1f777e(-0xb6,0x86)+_0x1f777e(-0x1ed,-0x17a)+_0x42281c[_0x1f777e(-_0x3eaadb._0x39bde7,-0x1d7)+'Id']),console[_0x1f777e(-_0x3eaadb._0xcece8b,-0x1a9)](_0xf80f9e(_0x3eaadb._0x42c95b,_0x3eaadb._0x3c1d35)+_0xf80f9e(0x290,0x2de)+_0x42281c[_0x1f777e(0xb,-_0x3eaadb._0x120a92)]),console['log'](_0xf80f9e(_0x3eaadb._0x435321,0x33a)+'RL:\x20'+_0x42281c['serverUr'+'l']),console['log']('Name:\x20\x20\x20'+'\x20\x20\x20\x20'+(_0x42281c[_0x1f777e(-_0x3eaadb._0x3ab093,-_0x3eaadb._0x29142e)+_0x1f777e(-0xb9,-0x9c)]??'-')));function _0x1f777e(_0x33b5fc,_0x4e78ac){return _0x5cc096(_0x33b5fc,_0x4e78ac- -_0x32fca8._0x2c6498);}console[_0xf80f9e(0x1ac,0x1b7)](_0x1f777e(-0x364,-_0x3eaadb._0x4096f)+'\x20\x20\x20\x20'+_0x5f30a2[_0x1f777e(-_0x3eaadb._0x176a87,-_0x3eaadb._0x5ce0e1)](resolveGatewayUrl));function _0xf80f9e(_0x342a47,_0x42bccc){return _0x5cc096(_0x42bccc,_0x342a47- -0x362);}console[_0xf80f9e(0x1ac,0x1b5)](_0x1f777e(0x298,_0x3eaadb._0xd925d0)+_0x1f777e(-0x99,-0xb2)+(_0x4ee610[_0x1f777e(-_0x3eaadb._0x4738fd,0xae)+'d']?_0xf80f9e(_0x3eaadb._0x391435,0x2f9)+'d':_0xf80f9e(0x3dd,0x30c)+_0x1f777e(0x129,0x4d))+'\x20('+_0x4ee610[_0x1f777e(-_0x3eaadb._0x3f8fcd,-0x1c4)]+')'),console[_0x1f777e(-_0x3eaadb._0x418b53,-0x1a9)](_0xf80f9e(_0x3eaadb._0x547cc2,0x1f8)+_0x1f777e(_0x3eaadb._0x20613d,-_0x3eaadb._0x236f91)+(_0x4ee610[_0x1f777e(-0xc1,-_0x3eaadb._0x28a1c2)]?'yes':'no')),console[_0x1f777e(-0xa6,-0x1a9)](_0x1f777e(-_0x3eaadb._0x48f5b1,-0x6a)+'\x20\x20\x20\x20'+(_0x4ee610['serviceP'+_0xf80f9e(_0x3eaadb._0x3d5807,_0x3eaadb._0x26c616)]||'-')),console[_0xf80f9e(0x1ac,_0x3eaadb._0x1ed4da)]('Log:\x20\x20\x20\x20'+_0x1f777e(-_0x3eaadb._0x5234ff,-_0x3eaadb._0xe02eff)+_0x3136f1),console[_0xf80f9e(_0x3eaadb._0x85c04a,_0x3eaadb._0x16a8ed)]('Error\x20Lo'+_0x1f777e(_0x3eaadb._0x176a2b,0x125)+_0xb09ce9),!_0x42281c&&(process['exitCode']=0x1);}function printServiceResult(_0x5b4935,_0x5a88c8){const _0x4358c2={_0x113d2c:0x398,_0x531f75:0x36a,_0x45fdc0:0x5b1,_0x4f17cc:0x59a,_0xe7646d:0x72c,_0x4a9363:0x616,_0x12195a:0x372,_0x3a963a:0x343,_0x3684d3:0x628,_0x3e6fa1:0x276,_0x5a05b4:0x3fe};function _0x5f4bcc(_0x172d1c,_0x309239){return _0x5cc096(_0x172d1c,_0x309239- -0x1bc);}function _0x19a900(_0x52ae47,_0x5c8b94){return _0x5cc096(_0x52ae47,_0x5c8b94- -0x1cb);}const _0x31df27={};_0x31df27[_0x19a900(_0x4358c2._0x113d2c,_0x4358c2._0x531f75)]=_0x19a900(_0x4358c2._0x45fdc0,_0x4358c2._0x4f17cc)+_0x5f4bcc(_0x4358c2._0xe7646d,_0x4358c2._0x4a9363)+'ng';const _0x195ad6=_0x31df27;_0x5b4935&&console[_0x19a900(_0x4358c2._0x12195a,_0x4358c2._0x3a963a)](_0x5b4935),console[_0x19a900(0x498,0x343)](_0x5f4bcc(0x570,_0x4358c2._0x3684d3)+'\x20'+(_0x5a88c8['installe'+'d']?_0x5a88c8[_0x19a900(_0x4358c2._0x3e6fa1,0x418)]?_0x195ad6['UjhDr']:'installe'+'d,\x20stopp'+'ed':'not\x20inst'+_0x5f4bcc(0x4ee,0x548))),console['log'](_0x5f4bcc(0x357,0x49a)+'path:\x20\x20\x20'+_0x19a900(0x5ae,0x5b0)+(_0x5a88c8['serviceP'+_0x5f4bcc(_0x4358c2._0x5a05b4,0x58e)]||'-'));}function printDoctorReport(_0x3bb943){const _0x5b224e={_0x373a3b:0xb9,_0x321e9c:0x17c,_0x28f8da:0x13a,_0x264511:0x25a,_0x273834:0x191,_0x1f44bf:0xf0,_0x2d6cad:0xb0,_0x4b839a:0x5dc,_0x10fd67:0x5ef,_0x4ec742:0x19a,_0x1497d0:0xbf,_0x258a65:0x20,_0x5e1656:0xe2,_0x1fba3a:0x575,_0x417d7b:0x65d,_0x11166a:0x308,_0x4b9817:0x3d8,_0x2d008:0x597,_0x3da9a3:0x439,_0x50cd81:0x371,_0x13e3fc:0x90,_0x1c3e7d:0xe2,_0x8f8362:0x537,_0x28c110:0x696,_0x51f795:0x22a,_0x2f71b5:0x28c,_0x3bcb4a:0x34f,_0x56ce5e:0x153,_0x1c4278:0x29e,_0x237ced:0x100,_0x281e68:0x7c,_0x5457bb:0x3b2,_0x37fd85:0x36e,_0x1d9c89:0x55f,_0x1d6c3e:0x539,_0x2315b5:0x4fe,_0x18cbeb:0x361,_0x48e5ee:0x395,_0xda7068:0x450,_0x3d52d0:0x5e9,_0x70541e:0x369,_0x3aebd8:0x1e7,_0x5ad55a:0x127,_0x3dfb9f:0x2e1,_0x309f0e:0x31e,_0x5af91c:0x241,_0x152c77:0xe2,_0x5dec8a:0x174,_0x4cf356:0x29e,_0x2cc5eb:0x284,_0x4a430d:0x188,_0x16c001:0x40b,_0x1c5e92:0x4fd,_0x59a722:0x5a2,_0x2e6a96:0xd1,_0x23747d:0x4bb,_0x12084f:0x3aa,_0x10115c:0x1ca,_0x1c22f1:0x44,_0x53dbec:0x713,_0x5ebe35:0x4c0,_0x33354e:0x416,_0x2a7a55:0x302,_0x40a252:0xb6,_0x2c914b:0x5b0,_0x3c720d:0x4b6,_0x595c37:0x3a9,_0x36b4e9:0x22e,_0x4aea1b:0x243,_0x1d63c0:0x3aa,_0x35e500:0x4ea,_0x3988ab:0x398,_0x18ba21:0x27e,_0x56f0e5:0x405,_0x4ae891:0x33f,_0x467e82:0xb8,_0x386ed5:0x30e,_0x4ac7b8:0x152,_0x57bf9e:0x5b6,_0x2a4bbe:0x204,_0x21814a:0x191},_0x260a6f={_0x5dd7d8:0x206},_0xa784b4={};_0xa784b4[_0x166d0b(0x1b3,_0x5b224e._0x373a3b)]=_0x166d0b(0x1aa,0x22e);const _0x40d019=_0xa784b4;function _0x166d0b(_0x1ebcd8,_0x43b857){return _0x5cc096(_0x1ebcd8,_0x43b857- -0x42c);}console['log'](_0x166d0b(_0x5b224e._0x321e9c,0xf2)+'\x20\x20\x20\x20\x20\x20\x20\x20'+'\x20\x20\x20'+(_0x3bb943[_0x166d0b(_0x5b224e._0x28f8da,_0x5b224e._0x264511)]?_0x166d0b(0x69,_0x5b224e._0x273834):'no')),console[_0x166d0b(0x6d,0xe2)](_0x166d0b(_0x5b224e._0x1f44bf,_0x5b224e._0x2d6cad)+_0xe09ab3(_0x5b224e._0x4b839a,_0x5b224e._0x10fd67)+_0x166d0b(0x38a,0x34f)+(_0x3bb943[_0x166d0b(_0x5b224e._0x4ec742,_0x5b224e._0x1497d0)+'d']??'-')),console[_0x166d0b(-_0x5b224e._0x258a65,_0x5b224e._0x5e1656)](_0x166d0b(0x289,0x1d5)+_0xe09ab3(0x4dd,0x357)+_0xe09ab3(_0x5b224e._0x1fba3a,_0x5b224e._0x417d7b)+(_0x3bb943['serverUr'+'l']??'-')),console[_0xe09ab3(_0x5b224e._0x11166a,0x414)](_0xe09ab3(_0x5b224e._0x4b9817,0x3fa)+_0xe09ab3(_0x5b224e._0x2d008,_0x5b224e._0x3da9a3)+'\x20\x20\x20'+(_0x3bb943[_0xe09ab3(_0x5b224e._0x50cd81,0x4cd)]??'-')),console[_0x166d0b(-_0x5b224e._0x13e3fc,_0x5b224e._0x1c3e7d)](_0xe09ab3(_0x5b224e._0x8f8362,_0x5b224e._0x28c110)+_0x166d0b(_0x5b224e._0x51f795,0x33f)+_0x166d0b(_0x5b224e._0x2f71b5,_0x5b224e._0x3bcb4a)+(_0x3bb943[_0xe09ab3(0x2da,_0x5b224e._0x56ce5e)+'Id']??'-'));function _0xe09ab3(_0xbc0205,_0x93bb66){return _0x5cc096(_0x93bb66,_0xbc0205- -_0x260a6f._0x5dd7d8);}console[_0x166d0b(_0x5b224e._0x1c4278,0xe2)](_0xe09ab3(0x5de,0x778)+'\x20\x20\x20\x20\x20\x20\x20\x20'+'\x20\x20\x20'+(_0x3bb943[_0x166d0b(_0x5b224e._0x237ced,_0x5b224e._0x281e68)+_0xe09ab3(_0x5b224e._0x5457bb,_0x5b224e._0x37fd85)]?_0xe09ab3(_0x5b224e._0x1d9c89,_0x5b224e._0x1d6c3e)+'d':_0xe09ab3(_0x5b224e._0x1d6c3e,0x4cd)+_0xe09ab3(_0x5b224e._0x2315b5,_0x5b224e._0x18cbeb))+'\x20('+_0x3bb943['serviceM'+'ethod']+')'),console[_0xe09ab3(0x308,_0x5b224e._0x48e5ee)](_0xe09ab3(_0x5b224e._0xda7068,_0x5b224e._0x3d52d0)+_0xe09ab3(_0x5b224e._0x70541e,0x4fa)+_0x166d0b(_0x5b224e._0x3aebd8,0x34f)+(_0x3bb943[_0x166d0b(0x80,_0x5b224e._0x5ad55a)+_0xe09ab3(0x53f,0x448)]?_0xe09ab3(0x3b7,0x4cb):'no')),console['log'](_0xe09ab3(_0x5b224e._0xda7068,0x5c2)+_0xe09ab3(0x50c,0x446)+'\x20\x20\x20'+(_0x3bb943[_0x166d0b(0x41b,_0x5b224e._0x3dfb9f)+_0x166d0b(0x2fe,_0x5b224e._0x309f0e)]||'-')),console[_0x166d0b(_0x5b224e._0x5af91c,_0x5b224e._0x152c77)](_0x166d0b(0x306,0x217)+':\x20\x20\x20\x20\x20\x20\x20'+'\x20\x20\x20'+_0x3bb943[_0x166d0b(_0x5b224e._0x5dec8a,0x25d)]),console[_0xe09ab3(_0x5b224e._0x11166a,_0x5b224e._0x4cf356)]('Error\x20lo'+_0x166d0b(_0x5b224e._0x2cc5eb,_0x5b224e._0x4a430d)+_0x166d0b(_0x5b224e._0x16c001,0x34f)+_0x3bb943[_0xe09ab3(_0x5b224e._0x1c5e92,_0x5b224e._0x59a722)+'Path']),console[_0x166d0b(-_0x5b224e._0x2e6a96,0xe2)](_0x166d0b(_0x5b224e._0x23747d,_0x5b224e._0x12084f)+_0x166d0b(0x93,_0x5b224e._0x10115c)+_0xe09ab3(0x575,0x646)+_0x3bb943[_0x166d0b(_0x5b224e._0x1c22f1,0x1f0)+'ConfigDi'+'r']),console['log'](_0xe09ab3(0x5d0,_0x5b224e._0x53dbec)+_0xe09ab3(0x522,_0x5b224e._0x5ebe35)+_0xe09ab3(0x575,0x41c)+_0x3bb943[_0xe09ab3(_0x5b224e._0x33354e,_0x5b224e._0x2a7a55)+'MediaDir']),console[_0xe09ab3(0x308,0x31a)](_0x166d0b(0x55b,0x3aa)+_0x166d0b(0xa6,_0x5b224e._0x40a252)+_0xe09ab3(0x575,0x720)+(_0x3bb943[_0xe09ab3(0x416,_0x5b224e._0x2c914b)+_0xe09ab3(_0x5b224e._0x3c720d,0x60a)+_0xe09ab3(0x28b,_0x5b224e._0x595c37)]?_0x166d0b(0x1e4,_0x5b224e._0x36b4e9):_0x166d0b(-0x74,0x152))),console['log'](_0x166d0b(_0x5b224e._0x4aea1b,_0x5b224e._0x1d63c0)+_0xe09ab3(0x26e,0x428)+_0x166d0b(_0x5b224e._0x35e500,0x34f)+(_0x3bb943[_0xe09ab3(0x416,_0x5b224e._0x3988ab)+_0xe09ab3(0x5d3,0x4f2)+'nd']?_0x40d019['pGihX']:'missing')),console[_0xe09ab3(_0x5b224e._0x11166a,0x34a)]('Gateway\x20'+_0xe09ab3(0x253,0x3f6)+_0x166d0b(_0x5b224e._0x18ba21,_0x5b224e._0x3bcb4a)+_0x3bb943[_0xe09ab3(_0x5b224e._0x56f0e5,_0x5b224e._0x4ae891)+'ewayUrl']),console['log'](_0x166d0b(-_0x5b224e._0x467e82,0xb0)+_0xe09ab3(_0x5b224e._0x386ed5,0x21f)+_0x166d0b(_0x5b224e._0x4ac7b8,0x203)+(_0x3bb943[_0x166d0b(0x24e,0x1df)+_0xe09ab3(_0x5b224e._0x57bf9e,_0x5b224e._0x10fd67)+_0x166d0b(_0x5b224e._0x2a4bbe,0x22d)]?_0x166d0b(0x2f7,_0x5b224e._0x21814a):'no'));}function requirePairingConfig(){const _0x4e3c6d={_0x2d7f31:0x104,_0x4356e3:0x5c,_0x425778:0x15d,_0x480d32:0x3c,_0x2a889e:0x126,_0x3bd191:0x1a0,_0x122ce5:0x2c5,_0x879325:0x13,_0x3b86c4:0x32},_0x444a2c={_0x21a689:0x46f},_0x43ef3c={'HQLFK':function(_0x52fc53){return _0x52fc53();}};function _0x203d62(_0x3801e5,_0x22a793){return _0x5cc096(_0x3801e5,_0x22a793- -_0x444a2c._0x21a689);}function _0x11e65d(_0x261dce,_0x4e1689){return _0x5cc096(_0x261dce,_0x4e1689- -0x425);}const _0x5ab0c3=_0x43ef3c[_0x203d62(0x16a,_0x4e3c6d._0x2d7f31)](readPairingConfig);return!_0x5ab0c3&&(console['error']('Not\x20pair'+_0x203d62(_0x4e3c6d._0x4356e3,_0x4e3c6d._0x425778)+_0x203d62(0x3e1,0x355)+_0x203d62(-_0x4e3c6d._0x480d32,0xbd)+'irst.\x20Co'+_0x11e65d(0x9a,_0x4e3c6d._0x2a889e)+_0x203d62(_0x4e3c6d._0x3bd191,_0x4e3c6d._0x122ce5)+getPairingConfigPath()),process[_0x203d62(-_0x4e3c6d._0x879325,_0x4e3c6d._0x3b86c4)](0x1)),_0x5ab0c3;}function readFlag(_0x16352c,_0x5be0e9){const _0x74f560={_0x49453b:0x100,_0x2b4e21:0x10};function _0x142bca(_0x1e1ef,_0x27c6fc){return _0x5cc096(_0x1e1ef,_0x27c6fc- -0x74b);}const _0xab2416=_0x16352c[_0x2ef330(_0x74f560._0x49453b,_0x74f560._0x2b4e21)](_0x5be0e9);if(_0xab2416<0x0)return null;function _0x2ef330(_0x4acbc4,_0xd2e4e9){return _0x5cc096(_0xd2e4e9,_0x4acbc4- -0x413);}const _0x4ac764=_0x16352c[_0xab2416+0x1];return _0x4ac764?.[_0x142bca(-0x75,-0x1bc)]()?_0x4ac764['trim']():null;}function hasFlag(_0x215320,_0x16d38d){const _0x171728={_0x347cdc:0x123};function _0x15536b(_0x32f841,_0x2f8b64){return _0x6023f8(_0x32f841,_0x2f8b64-_0x171728._0x347cdc);}return _0x215320[_0x15536b(0x1b5,0x211)](_0x16d38d);}function printHelp(){const _0x5f4169={_0x54cb54:0x351,_0x4460b1:0x2b9,_0x93ea8c:0x24e,_0xac3779:0x50c,_0x49eec9:0x3c1,_0x1f0176:0x398,_0x4a0198:0x590,_0x2b02c0:0x6d0,_0x4eebeb:0x354,_0x406545:0x434,_0xb90f62:0x68d,_0x1a50d8:0x190,_0xc88812:0x2c1,_0x7d9c9e:0x354,_0x264d40:0x202,_0x3418d3:0x434,_0x300153:0x421,_0x157cf9:0x1ec,_0x5f2a08:0x1e4,_0x506f03:0x1fa,_0x4e5c8e:0x2cc,_0x11f59e:0x454,_0x394744:0x1cd,_0x45679a:0x465,_0x46df46:0x587,_0x17e5e2:0x6c6,_0x68372:0x1fa,_0x3f95bb:0x329,_0x4f7c28:0x248,_0x98d019:0xd9,_0x4ae58f:0x1e8,_0x257fb0:0x3b6,_0x3dfd6b:0x4a2,_0x414793:0x368},_0x6f1191={_0x3dd6be:0x1d6};function _0x378e38(_0x32493b,_0x4f6d7d){return _0x6023f8(_0x4f6d7d,_0x32493b-_0x6f1191._0x3dd6be);}const _0x2fd431={};_0x2fd431['VObpi']=_0x14e10f(_0x5f4169._0x54cb54,_0x5f4169._0x4460b1)+'install';function _0x14e10f(_0x197eae,_0x2e90ed){return _0x6023f8(_0x2e90ed,_0x197eae-0x32d);}const _0x17b84a=_0x2fd431;console[_0x378e38(_0x5f4169._0x93ea8c,0x153)]([_0x14e10f(0x351,0x2f6)+_0x14e10f(_0x5f4169._0xac3779,_0x5f4169._0x49eec9)+_0x14e10f(_0x5f4169._0x1f0176,0x33b)+_0x378e38(0x4c2,_0x5f4169._0x4a0198)+_0x14e10f(0x588,_0x5f4169._0x2b02c0)+'isplayNa'+'me>]\x20[--'+_0x378e38(_0x5f4169._0x4eebeb,0x3dc)+_0x14e10f(_0x5f4169._0x406545,0x2ad)+_0x14e10f(0x627,_0x5f4169._0xb90f62),_0x14e10f(_0x5f4169._0x54cb54,_0x5f4169._0x1a50d8)+_0x378e38(0x28a,_0x5f4169._0xc88812)+_0x378e38(0x21f,0x34a)+_0x378e38(_0x5f4169._0x7d9c9e,_0x5f4169._0x264d40)+_0x14e10f(_0x5f4169._0x3418d3,0x2f5)+'[--json]',_0x17b84a['VObpi'],_0x14e10f(0x351,_0x5f4169._0x300153)+'restart',_0x378e38(0x1fa,0x2bd)+_0x378e38(_0x5f4169._0x157cf9,0x136),'clawket\x20'+_0x378e38(0x280,_0x5f4169._0x5f2a08)+'l',_0x14e10f(0x351,0x37f)+'reset',_0x378e38(_0x5f4169._0x506f03,0x3ae)+_0x14e10f(0x345,_0x5f4169._0x4e5c8e),_0x14e10f(_0x5f4169._0x54cb54,_0x5f4169._0x11f59e)+'logs\x20[--'+_0x14e10f(0x34f,_0x5f4169._0x394744)+_0x14e10f(0x5ce,_0x5f4169._0x45679a)+_0x14e10f(0x3af,0x440)+'>]\x20[--er'+_0x14e10f(_0x5f4169._0x46df46,_0x5f4169._0x17e5e2)+_0x378e38(0x240,0x191),_0x378e38(_0x5f4169._0x68372,0x2c4)+'doctor\x20['+_0x378e38(0x3a3,_0x5f4169._0x3f95bb),_0x378e38(_0x5f4169._0x68372,0x2e0)+'run\x20[--g'+_0x14e10f(0x5bd,0x476)+_0x378e38(_0x5f4169._0x4f7c28,_0x5f4169._0x98d019)+_0x14e10f(0x33b,_0x5f4169._0x4ae58f)+_0x14e10f(_0x5f4169._0x257fb0,_0x5f4169._0x3dfd6b)+'>]'][_0x378e38(0x515,_0x5f4169._0x414793)]('\x0a'));}function formatError(_0x1aee65){const _0x500faf={_0x2dd43b:0x1c3},_0x305cd2={_0x19eba5:0x39c},_0x175341={_0x180cf7:0x70},_0x11770f={};function _0x18a894(_0x34ebce,_0x4d5edb){return _0x5cc096(_0x4d5edb,_0x34ebce- -_0x175341._0x180cf7);}_0x11770f['NsNOh']=function(_0xcb1cfb,_0x4947e7){return _0xcb1cfb instanceof _0x4947e7;};const _0x7810e7=_0x11770f;function _0x11f336(_0x497b1c,_0x46f724){return _0x5cc096(_0x497b1c,_0x46f724- -_0x305cd2._0x19eba5);}return _0x7810e7[_0x11f336(_0x500faf._0x2dd43b,0x1a7)](_0x1aee65,Error)?_0x1aee65[_0x18a894(0x563,0x404)]:String(_0x1aee65);}function printJson(_0x2d94f2){const _0x3c7f16={_0x4381dd:0x54f,_0x1d42a3:0x7a5};function _0x4430bb(_0x478086,_0xe73050){return _0x5cc096(_0x478086,_0xe73050- -0x231);}function _0x1f9a42(_0x3a76b7,_0x17c961){return _0x5cc096(_0x17c961,_0x3a76b7-0x41);}console[_0x1f9a42(_0x3c7f16._0x4381dd,0x395)](JSON[_0x1f9a42(_0x3c7f16._0x1d42a3,0x96f)+'y'](_0x2d94f2,null,0x2));}main()[_0x6023f8(0x36e,0x25f)](_0x55f7b6=>{const _0x2e31d0={_0x24d89f:0x6ac,_0x3e1b85:0x2cf,_0x164fbf:0x193},_0x3e8950={_0x7b22e7:0x393},_0x214782={_0x1dde95:0x2c4};function _0x56b186(_0x11ad42,_0x185a62){return _0x6023f8(_0x185a62,_0x11ad42-_0x214782._0x1dde95);}function _0x10514b(_0x1b91c4,_0x284840){return _0x6023f8(_0x1b91c4,_0x284840-_0x3e8950._0x7b22e7);}console[_0x10514b(0x561,_0x2e31d0._0x24d89f)](formatError(_0x55f7b6)),process[_0x56b186(_0x2e31d0._0x3e1b85,_0x2e31d0._0x164fbf)](0x1);});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@p697/clawket",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Clawket CLI for pairing and running the Relay bridge runtime",