View file hextris/js/kaiads.v3.min.js

File size: 3.11Kb
var _0x32a4=['split','http://127.0.0.1/sdk/ads/ads-sdk.min.js','catch','reject','then','test','every','Invalid\x20version\x20format','length','push','forEach','apply','getKaiAd','dummy','function','onerror','script','addEventListener','load','error','appendChild','navigator','getSelf','onsuccess','result','manifest','type','userAgent','toLowerCase'];(function(_0x458d88,_0x5798e7){var _0x482657=function(_0xa5709a){while(--_0xa5709a){_0x458d88['push'](_0x458d88['shift']());}};_0x482657(++_0x5798e7);}(_0x32a4,0xf2));var _0x1e40=function(_0x1bb7f7,_0x40fcc8){_0x1bb7f7=_0x1bb7f7-0x0;var _0x13ea60=_0x32a4[_0x1bb7f7];return _0x13ea60;};'use strict';// @ts-check
(function(){var _0x163cfb=this;var _0x451da1=[];var _0x5a0ad6=function _0x5a0ad6(_0x26c8ef){_0x451da1[_0x1e40('0x0')](function(_0x4af1e4){_0x26c8ef[_0x1e40('0x1')](_0x163cfb,_0x4af1e4);});_0x451da1=[];};window[_0x1e40('0x2')]=function(){_0x451da1['push'](arguments);};window[_0x1e40('0x2')][_0x1e40('0x3')]=!![];var _0x2c58c6=function _0x2c58c6(_0x176dae){if(typeof _0x176dae['onerror']===_0x1e40('0x4')){var _0x70061d=0x13;_0x176dae[_0x1e40('0x5')](_0x70061d);}};var _0x2a6bfe=function _0x2a6bfe(_0x3e9442){return new Promise(function(_0x2871b6,_0x23df19){var _0x37e9db=document['createElement'](_0x1e40('0x6'));_0x37e9db[_0x1e40('0x7')](_0x1e40('0x8'),function(){if(!getKaiAd||getKaiAd[_0x1e40('0x3')]){_0x23df19();}else{_0x2871b6();}});_0x37e9db[_0x1e40('0x7')](_0x1e40('0x9'),function(){_0x23df19();});_0x37e9db['src']=_0x3e9442;document['head'][_0x1e40('0xa')](_0x37e9db);});};window[_0x1e40('0xb')]['mozApps'][_0x1e40('0xc')]()[_0x1e40('0xd')]=function(_0x2dc8a9){var _0x180485=_0x2dc8a9['target'][_0x1e40('0xe')];var _0x5464bd;if(!_0x180485||!_0x180485[_0x1e40('0xf')]||!_0x180485[_0x1e40('0xf')]['type']||_0x180485['manifest'][_0x1e40('0x10')]==='web'){_0x5464bd=_0x2a6bfe('https://static.kaiads.com/ads-sdk/ads-sdk.v3.min.js');}if(!_0x5464bd){var _0x12fc28=window[_0x1e40('0xb')][_0x1e40('0x11')][_0x1e40('0x12')]()[_0x1e40('0x13')]('kaios/')[0x1];if(_0x12fc28&&_0x141746(_0x12fc28,'2.5')===0x1){_0x5464bd=_0x2a6bfe(_0x1e40('0x14'))[_0x1e40('0x15')](function(){return _0x2a6bfe('http://127.0.0.1:8081/sdk/ads/ads-sdk.min.js');});}}if(!_0x5464bd){_0x5464bd=Promise[_0x1e40('0x16')]();}_0x5464bd['catch'](function(){_0x5a0ad6(_0x2c58c6);window['getKaiAd']=_0x2c58c6;getKaiAd=_0x2c58c6;})[_0x1e40('0x17')](function(){_0x5a0ad6(getKaiAd);window['getKaiAd']=getKaiAd;});};function _0x141746(_0x2990f8,_0x1b6cce){var _0x58f74b=_0x2990f8['split']('.');var _0x18118f=_0x1b6cce[_0x1e40('0x13')]('.');function _0xd54480(_0x669e5e){return/^\d+$/[_0x1e40('0x18')](_0x669e5e);}if(!_0x58f74b[_0x1e40('0x19')](_0xd54480)||!_0x18118f['every'](_0xd54480)){throw new Error(_0x1e40('0x1a'));}while(_0x58f74b[_0x1e40('0x1b')]<_0x18118f[_0x1e40('0x1b')]){_0x58f74b['push']('0');}while(_0x18118f['length']<_0x58f74b[_0x1e40('0x1b')]){_0x18118f[_0x1e40('0x1c')]('0');}for(var _0x34c0de=0x0;_0x34c0de<_0x58f74b[_0x1e40('0x1b')];++_0x34c0de){if(_0x58f74b[_0x34c0de]==_0x18118f[_0x34c0de]){continue;}else if(_0x58f74b[_0x34c0de]>_0x18118f[_0x34c0de]){return 0x1;}else{return-0x1;}}return 0x0;}}());
//# sourceMappingURL=sdk-loader.js.map