@famibee/skynovel 1.32.2 → 1.34.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web.js CHANGED
@@ -2211,26 +2211,26 @@ Config.EXT_SCRIPT = "sn|ssn";
2211
2211
  Config.EXT_FONT = "woff2|woff|otf|ttf";
2212
2212
  Config.EXT_SOUND = "mp3|m4a|ogg|aac|flac|wav";
2213
2213
  Config.EXT_HTML = "htm|html";
2214
- var Ki, Xr, Ia;
2215
- const gi = class {
2214
+ var Ji, Ar, Ia;
2215
+ const _i = class {
2216
2216
  constructor() {
2217
- it(this, Xr, () => {
2217
+ it(this, Ar, () => {
2218
2218
  });
2219
2219
  }
2220
2220
  static setting(t) {
2221
- t.sesame && rt(gi, Ki, t.sesame);
2221
+ t.sesame && rt(_i, Ji, t.sesame);
2222
2222
  }
2223
2223
  static getSesame() {
2224
- return z(gi, Ki);
2224
+ return z(_i, Ji);
2225
2225
  }
2226
2226
  static destroy() {
2227
- rt(gi, Ki, "\u30FD");
2227
+ rt(_i, Ji, "\u30FD");
2228
2228
  }
2229
2229
  init(t) {
2230
- rt(this, Xr, t);
2230
+ rt(this, Ar, t);
2231
2231
  }
2232
2232
  static setEscape(t) {
2233
- rt(gi, Ia, new RegExp(
2233
+ rt(_i, Ia, new RegExp(
2234
2234
  `${t ? `(?<ce>\\${t}\\S)|` : ""}\uFF5C(?<str>[^\u300A\\n]+)\u300A(?<ruby>[^\u300B\\n]+)\u300B|(?:(?<kan>[\u2E80-\u2FDF\u3005\u3007\u303B\u3400-\u9FFF\u8C48-\uFAFF]+[\u3041-\u30FF]*|[^\u3000\uFF5C\u300A\u300B\\n])\u300A(?<kan_ruby>[^\u300B\\n]+)\u300B)|(?<txt>[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\u3000\uFF5C\u300A\u300B]+(?=\uFF5C)|[^\u3000\uFF5C\u300A\u300B]*[\u3041-\u30FF](?=[\u2E80-\u2FDF\u3005\u3007\u303B\u3400-\u9FFF\u8C48-\uFAFF]+\u300A)|.)`,
2235
2235
  "gs"
2236
2236
  ));
@@ -2238,7 +2238,7 @@ const gi = class {
2238
2238
  putTxt(t) {
2239
2239
  var o;
2240
2240
  let e = null;
2241
- for (; e = z(gi, Ia).exec(t); ) {
2241
+ for (; e = z(_i, Ia).exec(t); ) {
2242
2242
  const R = e == null ? void 0 : e.groups;
2243
2243
  if (!R)
2244
2244
  continue;
@@ -2253,31 +2253,35 @@ const gi = class {
2253
2253
  continue;
2254
2254
  }
2255
2255
  if (R.ce) {
2256
- z(this, Xr).call(this, R.ce.slice(1), "");
2256
+ z(this, Ar).call(this, R.ce.slice(1), "");
2257
2257
  continue;
2258
2258
  }
2259
- Array.from((o = R.txt) != null ? o : "").forEach((D) => z(this, Xr).call(this, D, ""));
2259
+ Array.from((o = R.txt) != null ? o : "").forEach((D) => z(this, Ar).call(this, D, ""));
2260
2260
  }
2261
2261
  }
2262
2262
  putTxtRb(t, e) {
2263
+ if (/^\w+|{"/.test(e)) {
2264
+ z(this, Ar).call(this, t, e);
2265
+ return;
2266
+ }
2263
2267
  const o = Array.from(t), R = o.length;
2264
- if (e.charAt(0) === "*" && e.length <= 2) {
2265
- const L = "center\uFF5C" + (e === "*" ? z(gi, Ki) : e.charAt(1));
2268
+ if (/^\*.?$/.test(e)) {
2269
+ const L = "center\uFF5C" + (e === "*" ? z(_i, Ji) : e.charAt(1));
2266
2270
  for (let B = 0; B < R; ++B)
2267
- z(this, Xr).call(this, o[B], L);
2271
+ z(this, Ar).call(this, o[B], L);
2268
2272
  return;
2269
2273
  }
2270
2274
  if (R === 1 || e.indexOf(" ") === -1) {
2271
- z(this, Xr).call(this, t, e.replaceAll(" ", " "));
2275
+ z(this, Ar).call(this, t, decodeURIComponent(e));
2272
2276
  return;
2273
2277
  }
2274
2278
  const N = e.split(" "), M = N.length, D = M > R ? M : R;
2275
2279
  for (let L = 0; L < D; ++L)
2276
- z(this, Xr).call(this, L < R ? o[L] : "", L < M ? N[L].replaceAll(" ", " ") : "");
2280
+ z(this, Ar).call(this, L < R ? o[L] : "", L < M ? decodeURIComponent(N[L]) : "");
2277
2281
  }
2278
2282
  };
2279
- let RubySpliter = gi;
2280
- Ki = new WeakMap(), Xr = new WeakMap(), Ia = new WeakMap(), it(RubySpliter, Ki, "\u30FD"), it(RubySpliter, Ia, void 0);
2283
+ let RubySpliter = _i;
2284
+ Ji = new WeakMap(), Ar = new WeakMap(), Ia = new WeakMap(), it(RubySpliter, Ji, "\u30FD"), it(RubySpliter, Ia, void 0);
2281
2285
  const REG_TAG = /(?<name>[^\s;\]]+)/;
2282
2286
  function tagToken2Name_Args(n) {
2283
2287
  const t = REG_TAG.exec(n.slice(1, -1)), e = t == null ? void 0 : t.groups;
@@ -2304,10 +2308,10 @@ function splitAmpersand(n) {
2304
2308
  cast: e === 3 ? t[2].trim() : void 0
2305
2309
  };
2306
2310
  }
2307
- var Ji, Qn, ts, es, ke;
2311
+ var Qi, Qn, ts, es, ke;
2308
2312
  class Grammar {
2309
2313
  constructor() {
2310
- it(this, Ji, void 0);
2314
+ it(this, Qi, void 0);
2311
2315
  it(this, Qn, void 0);
2312
2316
  it(this, ts, void 0);
2313
2317
  it(this, es, void 0);
@@ -2339,7 +2343,7 @@ class Grammar {
2339
2343
  this.REG_TOKEN = new RegExp(
2340
2344
  (t ? `\\${t}\\S|` : "") + `\\n+|\\t+|\\[let_ml\\s+[^\\]]+\\].+?(?=\\[endlet_ml[\\]\\s])|\\[(?:[^"'#;\\]]+|` + (e ? `(?:"(?:\\${e}["'#\\n]|[^"])*"|'(?:\\${e}["'#\\n]|[^'])*'|\\#(?:\\${e}["'#\\n]|[^#])*\\#)` : `(["'#]).*?\\1`) + `|;[^\\n]*)*?]|;[^\\n]*|&[^&\\n]+&|&&?[^;\\n\\t&]+|^\\*\\w+|[^\\n\\t\\[;${t ? `\\${t}` : ""}]+`,
2341
2345
  "gs"
2342
- ), RubySpliter.setEscape(t), rt(this, Ji, new RegExp(`[\\w\\s;[\\]*=&\uFF5C\u300A\u300B${t ? `\\${t}` : ""}]`)), this.REG_TOKEN_NOTXT = new RegExp(`[\\n\\t;\\[*&${t ? `\\${t}` : ""}]`);
2346
+ ), RubySpliter.setEscape(t), rt(this, Qi, new RegExp(`[\\w\\s;[\\]*=&\uFF5C\u300A\u300B${t ? `\\${t}` : ""}]`)), this.REG_TOKEN_NOTXT = new RegExp(`[\\n\\t;\\[*&${t ? `\\${t}` : ""}]`);
2343
2347
  }
2344
2348
  matchToken(t) {
2345
2349
  var e;
@@ -2360,9 +2364,9 @@ class Grammar {
2360
2364
  throw "[bracket2macro] text\u3010" + M + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
2361
2365
  if (D in z(this, ke))
2362
2366
  throw "[bracket2macro] text\u3010" + D + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
2363
- if (z(this, Ji).test(M))
2367
+ if (z(this, Qi).test(M))
2364
2368
  throw "[bracket2macro] text\u3010" + M + "\u3011\u306F\u62EC\u5F27\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
2365
- if (z(this, Ji).test(D))
2369
+ if (z(this, Qi).test(D))
2366
2370
  throw "[bracket2macro] text\u3010" + D + "\u3011\u306F\u62EC\u5F27\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
2367
2371
  z(this, ke)[D] = "0", z(this, ke)[M] = `[${R} text=`, this.addC2M(`\\${M}[^\\${D}]*\\${D}`, `\\${M}\\${D}`), this.replaceScr_C2M_And_let_ml(e, o);
2368
2372
  }
@@ -2373,7 +2377,7 @@ class Grammar {
2373
2377
  throw "[char2macro] char\u306F\u5FC5\u9808\u3067\u3059";
2374
2378
  if ((D = z(this, ke)) != null || rt(this, ke, {}), N in z(this, ke))
2375
2379
  throw "[char2macro] char\u3010" + N + "\u3011\u304C\u767B\u9332\u6E08\u307F\u306E\u62EC\u5F27\u30DE\u30AF\u30ED\u307E\u305F\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u3067\u3059";
2376
- if (z(this, Ji).test(N))
2380
+ if (z(this, Qi).test(N))
2377
2381
  throw "[char2macro] char\u3010" + N + "\u3011\u306F\u4E00\u6587\u5B57\u30DE\u30AF\u30ED\u306B\u4F7F\u7528\u3067\u304D\u306A\u3044\u6587\u5B57\u3067\u3059";
2378
2382
  if (!M)
2379
2383
  throw "[char2macro] name\u306F\u5FC5\u9808\u3067\u3059";
@@ -2388,35 +2392,35 @@ class Grammar {
2388
2392
  ));
2389
2393
  }
2390
2394
  }
2391
- Ji = new WeakMap(), Qn = new WeakMap(), ts = new WeakMap(), es = new WeakMap(), ke = new WeakMap();
2392
- var ou, Qi, rs;
2395
+ Qi = new WeakMap(), Qn = new WeakMap(), ts = new WeakMap(), es = new WeakMap(), ke = new WeakMap();
2396
+ var ou, tn, rs;
2393
2397
  class AnalyzeTagArg {
2394
2398
  constructor() {
2395
2399
  it(this, ou, /;[^\n]*|(?<key>\w+)(?:\s|;[^\n]*\n)*=(?:\s|;[^\n]*\n)*(?:(?<val>[^\s"'#|;]+)|(["'#])(?<val2>.*?)\3)(?:\|(?:(?<def>[^\s"'#;]+)|(["'#])(?<def2>.*?)\6))?|(?<literal>[^\s;]+)/g);
2396
- it(this, Qi, {});
2400
+ it(this, tn, {});
2397
2401
  it(this, rs, !1);
2398
2402
  }
2399
2403
  go(t) {
2400
2404
  var o, R;
2401
- if (rt(this, Qi, {}), rt(this, rs, !1), !t)
2405
+ if (rt(this, tn, {}), rt(this, rs, !1), !t)
2402
2406
  return;
2403
2407
  let e = null;
2404
2408
  for (; e = z(this, ou).exec(t); ) {
2405
2409
  const N = e == null ? void 0 : e.groups;
2406
- !N || (N.key ? z(this, Qi)[N.key] = {
2410
+ !N || (N.key ? z(this, tn)[N.key] = {
2407
2411
  val: (o = N.val) != null ? o : N.val2,
2408
2412
  def: (R = N.def) != null ? R : N.def2
2409
- } : N.literal && (N.literal === "*" ? rt(this, rs, !0) : z(this, Qi)[N.literal] = { val: "1" }));
2413
+ } : N.literal && (N.literal === "*" ? rt(this, rs, !0) : z(this, tn)[N.literal] = { val: "1" }));
2410
2414
  }
2411
2415
  }
2412
2416
  get hPrm() {
2413
- return z(this, Qi);
2417
+ return z(this, tn);
2414
2418
  }
2415
2419
  get isKomeParam() {
2416
2420
  return z(this, rs);
2417
2421
  }
2418
2422
  }
2419
- ou = new WeakMap(), Qi = new WeakMap(), rs = new WeakMap();
2423
+ ou = new WeakMap(), tn = new WeakMap(), rs = new WeakMap();
2420
2424
  var parsimmon_umd_min = { exports: {} };
2421
2425
  (function(n, t) {
2422
2426
  (function(e, o) {
@@ -2564,8 +2568,8 @@ var parsimmon_umd_min = { exports: {} };
2564
2568
  if (function() {
2565
2569
  if (N._supportsSet !== void 0)
2566
2570
  return N._supportsSet;
2567
- var Vr = typeof Set < "u";
2568
- return N._supportsSet = Vr, Vr;
2571
+ var Xr = typeof Set < "u";
2572
+ return N._supportsSet = Xr, Xr;
2569
2573
  }() && Array.from) {
2570
2574
  for (var Bt = new Set(wt), $t = 0; $t < Mt.length; $t++)
2571
2575
  Bt.add(Mt[$t]);
@@ -2576,10 +2580,10 @@ var parsimmon_umd_min = { exports: {} };
2576
2580
  ge[wt[$e]] = !0;
2577
2581
  for (var Me = 0; Me < Mt.length; Me++)
2578
2582
  ge[Mt[Me]] = !0;
2579
- var jr = [];
2583
+ var Vr = [];
2580
2584
  for (var Je in ge)
2581
- ({}).hasOwnProperty.call(ge, Je) && jr.push(Je);
2582
- return jr.sort(), jr;
2585
+ ({}).hasOwnProperty.call(ge, Je) && Vr.push(Je);
2586
+ return Vr.sort(), Vr;
2583
2587
  }(ut.expected, pt.expected) : pt.expected;
2584
2588
  return { status: ut.status, index: ut.index, value: ut.value, furthest: pt.furthest, expected: Et };
2585
2589
  }
@@ -2635,31 +2639,31 @@ var parsimmon_umd_min = { exports: {} };
2635
2639
  if (ge === ut.length)
2636
2640
  return "Got the end of the input";
2637
2641
  if (Q(ut)) {
2638
- var Me = ge - ge % bt, jr = ge - Me, Je = Dt(Me, ft, _t + bt, ut.length), Vr = B(function(Re) {
2639
- return B(function(Un) {
2640
- return Rt(Un.toString(16), 2, "0");
2642
+ var Me = ge - ge % bt, Vr = ge - Me, Je = Dt(Me, ft, _t + bt, ut.length), Xr = B(function(Re) {
2643
+ return B(function(Hn) {
2644
+ return Rt(Hn.toString(16), 2, "0");
2641
2645
  }, Re);
2642
- }, function(Re, Un) {
2643
- var Hn = Re.length, Wi = [], zn = 0;
2644
- if (Hn <= Un)
2646
+ }, function(Re, Hn) {
2647
+ var zn = Re.length, Wi = [], jn = 0;
2648
+ if (zn <= Hn)
2645
2649
  return [Re.slice()];
2646
- for (var jn = 0; jn < Hn; jn++)
2647
- Wi[zn] || Wi.push([]), Wi[zn].push(Re[jn]), (jn + 1) % Un == 0 && zn++;
2650
+ for (var Vn = 0; Vn < zn; Vn++)
2651
+ Wi[jn] || Wi.push([]), Wi[jn].push(Re[Vn]), (Vn + 1) % Hn == 0 && jn++;
2648
2652
  return Wi;
2649
2653
  }(ut.slice(Je.from, Je.to).toJSON().data, bt));
2650
2654
  Bt = function(Re) {
2651
2655
  return Re.from === 0 && Re.to === 1 ? { from: Re.from, to: Re.to } : { from: Re.from / bt, to: Math.floor(Re.to / bt) };
2652
- }(Je), wt = Me / bt, Et = 3 * jr, jr >= 4 && (Et += 1), $e = 2, Mt = B(function(Re) {
2656
+ }(Je), wt = Me / bt, Et = 3 * Vr, Vr >= 4 && (Et += 1), $e = 2, Mt = B(function(Re) {
2653
2657
  return Re.length <= 4 ? Re.join(" ") : Re.slice(0, 4).join(" ") + " " + Re.slice(4).join(" ");
2654
- }, Vr), ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2);
2658
+ }, Xr), ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2);
2655
2659
  } else {
2656
- var Gn = ut.split(/\r\n|[\n\r\u2028\u2029]/);
2657
- Et = Yt.column - 1, wt = Yt.line - 1, Bt = Dt(wt, Tt, Ft, Gn.length), Mt = Gn.slice(Bt.from, Bt.to), $t = Bt.to.toString().length;
2660
+ var Un = ut.split(/\r\n|[\n\r\u2028\u2029]/);
2661
+ Et = Yt.column - 1, wt = Yt.line - 1, Bt = Dt(wt, Tt, Ft, Un.length), Mt = Un.slice(Bt.from, Bt.to), $t = Bt.to.toString().length;
2658
2662
  }
2659
2663
  var Nf = wt - Bt.from;
2660
- return Q(ut) && ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2), L(function(Re, Un, Hn) {
2661
- var Wi, zn = Hn === Nf, jn = zn ? "> " : St;
2662
- return Wi = Q(ut) ? Rt((8 * (Bt.from + Hn)).toString(16), $t, "0") : Rt((Bt.from + Hn + 1).toString(), $t, " "), [].concat(Re, [jn + Wi + " | " + Un], zn ? [St + Pt(" ", $t) + " | " + Rt("", Et, " ") + Pt("^", $e)] : []);
2664
+ return Q(ut) && ($t = (8 * (Bt.to > 0 ? Bt.to - 1 : Bt.to)).toString(16).length) < 2 && ($t = 2), L(function(Re, Hn, zn) {
2665
+ var Wi, jn = zn === Nf, Vn = jn ? "> " : St;
2666
+ return Wi = Q(ut) ? Rt((8 * (Bt.from + zn)).toString(16), $t, "0") : Rt((Bt.from + zn + 1).toString(), $t, " "), [].concat(Re, [Vn + Wi + " | " + Hn], jn ? [St + Pt(" ", $t) + " | " + Rt("", Et, " ") + Pt("^", $e)] : []);
2663
2667
  }, [], Mt).join(`
2664
2668
  `);
2665
2669
  }
@@ -2985,13 +2989,13 @@ var parsimmon_umd_min = { exports: {} };
2985
2989
  if (Et === 0)
2986
2990
  throw new Error("seqObj expects at least one named parser, found zero");
2987
2991
  return N(function(ge, $e) {
2988
- for (var Me, jr = {}, Je = 0; Je < Mt; Je += 1) {
2989
- var Vr, Gn;
2990
- if (tt(wt[Je]) ? (Vr = wt[Je][0], Gn = wt[Je][1]) : (Vr = null, Gn = wt[Je]), !(Me = nt(Gn._(ge, $e), Me)).status)
2992
+ for (var Me, Vr = {}, Je = 0; Je < Mt; Je += 1) {
2993
+ var Xr, Un;
2994
+ if (tt(wt[Je]) ? (Xr = wt[Je][0], Un = wt[Je][1]) : (Xr = null, Un = wt[Je]), !(Me = nt(Un._(ge, $e), Me)).status)
2991
2995
  return Me;
2992
- Vr && (jr[Vr] = Me.value), $e = Me.index;
2996
+ Xr && (Vr[Xr] = Me.value), $e = Me.index;
2993
2997
  }
2994
- return nt(st($e, jr), Me);
2998
+ return nt(st($e, Vr), Me);
2995
2999
  });
2996
3000
  }, N.string = xt, N.succeed = Lt, N.takeWhile = function(ut) {
2997
3001
  return vt(ut), N(function(pt, Et) {
@@ -3054,16 +3058,16 @@ var parsimmon_umd_min = { exports: {} };
3054
3058
  }]);
3055
3059
  });
3056
3060
  })(parsimmon_umd_min);
3057
- var mi, jt, Vt, Wr, yi, Vn, wa, Ra, ih, uu, lu, zh;
3061
+ var yi, jt, Vt, Wr, bi, Xn, wa, Ra, ih, uu, lu, zh;
3058
3062
  const Bh = class {
3059
3063
  constructor(t, e = "\\") {
3060
3064
  it(this, jt);
3061
- it(this, yi);
3065
+ it(this, bi);
3062
3066
  it(this, Ra);
3063
- it(this, mi, void 0);
3067
+ it(this, yi, void 0);
3064
3068
  it(this, Wr, void 0);
3065
3069
  it(this, wa, void 0);
3066
- this.val = t, rt(this, mi, null), rt(this, Wr, {
3070
+ this.val = t, rt(this, yi, null), rt(this, Wr, {
3067
3071
  "!num!": (Y) => Y.shift(),
3068
3072
  "!str!": (Y) => ot(this, Ra, ih).call(this, Y.shift()),
3069
3073
  "!bool!": (Y) => Y.shift(),
@@ -3082,15 +3086,15 @@ const Bh = class {
3082
3086
  return Object.prototype.toString.call(q) === "[object String]" || Object.prototype.toString.call(Z) === "[object String]" ? String(q) + String(Z) : Number(q) + Number(Z);
3083
3087
  },
3084
3088
  "-": (Y) => Number(ot(this, jt, Vt).call(this, Y.shift())) - Number(ot(this, jt, Vt).call(this, Y.shift())),
3085
- int: (Y) => int(ot(this, yi, Vn).call(this, Y.shift())),
3089
+ int: (Y) => int(ot(this, bi, Xn).call(this, Y.shift())),
3086
3090
  parseInt: (Y) => int(z(this, Wr).Number(Y)),
3087
3091
  Number: (Y) => {
3088
3092
  const q = ot(this, jt, Vt).call(this, Y.shift());
3089
- return Object.prototype.toString.call(q) !== "[object String]" ? Number(q) : ot(this, yi, Vn).call(this, z(this, mi).parse(String(q)).value);
3093
+ return Object.prototype.toString.call(q) !== "[object String]" ? Number(q) : ot(this, bi, Xn).call(this, z(this, yi).parse(String(q)).value);
3090
3094
  },
3091
- ceil: (Y) => Math.ceil(ot(this, yi, Vn).call(this, Y.shift())),
3092
- floor: (Y) => Math.floor(ot(this, yi, Vn).call(this, Y.shift())),
3093
- round: (Y) => Math.round(ot(this, yi, Vn).call(this, Y.shift())),
3095
+ ceil: (Y) => Math.ceil(ot(this, bi, Xn).call(this, Y.shift())),
3096
+ floor: (Y) => Math.floor(ot(this, bi, Xn).call(this, Y.shift())),
3097
+ round: (Y) => Math.round(ot(this, bi, Xn).call(this, Y.shift())),
3094
3098
  isNaN: (Y) => isNaN(Number(ot(this, jt, Vt).call(this, Y.shift()))),
3095
3099
  "<<": (Y) => Number(ot(this, jt, Vt).call(this, Y.shift())) << Number(ot(this, jt, Vt).call(this, Y.shift())),
3096
3100
  ">>": (Y) => Number(ot(this, jt, Vt).call(this, Y.shift())) >> Number(ot(this, jt, Vt).call(this, Y.shift())),
@@ -3183,7 +3187,7 @@ const Bh = class {
3183
3187
  const Z = this.val.getVal(q);
3184
3188
  return Z == null ? ["!str!", Z] : typeof Z == "boolean" ? ["!bool!", Z] : Object.prototype.toString.call(Z) === "[object String]" ? ["!str!", String(Z)] : ["!num!", Number(Z)];
3185
3189
  }).desc("string"), V = parsimmon_umd_min.exports.lazy(
3186
- () => parsimmon_umd_min.exports.string("(").then(z(this, mi)).skip(parsimmon_umd_min.exports.string(")")).or(D).or(L).or(B).or($).or(H)
3190
+ () => parsimmon_umd_min.exports.string("(").then(z(this, yi)).skip(parsimmon_umd_min.exports.string(")")).or(D).or(L).or(B).or($).or(H)
3187
3191
  ), X = [
3188
3192
  { type: R, ops: o([/[A-Za-z_][A-Za-z0-9_]*(?=\()/]) },
3189
3193
  { type: R, ops: o([/(!(?!=)|~)/]) },
@@ -3204,10 +3208,10 @@ const Bh = class {
3204
3208
  (Y, q) => q.type(q.ops, Y),
3205
3209
  V
3206
3210
  );
3207
- rt(this, mi, X.trim(parsimmon_umd_min.exports.optWhitespace));
3211
+ rt(this, yi, X.trim(parsimmon_umd_min.exports.optWhitespace));
3208
3212
  }
3209
3213
  parse(t) {
3210
- const e = z(this, mi).parse(t);
3214
+ const e = z(this, yi).parse(t);
3211
3215
  if (!e.status)
3212
3216
  throw Error("(PropParser)\u6587\u6CD5\u30A8\u30E9\u30FC\u3010" + t + "\u3011");
3213
3217
  const o = e.value;
@@ -3225,13 +3229,13 @@ const Bh = class {
3225
3229
  }
3226
3230
  };
3227
3231
  let PropParser = Bh;
3228
- mi = new WeakMap(), jt = new WeakSet(), Vt = function(t) {
3232
+ yi = new WeakMap(), jt = new WeakSet(), Vt = function(t) {
3229
3233
  const e = t.shift();
3230
3234
  if (e instanceof Array)
3231
3235
  return ot(this, jt, Vt).call(this, e);
3232
3236
  const o = z(this, Wr)[e];
3233
3237
  return o ? o(t) : Object(null);
3234
- }, Wr = new WeakMap(), yi = new WeakSet(), Vn = function(t) {
3238
+ }, Wr = new WeakMap(), bi = new WeakSet(), Xn = function(t) {
3235
3239
  const e = ot(this, jt, Vt).call(this, t);
3236
3240
  if (Object.prototype.toString.call(e) !== "[object Number]")
3237
3241
  throw Error("(PropParser)\u5F15\u6570\u3010" + e + "\u3011\u304C\u6570\u5024\u3067\u306F\u3042\u308A\u307E\u305B\u3093");
@@ -3434,7 +3438,7 @@ class Areas {
3434
3438
  }), t !== "" && (t = t.slice(1)), t;
3435
3439
  }
3436
3440
  }
3437
- var Se, Ve, ve, Yr, me, Xe, ur, Pa, Aa, Oa, nh, is, ns, hu, jh, cu, Vh, lr, Pr, fu, Xh, du, Wh, pu, Yh, vu, qh, gu, Zh, _u, Kh, mu, Jh, yu, Qh, ss, zo, Na, sh, as, tn, Ma, ah, Da, La, en, os, us, jo, bu, tc, Eu, ec, Fa, oh, Ba, uh, xu, rc, Tu, ic, ls, Vo;
3441
+ var Se, Ve, ve, Yr, me, Xe, ur, Pa, Aa, Oa, nh, is, ns, hu, jh, cu, Vh, lr, Pr, fu, Xh, du, Wh, pu, Yh, vu, qh, gu, Zh, _u, Kh, mu, Jh, yu, Qh, ss, zo, Na, sh, as, en, Ma, ah, Da, La, rn, os, us, jo, bu, tc, Eu, ec, Fa, oh, Ba, uh, xu, rc, Tu, ic, ls, Vo;
3438
3442
  const Jn = class {
3439
3443
  constructor(t, e) {
3440
3444
  it(this, Oa);
@@ -3474,7 +3478,7 @@ const Jn = class {
3474
3478
  it(this, as, void 0);
3475
3479
  it(this, Da, void 0);
3476
3480
  it(this, La, void 0);
3477
- it(this, en, void 0);
3481
+ it(this, rn, void 0);
3478
3482
  it(this, os, void 0);
3479
3483
  var N;
3480
3484
  if (this.cfg = t, rt(this, Se, { sys: {}, save: {}, tmp: {}, mp: {} }), rt(this, Ve, z(this, Se).save), rt(this, ve, z(this, Se).tmp), rt(this, me, { sys: {}, mark: {}, kidoku: {} }), rt(this, ur, {}), rt(this, Aa, {
@@ -3492,7 +3496,7 @@ const Jn = class {
3492
3496
  set_data_break: (M, D) => {
3493
3497
  ot(this, Oa, nh).call(this, D.a), z(this, Yr).send2Dbg(D.ri, {});
3494
3498
  },
3495
- disconnect: (M) => rt(Jn, tn, {})
3499
+ disconnect: (M) => rt(Jn, en, {})
3496
3500
  }), rt(this, is, () => {
3497
3501
  }), rt(this, ns, (M) => {
3498
3502
  }), this.getMark = (M) => z(this, me).mark[M], this.getAreaKidoku = (M) => z(this, ur)[M], rt(this, as, (M, D, L = !0) => {
@@ -3562,7 +3566,7 @@ const Jn = class {
3562
3566
  }
3563
3567
  }
3564
3568
  return console.info("\u{1F95F} [dump_val]", M), !1;
3565
- }), rt(this, en, !1), rt(this, os, {
3569
+ }), rt(this, rn, !1), rt(this, os, {
3566
3570
  "sys:sn.tagCh.doWait": (M) => ot(this, us, jo).call(this, M),
3567
3571
  "sys:sn.tagCh.doWait_Kidoku": (M) => ot(this, us, jo).call(this, M),
3568
3572
  "sys:sn.tagCh.msecWait": (M) => ot(this, bu, tc).call(this, M),
@@ -3573,7 +3577,7 @@ const Jn = class {
3573
3577
  "sys:sn.auto.msecLineWait": (M) => ot(this, Ba, uh).call(this, M),
3574
3578
  "sys:sn.auto.msecLineWait_Kidoku": (M) => ot(this, Ba, uh).call(this, M),
3575
3579
  "save:sn.doRecLog": (M) => {
3576
- z(this, ns).call(this, rt(this, en, ot(this, xu, rc).call(this, M)));
3580
+ z(this, ns).call(this, rt(this, rn, ot(this, xu, rc).call(this, M)));
3577
3581
  },
3578
3582
  "save:sn.userFnTail": (M, D) => this.cfg.userFnTail = D,
3579
3583
  "tmp:sn.tagL.enabled": (M) => ot(this, Tu, ic).call(this, M),
@@ -3666,7 +3670,7 @@ const Jn = class {
3666
3670
  }
3667
3671
  mark2save(t) {
3668
3672
  var e;
3669
- rt(this, Ve, z(this, Se).save = { ...t.hSave }), rt(this, en, (e = z(this, Ve)["sn.doRecLog"]) != null ? e : !1);
3673
+ rt(this, Ve, z(this, Se).save = { ...t.hSave }), rt(this, rn, (e = z(this, Ve)["sn.doRecLog"]) != null ? e : !1);
3670
3674
  }
3671
3675
  loadScrWork(t) {
3672
3676
  t in z(this, ur) || (z(this, ur)[t] = new Areas());
@@ -3681,7 +3685,7 @@ const Jn = class {
3681
3685
  const N = z(this, Se)[t];
3682
3686
  R && (o = ot(this, Ma, ah).call(this, o));
3683
3687
  const M = t + ":" + e;
3684
- if (M in z(Jn, tn)) {
3688
+ if (M in z(Jn, en)) {
3685
3689
  const B = N[e], $ = o;
3686
3690
  B != $ && z(this, Pa).call(this, "data_break", {
3687
3691
  dataId: M,
@@ -3692,7 +3696,7 @@ const Jn = class {
3692
3696
  N[e] = o, (L = (D = z(this, os))[M]) == null || L.call(D, e, o);
3693
3697
  }
3694
3698
  doRecLog() {
3695
- return z(this, en);
3699
+ return z(this, rn);
3696
3700
  }
3697
3701
  defValTrg(t, e) {
3698
3702
  z(this, os)[t] = e;
@@ -3700,7 +3704,7 @@ const Jn = class {
3700
3704
  };
3701
3705
  let Variable = Jn;
3702
3706
  Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(), me = new WeakMap(), Xe = new WeakMap(), ur = new WeakMap(), Pa = new WeakMap(), Aa = new WeakMap(), Oa = new WeakSet(), nh = function(t) {
3703
- rt(Jn, tn, {}), t.forEach((e) => z(Jn, tn)[e.dataId] = 1);
3707
+ rt(Jn, en, {}), t.forEach((e) => z(Jn, en)[e.dataId] = 1);
3704
3708
  }, is = new WeakMap(), ns = new WeakMap(), hu = new WeakSet(), jh = function(t) {
3705
3709
  if (!("from" in t))
3706
3710
  throw "from\u306F\u5FC5\u9808\u3067\u3059";
@@ -3788,7 +3792,7 @@ Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(),
3788
3792
  var R, N, M;
3789
3793
  const t = (R = z(this, Ve)["const.sn.mesLayer"]) != null ? R : "", e = (N = z(this, Ve)["sn.doRecLog"]) != null ? N : !1, o = (M = z(this, Ve)["const.sn.sLog"]) != null ? M : "[]";
3790
3794
  return rt(this, Ve, z(this, Se).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;
3791
- }, as = new WeakMap(), tn = new WeakMap(), Ma = new WeakSet(), ah = function(t) {
3795
+ }, as = new WeakMap(), en = new WeakMap(), Ma = new WeakSet(), ah = function(t) {
3792
3796
  const e = t;
3793
3797
  if (e === "true")
3794
3798
  return !0;
@@ -3798,7 +3802,7 @@ Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(),
3798
3802
  return null;
3799
3803
  if (e !== "undefined")
3800
3804
  return z(this, Da).test(e) ? parseFloat(e) : t;
3801
- }, Da = new WeakMap(), La = new WeakMap(), en = new WeakMap(), os = new WeakMap(), us = new WeakSet(), jo = function(t) {
3805
+ }, Da = new WeakMap(), La = new WeakMap(), rn = new WeakMap(), os = new WeakMap(), us = new WeakSet(), jo = function(t) {
3802
3806
  argChk_Boolean(z(this, Xe), t, !0);
3803
3807
  }, bu = new WeakSet(), tc = function(t) {
3804
3808
  argChk_Num(z(this, Xe), t, 10), z(this, Xe)["sn.tagCh.doWait"];
@@ -3822,7 +3826,7 @@ Se = new WeakMap(), Ve = new WeakMap(), ve = new WeakMap(), Yr = new WeakMap(),
3822
3826
  argChk_Boolean(z(this, ve), t, !0);
3823
3827
  }, ls = new WeakSet(), Vo = function(t) {
3824
3828
  argChk_Boolean(z(this, ve), t, !1);
3825
- }, it(Variable, tn, {});
3829
+ }, it(Variable, en, {});
3826
3830
  var Easing = {
3827
3831
  Linear: {
3828
3832
  None: function(n) {
@@ -19689,7 +19693,7 @@ extensions.add(
19689
19693
  TickerPlugin,
19690
19694
  AppLoaderPlugin
19691
19695
  );
19692
- var be, De, bi, Cu, nc, hs, Xo, Iu, sc, wu, ac, ka, lh, rn, va, Ga, hh, cs, fs, Wo, nn, ga, Ua, ds, Yo, Ru, oc, Ar, vi, Pu, uc, Ha, ch, sn, ma, Au, lc, za, fh, Ou, hc, Nu, cc, ps, qo;
19696
+ var be, De, Ei, Cu, nc, hs, Xo, Iu, sc, wu, ac, ka, lh, nn, va, Ga, hh, cs, fs, Wo, sn, ga, Ua, ds, Yo, Ru, oc, Or, gi, Pu, uc, Ha, ch, an, ma, Au, lc, za, fh, Ou, hc, Nu, cc, ps, qo;
19693
19697
  const Ca = class {
19694
19698
  constructor(t, e, o, R, N) {
19695
19699
  it(this, Cu);
@@ -19697,16 +19701,16 @@ const Ca = class {
19697
19701
  it(this, Iu);
19698
19702
  it(this, wu);
19699
19703
  it(this, ka);
19700
- it(this, rn);
19704
+ it(this, nn);
19701
19705
  it(this, Ga);
19702
19706
  it(this, fs);
19703
- it(this, nn);
19707
+ it(this, sn);
19704
19708
  it(this, ds);
19705
19709
  it(this, Ru);
19706
- it(this, Ar);
19710
+ it(this, Or);
19707
19711
  it(this, Pu);
19708
19712
  it(this, Ha);
19709
- it(this, sn);
19713
+ it(this, an);
19710
19714
  it(this, Au);
19711
19715
  it(this, za);
19712
19716
  it(this, Ou);
@@ -19714,15 +19718,15 @@ const Ca = class {
19714
19718
  it(this, ps);
19715
19719
  it(this, be, {});
19716
19720
  it(this, De, {});
19717
- it(this, bi, void 0);
19721
+ it(this, Ei, void 0);
19718
19722
  it(this, Ua, () => {
19719
19723
  I.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), rt(this, Ua, () => {
19720
19724
  });
19721
19725
  });
19722
- this.cfg = t, this.val = o, this.main = R, this.sys = N, e.volume = (M) => ot(this, Cu, nc).call(this, M), e.fadebgm = (M) => ot(this, ka, lh).call(this, M), e.fadeoutbgm = (M) => ot(this, Iu, sc).call(this, M), e.fadeoutse = (M) => ot(this, wu, ac).call(this, M), e.fadese = (M) => ot(this, rn, va).call(this, M), e.playbgm = (M) => ot(this, Ga, hh).call(this, M), e.playse = (M) => ot(this, fs, Wo).call(this, M), e.stop_allse = () => ot(this, ds, Yo).call(this), e.stopbgm = (M) => ot(this, Ru, oc).call(this, M), e.stopse = (M) => ot(this, Ar, vi).call(this, M), e.wb = (M) => ot(this, Pu, uc).call(this, M), e.wf = (M) => ot(this, Ha, ch).call(this, M), e.stopfadese = (M) => ot(this, sn, ma).call(this, M), e.wl = (M) => ot(this, Au, lc).call(this, M), e.ws = (M) => ot(this, za, fh).call(this, M), e.xchgbuf = (M) => ot(this, Ou, hc).call(this, M), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), o.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(G.supported));
19726
+ this.cfg = t, this.val = o, this.main = R, this.sys = N, e.volume = (M) => ot(this, Cu, nc).call(this, M), e.fadebgm = (M) => ot(this, ka, lh).call(this, M), e.fadeoutbgm = (M) => ot(this, Iu, sc).call(this, M), e.fadeoutse = (M) => ot(this, wu, ac).call(this, M), e.fadese = (M) => ot(this, nn, va).call(this, M), e.playbgm = (M) => ot(this, Ga, hh).call(this, M), e.playse = (M) => ot(this, fs, Wo).call(this, M), e.stop_allse = () => ot(this, ds, Yo).call(this), e.stopbgm = (M) => ot(this, Ru, oc).call(this, M), e.stopse = (M) => ot(this, Or, gi).call(this, M), e.wb = (M) => ot(this, Pu, uc).call(this, M), e.wf = (M) => ot(this, Ha, ch).call(this, M), e.stopfadese = (M) => ot(this, an, ma).call(this, M), e.wl = (M) => ot(this, Au, lc).call(this, M), e.ws = (M) => ot(this, za, fh).call(this, M), e.xchgbuf = (M) => ot(this, Ou, hc).call(this, M), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), o.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(G.supported));
19723
19727
  }
19724
19728
  setEvtMng(t) {
19725
- rt(this, bi, t);
19729
+ rt(this, Ei, t);
19726
19730
  }
19727
19731
  setNoticeChgVolume(t, e) {
19728
19732
  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));
@@ -19732,7 +19736,7 @@ const Ca = class {
19732
19736
  }
19733
19737
  loadAheadSnd(t) {
19734
19738
  [t.clickse, t.enterse, t.leavese].forEach((e) => {
19735
- !e || I.exists(e) || ot(this, nn, ga).call(this, "", e, { preload: !0, autoPlay: !1 });
19739
+ !e || I.exists(e) || ot(this, sn, ga).call(this, "", e, { preload: !0, autoPlay: !1 });
19736
19740
  });
19737
19741
  }
19738
19742
  playLoopFromSaveObj() {
@@ -19762,20 +19766,20 @@ const Ca = class {
19762
19766
  }
19763
19767
  };
19764
19768
  let SoundMng = Ca;
19765
- be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(), nc = function(t) {
19769
+ be = new WeakMap(), De = new WeakMap(), Ei = new WeakMap(), Cu = new WeakSet(), nc = function(t) {
19766
19770
  const { buf: e = "SE" } = t, o = "const.sn.sound." + e + ".volume", R = ot(this, hs, Xo).call(this, t, 1);
19767
- 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)), ot(this, rn, va).call(this, t));
19771
+ 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)), ot(this, nn, va).call(this, t));
19768
19772
  }, hs = new WeakSet(), Xo = function(t, e) {
19769
19773
  const o = argChk_Num(t, "volume", e);
19770
19774
  return o < 0 ? 0 : o > 1 ? 1 : o;
19771
19775
  }, Iu = new WeakSet(), sc = function(t) {
19772
19776
  return t.volume = 0, ot(this, ka, lh).call(this, t);
19773
19777
  }, wu = new WeakSet(), ac = function(t) {
19774
- return t.volume = 0, ot(this, rn, va).call(this, t);
19778
+ return t.volume = 0, ot(this, nn, va).call(this, t);
19775
19779
  }, ka = new WeakSet(), lh = function(t) {
19776
- return t.buf = "BGM", ot(this, rn, va).call(this, t);
19777
- }, rn = new WeakSet(), va = function(t) {
19778
- ot(this, sn, ma).call(this, t);
19780
+ return t.buf = "BGM", ot(this, nn, va).call(this, t);
19781
+ }, nn = new WeakSet(), va = function(t) {
19782
+ ot(this, an, ma).call(this, t);
19779
19783
  const { buf: e = "SE" } = t, o = z(this, be)[e];
19780
19784
  if (!(o != null && o.playing()) || !o.snd)
19781
19785
  return !1;
@@ -19784,23 +19788,23 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19784
19788
  const M = N * Number(this.val.getVal("sys:" + R, 1)), D = argChk_Boolean(t, "stop", N === 0);
19785
19789
  D && (ot(this, ps, qo).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
19786
19790
  const L = argChk_Num(t, "time", NaN), B = argChk_Num(t, "delay", 0);
19787
- if (L === 0 && B === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, bi).isSkippingByKeyDown())
19788
- return o.snd.volume = M, D && ot(this, Ar, vi).call(this, t), !1;
19791
+ if (L === 0 && B === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, Ei).isSkippingByKeyDown())
19792
+ return o.snd.volume = M, D && ot(this, Or, gi).call(this, t), !1;
19789
19793
  const $ = argChk_Num(t, "repeat", 1);
19790
19794
  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((U) => {
19791
19795
  o.playing() && (o.snd.volume = U.v);
19792
19796
  }).onComplete(() => {
19793
19797
  const U = z(this, be)[t.buf = o.now_buf];
19794
- !(U != null && U.twFade) || (delete U.twFade, D && ot(this, Ar, vi).call(this, t), U.resumeFade && this.main.resume());
19798
+ !(U != null && U.twFade) || (delete U.twFade, D && ot(this, Or, gi).call(this, t), U.resumeFade && this.main.resume());
19795
19799
  }).start(), !1;
19796
19800
  }, Ga = new WeakSet(), hh = function(t) {
19797
19801
  return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), ot(this, fs, Wo).call(this, t);
19798
19802
  }, cs = new WeakMap(), fs = new WeakSet(), Wo = function(t) {
19799
19803
  var q;
19800
19804
  const { buf: e = "SE", fn: o } = t;
19801
- if (ot(this, Ar, vi).call(this, { buf: e }), !o)
19805
+ if (ot(this, Or, gi).call(this, { buf: e }), !o)
19802
19806
  throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
19803
- if (argChk_Boolean(t, "canskip", !0) && z(this, bi).isSkippingByKeyDown())
19807
+ if (argChk_Boolean(t, "canskip", !0) && z(this, Ei).isSkippingByKeyDown())
19804
19808
  return !1;
19805
19809
  const R = argChk_Boolean(t, "loop", !1);
19806
19810
  ot(this, Nu, cc).call(this, e, R);
@@ -19832,7 +19836,7 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19832
19836
  playing: () => !0,
19833
19837
  onend: () => {
19834
19838
  const Z = z(this, be)[t.buf = V.now_buf];
19835
- !Z || (delete z(this, be)[t.buf], Z.playing = () => !1, ot(this, sn, ma).call(this, t), Z.resume && this.main.resume());
19839
+ !Z || (delete z(this, be)[t.buf], Z.playing = () => !1, ot(this, an, ma).call(this, t), Z.resume && this.main.resume());
19836
19840
  }
19837
19841
  }, W = {
19838
19842
  loop: R,
@@ -19899,13 +19903,13 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19899
19903
  };
19900
19904
  if (Q.end < 0 && (Q.end += K, Z.removeSprites(J), Z.addSprites(J, Q)), Q.start >= K)
19901
19905
  throw `[playse] ret_ms:${$} >= \u97F3\u58F0\u30D5\u30A1\u30A4\u30EB\u518D\u751F\u6642\u9593:${K} \u306F\u7570\u5E38\u5024\u3067\u3059`;
19902
- ot(this, nn, ga).call(this, e, o, tt);
19906
+ ot(this, sn, ga).call(this, e, o, tt);
19903
19907
  }) : W.complete = () => {
19904
19908
  var Z;
19905
19909
  return (Z = z(this, be)[V.now_buf]) == null ? void 0 : Z.onend();
19906
19910
  }, z(this, Ua).call(this), H) {
19907
19911
  if (H.volume = D, X)
19908
- ot(this, nn, ga).call(this, e, o, W);
19912
+ ot(this, sn, ga).call(this, e, o, W);
19909
19913
  else if (H.isPlayable) {
19910
19914
  const Z = H.options.source;
19911
19915
  !(Z instanceof ArrayBuffer) || Z.byteLength === 0 ? H.play(W) : V.snd = A.from({
@@ -19923,8 +19927,8 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19923
19927
  Z == null || Z(K, J), this.main.resume();
19924
19928
  };
19925
19929
  }
19926
- return ot(this, nn, ga).call(this, e, o, W), Y;
19927
- }, nn = new WeakSet(), ga = function(t, e, o) {
19930
+ return ot(this, sn, ga).call(this, e, o, W), Y;
19931
+ }, sn = new WeakSet(), ga = function(t, e, o) {
19928
19932
  const R = this.cfg.searchPath(e, Config.EXT_SOUND);
19929
19933
  if (R.slice(-4) !== ".bin") {
19930
19934
  o.url = R;
@@ -19952,11 +19956,11 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19952
19956
  });
19953
19957
  }, Ua = new WeakMap(), ds = new WeakSet(), Yo = function() {
19954
19958
  for (const t in z(this, be))
19955
- ot(this, Ar, vi).call(this, { buf: t });
19959
+ ot(this, Or, gi).call(this, { buf: t });
19956
19960
  return rt(this, be, {}), I.stopAll(), !1;
19957
19961
  }, Ru = new WeakSet(), oc = function(t) {
19958
- return t.buf = "BGM", ot(this, Ar, vi).call(this, t);
19959
- }, Ar = new WeakSet(), vi = function(t) {
19962
+ return t.buf = "BGM", ot(this, Or, gi).call(this, t);
19963
+ }, Or = new WeakSet(), gi = function(t) {
19960
19964
  var R;
19961
19965
  const { buf: e = "SE" } = t;
19962
19966
  ot(this, ps, qo).call(this, e);
@@ -19966,12 +19970,12 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19966
19970
  return t.buf = "BGM", ot(this, Ha, ch).call(this, t);
19967
19971
  }, Ha = new WeakSet(), ch = function(t) {
19968
19972
  const { buf: e = "SE" } = t, o = z(this, be)[e];
19969
- return !(o != null && o.twFade) || !o.playing() ? !1 : o.resumeFade = z(this, bi).waitEvent(
19970
- () => ot(this, sn, ma).call(this, t),
19973
+ return !(o != null && o.twFade) || !o.playing() ? !1 : o.resumeFade = z(this, Ei).waitEvent(
19974
+ () => ot(this, an, ma).call(this, t),
19971
19975
  argChk_Boolean(t, "canskip", !0),
19972
19976
  argChk_Boolean(t, "global", !1)
19973
19977
  );
19974
- }, sn = new WeakSet(), ma = function(t) {
19978
+ }, an = new WeakSet(), ma = function(t) {
19975
19979
  var o, R;
19976
19980
  const { buf: e = "SE" } = t;
19977
19981
  return (R = (o = z(this, be)[e]) == null ? void 0 : o.twFade) == null || R.stop().end(), !1;
@@ -19979,9 +19983,9 @@ be = new WeakMap(), De = new WeakMap(), bi = new WeakMap(), Cu = new WeakSet(),
19979
19983
  return t.buf = "BGM", ot(this, za, fh).call(this, t);
19980
19984
  }, za = new WeakSet(), fh = function(t) {
19981
19985
  const { buf: e = "SE" } = t, o = z(this, be)[e];
19982
- return !(o != null && o.playing()) || o.loop ? !1 : o.resume = z(this, bi).waitEvent(
19986
+ return !(o != null && o.playing()) || o.loop ? !1 : o.resume = z(this, Ei).waitEvent(
19983
19987
  () => {
19984
- t.buf = o.now_buf, ot(this, Ar, vi).call(this, t);
19988
+ t.buf = o.now_buf, ot(this, Or, gi).call(this, t);
19985
19989
  const R = z(this, be)[t.buf];
19986
19990
  !(R != null && R.playing()) || R.loop || R.onend();
19987
19991
  },
@@ -20044,7 +20048,7 @@ const $h = class {
20044
20048
  let Pages = $h;
20045
20049
  ue = new WeakMap();
20046
20050
  var Mu, Du;
20047
- const _i = class {
20051
+ const mi = class {
20048
20052
  constructor() {
20049
20053
  this.layname = "", this.name_ = "", this.spLay = new Sprite(Texture.EMPTY);
20050
20054
  }
@@ -20099,7 +20103,7 @@ const _i = class {
20099
20103
  destroy() {
20100
20104
  }
20101
20105
  lay(t) {
20102
- return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)), _i.setBlendmode(this.spLay, t), ("pivot_x" in t || "pivot_y" in t) && this.spLay.pivot.set(
20106
+ return "alpha" in t && (this.spLay.alpha = argChk_Num(t, "alpha", 1)), mi.setBlendmode(this.spLay, t), ("pivot_x" in t || "pivot_y" in t) && this.spLay.pivot.set(
20103
20107
  argChk_Num(t, "pivot_x", this.spLay.pivot.x),
20104
20108
  argChk_Num(t, "pivot_y", this.spLay.pivot.y)
20105
20109
  ), "rotation" in t && (this.spLay.angle = argChk_Num(t, "rotation", 0)), ("scale_x" in t || "scale_y" in t) && this.spLay.scale.set(
@@ -20111,7 +20115,7 @@ const _i = class {
20111
20115
  const { blendmode: o } = e;
20112
20116
  if (!o)
20113
20117
  return;
20114
- const R = _i.getBlendmodeNum(o);
20118
+ const R = mi.getBlendmodeNum(o);
20115
20119
  t instanceof Sprite && (t.blendMode = R), t.children.forEach((N) => {
20116
20120
  N instanceof Sprite && (N.blendMode = R);
20117
20121
  });
@@ -20119,14 +20123,14 @@ const _i = class {
20119
20123
  static getBlendmodeNum(t) {
20120
20124
  if (!t)
20121
20125
  return BLEND_MODES$5.NORMAL;
20122
- const e = z(_i, Mu)[t];
20126
+ const e = z(mi, Mu)[t];
20123
20127
  if (e !== void 0)
20124
20128
  return e;
20125
20129
  throw `${t} \u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u306A\u3044 blendmode \u3067\u3059`;
20126
20130
  }
20127
20131
  static getNum2Blendmode(t) {
20128
20132
  var e;
20129
- return (e = z(_i, Du)[t]) != null ? e : "normal";
20133
+ return (e = z(mi, Du)[t]) != null ? e : "normal";
20130
20134
  }
20131
20135
  get containMovement() {
20132
20136
  return !1;
@@ -20183,14 +20187,14 @@ const _i = class {
20183
20187
  }
20184
20188
  static setXY(t, e, o, R = !1, N = !1) {
20185
20189
  if (e.pos) {
20186
- _i.setXYByPos(t, e.pos, o);
20190
+ mi.setXYByPos(t, e.pos, o);
20187
20191
  return;
20188
20192
  }
20189
20193
  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;
20190
20194
  let U = o.x;
20191
20195
  "left" in e ? (U = argChk_Num(e, "left", 0), U > -1 && U < 1 && (U *= CmnLib.stageW)) : "center" in e ? (U = argChk_Num(e, "center", 0), U > -1 && U < 1 && (U *= CmnLib.stageW), U = U - (N ? L / 3 : L) / 2) : "right" in e ? (U = argChk_Num(e, "right", 0), U > -1 && U < 1 && (U *= CmnLib.stageW), U = U - (N ? L / 3 : L)) : "s_right" in e && (U = argChk_Num(e, "s_right", 0), U > -1 && U < 1 && (U *= CmnLib.stageW), U = CmnLib.stageW - U - (N ? L / 3 : L)), o.x = int(o.scale.x < 0 ? U + (N ? L / 3 : L) : U);
20192
20196
  let H = o.y;
20193
- "top" in e ? (H = argChk_Num(e, "top", 0), H > -1 && H < 1 && (H *= CmnLib.stageH)) : "middle" in e ? (H = argChk_Num(e, "middle", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $ / 2) : "bottom" in e ? (H = argChk_Num(e, "bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $) : "s_bottom" in e && (H = argChk_Num(e, "s_bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = CmnLib.stageH - H - $), o.y = int(o.scale.y < 0 ? H + $ : H), 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) && _i.setXYByPos(t, "c", o);
20197
+ "top" in e ? (H = argChk_Num(e, "top", 0), H > -1 && H < 1 && (H *= CmnLib.stageH)) : "middle" in e ? (H = argChk_Num(e, "middle", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $ / 2) : "bottom" in e ? (H = argChk_Num(e, "bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = H - $) : "s_bottom" in e && (H = argChk_Num(e, "s_bottom", 0), H > -1 && H < 1 && (H *= CmnLib.stageH), H = CmnLib.stageH - H - $), o.y = int(o.scale.y < 0 ? H + $ : H), 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) && mi.setXYByPos(t, "c", o);
20194
20198
  }
20195
20199
  static setXYByPos(t, e, o) {
20196
20200
  if (e === "stay")
@@ -20208,7 +20212,7 @@ const _i = class {
20208
20212
  t.x = (CmnLib.stageW - e.width) * 0.5, t.y = (CmnLib.stageH - e.height) * 0.5;
20209
20213
  }
20210
20214
  };
20211
- let Layer = _i;
20215
+ let Layer = mi;
20212
20216
  Mu = new WeakMap(), Du = new WeakMap(), it(Layer, Mu, {
20213
20217
  normal: BLEND_MODES$5.NORMAL,
20214
20218
  add: BLEND_MODES$5.ADD,
@@ -20220,10 +20224,10 @@ Mu = new WeakMap(), Du = new WeakMap(), it(Layer, Mu, {
20220
20224
  2: "multiply",
20221
20225
  3: "screen"
20222
20226
  });
20223
- var Ei;
20227
+ var xi;
20224
20228
  class EventListenerCtn {
20225
20229
  constructor() {
20226
- it(this, Ei, []);
20230
+ it(this, xi, []);
20227
20231
  }
20228
20232
  add(t, e, o, R = {}) {
20229
20233
  if (t instanceof BaseTexture) {
@@ -20232,25 +20236,25 @@ class EventListenerCtn {
20232
20236
  case "update":
20233
20237
  case "error":
20234
20238
  case "dispose":
20235
- t.on(e, o, R), z(this, Ei).push(() => t.off(e, o, R));
20239
+ t.on(e, o, R), z(this, xi).push(() => t.off(e, o, R));
20236
20240
  break;
20237
20241
  }
20238
20242
  return;
20239
20243
  }
20240
20244
  if (t instanceof EventEmitter$4) {
20241
- t.on(e, o, R), z(this, Ei).push(() => t.off(e, o, R));
20245
+ t.on(e, o, R), z(this, xi).push(() => t.off(e, o, R));
20242
20246
  return;
20243
20247
  }
20244
- t.addEventListener(e, o, R), z(this, Ei).push(() => {
20248
+ t.addEventListener(e, o, R), z(this, xi).push(() => {
20245
20249
  var N;
20246
20250
  return t.removeEventListener(e, o, { capture: (N = R.capture) != null ? N : !1 });
20247
20251
  });
20248
20252
  }
20249
20253
  clear() {
20250
- z(this, Ei).forEach((t) => t()), rt(this, Ei, []);
20254
+ z(this, xi).forEach((t) => t()), rt(this, xi, []);
20251
20255
  }
20252
20256
  }
20253
- Ei = new WeakMap();
20257
+ xi = new WeakMap();
20254
20258
  function prefixNames(n) {
20255
20259
  for (var t = [], e = 1; e < arguments.length; e++)
20256
20260
  t[e - 1] = arguments[e];
@@ -29697,22 +29701,22 @@ __privateAdd$2(DesignCast, _ID_DESIGNMODE, "DesignMode");
29697
29701
  __privateAdd$2(DesignCast, _cntDesignCast, 0);
29698
29702
  __privateAdd$2(DesignCast, _hId2dc, {});
29699
29703
  __privateAdd$2(DesignCast, _aDC, []);
29700
- var xi;
29704
+ var Ti;
29701
29705
  class GrpLayDesignCast extends DesignCast {
29702
29706
  constructor(e, o) {
29703
29707
  super("#29e", !0);
29704
- it(this, xi, void 0);
29708
+ it(this, Ti, void 0);
29705
29709
  this.spLay = e, this.gl = o, this.oldFn = () => {
29706
29710
  var R;
29707
29711
  return (R = this.hArg.fn) != null ? R : "";
29708
29712
  };
29709
29713
  }
29710
29714
  setSp(e) {
29711
- rt(this, xi, e);
29715
+ rt(this, Ti, e);
29712
29716
  }
29713
29717
  getRect() {
29714
29718
  var e, o, R, N;
29715
- return new Rectangle(this.spLay.x, this.spLay.y, (o = (e = z(this, xi)) == null ? void 0 : e.width) != null ? o : 0, (N = (R = z(this, xi)) == null ? void 0 : R.height) != null ? N : 0);
29719
+ return new Rectangle(this.spLay.x, this.spLay.y, (o = (e = z(this, Ti)) == null ? void 0 : e.width) != null ? o : 0, (N = (R = z(this, Ti)) == null ? void 0 : R.height) != null ? N : 0);
29716
29720
  }
29717
29721
  cnvPosArg(e, o) {
29718
29722
  return { left: e, top: o };
@@ -29724,7 +29728,7 @@ class GrpLayDesignCast extends DesignCast {
29724
29728
  this.spLay.x = e, this.spLay.y = o;
29725
29729
  }
29726
29730
  setSize(e, o) {
29727
- z(this, xi).width = e, z(this, xi).height = o;
29731
+ z(this, Ti).width = e, z(this, Ti).height = o;
29728
29732
  }
29729
29733
  setOther(e) {
29730
29734
  var o;
@@ -29735,7 +29739,7 @@ class GrpLayDesignCast extends DesignCast {
29735
29739
  this.spLay.pivot.copyFrom(this.pivot), this.spLay.scale.copyFrom(this.scale), this.spLay.angle = this.rotation;
29736
29740
  }
29737
29741
  }
29738
- xi = new WeakMap();
29742
+ Ti = new WeakMap();
29739
29743
  class TxtLayDesignCast extends DesignCast {
29740
29744
  constructor(t, e) {
29741
29745
  super("#29e", !0), this.spLay = t, this.ts = e, this.hDesignArg = {
@@ -30309,7 +30313,7 @@ __privateAdd$1(GrpLayer, _dec2cache, (n, t, e) => {
30309
30313
  GrpLayer.hFn2VElm = {};
30310
30314
  __privateAdd$1(GrpLayer, _hAEncImg, {});
30311
30315
  __privateAdd$1(GrpLayer, _hEncImgOUrl, {});
30312
- var vs, Va, an, se, Or, Zr, er, Ti, zt, Kr, mr, yr, gs, Zo, br, Nr, Xa, _s, Wa, Lu, fc, un, ms, ln, hn, cn, fn, ys, Fu, Jr, Ya, ph, Qr, qa, ti, Mr, Za, Ka, vh, Si, dn, Ja, gh, hr;
30316
+ var vs, Va, un, se, Nr, Zr, er, Si, zt, Kr, mr, yr, gs, Zo, br, Mr, Xa, _s, Wa, Lu, fc, ln, ms, hn, cn, fn, dn, ys, Fu, Jr, Ya, ph, Qr, qa, ti, Dr, Za, Ka, vh, Ci, pn, Ja, gh, hr;
30313
30317
  const Wt = class extends Container {
30314
30318
  constructor(e, o, R) {
30315
30319
  super();
@@ -30319,10 +30323,10 @@ const Wt = class extends Container {
30319
30323
  it(this, Ka);
30320
30324
  it(this, Ja);
30321
30325
  it(this, se, document.createElement("span"));
30322
- it(this, Or, new Container());
30326
+ it(this, Nr, new Container());
30323
30327
  it(this, Zr, new Graphics());
30324
30328
  it(this, er, new TxtLayDesignCast(this.spLay, this));
30325
- it(this, Ti, new TxtLayPadDesignCast(this));
30329
+ it(this, Si, new TxtLayPadDesignCast(this));
30326
30330
  it(this, zt, {
30327
30331
  fontsize: 24,
30328
30332
  $width: 0,
@@ -30336,26 +30340,26 @@ const Wt = class extends Container {
30336
30340
  it(this, mr, 0);
30337
30341
  it(this, yr, 0);
30338
30342
  it(this, br, 0);
30339
- it(this, Nr, !1);
30343
+ it(this, Mr, !1);
30340
30344
  it(this, Xa, 0);
30341
30345
  it(this, _s, 0);
30342
- it(this, un, void 0);
30346
+ it(this, ln, void 0);
30343
30347
  it(this, ms, []);
30344
- it(this, ln, []);
30345
- it(this, hn, 0);
30348
+ it(this, hn, []);
30349
+ it(this, cn, 0);
30346
30350
  it(this, Fu, /animation\-duration: (?<ms>\d+)ms;/);
30347
30351
  it(this, Jr, () => !1);
30348
30352
  it(this, Za, 0);
30349
- it(this, Si, "Quadratic.Out");
30350
- it(this, dn, "Quadratic.Out");
30353
+ it(this, Ci, "Quadratic.Out");
30354
+ it(this, pn, "Quadratic.Out");
30351
30355
  it(this, hr, void 0);
30352
- this.spLay = e, this.canFocus = o, this.sys = R, z(this, se).classList.add("sn_tx"), z(this, se).style.position = "absolute", z(Wt, Va).view.parentElement.appendChild(z(this, se)), this.addChild(z(this, Or)), this.addChild(z(this, Zr)), z(this, Zr).name = "grpDbgMasume", z(this, er).adopt(z(this, Ti));
30356
+ this.spLay = e, this.canFocus = o, this.sys = R, z(this, se).classList.add("sn_tx"), z(this, se).style.position = "absolute", z(Wt, Va).view.parentElement.appendChild(z(this, se)), this.addChild(z(this, Nr)), this.addChild(z(this, Zr)), z(this, Zr).name = "grpDbgMasume", z(this, er).adopt(z(this, Si));
30353
30357
  }
30354
30358
  static init(e, o) {
30355
- rt(Wt, vs, e), rt(Wt, Va, o), rt(Wt, cn, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), rt(Wt, fn, /[[({〈「『【〔“〝]/), rt(Wt, ys, /[─‥…]/);
30359
+ rt(Wt, vs, e), rt(Wt, Va, o), rt(Wt, fn, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), rt(Wt, dn, /[[({〈「『【〔“〝]/), rt(Wt, ys, /[─‥…]/);
30356
30360
  }
30357
30361
  static setEvtMng(e) {
30358
- rt(Wt, an, e);
30362
+ rt(Wt, un, e);
30359
30363
  }
30360
30364
  static destroy() {
30361
30365
  rt(Wt, Wa, {
@@ -30368,7 +30372,7 @@ const Wt = class extends Container {
30368
30372
  marginLeft: 0,
30369
30373
  marginRight: 0,
30370
30374
  marginTop: 0
30371
- }), rt(Wt, Qr, /* @__PURE__ */ Object.create(null)), rt(Wt, ti, /* @__PURE__ */ Object.create(null)), rt(Wt, Mr, new Container());
30375
+ }), rt(Wt, Qr, /* @__PURE__ */ Object.create(null)), rt(Wt, ti, /* @__PURE__ */ Object.create(null)), rt(Wt, Dr, new Container());
30372
30376
  }
30373
30377
  lay(e) {
30374
30378
  var R, N, M, D, L, B, $, U;
@@ -30388,7 +30392,7 @@ const Wt = class extends Container {
30388
30392
  !H.style.opacity && "alpha" in e && (o.opacity = String(this.spLay.alpha));
30389
30393
  } else
30390
30394
  "alpha" in e && (o.opacity = String(this.spLay.alpha));
30391
- if ("width" in e && (o.width = ((R = e.width) != null ? R : "0") + "px"), "height" in e && (o.height = ((N = e.height) != null ? N : "0") + "px"), "pl" in e && (o.paddingLeft = ((M = e.pl) != null ? M : "0") + "px"), "pr" in e && (o.paddingRight = ((D = e.pr) != null ? D : "0") + "px"), "pt" in e && (o.paddingTop = ((L = e.pt) != null ? L : "0") + "px"), "pb" in e && (o.paddingBottom = ((B = e.pb) != null ? B : "0") + "px"), "kinsoku_sol" in e && rt(Wt, cn, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && rt(Wt, fn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && rt(Wt, ys, new RegExp(`[${e.kinsoku_dns}]`)), ot(this, gs, Zo).call(this), z(this, er).sethArg(e), rt(this, br, this.spLay.position.x), o.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), o.display = this.spLay.visible ? "inline" : "none", o.textShadow = (U = ($ = e.filter) != null ? $ : o.textShadow) != null ? U : "", rt(this, Kr, argChk_Boolean(e, "break_fixed", z(this, Kr))), rt(this, mr, argChk_Num(e, "break_fixed_left", z(this, mr))), rt(this, yr, argChk_Num(e, "break_fixed_top", z(this, yr))), ":redraw" in e && z(this, hn) > 0) {
30395
+ if ("width" in e && (o.width = ((R = e.width) != null ? R : "0") + "px"), "height" in e && (o.height = ((N = e.height) != null ? N : "0") + "px"), "pl" in e && (o.paddingLeft = ((M = e.pl) != null ? M : "0") + "px"), "pr" in e && (o.paddingRight = ((D = e.pr) != null ? D : "0") + "px"), "pt" in e && (o.paddingTop = ((L = e.pt) != null ? L : "0") + "px"), "pb" in e && (o.paddingBottom = ((B = e.pb) != null ? B : "0") + "px"), "kinsoku_sol" in e && rt(Wt, fn, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && rt(Wt, dn, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && rt(Wt, ys, new RegExp(`[${e.kinsoku_dns}]`)), ot(this, gs, Zo).call(this), z(this, er).sethArg(e), rt(this, br, this.spLay.position.x), o.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), o.display = this.spLay.visible ? "inline" : "none", o.textShadow = (U = ($ = e.filter) != null ? $ : o.textShadow) != null ? U : "", rt(this, Kr, argChk_Boolean(e, "break_fixed", z(this, Kr))), rt(this, mr, argChk_Num(e, "break_fixed_left", z(this, mr))), rt(this, yr, argChk_Num(e, "break_fixed_top", z(this, yr))), ":redraw" in e && z(this, cn) > 0) {
30392
30396
  const H = [
30393
30397
  z(this, se).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
30394
30398
  `<span class='sn_ch' data-add='{"ch_in_style":"default"}'>\u3000</span>`
@@ -30398,10 +30402,10 @@ const Wt = class extends Container {
30398
30402
  }
30399
30403
  cvsResize() {
30400
30404
  const e = z(this, se).style;
30401
- e.left = `${this.sys.ofsLeft4elm + z(this, br) * 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})`, z(this, er).cvsResize(), z(this, Ti).cvsResize();
30405
+ e.left = `${this.sys.ofsLeft4elm + z(this, br) * 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})`, z(this, er).cvsResize(), z(this, Si).cvsResize();
30402
30406
  }
30403
30407
  get tategaki() {
30404
- return z(this, Nr);
30408
+ return z(this, Mr);
30405
30409
  }
30406
30410
  get infTL() {
30407
30411
  return z(this, zt);
@@ -30417,17 +30421,17 @@ const Wt = class extends Container {
30417
30421
  }
30418
30422
  goTxt(e) {
30419
30423
  var Y, q, Z, K, J, tt, Q, st;
30420
- z(Wt, Mr).visible = !1;
30421
- const o = z(this, ln).length;
30424
+ z(Wt, Dr).visible = !1;
30425
+ const o = z(this, hn).length;
30422
30426
  o === 0 ? (z(Wt, vs).oCfg.debug.masume && (CmnLib.debugLog && console.log(`\u{1F34C} masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${z(this, zt).pad_left} pr:${z(this, zt).pad_right} pt:${z(this, zt).pad_top} pb:${z(this, zt).pad_bottom} w:${z(this, zt).$width} h:${z(this, zt).$height}`), z(this, Zr).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-z(this, zt).pad_left, -z(this, zt).pad_top, z(this, zt).$width, z(this, zt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
30423
30427
  0,
30424
30428
  0,
30425
30429
  z(this, zt).$width - z(this, zt).pad_left - z(this, zt).pad_right,
30426
30430
  z(this, zt).$height - z(this, zt).pad_top - z(this, zt).pad_bottom
30427
- ).endFill()), z(this, se).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : z(this, se).insertAdjacentHTML("beforeend", e.slice(z(this, hn)).join("").replaceAll(/[\n\t]/g, "")), rt(this, hn, e.length);
30431
+ ).endFill()), z(this, se).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : z(this, se).insertAdjacentHTML("beforeend", e.slice(z(this, cn)).join("").replaceAll(/[\n\t]/g, "")), rt(this, cn, e.length);
30428
30432
  let R = 0, N = 2;
30429
30433
  do {
30430
- const et = rt(this, ln, ot(this, Ka, vh).call(this, z(this, se)));
30434
+ const et = rt(this, hn, ot(this, Ka, vh).call(this, z(this, se)));
30431
30435
  if (R = et.length, this.sys.cvsScale !== 1) {
30432
30436
  const at = this.sys.ofsPadLeft_Dom2PIXI + parseFloat(z(this, se).style.left) * (1 - this.sys.cvsScale), ct = this.sys.ofsPadTop_Dom2PIXI + parseFloat(z(this, se).style.top) * (1 - this.sys.cvsScale);
30433
30437
  for (let lt = 0; lt < R; ++lt) {
@@ -30452,14 +30456,14 @@ const Wt = class extends Container {
30452
30456
  if (z(Wt, ys).test(et[N - 1].ch) && et[N - 1].ch === at.ch)
30453
30457
  --N;
30454
30458
  else {
30455
- if (z(Wt, fn).test(et[N - 1].ch))
30459
+ if (z(Wt, dn).test(et[N - 1].ch))
30456
30460
  --N;
30457
- else if (z(Wt, cn).test(at.ch))
30458
- for (; N > 0 && z(Wt, cn).test(et[--N].ch); )
30461
+ else if (z(Wt, fn).test(at.ch))
30462
+ for (; N > 0 && z(Wt, fn).test(et[--N].ch); )
30459
30463
  ;
30460
30464
  else
30461
30465
  continue;
30462
- for (; N > 0 && z(Wt, fn).test(et[N - 1].ch); )
30466
+ for (; N > 0 && z(Wt, dn).test(et[N - 1].ch); )
30463
30467
  --N;
30464
30468
  }
30465
30469
  const dt = et[N].elm.parentElement, mt = document.createElement("br");
@@ -30477,13 +30481,13 @@ const Wt = class extends Container {
30477
30481
  }, D = z(Wt, vs).oCfg.debug.masume ? (et, nt) => {
30478
30482
  M(et, nt), z(this, Zr).beginFill(6737151, 0.5).lineStyle(2, 16724736, 1).drawRect(nt.x, nt.y, nt.width, nt.height).endFill();
30479
30483
  } : () => {
30480
- }, L = CmnTween.ease(z(this, Si)), B = z(this, se).getBoundingClientRect(), $ = B.left + globalThis.scrollX + z(this, zt).pad_left, U = B.top + globalThis.scrollY + z(this, zt).pad_top;
30484
+ }, L = CmnTween.ease(z(this, Ci)), B = z(this, se).getBoundingClientRect(), $ = B.left + globalThis.scrollX + z(this, zt).pad_left, U = B.top + globalThis.scrollY + z(this, zt).pad_top;
30481
30485
  let H = new Rectangle();
30482
30486
  for (let et = o; et < R; ++et) {
30483
- const nt = z(this, ln)[et], at = nt.rect, ct = JSON.parse((Z = nt.arg) != null ? Z : '{"delay": 0}'), lt = JSON.parse((K = nt.add) != null ? K : "{}"), dt = z(Wt, Qr)[lt.ch_in_style];
30484
- if (at.x -= $, at.y -= U, D(nt, at), dt && (z(this, Nr) ? (at.x += (at.width - at.height) / 2, at.width = at.height) : (at.y += (at.height - at.width) / 2, at.height = at.width), H = at), nt.cmd === "grp") {
30487
+ const nt = z(this, hn)[et], at = nt.rect, ct = JSON.parse((Z = nt.arg) != null ? Z : '{"delay": 0}'), lt = JSON.parse((K = nt.add) != null ? K : "{}"), dt = z(Wt, Qr)[lt.ch_in_style];
30488
+ if (at.x -= $, at.y -= U, D(nt, at), dt && (z(this, Mr) ? (at.x += (at.width - at.height) / 2, at.width = at.height) : (at.y += (at.height - at.width) / 2, at.height = at.width), H = at), nt.cmd === "grp") {
30485
30489
  const mt = new Container();
30486
- z(this, Or).addChild(mt), GrpLayer.csv2Sprites(ct.pic, mt, (vt) => {
30490
+ z(this, Nr).addChild(mt), GrpLayer.csv2Sprites(ct.pic, mt, (vt) => {
30487
30491
  ot(this, Ya, ph).call(this, mt, ct, lt, at, L, dt != null ? dt : {}), mt.parent || mt.removeChild(vt);
30488
30492
  });
30489
30493
  }
@@ -30495,20 +30499,20 @@ const Wt = class extends Container {
30495
30499
  const Tt = (tt = vt.style) != null ? tt : "", Ft = Tt + ((Q = vt.style_hover) != null ? Q : ""), bt = Tt + ((st = vt.style_clicked) != null ? st : ""), ft = mt.style.cssText, _t = (Pt) => {
30496
30500
  !Pt || (mt.style.cssText = ft + Pt);
30497
30501
  };
30498
- mt.querySelectorAll(".sn_ch").forEach((Pt) => Pt.dataset.st_bk = Pt.style.cssText), z(Wt, an).button(
30502
+ mt.querySelectorAll(".sn_ch").forEach((Pt) => Pt.dataset.st_bk = Pt.style.cssText), z(Wt, un).button(
30499
30503
  vt,
30500
30504
  gt,
30501
30505
  () => _t(Tt),
30502
30506
  () => this.canFocus() ? (_t(Ft), !0) : !1,
30503
30507
  () => _t(bt)
30504
- ), z(this, Or).addChild(gt);
30508
+ ), z(this, Nr).addChild(gt);
30505
30509
  }
30506
30510
  }
30507
30511
  const V = z(this, se).querySelectorAll("span.sn_ch");
30508
- V.forEach((et) => et.className = et.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), rt(this, Jr, () => (rt(this, Jr, () => !1), V.forEach((et) => et.className = et.className.replace(/ go_ch_in_[^\s"]+/g, "")), o !== R && (rt(this, mr, H.x + (z(this, Nr) ? 0 : H.width)), rt(this, yr, H.y + (z(this, Nr) ? H.height : 0))), z(Wt, Mr).position.set(
30512
+ V.forEach((et) => et.className = et.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1")), rt(this, Jr, () => (rt(this, Jr, () => !1), V.forEach((et) => et.className = et.className.replace(/ go_ch_in_[^\s"]+/g, "")), o !== R && (rt(this, mr, H.x + (z(this, Mr) ? 0 : H.width)), rt(this, yr, H.y + (z(this, Mr) ? H.height : 0))), z(Wt, Dr).position.set(
30509
30513
  z(this, mr),
30510
30514
  z(this, yr)
30511
- ), z(Wt, Mr).visible = !0, z(Wt, an).noticeCompTxt(), !0));
30515
+ ), z(Wt, Dr).visible = !0, z(Wt, un).noticeCompTxt(), !0));
30512
30516
  const W = V.length;
30513
30517
  if (W === 0) {
30514
30518
  z(this, Jr).call(this);
@@ -30600,20 +30604,20 @@ const Wt = class extends Container {
30600
30604
  };
30601
30605
  }
30602
30606
  dispBreak(e) {
30603
- const o = z(Wt, Mr);
30607
+ const o = z(Wt, Dr);
30604
30608
  o.visible = !1, this.addChild(o), GrpLayer.csv2Sprites(e, o, (R) => {
30605
30609
  o.parent || o.removeChild(R);
30606
30610
  });
30607
30611
  }
30608
30612
  static delBreak() {
30609
- const e = z(Wt, Mr);
30610
- e.parent && (e.parent.removeChild(e), e.removeChildren()), rt(Wt, Mr, new Container());
30613
+ const e = z(Wt, Dr);
30614
+ e.parent && (e.parent.removeChild(e), e.removeChildren()), rt(Wt, Dr, new Container());
30611
30615
  }
30612
30616
  reNew() {
30613
30617
  var o;
30614
30618
  ot(this, Ja, gh).call(this);
30615
30619
  const e = new Wt(this.spLay, () => this.canFocus(), this.sys);
30616
- return rt(e, zt, z(this, zt)), z(e, se).style.cssText = z(this, se).style.cssText, rt(e, br, z(this, br)), e.name = this.name, ot(o = e, gs, Zo).call(o), z(e, er).sethArg(z(this, er).gethArg()), rt(e, un, z(this, un)), rt(e, Si, z(this, Si)), rt(e, dn, z(this, dn)), rt(e, Kr, z(this, Kr)), rt(e, mr, z(this, mr)), rt(e, yr, z(this, yr)), this.destroy(), e;
30620
+ return rt(e, zt, z(this, zt)), z(e, se).style.cssText = z(this, se).style.cssText, rt(e, br, z(this, br)), e.name = this.name, ot(o = e, gs, Zo).call(o), z(e, er).sethArg(z(this, er).gethArg()), rt(e, ln, z(this, ln)), rt(e, Ci, z(this, Ci)), rt(e, pn, z(this, pn)), rt(e, Kr, z(this, Kr)), rt(e, mr, z(this, mr)), rt(e, yr, z(this, yr)), this.destroy(), e;
30617
30621
  }
30618
30622
  record() {
30619
30623
  return {
@@ -30621,9 +30625,9 @@ const Wt = class extends Container {
30621
30625
  cssText: z(this, se).style.cssText,
30622
30626
  left: z(this, br),
30623
30627
  idc_hArg: z(this, er).gethArg(),
30624
- ch_filter: z(this, un),
30625
- fi_easing: z(this, Si),
30626
- fo_easing: z(this, dn),
30628
+ ch_filter: z(this, ln),
30629
+ fi_easing: z(this, Ci),
30630
+ fo_easing: z(this, pn),
30627
30631
  break_fixed: z(this, Kr),
30628
30632
  break_fixed_left: z(this, mr),
30629
30633
  break_fixed_top: z(this, yr)
@@ -30631,23 +30635,23 @@ const Wt = class extends Container {
30631
30635
  }
30632
30636
  playback(e) {
30633
30637
  var o, R, N;
30634
- rt(this, zt, e.infTL), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), z(this, se).style.cssText = e.cssText, rt(this, br, e.left), ot(this, gs, Zo).call(this), z(this, er).sethArg(e.idc_hArg), rt(this, un, e.ch_filter), rt(this, Si, e.fi_easing), rt(this, dn, e.fo_easing), rt(this, Kr, (o = e.break_fixed) != null ? o : !1), rt(this, mr, (R = e.break_fixed_left) != null ? R : 0), rt(this, yr, (N = e.break_fixed_top) != null ? N : 0);
30638
+ rt(this, zt, e.infTL), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), z(this, se).style.cssText = e.cssText, rt(this, br, e.left), ot(this, gs, Zo).call(this), z(this, er).sethArg(e.idc_hArg), rt(this, ln, e.ch_filter), rt(this, Ci, e.fi_easing), rt(this, pn, e.fo_easing), rt(this, Kr, (o = e.break_fixed) != null ? o : !1), rt(this, mr, (R = e.break_fixed_left) != null ? R : 0), rt(this, yr, (N = e.break_fixed_top) != null ? N : 0);
30635
30639
  }
30636
30640
  snapshot(e, o) {
30637
30641
  ot(this, Lu, fc).call(this, (R) => {
30638
- rt(this, hr, new Sprite(R)), z(this, Nr) && (z(this, hr).x += CmnLib.stageW - (z(this, br) + z(this, zt).$width)), z(this, hr).y -= z(this, _s), z(this, hr).texture.frame = new Rectangle(0, 0, z(this, zt).$width - z(this, br), z(this, zt).$height), z(this, Or).addChild(z(this, hr)), e.render(z(this, hr), void 0, !1), o();
30642
+ rt(this, hr, new Sprite(R)), z(this, Mr) && (z(this, hr).x += CmnLib.stageW - (z(this, br) + z(this, zt).$width)), z(this, hr).y -= z(this, _s), z(this, hr).texture.frame = new Rectangle(0, 0, z(this, zt).$width - z(this, br), z(this, zt).$height), z(this, Nr).addChild(z(this, hr)), e.render(z(this, hr), void 0, !1), o();
30639
30643
  }, !1);
30640
30644
  }
30641
30645
  snapshot_end() {
30642
- z(this, hr) && (z(this, Or).removeChild(z(this, hr)), rt(this, hr, void 0));
30646
+ z(this, hr) && (z(this, Nr).removeChild(z(this, hr)), rt(this, hr, void 0));
30643
30647
  }
30644
30648
  makeDesignCast(e) {
30645
30649
  e(z(this, er));
30646
30650
  const o = z(this, er).gethArg();
30647
- z(this, Ti).sethArg({ ...o, ":id_dc": o[":id_tag"] + "_pad" }), e(z(this, Ti));
30651
+ z(this, Si).sethArg({ ...o, ":id_dc": o[":id_tag"] + "_pad" }), e(z(this, Si));
30648
30652
  }
30649
30653
  showDesignCast() {
30650
- z(this, er).visible = !0, z(this, Ti).visible = !0;
30654
+ z(this, er).visible = !0, z(this, Si).visible = !0;
30651
30655
  }
30652
30656
  dump() {
30653
30657
  const e = [], o = z(this, se).style, R = o.length;
@@ -30658,17 +30662,17 @@ const Wt = class extends Container {
30658
30662
  return `"txt":"${z(this, se).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
30659
30663
  }
30660
30664
  destroy() {
30661
- Wt.delBreak(), z(this, se).parentElement.removeChild(z(this, se)), this.removeChild(z(this, Or)), this.removeChild(z(this, Zr)), super.destroy();
30665
+ Wt.delBreak(), z(this, se).parentElement.removeChild(z(this, se)), this.removeChild(z(this, Nr)), this.removeChild(z(this, Zr)), super.destroy();
30662
30666
  }
30663
30667
  };
30664
30668
  let TxtStage = Wt;
30665
- vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(), Or = new WeakMap(), Zr = new WeakMap(), er = new WeakMap(), Ti = new WeakMap(), zt = new WeakMap(), Kr = new WeakMap(), mr = new WeakMap(), yr = new WeakMap(), gs = new WeakSet(), Zo = function() {
30669
+ vs = new WeakMap(), Va = new WeakMap(), un = new WeakMap(), se = new WeakMap(), Nr = new WeakMap(), Zr = new WeakMap(), er = new WeakMap(), Si = new WeakMap(), zt = new WeakMap(), Kr = new WeakMap(), mr = new WeakMap(), yr = new WeakMap(), gs = new WeakSet(), Zo = function() {
30666
30670
  var N;
30667
30671
  const e = z(this, se).style, o = parseFloat(e.fontSize || "0");
30668
- z(this, zt).fontsize = o, z(this, zt).pad_left = parseFloat(e.paddingLeft || "0"), z(this, zt).pad_right = parseFloat(e.paddingRight || "0"), z(this, zt).pad_top = parseFloat(e.paddingTop || "0"), z(this, zt).pad_bottom = parseFloat(e.paddingBottom || "0"), z(this, zt).$width = parseFloat(e.width || "0"), z(this, zt).$height = parseFloat(e.height || "0"), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), rt(this, Nr, e.writingMode === "vertical-rl"), rt(this, Xa, 0), rt(this, _s, 0);
30672
+ z(this, zt).fontsize = o, z(this, zt).pad_left = parseFloat(e.paddingLeft || "0"), z(this, zt).pad_right = parseFloat(e.paddingRight || "0"), z(this, zt).pad_top = parseFloat(e.paddingTop || "0"), z(this, zt).pad_bottom = parseFloat(e.paddingBottom || "0"), z(this, zt).$width = parseFloat(e.width || "0"), z(this, zt).$height = parseFloat(e.height || "0"), this.position.set(z(this, zt).pad_left, z(this, zt).pad_top), rt(this, Mr, e.writingMode === "vertical-rl"), rt(this, Xa, 0), rt(this, _s, 0);
30669
30673
  const R = (N = e.lineHeight) != null ? N : "0";
30670
- rt(this, Za, z(this, Nr) ? 0 : (R.slice(-2) === "px" ? parseFloat(R) : o * parseFloat(R) - o) / 2);
30671
- }, br = new WeakMap(), Nr = new WeakMap(), Xa = new WeakMap(), _s = new WeakMap(), Wa = new WeakMap(), Lu = new WeakSet(), fc = function(e, o = !0) {
30674
+ rt(this, Za, z(this, Mr) ? 0 : (R.slice(-2) === "px" ? parseFloat(R) : o * parseFloat(R) - o) / 2);
30675
+ }, br = new WeakMap(), Mr = new WeakMap(), Xa = new WeakMap(), _s = new WeakMap(), Wa = new WeakMap(), Lu = new WeakSet(), fc = function(e, o = !0) {
30672
30676
  const R = {
30673
30677
  escape: (Y) => Y.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
30674
30678
  mimeType: (Y) => {
@@ -30849,7 +30853,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30849
30853
  });
30850
30854
  });
30851
30855
  }).catch((Y) => DebugMng.myTrace(`goTxt() = ${Y}`));
30852
- }, un = new WeakMap(), ms = new WeakMap(), ln = new WeakMap(), hn = new WeakMap(), cn = new WeakMap(), fn = new WeakMap(), ys = new WeakMap(), Fu = new WeakMap(), Jr = new WeakMap(), Ya = new WeakSet(), ph = function(e, o, R, N, M, D) {
30856
+ }, ln = new WeakMap(), ms = new WeakMap(), hn = new WeakMap(), cn = new WeakMap(), fn = new WeakMap(), dn = new WeakMap(), ys = new WeakMap(), Fu = new WeakMap(), Jr = new WeakMap(), Ya = new WeakSet(), ph = function(e, o, R, N, M, D) {
30853
30857
  var B, $, U;
30854
30858
  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(
30855
30859
  D.x.charAt(0) === "=" ? N.x + e.width * D.nx : D.nx,
@@ -30862,7 +30866,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30862
30866
  }).start()
30863
30867
  };
30864
30868
  z(this, ms).push(L);
30865
- }, Qr = new WeakMap(), qa = new WeakMap(), ti = new WeakMap(), Mr = new WeakMap(), Za = new WeakMap(), Ka = new WeakSet(), vh = function(e) {
30869
+ }, Qr = new WeakMap(), qa = new WeakMap(), ti = new WeakMap(), Dr = new WeakMap(), Za = new WeakMap(), Ka = new WeakSet(), vh = function(e) {
30866
30870
  const o = [];
30867
30871
  if (e.nodeType !== e.TEXT_NODE)
30868
30872
  return e.childNodes.forEach((D) => o.push(ot(this, Ka, vh).call(this, D))), o.flat();
@@ -30892,9 +30896,9 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30892
30896
  o.push($);
30893
30897
  }
30894
30898
  return R.detach(), o;
30895
- }, Si = new WeakMap(), dn = new WeakMap(), Ja = new WeakSet(), gh = function() {
30899
+ }, Ci = new WeakMap(), pn = new WeakMap(), Ja = new WeakSet(), gh = function() {
30896
30900
  var M;
30897
- z(this, Zr).clear(), rt(this, ln, []), rt(this, hn, 0), this.skipChIn();
30901
+ z(this, Zr).clear(), rt(this, hn, []), rt(this, cn, 0), this.skipChIn();
30898
30902
  const e = z(this, se).cloneNode(!0);
30899
30903
  e.textContent = "";
30900
30904
  const o = z(this, se);
@@ -30917,12 +30921,12 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30917
30921
  }
30918
30922
  });
30919
30923
  const N = () => {
30920
- o.parentElement.removeChild(o), z(this, Or).removeChildren().forEach((D) => {
30921
- D instanceof Container && z(Wt, an).unButton(D), D.destroy();
30924
+ o.parentElement.removeChild(o), z(this, Nr).removeChildren().forEach((D) => {
30925
+ D instanceof Container && z(Wt, un).unButton(D), D.destroy();
30922
30926
  });
30923
30927
  };
30924
30928
  R === 0 ? (z(this, se).textContent = "", N()) : (M = o.lastElementChild) == null || M.addEventListener("animationend", N, { once: !0, passive: !0 }), rt(this, se, e);
30925
- }, hr = new WeakMap(), it(TxtStage, vs, void 0), it(TxtStage, Va, void 0), it(TxtStage, an, void 0), it(TxtStage, Wa, {
30929
+ }, hr = new WeakMap(), it(TxtStage, vs, void 0), it(TxtStage, Va, void 0), it(TxtStage, un, void 0), it(TxtStage, Wa, {
30926
30930
  backgroundColor: 0,
30927
30931
  borderBottomWidth: 0,
30928
30932
  borderLeftWidth: 0,
@@ -30932,7 +30936,7 @@ vs = new WeakMap(), Va = new WeakMap(), an = new WeakMap(), se = new WeakMap(),
30932
30936
  marginLeft: 0,
30933
30937
  marginRight: 0,
30934
30938
  marginTop: 0
30935
- }), it(TxtStage, cn, void 0), it(TxtStage, fn, void 0), it(TxtStage, ys, void 0), it(TxtStage, Qr, /* @__PURE__ */ Object.create(null)), it(TxtStage, qa, /[\s\.,]/), it(TxtStage, ti, /* @__PURE__ */ Object.create(null)), it(TxtStage, Mr, new Container());
30939
+ }), it(TxtStage, fn, void 0), it(TxtStage, dn, void 0), it(TxtStage, ys, void 0), it(TxtStage, Qr, /* @__PURE__ */ Object.create(null)), it(TxtStage, qa, /[\s\.,]/), it(TxtStage, ti, /* @__PURE__ */ Object.create(null)), it(TxtStage, Dr, new Container());
30936
30940
  var __accessCheck = (n, t, e) => {
30937
30941
  if (!t.has(n))
30938
30942
  throw TypeError("Cannot " + e);
@@ -31109,7 +31113,7 @@ __privateAdd(Button, _procMasume4txt, (n, t) => {
31109
31113
  });
31110
31114
  __privateAdd(Button, _procMasume4pic, (n, t, e, o) => {
31111
31115
  });
31112
- var bs, Er, Es, Qa, to, _h, eo, mh, ro, pn, io, ei, vn, Bu, dc, Dr, rr, cr, he, xr, ie, xs, Ge, Ts, Ko, Tr, gn, Ss, Jo, Lr, no, yh, so, bh, Ci, _n, mn, Cs, Is, ri, ir, $u, pc, We, ws, Rs, Qo, Ii, Xn, Fr, nr, sr, Br, Ps, tu, wi, Wn, Ri;
31116
+ var bs, Er, Es, Qa, to, _h, eo, mh, ro, vn, io, ei, gn, Bu, dc, Lr, rr, cr, he, xr, ie, xs, Ge, Ts, Ko, Tr, _n, Ss, Jo, Fr, no, yh, so, bh, Ii, mn, yn, Cs, Is, ri, ir, $u, pc, We, ws, Rs, Qo, ii, Yi, Br, nr, sr, $r, Ps, tu, wi, Wn, Ri;
31113
31117
  const qt = class extends Layer {
31114
31118
  constructor() {
31115
31119
  super();
@@ -31119,10 +31123,10 @@ const qt = class extends Layer {
31119
31123
  it(this, so);
31120
31124
  it(this, $u);
31121
31125
  it(this, Rs);
31122
- it(this, Ii);
31126
+ it(this, ii);
31123
31127
  it(this, Ps);
31124
31128
  it(this, wi);
31125
- it(this, Dr, void 0);
31129
+ it(this, Lr, void 0);
31126
31130
  it(this, rr, void 0);
31127
31131
  it(this, cr, void 0);
31128
31132
  it(this, he, void 0);
@@ -31131,22 +31135,22 @@ const qt = class extends Layer {
31131
31135
  it(this, xs, void 0);
31132
31136
  it(this, Ge, void 0);
31133
31137
  it(this, Tr, void 0);
31134
- it(this, gn, void 0);
31135
- it(this, Lr, void 0);
31136
- it(this, Ci, void 0);
31137
31138
  it(this, _n, void 0);
31139
+ it(this, Fr, void 0);
31140
+ it(this, Ii, void 0);
31138
31141
  it(this, mn, void 0);
31142
+ it(this, yn, void 0);
31139
31143
  it(this, Cs, void 0);
31140
31144
  it(this, ri, void 0);
31141
31145
  it(this, ir, void 0);
31142
31146
  it(this, We, void 0);
31143
31147
  it(this, ws, void 0);
31144
- it(this, Fr, void 0);
31148
+ it(this, Br, void 0);
31145
31149
  it(this, nr, void 0);
31146
31150
  it(this, sr, void 0);
31147
- it(this, Br, void 0);
31151
+ it(this, $r, void 0);
31148
31152
  it(this, Ri, void 0);
31149
- rt(this, Dr, 0), rt(this, rr, 0), rt(this, cr, !1), rt(this, he, void 0), rt(this, xr, ""), rt(this, ie, new TxtStage(this.spLay, () => this.canFocus(), z(qt, io))), rt(this, xs, new RubySpliter()), rt(this, Ge, new Container()), rt(this, Tr, ""), rt(this, gn, !0), rt(this, Lr, ""), rt(this, Ci, ""), rt(this, _n, (o) => ""), rt(this, mn, ""), rt(this, Cs, new RegExp("[\u3000]")), this.isCur = !1, rt(this, ri, () => ""), rt(this, ir, ""), rt(this, We, !1), rt(this, ws, (o, R) => {
31153
+ rt(this, Lr, 0), rt(this, rr, 0), rt(this, cr, !1), rt(this, he, void 0), rt(this, xr, ""), rt(this, ie, new TxtStage(this.spLay, () => this.canFocus(), z(qt, io))), rt(this, xs, new RubySpliter()), rt(this, Ge, new Container()), rt(this, Tr, ""), rt(this, _n, !0), rt(this, Fr, ""), rt(this, Ii, ""), rt(this, mn, (o) => ""), rt(this, yn, ""), rt(this, Cs, new RegExp("[\u3000]")), this.isCur = !1, rt(this, ri, () => ""), rt(this, ir, ""), rt(this, We, !1), rt(this, ws, (o, R) => {
31150
31154
  var B, $, U, H, V, W, X, Y, q, Z;
31151
31155
  z(qt, bs).oCfg.debug.putCh && console.log(`\u{1F58A} \u6587\u5B57\u8868\u793A text:\`${o}\` ruby:\`${R}\` name:\`${this.name_}\``);
31152
31156
  const N = R.split("\uFF5C");
@@ -31174,12 +31178,12 @@ const qt = class extends Layer {
31174
31178
  rt(this, nr, !1), rt(this, We, !0), M = ot(this, Rs, Qo).call(this, o, L, D);
31175
31179
  break;
31176
31180
  case "gotxt":
31177
- ot(this, wi, Wn).call(this), this.isCur && z(B = qt, Es).call(B, z(this, sr).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("`", "\\`")), z(this, We) ? (z(this, ie).goTxt(z(this, sr)), rt(this, We, !1), rt(this, Fr, 0)) : this.isCur && z(qt, pn).noticeCompTxt();
31181
+ ot(this, wi, Wn).call(this), this.isCur && z(B = qt, Es).call(B, z(this, sr).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("`", "\\`")), z(this, We) ? (z(this, ie).goTxt(z(this, sr)), rt(this, We, !1), rt(this, Br, 0)) : this.isCur && z(qt, vn).noticeCompTxt();
31178
31182
  return;
31179
31183
  case "add":
31180
31184
  {
31181
- const K = JSON.parse(L), { cl: J, sty: tt } = ot(this, Ii, Xn).call(this, !0, K.wait);
31182
- z(this, sr).push(`<span${J} style='display: inline;${(U = ($ = z(this, Br).at(-1)) == null ? void 0 : $.o.style) != null ? U : ""}${(H = K.style) != null ? H : ""}${tt}'>`), delete K.style, ot(this, Ps, tu).call(this, K);
31185
+ const K = JSON.parse(L), { cl: J, sty: tt } = ot(this, ii, Yi).call(this, !0, K.wait);
31186
+ z(this, sr).push(`<span${J} style='display: inline;${(U = ($ = z(this, $r).at(-1)) == null ? void 0 : $.o.style) != null ? U : ""}${(H = K.style) != null ? H : ""}${tt}'>`), delete K.style, ot(this, Ps, tu).call(this, K);
31183
31187
  }
31184
31188
  return;
31185
31189
  case "add_close":
@@ -31189,24 +31193,24 @@ const qt = class extends Layer {
31189
31193
  rt(this, We, !0);
31190
31194
  {
31191
31195
  const K = JSON.parse(L);
31192
- if (K.delay = z(this, Fr), (V = K.id) != null || (K.id = z(this, sr).length), K.id === "break") {
31196
+ if (K.delay = z(this, Br), (V = K.id) != null || (K.id = z(this, sr).length), K.id === "break") {
31193
31197
  z(this, ie).dispBreak(K.pic);
31194
31198
  return;
31195
31199
  }
31196
31200
  (W = K.style) != null || (K.style = "");
31197
- const { cl: J, sty: tt, lnk: Q } = ot(this, Ii, Xn).call(this, !0, K.wait);
31198
- M = `<span data-cmd='grp' data-id='${K.id}'${J} style='${tt} ${(X = K.style) != null ? X : ""}'${Q} data-arg='${JSON.stringify(K)}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Lr)}"}'>\u3000</span>`, z(this, nr) && (rt(this, nr, !1), M = `<ruby>${M}<rt>\u3000</rt></ruby>`);
31201
+ const { cl: J, sty: tt, lnk: Q } = ot(this, ii, Yi).call(this, !0, K.wait);
31202
+ M = `<span data-cmd='grp' data-id='${K.id}'${J} style='${tt} ${(X = K.style) != null ? X : ""}'${Q} data-arg='${JSON.stringify(K)}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'>\u3000</span>`, z(this, nr) && (rt(this, nr, !1), M = `<ruby>${M}<rt>\u3000</rt></ruby>`);
31199
31203
  }
31200
31204
  break;
31201
31205
  case "tcy":
31202
31206
  rt(this, nr, !1), rt(this, We, !0);
31203
31207
  {
31204
31208
  z(qt, Er).doRecLog() && rt(this, Ri, z(this, Ri) + (o + (R ? `\u300A${R}\u300B` : "")));
31205
- const K = JSON.parse(L), { t: J, r: tt = "" } = K, Q = CmnLib.isSafari ? tt.replace(/[A-Za-z0-9]/g, (ct) => String.fromCharCode(ct.charCodeAt(0) + 65248)) : tt, st = this.mkStyle_r_align(J, Q, z(this, ir)), { cl: et, sty: nt, lnk: at } = ot(this, Ii, Xn).call(this, !0, K.wait);
31206
- M = `<span${et} style='${nt}${z(this, _n).call(this, J)} ${(Y = K.style) != null ? Y : ""}'${at}><ruby><span style='
31209
+ const K = JSON.parse(L), { t: J, r: tt = "" } = K, Q = CmnLib.isSafari ? tt.replace(/[A-Za-z0-9]/g, (ct) => String.fromCharCode(ct.charCodeAt(0) + 65248)) : tt, st = this.mkStyle_r_align(J, Q, z(this, ir)), { cl: et, sty: nt, lnk: at } = ot(this, ii, Yi).call(this, !0, K.wait);
31210
+ M = `<span${et} style='${nt}${z(this, mn).call(this, J)} ${(Y = K.style) != null ? Y : ""}'${at}><ruby><span style='
31207
31211
  text-combine-upright: all;
31208
31212
  -webkit-text-combine: horizontal;
31209
- ' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Lr)}"}'>${J}</span>
31213
+ ' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'>${J}</span>
31210
31214
  <rt${st}>${Q}</rt></ruby></span>`;
31211
31215
  }
31212
31216
  break;
@@ -31225,8 +31229,8 @@ text-combine-upright: all;
31225
31229
  {
31226
31230
  const K = JSON.parse(L);
31227
31231
  K[":link"] = " data-lnk='@'";
31228
- const { cl: J, sty: tt } = ot(this, Ii, Xn).call(this, !1, K.wait);
31229
- z(this, sr).push(`<span data-arg='${L}'${J} style='display: inline; ${tt} ${(q = K.style) != null ? q : ""}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Lr)}"}'}>`), delete K.style, ot(this, Ps, tu).call(this, K);
31232
+ const { cl: J, sty: tt } = ot(this, ii, Yi).call(this, !1, K.wait);
31233
+ z(this, sr).push(`<span data-arg='${L}'${J} style='display: inline; ${tt} ${(q = K.style) != null ? q : ""}' data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'}>`), delete K.style, ot(this, Ps, tu).call(this, K);
31230
31234
  }
31231
31235
  return;
31232
31236
  case "endlink":
@@ -31238,9 +31242,9 @@ text-combine-upright: all;
31238
31242
  break;
31239
31243
  }
31240
31244
  z(this, sr).push(z(Z = qt, Is).call(Z, M));
31241
- }), rt(this, Fr, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, Br, []), this.click = () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : z(this, ie).skipChIn(), rt(this, Ri, ""), this.addButton = (o) => new Promise((R) => {
31245
+ }), rt(this, Br, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, $r, []), this.click = () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : z(this, ie).skipChIn(), rt(this, Ri, ""), this.addButton = (o) => new Promise((R) => {
31242
31246
  o.key = `btn=[${z(this, Ge).children.length}] ` + this.name_, o[":id_tag"] = o.key.slice(0, -7), argChk_Boolean(o, "hint_tate", z(this, ie).tategaki);
31243
- const N = new Button(o, z(qt, pn), () => R(), () => this.canFocus());
31247
+ const N = new Button(o, z(qt, vn), () => R(), () => this.canFocus());
31244
31248
  N.name = JSON.stringify(o).replaceAll('"', "'"), z(this, Ge).addChild(N);
31245
31249
  }), this.record = () => ({
31246
31250
  ...super.record(),
@@ -31248,12 +31252,12 @@ text-combine-upright: all;
31248
31252
  r_align: z(this, ir),
31249
31253
  b_do: z(this, he) === void 0 ? void 0 : z(this, he) instanceof Sprite ? "Sprite" : "Graphics",
31250
31254
  b_pic: z(this, xr),
31251
- b_color: z(this, Dr),
31255
+ b_color: z(this, Lr),
31252
31256
  b_alpha: z(this, rr),
31253
31257
  b_alpha_isfixed: z(this, cr),
31254
- ffs: z(this, Ci),
31258
+ ffs: z(this, Ii),
31255
31259
  txs: z(this, ie).record(),
31256
- strNoFFS: z(this, mn),
31260
+ strNoFFS: z(this, yn),
31257
31261
  btns: z(this, Ge).children.map((o) => o.name)
31258
31262
  }), this.spLay.addChild(z(this, ie)), z(this, xs).init(z(this, ws)), this.spLay.addChild(z(this, Ge)), z(this, Ge).name = "cntBtn";
31259
31263
  const e = 16;
@@ -31316,13 +31320,13 @@ text-combine-upright: all;
31316
31320
  });
31317
31321
  }
31318
31322
  static setEvtMng(e, o, R) {
31319
- rt(qt, ro, e), rt(qt, pn, o), rt(qt, io, R), TxtStage.setEvtMng(o);
31323
+ rt(qt, ro, e), rt(qt, vn, o), rt(qt, io, R), TxtStage.setEvtMng(o);
31320
31324
  }
31321
31325
  destroy() {
31322
31326
  z(this, he) && (this.spLay.removeChild(z(this, he)).destroy(), rt(this, he, void 0)), this.clearText(), z(this, ie).destroy();
31323
31327
  }
31324
31328
  static destroy() {
31325
- rt(qt, ei, !1), rt(qt, vn, {}), rt(qt, Is, (e) => e);
31329
+ rt(qt, ei, !1), rt(qt, gn, {}), rt(qt, Is, (e) => e);
31326
31330
  }
31327
31331
  set name(e) {
31328
31332
  this.name_ = e, z(this, ie).name = e;
@@ -31351,7 +31355,7 @@ text-combine-upright: all;
31351
31355
  chgBackAlpha(e) {
31352
31356
  const o = z(this, cr) ? z(this, rr) : e * z(this, rr);
31353
31357
  z(this, he) instanceof Graphics && (z(this, he) && (this.spLay.removeChild(z(this, he)), z(this, he).destroy()), this.spLay.addChildAt(
31354
- rt(this, he, new Graphics()).beginFill(z(this, Dr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
31358
+ rt(this, he, new Graphics()).beginFill(z(this, Lr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
31355
31359
  0
31356
31360
  ), z(this, he).name = "back(color)"), z(this, he) && (z(this, he).visible = o > 0, z(this, he).alpha = o);
31357
31361
  }
@@ -31388,7 +31392,7 @@ text-combine-upright: all;
31388
31392
  }
31389
31393
  clearText() {
31390
31394
  var e;
31391
- this.spLay.addChild(rt(this, ie, z(this, ie).reNew())), rt(this, Fr, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, Ri, ""), z(e = qt, Es).call(e, "", !0);
31395
+ this.spLay.addChild(rt(this, ie, z(this, ie).reNew())), rt(this, Br, 0), rt(this, nr, !0), rt(this, sr, []), rt(this, Ri, ""), z(e = qt, Es).call(e, "", !0);
31392
31396
  }
31393
31397
  get pageText() {
31394
31398
  return z(this, Ri).replace("\u300A\u3000\u300B", "");
@@ -31435,7 +31439,7 @@ text-combine-upright: all;
31435
31439
  z(this, Ge).children.forEach((e) => e.showDesignCast());
31436
31440
  }
31437
31441
  dump() {
31438
- return z(this, ws).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${z(this, ie).dump()}, "b_pic":"${z(this, xr)}", "b_color":"${z(this, Dr)}", "b_alpha":${z(this, rr)}, "b_alpha_isfixed":"${z(this, cr)}", "width":${z(this, ie).getWidth}, "height":${z(this, ie).getHeight}, "pixi_obj":[${this.spLay.children.map((e) => `{"class":"${e instanceof Sprite ? "Sprite" : e instanceof Graphics ? "Graphics" : e instanceof Container ? "Container" : "?"}", "name":"${e.name}", "alpha":${e.alpha}, "x":${e.x}, "y":${e.y}, "visible":"${e.visible}"}`).join(",")}], "button":[${z(this, Ge).children.map((e) => {
31442
+ return z(this, ws).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${z(this, ie).dump()}, "b_pic":"${z(this, xr)}", "b_color":"${z(this, Lr)}", "b_alpha":${z(this, rr)}, "b_alpha_isfixed":"${z(this, cr)}", "width":${z(this, ie).getWidth}, "height":${z(this, ie).getHeight}, "pixi_obj":[${this.spLay.children.map((e) => `{"class":"${e instanceof Sprite ? "Sprite" : e instanceof Graphics ? "Graphics" : e instanceof Container ? "Container" : "?"}", "name":"${e.name}", "alpha":${e.alpha}, "x":${e.x}, "y":${e.y}, "visible":"${e.visible}"}`).join(",")}], "button":[${z(this, Ge).children.map((e) => {
31439
31443
  var o;
31440
31444
  return (o = e.children[0].name) != null ? o : "{}";
31441
31445
  }).join(",")}]`;
@@ -31474,7 +31478,7 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31474
31478
  transform: rotate(${o.rotate}deg) scale(${o.scale_x}, ${o.scale_y}) translate(${R}, ${N});
31475
31479
  }
31476
31480
  `), !1;
31477
- }, ro = new WeakMap(), pn = new WeakMap(), io = new WeakMap(), ei = new WeakMap(), vn = new WeakMap(), Bu = new WeakSet(), dc = function(e) {
31481
+ }, ro = new WeakMap(), vn = new WeakMap(), io = new WeakMap(), ei = new WeakMap(), gn = new WeakMap(), Bu = new WeakSet(), dc = function(e) {
31478
31482
  rt(qt, ei, argChk_Boolean(e, "enabled", z(qt, ei))), z(qt, Er).setVal_Nochk("save", "const.sn.autowc.enabled", z(qt, ei));
31479
31483
  const { text: o } = e;
31480
31484
  if ("text" in e != "time" in e)
@@ -31487,25 +31491,25 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31487
31491
  const N = String(e.time).split(",");
31488
31492
  if (N.length !== R)
31489
31493
  throw "[autowc] text\u6587\u5B57\u6570\u3068time\u306B\u8A18\u8FF0\u3055\u308C\u305F\u5F85\u3061\u6642\u9593\uFF08\u30B3\u30F3\u30DE\u533A\u5207\u308A\uFF09\u306F\u540C\u6570\u306B\u3057\u3066\u4E0B\u3055\u3044";
31490
- return rt(qt, vn, {}), N.forEach((M, D) => z(qt, vn)[o[D]] = uint(M)), z(qt, Er).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
31491
- }, Dr = new WeakMap(), rr = new WeakMap(), cr = new WeakMap(), he = new WeakMap(), xr = new WeakMap(), ie = new WeakMap(), xs = new WeakMap(), Ge = new WeakMap(), Ts = new WeakSet(), Ko = function(e) {
31494
+ return rt(qt, gn, {}), N.forEach((M, D) => z(qt, gn)[o[D]] = uint(M)), z(qt, Er).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
31495
+ }, Lr = new WeakMap(), rr = new WeakMap(), cr = new WeakMap(), he = new WeakMap(), xr = new WeakMap(), ie = new WeakMap(), xs = new WeakMap(), Ge = new WeakMap(), Ts = new WeakSet(), Ko = function(e) {
31492
31496
  const { in_style: o } = e;
31493
31497
  if (!o)
31494
31498
  return;
31495
31499
  const R = TxtStage.getChInStyle(o);
31496
31500
  if (!R)
31497
31501
  throw `\u5B58\u5728\u3057\u306A\u3044in_style\u3010${o}\u3011\u3067\u3059`;
31498
- rt(this, Tr, o), rt(this, gn, R.join);
31499
- }, Tr = new WeakMap(), gn = new WeakMap(), Ss = new WeakSet(), Jo = function(e) {
31502
+ rt(this, Tr, o), rt(this, _n, R.join);
31503
+ }, Tr = new WeakMap(), _n = new WeakMap(), Ss = new WeakSet(), Jo = function(e) {
31500
31504
  const { out_style: o } = e;
31501
31505
  if (!o)
31502
31506
  return;
31503
31507
  if (!TxtStage.getChOutStyle(o))
31504
31508
  throw `\u5B58\u5728\u3057\u306A\u3044out_style\u3010${o}\u3011\u3067\u3059`;
31505
- rt(this, Lr, o);
31506
- }, Lr = new WeakMap(), no = new WeakSet(), yh = function(e, o) {
31509
+ rt(this, Fr, o);
31510
+ }, Fr = new WeakMap(), no = new WeakSet(), yh = function(e, o) {
31507
31511
  if ("back_clear" in e)
31508
- return argChk_Boolean(e, "back_clear", !1) && (rt(this, Dr, 0), rt(this, rr, 0), rt(this, cr, !1), rt(this, xr, "")), o(!1), !1;
31512
+ return argChk_Boolean(e, "back_clear", !1) && (rt(this, Lr, 0), rt(this, rr, 0), rt(this, cr, !1), rt(this, xr, "")), o(!1), !1;
31509
31513
  rt(this, rr, argChk_Num(e, "b_alpha", z(this, rr))), rt(this, cr, argChk_Boolean(e, "b_alpha_isfixed", z(this, cr)));
31510
31514
  const R = (z(this, cr) ? 1 : Number(z(qt, Er).getVal("sys:TextLayer.Back.Alpha"))) * z(this, rr);
31511
31515
  if (e.b_pic) {
@@ -31514,15 +31518,15 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31514
31518
  rt(this, he, N), N.name = "back(pic)", N.visible = R > 0, N.alpha = R, z(this, ie).setSize(N.width, N.height), this.spLay.setChildIndex(N, 0), o(!0);
31515
31519
  });
31516
31520
  } else
31517
- "b_color" in e && (rt(this, Dr, argChk_Color(e, "b_color", 0)), z(this, he) && (this.spLay.removeChild(z(this, he)), z(this, he).destroy()), rt(this, xr, ""), this.spLay.addChildAt(
31518
- rt(this, he, new Graphics()).beginFill(z(this, Dr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
31521
+ "b_color" in e && (rt(this, Lr, argChk_Color(e, "b_color", 0)), z(this, he) && (this.spLay.removeChild(z(this, he)), z(this, he).destroy()), rt(this, xr, ""), this.spLay.addChildAt(
31522
+ rt(this, he, new Graphics()).beginFill(z(this, Lr)).lineStyle(void 0).drawRect(0, 0, z(this, ie).getWidth, z(this, ie).getHeight).endFill(),
31519
31523
  0
31520
31524
  ), z(this, he).name = "back(color)");
31521
31525
  return z(this, he) && (z(this, he).visible = R > 0, z(this, he).alpha = R), o(!1), !1;
31522
31526
  }, so = new WeakSet(), bh = function(e) {
31523
31527
  var o, R;
31524
- "noffs" in e && (rt(this, mn, (o = e.noffs) != null ? o : ""), rt(this, Cs, new RegExp(`[\u3000${z(this, mn)}]`))), "ffs" in e && ((R = z(this, Ci)) != null || rt(this, Ci, ""), rt(this, _n, z(this, Ci) === "" ? () => "" : (N) => z(this, Cs).test(N) ? "" : ` font-feature-settings: ${z(this, Ci)};`));
31525
- }, Ci = new WeakMap(), _n = new WeakMap(), mn = new WeakMap(), Cs = new WeakMap(), Is = new WeakMap(), ri = new WeakMap(), ir = new WeakMap(), $u = new WeakSet(), pc = function(e, o, R) {
31528
+ "noffs" in e && (rt(this, yn, (o = e.noffs) != null ? o : ""), rt(this, Cs, new RegExp(`[\u3000${z(this, yn)}]`))), "ffs" in e && ((R = z(this, Ii)) != null || rt(this, Ii, ""), rt(this, mn, z(this, Ii) === "" ? () => "" : (N) => z(this, Cs).test(N) ? "" : ` font-feature-settings: ${z(this, Ii)};`));
31529
+ }, Ii = new WeakMap(), mn = new WeakMap(), yn = new WeakMap(), Cs = new WeakMap(), Is = new WeakMap(), ri = new WeakMap(), ir = new WeakMap(), $u = new WeakSet(), pc = function(e, o, R) {
31526
31530
  if (!R)
31527
31531
  return "";
31528
31532
  const N = e.length * 2;
@@ -31557,30 +31561,31 @@ bs = new WeakMap(), Er = new WeakMap(), Es = new WeakMap(), Qa = new WeakMap(),
31557
31561
  }
31558
31562
  return ` style='${M}'`;
31559
31563
  }, We = new WeakMap(), ws = new WeakMap(), Rs = new WeakSet(), Qo = function(e, o, R) {
31560
- e === " " && (e = "&nbsp;"), z(qt, Er).doRecLog() && rt(this, Ri, z(this, Ri) + (e + (o ? `\u300A${o}\u300B` : "")));
31561
- const { cl: N, sty: M, lnk: D } = ot(this, Ii, Xn).call(this, !0, null, e), L = `${D} data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Lr)}"}'`;
31562
- return `<span${N} style='${M}${z(this, _n).call(this, e)}'${o ? "" : L}>${o ? `<ruby${L}>${e}<rt${this.mkStyle_r_align(e, o, R)}>${o}</rt></ruby>` : e}</span>`;
31563
- }, Ii = new WeakSet(), Xn = function(e, o, R = `
31564
+ const N = e === " " ? "&nbsp;" : e;
31565
+ z(qt, Er).doRecLog() && rt(this, Ri, z(this, Ri) + (N + (o ? `\u300A${o}\u300B` : "")));
31566
+ const { cl: M, sty: D, lnk: L } = ot(this, ii, Yi).call(this, !0, null, e), B = `${L} data-add='{"ch_in_style":"${z(this, Tr)}", "ch_out_style":"${z(this, Fr)}"}'`;
31567
+ return `<span${M} style='${z(this, mn).call(this, e)}${D}'${o ? `><ruby${B}>${Array.from(e).map(($, U) => `<span${M} style='${U > 0 ? ot(this, ii, Yi).call(this, !0, null, e).sty : D} display: inline;'>${$ === " " ? "&nbsp;" : $}</span>`).join("")}<rt${this.mkStyle_r_align(e, o, R)}>${o}</rt></ruby>` : `${B}>${N}`}</span>`;
31568
+ }, ii = new WeakSet(), Yi = function(e, o, R = `
31564
31569
  `) {
31565
31570
  var M, D, L, B, $, U, H, V;
31566
- const N = z(this, gn) ? (L = o != null ? o : (M = z(this, Br).at(0)) == null ? void 0 : M.o.wait) != null ? L : z(qt, ei) ? (D = z(qt, vn)[R.charAt(0)]) != null ? D : 0 : LayerMng.msecChWait : 0;
31567
- return z(qt, pn).isSkippingByKeyDown() ? rt(this, Fr, 0) : e && z(this, gn) && rt(this, Fr, z(this, Fr) + Number(N)), {
31571
+ const N = z(this, _n) ? (L = o != null ? o : (M = z(this, $r).at(0)) == null ? void 0 : M.o.wait) != null ? L : z(qt, ei) ? (D = z(qt, gn)[R.charAt(0)]) != null ? D : 0 : LayerMng.msecChWait : 0;
31572
+ return z(qt, vn).isSkippingByKeyDown() ? rt(this, Br, 0) : e && z(this, _n) && rt(this, Br, z(this, Br) + Number(N)), {
31568
31573
  cl: ` class='sn_ch${N > 0 ? ` sn_ch_in_${z(this, Tr)}` : ""}'`,
31569
- sty: `animation-delay: ${z(this, Fr)}ms;${(U = ($ = (B = z(this, Br).at(-1)) == null ? void 0 : B.o) == null ? void 0 : $.style) != null ? U : ""}`,
31570
- lnk: (V = (H = z(this, Br).at(0)) == null ? void 0 : H.o[":link"]) != null ? V : ""
31574
+ sty: `animation-delay: ${z(this, Br)}ms;${(U = ($ = (B = z(this, $r).at(-1)) == null ? void 0 : B.o) == null ? void 0 : $.style) != null ? U : ""}`,
31575
+ lnk: (V = (H = z(this, $r).at(0)) == null ? void 0 : H.o[":link"]) != null ? V : ""
31571
31576
  };
31572
- }, Fr = new WeakMap(), nr = new WeakMap(), sr = new WeakMap(), Br = new WeakMap(), Ps = new WeakSet(), tu = function(e) {
31573
- z(this, Br).push({
31577
+ }, Br = new WeakMap(), nr = new WeakMap(), sr = new WeakMap(), $r = new WeakMap(), Ps = new WeakSet(), tu = function(e) {
31578
+ z(this, $r).push({
31574
31579
  o: e,
31575
31580
  r_align: z(this, ir),
31576
31581
  ch_in_style: z(this, Tr),
31577
- ch_out_style: z(this, Lr)
31582
+ ch_out_style: z(this, Fr)
31578
31583
  }), "r_align" in e && rt(this, ir, e.r_align), ot(this, Ts, Ko).call(this, e), ot(this, Ss, Jo).call(this, e);
31579
31584
  }, wi = new WeakSet(), Wn = function() {
31580
- const e = z(this, Br).pop();
31585
+ const e = z(this, $r).pop();
31581
31586
  !e || (rt(this, ir, e.r_align), ot(this, Ts, Ko).call(this, { in_style: e.ch_in_style }), ot(this, Ss, Jo).call(this, { out_style: e.ch_out_style }));
31582
- }, Ri = new WeakMap(), it(TxtLayer, to), it(TxtLayer, eo), it(TxtLayer, Bu), it(TxtLayer, bs, void 0), it(TxtLayer, Er, void 0), it(TxtLayer, Es, void 0), it(TxtLayer, Qa, void 0), it(TxtLayer, ro, void 0), it(TxtLayer, pn, void 0), it(TxtLayer, io, void 0), it(TxtLayer, ei, !1), it(TxtLayer, vn, {}), it(TxtLayer, Is, (e) => e);
31583
- var As, ii, ku, vc, Os, Ns, eu, Gu, gc, Uu, mc, ao, Hu, yc, zu, bc;
31587
+ }, Ri = new WeakMap(), it(TxtLayer, to), it(TxtLayer, eo), it(TxtLayer, Bu), it(TxtLayer, bs, void 0), it(TxtLayer, Er, void 0), it(TxtLayer, Es, void 0), it(TxtLayer, Qa, void 0), it(TxtLayer, ro, void 0), it(TxtLayer, vn, void 0), it(TxtLayer, io, void 0), it(TxtLayer, ei, !1), it(TxtLayer, gn, {}), it(TxtLayer, Is, (e) => e);
31588
+ var As, ni, ku, vc, Os, Ns, eu, Gu, gc, Uu, mc, ao, Hu, yc, zu, bc;
31584
31589
  class FrameMng {
31585
31590
  constructor(t, e, o, R, N, M, D) {
31586
31591
  it(this, ku);
@@ -31590,7 +31595,7 @@ class FrameMng {
31590
31595
  it(this, Hu);
31591
31596
  it(this, zu);
31592
31597
  it(this, As, void 0);
31593
- it(this, ii, /* @__PURE__ */ Object.create(null));
31598
+ it(this, ni, /* @__PURE__ */ Object.create(null));
31594
31599
  it(this, Os, {});
31595
31600
  it(this, ao, 1);
31596
31601
  this.cfg = t, this.appPixi = o, this.val = R, this.main = N, this.sys = M, this.hTwInf = D, e.add_frame = (L) => ot(this, ku, vc).call(this, L), e.let_frame = (L) => ot(this, Gu, gc).call(this, L), e.set_frame = (L) => ot(this, Uu, mc).call(this, L), e.frame = (L) => ot(this, Hu, yc).call(this, L), e.tsy_frame = (L) => ot(this, zu, bc).call(this, L);
@@ -31599,23 +31604,23 @@ class FrameMng {
31599
31604
  rt(this, As, t);
31600
31605
  }
31601
31606
  destroy() {
31602
- for (const t in z(this, ii)) {
31603
- const e = z(this, ii)[t];
31607
+ for (const t in z(this, ni)) {
31608
+ const e = z(this, ni)[t];
31604
31609
  e.parentElement.removeChild(e);
31605
31610
  }
31606
- rt(this, ii, /* @__PURE__ */ Object.create(null));
31611
+ rt(this, ni, /* @__PURE__ */ Object.create(null));
31607
31612
  }
31608
31613
  getFrmDisabled(t) {
31609
31614
  return z(this, Os)[t];
31610
31615
  }
31611
31616
  cvsResize() {
31612
- for (const t in z(this, ii)) {
31613
- const e = z(this, ii)[t], o = "const.sn.frm." + t, R = Number(this.val.getVal(o + ".x")), N = Number(this.val.getVal(o + ".y")), M = Number(this.val.getVal(o + ".width")), D = Number(this.val.getVal(o + ".height"));
31617
+ for (const t in z(this, ni)) {
31618
+ const e = z(this, ni)[t], o = "const.sn.frm." + t, R = Number(this.val.getVal(o + ".x")), N = Number(this.val.getVal(o + ".y")), M = Number(this.val.getVal(o + ".width")), D = Number(this.val.getVal(o + ".height"));
31614
31619
  e.style.left = `${this.sys.ofsLeft4elm + R * this.sys.cvsScale}px`, e.style.top = `${this.sys.ofsTop4elm + N * this.sys.cvsScale}px`, e.width = String(M * this.sys.cvsScale), e.height = String(D * this.sys.cvsScale);
31615
31620
  }
31616
31621
  }
31617
31622
  }
31618
- As = new WeakMap(), ii = new WeakMap(), ku = new WeakSet(), vc = function(t) {
31623
+ As = new WeakMap(), ni = new WeakMap(), ku = new WeakSet(), vc = function(t) {
31619
31624
  const { id: e, src: o, alpha: R = 1, scale_x: N = 1, scale_y: M = 1, rotate: D = 0 } = t;
31620
31625
  if (!e)
31621
31626
  throw "id\u306F\u5FC5\u9808\u3067\u3059";
@@ -31637,7 +31642,7 @@ As = new WeakMap(), ii = new WeakMap(), ku = new WeakSet(), vc = function(t) {
31637
31642
  }), V.load((W, X) => {
31638
31643
  var q;
31639
31644
  const Y = document.getElementById(e);
31640
- z(this, ii)[e] = Y, z(this, Os)[e] = !1, Y.srcdoc = String((q = X[o]) == null ? void 0 : q.data).replace("sn_repRes();", "").replace(
31645
+ z(this, ni)[e] = Y, z(this, Os)[e] = !1, Y.srcdoc = String((q = X[o]) == null ? void 0 : q.data).replace("sn_repRes();", "").replace(
31641
31646
  /\s(?:src|href)=(["'])(\S+)\1/g,
31642
31647
  (Z, K, J) => J.slice(0, 3) === "../" ? this.sys.cur + J.slice(4) : Z.replace(K, K + H.slice(0, H.lastIndexOf("/") + 1))
31643
31648
  ), Y.onload = () => {
@@ -31778,8 +31783,8 @@ ${t.id}`, X = new Tween(N).to(D, argChk_Num(t, "time", NaN) * (Boolean(this.val.
31778
31783
  X.start();
31779
31784
  return this.hTwInf[W] = { tw: X, resume: !1 }, !1;
31780
31785
  };
31781
- var Sr, ne, _e, Pi, yn, Ms, Ds, Ls, bn, oo, Eh, ni, $r, ju, Ec, ar, Vu, xc, Xu, Tc, Wu, Sc, Jt, Cr, Ir, Fs, Yu, Cc, Bs, ru, qu, Ic, uo, $s, lo, Ai, Oi, kr, Ce, Ni, Zu, wc, Ie, Ue, Qe, Ku, Rc, Ju, Pc, Qu, Ac, En, ya, tl, Oc, Ye, el, Nc, rl, Mc, il, Dc, nl, Lc, sl, Fc, Mi, Di, Yn, fr, al, Bc, ks, ol, $c, Gr, Li, Fi, qn, wr, Rr, 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, El, Jc, xl, Qc;
31782
- const Zi = class {
31786
+ var Sr, ne, _e, Pi, bn, Ms, Ds, Ls, En, oo, Eh, si, kr, ju, Ec, ar, Vu, xc, Xu, Tc, Wu, Sc, Jt, Cr, Ir, Fs, Yu, Cc, Bs, ru, qu, Ic, uo, $s, lo, Ai, Oi, Gr, Ce, Ni, Zu, wc, Ie, Ue, Qe, Ku, Rc, Ju, Pc, Qu, Ac, xn, ya, tl, Oc, Ye, el, Nc, rl, Mc, il, Dc, nl, Lc, sl, Fc, Mi, Di, Yn, fr, al, Bc, ks, ol, $c, Ur, Li, Fi, qn, wr, Rr, 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, El, Jc, xl, Qc;
31787
+ const Ki = class {
31783
31788
  constructor(t, e, o, R, N, M, D, L, B, $) {
31784
31789
  it(this, oo);
31785
31790
  it(this, ju);
@@ -31794,7 +31799,7 @@ const Zi = class {
31794
31799
  it(this, Ku);
31795
31800
  it(this, Ju);
31796
31801
  it(this, Qu);
31797
- it(this, En);
31802
+ it(this, xn);
31798
31803
  it(this, tl);
31799
31804
  it(this, el);
31800
31805
  it(this, rl);
@@ -31824,13 +31829,13 @@ const Zi = class {
31824
31829
  it(this, ne, void 0);
31825
31830
  it(this, _e, void 0);
31826
31831
  it(this, Pi, void 0);
31827
- it(this, yn, void 0);
31832
+ it(this, bn, void 0);
31828
31833
  it(this, Ms, void 0);
31829
31834
  it(this, Ds, void 0);
31830
31835
  it(this, Ls, void 0);
31831
- it(this, bn, void 0);
31832
- it(this, ni, void 0);
31833
- it(this, $r, void 0);
31836
+ it(this, En, void 0);
31837
+ it(this, si, void 0);
31838
+ it(this, kr, void 0);
31834
31839
  it(this, ar, void 0);
31835
31840
  it(this, Jt, void 0);
31836
31841
  it(this, Cr, void 0);
@@ -31841,14 +31846,14 @@ const Zi = class {
31841
31846
  it(this, lo, void 0);
31842
31847
  it(this, Ai, void 0);
31843
31848
  it(this, Oi, void 0);
31844
- it(this, kr, void 0);
31849
+ it(this, Gr, void 0);
31845
31850
  it(this, Ce, void 0);
31846
31851
  it(this, Ni, void 0);
31847
31852
  it(this, Ie, void 0);
31848
31853
  it(this, Ye, void 0);
31849
31854
  it(this, fr, void 0);
31850
31855
  it(this, ks, void 0);
31851
- it(this, Gr, void 0);
31856
+ it(this, Ur, void 0);
31852
31857
  it(this, Li, void 0);
31853
31858
  it(this, wr, void 0);
31854
31859
  it(this, Rr, void 0);
@@ -31862,7 +31867,7 @@ const Zi = class {
31862
31867
  }), ot(this, oo, Eh).call(this, z(this, Ir)), !1),
31863
31868
  _replaceToken: (X, Y) => (DesignCast.replaceToken(Y), !1),
31864
31869
  _selectNode: (X, Y) => (ot(this, oo, Eh).call(this, Y.node), !1)
31865
- }), rt(this, Ls, ""), rt(this, bn, ""), this.getFrmDisabled = (X) => z(this, Pi).getFrmDisabled(X), rt(this, ni, void 0), rt(this, ar, (X, Y = this.currentTxtlayForeNeedErr, q = !0) => Y.tagCh("\uFF5C\u3000\u300A" + X + "\u300B")), this.goTxt = () => {
31870
+ }), rt(this, Ls, ""), rt(this, En, ""), this.getFrmDisabled = (X) => z(this, Pi).getFrmDisabled(X), rt(this, si, void 0), rt(this, ar, (X, Y = this.currentTxtlayForeNeedErr, q = !0) => Y.tagCh("\uFF5C\u3000\u300A" + X + "\u300B")), this.goTxt = () => {
31866
31871
  }, this.breakLine = () => {
31867
31872
  }, this.breakPage = () => {
31868
31873
  }, rt(this, Jt, {}), rt(this, Cr, []), rt(this, Ir, ""), rt(this, Fs, ""), rt(this, uo, `
@@ -31902,10 +31907,10 @@ void main(void) {
31902
31907
  }), rt(this, lo, new Filter(void 0, z(this, uo), z(this, $s))), rt(this, Ai, RenderTexture.create({
31903
31908
  width: CmnLib.stageW,
31904
31909
  height: CmnLib.stageH
31905
- })), rt(this, Oi, new Sprite(z(this, Ai))), rt(this, kr, RenderTexture.create({
31910
+ })), rt(this, Oi, new Sprite(z(this, Ai))), rt(this, Gr, RenderTexture.create({
31906
31911
  width: CmnLib.stageW,
31907
31912
  height: CmnLib.stageH
31908
- })), rt(this, Ce, new Sprite(z(this, kr))), rt(this, Ni, []), rt(this, Ie, { tw: void 0, resume: !1 }), rt(this, Ye, {}), rt(this, fr, (X) => {
31913
+ })), rt(this, Ce, new Sprite(z(this, Gr))), rt(this, Ni, []), rt(this, Ie, { tw: void 0, resume: !1 }), rt(this, Ye, {}), rt(this, fr, (X) => {
31909
31914
  throw z(this, Li).call(this), 0;
31910
31915
  }), rt(this, ks, (X) => {
31911
31916
  throw z(this, Li).call(this), 0;
@@ -31913,11 +31918,11 @@ void main(void) {
31913
31918
  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";
31914
31919
  }), rt(this, wr, { text: "" }), rt(this, Rr, []);
31915
31920
  const U = () => {
31916
- D.cvsResize(), this.cvsResizeDesign(), z(this, bn) ? z(this, Cr).forEach(
31921
+ D.cvsResize(), this.cvsResizeDesign(), z(this, En) ? z(this, Cr).forEach(
31917
31922
  (X) => z(this, Jt)[X].fore.cvsResizeChildren()
31918
31923
  ) : z(this, Cr).forEach(
31919
31924
  (X) => z(this, Jt)[X].fore.cvsResize()
31920
- ), z(this, Pi).cvsResize(), z(this, $r).cvsResize();
31925
+ ), z(this, Pi).cvsResize(), z(this, kr).cvsResize();
31921
31926
  };
31922
31927
  if (CmnLib.isMobile)
31923
31928
  globalThis.addEventListener("orientationchange", U, { passive: !0 });
@@ -31929,9 +31934,9 @@ void main(void) {
31929
31934
  }, 1e3 / 60 * 10));
31930
31935
  }, { passive: !0 });
31931
31936
  }
31932
- D.cvsResize(), TxtLayer.init(t, e, R, (X) => this.recText(X), (X) => z(this, Jt)[X.layname].fore === X, o), GrpLayer.init(N, t, o, D, L, R), Button.init(t), rt(this, Pi, new FrameMng(this.cfg, this.hTag, this.appPixi, this.val, N, this.sys, z(this, Ye))), D.hFactoryCls.grp = () => new GrpLayer(), D.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (X) => ot(this, Xu, Tc).call(this, X), e.snapshot = (X) => ot(this, Vu, xc).call(this, X), e.add_lay = (X) => ot(this, Wu, Sc).call(this, X), e.clear_lay = (X) => ot(this, qu, Ic).call(this, X), e.finish_trans = () => ot(this, En, ya).call(this), e.lay = (X) => ot(this, Yu, Cc).call(this, X), e.trans = (X) => ot(this, Zu, wc).call(this, X), e.wt = (X) => ot(this, Qu, Ac).call(this, X), e.quake = (X) => ot(this, tl, Oc).call(this, X), e.stop_quake = (X) => e.finish_trans(X), e.wq = (X) => e.wt(X), e.pause_tsy = (X) => ot(this, nl, Lc).call(this, X), e.resume_tsy = (X) => ot(this, sl, Fc).call(this, X), e.stop_tsy = (X) => ot(this, il, Dc).call(this, X), e.tsy = (X) => ot(this, el, Nc).call(this, X), e.wait_tsy = (X) => ot(this, rl, Mc).call(this, X), e.ch = (X) => ot(this, Di, Yn).call(this, X), e.clear_text = (X) => ot(this, ul, kc).call(this, X), e.current = (X) => z(this, ks).call(this, X), e.endlink = (X) => ot(this, ll, Gc).call(this, X), e.er = (X) => ot(this, hl, Uc).call(this, X), e.graph = (X) => ot(this, cl, Hc).call(this, X), e.link = (X) => ot(this, fl, zc).call(this, X), e.r = (X) => ot(this, dl, jc).call(this, X), e.rec_ch = (X) => ot(this, vl, Xc).call(this, X), e.rec_r = () => ot(this, pl, Vc).call(this), e.reset_rec = (X) => ot(this, gl, Wc).call(this, X), e.ruby2 = (X) => ot(this, _l, Yc).call(this, X), e.span = (X) => ot(this, ml, qc).call(this, X), e.tcy = (X) => ot(this, yl, Zc).call(this, X), e.add_face = (X) => GrpLayer.add_face(X), e.wv = (X) => GrpLayer.wv(X), e.dump_lay = (X) => ot(this, bl, Kc).call(this, X), e.enable_event = (X) => ot(this, El, Jc).call(this, X), e.button = (X) => ot(this, xl, Qc).call(this, X), t.existsBreakline && (this.breakLine = () => z(this, ar).call(this, 'grp\uFF5C{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => z(this, ar).call(this, 'grp\uFF5C{"id":"break","pic":"breakpage"}')), rt(this, yn, parseColor(String(t.oCfg.init.bg_color)));
31937
+ D.cvsResize(), TxtLayer.init(t, e, R, (X) => this.recText(X), (X) => z(this, Jt)[X.layname].fore === X, o), GrpLayer.init(N, t, o, D, L, R), Button.init(t), rt(this, Pi, new FrameMng(this.cfg, this.hTag, this.appPixi, this.val, N, this.sys, z(this, Ye))), D.hFactoryCls.grp = () => new GrpLayer(), D.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (X) => ot(this, Xu, Tc).call(this, X), e.snapshot = (X) => ot(this, Vu, xc).call(this, X), e.add_lay = (X) => ot(this, Wu, Sc).call(this, X), e.clear_lay = (X) => ot(this, qu, Ic).call(this, X), e.finish_trans = () => ot(this, xn, ya).call(this), e.lay = (X) => ot(this, Yu, Cc).call(this, X), e.trans = (X) => ot(this, Zu, wc).call(this, X), e.wt = (X) => ot(this, Qu, Ac).call(this, X), e.quake = (X) => ot(this, tl, Oc).call(this, X), e.stop_quake = (X) => e.finish_trans(X), e.wq = (X) => e.wt(X), e.pause_tsy = (X) => ot(this, nl, Lc).call(this, X), e.resume_tsy = (X) => ot(this, sl, Fc).call(this, X), e.stop_tsy = (X) => ot(this, il, Dc).call(this, X), e.tsy = (X) => ot(this, el, Nc).call(this, X), e.wait_tsy = (X) => ot(this, rl, Mc).call(this, X), e.ch = (X) => ot(this, Di, Yn).call(this, X), e.clear_text = (X) => ot(this, ul, kc).call(this, X), e.current = (X) => z(this, ks).call(this, X), e.endlink = (X) => ot(this, ll, Gc).call(this, X), e.er = (X) => ot(this, hl, Uc).call(this, X), e.graph = (X) => ot(this, cl, Hc).call(this, X), e.link = (X) => ot(this, fl, zc).call(this, X), e.r = (X) => ot(this, dl, jc).call(this, X), e.rec_ch = (X) => ot(this, vl, Xc).call(this, X), e.rec_r = () => ot(this, pl, Vc).call(this), e.reset_rec = (X) => ot(this, gl, Wc).call(this, X), e.ruby2 = (X) => ot(this, _l, Yc).call(this, X), e.span = (X) => ot(this, ml, qc).call(this, X), e.tcy = (X) => ot(this, yl, Zc).call(this, X), e.add_face = (X) => GrpLayer.add_face(X), e.wv = (X) => GrpLayer.wv(X), e.dump_lay = (X) => ot(this, bl, Kc).call(this, X), e.enable_event = (X) => ot(this, El, Jc).call(this, X), e.button = (X) => ot(this, xl, Qc).call(this, X), t.existsBreakline && (this.breakLine = () => z(this, ar).call(this, 'grp\uFF5C{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => z(this, ar).call(this, 'grp\uFF5C{"id":"break","pic":"breakpage"}')), rt(this, bn, parseColor(String(t.oCfg.init.bg_color)));
31933
31938
  const H = new Graphics();
31934
- H.beginFill(z(this, yn), 1).lineStyle(0, z(this, yn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), z(this, ne).addChild(H.clone()), z(this, _e).addChild(H), z(this, _e).visible = !1, rt(this, Sr, this.appPixi.stage), z(this, Sr).addChild(z(this, _e)), z(this, Sr).addChild(z(this, ne)), z(this, Sr).addChild(z(this, Oi)), z(this, Sr).addChild(z(this, Ce)), this.appPixi.ticker.add(z(this, Ms));
31939
+ H.beginFill(z(this, bn), 1).lineStyle(0, z(this, bn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), z(this, ne).addChild(H.clone()), z(this, _e).addChild(H), z(this, _e).visible = !1, rt(this, Sr, this.appPixi.stage), z(this, Sr).addChild(z(this, _e)), z(this, Sr).addChild(z(this, ne)), z(this, Sr).addChild(z(this, Oi)), z(this, Sr).addChild(z(this, Ce)), this.appPixi.ticker.add(z(this, Ms));
31935
31940
  const V = (X, Y) => {
31936
31941
  ot(this, ju, Ec).call(this, Number(Y));
31937
31942
  };
@@ -31950,19 +31955,19 @@ void main(void) {
31950
31955
  cvsResizeDesign() {
31951
31956
  }
31952
31957
  cover(t, e = 0) {
31953
- z(this, ni) && (z(this, Sr).removeChild(z(this, ni)), z(this, ni).destroy(), rt(this, ni, void 0)), t && z(this, Sr).addChild(
31954
- rt(this, ni, new Graphics()).beginFill(e).lineStyle(0, e).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill()
31958
+ z(this, si) && (z(this, Sr).removeChild(z(this, si)), z(this, si).destroy(), rt(this, si, void 0)), t && z(this, Sr).addChild(
31959
+ rt(this, si, new Graphics()).beginFill(e).lineStyle(0, e).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill()
31955
31960
  );
31956
31961
  }
31957
31962
  setEvtMng(t) {
31958
- rt(this, $r, t), z(this, Pi).setEvtMng(t), GrpLayer.setEvtMng(t);
31963
+ rt(this, kr, t), z(this, Pi).setEvtMng(t), GrpLayer.setEvtMng(t);
31959
31964
  }
31960
31965
  before_destroy() {
31961
31966
  for (const t in z(this, Jt))
31962
31967
  z(this, Jt)[t].destroy();
31963
31968
  }
31964
31969
  destroy() {
31965
- GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), z(this, Pi).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(z(this, Ms)), rt(Zi, Mi, 10);
31970
+ GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), z(this, Pi).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(z(this, Ms)), rt(Ki, Mi, 10);
31966
31971
  }
31967
31972
  stopAllTw() {
31968
31973
  rt(this, Ye, {}), removeAll();
@@ -31977,20 +31982,20 @@ void main(void) {
31977
31982
  }) : !1;
31978
31983
  }
31979
31984
  static get msecChWait() {
31980
- return z(Zi, Mi);
31985
+ return z(Ki, Mi);
31981
31986
  }
31982
31987
  static set msecChWait(t) {
31983
- rt(Zi, Mi, t);
31988
+ rt(Ki, Mi, t);
31984
31989
  }
31985
31990
  setNormalChWait() {
31986
- rt(Zi, Mi, this.scrItr.normalWait);
31991
+ rt(Ki, Mi, this.scrItr.normalWait);
31987
31992
  }
31988
31993
  get currentTxtlayForeNeedErr() {
31989
31994
  return z(this, Li).call(this), this.currentTxtlayFore;
31990
31995
  }
31991
31996
  get currentTxtlayFore() {
31992
- if (!!z(this, Gr))
31993
- return z(this, Gr).fore;
31997
+ if (!!z(this, Ur))
31998
+ return z(this, Ur).fore;
31994
31999
  }
31995
32000
  recText(t, e = !1) {
31996
32001
  const o = z(this, wr);
@@ -32039,12 +32044,12 @@ void main(void) {
32039
32044
  }).catch((L) => console.error("fn:LayerMng.ts playback e:%o", L));
32040
32045
  }
32041
32046
  };
32042
- let LayerMng = Zi;
32043
- Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(), yn = new WeakMap(), Ms = new WeakMap(), Ds = new WeakMap(), Ls = new WeakMap(), bn = new WeakMap(), oo = new WeakSet(), Eh = function(t) {
32044
- [Pe(this, Ls)._, this.bn = ""] = t.split("/");
32047
+ let LayerMng = Ki;
32048
+ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(), bn = new WeakMap(), Ms = new WeakMap(), Ds = new WeakMap(), Ls = new WeakMap(), En = new WeakMap(), oo = new WeakSet(), Eh = function(t) {
32049
+ [Pe(this, Ls)._, this.En = ""] = t.split("/");
32045
32050
  const e = z(this, Jt)[z(this, Ls)];
32046
- !e || (DesignCast.allHide(), z(this, bn) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
32047
- }, ni = new WeakMap(), $r = new WeakMap(), ju = new WeakSet(), Ec = function(t) {
32051
+ !e || (DesignCast.allHide(), z(this, En) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
32052
+ }, si = new WeakMap(), kr = new WeakMap(), ju = new WeakSet(), Ec = function(t) {
32048
32053
  ot(this, Ue, Qe).call(this).forEach((e) => {
32049
32054
  const o = z(this, Jt)[e];
32050
32055
  o.fore instanceof TxtLayer && (o.fore.chgBackAlpha(t), o.back.chgBackAlpha(t));
@@ -32053,7 +32058,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32053
32058
  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);
32054
32059
  if (this.sys.canCapturePage(o))
32055
32060
  return !1;
32056
- const R = getExt(o), N = argChk_Color(t, "b_color", z(this, yn)), M = autoDetectRenderer({
32061
+ const R = getExt(o), N = argChk_Color(t, "b_color", z(this, bn)), M = autoDetectRenderer({
32057
32062
  width: argChk_Num(t, "width", CmnLib.stageW),
32058
32063
  height: argChk_Num(t, "height", CmnLib.stageH),
32059
32064
  backgroundAlpha: N > 16777216 && R === "png" ? 0 : 1,
@@ -32106,7 +32111,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32106
32111
  case "txt":
32107
32112
  z(this, Ir) || (rt(this, Li, () => {
32108
32113
  }), rt(this, fr, ot(this, al, Bc)), rt(this, ks, ot(this, ol, $c)), this.hTag.current({ layer: e }), this.goTxt = () => {
32109
- this.val.getVal("sn.skip.enabled") ? rt(Zi, Mi, 0) : this.setNormalChWait(), ot(this, Ue, Qe).call(this).forEach((N) => {
32114
+ this.val.getVal("sn.skip.enabled") ? rt(Ki, Mi, 0) : this.setNormalChWait(), ot(this, Ue, Qe).call(this).forEach((N) => {
32110
32115
  const M = z(this, Jt)[N].fore;
32111
32116
  M instanceof TxtLayer && z(this, ar).call(this, "gotxt\uFF5C", M, !1);
32112
32117
  });
@@ -32148,8 +32153,8 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32148
32153
  const o = z(this, Jt)[ot(this, Fi, qn).call(this, { layer: e })];
32149
32154
  t.page === "both" ? (o.fore.clearLay(t), o.back.clearLay(t)) : o.getPage(t).clearLay(t);
32150
32155
  }), !1;
32151
- }, uo = new WeakMap(), $s = new WeakMap(), lo = new WeakMap(), Ai = new WeakMap(), Oi = new WeakMap(), kr = new WeakMap(), Ce = new WeakMap(), Ni = new WeakMap(), Zu = new WeakSet(), wc = function(t) {
32152
- ot(this, En, ya).call(this);
32156
+ }, uo = new WeakMap(), $s = new WeakMap(), lo = new WeakMap(), Ai = new WeakMap(), Oi = new WeakMap(), Gr = new WeakMap(), Ce = new WeakMap(), Ni = new WeakMap(), Zu = new WeakSet(), wc = function(t) {
32157
+ ot(this, xn, ya).call(this);
32153
32158
  const e = CmnTween.ease(t.ease);
32154
32159
  rt(this, Ni, []);
32155
32160
  const o = {}, R = [];
@@ -32173,9 +32178,9 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32173
32178
  }, V();
32174
32179
  };
32175
32180
  }
32176
- z(this, kr).resize(CmnLib.stageW, CmnLib.stageH), this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, kr) });
32181
+ z(this, Gr).resize(CmnLib.stageW, CmnLib.stageH), this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, Gr) });
32177
32182
  let D = () => {
32178
- z(this, ne).visible = !0, this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, kr) }), z(this, ne).visible = !1;
32183
+ z(this, ne).visible = !0, this.appPixi.renderer.render(z(this, ne), { renderTexture: z(this, Gr) }), z(this, ne).visible = !1;
32179
32184
  };
32180
32185
  if (!R.some((V) => V.containMovement)) {
32181
32186
  let V = D;
@@ -32205,7 +32210,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32205
32210
  };
32206
32211
  rt(this, Ie, { tw: void 0, resume: !1 });
32207
32212
  const $ = argChk_Num(t, "time", 0);
32208
- if ($ === 0 || z(this, $r).isSkippingByKeyDown())
32213
+ if ($ === 0 || z(this, kr).isSkippingByKeyDown())
32209
32214
  return B(), !1;
32210
32215
  const U = "glsl" in t;
32211
32216
  if (!U && !("rule" in t))
@@ -32237,22 +32242,22 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32237
32242
  return R < N ? -1 : R > N ? 1 : 0;
32238
32243
  });
32239
32244
  }, Qu = new WeakSet(), Ac = function(t) {
32240
- return z(this, Ie).tw ? (z(this, Ie).resume = !0, z(this, $r).waitLimitedEvent(t, () => ot(this, En, ya).call(this))) : !1;
32241
- }, En = new WeakSet(), ya = function() {
32245
+ return z(this, Ie).tw ? (z(this, Ie).resume = !0, z(this, kr).waitLimitedEvent(t, () => ot(this, xn, ya).call(this))) : !1;
32246
+ }, xn = new WeakSet(), ya = function() {
32242
32247
  var t;
32243
32248
  return (t = z(this, Ie).tw) == null || t.end(), !1;
32244
32249
  }, tl = new WeakSet(), Oc = function(t) {
32245
- ot(this, En, ya).call(this);
32250
+ ot(this, xn, ya).call(this);
32246
32251
  const e = argChk_Num(t, "time", NaN);
32247
- if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, $r).isSkippingByKeyDown())
32252
+ if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || z(this, kr).isSkippingByKeyDown())
32248
32253
  return !1;
32249
32254
  const o = [];
32250
32255
  ot(this, Ue, Qe).call(this, t.layer).forEach((U) => {
32251
32256
  o.push(z(this, Jt)[U].fore.spLay);
32252
- }), z(this, kr).resize(CmnLib.stageW, CmnLib.stageH);
32257
+ }), z(this, Gr).resize(CmnLib.stageW, CmnLib.stageH);
32253
32258
  const R = () => {
32254
32259
  z(this, ne).visible = !0, o.forEach(
32255
- (U) => this.appPixi.renderer.render(U, { renderTexture: z(this, kr), clear: !1 })
32260
+ (U) => this.appPixi.renderer.render(U, { renderTexture: z(this, Gr), clear: !1 })
32256
32261
  ), z(this, ne).visible = !1;
32257
32262
  };
32258
32263
  z(this, Ce).visible = !0, z(this, Ce).alpha = 1;
@@ -32274,7 +32279,7 @@ Sr = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Pi = new WeakMap(),
32274
32279
  const e = ot(this, Fi, qn).call(this, t);
32275
32280
  let o = z(this, Jt)[e].fore, R = () => {
32276
32281
  };
32277
- const N = z(this, $r).isSkippingByKeyDown();
32282
+ const N = z(this, kr).isSkippingByKeyDown();
32278
32283
  !N && "render" in t && (o.renderStart(), R = () => o.renderEnd());
32279
32284
  const M = cnvTweenArg(t, o), D = argChk_Num(t, "repeat", 1), L = (H = t.name) != null ? H : t.layer, B = new Tween(o).to(M, argChk_Num(t, "time", NaN) * (Boolean(this.val.getVal("tmp:sn.skip.enabled") || N) ? 0 : 1)).delay(argChk_Num(t, "delay", 0)).easing(CmnTween.ease(t.ease)).repeat(D === 0 ? 1 / 0 : D - 1).yoyo(argChk_Boolean(t, "yoyo", !1)).onComplete(() => {
32280
32285
  var X, Y;
@@ -32303,7 +32308,7 @@ ${t.id}` : (R = t.name) != null ? R : t.layer;
32303
32308
  if (!e)
32304
32309
  throw "\u30C8\u30A5\u30A4\u30FC\u30F3\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093";
32305
32310
  const o = z(this, Ye)[e];
32306
- return o != null && o.tw ? o.resume = z(this, $r).waitEvent(
32311
+ return o != null && o.tw ? o.resume = z(this, kr).waitEvent(
32307
32312
  () => {
32308
32313
  var N;
32309
32314
  return (N = o.tw) == null ? void 0 : N.end();
@@ -32350,13 +32355,13 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32350
32355
  const { layer: e } = t;
32351
32356
  if (!e)
32352
32357
  throw "[current] layer\u306F\u5FC5\u9808\u3067\u3059";
32353
- if (rt(this, Gr, z(this, Jt)[e]), !(z(this, Gr).getPage(t) instanceof TxtLayer))
32358
+ if (rt(this, Ur, z(this, Jt)[e]), !(z(this, Ur).getPage(t) instanceof TxtLayer))
32354
32359
  throw `${e}\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093`;
32355
32360
  return this.recText("", !0), rt(this, Ir, e), this.val.setVal_Nochk("save", "const.sn.mesLayer", e), ot(this, Ue, Qe).call(this).forEach((o) => {
32356
32361
  const R = z(this, Jt)[o];
32357
32362
  R.fore instanceof TxtLayer && (R.fore.isCur = R.back.isCur = o === e);
32358
32363
  }), !1;
32359
- }, Gr = new WeakMap(), Li = new WeakMap(), Fi = new WeakSet(), qn = function(t, e = "") {
32364
+ }, Ur = new WeakMap(), Li = new WeakMap(), Fi = new WeakSet(), qn = function(t, e = "") {
32360
32365
  var R;
32361
32366
  const o = (R = t.layer) != null ? R : e;
32362
32367
  if (o.includes(","))
@@ -32370,7 +32375,7 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32370
32375
  }, ll = new WeakSet(), Gc = function(t) {
32371
32376
  return z(this, ar).call(this, "endlink\uFF5C", z(this, fr).call(this, t)), !1;
32372
32377
  }, hl = new WeakSet(), Uc = function(t) {
32373
- return argChk_Boolean(t, "rec_page_break", !0) && this.recText("", !0), z(this, Gr) && (z(this, Gr).fore.clearLay(t), z(this, Gr).back.clearLay(t)), !1;
32378
+ return argChk_Boolean(t, "rec_page_break", !0) && this.recText("", !0), z(this, Ur) && (z(this, Ur).fore.clearLay(t), z(this, Ur).back.clearLay(t)), !1;
32374
32379
  }, cl = new WeakSet(), Hc = function(t) {
32375
32380
  if (!t.pic)
32376
32381
  throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
@@ -32427,11 +32432,11 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32427
32432
  var e, o, R;
32428
32433
  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), z(this, fr).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
32429
32434
  }, it(LayerMng, Mi, 10);
32430
- var ye, de, Tl, tf, ho, xn, ba;
32435
+ var ye, de, Tl, tf, ho, Tn, ba;
32431
32436
  class FocusMng {
32432
32437
  constructor() {
32433
32438
  it(this, Tl);
32434
- it(this, xn);
32439
+ it(this, Tn);
32435
32440
  it(this, ye, []);
32436
32441
  it(this, de, -1);
32437
32442
  it(this, ho, CmnLib.debugLog ? (t) => console.log(`\u{1F47E} <FocusMng idx:${t} btn:%o`, z(this, ye)[t].btn) : () => {
@@ -32507,7 +32512,7 @@ class FocusMng {
32507
32512
  return z(this, de) < 0 ? !1 : z(this, ye)[z(this, de)].btn === t;
32508
32513
  }
32509
32514
  prev() {
32510
- ot(this, xn, ba).call(this);
32515
+ ot(this, Tn, ba).call(this);
32511
32516
  const t = z(this, ye).length;
32512
32517
  if (t !== 0) {
32513
32518
  --Pe(this, de)._ < 0 && rt(this, de, t - 1);
@@ -32522,7 +32527,7 @@ class FocusMng {
32522
32527
  }
32523
32528
  }
32524
32529
  next() {
32525
- ot(this, xn, ba).call(this);
32530
+ ot(this, Tn, ba).call(this);
32526
32531
  const t = z(this, ye).length;
32527
32532
  if (t !== 0) {
32528
32533
  ++Pe(this, de)._ >= t && rt(this, de, 0);
@@ -32539,12 +32544,12 @@ class FocusMng {
32539
32544
  getFocus() {
32540
32545
  if (z(this, de) < 0)
32541
32546
  return;
32542
- ot(this, xn, ba).call(this), z(this, de) >= z(this, ye).length && rt(this, de, 0);
32547
+ ot(this, Tn, ba).call(this), z(this, de) >= z(this, ye).length && rt(this, de, 0);
32543
32548
  const t = z(this, ye)[z(this, de)];
32544
32549
  return t.on() ? t.btn : void 0;
32545
32550
  }
32546
32551
  blur() {
32547
- ot(this, xn, ba).call(this), rt(this, de, -1), globalThis.focus();
32552
+ ot(this, Tn, ba).call(this), rt(this, de, -1), globalThis.focus();
32548
32553
  }
32549
32554
  }
32550
32555
  ye = new WeakMap(), de = new WeakMap(), Tl = new WeakSet(), tf = function(t, e) {
@@ -32554,7 +32559,7 @@ ye = new WeakMap(), de = new WeakMap(), Tl = new WeakSet(), tf = function(t, e)
32554
32559
  o[(N + R + (e === "ArrowUp" ? -1 : 1)) % R].checked = !0;
32555
32560
  break;
32556
32561
  }
32557
- }, ho = new WeakMap(), xn = new WeakSet(), ba = function() {
32562
+ }, ho = new WeakMap(), Tn = new WeakSet(), ba = function() {
32558
32563
  for (let t = z(this, ye).length - 1; t >= 0; --t) {
32559
32564
  const e = z(this, ye)[t];
32560
32565
  !(e.btn instanceof Container) || e.btn.parent ? e.off() : z(this, ye).splice(t, 1);
@@ -33534,7 +33539,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
33534
33539
  defaultModifiers
33535
33540
  });
33536
33541
  const { GamepadListener } = require("gamepad.js");
33537
- var Ur, Bi, Le, co, fo, xh, po, Th, vo, Sh, Gs, Us, go, Ch, Ee, dr, si, ai, _o, $i, Zn, mo, yo, He, Hs, zs, bo, Sl, ef, Eo, Tn, Cl, rf, xo, Ih, Il, nf, To, wh, Sn, Ea, Cn, wl, sf, Rl, af, pr, Pl, of, Al, uf, js, iu, oi, In, wn, Ol, lf, ze;
33542
+ var Hr, Bi, Le, co, fo, xh, po, Th, vo, Sh, Gs, Us, go, Ch, Ee, dr, ai, oi, _o, $i, Zn, mo, yo, He, Hs, zs, bo, Sl, ef, Eo, Sn, Cl, rf, xo, Ih, Il, nf, To, wh, Cn, Ea, In, wl, sf, Rl, af, pr, Pl, of, Al, uf, js, iu, ui, wn, Rn, Ol, lf, ze;
33538
33543
  class EventMng {
33539
33544
  constructor(t, e, o, R, N, M, D, L, B) {
33540
33545
  it(this, fo);
@@ -33547,14 +33552,14 @@ class EventMng {
33547
33552
  it(this, xo);
33548
33553
  it(this, Il);
33549
33554
  it(this, To);
33550
- it(this, Sn);
33555
+ it(this, Cn);
33551
33556
  it(this, wl);
33552
33557
  it(this, Rl);
33553
33558
  it(this, Pl);
33554
33559
  it(this, Al);
33555
33560
  it(this, js);
33556
33561
  it(this, Ol);
33557
- it(this, Ur, new EventListenerCtn());
33562
+ it(this, Hr, new EventListenerCtn());
33558
33563
  it(this, Bi, new GamepadListener({
33559
33564
  analog: !1,
33560
33565
  deadZone: 0.3
@@ -33566,8 +33571,8 @@ class EventMng {
33566
33571
  it(this, Us, !1);
33567
33572
  it(this, Ee, {});
33568
33573
  it(this, dr, {});
33569
- it(this, si, !1);
33570
33574
  it(this, ai, !1);
33575
+ it(this, oi, !1);
33571
33576
  it(this, _o, (t) => {
33572
33577
  var e;
33573
33578
  return (e = z(this, Ee)[t]) != null ? e : z(this, dr)[t];
@@ -33588,13 +33593,13 @@ class EventMng {
33588
33593
  });
33589
33594
  it(this, Eo, (t, e) => {
33590
33595
  });
33591
- it(this, Tn, new EventListenerCtn());
33592
- it(this, Cn, () => this.layMng.goTxt());
33596
+ it(this, Sn, new EventListenerCtn());
33597
+ it(this, In, () => this.layMng.goTxt());
33593
33598
  it(this, pr, () => !1);
33594
- it(this, oi, () => {
33599
+ it(this, ui, () => {
33595
33600
  });
33596
- it(this, In, new EventEmitter$4());
33597
- it(this, wn, "sn:notice_comp_txt");
33601
+ it(this, wn, new EventEmitter$4());
33602
+ it(this, Rn, "sn:notice_comp_txt");
33598
33603
  it(this, ze, {
33599
33604
  Alt: 0,
33600
33605
  Meta: 0,
@@ -33611,15 +33616,15 @@ class EventMng {
33611
33616
  }, !1, !0)), e.set_cancel_skip = () => ot(this, Pl, of).call(this), e.set_focus = (X) => ot(this, Al, uf).call(this, X), e.wait = (X) => ot(this, js, iu).call(this, X), e.waitclick = () => ot(this, Ol, lf).call(this), D.setEvtMng(this), L.setOtherObj(this, N), TxtLayer.setEvtMng(R, this, B), N.setEvtMng(this), B.setFire((X, Y) => this.fire(X, Y)), CmnLib.isDbg) {
33612
33617
  const X = {
33613
33618
  pause: () => {
33614
- if (rt(this, si, !0), !z(this, ai))
33619
+ if (rt(this, ai, !0), !z(this, oi))
33615
33620
  return;
33616
33621
  const Y = {};
33617
33622
  this.scrItr.recodeDesign(Y), this.sys.callHook("_enterDesign", Y), this.sys.send2Dbg("_enterDesign", Y);
33618
33623
  },
33619
- stopOnBreakpoint: () => rt(this, si, !0),
33620
- stopOnDataBreakpoint: () => rt(this, si, !0),
33621
- continue: () => rt(this, si, !1),
33622
- disconnect: () => rt(this, si, !1)
33624
+ stopOnBreakpoint: () => rt(this, ai, !0),
33625
+ stopOnDataBreakpoint: () => rt(this, ai, !0),
33626
+ continue: () => rt(this, ai, !1),
33627
+ disconnect: () => rt(this, ai, !1)
33623
33628
  };
33624
33629
  X.attach = X.stopOnEntry = X.stopOnStep = X.stopOnStepIn = X.stopOnStepOut = X.stopOnBackstep = X.pause, B.addHook((Y) => {
33625
33630
  var q;
@@ -33665,7 +33670,7 @@ class EventMng {
33665
33670
  <div class="sn_hint" role="tooltip">
33666
33671
  <span>Dummy</span>
33667
33672
  <div class="sn_hint_ar" data-popper-arrow></div>
33668
- </div>`), rt(this, He, document.querySelector(".sn_hint")), rt(this, Hs, z(this, He).querySelector("span")), rt(this, zs, createPopper(z(this, yo), z(this, He))), z(this, He).hidden = !0, o.stage.interactive = !0, CmnLib.isMobile ? o.stage.on("pointerdown", (X) => this.fire("click", X)) : z(this, Ur).add(o.stage, "pointerdown", (X) => {
33673
+ </div>`), rt(this, He, document.querySelector(".sn_hint")), rt(this, Hs, z(this, He).querySelector("span")), rt(this, zs, createPopper(z(this, yo), z(this, He))), z(this, He).hidden = !0, o.stage.interactive = !0, CmnLib.isMobile ? o.stage.on("pointerdown", (X) => this.fire("click", X)) : z(this, Hr).add(o.stage, "pointerdown", (X) => {
33669
33674
  switch (X.data.button) {
33670
33675
  case 0:
33671
33676
  this.fire("click", X);
@@ -33674,13 +33679,13 @@ class EventMng {
33674
33679
  this.fire("middleclick", X);
33675
33680
  break;
33676
33681
  }
33677
- }), z(this, Ur).add(window, "keydown", (X) => ot(this, fo, xh).call(this, X)), z(this, Ur).add(o.view, "contextmenu", (X) => ot(this, po, Th).call(this, X));
33682
+ }), z(this, Hr).add(window, "keydown", (X) => ot(this, fo, xh).call(this, X)), z(this, Hr).add(o.view, "contextmenu", (X) => ot(this, po, Th).call(this, X));
33678
33683
  const $ = (X) => {
33679
33684
  CmnLib.isDarkMode = X.matches, M.setVal_Nochk("tmp", "const.sn.isDarkMode", CmnLib.isDarkMode);
33680
33685
  }, U = globalThis.matchMedia("(prefers-color-scheme: dark)");
33681
33686
  $(U), U.addEventListener("change", (X) => {
33682
33687
  $(X), this.fire("sn:chgDarkMode", X);
33683
- }), "WheelEvent" in window && (z(this, Ur).add(o.view, "wheel", (X) => ot(this, vo, Sh).call(this, X), { passive: !0 }), rt(this, co, (X) => X.addEventListener("wheel", (Y) => ot(this, vo, Sh).call(this, Y), { passive: !0 })), rt(this, Eo, (X, Y) => X.add(o.view, "wheel", (q) => {
33688
+ }), "WheelEvent" in window && (z(this, Hr).add(o.view, "wheel", (X) => ot(this, vo, Sh).call(this, X), { passive: !0 }), rt(this, co, (X) => X.addEventListener("wheel", (Y) => ot(this, vo, Sh).call(this, Y), { passive: !0 })), rt(this, Eo, (X, Y) => X.add(o.view, "wheel", (q) => {
33684
33689
  q.isComposing || q.deltaY <= 0 || (q.stopPropagation(), Y());
33685
33690
  }))), CmnLib.debugLog && (z(this, Bi).on("gamepad:connected", (X) => console.log(`\u{1F47A}<'gamepad:connected' index:${X.detail.index} id:${X.detail.gamepad.id}`)), z(this, Bi).on("gamepad:disconnected", (X) => console.log(`\u{1F47A}<'gamepad:disconnected' index:${X.detail.index} id:${X.detail.gamepad.id}`)));
33686
33691
  const H = [
@@ -33710,7 +33715,7 @@ class EventMng {
33710
33715
  (!Y || Y instanceof Container ? globalThis : Y).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
33711
33716
  } else
33712
33717
  o.view.dispatchEvent(new Event("contextmenu"));
33713
- }), z(this, Bi).start(), z(this, Ur).add(window, "keyup", (X) => {
33718
+ }), z(this, Bi).start(), z(this, Hr).add(window, "keyup", (X) => {
33714
33719
  X.isComposing || X.key in z(this, ze) && (z(this, ze)[X.key] = 0);
33715
33720
  }), M.defTmp("const.sn.key.alternate", () => z(this, ze).Alt > 0), M.defTmp("const.sn.key.command", () => z(this, ze).Meta > 0), M.defTmp("const.sn.key.control", () => z(this, ze).Control > 0), M.defTmp("const.sn.key.end", () => z(this, ze).End > 0), M.defTmp("const.sn.key.escape", () => z(this, ze).Escape > 0), M.defTmp("const.sn.key.back", () => z(this, ze).GoBack > 0);
33716
33721
  }
@@ -33718,11 +33723,11 @@ class EventMng {
33718
33723
  t.addEventListener("keydown", (e) => ot(this, fo, xh).call(this, e)), t.addEventListener("contextmenu", (e) => ot(this, po, Th).call(this, e)), z(this, co).call(this, t);
33719
33724
  }
33720
33725
  destroy() {
33721
- z(this, Le).destroy(), z(this, Ur).clear();
33726
+ z(this, Le).destroy(), z(this, Hr).clear();
33722
33727
  }
33723
33728
  fire(t, e) {
33724
33729
  var N;
33725
- if (z(this, pr).call(this) || !z(this, ai) || z(this, si))
33730
+ if (z(this, pr).call(this) || !z(this, oi) || z(this, ai))
33726
33731
  return;
33727
33732
  const o = t.toLowerCase();
33728
33733
  if (CmnLib.debugLog && console.log(`\u{1F47A} fire<(key:\`${o}\` type:${e.type} e:%o)`, { ...e }), o === "enter") {
@@ -33740,7 +33745,7 @@ class EventMng {
33740
33745
  );
33741
33746
  return;
33742
33747
  }
33743
- o.slice(-5) !== "wheel" && ((N = e.preventDefault) == null || N.call(e)), e.stopPropagation(), !(o.slice(0, 4) !== "dom=" && this.layMng.clickTxtLay()) && (rt(this, ai, !1), R(e), z(this, He).hidden = !0);
33748
+ o.slice(-5) !== "wheel" && ((N = e.preventDefault) == null || N.call(e)), e.stopPropagation(), !(o.slice(0, 4) !== "dom=" && this.layMng.clickTxtLay()) && (rt(this, oi, !1), R(e), z(this, He).hidden = !0);
33744
33749
  }
33745
33750
  popLocalEvts() {
33746
33751
  const t = z(this, Ee);
@@ -33803,23 +33808,23 @@ class EventMng {
33803
33808
  z(this, He).hidden = !0;
33804
33809
  }
33805
33810
  waitLimitedEvent(t, e) {
33806
- z(this, Cn).call(this), this.val.saveKidoku();
33811
+ z(this, In).call(this), this.val.saveKidoku();
33807
33812
  const o = () => {
33808
- z(this, Tn).clear(), e();
33813
+ z(this, Sn).clear(), e();
33809
33814
  };
33810
33815
  if (this.val.getVal("tmp:sn.skip.enabled"))
33811
33816
  if (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku)
33812
33817
  z(this, pr).call(this);
33813
33818
  else
33814
33819
  return o(), !1;
33815
- return argChk_Boolean(t, "canskip", !0) && (z(this, Tn).add(window, "pointerdown", (R) => {
33820
+ return argChk_Boolean(t, "canskip", !0) && (z(this, Sn).add(window, "pointerdown", (R) => {
33816
33821
  R.stopPropagation(), o();
33817
- }), z(this, Tn).add(window, "keydown", (R) => {
33822
+ }), z(this, Sn).add(window, "keydown", (R) => {
33818
33823
  R.isComposing || (R.stopPropagation(), o());
33819
- }), z(this, Eo).call(this, z(this, Tn), o)), !0;
33824
+ }), z(this, Eo).call(this, z(this, Sn), o)), !0;
33820
33825
  }
33821
33826
  noticeCompTxt() {
33822
- z(this, In).emit(z(this, wn));
33827
+ z(this, wn).emit(z(this, Rn));
33823
33828
  }
33824
33829
  isSkippingByKeyDown() {
33825
33830
  if (this.scrItr.skip4page)
@@ -33830,7 +33835,7 @@ class EventMng {
33830
33835
  return !1;
33831
33836
  }
33832
33837
  }
33833
- Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(), fo = new WeakSet(), xh = function(t) {
33838
+ Hr = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(), fo = new WeakSet(), xh = function(t) {
33834
33839
  if (t.isComposing)
33835
33840
  return;
33836
33841
  t.key in z(this, ze) && (z(this, ze)[t.key] = t.repeat ? 2 : 1);
@@ -33857,11 +33862,11 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33857
33862
  }
33858
33863
  rt(this, Gs, !1);
33859
33864
  }, 250);
33860
- }, Ee = new WeakMap(), dr = new WeakMap(), si = new WeakMap(), ai = new WeakMap(), _o = new WeakMap(), $i = new WeakSet(), Zn = function(t, e = !0, o = !0) {
33861
- if (z(this, Cn).call(this), this.val.saveKidoku(), e ? z(this, Ee).click = z(this, Ee).enter = z(this, Ee).arrowdown = z(this, Ee)["wheel.y>0"] = t : (delete z(this, Ee).click, delete z(this, Ee).enter, delete z(this, Ee).arrowdown, delete z(this, Ee)["wheel.y>0"]), rt(this, _o, o ? (R) => {
33865
+ }, Ee = new WeakMap(), dr = new WeakMap(), ai = new WeakMap(), oi = new WeakMap(), _o = new WeakMap(), $i = new WeakSet(), Zn = function(t, e = !0, o = !0) {
33866
+ if (z(this, In).call(this), this.val.saveKidoku(), e ? z(this, Ee).click = z(this, Ee).enter = z(this, Ee).arrowdown = z(this, Ee)["wheel.y>0"] = t : (delete z(this, Ee).click, delete z(this, Ee).enter, delete z(this, Ee).arrowdown, delete z(this, Ee)["wheel.y>0"]), rt(this, _o, o ? (R) => {
33862
33867
  var N;
33863
33868
  return (N = z(this, Ee)[R]) != null ? N : z(this, dr)[R];
33864
- } : (R) => z(this, Ee)[R]), rt(this, ai, !0), z(this, mo).call(this), CmnLib.debugLog) {
33869
+ } : (R) => z(this, Ee)[R]), rt(this, oi, !0), z(this, mo).call(this), CmnLib.debugLog) {
33865
33870
  const R = /* @__PURE__ */ Object.create(null);
33866
33871
  R.local = Object.keys(z(this, Ee)), R.global = Object.keys(z(this, dr)), console.log("\u{1F38D} wait event... %o", R);
33867
33872
  }
@@ -33890,13 +33895,13 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33890
33895
  width: o.width,
33891
33896
  height: o.height
33892
33897
  }), z(this, zs).update(), z(this, He).hidden = !1;
33893
- }, Eo = new WeakMap(), Tn = new WeakMap(), Cl = new WeakSet(), rf = function(t) {
33898
+ }, Eo = new WeakMap(), Sn = new WeakMap(), Cl = new WeakSet(), rf = function(t) {
33894
33899
  const e = argChk_Boolean(t, "global", !1), o = e ? z(this, dr) : z(this, Ee);
33895
33900
  for (const R in o)
33896
33901
  ot(this, xo, Ih).call(this, R, o[R]);
33897
- return e ? rt(this, dr, {}) : rt(this, Ee, {}), rt(this, ai, !1), !1;
33902
+ return e ? rt(this, dr, {}) : rt(this, Ee, {}), rt(this, oi, !1), !1;
33898
33903
  }, xo = new WeakSet(), Ih = function(t, e) {
33899
- t.slice(0, 4) === "dom=" && ot(this, Sn, Ea).call(this, t).el.forEach((o) => o.removeEventListener("click", e));
33904
+ t.slice(0, 4) === "dom=" && ot(this, Cn, Ea).call(this, t).el.forEach((o) => o.removeEventListener("click", e));
33900
33905
  }, Il = new WeakSet(), nf = function(t) {
33901
33906
  var M, D;
33902
33907
  const e = t.key;
@@ -33909,7 +33914,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33909
33914
  return ot(this, xo, Ih).call(this, e, N[o]), delete N[o], !1;
33910
33915
  }
33911
33916
  if ((M = t.fn) != null || (t.fn = this.scrItr.scriptFn), e.slice(0, 4) === "dom=") {
33912
- const L = ot(this, Sn, Ea).call(this, e);
33917
+ const L = ot(this, Cn, Ea).call(this, e);
33913
33918
  if (L.el.length === 0) {
33914
33919
  if (argChk_Boolean(t, "need_err", !0))
33915
33920
  throw `HTML\u5185\u306B\u30BB\u30EC\u30AF\u30BF\uFF08${L.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`;
@@ -33929,8 +33934,8 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33929
33934
  break;
33930
33935
  }
33931
33936
  B.forEach((U, H) => L.el.forEach((V) => {
33932
- z(this, Ur).add(V, U, (W) => {
33933
- if (!z(this, ai) || this.layMng.getFrmDisabled(L.id) || U === "keydown" && W.key !== "Enter")
33937
+ z(this, Hr).add(V, U, (W) => {
33938
+ if (!z(this, oi) || this.layMng.getFrmDisabled(L.id) || U === "keydown" && W.key !== "Enter")
33934
33939
  return;
33935
33940
  const X = V.dataset;
33936
33941
  for (const Y in X)
@@ -33955,7 +33960,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33955
33960
  e = e.parentElement;
33956
33961
  } while (e !== null);
33957
33962
  return !0;
33958
- }, Sn = new WeakSet(), Ea = function(t) {
33963
+ }, Cn = new WeakSet(), Ea = function(t) {
33959
33964
  const e = t.indexOf(":");
33960
33965
  let o = "";
33961
33966
  if (e >= 0) {
@@ -33966,11 +33971,11 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33966
33971
  return o = t.slice(e + 1), { el: D.document.querySelectorAll(o), id: R, sel: o };
33967
33972
  }
33968
33973
  return o = t.slice(4), { el: document.querySelectorAll(o), id: "", sel: o };
33969
- }, Cn = new WeakMap(), wl = new WeakSet(), sf = function(t) {
33974
+ }, In = new WeakMap(), wl = new WeakSet(), sf = function(t) {
33970
33975
  if (this.scrItr.skip4page)
33971
33976
  return !1;
33972
33977
  if (!this.val.getVal("tmp:sn.tagL.enabled"))
33973
- return z(this, Cn).call(this), !1;
33978
+ return z(this, In).call(this), !1;
33974
33979
  if (this.val.getVal("tmp:sn.skip.enabled")) {
33975
33980
  if (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku)
33976
33981
  z(this, pr).call(this);
@@ -33985,7 +33990,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33985
33990
  if (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku)
33986
33991
  z(this, pr).call(this);
33987
33992
  else if (this.val.getVal("sys:sn.skip.mode") == "s")
33988
- return z(this, Cn).call(this), !1;
33993
+ return z(this, In).call(this), !1;
33989
33994
  }
33990
33995
  if (this.val.getVal("tmp:sn.auto.enabled"))
33991
33996
  return ot(this, js, iu).call(this, {
@@ -33999,11 +34004,11 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
33999
34004
  this.hTag.er(t), e();
34000
34005
  } : e);
34001
34006
  }, pr = new WeakMap(), Pl = new WeakSet(), of = function() {
34002
- return rt(this, pr, () => (rt(this, pr, () => !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(), z(this, oi).call(this), !0)), !1;
34007
+ return rt(this, pr, () => (rt(this, pr, () => !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(), z(this, ui).call(this), !0)), !1;
34003
34008
  }, Al = new WeakSet(), uf = function(t) {
34004
34009
  const { add: e, del: o, to: R } = t;
34005
34010
  if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
34006
- const N = ot(this, Sn, Ea).call(this, e);
34011
+ const N = ot(this, Cn, Ea).call(this, e);
34007
34012
  if (N.el.length === 0 && argChk_Boolean(t, "need_err", !0))
34008
34013
  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`;
34009
34014
  return N.el.forEach((M) => z(this, Le).add(
@@ -34014,7 +34019,7 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
34014
34019
  )), !1;
34015
34020
  }
34016
34021
  if ((o == null ? void 0 : o.slice(0, 4)) === "dom=") {
34017
- const N = ot(this, Sn, Ea).call(this, o);
34022
+ const N = ot(this, Cn, Ea).call(this, o);
34018
34023
  if (N.el.length === 0 && argChk_Boolean(t, "need_err", !0))
34019
34024
  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`;
34020
34025
  return N.el.forEach((M) => z(this, Le).remove(M)), !1;
@@ -34035,22 +34040,22 @@ Ur = new WeakMap(), Bi = new WeakMap(), Le = new WeakMap(), co = new WeakMap(),
34035
34040
  return !1;
34036
34041
  }, js = new WeakSet(), iu = function(t) {
34037
34042
  const e = argChk_Num(t, "time", NaN);
34038
- return this.scrItr.skip4page ? !1 : this.val.getVal("tmp:sn.skip.enabled") ? (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku && z(this, pr).call(this), !1) : (z(this, In).once(z(this, wn), () => {
34039
- z(this, In).off(z(this, wn));
34043
+ return this.scrItr.skip4page ? !1 : this.val.getVal("tmp:sn.skip.enabled") ? (!this.val.getVal("tmp:sn.skip.all") && !this.scrItr.isNextKidoku && z(this, pr).call(this), !1) : (z(this, wn).once(z(this, Rn), () => {
34044
+ z(this, wn).off(z(this, Rn));
34040
34045
  const o = new Tween({}).to({}, e).onComplete(() => {
34041
- rt(this, oi, () => {
34046
+ rt(this, ui, () => {
34042
34047
  }), o.stop(), this.main.resume();
34043
34048
  }).start();
34044
- rt(this, oi, () => o.end());
34045
- }), rt(this, oi, () => {
34046
- rt(this, oi, () => {
34047
- }), z(this, In).off(z(this, wn));
34049
+ rt(this, ui, () => o.end());
34050
+ }), rt(this, ui, () => {
34051
+ rt(this, ui, () => {
34052
+ }), z(this, wn).off(z(this, Rn));
34048
34053
  }), this.waitEvent(
34049
- () => z(this, oi).call(this),
34054
+ () => z(this, ui).call(this),
34050
34055
  argChk_Boolean(t, "canskip", !0),
34051
34056
  argChk_Boolean(t, "global", !1)
34052
34057
  ));
34053
- }, oi = new WeakMap(), In = new WeakMap(), wn = new WeakMap(), Ol = new WeakSet(), lf = function() {
34058
+ }, ui = new WeakMap(), wn = new WeakMap(), Rn = new WeakMap(), Ol = new WeakSet(), lf = function() {
34054
34059
  return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && z(this, pr).call(this), ot(this, $i, Zn).call(this, () => this.main.resume()));
34055
34060
  }, ze = new WeakMap();
34056
34061
  class CallStack {
@@ -34058,20 +34063,20 @@ class CallStack {
34058
34063
  this.fn = t, this.idx = e, this.csArg = o, this.toString = () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`;
34059
34064
  }
34060
34065
  }
34061
- var Xt, ee, Ht, fe, ce, ui, So, Rh, ki, Rn, Nl, li, Co, Ph, Io, Ah, Vs, Gi, Kn, Pn, xa, An, hi, xe, Ml, hf, On, Ta, Dl, cf, Xs, Ws, or, Ll, ff, Fl, df, ci, Yi, Bl, pf, Ui, Hi, Ys, qs, Zs, qe, $l, vf, kl, gf, Gl, _f, wo, Oh, Ul, mf, Hl, yf, zl, bf, Ro, Nh, Ks, Nn, Sa, zi, fi, qi, Po, Mh, Js, Ao, Dh, Oo, No, Qs, ji, ta, jl, Ef, je, Vl, xf, Mo, Lh, Do, Lo, Fo, Xl, Tf, Hr, Bo, Fh, Wl, Sf, Yl, Cf, ql, If, ea, Mn, Zl, wf, ra, nu, Dn, Kl, Rf, vr, Jl, Pf, ia, su, Ql, Af, gr, Oe;
34066
+ var Xt, ee, Ht, fe, ce, li, So, Rh, ki, Pn, Nl, hi, Co, Ph, Io, Ah, Vs, Gi, Kn, An, xa, On, ci, xe, Ml, hf, Nn, Ta, Dl, cf, Xs, Ws, or, Ll, ff, Fl, df, fi, qi, Bl, pf, Ui, Hi, Ys, qs, Zs, qe, $l, vf, kl, gf, Gl, _f, wo, Oh, Ul, mf, Hl, yf, zl, bf, Ro, Nh, Ks, Mn, Sa, zi, di, Zi, Po, Mh, Js, Ao, Dh, Oo, No, Qs, ji, ta, jl, Ef, je, Vl, xf, Mo, Lh, Do, Lo, Fo, Xl, Tf, zr, Bo, Fh, Wl, Sf, Yl, Cf, ql, If, ea, Dn, Zl, wf, ra, nu, Ln, Kl, Rf, vr, Jl, Pf, ia, su, Ql, Af, gr, Oe;
34062
34067
  const tr = class {
34063
34068
  constructor(t, e, o, R, N, M, D, L, B) {
34064
34069
  it(this, So);
34065
34070
  it(this, Co);
34066
34071
  it(this, Io);
34067
34072
  it(this, Gi);
34068
- it(this, Pn);
34073
+ it(this, An);
34069
34074
  it(this, Ml);
34070
- it(this, On);
34075
+ it(this, Nn);
34071
34076
  it(this, Dl);
34072
34077
  it(this, Ll);
34073
34078
  it(this, Fl);
34074
- it(this, ci);
34079
+ it(this, fi);
34075
34080
  it(this, Bl);
34076
34081
  it(this, $l);
34077
34082
  it(this, kl);
@@ -34081,8 +34086,8 @@ const tr = class {
34081
34086
  it(this, Hl);
34082
34087
  it(this, zl);
34083
34088
  it(this, Ro);
34084
- it(this, Nn);
34085
- it(this, fi);
34089
+ it(this, Mn);
34090
+ it(this, di);
34086
34091
  it(this, Po);
34087
34092
  it(this, Ao);
34088
34093
  it(this, jl);
@@ -34104,10 +34109,10 @@ const tr = class {
34104
34109
  it(this, Ht, void 0);
34105
34110
  it(this, fe, void 0);
34106
34111
  it(this, ce, void 0);
34107
- it(this, ui, void 0);
34108
- it(this, ki, void 0);
34109
- it(this, Rn, void 0);
34110
34112
  it(this, li, void 0);
34113
+ it(this, ki, void 0);
34114
+ it(this, Pn, void 0);
34115
+ it(this, hi, void 0);
34111
34116
  it(this, Vs, void 0);
34112
34117
  it(this, xe, void 0);
34113
34118
  it(this, Xs, void 0);
@@ -34131,17 +34136,17 @@ const tr = class {
34131
34136
  it(this, Do, void 0);
34132
34137
  it(this, Lo, void 0);
34133
34138
  it(this, Fo, void 0);
34134
- it(this, Hr, void 0);
34139
+ it(this, zr, void 0);
34135
34140
  it(this, ea, void 0);
34136
- it(this, Mn, void 0);
34137
34141
  it(this, Dn, void 0);
34142
+ it(this, Ln, void 0);
34138
34143
  it(this, vr, void 0);
34139
34144
  it(this, gr, void 0);
34140
34145
  it(this, Oe, void 0);
34141
- 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, rt(this, Xt, { aToken: [""], len: 1, aLNum: [1] }), rt(this, ee, ""), rt(this, Ht, 0), rt(this, fe, 0), this.addLineNum = ($) => rt(this, fe, z(this, fe) + $), rt(this, ce, []), rt(this, ui, new Grammar()), this.firstWait = () => {
34146
+ 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, rt(this, Xt, { aToken: [""], len: 1, aLNum: [1] }), rt(this, ee, ""), rt(this, Ht, 0), rt(this, fe, 0), this.addLineNum = ($) => rt(this, fe, z(this, fe) + $), rt(this, ce, []), rt(this, li, new Grammar()), this.firstWait = () => {
34142
34147
  }, rt(this, ki, {
34143
34148
  disconnect: () => {
34144
- rt(tr, An, {}), rt(tr, hi, {}), this.isBreak = () => !1, z(this, ki).continue({}), rt(this, xe, 0);
34149
+ rt(tr, On, {}), rt(tr, ci, {}), this.isBreak = () => !1, z(this, ki).continue({}), rt(this, xe, 0);
34145
34150
  },
34146
34151
  restart: () => this.isBreak = () => !1,
34147
34152
  add_break: ($) => ot(this, So, Rh).call(this, $.fn, $.o),
@@ -34149,24 +34154,24 @@ const tr = class {
34149
34154
  z(this, xe) === 0 && (rt(this, xe, 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", {}));
34150
34155
  },
34151
34156
  set_func_break: ($) => {
34152
- rt(tr, hi, {}), $.a.forEach((U) => z(tr, hi)[U.name] = 1), this.sys.send2Dbg($.ri, {});
34157
+ rt(tr, ci, {}), $.a.forEach((U) => z(tr, ci)[U.name] = 1), this.sys.send2Dbg($.ri, {});
34153
34158
  },
34154
34159
  stack: ($) => this.sys.send2Dbg($.ri, { a: ot(this, Dl, cf).call(this) }),
34155
34160
  eval: ($) => {
34156
34161
  this.sys.send2Dbg($.ri, { v: this.prpPrs.parse($.txt) });
34157
34162
  },
34158
34163
  continue: () => {
34159
- ot(this, Pn, xa).call(this) || (rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, 3), this.main.setLoop(!0), this.main.resume());
34164
+ ot(this, An, xa).call(this) || (rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, 3), this.main.setLoop(!0), this.main.resume());
34160
34165
  },
34161
34166
  stepover: ($) => ot(this, Co, Ph).call(this, $),
34162
34167
  stepin: () => {
34163
- if (ot(this, Pn, xa).call(this))
34168
+ if (ot(this, An, xa).call(this))
34164
34169
  return;
34165
34170
  const $ = z(this, Xt).aToken[z(this, Ht) - z(this, Gi, Kn)];
34166
- this.sys.callHook(`stopOnStep${z(this, Mn).test($) ? "In" : ""}`, {}), rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, z(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
34171
+ this.sys.callHook(`stopOnStep${z(this, Dn).test($) ? "In" : ""}`, {}), rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, z(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
34167
34172
  },
34168
34173
  stepout: ($) => {
34169
- ot(this, Pn, xa).call(this) || (z(this, ce).length > 0 ? ot(this, Io, Ah).call(this, !0) : ot(this, Co, Ph).call(this, $));
34174
+ ot(this, An, xa).call(this) || (z(this, ce).length > 0 ? ot(this, Io, Ah).call(this, !0) : ot(this, Co, Ph).call(this, $));
34170
34175
  },
34171
34176
  pause: () => {
34172
34177
  rt(this, xe, 4), this.main.setLoop(!1, "\u4E00\u6642\u505C\u6B62"), this.sys.send2Dbg("stopOnStep", {});
@@ -34174,7 +34179,7 @@ const tr = class {
34174
34179
  stopOnEntry: () => {
34175
34180
  rt(this, xe, 4), this.main.setLoop(!1, "\u4E00\u6642\u505C\u6B62"), this.sys.send2Dbg("stopOnEntry", {});
34176
34181
  }
34177
- }), rt(this, Rn, ($) => this.cfg.searchPath($, Config.EXT_SCRIPT)), rt(this, li, ($) => (this.sys.pathBaseCnvSnPath4Dbg + z(this, Rn).call(this, $)).replace(z(tr, Nl), `$1/prj/$2/${z(this, ee)}$3`)), this.cnvPath4Dbg = ($) => this.sys.pathBaseCnvSnPath4Dbg + $.replace("/crypto_prj/", "/prj/"), rt(this, Vs, 0), rt(this, xe, 0), this.isBreak = ($) => !1, rt(this, Xs, ($) => {
34182
+ }), rt(this, Pn, ($) => this.cfg.searchPath($, Config.EXT_SCRIPT)), rt(this, hi, ($) => (this.sys.pathBaseCnvSnPath4Dbg + z(this, Pn).call(this, $)).replace(z(tr, Nl), `$1/prj/$2/${z(this, ee)}$3`)), this.cnvPath4Dbg = ($) => this.sys.pathBaseCnvSnPath4Dbg + $.replace("/crypto_prj/", "/prj/"), rt(this, Vs, 0), rt(this, xe, 0), this.isBreak = ($) => !1, rt(this, Xs, ($) => {
34178
34183
  }), rt(this, Ui, () => {
34179
34184
  }), rt(this, Hi, () => {
34180
34185
  }), rt(this, Ys, ""), rt(this, qs, {}), this.noticeBreak = ($) => {
@@ -34203,11 +34208,11 @@ const tr = class {
34203
34208
  }
34204
34209
  }
34205
34210
  z(this, Xt).len = z(this, Xt).aToken.length;
34206
- }), rt(this, Hr, !1), rt(this, ea, "call"), rt(this, Mn, /\[(call)\b/), rt(this, Dn, !1), rt(this, vr, {
34211
+ }), rt(this, zr, !1), rt(this, ea, "call"), rt(this, Dn, /\[(call)\b/), rt(this, Ln, !1), rt(this, vr, {
34207
34212
  hSave: {},
34208
34213
  hPages: {},
34209
34214
  aIfStk: [-1]
34210
- }), rt(this, gr, []), rt(this, Oe, -1), e.let_ml = ($) => ot(this, Ll, ff).call(this, $), e.dump_stack = () => ot(this, Fl, df).call(this), e.dump_script = ($) => ot(this, Bl, pf).call(this, $), e.else = e.elsif = e.endif = () => ot(this, $l, vf).call(this), e.if = ($) => ot(this, kl, gf).call(this, $), e.call = ($) => ot(this, Gl, _f).call(this, $), e.jump = ($) => ot(this, Ul, mf).call(this, $), e.page = ($) => ot(this, Hl, yf).call(this, $), e.pop_stack = ($) => ot(this, zl, bf).call(this, $), e.return = ($) => ot(this, Ro, Nh).call(this, $), e.bracket2macro = ($) => ot(this, Wl, Sf).call(this, $), e.char2macro = ($) => ot(this, Yl, Cf).call(this, $), e.endmacro = ($) => ot(this, Ro, Nh).call(this, $), e.macro = ($) => ot(this, ql, If).call(this, $), e.load = ($) => ot(this, Zl, wf).call(this, $), e.reload_script = ($) => ot(this, Kl, Rf).call(this, $), e.record_place = () => ot(this, Jl, Pf).call(this), e.save = ($) => ot(this, Ql, Af).call(this, $), t.oCfg.debug.token && rt(this, Js, ($) => console.log(`\u{1F331} \u30C8\u30FC\u30AF\u30F3 fn:${z(this, ee)} idx:${z(this, Ht)} ln:${z(this, fe)} token\u3010${$}\u3011`)), R.defTmp("const.sn.vctCallStk.length", () => z(this, ce).length), z(this, ui).setEscape(t.oCfg.init.escape), CmnLib.isDbg) {
34215
+ }), rt(this, gr, []), rt(this, Oe, -1), e.let_ml = ($) => ot(this, Ll, ff).call(this, $), e.dump_stack = () => ot(this, Fl, df).call(this), e.dump_script = ($) => ot(this, Bl, pf).call(this, $), e.else = e.elsif = e.endif = () => ot(this, $l, vf).call(this), e.if = ($) => ot(this, kl, gf).call(this, $), e.call = ($) => ot(this, Gl, _f).call(this, $), e.jump = ($) => ot(this, Ul, mf).call(this, $), e.page = ($) => ot(this, Hl, yf).call(this, $), e.pop_stack = ($) => ot(this, zl, bf).call(this, $), e.return = ($) => ot(this, Ro, Nh).call(this, $), e.bracket2macro = ($) => ot(this, Wl, Sf).call(this, $), e.char2macro = ($) => ot(this, Yl, Cf).call(this, $), e.endmacro = ($) => ot(this, Ro, Nh).call(this, $), e.macro = ($) => ot(this, ql, If).call(this, $), e.load = ($) => ot(this, Zl, wf).call(this, $), e.reload_script = ($) => ot(this, Kl, Rf).call(this, $), e.record_place = () => ot(this, Jl, Pf).call(this), e.save = ($) => ot(this, Ql, Af).call(this, $), t.oCfg.debug.token && rt(this, Js, ($) => console.log(`\u{1F331} \u30C8\u30FC\u30AF\u30F3 fn:${z(this, ee)} idx:${z(this, Ht)} ln:${z(this, fe)} token\u3010${$}\u3011`)), R.defTmp("const.sn.vctCallStk.length", () => z(this, ce).length), z(this, li).setEscape(t.oCfg.init.escape), CmnLib.isDbg) {
34211
34216
  B.addHook((U, H) => {
34212
34217
  var V, W;
34213
34218
  return (W = (V = z(this, ki))[U]) == null ? void 0 : W.call(V, H);
@@ -34220,7 +34225,7 @@ const tr = class {
34220
34225
  const H = U.hBreakpoint.hFn2hLineBP;
34221
34226
  for (const V in H)
34222
34227
  ot(this, So, Rh).call(this, V, H[V]);
34223
- if (rt(tr, hi, {}), U.hBreakpoint.aFunc.forEach((V) => z(tr, hi)[V.name] = 1), U.stopOnEntry) {
34228
+ if (rt(tr, ci, {}), U.hBreakpoint.aFunc.forEach((V) => z(tr, ci)[V.name] = 1), U.stopOnEntry) {
34224
34229
  for (; ; ) {
34225
34230
  let V = this.nextToken();
34226
34231
  if (!V)
@@ -34312,7 +34317,7 @@ const tr = class {
34312
34317
  const e = t.split(`
34313
34318
  `).slice(-z(this, Zs)), o = e.length;
34314
34319
  console.group(`\u{1F95F} Error line (from ${o} rows before) fn:${z(this, ee)}`);
34315
- const R = String(z(this, fe)).length, N = ot(this, ci, Yi).call(this, z(this, Xt), z(this, Ht));
34320
+ const R = String(z(this, fe)).length, N = ot(this, fi, qi).call(this, z(this, Xt), z(this, Ht));
34316
34321
  for (let D = 0; D < o; ++D) {
34317
34322
  const L = z(this, fe) - o + D + 1, B = `${String(L).padStart(R, " ")}: %c`, $ = e[D], U = $.length > 75 ? $.slice(0, 75) + "\u2026" : $;
34318
34323
  D === o - 1 ? console.info(
@@ -34328,7 +34333,7 @@ const tr = class {
34328
34333
  rt(this, Ht, t.idx), rt(this, fe, t.ln), this.runAnalyze();
34329
34334
  }
34330
34335
  get isKidoku() {
34331
- return z(this, Hr);
34336
+ return z(this, zr);
34332
34337
  }
34333
34338
  get isNextKidoku() {
34334
34339
  let t = z(this, ee), e = z(this, Ht), o = z(this, Xt).len;
@@ -34342,13 +34347,13 @@ const tr = class {
34342
34347
  return !R || e === o ? !1 : R.search(e);
34343
34348
  }
34344
34349
  get normalWait() {
34345
- return z(this, Hr) ? this.val.getVal("sys:sn.tagCh.doWait_Kidoku") ? uint(this.val.getVal("sys:sn.tagCh.msecWait_Kidoku")) : 0 : this.val.getVal("sys:sn.tagCh.doWait") ? uint(this.val.getVal("sys:sn.tagCh.msecWait")) : 0;
34350
+ return z(this, zr) ? this.val.getVal("sys:sn.tagCh.doWait_Kidoku") ? uint(this.val.getVal("sys:sn.tagCh.msecWait_Kidoku")) : 0 : this.val.getVal("sys:sn.tagCh.doWait") ? uint(this.val.getVal("sys:sn.tagCh.msecWait")) : 0;
34346
34351
  }
34347
34352
  get skip4page() {
34348
- return z(this, Dn);
34353
+ return z(this, Ln);
34349
34354
  }
34350
34355
  recodePage() {
34351
- if (rt(this, Dn, !1), !this.val.getVal("save:sn.doRecLog"))
34356
+ if (rt(this, Ln, !1), !this.val.getVal("save:sn.doRecLog"))
34352
34357
  return;
34353
34358
  const { fn: t, idx: e } = ot(this, ia, su).call(this), o = e - 1, R = o + ":" + t, N = z(this, gr).findIndex((D) => D.key === R);
34354
34359
  if (N > -1) {
@@ -34377,8 +34382,8 @@ const tr = class {
34377
34382
  e = D.fn, o = D.idx;
34378
34383
  } else
34379
34384
  e = z(this, ee), o = z(this, Ht);
34380
- t[":path"] = z(this, li).call(this, e);
34381
- const N = ot(this, ci, Yi).call(this, z(this, je)[e], o);
34385
+ t[":path"] = z(this, hi).call(this, e);
34386
+ const N = ot(this, fi, qi).call(this, z(this, je)[e], o);
34382
34387
  t[":ln"] = N.ln, t[":col_s"] = N.col_s, t[":col_e"] = N.col_e;
34383
34388
  const M = o - 1;
34384
34389
  t[":idx_tkn"] = M, t[":token"] = z(this, je)[e].aToken[M], this.sys.send2Dbg("_recodeDesign", t);
@@ -34388,41 +34393,41 @@ const tr = class {
34388
34393
  }
34389
34394
  };
34390
34395
  let ScriptIterator = tr;
34391
- Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(), ce = new WeakMap(), ui = new WeakMap(), So = new WeakSet(), Rh = function(t, e) {
34392
- z(tr, An)[z(this, li).call(this, t)] = e;
34393
- }, ki = new WeakMap(), Rn = new WeakMap(), Nl = new WeakMap(), li = new WeakMap(), Co = new WeakSet(), Ph = function(t) {
34394
- if (ot(this, Pn, xa).call(this))
34396
+ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(), ce = new WeakMap(), li = new WeakMap(), So = new WeakSet(), Rh = function(t, e) {
34397
+ z(tr, On)[z(this, hi).call(this, t)] = e;
34398
+ }, ki = new WeakMap(), Pn = new WeakMap(), Nl = new WeakMap(), hi = new WeakMap(), Co = new WeakSet(), Ph = function(t) {
34399
+ if (ot(this, An, xa).call(this))
34395
34400
  return;
34396
34401
  const e = z(this, Xt).aToken[z(this, Ht) - z(this, Gi, Kn)];
34397
- z(this, Mn).test(e) ? ot(this, Io, Ah).call(this, !1) : (this.sys.callHook("stopOnStep", {}), z(this, ki).stepin(t));
34402
+ z(this, Dn).test(e) ? ot(this, Io, Ah).call(this, !1) : (this.sys.callHook("stopOnStep", {}), z(this, ki).stepin(t));
34398
34403
  }, Io = new WeakSet(), Ah = function(t) {
34399
34404
  this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), rt(this, Vs, z(this, ce).length - (t ? 1 : 0)), rt(this, Ht, z(this, Ht) - z(this, Gi, Kn)), rt(this, xe, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
34400
34405
  }, Vs = new WeakMap(), Gi = new WeakSet(), Kn = function() {
34401
34406
  return z(this, xe) === 2 || z(this, xe) === 4 ? 1 : 0;
34402
- }, Pn = new WeakSet(), xa = function() {
34407
+ }, An = new WeakSet(), xa = function() {
34403
34408
  return z(this, Ht) < z(this, Xt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "\u30B9\u30AF\u30EA\u30D7\u30C8\u7D42\u7AEF\u3067\u3059"), !0);
34404
- }, An = new WeakMap(), hi = new WeakMap(), xe = new WeakMap(), Ml = new WeakSet(), hf = function(t) {
34409
+ }, On = new WeakMap(), ci = new WeakMap(), xe = new WeakMap(), Ml = new WeakSet(), hf = function(t) {
34405
34410
  switch (z(this, xe)) {
34406
34411
  case 6:
34407
- ot(this, On, Ta).call(this), rt(this, xe, 7);
34412
+ ot(this, Nn, Ta).call(this), rt(this, xe, 7);
34408
34413
  break;
34409
34414
  case 7:
34410
34415
  if (z(this, ce).length !== z(this, Vs))
34411
34416
  break;
34412
34417
  return rt(this, xe, 4), this.main.setLoop(!1, "\u30B9\u30C6\u30C3\u30D7\u5B9F\u884C"), this.sys.send2Dbg("stopOnStep", {}), !0;
34413
34418
  case 5:
34414
- ot(this, On, Ta).call(this), rt(this, xe, 4);
34419
+ ot(this, Nn, Ta).call(this), rt(this, xe, 4);
34415
34420
  break;
34416
34421
  case 4:
34417
- return ot(this, On, Ta).call(this), this.main.setLoop(!1, "\u30B9\u30C6\u30C3\u30D7\u5B9F\u884C"), this.sys.send2Dbg("stopOnStep", {}), !0;
34422
+ return ot(this, Nn, Ta).call(this), this.main.setLoop(!1, "\u30B9\u30C6\u30C3\u30D7\u5B9F\u884C"), this.sys.send2Dbg("stopOnStep", {}), !0;
34418
34423
  case 3:
34419
- ot(this, On, Ta).call(this), rt(this, xe, 0);
34424
+ ot(this, Nn, Ta).call(this), rt(this, xe, 0);
34420
34425
  break;
34421
34426
  default:
34422
- if (tagToken2Name(t) in z(tr, hi))
34427
+ if (tagToken2Name(t) in z(tr, ci))
34423
34428
  return rt(this, xe, 2), this.main.setLoop(!1, `\u95A2\u6570 ${t} \u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnBreakpoint", {}), this.sys.send2Dbg("stopOnBreakpoint", {}), !0;
34424
34429
  {
34425
- const e = z(tr, An)[z(this, li).call(this, z(this, ee))];
34430
+ const e = z(tr, On)[z(this, hi).call(this, z(this, ee))];
34426
34431
  if (!e)
34427
34432
  break;
34428
34433
  const o = e[z(this, fe)];
@@ -34441,22 +34446,22 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34441
34446
  return !0;
34442
34447
  }
34443
34448
  return !1;
34444
- }, On = new WeakSet(), Ta = function() {
34449
+ }, Nn = new WeakSet(), Ta = function() {
34445
34450
  var e;
34446
- const t = (e = z(tr, An)[getFn(z(this, ee))]) == null ? void 0 : e[z(this, fe)];
34451
+ const t = (e = z(tr, On)[getFn(z(this, ee))]) == null ? void 0 : e[z(this, fe)];
34447
34452
  t != null && t.hitCondition && --t.hitCondition;
34448
34453
  }, Dl = new WeakSet(), cf = function() {
34449
34454
  var $, U;
34450
- const t = z(this, xe) === 3 ? 1 : 0, e = z(this, Xt).aToken[z(this, Ht) - 1 + t], o = z(this, li).call(this, z(this, ee)), R = tagToken2Name(e), N = R ? `[${R}]` : e, M = ($ = this.val.getVal("mp:const.sn.macro")) != null ? $ : "{}";
34455
+ const t = z(this, xe) === 3 ? 1 : 0, e = z(this, Xt).aToken[z(this, Ht) - 1 + t], o = z(this, hi).call(this, z(this, ee)), R = tagToken2Name(e), N = R ? `[${R}]` : e, M = ($ = this.val.getVal("mp:const.sn.macro")) != null ? $ : "{}";
34451
34456
  if (z(this, Ht) === 0)
34452
34457
  return [{ fn: o, ln: 1, col: 1, nm: N, ma: M }];
34453
- const D = ot(this, ci, Yi).call(this, z(this, Xt), z(this, Ht)), L = [{ fn: o, ln: D.ln, col: D.col_s + 1, nm: N, ma: M }], B = z(this, ce).length;
34458
+ const D = ot(this, fi, qi).call(this, z(this, Xt), z(this, Ht)), L = [{ fn: o, ln: D.ln, col: D.col_s + 1, nm: N, ma: M }], B = z(this, ce).length;
34454
34459
  if (B === 0)
34455
34460
  return L;
34456
34461
  for (let H = B - 1; H >= 0; --H) {
34457
- const V = z(this, ce)[H], W = z(this, je)[V.fn], X = W.aToken[V.idx - 1], Y = ot(this, ci, Yi).call(this, W, V.idx), q = tagToken2Name(X);
34462
+ const V = z(this, ce)[H], W = z(this, je)[V.fn], X = W.aToken[V.idx - 1], Y = ot(this, fi, qi).call(this, W, V.idx), q = tagToken2Name(X);
34458
34463
  L.push({
34459
- fn: z(this, li).call(this, V.fn),
34464
+ fn: z(this, hi).call(this, V.fn),
34460
34465
  ln: Y.ln,
34461
34466
  col: Y.col_s + 1,
34462
34467
  nm: q ? `[${q}]` : X,
@@ -34478,20 +34483,20 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34478
34483
  var R;
34479
34484
  if (z(this, Ht) === 0)
34480
34485
  return console.group(`\u{1F95F} [dump_stack] \u30B9\u30AF\u30EA\u30D7\u30C8\u73FE\u5728\u5730 fn:${z(this, ee)} line:${1} col:${0}`), console.groupEnd(), !1;
34481
- const t = ot(this, ci, Yi).call(this, z(this, Xt), z(this, Ht)), e = `\u30B9\u30AF\u30EA\u30D7\u30C8\u73FE\u5728\u5730 fn:${z(this, ee)} line:${t.ln} col:${t.col_s + 1}`;
34486
+ const t = ot(this, fi, qi).call(this, z(this, Xt), z(this, Ht)), e = `\u30B9\u30AF\u30EA\u30D7\u30C8\u73FE\u5728\u5730 fn:${z(this, ee)} line:${t.ln} col:${t.col_s + 1}`;
34482
34487
  console.group(`\u{1F95F} [dump_stack] ${e}`);
34483
34488
  const o = z(this, ce).length;
34484
34489
  if (o > 0) {
34485
34490
  console.info(e);
34486
34491
  for (let N = o - 1; N >= 0; --N) {
34487
- const M = z(this, ce)[N], D = M.csArg[":hMp"], L = D ? D[":\u30BF\u30B0\u540D"] : void 0, B = (R = M.csArg[":\u30BF\u30B0\u540D"]) != null ? R : "", $ = ot(this, ci, Yi).call(this, z(this, je)[M.fn], M.idx);
34492
+ const M = z(this, ce)[N], D = M.csArg[":hMp"], L = D ? D[":\u30BF\u30B0\u540D"] : void 0, B = (R = M.csArg[":\u30BF\u30B0\u540D"]) != null ? R : "", $ = ot(this, fi, qi).call(this, z(this, je)[M.fn], M.idx);
34488
34493
  console.info(
34489
34494
  `${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`
34490
34495
  );
34491
34496
  }
34492
34497
  }
34493
34498
  return console.groupEnd(), !1;
34494
- }, ci = new WeakSet(), Yi = function(t, e) {
34499
+ }, fi = new WeakSet(), qi = function(t, e) {
34495
34500
  const o = { ln: 1, col_s: 0, col_e: 0 };
34496
34501
  if (!t)
34497
34502
  return o;
@@ -34589,11 +34594,11 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34589
34594
  }, Gl = new WeakSet(), _f = function(t) {
34590
34595
  argChk_Boolean(t, "count", !1) || ot(this, Bo, Fh).call(this);
34591
34596
  const { fn: e } = t;
34592
- return e && z(this, Rn).call(this, e), ot(this, wo, Oh).call(this, { ":hEvt1Time": z(this, Ws).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), ot(this, fi, qi).call(this, e, t.label), !0;
34597
+ return e && z(this, Pn).call(this, e), ot(this, wo, Oh).call(this, { ":hEvt1Time": z(this, Ws).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), ot(this, di, Zi).call(this, e, t.label), !0;
34593
34598
  }, wo = new WeakSet(), Oh = function(t) {
34594
- z(this, Xt).aLNum[z(this, Ht)] = z(this, fe), z(this, Ks) || (t[":resvToken"] = "", ot(this, Nn, Sa).call(this)), z(this, ce).push(new CallStack(z(this, ee), z(this, Ht), t)), z(this, qe).unshift(-1);
34599
+ z(this, Xt).aLNum[z(this, Ht)] = z(this, fe), z(this, Ks) || (t[":resvToken"] = "", ot(this, Mn, Sa).call(this)), z(this, ce).push(new CallStack(z(this, ee), z(this, Ht), t)), z(this, qe).unshift(-1);
34595
34600
  }, Ul = new WeakSet(), mf = function(t) {
34596
- return argChk_Boolean(t, "count", !0) || ot(this, Bo, Fh).call(this), z(this, qe)[0] = -1, ot(this, fi, qi).call(this, t.fn, t.label), !0;
34601
+ return argChk_Boolean(t, "count", !0) || ot(this, Bo, Fh).call(this), z(this, qe)[0] = -1, ot(this, di, Zi).call(this, t.fn, t.label), !0;
34597
34602
  }, Hl = new WeakSet(), yf = function(t) {
34598
34603
  if (z(this, Oe) === -1)
34599
34604
  return !1;
@@ -34623,7 +34628,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34623
34628
  rt(this, ce, []);
34624
34629
  else if (!z(this, ce).pop())
34625
34630
  throw "[pop_stack] \u30B9\u30BF\u30C3\u30AF\u304C\u7A7A\u3067\u3059";
34626
- return ot(this, Nn, Sa).call(this), rt(this, qe, [-1]), this.val.setMp({}), !1;
34631
+ return ot(this, Mn, Sa).call(this), rt(this, qe, [-1]), this.val.setMp({}), !1;
34627
34632
  }, Ro = new WeakSet(), Nh = function(t) {
34628
34633
  const e = z(this, ce).pop();
34629
34634
  if (!e)
@@ -34633,17 +34638,17 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34633
34638
  const R = o[":hMp"];
34634
34639
  R && this.val.setMp(R);
34635
34640
  const N = o[":resvToken"];
34636
- N ? this.nextToken = () => (ot(this, Nn, Sa).call(this), N) : ot(this, Nn, Sa).call(this), o[":hEvt1Time"] && z(this, Ws).pushLocalEvts(o[":hEvt1Time"]);
34641
+ N ? this.nextToken = () => (ot(this, Mn, Sa).call(this), N) : ot(this, Mn, Sa).call(this), o[":hEvt1Time"] && z(this, Ws).pushLocalEvts(o[":hEvt1Time"]);
34637
34642
  const { fn: M, label: D } = t;
34638
- return M || D ? (ot(this, fi, qi).call(this, M, D), !0) : e.fn in z(this, je) ? (ot(this, Mo, Lh).call(this, e), !1) : (ot(this, fi, qi).call(this, e.fn, "", e.idx), !0);
34639
- }, Ks = new WeakMap(), Nn = new WeakSet(), Sa = function() {
34643
+ return M || D ? (ot(this, di, Zi).call(this, M, D), !0) : e.fn in z(this, je) ? (ot(this, Mo, Lh).call(this, e), !1) : (ot(this, di, Zi).call(this, e.fn, "", e.idx), !0);
34644
+ }, Ks = new WeakMap(), Mn = new WeakSet(), Sa = function() {
34640
34645
  rt(this, Ks, ""), this.nextToken = ot(this, Po, Mh);
34641
- }, zi = new WeakMap(), fi = new WeakSet(), qi = function(t = "", e = "", o = 0) {
34646
+ }, zi = new WeakMap(), di = new WeakSet(), Zi = function(t = "", e = "", o = 0) {
34642
34647
  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"), rt(this, zi, e), z(this, zi).slice(0, 2) !== "**" && rt(this, Ht, o)) : (rt(this, zi, ""), rt(this, Ht, o)), !t) {
34643
34648
  this.analyzeInit();
34644
34649
  return;
34645
34650
  }
34646
- const R = z(this, Rn).call(this, t);
34651
+ const R = z(this, Pn).call(this, t);
34647
34652
  if (t === z(this, ee)) {
34648
34653
  this.analyzeInit();
34649
34654
  return;
@@ -34736,7 +34741,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34736
34741
  }
34737
34742
  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");
34738
34743
  }, je = new WeakMap(), Vl = new WeakSet(), xf = function(t) {
34739
- const e = z(this, ui).matchToken(t.replace(/(\r\n|\r)/g, `
34744
+ const e = z(this, li).matchToken(t.replace(/(\r\n|\r)/g, `
34740
34745
  `));
34741
34746
  for (let R = e.length - 1; R >= 0; --R) {
34742
34747
  const N = e[R];
@@ -34751,7 +34756,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34751
34756
  rt(this, Xt, { aToken: e, len: e.length, aLNum: [] });
34752
34757
  let o = "";
34753
34758
  try {
34754
- o = "ScriptIterator.replaceScriptChar2macro", z(this, ui).replaceScr_C2M_And_let_ml(z(this, Xt)), o = "ScriptIterator.replaceScript_Wildcard", z(this, Fo).call(this);
34759
+ o = "ScriptIterator.replaceScriptChar2macro", z(this, li).replaceScr_C2M_And_let_ml(z(this, Xt)), o = "ScriptIterator.replaceScript_Wildcard", z(this, Fo).call(this);
34755
34760
  } catch (R) {
34756
34761
  R instanceof Error ? o += `\u4F8B\u5916 mes=${R.message}(${R.name})` : o = R, this.main.errScript(o, !1);
34757
34762
  }
@@ -34768,14 +34773,14 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34768
34773
  t.record(z(this, Ht));
34769
34774
  return;
34770
34775
  }
34771
- rt(this, Hr, t.search(z(this, Ht))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", z(this, Hr)), !z(this, Hr) && t.record(z(this, Ht));
34772
- }, Hr = new WeakMap(), Bo = new WeakSet(), Fh = function() {
34776
+ rt(this, zr, t.search(z(this, Ht))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", z(this, zr)), !z(this, zr) && t.record(z(this, Ht));
34777
+ }, zr = new WeakMap(), Bo = new WeakSet(), Fh = function() {
34773
34778
  var t;
34774
- (t = this.val.getAreaKidoku(z(this, ee))) == null || t.erase(z(this, Ht)), rt(this, Hr, !1);
34779
+ (t = this.val.getAreaKidoku(z(this, ee))) == null || t.erase(z(this, Ht)), rt(this, zr, !1);
34775
34780
  }, Wl = new WeakSet(), Sf = function(t) {
34776
- return z(this, ui).bracket2macro(t, z(this, Xt), z(this, Ht)), !1;
34781
+ return z(this, li).bracket2macro(t, z(this, Xt), z(this, Ht)), !1;
34777
34782
  }, Yl = new WeakSet(), Cf = function(t) {
34778
- return z(this, ui).char2macro(t, this.hTag, z(this, Xt), z(this, Ht)), !1;
34783
+ return z(this, li).char2macro(t, this.hTag, z(this, Xt), z(this, Ht)), !1;
34779
34784
  }, ql = new WeakSet(), If = function(t) {
34780
34785
  var N, M, D;
34781
34786
  const { name: e } = t;
@@ -34784,7 +34789,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34784
34789
  if (e in this.hTag)
34785
34790
  throw `[${e}]\u306F\u30BF\u30B0\u304B\u3059\u3067\u306B\u5B9A\u7FA9\u6E08\u307F\u306E\u30DE\u30AF\u30ED\u3067\u3059`;
34786
34791
  const o = z(this, fe), R = new CallStack(z(this, ee), z(this, Ht));
34787
- for (rt(this, ea, z(this, ea) + ("|" + e)), rt(this, Mn, new RegExp(`\\[(${z(this, ea)})\\b`)), this.hTag[e] = (L) => (L.design_unit = t.design_unit, ot(this, wo, Oh).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", z(this, ee)), rt(this, fe, o), ot(this, Mo, Lh).call(this, R), !1); z(this, Ht) < z(this, Xt).len; ++Pe(this, Ht)._) {
34792
+ for (rt(this, ea, z(this, ea) + ("|" + e)), rt(this, Dn, new RegExp(`\\[(${z(this, ea)})\\b`)), this.hTag[e] = (L) => (L.design_unit = t.design_unit, ot(this, wo, Oh).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", z(this, ee)), rt(this, fe, o), ot(this, Mo, Lh).call(this, R), !1); z(this, Ht) < z(this, Xt).len; ++Pe(this, Ht)._) {
34788
34793
  (N = z(this, Xt).aLNum)[M = z(this, Ht)] || (N[M] = z(this, fe));
34789
34794
  const L = z(this, Xt).aToken[z(this, Ht)];
34790
34795
  if (L.search(z(this, Qs)) > -1)
@@ -34793,7 +34798,7 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34793
34798
  B === 10 ? rt(this, fe, z(this, fe) + L.length) : B === 91 && rt(this, fe, z(this, fe) + ((D = L.match(/\n/g)) != null ? D : []).length);
34794
34799
  }
34795
34800
  throw `\u30DE\u30AF\u30ED[${e}]\u5B9A\u7FA9\u306E\u7D42\u7AEF\u30FB[endmacro]\u304C\u3042\u308A\u307E\u305B\u3093`;
34796
- }, ea = new WeakMap(), Mn = new WeakMap(), Zl = new WeakSet(), wf = function(t) {
34801
+ }, ea = new WeakMap(), Dn = new WeakMap(), Zl = new WeakSet(), wf = function(t) {
34797
34802
  if (!("place" in t))
34798
34803
  throw "place\u306F\u5FC5\u9808\u3067\u3059";
34799
34804
  const e = Number(t.place);
@@ -34818,16 +34823,16 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34818
34823
  const N = String(this.val.getVal("save:const.sn.scriptFn")), M = Number(this.val.getVal("save:const.sn.scriptIdx"));
34819
34824
  return rt(this, qe, [...z(this, vr).aIfStk]), rt(this, ce, []), z(this, or).cover(!0), z(this, or).stopAllTw(), "index" in t ? (z(this, or).playback(z(this, vr).hPages, () => {
34820
34825
  var D, L;
34821
- z(this, or).cover(!1), rt(this, Dn, !0), ot(this, fi, qi).call(this, (D = t.fn) != null ? D : N, "", (L = t.index) != null ? L : M);
34826
+ z(this, or).cover(!1), rt(this, Ln, !0), ot(this, di, Zi).call(this, (D = t.fn) != null ? D : N, "", (L = t.index) != null ? L : M);
34822
34827
  }), !0) : (delete z(this, je)[N], z(this, or).playback(
34823
34828
  z(this, vr).hPages,
34824
34829
  "label" in t ? () => {
34825
34830
  z(this, or).cover(!1), rt(this, ee, N), rt(this, Ht, M), this.hTag.call({ fn: t.fn, label: t.label });
34826
34831
  } : () => {
34827
- z(this, or).cover(!1), ot(this, fi, qi).call(this, N, "", M);
34832
+ z(this, or).cover(!1), ot(this, di, Zi).call(this, N, "", M);
34828
34833
  }
34829
34834
  ), !0);
34830
- }, Dn = new WeakMap(), Kl = new WeakSet(), Rf = function(t) {
34835
+ }, Ln = new WeakMap(), Kl = new WeakSet(), Rf = function(t) {
34831
34836
  const e = this.val.getMark(0);
34832
34837
  return delete z(this, je)[getFn(e.hSave["const.sn.scriptFn"])], t.do_rec = !1, ot(this, ra, nu).call(this, t, e, !1);
34833
34838
  }, vr = new WeakMap(), Jl = new WeakSet(), Pf = function() {
@@ -34858,8 +34863,8 @@ Xt = new WeakMap(), ee = new WeakMap(), Ht = new WeakMap(), fe = new WeakMap(),
34858
34863
  delete t[":\u30BF\u30B0\u540D"], delete t.place, t.text = ((R = t.text) != null ? R : "").replace(/^(<br\/>)+/, ""), z(this, vr).json = t, this.val.setMark(e, z(this, vr));
34859
34864
  const o = Number(this.val.getVal("sys:const.sn.save.place"));
34860
34865
  return e === o && this.val.setVal_Nochk("sys", "const.sn.save.place", o + 1), !1;
34861
- }, gr = new WeakMap(), Oe = new WeakMap(), it(ScriptIterator, Nl, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), it(ScriptIterator, An, {}), it(ScriptIterator, hi, {});
34862
- var Ze, Ke, Fe, _r, di, Ln, Be, $o, pi, na, Vi, sa, aa, Fn, th, Of, oa, ua, Bn, la, au, Xi, $n;
34866
+ }, gr = new WeakMap(), Oe = new WeakMap(), it(ScriptIterator, Nl, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), it(ScriptIterator, On, {}), it(ScriptIterator, ci, {});
34867
+ var Ze, Ke, Fe, _r, pi, Fn, Be, $o, vi, na, Vi, sa, aa, Bn, th, Of, oa, ua, $n, la, au, Xi, kn;
34863
34868
  class Main {
34864
34869
  constructor(t) {
34865
34870
  it(this, th);
@@ -34868,30 +34873,30 @@ class Main {
34868
34873
  it(this, Ke, void 0);
34869
34874
  it(this, Fe, void 0);
34870
34875
  it(this, _r, void 0);
34871
- it(this, di, void 0);
34872
- it(this, Ln, void 0);
34876
+ it(this, pi, void 0);
34877
+ it(this, Fn, void 0);
34873
34878
  it(this, Be, void 0);
34874
34879
  it(this, $o, void 0);
34875
- it(this, pi, void 0);
34880
+ it(this, vi, void 0);
34876
34881
  it(this, na, void 0);
34877
34882
  it(this, Vi, void 0);
34878
34883
  it(this, sa, void 0);
34879
34884
  it(this, aa, void 0);
34880
- it(this, Fn, void 0);
34885
+ it(this, Bn, void 0);
34881
34886
  it(this, oa, void 0);
34882
34887
  it(this, ua, void 0);
34883
- it(this, Bn, void 0);
34884
- it(this, Xi, void 0);
34885
34888
  it(this, $n, void 0);
34889
+ it(this, Xi, void 0);
34890
+ it(this, kn, void 0);
34886
34891
  this.sys = t, rt(this, Fe, /* @__PURE__ */ Object.create(null)), rt(this, Vi, () => {
34887
- }), rt(this, sa, new AnalyzeTagArg()), rt(this, aa, !1), rt(this, Fn, "skynovel"), rt(this, oa, () => z(this, Vi).call(this)), rt(this, ua, (e = ot(this, la, au)) => {
34888
- z(this, Xi) || (z(this, pi).clearBreak(), rt(this, Vi, e), this.resume = (o = ot(this, la, au)) => {
34892
+ }), rt(this, sa, new AnalyzeTagArg()), rt(this, aa, !1), rt(this, Bn, "skynovel"), rt(this, oa, () => z(this, Vi).call(this)), rt(this, ua, (e = ot(this, la, au)) => {
34893
+ z(this, Xi) || (z(this, vi).clearBreak(), rt(this, Vi, e), this.resume = (o = ot(this, la, au)) => {
34889
34894
  rt(this, Vi, o);
34890
34895
  }, z(this, Be).noticeBreak(!1));
34891
34896
  }), this.resume = z(this, ua), this.stop = () => {
34892
34897
  rt(this, Vi, () => {
34893
34898
  }), this.resume = z(this, ua), z(this, Be).noticeBreak(!0);
34894
- }, rt(this, Bn, !0), rt(this, Xi, !1), this.isDestroyed = () => z(this, Xi), skipHello(), Config.generate(t).then((e) => rt(this, Ze, e)).then(() => ot(this, th, Of).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
34899
+ }, rt(this, $n, !0), rt(this, Xi, !1), this.isDestroyed = () => z(this, Xi), skipHello(), Config.generate(t).then((e) => rt(this, Ze, e)).then(() => ot(this, th, Of).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
34895
34900
  }
34896
34901
  errScript(t, e = !0) {
34897
34902
  if (this.stop(), DebugMng.myTrace(t), CmnLib.debugLog && console.log("\u{1F35C} SKYNovel err!"), e)
@@ -34906,16 +34911,16 @@ class Main {
34906
34911
  z(this, _r).setVal_Nochk("tmp", "sn.eventArg", (e = t.arg) != null ? e : ""), z(this, _r).setVal_Nochk("tmp", "sn.eventLabel", (o = t.label) != null ? o : ""), argChk_Boolean(t, "call", !1) ? (z(this, Be).subIdxToken(), this.resume(() => z(this, Fe).call(t))) : (z(this, Fe).clear_event({}), this.resume(() => z(this, Fe).jump(t)));
34907
34912
  }
34908
34913
  setLoop(t, e = "") {
34909
- rt(this, Bn, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}\u4E2D` : "");
34914
+ rt(this, $n, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}\u4E2D` : "");
34910
34915
  }
34911
34916
  fire(t, e) {
34912
34917
  z(this, na).fire(t, e);
34913
34918
  }
34914
34919
  async destroy(t = 0) {
34915
- z(this, Xi) || (rt(this, Xi, !0), z(this, aa) && (this.stop(), rt(this, Bn, !1), z(this, pi).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), rt(this, Fe, {}), z(this, na).destroy(), z(this, Be).destroy(), z(this, pi).destroy(), z(this, $o).destroy(), z(this, Ke).ticker.remove(z(this, oa)), z(this, $n) && z(this, Ke) && z(this, Ke).view.parentNode.appendChild(z(this, $n)), clearTextureCache(), z(this, Ke).destroy(!0)));
34920
+ z(this, Xi) || (rt(this, Xi, !0), z(this, aa) && (this.stop(), rt(this, $n, !1), z(this, vi).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), rt(this, Fe, {}), z(this, na).destroy(), z(this, Be).destroy(), z(this, vi).destroy(), z(this, $o).destroy(), z(this, Ke).ticker.remove(z(this, oa)), z(this, kn) && z(this, Ke) && z(this, Ke).view.parentNode.appendChild(z(this, kn)), clearTextureCache(), z(this, Ke).destroy(!0)));
34916
34921
  }
34917
34922
  }
34918
- Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(), di = new WeakMap(), Ln = new WeakMap(), Be = new WeakMap(), $o = new WeakMap(), pi = new WeakMap(), na = new WeakMap(), Vi = new WeakMap(), sa = new WeakMap(), aa = new WeakMap(), Fn = new WeakMap(), th = new WeakSet(), Of = async function() {
34923
+ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(), pi = new WeakMap(), Fn = new WeakMap(), Be = new WeakMap(), $o = new WeakMap(), vi = new WeakMap(), na = new WeakMap(), Vi = new WeakMap(), sa = new WeakMap(), aa = new WeakMap(), Bn = new WeakMap(), th = new WeakSet(), Of = async function() {
34919
34924
  var R, N, M;
34920
34925
  const t = (R = document.createElement("canvas")) == null ? void 0 : R.getContext("2d");
34921
34926
  if (!t)
@@ -34927,11 +34932,11 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
34927
34932
  backgroundColor: parseColor(String(z(this, Ze).oCfg.init.bg_color)),
34928
34933
  resolution: (N = globalThis.devicePixelRatio) != null ? N : 1,
34929
34934
  autoResize: !0
34930
- }, o = document.getElementById(z(this, Fn));
34931
- o && (rt(this, $n, o.cloneNode(!0)), z(this, $n).id = z(this, Fn), e.view = o), rt(this, Ke, new Application(e)), o || (document.body.appendChild(z(this, Ke).view), z(this, Ke).view.id = z(this, Fn)), rt(this, _r, new Variable(z(this, Ze), z(this, Fe))), rt(this, di, new PropParser(z(this, _r), (M = z(this, Ze).oCfg.init.escape) != null ? M : "\\")), await Promise.allSettled(this.sys.init(z(this, Fe), z(this, Ke), z(this, _r), this)), z(this, Fe).title({ text: z(this, Ze).oCfg.book.title || "SKYNovel" }), rt(this, Ln, new SoundMng(z(this, Ze), z(this, Fe), z(this, _r), this, this.sys)), rt(this, Be, new ScriptIterator(z(this, Ze), z(this, Fe), this, z(this, _r), z(this, sa), () => ot(this, la, au).call(this), z(this, di), z(this, Ln), this.sys)), rt(this, $o, new DebugMng(this.sys, z(this, Fe), z(this, Be))), rt(this, pi, new LayerMng(z(this, Ze), z(this, Fe), z(this, Ke), z(this, _r), this, z(this, Be), this.sys, z(this, Ln), z(this, sa), z(this, di))), rt(this, na, new EventMng(z(this, Ze), z(this, Fe), z(this, Ke), this, z(this, pi), z(this, _r), z(this, Ln), z(this, Be), this.sys)), z(this, Ke).ticker.add(z(this, oa)), this.resumeByJumpOrCall({ fn: "main" }), rt(this, aa, !0);
34932
- }, oa = new WeakMap(), ua = new WeakMap(), Bn = new WeakMap(), la = new WeakSet(), au = function() {
34935
+ }, o = document.getElementById(z(this, Bn));
34936
+ o && (rt(this, kn, o.cloneNode(!0)), z(this, kn).id = z(this, Bn), e.view = o), rt(this, Ke, new Application(e)), o || (document.body.appendChild(z(this, Ke).view), z(this, Ke).view.id = z(this, Bn)), rt(this, _r, new Variable(z(this, Ze), z(this, Fe))), rt(this, pi, new PropParser(z(this, _r), (M = z(this, Ze).oCfg.init.escape) != null ? M : "\\")), await Promise.allSettled(this.sys.init(z(this, Fe), z(this, Ke), z(this, _r), this)), z(this, Fe).title({ text: z(this, Ze).oCfg.book.title || "SKYNovel" }), rt(this, Fn, new SoundMng(z(this, Ze), z(this, Fe), z(this, _r), this, this.sys)), rt(this, Be, new ScriptIterator(z(this, Ze), z(this, Fe), this, z(this, _r), z(this, sa), () => ot(this, la, au).call(this), z(this, pi), z(this, Fn), this.sys)), rt(this, $o, new DebugMng(this.sys, z(this, Fe), z(this, Be))), rt(this, vi, new LayerMng(z(this, Ze), z(this, Fe), z(this, Ke), z(this, _r), this, z(this, Be), this.sys, z(this, Fn), z(this, sa), z(this, pi))), rt(this, na, new EventMng(z(this, Ze), z(this, Fe), z(this, Ke), this, z(this, vi), z(this, _r), z(this, Fn), z(this, Be), this.sys)), z(this, Ke).ticker.add(z(this, oa)), this.resumeByJumpOrCall({ fn: "main" }), rt(this, aa, !0);
34937
+ }, oa = new WeakMap(), ua = new WeakMap(), $n = new WeakMap(), la = new WeakSet(), au = function() {
34933
34938
  var t;
34934
- for (; z(this, Bn); ) {
34939
+ for (; z(this, $n); ) {
34935
34940
  let e = z(this, Be).nextToken();
34936
34941
  if (!e)
34937
34942
  break;
@@ -34962,12 +34967,12 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
34962
34967
  if (z(this, Be).isBreak(e))
34963
34968
  return;
34964
34969
  const R = splitAmpersand(e.slice(1));
34965
- R.name = z(this, di).getValAmpersand(R.name), R.text = String(z(this, di).parse(R.text)), z(this, Fe).let(R);
34970
+ R.name = z(this, pi).getValAmpersand(R.name), R.text = String(z(this, pi).parse(R.text)), z(this, Fe).let(R);
34966
34971
  continue;
34967
34972
  }
34968
34973
  if (e.charAt(1) === "&")
34969
34974
  throw new Error("\u300C&\u8868\u793A&\u300D\u66F8\u5F0F\u3067\u306F\u300C&\u300D\u6307\u5B9A\u304C\u4E0D\u8981\u3067\u3059");
34970
- e = String(z(this, di).parse(e.slice(1, -1)));
34975
+ e = String(z(this, pi).parse(e.slice(1, -1)));
34971
34976
  } catch (R) {
34972
34977
  this.errScript(
34973
34978
  R instanceof Error ? `& \u5909\u6570\u64CD\u4F5C\u30FB\u8868\u793A mes=${R.message}(${R.name})` : R,
@@ -34982,7 +34987,7 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
34982
34987
  continue;
34983
34988
  }
34984
34989
  try {
34985
- z(this, pi).currentTxtlayForeNeedErr.tagCh(e);
34990
+ z(this, vi).currentTxtlayForeNeedErr.tagCh(e);
34986
34991
  } catch (R) {
34987
34992
  this.errScript(
34988
34993
  R instanceof Error ? `\u6587\u5B57\u8868\u793A mes=${R.message}(${R.name})` : R,
@@ -34992,7 +34997,7 @@ Ze = new WeakMap(), Ke = new WeakMap(), Fe = new WeakMap(), _r = new WeakMap(),
34992
34997
  }
34993
34998
  }
34994
34999
  }
34995
- }, Xi = new WeakMap(), $n = new WeakMap();
35000
+ }, Xi = new WeakMap(), kn = new WeakMap();
34996
35001
  var assign = make_assign(), create$1 = make_create(), trim$1 = make_trim(), Global$5 = typeof window < "u" ? window : commonjsGlobal$1, util$6 = {
34997
35002
  assign,
34998
35003
  create: create$1,
@@ -35541,17 +35546,17 @@ const devtools = {
35541
35546
  };
35542
35547
  main({ emitEvents: !1 });
35543
35548
  setInterval(main, 500);
35544
- var kn, ha, zr, ca;
35549
+ var Gn, ha, jr, ca;
35545
35550
  class SysWeb extends SysBase {
35546
35551
  constructor(e = {}, o = { cur: "prj/", crypto: !1, dip: "" }) {
35547
35552
  super(e, o);
35548
- it(this, kn, void 0);
35553
+ it(this, Gn, void 0);
35549
35554
  it(this, ha, void 0);
35550
- it(this, zr, void 0);
35555
+ it(this, jr, void 0);
35551
35556
  it(this, ca, void 0);
35552
- rt(this, kn, ""), rt(this, ha, ":"), this.run = async () => {
35553
- z(this, zr) && (z(this, zr).destroy(10), await new Promise((M) => setTimeout(M, 10))), rt(this, zr, new Main(this));
35554
- }, rt(this, zr, void 0), this.pathBaseCnvSnPath4Dbg = "${pathbase}/", this._export = () => ((async () => {
35557
+ rt(this, Gn, ""), rt(this, ha, ":"), this.run = async () => {
35558
+ z(this, jr) && (z(this, jr).destroy(10), await new Promise((M) => setTimeout(M, 10))), rt(this, jr, new Main(this));
35559
+ }, rt(this, jr, void 0), this.pathBaseCnvSnPath4Dbg = "${pathbase}/", this._export = () => ((async () => {
35555
35560
  const N = JSON.stringify({
35556
35561
  sys: this.data.sys,
35557
35562
  mark: this.data.mark,
@@ -35582,7 +35587,7 @@ class SysWeb extends SysBase {
35582
35587
  return globalThis.open(M, "_blank"), !1;
35583
35588
  }, rt(this, ca, {});
35584
35589
  const R = o.cur.split("/");
35585
- rt(this, kn, R.length > 2 ? R.slice(0, -2).join("/") + "/" : ""), globalThis.onload = async () => this.loaded(e, o);
35590
+ rt(this, Gn, R.length > 2 ? R.slice(0, -2).join("/") + "/" : ""), globalThis.onload = async () => this.loaded(e, o);
35586
35591
  }
35587
35592
  async loaded(e, o) {
35588
35593
  await super.loaded(e, o), document.querySelectorAll("[data-prj]").forEach((D) => {
@@ -35596,13 +35601,13 @@ class SysWeb extends SysBase {
35596
35601
  return;
35597
35602
  argChk_Boolean(CmnLib.hDip, "dbg", !1) && (CmnLib.isDbg = !0, this.fetch = (D) => fetch(D, { mode: "cors" })), this.extPort = argChk_Num(CmnLib.hDip, "port", this.extPort);
35598
35603
  const M = R.get("cur");
35599
- M && (o.cur = z(this, kn) + M + "/"), this.run();
35604
+ M && (o.cur = z(this, Gn) + M + "/"), this.run();
35600
35605
  }
35601
35606
  runSN(e) {
35602
- this.arg.cur = z(this, kn) + e + "/", z(this, ha) !== this.arg.cur && (rt(this, ha, this.arg.cur), this.run());
35607
+ this.arg.cur = z(this, Gn) + e + "/", z(this, ha) !== this.arg.cur && (rt(this, ha, this.arg.cur), this.run());
35603
35608
  }
35604
35609
  stop() {
35605
- !z(this, zr) || (z(this, zr).destroy(), rt(this, zr, void 0));
35610
+ !z(this, jr) || (z(this, jr).destroy(), rt(this, jr, void 0));
35606
35611
  }
35607
35612
  async loadPath(e, o) {
35608
35613
  await super.loadPath(e, o);
@@ -35676,7 +35681,7 @@ class SysWeb extends SysBase {
35676
35681
  D.href = URL.createObjectURL(M), D.download = e, D.click();
35677
35682
  }
35678
35683
  }
35679
- kn = new WeakMap(), ha = new WeakMap(), zr = new WeakMap(), ca = new WeakMap();
35684
+ Gn = new WeakMap(), ha = new WeakMap(), jr = new WeakMap(), ca = new WeakMap();
35680
35685
  export {
35681
35686
  CmnLib,
35682
35687
  Layer,