This commit is contained in:
shenjack 2024-03-19 01:25:40 +08:00
parent 86500cc569
commit 4d87cbcf47
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 134 additions and 126 deletions

View File

@ -1,4 +1,6 @@
const { JSDOM } = require('jsdom');
const {
JSDOM
} = require('jsdom');
const chalk = require('chalk');
const path = require('path');
const fs = require('fs');
@ -94,7 +96,10 @@ process.on('message', ([mode, name]) => {
window.resolve = (...args) => {
process.send(args);
window.close();
}
};
window.output = (...message) => {
console.log('page:', message);
};
}
});
} else if (mode == "CQD") {
@ -115,7 +120,10 @@ process.on('message', ([mode, name]) => {
console.log(results)
results.push(args[2]);
window.close();
}
};
window.output = (...message) => {
console.log('page:', message);
};
}
});
}

View File

@ -285,31 +285,31 @@
return Sgls.ts(P.aa(new H.y(s, new Sgls.k5(), r), !0, r.i("M.E")))
},
ts(a) {
var s, r, q, p, o, n, m, l, k, j, i, h, g, f = C.d.V(a[0], $.me.length),
var s, r, q, p, o, n, m, l, k, j, i, h, g, f = C.Number.V(a[0], $.me.length),
e = t.i,
d = H.set_run_time_type_info([], e)
d.push(C.d.V(a[1], $.dZ.length))
d.push(C.Number.V(a[1], $.dZ.length))
s = a[2]
r = $.dZ.length
q = C.d.V(s, r)
q = C.Number.V(s, r)
if (q === d[0]) {
q = C.d.V(a[3], r)
q = C.Number.V(a[3], r)
p = 4
} else p = 3
d.push(q)
o = p + 1
if (a[p] < 4) {
p = o + 1
d.push(C.d.V(a[o], $.dZ.length))
d.push(C.Number.V(a[o], $.dZ.length))
o = p + 1
if (a[p] < 64) {
p = o + 1
d.push(C.d.V(a[o], $.dZ.length))
d.push(C.Number.V(a[o], $.dZ.length))
} else p = o
} else p = o
n = $.nu().getContext("2d")
o = p + 1
m = C.d.V(a[p], $.d7() - 6)
m = C.Number.V(a[p], $.d7() - 6)
l = $.mf[m]
s = l[0]
r = l[1]
@ -321,10 +321,10 @@
i = new Sgls.k6(j, m, d)
for (p = o, h = 0; h < d.length; ++h) {
o = p + 1
g = C.d.V(a[p], $.d7())
g = C.Number.V(a[p], $.d7())
for (p = o; !i.$1(g); p = o) {
o = p + 1
g = C.d.V(a[p], $.d7())
g = C.Number.V(a[p], $.d7())
}
j.push(g)
Sgls.o4(n, $.dZ[d[h]], $.mf[g])
@ -3062,7 +3062,7 @@
return J.get_native_interceptor(a)
},
oA(a) {
if (typeof a == "number") return J.dA.prototype
if (typeof a == "number") return J.JsNumber.prototype
if (typeof a == "string") return J.JsString.prototype
if (a == null) return a
if (!(a instanceof P.Object)) return J.bs.prototype
@ -3229,7 +3229,7 @@
_.c = 0
_.d = null
},
dA: function dA() {},
JsNumber: function dA() {},
JsInt: function dz() {},
JsDouble: function jF() {},
JsString: function bD() {}
@ -7862,7 +7862,7 @@
X = {
dc(a) {
var s, r, q, p, o, n, m = a.length,
l = P.aL(C.d.R(m * 8 / 6.5), 0, !0, t.B)
l = P.aL(C.Number.R(m * 8 / 6.5), 0, !0, t.B)
for (s = 0, r = 0, q = 0, p = 0, o = 0; o < m; ++o) {
s = (s | C._JsInt.bX(a[o] & 255 ^ 0, r)) >>> 0
r += 8
@ -7895,7 +7895,7 @@
},
f4(a, b) {
var s, r, q, p, o, n, m, l, k, j = a.length,
i = P.aL(C.d.R(j * 7 / 8), 0, !0, t.B)
i = P.aL(C.Number.R(j * 7 / 8), 0, !0, t.B)
for (s = J.aQ(a), r = 0, q = 0, p = -1, o = 0, n = 0; n < j; ++n) {
m = s.a8(a, n)
if (m > 126) continue
@ -8021,7 +8021,7 @@
},
draw_text(a, b, c, d, e, f) {
var s = a.measureText(b)
if (f && s.width < e) c += C.d.ag(e - s.width, 2)
if (f && s.width < e) c += C.Number.ag(e - s.width, 2)
a.fillText(b, c, d + 15, e)
return s.width
},
@ -8060,10 +8060,10 @@
HtmlRenderer.draw_text(s, LanData.get_obfuscated_value("MdQa"), 206, r + 8, 114, true)
$.bU().src = "data:image/gif;base64,R0lGODlhFAAUALMAAAAAAP///98AJDsBRb3L09fi6NHf5ur2/JbFU63abcPuhcLthc/1mf///wAAAAAAACH5BAEAAA0ALAAAAAAUABQAAASCsMk5x6A4y6Gu/pyCXMJUaqGiJELbtCc1MOqiwnhl7aq675WAUGgIDYaBQ7FxTA4OyuIRengalr+fL2thWnrgcKLLLFS53ALh0nxWoe64mi1s1++BwZyJt+fre3p/g356axuEfQEFA4cbjIp5c44beowFl2sEax4yjY2aoZ0ZaEAUEQA7"
q = $.bU()
o = C.d.ag(114 - p, 2) - 24
o = C.Number.ag(114 - p, 2) - 24
J.iO(s, q, o, r + 6)
q = $.bU()
n = C.d.ag(114 + p, 2) + 4
n = C.Number.ag(114 + p, 2) + 4
J.iO(s, q, n, r + 6)
r += 32
for (q = a.length, m = 0; m < a.length; a.length === q || (0, H.F)(a), ++m) {
@ -8071,9 +8071,9 @@
s.fillStyle = g
J.bj(s, 0, r, 320, 2)
s.fillStyle = "#ddddd0"
J.bj(s, 22, r + 4, C.d.aI(l.z.offsetWidth), 2)
J.bj(s, 22, r + 4, C.Number.aI(l.z.offsetWidth), 2)
s.fillStyle = "#4c4"
J.bj(s, 22, r + 4, C.d.R(l.go / 4), 2)
J.bj(s, 22, r + 4, C.Number.R(l.go / 4), 2)
s.fillStyle = h
HtmlRenderer.draw_plr(s, l, 0, r)
HtmlRenderer.draw_text(s, C._JsInt.k(l.c), 114, r + 5, 46, true)
@ -8172,12 +8172,12 @@
k = l.createElement("div")
k.classList.add("oldhp")
j = k.style
m = "" + C.d.R(m / 4) + "px"
m = "" + C.Number.R(m / 4) + "px"
j.width = m
i = l.createElement("div")
i.classList.add("hp")
m = i.style
l = "" + C.d.R(o.d / 4) + "px"
l = "" + C.Number.R(o.d / 4) + "px"
m.width = l
n.appendChild(k)
n.appendChild(i)
@ -8186,12 +8186,12 @@
h = l.createElement("div")
h.classList.add("healhp")
j = h.style
g = "" + C.d.R(o.d / 4) + "px"
g = "" + C.Number.R(o.d / 4) + "px"
j.width = g
i = l.createElement("div")
i.classList.add("hp")
l = i.style
m = "" + C.d.R(m / 4) + "px"
m = "" + C.Number.R(m / 4) + "px"
l.width = m
n.appendChild(h)
n.appendChild(i)
@ -8531,7 +8531,7 @@
return !0
}
}
J.dA.prototype = {
J.JsNumber.prototype = {
bg(a, b) {
var s
if (typeof b != "number") throw H.h(H.R(b))
@ -13133,15 +13133,15 @@
obj.c5(obj.cy)
obj.cy = false
} else {
obj.d = P.mi(P.fm(C._JsInt.P(s, C.d.aI(Math.sqrt(q / 2))), 0), obj.gel())
obj.d = P.mi(P.fm(C._JsInt.P(s, C.Number.aI(Math.sqrt(q / 2))), 0), obj.gel())
}
},
c5(checkScroll) { // do_render_update
var s, r, q = this
// if (checkScroll) {
// s = q.b
// r = C.d.aI(s.scrollHeight) - s.clientHeight
// checkScroll = r - C.d.aI(s.scrollTop) < 50 || C.d.aI(s.scrollTop) / r > 0.95
// r = C.Number.aI(s.scrollHeight) - s.clientHeight
// checkScroll = r - C.Number.aI(s.scrollTop) < 50 || C.Number.aI(s.scrollTop) / r > 0.95
// }
if (q.cx instanceof T.RunUpdateWin) {
// q.fQ()
@ -13171,7 +13171,7 @@
// throw new Error("c5")
// if (checkScroll) {
// s = q.b
// s.scrollTop = C._JsInt.aI(C.d.aI(s.scrollHeight) - s.clientHeight)
// s.scrollTop = C._JsInt.aI(C.Number.aI(s.scrollHeight) - s.clientHeight)
// }
},
em() {
@ -13267,7 +13267,7 @@
// h.appendChild(g)
// W.es(g, e, new HtmlRenderer.jD($.qq()), !1)
// d = h.style
// c = "" + (C.d.aI(m.offsetWidth) - C.d.aI(h.offsetWidth) - 8) + "px"
// c = "" + (C.Number.aI(m.offsetWidth) - C.Number.aI(h.offsetWidth) - 8) + "px"
// d.marginLeft = c
// if (W.ll(window.parent) !== window) new HtmlRenderer.post_message(f, p, o, n, $.ay.h(0, J.J(J.J(f.z[0], 0), 0))).$0()
// }
@ -13430,7 +13430,7 @@
r = i.go = P.oF(s.h(b, 4))
p = h
}
n = "" + C.d.R(r / 4) + "px"
n = "" + C.Number.R(r / 4) + "px"
r = i.z
q = r.style
q.width = n
@ -13493,7 +13493,7 @@
bU(a) {
var s, r, q, p = this
p.go = a
s = "" + C.d.R(a / 4) + "px"
s = "" + C.Number.R(a / 4) + "px"
r = p.Q.style
r.width = s
r = p.ch.style
@ -13547,7 +13547,7 @@
if (a instanceof T.dF) {
s = $.ay.h(0, a.a)
s.bU(a.b)
r = "" + C.d.R(a.c / 4) + "px"
r = "" + C.Number.R(a.c / 4) + "px"
q = s.z.style
q.width = r
s.fx = '<div class="plr_body ' + s.cy + '"><div class="sgl ' + H.e(Sgls.get_sgl_css(s.fy)) + '"></div>' + H.e(s.y.outerHTML) + '<div class="maxhp" style="width: ' + r + '" /></div>'
@ -13854,7 +13854,7 @@
},
as(a, b) {
if (b) return a.fx > $.eU()
return !0
return true
},
a9(a, b, c) {
return this.bx(a, b, c, !0)
@ -14139,13 +14139,13 @@
v(a, b, c, d) {
var s, r, q, p, o, n, m, l, k = this,
j = null
k.f = C.d.R(k.f * ((c.n() & 63) + $.au()) / $.cj())
k.f = C.Number.R(k.f * ((c.n() & 63) + $.au()) / $.cj())
if (!k.r.r2.J(0, $.a7())) {
s = k.r.q
for (r = $.a(); q = $.ap(), r < q; ++r) s[r] = C.d.R(s[r] * $.p1())
s[q] = C.d.R(s[q] * $.b0())
for (r = $.a(); q = $.ap(), r < q; ++r) s[r] = C.Number.R(s[r] * $.p1())
s[q] = C.Number.R(s[q] * $.b0())
q = k.r
q.fx = C.d.R(q.fx * $.b0())
q.fx = C.Number.R(q.fx * $.b0())
k.r.ci()
k.r.F()
}
@ -14161,7 +14161,7 @@
k.f = C._JsInt.am(q, o) + o
}
q = C.Array.dl(p.k1, new T.k9())
if (q != null) q.f = C.d.R(Math.sqrt(H.ar(k.f)))
if (q != null) q.f = C.Number.R(Math.sqrt(H.ar(k.f)))
q = LanData.get_obfuscated_value("yWWn")
o = new T.dF()
o.cO(k.r)
@ -14375,7 +14375,7 @@
if (l > k) l = k
q = g.fx
o = $.ci()
o = C.d.R(q * (o - l) / o)
o = C.Number.R(q * (o - l) / o)
g.fx = o
j = p - o
o = LanData.get_obfuscated_value("Hxra")
@ -14486,7 +14486,7 @@
k = l.f
if (k > $.av()) l.f = k - 1
s = a[$.a()].a
r = C.d.R(T.I(l.r, !0, c) / $.pQ())
r = C.Number.R(T.I(l.r, !0, c) / $.pQ())
q = s.fy - s.fx
if (r > q) r = q
k = d.a
@ -14667,7 +14667,7 @@
q = n.z
p = s * (r + (q - r) * $.oX()) / q
n.y = s - p
o = C.d.R(p / (m.dx + $.au()))
o = C.Number.R(p / (m.dx + $.au()))
b.a.push(T.f(LanData.get_obfuscated_value("nEWa"), n.r, m, null, null, 0, 1000, 100))
m.aF(o, n.r, T.ad(), a, b)
m = n.z - 1
@ -14803,7 +14803,7 @@
k = null
l.f = C._JsInt.P(l.f + $.i(), $.t())
s = a[$.a()].a
r = C.d.R(T.I(l.r, !0, c) / $.pZ())
r = C.Number.R(T.I(l.r, !0, c) / $.pZ())
q = s.fy
if (r > q) r = q
p = d.a
@ -14873,7 +14873,7 @@
this.bB()
s = this.q
r = $.ap()
s[r] = C.d.P(s[r], $.t())
s[r] = C.Number.P(s[r], $.t())
}
}
T.hB.prototype = {
@ -14888,7 +14888,7 @@
v(a7, a8, a9, b0) {
var s, r, q, p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, a, a0, a1, a2, a3, a4, a5 = this,
a6 = null
a5.f = C.d.R(a5.f * $.mI())
a5.f = C.Number.R(a5.f * $.mI())
s = b0.a
s.push(T.f(LanData.get_obfuscated_value("USvA"), a5.r, a6, a6, a6, $.a6(), 1000, 100))
r = H.e(a5.r.a) + "?" + H.e($.qM())
@ -15052,7 +15052,7 @@
this.bB()
s = this.q
r = $.ap()
s[r] = C.d.P(s[r], $.B())
s[r] = C.Number.P(s[r], $.B())
r = $.a()
s[r] = r
q = $.i()
@ -15220,7 +15220,7 @@
n = $.oZ()
l = g.length
m = k.r
m = h.aF(h.aq(C.d.R(p * n / T.d9(h, !0, c)), m, T.ad(), c, d), m, T.ad(), c, d)
m = h.aF(h.aq(C.Number.R(p * n / T.d9(h, !0, c)), m, T.ad(), c, d), m, T.ad(), c, d)
n = $.a()
if (m > n) o = !0
g[l].b = $.mR()
@ -15514,7 +15514,7 @@
var s, r, q, p, o, n, m, l = this,
k = l.fx
if (k.fx > $.a() && l.fy > $.i()) {
s = C.d.R((T.I(k, !0, a) + l.go * $.b3()) / T.d9(k, !0, a))
s = C.Number.R((T.I(k, !0, a) + l.go * $.b3()) / T.d9(k, !0, a))
r = l.fr
q = b.a
q.push(T.f(LanData.get_obfuscated_value("VZaN"), r, k, null, null, 0, 1000, 100))
@ -15695,7 +15695,7 @@
if (n.fx > $.a()) {
p.push($.K())
m = this.r
n.aF(n.aq(C.d.R(o / T.d9(n, !0, c)), m, T.ad(), c, d), m, T.ad(), c, d)
n.aF(n.aq(C.Number.R(o / T.d9(n, !0, c)), m, T.ad(), c, d), m, T.ad(), c, d)
}
}
}
@ -15727,7 +15727,7 @@
var s, r, q = this.fx
if (q.fx > $.a()) {
s = this.fr
r = C.d.R(T.I(s, !0, a) / T.d9(q, !0, a))
r = C.Number.R(T.I(s, !0, a) / T.d9(q, !0, a))
b.a.push(T.f(LanData.get_obfuscated_value("sPnN"), s, q, null, null, 0, 1000, 100))
q.aF(r, s, T.ad(), a, b)
}
@ -16795,7 +16795,7 @@
r.x = Math.max(H.ar(q), p - s)
},
b0(a, b) {
return C.d.aI(a * ($.T() - this.x / b))
return C.Number.aI(a * ($.T() - this.x / b))
},
cA(a) {
var s, r = this
@ -17009,8 +17009,8 @@
r.fy = r.q[$.ap()]
r.ci()
r.z = r.y
r.id = $.T()
r.A = !1
r.id = $.T() // 1065353216
r.A = false
for (s = r.rx, s = new Sgls.a_(s, s.b, s.$ti.i("a_<1*>")); s.u();) s.b.ar(r)
},
ci() {
@ -17133,7 +17133,7 @@
return p.bN(a, b, c, d, e, f)
},
bN(a, b, c, d, e, f) {
return this.aF(this.aq(C.d.R(a / T.d9(this, b, e)), c, d, e, f), c, d, e, f)
return this.aF(this.aq(C.Number.R(a / T.d9(this, b, e)), c, d, e, f), c, d, e, f)
},
aF(a, b, c, d, e) {
var s, r, q, p, o, n = this
@ -17650,7 +17650,7 @@
r = $.ao()
if (a == r) return r
q = T.d9(s, b, f)
s.aF(s.aq(C.d.eW(a * $.b0() / q), c, e, f, g), c, e, f, g)
s.aF(s.aq(C.Number.eW(a * $.b0() / q), c, e, f, g), c, e, f, g)
return $.ao()
}
return a
@ -17897,7 +17897,7 @@
s[r] = r
s[$.a4()] = r
r = $.ap()
s[r] = C.d.P(s[r], $.t())
s[r] = C.Number.P(s[r], $.t())
}
}
T.hY.prototype = {
@ -18383,7 +18383,7 @@
C.Array.aJ(j)
i = j[$.i()] + j[$.C()] + n
for (k = $.a(), h = i; e = $.ap(), k < e; ++k) {
g = C.d.P(i * p[k], m)
g = C.Number.P(i * p[k], m)
h -= g * $.B()
f.r[k] = g
}
@ -18402,7 +18402,7 @@
q = d + C._JsInt.V(m + j + r + $.q8(), $.B())
p = c[q]
o = b[q]
n = C.d.P(p - o, k) + l
n = C.Number.P(p - o, k) + l
if (n > s) b[q] = o + n
}
return Math.abs(m) + Math.abs(j) + Math.abs(r)
@ -18695,10 +18695,10 @@
inherit_may = hunkHelpers.inheritMany
inherit(P.Object, null)
inherit_may(P.Object, [H.Js_Const, J.Interceptor, J.ArrayIterator, P.Error, P.ev, P.L, H.cv, P.fv, H.du, H.hV, H.kh, H.jR, H.dt, H.eE, H.c_, P.aU, H.jK, H.fA, H.ct, H.ew, H.kz, H.bK, H.l3, H.Rti, H.function_parameters, H.iu, P.l8, P.i_, P.AsyncError, P.i4, P.cN, P.U, P.i0, P.em, P.hO, P.hP, P.im, P.i1, P.i3, P.i7, P.ii, P.io, P.lf, P.eM, P.kV, P.ie, P.z, P.dY, P.fg, P.js, P.lc, P.lb, P.dq, P.c1, P.fM, P.el, P.kG, P.jm, P.N, P.iq, P.cH, W.j8, W.m5, W.cP, W.cr, W.dN, W.eD, W.is, W.dv, W.kE, W.l_, W.ix, P.l4, P.kw, P.eJ, P.jQ, P.kT, Y.dW, L.iR, V.iV, X.iW, S.fK, HtmlRenderer.fq, HtmlRenderer.jT, HtmlRenderer.ax, Sgls.a_, Sgls.n, T.x, T.u, T.dk, T.fo, T.b7, T.fr, T.bB, T.bm, T.aX, T.aq, T.bG, T.bL, T.fl])
inherit_may(J.Interceptor, [J.JsBool, J.JsNull, J.bE, J.JsArray, J.dA, J.JsString, H.dJ, H.ab, W.fn, W.bX, W.fe, W.i6, W.bb, W.ja, W.jb, W.o, W.c4, W.jL, W.ig, W.il, W.iy, W.iA])
inherit_may(J.Interceptor, [J.JsBool, J.JsNull, J.bE, J.JsArray, J.JsNumber, J.JsString, H.dJ, H.ab, W.fn, W.bX, W.fe, W.i6, W.bb, W.ja, W.jb, W.o, W.c4, W.jL, W.ig, W.il, W.iy, W.iA])
inherit_may(J.bE, [J.fO, J.bs, J.JavaScriptFunction])
inherit(J.jG, J.JsArray)
inherit_may(J.dA, [J.JsInt, J.JsDouble])
inherit_may(J.JsNumber, [J.JsInt, J.JsDouble])
inherit_may(P.Error, [H.fz, H.dO, P.bc, H.fx, H.hU, H.h3, H.i9, P.f2, P.fL, P.aS, P.hW, P.hS, P.bJ, P.fh, P.fj])
inherit(P.dE, P.ev)
inherit_may(P.dE, [H.cJ, W.az])
@ -18967,7 +18967,7 @@
C.Interceptor = J.Interceptor.prototype
C.Array = J.JsArray.prototype
C._JsInt = J.JsInt.prototype
C.d = J.dA.prototype
C.Number = J.JsNumber.prototype
C.String = J.JsString.prototype
C.K = J.JavaScriptFunction.prototype
C.Q = W.dQ.prototype
@ -19666,7 +19666,7 @@
lazy_old($, "vr", "rq", function () {
return $.C()
})
lazy_old($, "wX", "at", function () {
lazy_old($, "wX", "at", function () { // 32
return X.k("vF:G*ee&GC", 12)
})
lazy_old($, "vF", "a", function () { // 0
@ -19687,7 +19687,7 @@
lazy_old($, "xq", "pM", function () {
return X.k("_a3=L4dckG", 37)
})
lazy_old($, "xe", "lM", function () {
lazy_old($, "xe", "lM", function () { // 400
return X.k("p,,c!10-FQ", 93)
})
lazy_old($, "wq", "pj", function () {
@ -19726,7 +19726,7 @@
lazy_old($, "xA", "au", function () {
return X.k("[kT:g-|3XH", 42)
})
lazy_old($, "w1", "cj", function () {
lazy_old($, "w1", "cj", function () { // 1124073472
return X.D("`H)#qK]@HN", 15)
})
lazy_old($, "xG", "ap", function () {
@ -19819,13 +19819,13 @@
lazy_old($, "vH", "oX", function () {
return X.D("+9[Q]5LgfG", 25)
})
lazy_old($, "xo", "X", function () {
lazy_old($, "xo", "X", function () { // 5
return X.k("BW1,-W.WUG", 36)
})
lazy_old($, "wO", "px", function () {
lazy_old($, "wO", "px", function () { // 1075587318
return X.D("6+S>Rm<-VA", 65)
})
lazy_old($, "vL", "p_", function () {
lazy_old($, "vL", "p_", function () { // 1058642330
return X.D("Y?&-AHv0II", 16)
})
lazy_old($, "vN", "mI", function () {
@ -19876,7 +19876,7 @@
lazy_old($, "w2", "p6", function () {
return X.k("j-Da]5rziP", 89)
})
lazy_old($, "w8", "aR", function () {
lazy_old($, "w8", "aR", function () { // 16
return X.k("o.qW!KX[gF", 31)
})
lazy_old($, "wE", "mO", function () { // 25
@ -19945,7 +19945,7 @@
lazy_old($, "wB", "pp", function () {
return X.k("sy_Q{nF(@P", 92)
})
lazy_old($, "wi", "T", function () {
lazy_old($, "wi", "T", function () { // 1065353216
return X.D("xPJ>uk!c<B", 53)
})
lazy_old($, "xa", "lL", function () {
@ -19999,7 +19999,7 @@
lazy_old($, "wZ", "mS", function () {
return X.k("dG|*}T{.AF", 29)
})
lazy_old($, "xy", "n_", function () {
lazy_old($, "xy", "n_", function () { // 62
return X.k("*,uU([GoYM", 71)
})
lazy_old($, "wJ", "pt", function () {