Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.65 KB | None | 0 0
  1. 'use strict';
  2. /** @type {!Array} */
  3. var a = ["w43DnMOUQk7DjCdb", "wq5iwoPCvsOI", "KMOkVMKY", "wqZjworDuWk="];
  4. (function(params, content) {
  5. /**
  6. * @param {?} selected_image
  7. * @return {undefined}
  8. */
  9. var fn = function(selected_image) {
  10. for (; --selected_image;) {
  11. params["push"](params["shift"]());
  12. }
  13. };
  14. /**
  15. * @return {undefined}
  16. */
  17. var build = function() {
  18. var target = {
  19. "data" : {
  20. "key" : "cookie",
  21. "value" : "timeout"
  22. },
  23. "setCookie" : function(value, name, path, headers) {
  24. headers = headers || {};
  25. /** @type {string} */
  26. var cookie = name + "=" + path;
  27. /** @type {number} */
  28. var url = 0;
  29. /** @type {number} */
  30. url = 0;
  31. var key = value["length"];
  32. for (; url < key; url++) {
  33. var i = value[url];
  34. /** @type {string} */
  35. cookie = cookie + ("; " + i);
  36. var char = value[i];
  37. value["push"](char);
  38. key = value["length"];
  39. if (char !== !![]) {
  40. /** @type {string} */
  41. cookie = cookie + ("=" + char);
  42. }
  43. }
  44. /** @type {string} */
  45. headers["cookie"] = cookie;
  46. },
  47. "removeCookie" : function() {
  48. return "dev";
  49. },
  50. "getCookie" : function(match, href) {
  51. match = match || function(canCreateDiscussions) {
  52. return canCreateDiscussions;
  53. };
  54. var v = match(new RegExp("(?:^|; )" + href["replace"](/([.$?*|{}()[]\/+^])/g, "$1") + "=([^;]*)"));
  55. /**
  56. * @param {!Function} callback
  57. * @param {number} i
  58. * @return {undefined}
  59. */
  60. var test = function(callback, i) {
  61. callback(++i);
  62. };
  63. test(fn, content);
  64. return v ? decodeURIComponent(v[1]) : undefined;
  65. }
  66. };
  67. /**
  68. * @return {?}
  69. */
  70. var init = function() {
  71. /** @type {!RegExp} */
  72. var test = new RegExp("\\w+ *\\(\\) *{\\w+ *['|\"].+['|\"];? *}");
  73. return test["test"](target["removeCookie"]["toString"]());
  74. };
  75. /** @type {function(): ?} */
  76. target["updateCookie"] = init;
  77. /** @type {string} */
  78. var array = "";
  79. var C$jscomp$0 = target["updateCookie"]();
  80. if (!C$jscomp$0) {
  81. target["setCookie"](["*"], "counter", 1);
  82. } else {
  83. if (C$jscomp$0) {
  84. array = target["getCookie"](null, "counter");
  85. } else {
  86. target["removeCookie"]();
  87. }
  88. }
  89. };
  90. build();
  91. })(a, 373);
  92. /**
  93. * @param {string} i
  94. * @param {string} a
  95. * @return {?}
  96. */
  97. var b = function(i, a) {
  98. /** @type {number} */
  99. i = i - 0;
  100. var e = a[i];
  101. if (b["qlvBQu"] === undefined) {
  102. (function() {
  103. var PL$14;
  104. try {
  105. var evaluate = Function("return (function() " + '{}.constructor("return this")( )' + ");");
  106. PL$14 = evaluate();
  107. } catch (h$jscomp$7) {
  108. /** @type {!Window} */
  109. PL$14 = window;
  110. }
  111. /** @type {string} */
  112. var listeners = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  113. if (!PL$14["atob"]) {
  114. /**
  115. * @param {?} i
  116. * @return {?}
  117. */
  118. PL$14["atob"] = function(i) {
  119. var str = String(i)["replace"](/=+$/, "");
  120. /** @type {number} */
  121. var bc = 0;
  122. var bs;
  123. var buffer;
  124. /** @type {number} */
  125. var Y = 0;
  126. /** @type {string} */
  127. var pix_color = "";
  128. for (; buffer = str["charAt"](Y++); ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer, bc++ % 4) ? pix_color = pix_color + String["fromCharCode"](255 & bs >> (-2 * bc & 6)) : 0) {
  129. buffer = listeners["indexOf"](buffer);
  130. }
  131. return pix_color;
  132. };
  133. }
  134. })();
  135. /**
  136. * @param {string} data
  137. * @param {!Object} fn
  138. * @return {?}
  139. */
  140. var testcase = function(data, fn) {
  141. /** @type {!Array} */
  142. var secretKey = [];
  143. /** @type {number} */
  144. var y = 0;
  145. var temp;
  146. /** @type {string} */
  147. var testResult = "";
  148. /** @type {string} */
  149. var tempData = "";
  150. /** @type {string} */
  151. data = atob(data);
  152. /** @type {number} */
  153. var val = 0;
  154. var key = data["length"];
  155. for (; val < key; val++) {
  156. /** @type {string} */
  157. tempData = tempData + ("%" + ("00" + data["charCodeAt"](val)["toString"](16))["slice"](-2));
  158. }
  159. /** @type {string} */
  160. data = decodeURIComponent(tempData);
  161. /** @type {number} */
  162. var x = 0;
  163. for (; x < 256; x++) {
  164. /** @type {number} */
  165. secretKey[x] = x;
  166. }
  167. /** @type {number} */
  168. x = 0;
  169. for (; x < 256; x++) {
  170. /** @type {number} */
  171. y = (y + secretKey[x] + fn["charCodeAt"](x % fn["length"])) % 256;
  172. temp = secretKey[x];
  173. secretKey[x] = secretKey[y];
  174. secretKey[y] = temp;
  175. }
  176. /** @type {number} */
  177. x = 0;
  178. /** @type {number} */
  179. y = 0;
  180. /** @type {number} */
  181. var i = 0;
  182. for (; i < data["length"]; i++) {
  183. /** @type {number} */
  184. x = (x + 1) % 256;
  185. /** @type {number} */
  186. y = (y + secretKey[x]) % 256;
  187. temp = secretKey[x];
  188. secretKey[x] = secretKey[y];
  189. secretKey[y] = temp;
  190. testResult = testResult + String["fromCharCode"](data["charCodeAt"](i) ^ secretKey[(secretKey[x] + secretKey[y]) % 256]);
  191. }
  192. return testResult;
  193. };
  194. /** @type {function(string, !Object): ?} */
  195. b["UUNXgi"] = testcase;
  196. b["VWcJfj"] = {};
  197. /** @type {boolean} */
  198. b["qlvBQu"] = !![];
  199. }
  200. var error = b["VWcJfj"][i];
  201. if (error === undefined) {
  202. if (b["TBReCv"] === undefined) {
  203. /**
  204. * @param {?} array
  205. * @return {undefined}
  206. */
  207. var Array = function(array) {
  208. this["zupRcF"] = array;
  209. /** @type {!Array} */
  210. this["LRuuXj"] = [1, 0, 0];
  211. /**
  212. * @return {?}
  213. */
  214. this["RsvaaT"] = function() {
  215. return "newState";
  216. };
  217. /** @type {string} */
  218. this["qpRWqP"] = "\\w+ *\\(\\) *{\\w+ *";
  219. /** @type {string} */
  220. this["MYrevd"] = "['|\"].+['|\"];? *}";
  221. };
  222. /**
  223. * @return {?}
  224. */
  225. Array["prototype"]["kpxCOM"] = function() {
  226. /** @type {!RegExp} */
  227. var test = new RegExp(this["qpRWqP"] + this["MYrevd"]);
  228. /** @type {number} */
  229. var artistTrack = test["test"](this["RsvaaT"]["toString"]()) ? --this["LRuuXj"][1] : --this["LRuuXj"][0];
  230. return this["BoxKJF"](artistTrack);
  231. };
  232. /**
  233. * @param {?} canCreateDiscussions
  234. * @return {?}
  235. */
  236. Array["prototype"]["BoxKJF"] = function(canCreateDiscussions) {
  237. if (!Boolean(~canCreateDiscussions)) {
  238. return canCreateDiscussions;
  239. }
  240. return this["XBAftd"](this["zupRcF"]);
  241. };
  242. /**
  243. * @param {?} saveNotifs
  244. * @return {?}
  245. */
  246. Array["prototype"]["XBAftd"] = function(saveNotifs) {
  247. /** @type {number} */
  248. var fp = 0;
  249. var len = this["LRuuXj"]["length"];
  250. for (; fp < len; fp++) {
  251. this["LRuuXj"]["push"](Math["round"](Math["random"]()));
  252. len = this["LRuuXj"]["length"];
  253. }
  254. return saveNotifs(this["LRuuXj"][0]);
  255. };
  256. (new Array(b))["kpxCOM"]();
  257. /** @type {boolean} */
  258. b["TBReCv"] = !![];
  259. }
  260. e = b["UUNXgi"](e, a);
  261. b["VWcJfj"][i] = e;
  262. } else {
  263. e = error;
  264. }
  265. return e;
  266. };
  267. var c = function() {
  268. /** @type {boolean} */
  269. var closeExpr = !![];
  270. return function(object__360, function__361) {
  271. /** @type {!Function} */
  272. var closingExpr = closeExpr ? function() {
  273. if (function__361) {
  274. var cssobj = function__361["apply"](object__360, arguments);
  275. /** @type {null} */
  276. function__361 = null;
  277. return cssobj;
  278. }
  279. } : function() {
  280. };
  281. /** @type {boolean} */
  282. closeExpr = ![];
  283. return closingExpr;
  284. };
  285. }();
  286. var e = c(this, function() {
  287. /**
  288. * @return {?}
  289. */
  290. var intval = function() {
  291. return "dev";
  292. };
  293. /**
  294. * @return {?}
  295. */
  296. var getDOMPath = function() {
  297. return "window";
  298. };
  299. /**
  300. * @return {?}
  301. */
  302. var testcase = function() {
  303. /** @type {!RegExp} */
  304. var test = new RegExp("\\w+ *\\(\\) *{\\w+ *['|\"].+['|\"];? *}");
  305. return !test["test"](intval["toString"]());
  306. };
  307. /**
  308. * @return {?}
  309. */
  310. var _stringify = function() {
  311. /** @type {!RegExp} */
  312. var test = new RegExp("(\\\\[x|u](\\w){2,4})+");
  313. return test["test"](getDOMPath["toString"]());
  314. };
  315. /**
  316. * @param {!Object} name
  317. * @return {undefined}
  318. */
  319. var matches = function(name) {
  320. /** @type {number} */
  321. var ms_controller = ~-1 >> 1 + 255 % 0;
  322. if (name["indexOf"]("i" === ms_controller)) {
  323. create(name);
  324. }
  325. };
  326. /**
  327. * @param {!Object} func
  328. * @return {undefined}
  329. */
  330. var create = function(func) {
  331. /** @type {number} */
  332. var n$jscomp$5 = ~-4 >> 1 + 255 % 0;
  333. if (func["indexOf"]((!![] + "")[3]) !== n$jscomp$5) {
  334. matches(func);
  335. }
  336. };
  337. if (!testcase()) {
  338. if (!_stringify()) {
  339. matches("ind\u0435xOf");
  340. } else {
  341. matches("indexOf");
  342. }
  343. } else {
  344. matches("ind\u0435xOf");
  345. }
  346. });
  347. e();
  348. window[b("0x0", "15vU")]();
  349. window[b("0x1", "(]1$")]("http://www.hampsterdance.com/classics/stagedance.htm");
  350. var d;
  351. /** @type {number} */
  352. d = 0;
  353. for (; d < 5; d++) {
  354. window[b("0x2", "OHA@")](b("0x3", "CiI*"));
  355. }
  356. ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement