UNPKG

@oppo-minigame/cli

Version:

Command line interface for rapid OPPO minigame development

1 lines 78.9 kB
function _0x5abc(_0x5390df,_0x16ed81){const _0x4b489a=_0x4b48();return _0x5abc=function(_0x5abc32,_0x38bea9){_0x5abc32=_0x5abc32-0x17b;let _0x58212d=_0x4b489a[_0x5abc32];return _0x58212d;},_0x5abc(_0x5390df,_0x16ed81);}(function(_0x514c9f,_0x23157c){const _0x57025c=_0x5abc,_0x552a88=_0x514c9f();while(!![]){try{const _0x1fe71b=-parseInt(_0x57025c(0x2ad))/0x1*(-parseInt(_0x57025c(0x311))/0x2)+-parseInt(_0x57025c(0x1b2))/0x3+parseInt(_0x57025c(0x235))/0x4+-parseInt(_0x57025c(0x331))/0x5*(-parseInt(_0x57025c(0x257))/0x6)+-parseInt(_0x57025c(0x326))/0x7*(-parseInt(_0x57025c(0x30d))/0x8)+parseInt(_0x57025c(0x207))/0x9+-parseInt(_0x57025c(0x336))/0xa;if(_0x1fe71b===_0x23157c)break;else _0x552a88['push'](_0x552a88['shift']());}catch(_0x418fb5){_0x552a88['push'](_0x552a88['shift']());}}}(_0x4b48,0xe1db7),((()=>{const _0x1fb29c=_0x5abc;var _0x4e2b28={0x33:_0x1868c7=>{'use strict';const _0x56a7bc=_0x5abc;_0x1868c7[_0x56a7bc(0x281)]=require('./config');},0x3f:(_0x438692,_0x1c3ee9,_0x45f357)=>{const _0x4bfbd8=_0x5abc,_0x23d81e=_0x45f357(0x27e),_0x1f3b8b=_0x45f357(0x3a0),_0x263c57=_0x45f357(0x359),_0x196edf=_0x45f357(0x33);let _0x3a64c3,_0x3335d8,_0x2c7dab=null;if(_0x196edf['mock']){const _0x91be06=_0x45f357(Object((function(){const _0x310363=_0x5abc;var _0x7351fb=new Error('Cannot\x20find\x20module\x20\x27./mock\x27');throw _0x7351fb['code']=_0x310363(0x2f6),_0x7351fb;}())));_0x3a64c3=new _0x91be06(_0x196edf[_0x4bfbd8(0x193)]),_0x2c7dab={'code':0x0,'message':''};}else{process[_0x4bfbd8(0x298)]('warning'),process['on'](_0x4bfbd8(0x28d),()=>{});const _0x30a147=_0x45f357(0x159),_0x44d62e={..._0x196edf[_0x4bfbd8(0x193)],'requestListener':{'onRequestEnd'(_0x1d5a5f,_0x2aa5b5){_0x2c7dab=_0x2aa5b5;}}};_0x3a64c3=new _0x30a147(_0x44d62e);}_0x438692[_0x4bfbd8(0x281)]={'recordGameName':function(_0x3580d0){const _0x20a6c9=_0x4bfbd8;_0x3335d8&&_0x3335d8[_0x20a6c9(0x2d6)]?_0x3335d8[_0x20a6c9(0x271)]=_0x3580d0:console[_0x20a6c9(0x2a2)]('还未开始上报微信一键转埋点,记录游戏名无效');},'recordGamePackage':function(_0x2a1122){const _0x25661c=_0x4bfbd8;_0x3335d8&&_0x3335d8[_0x25661c(0x2d6)]?_0x3335d8[_0x25661c(0x1c6)]=_0x2a1122:console[_0x25661c(0x2a2)](_0x25661c(0x2a9));},'reportWXTransferEnd':async function(_0x22ef9f,_0x3a5e94,_0x38b028){const _0x4bea77=_0x4bfbd8;if(_0x3335d8&&_0x3335d8['start_time']){_0x3335d8[_0x4bea77(0x33f)]=_0x22ef9f,_0x3335d8[_0x4bea77(0x185)]=_0x3a5e94,_0x3335d8['duration']=Math[_0x4bea77(0x1df)]((Date[_0x4bea77(0x2fc)]()-_0x3335d8[_0x4bea77(0x2d6)])/0x3e8),_0x3335d8['wx_transfer_result']=_0x38b028||_0x4bea77(0x226);try{_0x3a64c3[_0x4bea77(0x2b5)]({'eventGroup':_0x4bea77(0x186),'eventId':'30_1000_001','eventInfo':_0x3335d8},immediate=!0x0);}catch{}await new Promise(_0x1c42d4=>{!function _0x37167c(){_0x2c7dab?_0x1c42d4():setTimeout(_0x37167c,0x64);}();}),_0x3335d8=null,_0x2c7dab=null;}else console[_0x4bea77(0x2a2)](_0x4bea77(0x233));},'reportWXTransferStart':async function(){const _0x5bc546=_0x4bfbd8;if(_0x3335d8||(_0x3335d8={}),_0x3335d8[_0x5bc546(0x2d6)])return void console[_0x5bc546(0x2a2)](_0x5bc546(0x20d));_0x3335d8[_0x5bc546(0x2d6)]=Date['now']();const _0x228a0c=await _0x23d81e[_0x5bc546(0x2c8)](_0x1f3b8b['resolve'](__dirname,'../../../package.json'));if(_0x3335d8['package_version']=_0x228a0c[_0x5bc546(0x17c)],_0x5bc546(0x2bb)===_0x263c57[_0x5bc546(0x2a1)]()){const {execSync:_0x39bb66}=_0x45f357(0x13d);try{const _0x5612d2=_0x39bb66(_0x5bc546(0x20c),{'encoding':_0x5bc546(0x2a8)})[_0x5bc546(0x24b)]()[_0x5bc546(0x17e)](_0x5bc546(0x231));_0x3335d8['win_admin']=_0x5612d2?0x1:0x0;}catch{_0x3335d8['win_admin']=-0x1;}}else _0x3335d8[_0x5bc546(0x29a)]=-0x1;}};},0x43:_0x3a25ce=>{'use strict';const _0x4f4d50=_0x5abc;_0x3a25ce[_0x4f4d50(0x281)]=require(_0x4f4d50(0x227));},0x88:_0x972ebe=>{'use strict';const _0x1b3b88=_0x5abc;_0x972ebe[_0x1b3b88(0x281)]=require('node:url');},0xa1:_0x45c7f9=>{'use strict';const _0xb0901f=_0x5abc;_0x45c7f9['exports']=require(_0xb0901f(0x1eb));},0x13d:_0x4633cb=>{'use strict';const _0x5f0d87=_0x5abc;_0x4633cb[_0x5f0d87(0x281)]=require(_0x5f0d87(0x1d8));},0x147:_0x3a5ec8=>{'use strict';const _0x1b8e42=_0x5abc;_0x3a5ec8[_0x1b8e42(0x281)]=require(_0x1b8e42(0x2b9));},0x159:(_0x365d33,_0x260401,_0xa8f60b)=>{'use strict';const _0x33eb04=_0x5abc;var _0x56f356=_0xa8f60b(0x2c4),_0x3c63e0=_0xa8f60b(0xa1),_0x5533c0=_0xa8f60b(0x43),_0x468754=_0xa8f60b(0x147),_0x4a2ca0=_0xa8f60b(0x88);function _0x456a25(_0x507b29,_0x1bf836,_0x197400,_0xe21e16){return new(_0x197400||(_0x197400=Promise))(function(_0x147754,_0x5e0cbc){const _0x31eafd=_0x5abc;function _0x4f78b8(_0x4d2ce4){const _0x4f21b9=_0x5abc;try{_0x16f6cc(_0xe21e16[_0x4f21b9(0x332)](_0x4d2ce4));}catch(_0x24f1bc){_0x5e0cbc(_0x24f1bc);}}function _0x5ced23(_0x47044d){try{_0x16f6cc(_0xe21e16['throw'](_0x47044d));}catch(_0x327a03){_0x5e0cbc(_0x327a03);}}function _0x16f6cc(_0x15a6cc){var _0x105eaa;_0x15a6cc['done']?_0x147754(_0x15a6cc['value']):(_0x105eaa=_0x15a6cc['value'],_0x105eaa instanceof _0x197400?_0x105eaa:new _0x197400(function(_0x169c31){_0x169c31(_0x105eaa);}))['then'](_0x4f78b8,_0x5ced23);}_0x16f6cc((_0xe21e16=_0xe21e16[_0x31eafd(0x204)](_0x507b29,[]))[_0x31eafd(0x332)]());});}_0x33eb04(0x2af)==typeof SuppressedError&&SuppressedError;class _0x3e9359{['currentDateTime'](){const _0x3bea74=_0x33eb04;return new Date()[_0x3bea74(0x2ed)]();}static[_0x33eb04(0x286)](){const _0x5c3422=_0x33eb04;return this[_0x5c3422(0x1b5)]||(this[_0x5c3422(0x1b5)]=new _0x3e9359()),this[_0x5c3422(0x1b5)];}static[_0x33eb04(0x1a4)](){const _0x2b6b98=_0x33eb04;return this[_0x2b6b98(0x307)]['toJson']();}constructor(_0x113b08){const _0x114b21=_0x33eb04;this[_0x114b21(0x215)]='ObusCoreLogger',this['level']=_0x114b21(0x2d0),_0x114b21(0x2f2)==typeof _0x113b08&&_0x113b08&&(this[_0x114b21(0x215)]=_0x113b08);}[_0x33eb04(0x17f)](_0x10540b){const _0x3ae02d=_0x33eb04;[_0x3ae02d(0x2d0),_0x3ae02d(0x209),'warn','info',_0x3ae02d(0x29f),_0x3ae02d(0x2cf)][_0x3ae02d(0x17e)](_0x10540b)&&(this[_0x3ae02d(0x2e2)]=_0x10540b);}['getLevel'](){const _0x5114e4=_0x33eb04;return this[_0x5114e4(0x2e2)];}[_0x33eb04(0x209)](..._0x1d461b){const _0x37310b=_0x33eb04;[_0x37310b(0x2d0)][_0x37310b(0x17e)](this['level'])||this['centralize'](_0x37310b(0x30e),..._0x1d461b);}['warn'](..._0x773987){const _0x41f1fa=_0x33eb04;[_0x41f1fa(0x2d0),_0x41f1fa(0x209)][_0x41f1fa(0x17e)](this[_0x41f1fa(0x2e2)])||this[_0x41f1fa(0x2e8)]('WARN',..._0x773987);}['info'](..._0x1e5ea0){const _0x2719ec=_0x33eb04;[_0x2719ec(0x2d0),_0x2719ec(0x209),_0x2719ec(0x2a2)]['includes'](this[_0x2719ec(0x2e2)])||this[_0x2719ec(0x2e8)](_0x2719ec(0x1a1),..._0x1e5ea0);}[_0x33eb04(0x29f)](..._0x86479a){const _0x3d2dba=_0x33eb04;[_0x3d2dba(0x2d0),_0x3d2dba(0x209),_0x3d2dba(0x2a2),_0x3d2dba(0x181)][_0x3d2dba(0x17e)](this[_0x3d2dba(0x2e2)])||this[_0x3d2dba(0x2e8)](_0x3d2dba(0x243),..._0x86479a);}[_0x33eb04(0x2cf)](..._0x379bf9){const _0x19276c=_0x33eb04;[_0x19276c(0x2d0),_0x19276c(0x209),_0x19276c(0x2a2),'info',_0x19276c(0x29f)][_0x19276c(0x17e)](this[_0x19276c(0x2e2)])||this[_0x19276c(0x2e8)](_0x19276c(0x221),..._0x379bf9);}[_0x33eb04(0x2e8)](_0x2d717f,_0x1786ae,..._0x442da9){const _0x363576=_0x33eb04;try{let _0x1b5e7b=null,_0x1e8386=[];_0x363576(0x2de)==typeof _0x1786ae?(_0x1b5e7b=_0x1786ae,_0x1e8386=[..._0x442da9]):_0x1e8386=[_0x1786ae,..._0x442da9];const _0x5d89f6=this[_0x363576(0x215)],_0x5024c0=this[_0x363576(0x342)](),_0x33f8f0={'_time':Date[_0x363576(0x2fc)](),'time':_0x5024c0,'prefix':_0x5d89f6,'level':_0x2d717f,'args':_0x1e8386};if(null!==_0x1b5e7b){switch(_0x1b5e7b){case 0x2710:_0x3e9359[_0x363576(0x307)]['registerInit']();break;case 0x2711:_0x3e9359['summary']['registerReady']();break;case 0x2712:_0x3e9359[_0x363576(0x307)][_0x363576(0x1af)]();break;case 0x2713:_0x3e9359[_0x363576(0x307)][_0x363576(0x19d)]();break;case 0x2714:_0x3e9359['summary'][_0x363576(0x2f0)]();break;case 0x2715:_0x3e9359[_0x363576(0x307)][_0x363576(0x192)]();}_0x1b5e7b<0x0&&_0x3e9359[_0x363576(0x307)][_0x363576(0x1ff)](_0x1b5e7b);}this['print'](_0x33f8f0);}catch(_0xe2c875){console['log'](_0xe2c875);}}[_0x33eb04(0x28e)](_0x50f760){const _0x500b28=_0x33eb04;var _0x4c4530;null===(_0x4c4530=null===console||void 0x0===console?void 0x0:console[_0x500b28(0x2cf)])||void 0x0===_0x4c4530||_0x4c4530['call'](console,_0x50f760['time']+'\x20['+_0x50f760['prefix']+_0x500b28(0x251)+_0x50f760['level']+')',..._0x50f760['args']);}}_0x3e9359[_0x33eb04(0x307)]=new class{['getErrors'](){const _0x5a5b11=_0x33eb04,_0x5cfea2=this[_0x5a5b11(0x2c1)],_0x51dda1=[];for(const [_0x1a676e,_0x38337c]of _0x5cfea2)_0x51dda1[_0x5a5b11(0x25d)]({'i':_0x1a676e,'n':_0x38337c});return _0x51dda1[_0x5a5b11(0x2b0)]((_0x41047e,_0x2cf26b)=>_0x2cf26b['i']-_0x41047e['i'])[_0x5a5b11(0x224)](0x0,0xa);}constructor(){const _0xb728d8=_0x33eb04;this[_0xb728d8(0x30f)]=0x0,this[_0xb728d8(0x341)]=0x0,this[_0xb728d8(0x302)]=0x0,this[_0xb728d8(0x2f3)]=0x0,this[_0xb728d8(0x2fb)]=0x0,this[_0xb728d8(0x216)]=0x0,this[_0xb728d8(0x1bc)]=0x0,this[_0xb728d8(0x2c1)]=new Map(),this[_0xb728d8(0x30f)]=Date[_0xb728d8(0x2fc)]();}['registerInit'](){this['initNum']+=0x1;}[_0x33eb04(0x32d)](){const _0x57b4a3=_0x33eb04;this[_0x57b4a3(0x302)]+=0x1;}[_0x33eb04(0x1af)](){const _0x148222=_0x33eb04;this[_0x148222(0x2f3)]+=0x1;}[_0x33eb04(0x19d)](){this['eventEnqueueNum']+=0x1;}[_0x33eb04(0x2f0)](){const _0x445de9=_0x33eb04;this[_0x445de9(0x216)]+=0x1;}[_0x33eb04(0x192)](){const _0x4ec4de=_0x33eb04;this[_0x4ec4de(0x1bc)]+=0x1;}[_0x33eb04(0x1ff)](_0x5f136b){const _0x4150e2=_0x33eb04;this[_0x4150e2(0x2c1)][_0x4150e2(0x1b6)](_0x5f136b)?this[_0x4150e2(0x2c1)][_0x4150e2(0x1f1)](_0x5f136b,this[_0x4150e2(0x2c1)][_0x4150e2(0x1b4)](_0x5f136b)+0x1):this[_0x4150e2(0x2c1)][_0x4150e2(0x1f1)](_0x5f136b,0x1);}[_0x33eb04(0x309)](){const _0x18e2ec=_0x33eb04;return{'sta':this['startAt'],'sto':Date[_0x18e2ec(0x2fc)](),'inn':this[_0x18e2ec(0x341)],'trn':this[_0x18e2ec(0x302)],'rpn':this[_0x18e2ec(0x2f3)],'een':this[_0x18e2ec(0x2fb)],'ren':this['requestEnqueueNum'],'rln':this[_0x18e2ec(0x1bc)],'err':this[_0x18e2ec(0x2c2)]()};}}();class _0xfb451b{constructor(_0x1f1ab7,_0x5b202f,_0x3c519d,_0xdcd79d,_0x19a6b2){const _0x2c088f=_0x33eb04;this[_0x2c088f(0x2b1)]=_0x1f1ab7,this[_0x2c088f(0x220)]=_0x5b202f,this['cloudConfig']=_0x3c519d,this[_0x2c088f(0x21e)]=_0xdcd79d,this[_0x2c088f(0x1fd)]=_0x19a6b2,this[_0x2c088f(0x237)]=!0x1,this[_0x2c088f(0x19b)]=!0x1,this['callbackTimer']=null,_0x3e9359[_0x2c088f(0x286)]()[_0x2c088f(0x181)](_0x2c088f(0x23e)),this['callback']=this[_0x2c088f(0x1f3)]['bind'](this),this[_0x2c088f(0x27b)][_0x2c088f(0x18e)]=()=>{const _0x48fa50=_0x2c088f;_0x3e9359[_0x48fa50(0x286)]()['log'](_0x48fa50(0x1bb)),this[_0x48fa50(0x237)]?(this[_0x48fa50(0x244)](),this['flushWhenReady']=!0x1):this[_0x48fa50(0x2c3)]();},this['cloudConfig'][_0x2c088f(0x17d)]=()=>{const _0xb9317=_0x2c088f;_0x3e9359[_0xb9317(0x286)]()['log'](_0xb9317(0x265));},this[_0x2c088f(0x27b)]['onCrash']=()=>{const _0x3eeba0=_0x2c088f;this[_0x3eeba0(0x19b)]=!0x0;};}['flush'](){const _0x56d269=_0x33eb04;if(this['cloudConfig'][_0x56d269(0x1c3)]()){this['cancelCallback']();const _0x492d10=this[_0x56d269(0x2b1)]['dequeueAll']()['filter'](_0x4c6f10=>{const _0x582911=_0x56d269,_0x56c11c=this[_0x582911(0x27b)][_0x582911(0x2e0)](_0x4c6f10[_0x582911(0x277)]);return _0x56c11c||_0x3e9359[_0x582911(0x286)]()[_0x582911(0x2a2)](_0x582911(0x29e),_0x4c6f10[_0x582911(0x277)]),this[_0x582911(0x27b)][_0x582911(0x2a5)](_0x4c6f10['payload']['eventTime'],_0x4c6f10[_0x582911(0x277)][_0x582911(0x1ae)]),_0x56c11c;});this['eventQueueConsumer']['consume'](_0x492d10),_0x3e9359['getInstance']()['log']('EventHandler#flush:\x20consumption\x20ends');}else this[_0x56d269(0x27b)][_0x56d269(0x1e5)]()?_0x3e9359[_0x56d269(0x286)]()[_0x56d269(0x2cf)](_0x56d269(0x1ba)):(_0x3e9359[_0x56d269(0x286)]()['log'](_0x56d269(0x344)),this['flushWhenReady']=!0x0);}[_0x33eb04(0x1f3)](){const _0xfc239b=_0x33eb04;_0x3e9359['getInstance']()[_0xfc239b(0x2cf)](_0xfc239b(0x308)),this['callbackTimer']=null,this[_0xfc239b(0x244)]();}[_0x33eb04(0x293)](){const _0x4f040e=_0x33eb04;this[_0x4f040e(0x217)]&&(clearInterval(this['callbackTimer']),this['callbackTimer']=null);}['setCallback'](){const _0x18670e=_0x33eb04;this[_0x18670e(0x217)]||(this[_0x18670e(0x217)]=setTimeout(this['callback'],this[_0x18670e(0x21e)]));}['tryConsume'](){const _0xcc9f5f=_0x33eb04,_0x5e9d92=this['eventQueue']['size']();_0x5e9d92>=this[_0xcc9f5f(0x1fd)]?(_0x3e9359[_0xcc9f5f(0x286)]()[_0xcc9f5f(0x2cf)]('EventHandler#tryConsume:\x20reaching\x20quantity\x20threshold,\x20consume\x20queue'),this[_0xcc9f5f(0x244)]()):_0x5e9d92>0x0&&this[_0xcc9f5f(0x33e)]();}[_0x33eb04(0x2d1)](_0x288a8a){return _0x456a25(this,0x0,void 0x0,function*(){const _0x399338=_0x5abc;_0x3e9359[_0x399338(0x286)]()['log'](0x2713,_0x399338(0x203),_0x288a8a),this[_0x399338(0x19b)]?_0x3e9359['getInstance']()[_0x399338(0x2a2)](_0x399338(0x2be),_0x288a8a):(this[_0x399338(0x2b1)][_0x399338(0x2ea)]({'payload':_0x288a8a,'priority':_0x399338(0x213)})||_0x3e9359[_0x399338(0x286)]()['error'](-0x7531,_0x399338(0x2ba),_0x288a8a),yield!0x1,this['tryConsume']());});}['addHighPriority'](_0x30183f){return _0x456a25(this,0x0,void 0x0,function*(){const _0x9ace5=_0x5abc;_0x3e9359[_0x9ace5(0x286)]()[_0x9ace5(0x2cf)](0x2713,_0x9ace5(0x1b3),_0x30183f),this[_0x9ace5(0x19b)]?_0x3e9359['getInstance']()['warn'](_0x9ace5(0x28b),_0x30183f):(this['eventQueue']['enqueue']({'payload':_0x30183f,'priority':_0x9ace5(0x2dd)})||_0x3e9359[_0x9ace5(0x286)]()[_0x9ace5(0x209)](-0x7532,_0x9ace5(0x2ba),_0x30183f),yield!0x1,this[_0x9ace5(0x244)]());});}[_0x33eb04(0x279)](_0x2d3302){return _0x456a25(this,0x0,void 0x0,function*(){const _0x403eb0=_0x5abc;_0x3e9359[_0x403eb0(0x286)]()[_0x403eb0(0x2cf)](0x2713,_0x403eb0(0x1a2),_0x2d3302),this['refuseAll']?_0x3e9359[_0x403eb0(0x286)]()[_0x403eb0(0x2a2)](_0x403eb0(0x2cc),_0x2d3302):(this[_0x403eb0(0x2b1)][_0x403eb0(0x2ea)]({'payload':_0x2d3302,'priority':_0x403eb0(0x2c7)})||_0x3e9359['getInstance']()[_0x403eb0(0x209)](-0x7533,_0x403eb0(0x2ba),_0x2d3302),yield!0x1,this[_0x403eb0(0x2c3)]());});}}class _0x9caac2{['resolvePriorityLevel'](_0x4f1d28){const _0x1a6da5=_0x33eb04;let _0x44e224=null,_0x3818e0=null,_0x1b7781=null;for(let _0x46e892=0x0;_0x46e892<_0x4f1d28[_0x1a6da5(0x1f0)];_0x46e892++){const _0x1d09be=_0x4f1d28[_0x46e892];_0x1a6da5(0x2dd)===_0x1d09be?_0x44e224=_0x1a6da5(0x2dd):_0x1a6da5(0x213)===_0x1d09be?_0x3818e0='normal':_0x1a6da5(0x2c7)===_0x1d09be&&(_0x1b7781=_0x1a6da5(0x2c7));}return _0x44e224||_0x3818e0||_0x1b7781||_0x1a6da5(0x213);}['divideToBatches'](_0x3c3b02){const _0x2d8946=_0x33eb04,_0x280795=[];for(let _0x197cb5=0x0;_0x197cb5<_0x3c3b02[_0x2d8946(0x1f0)];_0x197cb5+=this[_0x2d8946(0x22c)])_0x280795[_0x2d8946(0x25d)](_0x3c3b02[_0x2d8946(0x224)](_0x197cb5,_0x197cb5+this[_0x2d8946(0x22c)]));return _0x280795;}[_0x33eb04(0x244)](){return _0x456a25(this,0x0,void 0x0,function*(){const _0x1ce3c2=_0x5abc;if(_0x3e9359['getInstance']()[_0x1ce3c2(0x181)](_0x1ce3c2(0x1d4)),this[_0x1ce3c2(0x2bd)][_0x1ce3c2(0x1f0)]){const _0x3dc5d2=this[_0x1ce3c2(0x2bd)];this[_0x1ce3c2(0x2bd)]=[];const _0x55da88=this[_0x1ce3c2(0x1bf)](_0x3dc5d2[_0x1ce3c2(0x33a)](_0x3b2ba7=>_0x3b2ba7[_0x1ce3c2(0x1e8)])),_0x358da8=this[_0x1ce3c2(0x275)](_0x3dc5d2);_0x3e9359[_0x1ce3c2(0x286)]()[_0x1ce3c2(0x181)](_0x1ce3c2(0x32c),_0x358da8);const _0x4bf53f=[];for(let _0x56f199=0x0;_0x56f199<_0x358da8['length'];_0x56f199++){const _0x57b0a5=_0x358da8[_0x56f199],_0xb699cf=yield this[_0x1ce3c2(0x284)](_0x57b0a5[_0x1ce3c2(0x33a)](_0x55ec2a=>_0x55ec2a[_0x1ce3c2(0x277)]))[_0x1ce3c2(0x28c)](_0x5c8e09=>(_0x3e9359[_0x1ce3c2(0x286)]()[_0x1ce3c2(0x209)](-0x9c41,_0x1ce3c2(0x2bf),_0x5c8e09,_0x57b0a5),null));_0xb699cf&&_0x4bf53f['push'](_0xb699cf);}_0x3e9359[_0x1ce3c2(0x286)]()[_0x1ce3c2(0x181)](_0x1ce3c2(0x248),_0x358da8),_0x4bf53f[_0x1ce3c2(0x2fe)](_0x5c1aa3=>{const _0x4caa03=_0x1ce3c2;this['requestHandler'][_0x4caa03(0x2d1)](_0x5c1aa3,_0x55da88);});}});}[_0x33eb04(0x1b8)](_0x3a586e){const _0x37c981=_0x33eb04;this[_0x37c981(0x2bd)]['push'](_0x3a586e),this[_0x37c981(0x2bd)][_0x37c981(0x1f0)]>=this['maxBatch']&&this['flush']();}constructor(_0x1f5518,_0x38db19,_0x161886=0xa){const _0x2a8990=_0x33eb04;this[_0x2a8990(0x283)]=_0x1f5518,this['pack']=_0x38db19,this[_0x2a8990(0x22c)]=_0x161886,this[_0x2a8990(0x2bd)]=[],_0x3e9359[_0x2a8990(0x286)]()[_0x2a8990(0x181)](_0x2a8990(0x18b));}[_0x33eb04(0x335)](_0x97d34){const _0x17aa01=_0x33eb04;_0x3e9359[_0x17aa01(0x286)]()[_0x17aa01(0x2cf)]('EventQueueConsumer#consume:\x20consuming\x20queue\x20data');for(let _0x5656bc=0x0;_0x5656bc<_0x97d34[_0x17aa01(0x1f0)];_0x5656bc++)this[_0x17aa01(0x1b8)](_0x97d34[_0x5656bc]);this[_0x17aa01(0x244)]();}}class _0x524e5c{constructor(_0x16ae0c){const _0x209b44=_0x33eb04;this['max']=0x1/0x0,_0x209b44(0x2de)==typeof _0x16ae0c&&_0x16ae0c>=0x1?this[_0x209b44(0x2d2)]=_0x16ae0c:void 0x0!==_0x16ae0c&&_0x3e9359['getInstance']()['warn']('Queue#constructor:\x20max\x20must\x20be\x20a\x20number\x20in\x20[1,\x20Infinity]\x20',_0x16ae0c),this[_0x209b44(0x189)]=[];}[_0x33eb04(0x2ea)](_0x2c1932){const _0x4ba117=_0x33eb04;return null===_0x2c1932?(_0x3e9359[_0x4ba117(0x286)]()[_0x4ba117(0x2a2)]('iQueue#enqueue:\x20null\x20is\x20not\x20acceptable'),!0x1):this[_0x4ba117(0x24a)]()>=this[_0x4ba117(0x2d2)]?(_0x3e9359['getInstance']()[_0x4ba117(0x2a2)](_0x4ba117(0x1c4)),!0x1):(this['list'][_0x4ba117(0x25d)](_0x2c1932),!0x0);}['dequeue'](){const _0x4af223=_0x33eb04;return this[_0x4af223(0x189)][_0x4af223(0x24e)]()||null;}['dequeueAll'](){const _0x120ae9=_0x33eb04,_0x3cec44=[];let _0x60edb7=null;for(;_0x60edb7=this[_0x120ae9(0x22a)](),null!==_0x60edb7;)_0x3cec44[_0x120ae9(0x25d)](_0x60edb7);return _0x3cec44;}['size'](){const _0x37a67c=_0x33eb04;return this[_0x37a67c(0x189)][_0x37a67c(0x1f0)];}}class _0x39b222 extends _0x524e5c{constructor(){const _0x42bb6a=_0x33eb04;super(...arguments),this[_0x42bb6a(0x2eb)]={'normal':new _0x524e5c(),'high':new _0x524e5c(),'low':new _0x524e5c()};}[_0x33eb04(0x2ea)](_0x3e07d2,_0x2e6cc7=_0x33eb04(0x213)){const _0x31b5f0=_0x33eb04;var _0x2640a8;return null===_0x3e07d2?(_0x3e9359['getInstance']()[_0x31b5f0(0x2a2)]('iQueue#enqueue:\x20null\x20is\x20not\x20acceptable'),!0x1):this['size']()>=this['max']?(_0x3e9359['getInstance']()[_0x31b5f0(0x2a2)]('iQueue#enqueue:\x20queue\x20overflow'),!0x1):(null===(_0x2640a8=this[_0x31b5f0(0x2eb)][_0x2e6cc7])||void 0x0===_0x2640a8?void 0x0:_0x2640a8[_0x31b5f0(0x2ea)](_0x3e07d2))||!0x1;}[_0x33eb04(0x22a)](){const _0x2a96bb=_0x33eb04;return this[_0x2a96bb(0x2eb)][_0x2a96bb(0x2dd)][_0x2a96bb(0x22a)]()||this[_0x2a96bb(0x2eb)][_0x2a96bb(0x213)][_0x2a96bb(0x22a)]()||this[_0x2a96bb(0x2eb)][_0x2a96bb(0x2c7)][_0x2a96bb(0x22a)]();}['size'](){const _0x4a9666=_0x33eb04;return this[_0x4a9666(0x2eb)]['high']['size']()+this['queues'][_0x4a9666(0x213)]['size']()+this['queues'][_0x4a9666(0x2c7)]['size']();}}class _0x24addd{constructor(_0x19f172,_0xa9c51b){const _0x55eea2=_0x33eb04;this[_0x55eea2(0x301)]=_0x19f172,this[_0x55eea2(0x219)]=_0xa9c51b,_0x3e9359[_0x55eea2(0x286)]()[_0x55eea2(0x181)](_0x55eea2(0x334));}['add'](_0x25a45b,_0x3a5199=_0x33eb04(0x213)){const _0x5c4c59=_0x33eb04;_0x3e9359['getInstance']()[_0x5c4c59(0x181)](0x2714,_0x5c4c59(0x1d1),{'requestData':_0x25a45b,'priorityLevel':_0x3a5199}),this['requestQueue']['enqueue'](_0x25a45b,_0x3a5199),this['queueLiveConsumer']['start']();}}const _0x2392e0=_0x33eb04(0x252),_0x38fa37=/^(?:[A-Z\d+/]{4})*?(?:[A-Z\d+/]{2}(?:==)?|[A-Z\d+/]{3}=?)?$/i;function _0x1f95f5(_0x1f80fc){const _0xf794f7=_0x33eb04;var _0x5c10e6;try{return JSON['stringify'](_0x1f80fc);}catch(_0x329af7){return null===(_0x5c10e6=null===console||void 0x0===console?void 0x0:console[_0xf794f7(0x2cf)])||void 0x0===_0x5c10e6||_0x5c10e6[_0xf794f7(0x324)](console,_0x329af7),'';}}function _0x3ff4ea(_0x2a5822){const _0x4165d8=_0x33eb04;var _0x3b22b5;if(_0x4165d8(0x2f2)!=typeof _0x2a5822)return null;try{return JSON[_0x4165d8(0x259)](_0x2a5822);}catch(_0x2d7c6f){return null===(_0x3b22b5=null===console||void 0x0===console?void 0x0:console[_0x4165d8(0x2cf)])||void 0x0===_0x3b22b5||_0x3b22b5[_0x4165d8(0x324)](console,_0x2d7c6f),null;}}function _0x3b2746(_0x4d845c){const _0x216742=function(_0x3c5af5){const _0x1c0fcb=_0x5abc;let _0x98e375;return _0x98e375=_0x1c0fcb(0x182)==typeof _0x3c5af5?_0x1f95f5(_0x3c5af5):_0x3c5af5,function(_0x5c1b4b){const _0x2af7ab=_0x1c0fcb;var _0x3be3ce;let _0xa4f9ed,_0x128285,_0x55859b,_0x5c870c,_0x31c206='',_0x89347c=0x0;const _0x1a006d=(_0x5c1b4b=String(_0x5c1b4b))[_0x2af7ab(0x1f0)]%0x3;for(;_0x89347c<_0x5c1b4b[_0x2af7ab(0x1f0)];)((_0x128285=_0x5c1b4b[_0x2af7ab(0x1fb)](_0x89347c++))>0xff||(_0x55859b=_0x5c1b4b['charCodeAt'](_0x89347c++))>0xff||(_0x5c870c=_0x5c1b4b[_0x2af7ab(0x1fb)](_0x89347c++))>0xff)&&(null===(_0x3be3ce=null===console||void 0x0===console?void 0x0:console[_0x2af7ab(0x2cf)])||void 0x0===_0x3be3ce||_0x3be3ce[_0x2af7ab(0x324)](console,'Failed\x20to\x20execute\x20\x27btoa\x27\x20on\x20\x27Window\x27:\x20The\x20string\x20to\x20be\x20encoded\x20contains\x20characters\x20outside\x20of\x20the\x20Latin1\x20range.')),_0xa4f9ed=_0x128285<<0x10|_0x55859b<<0x8|_0x5c870c,_0x31c206+=_0x2392e0[_0x2af7ab(0x208)](_0xa4f9ed>>0x12&0x3f)+_0x2392e0[_0x2af7ab(0x208)](_0xa4f9ed>>0xc&0x3f)+_0x2392e0[_0x2af7ab(0x208)](_0xa4f9ed>>0x6&0x3f)+_0x2392e0[_0x2af7ab(0x208)](0x3f&_0xa4f9ed);return _0x1a006d?_0x31c206[_0x2af7ab(0x224)](0x0,_0x1a006d-0x3)+'==='[_0x2af7ab(0x2a7)](_0x1a006d):_0x31c206;}(encodeURIComponent(_0x98e375)[_0x1c0fcb(0x1be)](/%([0-9A-F]{2})/g,(_0x2453fd,_0x3e72c5)=>String[_0x1c0fcb(0x330)](Number('0x'+_0x3e72c5))));}(_0x1f95f5(_0x4d845c));return{'data':_0x216742,'crc':function(_0x50f6fb){const _0x2ce87e=_0x5abc;let _0x513aa0=0x0,_0x58dc55=null;if(0x0===_0x50f6fb[_0x2ce87e(0x1f0)])return _0x513aa0;for(let _0x49b36a=0x0;_0x49b36a<_0x50f6fb[_0x2ce87e(0x1f0)];_0x49b36a++)_0x58dc55=_0x50f6fb[_0x2ce87e(0x1fb)](_0x49b36a),_0x513aa0=(_0x513aa0<<0x5)-_0x513aa0+_0x58dc55,_0x513aa0&=_0x513aa0;return _0x513aa0;}(_0x216742)};}function _0x3294e0(){const _0x24d225=_0x33eb04;let _0x362099=new Date()['getTime'](),_0x48fbb7=_0x24d225(0x1ad)!=typeof performance&&performance[_0x24d225(0x2fc)]&&0x3e8*performance[_0x24d225(0x2fc)]()||0x0;return _0x24d225(0x294)[_0x24d225(0x1be)](/[xy]/g,_0xfcf608=>{const _0x2dc468=_0x24d225;let _0x165e3f=0x10*Math['random']();return _0x362099>0x0?(_0x165e3f=(_0x362099+_0x165e3f)%0x10|0x0,_0x362099=Math[_0x2dc468(0x296)](_0x362099/0x10)):(_0x165e3f=(_0x48fbb7+_0x165e3f)%0x10|0x0,_0x48fbb7=Math[_0x2dc468(0x296)](_0x48fbb7/0x10)),('x'===_0xfcf608?_0x165e3f:0x3&_0x165e3f|0x8)[_0x2dc468(0x28a)](0x10);});}function _0x26a74d(_0x5b62ed){const _0x25e2ec=_0x33eb04;return _0x25e2ec(0x2f2)==typeof _0x5b62ed&&!!_0x5b62ed;}function _0x18047b(_0x5f327e){const _0x19590c=_0x33eb04;return _0x19590c(0x2de)==typeof _0x5f327e&&Number[_0x19590c(0x211)](_0x5f327e)&&_0x5f327e>0x0;}function _0x5800b3(_0x574215){const _0x36aad5=_0x33eb04;return _0x3a17b9=>_0x36aad5(0x2de)==typeof _0x3a17b9&&Number[_0x36aad5(0x211)](_0x3a17b9)&&_0x3a17b9>=_0x574215;}function _0x7958fa(_0x5b368a,_0x5e6dd0,_0x345e45){const _0x1006b3=_0x33eb04;if(!_0x5e6dd0(_0x5b368a)){const _0x3a8c33=(null==_0x5e6dd0?void 0x0:_0x5e6dd0['name'])||_0x1006b3(0x340),_0x455fbe=JSON[_0x1006b3(0x2cb)](_0x5b368a);throw new Error((_0x345e45||'Invalid\x20Param')+_0x1006b3(0x29d)+_0x455fbe+_0x1006b3(0x2f7)+_0x3a8c33);}}class _0x3cf636{constructor(_0x14903a,_0x1d3398,_0x251e30=''){const _0x21eb42=_0x33eb04;this[_0x21eb42(0x2a6)]=_0x14903a,this[_0x21eb42(0x1fa)]=_0x1d3398,this[_0x21eb42(0x1c1)]=_0x251e30,this[_0x21eb42(0x31a)]=Date[_0x21eb42(0x2fc)](),this[_0x21eb42(0x1c9)]=Date[_0x21eb42(0x2fc)](),this['id']=_0x3294e0();}[_0x33eb04(0x289)](){const _0x51b105=_0x33eb04;this['id']=_0x3294e0();const _0xe5847d=Date[_0x51b105(0x2fc)]();this[_0x51b105(0x31a)]=_0xe5847d,this[_0x51b105(0x1c9)]=_0xe5847d;}[_0x33eb04(0x2c0)](){const _0x5c38e4=_0x33eb04,_0x56dd89=Date[_0x5c38e4(0x2fc)]();_0x56dd89-this[_0x5c38e4(0x31a)]>this['maxSessionTime']||_0x56dd89-this[_0x5c38e4(0x1c9)]>this[_0x5c38e4(0x1fa)]?this[_0x5c38e4(0x289)]():this[_0x5c38e4(0x1c9)]=_0x56dd89;}['getSessionId'](){const _0x1d0d63=_0x33eb04;return this[_0x1d0d63(0x2c0)](),this['id'];}}function _0x3cbe9c(_0xca1cd1,_0x14177e,_0x25a794,_0x29580a,_0x40bacd){const _0x4872ba=_0x33eb04;_0x14177e=void 0x0!==_0x14177e?Number[_0x4872ba(0x269)](+_0x14177e)?0x6:_0x14177e:0x6;const _0x167732=new WeakMap();return JSON[_0x4872ba(0x2cb)](function _0x338df0(_0x1ae26c,_0x395fd6,_0x597e8e,_0x4c9348,_0x399b23){const _0x3acdfb=_0x4872ba;return _0x1ae26c&&_0x3acdfb(0x182)==typeof _0x1ae26c?(_0x399b23=_0x167732['has'](_0x1ae26c),_0x167732[_0x3acdfb(0x1f1)](_0x1ae26c,!0x0),_0x4c9348=Array[_0x3acdfb(0x18c)](_0x1ae26c),_0x399b23?_0x597e8e=null:JSON[_0x3acdfb(0x2cb)](_0x1ae26c,(_0x842de7,_0x2b7610)=>{const _0x328a57=_0x3acdfb;if(_0x4c9348||_0x395fd6>0x0){if(!_0x842de7)return _0x4c9348=Array[_0x328a57(0x18c)](_0x2b7610),_0x1ae26c=_0x2b7610;!_0x597e8e&&(_0x597e8e=_0x4c9348?[]:{}),_0x597e8e[_0x842de7]=_0x338df0(_0x2b7610,_0x4c9348?_0x395fd6:_0x395fd6-0x1);}}),void 0x0===_0x597e8e?_0x4c9348?[]:{}:_0x597e8e):_0x1ae26c;}(_0xca1cd1,_0x14177e),null,_0x29580a);}class _0x2d1fc6{constructor(_0x3a17b2,_0x4287b4,_0x353d51,_0x4b8468,_0x519a11,_0x3ef601=!0x1,_0x55922b=null,_0x31a65e=0x3,_0x3a4f6a=null,_0x4b2b4c=0x3){const _0x36e923=_0x33eb04;this[_0x36e923(0x17b)]=_0x3a17b2,this[_0x36e923(0x1ab)]=_0x4287b4,this[_0x36e923(0x1ac)]=_0x353d51,this[_0x36e923(0x328)]=_0x4b8468,this['dumpBalance']=_0x519a11,this['enableBalance']=_0x3ef601,this[_0x36e923(0x2e7)]=_0x55922b,this[_0x36e923(0x282)]=_0x31a65e,this[_0x36e923(0x22e)]=_0x3a4f6a,this[_0x36e923(0x278)]=_0x4b2b4c,this['active']=!0x1,this['concurrent']=0x0,this['p']=Promise[_0x36e923(0x210)](),this[_0x36e923(0x1e3)]=new Map(),this['balanceTaskTimer']=0x0,_0x3e9359[_0x36e923(0x286)]()[_0x36e923(0x181)](_0x36e923(0x320));}['loadTask'](){return _0x456a25(this,0x0,void 0x0,function*(){const _0x5d25a5=_0x5abc;var _0x5f36e2;if(!this[_0x5d25a5(0x18f)])return void _0x3e9359['getInstance']()['warn'](_0x5d25a5(0x33c));if(this[_0x5d25a5(0x32e)]>=this['maxConcurrent'])return void _0x3e9359['getInstance']()[_0x5d25a5(0x2a2)](_0x5d25a5(0x21c));const _0x856ae7=this[_0x5d25a5(0x17b)]['dequeue']();if(null===_0x856ae7)return _0x3e9359[_0x5d25a5(0x286)]()['info'](_0x5d25a5(0x315)),void(this[_0x5d25a5(0x18f)]=!0x1);_0x3e9359[_0x5d25a5(0x286)]()['log'](_0x5d25a5(0x1c0),(null===(_0x5f36e2=null==_0x856ae7?void 0x0:_0x856ae7[_0x5d25a5(0x1ef)])||void 0x0===_0x5f36e2?void 0x0:_0x5f36e2[_0x5d25a5(0x239)])||''),this[_0x5d25a5(0x1a7)](_0x856ae7),this[_0x5d25a5(0x21d)]();});}[_0x33eb04(0x2bc)](){const _0x92aea5=_0x33eb04;this[_0x92aea5(0x32e)]=this['concurrent']+0x1;}['concurrentDecrement'](){this['concurrent']=Math['max'](0x0,this['concurrent']-0x1);}[_0x33eb04(0x1ca)](_0x5e5a25){const _0xd50d99=_0x33eb04;switch((null==_0x5e5a25?void 0x0:_0x5e5a25[_0xd50d99(0x255)])||0x3e7){case 0xc8:case 0x1ba:case 0x1b3:case 0x3e7:return!0x1;default:return!0x0;}}['handleRequestError'](_0x12da9b,_0xa39acd){const _0x39087a=_0x33eb04,{source:_0x82e29}=_0x12da9b;if(this[_0x39087a(0x1ca)](_0xa39acd)&&(null==_0x82e29?void 0x0:_0x82e29[_0x39087a(0x239)])){const _0x447d07=this[_0x39087a(0x1e3)][_0x39087a(0x1b4)](_0x82e29[_0x39087a(0x239)])||0x0;_0x447d07<this[_0x39087a(0x278)]?(this[_0x39087a(0x1e3)]['set'](_0x82e29[_0x39087a(0x239)],_0x447d07+0x1),_0x3e9359[_0x39087a(0x286)]()[_0x39087a(0x181)](_0x39087a(0x1cc)+(_0x447d07+0x1)+_0x39087a(0x212),_0x12da9b),this[_0x39087a(0x17b)][_0x39087a(0x2ea)](_0x12da9b,'low'),this[_0x39087a(0x1f6)]()):_0x3e9359[_0x39087a(0x286)]()[_0x39087a(0x181)](_0x39087a(0x254),_0x12da9b);}}[_0x33eb04(0x1e9)](){return _0x456a25(this,0x0,void 0x0,function*(){const _0x3b6ece=_0x5abc;_0x3e9359[_0x3b6ece(0x286)]()[_0x3b6ece(0x2cf)]('iRequestQueueLiveConsumer#balanceTask');const _0x1946cf=yield this[_0x3b6ece(0x1db)]();_0x3e9359['getInstance']()[_0x3b6ece(0x2cf)](_0x3b6ece(0x1cd),_0x1946cf),_0x1946cf&&(_0x3e9359['getInstance']()['log'](_0x3b6ece(0x218)),this['priorityQueue'][_0x3b6ece(0x2ea)](_0x1946cf,'low'),this[_0x3b6ece(0x1f6)]());});}[_0x33eb04(0x1a8)](){const _0x3dfcbe=_0x33eb04;this['enableBalance']?this[_0x3dfcbe(0x2e7)]?(this['balanceTaskTimer']&&(_0x3e9359[_0x3dfcbe(0x286)]()[_0x3dfcbe(0x2cf)](_0x3dfcbe(0x347)),clearTimeout(this[_0x3dfcbe(0x25c)])),_0x3e9359['getInstance']()[_0x3dfcbe(0x2cf)](_0x3dfcbe(0x25f),this['balanceInterval']),this[_0x3dfcbe(0x25c)]=setTimeout(()=>{const _0x780f15=_0x3dfcbe;this[_0x780f15(0x25c)]=0x0,this[_0x780f15(0x1e9)]();},this[_0x3dfcbe(0x2e7)])):_0x3e9359[_0x3dfcbe(0x286)]()[_0x3dfcbe(0x2a2)](_0x3dfcbe(0x18d)):_0x3e9359['getInstance']()[_0x3dfcbe(0x2cf)](_0x3dfcbe(0x346));}[_0x33eb04(0x1a7)](_0x48b414){return _0x456a25(this,0x0,void 0x0,function*(){const _0x2abd2d=_0x5abc;var _0x44e787,_0x3ef373,_0x4aef49,_0x2ee64e,_0x570297,_0x150c75,_0x48d90e,_0x5c97fc;this[_0x2abd2d(0x2bc)]();try{const {type:_0x175eea,source:_0x4ca0e4}=_0x48b414;if(_0x2abd2d(0x1ab)===_0x175eea){_0x3e9359[_0x2abd2d(0x286)]()[_0x2abd2d(0x181)](0x2715,'iRequestQueueLiveConsumer#request:\x20send\x20request'),null===(_0x3ef373=null===(_0x44e787=this[_0x2abd2d(0x22e)])||void 0x0===_0x44e787?void 0x0:_0x44e787['onRequestBegin'])||void 0x0===_0x3ef373||_0x3ef373[_0x2abd2d(0x324)](_0x44e787,_0x4ca0e4);const _0x1ef62a=_0x3b2746(_0x4ca0e4),_0x32d4e1=yield this['upload'](_0x1ef62a);0xc8===_0x32d4e1[_0x2abd2d(0x255)]?(_0x3e9359[_0x2abd2d(0x286)]()[_0x2abd2d(0x29f)](_0x2abd2d(0x1d6),_0x32d4e1),null===(_0x2ee64e=null===(_0x4aef49=this[_0x2abd2d(0x22e)])||void 0x0===_0x4aef49?void 0x0:_0x4aef49[_0x2abd2d(0x2d8)])||void 0x0===_0x2ee64e||_0x2ee64e['call'](_0x4aef49,_0x4ca0e4,_0x32d4e1),this[_0x2abd2d(0x328)](Date[_0x2abd2d(0x2fc)](),_0x4ca0e4['request_id']),this['checkBalance']()):(_0x3e9359[_0x2abd2d(0x286)]()[_0x2abd2d(0x209)](-0xea61,_0x2abd2d(0x312),_0x32d4e1),null===(_0x150c75=null===(_0x570297=this[_0x2abd2d(0x22e)])||void 0x0===_0x570297?void 0x0:_0x570297[_0x2abd2d(0x1bd)])||void 0x0===_0x150c75||_0x150c75[_0x2abd2d(0x324)](_0x570297,_0x4ca0e4,_0x32d4e1),yield this['p'],this[_0x2abd2d(0x263)](_0x48b414,_0x32d4e1));}else{if(_0x2abd2d(0x1ac)===_0x175eea){const _0x181fbf=_0x3b2746(_0x4ca0e4),_0x23dbd2=yield this['balance'](_0x181fbf);0xc8===_0x23dbd2['code']?_0x3e9359[_0x2abd2d(0x286)]()[_0x2abd2d(0x29f)](_0x2abd2d(0x31d),_0x23dbd2):(_0x3e9359[_0x2abd2d(0x286)]()[_0x2abd2d(0x209)](-0xea64,_0x2abd2d(0x27e),_0x23dbd2),yield this['p'],this[_0x2abd2d(0x263)](_0x48b414,_0x23dbd2));}else _0x3e9359['getInstance']()[_0x2abd2d(0x209)](-0xea62,_0x2abd2d(0x1cb),_0x48b414);}}catch(_0x31c39c){_0x3e9359['getInstance']()[_0x2abd2d(0x209)](-0xea63,'iRequestQueueLiveConsumer#request:\x20request\x20operation\x20failed',_0x31c39c),null===(_0x5c97fc=null===(_0x48d90e=this[_0x2abd2d(0x22e)])||void 0x0===_0x48d90e?void 0x0:_0x48d90e[_0x2abd2d(0x1bd)])||void 0x0===_0x5c97fc||_0x5c97fc[_0x2abd2d(0x324)](_0x48d90e,_0x48b414[_0x2abd2d(0x1ef)],_0x31c39c);}this[_0x2abd2d(0x303)](),yield this['p'],this[_0x2abd2d(0x21d)]();});}['isConsuming'](){const _0x3333ba=_0x33eb04;return this[_0x3333ba(0x18f)];}[_0x33eb04(0x1f6)](){const _0x217efb=_0x33eb04;this[_0x217efb(0x18f)]||(_0x3e9359[_0x217efb(0x286)]()['info'](_0x217efb(0x201)),this[_0x217efb(0x18f)]=!0x0,this[_0x217efb(0x21d)]());}[_0x33eb04(0x2d7)](){const _0x1b3a1e=_0x33eb04;this['active']&&(_0x3e9359['getInstance']()['info'](_0x1b3a1e(0x1de)),this[_0x1b3a1e(0x18f)]=!0x1);}}class _0xa9d0ca{constructor(){const _0x19fd47=_0x33eb04;this['interval']=0xea60,this[_0x19fd47(0x291)]=[],this['requests']=[];}['recordEvent'](_0x3a37b3){const _0x343639=_0x33eb04;return!!_0x18047b(_0x3a37b3)&&(this[_0x343639(0x291)][_0x343639(0x25d)]({'time':_0x3a37b3}),!0x0);}['recordRequest'](_0x13caaa){const _0x4ec5e3=_0x33eb04;return!!_0x18047b(_0x13caaa)&&(this['requests'][_0x4ec5e3(0x25d)]({'time':_0x13caaa}),!0x0);}[_0x33eb04(0x1f4)](){const _0x5db9a8=_0x33eb04,_0x54d678={};function _0x105169(){return{'sequence_id':_0x3294e0(),'event_count':0x0,'post_count':0x0};}function _0x230518(_0x304a19,_0x275525){const _0x51aac2=_0x5abc;'event'===_0x304a19?_0x275525['event_count']++:_0x51aac2(0x1a7)===_0x304a19&&_0x275525['post_count']++;}return this[_0x5db9a8(0x291)][_0x5db9a8(0x2fe)](_0x165ce9=>{const _0x45d78e=_0x5db9a8,_0x543a90=Math[_0x45d78e(0x296)](_0x165ce9['time']/this[_0x45d78e(0x2d3)])*this[_0x45d78e(0x2d3)];_0x230518(_0x45d78e(0x26e),_0x54d678[_0x543a90]||(_0x54d678[_0x543a90]=_0x105169()));}),this[_0x5db9a8(0x1a9)][_0x5db9a8(0x2fe)](_0x256229=>{const _0xd70b7f=_0x5db9a8,_0xf55e05=Math[_0xd70b7f(0x296)](_0x256229[_0xd70b7f(0x276)]/this[_0xd70b7f(0x2d3)])*this[_0xd70b7f(0x2d3)];_0x230518(_0xd70b7f(0x1a7),_0x54d678[_0xf55e05]||(_0x54d678[_0xf55e05]=_0x105169()));}),this[_0x5db9a8(0x291)]=[],this[_0x5db9a8(0x1a9)]=[],_0x54d678;}}class _0x3f7951{[_0x33eb04(0x1fe)](_0x10f270){const _0x2da377=_0x33eb04;var _0x299e28,_0x45401d;let _0x32119b=0x0,_0x4bb79e=0x0;if(Array[_0x2da377(0x18c)](null==_0x10f270?void 0x0:_0x10f270[_0x2da377(0x1e2)]))for(let _0x444464=0x0;_0x444464<_0x10f270[_0x2da377(0x1e2)]['length'];_0x444464++){const {eventGroup:_0x34dffc,eventId:_0x5d0935}=_0x10f270[_0x2da377(0x1e2)][_0x444464]||{};'string'==typeof _0x34dffc&&_0x34dffc&&_0x2da377(0x2f2)==typeof _0x5d0935&&_0x5d0935&&(this[_0x2da377(0x291)]||(this[_0x2da377(0x291)]={}),this['events'][_0x34dffc]||(this[_0x2da377(0x291)][_0x34dffc]={}),this[_0x2da377(0x291)][_0x34dffc][_0x5d0935]||(this[_0x2da377(0x291)][_0x34dffc][_0x5d0935]=!0x0)),_0x32119b++;}if(Array[_0x2da377(0x18c)](null==_0x10f270?void 0x0:_0x10f270[_0x2da377(0x1c5)]))for(let _0x36401a=0x0;_0x36401a<_0x10f270[_0x2da377(0x1c5)]['length'];_0x36401a++){const {eventGroup:_0x63d402,eventId:_0x4a506b}=_0x10f270[_0x2da377(0x1c5)][_0x36401a]||{};(null===(_0x45401d=null===(_0x299e28=this['events'])||void 0x0===_0x299e28?void 0x0:_0x299e28[_0x63d402])||void 0x0===_0x45401d?void 0x0:_0x45401d[_0x4a506b])&&(this[_0x2da377(0x291)][_0x63d402][_0x4a506b]=!0x1),_0x4bb79e++;}_0x3e9359[_0x2da377(0x286)]()[_0x2da377(0x181)]('CloudConfig#resolveEvents:\x20事件规则解析完成,',_0x2da377(0x2fa)+_0x32119b+_0x2da377(0x1d7)+_0x4bb79e+'\x20条,最终允许的事件为:',this[_0x2da377(0x291)]);}[_0x33eb04(0x22f)](){const _0x2aa4bd=_0x33eb04;return _0x2aa4bd(0x1dd)+this[_0x2aa4bd(0x1e6)]+'_CONFIG';}[_0x33eb04(0x2e9)](){const _0x23ecf5=_0x33eb04;return _0x23ecf5(0x187)+this[_0x23ecf5(0x1e6)];}['getUpdateUrl'](){const _0x4c428b=_0x33eb04,_0x2c320a=this['env'][_0x4c428b(0x24b)](),_0x3483db=this[_0x4c428b(0x285)][_0x4c428b(0x24b)]();return _0x4c428b(0x205)===_0x2c320a?_0x4c428b(0x2e3):_0x4c428b(0x33d)===_0x2c320a||'pre'===_0x2c320a?_0x4c428b(0x190):'cn'===_0x3483db?'https://appconf.heytapdownload.com/js/v2/checkUpdate':'sg'===_0x3483db?_0x4c428b(0x20e):_0x4c428b(0x2d4)+_0x3483db+_0x4c428b(0x321);}[_0x33eb04(0x2ce)](){const _0x2d9f05=_0x33eb04,_0x48e2f5=this['region'];switch(_0x48e2f5){case'cn':return _0x2d9f05(0x27d);case'us':case'in':case'sg':return'https://obus-jssdk-'+_0x48e2f5+_0x2d9f05(0x1f5);case'eu':return _0x2d9f05(0x24f);default:return'https://obus-jssdk-sg.heytapmobile.com';}}['getUrlBase'](_0x1c0982){const _0x4d4f24=_0x33eb04,_0xb1491=this['region'][_0x4d4f24(0x2f5)](),_0xea0de3=_0x4d4f24(0x24d);return''+((_0x4d4f24(0x31e)===this[_0x4d4f24(0x288)]?{'CN':_0x4d4f24(0x1da),'IN':_0x4d4f24(0x1e7),'SG':_0x4d4f24(0x29b),'EU':_0x4d4f24(0x2ae),'US':'https://obus-dc-us.heytapmobile.com'}:{'CN':_0xea0de3,'IN':_0xea0de3,'SG':_0xea0de3,'EU':_0xea0de3,'US':_0xea0de3})[_0xb1491]||'https://obus-sg.dc.heytapmobile.com')+_0x1c0982+'?app_key='+this[_0x4d4f24(0x264)]+'&timestamp='+Date['now']();}[_0x33eb04(0x2b6)](){const _0x162587=_0x33eb04;return this[_0x162587(0x2ab)](_0x162587(0x317)+this[_0x162587(0x1e6)]);}[_0x33eb04(0x2e5)](){const _0x559963=_0x33eb04;return this[_0x559963(0x2ab)]('/v3/balance/js/'+this[_0x559963(0x1e6)]);}[_0x33eb04(0x2e4)](){return _0x456a25(this,0x0,void 0x0,function*(){const _0x55d18b=_0x5abc;var _0x447f04;const _0x40984f=this[_0x55d18b(0x2ce)](),_0x16831c=this[_0x55d18b(0x270)](),_0x54a7af=this[_0x55d18b(0x22f)](),_0x49eee5={'itemList':[{'configCode':_0x54a7af,'version':0x0}],'productId':this[_0x55d18b(0x2e9)](),'systemCondition':{'regionCode':this[_0x55d18b(0x285)]}},_0x43181e=_0x40984f+_0x55d18b(0x333)+encodeURIComponent(_0x1f95f5(_0x49eee5))+'&url='+encodeURIComponent(_0x16831c),_0xad6f64=yield this[_0x55d18b(0x1a7)]('get',_0x43181e);if(Array['isArray'](null===(_0x447f04=null==_0xad6f64?void 0x0:_0xad6f64[_0x55d18b(0x273)])||void 0x0===_0x447f04?void 0x0:_0x447f04[_0x55d18b(0x19c)])){const _0x325e62=_0xad6f64[_0x55d18b(0x273)]['item_list'][_0x55d18b(0x1dc)](_0x35a7dc=>!!_0x35a7dc[_0x55d18b(0x1a0)]&&_0x35a7dc[_0x55d18b(0x17c)]>0x0)[_0x55d18b(0x228)](_0x575ff4=>_0x575ff4['config_code']===_0x54a7af);if(_0x325e62)return _0x3e9359['getInstance']()[_0x55d18b(0x2cf)](_0x55d18b(0x1c2)),_0x325e62;}return _0x3e9359[_0x55d18b(0x286)]()['error'](-0x4e21,_0x55d18b(0x180),null==_0xad6f64?void 0x0:_0xad6f64[_0x55d18b(0x273)],_0x54a7af),null;});}['fetchCdnFile'](){return _0x456a25(this,0x0,void 0x0,function*(){const _0x55a228=_0x5abc;var _0x1a7d81;const _0x3a7da0=yield this['fetchUpdate']();if(_0x3a7da0){const _0x15241a=this[_0x55a228(0x2ce)]()+_0x55a228(0x21f)+(null==_0x3a7da0?void 0x0:_0x3a7da0[_0x55a228(0x1a0)]),_0x46bac9=yield this[_0x55a228(0x1a7)](_0x55a228(0x1b4),_0x15241a);if(_0x55a228(0x2f2)==typeof(null===(_0x1a7d81=null==_0x46bac9?void 0x0:_0x46bac9[_0x55a228(0x273)])||void 0x0===_0x1a7d81?void 0x0:_0x1a7d81[_0x55a228(0x1d2)])&&_0x46bac9['data']['cryptoStr']){const _0x2846f7=_0x3ff4ea(function(_0x564ccc){const _0x241df2=_0x55a228;if(_0x564ccc=String(_0x564ccc)['replace'](/[\t\n\f\r ]+/g,''),!_0x38fa37[_0x241df2(0x33d)](_0x564ccc))return'';let _0x37f55c;_0x564ccc+='=='[_0x241df2(0x224)](0x2-(0x3&_0x564ccc[_0x241df2(0x1f0)]));let _0x375fe4,_0x29b0e2,_0x4a08a2='',_0x29dd97=0x0;for(;_0x29dd97<_0x564ccc[_0x241df2(0x1f0)];)_0x37f55c=_0x2392e0['indexOf'](_0x564ccc['charAt'](_0x29dd97++))<<0x12|_0x2392e0['indexOf'](_0x564ccc[_0x241df2(0x208)](_0x29dd97++))<<0xc|(_0x375fe4=_0x2392e0['indexOf'](_0x564ccc[_0x241df2(0x208)](_0x29dd97++)))<<0x6|(_0x29b0e2=_0x2392e0[_0x241df2(0x1d5)](_0x564ccc[_0x241df2(0x208)](_0x29dd97++))),_0x4a08a2+=0x40===_0x375fe4?String[_0x241df2(0x330)](_0x37f55c>>0x10&0xff):0x40===_0x29b0e2?String['fromCharCode'](_0x37f55c>>0x10&0xff,_0x37f55c>>0x8&0xff):String[_0x241df2(0x330)](_0x37f55c>>0x10&0xff,_0x37f55c>>0x8&0xff,0xff&_0x37f55c);return _0x4a08a2;}(_0x46bac9[_0x55a228(0x273)]['cryptoStr']));if(_0x2846f7)return _0x2846f7;_0x3e9359[_0x55a228(0x286)]()[_0x55a228(0x209)](-0x4e22,_0x55a228(0x1b0));}else _0x3e9359['getInstance']()[_0x55a228(0x209)](-0x4e23,_0x55a228(0x1fc));}else _0x3e9359[_0x55a228(0x286)]()[_0x55a228(0x209)](-0x4e24,_0x55a228(0x348));return null;});}[_0x33eb04(0x2ff)](){return _0x456a25(this,0x0,void 0x0,function*(){const _0x2a7983=_0x5abc;var _0x2e2d9f,_0x13cc6f,_0x5b0a6c,_0x4aa28e,_0x201390,_0x3329cd,_0x5d5b7c;_0x3e9359['getInstance']()[_0x2a7983(0x181)](_0x2a7983(0x31b)),this[_0x2a7983(0x21a)]=!0x1;const _0x36b792=_0x3294e0();if(this[_0x2a7983(0x322)]=_0x36b792,yield this['p'],this[_0x2a7983(0x2f8)]){if(_0x3e9359[_0x2a7983(0x286)]()['warn'](_0x2a7983(0x225)),this[_0x2a7983(0x322)]!==_0x36b792)return void _0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x2a2)]('CloudConfig#update:\x20taskId\x20abandon\x20task');try{if(yield this[_0x2a7983(0x1ed)],this[_0x2a7983(0x322)]!==_0x36b792)return void _0x3e9359[_0x2a7983(0x286)]()['warn'](_0x2a7983(0x2c6));_0x3e9359['getInstance']()[_0x2a7983(0x181)](0x2711,_0x2a7983(0x2cd)),this['ready']=!0x0,null===(_0x2e2d9f=this[_0x2a7983(0x18e)])||void 0x0===_0x2e2d9f||_0x2e2d9f[_0x2a7983(0x324)](this);}catch(_0x57a580){_0x3e9359[_0x2a7983(0x286)]()['error'](-0x4e25,_0x2a7983(0x27c),_0x57a580),this['crashed']=!0x0,null===(_0x13cc6f=this[_0x2a7983(0x2a4)])||void 0x0===_0x13cc6f||_0x13cc6f[_0x2a7983(0x324)](this);}}else{const _0x513154=yield null===(_0x5b0a6c=this[_0x2a7983(0x23c)])||void 0x0===_0x5b0a6c?void 0x0:_0x5b0a6c['get']();this[_0x2a7983(0x23c)]&&(_0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x181)](_0x2a7983(0x258)),_0x513154?_0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x181)](_0x2a7983(0x229),_0x513154):_0x3e9359['getInstance']()['info'](_0x2a7983(0x2f9)));let _0x45e8ba=_0x513154||null;if(_0x45e8ba||(_0x45e8ba=yield this[_0x2a7983(0x337)](),_0x3e9359[_0x2a7983(0x286)]()['info'](_0x2a7983(0x266),_0x45e8ba)),_0x45e8ba){if(this[_0x2a7983(0x322)]!==_0x36b792)return void _0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x2a2)]('CloudConfig#update:\x20taskId\x20abandon\x20current\x20task');null===(_0x4aa28e=this[_0x2a7983(0x23c)])||void 0x0===_0x4aa28e||_0x4aa28e[_0x2a7983(0x1f1)](_0x45e8ba),this[_0x2a7983(0x1fe)](_0x45e8ba);try{if(yield this[_0x2a7983(0x1ed)],this[_0x2a7983(0x322)]!==_0x36b792)return void _0x3e9359['getInstance']()[_0x2a7983(0x2a2)](_0x2a7983(0x21b));_0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x181)](0x2711,_0x2a7983(0x1ea)),this[_0x2a7983(0x21a)]=!0x0,null===(_0x201390=this[_0x2a7983(0x18e)])||void 0x0===_0x201390||_0x201390[_0x2a7983(0x324)](this);}catch(_0x2acd8f){_0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x209)](-0x4e26,_0x2a7983(0x27c),_0x2acd8f),this[_0x2a7983(0x25a)]=!0x0,null===(_0x3329cd=this[_0x2a7983(0x2a4)])||void 0x0===_0x3329cd||_0x3329cd[_0x2a7983(0x324)](this);}}else _0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x209)](-0x4e27,_0x2a7983(0x280)),this[_0x2a7983(0x25a)]=!0x0,null===(_0x5d5b7c=this[_0x2a7983(0x2a4)])||void 0x0===_0x5d5b7c||_0x5d5b7c[_0x2a7983(0x324)](this);}this[_0x2a7983(0x2db)]['push'](Date['now']()),_0x3e9359[_0x2a7983(0x286)]()[_0x2a7983(0x181)]('CloudConfig#update:\x20cloud\x20config\x20init\x20end');});}['checkUpdate'](){return _0x456a25(this,0x0,void 0x0,function*(){const _0x14918f=_0x5abc;_0x3e9359[_0x14918f(0x286)]()['log'](_0x14918f(0x2b2)),this[_0x14918f(0x1e5)]()?_0x3e9359['getInstance']()['log'](_0x14918f(0x268)):this['isReady']()?this[_0x14918f(0x2f8)]?_0x3e9359[_0x14918f(0x286)]()[_0x14918f(0x2cf)]('CloudConfig#checkUpdate:\x20instance\x20config\x20is\x20skipCloudConfig,\x20skip\x20update'):Date[_0x14918f(0x2fc)]()-this['lastUpdatedAt']>this[_0x14918f(0x206)]&&(this[_0x14918f(0x256)]=Date['now'](),this[_0x14918f(0x23c)]?(_0x3e9359[_0x14918f(0x286)]()['info']('CloudConfig#checkUpdate:\x20checking(cache\x20mode)'),(yield this['configCache'][_0x14918f(0x1b4)]())||(_0x3e9359[_0x14918f(0x286)]()['info'](_0x14918f(0x2c5)),this['forceUpdate']())):(_0x3e9359[_0x14918f(0x286)]()['info'](_0x14918f(0x242)),Date['now']()-this[_0x14918f(0x1e0)]>this[_0x14918f(0x184)]&&(_0x3e9359[_0x14918f(0x286)]()[_0x14918f(0x181)]('CloudConfig#checkUpdate:\x20force\x20update'),this['forceUpdate']()))):_0x3e9359[_0x14918f(0x286)]()[_0x14918f(0x2cf)]('CloudConfig#checkUpdate:\x20instance\x20state\x20is\x20not\x20ready,\x20skip\x20update');});}constructor(_0x2d6380){const _0x5431ca=_0x33eb04;this[_0x5431ca(0x21a)]=!0x1,this[_0x5431ca(0x25a)]=!0x1,this[_0x5431ca(0x291)]={},this['p']=Promise['resolve'](),this[_0x5431ca(0x304)]=Date[_0x5431ca(0x2fc)](),this[_0x5431ca(0x2db)]=[],this[_0x5431ca(0x322)]='',this[_0x5431ca(0x1e0)]=Date[_0x5431ca(0x2fc)](),this[_0x5431ca(0x256)]=Date[_0x5431ca(0x2fc)](),this[_0x5431ca(0x23c)]=null,this[_0x5431ca(0x20b)]=null,this[_0x5431ca(0x20a)]={};const {request:_0x11866b,appId:_0x12cac0,appKey:_0xd304d7,region:_0xff60a2,env:_0x83dcd7,preconditionTask:_0x307dd1,cache:_0x53fbe1,validateTime:_0x37b7b9,checkUpdateTime:_0xb626f1,balance:_0x4a8f3d,skipCloudConfig:_0x91c683}=_0x2d6380;if(this[_0x5431ca(0x1a7)]=_0x11866b,this[_0x5431ca(0x1e6)]=_0x12cac0,this[_0x5431ca(0x264)]=_0xd304d7,this['region']=_0xff60a2,this[_0x5431ca(0x288)]=_0x83dcd7,this[_0x5431ca(0x184)]=_0x37b7b9,this[_0x5431ca(0x206)]=_0xb626f1,this['skipCloudConfig']=!!_0x91c683,_0x3e9359['getInstance']()['info']('CloudConfig:\x20initialize'),this['configCache']=_0x53fbe1?new _0x9584e7(_0x53fbe1,_0x12cac0,this['validateTime']):null,_0x4a8f3d&&(this[_0x5431ca(0x20b)]=new _0xa9d0ca()),this['upload']=this[_0x5431ca(0x1ab)][_0x5431ca(0x195)](this),this[_0x5431ca(0x1ac)]=this[_0x5431ca(0x1ac)][_0x5431ca(0x195)](this),this['checkUpdate']=this['checkUpdate']['bind'](this),this[_0x5431ca(0x2a5)]=this['recordEvent'][_0x5431ca(0x195)](this),this['recordRequest']=this[_0x5431ca(0x328)]['bind'](this),_0x5431ca(0x2af)==typeof _0x307dd1)try{const _0x10dce2=_0x307dd1();if(!(_0x10dce2 instanceof Promise))throw new TypeError(_0x5431ca(0x247));this['preconditionPromise']=_0x10dce2;}catch(_0x8c911c){_0x3e9359[_0x5431ca(0x286)]()[_0x5431ca(0x209)](-0x4e28,(null==_0x8c911c?void 0x0:_0x8c911c[_0x5431ca(0x249)])||_0x5431ca(0x292)),this[_0x5431ca(0x1ed)]=Promise[_0x5431ca(0x210)]();}else this[_0x5431ca(0x1ed)]=_0x307dd1 instanceof Promise?_0x307dd1:Promise['resolve']();this['update']();}['isReady'](){return!!this['isCrashed']&&this['ready'];}[_0x33eb04(0x1e5)](){const _0x3b1534=_0x33eb04;return this[_0x3b1534(0x25a)];}[_0x33eb04(0x2e0)](_0x43be21){const _0x169ad3=_0x33eb04;var _0xe623d4,_0x4abdb2,_0x2f5da4;const _0x2b38e6=(null==_0x43be21?void 0x0:_0x43be21['eventGroup'])||'',_0x1e8e59=(null==_0x43be21?void 0x0:_0x43be21['eventId'])||'',_0x4d9fd4=(null==_0x43be21?void 0x0:_0x43be21['sequenceId'])||'';return this[_0x169ad3(0x21a)]?_0x169ad3(0x2f2)==typeof _0x2b38e6&&_0x2b38e6?_0x169ad3(0x2f2)==typeof _0x1e8e59&&_0x1e8e59?_0x169ad3(0x2f2)==typeof _0x4d9fd4&&_0x4d9fd4?(null===(_0xe623d4=this[_0x169ad3(0x20a)])||void 0x0===_0xe623d4?void 0x0:_0xe623d4[_0x4d9fd4])?(_0x3e9359[_0x169ad3(0x286)]()['warn']('CloudConfig#validate:\x20sequenceId\x20repeated',_0x43be21),!0x1):(this['memIdCache'][_0x4d9fd4]=!0x0,'test'===this[_0x169ad3(0x288)]||_0x169ad3(0x338)===this[_0x169ad3(0x288)]||!(0x0!==_0x1e8e59[_0x169ad3(0x1d5)]('$')||!/^\$track_/[_0x169ad3(0x33d)](_0x2b38e6))||!!this[_0x169ad3(0x2f8)]||!!(null===(_0x2f5da4=null===(_0x4abdb2=this[_0x169ad3(0x291)])||void 0x0===_0x4abdb2?void 0x0:_0x4abdb2[_0x2b38e6])||void 0x0===_0x2f5da4?void 0x0:_0x2f5da4[_0x1e8e59])):(_0x3e9359[_0x169ad3(0x286)]()[_0x169ad3(0x2a2)](_0x169ad3(0x245),_0x43be21),!0x1):(_0x3e9359[_0x169ad3(0x286)]()[_0x169ad3(0x2a2)](_0x169ad3(0x274),_0x43be21),!0x1):(_0x3e9359[_0x169ad3(0x286)]()['warn'](_0x169ad3(0x300),_0x43be21),!0x1):(_0x3e9359[_0x169ad3(0x286)]()[_0x169ad3(0x2a2)](_0x169ad3(0x27a),_0x43be21),!0x1);}[_0x33eb04(0x2a5)](_0xa32481,_0x30b32d){const _0x2ef229=_0x33eb04;var _0x32d0ef;return(null===(_0x32d0ef=this['balanceInstance'])||void 0x0===_0x32d0ef?void 0x0:_0x32d0ef[_0x2ef229(0x2a5)](_0xa32481))||!0x1;}['recordRequest'](_0x3ca828,_0x59b692){const _0x229f2e=_0x33eb04;var _0x3cb0c9;return(null===(_0x3cb0c9=this[_0x229f2e(0x20b)])||void 0x0===_0x3cb0c9?void 0x0:_0x3cb0c9['recordRequest'](_0x3ca828))||!0x1;}[_0x33eb04(0x1db)](){const _0x2fda1f=_0x33eb04;if(this[_0x2fda1f(0x20b)]){const _0x7e6c79=this[_0x2fda1f(0x20b)][_0x2fda1f(0x1f4)]();return _0x3e9359['getInstance']()[_0x2fda1f(0x2cf)](_0x2fda1f(0x23a),_0x7e6c79),_0x7e6c79;}return _0x3e9359['getInstance']()[_0x2fda1f(0x2cf)](_0x2fda1f(0x198)),null;}[_0x33eb04(0x1ab)](_0x8218a5){return _0x456a25(this,0x0,void 0x0,function*(){const _0x154f77=_0x5abc;var _0x41f473,_0x5c318c,_0x5c98ca;_0x3e9359['getInstance']()[_0x154f77(0x181)](_0x154f77(0x1d0));const _0x1f812d=yield this[_0x154f77(0x1a7)](_0x154f77(0x31f),this['getUploadUrl'](),'data='+encodeURIComponent(_0x8218a5['data'])+_0x154f77(0x250)+encodeURIComponent(_0x8218a5[_0x154f77(0x299)]));return 0xc8!==(null===(_0x41f473=null==_0x1f812d?void 0x0:_0x1f812d[_0x154f77(0x273)])||void 0x0===_0x41f473?void 0x0:_0x41f473[_0x154f77(0x255)])&&_0x3e9359[_0x154f77(0x286)]()[_0x154f77(0x2a2)](_0x154f77(0x1b1),_0x1f812d),this['p'][_0x154f77(0x1a3)](this[_0x154f77(0x290)]),{'code':(null===(_0x5c318c=null==_0x1f812d?void 0x0:_0x1f812d['data'])||void 0x0===_0x5c318c?void 0x0:_0x5c318c['code'])||-0x1,'message':(null===(_0x5c98ca=null==_0x1f812d?void 0x0:_0x1f812d['data'])||void 0x0===_0x5c98ca?void 0x0:_0x5c98ca['msg'])||''};});}[_0x33eb04(0x1ac)](_0x2d09ab){return _0x456a25(this,0x0,void 0x0,function*(){const _0x355780=_0x5abc;var _0x1b3c6b,_0x2b0a80,_0x6d0eae;_0x3e9359[_0x355780(0x286)]()[_0x355780(0x181)](_0x355780(0x25e));const _0x525f35=yield this[_0x355780(0x1a7)]('post',this['getBalanceUrl'](),_0x355780(0x24c)+encodeURIComponent(_0x2d09ab[_0x355780(0x273)])+_0x355780(0x250)+encodeURIComponent(_0x2d09ab[_0x355780(0x299)]));return 0xc8!==(null===(_0x1b3c6b=null==_0x525f35?void 0x0:_0x525f35[_0x355780(0x273)])||void 0x0===_0x1b3c6b?void 0x0:_0x1b3c6b[_0x355780(0x255)])&&_0x3e9359['getInstance']()[_0x355780(0x2a2)](_0x355780(0x1b9),_0x525f35),{'code':(null===(_0x2b0a80=null==_0x525f35?void 0x0:_0x525f35[_0x355780(0x273)])||void 0x0===_0x2b0a80?void 0x0:_0x2b0a80[_0x355780(0x255)])||-0x1,'message':(null===(_0x6d0eae=null==_0x525f35?void 0x0:_0x525f35['data'])||void 0x0===_0x6d0eae?void 0x0:_0x6d0eae['msg'])||''};});}[_0x33eb04(0x222)](){const _0x46b19a=_0x33eb04;var _0x1e7742;_0x3e9359[_0x46b19a(0x286)]()[_0x46b19a(0x181)]('CloudConfig#forceUpdate:\x20force\x20update\x20config'),this['crashed']?_0x3e9359[_0x46b19a(0x286)]()[_0x46b19a(0x2a2)](_0x46b19a(0x2b3)):(this['update'](),null===(_0x1e7742=this['onUnready'])||void 0x0===_0x1e7742||_0x1e7742[_0x46b19a(0x324)](this));}[_0x33eb04(0x23f)](){const _0x1c1258=_0x33eb04;return{'initializationStartAt':this[_0x1c1258(0x304)],'readyCallbackTimestamps':this['readyCallbackTimestamps']};}[_0x33eb04(0x18e)](){}['onUnready'](){}[_0x33eb04(0x2a4)](){}}class _0x9584e7{['getKey'](){const _0x1b8f1=_0x33eb04;return'OBUS_CLOUD_CONFIG_'+this[_0x1b8f1(0x1e6)];}constructor(_0x501d00,_0x26f43e,_0x2ad395){const _0x1f1c13=_0x33eb04;this['cache']=_0x501d00,this[_0x1f1c13(0x1e6)]=_0x26f43e,this[_0x1f1c13(0x238)]=_0x2ad395;}[_0x33eb04(0x1b4)](){return _0x456a25(this,0x0,void 0x0,function*(){const _0xe2ee85=_0x5abc,_0x263ad3=yield this['cache'][_0xe2ee85(0x1b4)](this[_0xe2ee85(0x313)]())[_0xe2ee85(0x28c)](()=>null);return null===_0x263ad3?null:_0x3ff4ea(_0x263ad3);});}[_0x33eb04(0x1f1)](_0x42dd82){return _0x456a25(this,0x0,void 0x0,function*(){const _0x95e3c6=_0x5abc,_0x4fa9de=_0x1f95f5(_0x42dd82);return yield this[_0x95e3c6(0x2bd)][_0x95e3c6(0x1f1)](this[_0x95e3c6(0x313)](),_0x4fa9de,this[_0x95e3c6(0x238)]);});}}class _0x267f06{constructor(_0x216734){const _0x3f1cad=_0x33eb04;this['options']=_0x216734;const {appId:_0x47b1ee,appKey:_0x4eded3,region:_0x1438b0,env