From ae087cc5461b0488e0f345f896f276b3e8dd8a22 Mon Sep 17 00:00:00 2001 From: peshomir Date: Sat, 22 Jun 2024 18:44:02 +0000 Subject: [PATCH] deploy: 14c13ce1caaa56053f5e52b143807e631d1fa811 --- fx_core.js | 2 +- game.js | 11310 ++++++++++++++++++++++++++------------------------- index.html | 8 +- 3 files changed, 5711 insertions(+), 5609 deletions(-) diff --git a/fx_core.js b/fx_core.js index 7dbc363..f150af8 100644 --- a/fx_core.js +++ b/fx_core.js @@ -1,4 +1,4 @@ -const dictionary = {"gIsTeamGame":"hQ","game":"b","playerId":"ea","playerData":"a6","playerNames":"jq","rawPlayerNames":"tI","playerBalances":"eb","playerTerritories":"f5","gameState":"se","fontSize":"fontSize","x":"fO","y":"fP","canvas":"gT","gHumans":"hq","playerStates":"vY","fontGeneratorFunction":"aZ.g5.g6","gIsSingleplayer":"is","gLobbyMaxJoin":"qF","SingleplayerMenu":"z","getSingleplayerPlayerCount":"wS","gMaxPlayers":"ej","gBots":"il","Translations":"aW","txt":"nl","strs":"a28","uiSizes":"b1","gap":"gap","i":"eJ"}; +const dictionary = {"gIsTeamGame":"hT","game":"b","playerId":"ea","playerData":"a6","playerNames":"jt","rawPlayerNames":"tL","playerBalances":"eb","playerTerritories":"f5","gameState":"sh","fontSize":"fontSize","x":"fO","y":"fP","canvas":"gW","gHumans":"ht","playerStates":"vZ","fontGeneratorFunction":"aZ.g5.g6","gIsSingleplayer":"iv","gLobbyMaxJoin":"qI","SingleplayerMenu":"z","getSingleplayerPlayerCount":"wW","gMaxPlayers":"ej","gBots":"ip","Translations":"aW","txt":"no","strs":"a2B","uiSizes":"b1","gap":"gap","i":"eJ"}; const fx_version = '0.6.4.7'; // FX Client Version const fx_update = 'Jun 20'; // FX Client Last Updated diff --git a/game.js b/game.js index ea9dbde..c962fe3 100644 --- a/game.js +++ b/game.js @@ -1,5 +1,5 @@ var a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, a0, a1, 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, b3, b4, b5, b6, b7, b8, b9, bA, bB, bC, bD, dA, dB, dC, dD, dE, dF, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, eA, eB, eC, hj, hh, hi, hR; + ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, at, au, av, aw, ax, ay, az, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, bA, bB, bC, bD, dA, dB, dC, dD, dE, dF, e0, e1, e2, e3, e4, e5, e6, e7, e8, e9, eA, eB, eC, hm, hk, hl, hU; function bE() { var cw; @@ -17,7 +17,7 @@ function bE() { function cc() { this.dG = 1044, this.ct = function() { - dA = 2, dC = 23, dB = "19 Jun 2024 [1.95.7]", dD = 0 <= window.location.hostname.toLowerCase().indexOf("territorial.io"), dF = function() { + dA = 2, dC = 23, dB = "22 Jun 2024 [1.95.9]", dD = 0 <= window.location.hostname.toLowerCase().indexOf("territorial.io"), dF = function() { try { return window.self !== window.top } catch (dI) { @@ -224,2091 +224,2091 @@ function ch() { }, this.gC = function() { return Math.floor(fy * a0.get(13).height) }, this.fX = function(gD, gE) { - return !!a0.g8() && !(gD < b1.gap || gE < aL.gF - fy * a0.get(13).height - 2 * b1.gap || gE > aL.gF - 2 * b1.gap || (gD < b1.gap + fy * a0.get(13).width ? (b7.gG(0), 0) : gD < 2 * b1.gap + fy * a0.get(13).width || !(gD < 2 * b1.gap + 2 * - fy * a0.get(13).width) || (b7.gG(1), 0))) - }, this.gH = function() { + return !!a0.g8() && !(gD < b1.gap || gE < aL.gF - fy * a0.get(13).height - 2 * b1.gap || gE > aL.gF - 2 * b1.gap || (gD < b1.gap + fy * a0.get(13).width ? (at.d5(8, 0, new gG("⏳ Connecting...", 21, { + gH: 0, + gI: 0, + gJ: 9 + })), 0) : gD < 2 * b1.gap + fy * a0.get(13).width || !(gD < 2 * b1.gap + 2 * fy * a0.get(13).width) || (at.d5(8, 0, new gG("⏳ Connecting...", 21, { + gH: 1, + gI: 0, + gJ: 9 + })), 0))) + }, this.gK = function() { return Math.floor(aL.gF - fy * a0.get(13).height - b1.gap) - }, this.gI = function() { + }, this.gL = function() { if (a0.g8()) { - gJ.imageSmoothingEnabled = !0, gJ.setTransform(fy, 0, 0, fy, b1.gap, this.gH()), gJ.drawImage(a0.get(14), 0, 0), gJ.setTransform(fy, 0, 0, fy, 2 * b1.gap + fy * a0.get(13).width, this.gH()), gJ.drawImage(a0.get(13), 0, 0); - for (var eJ = 1; 0 <= eJ; eJ--) fz[eJ] && (gJ.setTransform(1, 0, 0, 1, (1 + eJ) * b1.gap + eJ * fy * a0.get(13).width, this.gH()), gJ.font = fz[eJ].font, aZ.g5.textBaseline(gJ, 1), aZ.g5.textAlign(gJ, 1), gJ.fillStyle = aa.gK, gJ + gM.imageSmoothingEnabled = !0, gM.setTransform(fy, 0, 0, fy, b1.gap, this.gK()), gM.drawImage(a0.get(14), 0, 0), gM.setTransform(fy, 0, 0, fy, 2 * b1.gap + fy * a0.get(13).width, this.gK()), gM.drawImage(a0.get(13), 0, 0); + for (var eJ = 1; 0 <= eJ; eJ--) fz[eJ] && (gM.setTransform(1, 0, 0, 1, (1 + eJ) * b1.gap + eJ * fy * a0.get(13).width, this.gK()), gM.font = fz[eJ].font, aZ.g5.textBaseline(gM, 1), aZ.g5.textAlign(gM, 1), gM.fillStyle = aa.gN, gM .fillText(fz[eJ].g3, .5 * fy * a0.get(13).width, .86 * fy * a0.get(13).height)); - gJ.setTransform(1, 0, 0, 1, 0, 0) + gM.setTransform(1, 0, 0, 1, 0, 0) } } } -function gL(gM, size, gN, gO, font) { - var eJ, gR = .2, - gS = document.createElement("canvas"), - gT = gS.getContext("2d", { +function gO(gP, size, gQ, gR, font) { + var eJ, gU = .2, + gV = document.createElement("canvas"), + gW = gV.getContext("2d", { alpha: !1 }); - for (gS.width = gM, gS.height = gM, gT.font = size + font, gT.textAlign = "center", gT.textBaseline = "middle", gT.fillStyle = "red", eJ = 0; eJ < gN.length; eJ++) gT.fillText(gN[eJ], .5 * gM, .5 * gM); - return -1 < (gS = function(gP) { - var eJ, gV; - for (eJ = gP.data.length - 4; 0 <= eJ; eJ -= 4) - if (gV = gP.data[eJ], gO <= gV) return Math.floor(eJ / (4 * gM)); + for (gV.width = gP, gV.height = gP, gW.font = size + font, gW.textAlign = "center", gW.textBaseline = "middle", gW.fillStyle = "red", eJ = 0; eJ < gQ.length; eJ++) gW.fillText(gQ[eJ], .5 * gP, .5 * gP); + return -1 < (gV = function(gS) { + var eJ, gY; + for (eJ = gS.data.length - 4; 0 <= eJ; eJ -= 4) + if (gY = gS.data[eJ], gR <= gY) return Math.floor(eJ / (4 * gP)); return -1 - }(gT.getImageData(0, 0, gM, gM))) && (gR = (gS - .5 * gM + .1 * size) / size), Math.max(gR, 0) + }(gW.getImageData(0, 0, gP, gP))) && (gU = (gV - .5 * gP + .1 * size) / size), Math.max(gU, 0) } function cQ() { - this.gW = new Int16Array(4), this.gX = new Int16Array(4), this.ct = function() { + this.gZ = new Int16Array(4), this.ga = new Int16Array(4), this.ct = function() { var eJ; - for (this.gW[0] = -aq.eE, this.gW[1] = 1, this.gW[2] = aq.eE, this.gW[3] = -1, eJ = 0; eJ < 4; eJ++) this.gX[eJ] = 4 * this.gW[eJ] - }, this.gY = function(gZ, ga) { - var gb = this.gc(ga) - this.gc(gZ), - ga = this.ge(ga) - this.ge(gZ), - gZ = gb >>> 31 << 1; - return 5 + gZ + (1 - gZ) * (1 - (ga >>> 31 << 1)) * (Math.abs(gb) - Math.abs(ga) >>> 31) & 3 - }, this.gi = function(gZ, ga, gj) { - return gj % 2 == 0 ? gj + (1 - gj) * (1 - (this.gc(ga) - this.gc(gZ) >>> 31 << 1)) + 4 & 3 : gj + (2 - gj) * (1 - (this.ge(ga) - this.ge(gZ) >>> 31 << 1)) + 4 & 3 - }, this.gl = function(em, fe) { - for (var ga, gm, go = a6.ey[em], ef = go.length, gA = aq.eE, gp = this.gc(fe), gq = this.ge(fe), gr = go[0] >> 2, min = this.gs(gp, gq, gr), eJ = 1; eJ < ef; eJ++)(gm = (gm = gp - (ga = go[eJ] >> 2) % gA) * gm + (gm = gq - ~~((.5 + ga) / - gA)) * gm) < min && (min = gm, gr = ga); - return gr - }, this.gt = function(player, fg) { + for (this.gZ[0] = -aq.eE, this.gZ[1] = 1, this.gZ[2] = aq.eE, this.gZ[3] = -1, eJ = 0; eJ < 4; eJ++) this.ga[eJ] = 4 * this.gZ[eJ] + }, this.gb = function(gc, gd) { + var ge = this.gf(gd) - this.gf(gc), + gd = this.gh(gd) - this.gh(gc), + gc = ge >>> 31 << 1; + return 5 + gc + (1 - gc) * (1 - (gd >>> 31 << 1)) * (Math.abs(ge) - Math.abs(gd) >>> 31) & 3 + }, this.gl = function(gc, gd, gm) { + return gm % 2 == 0 ? gm + (1 - gm) * (1 - (this.gf(gd) - this.gf(gc) >>> 31 << 1)) + 4 & 3 : gm + (2 - gm) * (1 - (this.gh(gd) - this.gh(gc) >>> 31 << 1)) + 4 & 3 + }, this.go = function(em, fe) { + for (var gd, gp, gr = a6.ey[em], ef = gr.length, gA = aq.eE, gs = this.gf(fe), gt = this.gh(fe), gu = gr[0] >> 2, min = this.gv(gs, gt, gu), eJ = 1; eJ < ef; eJ++)(gp = (gp = gs - (gd = gr[eJ] >> 2) % gA) * gp + (gp = gt - ~~((.5 + gd) / + gA)) * gp) < min && (min = gp, gu = gd); + return gu + }, this.gw = function(player, fg) { return !a1.er(fg) && player === a1.eq(fg) - }, this.gs = function(fa, fc, fe) { - return (fa -= this.gc(fe)) * fa + (fc -= this.ge(fe)) * fc - }, this.gu = function(gv, gw, gx) { - gv = this.gz(gv) - this.h0(gx), gw = this.h2(gw) - this.h3(gx); - return Math.sqrt(gv * gv + gw * gw) - }, this.h4 = function(gZ, ga) { - var gy = this.gc(gZ) - this.gc(ga), - gZ = this.ge(gZ) - this.ge(ga); - return Math.sqrt(gy * gy + gZ * gZ) - }, this.h5 = function(em, h6) { - return aj.fK(h6 * a6.eb[em], 1e3) - }, this.gz = function(gv) { - return 16 * (gv + h7) / h8 - }, this.h2 = function(gw) { - return 16 * (gw + h9) / h8 - }, this.fb = function(gv) { - return Math.floor((gv + h7) / h8) - }, this.fd = function(gw) { - return Math.floor((gw + h9) / h8) + }, this.gv = function(fa, fc, fe) { + return (fa -= this.gf(fe)) * fa + (fc -= this.gh(fe)) * fc + }, this.gx = function(gy, gz, h0) { + gy = this.h2(gy) - this.h3(h0), gz = this.h5(gz) - this.h6(h0); + return Math.sqrt(gy * gy + gz * gz) + }, this.h7 = function(gc, gd) { + var h1 = this.gf(gc) - this.gf(gd), + gc = this.gh(gc) - this.gh(gd); + return Math.sqrt(h1 * h1 + gc * gc) + }, this.h8 = function(em, h9) { + return aj.fK(h9 * a6.eb[em], 1e3) + }, this.h2 = function(gy) { + return 16 * (gy + hA) / hB + }, this.h5 = function(gz) { + return 16 * (gz + hC) / hB + }, this.fb = function(gy) { + return Math.floor((gy + hA) / hB) + }, this.fd = function(gz) { + return Math.floor((gz + hC) / hB) }, this.fi = function(fa, fc) { return 1 <= fa && 1 <= fc && fa < aq.eE - 1 && fc < aq.eF - 1 - }, this.gc = function(fe) { + }, this.gf = function(fe) { return fe % aq.eE - }, this.ge = function(fe) { + }, this.gh = function(fe) { return aj.fK(fe, aq.eE) }, this.ff = function(fa, fc) { return fc * aq.eE + fa - }, this.hA = function(fe) { - var fa = this.gc(fe), - fe = this.ge(fe); + }, this.hD = function(fe) { + var fa = this.gf(fe), + fe = this.gh(fe); return 0 < fa && fa < aq.eE - 1 && 0 < fe && fe < aq.eF - 1 }, this.fh = function(fe) { return fe << 2 - }, this.hB = function(fe) { - return aq.eE * this.ge(fe) * 256 + (this.gc(fe) << 4) - }, this.hC = function(fe) { - return this.hB(fe) + 8 + (aq.eE << 7) - }, this.hD = function(gx) { - return aq.eE * (this.h3(gx) >> 4) + (this.h0(gx) >> 4) - }, this.hE = function(gx) { - gx = this.hD(gx); - return (this.gc(gx) >> 5) + al.hF.hG * (this.ge(gx) >> 5) - }, this.h0 = function(gx) { - return gx % (aq.eE << 4) - }, this.h3 = function(gx) { - return aj.fK(gx, aq.eE << 4) - }, this.hH = function(fe, gj) { - return fe + this.gW[gj] - }, this.hI = function(fg, gj) { - return fg + this.gX[gj] + }, this.hE = function(fe) { + return aq.eE * this.gh(fe) * 256 + (this.gf(fe) << 4) + }, this.hF = function(fe) { + return this.hE(fe) + 8 + (aq.eE << 7) + }, this.hG = function(h0) { + return aq.eE * (this.h6(h0) >> 4) + (this.h3(h0) >> 4) + }, this.hH = function(h0) { + h0 = this.hG(h0); + return (this.gf(h0) >> 5) + al.hI.hJ * (this.gh(h0) >> 5) + }, this.h3 = function(h0) { + return h0 % (aq.eE << 4) + }, this.h6 = function(h0) { + return aj.fK(h0, aq.eE << 4) + }, this.hK = function(fe, gm) { + return fe + this.gZ[gm] + }, this.hL = function(fg, gm) { + return fg + this.ga[gm] } } -function hJ(player, hK) { - return am.dp[1] = a6.eg[player].length, am.dp[0] === b.ej ? hL(player) : hM(player, am.dp[0]), (0 !== am.dp[1] || 0 !== a6.eg[player].length) && !(!hK && am.dp[1] === a6.eg[player].length || (am.dp[0] === b.ej ? a6.hN[player]++ : a6.hO[player]++, +function hM(player, hN) { + return am.dp[1] = a6.eg[player].length, am.dp[0] === b.ej ? hO(player) : hP(player, am.dp[0]), (0 !== am.dp[1] || 0 !== a6.eg[player].length) && !(!hN && am.dp[1] === a6.eg[player].length || (am.dp[0] === b.ej ? a6.hQ[player]++ : a6.hR[player]++, 0)) } -function hP(player) { - b.hQ && (hR[player] = 1), hS(am.dp[1], player), a3.hT(player, am.dj[0], am.dp[0]), d.hU(player, !1) +function hS(player) { + b.hT && (hU[player] = 1), hV(am.dp[1], player), a3.hW(player, am.dj[0], am.dp[0]), d.hX(player, !1) } -function hV(player, hW, ef, hX) { - var hY = eX(3 * a6.eb[player], 256); - hX -= hX >= eX(a6.eb[player], 2) ? hY : 0, hS(ef, player), a3.hT(player, hX, hW), a6.eb[player] -= hX + hY, d.hU(player, !1) +function hY(player, hZ, ef, ha) { + var hb = eX(3 * a6.eb[player], 256); + ha -= ha >= eX(a6.eb[player], 2) ? hb : 0, hV(ef, player), a3.hW(player, ha, hZ), a6.eb[player] -= ha + hb, d.hX(player, !1) } -function hM(player, hW) { - for (var gj, eJ = a6.ex[player].length - 1; 0 <= eJ; eJ--) - if (a1.hZ(a6.ex[player][eJ])) - for (gj = 3; 0 <= gj; gj--) - if (a1.ep(a6.ex[player][eJ] + eA[gj]) && a1.eq(a6.ex[player][eJ] + eA[gj]) === hW) { +function hP(player, hZ) { + for (var gm, eJ = a6.ex[player].length - 1; 0 <= eJ; eJ--) + if (a1.hc(a6.ex[player][eJ])) + for (gm = 3; 0 <= gm; gm--) + if (a1.ep(a6.ex[player][eJ] + eA[gm]) && a1.eq(a6.ex[player][eJ] + eA[gm]) === hZ) { a6.eg[player].push(a6.ex[player][eJ]); break } } -function hS(size, player) { - for (var eJ = a6.eg[player].length - 1; size <= eJ; eJ--) a1.ha(a6.eg[player][eJ], player) +function hV(size, player) { + for (var eJ = a6.eg[player].length - 1; size <= eJ; eJ--) a1.hd(a6.eg[player][eJ], player) } -function hL(player) { +function hO(player) { for (let eJ = a6.ex[player].length - 1; 0 <= eJ; eJ--) - if (a1.hZ(a6.ex[player][eJ])) - for (let gj = 3; 0 <= gj; gj--) - if (a1.er(a6.ex[player][eJ] + eA[gj])) { + if (a1.hc(a6.ex[player][eJ])) + for (let gm = 3; 0 <= gm; gm--) + if (a1.er(a6.ex[player][eJ] + eA[gm])) { a6.eg[player].push(a6.ex[player][eJ]); break } } -function hb(player, hc) { - var eJ, hd, gj, he, ef = a6.ex[player].length, - gk = 256 <= ef ? 12 : 32 <= ef ? 6 : 1, - hf = ef - 1 - aM.hg(gk); - hh = 0; - loop: for (eJ = hf; 0 <= eJ; eJ -= gk) - for (gj = 3; 0 <= gj; gj--) - if ((he = a1.er(a6.ex[player][eJ] + eA[gj]) ? b.ej : a1.eq(a6.ex[player][eJ] + eA[gj])) === b.ej || a1.ep(a6.ex[player][eJ] + eA[gj]) && he !== player && (hc || fw(player, he))) { - for (hd = hh - 1; 0 <= hd; hd--) - if (hi[hd] === he) continue loop; - if (hi[hh] = he, ++hh >= hj) return !0 +function he(player, hf) { + var eJ, hg, gm, hh, ef = a6.ex[player].length, + gn = 256 <= ef ? 12 : 32 <= ef ? 6 : 1, + hi = ef - 1 - aM.hj(gn); + hk = 0; + loop: for (eJ = hi; 0 <= eJ; eJ -= gn) + for (gm = 3; 0 <= gm; gm--) + if ((hh = a1.er(a6.ex[player][eJ] + eA[gm]) ? b.ej : a1.eq(a6.ex[player][eJ] + eA[gm])) === b.ej || a1.ep(a6.ex[player][eJ] + eA[gm]) && hh !== player && (hf || fw(player, hh))) { + for (hg = hk - 1; 0 <= hg; hg--) + if (hl[hg] === hh) continue loop; + if (hl[hk] = hh, ++hk >= hm) return !0 } - return 0 < hh + return 0 < hk } -function hk(player, hc) { - var eJ, gj, he; - for (hh = 0, eJ = a6.ex[player].length - 1; 0 <= eJ; eJ--) - for (gj = 3; 0 <= gj; gj--) - if ((he = a1.er(a6.ex[player][eJ] + eA[gj]) ? b.ej : a1.eq(a6.ex[player][eJ] + eA[gj])) === b.ej || a1.ep(a6.ex[player][eJ] + eA[gj]) && he !== player && (hc || fw(player, he))) return hi[hh++] = he, !0; +function hn(player, hf) { + var eJ, gm, hh; + for (hk = 0, eJ = a6.ex[player].length - 1; 0 <= eJ; eJ--) + for (gm = 3; 0 <= gm; gm--) + if ((hh = a1.er(a6.ex[player][eJ] + eA[gm]) ? b.ej : a1.eq(a6.ex[player][eJ] + eA[gm])) === b.ej || a1.ep(a6.ex[player][eJ] + eA[gm]) && hh !== player && (hf || fw(player, hh))) return hl[hk++] = hh, !0; return !1 } -function hl() { - for (var hm, eJ = hh - 1; 0 <= eJ; eJ--) - if (hi[eJ] === b.ej) { - for (hh--, hm = eJ; hm < hh; hm++) hi[hm] = hi[hm + 1]; +function ho() { + for (var hp, eJ = hk - 1; 0 <= eJ; eJ--) + if (hl[eJ] === b.ej) { + for (hk--, hp = eJ; hp < hk; hp++) hl[hp] = hl[hp + 1]; return !0 } return !1 } -function hn(player) { - for (var hm, eJ = hh - 1; 0 <= eJ; eJ--) - if (a3.ho(player, hi[eJ])) - for (hh--, hm = eJ; hm < hh; hm++) hi[hm] = hi[hm + 1]; - return 0 === hh +function hq(player) { + for (var hp, eJ = hk - 1; 0 <= eJ; eJ--) + if (a3.hr(player, hl[eJ])) + for (hk--, hp = eJ; hp < hk; hp++) hl[hp] = hl[hp + 1]; + return 0 === hk } -function hp() { - for (var eJ = hh - 1; 0 <= eJ; eJ--) - if (hi[eJ] >= b.hq) return !0; +function hs() { + for (var eJ = hk - 1; 0 <= eJ; eJ--) + if (hl[eJ] >= b.ht) return !0; return !1 } -function hr() { - for (var eJ = hh - 1; 0 <= eJ; eJ--) hi[eJ] < b.hq && (hi[eJ] = hi[--hh]); - return 0 < hh -} - -function hs(player) { - for (var hm, ht = hi[0], hu = a6.eb[ht] + a3.fJ(ht, player), eJ = hh - 1; 1 <= eJ; eJ--)(hm = a6.eb[hi[eJ]] + a3.fJ(hi[eJ], player)) < hu && (ht = hi[eJ], hu = hm); - return ht +function hu() { + for (var eJ = hk - 1; 0 <= eJ; eJ--) hl[eJ] < b.ht && (hl[eJ] = hl[--hk]); + return 0 < hk } function hv(player) { - var gF, hw = hi[0]; - if (1 !== hh) - for (var hx = eX(a6.hy[player] + a6.hz[player], 2), i0 = eX(a6.i1[player] + a6.i2[player], 2), i3 = i4(hx - eX(a6.hy[hw] + a6.hz[hw], 2)) + i4(i0 - eX(a6.i1[hw] + a6.i2[hw], 2)), eJ = hh - 1; 1 <= eJ; eJ--)(gF = i4(hx - eX(a6.hy[hi[eJ]] + a6 - .hz[hi[eJ]], 2)) + i4(i0 - eX(a6.i1[hi[eJ]] + a6.i2[hi[eJ]], 2))) < i3 && (i3 = gF, hw = hi[eJ]); + for (var hp, hw = hl[0], hx = a6.eb[hw] + a3.fJ(hw, player), eJ = hk - 1; 1 <= eJ; eJ--)(hp = a6.eb[hl[eJ]] + a3.fJ(hl[eJ], player)) < hx && (hw = hl[eJ], hx = hp); return hw } -function i5() { - return hi[aM.hg(hh)] +function hy(player) { + var gF, hz = hl[0]; + if (1 !== hk) + for (var i0 = eX(a6.i1[player] + a6.i2[player], 2), i3 = eX(a6.i4[player] + a6.i5[player], 2), i6 = i7(i0 - eX(a6.i1[hz] + a6.i2[hz], 2)) + i7(i3 - eX(a6.i4[hz] + a6.i5[hz], 2)), eJ = hk - 1; 1 <= eJ; eJ--)(gF = i7(i0 - eX(a6.i1[hl[eJ]] + a6 + .i2[hl[eJ]], 2)) + i7(i3 - eX(a6.i4[hl[eJ]] + a6.i5[hl[eJ]], 2))) < i6 && (i6 = gF, hz = hl[eJ]); + return hz +} + +function i8() { + return hl[aM.hj(hk)] } function cv() { - hj = 8, hh = 0, hi = new Uint16Array(hj) + hm = 8, hk = 0, hl = new Uint16Array(hm) } -function i6() { - hR = b.hQ ? new Uint8Array(b.ej) : null +function i9() { + hU = b.hT ? new Uint8Array(b.ej) : null } -function i7(player, hX) { - var i8; - b.hQ && (hR[player] = 0), !a3.i9(player) || hX < 60 || (0 === a6.ex[player].length ? al.iA.iB(player) || (c.iC(player - b.hq, 200), iD(player, hX, c.hX[player - b.hq], a4.iE(player))) : 0 < a6.ey[player].length && aM.random() < aM.value(a6.ey[ - player].length > a6.ex[player].length ? 7 : 3) && al.iA.iB(player) || (i8 = a4.iE(player), a6.eb[player] > i8 && hX < a6.eb[player] - i8 && (hX = a6.eb[player] - i8), b.hQ ? iF(player, hX, c.hX[player - b.hq], i8) : iG(player, hX, c - .hX[player - b.hq]))) +function iA(player, ha) { + var iB; + b.hT && (hU[player] = 0), !a3.iC(player) || ha < 60 || (0 === a6.ex[player].length ? al.iD.iE(player) || (c.iF(player - b.ht, 200), iG(player, ha, c.ha[player - b.ht], a4.iH(player))) : 0 < a6.ey[player].length && aM.random() < aM.value(a6.ey[ + player].length > a6.ex[player].length ? 7 : 3) && al.iD.iE(player) || (iB = a4.iH(player), a6.eb[player] > iB && ha < a6.eb[player] - iB && (ha = a6.eb[player] - iB), b.hT ? iI(player, ha, c.ha[player - b.ht], iB) : iJ(player, ha, c + .ha[player - b.ht]))) } -function iF(player, hX, iH, i8) { - var hW; - hb(player, !1) || hk(player, !1) ? (hR[player] = 1, hn(player) || (hl() ? (iI(player, hX), iJ(player, b.ej, iH)) : (aM.iK(c.iL[iH]) ? iM(player, hX, hW = hs(player)) : (hp() && aM.iK(c.iN[iH]) && hr(), iM(player, hX, hW = hv(player))), iJ(player, - hW, iH)))) : 0 < a6.ey[player].length && aM.random() < aM.value(60) && al.iA.iB(player) || (c.iC(player - b.hq, 200), iD(player, hX, iH, i8)) +function iI(player, ha, iK, iB) { + var hZ; + he(player, !1) || hn(player, !1) ? (hU[player] = 1, hq(player) || (ho() ? (iL(player, ha), iM(player, b.ej, iK)) : (aM.iN(c.iO[iK]) ? iP(player, ha, hZ = hv(player)) : (hs() && aM.iN(c.iQ[iK]) && hu(), iP(player, ha, hZ = hy(player))), iM(player, + hZ, iK)))) : 0 < a6.ey[player].length && aM.random() < aM.value(60) && al.iD.iE(player) || (c.iF(player - b.ht, 200), iG(player, ha, iK, iB)) } -function iO(player, hX) { - hb(player, !1) || hk(player, !1) ? (hR[player] = 1, hl() ? iI(player, hX) : iM(player, hX, i5())) : iD(player, hX, 0, 0) +function iR(player, ha) { + he(player, !1) || hn(player, !1) ? (hU[player] = 1, ho() ? iL(player, ha) : iP(player, ha, i8())) : iG(player, ha, 0, 0) } -function iJ(player, hW, iH) { - 3 <= iH && 2142 < b4.iP() && (hW === b.ej || a6.eb[hW] < eX(a6.eb[player], 20)) && c.iC(player - b.hq, 25) +function iM(player, hZ, iK) { + 3 <= iK && 2142 < b4.iS() && (hZ === b.ej || a6.eb[hZ] < eX(a6.eb[player], 20)) && c.iF(player - b.ht, 25) } -function iD(player, hX, iH, i8) { - var eJ, hm, iQ; - if (0 !== b5.iR[player] && !(5 === iH && a6.eb[player] < i8 || 4 === iH && a6.eb[player] < eX(i8, 2))) - for (eJ = aM.hg(iS), hm = 0; hm < iS; hm++) - if (iQ = iT[(hm + eJ) % iS], b5.iR[iQ] === b5.iR[player] && 1 === hR[iQ]) return void aX.iU.iV(player, iQ, hX) +function iG(player, ha, iK, iB) { + var eJ, hp, iT; + if (0 !== b5.iU[player] && !(5 === iK && a6.eb[player] < iB || 4 === iK && a6.eb[player] < eX(iB, 2))) + for (eJ = aM.hj(iV), hp = 0; hp < iV; hp++) + if (iT = iW[(hp + eJ) % iV], b5.iU[iT] === b5.iU[player] && 1 === hU[iT]) return void aX.iX.iY(player, iT, ha) } -function iG(player, hX, iH) { - !hb(player, !0) && !hk(player, !0) || hn(player) || (hl() ? iI(player, hX) : aM.iK(c.iL[iH]) ? iM(player, hX, hs(player)) : (hp() && aM.iK(c.iN[iH]) && hr(), iM(player, hX, hv(player)))) +function iJ(player, ha, iK) { + !he(player, !0) && !hn(player, !0) || hq(player) || (ho() ? iL(player, ha) : aM.iN(c.iO[iK]) ? iP(player, ha, hv(player)) : (hs() && aM.iN(c.iQ[iK]) && hu(), iP(player, ha, hy(player)))) } -function iW(player, hX) { - (hb(player, !0) || hk(player, !0)) && (hl() ? iI(player, hX) : iM(player, hX, i5())) +function iZ(player, ha) { + (he(player, !0) || hn(player, !0)) && (ho() ? iL(player, ha) : iP(player, ha, i8())) } -function iM(player, hX, hW) { - eX(a6.eb[player], 8) > a6.eb[hW] && (hX = (iX = eX(11 * a6.eb[hW], 5)) < hX ? hX : iX); - var iX = a6.eg[player].length; - hM(player, hW), hV(player, hW, iX, hX) +function iP(player, ha, hZ) { + eX(a6.eb[player], 8) > a6.eb[hZ] && (ha = (ia = eX(11 * a6.eb[hZ], 5)) < ha ? ha : ia); + var ia = a6.eg[player].length; + hP(player, hZ), hY(player, hZ, ia, ha) } -function iI(player, hX) { - var hW = b.ej, +function iL(player, ha) { + var hZ = b.ej, ef = a6.eg[player].length; - return hL(player), a6.eg[player].length !== ef && (hV(player, hW, ef, hX), !0) + return hO(player), a6.eg[player].length !== ef && (hY(player, hZ, ef, ha), !0) } self.aiCommand746 = function(df) { 0 === df ? bE() : 1 !== df || 1 !== b8.id || b8.dg < 14 || y.dh() }; -var h8, h7, h9, zP, jJ, a1H, iT, iS, u5, gJ, qm, a2q, wX, wY, iY = [60, 74, 112, 200, 256, 512]; +var hB, hA, hC, zT, jM, a1K, iW, iV, u8, gM, qp, a2t, wb, wc, ib = [60, 74, 112, 200, 256, 512]; function bP() { - var iZ, ia, ib, ic, ie, ig; + var ic, ie, ig, ih, ii, ij; - function iu(eJ) { - iZ[eJ] = 1 + eX(ie[eJ] * aM.random(), 10 * aM.value(100)) + function ix(eJ) { + ic[eJ] = 1 + eX(ii[eJ] * aM.random(), 10 * aM.value(100)) } - this.ih = ["Very Easy", "Easy", "Normal", "Hard", "Harder", "Very Hard"], this.ii = [97, 95, 93, 90, 87, 84], this.iN = [98, 95, 70, 40, 20, 0], this.ij = [85, 70, 50, 30, 7, 3], this.iL = [0, 0, 5, 25, 50, 90], this.hX = null, this.ct = + this.ik = ["Very Easy", "Easy", "Normal", "Hard", "Harder", "Very Hard"], this.il = [97, 95, 93, 90, 87, 84], this.iQ = [98, 95, 70, 40, 20, 0], this.im = [85, 70, 50, 30, 7, 3], this.iO = [0, 0, 5, 25, 50, 90], this.ha = null, this.ct = function() { - var eJ, ik; - if (iZ = new Uint8Array(b.il), ia = new Uint16Array(b.il), ib = new Uint16Array(b.il), ic = new Uint8Array(b.il), this.hX = new Uint8Array(b.il), ie = new Uint16Array(b.il), ig = new Uint16Array(b.il), aV.im) { - if (aV.io.ip) - for (eJ = b.il - 1; 0 <= eJ; eJ--) this.hX[eJ] = aV.io.ip[eJ + 1] - } else if (9 === b.iq) this.ir(); - else if (b.is) - if (b.hQ) - for (eJ = b.il - 1; 0 <= eJ; eJ--) this.hX[eJ] = z.it[b5.iR[eJ + b.hq] - 1].eo; + var eJ, io; + if (ic = new Uint8Array(b.ip), ie = new Uint16Array(b.ip), ig = new Uint16Array(b.ip), ih = new Uint8Array(b.ip), this.ha = new Uint8Array(b.ip), ii = new Uint16Array(b.ip), ij = new Uint16Array(b.ip), aV.iq) { + if (aV.ir.is) + for (eJ = b.ip - 1; 0 <= eJ; eJ--) this.ha[eJ] = aV.ir.is[eJ + 1] + } else if (9 === b.it) this.iu(); + else if (b.iv) + if (b.hT) + for (eJ = b.ip - 1; 0 <= eJ; eJ--) this.ha[eJ] = z.iw[b5.iU[eJ + b.ht] - 1].eo; else - for (eJ = b.il - 1; 0 <= eJ; eJ--) this.hX[eJ] = z.it[0].eo; + for (eJ = b.ip - 1; 0 <= eJ; eJ--) this.ha[eJ] = z.iw[0].eo; else - for (ik = 8 === b.iq ? 1 : 0, eJ = b.il - 1; 0 <= eJ; eJ--) this.hX[eJ] = ik; - for (eJ = b.il - 1; 0 <= eJ; eJ--) this.hX[eJ] <= 2 ? (ic[eJ] = 5, ie[eJ] = ig[eJ] = 1040, 0 === this.hX[eJ] ? (ia[eJ] = 1e3, ib[eJ] = 1e3) : 1 === this.hX[eJ] ? (ia[eJ] = 1e3, ib[eJ] = 920, ie[eJ] = ig[eJ] = 1100) : (ia[eJ] = 825, ib[ - eJ] = 750)) : this.hX[eJ] <= 4 ? (ic[eJ] = 1 + aM.hg(20), 3 === this.hX[eJ] ? (ia[eJ] = ib[eJ] = 500, ie[eJ] = ig[eJ] = 1e3) : (ig[eJ] = 250 + aM.hg(1501), ie[eJ] = 500 + aM.hg(501), ia[eJ] = 300 + aM.hg(201), ib[eJ] = 100 + aM - .hg(201))) : (ie[eJ] = 1e3, ig[eJ] = 1e3, ic[eJ] = 35 + aM.hg(16), ia[eJ] = 300 + aM.hg(201), ib[eJ] = 50 + aM.hg(101)), iu(eJ) - }, this.ir = function() { - for (var eJ, fg = 0, hm = 0; hm < 6; hm++) { - for (eJ = fg + aN.iv[hm] - 1; fg <= eJ; eJ--) this.hX[eJ] = hm; - fg += aN.iv[hm] + for (io = 8 === b.it ? 1 : 0, eJ = b.ip - 1; 0 <= eJ; eJ--) this.ha[eJ] = io; + for (eJ = b.ip - 1; 0 <= eJ; eJ--) this.ha[eJ] <= 2 ? (ih[eJ] = 5, ii[eJ] = ij[eJ] = 1040, 0 === this.ha[eJ] ? (ie[eJ] = 1e3, ig[eJ] = 1e3) : 1 === this.ha[eJ] ? (ie[eJ] = 1e3, ig[eJ] = 920, ii[eJ] = ij[eJ] = 1100) : (ie[eJ] = 825, ig[ + eJ] = 750)) : this.ha[eJ] <= 4 ? (ih[eJ] = 1 + aM.hj(20), 3 === this.ha[eJ] ? (ie[eJ] = ig[eJ] = 500, ii[eJ] = ij[eJ] = 1e3) : (ij[eJ] = 250 + aM.hj(1501), ii[eJ] = 500 + aM.hj(501), ie[eJ] = 300 + aM.hj(201), ig[eJ] = 100 + aM + .hj(201))) : (ii[eJ] = 1e3, ij[eJ] = 1e3, ih[eJ] = 35 + aM.hj(16), ie[eJ] = 300 + aM.hj(201), ig[eJ] = 50 + aM.hj(101)), ix(eJ) + }, this.iu = function() { + for (var eJ, fg = 0, hp = 0; hp < 6; hp++) { + for (eJ = fg + aN.iy[hp] - 1; fg <= eJ; eJ--) this.ha[eJ] = hp; + fg += aN.iy[hp] } - }, this.iC = function(iw, value) { - 0 <= iw && (iZ[iw] = value) - }, this.iB = function(iw) { - 0 == --iZ[iw] && ! function(iw) { - ! function(iw) { - ie[iw] !== ig[iw] && (ie[iw] += ie[iw] < ig[iw] ? 3 : -3); - ia[iw] !== ib[iw] && (ia[iw] += ia[iw] < ib[iw] ? ic[iw] : -ic[iw], ia[iw] = (Math.abs(ia[iw] - ib[iw]) <= ic[iw] ? ib : ia)[iw]); - iZ[iw] = eX(ie[iw], 10) - }(iw); - var player = iw + b.hq; - i7(player, eX(ia[iw] * a6.eb[player], 1e3)) - }(iw) + }, this.iF = function(iz, value) { + 0 <= iz && (ic[iz] = value) + }, this.iE = function(iz) { + 0 == --ic[iz] && ! function(iz) { + ! function(iz) { + ii[iz] !== ij[iz] && (ii[iz] += ii[iz] < ij[iz] ? 3 : -3); + ie[iz] !== ig[iz] && (ie[iz] += ie[iz] < ig[iz] ? ih[iz] : -ih[iz], ie[iz] = (Math.abs(ie[iz] - ig[iz]) <= ih[iz] ? ig : ie)[iz]); + ic[iz] = eX(ii[iz], 10) + }(iz); + var player = iz + b.ht; + iA(player, eX(ie[iz] * a6.eb[player], 1e3)) + }(iz) } } -function iz() { - l.iB(), a5.iB(), u.j0(), aO.j1.iB() -} - function j2() { - aP.iB(), e.iB(), a4.iB(), aS.iB(), aR.iB(), d.iB(), f.iB(), al.j1.iB(), j3(), t.iB(), aN.iB(), a5.iB(), a5.j4(), u.iB(), an.iB(), s.iB(), n.iB(), l.iB(), aT.iB(), p.iB(), aJ.iB(), b2.iB(), b6.iB(), ao.iB(), aO.j1.iB(), aO.j5.iB(), at.iB(), aY - .iB(), b4.iB() + l.iE(), a5.iE(), u.j3(), aO.j4.iE() } -function j6() { - g.iB(), v.iB(), o.iB(), aG.iB(), ab.iB(), aK.j7() +function j5() { + aP.iE(), e.iE(), a4.iE(), aS.iE(), aR.iE(), d.iE(), f.iE(), al.j4.iE(), j6(), t.iE(), aN.iE(), a5.iE(), a5.j7(), u.iE(), an.iE(), s.iE(), n.iE(), l.iE(), aT.iE(), p.iE(), aJ.iE(), b2.iE(), b6.iE(), ao.iE(), aO.j4.iE(), aO.j8.iE(), at.iE(), aY + .iE(), b4.iE() } -function j8() { - t.j9(!1), n.j9(), u.j9(!1), s.j9(), p.j9(), aJ.j9(), a5.j9(!1), b6.g7() +function j9() { + g.iE(), v.iE(), o.iE(), aG.iE(), ab.iE(), aK.jA() } -function jA() { - a5.j9(!1) && (b4.d3 = !0), aO.j1.iB() +function jB() { + t.jC(!1), n.jC(), u.jC(!1), s.jC(), p.jC(), aJ.jC(), a5.jC(!1), b6.g7() +} + +function jD() { + a5.jC(!1) && (b4.d3 = !0), aO.j4.iE() } function bQ() { - var jB, jC, jD, jE, jF, jG; + var jE, jF, jG, jH, jI, jJ; - function jK(jM) { - for (var eJ = jC - 1; 0 <= eJ; eJ--) 0 === jE[jD[eJ]] && a6.f5[jD[eJ]] >= jM && eG(jD[eJ]) + function jN(jP) { + for (var eJ = jF - 1; 0 <= eJ; eJ--) 0 === jH[jG[eJ]] && a6.f5[jG[eJ]] >= jP && eG(jG[eJ]) } - function jI(player) { - 10 === jE[player] ? jE[player] = jB : a6.f5[player] < 1e3 ? jE[player] = 3 : a6.f5[player] < 1e4 ? jE[player] = 2 : a6.f5[player] < 6e4 ? jE[player] = 1 : jE[player] = 0 + function jL(player) { + 10 === jH[player] ? jH[player] = jE : a6.f5[player] < 1e3 ? jH[player] = 3 : a6.f5[player] < 1e4 ? jH[player] = 2 : a6.f5[player] < 6e4 ? jH[player] = 1 : jH[player] = 0 } this.ct = function() { - jF = jG = 0, jB = 6, jC = 0, jD = new Uint16Array(b.ej), jE = new Uint8Array(b.ej) - }, this.iB = function() { + jI = jJ = 0, jE = 6, jF = 0, jG = new Uint16Array(b.ej), jH = new Uint8Array(b.ej) + }, this.iE = function() { var eJ; - for (jF = b2.ed[13], jG = a6.eb[b.ea], eJ = jC - 1; 0 <= eJ; eJ--) 10 === jE[jD[eJ]] ? jI(jD[eJ]) : 0 == jE[jD[eJ]]-- && (jI(jD[eJ]), eG(jD[eJ])); - 16e4 <= a6.f5[jJ[0]] && (jK(16e4), 3e5 <= a6.f5[jJ[0]]) && jK(3e5), a6.f5[b.ea] > b2.ed[7] && (b2.ed[7] = a6.f5[b.ea]), b2.ed[14] += jG - a6.eb[b.ea] + jF - b2.ed[13] + for (jI = b2.ed[13], jJ = a6.eb[b.ea], eJ = jF - 1; 0 <= eJ; eJ--) 10 === jH[jG[eJ]] ? jL(jG[eJ]) : 0 == jH[jG[eJ]]-- && (jL(jG[eJ]), eG(jG[eJ])); + 16e4 <= a6.f5[jM[0]] && (jN(16e4), 3e5 <= a6.f5[jM[0]]) && jN(3e5), a6.f5[b.ea] > b2.ed[7] && (b2.ed[7] = a6.f5[b.ea]), b2.ed[14] += jJ - a6.eb[b.ea] + jI - b2.ed[13] }, this.eZ = function(player) { - for (var hd, eJ = jC - 1; 0 <= eJ; eJ--) - if (player === jD[eJ]) { - for (jC--, hd = eJ; hd < jC; hd++) jD[hd] = jD[hd + 1]; + for (var hg, eJ = jF - 1; 0 <= eJ; eJ--) + if (player === jG[eJ]) { + for (jF--, hg = eJ; hg < jF; hg++) jG[hg] = jG[hg + 1]; return } - }, this.hU = function(player, jN) { - for (var eJ = jC - 1; 0 <= eJ; eJ--) - if (player === jD[eJ]) return; - jD[jC++] = player, jE[player] = jN ? 2 : 10 + }, this.hX = function(player, jQ) { + for (var eJ = jF - 1; 0 <= eJ; eJ--) + if (player === jG[eJ]) return; + jG[jF++] = player, jH[player] = jQ ? 2 : 10 } } function bR() { - var size, iA; + var size, iD; this.ct = function() { - size = b.il, iA = new Uint16Array(b.il); - for (var eJ = b.il - 1; 0 <= eJ; eJ--) iA[eJ] = eJ - }, this.iB = function() { - for (var eJ = size - 1; 0 <= eJ; eJ--) 0 === a6.jP[iA[eJ] + b.hq] ? function(hd) { + size = b.ip, iD = new Uint16Array(b.ip); + for (var eJ = b.ip - 1; 0 <= eJ; eJ--) iD[eJ] = eJ + }, this.iE = function() { + for (var eJ = size - 1; 0 <= eJ; eJ--) 0 === a6.jS[iD[eJ] + b.ht] ? function(hg) { size--; - for (var eJ = hd; eJ < size; eJ++) iA[eJ] = iA[eJ + 1] - }(eJ) : c.iB(iA[eJ]) + for (var eJ = hg; eJ < size; eJ++) iD[eJ] = iD[eJ + 1] + }(eJ) : c.iE(iD[eJ]) } } function bS() { - var jR, jS, jC, jD, jE, jT, jU, jV; + var jU, jV, jF, jG, jH, jW, jX, jY; - function jX(eJ) { - var hd; - for (jC--, hd = eJ; hd < jC; hd++) jD[hd] = jD[hd + 1], jE[hd] = jE[hd + 1], jT[hd] = jT[hd + 1], jU[hd] = jU[hd + 1], jV[hd] = jV[hd + 1] + function ja(eJ) { + var hg; + for (jF--, hg = eJ; hg < jF; hg++) jG[hg] = jG[hg + 1], jH[hg] = jH[hg + 1], jW[hg] = jW[hg + 1], jX[hg] = jX[hg + 1], jY[hg] = jY[hg + 1] } this.ct = function() { - jR = 1, jC = 0, jS = 2 * b.ej, jD = new Uint16Array(jS), jE = new Uint8Array(jS), jT = new Uint16Array(jS), jU = new Uint32Array(jS), jV = new Uint32Array(jS) - }, this.jW = function(g4, position) { - jU[g4] = position - }, this.iB = function() { - for (var eJ = jC - 1; 0 <= eJ; eJ--) 0 == jE[eJ]-- && (jE[eJ] = 2, aD.iB(eJ, jT[eJ], jD[eJ], jU[eJ], jV[eJ])) + jU = 1, jF = 0, jV = 2 * b.ej, jG = new Uint16Array(jV), jH = new Uint8Array(jV), jW = new Uint16Array(jV), jX = new Uint32Array(jV), jY = new Uint32Array(jV) + }, this.jZ = function(g4, position) { + jX[g4] = position + }, this.iE = function() { + for (var eJ = jF - 1; 0 <= eJ; eJ--) 0 == jH[eJ]-- && (jH[eJ] = 2, aD.iE(eJ, jW[eJ], jG[eJ], jX[eJ], jY[eJ])) }, this.eZ = function(player, id) { - for (var eJ = jC - 1; 0 <= eJ; eJ--) - if (player === jD[eJ] && id === jT[eJ]) return void jX(eJ) - }, this.jY = function(player) { - for (var eJ = jC - 1; 0 <= eJ; eJ--) player === jD[eJ] && (aD.jZ(player, jU[eJ]), jX(eJ)) - }, this.hU = function(player, hf, ja) { - if (jS <= jC) return 0; - jD[jC] = player, jE[jC] = 0, jT[jC] = jR, jU[jC] = hf, jV[jC] = ja; - player = jR; - return jC++, jR = 2 * jS < ++jR ? 1 : jR, player - }, this.gI = function() { - if (!(h8 < 40 || 0 === jC)) { - var hd, fO, fP, eJ, fontSize, jf, hX, jg = h7 / h8, - jh = h9 / h8, - ji = (aL.gA + h7) / h8, - jj = (aL.gF + h9) / h8; - for (aZ.g5.textAlign(gJ, 1), aZ.g5.textBaseline(gJ, 1), hd = jC - 1; 0 <= hd; hd--) fO = a1.jk(jU[hd]), fP = a1.gH(jU[hd]), eJ = jD[hd], jg - 1 < fO && fO < ji && jh - 1 < fP && fP < jj && 0 !== a6.jP[eJ] && ((fontSize = Math.floor( - .94 * h8 * a5.jl(eJ))) < 6 || (fO = Math.floor(aL.gA * (fO + .5 - jg) / (ji - jg)), fP = Math.floor(aL.gF * (fP + .48 - jh) / (jj - jh)), gJ.font = aZ.g5.g6(1, fontSize), gJ.fillStyle = aa.jm, hX = a3.eR(eJ, a3.jn(eJ, jT[ - hd])), gJ.fillText(bA.dK.data[7].value ? aZ.jo.jp(hX) : a6.jq[eJ], fO, fP), (jf = Math.floor(.5 * fontSize)) < 6) || (gJ.font = aZ.g5.g6(1, jf), gJ.fillText(bA.dK.data[7].value ? a6.jq[eJ] : aZ.jo.jp(hX), fO, fP + Math + for (var eJ = jF - 1; 0 <= eJ; eJ--) + if (player === jG[eJ] && id === jW[eJ]) return void ja(eJ) + }, this.jb = function(player) { + for (var eJ = jF - 1; 0 <= eJ; eJ--) player === jG[eJ] && (aD.jc(player, jX[eJ]), ja(eJ)) + }, this.hX = function(player, hi, jd) { + if (jV <= jF) return 0; + jG[jF] = player, jH[jF] = 0, jW[jF] = jU, jX[jF] = hi, jY[jF] = jd; + player = jU; + return jF++, jU = 2 * jV < ++jU ? 1 : jU, player + }, this.gL = function() { + if (!(hB < 40 || 0 === jF)) { + var hg, fO, fP, eJ, fontSize, ji, ha, jj = hA / hB, + jk = hC / hB, + jl = (aL.gA + hA) / hB, + jm = (aL.gF + hC) / hB; + for (aZ.g5.textAlign(gM, 1), aZ.g5.textBaseline(gM, 1), hg = jF - 1; 0 <= hg; hg--) fO = a1.jn(jX[hg]), fP = a1.gK(jX[hg]), eJ = jG[hg], jj - 1 < fO && fO < jl && jk - 1 < fP && fP < jm && 0 !== a6.jS[eJ] && ((fontSize = Math.floor( + .94 * hB * a5.jo(eJ))) < 6 || (fO = Math.floor(aL.gA * (fO + .5 - jj) / (jl - jj)), fP = Math.floor(aL.gF * (fP + .48 - jk) / (jm - jk)), gM.font = aZ.g5.g6(1, fontSize), gM.fillStyle = aa.jp, ha = a3.eR(eJ, a3.jq(eJ, jW[ + hg])), gM.fillText(bA.dK.data[7].value ? aZ.jr.js(ha) : a6.jt[eJ], fO, fP), (ji = Math.floor(.5 * fontSize)) < 6) || (gM.font = aZ.g5.g6(1, ji), gM.fillText(bA.dK.data[7].value ? a6.jt[eJ] : aZ.jr.js(ha), fO, fP + Math .floor(.82 * fontSize)))) } } } function bT() { - var jr, js, jt, ju, jv, jw, jx, jy, jz, k0, k1, k2, k3, k4 = !1, - k5 = !1; + var ju, jv, jw, jx, jy, jz, k0, k1, k2, k3, k4, k5, k6, k7 = !1, + k8 = !1; - function k6(k7) { - k2 = b4.dc, jt = ju = js = 0, jv = (k3 = 33) / k7, jr = 1 / (k7 / k3 / 4), jw = (aL.gA / 2 + h7) / h8, jx = (aL.gF / 2 + h9) / h8, jy = h8 + function k9(kA) { + k5 = b4.dc, jw = jx = jv = 0, jy = (k6 = 33) / kA, ju = 1 / (kA / k6 / 4), jz = (aL.gA / 2 + hA) / hB, k0 = (aL.gF / 2 + hC) / hB, k1 = hB } - function kK(kM) { - Math.abs(Math.log(k1 / jy)) < .125 && (k1 = kM * jy) + function kN(kP) { + Math.abs(Math.log(k4 / k1)) < .125 && (k4 = kP * k1) } - function kJ(jg, jh, ji, jj) { - jz = (jg + ji + 1) / 2, k0 = (jh + jj + 1) / 2; - ji = aL.gA / (ji - jg + 1), jg = aL.gF / (jj - jh + 1); - k1 = .9 * (ji < jg ? ji : jg) + function kM(jj, jk, jl, jm) { + k2 = (jj + jl + 1) / 2, k3 = (jk + jm + 1) / 2; + jl = aL.gA / (jl - jj + 1), jj = aL.gF / (jm - jk + 1); + k4 = .9 * (jl < jj ? jl : jj) } - this.k8 = function() { - return k4 - }, this.k9 = function() { - k6(1), this.kA(0, 0, aq.eE - 1, aq.eF - 1), b.fj || b.fS || this.kB(b.ea, 3e3, !0, .3) - }, this.kB = function(player, k7, kC, zoom) { - b.kD || k4 && !kC && k5 || 0 === a6.f5[player] || (q.kE = !1, k5 = kC, k6(k7), function(player) { - jz = (a6.hz[player] + a6.hy[player] + 1) / 2, k0 = (a6.i2[player] + a6.i1[player] + 1) / 2 + this.kB = function() { + return k7 + }, this.kC = function() { + k9(1), this.kD(0, 0, aq.eE - 1, aq.eF - 1), b.fj || b.fS || this.kE(b.ea, 3e3, !0, .3) + }, this.kE = function(player, kA, kF, zoom) { + b.kG || k7 && !kF && k8 || 0 === a6.f5[player] || (q.kH = !1, k8 = kF, k9(kA), function(player) { + k2 = (a6.i2[player] + a6.i1[player] + 1) / 2, k3 = (a6.i5[player] + a6.i4[player] + 1) / 2 }(player), function(zoom, player) { - var gy = a6.hy[player] - a6.hz[player] + 1, - player = a6.i1[player] - a6.i2[player] + 1, - hd = aL.gA / gy, - hm = aL.gF / player, - hd = (k1 = hd < hm ? hd : hm, 0 !== zoom ? zoom : gy < 20 && player < 20 ? .5 : .9); - k1 *= hd, kK(7 / 8) - }(zoom, player), k4 = !0, aC.kH()) - }, this.kI = function(k7) { - b.fS || b.kD || (q.kE = !1, k5 = !1, k6(k7), kJ(0, 0, aq.eE - 1, aq.eF - 1), kK(7 / 8), k4 = !0, aC.kH()) - }, this.kA = function(jg, jh, ji, jj) { - kJ(jg, jh, ji, jj), h8 = k1, q.kN(jz, aL.gA / 2), q.kO(k0, aL.gF / 2), az.kP() - }, this.kQ = function() { - return !(k4 && k5 || (k4 = !1)) - }, this.iB = function() { - var kT, kU, eo, kX; - k4 && (js < .5 ? ju < jv && (ju += jv * jr, jt = js) : 1 - jt < js && (ju = (ju -= jv * jr) < jv * jr ? jv * jr : ju), k2 = k2 >= b4.dc ? b4.dc - 1 : k2, eo = b4.dc - k2, js = 1e3 < eo || 1 < (js += ju * eo / k3) ? 1 : js, k2 = b4.dc, - eo = h8, kT = h7, kU = h9, eo = (h8 = jy * Math.pow(k1 / jy, js)) / eo, kX = 1 - (jy * Math.pow(k1 / jy, 1 - js) - jy) / (k1 - jy), q.kN(jw + kX * (jz - jw), aL.gA / 2), q.kO(jx + kX * (k0 - jx), aL.gF / 2), a5.zoom(eo, (kT * eo - - h7) / (1 - eo), (kU * eo - h9) / (1 - eo)), az.kP(), 1 <= js && (k4 = !1, b0.kY = !0), b4.d3 = !0) + var h1 = a6.i1[player] - a6.i2[player] + 1, + player = a6.i4[player] - a6.i5[player] + 1, + hg = aL.gA / h1, + hp = aL.gF / player, + hg = (k4 = hg < hp ? hg : hp, 0 !== zoom ? zoom : h1 < 20 && player < 20 ? .5 : .9); + k4 *= hg, kN(7 / 8) + }(zoom, player), k7 = !0, aC.kK()) + }, this.kL = function(kA) { + b.fS || b.kG || (q.kH = !1, k8 = !1, k9(kA), kM(0, 0, aq.eE - 1, aq.eF - 1), kN(7 / 8), k7 = !0, aC.kK()) + }, this.kD = function(jj, jk, jl, jm) { + kM(jj, jk, jl, jm), hB = k4, q.kQ(k2, aL.gA / 2), q.kR(k3, aL.gF / 2), az.kS() + }, this.kT = function() { + return !(k7 && k8 || (k7 = !1)) + }, this.iE = function() { + var kW, kX, eo, ka; + k7 && (jv < .5 ? jx < jy && (jx += jy * ju, jw = jv) : 1 - jw < jv && (jx = (jx -= jy * ju) < jy * ju ? jy * ju : jx), k5 = k5 >= b4.dc ? b4.dc - 1 : k5, eo = b4.dc - k5, jv = 1e3 < eo || 1 < (jv += jx * eo / k6) ? 1 : jv, k5 = b4.dc, + eo = hB, kW = hA, kX = hC, eo = (hB = k1 * Math.pow(k4 / k1, jv)) / eo, ka = 1 - (k1 * Math.pow(k4 / k1, 1 - jv) - k1) / (k4 - k1), q.kQ(jz + ka * (k2 - jz), aL.gA / 2), q.kR(k0 + ka * (k3 - k0), aL.gF / 2), a5.zoom(eo, (kW * eo - + hA) / (1 - eo), (kX * eo - hC) / (1 - eo)), az.kS(), 1 <= jv && (k7 = !1, b0.kb = !0), b4.d3 = !0) } } function bL() { - let iQ = aZ.color; - this.jm = iQ.kZ(0, 0, 0), this.ka = iQ.kb(0, 0, 0, .7), this.kc = iQ.kb(0, 0, 0, .5), this.kd = iQ.kb(0, 0, 0, .85), this.ke = iQ.kb(0, 0, 0, .75), this.kf = iQ.kb(0, 0, 0, .6), this.kg = iQ.kb(0, 0, 0, .35), this.gK = iQ.kZ(255, 255, 255), this - .kh = iQ.kb(255, 255, 255, .3), this.ki = iQ.kb(255, 255, 255, .6), this.kj = iQ.kb(255, 255, 255, .4), this.kk = iQ.kb(255, 255, 255, .25), this.kl = iQ.kb(255, 255, 255, .85), this.km = iQ.kb(255, 255, 255, .75), this.kn = iQ.kb(255, 255, - 255, .15), this.ko = iQ.kZ(128, 128, 128), this.kp = iQ.kb(64, 64, 64, .75), this.kq = iQ.kb(88, 88, 88, .83), this.kr = iQ.kb(60, 60, 60, .85), this.ks = iQ.kb(80, 60, 60, .85), this.kt = iQ.kZ(30, 255, 30), this.ku = iQ.kZ(0, 200, 0), - this.kv = iQ.kZ(128, 255, 128), this.kw = iQ.kb(10, 65, 10, .75), this.kx = iQ.kb(0, 255, 0, .6), this.ky = iQ.kb(0, 255, 0, .5), this.kz = iQ.kb(0, 200, 0, .5), this.l0 = iQ.kb(0, 100, 0, .75), this.l1 = iQ.kb(0, 60, 0, .8), this.l2 = iQ.kb( - 0, 255, 0, .3), this.l3 = iQ.kb(0, 180, 0, .6), this.l4 = iQ.kb(0, 120, 0, .85), this.l5 = iQ.kZ(0, 120, 0), this.l6 = iQ.kb(0, 70, 0, .85), this.l7 = iQ.kZ(255, 120, 120), this.l8 = iQ.kZ(255, 160, 160), this.l9 = iQ.kZ(255, 70, 70), - this.lA = iQ.kZ(230, 0, 0), this.lB = iQ.kb(220, 0, 0, .6), this.lC = iQ.kb(255, 100, 100, .8), this.lD = iQ.kb(100, 0, 0, .85), this.lE = iQ.kb(60, 0, 0, .85), this.lF = iQ.kb(200, 0, 0, .6), this.lG = iQ.kb(120, 0, 0, .85), this.lH = iQ.kZ( - 255, 70, 10), this.lI = iQ.kb(0, 60, 60, .85), this.lJ = iQ.kb(10, 60, 60, .9), this.lK = iQ.kb(0, 96, 96, .75), this.lL = iQ.kZ(160, 160, 255), this.lM = iQ.kb(0, 40, 90, .75), this.lN = iQ.kb(0, 0, 255, .6), this.lO = iQ.kZ(200, 200, - 255), this.lP = iQ.kZ(255, 120, 100), this.lQ = iQ.kb(255, 255, 0, .5), this.lR = iQ.kb(255, 255, 150, .2), this.lS = iQ.kZ(255, 255, 0), this.lT = iQ.kZ(255, 255, 200), this.lU = iQ.kb(200, 200, 0, .6), this.lV = iQ.kb(140, 120, 0, .75), - this.lW = iQ.kb(180, 160, 40, .75), this.lX = iQ.kb(70, 50, 20, .85), this.lY = iQ.kb(255, 140, 0, .75), this.lZ = iQ.kb(0, 0, 0, 0), iQ = null + let iT = aZ.color; + this.jp = iT.kc(0, 0, 0), this.kd = iT.ke(0, 0, 0, .7), this.kf = iT.ke(0, 0, 0, .5), this.kg = iT.ke(0, 0, 0, .85), this.kh = iT.ke(0, 0, 0, .75), this.ki = iT.ke(0, 0, 0, .6), this.kj = iT.ke(0, 0, 0, .35), this.gN = iT.kc(255, 255, 255), this + .kk = iT.ke(255, 255, 255, .3), this.kl = iT.ke(255, 255, 255, .6), this.km = iT.ke(255, 255, 255, .4), this.kn = iT.ke(255, 255, 255, .25), this.ko = iT.ke(255, 255, 255, .85), this.kp = iT.ke(255, 255, 255, .75), this.kq = iT.ke(255, 255, + 255, .15), this.kr = iT.kc(128, 128, 128), this.ks = iT.ke(64, 64, 64, .75), this.kt = iT.ke(88, 88, 88, .83), this.ku = iT.ke(60, 60, 60, .85), this.kv = iT.ke(80, 60, 60, .85), this.kw = iT.kc(30, 255, 30), this.kx = iT.kc(0, 200, 0), + this.ky = iT.kc(128, 255, 128), this.kz = iT.ke(10, 65, 10, .75), this.l0 = iT.ke(0, 255, 0, .6), this.l1 = iT.ke(0, 255, 0, .5), this.l2 = iT.ke(0, 200, 0, .5), this.l3 = iT.ke(0, 100, 0, .75), this.l4 = iT.ke(0, 60, 0, .8), this.l5 = iT.ke( + 0, 255, 0, .3), this.l6 = iT.ke(0, 180, 0, .6), this.l7 = iT.ke(0, 120, 0, .85), this.l8 = iT.kc(0, 120, 0), this.l9 = iT.ke(0, 70, 0, .85), this.lA = iT.kc(255, 120, 120), this.lB = iT.kc(255, 160, 160), this.lC = iT.kc(255, 70, 70), + this.lD = iT.kc(230, 0, 0), this.lE = iT.ke(220, 0, 0, .6), this.lF = iT.ke(255, 100, 100, .8), this.lG = iT.ke(100, 0, 0, .85), this.lH = iT.ke(60, 0, 0, .85), this.lI = iT.ke(200, 0, 0, .6), this.lJ = iT.ke(120, 0, 0, .85), this.lK = iT.kc( + 255, 70, 10), this.lL = iT.ke(0, 60, 60, .85), this.lM = iT.ke(10, 60, 60, .9), this.lN = iT.ke(0, 96, 96, .75), this.lO = iT.kc(160, 160, 255), this.lP = iT.ke(0, 40, 90, .75), this.lQ = iT.ke(0, 0, 255, .6), this.lR = iT.kc(200, 200, + 255), this.lS = iT.kc(255, 120, 100), this.lT = iT.ke(255, 255, 0, .5), this.lU = iT.ke(255, 255, 150, .2), this.lV = iT.kc(255, 255, 0), this.lW = iT.kc(255, 255, 200), this.lX = iT.ke(200, 200, 0, .6), this.lY = iT.ke(140, 120, 0, .75), + this.lZ = iT.ke(180, 160, 40, .75), this.la = iT.ke(70, 50, 20, .85), this.lb = iT.ke(255, 140, 0, .75), this.lc = iT.ke(0, 0, 0, 0), iT = null } function cJ() { - this.fk = new la, this.fU = new lb, this.lc = new ld, this.le = new lf, this.iU = new lg + this.fk = new ld, this.fU = new le, this.lf = new lg, this.lh = new li, this.iX = new lj } -function la() { +function ld() { this.fl = function(fe) { - b.is ? aX.lc.fl(b.ea, fe) : aO.lh.li(fe) - }, this.ft = function(h6, hW) { - l.lj(), b.is ? aX.lc.ft(b.ea, h6, hW) : aO.lh.lk(h6, hW) - }, this.ll = function(h6, lm) { - l.lj(), b.is ? aX.lc.ln(b.ea, h6, lm) : aO.lh.lo(h6, lm) - }, this.fq = function(h6, fe) { - b.is ? aX.lc.fq(b.ea, h6, fe) : al.fo.fp(b.ea, fe) && aO.lh.lp(h6, fe) - }, this.lq = function(lr, fe) { - b.is ? aX.lc.lq(b.ea, lr, fe) : al.fo.ls(b.ea, lr, fe) && aO.lh.lt(lr, fe) - }, this.lu = function(hW) { - b.is ? aX.lc.lu(b.ea, hW) : aO.lh.lv(hW) - }, this.lw = function(lx) { - b.is ? aX.lc.ly(b.ea, lx) : aO.lh.lz(lx) - }, this.m0 = function(m1) { - b.is ? aX.lc.m0(b.ea, m1) : aO.lh.m2(m1) - }, this.m3 = function() { - b.is ? aX.lc.m3(b.ea) : aO.lh.m4() + b.iv ? aX.lf.fl(b.ea, fe) : aO.lk.ll(fe) + }, this.ft = function(h9, hZ) { + l.lm(), b.iv ? aX.lf.ft(b.ea, h9, hZ) : aO.lk.ln(h9, hZ) + }, this.lo = function(h9, lp) { + l.lm(), b.iv ? aX.lf.lq(b.ea, h9, lp) : aO.lk.lr(h9, lp) + }, this.fq = function(h9, fe) { + b.iv ? aX.lf.fq(b.ea, h9, fe) : al.fo.fp(b.ea, fe) && aO.lk.ls(h9, fe) + }, this.lt = function(lu, fe) { + b.iv ? aX.lf.lt(b.ea, lu, fe) : al.fo.lv(b.ea, lu, fe) && aO.lk.lw(lu, fe) + }, this.lx = function(hZ) { + b.iv ? aX.lf.lx(b.ea, hZ) : aO.lk.ly(hZ) + }, this.lz = function(m0) { + b.iv ? aX.lf.m1(b.ea, m0) : aO.lk.m2(m0) + }, this.m3 = function(m4) { + b.iv ? aX.lf.m3(b.ea, m4) : aO.lk.m5(m4) + }, this.m6 = function() { + b.iv ? aX.lf.m6(b.ea) : aO.lk.m7() + } +} + +function lj() { + this.iY = function(player, lp, ha) { + aZ.fU.m8(player, ha, lp) && (a4.lo(player, lp), lp < b.ht) && aM.random() < aM.value(10) && (hU[lp] = 0) + }, this.m9 = function(player, lp, ha) { + aZ.fU.mA(ha, lp) && (aZ.fU.mB(lp, am.dj[0]), b2.mC(player, lp), a5.mD(lp, am.dj[0])) + } +} + +function le() { + this.mE = function(m0, player) { + l.lz(b.ea, player, m0), aO.lk.mF(m0, player) + }, this.mG = function(player) { + l.mH(player, 0), aO.lk.mI(player) + }, this.mJ = function(mK, player) { + l.mL(mK, player), aO.lk.mM(mK, player) + }, this.mN = function() { + b.iv || b.fS || aO.mO.mN() + } +} + +function li() { + this.iE = function(mP) { + var id, dt, kT; + for (af.ct(mP), af.g4 += 2, kT = 8 * af.size; af.g4 + 8 <= kT;) id = af.mQ(4), dt = af.mQ(9), 0 === id ? this.mR(id, dt, af.mQ(22)) : 1 === id ? this.mR(id, dt, af.mQ(10), af.mQ(10)) : 2 === id ? this.mR(id, dt, af.mQ(10), af.mQ(9)) : + 3 === id || 4 === id ? this.mR(id, dt, af.mQ(10), af.mQ(22)) : 5 === id || 6 === id ? this.mR(id, dt, af.mQ(10)) : 7 === id ? this.mR(id, dt, af.mQ(1)) : this.mR(id, dt) + }, this.mS = [], this.mT = function() { + for (var mV = 0, mW = 0, mX = 0, mY = 0, mZ = 0, ma = 0, eJ = 0; eJ < 512; eJ++) mV += a6.jS[eJ], mW += a6.f5[eJ], mX += a6.eb[eJ], mY += al.j4.mb[eJ]; + mZ += al.j4.mc, ma += iV, this.mS.push(((255 & mV + mW + mX + mY + mZ + ma) << 12) + ((3 & mV) << 10) + ((3 & mW) << 8) + ((3 & mX) << 6) + ((3 & mY) << 4) + ((3 & mZ) << 2) + (3 & ma)) + }, this.mR = function(id, dt, dv, dx) { + 0 === id ? aX.lf.fl(dt, dv) : 1 === id ? aX.lf.ft(dt, dv, dx) : 2 === id ? aX.lf.lq(dt, dv, dx) : 3 === id ? aX.lf.fq(dt, dv, dx) : 4 === id ? aX.lf.lt(dt, dv, dx) : 5 === id ? aX.lf.lx(dt, dv) : 6 === id ? aX.lf.m1(dt, dv) : 7 === id ? + aX.lf.m3(dt, dv) : 8 === id ? aX.lf.m6(dt) : aX.lf.md(dt) } } function lg() { - this.iV = function(player, lm, hX) { - aZ.fU.m5(player, hX, lm) && (a4.ll(player, lm), lm < b.hq) && aM.random() < aM.value(10) && (hR[lm] = 0) - }, this.m6 = function(player, lm, hX) { - aZ.fU.m7(hX, lm) && (aZ.fU.m8(lm, am.dj[0]), b2.m9(player, lm), a5.mA(lm, am.dj[0])) - } -} - -function lb() { - this.mB = function(lx, player) { - l.lw(b.ea, player, lx), aO.lh.mC(lx, player) - }, this.mD = function(player) { - l.mE(player, 0), aO.lh.mF(player) - }, this.mG = function(mH, player) { - l.mI(mH, player), aO.lh.mJ(mH, player) - }, this.mK = function() { - b.is || b.fS || aO.mL.mK() - } -} - -function lf() { - this.iB = function(mM) { - var id, dt, kQ; - for (af.ct(mM), af.g4 += 2, kQ = 8 * af.size; af.g4 + 8 <= kQ;) id = af.mN(4), dt = af.mN(9), 0 === id ? this.mO(id, dt, af.mN(22)) : 1 === id ? this.mO(id, dt, af.mN(10), af.mN(10)) : 2 === id ? this.mO(id, dt, af.mN(10), af.mN(9)) : - 3 === id || 4 === id ? this.mO(id, dt, af.mN(10), af.mN(22)) : 5 === id || 6 === id ? this.mO(id, dt, af.mN(10)) : 7 === id ? this.mO(id, dt, af.mN(1)) : this.mO(id, dt) - }, this.mP = [], this.mQ = function() { - for (var mS = 0, mT = 0, mU = 0, mV = 0, mW = 0, mX = 0, eJ = 0; eJ < 512; eJ++) mS += a6.jP[eJ], mT += a6.f5[eJ], mU += a6.eb[eJ], mV += al.j1.mY[eJ]; - mW += al.j1.mZ, mX += iS, this.mP.push(((255 & mS + mT + mU + mV + mW + mX) << 12) + ((3 & mS) << 10) + ((3 & mT) << 8) + ((3 & mU) << 6) + ((3 & mV) << 4) + ((3 & mW) << 2) + (3 & mX)) - }, this.mO = function(id, dt, dv, dx) { - 0 === id ? aX.lc.fl(dt, dv) : 1 === id ? aX.lc.ft(dt, dv, dx) : 2 === id ? aX.lc.ln(dt, dv, dx) : 3 === id ? aX.lc.fq(dt, dv, dx) : 4 === id ? aX.lc.lq(dt, dv, dx) : 5 === id ? aX.lc.lu(dt, dv) : 6 === id ? aX.lc.ly(dt, dv) : 7 === id ? - aX.lc.m0(dt, dv) : 8 === id ? aX.lc.m3(dt) : aX.lc.ma(dt) - } -} - -function ld() { this.fl = function(player, fe) { - aZ.fU.fV(0) && aZ.fU.fW(player) && ak.hA(fe) && (aY.mb.mc(0, player, fe), b.md.hT(player, fe)) - }, this.ft = function(player, h6, hW) { - a6.me[player]++, aZ.fU.fV(1) && aZ.fU.fW(player) && aZ.fU.mf(player, hW) && aZ.fU.mg(player, h6, 12, b.eY) && aZ.fU.mh(player, hW) && ((hW = a3.ho(player, am.dp[0])) || a3.i9(player)) && hJ(player, hW) && (aY.mb.mc(1, player, h6, am.dp[ - 0]), aZ.fU.mi(player), b2.mj(player, h6), hP(player)) - }, this.ln = function(player, h6, lm) { - aZ.fU.fV(1) && aZ.fU.fW(player) && b.hQ && aZ.fU.mf(player, lm) && aZ.fU.mk(player, lm) && aZ.fU.m5(player, aZ.fU.h5(player, h6), lm) && (aY.mb.mc(2, player, h6, lm), a4.ll(player, lm)) - }, this.fq = function(player, h6, fe) { - aZ.fU.fV(1) && aZ.fU.fW(player) && ak.hA(fe) && al.j1.mZ !== al.j1.ml && al.j1.mY[player] !== al.j1.mm && 0 !== a6.ey[player].length && aZ.fU.mg(player, h6, 32, 16) && al.mn.mo(player, fe) && (aY.mb.mc(3, player, h6, fe), aZ.fU.mi( - player), al.j1.mp(player)) - }, this.lq = function(player, lr, fe) { - aZ.fU.fV(1) && aZ.fU.fW(player) && ak.hA(fe) && al.fo.mq(player, lr) && al.mn.mr(fe) && (aY.mb.mc(4, player, lr, fe), aZ.fU.ms(player, 8), al.j1.lq()) - }, this.lu = function(player, hW) { - aZ.fU.fV(1) && aZ.fU.fW(player) && (hW = Math.min(hW, b.ej), a3.ho(player, hW)) && (aY.mb.mc(5, player, hW), a3.mt(player, hW)) - }, this.ly = function(player, lx) { - (aZ.fU.fV(1) || aZ.fU.fV(2)) && aZ.fU.fW(player) && (lx = aj.mu(lx, 0, 1023), aY.mb.mc(6, player, lx), a5.mv(player, 0, lx)) - }, this.m0 = function(player, m1) { - aZ.fU.fV(1) && aZ.fU.fW(player) && (aY.mb.mc(7, player, m1), aJ.mw(player, m1)) - }, this.m3 = function(player) { - (aZ.fU.fV(0) || aZ.fU.fV(1)) && aZ.fU.fW(player) && ao.m3(player) && aY.mb.mc(8, player) - }, this.ma = function(player) { - ao.ma(player), aY.mb.mc(9, player) + aZ.fU.fV(0) && aZ.fU.fW(player) && ak.hD(fe) && (aY.me.mf(0, player, fe), b.mg.hW(player, fe)) + }, this.ft = function(player, h9, hZ) { + a6.mh[player]++, aZ.fU.fV(1) && aZ.fU.fW(player) && aZ.fU.mi(player, hZ) && aZ.fU.mj(player, h9, 12, b.eY) && aZ.fU.mk(player, hZ) && ((hZ = a3.hr(player, am.dp[0])) || a3.iC(player)) && hM(player, hZ) && (aY.me.mf(1, player, h9, am.dp[ + 0]), aZ.fU.ml(player), b2.mm(player, h9), hS(player)) + }, this.lq = function(player, h9, lp) { + aZ.fU.fV(1) && aZ.fU.fW(player) && b.hT && aZ.fU.mi(player, lp) && aZ.fU.mn(player, lp) && aZ.fU.m8(player, aZ.fU.h8(player, h9), lp) && (aY.me.mf(2, player, h9, lp), a4.lo(player, lp)) + }, this.fq = function(player, h9, fe) { + aZ.fU.fV(1) && aZ.fU.fW(player) && ak.hD(fe) && al.j4.mc !== al.j4.mo && al.j4.mb[player] !== al.j4.mp && 0 !== a6.ey[player].length && aZ.fU.mj(player, h9, 32, 16) && al.mq.mr(player, fe) && (aY.me.mf(3, player, h9, fe), aZ.fU.ml( + player), al.j4.ms(player)) + }, this.lt = function(player, lu, fe) { + aZ.fU.fV(1) && aZ.fU.fW(player) && ak.hD(fe) && al.fo.mt(player, lu) && al.mq.mu(fe) && (aY.me.mf(4, player, lu, fe), aZ.fU.mv(player, 8), al.j4.lt()) + }, this.lx = function(player, hZ) { + aZ.fU.fV(1) && aZ.fU.fW(player) && (hZ = Math.min(hZ, b.ej), a3.hr(player, hZ)) && (aY.me.mf(5, player, hZ), a3.mw(player, hZ)) + }, this.m1 = function(player, m0) { + (aZ.fU.fV(1) || aZ.fU.fV(2)) && aZ.fU.fW(player) && (m0 = aj.mx(m0, 0, 1023), aY.me.mf(6, player, m0), a5.my(player, 0, m0)) + }, this.m3 = function(player, m4) { + aZ.fU.fV(1) && aZ.fU.fW(player) && (aY.me.mf(7, player, m4), aJ.mz(player, m4)) + }, this.m6 = function(player) { + (aZ.fU.fV(0) || aZ.fU.fV(1)) && aZ.fU.fW(player) && ao.m6(player) && aY.me.mf(8, player) + }, this.md = function(player) { + ao.md(player), aY.me.mf(9, player) } } -function mx() { - var mz; - this.my = [], this.mz = document.createElement("div"), this.n0 = function(g3) { +function n0() { + var n2; + this.n1 = [], this.n2 = document.createElement("div"), this.n3 = function(g3) { var title = document.createElement("h2"); - title.textContent = g3, title.style.margin = "0", title.style.marginBottom = "0.6em", title.style.fontSize = "1.4em", title.style.overflowWrap = "break-word", this.mz.appendChild(title) - }, this.n1 = function(g3) { - var n2 = document.createElement("p"); - return n2.textContent = g3, n2.style.fontSize = "0.75em", n2.style.lineHeight = "1.2em", n2.style.marginBottom = "0", this.mz.appendChild(n2), n2 - }, this.n3 = function(n4, fontSize = "1em") { - var mz = document.createElement("div"); - mz.innerHTML = n4, mz.style.fontSize = fontSize, mz.style.lineHeight = "1.2em", this.mz.appendChild(mz) - }, this.n5 = function(n6) { - for (var n7 = n6.n7, ef = n7.length, eJ = 0; eJ < ef; eJ++) this.mz.appendChild(n7[eJ]) + title.textContent = g3, title.style.margin = "0", title.style.marginBottom = "0.6em", title.style.fontSize = "1.4em", title.style.overflowWrap = "break-word", this.n2.appendChild(title) + }, this.n4 = function(g3) { + var n5 = document.createElement("p"); + return n5.textContent = g3, n5.style.fontSize = "0.75em", n5.style.lineHeight = "1.2em", n5.style.marginBottom = "0", this.n2.appendChild(n5), n5 + }, this.n6 = function(n7, fontSize = "1em") { + var n2 = document.createElement("div"); + n2.innerHTML = n7, n2.style.fontSize = fontSize, n2.style.lineHeight = "1.2em", this.n2.appendChild(n2) }, this.n8 = function(n9) { - this.my.push(n9), this.mz.appendChild(n9.dI) + for (var nA = n9.nA, ef = nA.length, eJ = 0; eJ < ef; eJ++) this.n2.appendChild(nA[eJ]) + }, this.nB = function(nC) { + this.n1.push(nC), this.n2.appendChild(nC.dI) }, this.resize = function() { - for (var ef = this.my.length, eJ = 0; eJ < ef; eJ++) this.my[eJ].resize && this.my[eJ].resize() - }, (mz = this.mz).style.position = "absolute", mz.style.height = "auto", mz.style.padding = "0.5em" + for (var ef = this.n1.length, eJ = 0; eJ < ef; eJ++) this.n1[eJ].resize && this.n1[eJ].resize() + }, (n2 = this.n2).style.position = "absolute", n2.style.height = "auto", n2.style.padding = "0.5em" } -function nA(nB, nC) { - var eJ, mz = document.createElement("div"); +function nD(nE, nF) { + var eJ, n2 = document.createElement("div"); - function nI() { - var eJ, nJ, gF, en, eo, nF = aL.nK * mz.offsetWidth, - nL = new Float64Array(function(nF) { - var gA = .25 * aZ.g5.nG(.6) * aL.g1; - return Math.max(Math.floor(nF / gA), 1) - }(nF)), - nM = b1.nM, - nN = (nF - (nL.length + 1) * b1.gap) / (nL.length * aL.nK); - for (nL.fill(nM), eJ = 0; eJ < nC.length; eJ++) nJ = (eo = nC[eJ].mz).style, gF = Math.min(...nL), en = nL.indexOf(gF), nJ.top = aZ.g5.nO(gF), nJ.left = aZ.g5.nO(nM + en * (nN + nM)), nJ.width = aZ.g5.nO(nN), aZ.g5.nP(eo, 5), nL[en] += eo - .offsetHeight + 3 * nM; - mz.style.height = aZ.g5.nO(Math.max(...nL) - 2 * nM) + function nL() { + var eJ, nM, gF, en, eo, nI = aL.nN * n2.offsetWidth, + nO = new Float64Array(function(nI) { + var gA = .25 * aZ.g5.nJ(.6) * aL.g1; + return Math.max(Math.floor(nI / gA), 1) + }(nI)), + nP = b1.nP, + nQ = (nI - (nO.length + 1) * b1.gap) / (nO.length * aL.nN); + for (nO.fill(nP), eJ = 0; eJ < nF.length; eJ++) nM = (eo = nF[eJ].n2).style, gF = Math.min(...nO), en = nO.indexOf(gF), nM.top = aZ.g5.nR(gF), nM.left = aZ.g5.nR(nP + en * (nQ + nP)), nM.width = aZ.g5.nR(nQ), aZ.g5.nS(eo, 5), nO[en] += eo + .offsetHeight + 3 * nP; + n2.style.height = aZ.g5.nR(Math.max(...nO) - 2 * nP) } - for (this.nD = nC, this.resize = function() { + for (this.nG = nF, this.resize = function() { var eJ; - for (eJ = 0; eJ < nC.length; eJ++) nC[eJ].resize(); - nI(), nI() - }, mz.style.width = "100%", mz.style.maxWidth = "100%", nB.style.lineHeight = "1.5em", nB.style.overflowX = "hidden", nB.style.overflowY = "auto", eJ = 0; eJ < nC.length; eJ++) mz.appendChild(nC[eJ].mz); - nB.appendChild(mz) + for (eJ = 0; eJ < nF.length; eJ++) nF[eJ].resize(); + nL(), nL() + }, n2.style.width = "100%", n2.style.maxWidth = "100%", nE.style.lineHeight = "1.5em", nE.style.overflowX = "hidden", nE.style.overflowY = "auto", eJ = 0; eJ < nF.length; eJ++) n2.appendChild(nF[eJ].n2); + nE.appendChild(n2) } -function nQ(title, nR, backgroundColor = aa.kd) { - let nS = document.createElement("button"); - this.button = nS, this.nT = nR; - let nU; +function nT(title, nU, backgroundColor = aa.kg) { + let nV = document.createElement("button"); + this.button = nV, this.nW = nU; + let nX; - function nW() { - var nZ = aZ.color.na(nU); - 0 < nZ[0] && nZ[0] < 255 && nZ[0] === nZ[1] && nZ[0] === nZ[2] || (this.style.backgroundColor = aZ.color.nW(nU, 50)) + function nZ() { + var nc = aZ.color.nd(nX); + 0 < nc[0] && nc[0] < 255 && nc[0] === nc[1] && nc[0] === nc[2] || (this.style.backgroundColor = aZ.color.nZ(nX, 50)) } - function nY() { - this.style.backgroundColor = nU + function nb() { + this.style.backgroundColor = nX } - function nX() { - this.style.backgroundColor = nU, this.blur() + function na() { + this.style.backgroundColor = nX, this.blur() } var self; - this.nV = function(iQ) { - nU = iQ, nS.style.backgroundColor = iQ - }, self = this, nS.innerHTML = title, nS.style.color = aa.gK, nS.style.userSelect = "none", nS.style.outline = "none", nS.style.overflowWrap = "break-word", self.nV(backgroundColor), nS.style.border = "none", nS.style.font = "inherit", nS - .style.fontSize = "1em", nS.style.padding = "0em 0.3em", nS.onclick = nR, nS.addEventListener("mouseover", nW), nS.addEventListener("mouseout", nX), nS.addEventListener("focus", nW), nS.addEventListener("blur", nY) + this.nY = function(iT) { + nX = iT, nV.style.backgroundColor = iT + }, self = this, nV.innerHTML = title, nV.style.color = aa.gN, nV.style.userSelect = "none", nV.style.outline = "none", nV.style.overflowWrap = "break-word", self.nY(backgroundColor), nV.style.border = "none", nV.style.font = "inherit", nV + .style.fontSize = "1em", nV.style.padding = "0em 0.3em", nV.onclick = nU, nV.addEventListener("mouseover", nZ), nV.addEventListener("mouseout", na), nV.addEventListener("focus", nZ), nV.addEventListener("blur", nb) } -function nb(nc, nB) { - var mz, eJ; +function ne(nf, nE) { + var n2, eJ; for (this.resize = function() { - for (var eJ = 0; eJ < nc.length; eJ++) aZ.g5.nP(nc[eJ].button); - mz.style.gap = mz.style.padding = aZ.g5.nO(b1.nM) - }, (mz = document.createElement("div")).style.display = "grid", mz.style.gridTemplateColumns = "repeat(auto-fill, minmax(9.5em, 1fr))", mz.style.overflowY = "auto", mz.style.gridAutoRows = "5.3em", mz.style.maxHeight = "100%", eJ = 0; eJ < nc - .length; eJ++) nc[eJ].button.style.fontSize = "1.2em", mz.appendChild(nc[eJ].button); - nB.appendChild(mz) + for (var eJ = 0; eJ < nf.length; eJ++) aZ.g5.nS(nf[eJ].button); + n2.style.gap = n2.style.padding = aZ.g5.nR(b1.nP) + }, (n2 = document.createElement("div")).style.display = "grid", n2.style.gridTemplateColumns = "repeat(auto-fill, minmax(9.5em, 1fr))", n2.style.overflowY = "auto", n2.style.gridAutoRows = "5.3em", n2.style.maxHeight = "100%", eJ = 0; eJ < nf + .length; eJ++) nf[eJ].button.style.fontSize = "1.2em", n2.appendChild(nf[eJ].button); + nE.appendChild(n2) } -function ne(nf, ng, nh = .5) { +function nh(ni, nj, nk = .5) { this.fO = 0, this.fP = 0, this.gA = 0, this.gF = 0, this.resize = function() { - this.gF = Math.min(aZ.g5.nG(nh) * nf[1] * aL.g1, aL.gF - 2 * b1.gap), this.gA = Math.min(this.gF * (nf[0] / nf[1]), aL.gA - 2 * b1.gap), this.gF = nf[1] * this.gA / nf[0], this.fO = b1.gap + ng[0] * (aL.gA - this.gA - 2 * b1.gap), this - .fP = b1.gap + ng[1] * (aL.gF - this.gF - 2 * b1.gap) - }, this.ni = function() { + this.gF = Math.min(aZ.g5.nJ(nk) * ni[1] * aL.g1, aL.gF - 2 * b1.gap), this.gA = Math.min(this.gF * (ni[0] / ni[1]), aL.gA - 2 * b1.gap), this.gF = ni[1] * this.gA / ni[0], this.fO = b1.gap + nj[0] * (aL.gA - this.gA - 2 * b1.gap), this + .fP = b1.gap + nj[1] * (aL.gF - this.gF - 2 * b1.gap) + }, this.nl = function() { return this.fO + .5 * this.gA } } -function nj(nk, title = aW.nl[121], nT = function() {}) { +function nm(nn, title = aW.no[121], nW = function() {}) { function click() { - var value = 1 - nk.value; - this.textContent = (value ? "🟢 " : "⚪ ") + title, bA.nm.nn(nk.g4, value), nT(value) + var value = 1 - nn.value; + this.textContent = (value ? "🟢 " : "⚪ ") + title, bA.np.nq(nn.g4, value), nW(value) } var dI; - this.dI = document.createElement("p"), (dI = this.dI).textContent = (nk.value ? "🟢 " : "⚪ ") + title, dI.style.margin = "0", dI.style.marginBottom = "0.5em", dI.style.cursor = "pointer", dI.addEventListener("click", click) + this.dI = document.createElement("p"), (dI = this.dI).textContent = (nn.value ? "🟢 " : "⚪ ") + title, dI.style.margin = "0", dI.style.marginBottom = "0.5em", dI.style.cursor = "pointer", dI.addEventListener("click", click) } -function no(nB, n4) { - var mz = document.createElement("div"); - this.np = mz, this.resize = function() { - mz.style.padding = aZ.g5.nO(b1.nM), mz.style.lineHeight = aZ.g5.nO(aZ.g5.nq(.035)) - }, nB.style.overflowX = "hidden", nB.style.overflowY = "auto", mz.innerHTML = n4, nB.appendChild(mz) +function nr(nE, n7) { + var n2 = document.createElement("div"); + this.ns = n2, this.resize = function() { + n2.style.padding = aZ.g5.nR(b1.nP), n2.style.lineHeight = aZ.g5.nR(aZ.g5.nt(.035)) + }, nE.style.overflowX = "hidden", nE.style.overflowY = "auto", n2.innerHTML = n7, nE.appendChild(n2) } -function nr(ns) { - var mz = document.createElement("div"); - this.dI = mz, this.nt = ns, this.resize = function() { - for (var ef = ns.length, eJ = 1; eJ < ef; eJ++) aZ.g5.nP(ns[eJ], 4) +function nu(nv) { + var n2 = document.createElement("div"); + this.dI = n2, this.nw = nv, this.resize = function() { + for (var ef = nv.length, eJ = 1; eJ < ef; eJ++) aZ.g5.nS(nv[eJ], 4) }; - var eJ, ef = ns.length; - for (mz.style.width = "100%", mz.style.height = "2.7em", mz.style.marginTop = "0.6em", mz.style.border = "inherit", eJ = 0; eJ < ef; eJ++) ns[eJ].style.verticalAlign = "top", ns[eJ].style.width = (100 / ef).toFixed(2) + "%", ns[eJ].style.height = - "100%", ns[eJ].style.fontSize = "0.75em", mz.appendChild(ns[eJ]) + var eJ, ef = nv.length; + for (n2.style.width = "100%", n2.style.height = "2.7em", n2.style.marginTop = "0.6em", n2.style.border = "inherit", eJ = 0; eJ < ef; eJ++) nv[eJ].style.verticalAlign = "top", nv[eJ].style.width = (100 / ef).toFixed(2) + "%", nv[eJ].style.height = + "100%", nv[eJ].style.fontSize = "0.75em", n2.appendChild(nv[eJ]) } -function nu(nk) { +function nx(nn, type = "text") { var dI; - this.dI = document.createElement("input"), (dI = this.dI).type = "text", dI.id = "input" + nk.title, dI.value = nk.value, dI.style.width = "100%", dI.style.userSelect = "none", dI.style.outline = "none", dI.style.resize = "none", dI.style - .border = "inherit", dI.style.font = "inherit", dI.style.color = aa.gK, dI.style.backgroundColor = aa.ka, dI.style.fontSize = "1em", dI.style.padding = "0.1em 0.2em", -1 !== nk.g4 && (dI.addEventListener("blur", function() { - bA.nm.nn(nk.g4, dI.value.trim()) + this.dI = document.createElement("input"), (dI = this.dI).type = type, dI.id = "input" + nn.title, dI.value = nn.value, dI.style.width = "100%", dI.style.userSelect = "none", dI.style.outline = "none", dI.style.resize = "none", dI.style.border = + "inherit", dI.style.font = "inherit", dI.style.color = aa.gN, dI.style.backgroundColor = aa.kd, dI.style.fontSize = "1em", dI.style.padding = "0.1em 0.2em", -1 !== nn.g4 && (dI.addEventListener("blur", function() { + bA.np.nq(nn.g4, dI.value.trim()) }), dI.addEventListener("keypress", function(event) { - "Enter" === event.key && (event.preventDefault(), bA.nm.nn(nk.g4, dI.value.trim())) + "Enter" === event.key && (event.preventDefault(), bA.np.nq(nn.g4, dI.value.trim())) })) } -function nv(nk) { +function ny(nn) { var dI; - this.dI = document.createElement("input"), (dI = this.dI).type = "color", dI.id = "input" + nk.title, dI.value = aZ.color.nw(aZ.color.nx(bA.j1.ny())), dI.style.width = "100%", dI.style.userSelect = "none", dI.style.outline = "none", dI.style - .resize = "none", dI.style.border = "inherit", dI.style.font = "inherit", dI.style.color = aa.gK, dI.style.backgroundColor = aa.ka, dI.style.fontSize = "2em", dI.style.height = "1em", dI.style.padding = "0", dI.addEventListener("input", + this.dI = document.createElement("input"), (dI = this.dI).type = "color", dI.id = "input" + nn.title, dI.value = aZ.color.nz(aZ.color.o0(bA.j4.o1())), dI.style.width = "100%", dI.style.userSelect = "none", dI.style.outline = "none", dI.style + .resize = "none", dI.style.border = "inherit", dI.style.font = "inherit", dI.style.color = aa.gN, dI.style.backgroundColor = aa.kd, dI.style.fontSize = "2em", dI.style.height = "1em", dI.style.padding = "0", dI.addEventListener("input", function() { - bA.nm.nn(nk.g4, aZ.color.nz(aZ.color.na(aZ.color.o0(dI.value)))) + bA.np.nq(nn.g4, aZ.color.o2(aZ.color.nd(aZ.color.o3(dI.value)))) }) } -function o1(nB, o2, h6) { - var o3, eJ, o4 = new Array(o2.length), - nC = new Array(o2.length); +function o4(nE, o5, h9) { + var o6, eJ, o7 = new Array(o5.length), + nF = new Array(o5.length); for (this.resize = function() { - for (var ef = o2.length, eJ = 0; eJ < ef; eJ++) 0 < eJ && aZ.g5.nP(o4[eJ], 8) - }, o3 = document.createElement("div"), nB.style.overflowX = "hidden", nB.style.overflowY = "auto", ! function() { - var eJ, eo, ef = o2.length; + for (var ef = o5.length, eJ = 0; eJ < ef; eJ++) 0 < eJ && aZ.g5.nS(o7[eJ], 8) + }, o6 = document.createElement("div"), nE.style.overflowX = "hidden", nE.style.overflowY = "auto", ! function() { + var eJ, eo, ef = o5.length; for (eJ = 0; eJ < ef; eJ++) { - o4[eJ] = document.createElement("div"), o4[eJ].style.display = "flex", o4[eJ].style.width = "100%", o4[eJ].style.height = "2.5em", o4[eJ].style.backgroundColor = eJ % 2 == 0 ? aa.kp : aa.kg, nC[eJ] = new Array(o2[0].length); - for (let hd = 0; hd < o2[0].length; hd++) nC[eJ][hd] = eo = document.createElement("div"), eo.style.display = "flex", eo.style.width = "100%", eo.style.height = "100%", eo.style.justifyContent = "center", eo.style.alignItems = - "center", eo.innerHTML = o2[eJ][hd], 0 < hd && aZ.g5.nP(eo, 4), o4[eJ].appendChild(eo) + o7[eJ] = document.createElement("div"), o7[eJ].style.display = "flex", o7[eJ].style.width = "100%", o7[eJ].style.height = "2.5em", o7[eJ].style.backgroundColor = eJ % 2 == 0 ? aa.ks : aa.kj, nF[eJ] = new Array(o5[0].length); + for (let hg = 0; hg < o5[0].length; hg++) nF[eJ][hg] = eo = document.createElement("div"), eo.style.display = "flex", eo.style.width = "100%", eo.style.height = "100%", eo.style.justifyContent = "center", eo.style.alignItems = + "center", eo.innerHTML = o5[eJ][hg], 0 < hg && aZ.g5.nS(eo, 4), o7[eJ].appendChild(eo) } - }(), eJ = 0; eJ < o2.length; eJ++) o3.appendChild(o4[eJ]); - nB.appendChild(o3) + }(), eJ = 0; eJ < o5.length; eJ++) o6.appendChild(o7[eJ]); + nE.appendChild(o6) } -function o6(nk, o7 = function() {}) { - this.n7 = []; - let o8 = this.n7; +function o9(nn, oA = function() {}) { + this.nA = []; + let oB = this.nA; function click() { - for (let eJ = 0; eJ < o8.length; eJ++) o8[eJ].textContent = o8[eJ].textContent.replace("🟢", "⚪"); + for (let eJ = 0; eJ < oB.length; eJ++) oB[eJ].textContent = oB[eJ].textContent.replace("🟢", "⚪"); this.textContent = this.textContent.replace("⚪", "🟢"); var g4 = parseInt(this.name); - bA.nm.nn(nk.g4, g4), o7(g4) + bA.np.nq(nn.g4, g4), oA(g4) } - var o9, ef = nk.oA.length; - for (let eJ = 0; eJ < ef; eJ++)(o9 = document.createElement("p")).textContent = "⚪ " + nk.oA[eJ], o9.style.margin = "0", o9.name = "" + eJ, o9.style.cursor = "pointer", o9.style.fontSize = "1em", o9.addEventListener("click", click), o8.push(o9); - o8[nk.value].textContent = o8[nk.value].textContent.replace("⚪", "🟢") + var oC, ef = nn.oD.length; + for (let eJ = 0; eJ < ef; eJ++)(oC = document.createElement("p")).textContent = "⚪ " + nn.oD[eJ], oC.style.margin = "0", oC.name = "" + eJ, oC.style.cursor = "pointer", oC.style.fontSize = "1em", oC.addEventListener("click", click), oB.push(oC); + oB[nn.value].textContent = oB[nn.value].textContent.replace("⚪", "🟢") } -function oB(title, oC) { - var eJ, o3 = document.createElement("div"), - oD = document.createElement("div"), - oE = document.createElement("div"), - oF = document.createElement("div"); - for (this.oG = oE, this.show = function() { - document.body.appendChild(o3) - }, this.oK = function() { - document.body.removeChild(o3) +function oE(title, oF) { + var eJ, o6 = document.createElement("div"), + oG = document.createElement("div"), + oH = document.createElement("div"), + oI = document.createElement("div"); + for (this.oJ = oH, this.show = function() { + document.body.appendChild(o6) + }, this.oN = function() { + document.body.removeChild(o6) }, this.resize = function() { - var eJ, dI, ef = oC.length, - oL = aZ.g5.nq(.1), - oM = aZ.g5.nq(.08 + .04 * (aL.oN < 1)); - for (oD.style.height = aZ.g5.nO(oL), aZ.g5.nP(oD, 2), oF.style.top = aZ.g5.nO(aL.gF / aL.nK - oM), oF.style.height = aZ.g5.nO(oM), aZ.g5.nP(oF, 8), oE.style.top = aZ.g5.nO(oL), oE.style.height = oE.style.maxHeight = aZ.g5.nO(aL.gF / aL - .nK - oL - oM), oF.style.font = oD.style.font = aZ.g5.g6(0, aZ.g5.nq(.02, .25)), oE.style.font = aZ.g5.g6(0, aZ.g5.nq(.02, .4)), eJ = 0; eJ < ef; eJ++)(dI = oC[eJ].button).style.top = "0", dI.style.left = (100 * eJ / ef).toFixed( - 2) + "%", dI.style.width = (100 / ef).toFixed(2) + "%", dI.style.height = "100%", 0 < eJ && aZ.g5.nP(dI, 4) - }, o3.style.position = "absolute", o3.style.top = "0", o3.style.left = "0", o3.style.width = "100%", o3.style.height = "100%", oD.style.position = "absolute", oD.style.top = "0", oD.style.left = "0", oD.style.width = "100%", oD.style - .display = "flex", oD.style.backgroundColor = aa.kd, oF.style.position = "absolute", oF.style.left = "0", oF.style.width = "100%", oE.style.position = "absolute", oE.style.width = "100%", oE.style.backgroundColor = aa.kd, ! function() { + var eJ, dI, ef = oF.length, + oO = aZ.g5.nt(.1), + oP = aZ.g5.nt(.08 + .04 * (aL.oQ < 1)); + for (oG.style.height = aZ.g5.nR(oO), aZ.g5.nS(oG, 2), oI.style.top = aZ.g5.nR(aL.gF / aL.nN - oP), oI.style.height = aZ.g5.nR(oP), aZ.g5.nS(oI, 8), oH.style.top = aZ.g5.nR(oO), oH.style.height = oH.style.maxHeight = aZ.g5.nR(aL.gF / aL + .nN - oO - oP), oI.style.font = oG.style.font = aZ.g5.g6(0, aZ.g5.nt(.02, .25)), oH.style.font = aZ.g5.g6(0, aZ.g5.nt(.02, .4)), eJ = 0; eJ < ef; eJ++)(dI = oF[eJ].button).style.top = "0", dI.style.left = (100 * eJ / ef).toFixed( + 2) + "%", dI.style.width = (100 / ef).toFixed(2) + "%", dI.style.height = "100%", 0 < eJ && aZ.g5.nS(dI, 4) + }, o6.style.position = "absolute", o6.style.top = "0", o6.style.left = "0", o6.style.width = "100%", o6.style.height = "100%", oG.style.position = "absolute", oG.style.top = "0", oG.style.left = "0", oG.style.width = "100%", oG.style + .display = "flex", oG.style.backgroundColor = aa.kg, oI.style.position = "absolute", oI.style.left = "0", oI.style.width = "100%", oH.style.position = "absolute", oH.style.width = "100%", oH.style.backgroundColor = aa.kg, ! function() { var eJ; - for (eJ = 0; eJ < oC.length; eJ++) oC[eJ].button.style.position = "absolute", oC[eJ].button.style.fontSize = "1.2em" - }(), eJ = 0; eJ < oC.length; eJ++) oF.appendChild(oC[eJ].button); - oD.appendChild(function() { - var oJ = document.createElement("h1"); - return oJ.textContent = title, oJ.style.margin = "auto", oJ.style.fontSize = "2.3em", oJ - }()), o3.appendChild(oE), o3.appendChild(oD), o3.appendChild(oF) + for (eJ = 0; eJ < oF.length; eJ++) oF[eJ].button.style.position = "absolute", oF[eJ].button.style.fontSize = "1.2em" + }(), eJ = 0; eJ < oF.length; eJ++) oI.appendChild(oF[eJ].button); + oG.appendChild(function() { + var oM = document.createElement("h1"); + return oM.textContent = title, oM.style.margin = "auto", oM.style.fontSize = "2.3em", oM + }()), o6.appendChild(oH), o6.appendChild(oG), o6.appendChild(oI) } -function oO(name, oP) { - var oQ = document.createElement("textarea"), - oS = (this.oR = oQ, !0); +function oR(name, oS) { + var oT = document.createElement("textarea"), + oV = (this.oU = oT, !0); - function oY() { - oQ.select(), document.execCommand("copy") + function ob() { + oT.select(), document.execCommand("copy") } this.resize = function() { - oQ.style.padding = aZ.g5.nO(b1.nM) - }, this.oT = function(oU) { - oQ.value = oU - }, this.oV = function() { - return oQ.value - }, this.oW = function() { - oQ.select() + oT.style.padding = aZ.g5.nR(b1.nP) + }, this.oW = function(oX) { + oT.value = oX + }, this.oY = function() { + return oT.value + }, this.oZ = function() { + oT.select() }, this.clear = function() { - oQ.value = "" - }, this.oX = function() { - oS && navigator.clipboard ? (oQ.select(), navigator.clipboard.writeText(oQ.value).catch(function() { - oS = !1, oY() - })) : oY() - }, oQ.setAttribute("name", name), oQ.setAttribute("id", name + "Field"), oQ.setAttribute("autocomplete", "off"), oQ.setAttribute("placeholder", oP), oQ.style.top = "0", oQ.style.left = "0", oQ.style.width = "100%", oQ.style.height = "100%", - oQ.style.userSelect = "none", oQ.style.outline = "none", oQ.style.resize = "none", oQ.style.border = "none", oQ.style.color = aa.gK, oQ.style.backgroundColor = aa.ka, oQ.style.fontSize = "1.2em" + oT.value = "" + }, this.oa = function() { + oV && navigator.clipboard ? (oT.select(), navigator.clipboard.writeText(oT.value).catch(function() { + oV = !1, ob() + })) : ob() + }, oT.setAttribute("name", name), oT.setAttribute("id", name + "Field"), oT.setAttribute("autocomplete", "off"), oT.setAttribute("placeholder", oS), oT.style.top = "0", oT.style.left = "0", oT.style.width = "100%", oT.style.height = "100%", + oT.style.userSelect = "none", oT.style.outline = "none", oT.style.resize = "none", oT.style.border = "none", oT.style.color = aa.gN, oT.style.backgroundColor = aa.kd, oT.style.fontSize = "1.2em" } function ce() { - this.nT = new oZ, this.dK = new oa, this.nm = new ob, this.j1 = new oc, this.ct = function() { - this.dK.ct(), (new od).ct() - } -} - -function oa() { - function oe(eJ, title, type = 0, oA = null, ol = 0, dg = 0) { - bA.dK.data.push({ - g4: eJ, - title: title, - type: type, - oA: oA, - value: ol, - ol: ol, - dg: dg - }) - } - - function og(eJ, title, type, oA = null, ol = "", dg = 0) { - bA.dK.data.push({ - g4: eJ, - title: title, - type: type, - oA: oA, - value: ol, - ol: ol, - dg: dg - }) - } - - function oh(kQ) { - for (var eJ = bA.dK.data.length; eJ < kQ; eJ++) bA.dK.data.push(null) - } - this.data = [], this.ct = function() { - oe(0, "", 1, ["English", "Русский", "Türkçe", "Española", "Deutsch", "Polski"], 0, 5), oe(1, "", 1, null, 1), oe(2, "", 0, [0, 1]), og(3, "Username", 2), oe(4, "Font5", 1, ["Default", "Custom"]), og(5, "", 2, null, "Trebuchet MS", 1), oe( - 6, "", 0, [0, 1]), oe(7, "", 0, [0, 1], 1), oe(8, "", 0, [0, 1]), oe(9, "", 1, null, 1), oe(10, "", 1, null), oe(11, "", 1, null, 1), oh(100), og(100, "Username", 2), og(101, "Password", 2), og(102, "Emojis", 2), og(103, "Colors", - 2), og(104, "Clan", 2), og(105, "AccountName", 2), og(106, "Password", 2), oe(107), oe(108), oe(109), og(110, null, 2), oe(111), oe(112), oe(113), og(114, null, 2), oe(115), og(116, null, 2), oe(117, null, 1), og(118, null, 2, - null, "", 2), oe(119, null, 1, null, 0, 1), og(120, null, 2), oe(121, "CountryColor", 1, null, -1), og(122, "Username", 2), oe(123, "Same as MP Username"), og(124, null, 2, null, "Player " + Math.floor(1e3 * Math.random())), oh( - 180), oe(180, "R0", 0), oe(181, "R1", 0) - }, this.translate = function() { - this.data[0].title = "🌐 " + aW.nl[101], this.data[1].title = aW.nl[102], this.data[2].title = aW.nl[103], this.data[5].title = aW.nl[104], this.data[6].title = aW.nl[105], this.data[7].title = aW.nl[106], this.data[8].title = aW.nl[107], - this.data[9].title = aW.nl[108], this.data[10].title = aW.nl[109], this.data[11].title = aW.nl[110], this.data[1].oA = [aW.nl[111], aW.nl[112], aW.nl[113], aW.nl[114]], this.data[9].oA = [aW.nl[112], aW.nl[115], aW.nl[116]], this - .data[10].oA = [aW.nl[109] + " 1", aW.nl[117] + " 1", aW.nl[109] + " 2", aW.nl[117] + " 2"], this.data[11].oA = [aW.nl[118], aW.nl[119], aW.nl[120]] - }, this.nn = function(g4, value) { - this.data[g4].value = value - }, this.dL = function(g4, value) { - this.nn(g4, value), bA.nT.save(g4, String(value)), bA.nT.save(g4, String(this.data[g4].dg), !0) - }, this.oi = function() { - for (var eJ = 0; eJ < this.data.length; eJ++) this.data[eJ] && (bA.nT.save(eJ, String(this.data[eJ].value)), bA.nT.save(eJ, String(this.data[eJ].dg), !0)) - }, this.oj = function(g4) { - return Number(this.data[g4].value) - }, this.ok = function(g4) { - return String(this.data[g4].value) - } -} - -function oZ() { - this.om = function(g4, dg = !1) { - return Number(this.on(g4, dg)) - }, this.on = function(g4, dg = !1) { - var df = null; - return 0 === b8.id ? b8.oo && (df = b8.oo.getItem((dg ? "v" : "d") + g4)) : 1 === b8.id ? df = b8.op.loadString((dg ? 1e3 : 2e3) + g4) : 2 === b8.id && (df = b8.oq[(dg ? "v" : "d") + g4]), df && 0 !== df.length ? df : null - }, this.save = function(g4, value, dg = !1) { - 0 === b8.id ? b8.oo && b8.oo.setItem((dg ? "v" : "d") + g4, value) : 1 === b8.id ? b8.op.saveString((dg ? 1e3 : 2e3) + g4, value) : 2 === b8.id && (b8.oq["d" + g4] = value, b8.or.postMessage((dg ? "v" : "d") + g4 + " " + value)) + this.nW = new oc, this.dK = new od, this.np = new oe, this.j4 = new og, this.ct = function() { + this.dK.ct(), (new oh).ct() } } function od() { - this.ct = function() { - ! function() { - var data = bA.dK.data; - 0 === data[2].dg && (aL.gF > aL.gA || 0 !== b8.id) && (data[2].value = data[2].ol = 1); - 0 === data[100].dg && (data[100].value = data[100].ol = (0 === b8.id ? "Player " : 1 === b8.id ? "Android User " : "iOS User ") + Math.floor(1e3 * Math.random())); - data[0].value = data[0].ol = aW.ou() - }(); - var eJ, df, data = bA.dK.data, - ef = data.length; - for (eJ = 0; eJ < ef; eJ++) data[eJ] && data[eJ].dg === bA.nT.om(eJ, !0) && (df = bA.nT.on(eJ), data[eJ].value = null === df ? data[eJ].ol : 2 === data[eJ].type ? df : Number(df)); - bA.dK.data[10].value = bA.dK.data[10].ol + function oi(eJ, title, type = 0, oD = null, oo = 0, dg = 0) { + bA.dK.data.push({ + g4: eJ, + title: title, + type: type, + oD: oD, + value: oo, + oo: oo, + dg: dg + }) + } + + function oj(eJ, title, type, oD = null, oo = "", dg = 0) { + bA.dK.data.push({ + g4: eJ, + title: title, + type: type, + oD: oD, + value: oo, + oo: oo, + dg: dg + }) + } + + function ok(kT) { + for (var eJ = bA.dK.data.length; eJ < kT; eJ++) bA.dK.data.push(null) + } + this.data = [], this.ct = function() { + oi(0, "", 1, ["English", "Русский", "Türkçe", "Española", "Deutsch", "Polski"], 0, 5), oi(1, "", 1, null, 1), oi(2, "", 0, [0, 1]), oj(3, "Username", 2), oi(4, "Font5", 1, ["Default", "Custom"]), oj(5, "", 2, null, "Trebuchet MS", 1), oi( + 6, "", 0, [0, 1]), oi(7, "", 0, [0, 1], 1), oi(8, "", 0, [0, 1]), oi(9, "", 1, null, 1), oi(10, "", 1, null), oi(11, "", 1, null, 1), ok(100), oj(100, "Username", 2), oj(101, "Password", 2), oj(102, "Emojis", 2), oj(103, "Colors", + 2), oj(104, "Clan", 2), oj(105, "AccountName", 2), oj(106, "Password", 2), oi(107), oi(108), oi(109), oj(110, null, 2), oi(111), oi(112), oi(113), oj(114, null, 2), oi(115), oj(116, null, 2), oi(117, null, 1), oj(118, null, 2, + null, "", 2), oi(119, null, 1, null, 0, 1), oj(120, null, 2), oi(121, "CountryColor", 1, null, -1), oj(122, "Username", 2), oi(123, "Same as MP Username"), oj(124, null, 2, null, "Player " + Math.floor(1e3 * Math.random())), ok( + 180), oi(180, "R0", 0), oi(181, "R1", 0) + }, this.translate = function() { + this.data[0].title = "🌐 " + aW.no[101], this.data[1].title = aW.no[102], this.data[2].title = aW.no[103], this.data[5].title = aW.no[104], this.data[6].title = aW.no[105], this.data[7].title = aW.no[106], this.data[8].title = aW.no[107], + this.data[9].title = aW.no[108], this.data[10].title = aW.no[109], this.data[11].title = aW.no[110], this.data[1].oD = [aW.no[111], aW.no[112], aW.no[113], aW.no[114]], this.data[9].oD = [aW.no[112], aW.no[115], aW.no[116]], this + .data[10].oD = [aW.no[109] + " 1", aW.no[117] + " 1", aW.no[109] + " 2", aW.no[117] + " 2"], this.data[11].oD = [aW.no[118], aW.no[119], aW.no[120]] + }, this.nq = function(g4, value) { + this.data[g4].value = value + }, this.dL = function(g4, value) { + this.nq(g4, value), bA.nW.save(g4, String(value)), bA.nW.save(g4, String(this.data[g4].dg), !0) + }, this.ol = function() { + for (var eJ = 0; eJ < this.data.length; eJ++) this.data[eJ] && (bA.nW.save(eJ, String(this.data[eJ].value)), bA.nW.save(eJ, String(this.data[eJ].dg), !0)) + }, this.om = function(g4) { + return Number(this.data[g4].value) + }, this.on = function(g4) { + return String(this.data[g4].value) } } function oc() { - function oy(ds) { - if (0 === ds.length) bA.nm.nn(116, ""); + this.op = function(g4, dg = !1) { + return Number(this.oq(g4, dg)) + }, this.oq = function(g4, dg = !1) { + var df = null; + return 0 === b8.id ? b8.or && (df = b8.or.getItem((dg ? "v" : "d") + g4)) : 1 === b8.id ? df = b8.os.loadString((dg ? 1e3 : 2e3) + g4) : 2 === b8.id && (df = b8.ot[(dg ? "v" : "d") + g4]), df && 0 !== df.length ? df : null + }, this.save = function(g4, value, dg = !1) { + 0 === b8.id ? b8.or && b8.or.setItem((dg ? "v" : "d") + g4, value) : 1 === b8.id ? b8.os.saveString((dg ? 1e3 : 2e3) + g4, value) : 2 === b8.id && (b8.ot["d" + g4] = value, b8.ou.postMessage((dg ? "v" : "d") + g4 + " " + value)) + } +} + +function oh() { + this.ct = function() { + ! function() { + var data = bA.dK.data; + 0 === data[2].dg && (aL.gF > aL.gA || 0 !== b8.id) && (data[2].value = data[2].oo = 1); + 0 === data[100].dg && (data[100].value = data[100].oo = (0 === b8.id ? "Player " : 1 === b8.id ? "Android User " : "iOS User ") + Math.floor(1e3 * Math.random())); + data[0].value = data[0].oo = aW.ox() + }(); + var eJ, df, data = bA.dK.data, + ef = data.length; + for (eJ = 0; eJ < ef; eJ++) data[eJ] && data[eJ].dg === bA.nW.op(eJ, !0) && (df = bA.nW.oq(eJ), data[eJ].value = null === df ? data[eJ].oo : 2 === data[eJ].type ? df : Number(df)); + bA.dK.data[10].value = bA.dK.data[10].oo + } +} + +function og() { + function p1(ds) { + if (0 === ds.length) bA.np.nq(116, ""); else { - let p2 = ds[0]; - for (let eJ = 1; eJ < ds.length; eJ++) p2 += ";" + ds[eJ]; - bA.nm.nn(116, p2) + let p5 = ds[0]; + for (let eJ = 1; eJ < ds.length; eJ++) p5 += ";" + ds[eJ]; + bA.np.nq(116, p5) } } - this.ov = function() { - bA.dK.data[110].value.length && (bA.dK.data[106].value = bA.dK.data[110], bA.nm.nn(110, ""), this.ow()) - }, this.ow = function() { + this.oy = function() { + bA.dK.data[110].value.length && (bA.dK.data[106].value = bA.dK.data[110], bA.np.nq(110, ""), this.oz()) + }, this.oz = function() { var ds = bA.dK.data[116].value.split(";"); ds.length % 2 == 1 && ds.pop(), ds.unshift(bA.dK.data[106].value), ds.unshift(bA.dK.data[105].value); for (let eJ = 2; eJ < ds.length; eJ += 2) if (ds[eJ] === ds[0]) { ds.splice(eJ, 2); break - } var ox = []; - for (let eJ = 0; eJ < ds.length; eJ += 2) ox.push(ds[eJ]); - oy(ds), bA.dK.data[117].value = 0, bA.dK.data[117].oA = ox - }, this.oz = function(g4) { - bA.dK.data[117].oA.splice(g4, 1), bA.dK.data[117].value = Math.min(g4, bA.dK.data[117].oA.length - 1); + } var p0 = []; + for (let eJ = 0; eJ < ds.length; eJ += 2) p0.push(ds[eJ]); + p1(ds), bA.dK.data[117].value = 0, bA.dK.data[117].oD = p0 + }, this.p2 = function(g4) { + bA.dK.data[117].oD.splice(g4, 1), bA.dK.data[117].value = Math.min(g4, bA.dK.data[117].oD.length - 1); var ds = bA.dK.data[116].value.split(";"); - ds.splice(2 * g4, 2), oy(ds) - }, this.p0 = function(g4) { + ds.splice(2 * g4, 2), p1(ds) + }, this.p3 = function(g4) { var ds = bA.dK.data[116].value.split(";"); return { - p1: ds[2 * g4], + p4: ds[2 * g4], password: ds[2 * g4 + 1] } - }, this.ny = function() { - let df = aj.mu(bA.dK.data[121].value, -1, 262143); + }, this.o1 = function() { + let df = aj.mx(bA.dK.data[121].value, -1, 262143); return df = -1 === df ? ~~(262144 * Math.random()) : df } } -function ob() { - this.nn = function(g4, value) { - bA.dK.data[g4].value !== value && (bA.dK.dL(g4, value), 0 === g4 ? (at.p3(), aW.ct(), at.d5(2)) : 1 === g4 ? aL.d8(1) : 2 === g4 ? aL.d8(0) : 5 === g4 && (aZ.g5.p4(), aL.d8(0))) - }, this.p5 = function() { - for (var data = bA.dK.data, eJ = 0; eJ < 100; eJ++) data[eJ] && bA.dK.dL(eJ, data[eJ].ol); - aZ.g5.p4(), aL.d8(1), aW.ct() - }, this.p6 = function() { +function oe() { + this.nq = function(g4, value) { + bA.dK.data[g4].value !== value && (bA.dK.dL(g4, value), 0 === g4 ? (at.p6(), aW.ct(), at.d5(2)) : 1 === g4 ? aL.d8(1) : 2 === g4 ? aL.d8(0) : 5 === g4 && (aZ.g5.p7(), aL.d8(0))) + }, this.p8 = function() { + for (var data = bA.dK.data, eJ = 0; eJ < 100; eJ++) data[eJ] && bA.dK.dL(eJ, data[eJ].oo); + aZ.g5.p7(), aL.d8(1), aW.ct() + }, this.p9 = function() { var data = bA.dK.data; - for (let eJ = 0; eJ < data.length; eJ++) data[eJ] && bA.dK.nn(eJ, data[eJ].ol) + for (let eJ = 0; eJ < data.length; eJ++) data[eJ] && bA.dK.nq(eJ, data[eJ].oo) } } function bO() { - this.p7 = new p8, this.p9 = new pA, this.ct = function() { - this.p7.ct() + this.pA = new pB, this.pC = new pD, this.ct = function() { + this.pA.ct() } } -function pA() { - this.pB = function(size) { - var pC = af, +function pD() { + this.pE = function(size) { + var pF = af, ds = []; - for (let eJ = 0; eJ < size; eJ++) ds.push(String.fromCharCode(pC.mN(16))); + for (let eJ = 0; eJ < size; eJ++) ds.push(String.fromCharCode(pF.mQ(16))); return ds.join("") - }, this.pD = function(g3) { + }, this.pG = function(g3) { return 20 < (g3 = g3.trim()).length ? g3.substring(0, 20) : g3 } } -function p8() { - var pE = new Uint8Array(78); +function pB() { + var pH = new Uint8Array(78); this.ct = function() { var eJ; - for (pE[50] = 37, eJ = 0; eJ < 10; eJ++) pE[eJ + 3] = eJ + 1; - for (eJ = 0; eJ < 26; eJ++) pE[eJ + 20] = eJ + 11, pE[eJ + 52] = eJ + 38 - }, this.pF = function(g3) { + for (pH[50] = 37, eJ = 0; eJ < 10; eJ++) pH[eJ + 3] = eJ + 1; + for (eJ = 0; eJ < 26; eJ++) pH[eJ + 20] = eJ + 11, pH[eJ + 52] = eJ + 38 + }, this.pI = function(g3) { return g3.trim().replace(new RegExp("[^a-zA-Z0-9_\\-]", "g"), "_") - }, this.pG = function(g3, size) { - if ((g3 = this.pF(g3)).length > size) return g3.substring(0, size); + }, this.pJ = function(g3, size) { + if ((g3 = this.pI(g3)).length > size) return g3.substring(0, size); for (; g3.length < size;) g3 += "_"; return g3 - }, this.pH = function(g3) { - for (var pI = pE, ef = g3.length, ds = new Uint8Array(ef), eJ = 0; eJ < ef; eJ++) ds[eJ] = pI[g3.charCodeAt(eJ) - 45]; + }, this.pK = function(g3) { + for (var pL = pH, ef = g3.length, ds = new Uint8Array(ef), eJ = 0; eJ < ef; eJ++) ds[eJ] = pL[g3.charCodeAt(eJ) - 45]; return ds - }, this.pJ = function(pK) { - ac.d4(6 * pK.length), this.pL(pK), af.ct(ac.mM) - }, this.pL = function(pK) { - var ef = pK.length, + }, this.pM = function(pN) { + ac.d4(6 * pN.length), this.pO(pN), af.ct(ac.mP) + }, this.pO = function(pN) { + var ef = pN.length, gA = ac; - for (let eJ = 0; eJ < ef; eJ++) gA.pM(6, pK[eJ]) - }, this.pN = function(g3) { - this.pL(this.pH(g3)) - }, this.pO = function(g3, size) { - this.pL(this.pH(this.pG(g3, size))) + for (let eJ = 0; eJ < ef; eJ++) gA.pP(6, pN[eJ]) + }, this.pQ = function(g3) { + this.pO(this.pK(g3)) + }, this.pR = function(g3, size) { + this.pO(this.pK(this.pJ(g3, size))) } } -function pP() { - var gA, gF, pQ; +function pS() { + var gA, gF, pT; - function pq(pr, eo, po, pW, pj) { - eo = pp(pr, eo + 1 + 2 * pW & 3); - ! function(pr, ps) { - return 1 < Math.abs(pr % gA - ps % gA) || 1 < Math.abs(pv(pr) - pv(ps)) - }(pr, eo) && 0 === pj[eo << 2] && (pj[eo << 2] = po) + function pt(pu, eo, pr, pZ, pm) { + eo = ps(pu, eo + 1 + 2 * pZ & 3); + ! function(pu, pv) { + return 1 < Math.abs(pu % gA - pv % gA) || 1 < Math.abs(py(pu) - py(pv)) + }(pu, eo) && 0 === pm[eo << 2] && (pm[eo << 2] = pr) } - function pv(em) { + function py(em) { return Math.floor((em + .5) / gA) % gF } - function pp(em, eo) { - return em + pQ[eo] + function ps(em, eo) { + return em + pT[eo] } - this.pR = function(g3) { - var eJ, pS, ef, pU, pC = af; - for (ae.p7.pJ(ae.p7.pH(g3)), aq.eE = gA = pC.mN(12), aq.eF = gF = pC.mN(12), pQ = [-gA, -1, gA, 1], aq.pf = document.createElement("canvas"), aq.pf.width = aq.eE, aq.pf.height = aq.eF, aq.pb = aq.pf.getContext("2d", { + this.pU = function(g3) { + var eJ, pV, ef, pX, pF = af; + for (ae.pA.pM(ae.pA.pK(g3)), aq.eE = gA = pF.mQ(12), aq.eF = gF = pF.mQ(12), pT = [-gA, -1, gA, 1], aq.pi = document.createElement("canvas"), aq.pi.width = aq.eE, aq.pi.height = aq.eF, aq.pe = aq.pi.getContext("2d", { alpha: !1 - }), aq.pc = aq.pb.getImageData(0, 0, aq.eE, aq.eF), aq.pg = aq.pc.data, aZ.ph.pi(aq.pg), ef = pC.mN(12), pS = pC.mN(5), pU = pY(gA * gF - 1), eJ = 0; eJ < ef; eJ++) ! function(pT, em, pV, pW) { - var eJ, eo, pC = af, - pj = aq.pg, - pk = em, - pl = em, - pm = 0, - pn = 1 + pV, - po = 2 - pV; - for (pj[em << 2] = pn, eJ = 0; eJ < pT; eJ++) eo = pC.mN(2), em = pp(em, eo), pj[em << 2] === pn ? pm % 2 == 1 && pq(pl, pm + 2 * pW + 3, po, pW, pj) : pj[em << 2] = pn, pq(em, eo, po, pW, pj), pq(pl, eo, po, pW, pj), pl = em, - pm = eo; - pp(em, 0) === pk ? (pq(em, 0, po, pW, pj), pq(pk, 0, po, pW, pj)) : pp(em, 1) === pk && (pq(em, 0, po, pW, pj), pq(pk, 2, po, pW, pj)); - 0 === pT && (pq(pk, 0, po, pW, pj), pq(pk, 2, po, pW, pj)) - }(pC.mN(pS), pC.mN(pU), 1 === pC.mN(1), 1 === pC.mN(1)); - var fO, fP, pw, px, py, pz, pj = aq.pg, - q0 = !0, - q1 = aq.io.q2[aq.q3].q1, - q4 = aq.io.q2[aq.q3].q4; + }), aq.pf = aq.pe.getImageData(0, 0, aq.eE, aq.eF), aq.pj = aq.pf.data, aZ.pk.pl(aq.pj), ef = pF.mQ(12), pV = pF.mQ(5), pX = pb(gA * gF - 1), eJ = 0; eJ < ef; eJ++) ! function(pW, em, pY, pZ) { + var eJ, eo, pF = af, + pm = aq.pj, + pn = em, + po = em, + pp = 0, + pq = 1 + pY, + pr = 2 - pY; + for (pm[em << 2] = pq, eJ = 0; eJ < pW; eJ++) eo = pF.mQ(2), em = ps(em, eo), pm[em << 2] === pq ? pp % 2 == 1 && pt(po, pp + 2 * pZ + 3, pr, pZ, pm) : pm[em << 2] = pq, pt(em, eo, pr, pZ, pm), pt(po, eo, pr, pZ, pm), po = em, + pp = eo; + ps(em, 0) === pn ? (pt(em, 0, pr, pZ, pm), pt(pn, 0, pr, pZ, pm)) : ps(em, 1) === pn && (pt(em, 0, pr, pZ, pm), pt(pn, 2, pr, pZ, pm)); + 0 === pW && (pt(pn, 0, pr, pZ, pm), pt(pn, 2, pr, pZ, pm)) + }(pF.mQ(pV), pF.mQ(pX), 1 === pF.mQ(1), 1 === pF.mQ(1)); + var fO, fP, pz, q0, q1, q2, pm = aq.pj, + q3 = !0, + q4 = aq.ir.q5[aq.q6].q4, + q7 = aq.ir.q5[aq.q6].q7; for (fP = 0; fP < gF; fP++) - for (px = !0, py = q0, fO = pz = 0; fO < gA; fO++) pw = 4 * fP * gA + 4 * fO, pz <= fO && 0 < pj[pw] && (py = 2 === pj[pw], px) && (px = !1, py !== q0) ? (q0 = py, pz = fO + 1, fO = -1) : (py ? (pj[pw] = q4[0], pj[1 + pw] = q4[1], pj[ - 2 + pw] = q4[2]) : (pj[pw] = q1[0], pj[1 + pw] = q1[1], pj[2 + pw] = q1[2]), pj[3 + pw] = 255); - aq.pb.putImageData(aq.pc, 0, 0), aq.pd = !0, aq.pe.ct(), b4.d3 = !0 + for (q0 = !0, q1 = q3, fO = q2 = 0; fO < gA; fO++) pz = 4 * fP * gA + 4 * fO, q2 <= fO && 0 < pm[pz] && (q1 = 2 === pm[pz], q0) && (q0 = !1, q1 !== q3) ? (q3 = q1, q2 = fO + 1, fO = -1) : (q1 ? (pm[pz] = q7[0], pm[1 + pz] = q7[1], pm[ + 2 + pz] = q7[2]) : (pm[pz] = q4[0], pm[1 + pz] = q4[1], pm[2 + pz] = q4[2]), pm[3 + pz] = 255); + aq.pe.putImageData(aq.pf, 0, 0), aq.pg = !0, aq.ph.ct(), b4.d3 = !0 } } function bU() { - var fO, fP, gA, gF, q5, q6, q7, q8, player, ds; + var fO, fP, gA, gF, q8, q9, qA, qB, player, ds; - function qG() { + function qJ() { return function() { var eJ; for (eJ = 0; eJ < 8; eJ++) - if (fO = eX(gA * aM.random(), aM.value(100)), fP = eX(gF * aM.random(), aM.value(100)), qO()) return 1; + if (fO = eX(gA * aM.random(), aM.value(100)), fP = eX(gF * aM.random(), aM.value(100)), qR()) return 1; return }() || function() { - var gy, h1, hd, qE, hm, qD; - for (gy = eX(gA * aM.random(), aM.value(100)), h1 = eX(gF * aM.random(), aM.value(100)), hd = 40; 1 <= hd; hd--) - for (qE = gF - hd; 0 <= qE; qE -= 40) - for (fP = (qE + h1) % gF, hm = 40; 1 <= hm; hm--) - for (qD = gA - hm; 0 <= qD; qD -= 40) - if (fO = (qD + gy) % gA, qO()) return 1; + var h1, h4, hg, qH, hp, qG; + for (h1 = eX(gA * aM.random(), aM.value(100)), h4 = eX(gF * aM.random(), aM.value(100)), hg = 40; 1 <= hg; hg--) + for (qH = gF - hg; 0 <= qH; qH -= 40) + for (fP = (qH + h4) % gF, hp = 40; 1 <= hp; hp--) + for (qG = gA - hp; 0 <= qG; qG -= 40) + if (fO = (qG + h1) % gA, qR()) return 1; return }() } - function qO() { - for (var em, qQ, gap = eX(q5 - q8, 2), qR = q7 + fP * q5 + gap, qS = q6 + fO * q5 + gap, qP = qR + q8 - 1; qR <= qP; qP--) - for (qQ = qS + q8 - 1; qS <= qQ; qQ--) - if (em = a1.qM(qQ, qP), !a1.eh(em) || a1.hZ(em)) return; + function qR() { + for (var em, qT, gap = eX(q8 - qB, 2), qU = qA + fP * q8 + gap, qV = q9 + fO * q8 + gap, qS = qU + qB - 1; qU <= qS; qS--) + for (qT = qV + qB - 1; qV <= qT; qT--) + if (em = a1.qP(qT, qS), !a1.eh(em) || a1.hc(em)) return; return 1 } - function qH(qD, qE) { - q9(), qT(qD - 2, qE - 2) + function qK(qG, qH) { + qC(), qW(qG - 2, qH - 2) } - function q9() { - a6.jP[player] = 0, a6.eb[player] = 0, a6.f5[player] = a6.qU[player] = 0, a6.eg[player] = [], a6.ex[player] = [], a6.ey[player] = [], a6.f1[player] = [], a6.hz[player] = a6.i2[player] = a6.hy[player] = a6.i1[player] = 0 + function qC() { + a6.jS[player] = 0, a6.eb[player] = 0, a6.f5[player] = a6.qX[player] = 0, a6.eg[player] = [], a6.ex[player] = [], a6.ey[player] = [], a6.f1[player] = [], a6.i2[player] = a6.i5[player] = a6.i1[player] = a6.i4[player] = 0 } - function qT(qD, qE) { - var em, eJ, qW, qX; - for (a6.jP[player] = 1, player < b.hq ? a6.eb[player] = b.qV : a6.eb[player] = iY[c.hX[player - b.hq]], a6.hz[player] = qD + 10, a6.i2[player] = qE + 10, a6.i1[player] = a6.hy[player] = 0, qW = qD; qW < qD + 4; qW++) - for (qX = qE; qX < qE + 4; qX++)(qD < qW && qW < qD + 3 || qE < qX && qX < qE + 3) && (em = a1.qM(qW, qX), a1.eh(em)) && (a6.hz[player] = qW < a6.hz[player] ? qW : a6.hz[player], a6.hy[player] = qW > a6.hy[player] ? qW : a6.hy[player], a6 - .i2[player] = qX < a6.i2[player] ? qX : a6.i2[player], a6.i1[player] = qX > a6.i1[player] ? qX : a6.i1[player], ds[a6.f5[player]] = em, a6.f5[player]++, a1.qY(em, player)); - for (a6.qU[player] = a6.f5[player], eJ = a6.f5[player] - 1; 0 <= eJ; eJ--) a1.qZ(ds[eJ], player) ? (a1.ei(ds[eJ], player), a6.ex[player].push(ds[eJ])) : a1.qa(ds[eJ]) ? (a1.ei(ds[eJ], player), a6.ey[player].push(ds[eJ])) : a1.qb(ds[eJ]) && ( + function qW(qG, qH) { + var em, eJ, qZ, qa; + for (a6.jS[player] = 1, player < b.ht ? a6.eb[player] = b.qY : a6.eb[player] = ib[c.ha[player - b.ht]], a6.i2[player] = qG + 10, a6.i5[player] = qH + 10, a6.i4[player] = a6.i1[player] = 0, qZ = qG; qZ < qG + 4; qZ++) + for (qa = qH; qa < qH + 4; qa++)(qG < qZ && qZ < qG + 3 || qH < qa && qa < qH + 3) && (em = a1.qP(qZ, qa), a1.eh(em)) && (a6.i2[player] = qZ < a6.i2[player] ? qZ : a6.i2[player], a6.i1[player] = qZ > a6.i1[player] ? qZ : a6.i1[player], a6 + .i5[player] = qa < a6.i5[player] ? qa : a6.i5[player], a6.i4[player] = qa > a6.i4[player] ? qa : a6.i4[player], ds[a6.f5[player]] = em, a6.f5[player]++, a1.qb(em, player)); + for (a6.qX[player] = a6.f5[player], eJ = a6.f5[player] - 1; 0 <= eJ; eJ--) a1.qc(ds[eJ], player) ? (a1.ei(ds[eJ], player), a6.ex[player].push(ds[eJ])) : a1.qd(ds[eJ]) ? (a1.ei(ds[eJ], player), a6.ey[player].push(ds[eJ])) : a1.qe(ds[eJ]) && ( a1.ei(ds[eJ], player), a6.f1[player].push(ds[eJ])) } - function qN(qD, qE) { - for (var em, qQ, qP = qE; qE - 6 < qP; qP--) - for (qQ = qD; qD - 6 < qQ; qQ--) - if (em = a1.qM(qQ, qP), a1.hZ(em)) return; + function qQ(qG, qH) { + for (var em, qT, qS = qH; qH - 6 < qS; qS--) + for (qT = qG; qG - 6 < qT; qT--) + if (em = a1.qP(qT, qS), a1.hc(em)) return; return 1 } this.ct = function() { - var eJ, qD, qE; - if (ds = new Array(12), q8 = 6, q5 = 10, gA = eX(aq.eE, q5), gF = eX(aq.eF, q5), q6 = eX(aq.eE - q5 * gA, 2), q7 = eX(aq.eF - q5 * gF, 2), b.fj) - for (eJ = 0; eJ < b.hq; eJ++) player = eJ, q9(), a6.jP[player] = 1; - if (aV.im && aV.io.qA) { + var eJ, qG, qH; + if (ds = new Array(12), qB = 6, q8 = 10, gA = eX(aq.eE, q8), gF = eX(aq.eF, q8), q9 = eX(aq.eE - q8 * gA, 2), qA = eX(aq.eF - q8 * gF, 2), b.fj) + for (eJ = 0; eJ < b.ht; eJ++) player = eJ, qC(), a6.jS[player] = 1; + if (aV.iq && aV.ir.qD) { for (player = 0; player < b.ej; player++) - if (1 !== a6.jP[player]) { - if (player < b.qF) { + if (1 !== a6.jS[player]) { + if (player < b.qI) { if (function() { - var qD = aV.io.qA[player] + 1, - qE = aV.io.qL[player] + 1; - if (3 < qD && qD < aq.eE - 5 && 3 < qE && qE < aq.eF - 5 && a1.eh(a1.qM(qD, qE)) && qN(qD + 3, qE + 3)) return qH(qD + 1, qE + 1), 1; + var qG = aV.ir.qD[player] + 1, + qH = aV.ir.qO[player] + 1; + if (3 < qG && qG < aq.eE - 5 && 3 < qH && qH < aq.eF - 5 && a1.eh(a1.qP(qG, qH)) && qQ(qG + 3, qH + 3)) return qK(qG + 1, qH + 1), 1; return }()) continue; - if (qG()) { - qD = q6 + fO * q5 + eX(q5, 2), qE = q7 + fP * q5 + eX(q5, 2), qH(qD, qE); + if (qJ()) { + qG = q9 + fO * q8 + eX(q8, 2), qH = qA + fP * q8 + eX(q8, 2), qK(qG, qH); continue } } - q9() + qC() } } else ! function() { - var qD, qE; - for (player = 0; player < b.ej; player++) 1 !== a6.jP[player] && (player < b.qF && qG() ? (qD = q6 + fO * q5 + eX(q5, 2), qE = q7 + fP * q5 + eX(q5, 2), qH(qD, qE)) : q9()) + var qG, qH; + for (player = 0; player < b.ej; player++) 1 !== a6.jS[player] && (player < b.qI && qJ() ? (qG = q9 + fO * q8 + eX(q8, 2), qH = qA + fP * q8 + eX(q8, 2), qK(qG, qH)) : qC()) }(); b2.ed[7] = a6.f5[b.ea], b2.ed[8] = a6.eb[b.ea] - }, this.qc = function(hW, qd, qe) { - var eJ, qD, qE, em, fO, fP; - for (player = hW, eJ = 0; eJ < 20; eJ++) - for (qD = qd + eJ; qd - eJ <= qD; qD--) - for (qE = qe + eJ; qe - eJ <= qE; qE--) - if ((qD === qd + eJ || qD === qd - eJ || qE === qe + eJ || qE === qe - eJ) && 3 < qD && qD < aq.eE - 5 && 3 < qE && qE < aq.eF - 5 && a1.eh(a1.qM(qD, qE)) && qN(qD + 3, qE + 3)) { + }, this.qf = function(hZ, qg, qh) { + var eJ, qG, qH, em, fO, fP; + for (player = hZ, eJ = 0; eJ < 20; eJ++) + for (qG = qg + eJ; qg - eJ <= qG; qG--) + for (qH = qh + eJ; qh - eJ <= qH; qH--) + if ((qG === qg + eJ || qG === qg - eJ || qH === qh + eJ || qH === qh - eJ) && 3 < qG && qG < aq.eE - 5 && 3 < qH && qH < aq.eF - 5 && a1.eh(a1.qP(qG, qH)) && qQ(qG + 3, qH + 3)) { if (0 < a6.f5[player]) { - for (fP = fO = em = void 0, fO = a6.hy[player]; fO >= a6.hz[player]; fO--) - for (fP = a6.i1[player]; fP >= a6.i2[player]; fP--) em = 4 * (fP * aq.eE + fO), a1.qg(player, em) && (a1.qh(em), a6.f5[player]--); - q9() + for (fP = fO = em = void 0, fO = a6.i1[player]; fO >= a6.i2[player]; fO--) + for (fP = a6.i4[player]; fP >= a6.i5[player]; fP--) em = 4 * (fP * aq.eE + fO), a1.qj(player, em) && (a1.qk(em), a6.f5[player]--); + qC() } - return qT(qD - 1, qE - 1), !0 + return qW(qG - 1, qH - 1), !0 } return !1 - }, this.qi = function(hW) { - player = hW, qG() ? qH(q6 + fO * q5 + eX(q5, 2), q7 + fP * q5 + eX(q5, 2)) : q9() + }, this.ql = function(hZ) { + player = hZ, qJ() ? qK(q9 + fO * q8 + eX(q8, 2), qA + fP * q8 + eX(q8, 2)) : qC() } } -function qj() { - aE.qk(), gJ.setTransform(h8, 0, 0, h8, 0, 0), gJ.imageSmoothingEnabled = h8 < 3, gJ.drawImage(aq.pf, q.jk(), q.gH()), an.ql.gI(), gJ.drawImage(qm, q.jk(), q.gH()), aE.gI(), gJ.imageSmoothingEnabled = !1, gJ.setTransform(1, 0, 0, 1, 0, 0), al.ql - .gI(), a5.gI(), f.gI(), (b.kD ? (b6.gI(), ab) : (l.gI(), t.gI(), p.gI(), ab.gI(), aJ.gI(), u.gI(), q.gI(), o.gI(), b6.gI(), s.gI(), n.gI(), k.gI(), j.gI(), v.gI(), b3.gI(), aG)).gI() +function qm() { + aE.qn(), gM.setTransform(hB, 0, 0, hB, 0, 0), gM.imageSmoothingEnabled = hB < 3, gM.drawImage(aq.pi, q.jn(), q.gK()), an.qo.gL(), gM.drawImage(qp, q.jn(), q.gK()), aE.gL(), gM.imageSmoothingEnabled = !1, gM.setTransform(1, 0, 0, 1, 0, 0), al.qo + .gL(), a5.gL(), f.gL(), (b.kG ? (b6.gL(), ab) : (l.gL(), t.gL(), p.gL(), ab.gL(), aJ.gL(), u.gL(), q.gL(), o.gL(), b6.gL(), s.gL(), n.gL(), k.gL(), j.gL(), v.gL(), b3.gL(), aG)).gL() } -function qn(qo, gA, gF) { - qo.clearRect(0, 0, gA, gF), qo.fillStyle = aa.ke, qo.fillRect(0, 0, gA, gF) +function qq(qr, gA, gF) { + qr.clearRect(0, 0, gA, gF), qr.fillStyle = aa.kh, qr.fillRect(0, 0, gA, gF) } -function qp(qo, gA, gF, qq) { - qo.fillStyle = aa.gK, qo.fillRect(0, 0, gA, qq), qo.fillRect(0, 0, qq, gF), qo.fillRect(gA - qq, 0, qq, gF), qo.fillRect(0, gF - qq, gA, qq) +function qs(qr, gA, gF, qt) { + qr.fillStyle = aa.gN, qr.fillRect(0, 0, gA, qt), qr.fillRect(0, 0, qt, gF), qr.fillRect(gA - qt, 0, qt, gF), qr.fillRect(0, gF - qt, gA, qt) } -function qr(qo, fO, fP, gM, qq, em, qs) { - qo.fillStyle = aa.gK; - var em = Math.floor(gM * em), - qu = (em += (em - qq) % 2, Math.floor((em - qq) / 2)), - gM = Math.floor((gM - em) / 2); - qo.fillRect(fO + gM, fP + gM + qu, em, qq), qs && qo.fillRect(fO + gM + qu, fP + gM, qq, em) +function qu(qr, fO, fP, gP, qt, em, qv) { + qr.fillStyle = aa.gN; + var em = Math.floor(gP * em), + qx = (em += (em - qt) % 2, Math.floor((em - qt) / 2)), + gP = Math.floor((gP - em) / 2); + qr.fillRect(fO + gP, fP + gP + qx, em, qt), qv && qr.fillRect(fO + gP + qx, fP + gP, qt, em) } -function qw() { - this.qx = null, this.ct = function(qx) { - this.qx = qx, l.qy(this.qx) - }, this.qz = function(r0) { - var gk = (this.qx[r0].r1 - this.qx[1 - r0].r1) / 10, - gk = 8 / (1 + Math.pow(2, gk / 32)), - gk = Math.floor(10 * gk + .5), - r3 = this.r4(this.qx[r0].r1 + gk + 1), - gk = this.r4(this.qx[1 - r0].r1 - gk); - 0 === r0 ? l.r6(this.qx, r3, gk, ["rgba(10,140,10,0.75)", "rgba(140,10,10,0.75)"]) : l.r6(this.qx, gk, r3, ["rgba(140,10,10,0.75)", "rgba(10,140,10,0.75)"]) - }, this.r4 = function(r1) { - return 16e3 <= (r1 = r1 < 0 ? 0 : 16e3 < r1 ? 16e3 : r1) ? "Unknown" : (r1 / 10).toFixed(1) +function qz() { + this.r0 = null, this.ct = function(r0) { + this.r0 = r0, l.r1(this.r0) + }, this.r2 = function(r3) { + var gn = (this.r0[r3].r4 - this.r0[1 - r3].r4) / 10, + gn = 8 / (1 + Math.pow(2, gn / 32)), + gn = Math.floor(10 * gn + .5), + r6 = this.r7(this.r0[r3].r4 + gn + 1), + gn = this.r7(this.r0[1 - r3].r4 - gn); + 0 === r3 ? l.r9(this.r0, r6, gn, ["rgba(10,140,10,0.75)", "rgba(140,10,10,0.75)"]) : l.r9(this.r0, gn, r6, ["rgba(140,10,10,0.75)", "rgba(10,140,10,0.75)"]) + }, this.r7 = function(r4) { + return 16e3 <= (r4 = r4 < 0 ? 0 : 16e3 < r4 ? 16e3 : r4) ? "Unknown" : (r4 / 10).toFixed(1) } } function bx() { - this.r7 = new r8, this.pj = new r9 + this.rA = new rB, this.pm = new rC } -function r9() { - this.rA = !1; - let jg, jh, gap, gM, zoom, rB, rD; - this.rE = [], this.rF = 100; - let rH = 0, - rI = new Array(9), - rJ = [], - rK = [], - rL = 0, - rM = 0, - rN = 0, - rO = 0; +function rC() { + this.rD = !1; + let jj, jk, gap, gP, zoom, rE, rG; + this.rH = [], this.rI = 100; + let rK = 0, + rL = new Array(9), + rM = [], + rN = [], + rO = 0, + rP = 0, + rQ = 0, + rR = 0; - function ra() { - rI.sort((hd, hm) => hm.iZ - hd.iZ); - let g3 = "" + rI[0].lx; - for (let eJ = 1; eJ < 9; eJ++) g3 += "," + rI[eJ].lx; - for (let eJ = 0; eJ < 9; eJ++) g3 += "," + rI[eJ].iZ; + function rd() { + rL.sort((hg, hp) => hp.ic - hg.ic); + let g3 = "" + rL[0].m0; + for (let eJ = 1; eJ < 9; eJ++) g3 += "," + rL[eJ].m0; + for (let eJ = 0; eJ < 9; eJ++) g3 += "," + rL[eJ].ic; bA.dK.dL(120, g3) } this.ct = function() { - var rP = [0, 1, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 6]; - for (let eJ = 0; eJ < rP.length; eJ++) { - var color = 6 === rP[eJ] ? aa.l3 : aa.kf; - this.rE.push(aZ.gS.rQ(a0.get(3), rP[eJ], color)) + var rS = [0, 1, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 6]; + for (let eJ = 0; eJ < rS.length; eJ++) { + var color = 6 === rS[eJ] ? aa.l6 : aa.ki; + this.rH.push(aZ.gV.rT(a0.get(3), rS[eJ], color)) } - for (let eJ = 0; eJ < a9.r7.rR; eJ++) rK.push(a9.r7.rS - a9.r7.rR + eJ); - for (let eJ = 0; eJ < a9.r7.rT; eJ++) rK.push(a9.r7.rU + eJ); - var rV = a9.r7.rW(ai.rV); - for (let eJ = 0; eJ < rV.length; eJ++) rK.push(rV[eJ]); + for (let eJ = 0; eJ < a9.rA.rU; eJ++) rN.push(a9.rA.rV - a9.rA.rU + eJ); + for (let eJ = 0; eJ < a9.rA.rW; eJ++) rN.push(a9.rA.rX + eJ); + var rY = a9.rA.rZ(ai.rY); + for (let eJ = 0; eJ < rY.length; eJ++) rN.push(rY[eJ]); var ds = bA.dK.data[120].value.split(","); if (18 !== ds.length) - for (let eJ = 0; eJ < 9; eJ++) rI[eJ] = { - lx: 1015 + eJ, - iZ: 0 + for (let eJ = 0; eJ < 9; eJ++) rL[eJ] = { + m0: 1015 + eJ, + ic: 0 }; else for (let eJ = 0; eJ < 9; eJ++) { var df = parseInt(ds[eJ]), - iQ = (df = 0 <= df && df < a9.r7.rS ? df : 0, parseInt(ds[eJ + 9])); - iQ = 0 <= iQ && iQ < 1e3 ? iQ : 0, rI[eJ] = { - lx: df, - iZ: iQ + iT = (df = 0 <= df && df < a9.rA.rV ? df : 0, parseInt(ds[eJ + 9])); + iT = 0 <= iT && iT < 1e3 ? iT : 0, rL[eJ] = { + m0: df, + ic: iT } } - }, this.show = function(gD, gE, rb = 0) { - if (rL = gD, rM = gE, rH = rb, this.rA = !0, rJ = [], 0 === rH) - for (let eJ = 0; eJ < 9; eJ++) rJ.push(rI[eJ].lx); + }, this.show = function(gD, gE, re = 0) { + if (rO = gD, rP = gE, rK = re, this.rD = !0, rM = [], 0 === rK) + for (let eJ = 0; eJ < 9; eJ++) rM.push(rL[eJ].m0); else { - let hm = 49 * rH, - hd = hm - 49; - hd >= rK.length && (rH = 1, hd = 0, hm = 49), hm = Math.min(hm, rK.length); - for (let eJ = hd = hm - 49; eJ < hm; eJ++) rJ.push(rK[eJ]) + let hp = 49 * rK, + hg = hp - 49; + hg >= rN.length && (rK = 1, hg = 0, hp = 49), hp = Math.min(hp, rN.length); + for (let eJ = hg = hp - 49; eJ < hp; eJ++) rM.push(rN[eJ]) } - rJ.push(1024); - rb = rJ.length, gM = Math.floor((b8.cy.g0() ? .075 : .0468) * aL.g1), gap = Math.floor(gM / 3), rB = gM + gap, (rN = 10 * rB) > aL.gA && (rN = aL.gA, rB = rN / 10, gM = 3 * rB / 4, gap = rB - gM), rD = aj.fK(rb, 10) + !!(rb % 10), (rO = - rD * rB) > aL.gF && (rO = aL.gF, rB = rO / rD, gM = 3 * rB / 4, gap = rB - gM), zoom = gM / this.rF, rb = .5 * gap; - jg = Math.min(Math.max(gD - .5 * rN + rb, rb), aL.gA - rN + rb), jh = Math.min(Math.max(gE - .5 * rO + rb, rb), aL.gF - rO + rb) + rM.push(1024); + re = rM.length, gP = Math.floor((b8.cy.g0() ? .075 : .0468) * aL.g1), gap = Math.floor(gP / 3), rE = gP + gap, (rQ = 10 * rE) > aL.gA && (rQ = aL.gA, rE = rQ / 10, gP = 3 * rE / 4, gap = rE - gP), rG = aj.fK(re, 10) + !!(re % 10), (rR = + rG * rE) > aL.gF && (rR = aL.gF, rE = rR / rG, gP = 3 * rE / 4, gap = rE - gP), zoom = gP / this.rI, re = .5 * gap; + jj = Math.min(Math.max(gD - .5 * rQ + re, re), aL.gA - rQ + re), jk = Math.min(Math.max(gE - .5 * rR + re, re), aL.gF - rR + re) }, this.fX = function(gD, gE, player) { - if (!this.rA) return !1; - if (this.re(gD, gE)) { - gD = aj.mu(aj.fK(gD - jg + .5 * gap, rB), 0, 9); - if ((gD += 10 * aj.mu(aj.fK(gE - jh + .5 * gap, rB), 0, 9)) >= rJ.length) return j.oK(), !0; - gE = rJ[gD]; - if (1024 === gE) return this.show(rL, rM, rH + 1), !0; - ! function(lx) { - for (let eJ = 0; eJ < 9; eJ++) rI[eJ].iZ = Math.floor(.99 * rI[eJ].iZ); + if (!this.rD) return !1; + if (this.rh(gD, gE)) { + gD = aj.mx(aj.fK(gD - jj + .5 * gap, rE), 0, 9); + if ((gD += 10 * aj.mx(aj.fK(gE - jk + .5 * gap, rE), 0, 9)) >= rM.length) return j.oN(), !0; + gE = rM[gD]; + if (1024 === gE) return this.show(rO, rP, rK + 1), !0; + ! function(m0) { + for (let eJ = 0; eJ < 9; eJ++) rL[eJ].ic = Math.floor(.99 * rL[eJ].ic); for (let eJ = 0; eJ < 9; eJ++) - if (lx === rI[eJ].lx) return rI[eJ].iZ = Math.min(rI[eJ].iZ + 30, 999), ra(); - rI.splice(5, 0, { - lx: lx, - iZ: Math.max(rI[4].iZ, 30) - }), rI.pop(), ra() - }(gE), player === b.ea ? aX.fk.lw(gE) : aX.fU.mB(gE, player) + if (m0 === rL[eJ].m0) return rL[eJ].ic = Math.min(rL[eJ].ic + 30, 999), rd(); + rL.splice(5, 0, { + m0: m0, + ic: Math.max(rL[4].ic, 30) + }), rL.pop(), rd() + }(gE), player === b.ea ? aX.fk.lz(gE) : aX.fU.mE(gE, player) } - return j.oK(), !0 - }, this.re = function(gD, gE) { - return !(gD < jg - .5 * gap || gE < jh - .5 * gap || gD >= jg + rN - .5 * gap || gE >= jh + rO - .5 * gap) - }, this.gI = function() { - gJ.fillStyle = aa.ke, gJ.fillRect(jg - .5 * gap, jh - .5 * gap, rN, rO); - var pw = .5 * b1.rf, - ef = (gJ.lineWidth = b1.rf, gJ.strokeStyle = gJ.fillStyle = aa.gK, gJ.strokeRect(jg - .5 * gap + pw, jh - .5 * gap + pw, rN - 2 * pw, rO - 2 * pw), gJ.imageSmoothingEnabled = !0, rJ.length); - for (let eJ = 0; eJ < ef; eJ++) this.rg(rJ[eJ], gJ, jg + eJ % 10 * rB, jh + aj.fK(eJ, 10) * rB, gM); - gJ.imageSmoothingEnabled = !1 - }, this.rg = function(lx, gT, fO, fP, gM) { + return j.oN(), !0 + }, this.rh = function(gD, gE) { + return !(gD < jj - .5 * gap || gE < jk - .5 * gap || gD >= jj + rQ - .5 * gap || gE >= jk + rR - .5 * gap) + }, this.gL = function() { + gM.fillStyle = aa.kh, gM.fillRect(jj - .5 * gap, jk - .5 * gap, rQ, rR); + var pz = .5 * b1.ri, + ef = (gM.lineWidth = b1.ri, gM.strokeStyle = gM.fillStyle = aa.gN, gM.strokeRect(jj - .5 * gap + pz, jk - .5 * gap + pz, rQ - 2 * pz, rR - 2 * pz), gM.imageSmoothingEnabled = !0, rM.length); + for (let eJ = 0; eJ < ef; eJ++) this.rj(rM[eJ], gM, jj + eJ % 10 * rE, jk + aj.fK(eJ, 10) * rE, gP); + gM.imageSmoothingEnabled = !1 + }, this.rj = function(m0, gW, fO, fP, gP) { var fg; - lx >= 1024 - a9.r7.rR ? (fg = gM / this.rF, gT.setTransform(fg, 0, 0, fg, fO, fP), gT.drawImage(this.rE[lx - 1024 + a9.r7.rR], 0, 0), gT.setTransform(1, 0, 0, 1, 0, 0)) : (aZ.g5.textAlign(gT, 1), aZ.g5.textBaseline(gT, 1), gT.font = aZ.g5 - .g6(0, .89 * gM), gT.fillText(a9.r7.rh(lx), fO + .5 * gM, fP + (.35 - aZ.g5.ri + .56) * gM)) + m0 >= 1024 - a9.rA.rU ? (fg = gP / this.rI, gW.setTransform(fg, 0, 0, fg, fO, fP), gW.drawImage(this.rH[m0 - 1024 + a9.rA.rU], 0, 0), gW.setTransform(1, 0, 0, 1, 0, 0)) : (aZ.g5.textAlign(gW, 1), aZ.g5.textBaseline(gW, 1), gW.font = aZ.g5 + .g6(0, .89 * gP), gW.fillText(a9.rA.rk(m0), fO + .5 * gP, fP + (.35 - aZ.g5.rl + .56) * gP)) } } -function r8() { +function rB() { this.emojis = ["🥰", "😎", "😘", "😜", "🤗", "🥳", "😇", "😊", "🥱", "🙄", "🤔", "🥺", "😡", "😭", "😱", "😞", "💀", "👹", "👋", "🙏", "👏", "💪", "🙋‍♂️", "🤦‍♂️", "⬆️", "➡️", "⬇️", "⬅️", "👀", "❤️", "💔", "💥", "🔥", "🪦", "🥇", "🥈", "🥉", "🎖️", "🏅", "👑", "🎉", "💯", "✝️", "☪️", "🕉️", "☸️", "✡️", "☦️", "⚛️" - ], this.rR = 13, this.rT = this.emojis.length, this.rU = 676, this.rS = 1024, this.rj = this.emojis.indexOf("💀"), this.rk = this.rj + 1, this.rl = this.emojis.indexOf("🥇"), this.rm = this.emojis.indexOf("😊"), this.rh = function(df) { - return df < this.rU ? String.fromCharCode(55356, 56806 + aj.fK(df, 26), 55356, 56806 + df % 26) : this.emojis[Math.min(df - this.rU, this.rT - 1)] - }, this.rW = function(g3) { + ], this.rU = 13, this.rW = this.emojis.length, this.rX = 676, this.rV = 1024, this.rm = this.emojis.indexOf("💀"), this.rn = this.rm + 1, this.ro = this.emojis.indexOf("🥇"), this.rp = this.emojis.indexOf("😊"), this.rk = function(df) { + return df < this.rX ? String.fromCharCode(55356, 56806 + aj.fK(df, 26), 55356, 56806 + df % 26) : this.emojis[Math.min(df - this.rX, this.rW - 1)] + }, this.rZ = function(g3) { var ef = g3.length - 2, ds = []; for (let eJ = 0; eJ < ef; eJ++) { - var gf = g3.charCodeAt(eJ) - 56806, - gg = g3.charCodeAt(eJ + 2) - 56806; - 0 <= gf && gf < 26 && 0 <= gg && gg < 26 && (ds.push(26 * gf + gg), eJ += 3) + var gi = g3.charCodeAt(eJ) - 56806, + gj = g3.charCodeAt(eJ + 2) - 56806; + 0 <= gi && gi < 26 && 0 <= gj && gj < 26 && (ds.push(26 * gi + gj), eJ += 3) } return ds - }, this.rn = function(df) { - return df < this.rU - }, this.ro = function(df) { - return df >= 1024 - this.rR - }, this.rp = function(df) { - return df >= this.rU && df < this.rU + this.rk + }, this.rq = function(df) { + return df < this.rX + }, this.rr = function(df) { + return df >= 1024 - this.rU + }, this.rs = function(df) { + return df >= this.rX && df < this.rX + this.rn } } function bN() { - this.p7 = new rq, this.p9 = new rr, this.ct = function() { - this.p7.ct() + this.pA = new rt, this.pC = new ru, this.ct = function() { + this.pA.ct() } } -function rr() { - this.pN = function(g3) { +function ru() { + this.pQ = function(g3) { var ef = g3.length, gA = ac; - for (let eJ = 0; eJ < ef; eJ++) gA.pM(16, g3.charCodeAt(eJ)) + for (let eJ = 0; eJ < ef; eJ++) gA.pP(16, g3.charCodeAt(eJ)) } } -function rq() { - var rs = new Uint8Array(64); +function rt() { + var rv = new Uint8Array(64); this.ct = function() { var eJ; - for (rs[0] = 45, rs[37] = 95, eJ = 0; eJ < 10; eJ++) rs[eJ + 1] = 48 + eJ; - for (eJ = 0; eJ < 26; eJ++) rs[eJ + 11] = 65 + eJ, rs[eJ + 38] = 97 + eJ - }, this.rt = function(ru) { - for (var pC = af, pK = new Uint8Array(ru), eJ = 0; eJ < ru; eJ++) pK[eJ] = pC.mN(6); - return pK - }, this.rv = function(pK) { - for (var ef = pK.length, rw = rs, ds = [], eJ = 0; eJ < ef; eJ++) ds.push(String.fromCharCode(rw[pK[eJ]])); + for (rv[0] = 45, rv[37] = 95, eJ = 0; eJ < 10; eJ++) rv[eJ + 1] = 48 + eJ; + for (eJ = 0; eJ < 26; eJ++) rv[eJ + 11] = 65 + eJ, rv[eJ + 38] = 97 + eJ + }, this.rw = function(rx) { + for (var pF = af, pN = new Uint8Array(rx), eJ = 0; eJ < rx; eJ++) pN[eJ] = pF.mQ(6); + return pN + }, this.ry = function(pN) { + for (var ef = pN.length, rz = rv, ds = [], eJ = 0; eJ < ef; eJ++) ds.push(String.fromCharCode(rz[pN[eJ]])); return ds.join("") } } function bV() { - var rx, ry, rz; - rx = [32, 65, 191, 913, 931], ry = [64, 127, 688, 930, 1155], rz = new Array(rx.length + 1); - for (var eJ = 0; eJ < rz.length; eJ++) { - rz[eJ] = 0; - for (var hd = eJ - 1; 0 <= hd; hd--) rz[eJ] += ry[hd] - rx[hd] + var s0, s1, s2; + s0 = [32, 65, 191, 913, 931], s1 = [64, 127, 688, 930, 1155], s2 = new Array(s0.length + 1); + for (var eJ = 0; eJ < s2.length; eJ++) { + s2[eJ] = 0; + for (var hg = eJ - 1; 0 <= hg; hg--) s2[eJ] += s1[hg] - s0[hg] } - function s5(iQ) { - for (var eJ = rx.length - 1; 0 <= eJ; eJ--) - if (iQ >= rx[eJ] && iQ < ry[eJ]) return eJ; + function s8(iT) { + for (var eJ = s0.length - 1; 0 <= eJ; eJ--) + if (iT >= s0[eJ] && iT < s1[eJ]) return eJ; return -1 } - this.pD = function(g3) { - return 0 !== (g3 = g3.trim()).indexOf("Bot ") && 0 !== g3.indexOf("[Bot] ") && function(g3, s2, s3) { + this.pG = function(g3) { + return 0 !== (g3 = g3.trim()).indexOf("Bot ") && 0 !== g3.indexOf("[Bot] ") && function(g3, s5, s6) { var ef = (g3 = g3.trim()).length; - if (ef < s2 || s3 < ef) return !1; - for (var iQ, s4 = 0, eJ = 0; eJ < ef; eJ++) - if (iQ = g3.charCodeAt(eJ), s4 += 65 <= iQ && iQ <= 90 || 1040 <= iQ && iQ <= 1071 ? 1 : 0, -1 === s5(iQ)) return !1; - if (3 < s4 && s4 > Math.floor(ef / 2)) return !1; + if (ef < s5 || s6 < ef) return !1; + for (var iT, s7 = 0, eJ = 0; eJ < ef; eJ++) + if (iT = g3.charCodeAt(eJ), s7 += 65 <= iT && iT <= 90 || 1040 <= iT && iT <= 1071 ? 1 : 0, -1 === s8(iT)) return !1; + if (3 < s7 && s7 > Math.floor(ef / 2)) return !1; return !0 }(g3, 3, 20) - }, this.s6 = function(g3) { + }, this.s9 = function(g3) { for (var ef = (g3 = g3.trim()).length, ds = [], eJ = 0; eJ < ef; eJ++) { - var iQ, em = s5(iQ = g3.charCodeAt(eJ)); - ds.push(rz[em] + iQ - rx[em]) + var iT, em = s8(iT = g3.charCodeAt(eJ)); + ds.push(s2[em] + iT - s0[em]) } return ds - }, this.pR = function(ds) { - for (var iQ, hm, g3 = "", ef = ds.length, eJ = 0; eJ < ef; eJ++) - for (hm = 1; hm < rz.length; hm++) - if (ds[eJ] < rz[hm]) { - iQ = rx[hm - 1] + ds[eJ] - rz[hm - 1], g3 += String.fromCharCode(iQ); + }, this.pU = function(ds) { + for (var iT, hp, g3 = "", ef = ds.length, eJ = 0; eJ < ef; eJ++) + for (hp = 1; hp < s2.length; hp++) + if (ds[eJ] < s2[hp]) { + iT = s0[hp - 1] + ds[eJ] - s2[hp - 1], g3 += String.fromCharCode(iT); break } return g3 - }, this.s7 = function(g3) { - for (var ds = this.s6(g3), result = "", eJ = 0; eJ < ds.length; eJ++) result = (result += ds[eJ] < 10 ? "00" : ds[eJ] < 100 ? "0" : "") + ds[eJ].toString(10); + }, this.sA = function(g3) { + for (var ds = this.s9(g3), result = "", eJ = 0; eJ < ds.length; eJ++) result = (result += ds[eJ] < 10 ? "00" : ds[eJ] < 100 ? "0" : "") + ds[eJ].toString(10); return result - }, this.s8 = function(g3) { + }, this.sB = function(g3) { for (var ds = new Array(Math.floor(g3.length / 3)), eJ = 0; eJ < g3.length; eJ += 3) ds[Math.floor(eJ / 3)] = parseInt(g3.substring(eJ, eJ + 3)); - return this.pR(ds) - }, this.s9 = function(g3) { + return this.pU(ds) + }, this.sC = function(g3) { for (var df, ds = [g3.length], eJ = 0; eJ < g3.length; eJ++) ds[eJ] = g3.charCodeAt(eJ) - 48; var result = ""; for (eJ = 0; eJ < g3.length; eJ++) eJ === g3.length - 1 || 51 < 10 * ds[eJ] + ds[eJ + 1] ? result += ds[eJ].toString() : (df = 10 * ds[eJ] + ds[eJ + 1], result += String.fromCharCode(df + (df < 26 ? 65 : 71)), eJ++); return result - }, this.sA = function(g3) { - for (var iQ, result = "", eJ = 0; eJ < g3.length; eJ++) 48 <= (iQ = g3.charCodeAt(eJ)) && iQ < 58 ? result += String.fromCharCode(iQ) : 65 <= iQ && iQ < 75 ? result += "0" + (iQ - 65).toString() : 75 <= iQ && iQ < 91 ? result += (iQ - 65) - .toString() : 97 <= iQ && iQ < 123 && (result += (iQ - 71).toString()); + }, this.sD = function(g3) { + for (var iT, result = "", eJ = 0; eJ < g3.length; eJ++) 48 <= (iT = g3.charCodeAt(eJ)) && iT < 58 ? result += String.fromCharCode(iT) : 65 <= iT && iT < 75 ? result += "0" + (iT - 65).toString() : 75 <= iT && iT < 91 ? result += (iT - 65) + .toString() : 97 <= iT && iT < 123 && (result += (iT - 71).toString()); return result - }, this.sB = function(g3) { - for (var ef = g3.length, ds = [], eJ = 0; eJ < ef; eJ++)(iQ = g3.charCodeAt(eJ)) < 58 ? ds.push(g3[eJ]) : (iQ -= iQ < 91 ? 65 : 71, ds.push(String(eX(iQ, 10))), ds.push(String(iQ - 10 * eX(iQ, 10)))); + }, this.sE = function(g3) { + for (var ef = g3.length, ds = [], eJ = 0; eJ < ef; eJ++)(iT = g3.charCodeAt(eJ)) < 58 ? ds.push(g3[eJ]) : (iT -= iT < 91 ? 65 : 71, ds.push(String(eX(iT, 10))), ds.push(String(iT - 10 * eX(iT, 10)))); var ef = ds.length - 2, - iQ = 0, - pK = []; - for (eJ = 0; eJ < ef; eJ += 3) pK[iQ++] = parseInt(ds[eJ] + ds[eJ + 1] + ds[eJ + 2]); - return pK - }, this.sC = function() { - for (var gV, sD = "", eJ = 0; eJ < 6; eJ++) gV = 48 + aM.random() % 36, gV += 58 <= gV ? 39 : 0, sD += String.fromCharCode(gV); - return sD + iT = 0, + pN = []; + for (eJ = 0; eJ < ef; eJ += 3) pN[iT++] = parseInt(ds[eJ] + ds[eJ + 1] + ds[eJ + 2]); + return pN + }, this.sF = function() { + for (var gY, sG = "", eJ = 0; eJ < 6; eJ++) gY = 48 + aM.random() % 36, gY += 58 <= gY ? 39 : 0, sG += String.fromCharCode(gY); + return sG } } function cV() { - this.sE = new sF, this.sG = new sH, this.result = new sI, this.fo = new sJ + this.sH = new sI, this.sJ = new sK, this.result = new sL, this.fo = new sM } -function sK() { - this.sL = function() {} +function sN() { + this.sO = function() {} } -function sJ() { - this.sM = function() { - var ef = iS, - qx = iT, - sN = []; +function sM() { + this.sP = function() { + var ef = iV, + r0 = iW, + sQ = []; for (let eJ = 0; eJ < ef; eJ++) { - var em = qx[eJ]; - a1.sO(em) && sN.push(em) + var em = r0[eJ]; + a1.sR(em) && sQ.push(em) } - return sN - }, this.sP = function() { - var ef = iS, - qx = iT; + return sQ + }, this.sS = function() { + var ef = iV, + r0 = iW; let dd = 0; var f5 = a6.f5; - for (let eJ = 0; eJ < ef; eJ++) dd += f5[qx[eJ]]; + for (let eJ = 0; eJ < ef; eJ++) dd += f5[r0[eJ]]; return dd } } -function sF() { - function sR() { - if (2 === b.se) return 1; - aJ.sf(), b.se = 2, b.sg = b.sh - } - - function sV() { - ap.result.sL(), ap.result.si(), l.sj(!0), l.sk(247, 0), t.j9(!0), u.j9(!0), aJ.j9(), ab.sl(), b.fS && b4.sm.sn(), b4.d3 = !0, b0.so(), b8.cy.setState(0) - } - this.sQ = function() { - sR() || (b.sS = 2, ap.result.sT(), l.sU(0, 59), g.kI(2700), v.show(!1, !1, !0), sV()) - }, this.sW = function(sX) { - if (!sR()) { - if (b.sS = 1, 8 === b.iq) { - sX = sX < 0 ? a6.f5[0] >= a6.f5[1] ? 0 : 1 : sX; - b.sZ = +(sX === b.ea), b.sZ ? l.sU(sX, 2) : l.sU(1 - b.ea, 3), b.sa.qz(sX) - } else if (b.hQ) b.sZ = +(b5.iR[b.ea] === b6.sb()), 9 === b.iq && l.sc(); - else { - let sY = jJ[0]; - b.sZ = +(sY === b.ea), l.sd(sY) - } - v.show(1 === b.sZ, !1), sV() - } - } -} - function sI() { - this.sp = 0, this.sN = null; - let sr = this.sq = 0; - this.ss = 0, this.sT = function() { - 0 !== a6.jP[b.ea] && a1.sO(b.ea) && 2 === b.sS && (b.sZ = 2) - }, this.sL = function() { - var t1; - this.sN = ap.fo.sM(), this.sp = b9.st.su(), b.iq < 7 && 2 !== b.sS ? this.sq = b6.sv() : this.sq = ap.fo.sP(), aX.fU.mK(), sr = .01 * a6.sz[b.ea] / 50, this.ss = 0, b.iq < 7 ? ap.sG.sL(this.sN) : 7 === b.iq || 10 === b.iq ? aZ.fU.fW(b - .ea) && (t1 = ap.result.sp * (1 + b.t2), 2 === b.sS ? ap.result.ss += t1 * a6.f5[b.ea] / ap.result.sq : jJ[0] === b.ea && (ap.result.ss += t1)) : 8 !== b.iq || 1 !== b.sZ || (ap.result.ss += 2, 0 === bA.dK.data[107].value) || 200 <= ( - t1 = bA.dK.data[108].value) || (ap.result.ss += .01 * (200 - t1) * 2 * (1 + (0 === t1))) - }, this.si = function() { - 0 !== sr && 0 !== ap.result.ss && l.t3(0, "🏆 You earned prize money of 🧈 " + ap.result.ss.toFixed(2) + ".", 40, 0, aa.gK, aa.ke, -1, !1) + function sU() { + if (2 === b.sh) return 1; + aJ.si(), b.sh = 2, b.sj = b.sk + } + + function sY() { + ap.result.sO(), ap.result.sl(), l.sm(!0), l.sn(247, 0), t.jC(!0), u.jC(!0), aJ.jC(), ab.so(), b.fS && b4.sp.sq(), b4.d3 = !0, b0.sr(), b8.cy.setState(0) + } + this.sT = function() { + sU() || (b.sV = 2, ap.result.sW(), l.sX(0, 59), g.kL(2700), v.show(!1, !1, !0), sY()) + }, this.sZ = function(sa) { + sU() || (b.sV = 1, 8 === b.it ? (b.sb = sa < 0 ? a6.f5[0] >= a6.f5[1] ? 0 : 1 : sa, b.sc = +(b.sb === b.ea), b.sc ? l.sX(b.sb, 2) : l.sX(1 - b.ea, 3), b.sd.r2(b.sb)) : b.hT ? (b.sc = +(b5.iU[b.ea] === b6.se()), 9 === b.it && l.sf()) : (b + .sb = jM[0], b.sc = +(b.sb === b.ea), l.sg(b.sb)), v.show(1 === b.sc, !1), sY()) } } -function sH() { - function tC(sN, tA) { - var gk = (b.iq + 2) * (1 + b.t2) * sN.length / (1e5 * ap.result.sq); - let tE = ""; - for (let eJ = 0; eJ < tA.length; eJ++) { - var tF = tA[eJ].tG * gk; - tE += " " + tA[eJ].name + ": " + aZ.jo.tH(1e6 * tF) - } - tE.length && (l.t3(0, "The following clans won these points:", 45, 0, aZ.color.kZ(225, 240, 255), aa.ke, -1, !1), l.t3(0, tE.trim(), 45, 0, aZ.color.kZ(225, 240, 255), aa.ke, -1, !1)) +function sL() { + this.ss = 0, this.sQ = null; + let su = this.st = 0; + this.sv = 0, this.sW = function() { + 0 !== a6.jS[b.ea] && a1.sR(b.ea) && 2 === b.sV && (b.sc = 2) + }, this.sO = function() { + var en, dd; + this.sQ = ap.fo.sP(), this.ss = b9.sw.sx(), b.it < 7 && 2 !== b.sV ? this.st = b6.sy() : this.st = ap.fo.sS(), 8 === b.it && 1 === b.sV ? (en = 1 - b.sb, dd = a6.f5[en], a6.f5[en] = 0, aX.fU.mN(), a6.f5[en] = dd) : aX.fU.mN(), su = .01 * + a6.t2[b.ea] / 50, this.sv = 0, b.it < 7 ? ap.sJ.sO(this.sQ) : 7 === b.it || 10 === b.it ? aZ.fU.fW(b.ea) && (en = ap.result.ss * (1 + b.t5), 2 === b.sV ? ap.result.sv += en * a6.f5[b.ea] / ap.result.st : jM[0] === b.ea && (ap.result + .sv += en)) : 8 !== b.it || 1 !== b.sc || (ap.result.sv += 2, 0 === bA.dK.data[107].value) || 200 <= (dd = bA.dK.data[108].value) || (ap.result.sv += .01 * (200 - dd) * 2 * (1 + (0 === dd))) + }, this.sl = function() { + 0 !== su && 0 !== ap.result.sv && l.t6(0, "🏆 You earned prize money of 🧈 " + ap.result.sv.toFixed(2) + ".", 40, 0, aa.gN, aa.kh, -1, !1) } - this.sL = function(sN) { - var t4 = b5.t5[b6.t6()], - t7 = b5.fz[t4], - t7 = (o.t8("Team " + t7, 2, 1, 12), l.t3(0, "Team " + t7 + " won the game!", 40, 0, aa.gK, aa.ke, -1, !1), b.sZ && aZ.fU.fW(b.ea) && (ap.result.ss += .125 * ap.result.sp * (1 + b.t2) * (b.iq + 2) * a6.f5[b.ea] / ap.result.sq), - function(qx) { - var tA = [], - username = a6.tI, - ef = qx.length; +} + +function sK() { + function tF(sQ, tD) { + var gn = (b.it + 2) * (1 + b.t5) * sQ.length / (1e5 * ap.result.st); + let tH = ""; + for (let eJ = 0; eJ < tD.length; eJ++) { + var tI = tD[eJ].tJ * gn; + tH += " " + tD[eJ].name + ": " + aZ.jr.tK(1e6 * tI) + } + tH.length && (l.t6(0, "The following clans won these points:", 45, 0, aZ.color.kc(225, 240, 255), aa.kh, -1, !1), l.t6(0, tH.trim(), 45, 0, aZ.color.kc(225, 240, 255), aa.kh, -1, !1)) + } + this.sO = function(sQ) { + var t7 = b5.t8[b6.t9()], + tA = b5.fz[t7], + tA = (o.tB("Team " + tA, 2, 1, 12), l.t6(0, "Team " + tA + " won the game!", 40, 0, aa.gN, aa.kh, -1, !1), b.sc && aZ.fU.fW(b.ea) && (ap.result.sv += .125 * ap.result.ss * (1 + b.t5) * (b.it + 2) * a6.f5[b.ea] / ap.result.st), + function(r0) { + var tD = [], + username = a6.tL, + ef = r0.length; loop: for (let eJ = 0; eJ < ef; eJ++) { - var em = qx[eJ], - tJ = aZ.jo.tK(username[em]); - if (tJ) { - for (let hd = tA.length - 1; 0 <= hd; hd--) - if (tA[hd].name === tJ) { - tA[hd].tG += a6.f5[em]; + var em = r0[eJ], + tM = aZ.jr.tN(username[em]); + if (tM) { + for (let hg = tD.length - 1; 0 <= hg; hg--) + if (tD[hg].name === tM) { + tD[hg].tJ += a6.f5[em]; continue loop - } tA.push({ - name: tJ, - tG: a6.f5[em], - tL: b5.iR[em] + } tD.push({ + name: tM, + tJ: a6.f5[em], + tO: b5.iU[em] }) } } - return tA - }(sN)); - t7.length && (2 === b.sS ? tC(sN, t7) : tC(sN, function(tA, t4) { - for (let eJ = tA.length - 1; 0 <= eJ; eJ--) b5.t5[tA[eJ].tL] !== t4 && tA.splice(eJ, 1); - return tA - }(t7, t4))) + return tD + }(sQ)); + tA.length && (2 === b.sV ? tF(sQ, tA) : tF(sQ, function(tD, t7) { + for (let eJ = tD.length - 1; 0 <= eJ; eJ--) b5.t8[tD[eJ].tO] !== t7 && tD.splice(eJ, 1); + return tD + }(tA, t7))) } } function cb() { - this.id = 0, this.dg = 0, this.oo = null, this.op = null, this.oq = null, this.or = null, this.cy = new tM, this.ct = function() { + this.id = 0, this.dg = 0, this.or = null, this.os = null, this.ot = null, this.ou = null, this.cy = new tP, this.ct = function() { var self, dg; - self = this, "undefined" == typeof Android || (dg = Android.getVersion()) < 12 || (self.dg = dg, self.id = 1, self.op = Android), + self = this, "undefined" == typeof Android || (dg = Android.getVersion()) < 12 || (self.dg = dg, self.id = 1, self.os = Android), function(self) { var dg; - "undefined" != typeof mwIOSdataX && window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.iosCommandA && (self.id = 2, self.oq = mwIOSdataX, self.or = window.webkit.messageHandlers.iosCommandA, dg = self - .oq.version, self.dg = dg ? Number(dg) : 0) + "undefined" != typeof mwIOSdataX && window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.iosCommandA && (self.id = 2, self.ot = mwIOSdataX, self.ou = window.webkit.messageHandlers.iosCommandA, dg = self + .ot.version, self.dg = dg ? Number(dg) : 0) }(this), function(self) { - var oo; + var or; if (0 === self.id) { try { - if (!(oo = window.localStorage)) return; - oo.setItem("tls7", "1"), oo.removeItem("tls7") + if (!(or = window.localStorage)) return; + or.setItem("tls7", "1"), or.removeItem("tls7") } catch (error) { return } - self.oo = oo + self.or = or } }(this) } } -function tM() { - this.tQ = function() { - bA.nm.p5(), bA.nm.p6(), aO.j1.close(0, 3255), 0 === b8.id ? b8.oo && b8.oo.clear() : 1 === b8.id ? b8.op.saveString(199, "") : 2 === b8.id && b8.or.postMessage("clear") - }, this.tR = function() { - 2 === b8.id ? b8.or.postMessage("showConsentForm") : 1 === b8.id ? b8.op.setState(7) : au.dM.showCMPScreen() - }, this.tS = function() { +function tP() { + this.tT = function() { + bA.np.p8(), bA.np.p9(), aO.j4.close(0, 3255), 0 === b8.id ? b8.or && b8.or.clear() : 1 === b8.id ? b8.os.saveString(199, "") : 2 === b8.id && b8.ou.postMessage("clear") + }, this.tU = function() { + 2 === b8.id ? b8.ou.postMessage("showConsentForm") : 1 === b8.id ? b8.os.setState(7) : au.dM.showCMPScreen() + }, this.tV = function() { this.setState(14) - }, this.tT = function() { - var g3 = bA.dK.ok(101), + }, this.tW = function() { + var g3 = bA.dK.on(101), max = ("string" != typeof(g3 = "" === g3 ? function() { { - if (2 === b8.id) return b8.oq.password; - if (1 === b8.id) return 12 <= b8.dg ? b8.op.loadString(22) : "" + if (2 === b8.id) return b8.ot.password; + if (1 === b8.id) return 12 <= b8.dg ? b8.os.loadString(22) : "" } - return a2.tW(9) + return a2.tZ(9) }() : g3) && (g3 = ""), Math.floor(Math.pow(2, 48))), - tV = Math.floor(parseInt(i.sA(g3))); - return 0 < tV && tV < max ? bA.dK.dL(101, g3) : (tV = Math.floor(1 + (max - 1) * Math.random()), bA.dK.dL(101, g3)), tV + tY = Math.floor(parseInt(i.sD(g3))); + return 0 < tY && tY < max ? bA.dK.dL(101, g3) : (tY = Math.floor(1 + (max - 1) * Math.random()), bA.dK.dL(101, g3)), tY }, this.g0 = function() { - return 1 === bA.dK.oj(2) - }, this.tX = function() { + return 1 === bA.dK.om(2) + }, this.ta = function() { bA.dK.dL(102, "") }, this.setState = function(db) { - 1 === b8.id && 5 <= b8.dg && b8.op.setState(db) - }, this.tY = function() { - var tZ; - 1 === b8.id && 7 <= b8.dg ? b8.op.setState(5) : ((tZ = new URL(window.location)).searchParams.set("v", "" + Math.floor(1e3 * Math.random())), window.location.href = tZ.toString()) + 1 === b8.id && 5 <= b8.dg && b8.os.setState(db) + }, this.tb = function() { + var tc; + 1 === b8.id && 7 <= b8.dg ? b8.os.setState(5) : ((tc = new URL(window.location)).searchParams.set("v", "" + Math.floor(1e3 * Math.random())), window.location.href = tc.toString()) }, this.cz = function() { - 1 !== b8.id || b8.dg < 17 || b8.op.saveString(23, document.documentElement.outerHTML) + 1 !== b8.id || b8.dg < 17 || b8.os.saveString(23, document.documentElement.outerHTML) }, this.dQ = function() { - 0 === b8.id ? au.dM.ct() : 1 === b8.id ? b8.op.prepareAd("1688441405") : 2 === b8.id && (0 === b8.dg ? b8.or.postMessage("prepare ad 4500876070") : b8.or.postMessage("loadAds 4500876070")) + 0 === b8.id ? au.dM.ct() : 1 === b8.id ? b8.os.prepareAd("1688441405") : 2 === b8.id && (0 === b8.dg ? b8.ou.postMessage("prepare ad 4500876070") : b8.ou.postMessage("loadAds 4500876070")) }, this.de = function(dd) { - return 0 === b8.id ? !!au.dM.dZ() : 1 === b8.id ? 12 <= b8.dg && (b8.op.presentAd(dd), !0) : 2 === b8.id && (0 === b8.dg ? b8.or.postMessage("show ad " + dd) : b8.or.postMessage("showAd"), !0) + return 0 === b8.id ? !!au.dM.dZ() : 1 === b8.id ? 12 <= b8.dg && (b8.os.presentAd(dd), !0) : 2 === b8.id && (0 === b8.dg ? b8.ou.postMessage("show ad " + dd) : b8.ou.postMessage("showAd"), !0) }, this.d7 = function() { - 2 === b8.id && b8.dg < 23 && at.d5(4, 1, new ta("App Update Required", "A new iOS app version with bug fixes has been published.
Please download the new Territorial.io app version for iOS:
" + - ai.tb + "", !0, [new nQ("❌ " + aW.nl[92], function() { + 2 === b8.id && b8.dg < 23 && at.d5(4, 1, new td("App Update Required", "A new iOS app version with bug fixes has been published.
Please download the new Territorial.io app version for iOS:
" + + ai.te + "", !0, [new nT("❌ " + aW.no[92], function() { at.d5(0) - }, aa.lG)])) + }, aa.lJ)])) } } function cq() { - function to(title, tE, dI) { - ti(dI), at.d5(4, 5, new ta("⚠️ " + title, tE, !0)) + function tr(title, tH, dI) { + tl(dI), at.d5(4, 5, new td("⚠️ " + title, tH, !0)) } - function ti(dI) { + function tl(dI) { ! function(dI) { - var db = y.th(); - 0 !== db && (6 === db ? aO.j1.ts(dI) : 7 === db ? (aH.tt(), aO.j1.close(aO.j1.tl, 3256)) : 8 === db && b.tu(!0)) - }(dI), at.j1.tr() + var db = y.tk(); + 0 !== db && (6 === db ? aO.j4.tv(dI) : 7 === db ? (aH.tw(), aO.j4.close(aO.j4.to, 3256)) : 8 === db && b.tx(!0)) + }(dI), at.j4.tu() } - this.tc = function(td, dI) { - if (8 === at.te && 0 === td) at.d5(4, 0, new ta("⚠️ " + aW.tf(64), aW.tg(dI), !0)); + this.tf = function(tg, dI) { + if (8 === at.th && 0 === tg) at.d5(4, 0, new td("⚠️ " + aW.ti(64), aW.tj(dI), !0)); else { - var db = y.th(); + var db = y.tk(); if (6 === db) { - if (4211 === dI) return ti(dI), void at.d5(4, 5, new ta("🚀 " + aW.nl[122], aW.nl[123], !0, [new nQ("❌ " + aW.nl[92], function() { - at.tj() - }, aa.lG), new nQ("🔄 " + aW.nl[124], function() { - b8.cy.tY() - }, aa.l0)])); - if (4214 !== dI) return void x.tk(td) + if (4211 === dI) return tl(dI), void at.d5(4, 5, new td("🚀 " + aW.no[122], aW.no[123], !0, [new nT("❌ " + aW.no[92], function() { + at.tm() + }, aa.lJ), new nT("🔄 " + aW.no[124], function() { + b8.cy.tb() + }, aa.l3)])); + if (4214 !== dI) return void x.tn(tg) } else { - if (7 !== db) return 8 === db ? void(td !== aO.j1.tm || b.is || 1 !== b.se || l.tn(aW.tg(dI))) : void 0; - if (td !== aO.j1.tl) return + if (7 !== db) return 8 === db ? void(tg !== aO.j4.tp || b.iv || 1 !== b.sh || l.tq(aW.tj(dI))) : void 0; + if (tg !== aO.j4.to) return } - to(aW.tf(64), aW.tg(dI), dI) + tr(aW.ti(64), aW.tj(dI), dI) } - }, this.tp = function(dI) { - 8 === y.th() ? b.is || 1 !== b.se || l.tn(aW.tg(dI)) : to(aW.tf(64), aW.tg(dI), dI) + }, this.ts = function(dI) { + 8 === y.tk() ? b.iv || 1 !== b.sh || l.tq(aW.tj(dI)) : tr(aW.ti(64), aW.tj(dI), dI) } } function bG() { - var tv, tw; + var ty, tz; - function tx() { + function u0() { var gA = new cM; - gA.d4(1612), gA.pM(1, 0), gA.pM(6, 7), gA.pM(2, b8 ? b8.id : 3), gA.pM(1, dD ? 1 : 0), gA.pM(1, dF ? 1 : 0), gA.pM(1, a ? a.d9 : 0); - for (let eJ = 0; eJ < tw.length && eJ < 100; eJ++) gA.pM(16, tw.charCodeAt(eJ)); - tv.send(gA.mM), ty() + gA.d4(1612), gA.pP(1, 0), gA.pP(6, 7), gA.pP(2, b8 ? b8.id : 3), gA.pP(1, dD ? 1 : 0), gA.pP(1, dF ? 1 : 0), gA.pP(1, a ? a.d9 : 0); + for (let eJ = 0; eJ < tz.length && eJ < 100; eJ++) gA.pP(16, tz.charCodeAt(eJ)); + ty.send(gA.mP), u1() } - function ty() { - tv && (tv.onclose = null, tv.onopen = null, tv = null) + function u1() { + ty && (ty.onclose = null, ty.onopen = null, ty = null) } window.addEventListener("error", function error(dI) { window.removeEventListener("error", error); return alert("Error:\n" + dI.filename + " " + dI.lineno + " " + dI.colno + " " + dI.message); - window.removeEventListener("error", error), tw = dI.lineno + " " + dI.colno + " " + dI.message, (tv = new WebSocket("wss://territorial.io/s52/")).onopen = tx, tv.onclose = function() { - ty() - }, 0 === dI.lineno && 0 === dI.colno || (b8 && 1 === b8.id ? b8.op.showToast(tw) : alert(tw)) + window.removeEventListener("error", error), tz = dI.lineno + " " + dI.colno + " " + dI.message, (ty = new WebSocket("wss://territorial.io/s52/")).onopen = u0, ty.onclose = function() { + u1() + }, 0 === dI.lineno && 0 === dI.colno || (b8 && 1 === b8.id ? b8.os.showToast(tz) : alert(tz)) }) } function cP() { - var tz, u0, u1 = -15e3, - u2 = !1; + var u2, u3, u4 = -15e3, + u5 = !1; function fX(dI) { - uL() || (u2 = !0, uM(dI, 1), aO.j1.uN(aO.j1.tm), uO(Math.floor(aL.nK * dI.clientX), Math.floor(aL.nK * dI.clientY))) - } - - function uA(dI) { - u1 = b4.dc, uM(dI, 1), aO.j1.uN(aO.j1.tm), 0 < dI.touches.length && (tz = Math.floor(aL.nK * dI.touches[0].clientX), u0 = Math.floor(aL.nK * dI.touches[0].clientY), aF.uA(dI) || uO(tz, u0)) - } - - function uO(fO, fP) { - 0 === b.se ? y.fX(fO, fP) : ab.uP(fO, fP) || b3.fX(fO, fP) || v.fX(fO, fP) || j.uQ(fO, fP) || n.fX(fO, fP) || k.fX(fO, fP) || ah.uR(fO, fP) || aJ.fX(fO, fP) || j.uS(fO, fP) - } - - function u6(dI) { - uL() || (u2 = !0, uM(dI, 1), uT(Math.floor(aL.nK * dI.clientX), Math.floor(aL.nK * dI.clientY))) - } - - function uB(dI) { - u1 = b4.dc, uM(dI, 1), 0 < dI.touches.length && (tz = Math.floor(aL.nK * dI.touches[0].clientX), u0 = Math.floor(aL.nK * dI.touches[0].clientY), aF.uB(dI) || uT(tz, u0)) - } - - function uT(fO, fP) { - 0 === b.se ? y.u6(fO, fP) : (ar.fN(fO, fP), b3.u6(fO, fP) || (k.u6(fO, fP), j.rA() ? j.u6(fO, fP) : p.fY ? p.u6(fO) && (b4.d3 = !0) : (t.u6(fO, fP), q.kE && q.u6(fO, fP) && (b4.d3 = !0)))) - } - - function u8(dI) { - uL() || (uM(dI, 1), 0 === b.se ? (y.click(-1024, -1024), r.uU()) : (t.uV(-1024, -1024), k.u6(-1024, -1024), p.uW(), q.kE && (q.kE = !1))) - } - - function u7(dI) { - uL() || (uM(dI, 1), uX(Math.floor(aL.nK * dI.clientX), Math.floor(aL.nK * dI.clientY), 2 === dI.button)) - } - - function click(dI) { - uL() || uM(dI, 1) - } - - function uC(dI) { - u1 = b4.dc, uM(dI, 1), dI && dI.touches && 0 < dI.touches.length && 0 !== b.se ? q.kE = !1 : aF.uY() || uX(tz, u0, !1) + uO() || (u5 = !0, uP(dI, 1), aO.j4.uQ(aO.j4.tp), uR(Math.floor(aL.nN * dI.clientX), Math.floor(aL.nN * dI.clientY))) } function uD(dI) { - u1 = b4.dc, uM(dI, 1), uX(tz, u0, !1) + u4 = b4.dc, uP(dI, 1), aO.j4.uQ(aO.j4.tp), 0 < dI.touches.length && (u2 = Math.floor(aL.nN * dI.touches[0].clientX), u3 = Math.floor(aL.nN * dI.touches[0].clientY), aF.uD(dI) || uR(u2, u3)) } - function uE(dI) { - aU.uE(dI) - } - - function uF(dI) { - aU.uF(dI) - } - - function uG(dI) { - uL() || uM(dI, 0) - } - - function uX(fO, fP, uZ) { - 0 === b.se ? y.click(fO, fP) : (t.uV(fO, fP), b3.uV(), p.uW(), q.kE = !1, j.click(fO, fP, uZ) && (b4.d3 = !0)) + function uR(fO, fP) { + 0 === b.sh ? y.fX(fO, fP) : ab.uS(fO, fP) || b3.fX(fO, fP) || v.fX(fO, fP) || j.uT(fO, fP) || n.fX(fO, fP) || k.fX(fO, fP) || ah.uU(fO, fP) || aJ.fX(fO, fP) || j.uV(fO, fP) } function u9(dI) { - var fO, fP, deltaY; - uL() || (uM(dI, 1), aO.j1.uN(aO.j1.tm), fO = Math.floor(aL.nK * dI.clientX), fP = Math.floor(aL.nK * dI.clientY), deltaY = dI.deltaY, 1 === dI.deltaMode && (deltaY *= 16), 0 === b.se ? y.u9(fO, fP, deltaY) : t.u9(fO, fP, deltaY) || (p.ua(fO, - fP) ? p.u9(deltaY) && (b4.d3 = !0) : q.u9(fO, fP, +deltaY))) + uO() || (u5 = !0, uP(dI, 1), uW(Math.floor(aL.nN * dI.clientX), Math.floor(aL.nN * dI.clientY))) + } + + function uE(dI) { + u4 = b4.dc, uP(dI, 1), 0 < dI.touches.length && (u2 = Math.floor(aL.nN * dI.touches[0].clientX), u3 = Math.floor(aL.nN * dI.touches[0].clientY), aF.uE(dI) || uW(u2, u3)) + } + + function uW(fO, fP) { + 0 === b.sh ? y.u9(fO, fP) : (ar.fN(fO, fP), b3.u9(fO, fP) || (k.u9(fO, fP), j.rD() ? j.u9(fO, fP) : p.fY ? p.u9(fO) && (b4.d3 = !0) : (t.u9(fO, fP), q.kH && q.u9(fO, fP) && (b4.d3 = !0)))) + } + + function uB(dI) { + uO() || (uP(dI, 1), 0 === b.sh ? (y.click(-1024, -1024), r.uX()) : (t.uY(-1024, -1024), k.u9(-1024, -1024), p.uZ(), q.kH && (q.kH = !1))) + } + + function uA(dI) { + uO() || (uP(dI, 1), ua(Math.floor(aL.nN * dI.clientX), Math.floor(aL.nN * dI.clientY), 2 === dI.button)) + } + + function click(dI) { + uO() || uP(dI, 1) + } + + function uF(dI) { + u4 = b4.dc, uP(dI, 1), dI && dI.touches && 0 < dI.touches.length && 0 !== b.sh ? q.kH = !1 : aF.ub() || ua(u2, u3, !1) + } + + function uG(dI) { + u4 = b4.dc, uP(dI, 1), ua(u2, u3, !1) } function uH(dI) { - uM(dI, 0) - } - - function uM(dI, id) { - 0 === id && at.rA() || (id = window.innerWidth / document.documentElement.clientWidth) < .999 || 1.001 < id || 0 !== y.th() && dI.preventDefault() - } - - function uJ(dI) { - if (keybindHandler(dI.key)) return; - uL() || ("ArrowLeft" === dI.key ? aC.uc(3) : "ArrowUp" === dI.key ? aC.uc(0) : "ArrowRight" === dI.key ? aC.uc(1) : "ArrowDown" === dI.key ? aC.uc(2) : "a" === dI.key ? p.ud(.9375) : "d" === dI.key ? p.ud(16 / 15) : "s" === dI.key ? p.ud(7 / - 8) : "w" === dI.key ? p.ud(8 / 7) : "1" === dI.key ? p.ud(.75) : "2" === dI.key ? p.ud(7 / 8) : "3" === dI.key ? p.ud(.9375) : "4" === dI.key ? p.ud(31 / 32) : "5" === dI.key ? p.ud(32 / 31) : "6" === dI.key ? p.ud(16 / 15) : - "7" === dI.key ? p.ud(8 / 7) : "8" === dI.key ? p.ud(4 / 3) : "+" === dI.key ? 0 !== b.se && q.u9(Math.floor(aL.gA / 2), Math.floor(aL.gF / 2), -200) : "-" === dI.key ? 0 !== b.se && q.u9(Math.floor(aL.gA / 2), Math.floor(aL.gF / 2), - 200) : "c" === dI.key ? 0 !== b.se && b3.ue() : " " === dI.key ? b.se && ar.fQ(!1) : "b" === dI.key && b.se && ar.fQ(!0)) + aU.uH(dI) } function uI(dI) { - uL() || b4.dc < 400 || at.uf(dI) || (8 !== y.th() && y.uf(dI) ? b4.d3 = !0 : "Escape" === dI.key ? y.dh() : "ArrowLeft" === dI.key || "a" === dI.key ? aC.ug(3) : "ArrowUp" === dI.key || "w" === dI.key ? aC.ug(0) : "ArrowRight" === dI.key || - "d" === dI.key ? aC.ug(1) : "ArrowDown" === dI.key || "s" === dI.key ? aC.ug(2) : "h" === dI.key ? 1 <= b.se && ab.uh(!b.kD) : " " === dI.key && b.se && (k.fT && k.ui(), b.fS) && ab.uj(!1)) + aU.uI(dI) } - function uK() { - "hidden" === document.visibilityState ? 1 === b.se && (b.fS ? ab.uk() : !b.is || k.fT || b.fj || k.ui()) : b4.d3 = !0 + function uJ(dI) { + uO() || uP(dI, 0) } - function uL() { - return u1 + 15e3 > b4.dc + function ua(fO, fP, uc) { + 0 === b.sh ? y.click(fO, fP) : (t.uY(fO, fP), b3.uY(), p.uZ(), q.kH = !1, j.click(fO, fP, uc) && (b4.d3 = !0)) + } + + function uC(dI) { + var fO, fP, deltaY; + uO() || (uP(dI, 1), aO.j4.uQ(aO.j4.tp), fO = Math.floor(aL.nN * dI.clientX), fP = Math.floor(aL.nN * dI.clientY), deltaY = dI.deltaY, 1 === dI.deltaMode && (deltaY *= 16), 0 === b.sh ? y.uC(fO, fP, deltaY) : t.uC(fO, fP, deltaY) || (p.ud(fO, + fP) ? p.uC(deltaY) && (b4.d3 = !0) : q.uC(fO, fP, +deltaY))) + } + + function uK(dI) { + uP(dI, 0) + } + + function uP(dI, id) { + 0 === id && at.rD() || (id = window.innerWidth / document.documentElement.clientWidth) < .999 || 1.001 < id || 0 !== y.tk() && dI.preventDefault() + } + + function uM(dI) { + if (keybindHandler(dI.key)) return; + uO() || ("ArrowLeft" === dI.key ? aC.uf(3) : "ArrowUp" === dI.key ? aC.uf(0) : "ArrowRight" === dI.key ? aC.uf(1) : "ArrowDown" === dI.key ? aC.uf(2) : "a" === dI.key ? p.ug(.9375) : "d" === dI.key ? p.ug(16 / 15) : "s" === dI.key ? p.ug(7 / + 8) : "w" === dI.key ? p.ug(8 / 7) : "1" === dI.key ? p.ug(.75) : "2" === dI.key ? p.ug(7 / 8) : "3" === dI.key ? p.ug(.9375) : "4" === dI.key ? p.ug(31 / 32) : "5" === dI.key ? p.ug(32 / 31) : "6" === dI.key ? p.ug(16 / 15) : + "7" === dI.key ? p.ug(8 / 7) : "8" === dI.key ? p.ug(4 / 3) : "+" === dI.key ? 0 !== b.sh && q.uC(Math.floor(aL.gA / 2), Math.floor(aL.gF / 2), -200) : "-" === dI.key ? 0 !== b.sh && q.uC(Math.floor(aL.gA / 2), Math.floor(aL.gF / 2), + 200) : "c" === dI.key ? 0 !== b.sh && b3.uh() : " " === dI.key ? b.sh && ar.fQ(!1) : "b" === dI.key && b.sh && ar.fQ(!0)) + } + + function uL(dI) { + uO() || b4.dc < 400 || at.ui(dI) || (8 !== y.tk() && y.ui(dI) ? b4.d3 = !0 : "Escape" === dI.key ? y.dh() : "ArrowLeft" === dI.key || "a" === dI.key ? aC.uj(3) : "ArrowUp" === dI.key || "w" === dI.key ? aC.uj(0) : "ArrowRight" === dI.key || + "d" === dI.key ? aC.uj(1) : "ArrowDown" === dI.key || "s" === dI.key ? aC.uj(2) : "h" === dI.key ? 1 <= b.sh && ab.uk(!b.kG) : " " === dI.key && b.sh && (k.fT && k.ul(), b.fS) && ab.um(!1)) + } + + function uN() { + "hidden" === document.visibilityState ? 1 === b.sh && (b.fS ? ab.un() : !b.iv || k.fT || b.fj || k.ul()) : b4.d3 = !0 + } + + function uO() { + return u4 + 15e3 > b4.dc } function resize() { - aL.un() + aL.uq() } - this.u3 = 0, this.u4 = "", this.ct = function() { - u5.addEventListener("mousedown", fX, { + this.u6 = 0, this.u7 = "", this.ct = function() { + u8.addEventListener("mousedown", fX, { passive: !1 - }), u5.addEventListener("mousemove", u6, { + }), u8.addEventListener("mousemove", u9, { passive: !1 - }), u5.addEventListener("mouseup", u7, { + }), u8.addEventListener("mouseup", uA, { passive: !1 - }), u5.addEventListener("click", click, { + }), u8.addEventListener("click", click, { passive: !1 - }), u5.addEventListener("mouseleave", u8, { + }), u8.addEventListener("mouseleave", uB, { passive: !1 - }), u5.addEventListener("wheel", u9, { + }), u8.addEventListener("wheel", uC, { passive: !1 - }), u5.addEventListener("touchstart", uA, { + }), u8.addEventListener("touchstart", uD, { passive: !1 - }), u5.addEventListener("touchmove", uB, { + }), u8.addEventListener("touchmove", uE, { passive: !1 - }), u5.addEventListener("touchend", uC, { + }), u8.addEventListener("touchend", uF, { passive: !1 - }), u5.addEventListener("touchcancel", uD, { + }), u8.addEventListener("touchcancel", uG, { passive: !1 - }), u5.addEventListener("dragover", uE), u5.addEventListener("drop", uF), u5.addEventListener("dblclick", uG), document.addEventListener("contextmenu", uH), document.addEventListener("keyup", uI), document.addEventListener("keydown", - uJ), document.addEventListener("visibilitychange", uK), window.addEventListener("resize", resize) - }, this.uR = function(fO, fP) { + }), u8.addEventListener("dragover", uH), u8.addEventListener("drop", uI), u8.addEventListener("dblclick", uJ), document.addEventListener("contextmenu", uK), document.addEventListener("keyup", uL), document.addEventListener("keydown", + uM), document.addEventListener("visibilitychange", uN), window.addEventListener("resize", resize) + }, this.uU = function(fO, fP) { return !!ab.fX(fO, fP) || !!(t.fX(fO, fP) || q.fX(fO, fP) || p.fX(fO, fP) || l.fX(fO, fP)) - }, this.ul = uL, this.um = function() { - return !u2 || 0 < u1 + }, this.uo = uO, this.up = function() { + return !u5 || 0 < u4 } } function bK() { - this.g5 = new uo, this.ph = new up, this.fU = new uq, this.jo = new ur, this.qo = new us, this.ut = new uu, this.gS = new uv, this.color = new uw, this.ct = function() { - this.g5.p4() - } -} - -function up() { - this.pi = function(ds) { - ds.fill(0) - }, this.ux = function(ds) { - for (var ef = ds.length, eJ = 0; eJ < ef; eJ++) ds[eJ] = [] - }, this.uy = function(gf, fy) { - for (var gg = am.dm, eJ = 0; eJ < 3; eJ++) gg[eJ] = fy * gf[eJ]; - return gg - }, this.uz = function(gf, gg, v0) { - for (var gk = 0, eJ = 0; eJ < 3; eJ++) gk += Math.abs(gf[eJ] - gg[eJ]); - return v0 <= gk - }, this.v1 = function(gf, v2) { - for (var eJ = 0; eJ < 3; eJ++) gf[eJ] = aj.mu(gf[eJ] + v2, 0, 255); - return gf - }, this.v3 = function(ds, v4 = 0, v5 = ds.length - 1) { - for (var v6 = 0, eJ = v4; eJ <= v5; eJ++) v6 += ds[eJ]; - return v6 - }, this.v7 = function(ds, v8) { - for (var eJ, v9, ef = ds.length, vA = [], hd = ef - 1; 0 <= hd; hd--) { - for (eJ = v9 = 0; eJ < ef; eJ++) v8(ds[eJ]) < v8(ds[v9]) && (v9 = eJ); - ef--, vA.push(ds[v9]), ds[v9] = ds[ef], ds.pop() - } - return vA - } -} - -function uv() { - this.rQ = function(vB, g4, vC) { - var gM = vB.height, - vD = aZ.g5.pX(gM, gM), - gT = aZ.g5.getContext(vD); - return function(gA, gT, vC) { - gT.fillStyle = vC, gT.beginPath(), gT.arc(gA / 2, gA / 2, .47 * gA, 0, 2 * Math.PI), gT.fill() - }(gM, gT, vC), gT.drawImage(vB, -g4 * gM, 0), vD - }, this.vF = function(vG) { - var gM = vG.height, - gT = aZ.g5.getContext(vG, !0), - gP = gT.getImageData(0, 0, gM, gM); - return aZ.ut.vH(gP.data, gM, gM, .9), gT.putImageData(gP, 0, 0), vG - } -} - -function uw() { - this.vI = function(df) { - return [df >> 12 & 63, df >> 6 & 63, 63 & df] - }, this.nx = function(df) { - var ds = this.vI(df); - for (let eJ = 0; eJ < 3; eJ++) ds[eJ] = ~~(4.05 * ds[eJ]); - return ds - }, this.nz = function(ds) { - for (let eJ = 0; eJ < 3; eJ++) ds[eJ] = ~~(ds[eJ] / 4.04); - return (ds[0] << 12) + (ds[1] << 6) + ds[2] - }, this.kZ = function(gV, vJ, hm) { - return "rgb(" + gV + "," + vJ + "," + hm + ")" - }, this.kb = function(gV, vJ, hm, hd) { - return "rgba(" + gV + "," + vJ + "," + hm + "," + hd.toFixed(3) + ")" - }, this.na = function(iQ) { - var ds = iQ.split("(")[1].split(","), - dl = (ds.length, am.dl); - for (let eJ = 0; eJ < 3; eJ++) dl[eJ] = parseInt(ds[eJ]); - return dl - }, this.nW = function(vK, eo) { - var ds = vK.slice(vK.indexOf("(") + 1, vK.indexOf(")")).split(","), - dl = am.dl; - for (let eJ = 0; eJ < 3; eJ++) dl[eJ] = aj.mu(parseInt(ds[eJ].trim(), 10) + eo, 0, 255); - return 3 === ds.length ? this.kZ(dl[0], dl[1], dl[2]) : this.kb(dl[0], dl[1], dl[2], parseFloat(ds[3].trim())) - }, this.nw = function(ds) { - let g3 = "#"; - for (let eJ = 0; eJ < 3; eJ++) { - var gV = ds[eJ].toString(16); - g3 += 1 === gV.length ? "0" + gV : gV - } - return g3 - }, this.o0 = function(g3) { - var gV, vJ; - return g3.length < 7 ? aa.jm : (gV = parseInt(g3.slice(1, 3), 16), vJ = parseInt(g3.slice(3, 5), 16), g3 = parseInt(g3.slice(5, 7), 16), this.kZ(gV, vJ, g3)) + this.g5 = new ur, this.pk = new us, this.fU = new ut, this.jr = new uu, this.qr = new uv, this.uw = new ux, this.gV = new uy, this.color = new uz, this.ct = function() { + this.g5.p7() } } function us() { - this.vL = function(g3, font, maxWidth) { - if (gJ.font = font, gJ.measureText(g3).width <= maxWidth) return g3; + this.pl = function(ds) { + ds.fill(0) + }, this.v0 = function(ds) { + for (var ef = ds.length, eJ = 0; eJ < ef; eJ++) ds[eJ] = [] + }, this.v1 = function(gi, fy) { + for (var gj = am.dm, eJ = 0; eJ < 3; eJ++) gj[eJ] = fy * gi[eJ]; + return gj + }, this.v2 = function(gi, gj, v3) { + for (var gn = 0, eJ = 0; eJ < 3; eJ++) gn += Math.abs(gi[eJ] - gj[eJ]); + return v3 <= gn + }, this.v4 = function(gi, v5) { + for (var eJ = 0; eJ < 3; eJ++) gi[eJ] = aj.mx(gi[eJ] + v5, 0, 255); + return gi + }, this.v6 = function(ds, gI = 0, gJ = ds.length - 1) { + for (var v7 = 0, eJ = gI; eJ <= gJ; eJ++) v7 += ds[eJ]; + return v7 + }, this.v8 = function(ds, v9) { + for (var eJ, vA, ef = ds.length, vB = [], hg = ef - 1; 0 <= hg; hg--) { + for (eJ = vA = 0; eJ < ef; eJ++) v9(ds[eJ]) < v9(ds[vA]) && (vA = eJ); + ef--, vB.push(ds[vA]), ds[vA] = ds[ef], ds.pop() + } + return vB + } +} + +function uy() { + this.rT = function(vC, g4, vD) { + var gP = vC.height, + vE = aZ.g5.pa(gP, gP), + gW = aZ.g5.getContext(vE); + return function(gA, gW, vD) { + gW.fillStyle = vD, gW.beginPath(), gW.arc(gA / 2, gA / 2, .47 * gA, 0, 2 * Math.PI), gW.fill() + }(gP, gW, vD), gW.drawImage(vC, -g4 * gP, 0), vE + }, this.vG = function(vH) { + var gP = vH.height, + gW = aZ.g5.getContext(vH, !0), + gS = gW.getImageData(0, 0, gP, gP); + return aZ.uw.vI(gS.data, gP, gP, .9), gW.putImageData(gS, 0, 0), vH + } +} + +function uz() { + this.vJ = function(df) { + return [df >> 12 & 63, df >> 6 & 63, 63 & df] + }, this.o0 = function(df) { + var ds = this.vJ(df); + for (let eJ = 0; eJ < 3; eJ++) ds[eJ] = ~~(4.05 * ds[eJ]); + return ds + }, this.o2 = function(ds) { + for (let eJ = 0; eJ < 3; eJ++) ds[eJ] = ~~(ds[eJ] / 4.04); + return (ds[0] << 12) + (ds[1] << 6) + ds[2] + }, this.kc = function(gY, vK, hp) { + return "rgb(" + gY + "," + vK + "," + hp + ")" + }, this.ke = function(gY, vK, hp, hg) { + return "rgba(" + gY + "," + vK + "," + hp + "," + hg.toFixed(3) + ")" + }, this.nd = function(iT) { + var ds = iT.split("(")[1].split(","), + dl = (ds.length, am.dl); + for (let eJ = 0; eJ < 3; eJ++) dl[eJ] = parseInt(ds[eJ]); + return dl + }, this.nZ = function(vL, eo) { + var ds = vL.slice(vL.indexOf("(") + 1, vL.indexOf(")")).split(","), + dl = am.dl; + for (let eJ = 0; eJ < 3; eJ++) dl[eJ] = aj.mx(parseInt(ds[eJ].trim(), 10) + eo, 0, 255); + return 3 === ds.length ? this.kc(dl[0], dl[1], dl[2]) : this.ke(dl[0], dl[1], dl[2], parseFloat(ds[3].trim())) + }, this.nz = function(ds) { + let g3 = "#"; + for (let eJ = 0; eJ < 3; eJ++) { + var gY = ds[eJ].toString(16); + g3 += 1 === gY.length ? "0" + gY : gY + } + return g3 + }, this.o3 = function(g3) { + var gY, vK; + return g3.length < 7 ? aa.jp : (gY = parseInt(g3.slice(1, 3), 16), vK = parseInt(g3.slice(3, 5), 16), g3 = parseInt(g3.slice(5, 7), 16), this.kc(gY, vK, g3)) + } +} + +function uv() { + this.vM = function(g3, font, maxWidth) { + if (gM.font = font, gM.measureText(g3).width <= maxWidth) return g3; for (let eJ = g3.length - 1; 1 <= eJ; eJ--) - if (g3 = g3.substring(0, eJ), gJ.measureText(g3 + "...").width <= maxWidth) return g3 + "..."; + if (g3 = g3.substring(0, eJ), gM.measureText(g3 + "...").width <= maxWidth) return g3 + "..."; return "..." } } -function uo() { - var vM = null; - this.ri = 0, this.p4 = function() { +function ur() { + var vN = null; + this.rl = 0, this.p7 = function() { var df = bA.dK.data[5].value; - vM = "px " + df, "Trebuchet MS" !== df && (vM += ", Trebuchet MS"), this.ri = gL(32, 32, ["a", "b", "m"], 200, vM) - }, this.pX = function(gA, gF) { - var iQ = document.createElement("canvas"); - return iQ.width = gA, iQ.height = gF, iQ - }, this.getContext = function(gS, alpha) { - return gS.getContext("2d", { + vN = "px " + df, "Trebuchet MS" !== df && (vN += ", Trebuchet MS"), this.rl = gO(32, 32, ["a", "b", "m"], 200, vN) + }, this.pa = function(gA, gF) { + var iT = document.createElement("canvas"); + return iT.width = gA, iT.height = gF, iT + }, this.getContext = function(gV, alpha) { + return gV.getContext("2d", { alpha: alpha }) - }, this.getImageData = function(qo, gA, gF) { - return qo.getImageData(0, 0, gA, gF) + }, this.getImageData = function(qr, gA, gF) { + return qr.getImageData(0, 0, gA, gF) }, this.g6 = function(type, size) { - return size = size.toFixed(2), 0 === type ? size + vM : 1 === type ? "bold " + size + vM : 2 === type ? "lighter " + size + vM : 3 === type ? "italic " + size + vM : 4 === type ? "oblique " + size + vM : 5 === type ? "small-caps " + - size + vM : "small-caps bold " + size + vM - }, this.textAlign = function(gT, id) { - gT.textAlign = 0 === id ? "left" : 1 === id ? "center" : "right" - }, this.textBaseline = function(gT, id) { - gT.textBaseline = 1 === id ? "middle" : "bottom" - }, this.nP = function(dI, code = 5, color = aa.gK) { - color = this.nO(b1.vN) + " solid " + color; + return size = size.toFixed(2), 0 === type ? size + vN : 1 === type ? "bold " + size + vN : 2 === type ? "lighter " + size + vN : 3 === type ? "italic " + size + vN : 4 === type ? "oblique " + size + vN : 5 === type ? "small-caps " + + size + vN : "small-caps bold " + size + vN + }, this.textAlign = function(gW, id) { + gW.textAlign = 0 === id ? "left" : 1 === id ? "center" : "right" + }, this.textBaseline = function(gW, id) { + gW.textBaseline = 1 === id ? "middle" : "bottom" + }, this.nS = function(dI, code = 5, color = aa.gN) { + color = this.nR(b1.vO) + " solid " + color; 5 === code ? dI.style.border = color : 4 === code ? dI.style.borderLeft = color : 2 === code ? dI.style.borderBottom = color : 6 === code ? dI.style.borderRight = color : dI.style.borderTop = color - }, this.vO = function(dI, fO, fP, gA, gF) { + }, this.vP = function(dI, fO, fP, gA, gF) { dI = dI.style; - dI.left = this.vP(fO), dI.top = this.vP(fP), dI.width = this.vP(gA), dI.height = this.vP(gF) - }, this.nG = function(df) { + dI.left = this.vQ(fO), dI.top = this.vQ(fP), dI.width = this.vQ(gA), dI.height = this.vQ(gF) + }, this.nJ = function(df) { return 1 + df * b8.cy.g0() - }, this.nq = function(kL, en = .5) { - return kL * this.nG(en) * aL.g1 / aL.nK - }, this.nO = function(df) { + }, this.nt = function(kO, en = .5) { + return kO * this.nJ(en) * aL.g1 / aL.nN + }, this.nR = function(df) { return df.toFixed(1) + "px" - }, this.vP = function(df) { - return this.vQ(df).toFixed(1) + "px" }, this.vQ = function(df) { - return df / aL.nK - }, this.vR = function(vS, vT) { - for (var g3 = "