From 883b23f3b58cd4ff8e064c4bba02b03e603fe91a Mon Sep 17 00:00:00 2001 From: peshomir Date: Sat, 24 Aug 2024 12:59:14 +0000 Subject: [PATCH] deploy: 287f58db6223f03de9d12ab4818067508a02b9c4 --- fx_core.js | 2 +- game.js | 10823 ++++++++++++++++++++++++++------------------------- index.html | 8 +- 3 files changed, 5458 insertions(+), 5375 deletions(-) diff --git a/fx_core.js b/fx_core.js index 7e0f23c..a40d16f 100644 --- a/fx_core.js +++ b/fx_core.js @@ -1,4 +1,4 @@ -const dictionary = {"gIsTeamGame":"hl","game":"a4","playerId":"es","playerData":"aZ","playerNames":"l3","rawPlayerNames":"vM","playerBalances":"et","playerTerritories":"ep","gameState":"uU","fontSize":"fontSize","x":"ff","y":"fg","canvas":"gM","gHumans":"ip","playerStates":"xv","fontGeneratorFunction":"b3.kt.ky","gIsSingleplayer":"jD","gLobbyMaxJoin":"sE","SingleplayerMenu":"aS","getSingleplayerPlayerCount":"yx","gMaxPlayers":"f1","gBots":"jA","Translations":"m","txt":"n","strs":"a4g","uiSizes":"bR","gap":"gap","i":"a2"}; +const dictionary = {"gIsTeamGame":"hl","game":"a2","playerId":"es","playerData":"aX","playerNames":"l3","rawPlayerNames":"vM","playerBalances":"et","playerTerritories":"ep","gameState":"uU","fontSize":"fontSize","x":"ff","y":"fg","canvas":"gM","gHumans":"ip","playerStates":"xu","fontGeneratorFunction":"b2.kt.ky","gIsSingleplayer":"jD","gLobbyMaxJoin":"sE","SingleplayerMenu":"aQ","getSingleplayerPlayerCount":"yw","gMaxPlayers":"f1","gBots":"jA","L":"L","strs":"a4g","uiSizes":"bQ","gap":"gap","i":"a0"}; const fx_version = '0.6.5.3'; // FX Client Version const fx_update = 'Aug 3'; // FX Client Last Updated diff --git a/game.js b/game.js index 850c478..044b92b 100644 --- a/game.js +++ b/game.js @@ -1,46 +1,46 @@ function a() { var b, c; - function t() { - var w = new x; - w.y(1612), w.z(1, 0), w.z(6, 7), w.z(2, o ? o.id : 3), w.z(1, a0 ? 1 : 0), w.z(1, a1 ? 1 : 0), w.z(1, e ? e.f : 0); - for (var a2 = 0; a2 < c.length && a2 < 100; a2++) w.z(16, c.charCodeAt(a2)); - b.send(w.a3), u() + function r() { + var u = new v; + u.w(1612), u.x(1, 0), u.x(6, 7), u.x(2, m ? m.id : 3), u.x(1, y ? 1 : 0), u.x(1, z ? 1 : 0), u.x(1, e ? e.f : 0); + for (var a0 = 0; a0 < c.length && a0 < 100; a0++) u.x(16, c.charCodeAt(a0)); + b.send(u.a1), s() } - function u() { + function s() { b && (b.onclose = null, b.onopen = null, b = null) } window.addEventListener("error", function error(d) { window.removeEventListener("error", error); return alert("Error:\n" + d.filename + " " + d.lineno + " " + d.colno + " " + d.message); window.removeEventListener("error", error), c = d.lineno + " " + d.colno + " " + d.message, e && 1 === e.f && (g.h(), i.j(4, 5, new k("🤖 Beep Boop! An error occurred.", c + - "
Please report this error message to davidtschacher@gmail.com. Please also describe the actions you took before this error occurred.", !0, [new l("🔄 " + m.n[124], function() { - o.p.q() - }, r.s)]))), (b = new WebSocket("wss://territorial.io/s52/")).onopen = t, b.onclose = function() { - u() - }, 0 === d.lineno && 0 === d.colno || (o && 1 === o.id ? o.v.showToast(c) : alert(c)) + "
Please report this error message to davidtschacher@gmail.com. Please also describe the actions you took before this error occurred.", !0, [new l("🔄 Reload", function() { + m.n.o() + }, p.q)]))), (b = new WebSocket("wss://territorial.io/s52/")).onopen = r, b.onclose = function() { + s() + }, 0 === d.lineno && 0 === d.colno || (m && 1 === m.id ? m.t.showToast(c) : alert(c)) }) } -var e, a4, a5, a6, a7, a8, a9, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, at, au, av, aw, ax, ay, az, b0, m, b1, b2, - b3, r, b4, b5, b6, b7, b8, b9, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, i, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, o, bX, bY, bZ, g, ba, dO, dP, dQ, a0, dR, a1, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ, h7, h6, h8, a1x, - jw, iW, is, iq, wA, ku, sl, a5X, z3, z4; +var e, a2, a3, a4, a5, a6, a7, a8, a9, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, at, au, av, aw, ax, ay, az, b0, b1, + b2, p, b3, b4, b5, b6, b7, b8, b9, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, i, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, m, bW, bX, bY, g, bZ, dO, dP, dQ, y, dR, z, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ, h7, h6, h8, a1w, jw, + iW, is, iq, w8, ku, sl, a5X, z2, z3; -function bb() { - e || (bd(), bC = new be, bB = new bf, b3 = new bg, r = new bh, a4 = new bi, b6 = new bj, b7 = new bk, a5 = new bl, a6 = new bm, a7 = new bn, a8 = new bo, a9 = new bp, aA = new bq, aB = new br, aC = new bs, aD = new bt, aE = new bu, aF = new bv, - aG = new bw, aH = new bx, aI = new by, aJ = new bz, aK = new c0, aL = new c1, aM = new c2, aN = new c3, aO = new c4, aP = new c5, aQ = new c6, aR = new c7, aS = new c8, aT = new c9, aU = new cA, aV = new cB, aW = new cC, aX = new cD, aa = - new cE, aY = new cF, aZ = new cG, ab = new cH, ar = new cI, ac = new cJ, ae = new cK, af = new cL, ag = new cM, at = new cN, aq = new cO, ah = new cP, ad = new cQ, ai = new cR, aj = new cS, ak = new cT, ap = new cU, al = new cV, am = - new cW, an = new cX, ao = new cY, au = new cZ, av = new ca, aw = new cb, ax = new cc, ay = new cd, az = new ce, b0 = new cf, b1 = new cg, b2 = new ch, b4 = new ci, b5 = new x, b8 = new cj, b9 = new ck, bA = new cl, bD = new cm, bE = - new cn, bF = new co, bG = new cp, bH = new cq, bI = new cr, bJ = new cs, bK = new ct, i = new cu, bL = new cv, m = new cw, o = new cx, e = new cy, bX = new cz, bY = new d0, bV = new d1, bW = new d2, bP = new d3, bQ = new d4, bM = new d5, - bS = new d6, bT = new d7, bU = new d8, bZ = new d9, bR = new dA, g = new dB, ba = new dC, e.dE(), o.dE(), ap.dF(), bY.dE(), m.dE(), ba.dE(), b3.dE(), aV.dE(), bM.dE(), at.dE(), b6.dE(), b7.dE(), bJ.dE(), i.dE(), bN = new dG, ap.dE(), o.p - .dH(), bU.dE(), bR.dE(), bO = new dI, aq.dE(), aX.dJ(), bL.dE(), ae.dE(), aR.dE(), az.dE(), aK.dE(), ab.dE(), bA.dE(), aT.dE(), bU.dK = !0, setTimeout(function() { - bJ.y(2, 14071) - }, 0), i.j(5, 5), b9.dL(), o.p.dM(), ap.dN(), e.f = 1) +function ba() { + e || (bc(), bB = new bd, bA = new be, b2 = new bf, p = new bg, a2 = new bh, az = new bi, b5 = new bj, b6 = new bk, a3 = new bl, a4 = new bm, a5 = new bn, a6 = new bo, a7 = new bp, a8 = new bq, a9 = new br, aA = new bs, aB = new bt, aC = new bu, + aD = new bv, aE = new bw, aF = new bx, aG = new by, aH = new bz, aI = new c0, aJ = new c1, aK = new c2, aL = new c3, aM = new c4, aN = new c5, aO = new c6, aP = new c7, aQ = new c8, aR = new c9, aS = new cA, aT = new cB, aU = new cC, aV = + new cD, aY = new cE, aW = new cF, aX = new cG, aZ = new cH, ap = new cI, aa = new cJ, ac = new cK, ad = new cL, ae = new cM, aq = new cN, ao = new cO, af = new cP, ab = new cQ, ag = new cR, ah = new cS, ai = new cT, an = new cU, aj = + new cV, ak = new cW, al = new cX, am = new cY, ar = new cZ, at = new ca, au = new cb, av = new cc, aw = new cd, ax = new ce, ay = new cf, b0 = new cg, b1 = new ch, b3 = new ci, b4 = new v, b7 = new cj, b8 = new ck, b9 = new cl, bC = + new cm, bD = new cn, bE = new co, bF = new cp, bG = new cq, bH = new cr, bI = new cs, bJ = new ct, i = new cu, bK = new cv, m = new cw, e = new cx, bW = new cy, bX = new cz, bU = new d0, bV = new d1, bO = new d2, bP = new d3, bL = new d4, + bR = new d5, bS = new d6, bT = new d7, bY = new d8, bQ = new d9, g = new dA, bZ = new dB, e.dD(), m.dD(), an.dE(), bX.dD(), az.dD(), az.dF(), bZ.dD(), b2.dD(), aT.dD(), bL.dD(), aq.dD(), b5.dD(), b6.dD(), bI.dD(), i.dD(), bM = new dG, an + .dD(), m.n.dH(), bT.dD(), bQ.dD(), bN = new dI, ao.dD(), aV.dJ(), bK.dD(), ac.dD(), aP.dD(), ax.dD(), aI.dD(), aZ.dD(), b9.dD(), aR.dD(), bT.dK = !0, setTimeout(function() { + bI.w(2, 14071) + }, 0), i.j(5, 5), b8.dL(), m.n.dM(), an.dN(), e.f = 1) } -function cy() { - this.dS = 1061, this.dE = function() { - dO = 2, dQ = 31, dP = "20 Aug 2024 [1.99.5.5]", a0 = true, a1 = function() { +function cx() { + this.dS = 1062, this.dD = function() { + dO = 2, dQ = 31, dP = "24 Aug 2024 [1.99.5.8]", y = true, z = function() { try { return window.self !== window.top } catch (d) { @@ -50,27 +50,27 @@ function cy() { }, this.f = 0 } -function dC() { - this.id = new dU, this.dE = function() { - this.id.dE() +function dB() { + this.id = new dU, this.dD = function() { + this.id.dD() } } function dU() { - this.dE = function() { - 0 === bY.dV.data[181].value && (bY.dV.dW(180, Math.floor(Math.random() * bC.pow(30))), bY.dV.dW(181, Math.floor((new Date).getTime() / 36e5))) + this.dD = function() { + 0 === bX.dV.data[181].value && (bX.dV.dW(180, Math.floor(Math.random() * bB.pow(30))), bX.dV.dW(181, Math.floor((new Date).getTime() / 36e5))) } } function cv() { - this.dX = new dY, this.dZ = new da, this.dE = function() { - o.p.db() + this.dX = new dY, this.dZ = new da, this.dD = function() { + m.n.db() } } function dY() { function dl() {} - this.dE = function() {}, this.dk = function() { + this.dD = function() {}, this.dk = function() { return !!dl() && (aiptag.cmd.player.push(function() { aiptag.adplayer.startVideoAd() }), !0) @@ -86,8 +86,8 @@ function dY() { function da() { var dn = 2e4; this.show = function() { - if (bU.dn < dn) return !1; - dn = bU.dn + 135e4, 2 === dO && o.p.dq(Math.floor(135e4)) + if (bT.dn < dn) return !1; + dn = bT.dn + 135e4, 2 === dO && m.n.dq(Math.floor(135e4)) } } @@ -105,12 +105,12 @@ function co() { } function eR() { - eJ = 0, eK = 2048, eL = new Uint32Array(4 * eK), eM = 0, eN = new Uint32Array(eK), (eO = new Int32Array(4))[0] = -4 * bJ.eS, eO[1] = 4, eO[2] = -eO[0], eO[3] = -eO[1], eP = new Uint8Array(bJ.eS * bJ.eT) + eJ = 0, eK = 2048, eL = new Uint32Array(4 * eK), eM = 0, eN = new Uint32Array(eK), (eO = new Int32Array(4))[0] = -4 * bI.eS, eO[1] = 4, eO[2] = -eO[0], eO[3] = -eO[1], eP = new Uint8Array(bI.eS * bI.eT) } function eU(player) { eE = player, eQ = !1, eV(), eW(); - for (var a2 = aW.eX(eE) - 1; 0 <= a2; a2--) 0 === aW.eY(eE, a2) && (eD = a2, eZ()); + for (var a0 = aU.eX(eE) - 1; 0 <= a0; a0--) 0 === aU.eY(eE, a0) && (eD = a0, eZ()); eQ && ea() } @@ -119,94 +119,94 @@ function ea() { } function eZ() { - eI = aW.ed(eE, eD), eF = aW.ee(eE, eD), eG = aW.ef(eE, eD), eg(), (0 !== eJ && (ei(), ej()) ? ek : eh)() + eI = aU.ed(eE, eD), eF = aU.ee(eE, eD), eG = aU.ef(eE, eD), eg(), (0 !== eJ && (ei(), ej()) ? ek : eh)() } function ej() { var dp; - return (eH = bC.el(eF, eJ)) > a4.em || !!eG && ((dp = eJ * (1 + a4.em)) <= (eF += b3.en.eo(eE, dp - eF)) || aZ.ep[eE] < 5 * bU.eq()) + return (eH = bB.el(eF, eJ)) > a2.em || !!eG && ((dp = eJ * (1 + a2.em)) <= (eF += b2.en.eo(eE, dp - eF)) || aX.ep[eE] < 5 * bT.eq()) } function ei() { - for (var a2 = eJ - 1; 0 <= a2; a2--) eP[bC.el(eL[a2], 4)] = 0 + for (var a0 = eJ - 1; 0 <= a0; a0--) eP[bB.el(eL[a0], 4)] = 0 } function eh() { var dp; - 1 === aW.eX(eE) && a6.er(eE), eE !== a4.es ? (aZ.et[eE] += eF, aX.eu(eE)) : (dp = aZ.et[eE], aZ.et[eE] += eF, aX.eu(eE), bS.ev[13] -= aZ.et[eE] - dp), aW.ew(eE, eD) + 1 === aU.eX(eE) && a4.er(eE), eE !== a2.es ? (aX.et[eE] += eF, aV.eu(eE)) : (dp = aX.et[eE], aX.et[eE] += eF, aV.eu(eE), bR.ev[13] -= aX.et[eE] - dp), aU.ew(eE, eD) } function eV() { - var a2, ex = aZ.ey[eE].length; - for (eM = 0, a2 = (eK < ex ? eK : ex) - 1; 0 <= a2; a2--) eN[eM++] = aZ.ey[eE][a2] + var a0, ex = aX.ey[eE].length; + for (eM = 0, a0 = (eK < ex ? eK : ex) - 1; 0 <= a0; a0--) eN[eM++] = aX.ey[eE][a0] } function eW() { - for (var a2 = aZ.ey[eE].length - 1; 0 <= a2; a2--) aU.ez(aZ.ey[eE][a2]) && aU.f0(aZ.ey[eE][a2], eE); - aZ.ey[eE] = [] + for (var a0 = aX.ey[eE].length - 1; 0 <= a0; a0--) aS.ez(aX.ey[eE][a0]) && aS.f0(aX.ey[eE][a0], eE); + aX.ey[eE] = [] } function eg() { - eJ = 0, (eI === a4.f1 ? f2 : f3)() + eJ = 0, (eI === a2.f1 ? f2 : f3)() } function f3() { - for (var f4, f5, a2, f6 = 3; 0 <= f6; f6--) - for (a2 = eM - 1; 0 <= a2; a2--) f4 = eN[a2] + eO[f6], f5 = bC.el(f4, 4), 0 === eP[f5] && aU.f7(f4) && aU.f8(f4) === eI && (eP[f5] = 1, eL[eJ++] = f4) + for (var f4, f5, a0, f6 = 3; 0 <= f6; f6--) + for (a0 = eM - 1; 0 <= a0; a0--) f4 = eN[a0] + eO[f6], f5 = bB.el(f4, 4), 0 === eP[f5] && aS.f7(f4) && aS.f8(f4) === eI && (eP[f5] = 1, eL[eJ++] = f4) } function f2() { - for (var f4, f5, a2, f6 = 3; 0 <= f6; f6--) - for (a2 = eM - 1; 0 <= a2; a2--) f4 = eN[a2] + eO[f6], f5 = bC.el(f4, 4), 0 === eP[f5] && aU.f9(f4) && (eP[f5] = 1, eL[eJ++] = f4) + for (var f4, f5, a0, f6 = 3; 0 <= f6; f6--) + for (a0 = eM - 1; 0 <= a0; a0--) f4 = eN[a0] + eO[f6], f5 = bB.el(f4, 4), 0 === eP[f5] && aS.f9(f4) && (eP[f5] = 1, eL[eJ++] = f4) } function ek() { - fA() ? (fB(), eI !== a4.f1 && fC()) : eh() + fA() ? (fB(), eI !== a2.f1 && fC()) : eh() } function fC() { - fD(), fE(aZ.fF[eI]), fE(aZ.fG[eI]), fH(aZ.ey[eI]), fI(aZ.fG[eI]), fI(aZ.fJ[eI]), fK(), fL() + fD(), fE(aX.fF[eI]), fE(aX.fG[eI]), fH(aX.ey[eI]), fI(aX.fG[eI]), fI(aX.fJ[eI]), fK(), fL() } function fB() { - eQ = !0, aW.fM(eE, eD, eF), aW.fN(eE, eD), aZ.ep[eE] += eJ, fO(), fP() + eQ = !0, aU.fM(eE, eD, eF), aU.fN(eE, eD), aX.ep[eE] += eJ, fO(), fP() } function fA() { - return (eI === a4.f1 ? fQ : fR)() + return (eI === a2.f1 ? fQ : fR)() } function fR() { - var fS = eJ * a4.em, + var fS = eJ * a2.em, fT = fU(), fV = fW(), fT = fS + 2 * fT + fV, fY = eH * eJ; - return fT < fY ? (eF -= fT, fZ(fT - fS, fV), !0) : (eF -= fY, eG && 0 === fV ? (fZ(Math.max(fY - fS + b3.en.eo(eE, fT - fY + 1), 0), 0), !0) : (fZ(fY - fS, fV), !1)) + return fT < fY ? (eF -= fT, fZ(fT - fS, fV), !0) : (eF -= fY, eG && 0 === fV ? (fZ(Math.max(fY - fS + b2.en.eo(eE, fT - fY + 1), 0), 0), !0) : (fZ(fY - fS, fV), !1)) } function fZ(fY, fV) { if (0 < fV) { - if (!(fV <= fY)) return aW.fa(eI, eE, fV - fY), void(fY = 0); - aW.fa(eI, eE, 0), fY -= fV + if (!(fV <= fY)) return aU.fa(eI, eE, fV - fY), void(fY = 0); + aU.fa(eI, eE, 0), fY -= fV } - fY = bC.el(fY, 2), aZ.et[eI] >= fY ? aZ.et[eI] -= fY : aZ.et[eI] = 0 + fY = bB.el(fY, 2), aX.et[eI] >= fY ? aX.et[eI] -= fY : aX.et[eI] = 0 } function fW() { - return aW.fb(eI, eE) + return aU.fb(eI, eE) } function fU() { - return bC.el(eJ * aZ.et[eI], 1 + bC.el(10 * aZ.ep[eI], 16)) + return bB.el(eJ * aX.et[eI], 1 + bB.el(10 * aX.ep[eI], 16)) } function fQ() { - return eF -= eJ * a4.em, !0 + return eF -= eJ * a2.em, !0 } function fP() { - for (var a2 = eJ - 1; 0 <= a2; a2--) aZ.ey[eE].push(eL[a2]), aZ.fF[eE].push(eL[a2]), aU.f0(eL[a2], eE) + for (var a0 = eJ - 1; 0 <= a0; a0--) aX.ey[eE].push(eL[a0]), aX.fF[eE].push(eL[a0]), aS.f0(eL[a0], eE) } function ct() { @@ -215,37 +215,37 @@ function ct() { this.fe = function(ff, fg) { fc = ff, fd = fg }, this.fh = function(fi) { - a4.fj || aD.fk || (b3.en.fl(0) || b3.en.fl(1)) && b3.en.fm(a4.es) && (aI.fn(fc, fd) ? aI.fo = !1 : function(fi) { - var fq = bD.fr(fc), - fs = bD.ft(fd), - fu = bD.fv(fq, fs), - fw = bD.fx(fu); - bD.fy(fq, fs) && (a4.fz ? aU.ez(fw) && b1.g0.g1(fu) : aU.g2(fw) || (aU.g3(fw) || fi ? bE.g4.g5(a4.es, fu) && b1.g0.g6(aI.g7(), fu) : aU.f9(fw) ? g8(a4.es) ? b1.g0.g9(aI.g7(), a4.f1) : gA(a4.es, a4.f1) ? au.gB(a4.f1, aI.g7()) : - bE.g4.g5(a4.es, fu) && b1.g0.g6(aI.g7(), fu) : (fq = aU.f8(fw)) !== a4.es && (gC(fq, a4.es) ? gD(a4.es, fq) ? b1.g0.g9(aI.g7(), fq) : gA(a4.es, fq) ? au.gB(fq, aI.g7()) : bE.g4.g5(a4.es, fu) && b1.g0.g6(aI.g7(), - fu) : bE.g4.g5(a4.es, fu) && b1.g0.g6(aI.g7(), fu)))) + a2.fj || aB.fk || (b2.en.fl(0) || b2.en.fl(1)) && b2.en.fm(a2.es) && (aG.fn(fc, fd) ? aG.fo = !1 : function(fi) { + var fq = bC.fr(fc), + fs = bC.ft(fd), + fu = bC.fv(fq, fs), + fw = bC.fx(fu); + bC.fy(fq, fs) && (a2.fz ? aS.ez(fw) && b0.g0.g1(fu) : aS.g2(fw) || (aS.g3(fw) || fi ? bD.g4.g5(a2.es, fu) && b0.g0.g6(aG.g7(), fu) : aS.f9(fw) ? g8(a2.es) ? b0.g0.g9(aG.g7(), a2.f1) : gA(a2.es, a2.f1) ? ar.gB(a2.f1, aG.g7()) : + bD.g4.g5(a2.es, fu) && b0.g0.g6(aG.g7(), fu) : (fq = aS.f8(fw)) !== a2.es && (gC(fq, a2.es) ? gD(a2.es, fq) ? b0.g0.g9(aG.g7(), fq) : gA(a2.es, fq) ? ar.gB(fq, aG.g7()) : bD.g4.g5(a2.es, fu) && b0.g0.g6(aG.g7(), + fu) : bD.g4.g5(a2.es, fu) && b0.g0.g6(aG.g7(), fu)))) }(fi)) } } function gE(gF, size, gG, gH, font) { - var a2, gK = .2, + var a0, gK = .2, gL = document.createElement("canvas"), gM = gL.getContext("2d", { alpha: !1 }); - for (gL.width = gF, gL.height = gF, gM.font = size + font, gM.textAlign = "center", gM.textBaseline = "middle", gM.fillStyle = "red", a2 = 0; a2 < gG.length; a2++) gM.fillText(gG[a2], .5 * gF, .5 * gF); + for (gL.width = gF, gL.height = gF, gM.font = size + font, gM.textAlign = "center", gM.textBaseline = "middle", gM.fillStyle = "red", a0 = 0; a0 < gG.length; a0++) gM.fillText(gG[a0], .5 * gF, .5 * gF); return -1 < (gL = function(gI) { - var a2, gO, f6 = gI.data; - for (a2 = f6.length - 4; 0 <= a2; a2 -= 4) - if (gO = f6[a2], gH <= gO) return Math.floor(a2 / (4 * gF)); + var a0, gO, f6 = gI.data; + for (a0 = f6.length - 4; 0 <= a0; a0 -= 4) + if (gO = f6[a0], gH <= gO) return Math.floor(a0 / (4 * gF)); return -1 }(gM.getImageData(0, 0, gF, gF))) && (gK = (gL - .5 * gF + .1 * size) / size), Math.max(gK, 0) } function cm() { - this.gP = new Int16Array(4), this.gQ = new Int16Array(4), this.dE = function() { - var a2; - for (this.gP[0] = -bJ.eS, this.gP[1] = 1, this.gP[2] = bJ.eS, this.gP[3] = -1, a2 = 0; a2 < 4; a2++) this.gQ[a2] = 4 * this.gP[a2] + this.gP = new Int16Array(4), this.gQ = new Int16Array(4), this.dD = function() { + var a0; + for (this.gP[0] = -bI.eS, this.gP[1] = 1, this.gP[2] = bI.eS, this.gP[3] = -1, a0 = 0; a0 < 4; a0++) this.gQ[a0] = 4 * this.gP[a0] }, this.gR = function(gS, gT) { var gU = this.gV(gT) - this.gV(gS), gT = this.gX(gT) - this.gX(gS), @@ -254,11 +254,11 @@ function cm() { }, this.gb = function(gS, gT, gc) { return gc % 2 == 0 ? gc + (1 - gc) * (1 - (this.gV(gT) - this.gV(gS) >>> 31 << 1)) + 4 & 3 : gc + (2 - gc) * (1 - (this.gX(gT) - this.gX(gS) >>> 31 << 1)) + 4 & 3 }, this.ge = function(f4, fu) { - for (var gT, gf, gh = aZ.fG[f4], ex = gh.length, w = bJ.eS, gi = this.gV(fu), gj = this.gX(fu), gk = gh[0] >> 2, min = this.gl(gi, gj, gk), a2 = 1; a2 < ex; a2++)(gf = (gf = gi - (gT = gh[a2] >> 2) % w) * gf + (gf = gj - ~~((.5 + gT) / - w)) * gf) < min && (min = gf, gk = gT); + for (var gT, gf, gh = aX.fG[f4], ex = gh.length, u = bI.eS, gi = this.gV(fu), gj = this.gX(fu), gk = gh[0] >> 2, min = this.gl(gi, gj, gk), a0 = 1; a0 < ex; a0++)(gf = (gf = gi - (gT = gh[a0] >> 2) % u) * gf + (gf = gj - ~~((.5 + gT) / + u)) * gf) < min && (min = gf, gk = gT); return gk }, this.gm = function(player, fw) { - return !aU.f9(fw) && player === aU.f8(fw) + return !aS.f9(fw) && player === aS.f8(fw) }, this.gl = function(fq, fs, fu) { return (fq -= this.gV(fu)) * fq + (fs -= this.gX(fu)) * fs }, this.gn = function(go, gp, gq) { @@ -275,7 +275,7 @@ function cm() { }, this.gz = function(h0, h1, h2, h3) { return (h0 -= h2) * h0 + (h1 -= h3) * h1 }, this.h4 = function(f4, h5) { - return bC.el(h5 * aZ.et[f4], 1e3) + return bB.el(h5 * aX.et[f4], 1e3) }, this.gs = function(go) { return 16 * (go + h6) / h7 }, this.gv = function(gp) { @@ -285,46 +285,46 @@ function cm() { }, this.ft = function(gp) { return Math.floor((gp + h8) / h7) }, this.fy = function(fq, fs) { - return 1 <= fq && 1 <= fs && fq < bJ.eS - 1 && fs < bJ.eT - 1 + return 1 <= fq && 1 <= fs && fq < bI.eS - 1 && fs < bI.eT - 1 }, this.gV = function(fu) { - return fu % bJ.eS + return fu % bI.eS }, this.gX = function(fu) { - return bC.el(fu, bJ.eS) + return bB.el(fu, bI.eS) }, this.fv = function(fq, fs) { - return fs * bJ.eS + fq + return fs * bI.eS + fq }, this.h9 = function(fu) { var fq = this.gV(fu), fu = this.gX(fu); - return 0 < fq && fq < bJ.eS - 1 && 0 < fu && fu < bJ.eT - 1 + return 0 < fq && fq < bI.eS - 1 && 0 < fu && fu < bI.eT - 1 }, this.fx = function(fu) { return fu << 2 }, this.hA = function(fu) { - return bJ.eS * this.gX(fu) * 256 + (this.gV(fu) << 4) + return bI.eS * this.gX(fu) * 256 + (this.gV(fu) << 4) }, this.hB = function(fu) { - return this.hA(fu) + 8 + (bJ.eS << 7) + return this.hA(fu) + 8 + (bI.eS << 7) }, this.hC = function(gq) { - return bJ.eS * (this.gw(gq) >> 4) + (this.gt(gq) >> 4) + return bI.eS * (this.gw(gq) >> 4) + (this.gt(gq) >> 4) }, this.hD = function(gq) { gq = this.hC(gq); - return (this.gV(gq) >> 5) + bE.hE.hF * (this.gX(gq) >> 5) + return (this.gV(gq) >> 5) + bD.hE.hF * (this.gX(gq) >> 5) }, this.gt = function(gq) { - return gq % (bJ.eS << 4) + return gq % (bI.eS << 4) }, this.gw = function(gq) { - return bC.el(gq, bJ.eS << 4) + return bB.el(gq, bI.eS << 4) }, this.hG = function(fu, gc) { return fu + this.gP[gc] }, this.hH = function(fw, gc) { return fw + this.gQ[gc] }, this.hI = function(player) { - return this.fv(aZ.hJ[player] + aZ.hK[player] >> 1, aZ.hL[player] + aZ.hM[player] >> 1) + return this.fv(aX.hJ[player] + aX.hK[player] >> 1, aX.hL[player] + aX.hM[player] >> 1) }, this.hN = function(player) { - return this.fv(aq.hO(aZ.hJ[player], aZ.hK[player]), aq.hO(aZ.hL[player], aZ.hM[player])) + return this.fv(ao.hO(aX.hJ[player], aX.hK[player]), ao.hO(aX.hL[player], aX.hM[player])) } } function cQ() { - this.hP = new hQ, this.hR = new hS, this.hT = new hU, this.performance = new hV, this.hW = new hX, this.hY = new hZ, this.dE = function() { - this.hP.dE(), this.hT.dE(), this.performance.dE(), this.hW.dE(), this.hY.dE() + this.hP = new hQ, this.hR = new hS, this.hT = new hU, this.performance = new hV, this.hW = new hX, this.hY = new hZ, this.dD = function() { + this.hP.dD(), this.hT.dD(), this.performance.dD(), this.hW.dD(), this.hY.dD() }, this.ha = function() { this.performance.ha(), this.hP.ha() } @@ -334,83 +334,83 @@ function hX() { var hb, hd = new Uint16Array(8); function hn(size, player) { - for (var a2 = aZ.ey[player].length - 1; size <= a2; a2--) aU.hv(aZ.ey[player][a2], player) + for (var a0 = aX.ey[player].length - 1; size <= a0; a0--) aS.hv(aX.ey[player][a0], player) } - this.dE = function() { + this.dD = function() { hb = 0 }, this.he = function(player, hf) { - return bF.e1[1] = aZ.ey[player].length, bF.e1[0] === a4.f1 ? ad.hW.hg(player) : this.hh(player, bF.e1[0]), (0 !== bF.e1[1] || 0 !== aZ.ey[player].length) && !(!hf && bF.e1[1] === aZ.ey[player].length || (bF.e1[0] === a4.f1 ? aZ.hi[ - player]++ : aZ.hj[player]++, 0)) + return bE.e1[1] = aX.ey[player].length, bE.e1[0] === a2.f1 ? ab.hW.hg(player) : this.hh(player, bE.e1[0]), (0 !== bE.e1[1] || 0 !== aX.ey[player].length) && !(!hf && bE.e1[1] === aX.ey[player].length || (bE.e1[0] === a2.f1 ? aX.hi[ + player]++ : aX.hj[player]++, 0)) }, this.hk = function(player) { - a4.hl && (ad.hY.hm[player] = 1), hn(bF.e1[1], player), aW.ho(player, bF.dw[0], bF.e1[0]), a6.hp(player, !1) + a2.hl && (ab.hY.hm[player] = 1), hn(bE.e1[1], player), aU.ho(player, bE.dw[0], bE.e1[0]), a4.hp(player, !1) }, this.hq = function(player, hr, ex, hs) { - var ht = bC.el(12 * aZ.et[player], 1024); - hs -= hs >= bC.el(aZ.et[player], 2) ? ht : 0, hn(ex, player), aW.ho(player, hs, hr), aZ.et[player] -= hs + ht, a6.hp(player, !1) + var ht = bB.el(12 * aX.et[player], 1024); + hs -= hs >= bB.el(aX.et[player], 2) ? ht : 0, hn(ex, player), aU.ho(player, hs, hr), aX.et[player] -= hs + ht, a4.hp(player, !1) }, this.hh = function(player, hr) { - for (var gc, a2 = aZ.fF[player].length - 1; 0 <= a2; a2--) - if (aU.hu(aZ.fF[player][a2])) + for (var gc, a0 = aX.fF[player].length - 1; 0 <= a0; a0--) + if (aS.hu(aX.fF[player][a0])) for (gc = 3; 0 <= gc; gc--) - if (aU.f7(aZ.fF[player][a2] + eO[gc]) && aU.f8(aZ.fF[player][a2] + eO[gc]) === hr) { - aZ.ey[player].push(aZ.fF[player][a2]); + if (aS.f7(aX.fF[player][a0] + eO[gc]) && aS.f8(aX.fF[player][a0] + eO[gc]) === hr) { + aX.ey[player].push(aX.fF[player][a0]); break } }, this.hg = function(player) { - for (var a2 = aZ.fF[player].length - 1; 0 <= a2; a2--) - if (aU.hu(aZ.fF[player][a2])) + for (var a0 = aX.fF[player].length - 1; 0 <= a0; a0--) + if (aS.hu(aX.fF[player][a0])) for (var gc = 3; 0 <= gc; gc--) - if (aU.f9(aZ.fF[player][a2] + eO[gc])) { - aZ.ey[player].push(aZ.fF[player][a2]); + if (aS.f9(aX.fF[player][a0] + eO[gc])) { + aX.ey[player].push(aX.fF[player][a0]); break } }, this.hw = function(player, hx) { - var a2, hy, gc, hz, ex = aZ.fF[player].length, + var a0, hy, gc, hz, ex = aX.fF[player].length, gd = 256 <= ex ? 12 : 32 <= ex ? 6 : 1, - i0 = ex - 1 - aq.i1(gd); + i0 = ex - 1 - ao.i1(gd); hb = 0; - loop: for (a2 = i0; 0 <= a2; a2 -= gd) + loop: for (a0 = i0; 0 <= a0; a0 -= gd) for (gc = 3; 0 <= gc; gc--) - if ((hz = aU.f9(aZ.fF[player][a2] + eO[gc]) ? a4.f1 : aU.f8(aZ.fF[player][a2] + eO[gc])) === a4.f1 || aU.f7(aZ.fF[player][a2] + eO[gc]) && hz !== player && (hx || gC(player, hz))) { + if ((hz = aS.f9(aX.fF[player][a0] + eO[gc]) ? a2.f1 : aS.f8(aX.fF[player][a0] + eO[gc])) === a2.f1 || aS.f7(aX.fF[player][a0] + eO[gc]) && hz !== player && (hx || gC(player, hz))) { for (hy = hb - 1; 0 <= hy; hy--) if (hd[hy] === hz) continue loop; if (hd[hb] = hz, 8 <= ++hb) return !0 } return 0 < hb }, this.i2 = function(player, hx) { - var a2, gc, hz; - for (hb = 0, a2 = aZ.fF[player].length - 1; 0 <= a2; a2--) + var a0, gc, hz; + for (hb = 0, a0 = aX.fF[player].length - 1; 0 <= a0; a0--) for (gc = 3; 0 <= gc; gc--) - if ((hz = aU.f9(aZ.fF[player][a2] + eO[gc]) ? a4.f1 : aU.f8(aZ.fF[player][a2] + eO[gc])) === a4.f1 || aU.f7(aZ.fF[player][a2] + eO[gc]) && hz !== player && (hx || gC(player, hz))) return hd[hb++] = hz, !0; + if ((hz = aS.f9(aX.fF[player][a0] + eO[gc]) ? a2.f1 : aS.f8(aX.fF[player][a0] + eO[gc])) === a2.f1 || aS.f7(aX.fF[player][a0] + eO[gc]) && hz !== player && (hx || gC(player, hz))) return hd[hb++] = hz, !0; return !1 }, this.i3 = function() { - for (var i4, a2 = hb - 1; 0 <= a2; a2--) - if (hd[a2] === a4.f1) { - for (hb--, i4 = a2; i4 < hb; i4++) hd[i4] = hd[i4 + 1]; + for (var i4, a0 = hb - 1; 0 <= a0; a0--) + if (hd[a0] === a2.f1) { + for (hb--, i4 = a0; i4 < hb; i4++) hd[i4] = hd[i4 + 1]; return !0 } return !1 }, this.i5 = function(player) { - for (var i4, a2 = hb - 1; 0 <= a2; a2--) - if (aW.i6(player, hd[a2])) - for (hb--, i4 = a2; i4 < hb; i4++) hd[i4] = hd[i4 + 1]; + for (var i4, a0 = hb - 1; 0 <= a0; a0--) + if (aU.i6(player, hd[a0])) + for (hb--, i4 = a0; i4 < hb; i4++) hd[i4] = hd[i4 + 1]; return 0 === hb }, this.i7 = function() { - for (var a2 = hb - 1; 0 <= a2; a2--) - if (b3.en.i8(hd[a2])) return !0; + for (var a0 = hb - 1; 0 <= a0; a0--) + if (b2.en.i8(hd[a0])) return !0; return !1 }, this.i9 = function() { - for (var a2 = hb - 1; 0 <= a2; a2--) b3.en.i8(hd[a2]) || (hd[a2] = hd[--hb]); + for (var a0 = hb - 1; 0 <= a0; a0--) b2.en.i8(hd[a0]) || (hd[a0] = hd[--hb]); return 0 < hb }, this.iA = function(player) { - for (var i4, iB = hd[0], iC = aZ.et[iB] + aW.fb(iB, player), a2 = hb - 1; 1 <= a2; a2--)(i4 = aZ.et[hd[a2]] + aW.fb(hd[a2], player)) < iC && (iB = hd[a2], iC = i4); + for (var i4, iB = hd[0], iC = aX.et[iB] + aU.fb(iB, player), a0 = hb - 1; 1 <= a0; a0--)(i4 = aX.et[hd[a0]] + aU.fb(hd[a0], player)) < iC && (iB = hd[a0], iC = i4); return iB }, this.iD = function(player) { var iE, iF = hd[0]; if (1 !== hb) - for (var iG = bC.el(aZ.hK[player] + aZ.hJ[player], 2), iH = bC.el(aZ.hM[player] + aZ.hL[player], 2), iI = iJ(iG - bC.el(aZ.hK[iF] + aZ.hJ[iF], 2)) + iJ(iH - bC.el(aZ.hM[iF] + aZ.hL[iF], 2)), a2 = hb - 1; 1 <= a2; a2--)(iE = iJ(iG - bC - .el(aZ.hK[hd[a2]] + aZ.hJ[hd[a2]], 2)) + iJ(iH - bC.el(aZ.hM[hd[a2]] + aZ.hL[hd[a2]], 2))) < iI && (iI = iE, iF = hd[a2]); + for (var iG = bB.el(aX.hK[player] + aX.hJ[player], 2), iH = bB.el(aX.hM[player] + aX.hL[player], 2), iI = iJ(iG - bB.el(aX.hK[iF] + aX.hJ[iF], 2)) + iJ(iH - bB.el(aX.hM[iF] + aX.hL[iF], 2)), a0 = hb - 1; 1 <= a0; a0--)(iE = iJ(iG - bB + .el(aX.hK[hd[a0]] + aX.hJ[hd[a0]], 2)) + iJ(iH - bB.el(aX.hM[hd[a0]] + aX.hL[hd[a0]], 2))) < iI && (iI = iE, iF = hd[a0]); return iF }, this.iK = function() { - for (var iL = hd, iM = iL[0], et = aZ.et, iN = et[iM], a2 = hb - 1; 1 <= a2; a2--) { - var f4 = iL[a2], + for (var iL = hd, iM = iL[0], et = aX.et, iN = et[iM], a0 = hb - 1; 1 <= a0; a0--) { + var f4 = iL[a0], i4 = et[f4]; iN < i4 && (iM = f4, iN = i4) } @@ -420,122 +420,123 @@ function hX() { function hZ() { function ic(player, hr, iS) { - 3 <= iS && 2142 < bU.eq() && (hr === a4.f1 || aZ.et[hr] < bC.el(aZ.et[player], 20)) && a5.iX(player, 20) + 3 <= iS && 2142 < bT.eq() && (hr === a2.f1 || aX.et[hr] < bB.el(aX.et[player], 20)) && a3.iX(player, 20) } function ih(player, hs, hr, iS) { - 3 <= iS && iS < 6 && bC.el(aZ.et[player], 8) > aZ.et[hr] && (hs = Math.max(bC.el(11 * aZ.et[hr], 5), bC.el(aZ.et[player], 10))); - iS = aZ.ey[player].length; - ad.hW.hh(player, hr), ad.hW.hq(player, hr, iS, hs) + 3 <= iS && iS < 6 && bB.el(aX.et[player], 8) > aX.et[hr] && (hs = Math.max(bB.el(11 * aX.et[hr], 5), bB.el(aX.et[player], 10))); + iS = aX.ey[player].length; + ab.hW.hh(player, hr), ab.hW.hq(player, hr, iS, hs) } function ib(player, hs) { - var hr = a4.f1, - ex = aZ.ey[player].length; - ad.hW.hg(player), aZ.ey[player].length !== ex && ad.hW.hq(player, hr, ex, hs) + var hr = a2.f1, + ex = aX.ey[player].length; + ab.hW.hg(player), aX.ey[player].length !== ex && ab.hW.hq(player, hr, ex, hs) } - this.hm = new Uint8Array(a4.f1), this.dE = function() { + this.hm = new Uint8Array(a2.f1), this.dD = function() { this.hm.fill(0) }, this.iO = function(player, hs) { var iQ, iS, iT, iU; - a4.hl && (this.hm[player] = 0), aW.iP(player) && (iQ = aX.iR(player), 3 <= (iS = a5.hs[player]) && iS < 6 && (hs = Math.max(aZ.et[player] - iQ, hs)), iT = aZ.fG[player].length, iU = aZ.fF[player].length, 30 * aZ.ep[player] > a4.iV && iW[ - player] < 10 && 100 * iU <= iT && a5.iX(player, 10), a4.hl ? function(player, hs, iS, iQ) { + a2.hl && (this.hm[player] = 0), aU.iP(player) && (iQ = aV.iR(player), 3 <= (iS = a3.hs[player]) && iS < 6 && (hs = Math.max(aX.et[player] - iQ, hs)), iT = aX.fG[player].length, iU = aX.fF[player].length, 30 * aX.ep[player] > a2.iV && iW[ + player] < 10 && 100 * iU <= iT && a3.iX(player, 10), a2.hl ? function(player, hs, iS, iQ) { var hr; - ad.hW.hw(player, !1) || ad.hW.i2(player, !1) ? (ad.hY.hm[player] = 1, ad.hW.i5(player) || (ad.hW.i3() ? (ib(player, hs), ic(player, a4.f1, iS)) : (hr = aq.ie(a5.ig[iS]) ? ad.hW.iA(player) : (ad.hW.i7() && aq.ie(a5.ii[iS]) && - ad.hW.i9(), ad.hW.iD(player)), ih(player, hs, hr, iS), ic(player, hr, iS)))) : bE.iZ.ha(player) || function(player, hs, iS, iQ) { - var a2, i4, ik, il = bV.il, + ab.hW.hw(player, !1) || ab.hW.i2(player, !1) ? (ab.hY.hm[player] = 1, ab.hW.i5(player) || (ab.hW.i3() ? (ib(player, hs), ic(player, a2.f1, iS)) : (hr = ao.ie(a3.ig[iS]) ? ab.hW.iA(player) : (ab.hW.i7() && ao.ie(a3.ii[iS]) && + ab.hW.i9(), ab.hW.iD(player)), ih(player, hs, hr, iS), ic(player, hr, iS)))) : bD.iZ.ha(player) || function(player, hs, iS, iQ) { + var a0, i4, ik, il = bU.il, im = il[player]; if (0 !== im) { - var et = aZ.et, + var et = aX.et, io = et[player], - ep = aZ.ep; - if (player < a4.ip && (hs = io), !(io < ep[player] || 5 === iS && io < iQ || 4 === iS && io < bC.el(iQ, 2))) { + ep = aX.ep; + if (player < a2.ip && (hs = io), !(io < ep[player] || 5 === iS && io < iQ || 4 === iS && io < bB.el(iQ, 2))) { var ex = iq, ir = is, - it = (a2 = aq.i1(ex), ad.hY.hm); + it = (a0 = ao.i1(ex), ab.hY.hm); for (i4 = 0; i4 < ex; i4++) - if (ik = ir[(i4 + a2) % ex], 1 === it[ik] && il[ik] === im) return b1.iu.iv(player, ik, hs); - var iw = a4.iw, - fG = aZ.fG; + if (ik = ir[(i4 + a0) % ex], 1 === it[ik] && il[ik] === im) return b0.iu.iv(player, ik, hs); + var iw = a2.iw, + fG = aX.fG; for (i4 = 0; i4 < ex; i4++) - if (ik = ir[(i4 + a2) % ex], et[ik] < iw * ep[ik] && fG[ik].length && il[ik] === im && ik !== player) return b1.iu.iv(player, ik, hs) + if (ik = ir[(i4 + a0) % ex], et[ik] < iw * ep[ik] && fG[ik].length && il[ik] === im && ik !== player) return b0.iu.iv(player, ik, hs) } } }(player, hs, iS, iQ) - }(player, hs, iS, iQ) : (!iU || iT && (iT < iU && !aq.i1(10) || 100 * iU <= iT && aq.i1(3) || !aq.i1(8))) && bE.iZ.ha(player) || function(player, hs, iS) { - !ad.hW.hw(player, !0) && !ad.hW.i2(player, !0) || ad.hW.i5(player) || (ad.hW.i3() ? ib(player, hs) : aq.ie(a5.ig[iS]) ? ih(player, hs, ad.hW.iA(player), iS) : 5 === iS ? ih(player, hs, ad.hW.iK(), iS) : (ad.hW.i7() && aq.ie(a5 - .ii[iS]) && ad.hW.i9(), ih(player, hs, 6 === iS ? ad.hW.iK() : ad.hW.iD(player), iS))) + }(player, hs, iS, iQ) : (!iU || iT && (iT < iU && !ao.i1(10) || 100 * iU <= iT && ao.i1(3) || !ao.i1(8))) && bD.iZ.ha(player) || function(player, hs, iS) { + !ab.hW.hw(player, !0) && !ab.hW.i2(player, !0) || ab.hW.i5(player) || (ab.hW.i3() ? ib(player, hs) : ao.ie(a3.ig[iS]) ? ih(player, hs, ab.hW.iA(player), iS) : 5 === iS ? ih(player, hs, ab.hW.iK(), iS) : (ab.hW.i7() && ao.ie(a3 + .ii[iS]) && ab.hW.i9(), ih(player, hs, 6 === iS ? ab.hW.iK() : ab.hW.iD(player), iS))) }(player, hs, iS)) } } function bl() { - var ix = new Uint8Array(a4.f1), - iy = new Uint16Array(a4.f1), - iz = new Uint16Array(a4.f1), - j0 = new Uint8Array(a4.f1), - j1 = (this.hs = new Uint8Array(a4.f1), new Uint16Array(a4.f1)), - j2 = new Uint16Array(a4.f1); + var ix = new Uint8Array(a2.f1), + iy = new Uint16Array(a2.f1), + iz = new Uint16Array(a2.f1), + j0 = new Uint8Array(a2.f1), + j1 = (this.hs = new Uint8Array(a2.f1), new Uint16Array(a2.f1)), + j2 = new Uint16Array(a2.f1); - function jG(a2) { - ix[a2] = 1 + bC.el(j1[a2] * aq.random(), 10 * aq.value(100)) + function jG(a0) { + ix[a0] = 1 + bB.el(j1[a0] * ao.random(), 10 * ao.value(100)) } - this.j3 = ["Very Easy", "Easy", "Normal", "Hard", "Very Hard", "Impossible", ""], this.ii = [97, 94, 70, 40, 20, 0, 100], this.j4 = [500, 450, 400, 300, 80, 50, 50], this.ig = [0, 0, 5, 25, 50, 70, 0], this.j5 = [60, 74, 112, 200, 256, 512, 512], - this.dE = function() { - ix.fill(0), iy.fill(0), iz.fill(0), j0.fill(0), this.hs.fill(0), j1.fill(0), j2.fill(0); - var j6 = a4.ip; - if (b0.j7) { - if (b0.j8.j9) - for (a2 = a4.jA - 1; 0 <= a2; a2--) this.hs[a2 + j6] = b0.j8.j9[a2 + 1] - } else if (9 === a4.jB) this.jC(); - else if (a4.jD) - if (a4.hl) - for (a2 = a4.jA - 1; 0 <= a2; a2--) this.hs[a2 + j6] = aS.jF[bV.il[a2 + j6] - 1].f6; - else - for (a2 = a4.jA - 1; 0 <= a2; a2--) this.hs[a2 + j6] = aS.jF[0].f6; + this.j3 = null, this.ii = [97, 94, 70, 40, 20, 0, 100], this.j4 = [500, 450, 400, 300, 80, 50, 50], this.ig = [0, 0, 5, 25, 50, 70, 0], this.j5 = [60, 74, 112, 200, 256, 512, 512], this.dE = function() { + this.j3 = [L(0), L(1), L(2), L(3), L(4), L(5), ""] + }, this.dD = function() { + ix.fill(0), iy.fill(0), iz.fill(0), j0.fill(0), this.hs.fill(0), j1.fill(0), j2.fill(0); + var j6 = a2.ip; + if (ay.j7) { + if (ay.j8.j9) + for (a0 = a2.jA - 1; 0 <= a0; a0--) this.hs[a0 + j6] = ay.j8.j9[a0 + 1] + } else if (9 === a2.jB) this.jC(); + else if (a2.jD) + if (a2.hl) + for (a0 = a2.jA - 1; 0 <= a0; a0--) this.hs[a0 + j6] = aQ.jF[bU.il[a0 + j6] - 1].f6; else - for (var jE = 8 === a4.jB ? 1 : 0, a2 = a4.jA - 1; 0 <= a2; a2--) this.hs[a2 + j6] = jE; - for (a2 = 0; a2 < j6; a2++) this.hs[a2] = 6; - var ex = a4.f1; - for (a2 = 0; a2 < ex; a2++) this.hs[a2] <= 2 ? (j0[a2] = 5, j1[a2] = j2[a2] = 1040, 0 === this.hs[a2] ? (iy[a2] = 980, iz[a2] = 980) : 1 === this.hs[a2] ? (iy[a2] = 980, iz[a2] = 920, j1[a2] = j2[a2] = 1100) : (iy[a2] = 825, iz[a2] = - 750)) : this.hs[a2] <= 4 ? (j0[a2] = 1 + aq.i1(20), 3 === this.hs[a2] ? (iy[a2] = iz[a2] = 500, j1[a2] = j2[a2] = 1e3) : (j2[a2] = 250 + aq.i1(1501), j1[a2] = 500 + aq.i1(501), iy[a2] = 300 + aq.i1(201), iz[a2] = 100 + aq.i1( - 201))) : this.hs[a2] <= 5 ? (j1[a2] = 1e3, j2[a2] = 1e3, j0[a2] = 35 + aq.i1(16), iy[a2] = 300 + aq.i1(201), iz[a2] = 50 + aq.i1(101)) : (j1[a2] = j2[a2] = 800, j0[a2] = 5, iy[a2] = 10, iz[a2] = 250), jG(a2) - }, this.jC = function() { - for (var a2, fw = 0, j6 = a4.ip, i4 = 0; i4 < 6; i4++) { - for (a2 = fw + ar.jH[i4] - 1; fw <= a2; a2--) this.hs[a2 + j6] = i4; - fw += ar.jH[i4] - } - }, this.iX = function(f4, value) { - ix[f4] = Math.min(value, ix[f4]) - }, this.ha = function(f4) { - 0 == --ix[f4] && ! function(f4) { - (function(f4) { - j1[f4] !== j2[f4] && (j1[f4] += j1[f4] < j2[f4] ? 3 : -3); - iy[f4] !== iz[f4] && (iy[f4] += iy[f4] < iz[f4] ? j0[f4] : -j0[f4], iy[f4] = (Math.abs(iy[f4] - iz[f4]) <= j0[f4] ? iz : iy)[f4]); - ix[f4] = bC.el(j1[f4], 10) - })(f4), ad.hY.iO(f4, bC.el(iy[f4] * aZ.et[f4], 1e3)) - }(f4) - }, this.jK = function(f4, jL) { - j1[f4] = j2[f4] = jL + for (a0 = a2.jA - 1; 0 <= a0; a0--) this.hs[a0 + j6] = aQ.jF[0].f6; + else + for (var jE = 8 === a2.jB ? 1 : 0, a0 = a2.jA - 1; 0 <= a0; a0--) this.hs[a0 + j6] = jE; + for (a0 = 0; a0 < j6; a0++) this.hs[a0] = 6; + var ex = a2.f1; + for (a0 = 0; a0 < ex; a0++) this.hs[a0] <= 2 ? (j0[a0] = 5, j1[a0] = j2[a0] = 1040, 0 === this.hs[a0] ? (iy[a0] = 980, iz[a0] = 980) : 1 === this.hs[a0] ? (iy[a0] = 980, iz[a0] = 920, j1[a0] = j2[a0] = 1100) : (iy[a0] = 825, iz[a0] = + 750)) : this.hs[a0] <= 4 ? (j0[a0] = 1 + ao.i1(20), 3 === this.hs[a0] ? (iy[a0] = iz[a0] = 500, j1[a0] = j2[a0] = 1e3) : (j2[a0] = 250 + ao.i1(1501), j1[a0] = 500 + ao.i1(501), iy[a0] = 300 + ao.i1(201), iz[a0] = 100 + ao.i1( + 201))) : this.hs[a0] <= 5 ? (j1[a0] = 1e3, j2[a0] = 1e3, j0[a0] = 35 + ao.i1(16), iy[a0] = 300 + ao.i1(201), iz[a0] = 50 + ao.i1(101)) : (j1[a0] = j2[a0] = 800, j0[a0] = 5, iy[a0] = 10, iz[a0] = 250), jG(a0) + }, this.jC = function() { + for (var a0, fw = 0, j6 = a2.ip, i4 = 0; i4 < 6; i4++) { + for (a0 = fw + ap.jH[i4] - 1; fw <= a0; a0--) this.hs[a0 + j6] = i4; + fw += ap.jH[i4] } + }, this.iX = function(f4, value) { + ix[f4] = Math.min(value, ix[f4]) + }, this.ha = function(f4) { + 0 == --ix[f4] && ! function(f4) { + (function(f4) { + j1[f4] !== j2[f4] && (j1[f4] += j1[f4] < j2[f4] ? 3 : -3); + iy[f4] !== iz[f4] && (iy[f4] += iy[f4] < iz[f4] ? j0[f4] : -j0[f4], iy[f4] = (Math.abs(iy[f4] - iz[f4]) <= j0[f4] ? iz : iy)[f4]); + ix[f4] = bB.el(j1[f4], 10) + })(f4), ab.hY.iO(f4, bB.el(iy[f4] * aX.et[f4], 1e3)) + }(f4) + }, this.jK = function(f4, jL) { + j1[f4] = j2[f4] = jL + } } function hU() { - var jM = new Uint16Array(a4.f1); + var jM = new Uint16Array(a2.f1); function jR(player, jP) { - for (var ex = bF.dv[0], e2 = bF.e2, ja = -1, jb = a4.f1, a2 = 0; a2 < ex; a2++) { - var iI, f4 = e2[a2]; - gC(player, f4) && (iI = bD.gy(jP, bD.hI(f4)), -1 === ja || iI < ja) && (ja = iI, jb = f4) + for (var ex = bE.dv[0], e2 = bE.e2, ja = -1, jb = a2.f1, a0 = 0; a0 < ex; a0++) { + var iI, f4 = e2[a0]; + gC(player, f4) && (iI = bC.gy(jP, bC.hI(f4)), -1 === ja || iI < ja) && (ja = iI, jb = f4) } return jb } function jT(jQ, jP) { - if (jQ === a4.f1) return 0; - for (var fG = aZ.fG[jQ], jZ = fG.length, ex = Math.min(jZ, 10), jb = 0, ja = bD.gy(fG[jb] >> 2, jP), a2 = 0; a2 < ex; a2++) { - var jc = aq.i1(jZ), - iI = bD.gy(fG[jc] >> 2, jP); + if (jQ === a2.f1) return 0; + for (var fG = aX.fG[jQ], jZ = fG.length, ex = Math.min(jZ, 10), jb = 0, ja = bC.gy(fG[jb] >> 2, jP), a0 = 0; a0 < ex; a0++) { + var jc = ao.i1(jZ), + iI = bC.gy(fG[jc] >> 2, jP); iI < ja && (ja = iI, jb = jc) } return fG[jb] >> 2 @@ -543,166 +544,166 @@ function hU() { function jW(player, jP, hr, jf) { var jg; - (jf === a4.f1 || (jg = bD.hI(hr), jf = bD.hI(jf), bD.gy(jP, jg) < bD.gy(jP, jf))) && (jM[player] = hr) + (jf === a2.f1 || (jg = bC.hI(hr), jf = bC.hI(jf), bC.gy(jP, jg) < bC.gy(jP, jf))) && (jM[player] = hr) } - this.dE = function() { - jM.fill(a4.f1) + this.dD = function() { + jM.fill(a2.f1) }, this.ha = function(player) { var jP, jS, jQ, hr = function(player) { var hr = jM[player]; - if (hr !== a4.f1) { - if (b3.en.je(hr)) return hr; - jM[player] = a4.f1 + if (hr !== a2.f1) { + if (b2.en.je(hr)) return hr; + jM[player] = a2.f1 } - return a4.f1 + return a2.f1 }(player); return function(player) { - for (var ir = is, jZ = iq, ex = Math.min(jZ, jZ < 17 && 5 === aq.i1(20) ? 1 : 16), f5 = aq.i1(jZ), e2 = bF.e2, fG = aZ.fG, jL = 0, a2 = 0; a2 < ex; a2++) { - var f4 = ir[(a2 + f5) % jZ]; + for (var ir = is, jZ = iq, ex = Math.min(jZ, jZ < 17 && 5 === ao.i1(20) ? 1 : 16), f5 = ao.i1(jZ), e2 = bE.e2, fG = aX.fG, jL = 0, a0 = 0; a0 < ex; a0++) { + var f4 = ir[(a0 + f5) % jZ]; f4 !== player && fG[f4].length && (e2[jL++] = f4) } - bF.dv[0] = jL - }(player), 0 !== bF.dv[0] && (0 < (jS = jT(jQ = jR(player, jP = bD.hN(player)), jP)) && bE.jU.jV(player, jS) ? (jW(player, jP, jQ, hr), !0) : 0 < (jQ = function(player, jP) { - for (var ex = bF.dv[0], e2 = bF.e2, jd = jM, f5 = 0, a2 = 0; a2 < ex; a2++) { - var f4 = e2[a2], + bE.dv[0] = jL + }(player), 0 !== bE.dv[0] && (0 < (jS = jT(jQ = jR(player, jP = bC.hN(player)), jP)) && bD.jU.jV(player, jS) ? (jW(player, jP, jQ, hr), !0) : 0 < (jQ = function(player, jP) { + for (var ex = bE.dv[0], e2 = bE.e2, jd = jM, f5 = 0, a0 = 0; a0 < ex; a0++) { + var f4 = e2[a0], f4 = jd[f4]; - f4 !== a4.f1 && b3.en.je(f4) && player !== f4 && gC(player, f4) && (e2[f5++] = f4) + f4 !== a2.f1 && b2.en.je(f4) && player !== f4 && gC(player, f4) && (e2[f5++] = f4) } - return 0 !== (bF.dv[0] = f5) ? jT(jR(player, jP), jP) : 0 - }(player, jP)) && bE.jU.jV(player, jQ) ? (jW(player, jP, aU.f8(jQ << 2), hr), !0) : !!(0 < (jS = jT(hr, jP)) && bE.jU.jV(player, jS))) + return 0 !== (bE.dv[0] = f5) ? jT(jR(player, jP), jP) : 0 + }(player, jP)) && bD.jU.jV(player, jQ) ? (jW(player, jP, aS.f8(jQ << 2), hr), !0) : !!(0 < (jS = jT(hr, jP)) && bD.jU.jV(player, jS))) } } function hS() { this.ha = function(player) { var fu = function(player) { - var ex = ad.hP.jj; + var ex = ab.hP.jj; if (0 === ex) return -1; - for (var jZ = Math.min(ex, ad.performance.jk ? ex : 10), dV = ad.hP.dV, i0 = bC.el(aq.random() * ex, aq.value(100)), d = i0 + jZ, jl = aq.hO(aZ.hJ[player], aZ.hK[player]), jm = aq.hO(aZ.hL[player], aZ.hM[player]), jb = -1, iI = bD - .gz(0, 0, bJ.eS, bJ.eT), a2 = i0; a2 < d; a2++) { - var f5 = a2 % ex, - jn = bD.gl(jl, jm, dV[f5]); + for (var jZ = Math.min(ex, ab.performance.jk ? ex : 10), dV = ab.hP.dV, i0 = bB.el(ao.random() * ex, ao.value(100)), d = i0 + jZ, jl = ao.hO(aX.hJ[player], aX.hK[player]), jm = ao.hO(aX.hL[player], aX.hM[player]), jb = -1, iI = bC + .gz(0, 0, bI.eS, bI.eT), a0 = i0; a0 < d; a0++) { + var f5 = a0 % ex, + jn = bC.gl(jl, jm, dV[f5]); jn < iI && (iI = jn, jb = f5) } return -1 !== jb ? dV[jb] : -1 }(player); - return -1 !== fu && bE.jU.jV(player, fu) + return -1 !== fu && bD.jU.jV(player, fu) } } function hV() { - this.jk = 0, this.dE = function() { + this.jk = 0, this.dD = function() { this.jk = 0 }, this.ha = function() { - if (!this.jk && bU.eq() % 30 == 7 && b3.en.jq(75) && (ad.performance.jk = 1)) - if (a4.hl) { - bW.jt(bW.ju()); - var e5 = bF.e3, - ex = bF.dv[0]; + if (!this.jk && bT.eq() % 30 == 7 && b2.en.jq(75) && (ab.performance.jk = 1)) + if (a2.hl) { + bV.jt(bV.ju()); + var e5 = bE.e3, + ex = bE.dv[0]; if (0 !== ex) - for (var jv = Math.min(100 + 10 * (ex - 1), 400), a2 = 0; a2 < ex; a2++) a5.jK(e5[a2], jv) - } else a5.jK(jw[0], 100) + for (var jv = Math.min(100 + 10 * (ex - 1), 400), a0 = 0; a0 < ex; a0++) a3.jK(e5[a0], jv) + } else a3.jK(jw[0], 100) } } function hQ() { var jx, jy, jz = 300, k0 = 300; - this.jj = 0, this.dV = new Uint32Array(512), this.dE = function() { + this.jj = 0, this.dV = new Uint32Array(512), this.dD = function() { jy = jx = 0, this.jj = 0 }, this.ha = function() { if (function() { - var ex = ad.hP.jj; + var ex = ab.hP.jj; if (0 === ex) return 1; - var dV = ad.hP.dV; - if (bU.eq() % 35 == 6) { - for (var a2 = ex - 1; 0 <= a2; a2--) aU.f9(dV[a2] << 2) || (ex--, dV[a2] = dV[ex]); - ad.hP.jj = ex + var dV = ab.hP.dV; + if (bT.eq() % 35 == 6) { + for (var a0 = ex - 1; 0 <= a0; a0--) aS.f9(dV[a0] << 2) || (ex--, dV[a0] = dV[ex]); + ab.hP.jj = ex } return ex < dV.length }() && !(jz <= jx)) { - var a2, w = bJ.eS, - k3 = w - 2, - ex = k3 * (bJ.eT - 2), + var a0, u = bI.eS, + k3 = u - 2, + ex = k3 * (bI.eT - 2), k4 = jz, - dV = ad.hP.dV, - jZ = ad.hP.jj, + dV = ab.hP.dV, + jZ = ab.hP.jj, k5 = dV.length, - f5 = Math.min(jy + k4 * ((1 + 19 * ad.performance.jk) * k0), ex); - for (a2 = jy; a2 < f5; a2 += k4) { - var fw = 4 * (a2 % k3 + (bC.el(a2, k3) + 1) * w + 1); - if (aU.f9(fw) && (dV[jZ] = fw >> 2, ++jZ === k5)) { - a2 += k4; + f5 = Math.min(jy + k4 * ((1 + 19 * ab.performance.jk) * k0), ex); + for (a0 = jy; a0 < f5; a0 += k4) { + var fw = 4 * (a0 % k3 + (bB.el(a0, k3) + 1) * u + 1); + if (aS.f9(fw) && (dV[jZ] = fw >> 2, ++jZ === k5)) { + a0 += k4; break } - }(jy = a2) >= ex && (jy = ++jx), ad.hP.jj = jZ + }(jy = a0) >= ex && (jy = ++jx), ab.hP.jj = jZ } } } function k6() { - aE.ha(), aY.ha(), aN.k7(), at.k8.ha() + aC.ha(), aW.ha(), aL.k7(), aq.k8.ha() } function k9() { - au.ha(), a7.ha(), aX.ha(), ax.ha(), a6.ha(), a8.ha(), ad.ha(), bE.k8.ha(), kA(), aM.ha(), ar.ha(), bI.ha(), bM.ha(), aY.ha(), aY.kB(), aN.ha(), bG.ha(), aL.ha(), aG.ha(), aE.ha(), ay.ha(), aI.ha(), an.ha(), bS.ha(), bW.ha(), at.k8.ha(), at.kC - .ha(), i.ha(), b2.ha(), bU.ha() + ar.ha(), a5.ha(), aV.ha(), av.ha(), a4.ha(), a6.ha(), ab.ha(), bD.k8.ha(), kA(), aK.ha(), ap.ha(), bH.ha(), bL.ha(), aW.ha(), aW.kB(), aL.ha(), bF.ha(), aJ.ha(), aE.ha(), aC.ha(), aw.ha(), aG.ha(), al.ha(), bR.ha(), bV.ha(), aq.k8.ha(), aq.kC + .ha(), i.ha(), b1.ha(), bT.ha() } function kD() { - a9.ha(), aO.ha(), aH.ha(), ak.ha(), b4.ha(), ao.kE() + a7.ha(), aM.ha(), aF.ha(), ai.ha(), b3.ha(), am.kE() } function kF() { - aM.kG(!1), aG.kG(), aN.kG(!1), aL.kG(), aI.kG(), an.kG(), aY.kG(!1), bW.kH() + aK.kG(!1), aE.kG(), aL.kG(!1), aJ.kG(), aG.kG(), al.kG(), aW.kG(!1), bV.kH() } function kI() { - aY.kG(!1) && (bU.dK = !0), at.k8.ha() + aW.kG(!1) && (bT.dK = !0), aq.k8.ha() } function bm() { var kJ, kK, kL, kM, kN; function kQ(kS) { - for (var a2 = kJ - 1; 0 <= a2; a2--) 0 === kL[kK[a2]] && aZ.ep[kK[a2]] >= kS && eU(kK[a2]) + for (var a0 = kJ - 1; 0 <= a0; a0--) 0 === kL[kK[a0]] && aX.ep[kK[a0]] >= kS && eU(kK[a0]) } function kP(player) { var dp; - 64 === kL[player] ? kL[player] = 6 : (dp = aZ.ep[player], kL[player] = dp < 1e3 ? 3 : dp < 1e4 ? 2 : dp < 6e4 ? 1 : 0) + 64 === kL[player] ? kL[player] = 6 : (dp = aX.ep[player], kL[player] = dp < 1e3 ? 3 : dp < 1e4 ? 2 : dp < 6e4 ? 1 : 0) } - this.dE = function() { - kM = kN = 0, kJ = 0, kK = new Uint16Array(a4.f1), kL = new Uint8Array(a4.f1) + this.dD = function() { + kM = kN = 0, kJ = 0, kK = new Uint16Array(a2.f1), kL = new Uint8Array(a2.f1) }, this.ha = function() { - var a2; - for (kM = bS.ev[13], kN = aZ.et[a4.es], a2 = kJ - 1; 0 <= a2; a2--) 64 === kL[kK[a2]] ? kP(kK[a2]) : 0 == kL[kK[a2]]-- && (kP(kK[a2]), eU(kK[a2])); - 16e4 <= aZ.ep[jw[0]] && (kQ(16e4), 3e5 <= aZ.ep[jw[0]]) && kQ(3e5), aZ.ep[a4.es] > bS.ev[7] && (bS.ev[7] = aZ.ep[a4.es]), bS.ev[14] += kN - aZ.et[a4.es] + kM - bS.ev[13] + var a0; + for (kM = bR.ev[13], kN = aX.et[a2.es], a0 = kJ - 1; 0 <= a0; a0--) 64 === kL[kK[a0]] ? kP(kK[a0]) : 0 == kL[kK[a0]]-- && (kP(kK[a0]), eU(kK[a0])); + 16e4 <= aX.ep[jw[0]] && (kQ(16e4), 3e5 <= aX.ep[jw[0]]) && kQ(3e5), aX.ep[a2.es] > bR.ev[7] && (bR.ev[7] = aX.ep[a2.es]), bR.ev[14] += kN - aX.et[a2.es] + kM - bR.ev[13] }, this.er = function(player) { - for (var hy, a2 = kJ - 1; 0 <= a2; a2--) - if (player === kK[a2]) { - for (kJ--, hy = a2; hy < kJ; hy++) kK[hy] = kK[hy + 1]; + for (var hy, a0 = kJ - 1; 0 <= a0; a0--) + if (player === kK[a0]) { + for (kJ--, hy = a0; hy < kJ; hy++) kK[hy] = kK[hy + 1]; return } }, this.hp = function(player, kT) { - for (var a2 = kJ - 1; 0 <= a2; a2--) - if (player === kK[a2]) return; + for (var a0 = kJ - 1; 0 <= a0; a0--) + if (player === kK[a0]) return; kK[kJ++] = player, kL[player] = kT ? 2 : 64 } } function bn() { var size, iZ; - this.dE = function() { - size = a4.jA, iZ = new Uint16Array(a4.f1); - for (var ip = a4.ip, a2 = a4.jA - 1; 0 <= a2; a2--) iZ[a2] = ip + a2 + this.dD = function() { + size = a2.jA, iZ = new Uint16Array(a2.f1); + for (var ip = a2.ip, a0 = a2.jA - 1; 0 <= a0; a0--) iZ[a0] = ip + a0 }, this.ha = function() { - for (var a2 = size - 1; 0 <= a2; a2--) - if (0 === aZ.kW[iZ[a2]]) { + for (var a0 = size - 1; 0 <= a0; a0--) + if (0 === aX.kW[iZ[a0]]) { hy = void 0; - var hy = a2; + var hy = a0; size--, iZ[hy] = iZ[size] - } else a5.ha(iZ[a2]) + } else a3.ha(iZ[a0]) }, this.kV = function(f4) { iZ[size++] = f4 } @@ -711,21 +712,21 @@ function bn() { function bo() { var kY, kZ, kJ, kK, kL, ka, kb, kc; - function kf(a2) { + function kf(a0) { var hy; - for (kJ--, hy = a2; hy < kJ; hy++) kK[hy] = kK[hy + 1], kL[hy] = kL[hy + 1], ka[hy] = ka[hy + 1], kb[hy] = kb[hy + 1], kc[hy] = kc[hy + 1] + for (kJ--, hy = a0; hy < kJ; hy++) kK[hy] = kK[hy + 1], kL[hy] = kL[hy + 1], ka[hy] = ka[hy + 1], kb[hy] = kb[hy + 1], kc[hy] = kc[hy + 1] } - this.dE = function() { - kY = 1, kJ = 0, kZ = 2 * a4.f1, kK = new Uint16Array(kZ), kL = new Uint8Array(kZ), ka = new Uint16Array(kZ), kb = new Uint32Array(kZ), kc = new Uint32Array(kZ) + this.dD = function() { + kY = 1, kJ = 0, kZ = 2 * a2.f1, kK = new Uint16Array(kZ), kL = new Uint8Array(kZ), ka = new Uint16Array(kZ), kb = new Uint32Array(kZ), kc = new Uint32Array(kZ) }, this.kd = function(ke, position) { kb[ke] = position }, this.ha = function() { - for (var a2 = kJ - 1; 0 <= a2; a2--) 0 == kL[a2]-- && (kL[a2] = 2, ah.ha(a2, ka[a2], kK[a2], kb[a2], kc[a2])) + for (var a0 = kJ - 1; 0 <= a0; a0--) 0 == kL[a0]-- && (kL[a0] = 2, af.ha(a0, ka[a0], kK[a0], kb[a0], kc[a0])) }, this.er = function(player, id) { - for (var a2 = kJ - 1; 0 <= a2; a2--) - if (player === kK[a2] && id === ka[a2]) return void kf(a2) + for (var a0 = kJ - 1; 0 <= a0; a0--) + if (player === kK[a0] && id === ka[a0]) return void kf(a0) }, this.kg = function(player) { - for (var a2 = kJ - 1; 0 <= a2; a2--) player === kK[a2] && (ah.kh(player, kb[a2]), kf(a2)) + for (var a0 = kJ - 1; 0 <= a0; a0--) player === kK[a0] && (af.kh(player, kb[a0]), kf(a0)) }, this.hp = function(player, i0, ki) { if (kZ <= kJ) return 0; kK[kJ] = player, kL[kJ] = 0, ka[kJ] = kY, kb[kJ] = i0, kc[kJ] = ki; @@ -733,13 +734,13 @@ function bo() { return kJ++, kY = 2 * kZ < ++kY ? 1 : kY, player }, this.kk = function() { if (!(h7 < 40 || 0 === kJ)) { - var hy, ff, fg, a2, fontSize, ko, hs, kp = h6 / h7, + var hy, ff, fg, a0, fontSize, ko, hs, kp = h6 / h7, kq = h8 / h7, - kr = (ap.w + h6) / h7, - ks = (ap.iE + h8) / h7; - for (b3.kt.textAlign(ku, 1), b3.kt.textBaseline(ku, 1), hy = kJ - 1; 0 <= hy; hy--) ff = aU.kv(kb[hy]), fg = aU.kw(kb[hy]), a2 = kK[hy], kp - 1 < ff && ff < kr && kq - 1 < fg && fg < ks && 0 !== aZ.kW[a2] && ((fontSize = Math.floor( - .94 * h7 * aY.kx(a2))) < 6 || (ff = Math.floor(ap.w * (ff + .5 - kp) / (kr - kp)), fg = Math.floor(ap.iE * (fg + .48 - kq) / (ks - kq)), ku.font = b3.kt.ky(1, fontSize), ku.fillStyle = r.kz, hs = aW.ee(a2, aW.l0(a2, ka[ - hy])), ku.fillText(bY.dV.data[7].value ? b3.l1.l2(hs) : aZ.l3[a2], ff, fg), (ko = Math.floor(.5 * fontSize)) < 6) || (ku.font = b3.kt.ky(1, ko), ku.fillText(bY.dV.data[7].value ? aZ.l3[a2] : b3.l1.l2(hs), ff, fg + Math + kr = (an.u + h6) / h7, + ks = (an.iE + h8) / h7; + for (b2.kt.textAlign(ku, 1), b2.kt.textBaseline(ku, 1), hy = kJ - 1; 0 <= hy; hy--) ff = aS.kv(kb[hy]), fg = aS.kw(kb[hy]), a0 = kK[hy], kp - 1 < ff && ff < kr && kq - 1 < fg && fg < ks && 0 !== aX.kW[a0] && ((fontSize = Math.floor( + .94 * h7 * aW.kx(a0))) < 6 || (ff = Math.floor(an.u * (ff + .5 - kp) / (kr - kp)), fg = Math.floor(an.iE * (fg + .48 - kq) / (ks - kq)), ku.font = b2.kt.ky(1, fontSize), ku.fillStyle = p.kz, hs = aU.ee(a0, aU.l0(a0, ka[ + hy])), ku.fillText(bX.dV.data[7].value ? b2.l1.l2(hs) : aX.l3[a0], ff, fg), (ko = Math.floor(.5 * fontSize)) < 6) || (ku.font = b2.kt.ky(1, ko), ku.fillText(bX.dV.data[7].value ? aX.l3[a0] : b2.l1.l2(hs), ff, fg + Math .floor(.82 * fontSize)))) } } @@ -750,7 +751,7 @@ function bp() { lI = !1; function lJ(lK) { - lF = bU.dn, l6 = l7 = l5 = 0, l8 = (lG = 33) / lK, l4 = 1 / (lK / lG / 4), l9 = (ap.w / 2 + h6) / h7, lA = (ap.iE / 2 + h8) / h7, lB = h7 + lF = bT.dn, l6 = l7 = l5 = 0, l8 = (lG = 33) / lK, l4 = 1 / (lK / lG / 4), l9 = (an.u / 2 + h6) / h7, lA = (an.iE / 2 + h8) / h7, lB = h7 } function lX(lZ) { @@ -759,44 +760,44 @@ function bp() { function lW(kp, kq, kr, ks) { lC = (kp + kr + 1) / 2, lD = (kq + ks + 1) / 2; - kr = ap.w / (kr - kp + 1), kp = ap.iE / (ks - kq + 1); + kr = an.u / (kr - kp + 1), kp = an.iE / (ks - kq + 1); lE = .9 * (kr < kp ? kr : kp) } this.lL = function() { return lH }, this.lM = function() { - lJ(1), this.lN(0, 0, bJ.eS - 1, bJ.eT - 1), a4.fz || a4.fj || this.lO(a4.es, 3e3, !0, .3) + lJ(1), this.lN(0, 0, bI.eS - 1, bI.eT - 1), a2.fz || a2.fj || this.lO(a2.es, 3e3, !0, .3) }, this.lO = function(player, lK, lP, zoom) { - a4.lQ || lH && !lP && lI || 0 === aZ.ep[player] || (aJ.lR = !1, lI = lP, lJ(lK), function(player) { - lC = (aZ.hJ[player] + aZ.hK[player] + 1) / 2, lD = (aZ.hL[player] + aZ.hM[player] + 1) / 2 + a2.lQ || lH && !lP && lI || 0 === aX.ep[player] || (aH.lR = !1, lI = lP, lJ(lK), function(player) { + lC = (aX.hJ[player] + aX.hK[player] + 1) / 2, lD = (aX.hL[player] + aX.hM[player] + 1) / 2 }(player), function(zoom, player) { - var gr = aZ.hK[player] - aZ.hJ[player] + 1, - player = aZ.hM[player] - aZ.hL[player] + 1, - hy = ap.w / gr, - i4 = ap.iE / player, + var gr = aX.hK[player] - aX.hJ[player] + 1, + player = aX.hM[player] - aX.hL[player] + 1, + hy = an.u / gr, + i4 = an.iE / player, hy = (lE = hy < i4 ? hy : i4, 0 !== zoom ? zoom : gr < 20 && player < 20 ? .5 : .9); lE *= hy, lX(7 / 8) - }(zoom, player), lH = !0, ag.lU()) + }(zoom, player), lH = !0, ae.lU()) }, this.lV = function(lK) { - a4.fj || a4.lQ || (aJ.lR = !1, lI = !1, lJ(lK), lW(0, 0, bJ.eS - 1, bJ.eT - 1), lX(7 / 8), lH = !0, ag.lU()) + a2.fj || a2.lQ || (aH.lR = !1, lI = !1, lJ(lK), lW(0, 0, bI.eS - 1, bI.eT - 1), lX(7 / 8), lH = !0, ae.lU()) }, this.lN = function(kp, kq, kr, ks) { - lW(kp, kq, kr, ks), h7 = lE, aJ.la(lC, ap.w / 2), aJ.lb(lD, ap.iE / 2), bP.lc() + lW(kp, kq, kr, ks), h7 = lE, aH.la(lC, an.u / 2), aH.lb(lD, an.iE / 2), bO.lc() }, this.ld = function() { return !(lH && lI || (lH = !1)) }, this.ha = function() { var lg, lh, f6, lk; - lH && (l5 < .5 ? l7 < l8 && (l7 += l8 * l4, l6 = l5) : 1 - l6 < l5 && (l7 = (l7 -= l8 * l4) < l8 * l4 ? l8 * l4 : l7), lF = lF >= bU.dn ? bU.dn - 1 : lF, f6 = bU.dn - lF, l5 = 1e3 < f6 || 1 < (l5 += l7 * f6 / lG) ? 1 : l5, lF = bU.dn, - f6 = h7, lg = h6, lh = h8, f6 = (h7 = lB * Math.pow(lE / lB, l5)) / f6, lk = 1 - (lB * Math.pow(lE / lB, 1 - l5) - lB) / (lE - lB), aJ.la(l9 + lk * (lC - l9), ap.w / 2), aJ.lb(lA + lk * (lD - lA), ap.iE / 2), aY.zoom(f6, (lg * - f6 - h6) / (1 - f6), (lh * f6 - h8) / (1 - f6)), bP.lc(), 1 <= l5 && (lH = !1, bQ.ll = !0), bU.dK = !0) + lH && (l5 < .5 ? l7 < l8 && (l7 += l8 * l4, l6 = l5) : 1 - l6 < l5 && (l7 = (l7 -= l8 * l4) < l8 * l4 ? l8 * l4 : l7), lF = lF >= bT.dn ? bT.dn - 1 : lF, f6 = bT.dn - lF, l5 = 1e3 < f6 || 1 < (l5 += l7 * f6 / lG) ? 1 : l5, lF = bT.dn, + f6 = h7, lg = h6, lh = h8, f6 = (h7 = lB * Math.pow(lE / lB, l5)) / f6, lk = 1 - (lB * Math.pow(lE / lB, 1 - l5) - lB) / (lE - lB), aH.la(l9 + lk * (lC - l9), an.u / 2), aH.lb(lA + lk * (lD - lA), an.iE / 2), aW.zoom(f6, (lg * + f6 - h6) / (1 - f6), (lh * f6 - h8) / (1 - f6)), bO.lc(), 1 <= l5 && (lH = !1, bP.ll = !0), bT.dK = !0) } } -function bh() { - var ik = b3.color; +function bg() { + var ik = b2.color; this.kz = ik.lm(0, 0, 0), this.ln = ik.lo(0, 0, 0, .7), this.lp = ik.lo(0, 0, 0, .5), this.lq = ik.lo(0, 0, 0, .85), this.lr = ik.lo(0, 0, 0, .75), this.ls = ik.lo(0, 0, 0, .6), this.lt = ik.lo(0, 0, 0, .35), this.lu = ik.lm(255, 255, 255), this .lv = ik.lo(255, 255, 255, .3), this.lw = ik.lo(255, 255, 255, .6), this.lx = ik.lo(255, 255, 255, .4), this.ly = ik.lo(255, 255, 255, .25), this.lz = ik.lo(255, 255, 255, .85), this.m0 = ik.lo(255, 255, 255, .75), this.m1 = ik.lo(255, 255, 255, .15), this.m2 = ik.lm(128, 128, 128), this.m3 = ik.lo(64, 64, 64, .75), this.m4 = ik.lo(88, 88, 88, .83), this.m5 = ik.lo(60, 60, 60, .85), this.m6 = ik.lo(80, 60, 60, .85), this.m7 = ik.lm(30, 255, 30), this.m8 = ik.lm(0, 200, 0), - this.m9 = ik.lm(128, 255, 128), this.mA = ik.lo(10, 65, 10, .75), this.mB = ik.lo(0, 255, 0, .6), this.mC = ik.lo(0, 255, 0, .5), this.mD = ik.lo(0, 200, 0, .5), this.s = ik.lo(0, 100, 0, .75), this.mE = ik.lo(0, 60, 0, .8), this.mF = ik.lo( + this.m9 = ik.lm(128, 255, 128), this.mA = ik.lo(10, 65, 10, .75), this.mB = ik.lo(0, 255, 0, .6), this.mC = ik.lo(0, 255, 0, .5), this.mD = ik.lo(0, 200, 0, .5), this.q = ik.lo(0, 100, 0, .75), this.mE = ik.lo(0, 60, 0, .8), this.mF = ik.lo( 0, 255, 0, .3), this.mG = ik.lo(0, 180, 0, .6), this.mH = ik.lo(0, 120, 0, .85), this.mI = ik.lm(0, 120, 0), this.mJ = ik.lo(0, 70, 0, .85), this.mK = ik.lm(255, 120, 120), this.mL = ik.lm(255, 160, 160), this.mM = ik.lm(255, 70, 70), this.mN = ik.lm(230, 0, 0), this.mO = ik.lo(220, 0, 0, .6), this.mP = ik.lo(255, 100, 100, .8), this.mQ = ik.lo(100, 0, 0, .85), this.mR = ik.lo(60, 0, 0, .85), this.mS = ik.lo(200, 0, 0, .6), this.mT = ik.lo(120, 0, 0, .85), this.mU = ik.lm( 255, 70, 10), this.mV = ik.lo(0, 60, 60, .85), this.mW = ik.lo(10, 60, 60, .9), this.mX = ik.lo(0, 96, 96, .75), this.mY = ik.lm(160, 160, 255), this.mZ = ik.lo(0, 40, 90, .75), this.ma = ik.lo(0, 0, 255, .6), this.mb = ik.lm(200, 200, @@ -810,87 +811,87 @@ function cg() { function mo() { this.g1 = function(fu) { - a4.jD ? b1.mq.g1(a4.es, fu) : at.mv.mw(fu) + a2.jD ? b0.mq.g1(a2.es, fu) : aq.mv.mw(fu) }, this.g9 = function(h5, hr) { - a4.jD ? b1.mq.g9(a4.es, h5, hr) : at.mv.mx(h5, hr) + a2.jD ? b0.mq.g9(a2.es, h5, hr) : aq.mv.mx(h5, hr) }, this.my = function(h5, mz) { - a4.jD ? b1.mq.n0(a4.es, h5, mz) : at.mv.n1(h5, mz) + a2.jD ? b0.mq.n0(a2.es, h5, mz) : aq.mv.n1(h5, mz) }, this.g6 = function(h5, fu) { - a4.jD ? b1.mq.g6(a4.es, h5, fu) : bE.g4.g5(a4.es, fu) && at.mv.n2(h5, fu) + a2.jD ? b0.mq.g6(a2.es, h5, fu) : bD.g4.g5(a2.es, fu) && aq.mv.n2(h5, fu) }, this.n3 = function(n4, fu) { - a4.jD ? b1.mq.n3(a4.es, n4, fu) : bE.g4.n5(a4.es, n4, fu) && at.mv.n6(n4, fu) + a2.jD ? b0.mq.n3(a2.es, n4, fu) : bD.g4.n5(a2.es, n4, fu) && aq.mv.n6(n4, fu) }, this.n7 = function(hr) { - a4.jD ? b1.mq.n7(a4.es, hr) : at.mv.n8(hr) + a2.jD ? b0.mq.n7(a2.es, hr) : aq.mv.n8(hr) }, this.n9 = function(nA) { - a4.jD ? b1.mq.nB(a4.es, nA) : at.mv.nC(nA) + a2.jD ? b0.mq.nB(a2.es, nA) : aq.mv.nC(nA) }, this.nD = function(nE) { - a4.jD ? b1.mq.nD(a4.es, nE) : at.mv.nF(nE) + a2.jD ? b0.mq.nD(a2.es, nE) : aq.mv.nF(nE) }, this.nG = function() { - a4.jD ? b1.mq.nG(a4.es) : at.mv.nH() + a2.jD ? b0.mq.nG(a2.es) : aq.mv.nH() }, this.nI = function() { - a4.jD ? b1.mq.nI(a4.es) : at.mv.n2(1, 0) + a2.jD ? b0.mq.nI(a2.es) : aq.mv.n2(1, 0) } } function mu() { this.iv = function(player, mz, hs) { - b3.en.nJ(player, hs, mz) && (aX.my(player, mz), mz < a4.ip) && aq.random() < aq.value(10) && (ad.hY.hm[mz] = 0) + b2.en.nJ(player, hs, mz) && (aV.my(player, mz), mz < a2.ip) && ao.random() < ao.value(10) && (ab.hY.hm[mz] = 0) }, this.nK = function(player, mz, hs) { - b3.en.nL(hs, mz) && (b3.en.nM(mz, bF.dw[0]), bS.nN(player, mz), aY.nO(mz, bF.dw[0])) + b2.en.nL(hs, mz) && (b2.en.nM(mz, bE.dw[0]), bR.nN(player, mz), aW.nO(mz, bE.dw[0])) } } function mp() { this.nP = function(nA, player) { - aE.n9(a4.es, player, nA), at.mv.nQ(nA, player) + aC.n9(a2.es, player, nA), aq.mv.nQ(nA, player) }, this.nR = function(player) { - aE.nS(player, 0), at.mv.nT(player) + aC.nS(player, 0), aq.mv.nT(player) }, this.nU = function(nV, player) { - aE.nW(nV, player), at.mv.nX(nV, player) + aC.nW(nV, player), aq.mv.nX(nV, player) }, this.nY = function() { - a4.jD || a4.fj || at.nZ.nY() + a2.jD || a2.fj || aq.nZ.nY() } } function mt() { - this.ha = function(a3) { + this.ha = function(a1) { var id, e6, ld; - for (b8.dE(a3), b8.ke += 2, ld = 8 * b8.size; b8.ke + 8 <= ld;) id = b8.na(4), e6 = b8.na(9), 0 === id ? this.nb(id, e6, b8.na(22)) : 1 === id ? this.nb(id, e6, b8.na(10), b8.na(10)) : 2 === id ? this.nb(id, e6, b8.na(10), b8.na(9)) : - 3 === id || 4 === id ? this.nb(id, e6, b8.na(10), b8.na(22)) : 5 === id || 6 === id ? this.nb(id, e6, b8.na(10)) : 7 === id ? this.nb(id, e6, b8.na(1)) : this.nb(id, e6) + for (b7.dD(a1), b7.ke += 2, ld = 8 * b7.size; b7.ke + 8 <= ld;) id = b7.na(4), e6 = b7.na(9), 0 === id ? this.nb(id, e6, b7.na(22)) : 1 === id ? this.nb(id, e6, b7.na(10), b7.na(10)) : 2 === id ? this.nb(id, e6, b7.na(10), b7.na(9)) : + 3 === id || 4 === id ? this.nb(id, e6, b7.na(10), b7.na(22)) : 5 === id || 6 === id ? this.nb(id, e6, b7.na(10)) : 7 === id ? this.nb(id, e6, b7.na(1)) : this.nb(id, e6) }, this.nc = [], this.nd = function() { - for (var nf = 0, ng = 0, nh = 0, ni = 0, nj = 0, nk = 0, a2 = 0; a2 < 512; a2++) nf += aZ.kW[a2], ng += aZ.ep[a2], nh += aZ.et[a2], ni += bE.k8.nl[a2]; - nj += bE.k8.nm, nk += iq, this.nc.push(nh % 1073741824 * 4 + (nf + ng + ni + nj + nk) % 4) + for (var nf = 0, ng = 0, nh = 0, ni = 0, nj = 0, nk = 0, a0 = 0; a0 < 512; a0++) nf += aX.kW[a0], ng += aX.ep[a0], nh += aX.et[a0], ni += bD.k8.nl[a0]; + nj += bD.k8.nm, nk += iq, this.nc.push(nh % 1073741824 * 4 + (nf + ng + ni + nj + nk) % 4) }, this.nb = function(id, e6, e8, eA) { - 0 === id ? b1.mq.g1(e6, e8) : 1 === id ? b1.mq.g9(e6, e8, eA) : 2 === id ? b1.mq.n0(e6, e8, eA) : 3 === id ? b1.mq.g6(e6, e8, eA) : 4 === id ? b1.mq.n3(e6, e8, eA) : 5 === id ? b1.mq.n7(e6, e8) : 6 === id ? b1.mq.nB(e6, e8) : 7 === id ? - b1.mq.nD(e6, e8) : 8 === id ? b1.mq.nG(e6) : b1.mq.nn(e6) + 0 === id ? b0.mq.g1(e6, e8) : 1 === id ? b0.mq.g9(e6, e8, eA) : 2 === id ? b0.mq.n0(e6, e8, eA) : 3 === id ? b0.mq.g6(e6, e8, eA) : 4 === id ? b0.mq.n3(e6, e8, eA) : 5 === id ? b0.mq.n7(e6, e8) : 6 === id ? b0.mq.nB(e6, e8) : 7 === id ? + b0.mq.nD(e6, e8) : 8 === id ? b0.mq.nG(e6) : b0.mq.nn(e6) } } function mr() { this.g1 = function(player, fu) { - b3.en.fl(0) && b3.en.fm(player) && bD.h9(fu) && (b2.no.np(0, player, fu), a4.nq.ho(player, fu)) + b2.en.fl(0) && b2.en.fm(player) && bC.h9(fu) && (b1.no.np(0, player, fu), a2.nq.ho(player, fu)) }, this.g9 = function(player, h5, hr) { - b3.en.fl(1) && b3.en.fm(player) && b3.en.nr(player, hr) && b3.en.ns(player, h5, 12, 0) && b3.en.nt(player, hr) && ((hr = aW.i6(player, bF.e1[0])) || aW.iP(player)) && (aZ.nu[player]++, b2.no.np(1, player, h5, bF.e1[0]), ad.hW.he(player, - hr)) && (b3.en.nv(player), bS.nw(player, h5), ad.hW.hk(player)) + b2.en.fl(1) && b2.en.fm(player) && b2.en.nr(player, hr) && b2.en.ns(player, h5, 12, 0) && b2.en.nt(player, hr) && ((hr = aU.i6(player, bE.e1[0])) || aU.iP(player)) && (aX.nu[player]++, b1.no.np(1, player, h5, bE.e1[0]), ab.hW.he(player, + hr)) && (b2.en.nv(player), bR.nw(player, h5), ab.hW.hk(player)) }, this.n0 = function(player, h5, mz) { - b3.en.fl(1) && b3.en.fm(player) && a4.hl && b3.en.nr(player, mz) && b3.en.nx(player, mz) && b3.en.nJ(player, b3.en.h4(player, h5), mz) && (b2.no.np(2, player, h5, mz), aX.my(player, mz)) + b2.en.fl(1) && b2.en.fm(player) && a2.hl && b2.en.nr(player, mz) && b2.en.nx(player, mz) && b2.en.nJ(player, b2.en.h4(player, h5), mz) && (b1.no.np(2, player, h5, mz), aV.my(player, mz)) }, this.g6 = function(player, h5, fu) { - b3.en.fl(1) && b3.en.fm(player) && (0 === fu && 1 === h5 ? this.nI(player) : bD.h9(fu) && bE.k8.nm !== bE.k8.ny && bE.k8.nl[player] !== bE.k8.nz && 0 !== aZ.fG[player].length && b3.en.ns(player, h5, 32, 0) && bE.jU.jV(player, fu) && (b2 - .no.np(3, player, h5, fu), b3.en.nv(player), bE.k8.o0(player))) + b2.en.fl(1) && b2.en.fm(player) && (0 === fu && 1 === h5 ? this.nI(player) : bC.h9(fu) && bD.k8.nm !== bD.k8.ny && bD.k8.nl[player] !== bD.k8.nz && 0 !== aX.fG[player].length && b2.en.ns(player, h5, 32, 0) && bD.jU.jV(player, fu) && (b1 + .no.np(3, player, h5, fu), b2.en.nv(player), bD.k8.o0(player))) }, this.n3 = function(player, n4, fu) { - b3.en.fl(1) && b3.en.fm(player) && bD.h9(fu) && bE.g4.o1(player, n4) && bE.jU.o2(fu) && (b2.no.np(4, player, n4, fu), b3.en.o3(player, 8), bE.k8.n3()) + b2.en.fl(1) && b2.en.fm(player) && bC.h9(fu) && bD.g4.o1(player, n4) && bD.jU.o2(fu) && (b1.no.np(4, player, n4, fu), b2.en.o3(player, 8), bD.k8.n3()) }, this.n7 = function(player, hr) { - b3.en.fl(1) && b3.en.fm(player) && (hr = Math.min(hr, a4.f1), aW.i6(player, hr)) && (b2.no.np(5, player, hr), aW.o4(player, hr)) + b2.en.fl(1) && b2.en.fm(player) && (hr = Math.min(hr, a2.f1), aU.i6(player, hr)) && (b1.no.np(5, player, hr), aU.o4(player, hr)) }, this.nB = function(player, nA) { - (b3.en.fl(1) || b3.en.fl(2)) && b3.en.fm(player) && (nA = bC.o5(nA, 0, 1023), b2.no.np(6, player, nA), aY.o6(player, 0, nA)) + (b2.en.fl(1) || b2.en.fl(2)) && b2.en.fm(player) && (nA = bB.o5(nA, 0, 1023), b1.no.np(6, player, nA), aW.o6(player, 0, nA)) }, this.nD = function(player, nE) { - b3.en.fl(1) && b3.en.fm(player) && (b2.no.np(7, player, nE), an.o7(player, nE)) + b2.en.fl(1) && b2.en.fm(player) && (b1.no.np(7, player, nE), al.o7(player, nE)) }, this.nG = function(player) { - (b3.en.fl(0) || b3.en.fl(1)) && b3.en.fm(player) && bH.nG(player) && b2.no.np(8, player) + (b2.en.fl(0) || b2.en.fl(1)) && b2.en.fm(player) && bG.nG(player) && b1.no.np(8, player) }, this.nn = function(player) { - bH.nn(player), b2.no.np(9, player) + bG.nn(player), b1.no.np(9, player) }, this.nI = function(player) { - an.o8(player) && (b2.no.np(3, player, 1, 0), an.nI(player)) + al.o8(player) && (b1.no.np(3, player, 1, 0), al.nI(player)) } } @@ -906,34 +907,34 @@ function o9() { var oB = document.createElement("div"); oB.innerHTML = oH, oB.style.fontSize = fontSize || "1em", oB.style.lineHeight = "1.2em", this.oB.appendChild(oB) }, this.oI = function(oJ) { - for (var oK = oJ.oK, ex = oK.length, a2 = 0; a2 < ex; a2++) this.oB.appendChild(oK[a2]) + for (var oK = oJ.oK, ex = oK.length, a0 = 0; a0 < ex; a0++) this.oB.appendChild(oK[a0]) }, this.oL = function(oM) { this.oA.push(oM), this.oB.appendChild(oM.d) }, this.resize = function() { - for (var ex = this.oA.length, a2 = 0; a2 < ex; a2++) this.oA[a2].resize && this.oA[a2].resize() + for (var ex = this.oA.length, a0 = 0; a0 < ex; a0++) this.oA[a0].resize && this.oA[a0].resize() }, (oB = this.oB).style.position = "absolute", oB.style.height = "auto", oB.style.padding = "0.5em" } function oN(oO, oP) { - var a2, oB = document.createElement("div"); + var a0, oB = document.createElement("div"); function oW() { - var a2, oX, iE, f5, f6, oS = ap.oY * oB.offsetWidth, + var a0, oX, iE, f5, f6, oS = an.oY * oB.offsetWidth, oZ = new Float64Array(function(oS) { - var w = .25 * b3.kt.oT(.6) * ap.oU; - return Math.max(Math.floor(oS / w), 1) + var u = .25 * b2.kt.oT(.6) * an.oU; + return Math.max(Math.floor(oS / u), 1) }(oS)), - oa = bR.oa, - ob = (oS - (oZ.length + 1) * bR.gap) / (oZ.length * ap.oY); - for (oZ.fill(oa), a2 = 0; a2 < oP.length; a2++) oX = (f6 = oP[a2].oB).style, iE = b3.oc.min(oZ), f5 = oZ.indexOf(iE), oX.top = b3.kt.od(iE), oX.left = b3.kt.od(oa + f5 * (ob + oa)), oX.width = b3.kt.od(ob), b3.kt.oe(f6, 5), oZ[f5] += f6 + oa = bQ.oa, + ob = (oS - (oZ.length + 1) * bQ.gap) / (oZ.length * an.oY); + for (oZ.fill(oa), a0 = 0; a0 < oP.length; a0++) oX = (f6 = oP[a0].oB).style, iE = b2.oc.min(oZ), f5 = oZ.indexOf(iE), oX.top = b2.kt.od(iE), oX.left = b2.kt.od(oa + f5 * (ob + oa)), oX.width = b2.kt.od(ob), b2.kt.oe(f6, 5), oZ[f5] += f6 .offsetHeight + 3 * oa; - oB.style.height = b3.kt.od(b3.oc.max(oZ) - 2 * oa) + oB.style.height = b2.kt.od(b2.oc.max(oZ) - 2 * oa) } for (this.oQ = oP, this.resize = function() { - var a2; - for (a2 = 0; a2 < oP.length; a2++) oP[a2].resize(); + var a0; + for (a0 = 0; a0 < oP.length; a0++) oP[a0].resize(); oW(), oW() - }, oB.style.width = "100%", oB.style.maxWidth = "100%", oO.style.lineHeight = "1.5em", oO.style.overflowX = "hidden", oO.style.overflowY = "auto", a2 = 0; a2 < oP.length; a2++) oB.appendChild(oP[a2].oB); + }, oB.style.width = "100%", oB.style.maxWidth = "100%", oO.style.lineHeight = "1.5em", oO.style.overflowX = "hidden", oO.style.overflowY = "auto", a0 = 0; a0 < oP.length; a0++) oB.appendChild(oP[a0].oB); oO.appendChild(oB) } @@ -942,10 +943,10 @@ function l(title, og, backgroundColor, oh, oi) { function oo() { if (!1 !== oh) { - var or = b3.color.os(backgroundColor); + var or = b2.color.os(backgroundColor); if (0 < or[0] && or[0] < 255 && or[0] === or[1] && or[0] === or[2]) return } - this.style.backgroundColor = b3.color.oo(backgroundColor, 50) + this.style.backgroundColor = b2.color.oo(backgroundColor, 50) } function on() { @@ -964,66 +965,66 @@ function l(title, og, backgroundColor, oh, oi) { f6.style.backgroundColor = backgroundColor, f6.blur() } this.button = oj, this.ok = og, this.ol = backgroundColor, this.om = function(ik) { - ik ? 1 === ik && (ik = r.m5) : ik = r.lq, this.ol = backgroundColor = ik, oj.style.backgroundColor = ik - }, oj.innerHTML = title, oj.style.color = oi ? r.mf : r.lu, oj.style.userSelect = "none", oj.style.outline = "none", oj.style.overflowWrap = "break-word", this.om(backgroundColor), oj.style.border = "none", oj.style.font = "inherit", oj.style + ik ? 1 === ik && (ik = p.m5) : ik = p.lq, this.ol = backgroundColor = ik, oj.style.backgroundColor = ik + }, oj.innerHTML = title, oj.style.color = oi ? p.mf : p.lu, oj.style.userSelect = "none", oj.style.outline = "none", oj.style.overflowWrap = "break-word", this.om(backgroundColor), oj.style.border = "none", oj.style.font = "inherit", oj.style .fontSize = "1em", oj.style.padding = "0em 0.3em", oj.onclick = on, oj.addEventListener("mouseover", oo), oj.addEventListener("mouseout", op), oj.addEventListener("focus", oo), oj.addEventListener("blur", oq) } function ou(ov, oO) { - var oB, a2; + var oB, a0; for (this.resize = function() { - for (var a2 = 0; a2 < ov.length; a2++) b3.kt.oe(ov[a2].button); - oB.style.gap = oB.style.padding = b3.kt.od(bR.oa) - }, (oB = document.createElement("div")).style.display = "grid", oB.style.gridTemplateColumns = "repeat(auto-fill, minmax(9.5em, 1fr))", oB.style.overflowY = "auto", oB.style.gridAutoRows = "5.3em", oB.style.maxHeight = "100%", a2 = 0; a2 < ov - .length; a2++) ov[a2].button.style.fontSize = "1.2em", oB.appendChild(ov[a2].button); + for (var a0 = 0; a0 < ov.length; a0++) b2.kt.oe(ov[a0].button); + oB.style.gap = oB.style.padding = b2.kt.od(bQ.oa) + }, (oB = document.createElement("div")).style.display = "grid", oB.style.gridTemplateColumns = "repeat(auto-fill, minmax(9.5em, 1fr))", oB.style.overflowY = "auto", oB.style.gridAutoRows = "5.3em", oB.style.maxHeight = "100%", a0 = 0; a0 < ov + .length; a0++) ov[a0].button.style.fontSize = "1.2em", oB.appendChild(ov[a0].button); oO.appendChild(oB) } function ox(oy, oz, p0) { - this.ff = 0, this.fg = 0, this.w = 0, this.iE = 0, this.resize = function() { - this.iE = Math.min(b3.kt.oT(p0 || .5) * oy[1] * ap.oU, ap.iE - 2 * bR.gap), this.w = Math.min(this.iE * (oy[0] / oy[1]), ap.w - 2 * bR.gap), this.iE = oy[1] * this.w / oy[0], this.ff = bR.gap + oz[0] * (ap.w - this.w - 2 * bR.gap), this - .fg = bR.gap + oz[1] * (ap.iE - this.iE - 2 * bR.gap) + this.ff = 0, this.fg = 0, this.u = 0, this.iE = 0, this.resize = function() { + this.iE = Math.min(b2.kt.oT(p0 || .5) * oy[1] * an.oU, an.iE - 2 * bQ.gap), this.u = Math.min(this.iE * (oy[0] / oy[1]), an.u - 2 * bQ.gap), this.iE = oy[1] * this.u / oy[0], this.ff = bQ.gap + oz[0] * (an.u - this.u - 2 * bQ.gap), this + .fg = bQ.gap + oz[1] * (an.iE - this.iE - 2 * bQ.gap) }, this.p1 = function() { - return this.ff + .5 * this.w + return this.ff + .5 * this.u } } function p2(p3, title, ok) { function click() { var value = 1 - p3.value; - this.textContent = (value ? "🟢 " : "⚪ ") + title, bY.p4.p5(p3.ke, value), ok(value) + this.textContent = (value ? "🟢 " : "⚪ ") + title, bX.p4.p5(p3.ke, value), ok(value) } var d; - title = title || m.n[121], ok = ok || function() {}, this.d = document.createElement("p"), (d = this.d).textContent = (p3.value ? "🟢 " : "⚪ ") + title, d.style.margin = "0", d.style.marginBottom = "0.5em", d.style.cursor = "pointer", d + title = title || L(6), ok = ok || function() {}, this.d = document.createElement("p"), (d = this.d).textContent = (p3.value ? "🟢 " : "⚪ ") + title, d.style.margin = "0", d.style.marginBottom = "0.5em", d.style.cursor = "pointer", d .addEventListener("click", click) } function p6(oO, oH) { var oB = document.createElement("div"); this.p7 = oB, this.resize = function() { - oB.style.padding = b3.kt.od(bR.oa), oB.style.lineHeight = b3.kt.od(b3.kt.p8(.035)) + oB.style.padding = b2.kt.od(bQ.oa), oB.style.lineHeight = b2.kt.od(b2.kt.p8(.035)) }, oO.style.overflowX = "hidden", oO.style.overflowY = "auto", oB.innerHTML = oH, oO.appendChild(oB) } function p9(pA) { var oB = document.createElement("div"); this.d = oB, this.pB = pA, this.resize = function() { - for (var ex = pA.length, a2 = 1; a2 < ex; a2++) b3.kt.oe(pA[a2], 4) + for (var ex = pA.length, a0 = 1; a0 < ex; a0++) b2.kt.oe(pA[a0], 4) }; - var a2, ex = pA.length; - for (oB.style.width = "100%", oB.style.height = "2.7em", oB.style.marginTop = "0.6em", oB.style.border = "inherit", a2 = 0; a2 < ex; a2++) pA[a2].style.verticalAlign = "top", pA[a2].style.width = (100 / ex).toFixed(2) + "%", pA[a2].style.height = - "100%", pA[a2].style.fontSize = "0.75em", oB.appendChild(pA[a2]) + var a0, ex = pA.length; + for (oB.style.width = "100%", oB.style.height = "2.7em", oB.style.marginTop = "0.6em", oB.style.border = "inherit", a0 = 0; a0 < ex; a0++) pA[a0].style.verticalAlign = "top", pA[a0].style.width = (100 / ex).toFixed(2) + "%", pA[a0].style.height = + "100%", pA[a0].style.fontSize = "0.75em", oB.appendChild(pA[a0]) } function pC(p3, type, pD) { var d; this.d = document.createElement("input"), (d = this.d).type = type ? "number" : "text", d.id = "input" + (p3.title || p3.ke), d.value = p3.value, d.style.width = "100%", d.style.userSelect = "none", d.style.outline = "none", d.style.resize = - "none", d.style.border = "inherit", d.style.font = "inherit", d.style.color = r.lu, d.style.backgroundColor = r.ln, d.style.fontSize = "1em", d.style.padding = "0.1em 0.2em", -1 !== p3.ke && (d.addEventListener("focus", function() { - ap.pE++ + "none", d.style.border = "inherit", d.style.font = "inherit", d.style.color = p.lu, d.style.backgroundColor = p.ln, d.style.fontSize = "1em", d.style.padding = "0.1em 0.2em", -1 !== p3.ke && (d.addEventListener("focus", function() { + an.pE++ }), d.addEventListener("blur", function() { - ap.pE--, bY.p4.p5(p3.ke, d.value) + an.pE--, bX.p4.p5(p3.ke, d.value) }), d.addEventListener("keypress", function(event) { - "Enter" === event.key && (event.preventDefault(), bY.p4.p5(p3.ke, d.value), pD ? pD() : d.blur()) + "Enter" === event.key && (event.preventDefault(), bX.p4.p5(p3.ke, d.value), pD ? pD() : d.blur()) })) } @@ -1035,10 +1036,10 @@ function pF(oO, data) { pK = new Array(ex), oP = new Array(ex), pL = new Array(data.pM.length), - pN = b3.color.lo(70, 70, 0, .35); + pN = b2.color.lo(70, 70, 0, .35); function oo() { - this.style.backgroundColor = b3.color.oo(pN, 160) + this.style.backgroundColor = b2.color.oo(pN, 160) } function op() { @@ -1047,26 +1048,26 @@ function pF(oO, data) { function oW() { var hy; - for (oO.style.font = b3.kt.ky(0, b3.kt.pY(.026, .5, .03)), a2 = 1; a2 < pL.length; a2++) b3.kt.oe(pL[a2], 4); - if (b3.kt.oe(pH, 2), ex) { - for (var pb, pZ = pH.offsetWidth, pa = pJ.offsetWidth, a2 = 0; a2 < pL.length; a2++) pb = .01 * data.pQ[a2] * pa, pL[a2].style.width = (100 * pb / pZ).toFixed(2) + "%"; + for (oO.style.font = b2.kt.ky(0, b2.kt.pY(.026, .5, .03)), a0 = 1; a0 < pL.length; a0++) b2.kt.oe(pL[a0], 4); + if (b2.kt.oe(pH, 2), ex) { + for (var pb, pZ = pH.offsetWidth, pa = pJ.offsetWidth, a0 = 0; a0 < pL.length; a0++) pb = .01 * data.pQ[a0] * pa, pL[a0].style.width = (100 * pb / pZ).toFixed(2) + "%"; var jZ = data.pG[0].length; - for (a2 = 0; a2 < ex; a2++) - for (b3.kt.oe(pK[a2], 2), hy = 1; hy < jZ; hy++) b3.kt.oe(oP[a2][hy], 4) + for (a0 = 0; a0 < ex; a0++) + for (b2.kt.oe(pK[a0], 2), hy = 1; hy < jZ; hy++) b2.kt.oe(oP[a0][hy], 4) } } this.resize = function() { oW(), oW() }, oO.style.display = "flex", oO.style.flexDirection = "column", pI.style.overflowX = "hidden", pI.style.overflowY = "auto", function() { - var f6, a2, pG = data.pG, + var f6, a0, pG = data.pG, jZ = ex ? pG[0].length : 0; - for (a2 = 0; a2 < ex; a2++) { - pK[a2] = document.createElement("div"), pK[a2].style.backgroundColor = function(a2) { - return a2 % 2 == 1 ? b3.color.lo(130, 130, 130, .35) : r.lt - }(a2), pK[a2].style.width = "100%", pK[a2].style.display = "flex", oP[a2] = new Array(jZ); - for (var hy = 0; hy < jZ; hy++) oP[a2][hy] = f6 = document.createElement("div"), f6.style.display = "flex", f6.style.justifyContent = "center", f6.style.wordBreak = "break-all", f6.style.padding = "0.4em 0em", f6.style.width = data - .pQ[hy] + "%", f6.innerHTML = pG[a2][hy].dr, 1 === pG[a2][hy].dp && (f6.name = "" + a2, f6.style.color = r.mf, f6.style.backgroundColor = pN, f6.addEventListener("mouseover", oo), f6.addEventListener("mouseout", op), function(f6, + for (a0 = 0; a0 < ex; a0++) { + pK[a0] = document.createElement("div"), pK[a0].style.backgroundColor = function(a0) { + return a0 % 2 == 1 ? b2.color.lo(130, 130, 130, .35) : p.lt + }(a0), pK[a0].style.width = "100%", pK[a0].style.display = "flex", oP[a0] = new Array(jZ); + for (var hy = 0; hy < jZ; hy++) oP[a0][hy] = f6 = document.createElement("div"), f6.style.display = "flex", f6.style.justifyContent = "center", f6.style.wordBreak = "break-all", f6.style.padding = "0.4em 0em", f6.style.width = data + .pQ[hy] + "%", f6.innerHTML = pG[a0][hy].dr, 1 === pG[a0][hy].dp && (f6.name = "" + a0, f6.style.color = p.mf, f6.style.backgroundColor = pN, f6.addEventListener("mouseover", oo), f6.addEventListener("mouseout", op), function(f6, pT, pU) { f6.addEventListener("click", function() { this.style.backgroundColor = pN, i.j(8, i.pV, new pW(25, { @@ -1075,17 +1076,17 @@ function pF(oO, data) { pU: pU })) }) - }(f6, pG[a2][hy].dr, data.pS[a2])), pK[a2].appendChild(f6) + }(f6, pG[a0][hy].dr, data.pS[a0][hy])), pK[a0].appendChild(f6) } - for (pH.style.display = "flex", pH.style.backgroundColor = b3.color.lo(0, 120, 0, .35), a2 = 0; a2 < pL.length; a2++) pL[a2] = f6 = document.createElement("div"), f6.style.display = "flex", f6.style.justifyContent = "center", f6.style - .wordBreak = "break-all", f6.style.padding = "0.4em 0em", f6.style.width = data.pQ[a2] + "%", f6.innerHTML = data.pM[a2], pH.appendChild(f6) + for (pH.style.display = "flex", pH.style.backgroundColor = b2.color.lo(0, 120, 0, .35), a0 = 0; a0 < pL.length; a0++) pL[a0] = f6 = document.createElement("div"), f6.style.display = "flex", f6.style.justifyContent = "center", f6.style + .wordBreak = "break-all", f6.style.padding = "0.4em 0em", f6.style.width = data.pQ[a0] + "%", f6.innerHTML = data.pM[a0], pH.appendChild(f6) }(); - for (var a2 = 0; a2 < ex; a2++) pJ.appendChild(pK[a2]); + for (var a0 = 0; a0 < ex; a0++) pJ.appendChild(pK[a0]); pI.appendChild(pJ), oO.appendChild(pH), oO.appendChild(pI) } function pc() { - var pg, a2, pd = document.createElement("div"), + var pg, a0, pd = document.createElement("div"), pe = document.createElement("div"), pf = document.createElement("div"), pJ = document.createElement("div"), @@ -1093,267 +1094,275 @@ function pc() { pM = ["Best 1v1 Player", "Top Clan", "Leading Clan Member"], ph = [1, 0, 2]; - function pi(a2) { - i.j(8, i.pj().pk, new pW(21, { - pl: ph[a2], - pm: 0, - pn: 10 + function pi(a0) { + i.j(8, 0, new pW(21, { + pj: ph[a0], + pk: 0, + pl: 10 })) } for (this.show = function() { - this.p5(i.k8.po), document.body.appendChild(pd) - }, this.pp = function() { + this.p5(i.k8.pm), document.body.appendChild(pd) + }, this.pn = function() { document.body.removeChild(pd) - }, this.p5 = function(po) { - for (var a2 = 0; a2 < ov.length; a2++) ov[ph[a2]].button.innerHTML = pM[a2] + "
" + po[a2] + }, this.p5 = function(pm) { + for (var a0 = 0; a0 < ov.length; a0++) ov[ph[a0]].button.innerHTML = pM[a0] + "
" + pm[a0] }, this.resize = function() { - var a2, pq = bR.gap, - iE = b3.kt.pr(.085), - w = Math.min(4 * iE, ap.w - 2 * pq), + var a0, po = bQ.gap, + iE = b2.kt.pp(.085), + u = Math.min(4 * iE, an.u - 2 * po), ex = ov.length; - for (b3.kt.ps(pd, pq, ap.iE - pq - iE, w, iE), b3.kt.oe(pd), b3.kt.oe(pe, 6), a2 = 0; a2 < ex - 1; a2++) b3.kt.oe(ov[a2].button, 6); - for (a2 = 0; a2 < ex; a2++) ov[a2].button.style.fontSize = b3.kt.pt(.22 * iE); + for (b2.kt.pq(pd, po, an.iE - po - iE, u, iE), b2.kt.oe(pd), b2.kt.oe(pe, 6), a0 = 0; a0 < ex - 1; a0++) b2.kt.oe(ov[a0].button, 6); + for (a0 = 0; a0 < ex; a0++) ov[a0].button.style.fontSize = b2.kt.pr(.22 * iE); if (!pg) { - if (!aT.pu()) return; - (pg = aT.get(14)).style.width = "24%", pg.style.position = "absolute", pe.appendChild(pg) + if (!aR.ps()) return; + (pg = aR.get(14)).style.width = "24%", pg.style.position = "absolute", pe.appendChild(pg) } - pg.style.left = b3.kt.od(0), pg.style.top = "7%" - }, pd.style.position = "absolute", pe.style.width = "25%", pe.style.height = "100%", pe.style.backgroundColor = r.lq, pf.style.position = "absolute", pf.style.width = "75%", pf.style.height = "100%", pf.style.backgroundColor = r.lq, pf.style - .top = pf.style.right = b3.kt.od(0), pf.style.overflowX = "auto", pf.style.overflowY = "hidden", pf.style.whiteSpace = "nowrap", pJ.style.height = pJ.style.maxHeight = "100%", ov.push(new l("", function() { + pg.style.left = b2.kt.od(0), pg.style.top = "7%" + }, pd.style.position = "absolute", pe.style.width = "25%", pe.style.height = "100%", pe.style.backgroundColor = p.lq, pf.style.position = "absolute", pf.style.width = "75%", pf.style.height = "100%", pf.style.backgroundColor = p.lq, pf.style + .top = pf.style.right = b2.kt.od(0), pf.style.overflowX = "auto", pf.style.overflowY = "hidden", pf.style.whiteSpace = "nowrap", pJ.style.height = pJ.style.maxHeight = "100%", ov.push(new l("", function() { pi(0) - }, r.mR)), ov.push(new l("", function() { + }, p.mR)), ov.push(new l("", function() { pi(1) - }, r.mE)), ov.push(new l("", function() { + }, p.mE)), ov.push(new l("", function() { pi(2) - }, r.mV)), a2 = 0; a2 < ov.length; a2++) ov[a2].button.style.height = "100%", pJ.appendChild(ov[a2].button); + }, p.mV)), a0 = 0; a0 < ov.length; a0++) ov[a0].button.style.height = "100%", pJ.appendChild(ov[a0].button); pf.appendChild(pJ), pd.appendChild(pe), pd.appendChild(pf) } -function pv(p3, on) { +function pt(p3, on) { this.oK = []; - var pw = this.oK; + var pu = this.oK; function click() { - for (var a2 = 0; a2 < pw.length; a2++) pw[a2].textContent = pw[a2].textContent.replace("🟢", "⚪"); + for (var a0 = 0; a0 < pu.length; a0++) pu[a0].textContent = pu[a0].textContent.replace("🟢", "⚪"); this.textContent = this.textContent.replace("⚪", "🟢"); var ke = parseInt(this.name); - bY.p4.p5(p3.ke, ke), on && on(ke) + void 0 !== p3.ke && bX.p4.p5(p3.ke, ke), on && on(ke) } - for (var px, ex = p3.py.length, a2 = 0; a2 < ex; a2++)(px = document.createElement("p")).textContent = "⚪ " + p3.py[a2], px.style.margin = "0", px.name = "" + a2, px.style.cursor = "pointer", px.style.fontSize = "1em", px.addEventListener( - "click", click), pw.push(px); - pw[p3.value].textContent = pw[p3.value].textContent.replace("⚪", "🟢") + for (var pv, ex = p3.pw.length, a0 = 0; a0 < ex; a0++)(pv = document.createElement("p")).textContent = "⚪ " + p3.pw[a0], pv.style.margin = "0", pv.name = "" + a0, pv.style.cursor = "pointer", pv.style.fontSize = "1em", pv.addEventListener( + "click", click), pu.push(pv); + pu[p3.value].textContent = pu[p3.value].textContent.replace("⚪", "🟢") } -function pz(title, q0, q1) { +function px(title, py, pz) { var pd = document.createElement("div"), - q2 = document.createElement("div"), + q0 = document.createElement("div"), pJ = document.createElement("div"), - q3 = document.createElement("div"); - this.q4 = pJ, this.q5 = q0, this.show = function() { - !1 !== q1 ? document.body.appendChild(pd) : (document.body.appendChild(q2), document.body.appendChild(q3)) - }, this.pp = function() { - !1 !== q1 ? document.body.removeChild(pd) : (document.body.removeChild(q2), document.body.removeChild(q3)) - }, this.q9 = function() { - var qA = b3.kt.p8(.1), - qB = b3.kt.p8(.08 + .04 * (ap.qC < 1)); + q1 = document.createElement("div"); + this.q2 = pJ, this.q3 = py, this.show = function() { + !1 !== pz ? document.body.appendChild(pd) : (document.body.appendChild(q0), document.body.appendChild(q1)) + }, this.pn = function() { + !1 !== pz ? document.body.removeChild(pd) : (document.body.removeChild(q0), document.body.removeChild(q1)) + }, this.q7 = function() { + var q8 = b2.kt.p8(.1), + q9 = b2.kt.p8(.08 + .04 * (an.qA < 1)); return { - qA: qA, - qB: qB, - qD: ap.iE / ap.oY - qA - qB + q8: q8, + q9: q9, + qB: an.iE / an.oY - q8 - q9 } }, this.resize = function() { - var a2, d, ex = q0.length, - qE = this.q9(), - qA = qE.qA, - qB = qE.qB; - for (q2.style.height = b3.kt.od(qA), b3.kt.oe(q2, 2), q3.style.top = b3.kt.od(ap.iE / ap.oY - qB), q3.style.height = b3.kt.od(qB), b3.kt.oe(q3, 8), pJ.style.top = b3.kt.od(qA), pJ.style.height = pJ.style.maxHeight = b3.kt.od(qE.qD), q3 - .style.font = q2.style.font = b3.kt.ky(0, b3.kt.p8(.02, .25)), pJ.style.font = b3.kt.ky(0, b3.kt.p8(.02, .4)), a2 = 0; a2 < ex; a2++)(d = q0[a2].button).style.top = "0", d.style.left = (100 * a2 / ex).toFixed(2) + "%", d.style.width = - (100 / ex).toFixed(2) + "%", d.style.height = "100%", 0 < a2 && b3.kt.oe(d, 4) + var a0, d, ex = py.length, + qC = this.q7(), + q8 = qC.q8, + q9 = qC.q9; + for (q0.style.height = b2.kt.od(q8), b2.kt.oe(q0, 2), q1.style.top = b2.kt.od(an.iE / an.oY - q9), q1.style.height = b2.kt.od(q9), b2.kt.oe(q1, 8), pJ.style.top = b2.kt.od(q8), pJ.style.height = pJ.style.maxHeight = b2.kt.od(qC.qB), q1 + .style.font = q0.style.font = b2.kt.ky(0, b2.kt.p8(.02, .25)), pJ.style.font = b2.kt.ky(0, b2.kt.p8(.02, .4)), a0 = 0; a0 < ex; a0++)(d = py[a0].button).style.top = "0", d.style.left = (100 * a0 / ex).toFixed(2) + "%", d.style.width = + (100 / ex).toFixed(2) + "%", d.style.height = "100%", 0 < a0 && b2.kt.oe(d, 4) }, this.kk = function() { - var qE = this.q9(), - ik = ap.oY; - ku.fillStyle = r.lq, ku.fillRect(0, ik * qE.qA, ap.w, ik * qE.qD) - }, pd.style.position = "absolute", pd.style.top = "0", pd.style.left = "0", pd.style.width = "100%", pd.style.height = "100%", q2.style.position = "absolute", q2.style.top = "0", q2.style.left = "0", q2.style.width = "100%", q2.style - .display = "flex", q2.style.backgroundColor = r.lq, q3.style.position = "absolute", q3.style.left = "0", q3.style.width = "100%", pJ.style.position = "absolute", pJ.style.width = "100%", pJ.style.backgroundColor = r.lq, + var qC = this.q7(), + ik = an.oY; + ku.fillStyle = p.lq, ku.fillRect(0, ik * qC.q8, an.u, ik * qC.qB) + }, pd.style.position = "absolute", pd.style.top = "0", pd.style.left = "0", pd.style.width = "100%", pd.style.height = "100%", q0.style.position = "absolute", q0.style.top = "0", q0.style.left = "0", q0.style.width = "100%", q0.style + .display = "flex", q0.style.backgroundColor = p.lq, q1.style.position = "absolute", q1.style.left = "0", q1.style.width = "100%", pJ.style.position = "absolute", pJ.style.width = "100%", pJ.style.backgroundColor = p.lq, function() { - for (var a2 = 0; a2 < q0.length; a2++) q0[a2].button.style.position = "absolute", q0[a2].button.style.fontSize = "1.2em" + for (var a0 = 0; a0 < py.length; a0++) py[a0].button.style.position = "absolute", py[a0].button.style.fontSize = "1.2em" }(); - for (var a2 = 0; a2 < q0.length; a2++) q3.appendChild(q0[a2].button); - q2.appendChild(function() { - var q8 = document.createElement("h1"); - return q8.textContent = title, q8.style.margin = "auto", q8.style.fontSize = "2.3em", q8 - }()), !1 !== q1 && (pd.appendChild(pJ), pd.appendChild(q2), pd.appendChild(q3)) + for (var a0 = 0; a0 < py.length; a0++) q1.appendChild(py[a0].button); + q0.appendChild(function() { + var q6 = document.createElement("h1"); + return q6.textContent = title, q6.style.margin = "auto", q6.style.fontSize = "2.3em", q6 + }()), !1 !== pz && (pd.appendChild(pJ), pd.appendChild(q0), pd.appendChild(q1)) } -function qF(name, placeholder) { - var qG = document.createElement("textarea"), - qI = (this.qH = qG, !0); +function qD(name, placeholder) { + var qE = document.createElement("textarea"), + qG = (this.qF = qE, !0); - function qO() { - qG.select(), document.execCommand("copy") + function qM() { + qE.select(), document.execCommand("copy") } this.resize = function() { - qG.style.padding = b3.kt.od(bR.oa) - }, this.qJ = function(qK) { - qG.value = qK - }, this.qL = function() { - return qG.value - }, this.qM = function() { - qG.select() + qE.style.padding = b2.kt.od(bQ.oa) + }, this.qH = function(qI) { + qE.value = qI + }, this.qJ = function() { + return qE.value + }, this.qK = function() { + qE.select() }, this.clear = function() { - qG.value = "" - }, this.qN = function() { - qI && navigator.clipboard ? (qG.select(), navigator.clipboard.writeText(qG.value).catch(function() { - qI = !1, qO() - })) : qO() - }, qG.setAttribute("name", name), qG.setAttribute("id", name + "Field"), qG.setAttribute("autocomplete", "off"), qG.setAttribute("placeholder", placeholder), qG.style.top = "0", qG.style.left = "0", qG.style.width = "100%", qG.style.height = - "100%", qG.style.userSelect = "none", qG.style.outline = "none", qG.style.resize = "none", qG.style.border = "none", qG.style.color = r.lu, qG.style.backgroundColor = r.ln, qG.style.fontSize = "1.2em" + qE.value = "" + }, this.qL = function() { + qG && navigator.clipboard ? (qE.select(), navigator.clipboard.writeText(qE.value).catch(function() { + qG = !1, qM() + })) : qM() + }, qE.setAttribute("name", name), qE.setAttribute("id", name + "Field"), qE.setAttribute("autocomplete", "off"), qE.setAttribute("placeholder", placeholder), qE.style.top = "0", qE.style.left = "0", qE.style.width = "100%", qE.style.height = + "100%", qE.style.userSelect = "none", qE.style.outline = "none", qE.style.resize = "none", qE.style.border = "none", qE.style.color = p.lu, qE.style.backgroundColor = p.ln, qE.style.fontSize = "1.2em" } -function d0() { - this.ok = new qP, this.dV = new qQ, this.p4 = new qR, this.k8 = new qS, this.dE = function() { - this.dV.dE(), (new qT).dE() +function cz() { + this.ok = new qN, this.dV = new qO, this.p4 = new qP, this.k8 = new qQ, this.dD = function() { + this.dV.dD(), (new qR).dD() } } -function qQ() { - function qU(a2, title, type, py, qa, ds) { - bY.dV.data.push({ - ke: a2, - title: title, +function qO() { + function qS(a0, type, qY, ds) { + bX.dV.data.push({ + ke: a0, type: type || 0, - py: py, - value: qa || 0, - qa: qa || 0, + value: qY || 0, + qY: qY || 0, ds: ds || 0 }) } - function qV(a2, title, type, py, qa, ds) { - bY.dV.data.push({ - ke: a2, - title: title, + function qT(a0, type, qY, ds) { + bX.dV.data.push({ + ke: a0, type: type, - py: py, - value: qa || "", - qa: qa || "", + value: qY || "", + qY: qY || "", ds: ds || 0 }) } - function qW(ld) { - for (var a2 = bY.dV.data.length; a2 < ld; a2++) bY.dV.data.push(null) + function qU(ld) { + for (var a0 = bX.dV.data.length; a0 < ld; a0++) bX.dV.data.push(null) } - this.data = [], this.dE = function() { - qU(0, "", 1, ["English", "Русский", "Türkçe", "Española", "Deutsch", "Polski"], 0, 5), qU(1, "", 1, null, 1), qU(2, "", 0, [0, 1]), qV(3, "Username", 2), qU(4, "Font5", 1, ["Default", "Custom"]), qV(5, "", 2, null, "Trebuchet MS", 1), qU( - 6, "", 0, [0, 1]), qU(7, "", 0, [0, 1], 0), qU(8, "", 0, [0, 1]), qU(9, "", 1, null, 1), qU(10, "", 1, null), qU(11, "", 1, null, 1), qW(100), qV(100, "Username", 2), qV(101, "Password", 2), qV(102, "Emojis", 2), qV(103, "Colors", - 2), qV(104, "Clan", 2), qV(105, "AccountName", 2), qV(106, "Password", 2), qU(107), qU(108), qU(109), qV(110, null, 2), qU(111), qU(112), qU(113), qV(114, null, 2), qU(115), qV(116, null, 2), qU(117, null, 1), qV(118, null, 2, - null, "", 2), qU(119, null, 1, null, 0, 1), qV(120, null, 2), qU(121, "CountryColor", 1, null, ~~(262144 * Math.random())), qV(122, "Username", 2, null, "Player " + Math.floor(1e3 * Math.random())), qU(123), qV(124), qU(125, null, - 1, ["M1", "M5", "H1", "H4", "D1", "W1", "MN"]), qV(126, null, 2), qU(127, "Y-Axis Compression", 0, [0, 1], 1), qU(128), qU(129), qU(130), qU(131), qU(132), qV(133, null, 2), qU(134, null, 0, null, 5), qV(135, null, 2), qV(136, - null, 2), qU(137), qU(138), qU(139), qU(140), qU(141), qU(142), qU(143), qU(144), qW(180), qU(180, "R0", 0), qU(181, "R1", 0) - }, this.translate = function() { - this.data[0].title = "🌐 " + m.n[101], this.data[1].title = m.n[102], this.data[2].title = m.n[103], this.data[5].title = m.n[104], this.data[6].title = m.n[105], this.data[7].title = m.n[106], this.data[8].title = m.n[107], this.data[9] - .title = m.n[108], this.data[10].title = m.n[109], this.data[11].title = m.n[110], this.data[1].py = [m.n[111], m.n[112], m.n[113], m.n[114]], this.data[9].py = [m.n[112], m.n[115], m.n[116]], this.data[10].py = [m.n[109] + " 1", m.n[ - 117] + " 1", m.n[109] + " 2", m.n[117] + " 2"], this.data[11].py = [m.n[118], m.n[119], m.n[120]] + this.data = [], this.dD = function() { + qS(0, 1, 0, 5), qS(1, 1, 1), qS(2, 0), qT(3, 2), qS(4, 1), qT(5, 2, "Trebuchet MS", 1), qS(6, 0), qS(7, 0, 0), qS(8, 0), qS(9, 1, 1), qS(10, 1), qS(11, 1, 1), qT(12, 2, navigator.language), qU(100), qT(100, 2), qT(101, 2), qT(102, 2), qT( + 103, 2), qT(104, 2), qT(105, 2), qT(106, 2), qS(107), qS(108), qS(109), qT(110, 2), qS(111), qS(112), qS(113), qT(114, 2), qS(115), qT(116, 2), qS(117, 1), qT(118, 2, "", 2), qS(119, 1, 0, 1), qT(120, 2), qS(121, 1, ~~(262144 * + Math.random())), qT(122, 2, "Player " + Math.floor(1e3 * Math.random())), qS(123), qT(124), qS(125, 1), qT(126, 2), qS(127, 0, 1), qS(128), qS(129), qS(130), qS(131), qS(132), qT(133, 2), qS(134, 0, 5), qT(135, 2), qT(136, 2), qS( + 137), qS(138), qS(139), qS(140), qS(141), qS(142), qS(143), qS(144), qT(145, 2), qS(146), qU(180), qS(180, 0), qS(181, 0) }, this.p5 = function(ke, value) { this.data[ke].value = value }, this.dW = function(ke, value) { - this.p5(ke, value), bY.ok.save(ke, String(value)), bY.ok.save(ke, String(this.data[ke].ds), !0) - }, this.qX = function() { - for (var a2 = 0; a2 < this.data.length; a2++) this.data[a2] && (bY.ok.save(a2, String(this.data[a2].value)), bY.ok.save(a2, String(this.data[a2].ds), !0)) - }, this.qY = function(ke) { + this.p5(ke, value), bX.ok.save(ke, String(value)), bX.ok.save(ke, String(this.data[ke].ds), !0) + }, this.qV = function() { + for (var a0 = 0; a0 < this.data.length; a0++) this.data[a0] && (bX.ok.save(a0, String(this.data[a0].value)), bX.ok.save(a0, String(this.data[a0].ds), !0)) + }, this.qW = function(ke) { return Number(this.data[ke].value) - }, this.qZ = function(ke) { + }, this.qX = function(ke) { return String(this.data[ke].value) } } -function qP() { - this.qb = function(ke, ds) { - return Number(this.qc(ke, ds)) - }, this.qc = function(ke, ds) { +function qN() { + this.qZ = function(ke, ds) { + return Number(this.qa(ke, ds)) + }, this.qa = function(ke, ds) { var dr = null; - return 0 === o.id ? o.qd && (dr = o.qd.getItem((ds ? "v" : "d") + ke)) : 1 === o.id ? dr = o.v.loadString((ds ? 1e3 : 2e3) + ke) : 2 === o.id && (dr = o.qe[(ds ? "v" : "d") + ke]), dr && 0 !== dr.length ? dr : null + return 0 === m.id ? m.qb && (dr = m.qb.getItem((ds ? "v" : "d") + ke)) : 1 === m.id ? dr = m.t.loadString((ds ? 1e3 : 2e3) + ke) : 2 === m.id && (dr = m.qc[(ds ? "v" : "d") + ke]), dr && 0 !== dr.length ? dr : null + }, this.qd = function(ex) { + var a0, e5 = []; + if (0 === m.id) { + if (m.qb) + for (a0 = 0; a0 < ex; a0++) e5.push(m.qb.getItem("l" + a0)) + } else if (1 === m.id) + for (a0 = 0; a0 < ex; a0++) e5.push(m.t.loadString(3e3 + a0)); + else if (2 === m.id) + for (a0 = 0; a0 < ex; a0++) e5.push(m.qc["l" + a0]); + return e5 }, this.save = function(ke, value, ds) { - 0 === o.id ? o.qd && bY.dV.data[140].value && o.qd.setItem((ds ? "v" : "d") + ke, value) : 1 === o.id ? o.v.saveString((ds ? 1e3 : 2e3) + ke, value) : 2 === o.id && (o.qe["d" + ke] = value, o.qf.postMessage((ds ? "v" : "d") + ke + " " + - value)) + var qe = (ds ? "v" : "d") + ke; + 0 === m.id ? m.qb && bX.dV.data[140].value && m.qb.setItem(qe, value) : 1 === m.id ? m.t.saveString((ds ? 1e3 : 2e3) + ke, value) : 2 === m.id && (m.qc[qe] = value, m.qf.postMessage(qe + " " + value)) + }, this.qg = function(e5) { + var a0, ex = e5.length; + if (0 === m.id) { + if (m.qb && bX.dV.data[140].value) + for (a0 = 0; a0 < ex; a0++) m.qb.setItem("l" + a0, e5[a0]) + } else if (1 === m.id) + for (a0 = 0; a0 < ex; a0++) m.t.saveString(3e3 + a0, e5[a0]); + else if (2 === m.id) + for (a0 = 0; a0 < ex; a0++) m.qc["l" + a0] = e5[a0], m.qf.postMessage("l" + a0 + " " + e5[a0]) } } -function qT() { - this.dE = function() { +function qR() { + this.dD = function() { ! function() { - var data = bY.dV.data; - 0 === data[2].ds && (ap.iE > ap.w || 0 !== o.id) && (data[2].value = data[2].qa = 1); - 0 === data[100].ds && (data[100].value = data[100].qa = (0 === o.id ? "Player " : 1 === o.id ? "Android User " : "iOS User ") + Math.floor(1e3 * Math.random())); - data[0].value = data[0].qa = m.qi() + var data = bX.dV.data; + 0 === data[2].ds && (an.iE > an.u || 0 !== m.id) && (data[2].value = data[2].qY = 1); + 0 === data[100].ds && (data[100].value = data[100].qY = (0 === m.id ? "Player " : 1 === m.id ? "Android User " : "iOS User ") + Math.floor(1e3 * Math.random())) }(); - var a2, dr, data = bY.dV.data, + var a0, dr, data = bX.dV.data, ex = data.length; - for (a2 = 0; a2 < ex; a2++) data[a2] && data[a2].ds === bY.ok.qb(a2, !0) && (dr = bY.ok.qc(a2), data[a2].value = null === dr ? data[a2].qa : 2 === data[a2].type ? dr : Number(dr)); - bY.dV.data[10].value = bY.dV.data[10].qa + for (a0 = 0; a0 < ex; a0++) data[a0] && data[a0].ds === bX.ok.qZ(a0, !0) && (dr = bX.ok.qa(a0), data[a0].value = null === dr ? data[a0].qY : 2 === data[a0].type ? dr : Number(dr)); + bX.dV.data[10].value = bX.dV.data[10].qY } } -function qS() { +function qQ() { function qm(e5) { - if (0 === e5.length) bY.p4.p5(116, ""); + if (0 === e5.length) bX.p4.p5(116, ""); else { - for (var qp = e5[0], a2 = 1; a2 < e5.length; a2++) qp += ";" + e5[a2]; - bY.p4.p5(116, qp) + for (var qp = e5[0], a0 = 1; a0 < e5.length; a0++) qp += ";" + e5[a0]; + bX.p4.p5(116, qp) } } this.qj = function() { - bY.dV.data[110].value.length && (bY.dV.data[106].value = bY.dV.data[110], bY.p4.p5(110, ""), this.qk()) + bX.dV.data[110].value.length && (bX.dV.data[106].value = bX.dV.data[110], bX.p4.p5(110, ""), this.qk()) }, this.qk = function() { - var e5 = bY.dV.data[116].value.split(";"); - for (e5.length % 2 == 1 && e5.pop(), e5.unshift(bY.dV.data[106].value), e5.unshift(bY.dV.data[105].value), a2 = 2; a2 < e5.length; a2 += 2) - if (e5[a2] === e5[0]) { - e5.splice(a2, 2); + var e5 = bX.dV.data[116].value.split(";"); + for (e5.length % 2 == 1 && e5.pop(), e5.unshift(bX.dV.data[106].value), e5.unshift(bX.dV.data[105].value), a0 = 2; a0 < e5.length; a0 += 2) + if (e5[a0] === e5[0]) { + e5.splice(a0, 2); break - } for (var ql = [], a2 = 0; a2 < e5.length; a2 += 2) ql.push(e5[a2]); - qm(e5), bY.dV.data[117].value = 0, bY.dV.data[117].py = ql + } for (var ql = [], a0 = 0; a0 < e5.length; a0 += 2) ql.push(e5[a0]); + qm(e5), bX.dV.data[117].value = 0, bX.dV.data[117].pw = ql }, this.qn = function(ke) { - bY.dV.data[117].py.splice(ke, 1), bY.dV.data[117].value = Math.min(ke, bY.dV.data[117].py.length - 1); - var e5 = bY.dV.data[116].value.split(";"); + bX.dV.data[117].pw.splice(ke, 1), bX.dV.data[117].value = Math.min(ke, bX.dV.data[117].pw.length - 1); + var e5 = bX.dV.data[116].value.split(";"); e5.splice(2 * ke, 2), qm(e5) }, this.qo = function(ke) { - var e5 = bY.dV.data[116].value.split(";"); + var e5 = bX.dV.data[116].value.split(";"); return { pT: e5[2 * ke], password: e5[2 * ke + 1] } }, this.qq = function() { - var dr = bC.o5(bY.dV.data[121].value, -1, 262143); + var dr = bB.o5(bX.dV.data[121].value, -1, 262143); return dr = -1 === dr ? ~~(262144 * Math.random()) : dr } } -function qR() { +function qP() { this.p5 = function(ke, value) { - bY.dV.data[ke].value !== value && (bY.dV.dW(ke, value), 0 === ke ? (i.qr(), m.dE(), i.j(2)) : 1 === ke ? ap.dN(1) : 2 === ke ? ap.dN(0) : 5 === ke && (b3.kt.qs(), ap.dN(0))) + bX.dV.data[ke].value !== value && (bX.dV.dW(ke, value), 0 === ke ? (i.qr(), az.dD(), i.j(2)) : 1 === ke ? an.dN(1) : 2 === ke ? an.dN(0) : 5 === ke && (b2.kt.qs(), an.dN(0))) }, this.qt = function() { - for (var data = bY.dV.data, a2 = 0; a2 < 100; a2++) data[a2] && bY.dV.dW(a2, data[a2].qa); - b3.kt.qs(), ap.dN(1), m.dE() + for (var data = bX.dV.data, a0 = 0; a0 < 100; a0++) data[a0] && bX.dV.dW(a0, data[a0].qY); + b2.kt.qs(), an.dN(1), az.dD() }, this.qu = function() { - for (var data = bY.dV.data, a2 = 0; a2 < data.length; a2++) data[a2] && bY.dV.p5(a2, data[a2].qa) + for (var data = bX.dV.data, a0 = 0; a0 < data.length; a0++) data[a0] && bX.dV.p5(a0, data[a0].qY) }, this.qv = function() { - for (var i4 = bY.dV, a2 = 128; a2 < 135; a2++) i4.dW(a2, i4.data[a2].qa) + for (var i4 = bX.dV, a0 = 128; a0 < 135; a0++) i4.dW(a0, i4.data[a0].qY) }, this.qw = function(data) { - bY.p4.p5(109, data.pU), bY.p4.p5(107, data.qx), bY.p4.p5(108, data.qy), bY.p4.p5(112, data.qz), bY.p4.p5(111, data.r0), bY.p4.p5(113, data.r1), bY.p4.p5(122, data.username), bY.p4.p5(135, data.r2), bY.p4.p5(136, data.r3), bY.p4.p5(137, - data.r4), bY.p4.p5(138, data.r5), bY.p4.p5(139, data.r6), bY.p4.p5(141, data.r7), bY.p4.p5(142, data.r8), bY.p4.p5(143, data.r9), bY.p4.p5(144, data.rA) + bX.p4.p5(109, data.pU), bX.p4.p5(107, data.qx), bX.p4.p5(108, data.qy), bX.p4.p5(112, data.qz), bX.p4.p5(111, data.r0), bX.p4.p5(113, data.r1), bX.p4.p5(122, data.username), bX.p4.p5(135, data.r2), bX.p4.p5(136, data.r3), bX.p4.p5(137, + data.r4), bX.p4.p5(138, data.r5), bX.p4.p5(139, data.r6), bX.p4.p5(141, data.r7), bX.p4.p5(142, data.r8), bX.p4.p5(143, data.r9), bX.p4.p5(144, data.rA) } } function bk() { - this.rB = new rC, this.rD = new rE, this.dE = function() { - this.rB.dE() + this.rB = new rC, this.rD = new rE, this.dD = function() { + this.rB.dD() } } function rE() { this.rF = function(size) { - for (var rG = b8, e5 = [], a2 = 0; a2 < size; a2++) e5.push(String.fromCharCode(rG.na(16))); + for (var rG = b7, e5 = [], a0 = 0; a0 < size; a0++) e5.push(String.fromCharCode(rG.na(16))); return e5.join("") }, this.rH = function(oD) { return 20 < (oD = oD.trim()).length ? oD.substring(0, 20) : oD @@ -1362,10 +1371,10 @@ function rE() { function rC() { var rI = new Uint8Array(78); - this.dE = function() { - var a2; - for (rI[50] = 37, a2 = 0; a2 < 10; a2++) rI[a2 + 3] = a2 + 1; - for (a2 = 0; a2 < 26; a2++) rI[a2 + 20] = a2 + 11, rI[a2 + 52] = a2 + 38 + this.dD = function() { + var a0; + for (rI[50] = 37, a0 = 0; a0 < 10; a0++) rI[a0 + 3] = a0 + 1; + for (a0 = 0; a0 < 26; a0++) rI[a0 + 20] = a0 + 11, rI[a0 + 52] = a0 + 38 }, this.rJ = function(oD) { return oD.trim().replace(new RegExp("[^a-zA-Z0-9_\\-]", "g"), "_") }, this.rK = function(oD, size) { @@ -1373,12 +1382,12 @@ function rC() { for (; oD.length < size;) oD += "_"; return oD }, this.rL = function(oD) { - for (var rM = rI, ex = oD.length, e5 = new Uint8Array(ex), a2 = 0; a2 < ex; a2++) e5[a2] = rM[oD.charCodeAt(a2) - 45]; + for (var rM = rI, ex = oD.length, e5 = new Uint8Array(ex), a0 = 0; a0 < ex; a0++) e5[a0] = rM[oD.charCodeAt(a0) - 45]; return e5 }, this.rN = function(rO) { - b5.y(6 * rO.length), this.rP(rO), b8.dE(b5.a3) + b4.w(6 * rO.length), this.rP(rO), b7.dD(b4.a1) }, this.rP = function(rO) { - for (var ex = rO.length, w = b5, a2 = 0; a2 < ex; a2++) w.z(6, rO[a2]) + for (var ex = rO.length, u = b4, a0 = 0; a0 < ex; a0++) u.x(6, rO[a0]) }, this.rQ = function(oD) { this.rP(this.rL(oD)) }, this.rR = function(oD, size) { @@ -1387,74 +1396,74 @@ function rC() { } function rS() { - var w, iE, rT; + var u, iE, rT; function rr(pb, f6, rp, rY, rk) { f6 = rq(pb, f6 + 1 + 2 * rY & 3); ! function(pb, rs) { - return 1 < Math.abs(pb % w - rs % w) || 1 < Math.abs(rv(pb) - rv(rs)) + return 1 < Math.abs(pb % u - rs % u) || 1 < Math.abs(rv(pb) - rv(rs)) }(pb, f6) && 0 === rk[f6 << 2] && (rk[f6 << 2] = rp) } function rv(f4) { - return Math.floor((f4 + .5) / w) % iE + return Math.floor((f4 + .5) / u) % iE } function rq(f4, f6) { return f4 + rT[f6] } this.rU = function(oD) { - var a2, rV, ex, rW, rG = b8; - for (b7.rB.rN(b7.rB.rL(oD)), bJ.eS = w = rG.na(12), bJ.eT = iE = rG.na(12), rT = [-w, -1, w, 1], bJ.rh = document.createElement("canvas"), bJ.rh.width = bJ.eS, bJ.rh.height = bJ.eT, bJ.rd = bJ.rh.getContext("2d", { + var a0, rV, ex, rW, rG = b7; + for (b6.rB.rN(b6.rB.rL(oD)), bI.eS = u = rG.na(12), bI.eT = iE = rG.na(12), rT = [-u, -1, u, 1], bI.rh = document.createElement("canvas"), bI.rh.width = bI.eS, bI.rh.height = bI.eT, bI.rd = bI.rh.getContext("2d", { alpha: !1 - }), bJ.re = bJ.rd.getImageData(0, 0, bJ.eS, bJ.eT), bJ.ri = bJ.re.data, b3.oc.rj(bJ.ri), ex = rG.na(12), rV = rG.na(5), rW = ra(w * iE - 1), a2 = 0; a2 < ex; a2++) ! function(jZ, f4, rX, rY) { - var a2, f6, rG = b8, - rk = bJ.ri, + }), bI.re = bI.rd.getImageData(0, 0, bI.eS, bI.eT), bI.ri = bI.re.data, b2.oc.rj(bI.ri), ex = rG.na(12), rV = rG.na(5), rW = ra(u * iE - 1), a0 = 0; a0 < ex; a0++) ! function(jZ, f4, rX, rY) { + var a0, f6, rG = b7, + rk = bI.ri, rl = f4, rm = f4, rn = 0, ro = 1 + rX, rp = 2 - rX; - for (rk[f4 << 2] = ro, a2 = 0; a2 < jZ; a2++) f6 = rG.na(2), f4 = rq(f4, f6), rk[f4 << 2] === ro ? rn % 2 == 1 && rr(rm, rn + 2 * rY + 3, rp, rY, rk) : rk[f4 << 2] = ro, rr(f4, f6, rp, rY, rk), rr(rm, f6, rp, rY, rk), rm = f4, + for (rk[f4 << 2] = ro, a0 = 0; a0 < jZ; a0++) f6 = rG.na(2), f4 = rq(f4, f6), rk[f4 << 2] === ro ? rn % 2 == 1 && rr(rm, rn + 2 * rY + 3, rp, rY, rk) : rk[f4 << 2] = ro, rr(f4, f6, rp, rY, rk), rr(rm, f6, rp, rY, rk), rm = f4, rn = f6; rq(f4, 0) === rl ? (rr(f4, 0, rp, rY, rk), rr(rl, 0, rp, rY, rk)) : rq(f4, 1) === rl && (rr(f4, 0, rp, rY, rk), rr(rl, 2, rp, rY, rk)); 0 === jZ && (rr(rl, 0, rp, rY, rk), rr(rl, 2, rp, rY, rk)) }(rG.na(rV), rG.na(rW), 1 === rG.na(1), 1 === rG.na(1)); - var ff, fg, jc, rw, rx, ry, rk = bJ.ri, + var ff, fg, jc, rw, rx, ry, rk = bI.ri, rz = !0, - s0 = bJ.j8.s1[bJ.s2].s0, - s3 = bJ.j8.s1[bJ.s2].s3; + s0 = bI.j8.s1[bI.s2].s0, + s3 = bI.j8.s1[bI.s2].s3; for (fg = 0; fg < iE; fg++) - for (rw = !0, rx = rz, ff = ry = 0; ff < w; ff++) jc = 4 * fg * w + 4 * ff, ry <= ff && 0 < rk[jc] && (rx = 2 === rk[jc], rw) && (rw = !1, rx !== rz) ? (rz = rx, ry = ff + 1, ff = -1) : (rx ? (rk[jc] = s3[0], rk[1 + jc] = s3[1], rk[ + for (rw = !0, rx = rz, ff = ry = 0; ff < u; ff++) jc = 4 * fg * u + 4 * ff, ry <= ff && 0 < rk[jc] && (rx = 2 === rk[jc], rw) && (rw = !1, rx !== rz) ? (rz = rx, ry = ff + 1, ff = -1) : (rx ? (rk[jc] = s3[0], rk[1 + jc] = s3[1], rk[ 2 + jc] = s3[2]) : (rk[jc] = s0[0], rk[1 + jc] = s0[1], rk[2 + jc] = s0[2]), rk[3 + jc] = 255); - bJ.rd.putImageData(bJ.re, 0, 0), bJ.rf = !0, bJ.rg.dE(), bU.dK = !0 + bI.rd.putImageData(bI.re, 0, 0), bI.rf = !0, bI.rg.dD(), bT.dK = !0 } } function bq() { - var ff, fg, w, iE, s4, s5, s6, s7, player, e5; + var ff, fg, u, iE, s4, s5, s6, s7, player, e5; function sF() { return function() { - var a2; - for (a2 = 0; a2 < 8; a2++) - if (ff = bC.el(w * aq.random(), aq.value(100)), fg = bC.el(iE * aq.random(), aq.value(100)), sN()) return 1; + var a0; + for (a0 = 0; a0 < 8; a0++) + if (ff = bB.el(u * ao.random(), ao.value(100)), fg = bB.el(iE * ao.random(), ao.value(100)), sN()) return 1; return }() || function() { var gr, gu, hy, sD, i4, sC; - for (gr = bC.el(w * aq.random(), aq.value(100)), gu = bC.el(iE * aq.random(), aq.value(100)), hy = 40; 1 <= hy; hy--) + for (gr = bB.el(u * ao.random(), ao.value(100)), gu = bB.el(iE * ao.random(), ao.value(100)), hy = 40; 1 <= hy; hy--) for (sD = iE - hy; 0 <= sD; sD -= 40) for (fg = (sD + gu) % iE, i4 = 40; 1 <= i4; i4--) - for (sC = w - i4; 0 <= sC; sC -= 40) - if (ff = (sC + gr) % w, sN()) return 1; + for (sC = u - i4; 0 <= sC; sC -= 40) + if (ff = (sC + gr) % u, sN()) return 1; return }() } function sN() { - for (var f4, sP, gap = bC.el(s4 - s7, 2), sQ = s6 + fg * s4 + gap, sR = s5 + ff * s4 + gap, sO = sQ + s7 - 1; sQ <= sO; sO--) + for (var f4, sP, gap = bB.el(s4 - s7, 2), sQ = s6 + fg * s4 + gap, sR = s5 + ff * s4 + gap, sO = sQ + s7 - 1; sQ <= sO; sO--) for (sP = sR + s7 - 1; sR <= sP; sP--) - if (f4 = aU.sL(sP, sO), !aU.ez(f4) || aU.hu(f4)) return; + if (f4 = aS.sL(sP, sO), !aS.ez(f4) || aS.hu(f4)) return; return 1 } @@ -1463,40 +1472,40 @@ function bq() { } function s8() { - aZ.kW[player] = 0, aZ.et[player] = 0, aZ.ep[player] = aZ.sT[player] = 0, aZ.ey[player] = [], aZ.fF[player] = [], aZ.fG[player] = [], aZ.fJ[player] = [], aZ.hJ[player] = aZ.hL[player] = aZ.hK[player] = aZ.hM[player] = 0 + aX.kW[player] = 0, aX.et[player] = 0, aX.ep[player] = aX.sT[player] = 0, aX.ey[player] = [], aX.fF[player] = [], aX.fG[player] = [], aX.fJ[player] = [], aX.hJ[player] = aX.hL[player] = aX.hK[player] = aX.hM[player] = 0 } function sS(sC, sD) { - var f4, a2, sV, sW; - for (aZ.kW[player] = 1, player < a4.ip ? aZ.et[player] = a4.sU : aZ.et[player] = a5.j5[a5.hs[player]], aZ.hJ[player] = sC + 10, aZ.hL[player] = sD + 10, aZ.hM[player] = aZ.hK[player] = 0, sV = sC; sV < sC + 4; sV++) - for (sW = sD; sW < sD + 4; sW++)(sC < sV && sV < sC + 3 || sD < sW && sW < sD + 3) && (f4 = aU.sL(sV, sW), aU.ez(f4)) && (aZ.hJ[player] = sV < aZ.hJ[player] ? sV : aZ.hJ[player], aZ.hK[player] = sV > aZ.hK[player] ? sV : aZ.hK[player], aZ - .hL[player] = sW < aZ.hL[player] ? sW : aZ.hL[player], aZ.hM[player] = sW > aZ.hM[player] ? sW : aZ.hM[player], e5[aZ.ep[player]] = f4, aZ.ep[player]++, aU.sX(f4, player)); - for (aZ.sT[player] = aZ.ep[player], a2 = aZ.ep[player] - 1; 0 <= a2; a2--) aU.sY(e5[a2], player) ? (aU.f0(e5[a2], player), aZ.fF[player].push(e5[a2])) : aU.sZ(e5[a2]) ? (aU.f0(e5[a2], player), aZ.fG[player].push(e5[a2])) : aU.sa(e5[a2]) && ( - aU.f0(e5[a2], player), aZ.fJ[player].push(e5[a2])) + var f4, a0, sV, sW; + for (aX.kW[player] = 1, player < a2.ip ? aX.et[player] = a2.sU : aX.et[player] = a3.j5[a3.hs[player]], aX.hJ[player] = sC + 10, aX.hL[player] = sD + 10, aX.hM[player] = aX.hK[player] = 0, sV = sC; sV < sC + 4; sV++) + for (sW = sD; sW < sD + 4; sW++)(sC < sV && sV < sC + 3 || sD < sW && sW < sD + 3) && (f4 = aS.sL(sV, sW), aS.ez(f4)) && (aX.hJ[player] = sV < aX.hJ[player] ? sV : aX.hJ[player], aX.hK[player] = sV > aX.hK[player] ? sV : aX.hK[player], aX + .hL[player] = sW < aX.hL[player] ? sW : aX.hL[player], aX.hM[player] = sW > aX.hM[player] ? sW : aX.hM[player], e5[aX.ep[player]] = f4, aX.ep[player]++, aS.sX(f4, player)); + for (aX.sT[player] = aX.ep[player], a0 = aX.ep[player] - 1; 0 <= a0; a0--) aS.sY(e5[a0], player) ? (aS.f0(e5[a0], player), aX.fF[player].push(e5[a0])) : aS.sZ(e5[a0]) ? (aS.f0(e5[a0], player), aX.fG[player].push(e5[a0])) : aS.sa(e5[a0]) && ( + aS.f0(e5[a0], player), aX.fJ[player].push(e5[a0])) } function sM(sC, sD) { for (var f4, sP, sO = sD; sD - 6 < sO; sO--) for (sP = sC; sC - 6 < sP; sP--) - if (f4 = aU.sL(sP, sO), aU.hu(f4)) return; + if (f4 = aS.sL(sP, sO), aS.hu(f4)) return; return 1 } - this.dE = function() { - var a2, sC, sD; - if (e5 = new Array(12), s7 = 6, s4 = 10, w = bC.el(bJ.eS, s4), iE = bC.el(bJ.eT, s4), s5 = bC.el(bJ.eS - s4 * w, 2), s6 = bC.el(bJ.eT - s4 * iE, 2), a4.fz) - for (a2 = 0; a2 < a4.ip; a2++) player = a2, s8(), aZ.kW[player] = 1; - if (b0.j7 && b0.j8.s9) { - for (player = 0; player < a4.f1; player++) - if (1 !== aZ.kW[player]) { - if (player < a4.sE) { + this.dD = function() { + var a0, sC, sD; + if (e5 = new Array(12), s7 = 6, s4 = 10, u = bB.el(bI.eS, s4), iE = bB.el(bI.eT, s4), s5 = bB.el(bI.eS - s4 * u, 2), s6 = bB.el(bI.eT - s4 * iE, 2), a2.fz) + for (a0 = 0; a0 < a2.ip; a0++) player = a0, s8(), aX.kW[player] = 1; + if (ay.j7 && ay.j8.s9) { + for (player = 0; player < a2.f1; player++) + if (1 !== aX.kW[player]) { + if (player < a2.sE) { if (function() { - var sC = b0.j8.s9[player] + 1, - sD = b0.j8.sK[player] + 1; - if (3 < sC && sC < bJ.eS - 5 && 3 < sD && sD < bJ.eT - 5 && aU.ez(aU.sL(sC, sD)) && sM(sC + 3, sD + 3)) return sG(sC + 1, sD + 1), 1; + var sC = ay.j8.s9[player] + 1, + sD = ay.j8.sK[player] + 1; + if (3 < sC && sC < bI.eS - 5 && 3 < sD && sD < bI.eT - 5 && aS.ez(aS.sL(sC, sD)) && sM(sC + 3, sD + 3)) return sG(sC + 1, sD + 1), 1; return }()) continue; if (sF()) { - sC = s5 + ff * s4 + bC.el(s4, 2), sD = s6 + fg * s4 + bC.el(s4, 2), sG(sC, sD); + sC = s5 + ff * s4 + bB.el(s4, 2), sD = s6 + fg * s4 + bB.el(s4, 2), sG(sC, sD); continue } } @@ -1504,42 +1513,42 @@ function bq() { } } else ! function() { var sC, sD; - for (player = 0; player < a4.f1; player++) 1 !== aZ.kW[player] && (player < a4.sE && sF() ? (sC = s5 + ff * s4 + bC.el(s4, 2), sD = s6 + fg * s4 + bC.el(s4, 2), sG(sC, sD)) : s8()) + for (player = 0; player < a2.f1; player++) 1 !== aX.kW[player] && (player < a2.sE && sF() ? (sC = s5 + ff * s4 + bB.el(s4, 2), sD = s6 + fg * s4 + bB.el(s4, 2), sG(sC, sD)) : s8()) }(); - bS.ev[7] = aZ.ep[a4.es], bS.ev[8] = aZ.et[a4.es] + bR.ev[7] = aX.ep[a2.es], bR.ev[8] = aX.et[a2.es] }, this.sb = function(hr, sc, sd) { - var a2, sC, sD, f4, ff, fg; - for (player = hr, a2 = 0; a2 < 20; a2++) - for (sC = sc + a2; sc - a2 <= sC; sC--) - for (sD = sd + a2; sd - a2 <= sD; sD--) - if ((sC === sc + a2 || sC === sc - a2 || sD === sd + a2 || sD === sd - a2) && 3 < sC && sC < bJ.eS - 5 && 3 < sD && sD < bJ.eT - 5 && aU.ez(aU.sL(sC, sD)) && sM(sC + 3, sD + 3)) { - if (0 < aZ.ep[player]) { - for (fg = ff = f4 = void 0, ff = aZ.hK[player]; ff >= aZ.hJ[player]; ff--) - for (fg = aZ.hM[player]; fg >= aZ.hL[player]; fg--) f4 = 4 * (fg * bJ.eS + ff), aU.sf(player, f4) && (aU.sg(f4), aZ.ep[player]--); + var a0, sC, sD, f4, ff, fg; + for (player = hr, a0 = 0; a0 < 20; a0++) + for (sC = sc + a0; sc - a0 <= sC; sC--) + for (sD = sd + a0; sd - a0 <= sD; sD--) + if ((sC === sc + a0 || sC === sc - a0 || sD === sd + a0 || sD === sd - a0) && 3 < sC && sC < bI.eS - 5 && 3 < sD && sD < bI.eT - 5 && aS.ez(aS.sL(sC, sD)) && sM(sC + 3, sD + 3)) { + if (0 < aX.ep[player]) { + for (fg = ff = f4 = void 0, ff = aX.hK[player]; ff >= aX.hJ[player]; ff--) + for (fg = aX.hM[player]; fg >= aX.hL[player]; fg--) f4 = 4 * (fg * bI.eS + ff), aS.sf(player, f4) && (aS.sg(f4), aX.ep[player]--); s8() } return sS(sC - 1, sD - 1), !0 } return !1 }, this.sh = function(hr) { - player = hr, sF() ? sG(s5 + ff * s4 + bC.el(s4, 2), s6 + fg * s4 + bC.el(s4, 2)) : s8() + player = hr, sF() ? sG(s5 + ff * s4 + bB.el(s4, 2), s6 + fg * s4 + bB.el(s4, 2)) : s8() } } function si() { - ai.sj(), ku.setTransform(h7, 0, 0, h7, 0, 0), ku.imageSmoothingEnabled = h7 < 3, ku.drawImage(bJ.rh, aJ.kv(), aJ.kw()), bG.sk.kk(), ku.drawImage(sl, aJ.kv(), aJ.kw()), ai.kk(), bE.kk(), aY.kk(), a8.kk(), (a4.lQ ? (bW.kk(), b4) : (aE.kk(), aM - .kk(), aI.kk(), b4.kk(), an.kk(), aN.kk(), aJ.kk(), aH.kk(), bW.kk(), aL.kk(), aG.kk(), aD.kk(), aC.kk(), aO.kk(), bT.kk(), ak)).kk(), i.kk() + ag.sj(), ku.setTransform(h7, 0, 0, h7, 0, 0), ku.imageSmoothingEnabled = h7 < 3, ku.drawImage(bI.rh, aH.kv(), aH.kw()), bF.sk.kk(), ku.drawImage(sl, aH.kv(), aH.kw()), ag.kk(), bD.kk(), aW.kk(), a6.kk(), (a2.lQ ? (bV.kk(), b3) : (aC.kk(), aK + .kk(), aG.kk(), b3.kk(), al.kk(), aL.kk(), aH.kk(), aF.kk(), bV.kk(), aJ.kk(), aE.kk(), aB.kk(), aA.kk(), aM.kk(), bS.kk(), ai)).kk(), i.kk() } -function sm(sn, w, iE) { - sn.clearRect(0, 0, w, iE), sn.fillStyle = r.lr, sn.fillRect(0, 0, w, iE) +function sm(sn, u, iE) { + sn.clearRect(0, 0, u, iE), sn.fillStyle = p.lr, sn.fillRect(0, 0, u, iE) } -function so(sn, w, iE, sp) { - sn.fillStyle = r.lu, sn.fillRect(0, 0, w, sp), sn.fillRect(0, 0, sp, iE), sn.fillRect(w - sp, 0, sp, iE), sn.fillRect(0, iE - sp, w, sp) +function so(sn, u, iE, sp) { + sn.fillStyle = p.lu, sn.fillRect(0, 0, u, sp), sn.fillRect(0, 0, sp, iE), sn.fillRect(u - sp, 0, sp, iE), sn.fillRect(0, iE - sp, u, sp) } function sq(sn, ff, fg, gF, sp, f4, sr) { - sn.fillStyle = r.lu; + sn.fillStyle = p.lu; var f4 = Math.floor(gF * f4), pa = (f4 += (f4 - sp) % 2, Math.floor((f4 - sp) / 2)), gF = Math.floor((gF - f4) / 2); @@ -1547,15 +1556,15 @@ function sq(sn, ff, fg, gF, sp, f4, sr) { } function st() { - this.su = null, this.dE = function(su) { - this.su = su, aE.sv(this.su) + this.su = null, this.dD = function(su) { + this.su = su, aC.sv(this.su) }, this.sw = function(sx) { var gd = (this.su[sx].sy - this.su[1 - sx].sy) / 10, gd = 8 / (1 + Math.pow(2, gd / 32)), gd = Math.floor(10 * gd + .5), t0 = this.t1(this.su[sx].sy + gd + 1), gd = this.t1(this.su[1 - sx].sy - gd); - 0 === sx ? aE.t3(this.su, t0, gd, ["rgba(10,140,10,0.75)", "rgba(140,10,10,0.75)"]) : aE.t3(this.su, gd, t0, ["rgba(140,10,10,0.75)", "rgba(10,140,10,0.75)"]) + 0 === sx ? aC.t3(this.su, t0, gd, ["rgba(10,140,10,0.75)", "rgba(140,10,10,0.75)"]) : aC.t3(this.su, gd, t0, ["rgba(140,10,10,0.75)", "rgba(10,140,10,0.75)"]) }, this.t1 = function(sy) { return 16e3 <= (sy = sy < 0 ? 0 : 16e3 < sy ? 16e3 : sy) ? "Unknown" : (sy / 10).toFixed(1) } @@ -1581,78 +1590,78 @@ function t6() { tE.sort(function(hy, i4) { return i4.ix - hy.ix }); - for (var oD = "" + tE[0].nA, a2 = 1; a2 < 9; a2++) oD += "," + tE[a2].nA; - for (a2 = 0; a2 < 9; a2++) oD += "," + tE[a2].ix; - bY.dV.dW(120, oD) + for (var oD = "" + tE[0].nA, a0 = 1; a0 < 9; a0++) oD += "," + tE[a0].nA; + for (a0 = 0; a0 < 9; a0++) oD += "," + tE[a0].ix; + bX.dV.dW(120, oD) } - this.dE = function() { - for (var ph = [0, 1, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 6], a2 = 0; a2 < ph.length; a2++) { - var color = 6 === ph[a2] ? r.mG : r.ls; - this.tB.push(b3.gL.tL(aT.get(3), ph[a2], color)) + this.dD = function() { + for (var ph = [0, 1, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 6], a0 = 0; a0 < ph.length; a0++) { + var color = 6 === ph[a0] ? p.mG : p.ls; + this.tB.push(b2.gL.tL(aR.get(3), ph[a0], color)) } - for (a2 = 0; a2 < ac.t4.tM; a2++) tG.push(ac.t4.tN - ac.t4.tM + a2); - for (a2 = 0; a2 < ac.t4.tO; a2++) tG.push(ac.t4.tP + a2); - var tQ = ac.t4.tR(bB.tQ); - for (a2 = 0; a2 < tQ.length; a2++) tG.push(tQ[a2]); + for (a0 = 0; a0 < aa.t4.tM; a0++) tG.push(aa.t4.tN - aa.t4.tM + a0); + for (a0 = 0; a0 < aa.t4.tO; a0++) tG.push(aa.t4.tP + a0); + var tQ = aa.t4.tR(bA.tQ); + for (a0 = 0; a0 < tQ.length; a0++) tG.push(tQ[a0]); ! function() { - var a2, e5 = bY.dV.data[120].value.split(","); + var a0, e5 = bX.dV.data[120].value.split(","); if (18 !== e5.length) - for (a2 = 0; a2 < 9; a2++) tE[a2] = { - nA: 1015 + a2, + for (a0 = 0; a0 < 9; a0++) tE[a0] = { + nA: 1015 + a0, ix: 0 }; else - for (a2 = 0; a2 < 9; a2++) { - var dr = parseInt(e5[a2]), - ik = (dr = 0 <= dr && dr < ac.t4.tN ? dr : 0, parseInt(e5[a2 + 9])); - ik = 0 <= ik && ik < 1e3 ? ik : 0, tE[a2] = { + for (a0 = 0; a0 < 9; a0++) { + var dr = parseInt(e5[a0]), + ik = (dr = 0 <= dr && dr < aa.t4.tN ? dr : 0, parseInt(e5[a0 + 9])); + ik = 0 <= ik && ik < 1e3 ? ik : 0, tE[a0] = { nA: dr, ix: ik } } }() }, this.show = function(jl, jm, tW) { - var a2; + var a0; if (tH = jl, tI = jm, tD = tW || 0, this.t7 = !0, tF = [], 0 === tD) - for (a2 = 0; a2 < 9; a2++) tF.push(tE[a2].nA); + for (a0 = 0; a0 < 9; a0++) tF.push(tE[a0].nA); else { var i4 = 49 * tD, tW = i4 - 49; - for (tW >= tG.length && (tD = 1, tW = 0, i4 = 49), a2 = tW = (i4 = Math.min(i4, tG.length)) - 49; a2 < i4; a2++) tF.push(tG[a2]) + for (tW >= tG.length && (tD = 1, tW = 0, i4 = 49), a0 = tW = (i4 = Math.min(i4, tG.length)) - 49; a0 < i4; a0++) tF.push(tG[a0]) } tF.push(1024); - tW = tF.length, gF = Math.floor((o.p.tX() ? .075 : .0468) * ap.oU), gap = Math.floor(gF / 3), (tJ = 10 * (t8 = gF + gap)) > ap.w && (tJ = ap.w, gap = (t8 = tJ / 10) - (gF = 3 * t8 / 4)), tA = bC.el(tW, 10) + !!(tW % 10), (tK = tA * t8) > - ap.iE && (tK = ap.iE, gap = (t8 = tK / tA) - (gF = 3 * t8 / 4)), tW = .5 * gap; - kp = Math.min(Math.max(jl - .5 * tJ + tW, tW), ap.w - tJ + tW), kq = Math.min(Math.max(jm - .5 * tK + tW, tW), ap.iE - tK + tW) + tW = tF.length, gF = Math.floor((m.n.tX() ? .075 : .0468) * an.oU), gap = Math.floor(gF / 3), (tJ = 10 * (t8 = gF + gap)) > an.u && (tJ = an.u, gap = (t8 = tJ / 10) - (gF = 3 * t8 / 4)), tA = bB.el(tW, 10) + !!(tW % 10), (tK = tA * t8) > + an.iE && (tK = an.iE, gap = (t8 = tK / tA) - (gF = 3 * t8 / 4)), tW = .5 * gap; + kp = Math.min(Math.max(jl - .5 * tJ + tW, tW), an.u - tJ + tW), kq = Math.min(Math.max(jm - .5 * tK + tW, tW), an.iE - tK + tW) }, this.fn = function(jl, jm, player) { if (!this.t7) return !1; if (this.tZ(jl, jm)) { - jl = bC.o5(bC.el(jl - kp + .5 * gap, t8), 0, 9); - if ((jl += 10 * bC.o5(bC.el(jm - kq + .5 * gap, t8), 0, 9)) >= tF.length) return aC.pp(), !0; + jl = bB.o5(bB.el(jl - kp + .5 * gap, t8), 0, 9); + if ((jl += 10 * bB.o5(bB.el(jm - kq + .5 * gap, t8), 0, 9)) >= tF.length) return aA.pn(), !0; jm = tF[jl]; if (1024 === jm) return this.show(tH, tI, tD + 1), !0; ! function(nA) { - for (var a2 = 0; a2 < 9; a2++) tE[a2].ix = Math.floor(.99 * tE[a2].ix); - for (a2 = 0; a2 < 9; a2++) - if (nA === tE[a2].nA) return tE[a2].ix = Math.min(tE[a2].ix + 30, 999), tV(); + for (var a0 = 0; a0 < 9; a0++) tE[a0].ix = Math.floor(.99 * tE[a0].ix); + for (a0 = 0; a0 < 9; a0++) + if (nA === tE[a0].nA) return tE[a0].ix = Math.min(tE[a0].ix + 30, 999), tV(); tE.splice(5, 0, { nA: nA, ix: Math.max(tE[4].ix, 30) }), tE.pop(), tV() - }(jm), player === a4.es ? b1.g0.n9(jm) : b1.en.nP(jm, player) + }(jm), player === a2.es ? b0.g0.n9(jm) : b0.en.nP(jm, player) } - return aC.pp(), !0 + return aA.pn(), !0 }, this.tZ = function(jl, jm) { return !(jl < kp - .5 * gap || jm < kq - .5 * gap || kp + tJ - .5 * gap <= jl || kq + tK - .5 * gap <= jm) }, this.kk = function() { - ku.fillStyle = r.lr, ku.fillRect(kp - .5 * gap, kq - .5 * gap, tJ, tK); - for (var jc = .5 * bR.ta, ex = (ku.lineWidth = bR.ta, ku.strokeStyle = ku.fillStyle = r.lu, ku.strokeRect(kp - .5 * gap + jc, kq - .5 * gap + jc, tJ - 2 * jc, tK - 2 * jc), ku.imageSmoothingEnabled = !0, tF.length), a2 = 0; a2 < ex; a2++) - this.tb(tF[a2], ku, kp + a2 % 10 * t8, kq + bC.el(a2, 10) * t8, gF); + ku.fillStyle = p.lr, ku.fillRect(kp - .5 * gap, kq - .5 * gap, tJ, tK); + for (var jc = .5 * bQ.ta, ex = (ku.lineWidth = bQ.ta, ku.strokeStyle = ku.fillStyle = p.lu, ku.strokeRect(kp - .5 * gap + jc, kq - .5 * gap + jc, tJ - 2 * jc, tK - 2 * jc), ku.imageSmoothingEnabled = !0, tF.length), a0 = 0; a0 < ex; a0++) + this.tb(tF[a0], ku, kp + a0 % 10 * t8, kq + bB.el(a0, 10) * t8, gF); ku.imageSmoothingEnabled = !1 }, this.tb = function(nA, gM, ff, fg, gF) { var fw; - nA >= 1024 - ac.t4.tM ? (fw = gF / this.tC, gM.setTransform(fw, 0, 0, fw, ff, fg), gM.drawImage(this.tB[nA - 1024 + ac.t4.tM], 0, 0), gM.setTransform(1, 0, 0, 1, 0, 0)) : (b3.kt.textAlign(gM, 1), b3.kt.textBaseline(gM, 1), gM.font = b3.kt - .ky(0, .89 * gF), gM.fillText(ac.t4.tc(nA), ff + .5 * gF, fg + (.35 - b3.kt.td + .56) * gF)) + nA >= 1024 - aa.t4.tM ? (fw = gF / this.tC, gM.setTransform(fw, 0, 0, fw, ff, fg), gM.drawImage(this.tB[nA - 1024 + aa.t4.tM], 0, 0), gM.setTransform(1, 0, 0, 1, 0, 0)) : (b2.kt.textAlign(gM, 1), b2.kt.textBaseline(gM, 1), gM.font = b2.kt + .ky(0, .89 * gF), gM.fillText(aa.t4.tc(nA), ff + .5 * gF, fg + (.35 - b2.kt.td + .56) * gF)) } } @@ -1660,12 +1669,12 @@ function t5() { this.emojis = ["🥰", "😎", "😘", "😜", "🤗", "🥳", "😇", "😊", "🥱", "🙄", "🤔", "🥺", "😡", "😭", "😱", "😞", "💀", "👹", "👋", "🙏", "👏", "💪", "🙋‍♂️", "🤦‍♂️", "⬆️", "➡️", "⬇️", "⬅️", "👀", "❤️", "💔", "💥", "🔥", "🪦", "🥇", "🥈", "🥉", "🎖️", "🏅", "👑", "🎉", "💯", "✝️", "☪️", "🕉️", "☸️", "✡️", "☦️", "⚛️" ], this.tM = 13, this.tO = this.emojis.length, this.tP = 676, this.tN = 1024, this.te = this.emojis.indexOf("💀"), this.tf = this.te + 1, this.tg = this.emojis.indexOf("🥇"), this.th = this.emojis.indexOf("😊"), this.tc = function(dr) { - return dr < this.tP ? String.fromCharCode(55356, 56806 + bC.el(dr, 26), 55356, 56806 + dr % 26) : this.emojis[Math.min(dr - this.tP, this.tO - 1)] + return dr < this.tP ? String.fromCharCode(55356, 56806 + bB.el(dr, 26), 55356, 56806 + dr % 26) : this.emojis[Math.min(dr - this.tP, this.tO - 1)] }, this.tR = function(oD) { - for (var ex = oD.length - 2, e5 = [], a2 = 0; a2 < ex; a2++) { - var gY = oD.charCodeAt(a2) - 56806, - gZ = oD.charCodeAt(a2 + 2) - 56806; - 0 <= gY && gY < 26 && 0 <= gZ && gZ < 26 && (e5.push(26 * gY + gZ), a2 += 3) + for (var ex = oD.length - 2, e5 = [], a0 = 0; a0 < ex; a0++) { + var gY = oD.charCodeAt(a0) - 56806, + gZ = oD.charCodeAt(a0 + 2) - 56806; + 0 <= gY && gY < 26 && 0 <= gZ && gZ < 26 && (e5.push(26 * gY + gZ), a0 += 3) } return e5 }, this.ti = function(dr) { @@ -1678,28 +1687,28 @@ function t5() { } function bj() { - this.rB = new tl, this.rD = new tm, this.dE = function() { - this.rB.dE() + this.rB = new tl, this.rD = new tm, this.dD = function() { + this.rB.dD() } } function tm() { this.rQ = function(oD) { - for (var ex = oD.length, w = b5, a2 = 0; a2 < ex; a2++) w.z(16, oD.charCodeAt(a2)) + for (var ex = oD.length, u = b4, a0 = 0; a0 < ex; a0++) u.x(16, oD.charCodeAt(a0)) } } function tl() { var tn = new Uint8Array(64); - this.dE = function() { - var a2; - for (tn[0] = 45, tn[37] = 95, a2 = 0; a2 < 10; a2++) tn[a2 + 1] = 48 + a2; - for (a2 = 0; a2 < 26; a2++) tn[a2 + 11] = 65 + a2, tn[a2 + 38] = 97 + a2 + this.dD = function() { + var a0; + for (tn[0] = 45, tn[37] = 95, a0 = 0; a0 < 10; a0++) tn[a0 + 1] = 48 + a0; + for (a0 = 0; a0 < 26; a0++) tn[a0 + 11] = 65 + a0, tn[a0 + 38] = 97 + a0 }, this.to = function(tp) { - for (var rG = b8, rO = new Uint8Array(tp), a2 = 0; a2 < tp; a2++) rO[a2] = rG.na(6); + for (var rG = b7, rO = new Uint8Array(tp), a0 = 0; a0 < tp; a0++) rO[a0] = rG.na(6); return rO }, this.tq = function(rO) { - for (var ex = rO.length, tr = tn, e5 = [], a2 = 0; a2 < ex; a2++) e5.push(String.fromCharCode(tr[rO[a2]])); + for (var ex = rO.length, tr = tn, e5 = [], a0 = 0; a0 < ex; a0++) e5.push(String.fromCharCode(tr[rO[a0]])); return e5.join("") } } @@ -1707,69 +1716,69 @@ function tl() { function br() { var ts, tt, tu; ts = [32, 65, 191, 913, 931], tt = [64, 127, 688, 930, 1155], tu = new Array(ts.length + 1); - for (var a2 = 0; a2 < tu.length; a2++) { - tu[a2] = 0; - for (var hy = a2 - 1; 0 <= hy; hy--) tu[a2] += tt[hy] - ts[hy] + for (var a0 = 0; a0 < tu.length; a0++) { + tu[a0] = 0; + for (var hy = a0 - 1; 0 <= hy; hy--) tu[a0] += tt[hy] - ts[hy] } function u0(ik) { - for (var a2 = ts.length - 1; 0 <= a2; a2--) - if (ik >= ts[a2] && ik < tt[a2]) return a2; + for (var a0 = ts.length - 1; 0 <= a0; a0--) + if (ik >= ts[a0] && ik < tt[a0]) return a0; return -1 } this.rH = function(oD) { return 0 !== (oD = oD.trim()).indexOf("Bot ") && 0 !== oD.indexOf("[Bot] ") && function(oD, tx, ty) { var ex = (oD = oD.trim()).length; if (ex < tx || ty < ex) return !1; - for (var ik, tz = 0, a2 = 0; a2 < ex; a2++) - if (ik = oD.charCodeAt(a2), tz += 65 <= ik && ik <= 90 || 1040 <= ik && ik <= 1071 ? 1 : 0, -1 === u0(ik)) return !1; + for (var ik, tz = 0, a0 = 0; a0 < ex; a0++) + if (ik = oD.charCodeAt(a0), tz += 65 <= ik && ik <= 90 || 1040 <= ik && ik <= 1071 ? 1 : 0, -1 === u0(ik)) return !1; if (3 < tz && tz > Math.floor(ex / 2)) return !1; return !0 }(oD, 3, 20) }, this.u1 = function(oD) { - for (var ex = (oD = oD.trim()).length, e5 = [], a2 = 0; a2 < ex; a2++) { - var ik, f4 = u0(ik = oD.charCodeAt(a2)); + for (var ex = (oD = oD.trim()).length, e5 = [], a0 = 0; a0 < ex; a0++) { + var ik, f4 = u0(ik = oD.charCodeAt(a0)); e5.push(tu[f4] + ik - ts[f4]) } return e5 }, this.rU = function(e5) { - for (var ik, i4, oD = "", ex = e5.length, a2 = 0; a2 < ex; a2++) + for (var ik, i4, oD = "", ex = e5.length, a0 = 0; a0 < ex; a0++) for (i4 = 1; i4 < tu.length; i4++) - if (e5[a2] < tu[i4]) { - ik = ts[i4 - 1] + e5[a2] - tu[i4 - 1], oD += String.fromCharCode(ik); + if (e5[a0] < tu[i4]) { + ik = ts[i4 - 1] + e5[a0] - tu[i4 - 1], oD += String.fromCharCode(ik); break } return oD }, this.u2 = function(oD) { - for (var e5 = this.u1(oD), result = "", a2 = 0; a2 < e5.length; a2++) result = (result += e5[a2] < 10 ? "00" : e5[a2] < 100 ? "0" : "") + e5[a2].toString(10); + for (var e5 = this.u1(oD), result = "", a0 = 0; a0 < e5.length; a0++) result = (result += e5[a0] < 10 ? "00" : e5[a0] < 100 ? "0" : "") + e5[a0].toString(10); return result }, this.u3 = function(oD) { - for (var e5 = new Array(Math.floor(oD.length / 3)), a2 = 0; a2 < oD.length; a2 += 3) e5[Math.floor(a2 / 3)] = parseInt(oD.substring(a2, a2 + 3)); + for (var e5 = new Array(Math.floor(oD.length / 3)), a0 = 0; a0 < oD.length; a0 += 3) e5[Math.floor(a0 / 3)] = parseInt(oD.substring(a0, a0 + 3)); return this.rU(e5) }, this.u4 = function(oD) { - for (var dr, e5 = [oD.length], a2 = 0; a2 < oD.length; a2++) e5[a2] = oD.charCodeAt(a2) - 48; + for (var dr, e5 = [oD.length], a0 = 0; a0 < oD.length; a0++) e5[a0] = oD.charCodeAt(a0) - 48; var result = ""; - for (a2 = 0; a2 < oD.length; a2++) a2 === oD.length - 1 || 51 < 10 * e5[a2] + e5[a2 + 1] ? result += e5[a2].toString() : (dr = 10 * e5[a2] + e5[a2 + 1], result += String.fromCharCode(dr + (dr < 26 ? 65 : 71)), a2++); + for (a0 = 0; a0 < oD.length; a0++) a0 === oD.length - 1 || 51 < 10 * e5[a0] + e5[a0 + 1] ? result += e5[a0].toString() : (dr = 10 * e5[a0] + e5[a0 + 1], result += String.fromCharCode(dr + (dr < 26 ? 65 : 71)), a0++); return result }, this.u5 = function(oD) { - for (var ik, result = "", a2 = 0; a2 < oD.length; a2++) 48 <= (ik = oD.charCodeAt(a2)) && ik < 58 ? result += String.fromCharCode(ik) : 65 <= ik && ik < 75 ? result += "0" + (ik - 65).toString() : 75 <= ik && ik < 91 ? result += (ik - 65) + for (var ik, result = "", a0 = 0; a0 < oD.length; a0++) 48 <= (ik = oD.charCodeAt(a0)) && ik < 58 ? result += String.fromCharCode(ik) : 65 <= ik && ik < 75 ? result += "0" + (ik - 65).toString() : 75 <= ik && ik < 91 ? result += (ik - 65) .toString() : 97 <= ik && ik < 123 && (result += (ik - 71).toString()); return result }, this.u6 = function(oD) { - for (var ex = oD.length, e5 = [], a2 = 0; a2 < ex; a2++)(ik = oD.charCodeAt(a2)) < 58 ? e5.push(oD[a2]) : (ik -= ik < 91 ? 65 : 71, e5.push(String(bC.el(ik, 10))), e5.push(String(ik - 10 * bC.el(ik, 10)))); + for (var ex = oD.length, e5 = [], a0 = 0; a0 < ex; a0++)(ik = oD.charCodeAt(a0)) < 58 ? e5.push(oD[a0]) : (ik -= ik < 91 ? 65 : 71, e5.push(String(bB.el(ik, 10))), e5.push(String(ik - 10 * bB.el(ik, 10)))); var ex = e5.length - 2, ik = 0, rO = []; - for (a2 = 0; a2 < ex; a2 += 3) rO[ik++] = parseInt(e5[a2] + e5[a2 + 1] + e5[a2 + 2]); + for (a0 = 0; a0 < ex; a0 += 3) rO[ik++] = parseInt(e5[a0] + e5[a0 + 1] + e5[a0 + 2]); return rO }, this.u7 = function() { - for (var gO, u8 = "", a2 = 0; a2 < 6; a2++) gO = 48 + aq.random() % 36, gO += 58 <= gO ? 39 : 0, u8 += String.fromCharCode(gO); + for (var gO, u8 = "", a0 = 0; a0 < 6; a0++) gO = 48 + ao.random() % 36, gO += 58 <= gO ? 39 : 0, u8 += String.fromCharCode(gO); return u8 } } function cr() { - this.u9 = new uA, this.uB = new uC, this.result = new uD, this.g4 = new uE, this.uF = new uG, this.uH = new uI, this.uJ = new uK, this.dE = function() { - this.uF.dE() + this.u9 = new uA, this.uB = new uC, this.result = new uD, this.g4 = new uE, this.uF = new uG, this.uH = new uI, this.uJ = new uK, this.dD = function() { + this.uF.dD() }, this.ha = function() { this.uF.ha() } @@ -1777,38 +1786,38 @@ function cr() { function uE() { this.uL = function() { - for (var ex = iq, su = is, uM = [], a2 = 0; a2 < ex; a2++) { - var f4 = su[a2]; - aU.uN(f4) && uM.push(f4) + for (var ex = iq, su = is, uM = [], a0 = 0; a0 < ex; a0++) { + var f4 = su[a0]; + aS.uN(f4) && uM.push(f4) } return uM }, this.uO = function() { - for (var ex = iq, su = is, dp = 0, ep = aZ.ep, a2 = 0; a2 < ex; a2++) dp += ep[su[a2]]; + for (var ex = iq, su = is, dp = 0, ep = aX.ep, a0 = 0; a0 < ex; a0++) dp += ep[su[a0]]; return dp } } function uA() { function uQ() { - if (2 === a4.uU) return 1; - an.uV(), a4.uU = 2, a4.uW = a4.uX + if (2 === a2.uU) return 1; + al.uV(), a2.uU = 2, a2.uW = a2.uX } function uS() { - bI.uJ.uY(), aO.show(1 === a4.uZ, !1, 2 === a4.uZ), bI.result.uY(), bI.uH.ha(), aE.ua(!0), aE.ub(247, 0), aM.kG(!0), aN.kG(!0), an.kG(), b4.uc(), a4.fj && bU.ud.ue(), bU.dK = !0, bQ.uf(), o.p.setState(0) + bH.uJ.uY(), aM.show(1 === a2.uZ, !1, 2 === a2.uZ), bH.result.uY(), bH.uH.ha(), aC.ua(!0), aC.ub(247, 0), aK.kG(!0), aL.kG(!0), al.kG(), b3.uc(), a2.fj && bT.ud.ue(), bT.dK = !0, bP.uf(), m.n.setState(0) } this.uP = function() { - uQ() || (a4.uR = 2, uS()) + uQ() || (a2.uR = 2, uS()) }, this.uT = function() { - uQ() || (a4.uR = 1, uS()) + uQ() || (a2.uR = 1, uS()) } } function uI() { this.ha = function() { var uo; - 2 === a4.uR ? (aE.ug(0, 59), a9.lV(2700)) : a4.jB < 7 ? (uo = bV.up[bW.ju()], uo = bV.ur[uo], aH.us("Team " + uo, 2, 1, 12), aE.ut(0, "Team " + uo + " won the game!", 40, 0, r.lu, r.lr, -1, !1), a9.lV(2700)) : 8 === a4.jB ? (a4.uZ ? aE - .ug(a4.ul, 2) : aE.ug(1 - a4.es, 3), a4.um.sw(a4.ul), aE.un(a4.ul), a9.lO(a4.ul, 2700, !1, 0)) : 9 === a4.jB ? (aE.uu(), a9.lV(2700)) : (aE.un(a4.ul), a9.lO(a4.ul, 2700, !1, 0)) + 2 === a2.uR ? (aC.ug(0, 59), a7.lV(2700)) : a2.jB < 7 ? (uo = bU.up[bV.ju()], uo = bU.ur[uo], aF.us(L(7, [uo]), 2, 1, 12), aC.ut(0, L(8, [uo]), 40, 0, p.lu, p.lr, -1, !1), a7.lV(2700)) : 8 === a2.jB ? (a2.uZ ? aC.ug(a2.ul, 2) : aC.ug(1 - + a2.es, 3), a2.um.sw(a2.ul), aC.un(a2.ul), a7.lO(a2.ul, 2700, !1, 0)) : 9 === a2.jB ? (aC.uu(), a7.lV(2700)) : (aC.un(a2.ul), a7.lO(a2.ul, 2700, !1, 0)) } } @@ -1817,54 +1826,51 @@ function uD() { var ux = this.uw = 0; this.uy = 0, this.uY = function() { var v2, f5, dp; - bI.uF.uz || (bI.uF.uz = !0, a4.jD) || ((v2 = this).uM = bI.g4.uL(), v2.uv = bX.v3.v4(), a4.jB < 7 && 2 !== a4.uR ? v2.uw = bW.v5() : v2.uw = bI.g4.uO(), 8 === a4.jB && 1 === a4.uR ? (f5 = 1 - a4.ul, dp = aZ.ep[f5], aZ.ep[f5] = 0, b1.en - .nY(), aZ.ep[f5] = dp) : b1.en.nY(), ux = .01 * aZ.v9[a4.es] / 50, v2.uy = 0, a4.jB < 7 ? bI.uB.uY(v2.uM) : 7 === a4.jB || 10 === a4.jB ? b3.en.fm(a4.es) && (f5 = bI.result.uv * (1 + a4.vC), 2 === a4.uR ? bI.result.uy += f5 * - aZ.ep[a4.es] / bI.result.uw : jw[0] === a4.es && (bI.result.uy += f5)) : 8 !== a4.jB || 1 !== a4.uZ || 0 === bY.dV.data[107].value || 100 <= (dp = bY.dV.data[108].value) || (bI.result.uy += .01 * (100 - dp) * 10), this.v1()) + bH.uF.uz || (bH.uF.uz = !0, a2.jD) || ((v2 = this).uM = bH.g4.uL(), v2.uv = bW.v3.v4(), a2.jB < 7 && 2 !== a2.uR ? v2.uw = bV.v5() : v2.uw = bH.g4.uO(), 8 === a2.jB && 1 === a2.uR ? (f5 = 1 - a2.ul, dp = aX.ep[f5], aX.ep[f5] = 0, b0.en + .nY(), aX.ep[f5] = dp) : b0.en.nY(), ux = .01 * aX.v9[a2.es] / 50, v2.uy = 0, a2.jB < 7 ? bH.uB.uY(v2.uM) : 7 === a2.jB || 10 === a2.jB ? b2.en.fm(a2.es) && (f5 = bH.result.uv * (1 + a2.vC), 2 === a2.uR ? bH.result.uy += f5 * + aX.ep[a2.es] / bH.result.uw : jw[0] === a2.es && (bH.result.uy += f5)) : 8 !== a2.jB || 1 !== a2.uZ || 0 === bX.dV.data[107].value || 100 <= (dp = bX.dV.data[108].value) || (bH.result.uy += .01 * (100 - dp) * 10), this.v1()) }, this.v1 = function() { - b3.en.fm(a4.es) && (.01 <= ux && aE.ut(0, "You have earned a participation reward of " + ux.toFixed(2) + " gold.", 40, 0, r.m9, r.lr, -1, !1), .01 <= bI.result.uy) && aE.ut(0, "You have earned prize money of " + bI.result.uy.toFixed(2) + - " gold.", 40, 0, r.m9, r.lr, -1, !1) + b2.en.fm(a2.es) && (.01 <= ux && aC.ut(0, L(9, [ux.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1), .01 <= bH.result.uy) && aC.ut(0, L(10, [bH.result.uy.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1) }, this.vD = function() { var rl, vE; - a4.jD || bI.uF.uz || (vE = aZ, rl = a4.es, 0 === vE.vF[rl]) || vE.hj[rl] < 1 || 2 * vE.nu[rl] > 3 * (vE.hi[rl] + vE.hj[rl]) || (vE = .01 * vE.v9[rl] / 50) < .01 || aE.ut(0, "You have earned a participation reward of " + vE.toFixed(2) + - " gold.", 40, 0, r.m9, r.lr, -1, !1) + a2.jD || bH.uF.uz || (vE = aX, rl = a2.es, 0 === vE.vF[rl]) || vE.hj[rl] < 1 || 2 * vE.nu[rl] > 3 * (vE.hi[rl] + vE.hj[rl]) || (vE = .01 * vE.v9[rl] / 50) < .01 || aC.ut(0, L(9, [vE.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1) } } function uG() { - this.uz = !1, this.dE = function() { + this.uz = !1, this.dD = function() { this.uz = !1 }, this.ha = function() { - 7 <= a4.jB || this.uz || bU.eq() % 20 == 11 && b3.en.jq(90) && (a4.uR = 1, bI.uJ.uY(), bI.result.uY()) + 7 <= a2.jB || this.uz || bT.eq() % 20 == 11 && b2.en.jq(90) && (a2.uR = 1, bH.uJ.uY(), bH.result.uY()) } } function uC() { function vJ(vH) { - for (var gd = (1 + a4.vC) * bI.result.uv / (1e5 * bI.result.uw), vN = "", a2 = 0; a2 < vH.length; a2++) { - var vO = vH[a2].vP * gd; - vN += " " + vH[a2].name + ": " + b3.l1.vQ(1e5 * vO) + for (var gd = (1 + a2.vC) * bH.result.uv / (1e5 * bH.result.uw), vN = "", a0 = 0; a0 < vH.length; a0++) { + var vO = vH[a0].vP * gd; + vN += " " + vH[a0].name + ": " + b2.l1.vQ(1e5 * vO) } - vN.length && (aE.ut(0, "The following clans have won these glorious points:", 45, 0, b3.color.lm(225, 240, 255), r.lr, -1, !1), aE.ut(0, vN.trim(), 45, 0, b3.color.lm(225, 240, 255), r.lr, -1, !1), a4.fj || aE.ut(700, - "Validate the clan results by clicking here: " + bB.vR, 736, 0, r.lu, r.mE, -1, !1)) + vN.length && (aC.ut(0, L(11), 45, 0, b2.color.lm(225, 240, 255), p.lr, -1, !1), aC.ut(0, vN.trim(), 45, 0, b2.color.lm(225, 240, 255), p.lr, -1, !1), a2.fj || aC.ut(700, L(12) + bA.vR, 736, 0, p.lu, p.mE, -1, !1)) } this.uY = function(uM) { - var uo = bV.up[bW.ju()], - uM = (a4.uZ && b3.en.fm(a4.es) && (bI.result.uy += (b3.l1.vL(aZ.vM[a4.es]) ? 2 : 1) * bI.result.uv * (1 + a4.vC) * aZ.ep[a4.es] / bI.result.uw), function(su) { + var uo = bU.up[bV.ju()], + uM = (a2.uZ && b2.en.fm(a2.es) && (bH.result.uy += (b2.l1.vL(aX.vM[a2.es]) ? 2 : 1) * bH.result.uv * (1 + a2.vC) * aX.ep[a2.es] / bH.result.uw), function(su) { var vH = [], - username = aZ.vM, + username = aX.vM, ex = su.length; - loop: for (var a2 = 0; a2 < ex; a2++) { - var f4 = su[a2], - vS = b3.l1.vL(username[f4]); + loop: for (var a0 = 0; a0 < ex; a0++) { + var f4 = su[a0], + vS = b2.l1.vL(username[f4]); if (vS) { for (var hy = vH.length - 1; 0 <= hy; hy--) if (vH[hy].name === vS) { - vH[hy].vP += aZ.ep[f4]; + vH[hy].vP += aX.ep[f4]; continue loop } vH.push({ name: vS, - vP: aZ.ep[f4], - vT: bV.il[f4] + vP: aX.ep[f4], + vT: bU.il[f4] }) } } @@ -1872,8 +1878,8 @@ function uC() { return i4.vP - hy.vP }), vH }(uM)); - uM.length && (2 === a4.uR ? vJ(uM) : vJ(function(vH, uo) { - for (var a2 = vH.length - 1; 0 <= a2; a2--) bV.up[vH[a2].vT] !== uo && vH.splice(a2, 1); + uM.length && (2 === a2.uR ? vJ(uM) : vJ(function(vH, uo) { + for (var a0 = vH.length - 1; 0 <= a0; a0--) bU.up[vH[a0].vT] !== uo && vH.splice(a0, 1); return vH }(uM, uo))) } @@ -1881,29 +1887,29 @@ function uC() { function uK() { this.uY = function() { - 2 === a4.uR ? a4.uZ = 2 : 8 === a4.jB ? (aU.uN(0) ? aU.uN(1) ? a4.ul = +(aZ.ep[1] > aZ.ep[0]) : a4.ul = 0 : a4.ul = 1, a4.uZ = +(a4.ul === a4.es)) : a4.hl ? a4.uZ = +(bV.il[a4.es] === bW.vV()) : (a4.ul = jw[0], a4.uZ = +(a4.ul === a4.es)) + 2 === a2.uR ? a2.uZ = 2 : 8 === a2.jB ? (aS.uN(0) ? aS.uN(1) ? a2.ul = +(aX.ep[1] > aX.ep[0]) : a2.ul = 0 : a2.ul = 1, a2.uZ = +(a2.ul === a2.es)) : a2.hl ? a2.uZ = +(bU.il[a2.es] === bV.vV()) : (a2.ul = jw[0], a2.uZ = +(a2.ul === a2.es)) } } -function cx() { - this.id = 0, this.ds = 0, this.qd = null, this.v = null, this.qe = null, this.qf = null, this.p = new vW, this.dE = function() { +function cw() { + this.id = 0, this.ds = 0, this.qb = null, this.t = null, this.qc = null, this.qf = null, this.n = new vW, this.dD = function() { var self, ds; - self = this, "undefined" == typeof Android || "function" != typeof Android.getVersion || (ds = Android.getVersion()) < 12 || (self.ds = ds, self.id = 1, self.v = Android), + self = this, "undefined" == typeof Android || "function" != typeof Android.getVersion || (ds = Android.getVersion()) < 12 || (self.ds = ds, self.id = 1, self.t = Android), function(self) { var ds; - "undefined" != typeof mwIOSdataX && window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.iosCommandA && (self.id = 2, self.qe = mwIOSdataX, self.qf = window.webkit.messageHandlers.iosCommandA, ds = self - .qe.version, self.ds = ds ? Number(ds) : 0) + "undefined" != typeof mwIOSdataX && window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.iosCommandA && (self.id = 2, self.qc = mwIOSdataX, self.qf = window.webkit.messageHandlers.iosCommandA, ds = self + .qc.version, self.ds = ds ? Number(ds) : 0) }(this), function(self) { - var qd; + var qb; if (0 === self.id) { try { - if (!(qd = window.localStorage)) return; - qd.setItem("tls7", "1"), qd.removeItem("tls7") + if (!(qb = window.localStorage)) return; + qb.setItem("tls7", "1"), qb.removeItem("tls7") } catch (error) { return } - self.qd = qd + self.qb = qb } }(this) } @@ -1911,611 +1917,615 @@ function cx() { function vW() { this.va = function() { - bY.p4.qt(), bY.p4.qu(), at.k8.close(0, 3255), 0 === o.id ? o.qd && o.qd.clear() : 1 === o.id ? o.v.saveString(199, "") : 2 === o.id && o.qf.postMessage("clear") + bX.p4.qt(), bX.p4.qu(), aq.k8.close(0, 3255), 0 === m.id ? m.qb && m.qb.clear() : 1 === m.id ? m.t.saveString(199, "") : 2 === m.id && m.qf.postMessage("clear") }, this.vb = function() { - 2 === o.id ? o.qf.postMessage("showConsentForm") : 1 === o.id ? o.v.setState(7) : bL.dX.showCMPScreen() + 2 === m.id ? m.qf.postMessage("showConsentForm") : 1 === m.id ? m.t.setState(7) : bK.dX.showCMPScreen() }, this.vc = function() { this.setState(14) }, this.vd = function() { - var oD = bY.dV.qZ(101), + var oD = bX.dV.qX(101), max = ("string" != typeof(oD = "" === oD ? function() { { - if (2 === o.id) return o.qe.password; - if (1 === o.id) return 12 <= o.ds ? o.v.loadString(22) : "" + if (2 === m.id) return m.qc.password; + if (1 === m.id) return 12 <= m.ds ? m.t.loadString(22) : "" } - return aV.vg(9) + return aT.vg(9) }() : oD) && (oD = ""), Math.floor(Math.pow(2, 48))), - vf = Math.floor(parseInt(aB.u5(oD))); - return 0 < vf && vf < max ? bY.dV.dW(101, oD) : (vf = Math.floor(1 + (max - 1) * Math.random()), bY.dV.dW(101, oD)), vf + vf = Math.floor(parseInt(a9.u5(oD))); + return 0 < vf && vf < max ? bX.dV.dW(101, oD) : (vf = Math.floor(1 + (max - 1) * Math.random()), bX.dV.dW(101, oD)), vf }, this.tX = function() { - return 1 === bY.dV.qY(2) + return 1 === bX.dV.qW(2) }, this.vh = function() { - bY.dV.dW(102, "") + bX.dV.dW(102, "") }, this.setState = function(dm) { - 1 === o.id && 5 <= o.ds && o.v.setState(dm) - }, this.q = function() { + 1 === m.id && 5 <= m.ds && m.t.setState(dm) + }, this.o = function() { var vi; - 1 === o.id && 7 <= o.ds ? o.v.setState(5) : ((vi = new URL(window.location)).searchParams.set("v", "" + Math.floor(1e3 * Math.random())), window.location.href = vi.toString()) + 1 === m.id && 7 <= m.ds ? m.t.setState(5) : ((vi = new URL(window.location)).searchParams.set("v", "" + Math.floor(1e3 * Math.random())), window.location.href = vi.toString()) }, this.dH = function() { - 1 !== o.id || o.ds < 17 || o.v.saveString(23, document.documentElement.outerHTML) + 1 !== m.id || m.ds < 17 || m.t.saveString(23, document.documentElement.outerHTML) }, this.db = function() { - 0 === o.id ? bL.dX.dE() : 1 === o.id ? o.v.prepareAd("1688441405") : 2 === o.id && (0 === o.ds ? o.qf.postMessage("prepare ad 4500876070") : o.qf.postMessage("loadAds 4500876070")) + 0 === m.id ? bK.dX.dD() : 1 === m.id ? m.t.prepareAd("1688441405") : 2 === m.id && (0 === m.ds ? m.qf.postMessage("prepare ad 4500876070") : m.qf.postMessage("loadAds 4500876070")) }, this.dq = function(dp) { - return 0 === o.id ? !!bL.dX.dk() : 1 === o.id ? 12 <= o.ds && (o.v.presentAd(dp), !0) : 2 === o.id && (0 === o.ds ? o.qf.postMessage("show ad " + dp) : o.qf.postMessage("showAd"), !0) + return 0 === m.id ? !!bK.dX.dk() : 1 === m.id ? 12 <= m.ds && (m.t.presentAd(dp), !0) : 2 === m.id && (0 === m.ds ? m.qf.postMessage("show ad " + dp) : m.qf.postMessage("showAd"), !0) }, this.dM = function() { - 2 === o.id && o.ds < 23 && i.j(4, 1, new k("App Update Required", "A new iOS app version with bug fixes has been published.
Please download the new Territorial.io app version for iOS:
" + bB - .vj + "", !0, [new l("❌ " + m.n[92], function() { + 2 === m.id && m.ds < 23 && i.j(4, 1, new k("App Update Required", "A new iOS app version with bug fixes has been published.
Please download the new Territorial.io app version for iOS:
" + bA + .vj + "", !0, [new l(L(13), function() { i.j(0) - }, r.mT)])) + }, p.mT)])) } } -function dB() { +function dA() { function vm(d) { - vv(d), i.j(4, 5, new k("🚀 " + m.n[122], m.n[123], !0, [new l("❌ " + m.n[92], function() { - i.vw() - }, r.mT), new l("🔄 " + m.n[124], function() { - o.p.q() - }, r.s)])) + vt(d), i.j(4, 5, new k("🚀 New Game Update", "The game has been updated! Please reload the game.", !0, [new l(L(13), function() { + i.vu() + }, p.mT), new l("🔄 Reload", function() { + m.n.o() + }, p.q)])) } - function vu(title, vN, d) { - vv(d), i.j(4, 5, new k("⚠️ " + title, vN, !0)) + function vs(title, vN, d) { + vt(d), i.j(4, 5, new k("⚠️ " + title, vN, !0)) } - function vv(d) { + function vt(d) { ! function(d) { - var dm = aR.vp(); - 0 !== dm && (6 === dm ? at.k8.w0(d) : 7 === dm ? (al.w1(), at.k8.close(at.k8.vr, 3256)) : 8 === dm && a4.w2(!0)) - }(d), i.k8.vz() + var dm = aP.vn(); + 0 !== dm && (6 === dm ? aq.k8.vy(d) : 7 === dm ? (aj.vz(), aq.k8.close(aq.k8.vp, 3256)) : 8 === dm && a2.w0(!0)) + }(d), i.k8.vx() } this.vk = function(vl, d) { - if (8 === i.pV && 0 === vl) 4211 === d ? vm(d) : (4480 === d && bY.p4.qv(), i.j(4, 0, new k("⚠️ " + m.vn(64), m.vo(d), !0))); + if (8 === i.pV && 0 === vl) 4211 === d ? vm(d) : (4480 === d && bX.p4.qv(), i.j(4, 0, new k("⚠️ Error", L(14, [d]), !0))); else { - var dm = aR.vp(); + var dm = aP.vn(); if (6 === dm) { if (4211 === d) return void vm(d); - if (4214 !== d) return void aQ.vq(vl) + if (4214 !== d) return void aO.vo(vl) } else { - if (7 !== dm) return 8 === dm ? void(vl !== at.k8.vs || a4.jD || 1 !== a4.uU || a4.fj || aE.vt(m.vo(d))) : void 0; - if (vl !== at.k8.vr) return + if (7 !== dm) return 8 === dm ? void(vl !== aq.k8.vq || a2.jD || 1 !== a2.uU || a2.fj || aC.vr(L(14, [d]))) : void 0; + if (vl !== aq.k8.vp) return } - vu(m.vn(64), m.vo(d), d) + vs("Error", d, d) } - }, this.vx = function(d) { - 8 === aR.vp() ? a4.jD || 1 !== a4.uU || aE.vt(m.vo(d)) : vu(m.vn(64), m.vo(d), d) + }, this.vv = function(d) { + 8 === aP.vn() ? a2.jD || 1 !== a2.uU || aC.vr(L(14, [d])) : vs("Error", d, d) }, this.h = function() { - vv(3268) + vt(3268) } } function cl() { - var w3, w4, w5 = -15e3, - w6 = !1; + var w1, w2, w3 = -15e3, + w4 = !1; function fn(d) { - wQ() || (w6 = !0, wR(d, 1), at.k8.wS(at.k8.vs), wT(Math.floor(ap.oY * d.clientX), Math.floor(ap.oY * d.clientY))) - } - - function wF(d) { - w5 = bU.dn, wR(d, 1), at.k8.wS(at.k8.vs), 0 < d.touches.length && (w3 = Math.floor(ap.oY * d.touches[0].clientX), w4 = Math.floor(ap.oY * d.touches[0].clientY), aj.wF(d) || wT(w3, w4)) - } - - function wT(ff, fg) { - i.fn(ff, fg), 0 === a4.uU ? aR.fn(ff, fg) : b4.wU(ff, fg) || bT.fn(ff, fg) || aO.fn(ff, fg) || aC.wV(ff, fg) || aG.fn(ff, fg) || aD.fn(ff, fg) || bA.wW(ff, fg) || an.fn(ff, fg) || aC.wX(ff, fg) - } - - function wB(d) { - wQ() || (w6 = !0, wR(d, 1), wY(Math.floor(ap.oY * d.clientX), Math.floor(ap.oY * d.clientY))) - } - - function wG(d) { - w5 = bU.dn, wR(d, 1), 0 < d.touches.length && (w3 = Math.floor(ap.oY * d.touches[0].clientX), w4 = Math.floor(ap.oY * d.touches[0].clientY), aj.wG(d) || wY(w3, w4)) - } - - function wY(ff, fg) { - i.wB(ff, fg), 0 === a4.uU ? aR.wB(ff, fg) : (bK.fe(ff, fg), bT.wB(ff, fg) || (aD.wB(ff, fg), aC.t7() ? aC.wB(ff, fg) : aI.fo ? aI.wB(ff) && (bU.dK = !0) : (aM.wB(ff, fg), aJ.lR && aJ.wB(ff, fg) && (bU.dK = !0)))) + wO() || (w4 = !0, wP(d, 1), aq.k8.wQ(aq.k8.vq), wR(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY))) } function wD(d) { - wQ() || (wR(d, 1), wZ(), 0 === a4.uU ? (aR.click(-1024, -1024), aK.wa()) : (aM.wb(-1024, -1024), aD.wB(-1024, -1024), aI.wc(), aJ.lR = !1)) + w3 = bT.dn, wP(d, 1), aq.k8.wQ(aq.k8.vq), 0 < d.touches.length && (w1 = Math.floor(an.oY * d.touches[0].clientX), w2 = Math.floor(an.oY * d.touches[0].clientY), ah.wD(d) || wR(w1, w2)) } - function wC(d) { - wQ() || (wR(d, 1), wd(Math.floor(ap.oY * d.clientX), Math.floor(ap.oY * d.clientY), 2 === d.button), bA.w9 && (bA.w9 = !1, d.preventDefault())) + function wR(ff, fg) { + i.fn(ff, fg), 0 === a2.uU ? aP.fn(ff, fg) : b3.wS(ff, fg) || bS.fn(ff, fg) || aM.fn(ff, fg) || aA.wT(ff, fg) || aE.fn(ff, fg) || aB.fn(ff, fg) || b9.wU(ff, fg) || al.fn(ff, fg) || aA.wV(ff, fg) } - function click(d) { - wQ() || wR(d, 1) - } - - function wH(d) { - w5 = bU.dn, wR(d, 1), d && d.touches && 0 < d.touches.length && 0 !== a4.uU ? aJ.lR = !1 : aj.we() || (wd(w3, w4, !1), bA.w9 && (bA.w9 = !1, d.preventDefault())) - } - - function wI(d) { - w5 = bU.dn, wR(d, 1), wd(w3, w4, !1), bA.w9 && (bA.w9 = !1, d.preventDefault()) - } - - function wJ(d) { - az.wJ(d) - } - - function wK(d) { - az.wK(d) - } - - function wL(d) { - wQ() || wR(d, 0) - } - - function wd(ff, fg, wf) { - wZ(), 0 === a4.uU ? aR.click(ff, fg) : (aM.wb(ff, fg), bT.wb(), aI.wc(), aJ.lR = !1, aC.click(ff, fg, wf) ? bU.dK = !0 : aD.wC(ff, fg)) - } - - function wZ() { - i.wZ() + function w9(d) { + wO() || (w4 = !0, wP(d, 1), wW(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY))) } function wE(d) { + w3 = bT.dn, wP(d, 1), 0 < d.touches.length && (w1 = Math.floor(an.oY * d.touches[0].clientX), w2 = Math.floor(an.oY * d.touches[0].clientY), ah.wE(d) || wW(w1, w2)) + } + + function wW(ff, fg) { + i.w9(ff, fg), 0 === a2.uU ? aP.w9(ff, fg) : (bJ.fe(ff, fg), bS.w9(ff, fg) || (aB.w9(ff, fg), aA.t7() ? aA.w9(ff, fg) : aG.fo ? aG.w9(ff) && (bT.dK = !0) : (aK.w9(ff, fg), aH.lR && aH.w9(ff, fg) && (bT.dK = !0)))) + } + + function wB(d) { + wO() || (wP(d, 1), wX(), 0 === a2.uU ? (aP.click(-1024, -1024), aI.wY()) : (aK.wZ(-1024, -1024), aB.w9(-1024, -1024), aG.wa(), aH.lR = !1)) + } + + function wA(d) { + wO() || (wP(d, 1), wb(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY), 2 === d.button), b9.w7 && (b9.w7 = !1, d.preventDefault())) + } + + function click(d) { + wO() || wP(d, 1) + } + + function wF(d) { + w3 = bT.dn, wP(d, 1), d && d.touches && 0 < d.touches.length && 0 !== a2.uU ? aH.lR = !1 : ah.wc() || (wb(w1, w2, !1), b9.w7 && (b9.w7 = !1, d.preventDefault())) + } + + function wG(d) { + w3 = bT.dn, wP(d, 1), wb(w1, w2, !1), b9.w7 && (b9.w7 = !1, d.preventDefault()) + } + + function wH(d) { + ax.wH(d) + } + + function wI(d) { + ax.wI(d) + } + + function wJ(d) { + wO() || wP(d, 0) + } + + function wb(ff, fg, wd) { + wX(), 0 === a2.uU ? aP.click(ff, fg) : (aK.wZ(ff, fg), bS.wZ(), aG.wa(), aH.lR = !1, aA.click(ff, fg, wd) ? bT.dK = !0 : aB.wA(ff, fg)) + } + + function wX() { + i.wX() + } + + function wC(d) { var ff, fg, deltaY; - wQ() || (wR(d, 1), at.k8.wS(at.k8.vs), ff = Math.floor(ap.oY * d.clientX), fg = Math.floor(ap.oY * d.clientY), deltaY = d.deltaY, 1 === d.deltaMode && (deltaY *= 16), i.wE(ff, fg, deltaY), 0 === a4.uU ? aR.wE(ff, fg, deltaY) : aM.wE(ff, fg, - deltaY) || (aI.wg(ff, fg) ? aI.wE(deltaY) && (bU.dK = !0) : aJ.wE(ff, fg, deltaY))) + wO() || (wP(d, 1), aq.k8.wQ(aq.k8.vq), ff = Math.floor(an.oY * d.clientX), fg = Math.floor(an.oY * d.clientY), deltaY = d.deltaY, 1 === d.deltaMode && (deltaY *= 16), i.wC(ff, fg, deltaY), 0 === a2.uU ? aP.wC(ff, fg, deltaY) : aK.wC(ff, fg, + deltaY) || (aG.we(ff, fg) ? aG.wC(deltaY) && (bT.dK = !0) : aH.wC(ff, fg, deltaY))) + } + + function wK(d) { + wP(d, 0) + } + + function wP(d, id) { + 0 === id && i.t7() || (id = window.innerWidth / document.documentElement.clientWidth) < .999 || 1.001 < id || 0 !== aP.vn() && d.preventDefault() } function wM(d) { - wR(d, 0) - } - - function wR(d, id) { - 0 === id && i.t7() || (id = window.innerWidth / document.documentElement.clientWidth) < .999 || 1.001 < id || 0 !== aR.vp() && d.preventDefault() - } - - function wO(d) { if (keybindHandler(d.key)) return; - wQ() || ("ArrowLeft" === d.key ? ag.wi(3) : "ArrowUp" === d.key ? ag.wi(0) : "ArrowRight" === d.key ? ag.wi(1) : "ArrowDown" === d.key ? ag.wi(2) : "a" === d.key ? aI.wj(.9375) : "d" === d.key ? aI.wj(16 / 15) : "s" === d.key ? aI.wj(7 / 8) : - "w" === d.key ? aI.wj(8 / 7) : "1" === d.key ? aI.wj(.75) : "2" === d.key ? aI.wj(7 / 8) : "3" === d.key ? aI.wj(.9375) : "4" === d.key ? aI.wj(31 / 32) : "5" === d.key ? aI.wj(32 / 31) : "6" === d.key ? aI.wj(16 / 15) : "7" === d - .key ? aI.wj(8 / 7) : "8" === d.key ? aI.wj(4 / 3) : "+" === d.key ? 0 !== a4.uU && aJ.wE(Math.floor(ap.w / 2), Math.floor(ap.iE / 2), -200) : "-" === d.key ? 0 !== a4.uU && aJ.wE(Math.floor(ap.w / 2), Math.floor(ap.iE / 2), 200) : - "c" === d.key ? 0 !== a4.uU && bT.wk() : " " === d.key ? a4.uU && bK.fh(!1) : "b" === d.key && a4.uU && bK.fh(!0)) + wO() || ("ArrowLeft" === d.key ? ae.wg(3) : "ArrowUp" === d.key ? ae.wg(0) : "ArrowRight" === d.key ? ae.wg(1) : "ArrowDown" === d.key ? ae.wg(2) : "a" === d.key ? aG.wh(.9375) : "d" === d.key ? aG.wh(16 / 15) : "s" === d.key ? aG.wh(7 / 8) : + "w" === d.key ? aG.wh(8 / 7) : "1" === d.key ? aG.wh(.75) : "2" === d.key ? aG.wh(7 / 8) : "3" === d.key ? aG.wh(.9375) : "4" === d.key ? aG.wh(31 / 32) : "5" === d.key ? aG.wh(32 / 31) : "6" === d.key ? aG.wh(16 / 15) : "7" === d + .key ? aG.wh(8 / 7) : "8" === d.key ? aG.wh(4 / 3) : "+" === d.key ? 0 !== a2.uU && aH.wC(Math.floor(an.u / 2), Math.floor(an.iE / 2), -200) : "-" === d.key ? 0 !== a2.uU && aH.wC(Math.floor(an.u / 2), Math.floor(an.iE / 2), 200) : + "c" === d.key ? 0 !== a2.uU && bS.wi() : " " === d.key ? a2.uU && bJ.fh(!1) : "b" === d.key && a2.uU && bJ.fh(!0)) } - function wN(d) { - wQ() || bU.dn < 400 || "Enter" === d.key && i.wl(1) || (8 !== aR.vp() && aR.wl(d) ? bU.dK = !0 : "Escape" === d.key ? bA.dt() : "ArrowLeft" === d.key || "a" === d.key ? ag.wm(3) : "ArrowUp" === d.key || "w" === d.key ? ag.wm(0) : - "ArrowRight" === d.key || "d" === d.key ? ag.wm(1) : "ArrowDown" === d.key || "s" === d.key ? ag.wm(2) : "h" === d.key ? b4.wn(!a4.lQ) : " " === d.key && a4.uU && (aD.fk && aD.wo(), a4.fj) && b4.wp(!1)) + function wL(d) { + wO() || bT.dn < 400 || "Enter" === d.key && i.wj(1) || (8 !== aP.vn() && aP.wj(d) ? bT.dK = !0 : "Escape" === d.key ? b9.dt() : "ArrowLeft" === d.key || "a" === d.key ? ae.wk(3) : "ArrowUp" === d.key || "w" === d.key ? ae.wk(0) : + "ArrowRight" === d.key || "d" === d.key ? ae.wk(1) : "ArrowDown" === d.key || "s" === d.key ? ae.wk(2) : "h" === d.key ? b3.wl(!a2.lQ) : " " === d.key && a2.uU && (aB.fk && aB.wm(), a2.fj) && b3.wn(!1)) } - function wP() { - "hidden" === document.visibilityState ? 1 === a4.uU && (a4.fj ? b4.wq() : !a4.jD || aD.fk || a4.fz || aD.wo()) : bU.dK = !0 + function wN() { + "hidden" === document.visibilityState ? 1 === a2.uU && (a2.fj ? b3.wo() : !a2.jD || aB.fk || a2.fz || aB.wm()) : bT.dK = !0 } - function wQ() { - return w5 + 15e3 > bU.dn + function wO() { + return w3 + 15e3 > bT.dn } function resize() { - ap.wt() + an.wr() } - this.w7 = 0, this.w8 = "", this.w9 = !1, this.dE = function() { - wA.addEventListener("mousedown", fn, { + this.w5 = 0, this.w6 = "", this.w7 = !1, this.dD = function() { + w8.addEventListener("mousedown", fn, { passive: !1 - }), wA.addEventListener("mousemove", wB, { + }), w8.addEventListener("mousemove", w9, { passive: !1 - }), wA.addEventListener("mouseup", wC, { + }), w8.addEventListener("mouseup", wA, { passive: !1 - }), wA.addEventListener("click", click, { + }), w8.addEventListener("click", click, { passive: !1 - }), wA.addEventListener("mouseleave", wD, { + }), w8.addEventListener("mouseleave", wB, { passive: !1 - }), wA.addEventListener("wheel", wE, { + }), w8.addEventListener("wheel", wC, { passive: !1 - }), wA.addEventListener("touchstart", wF, { + }), w8.addEventListener("touchstart", wD, { passive: !1 - }), wA.addEventListener("touchmove", wG, { + }), w8.addEventListener("touchmove", wE, { passive: !1 - }), wA.addEventListener("touchend", wH, { + }), w8.addEventListener("touchend", wF, { passive: !1 - }), wA.addEventListener("touchcancel", wI, { + }), w8.addEventListener("touchcancel", wG, { passive: !1 - }), wA.addEventListener("dragover", wJ), wA.addEventListener("drop", wK), wA.addEventListener("dblclick", wL), document.addEventListener("contextmenu", wM), document.addEventListener("keyup", wN), document.addEventListener("keydown", - wO), document.addEventListener("visibilitychange", wP), window.addEventListener("resize", resize) - }, this.wW = function(ff, fg) { - return !!b4.fn(ff, fg) || !!(aM.fn(ff, fg) || aJ.fn(ff, fg) || aI.fn(ff, fg) || aE.fn(ff, fg)) - }, this.wr = wQ, this.ws = function() { - return !w6 || 0 < w5 + }), w8.addEventListener("dragover", wH), w8.addEventListener("drop", wI), w8.addEventListener("dblclick", wJ), document.addEventListener("contextmenu", wK), document.addEventListener("keyup", wL), document.addEventListener("keydown", + wM), document.addEventListener("visibilitychange", wN), window.addEventListener("resize", resize) + }, this.wU = function(ff, fg) { + return !!b3.fn(ff, fg) || !!(aK.fn(ff, fg) || aH.fn(ff, fg) || aG.fn(ff, fg) || aC.fn(ff, fg)) + }, this.wp = wO, this.wq = function() { + return !w4 || 0 < w3 }, this.dt = function() { - if (!i.t7()) return 8 === aR.vp() ? a4.lQ ? void b4.wn(!1) : bT.t7 ? void bT.wo() : void aD.wo() : void(7 === aR.vp() ? al.wu() : 6 === aR.vp() ? aQ.wv() : 2 === aR.vp() && aS.ww()); - i.wl(2) + if (!i.t7()) return 8 === aP.vn() ? a2.lQ ? void b3.wl(!1) : bS.t7 ? void bS.wm() : void aB.wm() : void(7 === aP.vn() ? aj.ws() : 6 === aP.vn() ? aO.wt() : 2 === aP.vn() && aQ.wu()); + i.wj(2) } } -function bg() { - this.kt = new wx, this.oc = new wy, this.en = new wz, this.l1 = new x0, this.sn = new x1, this.x2 = new x3, this.gL = new x4, this.color = new x5, this.x6 = new x7, this.dE = function() { +function bf() { + this.kt = new wv, this.oc = new ww, this.en = new wx, this.l1 = new wy, this.sn = new wz, this.x0 = new x1, this.gL = new x2, this.color = new x3, this.x4 = new x5, this.dD = function() { this.kt.qs() } } -function wy() { +function ww() { this.rj = function(e5) { e5.fill(0) - }, this.x8 = function(e5) { - for (var ex = e5.length, a2 = 0; a2 < ex; a2++) e5[a2] = [] - }, this.x9 = function(gY, xA) { - for (var gZ = bF.dz, a2 = 0; a2 < 3; a2++) gZ[a2] = xA * gY[a2]; + }, this.x6 = function(e5) { + for (var ex = e5.length, a0 = 0; a0 < ex; a0++) e5[a0] = [] + }, this.x7 = function(gY, x8) { + for (var gZ = bE.dz, a0 = 0; a0 < 3; a0++) gZ[a0] = x8 * gY[a0]; return gZ - }, this.xB = function(gY, gZ, xC) { - for (var gd = 0, a2 = 0; a2 < 3; a2++) gd += Math.abs(gY[a2] - gZ[a2]); - return xC <= gd - }, this.xD = function(gY, xE) { - for (var a2 = 0; a2 < 3; a2++) gY[a2] = bC.o5(gY[a2] + xE, 0, 255); + }, this.x9 = function(gY, gZ, xA) { + for (var gd = 0, a0 = 0; a0 < 3; a0++) gd += Math.abs(gY[a0] - gZ[a0]); + return xA <= gd + }, this.xB = function(gY, xC) { + for (var a0 = 0; a0 < 3; a0++) gY[a0] = bB.o5(gY[a0] + xC, 0, 255); return gY - }, this.xF = function(e5, pm, pn) { - var a2, xG = 0; - for (pn = pn || e5.length - 1, a2 = pm = pm || 0; a2 <= pn; a2++) xG += e5[a2]; - return xG - }, this.xH = function(e5, xI) { - for (var a2, xJ, ex = e5.length, xK = [], hy = ex - 1; 0 <= hy; hy--) { - for (a2 = xJ = 0; a2 < ex; a2++) xI(e5[a2]) < xI(e5[xJ]) && (xJ = a2); - ex--, xK.push(e5[xJ]), e5[xJ] = e5[ex], e5.pop() + }, this.xD = function(e5, pk, pl) { + var a0, xE = 0; + for (pl = pl || e5.length - 1, a0 = pk = pk || 0; a0 <= pl; a0++) xE += e5[a0]; + return xE + }, this.xF = function(e5, xG) { + for (var a0, xH, ex = e5.length, xI = [], hy = ex - 1; 0 <= hy; hy--) { + for (a0 = xH = 0; a0 < ex; a0++) xG(e5[a0]) < xG(e5[xH]) && (xH = a0); + ex--, xI.push(e5[xH]), e5[xH] = e5[ex], e5.pop() } - return xK + return xI }, this.min = function(e5) { - var a2, dr, ex = e5.length; + var a0, dr, ex = e5.length; if (0 === ex) return 0; - for (dr = e5[0], a2 = 1; a2 < ex; a2++) dr = Math.min(dr, e5[a2]); + for (dr = e5[0], a0 = 1; a0 < ex; a0++) dr = Math.min(dr, e5[a0]); return dr }, this.max = function(e5) { - var a2, dr, ex = e5.length; + var a0, dr, ex = e5.length; if (0 === ex) return 0; - for (dr = e5[0], a2 = 1; a2 < ex; a2++) dr = Math.max(dr, e5[a2]); + for (dr = e5[0], a0 = 1; a0 < ex; a0++) dr = Math.max(dr, e5[a0]); return dr - }, this.xL = function(xM, xN, min) { - for (var ex = xN[0], a2 = ex - 1; 0 <= a2; a2--) xM[a2] < min && (xM[a2] = xM[--ex]); - xN[0] = ex - }, this.xO = function(e5, ex, value) { - for (var a2 = 0; a2 < ex; a2++) e5[a2] -= value + }, this.xJ = function(xK, xL, min) { + for (var ex = xL[0], a0 = ex - 1; 0 <= a0; a0--) xK[a0] < min && (xK[a0] = xK[--ex]); + xL[0] = ex + }, this.xM = function(e5, ex, value) { + for (var a0 = 0; a0 < ex; a0++) e5[a0] -= value } } -function x4() { - this.tL = function(xP, ke, xQ) { - var gF = xP.height, - xR = b3.kt.rZ(gF, gF), - gM = b3.kt.getContext(xR); - return function(w, gM, xQ) { - gM.fillStyle = xQ, gM.beginPath(), gM.arc(w / 2, w / 2, .47 * w, 0, 2 * Math.PI), gM.fill() - }(gF, gM, xQ), gM.drawImage(xP, -ke * gF, 0), xR - }, this.xT = function(xU) { - var gF = xU.height, - gM = b3.kt.getContext(xU, !0), +function x2() { + this.tL = function(xN, ke, xO) { + var gF = xN.height, + xP = b2.kt.rZ(gF, gF), + gM = b2.kt.getContext(xP); + return function(u, gM, xO) { + gM.fillStyle = xO, gM.beginPath(), gM.arc(u / 2, u / 2, .47 * u, 0, 2 * Math.PI), gM.fill() + }(gF, gM, xO), gM.drawImage(xN, -ke * gF, 0), xP + }, this.xR = function(xS) { + var gF = xS.height, + gM = b2.kt.getContext(xS, !0), gI = gM.getImageData(0, 0, gF, gF); - return b3.x2.xV(gI.data, gF, gF, .9), gM.putImageData(gI, 0, 0), xU + return b2.x0.xT(gI.data, gF, gF, .9), gM.putImageData(gI, 0, 0), xS } } -function x5() { - this.xW = function(dr) { +function x3() { + this.xU = function(dr) { return [dr >> 12 & 63, dr >> 6 & 63, 63 & dr] - }, this.xX = function(dr) { - for (var e5 = this.xW(dr), a2 = 0; a2 < 3; a2++) e5[a2] = ~~(4.05 * e5[a2]); + }, this.xV = function(dr) { + for (var e5 = this.xU(dr), a0 = 0; a0 < 3; a0++) e5[a0] = ~~(4.05 * e5[a0]); return e5 - }, this.xY = function(dr) { - dr = this.xX(dr); - return b3.color.lm(dr[0], dr[1], dr[2]) - }, this.xZ = function(e5) { - for (var a2 = 0; a2 < 3; a2++) e5[a2] = ~~(e5[a2] / 4.04); + }, this.xW = function(dr) { + dr = this.xV(dr); + return b2.color.lm(dr[0], dr[1], dr[2]) + }, this.xX = function(e5) { + for (var a0 = 0; a0 < 3; a0++) e5[a0] = ~~(e5[a0] / 4.04); return (e5[0] << 12) + (e5[1] << 6) + e5[2] - }, this.lm = function(gO, pq, i4) { - return "rgb(" + gO + "," + pq + "," + i4 + ")" - }, this.lo = function(gO, pq, i4, hy) { - return "rgba(" + gO + "," + pq + "," + i4 + "," + hy.toFixed(3) + ")" + }, this.lm = function(gO, po, i4) { + return "rgb(" + gO + "," + po + "," + i4 + ")" + }, this.lo = function(gO, po, i4, hy) { + return "rgba(" + gO + "," + po + "," + i4 + "," + hy.toFixed(3) + ")" }, this.os = function(ik) { - for (var e5 = ik.split("(")[1].split(","), dy = (e5.length, bF.dy), a2 = 0; a2 < 3; a2++) dy[a2] = parseInt(e5[a2]); + for (var e5 = ik.split("(")[1].split(","), dy = (e5.length, bE.dy), a0 = 0; a0 < 3; a0++) dy[a0] = parseInt(e5[a0]); return dy - }, this.oo = function(xa, f6) { - for (var e5 = xa.slice(xa.indexOf("(") + 1, xa.indexOf(")")).split(","), dy = bF.dy, a2 = 0; a2 < 3; a2++) dy[a2] = bC.o5(parseInt(e5[a2].trim(), 10) + f6, 0, 255); + }, this.oo = function(xY, f6) { + for (var e5 = xY.slice(xY.indexOf("(") + 1, xY.indexOf(")")).split(","), dy = bE.dy, a0 = 0; a0 < 3; a0++) dy[a0] = bB.o5(parseInt(e5[a0].trim(), 10) + f6, 0, 255); return 3 === e5.length ? this.lm(dy[0], dy[1], dy[2]) : this.lo(dy[0], dy[1], dy[2], parseFloat(e5[3].trim())) - }, this.xb = function(e5) { - for (var oD = "#", a2 = 0; a2 < 3; a2++) { - var gO = e5[a2].toString(16); + }, this.xZ = function(e5) { + for (var oD = "#", a0 = 0; a0 < 3; a0++) { + var gO = e5[a0].toString(16); oD += 1 === gO.length ? "0" + gO : gO } return oD - }, this.xc = function(oD) { - var gO, pq; - return oD.length < 7 ? r.kz : (gO = parseInt(oD.slice(1, 3), 16), pq = parseInt(oD.slice(3, 5), 16), oD = parseInt(oD.slice(5, 7), 16), this.lm(gO, pq, oD)) + }, this.xa = function(oD) { + var gO, po; + return oD.length < 7 ? p.kz : (gO = parseInt(oD.slice(1, 3), 16), po = parseInt(oD.slice(3, 5), 16), oD = parseInt(oD.slice(5, 7), 16), this.lm(gO, po, oD)) } } -function x1() { - this.xd = function(oD, font, maxWidth) { +function wz() { + this.xb = function(oD, font, maxWidth) { if (ku.font = font, ku.measureText(oD).width <= maxWidth) return oD; - for (var a2 = oD.length - 1; 1 <= a2; a2--) - if (oD = oD.substring(0, a2), ku.measureText(oD + "...").width <= maxWidth) return oD + "..."; + for (var a0 = oD.length - 1; 1 <= a0; a0--) + if (oD = oD.substring(0, a0), ku.measureText(oD + "...").width <= maxWidth) return oD + "..."; return "..." } } -function x7() { - var xe = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; - this.xf = function(dn) { - var xh, oD = new Date(dn.getTime() - 6e4 * dn.getTimezoneOffset()).toUTCString(); - return oD.length < 12 || (oD = oD.substring(5, oD.length), 0 === (dn = dn.getTimezoneOffset())) ? oD : (xh = (dn < 0 ? "+" : "-") + bC.el(Math.abs(dn), 60), 0 == (dn = Math.abs(dn) % 60) ? oD + xh : oD + xh + ":" + (dn < 10 ? "0" : "") + +function x5() { + var xc = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; + this.xd = function(dn) { + var xf, oD = new Date(dn.getTime() - 6e4 * dn.getTimezoneOffset()).toUTCString(); + return oD.length < 12 || (oD = oD.substring(5, oD.length), 0 === (dn = dn.getTimezoneOffset())) ? oD : (xf = (dn < 0 ? "+" : "-") + bB.el(Math.abs(dn), 60), 0 == (dn = Math.abs(dn) % 60) ? oD + xf : oD + xf + ":" + (dn < 10 ? "0" : "") + dn) - }, this.xi = function(dn) { + }, this.xg = function(dn) { var oD = dn.toUTCString(); return oD.length < 12 ? oD : function(dn) { - return xe[dn.getUTCDay()] + return xc[dn.getUTCDay()] }(dn) + ", " + oD.substring(5, oD.length - 4) } } -function wx() { - var xk = null; +function wv() { + var xi = null; this.td = 0, this.qs = function() { - var dr = bY.dV.data[5].value; - xk = "px " + dr, "Trebuchet MS" !== dr && (xk += ", Trebuchet MS"), this.td = gE(32, 32, ["a", "b", "m"], 200, xk) - }, this.rZ = function(w, iE) { + var dr = bX.dV.data[5].value; + xi = "px " + dr, "Trebuchet MS" !== dr && (xi += ", Trebuchet MS"), this.td = gE(32, 32, ["a", "b", "m"], 200, xi) + }, this.rZ = function(u, iE) { var ik = document.createElement("canvas"); - return ik.width = w, ik.height = iE, ik + return ik.width = u, ik.height = iE, ik }, this.getContext = function(gL, alpha) { return gL.getContext("2d", { alpha: alpha }) - }, this.getImageData = function(sn, w, iE) { - return sn.getImageData(0, 0, w, iE) + }, this.getImageData = function(sn, u, iE) { + return sn.getImageData(0, 0, u, iE) }, this.ky = function(type, size) { - return size = size.toFixed(2), 0 === type ? size + xk : 1 === type ? "bold " + size + xk : 2 === type ? "lighter " + size + xk : 3 === type ? "italic " + size + xk : 4 === type ? "oblique " + size + xk : 5 === type ? "small-caps " + - size + xk : "small-caps bold " + size + xk + return size = size.toFixed(2), 0 === type ? size + xi : 1 === type ? "bold " + size + xi : 2 === type ? "lighter " + size + xi : 3 === type ? "italic " + size + xi : 4 === type ? "oblique " + size + xi : 5 === type ? "small-caps " + + size + xi : "small-caps bold " + size + xi }, this.textAlign = function(gM, id) { gM.textAlign = 0 === id ? "left" : 1 === id ? "center" : "right" }, this.textBaseline = function(gM, id) { gM.textBaseline = 1 === id ? "middle" : 2 === id ? "bottom" : "top" }, this.oe = function(d, code, color) { - color = this.od(bR.xl) + " solid " + (color || r.lu); + color = this.od(bQ.xj) + " solid " + (color || p.lu); 5 === (code = code || 5) ? d.style.border = color : 4 === code ? d.style.borderLeft = color : 2 === code ? d.style.borderBottom = color : 6 === code ? d.style.borderRight = color : d.style.borderTop = color - }, this.ps = function(d, ff, fg, w, iE) { + }, this.pq = function(d, ff, fg, u, iE) { d = d.style; - d.left = this.pt(ff), d.top = this.pt(fg), d.width = this.pt(w), d.height = this.pt(iE) + d.left = this.pr(ff), d.top = this.pr(fg), d.width = this.pr(u), d.height = this.pr(iE) }, this.oT = function(dr) { - return 1 + dr * o.p.tX() + return 1 + dr * m.n.tX() }, this.p8 = function(lY, f5) { - return lY * this.oT(void 0 === f5 ? .5 : f5) * ap.oU / ap.oY - }, this.pr = function(lY, f5) { - return lY * this.oT(void 0 === f5 ? .5 : f5) * ap.oU - }, this.pY = function(lY, f5, xm) { - return this.oT(f5) * Math.min(lY * ap.oU, xm * ap.w) / ap.oY + return lY * this.oT(void 0 === f5 ? .5 : f5) * an.oU / an.oY + }, this.pp = function(lY, f5) { + return lY * this.oT(void 0 === f5 ? .5 : f5) * an.oU + }, this.pY = function(lY, f5, xk) { + return this.oT(f5) * Math.min(lY * an.oU, xk * an.u) / an.oY }, this.od = function(dr) { return dr.toFixed(1) + "px" - }, this.pt = function(dr) { - return this.xo(dr).toFixed(1) + "px" - }, this.xo = function(dr) { - return dr / ap.oY - }, this.xp = function(pM, xq) { - for (var oD = "