2749 lines
75 KiB
JavaScript
2749 lines
75 KiB
JavaScript
// ============================================================
|
|
// Module ID: 61860
|
|
// ============================================================
|
|
;(window.__modules__ = window.__modules__ || {})[61860] = (t, n, i) => {
|
|
!(function (t, n, i, r, e, u, s, o, _) {
|
|
"use strict";
|
|
var h,
|
|
a,
|
|
c,
|
|
f,
|
|
l,
|
|
v,
|
|
w,
|
|
d,
|
|
m,
|
|
p,
|
|
g,
|
|
y,
|
|
k,
|
|
b,
|
|
j,
|
|
$,
|
|
q,
|
|
z,
|
|
x,
|
|
S,
|
|
C,
|
|
E,
|
|
T,
|
|
I,
|
|
A,
|
|
R,
|
|
P,
|
|
N,
|
|
O,
|
|
M,
|
|
D,
|
|
L,
|
|
B,
|
|
U = Math.imul,
|
|
F = n.$_$.f,
|
|
G = i.$_$.mf,
|
|
H = r.$_$.s1,
|
|
W = i.$_$.qj,
|
|
V = n.$_$.a,
|
|
K = e.$_$.j,
|
|
Y = r.$_$.y1,
|
|
X = i.$_$.h5,
|
|
J = i.$_$.ge,
|
|
Z = i.$_$.je,
|
|
Q = i.$_$.s1,
|
|
tt = i.$_$.vj,
|
|
nt = i.$_$.fd,
|
|
it = i.$_$.pf,
|
|
rt = i.$_$.ad,
|
|
et = i.$_$.lj,
|
|
ut = i.$_$.c,
|
|
st = i.$_$.dd,
|
|
ot = i.$_$.id,
|
|
_t = i.$_$.xc,
|
|
ht = i.$_$.nc,
|
|
at = i.$_$.m,
|
|
ct = u.$_$.c,
|
|
ft = n.$_$.g,
|
|
lt = n.$_$.h,
|
|
vt = i.$_$.i2,
|
|
wt = i.$_$.x1,
|
|
dt = i.$_$.h8,
|
|
mt = i.$_$.gd,
|
|
pt = r.$_$.x9,
|
|
gt = r.$_$.s3,
|
|
yt = i.$_$.td,
|
|
kt = i.$_$.nb,
|
|
bt = i.$_$.w4,
|
|
jt = n.$_$.e,
|
|
$t = n.$_$.c,
|
|
qt = i.$_$.l2,
|
|
zt = i.$_$.qf,
|
|
xt = i.$_$.cd,
|
|
St = i.$_$.jb,
|
|
Ct = s.$_$.o,
|
|
Et = i.$_$.ua,
|
|
Tt = i.$_$.jd,
|
|
It = s.$_$.k,
|
|
At = r.$_$.j4,
|
|
Rt = n.$_$.j,
|
|
Pt = n.$_$.l,
|
|
Nt = i.$_$.he,
|
|
Ot = i.$_$.xk,
|
|
Mt = i.$_$.p,
|
|
Dt = i.$_$.r5,
|
|
Lt = r.$_$.r2,
|
|
Bt = i.$_$.t5,
|
|
Ut = i.$_$.lf,
|
|
Ft = i.$_$.hd,
|
|
Gt = i.$_$.s,
|
|
Ht = i.$_$.v,
|
|
Wt = i.$_$.x,
|
|
Vt = i.$_$.ga,
|
|
Kt = i.$_$.kd,
|
|
Yt = r.$_$.u3,
|
|
Xt = i.$_$.ed,
|
|
Jt = i.$_$.xb,
|
|
Zt = i.$_$.wc,
|
|
Qt = i.$_$.j1,
|
|
tn = i.$_$.sk,
|
|
nn = r.$_$.v2,
|
|
rn = i.$_$.sj,
|
|
en = r.$_$.q2,
|
|
un = i.$_$.k9,
|
|
sn = i.$_$.ih,
|
|
on = i.$_$.ji,
|
|
_n = r.$_$.l2,
|
|
hn = r.$_$.s,
|
|
an = r.$_$.o3,
|
|
cn = i.$_$.ii,
|
|
ln = i.$_$.sc,
|
|
vn = i.$_$.yh,
|
|
wn = i.$_$.nh,
|
|
dn = i.$_$.l6,
|
|
mn = i.$_$.k,
|
|
pn = i.$_$.yk,
|
|
gn = i.$_$.ia,
|
|
yn = i.$_$.v4,
|
|
kn = i.$_$.mk,
|
|
bn = i.$_$.if,
|
|
jn = i.$_$.n7,
|
|
$n = i.$_$.de,
|
|
qn = r.$_$.z1,
|
|
zn = r.$_$.v1,
|
|
xn = r.$_$.b4,
|
|
Sn = i.$_$.e6,
|
|
Cn = i.$_$.cg,
|
|
En = i.$_$.gg,
|
|
Tn = r.$_$.q1,
|
|
In = r.$_$.i1,
|
|
An = r.$_$.u1,
|
|
Rn = i.$_$.jc,
|
|
Pn = i.$_$.ij,
|
|
Nn = i.$_$.ra,
|
|
On = s.$_$.d,
|
|
Mn = i.$_$.d1,
|
|
Dn = i.$_$.s9,
|
|
Ln = i.$_$.f9,
|
|
Bn = o.$_$.j,
|
|
Un = _.$_$.p,
|
|
Fn = _.$_$.v1,
|
|
Gn = i.$_$.h,
|
|
Hn = i.$_$.rk,
|
|
Wn = _.$_$.y1,
|
|
Vn = _.$_$.c,
|
|
Kn = _.$_$.s1,
|
|
Yn = _.$_$.t1,
|
|
Xn = _.$_$.c2,
|
|
Jn = i.$_$.fe,
|
|
Zn = _.$_$.n,
|
|
Qn = n.$_$.u,
|
|
ti = n.$_$.q,
|
|
ni = n.$_$.t,
|
|
ii = n.$_$.o,
|
|
ri = n.$_$.m,
|
|
ei = n.$_$.p,
|
|
ui = u.$_$.k,
|
|
si = n.$_$.n,
|
|
oi = i.$_$.rj,
|
|
_i = i.$_$.yb,
|
|
hi = i.$_$.fc,
|
|
ai = i.$_$.qb,
|
|
ci = i.$_$.rb,
|
|
fi = r.$_$.r8;
|
|
function li() {}
|
|
function vi(t) {
|
|
return t.i2c(null, rt("protocol", it, !1));
|
|
}
|
|
function wi() {
|
|
if (l) return X;
|
|
((l = !0),
|
|
(h = new di("NORMAL", 0)),
|
|
(a = new di("ERROR_ON_LOAD_CONFIG", 1)),
|
|
(c = new di("OVERLOADED", 2)),
|
|
(f = new di("UNAVAILABLE", 3)));
|
|
}
|
|
function di(t, n) {
|
|
et.call(this, t, n);
|
|
}
|
|
function mi(t, n, i, r) {
|
|
((this.u7h_1 = t), (this.v7h_1 = n), (this.w7h_1 = i), (this.x7h_1 = r));
|
|
}
|
|
function pi() {
|
|
return (wi(), h);
|
|
}
|
|
function gi() {}
|
|
function yi() {}
|
|
function ki() {}
|
|
function bi() {}
|
|
function ji() {}
|
|
function $i() {}
|
|
function qi() {}
|
|
function zi() {}
|
|
function GameObjectDestroyedException(t) {
|
|
(_t(this, "Game object " + Z(t)), ht(this, GameObjectDestroyedException));
|
|
}
|
|
function xi() {
|
|
((v = this), (this.q7i_1 = at()), (this.r7i_1 = null), (this.s7i_1 = new lt(ct(100500), new ft())));
|
|
}
|
|
function Si() {
|
|
return (null == v && new xi(), v);
|
|
}
|
|
function Ci() {
|
|
(Si(), (this.x7i_1 = new W(0, 0)), (this.y7i_1 = new gt()), (this.z7i_1 = new gt()));
|
|
}
|
|
function Ei() {
|
|
this.j7j_1 = !1;
|
|
}
|
|
function Ti() {
|
|
((this.n7j_1 = 2), (this.o7j_1 = 32), (this.p7j_1 = 1), (this.q7j_1 = 32));
|
|
}
|
|
function Ii(t, n) {
|
|
((this.r7j_1 = t), (this.s7j_1 = n));
|
|
}
|
|
function Ai() {}
|
|
function Ri() {}
|
|
function Pi() {
|
|
this.u7j_1 = 3;
|
|
}
|
|
function Ni(t, n, i) {
|
|
((this.v7j_1 = t), (this.w7j_1 = n), (this.x7j_1 = i));
|
|
}
|
|
function Oi(t, n) {
|
|
((this.y7j_1 = t), (this.z7j_1 = n));
|
|
}
|
|
function Mi(t, n) {
|
|
(Ii.call(this, w.p7j_1, "Hash request"), (this.c7k_1 = t), (this.d7k_1 = n));
|
|
}
|
|
function Di(t) {
|
|
var n = t.e7k_1;
|
|
if (null != n) return n;
|
|
kt("arrayCodec");
|
|
}
|
|
function Li() {}
|
|
function Bi(t, n, i) {
|
|
(Ii.call(this, w.q7j_1, "ClientLog"), (this.h7k_1 = t), (this.i7k_1 = n), (this.j7k_1 = i));
|
|
}
|
|
function Ui(t) {
|
|
var n = t.l7k_1;
|
|
if (null != n) return n;
|
|
kt("stringCodec");
|
|
}
|
|
function Fi() {}
|
|
function Gi(t, n) {
|
|
(Ii.call(this, w.n7j_1, "Hash response"), (this.o7k_1 = t), (this.p7k_1 = n));
|
|
}
|
|
function Hi() {
|
|
this.q7k_1 = 32;
|
|
}
|
|
function Wi(t) {
|
|
var n = t.r7k_1;
|
|
if (null != n) return n;
|
|
kt("byteCodec");
|
|
}
|
|
function Vi() {}
|
|
function Ki() {
|
|
((p = this), (this.t7k_1 = new H(G(mr), null)), (this.u7k_1 = new H(G(dr), null)));
|
|
}
|
|
function Yi() {
|
|
return (null == p && new Ki(), p);
|
|
}
|
|
function Xi(t, n, i, r) {
|
|
((this.f7l_1 = t), (this.g7l_1 = n), (this.h7l_1 = i), St.call(this, r));
|
|
}
|
|
function Ji(t) {
|
|
(Yi(), Ii.call(this, w.o7j_1, "Open space"), (this.l7l_1 = t));
|
|
}
|
|
function Zi() {}
|
|
function Qi() {
|
|
((g = this), (this.q7l_1 = new nr()));
|
|
}
|
|
function tr() {
|
|
return (null == g && new Qi(), g);
|
|
}
|
|
function nr() {
|
|
tr();
|
|
}
|
|
function ir(t, n) {
|
|
((this.u7l_1 = new Int32Array(8)),
|
|
(this.v7l_1 = 0),
|
|
(this.w7l_1 = new Int32Array(8)),
|
|
(this.x7l_1 = 0),
|
|
(this.y7l_1 = 0));
|
|
var i = t.x2s(),
|
|
r = t.n2u();
|
|
this.y7l_1 = 0;
|
|
var e = Rt(n) ^ Pt(n),
|
|
u = 0;
|
|
if (u <= 7)
|
|
do {
|
|
((u = (u + 1) | 0), (e ^= t.m2t()));
|
|
} while (u <= 7);
|
|
((this.y7l_1 = 255 & (this.y7l_1 ^ (e >> 24))),
|
|
(this.y7l_1 = 255 & (this.y7l_1 ^ (e >> 16))),
|
|
(this.y7l_1 = 255 & (this.y7l_1 ^ (e >> 8))),
|
|
(this.y7l_1 = 255 & (this.y7l_1 ^ (0 | e))),
|
|
(function (t) {
|
|
var n = 0;
|
|
if (n <= 7)
|
|
do {
|
|
var i = n;
|
|
((n = (n + 1) | 0), (t.u7l_1[i] = t.y7l_1 ^ (i << 3)), (t.w7l_1[i] = t.y7l_1 ^ (i << 3) ^ 87));
|
|
} while (n <= 7);
|
|
((t.v7l_1 = 0), (t.x7l_1 = 0));
|
|
})(this),
|
|
t.y2s(i),
|
|
t.o2u(r));
|
|
}
|
|
function rr(t) {
|
|
var n = zt;
|
|
return t.b7m_1.i2c(
|
|
t,
|
|
xt(
|
|
"protocol",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return rr(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function er(t) {
|
|
var n = zt;
|
|
return t.c7m_1.i2c(
|
|
t,
|
|
xt(
|
|
"spaceRegistry",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return er(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function ur(t, n) {
|
|
((this.z7l_1 = t),
|
|
(this.a7m_1 = n),
|
|
(this.b7m_1 = new H(G(F), null)),
|
|
(this.c7m_1 = new H(G(mr), null)),
|
|
(this.d7m_1 = new Ei()),
|
|
(this.d7m_1.k7j_1 = rr(this)));
|
|
}
|
|
function CodecNotFoundForCommandException(t) {
|
|
(_t(this, "Codec not found for commandId = " + Ot(t)), ht(this, CodecNotFoundForCommandException));
|
|
}
|
|
function sr(t) {
|
|
var n = t.k7m_1;
|
|
if (null != n) return n;
|
|
kt("byteCodec");
|
|
}
|
|
function or() {
|
|
((this.l7m_1 = Mt()), (this.m7m_1 = Mt()));
|
|
}
|
|
function _r(t) {
|
|
var n = zt;
|
|
return t.n7m_1.i2c(
|
|
t,
|
|
xt(
|
|
"spaceRegistry",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return _r(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function hr() {
|
|
((y = this), (this.n7m_1 = new H(G(mr), null)));
|
|
}
|
|
function ar() {
|
|
return (null == y && new hr(), y);
|
|
}
|
|
function cr() {
|
|
ar();
|
|
}
|
|
function fr() {}
|
|
function lr() {}
|
|
function vr() {}
|
|
function wr() {}
|
|
function dr() {}
|
|
function mr() {}
|
|
function pr() {
|
|
this.f7n_1 = Mt();
|
|
}
|
|
function gr() {
|
|
((this.g7n_1 = new Lt()),
|
|
(this.h7n_1 = Mt()),
|
|
(this.i7n_1 = Mt()),
|
|
(this.j7n_1 = Mt()),
|
|
(this.k7n_1 = Mt()));
|
|
}
|
|
function yr(t, n, i) {
|
|
(St.call(this, i), (this.t7n_1 = t), (this.u7n_1 = n));
|
|
}
|
|
function kr() {
|
|
this.w7n_1 = Gt();
|
|
}
|
|
function br(t, n) {
|
|
try {
|
|
n.y7n();
|
|
} catch (n) {
|
|
if (!(n instanceof Error)) throw n;
|
|
var i = n;
|
|
pt().f2a(t, i);
|
|
}
|
|
}
|
|
function jr() {
|
|
((this.z7n_1 = $), (this.a7o_1 = Ht()), (this.b7o_1 = Wt()));
|
|
}
|
|
function $r() {}
|
|
function qr() {
|
|
Sr();
|
|
var t = it;
|
|
return k.i2c(
|
|
null,
|
|
xt(
|
|
"modelRegistry",
|
|
0,
|
|
t,
|
|
function () {
|
|
return qr();
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function zr() {}
|
|
function xr(t, n) {
|
|
var i;
|
|
(Sr(), Si().t7i(t));
|
|
try {
|
|
i = qr().b7n(n).b7j();
|
|
} finally {
|
|
Si().v7i();
|
|
}
|
|
return i;
|
|
}
|
|
function Sr() {
|
|
b || ((b = !0), (k = new H(G(wr), null)));
|
|
}
|
|
function Cr() {}
|
|
function Er() {
|
|
((j = this), (this.i7o_1 = new W(-1, -1)));
|
|
}
|
|
function Tr() {
|
|
return (null == j && new Er(), j);
|
|
}
|
|
function Ir() {}
|
|
function Ar(t, n) {
|
|
((this.t7o_1 = t), (this.u7o_1 = n), (this.v7o_1 = new gt()));
|
|
}
|
|
function Rr(t) {
|
|
var n = t.c7p_1;
|
|
return (
|
|
xt(
|
|
"data",
|
|
1,
|
|
zt,
|
|
function (t) {
|
|
return Rr(t);
|
|
},
|
|
null,
|
|
),
|
|
n.w2()
|
|
);
|
|
}
|
|
function Pr(t) {
|
|
var n = t.d7p_1;
|
|
return (
|
|
xt(
|
|
"adapts",
|
|
1,
|
|
zt,
|
|
function (t) {
|
|
return Pr(t);
|
|
},
|
|
null,
|
|
),
|
|
n.w2()
|
|
);
|
|
}
|
|
function Nr(t) {
|
|
var n = t.e7p_1;
|
|
return (
|
|
xt(
|
|
"events",
|
|
1,
|
|
zt,
|
|
function (t) {
|
|
return Nr(t);
|
|
},
|
|
null,
|
|
),
|
|
n.w2()
|
|
);
|
|
}
|
|
function Or() {
|
|
return new gt();
|
|
}
|
|
function Mr() {
|
|
return new gt();
|
|
}
|
|
function Dr() {
|
|
return new gt();
|
|
}
|
|
function Lr(t, n, i, r) {
|
|
((this.y7o_1 = t),
|
|
(this.z7o_1 = n),
|
|
(this.a7p_1 = i),
|
|
(this.b7p_1 = r),
|
|
(this.c7p_1 = tn(Or)),
|
|
(this.d7p_1 = tn(Mr)),
|
|
(this.e7p_1 = tn(Dr)),
|
|
(this.f7p_1 = !1));
|
|
}
|
|
function GameObjectNotFoundException(t) {
|
|
(_t(this, "Game object with id = " + t.toString() + " not found"),
|
|
ht(this, GameObjectNotFoundException));
|
|
}
|
|
function Br(t) {
|
|
var n = zt;
|
|
return t.j7p_1.i2c(
|
|
t,
|
|
xt(
|
|
"modelRegistry",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return Br(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function Ur(t) {
|
|
var n = zt;
|
|
return t.k7p_1.i2c(
|
|
t,
|
|
xt(
|
|
"spaceRegistry",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return Ur(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function Fr(t) {
|
|
var n = zt;
|
|
return t.l7p_1.i2c(
|
|
t,
|
|
xt(
|
|
"transportService",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return Fr(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function Gr(t) {
|
|
var n = t.u7p_1;
|
|
return (
|
|
xt(
|
|
"aliases",
|
|
1,
|
|
zt,
|
|
function (t) {
|
|
return Gr(t);
|
|
},
|
|
null,
|
|
),
|
|
n.w2()
|
|
);
|
|
}
|
|
function Hr() {
|
|
for (var t = 0, n = Array(256); t < 256;)
|
|
((n[t] = new rn(new W(0, 0), new W(0, 0))), (t = (t + 1) | 0));
|
|
return n;
|
|
}
|
|
function Wr(t) {
|
|
this.v7p_1 = t;
|
|
}
|
|
function Vr(t, n, i, r) {
|
|
((this.g7p_1 = t),
|
|
(this.h7p_1 = n),
|
|
(this.i7p_1 = r),
|
|
(this.j7p_1 = new H(G(wr), null)),
|
|
(this.k7p_1 = new H(G(mr), null)),
|
|
(this.l7p_1 = new H(G($r), null)),
|
|
(this.o7p_1 = Mt()),
|
|
(this.p7p_1 = Gt()),
|
|
(this.q7p_1 = at()),
|
|
(this.r7p_1 = at()),
|
|
(this.s7p_1 = new en(!1)),
|
|
(this.t7p_1 = Wt()),
|
|
(this.u7p_1 = tn(Hr)));
|
|
var e = new Ar(new W(0, 0), new Yt());
|
|
(this.m7o(this.g7p_1, e, "Space object"),
|
|
(this.n7p_1 = Fr(this).d7o(new lr(), i, this)),
|
|
(this.m7p_1 = new Wr(this)));
|
|
}
|
|
function Kr() {}
|
|
function Yr(t) {
|
|
return t.i2c(null, rt("serverConnector", it, !1));
|
|
}
|
|
function Xr(t, n, i) {
|
|
((this.g7q_1 = t), (this.h7q_1 = n), St.call(this, i));
|
|
}
|
|
function Jr() {
|
|
((this.o7q_1 = null), (this.p7q_1 = null));
|
|
}
|
|
function Zr() {}
|
|
function Qr() {
|
|
if (I) return X;
|
|
((I = !0),
|
|
(S = new te("EMAIL_CHANGE", 0, "emailChangeHash")),
|
|
(C = new te("EMAIL_CONFIRM", 1, "emailConfirmHash")),
|
|
(E = new te("EMAIL", 2, "userEmail")),
|
|
(T = new te("BATTLE", 3, "/battle")));
|
|
}
|
|
function te(t, n, i) {
|
|
(et.call(this, t, n), (this.t7q_1 = i));
|
|
}
|
|
function ConfigLoadedException(t) {
|
|
(_t(this, "Config load exception with status " + t.toString()),
|
|
ht(this, ConfigLoadedException),
|
|
(this.u7q_1 = t));
|
|
}
|
|
function ControlChannelDisconnectException() {
|
|
(_t(this), ht(this, ControlChannelDisconnectException));
|
|
}
|
|
function NotFoundServersException() {
|
|
(_t(this), ht(this, NotFoundServersException));
|
|
}
|
|
function ne(t) {
|
|
var n,
|
|
i = new XMLHttpRequest();
|
|
(i.open("GET", t.v7q_1 + "?rnd=" + yn().jk(), !0),
|
|
(i.responseType = "document"),
|
|
(i.onload =
|
|
((n = t),
|
|
function (t) {
|
|
var i,
|
|
r = t.target,
|
|
e = r instanceof XMLHttpRequest ? r : tt();
|
|
if (200 === e.status) {
|
|
var u = kn(e.responseXML);
|
|
(!(function (t, n) {
|
|
(ie(t),
|
|
(function (t, n, i) {
|
|
var r,
|
|
e = n.documentElement,
|
|
u = null == e ? null : e.getElementsByTagName("server"),
|
|
s = null == u ? null : u[0],
|
|
o = kn(null == s ? null : s.getAttribute("address")),
|
|
_ = at(),
|
|
h = s.getAttribute("wsProtocol");
|
|
switch (h) {
|
|
case "WS":
|
|
r = "ws";
|
|
break;
|
|
case "WSS":
|
|
case null:
|
|
r = "wss";
|
|
break;
|
|
default:
|
|
throw wt("Unknown web socket protocol: " + h);
|
|
}
|
|
var a = r,
|
|
c = s.getElementsByTagName("webSocketPorts")[0],
|
|
f = null == c ? null : c.childNodes;
|
|
if (null == f);
|
|
else {
|
|
var l = bn(0, f.length),
|
|
v = l.w1_1,
|
|
w = l.x1_1;
|
|
if (v <= w)
|
|
do {
|
|
var d = v;
|
|
v = (v + 1) | 0;
|
|
var m = f[d],
|
|
p = null == m ? null : m.firstChild,
|
|
g = null == p ? null : p.nodeValue,
|
|
y = null == g ? null : cn(g);
|
|
null == y || _.y(y);
|
|
} while (d !== w);
|
|
}
|
|
i(o, jn(_), a);
|
|
})(
|
|
0,
|
|
n,
|
|
(function (t, n) {
|
|
return function (i, r, e) {
|
|
return (
|
|
t.w7q_1(
|
|
new mi(
|
|
(function (t, n) {
|
|
var i = kn(n.documentElement).getElementsByTagName("status")[0];
|
|
switch (kn(kn(kn(i).firstChild).nodeValue)) {
|
|
case "overloaded":
|
|
return (wi(), c);
|
|
case "unavailable":
|
|
return (wi(), f);
|
|
default:
|
|
return pi();
|
|
}
|
|
})(0, n),
|
|
i,
|
|
r,
|
|
e,
|
|
),
|
|
),
|
|
X
|
|
);
|
|
};
|
|
})(t, n),
|
|
));
|
|
})(n, u),
|
|
(i = X));
|
|
} else (onServerConfigLoadingError(n), (i = X));
|
|
return i;
|
|
})),
|
|
(i.onerror = (function (t) {
|
|
return function (n) {
|
|
return (onServerConfigLoadingError(t), X);
|
|
};
|
|
})(t)),
|
|
i.send());
|
|
}
|
|
function onServerConfigLoadingError(t) {
|
|
if ((ie(t), t.y7q_1 >= 3)) t.w7q_1(new mi((wi(), a), null, 0, "wss"));
|
|
else {
|
|
var n = window;
|
|
t.x7q_1 = n.setTimeout(
|
|
((i = t),
|
|
(r = function () {
|
|
return (
|
|
(function (t) {
|
|
((t.y7q_1 = (t.y7q_1 + 1) | 0), ne(t));
|
|
})(i),
|
|
X
|
|
);
|
|
}),
|
|
(r.callableName = "reloadConfig"),
|
|
r),
|
|
$n(1e3 * yn().jk() + 1e3),
|
|
);
|
|
}
|
|
var i, r;
|
|
}
|
|
function ie(t) {
|
|
-1 !== t.x7q_1 && window.clearInterval(t.x7q_1);
|
|
}
|
|
function re() {
|
|
((this.z7q_1 = 3), (this.a7r_1 = "overloaded"), (this.b7r_1 = "unavailable"));
|
|
}
|
|
function ee(t, n) {
|
|
((this.v7q_1 = t), (this.w7q_1 = n), (this.x7q_1 = -1), (this.y7q_1 = 1));
|
|
}
|
|
function ue(t) {
|
|
var n = zt;
|
|
return t.e7r_1.i2c(
|
|
t,
|
|
xt(
|
|
"deviceService",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return ue(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function se(t) {
|
|
var n = zt;
|
|
return t.f7r_1.i2c(
|
|
t,
|
|
xt(
|
|
"localizationService",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return se(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function oe(t, n) {
|
|
t.d7i();
|
|
var i,
|
|
r,
|
|
e =
|
|
((i = t),
|
|
(r = function (t) {
|
|
return (
|
|
(function (t, n) {
|
|
var i = Ht();
|
|
i.i3(t.d7r_1);
|
|
var r = se(t).l2c().i2e_1;
|
|
i.g3("lang", r);
|
|
var e = window.navigator.userAgent;
|
|
i.g3("browser_user_agent", e);
|
|
var u = window.navigator.platform;
|
|
i.g3("os", u);
|
|
var s = Z(ue(t).v2d());
|
|
i.g3("device_type", s);
|
|
var o = ue(t).w2d().k3_1,
|
|
_ = 6 === o ? "DESKTOP" : 5 === o ? "APPLE_MOBILE" : "BROWSER";
|
|
i.g3("client_type", _);
|
|
var h = Z(window.navigator.hardwareConcurrency);
|
|
i.g3("hardware_concurrency", h);
|
|
var a = (function () {
|
|
var t = Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
n = null == t || "string" == typeof t ? t : tt();
|
|
return null == n ? new Date().getTimezoneOffset().toString() : n;
|
|
})();
|
|
i.g3("time_zone", a);
|
|
var c = xn().k2i();
|
|
i.g3("video_card", c);
|
|
var f = ue(t).x2d().toString();
|
|
i.g3("mobile_device", f);
|
|
var l = ue(t).u2d().c2k().toString();
|
|
i.g3("touchscreen_support", l);
|
|
i.g3("client_version", "e3b4a3f1c8b8ea24cddc91a30e51b6903d55c0c7");
|
|
var v = ue(t).a2e();
|
|
if (null == v);
|
|
else {
|
|
var w = v.toString();
|
|
i.g3("ram_size", w);
|
|
}
|
|
for (var d = t.j7r_1.t(); d.u();) d.v().n7r(i);
|
|
var m = Sn(i),
|
|
p = En(Cn(m, _e)),
|
|
g = p.ab(),
|
|
y = p.bb();
|
|
n.w7p(new Mi(g, y));
|
|
})(i, t),
|
|
X
|
|
);
|
|
}),
|
|
(r.callableName = "onConnectionOpen"),
|
|
r),
|
|
u = new ur(
|
|
e,
|
|
(function (t) {
|
|
var n = function (n) {
|
|
return (
|
|
(function (t) {
|
|
t.g7r_1 || pt().j2a(t, new ControlChannelDisconnectException());
|
|
})(t),
|
|
X
|
|
);
|
|
};
|
|
return ((n.callableName = "onControlChannelDisconnect"), n);
|
|
})(t),
|
|
),
|
|
s = new Oe(n.x7h_1, kn(n.v7h_1), n.w7h_1);
|
|
(qn(G($r)), Y(G($r), s));
|
|
for (var o = zn(G(gi)).t(); o.u();) o.v().y7h();
|
|
Y(G(vr), new pr());
|
|
var _ = t,
|
|
h = s.d7o(new or(), tr().q7l_1, u);
|
|
(u.j7m(h), (_.i7r_1 = h));
|
|
}
|
|
function _e(t) {
|
|
var n = t.v2(),
|
|
i = t.w2();
|
|
return pn(n, i);
|
|
}
|
|
function he(t) {
|
|
((this.d7r_1 = t),
|
|
(this.e7r_1 = new H(G(Tn), null)),
|
|
(this.f7r_1 = new H(G(In), null)),
|
|
(this.g7r_1 = !1),
|
|
(this.h7r_1 = 0),
|
|
(this.i7r_1 = null),
|
|
(this.j7r_1 = at()));
|
|
}
|
|
function ae(t, n) {
|
|
var i = new we(t, n);
|
|
return ((i.l9_1 = X), (i.m9_1 = null), i.r9());
|
|
}
|
|
function ce(t, n, i) {
|
|
((this.x7r_1 = t), (this.y7r_1 = n), (this.z7r_1 = i));
|
|
}
|
|
function fe(t) {
|
|
this.a7s_1 = t;
|
|
}
|
|
function le(t) {
|
|
return ((t.j1p_1 = !0), X);
|
|
}
|
|
function ve(t, n) {
|
|
var i = 0 | -t.y7r_1,
|
|
r = 0 | -n.y7r_1;
|
|
return Nn(i, r);
|
|
}
|
|
function we(t, n) {
|
|
(St.call(this, n), (this.w7r_1 = t));
|
|
}
|
|
function de(t, n) {
|
|
(St.call(this, n), (this.s7s_1 = t));
|
|
}
|
|
function me(t, n) {
|
|
((this.j7q_1 = t), (this.k7q_1 = n), (this.l7q_1 = at()), (this.m7q_1 = Bn(ut, le)));
|
|
}
|
|
function pe() {
|
|
return new Fn(Un(), qe());
|
|
}
|
|
function ge() {
|
|
A = this;
|
|
var t = Gn();
|
|
this.b7s_1 = [null, null, Hn(t, pe)];
|
|
}
|
|
function ye() {
|
|
return (null == A && new ge(), A);
|
|
}
|
|
function ke() {
|
|
R = this;
|
|
var t = new Wn("alternativa.client.connection.BalancerStatus", this, 3);
|
|
(t.b1f("serverVersion", !1), t.b1f("serverNamespace", !1), t.b1f("nodes", !1), (this.t7s_1 = t));
|
|
}
|
|
function be() {
|
|
return (null == R && new ke(), R);
|
|
}
|
|
function je() {}
|
|
function $e() {
|
|
P = this;
|
|
var t = new Wn("alternativa.client.connection.BalancerNode", this, 3);
|
|
(t.b1f("online", !1), t.b1f("inbattles", !1), t.b1f("endpoint", !1), (this.v7s_1 = t));
|
|
}
|
|
function qe() {
|
|
return (null == P && new $e(), P);
|
|
}
|
|
function ze() {}
|
|
function xe() {
|
|
N = this;
|
|
var t = new Wn("alternativa.client.connection.BalancerNodeEndpoint", this, 2);
|
|
(t.b1f("host", !1), t.b1f("status", !1), (this.x7s_1 = t));
|
|
}
|
|
function Se() {
|
|
return (null == N && new xe(), N);
|
|
}
|
|
function Ce() {}
|
|
function Ee(t) {
|
|
var n = zt;
|
|
return t.c7t_1.i2c(
|
|
t,
|
|
xt(
|
|
"protocol",
|
|
1,
|
|
n,
|
|
function (t) {
|
|
return Ee(t);
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}
|
|
function Te(t) {
|
|
t.f7t_1.xy() || (t.f7t_1.v2o(!0), (t.g7t_1 = (Ae(), L)), t.b7t_1.g7m());
|
|
}
|
|
function Ie(t, n, i, r, e, u) {
|
|
var s;
|
|
((this.z7s_1 = r),
|
|
(this.a7t_1 = e),
|
|
(this.b7t_1 = u),
|
|
(this.c7t_1 = new H(G(F), null)),
|
|
(this.d7t_1 = t + "://" + n + ":" + i + "/"),
|
|
(this.f7t_1 = new en(!1)),
|
|
(this.g7t_1 = (Ae(), O)),
|
|
(this.h7t_1 = null),
|
|
(this.g7t_1 = (Ae(), M)),
|
|
(this.e7t_1 = new WebSocket(this.d7t_1)),
|
|
(this.e7t_1.binaryType = "arraybuffer"),
|
|
(this.e7t_1.onopen =
|
|
((s = this),
|
|
function (t) {
|
|
return (
|
|
(n = s).f7t_1.xy()
|
|
? n.e7t_1.close()
|
|
: (function (t) {
|
|
((t.g7t_1 = Pe()), t.z7s_1.e7g(Ee(t)), t.b7t_1.f7m());
|
|
})(n),
|
|
X
|
|
);
|
|
var n;
|
|
})),
|
|
(this.e7t_1.onclose = (function (t) {
|
|
return function (n) {
|
|
return (Te(t), X);
|
|
};
|
|
})(this)),
|
|
(this.e7t_1.onmessage = (function (t) {
|
|
return function (n) {
|
|
var i = n.data;
|
|
return (
|
|
(function (t, n) {
|
|
if ((pt().j2d("socket", t.d7t_1), t.f7t_1.xy())) return X;
|
|
!(function (t, n) {
|
|
var i = t.h7t_1,
|
|
r = null == i ? ni().x7e(ri()) : i;
|
|
(t.a7t_1.t7l(r, n), r.s2u());
|
|
for (var e = Qn().z7f(ei()); Ee(t).f7f(r, e);) {
|
|
t: for (; e.o7f_1.u2t();)
|
|
try {
|
|
var u = t.z7s_1.d7g(e);
|
|
if (null == u) throw Qt("Decoded command is null");
|
|
var s = u;
|
|
t.b7t_1.i7m(s);
|
|
} catch (n) {
|
|
if (n instanceof Error) {
|
|
var o = n;
|
|
pt().f2a(t, o);
|
|
break t;
|
|
}
|
|
throw n;
|
|
}
|
|
e.d3();
|
|
}
|
|
if ((Qn().a7g(e), r.k2t() > 0)) {
|
|
var _ = ni().x7e(ri());
|
|
(_.t2t(r), (t.h7t_1 = _), ni().y7e(r));
|
|
} else ((t.h7t_1 = null), ni().y7e(r));
|
|
})(t, ui(n));
|
|
})(t, i),
|
|
X
|
|
);
|
|
};
|
|
})(this)));
|
|
}
|
|
function Ae() {
|
|
if (B) return X;
|
|
((B = !0),
|
|
(O = new Re("IDLE", 0)),
|
|
(M = new Re("CONNECTING", 1)),
|
|
(D = new Re("CONNECTED", 2)),
|
|
(L = new Re("DISCONNECTED", 3)));
|
|
}
|
|
function Re(t, n) {
|
|
et.call(this, t, n);
|
|
}
|
|
function Pe() {
|
|
return (Ae(), D);
|
|
}
|
|
function Ne() {}
|
|
function Oe(t, n, i) {
|
|
((this.k7r_1 = t), (this.l7r_1 = n), (this.m7r_1 = i));
|
|
}
|
|
function Me() {}
|
|
(nt(li, "", li),
|
|
nt(di, "", ut, et),
|
|
nt(mi, ""),
|
|
ot(gi, ""),
|
|
ot(yi, ""),
|
|
ot(ki, ""),
|
|
ot(bi, ""),
|
|
ot(ji, ""),
|
|
ot($i, ""),
|
|
ot(qi, ""),
|
|
ot(zi, ""),
|
|
nt(GameObjectDestroyedException, "", ut, Error),
|
|
mt(xi),
|
|
nt(Ci, "", ut, ut, [ki]),
|
|
nt(Ei, "", Ei),
|
|
mt(Ti),
|
|
nt(Ii, ""),
|
|
ot(Ai, ""),
|
|
ot(Ri, ""),
|
|
mt(Pi),
|
|
nt(Ni, ""),
|
|
nt(Oi, "", ut, ut, [Ai]),
|
|
nt(Mi, "", ut, Ii, [Ii, Ai]),
|
|
nt(Li, "", Li),
|
|
nt(Bi, "", ut, Ii),
|
|
nt(Fi, "", Fi),
|
|
nt(Gi, "", ut, Ii, [Ii, Ri]),
|
|
mt(Hi),
|
|
nt(Vi, "", Vi),
|
|
mt(Ki),
|
|
Tt(Xi, St, ut, [1]),
|
|
nt(Ji, "", ut, Ii, [Ii, Ri]),
|
|
nt(Zi, "", Zi),
|
|
mt(Qi),
|
|
nt(nr, "", nr),
|
|
nt(ir, ""),
|
|
nt(ur, ""),
|
|
nt(CodecNotFoundForCommandException, "", ut, Error),
|
|
nt(or, "", or),
|
|
mt(hr),
|
|
nt(cr, "", cr),
|
|
nt(fr, "", fr),
|
|
nt(lr, "", lr),
|
|
ot(vr, ""),
|
|
ot(wr, ""),
|
|
ot(dr, "", ut, ut, ut, [1]),
|
|
ot(mr, ""),
|
|
nt(pr, "", pr, ut, [vr]),
|
|
nt(gr, "", gr, ut, [wr]),
|
|
Ft(yr, St),
|
|
nt(kr, "", kr, ut, [dr], [1]),
|
|
nt(jr, "", jr, ut, [mr]),
|
|
ot($r, ""),
|
|
ot(zr, ""),
|
|
ot(Cr, "", ut, ut, [zr]),
|
|
Kt(Er, "", ut, ut, [zr]),
|
|
Kt(Ir, ""),
|
|
nt(Ar, ""),
|
|
nt(Lr, "", ut, ut, [zr, Cr]),
|
|
nt(GameObjectNotFoundException, "", ut, Error),
|
|
nt(Wr),
|
|
nt(Vr, ""),
|
|
Kt(Kr, ""),
|
|
Tt(Xr, St, ut, [1]),
|
|
Kt(Jr, ""),
|
|
Kt(Zr, ""),
|
|
nt(te, "", ut, et),
|
|
nt(ConfigLoadedException, "", ut, Error),
|
|
nt(ControlChannelDisconnectException, "", ControlChannelDisconnectException, Error),
|
|
nt(NotFoundServersException, "", NotFoundServersException, Error),
|
|
mt(re),
|
|
nt(ee, ""),
|
|
nt(he, "", ut, ut, [yi, hn]),
|
|
nt(ce, ""),
|
|
nt(fe, "", ut, ut, [Pn, Rn]),
|
|
Ft(we, St),
|
|
Ft(de, St),
|
|
nt(me, "", ut, ut, ut, [0]),
|
|
mt(ge),
|
|
Kt(ke, "", ut, ut, [Yn]),
|
|
nt(je, "", ut, ut, ut, ut, ut, { 0: be }),
|
|
Kt($e, "", ut, ut, [Yn]),
|
|
nt(ze, "", ut, ut, ut, ut, ut, { 0: qe }),
|
|
Kt(xe, "", ut, ut, [Yn]),
|
|
nt(Ce, "", ut, ut, ut, ut, ut, { 0: Se }),
|
|
nt(Ie, ""),
|
|
nt(Re, "", ut, et),
|
|
nt(Ne, "", Ne),
|
|
nt(Oe, "", ut, ut, [$r]),
|
|
ot(Me, ""),
|
|
(J(li).e7g = function (t) {}),
|
|
(J(li).d7g = function (t) {
|
|
var n = new K();
|
|
return ((n.f20_1 = t.o7f_1.k2u()), (n.g20_1 = t.o7f_1.k2u()), (n.h20_1 = t.o7f_1.k2u()), n);
|
|
}),
|
|
(J(li).c7g = function (t, n) {
|
|
if (null == n) throw Q(Z("Object is null. Use @ProtocolOptional annotation."));
|
|
(n instanceof K || tt(), t.o7f_1.e2u(n.f20_1), t.o7f_1.e2u(n.g20_1), t.o7f_1.e2u(n.h20_1));
|
|
}),
|
|
(J(mi).toString = function () {
|
|
return (
|
|
"ServerConfig(status=" +
|
|
this.u7h_1.toString() +
|
|
", host=" +
|
|
this.v7h_1 +
|
|
", port=" +
|
|
this.w7h_1 +
|
|
", wsProto=" +
|
|
this.x7h_1 +
|
|
")"
|
|
);
|
|
}),
|
|
(J(mi).hashCode = function () {
|
|
var t = this.u7h_1.hashCode();
|
|
return (
|
|
(t = (U(t, 31) + (null == this.v7h_1 ? 0 : st(this.v7h_1))) | 0),
|
|
(t = (U(t, 31) + this.w7h_1) | 0),
|
|
(U(t, 31) + st(this.x7h_1)) | 0
|
|
);
|
|
}),
|
|
(J(mi).equals = function (t) {
|
|
return (
|
|
this === t ||
|
|
(t instanceof mi &&
|
|
!!this.u7h_1.equals(t.u7h_1) &&
|
|
this.v7h_1 == t.v7h_1 &&
|
|
this.w7h_1 === t.w7h_1 &&
|
|
this.x7h_1 === t.x7h_1)
|
|
);
|
|
}),
|
|
(J(xi).t7i = function (t) {
|
|
(this.q7i_1.y(this.r7i_1), (this.r7i_1 = t));
|
|
}),
|
|
(J(xi).u7i = function () {
|
|
var t = this.r7i_1;
|
|
if (null == t) throw vt("GameObject in context is null");
|
|
return t;
|
|
}),
|
|
(J(xi).v7i = function () {
|
|
if (this.q7i_1.r()) throw wt("No objects in stack");
|
|
var t = dt(this.q7i_1);
|
|
(this.q7i_1.f3((this.q7i_1.e1() - 1) | 0), (this.r7i_1 = t));
|
|
}),
|
|
(J(Ci).c57 = function () {
|
|
return this.x7i_1;
|
|
}),
|
|
(J(Ci).f7i = function (t, n) {
|
|
this.z7i_1.r2a_1.set(t, n);
|
|
}),
|
|
(J(Ci).a7j = function () {
|
|
var t = this.z7i_1,
|
|
n = Si().u7i(),
|
|
i = t.r2a_1.get(n);
|
|
return null == i || null != i ? i : tt();
|
|
}),
|
|
(J(Ci).b7j = function () {
|
|
var t = this.z7i_1,
|
|
n = Si().u7i(),
|
|
i = t.r2a_1.get(n);
|
|
return null == i || null != i ? i : null;
|
|
}),
|
|
(J(Ci).g7i = function () {
|
|
var t = this.z7i_1,
|
|
n = Si().u7i();
|
|
t.r2a_1.delete(n);
|
|
}),
|
|
(J(Ci).h7i = function (t) {
|
|
var n = Si().u7i();
|
|
return (yt(n, Cr) ? n : tt()).c7j(this, t);
|
|
}),
|
|
(J(Ci).i7i = function (t) {
|
|
var n = this.h7i(t);
|
|
if (null == n) throw wt("No data for " + Z(t) + " context: " + Z(Si().u7i()));
|
|
return n;
|
|
}),
|
|
(J(Ci).j7i = function (t, n) {
|
|
var i = Si().u7i();
|
|
(yt(i, Cr) ? i : tt()).d7j(this, t, n);
|
|
}),
|
|
(J(Ci).e7j = function (t) {
|
|
var n = Si().u7i();
|
|
return (yt(n, Cr) ? n : tt()).f7j(this, t);
|
|
}),
|
|
(J(Ci).g7j = function (t) {
|
|
var n,
|
|
i,
|
|
r,
|
|
e = Si().u7i();
|
|
return (
|
|
(n = e),
|
|
(i = this),
|
|
(r = t),
|
|
function () {
|
|
if (n.w7i()) pt().i2d(i, new GameObjectDestroyedException(n));
|
|
else {
|
|
Si().t7i(n);
|
|
try {
|
|
r();
|
|
} finally {
|
|
Si().v7i();
|
|
}
|
|
}
|
|
return X;
|
|
}
|
|
);
|
|
}),
|
|
(J(Ci).h7j = function (t) {
|
|
var n,
|
|
i,
|
|
r = Si().u7i();
|
|
return (
|
|
(n = r),
|
|
(i = t),
|
|
function (t) {
|
|
if (n.w7i()) throw vt("Game object " + n.c57() + " is destroyed, function = " + Z(i));
|
|
Si().t7i(n);
|
|
try {
|
|
i(t);
|
|
} finally {
|
|
Si().v7i();
|
|
}
|
|
return X;
|
|
}
|
|
);
|
|
}),
|
|
(J(Ci).k7i = function (t) {
|
|
var n = this.y7i_1.r2a_1.get(t);
|
|
if (null == n) {
|
|
var i = (n = t.db(this));
|
|
this.y7i_1.r2a_1.set(t, i);
|
|
}
|
|
return n;
|
|
}),
|
|
(J(Ei).l7j = function () {
|
|
var t = this.i7j_1;
|
|
if (null != t) return t;
|
|
kt("hash");
|
|
}),
|
|
(J(Ei).m7j = function () {
|
|
var t = this.k7j_1;
|
|
if (null != t) return t;
|
|
kt("spaceProtocol");
|
|
}),
|
|
(J(Ii).toString = function () {
|
|
return "[ControlCommand id=" + this.r7j_1 + ", name=" + this.s7j_1 + "]";
|
|
}),
|
|
(J(Ni).toString = function () {
|
|
return (
|
|
"SpaceCommand(objectId=" +
|
|
this.v7j_1.toString() +
|
|
", methodId=" +
|
|
this.w7j_1.toString() +
|
|
", protocolBuffer=" +
|
|
this.x7j_1.toString() +
|
|
")"
|
|
);
|
|
}),
|
|
(J(Oi).toString = function () {
|
|
return "[SpaceOpenedCommand spaceId=" + this.y7j_1.toString() + " hash=" + Z(this.z7j_1) + "]";
|
|
}),
|
|
(J(Mi).toString = function () {
|
|
return (
|
|
"[HashRequestCommand id=" +
|
|
this.r7j_1 +
|
|
", name=" +
|
|
this.s7j_1 +
|
|
", parameterNames=" +
|
|
Z(this.c7k_1) +
|
|
", parameterValues=" +
|
|
Z(this.d7k_1) +
|
|
"]"
|
|
);
|
|
}),
|
|
(J(Li).e7g = function (t) {
|
|
this.e7k_1 = t.b7f(new $t(new jt(bt().xb(), !1), !1));
|
|
}),
|
|
(J(Li).c7g = function (t, n) {
|
|
var i = n instanceof Mi ? n : tt();
|
|
(Di(this).c7g(t, i.c7k_1), Di(this).c7g(t, i.d7k_1));
|
|
}),
|
|
(J(Li).d7g = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Bi).toString = function () {
|
|
return (
|
|
"LogCommand(level=" +
|
|
this.h7k_1.toString() +
|
|
", messageType=" +
|
|
this.i7k_1 +
|
|
", message=" +
|
|
this.j7k_1 +
|
|
")"
|
|
);
|
|
}),
|
|
(J(Bi).hashCode = function () {
|
|
var t = this.h7k_1.hashCode();
|
|
return ((t = (U(t, 31) + st(this.i7k_1)) | 0), (U(t, 31) + st(this.j7k_1)) | 0);
|
|
}),
|
|
(J(Bi).equals = function (t) {
|
|
return (
|
|
this === t ||
|
|
(t instanceof Bi &&
|
|
!!this.h7k_1.equals(t.h7k_1) &&
|
|
this.i7k_1 === t.i7k_1 &&
|
|
this.j7k_1 === t.j7k_1)
|
|
);
|
|
}),
|
|
(J(Fi).e7g = function (t) {
|
|
((this.k7k_1 = t.d7f(bt().qb())), (this.l7k_1 = t.d7f(bt().xb())));
|
|
}),
|
|
(J(Fi).c7g = function (t, n) {
|
|
var i = n instanceof Bi ? n : tt();
|
|
((function (t) {
|
|
var n = t.k7k_1;
|
|
if (null != n) return n;
|
|
kt("byteCodec");
|
|
})(this).c7g(t, i.h7k_1.k3_1),
|
|
Ui(this).c7g(t, i.i7k_1),
|
|
Ui(this).c7g(t, i.j7k_1));
|
|
}),
|
|
(J(Fi).d7g = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Gi).t7j = function (t) {
|
|
((t.i7j_1 = this.o7k_1), (t.j7j_1 = this.p7k_1));
|
|
}),
|
|
(J(Vi).e7g = function (t) {
|
|
((this.r7k_1 = t.d7f(bt().qb())), (this.s7k_1 = t.b7f(new jt(bt().pb(), !1))));
|
|
}),
|
|
(J(Vi).c7g = function (t, n) {
|
|
throw qt();
|
|
}),
|
|
(J(Vi).d7g = function (t) {
|
|
var n = ct(m.q7k_1),
|
|
i = 0,
|
|
r = (m.q7k_1 - 1) | 0;
|
|
if (i <= r)
|
|
do {
|
|
var e = i;
|
|
i = (i + 1) | 0;
|
|
var u = Wi(this).d7g(t);
|
|
n.b2u(null != u && "number" == typeof u ? u : tt());
|
|
} while (e !== r);
|
|
n.s2u();
|
|
var s = (function (t) {
|
|
var n = t.s7k_1;
|
|
if (null != n) return n;
|
|
kt("booleanCodec");
|
|
})(this).d7g(t);
|
|
return new Gi(n, null != s && "boolean" == typeof s ? s : tt());
|
|
}),
|
|
(J(Ki).v7k = function () {
|
|
var t = zt;
|
|
return this.t7k_1.i2c(
|
|
this,
|
|
xt(
|
|
"spaceRegistry",
|
|
1,
|
|
t,
|
|
function (t) {
|
|
return t.v7k();
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}),
|
|
(J(Ki).w7k = function () {
|
|
var t = zt;
|
|
return this.u7k_1.i2c(
|
|
this,
|
|
xt(
|
|
"spaceHandlerRegistry",
|
|
1,
|
|
t,
|
|
function (t) {
|
|
return t.w7k();
|
|
},
|
|
null,
|
|
),
|
|
);
|
|
}),
|
|
(J(Xi).t7c = function (t, n) {
|
|
var i = this.u7c(t, n);
|
|
return ((i.l9_1 = X), (i.m9_1 = null), i.r9());
|
|
}),
|
|
(J(Xi).ea = function (t, n) {
|
|
return this.t7c(null != t && yt(t, Ct) ? t : tt(), n);
|
|
}),
|
|
(J(Xi).r9 = function () {
|
|
var t = this.l9_1;
|
|
t: for (;;)
|
|
try {
|
|
switch (this.j9_1) {
|
|
case 0:
|
|
if (
|
|
((this.k9_1 = 2),
|
|
Yi().v7k().n7l(this.f7l_1.l7l_1) &&
|
|
(Yi().v7k().m7l(this.f7l_1.l7l_1),
|
|
pt().f2a(
|
|
this.f7l_1,
|
|
vt("Space with the same ID is already exists. Old space has been destroyed."),
|
|
)),
|
|
(this.j9_1 = 1),
|
|
(t = Yi().w7k().o7l(this.f7l_1.l7l_1, this)) === Et())
|
|
)
|
|
return t;
|
|
continue t;
|
|
case 1:
|
|
var n = new Vr(this.f7l_1.l7l_1, this.g7l_1.m7j(), this.h7l_1, this.g7l_1.l7j());
|
|
return (Yi().v7k().p7l(n), X);
|
|
case 2:
|
|
throw this.m9_1;
|
|
}
|
|
} catch (t) {
|
|
var i = t;
|
|
if (2 === this.k9_1) throw i;
|
|
((this.j9_1 = this.k9_1), (this.m9_1 = i));
|
|
}
|
|
}),
|
|
(J(Xi).u7c = function (t, n) {
|
|
var i = new Xi(this.f7l_1, this.g7l_1, this.h7l_1, n);
|
|
return ((i.i7l_1 = t), i);
|
|
}),
|
|
(J(Ji).t7j = function (t) {
|
|
var n,
|
|
i,
|
|
r = t.j7j_1 ? new ir(t.l7j(), this.l7l_1) : tr().q7l_1;
|
|
At(
|
|
It,
|
|
ut,
|
|
ut,
|
|
ut,
|
|
((n = new Xi(this, t, r, null)),
|
|
((i = function (t, i) {
|
|
return n.t7c(t, i);
|
|
}).$arity = 1),
|
|
i),
|
|
);
|
|
}),
|
|
(J(Ji).toString = function () {
|
|
return "[OpenSpaceCommand spaceId=" + this.l7l_1.toString() + "]";
|
|
}),
|
|
(J(Zi).e7g = function (t) {
|
|
this.r7l_1 = t.d7f(G(W));
|
|
}),
|
|
(J(Zi).d7g = function (t) {
|
|
var n = (function (t) {
|
|
var n = t.r7l_1;
|
|
if (null != n) return n;
|
|
kt("IDCodec");
|
|
})(this).d7g(t);
|
|
return new Ji(n instanceof W ? n : tt());
|
|
}),
|
|
(J(Zi).c7g = function (t, n) {
|
|
throw qt();
|
|
}),
|
|
(J(nr).s7l = function (t, n) {
|
|
t.t2t(n);
|
|
}),
|
|
(J(nr).t7l = function (t, n) {
|
|
t.t2t(n);
|
|
}),
|
|
(J(ir).s7l = function (t, n) {
|
|
for (; n.k2t() > 0;) {
|
|
var i = n.xy();
|
|
(t.q2t(Nt(i ^ this.w7l_1[this.x7l_1])),
|
|
(this.w7l_1[this.x7l_1] = i),
|
|
(this.x7l_1 = this.x7l_1 ^ (7 & i)));
|
|
}
|
|
}),
|
|
(J(ir).t7l = function (t, n) {
|
|
for (; n.k2t() > 0;)
|
|
((this.u7l_1[this.v7l_1] = n.xy() ^ this.u7l_1[this.v7l_1]),
|
|
t.q2t(Nt(this.u7l_1[this.v7l_1])),
|
|
(this.v7l_1 = this.v7l_1 ^ (7 & this.u7l_1[this.v7l_1])));
|
|
}),
|
|
(J(ur).f7m = function () {
|
|
this.z7l_1(
|
|
(function (t) {
|
|
var n = t.e7m_1;
|
|
if (null != n) return n;
|
|
kt("connection");
|
|
})(this),
|
|
);
|
|
}),
|
|
(J(ur).g7m = function () {
|
|
try {
|
|
er(this).h7m();
|
|
} finally {
|
|
this.a7m_1(this);
|
|
}
|
|
}),
|
|
(J(ur).i7m = function (t) {
|
|
(yt(t, Ri) || tt(), t.t7j(this.d7m_1));
|
|
}),
|
|
(J(ur).j7m = function (t) {
|
|
this.e7m_1 = t;
|
|
}),
|
|
(J(or).e7g = function (t) {
|
|
((this.k7m_1 = t.d7f(bt().qb())), t.z7e(new jt(G(Oi), !1), new fr()));
|
|
var n = new Vi();
|
|
n.e7g(t);
|
|
var i = this.l7m_1,
|
|
r = w.n7j_1;
|
|
i.g3(r, n);
|
|
var e = new Zi();
|
|
e.e7g(t);
|
|
var u = this.l7m_1,
|
|
s = w.o7j_1;
|
|
u.g3(s, e);
|
|
var o = new Li();
|
|
o.e7g(t);
|
|
var _ = this.m7m_1,
|
|
h = w.p7j_1;
|
|
_.g3(h, o);
|
|
var a = new Fi();
|
|
a.e7g(t);
|
|
var c = this.m7m_1,
|
|
f = w.q7j_1;
|
|
c.g3(f, a);
|
|
}),
|
|
(J(or).c7g = function (t, n) {
|
|
var i = n instanceof Ii ? n : tt();
|
|
if ((sr(this).c7g(t, i.r7j_1), !this.m7m_1.x2(i.r7j_1)))
|
|
throw vt("Command with id " + i.r7j_1 + " unknown");
|
|
var r = this.m7m_1.z2(i.r7j_1);
|
|
null == r || r.c7g(t, n);
|
|
}),
|
|
(J(or).d7g = function (t) {
|
|
var n = sr(this).d7g(t),
|
|
i = this.l7m_1,
|
|
r = (yt(i, Dt) ? i : tt()).z2(n);
|
|
if (null == r) throw new CodecNotFoundForCommandException(n);
|
|
return r.d7g(t);
|
|
}),
|
|
(J(cr).e7g = function (t) {}),
|
|
(J(cr).c7g = function (t, n) {
|
|
t.o7f_1.y2t((null != n && yt(n, zr) ? n : tt()).c57());
|
|
}),
|
|
(J(cr).d7g = function (t) {
|
|
var n = t.o7f_1.n2t(),
|
|
i = _r(ar()).o7m().p7m(n);
|
|
return null == i ? Tr() : i;
|
|
}),
|
|
(J(fr).e7g = function (t) {
|
|
this.q7m_1 = t.d7f(G(W));
|
|
}),
|
|
(J(fr).c7g = function (t, n) {
|
|
var i = n instanceof Oi ? n : tt();
|
|
(t.o7f_1.q2t(d.u7j_1),
|
|
t.o7f_1.t2t(i.z7j_1),
|
|
i.z7j_1.s2u(),
|
|
(function (t) {
|
|
var n = t.q7m_1;
|
|
if (null != n) return n;
|
|
kt("idCodec");
|
|
})(this).c7g(t, i.y7j_1));
|
|
}),
|
|
(J(fr).d7g = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(lr).e7g = function (t) {
|
|
this.r7m_1 = t.d7f(G(Oi));
|
|
}),
|
|
(J(lr).c7g = function (t, n) {
|
|
if (n instanceof Oi)
|
|
(function (t) {
|
|
var n = t.r7m_1;
|
|
if (null != n) return n;
|
|
kt("spaceOpenedCommandCodec");
|
|
})(this).c7g(t, n);
|
|
else {
|
|
if (!(n instanceof Ni)) throw vt("Unknown space command " + Ot(n));
|
|
(t.o7f_1.y2t(n.v7j_1), t.o7f_1.y2t(n.w7j_1));
|
|
var i = n.x7j_1.o7f_1;
|
|
t.o7f_1.t2t(i);
|
|
for (var r = n.x7j_1.p7f_1; r.i7f_1 < r.g7f_1;) t.p7f_1.l7f(r.xy());
|
|
}
|
|
}),
|
|
(J(lr).d7g = function (t) {
|
|
return t;
|
|
}),
|
|
(J(pr).s7m = function (t, n) {
|
|
var i = new Ar(t, n);
|
|
return (this.f7n_1.g3(t, i), i);
|
|
}),
|
|
(J(pr).t7m = function (t) {
|
|
return this.f7n_1.z2(t);
|
|
}),
|
|
(J(gr).u7m = function () {
|
|
return this.g7n_1;
|
|
}),
|
|
(J(gr).v7m = function (t, n) {
|
|
this.j7n_1.g3(n, t);
|
|
}),
|
|
(J(gr).x7m = function (t, n) {
|
|
this.k7n_1.g3(t, n);
|
|
}),
|
|
(J(gr).y7m = function (t) {
|
|
var n = this.k7n_1.z2(t);
|
|
if (null == n) throw vt("Constructor codec not found for model " + t.toString());
|
|
return n;
|
|
}),
|
|
(J(gr).w7m = function (t) {
|
|
var n = this.g7n_1;
|
|
(yt(n, Bt) ? n : tt()).y(t);
|
|
var i = t.c57();
|
|
this.i7n_1.g3(i, t);
|
|
var r = this.h7n_1,
|
|
e = Ut(t);
|
|
r.g3(e, t);
|
|
}),
|
|
(J(gr).z7m = function (t, n, i) {
|
|
var r = this.j7n_1.z2(n),
|
|
e = this.i7n_1,
|
|
u = (yt(e, Dt) ? e : tt()).z2(r);
|
|
if (null == u) throw vt("Model not found for methodId = " + n.toString() + ", modelId = " + Ot(r));
|
|
Si().t7i(t);
|
|
try {
|
|
u.e7i(n, i);
|
|
} finally {
|
|
Si().v7i();
|
|
}
|
|
}),
|
|
(J(gr).a7n = function (t) {
|
|
return this.i7n_1.z2(t);
|
|
}),
|
|
(J(gr).b7n = function (t) {
|
|
var n = this.h7n_1.z2(t);
|
|
if (null == n) throw vt("Model by " + Z(t) + " not found");
|
|
var i = n;
|
|
return yt(i, ki) ? i : tt();
|
|
}),
|
|
(J(yr).r9 = function () {
|
|
var t = this.l9_1;
|
|
t: for (;;)
|
|
try {
|
|
switch (this.j9_1) {
|
|
case 0:
|
|
((this.k9_1 = 4), (this.v7n_1 = this.t7n_1.w7n_1.t()), (this.j9_1 = 1));
|
|
continue t;
|
|
case 1:
|
|
if (!this.v7n_1.u()) {
|
|
this.j9_1 = 3;
|
|
continue t;
|
|
}
|
|
var n = this.v7n_1.v();
|
|
if (((this.j9_1 = 2), (t = n.x7n(this.u7n_1, this)) === Et())) return t;
|
|
continue t;
|
|
case 2:
|
|
this.j9_1 = 1;
|
|
continue t;
|
|
case 3:
|
|
return X;
|
|
case 4:
|
|
throw this.m9_1;
|
|
}
|
|
} catch (t) {
|
|
var i = t;
|
|
if (4 === this.k9_1) throw i;
|
|
((this.j9_1 = this.k9_1), (this.m9_1 = i));
|
|
}
|
|
}),
|
|
(J(kr).o7l = function (t, n) {
|
|
var i = new yr(this, t, n);
|
|
return ((i.l9_1 = X), (i.m9_1 = null), i.r9());
|
|
}),
|
|
(J(kr).c7n = function (t) {
|
|
this.w7n_1.y(t);
|
|
}),
|
|
(J(jr).d7n = function (t) {
|
|
this.z7n_1 = t;
|
|
}),
|
|
(J(jr).o7m = function () {
|
|
return this.z7n_1;
|
|
}),
|
|
(J(jr).p7l = function (t) {
|
|
var n = this.a7o_1,
|
|
i = t.c57();
|
|
n.g3(i, t);
|
|
for (var r = this.b7o_1.t(); r.u();) r.v().c7o(t);
|
|
}),
|
|
(J(jr).m7l = function (t) {
|
|
var n = this.a7o_1.h3(t);
|
|
null == n || br(this, n);
|
|
}),
|
|
(J(jr).n7l = function (t) {
|
|
var n = this.a7o_1;
|
|
return (yt(n, Dt) ? n : tt()).x2(t);
|
|
}),
|
|
(J(jr).h7m = function () {
|
|
for (var t = Vt(this.a7o_1.b3()).t(); t.u();) br(this, t.v());
|
|
this.a7o_1.d3();
|
|
}),
|
|
(J(jr).e7n = function (t) {
|
|
this.b7o_1.y(t);
|
|
}),
|
|
(J(Er).e7o = function () {
|
|
throw qt();
|
|
}),
|
|
(J(Er).c57 = function () {
|
|
return this.i7o_1;
|
|
}),
|
|
(J(Er).w7i = function () {
|
|
throw qt();
|
|
}),
|
|
(J(Er).f7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Er).g7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Er).h7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).c57 = function () {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).j7o = function () {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).k7o = function () {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).p7m = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).l7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).m7o = function (t, n, i) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).n7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).y7n = function () {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).o7o = function () {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).p7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).q7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).r7o = function (t) {
|
|
throw qt();
|
|
}),
|
|
(J(Ir).s7o = function (t, n, i) {
|
|
throw qt();
|
|
}),
|
|
(J(Ar).w7o = function (t) {
|
|
var n,
|
|
i = this.v7o_1,
|
|
r = i.r2a_1.get(t);
|
|
if (null != r) n = r;
|
|
else {
|
|
var e = (function (t, n) {
|
|
var i = t.u7o_1,
|
|
r = new Yt(),
|
|
e = 0,
|
|
u = i.e1();
|
|
if (e < u)
|
|
do {
|
|
var s = e;
|
|
e = (e + 1) | 0;
|
|
var o = i.g1(s);
|
|
o.k7i(n) && r.ii(o);
|
|
} while (e < u);
|
|
return r.h2i();
|
|
})(this, t);
|
|
(i.r2a_1.set(t, e), (n = e));
|
|
}
|
|
return n;
|
|
}),
|
|
(J(Ar).x7o = function (t) {
|
|
Si().t7i(t);
|
|
try {
|
|
var n = this.u7o_1,
|
|
i = 0,
|
|
r = n.e1();
|
|
if (i < r)
|
|
do {
|
|
var e = i;
|
|
((i = (i + 1) | 0), n.g1(e).g7i());
|
|
} while (i < r);
|
|
} finally {
|
|
Si().v7i();
|
|
}
|
|
return X;
|
|
}),
|
|
(J(Ar).toString = function () {
|
|
return "GameClass(id=" + this.t7o_1.toString() + ", models=" + this.u7o_1.toString() + ")";
|
|
}),
|
|
(J(Ar).hashCode = function () {
|
|
var t = this.t7o_1.hashCode();
|
|
return (U(t, 31) + Xt(this.u7o_1)) | 0;
|
|
}),
|
|
(J(Ar).equals = function (t) {
|
|
return this === t || (t instanceof Ar && !!Jt(this.t7o_1, t.t7o_1) && !!Zt(this.u7o_1, t.u7o_1));
|
|
}),
|
|
(J(Lr).c57 = function () {
|
|
return this.y7o_1;
|
|
}),
|
|
(J(Lr).e7o = function () {
|
|
return this.b7p_1;
|
|
}),
|
|
(J(Lr).w7i = function () {
|
|
return this.f7p_1;
|
|
}),
|
|
(J(Lr).g7o = function (t) {
|
|
var n = Pr(this).r2a_1.get(t);
|
|
if (null == n) {
|
|
var i = (function (t, n) {
|
|
var i = t.z7o_1.w7o(n),
|
|
r = i.length;
|
|
if (0 === r) return null;
|
|
if (r > 1)
|
|
throw Qt(
|
|
"GameObject::_adapt() Multiple models have been found. Object: " +
|
|
t.toString() +
|
|
", interface: " +
|
|
Z(n),
|
|
);
|
|
return (function (t, n, i) {
|
|
var r,
|
|
e,
|
|
u = {
|
|
get:
|
|
((r = n),
|
|
(e = i),
|
|
function (t, n, i) {
|
|
return (function (t, n, i) {
|
|
return function () {
|
|
var r;
|
|
Si().t7i(t);
|
|
try {
|
|
var e = n[0],
|
|
u = e[i];
|
|
if (null == u)
|
|
throw vt(
|
|
"Method not found modelId: " +
|
|
e.c57().toString() +
|
|
" model: " +
|
|
Z(Ut(e)) +
|
|
" method: " +
|
|
Z(i),
|
|
);
|
|
r = u.apply(e, arguments);
|
|
} finally {
|
|
Si().v7i();
|
|
}
|
|
return r;
|
|
};
|
|
})(r, e, n);
|
|
}),
|
|
};
|
|
return new Proxy({}, u);
|
|
})(0, t, i);
|
|
})(this, t);
|
|
if (null == i)
|
|
throw Qt(
|
|
"GameObject::_adapt() No models have been found. Object: " +
|
|
this.toString() +
|
|
", interface: " +
|
|
Z(t),
|
|
);
|
|
var r = (n = i);
|
|
Pr(this).r2a_1.set(t, r);
|
|
}
|
|
return nn(n);
|
|
}),
|
|
(J(Lr).h7o = function (t) {
|
|
var n = Nr(this).r2a_1.get(t);
|
|
if (null == n) {
|
|
var i = (n = (function (t, n) {
|
|
return (
|
|
(e = t),
|
|
(u = t.z7o_1.w7o(n)),
|
|
(s = {
|
|
get:
|
|
((i = e),
|
|
(r = u),
|
|
function (t, n, e) {
|
|
return (function (t, n, i) {
|
|
return function () {
|
|
Si().t7i(t);
|
|
try {
|
|
for (var r = n, e = 0, u = r.length; e < u;) {
|
|
var s = r[e];
|
|
e = (e + 1) | 0;
|
|
var o = s[i];
|
|
if (null == o)
|
|
throw vt(
|
|
"Method not found modelId: " +
|
|
s.c57().toString() +
|
|
" model: " +
|
|
Z(Ut(s)) +
|
|
" method: " +
|
|
Z(i),
|
|
);
|
|
o.apply(s, arguments);
|
|
}
|
|
} finally {
|
|
Si().v7i();
|
|
}
|
|
return X;
|
|
};
|
|
})(i, r, n);
|
|
}),
|
|
}),
|
|
new Proxy({}, s)
|
|
);
|
|
var i, r, e, u, s;
|
|
})(this, t));
|
|
Nr(this).r2a_1.set(t, i);
|
|
}
|
|
return nn(n);
|
|
}),
|
|
(J(Lr).f7o = function (t) {
|
|
return !(0 === this.z7o_1.w7o(t).length);
|
|
}),
|
|
(J(Lr).d7j = function (t, n, i) {
|
|
var r,
|
|
e = Rr(this),
|
|
u = e.r2a_1.get(t);
|
|
if (null != u) r = u;
|
|
else {
|
|
var s = new gt();
|
|
(e.r2a_1.set(t, s), (r = s));
|
|
}
|
|
r.r2a_1.set(n, i);
|
|
}),
|
|
(J(Lr).c7j = function (t, n) {
|
|
var i = Rr(this).r2a_1.get(t);
|
|
if (null == i) return null;
|
|
var r = i.r2a_1.get(n);
|
|
return null == r || null != r ? r : tt();
|
|
}),
|
|
(J(Lr).f7j = function (t, n) {
|
|
var i,
|
|
r = Rr(this).r2a_1.get(t);
|
|
return (null == r ? (i = null) : (r.r2a_1.delete(n), (i = X)), null == i || null != i ? i : tt());
|
|
}),
|
|
(J(Lr).l3c = function () {
|
|
(this.z7o_1.x7o(this),
|
|
(function (t) {
|
|
for (var n = Rr(t).r2a_1.entries(), i = n.next(); !i.done;) {
|
|
i.value[0];
|
|
for (var r = i.value[1].r2a_1.entries(), e = r.next(); !e.done;) {
|
|
e.value[0];
|
|
var u = e.value[1];
|
|
(yt(u, Me) && u.y7n(), (e = r.next()));
|
|
}
|
|
i = n.next();
|
|
}
|
|
Rr(t).r2a_1.clear();
|
|
})(this),
|
|
(this.f7p_1 = !0));
|
|
}),
|
|
(J(Lr).toString = function () {
|
|
return "[GameObject id=" + this.y7o_1.toString() + "]";
|
|
}),
|
|
(J(Wr).w7p = function (t) {
|
|
var n = this.v7p_1.n7p_1;
|
|
null == n || n.w7p(t);
|
|
}),
|
|
(J(Vr).c57 = function () {
|
|
return this.g7p_1;
|
|
}),
|
|
(J(Vr).j7o = function () {
|
|
return this.m7p_1;
|
|
}),
|
|
(J(Vr).k7o = function () {
|
|
return this.l7o(this.g7p_1);
|
|
}),
|
|
(J(Vr).y7n = function () {
|
|
if (this.s7p_1.xy()) return X;
|
|
this.s7p_1.v2o(!0);
|
|
var t = this.n7p_1;
|
|
(null == t || t.y7n(), (this.n7p_1 = null));
|
|
for (var n = un(this.q7p_1).t(); n.u();) {
|
|
var i = n.v();
|
|
this.n7o(i.c57());
|
|
}
|
|
(this.t7p_1.d3(), this.o7p_1.d3(), this.q7p_1.d3(), this.p7p_1.d3(), this.r7p_1.d3());
|
|
}),
|
|
(J(Vr).p7m = function (t) {
|
|
return this.o7p_1.z2(t);
|
|
}),
|
|
(J(Vr).l7o = function (t) {
|
|
var n,
|
|
i = this.p7m(t);
|
|
if (null == i)
|
|
throw (
|
|
(n = this.p7p_1.h1(t)
|
|
? "Object " + t.toString() + " has been unloaded from space " + this.g7p_1.toString()
|
|
: "Object " + t.toString() + " has never been loaded to space " + this.g7p_1.toString()),
|
|
Q(n)
|
|
);
|
|
return i;
|
|
}),
|
|
(J(Vr).m7o = function (t, n, i) {
|
|
(!(function (t) {
|
|
if (t.s7p_1.xy()) throw wt("Space " + t.g7p_1.toString() + " is destroyed");
|
|
})(this),
|
|
this.p7p_1.y(t));
|
|
var r,
|
|
e = this.o7p_1.z2(t);
|
|
if (null == e) {
|
|
var u = new Lr(t, n instanceof Ar ? n : tt(), i, this);
|
|
(this.q7p_1.y(u), this.o7p_1.g3(t, u), (r = u));
|
|
} else r = e;
|
|
return r;
|
|
}),
|
|
(J(Vr).n7o = function (t) {
|
|
var n,
|
|
i = this.o7p_1.z2(t);
|
|
if (null == i) return (pt().i2d(this, new GameObjectNotFoundException(t)), X);
|
|
try {
|
|
((n = i).h7o(G($i)).n7i(), n.h7o(G(qi)).o7i());
|
|
} finally {
|
|
!(function (t, n) {
|
|
(t.o7p_1.h3(n.y7o_1), t.q7p_1.c3(n), n.l3c());
|
|
})(this, i);
|
|
}
|
|
}),
|
|
(J(Vr).p7o = function (t) {
|
|
this.t7p_1.f1(t);
|
|
}),
|
|
(J(Vr).f7m = function () {
|
|
this.m7p_1.w7p(new Oi(this.g7p_1, this.i7p_1));
|
|
}),
|
|
(J(Vr).g7m = function () {
|
|
Ur(this).m7l(this.g7p_1);
|
|
}),
|
|
(J(Vr).q7o = function (t) {
|
|
this.r7p_1.y(t);
|
|
}),
|
|
(J(Vr).i7m = function (t) {
|
|
if ((t instanceof lt || tt(), this.s7p_1.xy())) (t.d3(), t.n7f());
|
|
else
|
|
try {
|
|
var n, i;
|
|
if (t.p7f_1.xy()) {
|
|
var r = ((s = this), (o = t.o7f_1.xy()), Gr(s)[255 & o]);
|
|
((n = r.ya_1), (i = r.za_1));
|
|
} else ((n = t.o7f_1.n2t()), (i = t.o7f_1.n2t()));
|
|
var e = this.l7o(n);
|
|
(Ur(this).d7n(this), Br(this).z7m(e, i, t));
|
|
} catch (t) {
|
|
if (t instanceof Error) {
|
|
var u = t;
|
|
throw (this.r7o(u), u);
|
|
}
|
|
throw t;
|
|
} finally {
|
|
Ur(this).d7n($);
|
|
}
|
|
var s, o;
|
|
}),
|
|
(J(Vr).r7o = function (t) {
|
|
try {
|
|
for (var n = this.r7p_1.t(); n.u();) n.v()(t);
|
|
} catch (t) {
|
|
if (!(t instanceof Error)) throw t;
|
|
var i = t;
|
|
pt().f2a(this, i);
|
|
}
|
|
}),
|
|
(J(Vr).o7o = function () {
|
|
return !this.s7p_1.xy();
|
|
}),
|
|
(J(Vr).s7o = function (t, n, i) {
|
|
Gr(this)[255 & t] = new rn(n, i);
|
|
}),
|
|
(J(Vr).toString = function () {
|
|
return "Space(id=" + this.g7p_1.toString() + ")";
|
|
}),
|
|
(J(Kr).x7p = function (t, n) {
|
|
for (var i = t, r = 0, e = 0, u = n.length; e < u;) {
|
|
var s = n[e];
|
|
e = (e + 1) | 0;
|
|
var o = r;
|
|
((r = (o + 1) | 0), (i = sn(i, "{" + o + "}", Z(s))));
|
|
}
|
|
return i;
|
|
}),
|
|
(J(Xr).t7c = function (t, n) {
|
|
var i = this.u7c(t, n);
|
|
return ((i.l9_1 = X), (i.m9_1 = null), i.r9());
|
|
}),
|
|
(J(Xr).ea = function (t, n) {
|
|
return this.t7c(null != t && yt(t, Ct) ? t : tt(), n);
|
|
}),
|
|
(J(Xr).r9 = function () {
|
|
var t = this.l9_1;
|
|
t: for (;;)
|
|
try {
|
|
switch (this.j9_1) {
|
|
case 0:
|
|
if (
|
|
((this.k9_1 = 2),
|
|
(this.j9_1 = 1),
|
|
(t = new me(this.g7q_1, Yr(this.h7q_1)).n7q(this)) === Et())
|
|
)
|
|
return t;
|
|
continue t;
|
|
case 1:
|
|
return X;
|
|
case 2:
|
|
throw this.m9_1;
|
|
}
|
|
} catch (t) {
|
|
var n = t;
|
|
if (2 === this.k9_1) throw n;
|
|
((this.j9_1 = this.k9_1), (this.m9_1 = n));
|
|
}
|
|
}),
|
|
(J(Xr).u7c = function (t, n) {
|
|
var i = new Xr(this.g7q_1, this.h7q_1, n);
|
|
return ((i.i7q_1 = t), i);
|
|
}),
|
|
(J(Zr).q7q = function () {
|
|
for (
|
|
var t = wn(
|
|
(function () {
|
|
var t = document.location;
|
|
if (null == t) return "";
|
|
var n = t.hash;
|
|
return 0 === ln(n) ? n : vn(n, 1);
|
|
})(),
|
|
["&"],
|
|
),
|
|
n = mn(dn(t, 10)),
|
|
i = t.t();
|
|
i.u();
|
|
) {
|
|
var r = i.v(),
|
|
e = wn(r, ["="]),
|
|
u = 1 === e.e1() ? pn(r, "") : pn(e.g1(0), e.g1(1));
|
|
n.y(u);
|
|
}
|
|
return gn(n);
|
|
}),
|
|
(J(ee).c7r = function () {
|
|
var t;
|
|
(((t = this).y7q_1 = 1), ne(t));
|
|
}),
|
|
(J(he).z7h = function (t) {
|
|
this.j7r_1.y(t);
|
|
}),
|
|
(J(he).a7i = function (t) {
|
|
this.h7r_1 = t;
|
|
var n,
|
|
i,
|
|
r = this.d7r_1.z2("config-template");
|
|
if (null == r) throw Q(Z("Param config-template not found in url"));
|
|
((n = this),
|
|
new ee(
|
|
sn(r, "{server}", t.toString()),
|
|
((i = n),
|
|
function (t) {
|
|
return (0 === t.u7h_1.k3_1 ? oe(i, t) : pt().j2a(i, new ConfigLoadedException(t.u7h_1)), X);
|
|
}),
|
|
).c7r());
|
|
}),
|
|
(J(he).c7i = function () {
|
|
return this.h7r_1;
|
|
}),
|
|
(J(he).b7i = function (t, n, i) {
|
|
oe(this, new mi(pi(), t, n, i));
|
|
}),
|
|
(J(he).d7i = function () {
|
|
var t = this.i7r_1;
|
|
if (null == t) return X;
|
|
var n = t;
|
|
((this.g7r_1 = !0), n.y7n(), (this.i7r_1 = null), null == An(G($r)) || qn(G($r)));
|
|
var i = An(G(mr));
|
|
(null == i || i.h7m(), null == An(G(vr)) || qn(G(vr)), (this.g7r_1 = !1));
|
|
}),
|
|
(J(he).z2j = function (t, n, i) {
|
|
var r = this.i7r_1;
|
|
null == r || r.w7p(new Bi(t, n, i));
|
|
}),
|
|
(J(ce).toString = function () {
|
|
return "Server(server=" + this.x7r_1 + ", online=" + this.y7r_1 + ", inbattles=" + this.z7r_1 + ")";
|
|
}),
|
|
(J(ce).hashCode = function () {
|
|
var t = this.x7r_1;
|
|
return ((t = (U(t, 31) + this.y7r_1) | 0), (U(t, 31) + this.z7r_1) | 0);
|
|
}),
|
|
(J(ce).equals = function (t) {
|
|
return (
|
|
this === t ||
|
|
(t instanceof ce && this.x7r_1 === t.x7r_1 && this.y7r_1 === t.y7r_1 && this.z7r_1 === t.z7r_1)
|
|
);
|
|
}),
|
|
(J(fe).be = function (t, n) {
|
|
return this.a7s_1(t, n);
|
|
}),
|
|
(J(fe).compare = function (t, n) {
|
|
return this.be(t, n);
|
|
}),
|
|
(J(fe).t3 = function () {
|
|
return this.a7s_1;
|
|
}),
|
|
(J(fe).equals = function (t) {
|
|
return !(null == t || !yt(t, Pn)) && !(null == t || !yt(t, Rn)) && Zt(this.t3(), t.t3());
|
|
}),
|
|
(J(fe).hashCode = function () {
|
|
return Xt(this.t3());
|
|
}),
|
|
(J(we).r9 = function () {
|
|
var t = this.l9_1;
|
|
t: for (;;)
|
|
try {
|
|
switch (this.j9_1) {
|
|
case 0:
|
|
if (
|
|
((this.k9_1 = 3),
|
|
this.w7r_1.l7q_1.d3(),
|
|
(this.j9_1 = 1),
|
|
(t = On(window.fetch(this.w7r_1.j7q_1), this)) === Et())
|
|
)
|
|
return t;
|
|
continue t;
|
|
case 1:
|
|
var n = t;
|
|
if (((this.j9_1 = 2), (t = On(n.text(), this)) === Et())) return t;
|
|
continue t;
|
|
case 2:
|
|
for (var i = t, r = this.w7r_1.m7q_1.q1o(ye().b1r(), i), e = r.e7s_1.u1().t(); e.u();) {
|
|
var u = e.v(),
|
|
s = u.v2(),
|
|
o = u.w2();
|
|
if ("NORMAL" === o.h7s_1.j7s_1) {
|
|
var _ = Mn("([-a-zA-Z.]*)");
|
|
this.w7r_1.l7q_1.y(new ce(cn(_.fd(s, "")), o.f7s_1, o.g7s_1));
|
|
}
|
|
}
|
|
var h = this.w7r_1.l7q_1;
|
|
return (h.e1() > 1 && Dn(h, new fe(ve)), (z.o7q_1 = r.c7s_1), (z.p7q_1 = r.d7s_1), X);
|
|
case 3:
|
|
throw this.m9_1;
|
|
}
|
|
} catch (t) {
|
|
var a = t;
|
|
if (3 === this.k9_1) throw a;
|
|
((this.j9_1 = this.k9_1), (this.m9_1 = a));
|
|
}
|
|
}),
|
|
(J(de).r9 = function () {
|
|
var t = this.l9_1;
|
|
t: for (;;)
|
|
try {
|
|
switch (this.j9_1) {
|
|
case 0:
|
|
if (((this.k9_1 = 2), (this.j9_1 = 1), (t = ae(this.s7s_1, this)) === Et())) return t;
|
|
continue t;
|
|
case 1:
|
|
if (this.s7s_1.l7q_1.r()) pt().j2a(this.s7s_1, new NotFoundServersException());
|
|
else {
|
|
var n = this.s7s_1.l7q_1,
|
|
i = Ln(n, yn()).x7r_1;
|
|
this.s7s_1.k7q_1.a7i(i);
|
|
}
|
|
return X;
|
|
case 2:
|
|
throw this.m9_1;
|
|
}
|
|
} catch (t) {
|
|
var r = t;
|
|
if (2 === this.k9_1) throw r;
|
|
((this.j9_1 = this.k9_1), (this.m9_1 = r));
|
|
}
|
|
}),
|
|
(J(me).n7q = function (t) {
|
|
var n = new de(this, t);
|
|
return ((n.l9_1 = X), (n.m9_1 = null), n.r9());
|
|
}),
|
|
(J(ge).b1r = function () {
|
|
return be();
|
|
}),
|
|
(J(ke).u7s = function (t, n) {
|
|
var i = this.t7s_1,
|
|
r = t.n17(i),
|
|
e = ye().b7s_1;
|
|
(r.c19(i, 0, n.c7s_1), r.c19(i, 1, n.d7s_1), r.e19(i, 2, e[2].w2(), n.e7s_1), r.o17(i));
|
|
}),
|
|
(J(ke).n14 = function (t, n) {
|
|
return this.u7s(t, n instanceof je ? n : tt());
|
|
}),
|
|
(J(ke).o14 = function (t) {
|
|
var n,
|
|
i,
|
|
r,
|
|
e,
|
|
u,
|
|
s = this.t7s_1,
|
|
o = !0,
|
|
_ = 0,
|
|
h = 0,
|
|
a = null,
|
|
c = null,
|
|
f = null,
|
|
l = t.n17(s),
|
|
v = ye().b7s_1;
|
|
if (l.d18())
|
|
((a = l.x17(s, 0)),
|
|
(h |= 1),
|
|
(c = l.x17(s, 1)),
|
|
(h |= 2),
|
|
(f = l.z17(s, 2, v[2].w2(), f)),
|
|
(h |= 4));
|
|
else
|
|
for (; o;)
|
|
switch ((_ = l.e18(s))) {
|
|
case -1:
|
|
o = !1;
|
|
break;
|
|
case 0:
|
|
((a = l.x17(s, 0)), (h |= 1));
|
|
break;
|
|
case 1:
|
|
((c = l.x17(s, 1)), (h |= 2));
|
|
break;
|
|
case 2:
|
|
((f = l.z17(s, 2, v[2].w2(), f)), (h |= 4));
|
|
break;
|
|
default:
|
|
throw Vn(_);
|
|
}
|
|
return (
|
|
l.o17(s),
|
|
(n = h),
|
|
(i = a),
|
|
(r = c),
|
|
(e = f),
|
|
(u = Jn(J(je))),
|
|
7 & ~n && Xn(n, 7, be().t7s_1),
|
|
(u.c7s_1 = i),
|
|
(u.d7s_1 = r),
|
|
(u.e7s_1 = e),
|
|
u
|
|
);
|
|
}),
|
|
(J(ke).m14 = function () {
|
|
return this.t7s_1;
|
|
}),
|
|
(J(ke).q1f = function () {
|
|
var t = ye().b7s_1;
|
|
return [Un(), Un(), t[2].w2()];
|
|
}),
|
|
(J(je).toString = function () {
|
|
return (
|
|
"BalancerStatus(serverVersion=" +
|
|
this.c7s_1 +
|
|
", serverNamespace=" +
|
|
this.d7s_1 +
|
|
", nodes=" +
|
|
Z(this.e7s_1) +
|
|
")"
|
|
);
|
|
}),
|
|
(J(je).hashCode = function () {
|
|
var t = st(this.c7s_1);
|
|
return ((t = (U(t, 31) + st(this.d7s_1)) | 0), (U(t, 31) + Xt(this.e7s_1)) | 0);
|
|
}),
|
|
(J(je).equals = function (t) {
|
|
return (
|
|
this === t ||
|
|
(t instanceof je && this.c7s_1 === t.c7s_1 && this.d7s_1 === t.d7s_1 && !!Zt(this.e7s_1, t.e7s_1))
|
|
);
|
|
}),
|
|
(J($e).w7s = function (t, n) {
|
|
var i = this.v7s_1,
|
|
r = t.n17(i);
|
|
(r.x18(i, 0, n.f7s_1), r.x18(i, 1, n.g7s_1), r.e19(i, 2, Se(), n.h7s_1), r.o17(i));
|
|
}),
|
|
(J($e).n14 = function (t, n) {
|
|
return this.w7s(t, n instanceof ze ? n : tt());
|
|
}),
|
|
(J($e).o14 = function (t) {
|
|
var n,
|
|
i,
|
|
r,
|
|
e,
|
|
u,
|
|
s = this.v7s_1,
|
|
o = !0,
|
|
_ = 0,
|
|
h = 0,
|
|
a = 0,
|
|
c = 0,
|
|
f = null,
|
|
l = t.n17(s);
|
|
if (l.d18())
|
|
((a = l.s17(s, 0)), (h |= 1), (c = l.s17(s, 1)), (h |= 2), (f = l.z17(s, 2, Se(), f)), (h |= 4));
|
|
else
|
|
for (; o;)
|
|
switch ((_ = l.e18(s))) {
|
|
case -1:
|
|
o = !1;
|
|
break;
|
|
case 0:
|
|
((a = l.s17(s, 0)), (h |= 1));
|
|
break;
|
|
case 1:
|
|
((c = l.s17(s, 1)), (h |= 2));
|
|
break;
|
|
case 2:
|
|
((f = l.z17(s, 2, Se(), f)), (h |= 4));
|
|
break;
|
|
default:
|
|
throw Vn(_);
|
|
}
|
|
return (
|
|
l.o17(s),
|
|
(n = h),
|
|
(i = a),
|
|
(r = c),
|
|
(e = f),
|
|
(u = Jn(J(ze))),
|
|
7 & ~n && Xn(n, 7, qe().v7s_1),
|
|
(u.f7s_1 = i),
|
|
(u.g7s_1 = r),
|
|
(u.h7s_1 = e),
|
|
u
|
|
);
|
|
}),
|
|
(J($e).m14 = function () {
|
|
return this.v7s_1;
|
|
}),
|
|
(J($e).q1f = function () {
|
|
return [Zn(), Zn(), Se()];
|
|
}),
|
|
(J(ze).toString = function () {
|
|
return (
|
|
"BalancerNode(online=" +
|
|
this.f7s_1 +
|
|
", inbattles=" +
|
|
this.g7s_1 +
|
|
", endpoint=" +
|
|
this.h7s_1.toString() +
|
|
")"
|
|
);
|
|
}),
|
|
(J(ze).hashCode = function () {
|
|
var t = this.f7s_1;
|
|
return ((t = (U(t, 31) + this.g7s_1) | 0), (U(t, 31) + this.h7s_1.hashCode()) | 0);
|
|
}),
|
|
(J(ze).equals = function (t) {
|
|
return (
|
|
this === t ||
|
|
(t instanceof ze &&
|
|
this.f7s_1 === t.f7s_1 &&
|
|
this.g7s_1 === t.g7s_1 &&
|
|
!!this.h7s_1.equals(t.h7s_1))
|
|
);
|
|
}),
|
|
(J(xe).y7s = function (t, n) {
|
|
var i = this.x7s_1,
|
|
r = t.n17(i);
|
|
(r.c19(i, 0, n.i7s_1), r.c19(i, 1, n.j7s_1), r.o17(i));
|
|
}),
|
|
(J(xe).n14 = function (t, n) {
|
|
return this.y7s(t, n instanceof Ce ? n : tt());
|
|
}),
|
|
(J(xe).o14 = function (t) {
|
|
var n,
|
|
i,
|
|
r,
|
|
e,
|
|
u = this.x7s_1,
|
|
s = !0,
|
|
o = 0,
|
|
_ = 0,
|
|
h = null,
|
|
a = null,
|
|
c = t.n17(u);
|
|
if (c.d18()) ((h = c.x17(u, 0)), (_ |= 1), (a = c.x17(u, 1)), (_ |= 2));
|
|
else
|
|
for (; s;)
|
|
switch ((o = c.e18(u))) {
|
|
case -1:
|
|
s = !1;
|
|
break;
|
|
case 0:
|
|
((h = c.x17(u, 0)), (_ |= 1));
|
|
break;
|
|
case 1:
|
|
((a = c.x17(u, 1)), (_ |= 2));
|
|
break;
|
|
default:
|
|
throw Vn(o);
|
|
}
|
|
return (
|
|
c.o17(u),
|
|
(n = _),
|
|
(i = h),
|
|
(r = a),
|
|
(e = Jn(J(Ce))),
|
|
3 & ~n && Xn(n, 3, Se().x7s_1),
|
|
(e.i7s_1 = i),
|
|
(e.j7s_1 = r),
|
|
e
|
|
);
|
|
}),
|
|
(J(xe).m14 = function () {
|
|
return this.x7s_1;
|
|
}),
|
|
(J(xe).q1f = function () {
|
|
return [Un(), Un()];
|
|
}),
|
|
(J(Ce).toString = function () {
|
|
return "BalancerNodeEndpoint(host=" + this.i7s_1 + ", status=" + this.j7s_1 + ")";
|
|
}),
|
|
(J(Ce).hashCode = function () {
|
|
var t = st(this.i7s_1);
|
|
return (U(t, 31) + st(this.j7s_1)) | 0;
|
|
}),
|
|
(J(Ce).equals = function (t) {
|
|
return this === t || (t instanceof Ce && this.i7s_1 === t.i7s_1 && this.j7s_1 === t.j7s_1);
|
|
}),
|
|
(J(Ie).w7p = function (t) {
|
|
if (this.f7t_1.xy()) return X;
|
|
if (this.g7t_1.equals(Pe())) {
|
|
var n = ni().x7e(si());
|
|
(!(function (t, n, i) {
|
|
var r = null != n && yt(n, Ai),
|
|
e = Qn().z7f(ti());
|
|
(t.z7s_1.c7g(e, n), e.n7f());
|
|
var u = ni().x7e(ii());
|
|
(Ee(t).e7f(u, e), Qn().a7g(e), (r ? tr().q7l_1 : t.a7t_1).s7l(i, u), ni().y7e(u));
|
|
})(this, t, n),
|
|
n.s2u());
|
|
var i = n.e2t(),
|
|
r = new DataView(i.buffer, n.g2t(), n.n2u());
|
|
(this.e7t_1.send(r), ni().y7e(n));
|
|
}
|
|
}),
|
|
(J(Ie).y7n = function () {
|
|
this.f7t_1.v2o(!0);
|
|
try {
|
|
this.g7t_1.equals(Pe()) && this.e7t_1.close();
|
|
} finally {
|
|
Te(this);
|
|
}
|
|
}),
|
|
(J(Ne).e7g = function (t) {}),
|
|
(J(Ne).c7g = function (t, n) {
|
|
throw new oi();
|
|
}),
|
|
(J(Ne).d7g = function (t) {
|
|
var n = t.o7f_1.i2u(),
|
|
i = t.o7f_1.i2u();
|
|
return fi(ci(hi(_i(n), 32), ai(_i(i), new W(-1, 0))));
|
|
}),
|
|
(J(Oe).d7o = function (t, n, i) {
|
|
return new Ie(this.k7r_1, this.l7r_1, this.m7r_1, t, n, i);
|
|
}),
|
|
(J(ke).r1f = Kn),
|
|
(J($e).r1f = Kn),
|
|
(J(xe).r1f = Kn),
|
|
(w = new Ti()),
|
|
(d = new Pi()),
|
|
(m = new Hi()),
|
|
($ = new Ir()),
|
|
(q = new Kr()),
|
|
(z = new Jr()),
|
|
(x = new Zr()),
|
|
new re(),
|
|
(t.$_$ = t.$_$ || {}),
|
|
(t.$_$.a = gi),
|
|
(t.$_$.b = yi),
|
|
(t.$_$.c = ConfigLoadedException),
|
|
(t.$_$.d = ControlChannelDisconnectException),
|
|
(t.$_$.e = NotFoundServersException),
|
|
(t.$_$.f = Ci),
|
|
(t.$_$.g = bi),
|
|
(t.$_$.h = ji),
|
|
(t.$_$.i = $i),
|
|
(t.$_$.j = qi),
|
|
(t.$_$.k = zi),
|
|
(t.$_$.l = Ni),
|
|
(t.$_$.m = vr),
|
|
(t.$_$.n = wr),
|
|
(t.$_$.o = dr),
|
|
(t.$_$.p = mr),
|
|
(t.$_$.q = Me),
|
|
(t.$_$.r = zr),
|
|
(t.$_$.s = xr),
|
|
(t.$_$.t = function (t, n) {
|
|
if ((Sr(), t === Tr())) {
|
|
var i = "Cannot get init param of " + Z(n) + " for " + t.c57().toString();
|
|
throw wt(Z(i));
|
|
}
|
|
var r = xr(t, n);
|
|
if (null == r)
|
|
throw vt("Constructor is null. GameObject id: " + t.c57().toString() + ", model class: " + Z(n));
|
|
return r;
|
|
}),
|
|
(t.$_$.u = function (t) {
|
|
return !(t === Tr());
|
|
}),
|
|
(t.$_$.v = function (t) {
|
|
return t === Tr();
|
|
}),
|
|
(t.$_$.w = function (t) {
|
|
return on(sn(t, "0x", ""), 16);
|
|
}),
|
|
(t.$_$.x = function (t) {
|
|
return t.fy();
|
|
}),
|
|
(t.$_$.y = function (t) {
|
|
var n,
|
|
i,
|
|
r = t.z2("server"),
|
|
e = t.z2("balancer"),
|
|
u = new H(G(yi), null);
|
|
if (null != r) Yr(u).a7i(cn(r));
|
|
else if (null != e) {
|
|
var s = It,
|
|
o = an();
|
|
At(
|
|
s,
|
|
ut,
|
|
ut,
|
|
o,
|
|
((n = new Xr(e, u, null)),
|
|
((i = function (t, i) {
|
|
return n.t7c(t, i);
|
|
}).$arity = 1),
|
|
i),
|
|
);
|
|
} else Yr(u).a7i(1);
|
|
}),
|
|
(t.$_$.z = function (t) {
|
|
var n;
|
|
((n = new H(G(F), null)), n.i2c(null, rt("protocol", it, !1))).a7f(G(_n), new Ne());
|
|
var i = new he(t);
|
|
(Y(G(yi), i), Y(G(hn), i));
|
|
}),
|
|
(t.$_$.a1 = function () {
|
|
var t = new H(G(F), null);
|
|
(vi(t).a7f(G(W), new V()),
|
|
vi(t).a7f(G(Ii), new or()),
|
|
vi(t).a7f(G(Ni), new lr()),
|
|
vi(t).a7f(G(zr), new cr()),
|
|
vi(t).a7f(G(K), new li()));
|
|
var n = new jr();
|
|
Y(G(mr), n, null);
|
|
var i = new kr();
|
|
Y(G(dr), i, null);
|
|
var r = new gr();
|
|
Y(G(wr), r, null);
|
|
}),
|
|
(t.$_$.b1 = function () {
|
|
return (Qr(), T);
|
|
}),
|
|
(t.$_$.c1 = function () {
|
|
return (Qr(), S);
|
|
}),
|
|
(t.$_$.d1 = function () {
|
|
return (Qr(), C);
|
|
}),
|
|
(t.$_$.e1 = function () {
|
|
return (Qr(), E);
|
|
}),
|
|
(t.$_$.f1 = Si),
|
|
(t.$_$.g1 = Tr),
|
|
(t.$_$.h1 = q),
|
|
(t.$_$.i1 = z),
|
|
(t.$_$.j1 = x));
|
|
})(t.exports, i(24635), i(37036), i(52943), i(32088), i(72834), i(89613), i(61430), i(9539));
|
|
};
|