Compare commits

...

5 Commits

Author SHA1 Message Date
64724b665d
ruaa 2024-04-04 17:19:12 +08:00
e521bdf33e
寻思寻思 2024-04-04 16:28:24 +08:00
578358a87b
一堆反混淆 2024-04-04 16:19:44 +08:00
bf0401a1d6
反混淆 2024-04-04 16:05:05 +08:00
df77731c90
一大堆fake 兼容 2024-04-04 15:51:52 +08:00
2 changed files with 226 additions and 149 deletions

View File

@ -8930,6 +8930,7 @@
W.a7.prototype = {}
W.bn.prototype = {
bF(a, b, c) {
console.log("posting", c)
a.postMessage(new P.e_([], []).Y(b), c)
return
},
@ -9231,6 +9232,7 @@
}
W.fs.prototype = {
bF(a, b, c) {
console.log("posting", c)
this.a.postMessage(new P.e_([], []).Y(b), c)
}
}

View File

@ -49,6 +49,26 @@ if (run_env.from_code) {
localStorage: function () {},
};
class fake_class_list {
constructor() {
this.datas = []
};
add(data) {
this.datas.push(data)
};
contains(data) {
return this.datas.includes(data)
};
item(index) {
if (index >= this.datas.length) {
let stack = new Error().stack;
logger.info("fake_class_list.item", stack);
return null
}
return this.datas[index]
};
}
class fake_element {
constructor(tag) {
this.childList = [];
@ -56,6 +76,7 @@ if (run_env.from_code) {
this.width = 0;
this.height = 0;
this.style = {};
this.classList = new fake_class_list();
this.styleSheets = [
"something"
];
@ -72,6 +93,9 @@ if (run_env.from_code) {
}
}
};
appendChild(element) {
this.childList.push(element);
};
addEventListener() {};
}
@ -80,6 +104,11 @@ if (run_env.from_code) {
// return fake_element.fake_init(tag);
return new fake_element(tag);
},
createTextNode: function (data) {
let node = new fake_element("text");
node.innerHTML = data;
return node;
},
querySelector: function (tag) {
// 搜索一下有没有这个元素
logger.debug("querySelector", tag);
@ -89,6 +118,7 @@ if (run_env.from_code) {
}
}
},
body: new fake_element("body"),
styleSheets: [{
"some": "thing"
}],
@ -337,7 +367,7 @@ var A = {
vo(a) {
var s = $.nx()
s.toString
new P.cM(s, H.be(s).i("cM<1>")).f4(a)
new P.cM(s, H._instanceType(s).i("cM<1>")).f4(a)
return
}
},
@ -401,8 +431,8 @@ var A = {
q.bd(LangData.fZ(a), 2)
s = q.c
s.toString
r = H.a1(s).i("y<1,l*>")
return Sgls.ts(P.aa(new H.y(s, new Sgls.k5(), r), true, r.i("M.E")))
r = H._arrayInstanceType(s).i("y<1,l*>")
return Sgls.ts(P.List_List_of(new H.y(s, new Sgls.k5(), r), true, 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),
@ -834,7 +864,7 @@ var A = {
},
tc(a) {
var s, r, q, p
if (a instanceof P.Object) return H.aH(H.b_(a), null)
if (a instanceof P.Object) return H.aH(H.instanceType(a), null)
if (J.cV(a) === C.J || t.bI.b(a)) {
s = C.p(a)
r = s !== "Object" && s !== ""
@ -847,7 +877,7 @@ var A = {
if (r) return p
}
}
return H.aH(H.b_(a), null)
return H.aH(H.instanceType(a), null)
},
nY(a) {
var s, r, q, p, o = a.length
@ -1358,7 +1388,7 @@ var A = {
return H.rL(a)
},
rF(a, b) {
return H._Universe_evalInEnvironment(init.typeUniverse, H.b_(a.a), b)
return H._Universe_evalInEnvironment(init.typeUniverse, H.instanceType(a.a), b)
},
nF(a) {
return a.a
@ -1650,7 +1680,7 @@ var A = {
if (s < 0) return a
return H.mG(a, s, s + b.length, c)
}
if (b instanceof H.ct) return d === 0 ? a.replace(b.b, H.oz(c)) : H.vk(a, b, c, d)
if (b instanceof H.JSSyntaxRegExp) return d === 0 ? a.replace(b.b, H.oz(c)) : H.vk(a, b, c, d)
if (b == null) H.throw_expression(H.R(b))
r = J.rt(b, a, d)
q = r.ga0(r)
@ -1745,7 +1775,7 @@ var A = {
lx: function lx(a) {
this.a = a
},
ct: function ct(a, b) {
JSSyntaxRegExp: function ct(a, b) {
var _ = this
_.a = a
_.b = b
@ -1956,35 +1986,35 @@ var A = {
if (a instanceof H.c_) {
s = H.oy(a)
if (s != null) return s
} return H.b_(a)
} return H.instanceType(a)
},
b_(a) {
instanceType(a) {
var s
if (a instanceof P.Object) {
s = a.$ti
return s != null ? s : H.mr(a)
return s != null ? s : H._instanceTypeFromConstructor(a)
}
if (Array.isArray(a)) return H.a1(a)
return H.mr(J.cV(a))
if (Array.isArray(a)) return H._arrayInstanceType(a)
return H._instanceTypeFromConstructor(J.cV(a))
},
a1(a) {
_arrayInstanceType(a) {
var s = a[init.arrayRti],
r = t.gn
if (s == null) return r
if (s.constructor !== r.constructor) return r
return s
},
be(a) {
_instanceType(a) {
var s = a.$ti
return s != null ? s : H.mr(a)
return s != null ? s : H._instanceTypeFromConstructor(a)
},
mr(a) {
_instanceTypeFromConstructor(a) {
var s = a.constructor,
r = s.$ccache
if (r != null) return r
return H.um(a, s)
return H._instanceTypeFromConstructorMiss(a, s)
},
um(a, b) {
_instanceTypeFromConstructorMiss(a, b) {
var s = a instanceof H.c_ ? a.__proto__.__proto__.constructor : b,
r = H.u9(init.typeUniverse, s.name)
b.$ccache = r
@ -2126,7 +2156,7 @@ var A = {
},
ob(a, b, c) {
var s = P.jh(a),
r = H.aH(b == null ? H.b_(a) : b, null)
r = H.aH(b == null ? H.instanceType(a) : b, null)
return s + ": type '" + H.as_string(r) + "' is not a subtype of type '" + H.as_string(c) + "'"
},
u_(a) {
@ -4283,7 +4313,7 @@ var A = {
if (s != null) return s
throw H.wrap_expression(P.FormatException(a, null, null))
},
rQ(a) {
Error__objectToString(a) {
if (a instanceof H.c_) return a.k(0)
return "Instance of '" + H.as_string(H.jZ(a)) + "'"
},
@ -4293,13 +4323,13 @@ var A = {
for (s = 0; s < r.length; ++s) r[s] = b
return r
},
aa(a, b, c) {
var s = P.t4(a, c)
List_List_of(a, b, c) {
var s = P.List_List__of(a, c)
return s
},
t4(a, b) {
List_List__of(a, b) {
var s, r
if (Array.isArray(a)) return H.b(a.slice(0), b.i("E<0>"))
if (Array.isArray(a)) return H.b(a.slice(0), b.i("E<0>")) // JSArray<0>
s = H.b([], b.i("E<0>"))
for (r = J.by(a); r.u();) s.push(r.gC())
return s
@ -4333,8 +4363,8 @@ var A = {
}
return H.nZ(p)
},
h_(a) {
return new H.ct(a, H.JSSyntaxRegExp_makeNative(a, false, true, false, false, false))
RegExp_RegExp(a) {
return new H.JSSyntaxRegExp(a, H.JSSyntaxRegExp_makeNative(a, false, true, false, false, false))
},
o7(a, b, c) {
var s = J.by(b)
@ -4373,7 +4403,7 @@ var A = {
jh(a) {
if (typeof a == "number" || H.lm(a) || a == null) return J.b4(a)
if (typeof a == "string") return JSON.stringify(a)
return P.rQ(a)
return P.Error__objectToString(a)
},
iP(a) {
return new P.f2(a)
@ -4679,7 +4709,7 @@ var A = {
g.cm = a4
g.e = T.fD(a4 instanceof T.dR ? g.a6 = a4.a6 : g.a6 = a4)
f = a4.t
f = H.b(f.slice(0), H.a1(f))
f = H.b(f.slice(0), H._arrayInstanceType(f))
g.t = f
return g
},
@ -4712,7 +4742,7 @@ var A = {
if (c > 0) {
s = b.r2
r = s.gad(s)
q = P.aa(r, true, H.be(r).i("L.E"))
q = P.List_List_of(r, true, H._instanceType(r).i("L.E"))
C.Array.aJ(q)
for (r = q.length, p = 0; p < q.length; q.length === r || (0, H.F)(q), ++p) {
o = s.h(0, q[p])
@ -7638,12 +7668,12 @@ var A = {
return s
},
rP(a, b, c) {
var s, r = document.body
r.toString
s = C.n.aA(r, a, b, c)
var s, doc_body = document.body
doc_body.toString
s = C.n.aA(doc_body, a, b, c)
s.toString
r = new H.cf(new W.az(s), new W.jf(), t.ac.i("cf<z.E>"))
return t.R.a(r.gba(r))
doc_body = new H.cf(new W.az(s), new W.jf(), t.ac.i("cf<z.E>"))
return t.R.a(doc_body.gba(doc_body))
},
ds(a) {
var s, r, q = "element tag unavailable"
@ -7986,9 +8016,6 @@ var A = {
return s
},
static_init() {
if (run_env.from_code) {
console.log("reaching HtmlRenderer.static_init")
}
var async_goto = 0,
r = P._makeAsyncAwaitCompleter(t.z),
q, p
@ -8011,7 +8038,7 @@ var A = {
}
case 2:
if (run_env.from_code) {
console.log("loading gAd data")
logger.debug("loading gAd data")
// 暂时有问题, 还得调试
LangData.load_lang(t.cF.a(C.C.bt(0, assets_data.lang)))
// LangData.v1(assets_data.lang)
@ -8029,14 +8056,13 @@ var A = {
},
outer_main(a) {
var s = document
// r = t.A
let plist = s.querySelector(".plist")
let pbody = s.querySelector(".pbody")
// logger.debug(plist, pbody)
// s = new HtmlRenderer.fq(r.a(plist), r.a(pbody), a, $.ro().ax(256))
s = new HtmlRenderer.fq(plist, pbody, a, $.ro().ax(256))
logger.debug("HtmlRenderer.jt")
s.e0(a)
logger.debug("finish html.outer_main")
return s
},
aA(a, b, c, d, e, f) {
@ -8051,6 +8077,7 @@ var A = {
HtmlRenderer.aA(a, b.dx, c + 24, d + 5, 90, false)
},
rV(a, b) {
logger.debug("reaching html.rV")
var s, r, q, p, o, n, m, l, k, j, i, h = "#000000",
g = "#EEEEEE",
f = W.j4(),
@ -8423,7 +8450,7 @@ J.JsArray.prototype = {
for (s = 0; s < r; ++s) a.push(b[s])
},
f5(a, b, c) {
return new H.y(a, b, H.a1(a).i("@<1>").aL(c).i("y<1,2>"))
return new H.y(a, b, H._arrayInstanceType(a).i("@<1>").aL(c).i("y<1,2>"))
},
aV(a, b) {
var s, r = P.aL(a.length, "", false, t.N)
@ -8460,8 +8487,8 @@ J.JsArray.prototype = {
if (b > s) throw H.wrap_expression(P.a8(b, 0, s, "start", null))
if (c == null) c = s
else if (c < b || c > s) throw H.wrap_expression(P.a8(c, b, s, "end", null))
if (b === c) return H.b([], H.a1(a))
return H.b(a.slice(b, c), H.a1(a))
if (b === c) return H.b([], H._arrayInstanceType(a))
return H.b(a.slice(b, c), H._arrayInstanceType(a))
},
cL(a, b) {
return this.al(a, b, null)
@ -8723,7 +8750,7 @@ J.JsString.prototype = {
cK(a, b) {
if (b == null) H.throw_expression(H.R(b))
if (typeof b == "string") return H.b(a.split(b), t.s)
else if (b instanceof H.ct && b.gep().exec("").length - 2 === 0) return H.b(a.split(b.b), t.s)
else if (b instanceof H.JSSyntaxRegExp && b.gep().exec("").length - 2 === 0) return H.b(a.split(b.b), t.s)
else return this.ek(a, b)
},
ek(a, b) {
@ -8889,7 +8916,7 @@ H.M.prototype = {
return this.dP(0, b)
},
fM(a, b) {
return P.aa(this, true, H.be(this).i("M.E"))
return P.List_List_of(this, true, H._instanceType(this).i("M.E"))
},
fL(a) {
return this.fM(a, true)
@ -9104,11 +9131,11 @@ H.aT.prototype = {
return this.a === 0
},
gad(a) {
return new H.dC(this, H.be(this).i("dC<1>"))
return new H.dC(this, H._instanceType(this).i("dC<1>"))
},
gfP(a) {
var s = this,
r = H.be(s)
r = H._instanceType(s)
return H.t5(s.gad(s), new H.jH(s), r.c, r.Q[1])
},
J(a, b) {
@ -9302,7 +9329,7 @@ H.jH.prototype = {
return this.a.h(0, a)
},
$S() {
return H.be(this.a).i("2(1)")
return H._instanceType(this.a).i("2(1)")
}
}
H.jK.prototype = {}
@ -9354,7 +9381,7 @@ H.lx.prototype = {
},
$S: 58
}
H.ct.prototype = {
H.JSSyntaxRegExp.prototype = {
k(a) {
return "RegExp/" + this.a + "/" + this.b.flags
},
@ -10055,7 +10082,7 @@ P.ke.prototype = {
++this.a.a
},
$S() {
return H.be(this.b).i("~(1)")
return H._instanceType(this.b).i("~(1)")
}
}
P.kf.prototype = {
@ -10679,7 +10706,7 @@ P.jI.prototype = {
P.jJ.prototype = {}
P.kj.prototype = {
bt(a, b) {
return C.T.ab(b)
return C.T_kk.ab(b)
},
gaB() {
return C.E
@ -11134,7 +11161,7 @@ P.jm.prototype = {
}
P.L.prototype = {
bV(a, b) {
return new H.cf(this, b, H.be(this).i("cf<L.E>"))
return new H.cf(this, b, H._instanceType(this).i("cf<L.E>"))
},
gp(a) {
var s, r = this.ga0(this)
@ -11187,7 +11214,7 @@ P.Object.prototype = {
},
gcw(a) {
var s = this instanceof H.c_ ? H.oy(this) : null
return H.mz(s == null ? H.b_(this) : s)
return H.mz(s == null ? H.instanceType(this) : s)
},
toString() {
return this.k(this)
@ -11950,7 +11977,7 @@ W.ix.prototype = {
if (typeof console != "undefined") window.console.warn(s)
return
} s = f.gad(f)
r = H.b(s.slice(0), H.a1(s))
r = H.b(s.slice(0), H._arrayInstanceType(s))
for (q = f.gad(f).length - 1, s = f.a; q >= 0; --q) {
p = r[q]
o = m.a
@ -12465,11 +12492,11 @@ L.iR.prototype = {
s = 6
break
case 8:
o = new H.y(o, new L.iS(), H.a1(o).i("y<1,@>")).aV(0, "\r") + "\n" + new H.y(n, new L.iT(), H.a1(n).i("y<1,@>")).aV(0, "\r") + "\n"
o = new H.y(o, new L.iS(), H._arrayInstanceType(o).i("y<1,@>")).aV(0, "\r") + "\n" + new H.y(n, new L.iT(), H._arrayInstanceType(n).i("y<1,@>")).aV(0, "\r") + "\n"
o = C.e.gaB().ab(o)
n = H.b_(o).i("a9<z.E>")
n = H.instanceType(o).i("a9<z.E>")
l = n.i("y<M.E,l*>")
l = P.aa(new H.y(new H.a9(o, n), new L.iU(q), l), true, l.i("M.E"))
l = P.List_List_of(new H.y(new H.a9(o, n), new L.iU(q), l), true, l.i("M.E"))
C.Array.a5(l, H.fJ(p.buffer, 0, null))
A.eR(X.dc(l))
return P.async_return(null, r)
@ -12684,11 +12711,11 @@ V.iV.prototype = {
async_goto = 2
break
case 4:
o = new H.y(o, new V.j0(), H.a1(o).i("y<1,@>")).aV(0, "\r") + "\n"
o = new H.y(o, new V.j0(), H._arrayInstanceType(o).i("y<1,@>")).aV(0, "\r") + "\n"
o = C.e.gaB().ab(o)
n = H.b_(o).i("a9<z.E>")
n = H.instanceType(o).i("a9<z.E>")
l = n.i("y<M.E,l*>")
l = P.aa(new H.y(new H.a9(o, n), new V.j1(q), l), true, l.i("M.E"))
l = P.List_List_of(new H.y(new H.a9(o, n), new V.j1(q), l), true, l.i("M.E"))
C.Array.a5(l, H.fJ(p.buffer, 0, null))
A.eR(X.dc(l))
return P.async_return(null, async_completer)
@ -12858,9 +12885,9 @@ X.iW.prototype = {
e = this_.r
e[0] = Date.now() + 1
o = C.e.gaB().ab(h)
n = H.b_(o).i("a9<z.E>")
n = H.instanceType(o).i("a9<z.E>")
m = n.i("y<M.E,l*>")
m = P.aa(new H.y(new H.a9(o, n), new X.iY(this_), m), true, m.i("M.E"))
m = P.List_List_of(new H.y(new H.a9(o, n), new X.iY(this_), m), true, m.i("M.E"))
e = e.buffer
e = new Uint8Array(e, 0)
C.Array.a5(m, e)
@ -12910,9 +12937,9 @@ X.iW.prototype = {
p = q.r
p[0] = Date.now() + 1
o = C.e.gaB().ab("\t\t\t\t\n")
n = H.b_(o).i("a9<z.E>")
n = H.instanceType(o).i("a9<z.E>")
m = n.i("y<M.E,l*>")
m = P.aa(new H.y(new H.a9(o, n), new X.iZ(q), m), true, m.i("M.E"))
m = P.List_List_of(new H.y(new H.a9(o, n), new X.iZ(q), m), true, m.i("M.E"))
C.Array.a5(m, H.fJ(p.buffer, 0, null))
A.eR(X.dc(m))
return P.async_return(null, r)
@ -12950,33 +12977,45 @@ S.fK.prototype = {
}
HtmlRenderer.fq.prototype = {
e0(a) {
var s, r, q, this_ = this
logger.debug("进入 HTML.fq.e0", this.a)
var s, root, q, this_ = this
if (this_.a == null) return
A.vo(this_.gfd())
// this_.d = P.Timer_Timer(P.duration_milsec_sec(10, 0), this_.gbc(this_))
this_.d = P.Timer_Timer(P.duration_milsec_sec(0, 0), this_.gbc(this_))
W.es(window, "resize", this_.gff(this_), false)
// this.gbc -> this.dI
this_.d = P.Timer_Timer(P.duration_milsec_sec(0, 0), this.gbc(this_))
if (!run_env.from_code) {
W.es(window, "resize", this_.gff(this_), false)
}
this_.ds(0, null)
s = HtmlRenderer.add_p("row")
r = this_.b
r.appendChild(s)
root = this_.b
logger.debug("html fq e0 0")
root.appendChild(s)
logger.debug("html fq e0 1")
q = HtmlRenderer.add_span("welcome")
q.textContent = LangData.get_lang("CeaN")
s.appendChild(q)
q = HtmlRenderer.add_span("welcome2")
q.textContent = LangData.get_lang("NosN")
s.appendChild(q)
q = this_.c
if (q.gbu(q) != null) {
q = q.gbu(q)
r.appendChild(document.createTextNode(q))
root.appendChild(document.createTextNode(q))
}
// 添加 event listener
logger.debug("注册等待器: ", this_.gfb(this_), this_)
W.es(window, "message", this_.gfb(this_), false)
logger.debug("加速等待器 注册")
if (!run_env.from_code) {
W.es(window, "message", this_.gfb(this_), false)
}
},
fc(func_self, event) {
var s = event.data,
@ -12991,6 +13030,9 @@ HtmlRenderer.fq.prototype = {
}
},
ds(a, b) {
if (run_env.from_code) {
return
}
var s = this.a
if (window.innerWidth < 500) {
s.classList.remove("hlist")
@ -13011,14 +13053,15 @@ HtmlRenderer.fq.prototype = {
},
fe(a0) {
// run update
logger.debug("fq.fe start")
var s, r, q, p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, this_ = this
if (a0.length < 6) return
s = X.f4(a0, 0)
r = C.Array.al(s, 0, s.length - 8)
q = H.a1(r).i("a9<1>")
q = H._arrayInstanceType(r).i("a9<1>")
p = q.i("y<M.E,l*>")
o = t.bQ
n = P.aa(new H.y(H.b(C.e.bt(0, P.aa(new H.y(new H.a9(r, q),
n = P.List_List_of(new H.y(H.b(C.e.bt(0, P.List_List_of(new H.y(new H.a9(r, q),
new HtmlRenderer.jx(this_), p), true, p.i("M.E"))).split("\n"), t.s),
new HtmlRenderer.jy(), o), true, o.i("M.E"))
r = n.length
@ -13288,18 +13331,21 @@ HtmlRenderer.fq.prototype = {
g = document_.createElement("button")
g.textContent = LangData.get_lang("xPRN") // 返回
h.appendChild(g)
W.es(g, "click", new HtmlRenderer.jB(), false)
if (!run_env.from_code) {
W.es(g, "click", new HtmlRenderer.jB(), false)
}
g = document_.createElement("button")
g.textContent = LangData.get_lang("KXmn") // 分享
h.appendChild(g)
W.es(g, "click", new HtmlRenderer.jC(), false)
if (!run_env.from_code) {
W.es(g, "click", new HtmlRenderer.jC(), false)
}
g = document_.createElement("button")
g.textContent = LangData.get_lang("Zvon") // 帮助
h.appendChild(g)
W.es(g, "click", new HtmlRenderer.jD($.qq()), false)
if (!run_env.from_code) {
W.es(g, "click", new HtmlRenderer.jD($.qq()), false)
}
d = h.style
document_ = "" + (C.d.aI(m.offsetWidth) - C.d.aI(h.offsetWidth) - 8) + "px"
d.marginLeft = document_
@ -13322,7 +13368,7 @@ HtmlRenderer.jx.prototype = {
HtmlRenderer.jy.prototype = {
$1(a) {
var s = t.dG
return P.aa(new H.y(H.b(a.split("\r"), t.s), new HtmlRenderer.jw(), s), true, s.i("M.E"))
return P.List_List_of(new H.y(H.b(a.split("\r"), t.s), new HtmlRenderer.jw(), s), true, s.i("M.E"))
},
$S: 35
}
@ -14195,7 +14241,7 @@ T.dR.prototype = {
},
aU() {
var s = this.cm.q
s = H.b(s.slice(0), H.a1(s))
s = H.b(s.slice(0), H._arrayInstanceType(s))
this.q = s
this.ci()
},
@ -14969,7 +15015,7 @@ T.hB.prototype = {
aa(a, b, c) {
return H.b([], t.F)
},
v(a7, a8, a9, b0) {
var s, shadow_name, q, p, o, n, m, l, k, j, i, h, g, f, e, d, c, b, a, a0, a1, a2, a3, a4, this_ = this,
a6 = null
@ -16360,10 +16406,10 @@ T.fo.prototype = {
break
}
o = l.gad(l)
a7 = P.aa(o, true, H.be(o).i("L.E"))
a7 = P.List_List_of(o, true, H._instanceType(o).i("L.E"))
C.Array.aJ(a7)
if (b3.length !== 0) {
a8 = H.b(a7.slice(0), H.a1(a7))
a8 = H.b(a7.slice(0), H._arrayInstanceType(a7))
C.Array.a5(a8, b3)
C.Array.aJ(a8)
} else {
@ -16396,7 +16442,7 @@ T.fo.prototype = {
for (o = i.length, h = 0; h < i.length; i.length === o || (0, H.F)(i), ++h) {
e = i[h]
n = e.c
m = H.a1(n)
m = H._arrayInstanceType(n)
k = H.b(n.slice(0), m)
e.d = k
n = H.b(n.slice(0), m)
@ -16405,11 +16451,11 @@ T.fo.prototype = {
if (m - 0 <= 32) H.ej(n, 0, m, T.mD())
else H.ei(n, 0, m, T.mD())
e.e = n
n = H.b(n.slice(0), H.a1(n))
n = H.b(n.slice(0), H._arrayInstanceType(n))
e.f = n
}
o = l.gfP(l)
o = P.aa(o, true, H.be(o).i("L.E"))
o = P.List_List_of(o, true, H._instanceType(o).i("L.E"))
C.Array.bb(o, T.mD())
this_.c = o
if (C.JsInt.am(l.gp(l) + $.X(), $.C()) === 0)
@ -16417,7 +16463,7 @@ T.fo.prototype = {
a2 = o[h]
a2.I = a2.gbT()
}
o = H.b(i.slice(0), H.a1(i))
o = H.b(i.slice(0), H._arrayInstanceType(i))
C.Array.bb(o, T.v4())
this_.d = o
for (n = o.length, m = t.i, l = this_.e, h = 0; h < o.length; o.length === n || (0, H.F)(o), ++h) {
@ -16541,41 +16587,69 @@ T.fo.prototype = {
return P._asyncStartSync($async$O, async_completer)
},
ae(a, b) {
if (run_env.from_code) {
return null
}
return this.dM(0, b)
},
dM(a, b) {
var s = 0,
r = P._makeAsyncAwaitCompleter(t.z),
q = this,
p, o, n, m, l, k, j
var $async$ae = P._wrapJsFunctionForAsync(function (c, d) {
if (c === 1) return P.async_rethrow(d, r)
while (true) switch (s) {
case 0:
q.db = b
p = Date.now()
o = $.bx()
n = q.dx
n[0] = p + o
o = q.a
m = new H.y(o, new T.jk(), H.a1(o).i("y<1,m*>")).aV(0, "\n")
p = q.z
o = p.length
if (o !== 0)
for (l = 0; l < p.length; p.length === o || (0, H.F)(p), ++l) {
k = p[l]
m += "\n" + H.as_string(k.e) + "\t" + H.as_string(k.a)
}
p = C.e.gaB().ab(m)
o = H.b_(p).i("a9<z.E>")
j = o.i("y<M.E,l*>")
j = P.aa(new H.y(new H.a9(p, o), new T.jl(q), j), true, j.i("M.E"))
C.Array.a5(j, H.fJ(n.buffer, 0, null))
A.eR(X.dc(j))
return P.async_return(null, r)
// var async_goto = 0,
// async_completer = P._makeAsyncAwaitCompleter(t.z),
// this_ = this,
// p, o, n, m, l, k, j
// var $async$ae = P._wrapJsFunctionForAsync(function (c, d) {
// if (c === 1) return P.async_rethrow(d, async_completer)
// while (true) switch (async_goto) {
// case 0:
// this_.db = b
// p = Date.now()
// o = $.bx()
// n = this_.dx
// n[0] = p + o
// o = this_.a
// m = new H.y(o, new T.jk(), H._arrayInstanceType(o).i("y<1,m*>")).aV(0, "\n")
// p = this_.z
// o = p.length
// if (o !== 0)
// for (l = 0; l < p.length; p.length === o || (0, H.F)(p), ++l) {
// k = p[l]
// m += "\n" + H.as_string(k.e) + "\t" + H.as_string(k.a)
// }
// p = C.e.gaB().ab(m)
// logger.debug("initing in T.fi.dM")
// o = H.instanceType(p).i("a9<z.E>")
// logger.debug("initing in T.fi.dM")
// j = o.i("y<M.E,l*>")
// j = P.List_List_of(new H.y(new H.a9(p, o), new T.jl(this_), j), true, j.i("M.E"))
// C.Array.a5(j, H.fJ(n.buffer, 0, null))
// A.eR(X.dc(j))
// return P.async_return(null, async_completer)
// }
// })
// return P._asyncStartSync($async$ae, async_completer)
let this_ = this, p, o, n, m, l, k, j
this_.db = b
p = Date.now()
o = $.bx()
n = this_.dx
n[0] = p + o
o = this_.a
m = new H.y(o, new T.jk(), H._arrayInstanceType(o).i("y<1,m*>")).aV(0, "\n")
p = this_.z
o = p.length
if (o !== 0)
for (l = 0; l < p.length; p.length === o || (0, H.F)(p), ++l) {
k = p[l]
m += "\n" + H.as_string(k.e) + "\t" + H.as_string(k.a)
}
})
return P._asyncStartSync($async$ae, r)
p = C.e.gaB().ab(m)
logger.debug("initing in T.fi.dM")
o = H.instanceType(p).i("a9<z.E>")
logger.debug("initing in T.fi.dM")
j = o.i("y<M.E,l*>")
j = P.List_List_of(new H.y(new H.a9(p, o), new T.jl(this_), j), true, j.i("M.E"))
C.Array.a5(j, H.fJ(n.buffer, 0, null))
A.eR(X.dc(j))
},
cq(a, b) {
return this.f7(a, b)
@ -16591,9 +16665,9 @@ T.fo.prototype = {
case 0:
n = H.as_string(a.gap().e) + "\r" + H.as_string(a.I.$0())
n = C.e.gaB().ab(n)
p = H.b_(n).i("a9<z.E>")
p = H.instanceType(n).i("a9<z.E>")
o = p.i("y<M.E,l*>")
o = P.aa(new H.y(new H.a9(n, p), new T.ji(q), o), true, o.i("M.E"))
o = P.List_List_of(new H.y(new H.a9(n, p), new T.ji(q), o), true, o.i("M.E"))
C.Array.a5(o, H.fJ(q.dx.buffer, 0, null))
A.eR(X.dc(o))
return P.async_return(null, r)
@ -16608,7 +16682,7 @@ T.fo.prototype = {
T.jk.prototype = {
$1(a) {
var s = a.d
return new H.y(s, new T.jj(), H.a1(s).i("y<1,@>")).aV(0, "\r")
return new H.y(s, new T.jj(), H._arrayInstanceType(s).i("y<1,@>")).aV(0, "\r")
},
$S: 49
}
@ -16891,7 +16965,7 @@ T.Plr.prototype = {
} else r.push(j)
}
s = this_.t
s = H.b(s.slice(0), H.a1(s))
s = H.b(s.slice(0), H._arrayInstanceType(s))
this_.E = s
this_.ac()
this_.k2 = this_.X.dH(this_.k1, t.c5)
@ -17059,7 +17133,7 @@ T.Plr.prototype = {
s.push(new T.SkillVoid(0))
},
dm(list, original) {
//initSkills
// initSkills
var s, r, q, p, o = this,
n = 0,
m = n
@ -17088,7 +17162,7 @@ T.Plr.prototype = {
for (; r = o.k2, n < r.length; ++n) r[n].ao(o, 0)
},
bs() {
//boostPassive or addSkillsToProc??
// boostPassive or addSkillsToProc??
var s, r, q, p, o, n, m, l = this
for (s = 0, r = l.k4; q = l.k2, s < q.length; ++s) {
p = q[s]
@ -17127,7 +17201,7 @@ T.Plr.prototype = {
s.go = C.JsInt.P(s.fr, $.t())
},
F() {
//updateStates
// updateStates
var s, r = this
r.ch = r.b0(r.q[0], $.cj())
r.cx = r.b0(r.q[$.i()], $.cj())
@ -17210,7 +17284,7 @@ T.Plr.prototype = {
return
}
n.Z = false
for (s = n.r2, r = s.gad(s), r = P.aa(r, true, H.be(r).i("L.E")), C.Array.aJ(r), q = r.length, p = 0; p < r.length; r.length === q || (0, H.F)(r), ++p) {
for (s = n.r2, r = s.gad(s), r = P.List_List_of(r, true, H._instanceType(r).i("L.E")), C.Array.aJ(r), q = r.length, p = 0; p < r.length; r.length === q || (0, H.F)(r), ++p) {
o = r[p]
if (s.h(0, o).gT() < 0) {
s.h(0, o).K(a, b)
@ -18224,8 +18298,8 @@ T.k1.prototype = {
cs() {
var s, r = this.c,
q = r.q,
p = H.a1(q).i("y<1,l*>")
p = this.r = P.aa(new H.y(q, new T.k3(), p), true, p.i("M.E"))
p = H._arrayInstanceType(q).i("y<1,l*>")
p = this.r = P.List_List_of(new H.y(q, new T.k3(), p), true, p.i("M.E"))
r = r.q
q = $.ap()
r = r[q]
@ -18500,8 +18574,8 @@ T.bL.prototype = {
var s, r, q, p, o, n, m, l, k, j, i, h, g, f = this,
e = a.c
e.toString
s = H.a1(e).i("y<1,l*>")
f.d = P.aa(new H.y(e, new T.ko(), s), true, s.i("M.E"))
s = H._arrayInstanceType(e).i("y<1,l*>")
f.d = P.List_List_of(new H.y(e, new T.ko(), s), true, s.i("M.E"))
f.e = a.ax($.bg())
r = a.ax($.av())
e = $.a4()
@ -18510,8 +18584,8 @@ T.bL.prototype = {
if (r === e) p = q.al(s, $.bg(), $.aI())
else {
e = q.al(s, $.bg(), $.aI())
s = H.a1(e).i("y<1,l*>")
p = P.aa(new H.y(e, new T.kp(), s), true, s.i("M.E"))
s = H._arrayInstanceType(e).i("y<1,l*>")
p = P.List_List_of(new H.y(e, new T.kp(), s), true, s.i("M.E"))
p[r] = $.iH()
}
o = 0
@ -18699,7 +18773,7 @@ LangData.SuperRC4.prototype = {
}
m = t.fh.aL(b.i("0*")).i("y<1,2>")
// return X.map((e) => list[e]).toList();
return P.aa(new H.y(s, new LangData.k_(a, b), m), true, m.i("M.E"))
return P.List_List_of(new H.y(s, new LangData.k_(a, b), m), true, m.i("M.E"))
},
fi(a) {
var s = a.length
@ -18847,7 +18921,7 @@ LangData.k_.prototype = {
inherit = hunkHelpers.inherit,
inherit_many = hunkHelpers.inheritMany
inherit(P.Object, null)
inherit_many(P.Object, [H.m8, J.Interceptor, J.db, P.O, 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.aW, H.ib, H.iu, P.l8, P.i_, P.f3, P.i4, P.cN, P._Future, 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.Duration, 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.RC4, L.iR, V.iV, X.iW, S.fK, HtmlRenderer.fq, HtmlRenderer.jT, HtmlRenderer.ax, Sgls.a_, Sgls.n, T.x, T.Plr, T.dk, T.fo, T.b7, T.IPlr, T.HDamage, T.HRecover, T.aX, T.aq, T.bG, T.bL, T.fl])
inherit_many(P.Object, [H.m8, J.Interceptor, J.db, P.O, 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.JSSyntaxRegExp, H.ew, H.kz, H.bK, H.l3, H.aW, H.ib, H.iu, P.l8, P.i_, P.f3, P.i4, P.cN, P._Future, 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.Duration, 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.RC4, L.iR, V.iV, X.iW, S.fK, HtmlRenderer.fq, HtmlRenderer.jT, HtmlRenderer.ax, Sgls.a_, Sgls.n, T.x, T.Plr, T.dk, T.fo, T.b7, T.IPlr, T.HDamage, T.HRecover, T.aX, T.aq, T.bG, T.bL, T.fl])
inherit_many(J.Interceptor, [J.fw, J.cs, 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_many(J.bE, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction])
inherit(J.jG, J.JsArray)
@ -19186,7 +19260,7 @@ var t = (function rtii() {
C.r = H.b(make_const_list(["bind", "if", "ref", "repeat", "syntax"]), t.V)
C.l = H.b(make_const_list(["A::href", "AREA::href", "BLOCKQUOTE::cite", "BODY::background", "COMMAND::icon", "DEL::cite", "FORM::action", "IMG::src", "INPUT::src", "INS::cite", "Q::cite", "VIDEO::poster"]), t.V)
C.S = H.vp("N")
C.T = new P.kk(false)
C.T_kk = new P.kk(false)
})();
(function staticFields() {
$.kU = null
@ -19354,7 +19428,7 @@ var t = (function rtii() {
return new X.j9().$0()
})
lazy_old($, "Ay", "rn", function () {
return P.h_("\\?\\?\\?")
return P.RegExp_RegExp("\\?\\?\\?")
})
lazy_old($, "Ax", "bV", function () {
return new S.fK()
@ -19363,7 +19437,7 @@ var t = (function rtii() {
return W.nK()
})
lazy_old($, "Av", "rm", function () {
return P.h_("\\[.*?\\]")
return P.RegExp_RegExp("\\[.*?\\]")
})
lazy_old($, "zT", "d7", function () {
return 21
@ -19719,13 +19793,13 @@ var t = (function rtii() {
return P.dD([LangData.j("JIi6cgXO*d_", 22), $.iH(), LangData.j("Fmi6Vr!~c@]4ElFk,dC", 55), $.mO(), LangData.j("OeQh>Rep f~;YzR^Y%E", 16), $.lK()], t.X, t.B)
})
lazy_old($, "zE", "r0", function () {
return P.h_("^\\s+[:@]*\\s*")
return P.RegExp_RegExp("^\\s+[:@]*\\s*")
})
lazy_old($, "zF", "nq", function () {
return P.h_("\\s+$")
return P.RegExp_RegExp("\\s+$")
})
lazy_old($, "zD", "r_", function () {
return P.h_("\\r?\\n")
return P.RegExp_RegExp("\\r?\\n")
})
lazy_old($, "zR", "K", function () {
var q = null
@ -21050,5 +21124,6 @@ function main() {
return P._asyncStartSync($async$iE, async_completer)
}
logger.debug("running main:", main()) // 执行main函数
// logger.debug(X.k("?`C3ou}R1L", 67))
main();
// logger.debug("running main:", main()) // 执行main函数
// logger.debug(X.k("?`C3ou}R1L", 67))