Compare commits

...

4 Commits

Author SHA1 Message Date
0a921d56a4
风险略高的 J.J -> J.index_get 2024-03-19 22:20:07 +08:00
9c276364a2
P.ai -> P.async_rethrow 2024-03-19 22:16:48 +08:00
86227a6c5d
J.da -> J.JsNumber 2024-03-19 22:15:04 +08:00
2756b85e26
J.bs -> J.UnknownJavaScriptObject 2024-03-19 22:14:16 +08:00

View File

@ -3062,21 +3062,21 @@
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
if (!(a instanceof P.Object)) return J.UnknownJavaScriptObject.prototype
return a
},
aQ(a) {
if (typeof a == "string") return J.JsString.prototype
if (a == null) return a
if (!(a instanceof P.Object)) return J.bs.prototype
if (!(a instanceof P.Object)) return J.UnknownJavaScriptObject.prototype
return a
},
uR(a) {
if (a == null) return J.JsNull.prototype
if (!(a instanceof P.Object)) return J.bs.prototype
if (!(a instanceof P.Object)) return J.UnknownJavaScriptObject.prototype
return a
},
bv(a) {
@ -3090,7 +3090,7 @@
},
uS(a) {
if (a == null) return a
if (!(a instanceof P.Object)) return J.bs.prototype
if (!(a instanceof P.Object)) return J.UnknownJavaScriptObject.prototype
return a
},
iN(a, b) {
@ -3102,7 +3102,7 @@
if (typeof a != "object") return b != null && a === b
return J.get_interceptor(a).aW(a, b)
},
J(a, b) {
index_get(a, b) {
if (typeof b === "number")
if (a.constructor == Array || typeof a == "string" || H.oG(a, a[v.dispatchPropertyName]))
if (b >>> 0 === b && b < a.length) return a[b]
@ -3214,7 +3214,7 @@
JsNull: function cs() {},
bE: function bE() {},
fO: function fO() {},
bs: function bs() {},
UnknownJavaScriptObject: function bs() {},
JavaScriptFunction: function bn() {},
JsArray: function E(a) {
this.$ti = a
@ -3229,7 +3229,7 @@
_.c = 0
_.d = null
},
dA: function dA() {},
JsNumber: function dA() {},
JsInt: function dz() {},
JsDouble: function jF() {},
JsString: function bD() {}
@ -3365,7 +3365,7 @@
async_return(a, b) {
b.bM(0, a)
},
ai(a, b) {
async_rethrow(a, b) {
b.cj(H.unwrap_Exception(a), H.get_trace_from_exception(a))
},
await_on_object(a, b) {
@ -4473,12 +4473,12 @@
// $.qc -> !test!
// 猜测:
// J.J(a, b) -> a[b]
// J.index_get(a, b) -> a[b]
// J.equal(a, b) -> a === b
// if 翻译:
// if (parsed_names[0][0][0] === $.qc()) {
// if (J.equal(J.J(J.J(parsed_names, 0)[0], 0), $.qc())) {
// if (J.equal(J.index_get(J.index_get(parsed_names, 0)[0], 0), $.qc())) {
// 这里在判定 第一组 第一个元素的第一个元素是否等于 $.qc() (即 !test!)
if (parsed_names[0][0][0] === $.qc()) {
$.vr = 6
@ -4486,8 +4486,8 @@
// if (J.aw(parsed_names) === 2)
if (parsed_names.length === 2) {
// ???
if (J.J(parsed_names, 1).length > 10 || J.lW(J.J(J.J(parsed_names, 1)[0], 0), LanData.j("S,AF", 5))) {
// a8 = J.J(parsed_names, 1)
if (J.index_get(parsed_names, 1).length > 10 || J.lW(J.index_get(J.index_get(parsed_names, 1)[0], 0), LanData.j("S,AF", 5))) {
// a8 = J.index_get(parsed_names, 1)
a8 = parsed_names[1]
a9 = H.set_run_time_type_info([], t.t)
d = new X.iW(a9, new Float64Array(1))
@ -4502,13 +4502,13 @@
// $.nk -> \u0002
e = $.nk()
// $.cl -> !
// if (J.J(parsed_names, 0).length === 2 && J.equal(J.J(J.J(parsed_names, 0)[1], 0), $.cl())) {
// if (J.index_get(parsed_names, 0).length === 2 && J.equal(J.index_get(J.index_get(parsed_names, 0)[1], 0), $.cl())) {
// e = $.cl()
// }
if (parsed_names[0].length === 2 && parsed_names[0][1][0] === $.cl()) {
e = $.cl()
}
a8 = J.J(parsed_names, 1)
a8 = J.index_get(parsed_names, 1)
a9 = e
a3 = H.set_run_time_type_info([], t.L)
a4 = H.set_run_time_type_info([], t.V)
@ -4525,8 +4525,8 @@
}
} else if (parsed_names.length === 3) {
// if (J.aw(parsed_names) === 3) {
// a8 = J.J(parsed_names, 1)
// a9 = J.J(parsed_names, 2)
// a8 = J.index_get(parsed_names, 1)
// a9 = J.index_get(parsed_names, 2)
a8 = parsed_names[1]
a9 = parsed_names[2]
a3 = t.L
@ -4568,7 +4568,7 @@
case 1:
return P.async_return(q, async_completer)
case 2:
return P.ai(async_result_1, async_completer)
return P.async_rethrow(async_result_1, async_completer)
}
})
return P.async_start_sync($async$iE, async_completer)
@ -5402,7 +5402,7 @@
$.vq = r.length > s && C.String.a8(r, s) === $.q0() ? $.pE() : $.mS()
return a1
}
if ($.nr().J(0, a4)) {
if ($.nr().index_get(0, a4)) {
s = $.cl()
r = $.nr().h(0, a4)
q = $.a()
@ -5790,7 +5790,7 @@
r = P.make_async_await_completer(t.eF),
q, p, o, n, m, l, k, j, i, h
var $async$c2 = P.wrap_js_function_for_async(function (b, c) {
if (b === 1) return P.ai(c, r)
if (b === 1) return P.async_rethrow(c, r)
while (true) switch (s) {
case 0:
k = t.eV
@ -7870,17 +7870,17 @@
r -= 14
}
n = p + 1
l[p] = J.J($.iM(), C._JsInt.V(q, 93))
l[p] = J.index_get($.iM(), C._JsInt.V(q, 93))
p = n + 1
l[n] = J.J($.iM(), q / 93 | 0)
l[n] = J.index_get($.iM(), q / 93 | 0)
}
}
if (r > 0) {
n = p + 1
l[p] = J.J($.iM(), C._JsInt.V(s, 93))
l[p] = J.index_get($.iM(), C._JsInt.V(s, 93))
if (r > 7 || s > 92) {
p = n + 1
l[n] = J.J($.iM(), s / 93 | 0)
l[n] = J.index_get($.iM(), s / 93 | 0)
} else p = n
}
C.Array.sp(l, p)
@ -7892,7 +7892,7 @@
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
l = J.J($.oS(), m)
l = J.index_get($.oS(), m)
if (l === 93) continue
if (p === -1) p = l
else {
@ -7981,7 +7981,7 @@
r = P.make_async_await_completer(t.z),
q, p
var $async$jv = P.wrap_js_function_for_async(function (a, b) {
if (a === 1) return P.ai(b, r)
if (a === 1) return P.async_rethrow(b, r)
while (true) switch (switch_branch) {
case 0:
Sgls.tw()
@ -8333,7 +8333,7 @@
$inM: 1
}
J.fO.prototype = {}
J.bs.prototype = {}
J.UnknownJavaScriptObject.prototype = {}
J.JavaScriptFunction.prototype = {
k(a) {
var s = a[$.oR()]
@ -8514,7 +8514,7 @@
return !0
}
}
J.dA.prototype = {
J.JsNumber.prototype = {
bg(a, b) {
var s
if (typeof b != "number") throw H.h(H.R(b))
@ -11804,7 +11804,7 @@
r = s.c + 1,
q = s.b
if (r < q) {
s.d = J.J(s.a, r)
s.d = J.index_get(s.a, r)
s.c = r
return !0
}
@ -12292,7 +12292,7 @@
q, p = this,
o, n, m, l, k, j, i, h, g, f, e, d
var $async$O = P.wrap_js_function_for_async(function (a, b) {
if (a === 1) return P.ai(b, async_completer)
if (a === 1) return P.async_rethrow(b, async_completer)
while (true) switch (async_goto) {
case 0:
d = p.x
@ -12394,7 +12394,7 @@
q = this,
p, o, n, m, l
var $async$ae = P.wrap_js_function_for_async(function (c, d) {
if (c === 1) return P.ai(d, r)
if (c === 1) return P.async_rethrow(d, r)
while (true) switch (s) {
case 0:
q.Q = b
@ -12482,7 +12482,7 @@
dZ(a, b) {
var s, r, q, p, o, n, m, l = this,
k = l.b
if (k.length === 2 && J.equal(J.J(k[0], 0), J.J(k[1], 0)) && J.equal(J.J(k[0], 1), J.J(k[1], 1))) {
if (k.length === 2 && J.equal(J.index_get(k[0], 0), J.index_get(k[1], 0)) && J.equal(J.index_get(k[0], 1), J.index_get(k[1], 1))) {
k.pop()
l.c = !0
}
@ -12507,7 +12507,7 @@
q, p = this,
o, n, m, l, k, j, i, h, g, f, e, d, c, b, a, a0, a1, a2, a3, a4
var $async$O = P.wrap_js_function_for_async(function (a5, a6) {
if (a5 === 1) return P.ai(a6, async_completer)
if (a5 === 1) return P.async_rethrow(a6, async_completer)
while (true) switch (async_goto) {
case 0:
a4 = p.y
@ -12643,7 +12643,7 @@
q = this,
p, o, n, m, l
var $async$ae = P.wrap_js_function_for_async(function (c, d) {
if (c === 1) return P.ai(d, r)
if (c === 1) return P.async_rethrow(d, r)
while (true) switch (s) {
case 0:
q.cx = b
@ -12737,7 +12737,7 @@
q, p = this,
o, n, m, l, k, j, i, h, g, f, e, d
var $async$O = P.wrap_js_function_for_async(function (a, b) {
if (a === 1) return P.ai(b, r)
if (a === 1) return P.async_rethrow(b, r)
while (true) switch (s) {
case 0:
e = p.b
@ -12977,7 +12977,7 @@
n = P.aa(new H.y(H.set_run_time_type_info(C.P_kj.bt(0, P.aa(new H.y(new H.a9(r, q), new HtmlRenderer.jx(a), p), !0, p.i("M.E"))).split("\n"), t.s), new HtmlRenderer.jy(), o), !0, o.i("M.E"))
r = n.length
if (r > 1) {
if (!J.equal(J.J(J.J(n[0], 0), 0), "")) {
if (!J.equal(J.index_get(J.index_get(n[0], 0), 0), "")) {
for (m = 0; m < n.length; n.length === r || (0, H.F)(n), ++m) {
l = n[m]
q = J.a3(l)
@ -13006,7 +13006,7 @@
g = k[m]
f = document.createElement("p")
f.classList.add("row")
f.textContent = J.J(g, 1)
f.textContent = J.index_get(g, 1)
p.appendChild(f)
}
}
@ -13028,9 +13028,9 @@
} else {
e = n[0]
r = J.a3(e)
q = J.J(r.h(e, 0), 0)
q = J.index_get(r.h(e, 0), 0)
r = r.h(e, 1)
d = J.J(r, 0)
d = J.index_get(r, 0)
if (!$.ay.J(0, d)) {
c = $.ay.h(0, q)
b = HtmlRenderer.t8(c.a, r, !1)
@ -13050,7 +13050,7 @@
q, p = this,
o
var $async$b4 = P.wrap_js_function_for_async(function (async_error_code, async_result) {
if (async_error_code === 1) return P.ai(async_result, async_completer)
if (async_error_code === 1) return P.async_rethrow(async_result, async_completer)
while (true) switch (async_goto) {
case 0:
p.d = null
@ -13239,7 +13239,7 @@
// d = h.style
// 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()
// if (W.ll(window.parent) !== window) new HtmlRenderer.post_message(f, p, o, n, $.ay.h(0, J.index_get(J.index_get(f.z[0], 0), 0))).$0()
// }
}
HtmlRenderer.jx.prototype = {
@ -13326,7 +13326,7 @@
q = this,
p, o, n
var $async$$0 = P.wrap_js_function_for_async(function (a, b) {
if (a === 1) return P.ai(b, r)
if (a === 1) return P.async_rethrow(b, r)
while (true) switch (s) {
case 0:
n = t.z
@ -13484,7 +13484,7 @@
}
HtmlRenderer.jV.prototype = {
$1(a) {
return HtmlRenderer.replace_add_str(J.J(this.b, this.a.a++))
return HtmlRenderer.replace_add_str(J.index_get(this.b, this.a.a++))
},
$S: 17
}
@ -13605,12 +13605,12 @@
} else s = !1
else s = !1
if (s) return !0
if (J.J(J.J($.nv(), a), p.b) < 90) return !1
if (J.index_get(J.index_get($.nv(), a), p.b) < 90) return !1
for (s = o.length, r = 0; r < s; ++r)
if (o[r] === a) return !0
for (r = 0; r < o.length; o.length === s || (0, H.F)(o), ++r) {
q = o[r]
if (J.J(J.J($.nv(), a), q) < 90) return !1
if (J.index_get(J.index_get($.nv(), a), q) < 90) return !1
}
return !0
},
@ -16164,7 +16164,7 @@
q, p = this,
o, n, m, l, k, j, i, h, g, f, e, d, c, b, a, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, b0, b1, b2, b3
var $async$bD = P.wrap_js_function_for_async(function (b4, b5) {
if (b4 === 1) return P.ai(b5, r)
if (b4 === 1) return P.async_rethrow(b5, r)
while (true) switch (s) {
case 0:
b3 = H.set_run_time_type_info([], t.V)
@ -16307,7 +16307,7 @@
var s = 0,
r = P.make_async_await_completer(t.z)
var $async$bE = P.wrap_js_function_for_async(function (a, b) {
if (a === 1) return P.ai(b, r)
if (a === 1) return P.async_rethrow(b, r)
while (true) switch (s) {
case 0:
s = 2
@ -16339,7 +16339,7 @@
o = this,
n, m, l, k, j, i, h, g, f
var $async$O = P.wrap_js_function_for_async(function (a, b) {
if (a === 1) return P.ai(b, r)
if (a === 1) return P.async_rethrow(b, r)
while (true) $async$outer: switch (s) {
case 0:
if (o.cx) {
@ -16782,7 +16782,7 @@
r = P.make_async_await_completer(t.z),
q = this
var $async$cg = P.wrap_js_function_for_async(function (a, b) {
if (a === 1) return P.ai(b, r)
if (a === 1) return P.async_rethrow(b, r)
while (true) switch (s) {
case 0:
q.az()
@ -18665,10 +18665,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.bE, [J.fO, J.bs, J.JavaScriptFunction])
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.UnknownJavaScriptObject, 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])
@ -18937,7 +18937,7 @@
C.Interceptor = J.Interceptor.prototype
C.Array = J.JsArray.prototype
C._JsInt = J.JsInt.prototype
C.Number = J.dA.prototype
C.Number = J.JsNumber.prototype
C.String = J.JsString.prototype
C.K = J.JavaScriptFunction.prototype
C.Q = W.dQ.prototype
@ -18945,7 +18945,7 @@
C.R = W.ek.prototype
C.j = W.ce.prototype
C.u = W.en.prototype
C.m = J.bs.prototype
C.m = J.UnknownJavaScriptObject.prototype
C.U = W.eq.prototype
C.v = W.eH.prototype
C.V = new P.js()