@famibee/skynovel 1.36.0 → 1.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +692 -691
- package/dist/app.js.map +1 -1
- package/dist/appMain.js +9 -9
- package/dist/appMain.js.map +1 -1
- package/dist/sn/TxtStage.d.ts.map +1 -1
- package/dist/web.js +409 -408
- package/dist/web.js.map +1 -1
- package/package.json +6 -6
package/dist/app.js
CHANGED
|
@@ -93,7 +93,7 @@ var cp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
93
93
|
N && (P = C, C = null);
|
|
94
94
|
var F = P.navigator || {}, A = F.userAgent || "";
|
|
95
95
|
C || (C = A);
|
|
96
|
-
var B = N ? !!F.likeChrome : /\bChrome\b/.test(C) && !/internal|\n/i.test(f.toString()), j = "Object", L = N ? j : "ScriptBridgingProxyObject", U = N ? j : "Environment", V = N && P.java ? "JavaPackage" : _(P.java), Q = N ? j : "RuntimeObject", G = /\bJava/.test(V) && P.java, k = G && _(P.environment) == U, W = G ? "a" : "\u03B1", tt = G ? "b" : "\u03B2", lt = P.document || {}, nt = P.operamini || P.opera, ht = u.test(ht = N && nt ? nt["[[Class]]"] : _(nt)) ? ht : nt = null, M, gt = C, st = [], dt = null, it = C == A, z = it && nt && typeof nt.version == "function" && nt.version(),
|
|
96
|
+
var B = N ? !!F.likeChrome : /\bChrome\b/.test(C) && !/internal|\n/i.test(f.toString()), j = "Object", L = N ? j : "ScriptBridgingProxyObject", U = N ? j : "Environment", V = N && P.java ? "JavaPackage" : _(P.java), Q = N ? j : "RuntimeObject", G = /\bJava/.test(V) && P.java, k = G && _(P.environment) == U, W = G ? "a" : "\u03B1", tt = G ? "b" : "\u03B2", lt = P.document || {}, nt = P.operamini || P.opera, ht = u.test(ht = N && nt ? nt["[[Class]]"] : _(nt)) ? ht : nt = null, M, gt = C, st = [], dt = null, it = C == A, z = it && nt && typeof nt.version == "function" && nt.version(), Et, J = Ut([
|
|
97
97
|
{ label: "EdgeHTML", pattern: "Edge" },
|
|
98
98
|
"Trident",
|
|
99
99
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
|
@@ -103,7 +103,7 @@ var cp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
103
103
|
"Tasman",
|
|
104
104
|
"KHTML",
|
|
105
105
|
"Gecko"
|
|
106
|
-
]), X =
|
|
106
|
+
]), X = ie([
|
|
107
107
|
"Adobe AIR",
|
|
108
108
|
"Arora",
|
|
109
109
|
"Avant Browser",
|
|
@@ -242,35 +242,35 @@ var cp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
242
242
|
"Windows "
|
|
243
243
|
]);
|
|
244
244
|
function Ut(ae) {
|
|
245
|
-
return x(ae, function(
|
|
246
|
-
return
|
|
245
|
+
return x(ae, function(ne, $t) {
|
|
246
|
+
return ne || RegExp("\\b" + ($t.pattern || b($t)) + "\\b", "i").exec(C) && ($t.label || $t);
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
249
|
function kt(ae) {
|
|
250
|
-
return x(ae, function(
|
|
251
|
-
return
|
|
250
|
+
return x(ae, function(ne, $t, nr) {
|
|
251
|
+
return ne || ($t[rt] || $t[/^[a-z]+(?: +[a-z]+\b)*/i.exec(rt)] || RegExp("\\b" + b(nr) + "(?:\\b|\\w*\\d)", "i").exec(C)) && nr;
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
|
-
function
|
|
255
|
-
return x(ae, function(
|
|
256
|
-
return
|
|
254
|
+
function ie(ae) {
|
|
255
|
+
return x(ae, function(ne, $t) {
|
|
256
|
+
return ne || RegExp("\\b" + ($t.pattern || b($t)) + "\\b", "i").exec(C) && ($t.label || $t);
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
259
|
function Ge(ae) {
|
|
260
|
-
return x(ae, function(
|
|
260
|
+
return x(ae, function(ne, $t) {
|
|
261
261
|
var nr = $t.pattern || b($t);
|
|
262
|
-
return !
|
|
262
|
+
return !ne && (ne = RegExp("\\b" + nr + "(?:/[\\d.]+|[ \\w.]*)", "i").exec(C)) && (ne = p(ne, nr, $t.label || $t)), ne;
|
|
263
263
|
});
|
|
264
264
|
}
|
|
265
265
|
function ur(ae) {
|
|
266
|
-
return x(ae, function(
|
|
266
|
+
return x(ae, function(ne, $t) {
|
|
267
267
|
var nr = $t.pattern || b($t);
|
|
268
|
-
return !
|
|
268
|
+
return !ne && (ne = RegExp("\\b" + nr + " *\\d+[.\\w_]*", "i").exec(C) || RegExp("\\b" + nr + " *\\w+-[\\w]*", "i").exec(C) || RegExp("\\b" + nr + "(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)", "i").exec(C)) && ((ne = String($t.label && !RegExp(nr, "i").test($t.label) ? $t.label : ne).split("/"))[1] && !/[\d.]+/.test(ne[0]) && (ne[0] += " " + ne[1]), $t = $t.label || $t, ne = g(ne[0].replace(RegExp(nr, "i"), $t).replace(RegExp("; *(?:" + $t + "[_-])?", "i"), " ").replace(RegExp("(" + $t + ")[-_.]?(\\w)", "i"), "$1 $2"))), ne;
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
function Vt(ae) {
|
|
272
|
-
return x(ae, function(
|
|
273
|
-
return
|
|
272
|
+
return x(ae, function(ne, $t) {
|
|
273
|
+
return ne || (RegExp($t + "(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)", "i").exec(C) || 0)[1] || null;
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
function Ke() {
|
|
@@ -312,13 +312,13 @@ var cp = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
312
312
|
}
|
|
313
313
|
else
|
|
314
314
|
(/\bBlackBerry\b/.test(rt) || /\bBB10\b/.test(C)) && (M = (RegExp(rt.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(C) || 0)[1] || z) ? (M = [M, /BB10/.test(C)], Z = (M[1] ? (rt = null, ut = "BlackBerry") : "Device Software") + " " + M[0], z = null) : this != m && rt != "Wii" && (it && nt || /Opera/.test(X) && /\b(?:MSIE|Firefox)\b/i.test(C) || X == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(Z) || X == "IE" && (Z && !/^Win/.test(Z) && z > 5.5 || /\bWindows XP\b/.test(Z) && z > 8 || z == 8 && !/\bTrident\b/.test(C))) && !u.test(M = E.call(m, C.replace(u, "") + ";")) && M.name && (M = "ing as " + M.name + ((M = M.version) ? " " + M : ""), u.test(X) ? (/\bIE\b/.test(M) && Z == "Mac OS" && (Z = null), M = "identify" + M) : (M = "mask" + M, ht ? X = g(ht.replace(/([a-z])([A-Z])/g, "$1 $2")) : X = "Opera", /\bIE\b/.test(M) && (Z = null), it || (z = null)), J = ["Presto"], st.push(M));
|
|
315
|
-
(M = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(C) || 0)[1]) && (M = [parseFloat(M.replace(/\.(\d)$/, ".0$1")), M], X == "Safari" && M[1].slice(-1) == "+" ? (X = "WebKit Nightly", dt = "alpha", z = M[1].slice(0, -1)) : (z == M[1] || z == (M[2] = (/\bSafari\/([\d.]+\+?)/i.exec(C) || 0)[1])) && (z = null), M[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(C) || 0)[1], M[0] == 537.36 && M[2] == 537.36 && parseFloat(M[1]) >= 28 && J == "WebKit" && (J = ["Blink"]), !it || !B && !M[1] ? (J && (J[1] = "like Safari"), M = (M = M[0], M < 400 ? 1 : M < 500 ? 2 : M < 526 ? 3 : M < 533 ? 4 : M < 534 ? "4+" : M < 535 ? 5 : M < 537 ? 6 : M < 538 ? 7 : M < 601 ? 8 : M < 602 ? 9 : M < 604 ? 10 : M < 606 ? 11 : M < 608 ? 12 : "12")) : (J && (J[1] = "like Chrome"), M = M[1] || (M = M[0], M < 530 ? 1 : M < 532 ? 2 : M < 532.05 ? 3 : M < 533 ? 4 : M < 534.03 ? 5 : M < 534.07 ? 6 : M < 534.1 ? 7 : M < 534.13 ? 8 : M < 534.16 ? 9 : M < 534.24 ? 10 : M < 534.3 ? 11 : M < 535.01 ? 12 : M < 535.02 ? "13+" : M < 535.07 ? 15 : M < 535.11 ? 16 : M < 535.19 ? 17 : M < 536.05 ? 18 : M < 536.1 ? 19 : M < 537.01 ? 20 : M < 537.11 ? "21+" : M < 537.13 ? 23 : M < 537.18 ? 24 : M < 537.24 ? 25 : M < 537.36 ? 26 : J != "Blink" ? "27" : "28")), J && (J[1] += " " + (M += typeof M == "number" ? ".x" : /[.+]/.test(M) ? "" : "+")), X == "Safari" && (!z || parseInt(z) > 45) ? z = M : X == "Chrome" && /\bHeadlessChrome/i.test(C) && st.unshift("headless")), X == "Opera" && (M = /\bzbov|zvav$/.exec(Z)) ? (X += " ", st.unshift("desktop mode"), M == "zvav" ? (X += "Mini", z = null) : X += "Mobile", Z = Z.replace(RegExp(" *" + M + "$"), "")) : X == "Safari" && /\bChrome\b/.exec(J && J[1]) ? (st.unshift("desktop mode"), X = "Chrome Mobile", z = null, /\bOS X\b/.test(Z) ? (ut = "Apple", Z = "iOS 4.3+") : Z = null) : /\bSRWare Iron\b/.test(X) && !z && (z = Vt("Chrome")), z && z.indexOf(M = /[\d.]+$/.exec(Z)) == 0 && C.indexOf("/" + M + "-") > -1 && (Z = T(Z.replace(M, ""))), Z && Z.indexOf(X) != -1 && !RegExp(X + " OS").test(Z) && (Z = Z.replace(RegExp(" *" + b(X) + " *"), "")), J && !/\b(?:Avant|Nook)\b/.test(X) && (/Browser|Lunascape|Maxthon/.test(X) || X != "Safari" && /^iOS/.test(Z) && /\bSafari\b/.test(J[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(X) && J[1]) && (M = J[J.length - 1]) && st.push(M), st.length && (st = ["(" + st.join("; ") + ")"]), ut && rt && rt.indexOf(ut) < 0 && st.push("on " + ut), rt && st.push((/^on /.test(st[st.length - 1]) ? "" : "on ") + rt), Z && (M = / ([\d.+]+)$/.exec(Z),
|
|
315
|
+
(M = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(C) || 0)[1]) && (M = [parseFloat(M.replace(/\.(\d)$/, ".0$1")), M], X == "Safari" && M[1].slice(-1) == "+" ? (X = "WebKit Nightly", dt = "alpha", z = M[1].slice(0, -1)) : (z == M[1] || z == (M[2] = (/\bSafari\/([\d.]+\+?)/i.exec(C) || 0)[1])) && (z = null), M[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(C) || 0)[1], M[0] == 537.36 && M[2] == 537.36 && parseFloat(M[1]) >= 28 && J == "WebKit" && (J = ["Blink"]), !it || !B && !M[1] ? (J && (J[1] = "like Safari"), M = (M = M[0], M < 400 ? 1 : M < 500 ? 2 : M < 526 ? 3 : M < 533 ? 4 : M < 534 ? "4+" : M < 535 ? 5 : M < 537 ? 6 : M < 538 ? 7 : M < 601 ? 8 : M < 602 ? 9 : M < 604 ? 10 : M < 606 ? 11 : M < 608 ? 12 : "12")) : (J && (J[1] = "like Chrome"), M = M[1] || (M = M[0], M < 530 ? 1 : M < 532 ? 2 : M < 532.05 ? 3 : M < 533 ? 4 : M < 534.03 ? 5 : M < 534.07 ? 6 : M < 534.1 ? 7 : M < 534.13 ? 8 : M < 534.16 ? 9 : M < 534.24 ? 10 : M < 534.3 ? 11 : M < 535.01 ? 12 : M < 535.02 ? "13+" : M < 535.07 ? 15 : M < 535.11 ? 16 : M < 535.19 ? 17 : M < 536.05 ? 18 : M < 536.1 ? 19 : M < 537.01 ? 20 : M < 537.11 ? "21+" : M < 537.13 ? 23 : M < 537.18 ? 24 : M < 537.24 ? 25 : M < 537.36 ? 26 : J != "Blink" ? "27" : "28")), J && (J[1] += " " + (M += typeof M == "number" ? ".x" : /[.+]/.test(M) ? "" : "+")), X == "Safari" && (!z || parseInt(z) > 45) ? z = M : X == "Chrome" && /\bHeadlessChrome/i.test(C) && st.unshift("headless")), X == "Opera" && (M = /\bzbov|zvav$/.exec(Z)) ? (X += " ", st.unshift("desktop mode"), M == "zvav" ? (X += "Mini", z = null) : X += "Mobile", Z = Z.replace(RegExp(" *" + M + "$"), "")) : X == "Safari" && /\bChrome\b/.exec(J && J[1]) ? (st.unshift("desktop mode"), X = "Chrome Mobile", z = null, /\bOS X\b/.test(Z) ? (ut = "Apple", Z = "iOS 4.3+") : Z = null) : /\bSRWare Iron\b/.test(X) && !z && (z = Vt("Chrome")), z && z.indexOf(M = /[\d.]+$/.exec(Z)) == 0 && C.indexOf("/" + M + "-") > -1 && (Z = T(Z.replace(M, ""))), Z && Z.indexOf(X) != -1 && !RegExp(X + " OS").test(Z) && (Z = Z.replace(RegExp(" *" + b(X) + " *"), "")), J && !/\b(?:Avant|Nook)\b/.test(X) && (/Browser|Lunascape|Maxthon/.test(X) || X != "Safari" && /^iOS/.test(Z) && /\bSafari\b/.test(J[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(X) && J[1]) && (M = J[J.length - 1]) && st.push(M), st.length && (st = ["(" + st.join("; ") + ")"]), ut && rt && rt.indexOf(ut) < 0 && st.push("on " + ut), rt && st.push((/^on /.test(st[st.length - 1]) ? "" : "on ") + rt), Z && (M = / ([\d.+]+)$/.exec(Z), Et = M && Z.charAt(Z.length - M[0].length - 1) == "/", Z = {
|
|
316
316
|
architecture: 32,
|
|
317
|
-
family: M && !
|
|
317
|
+
family: M && !Et ? Z.replace(M[0], "") : Z,
|
|
318
318
|
version: M ? M[1] : null,
|
|
319
319
|
toString: function() {
|
|
320
320
|
var ae = this.version;
|
|
321
|
-
return this.family + (ae && !
|
|
321
|
+
return this.family + (ae && !Et ? " " + ae : "") + (this.architecture == 64 ? " 64-bit" : "");
|
|
322
322
|
}
|
|
323
323
|
}), (M = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(gt)) && !/\bi686\b/i.test(gt) ? (Z && (Z.architecture = 64, Z.family = Z.family.replace(RegExp(" *" + M), "")), X && (/\bWOW64\b/i.test(C) || it && /\w(?:86|32)$/.test(F.cpuClass || F.platform) && !/\bWin64; x64\b/i.test(C)) && st.unshift("32-bit")) : Z && /^OS X/.test(Z.family) && X == "Chrome" && parseFloat(z) >= 39 && (Z.architecture = 64), C || (C = null);
|
|
324
324
|
var ge = {};
|
|
@@ -1381,14 +1381,14 @@ var $p;
|
|
|
1381
1381
|
(function(r) {
|
|
1382
1382
|
r[r.COLOR = 16384] = "COLOR", r[r.DEPTH = 256] = "DEPTH", r[r.STENCIL = 1024] = "STENCIL";
|
|
1383
1383
|
})($p || ($p = {}));
|
|
1384
|
-
var
|
|
1384
|
+
var xt;
|
|
1385
1385
|
(function(r) {
|
|
1386
1386
|
r[r.NORMAL = 0] = "NORMAL", r[r.ADD = 1] = "ADD", r[r.MULTIPLY = 2] = "MULTIPLY", r[r.SCREEN = 3] = "SCREEN", r[r.OVERLAY = 4] = "OVERLAY", r[r.DARKEN = 5] = "DARKEN", r[r.LIGHTEN = 6] = "LIGHTEN", r[r.COLOR_DODGE = 7] = "COLOR_DODGE", r[r.COLOR_BURN = 8] = "COLOR_BURN", r[r.HARD_LIGHT = 9] = "HARD_LIGHT", r[r.SOFT_LIGHT = 10] = "SOFT_LIGHT", r[r.DIFFERENCE = 11] = "DIFFERENCE", r[r.EXCLUSION = 12] = "EXCLUSION", r[r.HUE = 13] = "HUE", r[r.SATURATION = 14] = "SATURATION", r[r.COLOR = 15] = "COLOR", r[r.LUMINOSITY = 16] = "LUMINOSITY", r[r.NORMAL_NPM = 17] = "NORMAL_NPM", r[r.ADD_NPM = 18] = "ADD_NPM", r[r.SCREEN_NPM = 19] = "SCREEN_NPM", r[r.NONE = 20] = "NONE", r[r.SRC_OVER = 0] = "SRC_OVER", r[r.SRC_IN = 21] = "SRC_IN", r[r.SRC_OUT = 22] = "SRC_OUT", r[r.SRC_ATOP = 23] = "SRC_ATOP", r[r.DST_OVER = 24] = "DST_OVER", r[r.DST_IN = 25] = "DST_IN", r[r.DST_OUT = 26] = "DST_OUT", r[r.DST_ATOP = 27] = "DST_ATOP", r[r.ERASE = 26] = "ERASE", r[r.SUBTRACT = 28] = "SUBTRACT", r[r.XOR = 29] = "XOR";
|
|
1387
|
-
})(
|
|
1388
|
-
var
|
|
1387
|
+
})(xt || (xt = {}));
|
|
1388
|
+
var zi;
|
|
1389
1389
|
(function(r) {
|
|
1390
1390
|
r[r.POINTS = 0] = "POINTS", r[r.LINES = 1] = "LINES", r[r.LINE_LOOP = 2] = "LINE_LOOP", r[r.LINE_STRIP = 3] = "LINE_STRIP", r[r.TRIANGLES = 4] = "TRIANGLES", r[r.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", r[r.TRIANGLE_FAN = 6] = "TRIANGLE_FAN";
|
|
1391
|
-
})(
|
|
1391
|
+
})(zi || (zi = {}));
|
|
1392
1392
|
var ct;
|
|
1393
1393
|
(function(r) {
|
|
1394
1394
|
r[r.RGBA = 6408] = "RGBA", r[r.RGB = 6407] = "RGB", r[r.RG = 33319] = "RG", r[r.RED = 6403] = "RED", r[r.RGBA_INTEGER = 36249] = "RGBA_INTEGER", r[r.RGB_INTEGER = 36248] = "RGB_INTEGER", r[r.RG_INTEGER = 33320] = "RG_INTEGER", r[r.RED_INTEGER = 36244] = "RED_INTEGER", r[r.ALPHA = 6406] = "ALPHA", r[r.LUMINANCE = 6409] = "LUMINANCE", r[r.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", r[r.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", r[r.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL";
|
|
@@ -1417,10 +1417,10 @@ var Tn;
|
|
|
1417
1417
|
(function(r) {
|
|
1418
1418
|
r[r.OFF = 0] = "OFF", r[r.POW2 = 1] = "POW2", r[r.ON = 2] = "ON", r[r.ON_MANUAL = 3] = "ON_MANUAL";
|
|
1419
1419
|
})(Tn || (Tn = {}));
|
|
1420
|
-
var
|
|
1420
|
+
var Wi;
|
|
1421
1421
|
(function(r) {
|
|
1422
1422
|
r[r.NPM = 0] = "NPM", r[r.UNPACK = 1] = "UNPACK", r[r.PMA = 2] = "PMA", r[r.NO_PREMULTIPLIED_ALPHA = 0] = "NO_PREMULTIPLIED_ALPHA", r[r.PREMULTIPLY_ON_UPLOAD = 1] = "PREMULTIPLY_ON_UPLOAD", r[r.PREMULTIPLY_ALPHA = 2] = "PREMULTIPLY_ALPHA", r[r.PREMULTIPLIED_ALPHA = 2] = "PREMULTIPLIED_ALPHA";
|
|
1423
|
-
})(
|
|
1423
|
+
})(Wi || (Wi = {}));
|
|
1424
1424
|
var Cs;
|
|
1425
1425
|
(function(r) {
|
|
1426
1426
|
r[r.NO = 0] = "NO", r[r.YES = 1] = "YES", r[r.AUTO = 2] = "AUTO", r[r.BLEND = 0] = "BLEND", r[r.CLEAR = 1] = "CLEAR", r[r.BLIT = 2] = "BLIT";
|
|
@@ -1676,7 +1676,7 @@ function UT(r) {
|
|
|
1676
1676
|
function pA() {
|
|
1677
1677
|
for (var r = [], t = [], e = 0; e < 32; e++)
|
|
1678
1678
|
r[e] = e, t[e] = e;
|
|
1679
|
-
r[
|
|
1679
|
+
r[xt.NORMAL_NPM] = xt.NORMAL, r[xt.ADD_NPM] = xt.ADD, r[xt.SCREEN_NPM] = xt.SCREEN, t[xt.NORMAL] = xt.NORMAL_NPM, t[xt.ADD] = xt.ADD_NPM, t[xt.SCREEN] = xt.SCREEN_NPM;
|
|
1680
1680
|
var i = [];
|
|
1681
1681
|
return i.push(t), i.push(r), i;
|
|
1682
1682
|
}
|
|
@@ -1758,11 +1758,11 @@ Deprecated since v` + r), console.warn(i), console.groupEnd()) : (console.warn("
|
|
|
1758
1758
|
Deprecated since v` + r), console.warn(i))), Ox[t] = !0;
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
1761
|
-
var Ax = {},
|
|
1761
|
+
var Ax = {}, Ur = /* @__PURE__ */ Object.create(null), Dn = /* @__PURE__ */ Object.create(null);
|
|
1762
1762
|
function _A() {
|
|
1763
1763
|
var r;
|
|
1764
|
-
for (r in
|
|
1765
|
-
delete
|
|
1764
|
+
for (r in Ur)
|
|
1765
|
+
delete Ur[r];
|
|
1766
1766
|
for (r in Dn)
|
|
1767
1767
|
delete Dn[r];
|
|
1768
1768
|
}
|
|
@@ -2807,7 +2807,7 @@ var Qx = function(r) {
|
|
|
2807
2807
|
else
|
|
2808
2808
|
throw new Error("Invalid extension type");
|
|
2809
2809
|
return typeof r.type == "string" && (r.type = [r.type]), r;
|
|
2810
|
-
},
|
|
2810
|
+
}, Ki = {
|
|
2811
2811
|
_addHandlers: null,
|
|
2812
2812
|
_removeHandlers: null,
|
|
2813
2813
|
_queue: {},
|
|
@@ -3212,7 +3212,7 @@ var Vo = function() {
|
|
|
3212
3212
|
}
|
|
3213
3213
|
return t.prototype.upload = function(e, i, n) {
|
|
3214
3214
|
var s = e.gl;
|
|
3215
|
-
s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL, i.alphaMode ===
|
|
3215
|
+
s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL, i.alphaMode === Wi.UNPACK);
|
|
3216
3216
|
var a = i.realWidth, o = i.realHeight;
|
|
3217
3217
|
return n.width === a && n.height === o ? s.texSubImage2D(i.target, 0, 0, 0, a, o, i.format, n.type, this.data) : (n.width = a, n.height = o, s.texImage2D(i.target, 0, n.internalFormat, a, o, 0, i.format, n.type, this.data)), !0;
|
|
3218
3218
|
}, t.prototype.dispose = function() {
|
|
@@ -3223,7 +3223,7 @@ var Vo = function() {
|
|
|
3223
3223
|
}(Vo), NA = {
|
|
3224
3224
|
scaleMode: cs.NEAREST,
|
|
3225
3225
|
format: ct.RGBA,
|
|
3226
|
-
alphaMode:
|
|
3226
|
+
alphaMode: Wi.NPM
|
|
3227
3227
|
}, Wt = function(r) {
|
|
3228
3228
|
we(t, r);
|
|
3229
3229
|
function t(e, i) {
|
|
@@ -3231,7 +3231,7 @@ var Vo = function() {
|
|
|
3231
3231
|
var n = r.call(this) || this;
|
|
3232
3232
|
i = i || {};
|
|
3233
3233
|
var s = i.alphaMode, a = i.mipmap, o = i.anisotropicLevel, u = i.scaleMode, l = i.width, h = i.height, f = i.wrapMode, d = i.format, p = i.type, v = i.target, g = i.resolution, m = i.resourceOptions;
|
|
3234
|
-
return e && !(e instanceof Vo) && (e = Ug(e, m), e.internal = !0), n.resolution = g || mt.RESOLUTION, n.width = Math.round((l || 0) * n.resolution) / n.resolution, n.height = Math.round((h || 0) * n.resolution) / n.resolution, n._mipmap = a !== void 0 ? a : mt.MIPMAP_TEXTURES, n.anisotropicLevel = o !== void 0 ? o : mt.ANISOTROPIC_LEVEL, n._wrapMode = f || mt.WRAP_MODE, n._scaleMode = u !== void 0 ? u : mt.SCALE_MODE, n.format = d || ct.RGBA, n.type = p || Tt.UNSIGNED_BYTE, n.target = v || Go.TEXTURE_2D, n.alphaMode = s !== void 0 ? s :
|
|
3234
|
+
return e && !(e instanceof Vo) && (e = Ug(e, m), e.internal = !0), n.resolution = g || mt.RESOLUTION, n.width = Math.round((l || 0) * n.resolution) / n.resolution, n.height = Math.round((h || 0) * n.resolution) / n.resolution, n._mipmap = a !== void 0 ? a : mt.MIPMAP_TEXTURES, n.anisotropicLevel = o !== void 0 ? o : mt.ANISOTROPIC_LEVEL, n._wrapMode = f || mt.WRAP_MODE, n._scaleMode = u !== void 0 ? u : mt.SCALE_MODE, n.format = d || ct.RGBA, n.type = p || Tt.UNSIGNED_BYTE, n.target = v || Go.TEXTURE_2D, n.alphaMode = s !== void 0 ? s : Wi.UNPACK, n.uid = $o(), n.touched = 0, n.isPowerOfTwo = !1, n._refreshPOT(), n._glTextures = {}, n.dirtyId = 0, n.dirtyStyleId = 0, n.cacheId = null, n.valid = l > 0 && h > 0, n.textureCacheIds = [], n.destroyed = !1, n.resource = null, n._batchEnabled = 0, n._batchLocation = 0, n.parentTextureArray = null, n.setResource(e), n;
|
|
3235
3235
|
}
|
|
3236
3236
|
return Object.defineProperty(t.prototype, "realWidth", {
|
|
3237
3237
|
get: function() {
|
|
@@ -3295,7 +3295,7 @@ var Vo = function() {
|
|
|
3295
3295
|
}, t.prototype.onError = function(e) {
|
|
3296
3296
|
this.emit("error", this, e);
|
|
3297
3297
|
}, t.prototype.destroy = function() {
|
|
3298
|
-
this.resource && (this.resource.unbind(this), this.resource.internal && this.resource.destroy(), this.resource = null), this.cacheId && (delete Dn[this.cacheId], delete
|
|
3298
|
+
this.resource && (this.resource.unbind(this), this.resource.internal && this.resource.destroy(), this.resource = null), this.cacheId && (delete Dn[this.cacheId], delete Ur[this.cacheId], this.cacheId = null), this.dispose(), t.removeFromCache(this), this.textureCacheIds = null, this.destroyed = !0;
|
|
3299
3299
|
}, t.prototype.dispose = function() {
|
|
3300
3300
|
this.emit("dispose", this);
|
|
3301
3301
|
}, t.prototype.castToBaseTexture = function() {
|
|
@@ -3434,7 +3434,7 @@ var Vo = function() {
|
|
|
3434
3434
|
return !1;
|
|
3435
3435
|
} else if (s instanceof HTMLVideoElement && s.readyState <= 1)
|
|
3436
3436
|
return !1;
|
|
3437
|
-
return a.pixelStorei(a.UNPACK_PREMULTIPLY_ALPHA_WEBGL, i.alphaMode ===
|
|
3437
|
+
return a.pixelStorei(a.UNPACK_PREMULTIPLY_ALPHA_WEBGL, i.alphaMode === Wi.UNPACK), !this.noSubImage && i.target === a.TEXTURE_2D && n.width === o && n.height === u ? a.texSubImage2D(a.TEXTURE_2D, 0, 0, 0, i.format, n.type, s) : (n.width = o, n.height = u, a.texImage2D(i.target, 0, n.internalFormat, i.format, n.type, s)), !0;
|
|
3438
3438
|
}, t.prototype.update = function() {
|
|
3439
3439
|
if (!this.destroyed) {
|
|
3440
3440
|
var e = this.source, i = e.naturalWidth || e.videoWidth || e.width, n = e.naturalHeight || e.videoHeight || e.height;
|
|
@@ -3520,7 +3520,7 @@ var Vo = function() {
|
|
|
3520
3520
|
return a.blob();
|
|
3521
3521
|
}).then(function(a) {
|
|
3522
3522
|
return n(a, 0, 0, i.width, i.height, {
|
|
3523
|
-
premultiplyAlpha: e.alphaMode ===
|
|
3523
|
+
premultiplyAlpha: e.alphaMode === Wi.UNPACK ? "premultiply" : "none"
|
|
3524
3524
|
});
|
|
3525
3525
|
}).then(function(a) {
|
|
3526
3526
|
return e.destroyed ? Promise.reject() : (e.bitmap = a, e.update(), e._process = null, Promise.resolve(e));
|
|
@@ -3698,7 +3698,7 @@ var WT = {
|
|
|
3698
3698
|
}
|
|
3699
3699
|
return t.prototype.upload = function(e, i, n) {
|
|
3700
3700
|
var s = e.gl;
|
|
3701
|
-
s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL, i.alphaMode ===
|
|
3701
|
+
s.pixelStorei(s.UNPACK_PREMULTIPLY_ALPHA_WEBGL, i.alphaMode === Wi.UNPACK);
|
|
3702
3702
|
var a = i.realWidth, o = i.realHeight;
|
|
3703
3703
|
return n.width === a && n.height === o ? s.texSubImage2D(i.target, 0, 0, 0, a, o, i.format, n.type, this.data) : (n.width = a, n.height = o, s.texImage2D(i.target, 0, n.internalFormat, a, o, 0, i.format, n.type, this.data)), !0;
|
|
3704
3704
|
}, t;
|
|
@@ -3816,7 +3816,7 @@ var Ct = function(r) {
|
|
|
3816
3816
|
if (this.baseTexture) {
|
|
3817
3817
|
if (e) {
|
|
3818
3818
|
var i = this.baseTexture.resource;
|
|
3819
|
-
i && i.url &&
|
|
3819
|
+
i && i.url && Ur[i.url] && t.removeFromCache(i.url), this.baseTexture.destroy();
|
|
3820
3820
|
}
|
|
3821
3821
|
this.baseTexture.off("loaded", this.onBaseTextureUpdated, this), this.baseTexture.off("update", this.onBaseTextureUpdated, this), this.baseTexture = null;
|
|
3822
3822
|
}
|
|
@@ -3844,7 +3844,7 @@ var Ct = function(r) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
a = e._pixiId;
|
|
3846
3846
|
}
|
|
3847
|
-
var u =
|
|
3847
|
+
var u = Ur[a];
|
|
3848
3848
|
if (s && n && !u)
|
|
3849
3849
|
throw new Error('The cacheId "' + a + '" does not exist in TextureCache.');
|
|
3850
3850
|
return !u && !(e instanceof Wt) ? (i.resolution || (i.resolution = Wp(e)), u = new t(new Wt(e, i)), u.baseTexture.cacheId = a, Wt.addToCache(u.baseTexture, a), t.addToCache(u, a)) : !u && e instanceof Wt && (u = new t(e), t.addToCache(u, a)), u;
|
|
@@ -3868,17 +3868,17 @@ var Ct = function(r) {
|
|
|
3868
3868
|
});
|
|
3869
3869
|
});
|
|
3870
3870
|
}, t.addToCache = function(e, i) {
|
|
3871
|
-
i && (e.textureCacheIds.indexOf(i) === -1 && e.textureCacheIds.push(i),
|
|
3871
|
+
i && (e.textureCacheIds.indexOf(i) === -1 && e.textureCacheIds.push(i), Ur[i] && console.warn("Texture added to the cache with an id [" + i + "] that already had an entry"), Ur[i] = e);
|
|
3872
3872
|
}, t.removeFromCache = function(e) {
|
|
3873
3873
|
if (typeof e == "string") {
|
|
3874
|
-
var i =
|
|
3874
|
+
var i = Ur[e];
|
|
3875
3875
|
if (i) {
|
|
3876
3876
|
var n = i.textureCacheIds.indexOf(e);
|
|
3877
|
-
return n > -1 && i.textureCacheIds.splice(n, 1), delete
|
|
3877
|
+
return n > -1 && i.textureCacheIds.splice(n, 1), delete Ur[e], i;
|
|
3878
3878
|
}
|
|
3879
3879
|
} else if (e && e.textureCacheIds) {
|
|
3880
3880
|
for (var s = 0; s < e.textureCacheIds.length; ++s)
|
|
3881
|
-
|
|
3881
|
+
Ur[e.textureCacheIds[s]] === e && delete Ur[e.textureCacheIds[s]];
|
|
3882
3882
|
return e.textureCacheIds.length = 0, e;
|
|
3883
3883
|
}
|
|
3884
3884
|
return null;
|
|
@@ -4302,7 +4302,7 @@ var eE = { 5126: 4, 5123: 2, 5121: 1 }, BA = 0, kA = {
|
|
|
4302
4302
|
(e === Cs.CLEAR || e === Cs.BLIT && o) && this.renderer.framebuffer.clear(0, 0, 0, 0);
|
|
4303
4303
|
}, r.prototype.applyFilter = function(t, e, i, n) {
|
|
4304
4304
|
var s = this.renderer;
|
|
4305
|
-
s.state.set(t.state), this.bindAndClear(i, n), t.uniforms.uSampler = e, t.uniforms.filterGlobals = this.globalUniforms, s.shader.bind(t), t.legacy = !!t.program.attributeData.aTextureCoord, t.legacy ? (this.quadUv.map(e._frame, e.filterFrame), s.geometry.bind(this.quadUv), s.geometry.draw(
|
|
4305
|
+
s.state.set(t.state), this.bindAndClear(i, n), t.uniforms.uSampler = e, t.uniforms.filterGlobals = this.globalUniforms, s.shader.bind(t), t.legacy = !!t.program.attributeData.aTextureCoord, t.legacy ? (this.quadUv.map(e._frame, e.filterFrame), s.geometry.bind(this.quadUv), s.geometry.draw(zi.TRIANGLES)) : (s.geometry.bind(this.quad), s.geometry.draw(zi.TRIANGLE_STRIP));
|
|
4306
4306
|
}, r.prototype.calculateSpriteMatrix = function(t, e) {
|
|
4307
4307
|
var i = this.activeState, n = i.sourceFrame, s = i.destinationFrame, a = e._texture.orig, o = t.set(s.width, 0, 0, s.height, n.x, n.y), u = e.worldTransform.copyTo(ir.TEMP_MATRIX);
|
|
4308
4308
|
return u.invert(), o.prepend(u), o.scale(1 / a.width, 1 / a.height), o.translate(e.anchor.x, e.anchor.y), o;
|
|
@@ -5411,7 +5411,7 @@ void main(void){
|
|
|
5411
5411
|
}, r;
|
|
5412
5412
|
}(), gm = 0, mm = 1, _m = 2, ym = 3, bm = 4, xm = 5, ca = function() {
|
|
5413
5413
|
function r() {
|
|
5414
|
-
this.data = 0, this.blendMode =
|
|
5414
|
+
this.data = 0, this.blendMode = xt.NORMAL, this.polygonOffset = 0, this.blend = !0, this.depthMask = !0;
|
|
5415
5415
|
}
|
|
5416
5416
|
return Object.defineProperty(r.prototype, "blend", {
|
|
5417
5417
|
get: function() {
|
|
@@ -5472,7 +5472,7 @@ void main(void){
|
|
|
5472
5472
|
return this._blendMode;
|
|
5473
5473
|
},
|
|
5474
5474
|
set: function(t) {
|
|
5475
|
-
this.blend = t !==
|
|
5475
|
+
this.blend = t !== xt.NONE, this._blendMode = t;
|
|
5476
5476
|
},
|
|
5477
5477
|
enumerable: !1,
|
|
5478
5478
|
configurable: !0
|
|
@@ -5524,7 +5524,7 @@ void main(void)
|
|
|
5524
5524
|
gl_Position = filterVertexPosition();
|
|
5525
5525
|
vTextureCoord = filterTextureCoord();
|
|
5526
5526
|
}
|
|
5527
|
-
`,
|
|
5527
|
+
`, Yi = function(r) {
|
|
5528
5528
|
we(t, r);
|
|
5529
5529
|
function t(e, i, n) {
|
|
5530
5530
|
var s = this, a = Kl.from(e || t.defaultVertexSrc, i || t.defaultFragmentSrc);
|
|
@@ -5655,7 +5655,7 @@ void main(void)
|
|
|
5655
5655
|
var a = this._maskSprite, o = a._texture;
|
|
5656
5656
|
!o.valid || (o.uvMatrix || (o.uvMatrix = new Hg(o, 0)), o.uvMatrix.update(), this.uniforms.npmAlpha = o.baseTexture.alphaMode ? 0 : 1, this.uniforms.mask = o, this.uniforms.otherMatrix = e.calculateSpriteMatrix(this.maskMatrix, a).prepend(o.uvMatrix.mapCoord), this.uniforms.alpha = a.worldAlpha, this.uniforms.maskClamp = o.uvMatrix.uClampFrame, e.applyFilter(this, i, n, s));
|
|
5657
5657
|
}, t;
|
|
5658
|
-
}(
|
|
5658
|
+
}(Yi), Ub = function() {
|
|
5659
5659
|
function r(t) {
|
|
5660
5660
|
this.renderer = t, this.enableScissor = !0, this.alphaMaskPool = [], this.maskDataPool = [], this.maskStack = [], this.alphaMaskIndex = 0;
|
|
5661
5661
|
}
|
|
@@ -6135,11 +6135,11 @@ var aF = 0, Ld = { textureCount: 0, uboCount: 0 }, $b = function() {
|
|
|
6135
6135
|
}, r;
|
|
6136
6136
|
}();
|
|
6137
6137
|
function oF(r, t) {
|
|
6138
|
-
return t === void 0 && (t = []), t[
|
|
6138
|
+
return t === void 0 && (t = []), t[xt.NORMAL] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.ADD] = [r.ONE, r.ONE], t[xt.MULTIPLY] = [r.DST_COLOR, r.ONE_MINUS_SRC_ALPHA, r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.SCREEN] = [r.ONE, r.ONE_MINUS_SRC_COLOR, r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.OVERLAY] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.DARKEN] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.LIGHTEN] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.COLOR_DODGE] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.COLOR_BURN] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.HARD_LIGHT] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.SOFT_LIGHT] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.DIFFERENCE] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.EXCLUSION] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.HUE] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.SATURATION] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.COLOR] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.LUMINOSITY] = [r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.NONE] = [0, 0], t[xt.NORMAL_NPM] = [r.SRC_ALPHA, r.ONE_MINUS_SRC_ALPHA, r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.ADD_NPM] = [r.SRC_ALPHA, r.ONE, r.ONE, r.ONE], t[xt.SCREEN_NPM] = [r.SRC_ALPHA, r.ONE_MINUS_SRC_COLOR, r.ONE, r.ONE_MINUS_SRC_ALPHA], t[xt.SRC_IN] = [r.DST_ALPHA, r.ZERO], t[xt.SRC_OUT] = [r.ONE_MINUS_DST_ALPHA, r.ZERO], t[xt.SRC_ATOP] = [r.DST_ALPHA, r.ONE_MINUS_SRC_ALPHA], t[xt.DST_OVER] = [r.ONE_MINUS_DST_ALPHA, r.ONE], t[xt.DST_IN] = [r.ZERO, r.SRC_ALPHA], t[xt.DST_OUT] = [r.ZERO, r.ONE_MINUS_SRC_ALPHA], t[xt.DST_ATOP] = [r.ONE_MINUS_DST_ALPHA, r.SRC_ALPHA], t[xt.XOR] = [r.ONE_MINUS_DST_ALPHA, r.ONE_MINUS_SRC_ALPHA], t[xt.SUBTRACT] = [r.ONE, r.ONE, r.ONE, r.ONE, r.FUNC_REVERSE_SUBTRACT, r.FUNC_ADD], t;
|
|
6139
6139
|
}
|
|
6140
6140
|
var uF = 0, lF = 1, hF = 2, cF = 3, fF = 4, dF = 5, Vb = function() {
|
|
6141
6141
|
function r() {
|
|
6142
|
-
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode =
|
|
6142
|
+
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode = xt.NONE, this._blendEq = !1, this.map = [], this.map[uF] = this.setBlend, this.map[lF] = this.setOffset, this.map[hF] = this.setCullFace, this.map[cF] = this.setDepthTest, this.map[fF] = this.setFrontFace, this.map[dF] = this.setDepthMask, this.checks = [], this.defaultState = new ca(), this.defaultState.blend = !0;
|
|
6143
6143
|
}
|
|
6144
6144
|
return r.prototype.contextChange = function(t) {
|
|
6145
6145
|
this.gl = t, this.blendModes = oF(t), this.set(this.defaultState), this.reset();
|
|
@@ -6520,14 +6520,14 @@ var pp = function() {
|
|
|
6520
6520
|
enumerable: !1,
|
|
6521
6521
|
configurable: !0
|
|
6522
6522
|
}), t.registerPlugin = function(e, i) {
|
|
6523
|
-
ni("6.5.0", "Renderer.registerPlugin() has been deprecated, please use extensions.add() instead."),
|
|
6523
|
+
ni("6.5.0", "Renderer.registerPlugin() has been deprecated, please use extensions.add() instead."), Ki.add({
|
|
6524
6524
|
name: e,
|
|
6525
6525
|
type: ce.RendererPlugin,
|
|
6526
6526
|
ref: i
|
|
6527
6527
|
});
|
|
6528
6528
|
}, t.__plugins = {}, t;
|
|
6529
6529
|
}(pC);
|
|
6530
|
-
|
|
6530
|
+
Ki.handleByMap(ce.RendererPlugin, Yb.__plugins);
|
|
6531
6531
|
function qb(r) {
|
|
6532
6532
|
return Yb.create(r);
|
|
6533
6533
|
}
|
|
@@ -6577,7 +6577,7 @@ void main(void)
|
|
|
6577
6577
|
}, r;
|
|
6578
6578
|
}(), Jp = function() {
|
|
6579
6579
|
function r() {
|
|
6580
|
-
this.texArray = null, this.blend = 0, this.type =
|
|
6580
|
+
this.texArray = null, this.blend = 0, this.type = zi.TRIANGLES, this.start = 0, this.size = 0, this.data = null;
|
|
6581
6581
|
}
|
|
6582
6582
|
return r;
|
|
6583
6583
|
}(), Kp = function() {
|
|
@@ -6877,7 +6877,7 @@ const wF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6877
6877
|
CanvasResource: Ib,
|
|
6878
6878
|
ContextSystem: kb,
|
|
6879
6879
|
CubeResource: Rb,
|
|
6880
|
-
Filter:
|
|
6880
|
+
Filter: Yi,
|
|
6881
6881
|
FilterState: ZT,
|
|
6882
6882
|
FilterSystem: Mb,
|
|
6883
6883
|
Framebuffer: Zp,
|
|
@@ -6937,7 +6937,7 @@ const wF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6937
6937
|
get ExtensionType() {
|
|
6938
6938
|
return ce;
|
|
6939
6939
|
},
|
|
6940
|
-
extensions:
|
|
6940
|
+
extensions: Ki
|
|
6941
6941
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6942
6942
|
/*!
|
|
6943
6943
|
* @pixi/accessibility - v6.5.5
|
|
@@ -8014,13 +8014,13 @@ var zF = function() {
|
|
|
8014
8014
|
enumerable: !1,
|
|
8015
8015
|
configurable: !0
|
|
8016
8016
|
}), r.registerPlugin = function(t) {
|
|
8017
|
-
return ni("6.5.0", "Loader.registerPlugin() is deprecated, use extensions.add() instead."),
|
|
8017
|
+
return ni("6.5.0", "Loader.registerPlugin() is deprecated, use extensions.add() instead."), Ki.add({
|
|
8018
8018
|
type: ce.Loader,
|
|
8019
8019
|
ref: t
|
|
8020
8020
|
}), r;
|
|
8021
8021
|
}, r._plugins = [], r;
|
|
8022
8022
|
}();
|
|
8023
|
-
|
|
8023
|
+
Ki.handleByList(ce.Loader, ei._plugins);
|
|
8024
8024
|
ei.prototype.add = function(t, e, i, n) {
|
|
8025
8025
|
if (Array.isArray(t)) {
|
|
8026
8026
|
for (var s = 0; s < t.length; ++s)
|
|
@@ -8104,7 +8104,7 @@ var ZF = function() {
|
|
|
8104
8104
|
}
|
|
8105
8105
|
return r.extension = ce.Loader, r.use = qF, r;
|
|
8106
8106
|
}();
|
|
8107
|
-
|
|
8107
|
+
Ki.add(XF, ZF);
|
|
8108
8108
|
/*!
|
|
8109
8109
|
* @pixi/compressed-textures - v6.5.5
|
|
8110
8110
|
* Compiled Fri, 30 Sep 2022 13:37:53 UTC
|
|
@@ -8403,7 +8403,7 @@ function wC(r, t, e) {
|
|
|
8403
8403
|
var n = t.map(function(s) {
|
|
8404
8404
|
return new Ct(new Wt(s, Object.assign({
|
|
8405
8405
|
mipmap: Tn.OFF,
|
|
8406
|
-
alphaMode:
|
|
8406
|
+
alphaMode: Wi.NO_PREMULTIPLIED_ALPHA
|
|
8407
8407
|
}, e)));
|
|
8408
8408
|
});
|
|
8409
8409
|
return n.forEach(function(s, a) {
|
|
@@ -8630,7 +8630,7 @@ var IM = function() {
|
|
|
8630
8630
|
a.forEach(function(f, d) {
|
|
8631
8631
|
var p = new Ct(new Wt(f.resource, {
|
|
8632
8632
|
mipmap: Tn.OFF,
|
|
8633
|
-
alphaMode:
|
|
8633
|
+
alphaMode: Wi.NO_PREMULTIPLIED_ALPHA,
|
|
8634
8634
|
type: f.type,
|
|
8635
8635
|
format: f.format
|
|
8636
8636
|
})), v = i + "-" + (d + 1);
|
|
@@ -8685,7 +8685,7 @@ function TC(r, t) {
|
|
|
8685
8685
|
function t(e, i, n, s) {
|
|
8686
8686
|
e === void 0 && (e = 1500), n === void 0 && (n = 16384), s === void 0 && (s = !1);
|
|
8687
8687
|
var a = r.call(this) || this, o = 16384;
|
|
8688
|
-
return n > o && (n = o), a._properties = [!1, !0, !1, !1, !1], a._maxSize = e, a._batchSize = n, a._buffers = null, a._bufferUpdateIDs = [], a._updateID = 0, a.interactiveChildren = !1, a.blendMode =
|
|
8688
|
+
return n > o && (n = o), a._properties = [!1, !0, !1, !1, !1], a._maxSize = e, a._batchSize = n, a._buffers = null, a._bufferUpdateIDs = [], a._updateID = 0, a.interactiveChildren = !1, a.blendMode = xt.NORMAL, a.autoResize = s, a.roundPixels = !0, a.baseTexture = null, a.setProperties(i), a._tint = 0, a.tintRgb = new Float32Array(4), a.tint = 16777215, a;
|
|
8689
8689
|
}
|
|
8690
8690
|
return t.prototype.setProperties = function(e) {
|
|
8691
8691
|
e && (this._properties[0] = "vertices" in e || "scale" in e ? !!e.vertices || !!e.scale : this._properties[0], this._properties[1] = "position" in e ? !!e.position : this._properties[1], this._properties[2] = "rotation" in e ? !!e.rotation : this._properties[2], this._properties[3] = "uvs" in e ? !!e.uvs : this._properties[3], this._properties[4] = "tint" in e || "alpha" in e ? !!e.tint || !!e.alpha : this._properties[4]);
|
|
@@ -9151,8 +9151,8 @@ function AM(r, t) {
|
|
|
9151
9151
|
d.push(T - P * L, E - N * L), d.push(T + P * U, E + N * U);
|
|
9152
9152
|
continue;
|
|
9153
9153
|
}
|
|
9154
|
-
var nt = (-P + b) * (-N + E) - (-P + T) * (-N + x), ht = (-F + R) * (-A + E) - (-F + T) * (-A + C), M = (Q * ht - k * nt) / tt, gt = (W * nt - G * ht) / tt, st = (M - T) * (M - T) + (gt - E) * (gt - E), dt = T + (M - T) * L, it = E + (gt - E) * L, z = T - (M - T) * U,
|
|
9155
|
-
ut ? s.join === Ks.BEVEL || st / _ > y ? (lt ? (d.push(dt, it), d.push(T + P * U, E + N * U), d.push(dt, it), d.push(T + F * U, E + A * U)) : (d.push(T - P * L, E - N * L), d.push(z,
|
|
9154
|
+
var nt = (-P + b) * (-N + E) - (-P + T) * (-N + x), ht = (-F + R) * (-A + E) - (-F + T) * (-A + C), M = (Q * ht - k * nt) / tt, gt = (W * nt - G * ht) / tt, st = (M - T) * (M - T) + (gt - E) * (gt - E), dt = T + (M - T) * L, it = E + (gt - E) * L, z = T - (M - T) * U, Et = E - (gt - E) * U, J = Math.min(Q * Q + G * G, k * k + W * W), X = lt ? L : U, rt = J + X * X * _, ut = st <= rt;
|
|
9155
|
+
ut ? s.join === Ks.BEVEL || st / _ > y ? (lt ? (d.push(dt, it), d.push(T + P * U, E + N * U), d.push(dt, it), d.push(T + F * U, E + A * U)) : (d.push(T - P * L, E - N * L), d.push(z, Et), d.push(T - F * L, E - A * L), d.push(z, Et)), v += 2) : s.join === Ks.ROUND ? lt ? (d.push(dt, it), d.push(T + P * U, E + N * U), v += uu(T, E, T + P * U, E + N * U, T + F * U, E + A * U, d, !0) + 4, d.push(dt, it), d.push(T + F * U, E + A * U)) : (d.push(T - P * L, E - N * L), d.push(z, Et), v += uu(T, E, T - P * L, E - N * L, T - F * L, E - A * L, d, !1) + 4, d.push(T - F * L, E - A * L), d.push(z, Et)) : (d.push(dt, it), d.push(z, Et)) : (d.push(T - P * L, E - N * L), d.push(T + P * U, E + N * U), s.join === Ks.ROUND ? lt ? v += uu(T, E, T + P * U, E + N * U, T + F * U, E + A * U, d, !0) + 2 : v += uu(T, E, T - P * L, E - N * L, T - F * L, E - A * L, d, !1) + 2 : s.join === Ks.MITER && st / _ <= y && (lt ? (d.push(z, Et), d.push(z, Et)) : (d.push(dt, it), d.push(dt, it)), v += 2), d.push(T - F * L, E - A * L), d.push(T + F * U, E + A * U), v += 2);
|
|
9156
9156
|
}
|
|
9157
9157
|
b = i[(p - 2) * 2], x = i[(p - 2) * 2 + 1], T = i[(p - 1) * 2], E = i[(p - 1) * 2 + 1], P = -(x - E), N = b - T, B = Math.sqrt(P * P + N * N), P /= B, N /= B, P *= m, N *= m, d.push(T - P * L, E - N * L), d.push(T + P * U, E + N * U), u || (s.cap === Qs.ROUND ? v += uu(T - P * (L - U) * 0.5, E - N * (L - U) * 0.5, T - P * L, E - N * L, T + P * U, E + N * U, d, !1) + 2 : s.cap === Qs.SQUARE && (v += IE(T, E, P, N, L, U, !1, d)));
|
|
9158
9158
|
for (var Z = t.indices, Ut = ec.epsilon * ec.epsilon, V = g; V < v + g - 2; ++V)
|
|
@@ -9357,12 +9357,12 @@ var SE = function() {
|
|
|
9357
9357
|
this.drawCalls[i].texArray.clear(), Wd.push(this.drawCalls[i]);
|
|
9358
9358
|
this.drawCalls.length = 0;
|
|
9359
9359
|
var n = this.colors, s = this.textureIds, a = Wd.pop();
|
|
9360
|
-
a || (a = new Jp(), a.texArray = new Kp()), a.texArray.count = 0, a.start = 0, a.size = 0, a.type =
|
|
9361
|
-
var o = 0, u = null, l = 0, h = !1, f =
|
|
9360
|
+
a || (a = new Jp(), a.texArray = new Kp()), a.texArray.count = 0, a.start = 0, a.size = 0, a.type = zi.TRIANGLES;
|
|
9361
|
+
var o = 0, u = null, l = 0, h = !1, f = zi.TRIANGLES, d = 0;
|
|
9362
9362
|
this.drawCalls.push(a);
|
|
9363
9363
|
for (var i = 0; i < this.batches.length; i++) {
|
|
9364
9364
|
var p = this.batches[i], v = 8, g = p.style, m = g.texture.baseTexture;
|
|
9365
|
-
h !== !!g.native && (h = !!g.native, f = h ?
|
|
9365
|
+
h !== !!g.native && (h = !!g.native, f = h ? zi.LINES : zi.TRIANGLES, u = null, o = v, e++), u !== m && (u = m, m._batchEnabled !== e && (o === v && (e++, o = 0, a.size > 0 && (a = Wd.pop(), a || (a = new Jp(), a.texArray = new Kp()), this.drawCalls.push(a)), a.start = d, a.size = 0, a.texArray.count = 0, a.type = f), m.touched = 1, m._batchEnabled = e, m._batchLocation = o, m.wrapMode = fs.REPEAT, a.texArray.elements[a.texArray.count++] = m, o++)), a.size += p.size, d += p.size, l = m._batchLocation, this.addColors(n, g.color, g.alpha, p.attribSize, p.attribStart), this.addTextureIds(s, l, p.attribSize, p.attribStart);
|
|
9366
9366
|
}
|
|
9367
9367
|
Wt._globalBatch = e, this.packAttributes();
|
|
9368
9368
|
}, t.prototype.packAttributes = function() {
|
|
@@ -9439,7 +9439,7 @@ var SE = function() {
|
|
|
9439
9439
|
function t(e) {
|
|
9440
9440
|
e === void 0 && (e = null);
|
|
9441
9441
|
var i = r.call(this) || this;
|
|
9442
|
-
return i.shader = null, i.pluginName = "batch", i.currentPath = null, i.batches = [], i.batchTint = -1, i.batchDirty = -1, i.vertexData = null, i._fillStyle = new CC(), i._lineStyle = new DM(), i._matrix = null, i._holeMode = !1, i.state = ca.for2d(), i._geometry = e || new LM(), i._geometry.refCount++, i._transformID = -1, i.tint = 16777215, i.blendMode =
|
|
9442
|
+
return i.shader = null, i.pluginName = "batch", i.currentPath = null, i.batches = [], i.batchTint = -1, i.batchDirty = -1, i.vertexData = null, i._fillStyle = new CC(), i._lineStyle = new DM(), i._matrix = null, i._holeMode = !1, i.state = ca.for2d(), i._geometry = e || new LM(), i._geometry.refCount++, i._transformID = -1, i.tint = 16777215, i.blendMode = xt.NORMAL, i;
|
|
9443
9443
|
}
|
|
9444
9444
|
return Object.defineProperty(t.prototype, "geometry", {
|
|
9445
9445
|
get: function() {
|
|
@@ -9708,7 +9708,7 @@ var fh = new _e(), jM = new Uint16Array([0, 1, 2, 0, 2, 3]), je = function(r) {
|
|
|
9708
9708
|
GM(t, r);
|
|
9709
9709
|
function t(e) {
|
|
9710
9710
|
var i = r.call(this) || this;
|
|
9711
|
-
return i._anchor = new wu(i._onAnchorUpdate, i, e ? e.defaultAnchor.x : 0, e ? e.defaultAnchor.y : 0), i._texture = null, i._width = 0, i._height = 0, i._tint = null, i._tintRGB = null, i.tint = 16777215, i.blendMode =
|
|
9711
|
+
return i._anchor = new wu(i._onAnchorUpdate, i, e ? e.defaultAnchor.x : 0, e ? e.defaultAnchor.y : 0), i._texture = null, i._width = 0, i._height = 0, i._tint = null, i._tintRGB = null, i.tint = 16777215, i.blendMode = xt.NORMAL, i._cachedTint = 16777215, i.uvs = null, i.texture = e || Ct.EMPTY, i.vertexData = new Float32Array(8), i.vertexTrimmedData = null, i._transformID = -1, i._textureID = -1, i._transformTrimmedID = -1, i._textureTrimmedID = -1, i.indices = jM, i.pluginName = "batch", i.isSprite = !0, i._roundPixels = mt.ROUND_PIXELS, i;
|
|
9712
9712
|
}
|
|
9713
9713
|
return t.prototype._onTextureUpdate = function() {
|
|
9714
9714
|
this._textureID = -1, this._textureTrimmedID = -1, this._cachedTint = 16777215, this._width && (this.scale.x = Eu(this.scale.x) * this._width / this._texture.orig.width), this._height && (this.scale.y = Eu(this.scale.y) * this._height / this._texture.orig.height);
|
|
@@ -11123,7 +11123,7 @@ var fB = function() {
|
|
|
11123
11123
|
}(), Mm = new _e(), FE = new dp(), ic = function(r) {
|
|
11124
11124
|
r1(t, r);
|
|
11125
11125
|
function t(e, i, n, s) {
|
|
11126
|
-
s === void 0 && (s =
|
|
11126
|
+
s === void 0 && (s = zi.TRIANGLES);
|
|
11127
11127
|
var a = r.call(this) || this;
|
|
11128
11128
|
return a.geometry = e, a.shader = i, a.state = n || ca.for2d(), a.drawMode = s, a.start = 0, a.size = 0, a.uvs = null, a.indices = null, a.vertexData = new Float32Array(1), a.vertexDirty = -1, a._transformID = -1, a._roundPixels = mt.ROUND_PIXELS, a.batchUvs = null, a;
|
|
11129
11129
|
}
|
|
@@ -11195,7 +11195,7 @@ var fB = function() {
|
|
|
11195
11195
|
configurable: !0
|
|
11196
11196
|
}), t.prototype._render = function(e) {
|
|
11197
11197
|
var i = this.geometry.buffers[0].data, n = this.shader;
|
|
11198
|
-
n.batchable && this.drawMode ===
|
|
11198
|
+
n.batchable && this.drawMode === zi.TRIANGLES && i.length < t.BATCHABLE_SIZE * 2 ? this._renderToBatch(e) : this._renderDefault(e);
|
|
11199
11199
|
}, t.prototype._renderDefault = function(e) {
|
|
11200
11200
|
var i = this.shader;
|
|
11201
11201
|
i.alpha = this.worldAlpha, i.update && i.update(), e.batch.flush(), i.uniforms.translationMatrix = this.transform.worldTransform.toArray(!0), e.shader.bind(i), e.state.set(this.state), e.geometry.bind(this.geometry, i), e.geometry.draw(this.drawMode, this.size, this.start, this.geometry.instanceCount);
|
|
@@ -11570,7 +11570,7 @@ var fu = function() {
|
|
|
11570
11570
|
this._ownsTextures = i, this.font = a.face, this.size = a.size, this.lineHeight = o.lineHeight / h, this.chars = {}, this.pageTextures = f;
|
|
11571
11571
|
for (var d = 0; d < t.page.length; d++) {
|
|
11572
11572
|
var p = t.page[d], v = p.id, g = p.file;
|
|
11573
|
-
f[v] = e instanceof Array ? e[d] : e[g], (l == null ? void 0 : l.fieldType) && l.fieldType !== "none" && (f[v].baseTexture.alphaMode =
|
|
11573
|
+
f[v] = e instanceof Array ? e[d] : e[g], (l == null ? void 0 : l.fieldType) && l.fieldType !== "none" && (f[v].baseTexture.alphaMode = Wi.NO_PREMULTIPLIED_ALPHA, f[v].baseTexture.mipmap = Tn.OFF);
|
|
11574
11574
|
}
|
|
11575
11575
|
for (var d = 0; d < t.char.length; d++) {
|
|
11576
11576
|
var m = t.char[d], v = m.id, _ = m.page, y = t.char[d], b = y.x, x = y.y, T = y.width, E = y.height, R = y.xoffset, C = y.yoffset, P = y.xadvance;
|
|
@@ -11769,7 +11769,7 @@ void main(void)\r
|
|
|
11769
11769
|
var k = d.pop();
|
|
11770
11770
|
if (!k) {
|
|
11771
11771
|
var W = new zg(), tt = void 0, lt = void 0;
|
|
11772
|
-
i.distanceFieldType === "none" ? (tt = new nc(Ct.EMPTY), lt =
|
|
11772
|
+
i.distanceFieldType === "none" ? (tt = new nc(Ct.EMPTY), lt = xt.NORMAL) : (tt = new nc(Ct.EMPTY, { program: Kl.from(EB, xB), uniforms: { uFWidth: 0 } }), lt = xt.NORMAL_NPM);
|
|
11773
11773
|
var nt = new ic(W, tt);
|
|
11774
11774
|
nt.blendMode = lt, k = {
|
|
11775
11775
|
index: 0,
|
|
@@ -11806,14 +11806,14 @@ void main(void)\r
|
|
|
11806
11806
|
for (var E = 0; E < j; E++) {
|
|
11807
11807
|
var R = a[E], it = R.position.x + A[R.line] * (this._align === "justify" ? R.prevSpaces : 1);
|
|
11808
11808
|
this._roundPixels && (it = Math.round(it));
|
|
11809
|
-
var z = it * n,
|
|
11810
|
-
J.indices[ut * 6 + 0] = 0 + ut * 4, J.indices[ut * 6 + 1] = 1 + ut * 4, J.indices[ut * 6 + 2] = 2 + ut * 4, J.indices[ut * 6 + 3] = 0 + ut * 4, J.indices[ut * 6 + 4] = 2 + ut * 4, J.indices[ut * 6 + 5] = 3 + ut * 4, J.vertices[ut * 8 + 0] = z, J.vertices[ut * 8 + 1] =
|
|
11809
|
+
var z = it * n, Et = R.position.y * n, Q = R.texture, J = L[Q.baseTexture.uid], X = Q.frame, rt = Q._uvs, ut = J.index++;
|
|
11810
|
+
J.indices[ut * 6 + 0] = 0 + ut * 4, J.indices[ut * 6 + 1] = 1 + ut * 4, J.indices[ut * 6 + 2] = 2 + ut * 4, J.indices[ut * 6 + 3] = 0 + ut * 4, J.indices[ut * 6 + 4] = 2 + ut * 4, J.indices[ut * 6 + 5] = 3 + ut * 4, J.vertices[ut * 8 + 0] = z, J.vertices[ut * 8 + 1] = Et, J.vertices[ut * 8 + 2] = z + X.width * n, J.vertices[ut * 8 + 3] = Et, J.vertices[ut * 8 + 4] = z + X.width * n, J.vertices[ut * 8 + 5] = Et + X.height * n, J.vertices[ut * 8 + 6] = z, J.vertices[ut * 8 + 7] = Et + X.height * n, J.uvs[ut * 8 + 0] = rt.x0, J.uvs[ut * 8 + 1] = rt.y0, J.uvs[ut * 8 + 2] = rt.x1, J.uvs[ut * 8 + 3] = rt.y1, J.uvs[ut * 8 + 4] = rt.x2, J.uvs[ut * 8 + 5] = rt.y2, J.uvs[ut * 8 + 6] = rt.x3, J.uvs[ut * 8 + 7] = rt.y3;
|
|
11811
11811
|
}
|
|
11812
11812
|
this._textWidth = g * n, this._textHeight = (s.y + i.lineHeight) * n;
|
|
11813
11813
|
for (var E in L) {
|
|
11814
11814
|
var k = L[E];
|
|
11815
11815
|
if (this.anchor.x !== 0 || this.anchor.y !== 0)
|
|
11816
|
-
for (var Z = 0, Ut = this._textWidth * this.anchor.x, kt = this._textHeight * this.anchor.y,
|
|
11816
|
+
for (var Z = 0, Ut = this._textWidth * this.anchor.x, kt = this._textHeight * this.anchor.y, ie = 0; ie < k.total; ie++)
|
|
11817
11817
|
k.vertices[Z++] -= Ut, k.vertices[Z++] -= kt, k.vertices[Z++] -= Ut, k.vertices[Z++] -= kt, k.vertices[Z++] -= Ut, k.vertices[Z++] -= kt, k.vertices[Z++] -= Ut, k.vertices[Z++] -= kt;
|
|
11818
11818
|
this._maxLineHeight = x * n;
|
|
11819
11819
|
var Ge = k.mesh.geometry.getBuffer("aVertexPosition"), ur = k.mesh.geometry.getBuffer("aTextureCoord"), Vt = k.mesh.geometry.getIndex();
|
|
@@ -12067,7 +12067,7 @@ void main(void)
|
|
|
12067
12067
|
enumerable: !1,
|
|
12068
12068
|
configurable: !0
|
|
12069
12069
|
}), t;
|
|
12070
|
-
})(
|
|
12070
|
+
})(Yi);
|
|
12071
12071
|
/*!
|
|
12072
12072
|
* @pixi/filter-blur - v6.5.5
|
|
12073
12073
|
* Compiled Fri, 30 Sep 2022 13:37:53 UTC
|
|
@@ -12300,7 +12300,7 @@ var t3 = function(r) {
|
|
|
12300
12300
|
enumerable: !1,
|
|
12301
12301
|
configurable: !0
|
|
12302
12302
|
}), t;
|
|
12303
|
-
}(
|
|
12303
|
+
}(Yi);
|
|
12304
12304
|
(function(r) {
|
|
12305
12305
|
OC(t, r);
|
|
12306
12306
|
function t(e, i, n, s) {
|
|
@@ -12372,7 +12372,7 @@ var t3 = function(r) {
|
|
|
12372
12372
|
enumerable: !1,
|
|
12373
12373
|
configurable: !0
|
|
12374
12374
|
}), t;
|
|
12375
|
-
})(
|
|
12375
|
+
})(Yi);
|
|
12376
12376
|
/*!
|
|
12377
12377
|
* @pixi/filter-color-matrix - v6.5.5
|
|
12378
12378
|
* Compiled Fri, 30 Sep 2022 13:37:53 UTC
|
|
@@ -13005,7 +13005,7 @@ void main(void)
|
|
|
13005
13005
|
enumerable: !1,
|
|
13006
13006
|
configurable: !0
|
|
13007
13007
|
}), t;
|
|
13008
|
-
}(
|
|
13008
|
+
}(Yi);
|
|
13009
13009
|
e3.prototype.grayscale = e3.prototype.greyscale;
|
|
13010
13010
|
/*!
|
|
13011
13011
|
* @pixi/filter-displacement - v6.5.5
|
|
@@ -13118,7 +13118,7 @@ void main(void)
|
|
|
13118
13118
|
enumerable: !1,
|
|
13119
13119
|
configurable: !0
|
|
13120
13120
|
}), t;
|
|
13121
|
-
})(
|
|
13121
|
+
})(Yi);
|
|
13122
13122
|
/*!
|
|
13123
13123
|
* @pixi/filter-fxaa - v6.5.5
|
|
13124
13124
|
* Compiled Fri, 30 Sep 2022 13:37:53 UTC
|
|
@@ -13325,7 +13325,7 @@ void main() {
|
|
|
13325
13325
|
return r.call(this, UB, GB) || this;
|
|
13326
13326
|
}
|
|
13327
13327
|
return t;
|
|
13328
|
-
})(
|
|
13328
|
+
})(Yi);
|
|
13329
13329
|
/*!
|
|
13330
13330
|
* @pixi/filter-noise - v6.5.5
|
|
13331
13331
|
* Compiled Fri, 30 Sep 2022 13:37:53 UTC
|
|
@@ -13426,7 +13426,7 @@ void main()
|
|
|
13426
13426
|
enumerable: !1,
|
|
13427
13427
|
configurable: !0
|
|
13428
13428
|
}), t;
|
|
13429
|
-
})(
|
|
13429
|
+
})(Yi);
|
|
13430
13430
|
/*!
|
|
13431
13431
|
* @pixi/mixin-cache-as-bitmap - v6.5.5
|
|
13432
13432
|
* Compiled Fri, 30 Sep 2022 13:37:53 UTC
|
|
@@ -14097,34 +14097,34 @@ i1(function(r, t) {
|
|
|
14097
14097
|
return T(lt + (x + 1) * k / (k + f));
|
|
14098
14098
|
}
|
|
14099
14099
|
function U(k) {
|
|
14100
|
-
var W = [], tt = k.length, lt, nt = 0, ht = v, M = p, gt, st, dt, it, z,
|
|
14100
|
+
var W = [], tt = k.length, lt, nt = 0, ht = v, M = p, gt, st, dt, it, z, Et, J, X, rt;
|
|
14101
14101
|
for (gt = k.lastIndexOf(g), gt < 0 && (gt = 0), st = 0; st < gt; ++st)
|
|
14102
14102
|
k.charCodeAt(st) >= 128 && C("not-basic"), W.push(k.charCodeAt(st));
|
|
14103
14103
|
for (dt = gt > 0 ? gt + 1 : 0; dt < tt; ) {
|
|
14104
|
-
for (it = nt, z = 1,
|
|
14104
|
+
for (it = nt, z = 1, Et = u; dt >= tt && C("invalid-input"), J = B(k.charCodeAt(dt++)), (J >= u || J > T((o - nt) / z)) && C("overflow"), nt += J * z, X = Et <= M ? l : Et >= M + h ? h : Et - M, !(J < X); Et += u)
|
|
14105
14105
|
rt = u - X, z > T(o / rt) && C("overflow"), z *= rt;
|
|
14106
14106
|
lt = W.length + 1, M = L(nt - it, lt, it == 0), T(nt / lt) > o - ht && C("overflow"), ht += T(nt / lt), nt %= lt, W.splice(nt++, 0, ht);
|
|
14107
14107
|
}
|
|
14108
14108
|
return A(W);
|
|
14109
14109
|
}
|
|
14110
14110
|
function V(k) {
|
|
14111
|
-
var W, tt, lt, nt, ht, M, gt, st, dt, it, z,
|
|
14111
|
+
var W, tt, lt, nt, ht, M, gt, st, dt, it, z, Et = [], J, X, rt, ut;
|
|
14112
14112
|
for (k = F(k), J = k.length, W = v, tt = 0, ht = p, M = 0; M < J; ++M)
|
|
14113
|
-
z = k[M], z < 128 &&
|
|
14114
|
-
for (lt = nt =
|
|
14113
|
+
z = k[M], z < 128 && Et.push(E(z));
|
|
14114
|
+
for (lt = nt = Et.length, nt && Et.push(g); lt < J; ) {
|
|
14115
14115
|
for (gt = o, M = 0; M < J; ++M)
|
|
14116
14116
|
z = k[M], z >= W && z < gt && (gt = z);
|
|
14117
14117
|
for (X = lt + 1, gt - W > T((o - tt) / X) && C("overflow"), tt += (gt - W) * X, W = gt, M = 0; M < J; ++M)
|
|
14118
14118
|
if (z = k[M], z < W && ++tt > o && C("overflow"), z == W) {
|
|
14119
14119
|
for (st = tt, dt = u; it = dt <= ht ? l : dt >= ht + h ? h : dt - ht, !(st < it); dt += u)
|
|
14120
|
-
ut = st - it, rt = u - it,
|
|
14120
|
+
ut = st - it, rt = u - it, Et.push(
|
|
14121
14121
|
E(j(it + ut % rt, 0))
|
|
14122
14122
|
), st = T(ut / rt);
|
|
14123
|
-
|
|
14123
|
+
Et.push(E(j(st, 0))), ht = L(tt, X, lt == nt), tt = 0, ++lt;
|
|
14124
14124
|
}
|
|
14125
14125
|
++tt, ++W;
|
|
14126
14126
|
}
|
|
14127
|
-
return
|
|
14127
|
+
return Et.join("");
|
|
14128
14128
|
}
|
|
14129
14129
|
function Q(k) {
|
|
14130
14130
|
return N(k, function(W) {
|
|
@@ -14216,10 +14216,10 @@ var Y3;
|
|
|
14216
14216
|
(function(r) {
|
|
14217
14217
|
r[r.COLOR = 16384] = "COLOR", r[r.DEPTH = 256] = "DEPTH", r[r.STENCIL = 1024] = "STENCIL";
|
|
14218
14218
|
})(Y3 || (Y3 = {}));
|
|
14219
|
-
var
|
|
14219
|
+
var Pr;
|
|
14220
14220
|
(function(r) {
|
|
14221
14221
|
r[r.NORMAL = 0] = "NORMAL", r[r.ADD = 1] = "ADD", r[r.MULTIPLY = 2] = "MULTIPLY", r[r.SCREEN = 3] = "SCREEN", r[r.OVERLAY = 4] = "OVERLAY", r[r.DARKEN = 5] = "DARKEN", r[r.LIGHTEN = 6] = "LIGHTEN", r[r.COLOR_DODGE = 7] = "COLOR_DODGE", r[r.COLOR_BURN = 8] = "COLOR_BURN", r[r.HARD_LIGHT = 9] = "HARD_LIGHT", r[r.SOFT_LIGHT = 10] = "SOFT_LIGHT", r[r.DIFFERENCE = 11] = "DIFFERENCE", r[r.EXCLUSION = 12] = "EXCLUSION", r[r.HUE = 13] = "HUE", r[r.SATURATION = 14] = "SATURATION", r[r.COLOR = 15] = "COLOR", r[r.LUMINOSITY = 16] = "LUMINOSITY", r[r.NORMAL_NPM = 17] = "NORMAL_NPM", r[r.ADD_NPM = 18] = "ADD_NPM", r[r.SCREEN_NPM = 19] = "SCREEN_NPM", r[r.NONE = 20] = "NONE", r[r.SRC_OVER = 0] = "SRC_OVER", r[r.SRC_IN = 21] = "SRC_IN", r[r.SRC_OUT = 22] = "SRC_OUT", r[r.SRC_ATOP = 23] = "SRC_ATOP", r[r.DST_OVER = 24] = "DST_OVER", r[r.DST_IN = 25] = "DST_IN", r[r.DST_OUT = 26] = "DST_OUT", r[r.DST_ATOP = 27] = "DST_ATOP", r[r.ERASE = 26] = "ERASE", r[r.SUBTRACT = 28] = "SUBTRACT", r[r.XOR = 29] = "XOR";
|
|
14222
|
-
})(
|
|
14222
|
+
})(Pr || (Pr = {}));
|
|
14223
14223
|
var q3;
|
|
14224
14224
|
(function(r) {
|
|
14225
14225
|
r[r.POINTS = 0] = "POINTS", r[r.LINES = 1] = "LINES", r[r.LINE_LOOP = 2] = "LINE_LOOP", r[r.LINE_STRIP = 3] = "LINE_STRIP", r[r.TRIANGLES = 4] = "TRIANGLES", r[r.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", r[r.TRIANGLE_FAN = 6] = "TRIANGLE_FAN";
|
|
@@ -14296,7 +14296,7 @@ iv.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = !1;
|
|
|
14296
14296
|
function tk() {
|
|
14297
14297
|
for (var r = [], t = [], e = 0; e < 32; e++)
|
|
14298
14298
|
r[e] = e, t[e] = e;
|
|
14299
|
-
r[
|
|
14299
|
+
r[Pr.NORMAL_NPM] = Pr.NORMAL, r[Pr.ADD_NPM] = Pr.ADD, r[Pr.SCREEN_NPM] = Pr.SCREEN, t[Pr.NORMAL] = Pr.NORMAL_NPM, t[Pr.ADD] = Pr.ADD_NPM, t[Pr.SCREEN] = Pr.SCREEN_NPM;
|
|
14300
14300
|
var i = [];
|
|
14301
14301
|
return i.push(t), i.push(r), i;
|
|
14302
14302
|
}
|
|
@@ -14353,7 +14353,7 @@ var FC = function() {
|
|
|
14353
14353
|
});
|
|
14354
14354
|
}
|
|
14355
14355
|
return r.registerPlugin = function(t) {
|
|
14356
|
-
ek("6.5.0", "Application.registerPlugin() is deprecated, use extensions.add()"),
|
|
14356
|
+
ek("6.5.0", "Application.registerPlugin() is deprecated, use extensions.add()"), Ki.add({
|
|
14357
14357
|
type: ce.Application,
|
|
14358
14358
|
ref: t
|
|
14359
14359
|
});
|
|
@@ -14378,8 +14378,8 @@ var FC = function() {
|
|
|
14378
14378
|
}), this.stage.destroy(e), this.stage = null, this.renderer.destroy(t), this.renderer = null;
|
|
14379
14379
|
}, r._plugins = [], r;
|
|
14380
14380
|
}();
|
|
14381
|
-
|
|
14382
|
-
|
|
14381
|
+
Ki.handleByList(ce.Application, FC._plugins);
|
|
14382
|
+
Ki.add($B);
|
|
14383
14383
|
/*!
|
|
14384
14384
|
* @pixi/mesh-extras - v6.5.5
|
|
14385
14385
|
* Compiled Fri, 30 Sep 2022 13:37:53 UTC
|
|
@@ -14769,7 +14769,7 @@ var fw = function(r) {
|
|
|
14769
14769
|
* pixi.js is licensed under the MIT License.
|
|
14770
14770
|
* http://www.opensource.org/licenses/mit-license
|
|
14771
14771
|
*/
|
|
14772
|
-
|
|
14772
|
+
Ki.add(
|
|
14773
14773
|
OF,
|
|
14774
14774
|
LF,
|
|
14775
14775
|
kF,
|
|
@@ -15707,7 +15707,7 @@ const Xk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
15707
15707
|
Encoder: $k,
|
|
15708
15708
|
Decoder: s1
|
|
15709
15709
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
15710
|
-
function
|
|
15710
|
+
function Gi(r, t, e) {
|
|
15711
15711
|
return r.on(t, e), function() {
|
|
15712
15712
|
r.off(t, e);
|
|
15713
15713
|
};
|
|
@@ -15732,10 +15732,10 @@ class WC extends Je {
|
|
|
15732
15732
|
return;
|
|
15733
15733
|
const t = this.io;
|
|
15734
15734
|
this.subs = [
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
|
|
15738
|
-
|
|
15735
|
+
Gi(t, "open", this.onopen.bind(this)),
|
|
15736
|
+
Gi(t, "packet", this.onpacket.bind(this)),
|
|
15737
|
+
Gi(t, "error", this.onerror.bind(this)),
|
|
15738
|
+
Gi(t, "close", this.onclose.bind(this))
|
|
15739
15739
|
];
|
|
15740
15740
|
}
|
|
15741
15741
|
get active() {
|
|
@@ -15993,9 +15993,9 @@ class Z_ extends Je {
|
|
|
15993
15993
|
this.engine = new Ss(this.uri, this.opts);
|
|
15994
15994
|
const e = this.engine, i = this;
|
|
15995
15995
|
this._readyState = "opening", this.skipReconnect = !1;
|
|
15996
|
-
const n =
|
|
15996
|
+
const n = Gi(e, "open", function() {
|
|
15997
15997
|
i.onopen(), t && t();
|
|
15998
|
-
}), s =
|
|
15998
|
+
}), s = Gi(e, "error", (a) => {
|
|
15999
15999
|
i.cleanup(), i._readyState = "closed", this.emitReserved("error", a), t ? t(a) : i.maybeReconnectOnOpen();
|
|
16000
16000
|
});
|
|
16001
16001
|
if (this._timeout !== !1) {
|
|
@@ -16016,7 +16016,7 @@ class Z_ extends Je {
|
|
|
16016
16016
|
onopen() {
|
|
16017
16017
|
this.cleanup(), this._readyState = "open", this.emitReserved("open");
|
|
16018
16018
|
const t = this.engine;
|
|
16019
|
-
this.subs.push(
|
|
16019
|
+
this.subs.push(Gi(t, "ping", this.onping.bind(this)), Gi(t, "data", this.ondata.bind(this)), Gi(t, "error", this.onerror.bind(this)), Gi(t, "close", this.onclose.bind(this)), Gi(this.decoder, "decoded", this.ondecoded.bind(this)));
|
|
16020
16020
|
}
|
|
16021
16021
|
onping() {
|
|
16022
16022
|
this.emitReserved("ping");
|
|
@@ -16099,7 +16099,7 @@ Object.assign(_p, {
|
|
|
16099
16099
|
io: _p,
|
|
16100
16100
|
connect: _p
|
|
16101
16101
|
});
|
|
16102
|
-
var Ri,
|
|
16102
|
+
var Ri, tn, en, Ma, Ba, Ns, Os, As, vv, gv, pc, Au, mv, Fu, ka, _v, La, Mu;
|
|
16103
16103
|
const yv = class {
|
|
16104
16104
|
constructor(t = {}, e) {
|
|
16105
16105
|
q(this, "hFactoryCls", {});
|
|
@@ -16111,8 +16111,8 @@ const yv = class {
|
|
|
16111
16111
|
q(this, "val");
|
|
16112
16112
|
q(this, "appPixi");
|
|
16113
16113
|
w(this, Ri, 0);
|
|
16114
|
-
w(this,
|
|
16115
|
-
w(this,
|
|
16114
|
+
w(this, tn, 0);
|
|
16115
|
+
w(this, en, 1);
|
|
16116
16116
|
w(this, Ma, 0);
|
|
16117
16117
|
w(this, Ba, 0);
|
|
16118
16118
|
w(this, Ns, 0);
|
|
@@ -16285,10 +16285,10 @@ const yv = class {
|
|
|
16285
16285
|
return c(this, Ri);
|
|
16286
16286
|
}
|
|
16287
16287
|
get cvsHeight() {
|
|
16288
|
-
return c(this,
|
|
16288
|
+
return c(this, tn);
|
|
16289
16289
|
}
|
|
16290
16290
|
get cvsScale() {
|
|
16291
|
-
return c(this,
|
|
16291
|
+
return c(this, en);
|
|
16292
16292
|
}
|
|
16293
16293
|
get ofsLeft4elm() {
|
|
16294
16294
|
return c(this, Ma);
|
|
@@ -16316,18 +16316,18 @@ const yv = class {
|
|
|
16316
16316
|
}
|
|
16317
16317
|
const s = i.getBoundingClientRect();
|
|
16318
16318
|
if (vt(Y.hDip, "expanding", !0) || n || Y.stageW > t || Y.stageH > e)
|
|
16319
|
-
if (Y.stageW / Y.stageH <= t / e ? (I(this,
|
|
16319
|
+
if (Y.stageW / Y.stageH <= t / e ? (I(this, tn, e), I(this, Ri, Y.stageW / Y.stageH * e)) : (I(this, Ri, t), I(this, tn, Y.stageH / Y.stageW * t)), I(this, en, c(this, Ri) / Y.stageW), n)
|
|
16320
16320
|
I(this, Ns, 0), I(this, Os, 0);
|
|
16321
16321
|
else {
|
|
16322
|
-
const h = 1 - c(this,
|
|
16323
|
-
Y.isMobile ? (I(this, Ns, (t - c(this, Ri)) / 2 * h), I(this, Os, (e - c(this,
|
|
16322
|
+
const h = 1 - c(this, en);
|
|
16323
|
+
Y.isMobile ? (I(this, Ns, (t - c(this, Ri)) / 2 * h), I(this, Os, (e - c(this, tn)) / 2 * h)) : (I(this, Ns, s.left * h), I(this, Os, s.top * h));
|
|
16324
16324
|
}
|
|
16325
16325
|
else
|
|
16326
|
-
I(this, Ri, Y.stageW), I(this,
|
|
16326
|
+
I(this, Ri, Y.stageW), I(this, tn, Y.stageH), I(this, en, 1), I(this, Ns, 0), I(this, Os, 0);
|
|
16327
16327
|
const a = i.parentElement.style;
|
|
16328
|
-
n || (a.position = "relative", a.width = `${c(this, Ri)}px`, a.height = `${c(this,
|
|
16328
|
+
n || (a.position = "relative", a.width = `${c(this, Ri)}px`, a.height = `${c(this, tn)}px`);
|
|
16329
16329
|
const o = i.style;
|
|
16330
|
-
o.width = a.width, o.height = a.height, n ? (I(this, Ma, s.left), I(this, Ba, s.top)) : (I(this, Ma, 0), I(this, Ba, 0)), this.isFullScr && (I(this, Ma, c(this, Ma) + (t - c(this, Ri)) / 2), I(this, Ba, c(this, Ba) + (e - c(this,
|
|
16330
|
+
o.width = a.width, o.height = a.height, n ? (I(this, Ma, s.left), I(this, Ba, s.top)) : (I(this, Ma, 0), I(this, Ba, 0)), this.isFullScr && (I(this, Ma, c(this, Ma) + (t - c(this, Ri)) / 2), I(this, Ba, c(this, Ba) + (e - c(this, tn)) / 2));
|
|
16331
16331
|
}
|
|
16332
16332
|
attach_debug(t) {
|
|
16333
16333
|
this.attach_debug = () => {
|
|
@@ -16378,10 +16378,10 @@ const yv = class {
|
|
|
16378
16378
|
e.querySelectorAll(".sn_BounceIn, .sn_HopIn").forEach((l) => e.removeChild(l));
|
|
16379
16379
|
const i = document.createElement("img"), n = c(yv, gv)[t];
|
|
16380
16380
|
i.src = `data:image/svg+xml;base64,${n.dat}`;
|
|
16381
|
-
const s = Math.min(Y.stageW, Y.stageH) / 4 * c(this,
|
|
16381
|
+
const s = Math.min(Y.stageW, Y.stageH) / 4 * c(this, en);
|
|
16382
16382
|
i.width = i.height = s, i.style.cssText = `position: absolute;
|
|
16383
|
-
left: ${(Y.stageW - s) / 2 * c(this,
|
|
16384
|
-
top: ${(Y.stageH - s) / 2 * c(this,
|
|
16383
|
+
left: ${(Y.stageW - s) / 2 * c(this, en) + s * ((a = n.dx) != null ? a : 0)}px;
|
|
16384
|
+
top: ${(Y.stageH - s) / 2 * c(this, en) + s * ((o = n.dy) != null ? o : 0)}px;`, i.classList.add("sn_toast", (u = n.ease) != null ? u : "sn_BounceInOut"), n.ease || i.addEventListener("animationend", () => e.removeChild(i), { once: !0, passive: !0 }), e.insertBefore(i, this.appPixi.view);
|
|
16385
16385
|
}
|
|
16386
16386
|
setFire(t) {
|
|
16387
16387
|
this.fire = t;
|
|
@@ -16417,7 +16417,7 @@ top: ${(Y.stageH - s) / 2 * c(this, tn) + s * ((o = n.dy) != null ? o : 0)}px;`,
|
|
|
16417
16417
|
}
|
|
16418
16418
|
};
|
|
16419
16419
|
let yh = yv;
|
|
16420
|
-
Ri = new WeakMap(),
|
|
16420
|
+
Ri = new WeakMap(), tn = new WeakMap(), en = new WeakMap(), Ma = new WeakMap(), Ba = new WeakMap(), Ns = new WeakMap(), Os = new WeakMap(), As = new WeakMap(), vv = new WeakMap(), gv = new WeakMap(), pc = new WeakMap(), Au = new WeakMap(), mv = new WeakMap(), Fu = new WeakMap(), ka = new WeakMap(), _v = new WeakMap(), La = new WeakMap(), Mu = new WeakMap(), q(yh, "VALNM_CFG_NS", "const.sn.cfg.ns"), w(yh, gv, {
|
|
16421
16421
|
\u63A5\u7D9A: { dx: -1, dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMCAyOTJ2NTUuODhoMTI3LjEzYzEyLjM3IDQ2IDU0LjEyIDc5Ljg3IDEwNCA3OS44N2g3Ny44N3YtMjE1LjYyYy00Ni43MyAwLTcyLjY4IDAtNzcuODggMC00OS43NCAwLTkxLjYyIDMzLjg3LTEwMy45OSA3OS44Ny0xNi45NSAwLTU5LjMzIDAtMTI3LjEzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im01MTIuODggMjkyYy0xMi4zOC00Ni01NC4xMy03OS44Ny0xMDQtNzkuODctNS4yMSAwLTMxLjIxIDAtNzggMHYyMTUuNzRoNzcuODdjNDkuODggMCA5MS43NS0zMy44NyAxMDQtNzkuODdoMTI3LjI1di01NmMtNzYuMjcgMC0xMTguNjUgMC0xMjcuMTIgMHoiLz48L2RlZnM+PHVzZSBmaWxsPSIjMmUyZTJlIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2EiLz48dXNlIGZpbGw9IiMzYWFiZDIiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYiIvPjx1c2UgZmlsbD0iIzNhYWJkMiIgeGxpbms6aHJlZj0iI2MiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNjIi8+PC9zdmc+" },
|
|
16422
16422
|
\u5207\u65AD: { dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtNjQwIDMyMGMwIDE3Ni43My0xNDMuMjcgMzIwLTMyMCAzMjBzLTMyMC0xNDMuMjctMzIwLTMyMCAxNDMuMjctMzIwIDMyMC0zMjAgMzIwIDE0My4yNyAzMjAgMzIweiIvPjxwYXRoIGlkPSJiIiBkPSJtMTkxLjUzIDIyMS4yNGMtNDUuNjggMC04NC4wMSAzMS4wNC05NS4zIDczLjE2LTYuNDEgMC0zOC40OSAwLTk2LjIzIDB2NTEuMjFoOTYuMjNjMTEuMyA0Mi4xMSA0OS42MyA3My4xNiA5NS4zIDczLjE2aDcxLjMzdi00OC4yNGg1My43OHYtMTAxLjA1aC01My43OHYtNDguMjRjLTQyLjggMC02Ni41NyAwLTcxLjMzIDB6Ii8+PHBhdGggaWQ9ImMiIGQ9Im00NDguNDcgMjIxLjIzYy00Ljc2IDAtMjguNTMgMC03MS4zMyAwdjE5Ny41M2g3MS4zM2M0NS42OCAwIDgzLjk5LTMxLjA0IDk1LjI5LTczLjE1aDk2LjI0di01MS4yMWgtOTYuMjRjLTMzLjA4LTQ4Ljc4LTY0Ljg0LTczLjE3LTk1LjI5LTczLjE3eiIvPjwvZGVmcz48dXNlIGZpbGw9IiMyZTJlMmUiIHhsaW5rOmhyZWY9IiNhIi8+PHVzZSBmaWxsPSJub25lIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0iI2RmNTY1NiIgeGxpbms6aHJlZj0iI2IiLz48dXNlIGZpbGw9Im5vbmUiIHhsaW5rOmhyZWY9IiNiIi8+PHVzZSBmaWxsPSIjZGY1NjU2IiB4bGluazpocmVmPSIjYyIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2MiLz48L3N2Zz4=" },
|
|
16423
16423
|
\u518D\u751F: { dat: "PHN2ZyBoZWlnaHQ9IjY0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDY0MCA2NDAiIHdpZHRoPSI2NDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGlkPSJhIiBkPSJtMCAzMjBjMCAxNzYuNzIgMTQzLjI4IDMyMCAzMjAgMzIwczMyMC0xNDMuMjggMzIwLTMyMC0xNDMuMjgtMzIwLTMyMC0zMjAtMzIwIDE0My4yOC0zMjAgMzIwem0yNTguODMgMTExLjA1Yy0xLjI5Ljc5LTIuOTMuODMtNC4yNi4wNC0xLjI5LS43NC0yLjExLTIuMTItMi4xMS0zLjY3IDAtNy4xNiAwLTQyLjk3IDAtMTA3LjQzczAtMTAwLjI3IDAtMTA3LjQzYzAtMS41My44Mi0yLjkzIDIuMTEtMy42OCAxLjMzLS43NiAyLjk3LS43MiA0LjI2LjA0IDE4IDEwLjc1IDE2MiA5Ni43MSAxODAgMTA3LjQ2IDEuMjkuNzMgMi4wNSAyLjE0IDIuMDUgMy42MSAwIDEuNDktLjc2IDIuODgtMi4wNSAzLjYzLTM2IDIxLjQ5LTE2MiA5Ni42OS0xODAgMTA3LjQzeiIvPjwvZGVmcz48cGF0aCBkPSJtMTU0LjU3IDE3MC4xOWgzNDYuMTV2MzA3LjY5aC0zNDYuMTV6IiBmaWxsPSIjZmZmIi8+PHVzZSBmaWxsPSIjMmUyZTJlIiB4bGluazpocmVmPSIjYSIvPjx1c2UgZmlsbD0ibm9uZSIgeGxpbms6aHJlZj0iI2EiLz48L3N2Zz4=" },
|
|
@@ -16610,10 +16610,10 @@ const Z1 = class {
|
|
|
16610
16610
|
};
|
|
16611
16611
|
let J_ = Z1;
|
|
16612
16612
|
vc = new WeakMap(), gc = new WeakMap(), bv = new WeakMap();
|
|
16613
|
-
var Da,
|
|
16613
|
+
var Da, rn, mc;
|
|
16614
16614
|
const Is = class {
|
|
16615
16615
|
constructor() {
|
|
16616
|
-
w(this,
|
|
16616
|
+
w(this, rn, () => {
|
|
16617
16617
|
});
|
|
16618
16618
|
}
|
|
16619
16619
|
static setting(t) {
|
|
@@ -16626,7 +16626,7 @@ const Is = class {
|
|
|
16626
16626
|
I(Is, Da, "\u30FD");
|
|
16627
16627
|
}
|
|
16628
16628
|
init(t) {
|
|
16629
|
-
I(this,
|
|
16629
|
+
I(this, rn, t);
|
|
16630
16630
|
}
|
|
16631
16631
|
static setEscape(t) {
|
|
16632
16632
|
I(Is, mc, new RegExp(
|
|
@@ -16650,36 +16650,36 @@ const Is = class {
|
|
|
16650
16650
|
continue;
|
|
16651
16651
|
}
|
|
16652
16652
|
if (o) {
|
|
16653
|
-
c(this,
|
|
16653
|
+
c(this, rn).call(this, o.slice(1), "");
|
|
16654
16654
|
continue;
|
|
16655
16655
|
}
|
|
16656
16656
|
for (const l of Array.from(u))
|
|
16657
|
-
c(this,
|
|
16657
|
+
c(this, rn).call(this, l, "");
|
|
16658
16658
|
}
|
|
16659
16659
|
}
|
|
16660
16660
|
putTxtRb(t, e) {
|
|
16661
16661
|
if (/^\w+|{"/.test(e)) {
|
|
16662
|
-
c(this,
|
|
16662
|
+
c(this, rn).call(this, t, e);
|
|
16663
16663
|
return;
|
|
16664
16664
|
}
|
|
16665
16665
|
const i = Array.from(t), n = i.length;
|
|
16666
16666
|
if (/^\*.?$/.test(e)) {
|
|
16667
16667
|
const u = "center\uFF5C" + (e === "*" ? c(Is, Da) : e.charAt(1));
|
|
16668
16668
|
for (let l = 0; l < n; ++l)
|
|
16669
|
-
c(this,
|
|
16669
|
+
c(this, rn).call(this, i[l], u);
|
|
16670
16670
|
return;
|
|
16671
16671
|
}
|
|
16672
16672
|
if (n === 1 || e.indexOf(" ") === -1) {
|
|
16673
|
-
c(this,
|
|
16673
|
+
c(this, rn).call(this, t, decodeURIComponent(e));
|
|
16674
16674
|
return;
|
|
16675
16675
|
}
|
|
16676
16676
|
const s = e.split(" "), a = s.length, o = a > n ? a : n;
|
|
16677
16677
|
for (let u = 0; u < o; ++u)
|
|
16678
|
-
c(this,
|
|
16678
|
+
c(this, rn).call(this, u < n ? i[u] : "", u < a ? decodeURIComponent(s[u]) : "");
|
|
16679
16679
|
}
|
|
16680
16680
|
};
|
|
16681
16681
|
let ea = Is;
|
|
16682
|
-
Da = new WeakMap(),
|
|
16682
|
+
Da = new WeakMap(), rn = new WeakMap(), mc = new WeakMap(), w(ea, Da, "\u30FD"), w(ea, mc, void 0);
|
|
16683
16683
|
const YC = /(?<name>[^\s;\]]+)/;
|
|
16684
16684
|
function yp(r) {
|
|
16685
16685
|
const t = YC.exec(r.slice(1, -1)), e = t == null ? void 0 : t.groups;
|
|
@@ -16983,8 +16983,8 @@ var me = { exports: {} };
|
|
|
16983
16983
|
for (var lr = 0; lr < at.length; lr++)
|
|
16984
16984
|
be[at[lr]] = !0;
|
|
16985
16985
|
var Fn = [];
|
|
16986
|
-
for (var
|
|
16987
|
-
({}).hasOwnProperty.call(be,
|
|
16986
|
+
for (var zr in be)
|
|
16987
|
+
({}).hasOwnProperty.call(be, zr) && Fn.push(zr);
|
|
16988
16988
|
return Fn.sort(), Fn;
|
|
16989
16989
|
}(O.expected, D.expected) : D.expected;
|
|
16990
16990
|
return { status: O.status, index: O.index, value: O.value, furthest: D.furthest, expected: $ };
|
|
@@ -17041,7 +17041,7 @@ var me = { exports: {} };
|
|
|
17041
17041
|
if (be === O.length)
|
|
17042
17042
|
return "Got the end of the input";
|
|
17043
17043
|
if (E(O)) {
|
|
17044
|
-
var lr = be - be % G, Fn = be - lr,
|
|
17044
|
+
var lr = be - be % G, Fn = be - lr, zr = ht(lr, k, W + G, O.length), Mn = l(function(Qe) {
|
|
17045
17045
|
return l(function(ru) {
|
|
17046
17046
|
return nt(ru.toString(16), 2, "0");
|
|
17047
17047
|
}, Qe);
|
|
@@ -17052,10 +17052,10 @@ var me = { exports: {} };
|
|
|
17052
17052
|
for (var su = 0; su < iu; su++)
|
|
17053
17053
|
da[nu] || da.push([]), da[nu].push(Qe[su]), (su + 1) % ru == 0 && nu++;
|
|
17054
17054
|
return da;
|
|
17055
|
-
}(O.slice(
|
|
17055
|
+
}(O.slice(zr.from, zr.to).toJSON().data, G));
|
|
17056
17056
|
ot = function(Qe) {
|
|
17057
17057
|
return Qe.from === 0 && Qe.to === 1 ? { from: Qe.from, to: Qe.to } : { from: Qe.from / G, to: Math.floor(Qe.to / G) };
|
|
17058
|
-
}(
|
|
17058
|
+
}(zr), K = lr / G, $ = 3 * Fn, Fn >= 4 && ($ += 1), br = 2, at = l(function(Qe) {
|
|
17059
17059
|
return Qe.length <= 4 ? Qe.join(" ") : Qe.slice(0, 4).join(" ") + " " + Qe.slice(4).join(" ");
|
|
17060
17060
|
}, Mn), (ft = (8 * (ot.to > 0 ? ot.to - 1 : ot.to)).toString(16).length) < 2 && (ft = 2);
|
|
17061
17061
|
} else {
|
|
@@ -17120,7 +17120,7 @@ var me = { exports: {} };
|
|
|
17120
17120
|
return ot;
|
|
17121
17121
|
});
|
|
17122
17122
|
}
|
|
17123
|
-
function
|
|
17123
|
+
function Et(O, D) {
|
|
17124
17124
|
return J(O, D).or(ut([]));
|
|
17125
17125
|
}
|
|
17126
17126
|
function J(O, D) {
|
|
@@ -17189,7 +17189,7 @@ var me = { exports: {} };
|
|
|
17189
17189
|
return K.status ? C($, 'not "' + at + '"') : R($, null);
|
|
17190
17190
|
});
|
|
17191
17191
|
}
|
|
17192
|
-
function
|
|
17192
|
+
function ie(O) {
|
|
17193
17193
|
return L(O), s(function(D, $) {
|
|
17194
17194
|
var K = B(D, $);
|
|
17195
17195
|
return $ < D.length && O(K) ? R($ + 1, K) : C($, "a character/byte matching " + O);
|
|
@@ -17311,7 +17311,7 @@ var me = { exports: {} };
|
|
|
17311
17311
|
return { name: O, value: $, start: D, end: K };
|
|
17312
17312
|
});
|
|
17313
17313
|
}, a.sepBy = function(O) {
|
|
17314
|
-
return
|
|
17314
|
+
return Et(this, O);
|
|
17315
17315
|
}, a.sepBy1 = function(O) {
|
|
17316
17316
|
return J(this, O);
|
|
17317
17317
|
}, a.lookahead = function(O) {
|
|
@@ -17346,7 +17346,7 @@ var me = { exports: {} };
|
|
|
17346
17346
|
return R(O.length, O.slice(D));
|
|
17347
17347
|
}), ae = s(function(O, D) {
|
|
17348
17348
|
return D < O.length ? C(D, "EOF") : R(D, null);
|
|
17349
|
-
}),
|
|
17349
|
+
}), ne = rt(/[0-9]/).desc("a digit"), $t = rt(/[0-9]*/).desc("optional digits"), nr = rt(/[a-z]/i).desc("a letter"), nh = rt(/[a-z]*/i).desc("optional letters"), nm = rt(/\s*/).desc("optional whitespace"), Ed = rt(/\s+/).desc("whitespace"), sh = X("\r"), wd = X(`
|
|
17350
17350
|
`), Td = X(`\r
|
|
17351
17351
|
`), Cd = z(Td, wd, sh).desc("newline"), ah = z(Cd, ae);
|
|
17352
17352
|
s.all = ge, s.alt = z, s.any = Ke, s.cr = sh, s.createLanguage = function(O) {
|
|
@@ -17360,21 +17360,21 @@ var me = { exports: {} };
|
|
|
17360
17360
|
return D;
|
|
17361
17361
|
}, s.crlf = Td, s.custom = function(O) {
|
|
17362
17362
|
return s(O(R, C));
|
|
17363
|
-
}, s.digit =
|
|
17364
|
-
return
|
|
17363
|
+
}, s.digit = ne, s.digits = $t, s.empty = ur, s.end = ah, s.eof = ae, s.fail = Z, s.formatError = gt, s.index = Vt, s.isParser = x, s.lazy = Ge, s.letter = nr, s.letters = nh, s.lf = wd, s.lookahead = Ut, s.makeFailure = C, s.makeSuccess = R, s.newline = Cd, s.noneOf = function(O) {
|
|
17364
|
+
return ie(function(D) {
|
|
17365
17365
|
return O.indexOf(D) < 0;
|
|
17366
17366
|
}).desc("none of '" + O + "'");
|
|
17367
17367
|
}, s.notFollowedBy = kt, s.of = ut, s.oneOf = function(O) {
|
|
17368
17368
|
for (var D = O.split(""), $ = 0; $ < D.length; $++)
|
|
17369
17369
|
D[$] = "'" + D[$] + "'";
|
|
17370
|
-
return
|
|
17370
|
+
return ie(function(K) {
|
|
17371
17371
|
return O.indexOf(K) >= 0;
|
|
17372
17372
|
}).desc(D);
|
|
17373
17373
|
}, s.optWhitespace = nm, s.Parser = s, s.range = function(O, D) {
|
|
17374
|
-
return
|
|
17374
|
+
return ie(function($) {
|
|
17375
17375
|
return O <= $ && $ <= D;
|
|
17376
17376
|
}).desc(O + "-" + D);
|
|
17377
|
-
}, s.regex = rt, s.regexp = rt, s.sepBy =
|
|
17377
|
+
}, s.regex = rt, s.regexp = rt, s.sepBy = Et, s.sepBy1 = J, s.seq = dt, s.seqMap = it, s.seqObj = function() {
|
|
17378
17378
|
for (var O, D = {}, $ = 0, K = (O = arguments, Array.prototype.slice.call(O)), at = K.length, ot = 0; ot < at; ot += 1) {
|
|
17379
17379
|
var ft = K[ot];
|
|
17380
17380
|
if (!x(ft)) {
|
|
@@ -17391,9 +17391,9 @@ var me = { exports: {} };
|
|
|
17391
17391
|
if ($ === 0)
|
|
17392
17392
|
throw new Error("seqObj expects at least one named parser, found zero");
|
|
17393
17393
|
return s(function(be, br) {
|
|
17394
|
-
for (var lr, Fn = {},
|
|
17394
|
+
for (var lr, Fn = {}, zr = 0; zr < at; zr += 1) {
|
|
17395
17395
|
var Mn, eu;
|
|
17396
|
-
if (T(K[
|
|
17396
|
+
if (T(K[zr]) ? (Mn = K[zr][0], eu = K[zr][1]) : (Mn = null, eu = K[zr]), !(lr = P(eu._(be, br), lr)).status)
|
|
17397
17397
|
return lr;
|
|
17398
17398
|
Mn && (Fn[Mn] = lr.value), br = lr.index;
|
|
17399
17399
|
}
|
|
@@ -17405,7 +17405,7 @@ var me = { exports: {} };
|
|
|
17405
17405
|
K++;
|
|
17406
17406
|
return R(K, D.slice($, K));
|
|
17407
17407
|
});
|
|
17408
|
-
}, s.test =
|
|
17408
|
+
}, s.test = ie, s.whitespace = Ed, s["fantasy-land/empty"] = ur, s["fantasy-land/of"] = ut, s.Binary = { bitSeq: p, bitSeqObj: function(O) {
|
|
17409
17409
|
d();
|
|
17410
17410
|
var D = {}, $ = 0, K = l(function(ot) {
|
|
17411
17411
|
if (T(ot)) {
|
|
@@ -17813,7 +17813,7 @@ class xw {
|
|
|
17813
17813
|
return t.slice(1);
|
|
17814
17814
|
}
|
|
17815
17815
|
}
|
|
17816
|
-
var Ve,
|
|
17816
|
+
var Ve, Wr, xe, Un, Be, Nr, nn, wc, Pv, Tc, Q_, Cc, Ic, Nv, tI, Ov, eI, ui, Qi, Av, rI, Fv, iI, Mv, nI, Bv, sI, kv, aI, Lv, oI, Dv, uI, Uv, lI, Lu, Ep, Rc, ty, Sc, za, Pc, ey, Gv, jv, Du, Nc, Uu, wp, Hv, hI, zv, cI, Oc, ry, Ac, iy, $v, fI, Vv, dI, Gu, Tp;
|
|
17817
17817
|
const Ru = class {
|
|
17818
17818
|
constructor(t, e) {
|
|
17819
17819
|
w(this, Tc);
|
|
@@ -17840,12 +17840,12 @@ const Ru = class {
|
|
|
17840
17840
|
w(this, Vv);
|
|
17841
17841
|
w(this, Gu);
|
|
17842
17842
|
w(this, Ve, { sys: {}, save: {}, tmp: {}, mp: {} });
|
|
17843
|
-
w(this,
|
|
17843
|
+
w(this, Wr, c(this, Ve).save);
|
|
17844
17844
|
w(this, xe, c(this, Ve).tmp);
|
|
17845
17845
|
w(this, Un, void 0);
|
|
17846
17846
|
w(this, Be, { sys: {}, mark: {}, kidoku: {} });
|
|
17847
|
-
w(this,
|
|
17848
|
-
w(this,
|
|
17847
|
+
w(this, Nr, void 0);
|
|
17848
|
+
w(this, nn, {});
|
|
17849
17849
|
w(this, wc, void 0);
|
|
17850
17850
|
w(this, Pv, {
|
|
17851
17851
|
auth: (t, e) => S(this, Tc, Q_).call(this, e.hBreakpoint.aData),
|
|
@@ -17869,7 +17869,7 @@ const Ru = class {
|
|
|
17869
17869
|
w(this, Ic, (t) => {
|
|
17870
17870
|
});
|
|
17871
17871
|
q(this, "getMark", (t) => c(this, Be).mark[t]);
|
|
17872
|
-
q(this, "getAreaKidoku", (t) => c(this,
|
|
17872
|
+
q(this, "getAreaKidoku", (t) => c(this, nn)[t]);
|
|
17873
17873
|
w(this, Sc, (t, e, i = !0) => {
|
|
17874
17874
|
if (!t)
|
|
17875
17875
|
throw "[\u5909\u6570\u306B\u5024\u30BB\u30C3\u30C8] name\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -17962,7 +17962,7 @@ const Ru = class {
|
|
|
17962
17962
|
}
|
|
17963
17963
|
});
|
|
17964
17964
|
var s;
|
|
17965
|
-
if (this.cfg = t, e.let = (a) => S(this, ui,
|
|
17965
|
+
if (this.cfg = t, e.let = (a) => S(this, ui, Qi).call(this, a), e.let_abs = (a) => S(this, Av, rI).call(this, a), e.let_char_at = (a) => S(this, Fv, iI).call(this, a), e.let_index_of = (a) => S(this, Mv, nI).call(this, a), e.let_length = (a) => S(this, Bv, sI).call(this, a), e.let_replace = (a) => S(this, kv, aI).call(this, a), e.let_round = (a) => S(this, Lv, oI).call(this, a), e.let_search = (a) => S(this, Dv, uI).call(this, a), e.let_substr = (a) => S(this, Uv, lI).call(this, a), e.clearsysvar = () => S(this, Lu, Ep).call(this), e.clearvar = () => S(this, Rc, ty).call(this), e.dump_val = () => c(this, jv).call(this), e.copybookmark = (a) => S(this, Nv, tI).call(this, a), e.erasebookmark = (a) => S(this, Ov, eI).call(this, a), c(this, Wr)["sn.userFnTail"] = "", this.defTmp("const.sn.bookmark.json", () => {
|
|
17966
17966
|
const a = [];
|
|
17967
17967
|
for (const o of Object.keys(c(this, Be).mark).sort()) {
|
|
17968
17968
|
const u = { ...c(this, Be).mark[o].json };
|
|
@@ -17980,14 +17980,14 @@ const Ru = class {
|
|
|
17980
17980
|
const i = this.cfg.getNs();
|
|
17981
17981
|
I(this, Cc, this.cfg.oCfg.debug.variable ? () => {
|
|
17982
17982
|
const s = {};
|
|
17983
|
-
for (const f of Object.keys(c(this,
|
|
17984
|
-
const d = c(this,
|
|
17983
|
+
for (const f of Object.keys(c(this, Nr))) {
|
|
17984
|
+
const d = c(this, Nr)[f];
|
|
17985
17985
|
s["sys:" + f] = d instanceof Function ? d() : d;
|
|
17986
17986
|
}
|
|
17987
17987
|
sessionStorage[i + "sys"] = JSON.stringify(s);
|
|
17988
17988
|
const a = {};
|
|
17989
|
-
for (const f of Object.keys(c(this,
|
|
17990
|
-
const d = c(this,
|
|
17989
|
+
for (const f of Object.keys(c(this, Wr))) {
|
|
17990
|
+
const d = c(this, Wr)[f];
|
|
17991
17991
|
a["save:" + f] = d instanceof Function ? d() : d;
|
|
17992
17992
|
}
|
|
17993
17993
|
sessionStorage[i + "save"] = JSON.stringify(a);
|
|
@@ -18024,10 +18024,10 @@ const Ru = class {
|
|
|
18024
18024
|
});
|
|
18025
18025
|
}
|
|
18026
18026
|
updateData(t) {
|
|
18027
|
-
I(this, Be, t), I(this,
|
|
18027
|
+
I(this, Be, t), I(this, Nr, c(this, Ve).sys = c(this, Be).sys), I(this, nn, {});
|
|
18028
18028
|
for (const [e, i] of Object.entries(c(this, Be).kidoku)) {
|
|
18029
18029
|
const n = new xw();
|
|
18030
|
-
n.hAreas = { ...i }, c(this,
|
|
18030
|
+
n.hAreas = { ...i }, c(this, nn)[e] = n;
|
|
18031
18031
|
}
|
|
18032
18032
|
}
|
|
18033
18033
|
flush() {
|
|
@@ -18053,13 +18053,13 @@ const Ru = class {
|
|
|
18053
18053
|
}
|
|
18054
18054
|
mark2save(t) {
|
|
18055
18055
|
var e;
|
|
18056
|
-
I(this,
|
|
18056
|
+
I(this, Wr, c(this, Ve).save = { ...t.hSave }), I(this, Du, (e = c(this, Wr)["sn.doRecLog"]) != null ? e : !1);
|
|
18057
18057
|
}
|
|
18058
18058
|
loadScrWork(t) {
|
|
18059
|
-
t in c(this,
|
|
18059
|
+
t in c(this, nn) || (c(this, nn)[t] = new xw());
|
|
18060
18060
|
}
|
|
18061
18061
|
saveKidoku() {
|
|
18062
|
-
for (const [t, { hAreas: e }] of Object.entries(c(this,
|
|
18062
|
+
for (const [t, { hAreas: e }] of Object.entries(c(this, nn)))
|
|
18063
18063
|
c(this, Be).kidoku[t] = { ...e };
|
|
18064
18064
|
this.flush();
|
|
18065
18065
|
}
|
|
@@ -18086,7 +18086,7 @@ const Ru = class {
|
|
|
18086
18086
|
}
|
|
18087
18087
|
};
|
|
18088
18088
|
let xp = Ru;
|
|
18089
|
-
Ve = new WeakMap(),
|
|
18089
|
+
Ve = new WeakMap(), Wr = new WeakMap(), xe = new WeakMap(), Un = new WeakMap(), Be = new WeakMap(), Nr = new WeakMap(), nn = new WeakMap(), wc = new WeakMap(), Pv = new WeakMap(), Tc = new WeakSet(), Q_ = function(t) {
|
|
18090
18090
|
I(Ru, za, {});
|
|
18091
18091
|
for (const e of t)
|
|
18092
18092
|
c(Ru, za)[e.dataId] = 1;
|
|
@@ -18106,7 +18106,7 @@ Ve = new WeakMap(), Vr = new WeakMap(), xe = new WeakMap(), Un = new WeakMap(),
|
|
|
18106
18106
|
if (!e)
|
|
18107
18107
|
throw "place\u306F\u5FC5\u9808\u3067\u3059";
|
|
18108
18108
|
return delete c(this, Be).mark[e], this.flush(), c(this, Un).eraseBMFolder(e), !1;
|
|
18109
|
-
}, ui = new WeakSet(),
|
|
18109
|
+
}, ui = new WeakSet(), Qi = function(t) {
|
|
18110
18110
|
if (!t.name)
|
|
18111
18111
|
throw "name\u306F\u5FC5\u9808\u3067\u3059";
|
|
18112
18112
|
let e = !0;
|
|
@@ -18133,50 +18133,50 @@ Ve = new WeakMap(), Vr = new WeakMap(), xe = new WeakMap(), Un = new WeakMap(),
|
|
|
18133
18133
|
return c(this, Sc).call(this, t.name, t.text, e), !1;
|
|
18134
18134
|
}, Av = new WeakSet(), rI = function(t) {
|
|
18135
18135
|
const e = et(t, "text", 0);
|
|
18136
|
-
return t.text = String(e < 0 ? -e : e), S(this, ui,
|
|
18136
|
+
return t.text = String(e < 0 ? -e : e), S(this, ui, Qi).call(this, t), !1;
|
|
18137
18137
|
}, Fv = new WeakSet(), iI = function(t) {
|
|
18138
18138
|
var e;
|
|
18139
|
-
return t.text = ((e = t.text) != null ? e : "").charAt(et(t, "pos", 0)), S(this, ui,
|
|
18139
|
+
return t.text = ((e = t.text) != null ? e : "").charAt(et(t, "pos", 0)), S(this, ui, Qi).call(this, t), !1;
|
|
18140
18140
|
}, Mv = new WeakSet(), nI = function(t) {
|
|
18141
18141
|
var n;
|
|
18142
18142
|
const { val: e } = t;
|
|
18143
18143
|
if (!e)
|
|
18144
18144
|
throw "val\u306F\u5FC5\u9808\u3067\u3059";
|
|
18145
18145
|
const i = et(t, "start", 0);
|
|
18146
|
-
return t.text = String(((n = t.text) != null ? n : "").indexOf(e, i)), S(this, ui,
|
|
18146
|
+
return t.text = String(((n = t.text) != null ? n : "").indexOf(e, i)), S(this, ui, Qi).call(this, t), !1;
|
|
18147
18147
|
}, Bv = new WeakSet(), sI = function(t) {
|
|
18148
18148
|
var e;
|
|
18149
|
-
return t.text = String(((e = t.text) != null ? e : "").length), S(this, ui,
|
|
18149
|
+
return t.text = String(((e = t.text) != null ? e : "").length), S(this, ui, Qi).call(this, t), !1;
|
|
18150
18150
|
}, kv = new WeakSet(), aI = function(t) {
|
|
18151
18151
|
var n;
|
|
18152
18152
|
if (!t.reg)
|
|
18153
18153
|
throw "reg\u306F\u5FC5\u9808\u3067\u3059";
|
|
18154
18154
|
const { flags: e } = t, i = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
|
|
18155
|
-
return t.text = String((n = t.text) != null ? n : "").replace(i, String(t.val)), S(this, ui,
|
|
18155
|
+
return t.text = String((n = t.text) != null ? n : "").replace(i, String(t.val)), S(this, ui, Qi).call(this, t), !1;
|
|
18156
18156
|
}, Lv = new WeakSet(), oI = function(t) {
|
|
18157
18157
|
const e = et(t, "text", 0);
|
|
18158
|
-
return t.text = String(Math.round(e)), S(this, ui,
|
|
18158
|
+
return t.text = String(Math.round(e)), S(this, ui, Qi).call(this, t), !1;
|
|
18159
18159
|
}, Dv = new WeakSet(), uI = function(t) {
|
|
18160
18160
|
var n;
|
|
18161
18161
|
if (!t.reg)
|
|
18162
18162
|
throw "reg\u306F\u5FC5\u9808\u3067\u3059";
|
|
18163
18163
|
const { flags: e } = t, i = e ? new RegExp(t.reg, e) : new RegExp(t.reg);
|
|
18164
|
-
return t.text = String(((n = t.text) != null ? n : "").search(i)), S(this, ui,
|
|
18164
|
+
return t.text = String(((n = t.text) != null ? n : "").search(i)), S(this, ui, Qi).call(this, t), !1;
|
|
18165
18165
|
}, Uv = new WeakSet(), lI = function(t) {
|
|
18166
18166
|
var i, n;
|
|
18167
18167
|
const e = et(t, "pos", 0);
|
|
18168
|
-
return t.text = t.len !== "all" ? ((i = t.text) != null ? i : "").slice(e, e + zt(et(t, "len", 1))) : ((n = t.text) != null ? n : "").slice(e), S(this, ui,
|
|
18168
|
+
return t.text = t.len !== "all" ? ((i = t.text) != null ? i : "").slice(e, e + zt(et(t, "len", 1))) : ((n = t.text) != null ? n : "").slice(e), S(this, ui, Qi).call(this, t), !1;
|
|
18169
18169
|
}, Lu = new WeakSet(), Ep = function() {
|
|
18170
18170
|
var i, n;
|
|
18171
|
-
const t = I(this,
|
|
18171
|
+
const t = I(this, Nr, c(this, Ve).sys = c(this, Be).sys = {});
|
|
18172
18172
|
typeof process < "u" || (this.setVal_Nochk("sys", "const.sn.window.x", 0), this.setVal_Nochk("sys", "const.sn.window.y", 0)), this.setVal_Nochk("sys", "sn.tagCh.doWait", !0), this.setVal_Nochk("sys", "sn.tagCh.doWait_Kidoku", !0), this.setVal_Nochk("sys", "sn.tagCh.msecWait", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.msecWait_Kidoku", this.cfg.oCfg.init.tagch_msecwait), this.setVal_Nochk("sys", "sn.tagCh.canskip", !0), this.setVal_Nochk("sys", "sn.skip.mode", "s"), this.setVal_Nochk("sys", "sn.auto.msecPageWait", et(t, "sn.auto.msecPageWait", (i = this.cfg.oCfg.init.auto_msecpagewait) != null ? i : 3500)), this.setVal_Nochk("sys", "sn.auto.msecPageWait_Kidoku", et(t, "sn.auto.msecPageWait", (n = this.cfg.oCfg.init.auto_msecpagewait) != null ? n : 3500)), this.setVal_Nochk("sys", "sn.auto.msecLineWait", 500), this.setVal_Nochk("sys", "sn.auto.msecLineWait_Kidoku", 500), this.setVal_Nochk("sys", "const.sn.sound.BGM.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SE.volume", 1), this.setVal_Nochk("sys", "const.sn.sound.SYS.volume", 1);
|
|
18173
18173
|
for (const [s, a] of Object.entries(c(this, Be).kidoku))
|
|
18174
|
-
a.hAreas = {}, c(this,
|
|
18174
|
+
a.hAreas = {}, c(this, nn)[s].clear();
|
|
18175
18175
|
return this.setVal_Nochk("sys", "TextLayer.Back.Alpha", 0.5), c(this, Ve).mark = c(this, Be).mark = {}, this.setVal_Nochk("sys", "const.sn.save.place", 1), this.flush(), !1;
|
|
18176
18176
|
}, Rc = new WeakSet(), ty = function() {
|
|
18177
18177
|
var n, s, a;
|
|
18178
|
-
const t = (n = c(this,
|
|
18179
|
-
return I(this,
|
|
18178
|
+
const t = (n = c(this, Wr)["const.sn.mesLayer"]) != null ? n : "", e = (s = c(this, Wr)["sn.doRecLog"]) != null ? s : !1, i = (a = c(this, Wr)["const.sn.sLog"]) != null ? a : "[]";
|
|
18179
|
+
return I(this, Wr, c(this, Ve).save = {}), this.setVal_Nochk("save", "const.sn.mesLayer", t), this.setVal_Nochk("save", "sn.doRecLog", e), this.setVal_Nochk("save", "const.sn.sLog", i), !1;
|
|
18180
18180
|
}, Sc = new WeakMap(), za = new WeakMap(), Pc = new WeakSet(), ey = function(t) {
|
|
18181
18181
|
const e = t;
|
|
18182
18182
|
if (e === "true")
|
|
@@ -18188,25 +18188,25 @@ Ve = new WeakMap(), Vr = new WeakMap(), xe = new WeakMap(), Un = new WeakMap(),
|
|
|
18188
18188
|
if (e !== "undefined")
|
|
18189
18189
|
return c(this, Gv).test(e) ? parseFloat(e) : t;
|
|
18190
18190
|
}, Gv = new WeakMap(), jv = new WeakMap(), Du = new WeakMap(), Nc = new WeakMap(), Uu = new WeakSet(), wp = function(t) {
|
|
18191
|
-
vt(c(this,
|
|
18191
|
+
vt(c(this, Nr), t, !0);
|
|
18192
18192
|
}, Hv = new WeakSet(), hI = function(t) {
|
|
18193
|
-
et(c(this,
|
|
18193
|
+
et(c(this, Nr), t, 10), c(this, Nr)["sn.tagCh.doWait"];
|
|
18194
18194
|
}, zv = new WeakSet(), cI = function(t) {
|
|
18195
18195
|
et(
|
|
18196
|
-
c(this,
|
|
18196
|
+
c(this, Nr),
|
|
18197
18197
|
t,
|
|
18198
18198
|
this.cfg.oCfg.init.tagch_msecwait === void 0 ? 10 : this.cfg.oCfg.init.tagch_msecwait
|
|
18199
|
-
), c(this,
|
|
18199
|
+
), c(this, Nr)["sn.tagCh.doWait_Kidoku"];
|
|
18200
18200
|
}, Oc = new WeakSet(), ry = function(t) {
|
|
18201
18201
|
et(
|
|
18202
|
-
c(this,
|
|
18202
|
+
c(this, Nr),
|
|
18203
18203
|
t,
|
|
18204
18204
|
this.cfg.oCfg.init.auto_msecpagewait === void 0 ? 3500 : this.cfg.oCfg.init.auto_msecpagewait
|
|
18205
18205
|
);
|
|
18206
18206
|
}, Ac = new WeakSet(), iy = function(t) {
|
|
18207
|
-
et(c(this,
|
|
18207
|
+
et(c(this, Nr), t, 500);
|
|
18208
18208
|
}, $v = new WeakSet(), fI = function(t) {
|
|
18209
|
-
return vt(c(this,
|
|
18209
|
+
return vt(c(this, Wr), t, !0);
|
|
18210
18210
|
}, Vv = new WeakSet(), dI = function(t) {
|
|
18211
18211
|
vt(c(this, xe), t, !0);
|
|
18212
18212
|
}, Gu = new WeakSet(), Tp = function(t) {
|
|
@@ -19540,8 +19540,8 @@ var ny = function() {
|
|
|
19540
19540
|
}, validateFormats: _I, supported: a1, extensions: nv }, xs = function(r) {
|
|
19541
19541
|
return gI = r, r;
|
|
19542
19542
|
}(new hL());
|
|
19543
|
-
"extensions" in wF ?
|
|
19544
|
-
var Ie, hr, Bs, Wv, bI, ju, Ip, Yv, xI, qv, EI, Mc, ay, $a, Eh, Bc, oy, Hu, zu, Rp, Va, wh, kc, $u, Sp, Zv, wI,
|
|
19543
|
+
"extensions" in wF ? Ki.add(ny) : ei.registerPlugin(ny);
|
|
19544
|
+
var Ie, hr, Bs, Wv, bI, ju, Ip, Yv, xI, qv, EI, Mc, ay, $a, Eh, Bc, oy, Hu, zu, Rp, Va, wh, kc, $u, Sp, Zv, wI, sn, Ts, Jv, TI, Lc, uy, Xa, Th, Kv, CI, Dc, ly, Qv, II, t0, RI, Vu, Pp;
|
|
19545
19545
|
const Wh = class {
|
|
19546
19546
|
constructor(t, e, i, n, s) {
|
|
19547
19547
|
w(this, Wv);
|
|
@@ -19555,7 +19555,7 @@ const Wh = class {
|
|
|
19555
19555
|
w(this, Va);
|
|
19556
19556
|
w(this, $u);
|
|
19557
19557
|
w(this, Zv);
|
|
19558
|
-
w(this,
|
|
19558
|
+
w(this, sn);
|
|
19559
19559
|
w(this, Jv);
|
|
19560
19560
|
w(this, Lc);
|
|
19561
19561
|
w(this, Xa);
|
|
@@ -19571,7 +19571,7 @@ const Wh = class {
|
|
|
19571
19571
|
xs.volumeAll = Number(this.val.getVal("sys:sn.sound.global_volume", 1)), I(this, kc, () => {
|
|
19572
19572
|
});
|
|
19573
19573
|
});
|
|
19574
|
-
this.cfg = t, this.val = i, this.main = n, this.sys = s, e.volume = (a) => S(this, Wv, bI).call(this, a), e.fadebgm = (a) => S(this, Mc, ay).call(this, a), e.fadeoutbgm = (a) => S(this, Yv, xI).call(this, a), e.fadeoutse = (a) => S(this, qv, EI).call(this, a), e.fadese = (a) => S(this, $a, Eh).call(this, a), e.playbgm = (a) => S(this, Bc, oy).call(this, a), e.playse = (a) => S(this, zu, Rp).call(this, a), e.stop_allse = () => S(this, $u, Sp).call(this), e.stopbgm = (a) => S(this, Zv, wI).call(this, a), e.stopse = (a) => S(this,
|
|
19574
|
+
this.cfg = t, this.val = i, this.main = n, this.sys = s, e.volume = (a) => S(this, Wv, bI).call(this, a), e.fadebgm = (a) => S(this, Mc, ay).call(this, a), e.fadeoutbgm = (a) => S(this, Yv, xI).call(this, a), e.fadeoutse = (a) => S(this, qv, EI).call(this, a), e.fadese = (a) => S(this, $a, Eh).call(this, a), e.playbgm = (a) => S(this, Bc, oy).call(this, a), e.playse = (a) => S(this, zu, Rp).call(this, a), e.stop_allse = () => S(this, $u, Sp).call(this), e.stopbgm = (a) => S(this, Zv, wI).call(this, a), e.stopse = (a) => S(this, sn, Ts).call(this, a), e.wb = (a) => S(this, Jv, TI).call(this, a), e.wf = (a) => S(this, Lc, uy).call(this, a), e.stopfadese = (a) => S(this, Xa, Th).call(this, a), e.wl = (a) => S(this, Kv, CI).call(this, a), e.ws = (a) => S(this, Dc, ly).call(this, a), e.xchgbuf = (a) => S(this, Qv, II).call(this, a), this.val.setVal_Nochk("save", "const.sn.loopPlaying", "{}"), i.setVal_Nochk("tmp", "const.sn.sound.codecs", JSON.stringify(cL.supported));
|
|
19575
19575
|
}
|
|
19576
19576
|
setEvtMng(t) {
|
|
19577
19577
|
I(this, Bs, t);
|
|
@@ -19636,20 +19636,20 @@ Ie = new WeakMap(), hr = new WeakMap(), Bs = new WeakMap(), Wv = new WeakSet(),
|
|
|
19636
19636
|
o && (S(this, Vu, Pp).call(this, e), this.val.setVal_Nochk("save", "const.sn.sound." + e + ".fn", "")), this.val.flush();
|
|
19637
19637
|
const u = et(t, "time", NaN), l = et(t, "delay", 0);
|
|
19638
19638
|
if (u === 0 && l === 0 || this.val.getVal("tmp:sn.skip.enabled") || c(this, Bs).isSkippingByKeyDown())
|
|
19639
|
-
return i.snd.volume = a, o && S(this,
|
|
19639
|
+
return i.snd.volume = a, o && S(this, sn, Ts).call(this, t), !1;
|
|
19640
19640
|
const h = et(t, "repeat", 1);
|
|
19641
19641
|
return i.twFade = new ra({ v: i.snd.volume }).to({ v: a }, u).delay(l).easing(ps.ease(t.ease)).repeat(h === 0 ? 1 / 0 : h - 1).yoyo(vt(t, "yoyo", !1)).onUpdate((f) => {
|
|
19642
19642
|
i.playing() && (i.snd.volume = f.v);
|
|
19643
19643
|
}).onComplete(() => {
|
|
19644
19644
|
const f = c(this, Ie)[t.buf = i.now_buf];
|
|
19645
|
-
!(f != null && f.twFade) || (delete f.twFade, o && S(this,
|
|
19645
|
+
!(f != null && f.twFade) || (delete f.twFade, o && S(this, sn, Ts).call(this, t), f.resumeFade && this.main.resume());
|
|
19646
19646
|
}).start(), !1;
|
|
19647
19647
|
}, Bc = new WeakSet(), oy = function(t) {
|
|
19648
19648
|
return t.buf = "BGM", t.canskip = !1, vt(t, "loop", !0), S(this, zu, Rp).call(this, t);
|
|
19649
19649
|
}, Hu = new WeakMap(), zu = new WeakSet(), Rp = function(t) {
|
|
19650
19650
|
var _;
|
|
19651
19651
|
const { buf: e = "SE", fn: i } = t;
|
|
19652
|
-
if (S(this,
|
|
19652
|
+
if (S(this, sn, Ts).call(this, { buf: e }), !i)
|
|
19653
19653
|
throw `[playse] fn\u306F\u5FC5\u9808\u3067\u3059 buf:${e}`;
|
|
19654
19654
|
if (vt(t, "canskip", !0) && c(this, Bs).isSkippingByKeyDown())
|
|
19655
19655
|
return !1;
|
|
@@ -19803,11 +19803,11 @@ Ie = new WeakMap(), hr = new WeakMap(), Bs = new WeakMap(), Wv = new WeakSet(),
|
|
|
19803
19803
|
});
|
|
19804
19804
|
}, kc = new WeakMap(), $u = new WeakSet(), Sp = function() {
|
|
19805
19805
|
for (const t of Object.keys(c(this, Ie)))
|
|
19806
|
-
S(this,
|
|
19806
|
+
S(this, sn, Ts).call(this, { buf: t });
|
|
19807
19807
|
return I(this, Ie, {}), xs.stopAll(), !1;
|
|
19808
19808
|
}, Zv = new WeakSet(), wI = function(t) {
|
|
19809
|
-
return t.buf = "BGM", S(this,
|
|
19810
|
-
},
|
|
19809
|
+
return t.buf = "BGM", S(this, sn, Ts).call(this, t);
|
|
19810
|
+
}, sn = new WeakSet(), Ts = function(t) {
|
|
19811
19811
|
var n;
|
|
19812
19812
|
const { buf: e = "SE" } = t;
|
|
19813
19813
|
S(this, Vu, Pp).call(this, e);
|
|
@@ -19832,7 +19832,7 @@ Ie = new WeakMap(), hr = new WeakMap(), Bs = new WeakMap(), Wv = new WeakSet(),
|
|
|
19832
19832
|
const { buf: e = "SE" } = t, i = c(this, Ie)[e];
|
|
19833
19833
|
return !(i != null && i.playing()) || i.loop ? !1 : i.resume = c(this, Bs).waitEvent(
|
|
19834
19834
|
() => {
|
|
19835
|
-
t.buf = i.now_buf, S(this,
|
|
19835
|
+
t.buf = i.now_buf, S(this, sn, Ts).call(this, t);
|
|
19836
19836
|
const n = c(this, Ie)[t.buf];
|
|
19837
19837
|
!(n != null && n.playing()) || n.loop || n.onend();
|
|
19838
19838
|
},
|
|
@@ -19858,24 +19858,24 @@ Ie = new WeakMap(), hr = new WeakMap(), Bs = new WeakMap(), Wv = new WeakSet(),
|
|
|
19858
19858
|
}, Vu = new WeakSet(), Pp = function(t) {
|
|
19859
19859
|
delete c(this, hr)[t], this.val.setVal_Nochk("save", "const.sn.loopPlaying", JSON.stringify(c(this, hr))), this.val.flush();
|
|
19860
19860
|
}, w(Cp, Hu, 999e3);
|
|
19861
|
-
var
|
|
19861
|
+
var se;
|
|
19862
19862
|
const K1 = class {
|
|
19863
19863
|
constructor(t, e, i, n, s, a, o, u) {
|
|
19864
|
-
w(this,
|
|
19864
|
+
w(this, se, void 0);
|
|
19865
19865
|
q(this, "lay", (t) => this.getPage(t).lay(t));
|
|
19866
|
-
q(this, "getPage", (t) => K1.argChk_page(t, "fore") !== "back" ? c(this,
|
|
19866
|
+
q(this, "getPage", (t) => K1.argChk_page(t, "fore") !== "back" ? c(this, se).fore : c(this, se).back);
|
|
19867
19867
|
this.cls = e, this.hArg = s, this.sys = a, this.val = o, this.ret = u;
|
|
19868
19868
|
const l = a.hFactoryCls[e];
|
|
19869
19869
|
if (!l)
|
|
19870
19870
|
throw `\u5C5E\u6027 class\u3010${e}\u3011\u304C\u4E0D\u6B63\u3067\u3059`;
|
|
19871
|
-
I(this,
|
|
19871
|
+
I(this, se, { fore: l(), back: l() }), c(this, se).fore.layname = c(this, se).back.layname = t;
|
|
19872
19872
|
const h = s[":id_tag"] = `layer:${t} cls:${e}`;
|
|
19873
|
-
c(this,
|
|
19873
|
+
c(this, se).fore.name = `${h} page:A`, c(this, se).back.name = `${h} page:B`, i.addChild(this.fore.spLay), n.addChild(this.back.spLay), vt(s, "visible", !0), vt(s, "visible", !0), u.isWait = this.fore.lay(s) || this.back.lay(s);
|
|
19874
19874
|
const f = `const.sn.lay.${t}`;
|
|
19875
|
-
o.setVal_Nochk("tmp", f, !0), o.defTmp(f + ".fore.alpha", () => c(this,
|
|
19875
|
+
o.setVal_Nochk("tmp", f, !0), o.defTmp(f + ".fore.alpha", () => c(this, se).fore.alpha), o.defTmp(f + ".back.alpha", () => c(this, se).back.alpha), o.defTmp(f + ".fore.height", () => c(this, se).fore.height), o.defTmp(f + ".back.height", () => c(this, se).back.height), o.defTmp(f + ".fore.visible", () => c(this, se).fore.spLay.visible), o.defTmp(f + ".back.visible", () => c(this, se).back.spLay.visible), o.defTmp(f + ".fore.width", () => c(this, se).fore.width), o.defTmp(f + ".back.width", () => c(this, se).back.width), o.defTmp(f + ".fore.x", () => c(this, se).fore.x), o.defTmp(f + ".back.x", () => c(this, se).back.x), o.defTmp(f + ".fore.y", () => c(this, se).fore.y), o.defTmp(f + ".back.y", () => c(this, se).back.y);
|
|
19876
19876
|
}
|
|
19877
19877
|
destroy() {
|
|
19878
|
-
c(this,
|
|
19878
|
+
c(this, se).fore.destroy(), c(this, se).back.destroy();
|
|
19879
19879
|
}
|
|
19880
19880
|
static argChk_page(t, e) {
|
|
19881
19881
|
var n;
|
|
@@ -19885,17 +19885,17 @@ const K1 = class {
|
|
|
19885
19885
|
throw Error("\u5C5E\u6027 page\u3010" + i + "\u3011\u304C\u4E0D\u6B63\u3067\u3059");
|
|
19886
19886
|
}
|
|
19887
19887
|
get fore() {
|
|
19888
|
-
return c(this,
|
|
19888
|
+
return c(this, se).fore;
|
|
19889
19889
|
}
|
|
19890
19890
|
get back() {
|
|
19891
|
-
return c(this,
|
|
19891
|
+
return c(this, se).back;
|
|
19892
19892
|
}
|
|
19893
19893
|
transPage(t) {
|
|
19894
|
-
[c(this,
|
|
19894
|
+
[c(this, se).back, c(this, se).fore] = [c(this, se).fore, c(this, se).back], c(this, se).back.copy(c(this, se).fore, t);
|
|
19895
19895
|
}
|
|
19896
19896
|
};
|
|
19897
19897
|
let jh = K1;
|
|
19898
|
-
|
|
19898
|
+
se = new WeakMap();
|
|
19899
19899
|
var e0, r0;
|
|
19900
19900
|
const Rs = class {
|
|
19901
19901
|
constructor() {
|
|
@@ -19973,7 +19973,7 @@ const Rs = class {
|
|
|
19973
19973
|
}
|
|
19974
19974
|
static getBlendmodeNum(t) {
|
|
19975
19975
|
if (!t)
|
|
19976
|
-
return
|
|
19976
|
+
return xt.NORMAL;
|
|
19977
19977
|
const e = c(Rs, e0)[t];
|
|
19978
19978
|
if (e !== void 0)
|
|
19979
19979
|
return e;
|
|
@@ -19991,7 +19991,7 @@ const Rs = class {
|
|
|
19991
19991
|
renderEnd() {
|
|
19992
19992
|
}
|
|
19993
19993
|
clearLay(t) {
|
|
19994
|
-
this.spLay.alpha = 1, this.spLay.blendMode =
|
|
19994
|
+
this.spLay.alpha = 1, this.spLay.blendMode = xt.NORMAL, this.spLay.pivot.set(0, 0), this.spLay.angle = 0, this.spLay.scale.set(1, 1), vt(t, "filter", !1) && (this.spLay.filters = []);
|
|
19995
19995
|
}
|
|
19996
19996
|
copy(t, e) {
|
|
19997
19997
|
const i = this.name_;
|
|
@@ -20065,10 +20065,10 @@ const Rs = class {
|
|
|
20065
20065
|
};
|
|
20066
20066
|
let _r = Rs;
|
|
20067
20067
|
e0 = new WeakMap(), r0 = new WeakMap(), w(_r, e0, {
|
|
20068
|
-
normal:
|
|
20069
|
-
add:
|
|
20070
|
-
multiply:
|
|
20071
|
-
screen:
|
|
20068
|
+
normal: xt.NORMAL,
|
|
20069
|
+
add: xt.ADD,
|
|
20070
|
+
multiply: xt.MULTIPLY,
|
|
20071
|
+
screen: xt.SCREEN
|
|
20072
20072
|
}), w(_r, r0, {
|
|
20073
20073
|
0: "normal",
|
|
20074
20074
|
1: "add",
|
|
@@ -20301,7 +20301,7 @@ function Ea(r, t, e, i) {
|
|
|
20301
20301
|
function Xg(r) {
|
|
20302
20302
|
return typeof r === PI;
|
|
20303
20303
|
}
|
|
20304
|
-
function
|
|
20304
|
+
function qi(r) {
|
|
20305
20305
|
return r && typeof r === wL;
|
|
20306
20306
|
}
|
|
20307
20307
|
function dr(r) {
|
|
@@ -20469,7 +20469,7 @@ function eh(r) {
|
|
|
20469
20469
|
}
|
|
20470
20470
|
function Ae(r, t) {
|
|
20471
20471
|
var e = fd(r), i = e.value, n = e.unit;
|
|
20472
|
-
if (
|
|
20472
|
+
if (qi(t)) {
|
|
20473
20473
|
var s = t[n];
|
|
20474
20474
|
if (s) {
|
|
20475
20475
|
if (OI(s))
|
|
@@ -20525,7 +20525,7 @@ function dy(r) {
|
|
|
20525
20525
|
var t = ML(r), e = Ue(t, r[0]), i = Ue(t, r[1]);
|
|
20526
20526
|
return e < i && i - e < Math.PI || e > i && i - e < -Math.PI ? 1 : -1;
|
|
20527
20527
|
}
|
|
20528
|
-
function
|
|
20528
|
+
function $i(r, t) {
|
|
20529
20529
|
return Math.sqrt(Math.pow((t ? t[0] : 0) - r[0], 2) + Math.pow((t ? t[1] : 0) - r[1], 2));
|
|
20530
20530
|
}
|
|
20531
20531
|
function Yt(r, t) {
|
|
@@ -20553,10 +20553,10 @@ function kL(r, t) {
|
|
|
20553
20553
|
r.className = r.className.replace(e, " ");
|
|
20554
20554
|
}
|
|
20555
20555
|
}
|
|
20556
|
-
function
|
|
20556
|
+
function $r(r, t, e, i) {
|
|
20557
20557
|
r.addEventListener(t, e, i);
|
|
20558
20558
|
}
|
|
20559
|
-
function
|
|
20559
|
+
function Sr(r, t, e, i) {
|
|
20560
20560
|
r.removeEventListener(t, e, i);
|
|
20561
20561
|
}
|
|
20562
20562
|
/*! *****************************************************************************
|
|
@@ -21552,16 +21552,16 @@ function g5() {
|
|
|
21552
21552
|
i[n] = s[a];
|
|
21553
21553
|
return i;
|
|
21554
21554
|
}
|
|
21555
|
-
function
|
|
21555
|
+
function Dr(r) {
|
|
21556
21556
|
return Yt(r, Ze);
|
|
21557
21557
|
}
|
|
21558
21558
|
function m5(r, t) {
|
|
21559
21559
|
return r.every(function(e, i) {
|
|
21560
|
-
return
|
|
21560
|
+
return Dr(e - t[i]) === 0;
|
|
21561
21561
|
});
|
|
21562
21562
|
}
|
|
21563
21563
|
function _5(r, t) {
|
|
21564
|
-
return !
|
|
21564
|
+
return !Dr(r[0] - t[0]) && !Dr(r[1] - t[1]);
|
|
21565
21565
|
}
|
|
21566
21566
|
function KI(r) {
|
|
21567
21567
|
return r.length < 3 ? 0 : Math.abs(FL(r.map(function(t, e) {
|
|
@@ -21607,7 +21607,7 @@ function xy(r, t, e) {
|
|
|
21607
21607
|
pos: y,
|
|
21608
21608
|
line: v,
|
|
21609
21609
|
type: "point"
|
|
21610
|
-
}) :
|
|
21610
|
+
}) : Dr(m[1] - n) !== 0 && f.push({
|
|
21611
21611
|
pos: y,
|
|
21612
21612
|
line: v,
|
|
21613
21613
|
type: "intersection"
|
|
@@ -21680,14 +21680,14 @@ function QI(r, t) {
|
|
|
21680
21680
|
}), i = [];
|
|
21681
21681
|
if (r.length === 2) {
|
|
21682
21682
|
var n = r[0], s = n[0], a = n[1];
|
|
21683
|
-
if (
|
|
21684
|
-
if (!
|
|
21683
|
+
if (Dr(s - r[1][0])) {
|
|
21684
|
+
if (!Dr(a - r[1][1])) {
|
|
21685
21685
|
var l = Math.max.apply(Math, e.map(function(f) {
|
|
21686
21686
|
return f[0][0];
|
|
21687
21687
|
})), h = Math.min.apply(Math, e.map(function(f) {
|
|
21688
21688
|
return f[0][1];
|
|
21689
21689
|
}));
|
|
21690
|
-
if (
|
|
21690
|
+
if (Dr(l - h) > 0)
|
|
21691
21691
|
return [];
|
|
21692
21692
|
i = [[l, a], [h, a]];
|
|
21693
21693
|
}
|
|
@@ -21697,7 +21697,7 @@ function QI(r, t) {
|
|
|
21697
21697
|
})), u = Math.min.apply(Math, e.map(function(f) {
|
|
21698
21698
|
return f[1][1];
|
|
21699
21699
|
}));
|
|
21700
|
-
if (
|
|
21700
|
+
if (Dr(o - u) > 0)
|
|
21701
21701
|
return [];
|
|
21702
21702
|
i = [[s, o], [s, u]];
|
|
21703
21703
|
}
|
|
@@ -21705,10 +21705,10 @@ function QI(r, t) {
|
|
|
21705
21705
|
return i.length || (i = r.filter(function(f) {
|
|
21706
21706
|
var d = f[0], p = f[1];
|
|
21707
21707
|
return e.every(function(v) {
|
|
21708
|
-
return 0 <=
|
|
21708
|
+
return 0 <= Dr(d - v[0][0]) && 0 <= Dr(v[0][1] - d) && 0 <= Dr(p - v[1][0]) && 0 <= Dr(v[1][1] - p);
|
|
21709
21709
|
});
|
|
21710
21710
|
})), i.map(function(f) {
|
|
21711
|
-
return [
|
|
21711
|
+
return [Dr(f[0]), Dr(f[1])];
|
|
21712
21712
|
});
|
|
21713
21713
|
}
|
|
21714
21714
|
function Ey(r) {
|
|
@@ -21737,7 +21737,7 @@ function y5(r, t) {
|
|
|
21737
21737
|
};
|
|
21738
21738
|
}));
|
|
21739
21739
|
}), p.sort(function(v, g) {
|
|
21740
|
-
return
|
|
21740
|
+
return $i(d[0], v.pos) - $i(d[0], g.pos);
|
|
21741
21741
|
}), u.push.apply(u, p), xy(d[1], i) && u.push({
|
|
21742
21742
|
index1: f,
|
|
21743
21743
|
index2: -1,
|
|
@@ -21821,7 +21821,7 @@ var w5 = /* @__PURE__ */ function() {
|
|
|
21821
21821
|
}
|
|
21822
21822
|
var t = r.prototype;
|
|
21823
21823
|
return t.on = function(e, i) {
|
|
21824
|
-
if (
|
|
21824
|
+
if (qi(e))
|
|
21825
21825
|
for (var n in e)
|
|
21826
21826
|
this.on(n, e[n]);
|
|
21827
21827
|
else
|
|
@@ -21830,7 +21830,7 @@ var w5 = /* @__PURE__ */ function() {
|
|
|
21830
21830
|
}, t.off = function(e, i) {
|
|
21831
21831
|
if (!e)
|
|
21832
21832
|
this._events = {};
|
|
21833
|
-
else if (
|
|
21833
|
+
else if (qi(e))
|
|
21834
21834
|
for (var n in e)
|
|
21835
21835
|
this.off(n);
|
|
21836
21836
|
else if (!i)
|
|
@@ -22181,7 +22181,7 @@ var Xm = /* @__PURE__ */ function() {
|
|
|
22181
22181
|
var L = N.tagName.toLowerCase();
|
|
22182
22182
|
(N.isContentEditable || Mw.indexOf(L) > -1) && N.blur();
|
|
22183
22183
|
}
|
|
22184
|
-
(T || E || R) &&
|
|
22184
|
+
(T || E || R) && $r(window, "click", s._onClick, !0);
|
|
22185
22185
|
}
|
|
22186
22186
|
s.clientStores = [new Xm(rp(d))], s.flag = !0, s.isDrag = !1, s._dragFlag = !0, s.data = {}, s.doubleFlag = sv() - s.prevTime < 200, s._isMouseEvent = k5(d), !s._isMouseEvent && s._preventMouseEvent && (s._preventMouseEvent = !1);
|
|
22187
22187
|
var U = s._preventMouseEvent || s.emit("dragStart", $e($e({
|
|
@@ -22206,10 +22206,10 @@ var Xm = /* @__PURE__ */ function() {
|
|
|
22206
22206
|
return !1;
|
|
22207
22207
|
var V = 0;
|
|
22208
22208
|
if (P ? (s._attchDragEvent(), C && m && (V = setTimeout(function() {
|
|
22209
|
-
|
|
22209
|
+
$r(g, "touchstart", s.onDragStart, {
|
|
22210
22210
|
passive: !1
|
|
22211
22211
|
});
|
|
22212
|
-
}))) : C && m &&
|
|
22212
|
+
}))) : C && m && Sr(g, "touchstart", s.onDragStart), s.flag && B5(d)) {
|
|
22213
22213
|
if (clearTimeout(V), P && d.touches.length !== d.changedTouches.length)
|
|
22214
22214
|
return;
|
|
22215
22215
|
s.pinchFlag || s.onPinchStart(d);
|
|
@@ -22240,7 +22240,7 @@ var Xm = /* @__PURE__ */ function() {
|
|
|
22240
22240
|
var p = s.options, v = p.pinchOutside, g = p.container, m = p.preventClickEventOnDrag, _ = p.preventClickEventOnDragStart, y = p.preventClickEventByCondition, b = s.isDrag;
|
|
22241
22241
|
(m || _ || y) && requestAnimationFrame(function() {
|
|
22242
22242
|
s._allowClickEvent();
|
|
22243
|
-
}), !y && !_ && m && !b && s._allowClickEvent(), s.isTouch && v &&
|
|
22243
|
+
}), !y && !_ && m && !b && s._allowClickEvent(), s.isTouch && v && Sr(g, "touchstart", s.onDragStart), s.pinchFlag && s.onPinchEnd(d);
|
|
22244
22244
|
var x = d != null && d.touches ? rp(d) : [], T = x.length;
|
|
22245
22245
|
T === 0 || !s.options.keepDragging ? s.flag = !1 : s._addStore(new Xm(x));
|
|
22246
22246
|
var E = s._getPosition(), R = sv(), C = !b && s.doubleFlag;
|
|
@@ -22262,7 +22262,7 @@ var Xm = /* @__PURE__ */ function() {
|
|
|
22262
22262
|
}, s.onBlur = function() {
|
|
22263
22263
|
s.onDragEnd();
|
|
22264
22264
|
}, s._allowClickEvent = function() {
|
|
22265
|
-
|
|
22265
|
+
Sr(window, "click", s._onClick, !0);
|
|
22266
22266
|
}, s._onClick = function(d) {
|
|
22267
22267
|
s._allowClickEvent(), s._preventMouseEvent = !1;
|
|
22268
22268
|
var p = s.options.preventClickEventByCondition;
|
|
@@ -22289,13 +22289,13 @@ var Xm = /* @__PURE__ */ function() {
|
|
|
22289
22289
|
}, n);
|
|
22290
22290
|
var o = s.options, u = o.container, l = o.events, h = o.checkWindowBlur;
|
|
22291
22291
|
if (s.isTouch = l.indexOf("touch") > -1, s.isMouse = l.indexOf("mouse") > -1, s.targets = a, s.isMouse && (a.forEach(function(d) {
|
|
22292
|
-
|
|
22293
|
-
}),
|
|
22292
|
+
$r(d, "mousedown", s.onDragStart), $r(d, "mousemove", s._passCallback);
|
|
22293
|
+
}), $r(u, "contextmenu", s._onContextMenu)), h && $r(window, "blur", s.onBlur), s.isTouch) {
|
|
22294
22294
|
var f = {
|
|
22295
22295
|
passive: !1
|
|
22296
22296
|
};
|
|
22297
22297
|
a.forEach(function(d) {
|
|
22298
|
-
|
|
22298
|
+
$r(d, "touchstart", s.onDragStart, f), $r(d, "touchmove", s._passCallback, f);
|
|
22299
22299
|
});
|
|
22300
22300
|
}
|
|
22301
22301
|
return s;
|
|
@@ -22356,11 +22356,11 @@ var Xm = /* @__PURE__ */ function() {
|
|
|
22356
22356
|
return this.data;
|
|
22357
22357
|
}, e.unset = function() {
|
|
22358
22358
|
var i = this, n = this.targets, s = this.options.container;
|
|
22359
|
-
this.off(),
|
|
22360
|
-
|
|
22361
|
-
}),
|
|
22362
|
-
|
|
22363
|
-
}),
|
|
22359
|
+
this.off(), Sr(window, "blur", this.onBlur), this.isMouse && (n.forEach(function(a) {
|
|
22360
|
+
Sr(a, "mousedown", i.onDragStart);
|
|
22361
|
+
}), Sr(s, "contextmenu", this._onContextMenu)), this.isTouch && (n.forEach(function(a) {
|
|
22362
|
+
Sr(a, "touchstart", i.onDragStart);
|
|
22363
|
+
}), Sr(s, "touchstart", this.onDragStart)), this._allowClickEvent(), this._dettachDragEvent();
|
|
22364
22364
|
}, e.onPinchStart = function(i) {
|
|
22365
22365
|
var n = this.options.pinchThreshold;
|
|
22366
22366
|
if (!(this.isDrag && this.getMovement() > n)) {
|
|
@@ -22437,10 +22437,10 @@ var Xm = /* @__PURE__ */ function() {
|
|
|
22437
22437
|
var i = this.options.container, n = {
|
|
22438
22438
|
passive: !1
|
|
22439
22439
|
};
|
|
22440
|
-
this.isMouse && (
|
|
22440
|
+
this.isMouse && ($r(i, "mousemove", this.onDrag), $r(i, "mouseup", this.onDragEnd)), this.isTouch && ($r(i, "touchmove", this.onDrag, n), $r(i, "touchend", this.onDragEnd, n), $r(i, "touchcancel", this.onDragEnd, n));
|
|
22441
22441
|
}, e._dettachDragEvent = function() {
|
|
22442
22442
|
var i = this.options.container;
|
|
22443
|
-
this.isMouse && (
|
|
22443
|
+
this.isMouse && (Sr(i, "mousemove", this.onDrag), Sr(i, "mouseup", this.onDragEnd)), this.isTouch && (Sr(i, "touchstart", this.onDragStart), Sr(i, "touchmove", this.onDrag), Sr(i, "touchend", this.onDragEnd), Sr(i, "touchcancel", this.onDragEnd));
|
|
22444
22444
|
}, t;
|
|
22445
22445
|
}(y1);
|
|
22446
22446
|
const U5 = D5;
|
|
@@ -22774,7 +22774,7 @@ var ov = e5(), iR = ov.browser.webkit, nR = iR && function() {
|
|
|
22774
22774
|
content:"";
|
|
22775
22775
|
transform-origin: inherit;
|
|
22776
22776
|
}` : "", `
|
|
22777
|
-
`), rD = [[0, 1, 2], [1, 0, 3], [2, 0, 3], [3, 1, 2]], iD = 1e-4,
|
|
22777
|
+
`), rD = [[0, 1, 2], [1, 0, 3], [2, 0, 3], [3, 1, 2]], iD = 1e-4, Rr = 1e-7, ip = 1e-9, Py = Math.pow(10, 10), Bw = -Py, nD = ["n", "w", "s", "e"], x1 = ["n", "w", "s", "e", "nw", "ne", "sw", "se"], sD = {
|
|
22778
22778
|
n: [0, -1],
|
|
22779
22779
|
e: [1, 0],
|
|
22780
22780
|
s: [0, 1],
|
|
@@ -22988,7 +22988,7 @@ function Lw(r) {
|
|
|
22988
22988
|
}
|
|
22989
22989
|
function fR(r, t, e, i, n) {
|
|
22990
22990
|
w1(n, t);
|
|
22991
|
-
var s =
|
|
22991
|
+
var s = Ir.drag(r, _d(n, r.state, e, i, !1)), a = s ? s.transform : t;
|
|
22992
22992
|
return H(H({
|
|
22993
22993
|
transform: t,
|
|
22994
22994
|
drag: s
|
|
@@ -23024,7 +23024,7 @@ function mD(r, t, e, i, n, s) {
|
|
|
23024
23024
|
return Bt(E, [b, x]);
|
|
23025
23025
|
}
|
|
23026
23026
|
function vR(r, t) {
|
|
23027
|
-
return Le(
|
|
23027
|
+
return Le(Hr(r.state), t);
|
|
23028
23028
|
}
|
|
23029
23029
|
function _D(r, t) {
|
|
23030
23030
|
return [r[0] * t[0], r[1] * t[1]];
|
|
@@ -23038,7 +23038,7 @@ function gR(r) {
|
|
|
23038
23038
|
r();
|
|
23039
23039
|
}
|
|
23040
23040
|
function yD(r) {
|
|
23041
|
-
return !r || r === "none" ? [1, 0, 0, 1, 0, 0] :
|
|
23041
|
+
return !r || r === "none" ? [1, 0, 0, 1, 0, 0] : qi(r) ? r : m1(r);
|
|
23042
23042
|
}
|
|
23043
23043
|
function T1(r, t, e) {
|
|
23044
23044
|
return yy(t, oc(e, t), r, oc(e.map(function(i) {
|
|
@@ -23053,7 +23053,7 @@ function bD(r, t, e) {
|
|
|
23053
23053
|
return 1;
|
|
23054
23054
|
}
|
|
23055
23055
|
function xD(r) {
|
|
23056
|
-
var t = Oy(
|
|
23056
|
+
var t = Oy(Zi(r, ":before"));
|
|
23057
23057
|
return t.map(function(e, i) {
|
|
23058
23058
|
var n = fd(e), s = n.value, a = n.unit;
|
|
23059
23059
|
return s * bD(r, a, i === 0);
|
|
@@ -23064,7 +23064,7 @@ function Oy(r) {
|
|
|
23064
23064
|
return t ? t.split(" ") : ["0", "0"];
|
|
23065
23065
|
}
|
|
23066
23066
|
function mR(r, t) {
|
|
23067
|
-
t === void 0 && (t =
|
|
23067
|
+
t === void 0 && (t = Zi(r));
|
|
23068
23068
|
var e = t.transform;
|
|
23069
23069
|
if (e && e !== "none")
|
|
23070
23070
|
return t.transform;
|
|
@@ -23096,7 +23096,7 @@ function uv(r, t, e) {
|
|
|
23096
23096
|
}
|
|
23097
23097
|
for (var f = !1, d = r === t || o === t, p = "relative"; o && o !== s; ) {
|
|
23098
23098
|
t === o && (d = !0);
|
|
23099
|
-
var v =
|
|
23099
|
+
var v = Zi(o), g = o.tagName.toLowerCase(), m = mR(o, v), _ = v.willChange;
|
|
23100
23100
|
if (p = v.position, g === "svg" || p !== "static" || m && m !== "none" || _ === "transform")
|
|
23101
23101
|
break;
|
|
23102
23102
|
var y = (n = r == null ? void 0 : r.assignedSlot) === null || n === void 0 ? void 0 : n.parentNode, b = o.parentNode;
|
|
@@ -23133,8 +23133,8 @@ function ED(r, t, e) {
|
|
|
23133
23133
|
};
|
|
23134
23134
|
}
|
|
23135
23135
|
function _R(r, t, e) {
|
|
23136
|
-
e === void 0 && (e =
|
|
23137
|
-
var i =
|
|
23136
|
+
e === void 0 && (e = Zi(r));
|
|
23137
|
+
var i = Zi(document.body), n = i.position;
|
|
23138
23138
|
if (!t && (!n || n === "static"))
|
|
23139
23139
|
return [0, 0];
|
|
23140
23140
|
var s = parseInt(i.marginLeft, 10), a = parseInt(i.marginTop, 10);
|
|
@@ -23151,7 +23151,7 @@ function wD() {
|
|
|
23151
23151
|
}
|
|
23152
23152
|
function TD(r) {
|
|
23153
23153
|
for (var t = r.parentElement, e = !1; t; ) {
|
|
23154
|
-
var i =
|
|
23154
|
+
var i = Zi(t).transform;
|
|
23155
23155
|
if (i && i !== "none") {
|
|
23156
23156
|
e = !0;
|
|
23157
23157
|
break;
|
|
@@ -23278,11 +23278,11 @@ function lv(r, t, e, i) {
|
|
|
23278
23278
|
direction: N
|
|
23279
23279
|
};
|
|
23280
23280
|
}
|
|
23281
|
-
function
|
|
23281
|
+
function Vi(r) {
|
|
23282
23282
|
return Math.sqrt(r[0] * r[0] + r[1] * r[1]);
|
|
23283
23283
|
}
|
|
23284
23284
|
function yR(r, t) {
|
|
23285
|
-
return
|
|
23285
|
+
return Vi([t[0] - r[0], t[1] - r[1]]);
|
|
23286
23286
|
}
|
|
23287
23287
|
function Ih(r, t, e, i) {
|
|
23288
23288
|
e === void 0 && (e = 1), i === void 0 && (i = Ue(r, t));
|
|
@@ -23306,10 +23306,10 @@ function I1(r, t) {
|
|
|
23306
23306
|
}
|
|
23307
23307
|
function qo(r, t) {
|
|
23308
23308
|
var e = r[t];
|
|
23309
|
-
return
|
|
23309
|
+
return qi(e) ? H(H({}, r), e) : r;
|
|
23310
23310
|
}
|
|
23311
23311
|
function bR(r, t) {
|
|
23312
|
-
t === void 0 && (t = r ?
|
|
23312
|
+
t === void 0 && (t = r ? Zi(r) : null);
|
|
23313
23313
|
var e = r && !Xg(r.offsetWidth), i = 0, n = 0, s = 0, a = 0, o = 0, u = 0, l = 0, h = 0, f = 0, d = 0, p = 0, v = 0, g = 1 / 0, m = 1 / 0, _ = 1 / 0, y = 1 / 0, b = !1;
|
|
23314
23314
|
if (r)
|
|
23315
23315
|
if (!e && r.tagName.toLowerCase() !== "svg") {
|
|
@@ -23379,7 +23379,7 @@ function Rh(r, t) {
|
|
|
23379
23379
|
right: i + s,
|
|
23380
23380
|
bottom: n + a
|
|
23381
23381
|
};
|
|
23382
|
-
return r && t && (l.clientLeft = r.clientLeft, l.clientTop = r.clientTop, l.clientWidth = r.clientWidth, l.clientHeight = r.clientHeight, l.scrollWidth = r.scrollWidth, l.scrollHeight = r.scrollHeight, l.overflow =
|
|
23382
|
+
return r && t && (l.clientLeft = r.clientLeft, l.clientTop = r.clientTop, l.clientWidth = r.clientWidth, l.clientHeight = r.clientHeight, l.scrollWidth = r.scrollWidth, l.scrollHeight = r.scrollHeight, l.overflow = Zi(r).overflow !== "visible"), l;
|
|
23383
23383
|
}
|
|
23384
23384
|
function R1(r) {
|
|
23385
23385
|
if (!!r) {
|
|
@@ -23393,7 +23393,7 @@ function R1(r) {
|
|
|
23393
23393
|
function S1(r, t) {
|
|
23394
23394
|
return [Kt(t, r[0]), Kt(t, r[1]), Kt(t, r[2]), Kt(t, r[3])];
|
|
23395
23395
|
}
|
|
23396
|
-
function
|
|
23396
|
+
function Hr(r) {
|
|
23397
23397
|
var t = r.left, e = r.top, i = r.pos1, n = r.pos2, s = r.pos3, a = r.pos4;
|
|
23398
23398
|
return S1([i, n, s, a], [t, e]);
|
|
23399
23399
|
}
|
|
@@ -23465,7 +23465,7 @@ function P1(r, t, e) {
|
|
|
23465
23465
|
function yt(r, t, e, i) {
|
|
23466
23466
|
return r.triggerEvent(t, e, i);
|
|
23467
23467
|
}
|
|
23468
|
-
function
|
|
23468
|
+
function Zi(r, t) {
|
|
23469
23469
|
return window.getComputedStyle(r, t);
|
|
23470
23470
|
}
|
|
23471
23471
|
function sp(r, t, e) {
|
|
@@ -23533,11 +23533,11 @@ function TR(r, t) {
|
|
|
23533
23533
|
function ap(r, t, e, i, n) {
|
|
23534
23534
|
return Bt(ar(r, Kt(e, t), n), i);
|
|
23535
23535
|
}
|
|
23536
|
-
function
|
|
23536
|
+
function ji(r, t, e) {
|
|
23537
23537
|
return e ? "".concat(r / t * 100, "%") : "".concat(r, "px");
|
|
23538
23538
|
}
|
|
23539
23539
|
function hv(r) {
|
|
23540
|
-
return Math.abs(r) <=
|
|
23540
|
+
return Math.abs(r) <= Rr ? 0 : r;
|
|
23541
23541
|
}
|
|
23542
23542
|
function N1(r, t) {
|
|
23543
23543
|
return t === void 0 && (t = [r]), function(e, i) {
|
|
@@ -23578,7 +23578,7 @@ function MD(r, t) {
|
|
|
23578
23578
|
};
|
|
23579
23579
|
}
|
|
23580
23580
|
function BD(r) {
|
|
23581
|
-
return !r || !
|
|
23581
|
+
return !r || !qi(r) || r instanceof Element ? !1 : dr(r) || "length" in r;
|
|
23582
23582
|
}
|
|
23583
23583
|
function lc(r, t) {
|
|
23584
23584
|
return r ? r instanceof Element ? r : yi(r) ? t ? document.querySelector(r) : r : OI(r) ? r() : "current" in r ? r.current : r : null;
|
|
@@ -23602,13 +23602,13 @@ function Uw(r, t) {
|
|
|
23602
23602
|
function CR(r, t, e, i, n) {
|
|
23603
23603
|
var s = r[0], a = r[1], o = 0, u = 0;
|
|
23604
23604
|
if (n && s && a) {
|
|
23605
|
-
var l = Ue([0, 0], t), h = Ue([0, 0], i), f =
|
|
23605
|
+
var l = Ue([0, 0], t), h = Ue([0, 0], i), f = Vi(t), d = Math.cos(l - h) * f;
|
|
23606
23606
|
if (!i[0])
|
|
23607
23607
|
u = d, o = u * e;
|
|
23608
23608
|
else if (!i[1])
|
|
23609
23609
|
o = d, u = o / e;
|
|
23610
23610
|
else {
|
|
23611
|
-
var p = i[0] * 2 * s, v = i[1] * 2 * a, g =
|
|
23611
|
+
var p = i[0] * 2 * s, v = i[1] * 2 * a, g = Vi([p + t[0], v + t[1]]) - Vi([p, v]), m = Ue([0, 0], [e, 1]);
|
|
23612
23612
|
o = Math.cos(m) * g, u = Math.sin(m) * g;
|
|
23613
23613
|
}
|
|
23614
23614
|
} else
|
|
@@ -23627,7 +23627,7 @@ function IR(r, t, e, i) {
|
|
|
23627
23627
|
else if (v)
|
|
23628
23628
|
u = (v[0] - 1) * a, l = (v[1] - 1) * o;
|
|
23629
23629
|
else if (d) {
|
|
23630
|
-
var y = a * m[0], b = o * m[1], x =
|
|
23630
|
+
var y = a * m[0], b = o * m[1], x = Vi([y, b]);
|
|
23631
23631
|
u = d / x * y * _[0], l = d / x * b * _[1];
|
|
23632
23632
|
} else {
|
|
23633
23633
|
var T = An({
|
|
@@ -23966,7 +23966,7 @@ function $D(r, t, e) {
|
|
|
23966
23966
|
}
|
|
23967
23967
|
function SR(r, t) {
|
|
23968
23968
|
var e = Math.abs(r.offset), i = Math.abs(t.offset);
|
|
23969
|
-
return r.isBound && t.isBound ? i - e : r.isBound ? -1 : t.isBound ? 1 : r.isSnap && t.isSnap ? i - e : r.isSnap ? -1 : t.isSnap || e <
|
|
23969
|
+
return r.isBound && t.isBound ? i - e : r.isBound ? -1 : t.isBound ? 1 : r.isSnap && t.isSnap ? i - e : r.isSnap ? -1 : t.isSnap || e < Rr ? 1 : i < Rr ? -1 : e - i;
|
|
23970
23970
|
}
|
|
23971
23971
|
function cv(r, t) {
|
|
23972
23972
|
return r.slice().sort(function(e, i) {
|
|
@@ -24021,7 +24021,7 @@ function PR(r, t) {
|
|
|
24021
24021
|
}
|
|
24022
24022
|
function M1(r, t) {
|
|
24023
24023
|
var e = t[0], i = t[1], n = i[0] - e[0], s = i[1] - e[1];
|
|
24024
|
-
Math.abs(n) <
|
|
24024
|
+
Math.abs(n) < Rr && (n = 0), Math.abs(s) < Rr && (s = 0);
|
|
24025
24025
|
var a, o;
|
|
24026
24026
|
if (!n)
|
|
24027
24027
|
a = e[0], o = r[0];
|
|
@@ -24034,7 +24034,7 @@ function M1(r, t) {
|
|
|
24034
24034
|
return a - o;
|
|
24035
24035
|
}
|
|
24036
24036
|
function NR(r, t, e, i) {
|
|
24037
|
-
return i === void 0 && (i =
|
|
24037
|
+
return i === void 0 && (i = Rr), r.every(function(n) {
|
|
24038
24038
|
var s = M1(n, t), a = s <= 0;
|
|
24039
24039
|
return a === e || Math.abs(s) <= i;
|
|
24040
24040
|
});
|
|
@@ -24213,7 +24213,7 @@ function JD(r, t, e, i, n) {
|
|
|
24213
24213
|
if (!zw(e, g, m, 0))
|
|
24214
24214
|
return [];
|
|
24215
24215
|
var _ = [], y = g.map(function(b) {
|
|
24216
|
-
return [
|
|
24216
|
+
return [Vi(b), Ue([0, 0], b)];
|
|
24217
24217
|
});
|
|
24218
24218
|
return [[e[0], e[1]], [e[1], e[3]], [e[3], e[2]], [e[2], e[0]]].forEach(function(b) {
|
|
24219
24219
|
var x = Ue([0, 0], ZD(b)), T = qD(b);
|
|
@@ -24228,7 +24228,7 @@ function JD(r, t, e, i, n) {
|
|
|
24228
24228
|
}, []).filter(function(E) {
|
|
24229
24229
|
return !zw(t, g, m, E);
|
|
24230
24230
|
}).map(function(E) {
|
|
24231
|
-
return Yt(E * 180 / Math.PI,
|
|
24231
|
+
return Yt(E * 180 / Math.PI, Rr);
|
|
24232
24232
|
}));
|
|
24233
24233
|
}), _;
|
|
24234
24234
|
}
|
|
@@ -24277,7 +24277,7 @@ function tm(r, t) {
|
|
|
24277
24277
|
}
|
|
24278
24278
|
function QD(r, t, e) {
|
|
24279
24279
|
var i = tm(r), n = i.left, s = i.top, a = i.right, o = i.bottom, u = e[0], l = e[1], h = Bt(e, t), f = h[0], d = h[1];
|
|
24280
|
-
Math.abs(f) <
|
|
24280
|
+
Math.abs(f) < Rr && (f = 0), Math.abs(d) < Rr && (d = 0);
|
|
24281
24281
|
var p = d > 0, v = f > 0, g = {
|
|
24282
24282
|
isBound: !1,
|
|
24283
24283
|
offset: 0,
|
|
@@ -24332,7 +24332,7 @@ function Vw(r, t, e) {
|
|
|
24332
24332
|
});
|
|
24333
24333
|
}
|
|
24334
24334
|
function t4(r, t, e) {
|
|
24335
|
-
var i =
|
|
24335
|
+
var i = Vi(r), n = Math.sqrt(i * i - t * t) || 0;
|
|
24336
24336
|
return [n, -n].sort(function(s, a) {
|
|
24337
24337
|
return Math.abs(s - r[e ? 0 : 1]) - Math.abs(a - r[e ? 0 : 1]);
|
|
24338
24338
|
}).map(function(s) {
|
|
@@ -24360,7 +24360,7 @@ function e4(r, t, e, i, n) {
|
|
|
24360
24360
|
}).filter(function(E) {
|
|
24361
24361
|
return !Vw(t, g, E);
|
|
24362
24362
|
}).map(function(E) {
|
|
24363
|
-
return Yt(E * 180 / Math.PI,
|
|
24363
|
+
return Yt(E * 180 / Math.PI, Rr);
|
|
24364
24364
|
}));
|
|
24365
24365
|
});
|
|
24366
24366
|
}), m;
|
|
@@ -24569,7 +24569,7 @@ function By(r, t, e, i, n) {
|
|
|
24569
24569
|
isOutside: !1,
|
|
24570
24570
|
offset: [0, 0]
|
|
24571
24571
|
};
|
|
24572
|
-
var a =
|
|
24572
|
+
var a = $i(r, t), o = $i(s, r), u = $i(s, t), l = o > a || u > a, h = An({
|
|
24573
24573
|
datas: n,
|
|
24574
24574
|
distX: s[0],
|
|
24575
24575
|
distY: s[1]
|
|
@@ -24589,7 +24589,7 @@ function o4(r, t, e, i, n) {
|
|
|
24589
24589
|
var g = [];
|
|
24590
24590
|
if (o && u ? g.push([0, d], [f, 0]) : o ? g.push([f, 0]) : u ? g.push([0, d]) : l && h ? g.push([0, d], [f, 0]) : l ? g.push([f, 0]) : h && g.push([0, d]), g.length) {
|
|
24591
24591
|
g.sort(function(b, x) {
|
|
24592
|
-
return
|
|
24592
|
+
return Vi(Bt([s, a], b)) - Vi(Bt([s, a], x));
|
|
24593
24593
|
});
|
|
24594
24594
|
var m = g[0];
|
|
24595
24595
|
if (m[0] && Math.abs(s) > Ze)
|
|
@@ -24797,7 +24797,7 @@ function f4(r, t, e, i, n) {
|
|
|
24797
24797
|
};
|
|
24798
24798
|
}
|
|
24799
24799
|
function ky(r) {
|
|
24800
|
-
var t = r.state, e = t.snapOffset, i = t.containerClientRect, n = i.overflow, s = i.scrollHeight, a = i.scrollWidth, o = i.clientHeight, u = i.clientWidth, l = i.clientLeft, h = i.clientTop, f = r.props, d = f.snapGap, p = d === void 0 ? !0 : d, v = f.verticalGuidelines, g = f.horizontalGuidelines, m = f.snapThreshold, _ = m === void 0 ? 5 : m, y = f.snapGridWidth, b = y === void 0 ? 0 : y, x = f.snapGridHeight, T = x === void 0 ? 0 : x, E = f.maxSnapElementGuidelineDistance, R = E === void 0 ? 1 / 0 : E, C = _i(
|
|
24800
|
+
var t = r.state, e = t.snapOffset, i = t.containerClientRect, n = i.overflow, s = i.scrollHeight, a = i.scrollWidth, o = i.clientHeight, u = i.clientWidth, l = i.clientLeft, h = i.clientTop, f = r.props, d = f.snapGap, p = d === void 0 ? !0 : d, v = f.verticalGuidelines, g = f.horizontalGuidelines, m = f.snapThreshold, _ = m === void 0 ? 5 : m, y = f.snapGridWidth, b = y === void 0 ? 0 : y, x = f.snapGridHeight, T = x === void 0 ? 0 : x, E = f.maxSnapElementGuidelineDistance, R = E === void 0 ? 1 / 0 : E, C = _i(Hr(r.state)), P = C.top, N = C.left, F = C.bottom, A = C.right, B = {
|
|
24801
24801
|
top: P,
|
|
24802
24802
|
left: N,
|
|
24803
24803
|
bottom: F,
|
|
@@ -24894,7 +24894,7 @@ function v4(r) {
|
|
|
24894
24894
|
var n = (t.elementRects || []).filter(function(d) {
|
|
24895
24895
|
return !d.refresh;
|
|
24896
24896
|
}), s = i.map(function(d) {
|
|
24897
|
-
return
|
|
24897
|
+
return qi(d) && "element" in d ? H(H({}, d), {
|
|
24898
24898
|
element: lc(d.element, !0)
|
|
24899
24899
|
}) : {
|
|
24900
24900
|
element: lc(d, !0)
|
|
@@ -24956,7 +24956,7 @@ function FR(r, t, e, i, n, s, a) {
|
|
|
24956
24956
|
});
|
|
24957
24957
|
var o = [], u = a.left, l = a.top, h = a.bottom, f = a.right, d = e + f - u, p = i + h - l;
|
|
24958
24958
|
return r && r.forEach(function(v) {
|
|
24959
|
-
var g =
|
|
24959
|
+
var g = qi(v) ? v : {
|
|
24960
24960
|
pos: v
|
|
24961
24961
|
};
|
|
24962
24962
|
o.push({
|
|
@@ -24966,7 +24966,7 @@ function FR(r, t, e, i, n, s, a) {
|
|
|
24966
24966
|
className: g.className
|
|
24967
24967
|
});
|
|
24968
24968
|
}), t && t.forEach(function(v) {
|
|
24969
|
-
var g =
|
|
24969
|
+
var g = qi(v) ? v : {
|
|
24970
24970
|
pos: v
|
|
24971
24971
|
};
|
|
24972
24972
|
o.push({
|
|
@@ -24980,7 +24980,7 @@ function FR(r, t, e, i, n, s, a) {
|
|
|
24980
24980
|
function g4(r, t) {
|
|
24981
24981
|
if (!t.length)
|
|
24982
24982
|
return [];
|
|
24983
|
-
var e = r.state, i = e.containerClientRect, n = e.targetClientRect, s = n.top, a = n.left, o = e.rootMatrix, u = e.is3d, l = u ? 4 : 3, h = jD(o, i, l), f = h[0], d = h[1], p =
|
|
24983
|
+
var e = r.state, i = e.containerClientRect, n = e.targetClientRect, s = n.top, a = n.left, o = e.rootMatrix, u = e.is3d, l = u ? 4 : 3, h = jD(o, i, l), f = h[0], d = h[1], p = Hr(e), v = vd(p), g = v.minX, m = v.minY, _ = Bt([g, m], Ou(o, [a - f, s - d], l)).map(function(x) {
|
|
24984
24984
|
return PD(x);
|
|
24985
24985
|
}), y = _[0], b = _[1];
|
|
24986
24986
|
return t.map(function(x) {
|
|
@@ -25049,7 +25049,7 @@ function _4(r, t, e, i, n, s, a, o, u) {
|
|
|
25049
25049
|
return [0, 0];
|
|
25050
25050
|
}
|
|
25051
25051
|
function BR(r, t, e, i, n, s, a, o) {
|
|
25052
|
-
for (var u =
|
|
25052
|
+
for (var u = Hr(r.state), l = r.props.keepRatio, h = 0, f = 0, d = 0; d < 2; ++d) {
|
|
25053
25053
|
var p = t(h, f), v = m4(r, p, n, l, a, o), g = v.width, m = v.height, _ = g.isBound, y = m.isBound, b = g.offset, x = m.offset;
|
|
25054
25054
|
if (d === 1 && (_ || (b = 0), y || (x = 0)), d === 0 && a && !_ && !y)
|
|
25055
25055
|
return [0, 0];
|
|
@@ -25106,7 +25106,7 @@ function x4(r, t, e, i, n) {
|
|
|
25106
25106
|
return [h[0] / s, h[1] / a];
|
|
25107
25107
|
}
|
|
25108
25108
|
function E4(r, t) {
|
|
25109
|
-
t.absolutePoses =
|
|
25109
|
+
t.absolutePoses = Hr(r.state);
|
|
25110
25110
|
}
|
|
25111
25111
|
function Zw(r) {
|
|
25112
25112
|
var t = [];
|
|
@@ -25222,7 +25222,7 @@ var w4 = N1("", ["resizable", "scalable"]), T4 = {
|
|
|
25222
25222
|
if (!l || !ih(r, ""))
|
|
25223
25223
|
return [];
|
|
25224
25224
|
e.guidelines = ky(r);
|
|
25225
|
-
var h = Math.min(s[0], a[0], o[0], u[0]), f = Math.min(s[1], a[1], o[1], u[1]), d = l.externalPoses || [], p =
|
|
25225
|
+
var h = Math.min(s[0], a[0], o[0], u[0]), f = Math.min(s[1], a[1], o[1], u[1]), d = l.externalPoses || [], p = Hr(r.state), v = [], g = [], m = [], _ = [], y = [], b = _i(p), x = b.width, T = b.height, E = b.top, R = b.left, C = b.bottom, P = b.right, N = {
|
|
25226
25226
|
left: R,
|
|
25227
25227
|
right: P,
|
|
25228
25228
|
top: E,
|
|
@@ -25427,7 +25427,7 @@ function GR(r, t, e) {
|
|
|
25427
25427
|
function I4(r, t, e) {
|
|
25428
25428
|
return LR(r, ["nw", "ne", "sw", "se"], t, e);
|
|
25429
25429
|
}
|
|
25430
|
-
var
|
|
25430
|
+
var Ir = {
|
|
25431
25431
|
name: "draggable",
|
|
25432
25432
|
props: {
|
|
25433
25433
|
draggable: Boolean,
|
|
@@ -25451,7 +25451,7 @@ var Tr = {
|
|
|
25451
25451
|
var u = a.dist;
|
|
25452
25452
|
if (!u[0] && !u[1])
|
|
25453
25453
|
return [];
|
|
25454
|
-
var l =
|
|
25454
|
+
var l = Vi(u), h = Ue(u, [0, 0]);
|
|
25455
25455
|
return [t.createElement("div", {
|
|
25456
25456
|
className: St("line", "horizontal", "dragline", "dashed"),
|
|
25457
25457
|
key: "dragRotateGuideline",
|
|
@@ -25466,7 +25466,7 @@ var Tr = {
|
|
|
25466
25466
|
if (o.draggable)
|
|
25467
25467
|
return !1;
|
|
25468
25468
|
o.draggable = n || r.targetGesto;
|
|
25469
|
-
var u =
|
|
25469
|
+
var u = Zi(a);
|
|
25470
25470
|
e.datas = {}, e.left = parseFloat(u.left || "") || 0, e.top = parseFloat(u.top || "") || 0, e.bottom = parseFloat(u.bottom || "") || 0, e.right = parseFloat(u.right || "") || 0, e.startValue = [0, 0], Qo(r, t), Jg(t, "translate"), E4(r, e), e.prevDist = [0, 0], e.prevBeforeDist = [0, 0], e.isDrag = !1, e.deltaOffset = [0, 0];
|
|
25471
25471
|
var l = Dt(r, t, H({
|
|
25472
25472
|
set: function(f) {
|
|
@@ -25486,7 +25486,7 @@ var Tr = {
|
|
|
25486
25486
|
o && (u += o[0], l += o[1]);
|
|
25487
25487
|
var v = r.props, g = v.parentMoveable, m = i ? 0 : v.throttleDrag || 0, _ = i ? 0 : v.throttleDragRotate || 0, y = !1, b = 0;
|
|
25488
25488
|
if (!i && _ > 0 && (u || l)) {
|
|
25489
|
-
var x = v.startDragRotate || 0, T = Yt(x + Ue([0, 0], [u, l]) * 180 / Math.PI, _) - x, E = l * Math.abs(Math.cos((T - 90) / 180 * Math.PI)), R = u * Math.abs(Math.cos(T / 180 * Math.PI)), C =
|
|
25489
|
+
var x = v.startDragRotate || 0, T = Yt(x + Ue([0, 0], [u, l]) * 180 / Math.PI, _) - x, E = l * Math.abs(Math.cos((T - 90) / 180 * Math.PI)), R = u * Math.abs(Math.cos(T / 180 * Math.PI)), C = Vi([R, E]);
|
|
25490
25490
|
b = T * Math.PI / 180, u = C * Math.cos(b), l = C * Math.sin(b);
|
|
25491
25491
|
}
|
|
25492
25492
|
if (!s && !i && !n && (!_ || u || l)) {
|
|
@@ -25502,7 +25502,7 @@ var Tr = {
|
|
|
25502
25502
|
distX: u,
|
|
25503
25503
|
distY: l
|
|
25504
25504
|
}), p);
|
|
25505
|
-
!_ && !y && (tp(G, m), tp(Q, m)), tp(G,
|
|
25505
|
+
!_ && !y && (tp(G, m), tp(Q, m)), tp(G, Rr), tp(Q, Rr);
|
|
25506
25506
|
var k = Bt(Q, p), W = Bt(G, p), tt = Bt(W, f), lt = Bt(k, d);
|
|
25507
25507
|
e.prevDist = W, e.prevBeforeDist = k, e.passDelta = tt, e.passDist = W;
|
|
25508
25508
|
var nt = e.left + k[0], ht = e.top + k[1], M = e.right - k[0], gt = e.bottom - k[1], st = qg(e, "translate(".concat(G[0], "px, ").concat(G[1], "px)"), "translate(".concat(W[0], "px, ").concat(W[1], "px)"));
|
|
@@ -25511,7 +25511,7 @@ var Tr = {
|
|
|
25511
25511
|
}) && lt.some(function(J) {
|
|
25512
25512
|
return !J;
|
|
25513
25513
|
}))) {
|
|
25514
|
-
var dt = r.state, it = dt.width, z = dt.height,
|
|
25514
|
+
var dt = r.state, it = dt.width, z = dt.height, Et = Dt(r, t, H({
|
|
25515
25515
|
transform: st,
|
|
25516
25516
|
dist: W,
|
|
25517
25517
|
delta: tt,
|
|
@@ -25529,7 +25529,7 @@ var Tr = {
|
|
|
25529
25529
|
}, uc({
|
|
25530
25530
|
transform: st
|
|
25531
25531
|
}, t)));
|
|
25532
|
-
return !i && yt(r, "onDrag",
|
|
25532
|
+
return !i && yt(r, "onDrag", Et), Et;
|
|
25533
25533
|
}
|
|
25534
25534
|
}
|
|
25535
25535
|
}
|
|
@@ -25644,7 +25644,7 @@ var Tr = {
|
|
|
25644
25644
|
function y(C) {
|
|
25645
25645
|
u.ratio = C && isFinite(C) ? C : 0;
|
|
25646
25646
|
}
|
|
25647
|
-
u.startPositions =
|
|
25647
|
+
u.startPositions = Hr(r.state);
|
|
25648
25648
|
function b(C) {
|
|
25649
25649
|
u.fixedDirection = C, u.fixedPosition = Le(u.startPositions, C);
|
|
25650
25650
|
}
|
|
@@ -25670,7 +25670,7 @@ var Tr = {
|
|
|
25670
25670
|
setOrigin: function(C) {
|
|
25671
25671
|
u.transformOrigin = C;
|
|
25672
25672
|
},
|
|
25673
|
-
dragStart:
|
|
25673
|
+
dragStart: Ir.dragStart(r, new $l().dragStart([0, 0], t))
|
|
25674
25674
|
}), R = h || yt(r, "onResizeStart", E);
|
|
25675
25675
|
return u.startFixedDirection = u.fixedDirection, R !== !1 && (u.isResize = !0, r.state.snapRenderInfo = {
|
|
25676
25676
|
request: t.isRequest,
|
|
@@ -25693,7 +25693,7 @@ var Tr = {
|
|
|
25693
25693
|
function st() {
|
|
25694
25694
|
var Vt = i.fixedDirection, Ke = IR(nt, gt, i, t);
|
|
25695
25695
|
ht = Ke.distWidth, M = Ke.distHeight;
|
|
25696
|
-
var ge = nt[0] - Vt[0] || gt ? Math.max(E + ht,
|
|
25696
|
+
var ge = nt[0] - Vt[0] || gt ? Math.max(E + ht, Rr) : E, ae = nt[1] - Vt[1] || gt ? Math.max(R + M, Rr) : R;
|
|
25697
25697
|
return gt && E && R && (C ? ae = ge / T : ge = ae * T), [ge, ae];
|
|
25698
25698
|
}
|
|
25699
25699
|
var dt = st(), it = dt[0], z = dt[1];
|
|
@@ -25709,10 +25709,10 @@ var Tr = {
|
|
|
25709
25709
|
it = Vt[0], z = Vt[1];
|
|
25710
25710
|
}
|
|
25711
25711
|
}, !0)));
|
|
25712
|
-
var
|
|
25713
|
-
o || (!n && s ?
|
|
25712
|
+
var Et = o;
|
|
25713
|
+
o || (!n && s ? Et = vR(r, [0, 0]) : Et = i.fixedPosition);
|
|
25714
25714
|
var J = [0, 0];
|
|
25715
|
-
s || (J = b4(r, it, z, lt,
|
|
25715
|
+
s || (J = b4(r, it, z, lt, Et, l, i)), u && (!u[0] && (J[0] = 0), !u[1] && (J[1] = 0));
|
|
25716
25716
|
function X() {
|
|
25717
25717
|
var Vt;
|
|
25718
25718
|
Q && (Vt = Q([it, z]), it = Vt[0], z = Vt[1]), it = Yt(it, k), z = Yt(z, k);
|
|
@@ -25726,14 +25726,14 @@ var Tr = {
|
|
|
25726
25726
|
e = AL([it, z], b, x, gt ? T : !1), it = e[0], z = e[1], X(), gt && (h || tt) && (C ? z = it / T : it = z * T), ht = it - E, M = z - R;
|
|
25727
25727
|
var ut = [ht - _, M - y];
|
|
25728
25728
|
i.prevWidth = ht, i.prevHeight = M;
|
|
25729
|
-
var Z = mD(r, it, z,
|
|
25729
|
+
var Z = mD(r, it, z, Et, v, i);
|
|
25730
25730
|
if (!(!W && ut.every(function(Vt) {
|
|
25731
25731
|
return !Vt;
|
|
25732
25732
|
}) && Z.every(function(Vt) {
|
|
25733
25733
|
return !Vt;
|
|
25734
25734
|
}))) {
|
|
25735
|
-
var Ut =
|
|
25736
|
-
width:
|
|
25735
|
+
var Ut = Ir.drag(r, _d(t, r.state, Z, !!s, !1, "draggable")), kt = Ut.transform, ie = g + ht, Ge = m + M, ur = Dt(r, t, H({
|
|
25736
|
+
width: ie,
|
|
25737
25737
|
height: Ge,
|
|
25738
25738
|
offsetWidth: Math.round(it),
|
|
25739
25739
|
offsetHeight: Math.round(z),
|
|
@@ -25747,7 +25747,7 @@ var Tr = {
|
|
|
25747
25747
|
drag: Ut
|
|
25748
25748
|
}, ER({
|
|
25749
25749
|
style: {
|
|
25750
|
-
width: "".concat(
|
|
25750
|
+
width: "".concat(ie, "px"),
|
|
25751
25751
|
height: "".concat(Ge, "px")
|
|
25752
25752
|
},
|
|
25753
25753
|
transform: kt
|
|
@@ -25780,7 +25780,7 @@ var Tr = {
|
|
|
25780
25780
|
return !1;
|
|
25781
25781
|
var n = ua(r, "resizable", t);
|
|
25782
25782
|
function s(v, g) {
|
|
25783
|
-
var m = e.fixedDirection, _ = e.fixedPosition, y = g.datas.startPositions ||
|
|
25783
|
+
var m = e.fixedDirection, _ = e.fixedPosition, y = g.datas.startPositions || Hr(v.state), b = Le(y, m), x = pr(zl(-r.rotation / 180 * Math.PI, 3), [b[0] - _[0], b[1] - _[1], 1], 3), T = x[0], E = x[1];
|
|
25784
25784
|
return g.datas.originalX = T, g.datas.originalY = E, g;
|
|
25785
25785
|
}
|
|
25786
25786
|
var a = e.startOffsetWidth, o = e.startOffsetHeight;
|
|
@@ -25907,7 +25907,7 @@ function qm(r, t, e, i, n) {
|
|
|
25907
25907
|
Bt([u[0], u[1]], s ? [0, 0] : [a.left, a.top]),
|
|
25908
25908
|
o
|
|
25909
25909
|
), h = Kt([n.left, n.top], l);
|
|
25910
|
-
t.startAbsoluteOrigin = h, t.prevDeg = Ue(h, [e, i]) / Math.PI * 180, t.defaultDeg = t.prevDeg, t.prevSnapDeg = 0, t.loop = 0, t.startDist =
|
|
25910
|
+
t.startAbsoluteOrigin = h, t.prevDeg = Ue(h, [e, i]) / Math.PI * 180, t.defaultDeg = t.prevDeg, t.prevSnapDeg = 0, t.loop = 0, t.startDist = $i(h, [e, i]);
|
|
25911
25911
|
}
|
|
25912
25912
|
function Op(r, t, e) {
|
|
25913
25913
|
var i = e.defaultDeg, n = e.prevDeg, s = n % 360, a = Math.floor(n / 360);
|
|
@@ -26131,7 +26131,7 @@ var S4 = x1.map(function(r) {
|
|
|
26131
26131
|
parentFixedDirection: n.fixedDirection
|
|
26132
26132
|
})));
|
|
26133
26133
|
}
|
|
26134
|
-
k || (G =
|
|
26134
|
+
k || (G = Ir.dragStart(r, new $l().dragStart([0, 0], t))), P(vD(r));
|
|
26135
26135
|
var tt = Dt(r, t, H(H({
|
|
26136
26136
|
set: function(nt) {
|
|
26137
26137
|
n.startValue = nt * Math.PI / 180;
|
|
@@ -26159,13 +26159,13 @@ var S4 = x1.map(function(r) {
|
|
|
26159
26159
|
beforeRotation: N,
|
|
26160
26160
|
rotation: B,
|
|
26161
26161
|
absoluteRotation: U,
|
|
26162
|
-
setRotation: function(
|
|
26163
|
-
A =
|
|
26162
|
+
setRotation: function(Et) {
|
|
26163
|
+
A = Et - V, P = A, L = A;
|
|
26164
26164
|
}
|
|
26165
26165
|
}, !0)), e = Jm(r, y, p, P, V, G), C = e[0], P = e[1], N = e[2], i = Jm(r, y, v, A, V, G), F = i[0], A = i[1], B = i[2], n = Jm(r, y, g, L, Q, G), j = n[0], L = n[1], U = n[2], !(!j && !F && !C && !R)) {
|
|
26166
26166
|
var lt = qg(s, "rotate(".concat(B, "deg)"), "rotate(".concat(A, "deg)")), nt = gD(r, A, s), ht = Bt(Kt(f || [0, 0], nt), s.prevInverseDist || [0, 0]);
|
|
26167
26167
|
s.prevInverseDist = nt, s.requestValue = null;
|
|
26168
|
-
var M = fR(r, lt, ht, h, t), gt = M, st =
|
|
26168
|
+
var M = fR(r, lt, ht, h, t), gt = M, st = $i([k, W], g.startAbsoluteOrigin) - g.startDist, dt = void 0;
|
|
26169
26169
|
if (s.resolveAble === "resizable") {
|
|
26170
26170
|
var it = Ly.dragControl(r, H(H({}, _d(t, r.state, [t.deltaX, t.deltaY], !!h, !1, "resizable")), {
|
|
26171
26171
|
resolveMatrix: !0,
|
|
@@ -26315,16 +26315,16 @@ var S4 = x1.map(function(r) {
|
|
|
26315
26315
|
if (!a || !f)
|
|
26316
26316
|
return !1;
|
|
26317
26317
|
i || Qo(r, t), e.datas = {}, e.transform = h, e.prevDist = [1, 1], e.direction = a, e.startOffsetWidth = u, e.startOffsetHeight = l, e.startValue = [1, 1];
|
|
26318
|
-
var g =
|
|
26318
|
+
var g = $i(d, p), m = $i(p, v), _ = !a[0] && !a[1] || a[0] || !a[1];
|
|
26319
26319
|
e.scaleWidth = g, e.scaleHeight = m, e.scaleXRatio = g / u, e.scaleYRatio = m / l, Jg(t, "scale"), e.isWidth = _;
|
|
26320
26320
|
function y(E) {
|
|
26321
26321
|
e.ratio = E && isFinite(E) ? E : 0;
|
|
26322
26322
|
}
|
|
26323
|
-
e.startPositions =
|
|
26323
|
+
e.startPositions = Hr(r.state);
|
|
26324
26324
|
function b(E) {
|
|
26325
26325
|
e.fixedDirection = E, e.fixedPosition = Le(e.startPositions, E);
|
|
26326
26326
|
}
|
|
26327
|
-
e.setFixedDirection = b, y(
|
|
26327
|
+
e.setFixedDirection = b, y($i(d, p) / $i(p, v)), b([-a[0], -a[1]]);
|
|
26328
26328
|
var x = Dt(r, t, H(H({
|
|
26329
26329
|
direction: a,
|
|
26330
26330
|
set: function(E) {
|
|
@@ -26333,7 +26333,7 @@ var S4 = x1.map(function(r) {
|
|
|
26333
26333
|
setRatio: y,
|
|
26334
26334
|
setFixedDirection: b
|
|
26335
26335
|
}, Zg(t)), {
|
|
26336
|
-
dragStart:
|
|
26336
|
+
dragStart: Ir.dragStart(r, new $l().dragStart([0, 0], t))
|
|
26337
26337
|
})), T = yt(r, "onScaleStart", x);
|
|
26338
26338
|
return e.startFixedDirection = e.fixedDirection, T !== !1 && (e.isScale = !0, r.state.snapRenderInfo = {
|
|
26339
26339
|
request: t.isRequest,
|
|
@@ -26415,7 +26415,7 @@ var S4 = x1.map(function(r) {
|
|
|
26415
26415
|
return !1;
|
|
26416
26416
|
var n = ua(r, "resizable", t);
|
|
26417
26417
|
function s(h, f) {
|
|
26418
|
-
var d = e.fixedDirection, p = e.fixedPosition, v = f.datas.startPositions ||
|
|
26418
|
+
var d = e.fixedDirection, p = e.fixedPosition, v = f.datas.startPositions || Hr(h.state), g = Le(v, d), m = pr(zl(-r.rotation / 180 * Math.PI, 3), [g[0] - p[0], g[1] - p[1], 1], 3), _ = m[0], y = m[1];
|
|
26419
26419
|
return f.datas.originalX = _, f.datas.originalY = y, f;
|
|
26420
26420
|
}
|
|
26421
26421
|
e.moveableScale = r.scale;
|
|
@@ -26564,7 +26564,7 @@ var F4 = {
|
|
|
26564
26564
|
}), e.nextPoses = e.poses.map(function(y) {
|
|
26565
26565
|
var b = y[0], x = y[1];
|
|
26566
26566
|
return pr(e.warpTargetMatrix, [b, x, 0, 1], 4);
|
|
26567
|
-
}), e.startValue = Fe(4), e.prevMatrix = Fe(4), e.absolutePoses =
|
|
26567
|
+
}), e.startValue = Fe(4), e.prevMatrix = Fe(4), e.absolutePoses = Hr(o), e.posIndexes = hR(a), Qo(r, t), Jg(t, "matrix3d"), o.snapRenderInfo = {
|
|
26568
26568
|
request: t.isRequest,
|
|
26569
26569
|
direction: a
|
|
26570
26570
|
};
|
|
@@ -26914,10 +26914,10 @@ function D1(r, t, e, i, n, s, a, o, u) {
|
|
|
26914
26914
|
var v = t[p], g = v.horizontal, m = v.vertical;
|
|
26915
26915
|
if (m && !h && (h = !0, l.push("/")), h) {
|
|
26916
26916
|
var _ = Math.max(0, m === 1 ? d[1] - a : u - d[1]);
|
|
26917
|
-
return l.push(
|
|
26917
|
+
return l.push(ji(_, n, e)), _;
|
|
26918
26918
|
} else {
|
|
26919
26919
|
var _ = Math.max(0, g === 1 ? d[0] - s : o - d[0]);
|
|
26920
|
-
return l.push(
|
|
26920
|
+
return l.push(ji(_, i, e)), _;
|
|
26921
26921
|
}
|
|
26922
26922
|
});
|
|
26923
26923
|
return {
|
|
@@ -27037,7 +27037,7 @@ function U1(r, t, e) {
|
|
|
27037
27037
|
var i = r.props.clipRelative, n = r.state, s = n.width, a = n.height, o = t, u = o.type, l = o.poses, h = u === "rect", f = u === "circle";
|
|
27038
27038
|
if (u === "polygon")
|
|
27039
27039
|
return e.map(function(E) {
|
|
27040
|
-
return "".concat(
|
|
27040
|
+
return "".concat(ji(E[0], s, i), " ").concat(ji(E[1], a, i));
|
|
27041
27041
|
});
|
|
27042
27042
|
if (h || u === "inset") {
|
|
27043
27043
|
var d = e[1][1], p = e[3][0], v = e[7][0], g = e[5][1];
|
|
@@ -27046,7 +27046,7 @@ function U1(r, t, e) {
|
|
|
27046
27046
|
return "".concat(E, "px");
|
|
27047
27047
|
});
|
|
27048
27048
|
var m = [d, s - p, a - g, v].map(function(E, R) {
|
|
27049
|
-
return
|
|
27049
|
+
return ji(E, R % 2 ? s : a, i);
|
|
27050
27050
|
});
|
|
27051
27051
|
if (e.length > 8) {
|
|
27052
27052
|
var _ = Bt(e[4], e[0]), y = _[0], b = _[1];
|
|
@@ -27054,8 +27054,8 @@ function U1(r, t, e) {
|
|
|
27054
27054
|
}
|
|
27055
27055
|
return m;
|
|
27056
27056
|
} else if (f || u === "ellipse") {
|
|
27057
|
-
var x = e[0], T =
|
|
27058
|
-
return m.push("at",
|
|
27057
|
+
var x = e[0], T = ji(Math.abs(e[1][1] - x[1]), f ? Math.sqrt((s * s + a * a) / 2) : a, i), m = f ? [T] : [ji(Math.abs(e[2][0] - x[0]), s, i), T];
|
|
27058
|
+
return m.push("at", ji(x[0], s, i), ji(x[1], a, i)), m;
|
|
27059
27059
|
}
|
|
27060
27060
|
}
|
|
27061
27061
|
function dv(r, t, e, i) {
|
|
@@ -27116,7 +27116,7 @@ function z4(r, t, e, i, n) {
|
|
|
27116
27116
|
function iT(r, t, e, i, n) {
|
|
27117
27117
|
var s, a, o, u, l, h, f, d = n;
|
|
27118
27118
|
if (!d) {
|
|
27119
|
-
var p =
|
|
27119
|
+
var p = Zi(r), v = p.clipPath;
|
|
27120
27120
|
d = v !== "none" ? v : p.clip;
|
|
27121
27121
|
}
|
|
27122
27122
|
if (!((!d || d === "none" || d === "auto") && (d = i, !d))) {
|
|
@@ -27125,11 +27125,11 @@ function iT(r, t, e, i, n) {
|
|
|
27125
27125
|
var E = Fa(b || "0% 0%, 100% 0%, 100% 100%, 0% 100%");
|
|
27126
27126
|
T = ",";
|
|
27127
27127
|
var R = E.map(function(Z) {
|
|
27128
|
-
var Ut = Z.split(" "), kt = Ut[0],
|
|
27128
|
+
var Ut = Z.split(" "), kt = Ut[0], ie = Ut[1];
|
|
27129
27129
|
return {
|
|
27130
27130
|
vertical: 1,
|
|
27131
27131
|
horizontal: 1,
|
|
27132
|
-
pos: [Ae(kt, t), Ae(
|
|
27132
|
+
pos: [Ae(kt, t), Ae(ie, e)]
|
|
27133
27133
|
};
|
|
27134
27134
|
});
|
|
27135
27135
|
return {
|
|
@@ -27176,7 +27176,7 @@ function iT(r, t, e, i, n) {
|
|
|
27176
27176
|
return Ae(kt, e);
|
|
27177
27177
|
}), st = gt[0], dt = gt[1], it = [M, tt].map(function(kt) {
|
|
27178
27178
|
return Ae(kt, t);
|
|
27179
|
-
}), z = it[0],
|
|
27179
|
+
}), z = it[0], Et = it[1], J = t - Et, X = e - dt, rt = VR(Q, J - z, X - st, z, st), R = Nt(Nt([], dv(st, J, X, z), !0), rt, !0);
|
|
27180
27180
|
return {
|
|
27181
27181
|
type: "inset",
|
|
27182
27182
|
clipText: d,
|
|
@@ -27194,13 +27194,13 @@ function iT(r, t, e, i, n) {
|
|
|
27194
27194
|
var ut = E.map(function(Vt) {
|
|
27195
27195
|
var Ke = fd(Vt).value;
|
|
27196
27196
|
return Ke;
|
|
27197
|
-
}), st = ut[0],
|
|
27197
|
+
}), st = ut[0], Et = ut[1], dt = ut[2], z = ut[3], R = dv(st, Et, dt, z);
|
|
27198
27198
|
return {
|
|
27199
27199
|
type: "rect",
|
|
27200
27200
|
clipText: d,
|
|
27201
27201
|
poses: R,
|
|
27202
27202
|
top: st,
|
|
27203
|
-
right:
|
|
27203
|
+
right: Et,
|
|
27204
27204
|
bottom: dt,
|
|
27205
27205
|
left: z,
|
|
27206
27206
|
values: E,
|
|
@@ -27374,7 +27374,7 @@ var X4 = {
|
|
|
27374
27374
|
}));
|
|
27375
27375
|
}
|
|
27376
27376
|
if (s) {
|
|
27377
|
-
var dt = _i(Nt([g, m, _, y], N, !0)), it = dt.width, z = dt.height,
|
|
27377
|
+
var dt = _i(Nt([g, m, _, y], N, !0)), it = dt.width, z = dt.height, Et = dt.left, J = dt.top;
|
|
27378
27378
|
if (L || B || j) {
|
|
27379
27379
|
var M = j ? N.slice(0, 8) : N;
|
|
27380
27380
|
F.push(t.createElement("div", {
|
|
@@ -27383,9 +27383,9 @@ var X4 = {
|
|
|
27383
27383
|
style: {
|
|
27384
27384
|
width: "".concat(it, "px"),
|
|
27385
27385
|
height: "".concat(z, "px"),
|
|
27386
|
-
transform: "translate(".concat(
|
|
27386
|
+
transform: "translate(".concat(Et, "px, ").concat(J, "px)"),
|
|
27387
27387
|
clipPath: "polygon(".concat(M.map(function(rt) {
|
|
27388
|
-
return "".concat(rt[0] -
|
|
27388
|
+
return "".concat(rt[0] - Et, "px ").concat(rt[1] - J, "px");
|
|
27389
27389
|
}).join(", "), ")")
|
|
27390
27390
|
}
|
|
27391
27391
|
}));
|
|
@@ -27394,11 +27394,11 @@ var X4 = {
|
|
|
27394
27394
|
return x && ["vertical", "horizontal"].forEach(function(X) {
|
|
27395
27395
|
var rt = x[X], ut = X === "horizontal";
|
|
27396
27396
|
rt.isSnap && A.push.apply(A, rt.snap.posInfos.map(function(Z, Ut) {
|
|
27397
|
-
var kt = Z.pos,
|
|
27398
|
-
return hc(t, "",
|
|
27397
|
+
var kt = Z.pos, ie = Bt(ar(f, ut ? [0, kt] : [kt, 0], R), [p, v]), Ge = Bt(ar(f, ut ? [l, kt] : [kt, h], R), [p, v]);
|
|
27398
|
+
return hc(t, "", ie, Ge, a, "clip".concat(X, "snap").concat(Ut), "guideline");
|
|
27399
27399
|
})), rt.isBound && A.push.apply(A, rt.bounds.map(function(Z, Ut) {
|
|
27400
|
-
var kt = Z.pos,
|
|
27401
|
-
return hc(t, "",
|
|
27400
|
+
var kt = Z.pos, ie = Bt(ar(f, ut ? [0, kt] : [kt, 0], R), [p, v]), Ge = Bt(ar(f, ut ? [l, kt] : [kt, h], R), [p, v]);
|
|
27401
|
+
return hc(t, "", ie, Ge, a, "clip".concat(X, "bounds").concat(Ut), "guideline", "bounds", "bold");
|
|
27402
27402
|
}));
|
|
27403
27403
|
}), Nt(Nt([], F, !0), A, !0);
|
|
27404
27404
|
},
|
|
@@ -27470,13 +27470,13 @@ var X4 = {
|
|
|
27470
27470
|
if (k || W)
|
|
27471
27471
|
dt = [G[4][0], G[2][0]], it = [G[1][1], G[3][1]];
|
|
27472
27472
|
else if (A) {
|
|
27473
|
-
var z = [G[0], G[2], G[4], G[6]],
|
|
27473
|
+
var z = [G[0], G[2], G[4], G[6]], Et = [B[0], B[2], B[4], B[6]];
|
|
27474
27474
|
dt = z.filter(function(O, D) {
|
|
27475
|
-
return
|
|
27475
|
+
return Et[D][0];
|
|
27476
27476
|
}).map(function(O) {
|
|
27477
27477
|
return O[0];
|
|
27478
27478
|
}), it = z.filter(function(O, D) {
|
|
27479
|
-
return
|
|
27479
|
+
return Et[D][1];
|
|
27480
27480
|
}).map(function(O) {
|
|
27481
27481
|
return O[1];
|
|
27482
27482
|
});
|
|
@@ -27497,13 +27497,13 @@ var X4 = {
|
|
|
27497
27497
|
bottom: T
|
|
27498
27498
|
}, dt, it, 5), rt = X.horizontal, ut = X.vertical, Z = rt.offset, Ut = ut.offset;
|
|
27499
27499
|
if (rt.isBound && (J[1] += Z), ut.isBound && (J[0] += Ut), (W || k) && B[0][0] === 0 && B[0][1] === 0) {
|
|
27500
|
-
var tt = _i(Q), kt = tt.bottom - tt.top,
|
|
27501
|
-
|
|
27500
|
+
var tt = _i(Q), kt = tt.bottom - tt.top, ie = W ? tt.right - tt.left : kt, Ge = ut.isBound ? Math.abs(Ut) : ut.snapIndex === 0 ? -Ut : Ut, ur = rt.isBound ? Math.abs(Z) : rt.snapIndex === 0 ? -Z : Z;
|
|
27501
|
+
ie -= Ge, kt -= ur, k && (kt = SR(ut, rt) > 0 ? kt : ie, ie = kt);
|
|
27502
27502
|
var Vt = G[0];
|
|
27503
|
-
G[1][1] = Vt[1] - kt, G[2][0] = Vt[0] +
|
|
27503
|
+
G[1][1] = Vt[1] - kt, G[2][0] = Vt[0] + ie, G[3][1] = Vt[1] + kt, G[4][0] = Vt[0] - ie;
|
|
27504
27504
|
} else if (A && p && o) {
|
|
27505
|
-
var Ke = qR(C), ge = Ke[0], ae = Ke[1],
|
|
27506
|
-
Z <= Ut ? Z = Ut /
|
|
27505
|
+
var Ke = qR(C), ge = Ke[0], ae = Ke[1], ne = ge && ae ? ge / ae : 0, $t = C[h], nr = $t.direction || "", nh = G[1][1], ht = G[5][1], M = G[7][0], gt = G[3][0];
|
|
27506
|
+
Z <= Ut ? Z = Ut / ne : Ut = Z * ne, nr.indexOf("w") > -1 ? M -= Ut : nr.indexOf("e") > -1 ? gt -= Ut : (M += Ut / 2, gt -= Ut / 2), nr.indexOf("n") > -1 ? nh -= Z : nr.indexOf("s") > -1 ? ht -= Z : (nh += Z / 2, ht -= Z / 2);
|
|
27507
27507
|
var nm = dv(nh, gt, ht, M);
|
|
27508
27508
|
G.forEach(function(K, at) {
|
|
27509
27509
|
var ot;
|
|
@@ -27578,7 +27578,7 @@ var X4 = {
|
|
|
27578
27578
|
var e = t.datas;
|
|
27579
27579
|
Qo(r, t);
|
|
27580
27580
|
var i = Dt(r, t, {
|
|
27581
|
-
dragStart:
|
|
27581
|
+
dragStart: Ir.dragStart(r, new $l().dragStart([0, 0], t))
|
|
27582
27582
|
}), n = yt(r, "onDragOriginStart", i);
|
|
27583
27583
|
return e.startOrigin = r.state.transformOrigin, e.startTargetOrigin = r.state.targetOrigin, e.prevOrigin = [0, 0], e.isDragOrigin = !0, n === !1 ? (e.isDragOrigin = !1, !1) : i;
|
|
27584
27584
|
},
|
|
@@ -27593,14 +27593,14 @@ var X4 = {
|
|
|
27593
27593
|
}
|
|
27594
27594
|
var b = Kt(e.startOrigin, _), x = Kt(e.startTargetOrigin, _), T = Bt(_, e.prevOrigin), E = yd(f, d, b, m), R = r.getRect(), C = _i(tu(E, l, h, m)), P = [R.left - C.left, R.top - C.top];
|
|
27595
27595
|
e.prevOrigin = _;
|
|
27596
|
-
var N = [
|
|
27596
|
+
var N = [ji(x[0], l, g), ji(x[1], h, g)].join(" "), F = Dt(r, t, {
|
|
27597
27597
|
width: l,
|
|
27598
27598
|
height: h,
|
|
27599
27599
|
origin: b,
|
|
27600
27600
|
dist: _,
|
|
27601
27601
|
delta: T,
|
|
27602
27602
|
transformOrigin: N,
|
|
27603
|
-
drag:
|
|
27603
|
+
drag: Ir.drag(r, _d(t, r.state, P, !!i, !1))
|
|
27604
27604
|
});
|
|
27605
27605
|
return yt(r, "onDragOrigin", F), F;
|
|
27606
27606
|
},
|
|
@@ -27655,7 +27655,7 @@ function nT(r, t, e, i, n) {
|
|
|
27655
27655
|
if (n)
|
|
27656
27656
|
s = n;
|
|
27657
27657
|
else {
|
|
27658
|
-
var o =
|
|
27658
|
+
var o = Zi(r);
|
|
27659
27659
|
s = o && o.borderRadius || "";
|
|
27660
27660
|
}
|
|
27661
27661
|
return !s || !n && s === "0px" ? a = [] : a = aa(s), VR(a, t, e, 0, 0, i);
|
|
@@ -28396,7 +28396,7 @@ var Xl = /* @__PURE__ */ function(r) {
|
|
|
28396
28396
|
}, e.updateTarget = function(i) {
|
|
28397
28397
|
this.updateRect(i, !0);
|
|
28398
28398
|
}, e.getRect = function() {
|
|
28399
|
-
var i = this.state, n =
|
|
28399
|
+
var i = this.state, n = Hr(this.state), s = n[0], a = n[1], o = n[2], u = n[3], l = _i(n), h = i.width, f = i.height, d = l.width, p = l.height, v = l.left, g = l.top, m = [i.left, i.top], _ = Kt(m, i.origin), y = Kt(m, i.beforeOrigin), b = i.transformOrigin;
|
|
28400
28400
|
return {
|
|
28401
28401
|
width: d,
|
|
28402
28402
|
height: p,
|
|
@@ -28724,13 +28724,13 @@ var rU = md("edgeDraggable", {
|
|
|
28724
28724
|
request: t.isRequest,
|
|
28725
28725
|
snap: !0,
|
|
28726
28726
|
center: !0
|
|
28727
|
-
},
|
|
28727
|
+
}, Ir.dragStart(r, cu(t));
|
|
28728
28728
|
},
|
|
28729
28729
|
dragControl: function(r, t) {
|
|
28730
|
-
return
|
|
28730
|
+
return Ir.drag(r, cu(t));
|
|
28731
28731
|
},
|
|
28732
28732
|
dragControlEnd: function(r, t) {
|
|
28733
|
-
return
|
|
28733
|
+
return Ir.dragEnd(r, cu(t));
|
|
28734
28734
|
},
|
|
28735
28735
|
dragGroupControlCondition: function(r, t) {
|
|
28736
28736
|
if (!r.props.edgeDraggable || !t.inputEvent)
|
|
@@ -28739,16 +28739,16 @@ var rU = md("edgeDraggable", {
|
|
|
28739
28739
|
return rr(e, St("direction")) && rr(e, St("line"));
|
|
28740
28740
|
},
|
|
28741
28741
|
dragGroupControlStart: function(r, t) {
|
|
28742
|
-
return
|
|
28742
|
+
return Ir.dragGroupStart(r, cu(t));
|
|
28743
28743
|
},
|
|
28744
28744
|
dragGroupControl: function(r, t) {
|
|
28745
|
-
return
|
|
28745
|
+
return Ir.dragGroup(r, cu(t));
|
|
28746
28746
|
},
|
|
28747
28747
|
dragGroupControlEnd: function(r, t) {
|
|
28748
|
-
return
|
|
28748
|
+
return Ir.dragGroupEnd(r, cu(t));
|
|
28749
28749
|
},
|
|
28750
28750
|
unset: function(r) {
|
|
28751
|
-
return
|
|
28751
|
+
return Ir.unset(r);
|
|
28752
28752
|
}
|
|
28753
28753
|
}), QR = {
|
|
28754
28754
|
name: "individualGroupable",
|
|
@@ -28756,7 +28756,7 @@ var rU = md("edgeDraggable", {
|
|
|
28756
28756
|
individualGroupable: Boolean
|
|
28757
28757
|
},
|
|
28758
28758
|
events: {}
|
|
28759
|
-
}, H1 = [ZR, zR, T4, LD,
|
|
28759
|
+
}, H1 = [ZR, zR, T4, LD, Ir, rU, Ly, O4, F4, N4, L4, D4, B4, W4, X4, q4, j1, QR, eU, HR, JR], iU = /* @__PURE__ */ H1.reduce(function(r, t) {
|
|
28760
28760
|
return H(H({}, r), "events" in t ? t.events : {});
|
|
28761
28761
|
}, {}), nU = /* @__PURE__ */ H1.reduce(function(r, t) {
|
|
28762
28762
|
return H(H({}, r), t.props);
|
|
@@ -28795,7 +28795,7 @@ function uU(r, t) {
|
|
|
28795
28795
|
height: u,
|
|
28796
28796
|
rotation: t
|
|
28797
28797
|
};
|
|
28798
|
-
var l = Yt(t,
|
|
28798
|
+
var l = Yt(t, Rr);
|
|
28799
28799
|
if (l % 90) {
|
|
28800
28800
|
var h = l / 180 * Math.PI, f = Math.tan(h), d = -1 / f, p = [Py, Bw], v = [[0, 0], [0, 0]], g = [Py, Bw], m = [[0, 0], [0, 0]];
|
|
28801
28801
|
r.forEach(function(V) {
|
|
@@ -28887,7 +28887,7 @@ var lU = /* @__PURE__ */ function(r) {
|
|
|
28887
28887
|
};
|
|
28888
28888
|
} else
|
|
28889
28889
|
return {
|
|
28890
|
-
poses:
|
|
28890
|
+
poses: Hr(dt.state),
|
|
28891
28891
|
rotation: dt.getRotation()
|
|
28892
28892
|
};
|
|
28893
28893
|
}), lt = tt.map(function(dt) {
|
|
@@ -28907,7 +28907,7 @@ var lU = /* @__PURE__ */ function(r) {
|
|
|
28907
28907
|
p && (this.rotation = g.rotation, this.transformOrigin = o.defaultGroupOrigin || "50% 50%", this.scale = [1, 1]), this.renderGroupRects = d;
|
|
28908
28908
|
var m = this.rotation, _ = this.scale, y = g.width, b = g.height, x = g.minX, T = g.minY, E = "rotate(".concat(m, "deg) scale(").concat(_[0] >= 0 ? 1 : -1, ", ").concat(_[1] >= 0 ? 1 : -1, ")");
|
|
28909
28909
|
l.style.cssText += "left:0px;top:0px; transform-origin: ".concat(this.transformOrigin, "; width:").concat(y, "px; height:").concat(b, "px;") + "transform:".concat(E), a.width = y, a.height = b;
|
|
28910
|
-
var R = this.getContainer(), C = Gy(this.controlBox.getElement(), l, this.controlBox.getElement(), this.getContainer(), this.props.rootContainer || R), P = [C.left, C.top], N =
|
|
28910
|
+
var R = this.getContainer(), C = Gy(this.controlBox.getElement(), l, this.controlBox.getElement(), this.getContainer(), this.props.rootContainer || R), P = [C.left, C.top], N = Hr(C), F = N[0], A = N[1], B = N[2], j = N[3], L = vd([F, A, B, j]), U = [L.minX, L.minY];
|
|
28911
28911
|
C.pos1 = Bt(F, U), C.pos2 = Bt(A, U), C.pos3 = Bt(B, U), C.pos4 = Bt(j, U), C.left = x - C.left + U[0], C.top = T - C.top + U[1], C.origin = Bt(Kt(P, C.origin), U), C.beforeOrigin = Bt(Kt(P, C.beforeOrigin), U), C.originalBeforeOrigin = Kt(P, C.originalBeforeOrigin);
|
|
28912
28912
|
var V = C.targetClientRect, Q = _[0] * _[1] > 0 ? 1 : -1;
|
|
28913
28913
|
V.top += C.top - a.top, V.left += C.left - a.left, l.style.transform = "translate(".concat(-U[0], "px, ").concat(-U[1], "px) ").concat(E), this.updateState(H(H({}, C), {
|
|
@@ -29220,7 +29220,7 @@ var bU = /* @__PURE__ */ function() {
|
|
|
29220
29220
|
}
|
|
29221
29221
|
var t = r.prototype;
|
|
29222
29222
|
return t.on = function(e, i) {
|
|
29223
|
-
if (
|
|
29223
|
+
if (qi(e))
|
|
29224
29224
|
for (var n in e)
|
|
29225
29225
|
this.on(n, e[n]);
|
|
29226
29226
|
else
|
|
@@ -29229,7 +29229,7 @@ var bU = /* @__PURE__ */ function() {
|
|
|
29229
29229
|
}, t.off = function(e, i) {
|
|
29230
29230
|
if (!e)
|
|
29231
29231
|
this._events = {};
|
|
29232
|
-
else if (
|
|
29232
|
+
else if (qi(e))
|
|
29233
29233
|
for (var n in e)
|
|
29234
29234
|
this.off(n);
|
|
29235
29235
|
else if (!i)
|
|
@@ -29332,7 +29332,7 @@ var bU = /* @__PURE__ */ function() {
|
|
|
29332
29332
|
return r !== null && r.apply(this, arguments) || this;
|
|
29333
29333
|
}
|
|
29334
29334
|
return t;
|
|
29335
|
-
}(EU),
|
|
29335
|
+
}(EU), an, Xu, Wu, Yu, qu, Uc, Wa, Ya, Gc, zy;
|
|
29336
29336
|
const pt = class {
|
|
29337
29337
|
constructor(t, e = !1) {
|
|
29338
29338
|
w(this, Gc);
|
|
@@ -29370,7 +29370,7 @@ const pt = class {
|
|
|
29370
29370
|
this.bg_col = t, this.isLay = e;
|
|
29371
29371
|
}
|
|
29372
29372
|
static init(t, e, i, n, s, a, o) {
|
|
29373
|
-
t.view.insertAdjacentHTML("beforebegin", `<div id="${c(pt, qu)}" style="width: ${Y.stageW * pt.sys.cvsScale}px; height: ${Y.stageH * e.cvsScale}px; background: rgba(0,0,0,0); position: absolute; touch-action: none; user-select: none; display: none;"></div>`), I(pt,
|
|
29373
|
+
t.view.insertAdjacentHTML("beforebegin", `<div id="${c(pt, qu)}" style="width: ${Y.stageW * pt.sys.cvsScale}px; height: ${Y.stageH * e.cvsScale}px; background: rgba(0,0,0,0); position: absolute; touch-action: none; user-select: none; display: none;"></div>`), I(pt, an, document.getElementById(c(pt, qu))), pt.divHint.classList.add("sn_design_hint"), t.view.parentElement.appendChild(pt.divHint), pt.sys = e, I(pt, Xu, i), pt.prpPrs = n, I(pt, Wu, s), I(pt, Yu, a), pt.hPages = o, Su(`
|
|
29374
29374
|
.sn_design_cast {
|
|
29375
29375
|
position: absolute; touch-action: none; user-select: none;
|
|
29376
29376
|
opacity: 0.6; border-radius: 8px;
|
|
@@ -29403,7 +29403,7 @@ const pt = class {
|
|
|
29403
29403
|
top: ${Math.max(10, n.ly + i - o - 10)}px;`;
|
|
29404
29404
|
}
|
|
29405
29405
|
static cvsResizeDesign() {
|
|
29406
|
-
const t = c(pt,
|
|
29406
|
+
const t = c(pt, an).style;
|
|
29407
29407
|
t.width = `${Y.stageW * pt.sys.cvsScale}px`, t.height = `${Y.stageH * pt.sys.cvsScale}px`;
|
|
29408
29408
|
}
|
|
29409
29409
|
destroy() {
|
|
@@ -29443,7 +29443,7 @@ const pt = class {
|
|
|
29443
29443
|
this.child = t, t.parent = this;
|
|
29444
29444
|
}
|
|
29445
29445
|
static enterMode() {
|
|
29446
|
-
pt.leaveMode(), c(pt,
|
|
29446
|
+
pt.leaveMode(), c(pt, an).style.display = "inline", I(pt, Uc, 0), I(pt, Wa, {});
|
|
29447
29447
|
}
|
|
29448
29448
|
static allHide() {
|
|
29449
29449
|
c(pt, Ya).forEach((t) => t.visible = !1);
|
|
@@ -29452,7 +29452,7 @@ const pt = class {
|
|
|
29452
29452
|
!this.div || !this.mov || (this.div.style.display = t ? "inline" : "none", this.mov.updateTarget());
|
|
29453
29453
|
}
|
|
29454
29454
|
static leaveMode() {
|
|
29455
|
-
c(pt,
|
|
29455
|
+
c(pt, an).textContent = "", c(pt, an).style.display = "none", c(pt, Ya).forEach((t) => t.destroy()), I(pt, Ya, []);
|
|
29456
29456
|
}
|
|
29457
29457
|
cvsResize() {
|
|
29458
29458
|
var t;
|
|
@@ -29467,7 +29467,7 @@ const pt = class {
|
|
|
29467
29467
|
const e = this.div = document.createElement("div");
|
|
29468
29468
|
e.id = c(pt, qu) + "_" + ++ze(pt, Uc)._, e.classList.add("sn_design_cast"), e.dataset.id_dc = t, e.style.backgroundColor = `${this.bg_col}`, e.style.display = "none", this.rect = this.getRect(), S(this, Gc, zy).call(this), (this.parent && (l = document.querySelector(
|
|
29469
29469
|
`[data-id_dc="${this.parent.id_tag}"]`
|
|
29470
|
-
)) != null ? l : c(pt,
|
|
29470
|
+
)) != null ? l : c(pt, an)).appendChild(e);
|
|
29471
29471
|
const i = {
|
|
29472
29472
|
aPos: [0, 0],
|
|
29473
29473
|
roDeg: 0,
|
|
@@ -29632,7 +29632,7 @@ ${a}`, "F"), n.rotation = N;
|
|
|
29632
29632
|
}
|
|
29633
29633
|
};
|
|
29634
29634
|
let Gt = pt;
|
|
29635
|
-
|
|
29635
|
+
an = new WeakMap(), Xu = new WeakMap(), Wu = new WeakMap(), Yu = new WeakMap(), qu = new WeakMap(), Uc = new WeakMap(), Wa = new WeakMap(), Ya = new WeakMap(), Gc = new WeakSet(), zy = function() {
|
|
29636
29636
|
this.fncLay(), this.div && Object.assign(this.div.style, {
|
|
29637
29637
|
left: `${this.lx + this.rect.x * pt.sys.cvsScale}px`,
|
|
29638
29638
|
top: `${this.ly + this.rect.y * pt.sys.cvsScale}px`,
|
|
@@ -29641,7 +29641,7 @@ sn = new WeakMap(), Xu = new WeakMap(), Wu = new WeakMap(), Yu = new WeakMap(),
|
|
|
29641
29641
|
transformOrigin: `${this.pivot.x * pt.sys.cvsScale}px ${this.pivot.y * pt.sys.cvsScale}px`,
|
|
29642
29642
|
transform: `scale(${this.scale.x}, ${this.scale.y}) rotate(${this.rotation}deg)`
|
|
29643
29643
|
});
|
|
29644
|
-
}, w(Gt,
|
|
29644
|
+
}, w(Gt, an, void 0), q(Gt, "sys"), w(Gt, Xu, void 0), q(Gt, "prpPrs"), w(Gt, Wu, void 0), w(Gt, Yu, void 0), q(Gt, "hPages"), q(Gt, "divHint", document.createElement("div")), w(Gt, qu, "DesignMode"), w(Gt, Uc, 0), w(Gt, Wa, {}), w(Gt, Ya, []);
|
|
29645
29645
|
var ks;
|
|
29646
29646
|
class TU extends Gt {
|
|
29647
29647
|
constructor(e, i) {
|
|
@@ -29890,16 +29890,16 @@ class SU extends nS {
|
|
|
29890
29890
|
}
|
|
29891
29891
|
}
|
|
29892
29892
|
Gn = new WeakMap();
|
|
29893
|
-
var i0, Ls, jn, qa, Za,
|
|
29894
|
-
const
|
|
29893
|
+
var i0, Ls, jn, qa, Za, on, Hc, Ja, zc, $c, un, Hn, Ds, Us, Vc, Xc, Wc, n0, sS, s0, aS, Yc, Vy, a0, oS, Zu, Ni, Ju, Ka, qc;
|
|
29894
|
+
const wt = class extends _r {
|
|
29895
29895
|
constructor() {
|
|
29896
29896
|
super();
|
|
29897
|
-
w(this,
|
|
29897
|
+
w(this, un, new TU(this.spLay, this));
|
|
29898
29898
|
w(this, Hn, "");
|
|
29899
29899
|
w(this, Ds, "");
|
|
29900
29900
|
w(this, Us, "");
|
|
29901
29901
|
q(this, "lay", (e) => this.laySub(e, (i) => {
|
|
29902
|
-
i && c(
|
|
29902
|
+
i && c(wt, jn).resume();
|
|
29903
29903
|
}));
|
|
29904
29904
|
w(this, Vc, 0);
|
|
29905
29905
|
w(this, Xc, 0);
|
|
@@ -29911,43 +29911,43 @@ const Et = class extends _r {
|
|
|
29911
29911
|
...super.record(),
|
|
29912
29912
|
sBkFn: c(this, Ds),
|
|
29913
29913
|
sBkFace: c(this, Us),
|
|
29914
|
-
idc_hArg: c(this,
|
|
29914
|
+
idc_hArg: c(this, un).gethArg()
|
|
29915
29915
|
}));
|
|
29916
29916
|
q(this, "dump", () => super.dump() + `, "pic":"${c(this, Hn)}"`);
|
|
29917
|
-
Y.isDbg && (this.setSp = (e) => c(this,
|
|
29918
|
-
super.cvsResize(), c(this,
|
|
29917
|
+
Y.isDbg && (this.setSp = (e) => c(this, un).setSp(e), this.cvsResize = () => {
|
|
29918
|
+
super.cvsResize(), c(this, un).cvsResize();
|
|
29919
29919
|
});
|
|
29920
29920
|
}
|
|
29921
29921
|
static init(e, i, n, s, a, o) {
|
|
29922
|
-
I(
|
|
29922
|
+
I(wt, jn, e), I(wt, qa, i), I(wt, Za, n), I(wt, on, s), I(wt, Hc, o);
|
|
29923
29923
|
const u = () => {
|
|
29924
|
-
const l = c(
|
|
29925
|
-
for (const h of Object.values(
|
|
29924
|
+
const l = c(wt, Ja) * c(wt, zc);
|
|
29925
|
+
for (const h of Object.values(wt.hFn2VElm))
|
|
29926
29926
|
h.volume = l;
|
|
29927
29927
|
};
|
|
29928
29928
|
a.setNoticeChgVolume(
|
|
29929
29929
|
(l) => {
|
|
29930
|
-
I(
|
|
29930
|
+
I(wt, Ja, l), u();
|
|
29931
29931
|
},
|
|
29932
29932
|
(l) => {
|
|
29933
|
-
I(
|
|
29933
|
+
I(wt, zc, l), u();
|
|
29934
29934
|
}
|
|
29935
|
-
), c(
|
|
29935
|
+
), c(wt, on).crypto && I(wt, Wc, S(wt, s0, aS));
|
|
29936
29936
|
}
|
|
29937
29937
|
static setEvtMng(e) {
|
|
29938
|
-
I(
|
|
29938
|
+
I(wt, $c, e);
|
|
29939
29939
|
}
|
|
29940
29940
|
static destroy() {
|
|
29941
|
-
c(
|
|
29941
|
+
c(wt, i0).clear(), I(wt, Ls, {}), wt.hFn2ResAniSpr = {}, wt.hFn2VElm = {};
|
|
29942
29942
|
}
|
|
29943
29943
|
setSp(e) {
|
|
29944
29944
|
}
|
|
29945
29945
|
laySub(e, i) {
|
|
29946
29946
|
const { fn: n, face: s = "" } = e;
|
|
29947
|
-
if (c(this,
|
|
29947
|
+
if (c(this, un).sethArg(e), !n)
|
|
29948
29948
|
return super.lay(e), this.spLay.children.length > 0 && this.setPos(e), I(this, Ds, ""), I(this, Hn, I(this, Us, s)), i(!1), !1;
|
|
29949
29949
|
const a = "fn" in e, o = "face" in e;
|
|
29950
|
-
return this.clearLay({ filter: "true" }), a && I(this, Ds, n), o && I(this, Us, s), super.lay(e), e.dx = 0, e.dy = 0,
|
|
29950
|
+
return this.clearLay({ filter: "true" }), a && I(this, Ds, n), o && I(this, Us, s), super.lay(e), e.dx = 0, e.dy = 0, wt.csv2Sprites(
|
|
29951
29951
|
I(this, Hn, n + (s ? "," + s : "")),
|
|
29952
29952
|
this.spLay,
|
|
29953
29953
|
(u) => {
|
|
@@ -29972,38 +29972,38 @@ const Et = class extends _r {
|
|
|
29972
29972
|
const f = je.from(e);
|
|
29973
29973
|
i == null || i.addChild(f), n(f), s(a);
|
|
29974
29974
|
};
|
|
29975
|
-
return e in
|
|
29975
|
+
return e in Ur ? h() : (a = !0, new ei().add(e, e).load(h)), a;
|
|
29976
29976
|
}
|
|
29977
29977
|
const o = [], u = new ei();
|
|
29978
29978
|
e.split(",").forEach((h, f) => {
|
|
29979
29979
|
if (!h)
|
|
29980
29980
|
throw "face\u5C5E\u6027\u306B\u7A7A\u8981\u7D20\u304C\u542B\u307E\u308C\u307E\u3059";
|
|
29981
|
-
const d = c(
|
|
29981
|
+
const d = c(wt, Ls)[h] || {
|
|
29982
29982
|
fn: h,
|
|
29983
29983
|
dx: 0,
|
|
29984
29984
|
dy: 0,
|
|
29985
|
-
blendmode:
|
|
29985
|
+
blendmode: xt.NORMAL
|
|
29986
29986
|
}, p = f === 0 ? n : (m) => {
|
|
29987
29987
|
m.x = d.dx, m.y = d.dy, m.blendMode = d.blendmode;
|
|
29988
29988
|
};
|
|
29989
|
-
if (o.push({ fn: d.fn, fnc: p }), d.fn in
|
|
29989
|
+
if (o.push({ fn: d.fn, fnc: p }), d.fn in wt.hFn2ResAniSpr || d.fn in Ur || d.fn in ei.shared.resources)
|
|
29990
29990
|
return;
|
|
29991
29991
|
a = !0;
|
|
29992
|
-
const v = c(
|
|
29992
|
+
const v = c(wt, qa).searchPath(d.fn, yr.SPRITE), g = c(this, on).crypto ? { xhrType: v.slice(-5) === ".json" ? Lt.XHR_RESPONSE_TYPE.TEXT : Lt.XHR_RESPONSE_TYPE.BUFFER } : {};
|
|
29993
29993
|
u.add({ ...g, name: d.fn, url: v });
|
|
29994
29994
|
});
|
|
29995
29995
|
const l = (h) => {
|
|
29996
29996
|
var f;
|
|
29997
29997
|
for (const { fn: d, fnc: p } of o) {
|
|
29998
|
-
const v = S(f =
|
|
29998
|
+
const v = S(f = wt, a0, oS).call(f, d, h);
|
|
29999
29999
|
v.name = d, i == null || i.addChild(v), p(v);
|
|
30000
30000
|
}
|
|
30001
30001
|
s(a);
|
|
30002
30002
|
};
|
|
30003
30003
|
return a ? u.use((h, f) => {
|
|
30004
|
-
c(this,
|
|
30004
|
+
c(this, on).dec(h.extension, h.data).then((d) => {
|
|
30005
30005
|
var p;
|
|
30006
|
-
return c(p =
|
|
30006
|
+
return c(p = wt, Wc).call(p, d, h, () => f == null ? void 0 : f());
|
|
30007
30007
|
}).catch((d) => c(this, jn).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${h.name} ${d}`, !1));
|
|
30008
30008
|
}).load((h, f) => l(f)) : l({}), a;
|
|
30009
30009
|
}
|
|
@@ -30011,15 +30011,15 @@ const Et = class extends _r {
|
|
|
30011
30011
|
const { fn: i } = e;
|
|
30012
30012
|
if (!i)
|
|
30013
30013
|
throw "fn\u306F\u5FC5\u9808\u3067\u3059";
|
|
30014
|
-
const n =
|
|
30014
|
+
const n = wt.hFn2VElm[i];
|
|
30015
30015
|
if (!n || n.loop)
|
|
30016
30016
|
return !1;
|
|
30017
30017
|
if (n.ended)
|
|
30018
|
-
return delete
|
|
30018
|
+
return delete wt.hFn2VElm[i], !1;
|
|
30019
30019
|
const s = () => {
|
|
30020
|
-
n.removeEventListener("ended", s), delete
|
|
30020
|
+
n.removeEventListener("ended", s), delete wt.hFn2VElm[i], c(this, jn).resume();
|
|
30021
30021
|
};
|
|
30022
|
-
return n.addEventListener("ended", s, { once: !0, passive: !0 }), c(
|
|
30022
|
+
return n.addEventListener("ended", s, { once: !0, passive: !0 }), c(wt, $c).waitEvent(
|
|
30023
30023
|
() => {
|
|
30024
30024
|
n.pause(), s();
|
|
30025
30025
|
},
|
|
@@ -30037,7 +30037,7 @@ const Et = class extends _r {
|
|
|
30037
30037
|
this.spLay.alpha = 1;
|
|
30038
30038
|
for (const n of this.spLay.children)
|
|
30039
30039
|
n.visible = !0;
|
|
30040
|
-
c(this, Ni).visible = !1, c(
|
|
30040
|
+
c(this, Ni).visible = !1, c(wt, Za).renderer.render(this.spLay, { renderTexture: c(this, Zu) }), this.spLay.alpha = i;
|
|
30041
30041
|
for (const n of this.spLay.children)
|
|
30042
30042
|
n.visible = !1;
|
|
30043
30043
|
};
|
|
@@ -30050,10 +30050,10 @@ const Et = class extends _r {
|
|
|
30050
30050
|
}
|
|
30051
30051
|
I(this, Ju, () => {
|
|
30052
30052
|
e(), c(this, Ni).visible = !0;
|
|
30053
|
-
}), c(
|
|
30053
|
+
}), c(wt, Za).ticker.add(c(this, Ju));
|
|
30054
30054
|
}
|
|
30055
30055
|
renderEnd() {
|
|
30056
|
-
c(
|
|
30056
|
+
c(wt, Za).ticker.remove(c(this, Ju)), this.spLay.removeChild(c(this, Ni));
|
|
30057
30057
|
for (const e of this.spLay.children)
|
|
30058
30058
|
e.visible = !0;
|
|
30059
30059
|
c(this, Ni).destroy(!0);
|
|
@@ -30070,15 +30070,15 @@ const Et = class extends _r {
|
|
|
30070
30070
|
return;
|
|
30071
30071
|
}
|
|
30072
30072
|
c(this, Ka)[e] = [i];
|
|
30073
|
-
const o = c(
|
|
30074
|
-
c(
|
|
30075
|
-
c(
|
|
30073
|
+
const o = c(wt, qa).searchPath(e, yr.SPRITE), u = new ei().add({ name: e, url: o, xhrType: Lt.XHR_RESPONSE_TYPE.BUFFER });
|
|
30074
|
+
c(wt, on).crypto && u.use((l, h) => {
|
|
30075
|
+
c(wt, on).dec(l.extension, l.data).then((f) => {
|
|
30076
30076
|
if (l.extension !== "bin") {
|
|
30077
30077
|
h == null || h();
|
|
30078
30078
|
return;
|
|
30079
30079
|
}
|
|
30080
30080
|
l.data = f, f instanceof HTMLImageElement && (l.type = Lt.TYPE.IMAGE), h == null || h();
|
|
30081
|
-
}).catch((f) => c(
|
|
30081
|
+
}).catch((f) => c(wt, jn).errScript(`GrpLayer loadPic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 fn:${l.name} ${f}`, !1));
|
|
30082
30082
|
}), u.load((l, h) => {
|
|
30083
30083
|
for (const [f, { data: { src: d } }] of Object.entries(h)) {
|
|
30084
30084
|
const p = c(this, qc)[f] = d;
|
|
@@ -30100,10 +30100,10 @@ const Et = class extends _r {
|
|
|
30100
30100
|
const { name: i } = e;
|
|
30101
30101
|
if (!i)
|
|
30102
30102
|
throw "name\u306F\u5FC5\u9808\u3067\u3059";
|
|
30103
|
-
if (i in c(
|
|
30103
|
+
if (i in c(wt, Ls))
|
|
30104
30104
|
throw "\u4E00\u3064\u306Ename\uFF08" + i + "\uFF09\u306B\u5BFE\u3057\u3066\u540C\u3058\u753B\u50CF\u3092\u8907\u6570\u5272\u308A\u5F53\u3066\u3089\u308C\u307E\u305B\u3093";
|
|
30105
30105
|
const { fn: n = i } = e;
|
|
30106
|
-
return c(
|
|
30106
|
+
return c(wt, Ls)[i] = {
|
|
30107
30107
|
fn: n,
|
|
30108
30108
|
dx: et(e, "dx", 0),
|
|
30109
30109
|
dy: et(e, "dy", 0),
|
|
@@ -30111,14 +30111,14 @@ const Et = class extends _r {
|
|
|
30111
30111
|
}, !1;
|
|
30112
30112
|
}
|
|
30113
30113
|
static clearFace2Name() {
|
|
30114
|
-
I(
|
|
30114
|
+
I(wt, Ls, {});
|
|
30115
30115
|
}
|
|
30116
30116
|
get containMovement() {
|
|
30117
30117
|
if (c(this, Hn) === "")
|
|
30118
30118
|
return !1;
|
|
30119
30119
|
const e = this.spLay.children;
|
|
30120
30120
|
return c(this, Hn).split(",").some(
|
|
30121
|
-
(i, n) => e[n] instanceof fw ||
|
|
30121
|
+
(i, n) => e[n] instanceof fw || wt.hFn2VElm[i]
|
|
30122
30122
|
);
|
|
30123
30123
|
}
|
|
30124
30124
|
clearLay(e) {
|
|
@@ -30129,7 +30129,7 @@ const Et = class extends _r {
|
|
|
30129
30129
|
}
|
|
30130
30130
|
playback(e, i) {
|
|
30131
30131
|
if (super.playback(e, i), e.sBkFn === "" && e.sBkFace === "") {
|
|
30132
|
-
I(this, Ds, e.sBkFn), I(this, Us, e.sBkFace), c(this,
|
|
30132
|
+
I(this, Ds, e.sBkFn), I(this, Us, e.sBkFace), c(this, un).sethArg(e.idc_hArg);
|
|
30133
30133
|
return;
|
|
30134
30134
|
}
|
|
30135
30135
|
i.push(new Promise((n) => this.laySub(
|
|
@@ -30140,17 +30140,17 @@ const Et = class extends _r {
|
|
|
30140
30140
|
)));
|
|
30141
30141
|
}
|
|
30142
30142
|
makeDesignCast(e) {
|
|
30143
|
-
!this.spLay.visible || e(c(this,
|
|
30143
|
+
!this.spLay.visible || e(c(this, un));
|
|
30144
30144
|
}
|
|
30145
30145
|
cvsResize() {
|
|
30146
30146
|
super.cvsResize();
|
|
30147
30147
|
}
|
|
30148
30148
|
showDesignCast() {
|
|
30149
|
-
c(this,
|
|
30149
|
+
c(this, un).visible = !0;
|
|
30150
30150
|
}
|
|
30151
30151
|
};
|
|
30152
|
-
let Jt =
|
|
30153
|
-
i0 = new WeakMap(), Ls = new WeakMap(), jn = new WeakMap(), qa = new WeakMap(), Za = new WeakMap(),
|
|
30152
|
+
let Jt = wt;
|
|
30153
|
+
i0 = new WeakMap(), Ls = new WeakMap(), jn = new WeakMap(), qa = new WeakMap(), Za = new WeakMap(), on = new WeakMap(), Hc = new WeakMap(), Ja = new WeakMap(), zc = new WeakMap(), $c = new WeakMap(), un = new WeakMap(), Hn = new WeakMap(), Ds = new WeakMap(), Us = new WeakMap(), Vc = new WeakMap(), Xc = new WeakMap(), Wc = new WeakMap(), n0 = new WeakSet(), sS = function(e) {
|
|
30154
30154
|
const i = /([^\d]+)\d+\.(\w+)/.exec(e[0]);
|
|
30155
30155
|
if (!i)
|
|
30156
30156
|
return [];
|
|
@@ -30160,7 +30160,7 @@ i0 = new WeakMap(), Ls = new WeakMap(), jn = new WeakMap(), qa = new WeakMap(),
|
|
|
30160
30160
|
);
|
|
30161
30161
|
}, s0 = new WeakSet(), aS = function(e, i, n) {
|
|
30162
30162
|
var l;
|
|
30163
|
-
if (i.data = e, i.extension === "bin" && (e instanceof HTMLImageElement ? (i.texture = Ct.fromLoader(e, i.url, i.name), i.type = Lt.TYPE.IMAGE, URL.revokeObjectURL(e.src)) : e instanceof HTMLVideoElement && (e.volume = c(
|
|
30163
|
+
if (i.data = e, i.extension === "bin" && (e instanceof HTMLImageElement ? (i.texture = Ct.fromLoader(e, i.url, i.name), i.type = Lt.TYPE.IMAGE, URL.revokeObjectURL(e.src)) : e instanceof HTMLVideoElement && (e.volume = c(wt, Ja), wt.hFn2VElm[i.name] = S(l = wt, Yc, Vy).call(l, e), i.type = Lt.TYPE.VIDEO, URL.revokeObjectURL(e.src))), i.extension !== "json") {
|
|
30164
30164
|
n();
|
|
30165
30165
|
return;
|
|
30166
30166
|
}
|
|
@@ -30173,15 +30173,15 @@ i0 = new WeakMap(), Ls = new WeakMap(), jn = new WeakMap(), qa = new WeakMap(),
|
|
|
30173
30173
|
n();
|
|
30174
30174
|
return;
|
|
30175
30175
|
}
|
|
30176
|
-
const o = Lh(s.image), u = c(
|
|
30176
|
+
const o = Lh(s.image), u = c(wt, qa).searchPath(o, yr.SPRITE);
|
|
30177
30177
|
new ei().use((h, f) => {
|
|
30178
|
-
c(this,
|
|
30178
|
+
c(this, on).dec(h.extension, h.data).then((d) => {
|
|
30179
30179
|
h.data = d, d instanceof HTMLImageElement && (h.type = Lt.TYPE.IMAGE, URL.revokeObjectURL(d.src)), f == null || f();
|
|
30180
30180
|
}).catch((d) => c(this, jn).errScript(`Graphic \u30ED\u30FC\u30C9\u5931\u6557\u3067\u3059 dec2res4Cripto fn:${h.name} ${d}`, !1));
|
|
30181
30181
|
}).add({ name: o, url: u, xhrType: Lt.XHR_RESPONSE_TYPE.BUFFER }).load((h, f) => {
|
|
30182
30182
|
for (const { data: d } of Object.values(h.resources)) {
|
|
30183
30183
|
const { baseTexture: p } = Ct.from(d), v = Object.values(a);
|
|
30184
|
-
|
|
30184
|
+
wt.hFn2ResAniSpr[i.name] = {
|
|
30185
30185
|
aTex: v.map(({ frame: { x: g, y: m, w: _, h: y } }) => new Ct(
|
|
30186
30186
|
p,
|
|
30187
30187
|
new Pt(g, m, _, y)
|
|
@@ -30192,32 +30192,32 @@ i0 = new WeakMap(), Ls = new WeakMap(), jn = new WeakMap(), qa = new WeakMap(),
|
|
|
30192
30192
|
n();
|
|
30193
30193
|
});
|
|
30194
30194
|
}, Yc = new WeakSet(), Vy = function(e) {
|
|
30195
|
-
return c(
|
|
30195
|
+
return c(wt, Hc).getVal("const.sn.needClick2Play") && (jt.trace_beforeNew(`[lay\u7CFB] ${jt.strPos()}\u672A\u30AF\u30EA\u30C3\u30AF\u72B6\u614B\u3067\u52D5\u753B\u3092\u81EA\u52D5\u518D\u751F\u3057\u307E\u3059\u3002\u97F3\u58F0\u306F\u30DF\u30E5\u30FC\u30C8\u3055\u308C\u307E\u3059`, "W"), e.muted = !0), e.setAttribute("playsinline", ""), e;
|
|
30196
30196
|
}, a0 = new WeakSet(), oS = function(e, i) {
|
|
30197
30197
|
var s;
|
|
30198
|
-
const n =
|
|
30198
|
+
const n = wt.hFn2ResAniSpr[e];
|
|
30199
30199
|
if (n) {
|
|
30200
30200
|
const a = new fw(n.aTex);
|
|
30201
30201
|
return a.animationSpeed = (s = n.meta.animationSpeed) != null ? s : 1, a.play(), a;
|
|
30202
30202
|
}
|
|
30203
|
-
return e in
|
|
30204
|
-
}, Zu = new WeakMap(), Ni = new WeakMap(), Ju = new WeakMap(), Ka = new WeakMap(), qc = new WeakMap(), w(Jt, n0), w(Jt, s0), w(Jt, Yc), w(Jt, a0), w(Jt, i0, new Hl()), w(Jt, Ls, {}), w(Jt, jn, void 0), w(Jt, qa, void 0), w(Jt, Za, void 0), w(Jt,
|
|
30203
|
+
return e in Ur ? je.from(e) : e in wt.hFn2VElm ? je.from(wt.hFn2VElm[e]) : e in i ? new je(i[e].texture) : new je();
|
|
30204
|
+
}, Zu = new WeakMap(), Ni = new WeakMap(), Ju = new WeakMap(), Ka = new WeakMap(), qc = new WeakMap(), w(Jt, n0), w(Jt, s0), w(Jt, Yc), w(Jt, a0), w(Jt, i0, new Hl()), w(Jt, Ls, {}), w(Jt, jn, void 0), w(Jt, qa, void 0), w(Jt, Za, void 0), w(Jt, on, void 0), w(Jt, Hc, void 0), w(Jt, Ja, 1), w(Jt, zc, 1), w(Jt, $c, void 0), q(Jt, "hFn2ResAniSpr", {}), w(Jt, Wc, (e, i, n) => {
|
|
30205
30205
|
var s, a;
|
|
30206
30206
|
switch (i.type) {
|
|
30207
30207
|
case Lt.TYPE.JSON:
|
|
30208
30208
|
const o = i.spritesheet._frameKeys;
|
|
30209
|
-
S(s =
|
|
30209
|
+
S(s = wt, n0, sS).call(s, o), wt.hFn2ResAniSpr[i.name] = {
|
|
30210
30210
|
aTex: o.map((l) => Ct.from(l)),
|
|
30211
30211
|
meta: i.data.meta
|
|
30212
30212
|
};
|
|
30213
30213
|
break;
|
|
30214
30214
|
case Lt.TYPE.VIDEO:
|
|
30215
30215
|
const u = i.data;
|
|
30216
|
-
u.volume = c(
|
|
30216
|
+
u.volume = c(wt, Ja), wt.hFn2VElm[i.name] = S(a = wt, Yc, Vy).call(a, u);
|
|
30217
30217
|
}
|
|
30218
30218
|
n();
|
|
30219
30219
|
}), q(Jt, "hFn2VElm", {}), w(Jt, Ka, {}), w(Jt, qc, {});
|
|
30220
|
-
var Ku, Zc, Qa,
|
|
30220
|
+
var Ku, Zc, Qa, re, ln, zn, o0, Yr, Gs, bt, $n, Er, wr, Qu, Ap, Oi, Ai, Jc, tl, u0, uS, to, el, Vn, eo, ro, io, rl, Xn, Kc, Xy, Wn, Qc, Yn, hn, il, tf, Wy, js, no, ef, Yy, li;
|
|
30221
30221
|
const Ot = class extends ve {
|
|
30222
30222
|
constructor(e, i, n) {
|
|
30223
30223
|
super();
|
|
@@ -30226,12 +30226,12 @@ const Ot = class extends ve {
|
|
|
30226
30226
|
w(this, Kc);
|
|
30227
30227
|
w(this, tf);
|
|
30228
30228
|
w(this, ef);
|
|
30229
|
-
w(this,
|
|
30230
|
-
w(this,
|
|
30229
|
+
w(this, re, document.createElement("span"));
|
|
30230
|
+
w(this, ln, new ve());
|
|
30231
30231
|
w(this, zn, new ii());
|
|
30232
|
-
w(this,
|
|
30232
|
+
w(this, Yr, new CU(this.spLay, this));
|
|
30233
30233
|
w(this, Gs, new IU(this));
|
|
30234
|
-
w(this,
|
|
30234
|
+
w(this, bt, {
|
|
30235
30235
|
fontsize: 24,
|
|
30236
30236
|
$width: 0,
|
|
30237
30237
|
$height: 0,
|
|
@@ -30241,10 +30241,10 @@ const Ot = class extends ve {
|
|
|
30241
30241
|
pad_bottom: 0
|
|
30242
30242
|
});
|
|
30243
30243
|
w(this, $n, !1);
|
|
30244
|
-
w(this,
|
|
30245
|
-
w(this,
|
|
30244
|
+
w(this, Er, 0);
|
|
30245
|
+
w(this, wr, 0);
|
|
30246
30246
|
w(this, Oi, 0);
|
|
30247
|
-
w(this,
|
|
30247
|
+
w(this, Ai, !1);
|
|
30248
30248
|
w(this, Jc, 0);
|
|
30249
30249
|
w(this, tl, 0);
|
|
30250
30250
|
w(this, to, void 0);
|
|
@@ -30256,7 +30256,7 @@ const Ot = class extends ve {
|
|
|
30256
30256
|
w(this, js, "Quadratic.Out");
|
|
30257
30257
|
w(this, no, "Quadratic.Out");
|
|
30258
30258
|
w(this, li, void 0);
|
|
30259
|
-
this.spLay = e, this.canFocus = i, this.sys = n, c(this,
|
|
30259
|
+
this.spLay = e, this.canFocus = i, this.sys = n, c(this, re).classList.add("sn_tx"), c(this, re).style.position = "absolute", c(Ot, Zc).view.parentElement.appendChild(c(this, re)), this.addChild(c(this, ln)), this.addChild(c(this, zn)), c(this, zn).name = "grpDbgMasume", c(this, Yr).adopt(c(this, Gs));
|
|
30260
30260
|
}
|
|
30261
30261
|
static init(e, i) {
|
|
30262
30262
|
I(Ot, Ku, e), I(Ot, Zc, i), I(Ot, ro, /[、。,.)]}〉」』】〕”〟ぁぃぅぇぉっゃゅょゎァィゥェォッャュョヮヵヶ!?!?‼⁉・ーゝゞヽヾ々]/), I(Ot, io, /[[({〈「『【〔“〝]/), I(Ot, rl, /[─‥…]/);
|
|
@@ -30269,7 +30269,7 @@ const Ot = class extends ve {
|
|
|
30269
30269
|
}
|
|
30270
30270
|
lay(e) {
|
|
30271
30271
|
var n, s, a, o, u, l, h, f;
|
|
30272
|
-
const i = c(this,
|
|
30272
|
+
const i = c(this, re).style;
|
|
30273
30273
|
if ("style" in e)
|
|
30274
30274
|
if (e.style) {
|
|
30275
30275
|
const d = document.createElement("span");
|
|
@@ -30285,47 +30285,47 @@ const Ot = class extends ve {
|
|
|
30285
30285
|
}
|
|
30286
30286
|
!d.style.opacity && "alpha" in e && (i.opacity = String(this.spLay.alpha));
|
|
30287
30287
|
} else
|
|
30288
|
-
c(this,
|
|
30288
|
+
c(this, re).style.cssText = "";
|
|
30289
30289
|
else
|
|
30290
30290
|
"alpha" in e && (i.opacity = String(this.spLay.alpha));
|
|
30291
|
-
if ("width" in e && (i.width = ((n = e.width) != null ? n : "0") + "px"), "height" in e && (i.height = ((s = e.height) != null ? s : "0") + "px"), "pl" in e && (i.paddingLeft = ((a = e.pl) != null ? a : "0") + "px"), "pr" in e && (i.paddingRight = ((o = e.pr) != null ? o : "0") + "px"), "pt" in e && (i.paddingTop = ((u = e.pt) != null ? u : "0") + "px"), "pb" in e && (i.paddingBottom = ((l = e.pb) != null ? l : "0") + "px"), "kinsoku_sol" in e && I(Ot, ro, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && I(Ot, io, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && I(Ot, rl, new RegExp(`[${e.kinsoku_dns}]`)), S(this, Qu, Ap).call(this), c(this,
|
|
30291
|
+
if ("width" in e && (i.width = ((n = e.width) != null ? n : "0") + "px"), "height" in e && (i.height = ((s = e.height) != null ? s : "0") + "px"), "pl" in e && (i.paddingLeft = ((a = e.pl) != null ? a : "0") + "px"), "pr" in e && (i.paddingRight = ((o = e.pr) != null ? o : "0") + "px"), "pt" in e && (i.paddingTop = ((u = e.pt) != null ? u : "0") + "px"), "pb" in e && (i.paddingBottom = ((l = e.pb) != null ? l : "0") + "px"), "kinsoku_sol" in e && I(Ot, ro, new RegExp(`[${e.kinsoku_sol}]`)), "kinsoku_eol" in e && I(Ot, io, new RegExp(`[${e.kinsoku_eol}]`)), "kinsoku_dns" in e && I(Ot, rl, new RegExp(`[${e.kinsoku_dns}]`)), S(this, Qu, Ap).call(this), c(this, Yr).sethArg(e), I(this, Oi, this.spLay.position.x), i.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), i.display = this.spLay.visible ? "inline" : "none", i.textShadow = (f = (h = e.filter) != null ? h : i.textShadow) != null ? f : "", I(this, $n, vt(e, "break_fixed", c(this, $n))), I(this, Er, et(e, "break_fixed_left", c(this, Er))), I(this, wr, et(e, "break_fixed_top", c(this, wr))), ":redraw" in e && c(this, eo) > 0) {
|
|
30292
30292
|
const d = [
|
|
30293
|
-
c(this,
|
|
30293
|
+
c(this, re).innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
|
|
30294
30294
|
`<span class='sn_ch' data-add='{"ch_in_style":"default"}'>\u3000</span>`
|
|
30295
30295
|
];
|
|
30296
30296
|
S(this, ef, Yy).call(this), this.goTxt(d);
|
|
30297
30297
|
}
|
|
30298
30298
|
}
|
|
30299
30299
|
cvsResize() {
|
|
30300
|
-
const e = c(this,
|
|
30301
|
-
e.left = `${this.sys.ofsLeft4elm + c(this, Oi) * i}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * i}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * i}, ${this.spLay.scale.y * i})`, c(this,
|
|
30300
|
+
const e = c(this, re).style, i = this.sys.cvsScale;
|
|
30301
|
+
e.left = `${this.sys.ofsLeft4elm + c(this, Oi) * i}px`, e.top = `${this.sys.ofsTop4elm + this.spLay.position.y * i}px`, e.transform = `rotate(${this.spLay.angle}deg) scale(${this.spLay.scale.x * i}, ${this.spLay.scale.y * i})`, c(this, Yr).cvsResize(), c(this, Gs).cvsResize();
|
|
30302
30302
|
}
|
|
30303
30303
|
get tategaki() {
|
|
30304
|
-
return c(this,
|
|
30304
|
+
return c(this, Ai);
|
|
30305
30305
|
}
|
|
30306
30306
|
get infTL() {
|
|
30307
|
-
return c(this,
|
|
30307
|
+
return c(this, bt);
|
|
30308
30308
|
}
|
|
30309
30309
|
get getWidth() {
|
|
30310
|
-
return c(this,
|
|
30310
|
+
return c(this, bt).$width;
|
|
30311
30311
|
}
|
|
30312
30312
|
get getHeight() {
|
|
30313
|
-
return c(this,
|
|
30313
|
+
return c(this, bt).$height;
|
|
30314
30314
|
}
|
|
30315
30315
|
setSize(e, i) {
|
|
30316
|
-
c(this,
|
|
30316
|
+
c(this, bt).$width = e, c(this, bt).$height = i, c(this, re).style.width = c(this, bt).$width + "px", c(this, re).style.height = c(this, bt).$height + "px";
|
|
30317
30317
|
}
|
|
30318
30318
|
goTxt(e) {
|
|
30319
30319
|
var y, b, x, T, E, R, C, P, N, F, A;
|
|
30320
30320
|
c(Ot, hn).visible = !1;
|
|
30321
30321
|
const i = c(this, Vn).length;
|
|
30322
|
-
i === 0 ? (c(Ot, Ku).oCfg.debug.masume && (Y.debugLog && console.log(`\u{1F34C} masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${c(this,
|
|
30322
|
+
i === 0 ? (c(Ot, Ku).oCfg.debug.masume && (Y.debugLog && console.log(`\u{1F34C} masume ${this.name} v:${this.visible} l:${this.x} t:${this.y} a:${this.alpha} pl:${c(this, bt).pad_left} pr:${c(this, bt).pad_right} pt:${c(this, bt).pad_top} pb:${c(this, bt).pad_bottom} w:${c(this, bt).$width} h:${c(this, bt).$height}`), c(this, zn).clear().beginFill(3407616, 0.2).lineStyle(1, 3407616, 1).drawRect(-c(this, bt).pad_left, -c(this, bt).pad_top, c(this, bt).$width, c(this, bt).$height).endFill().beginFill(13311, 0.2).lineStyle(2, 13311, 1).drawRect(
|
|
30323
30323
|
0,
|
|
30324
30324
|
0,
|
|
30325
|
-
c(this,
|
|
30326
|
-
c(this,
|
|
30327
|
-
).endFill()), c(this,
|
|
30328
|
-
const n = this.sys.cvsScale, s = c(this,
|
|
30325
|
+
c(this, bt).$width - c(this, bt).pad_left - c(this, bt).pad_right,
|
|
30326
|
+
c(this, bt).$height - c(this, bt).pad_top - c(this, bt).pad_bottom
|
|
30327
|
+
).endFill()), c(this, re).innerHTML = [...e].join("").replaceAll(/[\n\t]/g, "")) : c(this, re).insertAdjacentHTML("beforeend", e.slice(c(this, eo)).join("").replaceAll(/[\n\t]/g, "")), I(this, eo, e.length);
|
|
30328
|
+
const n = this.sys.cvsScale, s = c(this, re).getBoundingClientRect(), a = s.left + c(this, bt).pad_left, o = s.top + c(this, bt).pad_top;
|
|
30329
30329
|
let u;
|
|
30330
30330
|
if (n === 1)
|
|
30331
30331
|
u = (B, j) => new Pt(
|
|
@@ -30345,7 +30345,7 @@ const Ot = class extends ve {
|
|
|
30345
30345
|
}
|
|
30346
30346
|
let l = 0, h = 2, f = !1;
|
|
30347
30347
|
do {
|
|
30348
|
-
const B = I(this, Vn, S(this, tf, Wy).call(this, c(this,
|
|
30348
|
+
const B = I(this, Vn, S(this, tf, Wy).call(this, c(this, re), u));
|
|
30349
30349
|
if (l = B.length, !f && (l < 2 || i === l))
|
|
30350
30350
|
break;
|
|
30351
30351
|
f = !0;
|
|
@@ -30400,7 +30400,7 @@ const Ot = class extends ve {
|
|
|
30400
30400
|
const j = c(this, Vn)[B], L = j.rect, U = JSON.parse((x = j.elm.dataset.arg) != null ? x : '{"delay": 0}'), V = JSON.parse((T = j.elm.dataset.add) != null ? T : "{}"), Q = c(Ot, Wn)[V.ch_in_style];
|
|
30401
30401
|
if (p(j, L), j.elm.dataset.cmd === "grp") {
|
|
30402
30402
|
const G = new ve();
|
|
30403
|
-
c(this,
|
|
30403
|
+
c(this, ln).addChild(G), Jt.csv2Sprites(U.pic, G, (k) => {
|
|
30404
30404
|
S(this, Kc, Xy).call(this, G, U, V, L, v, Q != null ? Q : {}), G.parent || G.removeChild(k);
|
|
30405
30405
|
});
|
|
30406
30406
|
}
|
|
@@ -30411,8 +30411,8 @@ const Ot = class extends ve {
|
|
|
30411
30411
|
S(this, Kc, Xy).call(this, W, k, V, L, v, Q != null ? Q : {});
|
|
30412
30412
|
const tt = (R = k.style) != null ? R : "", lt = tt + ((C = k.style_hover) != null ? C : ""), nt = tt + ((P = k.style_clicked) != null ? P : ""), ht = (N = k.r_style) != null ? N : "", M = ht + ((F = k.r_style_hover) != null ? F : ""), gt = ht + ((A = k.r_style_clicked) != null ? A : ""), st = G.querySelectorAll("rt");
|
|
30413
30413
|
st.forEach((z) => z.dataset.st_r_bk = z.style.cssText);
|
|
30414
|
-
const dt = G.style.cssText, it = (z,
|
|
30415
|
-
G.style.cssText = dt + z, st.forEach((J) => J.style.cssText = J.dataset.st_r_bk +
|
|
30414
|
+
const dt = G.style.cssText, it = (z, Et) => {
|
|
30415
|
+
G.style.cssText = dt + z, st.forEach((J) => J.style.cssText = J.dataset.st_r_bk + Et);
|
|
30416
30416
|
};
|
|
30417
30417
|
c(Ot, Qa).button(
|
|
30418
30418
|
k,
|
|
@@ -30420,15 +30420,16 @@ const Ot = class extends ve {
|
|
|
30420
30420
|
() => it(tt, ht),
|
|
30421
30421
|
() => this.canFocus() ? (it(lt, M), !0) : !1,
|
|
30422
30422
|
() => it(nt, gt)
|
|
30423
|
-
), c(this,
|
|
30423
|
+
), c(this, ln).addChild(W);
|
|
30424
30424
|
}
|
|
30425
30425
|
}
|
|
30426
|
-
const g = c(this,
|
|
30426
|
+
const g = c(this, re).querySelectorAll("span.sn_ch");
|
|
30427
30427
|
if (I(this, Xn, () => (I(this, Xn, () => !1), g.forEach((B) => B.className = B.className.replace(/ go_ch_in_[^\s"]+/g, "")), c(Ot, hn).position.set(
|
|
30428
|
-
c(this,
|
|
30429
|
-
c(this,
|
|
30428
|
+
c(this, Er),
|
|
30429
|
+
c(this, wr)
|
|
30430
30430
|
), c(Ot, hn).visible = !0, c(Ot, Qa).noticeCompTxt(), !0)), g.length === 0) {
|
|
30431
|
-
c(this,
|
|
30431
|
+
const B = globalThis.getComputedStyle(c(this, re)), j = parseFloat(B.fontSize);
|
|
30432
|
+
c(this, Ai) ? (I(this, Er, (c(this, bt).$width - c(this, bt).pad_left - c(this, bt).pad_right - j * 1.5) * this.sys.cvsScale), I(this, wr, 0)) : (I(this, Er, 0), I(this, wr, j / 2 * this.sys.cvsScale)), c(this, Xn).call(this);
|
|
30432
30433
|
return;
|
|
30433
30434
|
}
|
|
30434
30435
|
g.forEach((B) => B.className = B.className.replace(/sn_ch_in_([^\s"]+)/g, "go_ch_in_$1"));
|
|
@@ -30438,9 +30439,9 @@ const Ot = class extends ve {
|
|
|
30438
30439
|
if (j.elm.tagName !== "SPAN")
|
|
30439
30440
|
continue;
|
|
30440
30441
|
const L = j.rect;
|
|
30441
|
-
if (I(this,
|
|
30442
|
+
if (I(this, Er, L.x + (c(this, Ai) ? 0 : L.width)), I(this, wr, L.y + (c(this, Ai) ? L.height : 0)), B !== l) {
|
|
30442
30443
|
const U = c(this, Vn)[l - 1].rect;
|
|
30443
|
-
c(this,
|
|
30444
|
+
c(this, Ai) ? c(this, wr) < U.y + U.height && I(this, wr, U.y + U.height) : c(this, Er) < U.x + U.width && I(this, Er, U.x + U.width);
|
|
30444
30445
|
}
|
|
30445
30446
|
_ = j.elm;
|
|
30446
30447
|
break;
|
|
@@ -30528,62 +30529,62 @@ const Ot = class extends ve {
|
|
|
30528
30529
|
var i;
|
|
30529
30530
|
S(this, ef, Yy).call(this);
|
|
30530
30531
|
const e = new Ot(this.spLay, () => this.canFocus(), this.sys);
|
|
30531
|
-
return I(e,
|
|
30532
|
+
return I(e, bt, c(this, bt)), c(e, re).style.cssText = c(this, re).style.cssText, I(e, Oi, c(this, Oi)), e.name = this.name, S(i = e, Qu, Ap).call(i), c(e, Yr).sethArg(c(this, Yr).gethArg()), I(e, to, c(this, to)), I(e, js, c(this, js)), I(e, no, c(this, no)), I(e, $n, c(this, $n)), I(e, Er, c(this, Er)), I(e, wr, c(this, wr)), this.destroy(), e;
|
|
30532
30533
|
}
|
|
30533
30534
|
record() {
|
|
30534
30535
|
return {
|
|
30535
|
-
infTL: c(this,
|
|
30536
|
-
cssText: c(this,
|
|
30536
|
+
infTL: c(this, bt),
|
|
30537
|
+
cssText: c(this, re).style.cssText,
|
|
30537
30538
|
left: c(this, Oi),
|
|
30538
|
-
idc_hArg: c(this,
|
|
30539
|
+
idc_hArg: c(this, Yr).gethArg(),
|
|
30539
30540
|
ch_filter: c(this, to),
|
|
30540
30541
|
fi_easing: c(this, js),
|
|
30541
30542
|
fo_easing: c(this, no),
|
|
30542
30543
|
break_fixed: c(this, $n),
|
|
30543
|
-
break_fixed_left: c(this,
|
|
30544
|
-
break_fixed_top: c(this,
|
|
30544
|
+
break_fixed_left: c(this, Er),
|
|
30545
|
+
break_fixed_top: c(this, wr)
|
|
30545
30546
|
};
|
|
30546
30547
|
}
|
|
30547
30548
|
playback(e) {
|
|
30548
30549
|
var i, n, s;
|
|
30549
|
-
I(this,
|
|
30550
|
+
I(this, bt, e.infTL), this.position.set(c(this, bt).pad_left, c(this, bt).pad_top), c(this, re).style.cssText = e.cssText, I(this, Oi, e.left), S(this, Qu, Ap).call(this), c(this, Yr).sethArg(e.idc_hArg), I(this, to, e.ch_filter), I(this, js, e.fi_easing), I(this, no, e.fo_easing), I(this, $n, (i = e.break_fixed) != null ? i : !1), I(this, Er, (n = e.break_fixed_left) != null ? n : 0), I(this, wr, (s = e.break_fixed_top) != null ? s : 0);
|
|
30550
30551
|
}
|
|
30551
30552
|
snapshot(e, i) {
|
|
30552
30553
|
S(this, u0, uS).call(this, (n) => {
|
|
30553
|
-
I(this, li, new je(n)), c(this,
|
|
30554
|
+
I(this, li, new je(n)), c(this, Ai) && (c(this, li).x += Y.stageW - (c(this, Oi) + c(this, bt).$width)), c(this, li).y -= c(this, tl), c(this, li).texture.frame = new Pt(0, 0, c(this, bt).$width - c(this, Oi), c(this, bt).$height), c(this, ln).addChild(c(this, li)), e.render(c(this, li), void 0, !1), i();
|
|
30554
30555
|
}, !1);
|
|
30555
30556
|
}
|
|
30556
30557
|
snapshot_end() {
|
|
30557
|
-
c(this, li) && (c(this,
|
|
30558
|
+
c(this, li) && (c(this, ln).removeChild(c(this, li)), I(this, li, void 0));
|
|
30558
30559
|
}
|
|
30559
30560
|
makeDesignCast(e) {
|
|
30560
|
-
e(c(this,
|
|
30561
|
-
const i = c(this,
|
|
30561
|
+
e(c(this, Yr));
|
|
30562
|
+
const i = c(this, Yr).gethArg();
|
|
30562
30563
|
c(this, Gs).sethArg({ ...i, ":id_dc": i[":id_tag"] + "_pad" }), e(c(this, Gs));
|
|
30563
30564
|
}
|
|
30564
30565
|
showDesignCast() {
|
|
30565
|
-
c(this,
|
|
30566
|
+
c(this, Yr).visible = !0, c(this, Gs).visible = !0;
|
|
30566
30567
|
}
|
|
30567
30568
|
dump() {
|
|
30568
|
-
const e = [], i = c(this,
|
|
30569
|
+
const e = [], i = c(this, re).style, n = i.length;
|
|
30569
30570
|
for (let s = 0; s < n; ++s) {
|
|
30570
30571
|
const a = i[s];
|
|
30571
30572
|
e.push(`"${a}":"${i[a].replace(/(["\\])/g, "\\$1")}"`);
|
|
30572
30573
|
}
|
|
30573
|
-
return `"txt":"${c(this,
|
|
30574
|
+
return `"txt":"${c(this, re).textContent.replace(/(["\\])/g, "\\$1")}", "style":{${e.join(",")}}`;
|
|
30574
30575
|
}
|
|
30575
30576
|
destroy() {
|
|
30576
|
-
Ot.delBreak(), c(this,
|
|
30577
|
+
Ot.delBreak(), c(this, re).parentElement.removeChild(c(this, re)), this.removeChild(c(this, ln)), this.removeChild(c(this, zn)), super.destroy();
|
|
30577
30578
|
}
|
|
30578
30579
|
};
|
|
30579
30580
|
let Oe = Ot;
|
|
30580
|
-
Ku = new WeakMap(), Zc = new WeakMap(), Qa = new WeakMap(),
|
|
30581
|
+
Ku = new WeakMap(), Zc = new WeakMap(), Qa = new WeakMap(), re = new WeakMap(), ln = new WeakMap(), zn = new WeakMap(), o0 = new WeakMap(), Yr = new WeakMap(), Gs = new WeakMap(), bt = new WeakMap(), $n = new WeakMap(), Er = new WeakMap(), wr = new WeakMap(), Qu = new WeakSet(), Ap = function() {
|
|
30581
30582
|
var s;
|
|
30582
|
-
const e = c(this,
|
|
30583
|
-
c(this,
|
|
30583
|
+
const e = c(this, re).style, i = parseFloat(e.fontSize || "0");
|
|
30584
|
+
c(this, bt).fontsize = i, c(this, bt).pad_left = parseFloat(e.paddingLeft || "0"), c(this, bt).pad_right = parseFloat(e.paddingRight || "0"), c(this, bt).pad_top = parseFloat(e.paddingTop || "0"), c(this, bt).pad_bottom = parseFloat(e.paddingBottom || "0"), c(this, bt).$width = parseFloat(e.width || "0"), c(this, bt).$height = parseFloat(e.height || "0"), this.position.set(c(this, bt).pad_left, c(this, bt).pad_top), I(this, Ai, e.writingMode === "vertical-rl"), I(this, Jc, 0), I(this, tl, 0);
|
|
30584
30585
|
const n = (s = e.lineHeight) != null ? s : "0";
|
|
30585
|
-
I(this, il, c(this,
|
|
30586
|
-
}, Oi = new WeakMap(),
|
|
30586
|
+
I(this, il, c(this, Ai) ? 0 : (n.slice(-2) === "px" ? parseFloat(n) : i * parseFloat(n) - i) / 2);
|
|
30587
|
+
}, Oi = new WeakMap(), Ai = new WeakMap(), Jc = new WeakMap(), tl = new WeakMap(), u0 = new WeakSet(), uS = function(e, i = !0) {
|
|
30587
30588
|
const n = {
|
|
30588
30589
|
escape: (m) => m.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1"),
|
|
30589
30590
|
mimeType: (m) => {
|
|
@@ -30745,17 +30746,17 @@ Ku = new WeakMap(), Zc = new WeakMap(), Qa = new WeakMap(), se = new WeakMap(),
|
|
|
30745
30746
|
}
|
|
30746
30747
|
}
|
|
30747
30748
|
}
|
|
30748
|
-
Promise.resolve(c(this,
|
|
30749
|
+
Promise.resolve(c(this, re)).then((m) => {
|
|
30749
30750
|
const _ = m.cloneNode(!0);
|
|
30750
|
-
return _.style.padding = "0px", _.style.paddingRight = c(this, Jc) + "px", _.style.paddingTop = c(this, tl) + "px", _.style.left = "0px", _.style.top = "0px", _.style.width = c(this,
|
|
30751
|
+
return _.style.padding = "0px", _.style.paddingRight = c(this, Jc) + "px", _.style.paddingTop = c(this, tl) + "px", _.style.left = "0px", _.style.top = "0px", _.style.width = c(this, bt).$width - c(this, bt).pad_left - c(this, bt).pad_right + "px", _.style.height = c(this, bt).$height - c(this, bt).pad_top - c(this, bt).pad_bottom + "px", c(this, re).hidden = i, _;
|
|
30751
30752
|
}).then(u).then((m) => {
|
|
30752
30753
|
m.setAttribute("xmlns", "http://www.w3.org/1999/xhtml");
|
|
30753
30754
|
const _ = new Image();
|
|
30754
|
-
return _.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${c(this,
|
|
30755
|
+
return _.src = `data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="${c(this, bt).$width}px" height="${c(this, bt).$height}px"><foreignObject x="0" y="0" width="100%" height="100%">${new XMLSerializer().serializeToString(m).replaceAll("#", "%23").replaceAll(`
|
|
30755
30756
|
`, "%0A")}</foreignObject></svg>`, new Promise((y) => _.onload = () => y(_));
|
|
30756
30757
|
}).then((m) => new Promise((_) => setTimeout(() => _(m), 100))).then((m) => {
|
|
30757
30758
|
const _ = document.createElement("canvas");
|
|
30758
|
-
_.width = c(this,
|
|
30759
|
+
_.width = c(this, bt).$width, _.height = c(this, bt).$height, _.getContext("2d").drawImage(m, 0, 0), _.toBlob((y) => {
|
|
30759
30760
|
if (!y)
|
|
30760
30761
|
return;
|
|
30761
30762
|
const b = URL.createObjectURL(y);
|
|
@@ -30798,9 +30799,9 @@ Ku = new WeakMap(), Zc = new WeakMap(), Qa = new WeakMap(), se = new WeakMap(),
|
|
|
30798
30799
|
}, js = new WeakMap(), no = new WeakMap(), ef = new WeakSet(), Yy = function() {
|
|
30799
30800
|
var a;
|
|
30800
30801
|
c(this, zn).clear(), I(this, Vn, []), I(this, eo, 0), this.skipChIn();
|
|
30801
|
-
const e = c(this,
|
|
30802
|
+
const e = c(this, re).cloneNode(!0);
|
|
30802
30803
|
e.textContent = "";
|
|
30803
|
-
const i = c(this,
|
|
30804
|
+
const i = c(this, re);
|
|
30804
30805
|
i.parentElement.insertBefore(e, i);
|
|
30805
30806
|
let n = 0;
|
|
30806
30807
|
i.querySelectorAll("span.sn_ch").forEach((o) => {
|
|
@@ -30821,10 +30822,10 @@ Ku = new WeakMap(), Zc = new WeakMap(), Qa = new WeakMap(), se = new WeakMap(),
|
|
|
30821
30822
|
});
|
|
30822
30823
|
const s = () => {
|
|
30823
30824
|
i.parentElement.removeChild(i);
|
|
30824
|
-
for (const o of c(this,
|
|
30825
|
+
for (const o of c(this, ln).removeChildren())
|
|
30825
30826
|
o instanceof ve && c(Ot, Qa).unButton(o), o.destroy();
|
|
30826
30827
|
};
|
|
30827
|
-
n === 0 ? (c(this,
|
|
30828
|
+
n === 0 ? (c(this, re).textContent = "", s()) : (a = i.lastElementChild) == null || a.addEventListener("animationend", s, { once: !0, passive: !0 }), I(this, re, e);
|
|
30828
30829
|
}, li = new WeakMap(), w(Oe, Ku, void 0), w(Oe, Zc, void 0), w(Oe, Qa, void 0), w(Oe, o0, {
|
|
30829
30830
|
"background-color": 0,
|
|
30830
30831
|
"border-bottom-width": 0,
|
|
@@ -30836,15 +30837,15 @@ Ku = new WeakMap(), Zc = new WeakMap(), Qa = new WeakMap(), se = new WeakMap(),
|
|
|
30836
30837
|
"margin-right": 0,
|
|
30837
30838
|
"margin-top": 0
|
|
30838
30839
|
}), w(Oe, ro, void 0), w(Oe, io, void 0), w(Oe, rl, void 0), w(Oe, Wn, /* @__PURE__ */ Object.create(null)), w(Oe, Qc, /[\s\.,]/), w(Oe, Yn, /* @__PURE__ */ Object.create(null)), w(Oe, hn, new ve());
|
|
30839
|
-
var rf, nf,
|
|
30840
|
+
var rf, nf, Fi, qn, nl, sl, sf, qy, al, ol, af, Zy;
|
|
30840
30841
|
const Pa = class extends ve {
|
|
30841
30842
|
constructor(e, i, n, s) {
|
|
30842
30843
|
var v, g, m, _;
|
|
30843
30844
|
super();
|
|
30844
30845
|
w(this, sf);
|
|
30845
30846
|
w(this, af);
|
|
30846
|
-
q(this, "getBtnBounds", () => c(this,
|
|
30847
|
-
w(this,
|
|
30847
|
+
q(this, "getBtnBounds", () => c(this, Fi));
|
|
30848
|
+
w(this, Fi, new Pt());
|
|
30848
30849
|
w(this, qn, void 0);
|
|
30849
30850
|
w(this, nl, void 0);
|
|
30850
30851
|
w(this, sl, void 0);
|
|
@@ -30865,14 +30866,14 @@ const Pa = class extends ve {
|
|
|
30865
30866
|
width: 0,
|
|
30866
30867
|
height: 0
|
|
30867
30868
|
};
|
|
30868
|
-
this.getBtnBounds = () => (c(this,
|
|
30869
|
+
this.getBtnBounds = () => (c(this, Fi).x = a.x, c(this, Fi).y = a.y, c(this, Fi));
|
|
30869
30870
|
const o = a.enabled = vt(e, "enabled", !0);
|
|
30870
30871
|
if (o && i.button(this.hArg, this, () => this.normal(), () => c(this, al).call(this), () => c(this, ol).call(this)), e.pic) {
|
|
30871
30872
|
a.type = "pic", I(this, qn, new SU(this, e)), Jt.csv2Sprites(
|
|
30872
30873
|
e.pic,
|
|
30873
30874
|
this,
|
|
30874
30875
|
(y) => {
|
|
30875
|
-
S(this, af, Zy).call(this, y, a), c(this,
|
|
30876
|
+
S(this, af, Zy).call(this, y, a), c(this, Fi).width = y.width * a.scale_x, c(this, Fi).height = y.height * a.scale_y;
|
|
30876
30877
|
},
|
|
30877
30878
|
(y) => n
|
|
30878
30879
|
);
|
|
@@ -30912,7 +30913,7 @@ const Pa = class extends ve {
|
|
|
30912
30913
|
(y) => {
|
|
30913
30914
|
_r.setBlendmode(this, e), y && n();
|
|
30914
30915
|
}
|
|
30915
|
-
)), h.name = JSON.stringify(a), this.addChild(h), c(this,
|
|
30916
|
+
)), h.name = JSON.stringify(a), this.addChild(h), c(this, Fi).width = h.width, c(this, Fi).height = h.height, a.width = this.width, a.height = this.height, e.b_pic || _r.setBlendmode(this, e), c(_ = Pa, rf).call(_, this, h), !o) {
|
|
30916
30917
|
f || n();
|
|
30917
30918
|
return;
|
|
30918
30919
|
}
|
|
@@ -30980,8 +30981,8 @@ const Pa = class extends ve {
|
|
|
30980
30981
|
);
|
|
30981
30982
|
}
|
|
30982
30983
|
};
|
|
30983
|
-
let
|
|
30984
|
-
rf = new WeakMap(), nf = new WeakMap(),
|
|
30984
|
+
let Hi = Pa;
|
|
30985
|
+
rf = new WeakMap(), nf = new WeakMap(), Fi = new WeakMap(), qn = new WeakMap(), nl = new WeakMap(), sl = new WeakMap(), sf = new WeakSet(), qy = function(e, i) {
|
|
30985
30986
|
I(this, nl, e), this.setChildIndex(e, 0), e.alpha = i.alpha, e.setTransform(
|
|
30986
30987
|
i.x,
|
|
30987
30988
|
i.y,
|
|
@@ -30998,10 +30999,10 @@ rf = new WeakMap(), nf = new WeakMap(), Ai = new WeakMap(), qn = new WeakMap(),
|
|
|
30998
30999
|
I(this, sl, e), i.alpha = e.alpha = et(this.hArg, "alpha", e.alpha), c(this, qn).setSp(e);
|
|
30999
31000
|
const n = e.width / 3, s = e.height, a = e.texture.baseTexture, o = new Ct(a, new Pt(0, 0, n, s)), u = new Ct(a, new Pt(n, 0, n, s)), l = new Ct(a, new Pt(n * 2, 0, n, s)), h = () => e.texture = o;
|
|
31000
31001
|
h(), this.normal = h, I(this, al, () => this.canFocus() ? (e.texture = l, !0) : !1), I(this, ol, () => e.texture = u), "width" in this.hArg ? (i.width = ri(this.hArg.width), this.scale.x *= i.width / n) : i.width = n, "height" in this.hArg ? (i.height = ri(this.hArg.height), this.scale.y *= i.height / n) : i.height = n, e.name = JSON.stringify(i), c(f = Pa, nf).call(f, this, e, n, s);
|
|
31001
|
-
}, q(
|
|
31002
|
-
}), w(
|
|
31002
|
+
}, q(Hi, "fontFamily", "'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '\u6E38\u30B4\u30B7\u30C3\u30AF Medium', meiryo, sans-serif"), w(Hi, rf, (e, i) => {
|
|
31003
|
+
}), w(Hi, nf, (e, i, n, s) => {
|
|
31003
31004
|
});
|
|
31004
|
-
var ul,
|
|
31005
|
+
var ul, Mi, ll, of, uf, Jy, lf, Ky, hf, so, cf, Zn, ao, l0, lS, Jn, hi, Bi, le, cn, Qt, ff, fn, h0, Or, oo, Ph, uo, hl, lo, Nh, cl, df, Qy, pf, tb, ho, co, fl, vf, dl, Hs, Ar, c0, hS, qr, gf, pl, Fp, Kn, wa, Qn, ki, ci, fi, mf, eb, vl, Mp, _f, rb, fo;
|
|
31005
31006
|
const Ft = class extends _r {
|
|
31006
31007
|
constructor() {
|
|
31007
31008
|
super();
|
|
@@ -31017,13 +31018,13 @@ const Ft = class extends _r {
|
|
|
31017
31018
|
w(this, _f);
|
|
31018
31019
|
w(this, Jn, 0);
|
|
31019
31020
|
w(this, hi, 0);
|
|
31020
|
-
w(this,
|
|
31021
|
+
w(this, Bi, !1);
|
|
31021
31022
|
w(this, le, void 0);
|
|
31022
31023
|
w(this, cn, "");
|
|
31023
31024
|
w(this, Qt, new Oe(this.spLay, () => this.canFocus(), c(Ft, cf)));
|
|
31024
31025
|
w(this, ff, new ea());
|
|
31025
31026
|
w(this, fn, document.createElement("span"));
|
|
31026
|
-
w(this,
|
|
31027
|
+
w(this, Or, new ve());
|
|
31027
31028
|
w(this, uo, "");
|
|
31028
31029
|
w(this, hl, !0);
|
|
31029
31030
|
w(this, cl, "");
|
|
@@ -31033,7 +31034,7 @@ const Ft = class extends _r {
|
|
|
31033
31034
|
w(this, vf, new RegExp("[\u3000]"));
|
|
31034
31035
|
q(this, "isCur", !1);
|
|
31035
31036
|
w(this, Hs, () => "");
|
|
31036
|
-
w(this,
|
|
31037
|
+
w(this, Ar, "");
|
|
31037
31038
|
w(this, qr, !1);
|
|
31038
31039
|
w(this, gf, (e, i) => {
|
|
31039
31040
|
var l, h, f, d, p, v, g, m, _, y, b;
|
|
@@ -31045,10 +31046,10 @@ const Ft = class extends _r {
|
|
|
31045
31046
|
case 1:
|
|
31046
31047
|
if (I(this, qr, !0), e === `
|
|
31047
31048
|
`) {
|
|
31048
|
-
c(this,
|
|
31049
|
+
c(this, ki) ? (I(this, ki, !1), s = "<ruby>\u3000<rt>\u3000</rt></ruby><br/>") : s = "<br/>";
|
|
31049
31050
|
break;
|
|
31050
31051
|
}
|
|
31051
|
-
c(this,
|
|
31052
|
+
c(this, ki) && (I(this, ki, !1), i === "" && (i = "\u3000")), s = S(this, pl, Fp).call(this, e, i, c(this, Ar));
|
|
31052
31053
|
break;
|
|
31053
31054
|
default:
|
|
31054
31055
|
switch (a) {
|
|
@@ -31060,7 +31061,7 @@ const Ft = class extends _r {
|
|
|
31060
31061
|
case "121":
|
|
31061
31062
|
case "even":
|
|
31062
31063
|
case "1ruby":
|
|
31063
|
-
I(this,
|
|
31064
|
+
I(this, ki, !1), I(this, qr, !0), s = S(this, pl, Fp).call(this, e, u, a);
|
|
31064
31065
|
break;
|
|
31065
31066
|
case "gotxt":
|
|
31066
31067
|
S(this, vl, Mp).call(this), this.isCur && c(l = Ft, ll).call(l, c(this, ci).join("").replace(/^<ruby> <rt> <\/rt><\/ruby>(<br\/>)+/, "").replace(/style='(anim\S+ \S+?;\s*)+/g, "style='").replace(/( style=''| data-(add|arg|cmd)='.+?'|\n+|\t+)/g, "").replace(/class='sn_ch .+?'/g, "class='sn_ch'").replaceAll("class='offrec'", "style='display: none;'").replaceAll("`", "\\`")), c(this, qr) ? (c(this, Qt).goTxt(c(this, ci)), I(this, qr, !1), I(this, Qn, 0)) : this.isCur && c(Ft, so).noticeCompTxt();
|
|
@@ -31082,27 +31083,27 @@ const Ft = class extends _r {
|
|
|
31082
31083
|
c(this, Qt).dispBreak(x.pic);
|
|
31083
31084
|
return;
|
|
31084
31085
|
}
|
|
31085
|
-
I(this,
|
|
31086
|
+
I(this, ki, !1), x.delay = c(this, Qn), (f = x.r) != null || (x.r = ""), (d = x.style) != null || (x.style = ""), (p = x.r_style) != null || (x.r_style = "");
|
|
31086
31087
|
const { cl: T, sty: E, lnk: R } = S(this, Kn, wa).call(this, !0, x.wait);
|
|
31087
31088
|
s = `<span${T} style='${E} ${x.style}'><ruby><span data-cmd='grp' data-arg='${JSON.stringify(x)}'${R} style='${E} display: inline;'>\u3000</span><rt${R}${this.mkStyle_r_align(
|
|
31088
31089
|
"\u3000",
|
|
31089
31090
|
x.r,
|
|
31090
|
-
c(this,
|
|
31091
|
+
c(this, Ar),
|
|
31091
31092
|
c(this, fn).style.cssText + ((g = (v = c(this, fi).at(-1)) == null ? void 0 : v.o.r_style) != null ? g : "") + x.r_style
|
|
31092
31093
|
)}>${x.r}</rt></ruby></span>`;
|
|
31093
31094
|
}
|
|
31094
31095
|
break;
|
|
31095
31096
|
case "tcy":
|
|
31096
|
-
I(this,
|
|
31097
|
+
I(this, ki, !1), I(this, qr, !0);
|
|
31097
31098
|
{
|
|
31098
|
-
c(Ft,
|
|
31099
|
+
c(Ft, Mi).doRecLog() && I(this, fo, c(this, fo) + (e + (i ? `\u300A${i}\u300B` : "")));
|
|
31099
31100
|
const { t: x, r: T = "", wait: E = null, style: R = "", r_style: C = "" } = JSON.parse(u), P = Y.isSafari ? T.replaceAll(/[A-Za-z0-9]/g, (B) => String.fromCharCode(B.charCodeAt(0) + 65248)) : T, { cl: N, sty: F, lnk: A } = S(this, Kn, wa).call(this, !0, E);
|
|
31100
31101
|
s = `<span${N} style='${F}${c(this, co).call(this, x)} ${R}'><ruby><span${A} style='${F} display: inline;
|
|
31101
31102
|
text-combine-upright: all;
|
|
31102
31103
|
-webkit-text-combine: horizontal;'>${x}</span><rt${A}${this.mkStyle_r_align(
|
|
31103
31104
|
x,
|
|
31104
31105
|
P,
|
|
31105
|
-
c(this,
|
|
31106
|
+
c(this, Ar),
|
|
31106
31107
|
c(this, fn).style.cssText + ((_ = (m = c(this, fi).at(-1)) == null ? void 0 : m.o.r_style) != null ? _ : "") + C
|
|
31107
31108
|
)}>${P}</rt></ruby></span>`;
|
|
31108
31109
|
}
|
|
@@ -31126,45 +31127,45 @@ text-combine-upright: all;
|
|
|
31126
31127
|
I(this, qr, !0), c(this, ci).push("</span>"), S(this, vl, Mp).call(this);
|
|
31127
31128
|
return;
|
|
31128
31129
|
default:
|
|
31129
|
-
I(this, qr, !0), s = S(this, pl, Fp).call(this, e, i, c(this,
|
|
31130
|
+
I(this, qr, !0), s = S(this, pl, Fp).call(this, e, i, c(this, Ar));
|
|
31130
31131
|
}
|
|
31131
31132
|
break;
|
|
31132
31133
|
}
|
|
31133
31134
|
c(this, ci).push(c(b = Ft, dl).call(b, s));
|
|
31134
31135
|
});
|
|
31135
31136
|
w(this, Qn, 0);
|
|
31136
|
-
w(this,
|
|
31137
|
+
w(this, ki, !0);
|
|
31137
31138
|
w(this, ci, []);
|
|
31138
31139
|
w(this, fi, []);
|
|
31139
31140
|
q(this, "click", () => !this.spLay.interactiveChildren || !this.spLay.visible ? !1 : c(this, Qt).skipChIn());
|
|
31140
31141
|
w(this, fo, "");
|
|
31141
31142
|
q(this, "addButton", (e) => new Promise((i) => {
|
|
31142
|
-
e.key = `btn=[${c(this,
|
|
31143
|
-
const n = new
|
|
31144
|
-
n.name = JSON.stringify(e).replaceAll('"', "'"), c(this,
|
|
31143
|
+
e.key = `btn=[${c(this, Or).children.length}] ` + this.name_, e[":id_tag"] = e.key.slice(0, -7), vt(e, "hint_tate", c(this, Qt).tategaki);
|
|
31144
|
+
const n = new Hi(e, c(Ft, so), () => i(), () => this.canFocus());
|
|
31145
|
+
n.name = JSON.stringify(e).replaceAll('"', "'"), c(this, Or).addChild(n);
|
|
31145
31146
|
}));
|
|
31146
31147
|
q(this, "record", () => ({
|
|
31147
31148
|
...super.record(),
|
|
31148
31149
|
enabled: this.enabled,
|
|
31149
31150
|
r_cssText: c(this, fn).style.cssText,
|
|
31150
|
-
r_align: c(this,
|
|
31151
|
+
r_align: c(this, Ar),
|
|
31151
31152
|
b_do: c(this, le) === void 0 ? void 0 : c(this, le) instanceof je ? "Sprite" : "Graphics",
|
|
31152
31153
|
b_pic: c(this, cn),
|
|
31153
31154
|
b_color: c(this, Jn),
|
|
31154
31155
|
b_alpha: c(this, hi),
|
|
31155
|
-
b_alpha_isfixed: c(this,
|
|
31156
|
+
b_alpha_isfixed: c(this, Bi),
|
|
31156
31157
|
ffs: c(this, ho),
|
|
31157
31158
|
txs: c(this, Qt).record(),
|
|
31158
31159
|
strNoFFS: c(this, fl),
|
|
31159
|
-
btns: c(this,
|
|
31160
|
+
btns: c(this, Or).children.map((e) => e.name)
|
|
31160
31161
|
}));
|
|
31161
|
-
this.spLay.addChild(c(this, Qt)), c(this, ff).init(c(this, gf)), this.spLay.addChild(c(this,
|
|
31162
|
+
this.spLay.addChild(c(this, Qt)), c(this, ff).init(c(this, gf)), this.spLay.addChild(c(this, Or)), c(this, Or).name = "cntBtn";
|
|
31162
31163
|
const e = 16;
|
|
31163
31164
|
this.lay({ style: `width: ${Y.stageW}px; height: ${Y.stageH}px; font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '\u6E38\u30B4\u30B7\u30C3\u30AF Medium', meiryo, sans-serif; color: white; font-size: 24px; line-height: 1.5; padding: ${e}px;`, in_style: "default", out_style: "default", back_clear: "true" });
|
|
31164
31165
|
}
|
|
31165
31166
|
static init(e, i, n, s, a, o) {
|
|
31166
31167
|
var u, l;
|
|
31167
|
-
I(Ft, ul, e), Oe.init(e, o), I(Ft,
|
|
31168
|
+
I(Ft, ul, e), Oe.init(e, o), I(Ft, Mi, n), I(Ft, ll, s), I(Ft, of, a), n.setDoRecProc(Ft.chgDoRec), i.autowc = (h) => {
|
|
31168
31169
|
var f;
|
|
31169
31170
|
return S(f = Ft, l0, lS).call(f, h);
|
|
31170
31171
|
}, i.autowc({ enabled: !1, text: "", time: 0 }), i.ch_in_style = (h) => {
|
|
@@ -31234,12 +31235,12 @@ text-combine-upright: all;
|
|
|
31234
31235
|
c(this, Qt).cvsResize();
|
|
31235
31236
|
}
|
|
31236
31237
|
cvsResizeChildren() {
|
|
31237
|
-
for (const e of c(this,
|
|
31238
|
+
for (const e of c(this, Or).children)
|
|
31238
31239
|
e.cvsResize();
|
|
31239
31240
|
}
|
|
31240
31241
|
lay(e) {
|
|
31241
31242
|
var i;
|
|
31242
|
-
if (super.lay(e), _r.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), ea.setting(e), S(this, pf, tb).call(this, e), c(this, Qt).lay(e), "r_align" in e && I(this,
|
|
31243
|
+
if (super.lay(e), _r.setXY(this.spLay, e, this.spLay), e[":id_tag"] = this.name_.slice(0, -7), ea.setting(e), S(this, pf, tb).call(this, e), c(this, Qt).lay(e), "r_align" in e && I(this, Ar, (i = e.r_align) != null ? i : ""), I(this, Hs, Y.isSafari ? c(this, Qt).tategaki ? (n, s) => `text-align: start; height: ${s}em; padding-top: ${n}; padding-bottom: ${n};` : (n, s) => `text-align: start; width: ${s}em; padding-left: ${n}; padding-right: ${n};` : c(this, Qt).tategaki ? (n) => `text-align: justify; text-align-last: justify; padding-top: ${n}; padding-bottom: ${n};` : (n) => `text-align: justify; text-align-last: justify; padding-left: ${n}; padding-right: ${n};`), Y.isFirefox && (this.mkStyle_r_align = S(this, c0, hS)), "r_style" in e)
|
|
31243
31244
|
if (e.r_style) {
|
|
31244
31245
|
const n = document.createElement("span");
|
|
31245
31246
|
n.style.cssText = e.r_style;
|
|
@@ -31255,7 +31256,7 @@ text-combine-upright: all;
|
|
|
31255
31256
|
} else
|
|
31256
31257
|
c(this, fn).style.cssText = "";
|
|
31257
31258
|
if ("alpha" in e)
|
|
31258
|
-
for (const n of c(this,
|
|
31259
|
+
for (const n of c(this, Or).children)
|
|
31259
31260
|
n.alpha = this.spLay.alpha;
|
|
31260
31261
|
return S(this, oo, Ph).call(this, e), S(this, lo, Nh).call(this, e), S(this, df, Qy).call(this, e, (n) => {
|
|
31261
31262
|
n && c(Ft, hf).resume();
|
|
@@ -31268,7 +31269,7 @@ text-combine-upright: all;
|
|
|
31268
31269
|
return c(this, Qt).getHeight;
|
|
31269
31270
|
}
|
|
31270
31271
|
chgBackAlpha(e) {
|
|
31271
|
-
const i = c(this,
|
|
31272
|
+
const i = c(this, Bi) ? c(this, hi) : e * c(this, hi);
|
|
31272
31273
|
c(this, le) instanceof ii && (c(this, le) && (this.spLay.removeChild(c(this, le)), c(this, le).destroy()), this.spLay.addChildAt(
|
|
31273
31274
|
I(this, le, new ii()).beginFill(c(this, Jn)).lineStyle(void 0).drawRect(0, 0, c(this, Qt).getWidth, c(this, Qt).getHeight).endFill(),
|
|
31274
31275
|
0
|
|
@@ -31307,7 +31308,7 @@ text-combine-upright: all;
|
|
|
31307
31308
|
}
|
|
31308
31309
|
clearText() {
|
|
31309
31310
|
var e;
|
|
31310
|
-
this.spLay.addChild(I(this, Qt, c(this, Qt).reNew())), I(this, Qn, 0), I(this,
|
|
31311
|
+
this.spLay.addChild(I(this, Qt, c(this, Qt).reNew())), I(this, Qn, 0), I(this, ki, !0), I(this, ci, []), I(this, fo, ""), c(e = Ft, ll).call(e, "", !0);
|
|
31311
31312
|
}
|
|
31312
31313
|
get pageText() {
|
|
31313
31314
|
return c(this, fo).replace("\u300A\u3000\u300B", "");
|
|
@@ -31324,11 +31325,11 @@ text-combine-upright: all;
|
|
|
31324
31325
|
}
|
|
31325
31326
|
clearLay(e) {
|
|
31326
31327
|
super.clearLay(e), this.clearText();
|
|
31327
|
-
for (const i of c(this,
|
|
31328
|
+
for (const i of c(this, Or).removeChildren())
|
|
31328
31329
|
i.destroy();
|
|
31329
31330
|
}
|
|
31330
31331
|
playback(e, i) {
|
|
31331
|
-
super.playback(e, i), this.enabled = e.enabled, c(this, fn).style.cssText = e.r_cssText, I(this,
|
|
31332
|
+
super.playback(e, i), this.enabled = e.enabled, c(this, fn).style.cssText = e.r_cssText, I(this, Ar, e.r_align), this.cvsResize(), S(this, pf, tb).call(this, e), c(this, Qt).playback(e.txs), I(this, hi, e.b_alpha), I(this, Bi, e.b_alpha_isfixed), i.push(new Promise((s) => {
|
|
31332
31333
|
const a = e.b_do ? e.b_do === "Sprite" ? { b_pic: e.b_pic } : { b_color: e.b_color } : { b_pic: "" };
|
|
31333
31334
|
a.b_alpha = e.b_alpha, a.b_alpha_isfixed = e.b_alpha_isfixed, S(this, df, Qy).call(this, a, (o) => {
|
|
31334
31335
|
o && s();
|
|
@@ -31348,25 +31349,25 @@ text-combine-upright: all;
|
|
|
31348
31349
|
}
|
|
31349
31350
|
makeDesignCastChildren(e) {
|
|
31350
31351
|
if (!!this.spLay.visible)
|
|
31351
|
-
for (const i of c(this,
|
|
31352
|
+
for (const i of c(this, Or).children)
|
|
31352
31353
|
i.makeDesignCast(e);
|
|
31353
31354
|
}
|
|
31354
31355
|
showDesignCast() {
|
|
31355
31356
|
c(this, Qt).showDesignCast();
|
|
31356
31357
|
}
|
|
31357
31358
|
showDesignCastChildren() {
|
|
31358
|
-
for (const e of c(this,
|
|
31359
|
+
for (const e of c(this, Or).children)
|
|
31359
31360
|
e.showDesignCast();
|
|
31360
31361
|
}
|
|
31361
31362
|
dump() {
|
|
31362
|
-
return c(this, gf).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${c(this, Qt).dump()}, "b_pic":"${c(this, cn)}", "b_color":"${c(this, Jn)}", "b_alpha":${c(this, hi)}, "b_alpha_isfixed":"${c(this,
|
|
31363
|
+
return c(this, gf).call(this, "", "gotxt\uFF5C"), super.dump() + `, "enabled":"${this.enabled}", ${c(this, Qt).dump()}, "b_pic":"${c(this, cn)}", "b_color":"${c(this, Jn)}", "b_alpha":${c(this, hi)}, "b_alpha_isfixed":"${c(this, Bi)}", "width":${c(this, Qt).getWidth}, "height":${c(this, Qt).getHeight}, "pixi_obj":[${this.spLay.children.map((e) => `{"class":"${e instanceof je ? "Sprite" : e instanceof ii ? "Graphics" : e instanceof ve ? "Container" : "?"}", "name":"${e.name}", "alpha":${e.alpha}, "x":${e.x}, "y":${e.y}, "visible":"${e.visible}"}`).join(",")}], "button":[${c(this, Or).children.map((e) => {
|
|
31363
31364
|
var i;
|
|
31364
31365
|
return (i = e.children[0].name) != null ? i : "{}";
|
|
31365
31366
|
}).join(",")}]`;
|
|
31366
31367
|
}
|
|
31367
31368
|
};
|
|
31368
31369
|
let Ee = Ft;
|
|
31369
|
-
ul = new WeakMap(),
|
|
31370
|
+
ul = new WeakMap(), Mi = new WeakMap(), ll = new WeakMap(), of = new WeakMap(), uf = new WeakSet(), Jy = function(e) {
|
|
31370
31371
|
const i = Oe.ch_in_style(e), n = i.x.charAt(0) === "=" ? `${i.nx * 100}%` : `${i.nx}px`, s = i.y.charAt(0) === "=" ? `${i.ny * 100}%` : `${i.ny}px`, { name: a } = e;
|
|
31371
31372
|
return Su(`
|
|
31372
31373
|
.sn_ch_in_${a} {
|
|
@@ -31399,20 +31400,20 @@ ul = new WeakMap(), Fi = new WeakMap(), ll = new WeakMap(), of = new WeakMap(),
|
|
|
31399
31400
|
}
|
|
31400
31401
|
`), !1;
|
|
31401
31402
|
}, hf = new WeakMap(), so = new WeakMap(), cf = new WeakMap(), Zn = new WeakMap(), ao = new WeakMap(), l0 = new WeakSet(), lS = function(e) {
|
|
31402
|
-
I(Ft, Zn, vt(e, "enabled", c(Ft, Zn))), c(Ft,
|
|
31403
|
+
I(Ft, Zn, vt(e, "enabled", c(Ft, Zn))), c(Ft, Mi).setVal_Nochk("save", "const.sn.autowc.enabled", c(Ft, Zn));
|
|
31403
31404
|
const { text: i } = e;
|
|
31404
31405
|
if ("text" in e != "time" in e)
|
|
31405
31406
|
throw "[autowc] text\u3068time\u306F\u540C\u6642\u6307\u5B9A\u5FC5\u9808\u3067\u3059";
|
|
31406
|
-
if (c(Ft,
|
|
31407
|
-
return c(Ft,
|
|
31407
|
+
if (c(Ft, Mi).setVal_Nochk("save", "const.sn.autowc.text", i), !i)
|
|
31408
|
+
return c(Ft, Mi).setVal_Nochk("save", "const.sn.autowc.time", ""), !1;
|
|
31408
31409
|
const n = i.length;
|
|
31409
31410
|
if (c(Ft, Zn) && n === 0)
|
|
31410
31411
|
throw '[autowc] enabled === false \u304B\u3064 text === "" \u306F\u8A31\u3055\u308C\u307E\u305B\u3093';
|
|
31411
31412
|
const s = String(e.time).split(",");
|
|
31412
31413
|
if (s.length !== n)
|
|
31413
31414
|
throw "[autowc] text\u6587\u5B57\u6570\u3068time\u306B\u8A18\u8FF0\u3055\u308C\u305F\u5F85\u3061\u6642\u9593\uFF08\u30B3\u30F3\u30DE\u533A\u5207\u308A\uFF09\u306F\u540C\u6570\u306B\u3057\u3066\u4E0B\u3055\u3044";
|
|
31414
|
-
return I(Ft, ao, {}), s.forEach((a, o) => c(Ft, ao)[i[o]] = ri(a)), c(Ft,
|
|
31415
|
-
}, Jn = new WeakMap(), hi = new WeakMap(),
|
|
31415
|
+
return I(Ft, ao, {}), s.forEach((a, o) => c(Ft, ao)[i[o]] = ri(a)), c(Ft, Mi).setVal_Nochk("save", "const.sn.autowc.time", e.time), !1;
|
|
31416
|
+
}, Jn = new WeakMap(), hi = new WeakMap(), Bi = new WeakMap(), le = new WeakMap(), cn = new WeakMap(), Qt = new WeakMap(), ff = new WeakMap(), fn = new WeakMap(), h0 = new WeakMap(), Or = new WeakMap(), oo = new WeakSet(), Ph = function(e) {
|
|
31416
31417
|
const { in_style: i } = e;
|
|
31417
31418
|
if (!i)
|
|
31418
31419
|
return;
|
|
@@ -31429,9 +31430,9 @@ ul = new WeakMap(), Fi = new WeakMap(), ll = new WeakMap(), of = new WeakMap(),
|
|
|
31429
31430
|
I(this, cl, i);
|
|
31430
31431
|
}, cl = new WeakMap(), df = new WeakSet(), Qy = function(e, i) {
|
|
31431
31432
|
if ("back_clear" in e)
|
|
31432
|
-
return vt(e, "back_clear", !1) && (I(this, Jn, 0), I(this, hi, 0), I(this,
|
|
31433
|
-
I(this, hi, et(e, "b_alpha", c(this, hi))), I(this,
|
|
31434
|
-
const n = (c(this,
|
|
31433
|
+
return vt(e, "back_clear", !1) && (I(this, Jn, 0), I(this, hi, 0), I(this, Bi, !1), I(this, cn, "")), i(!1), !1;
|
|
31434
|
+
I(this, hi, et(e, "b_alpha", c(this, hi))), I(this, Bi, vt(e, "b_alpha_isfixed", c(this, Bi)));
|
|
31435
|
+
const n = (c(this, Bi) ? 1 : Number(c(Ft, Mi).getVal("sys:TextLayer.Back.Alpha"))) * c(this, hi);
|
|
31435
31436
|
if (e.b_pic) {
|
|
31436
31437
|
if (c(this, cn) !== e.b_pic)
|
|
31437
31438
|
return I(this, cn, e.b_pic), c(this, le) && (this.spLay.removeChild(c(this, le)), c(this, le).destroy()), Jt.csv2Sprites(c(this, cn), this.spLay, (s) => {
|
|
@@ -31446,7 +31447,7 @@ ul = new WeakMap(), Fi = new WeakMap(), ll = new WeakMap(), of = new WeakMap(),
|
|
|
31446
31447
|
}, pf = new WeakSet(), tb = function(e) {
|
|
31447
31448
|
var i, n;
|
|
31448
31449
|
"noffs" in e && (I(this, fl, (i = e.noffs) != null ? i : ""), I(this, vf, new RegExp(`[\u3000${c(this, fl)}]`))), "ffs" in e && ((n = c(this, ho)) != null || I(this, ho, ""), I(this, co, c(this, ho) === "" ? () => "" : (s) => c(this, vf).test(s) ? "" : ` font-feature-settings: ${c(this, ho)};`));
|
|
31449
|
-
}, ho = new WeakMap(), co = new WeakMap(), fl = new WeakMap(), vf = new WeakMap(), dl = new WeakMap(), Hs = new WeakMap(),
|
|
31450
|
+
}, ho = new WeakMap(), co = new WeakMap(), fl = new WeakMap(), vf = new WeakMap(), dl = new WeakMap(), Hs = new WeakMap(), Ar = new WeakMap(), c0 = new WeakSet(), hS = function(e, i, n, s = "") {
|
|
31450
31451
|
if (!n)
|
|
31451
31452
|
return ` style='${s}'`;
|
|
31452
31453
|
const a = e.length * 2;
|
|
@@ -31483,7 +31484,7 @@ ul = new WeakMap(), Fi = new WeakMap(), ll = new WeakMap(), of = new WeakMap(),
|
|
|
31483
31484
|
}, qr = new WeakMap(), gf = new WeakMap(), pl = new WeakSet(), Fp = function(e, i, n) {
|
|
31484
31485
|
var l, h;
|
|
31485
31486
|
const s = e === " " ? " " : e;
|
|
31486
|
-
c(Ft,
|
|
31487
|
+
c(Ft, Mi).doRecLog() && I(this, fo, c(this, fo) + (s + (i ? `\u300A${i}\u300B` : "")));
|
|
31487
31488
|
const { cl: a, sty: o, lnk: u } = S(this, Kn, wa).call(this, !0, null, e);
|
|
31488
31489
|
return i ? `<span${a} style='${o} ${c(this, co).call(this, e)}'><ruby>${Array.from(e).map((f, d) => `<span${a}${u} style='${d > 0 ? S(this, Kn, wa).call(this, !0, null, e).sty : o} display: inline;'>${f === " " ? " " : f}</span>`).join("")}<rt${u}${this.mkStyle_r_align(
|
|
31489
31490
|
e,
|
|
@@ -31503,24 +31504,24 @@ ul = new WeakMap(), Fi = new WeakMap(), ll = new WeakMap(), of = new WeakMap(),
|
|
|
31503
31504
|
lnk: ((p = (d = c(this, fi).at(0)) == null ? void 0 : d.o[":link"]) != null ? p : "") + " " + a,
|
|
31504
31505
|
curpos: a
|
|
31505
31506
|
};
|
|
31506
|
-
}, Qn = new WeakMap(),
|
|
31507
|
+
}, Qn = new WeakMap(), ki = new WeakMap(), ci = new WeakMap(), fi = new WeakMap(), mf = new WeakSet(), eb = function(e) {
|
|
31507
31508
|
c(this, fi).push({
|
|
31508
31509
|
o: e,
|
|
31509
|
-
r_align: c(this,
|
|
31510
|
+
r_align: c(this, Ar),
|
|
31510
31511
|
ch_in_style: c(this, uo),
|
|
31511
31512
|
ch_out_style: c(this, cl)
|
|
31512
|
-
}), "r_align" in e && I(this,
|
|
31513
|
+
}), "r_align" in e && I(this, Ar, e.r_align), S(this, oo, Ph).call(this, e), S(this, lo, Nh).call(this, e);
|
|
31513
31514
|
}, vl = new WeakSet(), Mp = function() {
|
|
31514
31515
|
const e = c(this, fi).pop();
|
|
31515
|
-
!e || (I(this,
|
|
31516
|
+
!e || (I(this, Ar, e.r_align), S(this, oo, Ph).call(this, { in_style: e.ch_in_style }), S(this, lo, Nh).call(this, { out_style: e.ch_out_style }));
|
|
31516
31517
|
}, _f = new WeakSet(), rb = function(e) {
|
|
31517
31518
|
const i = c(this, fi).at(-1);
|
|
31518
31519
|
if (!i) {
|
|
31519
31520
|
S(this, mf, eb).call(this, e);
|
|
31520
31521
|
return;
|
|
31521
31522
|
}
|
|
31522
|
-
i.o = { ...i.o, ...e }, !e.style && !e.r_style && (i.o.style = "", i.o.r_style = ""), "r_align" in e && I(this,
|
|
31523
|
-
}, fo = new WeakMap(), w(Ee, uf), w(Ee, lf), w(Ee, l0), w(Ee, ul, void 0), w(Ee,
|
|
31523
|
+
i.o = { ...i.o, ...e }, !e.style && !e.r_style && (i.o.style = "", i.o.r_style = ""), "r_align" in e && I(this, Ar, e.r_align), S(this, oo, Ph).call(this, e), S(this, lo, Nh).call(this, e);
|
|
31524
|
+
}, fo = new WeakMap(), w(Ee, uf), w(Ee, lf), w(Ee, l0), w(Ee, ul, void 0), w(Ee, Mi, void 0), w(Ee, ll, void 0), w(Ee, of, void 0), w(Ee, hf, void 0), w(Ee, so, void 0), w(Ee, cf, void 0), w(Ee, Zn, !1), w(Ee, ao, {}), w(Ee, h0, {
|
|
31524
31525
|
"text-align": 0,
|
|
31525
31526
|
"text-align-last": 0,
|
|
31526
31527
|
height: 0,
|
|
@@ -31726,7 +31727,7 @@ ${t.id}`, g = new ra(s).to(o, et(t, "time", NaN) * (Boolean(this.val.getVal("tmp
|
|
|
31726
31727
|
g.start();
|
|
31727
31728
|
return this.hTwInf[v] = { tw: g, resume: !1 }, !1;
|
|
31728
31729
|
};
|
|
31729
|
-
var
|
|
31730
|
+
var Li, te, Te, zs, vo, yl, bf, xf, Ef, bl, wf, ib, $s, dn, m0, gS, Fr, _0, mS, y0, _S, b0, yS, Xt, pn, vn, Tf, x0, bS, xl, kp, E0, xS, w0, Cf, T0, go, mo, ts, Xe, _o, C0, ES, We, Tr, Vr, I0, wS, R0, TS, S0, CS, yo, Oh, P0, IS, Zr, N0, RS, O0, SS, A0, PS, F0, NS, M0, OS, Vs, El, Lp, Jr, B0, AS, If, k0, FS, gn, bo, Xs, gu, mn, _n, L0, MS, D0, BS, U0, kS, G0, LS, j0, DS, H0, US, z0, GS, $0, jS, V0, HS, X0, zS, W0, $S, Y0, VS, q0, XS, Z0, WS, J0, YS;
|
|
31730
31731
|
const Na = class {
|
|
31731
31732
|
constructor(t, e, i, n, s, a, o, u, l, h) {
|
|
31732
31733
|
w(this, wf);
|
|
@@ -31738,7 +31739,7 @@ const Na = class {
|
|
|
31738
31739
|
w(this, xl);
|
|
31739
31740
|
w(this, E0);
|
|
31740
31741
|
w(this, C0);
|
|
31741
|
-
w(this,
|
|
31742
|
+
w(this, Tr);
|
|
31742
31743
|
w(this, I0);
|
|
31743
31744
|
w(this, R0);
|
|
31744
31745
|
w(this, S0);
|
|
@@ -31768,7 +31769,7 @@ const Na = class {
|
|
|
31768
31769
|
w(this, q0);
|
|
31769
31770
|
w(this, Z0);
|
|
31770
31771
|
w(this, J0);
|
|
31771
|
-
w(this,
|
|
31772
|
+
w(this, Li, void 0);
|
|
31772
31773
|
w(this, te, new ve());
|
|
31773
31774
|
w(this, Te, new ve());
|
|
31774
31775
|
w(this, zs, void 0);
|
|
@@ -31795,7 +31796,7 @@ const Na = class {
|
|
|
31795
31796
|
q(this, "getFrmDisabled", (t) => c(this, zs).getFrmDisabled(t));
|
|
31796
31797
|
w(this, $s, void 0);
|
|
31797
31798
|
w(this, dn, void 0);
|
|
31798
|
-
w(this,
|
|
31799
|
+
w(this, Fr, (t, e = this.currentTxtlayForeNeedErr, i = !0) => e.tagCh("\uFF5C\u3000\u300A" + t + "\u300B"));
|
|
31799
31800
|
q(this, "goTxt", () => {
|
|
31800
31801
|
});
|
|
31801
31802
|
q(this, "breakLine", () => {
|
|
@@ -31842,7 +31843,7 @@ void main(void) {
|
|
|
31842
31843
|
vague: 0,
|
|
31843
31844
|
tick: 0
|
|
31844
31845
|
});
|
|
31845
|
-
w(this, T0, new
|
|
31846
|
+
w(this, T0, new Yi(void 0, c(this, w0), c(this, Cf)));
|
|
31846
31847
|
w(this, go, gi.create({
|
|
31847
31848
|
width: Y.stageW,
|
|
31848
31849
|
height: Y.stageH
|
|
@@ -31888,15 +31889,15 @@ void main(void) {
|
|
|
31888
31889
|
}, 1e3 / 60 * 10));
|
|
31889
31890
|
}, { passive: !0 });
|
|
31890
31891
|
}
|
|
31891
|
-
o.cvsResize(), Ee.init(t, e, n, (g) => this.recText(g), (g) => c(this, Xt)[g.layname].fore === g, i), Jt.init(s, t, i, o, u, n),
|
|
31892
|
+
o.cvsResize(), Ee.init(t, e, n, (g) => this.recText(g), (g) => c(this, Xt)[g.layname].fore === g, i), Jt.init(s, t, i, o, u, n), Hi.init(t), I(this, zs, new PU(this.cfg, this.hTag, this.appPixi, this.val, s, this.sys, c(this, Zr))), o.hFactoryCls.grp = () => new Jt(), o.hFactoryCls.txt = () => new Ee(), e.loadplugin = (g) => S(this, y0, _S).call(this, g), e.snapshot = (g) => S(this, _0, mS).call(this, g), e.add_lay = (g) => S(this, b0, yS).call(this, g), e.clear_lay = (g) => S(this, E0, xS).call(this, g), e.finish_trans = () => S(this, yo, Oh).call(this), e.lay = (g) => S(this, x0, bS).call(this, g), e.trans = (g) => S(this, C0, ES).call(this, g), e.wt = (g) => S(this, S0, CS).call(this, g), e.quake = (g) => S(this, P0, IS).call(this, g), e.stop_quake = (g) => e.finish_trans(g), e.wq = (g) => e.wt(g), e.pause_tsy = (g) => S(this, F0, NS).call(this, g), e.resume_tsy = (g) => S(this, M0, OS).call(this, g), e.stop_tsy = (g) => S(this, A0, PS).call(this, g), e.tsy = (g) => S(this, N0, RS).call(this, g), e.wait_tsy = (g) => S(this, O0, SS).call(this, g), e.ch = (g) => S(this, El, Lp).call(this, g), e.clear_text = (g) => S(this, L0, MS).call(this, g), e.current = (g) => c(this, If).call(this, g), e.endlink = (g) => S(this, D0, BS).call(this, g), e.er = (g) => S(this, U0, kS).call(this, g), e.graph = (g) => S(this, G0, LS).call(this, g), e.link = (g) => S(this, j0, DS).call(this, g), e.r = (g) => S(this, H0, US).call(this, g), e.rec_ch = (g) => S(this, $0, jS).call(this, g), e.rec_r = () => S(this, z0, GS).call(this), e.reset_rec = (g) => S(this, V0, HS).call(this, g), e.ruby2 = (g) => S(this, X0, zS).call(this, g), e.span = (g) => S(this, W0, $S).call(this, g), e.tcy = (g) => S(this, Y0, VS).call(this, g), e.add_face = (g) => Jt.add_face(g), e.wv = (g) => Jt.wv(g), e.dump_lay = (g) => S(this, q0, XS).call(this, g), e.enable_event = (g) => S(this, Z0, WS).call(this, g), e.button = (g) => S(this, J0, YS).call(this, g), t.existsBreakline && (this.breakLine = () => c(this, Fr).call(this, 'grp\uFF5C{"id":"break","pic":"breakline"}')), t.existsBreakpage && (this.breakPage = () => c(this, Fr).call(this, 'grp\uFF5C{"id":"break","pic":"breakpage"}')), I(this, vo, Eb(String(t.oCfg.init.bg_color)));
|
|
31892
31893
|
const d = new ii();
|
|
31893
|
-
d.beginFill(c(this, vo), 1).lineStyle(0, c(this, vo)).drawRect(0, 0, Y.stageW, Y.stageH).endFill(), c(this, te).addChild(d.clone()), c(this, Te).addChild(d), c(this, Te).visible = !1, I(this,
|
|
31894
|
+
d.beginFill(c(this, vo), 1).lineStyle(0, c(this, vo)).drawRect(0, 0, Y.stageW, Y.stageH).endFill(), c(this, te).addChild(d.clone()), c(this, Te).addChild(d), c(this, Te).visible = !1, I(this, Li, this.appPixi.stage), c(this, Li).addChild(c(this, Te)), c(this, Li).addChild(c(this, te)), c(this, Li).addChild(c(this, mo)), c(this, Li).addChild(c(this, Xe)), this.appPixi.ticker.add(c(this, bf));
|
|
31894
31895
|
const p = (g, m) => {
|
|
31895
31896
|
S(this, m0, gS).call(this, Number(m));
|
|
31896
31897
|
};
|
|
31897
31898
|
p("", n.getVal("sys:TextLayer.Back.Alpha", 1)), n.defValTrg("sys:TextLayer.Back.Alpha", p);
|
|
31898
|
-
const v = (g, m) =>
|
|
31899
|
-
v("", n.getVal("tmp:sn.button.fontFamily",
|
|
31899
|
+
const v = (g, m) => Hi.fontFamily = m;
|
|
31900
|
+
v("", n.getVal("tmp:sn.button.fontFamily", Hi.fontFamily)), n.defValTrg("tmp:sn.button.fontFamily", v), n.defTmp("const.sn.log.json", () => JSON.stringify(
|
|
31900
31901
|
c(this, mn).text ? [...c(this, _n), c(this, mn)] : c(this, _n)
|
|
31901
31902
|
)), n.defTmp("const.sn.last_page_text", () => {
|
|
31902
31903
|
var g, m;
|
|
@@ -31909,7 +31910,7 @@ void main(void) {
|
|
|
31909
31910
|
cvsResizeDesign() {
|
|
31910
31911
|
}
|
|
31911
31912
|
cover(t, e = 0) {
|
|
31912
|
-
c(this, $s) && (c(this,
|
|
31913
|
+
c(this, $s) && (c(this, Li).removeChild(c(this, $s)), c(this, $s).destroy(), I(this, $s, void 0)), t && c(this, Li).addChild(
|
|
31913
31914
|
I(this, $s, new ii()).beginFill(e).lineStyle(0, e).drawRect(0, 0, Y.stageW, Y.stageH).endFill()
|
|
31914
31915
|
);
|
|
31915
31916
|
}
|
|
@@ -31927,10 +31928,10 @@ void main(void) {
|
|
|
31927
31928
|
I(this, Zr, {}), Qk();
|
|
31928
31929
|
}
|
|
31929
31930
|
clearBreak() {
|
|
31930
|
-
!this.currentTxtlayFore || (this.clearBreak = () => c(this,
|
|
31931
|
+
!this.currentTxtlayFore || (this.clearBreak = () => c(this, Fr).call(this, "del\uFF5Cbreak"), this.clearBreak());
|
|
31931
31932
|
}
|
|
31932
31933
|
clickTxtLay() {
|
|
31933
|
-
return this.currentTxtlayFore ? S(this,
|
|
31934
|
+
return this.currentTxtlayFore ? S(this, Tr, Vr).call(this).some((t) => {
|
|
31934
31935
|
const e = c(this, Xt)[t].fore;
|
|
31935
31936
|
return e instanceof Ee && e.click();
|
|
31936
31937
|
}) : !1;
|
|
@@ -31998,16 +31999,16 @@ void main(void) {
|
|
|
31998
31999
|
}
|
|
31999
32000
|
};
|
|
32000
32001
|
let $h = Na;
|
|
32001
|
-
|
|
32002
|
+
Li = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(), vo = new WeakMap(), yl = new WeakMap(), bf = new WeakMap(), xf = new WeakMap(), Ef = new WeakMap(), bl = new WeakMap(), wf = new WeakSet(), ib = function(t) {
|
|
32002
32003
|
[ze(this, Ef)._, this.bl = ""] = t.split("/");
|
|
32003
32004
|
const e = c(this, Xt)[c(this, Ef)];
|
|
32004
32005
|
!e || (Gt.allHide(), c(this, bl) ? e.fore.showDesignCastChildren() : e.fore.showDesignCast());
|
|
32005
32006
|
}, $s = new WeakMap(), dn = new WeakMap(), m0 = new WeakSet(), gS = function(t) {
|
|
32006
|
-
for (const e of S(this,
|
|
32007
|
+
for (const e of S(this, Tr, Vr).call(this)) {
|
|
32007
32008
|
const i = c(this, Xt)[e];
|
|
32008
32009
|
i.fore instanceof Ee && (i.fore.chgBackAlpha(t), i.back.chgBackAlpha(t));
|
|
32009
32010
|
}
|
|
32010
|
-
},
|
|
32011
|
+
}, Fr = new WeakMap(), _0 = new WeakSet(), mS = function(t) {
|
|
32011
32012
|
const e = t.fn ? t.fn.slice(0, 10) === "userdata:/" ? t.fn : `downloads:/${t.fn + Yh("-", "_", "", "_")}.png` : `downloads:/snapshot${Yh("-", "_", "", "_")}.png`, i = this.cfg.searchPath(e);
|
|
32012
32013
|
if (this.sys.canCapturePage(i))
|
|
32013
32014
|
return !1;
|
|
@@ -32028,17 +32029,17 @@ ki = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(),
|
|
|
32028
32029
|
c(this, Te).visible = !1, c(this, mo).visible = !0, c(this, te).filters = c(this, Xe).filters, c(this, te).visible = !0, a.render(c(this, te), { clear: !1 }), c(this, te).visible = !1, c(this, te).filters = [], l();
|
|
32029
32030
|
}));
|
|
32030
32031
|
else
|
|
32031
|
-
for (const l of S(this,
|
|
32032
|
+
for (const l of S(this, Tr, Vr).call(this, t.layer))
|
|
32032
32033
|
o.push(
|
|
32033
32034
|
new Promise((h) => c(this, Xt)[l][u].snapshot(a, () => h()))
|
|
32034
32035
|
);
|
|
32035
32036
|
return Promise.allSettled(o).then(async () => {
|
|
32036
32037
|
const l = gi.create({ width: a.width, height: a.height, transform: !0 });
|
|
32037
|
-
if (a.render(c(this,
|
|
32038
|
+
if (a.render(c(this, Li), { renderTexture: l }), await this.sys.savePic(
|
|
32038
32039
|
i,
|
|
32039
32040
|
a.plugins.extract.base64(je.from(l))
|
|
32040
32041
|
), !c(this, We).tw)
|
|
32041
|
-
for (const h of S(this,
|
|
32042
|
+
for (const h of S(this, Tr, Vr).call(this, t.layer))
|
|
32042
32043
|
c(this, Xt)[h][u].snapshot_end();
|
|
32043
32044
|
a.destroy(!0);
|
|
32044
32045
|
}), !1;
|
|
@@ -32076,9 +32077,9 @@ ki = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(),
|
|
|
32076
32077
|
c(this, vn) || (I(this, bo, () => {
|
|
32077
32078
|
}), I(this, Jr, S(this, B0, AS)), I(this, If, S(this, k0, FS)), this.hTag.current({ layer: e }), this.goTxt = () => {
|
|
32078
32079
|
this.val.getVal("sn.skip.enabled") ? I(Na, Vs, 0) : this.setNormalChWait();
|
|
32079
|
-
for (const s of S(this,
|
|
32080
|
+
for (const s of S(this, Tr, Vr).call(this)) {
|
|
32080
32081
|
const a = c(this, Xt)[s].fore;
|
|
32081
|
-
a instanceof Ee && c(this,
|
|
32082
|
+
a instanceof Ee && c(this, Fr).call(this, "gotxt\uFF5C", a, !1);
|
|
32082
32083
|
}
|
|
32083
32084
|
}), this.val.setVal_Nochk(
|
|
32084
32085
|
"save",
|
|
@@ -32123,10 +32124,10 @@ ki = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(),
|
|
|
32123
32124
|
const e = ps.ease(t.ease);
|
|
32124
32125
|
I(this, _o, []);
|
|
32125
32126
|
const i = {}, n = [];
|
|
32126
|
-
for (const p of S(this,
|
|
32127
|
+
for (const p of S(this, Tr, Vr).call(this, t.layer))
|
|
32127
32128
|
i[p] = !0, n.push(c(this, Xt)[p].fore);
|
|
32128
32129
|
const s = [];
|
|
32129
|
-
for (const p of S(this,
|
|
32130
|
+
for (const p of S(this, Tr, Vr).call(this)) {
|
|
32130
32131
|
const v = c(this, Xt)[p][i[p] ? "back" : "fore"];
|
|
32131
32132
|
c(this, _o).push(v.spLay), s.push(v);
|
|
32132
32133
|
}
|
|
@@ -32180,7 +32181,7 @@ ki = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(),
|
|
|
32180
32181
|
const f = "glsl" in t;
|
|
32181
32182
|
if (!f && !("rule" in t))
|
|
32182
32183
|
return c(this, Xe).filters = [], c(this, We).tw = new ra(c(this, Xe)).to({ alpha: 0 }, h).delay(et(t, "delay", 0)).easing(e).onComplete(l).start(), this.appPixi.ticker.add(u), !1;
|
|
32183
|
-
const d = f ? new
|
|
32184
|
+
const d = f ? new Yi(void 0, t.glsl, c(this, Cf)) : c(this, T0);
|
|
32184
32185
|
if (d.uniforms.vague = et(t, "vague", 0.04), d.uniforms.tick = 0, c(this, We).tw = new ra(d.uniforms).to({ tick: 1 }, h).delay(et(t, "delay", 0)).easing(e).onComplete(l), c(this, Xe).filters = [d], f)
|
|
32185
32186
|
return c(this, We).tw.start(), this.appPixi.ticker.add(u), !1;
|
|
32186
32187
|
if (!t.rule)
|
|
@@ -32189,10 +32190,10 @@ ki = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(),
|
|
|
32189
32190
|
var v;
|
|
32190
32191
|
d.uniforms.rule = p.texture, p.destroy(), (v = c(this, We).tw) == null || v.start(), this.appPixi.ticker.add(u);
|
|
32191
32192
|
}), !1;
|
|
32192
|
-
}, We = new WeakMap(),
|
|
32193
|
+
}, We = new WeakMap(), Tr = new WeakSet(), Vr = function(t = "") {
|
|
32193
32194
|
return t ? t.split(",") : c(this, pn);
|
|
32194
32195
|
}, I0 = new WeakSet(), wS = function(t, e) {
|
|
32195
|
-
const i = S(this,
|
|
32196
|
+
const i = S(this, Tr, Vr).call(this, t.layer);
|
|
32196
32197
|
for (const n of i) {
|
|
32197
32198
|
if (!n)
|
|
32198
32199
|
continue;
|
|
@@ -32203,7 +32204,7 @@ ki = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(),
|
|
|
32203
32204
|
}
|
|
32204
32205
|
return i;
|
|
32205
32206
|
}, R0 = new WeakSet(), TS = function(t = "") {
|
|
32206
|
-
return S(this,
|
|
32207
|
+
return S(this, Tr, Vr).call(this, t).sort((e, i) => {
|
|
32207
32208
|
const n = c(this, te).getChildIndex(c(this, Xt)[e].fore.spLay), s = c(this, te).getChildIndex(c(this, Xt)[i].fore.spLay);
|
|
32208
32209
|
return n < s ? -1 : n > s ? 1 : 0;
|
|
32209
32210
|
});
|
|
@@ -32218,7 +32219,7 @@ ki = new WeakMap(), te = new WeakMap(), Te = new WeakMap(), zs = new WeakMap(),
|
|
|
32218
32219
|
if (e === 0 || this.val.getVal("tmp:sn.skip.enabled") || c(this, dn).isSkippingByKeyDown())
|
|
32219
32220
|
return !1;
|
|
32220
32221
|
const i = [];
|
|
32221
|
-
for (const f of S(this,
|
|
32222
|
+
for (const f of S(this, Tr, Vr).call(this, t.layer))
|
|
32222
32223
|
i.push(c(this, Xt)[f].fore.spLay);
|
|
32223
32224
|
c(this, ts).resize(Y.stageW, Y.stageH);
|
|
32224
32225
|
const n = () => {
|
|
@@ -32314,10 +32315,10 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32314
32315
|
const i = c(this, Jr).call(this, t);
|
|
32315
32316
|
delete t.text, this.val.getVal("tmp:sn.skip.enabled") ? t.wait = 0 : "wait" in t && et(t, "wait", NaN);
|
|
32316
32317
|
const n = encodeURIComponent(JSON.stringify(t));
|
|
32317
|
-
c(this,
|
|
32318
|
+
c(this, Fr).call(this, "add\uFF5C" + n, i);
|
|
32318
32319
|
const s = vt(t, "record", !0), a = this.val.doRecLog();
|
|
32319
32320
|
return s || this.val.setVal_Nochk("save", "sn.doRecLog", s), i.tagCh(e.replaceAll("[r]", `
|
|
32320
|
-
`)), s || this.val.setVal_Nochk("save", "sn.doRecLog", a), c(this,
|
|
32321
|
+
`)), s || this.val.setVal_Nochk("save", "sn.doRecLog", a), c(this, Fr).call(this, "add_close\uFF5C", i), !1;
|
|
32321
32322
|
}, Jr = new WeakMap(), B0 = new WeakSet(), AS = function(t) {
|
|
32322
32323
|
const e = S(this, Xs, gu).call(this, t, c(this, vn)), n = c(this, Xt)[e].getPage(t);
|
|
32323
32324
|
if (!(n instanceof Ee))
|
|
@@ -32330,7 +32331,7 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32330
32331
|
if (I(this, gn, c(this, Xt)[e]), !(c(this, gn).getPage(t) instanceof Ee))
|
|
32331
32332
|
throw `${e}\u306FTxtLayer\u3067\u306F\u3042\u308A\u307E\u305B\u3093`;
|
|
32332
32333
|
this.recText("", !0), I(this, vn, e), this.val.setVal_Nochk("save", "const.sn.mesLayer", e);
|
|
32333
|
-
for (const i of S(this,
|
|
32334
|
+
for (const i of S(this, Tr, Vr).call(this)) {
|
|
32334
32335
|
const n = c(this, Xt)[i];
|
|
32335
32336
|
n.fore instanceof Ee && (n.fore.isCur = n.back.isCur = i === e);
|
|
32336
32337
|
}
|
|
@@ -32347,19 +32348,19 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32347
32348
|
const e = c(this, Jr).call(this, t);
|
|
32348
32349
|
return t.layer === c(this, vn) && t.page === "fore" && this.recText("", !0), e.clearText(), !1;
|
|
32349
32350
|
}, D0 = new WeakSet(), BS = function(t) {
|
|
32350
|
-
return c(this,
|
|
32351
|
+
return c(this, Fr).call(this, "endlink\uFF5C", c(this, Jr).call(this, t)), !1;
|
|
32351
32352
|
}, U0 = new WeakSet(), kS = function(t) {
|
|
32352
32353
|
return vt(t, "rec_page_break", !0) && this.recText("", !0), c(this, gn) && (c(this, gn).fore.clearLay(t), c(this, gn).back.clearLay(t)), !1;
|
|
32353
32354
|
}, G0 = new WeakSet(), LS = function(t) {
|
|
32354
32355
|
if (!t.pic)
|
|
32355
32356
|
throw "[graph] pic\u306F\u5FC5\u9808\u3067\u3059";
|
|
32356
32357
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
32357
|
-
return c(this,
|
|
32358
|
+
return c(this, Fr).call(this, "grp\uFF5C" + e, c(this, Jr).call(this, t)), !1;
|
|
32358
32359
|
}, j0 = new WeakSet(), DS = function(t) {
|
|
32359
32360
|
var i, n, s;
|
|
32360
32361
|
(i = t.style) != null || (t.style = "background-color: rgba(255,0,0,0.5);"), (n = t.style_hover) != null || (t.style_hover = "background-color: rgba(255,0,0,0.9);"), (s = t.style_clicked) != null || (t.style_clicked = t.style);
|
|
32361
32362
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
32362
|
-
return c(this,
|
|
32363
|
+
return c(this, Fr).call(this, "link\uFF5C" + e, c(this, Jr).call(this, t)), !1;
|
|
32363
32364
|
}, H0 = new WeakSet(), US = function(t) {
|
|
32364
32365
|
return t.text = `
|
|
32365
32366
|
`, S(this, El, Lp).call(this, t);
|
|
@@ -32385,15 +32386,15 @@ ${t.id}` : (i = t.name) != null ? i : t.layer;
|
|
|
32385
32386
|
return t.text = "\uFF5C" + encodeURIComponent(e) + "\u300A" + encodeURIComponent(i) + "\u300B", delete t.t, delete t.r, S(this, El, Lp).call(this, t);
|
|
32386
32387
|
}, W0 = new WeakSet(), $S = function(t) {
|
|
32387
32388
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
32388
|
-
return c(this,
|
|
32389
|
+
return c(this, Fr).call(this, "span\uFF5C" + e, c(this, Jr).call(this, t)), !1;
|
|
32389
32390
|
}, Y0 = new WeakSet(), VS = function(t) {
|
|
32390
32391
|
if (!t.t)
|
|
32391
32392
|
throw "[tcy] t\u306F\u5FC5\u9808\u3067\u3059";
|
|
32392
32393
|
const e = encodeURIComponent(JSON.stringify(t));
|
|
32393
|
-
return c(this,
|
|
32394
|
+
return c(this, Fr).call(this, "tcy\uFF5C" + e, c(this, Jr).call(this, t)), !1;
|
|
32394
32395
|
}, q0 = new WeakSet(), XS = function(t) {
|
|
32395
32396
|
console.group("\u{1F95F} [dump_lay]");
|
|
32396
|
-
for (const e of S(this,
|
|
32397
|
+
for (const e of S(this, Tr, Vr).call(this, t.layer)) {
|
|
32397
32398
|
const i = c(this, Xt)[e];
|
|
32398
32399
|
try {
|
|
32399
32400
|
console.info(
|
|
@@ -32547,7 +32548,7 @@ Ce = new WeakMap(), de = new WeakMap(), wl = new WeakMap(), K0 = new WeakSet(),
|
|
|
32547
32548
|
!(e.btn instanceof ve) || e.btn.parent ? e.off() : c(this, Ce).splice(t, 1);
|
|
32548
32549
|
}
|
|
32549
32550
|
};
|
|
32550
|
-
var
|
|
32551
|
+
var Gr = "top", bi = "bottom", xi = "right", jr = "left", rm = "auto", bd = [Gr, bi, xi, jr], Wl = "start", fc = "end", OU = "clippingParents", ZS = "viewport", mh = "popper", AU = "reference", hT = /* @__PURE__ */ bd.reduce(function(r, t) {
|
|
32551
32552
|
return r.concat([t + "-" + Wl, t + "-" + fc]);
|
|
32552
32553
|
}, []), JS = /* @__PURE__ */ [].concat(bd, [rm]).reduce(function(r, t) {
|
|
32553
32554
|
return r.concat([t, t + "-" + Wl, t + "-" + fc]);
|
|
@@ -32620,7 +32621,7 @@ const $U = {
|
|
|
32620
32621
|
effect: zU,
|
|
32621
32622
|
requires: ["computeStyles"]
|
|
32622
32623
|
};
|
|
32623
|
-
function
|
|
32624
|
+
function Xi(r) {
|
|
32624
32625
|
return r.split("-")[0];
|
|
32625
32626
|
}
|
|
32626
32627
|
var Ho = Math.max, pv = Math.min, Yl = Math.round;
|
|
@@ -32672,7 +32673,7 @@ function QS(r, t) {
|
|
|
32672
32673
|
}
|
|
32673
32674
|
return !1;
|
|
32674
32675
|
}
|
|
32675
|
-
function
|
|
32676
|
+
function Ji(r) {
|
|
32676
32677
|
return wi(r).getComputedStyle(r);
|
|
32677
32678
|
}
|
|
32678
32679
|
function VU(r) {
|
|
@@ -32685,18 +32686,18 @@ function im(r) {
|
|
|
32685
32686
|
return Nn(r) === "html" ? r : r.assignedSlot || r.parentNode || ($1(r) ? r.host : null) || fa(r);
|
|
32686
32687
|
}
|
|
32687
32688
|
function cT(r) {
|
|
32688
|
-
return !si(r) ||
|
|
32689
|
+
return !si(r) || Ji(r).position === "fixed" ? null : r.offsetParent;
|
|
32689
32690
|
}
|
|
32690
32691
|
function XU(r) {
|
|
32691
32692
|
var t = /firefox/i.test(sb()), e = /Trident/i.test(sb());
|
|
32692
32693
|
if (e && si(r)) {
|
|
32693
|
-
var i =
|
|
32694
|
+
var i = Ji(r);
|
|
32694
32695
|
if (i.position === "fixed")
|
|
32695
32696
|
return null;
|
|
32696
32697
|
}
|
|
32697
32698
|
var n = im(r);
|
|
32698
32699
|
for ($1(n) && (n = n.host); si(n) && ["html", "body"].indexOf(Nn(n)) < 0; ) {
|
|
32699
|
-
var s =
|
|
32700
|
+
var s = Ji(n);
|
|
32700
32701
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
32701
32702
|
return n;
|
|
32702
32703
|
n = n.parentNode;
|
|
@@ -32704,9 +32705,9 @@ function XU(r) {
|
|
|
32704
32705
|
return null;
|
|
32705
32706
|
}
|
|
32706
32707
|
function xd(r) {
|
|
32707
|
-
for (var t = wi(r), e = cT(r); e && VU(e) &&
|
|
32708
|
+
for (var t = wi(r), e = cT(r); e && VU(e) && Ji(e).position === "static"; )
|
|
32708
32709
|
e = cT(e);
|
|
32709
|
-
return e && (Nn(e) === "html" || Nn(e) === "body" &&
|
|
32710
|
+
return e && (Nn(e) === "html" || Nn(e) === "body" && Ji(e).position === "static") ? t : e || XU(r) || t;
|
|
32710
32711
|
}
|
|
32711
32712
|
function X1(r) {
|
|
32712
32713
|
return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
|
|
@@ -32740,9 +32741,9 @@ var YU = function(t, e) {
|
|
|
32740
32741
|
})) : t, e2(typeof t != "number" ? t : r2(t, bd));
|
|
32741
32742
|
};
|
|
32742
32743
|
function qU(r) {
|
|
32743
|
-
var t, e = r.state, i = r.name, n = r.options, s = e.elements.arrow, a = e.modifiersData.popperOffsets, o =
|
|
32744
|
+
var t, e = r.state, i = r.name, n = r.options, s = e.elements.arrow, a = e.modifiersData.popperOffsets, o = Xi(e.placement), u = X1(o), l = [jr, xi].indexOf(o) >= 0, h = l ? "height" : "width";
|
|
32744
32745
|
if (!(!s || !a)) {
|
|
32745
|
-
var f = YU(n.padding, e), d = V1(s), p = u === "y" ?
|
|
32746
|
+
var f = YU(n.padding, e), d = V1(s), p = u === "y" ? Gr : jr, v = u === "y" ? bi : xi, g = e.rects.reference[h] + e.rects.reference[u] - a[u] - e.rects.popper[h], m = a[u] - e.rects.reference[u], _ = xd(s), y = _ ? u === "y" ? _.clientHeight || 0 : _.clientWidth || 0 : 0, b = g / 2 - m / 2, x = f[p], T = y - d[h] - f[v], E = y / 2 - d[h] / 2 + b, R = Vh(x, E, T), C = u;
|
|
32746
32747
|
e.modifiersData[i] = (t = {}, t[C] = R, t.centerOffset = R - E, t);
|
|
32747
32748
|
}
|
|
32748
32749
|
}
|
|
@@ -32790,15 +32791,15 @@ function fT(r) {
|
|
|
32790
32791
|
y: g
|
|
32791
32792
|
};
|
|
32792
32793
|
p = m.x, g = m.y;
|
|
32793
|
-
var _ = a.hasOwnProperty("x"), y = a.hasOwnProperty("y"), b =
|
|
32794
|
+
var _ = a.hasOwnProperty("x"), y = a.hasOwnProperty("y"), b = jr, x = Gr, T = window;
|
|
32794
32795
|
if (l) {
|
|
32795
32796
|
var E = xd(e), R = "clientHeight", C = "clientWidth";
|
|
32796
|
-
if (E === wi(e) && (E = fa(e),
|
|
32797
|
+
if (E === wi(e) && (E = fa(e), Ji(E).position !== "static" && o === "absolute" && (R = "scrollHeight", C = "scrollWidth")), E = E, n === Gr || (n === jr || n === xi) && s === fc) {
|
|
32797
32798
|
x = bi;
|
|
32798
32799
|
var P = f && E === T && T.visualViewport ? T.visualViewport.height : E[R];
|
|
32799
32800
|
g -= P - i.height, g *= u ? 1 : -1;
|
|
32800
32801
|
}
|
|
32801
|
-
if (n ===
|
|
32802
|
+
if (n === jr || (n === Gr || n === bi) && s === fc) {
|
|
32802
32803
|
b = xi;
|
|
32803
32804
|
var N = f && E === T && T.visualViewport ? T.visualViewport.width : E[C];
|
|
32804
32805
|
p -= N - i.width, p *= u ? 1 : -1;
|
|
@@ -32822,7 +32823,7 @@ function fT(r) {
|
|
|
32822
32823
|
function t6(r) {
|
|
32823
32824
|
var t = r.state, e = r.options, i = e.gpuAcceleration, n = i === void 0 ? !0 : i, s = e.adaptive, a = s === void 0 ? !0 : s, o = e.roundOffsets, u = o === void 0 ? !0 : o;
|
|
32824
32825
|
if (process.env.NODE_ENV !== "production") {
|
|
32825
|
-
var l =
|
|
32826
|
+
var l = Ji(t.elements.popper).transitionProperty || "";
|
|
32826
32827
|
a && ["transform", "top", "right", "bottom", "left"].some(function(f) {
|
|
32827
32828
|
return l.indexOf(f) >= 0;
|
|
32828
32829
|
}) && console.warn(["Popper: Detected CSS transitions on at least one of the following", 'CSS properties: "transform", "top", "right", "bottom", "left".', `
|
|
@@ -32832,7 +32833,7 @@ function t6(r) {
|
|
|
32832
32833
|
`, "We recommend using the popper element as a wrapper around an inner", "element that can have any CSS property transitioned for animations."].join(" "));
|
|
32833
32834
|
}
|
|
32834
32835
|
var h = {
|
|
32835
|
-
placement:
|
|
32836
|
+
placement: Xi(t.placement),
|
|
32836
32837
|
variation: Zl(t.placement),
|
|
32837
32838
|
popper: t.elements.popper,
|
|
32838
32839
|
popperRect: t.rects.popper,
|
|
@@ -32928,7 +32929,7 @@ function a6(r, t) {
|
|
|
32928
32929
|
}
|
|
32929
32930
|
function o6(r) {
|
|
32930
32931
|
var t, e = fa(r), i = W1(r), n = (t = r.ownerDocument) == null ? void 0 : t.body, s = Ho(e.scrollWidth, e.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), a = Ho(e.scrollHeight, e.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), o = -i.scrollLeft + Y1(r), u = -i.scrollTop;
|
|
32931
|
-
return
|
|
32932
|
+
return Ji(n || e).direction === "rtl" && (o += Ho(e.clientWidth, n ? n.clientWidth : 0) - s), {
|
|
32932
32933
|
width: s,
|
|
32933
32934
|
height: a,
|
|
32934
32935
|
x: o,
|
|
@@ -32936,7 +32937,7 @@ function o6(r) {
|
|
|
32936
32937
|
};
|
|
32937
32938
|
}
|
|
32938
32939
|
function q1(r) {
|
|
32939
|
-
var t =
|
|
32940
|
+
var t = Ji(r), e = t.overflow, i = t.overflowX, n = t.overflowY;
|
|
32940
32941
|
return /auto|scroll|overlay|hidden/.test(e + n + i);
|
|
32941
32942
|
}
|
|
32942
32943
|
function i2(r) {
|
|
@@ -32964,7 +32965,7 @@ function pT(r, t, e) {
|
|
|
32964
32965
|
return t === ZS ? ab(a6(r, e)) : Zo(t) ? u6(t, e) : ab(o6(fa(r)));
|
|
32965
32966
|
}
|
|
32966
32967
|
function l6(r) {
|
|
32967
|
-
var t = Xh(im(r)), e = ["absolute", "fixed"].indexOf(
|
|
32968
|
+
var t = Xh(im(r)), e = ["absolute", "fixed"].indexOf(Ji(r).position) >= 0, i = e && si(r) ? xd(r) : r;
|
|
32968
32969
|
return Zo(i) ? t.filter(function(n) {
|
|
32969
32970
|
return Zo(n) && QS(n, i) && Nn(n) !== "body";
|
|
32970
32971
|
}) : [];
|
|
@@ -32977,9 +32978,9 @@ function h6(r, t, e, i) {
|
|
|
32977
32978
|
return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
|
|
32978
32979
|
}
|
|
32979
32980
|
function n2(r) {
|
|
32980
|
-
var t = r.reference, e = r.element, i = r.placement, n = i ?
|
|
32981
|
+
var t = r.reference, e = r.element, i = r.placement, n = i ? Xi(i) : null, s = i ? Zl(i) : null, a = t.x + t.width / 2 - e.width / 2, o = t.y + t.height / 2 - e.height / 2, u;
|
|
32981
32982
|
switch (n) {
|
|
32982
|
-
case
|
|
32983
|
+
case Gr:
|
|
32983
32984
|
u = {
|
|
32984
32985
|
x: a,
|
|
32985
32986
|
y: t.y - e.height
|
|
@@ -32997,7 +32998,7 @@ function n2(r) {
|
|
|
32997
32998
|
y: o
|
|
32998
32999
|
};
|
|
32999
33000
|
break;
|
|
33000
|
-
case
|
|
33001
|
+
case jr:
|
|
33001
33002
|
u = {
|
|
33002
33003
|
x: t.x - e.width,
|
|
33003
33004
|
y: o
|
|
@@ -33039,7 +33040,7 @@ function dc(r, t) {
|
|
|
33039
33040
|
if (d === mh && F) {
|
|
33040
33041
|
var A = F[n];
|
|
33041
33042
|
Object.keys(N).forEach(function(B) {
|
|
33042
|
-
var j = [xi, bi].indexOf(B) >= 0 ? 1 : -1, L = [
|
|
33043
|
+
var j = [xi, bi].indexOf(B) >= 0 ? 1 : -1, L = [Gr, bi].indexOf(B) >= 0 ? "y" : "x";
|
|
33043
33044
|
N[B] += A[L] * j;
|
|
33044
33045
|
});
|
|
33045
33046
|
}
|
|
@@ -33059,14 +33060,14 @@ function c6(r, t) {
|
|
|
33059
33060
|
boundary: n,
|
|
33060
33061
|
rootBoundary: s,
|
|
33061
33062
|
padding: a
|
|
33062
|
-
})[
|
|
33063
|
+
})[Xi(g)], v;
|
|
33063
33064
|
}, {});
|
|
33064
33065
|
return Object.keys(p).sort(function(v, g) {
|
|
33065
33066
|
return p[v] - p[g];
|
|
33066
33067
|
});
|
|
33067
33068
|
}
|
|
33068
33069
|
function f6(r) {
|
|
33069
|
-
if (
|
|
33070
|
+
if (Xi(r) === rm)
|
|
33070
33071
|
return [];
|
|
33071
33072
|
var t = Dp(r);
|
|
33072
33073
|
return [dT(r), t, dT(t)];
|
|
@@ -33074,8 +33075,8 @@ function f6(r) {
|
|
|
33074
33075
|
function d6(r) {
|
|
33075
33076
|
var t = r.state, e = r.options, i = r.name;
|
|
33076
33077
|
if (!t.modifiersData[i]._skip) {
|
|
33077
|
-
for (var n = e.mainAxis, s = n === void 0 ? !0 : n, a = e.altAxis, o = a === void 0 ? !0 : a, u = e.fallbackPlacements, l = e.padding, h = e.boundary, f = e.rootBoundary, d = e.altBoundary, p = e.flipVariations, v = p === void 0 ? !0 : p, g = e.allowedAutoPlacements, m = t.options.placement, _ =
|
|
33078
|
-
return nt.concat(
|
|
33078
|
+
for (var n = e.mainAxis, s = n === void 0 ? !0 : n, a = e.altAxis, o = a === void 0 ? !0 : a, u = e.fallbackPlacements, l = e.padding, h = e.boundary, f = e.rootBoundary, d = e.altBoundary, p = e.flipVariations, v = p === void 0 ? !0 : p, g = e.allowedAutoPlacements, m = t.options.placement, _ = Xi(m), y = _ === m, b = u || (y || !v ? [Dp(m)] : f6(m)), x = [m].concat(b).reduce(function(nt, ht) {
|
|
33079
|
+
return nt.concat(Xi(ht) === rm ? c6(t, {
|
|
33079
33080
|
placement: ht,
|
|
33080
33081
|
boundary: h,
|
|
33081
33082
|
rootBoundary: f,
|
|
@@ -33084,13 +33085,13 @@ function d6(r) {
|
|
|
33084
33085
|
allowedAutoPlacements: g
|
|
33085
33086
|
}) : ht);
|
|
33086
33087
|
}, []), T = t.rects.reference, E = t.rects.popper, R = /* @__PURE__ */ new Map(), C = !0, P = x[0], N = 0; N < x.length; N++) {
|
|
33087
|
-
var F = x[N], A =
|
|
33088
|
+
var F = x[N], A = Xi(F), B = Zl(F) === Wl, j = [Gr, bi].indexOf(A) >= 0, L = j ? "width" : "height", U = dc(t, {
|
|
33088
33089
|
placement: F,
|
|
33089
33090
|
boundary: h,
|
|
33090
33091
|
rootBoundary: f,
|
|
33091
33092
|
altBoundary: d,
|
|
33092
33093
|
padding: l
|
|
33093
|
-
}), V = j ? B ? xi :
|
|
33094
|
+
}), V = j ? B ? xi : jr : B ? bi : Gr;
|
|
33094
33095
|
T[L] > E[L] && (V = Dp(V));
|
|
33095
33096
|
var Q = Dp(V), G = [];
|
|
33096
33097
|
if (s && G.push(U[A] <= 0), o && G.push(U[V] <= 0, U[Q] <= 0), G.every(function(nt) {
|
|
@@ -33142,7 +33143,7 @@ function vT(r, t, e) {
|
|
|
33142
33143
|
};
|
|
33143
33144
|
}
|
|
33144
33145
|
function gT(r) {
|
|
33145
|
-
return [
|
|
33146
|
+
return [Gr, xi, bi, jr].some(function(t) {
|
|
33146
33147
|
return r[t] >= 0;
|
|
33147
33148
|
});
|
|
33148
33149
|
}
|
|
@@ -33170,10 +33171,10 @@ const g6 = {
|
|
|
33170
33171
|
fn: v6
|
|
33171
33172
|
};
|
|
33172
33173
|
function m6(r, t, e) {
|
|
33173
|
-
var i =
|
|
33174
|
+
var i = Xi(r), n = [jr, Gr].indexOf(i) >= 0 ? -1 : 1, s = typeof e == "function" ? e(Object.assign({}, t, {
|
|
33174
33175
|
placement: r
|
|
33175
33176
|
})) : e, a = s[0], o = s[1];
|
|
33176
|
-
return a = a || 0, o = (o || 0) * n, [
|
|
33177
|
+
return a = a || 0, o = (o || 0) * n, [jr, xi].indexOf(i) >= 0 ? {
|
|
33177
33178
|
x: o,
|
|
33178
33179
|
y: a
|
|
33179
33180
|
} : {
|
|
@@ -33219,7 +33220,7 @@ function w6(r) {
|
|
|
33219
33220
|
rootBoundary: l,
|
|
33220
33221
|
padding: f,
|
|
33221
33222
|
altBoundary: h
|
|
33222
|
-
}), _ =
|
|
33223
|
+
}), _ = Xi(t.placement), y = Zl(t.placement), b = !y, x = X1(_), T = E6(x), E = t.modifiersData.popperOffsets, R = t.rects.reference, C = t.rects.popper, P = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
33223
33224
|
placement: t.placement
|
|
33224
33225
|
})) : g, N = typeof P == "number" ? {
|
|
33225
33226
|
mainAxis: P,
|
|
@@ -33233,15 +33234,15 @@ function w6(r) {
|
|
|
33233
33234
|
};
|
|
33234
33235
|
if (!!E) {
|
|
33235
33236
|
if (s) {
|
|
33236
|
-
var B, j = x === "y" ?
|
|
33237
|
+
var B, j = x === "y" ? Gr : jr, L = x === "y" ? bi : xi, U = x === "y" ? "height" : "width", V = E[x], Q = V + m[j], G = V - m[L], k = p ? -C[U] / 2 : 0, W = y === Wl ? R[U] : C[U], tt = y === Wl ? -C[U] : -R[U], lt = t.elements.arrow, nt = p && lt ? V1(lt) : {
|
|
33237
33238
|
width: 0,
|
|
33238
33239
|
height: 0
|
|
33239
|
-
}, ht = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : t2(), M = ht[j], gt = ht[L], st = Vh(0, R[U], nt[U]), dt = b ? R[U] / 2 - k - st - M - N.mainAxis : W - st - M - N.mainAxis, it = b ? -R[U] / 2 + k + st + gt + N.mainAxis : tt + st + gt + N.mainAxis, z = t.elements.arrow && xd(t.elements.arrow),
|
|
33240
|
+
}, ht = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : t2(), M = ht[j], gt = ht[L], st = Vh(0, R[U], nt[U]), dt = b ? R[U] / 2 - k - st - M - N.mainAxis : W - st - M - N.mainAxis, it = b ? -R[U] / 2 + k + st + gt + N.mainAxis : tt + st + gt + N.mainAxis, z = t.elements.arrow && xd(t.elements.arrow), Et = z ? x === "y" ? z.clientTop || 0 : z.clientLeft || 0 : 0, J = (B = F == null ? void 0 : F[x]) != null ? B : 0, X = V + dt - J - Et, rt = V + it - J, ut = Vh(p ? pv(Q, X) : Q, V, p ? Ho(G, rt) : G);
|
|
33240
33241
|
E[x] = ut, A[x] = ut - V;
|
|
33241
33242
|
}
|
|
33242
33243
|
if (o) {
|
|
33243
|
-
var Z, Ut = x === "x" ?
|
|
33244
|
-
E[T] = $t, A[T] = $t -
|
|
33244
|
+
var Z, Ut = x === "x" ? Gr : jr, kt = x === "x" ? bi : xi, ie = E[T], Ge = T === "y" ? "height" : "width", ur = ie + m[Ut], Vt = ie - m[kt], Ke = [Gr, jr].indexOf(_) !== -1, ge = (Z = F == null ? void 0 : F[T]) != null ? Z : 0, ae = Ke ? ur : ie - R[Ge] - C[Ge] - ge + N.altAxis, ne = Ke ? ie + R[Ge] + C[Ge] - ge - N.altAxis : Vt, $t = p && Ke ? WU(ae, ie, ne) : Vh(p ? ae : ur, ie, p ? ne : Vt);
|
|
33245
|
+
E[T] = $t, A[T] = $t - ie;
|
|
33245
33246
|
}
|
|
33246
33247
|
t.modifiersData[i] = A;
|
|
33247
33248
|
}
|
|
@@ -33434,14 +33435,14 @@ function L6(r) {
|
|
|
33434
33435
|
var A = F.name;
|
|
33435
33436
|
return A;
|
|
33436
33437
|
});
|
|
33437
|
-
if (F6(x),
|
|
33438
|
+
if (F6(x), Xi(h.options.placement) === rm) {
|
|
33438
33439
|
var T = h.orderedModifiers.find(function(F) {
|
|
33439
33440
|
var A = F.name;
|
|
33440
33441
|
return A === "flip";
|
|
33441
33442
|
});
|
|
33442
33443
|
T || console.error(['Popper: "auto" placements require the "flip" modifier be', "present and enabled to work."].join(" "));
|
|
33443
33444
|
}
|
|
33444
|
-
var E =
|
|
33445
|
+
var E = Ji(u), R = E.marginTop, C = E.marginRight, P = E.marginBottom, N = E.marginLeft;
|
|
33445
33446
|
[R, C, P, N].some(function(F) {
|
|
33446
33447
|
return parseFloat(F);
|
|
33447
33448
|
}) && console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', "between the popper and its reference element or boundary.", "To replicate margin, use the `offset` modifier, as well as", "the `padding` option in the `preventOverflow` and `flip`", "modifiers."].join(" "));
|
|
@@ -33521,7 +33522,7 @@ var D6 = [i6, x6, e6, $U, y6, p6, T6, JU, g6], U6 = /* @__PURE__ */ L6({
|
|
|
33521
33522
|
defaultModifiers: D6
|
|
33522
33523
|
});
|
|
33523
33524
|
const { GamepadListener: G6 } = require("gamepad.js");
|
|
33524
|
-
var
|
|
33525
|
+
var Mr, Ws, sr, Sf, Pf, ob, Nf, ub, Of, lb, Tl, Cl, Af, hb, Re, di, es, rs, Ff, Ys, mu, Mf, Bf, vr, Il, Rl, kf, Q0, s2, Lf, Eo, tg, a2, Df, cb, eg, o2, Uf, fb, wo, Fh, To, rg, u2, ig, l2, pi, ng, h2, sg, c2, Sl, Up, is, Co, Io, ag, f2, Cr;
|
|
33525
33526
|
class j6 {
|
|
33526
33527
|
constructor(t, e, i, n, s, a, o, u, l) {
|
|
33527
33528
|
w(this, Pf);
|
|
@@ -33541,7 +33542,7 @@ class j6 {
|
|
|
33541
33542
|
w(this, sg);
|
|
33542
33543
|
w(this, Sl);
|
|
33543
33544
|
w(this, ag);
|
|
33544
|
-
w(this,
|
|
33545
|
+
w(this, Mr, new Hl());
|
|
33545
33546
|
w(this, Ws, new G6({
|
|
33546
33547
|
analog: !1,
|
|
33547
33548
|
deadZone: 0.3
|
|
@@ -33582,7 +33583,7 @@ class j6 {
|
|
|
33582
33583
|
});
|
|
33583
33584
|
w(this, Co, new Ei());
|
|
33584
33585
|
w(this, Io, "sn:notice_comp_txt");
|
|
33585
|
-
w(this,
|
|
33586
|
+
w(this, Cr, {
|
|
33586
33587
|
Alt: 0,
|
|
33587
33588
|
Meta: 0,
|
|
33588
33589
|
Control: 0,
|
|
@@ -33652,7 +33653,7 @@ class j6 {
|
|
|
33652
33653
|
<div class="sn_hint" role="tooltip">
|
|
33653
33654
|
<span>Dummy</span>
|
|
33654
33655
|
<div class="sn_hint_ar" data-popper-arrow></div>
|
|
33655
|
-
</div>`), I(this, vr, document.querySelector(".sn_hint")), I(this, Il, c(this, vr).querySelector("span")), I(this, Rl, U6(c(this, Bf), c(this, vr))), c(this, vr).hidden = !0, i.stage.interactive = !0, Y.isMobile ? i.stage.on("pointerdown", (m) => this.fire("click", m)) : c(this,
|
|
33656
|
+
</div>`), I(this, vr, document.querySelector(".sn_hint")), I(this, Il, c(this, vr).querySelector("span")), I(this, Rl, U6(c(this, Bf), c(this, vr))), c(this, vr).hidden = !0, i.stage.interactive = !0, Y.isMobile ? i.stage.on("pointerdown", (m) => this.fire("click", m)) : c(this, Mr).add(i.stage, "pointerdown", (m) => {
|
|
33656
33657
|
switch (m.data.button) {
|
|
33657
33658
|
case 0:
|
|
33658
33659
|
this.fire("click", m);
|
|
@@ -33661,13 +33662,13 @@ class j6 {
|
|
|
33661
33662
|
this.fire("middleclick", m);
|
|
33662
33663
|
break;
|
|
33663
33664
|
}
|
|
33664
|
-
}), c(this,
|
|
33665
|
+
}), c(this, Mr).add(window, "keydown", (m) => S(this, Pf, ob).call(this, m)), c(this, Mr).add(i.view, "contextmenu", (m) => S(this, Nf, ub).call(this, m));
|
|
33665
33666
|
const h = (m) => {
|
|
33666
33667
|
Y.isDarkMode = m.matches, a.setVal_Nochk("tmp", "const.sn.isDarkMode", Y.isDarkMode);
|
|
33667
33668
|
}, f = globalThis.matchMedia("(prefers-color-scheme: dark)");
|
|
33668
|
-
h(f), c(this,
|
|
33669
|
+
h(f), c(this, Mr).add(f, "change", (m) => {
|
|
33669
33670
|
h(m), this.fire("sn:chgDarkMode", m);
|
|
33670
|
-
}), "WheelEvent" in window && (c(this,
|
|
33671
|
+
}), "WheelEvent" in window && (c(this, Mr).add(i.view, "wheel", (m) => S(this, Of, lb).call(this, m), { passive: !0 }), I(this, Sf, (m) => c(this, Mr).add(m, "wheel", (_) => S(this, Of, lb).call(this, _), { passive: !0 })), I(this, Lf, (m, _) => m.add(i.view, "wheel", (y) => {
|
|
33671
33672
|
y.isComposing || y.deltaY <= 0 || (y.stopPropagation(), _());
|
|
33672
33673
|
}))), Y.debugLog && (c(this, Ws).on("gamepad:connected", (m) => console.log(`\u{1F47A}<'gamepad:connected' index:${m.detail.index} id:${m.detail.gamepad.id}`)), c(this, Ws).on("gamepad:disconnected", (m) => console.log(`\u{1F47A}<'gamepad:disconnected' index:${m.detail.index} id:${m.detail.gamepad.id}`)));
|
|
33673
33674
|
const d = [
|
|
@@ -33697,15 +33698,15 @@ class j6 {
|
|
|
33697
33698
|
(!_ || _ instanceof ve ? globalThis : _).dispatchEvent(new KeyboardEvent("keydown", { key: "Enter", bubbles: !0 }));
|
|
33698
33699
|
} else
|
|
33699
33700
|
i.view.dispatchEvent(new Event("contextmenu"));
|
|
33700
|
-
}), c(this, Ws).start(), c(this,
|
|
33701
|
-
m.isComposing || m.key in c(this,
|
|
33702
|
-
}), a.defTmp("const.sn.key.alternate", () => c(this,
|
|
33701
|
+
}), c(this, Ws).start(), c(this, Mr).add(window, "keyup", (m) => {
|
|
33702
|
+
m.isComposing || m.key in c(this, Cr) && (c(this, Cr)[m.key] = 0);
|
|
33703
|
+
}), a.defTmp("const.sn.key.alternate", () => c(this, Cr).Alt > 0), a.defTmp("const.sn.key.command", () => c(this, Cr).Meta > 0), a.defTmp("const.sn.key.control", () => c(this, Cr).Control > 0), a.defTmp("const.sn.key.end", () => c(this, Cr).End > 0), a.defTmp("const.sn.key.escape", () => c(this, Cr).Escape > 0), a.defTmp("const.sn.key.back", () => c(this, Cr).GoBack > 0);
|
|
33703
33704
|
}
|
|
33704
33705
|
resvFlameEvent(t) {
|
|
33705
|
-
c(this,
|
|
33706
|
+
c(this, Mr).add(t, "keydown", (e) => S(this, Pf, ob).call(this, e)), c(this, Mr).add(t, "contextmenu", (e) => S(this, Nf, ub).call(this, e)), c(this, Sf).call(this, t);
|
|
33706
33707
|
}
|
|
33707
33708
|
destroy() {
|
|
33708
|
-
c(this, sr).destroy(), c(this,
|
|
33709
|
+
c(this, sr).destroy(), c(this, Mr).clear();
|
|
33709
33710
|
}
|
|
33710
33711
|
fire(t, e) {
|
|
33711
33712
|
var s;
|
|
@@ -33765,7 +33766,7 @@ class j6 {
|
|
|
33765
33766
|
}), e.on("pointerdown", () => {
|
|
33766
33767
|
c(this, vr).hidden = !0;
|
|
33767
33768
|
const p = c(this, sr).getFocus();
|
|
33768
|
-
s(), p instanceof
|
|
33769
|
+
s(), p instanceof Hi && p.normal();
|
|
33769
33770
|
}), e.on(
|
|
33770
33771
|
"pointerup",
|
|
33771
33772
|
Y.isMobile ? l : () => {
|
|
@@ -33813,13 +33814,13 @@ class j6 {
|
|
|
33813
33814
|
c(this, Co).emit(c(this, Io));
|
|
33814
33815
|
}
|
|
33815
33816
|
isSkippingByKeyDown() {
|
|
33816
|
-
return this.scrItr.skip4page ? !0 : Object.keys(c(this,
|
|
33817
|
+
return this.scrItr.skip4page ? !0 : Object.keys(c(this, Cr)).some((t) => c(this, Cr)[t] === 2);
|
|
33817
33818
|
}
|
|
33818
33819
|
}
|
|
33819
|
-
|
|
33820
|
+
Mr = new WeakMap(), Ws = new WeakMap(), sr = new WeakMap(), Sf = new WeakMap(), Pf = new WeakSet(), ob = function(t) {
|
|
33820
33821
|
if (t.isComposing)
|
|
33821
33822
|
return;
|
|
33822
|
-
t.key in c(this,
|
|
33823
|
+
t.key in c(this, Cr) && (c(this, Cr)[t.key] = t.repeat ? 2 : 1);
|
|
33823
33824
|
const e = (t.altKey ? t.key === "Alt" ? "" : "alt+" : "") + (t.ctrlKey ? t.key === "Control" ? "" : "ctrl+" : "") + (t.shiftKey ? t.key === "Shift" ? "" : "shift+" : "") + t.key;
|
|
33824
33825
|
this.fire(e, t);
|
|
33825
33826
|
}, Nf = new WeakSet(), ub = function(t) {
|
|
@@ -33854,7 +33855,7 @@ Ar = new WeakMap(), Ws = new WeakMap(), sr = new WeakMap(), Sf = new WeakMap(),
|
|
|
33854
33855
|
return !0;
|
|
33855
33856
|
}, Mf = new WeakMap(), Bf = new WeakMap(), vr = new WeakMap(), Il = new WeakMap(), Rl = new WeakMap(), kf = new WeakMap(), Q0 = new WeakSet(), s2 = function(t, e) {
|
|
33856
33857
|
var s, a;
|
|
33857
|
-
const i = e instanceof
|
|
33858
|
+
const i = e instanceof Hi ? e.getBtnBounds() : e.getBounds();
|
|
33858
33859
|
if (!(t[":\u30BF\u30B0\u540D"] === "link")) {
|
|
33859
33860
|
const o = e.parent.parent;
|
|
33860
33861
|
i.x += o.x, i.y += o.y;
|
|
@@ -33915,7 +33916,7 @@ Ar = new WeakMap(), Ws = new WeakMap(), sr = new WeakMap(), Sf = new WeakMap(),
|
|
|
33915
33916
|
break;
|
|
33916
33917
|
}
|
|
33917
33918
|
l.forEach((f, d) => u.el.forEach((p) => {
|
|
33918
|
-
c(this,
|
|
33919
|
+
c(this, Mr).add(p, f, (v) => {
|
|
33919
33920
|
if (!c(this, rs) || this.layMng.getFrmDisabled(u.id) || f === "keydown" && v.key !== "Enter")
|
|
33920
33921
|
return;
|
|
33921
33922
|
const g = p.dataset;
|
|
@@ -34038,15 +34039,15 @@ Ar = new WeakMap(), Ws = new WeakMap(), sr = new WeakMap(), Sf = new WeakMap(),
|
|
|
34038
34039
|
));
|
|
34039
34040
|
}, is = new WeakMap(), Co = new WeakMap(), Io = new WeakMap(), ag = new WeakSet(), f2 = function() {
|
|
34040
34041
|
return this.scrItr.skip4page ? !1 : ((this.val.getVal("tmp:sn.skip.enabled") || this.val.getVal("tmp:sn.auto.enabled")) && c(this, pi).call(this), S(this, Ys, mu).call(this, () => this.main.resume()));
|
|
34041
|
-
},
|
|
34042
|
+
}, Cr = new WeakMap();
|
|
34042
34043
|
class xT {
|
|
34043
34044
|
constructor(t = "", e = 0, i = { ":hEvt1Time": {}, ":hMp": {} }) {
|
|
34044
34045
|
q(this, "toString", () => `[fn:${this.fn}, idx:${this.idx}, csArg:${this.csArg}]`);
|
|
34045
34046
|
this.fn = t, this.idx = e, this.csArg = i;
|
|
34046
34047
|
}
|
|
34047
34048
|
}
|
|
34048
|
-
var Mt, qt, _t, pe, he, qs, Gf, db, Ro, Pl, og, Zs, jf, pb, Hf, vb, zf, Js, yu, So, Mh, Po, ns, Se, ug, d2, No, Bh, lg, p2, $f, Nl, Kr, hg, v2, cg, g2, ss, Ta, fg, m2, Oo, Ao, Vf, Xf, Wf, Qr, dg, _2, pg, y2, vg, b2, Yf, gb, gg, x2, mg, E2, _g, w2, qf, mb, Zf, Fo, kh, Mo, as, Ca, Jf, _b, Kf, Qf, yb, yg, bg, td, Bo, ed, xg, T2,
|
|
34049
|
-
const
|
|
34049
|
+
var Mt, qt, _t, pe, he, qs, Gf, db, Ro, Pl, og, Zs, jf, pb, Hf, vb, zf, Js, yu, So, Mh, Po, ns, Se, ug, d2, No, Bh, lg, p2, $f, Nl, Kr, hg, v2, cg, g2, ss, Ta, fg, m2, Oo, Ao, Vf, Xf, Wf, Qr, dg, _2, pg, y2, vg, b2, Yf, gb, gg, x2, mg, E2, _g, w2, qf, mb, Zf, Fo, kh, Mo, as, Ca, Jf, _b, Kf, Qf, yb, yg, bg, td, Bo, ed, xg, T2, Br, Eg, C2, rd, bb, wg, Tg, Cg, Ig, I2, os, id, xb, Rg, R2, Sg, S2, Pg, Ng, P2, nd, Ol, Og, N2, Al, Gp, Fl, Ag, O2, Di, Fg, A2, Ml, jp, Mg, F2, Ui, cr;
|
|
34050
|
+
const Xr = class {
|
|
34050
34051
|
constructor(t, e, i, n, s, a, o, u, l) {
|
|
34051
34052
|
w(this, Gf);
|
|
34052
34053
|
w(this, jf);
|
|
@@ -34097,7 +34098,7 @@ const $r = class {
|
|
|
34097
34098
|
});
|
|
34098
34099
|
w(this, Ro, {
|
|
34099
34100
|
disconnect: () => {
|
|
34100
|
-
I(
|
|
34101
|
+
I(Xr, Po, {}), I(Xr, ns, {}), this.isBreak = () => !1, c(this, Ro).continue({}), I(this, Se, 0);
|
|
34101
34102
|
},
|
|
34102
34103
|
restart: () => this.isBreak = () => !1,
|
|
34103
34104
|
add_break: (t) => S(this, Gf, db).call(this, t.fn, t.o),
|
|
@@ -34105,9 +34106,9 @@ const $r = class {
|
|
|
34105
34106
|
c(this, Se) === 0 && (I(this, Se, 1), this.main.setLoop(!1, `\u5909\u6570 ${t.dataId}\u3010${t.old_v}\u3011\u2192\u3010${t.new_v}\u3011\u30C7\u30FC\u30BF\u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnDataBreakpoint", {}), this.sys.send2Dbg("stopOnDataBreakpoint", {}));
|
|
34106
34107
|
},
|
|
34107
34108
|
set_func_break: (t) => {
|
|
34108
|
-
I(
|
|
34109
|
+
I(Xr, ns, {});
|
|
34109
34110
|
for (const e of t.a)
|
|
34110
|
-
c(
|
|
34111
|
+
c(Xr, ns)[e.name] = 1;
|
|
34111
34112
|
this.sys.send2Dbg(t.ri, {});
|
|
34112
34113
|
},
|
|
34113
34114
|
stack: (t) => this.sys.send2Dbg(t.ri, { a: S(this, lg, p2).call(this) }),
|
|
@@ -34135,7 +34136,7 @@ const $r = class {
|
|
|
34135
34136
|
}
|
|
34136
34137
|
});
|
|
34137
34138
|
w(this, Pl, (t) => this.cfg.searchPath(t, yr.SCRIPT));
|
|
34138
|
-
w(this, Zs, (t) => (this.sys.pathBaseCnvSnPath4Dbg + c(this, Pl).call(this, t)).replace(c(
|
|
34139
|
+
w(this, Zs, (t) => (this.sys.pathBaseCnvSnPath4Dbg + c(this, Pl).call(this, t)).replace(c(Xr, og), `$1/prj/$2/${c(this, qt)}$3`));
|
|
34139
34140
|
q(this, "cnvPath4Dbg", (t) => this.sys.pathBaseCnvSnPath4Dbg + t.replace("/crypto_prj/", "/prj/"));
|
|
34140
34141
|
w(this, zf, 0);
|
|
34141
34142
|
w(this, Se, 0);
|
|
@@ -34159,12 +34160,12 @@ const $r = class {
|
|
|
34159
34160
|
q(this, "nextToken", () => "");
|
|
34160
34161
|
w(this, Kf, (t) => {
|
|
34161
34162
|
});
|
|
34162
|
-
w(this, yg, /(\*{2,})(
|
|
34163
|
+
w(this, yg, /(\*{2,})([^\|]*)/);
|
|
34163
34164
|
w(this, bg, /\[macro\s/);
|
|
34164
34165
|
w(this, td, /\[endmacro[\s\]]/);
|
|
34165
34166
|
w(this, Bo, /^\[let_ml\s/g);
|
|
34166
34167
|
w(this, ed, /^\[endlet_ml\s*]/g);
|
|
34167
|
-
w(this,
|
|
34168
|
+
w(this, Br, /* @__PURE__ */ Object.create(null));
|
|
34168
34169
|
w(this, wg, /^\[(call|loadplugin)\s/);
|
|
34169
34170
|
w(this, Tg, /\bfn\s*=\s*[^\s\]]+/);
|
|
34170
34171
|
w(this, Cg, () => {
|
|
@@ -34197,12 +34198,12 @@ const $r = class {
|
|
|
34197
34198
|
w(this, nd, "call");
|
|
34198
34199
|
w(this, Ol, /\[(call)\b/);
|
|
34199
34200
|
w(this, Fl, !1);
|
|
34200
|
-
w(this,
|
|
34201
|
+
w(this, Di, {
|
|
34201
34202
|
hSave: {},
|
|
34202
34203
|
hPages: {},
|
|
34203
34204
|
aIfStk: [-1]
|
|
34204
34205
|
});
|
|
34205
|
-
w(this,
|
|
34206
|
+
w(this, Ui, []);
|
|
34206
34207
|
w(this, cr, -1);
|
|
34207
34208
|
if (this.cfg = t, this.hTag = e, this.main = i, this.val = n, this.alzTagArg = s, this.runAnalyze = a, this.prpPrs = o, this.sndMng = u, this.sys = l, e.let_ml = (h) => S(this, hg, v2).call(this, h), e.dump_stack = () => S(this, cg, g2).call(this), e.dump_script = (h) => S(this, fg, m2).call(this, h), e.else = e.elsif = e.endif = () => S(this, dg, _2).call(this), e.if = (h) => S(this, pg, y2).call(this, h), e.call = (h) => S(this, vg, b2).call(this, h), e.jump = (h) => S(this, gg, x2).call(this, h), e.page = (h) => S(this, mg, E2).call(this, h), e.pop_stack = (h) => S(this, _g, w2).call(this, h), e.return = (h) => S(this, qf, mb).call(this, h), e.bracket2macro = (h) => S(this, Rg, R2).call(this, h), e.char2macro = (h) => S(this, Sg, S2).call(this, h), e.endmacro = (h) => S(this, qf, mb).call(this, h), e.macro = (h) => S(this, Ng, P2).call(this, h), e.load = (h) => S(this, Og, N2).call(this, h), e.reload_script = (h) => S(this, Ag, O2).call(this, h), e.record_place = () => S(this, Fg, A2).call(this), e.save = (h) => S(this, Mg, F2).call(this, h), t.oCfg.debug.token && I(this, Kf, (h) => console.log(`\u{1F331} \u30C8\u30FC\u30AF\u30F3 fn:${c(this, qt)} idx:${c(this, _t)} ln:${c(this, pe)} token\u3010${h}\u3011`)), n.defTmp("const.sn.vctCallStk.length", () => c(this, he).length), c(this, qs).setEscape(t.oCfg.init.escape), Y.isDbg) {
|
|
34208
34209
|
l.addHook((f, d) => {
|
|
@@ -34217,9 +34218,9 @@ const $r = class {
|
|
|
34217
34218
|
const d = f.hBreakpoint.hFn2hLineBP;
|
|
34218
34219
|
for (const [p, v] of Object.entries(d))
|
|
34219
34220
|
S(this, Gf, db).call(this, p, v);
|
|
34220
|
-
I(
|
|
34221
|
+
I(Xr, ns, {});
|
|
34221
34222
|
for (const p of f.hBreakpoint.aFunc)
|
|
34222
|
-
c(
|
|
34223
|
+
c(Xr, ns)[p.name] = 1;
|
|
34223
34224
|
if (f.stopOnEntry) {
|
|
34224
34225
|
for (; ; ) {
|
|
34225
34226
|
let p = this.nextToken();
|
|
@@ -34335,7 +34336,7 @@ const $r = class {
|
|
|
34335
34336
|
if (c(this, he).length > 0) {
|
|
34336
34337
|
const s = c(this, he)[0];
|
|
34337
34338
|
t = s.fn, e = s.idx;
|
|
34338
|
-
const a = c(this,
|
|
34339
|
+
const a = c(this, Br)[t];
|
|
34339
34340
|
a && (i = a.len);
|
|
34340
34341
|
}
|
|
34341
34342
|
const n = this.val.getAreaKidoku(t);
|
|
@@ -34350,7 +34351,7 @@ const $r = class {
|
|
|
34350
34351
|
recodePage() {
|
|
34351
34352
|
if (I(this, Fl, !1), !this.val.getVal("save:sn.doRecLog"))
|
|
34352
34353
|
return;
|
|
34353
|
-
const { fn: t, idx: e } = S(this, Ml, jp).call(this), i = e - 1, n = i + ":" + t, s = c(this,
|
|
34354
|
+
const { fn: t, idx: e } = S(this, Ml, jp).call(this), i = e - 1, n = i + ":" + t, s = c(this, Ui).findIndex((o) => o.key === n);
|
|
34354
34355
|
if (s > -1) {
|
|
34355
34356
|
I(this, cr, s);
|
|
34356
34357
|
return;
|
|
@@ -34361,13 +34362,13 @@ const $r = class {
|
|
|
34361
34362
|
idx: i,
|
|
34362
34363
|
retFn: t,
|
|
34363
34364
|
retIdx: 0,
|
|
34364
|
-
retMark: { ...c(this,
|
|
34365
|
+
retMark: { ...c(this, Di) }
|
|
34365
34366
|
};
|
|
34366
34367
|
if (c(this, cr) >= 0) {
|
|
34367
|
-
const o = c(this,
|
|
34368
|
+
const o = c(this, Ui)[c(this, cr)];
|
|
34368
34369
|
a.retFn = o.fn, a.retIdx = o.idx + 1;
|
|
34369
34370
|
}
|
|
34370
|
-
++ze(this, cr)._ === c(this,
|
|
34371
|
+
++ze(this, cr)._ === c(this, Ui).length ? c(this, Ui).push(a) : c(this, Ui)[c(this, cr)] = a;
|
|
34371
34372
|
}
|
|
34372
34373
|
recodeDesign(t) {
|
|
34373
34374
|
let e = "", i = 0;
|
|
@@ -34378,18 +34379,18 @@ const $r = class {
|
|
|
34378
34379
|
} else
|
|
34379
34380
|
e = c(this, qt), i = c(this, _t);
|
|
34380
34381
|
t[":path"] = c(this, Zs).call(this, e);
|
|
34381
|
-
const s = S(this, ss, Ta).call(this, c(this,
|
|
34382
|
+
const s = S(this, ss, Ta).call(this, c(this, Br)[e], i);
|
|
34382
34383
|
t[":ln"] = s.ln, t[":col_s"] = s.col_s, t[":col_e"] = s.col_e;
|
|
34383
34384
|
const a = i - 1;
|
|
34384
|
-
t[":idx_tkn"] = a, t[":token"] = c(this,
|
|
34385
|
+
t[":idx_tkn"] = a, t[":token"] = c(this, Br)[e].aToken[a], this.sys.send2Dbg("_recodeDesign", t);
|
|
34385
34386
|
}
|
|
34386
34387
|
replace(t, e) {
|
|
34387
34388
|
c(this, Mt).aToken[t] = e;
|
|
34388
34389
|
}
|
|
34389
34390
|
};
|
|
34390
|
-
let _u =
|
|
34391
|
+
let _u = Xr;
|
|
34391
34392
|
Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(), he = new WeakMap(), qs = new WeakMap(), Gf = new WeakSet(), db = function(t, e) {
|
|
34392
|
-
c(
|
|
34393
|
+
c(Xr, Po)[c(this, Zs).call(this, t)] = e;
|
|
34393
34394
|
}, Ro = new WeakMap(), Pl = new WeakMap(), og = new WeakMap(), Zs = new WeakMap(), jf = new WeakSet(), pb = function(t) {
|
|
34394
34395
|
if (S(this, So, Mh).call(this))
|
|
34395
34396
|
return;
|
|
@@ -34419,10 +34420,10 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34419
34420
|
S(this, No, Bh).call(this), I(this, Se, 0);
|
|
34420
34421
|
break;
|
|
34421
34422
|
default:
|
|
34422
|
-
if (bp(t) in c(
|
|
34423
|
+
if (bp(t) in c(Xr, ns))
|
|
34423
34424
|
return I(this, Se, 2), this.main.setLoop(!1, `\u95A2\u6570 ${t} \u30D6\u30EC\u30FC\u30AF`), this.sys.callHook("stopOnBreakpoint", {}), this.sys.send2Dbg("stopOnBreakpoint", {}), !0;
|
|
34424
34425
|
{
|
|
34425
|
-
const e = c(
|
|
34426
|
+
const e = c(Xr, Po)[c(this, Zs).call(this, c(this, qt))];
|
|
34426
34427
|
if (!e)
|
|
34427
34428
|
break;
|
|
34428
34429
|
const i = e[c(this, pe)];
|
|
@@ -34443,7 +34444,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34443
34444
|
return !1;
|
|
34444
34445
|
}, No = new WeakSet(), Bh = function() {
|
|
34445
34446
|
var e;
|
|
34446
|
-
const t = (e = c(
|
|
34447
|
+
const t = (e = c(Xr, Po)[Lh(c(this, qt))]) == null ? void 0 : e[c(this, pe)];
|
|
34447
34448
|
t != null && t.hitCondition && --t.hitCondition;
|
|
34448
34449
|
}, lg = new WeakSet(), p2 = function() {
|
|
34449
34450
|
var h, f;
|
|
@@ -34454,7 +34455,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34454
34455
|
if (l === 0)
|
|
34455
34456
|
return u;
|
|
34456
34457
|
for (let d = l - 1; d >= 0; --d) {
|
|
34457
|
-
const p = c(this, he)[d], v = c(this,
|
|
34458
|
+
const p = c(this, he)[d], v = c(this, Br)[p.fn], g = v.aToken[p.idx - 1], m = S(this, ss, Ta).call(this, v, p.idx), _ = bp(g);
|
|
34458
34459
|
u.push({
|
|
34459
34460
|
fn: c(this, Zs).call(this, p.fn),
|
|
34460
34461
|
ln: m.ln,
|
|
@@ -34484,7 +34485,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34484
34485
|
if (i > 0) {
|
|
34485
34486
|
console.info(e);
|
|
34486
34487
|
for (let s = i - 1; s >= 0; --s) {
|
|
34487
|
-
const a = c(this, he)[s], o = a.csArg[":hMp"], u = o ? o[":\u30BF\u30B0\u540D"] : void 0, l = (n = a.csArg[":\u30BF\u30B0\u540D"]) != null ? n : "", h = S(this, ss, Ta).call(this, c(this,
|
|
34488
|
+
const a = c(this, he)[s], o = a.csArg[":hMp"], u = o ? o[":\u30BF\u30B0\u540D"] : void 0, l = (n = a.csArg[":\u30BF\u30B0\u540D"]) != null ? n : "", h = S(this, ss, Ta).call(this, c(this, Br)[a.fn], a.idx);
|
|
34488
34489
|
console.info(
|
|
34489
34490
|
`${i - s}\u3064\u524D\u306E\u30B3\u30FC\u30EB\u5143 fn:${a.fn} line:${h.ln} col:${h.col_s + 1}` + (u ? "\uFF08[" + u + "]\u30DE\u30AF\u30ED\u5185\uFF09" : " ") + `\u3067 [${l} ...]\u3092\u30B3\u30FC\u30EB`
|
|
34490
34491
|
);
|
|
@@ -34597,7 +34598,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34597
34598
|
if (c(this, cr) === -1)
|
|
34598
34599
|
return !1;
|
|
34599
34600
|
if (vt(t, "clear", !1))
|
|
34600
|
-
return I(this,
|
|
34601
|
+
return I(this, Ui, []), I(this, cr, -1), !1;
|
|
34601
34602
|
const { to: e } = t;
|
|
34602
34603
|
if (!e)
|
|
34603
34604
|
throw "clear\u304Bto\u306F\u5FC5\u9808\u3067\u3059";
|
|
@@ -34607,7 +34608,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34607
34608
|
c(this, cr) > 0 && --ze(this, cr)._;
|
|
34608
34609
|
break;
|
|
34609
34610
|
case "next":
|
|
34610
|
-
const o = c(this,
|
|
34611
|
+
const o = c(this, Ui).length;
|
|
34611
34612
|
c(this, cr) < o - 1 && ++ze(this, cr)._;
|
|
34612
34613
|
break;
|
|
34613
34614
|
default:
|
|
@@ -34615,7 +34616,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34615
34616
|
}
|
|
34616
34617
|
if (i === c(this, cr))
|
|
34617
34618
|
return !1;
|
|
34618
|
-
const n = c(this,
|
|
34619
|
+
const n = c(this, Ui)[c(this, cr)], { fn: s, idx: a } = S(this, Ml, jp).call(this);
|
|
34619
34620
|
return n.key === a + ":" + s ? !1 : S(this, Al, Gp).call(this, { fn: n.retFn, index: n.retIdx }, n.retMark);
|
|
34620
34621
|
}, _g = new WeakSet(), w2 = function(t) {
|
|
34621
34622
|
if (vt(t, "clear", !1))
|
|
@@ -34634,7 +34635,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34634
34635
|
const s = i[":resvToken"];
|
|
34635
34636
|
s ? this.nextToken = () => (S(this, Fo, kh).call(this), s) : S(this, Fo, kh).call(this), i[":hEvt1Time"] && c(this, Nl).pushLocalEvts(i[":hEvt1Time"]);
|
|
34636
34637
|
const { fn: a, label: o } = t;
|
|
34637
|
-
return a || o ? (S(this, as, Ca).call(this, a, o), !0) : e.fn in c(this,
|
|
34638
|
+
return a || o ? (S(this, as, Ca).call(this, a, o), !0) : e.fn in c(this, Br) ? (S(this, rd, bb).call(this, e), !1) : (S(this, as, Ca).call(this, e.fn, "", e.idx), !0);
|
|
34638
34639
|
}, Zf = new WeakMap(), Fo = new WeakSet(), kh = function() {
|
|
34639
34640
|
I(this, Zf, ""), this.nextToken = S(this, Jf, _b);
|
|
34640
34641
|
}, Mo = new WeakMap(), as = new WeakSet(), Ca = function(t = "", e = "", i = 0) {
|
|
@@ -34648,7 +34649,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34648
34649
|
return;
|
|
34649
34650
|
}
|
|
34650
34651
|
I(this, qt, t);
|
|
34651
|
-
const s = c(this,
|
|
34652
|
+
const s = c(this, Br)[c(this, qt)];
|
|
34652
34653
|
if (s) {
|
|
34653
34654
|
I(this, Mt, s), this.analyzeInit();
|
|
34654
34655
|
return;
|
|
@@ -34711,7 +34712,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34711
34712
|
}
|
|
34712
34713
|
i = 1;
|
|
34713
34714
|
const u = new RegExp(
|
|
34714
|
-
"^" + n.replaceAll("*", "\\*") + "(
|
|
34715
|
+
"^" + n.replaceAll("*", "\\*") + "(?=\\s|;|\\[|\\||$)"
|
|
34715
34716
|
);
|
|
34716
34717
|
let l = !1;
|
|
34717
34718
|
for (let g = 0; g < a; ++g) {
|
|
@@ -34734,7 +34735,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34734
34735
|
_ === 91 && (i += ((v = m.match(/\n/g)) != null ? v : []).length, c(this, Bo).lastIndex = 0, c(this, Bo).test(m) && (l = !0));
|
|
34735
34736
|
}
|
|
34736
34737
|
throw l ? "[let_ml]\u306E\u7D42\u7AEF\u30FB[endlet_ml]\u304C\u3042\u308A\u307E\u305B\u3093" : (jt.myTrace(`[jump\u7CFB] \u30E9\u30D9\u30EB\u3010${n}\u3011\u304C\u3042\u308A\u307E\u305B\u3093`, "ET"), "Dummy");
|
|
34737
|
-
},
|
|
34738
|
+
}, Br = new WeakMap(), Eg = new WeakSet(), C2 = function(t) {
|
|
34738
34739
|
const e = c(this, qs).matchToken(t.replace(/(\r\n|\r)/g, `
|
|
34739
34740
|
`));
|
|
34740
34741
|
for (let s = e.length - 1; s >= 0; --s) {
|
|
@@ -34754,10 +34755,10 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34754
34755
|
} catch (s) {
|
|
34755
34756
|
s instanceof Error ? n += `\u4F8B\u5916 mes=${s.message}(${s.name})` : n = s, this.main.errScript(n, !1);
|
|
34756
34757
|
}
|
|
34757
|
-
c(this,
|
|
34758
|
+
c(this, Br)[c(this, qt)] = i, this.val.loadScrWork(c(this, qt));
|
|
34758
34759
|
}, rd = new WeakSet(), bb = function(t) {
|
|
34759
34760
|
I(this, qt, t.fn), I(this, _t, t.idx);
|
|
34760
|
-
const e = c(this,
|
|
34761
|
+
const e = c(this, Br)[c(this, qt)];
|
|
34761
34762
|
e && I(this, Mt, e), I(this, pe, c(this, Mt).aLNum[t.idx]);
|
|
34762
34763
|
}, wg = new WeakMap(), Tg = new WeakMap(), Cg = new WeakMap(), Ig = new WeakSet(), I2 = function() {
|
|
34763
34764
|
const t = this.val.getAreaKidoku(c(this, qt));
|
|
@@ -34805,7 +34806,7 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34805
34806
|
throw `place\u3010${e}\u3011\u306F\u5B58\u5728\u3057\u307E\u305B\u3093`;
|
|
34806
34807
|
return S(this, Al, Gp).call(this, t, i);
|
|
34807
34808
|
}, Al = new WeakSet(), Gp = function(t, e, i = !0) {
|
|
34808
|
-
this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), c(this, Kr).recText("", !0), i && this.sndMng.playLoopFromSaveObj(), vt(t, "do_rec", !0) && I(this,
|
|
34809
|
+
this.hTag.clear_event({}), this.val.mark2save(e), this.val.setMp({}), c(this, Kr).recText("", !0), i && this.sndMng.playLoopFromSaveObj(), vt(t, "do_rec", !0) && I(this, Di, {
|
|
34809
34810
|
hSave: this.val.cloneSave(),
|
|
34810
34811
|
hPages: { ...e.hPages },
|
|
34811
34812
|
aIfStk: [...e.aIfStk]
|
|
@@ -34817,11 +34818,11 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34817
34818
|
};
|
|
34818
34819
|
this.hTag.autowc(n);
|
|
34819
34820
|
const s = String(this.val.getVal("save:const.sn.scriptFn")), a = Number(this.val.getVal("save:const.sn.scriptIdx"));
|
|
34820
|
-
return I(this, Qr, [...c(this,
|
|
34821
|
+
return I(this, Qr, [...c(this, Di).aIfStk]), I(this, he, []), c(this, Kr).cover(!0), c(this, Kr).stopAllTw(), "index" in t ? (c(this, Kr).playback(c(this, Di).hPages, () => {
|
|
34821
34822
|
var o, u;
|
|
34822
34823
|
c(this, Kr).cover(!1), I(this, Fl, !0), S(this, as, Ca).call(this, (o = t.fn) != null ? o : s, "", (u = t.index) != null ? u : a);
|
|
34823
|
-
}), !0) : (delete c(this,
|
|
34824
|
-
c(this,
|
|
34824
|
+
}), !0) : (delete c(this, Br)[s], c(this, Kr).playback(
|
|
34825
|
+
c(this, Di).hPages,
|
|
34825
34826
|
"label" in t ? () => {
|
|
34826
34827
|
c(this, Kr).cover(!1), I(this, qt, s), I(this, _t, a), this.hTag.call({ fn: t.fn, label: t.label });
|
|
34827
34828
|
} : () => {
|
|
@@ -34830,12 +34831,12 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34830
34831
|
), !0);
|
|
34831
34832
|
}, Fl = new WeakMap(), Ag = new WeakSet(), O2 = function(t) {
|
|
34832
34833
|
const e = this.val.getMark(0);
|
|
34833
|
-
return delete c(this,
|
|
34834
|
-
},
|
|
34834
|
+
return delete c(this, Br)[Lh(e.hSave["const.sn.scriptFn"])], t.do_rec = !1, S(this, Al, Gp).call(this, t, e, !1);
|
|
34835
|
+
}, Di = new WeakMap(), Fg = new WeakSet(), A2 = function() {
|
|
34835
34836
|
if (this.main.isDestroyed())
|
|
34836
34837
|
return !1;
|
|
34837
34838
|
const { fn: t, idx: e } = S(this, Ml, jp).call(this);
|
|
34838
|
-
return this.val.setVal_Nochk("save", "const.sn.scriptFn", t), this.val.setVal_Nochk("save", "const.sn.scriptIdx", e), I(this,
|
|
34839
|
+
return this.val.setVal_Nochk("save", "const.sn.scriptFn", t), this.val.setVal_Nochk("save", "const.sn.scriptIdx", e), I(this, Di, {
|
|
34839
34840
|
hSave: this.val.cloneSave(),
|
|
34840
34841
|
hPages: c(this, Kr).record(),
|
|
34841
34842
|
aIfStk: c(this, Qr).slice(c(this, he).length)
|
|
@@ -34856,17 +34857,17 @@ Mt = new WeakMap(), qt = new WeakMap(), _t = new WeakMap(), pe = new WeakMap(),
|
|
|
34856
34857
|
if (!("place" in t))
|
|
34857
34858
|
throw "place\u306F\u5FC5\u9808\u3067\u3059";
|
|
34858
34859
|
const e = Number(t.place);
|
|
34859
|
-
delete t[":\u30BF\u30B0\u540D"], delete t.place, t.text = ((n = t.text) != null ? n : "").replace(/^(<br\/>)+/, ""), c(this,
|
|
34860
|
+
delete t[":\u30BF\u30B0\u540D"], delete t.place, t.text = ((n = t.text) != null ? n : "").replace(/^(<br\/>)+/, ""), c(this, Di).json = t, this.val.setMark(e, c(this, Di));
|
|
34860
34861
|
const i = Number(this.val.getVal("sys:const.sn.save.place"));
|
|
34861
34862
|
return e === i && this.val.setVal_Nochk("sys", "const.sn.save.place", i + 1), !1;
|
|
34862
|
-
},
|
|
34863
|
-
var
|
|
34863
|
+
}, Ui = new WeakMap(), cr = new WeakMap(), w(_u, og, /(.+)\/crypto_prj\/([^\/]+)\/[^\.]+(\.\w+)/), w(_u, Po, {}), w(_u, ns, {});
|
|
34864
|
+
var kr, Lr, gr, vi, us, ko, fr, sd, ls, Bl, Lo, ad, od, kl, Bg, M2, ud, ld, Ll, Dl, Hp, Do, Uo;
|
|
34864
34865
|
class H6 {
|
|
34865
34866
|
constructor(t) {
|
|
34866
34867
|
w(this, Bg);
|
|
34867
34868
|
w(this, Dl);
|
|
34868
|
-
w(this,
|
|
34869
|
-
w(this,
|
|
34869
|
+
w(this, kr, void 0);
|
|
34870
|
+
w(this, Lr, void 0);
|
|
34870
34871
|
w(this, gr, /* @__PURE__ */ Object.create(null));
|
|
34871
34872
|
w(this, vi, void 0);
|
|
34872
34873
|
w(this, us, void 0);
|
|
@@ -34895,7 +34896,7 @@ class H6 {
|
|
|
34895
34896
|
w(this, Do, !1);
|
|
34896
34897
|
q(this, "isDestroyed", () => c(this, Do));
|
|
34897
34898
|
w(this, Uo, void 0);
|
|
34898
|
-
this.sys = t, TP(), J_.generate(t).then((e) => I(this,
|
|
34899
|
+
this.sys = t, TP(), J_.generate(t).then((e) => I(this, kr, e)).then(() => S(this, Bg, M2).call(this)).catch((e) => console.error("load err fn:prj.json e:%o", e));
|
|
34899
34900
|
}
|
|
34900
34901
|
errScript(t, e = !0) {
|
|
34901
34902
|
if (this.stop(), jt.myTrace(t), Y.debugLog && console.log("\u{1F35C} SKYNovel err!"), e)
|
|
@@ -34916,23 +34917,23 @@ class H6 {
|
|
|
34916
34917
|
c(this, Bl).fire(t, e);
|
|
34917
34918
|
}
|
|
34918
34919
|
async destroy(t = 0) {
|
|
34919
|
-
c(this, Do) || (I(this, Do, !0), c(this, od) && (this.stop(), I(this, Ll, !1), c(this, ls).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), I(this, gr, {}), c(this, Bl).destroy(), c(this, fr).destroy(), c(this, ls).destroy(), c(this, sd).destroy(), c(this,
|
|
34920
|
+
c(this, Do) || (I(this, Do, !0), c(this, od) && (this.stop(), I(this, Ll, !1), c(this, ls).before_destroy(), t > 0 && await new Promise((e) => setTimeout(e, t)), I(this, gr, {}), c(this, Bl).destroy(), c(this, fr).destroy(), c(this, ls).destroy(), c(this, sd).destroy(), c(this, Lr).ticker.remove(c(this, ud)), c(this, Uo) && c(this, Lr) && c(this, Lr).view.parentNode.appendChild(c(this, Uo)), _A(), c(this, Lr).destroy(!0), this.sys.destroy()));
|
|
34920
34921
|
}
|
|
34921
34922
|
}
|
|
34922
|
-
|
|
34923
|
+
kr = new WeakMap(), Lr = new WeakMap(), gr = new WeakMap(), vi = new WeakMap(), us = new WeakMap(), ko = new WeakMap(), fr = new WeakMap(), sd = new WeakMap(), ls = new WeakMap(), Bl = new WeakMap(), Lo = new WeakMap(), ad = new WeakMap(), od = new WeakMap(), kl = new WeakMap(), Bg = new WeakSet(), M2 = async function() {
|
|
34923
34924
|
var n, s, a;
|
|
34924
34925
|
const t = (n = document.createElement("canvas")) == null ? void 0 : n.getContext("2d");
|
|
34925
34926
|
if (!t)
|
|
34926
34927
|
throw "argChk_Color err";
|
|
34927
34928
|
Y.cc4ColorName = t;
|
|
34928
34929
|
const e = {
|
|
34929
|
-
width: c(this,
|
|
34930
|
-
height: c(this,
|
|
34931
|
-
backgroundColor: Eb(String(c(this,
|
|
34930
|
+
width: c(this, kr).oCfg.window.width,
|
|
34931
|
+
height: c(this, kr).oCfg.window.height,
|
|
34932
|
+
backgroundColor: Eb(String(c(this, kr).oCfg.init.bg_color)),
|
|
34932
34933
|
resolution: (s = globalThis.devicePixelRatio) != null ? s : 1,
|
|
34933
34934
|
autoResize: !0
|
|
34934
34935
|
}, i = document.getElementById(c(this, kl));
|
|
34935
|
-
i && (I(this, Uo, i.cloneNode(!0)), c(this, Uo).id = c(this, kl), e.view = i), I(this,
|
|
34936
|
+
i && (I(this, Uo, i.cloneNode(!0)), c(this, Uo).id = c(this, kl), e.view = i), I(this, Lr, new FC(e)), i || (document.body.appendChild(c(this, Lr).view), c(this, Lr).view.id = c(this, kl)), I(this, vi, new xp(c(this, kr), c(this, gr))), I(this, us, new Aa(c(this, vi), (a = c(this, kr).oCfg.init.escape) != null ? a : "\\")), await Promise.allSettled(this.sys.init(c(this, gr), c(this, Lr), c(this, vi), this)), c(this, gr).title({ text: c(this, kr).oCfg.book.title || "SKYNovel" }), I(this, ko, new Cp(c(this, kr), c(this, gr), c(this, vi), this, this.sys)), I(this, fr, new _u(c(this, kr), c(this, gr), this, c(this, vi), c(this, ad), () => S(this, Dl, Hp).call(this), c(this, us), c(this, ko), this.sys)), I(this, sd, new jt(this.sys, c(this, gr), c(this, fr))), I(this, ls, new $h(c(this, kr), c(this, gr), c(this, Lr), c(this, vi), this, c(this, fr), this.sys, c(this, ko), c(this, ad), c(this, us))), I(this, Bl, new j6(c(this, kr), c(this, gr), c(this, Lr), this, c(this, ls), c(this, vi), c(this, ko), c(this, fr), this.sys)), c(this, Lr).ticker.add(c(this, ud)), this.resumeByJumpOrCall({ fn: "main" }), I(this, od, !0);
|
|
34936
34937
|
}, ud = new WeakMap(), ld = new WeakMap(), Ll = new WeakMap(), Dl = new WeakSet(), Hp = function() {
|
|
34937
34938
|
var t;
|
|
34938
34939
|
for (; c(this, Ll); ) {
|