@famibee/skynovel 1.30.7 → 1.30.10
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 +3577 -3556
- package/dist/app.js.map +1 -1
- package/dist/sn/EventMng.d.ts.map +1 -1
- package/dist/sn/GrpLayer.d.ts +4 -7
- package/dist/sn/GrpLayer.d.ts.map +1 -1
- package/dist/sn/Layer.d.ts +1 -0
- package/dist/sn/Layer.d.ts.map +1 -1
- package/dist/web.js +497 -476
- package/dist/web.js.map +1 -1
- package/package.json +4 -4
package/dist/web.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
1
|
+
var th = (n, t, e) => {
|
|
2
2
|
if (!t.has(n))
|
|
3
3
|
throw TypeError("Cannot " + e);
|
|
4
4
|
};
|
|
5
|
-
var H = (n, t, e) => (
|
|
5
|
+
var H = (n, t, e) => (th(n, t, "read from private field"), e ? e.call(n) : t.get(n)), it = (n, t, e) => {
|
|
6
6
|
if (t.has(n))
|
|
7
7
|
throw TypeError("Cannot add the same private member more than once");
|
|
8
8
|
t instanceof WeakSet ? t.add(n) : t.set(n, e);
|
|
9
|
-
}, et = (n, t, e, o) => (
|
|
9
|
+
}, et = (n, t, e, o) => (th(n, t, "write to private field"), o ? o.call(n, e) : t.set(n, e), e), Re = (n, t, e, o) => ({
|
|
10
10
|
set _(R) {
|
|
11
11
|
et(n, t, R, e);
|
|
12
12
|
},
|
|
13
13
|
get _() {
|
|
14
14
|
return H(n, t, o);
|
|
15
15
|
}
|
|
16
|
-
}), st = (n, t, e) => (
|
|
16
|
+
}), st = (n, t, e) => (th(n, t, "access private method"), e);
|
|
17
17
|
var commonjsGlobal$1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, platform$1 = { exports: {} };
|
|
18
18
|
/*!
|
|
19
19
|
* Platform.js v1.3.6
|
|
@@ -451,10 +451,10 @@ CmnLib.stageH = 0;
|
|
|
451
451
|
CmnLib.debugLog = !1;
|
|
452
452
|
CmnLib.isSafari = platform$1.exports.name === "Safari";
|
|
453
453
|
CmnLib.isFirefox = platform$1.exports.name === "Firefox";
|
|
454
|
-
var
|
|
455
|
-
CmnLib.isMac = new RegExp("OS X").test((
|
|
456
|
-
var
|
|
457
|
-
CmnLib.isMobile = !new RegExp("(Windows|OS X)").test((
|
|
454
|
+
var Bh, $h;
|
|
455
|
+
CmnLib.isMac = new RegExp("OS X").test(($h = (Bh = platform$1.exports.os) == null ? void 0 : Bh.family) != null ? $h : "");
|
|
456
|
+
var kh, Gh;
|
|
457
|
+
CmnLib.isMobile = !new RegExp("(Windows|OS X)").test((Gh = (kh = platform$1.exports.os) == null ? void 0 : kh.family) != null ? Gh : "");
|
|
458
458
|
CmnLib.hDip = {};
|
|
459
459
|
CmnLib.isDbg = !1;
|
|
460
460
|
CmnLib.isPackaged = !1;
|
|
@@ -2636,12 +2636,12 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2636
2636
|
return wt(Dn.toString(16), 2, "0");
|
|
2637
2637
|
}, we);
|
|
2638
2638
|
}, function(we, Dn) {
|
|
2639
|
-
var Ln = we.length,
|
|
2639
|
+
var Ln = we.length, Vi = [], Fn = 0;
|
|
2640
2640
|
if (Ln <= Dn)
|
|
2641
2641
|
return [we.slice()];
|
|
2642
2642
|
for (var Bn = 0; Bn < Ln; Bn++)
|
|
2643
|
-
|
|
2644
|
-
return
|
|
2643
|
+
Vi[Fn] || Vi.push([]), Vi[Fn].push(we[Bn]), (Bn + 1) % Dn == 0 && Fn++;
|
|
2644
|
+
return Vi;
|
|
2645
2645
|
}(ot.slice(Ke.from, Ke.to).toJSON().data, mt));
|
|
2646
2646
|
Ft = function(we) {
|
|
2647
2647
|
return we.from === 0 && we.to === 1 ? { from: we.from, to: we.to } : { from: we.from / mt, to: Math.floor(we.to / mt) };
|
|
@@ -2652,10 +2652,10 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2652
2652
|
var Mn = ot.split(/\r\n|[\n\r\u2028\u2029]/);
|
|
2653
2653
|
bt = Wt.column - 1, It = Wt.line - 1, Ft = Mt(It, xt, Lt, Mn.length), Nt = Mn.slice(Ft.from, Ft.to), Bt = Ft.to.toString().length;
|
|
2654
2654
|
}
|
|
2655
|
-
var
|
|
2655
|
+
var Af = It - Ft.from;
|
|
2656
2656
|
return K(ot) && (Bt = (8 * (Ft.to > 0 ? Ft.to - 1 : Ft.to)).toString(16).length) < 2 && (Bt = 2), L(function(we, Dn, Ln) {
|
|
2657
|
-
var
|
|
2658
|
-
return
|
|
2657
|
+
var Vi, Fn = Ln === Af, Bn = Fn ? "> " : Tt;
|
|
2658
|
+
return Vi = K(ot) ? wt((8 * (Ft.from + Ln)).toString(16), Bt, "0") : wt((Ft.from + Ln + 1).toString(), Bt, " "), [].concat(we, [Bn + Vi + " | " + Dn], Fn ? [Tt + Pt(" ", Bt) + " | " + wt("", bt, " ") + Pt("^", Be)] : []);
|
|
2659
2659
|
}, [], Nt).join(`
|
|
2660
2660
|
`);
|
|
2661
2661
|
}
|
|
@@ -2936,7 +2936,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2936
2936
|
return rt(ot.length, ot.slice(ft));
|
|
2937
2937
|
}), ue = N(function(ot, ft) {
|
|
2938
2938
|
return ft < ot.length ? tt(ft, "EOF") : rt(ft, null);
|
|
2939
|
-
}), ae = Rt(/[0-9]/).desc("a digit"), Jt = Rt(/[0-9]*/).desc("optional digits"), Pe = Rt(/[a-z]/i).desc("a letter"), ha = Rt(/[a-z]*/i).desc("optional letters"),
|
|
2939
|
+
}), ae = Rt(/[0-9]/).desc("a digit"), Jt = Rt(/[0-9]*/).desc("optional digits"), Pe = Rt(/[a-z]/i).desc("a letter"), ha = Rt(/[a-z]*/i).desc("optional letters"), Ql = Rt(/\s*/).desc("optional whitespace"), Bo = Rt(/\s+/).desc("whitespace"), ca = Et("\r"), $o = Et(`
|
|
2940
2940
|
`), ko = Et(`\r
|
|
2941
2941
|
`), Go = _t(ko, $o, ca).desc("newline"), fa = _t(Go, ue);
|
|
2942
2942
|
N.all = de, N.alt = _t, N.any = Ie, N.cr = ca, N.createLanguage = function(ot) {
|
|
@@ -2960,7 +2960,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
2960
2960
|
return se(function(It) {
|
|
2961
2961
|
return ot.indexOf(It) >= 0;
|
|
2962
2962
|
}).desc(ft);
|
|
2963
|
-
}, N.optWhitespace =
|
|
2963
|
+
}, N.optWhitespace = Ql, N.Parser = N, N.range = function(ot, ft) {
|
|
2964
2964
|
return se(function(bt) {
|
|
2965
2965
|
return ot <= bt && bt <= ft;
|
|
2966
2966
|
}).desc(ot + "-" + ft);
|
|
@@ -3050,18 +3050,18 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
3050
3050
|
}]);
|
|
3051
3051
|
});
|
|
3052
3052
|
})(parsimmon_umd_min);
|
|
3053
|
-
var
|
|
3054
|
-
const
|
|
3053
|
+
var vi, zt, jt, Xr, gi, $n, Ca, Ia, eh, au, ou, Uh;
|
|
3054
|
+
const Lh = class {
|
|
3055
3055
|
constructor(t, e = "\\") {
|
|
3056
3056
|
it(this, zt);
|
|
3057
|
-
it(this,
|
|
3057
|
+
it(this, gi);
|
|
3058
3058
|
it(this, Ia);
|
|
3059
|
-
it(this,
|
|
3059
|
+
it(this, vi, void 0);
|
|
3060
3060
|
it(this, Xr, void 0);
|
|
3061
3061
|
it(this, Ca, void 0);
|
|
3062
|
-
this.val = t, et(this,
|
|
3062
|
+
this.val = t, et(this, vi, null), et(this, Xr, {
|
|
3063
3063
|
"!num!": (W) => W.shift(),
|
|
3064
|
-
"!str!": (W) => st(this, Ia,
|
|
3064
|
+
"!str!": (W) => st(this, Ia, eh).call(this, W.shift()),
|
|
3065
3065
|
"!bool!": (W) => W.shift(),
|
|
3066
3066
|
"!": (W) => {
|
|
3067
3067
|
const Y = W.shift();
|
|
@@ -3078,15 +3078,15 @@ const Dh = class {
|
|
|
3078
3078
|
return Object.prototype.toString.call(Y) === "[object String]" || Object.prototype.toString.call(q) === "[object String]" ? String(Y) + String(q) : Number(Y) + Number(q);
|
|
3079
3079
|
},
|
|
3080
3080
|
"-": (W) => Number(st(this, zt, jt).call(this, W.shift())) - Number(st(this, zt, jt).call(this, W.shift())),
|
|
3081
|
-
int: (W) => int(st(this,
|
|
3081
|
+
int: (W) => int(st(this, gi, $n).call(this, W.shift())),
|
|
3082
3082
|
parseInt: (W) => int(H(this, Xr).Number(W)),
|
|
3083
3083
|
Number: (W) => {
|
|
3084
3084
|
const Y = st(this, zt, jt).call(this, W.shift());
|
|
3085
|
-
return Object.prototype.toString.call(Y) !== "[object String]" ? Number(Y) : st(this,
|
|
3085
|
+
return Object.prototype.toString.call(Y) !== "[object String]" ? Number(Y) : st(this, gi, $n).call(this, H(this, vi).parse(String(Y)).value);
|
|
3086
3086
|
},
|
|
3087
|
-
ceil: (W) => Math.ceil(st(this,
|
|
3088
|
-
floor: (W) => Math.floor(st(this,
|
|
3089
|
-
round: (W) => Math.round(st(this,
|
|
3087
|
+
ceil: (W) => Math.ceil(st(this, gi, $n).call(this, W.shift())),
|
|
3088
|
+
floor: (W) => Math.floor(st(this, gi, $n).call(this, W.shift())),
|
|
3089
|
+
round: (W) => Math.round(st(this, gi, $n).call(this, W.shift())),
|
|
3090
3090
|
isNaN: (W) => isNaN(Number(st(this, zt, jt).call(this, W.shift()))),
|
|
3091
3091
|
"<<": (W) => Number(st(this, zt, jt).call(this, W.shift())) << Number(st(this, zt, jt).call(this, W.shift())),
|
|
3092
3092
|
">>": (W) => Number(st(this, zt, jt).call(this, W.shift())) >> Number(st(this, zt, jt).call(this, W.shift())),
|
|
@@ -3179,7 +3179,7 @@ const Dh = class {
|
|
|
3179
3179
|
const q = this.val.getVal(Y);
|
|
3180
3180
|
return q == null ? ["!str!", q] : typeof q == "boolean" ? ["!bool!", q] : Object.prototype.toString.call(q) === "[object String]" ? ["!str!", String(q)] : ["!num!", Number(q)];
|
|
3181
3181
|
}).desc("string"), z = parsimmon_umd_min.exports.lazy(
|
|
3182
|
-
() => parsimmon_umd_min.exports.string("(").then(H(this,
|
|
3182
|
+
() => parsimmon_umd_min.exports.string("(").then(H(this, vi)).skip(parsimmon_umd_min.exports.string(")")).or(D).or(L).or(B).or($).or(U)
|
|
3183
3183
|
), V = [
|
|
3184
3184
|
{ type: R, ops: o([/[A-Za-z_][A-Za-z0-9_]*(?=\()/]) },
|
|
3185
3185
|
{ type: R, ops: o([/(!(?!=)|~)/]) },
|
|
@@ -3200,14 +3200,14 @@ const Dh = class {
|
|
|
3200
3200
|
(W, Y) => Y.type(Y.ops, W),
|
|
3201
3201
|
z
|
|
3202
3202
|
);
|
|
3203
|
-
et(this,
|
|
3203
|
+
et(this, vi, V.trim(parsimmon_umd_min.exports.optWhitespace));
|
|
3204
3204
|
}
|
|
3205
3205
|
parse(t) {
|
|
3206
|
-
const e = H(this,
|
|
3206
|
+
const e = H(this, vi).parse(t);
|
|
3207
3207
|
if (!e.status)
|
|
3208
3208
|
throw Error("(PropParser)\u6587\u6CD5\u30A8\u30E9\u30FC\u3010" + t + "\u3011");
|
|
3209
3209
|
const o = e.value;
|
|
3210
|
-
return o[0] === "!str!" ? st(this, Ia,
|
|
3210
|
+
return o[0] === "!str!" ? st(this, Ia, eh).call(this, o[1]) : st(this, zt, jt).call(this, o);
|
|
3211
3211
|
}
|
|
3212
3212
|
static getValName(t) {
|
|
3213
3213
|
var R, N;
|
|
@@ -3215,26 +3215,26 @@ const Dh = class {
|
|
|
3215
3215
|
if (!!o)
|
|
3216
3216
|
return {
|
|
3217
3217
|
scope: o.scope || "tmp",
|
|
3218
|
-
name: st(R =
|
|
3218
|
+
name: st(R = Lh, ou, Uh).call(R, o.name),
|
|
3219
3219
|
at: (N = o.at) != null ? N : ""
|
|
3220
3220
|
};
|
|
3221
3221
|
}
|
|
3222
3222
|
};
|
|
3223
|
-
let PropParser =
|
|
3224
|
-
|
|
3223
|
+
let PropParser = Lh;
|
|
3224
|
+
vi = new WeakMap(), zt = new WeakSet(), jt = function(t) {
|
|
3225
3225
|
const e = t.shift();
|
|
3226
3226
|
if (e instanceof Array)
|
|
3227
3227
|
return st(this, zt, jt).call(this, e);
|
|
3228
3228
|
const o = H(this, Xr)[e];
|
|
3229
3229
|
return o ? o(t) : Object(null);
|
|
3230
|
-
}, Xr = new WeakMap(),
|
|
3230
|
+
}, Xr = new WeakMap(), gi = new WeakSet(), $n = function(t) {
|
|
3231
3231
|
const e = st(this, zt, jt).call(this, t);
|
|
3232
3232
|
if (Object.prototype.toString.call(e) !== "[object Number]")
|
|
3233
3233
|
throw Error("(PropParser)\u5F15\u6570\u3010" + e + "\u3011\u304C\u6570\u5024\u3067\u306F\u3042\u308A\u307E\u305B\u3093");
|
|
3234
3234
|
return Number(e);
|
|
3235
|
-
}, Ca = new WeakMap(), Ia = new WeakSet(),
|
|
3235
|
+
}, Ca = new WeakMap(), Ia = new WeakSet(), eh = function(t) {
|
|
3236
3236
|
return t == null ? t : String(t).replace(H(this, Ca), (e) => e.charAt(0) === "$" ? this.val.getVal(e.slice(1)) : this.parse(e.slice(2, -1)));
|
|
3237
|
-
}, au = new WeakMap(), ou = new WeakSet(),
|
|
3237
|
+
}, au = new WeakMap(), ou = new WeakSet(), Uh = function(t) {
|
|
3238
3238
|
let e = 0, o = 0;
|
|
3239
3239
|
for (; ; ) {
|
|
3240
3240
|
if (e = t.indexOf('["'), e < 0) {
|
|
@@ -3429,7 +3429,7 @@ class Areas {
|
|
|
3429
3429
|
}), t !== "" && (t = t.slice(1)), t;
|
|
3430
3430
|
}
|
|
3431
3431
|
}
|
|
3432
|
-
var Te, je, pe, Wr, _e, Ve, or, wa, Ra, Pa,
|
|
3432
|
+
var Te, je, pe, Wr, _e, Ve, or, wa, Ra, Pa, rh, Kn, Jn, uu, Hh, lu, zh, ur, Rr, hu, jh, cu, Vh, fu, Xh, du, Wh, pu, Yh, vu, qh, gu, Zh, _u, Kh, Qn, Uo, Aa, ih, ts, Ki, Oa, nh, Na, Ma, Ji, es, rs, Ho, mu, Jh, yu, Qh, Da, sh, La, ah, bu, tc, Eu, ec, is, zo;
|
|
3433
3433
|
const Xn = class {
|
|
3434
3434
|
constructor(t, e) {
|
|
3435
3435
|
it(this, Pa);
|
|
@@ -3473,7 +3473,7 @@ const Xn = class {
|
|
|
3473
3473
|
it(this, es, void 0);
|
|
3474
3474
|
var N;
|
|
3475
3475
|
if (this.cfg = t, et(this, Te, { sys: {}, save: {}, tmp: {}, mp: {} }), et(this, je, H(this, Te).save), et(this, pe, H(this, Te).tmp), et(this, _e, { sys: {}, mark: {}, kidoku: {} }), et(this, or, {}), et(this, Ra, {
|
|
3476
|
-
auth: (M, D) => st(this, Pa,
|
|
3476
|
+
auth: (M, D) => st(this, Pa, rh).call(this, D.hBreakpoint.aData),
|
|
3477
3477
|
var: (M, D) => {
|
|
3478
3478
|
var L;
|
|
3479
3479
|
return H(this, Wr).send2Dbg(D.ri, { v: (L = H(this, Te)[D.scope]) != null ? L : {} });
|
|
@@ -3485,7 +3485,7 @@ const Xn = class {
|
|
|
3485
3485
|
}
|
|
3486
3486
|
},
|
|
3487
3487
|
set_data_break: (M, D) => {
|
|
3488
|
-
st(this, Pa,
|
|
3488
|
+
st(this, Pa, rh).call(this, D.a), H(this, Wr).send2Dbg(D.ri, {});
|
|
3489
3489
|
},
|
|
3490
3490
|
disconnect: (M) => et(Xn, Ki, {})
|
|
3491
3491
|
}), et(this, Kn, () => {
|
|
@@ -3546,7 +3546,7 @@ const Xn = class {
|
|
|
3546
3546
|
break;
|
|
3547
3547
|
}
|
|
3548
3548
|
}
|
|
3549
|
-
return k instanceof Function && (k = k()), L.at === "@str" ? k : st(this, Oa,
|
|
3549
|
+
return k instanceof Function && (k = k()), L.at === "@str" ? k : st(this, Oa, nh).call(this, k);
|
|
3550
3550
|
}, et(this, Na, /^-?[\d\.]+$/), et(this, Ma, () => {
|
|
3551
3551
|
const M = { tmp: {}, sys: {}, save: {}, mp: {} };
|
|
3552
3552
|
for (let D in M) {
|
|
@@ -3560,30 +3560,30 @@ const Xn = class {
|
|
|
3560
3560
|
}), et(this, Ji, !1), et(this, es, {
|
|
3561
3561
|
"sys:sn.tagCh.doWait": (M) => st(this, rs, Ho).call(this, M),
|
|
3562
3562
|
"sys:sn.tagCh.doWait_Kidoku": (M) => st(this, rs, Ho).call(this, M),
|
|
3563
|
-
"sys:sn.tagCh.msecWait": (M) => st(this, mu,
|
|
3564
|
-
"sys:sn.tagCh.msecWait_Kidoku": (M) => st(this, yu,
|
|
3563
|
+
"sys:sn.tagCh.msecWait": (M) => st(this, mu, Jh).call(this, M),
|
|
3564
|
+
"sys:sn.tagCh.msecWait_Kidoku": (M) => st(this, yu, Qh).call(this, M),
|
|
3565
3565
|
"sys:sn.tagCh.canskip": (M) => st(this, rs, Ho).call(this, M),
|
|
3566
|
-
"sys:sn.auto.msecPageWait": (M) => st(this, Da,
|
|
3567
|
-
"sys:sn.auto.msecPageWait_Kidoku": (M) => st(this, Da,
|
|
3568
|
-
"sys:sn.auto.msecLineWait": (M) => st(this, La,
|
|
3569
|
-
"sys:sn.auto.msecLineWait_Kidoku": (M) => st(this, La,
|
|
3566
|
+
"sys:sn.auto.msecPageWait": (M) => st(this, Da, sh).call(this, M),
|
|
3567
|
+
"sys:sn.auto.msecPageWait_Kidoku": (M) => st(this, Da, sh).call(this, M),
|
|
3568
|
+
"sys:sn.auto.msecLineWait": (M) => st(this, La, ah).call(this, M),
|
|
3569
|
+
"sys:sn.auto.msecLineWait_Kidoku": (M) => st(this, La, ah).call(this, M),
|
|
3570
3570
|
"save:sn.doRecLog": (M) => {
|
|
3571
|
-
H(this, Jn).call(this, et(this, Ji, st(this, bu,
|
|
3571
|
+
H(this, Jn).call(this, et(this, Ji, st(this, bu, tc).call(this, M)));
|
|
3572
3572
|
},
|
|
3573
3573
|
"save:sn.userFnTail": (M, D) => this.cfg.userFnTail = D,
|
|
3574
|
-
"tmp:sn.tagL.enabled": (M) => st(this, Eu,
|
|
3574
|
+
"tmp:sn.tagL.enabled": (M) => st(this, Eu, ec).call(this, M),
|
|
3575
3575
|
"tmp:sn.skip.all": (M) => st(this, is, zo).call(this, M),
|
|
3576
3576
|
"tmp:sn.skip.enabled": (M) => st(this, is, zo).call(this, M),
|
|
3577
3577
|
"tmp:sn.auto.enabled": (M) => st(this, is, zo).call(this, M),
|
|
3578
3578
|
"tmp:flash.desktop.NativeApplication.nativeApplication.systemIdleMode": () => {
|
|
3579
3579
|
}
|
|
3580
|
-
}), e.let = (M) => st(this, ur, Rr).call(this, M), e.let_abs = (M) => st(this, hu,
|
|
3580
|
+
}), e.let = (M) => st(this, ur, Rr).call(this, M), e.let_abs = (M) => st(this, hu, jh).call(this, M), e.let_char_at = (M) => st(this, cu, Vh).call(this, M), e.let_index_of = (M) => st(this, fu, Xh).call(this, M), e.let_length = (M) => st(this, du, Wh).call(this, M), e.let_replace = (M) => st(this, pu, Yh).call(this, M), e.let_round = (M) => st(this, vu, qh).call(this, M), e.let_search = (M) => st(this, gu, Zh).call(this, M), e.let_substr = (M) => st(this, _u, Kh).call(this, M), e.clearsysvar = () => st(this, Qn, Uo).call(this), e.clearvar = () => st(this, Aa, ih).call(this), e.dump_val = () => H(this, Ma).call(this), e.copybookmark = (M) => st(this, uu, Hh).call(this, M), e.erasebookmark = (M) => st(this, lu, zh).call(this, M), H(this, je)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
|
|
3581
3581
|
const M = [];
|
|
3582
3582
|
return Object.keys(H(this, _e).mark).sort().forEach((D) => {
|
|
3583
3583
|
const L = { ...H(this, _e).mark[D].json };
|
|
3584
3584
|
L.place = D, M.push(L);
|
|
3585
3585
|
}), JSON.stringify(M);
|
|
3586
|
-
}), H(this, pe)["const.sn.isFirstBoot"] = !0, H(this, pe)["sn.tagL.enabled"] = !0, H(this, pe)["sn.skip.all"] = !1, H(this, pe)["sn.skip.enabled"] = !1, H(this, pe)["sn.auto.enabled"] = !1, H(this, pe)["const.sn.last_page_text"] = "", H(this, pe)["const.sn.displayState"] = !1, H(this, pe)["const.Date.getTime"] = () => new Date().getTime(), H(this, pe)["const.Date.getDateStr"] = () => getDateStr(), H(this, pe)["const.sn.platform"] = JSON.stringify(platform), st(this, Qn, Uo).call(this), st(this, Aa,
|
|
3586
|
+
}), H(this, pe)["const.sn.isFirstBoot"] = !0, H(this, pe)["sn.tagL.enabled"] = !0, H(this, pe)["sn.skip.all"] = !1, H(this, pe)["sn.skip.enabled"] = !1, H(this, pe)["sn.auto.enabled"] = !1, H(this, pe)["const.sn.last_page_text"] = "", H(this, pe)["const.sn.displayState"] = !1, H(this, pe)["const.Date.getTime"] = () => new Date().getTime(), H(this, pe)["const.Date.getDateStr"] = () => getDateStr(), H(this, pe)["const.sn.platform"] = JSON.stringify(platform), st(this, Qn, Uo).call(this), st(this, Aa, ih).call(this), H(this, pe)["const.sn.config.window.width"] = t.oCfg.window.width, H(this, pe)["const.sn.config.window.height"] = t.oCfg.window.height, H(this, pe)["const.sn.config.book.title"] = t.oCfg.book.title, H(this, pe)["const.sn.config.book.version"] = t.oCfg.book.version, H(this, pe)["const.sn.Math.PI"] = Math.PI, typeof window > "u")
|
|
3587
3587
|
return;
|
|
3588
3588
|
const o = window, R = (N = o.AudioContext) != null ? N : o.webkitAudioContext;
|
|
3589
3589
|
H(this, pe)["const.sn.needClick2Play"] = () => new R().state === "suspended";
|
|
@@ -3674,7 +3674,7 @@ const Xn = class {
|
|
|
3674
3674
|
setVal_Nochk(t, e, o, R = !1) {
|
|
3675
3675
|
var D, L;
|
|
3676
3676
|
const N = H(this, Te)[t];
|
|
3677
|
-
R && (o = st(this, Oa,
|
|
3677
|
+
R && (o = st(this, Oa, nh).call(this, o));
|
|
3678
3678
|
const M = t + ":" + e;
|
|
3679
3679
|
if (M in H(Xn, Ki)) {
|
|
3680
3680
|
const B = N[e], $ = o;
|
|
@@ -3694,9 +3694,9 @@ const Xn = class {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
};
|
|
3696
3696
|
let Variable = Xn;
|
|
3697
|
-
Te = new WeakMap(), je = new WeakMap(), pe = new WeakMap(), Wr = new WeakMap(), _e = new WeakMap(), Ve = new WeakMap(), or = new WeakMap(), wa = new WeakMap(), Ra = new WeakMap(), Pa = new WeakSet(),
|
|
3697
|
+
Te = new WeakMap(), je = new WeakMap(), pe = new WeakMap(), Wr = new WeakMap(), _e = new WeakMap(), Ve = new WeakMap(), or = new WeakMap(), wa = new WeakMap(), Ra = new WeakMap(), Pa = new WeakSet(), rh = function(t) {
|
|
3698
3698
|
et(Xn, Ki, {}), t.forEach((e) => H(Xn, Ki)[e.dataId] = 1);
|
|
3699
|
-
}, Kn = new WeakMap(), Jn = new WeakMap(), uu = new WeakSet(),
|
|
3699
|
+
}, Kn = new WeakMap(), Jn = new WeakMap(), uu = new WeakSet(), Hh = function(t) {
|
|
3700
3700
|
if (!("from" in t))
|
|
3701
3701
|
throw "from\u306F\u5FC5\u9808\u3067\u3059";
|
|
3702
3702
|
if (!("to" in t))
|
|
@@ -3707,7 +3707,7 @@ Te = new WeakMap(), je = new WeakMap(), pe = new WeakMap(), Wr = new WeakMap(),
|
|
|
3707
3707
|
if (!(e in H(this, _e).mark))
|
|
3708
3708
|
throw `from:${e} \u306E\u30BB\u30FC\u30D6\u30C7\u30FC\u30BF\u306F\u5B58\u5728\u3057\u307E\u305B\u3093`;
|
|
3709
3709
|
return this.setMark(o, { ...H(this, _e).mark[e] }), H(this, Wr).copyBMFolder(e, o), !1;
|
|
3710
|
-
}, lu = new WeakSet(),
|
|
3710
|
+
}, lu = new WeakSet(), zh = function(t) {
|
|
3711
3711
|
const { place: e } = t;
|
|
3712
3712
|
if (!e)
|
|
3713
3713
|
throw "place\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -3737,38 +3737,38 @@ Te = new WeakMap(), je = new WeakMap(), pe = new WeakMap(), Wr = new WeakMap(),
|
|
|
3737
3737
|
throw "cast\u3010" + t.cast + "\u3011\u306F\u672A\u5B9A\u7FA9\u3067\u3059";
|
|
3738
3738
|
}
|
|
3739
3739
|
return H(this, ts).call(this, t.name, t.text, e), !1;
|
|
3740
|
-
}, hu = new WeakSet(),
|
|
3740
|
+
}, hu = new WeakSet(), jh = function(t) {
|
|
3741
3741
|
const e = argChk_Num(t, "text", 0);
|
|
3742
3742
|
return t.text = String(e < 0 ? -e : e), st(this, ur, Rr).call(this, t), !1;
|
|
3743
|
-
}, cu = new WeakSet(),
|
|
3743
|
+
}, cu = new WeakSet(), Vh = function(t) {
|
|
3744
3744
|
var e;
|
|
3745
3745
|
return t.text = ((e = t.text) != null ? e : "").charAt(argChk_Num(t, "pos", 0)), st(this, ur, Rr).call(this, t), !1;
|
|
3746
|
-
}, fu = new WeakSet(),
|
|
3746
|
+
}, fu = new WeakSet(), Xh = function(t) {
|
|
3747
3747
|
var R;
|
|
3748
3748
|
const { val: e } = t;
|
|
3749
3749
|
if (!e)
|
|
3750
3750
|
throw "val\u306F\u5FC5\u9808\u3067\u3059";
|
|
3751
3751
|
const o = argChk_Num(t, "start", 0);
|
|
3752
3752
|
return t.text = String(((R = t.text) != null ? R : "").indexOf(e, o)), st(this, ur, Rr).call(this, t), !1;
|
|
3753
|
-
}, du = new WeakSet(),
|
|
3753
|
+
}, du = new WeakSet(), Wh = function(t) {
|
|
3754
3754
|
var e;
|
|
3755
3755
|
return t.text = String(((e = t.text) != null ? e : "").length), st(this, ur, Rr).call(this, t), !1;
|
|
3756
|
-
}, pu = new WeakSet(),
|
|
3756
|
+
}, pu = new WeakSet(), Yh = function(t) {
|
|
3757
3757
|
var R;
|
|
3758
3758
|
if (!t.reg)
|
|
3759
3759
|
throw "reg\u306F\u5FC5\u9808\u3067\u3059";
|
|
3760
3760
|
const { flags: e } = t, o = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
|
|
3761
3761
|
return t.text = String((R = t.text) != null ? R : "").replace(o, String(t.val)), st(this, ur, Rr).call(this, t), !1;
|
|
3762
|
-
}, vu = new WeakSet(),
|
|
3762
|
+
}, vu = new WeakSet(), qh = function(t) {
|
|
3763
3763
|
const e = argChk_Num(t, "text", 0);
|
|
3764
3764
|
return t.text = String(Math.round(e)), st(this, ur, Rr).call(this, t), !1;
|
|
3765
|
-
}, gu = new WeakSet(),
|
|
3765
|
+
}, gu = new WeakSet(), Zh = function(t) {
|
|
3766
3766
|
var R;
|
|
3767
3767
|
if (!t.reg)
|
|
3768
3768
|
throw "reg\u306F\u5FC5\u9808\u3067\u3059";
|
|
3769
3769
|
const { flags: e } = t, o = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
|
|
3770
3770
|
return t.text = String(((R = t.text) != null ? R : "").search(o)), st(this, ur, Rr).call(this, t), !1;
|
|
3771
|
-
}, _u = new WeakSet(),
|
|
3771
|
+
}, _u = new WeakSet(), Kh = function(t) {
|
|
3772
3772
|
var o, R;
|
|
3773
3773
|
const e = argChk_Num(t, "pos", 0);
|
|
3774
3774
|
return t.text = t.len !== "all" ? ((o = t.text) != null ? o : "").slice(e, e + int(argChk_Num(t, "len", 1))) : ((R = t.text) != null ? R : "").slice(e), st(this, ur, Rr).call(this, t), !1;
|
|
@@ -3779,11 +3779,11 @@ Te = new WeakMap(), je = new WeakMap(), pe = new WeakMap(), Wr = new WeakMap(),
|
|
|
3779
3779
|
for (const N in H(this, _e).kidoku)
|
|
3780
3780
|
H(this, _e).kidoku[N].hAreas = {}, H(this, or)[N].clear();
|
|
3781
3781
|
return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), H(this, Te).mark = H(this, _e).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
|
|
3782
|
-
}, Aa = new WeakSet(),
|
|
3782
|
+
}, Aa = new WeakSet(), ih = function() {
|
|
3783
3783
|
var R, N, M;
|
|
3784
3784
|
const t = (R = H(this, je)["const.sn.mesLayer"]) != null ? R : "", e = (N = H(this, je)["sn.doRecLog"]) != null ? N : !1, o = (M = H(this, je)["const.sn.sLog"]) != null ? M : "[]";
|
|
3785
3785
|
return et(this, je, H(this, Te).save = {}), this.setVal_Nochk("save", "const.sn.mesLayer", t), this.setVal_Nochk("save", "sn.doRecLog", e), this.setVal_Nochk("save", "const.sn.sLog", o), !1;
|
|
3786
|
-
}, ts = new WeakMap(), Ki = new WeakMap(), Oa = new WeakSet(),
|
|
3786
|
+
}, ts = new WeakMap(), Ki = new WeakMap(), Oa = new WeakSet(), nh = function(t) {
|
|
3787
3787
|
const e = t;
|
|
3788
3788
|
if (e === "true")
|
|
3789
3789
|
return !0;
|
|
@@ -3795,25 +3795,25 @@ Te = new WeakMap(), je = new WeakMap(), pe = new WeakMap(), Wr = new WeakMap(),
|
|
|
3795
3795
|
return H(this, Na).test(e) ? parseFloat(e) : t;
|
|
3796
3796
|
}, Na = new WeakMap(), Ma = new WeakMap(), Ji = new WeakMap(), es = new WeakMap(), rs = new WeakSet(), Ho = function(t) {
|
|
3797
3797
|
argChk_Boolean(H(this, Ve), t, !0);
|
|
3798
|
-
}, mu = new WeakSet(),
|
|
3798
|
+
}, mu = new WeakSet(), Jh = function(t) {
|
|
3799
3799
|
argChk_Num(H(this, Ve), t, 10), H(this, Ve)["sn.tagCh.doWait"];
|
|
3800
|
-
}, yu = new WeakSet(),
|
|
3800
|
+
}, yu = new WeakSet(), Qh = function(t) {
|
|
3801
3801
|
argChk_Num(
|
|
3802
3802
|
H(this, Ve),
|
|
3803
3803
|
t,
|
|
3804
3804
|
this.cfg.oCfg.init.tagch_msecwait === void 0 ? 10 : this.cfg.oCfg.init.tagch_msecwait
|
|
3805
3805
|
), H(this, Ve)["sn.tagCh.doWait_Kidoku"];
|
|
3806
|
-
}, Da = new WeakSet(),
|
|
3806
|
+
}, Da = new WeakSet(), sh = function(t) {
|
|
3807
3807
|
argChk_Num(
|
|
3808
3808
|
H(this, Ve),
|
|
3809
3809
|
t,
|
|
3810
3810
|
this.cfg.oCfg.init.auto_msecpagewait === void 0 ? 3500 : this.cfg.oCfg.init.auto_msecpagewait
|
|
3811
3811
|
);
|
|
3812
|
-
}, La = new WeakSet(),
|
|
3812
|
+
}, La = new WeakSet(), ah = function(t) {
|
|
3813
3813
|
argChk_Num(H(this, Ve), t, 500);
|
|
3814
|
-
}, bu = new WeakSet(),
|
|
3814
|
+
}, bu = new WeakSet(), tc = function(t) {
|
|
3815
3815
|
return argChk_Boolean(H(this, je), t, !0);
|
|
3816
|
-
}, Eu = new WeakSet(),
|
|
3816
|
+
}, Eu = new WeakSet(), ec = function(t) {
|
|
3817
3817
|
argChk_Boolean(H(this, pe), t, !0);
|
|
3818
3818
|
}, is = new WeakSet(), zo = function(t) {
|
|
3819
3819
|
argChk_Boolean(H(this, pe), t, !1);
|
|
@@ -19668,7 +19668,7 @@ extensions.add(
|
|
|
19668
19668
|
TickerPlugin,
|
|
19669
19669
|
AppLoaderPlugin
|
|
19670
19670
|
);
|
|
19671
|
-
var ye, Me,
|
|
19671
|
+
var ye, Me, _i, Tu, rc, ns, jo, Su, ic, Cu, nc, Ba, oh, Qi, da, $a, uh, ss, as, Vo, tn, pa, ka, os, Xo, Iu, sc, Pr, fi, wu, ac, Ga, lh, en, va, Ru, oc, Ua, hh, Pu, uc, Au, lc, us, Wo;
|
|
19672
19672
|
const Ta = class {
|
|
19673
19673
|
constructor(t, e, o, R, N) {
|
|
19674
19674
|
it(this, Tu);
|
|
@@ -19693,15 +19693,15 @@ const Ta = class {
|
|
|
19693
19693
|
it(this, us);
|
|
19694
19694
|
it(this, ye, {});
|
|
19695
19695
|
it(this, Me, {});
|
|
19696
|
-
it(this,
|
|
19696
|
+
it(this, _i, void 0);
|
|
19697
19697
|
it(this, ka, () => {
|
|
19698
19698
|
I.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), et(this, ka, () => {
|
|
19699
19699
|
});
|
|
19700
19700
|
});
|
|
19701
|
-
this.cfg = t, this.val = o, this.main = R, this.sys = N, e.volume = (M) => st(this, Tu,
|
|
19701
|
+
this.cfg = t, this.val = o, this.main = R, this.sys = N, e.volume = (M) => st(this, Tu, rc).call(this, M), e.fadebgm = (M) => st(this, Ba, oh).call(this, M), e.fadeoutbgm = (M) => st(this, Su, ic).call(this, M), e.fadeoutse = (M) => st(this, Cu, nc).call(this, M), e.fadese = (M) => st(this, Qi, da).call(this, M), e.playbgm = (M) => st(this, $a, uh).call(this, M), e.playse = (M) => st(this, as, Vo).call(this, M), e.stop_allse = () => st(this, os, Xo).call(this), e.stopbgm = (M) => st(this, Iu, sc).call(this, M), e.stopse = (M) => st(this, Pr, fi).call(this, M), e.wb = (M) => st(this, wu, ac).call(this, M), e.wf = (M) => st(this, Ga, lh).call(this, M), e.stopfadese = (M) => st(this, en, va).call(this, M), e.wl = (M) => st(this, Ru, oc).call(this, M), e.ws = (M) => st(this, Ua, hh).call(this, M), e.xchgbuf = (M) => st(this, Pu, uc).call(this, M), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), o.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(G.supported));
|
|
19702
19702
|
}
|
|
19703
19703
|
setEvtMng(t) {
|
|
19704
|
-
et(this,
|
|
19704
|
+
et(this, _i, t);
|
|
19705
19705
|
}
|
|
19706
19706
|
setNoticeChgVolume(t, e) {
|
|
19707
19707
|
this.val.defValTrg("sys:sn.sound.global_volume", (o, R) => t(I.volumeAll = Number(R))), this.val.defValTrg("sys:sn.sound.movie_volume", (o, R) => e(Number(R))), this.val.setVal_Nochk("sys", "sn.sound.global_volume", this.val.getVal("sys:sn.sound.global_volume", 1)), this.val.setVal_Nochk("sys", "sn.sound.movie_volume", this.val.getVal("sys:sn.sound.movie_volume", 1));
|
|
@@ -19734,24 +19734,24 @@ const Ta = class {
|
|
|
19734
19734
|
ret_ms: Number(this.val.getVal(R + "ret_ms"))
|
|
19735
19735
|
};
|
|
19736
19736
|
e.push(() => {
|
|
19737
|
-
N.buf === "BGM" ? st(this, $a,
|
|
19737
|
+
N.buf === "BGM" ? st(this, $a, uh).call(this, N) : st(this, as, Vo).call(this, N);
|
|
19738
19738
|
});
|
|
19739
19739
|
}
|
|
19740
19740
|
st(this, os, Xo).call(this), e.forEach((o) => o());
|
|
19741
19741
|
}
|
|
19742
19742
|
};
|
|
19743
19743
|
let SoundMng = Ta;
|
|
19744
|
-
ye = new WeakMap(), Me = new WeakMap(),
|
|
19744
|
+
ye = new WeakMap(), Me = new WeakMap(), _i = new WeakMap(), Tu = new WeakSet(), rc = function(t) {
|
|
19745
19745
|
const { buf: e = "SE" } = t, o = "const.sn.sound." + e + ".volume", R = st(this, ns, jo).call(this, t, 1);
|
|
19746
19746
|
return Number(this.val.getVal("sys:" + o)) === R ? !1 : (this.val.setVal_Nochk("sys", o, R), this.val.flush(), t.time = 0, t.volume = Number(this.val.getVal("save:" + o)), st(this, Qi, da).call(this, t));
|
|
19747
19747
|
}, ns = new WeakSet(), jo = function(t, e) {
|
|
19748
19748
|
const o = argChk_Num(t, "volume", e);
|
|
19749
19749
|
return o < 0 ? 0 : o > 1 ? 1 : o;
|
|
19750
|
-
}, Su = new WeakSet(),
|
|
19751
|
-
return t.volume = 0, st(this, Ba,
|
|
19752
|
-
}, Cu = new WeakSet(),
|
|
19750
|
+
}, Su = new WeakSet(), ic = function(t) {
|
|
19751
|
+
return t.volume = 0, st(this, Ba, oh).call(this, t);
|
|
19752
|
+
}, Cu = new WeakSet(), nc = function(t) {
|
|
19753
19753
|
return t.volume = 0, st(this, Qi, da).call(this, t);
|
|
19754
|
-
}, Ba = new WeakSet(),
|
|
19754
|
+
}, Ba = new WeakSet(), oh = function(t) {
|
|
19755
19755
|
return t.buf = "BGM", st(this, Qi, da).call(this, t);
|
|
19756
19756
|
}, Qi = new WeakSet(), da = function(t) {
|
|
19757
19757
|
st(this, en, va).call(this, t);
|
|
@@ -19763,7 +19763,7 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19763
19763
|
const M = N * Number(this.val.getVal("sys:" + R, 1)), D = argChk_Boolean(t, "stop", N === 0);
|
|
19764
19764
|
D && (st(this, us, Wo).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
|
|
19765
19765
|
const L = argChk_Num(t, "time", NaN), B = argChk_Num(t, "delay", 0);
|
|
19766
|
-
if (L === 0 && B === 0 || this.val.getVal("tmp:sn.skip.enabled") || H(this,
|
|
19766
|
+
if (L === 0 && B === 0 || this.val.getVal("tmp:sn.skip.enabled") || H(this, _i).isSkippingByKeyDown())
|
|
19767
19767
|
return o.snd.volume = M, D && st(this, Pr, fi).call(this, t), !1;
|
|
19768
19768
|
const $ = argChk_Num(t, "repeat", 1);
|
|
19769
19769
|
return o.twFade = new Tween({ v: o.snd.volume }).to({ v: M }, L).delay(B).easing(CmnTween.ease(t.ease)).repeat($ === 0 ? 1 / 0 : $ - 1).yoyo(argChk_Boolean(t, "yoyo", !1)).onUpdate((k) => {
|
|
@@ -19772,16 +19772,16 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19772
19772
|
const k = H(this, ye)[t.buf = o.now_buf];
|
|
19773
19773
|
!(k != null && k.twFade) || (delete k.twFade, D && st(this, Pr, fi).call(this, t), k.resumeFade && this.main.resume());
|
|
19774
19774
|
}).start(), !1;
|
|
19775
|
-
}, $a = new WeakSet(),
|
|
19775
|
+
}, $a = new WeakSet(), uh = function(t) {
|
|
19776
19776
|
return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), st(this, as, Vo).call(this, t);
|
|
19777
19777
|
}, ss = new WeakMap(), as = new WeakSet(), Vo = function(t) {
|
|
19778
19778
|
const { buf: e = "SE", fn: o } = t;
|
|
19779
19779
|
if (st(this, Pr, fi).call(this, { buf: e }), !o)
|
|
19780
19780
|
throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
|
|
19781
|
-
if (argChk_Boolean(t, "canskip", !0) && H(this,
|
|
19781
|
+
if (argChk_Boolean(t, "canskip", !0) && H(this, _i).isSkippingByKeyDown())
|
|
19782
19782
|
return !1;
|
|
19783
19783
|
const R = argChk_Boolean(t, "loop", !1);
|
|
19784
|
-
st(this, Au,
|
|
19784
|
+
st(this, Au, lc).call(this, e, R);
|
|
19785
19785
|
const N = "const.sn.sound." + e + ".";
|
|
19786
19786
|
this.val.setVal_Nochk("save", N + "fn", o);
|
|
19787
19787
|
const M = st(this, ns, jo).call(this, t, 1);
|
|
@@ -19924,7 +19924,7 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19924
19924
|
for (const t in H(this, ye))
|
|
19925
19925
|
st(this, Pr, fi).call(this, { buf: t });
|
|
19926
19926
|
return et(this, ye, {}), I.stopAll(), !1;
|
|
19927
|
-
}, Iu = new WeakSet(),
|
|
19927
|
+
}, Iu = new WeakSet(), sc = function(t) {
|
|
19928
19928
|
return t.buf = "BGM", st(this, Pr, fi).call(this, t);
|
|
19929
19929
|
}, Pr = new WeakSet(), fi = function(t) {
|
|
19930
19930
|
var R;
|
|
@@ -19932,11 +19932,11 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19932
19932
|
st(this, us, Wo).call(this, e);
|
|
19933
19933
|
const o = H(this, ye)[e];
|
|
19934
19934
|
return o && ((R = o.snd) == null || R.stop(), o.onend()), !1;
|
|
19935
|
-
}, wu = new WeakSet(),
|
|
19936
|
-
return t.buf = "BGM", st(this, Ga,
|
|
19937
|
-
}, Ga = new WeakSet(),
|
|
19935
|
+
}, wu = new WeakSet(), ac = function(t) {
|
|
19936
|
+
return t.buf = "BGM", st(this, Ga, lh).call(this, t);
|
|
19937
|
+
}, Ga = new WeakSet(), lh = function(t) {
|
|
19938
19938
|
const { buf: e = "SE" } = t, o = H(this, ye)[e];
|
|
19939
|
-
return !(o != null && o.twFade) || !o.playing() ? !1 : o.resumeFade = H(this,
|
|
19939
|
+
return !(o != null && o.twFade) || !o.playing() ? !1 : o.resumeFade = H(this, _i).waitEvent(
|
|
19940
19940
|
() => st(this, en, va).call(this, t),
|
|
19941
19941
|
argChk_Boolean(t, "canskip", !0),
|
|
19942
19942
|
argChk_Boolean(t, "global", !1)
|
|
@@ -19945,11 +19945,11 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19945
19945
|
var o, R;
|
|
19946
19946
|
const { buf: e = "SE" } = t;
|
|
19947
19947
|
return (R = (o = H(this, ye)[e]) == null ? void 0 : o.twFade) == null || R.stop().end(), !1;
|
|
19948
|
-
}, Ru = new WeakSet(),
|
|
19949
|
-
return t.buf = "BGM", st(this, Ua,
|
|
19950
|
-
}, Ua = new WeakSet(),
|
|
19948
|
+
}, Ru = new WeakSet(), oc = function(t) {
|
|
19949
|
+
return t.buf = "BGM", st(this, Ua, hh).call(this, t);
|
|
19950
|
+
}, Ua = new WeakSet(), hh = function(t) {
|
|
19951
19951
|
const { buf: e = "SE" } = t, o = H(this, ye)[e];
|
|
19952
|
-
return !(o != null && o.playing()) || o.loop ? !1 : o.resume = H(this,
|
|
19952
|
+
return !(o != null && o.playing()) || o.loop ? !1 : o.resume = H(this, _i).waitEvent(
|
|
19953
19953
|
() => {
|
|
19954
19954
|
t.buf = o.now_buf, st(this, Pr, fi).call(this, t);
|
|
19955
19955
|
const R = H(this, ye)[t.buf];
|
|
@@ -19958,7 +19958,7 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19958
19958
|
argChk_Boolean(t, "canskip", !1),
|
|
19959
19959
|
argChk_Boolean(t, "global", !1)
|
|
19960
19960
|
);
|
|
19961
|
-
}, Pu = new WeakSet(),
|
|
19961
|
+
}, Pu = new WeakSet(), uc = function(t) {
|
|
19962
19962
|
const { buf: e = "SE", buf2: o = "SE" } = t;
|
|
19963
19963
|
if (e === o)
|
|
19964
19964
|
return !1;
|
|
@@ -19968,7 +19968,7 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19968
19968
|
N && (N.now_buf = e), [H(this, ye)[e], H(this, ye)[o]] = [N, R];
|
|
19969
19969
|
const M = "const.sn.sound." + e + ".", D = Number(this.val.getVal("save:" + M + "volume")), L = Number(this.val.getVal("save:" + M + "fn")), B = "const.sn.sound." + o + ".", $ = Number(this.val.getVal("save:" + B + "volume")), k = Number(this.val.getVal("save:" + B + "fn"));
|
|
19970
19970
|
return this.val.setVal_Nochk("save", M + "volume", $), this.val.setVal_Nochk("save", B + "volume", D), this.val.setVal_Nochk("save", M + "fn", k), this.val.setVal_Nochk("save", B + "fn", L), e in H(this, Me) == o in H(this, Me) && (e in H(this, Me) ? (delete H(this, Me)[e], H(this, Me)[o] = 0) : (delete H(this, Me)[o], H(this, Me)[e] = 0), this.val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(H(this, Me)))), this.val.flush(), !1;
|
|
19971
|
-
}, Au = new WeakSet(),
|
|
19971
|
+
}, Au = new WeakSet(), lc = function(t, e) {
|
|
19972
19972
|
if (!e) {
|
|
19973
19973
|
st(this, us, Wo).call(this, t);
|
|
19974
19974
|
return;
|
|
@@ -19978,10 +19978,10 @@ ye = new WeakMap(), Me = new WeakMap(), gi = new WeakMap(), Tu = new WeakSet(),
|
|
|
19978
19978
|
delete H(this, Me)[t], this.val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(H(this, Me))), this.val.flush();
|
|
19979
19979
|
}, it(SoundMng, ss, 999e3);
|
|
19980
19980
|
var oe;
|
|
19981
|
-
const
|
|
19981
|
+
const Fh = class {
|
|
19982
19982
|
constructor(t, e, o, R, N, M, D, L) {
|
|
19983
19983
|
it(this, oe, void 0);
|
|
19984
|
-
this.cls = e, this.hArg = N, this.sys = M, this.val = D, this.ret = L, this.lay = (U) => this.getPage(U).lay(U), this.getPage = (U) =>
|
|
19984
|
+
this.cls = e, this.hArg = N, this.sys = M, this.val = D, this.ret = L, this.lay = (U) => this.getPage(U).lay(U), this.getPage = (U) => Fh.argChk_page(U, "fore") !== "back" ? H(this, oe).fore : H(this, oe).back;
|
|
19985
19985
|
const B = M.hFactoryCls[e];
|
|
19986
19986
|
if (!B)
|
|
19987
19987
|
throw `\u5C5E\u6027 class\u3010${e}\u3011\u304C\u4E0D\u6B63\u3067\u3059`;
|
|
@@ -20011,10 +20011,10 @@ const Lh = class {
|
|
|
20011
20011
|
[H(this, oe).back, H(this, oe).fore] = [H(this, oe).fore, H(this, oe).back], H(this, oe).back.copy(H(this, oe).fore, t);
|
|
20012
20012
|
}
|
|
20013
20013
|
};
|
|
20014
|
-
let Pages =
|
|
20014
|
+
let Pages = Fh;
|
|
20015
20015
|
oe = new WeakMap();
|
|
20016
|
-
var Ou;
|
|
20017
|
-
const
|
|
20016
|
+
var Ou, Nu;
|
|
20017
|
+
const pi = class {
|
|
20018
20018
|
constructor() {
|
|
20019
20019
|
this.layname = "", this.name_ = "", this.spLay = new Sprite(Texture.EMPTY);
|
|
20020
20020
|
}
|
|
@@ -20069,7 +20069,7 @@ const Xi = class {
|
|
|
20069
20069
|
destroy() {
|
|
20070
20070
|
}
|
|
20071
20071
|
lay(t) {
|
|
20072
|
-
return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)),
|
|
20072
|
+
return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)), pi.setBlendmode(this.spLay, t), ("pivot_x" in t || "pivot_y" in t) && this.spLay.pivot.set(
|
|
20073
20073
|
argChk_Num(t, "pivot_x", this.spLay.pivot.x),
|
|
20074
20074
|
argChk_Num(t, "pivot_y", this.spLay.pivot.y)
|
|
20075
20075
|
), "rotation" in t && (this.spLay.angle = argChk_Num(t, "rotation", 0)), ("scale_x" in t || "scale_y" in t) && this.spLay.scale.set(
|
|
@@ -20081,7 +20081,7 @@ const Xi = class {
|
|
|
20081
20081
|
const { blendmode: o } = e;
|
|
20082
20082
|
if (!o)
|
|
20083
20083
|
return;
|
|
20084
|
-
const R =
|
|
20084
|
+
const R = pi.getBlendmodeNum(o), N = t;
|
|
20085
20085
|
N && (N.blendMode = R), t.children.forEach((M) => {
|
|
20086
20086
|
const D = M;
|
|
20087
20087
|
D && (D.blendMode = R);
|
|
@@ -20090,11 +20090,15 @@ const Xi = class {
|
|
|
20090
20090
|
static getBlendmodeNum(t) {
|
|
20091
20091
|
if (!t)
|
|
20092
20092
|
return BLEND_MODES$5.NORMAL;
|
|
20093
|
-
const e = H(
|
|
20093
|
+
const e = H(pi, Ou)[t];
|
|
20094
20094
|
if (e !== void 0)
|
|
20095
20095
|
return e;
|
|
20096
20096
|
throw `${t} \u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u306A\u3044 blendmode \u3067\u3059`;
|
|
20097
20097
|
}
|
|
20098
|
+
static getNum2Blendmode(t) {
|
|
20099
|
+
var e;
|
|
20100
|
+
return (e = H(pi, Nu)[t]) != null ? e : "normal";
|
|
20101
|
+
}
|
|
20098
20102
|
get containMovement() {
|
|
20099
20103
|
return !1;
|
|
20100
20104
|
}
|
|
@@ -20150,14 +20154,14 @@ const Xi = class {
|
|
|
20150
20154
|
}
|
|
20151
20155
|
static setXY(t, e, o, R = !1, N = !1) {
|
|
20152
20156
|
if (e.pos) {
|
|
20153
|
-
|
|
20157
|
+
pi.setXYByPos(t, e.pos, o);
|
|
20154
20158
|
return;
|
|
20155
20159
|
}
|
|
20156
20160
|
const M = t.getBounds(), D = o.scale.x < 0 ? -o.scale.x : o.scale.x, L = D === 1 ? M.width : M.width * D, B = o.scale.y < 0 ? -o.scale.y : o.scale.y, $ = B === 1 ? M.height : M.height * B;
|
|
20157
20161
|
let k = o.x;
|
|
20158
20162
|
"left" in e ? (k = argChk_Num(e, "left", 0), k > -1 && k < 1 && (k *= CmnLib.stageW)) : "center" in e ? (k = argChk_Num(e, "center", 0), k > -1 && k < 1 && (k *= CmnLib.stageW), k = k - (N ? L / 3 : L) / 2) : "right" in e ? (k = argChk_Num(e, "right", 0), k > -1 && k < 1 && (k *= CmnLib.stageW), k = k - (N ? L / 3 : L)) : "s_right" in e && (k = argChk_Num(e, "s_right", 0), k > -1 && k < 1 && (k *= CmnLib.stageW), k = CmnLib.stageW - k - (N ? L / 3 : L)), o.x = int(o.scale.x < 0 ? k + (N ? L / 3 : L) : k);
|
|
20159
20163
|
let U = o.y;
|
|
20160
|
-
"top" in e ? (U = argChk_Num(e, "top", 0), U > -1 && U < 1 && (U *= CmnLib.stageH)) : "middle" in e ? (U = argChk_Num(e, "middle", 0), U > -1 && U < 1 && (U *= CmnLib.stageH), U = U - $ / 2) : "bottom" in e ? (U = argChk_Num(e, "bottom", 0), U > -1 && U < 1 && (U *= CmnLib.stageH), U = U - $) : "s_bottom" in e && (U = argChk_Num(e, "s_bottom", 0), U > -1 && U < 1 && (U *= CmnLib.stageH), U = CmnLib.stageH - U - $), o.y = int(o.scale.y < 0 ? U + $ : U), R && !("left" in e) && !("center" in e) && !("right" in e) && !("s_right" in e) && !("top" in e) && !("middle" in e) && !("bottom" in e) && !("s_bottom" in e) &&
|
|
20164
|
+
"top" in e ? (U = argChk_Num(e, "top", 0), U > -1 && U < 1 && (U *= CmnLib.stageH)) : "middle" in e ? (U = argChk_Num(e, "middle", 0), U > -1 && U < 1 && (U *= CmnLib.stageH), U = U - $ / 2) : "bottom" in e ? (U = argChk_Num(e, "bottom", 0), U > -1 && U < 1 && (U *= CmnLib.stageH), U = U - $) : "s_bottom" in e && (U = argChk_Num(e, "s_bottom", 0), U > -1 && U < 1 && (U *= CmnLib.stageH), U = CmnLib.stageH - U - $), o.y = int(o.scale.y < 0 ? U + $ : U), R && !("left" in e) && !("center" in e) && !("right" in e) && !("s_right" in e) && !("top" in e) && !("middle" in e) && !("bottom" in e) && !("s_bottom" in e) && pi.setXYByPos(t, "c", o);
|
|
20161
20165
|
}
|
|
20162
20166
|
static setXYByPos(t, e, o) {
|
|
20163
20167
|
if (e === "stay")
|
|
@@ -20175,17 +20179,22 @@ const Xi = class {
|
|
|
20175
20179
|
t.x = (CmnLib.stageW - e.width) * 0.5, t.y = (CmnLib.stageH - e.height) * 0.5;
|
|
20176
20180
|
}
|
|
20177
20181
|
};
|
|
20178
|
-
let Layer =
|
|
20179
|
-
Ou = new WeakMap(), it(Layer, Ou, {
|
|
20182
|
+
let Layer = pi;
|
|
20183
|
+
Ou = new WeakMap(), Nu = new WeakMap(), it(Layer, Ou, {
|
|
20180
20184
|
normal: BLEND_MODES$5.NORMAL,
|
|
20181
20185
|
add: BLEND_MODES$5.ADD,
|
|
20182
20186
|
multiply: BLEND_MODES$5.MULTIPLY,
|
|
20183
20187
|
screen: BLEND_MODES$5.SCREEN
|
|
20188
|
+
}), it(Layer, Nu, {
|
|
20189
|
+
0: "normal",
|
|
20190
|
+
1: "add",
|
|
20191
|
+
2: "multiply",
|
|
20192
|
+
3: "screen"
|
|
20184
20193
|
});
|
|
20185
|
-
var
|
|
20194
|
+
var mi;
|
|
20186
20195
|
class EventListenerCtn {
|
|
20187
20196
|
constructor() {
|
|
20188
|
-
it(this,
|
|
20197
|
+
it(this, mi, []);
|
|
20189
20198
|
}
|
|
20190
20199
|
add(t, e, o, R = {}) {
|
|
20191
20200
|
if (t instanceof BaseTexture) {
|
|
@@ -20194,25 +20203,25 @@ class EventListenerCtn {
|
|
|
20194
20203
|
case "update":
|
|
20195
20204
|
case "error":
|
|
20196
20205
|
case "dispose":
|
|
20197
|
-
t.on(e, o, R), H(this,
|
|
20206
|
+
t.on(e, o, R), H(this, mi).push(() => t.off(e, o, R));
|
|
20198
20207
|
break;
|
|
20199
20208
|
}
|
|
20200
20209
|
return;
|
|
20201
20210
|
}
|
|
20202
20211
|
if (t instanceof EventEmitter$4) {
|
|
20203
|
-
t.on(e, o, R), H(this,
|
|
20212
|
+
t.on(e, o, R), H(this, mi).push(() => t.off(e, o, R));
|
|
20204
20213
|
return;
|
|
20205
20214
|
}
|
|
20206
|
-
t.addEventListener(e, o, R), H(this,
|
|
20215
|
+
t.addEventListener(e, o, R), H(this, mi).push(() => {
|
|
20207
20216
|
var N;
|
|
20208
20217
|
return t.removeEventListener(e, o, { capture: (N = R.capture) != null ? N : !1 });
|
|
20209
20218
|
});
|
|
20210
20219
|
}
|
|
20211
20220
|
clear() {
|
|
20212
|
-
H(this,
|
|
20221
|
+
H(this, mi).forEach((t) => t()), et(this, mi, []);
|
|
20213
20222
|
}
|
|
20214
20223
|
}
|
|
20215
|
-
|
|
20224
|
+
mi = new WeakMap();
|
|
20216
20225
|
function prefixNames(n) {
|
|
20217
20226
|
for (var t = [], e = 1; e < arguments.length; e++)
|
|
20218
20227
|
t[e - 1] = arguments[e];
|
|
@@ -22303,7 +22312,7 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22303
22312
|
function t(o, R) {
|
|
22304
22313
|
R === void 0 && (R = {});
|
|
22305
22314
|
var N = n.call(this) || this;
|
|
22306
|
-
N.options = {}, N.flag = !1, N.pinchFlag = !1, N.
|
|
22315
|
+
N.options = {}, N.flag = !1, N.pinchFlag = !1, N.data = {}, N.isDrag = !1, N.isPinch = !1, N.isMouse = !1, N.isTouch = !1, N.clientStores = [], N.targets = [], N.prevTime = 0, N.doubleFlag = !1, N._dragFlag = !1, N._isMouseEvent = !1, N._isSecondaryButton = !1, N._preventMouseEvent = !1, N.onDragStart = function(U, z) {
|
|
22307
22316
|
if (z === void 0 && (z = !0), !(!N.flag && U.cancelable === !1)) {
|
|
22308
22317
|
var X = N.options, V = X.container, W = X.pinchOutside, Y = X.preventWheelClick, q = X.preventRightClick, Z = X.preventDefault, J = X.checkInput, Q = X.preventClickEventOnDragStart, K = X.preventClickEventOnDrag, rt = X.preventClickEventByCondition, tt = N.isTouch, nt = !N.flag;
|
|
22309
22318
|
if (N._isSecondaryButton = U.which === 3 || U.button === 2, Y && (U.which === 2 || U.button === 1) || q && (U.which === 3 || U.button === 2))
|
|
@@ -22317,9 +22326,10 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22317
22326
|
var pt = at.tagName;
|
|
22318
22327
|
(at.isContentEditable || INPUT_TAGNAMES.indexOf(pt) > -1) && at.blur();
|
|
22319
22328
|
}
|
|
22320
|
-
(Q || K || rt) && addEvent(window, "click", N._onClick, !0), N.clientStores = [new ClientStore(getEventClients(U))], N.flag = !0, N.isDrag = !1, N._dragFlag = !0, N.
|
|
22329
|
+
(Q || K || rt) && addEvent(window, "click", N._onClick, !0), N.clientStores = [new ClientStore(getEventClients(U))], N.flag = !0, N.isDrag = !1, N._dragFlag = !0, N.data = {}, N.doubleFlag = now$1() - N.prevTime < 200, N._isMouseEvent = isMouseEvent(U), !N._isMouseEvent && N._preventMouseEvent && (N._preventMouseEvent = !1);
|
|
22321
22330
|
var gt = N._preventMouseEvent || N.emit("dragStart", __assign$4(__assign$4({
|
|
22322
|
-
|
|
22331
|
+
data: N.data,
|
|
22332
|
+
datas: N.data,
|
|
22323
22333
|
inputEvent: U,
|
|
22324
22334
|
isMouseEvent: N._isMouseEvent,
|
|
22325
22335
|
isSecondaryButton: N._isSecondaryButton,
|
|
@@ -22378,7 +22388,8 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22378
22388
|
Q === 0 || !N.options.keepDragging ? N.flag = !1 : N._addStore(new ClientStore(J));
|
|
22379
22389
|
var K = N._getPosition(), rt = now$1(), tt = !Z && N.doubleFlag;
|
|
22380
22390
|
N.prevTime = Z || tt ? 0 : rt, N.flag || (N._dettachDragEvent(), N._preventMouseEvent || N.emit("dragEnd", __assign$4({
|
|
22381
|
-
|
|
22391
|
+
data: N.data,
|
|
22392
|
+
datas: N.data,
|
|
22382
22393
|
isDouble: tt,
|
|
22383
22394
|
isDrag: Z,
|
|
22384
22395
|
isClick: !Z,
|
|
@@ -22434,7 +22445,7 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22434
22445
|
}
|
|
22435
22446
|
var e = t.prototype;
|
|
22436
22447
|
return e.stop = function() {
|
|
22437
|
-
this.isDrag = !1, this.
|
|
22448
|
+
this.isDrag = !1, this.data = {}, this.clientStores = [], this.pinchFlag = !1, this.doubleFlag = !1, this.prevTime = 0, this.flag = !1, this._allowClickEvent(), this._dettachDragEvent();
|
|
22438
22449
|
}, e.getMovement = function(o) {
|
|
22439
22450
|
return this.getCurrentStore().getMovement(o) + this.clientStores.slice(1).reduce(function(R, N) {
|
|
22440
22451
|
return R + N.movement;
|
|
@@ -22464,14 +22475,17 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22464
22475
|
}), R, !0);
|
|
22465
22476
|
}, e.triggerDragStart = function(o) {
|
|
22466
22477
|
this.onDragStart(o, !1);
|
|
22467
|
-
}, e.
|
|
22468
|
-
var R = this.
|
|
22478
|
+
}, e.setEventData = function(o) {
|
|
22479
|
+
var R = this.data;
|
|
22469
22480
|
for (var N in o)
|
|
22470
22481
|
R[N] = o[N];
|
|
22471
22482
|
return this;
|
|
22483
|
+
}, e.setEventDatas = function(o) {
|
|
22484
|
+
return this.setEventData(o);
|
|
22472
22485
|
}, e.getCurrentEvent = function(o) {
|
|
22473
22486
|
return __assign$4(__assign$4({
|
|
22474
|
-
|
|
22487
|
+
data: this.data,
|
|
22488
|
+
datas: this.data
|
|
22475
22489
|
}, this._getPosition()), {
|
|
22476
22490
|
movement: this.getMovement(),
|
|
22477
22491
|
isDrag: this.isDrag,
|
|
@@ -22479,8 +22493,10 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22479
22493
|
isScroll: !1,
|
|
22480
22494
|
inputEvent: o
|
|
22481
22495
|
});
|
|
22496
|
+
}, e.getEventData = function() {
|
|
22497
|
+
return this.data;
|
|
22482
22498
|
}, e.getEventDatas = function() {
|
|
22483
|
-
return this.
|
|
22499
|
+
return this.data;
|
|
22484
22500
|
}, e.unset = function() {
|
|
22485
22501
|
var o = this, R = this.targets, N = this.options.container;
|
|
22486
22502
|
this.off(), removeEvent(window, "blur", this.onBlur), this.isMouse && (R.forEach(function(M) {
|
|
@@ -22494,7 +22510,8 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22494
22510
|
var N = new ClientStore(getEventClients(o));
|
|
22495
22511
|
this.pinchFlag = !0, this._addStore(N);
|
|
22496
22512
|
var M = this.emit("pinchStart", __assign$4(__assign$4({
|
|
22497
|
-
|
|
22513
|
+
data: this.data,
|
|
22514
|
+
datas: this.data,
|
|
22498
22515
|
angle: N.getAngle(),
|
|
22499
22516
|
touches: this.getCurrentStore().getPositions()
|
|
22500
22517
|
}, N.getPosition()), {
|
|
@@ -22506,7 +22523,8 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22506
22523
|
if (!(!this.flag || !this.pinchFlag || R.length < 2)) {
|
|
22507
22524
|
var N = this.getCurrentStore();
|
|
22508
22525
|
this.isPinch = !0, this.emit("pinch", __assign$4(__assign$4({
|
|
22509
|
-
|
|
22526
|
+
data: this.data,
|
|
22527
|
+
datas: this.data,
|
|
22510
22528
|
movement: this.getMovement(R),
|
|
22511
22529
|
angle: N.getAngle(R),
|
|
22512
22530
|
rotation: N.getRotation(R),
|
|
@@ -22523,7 +22541,8 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22523
22541
|
this.isPinch = !1, this.pinchFlag = !1;
|
|
22524
22542
|
var N = this.getCurrentStore();
|
|
22525
22543
|
this.emit("pinchEnd", __assign$4(__assign$4({
|
|
22526
|
-
|
|
22544
|
+
data: this.data,
|
|
22545
|
+
datas: this.data,
|
|
22527
22546
|
isPinch: R,
|
|
22528
22547
|
touches: N.getPositions()
|
|
22529
22548
|
}, N.getPosition()), {
|
|
@@ -22535,7 +22554,8 @@ var ClientStore = /* @__PURE__ */ function() {
|
|
|
22535
22554
|
}, e.moveClients = function(o, R, N) {
|
|
22536
22555
|
var M = this._getPosition(o, N);
|
|
22537
22556
|
return (M.deltaX || M.deltaY) && (this.isDrag = !0), __assign$4(__assign$4({
|
|
22538
|
-
|
|
22557
|
+
data: this.data,
|
|
22558
|
+
datas: this.data
|
|
22539
22559
|
}, M), {
|
|
22540
22560
|
movement: this.getMovement(o),
|
|
22541
22561
|
isDrag: this.isDrag,
|
|
@@ -27627,10 +27647,10 @@ var Clippable = {
|
|
|
27627
27647
|
} else if (ut && z && D) {
|
|
27628
27648
|
var Ie = getControlSize(tt), de = Ie[0], ue = Ie[1], ae = de && ue ? de / ue : 0, Jt = tt[$], Pe = Jt.direction || "", ha = mt[1][1], Mt = mt[5][1], ht = mt[7][0], $t = mt[3][0];
|
|
27629
27649
|
Ct <= Zt ? Ct = Zt / ae : Zt = Ct * ae, Pe.indexOf("w") > -1 ? ht -= Zt : Pe.indexOf("e") > -1 ? $t -= Zt : (ht += Zt / 2, $t -= Zt / 2), Pe.indexOf("n") > -1 ? ha -= Ct : Pe.indexOf("s") > -1 ? Mt -= Ct : (ha += Ct / 2, Mt -= Ct / 2);
|
|
27630
|
-
var
|
|
27650
|
+
var Ql = getRectPoses(ha, $t, Mt, ht);
|
|
27631
27651
|
mt.forEach(function(It, Nt) {
|
|
27632
27652
|
var Ft;
|
|
27633
|
-
Ft =
|
|
27653
|
+
Ft = Ql[Nt].pos, It[0] = Ft[0], It[1] = Ft[1];
|
|
27634
27654
|
});
|
|
27635
27655
|
} else
|
|
27636
27656
|
mt.forEach(function(ot, ft) {
|
|
@@ -29648,22 +29668,22 @@ __privateAdd$2(DesignCast, _ID_DESIGNMODE, "DesignMode");
|
|
|
29648
29668
|
__privateAdd$2(DesignCast, _cntDesignCast, 0);
|
|
29649
29669
|
__privateAdd$2(DesignCast, _hId2dc, {});
|
|
29650
29670
|
__privateAdd$2(DesignCast, _aDC, []);
|
|
29651
|
-
var
|
|
29671
|
+
var yi;
|
|
29652
29672
|
class GrpLayDesignCast extends DesignCast {
|
|
29653
29673
|
constructor(e, o) {
|
|
29654
29674
|
super("#29e", !0);
|
|
29655
|
-
it(this,
|
|
29675
|
+
it(this, yi, void 0);
|
|
29656
29676
|
this.spLay = e, this.gl = o, this.oldFn = () => {
|
|
29657
29677
|
var R;
|
|
29658
29678
|
return (R = this.hArg.fn) != null ? R : "";
|
|
29659
29679
|
};
|
|
29660
29680
|
}
|
|
29661
29681
|
setSp(e) {
|
|
29662
|
-
et(this,
|
|
29682
|
+
et(this, yi, e);
|
|
29663
29683
|
}
|
|
29664
29684
|
getRect() {
|
|
29665
29685
|
var e, o, R, N;
|
|
29666
|
-
return new Rectangle(this.spLay.x, this.spLay.y, (o = (e = H(this,
|
|
29686
|
+
return new Rectangle(this.spLay.x, this.spLay.y, (o = (e = H(this, yi)) == null ? void 0 : e.width) != null ? o : 0, (N = (R = H(this, yi)) == null ? void 0 : R.height) != null ? N : 0);
|
|
29667
29687
|
}
|
|
29668
29688
|
cnvPosArg(e, o) {
|
|
29669
29689
|
return { left: e, top: o };
|
|
@@ -29675,7 +29695,7 @@ class GrpLayDesignCast extends DesignCast {
|
|
|
29675
29695
|
this.spLay.x = e, this.spLay.y = o;
|
|
29676
29696
|
}
|
|
29677
29697
|
setSize(e, o) {
|
|
29678
|
-
H(this,
|
|
29698
|
+
H(this, yi).width = e, H(this, yi).height = o;
|
|
29679
29699
|
}
|
|
29680
29700
|
setOther(e) {
|
|
29681
29701
|
var o;
|
|
@@ -29686,7 +29706,7 @@ class GrpLayDesignCast extends DesignCast {
|
|
|
29686
29706
|
this.spLay.pivot.copyFrom(this.pivot), this.spLay.scale.copyFrom(this.scale), this.spLay.angle = this.rotation;
|
|
29687
29707
|
}
|
|
29688
29708
|
}
|
|
29689
|
-
|
|
29709
|
+
yi = new WeakMap();
|
|
29690
29710
|
class TxtLayDesignCast extends DesignCast {
|
|
29691
29711
|
constructor(t, e) {
|
|
29692
29712
|
super("#29e", !0), this.spLay = t, this.ts = e, this.hDesignArg = {
|
|
@@ -29730,7 +29750,7 @@ class TxtLayDesignCast extends DesignCast {
|
|
|
29730
29750
|
(e = this.child) == null || e.setOther(t), this.spLay.pivot.copyFrom(this.pivot), this.spLay.scale.copyFrom(this.scale), this.spLay.angle = this.rotation;
|
|
29731
29751
|
}
|
|
29732
29752
|
}
|
|
29733
|
-
var Ha,
|
|
29753
|
+
var Ha, ch;
|
|
29734
29754
|
class TxtLayPadDesignCast extends DesignCast {
|
|
29735
29755
|
constructor(e) {
|
|
29736
29756
|
super("#9e2");
|
|
@@ -29790,14 +29810,14 @@ class TxtLayPadDesignCast extends DesignCast {
|
|
|
29790
29810
|
}
|
|
29791
29811
|
procDragHint(e, o, R) {
|
|
29792
29812
|
const [N, M] = e.beforeTranslate;
|
|
29793
|
-
st(this, Ha,
|
|
29813
|
+
st(this, Ha, ch).call(this, o, R, N, M);
|
|
29794
29814
|
}
|
|
29795
29815
|
procResizeHint(e, o, R) {
|
|
29796
29816
|
const [N, M] = e.drag.beforeTranslate;
|
|
29797
|
-
st(this, Ha,
|
|
29817
|
+
st(this, Ha, ch).call(this, o, R, N, M);
|
|
29798
29818
|
}
|
|
29799
29819
|
}
|
|
29800
|
-
Ha = new WeakSet(),
|
|
29820
|
+
Ha = new WeakSet(), ch = function(e, o, R, N) {
|
|
29801
29821
|
const M = this.rect.x, D = this.rect.y, L = this.rect.width, B = this.rect.height, $ = this.ts.infTL, k = int(M + R / DesignCast.sys.cvsScale), U = int(D + N / DesignCast.sys.cvsScale), z = int($.$width - k - L), X = int($.$height - U - B), V = (W) => " ".repeat(W);
|
|
29802
29822
|
DesignCast.setHint(
|
|
29803
29823
|
V(5 + 5 + 1) + `\u4E0A\u5E45=${U}<br/>
|
|
@@ -29905,7 +29925,8 @@ const _GrpLayer = class extends Layer {
|
|
|
29905
29925
|
super(), __privateAdd$1(this, _idc$1, new GrpLayDesignCast(this.spLay, this)), __privateAdd$1(this, _csvFn, ""), __privateAdd$1(this, _sBkFn, ""), __privateAdd$1(this, _sBkFace, ""), this.lay = (n) => this.laySub(n, (t) => {
|
|
29906
29926
|
t && __privateGet$1(_GrpLayer, _main).resume();
|
|
29907
29927
|
}), __privateAdd$1(this, _width, 0), __privateAdd$1(this, _height, 0), __privateAdd$1(this, _rtTsy, void 0), __privateAdd$1(this, _spTsy, void 0), __privateAdd$1(this, _fncRender, () => {
|
|
29908
|
-
}), this.record = () =>
|
|
29928
|
+
}), this.record = () => ({
|
|
29929
|
+
...super.record(),
|
|
29909
29930
|
sBkFn: __privateGet$1(this, _sBkFn),
|
|
29910
29931
|
sBkFace: __privateGet$1(this, _sBkFace),
|
|
29911
29932
|
idc_hArg: __privateGet$1(this, _idc$1).gethArg()
|
|
@@ -29942,18 +29963,16 @@ const _GrpLayer = class extends Layer {
|
|
|
29942
29963
|
if (__privateGet$1(this, _idc$1).sethArg(n), !e)
|
|
29943
29964
|
return super.lay(n), this.spLay.children.length > 0 && this.setPos(n), __privateSet$1(this, _sBkFn, ""), __privateSet$1(this, _csvFn, __privateSet$1(this, _sBkFace, o)), t(!1), !1;
|
|
29944
29965
|
const R = "fn" in n, N = "face" in n;
|
|
29945
|
-
this.clearLay({ filter: "true" }), R && __privateSet$1(this, _sBkFn, e), N && __privateSet$1(this, _sBkFace, o), super.lay(n), n.dx = 0, n.dy = 0
|
|
29946
|
-
const M = _GrpLayer.csv2Sprites(
|
|
29966
|
+
return this.clearLay({ filter: "true" }), R && __privateSet$1(this, _sBkFn, e), N && __privateSet$1(this, _sBkFace, o), super.lay(n), n.dx = 0, n.dy = 0, _GrpLayer.csv2Sprites(
|
|
29947
29967
|
__privateSet$1(this, _csvFn, e + (o ? "," + o : "")),
|
|
29948
29968
|
this.spLay,
|
|
29949
|
-
(
|
|
29950
|
-
("width" in n || "height" in n) && (
|
|
29969
|
+
(M) => {
|
|
29970
|
+
("width" in n || "height" in n) && (M.width = argChk_Num(n, "width", 0), M.height = argChk_Num(n, "height", 0)), __privateSet$1(this, _width, M.width), __privateSet$1(this, _height, M.height), Layer.setXY(M, n, this.spLay, !0), this.setSp(M);
|
|
29951
29971
|
},
|
|
29952
|
-
(
|
|
29953
|
-
Layer.setBlendmode(this.spLay, n), t(
|
|
29972
|
+
(M) => {
|
|
29973
|
+
Layer.setBlendmode(this.spLay, n), t(M);
|
|
29954
29974
|
}
|
|
29955
29975
|
);
|
|
29956
|
-
return M || t(!1), M;
|
|
29957
29976
|
}
|
|
29958
29977
|
get width() {
|
|
29959
29978
|
return __privateGet$1(this, _width);
|
|
@@ -30122,7 +30141,7 @@ const _GrpLayer = class extends Layer {
|
|
|
30122
30141
|
return;
|
|
30123
30142
|
}
|
|
30124
30143
|
t.push(new Promise((e) => this.laySub(
|
|
30125
|
-
{ fn: n.sBkFn, face: n.sBkFace, left: n.x, top: n.y, alpha: n.alpha, blendmode: n.blendMode, rotation: n.rotation, scale_x: n.scale_x, scale_y: n.scale_y },
|
|
30144
|
+
{ fn: n.sBkFn, face: n.sBkFace, left: n.x, top: n.y, alpha: n.alpha, blendmode: Layer.getNum2Blendmode(n.blendMode), rotation: n.rotation, scale_x: n.scale_x, scale_y: n.scale_y },
|
|
30126
30145
|
(o) => {
|
|
30127
30146
|
this.spLay.position.set(n.x, n.y), e();
|
|
30128
30147
|
}
|
|
@@ -30253,12 +30272,12 @@ __privateAdd$1(GrpLayer, _dec2cache, (n, t, e) => {
|
|
|
30253
30272
|
GrpLayer.hFn2VElm = {};
|
|
30254
30273
|
__privateAdd$1(GrpLayer, _hAEncImg, {});
|
|
30255
30274
|
__privateAdd$1(GrpLayer, _hEncImgOUrl, {});
|
|
30256
|
-
var ls, za, hs, ne, Ar, qr, tr,
|
|
30275
|
+
var ls, za, hs, ne, Ar, qr, tr, bi, Ht, Zr, _r, mr, cs, Yo, yr, Or, ja, fs, Va, Mu, hc, rn, ds, nn, sn, an, un, ps, Du, Kr, Xa, fh, vs, Jr, Wa, Qr, Nr, Ya, qa, dh, Ei, ln, Za, ph, lr;
|
|
30257
30276
|
const Xt = class extends Container {
|
|
30258
30277
|
constructor(e, o, R) {
|
|
30259
30278
|
super();
|
|
30260
30279
|
it(this, cs);
|
|
30261
|
-
it(this,
|
|
30280
|
+
it(this, Mu);
|
|
30262
30281
|
it(this, Xa);
|
|
30263
30282
|
it(this, qa);
|
|
30264
30283
|
it(this, Za);
|
|
@@ -30266,7 +30285,7 @@ const Xt = class extends Container {
|
|
|
30266
30285
|
it(this, Ar, new Container());
|
|
30267
30286
|
it(this, qr, new Graphics());
|
|
30268
30287
|
it(this, tr, new TxtLayDesignCast(this.spLay, this));
|
|
30269
|
-
it(this,
|
|
30288
|
+
it(this, bi, new TxtLayPadDesignCast(this));
|
|
30270
30289
|
it(this, Ht, {
|
|
30271
30290
|
fontsize: 24,
|
|
30272
30291
|
$width: 0,
|
|
@@ -30287,15 +30306,15 @@ const Xt = class extends Container {
|
|
|
30287
30306
|
it(this, ds, []);
|
|
30288
30307
|
it(this, nn, []);
|
|
30289
30308
|
it(this, sn, 0);
|
|
30290
|
-
it(this,
|
|
30309
|
+
it(this, Du, /animation\-duration: (?<ms>\d+)ms;/);
|
|
30291
30310
|
it(this, Kr, () => {
|
|
30292
30311
|
});
|
|
30293
30312
|
it(this, vs, !1);
|
|
30294
30313
|
it(this, Ya, 0);
|
|
30295
|
-
it(this,
|
|
30314
|
+
it(this, Ei, "Quadratic.Out");
|
|
30296
30315
|
it(this, ln, "Quadratic.Out");
|
|
30297
30316
|
it(this, lr, void 0);
|
|
30298
|
-
this.spLay = e, this.canFocus = o, this.sys = R, H(this, ne).classList.add("sn_tx"), H(this, ne).style.position = "absolute", H(Xt, za).view.parentElement.appendChild(H(this, ne)), this.addChild(H(this, Ar)), this.addChild(H(this, qr)), H(this, qr).name = "grpDbgMasume", H(this, tr).adopt(H(this,
|
|
30317
|
+
this.spLay = e, this.canFocus = o, this.sys = R, H(this, ne).classList.add("sn_tx"), H(this, ne).style.position = "absolute", H(Xt, za).view.parentElement.appendChild(H(this, ne)), this.addChild(H(this, Ar)), this.addChild(H(this, qr)), H(this, qr).name = "grpDbgMasume", H(this, tr).adopt(H(this, bi));
|
|
30299
30318
|
}
|
|
30300
30319
|
static init(e, o) {
|
|
30301
30320
|
et(Xt, ls, e), et(Xt, za, o), et(Xt, an, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), et(Xt, un, /[[({〈「『【〔“〝]/), et(Xt, ps, /[─‥…]/);
|
|
@@ -30339,12 +30358,12 @@ const Xt = class extends Container {
|
|
|
30339
30358
|
H(this, ne).innerHTML.replace(/(animation-delay: )\d+ms/g, "$10ms"),
|
|
30340
30359
|
`<span class='sn_ch' data-add='{"ch_in_style":"default"}'>\u3000</span>`
|
|
30341
30360
|
];
|
|
30342
|
-
st(this, Za,
|
|
30361
|
+
st(this, Za, ph).call(this), this.goTxt(U);
|
|
30343
30362
|
}
|
|
30344
30363
|
}
|
|
30345
30364
|
cvsResize() {
|
|
30346
30365
|
const e = H(this, ne).style;
|
|
30347
|
-
e.left = `${this.sys.ofsLeft4elm + H(this, yr) * this.sys.cvsScale}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * this.sys.cvsScale}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * this.sys.cvsScale}, ${this.spLay.scale.y * this.sys.cvsScale})`, H(this, tr).cvsResize(), H(this,
|
|
30366
|
+
e.left = `${this.sys.ofsLeft4elm + H(this, yr) * this.sys.cvsScale}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * this.sys.cvsScale}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * this.sys.cvsScale}, ${this.spLay.scale.y * this.sys.cvsScale})`, H(this, tr).cvsResize(), H(this, bi).cvsResize();
|
|
30348
30367
|
}
|
|
30349
30368
|
get tategaki() {
|
|
30350
30369
|
return H(this, Or);
|
|
@@ -30373,7 +30392,7 @@ const Xt = class extends Container {
|
|
|
30373
30392
|
).endFill()), H(this, ne).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : H(this, ne).insertAdjacentHTML("beforeend", e.slice(H(this, sn)).join("").replaceAll(/[\n\t]/g, "")), et(this, sn, e.length);
|
|
30374
30393
|
let R = 0, N = 2;
|
|
30375
30394
|
do {
|
|
30376
|
-
const K = et(this, nn, st(this, qa,
|
|
30395
|
+
const K = et(this, nn, st(this, qa, dh).call(this, H(this, ne)));
|
|
30377
30396
|
if (R = K.length, this.sys.cvsScale !== 1) {
|
|
30378
30397
|
const tt = this.sys.ofsPadLeft_Dom2PIXI + parseFloat(H(this, ne).style.left) * (1 - this.sys.cvsScale), nt = this.sys.ofsPadTop_Dom2PIXI + parseFloat(H(this, ne).style.top) * (1 - this.sys.cvsScale);
|
|
30379
30398
|
for (let at = 0; at < R; ++at) {
|
|
@@ -30423,21 +30442,21 @@ const Xt = class extends Container {
|
|
|
30423
30442
|
}, D = H(Xt, ls).oCfg.debug.masume ? (K, rt) => {
|
|
30424
30443
|
M(K, rt), H(this, qr).beginFill(6737151, 0.5).lineStyle(2, 16724736, 1).drawRect(rt.x, rt.y, rt.width, rt.height).endFill();
|
|
30425
30444
|
} : () => {
|
|
30426
|
-
}, L = CmnTween.ease(H(this,
|
|
30445
|
+
}, L = CmnTween.ease(H(this, Ei)), B = H(this, ne).getBoundingClientRect(), $ = B.left + globalThis.scrollX + H(this, Ht).pad_left, k = B.top + globalThis.scrollY + H(this, Ht).pad_top;
|
|
30427
30446
|
let U = new Rectangle();
|
|
30428
30447
|
for (let K = o; K < R; ++K) {
|
|
30429
30448
|
const rt = H(this, nn)[K], tt = rt.rect, nt = JSON.parse((W = rt.arg) != null ? W : '{"delay": 0}'), at = JSON.parse((Y = rt.add) != null ? Y : "{}"), lt = H(Xt, Jr)[at.ch_in_style];
|
|
30430
30449
|
if (tt.x -= $, tt.y -= k, D(rt, tt), lt && (H(this, Or) ? (tt.x += (tt.width - tt.height) / 2, tt.width = tt.height) : (tt.y += (tt.height - tt.width) / 2, tt.height = tt.width), U = tt), rt.cmd === "grp") {
|
|
30431
30450
|
const ut = new Container();
|
|
30432
30451
|
H(this, Ar).addChild(ut), GrpLayer.csv2Sprites(nt.pic, ut, (dt) => {
|
|
30433
|
-
st(this, Xa,
|
|
30452
|
+
st(this, Xa, fh).call(this, ut, nt, at, tt, L, lt != null ? lt : {}), ut.parent || ut.removeChild(dt);
|
|
30434
30453
|
});
|
|
30435
30454
|
}
|
|
30436
30455
|
if (rt.lnk) {
|
|
30437
30456
|
const ut = rt.elm.parentElement.closest("[data-arg]"), dt = JSON.parse((q = ut.dataset.arg) != null ? q : "{}");
|
|
30438
30457
|
dt.key = `lnk=[${K}] ` + this.name;
|
|
30439
30458
|
const yt = new Sprite();
|
|
30440
|
-
st(this, Xa,
|
|
30459
|
+
st(this, Xa, fh).call(this, yt, dt, at, tt, L, lt != null ? lt : {});
|
|
30441
30460
|
const pt = (Z = dt.style) != null ? Z : "", gt = pt + ((J = dt.style_hover) != null ? J : ""), xt = pt + ((Q = dt.style_clicked) != null ? Q : ""), Lt = ut.style.cssText, mt = (vt) => {
|
|
30442
30461
|
!vt || (ut.style.cssText = Lt + vt);
|
|
30443
30462
|
};
|
|
@@ -30473,7 +30492,7 @@ const Xt = class extends Container {
|
|
|
30473
30492
|
V = rt;
|
|
30474
30493
|
break;
|
|
30475
30494
|
}
|
|
30476
|
-
const nt = tt.match(H(this,
|
|
30495
|
+
const nt = tt.match(H(this, Du)), at = nt == null ? void 0 : nt.groups;
|
|
30477
30496
|
if (!at || Number(at.ms) > 0) {
|
|
30478
30497
|
V = rt;
|
|
30479
30498
|
break;
|
|
@@ -30560,9 +30579,9 @@ const Xt = class extends Container {
|
|
|
30560
30579
|
}
|
|
30561
30580
|
reNew() {
|
|
30562
30581
|
var o;
|
|
30563
|
-
st(this, Za,
|
|
30582
|
+
st(this, Za, ph).call(this);
|
|
30564
30583
|
const e = new Xt(this.spLay, () => this.canFocus(), this.sys);
|
|
30565
|
-
return et(e, Ht, H(this, Ht)), H(e, ne).style.cssText = H(this, ne).style.cssText, et(e, yr, H(this, yr)), e.name = this.name, st(o = e, cs, Yo).call(o), H(e, tr).sethArg(H(this, tr).gethArg()), et(e, rn, H(this, rn)), et(e,
|
|
30584
|
+
return et(e, Ht, H(this, Ht)), H(e, ne).style.cssText = H(this, ne).style.cssText, et(e, yr, H(this, yr)), e.name = this.name, st(o = e, cs, Yo).call(o), H(e, tr).sethArg(H(this, tr).gethArg()), et(e, rn, H(this, rn)), et(e, Ei, H(this, Ei)), et(e, ln, H(this, ln)), et(e, Zr, H(this, Zr)), et(e, _r, H(this, _r)), et(e, mr, H(this, mr)), this.destroy(), e;
|
|
30566
30585
|
}
|
|
30567
30586
|
record() {
|
|
30568
30587
|
return {
|
|
@@ -30571,7 +30590,7 @@ const Xt = class extends Container {
|
|
|
30571
30590
|
left: H(this, yr),
|
|
30572
30591
|
idc_hArg: H(this, tr).gethArg(),
|
|
30573
30592
|
ch_filter: H(this, rn),
|
|
30574
|
-
fi_easing: H(this,
|
|
30593
|
+
fi_easing: H(this, Ei),
|
|
30575
30594
|
fo_easing: H(this, ln),
|
|
30576
30595
|
break_fixed: H(this, Zr),
|
|
30577
30596
|
break_fixed_left: H(this, _r),
|
|
@@ -30580,10 +30599,10 @@ const Xt = class extends Container {
|
|
|
30580
30599
|
}
|
|
30581
30600
|
playback(e) {
|
|
30582
30601
|
var o, R, N;
|
|
30583
|
-
et(this, Ht, e.infTL), this.position.set(H(this, Ht).pad_left, H(this, Ht).pad_top), H(this, ne).style.cssText = e.cssText, et(this, yr, e.left), st(this, cs, Yo).call(this), H(this, tr).sethArg(e.idc_hArg), et(this, rn, e.ch_filter), et(this,
|
|
30602
|
+
et(this, Ht, e.infTL), this.position.set(H(this, Ht).pad_left, H(this, Ht).pad_top), H(this, ne).style.cssText = e.cssText, et(this, yr, e.left), st(this, cs, Yo).call(this), H(this, tr).sethArg(e.idc_hArg), et(this, rn, e.ch_filter), et(this, Ei, e.fi_easing), et(this, ln, e.fo_easing), et(this, Zr, (o = e.break_fixed) != null ? o : !1), et(this, _r, (R = e.break_fixed_left) != null ? R : 0), et(this, mr, (N = e.break_fixed_top) != null ? N : 0);
|
|
30584
30603
|
}
|
|
30585
30604
|
snapshot(e, o) {
|
|
30586
|
-
st(this,
|
|
30605
|
+
st(this, Mu, hc).call(this, (R) => {
|
|
30587
30606
|
et(this, lr, new Sprite(R)), H(this, Or) && (H(this, lr).x += CmnLib.stageW - (H(this, yr) + H(this, Ht).$width)), H(this, lr).y -= H(this, fs), H(this, lr).texture.frame = new Rectangle(0, 0, H(this, Ht).$width - H(this, yr), H(this, Ht).$height), H(this, Ar).addChild(H(this, lr)), e.render(H(this, lr), void 0, !1), o();
|
|
30588
30607
|
}, !1);
|
|
30589
30608
|
}
|
|
@@ -30593,10 +30612,10 @@ const Xt = class extends Container {
|
|
|
30593
30612
|
makeDesignCast(e) {
|
|
30594
30613
|
e(H(this, tr));
|
|
30595
30614
|
const o = H(this, tr).gethArg();
|
|
30596
|
-
H(this,
|
|
30615
|
+
H(this, bi).sethArg({ ...o, ":id_dc": o[":id_tag"] + "_pad" }), e(H(this, bi));
|
|
30597
30616
|
}
|
|
30598
30617
|
showDesignCast() {
|
|
30599
|
-
H(this, tr).visible = !0, H(this,
|
|
30618
|
+
H(this, tr).visible = !0, H(this, bi).visible = !0;
|
|
30600
30619
|
}
|
|
30601
30620
|
dump() {
|
|
30602
30621
|
const e = [], o = H(this, ne).style, R = o.length;
|
|
@@ -30611,13 +30630,13 @@ const Xt = class extends Container {
|
|
|
30611
30630
|
}
|
|
30612
30631
|
};
|
|
30613
30632
|
let TxtStage = Xt;
|
|
30614
|
-
ls = new WeakMap(), za = new WeakMap(), hs = new WeakMap(), ne = new WeakMap(), Ar = new WeakMap(), qr = new WeakMap(), tr = new WeakMap(),
|
|
30633
|
+
ls = new WeakMap(), za = new WeakMap(), hs = new WeakMap(), ne = new WeakMap(), Ar = new WeakMap(), qr = new WeakMap(), tr = new WeakMap(), bi = new WeakMap(), Ht = new WeakMap(), Zr = new WeakMap(), _r = new WeakMap(), mr = new WeakMap(), cs = new WeakSet(), Yo = function() {
|
|
30615
30634
|
var N;
|
|
30616
30635
|
const e = H(this, ne).style, o = parseFloat(e.fontSize || "0");
|
|
30617
30636
|
H(this, Ht).fontsize = o, H(this, Ht).pad_left = parseFloat(e.paddingLeft || "0"), H(this, Ht).pad_right = parseFloat(e.paddingRight || "0"), H(this, Ht).pad_top = parseFloat(e.paddingTop || "0"), H(this, Ht).pad_bottom = parseFloat(e.paddingBottom || "0"), H(this, Ht).$width = parseFloat(e.width || "0"), H(this, Ht).$height = parseFloat(e.height || "0"), this.position.set(H(this, Ht).pad_left, H(this, Ht).pad_top), et(this, Or, e.writingMode === "vertical-rl"), et(this, ja, 0), et(this, fs, 0);
|
|
30618
30637
|
const R = (N = e.lineHeight) != null ? N : "0";
|
|
30619
30638
|
et(this, Ya, H(this, Or) ? 0 : (R.slice(-2) === "px" ? parseFloat(R) : o * parseFloat(R) - o) / 2);
|
|
30620
|
-
}, yr = new WeakMap(), Or = new WeakMap(), ja = new WeakMap(), fs = new WeakMap(), Va = new WeakMap(),
|
|
30639
|
+
}, yr = new WeakMap(), Or = new WeakMap(), ja = new WeakMap(), fs = new WeakMap(), Va = new WeakMap(), Mu = new WeakSet(), hc = function(e, o = !0) {
|
|
30621
30640
|
const R = {
|
|
30622
30641
|
escape: (W) => W.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
30623
30642
|
mimeType: (W) => {
|
|
@@ -30798,7 +30817,7 @@ ls = new WeakMap(), za = new WeakMap(), hs = new WeakMap(), ne = new WeakMap(),
|
|
|
30798
30817
|
});
|
|
30799
30818
|
});
|
|
30800
30819
|
}).catch((W) => DebugMng.myTrace(`goTxt() = ${W}`));
|
|
30801
|
-
}, rn = new WeakMap(), ds = new WeakMap(), nn = new WeakMap(), sn = new WeakMap(), an = new WeakMap(), un = new WeakMap(), ps = new WeakMap(),
|
|
30820
|
+
}, rn = new WeakMap(), ds = new WeakMap(), nn = new WeakMap(), sn = new WeakMap(), an = new WeakMap(), un = new WeakMap(), ps = new WeakMap(), Du = new WeakMap(), Kr = new WeakMap(), Xa = new WeakSet(), fh = function(e, o, R, N, M, D) {
|
|
30802
30821
|
var B, $, k;
|
|
30803
30822
|
e.alpha = 0, o.x && (N.x = o.x.charAt(0) === "=" ? N.x + parseInt(o.x.slice(1)) : parseInt(o.x)), o.y && (N.y = o.y.charAt(0) === "=" ? N.y + parseInt(o.y.slice(1)) : parseInt(o.y)), o.width && (N.width = parseInt(o.width)), o.height && (N.height = parseInt(o.height)), o.wait && (D.wait = parseInt(o.wait)), e.width = N.width, e.height = N.height, D.x ? e.position.set(
|
|
30804
30823
|
D.x.charAt(0) === "=" ? N.x + e.width * D.nx : D.nx,
|
|
@@ -30811,11 +30830,11 @@ ls = new WeakMap(), za = new WeakMap(), hs = new WeakMap(), ne = new WeakMap(),
|
|
|
30811
30830
|
}).start()
|
|
30812
30831
|
};
|
|
30813
30832
|
H(this, ds).push(L);
|
|
30814
|
-
}, vs = new WeakMap(), Jr = new WeakMap(), Wa = new WeakMap(), Qr = new WeakMap(), Nr = new WeakMap(), Ya = new WeakMap(), qa = new WeakSet(),
|
|
30833
|
+
}, vs = new WeakMap(), Jr = new WeakMap(), Wa = new WeakMap(), Qr = new WeakMap(), Nr = new WeakMap(), Ya = new WeakMap(), qa = new WeakSet(), dh = function(e) {
|
|
30815
30834
|
var D, L, B, $;
|
|
30816
30835
|
const o = [];
|
|
30817
30836
|
if (e.nodeType !== e.TEXT_NODE)
|
|
30818
|
-
return e.childNodes.forEach((k) => o.push(st(this, qa,
|
|
30837
|
+
return e.childNodes.forEach((k) => o.push(st(this, qa, dh).call(this, k))), o.flat();
|
|
30819
30838
|
const R = e.ownerDocument.createRange();
|
|
30820
30839
|
R.selectNodeContents(e);
|
|
30821
30840
|
let N = 0;
|
|
@@ -30842,7 +30861,7 @@ ls = new WeakMap(), za = new WeakMap(), hs = new WeakMap(), ne = new WeakMap(),
|
|
|
30842
30861
|
o.push(X);
|
|
30843
30862
|
}
|
|
30844
30863
|
return R.detach(), o;
|
|
30845
|
-
},
|
|
30864
|
+
}, Ei = new WeakMap(), ln = new WeakMap(), Za = new WeakSet(), ph = function() {
|
|
30846
30865
|
var M;
|
|
30847
30866
|
H(this, qr).clear(), et(this, nn, []), et(this, sn, 0), this.skipChIn();
|
|
30848
30867
|
const e = H(this, ne).cloneNode(!0);
|
|
@@ -30917,10 +30936,8 @@ const _Button = class extends Container {
|
|
|
30917
30936
|
(W) => {
|
|
30918
30937
|
__privateMethod(this, _loaded_pic, loaded_pic_fn).call(this, W, N), __privateGet(this, _rctBtnTxt).width = W.width * N.scale_x, __privateGet(this, _rctBtnTxt).height = W.height * N.scale_y;
|
|
30919
30938
|
},
|
|
30920
|
-
(W) =>
|
|
30921
|
-
|
|
30922
|
-
}
|
|
30923
|
-
) || e();
|
|
30939
|
+
(W) => e
|
|
30940
|
+
);
|
|
30924
30941
|
return;
|
|
30925
30942
|
}
|
|
30926
30943
|
if (!n.text)
|
|
@@ -31061,7 +31078,7 @@ __privateAdd(Button, _procMasume4txt, (n, t) => {
|
|
|
31061
31078
|
});
|
|
31062
31079
|
__privateAdd(Button, _procMasume4pic, (n, t, e, o) => {
|
|
31063
31080
|
});
|
|
31064
|
-
var gs, br, _s, Ka, Ja,
|
|
31081
|
+
var gs, br, _s, Ka, Ja, vh, Qa, gh, to, ms, eo, ti, hn, Lu, cc, Mr, er, hr, le, Er, ee, ys, ke, bs, qo, xr, cn, Es, Zo, Dr, ro, _h, io, mh, xi, fn, dn, xs, Ts, ei, rr, Fu, fc, Xe, Ss, Cs, Ko, Ti, kn, Lr, ir, nr, Fr, Is, Jo, Si, Gn, Ci;
|
|
31065
31082
|
const qt = class extends Layer {
|
|
31066
31083
|
constructor() {
|
|
31067
31084
|
super();
|
|
@@ -31069,11 +31086,11 @@ const qt = class extends Layer {
|
|
|
31069
31086
|
it(this, Es);
|
|
31070
31087
|
it(this, ro);
|
|
31071
31088
|
it(this, io);
|
|
31072
|
-
it(this,
|
|
31089
|
+
it(this, Fu);
|
|
31073
31090
|
it(this, Cs);
|
|
31074
|
-
it(this, xi);
|
|
31075
|
-
it(this, Is);
|
|
31076
31091
|
it(this, Ti);
|
|
31092
|
+
it(this, Is);
|
|
31093
|
+
it(this, Si);
|
|
31077
31094
|
it(this, Mr, void 0);
|
|
31078
31095
|
it(this, er, void 0);
|
|
31079
31096
|
it(this, hr, void 0);
|
|
@@ -31085,7 +31102,7 @@ const qt = class extends Layer {
|
|
|
31085
31102
|
it(this, xr, void 0);
|
|
31086
31103
|
it(this, cn, void 0);
|
|
31087
31104
|
it(this, Dr, void 0);
|
|
31088
|
-
it(this,
|
|
31105
|
+
it(this, xi, void 0);
|
|
31089
31106
|
it(this, fn, void 0);
|
|
31090
31107
|
it(this, dn, void 0);
|
|
31091
31108
|
it(this, xs, void 0);
|
|
@@ -31097,8 +31114,8 @@ const qt = class extends Layer {
|
|
|
31097
31114
|
it(this, ir, void 0);
|
|
31098
31115
|
it(this, nr, void 0);
|
|
31099
31116
|
it(this, Fr, void 0);
|
|
31100
|
-
it(this,
|
|
31101
|
-
et(this, Mr, 0), et(this, er, 0), et(this, hr, !1), et(this, le, void 0), et(this, Er, ""), et(this, ee, new TxtStage(this.spLay, () => this.canFocus(), H(qt, eo))), et(this, ys, new RubySpliter()), et(this, ke, new Container()), et(this, xr, ""), et(this, cn, !0), et(this, Dr, ""), et(this,
|
|
31117
|
+
it(this, Ci, void 0);
|
|
31118
|
+
et(this, Mr, 0), et(this, er, 0), et(this, hr, !1), et(this, le, void 0), et(this, Er, ""), et(this, ee, new TxtStage(this.spLay, () => this.canFocus(), H(qt, eo))), et(this, ys, new RubySpliter()), et(this, ke, new Container()), et(this, xr, ""), et(this, cn, !0), et(this, Dr, ""), et(this, xi, ""), et(this, fn, (o) => ""), et(this, dn, ""), et(this, xs, new RegExp("[\u3000]")), this.isCur = !1, et(this, ei, () => ""), et(this, rr, ""), et(this, Xe, !1), et(this, Ss, (o, R) => {
|
|
31102
31119
|
var B, $, k, U, z, X, V, W, Y, q;
|
|
31103
31120
|
H(qt, gs).oCfg.debug.putCh && console.log(`\u{1F58A} \u6587\u5B57\u8868\u793A text:\`${o}\` ruby:\`${R}\` name:\`${this.name_}\``);
|
|
31104
31121
|
const N = R.split("\uFF5C");
|
|
@@ -31126,16 +31143,16 @@ const qt = class extends Layer {
|
|
|
31126
31143
|
et(this, ir, !1), et(this, Xe, !0), M = st(this, Cs, Ko).call(this, o, L, D);
|
|
31127
31144
|
break;
|
|
31128
31145
|
case "gotxt":
|
|
31129
|
-
st(this,
|
|
31146
|
+
st(this, Si, Gn).call(this), this.isCur && H(B = qt, _s).call(B, H(this, nr).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, "style='").replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("class='offrec'", "style='display: none;'").replaceAll("`", "\\`")), H(this, Xe) && (H(this, ee).goTxt(H(this, nr)), et(this, Xe, !1), et(this, Lr, 0));
|
|
31130
31147
|
return;
|
|
31131
31148
|
case "add":
|
|
31132
31149
|
{
|
|
31133
|
-
const Z = JSON.parse(L), { cl: J, sty: Q } = st(this,
|
|
31150
|
+
const Z = JSON.parse(L), { cl: J, sty: Q } = st(this, Ti, kn).call(this, !0, Z.wait);
|
|
31134
31151
|
H(this, nr).push(`<span${J} style='display: inline;${(k = ($ = H(this, Fr).at(-1)) == null ? void 0 : $.o.style) != null ? k : ""}${(U = Z.style) != null ? U : ""}${Q}'>`), delete Z.style, st(this, Is, Jo).call(this, Z);
|
|
31135
31152
|
}
|
|
31136
31153
|
return;
|
|
31137
31154
|
case "add_close":
|
|
31138
|
-
H(this, nr).push("</span>"), st(this,
|
|
31155
|
+
H(this, nr).push("</span>"), st(this, Si, Gn).call(this);
|
|
31139
31156
|
return;
|
|
31140
31157
|
case "grp":
|
|
31141
31158
|
et(this, Xe, !0);
|
|
@@ -31146,15 +31163,15 @@ const qt = class extends Layer {
|
|
|
31146
31163
|
return;
|
|
31147
31164
|
}
|
|
31148
31165
|
(X = Z.style) != null || (Z.style = "");
|
|
31149
|
-
const { cl: J, sty: Q, lnk: K } = st(this,
|
|
31166
|
+
const { cl: J, sty: Q, lnk: K } = st(this, Ti, kn).call(this, !0, Z.wait);
|
|
31150
31167
|
M = `<span data-cmd='grp' data-id='${Z.id}'${J} style='${Q} ${(V = Z.style) != null ? V : ""}'${K} data-arg='${JSON.stringify(Z)}' data-add='{"ch_in_style":"${H(this, xr)}", "ch_out_style":"${H(this, Dr)}"}'>\u3000</span>`, H(this, ir) && (et(this, ir, !1), M = `<ruby>${M}<rt>\u3000</rt></ruby>`);
|
|
31151
31168
|
}
|
|
31152
31169
|
break;
|
|
31153
31170
|
case "tcy":
|
|
31154
31171
|
et(this, ir, !1), et(this, Xe, !0);
|
|
31155
31172
|
{
|
|
31156
|
-
H(qt, br).doRecLog() && et(this,
|
|
31157
|
-
const Z = JSON.parse(L), { t: J, r: Q = "" } = Z, K = CmnLib.isSafari ? Q.replace(/[A-Za-z0-9]/g, (lt) => String.fromCharCode(lt.charCodeAt(0) + 65248)) : Q, rt = this.mkStyle_r_align(J, K, H(this, rr)), { cl: tt, sty: nt, lnk: at } = st(this,
|
|
31173
|
+
H(qt, br).doRecLog() && et(this, Ci, H(this, Ci) + (o + (R ? `\u300A${R}\u300B` : "")));
|
|
31174
|
+
const Z = JSON.parse(L), { t: J, r: Q = "" } = Z, K = CmnLib.isSafari ? Q.replace(/[A-Za-z0-9]/g, (lt) => String.fromCharCode(lt.charCodeAt(0) + 65248)) : Q, rt = this.mkStyle_r_align(J, K, H(this, rr)), { cl: tt, sty: nt, lnk: at } = st(this, Ti, kn).call(this, !0, Z.wait);
|
|
31158
31175
|
M = `<span${tt} style='${nt}${H(this, fn).call(this, J)} ${(W = Z.style) != null ? W : ""}'${at}><ruby><span style='
|
|
31159
31176
|
text-combine-upright: all;
|
|
31160
31177
|
-webkit-text-combine: horizontal;
|
|
@@ -31166,23 +31183,23 @@ text-combine-upright: all;
|
|
|
31166
31183
|
TxtStage.delBreak();
|
|
31167
31184
|
return;
|
|
31168
31185
|
case "span":
|
|
31169
|
-
st(this,
|
|
31186
|
+
st(this, Si, Gn).call(this), et(this, Xe, !0);
|
|
31170
31187
|
{
|
|
31171
31188
|
const Z = JSON.parse(L);
|
|
31172
31189
|
Z.style && st(this, Is, Jo).call(this, Z);
|
|
31173
31190
|
}
|
|
31174
31191
|
return;
|
|
31175
31192
|
case "link":
|
|
31176
|
-
st(this,
|
|
31193
|
+
st(this, Si, Gn).call(this), et(this, Xe, !0);
|
|
31177
31194
|
{
|
|
31178
31195
|
const Z = JSON.parse(L);
|
|
31179
31196
|
Z[":link"] = " data-lnk='@'";
|
|
31180
|
-
const { cl: J, sty: Q } = st(this,
|
|
31197
|
+
const { cl: J, sty: Q } = st(this, Ti, kn).call(this, !1, Z.wait);
|
|
31181
31198
|
H(this, nr).push(`<span data-arg='${L}'${J} style='display: inline; ${Q} ${(Y = Z.style) != null ? Y : ""}' data-add='{"ch_in_style":"${H(this, xr)}", "ch_out_style":"${H(this, Dr)}"}'}>`), delete Z.style, st(this, Is, Jo).call(this, Z);
|
|
31182
31199
|
}
|
|
31183
31200
|
return;
|
|
31184
31201
|
case "endlink":
|
|
31185
|
-
et(this, Xe, !0), H(this, nr).push("</span>"), st(this,
|
|
31202
|
+
et(this, Xe, !0), H(this, nr).push("</span>"), st(this, Si, Gn).call(this);
|
|
31186
31203
|
return;
|
|
31187
31204
|
default:
|
|
31188
31205
|
et(this, Xe, !0), M = st(this, Cs, Ko).call(this, o, R, H(this, rr));
|
|
@@ -31190,11 +31207,12 @@ text-combine-upright: all;
|
|
|
31190
31207
|
break;
|
|
31191
31208
|
}
|
|
31192
31209
|
H(this, nr).push(H(q = qt, Ts).call(q, M));
|
|
31193
|
-
}), et(this, Lr, 0), et(this, ir, !0), et(this, nr, []), et(this, Fr, []), this.click = () => !this.spLay.interactiveChildren || !this.spLay.visible ? !0 : H(this, ee).skipChIn(), et(this,
|
|
31210
|
+
}), et(this, Lr, 0), et(this, ir, !0), et(this, nr, []), et(this, Fr, []), this.click = () => !this.spLay.interactiveChildren || !this.spLay.visible ? !0 : H(this, ee).skipChIn(), et(this, Ci, ""), this.addButton = (o) => new Promise((R) => {
|
|
31194
31211
|
o.key = `btn=[${H(this, ke).children.length}] ` + this.name_, o[":id_tag"] = o.key.slice(0, -7), argChk_Boolean(o, "hint_tate", H(this, ee).tategaki);
|
|
31195
31212
|
const N = new Button(o, H(qt, ms), () => R(), () => this.canFocus());
|
|
31196
31213
|
N.name = JSON.stringify(o).replaceAll('"', "'"), H(this, ke).addChild(N);
|
|
31197
|
-
}), this.record = () =>
|
|
31214
|
+
}), this.record = () => ({
|
|
31215
|
+
...super.record(),
|
|
31198
31216
|
enabled: this.enabled,
|
|
31199
31217
|
r_align: H(this, rr),
|
|
31200
31218
|
b_do: H(this, le) === void 0 ? void 0 : H(this, le) instanceof Sprite ? "Sprite" : "Graphics",
|
|
@@ -31202,7 +31220,7 @@ text-combine-upright: all;
|
|
|
31202
31220
|
b_color: H(this, Mr),
|
|
31203
31221
|
b_alpha: H(this, er),
|
|
31204
31222
|
b_alpha_isfixed: H(this, hr),
|
|
31205
|
-
ffs: H(this,
|
|
31223
|
+
ffs: H(this, xi),
|
|
31206
31224
|
txs: H(this, ee).record(),
|
|
31207
31225
|
strNoFFS: H(this, dn),
|
|
31208
31226
|
btns: H(this, ke).children.map((o) => o.name)
|
|
@@ -31214,13 +31232,13 @@ text-combine-upright: all;
|
|
|
31214
31232
|
var B, $;
|
|
31215
31233
|
et(qt, gs, e), TxtStage.init(e, D), et(qt, br, R), et(qt, _s, N), et(qt, Ka, M), R.setDoRecProc(qt.chgDoRec), o.autowc = (k) => {
|
|
31216
31234
|
var U;
|
|
31217
|
-
return st(U = qt,
|
|
31235
|
+
return st(U = qt, Lu, cc).call(U, k);
|
|
31218
31236
|
}, o.autowc({ enabled: !1, text: "", time: 0 }), o.ch_in_style = (k) => {
|
|
31219
31237
|
var U;
|
|
31220
|
-
return st(U = qt, Ja,
|
|
31238
|
+
return st(U = qt, Ja, vh).call(U, k);
|
|
31221
31239
|
}, o.ch_out_style = (k) => {
|
|
31222
31240
|
var U;
|
|
31223
|
-
return st(U = qt, Qa,
|
|
31241
|
+
return st(U = qt, Qa, gh).call(U, k);
|
|
31224
31242
|
}, TxtStage.initChStyle(), initStyle();
|
|
31225
31243
|
let L = "";
|
|
31226
31244
|
e.matchPath(".+", Config.EXT_FONT).forEach((k) => {
|
|
@@ -31242,7 +31260,7 @@ text-combine-upright: all;
|
|
|
31242
31260
|
position: relative;
|
|
31243
31261
|
display: inline-block;
|
|
31244
31262
|
}
|
|
31245
|
-
`, addStyle(L), st(B = qt, Ja,
|
|
31263
|
+
`, addStyle(L), st(B = qt, Ja, vh).call(B, {
|
|
31246
31264
|
name: "default",
|
|
31247
31265
|
wait: 500,
|
|
31248
31266
|
alpha: 0,
|
|
@@ -31253,7 +31271,7 @@ text-combine-upright: all;
|
|
|
31253
31271
|
rotate: 0,
|
|
31254
31272
|
join: !0,
|
|
31255
31273
|
ease: "ease-out"
|
|
31256
|
-
}), st($ = qt, Qa,
|
|
31274
|
+
}), st($ = qt, Qa, gh).call($, {
|
|
31257
31275
|
name: "default",
|
|
31258
31276
|
wait: 0,
|
|
31259
31277
|
alpha: 0,
|
|
@@ -31289,7 +31307,7 @@ text-combine-upright: all;
|
|
|
31289
31307
|
}
|
|
31290
31308
|
lay(e) {
|
|
31291
31309
|
var o;
|
|
31292
|
-
return super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), st(this, io,
|
|
31310
|
+
return super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), st(this, io, mh).call(this, e), H(this, ee).lay(e), "r_align" in e && et(this, rr, (o = e.r_align) != null ? o : ""), et(this, ei, CmnLib.isSafari ? H(this, ee).tategaki ? (R, N) => `text-align: start; height: ${N}em; padding-top: ${R}; padding-bottom: ${R};` : (R, N) => `text-align: start; width: ${N}em; padding-left: ${R}; padding-right: ${R};` : H(this, ee).tategaki ? (R) => `text-align: justify; text-align-last: justify; padding-top: ${R}; padding-bottom: ${R};` : (R) => `text-align: justify; text-align-last: justify; padding-left: ${R}; padding-right: ${R};`), CmnLib.isFirefox && (this.mkStyle_r_align = st(this, Fu, fc)), "alpha" in e && H(this, ke).children.forEach((R) => R.alpha = this.spLay.alpha), st(this, bs, qo).call(this, e), st(this, Es, Zo).call(this, e), st(this, ro, _h).call(this, e, (R) => {
|
|
31293
31311
|
R && H(qt, to).resume();
|
|
31294
31312
|
});
|
|
31295
31313
|
}
|
|
@@ -31339,10 +31357,10 @@ text-combine-upright: all;
|
|
|
31339
31357
|
}
|
|
31340
31358
|
clearText() {
|
|
31341
31359
|
var e;
|
|
31342
|
-
this.spLay.addChild(et(this, ee, H(this, ee).reNew())), et(this, Lr, 0), et(this, ir, !0), et(this, nr, []), et(this,
|
|
31360
|
+
this.spLay.addChild(et(this, ee, H(this, ee).reNew())), et(this, Lr, 0), et(this, ir, !0), et(this, nr, []), et(this, Ci, ""), H(e = qt, _s).call(e, "", !0);
|
|
31343
31361
|
}
|
|
31344
31362
|
get pageText() {
|
|
31345
|
-
return H(this,
|
|
31363
|
+
return H(this, Ci).replace("\u300A\u3000\u300B", "");
|
|
31346
31364
|
}
|
|
31347
31365
|
get enabled() {
|
|
31348
31366
|
return this.spLay.interactiveChildren;
|
|
@@ -31358,9 +31376,9 @@ text-combine-upright: all;
|
|
|
31358
31376
|
super.clearLay(e), this.clearText(), H(this, ke).removeChildren().forEach((o) => o.destroy());
|
|
31359
31377
|
}
|
|
31360
31378
|
playback(e, o) {
|
|
31361
|
-
super.playback(e, o), this.enabled = e.enabled, et(this, rr, e.r_align), this.cvsResize(), st(this, io,
|
|
31379
|
+
super.playback(e, o), this.enabled = e.enabled, et(this, rr, e.r_align), this.cvsResize(), st(this, io, mh).call(this, e), H(this, ee).playback(e.txs), et(this, er, e.b_alpha), et(this, hr, e.b_alpha_isfixed), o.push(new Promise((N) => {
|
|
31362
31380
|
const M = e.b_do ? e.b_do === "Sprite" ? { b_pic: e.b_pic } : { b_color: e.b_color } : { b_pic: "" };
|
|
31363
|
-
M.b_alpha = e.b_alpha, M.b_alpha_isfixed = e.b_alpha_isfixed, st(this, ro,
|
|
31381
|
+
M.b_alpha = e.b_alpha, M.b_alpha_isfixed = e.b_alpha_isfixed, st(this, ro, _h).call(this, M, (D) => {
|
|
31364
31382
|
D && N();
|
|
31365
31383
|
}) || N();
|
|
31366
31384
|
}));
|
|
@@ -31393,7 +31411,7 @@ text-combine-upright: all;
|
|
|
31393
31411
|
}
|
|
31394
31412
|
};
|
|
31395
31413
|
let TxtLayer = qt;
|
|
31396
|
-
gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(), Ja = new WeakSet(),
|
|
31414
|
+
gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(), Ja = new WeakSet(), vh = function(e) {
|
|
31397
31415
|
const o = TxtStage.ch_in_style(e), R = o.x.charAt(0) === "=" ? `${o.nx * 100}%` : `${o.nx}px`, N = o.y.charAt(0) === "=" ? `${o.ny * 100}%` : `${o.ny}px`, { name: M } = e;
|
|
31398
31416
|
return addStyle(`
|
|
31399
31417
|
.sn_ch_in_${M} {
|
|
@@ -31411,7 +31429,7 @@ gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(),
|
|
|
31411
31429
|
to {opacity: 1; transform: none;}
|
|
31412
31430
|
}
|
|
31413
31431
|
`), !1;
|
|
31414
|
-
}, Qa = new WeakSet(),
|
|
31432
|
+
}, Qa = new WeakSet(), gh = function(e) {
|
|
31415
31433
|
const o = TxtStage.ch_out_style(e), R = o.x.charAt(0) === "=" ? `${o.nx * 100}%` : `${o.nx}px`, N = o.y.charAt(0) === "=" ? `${o.ny * 100}%` : `${o.ny}px`, { name: M } = e;
|
|
31416
31434
|
return addStyle(`
|
|
31417
31435
|
.go_ch_out_${M} {
|
|
@@ -31425,7 +31443,7 @@ gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(),
|
|
|
31425
31443
|
transform: rotate(${o.rotate}deg) scale(${o.scale_x}, ${o.scale_y}) translate(${R}, ${N});
|
|
31426
31444
|
}
|
|
31427
31445
|
`), !1;
|
|
31428
|
-
}, to = new WeakMap(), ms = new WeakMap(), eo = new WeakMap(), ti = new WeakMap(), hn = new WeakMap(),
|
|
31446
|
+
}, to = new WeakMap(), ms = new WeakMap(), eo = new WeakMap(), ti = new WeakMap(), hn = new WeakMap(), Lu = new WeakSet(), cc = function(e) {
|
|
31429
31447
|
et(qt, ti, argChk_Boolean(e, "enabled", H(qt, ti))), H(qt, br).setVal_Nochk("save", "const.sn.autowc.enabled", H(qt, ti));
|
|
31430
31448
|
const { text: o } = e;
|
|
31431
31449
|
if ("text" in e != "time" in e)
|
|
@@ -31454,7 +31472,7 @@ gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(),
|
|
|
31454
31472
|
if (!TxtStage.getChOutStyle(o))
|
|
31455
31473
|
throw `\u5B58\u5728\u3057\u306A\u3044out_style\u3010${o}\u3011\u3067\u3059`;
|
|
31456
31474
|
et(this, Dr, o);
|
|
31457
|
-
}, Dr = new WeakMap(), ro = new WeakSet(),
|
|
31475
|
+
}, Dr = new WeakMap(), ro = new WeakSet(), _h = function(e, o) {
|
|
31458
31476
|
if ("back_clear" in e)
|
|
31459
31477
|
return argChk_Boolean(e, "back_clear", !1) && (et(this, Mr, 0), et(this, er, 0), et(this, hr, !1), et(this, Er, "")), o(!1), !1;
|
|
31460
31478
|
et(this, er, argChk_Num(e, "b_alpha", H(this, er))), et(this, hr, argChk_Boolean(e, "b_alpha_isfixed", H(this, hr)));
|
|
@@ -31470,10 +31488,10 @@ gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(),
|
|
|
31470
31488
|
0
|
|
31471
31489
|
), H(this, le).name = "back(color)");
|
|
31472
31490
|
return H(this, le) && (H(this, le).visible = R > 0, H(this, le).alpha = R), o(!1), !1;
|
|
31473
|
-
}, io = new WeakSet(),
|
|
31491
|
+
}, io = new WeakSet(), mh = function(e) {
|
|
31474
31492
|
var o, R;
|
|
31475
|
-
"noffs" in e && (et(this, dn, (o = e.noffs) != null ? o : ""), et(this, xs, new RegExp(`[\u3000${H(this, dn)}]`))), "ffs" in e && ((R = H(this,
|
|
31476
|
-
},
|
|
31493
|
+
"noffs" in e && (et(this, dn, (o = e.noffs) != null ? o : ""), et(this, xs, new RegExp(`[\u3000${H(this, dn)}]`))), "ffs" in e && ((R = H(this, xi)) != null || et(this, xi, ""), et(this, fn, H(this, xi) === "" ? () => "" : (N) => H(this, xs).test(N) ? "" : ` font-feature-settings: ${H(this, xi)};`));
|
|
31494
|
+
}, xi = new WeakMap(), fn = new WeakMap(), dn = new WeakMap(), xs = new WeakMap(), Ts = new WeakMap(), ei = new WeakMap(), rr = new WeakMap(), Fu = new WeakSet(), fc = function(e, o, R) {
|
|
31477
31495
|
if (!R)
|
|
31478
31496
|
return "";
|
|
31479
31497
|
const N = e.length * 2;
|
|
@@ -31508,10 +31526,10 @@ gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(),
|
|
|
31508
31526
|
}
|
|
31509
31527
|
return ` style='${M}'`;
|
|
31510
31528
|
}, Xe = new WeakMap(), Ss = new WeakMap(), Cs = new WeakSet(), Ko = function(e, o, R) {
|
|
31511
|
-
e === " " && (e = " "), H(qt, br).doRecLog() && et(this,
|
|
31512
|
-
const { cl: N, sty: M, lnk: D } = st(this,
|
|
31529
|
+
e === " " && (e = " "), H(qt, br).doRecLog() && et(this, Ci, H(this, Ci) + (e + (o ? `\u300A${o}\u300B` : "")));
|
|
31530
|
+
const { cl: N, sty: M, lnk: D } = st(this, Ti, kn).call(this, !0, null, e), L = `${D} data-add='{"ch_in_style":"${H(this, xr)}", "ch_out_style":"${H(this, Dr)}"}'`;
|
|
31513
31531
|
return `<span${N} style='${M}${H(this, fn).call(this, e)}'${o ? "" : L}>${o ? `<ruby${L}>${e}<rt${this.mkStyle_r_align(e, o, R)}>${o}</rt></ruby>` : e}</span>`;
|
|
31514
|
-
},
|
|
31532
|
+
}, Ti = new WeakSet(), kn = function(e, o, R = `
|
|
31515
31533
|
`) {
|
|
31516
31534
|
var D, L, B, $, k, U, z, X;
|
|
31517
31535
|
const N = (D = H(this, Fr).at(0)) == null ? void 0 : D.o.wait, M = H(this, cn) ? ((L = o != null ? o : N) != null ? L : H(qt, ti)) ? (B = H(qt, hn)[R.charAt(0)]) != null ? B : 0 : LayerMng.msecChWait : 0;
|
|
@@ -31527,24 +31545,24 @@ gs = new WeakMap(), br = new WeakMap(), _s = new WeakMap(), Ka = new WeakMap(),
|
|
|
31527
31545
|
ch_in_style: H(this, xr),
|
|
31528
31546
|
ch_out_style: H(this, Dr)
|
|
31529
31547
|
}), "r_align" in e && et(this, rr, e.r_align), st(this, bs, qo).call(this, e), st(this, Es, Zo).call(this, e);
|
|
31530
|
-
},
|
|
31548
|
+
}, Si = new WeakSet(), Gn = function() {
|
|
31531
31549
|
const e = H(this, Fr).pop();
|
|
31532
31550
|
!e || (et(this, rr, e.r_align), st(this, bs, qo).call(this, { in_style: e.ch_in_style }), st(this, Es, Zo).call(this, { out_style: e.ch_out_style }));
|
|
31533
|
-
},
|
|
31534
|
-
var ws, ri,
|
|
31551
|
+
}, Ci = new WeakMap(), it(TxtLayer, Ja), it(TxtLayer, Qa), it(TxtLayer, Lu), it(TxtLayer, gs, void 0), it(TxtLayer, br, void 0), it(TxtLayer, _s, void 0), it(TxtLayer, Ka, void 0), it(TxtLayer, to, void 0), it(TxtLayer, ms, void 0), it(TxtLayer, eo, void 0), it(TxtLayer, ti, !1), it(TxtLayer, hn, {}), it(TxtLayer, Ts, (e) => e);
|
|
31552
|
+
var ws, ri, Bu, dc, Rs, Ps, Qo, $u, pc, ku, vc, no, Gu, gc, Uu, mc;
|
|
31535
31553
|
class FrameMng {
|
|
31536
31554
|
constructor(t, e, o, R, N, M, D) {
|
|
31537
|
-
it(this, Fu);
|
|
31538
|
-
it(this, Ps);
|
|
31539
31555
|
it(this, Bu);
|
|
31556
|
+
it(this, Ps);
|
|
31540
31557
|
it(this, $u);
|
|
31541
31558
|
it(this, ku);
|
|
31542
31559
|
it(this, Gu);
|
|
31560
|
+
it(this, Uu);
|
|
31543
31561
|
it(this, ws, void 0);
|
|
31544
31562
|
it(this, ri, /* @__PURE__ */ Object.create(null));
|
|
31545
31563
|
it(this, Rs, {});
|
|
31546
31564
|
it(this, no, 1);
|
|
31547
|
-
this.cfg = t, this.appPixi = o, this.val = R, this.main = N, this.sys = M, this.hTwInf = D, e.add_frame = (L) => st(this,
|
|
31565
|
+
this.cfg = t, this.appPixi = o, this.val = R, this.main = N, this.sys = M, this.hTwInf = D, e.add_frame = (L) => st(this, Bu, dc).call(this, L), e.let_frame = (L) => st(this, $u, pc).call(this, L), e.set_frame = (L) => st(this, ku, vc).call(this, L), e.frame = (L) => st(this, Gu, gc).call(this, L), e.tsy_frame = (L) => st(this, Uu, mc).call(this, L);
|
|
31548
31566
|
}
|
|
31549
31567
|
setEvtMng(t) {
|
|
31550
31568
|
et(this, ws, t);
|
|
@@ -31566,7 +31584,7 @@ class FrameMng {
|
|
|
31566
31584
|
}
|
|
31567
31585
|
}
|
|
31568
31586
|
}
|
|
31569
|
-
ws = new WeakMap(), ri = new WeakMap(),
|
|
31587
|
+
ws = new WeakMap(), ri = new WeakMap(), Bu = new WeakSet(), dc = function(t) {
|
|
31570
31588
|
const { id: e, src: o, alpha: R = 1, scale_x: N = 1, scale_y: M = 1, rotate: D = 0 } = t;
|
|
31571
31589
|
if (!e)
|
|
31572
31590
|
throw "id\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -31609,7 +31627,7 @@ ws = new WeakMap(), ri = new WeakMap(), Fu = new WeakSet(), fc = function(t) {
|
|
|
31609
31627
|
argChk_Num(e, "width", CmnLib.stageW) * o,
|
|
31610
31628
|
argChk_Num(e, "height", CmnLib.stageH) * o
|
|
31611
31629
|
);
|
|
31612
|
-
},
|
|
31630
|
+
}, $u = new WeakSet(), pc = function(t) {
|
|
31613
31631
|
const { id: e, var_name: o } = t;
|
|
31614
31632
|
if (!e)
|
|
31615
31633
|
throw "id\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -31630,7 +31648,7 @@ ws = new WeakMap(), ri = new WeakMap(), Fu = new WeakSet(), fc = function(t) {
|
|
|
31630
31648
|
N + "." + o,
|
|
31631
31649
|
argChk_Boolean(t, "function", !1) ? D() : D
|
|
31632
31650
|
), !1;
|
|
31633
|
-
},
|
|
31651
|
+
}, ku = new WeakSet(), vc = function(t) {
|
|
31634
31652
|
const { id: e, var_name: o, text: R } = t;
|
|
31635
31653
|
if (!e)
|
|
31636
31654
|
throw "id\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -31647,7 +31665,7 @@ ws = new WeakMap(), ri = new WeakMap(), Fu = new WeakSet(), fc = function(t) {
|
|
|
31647
31665
|
this.val.setVal_Nochk("tmp", M + "." + o, R);
|
|
31648
31666
|
const D = N.contentWindow;
|
|
31649
31667
|
return D[o] = R, !1;
|
|
31650
|
-
}, no = new WeakMap(),
|
|
31668
|
+
}, no = new WeakMap(), Gu = new WeakSet(), gc = function(t) {
|
|
31651
31669
|
const { id: e } = t;
|
|
31652
31670
|
if (!e)
|
|
31653
31671
|
throw "id\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -31676,7 +31694,7 @@ ws = new WeakMap(), ri = new WeakMap(), Fu = new WeakSet(), fc = function(t) {
|
|
|
31676
31694
|
o.contentDocument.body.querySelectorAll("input,select").forEach((B) => B.disabled = D);
|
|
31677
31695
|
}
|
|
31678
31696
|
return !1;
|
|
31679
|
-
},
|
|
31697
|
+
}, Uu = new WeakSet(), mc = function(t) {
|
|
31680
31698
|
var W;
|
|
31681
31699
|
const { id: e } = t;
|
|
31682
31700
|
if (!e)
|
|
@@ -31729,34 +31747,33 @@ ${t.id}`, V = new Tween(N).to(D, argChk_Num(t, "time", NaN) * (Boolean(this.val.
|
|
|
31729
31747
|
V.start();
|
|
31730
31748
|
return this.hTwInf[X] = { tw: V, resume: !1 }, !1;
|
|
31731
31749
|
};
|
|
31732
|
-
var Tr, ie, ge,
|
|
31750
|
+
var Tr, ie, ge, Ii, pn, As, Os, Ns, vn, so, yh, ii, Br, Hu, yc, sr, zu, bc, ju, Ec, Vu, xc, Kt, Sr, Cr, Ms, Xu, Tc, Ds, tu, Wu, Sc, ao, Ls, oo, wi, Ri, $r, Se, Pi, Yu, Cc, Ce, Ge, Je, qu, Ic, Zu, wc, Ku, Rc, gn, ga, Ju, Pc, We, Qu, Ac, tl, Oc, el, Nc, rl, Mc, il, Dc, Ai, Oi, Un, cr, nl, Lc, Fs, sl, Fc, kr, Ni, Mi, Hn, Ir, wr, al, Bc, ol, $c, ul, kc, ll, Gc, hl, Uc, cl, Hc, fl, zc, dl, jc, pl, Vc, vl, Xc, gl, Wc, _l, Yc, ml, qc, yl, Zc, bl, Kc;
|
|
31733
31751
|
const Wi = class {
|
|
31734
31752
|
constructor(t, e, o, R, N, M, D, L, B, $) {
|
|
31735
31753
|
it(this, so);
|
|
31736
|
-
it(this, Uu);
|
|
31737
31754
|
it(this, Hu);
|
|
31738
31755
|
it(this, zu);
|
|
31739
31756
|
it(this, ju);
|
|
31740
31757
|
it(this, Vu);
|
|
31741
|
-
it(this, Ds);
|
|
31742
31758
|
it(this, Xu);
|
|
31759
|
+
it(this, Ds);
|
|
31743
31760
|
it(this, Wu);
|
|
31744
|
-
it(this, Ge);
|
|
31745
31761
|
it(this, Yu);
|
|
31762
|
+
it(this, Ge);
|
|
31746
31763
|
it(this, qu);
|
|
31747
31764
|
it(this, Zu);
|
|
31748
|
-
it(this, gn);
|
|
31749
31765
|
it(this, Ku);
|
|
31766
|
+
it(this, gn);
|
|
31750
31767
|
it(this, Ju);
|
|
31751
31768
|
it(this, Qu);
|
|
31752
31769
|
it(this, tl);
|
|
31753
31770
|
it(this, el);
|
|
31754
31771
|
it(this, rl);
|
|
31755
|
-
it(this, Ai);
|
|
31756
31772
|
it(this, il);
|
|
31773
|
+
it(this, Oi);
|
|
31757
31774
|
it(this, nl);
|
|
31758
|
-
it(this, Ni);
|
|
31759
31775
|
it(this, sl);
|
|
31776
|
+
it(this, Mi);
|
|
31760
31777
|
it(this, al);
|
|
31761
31778
|
it(this, ol);
|
|
31762
31779
|
it(this, ul);
|
|
@@ -31771,10 +31788,11 @@ const Wi = class {
|
|
|
31771
31788
|
it(this, _l);
|
|
31772
31789
|
it(this, ml);
|
|
31773
31790
|
it(this, yl);
|
|
31791
|
+
it(this, bl);
|
|
31774
31792
|
it(this, Tr, void 0);
|
|
31775
31793
|
it(this, ie, void 0);
|
|
31776
31794
|
it(this, ge, void 0);
|
|
31777
|
-
it(this,
|
|
31795
|
+
it(this, Ii, void 0);
|
|
31778
31796
|
it(this, pn, void 0);
|
|
31779
31797
|
it(this, As, void 0);
|
|
31780
31798
|
it(this, Os, void 0);
|
|
@@ -31790,17 +31808,17 @@ const Wi = class {
|
|
|
31790
31808
|
it(this, ao, void 0);
|
|
31791
31809
|
it(this, Ls, void 0);
|
|
31792
31810
|
it(this, oo, void 0);
|
|
31793
|
-
it(this, Ii, void 0);
|
|
31794
31811
|
it(this, wi, void 0);
|
|
31812
|
+
it(this, Ri, void 0);
|
|
31795
31813
|
it(this, $r, void 0);
|
|
31796
31814
|
it(this, Se, void 0);
|
|
31797
|
-
it(this,
|
|
31815
|
+
it(this, Pi, void 0);
|
|
31798
31816
|
it(this, Ce, void 0);
|
|
31799
31817
|
it(this, We, void 0);
|
|
31800
31818
|
it(this, cr, void 0);
|
|
31801
31819
|
it(this, Fs, void 0);
|
|
31802
31820
|
it(this, kr, void 0);
|
|
31803
|
-
it(this,
|
|
31821
|
+
it(this, Ni, void 0);
|
|
31804
31822
|
it(this, Ir, void 0);
|
|
31805
31823
|
it(this, wr, void 0);
|
|
31806
31824
|
this.cfg = t, this.hTag = e, this.appPixi = o, this.val = R, this.main = N, this.scrItr = M, this.sys = D, this.sndMng = L, this.alzTagArg = B, this.prpPrs = $, et(this, ie, new Container()), et(this, ge, new Container()), et(this, As, () => update()), et(this, Os, {
|
|
@@ -31810,10 +31828,10 @@ const Wi = class {
|
|
|
31810
31828
|
_enterDesign: (V) => (DesignCast.enterMode(), H(this, Sr).forEach((W) => {
|
|
31811
31829
|
const Y = H(this, Kt)[W].fore;
|
|
31812
31830
|
Y.makeDesignCastChildren((q) => q.make()), Y.makeDesignCast((q) => q.make());
|
|
31813
|
-
}), st(this, so,
|
|
31831
|
+
}), st(this, so, yh).call(this, H(this, Cr)), !1),
|
|
31814
31832
|
_replaceToken: (V, W) => (DesignCast.replaceToken(W), !1),
|
|
31815
|
-
_selectNode: (V, W) => (st(this, so,
|
|
31816
|
-
}), et(this, Ns, ""), et(this, vn, ""), this.getFrmDisabled = (V) => H(this,
|
|
31833
|
+
_selectNode: (V, W) => (st(this, so, yh).call(this, W.node), !1)
|
|
31834
|
+
}), et(this, Ns, ""), et(this, vn, ""), this.getFrmDisabled = (V) => H(this, Ii).getFrmDisabled(V), et(this, ii, void 0), et(this, sr, (V, W = this.currentTxtlayForeNeedErr, Y = !0) => W.tagCh("\uFF5C\u3000\u300A" + V + "\u300B")), this.goTxt = () => {
|
|
31817
31835
|
}, this.breakLine = () => {
|
|
31818
31836
|
}, this.breakPage = () => {
|
|
31819
31837
|
}, et(this, Kt, {}), et(this, Sr, []), et(this, Cr, ""), et(this, Ms, ""), et(this, ao, `
|
|
@@ -31850,17 +31868,17 @@ void main(void) {
|
|
|
31850
31868
|
rule: Texture.EMPTY,
|
|
31851
31869
|
vague: 0,
|
|
31852
31870
|
tick: 0
|
|
31853
|
-
}), et(this, oo, new Filter(void 0, H(this, ao), H(this, Ls))), et(this,
|
|
31871
|
+
}), et(this, oo, new Filter(void 0, H(this, ao), H(this, Ls))), et(this, wi, RenderTexture.create({
|
|
31854
31872
|
width: CmnLib.stageW,
|
|
31855
31873
|
height: CmnLib.stageH
|
|
31856
|
-
})), et(this,
|
|
31874
|
+
})), et(this, Ri, new Sprite(H(this, wi))), et(this, $r, RenderTexture.create({
|
|
31857
31875
|
width: CmnLib.stageW,
|
|
31858
31876
|
height: CmnLib.stageH
|
|
31859
|
-
})), et(this, Se, new Sprite(H(this, $r))), et(this,
|
|
31860
|
-
throw H(this,
|
|
31877
|
+
})), et(this, Se, new Sprite(H(this, $r))), et(this, Pi, []), et(this, Ce, { tw: void 0, resume: !1 }), et(this, We, {}), et(this, cr, (V) => {
|
|
31878
|
+
throw H(this, Ni).call(this), 0;
|
|
31861
31879
|
}), et(this, Fs, (V) => {
|
|
31862
|
-
throw H(this,
|
|
31863
|
-
}), et(this,
|
|
31880
|
+
throw H(this, Ni).call(this), 0;
|
|
31881
|
+
}), et(this, Ni, () => {
|
|
31864
31882
|
throw "\u6587\u5B57\u30EC\u30A4\u30E4\u30FC\u304C\u3042\u308A\u307E\u305B\u3093\u3002\u6587\u5B57\u8868\u793A\u3084\u64CD\u4F5C\u3059\u308B\u524D\u306B\u3001[add_lay layer=\uFF08\u30EC\u30A4\u30E4\u540D\uFF09 class=txt]\u3067\u6587\u5B57\u30EC\u30A4\u30E4\u3092\u8FFD\u52A0\u3057\u3066\u4E0B\u3055\u3044";
|
|
31865
31883
|
}), et(this, Ir, { text: "" }), et(this, wr, []);
|
|
31866
31884
|
const k = () => {
|
|
@@ -31868,7 +31886,7 @@ void main(void) {
|
|
|
31868
31886
|
(V) => H(this, Kt)[V].fore.cvsResizeChildren()
|
|
31869
31887
|
) : H(this, Sr).forEach(
|
|
31870
31888
|
(V) => H(this, Kt)[V].fore.cvsResize()
|
|
31871
|
-
), H(this,
|
|
31889
|
+
), H(this, Ii).cvsResize(), H(this, Br).cvsResize();
|
|
31872
31890
|
};
|
|
31873
31891
|
if (CmnLib.isMobile)
|
|
31874
31892
|
globalThis.addEventListener("orientationchange", k, { passive: !0 });
|
|
@@ -31880,11 +31898,11 @@ void main(void) {
|
|
|
31880
31898
|
}, 1e3 / 60 * 10));
|
|
31881
31899
|
}, { passive: !0 });
|
|
31882
31900
|
}
|
|
31883
|
-
D.cvsResize(), TxtLayer.init(t, e, R, (V) => this.recText(V), (V) => H(this, Kt)[V.layname].fore === V, o), GrpLayer.init(N, t, o, D, L), Button.init(t), et(this,
|
|
31901
|
+
D.cvsResize(), TxtLayer.init(t, e, R, (V) => this.recText(V), (V) => H(this, Kt)[V.layname].fore === V, o), GrpLayer.init(N, t, o, D, L), Button.init(t), et(this, Ii, new FrameMng(this.cfg, this.hTag, this.appPixi, this.val, N, this.sys, H(this, We))), D.hFactoryCls.grp = () => new GrpLayer(), D.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (V) => st(this, ju, Ec).call(this, V), e.snapshot = (V) => st(this, zu, bc).call(this, V), e.add_lay = (V) => st(this, Vu, xc).call(this, V), e.clear_lay = (V) => st(this, Wu, Sc).call(this, V), e.finish_trans = () => st(this, gn, ga).call(this), e.lay = (V) => st(this, Xu, Tc).call(this, V), e.trans = (V) => st(this, Yu, Cc).call(this, V), e.wt = (V) => st(this, Ku, Rc).call(this, V), e.quake = (V) => st(this, Ju, Pc).call(this, V), e.stop_quake = (V) => e.finish_trans(V), e.wq = (V) => e.wt(V), e.pause_tsy = (V) => st(this, rl, Mc).call(this, V), e.resume_tsy = (V) => st(this, il, Dc).call(this, V), e.stop_tsy = (V) => st(this, el, Nc).call(this, V), e.tsy = (V) => st(this, Qu, Ac).call(this, V), e.wait_tsy = (V) => st(this, tl, Oc).call(this, V), e.ch = (V) => st(this, Oi, Un).call(this, V), e.clear_text = (V) => st(this, al, Bc).call(this, V), e.current = (V) => H(this, Fs).call(this, V), e.endlink = (V) => st(this, ol, $c).call(this, V), e.er = (V) => st(this, ul, kc).call(this, V), e.graph = (V) => st(this, ll, Gc).call(this, V), e.link = (V) => st(this, hl, Uc).call(this, V), e.r = (V) => st(this, cl, Hc).call(this, V), e.rec_ch = (V) => st(this, dl, jc).call(this, V), e.rec_r = () => st(this, fl, zc).call(this), e.reset_rec = (V) => st(this, pl, Vc).call(this, V), e.ruby2 = (V) => st(this, vl, Xc).call(this, V), e.span = (V) => st(this, gl, Wc).call(this, V), e.tcy = (V) => st(this, _l, Yc).call(this, V), e.add_face = (V) => GrpLayer.add_face(V), e.wv = (V) => GrpLayer.wv(V), e.dump_lay = (V) => st(this, ml, qc).call(this, V), e.enable_event = (V) => st(this, yl, Zc).call(this, V), e.button = (V) => st(this, bl, Kc).call(this, V), t.existsBreakline && (this.breakLine = () => H(this, sr).call(this, 'grp\uFF5C{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => H(this, sr).call(this, 'grp\uFF5C{"id":"break","pic":"breakpage"}')), et(this, pn, parseColor(String(t.oCfg.init.bg_color)));
|
|
31884
31902
|
const U = new Graphics();
|
|
31885
|
-
U.beginFill(H(this, pn), 1).lineStyle(0, H(this, pn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), H(this, ie).addChild(U.clone()), H(this, ge).addChild(U), H(this, ge).visible = !1, et(this, Tr, this.appPixi.stage), H(this, Tr).addChild(H(this, ge)), H(this, Tr).addChild(H(this, ie)), H(this, Tr).addChild(H(this,
|
|
31903
|
+
U.beginFill(H(this, pn), 1).lineStyle(0, H(this, pn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), H(this, ie).addChild(U.clone()), H(this, ge).addChild(U), H(this, ge).visible = !1, et(this, Tr, this.appPixi.stage), H(this, Tr).addChild(H(this, ge)), H(this, Tr).addChild(H(this, ie)), H(this, Tr).addChild(H(this, Ri)), H(this, Tr).addChild(H(this, Se)), this.appPixi.ticker.add(H(this, As));
|
|
31886
31904
|
const z = (V, W) => {
|
|
31887
|
-
st(this,
|
|
31905
|
+
st(this, Hu, yc).call(this, Number(W));
|
|
31888
31906
|
};
|
|
31889
31907
|
z("", R.getVal("sys:TextLayer.Back.Alpha", 1)), R.defValTrg("sys:TextLayer.Back.Alpha", z);
|
|
31890
31908
|
const X = (V, W) => Button.fontFamily = W;
|
|
@@ -31906,14 +31924,14 @@ void main(void) {
|
|
|
31906
31924
|
);
|
|
31907
31925
|
}
|
|
31908
31926
|
setEvtMng(t) {
|
|
31909
|
-
et(this, Br, t), H(this,
|
|
31927
|
+
et(this, Br, t), H(this, Ii).setEvtMng(t), GrpLayer.setEvtMng(t);
|
|
31910
31928
|
}
|
|
31911
31929
|
before_destroy() {
|
|
31912
31930
|
for (const t in H(this, Kt))
|
|
31913
31931
|
H(this, Kt)[t].destroy();
|
|
31914
31932
|
}
|
|
31915
31933
|
destroy() {
|
|
31916
|
-
GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), H(this,
|
|
31934
|
+
GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), H(this, Ii).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(H(this, As)), et(Wi, Ai, 10);
|
|
31917
31935
|
}
|
|
31918
31936
|
stopAllTw() {
|
|
31919
31937
|
et(this, We, {}), removeAll();
|
|
@@ -31934,16 +31952,16 @@ void main(void) {
|
|
|
31934
31952
|
}
|
|
31935
31953
|
}
|
|
31936
31954
|
static get msecChWait() {
|
|
31937
|
-
return H(Wi,
|
|
31955
|
+
return H(Wi, Ai);
|
|
31938
31956
|
}
|
|
31939
31957
|
static set msecChWait(t) {
|
|
31940
|
-
et(Wi,
|
|
31958
|
+
et(Wi, Ai, t);
|
|
31941
31959
|
}
|
|
31942
31960
|
setNormalChWait() {
|
|
31943
|
-
et(Wi,
|
|
31961
|
+
et(Wi, Ai, this.scrItr.normalWait);
|
|
31944
31962
|
}
|
|
31945
31963
|
get currentTxtlayForeNeedErr() {
|
|
31946
|
-
return H(this,
|
|
31964
|
+
return H(this, Ni).call(this), this.currentTxtlayFore;
|
|
31947
31965
|
}
|
|
31948
31966
|
get currentTxtlayFore() {
|
|
31949
31967
|
if (!!H(this, kr))
|
|
@@ -31997,18 +32015,18 @@ void main(void) {
|
|
|
31997
32015
|
}
|
|
31998
32016
|
};
|
|
31999
32017
|
let LayerMng = Wi;
|
|
32000
|
-
Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(),
|
|
32018
|
+
Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ii = new WeakMap(), pn = new WeakMap(), As = new WeakMap(), Os = new WeakMap(), Ns = new WeakMap(), vn = new WeakMap(), so = new WeakSet(), yh = function(t) {
|
|
32001
32019
|
[Re(this, Ns)._, this.vn = ""] = t.split("/");
|
|
32002
32020
|
const e = H(this, Kt)[H(this, Ns)];
|
|
32003
32021
|
!e || (DesignCast.allHide(), H(this, vn) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
32004
|
-
}, ii = new WeakMap(), Br = new WeakMap(),
|
|
32022
|
+
}, ii = new WeakMap(), Br = new WeakMap(), Hu = new WeakSet(), yc = function(t) {
|
|
32005
32023
|
st(this, Ge, Je).call(this).forEach((e) => {
|
|
32006
32024
|
const o = H(this, Kt)[e];
|
|
32007
32025
|
if (!(o.fore instanceof TxtLayer))
|
|
32008
32026
|
return;
|
|
32009
32027
|
o.fore.chgBackAlpha(t), o.back.chgBackAlpha(t);
|
|
32010
32028
|
});
|
|
32011
|
-
}, sr = new WeakMap(),
|
|
32029
|
+
}, sr = new WeakMap(), zu = new WeakSet(), bc = function(t) {
|
|
32012
32030
|
const e = t.fn ? t.fn.slice(0, 10) === "userdata:/" ? t.fn : `downloads:/${t.fn + getDateStr("-", "_", "", "_")}.png` : `downloads:/snapshot${getDateStr("-", "_", "", "_")}.png`, o = this.cfg.searchPath(e);
|
|
32013
32031
|
if (this.sys.canCapturePage(o))
|
|
32014
32032
|
return !1;
|
|
@@ -32022,7 +32040,7 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32022
32040
|
autoDensity: !0
|
|
32023
32041
|
}), D = [], L = t.page !== "back" ? "fore" : "back";
|
|
32024
32042
|
return H(this, Ce).tw ? D.push(new Promise((B) => {
|
|
32025
|
-
H(this, ge).visible = !0, H(this,
|
|
32043
|
+
H(this, ge).visible = !0, H(this, Pi).forEach(($) => M.render($, { clear: !1 })), H(this, ge).visible = !1, H(this, Ri).visible = !0, H(this, ie).filters = H(this, Se).filters, H(this, ie).visible = !0, M.render(H(this, ie), { clear: !1 }), H(this, ie).visible = !1, H(this, ie).filters = [], B();
|
|
32026
32044
|
})) : st(this, Ge, Je).call(this, t.layer).forEach((B) => D.push(new Promise(
|
|
32027
32045
|
($) => H(this, Kt)[B][L].snapshot(M, () => $())
|
|
32028
32046
|
))), Promise.allSettled(D).then(async () => {
|
|
@@ -32032,7 +32050,7 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32032
32050
|
M.plugins.extract.base64(Sprite.from(B))
|
|
32033
32051
|
), H(this, Ce).tw || st(this, Ge, Je).call(this, t.layer).forEach(($) => H(this, Kt)[$][L].snapshot_end()), M.destroy(!0);
|
|
32034
32052
|
}), !1;
|
|
32035
|
-
},
|
|
32053
|
+
}, ju = new WeakSet(), Ec = function(t) {
|
|
32036
32054
|
const { fn: e } = t;
|
|
32037
32055
|
if (!e)
|
|
32038
32056
|
throw "fn\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -32050,7 +32068,7 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32050
32068
|
throw "\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u306A\u3044\u62E1\u5F35\u5B50\u3067\u3059";
|
|
32051
32069
|
}
|
|
32052
32070
|
return o;
|
|
32053
|
-
},
|
|
32071
|
+
}, Vu = new WeakSet(), xc = function(t) {
|
|
32054
32072
|
const { layer: e, class: o } = t;
|
|
32055
32073
|
if (!e)
|
|
32056
32074
|
throw "layer\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -32063,9 +32081,9 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32063
32081
|
const R = { isWait: !1 };
|
|
32064
32082
|
switch (H(this, Kt)[e] = new Pages(e, o, H(this, ie), H(this, ge), t, this.sys, this.val, R), H(this, Sr).push(e), o) {
|
|
32065
32083
|
case "txt":
|
|
32066
|
-
H(this, Cr) || (et(this,
|
|
32067
|
-
}), et(this, cr, st(this,
|
|
32068
|
-
this.val.getVal("sn.skip.enabled") ? et(Wi,
|
|
32084
|
+
H(this, Cr) || (et(this, Ni, () => {
|
|
32085
|
+
}), et(this, cr, st(this, nl, Lc)), et(this, Fs, st(this, sl, Fc)), this.hTag.current({ layer: e }), this.goTxt = () => {
|
|
32086
|
+
this.val.getVal("sn.skip.enabled") ? et(Wi, Ai, 0) : this.setNormalChWait(), st(this, Ge, Je).call(this).forEach((N) => {
|
|
32069
32087
|
const M = H(this, Kt)[N];
|
|
32070
32088
|
M.fore instanceof TxtLayer && H(this, sr).call(this, "gotxt\uFF5C", M.fore, !1);
|
|
32071
32089
|
});
|
|
@@ -32082,8 +32100,8 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32082
32100
|
break;
|
|
32083
32101
|
}
|
|
32084
32102
|
return this.scrItr.recodeDesign(t), R.isWait;
|
|
32085
|
-
}, Kt = new WeakMap(), Sr = new WeakMap(), Cr = new WeakMap(), Ms = new WeakMap(),
|
|
32086
|
-
const e = st(this,
|
|
32103
|
+
}, Kt = new WeakMap(), Sr = new WeakMap(), Cr = new WeakMap(), Ms = new WeakMap(), Xu = new WeakSet(), Tc = function(t) {
|
|
32104
|
+
const e = st(this, Mi, Hn).call(this, t), o = H(this, Kt)[e], R = o.back.spLay, N = o.fore.spLay;
|
|
32087
32105
|
if (argChk_Boolean(t, "float", !1))
|
|
32088
32106
|
H(this, ge).setChildIndex(R, H(this, ge).children.length - 1), H(this, ie).setChildIndex(N, H(this, ie).children.length - 1), st(this, Ds, tu).call(this);
|
|
32089
32107
|
else if (t.index)
|
|
@@ -32101,16 +32119,16 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32101
32119
|
}
|
|
32102
32120
|
return t[":id_tag"] = o.fore.name.slice(0, -7), this.scrItr.recodeDesign(t), o.lay(t);
|
|
32103
32121
|
}, Ds = new WeakSet(), tu = function() {
|
|
32104
|
-
et(this, Sr, st(this,
|
|
32105
|
-
},
|
|
32106
|
-
return st(this,
|
|
32107
|
-
const o = H(this, Kt)[st(this,
|
|
32122
|
+
et(this, Sr, st(this, Zu, wc).call(this));
|
|
32123
|
+
}, Wu = new WeakSet(), Sc = function(t) {
|
|
32124
|
+
return st(this, qu, Ic).call(this, t, (e) => {
|
|
32125
|
+
const o = H(this, Kt)[st(this, Mi, Hn).call(this, { layer: e })];
|
|
32108
32126
|
t.page === "both" ? (o.fore.clearLay(t), o.back.clearLay(t)) : o.getPage(t).clearLay(t);
|
|
32109
32127
|
}), !1;
|
|
32110
|
-
}, ao = new WeakMap(), Ls = new WeakMap(), oo = new WeakMap(),
|
|
32128
|
+
}, ao = new WeakMap(), Ls = new WeakMap(), oo = new WeakMap(), wi = new WeakMap(), Ri = new WeakMap(), $r = new WeakMap(), Se = new WeakMap(), Pi = new WeakMap(), Yu = new WeakSet(), Cc = function(t) {
|
|
32111
32129
|
st(this, gn, ga).call(this);
|
|
32112
32130
|
const e = CmnTween.ease(t.ease);
|
|
32113
|
-
et(this,
|
|
32131
|
+
et(this, Pi, []);
|
|
32114
32132
|
const o = {}, R = [];
|
|
32115
32133
|
st(this, Ge, Je).call(this, t.layer).forEach((z) => {
|
|
32116
32134
|
o[z] = !0, R.push(H(this, Kt)[z].fore);
|
|
@@ -32118,11 +32136,11 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32118
32136
|
const N = [];
|
|
32119
32137
|
st(this, Ge, Je).call(this).forEach((z) => {
|
|
32120
32138
|
const X = H(this, Kt)[z][o[z] ? "back" : "fore"];
|
|
32121
|
-
H(this,
|
|
32122
|
-
}), H(this,
|
|
32139
|
+
H(this, Pi).push(X.spLay), N.push(X);
|
|
32140
|
+
}), H(this, wi).resize(CmnLib.stageW, CmnLib.stageH), this.appPixi.renderer.render(H(this, ge), { renderTexture: H(this, wi) });
|
|
32123
32141
|
let M = () => {
|
|
32124
|
-
H(this, ge).visible = !0, H(this,
|
|
32125
|
-
this.appPixi.renderer.render(z, { renderTexture: H(this,
|
|
32142
|
+
H(this, ge).visible = !0, H(this, Pi).forEach((z) => {
|
|
32143
|
+
this.appPixi.renderer.render(z, { renderTexture: H(this, wi), clear: !1 });
|
|
32126
32144
|
}), H(this, ge).visible = !1;
|
|
32127
32145
|
};
|
|
32128
32146
|
if (!N.some((z) => z.containMovement)) {
|
|
@@ -32144,7 +32162,7 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32144
32162
|
};
|
|
32145
32163
|
}
|
|
32146
32164
|
const L = () => {
|
|
32147
|
-
M(), H(this,
|
|
32165
|
+
M(), H(this, Ri).visible = !0, D(), H(this, Se).visible = !0;
|
|
32148
32166
|
};
|
|
32149
32167
|
H(this, Se).alpha = 1;
|
|
32150
32168
|
const B = () => {
|
|
@@ -32160,7 +32178,7 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32160
32178
|
const Y = H(this, ie).getChildIndex(W.back.spLay);
|
|
32161
32179
|
H(this, ie).removeChild(W.back.spLay), H(this, ge).removeChild(W.fore.spLay), H(this, ie).addChildAt(W.fore.spLay, Y), H(this, ge).addChildAt(W.back.spLay, Y);
|
|
32162
32180
|
}
|
|
32163
|
-
Promise.allSettled(z), H(this, ie).visible = !0, H(this, ge).visible = !1, H(this,
|
|
32181
|
+
Promise.allSettled(z), H(this, ie).visible = !0, H(this, ge).visible = !1, H(this, Ri).visible = !1, H(this, Se).visible = !1, (X = H(this, Ce).tw) == null || X.stop(), H(this, Ce).resume && this.main.resume(), et(this, Ce, { tw: void 0, resume: !1 });
|
|
32164
32182
|
};
|
|
32165
32183
|
et(this, Ce, { tw: void 0, resume: !1 });
|
|
32166
32184
|
const $ = argChk_Num(t, "time", 0);
|
|
@@ -32180,7 +32198,7 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32180
32198
|
}), !1;
|
|
32181
32199
|
}, Ce = new WeakMap(), Ge = new WeakSet(), Je = function(t = "") {
|
|
32182
32200
|
return t ? t.split(",") : H(this, Sr);
|
|
32183
|
-
},
|
|
32201
|
+
}, qu = new WeakSet(), Ic = function(t, e) {
|
|
32184
32202
|
const o = st(this, Ge, Je).call(this, t.layer);
|
|
32185
32203
|
return o.forEach((R) => {
|
|
32186
32204
|
if (!R)
|
|
@@ -32190,17 +32208,17 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32190
32208
|
throw "\u5B58\u5728\u3057\u306A\u3044layer\u3010" + R + "\u3011\u3067\u3059";
|
|
32191
32209
|
e(R, N);
|
|
32192
32210
|
}), o;
|
|
32193
|
-
},
|
|
32211
|
+
}, Zu = new WeakSet(), wc = function(t = "") {
|
|
32194
32212
|
return st(this, Ge, Je).call(this, t).sort((e, o) => {
|
|
32195
32213
|
const R = H(this, ie).getChildIndex(H(this, Kt)[e].fore.spLay), N = H(this, ie).getChildIndex(H(this, Kt)[o].fore.spLay);
|
|
32196
32214
|
return R < N ? -1 : R > N ? 1 : 0;
|
|
32197
32215
|
});
|
|
32198
|
-
},
|
|
32216
|
+
}, Ku = new WeakSet(), Rc = function(t) {
|
|
32199
32217
|
return H(this, Ce).tw ? (H(this, Ce).resume = !0, H(this, Br).waitLimitedEvent(t, () => st(this, gn, ga).call(this))) : !1;
|
|
32200
32218
|
}, gn = new WeakSet(), ga = function() {
|
|
32201
32219
|
var t;
|
|
32202
32220
|
return (t = H(this, Ce).tw) == null || t.end(), !1;
|
|
32203
|
-
},
|
|
32221
|
+
}, Ju = new WeakSet(), Pc = function(t) {
|
|
32204
32222
|
st(this, gn, ga).call(this);
|
|
32205
32223
|
const e = argChk_Num(t, "time", NaN);
|
|
32206
32224
|
if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || H(this, Br).isSkippingByKeyDown())
|
|
@@ -32226,11 +32244,11 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32226
32244
|
(k = this.appPixi.ticker) == null || k.remove(R), H(this, ie).visible = !0, H(this, Se).visible = !1, H(this, Se).x = 0, H(this, Se).y = 0, (U = H(this, Ce).tw) == null || U.stop(), H(this, Ce).resume && this.main.resume(), et(this, Ce, { tw: void 0, resume: !1 });
|
|
32227
32245
|
}).start();
|
|
32228
32246
|
return et(this, Ce, { tw: $, resume: !1 }), this.appPixi.ticker.add(R), !1;
|
|
32229
|
-
}, We = new WeakMap(),
|
|
32247
|
+
}, We = new WeakMap(), Qu = new WeakSet(), Ac = function(t) {
|
|
32230
32248
|
var U, z;
|
|
32231
32249
|
if (!t.layer)
|
|
32232
32250
|
throw "layer\u306F\u5FC5\u9808\u3067\u3059";
|
|
32233
|
-
const e = st(this,
|
|
32251
|
+
const e = st(this, Mi, Hn).call(this, t);
|
|
32234
32252
|
let o = H(this, Kt)[e].fore, R = () => {
|
|
32235
32253
|
};
|
|
32236
32254
|
const N = H(this, Br).isSkippingByKeyDown();
|
|
@@ -32255,7 +32273,7 @@ Tr = new WeakMap(), ie = new WeakMap(), ge = new WeakMap(), Ci = new WeakMap(),
|
|
|
32255
32273
|
X[V] = o[V];
|
|
32256
32274
|
}
|
|
32257
32275
|
} }, !1;
|
|
32258
|
-
},
|
|
32276
|
+
}, tl = new WeakSet(), Oc = function(t) {
|
|
32259
32277
|
var R;
|
|
32260
32278
|
const e = "id" in t ? `frm
|
|
32261
32279
|
${t.id}` : (R = t.name) != null ? R : t.layer;
|
|
@@ -32270,28 +32288,28 @@ ${t.id}` : (R = t.name) != null ? R : t.layer;
|
|
|
32270
32288
|
argChk_Boolean(t, "canskip", !0),
|
|
32271
32289
|
argChk_Boolean(t, "global", !1)
|
|
32272
32290
|
) : !1;
|
|
32273
|
-
},
|
|
32291
|
+
}, el = new WeakSet(), Nc = function(t) {
|
|
32274
32292
|
var o, R, N;
|
|
32275
32293
|
const e = "id" in t ? `frm
|
|
32276
32294
|
${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
32277
32295
|
if (!e)
|
|
32278
32296
|
throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
|
|
32279
32297
|
return (N = (R = H(this, We)[e]) == null ? void 0 : R.tw) == null || N.end(), !1;
|
|
32280
|
-
},
|
|
32298
|
+
}, rl = new WeakSet(), Mc = function(t) {
|
|
32281
32299
|
var o, R, N;
|
|
32282
32300
|
const e = "id" in t ? `frm
|
|
32283
32301
|
${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
32284
32302
|
if (!e)
|
|
32285
32303
|
throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
|
|
32286
32304
|
return (N = (R = H(this, We)[e]) == null ? void 0 : R.tw) == null || N.pause(), !1;
|
|
32287
|
-
},
|
|
32305
|
+
}, il = new WeakSet(), Dc = function(t) {
|
|
32288
32306
|
var o, R, N;
|
|
32289
32307
|
const e = "id" in t ? `frm
|
|
32290
32308
|
${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
32291
32309
|
if (!e)
|
|
32292
32310
|
throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
|
|
32293
32311
|
return (N = (R = H(this, We)[e]) == null ? void 0 : R.tw) == null || N.resume(), !1;
|
|
32294
|
-
},
|
|
32312
|
+
}, Ai = new WeakMap(), Oi = new WeakSet(), Un = function(t) {
|
|
32295
32313
|
const { text: e } = t;
|
|
32296
32314
|
if (!e)
|
|
32297
32315
|
throw "text\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -32300,12 +32318,12 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
|
32300
32318
|
const R = argChk_Boolean(t, "record", !0), N = this.val.doRecLog();
|
|
32301
32319
|
return R || this.val.setVal_Nochk("save", "sn.doRecLog", R), o.tagCh(e.replaceAll("[r]", `
|
|
32302
32320
|
`)), R || this.val.setVal_Nochk("save", "sn.doRecLog", N), H(this, sr).call(this, "add_close\uFF5C", o), !1;
|
|
32303
|
-
}, cr = new WeakMap(),
|
|
32304
|
-
const e = st(this,
|
|
32321
|
+
}, cr = new WeakMap(), nl = new WeakSet(), Lc = function(t) {
|
|
32322
|
+
const e = st(this, Mi, Hn).call(this, t, H(this, Cr)), R = H(this, Kt)[e].getPage(t);
|
|
32305
32323
|
if (!(R instanceof TxtLayer))
|
|
32306
32324
|
throw e + "\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093";
|
|
32307
32325
|
return R;
|
|
32308
|
-
}, Fs = new WeakMap(),
|
|
32326
|
+
}, Fs = new WeakMap(), sl = new WeakSet(), Fc = function(t) {
|
|
32309
32327
|
const { layer: e } = t;
|
|
32310
32328
|
if (!e)
|
|
32311
32329
|
throw "[current] layer\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -32315,7 +32333,7 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
|
32315
32333
|
const R = H(this, Kt)[o];
|
|
32316
32334
|
R.fore instanceof TxtLayer && (R.fore.isCur = R.back.isCur = o === e);
|
|
32317
32335
|
}), !1;
|
|
32318
|
-
}, kr = new WeakMap(),
|
|
32336
|
+
}, kr = new WeakMap(), Ni = new WeakMap(), Mi = new WeakSet(), Hn = function(t, e = "") {
|
|
32319
32337
|
var R;
|
|
32320
32338
|
const o = (R = t.layer) != null ? R : e;
|
|
32321
32339
|
if (o.includes(","))
|
|
@@ -32323,50 +32341,50 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
|
32323
32341
|
if (!(o in H(this, Kt)))
|
|
32324
32342
|
throw "\u5C5E\u6027 layer\u3010" + o + "\u3011\u304C\u4E0D\u6B63\u3067\u3059\u3002\u30EC\u30A4\u30E4\u30FC\u304C\u3042\u308A\u307E\u305B\u3093";
|
|
32325
32343
|
return t.layer = o;
|
|
32326
|
-
}, Ir = new WeakMap(), wr = new WeakMap(),
|
|
32344
|
+
}, Ir = new WeakMap(), wr = new WeakMap(), al = new WeakSet(), Bc = function(t) {
|
|
32327
32345
|
const e = H(this, cr).call(this, t);
|
|
32328
32346
|
return t.layer === H(this, Cr) && t.page === "fore" && this.recText("", !0), e.clearText(), !1;
|
|
32329
|
-
}, al = new WeakSet(), Bc = function(t) {
|
|
32330
|
-
return H(this, sr).call(this, "endlink\uFF5C", H(this, cr).call(this, t)), !1;
|
|
32331
32347
|
}, ol = new WeakSet(), $c = function(t) {
|
|
32332
|
-
return
|
|
32348
|
+
return H(this, sr).call(this, "endlink\uFF5C", H(this, cr).call(this, t)), !1;
|
|
32333
32349
|
}, ul = new WeakSet(), kc = function(t) {
|
|
32350
|
+
return argChk_Boolean(t, "rec_page_break", !0) && this.recText("", !0), H(this, kr) && (H(this, kr).fore.clearLay(t), H(this, kr).back.clearLay(t)), !1;
|
|
32351
|
+
}, ll = new WeakSet(), Gc = function(t) {
|
|
32334
32352
|
if (!t.pic)
|
|
32335
32353
|
throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
|
|
32336
|
-
return t.text = "\uFF5C\u3000\u300Agrp\uFF5C" + JSON.stringify(t) + "\u300B", st(this,
|
|
32337
|
-
},
|
|
32354
|
+
return t.text = "\uFF5C\u3000\u300Agrp\uFF5C" + JSON.stringify(t) + "\u300B", st(this, Oi, Un).call(this, t);
|
|
32355
|
+
}, hl = new WeakSet(), Uc = function(t) {
|
|
32338
32356
|
var e, o, R;
|
|
32339
32357
|
return (e = t.style) != null || (t.style = "background-color: rgba(255,0,0,0.5);"), (o = t.style_hover) != null || (t.style_hover = "background-color: rgba(255,0,0,0.9);"), (R = t.style_clicked) != null || (t.style_clicked = t.style), H(this, sr).call(this, "link\uFF5C" + JSON.stringify(t), H(this, cr).call(this, t)), !1;
|
|
32340
|
-
},
|
|
32358
|
+
}, cl = new WeakSet(), Hc = function(t) {
|
|
32341
32359
|
return t.text = `
|
|
32342
|
-
`, st(this,
|
|
32343
|
-
},
|
|
32360
|
+
`, st(this, Oi, Un).call(this, t);
|
|
32361
|
+
}, fl = new WeakSet(), zc = function() {
|
|
32344
32362
|
return this.recText(`
|
|
32345
32363
|
`), !1;
|
|
32346
|
-
},
|
|
32364
|
+
}, dl = new WeakSet(), jc = function(t) {
|
|
32347
32365
|
var e;
|
|
32348
32366
|
return et(this, Ir, t), this.recText((e = t.text) != null ? e : ""), !1;
|
|
32349
|
-
},
|
|
32367
|
+
}, pl = new WeakSet(), Vc = function(t) {
|
|
32350
32368
|
var e;
|
|
32351
32369
|
return et(this, wr, []), et(this, Ir, { text: (e = t.text) != null ? e : "" }), this.val.setVal_Nochk(
|
|
32352
32370
|
"save",
|
|
32353
32371
|
"const.sn.sLog",
|
|
32354
32372
|
t.text ? `[{text:"${t.text}"}]` : "[]"
|
|
32355
32373
|
), !1;
|
|
32356
|
-
},
|
|
32374
|
+
}, vl = new WeakSet(), Xc = function(t) {
|
|
32357
32375
|
const { t: e, r: o } = t;
|
|
32358
32376
|
if (!e)
|
|
32359
32377
|
throw "[ruby2] t\u306F\u5FC5\u9808\u3067\u3059";
|
|
32360
32378
|
if (!o)
|
|
32361
32379
|
throw "[ruby2] r\u306F\u5FC5\u9808\u3067\u3059";
|
|
32362
|
-
return t.text = "\uFF5C" + e + "\u300A" + o + "\u300B", st(this,
|
|
32363
|
-
}, vl = new WeakSet(), Xc = function(t) {
|
|
32364
|
-
return H(this, sr).call(this, "span\uFF5C" + JSON.stringify(t), H(this, cr).call(this, t)), !1;
|
|
32380
|
+
return t.text = "\uFF5C" + e + "\u300A" + o + "\u300B", st(this, Oi, Un).call(this, t);
|
|
32365
32381
|
}, gl = new WeakSet(), Wc = function(t) {
|
|
32382
|
+
return H(this, sr).call(this, "span\uFF5C" + JSON.stringify(t), H(this, cr).call(this, t)), !1;
|
|
32383
|
+
}, _l = new WeakSet(), Yc = function(t) {
|
|
32366
32384
|
if (!t.t)
|
|
32367
32385
|
throw "[tcy] t\u306F\u5FC5\u9808\u3067\u3059";
|
|
32368
|
-
return t.text = "\uFF5C\u3000\u300Atcy\uFF5C" + JSON.stringify(t) + "\u300B", st(this,
|
|
32369
|
-
},
|
|
32386
|
+
return t.text = "\uFF5C\u3000\u300Atcy\uFF5C" + JSON.stringify(t) + "\u300B", st(this, Oi, Un).call(this, t);
|
|
32387
|
+
}, ml = new WeakSet(), qc = function(t) {
|
|
32370
32388
|
return console.group("\u{1F95F} [dump_lay]"), st(this, Ge, Je).call(this, t.layer).forEach((e) => {
|
|
32371
32389
|
const o = H(this, Kt)[e];
|
|
32372
32390
|
try {
|
|
@@ -32379,17 +32397,17 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
|
|
|
32379
32397
|
console.error("dump_lay err:%o", R), console.error(` back:${o.back.dump()}`), console.error(` fore:${o.fore.dump()}`);
|
|
32380
32398
|
}
|
|
32381
32399
|
}), console.groupEnd(), !1;
|
|
32382
|
-
}, ml = new WeakSet(), qc = function(t) {
|
|
32383
|
-
const e = st(this, Ni, Hn).call(this, t, H(this, Cr)), o = argChk_Boolean(t, "enabled", !0);
|
|
32384
|
-
return H(this, cr).call(this, t).enabled = o, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", o), !1;
|
|
32385
32400
|
}, yl = new WeakSet(), Zc = function(t) {
|
|
32401
|
+
const e = st(this, Mi, Hn).call(this, t, H(this, Cr)), o = argChk_Boolean(t, "enabled", !0);
|
|
32402
|
+
return H(this, cr).call(this, t).enabled = o, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", o), !1;
|
|
32403
|
+
}, bl = new WeakSet(), Kc = function(t) {
|
|
32386
32404
|
var e, o, R;
|
|
32387
32405
|
return Pages.argChk_page(t, "back"), (e = t.clicksebuf) != null || (t.clicksebuf = "SYS"), (o = t.entersebuf) != null || (t.entersebuf = "SYS"), (R = t.leavesebuf) != null || (t.leavesebuf = "SYS"), t.fn || (t.fn = this.scrItr.scriptFn), H(this, cr).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
|
|
32388
|
-
}, it(LayerMng,
|
|
32389
|
-
var me, fe,
|
|
32406
|
+
}, it(LayerMng, Ai, 10);
|
|
32407
|
+
var me, fe, El, Jc, uo, _n, ma;
|
|
32390
32408
|
class FocusMng {
|
|
32391
32409
|
constructor() {
|
|
32392
|
-
it(this,
|
|
32410
|
+
it(this, El);
|
|
32393
32411
|
it(this, _n);
|
|
32394
32412
|
it(this, me, []);
|
|
32395
32413
|
it(this, fe, -1);
|
|
@@ -32430,7 +32448,7 @@ class FocusMng {
|
|
|
32430
32448
|
R = () => M.checked = !M.checked;
|
|
32431
32449
|
break;
|
|
32432
32450
|
case "":
|
|
32433
|
-
t.querySelectorAll("input[type]").length > 0 && (R = (L) => st(this,
|
|
32451
|
+
t.querySelectorAll("input[type]").length > 0 && (R = (L) => st(this, El, Jc).call(this, t, L.key), N = () => !1);
|
|
32434
32452
|
break;
|
|
32435
32453
|
case "range":
|
|
32436
32454
|
R = (L) => {
|
|
@@ -32506,7 +32524,7 @@ class FocusMng {
|
|
|
32506
32524
|
st(this, _n, ma).call(this), et(this, fe, -1), globalThis.focus();
|
|
32507
32525
|
}
|
|
32508
32526
|
}
|
|
32509
|
-
me = new WeakMap(), fe = new WeakMap(),
|
|
32527
|
+
me = new WeakMap(), fe = new WeakMap(), El = new WeakSet(), Jc = function(t, e) {
|
|
32510
32528
|
const o = t.querySelectorAll("input[type]"), R = o.length;
|
|
32511
32529
|
for (let N = 0; N < R; ++N)
|
|
32512
32530
|
if (!!o[N].checked) {
|
|
@@ -33493,28 +33511,28 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
|
|
|
33493
33511
|
defaultModifiers
|
|
33494
33512
|
});
|
|
33495
33513
|
const { GamepadListener } = require("gamepad.js");
|
|
33496
|
-
var Gr,
|
|
33514
|
+
var Gr, Di, De, lo, ho, bh, co, Eh, fo, xh, Bs, $s, po, Th, be, fr, ni, si, vo, Li, zn, go, _o, Ue, ks, Gs, mo, xl, Qc, yo, mn, Tl, tf, bo, Sh, Sl, ef, Eo, Ch, yn, ya, bn, Cl, rf, Il, nf, dr, wl, sf, Rl, af, Us, eu, Hs, Pl, of, He;
|
|
33497
33515
|
class EventMng {
|
|
33498
33516
|
constructor(t, e, o, R, N, M, D, L, B) {
|
|
33499
33517
|
it(this, ho);
|
|
33500
33518
|
it(this, co);
|
|
33501
33519
|
it(this, fo);
|
|
33502
33520
|
it(this, po);
|
|
33503
|
-
it(this,
|
|
33504
|
-
it(this, El);
|
|
33521
|
+
it(this, Li);
|
|
33505
33522
|
it(this, xl);
|
|
33506
|
-
it(this, bo);
|
|
33507
33523
|
it(this, Tl);
|
|
33524
|
+
it(this, bo);
|
|
33525
|
+
it(this, Sl);
|
|
33508
33526
|
it(this, Eo);
|
|
33509
33527
|
it(this, yn);
|
|
33510
|
-
it(this, Sl);
|
|
33511
33528
|
it(this, Cl);
|
|
33512
33529
|
it(this, Il);
|
|
33513
33530
|
it(this, wl);
|
|
33514
|
-
it(this, Us);
|
|
33515
33531
|
it(this, Rl);
|
|
33532
|
+
it(this, Us);
|
|
33533
|
+
it(this, Pl);
|
|
33516
33534
|
it(this, Gr, new EventListenerCtn());
|
|
33517
|
-
it(this,
|
|
33535
|
+
it(this, Di, new GamepadListener({
|
|
33518
33536
|
analog: !1,
|
|
33519
33537
|
deadZone: 0.3
|
|
33520
33538
|
}));
|
|
@@ -33564,8 +33582,8 @@ class EventMng {
|
|
|
33564
33582
|
GoBack: 0
|
|
33565
33583
|
});
|
|
33566
33584
|
var X;
|
|
33567
|
-
if (this.cfg = t, this.hTag = e, this.appPixi = o, this.main = R, this.layMng = N, this.val = M, this.sndMng = D, this.scrItr = L, this.sys = B, e.clear_event = (V) => st(this,
|
|
33568
|
-
}, !1, !0), !0), e.set_cancel_skip = () => st(this,
|
|
33585
|
+
if (this.cfg = t, this.hTag = e, this.appPixi = o, this.main = R, this.layMng = N, this.val = M, this.sndMng = D, this.scrItr = L, this.sys = B, e.clear_event = (V) => st(this, Tl, tf).call(this, V), e.event = (V) => st(this, Sl, ef).call(this, V), e.l = (V) => st(this, Cl, rf).call(this, V), e.p = (V) => st(this, Il, nf).call(this, V), e.s = () => (this.scrItr.recodePage(), st(this, Li, zn).call(this, () => {
|
|
33586
|
+
}, !1, !0), !0), e.set_cancel_skip = () => st(this, wl, sf).call(this), e.set_focus = (V) => st(this, Rl, af).call(this, V), e.wait = (V) => st(this, Us, eu).call(this, V), e.waitclick = () => st(this, Pl, of).call(this), D.setEvtMng(this), L.setOtherObj(this, N), TxtLayer.setEvtMng(R, this, B), N.setEvtMng(this), B.setFire((V, W) => this.fire(V, W)), CmnLib.isDbg) {
|
|
33569
33587
|
const V = {
|
|
33570
33588
|
pause: () => {
|
|
33571
33589
|
if (et(this, ni, !0), !H(this, si))
|
|
@@ -33615,7 +33633,10 @@ class EventMng {
|
|
|
33615
33633
|
.sn_hint[data-popper-placement^='bottom'] > .sn_hint_ar {top: -4px;}
|
|
33616
33634
|
.sn_hint[data-popper-placement^='left'] > .sn_hint_ar {right: -4px;}
|
|
33617
33635
|
.sn_hint[data-popper-placement^='right'] > .sn_hint_ar {left: -4px;}
|
|
33618
|
-
`), (
|
|
33636
|
+
`), Array.from(document.getElementsByClassName("sn_hint")).forEach((V) => {
|
|
33637
|
+
var W;
|
|
33638
|
+
return (W = V.parentElement) == null ? void 0 : W.removeChild(V);
|
|
33639
|
+
}), (X = o.view.parentElement) == null || X.insertAdjacentHTML("beforeend", `
|
|
33619
33640
|
<div class="sn_hint" role="tooltip">
|
|
33620
33641
|
<span>Dummy</span>
|
|
33621
33642
|
<div class="sn_hint_ar" data-popper-arrow></div>
|
|
@@ -33628,15 +33649,15 @@ class EventMng {
|
|
|
33628
33649
|
this.fire("middleclick", V);
|
|
33629
33650
|
break;
|
|
33630
33651
|
}
|
|
33631
|
-
}), H(this, Gr).add(window, "keydown", (V) => st(this, ho,
|
|
33652
|
+
}), H(this, Gr).add(window, "keydown", (V) => st(this, ho, bh).call(this, V)), H(this, Gr).add(o.view, "contextmenu", (V) => st(this, co, Eh).call(this, V));
|
|
33632
33653
|
const $ = (V) => {
|
|
33633
33654
|
CmnLib.isDarkMode = V.matches, M.setVal_Nochk("tmp", "const.sn.isDarkMode", CmnLib.isDarkMode);
|
|
33634
33655
|
}, k = globalThis.matchMedia("(prefers-color-scheme: dark)");
|
|
33635
33656
|
$(k), k.addEventListener("change", (V) => {
|
|
33636
33657
|
$(V), this.fire("sn:chgDarkMode", V);
|
|
33637
|
-
}), "WheelEvent" in window && (H(this, Gr).add(o.view, "wheel", (V) => st(this, fo,
|
|
33658
|
+
}), "WheelEvent" in window && (H(this, Gr).add(o.view, "wheel", (V) => st(this, fo, xh).call(this, V), { passive: !0 }), et(this, lo, (V) => V.addEventListener("wheel", (W) => st(this, fo, xh).call(this, W), { passive: !0 })), et(this, yo, (V, W) => V.add(o.view, "wheel", (Y) => {
|
|
33638
33659
|
Y.isComposing || Y.deltaY <= 0 || (Y.stopPropagation(), W());
|
|
33639
|
-
}))), CmnLib.debugLog && (H(this,
|
|
33660
|
+
}))), CmnLib.debugLog && (H(this, Di).on("gamepad:connected", (V) => console.log(`\u{1F47A}<'gamepad:connected' index:${V.detail.index} id:${V.detail.gamepad.id}`)), H(this, Di).on("gamepad:disconnected", (V) => console.log(`\u{1F47A}<'gamepad:disconnected' index:${V.detail.index} id:${V.detail.gamepad.id}`)));
|
|
33640
33661
|
const U = [
|
|
33641
33662
|
"",
|
|
33642
33663
|
"ArrowUp",
|
|
@@ -33648,7 +33669,7 @@ class EventMng {
|
|
|
33648
33669
|
"ArrowDown",
|
|
33649
33670
|
""
|
|
33650
33671
|
], z = [0, 0];
|
|
33651
|
-
H(this,
|
|
33672
|
+
H(this, Di).on("gamepad:axis", (V) => {
|
|
33652
33673
|
if (!document.hasFocus() || V.detail.stick !== 0)
|
|
33653
33674
|
return;
|
|
33654
33675
|
z[V.detail.axis] = V.detail.value;
|
|
@@ -33657,19 +33678,19 @@ class EventMng {
|
|
|
33657
33678
|
return;
|
|
33658
33679
|
const q = H(this, De).getFocus();
|
|
33659
33680
|
(!q || q instanceof Container ? globalThis : q).dispatchEvent(new KeyboardEvent("keydown", { key: Y, bubbles: !0 })), !(!q || q instanceof Container) && q.getAttribute("type") === "range" && q.dispatchEvent(new InputEvent("input", { bubbles: !0 }));
|
|
33660
|
-
}), H(this,
|
|
33681
|
+
}), H(this, Di).on("gamepad:button", (V) => {
|
|
33661
33682
|
if (!(!document.hasFocus() || V.detail.value === 0))
|
|
33662
33683
|
if (V.detail.button % 2 === 0) {
|
|
33663
33684
|
const W = H(this, De).getFocus();
|
|
33664
33685
|
(!W || W instanceof Container ? globalThis : W).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
|
|
33665
33686
|
} else
|
|
33666
33687
|
o.view.dispatchEvent(new Event("contextmenu"));
|
|
33667
|
-
}), H(this,
|
|
33688
|
+
}), H(this, Di).start(), H(this, Gr).add(window, "keyup", (V) => {
|
|
33668
33689
|
V.isComposing || V.key in H(this, He) && (H(this, He)[V.key] = 0);
|
|
33669
33690
|
}), M.defTmp("const.sn.key.alternate", () => H(this, He).Alt > 0), M.defTmp("const.sn.key.command", () => H(this, He).Meta > 0), M.defTmp("const.sn.key.control", () => H(this, He).Control > 0), M.defTmp("const.sn.key.end", () => H(this, He).End > 0), M.defTmp("const.sn.key.escape", () => H(this, He).Escape > 0), M.defTmp("const.sn.key.back", () => H(this, He).GoBack > 0);
|
|
33670
33691
|
}
|
|
33671
33692
|
resvFlameEvent(t) {
|
|
33672
|
-
t.addEventListener("keydown", (e) => st(this, ho,
|
|
33693
|
+
t.addEventListener("keydown", (e) => st(this, ho, bh).call(this, e)), t.addEventListener("contextmenu", (e) => st(this, co, Eh).call(this, e)), H(this, lo).call(this, t);
|
|
33673
33694
|
}
|
|
33674
33695
|
destroy() {
|
|
33675
33696
|
H(this, De).destroy(), H(this, Gr).clear();
|
|
@@ -33711,7 +33732,7 @@ class EventMng {
|
|
|
33711
33732
|
return t(), !1;
|
|
33712
33733
|
H(this, dr).call(this);
|
|
33713
33734
|
}
|
|
33714
|
-
return st(this,
|
|
33735
|
+
return st(this, Li, zn).call(this, t, e, o), !0;
|
|
33715
33736
|
}
|
|
33716
33737
|
unButton(t) {
|
|
33717
33738
|
H(this, De).remove(t);
|
|
@@ -33725,7 +33746,7 @@ class EventMng {
|
|
|
33725
33746
|
D ? H(this, fr)[M] = () => this.main.resumeByJumpOrCall(t) : H(this, be)[M] = () => this.main.resumeByJumpOrCall(t);
|
|
33726
33747
|
const L = e;
|
|
33727
33748
|
L.on("pointerdown", (X) => this.fire(M, X));
|
|
33728
|
-
const B = t.hint ? () => st(this,
|
|
33749
|
+
const B = t.hint ? () => st(this, xl, Qc).call(this, t, e) : () => {
|
|
33729
33750
|
}, $ = () => {
|
|
33730
33751
|
o(), H(this, Ue).hidden = !0;
|
|
33731
33752
|
}, k = () => (B(), R());
|
|
@@ -33783,34 +33804,34 @@ class EventMng {
|
|
|
33783
33804
|
return !1;
|
|
33784
33805
|
}
|
|
33785
33806
|
}
|
|
33786
|
-
Gr = new WeakMap(),
|
|
33807
|
+
Gr = new WeakMap(), Di = new WeakMap(), De = new WeakMap(), lo = new WeakMap(), ho = new WeakSet(), bh = function(t) {
|
|
33787
33808
|
if (t.isComposing)
|
|
33788
33809
|
return;
|
|
33789
33810
|
t.key in H(this, He) && (H(this, He)[t.key] = t.repeat ? 2 : 1);
|
|
33790
33811
|
const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + t.key;
|
|
33791
33812
|
this.fire(e, t);
|
|
33792
|
-
}, co = new WeakSet(),
|
|
33813
|
+
}, co = new WeakSet(), Eh = function(t) {
|
|
33793
33814
|
const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + "rightclick";
|
|
33794
33815
|
this.fire(e, t), t.preventDefault();
|
|
33795
|
-
}, fo = new WeakSet(),
|
|
33816
|
+
}, fo = new WeakSet(), xh = function(t) {
|
|
33796
33817
|
if (t.isComposing)
|
|
33797
33818
|
return;
|
|
33798
33819
|
if (H(this, Bs)) {
|
|
33799
33820
|
et(this, $s, !0);
|
|
33800
33821
|
return;
|
|
33801
33822
|
}
|
|
33802
|
-
et(this, Bs, !0), st(this, po,
|
|
33823
|
+
et(this, Bs, !0), st(this, po, Th).call(this);
|
|
33803
33824
|
const e = (t.altKey ? "alt+" : "") + (t.ctrlKey ? "ctrl+" : "") + (t.shiftKey ? "shift+" : "") + (t.deltaY > 0 ? "downwheel" : "upwheel");
|
|
33804
33825
|
this.fire(e, t);
|
|
33805
|
-
}, Bs = new WeakMap(), $s = new WeakMap(), po = new WeakSet(),
|
|
33826
|
+
}, Bs = new WeakMap(), $s = new WeakMap(), po = new WeakSet(), Th = function() {
|
|
33806
33827
|
setTimeout(() => {
|
|
33807
33828
|
if (H(this, $s)) {
|
|
33808
|
-
et(this, $s, !1), st(this, po,
|
|
33829
|
+
et(this, $s, !1), st(this, po, Th).call(this);
|
|
33809
33830
|
return;
|
|
33810
33831
|
}
|
|
33811
33832
|
et(this, Bs, !1);
|
|
33812
33833
|
}, 250);
|
|
33813
|
-
}, be = new WeakMap(), fr = new WeakMap(), ni = new WeakMap(), si = new WeakMap(), vo = new WeakMap(),
|
|
33834
|
+
}, be = new WeakMap(), fr = new WeakMap(), ni = new WeakMap(), si = new WeakMap(), vo = new WeakMap(), Li = new WeakSet(), zn = function(t, e = !0, o = !0) {
|
|
33814
33835
|
if (H(this, bn).call(this), this.val.saveKidoku(), e ? H(this, be).click = H(this, be).enter = H(this, be).arrowdown = H(this, be)["wheel.y>0"] = t : (delete H(this, be).click, delete H(this, be).enter, delete H(this, be).arrowdown, delete H(this, be)["wheel.y>0"]), et(this, vo, o ? (R) => {
|
|
33815
33836
|
var N;
|
|
33816
33837
|
return (N = H(this, be)[R]) != null ? N : H(this, fr)[R];
|
|
@@ -33818,7 +33839,7 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33818
33839
|
const R = /* @__PURE__ */ Object.create(null);
|
|
33819
33840
|
R.local = Object.keys(H(this, be)), R.global = Object.keys(H(this, fr)), console.log("\u{1F38D} wait event... %o", R);
|
|
33820
33841
|
}
|
|
33821
|
-
}, go = new WeakMap(), _o = new WeakMap(), Ue = new WeakMap(), ks = new WeakMap(), Gs = new WeakMap(), mo = new WeakMap(),
|
|
33842
|
+
}, go = new WeakMap(), _o = new WeakMap(), Ue = new WeakMap(), ks = new WeakMap(), Gs = new WeakMap(), mo = new WeakMap(), xl = new WeakSet(), Qc = function(t, e) {
|
|
33822
33843
|
var N, M;
|
|
33823
33844
|
const o = e instanceof Button ? e.getBtnBounds() : e.getBounds();
|
|
33824
33845
|
if (!(t[":\u30BF\u30B0\u540D"] === "link")) {
|
|
@@ -33842,14 +33863,14 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33842
33863
|
width: o.width,
|
|
33843
33864
|
height: o.height
|
|
33844
33865
|
}), H(this, Gs).update(), H(this, Ue).hidden = !1;
|
|
33845
|
-
}, yo = new WeakMap(), mn = new WeakMap(),
|
|
33866
|
+
}, yo = new WeakMap(), mn = new WeakMap(), Tl = new WeakSet(), tf = function(t) {
|
|
33846
33867
|
const e = argChk_Boolean(t, "global", !1), o = e ? H(this, fr) : H(this, be);
|
|
33847
33868
|
for (const R in o)
|
|
33848
|
-
st(this, bo,
|
|
33869
|
+
st(this, bo, Sh).call(this, R, o[R]);
|
|
33849
33870
|
return e ? et(this, fr, {}) : et(this, be, {}), et(this, si, !1), !1;
|
|
33850
|
-
}, bo = new WeakSet(),
|
|
33871
|
+
}, bo = new WeakSet(), Sh = function(t, e) {
|
|
33851
33872
|
t.slice(0, 4) === "dom=" && st(this, yn, ya).call(this, t).el.forEach((o) => o.removeEventListener("click", e));
|
|
33852
|
-
},
|
|
33873
|
+
}, Sl = new WeakSet(), ef = function(t) {
|
|
33853
33874
|
var M, D;
|
|
33854
33875
|
const e = t.key;
|
|
33855
33876
|
if (!e)
|
|
@@ -33858,7 +33879,7 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33858
33879
|
if (argChk_Boolean(t, "del", !1)) {
|
|
33859
33880
|
if (t.fn || t.label || R)
|
|
33860
33881
|
throw "fn/label/call\u3068del\u306F\u540C\u6642\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093";
|
|
33861
|
-
return st(this, bo,
|
|
33882
|
+
return st(this, bo, Sh).call(this, e, N[o]), delete N[o], !1;
|
|
33862
33883
|
}
|
|
33863
33884
|
if ((M = t.fn) != null || (t.fn = this.scrItr.scriptFn), e.slice(0, 4) === "dom=") {
|
|
33864
33885
|
const L = st(this, yn, ya).call(this, e);
|
|
@@ -33890,14 +33911,14 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33890
33911
|
this.fire(e, X);
|
|
33891
33912
|
}), U === 0 && H(this, De).add(
|
|
33892
33913
|
z,
|
|
33893
|
-
() => st(this, Eo,
|
|
33914
|
+
() => st(this, Eo, Ch).call(this, z) ? (z.focus(), !0) : !1,
|
|
33894
33915
|
() => {
|
|
33895
33916
|
}
|
|
33896
33917
|
);
|
|
33897
33918
|
}));
|
|
33898
33919
|
}
|
|
33899
33920
|
return N[o] = () => this.main.resumeByJumpOrCall(t), !1;
|
|
33900
|
-
}, Eo = new WeakSet(),
|
|
33921
|
+
}, Eo = new WeakSet(), Ch = function(t) {
|
|
33901
33922
|
if (t.offsetParent === null)
|
|
33902
33923
|
return !1;
|
|
33903
33924
|
let e = t;
|
|
@@ -33918,7 +33939,7 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33918
33939
|
return o = t.slice(e + 1), { el: D.document.querySelectorAll(o), id: R, sel: o };
|
|
33919
33940
|
}
|
|
33920
33941
|
return o = t.slice(4), { el: document.querySelectorAll(o), id: "", sel: o };
|
|
33921
|
-
}, bn = new WeakMap(),
|
|
33942
|
+
}, bn = new WeakMap(), Cl = new WeakSet(), rf = function(t) {
|
|
33922
33943
|
if (this.scrItr.skip4page)
|
|
33923
33944
|
return !1;
|
|
33924
33945
|
if (!this.val.getVal("tmp:sn.tagL.enabled"))
|
|
@@ -33931,8 +33952,8 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33931
33952
|
}
|
|
33932
33953
|
return this.val.getVal("tmp:sn.auto.enabled") ? st(this, Us, eu).call(this, {
|
|
33933
33954
|
time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecLineWait_Kidoku") : this.val.getVal("sys:sn.auto.msecLineWait"))
|
|
33934
|
-
}) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(), st(this,
|
|
33935
|
-
},
|
|
33955
|
+
}) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(), st(this, Li, zn).call(this, () => this.main.resume()), !0);
|
|
33956
|
+
}, Il = new WeakSet(), nf = function(t) {
|
|
33936
33957
|
if (this.scrItr.recodePage(), this.val.getVal("tmp:sn.skip.enabled")) {
|
|
33937
33958
|
if (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku)
|
|
33938
33959
|
H(this, dr).call(this);
|
|
@@ -33947,12 +33968,12 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33947
33968
|
const e = () => {
|
|
33948
33969
|
this.sndMng.clearCache(), this.main.resume();
|
|
33949
33970
|
};
|
|
33950
|
-
return st(this,
|
|
33971
|
+
return st(this, Li, zn).call(this, argChk_Boolean(t, "er", !1) && this.layMng.currentTxtlayFore ? () => {
|
|
33951
33972
|
this.hTag.er(t), e();
|
|
33952
33973
|
} : e), !0;
|
|
33953
|
-
}, dr = new WeakMap(),
|
|
33974
|
+
}, dr = new WeakMap(), wl = new WeakSet(), sf = function() {
|
|
33954
33975
|
return et(this, dr, () => (et(this, dr, () => !1), this.val.setVal_Nochk("tmp", "sn.tagL.enabled", !0), this.val.setVal_Nochk("tmp", "sn.skip.enabled", !1), this.val.setVal_Nochk("tmp", "sn.auto.enabled", !1), this.layMng.setNormalChWait(), H(this, Hs).call(this), !0)), !1;
|
|
33955
|
-
},
|
|
33976
|
+
}, Rl = new WeakSet(), af = function(t) {
|
|
33956
33977
|
const { add: e, del: o, to: R } = t;
|
|
33957
33978
|
if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
|
|
33958
33979
|
const N = st(this, yn, ya).call(this, e);
|
|
@@ -33960,7 +33981,7 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
33960
33981
|
throw `HTML\u5185\u306B\u30BB\u30EC\u30AF\u30BF\uFF08${N.sel}\uFF09\u306B\u5BFE\u5FDC\u3059\u308B\u8981\u7D20\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u5B58\u5728\u3057\u306A\u3044\u5834\u5408\u3092\u8A31\u5BB9\u3059\u308B\u306A\u3089\u3001need_err=false \u3068\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044`;
|
|
33961
33982
|
return N.el.forEach((M) => H(this, De).add(
|
|
33962
33983
|
M,
|
|
33963
|
-
() => st(this, Eo,
|
|
33984
|
+
() => st(this, Eo, Ch).call(this, M) ? (M.focus(), !0) : !1,
|
|
33964
33985
|
() => {
|
|
33965
33986
|
}
|
|
33966
33987
|
)), !1;
|
|
@@ -34003,62 +34024,62 @@ Gr = new WeakMap(), Mi = new WeakMap(), De = new WeakMap(), lo = new WeakMap(),
|
|
|
34003
34024
|
argChk_Boolean(t, "canskip", !0),
|
|
34004
34025
|
argChk_Boolean(t, "global", !1)
|
|
34005
34026
|
);
|
|
34006
|
-
}, Hs = new WeakMap(),
|
|
34007
|
-
return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && H(this, dr).call(this), st(this,
|
|
34027
|
+
}, Hs = new WeakMap(), Pl = new WeakSet(), of = function() {
|
|
34028
|
+
return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && H(this, dr).call(this), st(this, Li, zn).call(this, () => this.main.resume()), !0);
|
|
34008
34029
|
}, He = new WeakMap();
|
|
34009
34030
|
class CallStack {
|
|
34010
34031
|
constructor(t = "", e = 0, o = { ":hEvt1Time": {}, ":hMp": {} }) {
|
|
34011
34032
|
this.fn = t, this.idx = e, this.csArg = o, this.toString = () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`;
|
|
34012
34033
|
}
|
|
34013
34034
|
}
|
|
34014
|
-
var Vt, te, Ut, ce, he, ai, xo,
|
|
34035
|
+
var Vt, te, Ut, ce, he, ai, xo, Ih, Fi, En, Al, oi, To, wh, So, Rh, zs, Bi, jn, xn, ba, Tn, ui, Ee, Ol, uf, Sn, Ea, Nl, lf, js, Vs, ar, Ml, hf, Dl, cf, li, Xi, Ll, ff, $i, ki, Xs, Ws, Ys, Ye, Fl, df, Bl, pf, $l, vf, Co, Ph, kl, gf, Gl, _f, Ul, mf, Io, Ah, qs, Cn, xa, Gi, Ui, Vn, wo, Oh, Zs, Ro, Nh, Po, Ao, Ks, Hi, Js, Hl, yf, ze, zl, bf, Oo, Mh, No, Mo, Do, jl, Ef, Ur, Lo, Dh, Vl, xf, Xl, Tf, Wl, Sf, Qs, In, Yl, Cf, ta, ru, wn, ql, If, pr, Zl, wf, ea, iu, Kl, Rf, vr, Ae;
|
|
34015
34036
|
const Qe = class {
|
|
34016
34037
|
constructor(t, e, o, R, N, M, D, L, B) {
|
|
34017
34038
|
it(this, xo);
|
|
34018
34039
|
it(this, To);
|
|
34019
34040
|
it(this, So);
|
|
34020
|
-
it(this,
|
|
34041
|
+
it(this, Bi);
|
|
34021
34042
|
it(this, xn);
|
|
34022
|
-
it(this, Al);
|
|
34023
|
-
it(this, Sn);
|
|
34024
34043
|
it(this, Ol);
|
|
34044
|
+
it(this, Sn);
|
|
34025
34045
|
it(this, Nl);
|
|
34026
34046
|
it(this, Ml);
|
|
34027
|
-
it(this, li);
|
|
34028
34047
|
it(this, Dl);
|
|
34048
|
+
it(this, li);
|
|
34029
34049
|
it(this, Ll);
|
|
34030
34050
|
it(this, Fl);
|
|
34031
34051
|
it(this, Bl);
|
|
34032
|
-
it(this, Co);
|
|
34033
34052
|
it(this, $l);
|
|
34053
|
+
it(this, Co);
|
|
34034
34054
|
it(this, kl);
|
|
34035
34055
|
it(this, Gl);
|
|
34056
|
+
it(this, Ul);
|
|
34036
34057
|
it(this, Io);
|
|
34037
34058
|
it(this, Cn);
|
|
34038
|
-
it(this,
|
|
34059
|
+
it(this, Ui);
|
|
34039
34060
|
it(this, wo);
|
|
34040
34061
|
it(this, Ro);
|
|
34041
|
-
it(this, Ul);
|
|
34042
34062
|
it(this, Hl);
|
|
34043
|
-
it(this, Oo);
|
|
34044
34063
|
it(this, zl);
|
|
34045
|
-
it(this,
|
|
34064
|
+
it(this, Oo);
|
|
34046
34065
|
it(this, jl);
|
|
34066
|
+
it(this, Lo);
|
|
34047
34067
|
it(this, Vl);
|
|
34048
34068
|
it(this, Xl);
|
|
34049
34069
|
it(this, Wl);
|
|
34050
|
-
it(this, ta);
|
|
34051
34070
|
it(this, Yl);
|
|
34071
|
+
it(this, ta);
|
|
34052
34072
|
it(this, ql);
|
|
34053
|
-
it(this, ea);
|
|
34054
34073
|
it(this, Zl);
|
|
34074
|
+
it(this, ea);
|
|
34075
|
+
it(this, Kl);
|
|
34055
34076
|
it(this, Vt, void 0);
|
|
34056
34077
|
it(this, te, void 0);
|
|
34057
34078
|
it(this, Ut, void 0);
|
|
34058
34079
|
it(this, ce, void 0);
|
|
34059
34080
|
it(this, he, void 0);
|
|
34060
34081
|
it(this, ai, void 0);
|
|
34061
|
-
it(this,
|
|
34082
|
+
it(this, Fi, void 0);
|
|
34062
34083
|
it(this, En, void 0);
|
|
34063
34084
|
it(this, oi, void 0);
|
|
34064
34085
|
it(this, zs, void 0);
|
|
@@ -34066,19 +34087,19 @@ const Qe = class {
|
|
|
34066
34087
|
it(this, js, void 0);
|
|
34067
34088
|
it(this, Vs, void 0);
|
|
34068
34089
|
it(this, ar, void 0);
|
|
34069
|
-
it(this, Bi, void 0);
|
|
34070
34090
|
it(this, $i, void 0);
|
|
34091
|
+
it(this, ki, void 0);
|
|
34071
34092
|
it(this, Xs, void 0);
|
|
34072
34093
|
it(this, Ws, void 0);
|
|
34073
34094
|
it(this, Ys, void 0);
|
|
34074
34095
|
it(this, Ye, void 0);
|
|
34075
34096
|
it(this, qs, void 0);
|
|
34076
|
-
it(this,
|
|
34097
|
+
it(this, Gi, void 0);
|
|
34077
34098
|
it(this, Zs, void 0);
|
|
34078
34099
|
it(this, Po, void 0);
|
|
34079
34100
|
it(this, Ao, void 0);
|
|
34080
34101
|
it(this, Ks, void 0);
|
|
34081
|
-
it(this,
|
|
34102
|
+
it(this, Hi, void 0);
|
|
34082
34103
|
it(this, Js, void 0);
|
|
34083
34104
|
it(this, ze, void 0);
|
|
34084
34105
|
it(this, No, void 0);
|
|
@@ -34092,34 +34113,34 @@ const Qe = class {
|
|
|
34092
34113
|
it(this, vr, void 0);
|
|
34093
34114
|
it(this, Ae, void 0);
|
|
34094
34115
|
if (this.cfg = t, this.hTag = e, this.main = o, this.val = R, this.alzTagArg = N, this.runAnalyze = M, this.prpPrs = D, this.sndMng = L, this.sys = B, et(this, Vt, { aToken: [""], len: 1, aLNum: [1] }), et(this, te, ""), et(this, Ut, 0), et(this, ce, 0), this.addLineNum = ($) => et(this, ce, H(this, ce) + $), et(this, he, []), et(this, ai, new Grammar()), this.firstWait = () => {
|
|
34095
|
-
}, et(this,
|
|
34116
|
+
}, et(this, Fi, {
|
|
34096
34117
|
disconnect: () => {
|
|
34097
|
-
et(Qe, Tn, {}), et(Qe, ui, {}), this.isBreak = () => !1, H(this,
|
|
34118
|
+
et(Qe, Tn, {}), et(Qe, ui, {}), this.isBreak = () => !1, H(this, Fi).continue({}), et(this, Ee, 0);
|
|
34098
34119
|
},
|
|
34099
34120
|
restart: () => this.isBreak = () => !1,
|
|
34100
|
-
add_break: ($) => st(this, xo,
|
|
34121
|
+
add_break: ($) => st(this, xo, Ih).call(this, $.fn, $.o),
|
|
34101
34122
|
data_break: ($) => {
|
|
34102
34123
|
H(this, Ee) === 0 && (et(this, Ee, 1), this.main.setLoop(!1, `\u5909\u6570 ${$.dataId}\u3010${$.old_v}\u3011\u2192\u3010${$.new_v}\u3011\u30C7\u30FC\u30BF\u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
|
|
34103
34124
|
},
|
|
34104
34125
|
set_func_break: ($) => {
|
|
34105
34126
|
et(Qe, ui, {}), $.a.forEach((k) => H(Qe, ui)[k.name] = 1), this.sys.send2Dbg($.ri, {});
|
|
34106
34127
|
},
|
|
34107
|
-
stack: ($) => this.sys.send2Dbg($.ri, { a: st(this,
|
|
34128
|
+
stack: ($) => this.sys.send2Dbg($.ri, { a: st(this, Nl, lf).call(this) }),
|
|
34108
34129
|
eval: ($) => {
|
|
34109
34130
|
this.sys.send2Dbg($.ri, { v: this.prpPrs.parse($.txt) });
|
|
34110
34131
|
},
|
|
34111
34132
|
continue: () => {
|
|
34112
|
-
st(this, xn, ba).call(this) || (et(this, Ut, H(this, Ut) - H(this,
|
|
34133
|
+
st(this, xn, ba).call(this) || (et(this, Ut, H(this, Ut) - H(this, Bi, jn)), et(this, Ee, 3), this.main.setLoop(!0), this.main.resume());
|
|
34113
34134
|
},
|
|
34114
|
-
stepover: ($) => st(this, To,
|
|
34135
|
+
stepover: ($) => st(this, To, wh).call(this, $),
|
|
34115
34136
|
stepin: () => {
|
|
34116
34137
|
if (st(this, xn, ba).call(this))
|
|
34117
34138
|
return;
|
|
34118
|
-
const $ = H(this, Vt).aToken[H(this, Ut) - H(this,
|
|
34119
|
-
this.sys.callHook(`stopOnStep${H(this, In).test($) ? "In" : ""}`, {}), et(this, Ut, H(this, Ut) - H(this,
|
|
34139
|
+
const $ = H(this, Vt).aToken[H(this, Ut) - H(this, Bi, jn)];
|
|
34140
|
+
this.sys.callHook(`stopOnStep${H(this, In).test($) ? "In" : ""}`, {}), et(this, Ut, H(this, Ut) - H(this, Bi, jn)), et(this, Ee, H(this, Ee) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
|
|
34120
34141
|
},
|
|
34121
34142
|
stepout: ($) => {
|
|
34122
|
-
st(this, xn, ba).call(this) || (H(this, he).length > 0 ? st(this, So,
|
|
34143
|
+
st(this, xn, ba).call(this) || (H(this, he).length > 0 ? st(this, So, Rh).call(this, !0) : st(this, To, wh).call(this, $));
|
|
34123
34144
|
},
|
|
34124
34145
|
pause: () => {
|
|
34125
34146
|
et(this, Ee, 4), this.main.setLoop(!1, "\u4E00\u6642\u505C\u6B62"), this.sys.send2Dbg("stopOnStep", {});
|
|
@@ -34127,12 +34148,12 @@ const Qe = class {
|
|
|
34127
34148
|
stopOnEntry: () => {
|
|
34128
34149
|
et(this, Ee, 4), this.main.setLoop(!1, "\u4E00\u6642\u505C\u6B62"), this.sys.send2Dbg("stopOnEntry", {});
|
|
34129
34150
|
}
|
|
34130
|
-
}), et(this, En, ($) => this.cfg.searchPath($, Config.EXT_SCRIPT)), et(this, oi, ($) => (this.sys.pathBaseCnvSnPath4Dbg + H(this, En).call(this, $)).replace(H(Qe,
|
|
34131
|
-
}), et(this, Bi, () => {
|
|
34151
|
+
}), et(this, En, ($) => this.cfg.searchPath($, Config.EXT_SCRIPT)), et(this, oi, ($) => (this.sys.pathBaseCnvSnPath4Dbg + H(this, En).call(this, $)).replace(H(Qe, Al), `$1/prj/$2/${H(this, te)}$3`)), this.cnvPath4Dbg = ($) => this.sys.pathBaseCnvSnPath4Dbg + $.replace("/crypto_prj/", "/prj/"), et(this, zs, 0), et(this, Ee, 0), this.isBreak = ($) => !1, et(this, js, ($) => {
|
|
34132
34152
|
}), et(this, $i, () => {
|
|
34153
|
+
}), et(this, ki, () => {
|
|
34133
34154
|
}), et(this, Xs, ""), et(this, Ws, {}), this.noticeBreak = ($) => {
|
|
34134
|
-
}, et(this, Ys, 5), et(this, Ye, [-1]), et(this, qs, ""), et(this,
|
|
34135
|
-
}), et(this, Po, /(\*{2,})(.*)/), et(this, Ao, /\[macro\s/), et(this, Ks, /\[endmacro[\s\]]/), et(this,
|
|
34155
|
+
}, et(this, Ys, 5), et(this, Ye, [-1]), et(this, qs, ""), et(this, Gi, ""), this.nextToken = () => "", et(this, Zs, ($) => {
|
|
34156
|
+
}), et(this, Po, /(\*{2,})(.*)/), et(this, Ao, /\[macro\s/), et(this, Ks, /\[endmacro[\s\]]/), et(this, Hi, /^\[let_ml\s/g), et(this, Js, /^\[endlet_ml\s*]/g), et(this, ze, /* @__PURE__ */ Object.create(null)), et(this, No, /^\[(call|loadplugin)\s/), et(this, Mo, /\bfn\s*=\s*[^\s\]]+/), et(this, Do, () => {
|
|
34136
34157
|
for (let $ = H(this, Vt).len - 1; $ >= 0; --$) {
|
|
34137
34158
|
const k = H(this, Vt).aToken[$];
|
|
34138
34159
|
if (!H(this, No).test(k))
|
|
@@ -34160,19 +34181,19 @@ const Qe = class {
|
|
|
34160
34181
|
hSave: {},
|
|
34161
34182
|
hPages: {},
|
|
34162
34183
|
aIfStk: [-1]
|
|
34163
|
-
}), et(this, vr, []), et(this, Ae, -1), e.let_ml = ($) => st(this,
|
|
34184
|
+
}), et(this, vr, []), et(this, Ae, -1), e.let_ml = ($) => st(this, Ml, hf).call(this, $), e.dump_stack = () => st(this, Dl, cf).call(this), e.dump_script = ($) => st(this, Ll, ff).call(this, $), e.else = e.elsif = e.endif = () => st(this, Fl, df).call(this), e.if = ($) => st(this, Bl, pf).call(this, $), e.call = ($) => st(this, $l, vf).call(this, $), e.jump = ($) => st(this, kl, gf).call(this, $), e.page = ($) => st(this, Gl, _f).call(this, $), e.pop_stack = ($) => st(this, Ul, mf).call(this, $), e.return = () => st(this, Io, Ah).call(this), e.bracket2macro = ($) => st(this, Vl, xf).call(this, $), e.char2macro = ($) => st(this, Xl, Tf).call(this, $), e.endmacro = () => st(this, Io, Ah).call(this), e.macro = ($) => st(this, Wl, Sf).call(this, $), e.load = ($) => st(this, Yl, Cf).call(this, $), e.reload_script = ($) => st(this, ql, If).call(this, $), e.record_place = () => st(this, Zl, wf).call(this), e.save = ($) => st(this, Kl, Rf).call(this, $), t.oCfg.debug.token && et(this, Zs, ($) => console.log(`\u{1F331} \u30C8\u30FC\u30AF\u30F3 fn:${H(this, te)} idx:${H(this, Ut)} ln:${H(this, ce)} token\u3010${$}\u3011`)), R.defTmp("const.sn.vctCallStk.length", () => H(this, he).length), H(this, ai).setEscape(t.oCfg.init.escape), CmnLib.isDbg) {
|
|
34164
34185
|
B.addHook((k, U) => {
|
|
34165
34186
|
var z, X;
|
|
34166
|
-
return (X = (z = H(this,
|
|
34167
|
-
}), this.isBreak = st(this,
|
|
34187
|
+
return (X = (z = H(this, Fi))[k]) == null ? void 0 : X.call(z, U);
|
|
34188
|
+
}), this.isBreak = st(this, Ol, uf);
|
|
34168
34189
|
const $ = this.analyzeInit;
|
|
34169
34190
|
this.analyzeInit = () => {
|
|
34170
34191
|
this.analyzeInit = () => {
|
|
34171
34192
|
}, this.sys.send2Dbg("hi", {});
|
|
34172
|
-
}, H(this,
|
|
34193
|
+
}, H(this, Fi).auth = (k) => {
|
|
34173
34194
|
const U = k.hBreakpoint.hFn2hLineBP;
|
|
34174
34195
|
for (const z in U)
|
|
34175
|
-
st(this, xo,
|
|
34196
|
+
st(this, xo, Ih).call(this, z, U[z]);
|
|
34176
34197
|
if (et(Qe, ui, {}), k.hBreakpoint.aFunc.forEach((z) => H(Qe, ui)[z.name] = 1), k.stopOnEntry) {
|
|
34177
34198
|
for (; ; ) {
|
|
34178
34199
|
let z = this.nextToken();
|
|
@@ -34265,7 +34286,7 @@ const Qe = class {
|
|
|
34265
34286
|
const e = t.split(`
|
|
34266
34287
|
`).slice(-H(this, Ys)), o = e.length;
|
|
34267
34288
|
console.group(`\u{1F95F} Error line (from ${o} rows before) fn:${H(this, te)}`);
|
|
34268
|
-
const R = String(H(this, ce)).length, N = st(this, li,
|
|
34289
|
+
const R = String(H(this, ce)).length, N = st(this, li, Xi).call(this, H(this, Vt), H(this, Ut));
|
|
34269
34290
|
for (let D = 0; D < o; ++D) {
|
|
34270
34291
|
const L = H(this, ce) - o + D + 1, B = `${String(L).padStart(R, " ")}: %c`, $ = e[D], k = $.length > 75 ? $.slice(0, 75) + "\u2026" : $;
|
|
34271
34292
|
D === o - 1 ? console.info(
|
|
@@ -34277,7 +34298,7 @@ const Qe = class {
|
|
|
34277
34298
|
console.groupEnd();
|
|
34278
34299
|
}
|
|
34279
34300
|
analyzeInit() {
|
|
34280
|
-
const t = st(this,
|
|
34301
|
+
const t = st(this, Hl, yf).call(this, H(this, Vt), Boolean(this.val.getVal("mp:const.sn.macro.name")), H(this, ce), H(this, Gi), H(this, Ut));
|
|
34281
34302
|
et(this, Ut, t.idx), et(this, ce, t.ln), this.runAnalyze();
|
|
34282
34303
|
}
|
|
34283
34304
|
get isKidoku() {
|
|
@@ -34331,7 +34352,7 @@ const Qe = class {
|
|
|
34331
34352
|
} else
|
|
34332
34353
|
e = H(this, te), o = H(this, Ut);
|
|
34333
34354
|
t[":path"] = H(this, oi).call(this, e);
|
|
34334
|
-
const N = st(this, li,
|
|
34355
|
+
const N = st(this, li, Xi).call(this, H(this, ze)[e], o);
|
|
34335
34356
|
t[":ln"] = N.ln, t[":col_s"] = N.col_s, t[":col_e"] = N.col_e;
|
|
34336
34357
|
const M = o - 1;
|
|
34337
34358
|
t[":idx_tkn"] = M, t[":token"] = H(this, ze)[e].aToken[M], this.sys.send2Dbg("_recodeDesign", t);
|
|
@@ -34341,20 +34362,20 @@ const Qe = class {
|
|
|
34341
34362
|
}
|
|
34342
34363
|
};
|
|
34343
34364
|
let ScriptIterator = Qe;
|
|
34344
|
-
Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(), he = new WeakMap(), ai = new WeakMap(), xo = new WeakSet(),
|
|
34365
|
+
Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(), he = new WeakMap(), ai = new WeakMap(), xo = new WeakSet(), Ih = function(t, e) {
|
|
34345
34366
|
H(Qe, Tn)[H(this, oi).call(this, t)] = e;
|
|
34346
|
-
},
|
|
34367
|
+
}, Fi = new WeakMap(), En = new WeakMap(), Al = new WeakMap(), oi = new WeakMap(), To = new WeakSet(), wh = function(t) {
|
|
34347
34368
|
if (st(this, xn, ba).call(this))
|
|
34348
34369
|
return;
|
|
34349
|
-
const e = H(this, Vt).aToken[H(this, Ut) - H(this,
|
|
34350
|
-
H(this, In).test(e) ? st(this, So,
|
|
34351
|
-
}, So = new WeakSet(),
|
|
34352
|
-
this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), et(this, zs, H(this, he).length - (t ? 1 : 0)), et(this, Ut, H(this, Ut) - H(this,
|
|
34353
|
-
}, zs = new WeakMap(),
|
|
34370
|
+
const e = H(this, Vt).aToken[H(this, Ut) - H(this, Bi, jn)];
|
|
34371
|
+
H(this, In).test(e) ? st(this, So, Rh).call(this, !1) : (this.sys.callHook("stopOnStep", {}), H(this, Fi).stepin(t));
|
|
34372
|
+
}, So = new WeakSet(), Rh = function(t) {
|
|
34373
|
+
this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), et(this, zs, H(this, he).length - (t ? 1 : 0)), et(this, Ut, H(this, Ut) - H(this, Bi, jn)), et(this, Ee, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
|
|
34374
|
+
}, zs = new WeakMap(), Bi = new WeakSet(), jn = function() {
|
|
34354
34375
|
return H(this, Ee) === 2 || H(this, Ee) === 4 ? 1 : 0;
|
|
34355
34376
|
}, xn = new WeakSet(), ba = function() {
|
|
34356
34377
|
return H(this, Ut) < H(this, Vt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "\u30B9\u30AF\u30EA\u30D7\u30C8\u7D42\u7AEF\u3067\u3059"), !0);
|
|
34357
|
-
}, Tn = new WeakMap(), ui = new WeakMap(), Ee = new WeakMap(),
|
|
34378
|
+
}, Tn = new WeakMap(), ui = new WeakMap(), Ee = new WeakMap(), Ol = new WeakSet(), uf = function(t) {
|
|
34358
34379
|
switch (H(this, Ee)) {
|
|
34359
34380
|
case 6:
|
|
34360
34381
|
st(this, Sn, Ea).call(this), et(this, Ee, 7);
|
|
@@ -34398,16 +34419,16 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34398
34419
|
var e;
|
|
34399
34420
|
const t = (e = H(Qe, Tn)[getFn(H(this, te))]) == null ? void 0 : e[H(this, ce)];
|
|
34400
34421
|
t != null && t.hitCondition && --t.hitCondition;
|
|
34401
|
-
},
|
|
34422
|
+
}, Nl = new WeakSet(), lf = function() {
|
|
34402
34423
|
var $, k;
|
|
34403
34424
|
const t = H(this, Ee) === 3 ? 1 : 0, e = H(this, Vt).aToken[H(this, Ut) - 1 + t], o = H(this, oi).call(this, H(this, te)), R = tagToken2Name(e), N = R ? `[${R}]` : e, M = ($ = this.val.getVal("mp:const.sn.macro")) != null ? $ : "{}";
|
|
34404
34425
|
if (H(this, Ut) === 0)
|
|
34405
34426
|
return [{ fn: o, ln: 1, col: 1, nm: N, ma: M }];
|
|
34406
|
-
const D = st(this, li,
|
|
34427
|
+
const D = st(this, li, Xi).call(this, H(this, Vt), H(this, Ut)), L = [{ fn: o, ln: D.ln, col: D.col_s + 1, nm: N, ma: M }], B = H(this, he).length;
|
|
34407
34428
|
if (B === 0)
|
|
34408
34429
|
return L;
|
|
34409
34430
|
for (let U = B - 1; U >= 0; --U) {
|
|
34410
|
-
const z = H(this, he)[U], X = H(this, ze)[z.fn], V = X.aToken[z.idx - 1], W = st(this, li,
|
|
34431
|
+
const z = H(this, he)[U], X = H(this, ze)[z.fn], V = X.aToken[z.idx - 1], W = st(this, li, Xi).call(this, X, z.idx), Y = tagToken2Name(V);
|
|
34411
34432
|
L.push({
|
|
34412
34433
|
fn: H(this, oi).call(this, z.fn),
|
|
34413
34434
|
ln: W.ln,
|
|
@@ -34417,7 +34438,7 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34417
34438
|
});
|
|
34418
34439
|
}
|
|
34419
34440
|
return L;
|
|
34420
|
-
}, js = new WeakMap(), Vs = new WeakMap(), ar = new WeakMap(),
|
|
34441
|
+
}, js = new WeakMap(), Vs = new WeakMap(), ar = new WeakMap(), Ml = new WeakSet(), hf = function(t) {
|
|
34421
34442
|
var N;
|
|
34422
34443
|
const { name: e } = t;
|
|
34423
34444
|
if (!e)
|
|
@@ -34427,24 +34448,24 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34427
34448
|
for (; H(this, Ut) < R && (o = H(this, Vt).aToken[H(this, Ut)], o === ""); ++Re(this, Ut)._)
|
|
34428
34449
|
;
|
|
34429
34450
|
return t.text = o, t.cast = "str", this.hTag.let(t), et(this, Ut, H(this, Ut) + 2), et(this, ce, H(this, ce) + ((N = o.match(/\n/g)) != null ? N : []).length), !1;
|
|
34430
|
-
},
|
|
34451
|
+
}, Dl = new WeakSet(), cf = function() {
|
|
34431
34452
|
var R;
|
|
34432
34453
|
if (H(this, Ut) === 0)
|
|
34433
34454
|
return console.group(`\u{1F95F} [dump_stack] \u30B9\u30AF\u30EA\u30D7\u30C8\u73FE\u5728\u5730 fn:${H(this, te)} line:${1} col:${0}`), console.groupEnd(), !1;
|
|
34434
|
-
const t = st(this, li,
|
|
34455
|
+
const t = st(this, li, Xi).call(this, H(this, Vt), H(this, Ut)), e = `\u30B9\u30AF\u30EA\u30D7\u30C8\u73FE\u5728\u5730 fn:${H(this, te)} line:${t.ln} col:${t.col_s + 1}`;
|
|
34435
34456
|
console.group(`\u{1F95F} [dump_stack] ${e}`);
|
|
34436
34457
|
const o = H(this, he).length;
|
|
34437
34458
|
if (o > 0) {
|
|
34438
34459
|
console.info(e);
|
|
34439
34460
|
for (let N = o - 1; N >= 0; --N) {
|
|
34440
|
-
const M = H(this, he)[N], D = M.csArg[":hMp"], L = D ? D[":\u30BF\u30B0\u540D"] : void 0, B = (R = M.csArg[":\u30BF\u30B0\u540D"]) != null ? R : "", $ = st(this, li,
|
|
34461
|
+
const M = H(this, he)[N], D = M.csArg[":hMp"], L = D ? D[":\u30BF\u30B0\u540D"] : void 0, B = (R = M.csArg[":\u30BF\u30B0\u540D"]) != null ? R : "", $ = st(this, li, Xi).call(this, H(this, ze)[M.fn], M.idx);
|
|
34441
34462
|
console.info(
|
|
34442
34463
|
`${o - N}\u3064\u524D\u306E\u30B3\u30FC\u30EB\u5143 fn:${M.fn} line:${$.ln} col:${$.col_s + 1}` + (L ? "\uFF08[" + L + "]\u30DE\u30AF\u30ED\u5185\uFF09" : " ") + `\u3067 [${B} ...]\u3092\u30B3\u30FC\u30EB`
|
|
34443
34464
|
);
|
|
34444
34465
|
}
|
|
34445
34466
|
}
|
|
34446
34467
|
return console.groupEnd(), !1;
|
|
34447
|
-
}, li = new WeakSet(),
|
|
34468
|
+
}, li = new WeakSet(), Xi = function(t, e) {
|
|
34448
34469
|
const o = { ln: 1, col_s: 0, col_e: 0 };
|
|
34449
34470
|
if (!t)
|
|
34450
34471
|
return o;
|
|
@@ -34460,33 +34481,33 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34460
34481
|
break;
|
|
34461
34482
|
}
|
|
34462
34483
|
return o;
|
|
34463
|
-
},
|
|
34484
|
+
}, Ll = new WeakSet(), ff = function(t) {
|
|
34464
34485
|
const { set_fnc: e, break_fnc: o } = t;
|
|
34465
34486
|
if (!e)
|
|
34466
34487
|
throw "set_fnc\u306F\u5FC5\u9808\u3067\u3059";
|
|
34467
|
-
if (et(this,
|
|
34488
|
+
if (et(this, $i, globalThis[e]), !H(this, $i)) {
|
|
34468
34489
|
if (argChk_Boolean(t, "need_err", !0))
|
|
34469
34490
|
throw `HTML\u5185\u306B\u95A2\u6570${e}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093`;
|
|
34470
|
-
return et(this,
|
|
34491
|
+
return et(this, $i, () => {
|
|
34471
34492
|
}), !1;
|
|
34472
34493
|
}
|
|
34473
34494
|
if (this.noticeBreak = (R) => {
|
|
34474
34495
|
var N;
|
|
34475
|
-
H(this, Xs) !== H(this, te) && (et(this, Xs, H(this, te)), H(this,
|
|
34496
|
+
H(this, Xs) !== H(this, te) && (et(this, Xs, H(this, te)), H(this, $i).call(this, H(this, Ws)[H(this, te)] = (N = H(this, Ws)[H(this, te)]) != null ? N : H(this, Vt).aToken.join(""))), H(this, ki).call(this, H(this, ce), R);
|
|
34476
34497
|
}, this.noticeBreak(!0), !o)
|
|
34477
34498
|
return !1;
|
|
34478
|
-
if (et(this,
|
|
34499
|
+
if (et(this, ki, globalThis[o]), !H(this, ki)) {
|
|
34479
34500
|
if (argChk_Boolean(t, "need_err", !0))
|
|
34480
34501
|
throw `HTML\u5185\u306B\u95A2\u6570${o}\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093`;
|
|
34481
|
-
et(this,
|
|
34502
|
+
et(this, ki, () => {
|
|
34482
34503
|
});
|
|
34483
34504
|
}
|
|
34484
34505
|
return !1;
|
|
34485
|
-
},
|
|
34506
|
+
}, $i = new WeakMap(), ki = new WeakMap(), Xs = new WeakMap(), Ws = new WeakMap(), Ys = new WeakMap(), Ye = new WeakMap(), Fl = new WeakSet(), df = function() {
|
|
34486
34507
|
if (H(this, Ye)[0] === -1)
|
|
34487
34508
|
throw "if\u30D6\u30ED\u30C3\u30AF\u5185\u3067\u306F\u3042\u308A\u307E\u305B\u3093";
|
|
34488
34509
|
return et(this, Ut, H(this, Ye)[0]), H(this, Ye).shift(), !1;
|
|
34489
|
-
},
|
|
34510
|
+
}, Bl = new WeakSet(), pf = function(t) {
|
|
34490
34511
|
var L;
|
|
34491
34512
|
const { exp: e } = t;
|
|
34492
34513
|
if (!e)
|
|
@@ -34539,15 +34560,15 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34539
34560
|
}
|
|
34540
34561
|
}
|
|
34541
34562
|
throw "[endif]\u304C\u306A\u3044\u307E\u307E\u30B9\u30AF\u30EA\u30D7\u30C8\u7D42\u7AEF\u3067\u3059";
|
|
34542
|
-
},
|
|
34543
|
-
argChk_Boolean(t, "count", !1) || st(this, Lo,
|
|
34563
|
+
}, $l = new WeakSet(), vf = function(t) {
|
|
34564
|
+
argChk_Boolean(t, "count", !1) || st(this, Lo, Dh).call(this);
|
|
34544
34565
|
const { fn: e } = t;
|
|
34545
|
-
return e && H(this, En).call(this, e), st(this, Co,
|
|
34546
|
-
}, Co = new WeakSet(),
|
|
34566
|
+
return e && H(this, En).call(this, e), st(this, Co, Ph).call(this, { ":hEvt1Time": H(this, Vs).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), st(this, Ui, Vn).call(this, e, t.label), !0;
|
|
34567
|
+
}, Co = new WeakSet(), Ph = function(t) {
|
|
34547
34568
|
H(this, Vt).aLNum[H(this, Ut)] = H(this, ce), H(this, qs) || (t[":resvToken"] = "", st(this, Cn, xa).call(this)), H(this, he).push(new CallStack(H(this, te), H(this, Ut), t)), H(this, Ye).unshift(-1);
|
|
34548
|
-
}, $l = new WeakSet(), vf = function(t) {
|
|
34549
|
-
return argChk_Boolean(t, "count", !0) || st(this, Lo, Mh).call(this), H(this, Ye)[0] = -1, st(this, Gi, Vn).call(this, t.fn, t.label), !0;
|
|
34550
34569
|
}, kl = new WeakSet(), gf = function(t) {
|
|
34570
|
+
return argChk_Boolean(t, "count", !0) || st(this, Lo, Dh).call(this), H(this, Ye)[0] = -1, st(this, Ui, Vn).call(this, t.fn, t.label), !0;
|
|
34571
|
+
}, Gl = new WeakSet(), _f = function(t) {
|
|
34551
34572
|
if (H(this, Ae) === -1)
|
|
34552
34573
|
return !1;
|
|
34553
34574
|
if (argChk_Boolean(t, "clear", !1))
|
|
@@ -34571,13 +34592,13 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34571
34592
|
return !1;
|
|
34572
34593
|
const R = H(this, vr)[H(this, Ae)], { fn: N, idx: M } = st(this, ea, iu).call(this);
|
|
34573
34594
|
return R.key === M + ":" + N ? !1 : st(this, ta, ru).call(this, { fn: R.retFn, index: R.retIdx }, R.retMark);
|
|
34574
|
-
},
|
|
34595
|
+
}, Ul = new WeakSet(), mf = function(t) {
|
|
34575
34596
|
if (argChk_Boolean(t, "clear", !1))
|
|
34576
34597
|
et(this, he, []);
|
|
34577
34598
|
else if (!H(this, he).pop())
|
|
34578
34599
|
throw "[pop_stack] \u30B9\u30BF\u30C3\u30AF\u304C\u7A7A\u3067\u3059";
|
|
34579
34600
|
return st(this, Cn, xa).call(this), et(this, Ye, [-1]), this.val.setMp({}), !1;
|
|
34580
|
-
}, Io = new WeakSet(),
|
|
34601
|
+
}, Io = new WeakSet(), Ah = function() {
|
|
34581
34602
|
const t = H(this, he).pop();
|
|
34582
34603
|
if (!t)
|
|
34583
34604
|
throw "[return] \u30B9\u30BF\u30C3\u30AF\u304C\u7A7A\u3067\u3059";
|
|
@@ -34586,11 +34607,11 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34586
34607
|
const o = e[":hMp"];
|
|
34587
34608
|
o && this.val.setMp(o);
|
|
34588
34609
|
const R = e[":resvToken"];
|
|
34589
|
-
return R ? this.nextToken = () => (st(this, Cn, xa).call(this), R) : st(this, Cn, xa).call(this), e[":hEvt1Time"] && H(this, Vs).pushLocalEvts(e[":hEvt1Time"]), t.fn in H(this, ze) ? (st(this, Oo,
|
|
34610
|
+
return R ? this.nextToken = () => (st(this, Cn, xa).call(this), R) : st(this, Cn, xa).call(this), e[":hEvt1Time"] && H(this, Vs).pushLocalEvts(e[":hEvt1Time"]), t.fn in H(this, ze) ? (st(this, Oo, Mh).call(this, t), !1) : (st(this, Ui, Vn).call(this, t.fn, "", t.idx), !0);
|
|
34590
34611
|
}, qs = new WeakMap(), Cn = new WeakSet(), xa = function() {
|
|
34591
|
-
et(this, qs, ""), this.nextToken = st(this, wo,
|
|
34592
|
-
},
|
|
34593
|
-
if (!t && !e && this.main.errScript("[jump\u7CFB] fn\u307E\u305F\u306Flabel\u306F\u5FC5\u9808\u3067\u3059"), e ? (e.charAt(0) !== "*" && this.main.errScript("[jump\u7CFB] label\u306F*\u3067\u59CB\u307E\u308A\u307E\u3059"), et(this,
|
|
34612
|
+
et(this, qs, ""), this.nextToken = st(this, wo, Oh);
|
|
34613
|
+
}, Gi = new WeakMap(), Ui = new WeakSet(), Vn = function(t = "", e = "", o = 0) {
|
|
34614
|
+
if (!t && !e && this.main.errScript("[jump\u7CFB] fn\u307E\u305F\u306Flabel\u306F\u5FC5\u9808\u3067\u3059"), e ? (e.charAt(0) !== "*" && this.main.errScript("[jump\u7CFB] label\u306F*\u3067\u59CB\u307E\u308A\u307E\u3059"), et(this, Gi, e), H(this, Gi).slice(0, 2) !== "**" && et(this, Ut, o)) : (et(this, Gi, ""), et(this, Ut, o)), !t) {
|
|
34594
34615
|
this.analyzeInit();
|
|
34595
34616
|
return;
|
|
34596
34617
|
}
|
|
@@ -34613,22 +34634,22 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34613
34634
|
}
|
|
34614
34635
|
D == null || D();
|
|
34615
34636
|
}).load((M, D) => {
|
|
34616
|
-
this.nextToken = st(this, wo,
|
|
34637
|
+
this.nextToken = st(this, wo, Oh), et(this, ce, 1), st(this, zl, bf).call(this, D[t].data), this.hTag.record_place({}), this.main.resume(() => this.analyzeInit());
|
|
34617
34638
|
}), this.main.stop();
|
|
34618
|
-
}, wo = new WeakSet(),
|
|
34639
|
+
}, wo = new WeakSet(), Oh = function() {
|
|
34619
34640
|
var e, o;
|
|
34620
|
-
if (st(this, Ro,
|
|
34641
|
+
if (st(this, Ro, Nh).call(this))
|
|
34621
34642
|
return "";
|
|
34622
|
-
st(this,
|
|
34643
|
+
st(this, jl, Ef).call(this), (e = H(this, Vt).aLNum)[o = H(this, Ut)] || (e[o] = H(this, ce));
|
|
34623
34644
|
const t = H(this, Vt).aToken[H(this, Ut)];
|
|
34624
34645
|
return H(this, Zs).call(this, t), ++Re(this, Ut)._, t;
|
|
34625
|
-
}, Zs = new WeakMap(), Ro = new WeakSet(),
|
|
34646
|
+
}, Zs = new WeakMap(), Ro = new WeakSet(), Nh = function() {
|
|
34626
34647
|
return H(this, Ut) < H(this, Vt).len ? !1 : (this.main.errScript("\u30B9\u30AF\u30EA\u30D7\u30C8\u7D42\u7AEF\u3067\u3059"), !0);
|
|
34627
|
-
}, Po = new WeakMap(), Ao = new WeakMap(), Ks = new WeakMap(),
|
|
34648
|
+
}, Po = new WeakMap(), Ao = new WeakMap(), Ks = new WeakMap(), Hi = new WeakMap(), Js = new WeakMap(), Hl = new WeakSet(), yf = function(t, e, o, R, N) {
|
|
34628
34649
|
var $, k, U, z, X;
|
|
34629
34650
|
const M = t.aToken.length;
|
|
34630
34651
|
if (!R) {
|
|
34631
|
-
if (st(this, Ro,
|
|
34652
|
+
if (st(this, Ro, Nh).call(this))
|
|
34632
34653
|
return { idx: N, ln: o };
|
|
34633
34654
|
if (t.aLNum[N])
|
|
34634
34655
|
o = t.aLNum[N];
|
|
@@ -34683,15 +34704,15 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34683
34704
|
return { idx: V + 1, ln: o };
|
|
34684
34705
|
continue;
|
|
34685
34706
|
}
|
|
34686
|
-
Y === 91 && (o += ((X = W.match(/\n/g)) != null ? X : []).length, H(this,
|
|
34707
|
+
Y === 91 && (o += ((X = W.match(/\n/g)) != null ? X : []).length, H(this, Hi).lastIndex = 0, H(this, Hi).test(W) && (B = !0));
|
|
34687
34708
|
}
|
|
34688
34709
|
throw B ? "[let_ml]\u306E\u7D42\u7AEF\u30FB[endlet_ml]\u304C\u3042\u308A\u307E\u305B\u3093" : (DebugMng.myTrace(`[jump\u7CFB] \u30E9\u30D9\u30EB\u3010${R}\u3011\u304C\u3042\u308A\u307E\u305B\u3093`, "ET"), "Dummy");
|
|
34689
|
-
}, ze = new WeakMap(),
|
|
34710
|
+
}, ze = new WeakMap(), zl = new WeakSet(), bf = function(t) {
|
|
34690
34711
|
const e = H(this, ai).matchToken(t.replace(/(\r\n|\r)/g, `
|
|
34691
34712
|
`));
|
|
34692
34713
|
for (let R = e.length - 1; R >= 0; --R) {
|
|
34693
34714
|
const N = e[R];
|
|
34694
|
-
if (H(this,
|
|
34715
|
+
if (H(this, Hi).lastIndex = 0, H(this, Hi).test(N)) {
|
|
34695
34716
|
const M = N.indexOf("]") + 1;
|
|
34696
34717
|
if (M === 0)
|
|
34697
34718
|
throw "[let_ml]\u3067\u9589\u3058\u308B\u3010]\u3011\u304C\u3042\u308A\u307E\u305B\u3093";
|
|
@@ -34712,11 +34733,11 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34712
34733
|
this.main.errScript(o, !1);
|
|
34713
34734
|
}
|
|
34714
34735
|
H(this, ze)[H(this, te)] = H(this, Vt), this.val.loadScrWork(H(this, te));
|
|
34715
|
-
}, Oo = new WeakSet(),
|
|
34736
|
+
}, Oo = new WeakSet(), Mh = function(t) {
|
|
34716
34737
|
et(this, te, t.fn), et(this, Ut, t.idx);
|
|
34717
34738
|
const e = H(this, ze)[H(this, te)];
|
|
34718
34739
|
e && et(this, Vt, e), et(this, ce, H(this, Vt).aLNum[t.idx]);
|
|
34719
|
-
}, No = new WeakMap(), Mo = new WeakMap(), Do = new WeakMap(),
|
|
34740
|
+
}, No = new WeakMap(), Mo = new WeakMap(), Do = new WeakMap(), jl = new WeakSet(), Ef = function() {
|
|
34720
34741
|
const t = this.val.getAreaKidoku(H(this, te));
|
|
34721
34742
|
if (!t)
|
|
34722
34743
|
throw `recordKidoku fn:'${H(this, te)}' (areas === null)`;
|
|
@@ -34725,14 +34746,14 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34725
34746
|
return;
|
|
34726
34747
|
}
|
|
34727
34748
|
et(this, Ur, t.search(H(this, Ut))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", H(this, Ur)), !H(this, Ur) && t.record(H(this, Ut));
|
|
34728
|
-
}, Ur = new WeakMap(), Lo = new WeakSet(),
|
|
34749
|
+
}, Ur = new WeakMap(), Lo = new WeakSet(), Dh = function() {
|
|
34729
34750
|
var t;
|
|
34730
34751
|
(t = this.val.getAreaKidoku(H(this, te))) == null || t.erase(H(this, Ut)), et(this, Ur, !1);
|
|
34731
|
-
}, jl = new WeakSet(), Ef = function(t) {
|
|
34732
|
-
return H(this, ai).bracket2macro(t, H(this, Vt), H(this, Ut)), !1;
|
|
34733
34752
|
}, Vl = new WeakSet(), xf = function(t) {
|
|
34734
|
-
return H(this, ai).
|
|
34753
|
+
return H(this, ai).bracket2macro(t, H(this, Vt), H(this, Ut)), !1;
|
|
34735
34754
|
}, Xl = new WeakSet(), Tf = function(t) {
|
|
34755
|
+
return H(this, ai).char2macro(t, this.hTag, H(this, Vt), H(this, Ut)), !1;
|
|
34756
|
+
}, Wl = new WeakSet(), Sf = function(t) {
|
|
34736
34757
|
var N, M, D;
|
|
34737
34758
|
const { name: e } = t;
|
|
34738
34759
|
if (!e)
|
|
@@ -34740,7 +34761,7 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34740
34761
|
if (e in this.hTag)
|
|
34741
34762
|
throw `[${e}]\u306F\u30BF\u30B0\u304B\u3059\u3067\u306B\u5B9A\u7FA9\u6E08\u307F\u306E\u30DE\u30AF\u30ED\u3067\u3059`;
|
|
34742
34763
|
const o = H(this, ce), R = new CallStack(H(this, te), H(this, Ut));
|
|
34743
|
-
for (et(this, Qs, H(this, Qs) + ("|" + e)), et(this, In, new RegExp(`\\[(${H(this, Qs)})\\b`)), this.hTag[e] = (L) => (L.design_unit = t.design_unit, st(this, Co,
|
|
34764
|
+
for (et(this, Qs, H(this, Qs) + ("|" + e)), et(this, In, new RegExp(`\\[(${H(this, Qs)})\\b`)), this.hTag[e] = (L) => (L.design_unit = t.design_unit, st(this, Co, Ph).call(this, { ...L, ":hMp": this.val.cloneMp() }), this.val.setMp(L), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", H(this, te)), et(this, ce, o), st(this, Oo, Mh).call(this, R), !1); H(this, Ut) < H(this, Vt).len; ++Re(this, Ut)._) {
|
|
34744
34765
|
(N = H(this, Vt).aLNum)[M = H(this, Ut)] || (N[M] = H(this, ce));
|
|
34745
34766
|
const L = H(this, Vt).aToken[H(this, Ut)];
|
|
34746
34767
|
if (L.search(H(this, Ks)) > -1)
|
|
@@ -34749,7 +34770,7 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34749
34770
|
B === 10 ? et(this, ce, H(this, ce) + L.length) : B === 91 && et(this, ce, H(this, ce) + ((D = L.match(/\n/g)) != null ? D : []).length);
|
|
34750
34771
|
}
|
|
34751
34772
|
throw `\u30DE\u30AF\u30ED[${e}]\u5B9A\u7FA9\u306E\u7D42\u7AEF\u30FB[endmacro]\u304C\u3042\u308A\u307E\u305B\u3093`;
|
|
34752
|
-
}, Qs = new WeakMap(), In = new WeakMap(),
|
|
34773
|
+
}, Qs = new WeakMap(), In = new WeakMap(), Yl = new WeakSet(), Cf = function(t) {
|
|
34753
34774
|
if (!("place" in t))
|
|
34754
34775
|
throw "place\u306F\u5FC5\u9808\u3067\u3059";
|
|
34755
34776
|
const e = Number(t.place);
|
|
@@ -34774,19 +34795,19 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34774
34795
|
const N = String(this.val.getVal("save:const.sn.scriptFn")), M = Number(this.val.getVal("save:const.sn.scriptIdx"));
|
|
34775
34796
|
return et(this, Ye, [...H(this, pr).aIfStk]), et(this, he, []), H(this, ar).cover(!0), H(this, ar).stopAllTw(), "index" in t ? (H(this, ar).playback(H(this, pr).hPages, () => {
|
|
34776
34797
|
var D, L;
|
|
34777
|
-
H(this, ar).cover(!1), et(this, wn, !0), st(this,
|
|
34798
|
+
H(this, ar).cover(!1), et(this, wn, !0), st(this, Ui, Vn).call(this, (D = t.fn) != null ? D : N, "", (L = t.index) != null ? L : M);
|
|
34778
34799
|
}), !0) : (delete H(this, ze)[N], H(this, ar).playback(
|
|
34779
34800
|
H(this, pr).hPages,
|
|
34780
34801
|
"label" in t ? () => {
|
|
34781
34802
|
H(this, ar).cover(!1), et(this, te, N), et(this, Ut, M), this.hTag.call({ fn: t.fn, label: t.label });
|
|
34782
34803
|
} : () => {
|
|
34783
|
-
H(this, ar).cover(!1), st(this,
|
|
34804
|
+
H(this, ar).cover(!1), st(this, Ui, Vn).call(this, N, "", M);
|
|
34784
34805
|
}
|
|
34785
34806
|
), !0);
|
|
34786
|
-
}, wn = new WeakMap(),
|
|
34807
|
+
}, wn = new WeakMap(), ql = new WeakSet(), If = function(t) {
|
|
34787
34808
|
const e = this.val.getMark(0);
|
|
34788
34809
|
return delete H(this, ze)[getFn(e.hSave["const.sn.scriptFn"])], t.do_rec = !1, st(this, ta, ru).call(this, t, e, !1);
|
|
34789
|
-
}, pr = new WeakMap(),
|
|
34810
|
+
}, pr = new WeakMap(), Zl = new WeakSet(), wf = function() {
|
|
34790
34811
|
if (this.main.isDestroyed())
|
|
34791
34812
|
return !1;
|
|
34792
34813
|
const { fn: t, idx: e } = st(this, ea, iu).call(this);
|
|
@@ -34806,7 +34827,7 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34806
34827
|
fn: e.fn,
|
|
34807
34828
|
idx: e.idx
|
|
34808
34829
|
};
|
|
34809
|
-
},
|
|
34830
|
+
}, Kl = new WeakSet(), Rf = function(t) {
|
|
34810
34831
|
var R;
|
|
34811
34832
|
if (!("place" in t))
|
|
34812
34833
|
throw "place\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -34814,11 +34835,11 @@ Vt = new WeakMap(), te = new WeakMap(), Ut = new WeakMap(), ce = new WeakMap(),
|
|
|
34814
34835
|
delete t[":\u30BF\u30B0\u540D"], delete t.place, t.text = ((R = t.text) != null ? R : "").replace(/^(<br\/>)+/, ""), H(this, pr).json = t, this.val.setMark(e, H(this, pr));
|
|
34815
34836
|
const o = Number(this.val.getVal("sys:const.sn.save.place"));
|
|
34816
34837
|
return e === o && this.val.setVal_Nochk("sys", "const.sn.save.place", o + 1), !1;
|
|
34817
|
-
}, vr = new WeakMap(), Ae = new WeakMap(), it(ScriptIterator,
|
|
34818
|
-
var qe, Ze, Le, gr, hi, Rn, Fe, Fo, ci, ra,
|
|
34838
|
+
}, vr = new WeakMap(), Ae = new WeakMap(), it(ScriptIterator, Al, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), it(ScriptIterator, Tn, {}), it(ScriptIterator, ui, {});
|
|
34839
|
+
var qe, Ze, Le, gr, hi, Rn, Fe, Fo, ci, ra, zi, ia, na, Pn, Jl, Pf, sa, aa, An, oa, nu, ji, On;
|
|
34819
34840
|
class Main {
|
|
34820
34841
|
constructor(t) {
|
|
34821
|
-
it(this,
|
|
34842
|
+
it(this, Jl);
|
|
34822
34843
|
it(this, oa);
|
|
34823
34844
|
it(this, qe, void 0);
|
|
34824
34845
|
it(this, Ze, void 0);
|
|
@@ -34830,24 +34851,24 @@ class Main {
|
|
|
34830
34851
|
it(this, Fo, void 0);
|
|
34831
34852
|
it(this, ci, void 0);
|
|
34832
34853
|
it(this, ra, void 0);
|
|
34833
|
-
it(this,
|
|
34854
|
+
it(this, zi, void 0);
|
|
34834
34855
|
it(this, ia, void 0);
|
|
34835
34856
|
it(this, na, void 0);
|
|
34836
34857
|
it(this, Pn, void 0);
|
|
34837
34858
|
it(this, sa, void 0);
|
|
34838
34859
|
it(this, aa, void 0);
|
|
34839
34860
|
it(this, An, void 0);
|
|
34840
|
-
it(this,
|
|
34861
|
+
it(this, ji, void 0);
|
|
34841
34862
|
it(this, On, void 0);
|
|
34842
|
-
this.sys = t, et(this, Le, /* @__PURE__ */ Object.create(null)), et(this,
|
|
34843
|
-
}), et(this, ia, new AnalyzeTagArg()), et(this, na, !1), et(this, Pn, "skynovel"), et(this, sa, () => H(this,
|
|
34844
|
-
H(this,
|
|
34845
|
-
et(this,
|
|
34863
|
+
this.sys = t, et(this, Le, /* @__PURE__ */ Object.create(null)), et(this, zi, () => {
|
|
34864
|
+
}), et(this, ia, new AnalyzeTagArg()), et(this, na, !1), et(this, Pn, "skynovel"), et(this, sa, () => H(this, zi).call(this)), et(this, aa, (e = st(this, oa, nu)) => {
|
|
34865
|
+
H(this, ji) || (H(this, ci).clearBreak(), et(this, zi, e), this.resume = (o = st(this, oa, nu)) => {
|
|
34866
|
+
et(this, zi, o);
|
|
34846
34867
|
}, H(this, Fe).noticeBreak(!1));
|
|
34847
34868
|
}), this.resume = H(this, aa), this.stop = () => {
|
|
34848
|
-
et(this,
|
|
34869
|
+
et(this, zi, () => {
|
|
34849
34870
|
}), this.resume = H(this, aa), H(this, Fe).noticeBreak(!0);
|
|
34850
|
-
}, et(this, An, !0), et(this,
|
|
34871
|
+
}, et(this, An, !0), et(this, ji, !1), this.isDestroyed = () => H(this, ji), skipHello(), Config.generate(t).then((e) => et(this, qe, e)).then(() => st(this, Jl, Pf).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
|
|
34851
34872
|
}
|
|
34852
34873
|
errScript(t, e = !0) {
|
|
34853
34874
|
if (this.stop(), DebugMng.myTrace(t), CmnLib.debugLog && console.log("\u{1F35C} SKYNovel err!"), e)
|
|
@@ -34868,10 +34889,10 @@ class Main {
|
|
|
34868
34889
|
H(this, ra).fire(t, e);
|
|
34869
34890
|
}
|
|
34870
34891
|
async destroy(t = 0) {
|
|
34871
|
-
H(this,
|
|
34892
|
+
H(this, ji) || (et(this, ji, !0), H(this, na) && (this.stop(), et(this, An, !1), H(this, ci).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), et(this, Le, {}), H(this, ra).destroy(), H(this, Fe).destroy(), H(this, ci).destroy(), H(this, Fo).destroy(), H(this, Ze).ticker.remove(H(this, sa)), H(this, On) && H(this, Ze) && H(this, Ze).view.parentNode.appendChild(H(this, On)), clearTextureCache(), H(this, Ze).destroy(!0)));
|
|
34872
34893
|
}
|
|
34873
34894
|
}
|
|
34874
|
-
qe = new WeakMap(), Ze = new WeakMap(), Le = new WeakMap(), gr = new WeakMap(), hi = new WeakMap(), Rn = new WeakMap(), Fe = new WeakMap(), Fo = new WeakMap(), ci = new WeakMap(), ra = new WeakMap(),
|
|
34895
|
+
qe = new WeakMap(), Ze = new WeakMap(), Le = new WeakMap(), gr = new WeakMap(), hi = new WeakMap(), Rn = new WeakMap(), Fe = new WeakMap(), Fo = new WeakMap(), ci = new WeakMap(), ra = new WeakMap(), zi = new WeakMap(), ia = new WeakMap(), na = new WeakMap(), Pn = new WeakMap(), Jl = new WeakSet(), Pf = async function() {
|
|
34875
34896
|
var R, N, M;
|
|
34876
34897
|
const t = (R = document.createElement("canvas")) == null ? void 0 : R.getContext("2d");
|
|
34877
34898
|
if (!t)
|
|
@@ -34953,7 +34974,7 @@ qe = new WeakMap(), Ze = new WeakMap(), Le = new WeakMap(), gr = new WeakMap(),
|
|
|
34953
34974
|
}
|
|
34954
34975
|
}
|
|
34955
34976
|
}
|
|
34956
|
-
},
|
|
34977
|
+
}, ji = new WeakMap(), On = new WeakMap();
|
|
34957
34978
|
var assign = make_assign(), create$1 = make_create(), trim$1 = make_trim(), Global$5 = typeof window < "u" ? window : commonjsGlobal$1, util$6 = {
|
|
34958
34979
|
assign,
|
|
34959
34980
|
create: create$1,
|