Skip to content

Instantly share code, notes, and snippets.

@sauyon
Created August 3, 2016 10:49
Show Gist options
  • Save sauyon/5802922f1f9594d59dd1527e2f6ffd95 to your computer and use it in GitHub Desktop.
Save sauyon/5802922f1f9594d59dd1527e2f6ffd95 to your computer and use it in GitHub Desktop.
define("util/ob", ["jquery"], function(a) {
var b = this,
c = 0,
d = 1,
e = 2,
f = "",
g = " ",
h = '"',
i = "#",
j = "*",
k = ",",
l = "-",
m = "/",
n = "3",
o = "5",
p = ":",
q = "=",
r = "A",
s = "D",
t = "F",
u = "G",
v = "I",
w = "J",
x = "M",
y = "N",
z = "O",
A = "P",
B = "S",
C = "T",
D = "U",
E = "[",
F = "]",
G = "^",
H = "_",
I = "a",
J = "b",
K = "c",
L = "d",
M = "e",
N = "f",
O = "g",
P = "h",
Q = "i",
R = "j",
S = "k",
T = "l",
U = "m",
V = "n",
W = "o",
X = "p",
Y = "q",
Z = "r",
$ = "s",
_ = "t",
aa = "u",
ba = "w",
ca = "x",
da = "y",
ea = "|",
fa = 1001,
ga = 1002,
ha = 4001,
ia = 7001,
ja = 8001,
ka = 8002,
la = 9001,
ma = 9002,
na = 9003,
oa = 9004,
pa = 9005,
qa = 3011,
ra = 5011,
sa = 10111,
ta = 20011,
ua = 30011,
va = 60101,
wa = U + I + S + M + r + Z + Z + I + da,
xa = R + W + Q + V,
ya = function() {
return a[wa](arguments)[xa](f)
},
za = ya(T, M, V, O, _, P),
Aa = {};
Aa[ya(K, W, V, _, M, V, _, C, da, X, M)] = ya(I, X, X, T, Q, K, I, _, Q, W, V, m, R, $, W, V), Aa[ya(L, I, _, I, C, da, X, M)] = ya(R, $, W, V), Aa[ya(_, da, X, M)] = ya(A, z, B, C);
var Ba = function(d, e) {
d = d || f, e = e || {}, e[ya(aa)] = b[ya(u, I, U, M)][ya(aa, $, M, Z, v, L)];
var g = e[ya(O)] !== c ? ya(O, K, m, O, K) : ya(W, J, m) + d;
Aa[ya(L, I, _, I)] = b[ya(w, B, z, y)][ya($, _, Z, Q, V, O, Q, N, da)](e), Aa[ya(aa, Z, T)] = b[ya(u, I, U, M)][ya(J, I, $, M, D, Z, Q)] + g, a[ya(I, R, I, ca)](Aa)
},
Ca = b[ya($, M, _, C, Q, U, M, W, aa, _)],
Da = {},
Ea = c,
Fa = function(a) {
if (Da[a] = (Da[a] || c) + d, !Ea) {
Ea = d;
var b = qa,
f = {};
f[ya(K)] = Da, f[ya(O)] = c, a === ga && Ja.length > c && (f[ya(O)] = Ja, Ia === e && (b = c)), Ca(function() {
Ba(ya(Z), f), Ea = c
}, b)
}
},
Ga = function(b, c, d, e) {
var f = a(c),
g = function(a) {
e(a) && (f[ya(W, N, N)](d, g), Fa(b))
};
f[ya(W, V)](d, g)
},
Ha = function(a, b, c, d) {
var e = function() {
d() ? Fa(a) : (a !== ha && (b += c), Ca(e, b))
};
Ca(e, b)
};
! function() {
var a = ya(_, da, X, M),
e = ya(_, I, X),
f = ya(ca),
h = ya(da),
j = b[ya(s, I, _, M)][ya(V, W, ba)],
k = c,
l = j();
Ga(fa, ya(i, ba, Z, I, X, X, M, Z), ya(U, W, aa, $, M, L, W, ba, V, g, U, W, aa, $, M, aa, X, g, _, W, aa, K, P, $, _, I, Z, _, g, _, W, aa, K, P, M, V, L, g, _, I, X), function(b) {
return b[a] === e ? k = (b[f] || b[h]) && j() - l < ra ? c : k + d : l = j(), k > n
})
}();
var Ia = c,
Ja = [];
! function() {
var b = ya(_, da, X, M),
c = ya(_, I, X),
f = ya(ca),
h = ya(da),
j = ya(_, I, Z, O, M, _),
k = ya(K, T, I, $, $, y, I, U, M),
m = 10104,
n = 20206,
o = a(ya(i, ba, Z, I, X, X, M, Z)),
p = ya(U, W, aa, $, M, L, W, ba, V, g, U, W, aa, $, M, aa, X, g, _, W, aa, K, P, $, _, I, Z, _, g, _, W, aa, K, P, M, V, L, g, _, I, X),
q = function(a) {
var g = a[j][k];
a[b] === c && g.match(ya(J, _, V, l, I, _, _, I, K, S, l, $, _, I, Z, _, ea, $, a, l, Y, aa, a, $, _, l, $, _, I, Z, _)) && (Ia = g.match(ya(J, _, V, l, I, _, _, I, K, S, l, $, _, I, Z, _)) ? d : e, Ja = [Ia, m + a[f], n + a[h]], Fa(ga))
};
o[ya(W, V)](p, q)
}(),
function() {
var a = ya(K, Z, M, I, _, M, R, $),
c = ya(C, Q, K, S, M, Z),
d = ya(O, M, _, t, A, B),
e = ya(n, o);
Ha(ia, ra, sa, function() {
return b[a] && b[a][c] && b[a][c][d] && b[a][c][d]() > e
})
}(),
function() {
var b = ya($, K, Z, Q, X, _, E, $, Z, K, G, q, h, K, P, Z, W, U, M, l, M, ca, _, M, V, $, Q, W, V, p, m, m, N, O, X, W, S, X, S, V, M, P, O, T, K, Q, W, Q, R, M, R, N, M, M, J, Q, O, L, V, J, V, W, S, R, h, F, k, T, Q, V, S, E, P, Z, M, N, G, q, h, K, P, Z, W, U, M, l, M, ca, _, M, V, $, Q, W, V, p, m, m, N, O, X, W, S, X, S, V, M, P, O, T, K, Q, W, Q, R, M, R, N, M, M, J, Q, O, L, V, J, V, W, S, R, h, F);
Ha(ja, sa, va, function() {
return a(b)[za]
})
}(),
function() {
var b = ya(E, Q, L, G, q, U, S, _, H, F, k, E, K, T, I, $, $, G, q, U, S, _, H, F);
Ha(ka, sa, va, function() {
return a(b)[za]
})
}(),
function() {
var b = ya(E, Q, L, G, q, O, J, N, C, W, W, T, F);
Ha(la, ra, ta, function() {
return a(b)[za]
})
}(),
function() {
var b = ya($, K, Z, Q, X, _, E, Q, L, G, q, O, N, M, H, F);
Ha(ma, ua, va, function() {
return a(b)[za]
})
}(),
function() {
var b = ya(E, Q, L, G, q, O, aa, Z, I, J, aa, Z, aa, F);
Ha(na, ra, ta, function() {
return a(b)[za]
})
}(),
function() {
var b = ya($, K, Z, Q, X, _, E, Q, L, G, q, _, S, M, H, F);
Ha(oa, ua, va, function() {
return a(b)[za]
})
}(),
function() {
var b = ya(Q, V, X, aa, _, E, Q, L, j, q, _, M, U, X, W, Z, I, Z, da, H, $, U, I, T, T, F);
Ha(pa, ra, ta, function() {
return a(b)[za]
})
}(),
function() {
var a = (b[ya(x, I, _, P)][ya(N, T, W, W, Z)], b[ya(x, I, _, P)][ya(Z, I, V, L, W, U)], b[ya(T, W, K, I, _, Q, W, V)][ya(P, I, $, P)][ya($, X, T, Q, _)](m)[c]);
Ha(ha, sa, c, function() {
return a !== ya(L, M, J, aa, O)
})
}()
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment