@famibee/skynovel 1.36.0 → 1.36.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
@@ -102,7 +102,7 @@ var commonjsGlobal$1 = typeof globalThis < "u" ? globalThis : typeof window < "u
102
102
  "Tasman",
103
103
  "KHTML",
104
104
  "Gecko"
105
- ]), St = le([
105
+ ]), St = he([
106
106
  "Adobe AIR",
107
107
  "Arora",
108
108
  "Avant Browser",
@@ -241,35 +241,35 @@ var commonjsGlobal$1 = typeof globalThis < "u" ? globalThis : typeof window < "u
241
241
  "Windows "
242
242
  ]);
243
243
  function ee(de) {
244
- return Q(de, function(he, ie) {
245
- return he || RegExp("\\b" + (ie.pattern || J(ie)) + "\\b", "i").exec(it) && (ie.label || ie);
244
+ return Q(de, function(ce, ie) {
245
+ return ce || RegExp("\\b" + (ie.pattern || J(ie)) + "\\b", "i").exec(it) && (ie.label || ie);
246
246
  });
247
247
  }
248
248
  function te(de) {
249
- return Q(de, function(he, ie, Le) {
250
- return he || (ie[Mt] || ie[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Mt)] || RegExp("\\b" + J(Le) + "(?:\\b|\\w*\\d)", "i").exec(it)) && Le;
249
+ return Q(de, function(ce, ie, Le) {
250
+ return ce || (ie[Mt] || ie[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Mt)] || RegExp("\\b" + J(Le) + "(?:\\b|\\w*\\d)", "i").exec(it)) && Le;
251
251
  });
252
252
  }
253
- function le(de) {
254
- return Q(de, function(he, ie) {
255
- return he || RegExp("\\b" + (ie.pattern || J(ie)) + "\\b", "i").exec(it) && (ie.label || ie);
253
+ function he(de) {
254
+ return Q(de, function(ce, ie) {
255
+ return ce || RegExp("\\b" + (ie.pattern || J(ie)) + "\\b", "i").exec(it) && (ie.label || ie);
256
256
  });
257
257
  }
258
258
  function we(de) {
259
- return Q(de, function(he, ie) {
259
+ return Q(de, function(ce, ie) {
260
260
  var Le = ie.pattern || J(ie);
261
- return !he && (he = RegExp("\\b" + Le + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(it)) && (he = X(he, Le, ie.label || ie)), he;
261
+ return !ce && (ce = RegExp("\\b" + Le + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(it)) && (ce = X(ce, Le, ie.label || ie)), ce;
262
262
  });
263
263
  }
264
264
  function Be(de) {
265
- return Q(de, function(he, ie) {
265
+ return Q(de, function(ce, ie) {
266
266
  var Le = ie.pattern || J(ie);
267
- return !he && (he = RegExp("\\b" + Le + " *\\d+[.\\w_]*", "i").exec(it) || RegExp("\\b" + Le + " *\\w+-[\\w]*", "i").exec(it) || RegExp("\\b" + Le + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(it)) && ((he = String(ie.label && !RegExp(Le, "i").test(ie.label) ? ie.label : he).split("/"))[1] && !/[\d.]+/.test(he[0]) && (he[0] += " " + he[1]), ie = ie.label || ie, he = Y(he[0].replace(RegExp(Le, "i"), ie).replace(RegExp("; *(?:" + ie + "[_-])?", "i"), " ").replace(RegExp("(" + ie + ")[-_.]?(\\w)", "i"), "$1 $2"))), he;
267
+ return !ce && (ce = RegExp("\\b" + Le + " *\\d+[.\\w_]*", "i").exec(it) || RegExp("\\b" + Le + " *\\w+-[\\w]*", "i").exec(it) || RegExp("\\b" + Le + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(it)) && ((ce = String(ie.label && !RegExp(Le, "i").test(ie.label) ? ie.label : ce).split("/"))[1] && !/[\d.]+/.test(ce[0]) && (ce[0] += " " + ce[1]), ie = ie.label || ie, ce = Y(ce[0].replace(RegExp(Le, "i"), ie).replace(RegExp("; *(?:" + ie + "[_-])?", "i"), " ").replace(RegExp("(" + ie + ")[-_.]?(\\w)", "i"), "$1 $2"))), ce;
268
268
  });
269
269
  }
270
270
  function ne(de) {
271
- return Q(de, function(he, ie) {
272
- return he || (RegExp(ie + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(it) || 0)[1] || null;
271
+ return Q(de, function(ce, ie) {
272
+ return ce || (RegExp(ie + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(it) || 0)[1] || null;
273
273
  });
274
274
  }
275
275
  function Me() {
@@ -12161,7 +12161,7 @@ void main(void)\r
12161
12161
  for (var tt in vt) {
12162
12162
  var ht = vt[tt];
12163
12163
  if (this.anchor.x !== 0 || this.anchor.y !== 0)
12164
- for (var wt = 0, ee = this._textWidth * this.anchor.x, te = this._textHeight * this.anchor.y, le = 0; le < ht.total; le++)
12164
+ for (var wt = 0, ee = this._textWidth * this.anchor.x, te = this._textHeight * this.anchor.y, he = 0; he < ht.total; he++)
12165
12165
  ht.vertices[wt++] -= ee, ht.vertices[wt++] -= te, ht.vertices[wt++] -= ee, ht.vertices[wt++] -= te, ht.vertices[wt++] -= ee, ht.vertices[wt++] -= te, ht.vertices[wt++] -= ee, ht.vertices[wt++] -= te;
12166
12166
  this._maxLineHeight = Q * T;
12167
12167
  var we = ht.mesh.geometry.getBuffer("aVertexPosition"), Be = ht.mesh.geometry.getBuffer("aTextureCoord"), ne = ht.mesh.geometry.getIndex();
@@ -16447,7 +16447,7 @@ Object.assign(lookup, {
16447
16447
  io: lookup,
16448
16448
  connect: lookup
16449
16449
  });
16450
- var xr, Lr, Fr, un, ln, Ni, Mi, Di, fl, dl, Wa, Ts, pl, Ss, hn, vl, cn, Cs;
16450
+ var xr, Fr, Br, un, ln, Ni, Mi, Di, fl, dl, Wa, Ts, pl, Ss, hn, vl, cn, Cs;
16451
16451
  const gl = class {
16452
16452
  constructor(t = {}, e) {
16453
16453
  Pt(this, "hFactoryCls", {});
@@ -16459,8 +16459,8 @@ const gl = class {
16459
16459
  Pt(this, "val");
16460
16460
  Pt(this, "appPixi");
16461
16461
  et(this, xr, 0);
16462
- et(this, Lr, 0);
16463
- et(this, Fr, 1);
16462
+ et(this, Fr, 0);
16463
+ et(this, Br, 1);
16464
16464
  et(this, un, 0);
16465
16465
  et(this, ln, 0);
16466
16466
  et(this, Ni, 0);
@@ -16633,10 +16633,10 @@ const gl = class {
16633
16633
  return H(this, xr);
16634
16634
  }
16635
16635
  get cvsHeight() {
16636
- return H(this, Lr);
16636
+ return H(this, Fr);
16637
16637
  }
16638
16638
  get cvsScale() {
16639
- return H(this, Fr);
16639
+ return H(this, Br);
16640
16640
  }
16641
16641
  get ofsLeft4elm() {
16642
16642
  return H(this, un);
@@ -16664,18 +16664,18 @@ const gl = class {
16664
16664
  }
16665
16665
  const S = o.getBoundingClientRect();
16666
16666
  if (argChk_Boolean(CmnLib.hDip, "expanding", !0) || T || CmnLib.stageW > t || CmnLib.stageH > e)
16667
- if (CmnLib.stageW / CmnLib.stageH <= t / e ? (nt(this, Lr, e), nt(this, xr, CmnLib.stageW / CmnLib.stageH * e)) : (nt(this, xr, t), nt(this, Lr, CmnLib.stageH / CmnLib.stageW * t)), nt(this, Fr, H(this, xr) / CmnLib.stageW), T)
16667
+ if (CmnLib.stageW / CmnLib.stageH <= t / e ? (nt(this, Fr, e), nt(this, xr, CmnLib.stageW / CmnLib.stageH * e)) : (nt(this, xr, t), nt(this, Fr, CmnLib.stageH / CmnLib.stageW * t)), nt(this, Br, H(this, xr) / CmnLib.stageW), T)
16668
16668
  nt(this, Ni, 0), nt(this, Mi, 0);
16669
16669
  else {
16670
- const U = 1 - H(this, Fr);
16671
- CmnLib.isMobile ? (nt(this, Ni, (t - H(this, xr)) / 2 * U), nt(this, Mi, (e - H(this, Lr)) / 2 * U)) : (nt(this, Ni, S.left * U), nt(this, Mi, S.top * U));
16670
+ const U = 1 - H(this, Br);
16671
+ CmnLib.isMobile ? (nt(this, Ni, (t - H(this, xr)) / 2 * U), nt(this, Mi, (e - H(this, Fr)) / 2 * U)) : (nt(this, Ni, S.left * U), nt(this, Mi, S.top * U));
16672
16672
  }
16673
16673
  else
16674
- nt(this, xr, CmnLib.stageW), nt(this, Lr, CmnLib.stageH), nt(this, Fr, 1), nt(this, Ni, 0), nt(this, Mi, 0);
16674
+ nt(this, xr, CmnLib.stageW), nt(this, Fr, CmnLib.stageH), nt(this, Br, 1), nt(this, Ni, 0), nt(this, Mi, 0);
16675
16675
  const N = o.parentElement.style;
16676
- T || (N.position = "relative", N.width = `${H(this, xr)}px`, N.height = `${H(this, Lr)}px`);
16676
+ T || (N.position = "relative", N.width = `${H(this, xr)}px`, N.height = `${H(this, Fr)}px`);
16677
16677
  const D = o.style;
16678
- D.width = N.width, D.height = N.height, T ? (nt(this, un, S.left), nt(this, ln, S.top)) : (nt(this, un, 0), nt(this, ln, 0)), this.isFullScr && (nt(this, un, H(this, un) + (t - H(this, xr)) / 2), nt(this, ln, H(this, ln) + (e - H(this, Lr)) / 2));
16678
+ D.width = N.width, D.height = N.height, T ? (nt(this, un, S.left), nt(this, ln, S.top)) : (nt(this, un, 0), nt(this, ln, 0)), this.isFullScr && (nt(this, un, H(this, un) + (t - H(this, xr)) / 2), nt(this, ln, H(this, ln) + (e - H(this, Fr)) / 2));
16679
16679
  }
16680
16680
  attach_debug(t) {
16681
16681
  this.attach_debug = () => {
@@ -16726,10 +16726,10 @@ const gl = class {
16726
16726
  e.querySelectorAll(".sn_BounceIn, .sn_HopIn").forEach(($) => e.removeChild($));
16727
16727
  const o = document.createElement("img"), T = H(gl, dl)[t];
16728
16728
  o.src = `data:image/svg+xml;base64,${T.dat}`;
16729
- const S = Math.min(CmnLib.stageW, CmnLib.stageH) / 4 * H(this, Fr);
16729
+ const S = Math.min(CmnLib.stageW, CmnLib.stageH) / 4 * H(this, Br);
16730
16730
  o.width = o.height = S, o.style.cssText = `position: absolute;
16731
- left: ${(CmnLib.stageW - S) / 2 * H(this, Fr) + S * ((N = T.dx) != null ? N : 0)}px;
16732
- top: ${(CmnLib.stageH - S) / 2 * H(this, Fr) + S * ((D = T.dy) != null ? D : 0)}px;`, o.classList.add("sn_toast", (B = T.ease) != null ? B : "sn_BounceInOut"), T.ease || o.addEventListener("animationend", () => e.removeChild(o), { once: !0, passive: !0 }), e.insertBefore(o, this.appPixi.view);
16731
+ left: ${(CmnLib.stageW - S) / 2 * H(this, Br) + S * ((N = T.dx) != null ? N : 0)}px;
16732
+ top: ${(CmnLib.stageH - S) / 2 * H(this, Br) + S * ((D = T.dy) != null ? D : 0)}px;`, o.classList.add("sn_toast", (B = T.ease) != null ? B : "sn_BounceInOut"), T.ease || o.addEventListener("animationend", () => e.removeChild(o), { once: !0, passive: !0 }), e.insertBefore(o, this.appPixi.view);
16733
16733
  }
16734
16734
  setFire(t) {
16735
16735
  this.fire = t;
@@ -16765,7 +16765,7 @@ top: ${(CmnLib.stageH - S) / 2 * H(this, Fr) + S * ((D = T.dy) != null ? D : 0)}
16765
16765
  }
16766
16766
  };
16767
16767
  let SysBase = gl;
16768
- xr = new WeakMap(), Lr = new WeakMap(), Fr = new WeakMap(), un = new WeakMap(), ln = new WeakMap(), Ni = new WeakMap(), Mi = new WeakMap(), Di = new WeakMap(), fl = new WeakMap(), dl = new WeakMap(), Wa = new WeakMap(), Ts = new WeakMap(), pl = new WeakMap(), Ss = new WeakMap(), hn = new WeakMap(), vl = new WeakMap(), cn = new WeakMap(), Cs = new WeakMap(), Pt(SysBase, "VALNM_CFG_NS", "const.sn.cfg.ns"), et(SysBase, dl, {
16768
+ xr = new WeakMap(), Fr = new WeakMap(), Br = new WeakMap(), un = new WeakMap(), ln = new WeakMap(), Ni = new WeakMap(), Mi = new WeakMap(), Di = new WeakMap(), fl = new WeakMap(), dl = new WeakMap(), Wa = new WeakMap(), Ts = new WeakMap(), pl = new WeakMap(), Ss = new WeakMap(), hn = new WeakMap(), vl = new WeakMap(), cn = new WeakMap(), Cs = new WeakMap(), Pt(SysBase, "VALNM_CFG_NS", "const.sn.cfg.ns"), et(SysBase, dl, {
16769
16769
  \u63A5\u7D9A: { dx: -1, dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMCAyOTJ2NTUuODhoMTI3LjEzYzEyLjM3IDQ2IDU0LjEyIDc5Ljg3IDEwNCA3OS44N2g3Ny44N3YtMjE1LjYyYy00Ni43MyAwLTcyLjY4IDAtNzcuODggMC00OS43NCAwLTkxLjYyIDMzLjg3LTEwMy45OSA3OS44Ny0xNi45NSAwLTU5LjMzIDAtMTI3LjEzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im01MTIuODggMjkyYy0xMi4zOC00Ni01NC4xMy03OS44Ny0xMDQtNzkuODctNS4yMSAwLTMxLjIxIDAtNzggMHYyMTUuNzRoNzcuODdjNDkuODggMCA5MS43NS0zMy44NyAxMDQtNzkuODdoMTI3LjI1di01NmMtNzYuMjcgMC0xMTguNjUgMC0xMjcuMTIgMHoiLz48L2RlZnM+PHVzZSBmaWxsPSIjMmUyZTJlIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2EiLz48dXNlIGZpbGw9IiMzYWFiZDIiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYiIvPjx1c2UgZmlsbD0iIzNhYWJkMiIgeGxpbms6aHJlZj0iI2MiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNjIi8+PC9zdmc+" },
16770
16770
  \u5207\u65AD: { dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMTkxLjUzIDIyMS4yNGMtNDUuNjggMC04NC4wMSAzMS4wNC05NS4zIDczLjE2LTYuNDEgMC0zOC40OSAwLTk2LjIzIDB2NTEuMjFoOTYuMjNjMTEuMyA0Mi4xMSA0OS42MyA3My4xNiA5NS4zIDczLjE2aDcxLjMzdi00OC4yNGg1My43OHYtMTAxLjA1aC01My43OHYtNDguMjRjLTQyLjggMC02Ni41NyAwLTcxLjMzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im00NDguNDcgMjIxLjIzYy00Ljc2IDAtMjguNTMgMC03MS4zMyAwdjE5Ny41M2g3MS4zM2M0NS42OCAwIDgzLjk5LTMxLjA0IDk1LjI5LTczLjE1aDk2LjI0di01MS4yMWgtOTYuMjRjLTMzLjA4LTQ4Ljc4LTY0Ljg0LTczLjE3LTk1LjI5LTczLjE3eiIvPjwvZGVmcz48dXNlIGZpbGw9IiMyZTJlMmUiIHhsaW5rOmhyZWY9IiNhIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0iI2RmNTY1NiIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSIjZGY1NjU2IiB4bGluazpocmVmPSIjYyIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2MiLz48L3N2Zz4=" },
16771
16771
  \u518D\u751F: { dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtMCAzMjBjMCAxNzYuNzIgMTQzLjI4IDMyMCAzMjAgMzIwczMyMC0xNDMuMjggMzIwLTMyMC0xNDMuMjgtMzIwLTMyMC0zMjAtMzIwIDE0My4yOC0zMjAgMzIwem0yNTguODMgMTExLjA1Yy0xLjI5Ljc5LTIuOTMuODMtNC4yNi4wNC0xLjI5LS43NC0yLjExLTIuMTItMi4xMS0zLjY3IDAtNy4xNiAwLTQyLjk3IDAtMTA3LjQzczAtMTAwLjI3IDAtMTA3LjQzYzAtMS41My44Mi0yLjkzIDIuMTEtMy42OCAxLjMzLS43NiAyLjk3LS43MiA0LjI2LjA0IDE4IDEwLjc1IDE2MiA5Ni43MSAxODAgMTA3LjQ2IDEuMjkuNzMgMi4wNSAyLjE0IDIuMDUgMy42MSAwIDEuNDktLjc2IDIuODgtMi4wNSAzLjYzLTM2IDIxLjQ5LTE2MiA5Ni42OS0xODAgMTA3LjQzeiIvPjwvZGVmcz48cGF0aCBkPSJtMTU0LjU3IDE3MC4xOWgzNDYuMTV2MzA3LjY5aC0zNDYuMTV6IiBmaWxsPSIjZmZmIi8+PHVzZSBmaWxsPSIjMmUyZTJlIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2EiLz48L3N2Zz4=" },
@@ -16930,10 +16930,10 @@ const Tf = class {
16930
16930
  };
16931
16931
  let Config = Tf;
16932
16932
  Ya = new WeakMap(), qa = new WeakMap(), _l = new WeakMap();
16933
- var fn, Br, Za;
16933
+ var fn, kr, Za;
16934
16934
  const Pi = class {
16935
16935
  constructor() {
16936
- et(this, Br, () => {
16936
+ et(this, kr, () => {
16937
16937
  });
16938
16938
  }
16939
16939
  static setting(t) {
@@ -16946,7 +16946,7 @@ const Pi = class {
16946
16946
  nt(Pi, fn, "\u30FD");
16947
16947
  }
16948
16948
  init(t) {
16949
- nt(this, Br, t);
16949
+ nt(this, kr, t);
16950
16950
  }
16951
16951
  static setEscape(t) {
16952
16952
  nt(Pi, Za, new RegExp(
@@ -16970,36 +16970,36 @@ const Pi = class {
16970
16970
  continue;
16971
16971
  }
16972
16972
  if (D) {
16973
- H(this, Br).call(this, D.slice(1), "");
16973
+ H(this, kr).call(this, D.slice(1), "");
16974
16974
  continue;
16975
16975
  }
16976
16976
  for (const $ of Array.from(B))
16977
- H(this, Br).call(this, $, "");
16977
+ H(this, kr).call(this, $, "");
16978
16978
  }
16979
16979
  }
16980
16980
  putTxtRb(t, e) {
16981
16981
  if (/^\w+|{"/.test(e)) {
16982
- H(this, Br).call(this, t, e);
16982
+ H(this, kr).call(this, t, e);
16983
16983
  return;
16984
16984
  }
16985
16985
  const o = Array.from(t), T = o.length;
16986
16986
  if (/^\*.?$/.test(e)) {
16987
16987
  const B = "center\uFF5C" + (e === "*" ? H(Pi, fn) : e.charAt(1));
16988
16988
  for (let $ = 0; $ < T; ++$)
16989
- H(this, Br).call(this, o[$], B);
16989
+ H(this, kr).call(this, o[$], B);
16990
16990
  return;
16991
16991
  }
16992
16992
  if (T === 1 || e.indexOf(" ") === -1) {
16993
- H(this, Br).call(this, t, decodeURIComponent(e));
16993
+ H(this, kr).call(this, t, decodeURIComponent(e));
16994
16994
  return;
16995
16995
  }
16996
16996
  const S = e.split(" "), N = S.length, D = N > T ? N : T;
16997
16997
  for (let B = 0; B < D; ++B)
16998
- H(this, Br).call(this, B < T ? o[B] : "", B < N ? decodeURIComponent(S[B]) : "");
16998
+ H(this, kr).call(this, B < T ? o[B] : "", B < N ? decodeURIComponent(S[B]) : "");
16999
16999
  }
17000
17000
  };
17001
17001
  let RubySpliter = Pi;
17002
- fn = new WeakMap(), Br = new WeakMap(), Za = new WeakMap(), et(RubySpliter, fn, "\u30FD"), et(RubySpliter, Za, void 0);
17002
+ fn = new WeakMap(), kr = new WeakMap(), Za = new WeakMap(), et(RubySpliter, fn, "\u30FD"), et(RubySpliter, Za, void 0);
17003
17003
  const REG_TAG = /(?<name>[^\s;\]]+)/;
17004
17004
  function tagToken2Name_Args(r) {
17005
17005
  const t = REG_TAG.exec(r.slice(1, -1)), e = t == null ? void 0 : t.groups;
@@ -17303,8 +17303,8 @@ var parsimmon_umd_min = { exports: {} };
17303
17303
  for (var ke = 0; ke < Bt.length; ke++)
17304
17304
  be[Bt[ke]] = !0;
17305
17305
  var ti = [];
17306
- for (var rr in be)
17307
- ({}).hasOwnProperty.call(be, rr) && ti.push(rr);
17306
+ for (var nr in be)
17307
+ ({}).hasOwnProperty.call(be, nr) && ti.push(nr);
17308
17308
  return ti.sort(), ti;
17309
17309
  }(lt.expected, gt.expected) : gt.expected;
17310
17310
  return { status: lt.status, index: lt.index, value: lt.value, furthest: gt.furthest, expected: Tt };
@@ -17361,7 +17361,7 @@ var parsimmon_umd_min = { exports: {} };
17361
17361
  if (be === lt.length)
17362
17362
  return "Got the end of the input";
17363
17363
  if (tt(lt)) {
17364
- var ke = be - be % yt, ti = be - ke, rr = Ft(ke, ht, bt + yt, lt.length), ei = $(function(De) {
17364
+ var ke = be - be % yt, ti = be - ke, nr = Ft(ke, ht, bt + yt, lt.length), ei = $(function(De) {
17365
17365
  return $(function(ps) {
17366
17366
  return It(ps.toString(16), 2, "0");
17367
17367
  }, De);
@@ -17372,10 +17372,10 @@ var parsimmon_umd_min = { exports: {} };
17372
17372
  for (var _s = 0; _s < vs; _s++)
17373
17373
  tn[gs] || tn.push([]), tn[gs].push(De[_s]), (_s + 1) % ps == 0 && gs++;
17374
17374
  return tn;
17375
- }(lt.slice(rr.from, rr.to).toJSON().data, yt));
17375
+ }(lt.slice(nr.from, nr.to).toJSON().data, yt));
17376
17376
  Ut = function(De) {
17377
17377
  return De.from === 0 && De.to === 1 ? { from: De.from, to: De.to } : { from: De.from / yt, to: Math.floor(De.to / yt) };
17378
- }(rr), At = ke / yt, Tt = 3 * ti, ti >= 4 && (Tt += 1), ze = 2, Bt = $(function(De) {
17378
+ }(nr), At = ke / yt, Tt = 3 * ti, ti >= 4 && (Tt += 1), ze = 2, Bt = $(function(De) {
17379
17379
  return De.length <= 4 ? De.join(" ") : De.slice(0, 4).join(" ") + " " + De.slice(4).join(" ");
17380
17380
  }, ei), (Ht = (8 * (Ut.to > 0 ? Ut.to - 1 : Ut.to)).toString(16).length) < 2 && (Ht = 2);
17381
17381
  } else {
@@ -17509,7 +17509,7 @@ var parsimmon_umd_min = { exports: {} };
17509
17509
  return At.status ? it(Tt, 'not "' + Bt + '"') : st(Tt, null);
17510
17510
  });
17511
17511
  }
17512
- function le(lt) {
17512
+ function he(lt) {
17513
17513
  return vt(lt), S(function(gt, Tt) {
17514
17514
  var At = pt(gt, Tt);
17515
17515
  return Tt < gt.length && lt(At) ? st(Tt + 1, At) : it(Tt, "a character/byte matching " + lt);
@@ -17666,7 +17666,7 @@ var parsimmon_umd_min = { exports: {} };
17666
17666
  return st(lt.length, lt.slice(gt));
17667
17667
  }), de = S(function(lt, gt) {
17668
17668
  return gt < lt.length ? it(gt, "EOF") : st(gt, null);
17669
- }), he = Mt(/[0-9]/).desc("a digit"), ie = Mt(/[0-9]*/).desc("optional digits"), Le = Mt(/[a-z]/i).desc("a letter"), Na = Mt(/[a-z]*/i).desc("optional letters"), Dc = Mt(/\s*/).desc("optional whitespace"), Vu = Mt(/\s+/).desc("whitespace"), Ma = St("\r"), Xu = St(`
17669
+ }), ce = Mt(/[0-9]/).desc("a digit"), ie = Mt(/[0-9]*/).desc("optional digits"), Le = Mt(/[a-z]/i).desc("a letter"), Na = Mt(/[a-z]*/i).desc("optional letters"), Dc = Mt(/\s*/).desc("optional whitespace"), Vu = Mt(/\s+/).desc("whitespace"), Ma = St("\r"), Xu = St(`
17670
17670
  `), Wu = St(`\r
17671
17671
  `), Yu = Et(Wu, Xu, Ma).desc("newline"), Da = Et(Yu, de);
17672
17672
  S.all = ye, S.alt = Et, S.any = Me, S.cr = Ma, S.createLanguage = function(lt) {
@@ -17680,18 +17680,18 @@ var parsimmon_umd_min = { exports: {} };
17680
17680
  return gt;
17681
17681
  }, S.crlf = Wu, S.custom = function(lt) {
17682
17682
  return S(lt(st, it));
17683
- }, S.digit = he, S.digits = ie, S.empty = Be, S.end = Da, S.eof = de, S.fail = wt, S.formatError = Gt, S.index = ne, S.isParser = Q, S.lazy = we, S.letter = Le, S.letters = Na, S.lf = Xu, S.lookahead = ee, S.makeFailure = it, S.makeSuccess = st, S.newline = Yu, S.noneOf = function(lt) {
17684
- return le(function(gt) {
17683
+ }, S.digit = ce, S.digits = ie, S.empty = Be, S.end = Da, S.eof = de, S.fail = wt, S.formatError = Gt, S.index = ne, S.isParser = Q, S.lazy = we, S.letter = Le, S.letters = Na, S.lf = Xu, S.lookahead = ee, S.makeFailure = it, S.makeSuccess = st, S.newline = Yu, S.noneOf = function(lt) {
17684
+ return he(function(gt) {
17685
17685
  return lt.indexOf(gt) < 0;
17686
17686
  }).desc("none of '" + lt + "'");
17687
17687
  }, S.notFollowedBy = te, S.of = $t, S.oneOf = function(lt) {
17688
17688
  for (var gt = lt.split(""), Tt = 0; Tt < gt.length; Tt++)
17689
17689
  gt[Tt] = "'" + gt[Tt] + "'";
17690
- return le(function(At) {
17690
+ return he(function(At) {
17691
17691
  return lt.indexOf(At) >= 0;
17692
17692
  }).desc(gt);
17693
17693
  }, S.optWhitespace = Dc, S.Parser = S, S.range = function(lt, gt) {
17694
- return le(function(Tt) {
17694
+ return he(function(Tt) {
17695
17695
  return lt <= Tt && Tt <= gt;
17696
17696
  }).desc(lt + "-" + gt);
17697
17697
  }, S.regex = Mt, S.regexp = Mt, S.sepBy = zt, S.sepBy1 = Rt, S.seq = kt, S.seqMap = Nt, S.seqObj = function() {
@@ -17711,9 +17711,9 @@ var parsimmon_umd_min = { exports: {} };
17711
17711
  if (Tt === 0)
17712
17712
  throw new Error("seqObj expects at least one named parser, found zero");
17713
17713
  return S(function(be, ze) {
17714
- for (var ke, ti = {}, rr = 0; rr < Bt; rr += 1) {
17714
+ for (var ke, ti = {}, nr = 0; nr < Bt; nr += 1) {
17715
17715
  var ei, ds;
17716
- if (rt(At[rr]) ? (ei = At[rr][0], ds = At[rr][1]) : (ei = null, ds = At[rr]), !(ke = at(ds._(be, ze), ke)).status)
17716
+ if (rt(At[nr]) ? (ei = At[nr][0], ds = At[nr][1]) : (ei = null, ds = At[nr]), !(ke = at(ds._(be, ze), ke)).status)
17717
17717
  return ke;
17718
17718
  ei && (ti[ei] = ke.value), ze = ke.index;
17719
17719
  }
@@ -17725,7 +17725,7 @@ var parsimmon_umd_min = { exports: {} };
17725
17725
  At++;
17726
17726
  return st(At, gt.slice(Tt, At));
17727
17727
  });
17728
- }, S.test = le, S.whitespace = Vu, S["fantasy-land/empty"] = Be, S["fantasy-land/of"] = $t, S.Binary = { bitSeq: X, bitSeqObj: function(lt) {
17728
+ }, S.test = he, S.whitespace = Vu, S["fantasy-land/empty"] = Be, S["fantasy-land/of"] = $t, S.Binary = { bitSeq: X, bitSeqObj: function(lt) {
17729
17729
  V();
17730
17730
  var gt = {}, Tt = 0, At = $(function(Ut) {
17731
17731
  if (rt(Ut)) {
@@ -18133,7 +18133,7 @@ class Areas {
18133
18133
  return t.slice(1);
18134
18134
  }
18135
18135
  }
18136
- var Ae, sr, Ee, ri, Ie, Ye, kr, ro, Rl, io, Bc, no, so, Il, Lf, wl, Ff, pr, Dr, Pl, Bf, Al, kf, Ol, $f, Nl, Uf, Ml, Gf, Dl, Hf, Ll, jf, Fl, zf, ws, qu, ao, kc, oo, _n, uo, $c, Bl, kl, Ps, lo, As, Zu, $l, Vf, Ul, Xf, ho, Uc, co, Gc, Gl, Wf, Hl, Yf, Os, Ku;
18136
+ var Ae, or, Ee, ri, Ie, Ze, $r, ro, Rl, io, Bc, no, so, Il, Lf, wl, Ff, pr, Lr, Pl, Bf, Al, kf, Ol, $f, Nl, Uf, Ml, Gf, Dl, Hf, Ll, jf, Fl, zf, ws, qu, ao, kc, oo, _n, uo, $c, Bl, kl, Ps, lo, As, Zu, $l, Vf, Ul, Xf, ho, Uc, co, Gc, Gl, Wf, Hl, Yf, Os, Ku;
18137
18137
  const xs = class {
18138
18138
  constructor(t, e) {
18139
18139
  et(this, io);
@@ -18160,12 +18160,12 @@ const xs = class {
18160
18160
  et(this, Hl);
18161
18161
  et(this, Os);
18162
18162
  et(this, Ae, { sys: {}, save: {}, tmp: {}, mp: {} });
18163
- et(this, sr, H(this, Ae).save);
18163
+ et(this, or, H(this, Ae).save);
18164
18164
  et(this, Ee, H(this, Ae).tmp);
18165
18165
  et(this, ri, void 0);
18166
18166
  et(this, Ie, { sys: {}, mark: {}, kidoku: {} });
18167
- et(this, Ye, void 0);
18168
- et(this, kr, {});
18167
+ et(this, Ze, void 0);
18168
+ et(this, $r, {});
18169
18169
  et(this, ro, void 0);
18170
18170
  et(this, Rl, {
18171
18171
  auth: (t, e) => ot(this, io, Bc).call(this, e.hBreakpoint.aData),
@@ -18189,7 +18189,7 @@ const xs = class {
18189
18189
  et(this, so, (t) => {
18190
18190
  });
18191
18191
  Pt(this, "getMark", (t) => H(this, Ie).mark[t]);
18192
- Pt(this, "getAreaKidoku", (t) => H(this, kr)[t]);
18192
+ Pt(this, "getAreaKidoku", (t) => H(this, $r)[t]);
18193
18193
  et(this, oo, (t, e, o = !0) => {
18194
18194
  if (!t)
18195
18195
  throw "[\u5909\u6570\u306B\u5024\u30BB\u30C3\u30C8] name\u306F\u5FC5\u9808\u3067\u3059";
@@ -18282,7 +18282,7 @@ const xs = class {
18282
18282
  }
18283
18283
  });
18284
18284
  var S;
18285
- if (this.cfg = t, e.let = (N) => ot(this, pr, Dr).call(this, N), e.let_abs = (N) => ot(this, Pl, Bf).call(this, N), e.let_char_at = (N) => ot(this, Al, kf).call(this, N), e.let_index_of = (N) => ot(this, Ol, $f).call(this, N), e.let_length = (N) => ot(this, Nl, Uf).call(this, N), e.let_replace = (N) => ot(this, Ml, Gf).call(this, N), e.let_round = (N) => ot(this, Dl, Hf).call(this, N), e.let_search = (N) => ot(this, Ll, jf).call(this, N), e.let_substr = (N) => ot(this, Fl, zf).call(this, N), e.clearsysvar = () => ot(this, ws, qu).call(this), e.clearvar = () => ot(this, ao, kc).call(this), e.dump_val = () => H(this, kl).call(this), e.copybookmark = (N) => ot(this, Il, Lf).call(this, N), e.erasebookmark = (N) => ot(this, wl, Ff).call(this, N), H(this, sr)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
18285
+ if (this.cfg = t, e.let = (N) => ot(this, pr, Lr).call(this, N), e.let_abs = (N) => ot(this, Pl, Bf).call(this, N), e.let_char_at = (N) => ot(this, Al, kf).call(this, N), e.let_index_of = (N) => ot(this, Ol, $f).call(this, N), e.let_length = (N) => ot(this, Nl, Uf).call(this, N), e.let_replace = (N) => ot(this, Ml, Gf).call(this, N), e.let_round = (N) => ot(this, Dl, Hf).call(this, N), e.let_search = (N) => ot(this, Ll, jf).call(this, N), e.let_substr = (N) => ot(this, Fl, zf).call(this, N), e.clearsysvar = () => ot(this, ws, qu).call(this), e.clearvar = () => ot(this, ao, kc).call(this), e.dump_val = () => H(this, kl).call(this), e.copybookmark = (N) => ot(this, Il, Lf).call(this, N), e.erasebookmark = (N) => ot(this, wl, Ff).call(this, N), H(this, or)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
18286
18286
  const N = [];
18287
18287
  for (const D of Object.keys(H(this, Ie).mark).sort()) {
18288
18288
  const B = { ...H(this, Ie).mark[D].json };
@@ -18300,14 +18300,14 @@ const xs = class {
18300
18300
  const o = this.cfg.getNs();
18301
18301
  nt(this, no, this.cfg.oCfg.debug.variable ? () => {
18302
18302
  const S = {};
18303
- for (const z of Object.keys(H(this, Ye))) {
18304
- const V = H(this, Ye)[z];
18303
+ for (const z of Object.keys(H(this, Ze))) {
18304
+ const V = H(this, Ze)[z];
18305
18305
  S["sys:" + z] = V instanceof Function ? V() : V;
18306
18306
  }
18307
18307
  sessionStorage[o + "sys"] = JSON.stringify(S);
18308
18308
  const N = {};
18309
- for (const z of Object.keys(H(this, sr))) {
18310
- const V = H(this, sr)[z];
18309
+ for (const z of Object.keys(H(this, or))) {
18310
+ const V = H(this, or)[z];
18311
18311
  N["save:" + z] = V instanceof Function ? V() : V;
18312
18312
  }
18313
18313
  sessionStorage[o + "save"] = JSON.stringify(N);
@@ -18344,10 +18344,10 @@ const xs = class {
18344
18344
  });
18345
18345
  }
18346
18346
  updateData(t) {
18347
- nt(this, Ie, t), nt(this, Ye, H(this, Ae).sys = H(this, Ie).sys), nt(this, kr, {});
18347
+ nt(this, Ie, t), nt(this, Ze, H(this, Ae).sys = H(this, Ie).sys), nt(this, $r, {});
18348
18348
  for (const [e, o] of Object.entries(H(this, Ie).kidoku)) {
18349
18349
  const T = new Areas();
18350
- T.hAreas = { ...o }, H(this, kr)[e] = T;
18350
+ T.hAreas = { ...o }, H(this, $r)[e] = T;
18351
18351
  }
18352
18352
  }
18353
18353
  flush() {
@@ -18373,13 +18373,13 @@ const xs = class {
18373
18373
  }
18374
18374
  mark2save(t) {
18375
18375
  var e;
18376
- nt(this, sr, H(this, Ae).save = { ...t.hSave }), nt(this, Ps, (e = H(this, sr)["sn.doRecLog"]) != null ? e : !1);
18376
+ nt(this, or, H(this, Ae).save = { ...t.hSave }), nt(this, Ps, (e = H(this, or)["sn.doRecLog"]) != null ? e : !1);
18377
18377
  }
18378
18378
  loadScrWork(t) {
18379
- t in H(this, kr) || (H(this, kr)[t] = new Areas());
18379
+ t in H(this, $r) || (H(this, $r)[t] = new Areas());
18380
18380
  }
18381
18381
  saveKidoku() {
18382
- for (const [t, { hAreas: e }] of Object.entries(H(this, kr)))
18382
+ for (const [t, { hAreas: e }] of Object.entries(H(this, $r)))
18383
18383
  H(this, Ie).kidoku[t] = { ...e };
18384
18384
  this.flush();
18385
18385
  }
@@ -18406,7 +18406,7 @@ const xs = class {
18406
18406
  }
18407
18407
  };
18408
18408
  let Variable = xs;
18409
- Ae = new WeakMap(), sr = new WeakMap(), Ee = new WeakMap(), ri = new WeakMap(), Ie = new WeakMap(), Ye = new WeakMap(), kr = new WeakMap(), ro = new WeakMap(), Rl = new WeakMap(), io = new WeakSet(), Bc = function(t) {
18409
+ Ae = new WeakMap(), or = new WeakMap(), Ee = new WeakMap(), ri = new WeakMap(), Ie = new WeakMap(), Ze = new WeakMap(), $r = new WeakMap(), ro = new WeakMap(), Rl = new WeakMap(), io = new WeakSet(), Bc = function(t) {
18410
18410
  nt(xs, _n, {});
18411
18411
  for (const e of t)
18412
18412
  H(xs, _n)[e.dataId] = 1;
@@ -18426,7 +18426,7 @@ Ae = new WeakMap(), sr = new WeakMap(), Ee = new WeakMap(), ri = new WeakMap(),
18426
18426
  if (!e)
18427
18427
  throw "place\u306F\u5FC5\u9808\u3067\u3059";
18428
18428
  return delete H(this, Ie).mark[e], this.flush(), H(this, ri).eraseBMFolder(e), !1;
18429
- }, pr = new WeakSet(), Dr = function(t) {
18429
+ }, pr = new WeakSet(), Lr = function(t) {
18430
18430
  if (!t.name)
18431
18431
  throw "name\u306F\u5FC5\u9808\u3067\u3059";
18432
18432
  let e = !0;
@@ -18453,50 +18453,50 @@ Ae = new WeakMap(), sr = new WeakMap(), Ee = new WeakMap(), ri = new WeakMap(),
18453
18453
  return H(this, oo).call(this, t.name, t.text, e), !1;
18454
18454
  }, Pl = new WeakSet(), Bf = function(t) {
18455
18455
  const e = argChk_Num(t, "text", 0);
18456
- return t.text = String(e < 0 ? -e : e), ot(this, pr, Dr).call(this, t), !1;
18456
+ return t.text = String(e < 0 ? -e : e), ot(this, pr, Lr).call(this, t), !1;
18457
18457
  }, Al = new WeakSet(), kf = function(t) {
18458
18458
  var e;
18459
- return t.text = ((e = t.text) != null ? e : "").charAt(argChk_Num(t, "pos", 0)), ot(this, pr, Dr).call(this, t), !1;
18459
+ return t.text = ((e = t.text) != null ? e : "").charAt(argChk_Num(t, "pos", 0)), ot(this, pr, Lr).call(this, t), !1;
18460
18460
  }, Ol = new WeakSet(), $f = function(t) {
18461
18461
  var T;
18462
18462
  const { val: e } = t;
18463
18463
  if (!e)
18464
18464
  throw "val\u306F\u5FC5\u9808\u3067\u3059";
18465
18465
  const o = argChk_Num(t, "start", 0);
18466
- return t.text = String(((T = t.text) != null ? T : "").indexOf(e, o)), ot(this, pr, Dr).call(this, t), !1;
18466
+ return t.text = String(((T = t.text) != null ? T : "").indexOf(e, o)), ot(this, pr, Lr).call(this, t), !1;
18467
18467
  }, Nl = new WeakSet(), Uf = function(t) {
18468
18468
  var e;
18469
- return t.text = String(((e = t.text) != null ? e : "").length), ot(this, pr, Dr).call(this, t), !1;
18469
+ return t.text = String(((e = t.text) != null ? e : "").length), ot(this, pr, Lr).call(this, t), !1;
18470
18470
  }, Ml = new WeakSet(), Gf = function(t) {
18471
18471
  var T;
18472
18472
  if (!t.reg)
18473
18473
  throw "reg\u306F\u5FC5\u9808\u3067\u3059";
18474
18474
  const { flags: e } = t, o = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
18475
- return t.text = String((T = t.text) != null ? T : "").replace(o, String(t.val)), ot(this, pr, Dr).call(this, t), !1;
18475
+ return t.text = String((T = t.text) != null ? T : "").replace(o, String(t.val)), ot(this, pr, Lr).call(this, t), !1;
18476
18476
  }, Dl = new WeakSet(), Hf = function(t) {
18477
18477
  const e = argChk_Num(t, "text", 0);
18478
- return t.text = String(Math.round(e)), ot(this, pr, Dr).call(this, t), !1;
18478
+ return t.text = String(Math.round(e)), ot(this, pr, Lr).call(this, t), !1;
18479
18479
  }, Ll = new WeakSet(), jf = function(t) {
18480
18480
  var T;
18481
18481
  if (!t.reg)
18482
18482
  throw "reg\u306F\u5FC5\u9808\u3067\u3059";
18483
18483
  const { flags: e } = t, o = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
18484
- return t.text = String(((T = t.text) != null ? T : "").search(o)), ot(this, pr, Dr).call(this, t), !1;
18484
+ return t.text = String(((T = t.text) != null ? T : "").search(o)), ot(this, pr, Lr).call(this, t), !1;
18485
18485
  }, Fl = new WeakSet(), zf = function(t) {
18486
18486
  var o, T;
18487
18487
  const e = argChk_Num(t, "pos", 0);
18488
- return t.text = t.len !== "all" ? ((o = t.text) != null ? o : "").slice(e, e + int(argChk_Num(t, "len", 1))) : ((T = t.text) != null ? T : "").slice(e), ot(this, pr, Dr).call(this, t), !1;
18488
+ return t.text = t.len !== "all" ? ((o = t.text) != null ? o : "").slice(e, e + int(argChk_Num(t, "len", 1))) : ((T = t.text) != null ? T : "").slice(e), ot(this, pr, Lr).call(this, t), !1;
18489
18489
  }, ws = new WeakSet(), qu = function() {
18490
18490
  var o, T;
18491
- const t = nt(this, Ye, H(this, Ae).sys = H(this, Ie).sys = {});
18491
+ const t = nt(this, Ze, H(this, Ae).sys = H(this, Ie).sys = {});
18492
18492
  typeof process < "u" || (this.setVal_Nochk("sys", "const.sn.window.x", 0), this.setVal_Nochk("sys", "const.sn.window.y", 0)), this.setVal_Nochk("sys", "sn.tagCh.doWait", !0), this.setVal_Nochk("sys", "sn.tagCh.doWait_Kidoku", !0), this.setVal_Nochk("sys", "sn.tagCh.msecWait", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.msecWait_Kidoku", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.canskip", !0), this.setVal_Nochk("sys", "sn.skip.mode", "s"), this.setVal_Nochk("sys", "sn.auto.msecPageWait", argChk_Num(t, "sn.auto.msecPageWait", (o = this.cfg.oCfg.init.auto_msecpagewait) != null ? o : 3500)), this.setVal_Nochk("sys", "sn.auto.msecPageWait_Kidoku", argChk_Num(t, "sn.auto.msecPageWait", (T = this.cfg.oCfg.init.auto_msecpagewait) != null ? T : 3500)), this.setVal_Nochk("sys", "sn.auto.msecLineWait", 500), this.setVal_Nochk("sys", "sn.auto.msecLineWait_Kidoku", 500), this.setVal_Nochk("sys", "const.sn.sound.BGM.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SE.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SYS.volume", 1);
18493
18493
  for (const [S, N] of Object.entries(H(this, Ie).kidoku))
18494
- N.hAreas = {}, H(this, kr)[S].clear();
18494
+ N.hAreas = {}, H(this, $r)[S].clear();
18495
18495
  return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), H(this, Ae).mark = H(this, Ie).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
18496
18496
  }, ao = new WeakSet(), kc = function() {
18497
18497
  var T, S, N;
18498
- const t = (T = H(this, sr)["const.sn.mesLayer"]) != null ? T : "", e = (S = H(this, sr)["sn.doRecLog"]) != null ? S : !1, o = (N = H(this, sr)["const.sn.sLog"]) != null ? N : "[]";
18499
- return nt(this, sr, H(this, Ae).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;
18498
+ const t = (T = H(this, or)["const.sn.mesLayer"]) != null ? T : "", e = (S = H(this, or)["sn.doRecLog"]) != null ? S : !1, o = (N = H(this, or)["const.sn.sLog"]) != null ? N : "[]";
18499
+ return nt(this, or, H(this, Ae).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;
18500
18500
  }, oo = new WeakMap(), _n = new WeakMap(), uo = new WeakSet(), $c = function(t) {
18501
18501
  const e = t;
18502
18502
  if (e === "true")
@@ -18508,25 +18508,25 @@ Ae = new WeakMap(), sr = new WeakMap(), Ee = new WeakMap(), ri = new WeakMap(),
18508
18508
  if (e !== "undefined")
18509
18509
  return H(this, Bl).test(e) ? parseFloat(e) : t;
18510
18510
  }, Bl = new WeakMap(), kl = new WeakMap(), Ps = new WeakMap(), lo = new WeakMap(), As = new WeakSet(), Zu = function(t) {
18511
- argChk_Boolean(H(this, Ye), t, !0);
18511
+ argChk_Boolean(H(this, Ze), t, !0);
18512
18512
  }, $l = new WeakSet(), Vf = function(t) {
18513
- argChk_Num(H(this, Ye), t, 10), H(this, Ye)["sn.tagCh.doWait"];
18513
+ argChk_Num(H(this, Ze), t, 10), H(this, Ze)["sn.tagCh.doWait"];
18514
18514
  }, Ul = new WeakSet(), Xf = function(t) {
18515
18515
  argChk_Num(
18516
- H(this, Ye),
18516
+ H(this, Ze),
18517
18517
  t,
18518
18518
  this.cfg.oCfg.init.tagch_msecwait === void 0 ? 10 : this.cfg.oCfg.init.tagch_msecwait
18519
- ), H(this, Ye)["sn.tagCh.doWait_Kidoku"];
18519
+ ), H(this, Ze)["sn.tagCh.doWait_Kidoku"];
18520
18520
  }, ho = new WeakSet(), Uc = function(t) {
18521
18521
  argChk_Num(
18522
- H(this, Ye),
18522
+ H(this, Ze),
18523
18523
  t,
18524
18524
  this.cfg.oCfg.init.auto_msecpagewait === void 0 ? 3500 : this.cfg.oCfg.init.auto_msecpagewait
18525
18525
  );
18526
18526
  }, co = new WeakSet(), Gc = function(t) {
18527
- argChk_Num(H(this, Ye), t, 500);
18527
+ argChk_Num(H(this, Ze), t, 500);
18528
18528
  }, Gl = new WeakSet(), Wf = function(t) {
18529
- return argChk_Boolean(H(this, sr), t, !0);
18529
+ return argChk_Boolean(H(this, or), t, !0);
18530
18530
  }, Hl = new WeakSet(), Yf = function(t) {
18531
18531
  argChk_Boolean(H(this, Ee), t, !0);
18532
18532
  }, Os = new WeakSet(), Ku = function(t) {
@@ -19861,7 +19861,7 @@ var y = function() {
19861
19861
  return s = r, r;
19862
19862
  }(new L());
19863
19863
  "extensions" in n ? extensions.add(y) : Loader.registerPlugin(y);
19864
- var Se, $e, Bi, zl, qf, Ns, Ju, Vl, Zf, Xl, Kf, po, Hc, mn, La, vo, jc, Ms, Ds, Qu, yn, Fa, go, Ls, tl, Wl, Jf, $r, wi, Yl, Qf, _o, zc, bn, Ba, ql, td, mo, Vc, Zl, ed, Kl, rd, Fs, el;
19864
+ var Se, $e, Bi, zl, qf, Ns, Ju, Vl, Zf, Xl, Kf, po, Hc, mn, La, vo, jc, Ms, Ds, Qu, yn, Fa, go, Ls, tl, Wl, Jf, Ur, wi, Yl, Qf, _o, zc, bn, Ba, ql, td, mo, Vc, Zl, ed, Kl, rd, Fs, el;
19865
19865
  const Xa = class {
19866
19866
  constructor(t, e, o, T, S) {
19867
19867
  et(this, zl);
@@ -19875,7 +19875,7 @@ const Xa = class {
19875
19875
  et(this, yn);
19876
19876
  et(this, Ls);
19877
19877
  et(this, Wl);
19878
- et(this, $r);
19878
+ et(this, Ur);
19879
19879
  et(this, Yl);
19880
19880
  et(this, _o);
19881
19881
  et(this, bn);
@@ -19891,7 +19891,7 @@ const Xa = class {
19891
19891
  R.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), nt(this, go, () => {
19892
19892
  });
19893
19893
  });
19894
- this.cfg = t, this.val = o, this.main = T, this.sys = S, e.volume = (N) => ot(this, zl, qf).call(this, N), e.fadebgm = (N) => ot(this, po, Hc).call(this, N), e.fadeoutbgm = (N) => ot(this, Vl, Zf).call(this, N), e.fadeoutse = (N) => ot(this, Xl, Kf).call(this, N), e.fadese = (N) => ot(this, mn, La).call(this, N), e.playbgm = (N) => ot(this, vo, jc).call(this, N), e.playse = (N) => ot(this, Ds, Qu).call(this, N), e.stop_allse = () => ot(this, Ls, tl).call(this), e.stopbgm = (N) => ot(this, Wl, Jf).call(this, N), e.stopse = (N) => ot(this, $r, wi).call(this, N), e.wb = (N) => ot(this, Yl, Qf).call(this, N), e.wf = (N) => ot(this, _o, zc).call(this, N), e.stopfadese = (N) => ot(this, bn, Ba).call(this, N), e.wl = (N) => ot(this, ql, td).call(this, N), e.ws = (N) => ot(this, mo, Vc).call(this, N), e.xchgbuf = (N) => ot(this, Zl, ed).call(this, N), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), o.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(I.supported));
19894
+ this.cfg = t, this.val = o, this.main = T, this.sys = S, e.volume = (N) => ot(this, zl, qf).call(this, N), e.fadebgm = (N) => ot(this, po, Hc).call(this, N), e.fadeoutbgm = (N) => ot(this, Vl, Zf).call(this, N), e.fadeoutse = (N) => ot(this, Xl, Kf).call(this, N), e.fadese = (N) => ot(this, mn, La).call(this, N), e.playbgm = (N) => ot(this, vo, jc).call(this, N), e.playse = (N) => ot(this, Ds, Qu).call(this, N), e.stop_allse = () => ot(this, Ls, tl).call(this), e.stopbgm = (N) => ot(this, Wl, Jf).call(this, N), e.stopse = (N) => ot(this, Ur, wi).call(this, N), e.wb = (N) => ot(this, Yl, Qf).call(this, N), e.wf = (N) => ot(this, _o, zc).call(this, N), e.stopfadese = (N) => ot(this, bn, Ba).call(this, N), e.wl = (N) => ot(this, ql, td).call(this, N), e.ws = (N) => ot(this, mo, Vc).call(this, N), e.xchgbuf = (N) => ot(this, Zl, ed).call(this, N), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), o.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(I.supported));
19895
19895
  }
19896
19896
  setEvtMng(t) {
19897
19897
  nt(this, Bi, t);
@@ -19956,20 +19956,20 @@ Se = new WeakMap(), $e = new WeakMap(), Bi = new WeakMap(), zl = new WeakSet(),
19956
19956
  D && (ot(this, Fs, el).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
19957
19957
  const B = argChk_Num(t, "time", NaN), $ = argChk_Num(t, "delay", 0);
19958
19958
  if (B === 0 && $ === 0 || this.val.getVal("tmp:sn.skip.enabled") || H(this, Bi).isSkippingByKeyDown())
19959
- return o.snd.volume = N, D && ot(this, $r, wi).call(this, t), !1;
19959
+ return o.snd.volume = N, D && ot(this, Ur, wi).call(this, t), !1;
19960
19960
  const U = argChk_Num(t, "repeat", 1);
19961
19961
  return o.twFade = new Tween({ v: o.snd.volume }).to({ v: N }, B).delay($).easing(CmnTween.ease(t.ease)).repeat(U === 0 ? 1 / 0 : U - 1).yoyo(argChk_Boolean(t, "yoyo", !1)).onUpdate((z) => {
19962
19962
  o.playing() && (o.snd.volume = z.v);
19963
19963
  }).onComplete(() => {
19964
19964
  const z = H(this, Se)[t.buf = o.now_buf];
19965
- !(z != null && z.twFade) || (delete z.twFade, D && ot(this, $r, wi).call(this, t), z.resumeFade && this.main.resume());
19965
+ !(z != null && z.twFade) || (delete z.twFade, D && ot(this, Ur, wi).call(this, t), z.resumeFade && this.main.resume());
19966
19966
  }).start(), !1;
19967
19967
  }, vo = new WeakSet(), jc = function(t) {
19968
19968
  return t.buf = "BGM", t.canskip = !1, argChk_Boolean(t, "loop", !0), ot(this, Ds, Qu).call(this, t);
19969
19969
  }, Ms = new WeakMap(), Ds = new WeakSet(), Qu = function(t) {
19970
19970
  var Z;
19971
19971
  const { buf: e = "SE", fn: o } = t;
19972
- if (ot(this, $r, wi).call(this, { buf: e }), !o)
19972
+ if (ot(this, Ur, wi).call(this, { buf: e }), !o)
19973
19973
  throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
19974
19974
  if (argChk_Boolean(t, "canskip", !0) && H(this, Bi).isSkippingByKeyDown())
19975
19975
  return !1;
@@ -20123,11 +20123,11 @@ Se = new WeakMap(), $e = new WeakMap(), Bi = new WeakMap(), zl = new WeakSet(),
20123
20123
  });
20124
20124
  }, go = new WeakMap(), Ls = new WeakSet(), tl = function() {
20125
20125
  for (const t of Object.keys(H(this, Se)))
20126
- ot(this, $r, wi).call(this, { buf: t });
20126
+ ot(this, Ur, wi).call(this, { buf: t });
20127
20127
  return nt(this, Se, {}), R.stopAll(), !1;
20128
20128
  }, Wl = new WeakSet(), Jf = function(t) {
20129
- return t.buf = "BGM", ot(this, $r, wi).call(this, t);
20130
- }, $r = new WeakSet(), wi = function(t) {
20129
+ return t.buf = "BGM", ot(this, Ur, wi).call(this, t);
20130
+ }, Ur = new WeakSet(), wi = function(t) {
20131
20131
  var T;
20132
20132
  const { buf: e = "SE" } = t;
20133
20133
  ot(this, Fs, el).call(this, e);
@@ -20152,7 +20152,7 @@ Se = new WeakMap(), $e = new WeakMap(), Bi = new WeakMap(), zl = new WeakSet(),
20152
20152
  const { buf: e = "SE" } = t, o = H(this, Se)[e];
20153
20153
  return !(o != null && o.playing()) || o.loop ? !1 : o.resume = H(this, Bi).waitEvent(
20154
20154
  () => {
20155
- t.buf = o.now_buf, ot(this, $r, wi).call(this, t);
20155
+ t.buf = o.now_buf, ot(this, Ur, wi).call(this, t);
20156
20156
  const T = H(this, Se)[t.buf];
20157
20157
  !(T != null && T.playing()) || T.loop || T.onend();
20158
20158
  },
@@ -20178,24 +20178,24 @@ Se = new WeakMap(), $e = new WeakMap(), Bi = new WeakMap(), zl = new WeakSet(),
20178
20178
  }, Fs = new WeakSet(), el = function(t) {
20179
20179
  delete H(this, $e)[t], this.val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(H(this, $e))), this.val.flush();
20180
20180
  }, et(SoundMng, Ms, 999e3);
20181
- var ce;
20181
+ var fe;
20182
20182
  const Cf = class {
20183
20183
  constructor(t, e, o, T, S, N, D, B) {
20184
- et(this, ce, void 0);
20184
+ et(this, fe, void 0);
20185
20185
  Pt(this, "lay", (t) => this.getPage(t).lay(t));
20186
- Pt(this, "getPage", (t) => Cf.argChk_page(t, "fore") !== "back" ? H(this, ce).fore : H(this, ce).back);
20186
+ Pt(this, "getPage", (t) => Cf.argChk_page(t, "fore") !== "back" ? H(this, fe).fore : H(this, fe).back);
20187
20187
  this.cls = e, this.hArg = S, this.sys = N, this.val = D, this.ret = B;
20188
20188
  const $ = N.hFactoryCls[e];
20189
20189
  if (!$)
20190
20190
  throw `\u5C5E\u6027 class\u3010${e}\u3011\u304C\u4E0D\u6B63\u3067\u3059`;
20191
- nt(this, ce, { fore: $(), back: $() }), H(this, ce).fore.layname = H(this, ce).back.layname = t;
20191
+ nt(this, fe, { fore: $(), back: $() }), H(this, fe).fore.layname = H(this, fe).back.layname = t;
20192
20192
  const U = S[":id_tag"] = `layer:${t} cls:${e}`;
20193
- H(this, ce).fore.name = `${U} page:A`, H(this, ce).back.name = `${U} page:B`, o.addChild(this.fore.spLay), T.addChild(this.back.spLay), argChk_Boolean(S, "visible", !0), argChk_Boolean(S, "visible", !0), B.isWait = this.fore.lay(S) || this.back.lay(S);
20193
+ H(this, fe).fore.name = `${U} page:A`, H(this, fe).back.name = `${U} page:B`, o.addChild(this.fore.spLay), T.addChild(this.back.spLay), argChk_Boolean(S, "visible", !0), argChk_Boolean(S, "visible", !0), B.isWait = this.fore.lay(S) || this.back.lay(S);
20194
20194
  const z = `const.sn.lay.${t}`;
20195
- D.setVal_Nochk("tmp", z, !0), D.defTmp(z + ".fore.alpha", () => H(this, ce).fore.alpha), D.defTmp(z + ".back.alpha", () => H(this, ce).back.alpha), D.defTmp(z + ".fore.height", () => H(this, ce).fore.height), D.defTmp(z + ".back.height", () => H(this, ce).back.height), D.defTmp(z + ".fore.visible", () => H(this, ce).fore.spLay.visible), D.defTmp(z + ".back.visible", () => H(this, ce).back.spLay.visible), D.defTmp(z + ".fore.width", () => H(this, ce).fore.width), D.defTmp(z + ".back.width", () => H(this, ce).back.width), D.defTmp(z + ".fore.x", () => H(this, ce).fore.x), D.defTmp(z + ".back.x", () => H(this, ce).back.x), D.defTmp(z + ".fore.y", () => H(this, ce).fore.y), D.defTmp(z + ".back.y", () => H(this, ce).back.y);
20195
+ D.setVal_Nochk("tmp", z, !0), D.defTmp(z + ".fore.alpha", () => H(this, fe).fore.alpha), D.defTmp(z + ".back.alpha", () => H(this, fe).back.alpha), D.defTmp(z + ".fore.height", () => H(this, fe).fore.height), D.defTmp(z + ".back.height", () => H(this, fe).back.height), D.defTmp(z + ".fore.visible", () => H(this, fe).fore.spLay.visible), D.defTmp(z + ".back.visible", () => H(this, fe).back.spLay.visible), D.defTmp(z + ".fore.width", () => H(this, fe).fore.width), D.defTmp(z + ".back.width", () => H(this, fe).back.width), D.defTmp(z + ".fore.x", () => H(this, fe).fore.x), D.defTmp(z + ".back.x", () => H(this, fe).back.x), D.defTmp(z + ".fore.y", () => H(this, fe).fore.y), D.defTmp(z + ".back.y", () => H(this, fe).back.y);
20196
20196
  }
20197
20197
  destroy() {
20198
- H(this, ce).fore.destroy(), H(this, ce).back.destroy();
20198
+ H(this, fe).fore.destroy(), H(this, fe).back.destroy();
20199
20199
  }
20200
20200
  static argChk_page(t, e) {
20201
20201
  var T;
@@ -20205,17 +20205,17 @@ const Cf = class {
20205
20205
  throw Error("\u5C5E\u6027 page\u3010" + o + "\u3011\u304C\u4E0D\u6B63\u3067\u3059");
20206
20206
  }
20207
20207
  get fore() {
20208
- return H(this, ce).fore;
20208
+ return H(this, fe).fore;
20209
20209
  }
20210
20210
  get back() {
20211
- return H(this, ce).back;
20211
+ return H(this, fe).back;
20212
20212
  }
20213
20213
  transPage(t) {
20214
- [H(this, ce).back, H(this, ce).fore] = [H(this, ce).fore, H(this, ce).back], H(this, ce).back.copy(H(this, ce).fore, t);
20214
+ [H(this, fe).back, H(this, fe).fore] = [H(this, fe).fore, H(this, fe).back], H(this, fe).back.copy(H(this, fe).fore, t);
20215
20215
  }
20216
20216
  };
20217
20217
  let Pages = Cf;
20218
- ce = new WeakMap();
20218
+ fe = new WeakMap();
20219
20219
  var Jl, Ql;
20220
20220
  const Ai = class {
20221
20221
  constructor() {
@@ -26052,8 +26052,8 @@ var Draggable = {
26052
26052
  }) && wt.every(function(ne) {
26053
26053
  return !ne;
26054
26054
  }))) {
26055
- var ee = Draggable.drag(r, setCustomDrag(t, r.state, wt, !!S, !1, "draggable")), te = ee.transform, le = Y + Ft, we = q + dt, Be = fillParams(r, t, __assign$2({
26056
- width: le,
26055
+ var ee = Draggable.drag(r, setCustomDrag(t, r.state, wt, !!S, !1, "draggable")), te = ee.transform, he = Y + Ft, we = q + dt, Be = fillParams(r, t, __assign$2({
26056
+ width: he,
26057
26057
  height: we,
26058
26058
  offsetWidth: Math.round(Nt),
26059
26059
  offsetHeight: Math.round(Et),
@@ -26067,7 +26067,7 @@ var Draggable = {
26067
26067
  drag: ee
26068
26068
  }, fillAfterTransform({
26069
26069
  style: {
26070
- width: "".concat(le, "px"),
26070
+ width: "".concat(he, "px"),
26071
26071
  height: "".concat(we, "px")
26072
26072
  },
26073
26073
  transform: te
@@ -27445,11 +27445,11 @@ function getClipPath(r, t, e, o, T) {
27445
27445
  var tt = splitComma(J || "0% 0%, 100% 0%, 100% 100%, 0% 100%");
27446
27446
  rt = ",";
27447
27447
  var st = tt.map(function(wt) {
27448
- var ee = wt.split(" "), te = ee[0], le = ee[1];
27448
+ var ee = wt.split(" "), te = ee[0], he = ee[1];
27449
27449
  return {
27450
27450
  vertical: 1,
27451
27451
  horizontal: 1,
27452
- pos: [convertUnitSize(te, t), convertUnitSize(le, e)]
27452
+ pos: [convertUnitSize(te, t), convertUnitSize(he, e)]
27453
27453
  };
27454
27454
  });
27455
27455
  return {
@@ -27714,11 +27714,11 @@ var Clippable = {
27714
27714
  return Q && ["vertical", "horizontal"].forEach(function(St) {
27715
27715
  var Mt = Q[St], $t = St === "horizontal";
27716
27716
  Mt.isSnap && ct.push.apply(ct, Mt.snap.posInfos.map(function(wt, ee) {
27717
- var te = wt.pos, le = minus(calculatePosition(z, $t ? [0, te] : [te, 0], st), [X, W]), we = minus(calculatePosition(z, $t ? [$, te] : [te, U], st), [X, W]);
27718
- return renderLine(t, "", le, we, N, "clip".concat(St, "snap").concat(ee), "guideline");
27717
+ var te = wt.pos, he = minus(calculatePosition(z, $t ? [0, te] : [te, 0], st), [X, W]), we = minus(calculatePosition(z, $t ? [$, te] : [te, U], st), [X, W]);
27718
+ return renderLine(t, "", he, we, N, "clip".concat(St, "snap").concat(ee), "guideline");
27719
27719
  })), Mt.isBound && ct.push.apply(ct, Mt.bounds.map(function(wt, ee) {
27720
- var te = wt.pos, le = minus(calculatePosition(z, $t ? [0, te] : [te, 0], st), [X, W]), we = minus(calculatePosition(z, $t ? [$, te] : [te, U], st), [X, W]);
27721
- return renderLine(t, "", le, we, N, "clip".concat(St, "bounds").concat(ee), "guideline", "bounds", "bold");
27720
+ var te = wt.pos, he = minus(calculatePosition(z, $t ? [0, te] : [te, 0], st), [X, W]), we = minus(calculatePosition(z, $t ? [$, te] : [te, U], st), [X, W]);
27721
+ return renderLine(t, "", he, we, N, "clip".concat(St, "bounds").concat(ee), "guideline", "bounds", "bold");
27722
27722
  }));
27723
27723
  }), __spreadArray(__spreadArray([], ft, !0), ct, !0);
27724
27724
  },
@@ -27817,13 +27817,13 @@ var Clippable = {
27817
27817
  bottom: rt
27818
27818
  }, kt, Nt, 5), Mt = St.horizontal, $t = St.vertical, wt = Mt.offset, ee = $t.offset;
27819
27819
  if (Mt.isBound && (Rt[1] += wt), $t.isBound && (Rt[0] += ee), (bt || ht) && pt[0][0] === 0 && pt[0][1] === 0) {
27820
- var Ct = getRect(Ot), te = Ct.bottom - Ct.top, le = bt ? Ct.right - Ct.left : te, we = $t.isBound ? Math.abs(ee) : $t.snapIndex === 0 ? -ee : ee, Be = Mt.isBound ? Math.abs(wt) : Mt.snapIndex === 0 ? -wt : wt;
27821
- le -= we, te -= Be, ht && (te = checkSnapBoundPriority($t, Mt) > 0 ? te : le, le = te);
27820
+ var Ct = getRect(Ot), te = Ct.bottom - Ct.top, he = bt ? Ct.right - Ct.left : te, we = $t.isBound ? Math.abs(ee) : $t.snapIndex === 0 ? -ee : ee, Be = Mt.isBound ? Math.abs(wt) : Mt.snapIndex === 0 ? -wt : wt;
27821
+ he -= we, te -= Be, ht && (te = checkSnapBoundPriority($t, Mt) > 0 ? te : he, he = te);
27822
27822
  var ne = yt[0];
27823
- yt[1][1] = ne[1] - te, yt[2][0] = ne[0] + le, yt[3][1] = ne[1] + te, yt[4][0] = ne[0] - le;
27823
+ yt[1][1] = ne[1] - te, yt[2][0] = ne[0] + he, yt[3][1] = ne[1] + te, yt[4][0] = ne[0] - he;
27824
27824
  } else if (ct && X && D) {
27825
- var Me = getControlSize(it), ye = Me[0], de = Me[1], he = ye && de ? ye / de : 0, ie = it[U], Le = ie.direction || "", Na = yt[1][1], Ft = yt[5][1], dt = yt[7][0], Gt = yt[3][0];
27826
- wt <= ee ? wt = ee / he : ee = wt * he, Le.indexOf("w") > -1 ? dt -= ee : Le.indexOf("e") > -1 ? Gt -= ee : (dt += ee / 2, Gt -= ee / 2), Le.indexOf("n") > -1 ? Na -= wt : Le.indexOf("s") > -1 ? Ft -= wt : (Na += wt / 2, Ft -= wt / 2);
27825
+ var Me = getControlSize(it), ye = Me[0], de = Me[1], ce = ye && de ? ye / de : 0, ie = it[U], Le = ie.direction || "", Na = yt[1][1], Ft = yt[5][1], dt = yt[7][0], Gt = yt[3][0];
27826
+ wt <= ee ? wt = ee / ce : ee = wt * ce, Le.indexOf("w") > -1 ? dt -= ee : Le.indexOf("e") > -1 ? Gt -= ee : (dt += ee / 2, Gt -= ee / 2), Le.indexOf("n") > -1 ? Na -= wt : Le.indexOf("s") > -1 ? Ft -= wt : (Na += wt / 2, Ft -= wt / 2);
27827
27827
  var Dc = getRectPoses(Na, Gt, Ft, dt);
27828
27828
  yt.forEach(function(At, Bt) {
27829
27829
  var Ut;
@@ -29652,7 +29652,7 @@ var EventEmitter = /* @__PURE__ */ function() {
29652
29652
  return r !== null && r.apply(this, arguments) || this;
29653
29653
  }
29654
29654
  return t;
29655
- }(MoveableManager), Ur, Bs, ks, $s, Us, yo, En, xn, bo, Xc;
29655
+ }(MoveableManager), Gr, Bs, ks, $s, Us, yo, En, xn, bo, Xc;
29656
29656
  const jt = class {
29657
29657
  constructor(t, e = !1) {
29658
29658
  et(this, bo);
@@ -29690,7 +29690,7 @@ const jt = class {
29690
29690
  this.bg_col = t, this.isLay = e;
29691
29691
  }
29692
29692
  static init(t, e, o, T, S, N, D) {
29693
- t.view.insertAdjacentHTML("beforebegin", `<div id="${H(jt, Us)}" style="width: ${CmnLib.stageW * jt.sys.cvsScale}px; height: ${CmnLib.stageH * e.cvsScale}px; background: rgba(0,0,0,0); position: absolute; touch-action: none; user-select: none; display: none;"></div>`), nt(jt, Ur, document.getElementById(H(jt, Us))), jt.divHint.classList.add("sn_design_hint"), t.view.parentElement.appendChild(jt.divHint), jt.sys = e, nt(jt, Bs, o), jt.prpPrs = T, nt(jt, ks, S), nt(jt, $s, N), jt.hPages = D, addStyle(`
29693
+ t.view.insertAdjacentHTML("beforebegin", `<div id="${H(jt, Us)}" style="width: ${CmnLib.stageW * jt.sys.cvsScale}px; height: ${CmnLib.stageH * e.cvsScale}px; background: rgba(0,0,0,0); position: absolute; touch-action: none; user-select: none; display: none;"></div>`), nt(jt, Gr, document.getElementById(H(jt, Us))), jt.divHint.classList.add("sn_design_hint"), t.view.parentElement.appendChild(jt.divHint), jt.sys = e, nt(jt, Bs, o), jt.prpPrs = T, nt(jt, ks, S), nt(jt, $s, N), jt.hPages = D, addStyle(`
29694
29694
  .sn_design_cast {
29695
29695
  position: absolute; touch-action: none; user-select: none;
29696
29696
  opacity: 0.6; border-radius: 8px;
@@ -29723,7 +29723,7 @@ const jt = class {
29723
29723
  top: ${Math.max(10, T.ly + o - D - 10)}px;`;
29724
29724
  }
29725
29725
  static cvsResizeDesign() {
29726
- const t = H(jt, Ur).style;
29726
+ const t = H(jt, Gr).style;
29727
29727
  t.width = `${CmnLib.stageW * jt.sys.cvsScale}px`, t.height = `${CmnLib.stageH * jt.sys.cvsScale}px`;
29728
29728
  }
29729
29729
  destroy() {
@@ -29763,7 +29763,7 @@ const jt = class {
29763
29763
  this.child = t, t.parent = this;
29764
29764
  }
29765
29765
  static enterMode() {
29766
- jt.leaveMode(), H(jt, Ur).style.display = "inline", nt(jt, yo, 0), nt(jt, En, {});
29766
+ jt.leaveMode(), H(jt, Gr).style.display = "inline", nt(jt, yo, 0), nt(jt, En, {});
29767
29767
  }
29768
29768
  static allHide() {
29769
29769
  H(jt, xn).forEach((t) => t.visible = !1);
@@ -29772,7 +29772,7 @@ const jt = class {
29772
29772
  !this.div || !this.mov || (this.div.style.display = t ? "inline" : "none", this.mov.updateTarget());
29773
29773
  }
29774
29774
  static leaveMode() {
29775
- H(jt, Ur).textContent = "", H(jt, Ur).style.display = "none", H(jt, xn).forEach((t) => t.destroy()), nt(jt, xn, []);
29775
+ H(jt, Gr).textContent = "", H(jt, Gr).style.display = "none", H(jt, xn).forEach((t) => t.destroy()), nt(jt, xn, []);
29776
29776
  }
29777
29777
  cvsResize() {
29778
29778
  var t;
@@ -29787,7 +29787,7 @@ const jt = class {
29787
29787
  const e = this.div = document.createElement("div");
29788
29788
  e.id = H(jt, Us) + "_" + ++Pe(jt, yo)._, e.classList.add("sn_design_cast"), e.dataset.id_dc = t, e.style.backgroundColor = `${this.bg_col}`, e.style.display = "none", this.rect = this.getRect(), ot(this, bo, Xc).call(this), (this.parent && ($ = document.querySelector(
29789
29789
  `[data-id_dc="${this.parent.id_tag}"]`
29790
- )) != null ? $ : H(jt, Ur)).appendChild(e);
29790
+ )) != null ? $ : H(jt, Gr)).appendChild(e);
29791
29791
  const o = {
29792
29792
  aPos: [0, 0],
29793
29793
  roDeg: 0,
@@ -29952,7 +29952,7 @@ ${N}`, "F"), T.rotation = ut;
29952
29952
  }
29953
29953
  };
29954
29954
  let DesignCast = jt;
29955
- Ur = new WeakMap(), Bs = new WeakMap(), ks = new WeakMap(), $s = new WeakMap(), Us = new WeakMap(), yo = new WeakMap(), En = new WeakMap(), xn = new WeakMap(), bo = new WeakSet(), Xc = function() {
29955
+ Gr = new WeakMap(), Bs = new WeakMap(), ks = new WeakMap(), $s = new WeakMap(), Us = new WeakMap(), yo = new WeakMap(), En = new WeakMap(), xn = new WeakMap(), bo = new WeakSet(), Xc = function() {
29956
29956
  this.fncLay(), this.div && Object.assign(this.div.style, {
29957
29957
  left: `${this.lx + this.rect.x * jt.sys.cvsScale}px`,
29958
29958
  top: `${this.ly + this.rect.y * jt.sys.cvsScale}px`,
@@ -29961,7 +29961,7 @@ Ur = new WeakMap(), Bs = new WeakMap(), ks = new WeakMap(), $s = new WeakMap(),
29961
29961
  transformOrigin: `${this.pivot.x * jt.sys.cvsScale}px ${this.pivot.y * jt.sys.cvsScale}px`,
29962
29962
  transform: `scale(${this.scale.x}, ${this.scale.y}) rotate(${this.rotation}deg)`
29963
29963
  });
29964
- }, et(DesignCast, Ur, void 0), Pt(DesignCast, "sys"), et(DesignCast, Bs, void 0), Pt(DesignCast, "prpPrs"), et(DesignCast, ks, void 0), et(DesignCast, $s, void 0), Pt(DesignCast, "hPages"), Pt(DesignCast, "divHint", document.createElement("div")), et(DesignCast, Us, "DesignMode"), et(DesignCast, yo, 0), et(DesignCast, En, {}), et(DesignCast, xn, []);
29964
+ }, et(DesignCast, Gr, void 0), Pt(DesignCast, "sys"), et(DesignCast, Bs, void 0), Pt(DesignCast, "prpPrs"), et(DesignCast, ks, void 0), et(DesignCast, $s, void 0), Pt(DesignCast, "hPages"), Pt(DesignCast, "divHint", document.createElement("div")), et(DesignCast, Us, "DesignMode"), et(DesignCast, yo, 0), et(DesignCast, En, {}), et(DesignCast, xn, []);
29965
29965
  var ki;
29966
29966
  class GrpLayDesignCast extends DesignCast {
29967
29967
  constructor(e, o) {
@@ -30210,16 +30210,16 @@ class PicBtnDesignCast extends BtnDesignCast {
30210
30210
  }
30211
30211
  }
30212
30212
  ii = new WeakMap();
30213
- var th, $i, ni, Tn, Sn, Gr, xo, Cn, To, So, Hr, si, Ui, Gi, Co, Ro, Io, eh, id, rh, nd, wo, Yc, ih, sd, Gs, Cr, Hs, Rn, Po;
30214
- const Xt = class extends Layer {
30213
+ var th, $i, ni, Tn, Sn, Hr, xo, Cn, To, So, jr, si, Ui, Gi, Co, Ro, Io, eh, id, rh, nd, wo, Yc, ih, sd, Gs, Cr, Hs, Rn, Po;
30214
+ const Wt = class extends Layer {
30215
30215
  constructor() {
30216
30216
  super();
30217
- et(this, Hr, new GrpLayDesignCast(this.spLay, this));
30217
+ et(this, jr, new GrpLayDesignCast(this.spLay, this));
30218
30218
  et(this, si, "");
30219
30219
  et(this, Ui, "");
30220
30220
  et(this, Gi, "");
30221
30221
  Pt(this, "lay", (e) => this.laySub(e, (o) => {
30222
- o && H(Xt, ni).resume();
30222
+ o && H(Wt, ni).resume();
30223
30223
  }));
30224
30224
  et(this, Co, 0);
30225
30225
  et(this, Ro, 0);
@@ -30231,43 +30231,43 @@ const Xt = class extends Layer {
30231
30231
  ...super.record(),
30232
30232
  sBkFn: H(this, Ui),
30233
30233
  sBkFace: H(this, Gi),
30234
- idc_hArg: H(this, Hr).gethArg()
30234
+ idc_hArg: H(this, jr).gethArg()
30235
30235
  }));
30236
30236
  Pt(this, "dump", () => super.dump() + `, "pic":"${H(this, si)}"`);
30237
- CmnLib.isDbg && (this.setSp = (e) => H(this, Hr).setSp(e), this.cvsResize = () => {
30238
- super.cvsResize(), H(this, Hr).cvsResize();
30237
+ CmnLib.isDbg && (this.setSp = (e) => H(this, jr).setSp(e), this.cvsResize = () => {
30238
+ super.cvsResize(), H(this, jr).cvsResize();
30239
30239
  });
30240
30240
  }
30241
30241
  static init(e, o, T, S, N, D) {
30242
- nt(Xt, ni, e), nt(Xt, Tn, o), nt(Xt, Sn, T), nt(Xt, Gr, S), nt(Xt, xo, D);
30242
+ nt(Wt, ni, e), nt(Wt, Tn, o), nt(Wt, Sn, T), nt(Wt, Hr, S), nt(Wt, xo, D);
30243
30243
  const B = () => {
30244
- const $ = H(Xt, Cn) * H(Xt, To);
30245
- for (const U of Object.values(Xt.hFn2VElm))
30244
+ const $ = H(Wt, Cn) * H(Wt, To);
30245
+ for (const U of Object.values(Wt.hFn2VElm))
30246
30246
  U.volume = $;
30247
30247
  };
30248
30248
  N.setNoticeChgVolume(
30249
30249
  ($) => {
30250
- nt(Xt, Cn, $), B();
30250
+ nt(Wt, Cn, $), B();
30251
30251
  },
30252
30252
  ($) => {
30253
- nt(Xt, To, $), B();
30253
+ nt(Wt, To, $), B();
30254
30254
  }
30255
- ), H(Xt, Gr).crypto && nt(Xt, Io, ot(Xt, rh, nd));
30255
+ ), H(Wt, Hr).crypto && nt(Wt, Io, ot(Wt, rh, nd));
30256
30256
  }
30257
30257
  static setEvtMng(e) {
30258
- nt(Xt, So, e);
30258
+ nt(Wt, So, e);
30259
30259
  }
30260
30260
  static destroy() {
30261
- H(Xt, th).clear(), nt(Xt, $i, {}), Xt.hFn2ResAniSpr = {}, Xt.hFn2VElm = {};
30261
+ H(Wt, th).clear(), nt(Wt, $i, {}), Wt.hFn2ResAniSpr = {}, Wt.hFn2VElm = {};
30262
30262
  }
30263
30263
  setSp(e) {
30264
30264
  }
30265
30265
  laySub(e, o) {
30266
30266
  const { fn: T, face: S = "" } = e;
30267
- if (H(this, Hr).sethArg(e), !T)
30267
+ if (H(this, jr).sethArg(e), !T)
30268
30268
  return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), nt(this, Ui, ""), nt(this, si, nt(this, Gi, S)), o(!1), !1;
30269
30269
  const N = "fn" in e, D = "face" in e;
30270
- return this.clearLay({ filter: "true" }), N && nt(this, Ui, T), D && nt(this, Gi, S), super.lay(e), e.dx = 0, e.dy = 0, Xt.csv2Sprites(
30270
+ return this.clearLay({ filter: "true" }), N && nt(this, Ui, T), D && nt(this, Gi, S), super.lay(e), e.dx = 0, e.dy = 0, Wt.csv2Sprites(
30271
30271
  nt(this, si, T + (S ? "," + S : "")),
30272
30272
  this.spLay,
30273
30273
  (B) => {
@@ -30298,7 +30298,7 @@ const Xt = class extends Layer {
30298
30298
  e.split(",").forEach((U, z) => {
30299
30299
  if (!U)
30300
30300
  throw "face\u5C5E\u6027\u306B\u7A7A\u8981\u7D20\u304C\u542B\u307E\u308C\u307E\u3059";
30301
- const V = H(Xt, $i)[U] || {
30301
+ const V = H(Wt, $i)[U] || {
30302
30302
  fn: U,
30303
30303
  dx: 0,
30304
30304
  dy: 0,
@@ -30306,24 +30306,24 @@ const Xt = class extends Layer {
30306
30306
  }, X = z === 0 ? T : (q) => {
30307
30307
  q.x = V.dx, q.y = V.dy, q.blendMode = V.blendmode;
30308
30308
  };
30309
- if (D.push({ fn: V.fn, fnc: X }), V.fn in Xt.hFn2ResAniSpr || V.fn in TextureCache || V.fn in Loader.shared.resources)
30309
+ if (D.push({ fn: V.fn, fnc: X }), V.fn in Wt.hFn2ResAniSpr || V.fn in TextureCache || V.fn in Loader.shared.resources)
30310
30310
  return;
30311
30311
  N = !0;
30312
- const W = H(Xt, Tn).searchPath(V.fn, SEARCH_PATH_ARG_EXT.SPRITE), Y = H(this, Gr).crypto ? { xhrType: W.slice(-5) === ".json" ? LoaderResource.XHR_RESPONSE_TYPE.TEXT : LoaderResource.XHR_RESPONSE_TYPE.BUFFER } : {};
30312
+ const W = H(Wt, Tn).searchPath(V.fn, SEARCH_PATH_ARG_EXT.SPRITE), Y = H(this, Hr).crypto ? { xhrType: W.slice(-5) === ".json" ? LoaderResource.XHR_RESPONSE_TYPE.TEXT : LoaderResource.XHR_RESPONSE_TYPE.BUFFER } : {};
30313
30313
  B.add({ ...Y, name: V.fn, url: W });
30314
30314
  });
30315
30315
  const $ = (U) => {
30316
30316
  var z;
30317
30317
  for (const { fn: V, fnc: X } of D) {
30318
- const W = ot(z = Xt, ih, sd).call(z, V, U);
30318
+ const W = ot(z = Wt, ih, sd).call(z, V, U);
30319
30319
  W.name = V, o == null || o.addChild(W), X(W);
30320
30320
  }
30321
30321
  S(N);
30322
30322
  };
30323
30323
  return N ? B.use((U, z) => {
30324
- H(this, Gr).dec(U.extension, U.data).then((V) => {
30324
+ H(this, Hr).dec(U.extension, U.data).then((V) => {
30325
30325
  var X;
30326
- return H(X = Xt, Io).call(X, V, U, () => z == null ? void 0 : z());
30326
+ return H(X = Wt, Io).call(X, V, U, () => z == null ? void 0 : z());
30327
30327
  }).catch((V) => H(this, ni).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${U.name} ${V}`, !1));
30328
30328
  }).load((U, z) => $(z)) : $({}), N;
30329
30329
  }
@@ -30331,15 +30331,15 @@ const Xt = class extends Layer {
30331
30331
  const { fn: o } = e;
30332
30332
  if (!o)
30333
30333
  throw "fn\u306F\u5FC5\u9808\u3067\u3059";
30334
- const T = Xt.hFn2VElm[o];
30334
+ const T = Wt.hFn2VElm[o];
30335
30335
  if (!T || T.loop)
30336
30336
  return !1;
30337
30337
  if (T.ended)
30338
- return delete Xt.hFn2VElm[o], !1;
30338
+ return delete Wt.hFn2VElm[o], !1;
30339
30339
  const S = () => {
30340
- T.removeEventListener("ended", S), delete Xt.hFn2VElm[o], H(this, ni).resume();
30340
+ T.removeEventListener("ended", S), delete Wt.hFn2VElm[o], H(this, ni).resume();
30341
30341
  };
30342
- return T.addEventListener("ended", S, { once: !0, passive: !0 }), H(Xt, So).waitEvent(
30342
+ return T.addEventListener("ended", S, { once: !0, passive: !0 }), H(Wt, So).waitEvent(
30343
30343
  () => {
30344
30344
  T.pause(), S();
30345
30345
  },
@@ -30357,7 +30357,7 @@ const Xt = class extends Layer {
30357
30357
  this.spLay.alpha = 1;
30358
30358
  for (const T of this.spLay.children)
30359
30359
  T.visible = !0;
30360
- H(this, Cr).visible = !1, H(Xt, Sn).renderer.render(this.spLay, { renderTexture: H(this, Gs) }), this.spLay.alpha = o;
30360
+ H(this, Cr).visible = !1, H(Wt, Sn).renderer.render(this.spLay, { renderTexture: H(this, Gs) }), this.spLay.alpha = o;
30361
30361
  for (const T of this.spLay.children)
30362
30362
  T.visible = !1;
30363
30363
  };
@@ -30370,10 +30370,10 @@ const Xt = class extends Layer {
30370
30370
  }
30371
30371
  nt(this, Hs, () => {
30372
30372
  e(), H(this, Cr).visible = !0;
30373
- }), H(Xt, Sn).ticker.add(H(this, Hs));
30373
+ }), H(Wt, Sn).ticker.add(H(this, Hs));
30374
30374
  }
30375
30375
  renderEnd() {
30376
- H(Xt, Sn).ticker.remove(H(this, Hs)), this.spLay.removeChild(H(this, Cr));
30376
+ H(Wt, Sn).ticker.remove(H(this, Hs)), this.spLay.removeChild(H(this, Cr));
30377
30377
  for (const e of this.spLay.children)
30378
30378
  e.visible = !0;
30379
30379
  H(this, Cr).destroy(!0);
@@ -30390,15 +30390,15 @@ const Xt = class extends Layer {
30390
30390
  return;
30391
30391
  }
30392
30392
  H(this, Rn)[e] = [o];
30393
- const D = H(Xt, Tn).searchPath(e, SEARCH_PATH_ARG_EXT.SPRITE), B = new Loader().add({ name: e, url: D, xhrType: LoaderResource.XHR_RESPONSE_TYPE.BUFFER });
30394
- H(Xt, Gr).crypto && B.use(($, U) => {
30395
- H(Xt, Gr).dec($.extension, $.data).then((z) => {
30393
+ const D = H(Wt, Tn).searchPath(e, SEARCH_PATH_ARG_EXT.SPRITE), B = new Loader().add({ name: e, url: D, xhrType: LoaderResource.XHR_RESPONSE_TYPE.BUFFER });
30394
+ H(Wt, Hr).crypto && B.use(($, U) => {
30395
+ H(Wt, Hr).dec($.extension, $.data).then((z) => {
30396
30396
  if ($.extension !== "bin") {
30397
30397
  U == null || U();
30398
30398
  return;
30399
30399
  }
30400
30400
  $.data = z, z instanceof HTMLImageElement && ($.type = LoaderResource.TYPE.IMAGE), U == null || U();
30401
- }).catch((z) => H(Xt, ni).errScript(`GrpLayer loadPic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${$.name} ${z}`, !1));
30401
+ }).catch((z) => H(Wt, ni).errScript(`GrpLayer loadPic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${$.name} ${z}`, !1));
30402
30402
  }), B.load(($, U) => {
30403
30403
  for (const [z, { data: { src: V } }] of Object.entries(U)) {
30404
30404
  const X = H(this, Po)[z] = V;
@@ -30420,10 +30420,10 @@ const Xt = class extends Layer {
30420
30420
  const { name: o } = e;
30421
30421
  if (!o)
30422
30422
  throw "name\u306F\u5FC5\u9808\u3067\u3059";
30423
- if (o in H(Xt, $i))
30423
+ if (o in H(Wt, $i))
30424
30424
  throw "\u4E00\u3064\u306Ename\uFF08" + o + "\uFF09\u306B\u5BFE\u3057\u3066\u540C\u3058\u753B\u50CF\u3092\u8907\u6570\u5272\u308A\u5F53\u3066\u3089\u308C\u307E\u305B\u3093";
30425
30425
  const { fn: T = o } = e;
30426
- return H(Xt, $i)[o] = {
30426
+ return H(Wt, $i)[o] = {
30427
30427
  fn: T,
30428
30428
  dx: argChk_Num(e, "dx", 0),
30429
30429
  dy: argChk_Num(e, "dy", 0),
@@ -30431,14 +30431,14 @@ const Xt = class extends Layer {
30431
30431
  }, !1;
30432
30432
  }
30433
30433
  static clearFace2Name() {
30434
- nt(Xt, $i, {});
30434
+ nt(Wt, $i, {});
30435
30435
  }
30436
30436
  get containMovement() {
30437
30437
  if (H(this, si) === "")
30438
30438
  return !1;
30439
30439
  const e = this.spLay.children;
30440
30440
  return H(this, si).split(",").some(
30441
- (o, T) => e[T] instanceof AnimatedSprite || Xt.hFn2VElm[o]
30441
+ (o, T) => e[T] instanceof AnimatedSprite || Wt.hFn2VElm[o]
30442
30442
  );
30443
30443
  }
30444
30444
  clearLay(e) {
@@ -30449,7 +30449,7 @@ const Xt = class extends Layer {
30449
30449
  }
30450
30450
  playback(e, o) {
30451
30451
  if (super.playback(e, o), e.sBkFn === "" && e.sBkFace === "") {
30452
- nt(this, Ui, e.sBkFn), nt(this, Gi, e.sBkFace), H(this, Hr).sethArg(e.idc_hArg);
30452
+ nt(this, Ui, e.sBkFn), nt(this, Gi, e.sBkFace), H(this, jr).sethArg(e.idc_hArg);
30453
30453
  return;
30454
30454
  }
30455
30455
  o.push(new Promise((T) => this.laySub(
@@ -30460,17 +30460,17 @@ const Xt = class extends Layer {
30460
30460
  )));
30461
30461
  }
30462
30462
  makeDesignCast(e) {
30463
- !this.spLay.visible || e(H(this, Hr));
30463
+ !this.spLay.visible || e(H(this, jr));
30464
30464
  }
30465
30465
  cvsResize() {
30466
30466
  super.cvsResize();
30467
30467
  }
30468
30468
  showDesignCast() {
30469
- H(this, Hr).visible = !0;
30469
+ H(this, jr).visible = !0;
30470
30470
  }
30471
30471
  };
30472
- let GrpLayer = Xt;
30473
- th = new WeakMap(), $i = new WeakMap(), ni = new WeakMap(), Tn = new WeakMap(), Sn = new WeakMap(), Gr = new WeakMap(), xo = new WeakMap(), Cn = new WeakMap(), To = new WeakMap(), So = new WeakMap(), Hr = new WeakMap(), si = new WeakMap(), Ui = new WeakMap(), Gi = new WeakMap(), Co = new WeakMap(), Ro = new WeakMap(), Io = new WeakMap(), eh = new WeakSet(), id = function(e) {
30472
+ let GrpLayer = Wt;
30473
+ th = new WeakMap(), $i = new WeakMap(), ni = new WeakMap(), Tn = new WeakMap(), Sn = new WeakMap(), Hr = new WeakMap(), xo = new WeakMap(), Cn = new WeakMap(), To = new WeakMap(), So = new WeakMap(), jr = new WeakMap(), si = new WeakMap(), Ui = new WeakMap(), Gi = new WeakMap(), Co = new WeakMap(), Ro = new WeakMap(), Io = new WeakMap(), eh = new WeakSet(), id = function(e) {
30474
30474
  const o = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
30475
30475
  if (!o)
30476
30476
  return [];
@@ -30480,7 +30480,7 @@ th = new WeakMap(), $i = new WeakMap(), ni = new WeakMap(), Tn = new WeakMap(),
30480
30480
  );
30481
30481
  }, rh = new WeakSet(), nd = function(e, o, T) {
30482
30482
  var $;
30483
- if (o.data = e, o.extension === "bin" && (e instanceof HTMLImageElement ? (o.texture = Texture.fromLoader(e, o.url, o.name), o.type = LoaderResource.TYPE.IMAGE, URL.revokeObjectURL(e.src)) : e instanceof HTMLVideoElement && (e.volume = H(Xt, Cn), Xt.hFn2VElm[o.name] = ot($ = Xt, wo, Yc).call($, e), o.type = LoaderResource.TYPE.VIDEO, URL.revokeObjectURL(e.src))), o.extension !== "json") {
30483
+ if (o.data = e, o.extension === "bin" && (e instanceof HTMLImageElement ? (o.texture = Texture.fromLoader(e, o.url, o.name), o.type = LoaderResource.TYPE.IMAGE, URL.revokeObjectURL(e.src)) : e instanceof HTMLVideoElement && (e.volume = H(Wt, Cn), Wt.hFn2VElm[o.name] = ot($ = Wt, wo, Yc).call($, e), o.type = LoaderResource.TYPE.VIDEO, URL.revokeObjectURL(e.src))), o.extension !== "json") {
30484
30484
  T();
30485
30485
  return;
30486
30486
  }
@@ -30493,15 +30493,15 @@ th = new WeakMap(), $i = new WeakMap(), ni = new WeakMap(), Tn = new WeakMap(),
30493
30493
  T();
30494
30494
  return;
30495
30495
  }
30496
- const D = getFn(S.image), B = H(Xt, Tn).searchPath(D, SEARCH_PATH_ARG_EXT.SPRITE);
30496
+ const D = getFn(S.image), B = H(Wt, Tn).searchPath(D, SEARCH_PATH_ARG_EXT.SPRITE);
30497
30497
  new Loader().use((U, z) => {
30498
- H(this, Gr).dec(U.extension, U.data).then((V) => {
30498
+ H(this, Hr).dec(U.extension, U.data).then((V) => {
30499
30499
  U.data = V, V instanceof HTMLImageElement && (U.type = LoaderResource.TYPE.IMAGE, URL.revokeObjectURL(V.src)), z == null || z();
30500
30500
  }).catch((V) => H(this, ni).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 dec2res4Cripto fn:${U.name} ${V}`, !1));
30501
30501
  }).add({ name: D, url: B, xhrType: LoaderResource.XHR_RESPONSE_TYPE.BUFFER }).load((U, z) => {
30502
30502
  for (const { data: V } of Object.values(U.resources)) {
30503
30503
  const { baseTexture: X } = Texture.from(V), W = Object.values(N);
30504
- Xt.hFn2ResAniSpr[o.name] = {
30504
+ Wt.hFn2ResAniSpr[o.name] = {
30505
30505
  aTex: W.map(({ frame: { x: Y, y: q, w: Z, h: K } }) => new Texture(
30506
30506
  X,
30507
30507
  new Rectangle(Y, q, Z, K)
@@ -30512,32 +30512,32 @@ th = new WeakMap(), $i = new WeakMap(), ni = new WeakMap(), Tn = new WeakMap(),
30512
30512
  T();
30513
30513
  });
30514
30514
  }, wo = new WeakSet(), Yc = function(e) {
30515
- return H(Xt, xo).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay\u7CFB] ${DebugMng.strPos()}\u672A\u30AF\u30EA\u30C3\u30AF\u72B6\u614B\u3067\u52D5\u753B\u3092\u81EA\u52D5\u518D\u751F\u3057\u307E\u3059\u3002\u97F3\u58F0\u306F\u30DF\u30E5\u30FC\u30C8\u3055\u308C\u307E\u3059`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
30515
+ return H(Wt, xo).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay\u7CFB] ${DebugMng.strPos()}\u672A\u30AF\u30EA\u30C3\u30AF\u72B6\u614B\u3067\u52D5\u753B\u3092\u81EA\u52D5\u518D\u751F\u3057\u307E\u3059\u3002\u97F3\u58F0\u306F\u30DF\u30E5\u30FC\u30C8\u3055\u308C\u307E\u3059`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
30516
30516
  }, ih = new WeakSet(), sd = function(e, o) {
30517
30517
  var S;
30518
- const T = Xt.hFn2ResAniSpr[e];
30518
+ const T = Wt.hFn2ResAniSpr[e];
30519
30519
  if (T) {
30520
30520
  const N = new AnimatedSprite(T.aTex);
30521
30521
  return N.animationSpeed = (S = T.meta.animationSpeed) != null ? S : 1, N.play(), N;
30522
30522
  }
30523
- return e in TextureCache ? Sprite.from(e) : e in Xt.hFn2VElm ? Sprite.from(Xt.hFn2VElm[e]) : e in o ? new Sprite(o[e].texture) : new Sprite();
30524
- }, Gs = new WeakMap(), Cr = new WeakMap(), Hs = new WeakMap(), Rn = new WeakMap(), Po = new WeakMap(), et(GrpLayer, eh), et(GrpLayer, rh), et(GrpLayer, wo), et(GrpLayer, ih), et(GrpLayer, th, new EventListenerCtn()), et(GrpLayer, $i, {}), et(GrpLayer, ni, void 0), et(GrpLayer, Tn, void 0), et(GrpLayer, Sn, void 0), et(GrpLayer, Gr, void 0), et(GrpLayer, xo, void 0), et(GrpLayer, Cn, 1), et(GrpLayer, To, 1), et(GrpLayer, So, void 0), Pt(GrpLayer, "hFn2ResAniSpr", {}), et(GrpLayer, Io, (e, o, T) => {
30523
+ return e in TextureCache ? Sprite.from(e) : e in Wt.hFn2VElm ? Sprite.from(Wt.hFn2VElm[e]) : e in o ? new Sprite(o[e].texture) : new Sprite();
30524
+ }, Gs = new WeakMap(), Cr = new WeakMap(), Hs = new WeakMap(), Rn = new WeakMap(), Po = new WeakMap(), et(GrpLayer, eh), et(GrpLayer, rh), et(GrpLayer, wo), et(GrpLayer, ih), et(GrpLayer, th, new EventListenerCtn()), et(GrpLayer, $i, {}), et(GrpLayer, ni, void 0), et(GrpLayer, Tn, void 0), et(GrpLayer, Sn, void 0), et(GrpLayer, Hr, void 0), et(GrpLayer, xo, void 0), et(GrpLayer, Cn, 1), et(GrpLayer, To, 1), et(GrpLayer, So, void 0), Pt(GrpLayer, "hFn2ResAniSpr", {}), et(GrpLayer, Io, (e, o, T) => {
30525
30525
  var S, N;
30526
30526
  switch (o.type) {
30527
30527
  case LoaderResource.TYPE.JSON:
30528
30528
  const D = o.spritesheet._frameKeys;
30529
- ot(S = Xt, eh, id).call(S, D), Xt.hFn2ResAniSpr[o.name] = {
30529
+ ot(S = Wt, eh, id).call(S, D), Wt.hFn2ResAniSpr[o.name] = {
30530
30530
  aTex: D.map(($) => Texture.from($)),
30531
30531
  meta: o.data.meta
30532
30532
  };
30533
30533
  break;
30534
30534
  case LoaderResource.TYPE.VIDEO:
30535
30535
  const B = o.data;
30536
- B.volume = H(Xt, Cn), Xt.hFn2VElm[o.name] = ot(N = Xt, wo, Yc).call(N, B);
30536
+ B.volume = H(Wt, Cn), Wt.hFn2VElm[o.name] = ot(N = Wt, wo, Yc).call(N, B);
30537
30537
  }
30538
30538
  T();
30539
30539
  }), Pt(GrpLayer, "hFn2VElm", {}), et(GrpLayer, Rn, {}), et(GrpLayer, Po, {});
30540
- var js, Ao, In, fe, jr, ai, nh, ar, Hi, Wt, oi, or, ur, zs, rl, Rr, zr, Oo, Vs, sh, ad, wn, Xs, ui, Pn, An, On, Ws, li, No, qc, hi, Mo, ci, Vr, Ys, Do, Zc, ji, Nn, Lo, Kc, vr;
30540
+ var js, Ao, In, le, zr, ai, nh, ur, Hi, Xt, oi, Xe, We, zs, rl, Rr, Ir, Oo, Vs, sh, ad, wn, Xs, ui, Pn, An, On, Ws, li, No, qc, hi, Mo, ci, Vr, Ys, Do, Zc, ji, Nn, Lo, Kc, vr;
30541
30541
  const Zt = class extends Container {
30542
30542
  constructor(e, o, T) {
30543
30543
  super();
@@ -30546,12 +30546,12 @@ const Zt = class extends Container {
30546
30546
  et(this, No);
30547
30547
  et(this, Do);
30548
30548
  et(this, Lo);
30549
- et(this, fe, document.createElement("span"));
30550
- et(this, jr, new Container());
30549
+ et(this, le, document.createElement("span"));
30550
+ et(this, zr, new Container());
30551
30551
  et(this, ai, new Graphics());
30552
- et(this, ar, new TxtLayDesignCast(this.spLay, this));
30552
+ et(this, ur, new TxtLayDesignCast(this.spLay, this));
30553
30553
  et(this, Hi, new TxtLayPadDesignCast(this));
30554
- et(this, Wt, {
30554
+ et(this, Xt, {
30555
30555
  fontsize: 24,
30556
30556
  $width: 0,
30557
30557
  $height: 0,
@@ -30561,10 +30561,10 @@ const Zt = class extends Container {
30561
30561
  pad_bottom: 0
30562
30562
  });
30563
30563
  et(this, oi, !1);
30564
- et(this, or, 0);
30565
- et(this, ur, 0);
30564
+ et(this, Xe, 0);
30565
+ et(this, We, 0);
30566
30566
  et(this, Rr, 0);
30567
- et(this, zr, !1);
30567
+ et(this, Ir, !1);
30568
30568
  et(this, Oo, 0);
30569
30569
  et(this, Vs, 0);
30570
30570
  et(this, wn, void 0);
@@ -30576,7 +30576,7 @@ const Zt = class extends Container {
30576
30576
  et(this, ji, "Quadratic.Out");
30577
30577
  et(this, Nn, "Quadratic.Out");
30578
30578
  et(this, vr, void 0);
30579
- this.spLay = e, this.canFocus = o, this.sys = T, H(this, fe).classList.add("sn_tx"), H(this, fe).style.position = "absolute", H(Zt, Ao).view.parentElement.appendChild(H(this, fe)), this.addChild(H(this, jr)), this.addChild(H(this, ai)), H(this, ai).name = "grpDbgMasume", H(this, ar).adopt(H(this, Hi));
30579
+ this.spLay = e, this.canFocus = o, this.sys = T, H(this, le).classList.add("sn_tx"), H(this, le).style.position = "absolute", H(Zt, Ao).view.parentElement.appendChild(H(this, le)), this.addChild(H(this, zr)), this.addChild(H(this, ai)), H(this, ai).name = "grpDbgMasume", H(this, ur).adopt(H(this, Hi));
30580
30580
  }
30581
30581
  static init(e, o) {
30582
30582
  nt(Zt, js, e), nt(Zt, Ao, o), nt(Zt, An, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), nt(Zt, On, /[[({〈「『【〔“〝]/), nt(Zt, Ws, /[─‥…]/);
@@ -30589,7 +30589,7 @@ const Zt = class extends Container {
30589
30589
  }
30590
30590
  lay(e) {
30591
30591
  var T, S, N, D, B, $, U, z;
30592
- const o = H(this, fe).style;
30592
+ const o = H(this, le).style;
30593
30593
  if ("style" in e)
30594
30594
  if (e.style) {
30595
30595
  const V = document.createElement("span");
@@ -30605,47 +30605,47 @@ const Zt = class extends Container {
30605
30605
  }
30606
30606
  !V.style.opacity && "alpha" in e && (o.opacity = String(this.spLay.alpha));
30607
30607
  } else
30608
- H(this, fe).style.cssText = "";
30608
+ H(this, le).style.cssText = "";
30609
30609
  else
30610
30610
  "alpha" in e && (o.opacity = String(this.spLay.alpha));
30611
- if ("width" in e && (o.width = ((T = e.width) != null ? T : "0") + "px"), "height" in e && (o.height = ((S = e.height) != null ? S : "0") + "px"), "pl" in e && (o.paddingLeft = ((N = e.pl) != null ? N : "0") + "px"), "pr" in e && (o.paddingRight = ((D = e.pr) != null ? D : "0") + "px"), "pt" in e && (o.paddingTop = ((B = e.pt) != null ? B : "0") + "px"), "pb" in e && (o.paddingBottom = (($ = e.pb) != null ? $ : "0") + "px"), "kinsoku_sol" in e && nt(Zt, An, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && nt(Zt, On, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && nt(Zt, Ws, new RegExp(`[${e.kinsoku_dns}]`)), ot(this, zs, rl).call(this), H(this, ar).sethArg(e), nt(this, Rr, 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 = (z = (U = e.filter) != null ? U : o.textShadow) != null ? z : "", nt(this, oi, argChk_Boolean(e, "break_fixed", H(this, oi))), nt(this, or, argChk_Num(e, "break_fixed_left", H(this, or))), nt(this, ur, argChk_Num(e, "break_fixed_top", H(this, ur))), ":redraw" in e && H(this, Pn) > 0) {
30611
+ if ("width" in e && (o.width = ((T = e.width) != null ? T : "0") + "px"), "height" in e && (o.height = ((S = e.height) != null ? S : "0") + "px"), "pl" in e && (o.paddingLeft = ((N = e.pl) != null ? N : "0") + "px"), "pr" in e && (o.paddingRight = ((D = e.pr) != null ? D : "0") + "px"), "pt" in e && (o.paddingTop = ((B = e.pt) != null ? B : "0") + "px"), "pb" in e && (o.paddingBottom = (($ = e.pb) != null ? $ : "0") + "px"), "kinsoku_sol" in e && nt(Zt, An, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && nt(Zt, On, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && nt(Zt, Ws, new RegExp(`[${e.kinsoku_dns}]`)), ot(this, zs, rl).call(this), H(this, ur).sethArg(e), nt(this, Rr, 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 = (z = (U = e.filter) != null ? U : o.textShadow) != null ? z : "", nt(this, oi, argChk_Boolean(e, "break_fixed", H(this, oi))), nt(this, Xe, argChk_Num(e, "break_fixed_left", H(this, Xe))), nt(this, We, argChk_Num(e, "break_fixed_top", H(this, We))), ":redraw" in e && H(this, Pn) > 0) {
30612
30612
  const V = [
30613
- H(this, fe).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
30613
+ H(this, le).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
30614
30614
  `<span class='sn_ch' data-add='{"ch_in_style":"default"}'>\u3000</span>`
30615
30615
  ];
30616
30616
  ot(this, Lo, Kc).call(this), this.goTxt(V);
30617
30617
  }
30618
30618
  }
30619
30619
  cvsResize() {
30620
- const e = H(this, fe).style, o = this.sys.cvsScale;
30621
- e.left = `${this.sys.ofsLeft4elm + H(this, Rr) * o}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * o}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * o}, ${this.spLay.scale.y * o})`, H(this, ar).cvsResize(), H(this, Hi).cvsResize();
30620
+ const e = H(this, le).style, o = this.sys.cvsScale;
30621
+ e.left = `${this.sys.ofsLeft4elm + H(this, Rr) * o}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * o}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * o}, ${this.spLay.scale.y * o})`, H(this, ur).cvsResize(), H(this, Hi).cvsResize();
30622
30622
  }
30623
30623
  get tategaki() {
30624
- return H(this, zr);
30624
+ return H(this, Ir);
30625
30625
  }
30626
30626
  get infTL() {
30627
- return H(this, Wt);
30627
+ return H(this, Xt);
30628
30628
  }
30629
30629
  get getWidth() {
30630
- return H(this, Wt).$width;
30630
+ return H(this, Xt).$width;
30631
30631
  }
30632
30632
  get getHeight() {
30633
- return H(this, Wt).$height;
30633
+ return H(this, Xt).$height;
30634
30634
  }
30635
30635
  setSize(e, o) {
30636
- H(this, Wt).$width = e, H(this, Wt).$height = o, H(this, fe).style.width = H(this, Wt).$width + "px", H(this, fe).style.height = H(this, Wt).$height + "px";
30636
+ H(this, Xt).$width = e, H(this, Xt).$height = o, H(this, le).style.width = H(this, Xt).$width + "px", H(this, le).style.height = H(this, Xt).$height + "px";
30637
30637
  }
30638
30638
  goTxt(e) {
30639
30639
  var K, J, Q, rt, tt, st, it, at, ut, ft, ct;
30640
30640
  H(Zt, Vr).visible = !1;
30641
30641
  const o = H(this, ui).length;
30642
- o === 0 ? (H(Zt, js).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:${H(this, Wt).pad_left} pr:${H(this, Wt).pad_right} pt:${H(this, Wt).pad_top} pb:${H(this, Wt).pad_bottom} w:${H(this, Wt).$width} h:${H(this, Wt).$height}`), H(this, ai).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-H(this, Wt).pad_left, -H(this, Wt).pad_top, H(this, Wt).$width, H(this, Wt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
30642
+ o === 0 ? (H(Zt, js).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:${H(this, Xt).pad_left} pr:${H(this, Xt).pad_right} pt:${H(this, Xt).pad_top} pb:${H(this, Xt).pad_bottom} w:${H(this, Xt).$width} h:${H(this, Xt).$height}`), H(this, ai).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-H(this, Xt).pad_left, -H(this, Xt).pad_top, H(this, Xt).$width, H(this, Xt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
30643
30643
  0,
30644
30644
  0,
30645
- H(this, Wt).$width - H(this, Wt).pad_left - H(this, Wt).pad_right,
30646
- H(this, Wt).$height - H(this, Wt).pad_top - H(this, Wt).pad_bottom
30647
- ).endFill()), H(this, fe).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : H(this, fe).insertAdjacentHTML("beforeend", e.slice(H(this, Pn)).join("").replaceAll(/[\n\t]/g, "")), nt(this, Pn, e.length);
30648
- const T = this.sys.cvsScale, S = H(this, fe).getBoundingClientRect(), N = S.left + H(this, Wt).pad_left, D = S.top + H(this, Wt).pad_top;
30645
+ H(this, Xt).$width - H(this, Xt).pad_left - H(this, Xt).pad_right,
30646
+ H(this, Xt).$height - H(this, Xt).pad_top - H(this, Xt).pad_bottom
30647
+ ).endFill()), H(this, le).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : H(this, le).insertAdjacentHTML("beforeend", e.slice(H(this, Pn)).join("").replaceAll(/[\n\t]/g, "")), nt(this, Pn, e.length);
30648
+ const T = this.sys.cvsScale, S = H(this, le).getBoundingClientRect(), N = S.left + H(this, Xt).pad_left, D = S.top + H(this, Xt).pad_top;
30649
30649
  let B;
30650
30650
  if (T === 1)
30651
30651
  B = (pt, mt) => new Rectangle(
@@ -30665,7 +30665,7 @@ const Zt = class extends Container {
30665
30665
  }
30666
30666
  let $ = 0, U = 2, z = !1;
30667
30667
  do {
30668
- const pt = nt(this, ui, ot(this, Do, Zc).call(this, H(this, fe), B));
30668
+ const pt = nt(this, ui, ot(this, Do, Zc).call(this, H(this, le), B));
30669
30669
  if ($ = pt.length, !z && ($ < 2 || o === $))
30670
30670
  break;
30671
30671
  z = !0;
@@ -30720,7 +30720,7 @@ const Zt = class extends Container {
30720
30720
  const mt = H(this, ui)[pt], vt = mt.rect, _t = JSON.parse((Q = mt.elm.dataset.arg) != null ? Q : '{"delay": 0}'), xt = JSON.parse((rt = mt.elm.dataset.add) != null ? rt : "{}"), Ot = H(Zt, hi)[xt.ch_in_style];
30721
30721
  if (X(mt, vt), mt.elm.dataset.cmd === "grp") {
30722
30722
  const yt = new Container();
30723
- H(this, jr).addChild(yt), GrpLayer.csv2Sprites(_t.pic, yt, (ht) => {
30723
+ H(this, zr).addChild(yt), GrpLayer.csv2Sprites(_t.pic, yt, (ht) => {
30724
30724
  ot(this, No, qc).call(this, yt, _t, xt, vt, W, Ot != null ? Ot : {}), yt.parent || yt.removeChild(ht);
30725
30725
  });
30726
30726
  }
@@ -30740,15 +30740,16 @@ const Zt = class extends Container {
30740
30740
  () => Nt(Ct, Ft),
30741
30741
  () => this.canFocus() ? (Nt(Dt, dt), !0) : !1,
30742
30742
  () => Nt(It, Gt)
30743
- ), H(this, jr).addChild(bt);
30743
+ ), H(this, zr).addChild(bt);
30744
30744
  }
30745
30745
  }
30746
- const Y = H(this, fe).querySelectorAll("span.sn_ch");
30746
+ const Y = H(this, le).querySelectorAll("span.sn_ch");
30747
30747
  if (nt(this, li, () => (nt(this, li, () => !1), Y.forEach((pt) => pt.className = pt.className.replace(/ go_ch_in_[^\s"]+/g, "")), H(Zt, Vr).position.set(
30748
- H(this, or),
30749
- H(this, ur)
30748
+ H(this, Xe),
30749
+ H(this, We)
30750
30750
  ), H(Zt, Vr).visible = !0, H(Zt, In).noticeCompTxt(), !0)), Y.length === 0) {
30751
- H(this, li).call(this);
30751
+ const pt = globalThis.getComputedStyle(H(this, le)), mt = parseFloat(pt.fontSize);
30752
+ H(this, Ir) ? (nt(this, Xe, (H(this, Xt).$width - H(this, Xt).pad_left - H(this, Xt).pad_right - mt * 1.5) * this.sys.cvsScale), nt(this, We, 0)) : (nt(this, Xe, 0), nt(this, We, mt / 2 * this.sys.cvsScale)), H(this, li).call(this);
30752
30753
  return;
30753
30754
  }
30754
30755
  Y.forEach((pt) => pt.className = pt.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1"));
@@ -30758,9 +30759,9 @@ const Zt = class extends Container {
30758
30759
  if (mt.elm.tagName !== "SPAN")
30759
30760
  continue;
30760
30761
  const vt = mt.rect;
30761
- if (nt(this, or, vt.x + (H(this, zr) ? 0 : vt.width)), nt(this, ur, vt.y + (H(this, zr) ? vt.height : 0)), pt !== $) {
30762
+ if (nt(this, Xe, vt.x + (H(this, Ir) ? 0 : vt.width)), nt(this, We, vt.y + (H(this, Ir) ? vt.height : 0)), pt !== $) {
30762
30763
  const _t = H(this, ui)[$ - 1].rect;
30763
- H(this, zr) ? H(this, ur) < _t.y + _t.height && nt(this, ur, _t.y + _t.height) : H(this, or) < _t.x + _t.width && nt(this, or, _t.x + _t.width);
30764
+ H(this, Ir) ? H(this, We) < _t.y + _t.height && nt(this, We, _t.y + _t.height) : H(this, Xe) < _t.x + _t.width && nt(this, Xe, _t.x + _t.width);
30764
30765
  }
30765
30766
  Z = mt.elm;
30766
30767
  break;
@@ -30848,62 +30849,62 @@ const Zt = class extends Container {
30848
30849
  var o;
30849
30850
  ot(this, Lo, Kc).call(this);
30850
30851
  const e = new Zt(this.spLay, () => this.canFocus(), this.sys);
30851
- return nt(e, Wt, H(this, Wt)), H(e, fe).style.cssText = H(this, fe).style.cssText, nt(e, Rr, H(this, Rr)), e.name = this.name, ot(o = e, zs, rl).call(o), H(e, ar).sethArg(H(this, ar).gethArg()), nt(e, wn, H(this, wn)), nt(e, ji, H(this, ji)), nt(e, Nn, H(this, Nn)), nt(e, oi, H(this, oi)), nt(e, or, H(this, or)), nt(e, ur, H(this, ur)), this.destroy(), e;
30852
+ return nt(e, Xt, H(this, Xt)), H(e, le).style.cssText = H(this, le).style.cssText, nt(e, Rr, H(this, Rr)), e.name = this.name, ot(o = e, zs, rl).call(o), H(e, ur).sethArg(H(this, ur).gethArg()), nt(e, wn, H(this, wn)), nt(e, ji, H(this, ji)), nt(e, Nn, H(this, Nn)), nt(e, oi, H(this, oi)), nt(e, Xe, H(this, Xe)), nt(e, We, H(this, We)), this.destroy(), e;
30852
30853
  }
30853
30854
  record() {
30854
30855
  return {
30855
- infTL: H(this, Wt),
30856
- cssText: H(this, fe).style.cssText,
30856
+ infTL: H(this, Xt),
30857
+ cssText: H(this, le).style.cssText,
30857
30858
  left: H(this, Rr),
30858
- idc_hArg: H(this, ar).gethArg(),
30859
+ idc_hArg: H(this, ur).gethArg(),
30859
30860
  ch_filter: H(this, wn),
30860
30861
  fi_easing: H(this, ji),
30861
30862
  fo_easing: H(this, Nn),
30862
30863
  break_fixed: H(this, oi),
30863
- break_fixed_left: H(this, or),
30864
- break_fixed_top: H(this, ur)
30864
+ break_fixed_left: H(this, Xe),
30865
+ break_fixed_top: H(this, We)
30865
30866
  };
30866
30867
  }
30867
30868
  playback(e) {
30868
30869
  var o, T, S;
30869
- nt(this, Wt, e.infTL), this.position.set(H(this, Wt).pad_left, H(this, Wt).pad_top), H(this, fe).style.cssText = e.cssText, nt(this, Rr, e.left), ot(this, zs, rl).call(this), H(this, ar).sethArg(e.idc_hArg), nt(this, wn, e.ch_filter), nt(this, ji, e.fi_easing), nt(this, Nn, e.fo_easing), nt(this, oi, (o = e.break_fixed) != null ? o : !1), nt(this, or, (T = e.break_fixed_left) != null ? T : 0), nt(this, ur, (S = e.break_fixed_top) != null ? S : 0);
30870
+ nt(this, Xt, e.infTL), this.position.set(H(this, Xt).pad_left, H(this, Xt).pad_top), H(this, le).style.cssText = e.cssText, nt(this, Rr, e.left), ot(this, zs, rl).call(this), H(this, ur).sethArg(e.idc_hArg), nt(this, wn, e.ch_filter), nt(this, ji, e.fi_easing), nt(this, Nn, e.fo_easing), nt(this, oi, (o = e.break_fixed) != null ? o : !1), nt(this, Xe, (T = e.break_fixed_left) != null ? T : 0), nt(this, We, (S = e.break_fixed_top) != null ? S : 0);
30870
30871
  }
30871
30872
  snapshot(e, o) {
30872
30873
  ot(this, sh, ad).call(this, (T) => {
30873
- nt(this, vr, new Sprite(T)), H(this, zr) && (H(this, vr).x += CmnLib.stageW - (H(this, Rr) + H(this, Wt).$width)), H(this, vr).y -= H(this, Vs), H(this, vr).texture.frame = new Rectangle(0, 0, H(this, Wt).$width - H(this, Rr), H(this, Wt).$height), H(this, jr).addChild(H(this, vr)), e.render(H(this, vr), void 0, !1), o();
30874
+ nt(this, vr, new Sprite(T)), H(this, Ir) && (H(this, vr).x += CmnLib.stageW - (H(this, Rr) + H(this, Xt).$width)), H(this, vr).y -= H(this, Vs), H(this, vr).texture.frame = new Rectangle(0, 0, H(this, Xt).$width - H(this, Rr), H(this, Xt).$height), H(this, zr).addChild(H(this, vr)), e.render(H(this, vr), void 0, !1), o();
30874
30875
  }, !1);
30875
30876
  }
30876
30877
  snapshot_end() {
30877
- H(this, vr) && (H(this, jr).removeChild(H(this, vr)), nt(this, vr, void 0));
30878
+ H(this, vr) && (H(this, zr).removeChild(H(this, vr)), nt(this, vr, void 0));
30878
30879
  }
30879
30880
  makeDesignCast(e) {
30880
- e(H(this, ar));
30881
- const o = H(this, ar).gethArg();
30881
+ e(H(this, ur));
30882
+ const o = H(this, ur).gethArg();
30882
30883
  H(this, Hi).sethArg({ ...o, ":id_dc": o[":id_tag"] + "_pad" }), e(H(this, Hi));
30883
30884
  }
30884
30885
  showDesignCast() {
30885
- H(this, ar).visible = !0, H(this, Hi).visible = !0;
30886
+ H(this, ur).visible = !0, H(this, Hi).visible = !0;
30886
30887
  }
30887
30888
  dump() {
30888
- const e = [], o = H(this, fe).style, T = o.length;
30889
+ const e = [], o = H(this, le).style, T = o.length;
30889
30890
  for (let S = 0; S < T; ++S) {
30890
30891
  const N = o[S];
30891
30892
  e.push(`"${N}":"${o[N].replace(/(["\\])/g, "\\$1")}"`);
30892
30893
  }
30893
- return `"txt":"${H(this, fe).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
30894
+ return `"txt":"${H(this, le).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
30894
30895
  }
30895
30896
  destroy() {
30896
- Zt.delBreak(), H(this, fe).parentElement.removeChild(H(this, fe)), this.removeChild(H(this, jr)), this.removeChild(H(this, ai)), super.destroy();
30897
+ Zt.delBreak(), H(this, le).parentElement.removeChild(H(this, le)), this.removeChild(H(this, zr)), this.removeChild(H(this, ai)), super.destroy();
30897
30898
  }
30898
30899
  };
30899
30900
  let TxtStage = Zt;
30900
- js = new WeakMap(), Ao = new WeakMap(), In = new WeakMap(), fe = new WeakMap(), jr = new WeakMap(), ai = new WeakMap(), nh = new WeakMap(), ar = new WeakMap(), Hi = new WeakMap(), Wt = new WeakMap(), oi = new WeakMap(), or = new WeakMap(), ur = new WeakMap(), zs = new WeakSet(), rl = function() {
30901
+ js = new WeakMap(), Ao = new WeakMap(), In = new WeakMap(), le = new WeakMap(), zr = new WeakMap(), ai = new WeakMap(), nh = new WeakMap(), ur = new WeakMap(), Hi = new WeakMap(), Xt = new WeakMap(), oi = new WeakMap(), Xe = new WeakMap(), We = new WeakMap(), zs = new WeakSet(), rl = function() {
30901
30902
  var S;
30902
- const e = H(this, fe).style, o = parseFloat(e.fontSize || "0");
30903
- H(this, Wt).fontsize = o, H(this, Wt).pad_left = parseFloat(e.paddingLeft || "0"), H(this, Wt).pad_right = parseFloat(e.paddingRight || "0"), H(this, Wt).pad_top = parseFloat(e.paddingTop || "0"), H(this, Wt).pad_bottom = parseFloat(e.paddingBottom || "0"), H(this, Wt).$width = parseFloat(e.width || "0"), H(this, Wt).$height = parseFloat(e.height || "0"), this.position.set(H(this, Wt).pad_left, H(this, Wt).pad_top), nt(this, zr, e.writingMode === "vertical-rl"), nt(this, Oo, 0), nt(this, Vs, 0);
30903
+ const e = H(this, le).style, o = parseFloat(e.fontSize || "0");
30904
+ H(this, Xt).fontsize = o, H(this, Xt).pad_left = parseFloat(e.paddingLeft || "0"), H(this, Xt).pad_right = parseFloat(e.paddingRight || "0"), H(this, Xt).pad_top = parseFloat(e.paddingTop || "0"), H(this, Xt).pad_bottom = parseFloat(e.paddingBottom || "0"), H(this, Xt).$width = parseFloat(e.width || "0"), H(this, Xt).$height = parseFloat(e.height || "0"), this.position.set(H(this, Xt).pad_left, H(this, Xt).pad_top), nt(this, Ir, e.writingMode === "vertical-rl"), nt(this, Oo, 0), nt(this, Vs, 0);
30904
30905
  const T = (S = e.lineHeight) != null ? S : "0";
30905
- nt(this, Ys, H(this, zr) ? 0 : (T.slice(-2) === "px" ? parseFloat(T) : o * parseFloat(T) - o) / 2);
30906
- }, Rr = new WeakMap(), zr = new WeakMap(), Oo = new WeakMap(), Vs = new WeakMap(), sh = new WeakSet(), ad = function(e, o = !0) {
30906
+ nt(this, Ys, H(this, Ir) ? 0 : (T.slice(-2) === "px" ? parseFloat(T) : o * parseFloat(T) - o) / 2);
30907
+ }, Rr = new WeakMap(), Ir = new WeakMap(), Oo = new WeakMap(), Vs = new WeakMap(), sh = new WeakSet(), ad = function(e, o = !0) {
30907
30908
  const T = {
30908
30909
  escape: (q) => q.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
30909
30910
  mimeType: (q) => {
@@ -31065,17 +31066,17 @@ js = new WeakMap(), Ao = new WeakMap(), In = new WeakMap(), fe = new WeakMap(),
31065
31066
  }
31066
31067
  }
31067
31068
  }
31068
- Promise.resolve(H(this, fe)).then((q) => {
31069
+ Promise.resolve(H(this, le)).then((q) => {
31069
31070
  const Z = q.cloneNode(!0);
31070
- return Z.style.padding = "0px", Z.style.paddingRight = H(this, Oo) + "px", Z.style.paddingTop = H(this, Vs) + "px", Z.style.left = "0px", Z.style.top = "0px", Z.style.width = H(this, Wt).$width - H(this, Wt).pad_left - H(this, Wt).pad_right + "px", Z.style.height = H(this, Wt).$height - H(this, Wt).pad_top - H(this, Wt).pad_bottom + "px", H(this, fe).hidden = o, Z;
31071
+ return Z.style.padding = "0px", Z.style.paddingRight = H(this, Oo) + "px", Z.style.paddingTop = H(this, Vs) + "px", Z.style.left = "0px", Z.style.top = "0px", Z.style.width = H(this, Xt).$width - H(this, Xt).pad_left - H(this, Xt).pad_right + "px", Z.style.height = H(this, Xt).$height - H(this, Xt).pad_top - H(this, Xt).pad_bottom + "px", H(this, le).hidden = o, Z;
31071
31072
  }).then(B).then((q) => {
31072
31073
  q.setAttribute("xmlns", "http://www.w3.org/1999/xhtml");
31073
31074
  const Z = new Image();
31074
- return Z.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${H(this, Wt).$width}px" height="${H(this, Wt).$height}px"><foreignObject x="0" y="0" width="100%" height="100%">${new XMLSerializer().serializeToString(q).replaceAll("#", "%23").replaceAll(`
31075
+ return Z.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${H(this, Xt).$width}px" height="${H(this, Xt).$height}px"><foreignObject x="0" y="0" width="100%" height="100%">${new XMLSerializer().serializeToString(q).replaceAll("#", "%23").replaceAll(`
31075
31076
  `, "%0A")}</foreignObject></svg>`, new Promise((K) => Z.onload = () => K(Z));
31076
31077
  }).then((q) => new Promise((Z) => setTimeout(() => Z(q), 100))).then((q) => {
31077
31078
  const Z = document.createElement("canvas");
31078
- Z.width = H(this, Wt).$width, Z.height = H(this, Wt).$height, Z.getContext("2d").drawImage(q, 0, 0), Z.toBlob((K) => {
31079
+ Z.width = H(this, Xt).$width, Z.height = H(this, Xt).$height, Z.getContext("2d").drawImage(q, 0, 0), Z.toBlob((K) => {
31079
31080
  if (!K)
31080
31081
  return;
31081
31082
  const J = URL.createObjectURL(K);
@@ -31118,9 +31119,9 @@ js = new WeakMap(), Ao = new WeakMap(), In = new WeakMap(), fe = new WeakMap(),
31118
31119
  }, ji = new WeakMap(), Nn = new WeakMap(), Lo = new WeakSet(), Kc = function() {
31119
31120
  var N;
31120
31121
  H(this, ai).clear(), nt(this, ui, []), nt(this, Pn, 0), this.skipChIn();
31121
- const e = H(this, fe).cloneNode(!0);
31122
+ const e = H(this, le).cloneNode(!0);
31122
31123
  e.textContent = "";
31123
- const o = H(this, fe);
31124
+ const o = H(this, le);
31124
31125
  o.parentElement.insertBefore(e, o);
31125
31126
  let T = 0;
31126
31127
  o.querySelectorAll("span.sn_ch").forEach((D) => {
@@ -31141,10 +31142,10 @@ js = new WeakMap(), Ao = new WeakMap(), In = new WeakMap(), fe = new WeakMap(),
31141
31142
  });
31142
31143
  const S = () => {
31143
31144
  o.parentElement.removeChild(o);
31144
- for (const D of H(this, jr).removeChildren())
31145
+ for (const D of H(this, zr).removeChildren())
31145
31146
  D instanceof Container && H(Zt, In).unButton(D), D.destroy();
31146
31147
  };
31147
- T === 0 ? (H(this, fe).textContent = "", S()) : (N = o.lastElementChild) == null || N.addEventListener("animationend", S, { once: !0, passive: !0 }), nt(this, fe, e);
31148
+ T === 0 ? (H(this, le).textContent = "", S()) : (N = o.lastElementChild) == null || N.addEventListener("animationend", S, { once: !0, passive: !0 }), nt(this, le, e);
31148
31149
  }, vr = new WeakMap(), et(TxtStage, js, void 0), et(TxtStage, Ao, void 0), et(TxtStage, In, void 0), et(TxtStage, nh, {
31149
31150
  "background-color": 0,
31150
31151
  "border-bottom-width": 0,
@@ -31156,15 +31157,15 @@ js = new WeakMap(), Ao = new WeakMap(), In = new WeakMap(), fe = new WeakMap(),
31156
31157
  "margin-right": 0,
31157
31158
  "margin-top": 0
31158
31159
  }), et(TxtStage, An, void 0), et(TxtStage, On, void 0), et(TxtStage, Ws, void 0), et(TxtStage, hi, /* @__PURE__ */ Object.create(null)), et(TxtStage, Mo, /[\s\.,]/), et(TxtStage, ci, /* @__PURE__ */ Object.create(null)), et(TxtStage, Vr, new Container());
31159
- var Fo, Bo, Ir, fi, qs, Zs, ko, Jc, Ks, Js, $o, Qc;
31160
+ var Fo, Bo, wr, fi, qs, Zs, ko, Jc, Ks, Js, $o, Qc;
31160
31161
  const sn = class extends Container {
31161
31162
  constructor(e, o, T, S) {
31162
31163
  var W, Y, q, Z;
31163
31164
  super();
31164
31165
  et(this, ko);
31165
31166
  et(this, $o);
31166
- Pt(this, "getBtnBounds", () => H(this, Ir));
31167
- et(this, Ir, new Rectangle());
31167
+ Pt(this, "getBtnBounds", () => H(this, wr));
31168
+ et(this, wr, new Rectangle());
31168
31169
  et(this, fi, void 0);
31169
31170
  et(this, qs, void 0);
31170
31171
  et(this, Zs, void 0);
@@ -31185,14 +31186,14 @@ const sn = class extends Container {
31185
31186
  width: 0,
31186
31187
  height: 0
31187
31188
  };
31188
- this.getBtnBounds = () => (H(this, Ir).x = N.x, H(this, Ir).y = N.y, H(this, Ir));
31189
+ this.getBtnBounds = () => (H(this, wr).x = N.x, H(this, wr).y = N.y, H(this, wr));
31189
31190
  const D = N.enabled = argChk_Boolean(e, "enabled", !0);
31190
31191
  if (D && o.button(this.hArg, this, () => this.normal(), () => H(this, Ks).call(this), () => H(this, Js).call(this)), e.pic) {
31191
31192
  N.type = "pic", nt(this, fi, new PicBtnDesignCast(this, e)), GrpLayer.csv2Sprites(
31192
31193
  e.pic,
31193
31194
  this,
31194
31195
  (K) => {
31195
- ot(this, $o, Qc).call(this, K, N), H(this, Ir).width = K.width * N.scale_x, H(this, Ir).height = K.height * N.scale_y;
31196
+ ot(this, $o, Qc).call(this, K, N), H(this, wr).width = K.width * N.scale_x, H(this, wr).height = K.height * N.scale_y;
31196
31197
  },
31197
31198
  (K) => T
31198
31199
  );
@@ -31232,7 +31233,7 @@ const sn = class extends Container {
31232
31233
  (K) => {
31233
31234
  Layer.setBlendmode(this, e), K && T();
31234
31235
  }
31235
- )), U.name = JSON.stringify(N), this.addChild(U), H(this, Ir).width = U.width, H(this, Ir).height = U.height, N.width = this.width, N.height = this.height, e.b_pic || Layer.setBlendmode(this, e), H(Z = sn, Fo).call(Z, this, U), !D) {
31236
+ )), U.name = JSON.stringify(N), this.addChild(U), H(this, wr).width = U.width, H(this, wr).height = U.height, N.width = this.width, N.height = this.height, e.b_pic || Layer.setBlendmode(this, e), H(Z = sn, Fo).call(Z, this, U), !D) {
31236
31237
  z || T();
31237
31238
  return;
31238
31239
  }
@@ -31301,7 +31302,7 @@ const sn = class extends Container {
31301
31302
  }
31302
31303
  };
31303
31304
  let Button = sn;
31304
- Fo = new WeakMap(), Bo = new WeakMap(), Ir = new WeakMap(), fi = new WeakMap(), qs = new WeakMap(), Zs = new WeakMap(), ko = new WeakSet(), Jc = function(e, o) {
31305
+ Fo = new WeakMap(), Bo = new WeakMap(), wr = new WeakMap(), fi = new WeakMap(), qs = new WeakMap(), Zs = new WeakMap(), ko = new WeakSet(), Jc = function(e, o) {
31305
31306
  nt(this, qs, e), this.setChildIndex(e, 0), e.alpha = o.alpha, e.setTransform(
31306
31307
  o.x,
31307
31308
  o.y,
@@ -31321,7 +31322,7 @@ Fo = new WeakMap(), Bo = new WeakMap(), Ir = new WeakMap(), fi = new WeakMap(),
31321
31322
  }, Pt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '\u6E38\u30B4\u30B7\u30C3\u30AF Medium', meiryo, sans-serif"), et(Button, Fo, (e, o) => {
31322
31323
  }), et(Button, Bo, (e, o, T, S) => {
31323
31324
  });
31324
- var Qs, wr, ta, Uo, Go, tf, Ho, ef, jo, Mn, zo, di, Dn, ah, od, pi, gr, Pr, ve, Xr, oe, Vo, Wr, oh, qe, Ln, ka, Fn, ea, Bn, $a, ra, Xo, rf, Wo, nf, kn, $n, ia, Yo, na, zi, Ze, uh, ud, lr, qo, sa, il, vi, en, gi, Ar, _r, mr, Zo, sf, aa, nl, Ko, af, Un;
31325
+ var Qs, Pr, ta, Uo, Go, tf, Ho, ef, jo, Mn, zo, di, Dn, ah, od, pi, gr, Ar, ve, Xr, oe, Vo, Wr, oh, Ke, Ln, ka, Fn, ea, Bn, $a, ra, Xo, rf, Wo, nf, kn, $n, ia, Yo, na, zi, Je, uh, ud, lr, qo, sa, il, vi, en, gi, Or, _r, mr, Zo, sf, aa, nl, Ko, af, Un;
31325
31326
  const Jt = class extends Layer {
31326
31327
  constructor() {
31327
31328
  super();
@@ -31337,13 +31338,13 @@ const Jt = class extends Layer {
31337
31338
  et(this, Ko);
31338
31339
  et(this, pi, 0);
31339
31340
  et(this, gr, 0);
31340
- et(this, Pr, !1);
31341
+ et(this, Ar, !1);
31341
31342
  et(this, ve, void 0);
31342
31343
  et(this, Xr, "");
31343
31344
  et(this, oe, new TxtStage(this.spLay, () => this.canFocus(), H(Jt, zo)));
31344
31345
  et(this, Vo, new RubySpliter());
31345
31346
  et(this, Wr, document.createElement("span"));
31346
- et(this, qe, new Container());
31347
+ et(this, Ke, new Container());
31347
31348
  et(this, Fn, "");
31348
31349
  et(this, ea, !0);
31349
31350
  et(this, ra, "");
@@ -31353,7 +31354,7 @@ const Jt = class extends Layer {
31353
31354
  et(this, Yo, new RegExp("[\u3000]"));
31354
31355
  Pt(this, "isCur", !1);
31355
31356
  et(this, zi, () => "");
31356
- et(this, Ze, "");
31357
+ et(this, Je, "");
31357
31358
  et(this, lr, !1);
31358
31359
  et(this, qo, (e, o) => {
31359
31360
  var $, U, z, V, X, W, Y, q, Z, K, J;
@@ -31365,10 +31366,10 @@ const Jt = class extends Layer {
31365
31366
  case 1:
31366
31367
  if (nt(this, lr, !0), e === `
31367
31368
  `) {
31368
- H(this, Ar) ? (nt(this, Ar, !1), S = "<ruby>\u3000<rt>\u3000</rt></ruby><br/>") : S = "<br/>";
31369
+ H(this, Or) ? (nt(this, Or, !1), S = "<ruby>\u3000<rt>\u3000</rt></ruby><br/>") : S = "<br/>";
31369
31370
  break;
31370
31371
  }
31371
- H(this, Ar) && (nt(this, Ar, !1), o === "" && (o = "\u3000")), S = ot(this, sa, il).call(this, e, o, H(this, Ze));
31372
+ H(this, Or) && (nt(this, Or, !1), o === "" && (o = "\u3000")), S = ot(this, sa, il).call(this, e, o, H(this, Je));
31372
31373
  break;
31373
31374
  default:
31374
31375
  switch (N) {
@@ -31380,7 +31381,7 @@ const Jt = class extends Layer {
31380
31381
  case "121":
31381
31382
  case "even":
31382
31383
  case "1ruby":
31383
- nt(this, Ar, !1), nt(this, lr, !0), S = ot(this, sa, il).call(this, e, B, N);
31384
+ nt(this, Or, !1), nt(this, lr, !0), S = ot(this, sa, il).call(this, e, B, N);
31384
31385
  break;
31385
31386
  case "gotxt":
31386
31387
  ot(this, aa, nl).call(this), this.isCur && H($ = Jt, ta).call($, H(this, _r).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, "style='").replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("class='offrec'", "style='display: none;'").replaceAll("`", "\\`")), H(this, lr) ? (H(this, oe).goTxt(H(this, _r)), nt(this, lr, !1), nt(this, gi, 0)) : this.isCur && H(Jt, Mn).noticeCompTxt();
@@ -31402,27 +31403,27 @@ const Jt = class extends Layer {
31402
31403
  H(this, oe).dispBreak(Q.pic);
31403
31404
  return;
31404
31405
  }
31405
- nt(this, Ar, !1), Q.delay = H(this, gi), (z = Q.r) != null || (Q.r = ""), (V = Q.style) != null || (Q.style = ""), (X = Q.r_style) != null || (Q.r_style = "");
31406
+ nt(this, Or, !1), Q.delay = H(this, gi), (z = Q.r) != null || (Q.r = ""), (V = Q.style) != null || (Q.style = ""), (X = Q.r_style) != null || (Q.r_style = "");
31406
31407
  const { cl: rt, sty: tt, lnk: st } = ot(this, vi, en).call(this, !0, Q.wait);
31407
31408
  S = `<span${rt} style='${tt} ${Q.style}'><ruby><span data-cmd='grp' data-arg='${JSON.stringify(Q)}'${st} style='${tt} display: inline;'>\u3000</span><rt${st}${this.mkStyle_r_align(
31408
31409
  "\u3000",
31409
31410
  Q.r,
31410
- H(this, Ze),
31411
+ H(this, Je),
31411
31412
  H(this, Wr).style.cssText + ((Y = (W = H(this, mr).at(-1)) == null ? void 0 : W.o.r_style) != null ? Y : "") + Q.r_style
31412
31413
  )}>${Q.r}</rt></ruby></span>`;
31413
31414
  }
31414
31415
  break;
31415
31416
  case "tcy":
31416
- nt(this, Ar, !1), nt(this, lr, !0);
31417
+ nt(this, Or, !1), nt(this, lr, !0);
31417
31418
  {
31418
- H(Jt, wr).doRecLog() && nt(this, Un, H(this, Un) + (e + (o ? `\u300A${o}\u300B` : "")));
31419
+ H(Jt, Pr).doRecLog() && nt(this, Un, H(this, Un) + (e + (o ? `\u300A${o}\u300B` : "")));
31419
31420
  const { t: Q, r: rt = "", wait: tt = null, style: st = "", r_style: it = "" } = JSON.parse(B), at = CmnLib.isSafari ? rt.replaceAll(/[A-Za-z0-9]/g, (pt) => String.fromCharCode(pt.charCodeAt(0) + 65248)) : rt, { cl: ut, sty: ft, lnk: ct } = ot(this, vi, en).call(this, !0, tt);
31420
31421
  S = `<span${ut} style='${ft}${H(this, $n).call(this, Q)} ${st}'><ruby><span${ct} style='${ft} display: inline;
31421
31422
  text-combine-upright: all;
31422
31423
  -webkit-text-combine: horizontal;'>${Q}</span><rt${ct}${this.mkStyle_r_align(
31423
31424
  Q,
31424
31425
  at,
31425
- H(this, Ze),
31426
+ H(this, Je),
31426
31427
  H(this, Wr).style.cssText + ((Z = (q = H(this, mr).at(-1)) == null ? void 0 : q.o.r_style) != null ? Z : "") + it
31427
31428
  )}>${at}</rt></ruby></span>`;
31428
31429
  }
@@ -31446,45 +31447,45 @@ text-combine-upright: all;
31446
31447
  nt(this, lr, !0), H(this, _r).push("</span>"), ot(this, aa, nl).call(this);
31447
31448
  return;
31448
31449
  default:
31449
- nt(this, lr, !0), S = ot(this, sa, il).call(this, e, o, H(this, Ze));
31450
+ nt(this, lr, !0), S = ot(this, sa, il).call(this, e, o, H(this, Je));
31450
31451
  }
31451
31452
  break;
31452
31453
  }
31453
31454
  H(this, _r).push(H(J = Jt, na).call(J, S));
31454
31455
  });
31455
31456
  et(this, gi, 0);
31456
- et(this, Ar, !0);
31457
+ et(this, Or, !0);
31457
31458
  et(this, _r, []);
31458
31459
  et(this, mr, []);
31459
31460
  Pt(this, "click", () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : H(this, oe).skipChIn());
31460
31461
  et(this, Un, "");
31461
31462
  Pt(this, "addButton", (e) => new Promise((o) => {
31462
- e.key = `btn=[${H(this, qe).children.length}] ` + this.name_, e[":id_tag"] = e.key.slice(0, -7), argChk_Boolean(e, "hint_tate", H(this, oe).tategaki);
31463
+ e.key = `btn=[${H(this, Ke).children.length}] ` + this.name_, e[":id_tag"] = e.key.slice(0, -7), argChk_Boolean(e, "hint_tate", H(this, oe).tategaki);
31463
31464
  const T = new Button(e, H(Jt, Mn), () => o(), () => this.canFocus());
31464
- T.name = JSON.stringify(e).replaceAll('"', "'"), H(this, qe).addChild(T);
31465
+ T.name = JSON.stringify(e).replaceAll('"', "'"), H(this, Ke).addChild(T);
31465
31466
  }));
31466
31467
  Pt(this, "record", () => ({
31467
31468
  ...super.record(),
31468
31469
  enabled: this.enabled,
31469
31470
  r_cssText: H(this, Wr).style.cssText,
31470
- r_align: H(this, Ze),
31471
+ r_align: H(this, Je),
31471
31472
  b_do: H(this, ve) === void 0 ? void 0 : H(this, ve) instanceof Sprite ? "Sprite" : "Graphics",
31472
31473
  b_pic: H(this, Xr),
31473
31474
  b_color: H(this, pi),
31474
31475
  b_alpha: H(this, gr),
31475
- b_alpha_isfixed: H(this, Pr),
31476
+ b_alpha_isfixed: H(this, Ar),
31476
31477
  ffs: H(this, kn),
31477
31478
  txs: H(this, oe).record(),
31478
31479
  strNoFFS: H(this, ia),
31479
- btns: H(this, qe).children.map((e) => e.name)
31480
+ btns: H(this, Ke).children.map((e) => e.name)
31480
31481
  }));
31481
- this.spLay.addChild(H(this, oe)), H(this, Vo).init(H(this, qo)), this.spLay.addChild(H(this, qe)), H(this, qe).name = "cntBtn";
31482
+ this.spLay.addChild(H(this, oe)), H(this, Vo).init(H(this, qo)), this.spLay.addChild(H(this, Ke)), H(this, Ke).name = "cntBtn";
31482
31483
  const e = 16;
31483
31484
  this.lay({ style: `width: ${CmnLib.stageW}px; height: ${CmnLib.stageH}px; font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '\u6E38\u30B4\u30B7\u30C3\u30AF Medium', meiryo, sans-serif; color: white; font-size: 24px; line-height: 1.5; padding: ${e}px;`, in_style: "default", out_style: "default", back_clear: "true" });
31484
31485
  }
31485
31486
  static init(e, o, T, S, N, D) {
31486
31487
  var B, $;
31487
- nt(Jt, Qs, e), TxtStage.init(e, D), nt(Jt, wr, T), nt(Jt, ta, S), nt(Jt, Uo, N), T.setDoRecProc(Jt.chgDoRec), o.autowc = (U) => {
31488
+ nt(Jt, Qs, e), TxtStage.init(e, D), nt(Jt, Pr, T), nt(Jt, ta, S), nt(Jt, Uo, N), T.setDoRecProc(Jt.chgDoRec), o.autowc = (U) => {
31488
31489
  var z;
31489
31490
  return ot(z = Jt, ah, od).call(z, U);
31490
31491
  }, o.autowc({ enabled: !1, text: "", time: 0 }), o.ch_in_style = (U) => {
@@ -31554,12 +31555,12 @@ text-combine-upright: all;
31554
31555
  H(this, oe).cvsResize();
31555
31556
  }
31556
31557
  cvsResizeChildren() {
31557
- for (const e of H(this, qe).children)
31558
+ for (const e of H(this, Ke).children)
31558
31559
  e.cvsResize();
31559
31560
  }
31560
31561
  lay(e) {
31561
31562
  var o;
31562
- if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), ot(this, Wo, nf).call(this, e), H(this, oe).lay(e), "r_align" in e && nt(this, Ze, (o = e.r_align) != null ? o : ""), nt(this, zi, CmnLib.isSafari ? H(this, oe).tategaki ? (T, S) => `text-align: start; height: ${S}em; padding-top: ${T}; padding-bottom: ${T};` : (T, S) => `text-align: start; width: ${S}em; padding-left: ${T}; padding-right: ${T};` : H(this, oe).tategaki ? (T) => `text-align: justify; text-align-last: justify; padding-top: ${T}; padding-bottom: ${T};` : (T) => `text-align: justify; text-align-last: justify; padding-left: ${T}; padding-right: ${T};`), CmnLib.isFirefox && (this.mkStyle_r_align = ot(this, uh, ud)), "r_style" in e)
31563
+ if (super.lay(e), Layer.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), RubySpliter.setting(e), ot(this, Wo, nf).call(this, e), H(this, oe).lay(e), "r_align" in e && nt(this, Je, (o = e.r_align) != null ? o : ""), nt(this, zi, CmnLib.isSafari ? H(this, oe).tategaki ? (T, S) => `text-align: start; height: ${S}em; padding-top: ${T}; padding-bottom: ${T};` : (T, S) => `text-align: start; width: ${S}em; padding-left: ${T}; padding-right: ${T};` : H(this, oe).tategaki ? (T) => `text-align: justify; text-align-last: justify; padding-top: ${T}; padding-bottom: ${T};` : (T) => `text-align: justify; text-align-last: justify; padding-left: ${T}; padding-right: ${T};`), CmnLib.isFirefox && (this.mkStyle_r_align = ot(this, uh, ud)), "r_style" in e)
31563
31564
  if (e.r_style) {
31564
31565
  const T = document.createElement("span");
31565
31566
  T.style.cssText = e.r_style;
@@ -31575,7 +31576,7 @@ text-combine-upright: all;
31575
31576
  } else
31576
31577
  H(this, Wr).style.cssText = "";
31577
31578
  if ("alpha" in e)
31578
- for (const T of H(this, qe).children)
31579
+ for (const T of H(this, Ke).children)
31579
31580
  T.alpha = this.spLay.alpha;
31580
31581
  return ot(this, Ln, ka).call(this, e), ot(this, Bn, $a).call(this, e), ot(this, Xo, rf).call(this, e, (T) => {
31581
31582
  T && H(Jt, jo).resume();
@@ -31588,7 +31589,7 @@ text-combine-upright: all;
31588
31589
  return H(this, oe).getHeight;
31589
31590
  }
31590
31591
  chgBackAlpha(e) {
31591
- const o = H(this, Pr) ? H(this, gr) : e * H(this, gr);
31592
+ const o = H(this, Ar) ? H(this, gr) : e * H(this, gr);
31592
31593
  H(this, ve) instanceof Graphics && (H(this, ve) && (this.spLay.removeChild(H(this, ve)), H(this, ve).destroy()), this.spLay.addChildAt(
31593
31594
  nt(this, ve, new Graphics()).beginFill(H(this, pi)).lineStyle(void 0).drawRect(0, 0, H(this, oe).getWidth, H(this, oe).getHeight).endFill(),
31594
31595
  0
@@ -31627,7 +31628,7 @@ text-combine-upright: all;
31627
31628
  }
31628
31629
  clearText() {
31629
31630
  var e;
31630
- this.spLay.addChild(nt(this, oe, H(this, oe).reNew())), nt(this, gi, 0), nt(this, Ar, !0), nt(this, _r, []), nt(this, Un, ""), H(e = Jt, ta).call(e, "", !0);
31631
+ this.spLay.addChild(nt(this, oe, H(this, oe).reNew())), nt(this, gi, 0), nt(this, Or, !0), nt(this, _r, []), nt(this, Un, ""), H(e = Jt, ta).call(e, "", !0);
31631
31632
  }
31632
31633
  get pageText() {
31633
31634
  return H(this, Un).replace("\u300A\u3000\u300B", "");
@@ -31644,11 +31645,11 @@ text-combine-upright: all;
31644
31645
  }
31645
31646
  clearLay(e) {
31646
31647
  super.clearLay(e), this.clearText();
31647
- for (const o of H(this, qe).removeChildren())
31648
+ for (const o of H(this, Ke).removeChildren())
31648
31649
  o.destroy();
31649
31650
  }
31650
31651
  playback(e, o) {
31651
- super.playback(e, o), this.enabled = e.enabled, H(this, Wr).style.cssText = e.r_cssText, nt(this, Ze, e.r_align), this.cvsResize(), ot(this, Wo, nf).call(this, e), H(this, oe).playback(e.txs), nt(this, gr, e.b_alpha), nt(this, Pr, e.b_alpha_isfixed), o.push(new Promise((S) => {
31652
+ super.playback(e, o), this.enabled = e.enabled, H(this, Wr).style.cssText = e.r_cssText, nt(this, Je, e.r_align), this.cvsResize(), ot(this, Wo, nf).call(this, e), H(this, oe).playback(e.txs), nt(this, gr, e.b_alpha), nt(this, Ar, e.b_alpha_isfixed), o.push(new Promise((S) => {
31652
31653
  const N = e.b_do ? e.b_do === "Sprite" ? { b_pic: e.b_pic } : { b_color: e.b_color } : { b_pic: "" };
31653
31654
  N.b_alpha = e.b_alpha, N.b_alpha_isfixed = e.b_alpha_isfixed, ot(this, Xo, rf).call(this, N, (D) => {
31654
31655
  D && S();
@@ -31668,25 +31669,25 @@ text-combine-upright: all;
31668
31669
  }
31669
31670
  makeDesignCastChildren(e) {
31670
31671
  if (!!this.spLay.visible)
31671
- for (const o of H(this, qe).children)
31672
+ for (const o of H(this, Ke).children)
31672
31673
  o.makeDesignCast(e);
31673
31674
  }
31674
31675
  showDesignCast() {
31675
31676
  H(this, oe).showDesignCast();
31676
31677
  }
31677
31678
  showDesignCastChildren() {
31678
- for (const e of H(this, qe).children)
31679
+ for (const e of H(this, Ke).children)
31679
31680
  e.showDesignCast();
31680
31681
  }
31681
31682
  dump() {
31682
- return H(this, qo).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${H(this, oe).dump()}, "b_pic":"${H(this, Xr)}", "b_color":"${H(this, pi)}", "b_alpha":${H(this, gr)}, "b_alpha_isfixed":"${H(this, Pr)}", "width":${H(this, oe).getWidth}, "height":${H(this, oe).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":[${H(this, qe).children.map((e) => {
31683
+ return H(this, qo).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${H(this, oe).dump()}, "b_pic":"${H(this, Xr)}", "b_color":"${H(this, pi)}", "b_alpha":${H(this, gr)}, "b_alpha_isfixed":"${H(this, Ar)}", "width":${H(this, oe).getWidth}, "height":${H(this, oe).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":[${H(this, Ke).children.map((e) => {
31683
31684
  var o;
31684
31685
  return (o = e.children[0].name) != null ? o : "{}";
31685
31686
  }).join(",")}]`;
31686
31687
  }
31687
31688
  };
31688
31689
  let TxtLayer = Jt;
31689
- Qs = new WeakMap(), wr = new WeakMap(), ta = new WeakMap(), Uo = new WeakMap(), Go = new WeakSet(), tf = function(e) {
31690
+ Qs = new WeakMap(), Pr = new WeakMap(), ta = new WeakMap(), Uo = new WeakMap(), Go = new WeakSet(), tf = function(e) {
31690
31691
  const o = TxtStage.ch_in_style(e), T = o.x.charAt(0) === "=" ? `${o.nx * 100}%` : `${o.nx}px`, S = o.y.charAt(0) === "=" ? `${o.ny * 100}%` : `${o.ny}px`, { name: N } = e;
31691
31692
  return addStyle(`
31692
31693
  .sn_ch_in_${N} {
@@ -31719,20 +31720,20 @@ Qs = new WeakMap(), wr = new WeakMap(), ta = new WeakMap(), Uo = new WeakMap(),
31719
31720
  }
31720
31721
  `), !1;
31721
31722
  }, jo = new WeakMap(), Mn = new WeakMap(), zo = new WeakMap(), di = new WeakMap(), Dn = new WeakMap(), ah = new WeakSet(), od = function(e) {
31722
- nt(Jt, di, argChk_Boolean(e, "enabled", H(Jt, di))), H(Jt, wr).setVal_Nochk("save", "const.sn.autowc.enabled", H(Jt, di));
31723
+ nt(Jt, di, argChk_Boolean(e, "enabled", H(Jt, di))), H(Jt, Pr).setVal_Nochk("save", "const.sn.autowc.enabled", H(Jt, di));
31723
31724
  const { text: o } = e;
31724
31725
  if ("text" in e != "time" in e)
31725
31726
  throw "[autowc] text\u3068time\u306F\u540C\u6642\u6307\u5B9A\u5FC5\u9808\u3067\u3059";
31726
- if (H(Jt, wr).setVal_Nochk("save", "const.sn.autowc.text", o), !o)
31727
- return H(Jt, wr).setVal_Nochk("save", "const.sn.autowc.time", ""), !1;
31727
+ if (H(Jt, Pr).setVal_Nochk("save", "const.sn.autowc.text", o), !o)
31728
+ return H(Jt, Pr).setVal_Nochk("save", "const.sn.autowc.time", ""), !1;
31728
31729
  const T = o.length;
31729
31730
  if (H(Jt, di) && T === 0)
31730
31731
  throw '[autowc] enabled === false \u304B\u3064 text === "" \u306F\u8A31\u3055\u308C\u307E\u305B\u3093';
31731
31732
  const S = String(e.time).split(",");
31732
31733
  if (S.length !== T)
31733
31734
  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";
31734
- return nt(Jt, Dn, {}), S.forEach((N, D) => H(Jt, Dn)[o[D]] = uint(N)), H(Jt, wr).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
31735
- }, pi = new WeakMap(), gr = new WeakMap(), Pr = new WeakMap(), ve = new WeakMap(), Xr = new WeakMap(), oe = new WeakMap(), Vo = new WeakMap(), Wr = new WeakMap(), oh = new WeakMap(), qe = new WeakMap(), Ln = new WeakSet(), ka = function(e) {
31735
+ return nt(Jt, Dn, {}), S.forEach((N, D) => H(Jt, Dn)[o[D]] = uint(N)), H(Jt, Pr).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
31736
+ }, pi = new WeakMap(), gr = new WeakMap(), Ar = new WeakMap(), ve = new WeakMap(), Xr = new WeakMap(), oe = new WeakMap(), Vo = new WeakMap(), Wr = new WeakMap(), oh = new WeakMap(), Ke = new WeakMap(), Ln = new WeakSet(), ka = function(e) {
31736
31737
  const { in_style: o } = e;
31737
31738
  if (!o)
31738
31739
  return;
@@ -31749,9 +31750,9 @@ Qs = new WeakMap(), wr = new WeakMap(), ta = new WeakMap(), Uo = new WeakMap(),
31749
31750
  nt(this, ra, o);
31750
31751
  }, ra = new WeakMap(), Xo = new WeakSet(), rf = function(e, o) {
31751
31752
  if ("back_clear" in e)
31752
- return argChk_Boolean(e, "back_clear", !1) && (nt(this, pi, 0), nt(this, gr, 0), nt(this, Pr, !1), nt(this, Xr, "")), o(!1), !1;
31753
- nt(this, gr, argChk_Num(e, "b_alpha", H(this, gr))), nt(this, Pr, argChk_Boolean(e, "b_alpha_isfixed", H(this, Pr)));
31754
- const T = (H(this, Pr) ? 1 : Number(H(Jt, wr).getVal("sys:TextLayer.Back.Alpha"))) * H(this, gr);
31753
+ return argChk_Boolean(e, "back_clear", !1) && (nt(this, pi, 0), nt(this, gr, 0), nt(this, Ar, !1), nt(this, Xr, "")), o(!1), !1;
31754
+ nt(this, gr, argChk_Num(e, "b_alpha", H(this, gr))), nt(this, Ar, argChk_Boolean(e, "b_alpha_isfixed", H(this, Ar)));
31755
+ const T = (H(this, Ar) ? 1 : Number(H(Jt, Pr).getVal("sys:TextLayer.Back.Alpha"))) * H(this, gr);
31755
31756
  if (e.b_pic) {
31756
31757
  if (H(this, Xr) !== e.b_pic)
31757
31758
  return nt(this, Xr, e.b_pic), H(this, ve) && (this.spLay.removeChild(H(this, ve)), H(this, ve).destroy()), GrpLayer.csv2Sprites(H(this, Xr), this.spLay, (S) => {
@@ -31766,7 +31767,7 @@ Qs = new WeakMap(), wr = new WeakMap(), ta = new WeakMap(), Uo = new WeakMap(),
31766
31767
  }, Wo = new WeakSet(), nf = function(e) {
31767
31768
  var o, T;
31768
31769
  "noffs" in e && (nt(this, ia, (o = e.noffs) != null ? o : ""), nt(this, Yo, new RegExp(`[\u3000${H(this, ia)}]`))), "ffs" in e && ((T = H(this, kn)) != null || nt(this, kn, ""), nt(this, $n, H(this, kn) === "" ? () => "" : (S) => H(this, Yo).test(S) ? "" : ` font-feature-settings: ${H(this, kn)};`));
31769
- }, kn = new WeakMap(), $n = new WeakMap(), ia = new WeakMap(), Yo = new WeakMap(), na = new WeakMap(), zi = new WeakMap(), Ze = new WeakMap(), uh = new WeakSet(), ud = function(e, o, T, S = "") {
31770
+ }, kn = new WeakMap(), $n = new WeakMap(), ia = new WeakMap(), Yo = new WeakMap(), na = new WeakMap(), zi = new WeakMap(), Je = new WeakMap(), uh = new WeakSet(), ud = function(e, o, T, S = "") {
31770
31771
  if (!T)
31771
31772
  return ` style='${S}'`;
31772
31773
  const N = e.length * 2;
@@ -31803,7 +31804,7 @@ Qs = new WeakMap(), wr = new WeakMap(), ta = new WeakMap(), Uo = new WeakMap(),
31803
31804
  }, lr = new WeakMap(), qo = new WeakMap(), sa = new WeakSet(), il = function(e, o, T) {
31804
31805
  var $, U;
31805
31806
  const S = e === " " ? "&nbsp;" : e;
31806
- H(Jt, wr).doRecLog() && nt(this, Un, H(this, Un) + (S + (o ? `\u300A${o}\u300B` : "")));
31807
+ H(Jt, Pr).doRecLog() && nt(this, Un, H(this, Un) + (S + (o ? `\u300A${o}\u300B` : "")));
31807
31808
  const { cl: N, sty: D, lnk: B } = ot(this, vi, en).call(this, !0, null, e);
31808
31809
  return o ? `<span${N} style='${D} ${H(this, $n).call(this, e)}'><ruby>${Array.from(e).map((z, V) => `<span${N}${B} style='${V > 0 ? ot(this, vi, en).call(this, !0, null, e).sty : D} display: inline;'>${z === " " ? "&nbsp;" : z}</span>`).join("")}<rt${B}${this.mkStyle_r_align(
31809
31810
  e,
@@ -31823,24 +31824,24 @@ Qs = new WeakMap(), wr = new WeakMap(), ta = new WeakMap(), Uo = new WeakMap(),
31823
31824
  lnk: ((X = (V = H(this, mr).at(0)) == null ? void 0 : V.o[":link"]) != null ? X : "") + " " + N,
31824
31825
  curpos: N
31825
31826
  };
31826
- }, gi = new WeakMap(), Ar = new WeakMap(), _r = new WeakMap(), mr = new WeakMap(), Zo = new WeakSet(), sf = function(e) {
31827
+ }, gi = new WeakMap(), Or = new WeakMap(), _r = new WeakMap(), mr = new WeakMap(), Zo = new WeakSet(), sf = function(e) {
31827
31828
  H(this, mr).push({
31828
31829
  o: e,
31829
- r_align: H(this, Ze),
31830
+ r_align: H(this, Je),
31830
31831
  ch_in_style: H(this, Fn),
31831
31832
  ch_out_style: H(this, ra)
31832
- }), "r_align" in e && nt(this, Ze, e.r_align), ot(this, Ln, ka).call(this, e), ot(this, Bn, $a).call(this, e);
31833
+ }), "r_align" in e && nt(this, Je, e.r_align), ot(this, Ln, ka).call(this, e), ot(this, Bn, $a).call(this, e);
31833
31834
  }, aa = new WeakSet(), nl = function() {
31834
31835
  const e = H(this, mr).pop();
31835
- !e || (nt(this, Ze, e.r_align), ot(this, Ln, ka).call(this, { in_style: e.ch_in_style }), ot(this, Bn, $a).call(this, { out_style: e.ch_out_style }));
31836
+ !e || (nt(this, Je, e.r_align), ot(this, Ln, ka).call(this, { in_style: e.ch_in_style }), ot(this, Bn, $a).call(this, { out_style: e.ch_out_style }));
31836
31837
  }, Ko = new WeakSet(), af = function(e) {
31837
31838
  const o = H(this, mr).at(-1);
31838
31839
  if (!o) {
31839
31840
  ot(this, Zo, sf).call(this, e);
31840
31841
  return;
31841
31842
  }
31842
- o.o = { ...o.o, ...e }, !e.style && !e.r_style && (o.o.style = "", o.o.r_style = ""), "r_align" in e && nt(this, Ze, e.r_align), ot(this, Ln, ka).call(this, e), ot(this, Bn, $a).call(this, e);
31843
- }, Un = new WeakMap(), et(TxtLayer, Go), et(TxtLayer, Ho), et(TxtLayer, ah), et(TxtLayer, Qs, void 0), et(TxtLayer, wr, void 0), et(TxtLayer, ta, void 0), et(TxtLayer, Uo, void 0), et(TxtLayer, jo, void 0), et(TxtLayer, Mn, void 0), et(TxtLayer, zo, void 0), et(TxtLayer, di, !1), et(TxtLayer, Dn, {}), et(TxtLayer, oh, {
31843
+ o.o = { ...o.o, ...e }, !e.style && !e.r_style && (o.o.style = "", o.o.r_style = ""), "r_align" in e && nt(this, Je, e.r_align), ot(this, Ln, ka).call(this, e), ot(this, Bn, $a).call(this, e);
31844
+ }, Un = new WeakMap(), et(TxtLayer, Go), et(TxtLayer, Ho), et(TxtLayer, ah), et(TxtLayer, Qs, void 0), et(TxtLayer, Pr, void 0), et(TxtLayer, ta, void 0), et(TxtLayer, Uo, void 0), et(TxtLayer, jo, void 0), et(TxtLayer, Mn, void 0), et(TxtLayer, zo, void 0), et(TxtLayer, di, !1), et(TxtLayer, Dn, {}), et(TxtLayer, oh, {
31844
31845
  "text-align": 0,
31845
31846
  "text-align-last": 0,
31846
31847
  height: 0,
@@ -32046,7 +32047,7 @@ ${t.id}`, Y = new Tween(S).to(D, argChk_Num(t, "time", NaN) * (Boolean(this.val.
32046
32047
  Y.start();
32047
32048
  return this.hTwInf[W] = { tw: Y, resume: !1 }, !1;
32048
32049
  };
32049
- var Or, ue, xe, Vi, Hn, ha, Qo, tu, eu, ca, ru, of, Xi, Yr, ph, pd, Ke, vh, vd, gh, gd, _h, _d, se, qr, Zr, iu, mh, md, fa, al, yh, yd, bh, nu, Eh, jn, zn, _i, Oe, Vn, xh, bd, Ne, Xe, ir, Th, Ed, Sh, xd, Ch, Td, Xn, Ua, Rh, Sd, hr, Ih, Cd, wh, Rd, Ph, Id, Ah, wd, Oh, Pd, Wi, da, ol, cr, Nh, Ad, su, Mh, Od, Kr, Wn, Yi, ys, Jr, Qr, Dh, Nd, Lh, Md, Fh, Dd, Bh, Ld, kh, Fd, $h, Bd, Uh, kd, Gh, $d, Hh, Ud, jh, Gd, zh, Hd, Vh, jd, Xh, zd, Wh, Vd, Yh, Xd;
32050
+ var Nr, ue, xe, Vi, Hn, ha, Qo, tu, eu, ca, ru, of, Xi, Yr, ph, pd, Qe, vh, vd, gh, gd, _h, _d, se, qr, Zr, iu, mh, md, fa, al, yh, yd, bh, nu, Eh, jn, zn, _i, Oe, Vn, xh, bd, Ne, Ye, sr, Th, Ed, Sh, xd, Ch, Td, Xn, Ua, Rh, Sd, hr, Ih, Cd, wh, Rd, Ph, Id, Ah, wd, Oh, Pd, Wi, da, ol, cr, Nh, Ad, su, Mh, Od, Kr, Wn, Yi, ys, Jr, Qr, Dh, Nd, Lh, Md, Fh, Dd, Bh, Ld, kh, Fd, $h, Bd, Uh, kd, Gh, $d, Hh, Ud, jh, Gd, zh, Hd, Vh, jd, Xh, zd, Wh, Vd, Yh, Xd;
32050
32051
  const an = class {
32051
32052
  constructor(t, e, o, T, S, N, D, B, $, U) {
32052
32053
  et(this, ru);
@@ -32058,7 +32059,7 @@ const an = class {
32058
32059
  et(this, fa);
32059
32060
  et(this, yh);
32060
32061
  et(this, xh);
32061
- et(this, Xe);
32062
+ et(this, Ye);
32062
32063
  et(this, Th);
32063
32064
  et(this, Sh);
32064
32065
  et(this, Ch);
@@ -32088,7 +32089,7 @@ const an = class {
32088
32089
  et(this, Xh);
32089
32090
  et(this, Wh);
32090
32091
  et(this, Yh);
32091
- et(this, Or, void 0);
32092
+ et(this, Nr, void 0);
32092
32093
  et(this, ue, new Container());
32093
32094
  et(this, xe, new Container());
32094
32095
  et(this, Vi, void 0);
@@ -32115,7 +32116,7 @@ const an = class {
32115
32116
  Pt(this, "getFrmDisabled", (t) => H(this, Vi).getFrmDisabled(t));
32116
32117
  et(this, Xi, void 0);
32117
32118
  et(this, Yr, void 0);
32118
- et(this, Ke, (t, e = this.currentTxtlayForeNeedErr, o = !0) => e.tagCh("\uFF5C\u3000\u300A" + t + "\u300B"));
32119
+ et(this, Qe, (t, e = this.currentTxtlayForeNeedErr, o = !0) => e.tagCh("\uFF5C\u3000\u300A" + t + "\u300B"));
32119
32120
  Pt(this, "goTxt", () => {
32120
32121
  });
32121
32122
  Pt(this, "breakLine", () => {
@@ -32208,9 +32209,9 @@ void main(void) {
32208
32209
  }, 1e3 / 60 * 10));
32209
32210
  }, { passive: !0 });
32210
32211
  }
32211
- D.cvsResize(), TxtLayer.init(t, e, T, (Y) => this.recText(Y), (Y) => H(this, se)[Y.layname].fore === Y, o), GrpLayer.init(S, t, o, D, B, T), Button.init(t), nt(this, Vi, new FrameMng(this.cfg, this.hTag, this.appPixi, this.val, S, this.sys, H(this, hr))), D.hFactoryCls.grp = () => new GrpLayer(), D.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (Y) => ot(this, gh, gd).call(this, Y), e.snapshot = (Y) => ot(this, vh, vd).call(this, Y), e.add_lay = (Y) => ot(this, _h, _d).call(this, Y), e.clear_lay = (Y) => ot(this, yh, yd).call(this, Y), e.finish_trans = () => ot(this, Xn, Ua).call(this), e.lay = (Y) => ot(this, mh, md).call(this, Y), e.trans = (Y) => ot(this, xh, bd).call(this, Y), e.wt = (Y) => ot(this, Ch, Td).call(this, Y), e.quake = (Y) => ot(this, Rh, Sd).call(this, Y), e.stop_quake = (Y) => e.finish_trans(Y), e.wq = (Y) => e.wt(Y), e.pause_tsy = (Y) => ot(this, Ah, wd).call(this, Y), e.resume_tsy = (Y) => ot(this, Oh, Pd).call(this, Y), e.stop_tsy = (Y) => ot(this, Ph, Id).call(this, Y), e.tsy = (Y) => ot(this, Ih, Cd).call(this, Y), e.wait_tsy = (Y) => ot(this, wh, Rd).call(this, Y), e.ch = (Y) => ot(this, da, ol).call(this, Y), e.clear_text = (Y) => ot(this, Dh, Nd).call(this, Y), e.current = (Y) => H(this, su).call(this, Y), e.endlink = (Y) => ot(this, Lh, Md).call(this, Y), e.er = (Y) => ot(this, Fh, Dd).call(this, Y), e.graph = (Y) => ot(this, Bh, Ld).call(this, Y), e.link = (Y) => ot(this, kh, Fd).call(this, Y), e.r = (Y) => ot(this, $h, Bd).call(this, Y), e.rec_ch = (Y) => ot(this, Gh, $d).call(this, Y), e.rec_r = () => ot(this, Uh, kd).call(this), e.reset_rec = (Y) => ot(this, Hh, Ud).call(this, Y), e.ruby2 = (Y) => ot(this, jh, Gd).call(this, Y), e.span = (Y) => ot(this, zh, Hd).call(this, Y), e.tcy = (Y) => ot(this, Vh, jd).call(this, Y), e.add_face = (Y) => GrpLayer.add_face(Y), e.wv = (Y) => GrpLayer.wv(Y), e.dump_lay = (Y) => ot(this, Xh, zd).call(this, Y), e.enable_event = (Y) => ot(this, Wh, Vd).call(this, Y), e.button = (Y) => ot(this, Yh, Xd).call(this, Y), t.existsBreakline && (this.breakLine = () => H(this, Ke).call(this, 'grp\uFF5C{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => H(this, Ke).call(this, 'grp\uFF5C{"id":"break","pic":"breakpage"}')), nt(this, Hn, parseColor(String(t.oCfg.init.bg_color)));
32212
+ D.cvsResize(), TxtLayer.init(t, e, T, (Y) => this.recText(Y), (Y) => H(this, se)[Y.layname].fore === Y, o), GrpLayer.init(S, t, o, D, B, T), Button.init(t), nt(this, Vi, new FrameMng(this.cfg, this.hTag, this.appPixi, this.val, S, this.sys, H(this, hr))), D.hFactoryCls.grp = () => new GrpLayer(), D.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (Y) => ot(this, gh, gd).call(this, Y), e.snapshot = (Y) => ot(this, vh, vd).call(this, Y), e.add_lay = (Y) => ot(this, _h, _d).call(this, Y), e.clear_lay = (Y) => ot(this, yh, yd).call(this, Y), e.finish_trans = () => ot(this, Xn, Ua).call(this), e.lay = (Y) => ot(this, mh, md).call(this, Y), e.trans = (Y) => ot(this, xh, bd).call(this, Y), e.wt = (Y) => ot(this, Ch, Td).call(this, Y), e.quake = (Y) => ot(this, Rh, Sd).call(this, Y), e.stop_quake = (Y) => e.finish_trans(Y), e.wq = (Y) => e.wt(Y), e.pause_tsy = (Y) => ot(this, Ah, wd).call(this, Y), e.resume_tsy = (Y) => ot(this, Oh, Pd).call(this, Y), e.stop_tsy = (Y) => ot(this, Ph, Id).call(this, Y), e.tsy = (Y) => ot(this, Ih, Cd).call(this, Y), e.wait_tsy = (Y) => ot(this, wh, Rd).call(this, Y), e.ch = (Y) => ot(this, da, ol).call(this, Y), e.clear_text = (Y) => ot(this, Dh, Nd).call(this, Y), e.current = (Y) => H(this, su).call(this, Y), e.endlink = (Y) => ot(this, Lh, Md).call(this, Y), e.er = (Y) => ot(this, Fh, Dd).call(this, Y), e.graph = (Y) => ot(this, Bh, Ld).call(this, Y), e.link = (Y) => ot(this, kh, Fd).call(this, Y), e.r = (Y) => ot(this, $h, Bd).call(this, Y), e.rec_ch = (Y) => ot(this, Gh, $d).call(this, Y), e.rec_r = () => ot(this, Uh, kd).call(this), e.reset_rec = (Y) => ot(this, Hh, Ud).call(this, Y), e.ruby2 = (Y) => ot(this, jh, Gd).call(this, Y), e.span = (Y) => ot(this, zh, Hd).call(this, Y), e.tcy = (Y) => ot(this, Vh, jd).call(this, Y), e.add_face = (Y) => GrpLayer.add_face(Y), e.wv = (Y) => GrpLayer.wv(Y), e.dump_lay = (Y) => ot(this, Xh, zd).call(this, Y), e.enable_event = (Y) => ot(this, Wh, Vd).call(this, Y), e.button = (Y) => ot(this, Yh, Xd).call(this, Y), t.existsBreakline && (this.breakLine = () => H(this, Qe).call(this, 'grp\uFF5C{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => H(this, Qe).call(this, 'grp\uFF5C{"id":"break","pic":"breakpage"}')), nt(this, Hn, parseColor(String(t.oCfg.init.bg_color)));
32212
32213
  const V = new Graphics();
32213
- V.beginFill(H(this, Hn), 1).lineStyle(0, H(this, Hn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), H(this, ue).addChild(V.clone()), H(this, xe).addChild(V), H(this, xe).visible = !1, nt(this, Or, this.appPixi.stage), H(this, Or).addChild(H(this, xe)), H(this, Or).addChild(H(this, ue)), H(this, Or).addChild(H(this, zn)), H(this, Or).addChild(H(this, Oe)), this.appPixi.ticker.add(H(this, Qo));
32214
+ V.beginFill(H(this, Hn), 1).lineStyle(0, H(this, Hn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), H(this, ue).addChild(V.clone()), H(this, xe).addChild(V), H(this, xe).visible = !1, nt(this, Nr, this.appPixi.stage), H(this, Nr).addChild(H(this, xe)), H(this, Nr).addChild(H(this, ue)), H(this, Nr).addChild(H(this, zn)), H(this, Nr).addChild(H(this, Oe)), this.appPixi.ticker.add(H(this, Qo));
32214
32215
  const X = (Y, q) => {
32215
32216
  ot(this, ph, pd).call(this, Number(q));
32216
32217
  };
@@ -32229,7 +32230,7 @@ void main(void) {
32229
32230
  cvsResizeDesign() {
32230
32231
  }
32231
32232
  cover(t, e = 0) {
32232
- H(this, Xi) && (H(this, Or).removeChild(H(this, Xi)), H(this, Xi).destroy(), nt(this, Xi, void 0)), t && H(this, Or).addChild(
32233
+ H(this, Xi) && (H(this, Nr).removeChild(H(this, Xi)), H(this, Xi).destroy(), nt(this, Xi, void 0)), t && H(this, Nr).addChild(
32233
32234
  nt(this, Xi, new Graphics()).beginFill(e).lineStyle(0, e).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill()
32234
32235
  );
32235
32236
  }
@@ -32247,10 +32248,10 @@ void main(void) {
32247
32248
  nt(this, hr, {}), removeAll();
32248
32249
  }
32249
32250
  clearBreak() {
32250
- !this.currentTxtlayFore || (this.clearBreak = () => H(this, Ke).call(this, "del\uFF5Cbreak"), this.clearBreak());
32251
+ !this.currentTxtlayFore || (this.clearBreak = () => H(this, Qe).call(this, "del\uFF5Cbreak"), this.clearBreak());
32251
32252
  }
32252
32253
  clickTxtLay() {
32253
- return this.currentTxtlayFore ? ot(this, Xe, ir).call(this).some((t) => {
32254
+ return this.currentTxtlayFore ? ot(this, Ye, sr).call(this).some((t) => {
32254
32255
  const e = H(this, se)[t].fore;
32255
32256
  return e instanceof TxtLayer && e.click();
32256
32257
  }) : !1;
@@ -32318,16 +32319,16 @@ void main(void) {
32318
32319
  }
32319
32320
  };
32320
32321
  let LayerMng = an;
32321
- Or = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(), Hn = new WeakMap(), ha = new WeakMap(), Qo = new WeakMap(), tu = new WeakMap(), eu = new WeakMap(), ca = new WeakMap(), ru = new WeakSet(), of = function(t) {
32322
+ Nr = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(), Hn = new WeakMap(), ha = new WeakMap(), Qo = new WeakMap(), tu = new WeakMap(), eu = new WeakMap(), ca = new WeakMap(), ru = new WeakSet(), of = function(t) {
32322
32323
  [Pe(this, eu)._, this.ca = ""] = t.split("/");
32323
32324
  const e = H(this, se)[H(this, eu)];
32324
32325
  !e || (DesignCast.allHide(), H(this, ca) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
32325
32326
  }, Xi = new WeakMap(), Yr = new WeakMap(), ph = new WeakSet(), pd = function(t) {
32326
- for (const e of ot(this, Xe, ir).call(this)) {
32327
+ for (const e of ot(this, Ye, sr).call(this)) {
32327
32328
  const o = H(this, se)[e];
32328
32329
  o.fore instanceof TxtLayer && (o.fore.chgBackAlpha(t), o.back.chgBackAlpha(t));
32329
32330
  }
32330
- }, Ke = new WeakMap(), vh = new WeakSet(), vd = function(t) {
32331
+ }, Qe = new WeakMap(), vh = new WeakSet(), vd = function(t) {
32331
32332
  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);
32332
32333
  if (this.sys.canCapturePage(o))
32333
32334
  return !1;
@@ -32348,17 +32349,17 @@ Or = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(),
32348
32349
  H(this, xe).visible = !1, H(this, zn).visible = !0, H(this, ue).filters = H(this, Oe).filters, H(this, ue).visible = !0, N.render(H(this, ue), { clear: !1 }), H(this, ue).visible = !1, H(this, ue).filters = [], $();
32349
32350
  }));
32350
32351
  else
32351
- for (const $ of ot(this, Xe, ir).call(this, t.layer))
32352
+ for (const $ of ot(this, Ye, sr).call(this, t.layer))
32352
32353
  D.push(
32353
32354
  new Promise((U) => H(this, se)[$][B].snapshot(N, () => U()))
32354
32355
  );
32355
32356
  return Promise.allSettled(D).then(async () => {
32356
32357
  const $ = RenderTexture.create({ width: N.width, height: N.height, transform: !0 });
32357
- if (N.render(H(this, Or), { renderTexture: $ }), await this.sys.savePic(
32358
+ if (N.render(H(this, Nr), { renderTexture: $ }), await this.sys.savePic(
32358
32359
  o,
32359
32360
  N.plugins.extract.base64(Sprite.from($))
32360
32361
  ), !H(this, Ne).tw)
32361
- for (const U of ot(this, Xe, ir).call(this, t.layer))
32362
+ for (const U of ot(this, Ye, sr).call(this, t.layer))
32362
32363
  H(this, se)[U][B].snapshot_end();
32363
32364
  N.destroy(!0);
32364
32365
  }), !1;
@@ -32396,9 +32397,9 @@ Or = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(),
32396
32397
  H(this, Zr) || (nt(this, Wn, () => {
32397
32398
  }), nt(this, cr, ot(this, Nh, Ad)), nt(this, su, ot(this, Mh, Od)), this.hTag.current({ layer: e }), this.goTxt = () => {
32398
32399
  this.val.getVal("sn.skip.enabled") ? nt(an, Wi, 0) : this.setNormalChWait();
32399
- for (const S of ot(this, Xe, ir).call(this)) {
32400
+ for (const S of ot(this, Ye, sr).call(this)) {
32400
32401
  const N = H(this, se)[S].fore;
32401
- N instanceof TxtLayer && H(this, Ke).call(this, "gotxt\uFF5C", N, !1);
32402
+ N instanceof TxtLayer && H(this, Qe).call(this, "gotxt\uFF5C", N, !1);
32402
32403
  }
32403
32404
  }), this.val.setVal_Nochk(
32404
32405
  "save",
@@ -32443,10 +32444,10 @@ Or = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(),
32443
32444
  const e = CmnTween.ease(t.ease);
32444
32445
  nt(this, Vn, []);
32445
32446
  const o = {}, T = [];
32446
- for (const X of ot(this, Xe, ir).call(this, t.layer))
32447
+ for (const X of ot(this, Ye, sr).call(this, t.layer))
32447
32448
  o[X] = !0, T.push(H(this, se)[X].fore);
32448
32449
  const S = [];
32449
- for (const X of ot(this, Xe, ir).call(this)) {
32450
+ for (const X of ot(this, Ye, sr).call(this)) {
32450
32451
  const W = H(this, se)[X][o[X] ? "back" : "fore"];
32451
32452
  H(this, Vn).push(W.spLay), S.push(W);
32452
32453
  }
@@ -32509,10 +32510,10 @@ Or = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(),
32509
32510
  var W;
32510
32511
  V.uniforms.rule = X.texture, X.destroy(), (W = H(this, Ne).tw) == null || W.start(), this.appPixi.ticker.add(B);
32511
32512
  }), !1;
32512
- }, Ne = new WeakMap(), Xe = new WeakSet(), ir = function(t = "") {
32513
+ }, Ne = new WeakMap(), Ye = new WeakSet(), sr = function(t = "") {
32513
32514
  return t ? t.split(",") : H(this, qr);
32514
32515
  }, Th = new WeakSet(), Ed = function(t, e) {
32515
- const o = ot(this, Xe, ir).call(this, t.layer);
32516
+ const o = ot(this, Ye, sr).call(this, t.layer);
32516
32517
  for (const T of o) {
32517
32518
  if (!T)
32518
32519
  continue;
@@ -32523,7 +32524,7 @@ Or = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(),
32523
32524
  }
32524
32525
  return o;
32525
32526
  }, Sh = new WeakSet(), xd = function(t = "") {
32526
- return ot(this, Xe, ir).call(this, t).sort((e, o) => {
32527
+ return ot(this, Ye, sr).call(this, t).sort((e, o) => {
32527
32528
  const T = H(this, ue).getChildIndex(H(this, se)[e].fore.spLay), S = H(this, ue).getChildIndex(H(this, se)[o].fore.spLay);
32528
32529
  return T < S ? -1 : T > S ? 1 : 0;
32529
32530
  });
@@ -32538,7 +32539,7 @@ Or = new WeakMap(), ue = new WeakMap(), xe = new WeakMap(), Vi = new WeakMap(),
32538
32539
  if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || H(this, Yr).isSkippingByKeyDown())
32539
32540
  return !1;
32540
32541
  const o = [];
32541
- for (const z of ot(this, Xe, ir).call(this, t.layer))
32542
+ for (const z of ot(this, Ye, sr).call(this, t.layer))
32542
32543
  o.push(H(this, se)[z].fore.spLay);
32543
32544
  H(this, _i).resize(CmnLib.stageW, CmnLib.stageH);
32544
32545
  const T = () => {
@@ -32634,10 +32635,10 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32634
32635
  const o = H(this, cr).call(this, t);
32635
32636
  delete t.text, this.val.getVal("tmp:sn.skip.enabled") ? t.wait = 0 : "wait" in t && argChk_Num(t, "wait", NaN);
32636
32637
  const T = encodeURIComponent(JSON.stringify(t));
32637
- H(this, Ke).call(this, "add\uFF5C" + T, o);
32638
+ H(this, Qe).call(this, "add\uFF5C" + T, o);
32638
32639
  const S = argChk_Boolean(t, "record", !0), N = this.val.doRecLog();
32639
32640
  return S || this.val.setVal_Nochk("save", "sn.doRecLog", S), o.tagCh(e.replaceAll("[r]", `
32640
- `)), S || this.val.setVal_Nochk("save", "sn.doRecLog", N), H(this, Ke).call(this, "add_close\uFF5C", o), !1;
32641
+ `)), S || this.val.setVal_Nochk("save", "sn.doRecLog", N), H(this, Qe).call(this, "add_close\uFF5C", o), !1;
32641
32642
  }, cr = new WeakMap(), Nh = new WeakSet(), Ad = function(t) {
32642
32643
  const e = ot(this, Yi, ys).call(this, t, H(this, Zr)), T = H(this, se)[e].getPage(t);
32643
32644
  if (!(T instanceof TxtLayer))
@@ -32650,7 +32651,7 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32650
32651
  if (nt(this, Kr, H(this, se)[e]), !(H(this, Kr).getPage(t) instanceof TxtLayer))
32651
32652
  throw `${e}\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093`;
32652
32653
  this.recText("", !0), nt(this, Zr, e), this.val.setVal_Nochk("save", "const.sn.mesLayer", e);
32653
- for (const o of ot(this, Xe, ir).call(this)) {
32654
+ for (const o of ot(this, Ye, sr).call(this)) {
32654
32655
  const T = H(this, se)[o];
32655
32656
  T.fore instanceof TxtLayer && (T.fore.isCur = T.back.isCur = o === e);
32656
32657
  }
@@ -32667,19 +32668,19 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32667
32668
  const e = H(this, cr).call(this, t);
32668
32669
  return t.layer === H(this, Zr) && t.page === "fore" && this.recText("", !0), e.clearText(), !1;
32669
32670
  }, Lh = new WeakSet(), Md = function(t) {
32670
- return H(this, Ke).call(this, "endlink\uFF5C", H(this, cr).call(this, t)), !1;
32671
+ return H(this, Qe).call(this, "endlink\uFF5C", H(this, cr).call(this, t)), !1;
32671
32672
  }, Fh = new WeakSet(), Dd = function(t) {
32672
32673
  return argChk_Boolean(t, "rec_page_break", !0) && this.recText("", !0), H(this, Kr) && (H(this, Kr).fore.clearLay(t), H(this, Kr).back.clearLay(t)), !1;
32673
32674
  }, Bh = new WeakSet(), Ld = function(t) {
32674
32675
  if (!t.pic)
32675
32676
  throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
32676
32677
  const e = encodeURIComponent(JSON.stringify(t));
32677
- return H(this, Ke).call(this, "grp\uFF5C" + e, H(this, cr).call(this, t)), !1;
32678
+ return H(this, Qe).call(this, "grp\uFF5C" + e, H(this, cr).call(this, t)), !1;
32678
32679
  }, kh = new WeakSet(), Fd = function(t) {
32679
32680
  var o, T, S;
32680
32681
  (o = t.style) != null || (t.style = "background-color: rgba(255,0,0,0.5);"), (T = t.style_hover) != null || (t.style_hover = "background-color: rgba(255,0,0,0.9);"), (S = t.style_clicked) != null || (t.style_clicked = t.style);
32681
32682
  const e = encodeURIComponent(JSON.stringify(t));
32682
- return H(this, Ke).call(this, "link\uFF5C" + e, H(this, cr).call(this, t)), !1;
32683
+ return H(this, Qe).call(this, "link\uFF5C" + e, H(this, cr).call(this, t)), !1;
32683
32684
  }, $h = new WeakSet(), Bd = function(t) {
32684
32685
  return t.text = `
32685
32686
  `, ot(this, da, ol).call(this, t);
@@ -32705,15 +32706,15 @@ ${t.id}` : (o = t.name) != null ? o : t.layer;
32705
32706
  return t.text = "\uFF5C" + encodeURIComponent(e) + "\u300A" + encodeURIComponent(o) + "\u300B", delete t.t, delete t.r, ot(this, da, ol).call(this, t);
32706
32707
  }, zh = new WeakSet(), Hd = function(t) {
32707
32708
  const e = encodeURIComponent(JSON.stringify(t));
32708
- return H(this, Ke).call(this, "span\uFF5C" + e, H(this, cr).call(this, t)), !1;
32709
+ return H(this, Qe).call(this, "span\uFF5C" + e, H(this, cr).call(this, t)), !1;
32709
32710
  }, Vh = new WeakSet(), jd = function(t) {
32710
32711
  if (!t.t)
32711
32712
  throw "[tcy] t\u306F\u5FC5\u9808\u3067\u3059";
32712
32713
  const e = encodeURIComponent(JSON.stringify(t));
32713
- return H(this, Ke).call(this, "tcy\uFF5C" + e, H(this, cr).call(this, t)), !1;
32714
+ return H(this, Qe).call(this, "tcy\uFF5C" + e, H(this, cr).call(this, t)), !1;
32714
32715
  }, Xh = new WeakSet(), zd = function(t) {
32715
32716
  console.group("\u{1F95F} [dump_lay]");
32716
- for (const e of ot(this, Xe, ir).call(this, t.layer)) {
32717
+ for (const e of ot(this, Ye, sr).call(this, t.layer)) {
32717
32718
  const o = H(this, se)[e];
32718
32719
  try {
32719
32720
  console.info(
@@ -33560,8 +33561,8 @@ function preventOverflow(r) {
33560
33561
  tt[Q] = $t, ct[Q] = $t - xt;
33561
33562
  }
33562
33563
  if (D) {
33563
- var wt, ee = Q === "x" ? top : left, te = Q === "x" ? bottom : right, le = tt[rt], we = rt === "y" ? "height" : "width", Be = le + q[ee], ne = le - q[te], Me = [top, left].indexOf(Z) !== -1, ye = (wt = ft == null ? void 0 : ft[rt]) != null ? wt : 0, de = Me ? Be : le - st[we] - it[we] - ye + ut.altAxis, he = Me ? le + st[we] + it[we] - ye - ut.altAxis : ne, ie = X && Me ? withinMaxClamp(de, le, he) : within(X ? de : Be, le, X ? he : ne);
33564
- tt[rt] = ie, ct[rt] = ie - le;
33564
+ var wt, ee = Q === "x" ? top : left, te = Q === "x" ? bottom : right, he = tt[rt], we = rt === "y" ? "height" : "width", Be = he + q[ee], ne = he - q[te], Me = [top, left].indexOf(Z) !== -1, ye = (wt = ft == null ? void 0 : ft[rt]) != null ? wt : 0, de = Me ? Be : he - st[we] - it[we] - ye + ut.altAxis, ce = Me ? he + st[we] + it[we] - ye - ut.altAxis : ne, ie = X && Me ? withinMaxClamp(de, he, ce) : within(X ? de : Be, he, X ? ce : ne);
33565
+ tt[rt] = ie, ct[rt] = ie - he;
33565
33566
  }
33566
33567
  t.modifiersData[o] = ct;
33567
33568
  }
@@ -33841,7 +33842,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
33841
33842
  defaultModifiers
33842
33843
  });
33843
33844
  const { GamepadListener } = require("gamepad.js");
33844
- var Je, qi, Fe, ou, uu, uf, lu, lf, hu, hf, va, ga, cu, cf, Ce, yr, mi, yi, fu, Zi, bs, du, pu, He, ma, ya, vu, Zh, Yd, gu, qn, Kh, qd, _u, ff, Jh, Zd, mu, df, Zn, Ha, Kn, Qh, Kd, tc, Jd, br, ec, Qd, rc, tp, ba, ul, bi, Jn, Qn, ic, ep, We;
33845
+ var tr, qi, Fe, ou, uu, uf, lu, lf, hu, hf, va, ga, cu, cf, Ce, yr, mi, yi, fu, Zi, bs, du, pu, He, ma, ya, vu, Zh, Yd, gu, qn, Kh, qd, _u, ff, Jh, Zd, mu, df, Zn, Ha, Kn, Qh, Kd, tc, Jd, br, ec, Qd, rc, tp, ba, ul, bi, Jn, Qn, ic, ep, qe;
33845
33846
  class EventMng {
33846
33847
  constructor(t, e, o, T, S, N, D, B, $) {
33847
33848
  et(this, uu);
@@ -33861,7 +33862,7 @@ class EventMng {
33861
33862
  et(this, rc);
33862
33863
  et(this, ba);
33863
33864
  et(this, ic);
33864
- et(this, Je, new EventListenerCtn());
33865
+ et(this, tr, new EventListenerCtn());
33865
33866
  et(this, qi, new GamepadListener({
33866
33867
  analog: !1,
33867
33868
  deadZone: 0.3
@@ -33902,7 +33903,7 @@ class EventMng {
33902
33903
  });
33903
33904
  et(this, Jn, new i$1());
33904
33905
  et(this, Qn, "sn:notice_comp_txt");
33905
- et(this, We, {
33906
+ et(this, qe, {
33906
33907
  Alt: 0,
33907
33908
  Meta: 0,
33908
33909
  Control: 0,
@@ -33972,7 +33973,7 @@ class EventMng {
33972
33973
  <div class="sn_hint" role="tooltip">
33973
33974
  <span>Dummy</span>
33974
33975
  <div class="sn_hint_ar" data-popper-arrow></div>
33975
- </div>`), nt(this, He, document.querySelector(".sn_hint")), nt(this, ma, H(this, He).querySelector("span")), nt(this, ya, createPopper(H(this, pu), H(this, He))), H(this, He).hidden = !0, o.stage.interactive = !0, CmnLib.isMobile ? o.stage.on("pointerdown", (q) => this.fire("click", q)) : H(this, Je).add(o.stage, "pointerdown", (q) => {
33976
+ </div>`), nt(this, He, document.querySelector(".sn_hint")), nt(this, ma, H(this, He).querySelector("span")), nt(this, ya, createPopper(H(this, pu), H(this, He))), H(this, He).hidden = !0, o.stage.interactive = !0, CmnLib.isMobile ? o.stage.on("pointerdown", (q) => this.fire("click", q)) : H(this, tr).add(o.stage, "pointerdown", (q) => {
33976
33977
  switch (q.data.button) {
33977
33978
  case 0:
33978
33979
  this.fire("click", q);
@@ -33981,13 +33982,13 @@ class EventMng {
33981
33982
  this.fire("middleclick", q);
33982
33983
  break;
33983
33984
  }
33984
- }), H(this, Je).add(window, "keydown", (q) => ot(this, uu, uf).call(this, q)), H(this, Je).add(o.view, "contextmenu", (q) => ot(this, lu, lf).call(this, q));
33985
+ }), H(this, tr).add(window, "keydown", (q) => ot(this, uu, uf).call(this, q)), H(this, tr).add(o.view, "contextmenu", (q) => ot(this, lu, lf).call(this, q));
33985
33986
  const U = (q) => {
33986
33987
  CmnLib.isDarkMode = q.matches, N.setVal_Nochk("tmp", "const.sn.isDarkMode", CmnLib.isDarkMode);
33987
33988
  }, z = globalThis.matchMedia("(prefers-color-scheme: dark)");
33988
- U(z), H(this, Je).add(z, "change", (q) => {
33989
+ U(z), H(this, tr).add(z, "change", (q) => {
33989
33990
  U(q), this.fire("sn:chgDarkMode", q);
33990
- }), "WheelEvent" in window && (H(this, Je).add(o.view, "wheel", (q) => ot(this, hu, hf).call(this, q), { passive: !0 }), nt(this, ou, (q) => H(this, Je).add(q, "wheel", (Z) => ot(this, hu, hf).call(this, Z), { passive: !0 })), nt(this, gu, (q, Z) => q.add(o.view, "wheel", (K) => {
33991
+ }), "WheelEvent" in window && (H(this, tr).add(o.view, "wheel", (q) => ot(this, hu, hf).call(this, q), { passive: !0 }), nt(this, ou, (q) => H(this, tr).add(q, "wheel", (Z) => ot(this, hu, hf).call(this, Z), { passive: !0 })), nt(this, gu, (q, Z) => q.add(o.view, "wheel", (K) => {
33991
33992
  K.isComposing || K.deltaY <= 0 || (K.stopPropagation(), Z());
33992
33993
  }))), CmnLib.debugLog && (H(this, qi).on("gamepad:connected", (q) => console.log(`\u{1F47A}<'gamepad:connected' index:${q.detail.index} id:${q.detail.gamepad.id}`)), H(this, qi).on("gamepad:disconnected", (q) => console.log(`\u{1F47A}<'gamepad:disconnected' index:${q.detail.index} id:${q.detail.gamepad.id}`)));
33993
33994
  const V = [
@@ -34017,15 +34018,15 @@ class EventMng {
34017
34018
  (!Z || Z instanceof Container ? globalThis : Z).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
34018
34019
  } else
34019
34020
  o.view.dispatchEvent(new Event("contextmenu"));
34020
- }), H(this, qi).start(), H(this, Je).add(window, "keyup", (q) => {
34021
- q.isComposing || q.key in H(this, We) && (H(this, We)[q.key] = 0);
34022
- }), N.defTmp("const.sn.key.alternate", () => H(this, We).Alt > 0), N.defTmp("const.sn.key.command", () => H(this, We).Meta > 0), N.defTmp("const.sn.key.control", () => H(this, We).Control > 0), N.defTmp("const.sn.key.end", () => H(this, We).End > 0), N.defTmp("const.sn.key.escape", () => H(this, We).Escape > 0), N.defTmp("const.sn.key.back", () => H(this, We).GoBack > 0);
34021
+ }), H(this, qi).start(), H(this, tr).add(window, "keyup", (q) => {
34022
+ q.isComposing || q.key in H(this, qe) && (H(this, qe)[q.key] = 0);
34023
+ }), N.defTmp("const.sn.key.alternate", () => H(this, qe).Alt > 0), N.defTmp("const.sn.key.command", () => H(this, qe).Meta > 0), N.defTmp("const.sn.key.control", () => H(this, qe).Control > 0), N.defTmp("const.sn.key.end", () => H(this, qe).End > 0), N.defTmp("const.sn.key.escape", () => H(this, qe).Escape > 0), N.defTmp("const.sn.key.back", () => H(this, qe).GoBack > 0);
34023
34024
  }
34024
34025
  resvFlameEvent(t) {
34025
- H(this, Je).add(t, "keydown", (e) => ot(this, uu, uf).call(this, e)), H(this, Je).add(t, "contextmenu", (e) => ot(this, lu, lf).call(this, e)), H(this, ou).call(this, t);
34026
+ H(this, tr).add(t, "keydown", (e) => ot(this, uu, uf).call(this, e)), H(this, tr).add(t, "contextmenu", (e) => ot(this, lu, lf).call(this, e)), H(this, ou).call(this, t);
34026
34027
  }
34027
34028
  destroy() {
34028
- H(this, Fe).destroy(), H(this, Je).clear();
34029
+ H(this, Fe).destroy(), H(this, tr).clear();
34029
34030
  }
34030
34031
  fire(t, e) {
34031
34032
  var S;
@@ -34133,13 +34134,13 @@ class EventMng {
34133
34134
  H(this, Jn).emit(H(this, Qn));
34134
34135
  }
34135
34136
  isSkippingByKeyDown() {
34136
- return this.scrItr.skip4page ? !0 : Object.keys(H(this, We)).some((t) => H(this, We)[t] === 2);
34137
+ return this.scrItr.skip4page ? !0 : Object.keys(H(this, qe)).some((t) => H(this, qe)[t] === 2);
34137
34138
  }
34138
34139
  }
34139
- Je = new WeakMap(), qi = new WeakMap(), Fe = new WeakMap(), ou = new WeakMap(), uu = new WeakSet(), uf = function(t) {
34140
+ tr = new WeakMap(), qi = new WeakMap(), Fe = new WeakMap(), ou = new WeakMap(), uu = new WeakSet(), uf = function(t) {
34140
34141
  if (t.isComposing)
34141
34142
  return;
34142
- t.key in H(this, We) && (H(this, We)[t.key] = t.repeat ? 2 : 1);
34143
+ t.key in H(this, qe) && (H(this, qe)[t.key] = t.repeat ? 2 : 1);
34143
34144
  const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + t.key;
34144
34145
  this.fire(e, t);
34145
34146
  }, lu = new WeakSet(), lf = function(t) {
@@ -34235,7 +34236,7 @@ Je = new WeakMap(), qi = new WeakMap(), Fe = new WeakMap(), ou = new WeakMap(),
34235
34236
  break;
34236
34237
  }
34237
34238
  $.forEach((z, V) => B.el.forEach((X) => {
34238
- H(this, Je).add(X, z, (W) => {
34239
+ H(this, tr).add(X, z, (W) => {
34239
34240
  if (!H(this, yi) || this.layMng.getFrmDisabled(B.id) || z === "keydown" && W.key !== "Enter")
34240
34241
  return;
34241
34242
  const Y = X.dataset;
@@ -34358,15 +34359,15 @@ Je = new WeakMap(), qi = new WeakMap(), Fe = new WeakMap(), ou = new WeakMap(),
34358
34359
  ));
34359
34360
  }, bi = new WeakMap(), Jn = new WeakMap(), Qn = new WeakMap(), ic = new WeakSet(), ep = function() {
34360
34361
  return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && H(this, br).call(this), ot(this, Zi, bs).call(this, () => this.main.resume()));
34361
- }, We = new WeakMap();
34362
+ }, qe = new WeakMap();
34362
34363
  class CallStack {
34363
34364
  constructor(t = "", e = 0, o = { ":hEvt1Time": {}, ":hMp": {} }) {
34364
34365
  Pt(this, "toString", () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`);
34365
34366
  this.fn = t, this.idx = e, this.csArg = o;
34366
34367
  }
34367
34368
  }
34368
- var Qt, ae, Vt, me, ge, Ki, yu, pf, ts, Ea, nc, Ji, bu, vf, Eu, gf, xu, Qi, Es, es, ja, rs, Ei, Re, sc, rp, is, za, ac, ip, Tu, xa, fr, oc, np, uc, sp, xi, rn, lc, ap, ns, ss, Su, Cu, Ru, dr, hc, op, cc, up, fc, lp, Iu, _f, dc, hp, pc, cp, vc, fp, wu, mf, Pu, as, Va, os, Ti, nn, Au, yf, Ou, Nu, bf, gc, mc, Mu, us, Du, yc, dp, Qe, bc, pp, Lu, Ef, Ec, xc, Tc, Sc, vp, Si, Fu, xf, Cc, gp, Rc, _p, Ic, wc, mp, Bu, Ta, Pc, yp, Sa, ll, Ca, Ac, bp, Nr, Oc, Ep, Ra, hl, Nc, xp, Mr, Ue;
34369
- const nr = class {
34369
+ var Qt, ae, Vt, me, ge, Ki, yu, pf, ts, Ea, nc, Ji, bu, vf, Eu, gf, xu, Qi, Es, es, ja, rs, Ei, Re, sc, rp, is, za, ac, ip, Tu, xa, fr, oc, np, uc, sp, xi, rn, lc, ap, ns, ss, Su, Cu, Ru, dr, hc, op, cc, up, fc, lp, Iu, _f, dc, hp, pc, cp, vc, fp, wu, mf, Pu, as, Va, os, Ti, nn, Au, yf, Ou, Nu, bf, gc, mc, Mu, us, Du, yc, dp, er, bc, pp, Lu, Ef, Ec, xc, Tc, Sc, vp, Si, Fu, xf, Cc, gp, Rc, _p, Ic, wc, mp, Bu, Ta, Pc, yp, Sa, ll, Ca, Ac, bp, Mr, Oc, Ep, Ra, hl, Nc, xp, Dr, Ue;
34370
+ const ar = class {
34370
34371
  constructor(t, e, o, T, S, N, D, B, $) {
34371
34372
  et(this, yu);
34372
34373
  et(this, bu);
@@ -34417,7 +34418,7 @@ const nr = class {
34417
34418
  });
34418
34419
  et(this, ts, {
34419
34420
  disconnect: () => {
34420
- nt(nr, rs, {}), nt(nr, Ei, {}), this.isBreak = () => !1, H(this, ts).continue({}), nt(this, Re, 0);
34421
+ nt(ar, rs, {}), nt(ar, Ei, {}), this.isBreak = () => !1, H(this, ts).continue({}), nt(this, Re, 0);
34421
34422
  },
34422
34423
  restart: () => this.isBreak = () => !1,
34423
34424
  add_break: (t) => ot(this, yu, pf).call(this, t.fn, t.o),
@@ -34425,9 +34426,9 @@ const nr = class {
34425
34426
  H(this, Re) === 0 && (nt(this, Re, 1), this.main.setLoop(!1, `\u5909\u6570 ${t.dataId}\u3010${t.old_v}\u3011\u2192\u3010${t.new_v}\u3011\u30C7\u30FC\u30BF\u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
34426
34427
  },
34427
34428
  set_func_break: (t) => {
34428
- nt(nr, Ei, {});
34429
+ nt(ar, Ei, {});
34429
34430
  for (const e of t.a)
34430
- H(nr, Ei)[e.name] = 1;
34431
+ H(ar, Ei)[e.name] = 1;
34431
34432
  this.sys.send2Dbg(t.ri, {});
34432
34433
  },
34433
34434
  stack: (t) => this.sys.send2Dbg(t.ri, { a: ot(this, ac, ip).call(this) }),
@@ -34455,7 +34456,7 @@ const nr = class {
34455
34456
  }
34456
34457
  });
34457
34458
  et(this, Ea, (t) => this.cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SCRIPT));
34458
- et(this, Ji, (t) => (this.sys.pathBaseCnvSnPath4Dbg + H(this, Ea).call(this, t)).replace(H(nr, nc), `$1/prj/$2/${H(this, ae)}$3`));
34459
+ et(this, Ji, (t) => (this.sys.pathBaseCnvSnPath4Dbg + H(this, Ea).call(this, t)).replace(H(ar, nc), `$1/prj/$2/${H(this, ae)}$3`));
34459
34460
  Pt(this, "cnvPath4Dbg", (t) => this.sys.pathBaseCnvSnPath4Dbg + t.replace("/crypto_prj/", "/prj/"));
34460
34461
  et(this, xu, 0);
34461
34462
  et(this, Re, 0);
@@ -34479,12 +34480,12 @@ const nr = class {
34479
34480
  Pt(this, "nextToken", () => "");
34480
34481
  et(this, Ou, (t) => {
34481
34482
  });
34482
- et(this, gc, /(\*{2,})(.*)/);
34483
+ et(this, gc, /(\*{2,})([^\|]*)/);
34483
34484
  et(this, mc, /\[macro\s/);
34484
34485
  et(this, Mu, /\[endmacro[\s\]]/);
34485
34486
  et(this, us, /^\[let_ml\s/g);
34486
34487
  et(this, Du, /^\[endlet_ml\s*]/g);
34487
- et(this, Qe, /* @__PURE__ */ Object.create(null));
34488
+ et(this, er, /* @__PURE__ */ Object.create(null));
34488
34489
  et(this, Ec, /^\[(call|loadplugin)\s/);
34489
34490
  et(this, xc, /\bfn\s*=\s*[^\s\]]+/);
34490
34491
  et(this, Tc, () => {
@@ -34517,12 +34518,12 @@ const nr = class {
34517
34518
  et(this, Bu, "call");
34518
34519
  et(this, Ta, /\[(call)\b/);
34519
34520
  et(this, Ca, !1);
34520
- et(this, Nr, {
34521
+ et(this, Mr, {
34521
34522
  hSave: {},
34522
34523
  hPages: {},
34523
34524
  aIfStk: [-1]
34524
34525
  });
34525
- et(this, Mr, []);
34526
+ et(this, Dr, []);
34526
34527
  et(this, Ue, -1);
34527
34528
  if (this.cfg = t, this.hTag = e, this.main = o, this.val = T, this.alzTagArg = S, this.runAnalyze = N, this.prpPrs = D, this.sndMng = B, this.sys = $, e.let_ml = (U) => ot(this, oc, np).call(this, U), e.dump_stack = () => ot(this, uc, sp).call(this), e.dump_script = (U) => ot(this, lc, ap).call(this, U), e.else = e.elsif = e.endif = () => ot(this, hc, op).call(this), e.if = (U) => ot(this, cc, up).call(this, U), e.call = (U) => ot(this, fc, lp).call(this, U), e.jump = (U) => ot(this, dc, hp).call(this, U), e.page = (U) => ot(this, pc, cp).call(this, U), e.pop_stack = (U) => ot(this, vc, fp).call(this, U), e.return = (U) => ot(this, wu, mf).call(this, U), e.bracket2macro = (U) => ot(this, Cc, gp).call(this, U), e.char2macro = (U) => ot(this, Rc, _p).call(this, U), e.endmacro = (U) => ot(this, wu, mf).call(this, U), e.macro = (U) => ot(this, wc, mp).call(this, U), e.load = (U) => ot(this, Pc, yp).call(this, U), e.reload_script = (U) => ot(this, Ac, bp).call(this, U), e.record_place = () => ot(this, Oc, Ep).call(this), e.save = (U) => ot(this, Nc, xp).call(this, U), t.oCfg.debug.token && nt(this, Ou, (U) => console.log(`\u{1F331} \u30C8\u30FC\u30AF\u30F3 fn:${H(this, ae)} idx:${H(this, Vt)} ln:${H(this, me)} token\u3010${U}\u3011`)), T.defTmp("const.sn.vctCallStk.length", () => H(this, ge).length), H(this, Ki).setEscape(t.oCfg.init.escape), CmnLib.isDbg) {
34528
34529
  $.addHook((z, V) => {
@@ -34537,9 +34538,9 @@ const nr = class {
34537
34538
  const V = z.hBreakpoint.hFn2hLineBP;
34538
34539
  for (const [X, W] of Object.entries(V))
34539
34540
  ot(this, yu, pf).call(this, X, W);
34540
- nt(nr, Ei, {});
34541
+ nt(ar, Ei, {});
34541
34542
  for (const X of z.hBreakpoint.aFunc)
34542
- H(nr, Ei)[X.name] = 1;
34543
+ H(ar, Ei)[X.name] = 1;
34543
34544
  if (z.stopOnEntry) {
34544
34545
  for (; ; ) {
34545
34546
  let X = this.nextToken();
@@ -34655,7 +34656,7 @@ const nr = class {
34655
34656
  if (H(this, ge).length > 0) {
34656
34657
  const S = H(this, ge)[0];
34657
34658
  t = S.fn, e = S.idx;
34658
- const N = H(this, Qe)[t];
34659
+ const N = H(this, er)[t];
34659
34660
  N && (o = N.len);
34660
34661
  }
34661
34662
  const T = this.val.getAreaKidoku(t);
@@ -34670,7 +34671,7 @@ const nr = class {
34670
34671
  recodePage() {
34671
34672
  if (nt(this, Ca, !1), !this.val.getVal("save:sn.doRecLog"))
34672
34673
  return;
34673
- const { fn: t, idx: e } = ot(this, Ra, hl).call(this), o = e - 1, T = o + ":" + t, S = H(this, Mr).findIndex((D) => D.key === T);
34674
+ const { fn: t, idx: e } = ot(this, Ra, hl).call(this), o = e - 1, T = o + ":" + t, S = H(this, Dr).findIndex((D) => D.key === T);
34674
34675
  if (S > -1) {
34675
34676
  nt(this, Ue, S);
34676
34677
  return;
@@ -34681,13 +34682,13 @@ const nr = class {
34681
34682
  idx: o,
34682
34683
  retFn: t,
34683
34684
  retIdx: 0,
34684
- retMark: { ...H(this, Nr) }
34685
+ retMark: { ...H(this, Mr) }
34685
34686
  };
34686
34687
  if (H(this, Ue) >= 0) {
34687
- const D = H(this, Mr)[H(this, Ue)];
34688
+ const D = H(this, Dr)[H(this, Ue)];
34688
34689
  N.retFn = D.fn, N.retIdx = D.idx + 1;
34689
34690
  }
34690
- ++Pe(this, Ue)._ === H(this, Mr).length ? H(this, Mr).push(N) : H(this, Mr)[H(this, Ue)] = N;
34691
+ ++Pe(this, Ue)._ === H(this, Dr).length ? H(this, Dr).push(N) : H(this, Dr)[H(this, Ue)] = N;
34691
34692
  }
34692
34693
  recodeDesign(t) {
34693
34694
  let e = "", o = 0;
@@ -34698,18 +34699,18 @@ const nr = class {
34698
34699
  } else
34699
34700
  e = H(this, ae), o = H(this, Vt);
34700
34701
  t[":path"] = H(this, Ji).call(this, e);
34701
- const S = ot(this, xi, rn).call(this, H(this, Qe)[e], o);
34702
+ const S = ot(this, xi, rn).call(this, H(this, er)[e], o);
34702
34703
  t[":ln"] = S.ln, t[":col_s"] = S.col_s, t[":col_e"] = S.col_e;
34703
34704
  const N = o - 1;
34704
- t[":idx_tkn"] = N, t[":token"] = H(this, Qe)[e].aToken[N], this.sys.send2Dbg("_recodeDesign", t);
34705
+ t[":idx_tkn"] = N, t[":token"] = H(this, er)[e].aToken[N], this.sys.send2Dbg("_recodeDesign", t);
34705
34706
  }
34706
34707
  replace(t, e) {
34707
34708
  H(this, Qt).aToken[t] = e;
34708
34709
  }
34709
34710
  };
34710
- let ScriptIterator = nr;
34711
+ let ScriptIterator = ar;
34711
34712
  Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(), ge = new WeakMap(), Ki = new WeakMap(), yu = new WeakSet(), pf = function(t, e) {
34712
- H(nr, rs)[H(this, Ji).call(this, t)] = e;
34713
+ H(ar, rs)[H(this, Ji).call(this, t)] = e;
34713
34714
  }, ts = new WeakMap(), Ea = new WeakMap(), nc = new WeakMap(), Ji = new WeakMap(), bu = new WeakSet(), vf = function(t) {
34714
34715
  if (ot(this, es, ja).call(this))
34715
34716
  return;
@@ -34739,10 +34740,10 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34739
34740
  ot(this, is, za).call(this), nt(this, Re, 0);
34740
34741
  break;
34741
34742
  default:
34742
- if (tagToken2Name(t) in H(nr, Ei))
34743
+ if (tagToken2Name(t) in H(ar, Ei))
34743
34744
  return nt(this, Re, 2), this.main.setLoop(!1, `\u95A2\u6570 ${t} \u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnBreakpoint", {}), this.sys.send2Dbg("stopOnBreakpoint", {}), !0;
34744
34745
  {
34745
- const e = H(nr, rs)[H(this, Ji).call(this, H(this, ae))];
34746
+ const e = H(ar, rs)[H(this, Ji).call(this, H(this, ae))];
34746
34747
  if (!e)
34747
34748
  break;
34748
34749
  const o = e[H(this, me)];
@@ -34763,7 +34764,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34763
34764
  return !1;
34764
34765
  }, is = new WeakSet(), za = function() {
34765
34766
  var e;
34766
- const t = (e = H(nr, rs)[getFn(H(this, ae))]) == null ? void 0 : e[H(this, me)];
34767
+ const t = (e = H(ar, rs)[getFn(H(this, ae))]) == null ? void 0 : e[H(this, me)];
34767
34768
  t != null && t.hitCondition && --t.hitCondition;
34768
34769
  }, ac = new WeakSet(), ip = function() {
34769
34770
  var U, z;
@@ -34774,7 +34775,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34774
34775
  if ($ === 0)
34775
34776
  return B;
34776
34777
  for (let V = $ - 1; V >= 0; --V) {
34777
- const X = H(this, ge)[V], W = H(this, Qe)[X.fn], Y = W.aToken[X.idx - 1], q = ot(this, xi, rn).call(this, W, X.idx), Z = tagToken2Name(Y);
34778
+ const X = H(this, ge)[V], W = H(this, er)[X.fn], Y = W.aToken[X.idx - 1], q = ot(this, xi, rn).call(this, W, X.idx), Z = tagToken2Name(Y);
34778
34779
  B.push({
34779
34780
  fn: H(this, Ji).call(this, X.fn),
34780
34781
  ln: q.ln,
@@ -34804,7 +34805,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34804
34805
  if (o > 0) {
34805
34806
  console.info(e);
34806
34807
  for (let S = o - 1; S >= 0; --S) {
34807
- const N = H(this, ge)[S], D = N.csArg[":hMp"], B = D ? D[":\u30BF\u30B0\u540D"] : void 0, $ = (T = N.csArg[":\u30BF\u30B0\u540D"]) != null ? T : "", U = ot(this, xi, rn).call(this, H(this, Qe)[N.fn], N.idx);
34808
+ const N = H(this, ge)[S], D = N.csArg[":hMp"], B = D ? D[":\u30BF\u30B0\u540D"] : void 0, $ = (T = N.csArg[":\u30BF\u30B0\u540D"]) != null ? T : "", U = ot(this, xi, rn).call(this, H(this, er)[N.fn], N.idx);
34808
34809
  console.info(
34809
34810
  `${o - S}\u3064\u524D\u306E\u30B3\u30FC\u30EB\u5143 fn:${N.fn} line:${U.ln} col:${U.col_s + 1}` + (B ? "\uFF08[" + B + "]\u30DE\u30AF\u30ED\u5185\uFF09" : " ") + `\u3067 [${$} ...]\u3092\u30B3\u30FC\u30EB`
34810
34811
  );
@@ -34917,7 +34918,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34917
34918
  if (H(this, Ue) === -1)
34918
34919
  return !1;
34919
34920
  if (argChk_Boolean(t, "clear", !1))
34920
- return nt(this, Mr, []), nt(this, Ue, -1), !1;
34921
+ return nt(this, Dr, []), nt(this, Ue, -1), !1;
34921
34922
  const { to: e } = t;
34922
34923
  if (!e)
34923
34924
  throw "clear\u304Bto\u306F\u5FC5\u9808\u3067\u3059";
@@ -34927,7 +34928,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34927
34928
  H(this, Ue) > 0 && --Pe(this, Ue)._;
34928
34929
  break;
34929
34930
  case "next":
34930
- const D = H(this, Mr).length;
34931
+ const D = H(this, Dr).length;
34931
34932
  H(this, Ue) < D - 1 && ++Pe(this, Ue)._;
34932
34933
  break;
34933
34934
  default:
@@ -34935,7 +34936,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34935
34936
  }
34936
34937
  if (o === H(this, Ue))
34937
34938
  return !1;
34938
- const T = H(this, Mr)[H(this, Ue)], { fn: S, idx: N } = ot(this, Ra, hl).call(this);
34939
+ const T = H(this, Dr)[H(this, Ue)], { fn: S, idx: N } = ot(this, Ra, hl).call(this);
34939
34940
  return T.key === N + ":" + S ? !1 : ot(this, Sa, ll).call(this, { fn: T.retFn, index: T.retIdx }, T.retMark);
34940
34941
  }, vc = new WeakSet(), fp = function(t) {
34941
34942
  if (argChk_Boolean(t, "clear", !1))
@@ -34954,7 +34955,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34954
34955
  const S = o[":resvToken"];
34955
34956
  S ? this.nextToken = () => (ot(this, as, Va).call(this), S) : ot(this, as, Va).call(this), o[":hEvt1Time"] && H(this, xa).pushLocalEvts(o[":hEvt1Time"]);
34956
34957
  const { fn: N, label: D } = t;
34957
- return N || D ? (ot(this, Ti, nn).call(this, N, D), !0) : e.fn in H(this, Qe) ? (ot(this, Lu, Ef).call(this, e), !1) : (ot(this, Ti, nn).call(this, e.fn, "", e.idx), !0);
34958
+ return N || D ? (ot(this, Ti, nn).call(this, N, D), !0) : e.fn in H(this, er) ? (ot(this, Lu, Ef).call(this, e), !1) : (ot(this, Ti, nn).call(this, e.fn, "", e.idx), !0);
34958
34959
  }, Pu = new WeakMap(), as = new WeakSet(), Va = function() {
34959
34960
  nt(this, Pu, ""), this.nextToken = ot(this, Au, yf);
34960
34961
  }, os = new WeakMap(), Ti = new WeakSet(), nn = function(t = "", e = "", o = 0) {
@@ -34968,7 +34969,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
34968
34969
  return;
34969
34970
  }
34970
34971
  nt(this, ae, t);
34971
- const S = H(this, Qe)[H(this, ae)];
34972
+ const S = H(this, er)[H(this, ae)];
34972
34973
  if (S) {
34973
34974
  nt(this, Qt, S), this.analyzeInit();
34974
34975
  return;
@@ -35031,7 +35032,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
35031
35032
  }
35032
35033
  o = 1;
35033
35034
  const B = new RegExp(
35034
- "^" + T.replaceAll("*", "\\*") + "(?:\\s|;|\\[|$)"
35035
+ "^" + T.replaceAll("*", "\\*") + "(?=\\s|;|\\[|\\||$)"
35035
35036
  );
35036
35037
  let $ = !1;
35037
35038
  for (let Y = 0; Y < N; ++Y) {
@@ -35054,7 +35055,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
35054
35055
  Z === 91 && (o += ((W = q.match(/\n/g)) != null ? W : []).length, H(this, us).lastIndex = 0, H(this, us).test(q) && ($ = !0));
35055
35056
  }
35056
35057
  throw $ ? "[let_ml]\u306E\u7D42\u7AEF\u30FB[endlet_ml]\u304C\u3042\u308A\u307E\u305B\u3093" : (DebugMng.myTrace(`[jump\u7CFB] \u30E9\u30D9\u30EB\u3010${T}\u3011\u304C\u3042\u308A\u307E\u305B\u3093`, "ET"), "Dummy");
35057
- }, Qe = new WeakMap(), bc = new WeakSet(), pp = function(t) {
35058
+ }, er = new WeakMap(), bc = new WeakSet(), pp = function(t) {
35058
35059
  const e = H(this, Ki).matchToken(t.replace(/(\r\n|\r)/g, `
35059
35060
  `));
35060
35061
  for (let S = e.length - 1; S >= 0; --S) {
@@ -35074,10 +35075,10 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
35074
35075
  } catch (S) {
35075
35076
  S instanceof Error ? T += `\u4F8B\u5916 mes=${S.message}(${S.name})` : T = S, this.main.errScript(T, !1);
35076
35077
  }
35077
- H(this, Qe)[H(this, ae)] = o, this.val.loadScrWork(H(this, ae));
35078
+ H(this, er)[H(this, ae)] = o, this.val.loadScrWork(H(this, ae));
35078
35079
  }, Lu = new WeakSet(), Ef = function(t) {
35079
35080
  nt(this, ae, t.fn), nt(this, Vt, t.idx);
35080
- const e = H(this, Qe)[H(this, ae)];
35081
+ const e = H(this, er)[H(this, ae)];
35081
35082
  e && nt(this, Qt, e), nt(this, me, H(this, Qt).aLNum[t.idx]);
35082
35083
  }, Ec = new WeakMap(), xc = new WeakMap(), Tc = new WeakMap(), Sc = new WeakSet(), vp = function() {
35083
35084
  const t = this.val.getAreaKidoku(H(this, ae));
@@ -35125,7 +35126,7 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
35125
35126
  throw `place\u3010${e}\u3011\u306F\u5B58\u5728\u3057\u307E\u305B\u3093`;
35126
35127
  return ot(this, Sa, ll).call(this, t, o);
35127
35128
  }, Sa = new WeakSet(), ll = function(t, e, o = !0) {
35128
- this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), H(this, fr).recText("", !0), o && this.sndMng.playLoopFromSaveObj(), argChk_Boolean(t, "do_rec", !0) && nt(this, Nr, {
35129
+ this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), H(this, fr).recText("", !0), o && this.sndMng.playLoopFromSaveObj(), argChk_Boolean(t, "do_rec", !0) && nt(this, Mr, {
35129
35130
  hSave: this.val.cloneSave(),
35130
35131
  hPages: { ...e.hPages },
35131
35132
  aIfStk: [...e.aIfStk]
@@ -35137,11 +35138,11 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
35137
35138
  };
35138
35139
  this.hTag.autowc(T);
35139
35140
  const S = String(this.val.getVal("save:const.sn.scriptFn")), N = Number(this.val.getVal("save:const.sn.scriptIdx"));
35140
- return nt(this, dr, [...H(this, Nr).aIfStk]), nt(this, ge, []), H(this, fr).cover(!0), H(this, fr).stopAllTw(), "index" in t ? (H(this, fr).playback(H(this, Nr).hPages, () => {
35141
+ return nt(this, dr, [...H(this, Mr).aIfStk]), nt(this, ge, []), H(this, fr).cover(!0), H(this, fr).stopAllTw(), "index" in t ? (H(this, fr).playback(H(this, Mr).hPages, () => {
35141
35142
  var D, B;
35142
35143
  H(this, fr).cover(!1), nt(this, Ca, !0), ot(this, Ti, nn).call(this, (D = t.fn) != null ? D : S, "", (B = t.index) != null ? B : N);
35143
- }), !0) : (delete H(this, Qe)[S], H(this, fr).playback(
35144
- H(this, Nr).hPages,
35144
+ }), !0) : (delete H(this, er)[S], H(this, fr).playback(
35145
+ H(this, Mr).hPages,
35145
35146
  "label" in t ? () => {
35146
35147
  H(this, fr).cover(!1), nt(this, ae, S), nt(this, Vt, N), this.hTag.call({ fn: t.fn, label: t.label });
35147
35148
  } : () => {
@@ -35150,12 +35151,12 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
35150
35151
  ), !0);
35151
35152
  }, Ca = new WeakMap(), Ac = new WeakSet(), bp = function(t) {
35152
35153
  const e = this.val.getMark(0);
35153
- return delete H(this, Qe)[getFn(e.hSave["const.sn.scriptFn"])], t.do_rec = !1, ot(this, Sa, ll).call(this, t, e, !1);
35154
- }, Nr = new WeakMap(), Oc = new WeakSet(), Ep = function() {
35154
+ return delete H(this, er)[getFn(e.hSave["const.sn.scriptFn"])], t.do_rec = !1, ot(this, Sa, ll).call(this, t, e, !1);
35155
+ }, Mr = new WeakMap(), Oc = new WeakSet(), Ep = function() {
35155
35156
  if (this.main.isDestroyed())
35156
35157
  return !1;
35157
35158
  const { fn: t, idx: e } = ot(this, Ra, hl).call(this);
35158
- return this.val.setVal_Nochk("save", "const.sn.scriptFn", t), this.val.setVal_Nochk("save", "const.sn.scriptIdx", e), nt(this, Nr, {
35159
+ return this.val.setVal_Nochk("save", "const.sn.scriptFn", t), this.val.setVal_Nochk("save", "const.sn.scriptIdx", e), nt(this, Mr, {
35159
35160
  hSave: this.val.cloneSave(),
35160
35161
  hPages: H(this, fr).record(),
35161
35162
  aIfStk: H(this, dr).slice(H(this, ge).length)
@@ -35176,17 +35177,17 @@ Qt = new WeakMap(), ae = new WeakMap(), Vt = new WeakMap(), me = new WeakMap(),
35176
35177
  if (!("place" in t))
35177
35178
  throw "place\u306F\u5FC5\u9808\u3067\u3059";
35178
35179
  const e = Number(t.place);
35179
- delete t[":\u30BF\u30B0\u540D"], delete t.place, t.text = ((T = t.text) != null ? T : "").replace(/^(<br\/>)+/, ""), H(this, Nr).json = t, this.val.setMark(e, H(this, Nr));
35180
+ delete t[":\u30BF\u30B0\u540D"], delete t.place, t.text = ((T = t.text) != null ? T : "").replace(/^(<br\/>)+/, ""), H(this, Mr).json = t, this.val.setMark(e, H(this, Mr));
35180
35181
  const o = Number(this.val.getVal("sys:const.sn.save.place"));
35181
35182
  return e === o && this.val.setVal_Nochk("sys", "const.sn.save.place", o + 1), !1;
35182
- }, Mr = new WeakMap(), Ue = new WeakMap(), et(ScriptIterator, nc, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), et(ScriptIterator, rs, {}), et(ScriptIterator, Ei, {});
35183
- var tr, er, je, Er, Ci, ls, Ge, ku, Ri, Ia, hs, $u, Uu, wa, Mc, Tp, Gu, Hu, Pa, Aa, cl, cs, fs;
35183
+ }, Dr = new WeakMap(), Ue = new WeakMap(), et(ScriptIterator, nc, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), et(ScriptIterator, rs, {}), et(ScriptIterator, Ei, {});
35184
+ var rr, ir, je, Er, Ci, ls, Ge, ku, Ri, Ia, hs, $u, Uu, wa, Mc, Tp, Gu, Hu, Pa, Aa, cl, cs, fs;
35184
35185
  class Main {
35185
35186
  constructor(t) {
35186
35187
  et(this, Mc);
35187
35188
  et(this, Aa);
35188
- et(this, tr, void 0);
35189
- et(this, er, void 0);
35189
+ et(this, rr, void 0);
35190
+ et(this, ir, void 0);
35190
35191
  et(this, je, /* @__PURE__ */ Object.create(null));
35191
35192
  et(this, Er, void 0);
35192
35193
  et(this, Ci, void 0);
@@ -35215,7 +35216,7 @@ class Main {
35215
35216
  et(this, cs, !1);
35216
35217
  Pt(this, "isDestroyed", () => H(this, cs));
35217
35218
  et(this, fs, void 0);
35218
- this.sys = t, skipHello(), Config.generate(t).then((e) => nt(this, tr, e)).then(() => ot(this, Mc, Tp).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
35219
+ this.sys = t, skipHello(), Config.generate(t).then((e) => nt(this, rr, e)).then(() => ot(this, Mc, Tp).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
35219
35220
  }
35220
35221
  errScript(t, e = !0) {
35221
35222
  if (this.stop(), DebugMng.myTrace(t), CmnLib.debugLog && console.log("\u{1F35C} SKYNovel err!"), e)
@@ -35236,23 +35237,23 @@ class Main {
35236
35237
  H(this, Ia).fire(t, e);
35237
35238
  }
35238
35239
  async destroy(t = 0) {
35239
- H(this, cs) || (nt(this, cs, !0), H(this, Uu) && (this.stop(), nt(this, Pa, !1), H(this, Ri).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), nt(this, je, {}), H(this, Ia).destroy(), H(this, Ge).destroy(), H(this, Ri).destroy(), H(this, ku).destroy(), H(this, er).ticker.remove(H(this, Gu)), H(this, fs) && H(this, er) && H(this, er).view.parentNode.appendChild(H(this, fs)), clearTextureCache(), H(this, er).destroy(!0), this.sys.destroy()));
35240
+ H(this, cs) || (nt(this, cs, !0), H(this, Uu) && (this.stop(), nt(this, Pa, !1), H(this, Ri).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), nt(this, je, {}), H(this, Ia).destroy(), H(this, Ge).destroy(), H(this, Ri).destroy(), H(this, ku).destroy(), H(this, ir).ticker.remove(H(this, Gu)), H(this, fs) && H(this, ir) && H(this, ir).view.parentNode.appendChild(H(this, fs)), clearTextureCache(), H(this, ir).destroy(!0), this.sys.destroy()));
35240
35241
  }
35241
35242
  }
35242
- tr = new WeakMap(), er = new WeakMap(), je = new WeakMap(), Er = new WeakMap(), Ci = new WeakMap(), ls = new WeakMap(), Ge = new WeakMap(), ku = new WeakMap(), Ri = new WeakMap(), Ia = new WeakMap(), hs = new WeakMap(), $u = new WeakMap(), Uu = new WeakMap(), wa = new WeakMap(), Mc = new WeakSet(), Tp = async function() {
35243
+ rr = new WeakMap(), ir = new WeakMap(), je = new WeakMap(), Er = new WeakMap(), Ci = new WeakMap(), ls = new WeakMap(), Ge = new WeakMap(), ku = new WeakMap(), Ri = new WeakMap(), Ia = new WeakMap(), hs = new WeakMap(), $u = new WeakMap(), Uu = new WeakMap(), wa = new WeakMap(), Mc = new WeakSet(), Tp = async function() {
35243
35244
  var T, S, N;
35244
35245
  const t = (T = document.createElement("canvas")) == null ? void 0 : T.getContext("2d");
35245
35246
  if (!t)
35246
35247
  throw "argChk_Color err";
35247
35248
  CmnLib.cc4ColorName = t;
35248
35249
  const e = {
35249
- width: H(this, tr).oCfg.window.width,
35250
- height: H(this, tr).oCfg.window.height,
35251
- backgroundColor: parseColor(String(H(this, tr).oCfg.init.bg_color)),
35250
+ width: H(this, rr).oCfg.window.width,
35251
+ height: H(this, rr).oCfg.window.height,
35252
+ backgroundColor: parseColor(String(H(this, rr).oCfg.init.bg_color)),
35252
35253
  resolution: (S = globalThis.devicePixelRatio) != null ? S : 1,
35253
35254
  autoResize: !0
35254
35255
  }, o = document.getElementById(H(this, wa));
35255
- o && (nt(this, fs, o.cloneNode(!0)), H(this, fs).id = H(this, wa), e.view = o), nt(this, er, new Application(e)), o || (document.body.appendChild(H(this, er).view), H(this, er).view.id = H(this, wa)), nt(this, Er, new Variable(H(this, tr), H(this, je))), nt(this, Ci, new PropParser(H(this, Er), (N = H(this, tr).oCfg.init.escape) != null ? N : "\\")), await Promise.allSettled(this.sys.init(H(this, je), H(this, er), H(this, Er), this)), H(this, je).title({ text: H(this, tr).oCfg.book.title || "SKYNovel" }), nt(this, ls, new SoundMng(H(this, tr), H(this, je), H(this, Er), this, this.sys)), nt(this, Ge, new ScriptIterator(H(this, tr), H(this, je), this, H(this, Er), H(this, $u), () => ot(this, Aa, cl).call(this), H(this, Ci), H(this, ls), this.sys)), nt(this, ku, new DebugMng(this.sys, H(this, je), H(this, Ge))), nt(this, Ri, new LayerMng(H(this, tr), H(this, je), H(this, er), H(this, Er), this, H(this, Ge), this.sys, H(this, ls), H(this, $u), H(this, Ci))), nt(this, Ia, new EventMng(H(this, tr), H(this, je), H(this, er), this, H(this, Ri), H(this, Er), H(this, ls), H(this, Ge), this.sys)), H(this, er).ticker.add(H(this, Gu)), this.resumeByJumpOrCall({ fn: "main" }), nt(this, Uu, !0);
35256
+ o && (nt(this, fs, o.cloneNode(!0)), H(this, fs).id = H(this, wa), e.view = o), nt(this, ir, new Application(e)), o || (document.body.appendChild(H(this, ir).view), H(this, ir).view.id = H(this, wa)), nt(this, Er, new Variable(H(this, rr), H(this, je))), nt(this, Ci, new PropParser(H(this, Er), (N = H(this, rr).oCfg.init.escape) != null ? N : "\\")), await Promise.allSettled(this.sys.init(H(this, je), H(this, ir), H(this, Er), this)), H(this, je).title({ text: H(this, rr).oCfg.book.title || "SKYNovel" }), nt(this, ls, new SoundMng(H(this, rr), H(this, je), H(this, Er), this, this.sys)), nt(this, Ge, new ScriptIterator(H(this, rr), H(this, je), this, H(this, Er), H(this, $u), () => ot(this, Aa, cl).call(this), H(this, Ci), H(this, ls), this.sys)), nt(this, ku, new DebugMng(this.sys, H(this, je), H(this, Ge))), nt(this, Ri, new LayerMng(H(this, rr), H(this, je), H(this, ir), H(this, Er), this, H(this, Ge), this.sys, H(this, ls), H(this, $u), H(this, Ci))), nt(this, Ia, new EventMng(H(this, rr), H(this, je), H(this, ir), this, H(this, Ri), H(this, Er), H(this, ls), H(this, Ge), this.sys)), H(this, ir).ticker.add(H(this, Gu)), this.resumeByJumpOrCall({ fn: "main" }), nt(this, Uu, !0);
35256
35257
  }, Gu = new WeakMap(), Hu = new WeakMap(), Pa = new WeakMap(), Aa = new WeakSet(), cl = function() {
35257
35258
  var t;
35258
35259
  for (; H(this, Pa); ) {