trim name
This commit is contained in:
parent
206a7947f5
commit
5cbb136de8
@ -5713,16 +5713,20 @@
|
|||||||
}
|
}
|
||||||
l = $.lO()
|
l = $.lO()
|
||||||
m.toString
|
m.toString
|
||||||
|
|
||||||
if (l == null) H.G(H.R(l))
|
if (l == null) H.G(H.R(l))
|
||||||
|
|
||||||
if (H.iF(m, l, 0)) {
|
if (H.iF(m, l, 0)) {
|
||||||
k = C.String.aT(m, $.lO())
|
k = C.String.aT(m, $.lO())
|
||||||
j = C.String.dF(C.String.ay(m, k + $.i()))
|
j = C.String.trim_name(C.String.ay(m, k + $.i())) // trim
|
||||||
l = C.String.af(m, $.a(), k)
|
l = C.String.af(m, $.a(), k)
|
||||||
i = $.nq()
|
i = $.nq()
|
||||||
m = H.iG(l, i, "", 0)
|
m = H.iG(l, i, "", 0)
|
||||||
} else j = e
|
} else j = e
|
||||||
l = $.n3()
|
l = $.n3()
|
||||||
|
|
||||||
if (l == null) H.G(H.R(l))
|
if (l == null) H.G(H.R(l))
|
||||||
|
|
||||||
if (H.iF(m, l, 0)) {
|
if (H.iF(m, l, 0)) {
|
||||||
h = C.String.cK(m, $.n3())
|
h = C.String.cK(m, $.n3())
|
||||||
if (J.m1(h[$.a()], " ")) {
|
if (J.m1(h[$.a()], " ")) {
|
||||||
@ -5741,8 +5745,9 @@
|
|||||||
} else l = !0
|
} else l = !0
|
||||||
if (l) current_group.push(H.set_run_time_type_info([h[$.a()], null, j], r))
|
if (l) current_group.push(H.set_run_time_type_info([h[$.a()], null, j], r))
|
||||||
else current_group.push(H.set_run_time_type_info([h[$.a()], h[$.i()], j], r))
|
else current_group.push(H.set_run_time_type_info([h[$.a()], h[$.i()], j], r))
|
||||||
} else if (C.String.bA(m, " ")) current_group.push(H.set_run_time_type_info([C.String.ay(m, $.i()), n, j], r))
|
} else if (C.String.bA(m, " ")) {
|
||||||
else {
|
current_group.push(H.set_run_time_type_info([C.String.ay(m, $.i()), n, j], r))
|
||||||
|
} else {
|
||||||
if (s + $.i() < names.length) {
|
if (s + $.i() < names.length) {
|
||||||
l = $.n5()
|
l = $.n5()
|
||||||
if (l == null) H.G(H.R(l))
|
if (l == null) H.G(H.R(l))
|
||||||
@ -8689,17 +8694,27 @@
|
|||||||
fN(a) {
|
fN(a) {
|
||||||
return a.toLowerCase()
|
return a.toLowerCase()
|
||||||
},
|
},
|
||||||
dF(a) {
|
trim_name(a) {
|
||||||
|
// trim unicode 133(\n)
|
||||||
var s, r, q, p = a.trim(),
|
var s, r, q, p = a.trim(),
|
||||||
o = p.length
|
o = p.length
|
||||||
if (o === 0) return p
|
if (o === 0) {
|
||||||
if (this.a8(p, 0) === 133) {
|
return p
|
||||||
|
}
|
||||||
|
// if (this.a8(p, 0) === 133) {
|
||||||
|
if (p.charCodeAt(0) === 133) {
|
||||||
s = J.check_from_start(p, 1)
|
s = J.check_from_start(p, 1)
|
||||||
if (s === o) return ""
|
if (s === o) {
|
||||||
} else s = 0
|
return ""
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
s = 0
|
||||||
|
}
|
||||||
r = o - 1
|
r = o - 1
|
||||||
q = this.aQ(p, r) === 133 ? J.check_from_end(p, r) : o
|
q = this.aQ(p, r) === 133 ? J.check_from_end(p, r) : o
|
||||||
if (s === 0 && q === o) return p
|
if (s === 0 && q === o) {
|
||||||
|
return p
|
||||||
|
}
|
||||||
return p.substring(s, q)
|
return p.substring(s, q)
|
||||||
},
|
},
|
||||||
cG(a, b) {
|
cG(a, b) {
|
||||||
|
Loading…
Reference in New Issue
Block a user