UNPKG

@oppo-minigame/cli

Version:

Command line interface for rapid OPPO minigame development

1 lines 78.9 kB
function _0x3ba8(_0x296cf0,_0x5ae545){const _0x8c08a=_0x8c08();return _0x3ba8=function(_0x3ba80b,_0xd22b2a){_0x3ba80b=_0x3ba80b-0xcc;let _0xba8704=_0x8c08a[_0x3ba80b];return _0xba8704;},_0x3ba8(_0x296cf0,_0x5ae545);}(function(_0x2bb200,_0x570282){const _0x525ec0=_0x3ba8,_0x4105c2=_0x2bb200();while(!![]){try{const _0x54e72b=-parseInt(_0x525ec0(0xdb))/0x1+-parseInt(_0x525ec0(0x19b))/0x2*(-parseInt(_0x525ec0(0x177))/0x3)+-parseInt(_0x525ec0(0x19a))/0x4*(-parseInt(_0x525ec0(0x211))/0x5)+-parseInt(_0x525ec0(0x14c))/0x6+-parseInt(_0x525ec0(0x1be))/0x7*(-parseInt(_0x525ec0(0x25c))/0x8)+parseInt(_0x525ec0(0x25f))/0x9+parseInt(_0x525ec0(0x17e))/0xa*(-parseInt(_0x525ec0(0x189))/0xb);if(_0x54e72b===_0x570282)break;else _0x4105c2['push'](_0x4105c2['shift']());}catch(_0x21e50b){_0x4105c2['push'](_0x4105c2['shift']());}}}(_0x8c08,0x8f2ca),((()=>{const _0x26e99f=_0x3ba8;var _0x59b135={0x33:_0x59a1e4=>{'use strict';const _0x139bb5=_0x3ba8;_0x59a1e4[_0x139bb5(0x292)]=require(_0x139bb5(0x281));},0x3f:(_0x5f4bb9,_0x29c710,_0x4fffa4)=>{const _0x726bf8=_0x3ba8,_0xe521bf=_0x4fffa4(0x27e),_0x366b69=_0x4fffa4(0x3a0),_0x4c919c=_0x4fffa4(0x359),_0x1d1b73=_0x4fffa4(0x33);let _0x1fc2f4,_0x351822,_0x1e62b9=null;if(_0x1d1b73[_0x726bf8(0x265)]){const _0x540e42=_0x4fffa4(Object((function(){const _0x537609=_0x726bf8;var _0x263719=new Error(_0x537609(0x286));throw _0x263719[_0x537609(0x11c)]=_0x537609(0x268),_0x263719;}())));_0x1fc2f4=new _0x540e42(_0x1d1b73[_0x726bf8(0x196)]),_0x1e62b9={'code':0x0,'message':''};}else{process[_0x726bf8(0x168)]('warning'),process['on']('unhandledRejection',()=>{});const _0x1a0c0e=_0x4fffa4(0x159),_0x3ba6cd={..._0x1d1b73[_0x726bf8(0x196)],'requestListener':{'onRequestEnd'(_0x12bea9,_0x52d707){_0x1e62b9=_0x52d707;}}};_0x1fc2f4=new _0x1a0c0e(_0x3ba6cd);}_0x5f4bb9['exports']={'recordGameName':function(_0x41ce97){const _0x2bb0a4=_0x726bf8;_0x351822&&_0x351822[_0x2bb0a4(0x190)]?_0x351822[_0x2bb0a4(0x155)]=_0x41ce97:console['warn'](_0x2bb0a4(0xe7));},'recordGamePackage':function(_0x4a887e){const _0x24c98c=_0x726bf8;_0x351822&&_0x351822[_0x24c98c(0x190)]?_0x351822[_0x24c98c(0x1af)]=_0x4a887e:console[_0x24c98c(0x1d1)]('还未开始上报微信一键转埋点,记录游戏包名无效');},'reportWXTransferEnd':async function(_0x40701d,_0x38ebaf,_0xb0099e){const _0x1b1dc2=_0x726bf8;if(_0x351822&&_0x351822[_0x1b1dc2(0x190)]){_0x351822[_0x1b1dc2(0xf2)]=_0x40701d,_0x351822['wx_transfer_way']=_0x38ebaf,_0x351822[_0x1b1dc2(0x27f)]=Math['ceil']((Date['now']()-_0x351822[_0x1b1dc2(0x190)])/0x3e8),_0x351822[_0x1b1dc2(0xd5)]=_0xb0099e||_0x1b1dc2(0x1dc);try{_0x1fc2f4['report']({'eventGroup':_0x1b1dc2(0x1a0),'eventId':'30_1000_001','eventInfo':_0x351822},immediate=!0x0);}catch{}await new Promise(_0x1bb7b8=>{!function _0x2d3de8(){_0x1e62b9?_0x1bb7b8():setTimeout(_0x2d3de8,0x64);}();}),_0x351822=null,_0x1e62b9=null;}else console['warn']('还未开始上报微信一键转埋点,结束无效');},'reportWXTransferStart':async function(){const _0x15970c=_0x726bf8;if(_0x351822||(_0x351822={}),_0x351822[_0x15970c(0x190)])return void console[_0x15970c(0x1d1)](_0x15970c(0x230));_0x351822[_0x15970c(0x190)]=Date[_0x15970c(0x1d4)]();const _0x639eaa=await _0xe521bf[_0x15970c(0x28c)](_0x366b69[_0x15970c(0x21e)](__dirname,_0x15970c(0x223)));if(_0x351822['package_version']=_0x639eaa[_0x15970c(0xf1)],'Windows_NT'===_0x4c919c[_0x15970c(0x13c)]()){const {execSync:_0x633915}=_0x4fffa4(0x13d);try{const _0x29e044=_0x633915('whoami\x20/groups',{'encoding':_0x15970c(0x278)})[_0x15970c(0x12d)]()['includes'](_0x15970c(0x248));_0x351822['win_admin']=_0x29e044?0x1:0x0;}catch{_0x351822['win_admin']=-0x1;}}else _0x351822[_0x15970c(0x180)]=-0x1;}};},0x43:_0x549571=>{'use strict';const _0x181c2c=_0x3ba8;_0x549571[_0x181c2c(0x292)]=require(_0x181c2c(0x1db));},0x88:_0x2ddc74=>{'use strict';const _0x16f7d7=_0x3ba8;_0x2ddc74[_0x16f7d7(0x292)]=require(_0x16f7d7(0x231));},0xa1:_0x1f052a=>{'use strict';const _0x29b0f0=_0x3ba8;_0x1f052a[_0x29b0f0(0x292)]=require(_0x29b0f0(0x13f));},0x13d:_0x258005=>{'use strict';const _0x180e8d=_0x3ba8;_0x258005[_0x180e8d(0x292)]=require(_0x180e8d(0x12f));},0x147:_0x3413ea=>{'use strict';const _0x12bb3a=_0x3ba8;_0x3413ea[_0x12bb3a(0x292)]=require(_0x12bb3a(0x287));},0x159:(_0x1851f2,_0x3d032f,_0x4900af)=>{'use strict';const _0x274e5b=_0x3ba8;var _0x44b2e4=_0x4900af(0x2c4),_0x50f300=_0x4900af(0xa1),_0x4e0855=_0x4900af(0x43),_0x1987d4=_0x4900af(0x147),_0x443828=_0x4900af(0x88);function _0x2bddad(_0x229a2e,_0x2174bf,_0x3698dc,_0x33aef6){return new(_0x3698dc||(_0x3698dc=Promise))(function(_0x36616d,_0xa8e339){const _0x4014b7=_0x3ba8;function _0x28dd07(_0x2f19ca){const _0x1f42f6=_0x3ba8;try{_0x54d321(_0x33aef6[_0x1f42f6(0x290)](_0x2f19ca));}catch(_0x11b584){_0xa8e339(_0x11b584);}}function _0x444ccf(_0xc27f59){const _0x2c99fc=_0x3ba8;try{_0x54d321(_0x33aef6[_0x2c99fc(0x161)](_0xc27f59));}catch(_0x5a5b11){_0xa8e339(_0x5a5b11);}}function _0x54d321(_0x3b4d8b){const _0x2ac629=_0x3ba8;var _0xa2b132;_0x3b4d8b[_0x2ac629(0x107)]?_0x36616d(_0x3b4d8b['value']):(_0xa2b132=_0x3b4d8b[_0x2ac629(0x175)],_0xa2b132 instanceof _0x3698dc?_0xa2b132:new _0x3698dc(function(_0x162fe8){_0x162fe8(_0xa2b132);}))[_0x2ac629(0x261)](_0x28dd07,_0x444ccf);}_0x54d321((_0x33aef6=_0x33aef6[_0x4014b7(0x27e)](_0x229a2e,[]))[_0x4014b7(0x290)]());});}_0x274e5b(0x22c)==typeof SuppressedError&&SuppressedError;class _0x18dabc{[_0x274e5b(0x1f9)](){const _0x487783=_0x274e5b;return new Date()[_0x487783(0x260)]();}static[_0x274e5b(0x15f)](){const _0x1480b1=_0x274e5b;return this[_0x1480b1(0x169)]||(this[_0x1480b1(0x169)]=new _0x18dabc()),this[_0x1480b1(0x169)];}static[_0x274e5b(0x1e9)](){const _0x481533=_0x274e5b;return this[_0x481533(0x1d6)][_0x481533(0x100)]();}constructor(_0x565226){const _0x1cd62e=_0x274e5b;this[_0x1cd62e(0x264)]='ObusCoreLogger',this[_0x1cd62e(0x199)]=_0x1cd62e(0x243),_0x1cd62e(0x1eb)==typeof _0x565226&&_0x565226&&(this[_0x1cd62e(0x264)]=_0x565226);}[_0x274e5b(0x25b)](_0x3e62c5){const _0xc102ad=_0x274e5b;[_0xc102ad(0x243),_0xc102ad(0x240),_0xc102ad(0x1d1),_0xc102ad(0x1a6),_0xc102ad(0xe4),_0xc102ad(0x1a1)][_0xc102ad(0x259)](_0x3e62c5)&&(this[_0xc102ad(0x199)]=_0x3e62c5);}[_0x274e5b(0x206)](){const _0xb75173=_0x274e5b;return this[_0xb75173(0x199)];}['error'](..._0x424532){const _0x885748=_0x274e5b;[_0x885748(0x243)]['includes'](this[_0x885748(0x199)])||this['centralize'](_0x885748(0x239),..._0x424532);}[_0x274e5b(0x1d1)](..._0x33ea90){const _0x37b22b=_0x274e5b;['none',_0x37b22b(0x240)][_0x37b22b(0x259)](this[_0x37b22b(0x199)])||this[_0x37b22b(0x18d)](_0x37b22b(0x29b),..._0x33ea90);}['info'](..._0x335a13){const _0x724a9f=_0x274e5b;[_0x724a9f(0x243),_0x724a9f(0x240),'warn'][_0x724a9f(0x259)](this[_0x724a9f(0x199)])||this[_0x724a9f(0x18d)](_0x724a9f(0x18a),..._0x335a13);}['debug'](..._0x1247fc){const _0x10c4ef=_0x274e5b;[_0x10c4ef(0x243),_0x10c4ef(0x240),_0x10c4ef(0x1d1),'info'][_0x10c4ef(0x259)](this[_0x10c4ef(0x199)])||this[_0x10c4ef(0x18d)](_0x10c4ef(0x1bd),..._0x1247fc);}[_0x274e5b(0x1a1)](..._0x43c858){const _0x590bde=_0x274e5b;['none','error','warn',_0x590bde(0x1a6),'debug'][_0x590bde(0x259)](this[_0x590bde(0x199)])||this[_0x590bde(0x18d)]('LOG',..._0x43c858);}[_0x274e5b(0x18d)](_0x1aea77,_0x331017,..._0x38d444){const _0x107b2d=_0x274e5b;try{let _0x15e672=null,_0x50ed70=[];'number'==typeof _0x331017?(_0x15e672=_0x331017,_0x50ed70=[..._0x38d444]):_0x50ed70=[_0x331017,..._0x38d444];const _0x138a8a=this['prefix'],_0x17e983=this['currentDateTime'](),_0xc7208d={'_time':Date[_0x107b2d(0x1d4)](),'time':_0x17e983,'prefix':_0x138a8a,'level':_0x1aea77,'args':_0x50ed70};if(null!==_0x15e672){switch(_0x15e672){case 0x2710:_0x18dabc[_0x107b2d(0x1d6)][_0x107b2d(0xe9)]();break;case 0x2711:_0x18dabc[_0x107b2d(0x1d6)][_0x107b2d(0x299)]();break;case 0x2712:_0x18dabc[_0x107b2d(0x1d6)][_0x107b2d(0x296)]();break;case 0x2713:_0x18dabc[_0x107b2d(0x1d6)][_0x107b2d(0x1d5)]();break;case 0x2714:_0x18dabc[_0x107b2d(0x1d6)][_0x107b2d(0x1aa)]();break;case 0x2715:_0x18dabc[_0x107b2d(0x1d6)]['registerRequestUpload']();}_0x15e672<0x0&&_0x18dabc[_0x107b2d(0x1d6)]['registerError'](_0x15e672);}this[_0x107b2d(0x297)](_0xc7208d);}catch(_0x5778dc){console[_0x107b2d(0x1a1)](_0x5778dc);}}[_0x274e5b(0x297)](_0x5e2af5){const _0x41d97b=_0x274e5b;var _0x531a50;null===(_0x531a50=null===console||void 0x0===console?void 0x0:console[_0x41d97b(0x1a1)])||void 0x0===_0x531a50||_0x531a50[_0x41d97b(0x216)](console,_0x5e2af5['time']+'\x20['+_0x5e2af5['prefix']+_0x41d97b(0x178)+_0x5e2af5['level']+')',..._0x5e2af5[_0x41d97b(0xf5)]);}}_0x18dabc[_0x274e5b(0x1d6)]=new class{[_0x274e5b(0xdd)](){const _0x9ea50e=_0x274e5b,_0x51c2f9=this[_0x9ea50e(0x149)],_0x106f8a=[];for(const [_0x1ba18a,_0x3fbe46]of _0x51c2f9)_0x106f8a[_0x9ea50e(0x23f)]({'i':_0x1ba18a,'n':_0x3fbe46});return _0x106f8a['sort']((_0x5a27f7,_0x1cb7da)=>_0x1cb7da['i']-_0x5a27f7['i'])[_0x9ea50e(0x258)](0x0,0xa);}constructor(){const _0x6372f1=_0x274e5b;this[_0x6372f1(0x1cd)]=0x0,this[_0x6372f1(0x1e5)]=0x0,this[_0x6372f1(0x17b)]=0x0,this[_0x6372f1(0xf7)]=0x0,this[_0x6372f1(0x225)]=0x0,this[_0x6372f1(0x18e)]=0x0,this['requestUploadNum']=0x0,this['errNumMap']=new Map(),this[_0x6372f1(0x1cd)]=Date[_0x6372f1(0x1d4)]();}[_0x274e5b(0xe9)](){this['initNum']+=0x1;}[_0x274e5b(0x299)](){const _0x84496d=_0x274e5b;this[_0x84496d(0x17b)]+=0x1;}[_0x274e5b(0x296)](){const _0x522f13=_0x274e5b;this[_0x522f13(0xf7)]+=0x1;}[_0x274e5b(0x1d5)](){const _0x20d670=_0x274e5b;this[_0x20d670(0x225)]+=0x1;}[_0x274e5b(0x1aa)](){const _0x26cce5=_0x274e5b;this[_0x26cce5(0x18e)]+=0x1;}['registerRequestUpload'](){this['requestUploadNum']+=0x1;}['registerError'](_0x12c14d){const _0x34cf34=_0x274e5b;this[_0x34cf34(0x149)][_0x34cf34(0x1a4)](_0x12c14d)?this['errNumMap'][_0x34cf34(0x25e)](_0x12c14d,this[_0x34cf34(0x149)][_0x34cf34(0x1ba)](_0x12c14d)+0x1):this[_0x34cf34(0x149)][_0x34cf34(0x25e)](_0x12c14d,0x1);}[_0x274e5b(0x100)](){const _0x4d8c65=_0x274e5b;return{'sta':this[_0x4d8c65(0x1cd)],'sto':Date['now'](),'inn':this[_0x4d8c65(0x1e5)],'trn':this[_0x4d8c65(0x17b)],'rpn':this[_0x4d8c65(0xf7)],'een':this[_0x4d8c65(0x225)],'ren':this['requestEnqueueNum'],'rln':this[_0x4d8c65(0x18b)],'err':this[_0x4d8c65(0xdd)]()};}}();class _0x5b591c{constructor(_0x4fc3d7,_0xbd57b3,_0x359602,_0x93094c,_0xdcdc1e){const _0x4c3d61=_0x274e5b;this[_0x4c3d61(0x2a0)]=_0x4fc3d7,this[_0x4c3d61(0x146)]=_0xbd57b3,this['cloudConfig']=_0x359602,this['timeThreshold']=_0x93094c,this['quantityThreshold']=_0xdcdc1e,this[_0x4c3d61(0x1c6)]=!0x1,this[_0x4c3d61(0x165)]=!0x1,this['callbackTimer']=null,_0x18dabc[_0x4c3d61(0x15f)]()[_0x4c3d61(0x1a6)](_0x4c3d61(0x124)),this['callback']=this[_0x4c3d61(0x1c0)][_0x4c3d61(0x217)](this),this['cloudConfig'][_0x4c3d61(0x192)]=()=>{const _0x23676a=_0x4c3d61;_0x18dabc[_0x23676a(0x15f)]()[_0x23676a(0x1a1)]('EventHandler:\x20state\x20changes\x20to\x20ready'),this[_0x23676a(0x1c6)]?(this[_0x23676a(0xd7)](),this[_0x23676a(0x1c6)]=!0x1):this[_0x23676a(0x1d7)]();},this[_0x4c3d61(0x1b6)][_0x4c3d61(0x150)]=()=>{const _0x40216e=_0x4c3d61;_0x18dabc[_0x40216e(0x15f)]()['log'](_0x40216e(0x1d9));},this[_0x4c3d61(0x1b6)][_0x4c3d61(0x119)]=()=>{const _0x5cabb4=_0x4c3d61;this[_0x5cabb4(0x165)]=!0x0;};}[_0x274e5b(0xd7)](){const _0x4291af=_0x274e5b;if(this[_0x4291af(0x1b6)]['isReady']()){this[_0x4291af(0x22d)]();const _0xe76f58=this[_0x4291af(0x2a0)][_0x4291af(0x280)]()['filter'](_0x19891a=>{const _0x2589d4=_0x4291af,_0x266f39=this[_0x2589d4(0x1b6)][_0x2589d4(0x1f8)](_0x19891a['payload']);return _0x266f39||_0x18dabc['getInstance']()[_0x2589d4(0x1d1)]('EventHandler#flush:\x20cloud\x20config\x20validation\x20failed',_0x19891a[_0x2589d4(0x226)]),this[_0x2589d4(0x1b6)][_0x2589d4(0x277)](_0x19891a[_0x2589d4(0x226)][_0x2589d4(0x267)],_0x19891a['payload'][_0x2589d4(0x232)]),_0x266f39;});this[_0x4291af(0x146)]['consume'](_0xe76f58),_0x18dabc[_0x4291af(0x15f)]()[_0x4291af(0x1a1)](_0x4291af(0xce));}else this[_0x4291af(0x1b6)][_0x4291af(0x295)]()?_0x18dabc[_0x4291af(0x15f)]()[_0x4291af(0x1a1)](_0x4291af(0x242)):(_0x18dabc[_0x4291af(0x15f)]()[_0x4291af(0x1a1)](_0x4291af(0xd1)),this[_0x4291af(0x1c6)]=!0x0);}[_0x274e5b(0x1c0)](){const _0x5cff87=_0x274e5b;_0x18dabc[_0x5cff87(0x15f)]()[_0x5cff87(0x1a1)]('EventHandler#callback:\x20time\x20to\x20flush'),this[_0x5cff87(0x128)]=null,this[_0x5cff87(0xd7)]();}[_0x274e5b(0x22d)](){const _0x1e2979=_0x274e5b;this[_0x1e2979(0x128)]&&(clearInterval(this[_0x1e2979(0x128)]),this['callbackTimer']=null);}[_0x274e5b(0xec)](){const _0xc96c10=_0x274e5b;this['callbackTimer']||(this['callbackTimer']=setTimeout(this[_0xc96c10(0x1c0)],this['timeThreshold']));}['tryConsume'](){const _0x4b7fc0=_0x274e5b,_0x47c704=this['eventQueue'][_0x4b7fc0(0x214)]();_0x47c704>=this[_0x4b7fc0(0xef)]?(_0x18dabc[_0x4b7fc0(0x15f)]()['log'](_0x4b7fc0(0x1f4)),this[_0x4b7fc0(0xd7)]()):_0x47c704>0x0&&this[_0x4b7fc0(0xec)]();}[_0x274e5b(0x139)](_0x354605){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x48f343=_0x3ba8;_0x18dabc['getInstance']()[_0x48f343(0x1a1)](0x2713,_0x48f343(0x273),_0x354605),this[_0x48f343(0x165)]?_0x18dabc[_0x48f343(0x15f)]()[_0x48f343(0x1d1)]('EventHandler#add:\x20event\x20not\x20report\x20due\x20to\x20config\x20error',_0x354605):(this[_0x48f343(0x2a0)][_0x48f343(0x20a)]({'payload':_0x354605,'priority':'normal'})||_0x18dabc[_0x48f343(0x15f)]()[_0x48f343(0x240)](-0x7531,_0x48f343(0x11a),_0x354605),yield!0x1,this[_0x48f343(0x1d7)]());});}[_0x274e5b(0x116)](_0x344f6a){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x2aa308=_0x3ba8;_0x18dabc[_0x2aa308(0x15f)]()['log'](0x2713,_0x2aa308(0x255),_0x344f6a),this['refuseAll']?_0x18dabc[_0x2aa308(0x15f)]()[_0x2aa308(0x1d1)](_0x2aa308(0xf8),_0x344f6a):(this['eventQueue'][_0x2aa308(0x20a)]({'payload':_0x344f6a,'priority':'high'})||_0x18dabc[_0x2aa308(0x15f)]()['error'](-0x7532,_0x2aa308(0x11a),_0x344f6a),yield!0x1,this[_0x2aa308(0xd7)]());});}[_0x274e5b(0x17a)](_0x3a8690){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x1828bc=_0x3ba8;_0x18dabc['getInstance']()[_0x1828bc(0x1a1)](0x2713,_0x1828bc(0xfb),_0x3a8690),this[_0x1828bc(0x165)]?_0x18dabc[_0x1828bc(0x15f)]()[_0x1828bc(0x1d1)](_0x1828bc(0x271),_0x3a8690):(this[_0x1828bc(0x2a0)][_0x1828bc(0x20a)]({'payload':_0x3a8690,'priority':_0x1828bc(0x195)})||_0x18dabc[_0x1828bc(0x15f)]()[_0x1828bc(0x240)](-0x7533,'EventHandler#add:\x20queue\x20overflow',_0x3a8690),yield!0x1,this[_0x1828bc(0x1d7)]());});}}class _0x172b1d{[_0x274e5b(0x1b2)](_0x7334be){const _0x3b05fb=_0x274e5b;let _0x2b43bb=null,_0x521fe1=null,_0x13528e=null;for(let _0x49abd3=0x0;_0x49abd3<_0x7334be['length'];_0x49abd3++){const _0x921721=_0x7334be[_0x49abd3];_0x3b05fb(0x131)===_0x921721?_0x2b43bb=_0x3b05fb(0x131):_0x3b05fb(0x122)===_0x921721?_0x521fe1=_0x3b05fb(0x122):_0x3b05fb(0x195)===_0x921721&&(_0x13528e='low');}return _0x2b43bb||_0x521fe1||_0x13528e||_0x3b05fb(0x122);}['divideToBatches'](_0x3d6f01){const _0x109a59=_0x274e5b,_0x20b038=[];for(let _0x4d81fe=0x0;_0x4d81fe<_0x3d6f01[_0x109a59(0x126)];_0x4d81fe+=this[_0x109a59(0x28e)])_0x20b038[_0x109a59(0x23f)](_0x3d6f01[_0x109a59(0x258)](_0x4d81fe,_0x4d81fe+this[_0x109a59(0x28e)]));return _0x20b038;}[_0x274e5b(0xd7)](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x53fe03=_0x3ba8;if(_0x18dabc[_0x53fe03(0x15f)]()[_0x53fe03(0x1a6)](_0x53fe03(0x250)),this[_0x53fe03(0x27d)][_0x53fe03(0x126)]){const _0x4a14a1=this[_0x53fe03(0x27d)];this[_0x53fe03(0x27d)]=[];const _0x3a4695=this[_0x53fe03(0x1b2)](_0x4a14a1['map'](_0x3aad68=>_0x3aad68[_0x53fe03(0x112)])),_0x355feb=this[_0x53fe03(0x187)](_0x4a14a1);_0x18dabc[_0x53fe03(0x15f)]()[_0x53fe03(0x1a6)](_0x53fe03(0x10e),_0x355feb);const _0x519cbd=[];for(let _0x2f6e47=0x0;_0x2f6e47<_0x355feb[_0x53fe03(0x126)];_0x2f6e47++){const _0x4db7ac=_0x355feb[_0x2f6e47],_0x9da439=yield this[_0x53fe03(0x167)](_0x4db7ac['map'](_0x74d728=>_0x74d728[_0x53fe03(0x226)]))[_0x53fe03(0x179)](_0x36388a=>(_0x18dabc['getInstance']()[_0x53fe03(0x240)](-0x9c41,_0x53fe03(0x197),_0x36388a,_0x4db7ac),null));_0x9da439&&_0x519cbd[_0x53fe03(0x23f)](_0x9da439);}_0x18dabc[_0x53fe03(0x15f)]()['info']('EventQueueConsumer#flush:\x20packing',_0x355feb),_0x519cbd[_0x53fe03(0x181)](_0x270f29=>{const _0x4b2f32=_0x53fe03;this[_0x4b2f32(0x284)][_0x4b2f32(0x139)](_0x270f29,_0x3a4695);});}});}['process'](_0x2d733f){const _0x4d68c0=_0x274e5b;this[_0x4d68c0(0x27d)][_0x4d68c0(0x23f)](_0x2d733f),this[_0x4d68c0(0x27d)]['length']>=this['maxBatch']&&this[_0x4d68c0(0xd7)]();}constructor(_0x1c7496,_0x2b77d3,_0x5b5c57=0xa){const _0x10b9f3=_0x274e5b;this[_0x10b9f3(0x284)]=_0x1c7496,this[_0x10b9f3(0x167)]=_0x2b77d3,this[_0x10b9f3(0x28e)]=_0x5b5c57,this[_0x10b9f3(0x27d)]=[],_0x18dabc[_0x10b9f3(0x15f)]()[_0x10b9f3(0x1a6)](_0x10b9f3(0x10a));}[_0x274e5b(0x142)](_0x29a47f){const _0x266860=_0x274e5b;_0x18dabc[_0x266860(0x15f)]()[_0x266860(0x1a1)](_0x266860(0x247));for(let _0x175e7f=0x0;_0x175e7f<_0x29a47f[_0x266860(0x126)];_0x175e7f++)this[_0x266860(0x1c7)](_0x29a47f[_0x175e7f]);this['flush']();}}class _0xff9a4e{constructor(_0x4c0ca7){const _0x183660=_0x274e5b;this[_0x183660(0x253)]=0x1/0x0,'number'==typeof _0x4c0ca7&&_0x4c0ca7>=0x1?this[_0x183660(0x253)]=_0x4c0ca7:void 0x0!==_0x4c0ca7&&_0x18dabc[_0x183660(0x15f)]()[_0x183660(0x1d1)]('Queue#constructor:\x20max\x20must\x20be\x20a\x20number\x20in\x20[1,\x20Infinity]\x20',_0x4c0ca7),this[_0x183660(0x1ec)]=[];}[_0x274e5b(0x20a)](_0x3fc935){const _0x2d559f=_0x274e5b;return null===_0x3fc935?(_0x18dabc[_0x2d559f(0x15f)]()['warn'](_0x2d559f(0x245)),!0x1):this[_0x2d559f(0x214)]()>=this[_0x2d559f(0x253)]?(_0x18dabc['getInstance']()[_0x2d559f(0x1d1)](_0x2d559f(0x140)),!0x1):(this[_0x2d559f(0x1ec)][_0x2d559f(0x23f)](_0x3fc935),!0x0);}[_0x274e5b(0x1f7)](){return this['list']['shift']()||null;}['dequeueAll'](){const _0x4e8ff8=_0x274e5b,_0x2c34c5=[];let _0x2cdae1=null;for(;_0x2cdae1=this[_0x4e8ff8(0x1f7)](),null!==_0x2cdae1;)_0x2c34c5[_0x4e8ff8(0x23f)](_0x2cdae1);return _0x2c34c5;}[_0x274e5b(0x214)](){const _0x24094d=_0x274e5b;return this['list'][_0x24094d(0x126)];}}class _0x207f2a extends _0xff9a4e{constructor(){const _0x44bc06=_0x274e5b;super(...arguments),this[_0x44bc06(0x11f)]={'normal':new _0xff9a4e(),'high':new _0xff9a4e(),'low':new _0xff9a4e()};}[_0x274e5b(0x20a)](_0xc717ea,_0x3f87b6=_0x274e5b(0x122)){const _0x1db4ae=_0x274e5b;var _0x311083;return null===_0xc717ea?(_0x18dabc[_0x1db4ae(0x15f)]()['warn'](_0x1db4ae(0x245)),!0x1):this[_0x1db4ae(0x214)]()>=this[_0x1db4ae(0x253)]?(_0x18dabc[_0x1db4ae(0x15f)]()['warn'](_0x1db4ae(0x140)),!0x1):(null===(_0x311083=this[_0x1db4ae(0x11f)][_0x3f87b6])||void 0x0===_0x311083?void 0x0:_0x311083[_0x1db4ae(0x20a)](_0xc717ea))||!0x1;}[_0x274e5b(0x1f7)](){const _0x3e829c=_0x274e5b;return this[_0x3e829c(0x11f)][_0x3e829c(0x131)]['dequeue']()||this['queues'][_0x3e829c(0x122)][_0x3e829c(0x1f7)]()||this[_0x3e829c(0x11f)][_0x3e829c(0x195)][_0x3e829c(0x1f7)]();}[_0x274e5b(0x214)](){const _0x116c3e=_0x274e5b;return this[_0x116c3e(0x11f)][_0x116c3e(0x131)][_0x116c3e(0x214)]()+this[_0x116c3e(0x11f)]['normal'][_0x116c3e(0x214)]()+this[_0x116c3e(0x11f)][_0x116c3e(0x195)]['size']();}}class _0x302a35{constructor(_0x52a83a,_0x2099cf){const _0x29bab6=_0x274e5b;this[_0x29bab6(0x29f)]=_0x52a83a,this[_0x29bab6(0x25a)]=_0x2099cf,_0x18dabc[_0x29bab6(0x15f)]()[_0x29bab6(0x1a6)](_0x29bab6(0x218));}[_0x274e5b(0x139)](_0x2e9e1f,_0x2232e6=_0x274e5b(0x122)){const _0x8cb07a=_0x274e5b;_0x18dabc['getInstance']()['info'](0x2714,_0x8cb07a(0x26b),{'requestData':_0x2e9e1f,'priorityLevel':_0x2232e6}),this[_0x8cb07a(0x29f)]['enqueue'](_0x2e9e1f,_0x2232e6),this['queueLiveConsumer'][_0x8cb07a(0x29d)]();}}const _0x23484a=_0x274e5b(0x18f),_0x231437=/^(?:[A-Z\d+/]{4})*?(?:[A-Z\d+/]{2}(?:==)?|[A-Z\d+/]{3}=?)?$/i;function _0x199e78(_0x5c49f1){const _0x4b55cd=_0x274e5b;var _0x3f2d84;try{return JSON[_0x4b55cd(0x1fb)](_0x5c49f1);}catch(_0xc9ddda){return null===(_0x3f2d84=null===console||void 0x0===console?void 0x0:console[_0x4b55cd(0x1a1)])||void 0x0===_0x3f2d84||_0x3f2d84[_0x4b55cd(0x216)](console,_0xc9ddda),'';}}function _0x2fcd09(_0x27dd86){const _0x4ffdec=_0x274e5b;var _0x1bad50;if('string'!=typeof _0x27dd86)return null;try{return JSON[_0x4ffdec(0xeb)](_0x27dd86);}catch(_0xf10317){return null===(_0x1bad50=null===console||void 0x0===console?void 0x0:console[_0x4ffdec(0x1a1)])||void 0x0===_0x1bad50||_0x1bad50['call'](console,_0xf10317),null;}}function _0x4e751b(_0x2cfc0b){const _0x903cf8=function(_0x1da335){const _0x50756a=_0x3ba8;let _0x489181;return _0x489181=_0x50756a(0x1ff)==typeof _0x1da335?_0x199e78(_0x1da335):_0x1da335,function(_0x312838){const _0x1f8a4c=_0x50756a;var _0x492ae4;let _0x26d10c,_0x27873a,_0x26c135,_0x26b449,_0x9df236='',_0x833ad1=0x0;const _0x508e62=(_0x312838=String(_0x312838))[_0x1f8a4c(0x126)]%0x3;for(;_0x833ad1<_0x312838[_0x1f8a4c(0x126)];)((_0x27873a=_0x312838[_0x1f8a4c(0x21f)](_0x833ad1++))>0xff||(_0x26c135=_0x312838['charCodeAt'](_0x833ad1++))>0xff||(_0x26b449=_0x312838[_0x1f8a4c(0x21f)](_0x833ad1++))>0xff)&&(null===(_0x492ae4=null===console||void 0x0===console?void 0x0:console[_0x1f8a4c(0x1a1)])||void 0x0===_0x492ae4||_0x492ae4[_0x1f8a4c(0x216)](console,_0x1f8a4c(0x145))),_0x26d10c=_0x27873a<<0x10|_0x26c135<<0x8|_0x26b449,_0x9df236+=_0x23484a['charAt'](_0x26d10c>>0x12&0x3f)+_0x23484a['charAt'](_0x26d10c>>0xc&0x3f)+_0x23484a[_0x1f8a4c(0x27a)](_0x26d10c>>0x6&0x3f)+_0x23484a[_0x1f8a4c(0x27a)](0x3f&_0x26d10c);return _0x508e62?_0x9df236['slice'](0x0,_0x508e62-0x3)+'==='[_0x1f8a4c(0x1ae)](_0x508e62):_0x9df236;}(encodeURIComponent(_0x489181)['replace'](/%([0-9A-F]{2})/g,(_0xe120f1,_0x1fd564)=>String[_0x50756a(0x29e)](Number('0x'+_0x1fd564))));}(_0x199e78(_0x2cfc0b));return{'data':_0x903cf8,'crc':function(_0x46e9ca){let _0x2013f6=0x0,_0xee1f2c=null;if(0x0===_0x46e9ca['length'])return _0x2013f6;for(let _0x4163d2=0x0;_0x4163d2<_0x46e9ca['length'];_0x4163d2++)_0xee1f2c=_0x46e9ca['charCodeAt'](_0x4163d2),_0x2013f6=(_0x2013f6<<0x5)-_0x2013f6+_0xee1f2c,_0x2013f6&=_0x2013f6;return _0x2013f6;}(_0x903cf8)};}function _0x2fbd0c(){const _0x13cac9=_0x274e5b;let _0xc16abe=new Date()[_0x13cac9(0x270)](),_0x39af0e=_0x13cac9(0x244)!=typeof performance&&performance[_0x13cac9(0x1d4)]&&0x3e8*performance[_0x13cac9(0x1d4)]()||0x0;return _0x13cac9(0x156)['replace'](/[xy]/g,_0x23c47b=>{const _0x18bc27=_0x13cac9;let _0x55d3af=0x10*Math[_0x18bc27(0x2a1)]();return _0xc16abe>0x0?(_0x55d3af=(_0xc16abe+_0x55d3af)%0x10|0x0,_0xc16abe=Math[_0x18bc27(0x28b)](_0xc16abe/0x10)):(_0x55d3af=(_0x39af0e+_0x55d3af)%0x10|0x0,_0x39af0e=Math['floor'](_0x39af0e/0x10)),('x'===_0x23c47b?_0x55d3af:0x3&_0x55d3af|0x8)[_0x18bc27(0x21a)](0x10);});}function _0x53ea4e(_0x38c10a){return'string'==typeof _0x38c10a&&!!_0x38c10a;}function _0x338dee(_0x502f86){const _0x17e72e=_0x274e5b;return _0x17e72e(0x17f)==typeof _0x502f86&&Number[_0x17e72e(0x202)](_0x502f86)&&_0x502f86>0x0;}function _0x4a32b5(_0x423e83){const _0x1f1785=_0x274e5b;return _0x543d94=>'number'==typeof _0x543d94&&Number[_0x1f1785(0x202)](_0x543d94)&&_0x543d94>=_0x423e83;}function _0x1c81f9(_0xe805fe,_0x449e00,_0x3d62b7){const _0x5a80f0=_0x274e5b;if(!_0x449e00(_0xe805fe)){const _0x37fa98=(null==_0x449e00?void 0x0:_0x449e00[_0x5a80f0(0xdc)])||_0x5a80f0(0x262),_0x40d7ac=JSON[_0x5a80f0(0x1fb)](_0xe805fe);throw new Error((_0x3d62b7||_0x5a80f0(0x22b))+_0x5a80f0(0x11d)+_0x40d7ac+_0x5a80f0(0x276)+_0x37fa98);}}class _0x297a41{constructor(_0x2e9bfe,_0x427317,_0x1eab0d=''){const _0x295b23=_0x274e5b;this[_0x295b23(0x12c)]=_0x2e9bfe,this['sessionIntervalTime']=_0x427317,this[_0x295b23(0x19c)]=_0x1eab0d,this[_0x295b23(0x117)]=Date[_0x295b23(0x1d4)](),this[_0x295b23(0x20b)]=Date[_0x295b23(0x1d4)](),this['id']=_0x2fbd0c();}[_0x274e5b(0x1df)](){const _0x21bfa2=_0x274e5b;this['id']=_0x2fbd0c();const _0x28b3d0=Date['now']();this[_0x21bfa2(0x117)]=_0x28b3d0,this[_0x21bfa2(0x20b)]=_0x28b3d0;}[_0x274e5b(0xd3)](){const _0x31ce31=_0x274e5b,_0x2e8d10=Date[_0x31ce31(0x1d4)]();_0x2e8d10-this['createdAt']>this[_0x31ce31(0x12c)]||_0x2e8d10-this[_0x31ce31(0x20b)]>this[_0x31ce31(0x1a2)]?this['reset']():this[_0x31ce31(0x20b)]=_0x2e8d10;}[_0x274e5b(0x136)](){return this['refresh'](),this['id'];}}function _0x32db81(_0x2bff1b,_0x40b2cd,_0x11155e,_0x3f2f78,_0xe29113){const _0x5bc888=_0x274e5b;_0x40b2cd=void 0x0!==_0x40b2cd?Number[_0x5bc888(0xd0)](+_0x40b2cd)?0x6:_0x40b2cd:0x6;const _0x586e05=new WeakMap();return JSON['stringify'](function _0x2bb0f8(_0x3f7bdd,_0x485db5,_0x5c27ba,_0x139c34,_0x129029){const _0x291b3a=_0x5bc888;return _0x3f7bdd&&_0x291b3a(0x1ff)==typeof _0x3f7bdd?(_0x129029=_0x586e05[_0x291b3a(0x1a4)](_0x3f7bdd),_0x586e05[_0x291b3a(0x25e)](_0x3f7bdd,!0x0),_0x139c34=Array[_0x291b3a(0xfc)](_0x3f7bdd),_0x129029?_0x5c27ba=null:JSON['stringify'](_0x3f7bdd,(_0x149101,_0x389f5d)=>{if(_0x139c34||_0x485db5>0x0){if(!_0x149101)return _0x139c34=Array['isArray'](_0x389f5d),_0x3f7bdd=_0x389f5d;!_0x5c27ba&&(_0x5c27ba=_0x139c34?[]:{}),_0x5c27ba[_0x149101]=_0x2bb0f8(_0x389f5d,_0x139c34?_0x485db5:_0x485db5-0x1);}}),void 0x0===_0x5c27ba?_0x139c34?[]:{}:_0x5c27ba):_0x3f7bdd;}(_0x2bff1b,_0x40b2cd),null,_0x3f2f78);}class _0x36ac92{constructor(_0x561e59,_0x1463a9,_0x5cb3ba,_0x62cf0e,_0x2a7ef6,_0x564332=!0x1,_0x1ac930=null,_0x4063f8=0x3,_0x4387cb=null,_0x221229=0x3){const _0x9c237e=_0x274e5b;this['priorityQueue']=_0x561e59,this[_0x9c237e(0x10d)]=_0x1463a9,this[_0x9c237e(0xd2)]=_0x5cb3ba,this[_0x9c237e(0x1da)]=_0x62cf0e,this[_0x9c237e(0xda)]=_0x2a7ef6,this[_0x9c237e(0x1ea)]=_0x564332,this['balanceInterval']=_0x1ac930,this[_0x9c237e(0x1b4)]=_0x4063f8,this[_0x9c237e(0x1e8)]=_0x4387cb,this[_0x9c237e(0x127)]=_0x221229,this[_0x9c237e(0x1bb)]=!0x1,this[_0x9c237e(0x293)]=0x0,this['p']=Promise['resolve'](),this[_0x9c237e(0x188)]=new Map(),this[_0x9c237e(0x28a)]=0x0,_0x18dabc[_0x9c237e(0x15f)]()['info'](_0x9c237e(0x174));}['loadTask'](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x64fff2=_0x3ba8;var _0x35a6a5;if(!this[_0x64fff2(0x1bb)])return void _0x18dabc[_0x64fff2(0x15f)]()[_0x64fff2(0x1d1)](_0x64fff2(0x209));if(this[_0x64fff2(0x293)]>=this['maxConcurrent'])return void _0x18dabc['getInstance']()[_0x64fff2(0x1d1)]('iRequestQueueLiveConsumer#loadTask:\x20concurrency\x20is\x20fully\x20loaded,\x20cancel\x20sending');const _0xcf9bcc=this[_0x64fff2(0x14a)][_0x64fff2(0x1f7)]();if(null===_0xcf9bcc)return _0x18dabc[_0x64fff2(0x15f)]()['info']('iRequestQueueLiveConsumer#loadTask:\x20queue\x20cleared'),void(this[_0x64fff2(0x1bb)]=!0x1);_0x18dabc[_0x64fff2(0x15f)]()[_0x64fff2(0x1a1)]('iRequestQueueLiveConsumer#loadTask:\x20request\x20sent',(null===(_0x35a6a5=null==_0xcf9bcc?void 0x0:_0xcf9bcc['source'])||void 0x0===_0x35a6a5?void 0x0:_0x35a6a5[_0x64fff2(0x234)])||''),this[_0x64fff2(0x121)](_0xcf9bcc),this[_0x64fff2(0xe5)]();});}['concurrentIncrement'](){const _0x4a17eb=_0x274e5b;this[_0x4a17eb(0x293)]=this[_0x4a17eb(0x293)]+0x1;}[_0x274e5b(0x23e)](){const _0x4b700b=_0x274e5b;this[_0x4b700b(0x293)]=Math[_0x4b700b(0x253)](0x0,this[_0x4b700b(0x293)]-0x1);}[_0x274e5b(0x101)](_0x5eb5a4){const _0x4e0259=_0x274e5b;switch((null==_0x5eb5a4?void 0x0:_0x5eb5a4[_0x4e0259(0x11c)])||0x3e7){case 0xc8:case 0x1ba:case 0x1b3:case 0x3e7:return!0x1;default:return!0x0;}}['handleRequestError'](_0x397189,_0x48bede){const _0x5bd661=_0x274e5b,{source:_0x2fcfd4}=_0x397189;if(this[_0x5bd661(0x101)](_0x48bede)&&(null==_0x2fcfd4?void 0x0:_0x2fcfd4[_0x5bd661(0x234)])){const _0x2b14c6=this['retryRequestMap'][_0x5bd661(0x1ba)](_0x2fcfd4[_0x5bd661(0x234)])||0x0;_0x2b14c6<this['maxRetryCount']?(this[_0x5bd661(0x188)]['set'](_0x2fcfd4[_0x5bd661(0x234)],_0x2b14c6+0x1),_0x18dabc[_0x5bd661(0x15f)]()['info'](_0x5bd661(0x20e)+(_0x2b14c6+0x1)+_0x5bd661(0x1ef),_0x397189),this[_0x5bd661(0x14a)][_0x5bd661(0x20a)](_0x397189,_0x5bd661(0x195)),this[_0x5bd661(0x29d)]()):_0x18dabc[_0x5bd661(0x15f)]()[_0x5bd661(0x1a6)]('iRequestQueueLiveConsumer#handleRequestError:\x20reaching\x20max\x20request\x20threshold',_0x397189);}}[_0x274e5b(0x1cc)](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x28bedb=_0x3ba8;_0x18dabc[_0x28bedb(0x15f)]()[_0x28bedb(0x1a1)](_0x28bedb(0x10c));const _0x20bb93=yield this[_0x28bedb(0xda)]();_0x18dabc['getInstance']()['log']('iRequestQueueLiveConsumer#balanceTask\x20dumpBalance\x20=\x20',_0x20bb93),_0x20bb93&&(_0x18dabc[_0x28bedb(0x15f)]()['log'](_0x28bedb(0x19e)),this[_0x28bedb(0x14a)][_0x28bedb(0x20a)](_0x20bb93,_0x28bedb(0x195)),this[_0x28bedb(0x29d)]());});}[_0x274e5b(0x173)](){const _0xa1fb2e=_0x274e5b;this[_0xa1fb2e(0x1ea)]?this[_0xa1fb2e(0xf3)]?(this[_0xa1fb2e(0x28a)]&&(_0x18dabc[_0xa1fb2e(0x15f)]()[_0xa1fb2e(0x1a1)]('iRequestQueueLiveConsumer#checkBalance:\x20cancel\x20balance\x20task'),clearTimeout(this['balanceTaskTimer'])),_0x18dabc[_0xa1fb2e(0x15f)]()[_0xa1fb2e(0x1a1)](_0xa1fb2e(0x1d0),this['balanceInterval']),this['balanceTaskTimer']=setTimeout(()=>{const _0x47a66c=_0xa1fb2e;this[_0x47a66c(0x28a)]=0x0,this[_0x47a66c(0x1cc)]();},this['balanceInterval'])):_0x18dabc[_0xa1fb2e(0x15f)]()[_0xa1fb2e(0x1d1)](_0xa1fb2e(0x129)):_0x18dabc[_0xa1fb2e(0x15f)]()[_0xa1fb2e(0x1a1)](_0xa1fb2e(0x26a));}[_0x274e5b(0x121)](_0x38db62){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x55cf82=_0x3ba8;var _0x14236f,_0x4e404c,_0x4509a7,_0xf3bd37,_0xea305c,_0x2b41c2,_0x48eb97,_0x4d2213;this[_0x55cf82(0x222)]();try{const {type:_0x5cd376,source:_0x13c0fd}=_0x38db62;if('upload'===_0x5cd376){_0x18dabc[_0x55cf82(0x15f)]()[_0x55cf82(0x1a6)](0x2715,_0x55cf82(0x1c1)),null===(_0x4e404c=null===(_0x14236f=this[_0x55cf82(0x1e8)])||void 0x0===_0x14236f?void 0x0:_0x14236f[_0x55cf82(0xdf)])||void 0x0===_0x4e404c||_0x4e404c[_0x55cf82(0x216)](_0x14236f,_0x13c0fd);const _0x1f111a=_0x4e751b(_0x13c0fd),_0x5b188e=yield this[_0x55cf82(0x10d)](_0x1f111a);0xc8===_0x5b188e[_0x55cf82(0x11c)]?(_0x18dabc['getInstance']()[_0x55cf82(0xe4)](_0x55cf82(0x28f),_0x5b188e),null===(_0xf3bd37=null===(_0x4509a7=this[_0x55cf82(0x1e8)])||void 0x0===_0x4509a7?void 0x0:_0x4509a7[_0x55cf82(0x1ad)])||void 0x0===_0xf3bd37||_0xf3bd37[_0x55cf82(0x216)](_0x4509a7,_0x13c0fd,_0x5b188e),this['recordRequest'](Date['now'](),_0x13c0fd['request_id']),this[_0x55cf82(0x173)]()):(_0x18dabc[_0x55cf82(0x15f)]()[_0x55cf82(0x240)](-0xea61,_0x55cf82(0x1b0),_0x5b188e),null===(_0x2b41c2=null===(_0xea305c=this[_0x55cf82(0x1e8)])||void 0x0===_0xea305c?void 0x0:_0xea305c[_0x55cf82(0x20f)])||void 0x0===_0x2b41c2||_0x2b41c2['call'](_0xea305c,_0x13c0fd,_0x5b188e),yield this['p'],this[_0x55cf82(0x14e)](_0x38db62,_0x5b188e));}else{if(_0x55cf82(0xd2)===_0x5cd376){const _0x1b98e7=_0x4e751b(_0x13c0fd),_0x398d58=yield this['balance'](_0x1b98e7);0xc8===_0x398d58[_0x55cf82(0x11c)]?_0x18dabc[_0x55cf82(0x15f)]()[_0x55cf82(0xe4)](_0x55cf82(0x219),_0x398d58):(_0x18dabc[_0x55cf82(0x15f)]()[_0x55cf82(0x240)](-0xea64,'iRequestQueueLiveConsumer#request:\x20balance\x20request\x20failed',_0x398d58),yield this['p'],this[_0x55cf82(0x14e)](_0x38db62,_0x398d58));}else _0x18dabc['getInstance']()[_0x55cf82(0x240)](-0xea62,_0x55cf82(0x171),_0x38db62);}}catch(_0x440e36){_0x18dabc[_0x55cf82(0x15f)]()[_0x55cf82(0x240)](-0xea63,_0x55cf82(0x135),_0x440e36),null===(_0x4d2213=null===(_0x48eb97=this[_0x55cf82(0x1e8)])||void 0x0===_0x48eb97?void 0x0:_0x48eb97['onRequestError'])||void 0x0===_0x4d2213||_0x4d2213[_0x55cf82(0x216)](_0x48eb97,_0x38db62[_0x55cf82(0x123)],_0x440e36);}this['concurrentDecrement'](),yield this['p'],this[_0x55cf82(0xe5)]();});}[_0x274e5b(0x118)](){const _0x5717eb=_0x274e5b;return this[_0x5717eb(0x1bb)];}[_0x274e5b(0x29d)](){const _0x94550a=_0x274e5b;this[_0x94550a(0x1bb)]||(_0x18dabc[_0x94550a(0x15f)]()[_0x94550a(0x1a6)](_0x94550a(0xed)),this[_0x94550a(0x1bb)]=!0x0,this[_0x94550a(0xe5)]());}[_0x274e5b(0x1ce)](){const _0x1d8d32=_0x274e5b;this[_0x1d8d32(0x1bb)]&&(_0x18dabc[_0x1d8d32(0x15f)]()[_0x1d8d32(0x1a6)](_0x1d8d32(0xfd)),this[_0x1d8d32(0x1bb)]=!0x1);}}class _0x344505{constructor(){const _0x3572c8=_0x274e5b;this[_0x3572c8(0x134)]=0xea60,this[_0x3572c8(0x172)]=[],this[_0x3572c8(0x24d)]=[];}[_0x274e5b(0x277)](_0x19cf8a){const _0x444539=_0x274e5b;return!!_0x338dee(_0x19cf8a)&&(this[_0x444539(0x172)]['push']({'time':_0x19cf8a}),!0x0);}[_0x274e5b(0x1da)](_0x33ea9f){const _0x20bbfe=_0x274e5b;return!!_0x338dee(_0x33ea9f)&&(this[_0x20bbfe(0x24d)][_0x20bbfe(0x23f)]({'time':_0x33ea9f}),!0x0);}['dump'](){const _0x1a4418=_0x274e5b,_0x340303={};function _0x4cb427(){return{'sequence_id':_0x2fbd0c(),'event_count':0x0,'post_count':0x0};}function _0x447ae2(_0x3772ca,_0x3acdad){const _0x1f4415=_0x3ba8;_0x1f4415(0x269)===_0x3772ca?_0x3acdad[_0x1f4415(0x21b)]++:_0x1f4415(0x121)===_0x3772ca&&_0x3acdad[_0x1f4415(0x15c)]++;}return this[_0x1a4418(0x172)][_0x1a4418(0x181)](_0xef5070=>{const _0x2e47f3=_0x1a4418,_0x328cd9=Math['floor'](_0xef5070['time']/this[_0x2e47f3(0x134)])*this[_0x2e47f3(0x134)];_0x447ae2(_0x2e47f3(0x269),_0x340303[_0x328cd9]||(_0x340303[_0x328cd9]=_0x4cb427()));}),this['requests'][_0x1a4418(0x181)](_0xfb1ebf=>{const _0x1edbac=_0x1a4418,_0x343360=Math[_0x1edbac(0x28b)](_0xfb1ebf['time']/this[_0x1edbac(0x134)])*this['interval'];_0x447ae2(_0x1edbac(0x121),_0x340303[_0x343360]||(_0x340303[_0x343360]=_0x4cb427()));}),this[_0x1a4418(0x172)]=[],this[_0x1a4418(0x24d)]=[],_0x340303;}}class _0x160f5a{[_0x274e5b(0x22a)](_0x3f7b63){const _0x4ee234=_0x274e5b;var _0x5cc96f,_0x237438;let _0x3aad47=0x0,_0x2a7a90=0x0;if(Array[_0x4ee234(0xfc)](null==_0x3f7b63?void 0x0:_0x3f7b63[_0x4ee234(0x193)]))for(let _0x399003=0x0;_0x399003<_0x3f7b63[_0x4ee234(0x193)][_0x4ee234(0x126)];_0x399003++){const {eventGroup:_0x2b7e33,eventId:_0x35de5e}=_0x3f7b63[_0x4ee234(0x193)][_0x399003]||{};_0x4ee234(0x1eb)==typeof _0x2b7e33&&_0x2b7e33&&'string'==typeof _0x35de5e&&_0x35de5e&&(this[_0x4ee234(0x172)]||(this[_0x4ee234(0x172)]={}),this[_0x4ee234(0x172)][_0x2b7e33]||(this['events'][_0x2b7e33]={}),this['events'][_0x2b7e33][_0x35de5e]||(this[_0x4ee234(0x172)][_0x2b7e33][_0x35de5e]=!0x0)),_0x3aad47++;}if(Array['isArray'](null==_0x3f7b63?void 0x0:_0x3f7b63['event_blacklist']))for(let _0x223e85=0x0;_0x223e85<_0x3f7b63['event_blacklist'][_0x4ee234(0x126)];_0x223e85++){const {eventGroup:_0x2697d2,eventId:_0x1f6d6f}=_0x3f7b63[_0x4ee234(0x1fa)][_0x223e85]||{};(null===(_0x237438=null===(_0x5cc96f=this[_0x4ee234(0x172)])||void 0x0===_0x5cc96f?void 0x0:_0x5cc96f[_0x2697d2])||void 0x0===_0x237438?void 0x0:_0x237438[_0x1f6d6f])&&(this[_0x4ee234(0x172)][_0x2697d2][_0x1f6d6f]=!0x1),_0x2a7a90++;}_0x18dabc[_0x4ee234(0x15f)]()['info']('CloudConfig#resolveEvents:\x20事件规则解析完成,','已处理白名单\x20'+_0x3aad47+_0x4ee234(0xd4)+_0x2a7a90+_0x4ee234(0x1d8),this[_0x4ee234(0x172)]);}[_0x274e5b(0x157)](){const _0x58a3c1=_0x274e5b;return _0x58a3c1(0x154)+this[_0x58a3c1(0x207)]+_0x58a3c1(0x1a9);}[_0x274e5b(0x275)](){const _0x452316=_0x274e5b;return _0x452316(0xcd)+this[_0x452316(0x207)];}[_0x274e5b(0x1cf)](){const _0x4ca769=_0x274e5b,_0x4ff923=this[_0x4ca769(0x266)][_0x4ca769(0x12d)](),_0x211420=this[_0x4ca769(0x137)][_0x4ca769(0x12d)]();return _0x4ca769(0x113)===_0x4ff923?_0x4ca769(0x1c2):_0x4ca769(0x1ee)===_0x4ff923||_0x4ca769(0x1e2)===_0x4ff923?_0x4ca769(0xfa):'cn'===_0x211420?'https://appconf.heytapdownload.com/js/v2/checkUpdate':'sg'===_0x211420?_0x4ca769(0x11e):_0x4ca769(0x103)+_0x211420+_0x4ca769(0x24b);}[_0x274e5b(0x182)](){const _0x197878=_0x274e5b,_0x1a1194=this[_0x197878(0x137)];switch(_0x1a1194){case'cn':return'https://obus-jssdk-cn.heytapmobi.com';case'us':case'in':case'sg':return _0x197878(0xe3)+_0x1a1194+_0x197878(0x198);case'eu':return _0x197878(0x228);default:return _0x197878(0x12a);}}[_0x274e5b(0x16f)](_0x28fe71){const _0x103e13=_0x274e5b,_0x1aeed3=this['region']['toUpperCase'](),_0x111cea=_0x103e13(0xea);return''+(('prod'===this['env']?{'CN':_0x103e13(0x23a),'IN':'https://obus-in.dc.heytapmobile.com','SG':'https://obus-sg.dc.heytapmobile.com','EU':_0x103e13(0x110),'US':_0x103e13(0x1b9)}:{'CN':_0x111cea,'IN':_0x111cea,'SG':_0x111cea,'EU':_0x111cea,'US':_0x111cea})[_0x1aeed3]||_0x103e13(0x256))+_0x28fe71+'?app_key='+this[_0x103e13(0x183)]+_0x103e13(0x162)+Date['now']();}[_0x274e5b(0xe0)](){const _0x361c58=_0x274e5b;return this[_0x361c58(0x16f)](_0x361c58(0x1b8)+this[_0x361c58(0x207)]);}[_0x274e5b(0x14f)](){const _0x2714c3=_0x274e5b;return this[_0x2714c3(0x16f)]('/v3/balance/js/'+this[_0x2714c3(0x207)]);}[_0x274e5b(0x1e7)](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x569c34=_0x3ba8;var _0x38014a;const _0xbf388=this[_0x569c34(0x182)](),_0xe88999=this[_0x569c34(0x1cf)](),_0x4e00f5=this['getConfigCode'](),_0x2994eb={'itemList':[{'configCode':_0x4e00f5,'version':0x0}],'productId':this[_0x569c34(0x275)](),'systemCondition':{'regionCode':this[_0x569c34(0x137)]}},_0x189c9f=_0xbf388+_0x569c34(0x1ab)+encodeURIComponent(_0x199e78(_0x2994eb))+_0x569c34(0x12e)+encodeURIComponent(_0xe88999),_0x3f906c=yield this['request'](_0x569c34(0x1ba),_0x189c9f);if(Array['isArray'](null===(_0x38014a=null==_0x3f906c?void 0x0:_0x3f906c[_0x569c34(0x201)])||void 0x0===_0x38014a?void 0x0:_0x38014a[_0x569c34(0x1e1)])){const _0x17622d=_0x3f906c[_0x569c34(0x201)][_0x569c34(0x1e1)][_0x569c34(0xcf)](_0x2bca3d=>!!_0x2bca3d[_0x569c34(0x1b1)]&&_0x2bca3d[_0x569c34(0xf1)]>0x0)[_0x569c34(0x147)](_0x1f5c5a=>_0x1f5c5a[_0x569c34(0x29c)]===_0x4e00f5);if(_0x17622d)return _0x18dabc[_0x569c34(0x15f)]()[_0x569c34(0x1a1)](_0x569c34(0x221)),_0x17622d;}return _0x18dabc[_0x569c34(0x15f)]()[_0x569c34(0x240)](-0x4e21,'CloudConfig#fetchUpdate:\x20checkUpdate\x20fetch\x20data\x20failed',null==_0x3f906c?void 0x0:_0x3f906c[_0x569c34(0x201)],_0x4e00f5),null;});}[_0x274e5b(0xd9)](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0xd8fd96=_0x3ba8;var _0x3a5384;const _0x2522ae=yield this[_0xd8fd96(0x1e7)]();if(_0x2522ae){const _0x521c26=this['getJsSdkUrl']()+_0xd8fd96(0x19f)+(null==_0x2522ae?void 0x0:_0x2522ae['url']),_0x2feb35=yield this[_0xd8fd96(0x121)](_0xd8fd96(0x1ba),_0x521c26);if(_0xd8fd96(0x1eb)==typeof(null===(_0x3a5384=null==_0x2feb35?void 0x0:_0x2feb35[_0xd8fd96(0x201)])||void 0x0===_0x3a5384?void 0x0:_0x3a5384['cryptoStr'])&&_0x2feb35[_0xd8fd96(0x201)][_0xd8fd96(0x1c8)]){const _0x1d4cbe=_0x2fcd09(function(_0x128ada){const _0x5f0f38=_0xd8fd96;if(_0x128ada=String(_0x128ada)[_0x5f0f38(0x14d)](/[\t\n\f\r ]+/g,''),!_0x231437[_0x5f0f38(0x1ee)](_0x128ada))return'';let _0x1a1c76;_0x128ada+='=='[_0x5f0f38(0x258)](0x2-(0x3&_0x128ada[_0x5f0f38(0x126)]));let _0x256a88,_0x5372df,_0x57f1c9='',_0x1b9e89=0x0;for(;_0x1b9e89<_0x128ada[_0x5f0f38(0x126)];)_0x1a1c76=_0x23484a['indexOf'](_0x128ada[_0x5f0f38(0x27a)](_0x1b9e89++))<<0x12|_0x23484a[_0x5f0f38(0x288)](_0x128ada[_0x5f0f38(0x27a)](_0x1b9e89++))<<0xc|(_0x256a88=_0x23484a[_0x5f0f38(0x288)](_0x128ada[_0x5f0f38(0x27a)](_0x1b9e89++)))<<0x6|(_0x5372df=_0x23484a[_0x5f0f38(0x288)](_0x128ada[_0x5f0f38(0x27a)](_0x1b9e89++))),_0x57f1c9+=0x40===_0x256a88?String[_0x5f0f38(0x29e)](_0x1a1c76>>0x10&0xff):0x40===_0x5372df?String[_0x5f0f38(0x29e)](_0x1a1c76>>0x10&0xff,_0x1a1c76>>0x8&0xff):String[_0x5f0f38(0x29e)](_0x1a1c76>>0x10&0xff,_0x1a1c76>>0x8&0xff,0xff&_0x1a1c76);return _0x57f1c9;}(_0x2feb35[_0xd8fd96(0x201)][_0xd8fd96(0x1c8)]));if(_0x1d4cbe)return _0x1d4cbe;_0x18dabc['getInstance']()[_0xd8fd96(0x240)](-0x4e22,_0xd8fd96(0x11b));}else _0x18dabc[_0xd8fd96(0x15f)]()[_0xd8fd96(0x240)](-0x4e23,_0xd8fd96(0x249));}else _0x18dabc[_0xd8fd96(0x15f)]()[_0xd8fd96(0x240)](-0x4e24,_0xd8fd96(0xde));return null;});}['update'](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x475af4=_0x3ba8;var _0x159308,_0x2f8397,_0x2ed2bb,_0x3bc6be,_0x13f271,_0x24d238,_0x3ed1d6;_0x18dabc['getInstance']()['info'](_0x475af4(0x213)),this[_0x475af4(0x224)]=!0x1;const _0x3d815d=_0x2fbd0c();if(this[_0x475af4(0x26d)]=_0x3d815d,yield this['p'],this[_0x475af4(0x1fc)]){if(_0x18dabc[_0x475af4(0x15f)]()['warn'](_0x475af4(0x25d)),this[_0x475af4(0x26d)]!==_0x3d815d)return void _0x18dabc[_0x475af4(0x15f)]()['warn'](_0x475af4(0x282));try{if(yield this[_0x475af4(0xf6)],this[_0x475af4(0x26d)]!==_0x3d815d)return void _0x18dabc['getInstance']()['warn']('CloudConfig#update:\x20taskId\x20abandon\x20task');_0x18dabc['getInstance']()[_0x475af4(0x1a6)](0x2711,_0x475af4(0x1c9)),this['ready']=!0x0,null===(_0x159308=this[_0x475af4(0x192)])||void 0x0===_0x159308||_0x159308[_0x475af4(0x216)](this);}catch(_0x8de857){_0x18dabc[_0x475af4(0x15f)]()['error'](-0x4e25,'CloudConfig#update:\x20init\x20failed(precondition\x20task\x20rejected)',_0x8de857),this[_0x475af4(0x106)]=!0x0,null===(_0x2f8397=this[_0x475af4(0x119)])||void 0x0===_0x2f8397||_0x2f8397[_0x475af4(0x216)](this);}}else{const _0x40b27e=yield null===(_0x2ed2bb=this[_0x475af4(0x111)])||void 0x0===_0x2ed2bb?void 0x0:_0x2ed2bb[_0x475af4(0x1ba)]();this['configCache']&&(_0x18dabc[_0x475af4(0x15f)]()[_0x475af4(0x1a6)](_0x475af4(0x1c3)),_0x40b27e?_0x18dabc[_0x475af4(0x15f)]()['info'](_0x475af4(0x191),_0x40b27e):_0x18dabc['getInstance']()['info'](_0x475af4(0x23c)));let _0x3fcb6d=_0x40b27e||null;if(_0x3fcb6d||(_0x3fcb6d=yield this[_0x475af4(0xd9)](),_0x18dabc[_0x475af4(0x15f)]()['info'](_0x475af4(0x1a5),_0x3fcb6d)),_0x3fcb6d){if(this[_0x475af4(0x26d)]!==_0x3d815d)return void _0x18dabc[_0x475af4(0x15f)]()[_0x475af4(0x1d1)](_0x475af4(0x24c));null===(_0x3bc6be=this[_0x475af4(0x111)])||void 0x0===_0x3bc6be||_0x3bc6be[_0x475af4(0x25e)](_0x3fcb6d),this[_0x475af4(0x22a)](_0x3fcb6d);try{if(yield this[_0x475af4(0xf6)],this[_0x475af4(0x26d)]!==_0x3d815d)return void _0x18dabc[_0x475af4(0x15f)]()[_0x475af4(0x1d1)](_0x475af4(0x24c));_0x18dabc[_0x475af4(0x15f)]()[_0x475af4(0x1a6)](0x2711,_0x475af4(0x18c)),this[_0x475af4(0x224)]=!0x0,null===(_0x13f271=this['onReady'])||void 0x0===_0x13f271||_0x13f271[_0x475af4(0x216)](this);}catch(_0x2217fc){_0x18dabc[_0x475af4(0x15f)]()[_0x475af4(0x240)](-0x4e26,_0x475af4(0xe2),_0x2217fc),this[_0x475af4(0x106)]=!0x0,null===(_0x24d238=this['onCrash'])||void 0x0===_0x24d238||_0x24d238['call'](this);}}else _0x18dabc['getInstance']()[_0x475af4(0x240)](-0x4e27,_0x475af4(0x13b)),this[_0x475af4(0x106)]=!0x0,null===(_0x3ed1d6=this[_0x475af4(0x119)])||void 0x0===_0x3ed1d6||_0x3ed1d6[_0x475af4(0x216)](this);}this[_0x475af4(0x24f)][_0x475af4(0x23f)](Date[_0x475af4(0x1d4)]()),_0x18dabc[_0x475af4(0x15f)]()[_0x475af4(0x1a6)](_0x475af4(0x163));});}[_0x274e5b(0xff)](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x4e6828=_0x3ba8;_0x18dabc['getInstance']()[_0x4e6828(0x1a1)]('CloudConfig#checkUpdate:\x20checking'),this[_0x4e6828(0x295)]()?_0x18dabc[_0x4e6828(0x15f)]()['log']('CloudConfig#checkUpdate:\x20instance\x20crash,\x20will\x20not\x20update'):this[_0x4e6828(0x21c)]()?this[_0x4e6828(0x1fc)]?_0x18dabc['getInstance']()[_0x4e6828(0x1a1)]('CloudConfig#checkUpdate:\x20instance\x20config\x20is\x20skipCloudConfig,\x20skip\x20update'):Date[_0x4e6828(0x1d4)]()-this[_0x4e6828(0x114)]>this[_0x4e6828(0x115)]&&(this[_0x4e6828(0x114)]=Date['now'](),this[_0x4e6828(0x111)]?(_0x18dabc[_0x4e6828(0x15f)]()['info'](_0x4e6828(0x138)),(yield this['configCache'][_0x4e6828(0x1ba)]())||(_0x18dabc['getInstance']()['info'](_0x4e6828(0x1e6)),this[_0x4e6828(0x235)]())):(_0x18dabc[_0x4e6828(0x15f)]()[_0x4e6828(0x1a6)](_0x4e6828(0x227)),Date['now']()-this['firstUpdateAt']>this['validateTime']&&(_0x18dabc[_0x4e6828(0x15f)]()['info'](_0x4e6828(0x1e6)),this[_0x4e6828(0x235)]()))):_0x18dabc[_0x4e6828(0x15f)]()[_0x4e6828(0x1a1)](_0x4e6828(0x1ac));});}constructor(_0x1a62ca){const _0x4c4618=_0x274e5b;this['ready']=!0x1,this[_0x4c4618(0x106)]=!0x1,this[_0x4c4618(0x172)]={},this['p']=Promise[_0x4c4618(0x21e)](),this[_0x4c4618(0x20d)]=Date['now'](),this[_0x4c4618(0x24f)]=[],this['updateTaskId']='',this[_0x4c4618(0x1d2)]=Date[_0x4c4618(0x1d4)](),this['lastUpdatedAt']=Date['now'](),this['configCache']=null,this[_0x4c4618(0x215)]=null,this[_0x4c4618(0x15e)]={};const {request:_0x2522be,appId:_0x5c98f3,appKey:_0x830043,region:_0x562315,env:_0x20fb2e,preconditionTask:_0x298ebf,cache:_0x3248da,validateTime:_0x435551,checkUpdateTime:_0x2510fb,balance:_0x7c19db,skipCloudConfig:_0x4418ce}=_0x1a62ca;if(this[_0x4c4618(0x121)]=_0x2522be,this[_0x4c4618(0x207)]=_0x5c98f3,this['appKey']=_0x830043,this[_0x4c4618(0x137)]=_0x562315,this['env']=_0x20fb2e,this[_0x4c4618(0xfe)]=_0x435551,this['checkUpdateTime']=_0x2510fb,this[_0x4c4618(0x1fc)]=!!_0x4418ce,_0x18dabc[_0x4c4618(0x15f)]()['info']('CloudConfig:\x20initialize'),this[_0x4c4618(0x111)]=_0x3248da?new _0x38e151(_0x3248da,_0x5c98f3,this[_0x4c4618(0xfe)]):null,_0x7c19db&&(this[_0x4c4618(0x215)]=new _0x344505()),this['upload']=this[_0x4c4618(0x10d)][_0x4c4618(0x217)](this),this[_0x4c4618(0xd2)]=this[_0x4c4618(0xd2)]['bind'](this),this[_0x4c4618(0xff)]=this[_0x4c4618(0xff)][_0x4c4618(0x217)](this),this[_0x4c4618(0x277)]=this['recordEvent'][_0x4c4618(0x217)](this),this[_0x4c4618(0x1da)]=this['recordRequest'][_0x4c4618(0x217)](this),_0x4c4618(0x22c)==typeof _0x298ebf)try{const _0x5832a3=_0x298ebf();if(!(_0x5832a3 instanceof Promise))throw new TypeError(_0x4c4618(0x132));this[_0x4c4618(0xf6)]=_0x5832a3;}catch(_0x4f7cfe){_0x18dabc['getInstance']()[_0x4c4618(0x240)](-0x4e28,(null==_0x4f7cfe?void 0x0:_0x4f7cfe['message'])||_0x4c4618(0x22e)),this[_0x4c4618(0xf6)]=Promise[_0x4c4618(0x21e)]();}else this[_0x4c4618(0xf6)]=_0x298ebf instanceof Promise?_0x298ebf:Promise[_0x4c4618(0x21e)]();this['update']();}[_0x274e5b(0x21c)](){const _0x17bc9f=_0x274e5b;return!!this[_0x17bc9f(0x295)]&&this[_0x17bc9f(0x224)];}[_0x274e5b(0x295)](){const _0x5abd03=_0x274e5b;return this[_0x5abd03(0x106)];}[_0x274e5b(0x1f8)](_0x4850c8){const _0x47c5dd=_0x274e5b;var _0xc019dc,_0x3c4a1d,_0x13ef5f;const _0x6b5197=(null==_0x4850c8?void 0x0:_0x4850c8['eventGroup'])||'',_0xa4e6dd=(null==_0x4850c8?void 0x0:_0x4850c8[_0x47c5dd(0x232)])||'',_0x54a10d=(null==_0x4850c8?void 0x0:_0x4850c8['sequenceId'])||'';return this[_0x47c5dd(0x224)]?'string'==typeof _0x6b5197&&_0x6b5197?_0x47c5dd(0x1eb)==typeof _0xa4e6dd&&_0xa4e6dd?_0x47c5dd(0x1eb)==typeof _0x54a10d&&_0x54a10d?(null===(_0xc019dc=this[_0x47c5dd(0x15e)])||void 0x0===_0xc019dc?void 0x0:_0xc019dc[_0x54a10d])?(_0x18dabc['getInstance']()[_0x47c5dd(0x1d1)](_0x47c5dd(0x176),_0x4850c8),!0x1):(this[_0x47c5dd(0x15e)][_0x54a10d]=!0x0,_0x47c5dd(0x1ee)===this[_0x47c5dd(0x266)]||'pre'===this['env']||!(0x0!==_0xa4e6dd[_0x47c5dd(0x288)]('$')||!/^\$track_/['test'](_0x6b5197))||!!this[_0x47c5dd(0x1fc)]||!!(null===(_0x13ef5f=null===(_0x3c4a1d=this[_0x47c5dd(0x172)])||void 0x0===_0x3c4a1d?void 0x0:_0x3c4a1d[_0x6b5197])||void 0x0===_0x13ef5f?void 0x0:_0x13ef5f[_0xa4e6dd])):(_0x18dabc['getInstance']()[_0x47c5dd(0x1d1)](_0x47c5dd(0x1f2),_0x4850c8),!0x1):(_0x18dabc[_0x47c5dd(0x15f)]()['warn'](_0x47c5dd(0x14b),_0x4850c8),!0x1):(_0x18dabc[_0x47c5dd(0x15f)]()[_0x47c5dd(0x1d1)]('CloudConfig#validate:\x20eventGroup\x20incorrect\x20format',_0x4850c8),!0x1):(_0x18dabc[_0x47c5dd(0x15f)]()[_0x47c5dd(0x1d1)](_0x47c5dd(0x133),_0x4850c8),!0x1);}[_0x274e5b(0x277)](_0x175d7e,_0x1c2597){const _0xe051ac=_0x274e5b;var _0x57b778;return(null===(_0x57b778=this['balanceInstance'])||void 0x0===_0x57b778?void 0x0:_0x57b778[_0xe051ac(0x277)](_0x175d7e))||!0x1;}['recordRequest'](_0x40ed11,_0x182d75){const _0x2a6e4a=_0x274e5b;var _0x3617c8;return(null===(_0x3617c8=this['balanceInstance'])||void 0x0===_0x3617c8?void 0x0:_0x3617c8[_0x2a6e4a(0x1da)](_0x40ed11))||!0x1;}[_0x274e5b(0xda)](){const _0x13e119=_0x274e5b;if(this[_0x13e119(0x215)]){const _0x393eb5=this[_0x13e119(0x215)][_0x13e119(0x10b)]();return _0x18dabc[_0x13e119(0x15f)]()[_0x13e119(0x1a1)]('CloudConfig#dumpBalance\x20dump()\x20=',_0x393eb5),_0x393eb5;}return _0x18dabc[_0x13e119(0x15f)]()[_0x13e119(0x1a1)](_0x13e119(0x159)),null;}[_0x274e5b(0x10d)](_0x150666){return _0x2bddad(this,0x0,void 0x0,function*(){const _0xe9a2db=_0x3ba8;var _0x42f4ba,_0x564e2e,_0x4dbfed;_0x18dabc[_0xe9a2db(0x15f)]()[_0xe9a2db(0x1a6)](_0xe9a2db(0x257));const _0x227461=yield this[_0xe9a2db(0x121)](_0xe9a2db(0x148),this[_0xe9a2db(0xe0)](),_0xe9a2db(0x13d)+encodeURIComponent(_0x150666[_0xe9a2db(0x201)])+'&crc='+encodeURIComponent(_0x150666[_0xe9a2db(0x1b3)]));return 0xc8!==(null===(_0x42f4ba=null==_0x227461?void 0x0:_0x227461[_0xe9a2db(0x201)])||void 0x0===_0x42f4ba?void 0x0:_0x42f4ba['code'])&&_0x18dabc['getInstance']()[_0xe9a2db(0x1d1)](_0xe9a2db(0xf9),_0x227461),this['p'][_0xe9a2db(0x261)](this[_0xe9a2db(0xff)]),{'code':(null===(_0x564e2e=null==_0x227461?void 0x0:_0x227461[_0xe9a2db(0x201)])||void 0x0===_0x564e2e?void 0x0:_0x564e2e['code'])||-0x1,'message':(null===(_0x4dbfed=null==_0x227461?void 0x0:_0x227461['data'])||void 0x0===_0x4dbfed?void 0x0:_0x4dbfed[_0xe9a2db(0x204)])||''};});}[_0x274e5b(0xd2)](_0x241525){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x16f199=_0x3ba8;var _0x1abc28,_0x30a111,_0x2fa880;_0x18dabc[_0x16f199(0x15f)]()[_0x16f199(0x1a6)]('CloudConfig#balance:\x20report\x20balance');const _0x57d7f3=yield this['request'](_0x16f199(0x148),this[_0x16f199(0x14f)](),_0x16f199(0x13d)+encodeURIComponent(_0x241525[_0x16f199(0x201)])+'&crc='+encodeURIComponent(_0x241525[_0x16f199(0x1b3)]));return 0xc8!==(null===(_0x1abc28=null==_0x57d7f3?void 0x0:_0x57d7f3[_0x16f199(0x201)])||void 0x0===_0x1abc28?void 0x0:_0x1abc28[_0x16f199(0x11c)])&&_0x18dabc[_0x16f199(0x15f)]()[_0x16f199(0x1d1)](_0x16f199(0x1e4),_0x57d7f3),{'code':(null===(_0x30a111=null==_0x57d7f3?void 0x0:_0x57d7f3[_0x16f199(0x201)])||void 0x0===_0x30a111?void 0x0:_0x30a111[_0x16f199(0x11c)])||-0x1,'message':(null===(_0x2fa880=null==_0x57d7f3?void 0x0:_0x57d7f3[_0x16f199(0x201)])||void 0x0===_0x2fa880?void 0x0:_0x2fa880[_0x16f199(0x204)])||''};});}[_0x274e5b(0x235)](){const _0x1c1047=_0x274e5b;var _0x2ae87a;_0x18dabc['getInstance']()['info'](_0x1c1047(0x1f1)),this[_0x1c1047(0x106)]?_0x18dabc['getInstance']()['warn']('CloudConfig#forceUpdate:\x20crash\x20state,\x20skip\x20update'):(this['update'](),null===(_0x2ae87a=this[_0x1c1047(0x150)])||void 0x0===_0x2ae87a||_0x2ae87a['call'](this));}['getDebugInformation'](){return{'initializationStartAt':this['initializationStartAt'],'readyCallbackTimestamps':this['readyCallbackTimestamps']};}[_0x274e5b(0x192)](){}['onUnready'](){}['onCrash'](){}}class _0x38e151{['getKey'](){const _0x2bfba4=_0x274e5b;return _0x2bfba4(0x220)+this['appId'];}constructor(_0x2d1bf1,_0x36e00d,_0x2e819a){const _0x253eef=_0x274e5b;this['cache']=_0x2d1bf1,this['appId']=_0x36e00d,this[_0x253eef(0x1f6)]=_0x2e819a;}[_0x274e5b(0x1ba)](){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x39cf10=_0x3ba8,_0x486e44=yield this[_0x39cf10(0x27d)][_0x39cf10(0x1ba)](this[_0x39cf10(0x153)]())[_0x39cf10(0x179)](()=>null);return null===_0x486e44?null:_0x2fcd09(_0x486e44);});}['set'](_0x5a8b87){return _0x2bddad(this,0x0,void 0x0,function*(){const _0x48b700=_0x3ba8,_0x4f41a3=_0x199e78(_0x5a8b87);return yield this['cache'][_0