@famibee/skynovel 1.64.11 → 1.64.13

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.
Files changed (75) hide show
  1. package/dist/CmnTween.js +118 -125
  2. package/dist/CmnTween.js.map +1 -1
  3. package/dist/EventMng.js +91 -92
  4. package/dist/EventMng.js.map +1 -1
  5. package/dist/GrpLayer.js +16 -11
  6. package/dist/GrpLayer.js.map +1 -1
  7. package/dist/LayerMng.js +92 -93
  8. package/dist/LayerMng.js.map +1 -1
  9. package/dist/Main.js.map +1 -1
  10. package/dist/PropParser.js +60 -58
  11. package/dist/PropParser.js.map +1 -1
  12. package/dist/Reading.js +5 -4
  13. package/dist/Reading.js.map +1 -1
  14. package/dist/ScriptIterator.js +97 -97
  15. package/dist/ScriptIterator.js.map +1 -1
  16. package/dist/SndBuf.js +37 -35
  17. package/dist/SndBuf.js.map +1 -1
  18. package/dist/Variable.js +89 -94
  19. package/dist/Variable.js.map +1 -1
  20. package/dist/sn/CmnTween.d.ts +4 -15
  21. package/dist/sn/CmnTween.d.ts.map +1 -1
  22. package/dist/sn/EventMng.d.ts.map +1 -1
  23. package/dist/sn/GrpLayer.d.ts +1 -1
  24. package/dist/sn/GrpLayer.d.ts.map +1 -1
  25. package/dist/sn/Layer.d.ts +1 -1
  26. package/dist/sn/Layer.d.ts.map +1 -1
  27. package/dist/sn/LayerMng.d.ts.map +1 -1
  28. package/dist/sn/Main.d.ts.map +1 -1
  29. package/dist/sn/PropParser.d.ts +7 -4
  30. package/dist/sn/PropParser.d.ts.map +1 -1
  31. package/dist/sn/Reading.d.ts +1 -1
  32. package/dist/sn/Reading.d.ts.map +1 -1
  33. package/dist/sn/ScriptIterator.d.ts.map +1 -1
  34. package/dist/sn/SndBuf.d.ts.map +1 -1
  35. package/dist/sn/Variable.d.ts.map +1 -1
  36. package/dist/web2.js +3 -3
  37. package/dist/web2.js.map +1 -1
  38. package/dist_app/CmnTween.js +118 -125
  39. package/dist_app/CmnTween.js.map +1 -1
  40. package/dist_app/EventMng.js +244 -245
  41. package/dist_app/EventMng.js.map +1 -1
  42. package/dist_app/GrpLayer.js +16 -11
  43. package/dist_app/GrpLayer.js.map +1 -1
  44. package/dist_app/LayerMng.js +59 -60
  45. package/dist_app/LayerMng.js.map +1 -1
  46. package/dist_app/Main.js.map +1 -1
  47. package/dist_app/PropParser.js +37 -35
  48. package/dist_app/PropParser.js.map +1 -1
  49. package/dist_app/Reading.js +5 -4
  50. package/dist_app/Reading.js.map +1 -1
  51. package/dist_app/ScriptIterator.js +151 -151
  52. package/dist_app/ScriptIterator.js.map +1 -1
  53. package/dist_app/SndBuf.js +37 -35
  54. package/dist_app/SndBuf.js.map +1 -1
  55. package/dist_app/Variable.js +89 -94
  56. package/dist_app/Variable.js.map +1 -1
  57. package/dist_app/app2.js +3 -3
  58. package/dist_app/app2.js.map +1 -1
  59. package/dist_app/sn/CmnTween.d.ts +4 -15
  60. package/dist_app/sn/CmnTween.d.ts.map +1 -1
  61. package/dist_app/sn/EventMng.d.ts.map +1 -1
  62. package/dist_app/sn/GrpLayer.d.ts +1 -1
  63. package/dist_app/sn/GrpLayer.d.ts.map +1 -1
  64. package/dist_app/sn/Layer.d.ts +1 -1
  65. package/dist_app/sn/Layer.d.ts.map +1 -1
  66. package/dist_app/sn/LayerMng.d.ts.map +1 -1
  67. package/dist_app/sn/Main.d.ts.map +1 -1
  68. package/dist_app/sn/PropParser.d.ts +7 -4
  69. package/dist_app/sn/PropParser.d.ts.map +1 -1
  70. package/dist_app/sn/Reading.d.ts +1 -1
  71. package/dist_app/sn/Reading.d.ts.map +1 -1
  72. package/dist_app/sn/ScriptIterator.d.ts.map +1 -1
  73. package/dist_app/sn/SndBuf.d.ts.map +1 -1
  74. package/dist_app/sn/Variable.d.ts.map +1 -1
  75. package/package.json +5 -5
package/dist/EventMng.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { E as se, q as ht, D as G, a as it, w as Ee, d as Te, H as Oe, I as ke, e as J, J as _e, S as Lt, K as Me } from "./web2.js";
2
2
  import { T as Se } from "./TxtLayer.js";
3
3
  import { Button as Jt } from "./Button.js";
4
- import { R as D, a as k } from "./Reading.js";
4
+ import { R as L, a as k } from "./Reading.js";
5
5
  class De {
6
6
  #e = [];
7
7
  #t = -1;
@@ -220,13 +220,13 @@ function ot(i, t, e) {
220
220
  t === void 0 && (t = !1), e === void 0 && (e = !1);
221
221
  var n = i.getBoundingClientRect(), r = 1, s = 1;
222
222
  t && j(i) && (r = i.offsetWidth > 0 && rt(n.width) / i.offsetWidth || 1, s = i.offsetHeight > 0 && rt(n.height) / i.offsetHeight || 1);
223
- var l = tt(i) ? H(i) : window, o = l.visualViewport, a = !ce() && e, u = (n.left + (a && o ? o.offsetLeft : 0)) / r, h = (n.top + (a && o ? o.offsetTop : 0)) / s, p = n.width / r, g = n.height / s;
223
+ var l = tt(i) ? H(i) : window, o = l.visualViewport, a = !ce() && e, u = (n.left + (a && o ? o.offsetLeft : 0)) / r, h = (n.top + (a && o ? o.offsetTop : 0)) / s, p = n.width / r, y = n.height / s;
224
224
  return {
225
225
  width: p,
226
- height: g,
226
+ height: y,
227
227
  top: h,
228
228
  right: u + p,
229
- bottom: h + g,
229
+ bottom: h + y,
230
230
  left: u,
231
231
  x: u,
232
232
  y: h
@@ -338,7 +338,7 @@ var Ue = function(t, e) {
338
338
  function Ke(i) {
339
339
  var t, e = i.state, n = i.name, r = i.options, s = e.elements.arrow, l = e.modifiersData.popperOffsets, o = A(e.placement), a = Rt(o), u = [Y, $].indexOf(o) >= 0, h = u ? "height" : "width";
340
340
  if (!(!s || !l)) {
341
- var p = Ue(r.padding, e), g = jt(s), d = a === "y" ? C : Y, m = a === "y" ? R : $, v = e.rects.reference[h] + e.rects.reference[a] - l[a] - e.rects.popper[h], y = l[a] - e.rects.reference[a], w = mt(s), c = w ? a === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, f = v / 2 - y / 2, b = p[d], E = c - g[h] - p[m], x = c / 2 - g[h] / 2 + f, T = ut(b, x, E), S = a;
341
+ var p = Ue(r.padding, e), y = jt(s), d = a === "y" ? C : Y, m = a === "y" ? R : $, v = e.rects.reference[h] + e.rects.reference[a] - l[a] - e.rects.popper[h], g = l[a] - e.rects.reference[a], w = mt(s), c = w ? a === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, f = v / 2 - g / 2, b = p[d], E = c - y[h] - p[m], x = c / 2 - y[h] / 2 + f, T = ut(b, x, E), S = a;
342
342
  e.modifiersData[n] = (t = {}, t[S] = T, t.centerOffset = T - x, t);
343
343
  }
344
344
  }
@@ -372,14 +372,14 @@ function Qe(i, t) {
372
372
  };
373
373
  }
374
374
  function Qt(i) {
375
- var t, e = i.popper, n = i.popperRect, r = i.placement, s = i.variation, l = i.offsets, o = i.position, a = i.gpuAcceleration, u = i.adaptive, h = i.roundOffsets, p = i.isFixed, g = l.x, d = g === void 0 ? 0 : g, m = l.y, v = m === void 0 ? 0 : m, y = typeof h == "function" ? h({
375
+ var t, e = i.popper, n = i.popperRect, r = i.placement, s = i.variation, l = i.offsets, o = i.position, a = i.gpuAcceleration, u = i.adaptive, h = i.roundOffsets, p = i.isFixed, y = l.x, d = y === void 0 ? 0 : y, m = l.y, v = m === void 0 ? 0 : m, g = typeof h == "function" ? h({
376
376
  x: d,
377
377
  y: v
378
378
  }) : {
379
379
  x: d,
380
380
  y: v
381
381
  };
382
- d = y.x, v = y.y;
382
+ d = g.x, v = g.y;
383
383
  var w = l.hasOwnProperty("x"), c = l.hasOwnProperty("y"), f = Y, b = C, E = window;
384
384
  if (u) {
385
385
  var x = mt(e), T = "clientHeight", S = "clientWidth";
@@ -402,16 +402,16 @@ function Qt(i) {
402
402
  }
403
403
  var O = Object.assign({
404
404
  position: o
405
- }, u && Ze), P = h === !0 ? Qe({
405
+ }, u && Ze), D = h === !0 ? Qe({
406
406
  x: d,
407
407
  y: v
408
408
  }, H(e)) : {
409
409
  x: d,
410
410
  y: v
411
411
  };
412
- if (d = P.x, v = P.y, a) {
413
- var L;
414
- return Object.assign({}, O, (L = {}, L[b] = c ? "0" : "", L[f] = w ? "0" : "", L.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + v + "px)" : "translate3d(" + d + "px, " + v + "px, 0)", L));
412
+ if (d = D.x, v = D.y, a) {
413
+ var P;
414
+ return Object.assign({}, O, (P = {}, P[b] = c ? "0" : "", P[f] = w ? "0" : "", P.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + v + "px)" : "translate3d(" + d + "px, " + v + "px, 0)", P));
415
415
  }
416
416
  return Object.assign({}, O, (t = {}, t[b] = c ? v + "px" : "", t[f] = w ? d + "px" : "", t.transform = "", t));
417
417
  }
@@ -613,21 +613,21 @@ function ve(i) {
613
613
  }
614
614
  function pt(i, t) {
615
615
  t === void 0 && (t = {});
616
- var e = t, n = e.placement, r = n === void 0 ? i.placement : n, s = e.strategy, l = s === void 0 ? i.strategy : s, o = e.boundary, a = o === void 0 ? Pe : o, u = e.rootBoundary, h = u === void 0 ? ae : u, p = e.elementContext, g = p === void 0 ? ct : p, d = e.altBoundary, m = d === void 0 ? !1 : d, v = e.padding, y = v === void 0 ? 0 : v, w = de(typeof y != "number" ? y : fe(y, vt)), c = g === ct ? Le : ct, f = i.rects.popper, b = i.elements[m ? c : g], E = hi(tt(b) ? b : b.contextElement || q(i.elements.popper), a, h, l), x = ot(i.elements.reference), T = ve({
616
+ var e = t, n = e.placement, r = n === void 0 ? i.placement : n, s = e.strategy, l = s === void 0 ? i.strategy : s, o = e.boundary, a = o === void 0 ? Pe : o, u = e.rootBoundary, h = u === void 0 ? ae : u, p = e.elementContext, y = p === void 0 ? ct : p, d = e.altBoundary, m = d === void 0 ? !1 : d, v = e.padding, g = v === void 0 ? 0 : v, w = de(typeof g != "number" ? g : fe(g, vt)), c = y === ct ? Le : ct, f = i.rects.popper, b = i.elements[m ? c : y], E = hi(tt(b) ? b : b.contextElement || q(i.elements.popper), a, h, l), x = ot(i.elements.reference), T = ve({
617
617
  reference: x,
618
618
  element: f,
619
619
  placement: r
620
- }), S = Yt(Object.assign({}, f, T)), M = g === ct ? S : x, _ = {
620
+ }), S = Yt(Object.assign({}, f, T)), M = y === ct ? S : x, _ = {
621
621
  top: E.top - M.top + w.top,
622
622
  bottom: M.bottom - E.bottom + w.bottom,
623
623
  left: E.left - M.left + w.left,
624
624
  right: M.right - E.right + w.right
625
625
  }, O = i.modifiersData.offset;
626
- if (g === ct && O) {
627
- var P = O[r];
628
- Object.keys(_).forEach(function(L) {
629
- var F = [$, R].indexOf(L) >= 0 ? 1 : -1, I = [C, R].indexOf(L) >= 0 ? "y" : "x";
630
- _[L] += P[I] * F;
626
+ if (y === ct && O) {
627
+ var D = O[r];
628
+ Object.keys(_).forEach(function(P) {
629
+ var F = [$, R].indexOf(P) >= 0 ? 1 : -1, I = [C, R].indexOf(P) >= 0 ? "y" : "x";
630
+ _[P] += D[I] * F;
631
631
  });
632
632
  }
633
633
  return _;
@@ -636,11 +636,11 @@ function ui(i, t) {
636
636
  t === void 0 && (t = {});
637
637
  var e = t, n = e.placement, r = e.boundary, s = e.rootBoundary, l = e.padding, o = e.flipVariations, a = e.allowedAutoPlacements, u = a === void 0 ? le : a, h = st(n), p = h ? o ? Gt : Gt.filter(function(m) {
638
638
  return st(m) === h;
639
- }) : vt, g = p.filter(function(m) {
639
+ }) : vt, y = p.filter(function(m) {
640
640
  return u.indexOf(m) >= 0;
641
641
  });
642
- g.length === 0 && (g = p);
643
- var d = g.reduce(function(m, v) {
642
+ y.length === 0 && (y = p);
643
+ var d = y.reduce(function(m, v) {
644
644
  return m[v] = pt(i, {
645
645
  placement: v,
646
646
  boundary: r,
@@ -661,7 +661,7 @@ function di(i) {
661
661
  function fi(i) {
662
662
  var t = i.state, e = i.options, n = i.name;
663
663
  if (!t.modifiersData[n]._skip) {
664
- for (var r = e.mainAxis, s = r === void 0 ? !0 : r, l = e.altAxis, o = l === void 0 ? !0 : l, a = e.fallbackPlacements, u = e.padding, h = e.boundary, p = e.rootBoundary, g = e.altBoundary, d = e.flipVariations, m = d === void 0 ? !0 : d, v = e.allowedAutoPlacements, y = t.options.placement, w = A(y), c = w === y, f = a || (c || !m ? [Tt(y)] : di(y)), b = [y].concat(f).reduce(function(et, N) {
664
+ for (var r = e.mainAxis, s = r === void 0 ? !0 : r, l = e.altAxis, o = l === void 0 ? !0 : l, a = e.fallbackPlacements, u = e.padding, h = e.boundary, p = e.rootBoundary, y = e.altBoundary, d = e.flipVariations, m = d === void 0 ? !0 : d, v = e.allowedAutoPlacements, g = t.options.placement, w = A(g), c = w === g, f = a || (c || !m ? [Tt(g)] : di(g)), b = [g].concat(f).reduce(function(et, N) {
665
665
  return et.concat(A(N) === Xt ? ui(t, {
666
666
  placement: N,
667
667
  boundary: h,
@@ -671,16 +671,16 @@ function fi(i) {
671
671
  allowedAutoPlacements: v
672
672
  }) : N);
673
673
  }, []), E = t.rects.reference, x = t.rects.popper, T = /* @__PURE__ */ new Map(), S = !0, M = b[0], _ = 0; _ < b.length; _++) {
674
- var O = b[_], P = A(O), L = st(O) === nt, F = [C, R].indexOf(P) >= 0, I = F ? "width" : "height", X = pt(t, {
674
+ var O = b[_], D = A(O), P = st(O) === nt, F = [C, R].indexOf(D) >= 0, I = F ? "width" : "height", X = pt(t, {
675
675
  placement: O,
676
676
  boundary: h,
677
677
  rootBoundary: p,
678
- altBoundary: g,
678
+ altBoundary: y,
679
679
  padding: u
680
- }), V = F ? L ? $ : Y : L ? R : C;
680
+ }), V = F ? P ? $ : Y : P ? R : C;
681
681
  E[I] > x[I] && (V = Tt(V));
682
682
  var gt = Tt(V), z = [];
683
- if (s && z.push(X[P] <= 0), o && z.push(X[V] <= 0, X[gt] <= 0), z.every(function(et) {
683
+ if (s && z.push(X[D] <= 0), o && z.push(X[V] <= 0, X[gt] <= 0), z.every(function(et) {
684
684
  return et;
685
685
  })) {
686
686
  M = O, S = !1;
@@ -799,7 +799,7 @@ function Ei(i) {
799
799
  return i === "x" ? "y" : "x";
800
800
  }
801
801
  function Ti(i) {
802
- var t = i.state, e = i.options, n = i.name, r = e.mainAxis, s = r === void 0 ? !0 : r, l = e.altAxis, o = l === void 0 ? !1 : l, a = e.boundary, u = e.rootBoundary, h = e.altBoundary, p = e.padding, g = e.tether, d = g === void 0 ? !0 : g, m = e.tetherOffset, v = m === void 0 ? 0 : m, y = pt(t, {
802
+ var t = i.state, e = i.options, n = i.name, r = e.mainAxis, s = r === void 0 ? !0 : r, l = e.altAxis, o = l === void 0 ? !1 : l, a = e.boundary, u = e.rootBoundary, h = e.altBoundary, p = e.padding, y = e.tether, d = y === void 0 ? !0 : y, m = e.tetherOffset, v = m === void 0 ? 0 : m, g = pt(t, {
803
803
  boundary: a,
804
804
  rootBoundary: u,
805
805
  padding: p,
@@ -812,23 +812,23 @@ function Ti(i) {
812
812
  } : Object.assign({
813
813
  mainAxis: 0,
814
814
  altAxis: 0
815
- }, M), O = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, P = {
815
+ }, M), O = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, D = {
816
816
  x: 0,
817
817
  y: 0
818
818
  };
819
819
  if (x) {
820
820
  if (s) {
821
- var L, F = b === "y" ? C : Y, I = b === "y" ? R : $, X = b === "y" ? "height" : "width", V = x[b], gt = V + y[F], z = V - y[I], yt = d ? -S[X] / 2 : 0, Mt = c === nt ? T[X] : S[X], at = c === nt ? -S[X] : -T[X], bt = t.elements.arrow, et = d && bt ? jt(bt) : {
821
+ var P, F = b === "y" ? C : Y, I = b === "y" ? R : $, X = b === "y" ? "height" : "width", V = x[b], gt = V + g[F], z = V - g[I], yt = d ? -S[X] / 2 : 0, Mt = c === nt ? T[X] : S[X], at = c === nt ? -S[X] : -T[X], bt = t.elements.arrow, et = d && bt ? jt(bt) : {
822
822
  width: 0,
823
823
  height: 0
824
- }, N = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ue(), lt = N[F], wt = N[I], U = ut(0, T[X], et[X]), St = f ? T[X] / 2 - yt - U - lt - _.mainAxis : Mt - U - lt - _.mainAxis, me = f ? -T[X] / 2 + yt + U + wt + _.mainAxis : at + U + wt + _.mainAxis, Dt = t.elements.arrow && mt(t.elements.arrow), ge = Dt ? b === "y" ? Dt.clientTop || 0 : Dt.clientLeft || 0 : 0, At = (L = O?.[b]) != null ? L : 0, ye = V + St - At - ge, be = V + me - At, Wt = ut(d ? Ot(gt, ye) : gt, V, d ? Q(z, be) : z);
825
- x[b] = Wt, P[b] = Wt - V;
824
+ }, N = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ue(), lt = N[F], wt = N[I], U = ut(0, T[X], et[X]), St = f ? T[X] / 2 - yt - U - lt - _.mainAxis : Mt - U - lt - _.mainAxis, me = f ? -T[X] / 2 + yt + U + wt + _.mainAxis : at + U + wt + _.mainAxis, Dt = t.elements.arrow && mt(t.elements.arrow), ge = Dt ? b === "y" ? Dt.clientTop || 0 : Dt.clientLeft || 0 : 0, At = (P = O?.[b]) != null ? P : 0, ye = V + St - At - ge, be = V + me - At, Wt = ut(d ? Ot(gt, ye) : gt, V, d ? Q(z, be) : z);
825
+ x[b] = Wt, D[b] = Wt - V;
826
826
  }
827
827
  if (o) {
828
- var Bt, we = b === "x" ? C : Y, xe = b === "x" ? R : $, K = x[E], xt = E === "y" ? "height" : "width", Nt = K + y[we], qt = K - y[xe], Pt = [C, Y].indexOf(w) !== -1, It = (Bt = O?.[E]) != null ? Bt : 0, zt = Pt ? Nt : K - T[xt] - S[xt] - It + _.altAxis, Ut = Pt ? K + T[xt] + S[xt] - It - _.altAxis : qt, Kt = d && Pt ? ze(zt, K, Ut) : ut(d ? zt : Nt, K, d ? Ut : qt);
829
- x[E] = Kt, P[E] = Kt - K;
828
+ var Bt, we = b === "x" ? C : Y, xe = b === "x" ? R : $, K = x[E], xt = E === "y" ? "height" : "width", Nt = K + g[we], qt = K - g[xe], Pt = [C, Y].indexOf(w) !== -1, It = (Bt = O?.[E]) != null ? Bt : 0, zt = Pt ? Nt : K - T[xt] - S[xt] - It + _.altAxis, Ut = Pt ? K + T[xt] + S[xt] - It - _.altAxis : qt, Kt = d && Pt ? ze(zt, K, Ut) : ut(d ? zt : Nt, K, d ? Ut : qt);
829
+ x[E] = Kt, D[E] = Kt - K;
830
830
  }
831
- t.modifiersData[n] = P;
831
+ t.modifiersData[n] = D;
832
832
  }
833
833
  }
834
834
  const Oi = {
@@ -945,7 +945,7 @@ function Yi(i) {
945
945
  },
946
946
  attributes: {},
947
947
  styles: {}
948
- }, p = [], g = !1, d = {
948
+ }, p = [], y = !1, d = {
949
949
  state: h,
950
950
  setOptions: function(w) {
951
951
  var c = typeof w == "function" ? w(h.options) : w;
@@ -964,7 +964,7 @@ function Yi(i) {
964
964
  // For high frequency updates (e.g. `resize` and `scroll` events), always
965
965
  // prefer the async Popper#update method
966
966
  forceUpdate: function() {
967
- if (!g) {
967
+ if (!y) {
968
968
  var w = h.elements, c = w.reference, f = w.popper;
969
969
  if (oe(c, f)) {
970
970
  h.rects = {
@@ -992,22 +992,22 @@ function Yi(i) {
992
992
  // Async and optimistically optimized update – it will not be executed if
993
993
  // not necessary (debounced to run at most once-per-tick)
994
994
  update: Li(function() {
995
- return new Promise(function(y) {
996
- d.forceUpdate(), y(h);
995
+ return new Promise(function(g) {
996
+ d.forceUpdate(), g(h);
997
997
  });
998
998
  }),
999
999
  destroy: function() {
1000
- v(), g = !0;
1000
+ v(), y = !0;
1001
1001
  }
1002
1002
  };
1003
1003
  if (!oe(o, a))
1004
1004
  return d;
1005
- d.setOptions(u).then(function(y) {
1006
- !g && u.onFirstUpdate && u.onFirstUpdate(y);
1005
+ d.setOptions(u).then(function(g) {
1006
+ !y && u.onFirstUpdate && u.onFirstUpdate(g);
1007
1007
  });
1008
1008
  function m() {
1009
- h.orderedModifiers.forEach(function(y) {
1010
- var w = y.name, c = y.options, f = c === void 0 ? {} : c, b = y.effect;
1009
+ h.orderedModifiers.forEach(function(g) {
1010
+ var w = g.name, c = g.options, f = c === void 0 ? {} : c, b = g.effect;
1011
1011
  if (typeof b == "function") {
1012
1012
  var E = b({
1013
1013
  state: h,
@@ -1021,8 +1021,8 @@ function Yi(i) {
1021
1021
  });
1022
1022
  }
1023
1023
  function v() {
1024
- p.forEach(function(y) {
1025
- return y();
1024
+ p.forEach(function(g) {
1025
+ return g();
1026
1026
  }), p = [];
1027
1027
  }
1028
1028
  return d;
@@ -1073,33 +1073,33 @@ class _t {
1073
1073
  this.handlers[t][n](e);
1074
1074
  }
1075
1075
  onTouchStart(t) {
1076
- var e, n, r, s, l, o, a, u, h, p, g, d, m, v, y, w, c, f, b, E, x, T, S, M, _, O;
1077
- let P = !1;
1076
+ var e, n, r, s, l, o, a, u, h, p, y, d, m, v, g, w, c, f, b, E, x, T, S, M, _, O;
1077
+ let D = !1;
1078
1078
  if (t.type !== "mousedown") {
1079
- if (this.touch1 || (this.touch1 = t.changedTouches[0], P = !0), (P && t.changedTouches.length > 1 || !P) && !this.touch2) {
1080
- this.touch2 = [...t.changedTouches].find((L) => {
1079
+ if (this.touch1 || (this.touch1 = t.changedTouches[0], D = !0), (D && t.changedTouches.length > 1 || !D) && !this.touch2) {
1080
+ this.touch2 = [...t.changedTouches].find((P) => {
1081
1081
  var F;
1082
- return L.identifier !== ((F = this.touch1) === null || F === void 0 ? void 0 : F.identifier);
1083
- }) || null, this.originalDistance = Math.sqrt(Math.pow(((n = (e = this.touch2) === null || e === void 0 ? void 0 : e.screenX) !== null && n !== void 0 ? n : 0) - ((o = (s = (r = this.touchMove1) === null || r === void 0 ? void 0 : r.screenX) !== null && s !== void 0 ? s : (l = this.touch1) === null || l === void 0 ? void 0 : l.screenX) !== null && o !== void 0 ? o : 0), 2) + Math.pow(((u = (a = this.touch2) === null || a === void 0 ? void 0 : a.screenY) !== null && u !== void 0 ? u : 0) - ((d = (p = (h = this.touchMove1) === null || h === void 0 ? void 0 : h.screenY) !== null && p !== void 0 ? p : (g = this.touch1) === null || g === void 0 ? void 0 : g.screenY) !== null && d !== void 0 ? d : 0), 2)), this.originalAngle = Math.atan2(((v = (m = this.touch2) === null || m === void 0 ? void 0 : m.screenY) !== null && v !== void 0 ? v : 0) - ((f = (w = (y = this.touchMove1) === null || y === void 0 ? void 0 : y.screenY) !== null && w !== void 0 ? w : (c = this.touch1) === null || c === void 0 ? void 0 : c.screenY) !== null && f !== void 0 ? f : 0), ((E = (b = this.touch2) === null || b === void 0 ? void 0 : b.screenX) !== null && E !== void 0 ? E : 0) - ((M = (T = (x = this.touchMove1) === null || x === void 0 ? void 0 : x.screenX) !== null && T !== void 0 ? T : (S = this.touch1) === null || S === void 0 ? void 0 : S.screenX) !== null && M !== void 0 ? M : 0)) / (Math.PI / 180);
1082
+ return P.identifier !== ((F = this.touch1) === null || F === void 0 ? void 0 : F.identifier);
1083
+ }) || null, this.originalDistance = Math.sqrt(Math.pow(((n = (e = this.touch2) === null || e === void 0 ? void 0 : e.screenX) !== null && n !== void 0 ? n : 0) - ((o = (s = (r = this.touchMove1) === null || r === void 0 ? void 0 : r.screenX) !== null && s !== void 0 ? s : (l = this.touch1) === null || l === void 0 ? void 0 : l.screenX) !== null && o !== void 0 ? o : 0), 2) + Math.pow(((u = (a = this.touch2) === null || a === void 0 ? void 0 : a.screenY) !== null && u !== void 0 ? u : 0) - ((d = (p = (h = this.touchMove1) === null || h === void 0 ? void 0 : h.screenY) !== null && p !== void 0 ? p : (y = this.touch1) === null || y === void 0 ? void 0 : y.screenY) !== null && d !== void 0 ? d : 0), 2)), this.originalAngle = Math.atan2(((v = (m = this.touch2) === null || m === void 0 ? void 0 : m.screenY) !== null && v !== void 0 ? v : 0) - ((f = (w = (g = this.touchMove1) === null || g === void 0 ? void 0 : g.screenY) !== null && w !== void 0 ? w : (c = this.touch1) === null || c === void 0 ? void 0 : c.screenY) !== null && f !== void 0 ? f : 0), ((E = (b = this.touch2) === null || b === void 0 ? void 0 : b.screenX) !== null && E !== void 0 ? E : 0) - ((M = (T = (x = this.touchMove1) === null || x === void 0 ? void 0 : x.screenX) !== null && T !== void 0 ? T : (S = this.touch1) === null || S === void 0 ? void 0 : S.screenX) !== null && M !== void 0 ? M : 0)) / (Math.PI / 180);
1084
1084
  return;
1085
1085
  }
1086
- if (!P)
1086
+ if (!D)
1087
1087
  return;
1088
1088
  }
1089
- (P || t.type === "mousedown") && (this.thresholdX = this.opts.threshold("x", this), this.thresholdY = this.opts.threshold("y", this), this.disregardVelocityThresholdX = this.opts.disregardVelocityThreshold("x", this), this.disregardVelocityThresholdY = this.opts.disregardVelocityThreshold("y", this), this.touchStartX = t.type === "mousedown" ? t.screenX : ((_ = this.touch1) === null || _ === void 0 ? void 0 : _.screenX) || 0, this.touchStartY = t.type === "mousedown" ? t.screenY : ((O = this.touch1) === null || O === void 0 ? void 0 : O.screenY) || 0, this.touchMoveX = null, this.touchMoveY = null, this.touchEndX = null, this.touchEndY = null, this.swipingDirection = null, this.longPressTimer = setTimeout(() => this.fire("longpress", t), this.opts.longPressTime), this.scale = 1, this.rotation = 0, this.fire("panstart", t));
1089
+ (D || t.type === "mousedown") && (this.thresholdX = this.opts.threshold("x", this), this.thresholdY = this.opts.threshold("y", this), this.disregardVelocityThresholdX = this.opts.disregardVelocityThreshold("x", this), this.disregardVelocityThresholdY = this.opts.disregardVelocityThreshold("y", this), this.touchStartX = t.type === "mousedown" ? t.screenX : ((_ = this.touch1) === null || _ === void 0 ? void 0 : _.screenX) || 0, this.touchStartY = t.type === "mousedown" ? t.screenY : ((O = this.touch1) === null || O === void 0 ? void 0 : O.screenY) || 0, this.touchMoveX = null, this.touchMoveY = null, this.touchEndX = null, this.touchEndY = null, this.swipingDirection = null, this.longPressTimer = setTimeout(() => this.fire("longpress", t), this.opts.longPressTime), this.scale = 1, this.rotation = 0, this.fire("panstart", t));
1090
1090
  }
1091
1091
  onTouchMove(t) {
1092
- var e, n, r, s, l, o, a, u, h, p, g, d, m;
1092
+ var e, n, r, s, l, o, a, u, h, p, y, d, m;
1093
1093
  if (t.type === "mousemove" && (!this.touchStartX || this.touchEndX !== null))
1094
1094
  return;
1095
- let v, y;
1095
+ let v, g;
1096
1096
  if (t.type !== "mousemove" && (v = [...t.changedTouches].find((w) => {
1097
1097
  var c;
1098
1098
  return w.identifier === ((c = this.touch1) === null || c === void 0 ? void 0 : c.identifier);
1099
- }), this.touchMove1 = v || this.touchMove1, y = [...t.changedTouches].find((w) => {
1099
+ }), this.touchMove1 = v || this.touchMove1, g = [...t.changedTouches].find((w) => {
1100
1100
  var c;
1101
1101
  return w.identifier === ((c = this.touch2) === null || c === void 0 ? void 0 : c.identifier);
1102
- }), this.touchMove2 = y || this.touchMove2), t.type === "mousemove" || v) {
1102
+ }), this.touchMove2 = g || this.touchMove2), t.type === "mousemove" || v) {
1103
1103
  const w = (t.type === "mousemove" ? t.screenX : (e = v?.screenX) !== null && e !== void 0 ? e : 0) - ((n = this.touchStartX) !== null && n !== void 0 ? n : 0);
1104
1104
  this.velocityX = w - ((r = this.touchMoveX) !== null && r !== void 0 ? r : 0), this.touchMoveX = w;
1105
1105
  const c = (t.type === "mousemove" ? t.screenY : (s = v?.screenY) !== null && s !== void 0 ? s : 0) - ((l = this.touchStartY) !== null && l !== void 0 ? l : 0);
@@ -1107,12 +1107,12 @@ class _t {
1107
1107
  const f = Math.abs(this.touchMoveX), b = Math.abs(this.touchMoveY);
1108
1108
  this.swipingHorizontal = f > this.thresholdX, this.swipingVertical = b > this.thresholdY, this.swipingDirection = f > b ? this.swipingHorizontal ? "horizontal" : "pre-horizontal" : this.swipingVertical ? "vertical" : "pre-vertical", Math.max(f, b) > this.opts.pressThreshold && clearTimeout((a = this.longPressTimer) !== null && a !== void 0 ? a : void 0), this.fire("panmove", t);
1109
1109
  }
1110
- t.type !== "mousemove" && this.touchMove1 != null && this.touchMove2 != null && (this.newDistance = Math.sqrt(Math.pow(this.touchMove2.screenX - this.touchMove1.screenX, 2) + Math.pow(this.touchMove2.screenY - this.touchMove1.screenY, 2)), this.scale = this.newDistance / ((u = this.originalDistance) !== null && u !== void 0 ? u : 0), this.fire("pinch", t), this.newAngle = Math.atan2(((h = this.touchMove2.screenY) !== null && h !== void 0 ? h : 0) - ((p = this.touchMove1.screenY) !== null && p !== void 0 ? p : 0), ((g = this.touchMove2.screenX) !== null && g !== void 0 ? g : 0) - ((d = this.touchMove1.screenX) !== null && d !== void 0 ? d : 0)) / (Math.PI / 180), this.rotation = this.newAngle - ((m = this.originalAngle) !== null && m !== void 0 ? m : 0), this.fire("rotate", t));
1110
+ t.type !== "mousemove" && this.touchMove1 != null && this.touchMove2 != null && (this.newDistance = Math.sqrt(Math.pow(this.touchMove2.screenX - this.touchMove1.screenX, 2) + Math.pow(this.touchMove2.screenY - this.touchMove1.screenY, 2)), this.scale = this.newDistance / ((u = this.originalDistance) !== null && u !== void 0 ? u : 0), this.fire("pinch", t), this.newAngle = Math.atan2(((h = this.touchMove2.screenY) !== null && h !== void 0 ? h : 0) - ((p = this.touchMove1.screenY) !== null && p !== void 0 ? p : 0), ((y = this.touchMove2.screenX) !== null && y !== void 0 ? y : 0) - ((d = this.touchMove1.screenX) !== null && d !== void 0 ? d : 0)) / (Math.PI / 180), this.rotation = this.newAngle - ((m = this.originalAngle) !== null && m !== void 0 ? m : 0), this.fire("rotate", t));
1111
1111
  }
1112
1112
  onTouchEnd(t) {
1113
1113
  var e, n, r, s, l, o, a, u, h, p;
1114
- let g;
1115
- if (t.type !== "mouseup" && (g = [...t.changedTouches].find((d) => {
1114
+ let y;
1115
+ if (t.type !== "mouseup" && (y = [...t.changedTouches].find((d) => {
1116
1116
  var m;
1117
1117
  return d.identifier === ((m = this.touch1) === null || m === void 0 ? void 0 : m.identifier);
1118
1118
  }), [...t.touches].find((d) => {
@@ -1122,10 +1122,10 @@ class _t {
1122
1122
  var m;
1123
1123
  return d.identifier === ((m = this.touch2) === null || m === void 0 ? void 0 : m.identifier);
1124
1124
  }) || (this.touch2 = null, this.touchMove2 = null)), !(t.type === "mouseup" && (!this.touchStartX || this.touchEndX !== null))) {
1125
- if (t.type === "mouseup" || g) {
1126
- this.touchEndX = t.type === "mouseup" ? t.screenX : (e = g?.screenX) !== null && e !== void 0 ? e : 0, this.touchEndY = t.type === "mouseup" ? t.screenY : (n = g?.screenY) !== null && n !== void 0 ? n : 0, this.fire("panend", t), clearTimeout((r = this.longPressTimer) !== null && r !== void 0 ? r : void 0);
1127
- const d = this.touchEndX - ((s = this.touchStartX) !== null && s !== void 0 ? s : 0), m = Math.abs(d), v = this.touchEndY - ((l = this.touchStartY) !== null && l !== void 0 ? l : 0), y = Math.abs(v), w = Math.sqrt(Math.pow(d, 2) + Math.pow(v, 2)), c = Math.abs(w), f = y / m;
1128
- m > this.thresholdX || y > this.thresholdY || this.opts.diagonalSwipes && (c > this.thresholdX || c > this.thresholdY) ? (this.swipedHorizontal = m > this.thresholdX || this.opts.diagonalSwipes && c > this.thresholdX, this.swipedVertical = y > this.thresholdY || this.opts.diagonalSwipes && c > this.thresholdY, (!this.opts.diagonalSwipes || f < Math.tan((45 - this.opts.diagonalLimit) * Math.PI / 180) || f > Math.tan((45 + this.opts.diagonalLimit) * Math.PI / 180)) && (m >= y && (this.swipedVertical = !1), y > m && (this.swipedHorizontal = !1)), this.swipedHorizontal && (d < 0 ? (((o = this.velocityX) !== null && o !== void 0 ? o : 0) < -this.opts.velocityThreshold || w < -this.disregardVelocityThresholdX) && this.fire("swipeleft", t) : (((a = this.velocityX) !== null && a !== void 0 ? a : 0) > this.opts.velocityThreshold || w > this.disregardVelocityThresholdX) && this.fire("swiperight", t)), this.swipedVertical && (v < 0 ? (((u = this.velocityY) !== null && u !== void 0 ? u : 0) < -this.opts.velocityThreshold || w < -this.disregardVelocityThresholdY) && this.fire("swipeup", t) : (((h = this.velocityY) !== null && h !== void 0 ? h : 0) > this.opts.velocityThreshold || w > this.disregardVelocityThresholdY) && this.fire("swipedown", t))) : m < this.opts.pressThreshold && y < this.opts.pressThreshold && (this.doubleTapWaiting ? (this.doubleTapWaiting = !1, clearTimeout((p = this.doubleTapTimer) !== null && p !== void 0 ? p : void 0), this.fire("doubletap", t)) : (this.doubleTapWaiting = !0, this.doubleTapTimer = setTimeout(() => this.doubleTapWaiting = !1, this.opts.doubleTapTime), this.fire("tap", t)));
1125
+ if (t.type === "mouseup" || y) {
1126
+ this.touchEndX = t.type === "mouseup" ? t.screenX : (e = y?.screenX) !== null && e !== void 0 ? e : 0, this.touchEndY = t.type === "mouseup" ? t.screenY : (n = y?.screenY) !== null && n !== void 0 ? n : 0, this.fire("panend", t), clearTimeout((r = this.longPressTimer) !== null && r !== void 0 ? r : void 0);
1127
+ const d = this.touchEndX - ((s = this.touchStartX) !== null && s !== void 0 ? s : 0), m = Math.abs(d), v = this.touchEndY - ((l = this.touchStartY) !== null && l !== void 0 ? l : 0), g = Math.abs(v), w = Math.sqrt(Math.pow(d, 2) + Math.pow(v, 2)), c = Math.abs(w), f = g / m;
1128
+ m > this.thresholdX || g > this.thresholdY || this.opts.diagonalSwipes && (c > this.thresholdX || c > this.thresholdY) ? (this.swipedHorizontal = m > this.thresholdX || this.opts.diagonalSwipes && c > this.thresholdX, this.swipedVertical = g > this.thresholdY || this.opts.diagonalSwipes && c > this.thresholdY, (!this.opts.diagonalSwipes || f < Math.tan((45 - this.opts.diagonalLimit) * Math.PI / 180) || f > Math.tan((45 + this.opts.diagonalLimit) * Math.PI / 180)) && (m >= g && (this.swipedVertical = !1), g > m && (this.swipedHorizontal = !1)), this.swipedHorizontal && (d < 0 ? (((o = this.velocityX) !== null && o !== void 0 ? o : 0) < -this.opts.velocityThreshold || w < -this.disregardVelocityThresholdX) && this.fire("swipeleft", t) : (((a = this.velocityX) !== null && a !== void 0 ? a : 0) > this.opts.velocityThreshold || w > this.disregardVelocityThresholdX) && this.fire("swiperight", t)), this.swipedVertical && (v < 0 ? (((u = this.velocityY) !== null && u !== void 0 ? u : 0) < -this.opts.velocityThreshold || w < -this.disregardVelocityThresholdY) && this.fire("swipeup", t) : (((h = this.velocityY) !== null && h !== void 0 ? h : 0) > this.opts.velocityThreshold || w > this.disregardVelocityThresholdY) && this.fire("swipedown", t))) : m < this.opts.pressThreshold && g < this.opts.pressThreshold && (this.doubleTapWaiting ? (this.doubleTapWaiting = !1, clearTimeout((p = this.doubleTapTimer) !== null && p !== void 0 ? p : void 0), this.fire("doubletap", t)) : (this.doubleTapWaiting = !0, this.doubleTapTimer = setTimeout(() => this.doubleTapWaiting = !1, this.opts.doubleTapTime), this.fire("tap", t)));
1129
1129
  }
1130
1130
  !this.touch1 && !this.touch2 && (this.fire("pinchend", t), this.fire("rotateend", t), this.originalDistance = null, this.newDistance = null, this.scale = null, this.originalAngle = null, this.newAngle = null, this.rotation = null);
1131
1131
  }
@@ -1153,7 +1153,7 @@ try {
1153
1153
  }
1154
1154
  class Vi {
1155
1155
  constructor(t, e, n, r, s, l, o, a, u) {
1156
- if (this.cfg = t, this.hTag = e, this.appPixi = n, this.main = r, this.layMng = s, this.val = l, this.scrItr = a, this.sys = u, e.clear_event = (c) => D.clear_event(c), e.event = (c) => this.#b(c), e.set_cancel_skip = () => !1, e.set_focus = (c) => this.#w(c), o.setEvtMng(this), a.setOtherObj(this, s), Se.setEvtMng(this, u, a), s.setEvtMng(this), k.setFcs(this.#t), u.setFire((c, f) => k.fire(c, f)), it.isDbg) {
1156
+ if (this.cfg = t, this.hTag = e, this.appPixi = n, this.main = r, this.layMng = s, this.val = l, this.scrItr = a, this.sys = u, e.clear_event = (c) => L.clear_event(c), e.event = (c) => this.#b(c), e.set_cancel_skip = () => !1, e.set_focus = (c) => this.#w(c), o.setEvtMng(this), a.setOtherObj(this, s), Se.setEvtMng(this, u, a), s.setEvtMng(this), k.setFcs(this.#t), u.setFire((c, f) => k.fire(c, f)), it.isDbg) {
1157
1157
  const c = {
1158
1158
  pause: () => {
1159
1159
  if (!k.isWait) return;
@@ -1203,26 +1203,26 @@ class Vi {
1203
1203
  <div class="sn_hint" role="tooltip">
1204
1204
  <span>Dummy</span>
1205
1205
  <div class="sn_hint_ar" data-popper-arrow></div>
1206
- </div>`), this.#i = document.querySelector(".sn_hint"), this.#u = this.#i.querySelector("span"), this.#d = Hi(this.#v, this.#i), this.#i.hidden = !0, n.stage.interactive = !0, this.#e.add(document.body, G, (c) => this.#o(c)), this.#e.add(document.body, "keyup", () => D.resetFired()), this.#e.add(r.cvs, "contextmenu", (c) => {
1206
+ </div>`), this.#i = document.querySelector(".sn_hint"), this.#u = this.#i.querySelector("span"), this.#d = Hi(this.#v, this.#i), this.#i.hidden = !0, n.stage.interactive = !0, this.#e.add(document.body, G, (c) => this.#o(c)), this.#e.add(document.body, "keyup", () => L.resetFired()), this.#e.add(r.cvs, "contextmenu", (c) => {
1207
1207
  const f = this.#s(c) + "rightclick";
1208
1208
  k.fire(f, c, !0), c.preventDefault();
1209
1209
  });
1210
- const { width: h, height: p } = t.oCfg.window, g = Math.floor(h > p ? p / 3 : h / 3);
1210
+ const { width: h, height: p } = t.oCfg.window, y = Math.floor(h > p ? p / 3 : h / 3);
1211
1211
  this.#r = new _t(r.cvs, {
1212
1212
  velocityThreshold: 0,
1213
- disregardVelocityThreshold: (c) => Math.floor(g * (c === "x" ? 1 : 0.5))
1213
+ disregardVelocityThreshold: (c) => Math.floor(y * (c === "x" ? 1 : 0.5))
1214
1214
  });
1215
1215
  let d = !1;
1216
1216
  this.#r.on("tap", (c) => {
1217
1217
  if (d) return;
1218
1218
  if (c instanceof TouchEvent) {
1219
- k.fire("click", c, !0), D.resetFired();
1219
+ k.fire("click", c, !0), L.resetFired();
1220
1220
  return;
1221
1221
  }
1222
1222
  if (c.button > 1) return;
1223
1223
  const f = this.#s(c) + `${this.#a.get(c.button) ?? ""}click`;
1224
- k.fire(f, c, !0), D.resetFired();
1225
- }), this.#e.add(window, "pointerup", () => D.resetFired()), this.#e.add(window, "pointerout", () => D.resetFired()), this.#r.on("longpress", (c) => {
1224
+ k.fire(f, c, !0), L.resetFired();
1225
+ }), this.#e.add(window, "pointerup", () => L.resetFired()), this.#e.add(window, "pointerout", () => L.resetFired()), this.#r.on("longpress", (c) => {
1226
1226
  if (d = !0, c instanceof TouchEvent) {
1227
1227
  k.fire("longpress", c, !0);
1228
1228
  return;
@@ -1254,8 +1254,8 @@ class Vi {
1254
1254
  }), m();
1255
1255
  const v = (c) => {
1256
1256
  it.isDarkMode = c.matches, l.setVal_Nochk("tmp", "const.sn.isDarkMode", it.isDarkMode);
1257
- }, y = globalThis.matchMedia("(prefers-color-scheme: dark)");
1258
- v(y), this.#e.add(y, "change", (c) => {
1257
+ }, g = globalThis.matchMedia("(prefers-color-scheme: dark)");
1258
+ v(g), this.#e.add(g, "change", (c) => {
1259
1259
  v(c), k.fire("sn:chgDarkMode", c);
1260
1260
  });
1261
1261
  let w = (c, f) => {
@@ -1344,7 +1344,7 @@ class Vi {
1344
1344
  if (e.button > 1) return;
1345
1345
  const n = this.#s(e) + `${this.#a.get(e.button) ?? ""}click`;
1346
1346
  k.fire(n, e, !0);
1347
- }), this.#e.add(t, "pointerup", () => D.resetFired()), this.#e.add(t, "pointerout", () => D.resetFired());
1347
+ }), this.#e.add(t, "pointerup", () => L.resetFired()), this.#e.add(t, "pointerout", () => L.resetFired());
1348
1348
  }
1349
1349
  #l = (t) => {
1350
1350
  };
@@ -1377,7 +1377,7 @@ class Vi {
1377
1377
  }
1378
1378
  destroy() {
1379
1379
  for (const t of Array.from(document.getElementsByClassName("sn_hint"))) t.parentElement?.removeChild(t);
1380
- this.#r.destroy(), D.destroy(), this.#t.destroy(), this.#e.clear();
1380
+ this.#r.destroy(), L.destroy(), this.#t.destroy(), this.#e.clear();
1381
1381
  }
1382
1382
  unButton(t) {
1383
1383
  this.#t.remove(t);
@@ -1385,9 +1385,8 @@ class Vi {
1385
1385
  button(t, e, n, r, s) {
1386
1386
  !t.fn && !t.label && !t.url && this.main.errScript("fnまたはlabelまたはurlは必須です"), t.fn ??= this.scrItr.scriptFn, e.interactive = !0, e.cursor = "pointer";
1387
1387
  const l = t.key?.toLowerCase() ?? " ", o = J(t, "global", !1);
1388
- D.setEvt2Fnc(o, l, () => this.main.resumeByJumpOrCall(t)), e.on(_e, ({ data: p }) => {
1389
- const g = p.originalEvent;
1390
- g.preventDefault(), D.isFirstFire() && k.fire(l, g, !0);
1388
+ L.setEvt2Fnc(o, l, () => this.main.resumeByJumpOrCall(t)), e.on(_e, (p) => {
1389
+ p.preventDefault?.(), k.fire(l, p, !0);
1391
1390
  });
1392
1391
  const a = t.hint ? () => this.#y(t, e) : () => {
1393
1392
  }, u = () => {
@@ -1411,12 +1410,12 @@ class Vi {
1411
1410
  })), t.leavese && (t.leavesebuf ??= "SYS", this.cfg.searchPath(t.leavese, Lt.SOUND), e.on("pointerout", () => {
1412
1411
  this.hTag.playse({ fn: t.leavese, buf: t.leavesebuf, join: !1 });
1413
1412
  })), t.onenter) {
1414
- const p = l + t.onenter.toLowerCase(), g = { fn: t.fn, label: t.onenter, call: !0, key: p };
1415
- D.setEvt2Fnc(o, p, () => this.main.resumeByJumpOrCall(g)), e.on("pointerover", (d) => k.fire(p, d));
1413
+ const p = l + t.onenter.toLowerCase(), y = { fn: t.fn, label: t.onenter, call: !0, key: p };
1414
+ L.setEvt2Fnc(o, p, () => this.main.resumeByJumpOrCall(y)), e.on("pointerover", (d) => k.fire(p, d));
1416
1415
  }
1417
1416
  if (t.onleave) {
1418
- const p = l + t.onleave.toLowerCase(), g = { fn: t.fn, label: t.onleave, call: !0, key: p };
1419
- D.setEvt2Fnc(o, p, () => this.main.resumeByJumpOrCall(g)), e.on("pointerout", (d) => k.fire(p, d));
1417
+ const p = l + t.onleave.toLowerCase(), y = { fn: t.fn, label: t.onleave, call: !0, key: p };
1418
+ L.setEvt2Fnc(o, p, () => this.main.resumeByJumpOrCall(y)), e.on("pointerout", (d) => k.fire(p, d));
1420
1419
  }
1421
1420
  }
1422
1421
  #v = {
@@ -1475,11 +1474,11 @@ class Vi {
1475
1474
  const n = e.toLowerCase(), r = J(t, "call", !1), s = J(t, "global", !1), { fn: l, label: o, url: a } = t;
1476
1475
  if (J(t, "del", !1)) {
1477
1476
  if (l || o || r || a) throw "fn/label/callとdelは同時指定できません";
1478
- return D.clear_eventer(e, s, n), !1;
1477
+ return L.clear_eventer(e, s, n), !1;
1479
1478
  }
1480
1479
  if (!l && !o && !a) throw "fn,label,url いずれかは必須です";
1481
1480
  if (t.fn ??= this.scrItr.scriptFn, e.startsWith("dom=")) {
1482
- const u = D.getHtmlElmList(e);
1481
+ const u = L.getHtmlElmList(e);
1483
1482
  if (u.el.length === 0) {
1484
1483
  if (J(t, "need_err", !0)) throw `HTML内にセレクタ(${u.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
1485
1484
  return !1;
@@ -1498,15 +1497,15 @@ class Vi {
1498
1497
  h = ["input", "change"];
1499
1498
  break;
1500
1499
  }
1501
- const g = h.length;
1502
- for (let d = 0; d < g; ++d) {
1500
+ const y = h.length;
1501
+ for (let d = 0; d < y; ++d) {
1503
1502
  const m = h[d];
1504
1503
  u.el.forEach((v) => {
1505
- this.#e.add(v, m, (y) => {
1506
- if (!k.isWait || this.layMng.getFrmDisabled(u.id) || m === G && y.key !== "Enter") return;
1504
+ this.#e.add(v, m, (g) => {
1505
+ if (!k.isWait || this.layMng.getFrmDisabled(u.id) || m === G && g.key !== "Enter") return;
1507
1506
  const w = v.dataset;
1508
1507
  for (const [c, f] of Object.entries(w)) this.val.setVal_Nochk("tmp", `sn.event.domdata.${c}`, f);
1509
- k.fire(e, y);
1508
+ k.fire(e, g);
1510
1509
  }), d === 0 && this.#t.add(
1511
1510
  v,
1512
1511
  () => this.#g(v) ? (v.focus(), !0) : !1,
@@ -1516,7 +1515,7 @@ class Vi {
1516
1515
  });
1517
1516
  }
1518
1517
  }
1519
- return D.setEvt2Fnc(s, n, () => this.main.resumeByJumpOrCall(t)), !1;
1518
+ return L.setEvt2Fnc(s, n, () => this.main.resumeByJumpOrCall(t)), !1;
1520
1519
  }
1521
1520
  #g(t) {
1522
1521
  if (!t || t.offsetParent === null) return !1;
@@ -1531,7 +1530,7 @@ class Vi {
1531
1530
  #w(t) {
1532
1531
  const { add: e, del: n, to: r } = t;
1533
1532
  if (e?.startsWith("dom=")) {
1534
- const s = D.getHtmlElmList(e);
1533
+ const s = L.getHtmlElmList(e);
1535
1534
  if (s.el.length === 0 && J(t, "need_err", !0)) throw `HTML内にセレクタ(${s.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
1536
1535
  return s.el.forEach((l) => this.#t.add(
1537
1536
  l,
@@ -1541,7 +1540,7 @@ class Vi {
1541
1540
  )), !1;
1542
1541
  }
1543
1542
  if (n?.startsWith("dom=")) {
1544
- const s = D.getHtmlElmList(n);
1543
+ const s = L.getHtmlElmList(n);
1545
1544
  if (s.el.length === 0 && J(t, "need_err", !0)) throw `HTML内にセレクタ(${s.sel})に対応する要素が見つかりません。存在しない場合を許容するなら、need_err=false と指定してください`;
1546
1545
  return s.el.forEach((l) => this.#t.remove(l)), !1;
1547
1546
  }