@famibee/skynovel 1.44.0 → 1.45.0

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
@@ -97,7 +97,7 @@ platform$1.exports;
97
97
  ft && (lt = nt, nt = null);
98
98
  var pt = lt.navigator || {}, Et = pt.userAgent || "";
99
99
  nt || (nt = Et);
100
- var Pt = ft ? !!pt.likeChrome : /\bChrome\b/.test(nt) && !/internal|\n/i.test(X.toString()), Mt = "Object", xt = ft ? Mt : "ScriptBridgingProxyObject", yt = ft ? Mt : "Environment", Rt = ft && lt.java ? "JavaPackage" : J(lt.java), jt = ft ? Mt : "RuntimeObject", It = /\bJava/.test(Rt) && lt.java, St = It && J(lt.environment) == yt, bt = It ? "a" : "α", Ut = It ? "b" : "β", Gt = lt.document || {}, Dt = lt.operamini || lt.opera, Wt = $.test(Wt = ft && Dt ? Dt["[[Class]]"] : J(Dt)) ? Wt : Dt = null, ut, qt = nt, At = [], oe = null, Kt = nt == Et, Tt = Kt && Dt && typeof Dt.version == "function" && Dt.version(), ae, kt = Re([
100
+ var Pt = ft ? !!pt.likeChrome : /\bChrome\b/.test(nt) && !/internal|\n/i.test(X.toString()), Mt = "Object", xt = ft ? Mt : "ScriptBridgingProxyObject", yt = ft ? Mt : "Environment", Rt = ft && lt.java ? "JavaPackage" : J(lt.java), jt = ft ? Mt : "RuntimeObject", It = /\bJava/.test(Rt) && lt.java, St = It && J(lt.environment) == yt, bt = It ? "a" : "α", Ut = It ? "b" : "β", Gt = lt.document || {}, Bt = lt.operamini || lt.opera, Wt = $.test(Wt = ft && Bt ? Bt["[[Class]]"] : J(Bt)) ? Wt : Bt = null, ut, qt = nt, At = [], oe = null, Kt = nt == Et, Tt = Kt && Bt && typeof Bt.version == "function" && Bt.version(), ae, kt = Re([
101
101
  { label: "EdgeHTML", pattern: "Edge" },
102
102
  "Trident",
103
103
  { label: "WebKit", pattern: "AppleWebKit" },
@@ -159,7 +159,7 @@ platform$1.exports;
159
159
  { label: "IE", pattern: "IEMobile" },
160
160
  { label: "IE", pattern: "MSIE" },
161
161
  "Safari"
162
- ]), Nt = pi([
162
+ ]), Lt = pi([
163
163
  { label: "BlackBerry", pattern: "BB10" },
164
164
  "BlackBerry",
165
165
  { label: "Galaxy S", pattern: "GT-I9000" },
@@ -252,7 +252,7 @@ platform$1.exports;
252
252
  }
253
253
  function ei(be) {
254
254
  return at(be, function(le, te, ii) {
255
- return le || (te[Nt] || te[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Nt)] || RegExp("\\b" + it(ii) + "(?:\\b|\\w*\\d)", "i").exec(nt)) && ii;
255
+ return le || (te[Lt] || te[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Lt)] || RegExp("\\b" + it(ii) + "(?:\\b|\\w*\\d)", "i").exec(nt)) && ii;
256
256
  });
257
257
  }
258
258
  function Me(be) {
@@ -280,7 +280,7 @@ platform$1.exports;
280
280
  function Gi() {
281
281
  return this.description || "";
282
282
  }
283
- if (kt && (kt = [kt]), /\bAndroid\b/.test(mt) && !Nt && (ut = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(nt)) && (Nt = st(ut[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, "") || null), Yt && !Nt ? Nt = pi([Yt]) : Yt && Nt && (Nt = Nt.replace(RegExp("^(" + it(Yt) + ")[-_.\\s]", "i"), Yt + " ").replace(RegExp("^(" + it(Yt) + ")[-_.]?(\\w)", "i"), Yt + " $2")), (ut = /\bGoogle TV\b/.exec(Nt)) && (Nt = ut[0]), /\bSimulator\b/i.test(nt) && (Nt = (Nt ? Nt + " " : "") + "Simulator"), vt == "Opera Mini" && /\bOPiOS\b/.test(nt) && At.push("running in Turbo/Uncompressed mode"), vt == "IE" && /\blike iPhone OS\b/.test(nt) ? (ut = ht(nt.replace(/like iPhone OS/, "")), Yt = ut.manufacturer, Nt = ut.product) : /^iP/.test(Nt) ? (vt || (vt = "Safari"), mt = "iOS" + ((ut = / OS ([\d_]+)/i.exec(nt)) ? " " + ut[1].replace(/_/g, ".") : "")) : vt == "Konqueror" && /^Linux\b/i.test(mt) ? mt = "Kubuntu" : Yt && Yt != "Google" && (/Chrome/.test(vt) && !/\bMobile Safari\b/i.test(nt) || /\bVita\b/.test(Nt)) || /\bAndroid\b/.test(mt) && /^Chrome/.test(vt) && /\bVersion\//i.test(nt) ? (vt = "Android Browser", mt = /\bAndroid\b/.test(mt) ? mt : "Android") : vt == "Silk" ? (/\bMobi/i.test(nt) || (mt = "Android", At.unshift("desktop mode")), /Accelerated *= *true/i.test(nt) && At.unshift("accelerated")) : vt == "UC Browser" && /\bUCWEB\b/.test(nt) ? At.push("speed mode") : vt == "PaleMoon" && (ut = /\bFirefox\/([\d.]+)\b/.exec(nt)) ? At.push("identifying as Firefox " + ut[1]) : vt == "Firefox" && (ut = /\b(Mobile|Tablet|TV)\b/i.exec(nt)) ? (mt || (mt = "Firefox OS"), Nt || (Nt = ut[1])) : !vt || (ut = !/\bMinefield\b/i.test(nt) && /\b(?:Firefox|Safari)\b/.exec(vt)) ? (vt && !Nt && /[\/,]|^[^(]+?\)/.test(nt.slice(nt.indexOf(ut + "/") + 8)) && (vt = null), (ut = Nt || Yt || mt) && (Nt || Yt || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(mt)) && (vt = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(mt) ? mt : ut) + " Browser")) : vt == "Electron" && (ut = (/\bChrome\/([\d.]+)\b/.exec(nt) || 0)[1]) && At.push("Chromium " + ut), Tt || (Tt = qe([
283
+ if (kt && (kt = [kt]), /\bAndroid\b/.test(mt) && !Lt && (ut = /\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(nt)) && (Lt = st(ut[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i, "") || null), Yt && !Lt ? Lt = pi([Yt]) : Yt && Lt && (Lt = Lt.replace(RegExp("^(" + it(Yt) + ")[-_.\\s]", "i"), Yt + " ").replace(RegExp("^(" + it(Yt) + ")[-_.]?(\\w)", "i"), Yt + " $2")), (ut = /\bGoogle TV\b/.exec(Lt)) && (Lt = ut[0]), /\bSimulator\b/i.test(nt) && (Lt = (Lt ? Lt + " " : "") + "Simulator"), vt == "Opera Mini" && /\bOPiOS\b/.test(nt) && At.push("running in Turbo/Uncompressed mode"), vt == "IE" && /\blike iPhone OS\b/.test(nt) ? (ut = ht(nt.replace(/like iPhone OS/, "")), Yt = ut.manufacturer, Lt = ut.product) : /^iP/.test(Lt) ? (vt || (vt = "Safari"), mt = "iOS" + ((ut = / OS ([\d_]+)/i.exec(nt)) ? " " + ut[1].replace(/_/g, ".") : "")) : vt == "Konqueror" && /^Linux\b/i.test(mt) ? mt = "Kubuntu" : Yt && Yt != "Google" && (/Chrome/.test(vt) && !/\bMobile Safari\b/i.test(nt) || /\bVita\b/.test(Lt)) || /\bAndroid\b/.test(mt) && /^Chrome/.test(vt) && /\bVersion\//i.test(nt) ? (vt = "Android Browser", mt = /\bAndroid\b/.test(mt) ? mt : "Android") : vt == "Silk" ? (/\bMobi/i.test(nt) || (mt = "Android", At.unshift("desktop mode")), /Accelerated *= *true/i.test(nt) && At.unshift("accelerated")) : vt == "UC Browser" && /\bUCWEB\b/.test(nt) ? At.push("speed mode") : vt == "PaleMoon" && (ut = /\bFirefox\/([\d.]+)\b/.exec(nt)) ? At.push("identifying as Firefox " + ut[1]) : vt == "Firefox" && (ut = /\b(Mobile|Tablet|TV)\b/i.exec(nt)) ? (mt || (mt = "Firefox OS"), Lt || (Lt = ut[1])) : !vt || (ut = !/\bMinefield\b/i.test(nt) && /\b(?:Firefox|Safari)\b/.exec(vt)) ? (vt && !Lt && /[\/,]|^[^(]+?\)/.test(nt.slice(nt.indexOf(ut + "/") + 8)) && (vt = null), (ut = Lt || Yt || mt) && (Lt || Yt || /\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(mt)) && (vt = /[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(mt) ? mt : ut) + " Browser")) : vt == "Electron" && (ut = (/\bChrome\/([\d.]+)\b/.exec(nt) || 0)[1]) && At.push("Chromium " + ut), Tt || (Tt = qe([
284
284
  "(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)",
285
285
  "Version",
286
286
  it(vt),
@@ -304,9 +304,9 @@ platform$1.exports;
304
304
  vt = "Firefox Mobile";
305
305
  else if (vt == "Maxthon" && Tt)
306
306
  Tt = Tt.replace(/\.[\d.]+/, ".x");
307
- else if (/\bXbox\b/i.test(Nt))
308
- Nt == "Xbox 360" && (mt = null), Nt == "Xbox 360" && /\bIEMobile\b/.test(nt) && At.unshift("mobile mode");
309
- else if ((/^(?:Chrome|IE|Opera)$/.test(vt) || vt && !Nt && !/Browser|Mobi/.test(vt)) && (mt == "Windows CE" || /Mobi/i.test(nt)))
307
+ else if (/\bXbox\b/i.test(Lt))
308
+ Lt == "Xbox 360" && (mt = null), Lt == "Xbox 360" && /\bIEMobile\b/.test(nt) && At.unshift("mobile mode");
309
+ else if ((/^(?:Chrome|IE|Opera)$/.test(vt) || vt && !Lt && !/Browser|Mobi/.test(vt)) && (mt == "Windows CE" || /Mobi/i.test(nt)))
310
310
  vt += " Mobile";
311
311
  else if (vt == "IE" && Kt)
312
312
  try {
@@ -315,8 +315,8 @@ platform$1.exports;
315
315
  At.unshift("embedded");
316
316
  }
317
317
  else
318
- (/\bBlackBerry\b/.test(Nt) || /\bBB10\b/.test(nt)) && (ut = (RegExp(Nt.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(nt) || 0)[1] || Tt) ? (ut = [ut, /BB10/.test(nt)], mt = (ut[1] ? (Nt = null, Yt = "BlackBerry") : "Device Software") + " " + ut[0], Tt = null) : this != K && Nt != "Wii" && (Kt && Dt || /Opera/.test(vt) && /\b(?:MSIE|Firefox)\b/i.test(nt) || vt == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(mt) || vt == "IE" && (mt && !/^Win/.test(mt) && Tt > 5.5 || /\bWindows XP\b/.test(mt) && Tt > 8 || Tt == 8 && !/\bTrident\b/.test(nt))) && !$.test(ut = ht.call(K, nt.replace($, "") + ";")) && ut.name && (ut = "ing as " + ut.name + ((ut = ut.version) ? " " + ut : ""), $.test(vt) ? (/\bIE\b/.test(ut) && mt == "Mac OS" && (mt = null), ut = "identify" + ut) : (ut = "mask" + ut, Wt ? vt = W(Wt.replace(/([a-z])([A-Z])/g, "$1 $2")) : vt = "Opera", /\bIE\b/.test(ut) && (mt = null), Kt || (Tt = null)), kt = ["Presto"], At.push(ut));
319
- (ut = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(nt) || 0)[1]) && (ut = [parseFloat(ut.replace(/\.(\d)$/, ".0$1")), ut], vt == "Safari" && ut[1].slice(-1) == "+" ? (vt = "WebKit Nightly", oe = "alpha", Tt = ut[1].slice(0, -1)) : (Tt == ut[1] || Tt == (ut[2] = (/\bSafari\/([\d.]+\+?)/i.exec(nt) || 0)[1])) && (Tt = null), ut[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(nt) || 0)[1], ut[0] == 537.36 && ut[2] == 537.36 && parseFloat(ut[1]) >= 28 && kt == "WebKit" && (kt = ["Blink"]), !Kt || !Pt && !ut[1] ? (kt && (kt[1] = "like Safari"), ut = (ut = ut[0], ut < 400 ? 1 : ut < 500 ? 2 : ut < 526 ? 3 : ut < 533 ? 4 : ut < 534 ? "4+" : ut < 535 ? 5 : ut < 537 ? 6 : ut < 538 ? 7 : ut < 601 ? 8 : ut < 602 ? 9 : ut < 604 ? 10 : ut < 606 ? 11 : ut < 608 ? 12 : "12")) : (kt && (kt[1] = "like Chrome"), ut = ut[1] || (ut = ut[0], ut < 530 ? 1 : ut < 532 ? 2 : ut < 532.05 ? 3 : ut < 533 ? 4 : ut < 534.03 ? 5 : ut < 534.07 ? 6 : ut < 534.1 ? 7 : ut < 534.13 ? 8 : ut < 534.16 ? 9 : ut < 534.24 ? 10 : ut < 534.3 ? 11 : ut < 535.01 ? 12 : ut < 535.02 ? "13+" : ut < 535.07 ? 15 : ut < 535.11 ? 16 : ut < 535.19 ? 17 : ut < 536.05 ? 18 : ut < 536.1 ? 19 : ut < 537.01 ? 20 : ut < 537.11 ? "21+" : ut < 537.13 ? 23 : ut < 537.18 ? 24 : ut < 537.24 ? 25 : ut < 537.36 ? 26 : kt != "Blink" ? "27" : "28")), kt && (kt[1] += " " + (ut += typeof ut == "number" ? ".x" : /[.+]/.test(ut) ? "" : "+")), vt == "Safari" && (!Tt || parseInt(Tt) > 45) ? Tt = ut : vt == "Chrome" && /\bHeadlessChrome/i.test(nt) && At.unshift("headless")), vt == "Opera" && (ut = /\bzbov|zvav$/.exec(mt)) ? (vt += " ", At.unshift("desktop mode"), ut == "zvav" ? (vt += "Mini", Tt = null) : vt += "Mobile", mt = mt.replace(RegExp(" *" + ut + "$"), "")) : vt == "Safari" && /\bChrome\b/.exec(kt && kt[1]) ? (At.unshift("desktop mode"), vt = "Chrome Mobile", Tt = null, /\bOS X\b/.test(mt) ? (Yt = "Apple", mt = "iOS 4.3+") : mt = null) : /\bSRWare Iron\b/.test(vt) && !Tt && (Tt = qe("Chrome")), Tt && Tt.indexOf(ut = /[\d.]+$/.exec(mt)) == 0 && nt.indexOf("/" + ut + "-") > -1 && (mt = st(mt.replace(ut, ""))), mt && mt.indexOf(vt) != -1 && !RegExp(vt + " OS").test(mt) && (mt = mt.replace(RegExp(" *" + it(vt) + " *"), "")), kt && !/\b(?:Avant|Nook)\b/.test(vt) && (/Browser|Lunascape|Maxthon/.test(vt) || vt != "Safari" && /^iOS/.test(mt) && /\bSafari\b/.test(kt[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(vt) && kt[1]) && (ut = kt[kt.length - 1]) && At.push(ut), At.length && (At = ["(" + At.join("; ") + ")"]), Yt && Nt && Nt.indexOf(Yt) < 0 && At.push("on " + Yt), Nt && At.push((/^on /.test(At[At.length - 1]) ? "" : "on ") + Nt), mt && (ut = / ([\d.+]+)$/.exec(mt), ae = ut && mt.charAt(mt.length - ut[0].length - 1) == "/", mt = {
318
+ (/\bBlackBerry\b/.test(Lt) || /\bBB10\b/.test(nt)) && (ut = (RegExp(Lt.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(nt) || 0)[1] || Tt) ? (ut = [ut, /BB10/.test(nt)], mt = (ut[1] ? (Lt = null, Yt = "BlackBerry") : "Device Software") + " " + ut[0], Tt = null) : this != K && Lt != "Wii" && (Kt && Bt || /Opera/.test(vt) && /\b(?:MSIE|Firefox)\b/i.test(nt) || vt == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(mt) || vt == "IE" && (mt && !/^Win/.test(mt) && Tt > 5.5 || /\bWindows XP\b/.test(mt) && Tt > 8 || Tt == 8 && !/\bTrident\b/.test(nt))) && !$.test(ut = ht.call(K, nt.replace($, "") + ";")) && ut.name && (ut = "ing as " + ut.name + ((ut = ut.version) ? " " + ut : ""), $.test(vt) ? (/\bIE\b/.test(ut) && mt == "Mac OS" && (mt = null), ut = "identify" + ut) : (ut = "mask" + ut, Wt ? vt = W(Wt.replace(/([a-z])([A-Z])/g, "$1 $2")) : vt = "Opera", /\bIE\b/.test(ut) && (mt = null), Kt || (Tt = null)), kt = ["Presto"], At.push(ut));
319
+ (ut = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(nt) || 0)[1]) && (ut = [parseFloat(ut.replace(/\.(\d)$/, ".0$1")), ut], vt == "Safari" && ut[1].slice(-1) == "+" ? (vt = "WebKit Nightly", oe = "alpha", Tt = ut[1].slice(0, -1)) : (Tt == ut[1] || Tt == (ut[2] = (/\bSafari\/([\d.]+\+?)/i.exec(nt) || 0)[1])) && (Tt = null), ut[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(nt) || 0)[1], ut[0] == 537.36 && ut[2] == 537.36 && parseFloat(ut[1]) >= 28 && kt == "WebKit" && (kt = ["Blink"]), !Kt || !Pt && !ut[1] ? (kt && (kt[1] = "like Safari"), ut = (ut = ut[0], ut < 400 ? 1 : ut < 500 ? 2 : ut < 526 ? 3 : ut < 533 ? 4 : ut < 534 ? "4+" : ut < 535 ? 5 : ut < 537 ? 6 : ut < 538 ? 7 : ut < 601 ? 8 : ut < 602 ? 9 : ut < 604 ? 10 : ut < 606 ? 11 : ut < 608 ? 12 : "12")) : (kt && (kt[1] = "like Chrome"), ut = ut[1] || (ut = ut[0], ut < 530 ? 1 : ut < 532 ? 2 : ut < 532.05 ? 3 : ut < 533 ? 4 : ut < 534.03 ? 5 : ut < 534.07 ? 6 : ut < 534.1 ? 7 : ut < 534.13 ? 8 : ut < 534.16 ? 9 : ut < 534.24 ? 10 : ut < 534.3 ? 11 : ut < 535.01 ? 12 : ut < 535.02 ? "13+" : ut < 535.07 ? 15 : ut < 535.11 ? 16 : ut < 535.19 ? 17 : ut < 536.05 ? 18 : ut < 536.1 ? 19 : ut < 537.01 ? 20 : ut < 537.11 ? "21+" : ut < 537.13 ? 23 : ut < 537.18 ? 24 : ut < 537.24 ? 25 : ut < 537.36 ? 26 : kt != "Blink" ? "27" : "28")), kt && (kt[1] += " " + (ut += typeof ut == "number" ? ".x" : /[.+]/.test(ut) ? "" : "+")), vt == "Safari" && (!Tt || parseInt(Tt) > 45) ? Tt = ut : vt == "Chrome" && /\bHeadlessChrome/i.test(nt) && At.unshift("headless")), vt == "Opera" && (ut = /\bzbov|zvav$/.exec(mt)) ? (vt += " ", At.unshift("desktop mode"), ut == "zvav" ? (vt += "Mini", Tt = null) : vt += "Mobile", mt = mt.replace(RegExp(" *" + ut + "$"), "")) : vt == "Safari" && /\bChrome\b/.exec(kt && kt[1]) ? (At.unshift("desktop mode"), vt = "Chrome Mobile", Tt = null, /\bOS X\b/.test(mt) ? (Yt = "Apple", mt = "iOS 4.3+") : mt = null) : /\bSRWare Iron\b/.test(vt) && !Tt && (Tt = qe("Chrome")), Tt && Tt.indexOf(ut = /[\d.]+$/.exec(mt)) == 0 && nt.indexOf("/" + ut + "-") > -1 && (mt = st(mt.replace(ut, ""))), mt && mt.indexOf(vt) != -1 && !RegExp(vt + " OS").test(mt) && (mt = mt.replace(RegExp(" *" + it(vt) + " *"), "")), kt && !/\b(?:Avant|Nook)\b/.test(vt) && (/Browser|Lunascape|Maxthon/.test(vt) || vt != "Safari" && /^iOS/.test(mt) && /\bSafari\b/.test(kt[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(vt) && kt[1]) && (ut = kt[kt.length - 1]) && At.push(ut), At.length && (At = ["(" + At.join("; ") + ")"]), Yt && Lt && Lt.indexOf(Yt) < 0 && At.push("on " + Yt), Lt && At.push((/^on /.test(At[At.length - 1]) ? "" : "on ") + Lt), mt && (ut = / ([\d.+]+)$/.exec(mt), ae = ut && mt.charAt(mt.length - ut[0].length - 1) == "/", mt = {
320
320
  architecture: 32,
321
321
  family: ut && !ae ? mt.replace(ut[0], "") : mt,
322
322
  version: ut ? ut[1] : null,
@@ -326,7 +326,7 @@ platform$1.exports;
326
326
  }
327
327
  }), (ut = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(qt)) && !/\bi686\b/i.test(qt) ? (mt && (mt.architecture = 64, mt.family = mt.family.replace(RegExp(" *" + ut), "")), vt && (/\bWOW64\b/i.test(nt) || Kt && /\w(?:86|32)$/.test(pt.cpuClass || pt.platform) && !/\bWin64; x64\b/i.test(nt)) && At.unshift("32-bit")) : mt && /^OS X/.test(mt.family) && vt == "Chrome" && parseFloat(Tt) >= 39 && (mt.architecture = 64), nt || (nt = null);
328
328
  var Se = {};
329
- return Se.description = nt, Se.layout = kt && kt[0], Se.manufacturer = Yt, Se.name = vt, Se.prerelease = oe, Se.product = Nt, Se.ua = nt, Se.version = vt && Tt, Se.os = mt || {
329
+ return Se.description = nt, Se.layout = kt && kt[0], Se.manufacturer = Yt, Se.name = vt, Se.prerelease = oe, Se.product = Lt, Se.ua = nt, Se.version = vt && Tt, Se.os = mt || {
330
330
  /**
331
331
  * The CPU architecture the OS is built for.
332
332
  *
@@ -362,7 +362,7 @@ platform$1.exports;
362
362
  toString: function() {
363
363
  return "null";
364
364
  }
365
- }, Se.parse = ht, Se.toString = Gi, Se.version && At.unshift(Tt), Se.name && At.unshift(vt), mt && vt && !(mt == String(mt).split(" ")[0] && (mt == vt.split(" ")[0] || Nt)) && At.push(Nt ? "(" + mt + ")" : "on " + mt), At.length && (Se.description = At.join(" ")), Se;
365
+ }, Se.parse = ht, Se.toString = Gi, Se.version && At.unshift(Tt), Se.name && At.unshift(vt), mt && vt && !(mt == String(mt).split(" ")[0] && (mt == vt.split(" ")[0] || Lt)) && At.push(Lt ? "(" + mt + ")" : "on " + mt), At.length && (Se.description = At.join(" ")), Se;
366
366
  }
367
367
  var ot = ht();
368
368
  N && k ? K(ot, function(nt, lt) {
@@ -1633,12 +1633,12 @@ punycode$1.exports;
1633
1633
  function ft(St, bt) {
1634
1634
  var Ut = St.split("@"), Gt = "";
1635
1635
  Ut.length > 1 && (Gt = Ut[0] + "@", St = Ut[1]), St = St.replace(et, ".");
1636
- var Dt = St.split("."), Wt = lt(Dt, bt).join(".");
1636
+ var Bt = St.split("."), Wt = lt(Bt, bt).join(".");
1637
1637
  return Gt + Wt;
1638
1638
  }
1639
1639
  function pt(St) {
1640
- for (var bt = [], Ut = 0, Gt = St.length, Dt, Wt; Ut < Gt; )
1641
- Dt = St.charCodeAt(Ut++), Dt >= 55296 && Dt <= 56319 && Ut < Gt ? (Wt = St.charCodeAt(Ut++), (Wt & 64512) == 56320 ? bt.push(((Dt & 1023) << 10) + (Wt & 1023) + 65536) : (bt.push(Dt), Ut--)) : bt.push(Dt);
1640
+ for (var bt = [], Ut = 0, Gt = St.length, Bt, Wt; Ut < Gt; )
1641
+ Bt = St.charCodeAt(Ut++), Bt >= 55296 && Bt <= 56319 && Ut < Gt ? (Wt = St.charCodeAt(Ut++), (Wt & 64512) == 56320 ? bt.push(((Bt & 1023) << 10) + (Wt & 1023) + 65536) : (bt.push(Bt), Ut--)) : bt.push(Bt);
1642
1642
  return bt;
1643
1643
  }
1644
1644
  function Et(St) {
@@ -1660,30 +1660,30 @@ punycode$1.exports;
1660
1660
  return st(Gt + (at + 1) * St / (St + X));
1661
1661
  }
1662
1662
  function yt(St) {
1663
- var bt = [], Ut = St.length, Gt, Dt = 0, Wt = q, ut = Y, qt, At, oe, Kt, Tt, ae, kt, vt, Nt;
1663
+ var bt = [], Ut = St.length, Gt, Bt = 0, Wt = q, ut = Y, qt, At, oe, Kt, Tt, ae, kt, vt, Lt;
1664
1664
  for (qt = St.lastIndexOf(W), qt < 0 && (qt = 0), At = 0; At < qt; ++At)
1665
1665
  St.charCodeAt(At) >= 128 && nt("not-basic"), bt.push(St.charCodeAt(At));
1666
1666
  for (oe = qt > 0 ? qt + 1 : 0; oe < Ut; ) {
1667
- for (Kt = Dt, Tt = 1, ae = $; oe >= Ut && nt("invalid-input"), kt = Pt(St.charCodeAt(oe++)), (kt >= $ || kt > st((U - Dt) / Tt)) && nt("overflow"), Dt += kt * Tt, vt = ae <= ut ? H : ae >= ut + V ? V : ae - ut, !(kt < vt); ae += $)
1668
- Nt = $ - vt, Tt > st(U / Nt) && nt("overflow"), Tt *= Nt;
1669
- Gt = bt.length + 1, ut = xt(Dt - Kt, Gt, Kt == 0), st(Dt / Gt) > U - Wt && nt("overflow"), Wt += st(Dt / Gt), Dt %= Gt, bt.splice(Dt++, 0, Wt);
1667
+ for (Kt = Bt, Tt = 1, ae = $; oe >= Ut && nt("invalid-input"), kt = Pt(St.charCodeAt(oe++)), (kt >= $ || kt > st((U - Bt) / Tt)) && nt("overflow"), Bt += kt * Tt, vt = ae <= ut ? H : ae >= ut + V ? V : ae - ut, !(kt < vt); ae += $)
1668
+ Lt = $ - vt, Tt > st(U / Lt) && nt("overflow"), Tt *= Lt;
1669
+ Gt = bt.length + 1, ut = xt(Bt - Kt, Gt, Kt == 0), st(Bt / Gt) > U - Wt && nt("overflow"), Wt += st(Bt / Gt), Bt %= Gt, bt.splice(Bt++, 0, Wt);
1670
1670
  }
1671
1671
  return Et(bt);
1672
1672
  }
1673
1673
  function Rt(St) {
1674
- var bt, Ut, Gt, Dt, Wt, ut, qt, At, oe, Kt, Tt, ae = [], kt, vt, Nt, Yt;
1674
+ var bt, Ut, Gt, Bt, Wt, ut, qt, At, oe, Kt, Tt, ae = [], kt, vt, Lt, Yt;
1675
1675
  for (St = pt(St), kt = St.length, bt = q, Ut = 0, Wt = Y, ut = 0; ut < kt; ++ut)
1676
1676
  Tt = St[ut], Tt < 128 && ae.push(ht(Tt));
1677
- for (Gt = Dt = ae.length, Dt && ae.push(W); Gt < kt; ) {
1677
+ for (Gt = Bt = ae.length, Bt && ae.push(W); Gt < kt; ) {
1678
1678
  for (qt = U, ut = 0; ut < kt; ++ut)
1679
1679
  Tt = St[ut], Tt >= bt && Tt < qt && (qt = Tt);
1680
1680
  for (vt = Gt + 1, qt - bt > st((U - Ut) / vt) && nt("overflow"), Ut += (qt - bt) * vt, bt = qt, ut = 0; ut < kt; ++ut)
1681
1681
  if (Tt = St[ut], Tt < bt && ++Ut > U && nt("overflow"), Tt == bt) {
1682
1682
  for (At = Ut, oe = $; Kt = oe <= Wt ? H : oe >= Wt + V ? V : oe - Wt, !(At < Kt); oe += $)
1683
- Yt = At - Kt, Nt = $ - Kt, ae.push(
1684
- ht(Mt(Kt + Yt % Nt, 0))
1685
- ), At = st(Yt / Nt);
1686
- ae.push(ht(Mt(At, 0))), Wt = xt(Ut, vt, Gt == Dt), Ut = 0, ++Gt;
1683
+ Yt = At - Kt, Lt = $ - Kt, ae.push(
1684
+ ht(Mt(Kt + Yt % Lt, 0))
1685
+ ), At = st(Yt / Lt);
1686
+ ae.push(ht(Mt(At, 0))), Wt = xt(Ut, vt, Gt == Bt), Ut = 0, ++Gt;
1687
1687
  }
1688
1688
  ++Ut, ++bt;
1689
1689
  }
@@ -10800,13 +10800,13 @@ function buildNonNativeLine(o, t) {
10800
10800
  $ || (k.cap === LINE_CAP.ROUND ? q += round$1(it - lt * (xt - yt) * 0.5, at - ft * (xt - yt) * 0.5, it - lt * xt, at - ft * xt, it + lt * yt, at + ft * yt, z, !0) + 2 : k.cap === LINE_CAP.SQUARE && (q += square(it, at, lt, ft, xt, yt, !0, z))), z.push(it - lt * xt, at - ft * xt), z.push(it + lt * yt, at + ft * yt);
10801
10801
  for (var Rt = 1; Rt < Y - 1; ++Rt) {
10802
10802
  it = r[(Rt - 1) * 2], at = r[(Rt - 1) * 2 + 1], st = r[Rt * 2], ht = r[Rt * 2 + 1], ot = r[(Rt + 1) * 2], nt = r[(Rt + 1) * 2 + 1], lt = -(at - ht), ft = it - st, Pt = Math.sqrt(lt * lt + ft * ft), lt /= Pt, ft /= Pt, lt *= K, ft *= K, pt = -(ht - nt), Et = st - ot, Pt = Math.sqrt(pt * pt + Et * Et), pt /= Pt, Et /= Pt, pt *= K, Et *= K;
10803
- var jt = st - it, It = at - ht, St = st - ot, bt = nt - ht, Ut = jt * St + It * bt, Gt = It * St - bt * jt, Dt = Gt < 0;
10803
+ var jt = st - it, It = at - ht, St = st - ot, bt = nt - ht, Ut = jt * St + It * bt, Gt = It * St - bt * jt, Bt = Gt < 0;
10804
10804
  if (Math.abs(Gt) < 1e-3 * Math.abs(Ut)) {
10805
10805
  z.push(st - lt * xt, ht - ft * xt), z.push(st + lt * yt, ht + ft * yt), Ut >= 0 && (k.join === LINE_JOIN.ROUND ? q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 4 : q += 2, z.push(st - pt * yt, ht - Et * yt), z.push(st + pt * xt, ht + Et * xt));
10806
10806
  continue;
10807
10807
  }
10808
- var Wt = (-lt + it) * (-ft + ht) - (-lt + st) * (-ft + at), ut = (-pt + ot) * (-Et + ht) - (-pt + st) * (-Et + nt), qt = (jt * ut - St * Wt) / Gt, At = (bt * Wt - It * ut) / Gt, oe = (qt - st) * (qt - st) + (At - ht) * (At - ht), Kt = st + (qt - st) * xt, Tt = ht + (At - ht) * xt, ae = st - (qt - st) * yt, kt = ht - (At - ht) * yt, vt = Math.min(jt * jt + It * It, St * St + bt * bt), Nt = Dt ? xt : yt, Yt = vt + Nt * Nt * J, mt = oe <= Yt;
10809
- mt ? k.join === LINE_JOIN.BEVEL || oe / J > et ? (Dt ? (z.push(Kt, Tt), z.push(st + lt * yt, ht + ft * yt), z.push(Kt, Tt), z.push(st + pt * yt, ht + Et * yt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(ae, kt), z.push(st - pt * xt, ht - Et * xt), z.push(ae, kt)), q += 2) : k.join === LINE_JOIN.ROUND ? Dt ? (z.push(Kt, Tt), z.push(st + lt * yt, ht + ft * yt), q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + pt * yt, ht + Et * yt, z, !0) + 4, z.push(Kt, Tt), z.push(st + pt * yt, ht + Et * yt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(ae, kt), q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 4, z.push(st - pt * xt, ht - Et * xt), z.push(ae, kt)) : (z.push(Kt, Tt), z.push(ae, kt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(st + lt * yt, ht + ft * yt), k.join === LINE_JOIN.ROUND ? Dt ? q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + pt * yt, ht + Et * yt, z, !0) + 2 : q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 2 : k.join === LINE_JOIN.MITER && oe / J <= et && (Dt ? (z.push(ae, kt), z.push(ae, kt)) : (z.push(Kt, Tt), z.push(Kt, Tt)), q += 2), z.push(st - pt * xt, ht - Et * xt), z.push(st + pt * yt, ht + Et * yt), q += 2);
10808
+ var Wt = (-lt + it) * (-ft + ht) - (-lt + st) * (-ft + at), ut = (-pt + ot) * (-Et + ht) - (-pt + st) * (-Et + nt), qt = (jt * ut - St * Wt) / Gt, At = (bt * Wt - It * ut) / Gt, oe = (qt - st) * (qt - st) + (At - ht) * (At - ht), Kt = st + (qt - st) * xt, Tt = ht + (At - ht) * xt, ae = st - (qt - st) * yt, kt = ht - (At - ht) * yt, vt = Math.min(jt * jt + It * It, St * St + bt * bt), Lt = Bt ? xt : yt, Yt = vt + Lt * Lt * J, mt = oe <= Yt;
10809
+ mt ? k.join === LINE_JOIN.BEVEL || oe / J > et ? (Bt ? (z.push(Kt, Tt), z.push(st + lt * yt, ht + ft * yt), z.push(Kt, Tt), z.push(st + pt * yt, ht + Et * yt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(ae, kt), z.push(st - pt * xt, ht - Et * xt), z.push(ae, kt)), q += 2) : k.join === LINE_JOIN.ROUND ? Bt ? (z.push(Kt, Tt), z.push(st + lt * yt, ht + ft * yt), q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + pt * yt, ht + Et * yt, z, !0) + 4, z.push(Kt, Tt), z.push(st + pt * yt, ht + Et * yt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(ae, kt), q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 4, z.push(st - pt * xt, ht - Et * xt), z.push(ae, kt)) : (z.push(Kt, Tt), z.push(ae, kt)) : (z.push(st - lt * xt, ht - ft * xt), z.push(st + lt * yt, ht + ft * yt), k.join === LINE_JOIN.ROUND ? Bt ? q += round$1(st, ht, st + lt * yt, ht + ft * yt, st + pt * yt, ht + Et * yt, z, !0) + 2 : q += round$1(st, ht, st - lt * xt, ht - ft * xt, st - pt * xt, ht - Et * xt, z, !1) + 2 : k.join === LINE_JOIN.MITER && oe / J <= et && (Bt ? (z.push(ae, kt), z.push(ae, kt)) : (z.push(Kt, Tt), z.push(Kt, Tt)), q += 2), z.push(st - pt * xt, ht - Et * xt), z.push(st + pt * yt, ht + Et * yt), q += 2);
10810
10810
  }
10811
10811
  it = r[(Y - 2) * 2], at = r[(Y - 2) * 2 + 1], st = r[(Y - 1) * 2], ht = r[(Y - 1) * 2 + 1], lt = -(at - ht), ft = it - st, Pt = Math.sqrt(lt * lt + ft * ft), lt /= Pt, ft /= Pt, lt *= K, ft *= K, z.push(st - lt * xt, ht - ft * xt), z.push(st + lt * yt, ht + ft * yt), $ || (k.cap === LINE_CAP.ROUND ? q += round$1(st - lt * (xt - yt) * 0.5, ht - ft * (xt - yt) * 0.5, st - lt * xt, ht - ft * xt, st + lt * yt, ht + ft * yt, z, !1) + 2 : k.cap === LINE_CAP.SQUARE && (q += square(st, ht, lt, ft, xt, yt, !1, z)));
10812
10812
  for (var Re = t.indices, ei = GRAPHICS_CURVES.epsilon * GRAPHICS_CURVES.epsilon, Rt = W; Rt < q + W - 2; ++Rt)
@@ -13761,10 +13761,10 @@ void main(void)\r
13761
13761
  if (!yt[St]) {
13762
13762
  var bt = Y.pop();
13763
13763
  if (!bt) {
13764
- var Ut = new MeshGeometry(), Gt = void 0, Dt = void 0;
13765
- r.distanceFieldType === "none" ? (Gt = new MeshMaterial(Texture.EMPTY), Dt = BLEND_MODES.NORMAL) : (Gt = new MeshMaterial(Texture.EMPTY, { program: Program.from(msdfVert, msdfFrag), uniforms: { uFWidth: 0 } }), Dt = BLEND_MODES.NORMAL_NPM);
13764
+ var Ut = new MeshGeometry(), Gt = void 0, Bt = void 0;
13765
+ r.distanceFieldType === "none" ? (Gt = new MeshMaterial(Texture.EMPTY), Bt = BLEND_MODES.NORMAL) : (Gt = new MeshMaterial(Texture.EMPTY, { program: Program.from(msdfVert, msdfFrag), uniforms: { uFWidth: 0 } }), Bt = BLEND_MODES.NORMAL_NPM);
13766
13766
  var Wt = new Mesh(Ut, Gt);
13767
- Wt.blendMode = Dt, bt = {
13767
+ Wt.blendMode = Bt, bt = {
13768
13768
  index: 0,
13769
13769
  indexCount: 0,
13770
13770
  vertexCount: 0,
@@ -13799,8 +13799,8 @@ void main(void)\r
13799
13799
  for (var ot = 0; ot < xt; ot++) {
13800
13800
  var nt = U[ot], Tt = nt.position.x + Pt[nt.line] * (this._align === "justify" ? nt.prevSpaces : 1);
13801
13801
  this._roundPixels && (Tt = Math.round(Tt));
13802
- var ae = Tt * k, kt = nt.position.y * k, It = nt.texture, vt = yt[It.baseTexture.uid], Nt = It.frame, Yt = It._uvs, mt = vt.index++;
13803
- vt.indices[mt * 6 + 0] = 0 + mt * 4, vt.indices[mt * 6 + 1] = 1 + mt * 4, vt.indices[mt * 6 + 2] = 2 + mt * 4, vt.indices[mt * 6 + 3] = 0 + mt * 4, vt.indices[mt * 6 + 4] = 2 + mt * 4, vt.indices[mt * 6 + 5] = 3 + mt * 4, vt.vertices[mt * 8 + 0] = ae, vt.vertices[mt * 8 + 1] = kt, vt.vertices[mt * 8 + 2] = ae + Nt.width * k, vt.vertices[mt * 8 + 3] = kt, vt.vertices[mt * 8 + 4] = ae + Nt.width * k, vt.vertices[mt * 8 + 5] = kt + Nt.height * k, vt.vertices[mt * 8 + 6] = ae, vt.vertices[mt * 8 + 7] = kt + Nt.height * k, vt.uvs[mt * 8 + 0] = Yt.x0, vt.uvs[mt * 8 + 1] = Yt.y0, vt.uvs[mt * 8 + 2] = Yt.x1, vt.uvs[mt * 8 + 3] = Yt.y1, vt.uvs[mt * 8 + 4] = Yt.x2, vt.uvs[mt * 8 + 5] = Yt.y2, vt.uvs[mt * 8 + 6] = Yt.x3, vt.uvs[mt * 8 + 7] = Yt.y3;
13802
+ var ae = Tt * k, kt = nt.position.y * k, It = nt.texture, vt = yt[It.baseTexture.uid], Lt = It.frame, Yt = It._uvs, mt = vt.index++;
13803
+ vt.indices[mt * 6 + 0] = 0 + mt * 4, vt.indices[mt * 6 + 1] = 1 + mt * 4, vt.indices[mt * 6 + 2] = 2 + mt * 4, vt.indices[mt * 6 + 3] = 0 + mt * 4, vt.indices[mt * 6 + 4] = 2 + mt * 4, vt.indices[mt * 6 + 5] = 3 + mt * 4, vt.vertices[mt * 8 + 0] = ae, vt.vertices[mt * 8 + 1] = kt, vt.vertices[mt * 8 + 2] = ae + Lt.width * k, vt.vertices[mt * 8 + 3] = kt, vt.vertices[mt * 8 + 4] = ae + Lt.width * k, vt.vertices[mt * 8 + 5] = kt + Lt.height * k, vt.vertices[mt * 8 + 6] = ae, vt.vertices[mt * 8 + 7] = kt + Lt.height * k, vt.uvs[mt * 8 + 0] = Yt.x0, vt.uvs[mt * 8 + 1] = Yt.y0, vt.uvs[mt * 8 + 2] = Yt.x1, vt.uvs[mt * 8 + 3] = Yt.y1, vt.uvs[mt * 8 + 4] = Yt.x2, vt.uvs[mt * 8 + 5] = Yt.y2, vt.uvs[mt * 8 + 6] = Yt.x3, vt.uvs[mt * 8 + 7] = Yt.y3;
13804
13804
  }
13805
13805
  this._textWidth = K * k, this._textHeight = (D.y + r.lineHeight) * k;
13806
13806
  for (var ot in yt) {
@@ -16197,11 +16197,11 @@ extensions.add(
16197
16197
  TickerPlugin,
16198
16198
  AppLoaderPlugin
16199
16199
  );
16200
- var Nr;
16200
+ var Lr;
16201
16201
  class EventListenerCtn {
16202
16202
  constructor() {
16203
16203
  // リソースリーク対策
16204
- Z(this, Nr, []);
16204
+ Z(this, Lr, []);
16205
16205
  }
16206
16206
  add(t, e, r, N = {}) {
16207
16207
  if (t instanceof BaseTexture) {
@@ -16210,24 +16210,24 @@ class EventListenerCtn {
16210
16210
  case "update":
16211
16211
  case "error":
16212
16212
  case "dispose":
16213
- t.on(e, r, N), G(this, Nr).push(() => t.off(e, r, N));
16213
+ t.on(e, r, N), G(this, Lr).push(() => t.off(e, r, N));
16214
16214
  break;
16215
16215
  }
16216
16216
  return;
16217
16217
  }
16218
16218
  if (t instanceof i$1) {
16219
- t.on(e, r, N), G(this, Nr).push(() => t.off(e, r, N));
16219
+ t.on(e, r, N), G(this, Lr).push(() => t.off(e, r, N));
16220
16220
  return;
16221
16221
  }
16222
- t.addEventListener(e, r, N), G(this, Nr).push(() => t.removeEventListener(e, r, { capture: N.capture ?? !1 }));
16222
+ t.addEventListener(e, r, N), G(this, Lr).push(() => t.removeEventListener(e, r, { capture: N.capture ?? !1 }));
16223
16223
  }
16224
16224
  clear() {
16225
- for (const t of G(this, Nr))
16225
+ for (const t of G(this, Lr))
16226
16226
  t();
16227
- Q(this, Nr, []);
16227
+ Q(this, Lr, []);
16228
16228
  }
16229
16229
  }
16230
- Nr = new WeakMap();
16230
+ Lr = new WeakMap();
16231
16231
  var SEARCH_PATH_ARG_EXT = /* @__PURE__ */ ((o) => (o.DEFAULT = "", o.SP_GSM = "png|jpg|jpeg|json|svg|webp|mp4|webm", o.SCRIPT = "sn|ssn", o.FONT = "woff2|woff|otf|ttf", o.SOUND = "mp3|m4a|ogg|aac|flac|wav", o.HTML = "htm|html", o.CSS = "css", o.SN = "sn", o.PSD = "psd", o.TST_PNGPNG_ = "png|png_", o.TST_HH = "hh", o.TST_EEE = "eee", o.TST_GGG = "ggg", o.TST_PNGXML = "png|xml", o))(SEARCH_PATH_ARG_EXT || {}), Ba, Fa, Zh;
16232
16232
  class ConfigBase {
16233
16233
  constructor(t) {
@@ -16837,7 +16837,7 @@ var parsimmon_umd_min = { exports: {} };
16837
16837
  function Gt(rt, ct) {
16838
16838
  return new Array(ct + 1).join(rt);
16839
16839
  }
16840
- function Dt(rt, ct, dt) {
16840
+ function Bt(rt, ct, dt) {
16841
16841
  var _t = ct - rt.length;
16842
16842
  return _t <= 0 ? rt : Gt(dt, _t) + rt;
16843
16843
  }
@@ -16851,7 +16851,7 @@ var parsimmon_umd_min = { exports: {} };
16851
16851
  if (ht(rt)) {
16852
16852
  var ke = ve - ve % It, nr = ve - ke, ri = Wt(ke, St, bt + It, rt.length), sr = H(function(Ie) {
16853
16853
  return H(function(ds) {
16854
- return Dt(ds.toString(16), 2, "0");
16854
+ return Bt(ds.toString(16), 2, "0");
16855
16855
  }, Ie);
16856
16856
  }, function(Ie, ds) {
16857
16857
  var ps = Ie.length, en = [], vs = 0;
@@ -16873,7 +16873,7 @@ var parsimmon_umd_min = { exports: {} };
16873
16873
  var mp = _t - Ct.from;
16874
16874
  return ht(rt) && (Ot = (8 * (Ct.to > 0 ? Ct.to - 1 : Ct.to)).toString(16).length) < 2 && (Ot = 2), $(function(Ie, ds, ps) {
16875
16875
  var en, vs = ps === mp, ms = vs ? "> " : Ut;
16876
- return en = ht(rt) ? Dt((8 * (Ct.from + ps)).toString(16), Ot, "0") : Dt((Ct.from + ps + 1).toString(), Ot, " "), [].concat(Ie, [ms + en + " | " + ds], vs ? [Ut + Gt(" ", Ot) + " | " + Dt("", dt, " ") + Gt("^", $e)] : []);
16876
+ return en = ht(rt) ? Bt((8 * (Ct.from + ps)).toString(16), Ot, "0") : Bt((Ct.from + ps + 1).toString(), Ot, " "), [].concat(Ie, [ms + en + " | " + ds], vs ? [Ut + Gt(" ", Ot) + " | " + Bt("", dt, " ") + Gt("^", $e)] : []);
16877
16877
  }, [], wt).join(`
16878
16878
  `);
16879
16879
  }
@@ -16944,7 +16944,7 @@ var parsimmon_umd_min = { exports: {} };
16944
16944
  return Ct === rt ? ot(wt, Ct) : nt(_t, ct);
16945
16945
  });
16946
16946
  }
16947
- function Nt(rt, ct) {
16947
+ function Lt(rt, ct) {
16948
16948
  (function(wt) {
16949
16949
  if (!(wt instanceof RegExp))
16950
16950
  throw new Error("not a regexp: " + wt);
@@ -16988,7 +16988,7 @@ var parsimmon_umd_min = { exports: {} };
16988
16988
  if (typeof rt == "string")
16989
16989
  return Re(vt(rt));
16990
16990
  if (rt instanceof RegExp)
16991
- return Re(Nt(rt));
16991
+ return Re(Lt(rt));
16992
16992
  throw new Error("not a string, regexp, or parser: " + rt);
16993
16993
  }
16994
16994
  function ei(rt) {
@@ -17154,7 +17154,7 @@ var parsimmon_umd_min = { exports: {} };
17154
17154
  return ot(rt.length, rt.slice(ct));
17155
17155
  }), be = k(function(rt, ct) {
17156
17156
  return ct < rt.length ? nt(ct, "EOF") : ot(ct, null);
17157
- }), le = Nt(/[0-9]/).desc("a digit"), te = Nt(/[0-9]*/).desc("optional digits"), ii = Nt(/[a-z]/i).desc("a letter"), fp = Nt(/[a-z]*/i).desc("optional letters"), dp = Nt(/\s*/).desc("optional whitespace"), pp = Nt(/\s+/).desc("whitespace"), uf = vt("\r"), cf = vt(`
17157
+ }), le = Lt(/[0-9]/).desc("a digit"), te = Lt(/[0-9]*/).desc("optional digits"), ii = Lt(/[a-z]/i).desc("a letter"), fp = Lt(/[a-z]*/i).desc("optional letters"), dp = Lt(/\s*/).desc("optional whitespace"), pp = Lt(/\s+/).desc("whitespace"), uf = vt("\r"), cf = vt(`
17158
17158
  `), ff = vt(`\r
17159
17159
  `), df = Tt(ff, cf, uf).desc("newline"), vp = Tt(df, be);
17160
17160
  k.all = Se, k.alt = Tt, k.any = Gi, k.cr = uf, k.createLanguage = function(rt) {
@@ -17182,7 +17182,7 @@ var parsimmon_umd_min = { exports: {} };
17182
17182
  return Me(function(dt) {
17183
17183
  return rt <= dt && dt <= ct;
17184
17184
  }).desc(rt + "-" + ct);
17185
- }, k.regex = Nt, k.regexp = Nt, k.sepBy = ae, k.sepBy1 = kt, k.seq = oe, k.seqMap = Kt, k.seqObj = function() {
17185
+ }, k.regex = Lt, k.regexp = Lt, k.sepBy = ae, k.sepBy1 = kt, k.seq = oe, k.seqMap = Kt, k.seqObj = function() {
17186
17186
  for (var rt, ct = {}, dt = 0, _t = (rt = arguments, Array.prototype.slice.call(rt)), wt = _t.length, Ct = 0; Ct < wt; Ct += 1) {
17187
17187
  var Ot = _t[Ct];
17188
17188
  if (!at(Ot)) {
@@ -17666,7 +17666,7 @@ class Areas {
17666
17666
  return t.slice(1);
17667
17667
  }
17668
17668
  }
17669
- var Ae, vi, me, hr, Pe, ai, ji, Xa, sl, Ya, Ec, Wa, qa, al, xf, ol, Ef, mi, $i, hl, Sf, ll, Tf, ul, wf, cl, Pf, fl, Cf, dl, Of, pl, Rf, vl, Mf, Cs, Bh, Ka, Sc, Za, dn, Ja, Tc, ml, _l, Os, Qa, Rs, Fh, gl, If, yl, Af, to, wc, eo, Pc, bl, Lf, xl, Nf, Ms, Uh;
17669
+ var Ae, vi, me, hr, Pe, ai, ji, Xa, sl, Ya, Ec, Wa, qa, al, xf, ol, Ef, mi, $i, hl, Sf, ll, Tf, ul, wf, cl, Pf, fl, Cf, dl, Of, pl, Rf, vl, Mf, Cs, Bh, Ka, Sc, Za, dn, Ja, Tc, ml, _l, Os, Qa, Rs, Fh, gl, If, yl, Af, to, wc, eo, Pc, bl, Nf, xl, Lf, Ms, Uh;
17670
17670
  const xs = class {
17671
17671
  constructor(t, e) {
17672
17672
  Z(this, Ya);
@@ -17820,7 +17820,7 @@ const xs = class {
17820
17820
  "sys:sn.auto.msecLineWait_Kidoku": (t) => tt(this, eo, Pc).call(this, t),
17821
17821
  // save
17822
17822
  "save:sn.doRecLog": (t) => {
17823
- G(this, qa).call(this, Q(this, Os, tt(this, bl, Lf).call(this, t)));
17823
+ G(this, qa).call(this, Q(this, Os, tt(this, bl, Nf).call(this, t)));
17824
17824
  },
17825
17825
  "save:sn.userFnTail": (t, e) => {
17826
17826
  if (e.includes("@"))
@@ -17828,7 +17828,7 @@ const xs = class {
17828
17828
  this.cfg.userFnTail = e;
17829
17829
  },
17830
17830
  // tmp
17831
- "tmp:sn.tagL.enabled": (t) => tt(this, xl, Nf).call(this, t),
17831
+ "tmp:sn.tagL.enabled": (t) => tt(this, xl, Lf).call(this, t),
17832
17832
  "tmp:sn.skip.all": (t) => tt(this, Ms, Uh).call(this, t),
17833
17833
  "tmp:sn.skip.enabled": (t) => tt(this, Ms, Uh).call(this, t),
17834
17834
  "tmp:sn.auto.enabled": (t) => tt(this, Ms, Uh).call(this, t),
@@ -18059,9 +18059,9 @@ Ae = new WeakMap(), vi = new WeakMap(), me = new WeakMap(), hr = new WeakMap(),
18059
18059
  );
18060
18060
  }, eo = new WeakSet(), Pc = function(t) {
18061
18061
  argChk_Num(G(this, ai), t, 500);
18062
- }, bl = new WeakSet(), Lf = function(t) {
18062
+ }, bl = new WeakSet(), Nf = function(t) {
18063
18063
  return argChk_Boolean(G(this, vi), t, !0);
18064
- }, xl = new WeakSet(), Nf = function(t) {
18064
+ }, xl = new WeakSet(), Lf = function(t) {
18065
18065
  argChk_Boolean(G(this, me), t, !0);
18066
18066
  }, Ms = new WeakSet(), Uh = function(t) {
18067
18067
  argChk_Boolean(G(this, me), t, !1);
@@ -19457,7 +19457,7 @@ var y = p.filter(function(o) {
19457
19457
  }(new S());
19458
19458
  "extensions" in n ? extensions.add(m) : Loader.registerPlugin(m);
19459
19459
  let cfg, val, main$2, sys;
19460
- var Ue, Ee, Is, ro, no, Cc;
19460
+ var Ge, Ee, Is, ro, no, Cc;
19461
19461
  const we = class {
19462
19462
  constructor() {
19463
19463
  Z(this, no);
@@ -19471,12 +19471,12 @@ const we = class {
19471
19471
  gt(this, "stopfadese", (t) => G(this, Ee).stt.stopfadese(G(this, Ee), t));
19472
19472
  }
19473
19473
  static init(t, e, r, N) {
19474
- Q(we, Ue, {}), cfg = t, val = e, main$2 = r, sys = N;
19474
+ Q(we, Ge, {}), cfg = t, val = e, main$2 = r, sys = N;
19475
19475
  }
19476
19476
  static delLoopPlay(t) {
19477
- delete G(we, Ue)[t];
19477
+ delete G(we, Ge)[t];
19478
19478
  const e = "const.sn.sound." + t + ".";
19479
- val.setVal_Nochk("save", e + "fn", ""), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ue))), val.flush();
19479
+ val.setVal_Nochk("save", e + "fn", ""), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge))), val.flush();
19480
19480
  }
19481
19481
  static getVol(t, e) {
19482
19482
  const r = argChk_Num(t, "volume", e);
@@ -19487,7 +19487,7 @@ const we = class {
19487
19487
  if (e === r)
19488
19488
  return;
19489
19489
  const N = "const.sn.sound." + e + ".", k = Number(val.getVal("save:" + N + "volume")), D = String(val.getVal("save:" + N + "fn")), U = "const.sn.sound." + r + ".", $ = Number(val.getVal("save:" + U + "volume")), H = String(val.getVal("save:" + U + "fn"));
19490
- val.setVal_Nochk("save", N + "volume", $), val.setVal_Nochk("save", U + "volume", k), val.setVal_Nochk("save", N + "fn", H), val.setVal_Nochk("save", U + "fn", D), e in G(we, Ue) != r in G(we, Ue) && (e in G(we, Ue) ? (delete G(we, Ue)[e], G(we, Ue)[r] = 0) : (delete G(we, Ue)[r], G(we, Ue)[e] = 0), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ue)))), val.flush();
19490
+ val.setVal_Nochk("save", N + "volume", $), val.setVal_Nochk("save", U + "volume", k), val.setVal_Nochk("save", N + "fn", H), val.setVal_Nochk("save", U + "fn", D), e in G(we, Ge) != r in G(we, Ge) && (e in G(we, Ge) ? (delete G(we, Ge)[e], G(we, Ge)[r] = 0) : (delete G(we, Ge)[r], G(we, Ge)[e] = 0), val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge)))), val.flush();
19491
19491
  }
19492
19492
  init(t) {
19493
19493
  const { buf: e = "SE", fn: r = "" } = t, N = argChk_Num(t, "start_ms", 0), k = argChk_Num(t, "end_ms", G(we, Is)), D = argChk_Num(t, "ret_ms", 0), U = argChk_Num(t, "pan", 0), $ = argChk_Num(t, "speed", 1);
@@ -19506,7 +19506,7 @@ const we = class {
19506
19506
  const V = we.getVol(t, 1);
19507
19507
  val.setVal_Nochk("save", H + "volume", V);
19508
19508
  const X = V * Number(val.getVal("sys:" + H + "volume", 1)), z = argChk_Boolean(t, "loop", !1);
19509
- z ? (G(we, Ue)[e] = 0, val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ue)))) : we.delLoopPlay(e), val.setVal_Nochk("save", H + "start_ms", N), val.setVal_Nochk("save", H + "end_ms", k), val.setVal_Nochk("save", H + "ret_ms", D), val.setVal_Nochk("tmp", H + "playing", !0), val.flush();
19509
+ z ? (G(we, Ge)[e] = 0, val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(G(we, Ge)))) : we.delLoopPlay(e), val.setVal_Nochk("save", H + "start_ms", N), val.setVal_Nochk("save", H + "end_ms", k), val.setVal_Nochk("save", H + "ret_ms", D), val.setVal_Nochk("tmp", H + "playing", !0), val.flush();
19510
19510
  const Y = B.find(r);
19511
19511
  Q(this, Ee, {
19512
19512
  fn: r,
@@ -19599,7 +19599,7 @@ const we = class {
19599
19599
  }
19600
19600
  };
19601
19601
  let SndBuf = we;
19602
- Ue = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(), no = new WeakSet(), Cc = function(t, e) {
19602
+ Ge = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(), no = new WeakSet(), Cc = function(t, e) {
19603
19603
  const r = cfg.searchPath(t, SEARCH_PATH_ARG_EXT.SOUND);
19604
19604
  if (r.slice(-4) !== ".bin") {
19605
19605
  e.url = r, C.from(e);
@@ -19613,7 +19613,7 @@ Ue = new WeakMap(), Ee = new WeakMap(), Is = new WeakMap(), ro = new WeakMap(),
19613
19613
  var D;
19614
19614
  e.source = (D = k[t]) == null ? void 0 : D.data, C.from(e);
19615
19615
  });
19616
- }, Z(SndBuf, Ue, {}), Z(SndBuf, Is, 999e3);
19616
+ }, Z(SndBuf, Ge, {}), Z(SndBuf, Is, 999e3);
19617
19617
  function stop2var(o, t) {
19618
19618
  if (o.loop)
19619
19619
  SndBuf.delLoopPlay(t);
@@ -19808,7 +19808,7 @@ class SsStop {
19808
19808
  }
19809
19809
  // ok
19810
19810
  }
19811
- var He, so, kr, Sl, kf, Tl, Df, wl, Bf, Pl, Ff, ao, Oc, pn, Pa, oo, Rc, As, Gh, ho, Mc, Cl, Uf, vn, Ca, Ol, Gf, lo, Ic, uo, Ac, Rl, $f, co, Lc, Ml, jf;
19811
+ var He, so, kr, Sl, kf, Tl, Df, wl, Bf, Pl, Ff, ao, Oc, pn, Pa, oo, Rc, As, Gh, ho, Mc, Cl, Uf, vn, Ca, Ol, Gf, lo, Ic, uo, Ac, Rl, $f, co, Nc, Ml, jf;
19812
19812
  class SoundMng {
19813
19813
  constructor(t, e, r, N, k) {
19814
19814
  // 音量設定(独自拡張)
@@ -19847,7 +19847,7 @@ class SoundMng {
19847
19847
  Z(this, He, {});
19848
19848
  Z(this, so, {});
19849
19849
  Z(this, kr, void 0);
19850
- this.cfg = t, this.val = r, this.main = N, this.sys = k, e.volume = (D) => tt(this, Sl, kf).call(this, D), e.fadebgm = (D) => tt(this, ao, Oc).call(this, D), e.fadeoutbgm = (D) => tt(this, wl, Bf).call(this, D), e.fadeoutse = (D) => tt(this, Pl, Ff).call(this, D), e.fadese = (D) => tt(this, pn, Pa).call(this, D), e.playbgm = (D) => tt(this, oo, Rc).call(this, D), e.playse = (D) => tt(this, As, Gh).call(this, D), e.stop_allse = () => tt(this, ho, Mc).call(this), e.stopbgm = (D) => tt(this, Cl, Uf).call(this, D), e.stopse = (D) => tt(this, vn, Ca).call(this, D), e.wb = (D) => tt(this, Ol, Gf).call(this, D), e.wf = (D) => tt(this, lo, Ic).call(this, D), e.stopfadese = (D) => tt(this, uo, Ac).call(this, D), e.wl = (D) => tt(this, Rl, $f).call(this, D), e.ws = (D) => tt(this, co, Lc).call(this, D), e.xchgbuf = (D) => tt(this, Ml, jf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(R.supported)), SndBuf.init(t, r, N, k);
19850
+ this.cfg = t, this.val = r, this.main = N, this.sys = k, e.volume = (D) => tt(this, Sl, kf).call(this, D), e.fadebgm = (D) => tt(this, ao, Oc).call(this, D), e.fadeoutbgm = (D) => tt(this, wl, Bf).call(this, D), e.fadeoutse = (D) => tt(this, Pl, Ff).call(this, D), e.fadese = (D) => tt(this, pn, Pa).call(this, D), e.playbgm = (D) => tt(this, oo, Rc).call(this, D), e.playse = (D) => tt(this, As, Gh).call(this, D), e.stop_allse = () => tt(this, ho, Mc).call(this), e.stopbgm = (D) => tt(this, Cl, Uf).call(this, D), e.stopse = (D) => tt(this, vn, Ca).call(this, D), e.wb = (D) => tt(this, Ol, Gf).call(this, D), e.wf = (D) => tt(this, lo, Ic).call(this, D), e.stopfadese = (D) => tt(this, uo, Ac).call(this, D), e.wl = (D) => tt(this, Rl, $f).call(this, D), e.ws = (D) => tt(this, co, Nc).call(this, D), e.xchgbuf = (D) => tt(this, Ml, jf).call(this, D), r.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), r.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(R.supported)), SndBuf.init(t, r, N, k);
19851
19851
  }
19852
19852
  setEvtMng(t) {
19853
19853
  Q(this, kr, t);
@@ -19929,8 +19929,8 @@ He = new WeakMap(), so = new WeakMap(), kr = new WeakMap(), Sl = new WeakSet(),
19929
19929
  const { buf: e = "SE" } = t;
19930
19930
  return (r = G(this, He)[e]) == null || r.stopfadese(t), !1;
19931
19931
  }, Rl = new WeakSet(), $f = function(t) {
19932
- return t.buf = "BGM", tt(this, co, Lc).call(this, t);
19933
- }, co = new WeakSet(), Lc = function(t) {
19932
+ return t.buf = "BGM", tt(this, co, Nc).call(this, t);
19933
+ }, co = new WeakSet(), Nc = function(t) {
19934
19934
  var r;
19935
19935
  const { buf: e = "SE" } = t;
19936
19936
  return (r = G(this, He)[e]) == null ? void 0 : r.ws(t, G(this, kr));
@@ -20270,8 +20270,8 @@ class PicBtnDesignCast extends BtnDesignCast {
20270
20270
  setSp(t) {
20271
20271
  }
20272
20272
  }
20273
- var Ll, Dr, lr, mn, _n, Hi, Ls, gn, fo, Ns, Vi, ur, cr, Br, po, vo, mo, Nl, Hf, kl, Vf, _o, Nc, Dl, zf, ks, $h, Ds, Ri, Bs, Bl, yn, go;
20274
- const Bt = class extends Layer {
20273
+ var Nl, Dr, lr, mn, _n, Hi, Ns, gn, fo, Ls, Vi, ur, cr, Br, po, vo, mo, Ll, Hf, kl, Vf, _o, Lc, Dl, zf, ks, $h, Ds, Ri, Bs, Bl, yn, go;
20274
+ const Ft = class extends Layer {
20275
20275
  constructor() {
20276
20276
  super();
20277
20277
  Z(this, Vi, new GrpLayDesignCast(this.spLay, this));
@@ -20279,7 +20279,7 @@ const Bt = class extends Layer {
20279
20279
  Z(this, cr, "");
20280
20280
  Z(this, Br, "");
20281
20281
  gt(this, "lay", (e) => this.laySub(e, (r) => {
20282
- r && G(Bt, lr).resume();
20282
+ r && G(Ft, lr).resume();
20283
20283
  }));
20284
20284
  Z(this, po, 0);
20285
20285
  Z(this, vo, 0);
@@ -20300,37 +20300,37 @@ const Bt = class extends Layer {
20300
20300
  });
20301
20301
  }
20302
20302
  static init(e, r, N, k, D, U) {
20303
- Q(Bt, lr, e), Q(Bt, mn, r), Q(Bt, _n, N), Q(Bt, Hi, k), Q(Bt, Ls, U);
20303
+ Q(Ft, lr, e), Q(Ft, mn, r), Q(Ft, _n, N), Q(Ft, Hi, k), Q(Ft, Ns, U);
20304
20304
  const $ = () => {
20305
- const H = G(Bt, gn) * G(Bt, fo);
20306
- for (const V of Object.values(Bt.hFn2VElm))
20305
+ const H = G(Ft, gn) * G(Ft, fo);
20306
+ for (const V of Object.values(Ft.hFn2VElm))
20307
20307
  V.volume = H;
20308
20308
  };
20309
20309
  D.setNoticeChgVolume(
20310
20310
  (H) => {
20311
- Q(Bt, gn, H), $();
20311
+ Q(Ft, gn, H), $();
20312
20312
  },
20313
20313
  (H) => {
20314
- Q(Bt, fo, H), $();
20314
+ Q(Ft, fo, H), $();
20315
20315
  }
20316
- ), G(Bt, Hi).crypto && Q(Bt, mo, tt(Bt, kl, Vf));
20316
+ ), G(Ft, Hi).crypto && Q(Ft, mo, tt(Ft, kl, Vf));
20317
20317
  }
20318
20318
  static setEvtMng(e) {
20319
- Q(Bt, Ns, e);
20319
+ Q(Ft, Ls, e);
20320
20320
  }
20321
20321
  static destroy() {
20322
- G(Bt, Ll).clear(), Q(Bt, Dr, {}), Bt.hFn2ResAniSpr = {}, Bt.hFn2VElm = {};
20322
+ G(Ft, Nl).clear(), Q(Ft, Dr, {}), Ft.hFn2ResAniSpr = {}, Ft.hFn2VElm = {};
20323
20323
  }
20324
20324
  setSp(e) {
20325
20325
  }
20326
20326
  laySub(e, r) {
20327
20327
  var $;
20328
- tt($ = Bt, ks, $h).call($, G(this, cr));
20328
+ tt($ = Ft, ks, $h).call($, G(this, cr));
20329
20329
  const { fn: N, face: k = "" } = e;
20330
20330
  if (G(this, Vi).sethArg(e), !N)
20331
20331
  return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), Q(this, cr, ""), Q(this, ur, Q(this, Br, k)), r(!1), !1;
20332
20332
  const D = "fn" in e, U = "face" in e;
20333
- return this.clearLay({ filter: "true" }), D && Q(this, cr, N), U && Q(this, Br, k), super.lay(e), e.dx = 0, e.dy = 0, Bt.csv2Sprites(
20333
+ return this.clearLay({ filter: "true" }), D && Q(this, cr, N), U && Q(this, Br, k), super.lay(e), e.dx = 0, e.dy = 0, Ft.csv2Sprites(
20334
20334
  Q(this, ur, N + (k ? "," + k : "")),
20335
20335
  this.spLay,
20336
20336
  (H) => {
@@ -20362,7 +20362,7 @@ const Bt = class extends Layer {
20362
20362
  e.split(",").forEach((V, X) => {
20363
20363
  if (!V)
20364
20364
  throw "face属性に空要素が含まれます";
20365
- const { dx: z, dy: Y, blendmode: q, fn: W } = G(Bt, Dr)[V] || {
20365
+ const { dx: z, dy: Y, blendmode: q, fn: W } = G(Ft, Dr)[V] || {
20366
20366
  fn: V,
20367
20367
  dx: 0,
20368
20368
  dy: 0,
@@ -20370,16 +20370,16 @@ const Bt = class extends Layer {
20370
20370
  }, K = X === 0 ? N : (it) => {
20371
20371
  it.x = z, it.y = Y, it.blendMode = q;
20372
20372
  };
20373
- if (U.push({ fn: W, fnc: K }), W in Bt.hFn2ResAniSpr || W in TextureCache || W in Loader.shared.resources)
20373
+ if (U.push({ fn: W, fnc: K }), W in Ft.hFn2ResAniSpr || W in TextureCache || W in Loader.shared.resources)
20374
20374
  return;
20375
20375
  D = !0;
20376
- const J = G(Bt, mn).searchPath(W, SEARCH_PATH_ARG_EXT.SP_GSM), et = G(this, Hi).crypto ? { xhrType: J.slice(-5) === ".json" ? LoaderResource.XHR_RESPONSE_TYPE.TEXT : LoaderResource.XHR_RESPONSE_TYPE.BUFFER } : {};
20376
+ const J = G(Ft, mn).searchPath(W, SEARCH_PATH_ARG_EXT.SP_GSM), et = G(this, Hi).crypto ? { xhrType: J.slice(-5) === ".json" ? LoaderResource.XHR_RESPONSE_TYPE.TEXT : LoaderResource.XHR_RESPONSE_TYPE.BUFFER } : {};
20377
20377
  $.add({ ...et, name: W, url: J });
20378
20378
  });
20379
20379
  const H = (V) => {
20380
20380
  var X;
20381
20381
  for (const { fn: z, fnc: Y } of U) {
20382
- const q = tt(X = Bt, Dl, zf).call(X, z, V);
20382
+ const q = tt(X = Ft, Dl, zf).call(X, z, V);
20383
20383
  q.name = z, r == null || r.addChild(q), Y(q);
20384
20384
  }
20385
20385
  k(D);
@@ -20387,7 +20387,7 @@ const Bt = class extends Layer {
20387
20387
  return D ? $.use((V, X) => {
20388
20388
  G(this, Hi).dec(V.extension, V.data).then((z) => {
20389
20389
  var Y;
20390
- return G(Y = Bt, mo).call(Y, z, V, () => X == null ? void 0 : X());
20390
+ return G(Y = Ft, mo).call(Y, z, V, () => X == null ? void 0 : X());
20391
20391
  }).catch((z) => G(this, lr).errScript(`Graphic ロード失敗です fn:${V.name} ${z}`, !1));
20392
20392
  }).load((V, X) => H(X)) : H({}), D;
20393
20393
  }
@@ -20396,16 +20396,16 @@ const Bt = class extends Layer {
20396
20396
  const { fn: r } = e;
20397
20397
  if (!r)
20398
20398
  throw "fnは必須です";
20399
- const N = Bt.hFn2VElm[r];
20399
+ const N = Ft.hFn2VElm[r];
20400
20400
  if (!N || N.loop)
20401
20401
  return !1;
20402
- if (G(this, Ls).getVal("tmp:sn.skip.enabled") || G(this, Ns).isSkippingByKeyDown() || N.ended)
20403
- return tt(D = Bt, ks, $h).call(D, r), !1;
20402
+ if (G(this, Ns).getVal("tmp:sn.skip.enabled") || G(this, Ls).isSkippingByKeyDown() || N.ended)
20403
+ return tt(D = Ft, ks, $h).call(D, r), !1;
20404
20404
  const k = () => {
20405
20405
  var U;
20406
- tt(U = Bt, ks, $h).call(U, r), G(this, lr).resume();
20406
+ tt(U = Ft, ks, $h).call(U, r), G(this, lr).resume();
20407
20407
  };
20408
- return N.addEventListener("ended", k, { once: !0, passive: !0 }), G(Bt, Ns).waitEvent(
20408
+ return N.addEventListener("ended", k, { once: !0, passive: !0 }), G(Ft, Ls).waitEvent(
20409
20409
  () => {
20410
20410
  N.removeEventListener("ended", k), k();
20411
20411
  },
@@ -20423,7 +20423,7 @@ const Bt = class extends Layer {
20423
20423
  this.spLay.alpha = 1;
20424
20424
  for (const N of this.spLay.children)
20425
20425
  N.visible = !0;
20426
- G(this, Ri).visible = !1, G(Bt, _n).renderer.render(this.spLay, { renderTexture: G(this, Ds) }), this.spLay.alpha = r;
20426
+ G(this, Ri).visible = !1, G(Ft, _n).renderer.render(this.spLay, { renderTexture: G(this, Ds) }), this.spLay.alpha = r;
20427
20427
  for (const N of this.spLay.children)
20428
20428
  N.visible = !1;
20429
20429
  };
@@ -20436,17 +20436,17 @@ const Bt = class extends Layer {
20436
20436
  }
20437
20437
  Q(this, Bs, () => {
20438
20438
  e(), G(this, Ri).visible = !0;
20439
- }), G(Bt, _n).ticker.add(G(this, Bs));
20439
+ }), G(Ft, _n).ticker.add(G(this, Bs));
20440
20440
  }
20441
20441
  renderEnd() {
20442
- G(Bt, _n).ticker.remove(G(this, Bs)), this.spLay.removeChild(G(this, Ri));
20442
+ G(Ft, _n).ticker.remove(G(this, Bs)), this.spLay.removeChild(G(this, Ri));
20443
20443
  for (const e of this.spLay.children)
20444
20444
  e.visible = !0;
20445
20445
  G(this, Ri).destroy(!0);
20446
20446
  }
20447
20447
  // https://regex101.com/r/ZUnoFq/1
20448
20448
  static loadPic2Img(e, r, N) {
20449
- const k = e.replace(G(Bt, Bl), ""), D = e === k ? "" : e.slice(k.length), U = G(this, go)[e];
20449
+ const k = e.replace(G(Ft, Bl), ""), D = e === k ? "" : e.slice(k.length), U = G(this, go)[e];
20450
20450
  if (U) {
20451
20451
  r.src = U;
20452
20452
  return;
@@ -20457,15 +20457,15 @@ const Bt = class extends Layer {
20457
20457
  return;
20458
20458
  }
20459
20459
  G(this, yn)[e] = [r];
20460
- const H = G(Bt, mn).searchPath(k, SEARCH_PATH_ARG_EXT.SP_GSM), V = new Loader().add({ name: e, url: H, xhrType: LoaderResource.XHR_RESPONSE_TYPE.BUFFER });
20461
- G(Bt, Hi).crypto && getExt(H) === "bin" && V.use((X, z) => {
20462
- G(Bt, Hi).dec(X.extension, X.data).then((Y) => {
20460
+ const H = G(Ft, mn).searchPath(k, SEARCH_PATH_ARG_EXT.SP_GSM), V = new Loader().add({ name: e, url: H, xhrType: LoaderResource.XHR_RESPONSE_TYPE.BUFFER });
20461
+ G(Ft, Hi).crypto && getExt(H) === "bin" && V.use((X, z) => {
20462
+ G(Ft, Hi).dec(X.extension, X.data).then((Y) => {
20463
20463
  if (X.extension !== "bin") {
20464
20464
  z == null || z();
20465
20465
  return;
20466
20466
  }
20467
20467
  X.data = Y, Y instanceof HTMLImageElement && (X.type = LoaderResource.TYPE.IMAGE), z == null || z();
20468
- }).catch((Y) => G(Bt, lr).errScript(`GrpLayer loadPic ロード失敗です fn:${X.name} ${Y}`, !1));
20468
+ }).catch((Y) => G(Ft, lr).errScript(`GrpLayer loadPic ロード失敗です fn:${X.name} ${Y}`, !1));
20469
20469
  }), V.load((X, z) => {
20470
20470
  for (const [Y, { data: { src: q } }] of Object.entries(z)) {
20471
20471
  const W = G(this, go)[Y] = q + (q.slice(0, 5) === "blob:" ? "" : D);
@@ -20487,10 +20487,10 @@ const Bt = class extends Layer {
20487
20487
  const { name: r } = e;
20488
20488
  if (!r)
20489
20489
  throw "nameは必須です";
20490
- if (r in G(Bt, Dr))
20490
+ if (r in G(Ft, Dr))
20491
20491
  throw "一つのname(" + r + ")に対して同じ画像を複数割り当てられません";
20492
20492
  const { fn: N = r } = e;
20493
- return G(Bt, Dr)[r] = {
20493
+ return G(Ft, Dr)[r] = {
20494
20494
  fn: N,
20495
20495
  dx: argChk_Num(e, "dx", 0),
20496
20496
  dy: argChk_Num(e, "dy", 0),
@@ -20498,7 +20498,7 @@ const Bt = class extends Layer {
20498
20498
  }, !1;
20499
20499
  }
20500
20500
  static clearFace2Name() {
20501
- Q(Bt, Dr, {});
20501
+ Q(Ft, Dr, {});
20502
20502
  }
20503
20503
  // アニメ・動画を含むか
20504
20504
  get containMovement() {
@@ -20506,7 +20506,7 @@ const Bt = class extends Layer {
20506
20506
  return !1;
20507
20507
  const e = this.spLay.children;
20508
20508
  return G(this, ur).split(",").some(
20509
- (r, N) => e[N] instanceof AnimatedSprite || Bt.hFn2VElm[r]
20509
+ (r, N) => e[N] instanceof AnimatedSprite || Ft.hFn2VElm[r]
20510
20510
  );
20511
20511
  }
20512
20512
  clearLay(e) {
@@ -20539,8 +20539,8 @@ const Bt = class extends Layer {
20539
20539
  G(this, Vi).visible = !0;
20540
20540
  }
20541
20541
  };
20542
- let GrpLayer = Bt;
20543
- Ll = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(), _n = new WeakMap(), Hi = new WeakMap(), Ls = new WeakMap(), gn = new WeakMap(), fo = new WeakMap(), Ns = new WeakMap(), Vi = new WeakMap(), ur = new WeakMap(), cr = new WeakMap(), Br = new WeakMap(), po = new WeakMap(), vo = new WeakMap(), mo = new WeakMap(), Nl = new WeakSet(), Hf = function(e) {
20542
+ let GrpLayer = Ft;
20543
+ Nl = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(), _n = new WeakMap(), Hi = new WeakMap(), Ns = new WeakMap(), gn = new WeakMap(), fo = new WeakMap(), Ls = new WeakMap(), Vi = new WeakMap(), ur = new WeakMap(), cr = new WeakMap(), Br = new WeakMap(), po = new WeakMap(), vo = new WeakMap(), mo = new WeakMap(), Ll = new WeakSet(), Hf = function(e) {
20544
20544
  const r = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
20545
20545
  if (!r)
20546
20546
  return [];
@@ -20550,7 +20550,7 @@ Ll = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(),
20550
20550
  );
20551
20551
  }, kl = new WeakSet(), Vf = function(e, r, N) {
20552
20552
  var H;
20553
- if (r.data = e, r.extension === "bin" && (e instanceof HTMLImageElement ? (r.texture = Texture.fromLoader(e, r.url, r.name), r.type = LoaderResource.TYPE.IMAGE) : e instanceof HTMLVideoElement && (e.volume = G(Bt, gn), Bt.hFn2VElm[r.name] = tt(H = Bt, _o, Nc).call(H, e), r.type = LoaderResource.TYPE.VIDEO)), r.extension !== "json") {
20553
+ if (r.data = e, r.extension === "bin" && (e instanceof HTMLImageElement ? (r.texture = Texture.fromLoader(e, r.url, r.name), r.type = LoaderResource.TYPE.IMAGE) : e instanceof HTMLVideoElement && (e.volume = G(Ft, gn), Ft.hFn2VElm[r.name] = tt(H = Ft, _o, Lc).call(H, e), r.type = LoaderResource.TYPE.VIDEO)), r.extension !== "json") {
20554
20554
  N();
20555
20555
  return;
20556
20556
  }
@@ -20563,7 +20563,7 @@ Ll = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(),
20563
20563
  N();
20564
20564
  return;
20565
20565
  }
20566
- const U = getFn(k.image), $ = G(Bt, mn).searchPath(U, SEARCH_PATH_ARG_EXT.SP_GSM);
20566
+ const U = getFn(k.image), $ = G(Ft, mn).searchPath(U, SEARCH_PATH_ARG_EXT.SP_GSM);
20567
20567
  new Loader().use((V, X) => {
20568
20568
  G(this, Hi).dec(V.extension, V.data).then((z) => {
20569
20569
  V.data = z, z instanceof HTMLImageElement && (V.type = LoaderResource.TYPE.IMAGE, URL.revokeObjectURL(z.src)), X == null || X();
@@ -20571,7 +20571,7 @@ Ll = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(),
20571
20571
  }).add({ name: U, url: $, xhrType: LoaderResource.XHR_RESPONSE_TYPE.BUFFER }).load((V, X) => {
20572
20572
  for (const { data: z } of Object.values(V.resources)) {
20573
20573
  const { baseTexture: Y } = Texture.from(z), q = Object.values(D);
20574
- Bt.hFn2ResAniSpr[r.name] = {
20574
+ Ft.hFn2ResAniSpr[r.name] = {
20575
20575
  aTex: q.map(({ frame: { x: W, y: K, w: J, h: et } }) => new Texture(
20576
20576
  Y,
20577
20577
  new Rectangle(W, K, J, et)
@@ -20581,35 +20581,35 @@ Ll = new WeakMap(), Dr = new WeakMap(), lr = new WeakMap(), mn = new WeakMap(),
20581
20581
  }
20582
20582
  N();
20583
20583
  });
20584
- }, _o = new WeakSet(), Nc = function(e) {
20585
- return G(Bt, Ls).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay系] ${DebugMng.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
20584
+ }, _o = new WeakSet(), Lc = function(e) {
20585
+ return G(Ft, Ns).getVal("const.sn.needClick2Play") && (DebugMng.trace_beforeNew(`[lay系] ${DebugMng.strPos()}未クリック状態で動画を自動再生します。音声はミュートされます`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
20586
20586
  }, Dl = new WeakSet(), zf = function(e, r) {
20587
- const N = Bt.hFn2ResAniSpr[e];
20587
+ const N = Ft.hFn2ResAniSpr[e];
20588
20588
  if (N) {
20589
20589
  const k = new AnimatedSprite(N.aTex);
20590
20590
  return k.animationSpeed = N.meta.animationSpeed ?? 1, k.play(), k;
20591
20591
  }
20592
- return e in TextureCache ? Sprite.from(e) : e in Bt.hFn2VElm ? Sprite.from(Bt.hFn2VElm[e]) : e in r ? new Sprite(r[e].texture) : new Sprite();
20592
+ return e in TextureCache ? Sprite.from(e) : e in Ft.hFn2VElm ? Sprite.from(Ft.hFn2VElm[e]) : e in r ? new Sprite(r[e].texture) : new Sprite();
20593
20593
  }, ks = new WeakSet(), $h = function(e) {
20594
- const r = Bt.hFn2VElm[e];
20595
- r && (delete Bt.hFn2VElm[e], r.pause(), r.currentTime = r.duration);
20596
- }, Ds = new WeakMap(), Ri = new WeakMap(), Bs = new WeakMap(), Bl = new WeakMap(), yn = new WeakMap(), go = new WeakMap(), Z(GrpLayer, Nl), Z(GrpLayer, kl), Z(GrpLayer, _o), Z(GrpLayer, Dl), Z(GrpLayer, ks), Z(GrpLayer, Ll, new EventListenerCtn()), Z(GrpLayer, Dr, {}), Z(GrpLayer, lr, void 0), Z(GrpLayer, mn, void 0), Z(GrpLayer, _n, void 0), Z(GrpLayer, Hi, void 0), Z(GrpLayer, Ls, void 0), Z(GrpLayer, gn, 1), Z(GrpLayer, fo, 1), Z(GrpLayer, Ns, void 0), gt(GrpLayer, "hFn2ResAniSpr", {}), Z(GrpLayer, mo, (e, r, N) => {
20594
+ const r = Ft.hFn2VElm[e];
20595
+ r && (delete Ft.hFn2VElm[e], r.pause(), r.currentTime = r.duration);
20596
+ }, Ds = new WeakMap(), Ri = new WeakMap(), Bs = new WeakMap(), Bl = new WeakMap(), yn = new WeakMap(), go = new WeakMap(), Z(GrpLayer, Ll), Z(GrpLayer, kl), Z(GrpLayer, _o), Z(GrpLayer, Dl), Z(GrpLayer, ks), Z(GrpLayer, Nl, new EventListenerCtn()), Z(GrpLayer, Dr, {}), Z(GrpLayer, lr, void 0), Z(GrpLayer, mn, void 0), Z(GrpLayer, _n, void 0), Z(GrpLayer, Hi, void 0), Z(GrpLayer, Ns, void 0), Z(GrpLayer, gn, 1), Z(GrpLayer, fo, 1), Z(GrpLayer, Ls, void 0), gt(GrpLayer, "hFn2ResAniSpr", {}), Z(GrpLayer, mo, (e, r, N) => {
20597
20597
  var k, D;
20598
20598
  switch (r.type) {
20599
20599
  case LoaderResource.TYPE.JSON:
20600
20600
  const U = r.spritesheet._frameKeys;
20601
- tt(k = Bt, Nl, Hf).call(k, U), Bt.hFn2ResAniSpr[r.name] = {
20601
+ tt(k = Ft, Ll, Hf).call(k, U), Ft.hFn2ResAniSpr[r.name] = {
20602
20602
  aTex: U.map((H) => Texture.from(H)),
20603
20603
  meta: r.data.meta
20604
20604
  };
20605
20605
  break;
20606
20606
  case LoaderResource.TYPE.VIDEO:
20607
20607
  const $ = r.data;
20608
- $.volume = G(Bt, gn), Bt.hFn2VElm[r.name] = tt(D = Bt, _o, Nc).call(D, $);
20608
+ $.volume = G(Ft, gn), Ft.hFn2VElm[r.name] = tt(D = Ft, _o, Lc).call(D, $);
20609
20609
  }
20610
20610
  N();
20611
20611
  }), gt(GrpLayer, "hFn2VElm", {}), Z(GrpLayer, Bl, /\?([^?]+)$/), Z(GrpLayer, yn, {}), Z(GrpLayer, go, {});
20612
- var Fs, yo, bn, Zt, zi, fr, Fl, oi, Fr, Ft, _i, Ve, ze, Us, jh, Mi, dr, bo, Gs, Ul, Xf, xn, $s, Ur, En, Sn, Tn, js, xo, Gr, Eo, kc, pr, So, vr, Xi, Hs, To, Dc, $r, wn, wo, Bc, Ke;
20612
+ var Fs, yo, bn, Zt, zi, fr, Fl, oi, Fr, Dt, _i, Ve, ze, Us, jh, Mi, dr, bo, Gs, Ul, Xf, xn, $s, Ur, En, Sn, Tn, js, xo, Gr, Eo, kc, pr, So, vr, Xi, Hs, To, Dc, $r, wn, wo, Bc, Ke;
20613
20613
  const Vt = class extends Container {
20614
20614
  constructor(e, r, N) {
20615
20615
  super();
@@ -20626,7 +20626,7 @@ const Vt = class extends Container {
20626
20626
  Z(this, fr, new Graphics());
20627
20627
  Z(this, oi, new TxtLayDesignCast(this.spLay, this));
20628
20628
  Z(this, Fr, new TxtLayPadDesignCast(this));
20629
- Z(this, Ft, {
20629
+ Z(this, Dt, {
20630
20630
  fontsize: 24,
20631
20631
  $width: 0,
20632
20632
  // レイヤサイズであり、背景色(画像)サイズ
@@ -20704,30 +20704,30 @@ const Vt = class extends Container {
20704
20704
  return G(this, dr);
20705
20705
  }
20706
20706
  get infTL() {
20707
- return G(this, Ft);
20707
+ return G(this, Dt);
20708
20708
  }
20709
20709
  get getWidth() {
20710
- return G(this, Ft).$width;
20710
+ return G(this, Dt).$width;
20711
20711
  }
20712
20712
  get getHeight() {
20713
- return G(this, Ft).$height;
20713
+ return G(this, Dt).$height;
20714
20714
  }
20715
20715
  setSize(e, r) {
20716
- G(this, Ft).$width = e, G(this, Ft).$height = r, G(this, Zt).style.width = G(this, Ft).$width + "px", G(this, Zt).style.height = G(this, Ft).$height + "px";
20716
+ G(this, Dt).$width = e, G(this, Dt).$height = r, G(this, Zt).style.width = G(this, Dt).$width + "px", G(this, Zt).style.height = G(this, Dt).$height + "px";
20717
20717
  }
20718
20718
  goTxt(e, r) {
20719
20719
  var it, at, st, ht;
20720
20720
  G(Vt, Xi).visible = !1;
20721
20721
  let N = G(this, Ur).length, k = "";
20722
20722
  if (N === 0) {
20723
- if (G(Vt, Fs).oCfg.debug.masume && (CmnLib.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${G(this, Ft).pad_left} pr:${G(this, Ft).pad_right} pt:${G(this, Ft).pad_top} pb:${G(this, Ft).pad_bottom} w:${G(this, Ft).$width} h:${G(this, Ft).$height}`), G(this, fr).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-G(this, Ft).pad_left, -G(this, Ft).pad_top, G(this, Ft).$width, G(this, Ft).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
20723
+ if (G(Vt, Fs).oCfg.debug.masume && (CmnLib.debugLog && console.log(`🍌 masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${G(this, Dt).pad_left} pr:${G(this, Dt).pad_right} pt:${G(this, Dt).pad_top} pb:${G(this, Dt).pad_bottom} w:${G(this, Dt).$width} h:${G(this, Dt).$height}`), G(this, fr).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-G(this, Dt).pad_left, -G(this, Dt).pad_top, G(this, Dt).$width, G(this, Dt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
20724
20724
  0,
20725
20725
  0,
20726
- G(this, Ft).$width - G(this, Ft).pad_left - G(this, Ft).pad_right,
20727
- G(this, Ft).$height - G(this, Ft).pad_top - G(this, Ft).pad_bottom
20726
+ G(this, Dt).$width - G(this, Dt).pad_left - G(this, Dt).pad_right,
20727
+ G(this, Dt).$height - G(this, Dt).pad_top - G(this, Dt).pad_bottom
20728
20728
  ).endFill()), G(this, Zt).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "") + G(Vt, xo), !G(this, _i)) {
20729
20729
  const ot = globalThis.getComputedStyle(G(this, Zt)), nt = parseFloat(ot.fontSize);
20730
- G(this, dr) ? (Q(this, Ve, (G(this, Ft).$width - G(this, Ft).pad_left - G(this, Ft).pad_right - nt * 1.5) * this.sys.cvsScale), Q(this, ze, 0)) : (Q(this, Ve, 0), Q(this, ze, nt / 2 * this.sys.cvsScale));
20730
+ G(this, dr) ? (Q(this, Ve, (G(this, Dt).$width - G(this, Dt).pad_left - G(this, Dt).pad_right - nt * 1.5) * this.sys.cvsScale), Q(this, ze, 0)) : (Q(this, Ve, 0), Q(this, ze, nt / 2 * this.sys.cvsScale));
20731
20731
  }
20732
20732
  } else
20733
20733
  k = G(this, Zt).innerHTML, G(this, Zt).querySelectorAll(":scope > br").forEach((ot) => G(this, Zt).removeChild(ot)), G(this, Zt).insertAdjacentHTML(
@@ -20736,7 +20736,7 @@ const Vt = class extends Container {
20736
20736
  // 末尾改行削除挙動対策
20737
20737
  ), --N, (it = G(this, Zt).querySelector(".sn_ch_last")) == null || it.remove();
20738
20738
  Q(this, En, e.length);
20739
- const D = this.sys.cvsScale, U = G(this, Zt).getBoundingClientRect(), $ = U.left + G(this, Ft).pad_left, H = U.top + G(this, Ft).pad_top;
20739
+ const D = this.sys.cvsScale, U = G(this, Zt).getBoundingClientRect(), $ = U.left + G(this, Dt).pad_left, H = U.top + G(this, Dt).pad_top;
20740
20740
  let V;
20741
20741
  if (D === 1)
20742
20742
  V = (ot, nt) => new Rectangle(
@@ -20829,16 +20829,16 @@ const Vt = class extends Container {
20829
20829
  tt(this, Eo, kc).call(this, xt, Mt, pt, lt, K, Et ?? {});
20830
20830
  const yt = Mt.style ?? "", Rt = yt + (Mt.style_hover ?? ""), jt = yt + (Mt.style_clicked ?? ""), It = Mt.r_style ?? "", St = It + (Mt.r_style_hover ?? ""), bt = It + (Mt.r_style_clicked ?? ""), Ut = Pt.querySelectorAll("rt");
20831
20831
  Ut.forEach((ut) => ut.dataset.st_r_bk = ut.style.cssText);
20832
- const Gt = Pt.style.cssText, Dt = (ut, qt) => {
20832
+ const Gt = Pt.style.cssText, Bt = (ut, qt) => {
20833
20833
  Pt.style.cssText = Gt + ut, Ut.forEach((At) => At.style.cssText = At.dataset.st_r_bk + qt);
20834
20834
  };
20835
20835
  argChk_Boolean(Mt, "enabled", !0) ? G(Vt, bn).button(
20836
20836
  Mt,
20837
20837
  xt,
20838
- () => Dt(yt, It),
20839
- () => this.canFocus() ? (Dt(Rt, St), !0) : !1,
20840
- () => Dt(jt, bt)
20841
- ) : Dt(
20838
+ () => Bt(yt, It),
20839
+ () => this.canFocus() ? (Bt(Rt, St), !0) : !1,
20840
+ () => Bt(jt, bt)
20841
+ ) : Bt(
20842
20842
  yt + (Mt.style_disable ?? "color: gray;"),
20843
20843
  It + (Mt.r_style_disable ?? "color: gray;")
20844
20844
  ), G(this, zi).addChild(xt);
@@ -20944,8 +20944,8 @@ const Vt = class extends Container {
20944
20944
  }
20945
20945
  dispBreak(e) {
20946
20946
  const r = G(Vt, Xi);
20947
- r.visible = !1, this.addChild(r), GrpLayer.csv2Sprites(e, r, (N) => {
20948
- r.parent || r.removeChild(N);
20947
+ r.visible = !1, this.addChild(r), GrpLayer.csv2Sprites(e.pic, r, (N) => {
20948
+ r.parent ? (N.x = argChk_Num(e, "x", 0), N.y = argChk_Num(e, "y", 0), N.width = argChk_Num(e, "width", G(this, Dt).fontsize), N.height = argChk_Num(e, "height", G(this, Dt).fontsize)) : r.removeChild(N);
20949
20949
  });
20950
20950
  }
20951
20951
  static delBreak() {
@@ -20956,11 +20956,11 @@ const Vt = class extends Container {
20956
20956
  var r;
20957
20957
  tt(this, wo, Bc).call(this);
20958
20958
  const e = new Vt(this.spLay, () => this.canFocus(), this.sys);
20959
- return Q(e, Ft, G(this, Ft)), G(e, Zt).style.cssText = G(this, Zt).style.cssText, Q(e, Mi, G(this, Mi)), e.name = this.name, tt(r = e, Us, jh).call(r), G(e, oi).sethArg(G(this, oi).gethArg()), Q(e, xn, G(this, xn)), Q(e, $r, G(this, $r)), Q(e, wn, G(this, wn)), Q(e, _i, G(this, _i)), Q(e, Ve, G(this, Ve)), Q(e, ze, G(this, ze)), this.destroy(), e;
20959
+ return Q(e, Dt, G(this, Dt)), G(e, Zt).style.cssText = G(this, Zt).style.cssText, Q(e, Mi, G(this, Mi)), e.name = this.name, tt(r = e, Us, jh).call(r), G(e, oi).sethArg(G(this, oi).gethArg()), Q(e, xn, G(this, xn)), Q(e, $r, G(this, $r)), Q(e, wn, G(this, wn)), Q(e, _i, G(this, _i)), Q(e, Ve, G(this, Ve)), Q(e, ze, G(this, ze)), this.destroy(), e;
20960
20960
  }
20961
20961
  record() {
20962
20962
  return {
20963
- infTL: G(this, Ft),
20963
+ infTL: G(this, Dt),
20964
20964
  cssText: G(this, Zt).style.cssText,
20965
20965
  left: G(this, Mi),
20966
20966
  idc_hArg: G(this, oi).gethArg(),
@@ -20973,15 +20973,15 @@ const Vt = class extends Container {
20973
20973
  };
20974
20974
  }
20975
20975
  playback(e) {
20976
- Q(this, Ft, e.infTL), this.position.set(G(this, Ft).pad_left, G(this, Ft).pad_top), G(this, Zt).style.cssText = e.cssText, Q(this, Mi, e.left), tt(this, Us, jh).call(this), G(this, oi).sethArg(e.idc_hArg), Q(this, xn, e.ch_filter), Q(this, $r, e.fi_easing), Q(this, wn, e.fo_easing), Q(this, _i, e.break_fixed ?? !1), Q(this, Ve, e.break_fixed_left ?? 0), Q(this, ze, e.break_fixed_top ?? 0);
20976
+ Q(this, Dt, e.infTL), this.position.set(G(this, Dt).pad_left, G(this, Dt).pad_top), G(this, Zt).style.cssText = e.cssText, Q(this, Mi, e.left), tt(this, Us, jh).call(this), G(this, oi).sethArg(e.idc_hArg), Q(this, xn, e.ch_filter), Q(this, $r, e.fi_easing), Q(this, wn, e.fo_easing), Q(this, _i, e.break_fixed ?? !1), Q(this, Ve, e.break_fixed_left ?? 0), Q(this, ze, e.break_fixed_top ?? 0);
20977
20977
  }
20978
20978
  snapshot(e, r) {
20979
20979
  tt(this, Ul, Xf).call(this, (N) => {
20980
- Q(this, Ke, new Sprite(N)), G(this, dr) && (G(this, Ke).x += CmnLib.stageW - (G(this, Mi) + G(this, Ft).$width)), G(this, Ke).y -= G(this, Gs), G(this, Ke).texture.frame = new Rectangle(
20980
+ Q(this, Ke, new Sprite(N)), G(this, dr) && (G(this, Ke).x += CmnLib.stageW - (G(this, Mi) + G(this, Dt).$width)), G(this, Ke).y -= G(this, Gs), G(this, Ke).texture.frame = new Rectangle(
20981
20981
  0,
20982
20982
  0,
20983
- Math.min(G(this, Ke).width, G(this, Ft).$width - G(this, Mi)),
20984
- Math.min(G(this, Ke).height, G(this, Ft).$height)
20983
+ Math.min(G(this, Ke).width, G(this, Dt).$width - G(this, Mi)),
20984
+ Math.min(G(this, Ke).height, G(this, Dt).$height)
20985
20985
  ), G(this, zi).addChild(G(this, Ke)), e.render(G(this, Ke), { clear: !1 }), r();
20986
20986
  }, !1);
20987
20987
  }
@@ -21009,9 +21009,9 @@ const Vt = class extends Container {
21009
21009
  }
21010
21010
  };
21011
21011
  let TxtStage = Vt;
21012
- Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(), zi = new WeakMap(), fr = new WeakMap(), Fl = new WeakMap(), oi = new WeakMap(), Fr = new WeakMap(), Ft = new WeakMap(), _i = new WeakMap(), Ve = new WeakMap(), ze = new WeakMap(), Us = new WeakSet(), jh = function() {
21012
+ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(), zi = new WeakMap(), fr = new WeakMap(), Fl = new WeakMap(), oi = new WeakMap(), Fr = new WeakMap(), Dt = new WeakMap(), _i = new WeakMap(), Ve = new WeakMap(), ze = new WeakMap(), Us = new WeakSet(), jh = function() {
21013
21013
  const e = G(this, Zt).style, r = parseFloat(e.fontSize || "0");
21014
- G(this, Ft).fontsize = r, G(this, Ft).pad_left = parseFloat(e.paddingLeft || "0"), G(this, Ft).pad_right = parseFloat(e.paddingRight || "0"), G(this, Ft).pad_top = parseFloat(e.paddingTop || "0"), G(this, Ft).pad_bottom = parseFloat(e.paddingBottom || "0"), G(this, Ft).$width = parseFloat(e.width || "0"), G(this, Ft).$height = parseFloat(e.height || "0"), this.position.set(G(this, Ft).pad_left, G(this, Ft).pad_top), Q(this, dr, e.writingMode === "vertical-rl"), Q(this, bo, 0), Q(this, Gs, 0);
21014
+ G(this, Dt).fontsize = r, G(this, Dt).pad_left = parseFloat(e.paddingLeft || "0"), G(this, Dt).pad_right = parseFloat(e.paddingRight || "0"), G(this, Dt).pad_top = parseFloat(e.paddingTop || "0"), G(this, Dt).pad_bottom = parseFloat(e.paddingBottom || "0"), G(this, Dt).$width = parseFloat(e.width || "0"), G(this, Dt).$height = parseFloat(e.height || "0"), this.position.set(G(this, Dt).pad_left, G(this, Dt).pad_top), Q(this, dr, e.writingMode === "vertical-rl"), Q(this, bo, 0), Q(this, Gs, 0);
21015
21015
  const N = e.lineHeight ?? "0";
21016
21016
  Q(this, Hs, G(this, dr) ? 0 : (N.slice(-2) === "px" ? parseFloat(N) : r * parseFloat(N) - r) / 2);
21017
21017
  }, Mi = new WeakMap(), dr = new WeakMap(), bo = new WeakMap(), Gs = new WeakMap(), Ul = new WeakSet(), Xf = function(e, r = !0) {
@@ -21177,15 +21177,15 @@ Fs = new WeakMap(), yo = new WeakMap(), bn = new WeakMap(), Zt = new WeakMap(),
21177
21177
  }
21178
21178
  Promise.resolve(G(this, Zt)).then((K) => {
21179
21179
  const J = K.cloneNode(!0);
21180
- return J.style.padding = "0px", J.style.paddingRight = G(this, bo) + "px", J.style.paddingTop = G(this, Gs) + "px", J.style.left = "0px", J.style.top = "0px", J.style.width = G(this, Ft).$width - G(this, Ft).pad_left - G(this, Ft).pad_right + "px", J.style.height = G(this, Ft).$height - G(this, Ft).pad_top - G(this, Ft).pad_bottom + "px", G(this, Zt).hidden = r, J;
21180
+ return J.style.padding = "0px", J.style.paddingRight = G(this, bo) + "px", J.style.paddingTop = G(this, Gs) + "px", J.style.left = "0px", J.style.top = "0px", J.style.width = G(this, Dt).$width - G(this, Dt).pad_left - G(this, Dt).pad_right + "px", J.style.height = G(this, Dt).$height - G(this, Dt).pad_top - G(this, Dt).pad_bottom + "px", G(this, Zt).hidden = r, J;
21181
21181
  }).then($).then((K) => {
21182
21182
  K.setAttribute("xmlns", "http://www.w3.org/1999/xhtml");
21183
21183
  const J = new Image();
21184
- return J.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${G(this, Ft).$width}px" height="${G(this, Ft).$height}px"><foreignObject x="0" y="0" width="100%" height="100%">${new XMLSerializer().serializeToString(K).replaceAll("#", "%23").replaceAll(`
21184
+ return J.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${G(this, Dt).$width}px" height="${G(this, Dt).$height}px"><foreignObject x="0" y="0" width="100%" height="100%">${new XMLSerializer().serializeToString(K).replaceAll("#", "%23").replaceAll(`
21185
21185
  `, "%0A")}</foreignObject></svg>`, new Promise((et) => J.onload = () => et(J));
21186
21186
  }).then((K) => new Promise((J) => setTimeout(() => J(K), 100))).then((K) => {
21187
21187
  const J = document.createElement("canvas");
21188
- J.width = G(this, Ft).$width, J.height = G(this, Ft).$height, J.getContext("2d").drawImage(K, 0, 0), J.toBlob((et) => {
21188
+ J.width = G(this, Dt).$width, J.height = G(this, Dt).$height, J.getContext("2d").drawImage(K, 0, 0), J.toBlob((et) => {
21189
21189
  if (!et)
21190
21190
  return;
21191
21191
  const it = URL.createObjectURL(et);
@@ -21505,7 +21505,7 @@ Co = new WeakMap(), Oo = new WeakMap(), Ii = new WeakMap(), mr = new WeakMap(),
21505
21505
  }, gt(Button, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif"), Z(Button, Co, (e, r) => {
21506
21506
  }), Z(Button, Oo, (e, r, N, k) => {
21507
21507
  });
21508
- var Xs, Ai, Ro, Ys, Mo, Fc, Io, Uc, Ao, Cn, Lo, _r, On, jl, qf, gr, gi, Li, ue, Wi, ee, No, qi, Hl, Ze, Rn, Oa, Mn, Ws, In, Ra, qs, ko, Gc, Do, $c, An, Ln, Ks, Bo, Zs, jr, Je, Vl, Kf, hi, Fo, Js, Hh, yr, nn, Ki, Ni, yi, bi, Uo, jc, Qs, Vh, Go, Hc, Nn, kn;
21508
+ var Xs, Ai, Ro, Ys, Mo, Fc, Io, Uc, Ao, Cn, No, _r, On, jl, qf, gr, gi, Ni, ue, Wi, ee, Lo, qi, Hl, Ze, Rn, Oa, Mn, Ws, In, Ra, qs, ko, Gc, Do, $c, An, Nn, Ks, Bo, Zs, jr, Je, Vl, Kf, hi, Fo, Js, Hh, yr, nn, Ki, Li, yi, bi, Uo, jc, Qs, Vh, Go, Hc, Ln, kn;
21509
21509
  const Xt = class extends Layer {
21510
21510
  constructor() {
21511
21511
  super();
@@ -21522,20 +21522,20 @@ const Xt = class extends Layer {
21522
21522
  // バック
21523
21523
  Z(this, gr, 0);
21524
21524
  Z(this, gi, 0);
21525
- Z(this, Li, !1);
21525
+ Z(this, Ni, !1);
21526
21526
  Z(this, ue, void 0);
21527
21527
  Z(this, Wi, "");
21528
21528
  // 背景画像無し(=単色塗り)
21529
21529
  // 文字表示
21530
- Z(this, ee, new TxtStage(this.spLay, () => this.canFocus(), G(Xt, Lo)));
21531
- Z(this, No, new RubySpliter());
21530
+ Z(this, ee, new TxtStage(this.spLay, () => this.canFocus(), G(Xt, No)));
21531
+ Z(this, Lo, new RubySpliter());
21532
21532
  Z(this, qi, document.createElement("span"));
21533
21533
  Z(this, Ze, new Container());
21534
21534
  Z(this, Mn, "");
21535
21535
  Z(this, Ws, !0);
21536
21536
  Z(this, qs, "");
21537
21537
  Z(this, An, "");
21538
- Z(this, Ln, (e) => "");
21538
+ Z(this, Nn, (e) => "");
21539
21539
  Z(this, Ks, "");
21540
21540
  Z(this, Bo, new RegExp("[ ]"));
21541
21541
  gt(this, "isCur", !1);
@@ -21552,10 +21552,10 @@ const Xt = class extends Layer {
21552
21552
  case 1:
21553
21553
  if (Q(this, hi, !0), e === `
21554
21554
  `) {
21555
- G(this, Ni) ? (Q(this, Ni, !1), k = "<ruby> <rt> </rt></ruby><br/>") : k = "<br/>";
21555
+ G(this, Li) ? (Q(this, Li, !1), k = "<ruby> <rt> </rt></ruby><br/>") : k = "<br/>";
21556
21556
  break;
21557
21557
  }
21558
- G(this, Ni) && (Q(this, Ni, !1), r === "" && (r = " ")), k = tt(this, Js, Hh).call(this, e, r, G(this, Je));
21558
+ G(this, Li) && (Q(this, Li, !1), r === "" && (r = " ")), k = tt(this, Js, Hh).call(this, e, r, G(this, Je));
21559
21559
  break;
21560
21560
  default:
21561
21561
  switch (D) {
@@ -21567,7 +21567,7 @@ const Xt = class extends Layer {
21567
21567
  case "121":
21568
21568
  case "even":
21569
21569
  case "1ruby":
21570
- Q(this, Ni, !1), Q(this, hi, !0), k = tt(this, Js, Hh).call(this, e, $, D);
21570
+ Q(this, Li, !1), Q(this, hi, !0), k = tt(this, Js, Hh).call(this, e, $, D);
21571
21571
  break;
21572
21572
  case "gotxt":
21573
21573
  tt(this, Qs, Vh).call(this), G(this, hi) ? (this.isCur && G(Xt, Ys).recText(
@@ -21589,10 +21589,10 @@ const Xt = class extends Layer {
21589
21589
  {
21590
21590
  const z = JSON.parse($);
21591
21591
  if (z.id ?? (z.id = G(this, yi).length), z.id === "break") {
21592
- G(this, ee).dispBreak(z.pic);
21592
+ G(this, ee).dispBreak(z);
21593
21593
  return;
21594
21594
  }
21595
- Q(this, Ni, !1), z.delay = G(this, Ki), z.r ?? (z.r = ""), z.style ?? (z.style = ""), z.r_style ?? (z.r_style = "");
21595
+ Q(this, Li, !1), z.delay = G(this, Ki), z.r ?? (z.r = ""), z.style ?? (z.style = ""), z.r_style ?? (z.r_style = "");
21596
21596
  const { cl: Y, sty: q, lnk: W } = tt(this, yr, nn).call(this, !0, z.wait);
21597
21597
  k = `<span${Y} style='${q} ${z.style}'><ruby><span data-cmd='grp' data-arg='${JSON.stringify(z)}'${W} style='${q} display: inline;'> </span><rt${W}${this.mkStyle_r_align(
21598
21598
  " ",
@@ -21603,12 +21603,12 @@ const Xt = class extends Layer {
21603
21603
  }
21604
21604
  break;
21605
21605
  case "tcy":
21606
- Q(this, Ni, !1), Q(this, hi, !0);
21606
+ Q(this, Li, !1), Q(this, hi, !0);
21607
21607
  {
21608
21608
  const { t: z, r: Y = "", wait: q = null, style: W = "", r_style: K = "" } = JSON.parse($);
21609
- G(Xt, Ai).doRecLog() && (Q(this, Nn, G(this, Nn) + (e + (r ? `《${r}》` : ""))), Q(this, kn, G(this, kn) + z));
21609
+ G(Xt, Ai).doRecLog() && (Q(this, Ln, G(this, Ln) + (e + (r ? `《${r}》` : ""))), Q(this, kn, G(this, kn) + z));
21610
21610
  const J = CmnLib.isSafari ? Y.replaceAll(/[A-Za-z0-9]/g, (st) => String.fromCharCode(st.charCodeAt(0) + 65248)) : Y, { cl: et, sty: it, lnk: at } = tt(this, yr, nn).call(this, !0, q);
21611
- k = `<span${et} style='${it}${G(this, Ln).call(this, z)} ${W}'><ruby><span${at} style='${it} display: inline;
21611
+ k = `<span${et} style='${it}${G(this, Nn).call(this, z)} ${W}'><ruby><span${at} style='${it} display: inline;
21612
21612
  text-combine-upright: all;
21613
21613
  -webkit-text-combine: horizontal;'>${z}</span><rt${at}${this.mkStyle_r_align(
21614
21614
  z,
@@ -21644,11 +21644,11 @@ text-combine-upright: all;
21644
21644
  G(this, yi).push(G(X = Xt, Zs).call(X, k));
21645
21645
  });
21646
21646
  Z(this, Ki, 0);
21647
- Z(this, Ni, !0);
21647
+ Z(this, Li, !0);
21648
21648
  Z(this, yi, []);
21649
21649
  Z(this, bi, []);
21650
21650
  gt(this, "click", () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : G(this, ee).skipChIn());
21651
- Z(this, Nn, "");
21651
+ Z(this, Ln, "");
21652
21652
  Z(this, kn, "");
21653
21653
  gt(this, "addButton", (e) => new Promise((r) => {
21654
21654
  e.key = `btn=[${G(this, Ze).children.length}] ` + this.name_, e[":id_tag"] = e.key.slice(0, -7), argChk_Boolean(e, "hint_tate", G(this, ee).tategaki);
@@ -21665,13 +21665,13 @@ text-combine-upright: all;
21665
21665
  b_pic: G(this, Wi),
21666
21666
  b_color: G(this, gr),
21667
21667
  b_alpha: G(this, gi),
21668
- b_alpha_isfixed: G(this, Li),
21668
+ b_alpha_isfixed: G(this, Ni),
21669
21669
  ffs: G(this, An),
21670
21670
  txs: G(this, ee).record(),
21671
21671
  strNoFFS: G(this, Ks),
21672
21672
  btns: G(this, Ze).children.map((e) => e.name)
21673
21673
  }));
21674
- this.spLay.addChild(G(this, ee)), G(this, No).init(G(this, Fo)), this.spLay.addChild(G(this, Ze)), G(this, Ze).name = "cntBtn";
21674
+ this.spLay.addChild(G(this, ee)), G(this, Lo).init(G(this, Fo)), this.spLay.addChild(G(this, Ze)), G(this, Ze).name = "cntBtn";
21675
21675
  const e = 16;
21676
21676
  this.lay({ style: `width: ${CmnLib.stageW}px; height: ${CmnLib.stageH}px; font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック 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" });
21677
21677
  }
@@ -21730,7 +21730,7 @@ text-combine-upright: all;
21730
21730
  });
21731
21731
  }
21732
21732
  static setEvtMng(e, r, N) {
21733
- Q(Xt, Ao, e), Q(Xt, Cn, r), Q(Xt, Lo, N), TxtStage.setEvtMng(r);
21733
+ Q(Xt, Ao, e), Q(Xt, Cn, r), Q(Xt, No, N), TxtStage.setEvtMng(r);
21734
21734
  }
21735
21735
  destroy() {
21736
21736
  G(this, ue) && (this.spLay.removeChild(G(this, ue)).destroy(), Q(this, ue, void 0)), this.clearText(), G(this, ee).destroy();
@@ -21788,7 +21788,7 @@ text-combine-upright: all;
21788
21788
  return G(this, ee).getHeight;
21789
21789
  }
21790
21790
  chgBackAlpha(e) {
21791
- const r = G(this, Li) ? G(this, gi) : e * G(this, gi);
21791
+ const r = G(this, Ni) ? G(this, gi) : e * G(this, gi);
21792
21792
  G(this, ue) instanceof Graphics && (G(this, ue) && (this.spLay.removeChild(G(this, ue)), G(this, ue).destroy()), this.spLay.addChildAt(
21793
21793
  Q(this, ue, new Graphics()).beginFill(G(this, gr)).lineStyle(void 0).drawRect(0, 0, G(this, ee).getWidth, G(this, ee).getHeight).endFill(),
21794
21794
  0
@@ -21824,13 +21824,13 @@ text-combine-upright: all;
21824
21824
  return ` style='${U} ${k}'`;
21825
21825
  }
21826
21826
  tagCh(e) {
21827
- G(this, No).putTxt(e);
21827
+ G(this, Lo).putTxt(e);
21828
21828
  }
21829
21829
  clearText() {
21830
- this.spLay.addChild(Q(this, ee, G(this, ee).reNew())), Q(this, Ki, 0), Q(this, Ni, !0), Q(this, yi, []), Q(this, Nn, ""), Q(this, kn, ""), G(Xt, Ys).recPagebreak();
21830
+ this.spLay.addChild(Q(this, ee, G(this, ee).reNew())), Q(this, Ki, 0), Q(this, Li, !0), Q(this, yi, []), Q(this, Ln, ""), Q(this, kn, ""), G(Xt, Ys).recPagebreak();
21831
21831
  }
21832
21832
  get pageText() {
21833
- return G(this, Nn).replace("《 》", "");
21833
+ return G(this, Ln).replace("《 》", "");
21834
21834
  }
21835
21835
  get pagePlainText() {
21836
21836
  return G(this, kn);
@@ -21851,7 +21851,7 @@ text-combine-upright: all;
21851
21851
  r.destroy();
21852
21852
  }
21853
21853
  playback(e, r) {
21854
- super.playback(e, r), this.enabled = e.enabled, G(this, qi).style.cssText = e.r_cssText, Q(this, Je, e.r_align), this.cvsResize(), tt(this, Do, $c).call(this, e), G(this, ee).playback(e.txs), Q(this, gi, e.b_alpha), Q(this, Li, e.b_alpha_isfixed), r.push(new Promise((k) => {
21854
+ super.playback(e, r), this.enabled = e.enabled, G(this, qi).style.cssText = e.r_cssText, Q(this, Je, e.r_align), this.cvsResize(), tt(this, Do, $c).call(this, e), G(this, ee).playback(e.txs), Q(this, gi, e.b_alpha), Q(this, Ni, e.b_alpha_isfixed), r.push(new Promise((k) => {
21855
21855
  const D = e.b_do ? e.b_do === "Sprite" ? { b_pic: e.b_pic } : { b_color: e.b_color } : { b_pic: "" };
21856
21856
  D.b_alpha = e.b_alpha, D.b_alpha_isfixed = e.b_alpha_isfixed, tt(this, ko, Gc).call(this, D, (U) => {
21857
21857
  U && k();
@@ -21882,7 +21882,7 @@ text-combine-upright: all;
21882
21882
  e.showDesignCast();
21883
21883
  }
21884
21884
  dump() {
21885
- return G(this, Fo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${G(this, ee).dump()}, "b_pic":"${G(this, Wi)}", "b_color":"${G(this, gr)}", "b_alpha":${G(this, gi)}, "b_alpha_isfixed":"${G(this, Li)}", "width":${G(this, ee).getWidth}, "height":${G(this, ee).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":[${G(this, Ze).children.map((e) => e.children[0].name ?? "{}").join(",")}]`;
21885
+ return G(this, Fo).call(this, "", "gotxt|"), super.dump() + `, "enabled":"${this.enabled}", ${G(this, ee).dump()}, "b_pic":"${G(this, Wi)}", "b_color":"${G(this, gr)}", "b_alpha":${G(this, gi)}, "b_alpha_isfixed":"${G(this, Ni)}", "width":${G(this, ee).getWidth}, "height":${G(this, ee).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":[${G(this, Ze).children.map((e) => e.children[0].name ?? "{}").join(",")}]`;
21886
21886
  }
21887
21887
  };
21888
21888
  let TxtLayer = Xt;
@@ -21918,7 +21918,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21918
21918
  transform: rotate(${r.rotate}deg) scale(${r.scale_x}, ${r.scale_y}) translate(${N}, ${k});
21919
21919
  }
21920
21920
  `), !1;
21921
- }, Ao = new WeakMap(), Cn = new WeakMap(), Lo = new WeakMap(), _r = new WeakMap(), On = new WeakMap(), jl = new WeakSet(), qf = function(e) {
21921
+ }, Ao = new WeakMap(), Cn = new WeakMap(), No = new WeakMap(), _r = new WeakMap(), On = new WeakMap(), jl = new WeakSet(), qf = function(e) {
21922
21922
  Q(Xt, _r, argChk_Boolean(e, "enabled", G(Xt, _r))), G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.enabled", G(Xt, _r));
21923
21923
  const { text: r } = e;
21924
21924
  if ("text" in e != "time" in e)
@@ -21932,7 +21932,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21932
21932
  if (k.length !== N)
21933
21933
  throw "[autowc] text文字数とtimeに記述された待ち時間(コンマ区切り)は同数にして下さい";
21934
21934
  return Q(Xt, On, {}), k.forEach((D, U) => G(Xt, On)[r[U]] = uint(D)), G(Xt, Ai).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
21935
- }, gr = new WeakMap(), gi = new WeakMap(), Li = new WeakMap(), ue = new WeakMap(), Wi = new WeakMap(), ee = new WeakMap(), No = new WeakMap(), qi = new WeakMap(), Hl = new WeakMap(), Ze = new WeakMap(), Rn = new WeakSet(), Oa = function(e) {
21935
+ }, gr = new WeakMap(), gi = new WeakMap(), Ni = new WeakMap(), ue = new WeakMap(), Wi = new WeakMap(), ee = new WeakMap(), Lo = new WeakMap(), qi = new WeakMap(), Hl = new WeakMap(), Ze = new WeakMap(), Rn = new WeakSet(), Oa = function(e) {
21936
21936
  const { in_style: r } = e;
21937
21937
  if (!r)
21938
21938
  return;
@@ -21949,9 +21949,9 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21949
21949
  Q(this, qs, r);
21950
21950
  }, qs = new WeakMap(), ko = new WeakSet(), Gc = function(e, r) {
21951
21951
  if ("back_clear" in e)
21952
- return argChk_Boolean(e, "back_clear", !1) && (Q(this, gr, 0), Q(this, gi, 0), Q(this, Li, !1), Q(this, Wi, "")), r(!1), !1;
21953
- Q(this, gi, argChk_Num(e, "b_alpha", G(this, gi))), Q(this, Li, argChk_Boolean(e, "b_alpha_isfixed", G(this, Li)));
21954
- const N = (G(this, Li) ? 1 : Number(G(Xt, Ai).getVal("sys:TextLayer.Back.Alpha"))) * G(this, gi);
21952
+ return argChk_Boolean(e, "back_clear", !1) && (Q(this, gr, 0), Q(this, gi, 0), Q(this, Ni, !1), Q(this, Wi, "")), r(!1), !1;
21953
+ Q(this, gi, argChk_Num(e, "b_alpha", G(this, gi))), Q(this, Ni, argChk_Boolean(e, "b_alpha_isfixed", G(this, Ni)));
21954
+ const N = (G(this, Ni) ? 1 : Number(G(Xt, Ai).getVal("sys:TextLayer.Back.Alpha"))) * G(this, gi);
21955
21955
  if (e.b_pic) {
21956
21956
  if (G(this, Wi) !== e.b_pic)
21957
21957
  return Q(this, Wi, e.b_pic), G(this, ue) && (this.spLay.removeChild(G(this, ue)), G(this, ue).destroy()), GrpLayer.csv2Sprites(G(this, Wi), this.spLay, (k) => {
@@ -21964,8 +21964,8 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
21964
21964
  ), G(this, ue).name = "back(color)");
21965
21965
  return G(this, ue) && (G(this, ue).visible = N > 0, G(this, ue).alpha = N), r(!1), !1;
21966
21966
  }, Do = new WeakSet(), $c = function(e) {
21967
- "noffs" in e && (Q(this, Ks, e.noffs ?? ""), Q(this, Bo, new RegExp(`[ ${G(this, Ks)}]`))), "ffs" in e && (G(this, An) ?? Q(this, An, ""), Q(this, Ln, G(this, An) === "" ? () => "" : (r) => G(this, Bo).test(r) ? "" : ` font-feature-settings: ${G(this, An)};`));
21968
- }, An = new WeakMap(), Ln = new WeakMap(), Ks = new WeakMap(), Bo = new WeakMap(), Zs = new WeakMap(), jr = new WeakMap(), Je = new WeakMap(), Vl = new WeakSet(), Kf = function(e, r, N, k = "") {
21967
+ "noffs" in e && (Q(this, Ks, e.noffs ?? ""), Q(this, Bo, new RegExp(`[ ${G(this, Ks)}]`))), "ffs" in e && (G(this, An) ?? Q(this, An, ""), Q(this, Nn, G(this, An) === "" ? () => "" : (r) => G(this, Bo).test(r) ? "" : ` font-feature-settings: ${G(this, An)};`));
21968
+ }, An = new WeakMap(), Nn = new WeakMap(), Ks = new WeakMap(), Bo = new WeakMap(), Zs = new WeakMap(), jr = new WeakMap(), Je = new WeakMap(), Vl = new WeakSet(), Kf = function(e, r, N, k = "") {
21969
21969
  if (!N)
21970
21970
  return ` style='${k}'`;
21971
21971
  const D = e.length * 2;
@@ -22002,15 +22002,15 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
22002
22002
  }, hi = new WeakMap(), Fo = new WeakMap(), Js = new WeakSet(), Hh = function(e, r, N) {
22003
22003
  var H;
22004
22004
  const k = e === " " ? "&nbsp;" : e;
22005
- G(Xt, Ai).doRecLog() && (Q(this, Nn, G(this, Nn) + (k + (r ? `《${r}》` : ""))), e !== " " && Q(this, kn, G(this, kn) + e));
22005
+ G(Xt, Ai).doRecLog() && (Q(this, Ln, G(this, Ln) + (k + (r ? `《${r}》` : ""))), e !== " " && Q(this, kn, G(this, kn) + e));
22006
22006
  const { cl: D, sty: U, lnk: $ } = tt(this, yr, nn).call(this, !0, null, e);
22007
- return r ? `<span${D} style='${U} ${G(this, Ln).call(this, e)}'><ruby>${// 文字個別に出現させるため以下にも ${cl} が必要
22007
+ return r ? `<span${D} style='${U} ${G(this, Nn).call(this, e)}'><ruby>${// 文字個別に出現させるため以下にも ${cl} が必要
22008
22008
  Array.from(e).map((V, X) => `<span${D}${$} style='${X > 0 ? tt(this, yr, nn).call(this, !0, null, e).sty : U} display: inline;'>${V === " " ? "&nbsp;" : V}</span>`).join("")}<rt${$}${this.mkStyle_r_align(
22009
22009
  e,
22010
22010
  r,
22011
22011
  N,
22012
22012
  G(this, qi).style.cssText + (((H = G(this, bi).at(-1)) == null ? void 0 : H.o.r_style) ?? "")
22013
- )}>${r}</rt></ruby></span>` : `<span${D} style='${U} ${G(this, Ln).call(this, e)}'${$}>${k}</span>`;
22013
+ )}>${r}</rt></ruby></span>` : `<span${D} style='${U} ${G(this, Nn).call(this, e)}'${$}>${k}</span>`;
22014
22014
  }, yr = new WeakSet(), nn = function(e, r, N = `
22015
22015
  `) {
22016
22016
  var U, $, H;
@@ -22025,7 +22025,7 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
22025
22025
  lnk: (((H = G(this, bi).at(0)) == null ? void 0 : H.o[":link"]) ?? "") + " " + D,
22026
22026
  curpos: D
22027
22027
  };
22028
- }, Ki = new WeakMap(), Ni = new WeakMap(), yi = new WeakMap(), bi = new WeakMap(), Uo = new WeakSet(), jc = function(e) {
22028
+ }, Ki = new WeakMap(), Li = new WeakMap(), yi = new WeakMap(), bi = new WeakMap(), Uo = new WeakSet(), jc = function(e) {
22029
22029
  G(this, bi).push({
22030
22030
  o: e,
22031
22031
  r_align: G(this, Je),
@@ -22042,9 +22042,9 @@ Xs = new WeakMap(), Ai = new WeakMap(), Ro = new WeakMap(), Ys = new WeakMap(),
22042
22042
  return;
22043
22043
  }
22044
22044
  r.o = { ...r.o, ...e }, !e.style && !e.r_style && (r.o.style = "", r.o.r_style = ""), "r_align" in e && Q(this, Je, e.r_align), tt(this, Rn, Oa).call(this, e), tt(this, In, Ra).call(this, e);
22045
- }, Nn = new WeakMap(), kn = new WeakMap(), // 文字出現演出
22045
+ }, Ln = new WeakMap(), kn = new WeakMap(), // 文字出現演出
22046
22046
  Z(TxtLayer, Mo), // 文字消去演出
22047
- Z(TxtLayer, Io), Z(TxtLayer, jl), Z(TxtLayer, Xs, void 0), Z(TxtLayer, Ai, void 0), Z(TxtLayer, Ro, void 0), Z(TxtLayer, Ys, void 0), Z(TxtLayer, Ao, void 0), Z(TxtLayer, Cn, void 0), Z(TxtLayer, Lo, void 0), // 文字ごとのウェイト
22047
+ Z(TxtLayer, Io), Z(TxtLayer, jl), Z(TxtLayer, Xs, void 0), Z(TxtLayer, Ai, void 0), Z(TxtLayer, Ro, void 0), Z(TxtLayer, Ys, void 0), Z(TxtLayer, Ao, void 0), Z(TxtLayer, Cn, void 0), Z(TxtLayer, No, void 0), // 文字ごとのウェイト
22048
22048
  Z(TxtLayer, _r, !1), Z(TxtLayer, On, {}), // cssチェック・保存用
22049
22049
  Z(TxtLayer, Hl, {
22050
22050
  "text-align": 0,
@@ -22249,7 +22249,7 @@ ${e}`, lt = () => {
22249
22249
  if (z) {
22250
22250
  CmnLib.debugLog && console.group(`🍝 [tsy_frame] path=${z}= start(${K.x},${K.y},${K.alpha})`);
22251
22251
  for (const { groups: jt } of z.matchAll(LayerMng.REG_TSY_PATH)) {
22252
- const { x: It, x2: St, y: bt, y2: Ut, o: Gt, o2: Dt, json: Wt } = jt;
22252
+ const { x: It, x2: St, y: bt, y2: Ut, o: Gt, o2: Bt, json: Wt } = jt;
22253
22253
  let ut = {};
22254
22254
  if (Wt)
22255
22255
  try {
@@ -22259,7 +22259,7 @@ ${e}`, lt = () => {
22259
22259
  continue;
22260
22260
  }
22261
22261
  else
22262
- (It ?? St) && (ut.x = It ?? St), (bt ?? Ut) && (ut.y = bt ?? Ut), (Gt ?? Dt) && (ut.alpha = Gt ?? Dt);
22262
+ (It ?? St) && (ut.x = It ?? St), (bt ?? Ut) && (ut.y = bt ?? Ut), (Gt ?? Bt) && (ut.alpha = Gt ?? Bt);
22263
22263
  const qt = cnvTweenArg(ut, K);
22264
22264
  CmnLib.debugLog && console.info(`🍝 {x:${It} y:${bt} o:${Gt}} => hTo:${JSON.stringify(qt)}`);
22265
22265
  const At = new Tween(K).to(qt, ft).easing(pt).repeat(Pt).yoyo(Mt);
@@ -22276,8 +22276,8 @@ ${e}`, lt = () => {
22276
22276
  yt.start();
22277
22277
  return this.hTwInf[nt] = { tw: Rt, resume: !1 }, !1;
22278
22278
  };
22279
- var xi, ne, _e, Hr, Bn, ra, jo, Ho, Vo, na, zo, Vc, Vr, ki, Kl, id, Qe, Zl, rd, Jl, nd, Ql, sd, Jt, Zi, Ji, Xo, tu, ad, sa, Xh, eu, od, iu, Yo, ru, Fn, Un, br, Ce, Gn, nu, hd, Oe, Xe, ni, su, ld, au, ud, ou, cd, $n, Ma, hu, fd, li, lu, dd, uu, pd, cu, vd, fu, md, du, _d, zr, jn, Ia, ui, pu, gd, Wo, vu, yd, Qi, Hn, Xr, _s, Di, tr, mu, bd, _u, xd, gu, Ed, yu, Sd, bu, Td, xu, wd, Eu, Pd, qo, zc, Su, Cd, Tu, Od, wu, Rd, Pu, Md, Cu, Id, Ou, Ad, Ru, Ld;
22280
- const Lr = class {
22279
+ var xi, ne, _e, Hr, Bn, ra, jo, Ho, Vo, na, zo, Vc, Vr, ki, Kl, id, Qe, Zl, rd, Jl, nd, Ql, sd, Jt, Zi, Ji, Xo, tu, ad, sa, Xh, eu, od, iu, Yo, ru, Fn, Un, br, Ce, Gn, nu, hd, Oe, Xe, ni, su, ld, au, ud, ou, cd, $n, Ma, hu, fd, li, lu, dd, uu, pd, cu, vd, fu, md, du, _d, zr, jn, Ia, ui, pu, gd, Wo, vu, yd, Qi, Hn, Xr, _s, Di, tr, mu, bd, _u, xd, gu, Ed, yu, Sd, bu, Td, xu, wd, Eu, Pd, qo, zc, Su, Cd, Tu, Od, wu, Rd, Pu, Md, Cu, Id, Ou, Ad, Ru, Nd;
22280
+ const Nr = class {
22281
22281
  constructor(t, e, r, N, k, D, U, $, H, V) {
22282
22282
  Z(this, zo);
22283
22283
  // 既存の全文字レイヤの実際のバック不透明度、を再計算
@@ -22377,9 +22377,9 @@ const Lr = class {
22377
22377
  Z(this, Qe, (t, e = this.currentTxtlayForeNeedErr, r = !0) => e.tagCh("| 《" + t + "》"));
22378
22378
  gt(this, "goTxt", () => {
22379
22379
  });
22380
- gt(this, "breakLine", () => {
22380
+ gt(this, "breakLine", (t) => {
22381
22381
  });
22382
- gt(this, "breakPage", () => {
22382
+ gt(this, "breakPage", (t) => {
22383
22383
  });
22384
22384
  Z(this, Jt, {});
22385
22385
  // しおりLoad時再読込
@@ -22472,7 +22472,15 @@ void main(void) {
22472
22472
  }, 1e3 / 60 * 10));
22473
22473
  }, { passive: !0 });
22474
22474
  }
22475
- U.cvsResize(), TxtLayer.init(t, e, N, this, (W) => G(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, U, $, N), Button.init(t), Q(this, Hr, new FrameMng(t, e, r, N, k, U, G(this, li))), U.hFactoryCls.grp = () => new GrpLayer(), U.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => tt(this, Jl, nd).call(this, W), e.snapshot = (W) => tt(this, Zl, rd).call(this, W), e.add_lay = (W) => tt(this, Ql, sd).call(this, W), e.clear_lay = (W) => tt(this, eu, od).call(this, W), e.finish_trans = () => tt(this, $n, Ma).call(this), e.lay = (W) => tt(this, tu, ad).call(this, W), e.trans = (W) => tt(this, nu, hd).call(this, W), e.wt = (W) => tt(this, ou, cd).call(this, W), e.quake = (W) => tt(this, hu, fd).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => tt(this, fu, md).call(this, W), e.resume_tsy = (W) => tt(this, du, _d).call(this, W), e.stop_tsy = (W) => tt(this, cu, vd).call(this, W), e.tsy = (W) => tt(this, lu, dd).call(this, W), e.wait_tsy = (W) => tt(this, uu, pd).call(this, W), e.ch = (W) => tt(this, jn, Ia).call(this, W), e.clear_text = (W) => tt(this, mu, bd).call(this, W), e.current = (W) => G(this, Wo).call(this, W), e.endlink = (W) => tt(this, _u, xd).call(this, W), e.er = (W) => tt(this, gu, Ed).call(this, W), e.graph = (W) => tt(this, yu, Sd).call(this, W), e.link = (W) => tt(this, bu, Td).call(this, W), e.r = (W) => tt(this, xu, wd).call(this, W), e.rec_ch = (W) => tt(this, qo, zc).call(this, W), e.rec_r = (W) => tt(this, Eu, Pd).call(this, W), e.reset_rec = (W) => tt(this, Su, Cd).call(this, W), e.ruby2 = (W) => tt(this, Tu, Od).call(this, W), e.span = (W) => tt(this, wu, Rd).call(this, W), e.tcy = (W) => tt(this, Pu, Md).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => tt(this, Cu, Id).call(this, W), e.enable_event = (W) => tt(this, Ou, Ad).call(this, W), e.button = (W) => tt(this, Ru, Ld).call(this, W), t.existsBreakline && (this.breakLine = () => G(this, Qe).call(this, 'grp|{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => G(this, Qe).call(this, 'grp|{"id":"break","pic":"breakpage"}')), Q(this, Bn, parseColor(String(t.oCfg.init.bg_color)));
22475
+ U.cvsResize(), TxtLayer.init(t, e, N, this, (W) => G(this, Jt)[W.layname].fore === W, r), GrpLayer.init(k, t, r, U, $, N), Button.init(t), Q(this, Hr, new FrameMng(t, e, r, N, k, U, G(this, li))), U.hFactoryCls.grp = () => new GrpLayer(), U.hFactoryCls.txt = () => new TxtLayer(), e.loadplugin = (W) => tt(this, Jl, nd).call(this, W), e.snapshot = (W) => tt(this, Zl, rd).call(this, W), e.add_lay = (W) => tt(this, Ql, sd).call(this, W), e.clear_lay = (W) => tt(this, eu, od).call(this, W), e.finish_trans = () => tt(this, $n, Ma).call(this), e.lay = (W) => tt(this, tu, ad).call(this, W), e.trans = (W) => tt(this, nu, hd).call(this, W), e.wt = (W) => tt(this, ou, cd).call(this, W), e.quake = (W) => tt(this, hu, fd).call(this, W), e.stop_quake = (W) => e.finish_trans(W), e.wq = (W) => e.wt(W), e.pause_tsy = (W) => tt(this, fu, md).call(this, W), e.resume_tsy = (W) => tt(this, du, _d).call(this, W), e.stop_tsy = (W) => tt(this, cu, vd).call(this, W), e.tsy = (W) => tt(this, lu, dd).call(this, W), e.wait_tsy = (W) => tt(this, uu, pd).call(this, W), e.ch = (W) => tt(this, jn, Ia).call(this, W), e.clear_text = (W) => tt(this, mu, bd).call(this, W), e.current = (W) => G(this, Wo).call(this, W), e.endlink = (W) => tt(this, _u, xd).call(this, W), e.er = (W) => tt(this, gu, Ed).call(this, W), e.graph = (W) => tt(this, yu, Sd).call(this, W), e.link = (W) => tt(this, bu, Td).call(this, W), e.r = (W) => tt(this, xu, wd).call(this, W), e.rec_ch = (W) => tt(this, qo, zc).call(this, W), e.rec_r = (W) => tt(this, Eu, Pd).call(this, W), e.reset_rec = (W) => tt(this, Su, Cd).call(this, W), e.ruby2 = (W) => tt(this, Tu, Od).call(this, W), e.span = (W) => tt(this, wu, Rd).call(this, W), e.tcy = (W) => tt(this, Pu, Md).call(this, W), e.add_face = (W) => GrpLayer.add_face(W), e.wv = (W) => GrpLayer.wv(W), e.dump_lay = (W) => tt(this, Cu, Id).call(this, W), e.enable_event = (W) => tt(this, Ou, Ad).call(this, W), e.button = (W) => tt(this, Ru, Nd).call(this, W), t.existsBreakline && (this.breakLine = (W) => {
22476
+ delete W.visible, W.id = "break", W.pic = "breakline";
22477
+ const K = encodeURIComponent(JSON.stringify(W));
22478
+ G(this, Qe).call(this, "grp|" + K);
22479
+ }), t.existsBreakpage && (this.breakPage = (W) => {
22480
+ delete W.visible, W.id = "break", W.pic = "breakpage";
22481
+ const K = encodeURIComponent(JSON.stringify(W));
22482
+ G(this, Qe).call(this, "grp|" + K);
22483
+ }), Q(this, Bn, parseColor(String(t.oCfg.init.bg_color)));
22476
22484
  const z = new Graphics();
22477
22485
  z.beginFill(G(this, Bn), 1).lineStyle(0, G(this, Bn)).drawRect(0, 0, CmnLib.stageW, CmnLib.stageH).endFill(), G(this, ne).addChild(z.clone()), G(this, _e).addChild(z), G(this, _e).visible = !1, G(this, ne).name = "page:A", G(this, _e).name = "page:B", Q(this, xi, r.stage), G(this, xi).addChild(G(this, _e)), G(this, xi).addChild(G(this, ne)), G(this, xi).addChild(G(this, Un)), G(this, xi).addChild(G(this, Ce)), G(this, xi).name = "stage", r.ticker.add(G(this, jo));
22478
22486
  const Y = (W, K) => {
@@ -22508,7 +22516,7 @@ void main(void) {
22508
22516
  t.destroy();
22509
22517
  }
22510
22518
  destroy() {
22511
- G(this, ra).clear(), GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), G(this, Hr).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(G(this, jo)), Q(Lr, zr, 10);
22519
+ G(this, ra).clear(), GrpLayer.destroy(), RubySpliter.destroy(), TxtStage.destroy(), TxtLayer.destroy(), G(this, Hr).destroy(), this.stopAllTw(), this.appPixi.ticker.remove(G(this, jo)), Q(Nr, zr, 10);
22512
22520
  }
22513
22521
  // トゥイーン全停止
22514
22522
  stopAllTw() {
@@ -22524,13 +22532,13 @@ void main(void) {
22524
22532
  }) : !1;
22525
22533
  }
22526
22534
  static get msecChWait() {
22527
- return G(Lr, zr);
22535
+ return G(Nr, zr);
22528
22536
  }
22529
22537
  static set msecChWait(t) {
22530
- Q(Lr, zr, t);
22538
+ Q(Nr, zr, t);
22531
22539
  }
22532
22540
  setNormalChWait() {
22533
- Q(Lr, zr, this.scrItr.normalWait);
22541
+ Q(Nr, zr, this.scrItr.normalWait);
22534
22542
  }
22535
22543
  get currentTxtlayForeNeedErr() {
22536
22544
  return G(this, Hn).call(this), this.currentTxtlayFore;
@@ -22586,7 +22594,7 @@ void main(void) {
22586
22594
  }).catch((U) => console.error("fn:LayerMng.ts playback e:%o", U));
22587
22595
  }
22588
22596
  };
22589
- let LayerMng = Lr;
22597
+ let LayerMng = Nr;
22590
22598
  xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(), Bn = new WeakMap(), ra = new WeakMap(), jo = new WeakMap(), Ho = new WeakMap(), Vo = new WeakMap(), na = new WeakMap(), zo = new WeakSet(), Vc = function(t) {
22591
22599
  [Te(this, Vo)._, this.na = ""] = t.split("/");
22592
22600
  const e = G(this, Jt)[G(this, Vo)];
@@ -22664,7 +22672,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22664
22672
  case "txt":
22665
22673
  G(this, Ji) || (Q(this, Hn, () => {
22666
22674
  }), Q(this, ui, tt(this, pu, gd)), Q(this, Wo, tt(this, vu, yd)), this.hTag.current({ layer: e }), this.goTxt = () => {
22667
- this.val.getVal("sn.skip.enabled") ? Q(Lr, zr, 0) : this.setNormalChWait();
22675
+ this.val.getVal("sn.skip.enabled") ? Q(Nr, zr, 0) : this.setNormalChWait();
22668
22676
  for (const k of tt(this, Xe, ni).call(this)) {
22669
22677
  const D = G(this, Jt)[k].fore;
22670
22678
  D instanceof TxtLayer && G(this, Qe).call(this, "gotxt|", D, !1);
@@ -22848,7 +22856,7 @@ xi = new WeakMap(), ne = new WeakMap(), _e = new WeakMap(), Hr = new WeakMap(),
22848
22856
  let ht = st;
22849
22857
  if (N) {
22850
22858
  CmnLib.debugLog && console.group(`🍝 [tsy] path=${N}= start(${H.x},${H.y},${H.alpha})`);
22851
- for (const { groups: lt } of N.matchAll(Lr.REG_TSY_PATH)) {
22859
+ for (const { groups: lt } of N.matchAll(Nr.REG_TSY_PATH)) {
22852
22860
  const { x: ft, x2: pt, y: Et, y2: Pt, o: Mt, o2: xt, json: yt } = lt;
22853
22861
  let Rt = {};
22854
22862
  if (yt)
@@ -23017,7 +23025,7 @@ ${r}` : N ?? e;
23017
23025
  }, Ou = new WeakSet(), Ad = function(t) {
23018
23026
  const e = tt(this, Xr, _s).call(this, t, G(this, Ji)), r = argChk_Boolean(t, "enabled", !0);
23019
23027
  return G(this, ui).call(this, t).enabled = r, this.val.setVal_Nochk("save", "const.sn.layer." + e + ".enabled", r), !1;
23020
- }, Ru = new WeakSet(), Ld = function(t) {
23028
+ }, Ru = new WeakSet(), Nd = function(t) {
23021
23029
  return Pages.argChk_page(t, "back"), t.fn ?? (t.fn = this.scrItr.scriptFn), G(this, ui).call(this, t).addButton(t), this.scrItr.recodeDesign(t), !1;
23022
23030
  }, // 11 match 301 step (0.1ms) PCRE2 https://regex101.com/r/reinpq/1
23023
23031
  // List ${x}${x2}/${y}${y2}/${o}${o2}=${json}\n
@@ -23038,7 +23046,7 @@ ${r}` : N ?? e;
23038
23046
  */
23039
23047
  gt(LayerMng, "REG_TSY_PATH", /\(\s*(?:(?<x>[-=\d\.]+)|(['"])(?<x2>.*?)\2)?(?:\s*,\s*(?:(?<y>[-=\d\.]+)|(['"])(?<y2>.*?)\5)?(?:\s*,\s*(?:(?<o>[-=\d\.]+)|(['"])(?<o2>.*?)\8))?)?|(?<json>\{[^{}]*})/g), // // 文字・文字レイヤ
23040
23048
  Z(LayerMng, zr, 10);
23041
- var ge, de, aa, Mu, Nd, Ko, Vn, Aa;
23049
+ var ge, de, aa, Mu, Ld, Ko, Vn, Aa;
23042
23050
  class FocusMng {
23043
23051
  constructor() {
23044
23052
  Z(this, Mu);
@@ -23082,7 +23090,7 @@ class FocusMng {
23082
23090
  N = () => D.checked = !D.checked;
23083
23091
  break;
23084
23092
  case "":
23085
- t.querySelectorAll("input[type]").length > 0 && (N = (U) => tt(this, Mu, Nd).call(this, t, U.key), k = () => !1);
23093
+ t.querySelectorAll("input[type]").length > 0 && (N = (U) => tt(this, Mu, Ld).call(this, t, U.key), k = () => !1);
23086
23094
  break;
23087
23095
  case "range":
23088
23096
  N = (U) => {
@@ -23157,7 +23165,7 @@ class FocusMng {
23157
23165
  tt(this, Vn, Aa).call(this), Q(this, de, -1), globalThis.focus();
23158
23166
  }
23159
23167
  }
23160
- ge = new WeakMap(), de = new WeakMap(), aa = new WeakMap(), Mu = new WeakSet(), Nd = function(t, e) {
23168
+ ge = new WeakMap(), de = new WeakMap(), aa = new WeakMap(), Mu = new WeakSet(), Ld = function(t, e) {
23161
23169
  const r = t.querySelectorAll("input[type]"), N = r.length;
23162
23170
  for (let k = 0; k < N; ++k)
23163
23171
  if (r[k].checked) {
@@ -23719,8 +23727,8 @@ function getExpandedFallbackPlacements(o) {
23719
23727
  function flip(o) {
23720
23728
  var t = o.state, e = o.options, r = o.name;
23721
23729
  if (!t.modifiersData[r]._skip) {
23722
- for (var N = e.mainAxis, k = N === void 0 ? !0 : N, D = e.altAxis, U = D === void 0 ? !0 : D, $ = e.fallbackPlacements, H = e.padding, V = e.boundary, X = e.rootBoundary, z = e.altBoundary, Y = e.flipVariations, q = Y === void 0 ? !0 : Y, W = e.allowedAutoPlacements, K = t.options.placement, J = getBasePlacement(K), et = J === K, it = $ || (et || !q ? [getOppositePlacement(K)] : getExpandedFallbackPlacements(K)), at = [K].concat(it).reduce(function(Dt, Wt) {
23723
- return Dt.concat(getBasePlacement(Wt) === auto ? computeAutoPlacement(t, {
23730
+ for (var N = e.mainAxis, k = N === void 0 ? !0 : N, D = e.altAxis, U = D === void 0 ? !0 : D, $ = e.fallbackPlacements, H = e.padding, V = e.boundary, X = e.rootBoundary, z = e.altBoundary, Y = e.flipVariations, q = Y === void 0 ? !0 : Y, W = e.allowedAutoPlacements, K = t.options.placement, J = getBasePlacement(K), et = J === K, it = $ || (et || !q ? [getOppositePlacement(K)] : getExpandedFallbackPlacements(K)), at = [K].concat(it).reduce(function(Bt, Wt) {
23731
+ return Bt.concat(getBasePlacement(Wt) === auto ? computeAutoPlacement(t, {
23724
23732
  placement: Wt,
23725
23733
  boundary: V,
23726
23734
  rootBoundary: X,
@@ -23738,8 +23746,8 @@ function flip(o) {
23738
23746
  }), Rt = Mt ? Pt ? right : left : Pt ? bottom : top;
23739
23747
  st[xt] > ht[xt] && (Rt = getOppositePlacement(Rt));
23740
23748
  var jt = getOppositePlacement(Rt), It = [];
23741
- if (k && It.push(yt[Et] <= 0), U && It.push(yt[Rt] <= 0, yt[jt] <= 0), It.every(function(Dt) {
23742
- return Dt;
23749
+ if (k && It.push(yt[Et] <= 0), U && It.push(yt[Rt] <= 0, yt[jt] <= 0), It.every(function(Bt) {
23750
+ return Bt;
23743
23751
  })) {
23744
23752
  lt = pt, nt = !1;
23745
23753
  break;
@@ -23878,10 +23886,10 @@ function preventOverflow(o) {
23878
23886
  };
23879
23887
  if (ht) {
23880
23888
  if (k) {
23881
- var Pt, Mt = at === "y" ? top : left, xt = at === "y" ? bottom : right, yt = at === "y" ? "height" : "width", Rt = ht[at], jt = Rt + K[Mt], It = Rt - K[xt], St = Y ? -nt[yt] / 2 : 0, bt = et === start ? ot[yt] : nt[yt], Ut = et === start ? -nt[yt] : -ot[yt], Gt = t.elements.arrow, Dt = Y && Gt ? getLayoutRect(Gt) : {
23889
+ var Pt, Mt = at === "y" ? top : left, xt = at === "y" ? bottom : right, yt = at === "y" ? "height" : "width", Rt = ht[at], jt = Rt + K[Mt], It = Rt - K[xt], St = Y ? -nt[yt] / 2 : 0, bt = et === start ? ot[yt] : nt[yt], Ut = et === start ? -nt[yt] : -ot[yt], Gt = t.elements.arrow, Bt = Y && Gt ? getLayoutRect(Gt) : {
23882
23890
  width: 0,
23883
23891
  height: 0
23884
- }, Wt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), ut = Wt[Mt], qt = Wt[xt], At = within(0, ot[yt], Dt[yt]), oe = it ? ot[yt] / 2 - St - At - ut - ft.mainAxis : bt - At - ut - ft.mainAxis, Kt = it ? -ot[yt] / 2 + St + At + qt + ft.mainAxis : Ut + At + qt + ft.mainAxis, Tt = t.elements.arrow && getOffsetParent(t.elements.arrow), ae = Tt ? at === "y" ? Tt.clientTop || 0 : Tt.clientLeft || 0 : 0, kt = (Pt = pt == null ? void 0 : pt[at]) != null ? Pt : 0, vt = Rt + oe - kt - ae, Nt = Rt + Kt - kt, Yt = within(Y ? min(jt, vt) : jt, Rt, Y ? max(It, Nt) : It);
23892
+ }, Wt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), ut = Wt[Mt], qt = Wt[xt], At = within(0, ot[yt], Bt[yt]), oe = it ? ot[yt] / 2 - St - At - ut - ft.mainAxis : bt - At - ut - ft.mainAxis, Kt = it ? -ot[yt] / 2 + St + At + qt + ft.mainAxis : Ut + At + qt + ft.mainAxis, Tt = t.elements.arrow && getOffsetParent(t.elements.arrow), ae = Tt ? at === "y" ? Tt.clientTop || 0 : Tt.clientLeft || 0 : 0, kt = (Pt = pt == null ? void 0 : pt[at]) != null ? Pt : 0, vt = Rt + oe - kt - ae, Lt = Rt + Kt - kt, Yt = within(Y ? min(jt, vt) : jt, Rt, Y ? max(It, Lt) : It);
23885
23893
  ht[at] = Yt, Et[at] = Yt - Rt;
23886
23894
  }
23887
23895
  if (U) {
@@ -24174,7 +24182,7 @@ var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyS
24174
24182
  defaultModifiers
24175
24183
  });
24176
24184
  const { GamepadListener } = require("gamepad.js");
24177
- var Ye, Yr, Le, Zo, Jo, Xc, Qo, Yc, th, Wc, oa, ha, eh, qc, ye, Ei, xr, Er, ih, Wr, gs, rh, nh, Ge, la, ua, sh, Iu, kd, ah, zn, Au, Dd, oh, Kc, Lu, Bd, hh, Zc, Xn, La, Yn, Nu, Fd, ku, Ud, Si, Du, Gd, Bu, $d, ca, Yh, Sr, Wn, qn, Fu, jd, We;
24185
+ var Ye, Yr, Ne, Zo, Jo, Xc, Qo, Yc, th, Wc, oa, ha, eh, qc, ye, Ei, xr, Er, ih, Wr, gs, rh, nh, De, la, ua, sh, Iu, kd, ah, zn, Au, Dd, oh, Kc, Nu, Bd, hh, Zc, Xn, Na, Yn, Lu, Fd, ku, Ud, Si, Du, Gd, Bu, $d, ca, Yh, Sr, Wn, qn, Fu, jd, We;
24178
24186
  class EventMng {
24179
24187
  constructor(t, e, r, N, k, D, U, $, H) {
24180
24188
  Z(this, Jo);
@@ -24187,11 +24195,11 @@ class EventMng {
24187
24195
  Z(this, Au);
24188
24196
  Z(this, oh);
24189
24197
  // イベントを予約
24190
- Z(this, Lu);
24198
+ Z(this, Nu);
24191
24199
  Z(this, hh);
24192
24200
  Z(this, Xn);
24193
24201
  // 行末クリック待ち
24194
- Z(this, Nu);
24202
+ Z(this, Lu);
24195
24203
  // 改ページクリック待ち
24196
24204
  Z(this, ku);
24197
24205
  Z(this, Du);
@@ -24206,7 +24214,7 @@ class EventMng {
24206
24214
  analog: !1,
24207
24215
  deadZone: 0.3
24208
24216
  }));
24209
- Z(this, Le, new FocusMng());
24217
+ Z(this, Ne, new FocusMng());
24210
24218
  Z(this, Zo, (t) => {
24211
24219
  });
24212
24220
  Z(this, oa, !1);
@@ -24224,12 +24232,20 @@ class EventMng {
24224
24232
  Z(this, nh, {
24225
24233
  getBoundingClientRect: (t = 0, e = 0) => DOMRect.fromRect({ x: t, y: e, width: 0, height: 0 })
24226
24234
  });
24227
- Z(this, Ge, void 0);
24235
+ Z(this, De, void 0);
24228
24236
  Z(this, la, void 0);
24229
24237
  Z(this, ua, void 0);
24230
24238
  Z(this, sh, {
24231
24239
  placement: "bottom",
24232
- fallbackPlacements: ["top", "bottom"]
24240
+ modifiers: [
24241
+ {
24242
+ // Flip | Popper https://popper.js.org/docs/v2/modifiers/flip/
24243
+ name: "flip",
24244
+ options: {
24245
+ fallbackPlacements: ["top", "bottom"]
24246
+ }
24247
+ }
24248
+ ]
24233
24249
  });
24234
24250
  Z(this, ah, (t, e) => {
24235
24251
  });
@@ -24256,7 +24272,7 @@ class EventMng {
24256
24272
  // AndroidのBackキーだと思う
24257
24273
  });
24258
24274
  var W, K;
24259
- if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.sndMng = U, this.scrItr = $, this.sys = H, e.clear_event = (J) => tt(this, Au, Dd).call(this, J), e.event = (J) => tt(this, Lu, Bd).call(this, J), e.l = (J) => tt(this, Nu, Fd).call(this, J), e.p = (J) => tt(this, ku, Ud).call(this, J), e.s = () => ($.recodePage(), tt(this, Wr, gs).call(this, () => {
24275
+ if (this.cfg = t, this.hTag = e, this.appPixi = r, this.main = N, this.layMng = k, this.val = D, this.sndMng = U, this.scrItr = $, this.sys = H, e.clear_event = (J) => tt(this, Au, Dd).call(this, J), e.event = (J) => tt(this, Nu, Bd).call(this, J), e.l = (J) => tt(this, Lu, Fd).call(this, J), e.p = (J) => tt(this, ku, Ud).call(this, J), e.s = () => ($.recodePage(), tt(this, Wr, gs).call(this, () => {
24260
24276
  }, !1, !0)), e.set_cancel_skip = () => tt(this, Du, Gd).call(this), e.set_focus = (J) => tt(this, Bu, $d).call(this, J), e.wait = (J) => tt(this, ca, Yh).call(this, J), e.waitclick = () => tt(this, Fu, jd).call(this), U.setEvtMng(this), $.setOtherObj(this, k), TxtLayer.setEvtMng(N, this, H), k.setEvtMng(this), H.setFire((J, et) => this.fire(J, et)), CmnLib.isDbg) {
24261
24277
  const J = {
24262
24278
  pause: () => {
@@ -24314,7 +24330,7 @@ class EventMng {
24314
24330
  <div class="sn_hint" role="tooltip">
24315
24331
  <span>Dummy</span>
24316
24332
  <div class="sn_hint_ar" data-popper-arrow></div>
24317
- </div>`), Q(this, Ge, document.querySelector(".sn_hint")), Q(this, la, G(this, Ge).querySelector("span")), Q(this, ua, createPopper(G(this, nh), G(this, Ge))), G(this, Ge).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : G(this, Ye).add(r.stage, "pointerdown", (J) => {
24333
+ </div>`), Q(this, De, document.querySelector(".sn_hint")), Q(this, la, G(this, De).querySelector("span")), Q(this, ua, createPopper(G(this, nh), G(this, De))), G(this, De).hidden = !0, r.stage.interactive = !0, CmnLib.isMobile ? r.stage.on("pointerdown", (J) => this.fire("click", J)) : G(this, Ye).add(r.stage, "pointerdown", (J) => {
24318
24334
  switch (J.data.button) {
24319
24335
  case 0:
24320
24336
  this.fire("click", J);
@@ -24357,12 +24373,12 @@ class EventMng {
24357
24373
  const et = (q[1] + 1) * 3 + (q[0] + 1), it = Y[et];
24358
24374
  if (!it)
24359
24375
  return;
24360
- const at = G(this, Le).getFocus();
24376
+ const at = G(this, Ne).getFocus();
24361
24377
  (!at || at instanceof Container ? globalThis : at).dispatchEvent(new KeyboardEvent("keydown", { key: it, bubbles: !0 })), !(!at || at instanceof Container) && at.getAttribute("type") === "range" && at.dispatchEvent(new InputEvent("input", { bubbles: !0 }));
24362
24378
  }), G(this, Yr).on("gamepad:button", (J) => {
24363
24379
  if (document.hasFocus())
24364
24380
  if (J.detail.button % 2 === 0) {
24365
- const et = G(this, Le).getFocus();
24381
+ const et = G(this, Ne).getFocus();
24366
24382
  (!et || et instanceof Container ? globalThis : et).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
24367
24383
  } else
24368
24384
  Main.cvs.dispatchEvent(new Event("contextmenu"));
@@ -24374,7 +24390,7 @@ class EventMng {
24374
24390
  G(this, Ye).add(t, "keydown", (e) => tt(this, Jo, Xc).call(this, e)), G(this, Ye).add(t, "contextmenu", (e) => tt(this, Qo, Yc).call(this, e)), G(this, Zo).call(this, t);
24375
24391
  }
24376
24392
  destroy() {
24377
- G(this, Le).destroy(), G(this, Ye).clear();
24393
+ G(this, Ne).destroy(), G(this, Ye).clear();
24378
24394
  }
24379
24395
  fire(t, e) {
24380
24396
  var k;
@@ -24382,7 +24398,7 @@ class EventMng {
24382
24398
  return;
24383
24399
  const r = t.toLowerCase();
24384
24400
  if (CmnLib.debugLog && console.log(`👺 fire<(key:\`${r}\` type:${e.type} e:%o)`, { ...e }), r === "enter") {
24385
- const D = G(this, Le).getFocus();
24401
+ const D = G(this, Ne).getFocus();
24386
24402
  if (D instanceof Container) {
24387
24403
  D.emit("pointerdown", new Event("pointerdown"));
24388
24404
  return;
@@ -24416,7 +24432,7 @@ class EventMng {
24416
24432
  return tt(this, Wr, gs).call(this, t, e, r);
24417
24433
  }
24418
24434
  unButton(t) {
24419
- G(this, Le).remove(t);
24435
+ G(this, Ne).remove(t);
24420
24436
  }
24421
24437
  button(t, e, r, N, k) {
24422
24438
  var X;
@@ -24425,20 +24441,20 @@ class EventMng {
24425
24441
  U ? G(this, Ei)[D] = () => this.main.resumeByJumpOrCall(t) : G(this, ye)[D] = () => this.main.resumeByJumpOrCall(t), e.on("pointerdown", (z) => this.fire(D, z));
24426
24442
  const $ = t.hint ? () => tt(this, Iu, kd).call(this, t, e) : () => {
24427
24443
  }, H = () => {
24428
- r(), G(this, Ge).hidden = !0;
24444
+ r(), G(this, De).hidden = !0;
24429
24445
  }, V = () => ($(), N());
24430
24446
  if (e.on("pointerover", V), e.on("pointerout", () => {
24431
- G(this, Le).isFocus(e) ? V() : H();
24447
+ G(this, Ne).isFocus(e) ? V() : H();
24432
24448
  }), e.on("pointerdown", () => {
24433
- G(this, Ge).hidden = !0;
24434
- const z = G(this, Le).getFocus();
24449
+ G(this, De).hidden = !0;
24450
+ const z = G(this, Ne).getFocus();
24435
24451
  k(), z instanceof Button && z.normal();
24436
24452
  }), e.on(
24437
24453
  "pointerup",
24438
24454
  CmnLib.isMobile ? H : () => {
24439
- G(this, Le).isFocus(e) ? V() : H();
24455
+ G(this, Ne).isFocus(e) ? V() : H();
24440
24456
  }
24441
- ), G(this, Le).add(e, V, H), t.clickse && (t.clicksebuf ?? (t.clicksebuf = "SYS"), this.cfg.searchPath(t.clickse, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerdown", () => {
24457
+ ), G(this, Ne).add(e, V, H), t.clickse && (t.clicksebuf ?? (t.clicksebuf = "SYS"), this.cfg.searchPath(t.clickse, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerdown", () => {
24442
24458
  this.hTag.playse({ fn: t.clickse, buf: t.clicksebuf, join: !1 });
24443
24459
  })), t.enterse && (t.entersebuf ?? (t.entersebuf = "SYS"), this.cfg.searchPath(t.enterse, SEARCH_PATH_ARG_EXT.SOUND), e.on("pointerover", () => {
24444
24460
  this.hTag.playse({ fn: t.enterse, buf: t.entersebuf, join: !1 });
@@ -24454,10 +24470,10 @@ class EventMng {
24454
24470
  }
24455
24471
  }
24456
24472
  hideHint() {
24457
- G(this, Ge).hidden = !0;
24473
+ G(this, De).hidden = !0;
24458
24474
  }
24459
24475
  cvsResize() {
24460
- G(this, Ge).hidden = !0;
24476
+ G(this, De).hidden = !0;
24461
24477
  }
24462
24478
  // 予約イベントの発生待ちしない waitEvent()
24463
24479
  waitLimitedEvent(t, e) {
@@ -24485,7 +24501,7 @@ class EventMng {
24485
24501
  return this.scrItr.skip4page ? !0 : Object.keys(G(this, We)).some((t) => G(this, We)[t] === 2);
24486
24502
  }
24487
24503
  }
24488
- Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(), Jo = new WeakSet(), Xc = function(t) {
24504
+ Ye = new WeakMap(), Yr = new WeakMap(), Ne = new WeakMap(), Zo = new WeakMap(), Jo = new WeakSet(), Xc = function(t) {
24489
24505
  if (t.isComposing)
24490
24506
  return;
24491
24507
  t.key in G(this, We) && (G(this, We)[t.key] = t.repeat ? 2 : 1);
@@ -24523,17 +24539,17 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24523
24539
  N.local = Object.keys(G(this, ye)), N.global = Object.keys(G(this, Ei)), console.log("🎍 wait event... %o", N);
24524
24540
  }
24525
24541
  return !0;
24526
- }, rh = new WeakMap(), nh = new WeakMap(), Ge = new WeakMap(), la = new WeakMap(), ua = new WeakMap(), sh = new WeakMap(), Iu = new WeakSet(), kd = function(t, e) {
24542
+ }, rh = new WeakMap(), nh = new WeakMap(), De = new WeakMap(), la = new WeakMap(), ua = new WeakMap(), sh = new WeakMap(), Iu = new WeakSet(), kd = function(t, e) {
24527
24543
  const r = e instanceof Button ? e.getBtnBounds() : e.getBounds();
24528
24544
  if (!(t[":タグ名"] === "link")) {
24529
24545
  const k = e.parent.parent;
24530
24546
  r.x += k.x, r.y += k.y;
24531
24547
  }
24532
24548
  if (!t.hint) {
24533
- G(this, Ge).hidden = !0;
24549
+ G(this, De).hidden = !0;
24534
24550
  return;
24535
24551
  }
24536
- G(this, Ge).style.cssText = `position:${G(this, Ge).style.position}; transform:${G(this, Ge).style.transform};` + (t.hint_style ?? ""), G(this, la).style.cssText = "", G(this, la).textContent = t.hint ?? "";
24552
+ G(this, De).style.cssText = `position:${G(this, De).style.position}; transform:${G(this, De).style.transform};` + (t.hint_style ?? ""), G(this, la).style.cssText = "", G(this, la).textContent = t.hint ?? "";
24537
24553
  try {
24538
24554
  const k = t.hint_opt ? { ...G(this, sh), ...JSON.parse(t.hint_opt) } : G(this, sh);
24539
24555
  G(this, ua).setOptions(k);
@@ -24545,15 +24561,15 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24545
24561
  y: this.sys.ofsTop4elm + r.y * this.sys.cvsScale,
24546
24562
  width: r.width,
24547
24563
  height: r.height
24548
- }), G(this, ua).update(), G(this, Ge).hidden = !1;
24564
+ }), G(this, ua).update(), G(this, De).hidden = !1;
24549
24565
  }, ah = new WeakMap(), zn = new WeakMap(), Au = new WeakSet(), Dd = function(t) {
24550
24566
  const e = argChk_Boolean(t, "global", !1), r = e ? G(this, Ei) : G(this, ye);
24551
24567
  for (const [N, k] of Object.entries(r))
24552
24568
  tt(this, oh, Kc).call(this, N, k);
24553
24569
  return e ? Q(this, Ei, {}) : Q(this, ye, {}), Q(this, Er, !1), !1;
24554
24570
  }, oh = new WeakSet(), Kc = function(t, e) {
24555
- t.slice(0, 4) === "dom=" && tt(this, Xn, La).call(this, t).el.forEach((r) => r.removeEventListener("click", e));
24556
- }, Lu = new WeakSet(), Bd = function(t) {
24571
+ t.slice(0, 4) === "dom=" && tt(this, Xn, Na).call(this, t).el.forEach((r) => r.removeEventListener("click", e));
24572
+ }, Nu = new WeakSet(), Bd = function(t) {
24557
24573
  const e = t.key;
24558
24574
  if (!e)
24559
24575
  throw "keyは必須です";
@@ -24566,7 +24582,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24566
24582
  if (!t.fn && !t.label && !t.url)
24567
24583
  throw "fnまたはlabelまたはurlは必須です";
24568
24584
  if (t.fn ?? (t.fn = this.scrItr.scriptFn), e.slice(0, 4) === "dom=") {
24569
- const D = tt(this, Xn, La).call(this, e);
24585
+ const D = tt(this, Xn, Na).call(this, e);
24570
24586
  if (D.el.length === 0) {
24571
24587
  if (argChk_Boolean(t, "need_err", !0))
24572
24588
  throw `HTML内にセレクタ(${D.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
@@ -24593,7 +24609,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24593
24609
  for (const [q, W] of Object.entries(Y))
24594
24610
  this.val.setVal_Nochk("tmp", `sn.event.domdata.${q}`, W);
24595
24611
  this.fire(e, z);
24596
- }), V === 0 && G(this, Le).add(
24612
+ }), V === 0 && G(this, Ne).add(
24597
24613
  X,
24598
24614
  () => tt(this, hh, Zc).call(this, X) ? (X.focus(), !0) : !1,
24599
24615
  () => {
@@ -24612,7 +24628,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24612
24628
  e = e.parentElement;
24613
24629
  } while (e !== null);
24614
24630
  return !0;
24615
- }, Xn = new WeakSet(), La = function(t) {
24631
+ }, Xn = new WeakSet(), Na = function(t) {
24616
24632
  const e = t.indexOf(":");
24617
24633
  let r = "";
24618
24634
  if (e >= 0) {
@@ -24623,7 +24639,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24623
24639
  return r = t.slice(e + 1), { el: U.document.querySelectorAll(r), id: N, sel: r };
24624
24640
  }
24625
24641
  return r = t.slice(4), { el: document.querySelectorAll(r), id: "", sel: r };
24626
- }, Yn = new WeakMap(), Nu = new WeakSet(), Fd = function(t) {
24642
+ }, Yn = new WeakMap(), Lu = new WeakSet(), Fd = function(t) {
24627
24643
  if (this.scrItr.skip4page)
24628
24644
  return !1;
24629
24645
  if (!this.val.getVal("tmp:sn.tagL.enabled"))
@@ -24637,7 +24653,7 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24637
24653
  }
24638
24654
  return this.val.getVal("tmp:sn.auto.enabled") ? tt(this, ca, Yh).call(this, {
24639
24655
  time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecLineWait_Kidoku") : this.val.getVal("sys:sn.auto.msecLineWait"))
24640
- }) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(), tt(this, Wr, gs).call(this, () => this.main.resume()));
24656
+ }) : (argChk_Boolean(t, "visible", !0) && this.layMng.breakLine(t), tt(this, Wr, gs).call(this, () => this.main.resume()));
24641
24657
  }, ku = new WeakSet(), Ud = function(t) {
24642
24658
  if (this.scrItr.recodePage(), this.val.getVal("tmp:sn.skip.enabled")) {
24643
24659
  if (!this.val.getVal("tmp:sn.skip.all") && // 未読で停止
@@ -24650,9 +24666,9 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24650
24666
  return tt(this, ca, Yh).call(this, {
24651
24667
  time: Number(this.scrItr.isKidoku ? this.val.getVal("sys:sn.auto.msecPageWait_Kidoku") : this.val.getVal("sys:sn.auto.msecPageWait"))
24652
24668
  });
24653
- argChk_Boolean(t, "visible", !0) && this.layMng.breakPage();
24669
+ argChk_Boolean(t, "visible", !0) && this.layMng.breakPage(t);
24654
24670
  const e = () => {
24655
- this.sndMng.clearCache(), this.main.resume();
24671
+ this.sndMng.clearCache(), G(this, De).hidden = !0, this.main.resume();
24656
24672
  };
24657
24673
  return tt(this, Wr, gs).call(this, argChk_Boolean(t, "er", !1) && this.layMng.currentTxtlayFore ? () => {
24658
24674
  this.hTag.er(t), e();
@@ -24662,10 +24678,10 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24662
24678
  }, Bu = new WeakSet(), $d = function(t) {
24663
24679
  const { add: e, del: r, to: N } = t;
24664
24680
  if ((e == null ? void 0 : e.slice(0, 4)) === "dom=") {
24665
- const k = tt(this, Xn, La).call(this, e);
24681
+ const k = tt(this, Xn, Na).call(this, e);
24666
24682
  if (k.el.length === 0 && argChk_Boolean(t, "need_err", !0))
24667
24683
  throw `HTML内にセレクタ(${k.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
24668
- return k.el.forEach((D) => G(this, Le).add(
24684
+ return k.el.forEach((D) => G(this, Ne).add(
24669
24685
  D,
24670
24686
  () => tt(this, hh, Zc).call(this, D) ? (D.focus(), !0) : !1,
24671
24687
  () => {
@@ -24673,22 +24689,22 @@ Ye = new WeakMap(), Yr = new WeakMap(), Le = new WeakMap(), Zo = new WeakMap(),
24673
24689
  )), !1;
24674
24690
  }
24675
24691
  if ((r == null ? void 0 : r.slice(0, 4)) === "dom=") {
24676
- const k = tt(this, Xn, La).call(this, r);
24692
+ const k = tt(this, Xn, Na).call(this, r);
24677
24693
  if (k.el.length === 0 && argChk_Boolean(t, "need_err", !0))
24678
24694
  throw `HTML内にセレクタ(${k.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
24679
- return k.el.forEach((D) => G(this, Le).remove(D)), !1;
24695
+ return k.el.forEach((D) => G(this, Ne).remove(D)), !1;
24680
24696
  }
24681
24697
  if (!N)
24682
24698
  throw "[set_focus] add か to は必須です";
24683
24699
  switch (N) {
24684
24700
  case "null":
24685
- G(this, Le).blur();
24701
+ G(this, Ne).blur();
24686
24702
  break;
24687
24703
  case "next":
24688
- G(this, Le).next();
24704
+ G(this, Ne).next();
24689
24705
  break;
24690
24706
  case "prev":
24691
- G(this, Le).prev();
24707
+ G(this, Ne).prev();
24692
24708
  break;
24693
24709
  }
24694
24710
  return !1;
@@ -24720,7 +24736,7 @@ class CallStack {
24720
24736
  this.fn = t, this.idx = e, this.csArg = r;
24721
24737
  }
24722
24738
  }
24723
- var Qt, se, Lt, pe, ce, Tr, lh, Jc, Kn, qr, Uu, Kr, uh, Qc, ch, tf, fh, Zr, ys, Zn, Na, Jn, wr, xe, Gu, Hd, Qn, ka, $u, Vd, dh, fa, ci, ju, zd, Hu, Xd, Pr, sn, Vu, Yd, ts, es, ph, vh, mh, fi, zu, Wd, Xu, qd, Yu, Kd, _h, ef, Wu, Zd, qu, Jd, Ku, Qd, gh, rf, yh, is, Da, rs, er, Ir, bh, nf, xh, Eh, sf, Zu, Ju, Sh, Qu, tp, De, tc, ep, Th, af, ec, ic, rc, ip, nc, rp, Cr, wh, of, sc, np, ac, sp, oc, hc, ap, Ph, da, lc, op, pa, Wh, va, uc, hp, Bi, cc, lp, ma, qh, fc, up, Fi, Be;
24739
+ var Qt, se, Nt, pe, ce, Tr, lh, Jc, Kn, qr, Uu, Kr, uh, Qc, ch, tf, fh, Zr, ys, Zn, La, Jn, wr, xe, Gu, Hd, Qn, ka, $u, Vd, dh, fa, ci, ju, zd, Hu, Xd, Pr, sn, Vu, Yd, ts, es, ph, vh, mh, fi, zu, Wd, Xu, qd, Yu, Kd, _h, ef, Wu, Zd, qu, Jd, Ku, Qd, gh, rf, yh, is, Da, rs, er, Ir, bh, nf, xh, Eh, sf, Zu, Ju, Sh, Qu, tp, Be, tc, ep, Th, af, ec, ic, rc, ip, nc, rp, Cr, wh, of, sc, np, ac, sp, oc, hc, ap, Ph, da, lc, op, pa, Wh, va, uc, hp, Bi, cc, lp, ma, qh, fc, up, Fi, Fe;
24724
24740
  const si = class {
24725
24741
  constructor(t, e, r, N, k, D, U, $, H) {
24726
24742
  Z(this, lh);
@@ -24786,7 +24802,7 @@ const si = class {
24786
24802
  Z(this, fc);
24787
24803
  Z(this, Qt, { aToken: [""], len: 1, aLNum: [1] });
24788
24804
  Z(this, se, "");
24789
- Z(this, Lt, 0);
24805
+ Z(this, Nt, 0);
24790
24806
  Z(this, pe, 0);
24791
24807
  gt(this, "addLineNum", (t) => Q(this, pe, G(this, pe) + t));
24792
24808
  // 直前にジャンプ
@@ -24820,17 +24836,17 @@ const si = class {
24820
24836
  },
24821
24837
  // デバッガからの操作系
24822
24838
  continue: () => {
24823
- tt(this, Zn, Na).call(this) || (Q(this, Lt, G(this, Lt) - G(this, Zr, ys)), Q(this, xe, 3), this.main.setLoop(!0), this.main.resume());
24839
+ tt(this, Zn, La).call(this) || (Q(this, Nt, G(this, Nt) - G(this, Zr, ys)), Q(this, xe, 3), this.main.setLoop(!0), this.main.resume());
24824
24840
  },
24825
24841
  stepover: (t) => tt(this, uh, Qc).call(this, t),
24826
24842
  stepin: () => {
24827
- if (tt(this, Zn, Na).call(this))
24843
+ if (tt(this, Zn, La).call(this))
24828
24844
  return;
24829
- const t = G(this, Qt).aToken[G(this, Lt) - G(this, Zr, ys)];
24830
- this.sys.callHook(`stopOnStep${G(this, da).test(t) ? "In" : ""}`, {}), Q(this, Lt, G(this, Lt) - G(this, Zr, ys)), Q(this, xe, G(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
24845
+ const t = G(this, Qt).aToken[G(this, Nt) - G(this, Zr, ys)];
24846
+ this.sys.callHook(`stopOnStep${G(this, da).test(t) ? "In" : ""}`, {}), Q(this, Nt, G(this, Nt) - G(this, Zr, ys)), Q(this, xe, G(this, xe) === 1 ? 4 : 5), this.main.setLoop(!0), this.main.resume();
24831
24847
  },
24832
24848
  stepout: (t) => {
24833
- tt(this, Zn, Na).call(this) || (G(this, ce).length > 0 ? tt(this, ch, tf).call(this, !0) : tt(this, uh, Qc).call(this, t));
24849
+ tt(this, Zn, La).call(this) || (G(this, ce).length > 0 ? tt(this, ch, tf).call(this, !0) : tt(this, uh, Qc).call(this, t));
24834
24850
  },
24835
24851
  pause: () => {
24836
24852
  Q(this, xe, 4), this.main.setLoop(!1, "一時停止"), this.sys.send2Dbg("stopOnStep", {});
@@ -24872,7 +24888,7 @@ const si = class {
24872
24888
  Z(this, Zu, /(\*{2,})([^\|]*)/);
24873
24889
  Z(this, Ju, /\[macro\s/);
24874
24890
  Z(this, Sh, /\[endmacro[\s\]]/);
24875
- Z(this, De, /* @__PURE__ */ Object.create(null));
24891
+ Z(this, Be, /* @__PURE__ */ Object.create(null));
24876
24892
  Z(this, ec, /^\[(call|loadplugin)\s/);
24877
24893
  Z(this, ic, /\bfn\s*=\s*[^\s\]]+/);
24878
24894
  Z(this, Cr, !1);
@@ -24888,10 +24904,10 @@ const si = class {
24888
24904
  aIfStk: [-1]
24889
24905
  });
24890
24906
  Z(this, Fi, []);
24891
- Z(this, Be, -1);
24907
+ Z(this, Fe, -1);
24892
24908
  this.cfg = t, this.hTag = e, this.main = r, this.val = N, this.alzTagArg = k, this.runAnalyze = D, this.prpPrs = U, this.sndMng = $, this.sys = H, e.let_ml = (X) => tt(this, ju, zd).call(this, X), e.endlet_ml = () => !1, e.dump_stack = () => tt(this, Hu, Xd).call(this), e.dump_script = (X) => tt(this, Vu, Yd).call(this, X), e.else = // その他ifブロック開始
24893
24909
  e.elsif = // 別条件のifブロック開始
24894
- e.endif = () => tt(this, zu, Wd).call(this), e.if = (X) => tt(this, Xu, qd).call(this, X), e.call = (X) => tt(this, Yu, Kd).call(this, X), e.jump = (X) => tt(this, Wu, Zd).call(this, X), e.page = (X) => tt(this, qu, Jd).call(this, X), e.pop_stack = (X) => tt(this, Ku, Qd).call(this, X), e.return = (X) => tt(this, gh, rf).call(this, X), e.bracket2macro = (X) => tt(this, sc, np).call(this, X), e.char2macro = (X) => tt(this, ac, sp).call(this, X), e.endmacro = (X) => tt(this, gh, rf).call(this, X), e.macro = (X) => tt(this, hc, ap).call(this, X), e.load = (X) => tt(this, lc, op).call(this, X), e.reload_script = (X) => tt(this, uc, hp).call(this, X), e.record_place = () => tt(this, cc, lp).call(this), e.save = (X) => tt(this, fc, up).call(this, X), t.oCfg.debug.token && Q(this, xh, (X) => console.log(`🌱 トークン fn:${G(this, se)} idx:${G(this, Lt)} ln:${G(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => G(this, ce).length);
24910
+ e.endif = () => tt(this, zu, Wd).call(this), e.if = (X) => tt(this, Xu, qd).call(this, X), e.call = (X) => tt(this, Yu, Kd).call(this, X), e.jump = (X) => tt(this, Wu, Zd).call(this, X), e.page = (X) => tt(this, qu, Jd).call(this, X), e.pop_stack = (X) => tt(this, Ku, Qd).call(this, X), e.return = (X) => tt(this, gh, rf).call(this, X), e.bracket2macro = (X) => tt(this, sc, np).call(this, X), e.char2macro = (X) => tt(this, ac, sp).call(this, X), e.endmacro = (X) => tt(this, gh, rf).call(this, X), e.macro = (X) => tt(this, hc, ap).call(this, X), e.load = (X) => tt(this, lc, op).call(this, X), e.reload_script = (X) => tt(this, uc, hp).call(this, X), e.record_place = () => tt(this, cc, lp).call(this), e.save = (X) => tt(this, fc, up).call(this, X), t.oCfg.debug.token && Q(this, xh, (X) => console.log(`🌱 トークン fn:${G(this, se)} idx:${G(this, Nt)} ln:${G(this, pe)} token【${X}】`)), N.defTmp("const.sn.vctCallStk.length", () => G(this, ce).length);
24895
24911
  const V = t.oCfg.init.escape;
24896
24912
  if (G(this, Tr).setEscape(V), RubySpliter.setEscape(V), CmnLib.isDbg) {
24897
24913
  H.addHook((z, Y) => {
@@ -24928,19 +24944,19 @@ const si = class {
24928
24944
  } else
24929
24945
  this.recodeDesign = () => {
24930
24946
  };
24931
- t.oCfg.debug.tag && Q(this, dh, (X) => console.log(`🌲 タグ解析 fn:${G(this, se)} idx:${G(this, Lt)} ln:${G(this, pe)} [${X} %o]`, this.alzTagArg.hPrm));
24947
+ t.oCfg.debug.tag && Q(this, dh, (X) => console.log(`🌲 タグ解析 fn:${G(this, se)} idx:${G(this, Nt)} ln:${G(this, pe)} [${X} %o]`, this.alzTagArg.hPrm));
24932
24948
  }
24933
24949
  get scriptFn() {
24934
24950
  return G(this, se);
24935
24951
  }
24936
24952
  subIdxToken() {
24937
- --Te(this, Lt)._;
24953
+ --Te(this, Nt)._;
24938
24954
  }
24939
24955
  get lineNum() {
24940
24956
  return G(this, pe);
24941
24957
  }
24942
24958
  jumpJustBefore() {
24943
- tt(this, er, Ir).call(this, G(this, se), "", --Te(this, Lt)._);
24959
+ tt(this, er, Ir).call(this, G(this, se), "", --Te(this, Nt)._);
24944
24960
  }
24945
24961
  destroy() {
24946
24962
  this.isBreak = () => !1;
@@ -24993,17 +25009,17 @@ const si = class {
24993
25009
  Q(this, fa, t), Q(this, ci, e);
24994
25010
  }
24995
25011
  dumpErrForeLine() {
24996
- if (G(this, Lt) === 0) {
25012
+ if (G(this, Nt) === 0) {
24997
25013
  console.group(`🥟 Error line (from 0 rows before) fn:${G(this, se)}`), console.groupEnd();
24998
25014
  return;
24999
25015
  }
25000
25016
  let t = "";
25001
- for (let D = G(this, Lt) - 1; D >= 0 && (t = G(this, Qt).aToken[D] + t, !((t.match(/\n/g) ?? []).length >= G(this, mh))); --D)
25017
+ for (let D = G(this, Nt) - 1; D >= 0 && (t = G(this, Qt).aToken[D] + t, !((t.match(/\n/g) ?? []).length >= G(this, mh))); --D)
25002
25018
  ;
25003
25019
  const e = t.split(`
25004
25020
  `).slice(-G(this, mh)), r = e.length;
25005
25021
  console.group(`🥟 Error line (from ${r} rows before) fn:${G(this, se)}`);
25006
- const N = String(G(this, pe)).length, k = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Lt));
25022
+ const N = String(G(this, pe)).length, k = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Nt));
25007
25023
  for (let D = 0; D < r; ++D) {
25008
25024
  const U = G(this, pe) - r + D + 1, $ = `${String(U).padStart(N, " ")}: %c`, H = e[D], V = H.length > 75 ? H.slice(0, 75) + "…" : H;
25009
25025
  D === r - 1 ? console.info(
@@ -25015,18 +25031,18 @@ const si = class {
25015
25031
  console.groupEnd();
25016
25032
  }
25017
25033
  analyzeInit() {
25018
- const t = tt(this, Qu, tp).call(this, G(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), G(this, pe), G(this, rs), G(this, Lt));
25019
- Q(this, Lt, t.idx), Q(this, pe, t.ln), this.runAnalyze();
25034
+ const t = tt(this, Qu, tp).call(this, G(this, Qt), !!this.val.getVal("mp:const.sn.macro.name"), G(this, pe), G(this, rs), G(this, Nt));
25035
+ Q(this, Nt, t.idx), Q(this, pe, t.ln), this.runAnalyze();
25020
25036
  }
25021
25037
  get isKidoku() {
25022
25038
  return G(this, Cr);
25023
25039
  }
25024
25040
  get isNextKidoku() {
25025
- let t = G(this, se), e = G(this, Lt), r = G(this, Qt).len;
25041
+ let t = G(this, se), e = G(this, Nt), r = G(this, Qt).len;
25026
25042
  if (G(this, ce).length > 0) {
25027
25043
  const k = G(this, ce)[0];
25028
25044
  t = k.fn, e = k.idx;
25029
- const D = G(this, De)[t];
25045
+ const D = G(this, Be)[t];
25030
25046
  D && (r = D.len);
25031
25047
  }
25032
25048
  const N = this.val.getAreaKidoku(t);
@@ -25043,7 +25059,7 @@ const si = class {
25043
25059
  return;
25044
25060
  const { fn: t, idx: e } = tt(this, ma, qh).call(this), r = e - 1, N = r + ":" + t, k = G(this, Fi).findIndex((U) => U.key === N);
25045
25061
  if (k > -1) {
25046
- Q(this, Be, k);
25062
+ Q(this, Fe, k);
25047
25063
  return;
25048
25064
  }
25049
25065
  const D = {
@@ -25054,11 +25070,11 @@ const si = class {
25054
25070
  retIdx: 0,
25055
25071
  retMark: { ...G(this, Bi) }
25056
25072
  };
25057
- if (G(this, Be) >= 0) {
25058
- const U = G(this, Fi)[G(this, Be)];
25073
+ if (G(this, Fe) >= 0) {
25074
+ const U = G(this, Fi)[G(this, Fe)];
25059
25075
  D.retFn = U.fn, D.retIdx = U.idx + 1;
25060
25076
  }
25061
- ++Te(this, Be)._ === G(this, Fi).length ? G(this, Fi).push(D) : G(this, Fi)[G(this, Be)] = D;
25077
+ ++Te(this, Fe)._ === G(this, Fi).length ? G(this, Fi).push(D) : G(this, Fi)[G(this, Fe)] = D;
25062
25078
  }
25063
25079
  recodeDesign(t) {
25064
25080
  let e = "", r = 0;
@@ -25067,31 +25083,31 @@ const si = class {
25067
25083
  const U = G(this, ce)[0];
25068
25084
  e = U.fn, r = U.idx;
25069
25085
  } else
25070
- e = G(this, se), r = G(this, Lt);
25086
+ e = G(this, se), r = G(this, Nt);
25071
25087
  t[":path"] = G(this, Kr).call(this, e);
25072
- const k = tt(this, Pr, sn).call(this, G(this, De)[e], r);
25088
+ const k = tt(this, Pr, sn).call(this, G(this, Be)[e], r);
25073
25089
  t[":ln"] = k.ln, t[":col_s"] = k.col_s, t[":col_e"] = k.col_e;
25074
25090
  const D = r - 1;
25075
- t[":idx_tkn"] = D, t[":token"] = G(this, De)[e].aToken[D], this.sys.send2Dbg("_recodeDesign", t);
25091
+ t[":idx_tkn"] = D, t[":token"] = G(this, Be)[e].aToken[D], this.sys.send2Dbg("_recodeDesign", t);
25076
25092
  }
25077
25093
  replace(t, e) {
25078
25094
  G(this, Qt).aToken[t] = e;
25079
25095
  }
25080
25096
  };
25081
25097
  let ScriptIterator = si;
25082
- Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), Tr = new WeakMap(), lh = new WeakSet(), Jc = function(t, e) {
25098
+ Qt = new WeakMap(), se = new WeakMap(), Nt = new WeakMap(), pe = new WeakMap(), ce = new WeakMap(), Tr = new WeakMap(), lh = new WeakSet(), Jc = function(t, e) {
25083
25099
  G(si, Jn)[G(this, Kr).call(this, t)] = e;
25084
25100
  }, Kn = new WeakMap(), qr = new WeakMap(), Uu = new WeakMap(), Kr = new WeakMap(), uh = new WeakSet(), Qc = function(t) {
25085
- if (tt(this, Zn, Na).call(this))
25101
+ if (tt(this, Zn, La).call(this))
25086
25102
  return;
25087
- const e = G(this, Qt).aToken[G(this, Lt) - G(this, Zr, ys)];
25103
+ const e = G(this, Qt).aToken[G(this, Nt) - G(this, Zr, ys)];
25088
25104
  G(this, da).test(e) ? tt(this, ch, tf).call(this, !1) : (this.sys.callHook("stopOnStep", {}), G(this, Kn).stepin(t));
25089
25105
  }, ch = new WeakSet(), tf = function(t) {
25090
- this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), Q(this, fh, G(this, ce).length - (t ? 1 : 0)), Q(this, Lt, G(this, Lt) - G(this, Zr, ys)), Q(this, xe, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
25106
+ this.sys.callHook(`stopOnStep${t ? "Out" : ""}`, {}), Q(this, fh, G(this, ce).length - (t ? 1 : 0)), Q(this, Nt, G(this, Nt) - G(this, Zr, ys)), Q(this, xe, t ? 7 : 6), this.main.setLoop(!0), this.main.resume();
25091
25107
  }, fh = new WeakMap(), Zr = new WeakSet(), ys = function() {
25092
25108
  return G(this, xe) === 2 || G(this, xe) === 4 ? 1 : 0;
25093
- }, Zn = new WeakSet(), Na = function() {
25094
- return G(this, Lt) < G(this, Qt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "スクリプト終端です"), !0);
25109
+ }, Zn = new WeakSet(), La = function() {
25110
+ return G(this, Nt) < G(this, Qt).len ? !1 : (this.sys.callHook("stopOnEntry", {}), this.main.setLoop(!1, "スクリプト終端です"), !0);
25095
25111
  }, Jn = new WeakMap(), wr = new WeakMap(), xe = new WeakMap(), Gu = new WeakSet(), Hd = function(t) {
25096
25112
  switch (G(this, xe)) {
25097
25113
  case 6:
@@ -25137,14 +25153,14 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25137
25153
  const t = (e = G(si, Jn)[getFn(G(this, se))]) == null ? void 0 : e[G(this, pe)];
25138
25154
  t != null && t.hitCondition && --t.hitCondition;
25139
25155
  }, $u = new WeakSet(), Vd = function() {
25140
- const t = G(this, xe) === 3 ? 1 : 0, e = G(this, Qt).aToken[G(this, Lt) - 1 + t], r = G(this, Kr).call(this, G(this, se)), N = tagToken2Name(e), k = N ? `[${N}]` : e, D = this.val.getVal("mp:const.sn.macro") ?? "{}";
25141
- if (G(this, Lt) === 0)
25156
+ const t = G(this, xe) === 3 ? 1 : 0, e = G(this, Qt).aToken[G(this, Nt) - 1 + t], r = G(this, Kr).call(this, G(this, se)), N = tagToken2Name(e), k = N ? `[${N}]` : e, D = this.val.getVal("mp:const.sn.macro") ?? "{}";
25157
+ if (G(this, Nt) === 0)
25142
25158
  return [{ fn: r, ln: 1, col: 1, nm: k, ma: D }];
25143
- const U = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Lt)), $ = [{ fn: r, ln: U.ln, col: U.col_s + 1, nm: k, ma: D }], H = G(this, ce).length;
25159
+ const U = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Nt)), $ = [{ fn: r, ln: U.ln, col: U.col_s + 1, nm: k, ma: D }], H = G(this, ce).length;
25144
25160
  if (H === 0)
25145
25161
  return $;
25146
25162
  for (let V = H - 1; V >= 0; --V) {
25147
- const X = G(this, ce)[V], z = G(this, De)[X.fn], Y = z.aToken[X.idx - 1], q = tt(this, Pr, sn).call(this, z, X.idx), W = tagToken2Name(Y);
25163
+ const X = G(this, ce)[V], z = G(this, Be)[X.fn], Y = z.aToken[X.idx - 1], q = tt(this, Pr, sn).call(this, z, X.idx), W = tagToken2Name(Y);
25148
25164
  $.push({
25149
25165
  fn: G(this, Kr).call(this, X.fn),
25150
25166
  ln: q.ln,
@@ -25160,19 +25176,19 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25160
25176
  throw "nameは必須です";
25161
25177
  let r = "";
25162
25178
  const N = G(this, Qt).len;
25163
- for (; G(this, Lt) < N && (r = G(this, Qt).aToken[G(this, Lt)], r === ""); ++Te(this, Lt)._)
25179
+ for (; G(this, Nt) < N && (r = G(this, Qt).aToken[G(this, Nt)], r === ""); ++Te(this, Nt)._)
25164
25180
  ;
25165
- return t.text = r, t.cast = "str", this.hTag.let(t), Q(this, Lt, G(this, Lt) + 2), Q(this, pe, G(this, pe) + (r.match(/\n/g) ?? []).length), !1;
25181
+ return t.text = r, t.cast = "str", this.hTag.let(t), Q(this, Nt, G(this, Nt) + 2), Q(this, pe, G(this, pe) + (r.match(/\n/g) ?? []).length), !1;
25166
25182
  }, Hu = new WeakSet(), Xd = function() {
25167
- if (G(this, Lt) === 0)
25183
+ if (G(this, Nt) === 0)
25168
25184
  return console.group(`🥟 [dump_stack] スクリプト現在地 fn:${G(this, se)} line:1 col:0`), console.groupEnd(), !1;
25169
- const t = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Lt)), e = `スクリプト現在地 fn:${G(this, se)} line:${t.ln} col:${t.col_s + 1}`;
25185
+ const t = tt(this, Pr, sn).call(this, G(this, Qt), G(this, Nt)), e = `スクリプト現在地 fn:${G(this, se)} line:${t.ln} col:${t.col_s + 1}`;
25170
25186
  console.group(`🥟 [dump_stack] ${e}`);
25171
25187
  const r = G(this, ce).length;
25172
25188
  if (r > 0) {
25173
25189
  console.info(e);
25174
25190
  for (let N = r - 1; N >= 0; --N) {
25175
- const k = G(this, ce)[N], D = k.csArg[":hMp"], U = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = tt(this, Pr, sn).call(this, G(this, De)[k.fn], k.idx);
25191
+ const k = G(this, ce)[N], D = k.csArg[":hMp"], U = D ? D[":タグ名"] : void 0, $ = k.csArg[":タグ名"] ?? "", H = tt(this, Pr, sn).call(this, G(this, Be)[k.fn], k.idx);
25176
25192
  console.info(
25177
25193
  `${r - N}つ前のコール元 fn:${k.fn} line:${H.ln} col:${H.col_s + 1}` + (U ? "([" + U + "]マクロ内)" : " ") + `で [${$} ...]をコール`
25178
25194
  );
@@ -25219,21 +25235,21 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25219
25235
  }, ts = new WeakMap(), es = new WeakMap(), ph = new WeakMap(), vh = new WeakMap(), mh = new WeakMap(), fi = new WeakMap(), zu = new WeakSet(), Wd = function() {
25220
25236
  if (G(this, fi)[0] === -1)
25221
25237
  throw "ifブロック内ではありません";
25222
- return Q(this, Lt, G(this, fi)[0]), G(this, fi).shift(), !1;
25238
+ return Q(this, Nt, G(this, fi)[0]), G(this, fi).shift(), !1;
25223
25239
  }, Xu = new WeakSet(), qd = function(t) {
25224
25240
  const { exp: e } = t;
25225
25241
  if (!e)
25226
25242
  throw "expは必須です";
25227
25243
  if (e.at(0) === "&")
25228
25244
  throw "属性expは「&」が不要です";
25229
- let r = 0, N = this.prpPrs.parse(e) ? G(this, Lt) : -1;
25230
- const k = G(this, Qt).aLNum[G(this, Lt)];
25245
+ let r = 0, N = this.prpPrs.parse(e) ? G(this, Nt) : -1;
25246
+ const k = G(this, Qt).aLNum[G(this, Nt)];
25231
25247
  let D = G(this, pe) - (k || 0);
25232
25248
  const U = G(this, Qt).len;
25233
- for (; G(this, Lt) < U; ++Te(this, Lt)._) {
25234
- const $ = G(this, Qt).aLNum[G(this, Lt)];
25235
- G(this, Qt).aLNum[G(this, Lt)] = ($ || 0) + D;
25236
- const H = G(this, Qt).aToken[G(this, Lt)];
25249
+ for (; G(this, Nt) < U; ++Te(this, Nt)._) {
25250
+ const $ = G(this, Qt).aLNum[G(this, Nt)];
25251
+ G(this, Qt).aLNum[G(this, Nt)] = ($ || 0) + D;
25252
+ const H = G(this, Qt).aToken[G(this, Nt)];
25237
25253
  if (!H)
25238
25254
  continue;
25239
25255
  const V = H.charCodeAt(0);
@@ -25256,19 +25272,19 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25256
25272
  const Y = this.alzTagArg.hPrm.exp.val;
25257
25273
  if (Y.at(0) === "&")
25258
25274
  throw "属性expは「&」が不要です";
25259
- this.prpPrs.parse(Y) && (N = G(this, Lt) + 1);
25275
+ this.prpPrs.parse(Y) && (N = G(this, Nt) + 1);
25260
25276
  break;
25261
25277
  case "else":
25262
25278
  if (r > 0)
25263
25279
  break;
25264
- N === -1 && (N = G(this, Lt) + 1);
25280
+ N === -1 && (N = G(this, Nt) + 1);
25265
25281
  break;
25266
25282
  case "endif":
25267
25283
  if (r > 0) {
25268
25284
  --r;
25269
25285
  break;
25270
25286
  }
25271
- return N === -1 ? (++Te(this, Lt)._, G(this, Qt).aLNum[G(this, Lt)] += D) : (G(this, fi).unshift(G(this, Lt) + 1), Q(this, Lt, N), Q(this, pe, G(this, Qt).aLNum[G(this, Lt)])), !1;
25287
+ return N === -1 ? (++Te(this, Nt)._, G(this, Qt).aLNum[G(this, Nt)] += D) : (G(this, fi).unshift(G(this, Nt) + 1), Q(this, Nt, N), Q(this, pe, G(this, Qt).aLNum[G(this, Nt)])), !1;
25272
25288
  }
25273
25289
  }
25274
25290
  throw "[endif]がないままスクリプト終端です";
@@ -25277,32 +25293,32 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25277
25293
  const { fn: e } = t;
25278
25294
  return e && G(this, qr).call(this, e), tt(this, _h, ef).call(this, { ":hEvt1Time": G(this, fa).popLocalEvts(), ":hMp": this.val.cloneMp() }), argChk_Boolean(t, "clear_local_event", !1) && this.hTag.clear_event({}), tt(this, er, Ir).call(this, e, t.label), !0;
25279
25295
  }, _h = new WeakSet(), ef = function(t) {
25280
- G(this, Qt).aLNum[G(this, Lt)] = G(this, pe), G(this, yh) || (t[":resvToken"] = "", tt(this, is, Da).call(this)), G(this, ce).push(new CallStack(G(this, se), G(this, Lt), t)), G(this, fi).unshift(-1);
25296
+ G(this, Qt).aLNum[G(this, Nt)] = G(this, pe), G(this, yh) || (t[":resvToken"] = "", tt(this, is, Da).call(this)), G(this, ce).push(new CallStack(G(this, se), G(this, Nt), t)), G(this, fi).unshift(-1);
25281
25297
  }, Wu = new WeakSet(), Zd = function(t) {
25282
25298
  return argChk_Boolean(t, "count", !0) || tt(this, wh, of).call(this), G(this, fi)[0] = -1, tt(this, er, Ir).call(this, t.fn, t.label), !0;
25283
25299
  }, qu = new WeakSet(), Jd = function(t) {
25284
- if (G(this, Be) === -1)
25300
+ if (G(this, Fe) === -1)
25285
25301
  return !1;
25286
25302
  if (argChk_Boolean(t, "clear", !1))
25287
- return Q(this, Fi, []), Q(this, Be, -1), !1;
25303
+ return Q(this, Fi, []), Q(this, Fe, -1), !1;
25288
25304
  const { to: e } = t;
25289
25305
  if (!e)
25290
25306
  throw "clearかtoは必須です";
25291
- const r = G(this, Be);
25307
+ const r = G(this, Fe);
25292
25308
  switch (e) {
25293
25309
  case "prev":
25294
- G(this, Be) > 0 && --Te(this, Be)._;
25310
+ G(this, Fe) > 0 && --Te(this, Fe)._;
25295
25311
  break;
25296
25312
  case "next":
25297
25313
  const U = G(this, Fi).length;
25298
- G(this, Be) < U - 1 && ++Te(this, Be)._;
25314
+ G(this, Fe) < U - 1 && ++Te(this, Fe)._;
25299
25315
  break;
25300
25316
  default:
25301
25317
  throw `属性to「${e}」は異常です`;
25302
25318
  }
25303
- if (r === G(this, Be))
25319
+ if (r === G(this, Fe))
25304
25320
  return !1;
25305
- const N = G(this, Fi)[G(this, Be)], { fn: k, idx: D } = tt(this, ma, qh).call(this);
25321
+ const N = G(this, Fi)[G(this, Fe)], { fn: k, idx: D } = tt(this, ma, qh).call(this);
25306
25322
  return N.key === D + ":" + k ? !1 : tt(this, pa, Wh).call(this, { fn: N.retFn, index: N.retIdx }, N.retMark);
25307
25323
  }, Ku = new WeakSet(), Qd = function(t) {
25308
25324
  if (argChk_Boolean(t, "clear", !1))
@@ -25321,11 +25337,11 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25321
25337
  const k = r[":resvToken"];
25322
25338
  k ? this.nextToken = () => (tt(this, is, Da).call(this), k) : tt(this, is, Da).call(this), r[":hEvt1Time"] && G(this, fa).pushLocalEvts(r[":hEvt1Time"]);
25323
25339
  const { fn: D, label: U } = t;
25324
- return D || U ? (tt(this, er, Ir).call(this, D, U), !0) : e.fn in G(this, De) ? (tt(this, Th, af).call(this, e), !1) : (tt(this, er, Ir).call(this, e.fn, "", e.idx), !0);
25340
+ return D || U ? (tt(this, er, Ir).call(this, D, U), !0) : e.fn in G(this, Be) ? (tt(this, Th, af).call(this, e), !1) : (tt(this, er, Ir).call(this, e.fn, "", e.idx), !0);
25325
25341
  }, yh = new WeakMap(), is = new WeakSet(), Da = function() {
25326
25342
  Q(this, yh, ""), this.nextToken = tt(this, bh, nf);
25327
25343
  }, rs = new WeakMap(), er = new WeakSet(), Ir = function(t = "", e = "", r = 0) {
25328
- if (!t && !e && this.main.errScript("[jump系] fnまたはlabelは必須です"), e ? (e.at(0) !== "*" && this.main.errScript("[jump系] labelは*で始まります"), Q(this, rs, e), G(this, rs).slice(0, 2) !== "**" && Q(this, Lt, r)) : (Q(this, rs, ""), Q(this, Lt, r)), !t) {
25344
+ if (!t && !e && this.main.errScript("[jump系] fnまたはlabelは必須です"), e ? (e.at(0) !== "*" && this.main.errScript("[jump系] labelは*で始まります"), Q(this, rs, e), G(this, rs).slice(0, 2) !== "**" && Q(this, Nt, r)) : (Q(this, rs, ""), Q(this, Nt, r)), !t) {
25329
25345
  this.analyzeInit();
25330
25346
  return;
25331
25347
  }
@@ -25337,7 +25353,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25337
25353
  return;
25338
25354
  }
25339
25355
  Q(this, se, t);
25340
- const k = G(this, De)[t];
25356
+ const k = G(this, Be)[t];
25341
25357
  if (k) {
25342
25358
  Q(this, Qt, k), this.analyzeInit();
25343
25359
  return;
@@ -25372,11 +25388,11 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25372
25388
  var e, r;
25373
25389
  if (tt(this, Eh, sf).call(this))
25374
25390
  return "";
25375
- tt(this, nc, rp).call(this), (e = G(this, Qt).aLNum)[r = G(this, Lt)] || (e[r] = G(this, pe));
25376
- const t = G(this, Qt).aToken[G(this, Lt)];
25377
- return G(this, xh).call(this, t), ++Te(this, Lt)._, t;
25391
+ tt(this, nc, rp).call(this), (e = G(this, Qt).aLNum)[r = G(this, Nt)] || (e[r] = G(this, pe));
25392
+ const t = G(this, Qt).aToken[G(this, Nt)];
25393
+ return G(this, xh).call(this, t), ++Te(this, Nt)._, t;
25378
25394
  }, xh = new WeakMap(), Eh = new WeakSet(), sf = function() {
25379
- return G(this, Lt) < G(this, Qt).len ? !1 : (this.main.errScript("スクリプト終端です"), !0);
25395
+ return G(this, Nt) < G(this, Qt).len ? !1 : (this.main.errScript("スクリプト終端です"), !0);
25380
25396
  }, Zu = new WeakMap(), Ju = new WeakMap(), Sh = new WeakMap(), Qu = new WeakSet(), tp = function(t, e, r, N, k) {
25381
25397
  var V, X;
25382
25398
  const D = t.aToken.length;
@@ -25439,19 +25455,19 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25439
25455
  q === 91 && (r += (Y.match(/\n/g) ?? []).length, G(this, Tr).testTagLetml(Y) && (H = !0));
25440
25456
  }
25441
25457
  throw H ? "[let_ml]の終端・[endlet_ml]がありません" : (DebugMng.myTrace(`[jump系] ラベル【${N}】がありません`, "ET"), "Dummy");
25442
- }, De = new WeakMap(), tc = new WeakSet(), ep = function(t) {
25458
+ }, Be = new WeakMap(), tc = new WeakSet(), ep = function(t) {
25443
25459
  let e = "";
25444
25460
  try {
25445
25461
  e = "ScriptIterator.resolveScript";
25446
25462
  const r = G(this, Tr).resolveScript(t);
25447
- e = "ScriptIterator.replaceScript_Wildcard", tt(this, rc, ip).call(this, r), G(this, De)[G(this, se)] = Q(this, Qt, r);
25463
+ e = "ScriptIterator.replaceScript_Wildcard", tt(this, rc, ip).call(this, r), G(this, Be)[G(this, se)] = Q(this, Qt, r);
25448
25464
  } catch (r) {
25449
25465
  r instanceof Error ? e += `例外 mes=${r.message}(${r.name})` : e = r, this.main.errScript(e, !1);
25450
25466
  }
25451
25467
  this.val.loadScrWork(G(this, se));
25452
25468
  }, Th = new WeakSet(), af = function(t) {
25453
- Q(this, se, t.fn), Q(this, Lt, t.idx);
25454
- const e = G(this, De)[G(this, se)];
25469
+ Q(this, se, t.fn), Q(this, Nt, t.idx);
25470
+ const e = G(this, Be)[G(this, se)];
25455
25471
  e && Q(this, Qt, e), Q(this, pe, G(this, Qt).aLNum[t.idx]);
25456
25472
  }, ec = new WeakMap(), ic = new WeakMap(), rc = new WeakSet(), ip = function(t) {
25457
25473
  for (let e = t.len - 1; e >= 0; --e) {
@@ -25482,17 +25498,17 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25482
25498
  if (!t)
25483
25499
  throw `recordKidoku fn:'${G(this, se)}' (areas === null)`;
25484
25500
  if (G(this, ce).length > 0) {
25485
- t.record(G(this, Lt));
25501
+ t.record(G(this, Nt));
25486
25502
  return;
25487
25503
  }
25488
- Q(this, Cr, t.search(G(this, Lt))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", G(this, Cr)), !G(this, Cr) && t.record(G(this, Lt));
25504
+ Q(this, Cr, t.search(G(this, Nt))), this.val.setVal_Nochk("tmp", "const.sn.isKidoku", G(this, Cr)), !G(this, Cr) && t.record(G(this, Nt));
25489
25505
  }, Cr = new WeakMap(), wh = new WeakSet(), of = function() {
25490
25506
  var t;
25491
- (t = this.val.getAreaKidoku(G(this, se))) == null || t.erase(G(this, Lt)), Q(this, Cr, !1);
25507
+ (t = this.val.getAreaKidoku(G(this, se))) == null || t.erase(G(this, Nt)), Q(this, Cr, !1);
25492
25508
  }, sc = new WeakSet(), np = function(t) {
25493
- return G(this, Tr).bracket2macro(t, this.hTag, G(this, Qt), G(this, Lt)), !1;
25509
+ return G(this, Tr).bracket2macro(t, this.hTag, G(this, Qt), G(this, Nt)), !1;
25494
25510
  }, ac = new WeakSet(), sp = function(t) {
25495
- return G(this, Tr).char2macro(t, this.hTag, G(this, Qt), G(this, Lt)), !1;
25511
+ return G(this, Tr).char2macro(t, this.hTag, G(this, Qt), G(this, Nt)), !1;
25496
25512
  }, oc = new WeakMap(), hc = new WeakSet(), ap = function(t) {
25497
25513
  var k, D;
25498
25514
  const { name: e } = t;
@@ -25502,12 +25518,12 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25502
25518
  throw `[${e}]はタグかすでに定義済みのマクロです`;
25503
25519
  if (G(this, oc).test(e))
25504
25520
  throw `[${e}]はマクロ名として異常です`;
25505
- const r = G(this, pe), N = new CallStack(G(this, se), G(this, Lt));
25506
- for (Q(this, Ph, G(this, Ph) + ("|" + e)), Q(this, da, new RegExp(`\\[(${G(this, Ph)})\\b`)), this.hTag[e] = (U) => (U.design_unit = t.design_unit, tt(this, _h, ef).call(this, { ...U, ":hMp": this.val.cloneMp() }), this.val.setMp(U), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", G(this, se)), Q(this, pe, r), tt(this, Th, af).call(this, N), !1); G(this, Lt) < G(this, Qt).len; ++Te(this, Lt)._) {
25507
- (k = G(this, Qt).aLNum)[D = G(this, Lt)] || (k[D] = G(this, pe));
25508
- const U = G(this, Qt).aToken[G(this, Lt)];
25521
+ const r = G(this, pe), N = new CallStack(G(this, se), G(this, Nt));
25522
+ for (Q(this, Ph, G(this, Ph) + ("|" + e)), Q(this, da, new RegExp(`\\[(${G(this, Ph)})\\b`)), this.hTag[e] = (U) => (U.design_unit = t.design_unit, tt(this, _h, ef).call(this, { ...U, ":hMp": this.val.cloneMp() }), this.val.setMp(U), this.val.setVal_Nochk("mp", "const.sn.macro", JSON.stringify(t)), this.val.setVal_Nochk("mp", "const.sn.me_call_scriptFn", G(this, se)), Q(this, pe, r), tt(this, Th, af).call(this, N), !1); G(this, Nt) < G(this, Qt).len; ++Te(this, Nt)._) {
25523
+ (k = G(this, Qt).aLNum)[D = G(this, Nt)] || (k[D] = G(this, pe));
25524
+ const U = G(this, Qt).aToken[G(this, Nt)];
25509
25525
  if (U.search(G(this, Sh)) > -1)
25510
- return ++Te(this, Lt)._, !1;
25526
+ return ++Te(this, Nt)._, !1;
25511
25527
  const $ = U.charCodeAt(0);
25512
25528
  $ === 10 ? Q(this, pe, G(this, pe) + U.length) : $ === 91 && Q(this, pe, G(this, pe) + (U.match(/\n/g) ?? []).length);
25513
25529
  }
@@ -25537,25 +25553,25 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25537
25553
  const k = String(this.val.getVal("save:const.sn.scriptFn")), D = Number(this.val.getVal("save:const.sn.scriptIdx"));
25538
25554
  return Q(this, fi, [...G(this, Bi).aIfStk]), Q(this, ce, []), G(this, ci).cover(!0), G(this, ci).stopAllTw(), "index" in t ? (G(this, ci).playback(G(this, Bi).hPages, () => {
25539
25555
  G(this, ci).cover(!1), Q(this, va, !0), tt(this, er, Ir).call(this, t.fn ?? k, "", t.index ?? D);
25540
- }), !0) : (delete G(this, De)[k], G(this, ci).playback(
25556
+ }), !0) : (delete G(this, Be)[k], G(this, ci).playback(
25541
25557
  G(this, Bi).hPages,
25542
25558
  "label" in t ? () => {
25543
- G(this, ci).cover(!1), Q(this, se, k), Q(this, Lt, D), this.hTag.call({ fn: t.fn, label: t.label });
25559
+ G(this, ci).cover(!1), Q(this, se, k), Q(this, Nt, D), this.hTag.call({ fn: t.fn, label: t.label });
25544
25560
  } : () => {
25545
25561
  G(this, ci).cover(!1), tt(this, er, Ir).call(this, k, "", D);
25546
25562
  }
25547
25563
  ), !0);
25548
25564
  }, va = new WeakMap(), uc = new WeakSet(), hp = function(t) {
25549
25565
  const e = this.val.getMark(0);
25550
- delete G(this, De)[getFn(e.hSave["const.sn.scriptFn"])];
25566
+ delete G(this, Be)[getFn(e.hSave["const.sn.scriptFn"])];
25551
25567
  const r = {};
25552
- for (const N in G(this, De))
25568
+ for (const N in G(this, Be))
25553
25569
  try {
25554
25570
  G(this, qr).call(this, N + "@");
25555
25571
  } catch {
25556
- r[N] = G(this, De)[N];
25572
+ r[N] = G(this, Be)[N];
25557
25573
  }
25558
- return Q(this, De, r), t.do_rec = !1, tt(this, pa, Wh).call(this, t, e, !1);
25574
+ return Q(this, Be, r), t.do_rec = !1, tt(this, pa, Wh).call(this, t, e, !1);
25559
25575
  }, Bi = new WeakMap(), cc = new WeakSet(), lp = function() {
25560
25576
  if (this.main.isDestroyed())
25561
25577
  return !1;
@@ -25569,7 +25585,7 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25569
25585
  if (G(this, ce).length === 0)
25570
25586
  return {
25571
25587
  fn: G(this, se),
25572
- idx: G(this, Lt)
25588
+ idx: G(this, Nt)
25573
25589
  };
25574
25590
  const e = G(this, ce)[0];
25575
25591
  return {
@@ -25583,21 +25599,21 @@ Qt = new WeakMap(), se = new WeakMap(), Lt = new WeakMap(), pe = new WeakMap(),
25583
25599
  delete t[":タグ名"], delete t.place, t.text = t.text ?? "", G(this, Bi).json = t, this.val.setMark(e, G(this, Bi));
25584
25600
  const r = Number(this.val.getVal("sys:const.sn.save.place"));
25585
25601
  return e === r && this.val.setVal_Nochk("sys", "const.sn.save.place", r + 1), !1;
25586
- }, Fi = new WeakMap(), Be = new WeakMap(), Z(ScriptIterator, Uu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
25602
+ }, Fi = new WeakMap(), Fe = new WeakMap(), Z(ScriptIterator, Uu, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), // reload 再生成 Main に受け渡すため static
25587
25603
  Z(ScriptIterator, Jn, {}), Z(ScriptIterator, wr, {});
25588
- var ti, Ti, Fe, wi, Or, ns, Ne, Ch, Rr, ga, ss, Oh, Rh, ya, dc, cp, Mh, Ih, ba, xa, Kh, as, os;
25604
+ var ti, Ti, Ue, wi, Or, ns, Le, Ch, Rr, ga, ss, Oh, Rh, ya, dc, cp, Mh, Ih, ba, xa, Kh, as, os;
25589
25605
  const Es = class {
25590
25606
  constructor(t) {
25591
25607
  Z(this, dc);
25592
25608
  Z(this, xa);
25593
25609
  Z(this, ti, void 0);
25594
25610
  Z(this, Ti, void 0);
25595
- Z(this, Fe, /* @__PURE__ */ Object.create(null));
25611
+ Z(this, Ue, /* @__PURE__ */ Object.create(null));
25596
25612
  // タグ処理辞書
25597
25613
  Z(this, wi, void 0);
25598
25614
  Z(this, Or, void 0);
25599
25615
  Z(this, ns, void 0);
25600
- Z(this, Ne, void 0);
25616
+ Z(this, Le, void 0);
25601
25617
  Z(this, Ch, void 0);
25602
25618
  Z(this, Rr, void 0);
25603
25619
  Z(this, ga, void 0);
@@ -25611,12 +25627,12 @@ const Es = class {
25611
25627
  Z(this, Ih, (t = tt(this, xa, Kh)) => {
25612
25628
  G(this, as) || (G(this, Rr).clearBreak(), Q(this, ss, t), this.resume = (e = tt(this, xa, Kh)) => {
25613
25629
  Q(this, ss, e);
25614
- }, G(this, Ne).noticeBreak(!1));
25630
+ }, G(this, Le).noticeBreak(!1));
25615
25631
  });
25616
25632
  gt(this, "resume", G(this, Ih));
25617
25633
  gt(this, "stop", () => {
25618
25634
  Q(this, ss, () => {
25619
- }), this.resume = G(this, Ih), G(this, Ne).noticeBreak(!0);
25635
+ }), this.resume = G(this, Ih), G(this, Le).noticeBreak(!0);
25620
25636
  });
25621
25637
  Z(this, ba, !0);
25622
25638
  Z(this, as, !1);
@@ -25631,10 +25647,10 @@ const Es = class {
25631
25647
  }
25632
25648
  resumeByJumpOrCall(t) {
25633
25649
  if (t.url) {
25634
- G(this, Fe).navigate_to(t), G(this, Ne).jumpJustBefore();
25650
+ G(this, Ue).navigate_to(t), G(this, Le).jumpJustBefore();
25635
25651
  return;
25636
25652
  }
25637
- G(this, wi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), G(this, wi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (G(this, Ne).subIdxToken(), this.resume(() => G(this, Fe).call(t))) : (G(this, Fe).clear_event({}), this.resume(() => G(this, Fe).jump(t)));
25653
+ G(this, wi).setVal_Nochk("tmp", "sn.eventArg", t.arg ?? ""), G(this, wi).setVal_Nochk("tmp", "sn.eventLabel", t.label ?? ""), argChk_Boolean(t, "call", !1) ? (G(this, Le).subIdxToken(), this.resume(() => G(this, Ue).call(t))) : (G(this, Ue).clear_event({}), this.resume(() => G(this, Ue).jump(t)));
25638
25654
  }
25639
25655
  setLoop(t, e = "") {
25640
25656
  Q(this, ba, t) ? this.resume() : this.stop(), this.sys.setTitleInfo(e ? ` -- ${e}中` : "");
@@ -25643,11 +25659,11 @@ const Es = class {
25643
25659
  G(this, ga).fire(t, e);
25644
25660
  }
25645
25661
  async destroy(t = 0) {
25646
- G(this, as) || (Q(this, as, !0), G(this, Rh) && (this.stop(), Q(this, ba, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Fe, {}), G(this, ga).destroy(), G(this, Ne).destroy(), G(this, Rr).destroy(), G(this, Ch).destroy(), G(this, Ti).ticker.remove(G(this, Mh)), G(this, os) && G(this, Ti) && Es.cvs.parentNode.appendChild(G(this, os)), clearTextureCache(), G(this, Ti).destroy(!0), this.sys.destroy()));
25662
+ G(this, as) || (Q(this, as, !0), G(this, Rh) && (this.stop(), Q(this, ba, !1), G(this, Rr).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), Q(this, Ue, {}), G(this, ga).destroy(), G(this, Le).destroy(), G(this, Rr).destroy(), G(this, Ch).destroy(), G(this, Ti).ticker.remove(G(this, Mh)), G(this, os) && G(this, Ti) && Es.cvs.parentNode.appendChild(G(this, os)), clearTextureCache(), G(this, Ti).destroy(!0), this.sys.destroy()));
25647
25663
  }
25648
25664
  };
25649
25665
  let Main = Es;
25650
- ti = new WeakMap(), Ti = new WeakMap(), Fe = new WeakMap(), wi = new WeakMap(), Or = new WeakMap(), ns = new WeakMap(), Ne = new WeakMap(), Ch = new WeakMap(), Rr = new WeakMap(), ga = new WeakMap(), ss = new WeakMap(), Oh = new WeakMap(), Rh = new WeakMap(), ya = new WeakMap(), dc = new WeakSet(), cp = async function() {
25666
+ ti = new WeakMap(), Ti = new WeakMap(), Ue = new WeakMap(), wi = new WeakMap(), Or = new WeakMap(), ns = new WeakMap(), Le = new WeakMap(), Ch = new WeakMap(), Rr = new WeakMap(), ga = new WeakMap(), ss = new WeakMap(), Oh = new WeakMap(), Rh = new WeakMap(), ya = new WeakMap(), dc = new WeakSet(), cp = async function() {
25651
25667
  var N;
25652
25668
  const t = (N = document.createElement("canvas")) == null ? void 0 : N.getContext("2d");
25653
25669
  if (!t)
@@ -25662,24 +25678,24 @@ ti = new WeakMap(), Ti = new WeakMap(), Fe = new WeakMap(), wi = new WeakMap(),
25662
25678
  resolution: globalThis.devicePixelRatio ?? 1
25663
25679
  // 理想
25664
25680
  }, r = document.getElementById(G(this, ya));
25665
- r && (Q(this, os, r.cloneNode(!0)), G(this, os).id = G(this, ya), e.view = r), Q(this, Ti, new Application(e)), Es.cvs = G(this, Ti).view, r || (document.body.appendChild(Es.cvs), Es.cvs.id = G(this, ya)), Q(this, wi, new Variable(G(this, ti), G(this, Fe))), Q(this, Or, new PropParser(G(this, wi), G(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(G(this, Fe), G(this, Ti), G(this, wi), this)), G(this, Fe).title({ text: G(this, ti).oCfg.book.title || "SKYNovel" }), Q(this, ns, new SoundMng(G(this, ti), G(this, Fe), G(this, wi), this, this.sys)), Q(this, Ne, new ScriptIterator(G(this, ti), G(this, Fe), this, G(this, wi), G(this, Oh), () => tt(this, xa, Kh).call(this), G(this, Or), G(this, ns), this.sys)), Q(this, Ch, new DebugMng(this.sys, G(this, Fe), G(this, Ne))), Q(this, Rr, new LayerMng(G(this, ti), G(this, Fe), G(this, Ti), G(this, wi), this, G(this, Ne), this.sys, G(this, ns), G(this, Oh), G(this, Or))), Q(this, ga, new EventMng(G(this, ti), G(this, Fe), G(this, Ti), this, G(this, Rr), G(this, wi), G(this, ns), G(this, Ne), this.sys)), G(this, Ti).ticker.add(G(this, Mh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, Rh, !0);
25681
+ r && (Q(this, os, r.cloneNode(!0)), G(this, os).id = G(this, ya), e.view = r), Q(this, Ti, new Application(e)), Es.cvs = G(this, Ti).view, r || (document.body.appendChild(Es.cvs), Es.cvs.id = G(this, ya)), Q(this, wi, new Variable(G(this, ti), G(this, Ue))), Q(this, Or, new PropParser(G(this, wi), G(this, ti).oCfg.init.escape ?? "\\")), await Promise.allSettled(this.sys.init(G(this, Ue), G(this, Ti), G(this, wi), this)), G(this, Ue).title({ text: G(this, ti).oCfg.book.title || "SKYNovel" }), Q(this, ns, new SoundMng(G(this, ti), G(this, Ue), G(this, wi), this, this.sys)), Q(this, Le, new ScriptIterator(G(this, ti), G(this, Ue), this, G(this, wi), G(this, Oh), () => tt(this, xa, Kh).call(this), G(this, Or), G(this, ns), this.sys)), Q(this, Ch, new DebugMng(this.sys, G(this, Ue), G(this, Le))), Q(this, Rr, new LayerMng(G(this, ti), G(this, Ue), G(this, Ti), G(this, wi), this, G(this, Le), this.sys, G(this, ns), G(this, Oh), G(this, Or))), Q(this, ga, new EventMng(G(this, ti), G(this, Ue), G(this, Ti), this, G(this, Rr), G(this, wi), G(this, ns), G(this, Le), this.sys)), G(this, Ti).ticker.add(G(this, Mh)), this.resumeByJumpOrCall({ fn: "main" }), Q(this, Rh, !0);
25666
25682
  }, Mh = new WeakMap(), Ih = new WeakMap(), ba = new WeakMap(), xa = new WeakSet(), Kh = function() {
25667
25683
  for (; G(this, ba); ) {
25668
- let t = G(this, Ne).nextToken();
25684
+ let t = G(this, Le).nextToken();
25669
25685
  if (!t)
25670
25686
  break;
25671
25687
  const e = t.charCodeAt(0);
25672
25688
  if (e !== 9) {
25673
25689
  if (e === 10) {
25674
- G(this, Ne).addLineNum(t.length);
25690
+ G(this, Le).addLineNum(t.length);
25675
25691
  continue;
25676
25692
  }
25677
25693
  if (e === 91) {
25678
- if (G(this, Ne).isBreak(t))
25694
+ if (G(this, Le).isBreak(t))
25679
25695
  return;
25680
25696
  try {
25681
25697
  const r = (t.match(/\n/g) ?? []).length;
25682
- if (r > 0 && G(this, Ne).addLineNum(r), G(this, Ne).タグ解析(t)) {
25698
+ if (r > 0 && G(this, Le).addLineNum(r), G(this, Le).タグ解析(t)) {
25683
25699
  this.stop();
25684
25700
  break;
25685
25701
  }
@@ -25692,10 +25708,10 @@ ti = new WeakMap(), Ti = new WeakMap(), Fe = new WeakMap(), wi = new WeakMap(),
25692
25708
  if (e === 38)
25693
25709
  try {
25694
25710
  if (t.at(-1) !== "&") {
25695
- if (G(this, Ne).isBreak(t))
25711
+ if (G(this, Le).isBreak(t))
25696
25712
  return;
25697
25713
  const r = splitAmpersand(t.slice(1));
25698
- r.name = G(this, Or).getValAmpersand(r.name), r.text = String(G(this, Or).parse(r.text)), G(this, Fe).let(r);
25714
+ r.name = G(this, Or).getValAmpersand(r.name), r.text = String(G(this, Or).parse(r.text)), G(this, Ue).let(r);
25699
25715
  continue;
25700
25716
  }
25701
25717
  if (t.charAt(1) === "&")
@@ -28697,12 +28713,12 @@ const devtools = {
28697
28713
  };
28698
28714
  main({ emitEvents: !1 });
28699
28715
  setInterval(main, 500);
28700
- var wa, Lh, Mr, Nh;
28716
+ var wa, Nh, Mr, Lh;
28701
28717
  class SysWeb extends SysBase {
28702
28718
  constructor(e = {}, r = { cur: "prj/", crypto: !1, dip: "" }) {
28703
28719
  super(e, r);
28704
28720
  Z(this, wa, "");
28705
- Z(this, Lh, ":");
28721
+ Z(this, Nh, ":");
28706
28722
  gt(this, "run", async () => {
28707
28723
  G(this, Mr) && (G(this, Mr).destroy(10), await new Promise((r) => setTimeout(r, 10))), Q(this, Mr, new Main(this));
28708
28724
  });
@@ -28743,7 +28759,7 @@ class SysWeb extends SysBase {
28743
28759
  throw "[navigate_to] urlは必須です";
28744
28760
  return globalThis.open(r, "_blank"), !1;
28745
28761
  });
28746
- Z(this, Nh, {});
28762
+ Z(this, Lh, {});
28747
28763
  const N = r.cur.split("/");
28748
28764
  Q(this, wa, N.length > 2 ? N.slice(0, -2).join("/") + "/" : ""), globalThis.onload = async () => this.loaded(e, r);
28749
28765
  }
@@ -28764,7 +28780,7 @@ class SysWeb extends SysBase {
28764
28780
  D && (r.cur = G(this, wa) + D + "/"), this.run();
28765
28781
  }
28766
28782
  runSN(e) {
28767
- this.arg.cur = G(this, wa) + e + "/", G(this, Lh) !== this.arg.cur && (Q(this, Lh, this.arg.cur), this.run());
28783
+ this.arg.cur = G(this, wa) + e + "/", G(this, Nh) !== this.arg.cur && (Q(this, Nh, this.arg.cur), this.run());
28768
28784
  }
28769
28785
  stop() {
28770
28786
  G(this, Mr) && (G(this, Mr).destroy(), Q(this, Mr, void 0));
@@ -28835,13 +28851,13 @@ class SysWeb extends SysBase {
28835
28851
  N.href = r, N.download = e, N.click(), CmnLib.debugLog && console.log("画像ファイルをダウンロードします");
28836
28852
  }
28837
28853
  async appendFile(e, r, N) {
28838
- const k = (G(this, Nh)[e] ?? "") + r;
28839
- G(this, Nh)[e] = k;
28854
+ const k = (G(this, Lh)[e] ?? "") + r;
28855
+ G(this, Lh)[e] = k;
28840
28856
  const D = new Blob([k], { type: "text/json" }), U = document.createElement("a");
28841
28857
  U.href = URL.createObjectURL(D), U.download = e, U.click();
28842
28858
  }
28843
28859
  }
28844
- wa = new WeakMap(), Lh = new WeakMap(), Mr = new WeakMap(), Nh = new WeakMap();
28860
+ wa = new WeakMap(), Nh = new WeakMap(), Mr = new WeakMap(), Lh = new WeakMap();
28845
28861
  export {
28846
28862
  CmnLib,
28847
28863
  Layer,