View file under-moon-shadow/html5game/kaiads.min.js

File size: 3.8Kb
var a0_0x97c4=['','appendChild','test','addEventListener','catch','length','onerror','push','navigator','mozApps','type','hostname','forEach','endsWith','load','','','async','result','script','location','apply','then','.localhost','manifest','head','getKaiAd','web','reject','userAgent','dummy','error','src','getSelf','createElement','split'];(function(_0x1ad48b,_0x97c48f){var _0x12a6ec=function(_0x11c212){while(--_0x11c212){_0x1ad48b['push'](_0x1ad48b['shift']());}};_0x12a6ec(++_0x97c48f);}(a0_0x97c4,0xd4));var a0_0x12a6=function(_0x1ad48b,_0x97c48f){_0x1ad48b=_0x1ad48b-0x0;var _0x12a6ec=a0_0x97c4[_0x1ad48b];return _0x12a6ec;};'use strict';(function(){var _0x457a87=this,_0x5d8736=[],_0x5f3d51=function _0x212ebb(_0x493730){_0x5d8736[a0_0x12a6('0x10')](function(_0xb35be3){_0x493730[a0_0x12a6('0x19')](_0x457a87,_0xb35be3);}),_0x5d8736=[];};window[a0_0x12a6('0x1e')]=function(){_0x5d8736[a0_0x12a6('0xb')](arguments);},window[a0_0x12a6('0x1e')][a0_0x12a6('0x22')]=!![];var _0x12380d=function _0x25eaab(_0x3708a3){if(typeof _0x3708a3[a0_0x12a6('0xa')]==='function'){var _0x164442=0x13;_0x3708a3[a0_0x12a6('0xa')](_0x164442);}},_0xeacc58=function _0x6b8586(_0x23bc2b){return new Promise(function(_0x45ea96,_0x5ec98a){var _0x2c2f55=document[a0_0x12a6('0x2')]('script');_0x2c2f55['addEventListener'](a0_0x12a6('0x12'),function(){_0x45ea96();}),_0x2c2f55[a0_0x12a6('0x7')](a0_0x12a6('0x23'),function(){_0x5ec98a();}),_0x2c2f55[a0_0x12a6('0x0')]=_0x23bc2b,_0x2c2f55[a0_0x12a6('0x15')]=![],document['head'][a0_0x12a6('0x5')](_0x2c2f55);});},_0x28b24c=function _0x399e17(_0x4f2810){return new Promise(function(_0x355c79,_0x185516){var _0x132857=document[a0_0x12a6('0x2')](a0_0x12a6('0x17'));_0x132857['addEventListener']('load',function(){!getKaiAd||getKaiAd[a0_0x12a6('0x22')]?_0x185516():_0x355c79();}),_0x132857[a0_0x12a6('0x7')]('error',function(){_0x185516();}),_0x132857['src']=_0x4f2810,document[a0_0x12a6('0x1d')][a0_0x12a6('0x5')](_0x132857);});},_0x598f82;window[a0_0x12a6('0xc')][a0_0x12a6('0xd')]?window['navigator'][a0_0x12a6('0xd')][a0_0x12a6('0x1')]()['onsuccess']=function(_0x4ff815){var _0x580307=_0x4ff815['target'][a0_0x12a6('0x16')];(!_0x580307||!_0x580307['manifest']||!_0x580307[a0_0x12a6('0x1c')][a0_0x12a6('0xe')]||_0x580307[a0_0x12a6('0x1c')][a0_0x12a6('0xe')]===a0_0x12a6('0x1f'))&&(_0x598f82=_0x28b24c(''));if(!_0x598f82){var _0x3bf9d4=/ kaios\/((?:\d+.)*\d+)/gi['exec'](window[a0_0x12a6('0xc')][a0_0x12a6('0x21')]);_0x3bf9d4&&_0x432c75(_0x3bf9d4[0x1],'2.5')===0x1&&(_0x598f82=_0x28b24c(a0_0x12a6('0x14'))['catch'](function(){return _0x28b24c(a0_0x12a6('0x4'));}));}!_0x598f82&&(_0x598f82=Promise[a0_0x12a6('0x20')]()),_0x598f82[a0_0x12a6('0x8')](function(){_0x5f3d51(_0x12380d),window[a0_0x12a6('0x1e')]=_0x12380d,getKaiAd=_0x12380d;})[a0_0x12a6('0x1a')](function(){_0x5f3d51(getKaiAd),window[a0_0x12a6('0x1e')]=getKaiAd;});}:(/kaios/gi[a0_0x12a6('0x6')](window[a0_0x12a6('0xc')]['userAgent'])&&window[a0_0x12a6('0x18')][a0_0x12a6('0xf')][a0_0x12a6('0x11')](a0_0x12a6('0x1b'))?_0x598f82=_0x28b24c(''):_0x598f82=_0x28b24c(a0_0x12a6('0x13')),!_0x598f82&&(_0x598f82=Promise[a0_0x12a6('0x20')]()),_0x598f82[a0_0x12a6('0x8')](function(){_0x5f3d51(_0x12380d),window['getKaiAd']=_0x12380d,getKaiAd=_0x12380d;})[a0_0x12a6('0x1a')](function(){_0x5f3d51(getKaiAd),window[a0_0x12a6('0x1e')]=getKaiAd;}));function _0x432c75(_0x20ebef,_0x153396){var _0x1a6c74=_0x20ebef[a0_0x12a6('0x3')]('.'),_0x16fcae=_0x153396[a0_0x12a6('0x3')]('.');while(_0x1a6c74[a0_0x12a6('0x9')]<_0x16fcae[a0_0x12a6('0x9')]){_0x1a6c74[a0_0x12a6('0xb')]('0');}while(_0x16fcae[a0_0x12a6('0x9')]<_0x1a6c74[a0_0x12a6('0x9')]){_0x16fcae[a0_0x12a6('0xb')]('0');}for(var _0x482647=0x0;_0x482647<_0x1a6c74[a0_0x12a6('0x9')];++_0x482647){if(_0x1a6c74[_0x482647]==_0x16fcae[_0x482647])continue;else return _0x1a6c74[_0x482647]>_0x16fcae[_0x482647]?0x1:-0x1;}return 0x0;}}());
//# sourceMappingURL=sdk-loader.js.map