@famibee/skynovel 1.37.0 → 1.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +11 -11
- package/dist/app.js.map +1 -1
- package/dist/web.js +11 -11
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/web.js
CHANGED
|
@@ -17899,7 +17899,7 @@ const Cf = class {
|
|
|
17899
17899
|
parsimmon_umd_min.exports.regex(/-?(0|[1-9][0-9]*)/)
|
|
17900
17900
|
).map((q) => int(q))
|
|
17901
17901
|
).map((q) => ["!num!", q]).desc("number"), B = parsimmon_umd_min.exports.string("null").map(() => ["!str!", null]), $ = parsimmon_umd_min.exports.regex(/(true|false)/).map((q) => ["!bool!", q === "true"]).desc("boolean"), U = parsimmon_umd_min.exports.regex(new RegExp(`(?:"(?:\\${e}["'#\\n]|[^"])*"|'(?:\\${e}["'#\\n]|[^'])*'|\\#(?:\\${e}["'#\\n]|[^#])*\\#)`)).map((q) => ["!str!", q.slice(1, -1).replaceAll(e, "")]).desc("string"), z = /\[[^\]]+\]/g, V = parsimmon_umd_min.exports.regex(/-?(?:(?:tmp|sys|save|mp):)?[^\s!-\/:-@[-^`{-~]+(?:\.[^\s!-\/:-@[-^`{-~]+|\[[^\]]+\])*(?:@str)?/).map((q) => {
|
|
17902
|
-
const Z = String(q).
|
|
17902
|
+
const Z = String(q).replaceAll(
|
|
17903
17903
|
z,
|
|
17904
17904
|
(J) => "." + this.parse(J.slice(1, -1))
|
|
17905
17905
|
);
|
|
@@ -17968,7 +17968,7 @@ vn = new WeakMap(), Yt = new WeakSet(), qt = function(t) {
|
|
|
17968
17968
|
throw Error("(PropParser)\u5F15\u6570\u3010" + e + "\u3011\u304C\u6570\u5024\u3067\u306F\u3042\u308A\u307E\u305B\u3093");
|
|
17969
17969
|
return Number(e);
|
|
17970
17970
|
}, bl = new WeakMap(), eo = new WeakSet(), Fc = function(t) {
|
|
17971
|
-
return t == null ? t : String(t).
|
|
17971
|
+
return t == null ? t : String(t).replaceAll(H(this, bl), (e) => e.charAt(0) === "$" ? this.val.getVal(e.slice(1)) : this.parse(e.slice(2, -1)));
|
|
17972
17972
|
}, El = new WeakMap(), xl = new WeakSet(), Of = function(t) {
|
|
17973
17973
|
let e = 0, o = 0;
|
|
17974
17974
|
for (; ; ) {
|
|
@@ -30744,7 +30744,7 @@ const Zt = class extends Container {
|
|
|
30744
30744
|
}
|
|
30745
30745
|
}
|
|
30746
30746
|
const Y = H(this, le).querySelectorAll("span.sn_ch");
|
|
30747
|
-
if (nt(this, li, () => (nt(this, li, () => !1), Y.forEach((pt) => pt.className = pt.className.
|
|
30747
|
+
if (nt(this, li, () => (nt(this, li, () => !1), Y.forEach((pt) => pt.className = pt.className.replaceAll(/ go_ch_in_[^\s"]+/g, "")), H(Zt, Xr).position.set(
|
|
30748
30748
|
H(this, Xe),
|
|
30749
30749
|
H(this, We)
|
|
30750
30750
|
), H(Zt, Xr).visible = !0, H(Zt, In).noticeCompTxt(), !0)), Y.length === 0) {
|
|
@@ -30752,7 +30752,7 @@ const Zt = class extends Container {
|
|
|
30752
30752
|
H(this, Ir) ? (nt(this, Xe, (H(this, Xt).$width - H(this, Xt).pad_left - H(this, Xt).pad_right - mt * 1.5) * this.sys.cvsScale), nt(this, We, 0)) : (nt(this, Xe, 0), nt(this, We, mt / 2 * this.sys.cvsScale)), H(this, li).call(this);
|
|
30753
30753
|
return;
|
|
30754
30754
|
}
|
|
30755
|
-
Y.forEach((pt) => pt.className = pt.className.
|
|
30755
|
+
Y.forEach((pt) => pt.className = pt.className.replaceAll(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1"));
|
|
30756
30756
|
let Z;
|
|
30757
30757
|
for (let pt = $ - 1; pt >= 0; --pt) {
|
|
30758
30758
|
const mt = H(this, ui)[pt];
|
|
@@ -30889,9 +30889,9 @@ const Zt = class extends Container {
|
|
|
30889
30889
|
const e = [], o = H(this, le).style, T = o.length;
|
|
30890
30890
|
for (let S = 0; S < T; ++S) {
|
|
30891
30891
|
const N = o[S];
|
|
30892
|
-
e.push(`"${N}":"${o[N].
|
|
30892
|
+
e.push(`"${N}":"${o[N].replaceAll(/(["\\])/g, "\\$1")}"`);
|
|
30893
30893
|
}
|
|
30894
|
-
return `"txt":"${H(this, le).textContent.
|
|
30894
|
+
return `"txt":"${H(this, le).textContent.replaceAll(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
|
|
30895
30895
|
}
|
|
30896
30896
|
destroy() {
|
|
30897
30897
|
Zt.delBreak(), H(this, le).parentElement.removeChild(H(this, le)), this.removeChild(H(this, Vr)), this.removeChild(H(this, ai)), super.destroy();
|
|
@@ -30906,7 +30906,7 @@ zs = new WeakMap(), Oo = new WeakMap(), In = new WeakMap(), le = new WeakMap(),
|
|
|
30906
30906
|
nt(this, qs, H(this, Ir) ? 0 : (T.slice(-2) === "px" ? parseFloat(T) : o * parseFloat(T) - o) / 2);
|
|
30907
30907
|
}, Rr = new WeakMap(), Ir = new WeakMap(), No = new WeakMap(), Xs = new WeakMap(), ah = new WeakSet(), od = function(e, o = !0) {
|
|
30908
30908
|
const T = {
|
|
30909
|
-
escape: (q) => q.
|
|
30909
|
+
escape: (q) => q.replaceAll(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
30910
30910
|
mimeType: (q) => {
|
|
30911
30911
|
const Z = $(q).toLowerCase();
|
|
30912
30912
|
return S()[Z] || "";
|
|
@@ -31384,9 +31384,9 @@ const Jt = class extends Layer {
|
|
|
31384
31384
|
nt(this, Or, !1), nt(this, lr, !0), S = at(this, aa, sl).call(this, e, B, N);
|
|
31385
31385
|
break;
|
|
31386
31386
|
case "gotxt":
|
|
31387
|
-
at(this, oa, al).call(this), this.isCur && H(Jt, ea).recText(
|
|
31387
|
+
at(this, oa, al).call(this), H(this, lr) ? (this.isCur && H(Jt, ea).recText(
|
|
31388
31388
|
H(this, _r).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replaceAll(/style='(anim\S+ \S+?;\s*)+/g, "style='").replaceAll(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replaceAll(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("display: none;", "").replaceAll("class='offrec'", "style='display: none;'")
|
|
31389
|
-
), H(this,
|
|
31389
|
+
), H(this, oe).goTxt(H(this, _r)), nt(this, lr, !1), nt(this, gi, 0)) : this.isCur && H(Jt, Mn).noticeCompTxt();
|
|
31390
31390
|
return;
|
|
31391
31391
|
case "add":
|
|
31392
31392
|
{
|
|
@@ -31907,7 +31907,7 @@ ua = new WeakMap(), Gn = new WeakMap(), hh = new WeakSet(), hd = function(t) {
|
|
|
31907
31907
|
}), X.load((W, Y) => {
|
|
31908
31908
|
var Z;
|
|
31909
31909
|
const q = document.getElementById(e);
|
|
31910
|
-
H(this, Gn)[e] = q, H(this, la)[e] = !1, q.srcdoc = String((Z = Y[o]) == null ? void 0 : Z.data).replace("sn_repRes();", "").
|
|
31910
|
+
H(this, Gn)[e] = q, H(this, la)[e] = !1, q.srcdoc = String((Z = Y[o]) == null ? void 0 : Z.data).replace("sn_repRes();", "").replaceAll(
|
|
31911
31911
|
/\s(?:src|href)=(["'])(\S+)\1/g,
|
|
31912
31912
|
(K, J, tt) => tt.slice(0, 3) === "../" ? this.sys.cur + tt.slice(4) : K.replace(J, J + V.slice(0, V.lastIndexOf("/") + 1))
|
|
31913
31913
|
), q.onload = () => {
|
|
@@ -35057,7 +35057,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
|
|
|
35057
35057
|
}
|
|
35058
35058
|
throw $ ? "[let_ml]\u306E\u7D42\u7AEF\u30FB[endlet_ml]\u304C\u3042\u308A\u307E\u305B\u3093" : (DebugMng.myTrace(`[jump\u7CFB] \u30E9\u30D9\u30EB\u3010${T}\u3011\u304C\u3042\u308A\u307E\u305B\u3093`, "ET"), "Dummy");
|
|
35059
35059
|
}, er = new WeakMap(), bc = new WeakSet(), pp = function(t) {
|
|
35060
|
-
const e = H(this, Ki).matchToken(t.
|
|
35060
|
+
const e = H(this, Ki).matchToken(t.replaceAll(/(\r\n|\r)/g, `
|
|
35061
35061
|
`));
|
|
35062
35062
|
for (let S = e.length - 1; S >= 0; --S) {
|
|
35063
35063
|
const N = e[S];
|