@famibee/skynovel 1.47.0 → 1.47.2
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 +3006 -3001
- package/dist/app.js.map +1 -1
- package/dist/appMain.d.ts.map +1 -1
- package/dist/appMain.js +1 -1
- package/dist/appMain.js.map +1 -1
- package/dist/sn/ReadState.d.ts +5 -5
- package/dist/sn/ReadState.d.ts.map +1 -1
- package/dist/web.js +207 -202
- package/dist/web.js.map +1 -1
- package/package.json +1 -1
package/dist/web.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var pt = (o, t, e) => (
|
|
1
|
+
var zd = Object.defineProperty;
|
|
2
|
+
var Vd = (o, t, e) => t in o ? zd(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
|
|
3
|
+
var pt = (o, t, e) => (Vd(o, typeof t != "symbol" ? t + "" : t, e), e), zu = (o, t, e) => {
|
|
4
4
|
if (!t.has(o))
|
|
5
5
|
throw TypeError("Cannot " + e);
|
|
6
6
|
};
|
|
@@ -478,10 +478,10 @@ const REG_EXT = /\.([^\.]+)$/;
|
|
|
478
478
|
function getExt(o) {
|
|
479
479
|
return (o.match(REG_EXT) ?? ["", ""])[1];
|
|
480
480
|
}
|
|
481
|
-
var
|
|
481
|
+
var Yc, Wc;
|
|
482
482
|
class CmnLib {
|
|
483
483
|
}
|
|
484
|
-
pt(CmnLib, "stageW", 0), pt(CmnLib, "stageH", 0), pt(CmnLib, "debugLog", !1), pt(CmnLib, "isSafari", platformExports.name === "Safari"), pt(CmnLib, "isFirefox", platformExports.name === "Firefox"), pt(CmnLib, "isMac", new RegExp("OS X").test(((
|
|
484
|
+
pt(CmnLib, "stageW", 0), pt(CmnLib, "stageH", 0), pt(CmnLib, "debugLog", !1), pt(CmnLib, "isSafari", platformExports.name === "Safari"), pt(CmnLib, "isFirefox", platformExports.name === "Firefox"), pt(CmnLib, "isMac", new RegExp("OS X").test(((Yc = platformExports.os) == null ? void 0 : Yc.family) ?? "")), pt(CmnLib, "isMobile", !new RegExp("(Windows|OS X)").test(((Wc = platformExports.os) == null ? void 0 : Wc.family) ?? "")), pt(CmnLib, "hDip", {}), pt(CmnLib, "isDbg", !1), pt(CmnLib, "isPackaged", !1), pt(CmnLib, "isDarkMode", !1), pt(CmnLib, "cc4ColorName");
|
|
485
485
|
function finallyConstructor(o) {
|
|
486
486
|
var t = this.constructor;
|
|
487
487
|
return this.then(
|
|
@@ -16870,9 +16870,9 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
16870
16870
|
var es = rt.split(/\r\n|[\n\r\u2028\u2029]/);
|
|
16871
16871
|
dt = Vt.column - 1, gt = Vt.line - 1, Ct = Wt(gt, Ot, jt, es.length), Tt = es.slice(Ct.from, Ct.to), Rt = Ct.to.toString().length;
|
|
16872
16872
|
}
|
|
16873
|
-
var
|
|
16873
|
+
var Hd = gt - Ct.from;
|
|
16874
16874
|
return ht(rt) && (Rt = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Rt = 2), $(function(Oe, is, rs) {
|
|
16875
|
-
var qr, ns = rs ===
|
|
16875
|
+
var qr, ns = rs === Hd, ss = ns ? "> " : Ut;
|
|
16876
16876
|
return qr = ht(rt) ? Ft((8 * (Ct.from + rs)).toString(16), Rt, "0") : Ft((Ct.from + rs + 1).toString(), Rt, " "), [].concat(Oe, [ss + qr + " | " + is], ns ? [Ut + Gt(" ", Rt) + " | " + Ft("", dt, " ") + Gt("^", $e)] : []);
|
|
16877
16877
|
}, [], Tt).join(`
|
|
16878
16878
|
`);
|
|
@@ -17154,10 +17154,10 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17154
17154
|
return ot(rt.length, rt.slice(ct));
|
|
17155
17155
|
}), ge = k(function(rt, ct) {
|
|
17156
17156
|
return ct < rt.length ? nt(ct, "EOF") : ot(ct, null);
|
|
17157
|
-
}), le = Nt(/[0-9]/).desc("a digit"), te = Nt(/[0-9]*/).desc("optional digits"), ni = Nt(/[a-z]/i).desc("a letter"),
|
|
17158
|
-
`),
|
|
17159
|
-
`),
|
|
17160
|
-
k.all = xe, k.alt = St, k.any = Bi, k.cr =
|
|
17157
|
+
}), le = Nt(/[0-9]/).desc("a digit"), te = Nt(/[0-9]*/).desc("optional digits"), ni = Nt(/[a-z]/i).desc("a letter"), Ud = Nt(/[a-z]*/i).desc("optional letters"), Gd = Nt(/\s*/).desc("optional whitespace"), $d = Nt(/\s+/).desc("whitespace"), Hc = vt("\r"), zc = vt(`
|
|
17158
|
+
`), Vc = vt(`\r
|
|
17159
|
+
`), Xc = St(Vc, zc, Hc).desc("newline"), jd = St(Xc, ge);
|
|
17160
|
+
k.all = xe, k.alt = St, k.any = Bi, k.cr = Hc, k.createLanguage = function(rt) {
|
|
17161
17161
|
var ct = {};
|
|
17162
17162
|
for (var dt in rt)
|
|
17163
17163
|
({}).hasOwnProperty.call(rt, dt) && function(gt) {
|
|
@@ -17166,9 +17166,9 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17166
17166
|
});
|
|
17167
17167
|
}(dt);
|
|
17168
17168
|
return ct;
|
|
17169
|
-
}, k.crlf =
|
|
17169
|
+
}, k.crlf = Vc, k.custom = function(rt) {
|
|
17170
17170
|
return k(rt(ot, nt));
|
|
17171
|
-
}, k.digit = le, k.digits = te, k.empty = _i, k.end =
|
|
17171
|
+
}, k.digit = le, k.digits = te, k.empty = _i, k.end = jd, k.eof = ge, k.fail = _t, k.formatError = qt, k.index = Ze, k.isParser = at, k.lazy = mi, k.letter = ni, k.letters = Ud, k.lf = zc, k.lookahead = Ce, k.makeFailure = nt, k.makeSuccess = ot, k.newline = Xc, k.noneOf = function(rt) {
|
|
17172
17172
|
return Re(function(ct) {
|
|
17173
17173
|
return rt.indexOf(ct) < 0;
|
|
17174
17174
|
}).desc("none of '" + rt + "'");
|
|
@@ -17178,7 +17178,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17178
17178
|
return Re(function(gt) {
|
|
17179
17179
|
return rt.indexOf(gt) >= 0;
|
|
17180
17180
|
}).desc(ct);
|
|
17181
|
-
}, k.optWhitespace =
|
|
17181
|
+
}, k.optWhitespace = Gd, k.Parser = k, k.range = function(rt, ct) {
|
|
17182
17182
|
return Re(function(dt) {
|
|
17183
17183
|
return rt <= dt && dt <= ct;
|
|
17184
17184
|
}).desc(rt + "-" + ct);
|
|
@@ -17213,7 +17213,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17213
17213
|
gt++;
|
|
17214
17214
|
return ot(gt, ct.slice(dt, gt));
|
|
17215
17215
|
});
|
|
17216
|
-
}, k.test = Re, k.whitespace =
|
|
17216
|
+
}, k.test = Re, k.whitespace = $d, k["fantasy-land/empty"] = _i, k["fantasy-land/of"] = Yt, k.Binary = { bitSeq: Y, bitSeqObj: function(rt) {
|
|
17217
17217
|
V();
|
|
17218
17218
|
var ct = {}, dt = 0, gt = H(function(Ct) {
|
|
17219
17219
|
if (st(Ct)) {
|
|
@@ -17268,7 +17268,7 @@ var parsimmon_umd_min = { exports: {} };
|
|
|
17268
17268
|
}]);
|
|
17269
17269
|
});
|
|
17270
17270
|
})(parsimmon_umd_min);
|
|
17271
|
-
var parsimmon_umd_minExports = parsimmon_umd_min.exports, nn, $t, zt, Ci, sr, Zr, Mh, Pa, Vu, Ih, Ah,
|
|
17271
|
+
var parsimmon_umd_minExports = parsimmon_umd_min.exports, nn, $t, zt, Ci, sr, Zr, Mh, Pa, Vu, Ih, Ah, qc;
|
|
17272
17272
|
const Ic = class {
|
|
17273
17273
|
constructor(t, e = "\\") {
|
|
17274
17274
|
K(this, $t);
|
|
@@ -17477,7 +17477,7 @@ const Ic = class {
|
|
|
17477
17477
|
const { scope: N = "tmp", name: k, at: D = "" } = r;
|
|
17478
17478
|
return {
|
|
17479
17479
|
scope: N,
|
|
17480
|
-
name: et(B = Ic, Ah,
|
|
17480
|
+
name: et(B = Ic, Ah, qc).call(B, k),
|
|
17481
17481
|
at: D
|
|
17482
17482
|
};
|
|
17483
17483
|
}
|
|
@@ -17499,7 +17499,7 @@ nn = new WeakMap(), $t = new WeakSet(), zt = function(t) {
|
|
|
17499
17499
|
U(this, Mh),
|
|
17500
17500
|
(e) => e.at(0) === "$" ? this.val.getVal(e.slice(1)) : this.parse(e.slice(2, -1))
|
|
17501
17501
|
);
|
|
17502
|
-
}, Ih = new WeakMap(), Ah = new WeakSet(),
|
|
17502
|
+
}, Ih = new WeakMap(), Ah = new WeakSet(), qc = function(t) {
|
|
17503
17503
|
let e = 0, r = 0;
|
|
17504
17504
|
for (; ; ) {
|
|
17505
17505
|
if (e = t.indexOf('["'), e < 0) {
|
|
@@ -17514,14 +17514,14 @@ nn = new WeakMap(), $t = new WeakSet(), zt = function(t) {
|
|
|
17514
17514
|
}
|
|
17515
17515
|
return t;
|
|
17516
17516
|
}, K(PropParser, Ah), K(PropParser, Ih, /^((?<scope>\w+?):)?(?<name>[^\s :@]+)(?<at>\@str)?$/);
|
|
17517
|
-
var Ri, sn, ps, Oi, Ca, Lh,
|
|
17517
|
+
var Ri, sn, ps, Oi, Ca, Lh, Zc, Nh, Kc, kh, Jc, Dh, Qc;
|
|
17518
17518
|
const he = class {
|
|
17519
17519
|
constructor(t, e, r) {
|
|
17520
17520
|
K(this, Lh);
|
|
17521
17521
|
K(this, Nh);
|
|
17522
17522
|
// ログ出力
|
|
17523
17523
|
K(this, Ca, !0);
|
|
17524
|
-
this.sys = t, Q(he, Ri, r), Q(he, sn, e), Q(he, ps, e.title), he.myTrace = et(he, kh,
|
|
17524
|
+
this.sys = t, Q(he, Ri, r), Q(he, sn, e), Q(he, ps, e.title), he.myTrace = et(he, kh, Jc), e.log = (N) => et(this, Lh, Zc).call(this, N), e.trace = (N) => et(this, Nh, Kc).call(this, N), Q(he, Oi, document.createElement("span")), U(he, Oi).hidden = !0, U(he, Oi).textContent = "", U(he, Oi).style.cssText = ` z-index: ${Number.MAX_SAFE_INTEGER};
|
|
17525
17525
|
position: absolute; left: 0; top: 0;
|
|
17526
17526
|
color: black;
|
|
17527
17527
|
background-color: rgba(255, 255, 255, 0.7);`, document.body.appendChild(U(he, Oi));
|
|
@@ -17554,7 +17554,7 @@ const he = class {
|
|
|
17554
17554
|
}
|
|
17555
17555
|
};
|
|
17556
17556
|
let DebugMng = he;
|
|
17557
|
-
Ri = new WeakMap(), sn = new WeakMap(), ps = new WeakMap(), Oi = new WeakMap(), Ca = new WeakMap(), Lh = new WeakSet(),
|
|
17557
|
+
Ri = new WeakMap(), sn = new WeakMap(), ps = new WeakMap(), Oi = new WeakMap(), Ca = new WeakMap(), Lh = new WeakSet(), Zc = function(t) {
|
|
17558
17558
|
let e = "";
|
|
17559
17559
|
return U(this, Ca) && (Q(this, Ca, !1), e = `== ${platform.description} ==
|
|
17560
17560
|
`), this.sys.appendFile(
|
|
@@ -17566,12 +17566,12 @@ ${t.text || `(text is ${t.text})`}
|
|
|
17566
17566
|
r && console.log(r);
|
|
17567
17567
|
}
|
|
17568
17568
|
), !1;
|
|
17569
|
-
}, Nh = new WeakSet(),
|
|
17569
|
+
}, Nh = new WeakSet(), Kc = function(t) {
|
|
17570
17570
|
return he.myTrace(t.text || `(text is ${t.text})`, "I"), !1;
|
|
17571
|
-
}, kh = new WeakSet(),
|
|
17571
|
+
}, kh = new WeakSet(), Jc = function(t, e = "E") {
|
|
17572
17572
|
var k, D;
|
|
17573
17573
|
let r = `{${e}} ` + he.strPos() + t;
|
|
17574
|
-
et(k = he, Dh,
|
|
17574
|
+
et(k = he, Dh, Qc).call(k, r, e);
|
|
17575
17575
|
let N = "";
|
|
17576
17576
|
switch (e) {
|
|
17577
17577
|
case "D":
|
|
@@ -17593,7 +17593,7 @@ ${t.text || `(text is ${t.text})`}
|
|
|
17593
17593
|
N = "", r = " " + r;
|
|
17594
17594
|
}
|
|
17595
17595
|
console.info("%c" + r, N);
|
|
17596
|
-
}, Dh = new WeakSet(),
|
|
17596
|
+
}, Dh = new WeakSet(), Qc = function(t, e) {
|
|
17597
17597
|
let r = "";
|
|
17598
17598
|
switch (e) {
|
|
17599
17599
|
case "D":
|
|
@@ -17666,7 +17666,7 @@ class Areas {
|
|
|
17666
17666
|
return t.slice(1);
|
|
17667
17667
|
}
|
|
17668
17668
|
}
|
|
17669
|
-
var Ie, gi, Se, ar, Te, hi, Gi, Ra, Fh, Oa, Xu, Ma, Ia, Bh,
|
|
17669
|
+
var Ie, gi, Se, ar, Te, hi, Gi, Ra, Fh, Oa, Xu, Ma, Ia, Bh, tf, Uh, ef, yi, Ui, Gh, rf, $h, nf, jh, sf, Hh, af, zh, of, Vh, hf, Xh, lf, Yh, uf, vs, gh, Aa, Yu, La, an, Na, Wu, Wh, qh, ms, ka, _s, yh, Zh, cf, Kh, ff, Da, qu, Fa, Zu, Jh, df;
|
|
17670
17670
|
const ls = class {
|
|
17671
17671
|
constructor(t, e) {
|
|
17672
17672
|
K(this, Oa);
|
|
@@ -17809,8 +17809,8 @@ const ls = class {
|
|
|
17809
17809
|
// sys
|
|
17810
17810
|
"sys:sn.tagCh.doWait": (t) => et(this, _s, yh).call(this, t),
|
|
17811
17811
|
"sys:sn.tagCh.doWait_Kidoku": (t) => et(this, _s, yh).call(this, t),
|
|
17812
|
-
"sys:sn.tagCh.msecWait": (t) => et(this, Zh,
|
|
17813
|
-
"sys:sn.tagCh.msecWait_Kidoku": (t) => et(this, Kh,
|
|
17812
|
+
"sys:sn.tagCh.msecWait": (t) => et(this, Zh, cf).call(this, t),
|
|
17813
|
+
"sys:sn.tagCh.msecWait_Kidoku": (t) => et(this, Kh, ff).call(this, t),
|
|
17814
17814
|
"sys:sn.tagCh.canskip": (t) => et(this, _s, yh).call(this, t),
|
|
17815
17815
|
"sys:sn.auto.msecPageWait": (t) => et(this, Da, qu).call(this, t),
|
|
17816
17816
|
"sys:sn.auto.msecPageWait_Kidoku": (t) => et(this, Da, qu).call(this, t),
|
|
@@ -17818,7 +17818,7 @@ const ls = class {
|
|
|
17818
17818
|
"sys:sn.auto.msecLineWait_Kidoku": (t) => et(this, Fa, Zu).call(this, t),
|
|
17819
17819
|
// save
|
|
17820
17820
|
"save:sn.doRecLog": (t) => {
|
|
17821
|
-
U(this, Ia).call(this, Q(this, ms, et(this, Jh,
|
|
17821
|
+
U(this, Ia).call(this, Q(this, ms, et(this, Jh, df).call(this, t)));
|
|
17822
17822
|
},
|
|
17823
17823
|
"save:sn.userFnTail": (t, e) => {
|
|
17824
17824
|
if (e.includes("@"))
|
|
@@ -17829,7 +17829,7 @@ const ls = class {
|
|
|
17829
17829
|
"tmp:flash.desktop.NativeApplication.nativeApplication.systemIdleMode": () => {
|
|
17830
17830
|
}
|
|
17831
17831
|
});
|
|
17832
|
-
if (this.cfg = t, e.let = (k) => et(this, yi, Ui).call(this, k), e.let_abs = (k) => et(this, Gh,
|
|
17832
|
+
if (this.cfg = t, e.let = (k) => et(this, yi, Ui).call(this, k), e.let_abs = (k) => et(this, Gh, rf).call(this, k), e.let_char_at = (k) => et(this, $h, nf).call(this, k), e.let_index_of = (k) => et(this, jh, sf).call(this, k), e.let_length = (k) => et(this, Hh, af).call(this, k), e.let_replace = (k) => et(this, zh, of).call(this, k), e.let_round = (k) => et(this, Vh, hf).call(this, k), e.let_search = (k) => et(this, Xh, lf).call(this, k), e.let_substr = (k) => et(this, Yh, uf).call(this, k), e.clearsysvar = () => et(this, vs, gh).call(this), e.clearvar = () => et(this, Aa, Yu).call(this), e.dump_val = () => U(this, qh).call(this), e.copybookmark = (k) => et(this, Bh, tf).call(this, k), e.erasebookmark = (k) => et(this, Uh, ef).call(this, k), U(this, gi)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
|
|
17833
17833
|
const k = [];
|
|
17834
17834
|
for (const D of Object.keys(U(this, Te).mark).sort()) {
|
|
17835
17835
|
const B = { ...U(this, Te).mark[D].json };
|
|
@@ -17946,7 +17946,7 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
|
|
|
17946
17946
|
Q(ls, an, {});
|
|
17947
17947
|
for (const e of t)
|
|
17948
17948
|
U(ls, an)[e.dataId] = 1;
|
|
17949
|
-
}, Ma = new WeakMap(), Ia = new WeakMap(), Bh = new WeakSet(),
|
|
17949
|
+
}, Ma = new WeakMap(), Ia = new WeakMap(), Bh = new WeakSet(), tf = function(t) {
|
|
17950
17950
|
if (!("from" in t))
|
|
17951
17951
|
throw "fromは必須です";
|
|
17952
17952
|
if (!("to" in t))
|
|
@@ -17957,7 +17957,7 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
|
|
|
17957
17957
|
if (!(e in U(this, Te).mark))
|
|
17958
17958
|
throw `from:${e} のセーブデータは存在しません`;
|
|
17959
17959
|
return this.setMark(r, { ...U(this, Te).mark[e] }), U(this, ar).copyBMFolder(e, r), !1;
|
|
17960
|
-
}, Uh = new WeakSet(),
|
|
17960
|
+
}, Uh = new WeakSet(), ef = function(t) {
|
|
17961
17961
|
const { place: e } = t;
|
|
17962
17962
|
if (!e)
|
|
17963
17963
|
throw "placeは必須です";
|
|
@@ -17987,33 +17987,33 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
|
|
|
17987
17987
|
throw "cast【" + t.cast + "】は未定義です";
|
|
17988
17988
|
}
|
|
17989
17989
|
return U(this, La).call(this, t.name, t.text, e), !1;
|
|
17990
|
-
}, Gh = new WeakSet(),
|
|
17990
|
+
}, Gh = new WeakSet(), rf = function(t) {
|
|
17991
17991
|
const e = argChk_Num(t, "text", 0);
|
|
17992
17992
|
return t.text = String(e < 0 ? -e : e), et(this, yi, Ui).call(this, t), !1;
|
|
17993
|
-
}, $h = new WeakSet(),
|
|
17993
|
+
}, $h = new WeakSet(), nf = function(t) {
|
|
17994
17994
|
return t.text = (t.text ?? "").charAt(argChk_Num(t, "pos", 0)), et(this, yi, Ui).call(this, t), !1;
|
|
17995
|
-
}, jh = new WeakSet(),
|
|
17995
|
+
}, jh = new WeakSet(), sf = function(t) {
|
|
17996
17996
|
const { val: e } = t;
|
|
17997
17997
|
if (!e)
|
|
17998
17998
|
throw "valは必須です";
|
|
17999
17999
|
const r = argChk_Num(t, "start", 0);
|
|
18000
18000
|
return t.text = String((t.text ?? "").indexOf(e, r)), et(this, yi, Ui).call(this, t), !1;
|
|
18001
|
-
}, Hh = new WeakSet(),
|
|
18001
|
+
}, Hh = new WeakSet(), af = function(t) {
|
|
18002
18002
|
return t.text = String((t.text ?? "").length), et(this, yi, Ui).call(this, t), !1;
|
|
18003
|
-
}, zh = new WeakSet(),
|
|
18003
|
+
}, zh = new WeakSet(), of = function(t) {
|
|
18004
18004
|
if (!t.reg)
|
|
18005
18005
|
throw "regは必須です";
|
|
18006
18006
|
const { flags: e } = t, r = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
|
|
18007
18007
|
return t.text = String(t.text ?? "").replace(r, String(t.val)), et(this, yi, Ui).call(this, t), !1;
|
|
18008
|
-
}, Vh = new WeakSet(),
|
|
18008
|
+
}, Vh = new WeakSet(), hf = function(t) {
|
|
18009
18009
|
const e = argChk_Num(t, "text", 0);
|
|
18010
18010
|
return t.text = String(Math.round(e)), et(this, yi, Ui).call(this, t), !1;
|
|
18011
|
-
}, Xh = new WeakSet(),
|
|
18011
|
+
}, Xh = new WeakSet(), lf = function(t) {
|
|
18012
18012
|
if (!t.reg)
|
|
18013
18013
|
throw "regは必須です";
|
|
18014
18014
|
const { flags: e } = t, r = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
|
|
18015
18015
|
return t.text = String((t.text ?? "").search(r)), et(this, yi, Ui).call(this, t), !1;
|
|
18016
|
-
}, Yh = new WeakSet(),
|
|
18016
|
+
}, Yh = new WeakSet(), uf = function(t) {
|
|
18017
18017
|
const e = argChk_Num(t, "pos", 0);
|
|
18018
18018
|
return t.text = t.len !== "all" ? (t.text ?? "").slice(e, e + int(argChk_Num(t, "len", 1))) : (t.text ?? "").slice(e), et(this, yi, Ui).call(this, t), !1;
|
|
18019
18019
|
}, vs = new WeakSet(), gh = function() {
|
|
@@ -18037,9 +18037,9 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
|
|
|
18037
18037
|
return U(this, Wh).test(e) ? parseFloat(e) : t;
|
|
18038
18038
|
}, Wh = new WeakMap(), qh = new WeakMap(), ms = new WeakMap(), ka = new WeakMap(), _s = new WeakSet(), yh = function(t) {
|
|
18039
18039
|
argChk_Boolean(U(this, hi), t, !0);
|
|
18040
|
-
}, Zh = new WeakSet(),
|
|
18040
|
+
}, Zh = new WeakSet(), cf = function(t) {
|
|
18041
18041
|
argChk_Num(U(this, hi), t, 10), U(this, hi)["sn.tagCh.doWait"];
|
|
18042
|
-
}, Kh = new WeakSet(),
|
|
18042
|
+
}, Kh = new WeakSet(), ff = function(t) {
|
|
18043
18043
|
argChk_Num(
|
|
18044
18044
|
U(this, hi),
|
|
18045
18045
|
t,
|
|
@@ -18053,7 +18053,7 @@ Ie = new WeakMap(), gi = new WeakMap(), Se = new WeakMap(), ar = new WeakMap(),
|
|
|
18053
18053
|
);
|
|
18054
18054
|
}, Fa = new WeakSet(), Zu = function(t) {
|
|
18055
18055
|
argChk_Num(U(this, hi), t, 500);
|
|
18056
|
-
}, Jh = new WeakSet(),
|
|
18056
|
+
}, Jh = new WeakSet(), df = function(t) {
|
|
18057
18057
|
return argChk_Boolean(U(this, gi), t, !0);
|
|
18058
18058
|
}, // reload 再生成 Main に受け渡すため static
|
|
18059
18059
|
K(Variable, an, {});
|
|
@@ -19804,7 +19804,7 @@ class SsStop {
|
|
|
19804
19804
|
}
|
|
19805
19805
|
// ok
|
|
19806
19806
|
}
|
|
19807
|
-
var He, $a, ja, tl,
|
|
19807
|
+
var He, $a, ja, tl, pf, el, vf, il, mf, rl, _f, Ha, Ju, hn, ha, za, Qu, ys, bh, Va, tc, nl, gf, ln, la, sl, yf, Xa, ec, Ya, ic, al, bf, Wa, rc, ol, xf;
|
|
19808
19808
|
class SoundMng {
|
|
19809
19809
|
constructor(t, e, r, N, k) {
|
|
19810
19810
|
// 音量設定(独自拡張)
|
|
@@ -19843,7 +19843,7 @@ class SoundMng {
|
|
|
19843
19843
|
K(this, He, {});
|
|
19844
19844
|
K(this, $a, {});
|
|
19845
19845
|
K(this, ja, void 0);
|
|
19846
|
-
this.val = r, e.volume = (D) => et(this, tl,
|
|
19846
|
+
this.val = r, e.volume = (D) => et(this, tl, pf).call(this, D), e.fadebgm = (D) => et(this, Ha, Ju).call(this, D), e.fadeoutbgm = (D) => et(this, il, mf).call(this, D), e.fadeoutse = (D) => et(this, rl, _f).call(this, D), e.fadese = (D) => et(this, hn, ha).call(this, D), e.playbgm = (D) => et(this, za, Qu).call(this, D), e.playse = (D) => et(this, ys, bh).call(this, D), e.stop_allse = () => et(this, Va, tc).call(this), e.stopbgm = (D) => et(this, nl, gf).call(this, D), e.stopse = (D) => et(this, ln, la).call(this, D), e.wb = (D) => et(this, sl, yf).call(this, D), e.wf = (D) => et(this, Xa, ec).call(this, D), e.stopfadese = (D) => et(this, Ya, ic).call(this, D), e.wl = (D) => et(this, al, bf).call(this, D), e.ws = (D) => et(this, Wa, rc).call(this, D), e.xchgbuf = (D) => et(this, ol, xf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(I.supported)), SndBuf.init(t, r, N, k), R.disableAutoPause = !0;
|
|
19847
19847
|
}
|
|
19848
19848
|
setEvtMng(t) {
|
|
19849
19849
|
Q(this, ja, t), SndBuf.setEvtMng(t);
|
|
@@ -19881,15 +19881,15 @@ class SoundMng {
|
|
|
19881
19881
|
r();
|
|
19882
19882
|
}
|
|
19883
19883
|
}
|
|
19884
|
-
He = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), tl = new WeakSet(),
|
|
19885
|
-
const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = et(this, el,
|
|
19884
|
+
He = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), tl = new WeakSet(), pf = function(t) {
|
|
19885
|
+
const { buf: e = "SE" } = t, r = "const.sn.sound." + e + ".volume", N = et(this, el, vf).call(this, t, 1);
|
|
19886
19886
|
return Number(this.val.getVal("sys:" + r)) === N ? !1 : (this.val.setVal_Nochk("sys", r, N), this.val.flush(), t.time = 0, t.volume = Number(this.val.getVal("save:" + r)), et(this, hn, ha).call(this, t));
|
|
19887
|
-
}, el = new WeakSet(),
|
|
19887
|
+
}, el = new WeakSet(), vf = function(t, e) {
|
|
19888
19888
|
const r = argChk_Num(t, "volume", e);
|
|
19889
19889
|
return r < 0 ? 0 : r > 1 ? 1 : r;
|
|
19890
|
-
}, il = new WeakSet(),
|
|
19890
|
+
}, il = new WeakSet(), mf = function(t) {
|
|
19891
19891
|
return t.volume = 0, et(this, Ha, Ju).call(this, t);
|
|
19892
|
-
}, rl = new WeakSet(),
|
|
19892
|
+
}, rl = new WeakSet(), _f = function(t) {
|
|
19893
19893
|
return t.volume = 0, et(this, hn, ha).call(this, t);
|
|
19894
19894
|
}, Ha = new WeakSet(), Ju = function(t) {
|
|
19895
19895
|
return t.buf = "BGM", et(this, hn, ha).call(this, t);
|
|
@@ -19908,13 +19908,13 @@ He = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), tl = new WeakSet(),
|
|
|
19908
19908
|
for (const t of Object.keys(U(this, He)))
|
|
19909
19909
|
et(this, ln, la).call(this, { buf: t });
|
|
19910
19910
|
return Q(this, He, {}), R.stopAll(), !1;
|
|
19911
|
-
}, nl = new WeakSet(),
|
|
19911
|
+
}, nl = new WeakSet(), gf = function(t) {
|
|
19912
19912
|
return t.buf = "BGM", et(this, ln, la).call(this, t);
|
|
19913
19913
|
}, ln = new WeakSet(), la = function(t) {
|
|
19914
19914
|
var r;
|
|
19915
19915
|
const { buf: e = "SE" } = t;
|
|
19916
19916
|
return (r = U(this, He)[e]) == null || r.stopse(t), !1;
|
|
19917
|
-
}, sl = new WeakSet(),
|
|
19917
|
+
}, sl = new WeakSet(), yf = function(t) {
|
|
19918
19918
|
return t.buf = "BGM", et(this, Xa, ec).call(this, t);
|
|
19919
19919
|
}, Xa = new WeakSet(), ec = function(t) {
|
|
19920
19920
|
var r;
|
|
@@ -19924,13 +19924,13 @@ He = new WeakMap(), $a = new WeakMap(), ja = new WeakMap(), tl = new WeakSet(),
|
|
|
19924
19924
|
var r;
|
|
19925
19925
|
const { buf: e = "SE" } = t;
|
|
19926
19926
|
return (r = U(this, He)[e]) == null || r.stopfadese(t), !1;
|
|
19927
|
-
}, al = new WeakSet(),
|
|
19927
|
+
}, al = new WeakSet(), bf = function(t) {
|
|
19928
19928
|
return t.buf = "BGM", et(this, Wa, rc).call(this, t);
|
|
19929
19929
|
}, Wa = new WeakSet(), rc = function(t) {
|
|
19930
19930
|
var r;
|
|
19931
19931
|
const { buf: e = "SE" } = t;
|
|
19932
19932
|
return (r = U(this, He)[e]) == null ? void 0 : r.ws(t);
|
|
19933
|
-
}, ol = new WeakSet(),
|
|
19933
|
+
}, ol = new WeakSet(), xf = function(t) {
|
|
19934
19934
|
const { buf: e = "SE", buf2: r = "SE" } = t;
|
|
19935
19935
|
return e === r || ([U(this, He)[e], U(this, He)[r]] = [U(this, He)[r], U(this, He)[e]], SndBuf.xchgbuf(t)), !1;
|
|
19936
19936
|
};
|
|
@@ -20266,7 +20266,7 @@ class PicBtnDesignCast extends BtnDesignCast {
|
|
|
20266
20266
|
setSp(t) {
|
|
20267
20267
|
}
|
|
20268
20268
|
}
|
|
20269
|
-
var ul, Mr, or, un, cn, $i, qa, fn, Za, bs, ji, hr, lr, Ir, Ka, Ja, Qa, cl,
|
|
20269
|
+
var ul, Mr, or, un, cn, $i, qa, fn, Za, bs, ji, hr, lr, Ir, Ka, Ja, Qa, cl, Ef, fl, Sf, to, nc, dl, Tf, xs, xh, Es, Mi, Ss, pl, dn, eo;
|
|
20270
20270
|
const Bt = class extends Layer {
|
|
20271
20271
|
constructor() {
|
|
20272
20272
|
super();
|
|
@@ -20309,7 +20309,7 @@ const Bt = class extends Layer {
|
|
|
20309
20309
|
(H) => {
|
|
20310
20310
|
Q(Bt, Za, H), $();
|
|
20311
20311
|
}
|
|
20312
|
-
), U(Bt, $i).crypto && Q(Bt, Qa, et(Bt, fl,
|
|
20312
|
+
), U(Bt, $i).crypto && Q(Bt, Qa, et(Bt, fl, Sf));
|
|
20313
20313
|
}
|
|
20314
20314
|
static setEvtMng(e) {
|
|
20315
20315
|
Q(Bt, bs, e);
|
|
@@ -20375,7 +20375,7 @@ const Bt = class extends Layer {
|
|
|
20375
20375
|
const H = (z) => {
|
|
20376
20376
|
var X;
|
|
20377
20377
|
for (const { fn: V, fnc: Y } of B) {
|
|
20378
|
-
const q = et(X = Bt, dl,
|
|
20378
|
+
const q = et(X = Bt, dl, Tf).call(X, V, z);
|
|
20379
20379
|
q.name = V, r == null || r.addChild(q), Y(q);
|
|
20380
20380
|
}
|
|
20381
20381
|
k(D);
|
|
@@ -20535,7 +20535,7 @@ const Bt = class extends Layer {
|
|
|
20535
20535
|
}
|
|
20536
20536
|
};
|
|
20537
20537
|
let GrpLayer = Bt;
|
|
20538
|
-
ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(), cn = new WeakMap(), $i = new WeakMap(), qa = new WeakMap(), fn = new WeakMap(), Za = new WeakMap(), bs = new WeakMap(), ji = new WeakMap(), hr = new WeakMap(), lr = new WeakMap(), Ir = new WeakMap(), Ka = new WeakMap(), Ja = new WeakMap(), Qa = new WeakMap(), cl = new WeakSet(),
|
|
20538
|
+
ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(), cn = new WeakMap(), $i = new WeakMap(), qa = new WeakMap(), fn = new WeakMap(), Za = new WeakMap(), bs = new WeakMap(), ji = new WeakMap(), hr = new WeakMap(), lr = new WeakMap(), Ir = new WeakMap(), Ka = new WeakMap(), Ja = new WeakMap(), Qa = new WeakMap(), cl = new WeakSet(), Ef = function(e) {
|
|
20539
20539
|
const r = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
|
|
20540
20540
|
if (!r)
|
|
20541
20541
|
return [];
|
|
@@ -20543,7 +20543,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
|
|
|
20543
20543
|
return e.sort(
|
|
20544
20544
|
(D, B) => int(D.slice(N, k)) > int(B.slice(N, k)) ? 1 : -1
|
|
20545
20545
|
);
|
|
20546
|
-
}, fl = new WeakSet(),
|
|
20546
|
+
}, fl = new WeakSet(), Sf = function(e, r, N) {
|
|
20547
20547
|
var H;
|
|
20548
20548
|
if (r.data = e, r.extension === "bin" && (e instanceof HTMLImageElement ? (r.texture = Texture.fromLoader(e, r.url, r.name), r.type = LoaderResource.TYPE.IMAGE) : e instanceof HTMLVideoElement && (e.volume = U(Bt, fn), Bt.hFn2VElm[r.name] = et(H = Bt, to, nc).call(H, e), r.type = LoaderResource.TYPE.VIDEO)), r.extension !== "json") {
|
|
20549
20549
|
N();
|
|
@@ -20578,7 +20578,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
|
|
|
20578
20578
|
});
|
|
20579
20579
|
}, to = new WeakSet(), nc = function(e) {
|
|
20580
20580
|
return U(Bt, qa).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay系] ${DebugMng.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
|
|
20581
|
-
}, dl = new WeakSet(),
|
|
20581
|
+
}, dl = new WeakSet(), Tf = function(e, r) {
|
|
20582
20582
|
const N = Bt.hFn2ResAniSpr[e];
|
|
20583
20583
|
if (N) {
|
|
20584
20584
|
const k = new AnimatedSprite(N.aTex);
|
|
@@ -20593,7 +20593,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
|
|
|
20593
20593
|
switch (r.type) {
|
|
20594
20594
|
case LoaderResource.TYPE.JSON:
|
|
20595
20595
|
const B = r.spritesheet._frameKeys;
|
|
20596
|
-
et(k = Bt, cl,
|
|
20596
|
+
et(k = Bt, cl, Ef).call(k, B), Bt.hFn2ResAniSpr[r.name] = {
|
|
20597
20597
|
aTex: B.map((H) => Texture.from(H)),
|
|
20598
20598
|
meta: r.data.meta
|
|
20599
20599
|
};
|
|
@@ -20604,7 +20604,7 @@ ul = new WeakMap(), Mr = new WeakMap(), or = new WeakMap(), un = new WeakMap(),
|
|
|
20604
20604
|
}
|
|
20605
20605
|
N();
|
|
20606
20606
|
}), pt(GrpLayer, "hFn2VElm", {}), K(GrpLayer, pl, /\?([^?]+)$/), K(GrpLayer, dn, {}), K(GrpLayer, eo, {});
|
|
20607
|
-
var Ts, io, pn, Kt, Hi, ur, vl, li, Ar, Dt, bi, ze, Ve, ws, Eh, Ii, cr, ro, Ps, ml,
|
|
20607
|
+
var Ts, io, pn, Kt, Hi, ur, vl, li, Ar, Dt, bi, ze, Ve, ws, Eh, Ii, cr, ro, Ps, ml, wf, vn, Cs, Lr, mn, _n, gn, Rs, no, Nr, so, sc, fr, ao, dr, zi, Os, oo, ac, kr, yn, ho, oc, Ke;
|
|
20608
20608
|
const Ht = class extends Container {
|
|
20609
20609
|
constructor(e, r, N) {
|
|
20610
20610
|
super();
|
|
@@ -20972,7 +20972,7 @@ const Ht = class extends Container {
|
|
|
20972
20972
|
Q(this, Dt, e.infTL), this.position.set(U(this, Dt).pad_left, U(this, Dt).pad_top), U(this, Kt).style.cssText = e.cssText, Q(this, Ii, e.left), et(this, ws, Eh).call(this), U(this, li).sethArg(e.idc_hArg), Q(this, vn, e.ch_filter), Q(this, kr, e.fi_easing), Q(this, yn, e.fo_easing), Q(this, bi, e.break_fixed ?? !1), Q(this, ze, e.break_fixed_left ?? 0), Q(this, Ve, e.break_fixed_top ?? 0);
|
|
20973
20973
|
}
|
|
20974
20974
|
snapshot(e, r) {
|
|
20975
|
-
et(this, ml,
|
|
20975
|
+
et(this, ml, wf).call(this, (N) => {
|
|
20976
20976
|
Q(this, Ke, new Sprite(N)), U(this, cr) && (U(this, Ke).x += CmnLib.stageW - (U(this, Ii) + U(this, Dt).$width)), U(this, Ke).y -= U(this, Ps), U(this, Ke).texture.frame = new Rectangle(
|
|
20977
20977
|
0,
|
|
20978
20978
|
0,
|
|
@@ -21010,7 +21010,7 @@ Ts = new WeakMap(), io = new WeakMap(), pn = new WeakMap(), Kt = new WeakMap(),
|
|
|
21010
21010
|
U(this, Dt).fontsize = r, U(this, Dt).pad_left = parseFloat(e.paddingLeft || "0"), U(this, Dt).pad_right = parseFloat(e.paddingRight || "0"), U(this, Dt).pad_top = parseFloat(e.paddingTop || "0"), U(this, Dt).pad_bottom = parseFloat(e.paddingBottom || "0"), U(this, Dt).$width = parseFloat(e.width || "0"), U(this, Dt).$height = parseFloat(e.height || "0"), this.position.set(U(this, Dt).pad_left, U(this, Dt).pad_top), Q(this, cr, e.writingMode === "vertical-rl"), Q(this, ro, 0), Q(this, Ps, 0);
|
|
21011
21011
|
const N = e.lineHeight ?? "0";
|
|
21012
21012
|
Q(this, Os, U(this, cr) ? 0 : (N.slice(-2) === "px" ? parseFloat(N) : r * parseFloat(N) - r) / 2);
|
|
21013
|
-
}, Ii = new WeakMap(), cr = new WeakMap(), ro = new WeakMap(), Ps = new WeakMap(), ml = new WeakSet(),
|
|
21013
|
+
}, Ii = new WeakMap(), cr = new WeakMap(), ro = new WeakMap(), Ps = new WeakMap(), ml = new WeakSet(), wf = function(e, r = !0) {
|
|
21014
21014
|
const N = {
|
|
21015
21015
|
escape: (Z) => Z.replaceAll(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
21016
21016
|
mimeType: (Z) => {
|
|
@@ -21353,7 +21353,7 @@ bn = new WeakMap(), Vi = new WeakMap(), lo = new WeakMap(), K(RubySpliter, bn, "
|
|
|
21353
21353
|
・Unicode文字一覧表 - instant tools https://tools.m-bsys.com/ex/unicode_table.php
|
|
21354
21354
|
*/
|
|
21355
21355
|
K(RubySpliter, lo, void 0);
|
|
21356
|
-
var uo, co, Ai, pr, ie, _l,
|
|
21356
|
+
var uo, co, Ai, pr, ie, _l, Pf, Ms, Is, gl, Cf;
|
|
21357
21357
|
const Qr = class extends Container {
|
|
21358
21358
|
constructor(e, r, N, k) {
|
|
21359
21359
|
var V;
|
|
@@ -21392,7 +21392,7 @@ const Qr = class extends Container {
|
|
|
21392
21392
|
e.pic,
|
|
21393
21393
|
this,
|
|
21394
21394
|
(Y) => {
|
|
21395
|
-
et(this, gl,
|
|
21395
|
+
et(this, gl, Cf).call(this, Y), U(this, Ai).width = Y.width * U(this, ie).scale_x, U(this, Ai).height = Y.height * U(this, ie).scale_y;
|
|
21396
21396
|
},
|
|
21397
21397
|
(Y) => N
|
|
21398
21398
|
);
|
|
@@ -21427,7 +21427,7 @@ const Qr = class extends Container {
|
|
|
21427
21427
|
e.b_pic,
|
|
21428
21428
|
this,
|
|
21429
21429
|
(Y) => {
|
|
21430
|
-
et(this, _l,
|
|
21430
|
+
et(this, _l, Pf).call(this, Y, $), U(this, ie).width = this.width, U(this, ie).height = this.height;
|
|
21431
21431
|
},
|
|
21432
21432
|
(Y) => {
|
|
21433
21433
|
Layer.setBlendmode(this, e), Y && N();
|
|
@@ -21481,7 +21481,7 @@ const Qr = class extends Container {
|
|
|
21481
21481
|
}
|
|
21482
21482
|
};
|
|
21483
21483
|
let Button = Qr;
|
|
21484
|
-
uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(), ie = new WeakMap(), _l = new WeakSet(),
|
|
21484
|
+
uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(), ie = new WeakMap(), _l = new WeakSet(), Pf = function(e, r) {
|
|
21485
21485
|
this.setChildIndex(e, 0), e.alpha = r.alpha, e.setTransform(
|
|
21486
21486
|
r.x,
|
|
21487
21487
|
r.y,
|
|
@@ -21493,7 +21493,7 @@ uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(),
|
|
|
21493
21493
|
(e.width - r.width) / 2,
|
|
21494
21494
|
(e.height - r.height) / 2
|
|
21495
21495
|
), e.name = r.name;
|
|
21496
|
-
}, Ms = new WeakMap(), Is = new WeakMap(), gl = new WeakSet(),
|
|
21496
|
+
}, Ms = new WeakMap(), Is = new WeakMap(), gl = new WeakSet(), Cf = function(e) {
|
|
21497
21497
|
var X;
|
|
21498
21498
|
U(this, ie).alpha = e.alpha = argChk_Num(this.hArg, "alpha", e.alpha), U(this, pr).setSp(e);
|
|
21499
21499
|
const r = e.width / 3, N = U(this, ie).enabled ? r : e.width, k = e.height, D = e.texture.baseTexture, B = new Texture(D, new Rectangle(0, 0, r, k)), $ = new Texture(D, new Rectangle(r, 0, r, k)), H = new Texture(D, new Rectangle(r * 2, 0, r, k)), z = () => e.texture = B;
|
|
@@ -21501,7 +21501,7 @@ uo = new WeakMap(), co = new WeakMap(), Ai = new WeakMap(), pr = new WeakMap(),
|
|
|
21501
21501
|
}, pt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif"), K(Button, uo, (e, r) => {
|
|
21502
21502
|
}), K(Button, co, (e, r, N, k) => {
|
|
21503
21503
|
});
|
|
21504
|
-
var As, Li, fo, Ls, po, hc, vo, lc, mo, xn, _o, vr, En, yl,
|
|
21504
|
+
var As, Li, fo, Ls, po, hc, vo, lc, mo, xn, _o, vr, En, yl, Rf, mr, xi, Ni, ue, Xi, ee, go, Yi, bl, Je, Sn, ua, Tn, Ns, wn, ca, ks, yo, uc, bo, cc, Pn, Cn, Ds, xo, Fs, Dr, Qe, xl, Of, ui, Eo, Bs, Sh, _r, Kr, Wi, ki, Ei, Si, So, fc, Us, Th, To, dc, Rn, On;
|
|
21505
21505
|
const Xt = class extends Layer {
|
|
21506
21506
|
constructor() {
|
|
21507
21507
|
super();
|
|
@@ -21675,7 +21675,7 @@ text-combine-upright: all;
|
|
|
21675
21675
|
var $, H;
|
|
21676
21676
|
Q(Xt, As, e), TxtStage.init(e, B), Q(Xt, Li, N), Q(Xt, Ls, k), Q(Xt, fo, D), N.setDoRecProc(Xt.chgDoRec), r.autowc = (z) => {
|
|
21677
21677
|
var X;
|
|
21678
|
-
return et(X = Xt, yl,
|
|
21678
|
+
return et(X = Xt, yl, Rf).call(X, z);
|
|
21679
21679
|
}, r.autowc({ enabled: !1, text: "", time: 0 }), r.ch_in_style = (z) => {
|
|
21680
21680
|
var X;
|
|
21681
21681
|
return et(X = Xt, po, hc).call(X, z);
|
|
@@ -21755,7 +21755,7 @@ text-combine-upright: all;
|
|
|
21755
21755
|
U(this, ee).lay({ y: e });
|
|
21756
21756
|
}
|
|
21757
21757
|
lay(e) {
|
|
21758
|
-
if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), et(this, bo, cc).call(this, e), U(this, ee).lay(e), "r_align" in e && Q(this, Qe, e.r_align ?? ""), Q(this, Dr, CmnLib.isSafari ? U(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};` : U(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 = et(this, xl,
|
|
21758
|
+
if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), et(this, bo, cc).call(this, e), U(this, ee).lay(e), "r_align" in e && Q(this, Qe, e.r_align ?? ""), Q(this, Dr, CmnLib.isSafari ? U(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};` : U(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 = et(this, xl, Of)), "r_style" in e)
|
|
21759
21759
|
if (e.r_style) {
|
|
21760
21760
|
const r = document.createElement("span");
|
|
21761
21761
|
r.style.cssText = e.r_style;
|
|
@@ -21914,7 +21914,7 @@ As = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(),
|
|
|
21914
21914
|
transform: rotate(${r.rotate}deg) scale(${r.scale_x}, ${r.scale_y}) translate(${N}, ${k});
|
|
21915
21915
|
}
|
|
21916
21916
|
`), !1;
|
|
21917
|
-
}, mo = new WeakMap(), xn = new WeakMap(), _o = new WeakMap(), vr = new WeakMap(), En = new WeakMap(), yl = new WeakSet(),
|
|
21917
|
+
}, mo = new WeakMap(), xn = new WeakMap(), _o = new WeakMap(), vr = new WeakMap(), En = new WeakMap(), yl = new WeakSet(), Rf = function(e) {
|
|
21918
21918
|
Q(Xt, vr, argChk_Boolean(e, "enabled", U(Xt, vr))), U(Xt, Li).setVal_Nochk("save", "const.sn.autowc.enabled", U(Xt, vr));
|
|
21919
21919
|
const { text: r } = e;
|
|
21920
21920
|
if ("text" in e != "time" in e)
|
|
@@ -21961,7 +21961,7 @@ As = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(),
|
|
|
21961
21961
|
return U(this, ue) && (U(this, ue).visible = N > 0, U(this, ue).alpha = N), r(!1), !1;
|
|
21962
21962
|
}, bo = new WeakSet(), cc = function(e) {
|
|
21963
21963
|
"noffs" in e && (Q(this, Ds, e.noffs ?? ""), Q(this, xo, new RegExp(`[ ${U(this, Ds)}]`))), "ffs" in e && (U(this, Pn) ?? Q(this, Pn, ""), Q(this, Cn, U(this, Pn) === "" ? () => "" : (r) => U(this, xo).test(r) ? "" : ` font-feature-settings: ${U(this, Pn)};`));
|
|
21964
|
-
}, Pn = new WeakMap(), Cn = new WeakMap(), Ds = new WeakMap(), xo = new WeakMap(), Fs = new WeakMap(), Dr = new WeakMap(), Qe = new WeakMap(), xl = new WeakSet(),
|
|
21964
|
+
}, Pn = new WeakMap(), Cn = new WeakMap(), Ds = new WeakMap(), xo = new WeakMap(), Fs = new WeakMap(), Dr = new WeakMap(), Qe = new WeakMap(), xl = new WeakSet(), Of = function(e, r, N, k = "") {
|
|
21965
21965
|
if (!N)
|
|
21966
21966
|
return ` style='${k}'`;
|
|
21967
21967
|
const D = e.length * 2;
|
|
@@ -22052,7 +22052,7 @@ K(TxtLayer, bl, {
|
|
|
22052
22052
|
"padding-top": 0,
|
|
22053
22053
|
"padding-bottom": 0
|
|
22054
22054
|
}), K(TxtLayer, Fs, (e) => e);
|
|
22055
|
-
var Gs, Mn, El,
|
|
22055
|
+
var Gs, Mn, El, Mf, $s, js, wh, Sl, If, Tl, Af, wo, wl, Lf, Pl, Nf;
|
|
22056
22056
|
class FrameMng {
|
|
22057
22057
|
constructor(t, e, r, N, k, D, B) {
|
|
22058
22058
|
// HTMLフレーム
|
|
@@ -22071,7 +22071,7 @@ class FrameMng {
|
|
|
22071
22071
|
K(this, $s, {});
|
|
22072
22072
|
// フレームに設定
|
|
22073
22073
|
K(this, wo, 1);
|
|
22074
|
-
this.cfg = t, this.appPixi = r, this.val = N, this.main = k, this.sys = D, this.hTwInf = B, e.add_frame = ($) => et(this, El,
|
|
22074
|
+
this.cfg = t, this.appPixi = r, this.val = N, this.main = k, this.sys = D, this.hTwInf = B, e.add_frame = ($) => et(this, El, Mf).call(this, $), e.let_frame = ($) => et(this, Sl, If).call(this, $), e.set_frame = ($) => et(this, Tl, Af).call(this, $), e.frame = ($) => et(this, wl, Lf).call(this, $), e.tsy_frame = ($) => et(this, Pl, Nf).call(this, $);
|
|
22075
22075
|
}
|
|
22076
22076
|
setEvtMng(t) {
|
|
22077
22077
|
Q(this, Gs, t);
|
|
@@ -22091,7 +22091,7 @@ class FrameMng {
|
|
|
22091
22091
|
}
|
|
22092
22092
|
}
|
|
22093
22093
|
}
|
|
22094
|
-
Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(),
|
|
22094
|
+
Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Mf = function(t) {
|
|
22095
22095
|
const { id: e, src: r, alpha: N = 1, scale_x: k = 1, scale_y: D = 1, rotate: B = 0 } = t;
|
|
22096
22096
|
if (!e)
|
|
22097
22097
|
throw "idは必須です";
|
|
@@ -22131,7 +22131,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
|
|
|
22131
22131
|
argChk_Num(e, "width", CmnLib.stageW) * r,
|
|
22132
22132
|
argChk_Num(e, "height", CmnLib.stageH) * r
|
|
22133
22133
|
);
|
|
22134
|
-
}, Sl = new WeakSet(),
|
|
22134
|
+
}, Sl = new WeakSet(), If = function(t) {
|
|
22135
22135
|
const { id: e, var_name: r } = t;
|
|
22136
22136
|
if (!e)
|
|
22137
22137
|
throw "idは必須です";
|
|
@@ -22152,7 +22152,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
|
|
|
22152
22152
|
k + "." + r,
|
|
22153
22153
|
argChk_Boolean(t, "function", !1) ? B() : B
|
|
22154
22154
|
), !1;
|
|
22155
|
-
}, Tl = new WeakSet(),
|
|
22155
|
+
}, Tl = new WeakSet(), Af = function(t) {
|
|
22156
22156
|
const { id: e, var_name: r, text: N } = t;
|
|
22157
22157
|
if (!e)
|
|
22158
22158
|
throw "idは必須です";
|
|
@@ -22169,7 +22169,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
|
|
|
22169
22169
|
this.val.setVal_Nochk("tmp", D + "." + r, N);
|
|
22170
22170
|
const B = k.contentWindow;
|
|
22171
22171
|
return B[r] = N, !1;
|
|
22172
|
-
}, wo = new WeakMap(), wl = new WeakSet(),
|
|
22172
|
+
}, wo = new WeakMap(), wl = new WeakSet(), Lf = function(t) {
|
|
22173
22173
|
const { id: e } = t;
|
|
22174
22174
|
if (!e)
|
|
22175
22175
|
throw "idは必須です";
|
|
@@ -22198,7 +22198,7 @@ Gs = new WeakMap(), Mn = new WeakMap(), El = new WeakSet(), Cf = function(t) {
|
|
|
22198
22198
|
r.contentDocument.body.querySelectorAll("input,select").forEach((H) => H.disabled = B);
|
|
22199
22199
|
}
|
|
22200
22200
|
return !1;
|
|
22201
|
-
}, Pl = new WeakSet(),
|
|
22201
|
+
}, Pl = new WeakSet(), Nf = function(t) {
|
|
22202
22202
|
const { id: e, alpha: r, x: N, y: k, scale_x: D, scale_y: B, rotate: $, width: H, height: z, ease: X, path: V, chain: Y } = t;
|
|
22203
22203
|
if (!e)
|
|
22204
22204
|
throw "idは必須です";
|
|
@@ -22272,7 +22272,7 @@ ${e}`, lt = () => {
|
|
|
22272
22272
|
yt.start();
|
|
22273
22273
|
return this.hTwInf[nt] = { tw: Ot, resume: !1 }, !1;
|
|
22274
22274
|
};
|
|
22275
|
-
var Ti, ne, me, Fr, In, Hs, Po, Co, Ro, zs, Oo, pc, Br, ci, Cl,
|
|
22275
|
+
var Ti, ne, me, Fr, In, Hs, Po, Co, Ro, zs, Oo, pc, Br, ci, Cl, kf, ti, Rl, Df, Ol, Ff, Ml, Bf, Jt, qi, Zi, Mo, Il, Uf, Vs, Ph, Al, Gf, Ll, Io, Nl, An, Ln, gr, we, Nn, kl, $f, Pe, Xe, ai, Dl, jf, Fl, Hf, Bl, zf, kn, fa, Ul, Vf, fi, Gl, Xf, $l, Yf, jl, Wf, Hl, qf, zl, Zf, Ur, Dn, da, di, Vl, Kf, Ao, Xl, Jf, Ki, Fn, Gr, as, Ge, Ji, Yl, Qf, Wl, td, ql, ed, Zl, id, Kl, rd, Jl, nd, Ql, sd, Lo, vc, tu, ad, eu, od, iu, hd, ru, ld, nu, ud, su, cd, au, fd;
|
|
22276
22276
|
const Rr = class {
|
|
22277
22277
|
constructor(t, e, r, N, k, D, B, $, H, z) {
|
|
22278
22278
|
K(this, Oo);
|
|
@@ -22468,7 +22468,7 @@ void main(void) {
|
|
|
22468
22468
|
}, 1e3 / 60 * 10));
|
|
22469
22469
|
}, { passive: !0 });
|
|
22470
22470
|
}
|
|
22471
|
-
B.cvsResize(), TxtLayer.init(t, e, N, this, (W) => U(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, B, $, N), Button.init(t), Q(this, Fr, new FrameMng(t, e, r, N, k, B, U(this, fi))), B.hFactoryCls.grp = () => new GrpLayer(), B.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => et(this, Ol,
|
|
22471
|
+
B.cvsResize(), TxtLayer.init(t, e, N, this, (W) => U(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, B, $, N), Button.init(t), Q(this, Fr, new FrameMng(t, e, r, N, k, B, U(this, fi))), B.hFactoryCls.grp = () => new GrpLayer(), B.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => et(this, Ol, Ff).call(this, W), e.snapshot = (W) => et(this, Rl, Df).call(this, W), e.add_lay = (W) => et(this, Ml, Bf).call(this, W), e.clear_lay = (W) => et(this, Al, Gf).call(this, W), e.finish_trans = () => et(this, kn, fa).call(this), e.lay = (W) => et(this, Il, Uf).call(this, W), e.trans = (W) => et(this, kl, $f).call(this, W), e.wt = (W) => et(this, Bl, zf).call(this, W), e.quake = (W) => et(this, Ul, Vf).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => et(this, Hl, qf).call(this, W), e.resume_tsy = (W) => et(this, zl, Zf).call(this, W), e.stop_tsy = (W) => et(this, jl, Wf).call(this, W), e.tsy = (W) => et(this, Gl, Xf).call(this, W), e.wait_tsy = (W) => et(this, $l, Yf).call(this, W), e.ch = (W) => et(this, Dn, da).call(this, W), e.clear_text = (W) => et(this, Yl, Qf).call(this, W), e.current = (W) => U(this, Ao).call(this, W), e.endlink = (W) => et(this, Wl, td).call(this, W), e.er = (W) => et(this, ql, ed).call(this, W), e.graph = (W) => et(this, Zl, id).call(this, W), e.link = (W) => et(this, Kl, rd).call(this, W), e.r = (W) => et(this, Jl, nd).call(this, W), e.rec_ch = (W) => et(this, Lo, vc).call(this, W), e.rec_r = (W) => et(this, Ql, sd).call(this, W), e.reset_rec = (W) => et(this, tu, ad).call(this, W), e.ruby2 = (W) => et(this, eu, od).call(this, W), e.span = (W) => et(this, iu, hd).call(this, W), e.tcy = (W) => et(this, ru, ld).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => et(this, nu, ud).call(this, W), e.enable_event = (W) => et(this, su, cd).call(this, W), e.button = (W) => et(this, au, fd).call(this, W), t.existsBreakline && (this.breakLine = (W) => {
|
|
22472
22472
|
delete W.visible, W.id = "break", W.pic = "breakline";
|
|
22473
22473
|
const Z = encodeURIComponent(JSON.stringify(W));
|
|
22474
22474
|
U(this, ti).call(this, "grp|" + Z);
|
|
@@ -22480,7 +22480,7 @@ void main(void) {
|
|
|
22480
22480
|
const V = new Graphics();
|
|
22481
22481
|
V.beginFill(U(this, In), 1).lineStyle(0, U(this, In)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), U(this, ne).addChild(V.clone()), U(this, me).addChild(V), U(this, me).visible = !1, U(this, ne).name = "page:A", U(this, me).name = "page:B", Q(this, Ti, r.stage), U(this, Ti).addChild(U(this, me)), U(this, Ti).addChild(U(this, ne)), U(this, Ti).addChild(U(this, Ln)), U(this, Ti).addChild(U(this, we)), U(this, Ti).name = "stage", r.ticker.add(U(this, Po));
|
|
22482
22482
|
const Y = (W, Z) => {
|
|
22483
|
-
et(this, Cl,
|
|
22483
|
+
et(this, Cl, kf).call(this, Number(Z));
|
|
22484
22484
|
};
|
|
22485
22485
|
Y("", N.getVal("sys:TextLayer.Back.Alpha", 1)), N.defValTrg("sys:TextLayer.Back.Alpha", Y);
|
|
22486
22486
|
const q = (W, Z) => Button.fontFamily = Z;
|
|
@@ -22595,12 +22595,12 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22595
22595
|
[Me(this, Ro)._, this.zs = ""] = t.split("/");
|
|
22596
22596
|
const e = U(this, Jt)[U(this, Ro)];
|
|
22597
22597
|
e && (U(this, zs) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
22598
|
-
}, Br = new WeakMap(), ci = new WeakMap(), Cl = new WeakSet(),
|
|
22598
|
+
}, Br = new WeakMap(), ci = new WeakMap(), Cl = new WeakSet(), kf = function(t) {
|
|
22599
22599
|
for (const e of et(this, Xe, ai).call(this)) {
|
|
22600
22600
|
const r = U(this, Jt)[e];
|
|
22601
22601
|
r.fore instanceof TxtLayer && (r.fore.chgBackAlpha(t), r.back.chgBackAlpha(t));
|
|
22602
22602
|
}
|
|
22603
|
-
}, ti = new WeakMap(), Rl = new WeakSet(),
|
|
22603
|
+
}, ti = new WeakMap(), Rl = new WeakSet(), Df = function(t) {
|
|
22604
22604
|
const e = t.fn ? t.fn.slice(0, 10) === "userdata:/" ? t.fn : `downloads:/${t.fn + getDateStr("-", "_", "", "_")}.png` : `downloads:/snapshot${getDateStr("-", "_", "", "_")}.png`, r = this.cfg.searchPath(e);
|
|
22605
22605
|
if (!("layer" in t) && this.sys.canCapturePage(r, () => this.main.resume()))
|
|
22606
22606
|
return !0;
|
|
@@ -22635,7 +22635,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22635
22635
|
U(this, Jt)[z][$].snapshot_end();
|
|
22636
22636
|
D.destroy(!0), this.main.resume();
|
|
22637
22637
|
}), !0;
|
|
22638
|
-
}, Ol = new WeakSet(),
|
|
22638
|
+
}, Ol = new WeakSet(), Ff = function(t) {
|
|
22639
22639
|
const { fn: e } = t;
|
|
22640
22640
|
if (!e)
|
|
22641
22641
|
throw "fnは必須です";
|
|
@@ -22653,7 +22653,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22653
22653
|
throw "サポートされない拡張子です";
|
|
22654
22654
|
}
|
|
22655
22655
|
return r;
|
|
22656
|
-
}, Ml = new WeakSet(),
|
|
22656
|
+
}, Ml = new WeakSet(), Bf = function(t) {
|
|
22657
22657
|
const { layer: e, class: r } = t;
|
|
22658
22658
|
if (!e)
|
|
22659
22659
|
throw "layerは必須です";
|
|
@@ -22667,7 +22667,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22667
22667
|
switch (U(this, Jt)[e] = new Pages(e, r, U(this, ne), U(this, me), t, this.sys, this.val, N), U(this, qi).push(e), r) {
|
|
22668
22668
|
case "txt":
|
|
22669
22669
|
U(this, Zi) || (Q(this, Fn, () => {
|
|
22670
|
-
}), Q(this, di, et(this, Vl,
|
|
22670
|
+
}), Q(this, di, et(this, Vl, Kf)), Q(this, Ao, et(this, Xl, Jf)), this.hTag.current({ layer: e }), this.goTxt = () => {
|
|
22671
22671
|
U(this, ci).isSkipping() ? Q(Rr, Ur, 0) : this.setNormalChWait();
|
|
22672
22672
|
for (const k of et(this, Xe, ai).call(this)) {
|
|
22673
22673
|
const D = U(this, Jt)[k].fore;
|
|
@@ -22686,7 +22686,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22686
22686
|
break;
|
|
22687
22687
|
}
|
|
22688
22688
|
return this.scrItr.recodeDesign(t), N.isWait;
|
|
22689
|
-
}, Jt = new WeakMap(), qi = new WeakMap(), Zi = new WeakMap(), Mo = new WeakMap(), Il = new WeakSet(),
|
|
22689
|
+
}, Jt = new WeakMap(), qi = new WeakMap(), Zi = new WeakMap(), Mo = new WeakMap(), Il = new WeakSet(), Uf = function(t) {
|
|
22690
22690
|
const e = et(this, Gr, as).call(this, t), r = U(this, Jt)[e], N = r.back.spLay, k = r.fore.spLay;
|
|
22691
22691
|
if (argChk_Boolean(t, "float", !1))
|
|
22692
22692
|
U(this, me).setChildIndex(N, U(this, me).children.length - 1), U(this, ne).setChildIndex(k, U(this, ne).children.length - 1), et(this, Vs, Ph).call(this);
|
|
@@ -22705,13 +22705,13 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22705
22705
|
}
|
|
22706
22706
|
return t[":id_tag"] = r.fore.name.slice(0, -7), this.scrItr.recodeDesign(t), r.lay(t);
|
|
22707
22707
|
}, Vs = new WeakSet(), Ph = function() {
|
|
22708
|
-
Q(this, qi, et(this, Fl,
|
|
22709
|
-
}, Al = new WeakSet(),
|
|
22710
|
-
return et(this, Dl,
|
|
22708
|
+
Q(this, qi, et(this, Fl, Hf).call(this));
|
|
22709
|
+
}, Al = new WeakSet(), Gf = function(t) {
|
|
22710
|
+
return et(this, Dl, jf).call(this, t, (e) => {
|
|
22711
22711
|
const r = U(this, Jt)[et(this, Gr, as).call(this, { layer: e })];
|
|
22712
22712
|
t.page === "both" ? (r.fore.clearLay(t), r.back.clearLay(t)) : r.getPage(t).clearLay(t);
|
|
22713
22713
|
}), !1;
|
|
22714
|
-
}, Ll = new WeakMap(), Io = new WeakMap(), Nl = new WeakMap(), An = new WeakMap(), Ln = new WeakMap(), gr = new WeakMap(), we = new WeakMap(), Nn = new WeakMap(), kl = new WeakSet(),
|
|
22714
|
+
}, Ll = new WeakMap(), Io = new WeakMap(), Nl = new WeakMap(), An = new WeakMap(), Ln = new WeakMap(), gr = new WeakMap(), we = new WeakMap(), Nn = new WeakMap(), kl = new WeakSet(), $f = function(t) {
|
|
22715
22715
|
et(this, kn, fa).call(this), U(this, ci).hideHint();
|
|
22716
22716
|
const { layer: e } = t;
|
|
22717
22717
|
Q(this, Nn, []);
|
|
@@ -22784,7 +22784,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22784
22784
|
}), !1;
|
|
22785
22785
|
}, Pe = new WeakMap(), Xe = new WeakSet(), ai = function(t = "") {
|
|
22786
22786
|
return t ? t.split(",") : U(this, qi);
|
|
22787
|
-
}, Dl = new WeakSet(),
|
|
22787
|
+
}, Dl = new WeakSet(), jf = function(t, e) {
|
|
22788
22788
|
const r = et(this, Xe, ai).call(this, t.layer);
|
|
22789
22789
|
for (const N of r) {
|
|
22790
22790
|
if (!N)
|
|
@@ -22795,17 +22795,17 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22795
22795
|
e(N, k);
|
|
22796
22796
|
}
|
|
22797
22797
|
return r;
|
|
22798
|
-
}, Fl = new WeakSet(),
|
|
22798
|
+
}, Fl = new WeakSet(), Hf = function(t = "") {
|
|
22799
22799
|
return et(this, Xe, ai).call(this, t).sort((e, r) => {
|
|
22800
22800
|
const N = U(this, ne).getChildIndex(U(this, Jt)[e].fore.spLay), k = U(this, ne).getChildIndex(U(this, Jt)[r].fore.spLay);
|
|
22801
22801
|
return N < k ? -1 : N > k ? 1 : 0;
|
|
22802
22802
|
});
|
|
22803
|
-
}, Bl = new WeakSet(),
|
|
22803
|
+
}, Bl = new WeakSet(), zf = function(t) {
|
|
22804
22804
|
return U(this, Pe).tw ? U(this, Pe).resume = U(this, ci).waitEvent(t, () => et(this, kn, fa).call(this)) : !1;
|
|
22805
22805
|
}, kn = new WeakSet(), fa = function() {
|
|
22806
22806
|
var t;
|
|
22807
22807
|
return (t = U(this, Pe).tw) == null || t.end(), !1;
|
|
22808
|
-
}, Ul = new WeakSet(),
|
|
22808
|
+
}, Ul = new WeakSet(), Vf = function(t) {
|
|
22809
22809
|
et(this, kn, fa).call(this);
|
|
22810
22810
|
const e = argChk_Num(t, "time", NaN);
|
|
22811
22811
|
if (e === 0 || U(this, ci).isSkipping())
|
|
@@ -22835,7 +22835,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22835
22835
|
(Y = this.appPixi.ticker) == null || Y.remove(D), U(this, ne).visible = !0, U(this, we).visible = !1, U(this, we).x = 0, U(this, we).y = 0, (q = U(this, Pe).tw) == null || q.stop(), U(this, Pe).resume && this.main.resume(), Q(this, Pe, { tw: void 0, resume: !1 });
|
|
22836
22836
|
}).start();
|
|
22837
22837
|
return Q(this, Pe, { tw: V, resume: !1 }), this.appPixi.ticker.add(D), !1;
|
|
22838
|
-
}, fi = new WeakMap(), Gl = new WeakSet(),
|
|
22838
|
+
}, fi = new WeakMap(), Gl = new WeakSet(), Xf = function(t) {
|
|
22839
22839
|
const { layer: e, render: r, path: N, name: k, ease: D, chain: B } = t;
|
|
22840
22840
|
if (!e)
|
|
22841
22841
|
throw "layerは必須です";
|
|
@@ -22886,7 +22886,7 @@ Ti = new WeakMap(), ne = new WeakMap(), me = new WeakMap(), Fr = new WeakMap(),
|
|
|
22886
22886
|
lt[ft] = H[ft];
|
|
22887
22887
|
}
|
|
22888
22888
|
} }, !1;
|
|
22889
|
-
}, $l = new WeakSet(),
|
|
22889
|
+
}, $l = new WeakSet(), Yf = function(t) {
|
|
22890
22890
|
const { layer: e = "", id: r, name: N } = t, k = r ? `frm
|
|
22891
22891
|
${r}` : N ?? e;
|
|
22892
22892
|
if (!k)
|
|
@@ -22896,21 +22896,21 @@ ${r}` : N ?? e;
|
|
|
22896
22896
|
var B;
|
|
22897
22897
|
return (B = D.tw) == null ? void 0 : B.end();
|
|
22898
22898
|
}) : !1;
|
|
22899
|
-
}, jl = new WeakSet(),
|
|
22899
|
+
}, jl = new WeakSet(), Wf = function(t) {
|
|
22900
22900
|
var D, B;
|
|
22901
22901
|
const { layer: e = "", id: r, name: N } = t, k = r ? `frm
|
|
22902
22902
|
${r}` : N ?? e;
|
|
22903
22903
|
if (!k)
|
|
22904
22904
|
throw "トゥイーンが指定されていません";
|
|
22905
22905
|
return (B = (D = U(this, fi)[k]) == null ? void 0 : D.tw) == null || B.end(), !1;
|
|
22906
|
-
}, Hl = new WeakSet(),
|
|
22906
|
+
}, Hl = new WeakSet(), qf = function(t) {
|
|
22907
22907
|
var D, B;
|
|
22908
22908
|
const { layer: e = "", id: r, name: N } = t, k = r ? `frm
|
|
22909
22909
|
${r}` : N ?? e;
|
|
22910
22910
|
if (!k)
|
|
22911
22911
|
throw "トゥイーンが指定されていません";
|
|
22912
22912
|
return (B = (D = U(this, fi)[k]) == null ? void 0 : D.tw) == null || B.pause(), !1;
|
|
22913
|
-
}, zl = new WeakSet(),
|
|
22913
|
+
}, zl = new WeakSet(), Zf = function(t) {
|
|
22914
22914
|
var D, B;
|
|
22915
22915
|
const { layer: e = "", id: r, name: N } = t, k = r ? `frm
|
|
22916
22916
|
${r}` : N ?? e;
|
|
@@ -22928,12 +22928,12 @@ ${r}` : N ?? e;
|
|
|
22928
22928
|
const k = argChk_Boolean(t, "record", !0), D = this.val.doRecLog();
|
|
22929
22929
|
return k || this.val.setVal_Nochk("save", "sn.doRecLog", k), r.tagCh(e.replaceAll("[r]", `
|
|
22930
22930
|
`)), this.val.setVal_Nochk("save", "sn.doRecLog", D), U(this, ti).call(this, "add_close|", r), !1;
|
|
22931
|
-
}, di = new WeakMap(), Vl = new WeakSet(),
|
|
22931
|
+
}, di = new WeakMap(), Vl = new WeakSet(), Kf = function(t) {
|
|
22932
22932
|
const e = et(this, Gr, as).call(this, t, U(this, Zi)), N = U(this, Jt)[e].getPage(t);
|
|
22933
22933
|
if (!(N instanceof TxtLayer))
|
|
22934
22934
|
throw e + "はTxtLayerではありません";
|
|
22935
22935
|
return N;
|
|
22936
|
-
}, Ao = new WeakMap(), Xl = new WeakSet(),
|
|
22936
|
+
}, Ao = new WeakMap(), Xl = new WeakSet(), Jf = function(t) {
|
|
22937
22937
|
const { layer: e } = t;
|
|
22938
22938
|
if (!e)
|
|
22939
22939
|
throw "[current] layerは必須です";
|
|
@@ -22952,53 +22952,53 @@ ${r}` : N ?? e;
|
|
|
22952
22952
|
if (!(r in U(this, Jt)))
|
|
22953
22953
|
throw "属性 layer【" + r + "】が不正です。レイヤーがありません";
|
|
22954
22954
|
return t.layer = r;
|
|
22955
|
-
}, Ge = new WeakMap(), Ji = new WeakMap(), Yl = new WeakSet(),
|
|
22955
|
+
}, Ge = new WeakMap(), Ji = new WeakMap(), Yl = new WeakSet(), Qf = function(t) {
|
|
22956
22956
|
const e = U(this, di).call(this, t);
|
|
22957
22957
|
return t.layer === U(this, Zi) && t.page === "fore" && this.recPagebreak(), e.clearText(), !1;
|
|
22958
|
-
}, Wl = new WeakSet(),
|
|
22958
|
+
}, Wl = new WeakSet(), td = function(t) {
|
|
22959
22959
|
return U(this, ti).call(this, "endlink|", U(this, di).call(this, t)), !1;
|
|
22960
|
-
}, ql = new WeakSet(),
|
|
22960
|
+
}, ql = new WeakSet(), ed = function(t) {
|
|
22961
22961
|
return argChk_Boolean(t, "rec_page_break", !0) && this.recPagebreak(), U(this, Ki) && (U(this, Ki).fore.clearLay(t), U(this, Ki).back.clearLay(t)), !1;
|
|
22962
|
-
}, Zl = new WeakSet(),
|
|
22962
|
+
}, Zl = new WeakSet(), id = function(t) {
|
|
22963
22963
|
if (!t.pic)
|
|
22964
22964
|
throw "[graph] picは必須です";
|
|
22965
22965
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
22966
22966
|
return U(this, ti).call(this, "grp|" + e, U(this, di).call(this, t)), !1;
|
|
22967
|
-
}, Kl = new WeakSet(),
|
|
22967
|
+
}, Kl = new WeakSet(), rd = function(t) {
|
|
22968
22968
|
if (!t.fn && !t.label && !t.url)
|
|
22969
22969
|
throw "fnまたはlabelまたはurlは必須です";
|
|
22970
22970
|
t.fn ?? (t.fn = this.scrItr.scriptFn), t.style ?? (t.style = "background-color: rgba(255,0,0,0.5);"), t.style_hover ?? (t.style_hover = "background-color: rgba(255,0,0,0.9);"), t.style_clicked ?? (t.style_clicked = t.style);
|
|
22971
22971
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
22972
22972
|
return U(this, ti).call(this, "link|" + e, U(this, di).call(this, t)), !1;
|
|
22973
|
-
}, Jl = new WeakSet(),
|
|
22973
|
+
}, Jl = new WeakSet(), nd = function(t) {
|
|
22974
22974
|
return t.text = `
|
|
22975
22975
|
`, et(this, Dn, da).call(this, t);
|
|
22976
|
-
}, Ql = new WeakSet(),
|
|
22976
|
+
}, Ql = new WeakSet(), sd = function(t) {
|
|
22977
22977
|
return et(this, Lo, vc).call(this, { ...t, text: "[r]" });
|
|
22978
22978
|
}, Lo = new WeakSet(), vc = function(t) {
|
|
22979
22979
|
return Q(this, Ge, { ...t, text: U(this, Ge).text }), t.text ? (t.record = !0, t.style ?? (t.style = ""), t.style += "display: none;", t.wait = 0, et(this, Dn, da).call(this, t)) : !1;
|
|
22980
|
-
}, tu = new WeakSet(),
|
|
22980
|
+
}, tu = new WeakSet(), ad = function(t) {
|
|
22981
22981
|
return Q(this, Ji, []), Q(this, Ge, { text: t.text ?? "" }), this.val.setVal_Nochk(
|
|
22982
22982
|
"save",
|
|
22983
22983
|
"const.sn.sLog",
|
|
22984
22984
|
t.text ? `[{text:"${t.text}"}]` : "[]"
|
|
22985
22985
|
), !1;
|
|
22986
|
-
}, eu = new WeakSet(),
|
|
22986
|
+
}, eu = new WeakSet(), od = function(t) {
|
|
22987
22987
|
const { t: e, r } = t;
|
|
22988
22988
|
if (!e)
|
|
22989
22989
|
throw "[ruby2] tは必須です";
|
|
22990
22990
|
if (!r)
|
|
22991
22991
|
throw "[ruby2] rは必須です";
|
|
22992
22992
|
return t.text = "|" + encodeURIComponent(e) + "《" + encodeURIComponent(r) + "》", delete t.t, delete t.r, et(this, Dn, da).call(this, t);
|
|
22993
|
-
}, iu = new WeakSet(),
|
|
22993
|
+
}, iu = new WeakSet(), hd = function(t) {
|
|
22994
22994
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
22995
22995
|
return U(this, ti).call(this, "span|" + e, U(this, di).call(this, t)), !1;
|
|
22996
|
-
}, ru = new WeakSet(),
|
|
22996
|
+
}, ru = new WeakSet(), ld = function(t) {
|
|
22997
22997
|
if (!t.t)
|
|
22998
22998
|
throw "[tcy] tは必須です";
|
|
22999
22999
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
23000
23000
|
return U(this, ti).call(this, "tcy|" + e, U(this, di).call(this, t)), !1;
|
|
23001
|
-
}, nu = new WeakSet(),
|
|
23001
|
+
}, nu = new WeakSet(), ud = function(t) {
|
|
23002
23002
|
console.group("🥟 [dump_lay]");
|
|
23003
23003
|
for (const e of et(this, Xe, ai).call(this, t.layer)) {
|
|
23004
23004
|
const r = U(this, Jt)[e];
|
|
@@ -23013,10 +23013,10 @@ ${r}` : N ?? e;
|
|
|
23013
23013
|
}
|
|
23014
23014
|
}
|
|
23015
23015
|
return console.groupEnd(), !1;
|
|
23016
|
-
}, su = new WeakSet(),
|
|
23016
|
+
}, su = new WeakSet(), cd = function(t) {
|
|
23017
23017
|
const e = et(this, Gr, as).call(this, t, U(this, Zi)), r = argChk_Boolean(t, "enabled", !0);
|
|
23018
23018
|
return U(this, di).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
|
|
23019
|
-
}, au = new WeakSet(),
|
|
23019
|
+
}, au = new WeakSet(), fd = function(t) {
|
|
23020
23020
|
return Pages.argChk_page(t, "back"), t.fn ?? (t.fn = this.scrItr.scriptFn), U(this, di).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
|
|
23021
23021
|
}, // 11 match 301 step (0.1ms) PCRE2 https://regex101.com/r/reinpq/1
|
|
23022
23022
|
// List ${x}${x2}/${y}${y2}/${o}${o2}=${json}\n
|
|
@@ -23037,7 +23037,7 @@ ${r}` : N ?? e;
|
|
|
23037
23037
|
*/
|
|
23038
23038
|
pt(LayerMng, "REG_TSY_PATH", /\(\s*(?:(?<x>[-=\d\.]+)|(['"])(?<x2>.*?)\2)?(?:\s*,\s*(?:(?<y>[-=\d\.]+)|(['"])(?<y2>.*?)\5)?(?:\s*,\s*(?:(?<o>[-=\d\.]+)|(['"])(?<o2>.*?)\8))?)?|(?<json>\{[^{}]*})/g), // // 文字・文字レイヤ
|
|
23039
23039
|
K(LayerMng, Ur, 10);
|
|
23040
|
-
var _e, de, Xs, ou,
|
|
23040
|
+
var _e, de, Xs, ou, dd, No, Bn, pa;
|
|
23041
23041
|
class FocusMng {
|
|
23042
23042
|
constructor() {
|
|
23043
23043
|
K(this, ou);
|
|
@@ -23081,7 +23081,7 @@ class FocusMng {
|
|
|
23081
23081
|
N = () => D.checked = !D.checked;
|
|
23082
23082
|
break;
|
|
23083
23083
|
case "":
|
|
23084
|
-
t.querySelectorAll("input[type]").length > 0 && (N = (B) => et(this, ou,
|
|
23084
|
+
t.querySelectorAll("input[type]").length > 0 && (N = (B) => et(this, ou, dd).call(this, t, B.key), k = () => !1);
|
|
23085
23085
|
break;
|
|
23086
23086
|
case "range":
|
|
23087
23087
|
N = (B) => {
|
|
@@ -23156,7 +23156,7 @@ class FocusMng {
|
|
|
23156
23156
|
et(this, Bn, pa).call(this), Q(this, de, -1), globalThis.focus();
|
|
23157
23157
|
}
|
|
23158
23158
|
}
|
|
23159
|
-
_e = new WeakMap(), de = new WeakMap(), Xs = new WeakMap(), ou = new WeakSet(),
|
|
23159
|
+
_e = new WeakMap(), de = new WeakMap(), Xs = new WeakMap(), ou = new WeakSet(), dd = function(t, e) {
|
|
23160
23160
|
const r = t.querySelectorAll("input[type]"), N = r.length;
|
|
23161
23161
|
for (let k = 0; k < N; ++k)
|
|
23162
23162
|
if (r[k].checked) {
|
|
@@ -23177,7 +23177,7 @@ var $r, Ys, Ch;
|
|
|
23177
23177
|
const Ae = class {
|
|
23178
23178
|
constructor(t) {
|
|
23179
23179
|
K(this, Ys);
|
|
23180
|
-
pt(this, "wait", (t) => Rs_Wait.go(t));
|
|
23180
|
+
pt(this, "wait", (t) => skip_enabled ? (!skip_all && !scrItr.isNextKidoku && cancelAutoSkip(), !1) : Rs_Wait.go(t));
|
|
23181
23181
|
pt(this, "waitclick", (t) => Rs_WaitClick.go(t));
|
|
23182
23182
|
K(this, $r, new EventListenerCtn());
|
|
23183
23183
|
pt(this, "isWait", !1);
|
|
@@ -23380,19 +23380,22 @@ const Lc = class extends ReadState {
|
|
|
23380
23380
|
};
|
|
23381
23381
|
let Rs_S = Lc;
|
|
23382
23382
|
pt(Rs_S, "go", (e) => new Lc(e).waitTxtAndTimer(0, {}));
|
|
23383
|
-
class
|
|
23384
|
-
|
|
23385
|
-
const e = argChk_Num(t, "time", NaN);
|
|
23386
|
-
return new Rs_Wait(t).waitTxtAndTimer(skip_enabled ? 0 : e, t);
|
|
23387
|
-
}
|
|
23383
|
+
const Nc = class extends ReadState {
|
|
23384
|
+
// 魔法数字、見えるぐらい少し待つ
|
|
23388
23385
|
onFinish() {
|
|
23389
23386
|
new RsEvtRsv();
|
|
23390
23387
|
}
|
|
23391
23388
|
onUserAct() {
|
|
23392
23389
|
this.onFinish();
|
|
23393
23390
|
}
|
|
23394
|
-
}
|
|
23395
|
-
|
|
23391
|
+
};
|
|
23392
|
+
let Rs_Wait = Nc;
|
|
23393
|
+
// 文字表示終了待ち→[wait]
|
|
23394
|
+
pt(Rs_Wait, "go", (t) => {
|
|
23395
|
+
const e = argChk_Num(t, "time", NaN);
|
|
23396
|
+
return new Nc(t).waitTxtAndTimer(e, t);
|
|
23397
|
+
});
|
|
23398
|
+
const kc = class extends ReadState {
|
|
23396
23399
|
onFinish() {
|
|
23397
23400
|
Rs_L_Wait.go(this.hArg);
|
|
23398
23401
|
}
|
|
@@ -23400,10 +23403,10 @@ const Nc = class extends ReadState {
|
|
|
23400
23403
|
this.onFinish();
|
|
23401
23404
|
}
|
|
23402
23405
|
};
|
|
23403
|
-
let Rs_L =
|
|
23406
|
+
let Rs_L = kc;
|
|
23404
23407
|
// 文字表示終了待ち(そして[l])
|
|
23405
|
-
pt(Rs_L, "go", (t) => new
|
|
23406
|
-
const
|
|
23408
|
+
pt(Rs_L, "go", (t) => new kc(t).waitTxtAndTimer(0, t));
|
|
23409
|
+
const Dc = class extends ReadState {
|
|
23407
23410
|
onFinish() {
|
|
23408
23411
|
new RsEvtRsv();
|
|
23409
23412
|
}
|
|
@@ -23411,24 +23414,25 @@ const kc = class extends ReadState {
|
|
|
23411
23414
|
Rs_L_Wait.go(this.hArg);
|
|
23412
23415
|
}
|
|
23413
23416
|
};
|
|
23414
|
-
let Rs_L_AutoSkip =
|
|
23417
|
+
let Rs_L_AutoSkip = Dc;
|
|
23415
23418
|
// 文字表示終了待ち(そして[l]auto/skipウェイト待ち)
|
|
23416
|
-
pt(Rs_L_AutoSkip, "go", (t, e) => new
|
|
23417
|
-
class
|
|
23418
|
-
// [p] クリック待ち
|
|
23419
|
-
static go(t) {
|
|
23420
|
-
argChk_Boolean(t, "visible", !0) && (layMng.breakLine(t), goTxt());
|
|
23421
|
-
const e = argChk_Boolean(t, "global", !0);
|
|
23422
|
-
return new Rs_L_Wait(t).waitEventBase(!0, e), !0;
|
|
23423
|
-
}
|
|
23419
|
+
pt(Rs_L_AutoSkip, "go", (t, e) => new Dc(e).waitTxtAndTimer(t, e));
|
|
23420
|
+
const Fc = class extends Rs_S {
|
|
23424
23421
|
onFinish() {
|
|
23425
23422
|
new RsEvtRsv();
|
|
23426
23423
|
}
|
|
23427
23424
|
onUserAct() {
|
|
23428
23425
|
new RsEvtRsv();
|
|
23429
23426
|
}
|
|
23430
|
-
}
|
|
23431
|
-
|
|
23427
|
+
};
|
|
23428
|
+
let Rs_L_Wait = Fc;
|
|
23429
|
+
// [p] クリック待ち
|
|
23430
|
+
pt(Rs_L_Wait, "go", (t) => {
|
|
23431
|
+
argChk_Boolean(t, "visible", !0) && (layMng.breakLine(t), goTxt());
|
|
23432
|
+
const e = argChk_Boolean(t, "global", !0);
|
|
23433
|
+
return new Fc(t).waitEventBase(!0, e), !0;
|
|
23434
|
+
});
|
|
23435
|
+
const Bc = class extends ReadState {
|
|
23432
23436
|
onFinish() {
|
|
23433
23437
|
Rs_P_Wait.go(this.hArg);
|
|
23434
23438
|
}
|
|
@@ -23436,10 +23440,10 @@ const Dc = class extends ReadState {
|
|
|
23436
23440
|
this.onFinish();
|
|
23437
23441
|
}
|
|
23438
23442
|
};
|
|
23439
|
-
let Rs_P =
|
|
23443
|
+
let Rs_P = Bc;
|
|
23440
23444
|
// 文字表示終了待ち(そして[p])
|
|
23441
|
-
pt(Rs_P, "go", (t) => new
|
|
23442
|
-
const
|
|
23445
|
+
pt(Rs_P, "go", (t) => new Bc(t).waitTxtAndTimer(0, t));
|
|
23446
|
+
const Uc = class extends ReadState {
|
|
23443
23447
|
onFinish() {
|
|
23444
23448
|
new RsEvtRsv();
|
|
23445
23449
|
}
|
|
@@ -23447,22 +23451,23 @@ const Fc = class extends ReadState {
|
|
|
23447
23451
|
Rs_P_Wait.go(this.hArg);
|
|
23448
23452
|
}
|
|
23449
23453
|
};
|
|
23450
|
-
let Rs_P_AutoSkip =
|
|
23454
|
+
let Rs_P_AutoSkip = Uc;
|
|
23451
23455
|
// 文字表示終了待ち(そして[p]auto/skipウェイト待ち)
|
|
23452
|
-
pt(Rs_P_AutoSkip, "go", (t, e) => new
|
|
23453
|
-
class
|
|
23454
|
-
// [p] クリック待ち
|
|
23455
|
-
static go(t) {
|
|
23456
|
-
argChk_Boolean(t, "visible", !0) && (layMng.breakPage(t), goTxt());
|
|
23457
|
-
const e = argChk_Boolean(t, "global", !0);
|
|
23458
|
-
return new Rs_P_Wait(t).waitEventBase(!0, e), !0;
|
|
23459
|
-
}
|
|
23456
|
+
pt(Rs_P_AutoSkip, "go", (t, e) => new Uc(e).waitTxtAndTimer(t, e));
|
|
23457
|
+
const Gc = class extends Rs_S {
|
|
23460
23458
|
// protected override onFinish() {}
|
|
23461
23459
|
onUserAct() {
|
|
23462
23460
|
argChk_Boolean(this.hArg, "er", !1) && hTag.er(this.hArg), sndMng.clearCache(), elmHint.hidden = !0, new RsEvtRsv();
|
|
23463
23461
|
}
|
|
23464
|
-
}
|
|
23465
|
-
|
|
23462
|
+
};
|
|
23463
|
+
let Rs_P_Wait = Gc;
|
|
23464
|
+
// [p] クリック待ち
|
|
23465
|
+
pt(Rs_P_Wait, "go", (t) => {
|
|
23466
|
+
argChk_Boolean(t, "visible", !0) && (layMng.breakPage(t), goTxt());
|
|
23467
|
+
const e = argChk_Boolean(t, "global", !0);
|
|
23468
|
+
return new Gc(t).waitEventBase(!0, e), !0;
|
|
23469
|
+
});
|
|
23470
|
+
const $c = class extends Rs_S {
|
|
23466
23471
|
onFinish() {
|
|
23467
23472
|
cancelAutoSkip();
|
|
23468
23473
|
const t = argChk_Boolean(this.hArg, "global", !0);
|
|
@@ -23472,8 +23477,8 @@ const Bc = class extends Rs_S {
|
|
|
23472
23477
|
new RsEvtRsv();
|
|
23473
23478
|
}
|
|
23474
23479
|
};
|
|
23475
|
-
let Rs_WaitClick =
|
|
23476
|
-
pt(Rs_WaitClick, "go", (t) => new
|
|
23480
|
+
let Rs_WaitClick = $c;
|
|
23481
|
+
pt(Rs_WaitClick, "go", (t) => new $c(t).waitTxtAndTimer(0, t));
|
|
23477
23482
|
class Rs_WaitAny extends Rs_S {
|
|
23478
23483
|
constructor(t, e) {
|
|
23479
23484
|
super(t), this.onFire = e;
|
|
@@ -23490,7 +23495,7 @@ class Rs_WaitAny extends Rs_S {
|
|
|
23490
23495
|
}
|
|
23491
23496
|
}
|
|
23492
23497
|
var pi;
|
|
23493
|
-
const
|
|
23498
|
+
const jc = class extends Rs_S {
|
|
23494
23499
|
constructor() {
|
|
23495
23500
|
super(...arguments);
|
|
23496
23501
|
pt(this, "wait", () => !1);
|
|
@@ -23547,8 +23552,8 @@ const Uc = class extends Rs_S {
|
|
|
23547
23552
|
onUserAct() {
|
|
23548
23553
|
}
|
|
23549
23554
|
};
|
|
23550
|
-
let RsPagination =
|
|
23551
|
-
pi = new WeakMap(), pt(RsPagination, "go", (e) => new
|
|
23555
|
+
let RsPagination = jc;
|
|
23556
|
+
pi = new WeakMap(), pt(RsPagination, "go", (e) => new jc(e).page(e));
|
|
23552
23557
|
var top = "top", bottom = "bottom", right = "right", left = "left", auto = "auto", basePlacements = [top, bottom, right, left], start = "start", end = "end", clippingParents = "clippingParents", viewport = "viewport", popper = "popper", reference = "reference", variationPlacements = /* @__PURE__ */ basePlacements.reduce(function(o, t) {
|
|
23553
23558
|
return o.concat([t + "-" + start, t + "-" + end]);
|
|
23554
23559
|
}, []), placements = /* @__PURE__ */ [].concat(basePlacements, [auto]).reduce(function(o, t) {
|
|
@@ -24454,7 +24459,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
|
|
|
24454
24459
|
defaultModifiers
|
|
24455
24460
|
});
|
|
24456
24461
|
const { GamepadListener } = require("gamepad.js");
|
|
24457
|
-
var Ye, jr, Le, We, ko, Do, mc, Fo, gc, Bo, yc, Ws, qs, Uo, bc, Go, De, Zs, Ks, $o, hu,
|
|
24462
|
+
var Ye, jr, Le, We, ko, Do, mc, Fo, gc, Bo, yc, Ws, qs, Uo, bc, Go, De, Zs, Ks, $o, hu, pd, lu, vd, jo, xc, uu, md, qe;
|
|
24458
24463
|
class EventMng {
|
|
24459
24464
|
constructor(t, e, r, N, k, D, B, $, H) {
|
|
24460
24465
|
K(this, Do);
|
|
@@ -24517,7 +24522,7 @@ class EventMng {
|
|
|
24517
24522
|
// AndroidのBackキーだと思う
|
|
24518
24523
|
});
|
|
24519
24524
|
var Z, tt;
|
|
24520
|
-
if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.scrItr = $, this.sys = H, e.clear_event = (J) => ReadState.clear_event(J), e.event = (J) => et(this, lu,
|
|
24525
|
+
if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.scrItr = $, this.sys = H, e.clear_event = (J) => ReadState.clear_event(J), e.event = (J) => et(this, lu, vd).call(this, J), e.l = (J) => U(this, We).l(J), e.p = (J) => U(this, We).p(J), e.s = (J) => U(this, We).s(J), e.set_cancel_skip = () => !1, e.set_focus = (J) => et(this, uu, md).call(this, J), e.wait = (J) => U(this, We).wait(J), e.waitclick = (J) => U(this, We).waitclick(J), e.page = (J) => U(this, We).page(J), B.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((J, it) => this.fire(J, it)), CmnLib.isDbg) {
|
|
24521
24526
|
const J = {
|
|
24522
24527
|
pause: () => {
|
|
24523
24528
|
if (!U(this, We).isWait)
|
|
@@ -24656,7 +24661,7 @@ class EventMng {
|
|
|
24656
24661
|
!t.fn && !t.label && !t.url && this.main.errScript("fnまたはlabelまたはurlは必須です"), t.fn ?? (t.fn = this.scrItr.scriptFn), e.interactive = e.buttonMode = !0;
|
|
24657
24662
|
const D = ((X = t.key) == null ? void 0 : X.toLowerCase()) ?? " ", B = argChk_Boolean(t, "global", !1);
|
|
24658
24663
|
ReadState.setEvt2Fnc(B, D, () => this.main.resumeByJumpOrCall(t)), e.on("pointerdown", (V) => U(this, We).fire(D, V));
|
|
24659
|
-
const $ = t.hint ? () => et(this, hu,
|
|
24664
|
+
const $ = t.hint ? () => et(this, hu, pd).call(this, t, e) : () => {
|
|
24660
24665
|
}, H = () => {
|
|
24661
24666
|
r(), U(this, De).hidden = !0;
|
|
24662
24667
|
}, z = () => ($(), N());
|
|
@@ -24727,7 +24732,7 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
|
|
|
24727
24732
|
}
|
|
24728
24733
|
Q(this, Ws, !1);
|
|
24729
24734
|
}, 250);
|
|
24730
|
-
}, Go = new WeakMap(), De = new WeakMap(), Zs = new WeakMap(), Ks = new WeakMap(), $o = new WeakMap(), hu = new WeakSet(),
|
|
24735
|
+
}, Go = new WeakMap(), De = new WeakMap(), Zs = new WeakMap(), Ks = new WeakMap(), $o = new WeakMap(), hu = new WeakSet(), pd = function(t, e) {
|
|
24731
24736
|
const r = e instanceof Button ? e.getBtnBounds() : e.getBounds();
|
|
24732
24737
|
if (!(t[":タグ名"] === "link")) {
|
|
24733
24738
|
const k = e.parent.parent;
|
|
@@ -24750,7 +24755,7 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
|
|
|
24750
24755
|
width: r.width,
|
|
24751
24756
|
height: r.height
|
|
24752
24757
|
}), U(this, Ks).update(), U(this, De).hidden = !1;
|
|
24753
|
-
}, lu = new WeakSet(),
|
|
24758
|
+
}, lu = new WeakSet(), vd = function(t) {
|
|
24754
24759
|
const e = t.key;
|
|
24755
24760
|
if (!e)
|
|
24756
24761
|
throw "keyは必須です";
|
|
@@ -24809,7 +24814,7 @@ Ye = new WeakMap(), jr = new WeakMap(), Le = new WeakMap(), We = new WeakMap(),
|
|
|
24809
24814
|
e = e.parentElement;
|
|
24810
24815
|
} while (e !== null);
|
|
24811
24816
|
return !0;
|
|
24812
|
-
}, uu = new WeakSet(),
|
|
24817
|
+
}, uu = new WeakSet(), md = function(t) {
|
|
24813
24818
|
const { add: e, del: r, to: N } = t;
|
|
24814
24819
|
if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
|
|
24815
24820
|
const k = ReadState.getHtmlElmList(e);
|
|
@@ -24849,7 +24854,7 @@ class CallStack {
|
|
|
24849
24854
|
this.fn = t, this.idx = e, this.csArg = r;
|
|
24850
24855
|
}
|
|
24851
24856
|
}
|
|
24852
|
-
var Qt, se, Lt, pe, ce, yr, Ho, Ec, Un, Hr, cu, zr, zo, Sc, Vo, Tc, Xo, Vr, os, Gn, va, $n, br, ye, fu,
|
|
24857
|
+
var Qt, se, Lt, pe, ce, yr, Ho, Ec, Un, Hr, cu, zr, zo, Sc, Vo, Tc, Xo, Vr, os, Gn, va, $n, br, ye, fu, _d, jn, ma, du, gd, Yo, Js, ei, pu, yd, vu, bd, xr, Jr, mu, xd, Hn, zn, Wo, qo, Zo, vi, _u, Ed, gu, Sd, yu, Td, Ko, wc, bu, wd, xu, Pd, Jo, Pc, Qo, Vn, ga, Xn, Qi, Pr, th, Cc, eh, ih, Rc, Eu, Su, rh, Tu, Cd, Fe, wu, Rd, nh, Oc, Pu, Cu, Ru, Od, Ou, Md, Er, sh, Mc, Mu, Id, Iu, Ad, Au, Lu, Ld, ah, Qs, Nu, Nd, ku, kd, Di, Du, Dd, Fu, Fd;
|
|
24853
24858
|
const oi = class {
|
|
24854
24859
|
constructor(t, e, r, N, k, D, B, $, H) {
|
|
24855
24860
|
K(this, Ho);
|
|
@@ -24939,7 +24944,7 @@ const oi = class {
|
|
|
24939
24944
|
this.sys.send2Dbg(t.ri, {});
|
|
24940
24945
|
},
|
|
24941
24946
|
// 情報問い合わせ系
|
|
24942
|
-
stack: (t) => this.sys.send2Dbg(t.ri, { a: et(this, du,
|
|
24947
|
+
stack: (t) => this.sys.send2Dbg(t.ri, { a: et(this, du, gd).call(this) }),
|
|
24943
24948
|
eval: (t) => {
|
|
24944
24949
|
this.sys.send2Dbg(t.ri, { v: this.prpPrs.parse(t.txt) });
|
|
24945
24950
|
},
|
|
@@ -25011,15 +25016,15 @@ const oi = class {
|
|
|
25011
25016
|
hPages: {},
|
|
25012
25017
|
aIfStk: [-1]
|
|
25013
25018
|
});
|
|
25014
|
-
this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = B, this.sndMng = $, this.sys = H, e.let_ml = (X) => et(this, pu,
|
|
25019
|
+
this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = B, this.sndMng = $, this.sys = H, e.let_ml = (X) => et(this, pu, yd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => et(this, vu, bd).call(this), e.dump_script = (X) => et(this, mu, xd).call(this, X), e.else = // その他ifブロック開始
|
|
25015
25020
|
e.elsif = // 別条件のifブロック開始
|
|
25016
|
-
e.endif = () => et(this, _u,
|
|
25021
|
+
e.endif = () => et(this, _u, Ed).call(this), e.if = (X) => et(this, gu, Sd).call(this, X), e.call = (X) => et(this, yu, Td).call(this, X), e.jump = (X) => et(this, bu, wd).call(this, X), e.pop_stack = (X) => et(this, xu, Pd).call(this, X), e.return = (X) => et(this, Jo, Pc).call(this, X), e.bracket2macro = (X) => et(this, Mu, Id).call(this, X), e.char2macro = (X) => et(this, Iu, Ad).call(this, X), e.endmacro = (X) => et(this, Jo, Pc).call(this, X), e.macro = (X) => et(this, Lu, Ld).call(this, X), e.load = (X) => et(this, Nu, Nd).call(this, X), e.reload_script = (X) => et(this, ku, kd).call(this, X), e.record_place = () => et(this, Du, Dd).call(this), e.save = (X) => et(this, Fu, Fd).call(this, X), t.oCfg.debug.token && Q(this, eh, (X) => console.log(`🌱 トークン fn:${U(this, se)} idx:${U(this, Lt)} ln:${U(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => U(this, ce).length);
|
|
25017
25022
|
const z = t.oCfg.init.escape;
|
|
25018
25023
|
if (U(this, yr).setEscape(z), RubySpliter.setEscape(z), CmnLib.isDbg) {
|
|
25019
25024
|
H.addHook((V, Y) => {
|
|
25020
25025
|
var q, W;
|
|
25021
25026
|
return (W = (q = U(this, Un))[V]) == null ? void 0 : W.call(q, Y);
|
|
25022
|
-
}), this.isBreak = et(this, fu,
|
|
25027
|
+
}), this.isBreak = et(this, fu, _d);
|
|
25023
25028
|
const X = this.analyzeInit;
|
|
25024
25029
|
this.analyzeInit = () => {
|
|
25025
25030
|
this.analyzeInit = () => {
|
|
@@ -25138,7 +25143,7 @@ const oi = class {
|
|
|
25138
25143
|
console.groupEnd();
|
|
25139
25144
|
}
|
|
25140
25145
|
analyzeInit() {
|
|
25141
|
-
const t = et(this, Tu,
|
|
25146
|
+
const t = et(this, Tu, Cd).call(this, U(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), U(this, pe), U(this, Xn), U(this, Lt));
|
|
25142
25147
|
Q(this, Lt, t.idx), Q(this, pe, t.ln), this.runAnalyze();
|
|
25143
25148
|
}
|
|
25144
25149
|
get isKidoku() {
|
|
@@ -25231,7 +25236,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25231
25236
|
return U(this, ye) === 2 || U(this, ye) === 4 ? 1 : 0;
|
|
25232
25237
|
}, Gn = new WeakSet(), va = function() {
|
|
25233
25238
|
return U(this, Lt) < U(this, Qt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "スクリプト終端です"), !0);
|
|
25234
|
-
}, $n = new WeakMap(), br = new WeakMap(), ye = new WeakMap(), fu = new WeakSet(),
|
|
25239
|
+
}, $n = new WeakMap(), br = new WeakMap(), ye = new WeakMap(), fu = new WeakSet(), _d = function(t) {
|
|
25235
25240
|
switch (U(this, ye)) {
|
|
25236
25241
|
case 6:
|
|
25237
25242
|
et(this, jn, ma).call(this), Q(this, ye, 7);
|
|
@@ -25275,7 +25280,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25275
25280
|
var e;
|
|
25276
25281
|
const t = (e = U(oi, $n)[getFn(U(this, se))]) == null ? void 0 : e[U(this, pe)];
|
|
25277
25282
|
t != null && t.hitCondition && --t.hitCondition;
|
|
25278
|
-
}, du = new WeakSet(),
|
|
25283
|
+
}, du = new WeakSet(), gd = function() {
|
|
25279
25284
|
const t = U(this, ye) === 3 ? 1 : 0, e = U(this, Qt).aToken[U(this, Lt) - 1 + t], r = U(this, zr).call(this, U(this, se)), N = tagToken2Name(e), k = N ? `[${N}]` : e, D = this.val.getVal("mp:const.sn.macro") ?? "{}";
|
|
25280
25285
|
if (U(this, Lt) === 0)
|
|
25281
25286
|
return [{ fn: r, ln: 1, col: 1, nm: k, ma: D }];
|
|
@@ -25293,7 +25298,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25293
25298
|
});
|
|
25294
25299
|
}
|
|
25295
25300
|
return $;
|
|
25296
|
-
}, Yo = new WeakMap(), Js = new WeakMap(), ei = new WeakMap(), pu = new WeakSet(),
|
|
25301
|
+
}, Yo = new WeakMap(), Js = new WeakMap(), ei = new WeakMap(), pu = new WeakSet(), yd = function(t) {
|
|
25297
25302
|
const { name: e } = t;
|
|
25298
25303
|
if (!e)
|
|
25299
25304
|
throw "nameは必須です";
|
|
@@ -25302,7 +25307,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25302
25307
|
for (; U(this, Lt) < N && (r = U(this, Qt).aToken[U(this, Lt)], r === ""); ++Me(this, Lt)._)
|
|
25303
25308
|
;
|
|
25304
25309
|
return t.text = r, t.cast = "str", this.hTag.let(t), Q(this, Lt, U(this, Lt) + 2), Q(this, pe, U(this, pe) + (r.match(/\n/g) ?? []).length), !1;
|
|
25305
|
-
}, vu = new WeakSet(),
|
|
25310
|
+
}, vu = new WeakSet(), bd = function() {
|
|
25306
25311
|
if (U(this, Lt) === 0)
|
|
25307
25312
|
return console.group(`🥟 [dump_stack] スクリプト現在地 fn:${U(this, se)} line:1 col:0`), console.groupEnd(), !1;
|
|
25308
25313
|
const t = et(this, xr, Jr).call(this, U(this, Qt), U(this, Lt)), e = `スクリプト現在地 fn:${U(this, se)} line:${t.ln} col:${t.col_s + 1}`;
|
|
@@ -25334,7 +25339,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25334
25339
|
break;
|
|
25335
25340
|
}
|
|
25336
25341
|
return r;
|
|
25337
|
-
}, mu = new WeakSet(),
|
|
25342
|
+
}, mu = new WeakSet(), xd = function(t) {
|
|
25338
25343
|
const { set_fnc: e, break_fnc: r } = t;
|
|
25339
25344
|
if (!e)
|
|
25340
25345
|
throw "set_fncは必須です";
|
|
@@ -25355,11 +25360,11 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25355
25360
|
});
|
|
25356
25361
|
}
|
|
25357
25362
|
return !1;
|
|
25358
|
-
}, Hn = new WeakMap(), zn = new WeakMap(), Wo = new WeakMap(), qo = new WeakMap(), Zo = new WeakMap(), vi = new WeakMap(), _u = new WeakSet(),
|
|
25363
|
+
}, Hn = new WeakMap(), zn = new WeakMap(), Wo = new WeakMap(), qo = new WeakMap(), Zo = new WeakMap(), vi = new WeakMap(), _u = new WeakSet(), Ed = function() {
|
|
25359
25364
|
if (U(this, vi)[0] === -1)
|
|
25360
25365
|
throw "ifブロック内ではありません";
|
|
25361
25366
|
return Q(this, Lt, U(this, vi)[0]), U(this, vi).shift(), !1;
|
|
25362
|
-
}, gu = new WeakSet(),
|
|
25367
|
+
}, gu = new WeakSet(), Sd = function(t) {
|
|
25363
25368
|
const { exp: e } = t;
|
|
25364
25369
|
if (!e)
|
|
25365
25370
|
throw "expは必須です";
|
|
@@ -25411,15 +25416,15 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25411
25416
|
}
|
|
25412
25417
|
}
|
|
25413
25418
|
throw "[endif]がないままスクリプト終端です";
|
|
25414
|
-
}, yu = new WeakSet(),
|
|
25419
|
+
}, yu = new WeakSet(), Td = function(t) {
|
|
25415
25420
|
argChk_Boolean(t, "count", !1) || et(this, sh, Mc).call(this);
|
|
25416
25421
|
const { fn: e } = t;
|
|
25417
25422
|
return e && U(this, Hr).call(this, e), et(this, Ko, wc).call(this, { ":hEvt1Time": U(this, Js).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), et(this, Qi, Pr).call(this, e, t.label), !0;
|
|
25418
25423
|
}, Ko = new WeakSet(), wc = function(t) {
|
|
25419
25424
|
U(this, Qt).aLNum[U(this, Lt)] = U(this, pe), U(this, Qo) || (t[":resvToken"] = "", et(this, Vn, ga).call(this)), U(this, ce).push(new CallStack(U(this, se), U(this, Lt), t)), U(this, vi).unshift(-1);
|
|
25420
|
-
}, bu = new WeakSet(),
|
|
25425
|
+
}, bu = new WeakSet(), wd = function(t) {
|
|
25421
25426
|
return argChk_Boolean(t, "count", !0) || et(this, sh, Mc).call(this), U(this, vi)[0] = -1, et(this, Qi, Pr).call(this, t.fn, t.label), !0;
|
|
25422
|
-
}, xu = new WeakSet(),
|
|
25427
|
+
}, xu = new WeakSet(), Pd = function(t) {
|
|
25423
25428
|
if (argChk_Boolean(t, "clear", !1))
|
|
25424
25429
|
Q(this, ce, []);
|
|
25425
25430
|
else if (!U(this, ce).pop())
|
|
@@ -25481,18 +25486,18 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25481
25486
|
H[t].data = Y.join(`
|
|
25482
25487
|
`), delete H[t + ":base"];
|
|
25483
25488
|
}
|
|
25484
|
-
this.nextToken = et(this, th, Cc), Q(this, pe, 1), et(this, wu,
|
|
25489
|
+
this.nextToken = et(this, th, Cc), Q(this, pe, 1), et(this, wu, Rd).call(this, H[t].data), this.hTag.record_place({}), this.main.resume(() => this.analyzeInit());
|
|
25485
25490
|
}), this.main.stop();
|
|
25486
25491
|
}, th = new WeakSet(), Cc = function() {
|
|
25487
25492
|
var e, r;
|
|
25488
25493
|
if (et(this, ih, Rc).call(this))
|
|
25489
25494
|
return "";
|
|
25490
|
-
et(this, Ou,
|
|
25495
|
+
et(this, Ou, Md).call(this), (e = U(this, Qt).aLNum)[r = U(this, Lt)] || (e[r] = U(this, pe));
|
|
25491
25496
|
const t = U(this, Qt).aToken[U(this, Lt)];
|
|
25492
25497
|
return U(this, eh).call(this, t), ++Me(this, Lt)._, t;
|
|
25493
25498
|
}, eh = new WeakMap(), ih = new WeakSet(), Rc = function() {
|
|
25494
25499
|
return U(this, Lt) < U(this, Qt).len ? !1 : (this.main.errScript("スクリプト終端です"), !0);
|
|
25495
|
-
}, Eu = new WeakMap(), Su = new WeakMap(), rh = new WeakMap(), Tu = new WeakSet(),
|
|
25500
|
+
}, Eu = new WeakMap(), Su = new WeakMap(), rh = new WeakMap(), Tu = new WeakSet(), Cd = function(t, e, r, N, k) {
|
|
25496
25501
|
var z, X;
|
|
25497
25502
|
const D = t.aToken.length;
|
|
25498
25503
|
if (!N) {
|
|
@@ -25554,12 +25559,12 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25554
25559
|
q === 91 && (r += (Y.match(/\n/g) ?? []).length, U(this, yr).testTagLetml(Y) && (H = !0));
|
|
25555
25560
|
}
|
|
25556
25561
|
throw H ? "[let_ml]の終端・[endlet_ml]がありません" : (DebugMng.myTrace(`[jump系] ラベル【${N}】がありません`, "ET"), "Dummy");
|
|
25557
|
-
}, Fe = new WeakMap(), wu = new WeakSet(),
|
|
25562
|
+
}, Fe = new WeakMap(), wu = new WeakSet(), Rd = function(t) {
|
|
25558
25563
|
let e = "";
|
|
25559
25564
|
try {
|
|
25560
25565
|
e = "ScriptIterator.resolveScript";
|
|
25561
25566
|
const r = U(this, yr).resolveScript(t);
|
|
25562
|
-
e = "ScriptIterator.replaceScript_Wildcard", et(this, Ru,
|
|
25567
|
+
e = "ScriptIterator.replaceScript_Wildcard", et(this, Ru, Od).call(this, r), U(this, Fe)[U(this, se)] = Q(this, Qt, r);
|
|
25563
25568
|
} catch (r) {
|
|
25564
25569
|
r instanceof Error ? e += `例外 mes=${r.message}(${r.name})` : e = r, this.main.errScript(e, !1);
|
|
25565
25570
|
}
|
|
@@ -25568,7 +25573,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25568
25573
|
Q(this, se, t.fn), Q(this, Lt, t.idx);
|
|
25569
25574
|
const e = U(this, Fe)[U(this, se)];
|
|
25570
25575
|
e && Q(this, Qt, e), Q(this, pe, U(this, Qt).aLNum[t.idx]);
|
|
25571
|
-
}, Pu = new WeakMap(), Cu = new WeakMap(), Ru = new WeakSet(),
|
|
25576
|
+
}, Pu = new WeakMap(), Cu = new WeakMap(), Ru = new WeakSet(), Od = function(t) {
|
|
25572
25577
|
for (let e = t.len - 1; e >= 0; --e) {
|
|
25573
25578
|
const r = t.aToken[e];
|
|
25574
25579
|
if (!U(this, Pu).test(r))
|
|
@@ -25592,7 +25597,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25592
25597
|
}
|
|
25593
25598
|
}
|
|
25594
25599
|
t.len = t.aToken.length;
|
|
25595
|
-
}, Ou = new WeakSet(),
|
|
25600
|
+
}, Ou = new WeakSet(), Md = function() {
|
|
25596
25601
|
const t = this.val.getAreaKidoku(U(this, se));
|
|
25597
25602
|
if (!t)
|
|
25598
25603
|
throw `recordKidoku fn:'${U(this, se)}' (areas === null)`;
|
|
@@ -25604,11 +25609,11 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25604
25609
|
}, Er = new WeakMap(), sh = new WeakSet(), Mc = function() {
|
|
25605
25610
|
var t;
|
|
25606
25611
|
(t = this.val.getAreaKidoku(U(this, se))) == null || t.erase(U(this, Lt)), Q(this, Er, !1);
|
|
25607
|
-
}, Mu = new WeakSet(),
|
|
25612
|
+
}, Mu = new WeakSet(), Id = function(t) {
|
|
25608
25613
|
return U(this, yr).bracket2macro(t, this.hTag, U(this, Qt), U(this, Lt)), !1;
|
|
25609
|
-
}, Iu = new WeakSet(),
|
|
25614
|
+
}, Iu = new WeakSet(), Ad = function(t) {
|
|
25610
25615
|
return U(this, yr).char2macro(t, this.hTag, U(this, Qt), U(this, Lt)), !1;
|
|
25611
|
-
}, Au = new WeakMap(), Lu = new WeakSet(),
|
|
25616
|
+
}, Au = new WeakMap(), Lu = new WeakSet(), Ld = function(t) {
|
|
25612
25617
|
var k, D;
|
|
25613
25618
|
const { name: e } = t;
|
|
25614
25619
|
if (!e)
|
|
@@ -25627,7 +25632,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25627
25632
|
$ === 10 ? Q(this, pe, U(this, pe) + B.length) : $ === 91 && Q(this, pe, U(this, pe) + (B.match(/\n/g) ?? []).length);
|
|
25628
25633
|
}
|
|
25629
25634
|
throw `マクロ[${e}]定義の終端・[endmacro]がありません`;
|
|
25630
|
-
}, ah = new WeakMap(), Qs = new WeakMap(), Nu = new WeakSet(),
|
|
25635
|
+
}, ah = new WeakMap(), Qs = new WeakMap(), Nu = new WeakSet(), Nd = function(t) {
|
|
25631
25636
|
if (!("place" in t))
|
|
25632
25637
|
throw "placeは必須です";
|
|
25633
25638
|
const e = Number(t.place);
|
|
@@ -25637,7 +25642,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25637
25642
|
if (!r)
|
|
25638
25643
|
throw `place【${e}】は存在しません`;
|
|
25639
25644
|
return new RsEvtRsv(), this.loadFromMark(t, r);
|
|
25640
|
-
}, ku = new WeakSet(),
|
|
25645
|
+
}, ku = new WeakSet(), kd = function(t) {
|
|
25641
25646
|
const e = this.val.getMark(0);
|
|
25642
25647
|
delete U(this, Fe)[getFn(e.hSave["const.sn.scriptFn"])];
|
|
25643
25648
|
const r = {};
|
|
@@ -25648,7 +25653,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25648
25653
|
r[N] = U(this, Fe)[N];
|
|
25649
25654
|
}
|
|
25650
25655
|
return Q(this, Fe, r), t.do_rec = !1, new RsEvtRsv(), this.loadFromMark(t, e, !1);
|
|
25651
|
-
}, Di = new WeakMap(), Du = new WeakSet(),
|
|
25656
|
+
}, Di = new WeakMap(), Du = new WeakSet(), Dd = function() {
|
|
25652
25657
|
if (this.main.isDestroyed())
|
|
25653
25658
|
return !1;
|
|
25654
25659
|
const { fn: t, idx: e } = this.nowScrIdx();
|
|
@@ -25657,7 +25662,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25657
25662
|
hPages: U(this, ei).record(),
|
|
25658
25663
|
aIfStk: U(this, vi).slice(U(this, ce).length)
|
|
25659
25664
|
}), !1;
|
|
25660
|
-
}, Fu = new WeakSet(),
|
|
25665
|
+
}, Fu = new WeakSet(), Fd = function(t) {
|
|
25661
25666
|
if (!("place" in t))
|
|
25662
25667
|
throw "placeは必須です";
|
|
25663
25668
|
const e = Number(t.place);
|
|
@@ -25666,7 +25671,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
|
|
|
25666
25671
|
return e === r && this.val.setVal_Nochk("sys", "const.sn.save.place", r + 1), !1;
|
|
25667
25672
|
}, K(ScriptIterator, cu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
|
|
25668
25673
|
K(ScriptIterator, $n, {}), K(ScriptIterator, br, {});
|
|
25669
|
-
var ii, wi, Be, Pi, Sr, Yn, Ne, oh, Tr, ta, Wn, hh, lh, ea, Bu,
|
|
25674
|
+
var ii, wi, Be, Pi, Sr, Yn, Ne, oh, Tr, ta, Wn, hh, lh, ea, Bu, Bd, uh, ch, ia, ra, Rh, qn, Zn;
|
|
25670
25675
|
const us = class {
|
|
25671
25676
|
constructor(t) {
|
|
25672
25677
|
K(this, Bu);
|
|
@@ -25703,7 +25708,7 @@ const us = class {
|
|
|
25703
25708
|
K(this, qn, !1);
|
|
25704
25709
|
pt(this, "isDestroyed", () => U(this, qn));
|
|
25705
25710
|
K(this, Zn, void 0);
|
|
25706
|
-
this.sys = t, skipHello(), Config.generate(t).then((e) => Q(this, ii, e)).then(() => et(this, Bu,
|
|
25711
|
+
this.sys = t, skipHello(), Config.generate(t).then((e) => Q(this, ii, e)).then(() => et(this, Bu, Bd).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
|
|
25707
25712
|
}
|
|
25708
25713
|
// thisの扱いによりメソッド代入はダメ
|
|
25709
25714
|
errScript(t, e = !0) {
|
|
@@ -25728,7 +25733,7 @@ const us = class {
|
|
|
25728
25733
|
}
|
|
25729
25734
|
};
|
|
25730
25735
|
let Main = us;
|
|
25731
|
-
ii = new WeakMap(), wi = new WeakMap(), Be = new WeakMap(), Pi = new WeakMap(), Sr = new WeakMap(), Yn = new WeakMap(), Ne = new WeakMap(), oh = new WeakMap(), Tr = new WeakMap(), ta = new WeakMap(), Wn = new WeakMap(), hh = new WeakMap(), lh = new WeakMap(), ea = new WeakMap(), Bu = new WeakSet(),
|
|
25736
|
+
ii = new WeakMap(), wi = new WeakMap(), Be = new WeakMap(), Pi = new WeakMap(), Sr = new WeakMap(), Yn = new WeakMap(), Ne = new WeakMap(), oh = new WeakMap(), Tr = new WeakMap(), ta = new WeakMap(), Wn = new WeakMap(), hh = new WeakMap(), lh = new WeakMap(), ea = new WeakMap(), Bu = new WeakSet(), Bd = async function() {
|
|
25732
25737
|
var N;
|
|
25733
25738
|
const t = (N = document.createElement("canvas")) == null ? void 0 : N.getContext("2d");
|
|
25734
25739
|
if (!t)
|