reacthub-pixitweenjs 0.2.107-alpha.21 → 0.2.107-alpha.24

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/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as re from "react";
2
- import UT, { useEffect as Hn, useState as ws, useRef as me, useLayoutEffect as Zg, useCallback as Vt, useContext as Os, useReducer as $T } from "react";
2
+ import UT, { useEffect as Hn, useState as ws, useRef as ge, useLayoutEffect as Zg, useCallback as Vt, useContext as Os, useReducer as $T } from "react";
3
3
  import { TilingSprite as GT, withFilters as zT, Container as St, Sprite as _o, useApp as Qg, AnimatedSprite as HT, Text as VT, useTick as XT } from "@pixi/react";
4
4
  import * as cr from "pixi.js";
5
5
  import { Transformer as jT } from "reacthub-react-bindings";
@@ -112,7 +112,7 @@ const Ni = re.createContext({}), Ze = {
112
112
  }, f5 = ({
113
113
  children: t
114
114
  }) => {
115
- const [e, r] = ws(0), n = me(), i = me(), a = me(1e-3), u = me(!1), l = me(!1), [f, p] = ws(!1);
115
+ const [e, r] = ws(0), n = ge(), i = ge(), a = ge(1e-3), u = ge(!1), l = ge(!1), [f, p] = ws(!1);
116
116
  Zg(() => (i.current = wt.context(() => {
117
117
  n.current && n.current.progress(0).kill(), n.current && n.current.clear(), n.current && wt.killTweensOf(n.current), n.current = wt.timeline({
118
118
  paused: !0,
@@ -155,9 +155,9 @@ const Ni = re.createContext({}), Ze = {
155
155
  }
156
156
  }, []), _ = Vt((S) => {
157
157
  n.current && n.current.seek(S);
158
- }, []), x = Vt(() => {
159
- n.current && n.current.seek(4);
160
158
  }, []), b = Vt(() => {
159
+ n.current && n.current.seek(4);
160
+ }, []), x = Vt(() => {
161
161
  const S = n.current;
162
162
  return S ? S.totalDuration() : 0;
163
163
  }, []), w = () => {
@@ -193,11 +193,11 @@ const Ni = re.createContext({}), Ze = {
193
193
  handlePause: w,
194
194
  handleReset: c,
195
195
  handleSeek: _,
196
- handleSeekTest: x,
196
+ handleSeekTest: b,
197
197
  handleRestart: d,
198
198
  handleRepeat: m,
199
199
  playerTimeRef: a,
200
- getTimelineDuration: b,
200
+ getTimelineDuration: x,
201
201
  totalDuration: e,
202
202
  setTotalDuration: r,
203
203
  reverseModeRef: u,
@@ -223,9 +223,9 @@ const Ni = re.createContext({}), Ze = {
223
223
  isDragging: !1
224
224
  }), d = 300, m = re.useRef(0), _ = re.useCallback(() => {
225
225
  a && !c.current.isDragging && a(!0);
226
- }, [a]), x = re.useCallback(() => {
227
- a && !c.current.isDragging && a(!1);
228
226
  }, [a]), b = re.useCallback(() => {
227
+ a && !c.current.isDragging && a(!1);
228
+ }, [a]), x = re.useCallback(() => {
229
229
  c.current.isDragging = !0;
230
230
  const S = (/* @__PURE__ */ new Date()).getTime();
231
231
  S - m.current < d && u && u(), m.current = S;
@@ -254,8 +254,8 @@ const Ni = re.createContext({}), Ze = {
254
254
  }
255
255
  }), ds(Ze.TRANSFORMER_DRAG_END, { uniqueId: "timeline" })), c.current.isDragging = !1;
256
256
  }, [n]);
257
- return re.useEffect(() => (t.current && (t.current.on("mouseover", _), t.current.on("mouseout", x), t.current.on("mousedown", b)), () => {
258
- t.current && (t.current.off("mouseover", _), t.current.off("mouseout", x), t.current.off("mousedown", b));
257
+ return re.useEffect(() => (t.current && (t.current.on("mouseover", _), t.current.on("mouseout", b), t.current.on("mousedown", x)), () => {
258
+ t.current && (t.current.off("mouseover", _), t.current.off("mouseout", b), t.current.off("mousedown", x));
259
259
  }), []), /* @__PURE__ */ Ce.jsx(
260
260
  jT,
261
261
  {
@@ -508,13 +508,13 @@ const tp = {
508
508
  }
509
509
  );
510
510
  }, ZE = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Vn = re.forwardRef((t, e) => {
511
- const [r, n] = re.useState(!1), [i, a] = ws(!1), [u, l] = ws(!1), f = me(null), p = me(null), v = me(null), c = me(null), {
511
+ const [r, n] = re.useState(!1), [i, a] = ws(!1), [u, l] = ws(!1), f = ge(null), p = ge(null), v = ge(null), c = ge(null), {
512
512
  uniqueId: d,
513
513
  visible: m,
514
514
  transformation: {
515
515
  x: _,
516
- y: x,
517
- width: b,
516
+ y: b,
517
+ width: x,
518
518
  height: w,
519
519
  scale: E = [1, 1],
520
520
  rotation: S = 0,
@@ -561,9 +561,9 @@ const tp = {
561
561
  St,
562
562
  {
563
563
  ref: f,
564
- position: [_, x],
565
- pivot: [_, x],
566
- width: b,
564
+ position: [_, b],
565
+ pivot: [_, b],
566
+ width: x,
567
567
  height: w,
568
568
  scale: E,
569
569
  rotation: S,
@@ -595,10 +595,10 @@ const tp = {
595
595
  KE,
596
596
  {
597
597
  overlay: O,
598
- width: b,
598
+ width: x,
599
599
  height: w,
600
600
  x: _,
601
- y: x
601
+ y: b
602
602
  }
603
603
  )
604
604
  ]
@@ -749,49 +749,49 @@ var fm = { exports: {} };
749
749
  var v = r ? r + p : p, c = this._events[v];
750
750
  return c ? c.fn ? 1 : c.length : 0;
751
751
  }, l.prototype.emit = function(p, v, c, d, m, _) {
752
- var x = r ? r + p : p;
753
- if (!this._events[x])
752
+ var b = r ? r + p : p;
753
+ if (!this._events[b])
754
754
  return !1;
755
- var b = this._events[x], w = arguments.length, E, S;
756
- if (b.fn) {
757
- switch (b.once && this.removeListener(p, b.fn, void 0, !0), w) {
755
+ var x = this._events[b], w = arguments.length, E, S;
756
+ if (x.fn) {
757
+ switch (x.once && this.removeListener(p, x.fn, void 0, !0), w) {
758
758
  case 1:
759
- return b.fn.call(b.context), !0;
759
+ return x.fn.call(x.context), !0;
760
760
  case 2:
761
- return b.fn.call(b.context, v), !0;
761
+ return x.fn.call(x.context, v), !0;
762
762
  case 3:
763
- return b.fn.call(b.context, v, c), !0;
763
+ return x.fn.call(x.context, v, c), !0;
764
764
  case 4:
765
- return b.fn.call(b.context, v, c, d), !0;
765
+ return x.fn.call(x.context, v, c, d), !0;
766
766
  case 5:
767
- return b.fn.call(b.context, v, c, d, m), !0;
767
+ return x.fn.call(x.context, v, c, d, m), !0;
768
768
  case 6:
769
- return b.fn.call(b.context, v, c, d, m, _), !0;
769
+ return x.fn.call(x.context, v, c, d, m, _), !0;
770
770
  }
771
771
  for (S = 1, E = new Array(w - 1); S < w; S++)
772
772
  E[S - 1] = arguments[S];
773
- b.fn.apply(b.context, E);
773
+ x.fn.apply(x.context, E);
774
774
  } else {
775
- var I = b.length, O;
775
+ var I = x.length, O;
776
776
  for (S = 0; S < I; S++)
777
- switch (b[S].once && this.removeListener(p, b[S].fn, void 0, !0), w) {
777
+ switch (x[S].once && this.removeListener(p, x[S].fn, void 0, !0), w) {
778
778
  case 1:
779
- b[S].fn.call(b[S].context);
779
+ x[S].fn.call(x[S].context);
780
780
  break;
781
781
  case 2:
782
- b[S].fn.call(b[S].context, v);
782
+ x[S].fn.call(x[S].context, v);
783
783
  break;
784
784
  case 3:
785
- b[S].fn.call(b[S].context, v, c);
785
+ x[S].fn.call(x[S].context, v, c);
786
786
  break;
787
787
  case 4:
788
- b[S].fn.call(b[S].context, v, c, d);
788
+ x[S].fn.call(x[S].context, v, c, d);
789
789
  break;
790
790
  default:
791
791
  if (!E)
792
792
  for (O = 1, E = new Array(w - 1); O < w; O++)
793
793
  E[O - 1] = arguments[O];
794
- b[S].fn.apply(b[S].context, E);
794
+ x[S].fn.apply(x[S].context, E);
795
795
  }
796
796
  }
797
797
  return !0;
@@ -809,9 +809,9 @@ var fm = { exports: {} };
809
809
  if (_.fn)
810
810
  _.fn === v && (!d || _.once) && (!c || _.context === c) && u(this, m);
811
811
  else {
812
- for (var x = 0, b = [], w = _.length; x < w; x++)
813
- (_[x].fn !== v || d && !_[x].once || c && _[x].context !== c) && b.push(_[x]);
814
- b.length ? this._events[m] = b.length === 1 ? b[0] : b : u(this, m);
812
+ for (var b = 0, x = [], w = _.length; b < w; b++)
813
+ (_[b].fn !== v || d && !_[b].once || c && _[b].context !== c) && x.push(_[b]);
814
+ x.length ? this._events[m] = x.length === 1 ? x[0] : x : u(this, m);
815
815
  }
816
816
  return this;
817
817
  }, l.prototype.removeAllListeners = function(p) {
@@ -893,18 +893,18 @@ function nC(t, e, r, n) {
893
893
  var i = t.prev, a = t, u = t.next;
894
894
  if (at(i, a, u) >= 0)
895
895
  return !1;
896
- for (var l = i.x, f = a.x, p = u.x, v = i.y, c = a.y, d = u.y, m = l < f ? l < p ? l : p : f < p ? f : p, _ = v < c ? v < d ? v : d : c < d ? c : d, x = l > f ? l > p ? l : p : f > p ? f : p, b = v > c ? v > d ? v : d : c > d ? c : d, w = ic(m, _, e, r, n), E = ic(x, b, e, r, n), S = t.prevZ, I = t.nextZ; S && S.z >= w && I && I.z <= E; ) {
897
- if (S.x >= m && S.x <= x && S.y >= _ && S.y <= b && S !== i && S !== u && yi(l, v, f, c, p, d, S.x, S.y) && at(S.prev, S, S.next) >= 0 || (S = S.prevZ, I.x >= m && I.x <= x && I.y >= _ && I.y <= b && I !== i && I !== u && yi(l, v, f, c, p, d, I.x, I.y) && at(I.prev, I, I.next) >= 0))
896
+ for (var l = i.x, f = a.x, p = u.x, v = i.y, c = a.y, d = u.y, m = l < f ? l < p ? l : p : f < p ? f : p, _ = v < c ? v < d ? v : d : c < d ? c : d, b = l > f ? l > p ? l : p : f > p ? f : p, x = v > c ? v > d ? v : d : c > d ? c : d, w = ic(m, _, e, r, n), E = ic(b, x, e, r, n), S = t.prevZ, I = t.nextZ; S && S.z >= w && I && I.z <= E; ) {
897
+ if (S.x >= m && S.x <= b && S.y >= _ && S.y <= x && S !== i && S !== u && yi(l, v, f, c, p, d, S.x, S.y) && at(S.prev, S, S.next) >= 0 || (S = S.prevZ, I.x >= m && I.x <= b && I.y >= _ && I.y <= x && I !== i && I !== u && yi(l, v, f, c, p, d, I.x, I.y) && at(I.prev, I, I.next) >= 0))
898
898
  return !1;
899
899
  I = I.nextZ;
900
900
  }
901
901
  for (; S && S.z >= w; ) {
902
- if (S.x >= m && S.x <= x && S.y >= _ && S.y <= b && S !== i && S !== u && yi(l, v, f, c, p, d, S.x, S.y) && at(S.prev, S, S.next) >= 0)
902
+ if (S.x >= m && S.x <= b && S.y >= _ && S.y <= x && S !== i && S !== u && yi(l, v, f, c, p, d, S.x, S.y) && at(S.prev, S, S.next) >= 0)
903
903
  return !1;
904
904
  S = S.prevZ;
905
905
  }
906
906
  for (; I && I.z <= E; ) {
907
- if (I.x >= m && I.x <= x && I.y >= _ && I.y <= b && I !== i && I !== u && yi(l, v, f, c, p, d, I.x, I.y) && at(I.prev, I, I.next) >= 0)
907
+ if (I.x >= m && I.x <= b && I.y >= _ && I.y <= x && I !== i && I !== u && yi(l, v, f, c, p, d, I.x, I.y) && at(I.prev, I, I.next) >= 0)
908
908
  return !1;
909
909
  I = I.nextZ;
910
910
  }
@@ -1100,7 +1100,7 @@ io.exports;
1100
1100
  (function(r) {
1101
1101
  var n = e && !e.nodeType && e, i = t && !t.nodeType && t, a = typeof Et == "object" && Et;
1102
1102
  (a.global === a || a.window === a || a.self === a) && (r = a);
1103
- var u, l = 2147483647, f = 36, p = 1, v = 26, c = 38, d = 700, m = 72, _ = 128, x = "-", b = /^xn--/, w = /[^\x20-\x7E]/, E = /[\x2E\u3002\uFF0E\uFF61]/g, S = {
1103
+ var u, l = 2147483647, f = 36, p = 1, v = 26, c = 38, d = 700, m = 72, _ = 128, b = "-", x = /^xn--/, w = /[^\x20-\x7E]/, E = /[\x2E\u3002\uFF0E\uFF61]/g, S = {
1104
1104
  overflow: "Overflow: input needs wider integers to process",
1105
1105
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
1106
1106
  "invalid-input": "Invalid input"
@@ -1144,7 +1144,7 @@ io.exports;
1144
1144
  }
1145
1145
  function ve(X) {
1146
1146
  var q = [], le = X.length, Te, ye = 0, Pe = _, Me = m, $e, Ge, je, We, xe, Be, qe, Ye, Fe;
1147
- for ($e = X.lastIndexOf(x), $e < 0 && ($e = 0), Ge = 0; Ge < $e; ++Ge)
1147
+ for ($e = X.lastIndexOf(b), $e < 0 && ($e = 0), Ge = 0; Ge < $e; ++Ge)
1148
1148
  X.charCodeAt(Ge) >= 128 && k("not-basic"), q.push(X.charCodeAt(Ge));
1149
1149
  for (je = $e > 0 ? $e + 1 : 0; je < le; ) {
1150
1150
  for (We = ye, xe = 1, Be = f; je >= le && k("invalid-input"), qe = H(X.charCodeAt(je++)), (qe >= f || qe > O((l - ye) / xe)) && k("overflow"), ye += qe * xe, Ye = Be <= Me ? p : Be >= Me + v ? v : Be - Me, !(qe < Ye); Be += f)
@@ -1157,7 +1157,7 @@ io.exports;
1157
1157
  var q, le, Te, ye, Pe, Me, $e, Ge, je, We, xe, Be = [], qe, Ye, Fe, Q;
1158
1158
  for (X = Z(X), qe = X.length, q = _, le = 0, Pe = m, Me = 0; Me < qe; ++Me)
1159
1159
  xe = X[Me], xe < 128 && Be.push(N(xe));
1160
- for (Te = ye = Be.length, ye && Be.push(x); Te < qe; ) {
1160
+ for (Te = ye = Be.length, ye && Be.push(b); Te < qe; ) {
1161
1161
  for ($e = l, Me = 0; Me < qe; ++Me)
1162
1162
  xe = X[Me], xe >= q && xe < $e && ($e = xe);
1163
1163
  for (Ye = Te + 1, $e - q > O((l - le) / Ye) && k("overflow"), le += ($e - q) * Ye, q = $e, Me = 0; Me < qe; ++Me)
@@ -1174,7 +1174,7 @@ io.exports;
1174
1174
  }
1175
1175
  function J(X) {
1176
1176
  return j(X, function(q) {
1177
- return b.test(q) ? ve(q.slice(4).toLowerCase()) : q;
1177
+ return x.test(q) ? ve(q.slice(4).toLowerCase()) : q;
1178
1178
  });
1179
1179
  }
1180
1180
  function de(X) {
@@ -1482,8 +1482,8 @@ var kC = function t(e) {
1482
1482
  return;
1483
1483
  }
1484
1484
  if (Dn && v + 1 >= n.length) {
1485
- var x = Dn(l, d);
1486
- c = !!x, c && "get" in x && !("originalValue" in x.get) ? l = x.get : l = l[d];
1485
+ var b = Dn(l, d);
1486
+ c = !!b, c && "get" in b && !("originalValue" in b.get) ? l = b.get : l = l[d];
1487
1487
  } else
1488
1488
  c = so(l, d), l = l[d];
1489
1489
  c && !f && (Un[u] = l);
@@ -1594,13 +1594,13 @@ var lc = YC, Cp = lc.custom, Ip = Tm(Cp) ? Cp : null, s2 = function t(e, r, n, i
1594
1594
  return "[Function" + (m ? ": " + m : " (anonymous)") + "]" + (_.length > 0 ? " { " + Or.call(_, ", ") + " }" : "");
1595
1595
  }
1596
1596
  if (Tm(e)) {
1597
- var x = Ci ? fn.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : uc.call(e);
1598
- return typeof e == "object" && !Ci ? os(x) : x;
1597
+ var b = Ci ? fn.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : uc.call(e);
1598
+ return typeof e == "object" && !Ci ? os(b) : b;
1599
1599
  }
1600
1600
  if (x2(e)) {
1601
- for (var b = "<" + wp.call(String(e.nodeName)), w = e.attributes || [], E = 0; E < w.length; E++)
1602
- b += " " + w[E].name + "=" + wm(a2(w[E].value), "double", a);
1603
- return b += ">", e.childNodes && e.childNodes.length && (b += "..."), b += "</" + wp.call(String(e.nodeName)) + ">", b;
1601
+ for (var x = "<" + wp.call(String(e.nodeName)), w = e.attributes || [], E = 0; E < w.length; E++)
1602
+ x += " " + w[E].name + "=" + wm(a2(w[E].value), "double", a);
1603
+ return x += ">", e.childNodes && e.childNodes.length && (x += "..."), x += "</" + wp.call(String(e.nodeName)) + ">", x;
1604
1604
  }
1605
1605
  if (cc(e)) {
1606
1606
  if (e.length === 0)
@@ -2083,8 +2083,8 @@ var jc = zc, Bi = jC, A2 = s2, S2 = jc("%TypeError%"), Pa = jc("%WeakMap%", !0),
2083
2083
  strictNullHandling: !1
2084
2084
  }, Q2 = function(e) {
2085
2085
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
2086
- }, Sl = {}, J2 = function t(e, r, n, i, a, u, l, f, p, v, c, d, m, _, x, b) {
2087
- for (var w = e, E = b, S = 0, I = !1; (E = E.get(Sl)) !== void 0 && !I; ) {
2086
+ }, Sl = {}, J2 = function t(e, r, n, i, a, u, l, f, p, v, c, d, m, _, b, x) {
2087
+ for (var w = e, E = x, S = 0, I = !1; (E = E.get(Sl)) !== void 0 && !I; ) {
2088
2088
  var O = E.get(e);
2089
2089
  if (S += 1, typeof O < "u") {
2090
2090
  if (O === S)
@@ -2097,13 +2097,13 @@ var jc = zc, Bi = jC, A2 = s2, S2 = jc("%TypeError%"), Pa = jc("%WeakMap%", !0),
2097
2097
  return ve instanceof Date ? c(ve) : ve;
2098
2098
  })), w === null) {
2099
2099
  if (a)
2100
- return l && !_ ? l(r, Mt.encoder, x, "key", d) : r;
2100
+ return l && !_ ? l(r, Mt.encoder, b, "key", d) : r;
2101
2101
  w = "";
2102
2102
  }
2103
2103
  if (Q2(w) || Xa.isBuffer(w)) {
2104
2104
  if (l) {
2105
- var N = _ ? r : l(r, Mt.encoder, x, "key", d);
2106
- return [m(N) + "=" + m(l(w, Mt.encoder, x, "value", d))];
2105
+ var N = _ ? r : l(r, Mt.encoder, b, "key", d);
2106
+ return [m(N) + "=" + m(l(w, Mt.encoder, b, "value", d))];
2107
2107
  }
2108
2108
  return [m(r) + "=" + m(String(w))];
2109
2109
  }
@@ -2123,9 +2123,9 @@ var jc = zc, Bi = jC, A2 = s2, S2 = jc("%TypeError%"), Pa = jc("%WeakMap%", !0),
2123
2123
  var he = k[Z], H = typeof he == "object" && typeof he.value < "u" ? he.value : w[he];
2124
2124
  if (!(u && H === null)) {
2125
2125
  var V = Kr(w) ? typeof n == "function" ? n(j, he) : j : j + (v ? "." + he : "[" + he + "]");
2126
- b.set(e, S);
2126
+ x.set(e, S);
2127
2127
  var ue = Im();
2128
- ue.set(Sl, b), Rm(L, t(
2128
+ ue.set(Sl, x), Rm(L, t(
2129
2129
  H,
2130
2130
  V,
2131
2131
  n,
@@ -2140,7 +2140,7 @@ var jc = zc, Bi = jC, A2 = s2, S2 = jc("%TypeError%"), Pa = jc("%WeakMap%", !0),
2140
2140
  d,
2141
2141
  m,
2142
2142
  _,
2143
- x,
2143
+ b,
2144
2144
  ue
2145
2145
  ));
2146
2146
  }
@@ -2247,8 +2247,8 @@ var jc = zc, Bi = jC, A2 = s2, S2 = jc("%TypeError%"), Pa = jc("%WeakMap%", !0),
2247
2247
  var v = u[f], c = v.indexOf("]="), d = c === -1 ? v.indexOf("=") : c + 1, m, _;
2248
2248
  d === -1 ? (m = r.decoder(v, yt.decoder, p, "key"), _ = r.strictNullHandling ? null : "") : (m = r.decoder(v.slice(0, d), yt.decoder, p, "key"), _ = Ii.maybeMap(
2249
2249
  Pm(v.slice(d + 1), r),
2250
- function(x) {
2251
- return r.decoder(x, yt.decoder, p, "value");
2250
+ function(b) {
2251
+ return r.decoder(b, yt.decoder, p, "value");
2252
2252
  }
2253
2253
  )), _ && r.interpretNumericEntities && p === "iso-8859-1" && (_ = nI(_)), v.indexOf("[]=") > -1 && (_ = rI(_) ? [_] : _), fc.call(n, m) ? n[m] = Ii.combine(n[m], _) : n[m] = _;
2254
2254
  }
@@ -2402,8 +2402,8 @@ wr.prototype.parse = function(t, e, r) {
2402
2402
  var _ = l.indexOf(Np[m]);
2403
2403
  _ !== -1 && (d === -1 || _ < d) && (d = _);
2404
2404
  }
2405
- var x, b;
2406
- d === -1 ? b = l.lastIndexOf("@") : b = l.lastIndexOf("@", d), b !== -1 && (x = l.slice(0, b), l = l.slice(b + 1), this.auth = decodeURIComponent(x)), d = -1;
2405
+ var b, x;
2406
+ d === -1 ? x = l.lastIndexOf("@") : x = l.lastIndexOf("@", d), x !== -1 && (b = l.slice(0, x), l = l.slice(x + 1), this.auth = decodeURIComponent(b)), d = -1;
2407
2407
  for (var m = 0; m < Fp.length; m++) {
2408
2408
  var _ = l.indexOf(Fp[m]);
2409
2409
  _ !== -1 && (d === -1 || _ < d) && (d = _);
@@ -2501,8 +2501,8 @@ wr.prototype.resolveObject = function(t) {
2501
2501
  }
2502
2502
  return r.slashes = r.slashes || t.slashes, r.href = r.format(), r;
2503
2503
  }
2504
- var _ = r.pathname && r.pathname.charAt(0) === "/", x = t.host || t.pathname && t.pathname.charAt(0) === "/", b = x || _ || r.host && t.pathname, w = b, E = r.pathname && r.pathname.split("/") || [], S = t.pathname && t.pathname.split("/") || [], I = r.protocol && !Ti[r.protocol];
2505
- if (I && (r.hostname = "", r.port = null, r.host && (E[0] === "" ? E[0] = r.host : E.unshift(r.host)), r.host = "", t.protocol && (t.hostname = null, t.port = null, t.host && (S[0] === "" ? S[0] = t.host : S.unshift(t.host)), t.host = null), b = b && (S[0] === "" || E[0] === "")), x)
2504
+ var _ = r.pathname && r.pathname.charAt(0) === "/", b = t.host || t.pathname && t.pathname.charAt(0) === "/", x = b || _ || r.host && t.pathname, w = x, E = r.pathname && r.pathname.split("/") || [], S = t.pathname && t.pathname.split("/") || [], I = r.protocol && !Ti[r.protocol];
2505
+ if (I && (r.hostname = "", r.port = null, r.host && (E[0] === "" ? E[0] = r.host : E.unshift(r.host)), r.host = "", t.protocol && (t.hostname = null, t.port = null, t.host && (S[0] === "" ? S[0] = t.host : S.unshift(t.host)), t.host = null), x = x && (S[0] === "" || E[0] === "")), b)
2506
2506
  r.host = t.host || t.host === "" ? t.host : r.host, r.hostname = t.hostname || t.hostname === "" ? t.hostname : r.hostname, r.search = t.search, r.query = t.query, E = S;
2507
2507
  else if (S.length)
2508
2508
  E || (E = []), E.pop(), E = E.concat(S), r.search = t.search, r.query = t.query;
@@ -2518,17 +2518,17 @@ wr.prototype.resolveObject = function(t) {
2518
2518
  return r.pathname = null, r.search ? r.path = "/" + r.search : r.path = null, r.href = r.format(), r;
2519
2519
  for (var N = E.slice(-1)[0], L = (r.host || t.host || E.length > 1) && (N === "." || N === "..") || N === "", k = 0, D = E.length; D >= 0; D--)
2520
2520
  N = E[D], N === "." ? E.splice(D, 1) : N === ".." ? (E.splice(D, 1), k++) : k && (E.splice(D, 1), k--);
2521
- if (!b && !w)
2521
+ if (!x && !w)
2522
2522
  for (; k--; k)
2523
2523
  E.unshift("..");
2524
- b && E[0] !== "" && (!E[0] || E[0].charAt(0) !== "/") && E.unshift(""), L && E.join("/").substr(-1) !== "/" && E.push("");
2524
+ x && E[0] !== "" && (!E[0] || E[0].charAt(0) !== "/") && E.unshift(""), L && E.join("/").substr(-1) !== "/" && E.push("");
2525
2525
  var j = E[0] === "" || E[0] && E[0].charAt(0) === "/";
2526
2526
  if (I) {
2527
2527
  r.hostname = j ? "" : E.length ? E.shift() : "", r.host = r.hostname;
2528
2528
  var O = r.host && r.host.indexOf("@") > 0 ? r.host.split("@") : !1;
2529
2529
  O && (r.auth = O.shift(), r.hostname = O.shift(), r.host = r.hostname);
2530
2530
  }
2531
- return b = b || r.host && E.length, b && !j && E.unshift(""), E.length > 0 ? r.pathname = E.join("/") : (r.pathname = null, r.path = null), (r.pathname !== null || r.search !== null) && (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), r.auth = t.auth || r.auth, r.slashes = r.slashes || t.slashes, r.href = r.format(), r;
2531
+ return x = x || r.host && E.length, x && !j && E.unshift(""), E.length > 0 ? r.pathname = E.join("/") : (r.pathname = null, r.path = null), (r.pathname !== null || r.search !== null) && (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), r.auth = t.auth || r.auth, r.slashes = r.slashes || t.slashes, r.href = r.format(), r;
2532
2532
  };
2533
2533
  wr.prototype.parseHost = function() {
2534
2534
  var t = this.host, e = vI.exec(t);
@@ -2730,8 +2730,8 @@ function UI(t, e) {
2730
2730
  for (var m in r)
2731
2731
  a[m] = new t(r[m]).toRgb();
2732
2732
  for (var _ in r) {
2733
- var x = (l = v, f = a[_], Math.pow(l.r - f.r, 2) + Math.pow(l.g - f.g, 2) + Math.pow(l.b - f.b, 2));
2734
- x < c && (c = x, d = _);
2733
+ var b = (l = v, f = a[_], Math.pow(l.r - f.r, 2) + Math.pow(l.g - f.g, 2) + Math.pow(l.b - f.b, 2));
2734
+ b < c && (c = b, d = _);
2735
2735
  }
2736
2736
  return d;
2737
2737
  }
@@ -3666,8 +3666,8 @@ class Xe {
3666
3666
  const c = Math.sign(r.a * r.d - r.b * r.c);
3667
3667
  if (c === 0 || (r.apply(l, l), r.apply(f, f), r.apply(p, p), r.apply(v, v), Math.max(l.x, f.x, p.x, v.x) <= n || Math.min(l.x, f.x, p.x, v.x) >= i || Math.max(l.y, f.y, p.y, v.y) <= a || Math.min(l.y, f.y, p.y, v.y) >= u))
3668
3668
  return !1;
3669
- const d = c * (f.y - l.y), m = c * (l.x - f.x), _ = d * n + m * a, x = d * i + m * a, b = d * n + m * u, w = d * i + m * u;
3670
- if (Math.max(_, x, b, w) <= d * l.x + m * l.y || Math.min(_, x, b, w) >= d * v.x + m * v.y)
3669
+ const d = c * (f.y - l.y), m = c * (l.x - f.x), _ = d * n + m * a, b = d * i + m * a, x = d * n + m * u, w = d * i + m * u;
3670
+ if (Math.max(_, b, x, w) <= d * l.x + m * l.y || Math.min(_, b, x, w) >= d * v.x + m * v.y)
3671
3671
  return !1;
3672
3672
  const E = c * (l.y - p.y), S = c * (p.x - l.x), I = E * n + S * a, O = E * i + S * a, N = E * n + S * u, L = E * i + S * u;
3673
3673
  return !(Math.max(I, O, N, L) <= E * l.x + S * l.y || Math.min(I, O, N, L) >= E * v.x + S * v.y);
@@ -4858,8 +4858,8 @@ const gr = class extends Xm {
4858
4858
  let f = this._dcIndex, p = this._aIndex, v = this._iIndex, c = l[f];
4859
4859
  c.start = this._iIndex, c.texArray = t;
4860
4860
  for (let d = e; d < r; ++d) {
4861
- const m = n[d], _ = m._texture.baseTexture, x = GI[_.alphaMode ? 1 : 0][m.blendMode];
4862
- n[d] = null, e < d && c.blend !== x && (c.size = v - c.start, e = d, c = l[++f], c.texArray = t, c.start = v), this.packInterleavedGeometry(m, i, a, p, v), p += m.vertexData.length / 2 * u, v += m.indices.length, c.blend = x;
4861
+ const m = n[d], _ = m._texture.baseTexture, b = GI[_.alphaMode ? 1 : 0][m.blendMode];
4862
+ n[d] = null, e < d && c.blend !== b && (c.size = v - c.start, e = d, c = l[++f], c.texArray = t, c.start = v), this.packInterleavedGeometry(m, i, a, p, v), p += m.vertexData.length / 2 * u, v += m.indices.length, c.blend = b;
4863
4863
  }
4864
4864
  e < r && (c.size = v - c.start, ++f), this._dcIndex = f, this._aIndex = p, this._iIndex = v;
4865
4865
  }
@@ -5677,8 +5677,8 @@ class Zm {
5677
5677
  const n = this.renderer, i = this.defaultFilterStack, a = this.statePool.pop() || new SR(), u = this.renderer.renderTexture;
5678
5678
  let l = r[0].resolution, f = r[0].multisample, p = r[0].padding, v = r[0].autoFit, c = r[0].legacy ?? !0;
5679
5679
  for (let _ = 1; _ < r.length; _++) {
5680
- const x = r[_];
5681
- l = Math.min(l, x.resolution), f = Math.min(f, x.multisample), p = this.useMaxPadding ? Math.max(p, x.padding) : p + x.padding, v = v && x.autoFit, c = c || (x.legacy ?? !0);
5680
+ const b = r[_];
5681
+ l = Math.min(l, b.resolution), f = Math.min(f, b.multisample), p = this.useMaxPadding ? Math.max(p, b.padding) : p + b.padding, v = v && b.autoFit, c = c || (b.legacy ?? !0);
5682
5682
  }
5683
5683
  i.length === 1 && (this.defaultFilterStack[0].renderTexture = u.current), i.push(a), a.resolution = l, a.multisample = f, a.legacy = c, a.target = e, a.sourceFrame.copyFrom(e.filterArea || e.getBounds(!0)), a.sourceFrame.pad(p);
5684
5684
  const d = this.tempRect.copyFrom(u.sourceFrame);
@@ -5988,18 +5988,18 @@ class Jm {
5988
5988
  if (v)
5989
5989
  return p[l.id] = v, v;
5990
5990
  const c = e.buffers, d = e.attributes, m = {}, _ = {};
5991
- for (const x in c)
5992
- m[x] = 0, _[x] = 0;
5993
- for (const x in d)
5994
- !d[x].size && l.attributeData[x] ? d[x].size = l.attributeData[x].size : d[x].size || console.warn(`PIXI Geometry attribute '${x}' size cannot be determined (likely the bound shader does not have the attribute)`), m[d[x].buffer] += d[x].size * Dl[d[x].type];
5995
- for (const x in d) {
5996
- const b = d[x], w = b.size;
5997
- b.stride === void 0 && (m[b.buffer] === w * Dl[b.type] ? b.stride = 0 : b.stride = m[b.buffer]), b.start === void 0 && (b.start = _[b.buffer], _[b.buffer] += w * Dl[b.type]);
5991
+ for (const b in c)
5992
+ m[b] = 0, _[b] = 0;
5993
+ for (const b in d)
5994
+ !d[b].size && l.attributeData[b] ? d[b].size = l.attributeData[b].size : d[b].size || console.warn(`PIXI Geometry attribute '${b}' size cannot be determined (likely the bound shader does not have the attribute)`), m[d[b].buffer] += d[b].size * Dl[d[b].type];
5995
+ for (const b in d) {
5996
+ const x = d[b], w = x.size;
5997
+ x.stride === void 0 && (m[x.buffer] === w * Dl[x.type] ? x.stride = 0 : x.stride = m[x.buffer]), x.start === void 0 && (x.start = _[x.buffer], _[x.buffer] += w * Dl[x.type]);
5998
5998
  }
5999
5999
  v = i.createVertexArray(), i.bindVertexArray(v);
6000
- for (let x = 0; x < c.length; x++) {
6001
- const b = c[x];
6002
- u.bind(b), n && b._glBuffers[a].refCount++;
6000
+ for (let b = 0; b < c.length; b++) {
6001
+ const x = c[b];
6002
+ u.bind(x), n && x._glBuffers[a].refCount++;
6003
6003
  }
6004
6004
  return this.activateVao(e, l), p[l.id] = v, p[f] = v, i.bindVertexArray(null), u.unbind(Nr.ARRAY_BUFFER), v;
6005
6005
  }
@@ -8774,12 +8774,12 @@ jn.parse = function() {
8774
8774
  function d() {
8775
8775
  var z = m() || _();
8776
8776
  if (z)
8777
- z.at = b();
8777
+ z.at = x();
8778
8778
  else {
8779
- var J = x();
8779
+ var J = b();
8780
8780
  if (J) {
8781
8781
  z = J;
8782
- var de = b();
8782
+ var de = x();
8783
8783
  de && (z.at = de);
8784
8784
  } else {
8785
8785
  var X = w();
@@ -8790,16 +8790,16 @@ jn.parse = function() {
8790
8790
  }
8791
8791
  function m() {
8792
8792
  var z = V("shape", /^(circle)/i, 0);
8793
- return z && (z.style = H() || x()), z;
8793
+ return z && (z.style = H() || b()), z;
8794
8794
  }
8795
8795
  function _() {
8796
8796
  var z = V("shape", /^(ellipse)/i, 0);
8797
- return z && (z.style = Z() || x()), z;
8797
+ return z && (z.style = Z() || b()), z;
8798
8798
  }
8799
- function x() {
8799
+ function b() {
8800
8800
  return V("extent-keyword", t.extentKeywords, 1);
8801
8801
  }
8802
- function b() {
8802
+ function x() {
8803
8803
  if (V("position", /^at/, 0)) {
8804
8804
  var z = w();
8805
8805
  return z || r("Missing positioning value"), z;
@@ -10928,7 +10928,7 @@ const Ui = (t) => {
10928
10928
  noise: _ = 0
10929
10929
  // outline = 0,
10930
10930
  // outlineColor = 0x000000,
10931
- } = t || {}, x = new cr.Filter(
10931
+ } = t || {}, b = new cr.Filter(
10932
10932
  // @ts-ignore
10933
10933
  null,
10934
10934
  `
@@ -10945,8 +10945,8 @@ const Ui = (t) => {
10945
10945
  }
10946
10946
  `
10947
10947
  );
10948
- x.uniforms.temperature = v;
10949
- const b = new GP([
10948
+ b.uniforms.temperature = v;
10949
+ const x = new GP([
10950
10950
  0,
10951
10951
  -d,
10952
10952
  0,
@@ -10974,8 +10974,8 @@ const Ui = (t) => {
10974
10974
  }),
10975
10975
  blurFilter: E,
10976
10976
  hueFilter: w,
10977
- sharpnessFilter: b,
10978
- temperatureFilter: x,
10977
+ sharpnessFilter: x,
10978
+ temperatureFilter: b,
10979
10979
  vignetteFilter: S,
10980
10980
  noiseFilter: I
10981
10981
  // outlineFilter,
@@ -11032,7 +11032,7 @@ const Ui = (t) => {
11032
11032
  vignetteFilter: r
11033
11033
  };
11034
11034
  }, NM = re.forwardRef((t, e) => {
11035
- const r = me(null), n = me(null), {
11035
+ const r = ge(null), n = ge(null), {
11036
11036
  src: i,
11037
11037
  visible: a,
11038
11038
  disabled: u,
@@ -11047,8 +11047,8 @@ const Ui = (t) => {
11047
11047
  },
11048
11048
  pointerdown: _
11049
11049
  } = t, {
11050
- blurRadius: x = 0,
11051
- vignette: b = 0,
11050
+ blurRadius: b = 0,
11051
+ vignette: x = 0,
11052
11052
  noise: w = 0
11053
11053
  // outline = 0,
11054
11054
  } = d, {
@@ -11081,11 +11081,11 @@ const Ui = (t) => {
11081
11081
  I,
11082
11082
  N,
11083
11083
  // conditionally add blur filter
11084
- ...x > 0 ? [O] : [],
11084
+ ...b > 0 ? [O] : [],
11085
11085
  // conditionally add night vision filter
11086
11086
  ...m === Nn.NightVision ? [D] : [],
11087
11087
  // conditionally add vignette filter
11088
- ...b > 0 ? [L] : [],
11088
+ ...x > 0 ? [L] : [],
11089
11089
  // conditionally add noise filter
11090
11090
  ...w > 0 ? [k] : []
11091
11091
  // conditionally add outline filter
@@ -11109,8 +11109,8 @@ const po = {
11109
11109
  const _ = t.shape;
11110
11110
  r = _.x, n = _.y, u = _.width, l = _.height, i = a = 0;
11111
11111
  } else {
11112
- const _ = t.shape, x = _.width / 2, b = _.height / 2;
11113
- r = _.x + x, n = _.y + b, u = l = Math.max(0, Math.min(_.radius, Math.min(x, b))), i = x - u, a = b - l;
11112
+ const _ = t.shape, b = _.width / 2, x = _.height / 2;
11113
+ r = _.x + b, n = _.y + x, u = l = Math.max(0, Math.min(_.radius, Math.min(b, x))), i = b - u, a = x - l;
11114
11114
  }
11115
11115
  if (!(u >= 0 && l >= 0 && i >= 0 && a >= 0)) {
11116
11116
  e.length = 0;
@@ -11125,19 +11125,19 @@ const po = {
11125
11125
  }
11126
11126
  let v = 0, c = f * 4 + (i ? 2 : 0) + 2, d = c, m = p;
11127
11127
  {
11128
- const _ = i + u, x = a, b = r + _, w = r - _, E = n + x;
11129
- if (e[v++] = b, e[v++] = E, e[--c] = E, e[--c] = w, a) {
11130
- const S = n - x;
11131
- e[d++] = w, e[d++] = S, e[--m] = S, e[--m] = b;
11128
+ const _ = i + u, b = a, x = r + _, w = r - _, E = n + b;
11129
+ if (e[v++] = x, e[v++] = E, e[--c] = E, e[--c] = w, a) {
11130
+ const S = n - b;
11131
+ e[d++] = w, e[d++] = S, e[--m] = S, e[--m] = x;
11132
11132
  }
11133
11133
  }
11134
11134
  for (let _ = 1; _ < f; _++) {
11135
- const x = Math.PI / 2 * (_ / f), b = i + Math.cos(x) * u, w = a + Math.sin(x) * l, E = r + b, S = r - b, I = n + w, O = n - w;
11135
+ const b = Math.PI / 2 * (_ / f), x = i + Math.cos(b) * u, w = a + Math.sin(b) * l, E = r + x, S = r - x, I = n + w, O = n - w;
11136
11136
  e[v++] = E, e[v++] = I, e[--c] = I, e[--c] = S, e[d++] = S, e[d++] = O, e[--m] = O, e[--m] = E;
11137
11137
  }
11138
11138
  {
11139
- const _ = i, x = a + l, b = r + _, w = r - _, E = n + x, S = n - x;
11140
- e[v++] = b, e[v++] = E, e[--m] = S, e[--m] = b, i && (e[v++] = w, e[v++] = E, e[--m] = S, e[--m] = w);
11139
+ const _ = i, b = a + l, x = r + _, w = r - _, E = n + b, S = n - b;
11140
+ e[v++] = x, e[v++] = E, e[--m] = S, e[--m] = x, i && (e[v++] = w, e[v++] = E, e[--m] = S, e[--m] = w);
11141
11141
  }
11142
11142
  },
11143
11143
  triangulate(t, e) {
@@ -11241,7 +11241,7 @@ class mg {
11241
11241
  const l = u[u.length - 2], p = u[u.length - 1] - r, v = l - e, c = i - r, d = n - e, m = Math.abs(p * d - v * c);
11242
11242
  if (m < 1e-8 || a === 0)
11243
11243
  return (u[u.length - 2] !== e || u[u.length - 1] !== r) && u.push(e, r), null;
11244
- const _ = p * p + v * v, x = c * c + d * d, b = p * c + v * d, w = a * Math.sqrt(_) / m, E = a * Math.sqrt(x) / m, S = w * b / _, I = E * b / x, O = w * d + E * v, N = w * c + E * p, L = v * (E + S), k = p * (E + S), D = d * (w + I), j = c * (w + I), Z = Math.atan2(k - N, L - O), he = Math.atan2(j - N, D - O);
11244
+ const _ = p * p + v * v, b = c * c + d * d, x = p * c + v * d, w = a * Math.sqrt(_) / m, E = a * Math.sqrt(b) / m, S = w * x / _, I = E * x / b, O = w * d + E * v, N = w * c + E * p, L = v * (E + S), k = p * (E + S), D = d * (w + I), j = c * (w + I), Z = Math.atan2(k - N, L - O), he = Math.atan2(j - N, D - O);
11245
11245
  return {
11246
11246
  cx: O + e,
11247
11247
  cy: N + r,
@@ -11252,10 +11252,10 @@ class mg {
11252
11252
  };
11253
11253
  }
11254
11254
  static arc(e, r, n, i, a, u, l, f, p) {
11255
- const v = l - u, c = Pi._segmentsCount(Math.abs(v) * a, Math.ceil(Math.abs(v) / ho) * 40), d = v / (c * 2), m = d * 2, _ = Math.cos(d), x = Math.sin(d), b = c - 1, w = b % 1 / b;
11256
- for (let E = 0; E <= b; ++E) {
11255
+ const v = l - u, c = Pi._segmentsCount(Math.abs(v) * a, Math.ceil(Math.abs(v) / ho) * 40), d = v / (c * 2), m = d * 2, _ = Math.cos(d), b = Math.sin(d), x = c - 1, w = x % 1 / x;
11256
+ for (let E = 0; E <= x; ++E) {
11257
11257
  const S = E + w * E, I = d + u + m * S, O = Math.cos(I), N = -Math.sin(I);
11258
- p.push((_ * O + x * N) * a + n, (_ * -N + x * O) * a + i);
11258
+ p.push((_ * O + b * N) * a + n, (_ * -N + b * O) * a + i);
11259
11259
  }
11260
11260
  }
11261
11261
  }
@@ -11275,46 +11275,46 @@ class BM {
11275
11275
  }
11276
11276
  class nh {
11277
11277
  static curveLength(e, r, n, i, a, u, l, f) {
11278
- let v = 0, c = 0, d = 0, m = 0, _ = 0, x = 0, b = 0, w = 0, E = 0, S = 0, I = 0, O = e, N = r;
11278
+ let v = 0, c = 0, d = 0, m = 0, _ = 0, b = 0, x = 0, w = 0, E = 0, S = 0, I = 0, O = e, N = r;
11279
11279
  for (let L = 1; L <= 10; ++L)
11280
- c = L / 10, d = c * c, m = d * c, _ = 1 - c, x = _ * _, b = x * _, w = b * e + 3 * x * c * n + 3 * _ * d * a + m * l, E = b * r + 3 * x * c * i + 3 * _ * d * u + m * f, S = O - w, I = N - E, O = w, N = E, v += Math.sqrt(S * S + I * I);
11280
+ c = L / 10, d = c * c, m = d * c, _ = 1 - c, b = _ * _, x = b * _, w = x * e + 3 * b * c * n + 3 * _ * d * a + m * l, E = x * r + 3 * b * c * i + 3 * _ * d * u + m * f, S = O - w, I = N - E, O = w, N = E, v += Math.sqrt(S * S + I * I);
11281
11281
  return v;
11282
11282
  }
11283
11283
  static curveTo(e, r, n, i, a, u, l) {
11284
11284
  const f = l[l.length - 2], p = l[l.length - 1];
11285
11285
  l.length -= 2;
11286
11286
  const v = Pi._segmentsCount(nh.curveLength(f, p, e, r, n, i, a, u));
11287
- let c = 0, d = 0, m = 0, _ = 0, x = 0;
11287
+ let c = 0, d = 0, m = 0, _ = 0, b = 0;
11288
11288
  l.push(f, p);
11289
- for (let b = 1, w = 0; b <= v; ++b)
11290
- w = b / v, c = 1 - w, d = c * c, m = d * c, _ = w * w, x = _ * w, l.push(m * f + 3 * d * w * e + 3 * c * _ * n + x * a, m * p + 3 * d * w * r + 3 * c * _ * i + x * u);
11289
+ for (let x = 1, w = 0; x <= v; ++x)
11290
+ w = x / v, c = 1 - w, d = c * c, m = d * c, _ = w * w, b = _ * w, l.push(m * f + 3 * d * w * e + 3 * c * _ * n + b * a, m * p + 3 * d * w * r + 3 * c * _ * i + b * u);
11291
11291
  }
11292
11292
  }
11293
11293
  function vg(t, e, r, n, i, a, u, l) {
11294
11294
  const f = t - r * i, p = e - n * i, v = t + r * a, c = e + n * a;
11295
11295
  let d, m;
11296
11296
  u ? (d = n, m = -r) : (d = -n, m = r);
11297
- const _ = f + d, x = p + m, b = v + d, w = c + m;
11298
- return l.push(_, x, b, w), 2;
11297
+ const _ = f + d, b = p + m, x = v + d, w = c + m;
11298
+ return l.push(_, b, x, w), 2;
11299
11299
  }
11300
11300
  function Cn(t, e, r, n, i, a, u, l) {
11301
11301
  const f = r - t, p = n - e;
11302
11302
  let v = Math.atan2(f, p), c = Math.atan2(i - t, a - e);
11303
11303
  l && v < c ? v += Math.PI * 2 : !l && v > c && (c += Math.PI * 2);
11304
11304
  let d = v;
11305
- const m = c - v, _ = Math.abs(m), x = Math.sqrt(f * f + p * p), b = (15 * _ * Math.sqrt(x) / Math.PI >> 0) + 1, w = m / b;
11305
+ const m = c - v, _ = Math.abs(m), b = Math.sqrt(f * f + p * p), x = (15 * _ * Math.sqrt(b) / Math.PI >> 0) + 1, w = m / x;
11306
11306
  if (d += w, l) {
11307
11307
  u.push(t, e, r, n);
11308
- for (let E = 1, S = d; E < b; E++, S += w)
11309
- u.push(t, e, t + Math.sin(S) * x, e + Math.cos(S) * x);
11308
+ for (let E = 1, S = d; E < x; E++, S += w)
11309
+ u.push(t, e, t + Math.sin(S) * b, e + Math.cos(S) * b);
11310
11310
  u.push(t, e, i, a);
11311
11311
  } else {
11312
11312
  u.push(r, n, t, e);
11313
- for (let E = 1, S = d; E < b; E++, S += w)
11314
- u.push(t + Math.sin(S) * x, e + Math.cos(S) * x, t, e);
11313
+ for (let E = 1, S = d; E < x; E++, S += w)
11314
+ u.push(t + Math.sin(S) * b, e + Math.cos(S) * b, t, e);
11315
11315
  u.push(i, a, t, e);
11316
11316
  }
11317
- return b * 2;
11317
+ return x * 2;
11318
11318
  }
11319
11319
  function DM(t, e) {
11320
11320
  const r = t.shape;
@@ -11330,7 +11330,7 @@ function DM(t, e) {
11330
11330
  }
11331
11331
  const v = e.points, c = n.length / 2;
11332
11332
  let d = n.length;
11333
- const m = v.length / 2, _ = a.width / 2, x = _ * _, b = a.miterLimit * a.miterLimit;
11333
+ const m = v.length / 2, _ = a.width / 2, b = _ * _, x = a.miterLimit * a.miterLimit;
11334
11334
  let w = n[0], E = n[1], S = n[2], I = n[3], O = 0, N = 0, L = -(E - I), k = w - S, D = 0, j = 0, Z = Math.sqrt(L * L + k * k);
11335
11335
  L /= Z, k /= Z, L *= _, k *= _;
11336
11336
  const he = a.alignment, H = (1 - he) * 2, V = he * 2;
@@ -11342,9 +11342,9 @@ function DM(t, e) {
11342
11342
  v.push(S - L * H, I - k * H, S + L * V, I + k * V), le >= 0 && (a.join === vr.ROUND ? d += Cn(S, I, S - L * H, I - k * H, S - D * H, I - j * H, v, !1) + 4 : d += 2, v.push(S - D * V, I - j * V, S + D * H, I + j * H));
11343
11343
  continue;
11344
11344
  }
11345
- const Pe = (-L + w) * (-k + I) - (-L + S) * (-k + E), Me = (-D + O) * (-j + I) - (-D + S) * (-j + N), $e = (J * Me - X * Pe) / Te, Ge = (q * Pe - de * Me) / Te, je = ($e - S) * ($e - S) + (Ge - I) * (Ge - I), We = S + ($e - S) * H, xe = I + (Ge - I) * H, Be = S - ($e - S) * V, qe = I - (Ge - I) * V, Ye = Math.min(J * J + de * de, X * X + q * q), Fe = ye ? H : V, Q = Ye + Fe * Fe * x, ie = je <= Q;
11345
+ const Pe = (-L + w) * (-k + I) - (-L + S) * (-k + E), Me = (-D + O) * (-j + I) - (-D + S) * (-j + N), $e = (J * Me - X * Pe) / Te, Ge = (q * Pe - de * Me) / Te, je = ($e - S) * ($e - S) + (Ge - I) * (Ge - I), We = S + ($e - S) * H, xe = I + (Ge - I) * H, Be = S - ($e - S) * V, qe = I - (Ge - I) * V, Ye = Math.min(J * J + de * de, X * X + q * q), Fe = ye ? H : V, Q = Ye + Fe * Fe * b, ie = je <= Q;
11346
11346
  let nt = a.join;
11347
- if (nt === vr.MITER && je / x > b && (nt = vr.BEVEL), ie)
11347
+ if (nt === vr.MITER && je / b > x && (nt = vr.BEVEL), ie)
11348
11348
  switch (nt) {
11349
11349
  case vr.MITER: {
11350
11350
  v.push(We, xe, Be, qe);
@@ -11394,8 +11394,8 @@ function _g(t, e) {
11394
11394
  }
11395
11395
  class ih {
11396
11396
  static curveLength(e, r, n, i, a, u) {
11397
- const l = e - 2 * n + a, f = r - 2 * i + u, p = 2 * n - 2 * e, v = 2 * i - 2 * r, c = 4 * (l * l + f * f), d = 4 * (l * p + f * v), m = p * p + v * v, _ = 2 * Math.sqrt(c + d + m), x = Math.sqrt(c), b = 2 * c * x, w = 2 * Math.sqrt(m), E = d / x;
11398
- return (b * _ + x * d * (_ - w) + (4 * m * c - d * d) * Math.log((2 * x + E + _) / (E + w))) / (4 * b);
11397
+ const l = e - 2 * n + a, f = r - 2 * i + u, p = 2 * n - 2 * e, v = 2 * i - 2 * r, c = 4 * (l * l + f * f), d = 4 * (l * p + f * v), m = p * p + v * v, _ = 2 * Math.sqrt(c + d + m), b = Math.sqrt(c), x = 2 * c * b, w = 2 * Math.sqrt(m), E = d / b;
11398
+ return (x * _ + b * d * (_ - w) + (4 * m * c - d * d) * Math.log((2 * b + E + _) / (E + w))) / (4 * x);
11399
11399
  }
11400
11400
  static curveTo(e, r, n, i, a) {
11401
11401
  const u = a[a.length - 2], l = a[a.length - 1], f = Pi._segmentsCount(ih.curveLength(u, l, e, r, n, i));
@@ -11442,8 +11442,8 @@ class Pc {
11442
11442
  }
11443
11443
  addFrameMatrix(e, r, n, i, a) {
11444
11444
  const u = e.a, l = e.b, f = e.c, p = e.d, v = e.tx, c = e.ty;
11445
- let d = this.minX, m = this.minY, _ = this.maxX, x = this.maxY, b = u * r + f * n + v, w = l * r + p * n + c;
11446
- d = b < d ? b : d, m = w < m ? w : m, _ = b > _ ? b : _, x = w > x ? w : x, b = u * i + f * n + v, w = l * i + p * n + c, d = b < d ? b : d, m = w < m ? w : m, _ = b > _ ? b : _, x = w > x ? w : x, b = u * r + f * a + v, w = l * r + p * a + c, d = b < d ? b : d, m = w < m ? w : m, _ = b > _ ? b : _, x = w > x ? w : x, b = u * i + f * a + v, w = l * i + p * a + c, d = b < d ? b : d, m = w < m ? w : m, _ = b > _ ? b : _, x = w > x ? w : x, this.minX = d, this.minY = m, this.maxX = _, this.maxY = x;
11445
+ let d = this.minX, m = this.minY, _ = this.maxX, b = this.maxY, x = u * r + f * n + v, w = l * r + p * n + c;
11446
+ d = x < d ? x : d, m = w < m ? w : m, _ = x > _ ? x : _, b = w > b ? w : b, x = u * i + f * n + v, w = l * i + p * n + c, d = x < d ? x : d, m = w < m ? w : m, _ = x > _ ? x : _, b = w > b ? w : b, x = u * r + f * a + v, w = l * r + p * a + c, d = x < d ? x : d, m = w < m ? w : m, _ = x > _ ? x : _, b = w > b ? w : b, x = u * i + f * a + v, w = l * i + p * a + c, d = x < d ? x : d, m = w < m ? w : m, _ = x > _ ? x : _, b = w > b ? w : b, this.minX = d, this.minY = m, this.maxX = _, this.maxY = b;
11447
11447
  }
11448
11448
  addVertexData(e, r, n) {
11449
11449
  let i = this.minX, a = this.minY, u = this.maxX, l = this.maxY;
@@ -11458,12 +11458,12 @@ class Pc {
11458
11458
  }
11459
11459
  addVerticesMatrix(e, r, n, i, a = 0, u = a) {
11460
11460
  const l = e.a, f = e.b, p = e.c, v = e.d, c = e.tx, d = e.ty;
11461
- let m = this.minX, _ = this.minY, x = this.maxX, b = this.maxY;
11461
+ let m = this.minX, _ = this.minY, b = this.maxX, x = this.maxY;
11462
11462
  for (let w = n; w < i; w += 2) {
11463
11463
  const E = r[w], S = r[w + 1], I = l * E + p * S + c, O = v * S + f * E + d;
11464
- m = Math.min(m, I - a), x = Math.max(x, I + a), _ = Math.min(_, O - u), b = Math.max(b, O + u);
11464
+ m = Math.min(m, I - a), b = Math.max(b, I + a), _ = Math.min(_, O - u), x = Math.max(x, O + u);
11465
11465
  }
11466
- this.minX = m, this.minY = _, this.maxX = x, this.maxY = b;
11466
+ this.minX = m, this.minY = _, this.maxX = b, this.maxY = x;
11467
11467
  }
11468
11468
  addBounds(e) {
11469
11469
  const r = this.minX, n = this.minY, i = this.maxX, a = this.maxY;
@@ -11935,10 +11935,10 @@ const di = new Qe(), k0 = class extends Bm {
11935
11935
  const m = d === 0 ? p : v;
11936
11936
  if (!m.visible)
11937
11937
  continue;
11938
- const _ = m.texture.baseTexture, x = this.indices.length, b = this.points.length / 2;
11938
+ const _ = m.texture.baseTexture, b = this.indices.length, x = this.points.length / 2;
11939
11939
  _.wrapMode = Ts.REPEAT, d === 0 ? this.processFill(f) : this.processLine(f);
11940
- const w = this.points.length / 2 - b;
11941
- w !== 0 && (r && !this._compareStyles(n, m) && (r.end(x, b), r = null), r || (r = yg.pop() || new BM(), r.begin(m, x, b), this.batches.push(r), n = m), this.addUvs(this.points, t, m.texture, b, w, m.matrix));
11940
+ const w = this.points.length / 2 - x;
11941
+ w !== 0 && (r && !this._compareStyles(n, m) && (r.end(b, x), r = null), r || (r = yg.pop() || new BM(), r.begin(m, b, x), this.batches.push(r), n = m), this.addUvs(this.points, t, m.texture, x, w, m.matrix));
11942
11942
  }
11943
11943
  }
11944
11944
  const i = this.indices.length, a = this.points.length / 2;
@@ -12384,20 +12384,20 @@ var HM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
12384
12384
  comma: /\s*(?:(,)|\s)/g,
12385
12385
  flag: /\s*([01])/g
12386
12386
  }, a = {
12387
- number: function(x) {
12388
- return +m("number", x);
12387
+ number: function(b) {
12388
+ return +m("number", b);
12389
12389
  },
12390
- "coordinate pair": function(x) {
12391
- var b = m("number", x);
12392
- if (b === null && !x)
12390
+ "coordinate pair": function(b) {
12391
+ var x = m("number", b);
12392
+ if (x === null && !b)
12393
12393
  return null;
12394
12394
  m("comma");
12395
12395
  var w = m("number", !0);
12396
- return { x: +b, y: +w };
12396
+ return { x: +x, y: +w };
12397
12397
  },
12398
- "arc definition": function(x) {
12399
- var b = a["coordinate pair"](x);
12400
- if (!b && !x)
12398
+ "arc definition": function(b) {
12399
+ var x = a["coordinate pair"](b);
12400
+ if (!x && !b)
12401
12401
  return null;
12402
12402
  m("comma");
12403
12403
  var w = +m("number", !0);
@@ -12408,7 +12408,7 @@ var HM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
12408
12408
  m("comma");
12409
12409
  var I = a["coordinate pair"](!0);
12410
12410
  return {
12411
- radii: b,
12411
+ radii: x,
12412
12412
  rotation: w,
12413
12413
  large: E,
12414
12414
  clockwise: S,
@@ -12419,49 +12419,49 @@ var HM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
12419
12419
  var f = m("command"), p = f.toUpperCase(), v = f !== p, c;
12420
12420
  switch (p) {
12421
12421
  case "M":
12422
- c = _("coordinate pair").map(function(x, b) {
12423
- return b === 1 && (f = v ? "l" : "L"), d({ end: x });
12422
+ c = _("coordinate pair").map(function(b, x) {
12423
+ return x === 1 && (f = v ? "l" : "L"), d({ end: b });
12424
12424
  });
12425
12425
  break;
12426
12426
  case "L":
12427
12427
  case "T":
12428
- c = _("coordinate pair").map(function(x) {
12429
- return d({ end: x });
12428
+ c = _("coordinate pair").map(function(b) {
12429
+ return d({ end: b });
12430
12430
  });
12431
12431
  break;
12432
12432
  case "C":
12433
12433
  if (c = _("coordinate pair"), c.length % 3)
12434
12434
  throw Error("Expected coordinate pair triplet at position " + u);
12435
- c = c.reduce(function(x, b, w) {
12435
+ c = c.reduce(function(b, x, w) {
12436
12436
  var E = w % 3;
12437
12437
  if (!E)
12438
- x.push(d({ cp1: b }));
12438
+ b.push(d({ cp1: x }));
12439
12439
  else {
12440
- var S = x[x.length - 1];
12441
- S[E === 1 ? "cp2" : "end"] = b;
12440
+ var S = b[b.length - 1];
12441
+ S[E === 1 ? "cp2" : "end"] = x;
12442
12442
  }
12443
- return x;
12443
+ return b;
12444
12444
  }, []);
12445
12445
  break;
12446
12446
  case "Q":
12447
12447
  case "S":
12448
12448
  if (c = _("coordinate pair"), c.length & 1)
12449
12449
  throw Error("Expected coordinate pair couple at position " + u);
12450
- c = c.reduce(function(x, b, w) {
12450
+ c = c.reduce(function(b, x, w) {
12451
12451
  var E = w & 1;
12452
12452
  if (!E)
12453
- x.push(d({ cp: b }));
12453
+ b.push(d({ cp: x }));
12454
12454
  else {
12455
- var S = x[x.length - 1];
12456
- S.end = b;
12455
+ var S = b[b.length - 1];
12456
+ S.end = x;
12457
12457
  }
12458
- return x;
12458
+ return b;
12459
12459
  }, []);
12460
12460
  break;
12461
12461
  case "H":
12462
12462
  case "V":
12463
- c = _("number").map(function(x) {
12464
- return d({ value: x });
12463
+ c = _("number").map(function(b) {
12464
+ return d({ value: b });
12465
12465
  });
12466
12466
  break;
12467
12467
  case "A":
@@ -12474,23 +12474,23 @@ var HM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
12474
12474
  l.push.apply(l, c);
12475
12475
  }
12476
12476
  return l;
12477
- function d(x) {
12478
- return x.code = f, x.relative = v, x;
12477
+ function d(b) {
12478
+ return b.code = f, b.relative = v, b;
12479
12479
  }
12480
- function m(x, b) {
12481
- i[x].lastIndex = u;
12482
- var w = i[x].exec(n);
12480
+ function m(b, x) {
12481
+ i[b].lastIndex = u;
12482
+ var w = i[b].exec(n);
12483
12483
  if (!w || w.index !== u) {
12484
- if (!b)
12484
+ if (!x)
12485
12485
  return null;
12486
- throw Error("Expected " + x + " at position " + u);
12486
+ throw Error("Expected " + b + " at position " + u);
12487
12487
  }
12488
- return u = i[x].lastIndex, w[1];
12488
+ return u = i[b].lastIndex, w[1];
12489
12489
  }
12490
- function _(x) {
12491
- for (var b = [], w, E = !0; w = a[x](E); )
12492
- b.push(w), E = !!m("comma");
12493
- return b;
12490
+ function _(b) {
12491
+ for (var x = [], w, E = !0; w = a[b](E); )
12492
+ x.push(w), E = !!m("comma");
12493
+ return x;
12494
12494
  }
12495
12495
  };
12496
12496
  });
@@ -13177,28 +13177,28 @@ var gO = function() {
13177
13177
  var a = e * i - r * n < 0 ? -1 : 1, u = e * n + r * i;
13178
13178
  return u > 1 && (u = 1), u < -1 && (u = -1), a * Math.acos(u);
13179
13179
  }, vO = function(e, r, n, i, a, u, l, f, p, v, c, d) {
13180
- var m = Math.pow(a, 2), _ = Math.pow(u, 2), x = Math.pow(c, 2), b = Math.pow(d, 2), w = m * _ - m * b - _ * x;
13181
- w < 0 && (w = 0), w /= m * b + _ * x, w = Math.sqrt(w) * (l === f ? -1 : 1);
13180
+ var m = Math.pow(a, 2), _ = Math.pow(u, 2), b = Math.pow(c, 2), x = Math.pow(d, 2), w = m * _ - m * x - _ * b;
13181
+ w < 0 && (w = 0), w /= m * x + _ * b, w = Math.sqrt(w) * (l === f ? -1 : 1);
13182
13182
  var E = w * a / u * d, S = w * -u / a * c, I = v * E - p * S + (e + n) / 2, O = p * E + v * S + (r + i) / 2, N = (c - E) / a, L = (d - S) / u, k = (-c - E) / a, D = (-d - S) / u, j = Eg(1, 0, N, L), Z = Eg(N, L, k, D);
13183
13183
  return f === 0 && Z > 0 && (Z -= ys), f === 1 && Z < 0 && (Z += ys), [I, O, j, Z];
13184
13184
  }, Cg = function(e) {
13185
13185
  var r = e.px, n = e.py, i = e.cx, a = e.cy, u = e.rx, l = e.ry, f = e.xAxisRotation, p = f === void 0 ? 0 : f, v = e.largeArcFlag, c = v === void 0 ? 0 : v, d = e.sweepFlag, m = d === void 0 ? 0 : d, _ = [];
13186
13186
  if (u === 0 || l === 0)
13187
13187
  return [];
13188
- var x = Math.sin(p * ys / 360), b = Math.cos(p * ys / 360), w = b * (r - i) / 2 + x * (n - a) / 2, E = -x * (r - i) / 2 + b * (n - a) / 2;
13188
+ var b = Math.sin(p * ys / 360), x = Math.cos(p * ys / 360), w = x * (r - i) / 2 + b * (n - a) / 2, E = -b * (r - i) / 2 + x * (n - a) / 2;
13189
13189
  if (w === 0 && E === 0)
13190
13190
  return [];
13191
13191
  u = Math.abs(u), l = Math.abs(l);
13192
13192
  var S = Math.pow(w, 2) / Math.pow(u, 2) + Math.pow(E, 2) / Math.pow(l, 2);
13193
13193
  S > 1 && (u *= Math.sqrt(S), l *= Math.sqrt(S));
13194
- var I = vO(r, n, i, a, u, l, c, m, x, b, w, E), O = gO(I, 4), N = O[0], L = O[1], k = O[2], D = O[3], j = Math.abs(D) / (ys / 4);
13194
+ var I = vO(r, n, i, a, u, l, c, m, b, x, w, E), O = gO(I, 4), N = O[0], L = O[1], k = O[2], D = O[3], j = Math.abs(D) / (ys / 4);
13195
13195
  Math.abs(1 - j) < 1e-7 && (j = 1);
13196
13196
  var Z = Math.max(Math.ceil(j), 1);
13197
13197
  D /= Z;
13198
13198
  for (var he = 0; he < Z; he++)
13199
13199
  _.push(mO(k, D)), k += D;
13200
13200
  return _.map(function(H) {
13201
- var V = Xl(H[0], u, l, b, x, N, L), ue = V.x, ve = V.y, z = Xl(H[1], u, l, b, x, N, L), J = z.x, de = z.y, X = Xl(H[2], u, l, b, x, N, L), q = X.x, le = X.y;
13201
+ var V = Xl(H[0], u, l, x, b, N, L), ue = V.x, ve = V.y, z = Xl(H[1], u, l, x, b, N, L), J = z.x, de = z.y, X = Xl(H[2], u, l, x, b, N, L), q = X.x, le = X.y;
13202
13202
  return { x1: ue, y1: ve, x2: J, y2: de, x: q, y: le };
13203
13203
  });
13204
13204
  };
@@ -13739,9 +13739,9 @@ function Ig(t, e, r, n) {
13739
13739
  return a > 1 && (a = 1), a < -1 && (a = -1), i * Math.acos(a);
13740
13740
  }
13741
13741
  function LO(t, e, r, n, i, a, u, l, f, p) {
13742
- var v = p * (t - r) / 2 + f * (e - n) / 2, c = -f * (t - r) / 2 + p * (e - n) / 2, d = u * u, m = l * l, _ = v * v, x = c * c, b = d * m - d * x - m * _;
13743
- b < 0 && (b = 0), b /= d * x + m * _, b = Math.sqrt(b) * (i === a ? -1 : 1);
13744
- var w = b * u / l * c, E = b * -l / u * v, S = p * w - f * E + (t + r) / 2, I = f * w + p * E + (e + n) / 2, O = (v - w) / u, N = (c - E) / l, L = (-v - w) / u, k = (-c - E) / l, D = Ig(1, 0, O, N), j = Ig(O, N, L, k);
13742
+ var v = p * (t - r) / 2 + f * (e - n) / 2, c = -f * (t - r) / 2 + p * (e - n) / 2, d = u * u, m = l * l, _ = v * v, b = c * c, x = d * m - d * b - m * _;
13743
+ x < 0 && (x = 0), x /= d * b + m * _, x = Math.sqrt(x) * (i === a ? -1 : 1);
13744
+ var w = x * u / l * c, E = x * -l / u * v, S = p * w - f * E + (t + r) / 2, I = f * w + p * E + (e + n) / 2, O = (v - w) / u, N = (c - E) / l, L = (-v - w) / u, k = (-c - E) / l, D = Ig(1, 0, O, N), j = Ig(O, N, L, k);
13745
13745
  return a === 0 && j > 0 && (j -= xs), a === 1 && j < 0 && (j += xs), [S, I, D, j];
13746
13746
  }
13747
13747
  function kO(t, e) {
@@ -13757,16 +13757,16 @@ var BO = function(e, r, n, i, a, u, l, f, p) {
13757
13757
  l = Math.abs(l), f = Math.abs(f);
13758
13758
  var _ = d * d / (l * l) + m * m / (f * f);
13759
13759
  _ > 1 && (l *= Math.sqrt(_), f *= Math.sqrt(_));
13760
- var x = LO(e, r, n, i, a, u, l, f, v, c), b = [], w = x[2], E = x[3], S = Math.max(Math.ceil(Math.abs(E) / (xs / 4)), 1);
13760
+ var b = LO(e, r, n, i, a, u, l, f, v, c), x = [], w = b[2], E = b[3], S = Math.max(Math.ceil(Math.abs(E) / (xs / 4)), 1);
13761
13761
  E /= S;
13762
13762
  for (var I = 0; I < S; I++)
13763
- b.push(kO(w, E)), w += E;
13764
- return b.map(function(O) {
13763
+ x.push(kO(w, E)), w += E;
13764
+ return x.map(function(O) {
13765
13765
  for (var N = 0; N < O.length; N += 2) {
13766
13766
  var L = O[N + 0], k = O[N + 1];
13767
13767
  L *= l, k *= f;
13768
13768
  var D = c * L - v * k, j = v * L + c * k;
13769
- O[N + 0] = D + x[0], O[N + 1] = j + x[1];
13769
+ O[N + 0] = D + b[0], O[N + 1] = j + b[1];
13770
13770
  }
13771
13771
  return O;
13772
13772
  });
@@ -13936,26 +13936,26 @@ ot.prototype.iterate = function(t, e) {
13936
13936
  if (e || this.__evaluateStack(), r.forEach(function(d, m) {
13937
13937
  var _ = t(d, m, a, u);
13938
13938
  Array.isArray(_) && (n[m] = _, i = !0);
13939
- var x = d[0] === d[0].toLowerCase();
13939
+ var b = d[0] === d[0].toLowerCase();
13940
13940
  switch (d[0]) {
13941
13941
  case "m":
13942
13942
  case "M":
13943
- a = d[1] + (x ? a : 0), u = d[2] + (x ? u : 0), l = a, f = u;
13943
+ a = d[1] + (b ? a : 0), u = d[2] + (b ? u : 0), l = a, f = u;
13944
13944
  return;
13945
13945
  case "h":
13946
13946
  case "H":
13947
- a = d[1] + (x ? a : 0);
13947
+ a = d[1] + (b ? a : 0);
13948
13948
  return;
13949
13949
  case "v":
13950
13950
  case "V":
13951
- u = d[1] + (x ? u : 0);
13951
+ u = d[1] + (b ? u : 0);
13952
13952
  return;
13953
13953
  case "z":
13954
13954
  case "Z":
13955
13955
  a = l, u = f;
13956
13956
  return;
13957
13957
  default:
13958
- a = d[d.length - 2] + (x ? a : 0), u = d[d.length - 1] + (x ? u : 0);
13958
+ a = d[d.length - 2] + (b ? a : 0), u = d[d.length - 1] + (b ? u : 0);
13959
13959
  }
13960
13960
  }), !i)
13961
13961
  return this;
@@ -14032,7 +14032,7 @@ ot.prototype.unshort = function() {
14032
14032
  };
14033
14033
  var HO = ot, VO = HO;
14034
14034
  const XO = /* @__PURE__ */ Fi(VO), O5 = re.forwardRef((t, e) => {
14035
- const [r, n] = re.useState(null), i = me(null), a = me(null), u = me(null), {
14035
+ const [r, n] = re.useState(null), i = ge(null), a = ge(null), u = ge(null), {
14036
14036
  path: l,
14037
14037
  visible: f,
14038
14038
  disabled: p,
@@ -14042,8 +14042,8 @@ const XO = /* @__PURE__ */ Fi(VO), O5 = re.forwardRef((t, e) => {
14042
14042
  width: d,
14043
14043
  height: m,
14044
14044
  anchor: _,
14045
- hexColor: x,
14046
- fill: b,
14045
+ hexColor: b,
14046
+ fill: x,
14047
14047
  stroke: w = "none",
14048
14048
  strokeWidth: E = 0,
14049
14049
  colorCorrection: S = {}
@@ -14061,12 +14061,12 @@ const XO = /* @__PURE__ */ Fi(VO), O5 = re.forwardRef((t, e) => {
14061
14061
  } = Ui(S), { blurRadius: V = 0, vignette: ue = 0, noise: ve = 0 } = S;
14062
14062
  return re.useEffect(() => {
14063
14063
  const z = XO(l).scale(5).translate(0, 0).toString(), J = `<svg xmlns="http://www.w3.org/2000/svg" width="${d}" height="${m}">
14064
- <path stroke="${w}" stroke-width="${E}" fill="${x || b}" d="${z}">
14064
+ <path stroke="${w}" stroke-width="${E}" fill="${b || x}" d="${z}">
14065
14065
  </path>
14066
14066
  </svg>`, de = new _O(J), X = N.renderer.generateTexture(de);
14067
14067
  return n(X), () => {
14068
14068
  };
14069
- }, [N, l, w, E, x, b]), /* @__PURE__ */ Ce.jsx(Vn, { ...t, ref: e, children: /* @__PURE__ */ Ce.jsx(St, { ref: a, children: /* @__PURE__ */ Ce.jsx(St, { ref: u, children: r && /* @__PURE__ */ Ce.jsx(
14069
+ }, [N, l, w, E, b, x]), /* @__PURE__ */ Ce.jsx(Vn, { ...t, ref: e, children: /* @__PURE__ */ Ce.jsx(St, { ref: a, children: /* @__PURE__ */ Ce.jsx(St, { ref: u, children: r && /* @__PURE__ */ Ce.jsx(
14070
14070
  _o,
14071
14071
  {
14072
14072
  texture: r,
@@ -14134,9 +14134,9 @@ var G0 = {};
14134
14134
  d.usingWebAudio && d.masterGain.gain.setValueAtTime(c, r.ctx.currentTime);
14135
14135
  for (var m = 0; m < d._howls.length; m++)
14136
14136
  if (!d._howls[m]._webAudio)
14137
- for (var _ = d._howls[m]._getSoundIds(), x = 0; x < _.length; x++) {
14138
- var b = d._howls[m]._soundById(_[x]);
14139
- b && b._node && (b._node.volume = b._volume * c);
14137
+ for (var _ = d._howls[m]._getSoundIds(), b = 0; b < _.length; b++) {
14138
+ var x = d._howls[m]._soundById(_[b]);
14139
+ x && x._node && (x._node.volume = x._volume * c);
14140
14140
  }
14141
14141
  return d;
14142
14142
  }
@@ -14151,9 +14151,9 @@ var G0 = {};
14151
14151
  d.ctx || v(), d._muted = c, d.usingWebAudio && d.masterGain.gain.setValueAtTime(c ? 0 : d._volume, r.ctx.currentTime);
14152
14152
  for (var m = 0; m < d._howls.length; m++)
14153
14153
  if (!d._howls[m]._webAudio)
14154
- for (var _ = d._howls[m]._getSoundIds(), x = 0; x < _.length; x++) {
14155
- var b = d._howls[m]._soundById(_[x]);
14156
- b && b._node && (b._node.muted = c ? !0 : b._muted);
14154
+ for (var _ = d._howls[m]._getSoundIds(), b = 0; b < _.length; b++) {
14155
+ var x = d._howls[m]._soundById(_[b]);
14156
+ x && x._node && (x._node.muted = c ? !0 : x._muted);
14157
14157
  }
14158
14158
  return d;
14159
14159
  },
@@ -14218,9 +14218,9 @@ var G0 = {};
14218
14218
  }
14219
14219
  if (!d || typeof d.canPlayType != "function")
14220
14220
  return c;
14221
- var m = d.canPlayType("audio/mpeg;").replace(/^no$/, ""), _ = c._navigator ? c._navigator.userAgent : "", x = _.match(/OPR\/([0-6].)/g), b = x && parseInt(x[0].split("/")[1], 10) < 33, w = _.indexOf("Safari") !== -1 && _.indexOf("Chrome") === -1, E = _.match(/Version\/(.*?) /), S = w && E && parseInt(E[1], 10) < 15;
14221
+ var m = d.canPlayType("audio/mpeg;").replace(/^no$/, ""), _ = c._navigator ? c._navigator.userAgent : "", b = _.match(/OPR\/([0-6].)/g), x = b && parseInt(b[0].split("/")[1], 10) < 33, w = _.indexOf("Safari") !== -1 && _.indexOf("Chrome") === -1, E = _.match(/Version\/(.*?) /), S = w && E && parseInt(E[1], 10) < 15;
14222
14222
  return c._codecs = {
14223
- mp3: !!(!b && (m || d.canPlayType("audio/mp3;").replace(/^no$/, ""))),
14223
+ mp3: !!(!x && (m || d.canPlayType("audio/mp3;").replace(/^no$/, ""))),
14224
14224
  mpeg: !!m,
14225
14225
  opus: !!d.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/, ""),
14226
14226
  ogg: !!d.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/, ""),
@@ -14256,10 +14256,10 @@ var G0 = {};
14256
14256
  c.noAudio = !0;
14257
14257
  break;
14258
14258
  }
14259
- for (var x = 0; x < c._howls.length; x++)
14260
- if (!c._howls[x]._webAudio)
14261
- for (var b = c._howls[x]._getSoundIds(), w = 0; w < b.length; w++) {
14262
- var E = c._howls[x]._soundById(b[w]);
14259
+ for (var b = 0; b < c._howls.length; b++)
14260
+ if (!c._howls[b]._webAudio)
14261
+ for (var x = c._howls[b]._getSoundIds(), w = 0; w < x.length; w++) {
14262
+ var E = c._howls[b]._soundById(x[w]);
14263
14263
  E && E._node && !E._node._unlocked && (E._node._unlocked = !0, E._node.load());
14264
14264
  }
14265
14265
  c._autoResume();
@@ -14373,15 +14373,15 @@ var G0 = {};
14373
14373
  }
14374
14374
  typeof c._src == "string" && (c._src = [c._src]);
14375
14375
  for (var m = 0; m < c._src.length; m++) {
14376
- var _, x;
14376
+ var _, b;
14377
14377
  if (c._format && c._format[m])
14378
14378
  _ = c._format[m];
14379
14379
  else {
14380
- if (x = c._src[m], typeof x != "string") {
14380
+ if (b = c._src[m], typeof b != "string") {
14381
14381
  c._emit("loaderror", null, "Non-string found in selected audio sources - ignoring.");
14382
14382
  continue;
14383
14383
  }
14384
- _ = /^data:audio\/([^;,]+);/i.exec(x), _ || (_ = /\.([^.]+)$/.exec(x.split("?", 1)[0])), _ && (_ = _[1].toLowerCase());
14384
+ _ = /^data:audio\/([^;,]+);/i.exec(b), _ || (_ = /\.([^.]+)$/.exec(b.split("?", 1)[0])), _ && (_ = _[1].toLowerCase());
14385
14385
  }
14386
14386
  if (_ || console.warn('No file extension was found. Consider using the "format" property or specify an extension.'), _ && r.codecs(_)) {
14387
14387
  d = c._src[m];
@@ -14408,9 +14408,9 @@ var G0 = {};
14408
14408
  if (typeof c == "string" && m._state === "loaded" && !m._sprite[c])
14409
14409
  return null;
14410
14410
  if (typeof c > "u" && (c = "__default", !m._playLock)) {
14411
- for (var x = 0, b = 0; b < m._sounds.length; b++)
14412
- m._sounds[b]._paused && !m._sounds[b]._ended && (x++, _ = m._sounds[b]._id);
14413
- x === 1 ? c = null : _ = null;
14411
+ for (var b = 0, x = 0; x < m._sounds.length; x++)
14412
+ m._sounds[x]._paused && !m._sounds[x]._ended && (b++, _ = m._sounds[x]._id);
14413
+ b === 1 ? c = null : _ = null;
14414
14414
  }
14415
14415
  }
14416
14416
  var w = _ ? m._soundById(_) : m._inactiveSound();
@@ -14498,15 +14498,15 @@ var G0 = {};
14498
14498
  }), d;
14499
14499
  for (var m = d._getSoundIds(c), _ = 0; _ < m.length; _++) {
14500
14500
  d._clearTimer(m[_]);
14501
- var x = d._soundById(m[_]);
14502
- if (x && !x._paused && (x._seek = d.seek(m[_]), x._rateSeek = 0, x._paused = !0, d._stopFade(m[_]), x._node))
14501
+ var b = d._soundById(m[_]);
14502
+ if (b && !b._paused && (b._seek = d.seek(m[_]), b._rateSeek = 0, b._paused = !0, d._stopFade(m[_]), b._node))
14503
14503
  if (d._webAudio) {
14504
- if (!x._node.bufferSource)
14504
+ if (!b._node.bufferSource)
14505
14505
  continue;
14506
- typeof x._node.bufferSource.stop > "u" ? x._node.bufferSource.noteOff(0) : x._node.bufferSource.stop(0), d._cleanBuffer(x._node);
14506
+ typeof b._node.bufferSource.stop > "u" ? b._node.bufferSource.noteOff(0) : b._node.bufferSource.stop(0), d._cleanBuffer(b._node);
14507
14507
  } else
14508
- (!isNaN(x._node.duration) || x._node.duration === 1 / 0) && x._node.pause();
14509
- arguments[1] || d._emit("pause", x ? x._id : null);
14508
+ (!isNaN(b._node.duration) || b._node.duration === 1 / 0) && b._node.pause();
14509
+ arguments[1] || d._emit("pause", b ? b._id : null);
14510
14510
  }
14511
14511
  return d;
14512
14512
  },
@@ -14525,10 +14525,10 @@ var G0 = {};
14525
14525
  m.stop(c);
14526
14526
  }
14527
14527
  }), m;
14528
- for (var _ = m._getSoundIds(c), x = 0; x < _.length; x++) {
14529
- m._clearTimer(_[x]);
14530
- var b = m._soundById(_[x]);
14531
- b && (b._seek = b._start || 0, b._rateSeek = 0, b._paused = !0, b._ended = !0, m._stopFade(_[x]), b._node && (m._webAudio ? b._node.bufferSource && (typeof b._node.bufferSource.stop > "u" ? b._node.bufferSource.noteOff(0) : b._node.bufferSource.stop(0), m._cleanBuffer(b._node)) : (!isNaN(b._node.duration) || b._node.duration === 1 / 0) && (b._node.currentTime = b._start || 0, b._node.pause(), b._node.duration === 1 / 0 && m._clearSound(b._node))), d || m._emit("stop", b._id));
14528
+ for (var _ = m._getSoundIds(c), b = 0; b < _.length; b++) {
14529
+ m._clearTimer(_[b]);
14530
+ var x = m._soundById(_[b]);
14531
+ x && (x._seek = x._start || 0, x._rateSeek = 0, x._paused = !0, x._ended = !0, m._stopFade(_[b]), x._node && (m._webAudio ? x._node.bufferSource && (typeof x._node.bufferSource.stop > "u" ? x._node.bufferSource.noteOff(0) : x._node.bufferSource.stop(0), m._cleanBuffer(x._node)) : (!isNaN(x._node.duration) || x._node.duration === 1 / 0) && (x._node.currentTime = x._start || 0, x._node.pause(), x._node.duration === 1 / 0 && m._clearSound(x._node))), d || m._emit("stop", x._id));
14532
14532
  }
14533
14533
  return m;
14534
14534
  },
@@ -14552,9 +14552,9 @@ var G0 = {};
14552
14552
  m._muted = c;
14553
14553
  else
14554
14554
  return m._muted;
14555
- for (var _ = m._getSoundIds(d), x = 0; x < _.length; x++) {
14556
- var b = m._soundById(_[x]);
14557
- b && (b._muted = c, b._interval && m._stopFade(b._id), m._webAudio && b._node ? b._node.gain.setValueAtTime(c ? 0 : b._volume, r.ctx.currentTime) : b._node && (b._node.muted = r._muted ? !0 : c), m._emit("mute", b._id));
14555
+ for (var _ = m._getSoundIds(d), b = 0; b < _.length; b++) {
14556
+ var x = m._soundById(_[b]);
14557
+ x && (x._muted = c, x._interval && m._stopFade(x._id), m._webAudio && x._node ? x._node.gain.setValueAtTime(c ? 0 : x._volume, r.ctx.currentTime) : x._node && (x._node.muted = r._muted ? !0 : c), m._emit("mute", x._id));
14558
14558
  }
14559
14559
  return m;
14560
14560
  },
@@ -14571,8 +14571,8 @@ var G0 = {};
14571
14571
  if (d.length === 0)
14572
14572
  return c._volume;
14573
14573
  if (d.length === 1 || d.length === 2 && typeof d[1] > "u") {
14574
- var x = c._getSoundIds(), b = x.indexOf(d[0]);
14575
- b >= 0 ? _ = parseInt(d[0], 10) : m = parseFloat(d[0]);
14574
+ var b = c._getSoundIds(), x = b.indexOf(d[0]);
14575
+ x >= 0 ? _ = parseInt(d[0], 10) : m = parseFloat(d[0]);
14576
14576
  } else
14577
14577
  d.length >= 2 && (m = parseFloat(d[0]), _ = parseInt(d[1], 10));
14578
14578
  var w;
@@ -14600,26 +14600,26 @@ var G0 = {};
14600
14600
  * @return {Howl}
14601
14601
  */
14602
14602
  fade: function(c, d, m, _) {
14603
- var x = this;
14604
- if (x._state !== "loaded" || x._playLock)
14605
- return x._queue.push({
14603
+ var b = this;
14604
+ if (b._state !== "loaded" || b._playLock)
14605
+ return b._queue.push({
14606
14606
  event: "fade",
14607
14607
  action: function() {
14608
- x.fade(c, d, m, _);
14608
+ b.fade(c, d, m, _);
14609
14609
  }
14610
- }), x;
14611
- c = Math.min(Math.max(0, parseFloat(c)), 1), d = Math.min(Math.max(0, parseFloat(d)), 1), m = parseFloat(m), x.volume(c, _);
14612
- for (var b = x._getSoundIds(_), w = 0; w < b.length; w++) {
14613
- var E = x._soundById(b[w]);
14610
+ }), b;
14611
+ c = Math.min(Math.max(0, parseFloat(c)), 1), d = Math.min(Math.max(0, parseFloat(d)), 1), m = parseFloat(m), b.volume(c, _);
14612
+ for (var x = b._getSoundIds(_), w = 0; w < x.length; w++) {
14613
+ var E = b._soundById(x[w]);
14614
14614
  if (E) {
14615
- if (_ || x._stopFade(b[w]), x._webAudio && !E._muted) {
14615
+ if (_ || b._stopFade(x[w]), b._webAudio && !E._muted) {
14616
14616
  var S = r.ctx.currentTime, I = S + m / 1e3;
14617
14617
  E._volume = c, E._node.gain.setValueAtTime(c, S), E._node.gain.linearRampToValueAtTime(d, I);
14618
14618
  }
14619
- x._startFadeInterval(E, c, d, m, b[w], typeof _ > "u");
14619
+ b._startFadeInterval(E, c, d, m, x[w], typeof _ > "u");
14620
14620
  }
14621
14621
  }
14622
- return x;
14622
+ return b;
14623
14623
  },
14624
14624
  /**
14625
14625
  * Starts the internal interval to fade a sound.
@@ -14630,11 +14630,11 @@ var G0 = {};
14630
14630
  * @param {Number} id The sound id to fade.
14631
14631
  * @param {Boolean} isGroup If true, set the volume on the group.
14632
14632
  */
14633
- _startFadeInterval: function(c, d, m, _, x, b) {
14633
+ _startFadeInterval: function(c, d, m, _, b, x) {
14634
14634
  var w = this, E = d, S = m - d, I = Math.abs(S / 0.01), O = Math.max(4, I > 0 ? _ / I : _), N = Date.now();
14635
14635
  c._fadeTo = m, c._interval = setInterval(function() {
14636
14636
  var L = (Date.now() - N) / _;
14637
- N = Date.now(), E += S * L, E = Math.round(E * 100) / 100, S < 0 ? E = Math.max(m, E) : E = Math.min(m, E), w._webAudio ? c._volume = E : w.volume(E, c._id, !0), b && (w._volume = E), (m < d && E <= m || m > d && E >= m) && (clearInterval(c._interval), c._interval = null, c._fadeTo = null, w.volume(m, c._id), w._emit("fade", c._id));
14637
+ N = Date.now(), E += S * L, E = Math.round(E * 100) / 100, S < 0 ? E = Math.max(m, E) : E = Math.min(m, E), w._webAudio ? c._volume = E : w.volume(E, c._id, !0), x && (w._volume = E), (m < d && E <= m || m > d && E >= m) && (clearInterval(c._interval), c._interval = null, c._fadeTo = null, w.volume(m, c._id), w._emit("fade", c._id));
14638
14638
  }, O);
14639
14639
  },
14640
14640
  /**
@@ -14656,18 +14656,18 @@ var G0 = {};
14656
14656
  * @return {Howl/Boolean} Returns self or current loop value.
14657
14657
  */
14658
14658
  loop: function() {
14659
- var c = this, d = arguments, m, _, x;
14659
+ var c = this, d = arguments, m, _, b;
14660
14660
  if (d.length === 0)
14661
14661
  return c._loop;
14662
14662
  if (d.length === 1)
14663
14663
  if (typeof d[0] == "boolean")
14664
14664
  m = d[0], c._loop = m;
14665
14665
  else
14666
- return x = c._soundById(parseInt(d[0], 10)), x ? x._loop : !1;
14666
+ return b = c._soundById(parseInt(d[0], 10)), b ? b._loop : !1;
14667
14667
  else
14668
14668
  d.length === 2 && (m = d[0], _ = parseInt(d[1], 10));
14669
- for (var b = c._getSoundIds(_), w = 0; w < b.length; w++)
14670
- x = c._soundById(b[w]), x && (x._loop = m, c._webAudio && x._node && x._node.bufferSource && (x._node.bufferSource.loop = m, m && (x._node.bufferSource.loopStart = x._start || 0, x._node.bufferSource.loopEnd = x._stop, c.playing(b[w]) && (c.pause(b[w], !0), c.play(b[w], !0)))));
14669
+ for (var x = c._getSoundIds(_), w = 0; w < x.length; w++)
14670
+ b = c._soundById(x[w]), b && (b._loop = m, c._webAudio && b._node && b._node.bufferSource && (b._node.bufferSource.loop = m, m && (b._node.bufferSource.loopStart = b._start || 0, b._node.bufferSource.loopEnd = b._stop, c.playing(x[w]) && (c.pause(x[w], !0), c.play(x[w], !0)))));
14671
14671
  return c;
14672
14672
  },
14673
14673
  /**
@@ -14683,8 +14683,8 @@ var G0 = {};
14683
14683
  if (d.length === 0)
14684
14684
  _ = c._sounds[0]._id;
14685
14685
  else if (d.length === 1) {
14686
- var x = c._getSoundIds(), b = x.indexOf(d[0]);
14687
- b >= 0 ? _ = parseInt(d[0], 10) : m = parseFloat(d[0]);
14686
+ var b = c._getSoundIds(), x = b.indexOf(d[0]);
14687
+ x >= 0 ? _ = parseInt(d[0], 10) : m = parseFloat(d[0]);
14688
14688
  } else
14689
14689
  d.length === 2 && (m = parseFloat(d[0]), _ = parseInt(d[1], 10));
14690
14690
  var w;
@@ -14720,8 +14720,8 @@ var G0 = {};
14720
14720
  if (d.length === 0)
14721
14721
  c._sounds.length && (_ = c._sounds[0]._id);
14722
14722
  else if (d.length === 1) {
14723
- var x = c._getSoundIds(), b = x.indexOf(d[0]);
14724
- b >= 0 ? _ = parseInt(d[0], 10) : c._sounds.length && (_ = c._sounds[0]._id, m = parseFloat(d[0]));
14723
+ var b = c._getSoundIds(), x = b.indexOf(d[0]);
14724
+ x >= 0 ? _ = parseInt(d[0], 10) : c._sounds.length && (_ = c._sounds[0]._id, m = parseFloat(d[0]));
14725
14725
  } else
14726
14726
  d.length === 2 && (m = parseFloat(d[0]), _ = parseInt(d[1], 10));
14727
14727
  if (typeof _ > "u")
@@ -14796,13 +14796,13 @@ var G0 = {};
14796
14796
  d[m]._paused || c.stop(d[m]._id), c._webAudio || (c._clearSound(d[m]._node), d[m]._node.removeEventListener("error", d[m]._errorFn, !1), d[m]._node.removeEventListener(r._canPlayEvent, d[m]._loadFn, !1), d[m]._node.removeEventListener("ended", d[m]._endFn, !1), r._releaseHtml5Audio(d[m]._node)), delete d[m]._node, c._clearTimer(d[m]._id);
14797
14797
  var _ = r._howls.indexOf(c);
14798
14798
  _ >= 0 && r._howls.splice(_, 1);
14799
- var x = !0;
14799
+ var b = !0;
14800
14800
  for (m = 0; m < r._howls.length; m++)
14801
14801
  if (r._howls[m]._src === c._src || c._src.indexOf(r._howls[m]._src) >= 0) {
14802
- x = !1;
14802
+ b = !1;
14803
14803
  break;
14804
14804
  }
14805
- return a && x && delete a[c._src], r.noAudio = !1, c._state = "unloaded", c._sounds = [], c = null, null;
14805
+ return a && b && delete a[c._src], r.noAudio = !1, c._state = "unloaded", c._sounds = [], c = null, null;
14806
14806
  },
14807
14807
  /**
14808
14808
  * Listen to a custom event.
@@ -14813,8 +14813,8 @@ var G0 = {};
14813
14813
  * @return {Howl}
14814
14814
  */
14815
14815
  on: function(c, d, m, _) {
14816
- var x = this, b = x["_on" + c];
14817
- return typeof d == "function" && b.push(_ ? { id: m, fn: d, once: _ } : { id: m, fn: d }), x;
14816
+ var b = this, x = b["_on" + c];
14817
+ return typeof d == "function" && x.push(_ ? { id: m, fn: d, once: _ } : { id: m, fn: d }), b;
14818
14818
  },
14819
14819
  /**
14820
14820
  * Remove a custom event. Call without parameters to remove all events.
@@ -14824,12 +14824,12 @@ var G0 = {};
14824
14824
  * @return {Howl}
14825
14825
  */
14826
14826
  off: function(c, d, m) {
14827
- var _ = this, x = _["_on" + c], b = 0;
14827
+ var _ = this, b = _["_on" + c], x = 0;
14828
14828
  if (typeof d == "number" && (m = d, d = null), d || m)
14829
- for (b = 0; b < x.length; b++) {
14830
- var w = m === x[b].id;
14831
- if (d === x[b].fn && w || !d && w) {
14832
- x.splice(b, 1);
14829
+ for (x = 0; x < b.length; x++) {
14830
+ var w = m === b[x].id;
14831
+ if (d === b[x].fn && w || !d && w) {
14832
+ b.splice(x, 1);
14833
14833
  break;
14834
14834
  }
14835
14835
  }
@@ -14837,8 +14837,8 @@ var G0 = {};
14837
14837
  _["_on" + c] = [];
14838
14838
  else {
14839
14839
  var E = Object.keys(_);
14840
- for (b = 0; b < E.length; b++)
14841
- E[b].indexOf("_on") === 0 && Array.isArray(_[E[b]]) && (_[E[b]] = []);
14840
+ for (x = 0; x < E.length; x++)
14841
+ E[x].indexOf("_on") === 0 && Array.isArray(_[E[x]]) && (_[E[x]] = []);
14842
14842
  }
14843
14843
  return _;
14844
14844
  },
@@ -14861,10 +14861,10 @@ var G0 = {};
14861
14861
  * @return {Howl}
14862
14862
  */
14863
14863
  _emit: function(c, d, m) {
14864
- for (var _ = this, x = _["_on" + c], b = x.length - 1; b >= 0; b--)
14865
- (!x[b].id || x[b].id === d || c === "load") && (setTimeout((function(w) {
14864
+ for (var _ = this, b = _["_on" + c], x = b.length - 1; x >= 0; x--)
14865
+ (!b[x].id || b[x].id === d || c === "load") && (setTimeout((function(w) {
14866
14866
  w.call(this, d, m);
14867
- }).bind(_, x[b].fn), 0), x[b].once && _.off(c, x[b].fn, x[b].id));
14867
+ }).bind(_, b[x].fn), 0), b[x].once && _.off(c, b[x].fn, b[x].id));
14868
14868
  return _._loadQueue(c), _;
14869
14869
  },
14870
14870
  /**
@@ -14893,8 +14893,8 @@ var G0 = {};
14893
14893
  var _ = !!(c._loop || d._sprite[m][2]);
14894
14894
  if (d._emit("end", c._id), !d._webAudio && _ && d.stop(c._id, !0).play(c._id), d._webAudio && _) {
14895
14895
  d._emit("play", c._id), c._seek = c._start || 0, c._rateSeek = 0, c._playStart = r.ctx.currentTime;
14896
- var x = (c._stop - c._start) * 1e3 / Math.abs(c._rate);
14897
- d._endTimers[c._id] = setTimeout(d._ended.bind(d, c), x);
14896
+ var b = (c._stop - c._start) * 1e3 / Math.abs(c._rate);
14897
+ d._endTimers[c._id] = setTimeout(d._ended.bind(d, c), b);
14898
14898
  }
14899
14899
  return d._webAudio && !_ && (c._paused = !0, c._ended = !0, c._seek = c._start || 0, c._rateSeek = 0, d._clearTimer(c._id), d._cleanBuffer(c._node), r._autoSuspend()), !d._webAudio && !_ && d.stop(c._id, !0), d;
14900
14900
  },
@@ -15057,23 +15057,23 @@ var G0 = {};
15057
15057
  return;
15058
15058
  }
15059
15059
  if (/^data:[^;]+;base64,/.test(d)) {
15060
- for (var m = atob(d.split(",")[1]), _ = new Uint8Array(m.length), x = 0; x < m.length; ++x)
15061
- _[x] = m.charCodeAt(x);
15060
+ for (var m = atob(d.split(",")[1]), _ = new Uint8Array(m.length), b = 0; b < m.length; ++b)
15061
+ _[b] = m.charCodeAt(b);
15062
15062
  f(_.buffer, c);
15063
15063
  } else {
15064
- var b = new XMLHttpRequest();
15065
- b.open(c._xhr.method, d, !0), b.withCredentials = c._xhr.withCredentials, b.responseType = "arraybuffer", c._xhr.headers && Object.keys(c._xhr.headers).forEach(function(w) {
15066
- b.setRequestHeader(w, c._xhr.headers[w]);
15067
- }), b.onload = function() {
15068
- var w = (b.status + "")[0];
15064
+ var x = new XMLHttpRequest();
15065
+ x.open(c._xhr.method, d, !0), x.withCredentials = c._xhr.withCredentials, x.responseType = "arraybuffer", c._xhr.headers && Object.keys(c._xhr.headers).forEach(function(w) {
15066
+ x.setRequestHeader(w, c._xhr.headers[w]);
15067
+ }), x.onload = function() {
15068
+ var w = (x.status + "")[0];
15069
15069
  if (w !== "0" && w !== "2" && w !== "3") {
15070
- c._emit("loaderror", null, "Failed loading audio file with status: " + b.status + ".");
15070
+ c._emit("loaderror", null, "Failed loading audio file with status: " + x.status + ".");
15071
15071
  return;
15072
15072
  }
15073
- f(b.response, c);
15074
- }, b.onerror = function() {
15073
+ f(x.response, c);
15074
+ }, x.onerror = function() {
15075
15075
  c._webAudio && (c._html5 = !0, c._webAudio = !1, c._sounds = [], delete a[d], c.load());
15076
- }, l(b);
15076
+ }, l(x);
15077
15077
  }
15078
15078
  }, l = function(c) {
15079
15079
  try {
@@ -15084,8 +15084,8 @@ var G0 = {};
15084
15084
  }, f = function(c, d) {
15085
15085
  var m = function() {
15086
15086
  d._emit("loaderror", null, "Decoding audio data failed.");
15087
- }, _ = function(x) {
15088
- x && d._sounds.length > 0 ? (a[d._src] = x, p(d, x)) : m();
15087
+ }, _ = function(b) {
15088
+ b && d._sounds.length > 0 ? (a[d._src] = b, p(d, b)) : m();
15089
15089
  };
15090
15090
  typeof Promise < "u" && r.ctx.decodeAudioData.length === 1 ? r.ctx.decodeAudioData(c).then(_).catch(m) : r.ctx.decodeAudioData(c, _, m);
15091
15091
  }, p = function(c, d) {
@@ -15310,22 +15310,22 @@ const F5 = (t) => {
15310
15310
  loaded: !1,
15311
15311
  size: { width: 50, height: 50 },
15312
15312
  isDragging: !1
15313
- }, [, r] = re.useState(!1), n = me(null), i = me(e), a = me(null), u = re.useRef(null), { tl: l, dragModeRef: f } = Os(Ni), {
15313
+ }, [, r] = re.useState(!1), n = ge(null), i = ge(e), a = ge(null), u = re.useRef(null), { tl: l, dragModeRef: f } = Os(Ni), {
15314
15314
  uniqueId: p,
15315
15315
  src: v,
15316
15316
  startAt: c,
15317
15317
  endAt: d,
15318
15318
  mute: m,
15319
15319
  speed: _,
15320
- audioStartAt: x,
15321
- audioEndAt: b,
15320
+ audioStartAt: b,
15321
+ audioEndAt: x,
15322
15322
  visible: w
15323
15323
  } = t;
15324
15324
  ft(Ze.PAUSE, () => {
15325
15325
  var N;
15326
15326
  n.current && u.current && ((N = u.current) == null || N.pause(), i.current.isPlaying = !1);
15327
15327
  }), ft(Ze.COMPLETE, () => {
15328
- x > 0 && u.current && u.current.seek(x);
15328
+ b > 0 && u.current && u.current.seek(b);
15329
15329
  }), ft(Ze.SCRUBBER_CLICKED, () => {
15330
15330
  var N;
15331
15331
  n.current && u.current && ((N = u.current) == null || N.pause(), i.current.isPlaying = !1);
@@ -15348,28 +15348,28 @@ const F5 = (t) => {
15348
15348
  });
15349
15349
  if (n.current && l.current) {
15350
15350
  const L = {
15351
- duration: Number(b) - Number(x),
15351
+ duration: Number(x) - Number(b),
15352
15352
  onStart: E,
15353
15353
  onComplete: S,
15354
- onStartParams: [x, b],
15354
+ onStartParams: [b, x],
15355
15355
  onCompleteParams: [],
15356
15356
  onInterrupt: O,
15357
15357
  onUpdate: I,
15358
- onUpdateParams: [x, b]
15358
+ onUpdateParams: [b, x]
15359
15359
  };
15360
15360
  N = wt.context(() => {
15361
15361
  a.current = wt.from(
15362
15362
  n.current,
15363
15363
  // @ts-ignore
15364
15364
  L,
15365
- x
15365
+ b
15366
15366
  ), l.current.to(n.current, { alpha: 1, duration: 0.01 }, c).to(n.current, { alpha: 0, duration: 0.1 }, Number(d)), l.current.add(a.current, c);
15367
15367
  });
15368
15368
  }
15369
15369
  return () => {
15370
15370
  a.current && (a.current.kill(), wt.killTweensOf(a.current)), N.revert();
15371
15371
  };
15372
- }, [c, d, x, b]), re.useEffect(() => {
15372
+ }, [c, d, b, x]), re.useEffect(() => {
15373
15373
  n.current && r(!0);
15374
15374
  }, []), re.useEffect(() => (wo(v) || (u.current = new G0.Howl({
15375
15375
  src: [v],
@@ -15381,7 +15381,7 @@ const F5 = (t) => {
15381
15381
  rate: _ || 1,
15382
15382
  volume: !m && w ? 1 : 0,
15383
15383
  onload: () => {
15384
- console.log("loaded audio sprite" + p), i.current.loaded = !0, u.current && (x > 0 && u.current.seek(x), u.current.volume(!m && w ? 1 : 0), u.current.rate(_ || 1), u.current.pause(), i.current.isPlaying = !1, i.current.completed = !1);
15384
+ console.log("loaded audio sprite" + p), i.current.loaded = !0, u.current && (b > 0 && u.current.seek(b), u.current.volume(!m && w ? 1 : 0), u.current.rate(_ || 1), u.current.pause(), i.current.isPlaying = !1, i.current.completed = !1);
15385
15385
  },
15386
15386
  onend: () => {
15387
15387
  console.log("end of playing audio sprite" + p), i.current.isPlaying = !1, i.current.completed = !0;
@@ -15402,13 +15402,13 @@ const F5 = (t) => {
15402
15402
  v,
15403
15403
  c,
15404
15404
  d,
15405
- x,
15406
15405
  b,
15406
+ x,
15407
15407
  m,
15408
15408
  w,
15409
15409
  _
15410
15410
  ]), re.useEffect(() => {
15411
- u.current && (console.log("running updateEffect 2002", p, b), u.current.volume(!m && w ? 1 : 0), u.current.rate(_ || 1), i.current.isPlaying = !0);
15411
+ u.current && (console.log("running updateEffect 2002", p, x), u.current.volume(!m && w ? 1 : 0), u.current.rate(_ || 1), i.current.isPlaying = !0);
15412
15412
  }, [m, w, _]), // @ts-ignore
15413
15413
  /* @__PURE__ */ Ce.jsx(St, { ref: n });
15414
15414
  };
@@ -15632,11 +15632,11 @@ function eN(t, e, r, n, i, a) {
15632
15632
  return p == e && v == t;
15633
15633
  var c = -1, d = !0, m = r & J3 ? new Y3() : void 0;
15634
15634
  for (a.set(t, e), a.set(e, t); ++c < l; ) {
15635
- var _ = t[c], x = e[c];
15635
+ var _ = t[c], b = e[c];
15636
15636
  if (n)
15637
- var b = u ? n(x, _, c, e, t, a) : n(_, x, c, t, e, a);
15638
- if (b !== void 0) {
15639
- if (b)
15637
+ var x = u ? n(b, _, c, e, t, a) : n(_, b, c, t, e, a);
15638
+ if (x !== void 0) {
15639
+ if (x)
15640
15640
  continue;
15641
15641
  d = !1;
15642
15642
  break;
@@ -15649,7 +15649,7 @@ function eN(t, e, r, n, i, a) {
15649
15649
  d = !1;
15650
15650
  break;
15651
15651
  }
15652
- } else if (!(_ === x || i(_, x, r, n, a))) {
15652
+ } else if (!(_ === b || i(_, b, r, n, a))) {
15653
15653
  d = !1;
15654
15654
  break;
15655
15655
  }
@@ -15776,24 +15776,24 @@ function mL(t, e, r, n, i, a) {
15776
15776
  var m = a.get(t), _ = a.get(e);
15777
15777
  if (m && _)
15778
15778
  return m == e && _ == t;
15779
- var x = !0;
15779
+ var b = !0;
15780
15780
  a.set(t, e), a.set(e, t);
15781
- for (var b = u; ++c < f; ) {
15781
+ for (var x = u; ++c < f; ) {
15782
15782
  d = l[c];
15783
15783
  var w = t[d], E = e[d];
15784
15784
  if (n)
15785
15785
  var S = u ? n(E, w, d, e, t, a) : n(w, E, d, t, e, a);
15786
15786
  if (!(S === void 0 ? w === E || i(w, E, r, n, a) : S)) {
15787
- x = !1;
15787
+ b = !1;
15788
15788
  break;
15789
15789
  }
15790
- b || (b = d == "constructor");
15790
+ x || (x = d == "constructor");
15791
15791
  }
15792
- if (x && !b) {
15792
+ if (b && !x) {
15793
15793
  var I = t.constructor, O = e.constructor;
15794
- I != O && "constructor" in t && "constructor" in e && !(typeof I == "function" && I instanceof I && typeof O == "function" && O instanceof O) && (x = !1);
15794
+ I != O && "constructor" in t && "constructor" in e && !(typeof I == "function" && I instanceof I && typeof O == "function" && O instanceof O) && (b = !1);
15795
15795
  }
15796
- return a.delete(t), a.delete(e), x;
15796
+ return a.delete(t), a.delete(e), b;
15797
15797
  }
15798
15798
  var vL = mL, ql = V0, _L = X0, yL = EN, xL = vL, Bg = lm, Dg = kr, Ug = Bc, bL = Dc, wL = 1, $g = "[object Arguments]", Gg = "[object Array]", Va = "[object Object]", TL = Object.prototype, zg = TL.hasOwnProperty;
15799
15799
  function AL(t, e, r, n, i, a) {
@@ -15810,8 +15810,8 @@ function AL(t, e, r, n, i, a) {
15810
15810
  if (!(r & wL)) {
15811
15811
  var m = v && zg.call(t, "__wrapped__"), _ = c && zg.call(e, "__wrapped__");
15812
15812
  if (m || _) {
15813
- var x = m ? t.value() : t, b = _ ? e.value() : e;
15814
- return a || (a = new ql()), i(x, b, r, n, a);
15813
+ var b = m ? t.value() : t, x = _ ? e.value() : e;
15814
+ return a || (a = new ql()), i(b, x, r, n, a);
15815
15815
  }
15816
15816
  }
15817
15817
  return d ? (a || (a = new ql()), xL(t, e, r, n, i, a)) : !1;
@@ -16156,15 +16156,15 @@ ht.readBits = oD;
16156
16156
  }), t.default = void 0;
16157
16157
  var e = Qr, r = ht, n = {
16158
16158
  blocks: function(d) {
16159
- for (var m = 0, _ = [], x = d.data.length, b = 0, w = (0, r.readByte)()(d); w !== m && w; w = (0, r.readByte)()(d)) {
16160
- if (d.pos + w >= x) {
16161
- var E = x - d.pos;
16162
- _.push((0, r.readBytes)(E)(d)), b += E;
16159
+ for (var m = 0, _ = [], b = d.data.length, x = 0, w = (0, r.readByte)()(d); w !== m && w; w = (0, r.readByte)()(d)) {
16160
+ if (d.pos + w >= b) {
16161
+ var E = b - d.pos;
16162
+ _.push((0, r.readBytes)(E)(d)), x += E;
16163
16163
  break;
16164
16164
  }
16165
- _.push((0, r.readBytes)(w)(d)), b += w;
16165
+ _.push((0, r.readBytes)(w)(d)), x += w;
16166
16166
  }
16167
- for (var S = new Uint8Array(b), I = 0, O = 0; O < _.length; O++)
16167
+ for (var S = new Uint8Array(x), I = 0, O = 0; O < _.length; O++)
16168
16168
  S.set(_[O], I), I += _[O].length;
16169
16169
  return S;
16170
16170
  }
@@ -16353,11 +16353,11 @@ Object.defineProperty(Vo, "__esModule", {
16353
16353
  });
16354
16354
  Vo.lzw = void 0;
16355
16355
  var lD = function(e, r, n) {
16356
- var i = 4096, a = -1, u = n, l, f, p, v, c, d, m, N, _, x, O, b, L, k, j, D, w = new Array(n), E = new Array(i), S = new Array(i), I = new Array(i + 1);
16357
- for (b = e, f = 1 << b, c = f + 1, l = f + 2, m = a, v = b + 1, p = (1 << v) - 1, _ = 0; _ < f; _++)
16356
+ var i = 4096, a = -1, u = n, l, f, p, v, c, d, m, N, _, b, O, x, L, k, j, D, w = new Array(n), E = new Array(i), S = new Array(i), I = new Array(i + 1);
16357
+ for (x = e, f = 1 << x, c = f + 1, l = f + 2, m = a, v = x + 1, p = (1 << v) - 1, _ = 0; _ < f; _++)
16358
16358
  E[_] = 0, S[_] = _;
16359
16359
  var O, N, L, k, D, j;
16360
- for (O = N = L = k = D = j = 0, x = 0; x < u; ) {
16360
+ for (O = N = L = k = D = j = 0, b = 0; b < u; ) {
16361
16361
  if (k === 0) {
16362
16362
  if (N < v) {
16363
16363
  O += r[j] << N, N += 8, j++;
@@ -16366,7 +16366,7 @@ var lD = function(e, r, n) {
16366
16366
  if (_ = O & p, O >>= v, N -= v, _ > l || _ == c)
16367
16367
  break;
16368
16368
  if (_ == f) {
16369
- v = b + 1, p = (1 << v) - 1, l = f + 2, m = a;
16369
+ v = x + 1, p = (1 << v) - 1, l = f + 2, m = a;
16370
16370
  continue;
16371
16371
  }
16372
16372
  if (m == a) {
@@ -16377,10 +16377,10 @@ var lD = function(e, r, n) {
16377
16377
  I[k++] = S[_], _ = E[_];
16378
16378
  L = S[_] & 255, I[k++] = L, l < i && (E[l] = m, S[l] = L, l++, !(l & p) && l < i && (v++, p += l)), m = d;
16379
16379
  }
16380
- k--, w[D++] = I[k], x++;
16380
+ k--, w[D++] = I[k], b++;
16381
16381
  }
16382
- for (x = D; x < u; x++)
16383
- w[x] = 0;
16382
+ for (b = D; b < u; b++)
16383
+ w[b] = 0;
16384
16384
  return w;
16385
16385
  };
16386
16386
  Vo.lzw = lD;
@@ -16480,7 +16480,7 @@ const TD = (t) => ({
16480
16480
  });
16481
16481
  }), [r, e]), r.instance);
16482
16482
  }, SD = (t) => {
16483
- const e = me(t);
16483
+ const e = ge(t);
16484
16484
  return Hn(() => {
16485
16485
  e.current = t;
16486
16486
  }, [t]), e;
@@ -16543,9 +16543,9 @@ var vo = { exports: {} };
16543
16543
  vo.exports;
16544
16544
  (function(t, e) {
16545
16545
  (function() {
16546
- var r, n = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", l = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", p = 500, v = "__lodash_placeholder__", c = 1, d = 2, m = 4, _ = 1, x = 2, b = 1, w = 2, E = 4, S = 8, I = 16, O = 32, N = 64, L = 128, k = 256, D = 512, j = 30, Z = "...", he = 800, H = 16, V = 1, ue = 2, ve = 3, z = 1 / 0, J = 9007199254740991, de = 17976931348623157e292, X = 0 / 0, q = 4294967295, le = q - 1, Te = q >>> 1, ye = [
16546
+ var r, n = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", l = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", p = 500, v = "__lodash_placeholder__", c = 1, d = 2, m = 4, _ = 1, b = 2, x = 1, w = 2, E = 4, S = 8, I = 16, O = 32, N = 64, L = 128, k = 256, D = 512, j = 30, Z = "...", he = 800, H = 16, V = 1, ue = 2, ve = 3, z = 1 / 0, J = 9007199254740991, de = 17976931348623157e292, X = 0 / 0, q = 4294967295, le = q - 1, Te = q >>> 1, ye = [
16547
16547
  ["ary", L],
16548
- ["bind", b],
16548
+ ["bind", x],
16549
16549
  ["bindKey", w],
16550
16550
  ["curry", S],
16551
16551
  ["curryRight", I],
@@ -17194,8 +17194,8 @@ vo.exports;
17194
17194
  e:
17195
17195
  for (; M-- && W < ee; ) {
17196
17196
  U += o;
17197
- for (var ge = -1, ae = s[U]; ++ge < G; ) {
17198
- var be = $[ge], Ee = be.iteratee, Yt = be.type, Bt = Ee(ae);
17197
+ for (var me = -1, ae = s[U]; ++me < G; ) {
17198
+ var be = $[me], Ee = be.iteratee, Yt = be.type, Bt = Ee(ae);
17199
17199
  if (Yt == ue)
17200
17200
  ae = Bt;
17201
17201
  else if (!Bt) {
@@ -17430,9 +17430,9 @@ vo.exports;
17430
17430
  }) : Sd(s) && s.forEach(function(ae, be) {
17431
17431
  C.set(be, ir(ae, o, h, be, s, A));
17432
17432
  });
17433
- var se = U ? M ? Vu : Hu : M ? zt : _t, ge = $ ? r : se(s);
17434
- return tr(ge || s, function(ae, be) {
17435
- ge && (be = ae, ae = s[be]), Zi(C, be, ir(ae, o, h, be, s, A));
17433
+ var se = U ? M ? Vu : Hu : M ? zt : _t, me = $ ? r : se(s);
17434
+ return tr(me || s, function(ae, be) {
17435
+ me && (be = ae, ae = s[be]), Zi(C, be, ir(ae, o, h, be, s, A));
17436
17436
  }), C;
17437
17437
  }
17438
17438
  function Cy(s) {
@@ -17561,8 +17561,8 @@ vo.exports;
17561
17561
  var ee = $[G], se = o ? o(ee) : ee;
17562
17562
  if (ee = h || ee !== 0 ? ee : 0, !(W ? Xi(W, se) : g(U, se, h))) {
17563
17563
  for (C = A; --C; ) {
17564
- var ge = R[C];
17565
- if (!(ge ? Xi(ge, se) : g(s[C], se, h)))
17564
+ var me = R[C];
17565
+ if (!(me ? Xi(me, se) : g(s[C], se, h)))
17566
17566
  continue e;
17567
17567
  }
17568
17568
  W && W.push(se), U.push(ee);
@@ -17606,8 +17606,8 @@ vo.exports;
17606
17606
  if (!(h & _)) {
17607
17607
  var ee = $ && ze.call(s, "__wrapped__"), se = G && ze.call(o, "__wrapped__");
17608
17608
  if (ee || se) {
17609
- var ge = ee ? s.value() : s, ae = se ? o.value() : o;
17610
- return A || (A = new fr()), y(ge, ae, h, g, A);
17609
+ var me = ee ? s.value() : s, ae = se ? o.value() : o;
17610
+ return A || (A = new fr()), y(me, ae, h, g, A);
17611
17611
  }
17612
17612
  }
17613
17613
  return W ? (A || (A = new fr()), cx(s, o, h, g, y, A)) : !1;
@@ -17634,7 +17634,7 @@ vo.exports;
17634
17634
  var G = new fr();
17635
17635
  if (g)
17636
17636
  var W = g(U, $, M, s, o, G);
17637
- if (!(W === r ? es($, U, _ | x, g, G) : W))
17637
+ if (!(W === r ? es($, U, _ | b, g, G) : W))
17638
17638
  return !1;
17639
17639
  }
17640
17640
  }
@@ -17692,7 +17692,7 @@ vo.exports;
17692
17692
  function bf(s, o) {
17693
17693
  return qu(s) && Jf(o) ? ed(Ir(s), o) : function(h) {
17694
17694
  var g = il(h, s);
17695
- return g === r && g === o ? sl(h, s) : es(o, g, _ | x);
17695
+ return g === r && g === o ? sl(h, s) : es(o, g, _ | b);
17696
17696
  };
17697
17697
  }
17698
17698
  function oa(s, o, h, g, y) {
@@ -17861,11 +17861,11 @@ vo.exports;
17861
17861
  return 0;
17862
17862
  o = h(o);
17863
17863
  for (var C = o !== o, R = o === null, M = qt(o), U = o === r; y < A; ) {
17864
- var $ = ea((y + A) / 2), G = h(s[$]), W = G !== r, ee = G === null, se = G === G, ge = qt(G);
17864
+ var $ = ea((y + A) / 2), G = h(s[$]), W = G !== r, ee = G === null, se = G === G, me = qt(G);
17865
17865
  if (C)
17866
17866
  var ae = g || se;
17867
17867
  else
17868
- U ? ae = se && (g || W) : R ? ae = se && W && (g || !ee) : M ? ae = se && W && !ee && (g || !ge) : ee || ge ? ae = !1 : ae = g ? G <= o : G < o;
17868
+ U ? ae = se && (g || W) : R ? ae = se && W && (g || !ee) : M ? ae = se && W && !ee && (g || !me) : ee || me ? ae = !1 : ae = g ? G <= o : G < o;
17869
17869
  ae ? y = $ + 1 : A = $;
17870
17870
  }
17871
17871
  return Rt(A, le);
@@ -18091,7 +18091,7 @@ vo.exports;
18091
18091
  };
18092
18092
  }
18093
18093
  function ix(s, o, h) {
18094
- var g = o & b, y = rs(s);
18094
+ var g = o & x, y = rs(s);
18095
18095
  function A() {
18096
18096
  var C = this && this !== Tt && this instanceof A ? y : s;
18097
18097
  return C.apply(g ? h : this, arguments);
@@ -18198,7 +18198,7 @@ vo.exports;
18198
18198
  });
18199
18199
  }
18200
18200
  function ha(s, o, h, g, y, A, C, R, M, U) {
18201
- var $ = o & L, G = o & b, W = o & w, ee = o & (S | I), se = o & D, ge = W ? r : rs(s);
18201
+ var $ = o & L, G = o & x, W = o & w, ee = o & (S | I), se = o & D, me = W ? r : rs(s);
18202
18202
  function ae() {
18203
18203
  for (var be = arguments.length, Ee = F(be), Yt = be; Yt--; )
18204
18204
  Ee[Yt] = arguments[Yt];
@@ -18220,7 +18220,7 @@ vo.exports;
18220
18220
  );
18221
18221
  }
18222
18222
  var pr = G ? h : this, jr = W ? pr[s] : s;
18223
- return be = Ee.length, R ? Ee = Sx(Ee, R) : se && be > 1 && Ee.reverse(), $ && M < be && (Ee.length = M), this && this !== Tt && this instanceof ae && (jr = ge || rs(jr)), jr.apply(pr, Ee);
18223
+ return be = Ee.length, R ? Ee = Sx(Ee, R) : se && be > 1 && Ee.reverse(), $ && M < be && (Ee.length = M), this && this !== Tt && this instanceof ae && (jr = me || rs(jr)), jr.apply(pr, Ee);
18224
18224
  }
18225
18225
  return ae;
18226
18226
  }
@@ -18261,7 +18261,7 @@ vo.exports;
18261
18261
  return Zn(o) ? on(hr(g), 0, s).join("") : g.slice(0, s);
18262
18262
  }
18263
18263
  function ax(s, o, h, g) {
18264
- var y = o & b, A = rs(s);
18264
+ var y = o & x, A = rs(s);
18265
18265
  function C() {
18266
18266
  for (var R = -1, M = arguments.length, U = -1, $ = g.length, G = F($ + M), W = this && this !== Tt && this instanceof C ? A : s; ++U < $; )
18267
18267
  G[U] = g[U];
@@ -18283,8 +18283,8 @@ vo.exports;
18283
18283
  }
18284
18284
  function Xf(s, o, h, g, y, A, C, R, M, U) {
18285
18285
  var $ = o & S, G = $ ? C : r, W = $ ? r : C, ee = $ ? A : r, se = $ ? r : A;
18286
- o |= $ ? O : N, o &= ~($ ? N : O), o & E || (o &= ~(b | w));
18287
- var ge = [
18286
+ o |= $ ? O : N, o &= ~($ ? N : O), o & E || (o &= ~(x | w));
18287
+ var me = [
18288
18288
  s,
18289
18289
  o,
18290
18290
  y,
@@ -18295,8 +18295,8 @@ vo.exports;
18295
18295
  R,
18296
18296
  M,
18297
18297
  U
18298
- ], ae = h.apply(r, ge);
18299
- return Yu(s) && nd(ae, ge), ae.placeholder = g, id(ae, s, o);
18298
+ ], ae = h.apply(r, me);
18299
+ return Yu(s) && nd(ae, me), ae.placeholder = g, id(ae, s, o);
18300
18300
  }
18301
18301
  function zu(s) {
18302
18302
  var o = gt[s];
@@ -18338,12 +18338,12 @@ vo.exports;
18338
18338
  C,
18339
18339
  R
18340
18340
  ];
18341
- if (W && wx(ee, W), s = ee[0], o = ee[1], h = ee[2], g = ee[3], y = ee[4], R = ee[9] = ee[9] === r ? M ? 0 : s.length : mt(ee[9] - U, 0), !R && o & (S | I) && (o &= ~(S | I)), !o || o == b)
18341
+ if (W && wx(ee, W), s = ee[0], o = ee[1], h = ee[2], g = ee[3], y = ee[4], R = ee[9] = ee[9] === r ? M ? 0 : s.length : mt(ee[9] - U, 0), !R && o & (S | I) && (o &= ~(S | I)), !o || o == x)
18342
18342
  var se = ix(s, o, h);
18343
18343
  else
18344
- o == S || o == I ? se = sx(s, o, R) : (o == O || o == (b | O)) && !y.length ? se = ax(s, o, h, g) : se = ha.apply(r, ee);
18345
- var ge = W ? Ef : nd;
18346
- return id(ge(se, ee), s, o);
18344
+ o == S || o == I ? se = sx(s, o, R) : (o == O || o == (x | O)) && !y.length ? se = ax(s, o, h, g) : se = ha.apply(r, ee);
18345
+ var me = W ? Ef : nd;
18346
+ return id(me(se, ee), s, o);
18347
18347
  }
18348
18348
  function Wf(s, o, h, g) {
18349
18349
  return s === r || dr(s, ei[h]) && !ze.call(g, h) ? o : s;
@@ -18361,11 +18361,11 @@ vo.exports;
18361
18361
  var U = A.get(s), $ = A.get(o);
18362
18362
  if (U && $)
18363
18363
  return U == o && $ == s;
18364
- var G = -1, W = !0, ee = h & x ? new xn() : r;
18364
+ var G = -1, W = !0, ee = h & b ? new xn() : r;
18365
18365
  for (A.set(s, o), A.set(o, s); ++G < R; ) {
18366
- var se = s[G], ge = o[G];
18366
+ var se = s[G], me = o[G];
18367
18367
  if (g)
18368
- var ae = C ? g(ge, se, G, o, s, A) : g(se, ge, G, s, o, A);
18368
+ var ae = C ? g(me, se, G, o, s, A) : g(se, me, G, s, o, A);
18369
18369
  if (ae !== r) {
18370
18370
  if (ae)
18371
18371
  continue;
@@ -18380,7 +18380,7 @@ vo.exports;
18380
18380
  W = !1;
18381
18381
  break;
18382
18382
  }
18383
- } else if (!(se === ge || y(se, ge, h, g, A))) {
18383
+ } else if (!(se === me || y(se, me, h, g, A))) {
18384
18384
  W = !1;
18385
18385
  break;
18386
18386
  }
@@ -18413,7 +18413,7 @@ vo.exports;
18413
18413
  var U = C.get(s);
18414
18414
  if (U)
18415
18415
  return U == o;
18416
- g |= x, C.set(s, o);
18416
+ g |= b, C.set(s, o);
18417
18417
  var $ = Yf(R(s), R(o), g, y, A, C);
18418
18418
  return C.delete(s), $;
18419
18419
  case Wn:
@@ -18434,7 +18434,7 @@ vo.exports;
18434
18434
  var ee = A.get(s), se = A.get(o);
18435
18435
  if (ee && se)
18436
18436
  return ee == o && se == s;
18437
- var ge = !0;
18437
+ var me = !0;
18438
18438
  A.set(s, o), A.set(o, s);
18439
18439
  for (var ae = C; ++G < M; ) {
18440
18440
  W = R[G];
@@ -18442,16 +18442,16 @@ vo.exports;
18442
18442
  if (g)
18443
18443
  var Yt = C ? g(Ee, be, W, o, s, A) : g(be, Ee, W, s, o, A);
18444
18444
  if (!(Yt === r ? be === Ee || y(be, Ee, h, g, A) : Yt)) {
18445
- ge = !1;
18445
+ me = !1;
18446
18446
  break;
18447
18447
  }
18448
18448
  ae || (ae = W == "constructor");
18449
18449
  }
18450
- if (ge && !ae) {
18450
+ if (me && !ae) {
18451
18451
  var Bt = s.constructor, Kt = o.constructor;
18452
- Bt != Kt && "constructor" in s && "constructor" in o && !(typeof Bt == "function" && Bt instanceof Bt && typeof Kt == "function" && Kt instanceof Kt) && (ge = !1);
18452
+ Bt != Kt && "constructor" in s && "constructor" in o && !(typeof Bt == "function" && Bt instanceof Bt && typeof Kt == "function" && Kt instanceof Kt) && (me = !1);
18453
18453
  }
18454
- return A.delete(s), A.delete(o), ge;
18454
+ return A.delete(s), A.delete(o), me;
18455
18455
  }
18456
18456
  function zr(s) {
18457
18457
  return Zu(td(s, r, cd), s + "");
@@ -18670,10 +18670,10 @@ vo.exports;
18670
18670
  return o;
18671
18671
  }
18672
18672
  function wx(s, o) {
18673
- var h = s[1], g = o[1], y = h | g, A = y < (b | w | L), C = g == L && h == S || g == L && h == k && s[7].length <= o[8] || g == (L | k) && o[7].length <= o[8] && h == S;
18673
+ var h = s[1], g = o[1], y = h | g, A = y < (x | w | L), C = g == L && h == S || g == L && h == k && s[7].length <= o[8] || g == (L | k) && o[7].length <= o[8] && h == S;
18674
18674
  if (!(A || C))
18675
18675
  return s;
18676
- g & b && (s[2] = o[2], y |= h & b ? 0 : E);
18676
+ g & x && (s[2] = o[2], y |= h & x ? 0 : E);
18677
18677
  var R = o[3];
18678
18678
  if (R) {
18679
18679
  var M = s[3];
@@ -19231,14 +19231,14 @@ vo.exports;
19231
19231
  };
19232
19232
  }
19233
19233
  var el = _e(function(s, o, h) {
19234
- var g = b;
19234
+ var g = x;
19235
19235
  if (h.length) {
19236
19236
  var y = tn(h, ai(el));
19237
19237
  g |= O;
19238
19238
  }
19239
19239
  return Gr(s, g, o, h, y);
19240
19240
  }), yd = _e(function(s, o, h) {
19241
- var g = b | w;
19241
+ var g = x | w;
19242
19242
  if (h.length) {
19243
19243
  var y = tn(h, ai(yd));
19244
19244
  g |= O;
@@ -19267,7 +19267,7 @@ vo.exports;
19267
19267
  function se(ct) {
19268
19268
  return U = ct, R = is(be, o), $ ? ee(ct) : C;
19269
19269
  }
19270
- function ge(ct) {
19270
+ function me(ct) {
19271
19271
  var pr = ct - M, jr = ct - U, Gd = o - pr;
19272
19272
  return G ? Rt(Gd, A - jr) : Gd;
19273
19273
  }
@@ -19279,7 +19279,7 @@ vo.exports;
19279
19279
  var ct = xa();
19280
19280
  if (ae(ct))
19281
19281
  return Ee(ct);
19282
- R = is(be, ge(ct));
19282
+ R = is(be, me(ct));
19283
19283
  }
19284
19284
  function Ee(ct) {
19285
19285
  return R = r, W && g ? ee(ct) : (g = y = r, C);
@@ -19869,12 +19869,12 @@ function print() { __p += __j.call(arguments, '') }
19869
19869
  ` : `;
19870
19870
  `) + G + `return __p
19871
19871
  }`;
19872
- var ge = Ud(function() {
19872
+ var me = Ud(function() {
19873
19873
  return ke(A, ee + "return " + G).apply(r, C);
19874
19874
  });
19875
- if (ge.source = G, rl(ge))
19876
- throw ge;
19877
- return ge;
19875
+ if (me.source = G, rl(me))
19876
+ throw me;
19877
+ return me;
19878
19878
  }
19879
19879
  function jw(s) {
19880
19880
  return De(s).toLowerCase();
@@ -20172,13 +20172,13 @@ function print() { __p += __j.call(arguments, '') }
20172
20172
  return g && W ? Ee[0] : Ee;
20173
20173
  };
20174
20174
  $ && h && typeof U == "function" && U.length != 1 && (M = $ = !1);
20175
- var W = this.__chain__, ee = !!this.__actions__.length, se = A && !W, ge = M && !ee;
20175
+ var W = this.__chain__, ee = !!this.__actions__.length, se = A && !W, me = M && !ee;
20176
20176
  if (!A && $) {
20177
- C = ge ? C : new Ae(this);
20177
+ C = me ? C : new Ae(this);
20178
20178
  var ae = s.apply(C, R);
20179
20179
  return ae.__actions__.push({ func: _a, args: [G], thisArg: r }), new nr(ae, W);
20180
20180
  }
20181
- return se && ge ? s.apply(this, R) : (ae = this.thru(G), se ? g ? ae.value()[0] : ae.value() : ae);
20181
+ return se && me ? s.apply(this, R) : (ae = this.thru(G), se ? g ? ae.value()[0] : ae.value() : ae);
20182
20182
  });
20183
20183
  }), tr(["pop", "push", "shift", "sort", "splice", "unshift"], function(s) {
20184
20184
  var o = Vs[s], h = /^(?:push|sort|unshift)$/.test(s) ? "tap" : "thru", g = /^(?:pop|shift)$/.test(s);
@@ -20219,7 +20219,7 @@ const MD = {
20219
20219
  totalFrames: 0,
20220
20220
  totalDuration: 0
20221
20221
  }, OD = re.forwardRef((t, e) => {
20222
- const [r, n] = re.useState([]), [, i] = re.useState(0), [a, u] = re.useState([]), [, l] = ws(!1), [f, p] = xD({ autoPlay: !1 }), v = me(null), c = me(null), d = me(MD), m = me(), { tl: _, dragModeRef: x } = Os(Ni), { frames: b, delays: w } = f, {
20222
+ const [r, n] = re.useState([]), [, i] = re.useState(0), [a, u] = re.useState([]), [, l] = ws(!1), [f, p] = xD({ autoPlay: !1 }), v = ge(null), c = ge(null), d = ge(MD), m = ge(), { tl: _, dragModeRef: b } = Os(Ni), { frames: x, delays: w } = f, {
20223
20223
  src: E,
20224
20224
  startAt: S,
20225
20225
  endAt: I,
@@ -20253,10 +20253,10 @@ const MD = {
20253
20253
  }), ft(Ze.SCRUBBER_CLICKED, () => {
20254
20254
  v.current && (v.current.stop(), d.current.isPlaying = !1);
20255
20255
  }), re.useEffect(() => {
20256
- d.current && v.current && (x.current ? (v.current.stop(), d.current.isPlaying = !1, d.current.isDragging = !0) : d.current.isDragging = !1);
20257
- }, [x]), re.useEffect(() => {
20258
- if (!wo(b)) {
20259
- const Fe = KB(b, (nt) => {
20256
+ d.current && v.current && (b.current ? (v.current.stop(), d.current.isPlaying = !1, d.current.isDragging = !0) : d.current.isDragging = !1);
20257
+ }, [b]), re.useEffect(() => {
20258
+ if (!wo(x)) {
20259
+ const Fe = KB(x, (nt) => {
20260
20260
  const { data: Jt, width: It, height: dt } = nt, Br = new Uint8Array(Jt);
20261
20261
  return cr.Texture.fromBuffer(Br, It, dt);
20262
20262
  }), Q = Fe.map(
@@ -20269,9 +20269,9 @@ const MD = {
20269
20269
  let ie = 0;
20270
20270
  w.forEach((nt) => {
20271
20271
  ie += nt * 10;
20272
- }), i(ie), d.current.totalDuration = ie, d.current.totalFrames = b.length;
20272
+ }), i(ie), d.current.totalDuration = ie, d.current.totalFrames = x.length;
20273
20273
  }
20274
- }, [b, w]);
20274
+ }, [x, w]);
20275
20275
  const Ge = Wg.debounce((Fe) => {
20276
20276
  if (v.current) {
20277
20277
  let Q = Fe === 0 ? 0 : Fe / $e;
@@ -20295,7 +20295,7 @@ const MD = {
20295
20295
  }, qe = (Fe) => {
20296
20296
  var ie;
20297
20297
  const Q = Fe + ((ie = m.current) == null ? void 0 : ie.time());
20298
- v.current && x.current ? (Ge(Q), je(), d.current.isPlaying = !1) : m.current && v.current && !d.current.isPlaying && m.current.isActive() && _.current.isActive() && (Ge(Q), d.current.isPlaying = !0);
20298
+ v.current && b.current ? (Ge(Q), je(), d.current.isPlaying = !1) : m.current && v.current && !d.current.isPlaying && m.current.isActive() && _.current.isActive() && (Ge(Q), d.current.isPlaying = !0);
20299
20299
  }, Ye = () => {
20300
20300
  l(!0);
20301
20301
  };
@@ -20369,7 +20369,7 @@ OD.whyDidYouRender = {
20369
20369
  customName: "PixiGifSprite"
20370
20370
  };
20371
20371
  const N5 = re.forwardRef((t, e) => {
20372
- const n = me(null), i = me(0), a = me(null), u = me(null), l = me(16), f = me(null), {
20372
+ const n = ge(null), i = ge(0), a = ge(null), u = ge(null), l = ge(16), f = ge(null), {
20373
20373
  visible: p,
20374
20374
  text: v,
20375
20375
  disabled: c,
@@ -20377,8 +20377,8 @@ const N5 = re.forwardRef((t, e) => {
20377
20377
  pointerdown: m,
20378
20378
  onDobuleClick: _
20379
20379
  } = t, {
20380
- x,
20381
- y: b,
20380
+ x: b,
20381
+ y: x,
20382
20382
  /// font
20383
20383
  fontFamily: w = "Arial",
20384
20384
  fontWeight: E = "normal",
@@ -20497,8 +20497,8 @@ const N5 = re.forwardRef((t, e) => {
20497
20497
  VT,
20498
20498
  {
20499
20499
  style: Ge,
20500
- x,
20501
- y: b,
20500
+ x: b,
20501
+ y: x,
20502
20502
  anchor: 0.5,
20503
20503
  text: v,
20504
20504
  alpha: p ? 1 : 0,
@@ -20562,19 +20562,19 @@ function t5(t, e, r) {
20562
20562
  function _(N) {
20563
20563
  return p = N, l = setTimeout(w, e), v ? m(N) : u;
20564
20564
  }
20565
- function x(N) {
20565
+ function b(N) {
20566
20566
  var L = N - f, k = N - p, D = e - L;
20567
20567
  return c ? e5(D, a - k) : D;
20568
20568
  }
20569
- function b(N) {
20569
+ function x(N) {
20570
20570
  var L = N - f, k = N - p;
20571
20571
  return f === void 0 || L >= e || L < 0 || c && k >= a;
20572
20572
  }
20573
20573
  function w() {
20574
20574
  var N = Yl();
20575
- if (b(N))
20575
+ if (x(N))
20576
20576
  return E(N);
20577
- l = setTimeout(w, x(N));
20577
+ l = setTimeout(w, b(N));
20578
20578
  }
20579
20579
  function E(N) {
20580
20580
  return l = void 0, d && n ? m(N) : (n = i = void 0, u);
@@ -20586,7 +20586,7 @@ function t5(t, e, r) {
20586
20586
  return l === void 0 ? u : E(Yl());
20587
20587
  }
20588
20588
  function O() {
20589
- var N = Yl(), L = b(N);
20589
+ var N = Yl(), L = x(N);
20590
20590
  if (n = arguments, i = this, f = N, L) {
20591
20591
  if (l === void 0)
20592
20592
  return _(f);
@@ -20632,13 +20632,13 @@ const to = /* @__PURE__ */ Fi(r5), sv = (t, e, r, n) => {
20632
20632
  isDragging: !1,
20633
20633
  timeDiff: 0
20634
20634
  }, i5 = re.forwardRef((t, e) => {
20635
- const [r, n] = re.useState(0), [i, a] = re.useState(), u = me(null), l = me(null), f = me(null), p = me(n5), v = me(), {
20635
+ const [r, n] = re.useState(0), [i, a] = re.useState(), u = ge(null), l = ge(null), f = ge(null), p = ge(n5), v = ge(), {
20636
20636
  uniqueId: c,
20637
20637
  mute: d = !1,
20638
20638
  src: m,
20639
20639
  startAt: _,
20640
- endAt: x,
20641
- frameStartAt: b,
20640
+ endAt: b,
20641
+ frameStartAt: x,
20642
20642
  frameEndAt: w,
20643
20643
  visible: E,
20644
20644
  disabled: S,
@@ -20659,8 +20659,8 @@ const to = /* @__PURE__ */ Fi(r5), sv = (t, e, r, n) => {
20659
20659
  noiseFilter: Ge
20660
20660
  } = Ui(D), je = m || "", We = re.useMemo(() => {
20661
20661
  const Q = document.createElement("video");
20662
- return Q.src = m, Q.crossOrigin = "Anonymus", Q.autoplay = !1, Q.currentTime = b === 0 ? 1e-3 : b, Q;
20663
- }, [m, b]);
20662
+ return Q.src = m, Q.crossOrigin = "Anonymus", Q.autoplay = !1, Q.currentTime = x === 0 ? 1e-3 : x, Q;
20663
+ }, [m, x]);
20664
20664
  ft(Ze.PAUSE, () => {
20665
20665
  f.current && (f.current.pause(), p.current.isPlaying = !1);
20666
20666
  }), ft(Ze.SCRUBBER_CLICKED, () => {
@@ -20697,7 +20697,7 @@ const to = /* @__PURE__ */ Fi(r5), sv = (t, e, r, n) => {
20697
20697
  }, Fe = () => {
20698
20698
  var Q, ie;
20699
20699
  if (v.current && (p.current.progress = v.current.progress()), f.current && v.current) {
20700
- const nt = b + ((Q = v == null ? void 0 : v.current) == null ? void 0 : Q.time()), Jt = Math.abs(
20700
+ const nt = x + ((Q = v == null ? void 0 : v.current) == null ? void 0 : Q.time()), Jt = Math.abs(
20701
20701
  f.current.currentTime - nt
20702
20702
  ), It = f.current, dt = It.currentTime > 0 && !It.paused && !It.ended && It.readyState > It.HAVE_CURRENT_DATA;
20703
20703
  V.current ? (f.current.currentTime = nt, setTimeout(() => {
@@ -20712,14 +20712,14 @@ const to = /* @__PURE__ */ Fi(r5), sv = (t, e, r, n) => {
20712
20712
  });
20713
20713
  if (l.current && H.current) {
20714
20714
  const ie = {
20715
- duration: Number(w) - Number(b),
20715
+ duration: Number(w) - Number(x),
20716
20716
  onStart: Be,
20717
20717
  onComplete: qe,
20718
- onStartParams: [b, w],
20718
+ onStartParams: [x, w],
20719
20719
  onCompleteParams: [],
20720
20720
  onInterrupt: Ye,
20721
20721
  onUpdate: Fe,
20722
- onUpdateParams: [b, w],
20722
+ onUpdateParams: [x, w],
20723
20723
  onPause: () => {
20724
20724
  console.log("onPause video sprite pause", c);
20725
20725
  },
@@ -20741,17 +20741,17 @@ const to = /* @__PURE__ */ Fi(r5), sv = (t, e, r, n) => {
20741
20741
  l.current,
20742
20742
  // @ts-ignore
20743
20743
  ie,
20744
- b
20744
+ x
20745
20745
  ), H.current.add(v.current, _);
20746
20746
  });
20747
20747
  }
20748
20748
  return () => {
20749
20749
  v.current && (v.current.kill(), wt.killTweensOf(v.current)), Q.revert();
20750
20750
  };
20751
- }, [k, _, x, b, w]), re.useEffect(() => {
20751
+ }, [k, _, b, x, w]), re.useEffect(() => {
20752
20752
  f.current && (f.current.muted = d);
20753
20753
  }, [d]), re.useEffect(() => {
20754
- const Q = Math.round((Number(b) + Number.EPSILON) * 100) / 100, ie = function() {
20754
+ const Q = Math.round((Number(x) + Number.EPSILON) * 100) / 100, ie = function() {
20755
20755
  f.current && (f.current.currentTime = Q);
20756
20756
  }, nt = function() {
20757
20757
  if (f.current) {
@@ -20765,7 +20765,7 @@ const to = /* @__PURE__ */ Fi(r5), sv = (t, e, r, n) => {
20765
20765
  p.current.isWaiting = !1, p.current.isStalled = !1;
20766
20766
  }, dt = function() {
20767
20767
  p.current.isWaiting = !1, p.current.isStalled = !0;
20768
- }, Br = Math.round((Number(b) + Number.EPSILON) * 100) / 100, Wn = Math.round((Number(w) + Number.EPSILON) * 100) / 100, Xo = `${je}#t=${Br},${Wn}`;
20768
+ }, Br = Math.round((Number(x) + Number.EPSILON) * 100) / 100, Wn = Math.round((Number(w) + Number.EPSILON) * 100) / 100, Xo = `${je}#t=${Br},${Wn}`;
20769
20769
  return cr.Texture.fromLoader(We, Xo, c, {
20770
20770
  pixiIdPrefix: c,
20771
20771
  resourceOptions: {
@@ -20781,7 +20781,7 @@ const to = /* @__PURE__ */ Fi(r5), sv = (t, e, r, n) => {
20781
20781
  It
20782
20782
  ), f.current.removeEventListener("stalled", dt));
20783
20783
  };
20784
- }, [je, c, b, w, We]), re.useEffect(() => {
20784
+ }, [je, c, x, w, We]), re.useEffect(() => {
20785
20785
  const Q = setTimeout(() => {
20786
20786
  i && v.current && H.current && v.current.progress() < 0.1 && f.current && !v.current.isActive() && !ue && f.current.play().then(() => {
20787
20787
  p.current.isPlaying = !1, f.current && f.current.pause();
@@ -20845,7 +20845,7 @@ i5.whyDidYouRender = {
20845
20845
  customName: "PixiVideoSprite"
20846
20846
  };
20847
20847
  const L5 = re.forwardRef((t, e) => {
20848
- const [r, n] = re.useState(), i = me(null), a = me(null), {
20848
+ const [r, n] = re.useState(), i = ge(null), a = ge(null), {
20849
20849
  visible: u,
20850
20850
  disabled: l,
20851
20851
  transformation: { x: f, y: p, width: v, height: c, colorCorrection: d = {} },
@@ -20853,10 +20853,10 @@ const L5 = re.forwardRef((t, e) => {
20853
20853
  },
20854
20854
  pointerout: _ = () => {
20855
20855
  },
20856
- pointerover: x = () => {
20856
+ pointerover: b = () => {
20857
20857
  },
20858
- canvasImageRef: b
20859
- } = t, w = b && (b == null ? void 0 : b.getCanvas()), E = Qg(), { onPointerDown: S, onPointerOut: I, onPointerOver: O } = sv(x, m, _, 1), { blurRadius: N = 0, vignette: L = 0, noise: k = 0 } = d, {
20858
+ canvasImageRef: x
20859
+ } = t, w = x && (x == null ? void 0 : x.getCanvas()), E = Qg(), { onPointerDown: S, onPointerOut: I, onPointerOver: O } = sv(b, m, _, 1), { blurRadius: N = 0, vignette: L = 0, noise: k = 0 } = d, {
20860
20860
  temperatureFilter: D,
20861
20861
  sharpnessFilter: j,
20862
20862
  hueFilter: Z,
@@ -20913,31 +20913,32 @@ const L5 = re.forwardRef((t, e) => {
20913
20913
  }
20914
20914
  );
20915
20915
  }), k5 = (t) => {
20916
- const { startAt: e, endAt: r, uniqueId: n } = t, i = me(null), a = me(null), u = me(null), l = me(null), f = me(!1), {
20916
+ var b;
20917
+ const { startAt: e, endAt: r, uniqueId: n } = t, i = ge(null), a = ge(null), u = ge(null), l = ge(null), f = ge(!1), {
20917
20918
  tl: p,
20918
20919
  totalDuration: v = 0,
20919
20920
  reverseModeRef: c
20920
- } = Os(Ni), d = e < 0.2 ? "static" : "none";
20921
+ } = Os(Ni), d = e < 0.2 ? "static" : "none", m = ge(1);
20921
20922
  ft(Ze.COMPLETE, () => {
20922
20923
  i.current && (i.current.eventMode = d);
20923
20924
  }), ft(Ze.REVERSE_MODE_END, () => {
20924
20925
  if (p.current) {
20925
- const _ = p.current.time();
20926
- _ > e && _ < r ? (a.current && (a.current.alpha = 1), i.current && (i.current.alpha = 1, i.current.eventMode = "static")) : (a.current && (a.current.alpha = 0), i.current && (i.current.alpha = 0, i.current.eventMode = "none"));
20926
+ const x = p.current.time();
20927
+ x > e && x < r ? (a.current && (a.current.alpha = 1), i.current && (i.current.alpha = 1, i.current.eventMode = "static")) : (a.current && (a.current.alpha = 0), i.current && (i.current.alpha = 0, i.current.eventMode = "none"));
20927
20928
  }
20928
20929
  });
20929
- const m = () => {
20930
+ const _ = () => {
20930
20931
  if (c.current && l.current && p.current) {
20931
20932
  f.current = !0;
20932
- const _ = p.current.time();
20933
- _ > e && _ < r ? (a.current && (a.current.alpha = 1), i.current && (i.current.alpha = 1)) : (a.current && (a.current.alpha = 0), i.current && (i.current.alpha = 0));
20933
+ const x = p.current.time();
20934
+ x > e && x < r ? (a.current && (a.current.alpha = 1), i.current && (i.current.alpha = 1)) : (a.current && (a.current.alpha = 0), i.current && (i.current.alpha = 0));
20934
20935
  }
20935
20936
  };
20936
20937
  return ft(Ze.COMPLETE, () => {
20937
20938
  }), re.useEffect(() => {
20938
- const _ = wt.context(() => {
20939
+ const x = wt.context(() => {
20939
20940
  if (i.current && p.current) {
20940
- const x = wt.to(i.current, {
20941
+ const w = wt.to(i.current, {
20941
20942
  alpha: 1,
20942
20943
  duration: 0.1
20943
20944
  });
@@ -20945,19 +20946,19 @@ const L5 = re.forwardRef((t, e) => {
20945
20946
  alpha: 1,
20946
20947
  duration: Number(r) - Number(e),
20947
20948
  onStart: () => {
20948
- i.current && (i.current.alpha = 1, i.current.eventMode = "static");
20949
+ i.current && (i.current.alpha = 1, i.current.eventMode = "static", m.current = 1);
20949
20950
  },
20950
- onUpdate: m,
20951
+ onUpdate: _,
20951
20952
  onComplete: () => {
20952
- i.current && (i.current.alpha = 0, i.current.eventMode = "none");
20953
+ i.current && (i.current.alpha = 0, i.current.eventMode = "none", m.current = 0);
20953
20954
  }
20954
- }), p.current.add([x, l.current], e);
20955
+ }), p.current.add([w, l.current], e);
20955
20956
  }
20956
20957
  });
20957
20958
  return () => {
20958
- l.current && (p.current.remove(l.current), l.current.progress(0).kill()), _.revert();
20959
+ l.current && (p.current.remove(l.current), l.current.progress(0).kill()), x.revert();
20959
20960
  };
20960
- }, [e, r, v, n]), /* @__PURE__ */ Ce.jsx(
20961
+ }, [e, r, v, n]), console.log("current alpha with time", (b = i == null ? void 0 : i.current) == null ? void 0 : b.alpha), /* @__PURE__ */ Ce.jsx(
20961
20962
  St,
20962
20963
  {
20963
20964
  ref: i,