reacthub-pixitweenjs 0.2.107-alpha.14 → 0.2.107-alpha.15

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
@@ -59,7 +59,7 @@ let $d;
59
59
  function Qg() {
60
60
  return $d = document.body, $d;
61
61
  }
62
- function dt(t, e, r) {
62
+ function lt(t, e, r) {
63
63
  let n;
64
64
  return $n(() => {
65
65
  n = n || Qg();
@@ -88,7 +88,7 @@ function c5() {
88
88
  t == null || t.dispatchEvent(i);
89
89
  }, e;
90
90
  }
91
- const Pi = ne.createContext({}), Je = {
91
+ const Pi = ne.createContext({}), Qe = {
92
92
  STOP: "GSAP_STOP",
93
93
  PAUSE: "GSAP_PAUSE",
94
94
  PLAY: "GSAP_PLAY",
@@ -140,7 +140,7 @@ const Pi = ne.createContext({}), Je = {
140
140
  }).eventCallback("onReverseComplete", function() {
141
141
  console.log("onReverseComplete", x.progress());
142
142
  }).eventCallback("onComplete", function() {
143
- x.pause(), x.revert(), hs(Je.COMPLETE, { uniqueId: "timeline" }), console.log("Emitted events"), f();
143
+ x.pause(), x.revert(), hs(Qe.COMPLETE, { uniqueId: "timeline" }), console.log("Emitted events"), f();
144
144
  });
145
145
  }
146
146
  }, []);
@@ -161,26 +161,26 @@ const Pi = ne.createContext({}), Je = {
161
161
  const x = n.current;
162
162
  return x ? x.totalDuration() : 0;
163
163
  }, []), b = () => {
164
- n.current && (n.current.pause(), hs(Je.PAUSE));
164
+ n.current && (n.current.pause(), hs(Qe.PAUSE));
165
165
  }, w = () => {
166
- n.current && (n.current.resume(), hs(Je.RESUME));
166
+ n.current && (n.current.resume(), hs(Qe.RESUME));
167
167
  };
168
- return dt(Je.SEEK_START, () => {
168
+ return lt(Qe.SEEK_START, () => {
169
169
  l.current = !0;
170
- }), dt(Je.SCRUBBER_PLAY, () => {
170
+ }), lt(Qe.SCRUBBER_PLAY, () => {
171
171
  w();
172
- }), dt(Je.SCRUBBER_PAUSE, () => {
172
+ }), lt(Qe.SCRUBBER_PAUSE, () => {
173
173
  b();
174
- }), dt(Je.SCRUBBER_SEEK, (x) => {
174
+ }), lt(Qe.SCRUBBER_SEEK, (x) => {
175
175
  d(x);
176
- }), dt(Je.SEEK_END, () => {
176
+ }), lt(Qe.SEEK_END, () => {
177
177
  l.current = !1;
178
- }), dt(Je.REVERSE_MODE_START, () => {
178
+ }), lt(Qe.REVERSE_MODE_START, () => {
179
179
  u.current = !0;
180
- }), dt(Je.REVERSE_MODE_END, () => {
180
+ }), lt(Qe.REVERSE_MODE_END, () => {
181
181
  u.current = !1;
182
- }), dt(
183
- Je.SCRUBBER_PROGRESS_UPDATE,
182
+ }), lt(
183
+ Qe.SCRUBBER_PROGRESS_UPDATE,
184
184
  (x) => {
185
185
  }
186
186
  ), /* @__PURE__ */ ke.jsx(
@@ -229,7 +229,7 @@ const Pi = ne.createContext({}), Je = {
229
229
  S - m.current < d && u && u(), m.current = S;
230
230
  }, []), x = ne.useCallback(
231
231
  (S) => {
232
- c.current.isDragging = !0, i && i(S), hs(Je.TRANSFORMER_DRAG_START, { uniqueId: "timeline" });
232
+ c.current.isDragging = !0, i && i(S), hs(Qe.TRANSFORMER_DRAG_START, { uniqueId: "timeline" });
233
233
  },
234
234
  [i]
235
235
  ), E = ne.useCallback(() => {
@@ -250,7 +250,7 @@ const Pi = ne.createContext({}), Je = {
250
250
  scale: f ? k : [$, j]
251
251
  // @todo: fix this for text
252
252
  }
253
- }), hs(Je.TRANSFORMER_DRAG_END, { uniqueId: "timeline" })), c.current.isDragging = !1;
253
+ }), hs(Qe.TRANSFORMER_DRAG_END, { uniqueId: "timeline" })), c.current.isDragging = !1;
254
254
  }, [n]);
255
255
  return ne.useEffect(() => (t.current && (t.current.on("mouseover", _), t.current.on("mouseout", b), t.current.on("mousedown", w)), () => {
256
256
  t.current && (t.current.off("mouseover", _), t.current.off("mouseout", b), t.current.off("mousedown", w));
@@ -530,7 +530,7 @@ const Jd = {
530
530
  onDoubleClick: H,
531
531
  isTextEditMode: me
532
532
  } = t;
533
- dt(Je.COMPLETE, () => {
533
+ lt(Qe.COMPLETE, () => {
534
534
  f.current;
535
535
  }), ne.useImperativeHandle(
536
536
  e,
@@ -622,7 +622,7 @@ Fi.whyDidYouRender = {
622
622
  logOnDifferentValues: !0,
623
623
  customName: "AbstractContainer"
624
624
  };
625
- var Gn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Gn || {}), um = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(um || {}), Jl = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(Jl || {}), le = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ADD = 1] = "ADD", t[t.MULTIPLY = 2] = "MULTIPLY", t[t.SCREEN = 3] = "SCREEN", t[t.OVERLAY = 4] = "OVERLAY", t[t.DARKEN = 5] = "DARKEN", t[t.LIGHTEN = 6] = "LIGHTEN", t[t.COLOR_DODGE = 7] = "COLOR_DODGE", t[t.COLOR_BURN = 8] = "COLOR_BURN", t[t.HARD_LIGHT = 9] = "HARD_LIGHT", t[t.SOFT_LIGHT = 10] = "SOFT_LIGHT", t[t.DIFFERENCE = 11] = "DIFFERENCE", t[t.EXCLUSION = 12] = "EXCLUSION", t[t.HUE = 13] = "HUE", t[t.SATURATION = 14] = "SATURATION", t[t.COLOR = 15] = "COLOR", t[t.LUMINOSITY = 16] = "LUMINOSITY", t[t.NORMAL_NPM = 17] = "NORMAL_NPM", t[t.ADD_NPM = 18] = "ADD_NPM", t[t.SCREEN_NPM = 19] = "SCREEN_NPM", t[t.NONE = 20] = "NONE", t[t.SRC_OVER = 0] = "SRC_OVER", t[t.SRC_IN = 21] = "SRC_IN", t[t.SRC_OUT = 22] = "SRC_OUT", t[t.SRC_ATOP = 23] = "SRC_ATOP", t[t.DST_OVER = 24] = "DST_OVER", t[t.DST_IN = 25] = "DST_IN", t[t.DST_OUT = 26] = "DST_OUT", t[t.DST_ATOP = 27] = "DST_ATOP", t[t.ERASE = 26] = "ERASE", t[t.SUBTRACT = 28] = "SUBTRACT", t[t.XOR = 29] = "XOR", t))(le || {}), un = /* @__PURE__ */ ((t) => (t[t.POINTS = 0] = "POINTS", t[t.LINES = 1] = "LINES", t[t.LINE_LOOP = 2] = "LINE_LOOP", t[t.LINE_STRIP = 3] = "LINE_STRIP", t[t.TRIANGLES = 4] = "TRIANGLES", t[t.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", t[t.TRIANGLE_FAN = 6] = "TRIANGLE_FAN", t))(un || {}), K = /* @__PURE__ */ ((t) => (t[t.RGBA = 6408] = "RGBA", t[t.RGB = 6407] = "RGB", t[t.RG = 33319] = "RG", t[t.RED = 6403] = "RED", t[t.RGBA_INTEGER = 36249] = "RGBA_INTEGER", t[t.RGB_INTEGER = 36248] = "RGB_INTEGER", t[t.RG_INTEGER = 33320] = "RG_INTEGER", t[t.RED_INTEGER = 36244] = "RED_INTEGER", t[t.ALPHA = 6406] = "ALPHA", t[t.LUMINANCE = 6409] = "LUMINANCE", t[t.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", t[t.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", t[t.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL", t))(K || {}), vi = /* @__PURE__ */ ((t) => (t[t.TEXTURE_2D = 3553] = "TEXTURE_2D", t[t.TEXTURE_CUBE_MAP = 34067] = "TEXTURE_CUBE_MAP", t[t.TEXTURE_2D_ARRAY = 35866] = "TEXTURE_2D_ARRAY", t[t.TEXTURE_CUBE_MAP_POSITIVE_X = 34069] = "TEXTURE_CUBE_MAP_POSITIVE_X", t[t.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070] = "TEXTURE_CUBE_MAP_NEGATIVE_X", t[t.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071] = "TEXTURE_CUBE_MAP_POSITIVE_Y", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072] = "TEXTURE_CUBE_MAP_NEGATIVE_Y", t[t.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073] = "TEXTURE_CUBE_MAP_POSITIVE_Z", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074] = "TEXTURE_CUBE_MAP_NEGATIVE_Z", t))(vi || {}), Ne = /* @__PURE__ */ ((t) => (t[t.UNSIGNED_BYTE = 5121] = "UNSIGNED_BYTE", t[t.UNSIGNED_SHORT = 5123] = "UNSIGNED_SHORT", t[t.UNSIGNED_SHORT_5_6_5 = 33635] = "UNSIGNED_SHORT_5_6_5", t[t.UNSIGNED_SHORT_4_4_4_4 = 32819] = "UNSIGNED_SHORT_4_4_4_4", t[t.UNSIGNED_SHORT_5_5_5_1 = 32820] = "UNSIGNED_SHORT_5_5_5_1", t[t.UNSIGNED_INT = 5125] = "UNSIGNED_INT", t[t.UNSIGNED_INT_10F_11F_11F_REV = 35899] = "UNSIGNED_INT_10F_11F_11F_REV", t[t.UNSIGNED_INT_2_10_10_10_REV = 33640] = "UNSIGNED_INT_2_10_10_10_REV", t[t.UNSIGNED_INT_24_8 = 34042] = "UNSIGNED_INT_24_8", t[t.UNSIGNED_INT_5_9_9_9_REV = 35902] = "UNSIGNED_INT_5_9_9_9_REV", t[t.BYTE = 5120] = "BYTE", t[t.SHORT = 5122] = "SHORT", t[t.INT = 5124] = "INT", t[t.FLOAT = 5126] = "FLOAT", t[t.FLOAT_32_UNSIGNED_INT_24_8_REV = 36269] = "FLOAT_32_UNSIGNED_INT_24_8_REV", t[t.HALF_FLOAT = 36193] = "HALF_FLOAT", t))(Ne || {}), ec = /* @__PURE__ */ ((t) => (t[t.FLOAT = 0] = "FLOAT", t[t.INT = 1] = "INT", t[t.UINT = 2] = "UINT", t))(ec || {}), Rr = /* @__PURE__ */ ((t) => (t[t.NEAREST = 0] = "NEAREST", t[t.LINEAR = 1] = "LINEAR", t))(Rr || {}), xs = /* @__PURE__ */ ((t) => (t[t.CLAMP = 33071] = "CLAMP", t[t.REPEAT = 10497] = "REPEAT", t[t.MIRRORED_REPEAT = 33648] = "MIRRORED_REPEAT", t))(xs || {}), Dn = /* @__PURE__ */ ((t) => (t[t.OFF = 0] = "OFF", t[t.POW2 = 1] = "POW2", t[t.ON = 2] = "ON", t[t.ON_MANUAL = 3] = "ON_MANUAL", t))(Dn || {}), hn = /* @__PURE__ */ ((t) => (t[t.NPM = 0] = "NPM", t[t.UNPACK = 1] = "UNPACK", t[t.PMA = 2] = "PMA", t[t.NO_PREMULTIPLIED_ALPHA = 0] = "NO_PREMULTIPLIED_ALPHA", t[t.PREMULTIPLY_ON_UPLOAD = 1] = "PREMULTIPLY_ON_UPLOAD", t[t.PREMULTIPLIED_ALPHA = 2] = "PREMULTIPLIED_ALPHA", t))(hn || {}), En = /* @__PURE__ */ ((t) => (t[t.NO = 0] = "NO", t[t.YES = 1] = "YES", t[t.AUTO = 2] = "AUTO", t[t.BLEND = 0] = "BLEND", t[t.CLEAR = 1] = "CLEAR", t[t.BLIT = 2] = "BLIT", t))(En || {}), Dc = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.MANUAL = 1] = "MANUAL", t))(Dc || {}), rr = /* @__PURE__ */ ((t) => (t.LOW = "lowp", t.MEDIUM = "mediump", t.HIGH = "highp", t))(rr || {}), ft = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.SCISSOR = 1] = "SCISSOR", t[t.STENCIL = 2] = "STENCIL", t[t.SPRITE = 3] = "SPRITE", t[t.COLOR = 4] = "COLOR", t))(ft || {}), lt = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 8] = "HIGH", t))(lt || {}), Pr = /* @__PURE__ */ ((t) => (t[t.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", t[t.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", t[t.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER", t))(Pr || {});
625
+ var Gn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Gn || {}), um = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(um || {}), Jl = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(Jl || {}), le = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ADD = 1] = "ADD", t[t.MULTIPLY = 2] = "MULTIPLY", t[t.SCREEN = 3] = "SCREEN", t[t.OVERLAY = 4] = "OVERLAY", t[t.DARKEN = 5] = "DARKEN", t[t.LIGHTEN = 6] = "LIGHTEN", t[t.COLOR_DODGE = 7] = "COLOR_DODGE", t[t.COLOR_BURN = 8] = "COLOR_BURN", t[t.HARD_LIGHT = 9] = "HARD_LIGHT", t[t.SOFT_LIGHT = 10] = "SOFT_LIGHT", t[t.DIFFERENCE = 11] = "DIFFERENCE", t[t.EXCLUSION = 12] = "EXCLUSION", t[t.HUE = 13] = "HUE", t[t.SATURATION = 14] = "SATURATION", t[t.COLOR = 15] = "COLOR", t[t.LUMINOSITY = 16] = "LUMINOSITY", t[t.NORMAL_NPM = 17] = "NORMAL_NPM", t[t.ADD_NPM = 18] = "ADD_NPM", t[t.SCREEN_NPM = 19] = "SCREEN_NPM", t[t.NONE = 20] = "NONE", t[t.SRC_OVER = 0] = "SRC_OVER", t[t.SRC_IN = 21] = "SRC_IN", t[t.SRC_OUT = 22] = "SRC_OUT", t[t.SRC_ATOP = 23] = "SRC_ATOP", t[t.DST_OVER = 24] = "DST_OVER", t[t.DST_IN = 25] = "DST_IN", t[t.DST_OUT = 26] = "DST_OUT", t[t.DST_ATOP = 27] = "DST_ATOP", t[t.ERASE = 26] = "ERASE", t[t.SUBTRACT = 28] = "SUBTRACT", t[t.XOR = 29] = "XOR", t))(le || {}), un = /* @__PURE__ */ ((t) => (t[t.POINTS = 0] = "POINTS", t[t.LINES = 1] = "LINES", t[t.LINE_LOOP = 2] = "LINE_LOOP", t[t.LINE_STRIP = 3] = "LINE_STRIP", t[t.TRIANGLES = 4] = "TRIANGLES", t[t.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", t[t.TRIANGLE_FAN = 6] = "TRIANGLE_FAN", t))(un || {}), K = /* @__PURE__ */ ((t) => (t[t.RGBA = 6408] = "RGBA", t[t.RGB = 6407] = "RGB", t[t.RG = 33319] = "RG", t[t.RED = 6403] = "RED", t[t.RGBA_INTEGER = 36249] = "RGBA_INTEGER", t[t.RGB_INTEGER = 36248] = "RGB_INTEGER", t[t.RG_INTEGER = 33320] = "RG_INTEGER", t[t.RED_INTEGER = 36244] = "RED_INTEGER", t[t.ALPHA = 6406] = "ALPHA", t[t.LUMINANCE = 6409] = "LUMINANCE", t[t.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", t[t.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", t[t.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL", t))(K || {}), vi = /* @__PURE__ */ ((t) => (t[t.TEXTURE_2D = 3553] = "TEXTURE_2D", t[t.TEXTURE_CUBE_MAP = 34067] = "TEXTURE_CUBE_MAP", t[t.TEXTURE_2D_ARRAY = 35866] = "TEXTURE_2D_ARRAY", t[t.TEXTURE_CUBE_MAP_POSITIVE_X = 34069] = "TEXTURE_CUBE_MAP_POSITIVE_X", t[t.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070] = "TEXTURE_CUBE_MAP_NEGATIVE_X", t[t.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071] = "TEXTURE_CUBE_MAP_POSITIVE_Y", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072] = "TEXTURE_CUBE_MAP_NEGATIVE_Y", t[t.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073] = "TEXTURE_CUBE_MAP_POSITIVE_Z", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074] = "TEXTURE_CUBE_MAP_NEGATIVE_Z", t))(vi || {}), Ne = /* @__PURE__ */ ((t) => (t[t.UNSIGNED_BYTE = 5121] = "UNSIGNED_BYTE", t[t.UNSIGNED_SHORT = 5123] = "UNSIGNED_SHORT", t[t.UNSIGNED_SHORT_5_6_5 = 33635] = "UNSIGNED_SHORT_5_6_5", t[t.UNSIGNED_SHORT_4_4_4_4 = 32819] = "UNSIGNED_SHORT_4_4_4_4", t[t.UNSIGNED_SHORT_5_5_5_1 = 32820] = "UNSIGNED_SHORT_5_5_5_1", t[t.UNSIGNED_INT = 5125] = "UNSIGNED_INT", t[t.UNSIGNED_INT_10F_11F_11F_REV = 35899] = "UNSIGNED_INT_10F_11F_11F_REV", t[t.UNSIGNED_INT_2_10_10_10_REV = 33640] = "UNSIGNED_INT_2_10_10_10_REV", t[t.UNSIGNED_INT_24_8 = 34042] = "UNSIGNED_INT_24_8", t[t.UNSIGNED_INT_5_9_9_9_REV = 35902] = "UNSIGNED_INT_5_9_9_9_REV", t[t.BYTE = 5120] = "BYTE", t[t.SHORT = 5122] = "SHORT", t[t.INT = 5124] = "INT", t[t.FLOAT = 5126] = "FLOAT", t[t.FLOAT_32_UNSIGNED_INT_24_8_REV = 36269] = "FLOAT_32_UNSIGNED_INT_24_8_REV", t[t.HALF_FLOAT = 36193] = "HALF_FLOAT", t))(Ne || {}), ec = /* @__PURE__ */ ((t) => (t[t.FLOAT = 0] = "FLOAT", t[t.INT = 1] = "INT", t[t.UINT = 2] = "UINT", t))(ec || {}), Rr = /* @__PURE__ */ ((t) => (t[t.NEAREST = 0] = "NEAREST", t[t.LINEAR = 1] = "LINEAR", t))(Rr || {}), xs = /* @__PURE__ */ ((t) => (t[t.CLAMP = 33071] = "CLAMP", t[t.REPEAT = 10497] = "REPEAT", t[t.MIRRORED_REPEAT = 33648] = "MIRRORED_REPEAT", t))(xs || {}), Dn = /* @__PURE__ */ ((t) => (t[t.OFF = 0] = "OFF", t[t.POW2 = 1] = "POW2", t[t.ON = 2] = "ON", t[t.ON_MANUAL = 3] = "ON_MANUAL", t))(Dn || {}), hn = /* @__PURE__ */ ((t) => (t[t.NPM = 0] = "NPM", t[t.UNPACK = 1] = "UNPACK", t[t.PMA = 2] = "PMA", t[t.NO_PREMULTIPLIED_ALPHA = 0] = "NO_PREMULTIPLIED_ALPHA", t[t.PREMULTIPLY_ON_UPLOAD = 1] = "PREMULTIPLY_ON_UPLOAD", t[t.PREMULTIPLIED_ALPHA = 2] = "PREMULTIPLIED_ALPHA", t))(hn || {}), En = /* @__PURE__ */ ((t) => (t[t.NO = 0] = "NO", t[t.YES = 1] = "YES", t[t.AUTO = 2] = "AUTO", t[t.BLEND = 0] = "BLEND", t[t.CLEAR = 1] = "CLEAR", t[t.BLIT = 2] = "BLIT", t))(En || {}), Dc = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.MANUAL = 1] = "MANUAL", t))(Dc || {}), rr = /* @__PURE__ */ ((t) => (t.LOW = "lowp", t.MEDIUM = "mediump", t.HIGH = "highp", t))(rr || {}), dt = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.SCISSOR = 1] = "SCISSOR", t[t.STENCIL = 2] = "STENCIL", t[t.SPRITE = 3] = "SPRITE", t[t.COLOR = 4] = "COLOR", t))(dt || {}), ct = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 8] = "HIGH", t))(ct || {}), Pr = /* @__PURE__ */ ((t) => (t[t.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", t[t.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", t[t.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER", t))(Pr || {});
626
626
  const YE = {
627
627
  createCanvas: (t, e) => {
628
628
  const r = document.createElement("canvas");
@@ -4992,7 +4992,7 @@ const us = class extends Ns {
4992
4992
  };
4993
4993
  let Ue = us;
4994
4994
  Ue.defaultResolution = 1;
4995
- Ue.defaultMultisample = lt.NONE;
4995
+ Ue.defaultMultisample = ct.NONE;
4996
4996
  class Co {
4997
4997
  constructor() {
4998
4998
  this.clearBeforeRender = !0, this._backgroundColor = new Ct(0), this.alpha = 1;
@@ -5195,7 +5195,7 @@ class yR extends Yc {
5195
5195
  }
5196
5196
  class xc {
5197
5197
  constructor(e, r) {
5198
- this.width = Math.round(e || 100), this.height = Math.round(r || 100), this.stencil = !1, this.depth = !1, this.dirtyId = 0, this.dirtyFormat = 0, this.dirtySize = 0, this.depthTexture = null, this.colorTextures = [], this.glFramebuffers = {}, this.disposeRunner = new yr("disposeFramebuffer"), this.multisample = lt.NONE;
5198
+ this.width = Math.round(e || 100), this.height = Math.round(r || 100), this.stencil = !1, this.depth = !1, this.dirtyId = 0, this.dirtyFormat = 0, this.dirtySize = 0, this.depthTexture = null, this.colorTextures = [], this.glFramebuffers = {}, this.disposeRunner = new yr("disposeFramebuffer"), this.multisample = ct.NONE;
5199
5199
  }
5200
5200
  get colorTexture() {
5201
5201
  return this.colorTextures[0];
@@ -5252,7 +5252,7 @@ class Vm extends Le {
5252
5252
  const r = arguments[0], n = arguments[1], i = arguments[2], a = arguments[3];
5253
5253
  e = { width: r, height: n, scaleMode: i, resolution: a };
5254
5254
  }
5255
- e.width = e.width || 100, e.height = e.height || 100, e.multisample ?? (e.multisample = lt.NONE), super(null, e), this.mipmap = Dn.OFF, this.valid = !0, this._clear = new Ct([0, 0, 0, 0]), this.framebuffer = new xc(this.realWidth, this.realHeight).addColorTexture(0, this), this.framebuffer.multisample = e.multisample, this.maskStack = [], this.filterStack = [{}];
5255
+ e.width = e.width || 100, e.height = e.height || 100, e.multisample ?? (e.multisample = ct.NONE), super(null, e), this.mipmap = Dn.OFF, this.valid = !0, this._clear = new Ct([0, 0, 0, 0]), this.framebuffer = new xc(this.realWidth, this.realHeight).addColorTexture(0, this), this.framebuffer.multisample = e.multisample, this.maskStack = [], this.filterStack = [{}];
5256
5256
  }
5257
5257
  set clearColor(e) {
5258
5258
  this._clear.setValue(e);
@@ -5550,7 +5550,7 @@ class Wm {
5550
5550
  constructor(e) {
5551
5551
  this.texturePool = {}, this.textureOptions = e || {}, this.enableFullScreen = !1, this._pixelsWidth = 0, this._pixelsHeight = 0;
5552
5552
  }
5553
- createTexture(e, r, n = lt.NONE) {
5553
+ createTexture(e, r, n = ct.NONE) {
5554
5554
  const i = new Vm(Object.assign({
5555
5555
  width: e,
5556
5556
  height: r,
@@ -5559,14 +5559,14 @@ class Wm {
5559
5559
  }, this.textureOptions));
5560
5560
  return new Ro(i);
5561
5561
  }
5562
- getOptimalTexture(e, r, n = 1, i = lt.NONE) {
5562
+ getOptimalTexture(e, r, n = 1, i = ct.NONE) {
5563
5563
  let a;
5564
5564
  e = Math.ceil(e * n - 1e-6), r = Math.ceil(r * n - 1e-6), !this.enableFullScreen || e !== this._pixelsWidth || r !== this._pixelsHeight ? (e = lo(e), r = lo(r), a = ((e & 65535) << 16 | r & 65535) >>> 0, i > 1 && (a += i * 4294967296)) : a = i > 1 ? -i : -1, this.texturePool[a] || (this.texturePool[a] = []);
5565
5565
  let u = this.texturePool[a].pop();
5566
5566
  return u || (u = this.createTexture(e, r, i)), u.filterPoolKey = a, u.setResolution(n), u;
5567
5567
  }
5568
5568
  getFilterTexture(e, r, n) {
5569
- const i = this.getOptimalTexture(e.width, e.height, r || e.resolution, n || lt.NONE);
5569
+ const i = this.getOptimalTexture(e.width, e.height, r || e.resolution, n || ct.NONE);
5570
5570
  return i.filterFrame = e.filterFrame, i;
5571
5571
  }
5572
5572
  returnTexture(e) {
@@ -5649,7 +5649,7 @@ class bR extends Si {
5649
5649
  }
5650
5650
  class wR {
5651
5651
  constructor() {
5652
- this.renderTexture = null, this.target = null, this.legacy = !1, this.resolution = 1, this.multisample = lt.NONE, this.sourceFrame = new Xe(), this.destinationFrame = new Xe(), this.bindingSourceFrame = new Xe(), this.bindingDestinationFrame = new Xe(), this.filters = [], this.transform = null;
5652
+ this.renderTexture = null, this.target = null, this.legacy = !1, this.resolution = 1, this.multisample = ct.NONE, this.sourceFrame = new Xe(), this.destinationFrame = new Xe(), this.bindingSourceFrame = new Xe(), this.bindingDestinationFrame = new Xe(), this.filters = [], this.transform = null;
5653
5653
  }
5654
5654
  clear() {
5655
5655
  this.target = null, this.filters = null, this.renderTexture = null;
@@ -5735,7 +5735,7 @@ class qm {
5735
5735
  destroy() {
5736
5736
  this.renderer = null, this.texturePool.clear(!1);
5737
5737
  }
5738
- getOptimalFilterTexture(e, r, n = 1, i = lt.NONE) {
5738
+ getOptimalFilterTexture(e, r, n = 1, i = ct.NONE) {
5739
5739
  return this.texturePool.getOptimalTexture(e, r, n, i);
5740
5740
  }
5741
5741
  getFilterTexture(e, r, n) {
@@ -5744,7 +5744,7 @@ class qm {
5744
5744
  e = r, r = a;
5745
5745
  }
5746
5746
  e = e || this.activeState.renderTexture;
5747
- const i = this.texturePool.getOptimalTexture(e.width, e.height, r || e.resolution, n || lt.NONE);
5747
+ const i = this.texturePool.getOptimalTexture(e.width, e.height, r || e.resolution, n || ct.NONE);
5748
5748
  return i.filterFrame = e.filterFrame, i;
5749
5749
  }
5750
5750
  returnFilterTexture(e) {
@@ -5780,7 +5780,7 @@ qm.extension = {
5780
5780
  Ge.add(qm);
5781
5781
  class TR {
5782
5782
  constructor(e) {
5783
- this.framebuffer = e, this.stencil = null, this.dirtyId = -1, this.dirtyFormat = -1, this.dirtySize = -1, this.multisample = lt.NONE, this.msaaBuffer = null, this.blitFramebuffer = null, this.mipLevel = 0;
5783
+ this.framebuffer = e, this.stencil = null, this.dirtyId = -1, this.dirtyFormat = -1, this.dirtySize = -1, this.multisample = ct.NONE, this.msaaBuffer = null, this.blitFramebuffer = null, this.mipLevel = 0;
5784
5784
  }
5785
5785
  }
5786
5786
  const AR = new Xe();
@@ -5864,7 +5864,7 @@ class Ym {
5864
5864
  }
5865
5865
  detectSamples(e) {
5866
5866
  const { msaaSamples: r } = this;
5867
- let n = lt.NONE;
5867
+ let n = ct.NONE;
5868
5868
  if (e <= 1 || r === null)
5869
5869
  return n;
5870
5870
  for (let i = 0; i < r.length; i++)
@@ -5872,7 +5872,7 @@ class Ym {
5872
5872
  n = r[i];
5873
5873
  break;
5874
5874
  }
5875
- return n === 1 && (n = lt.NONE), n;
5875
+ return n === 1 && (n = ct.NONE), n;
5876
5876
  }
5877
5877
  blit(e, r, n) {
5878
5878
  const { current: i, renderer: a, gl: u, CONTEXT_UID: l } = this;
@@ -6159,7 +6159,7 @@ class IR extends Ue {
6159
6159
  }
6160
6160
  class RR {
6161
6161
  constructor(e = null) {
6162
- this.type = ft.NONE, this.autoDetect = !0, this.maskObject = e || null, this.pooled = !1, this.isMaskData = !0, this.resolution = null, this.multisample = Ue.defaultMultisample, this.enabled = !0, this.colorMask = 15, this._filters = null, this._stencilCounter = 0, this._scissorCounter = 0, this._scissorRect = null, this._scissorRectLocal = null, this._colorMask = 15, this._target = null;
6162
+ this.type = dt.NONE, this.autoDetect = !0, this.maskObject = e || null, this.pooled = !1, this.isMaskData = !0, this.resolution = null, this.multisample = Ue.defaultMultisample, this.enabled = !0, this.colorMask = 15, this._filters = null, this._stencilCounter = 0, this._scissorCounter = 0, this._scissorRect = null, this._scissorRectLocal = null, this._colorMask = 15, this._target = null;
6163
6163
  }
6164
6164
  get filter() {
6165
6165
  return this._filters ? this._filters[0] : null;
@@ -6168,7 +6168,7 @@ class RR {
6168
6168
  e ? this._filters ? this._filters[0] = e : this._filters = [e] : this._filters = null;
6169
6169
  }
6170
6170
  reset() {
6171
- this.pooled && (this.maskObject = null, this.type = ft.NONE, this.autoDetect = !0), this._target = null, this._scissorRectLocal = null;
6171
+ this.pooled && (this.maskObject = null, this.type = dt.NONE, this.autoDetect = !0), this._target = null, this._scissorRectLocal = null;
6172
6172
  }
6173
6173
  copyCountersOrReset(e) {
6174
6174
  e ? (this._stencilCounter = e._stencilCounter, this._scissorCounter = e._scissorCounter, this._scissorRect = e._scissorRect) : (this._stencilCounter = 0, this._scissorCounter = 0, this._scissorRect = null);
@@ -6188,50 +6188,50 @@ class Zm {
6188
6188
  a.pooled = !0, a.maskObject = r, n = a;
6189
6189
  }
6190
6190
  const i = this.maskStack.length !== 0 ? this.maskStack[this.maskStack.length - 1] : null;
6191
- if (n.copyCountersOrReset(i), n._colorMask = i ? i._colorMask : 15, n.autoDetect && this.detect(n), n._target = e, n.type !== ft.SPRITE && this.maskStack.push(n), n.enabled)
6191
+ if (n.copyCountersOrReset(i), n._colorMask = i ? i._colorMask : 15, n.autoDetect && this.detect(n), n._target = e, n.type !== dt.SPRITE && this.maskStack.push(n), n.enabled)
6192
6192
  switch (n.type) {
6193
- case ft.SCISSOR:
6193
+ case dt.SCISSOR:
6194
6194
  this.renderer.scissor.push(n);
6195
6195
  break;
6196
- case ft.STENCIL:
6196
+ case dt.STENCIL:
6197
6197
  this.renderer.stencil.push(n);
6198
6198
  break;
6199
- case ft.SPRITE:
6199
+ case dt.SPRITE:
6200
6200
  n.copyCountersOrReset(null), this.pushSpriteMask(n);
6201
6201
  break;
6202
- case ft.COLOR:
6202
+ case dt.COLOR:
6203
6203
  this.pushColorMask(n);
6204
6204
  break;
6205
6205
  }
6206
- n.type === ft.SPRITE && this.maskStack.push(n);
6206
+ n.type === dt.SPRITE && this.maskStack.push(n);
6207
6207
  }
6208
6208
  pop(e) {
6209
6209
  const r = this.maskStack.pop();
6210
6210
  if (!(!r || r._target !== e)) {
6211
6211
  if (r.enabled)
6212
6212
  switch (r.type) {
6213
- case ft.SCISSOR:
6213
+ case dt.SCISSOR:
6214
6214
  this.renderer.scissor.pop(r);
6215
6215
  break;
6216
- case ft.STENCIL:
6216
+ case dt.STENCIL:
6217
6217
  this.renderer.stencil.pop(r.maskObject);
6218
6218
  break;
6219
- case ft.SPRITE:
6219
+ case dt.SPRITE:
6220
6220
  this.popSpriteMask(r);
6221
6221
  break;
6222
- case ft.COLOR:
6222
+ case dt.COLOR:
6223
6223
  this.popColorMask(r);
6224
6224
  break;
6225
6225
  }
6226
6226
  if (r.reset(), r.pooled && this.maskDataPool.push(r), this.maskStack.length !== 0) {
6227
6227
  const n = this.maskStack[this.maskStack.length - 1];
6228
- n.type === ft.SPRITE && n._filters && (n._filters[0].maskSprite = n.maskObject);
6228
+ n.type === dt.SPRITE && n._filters && (n._filters[0].maskSprite = n.maskObject);
6229
6229
  }
6230
6230
  }
6231
6231
  }
6232
6232
  detect(e) {
6233
6233
  const r = e.maskObject;
6234
- r ? r.isSprite ? e.type = ft.SPRITE : this.enableScissor && this.renderer.scissor.testScissor(e) ? e.type = ft.SCISSOR : e.type = ft.STENCIL : e.type = ft.COLOR;
6234
+ r ? r.isSprite ? e.type = dt.SPRITE : this.enableScissor && this.renderer.scissor.testScissor(e) ? e.type = dt.SCISSOR : e.type = dt.STENCIL : e.type = dt.COLOR;
6235
6235
  }
6236
6236
  pushSpriteMask(e) {
6237
6237
  const { maskObject: r } = e, n = e._target;
@@ -7613,7 +7613,7 @@ class h0 {
7613
7613
  const n = e.getParameter(e.DRAW_FRAMEBUFFER_BINDING);
7614
7614
  e.bindFramebuffer(e.DRAW_FRAMEBUFFER, null), r = e.getParameter(e.SAMPLES), e.bindFramebuffer(e.DRAW_FRAMEBUFFER, n);
7615
7615
  }
7616
- r >= lt.HIGH ? this.multisample = lt.HIGH : r >= lt.MEDIUM ? this.multisample = lt.MEDIUM : r >= lt.LOW ? this.multisample = lt.LOW : this.multisample = lt.NONE;
7616
+ r >= ct.HIGH ? this.multisample = ct.HIGH : r >= ct.MEDIUM ? this.multisample = ct.MEDIUM : r >= ct.LOW ? this.multisample = ct.LOW : this.multisample = ct.NONE;
7617
7617
  }
7618
7618
  destroy() {
7619
7619
  }
@@ -11755,7 +11755,7 @@ const Ic = class extends Ci {
11755
11755
  for (let l = 0; l < e.length; l++)
11756
11756
  e[l].enabled && this._enabledFilters.push(e[l]);
11757
11757
  }
11758
- const n = e && ((i = this._enabledFilters) == null ? void 0 : i.length) || r && (!r.isMaskData || r.enabled && (r.autoDetect || r.type !== ft.NONE));
11758
+ const n = e && ((i = this._enabledFilters) == null ? void 0 : i.length) || r && (!r.isMaskData || r.enabled && (r.autoDetect || r.type !== dt.NONE));
11759
11759
  if (n && t.batch.flush(), e && ((a = this._enabledFilters) != null && a.length) && t.filter.push(this, this._enabledFilters), r && t.mask.push(this, this._mask), this.cullable)
11760
11760
  this._renderWithCulling(t);
11761
11761
  else {
@@ -15267,10 +15267,10 @@ const O5 = (t) => {
15267
15267
  audioEndAt: w,
15268
15268
  visible: x
15269
15269
  } = t;
15270
- dt(Je.PAUSE, () => {
15270
+ lt(Qe.PAUSE, () => {
15271
15271
  var N;
15272
15272
  n.current && u.current && ((N = u.current) == null || N.pause(), i.current.isPlaying = !1);
15273
- }), dt(Je.SCRUBBER_CLICKED, () => {
15273
+ }), lt(Qe.SCRUBBER_CLICKED, () => {
15274
15274
  var N;
15275
15275
  n.current && u.current && ((N = u.current) == null || N.pause(), i.current.isPlaying = !1);
15276
15276
  }), ne.useEffect(() => {
@@ -16775,8 +16775,8 @@ vo.exports;
16775
16775
  }
16776
16776
  function s_(P, B, F, Q) {
16777
16777
  for (var he = -1, Be = P == null ? 0 : P.length; ++he < Be; ) {
16778
- var ct = P[he];
16779
- B(Q, ct, F(ct), P);
16778
+ var ht = P[he];
16779
+ B(Q, ht, F(ht), P);
16780
16780
  }
16781
16781
  return Q;
16782
16782
  }
@@ -16798,8 +16798,8 @@ vo.exports;
16798
16798
  }
16799
16799
  function Kr(P, B) {
16800
16800
  for (var F = -1, Q = P == null ? 0 : P.length, he = 0, Be = []; ++F < Q; ) {
16801
- var ct = P[F];
16802
- B(ct, F, P) && (Be[he++] = ct);
16801
+ var ht = P[F];
16802
+ B(ht, F, P) && (Be[he++] = ht);
16803
16803
  }
16804
16804
  return Be;
16805
16805
  }
@@ -16813,7 +16813,7 @@ vo.exports;
16813
16813
  return !0;
16814
16814
  return !1;
16815
16815
  }
16816
- function Qe(P, B) {
16816
+ function Je(P, B) {
16817
16817
  for (var F = -1, Q = P == null ? 0 : P.length, he = Array(Q); ++F < Q; )
16818
16818
  he[F] = B(P[F], F, P);
16819
16819
  return he;
@@ -16850,8 +16850,8 @@ vo.exports;
16850
16850
  }
16851
16851
  function Gh(P, B, F) {
16852
16852
  var Q;
16853
- return F(P, function(he, Be, ct) {
16854
- if (B(he, Be, ct))
16853
+ return F(P, function(he, Be, ht) {
16854
+ if (B(he, Be, ht))
16855
16855
  return Q = Be, !1;
16856
16856
  }), Q;
16857
16857
  }
@@ -16888,8 +16888,8 @@ vo.exports;
16888
16888
  };
16889
16889
  }
16890
16890
  function Vh(P, B, F, Q, he) {
16891
- return he(P, function(Be, ct, Ve) {
16892
- F = Q ? (Q = !1, Be) : B(F, Be, ct, Ve);
16891
+ return he(P, function(Be, ht, Ve) {
16892
+ F = Q ? (Q = !1, Be) : B(F, Be, ht, Ve);
16893
16893
  }), F;
16894
16894
  }
16895
16895
  function f_(P, B) {
@@ -16911,7 +16911,7 @@ vo.exports;
16911
16911
  return Q;
16912
16912
  }
16913
16913
  function d_(P, B) {
16914
- return Qe(B, function(F) {
16914
+ return Je(B, function(F) {
16915
16915
  return [F, P[F]];
16916
16916
  });
16917
16917
  }
@@ -16924,7 +16924,7 @@ vo.exports;
16924
16924
  };
16925
16925
  }
16926
16926
  function pu(P, B) {
16927
- return Qe(B, function(F) {
16927
+ return Je(B, function(F) {
16928
16928
  return P[F];
16929
16929
  });
16930
16930
  }
@@ -16977,8 +16977,8 @@ vo.exports;
16977
16977
  }
16978
16978
  function Qr(P, B) {
16979
16979
  for (var F = -1, Q = P.length, he = 0, Be = []; ++F < Q; ) {
16980
- var ct = P[F];
16981
- (ct === B || ct === v) && (P[F] = v, Be[he++] = F);
16980
+ var ht = P[F];
16981
+ (ht === B || ht === v) && (P[F] = v, Be[he++] = F);
16982
16982
  }
16983
16983
  return Be;
16984
16984
  }
@@ -17031,7 +17031,7 @@ vo.exports;
17031
17031
  }
17032
17032
  var I_ = function P(B) {
17033
17033
  B = B == null ? yt : Yn.defaults(yt.Object(), B, Yn.pick(yt, Kv));
17034
- var F = B.Array, Q = B.Date, he = B.Error, Be = B.Function, ct = B.Math, Ve = B.Object, mu = B.RegExp, R_ = B.String, Kt = B.TypeError, Hs = F.prototype, P_ = Be.prototype, Kn = Ve.prototype, Vs = B["__core-js_shared__"], Xs = P_.toString, $e = Kn.hasOwnProperty, M_ = 0, Kh = function() {
17034
+ var F = B.Array, Q = B.Date, he = B.Error, Be = B.Function, ht = B.Math, Ve = B.Object, mu = B.RegExp, R_ = B.String, Kt = B.TypeError, Hs = F.prototype, P_ = Be.prototype, Kn = Ve.prototype, Vs = B["__core-js_shared__"], Xs = P_.toString, $e = Kn.hasOwnProperty, M_ = 0, Kh = function() {
17035
17035
  var s = /[^.]+$/.exec(Vs && Vs.keys && Vs.keys.IE_PROTO || "");
17036
17036
  return s ? "Symbol(src)_1." + s : "";
17037
17037
  }(), js = Kn.toString, O_ = Xs.call(Ve), F_ = yt._, N_ = mu(
@@ -17042,7 +17042,7 @@ vo.exports;
17042
17042
  return s({}, "", {}), s;
17043
17043
  } catch {
17044
17044
  }
17045
- }(), L_ = B.clearTimeout !== yt.clearTimeout && B.clearTimeout, k_ = Q && Q.now !== yt.Date.now && Q.now, B_ = B.setTimeout !== yt.setTimeout && B.setTimeout, Qs = ct.ceil, Js = ct.floor, vu = Ve.getOwnPropertySymbols, D_ = Ws ? Ws.isBuffer : r, tf = B.isFinite, U_ = Hs.join, $_ = qh(Ve.keys, Ve), ht = ct.max, Tt = ct.min, G_ = Q.now, z_ = B.parseInt, rf = ct.random, H_ = Hs.reverse, _u = xn(B, "DataView"), Xi = xn(B, "Map"), yu = xn(B, "Promise"), Zn = xn(B, "Set"), ji = xn(B, "WeakMap"), Wi = xn(Ve, "create"), ea = ji && new ji(), Qn = {}, V_ = bn(_u), X_ = bn(Xi), j_ = bn(yu), W_ = bn(Zn), q_ = bn(ji), ta = Jr ? Jr.prototype : r, qi = ta ? ta.valueOf : r, nf = ta ? ta.toString : r;
17045
+ }(), L_ = B.clearTimeout !== yt.clearTimeout && B.clearTimeout, k_ = Q && Q.now !== yt.Date.now && Q.now, B_ = B.setTimeout !== yt.setTimeout && B.setTimeout, Qs = ht.ceil, Js = ht.floor, vu = Ve.getOwnPropertySymbols, D_ = Ws ? Ws.isBuffer : r, tf = B.isFinite, U_ = Hs.join, $_ = qh(Ve.keys, Ve), ft = ht.max, Tt = ht.min, G_ = Q.now, z_ = B.parseInt, rf = ht.random, H_ = Hs.reverse, _u = xn(B, "DataView"), Xi = xn(B, "Map"), yu = xn(B, "Promise"), Zn = xn(B, "Set"), ji = xn(B, "WeakMap"), Wi = xn(Ve, "create"), ea = ji && new ji(), Qn = {}, V_ = bn(_u), X_ = bn(Xi), j_ = bn(yu), W_ = bn(Zn), q_ = bn(ji), ta = Jr ? Jr.prototype : r, qi = ta ? ta.valueOf : r, nf = ta ? ta.toString : r;
17046
17046
  function T(s) {
17047
17047
  if (st(s) && !fe(s) && !(s instanceof Te)) {
17048
17048
  if (s instanceof Zt)
@@ -17407,7 +17407,7 @@ vo.exports;
17407
17407
  var y = -1, A = $s, C = !0, R = s.length, M = [], D = o.length;
17408
17408
  if (!R)
17409
17409
  return M;
17410
- h && (o = Qe(o, Gt(h))), g ? (A = ou, C = !1) : o.length >= i && (A = Hi, C = !1, o = new vn(o));
17410
+ h && (o = Je(o, Gt(h))), g ? (A = ou, C = !1) : o.length >= i && (A = Hi, C = !1, o = new vn(o));
17411
17411
  e:
17412
17412
  for (; ++y < R; ) {
17413
17413
  var U = s[y], G = h == null ? U : h(U);
@@ -17491,12 +17491,12 @@ vo.exports;
17491
17491
  return s != null && o in Ve(s);
17492
17492
  }
17493
17493
  function Ry(s, o, h) {
17494
- return s >= Tt(o, h) && s < ht(o, h);
17494
+ return s >= Tt(o, h) && s < ft(o, h);
17495
17495
  }
17496
17496
  function Su(s, o, h) {
17497
17497
  for (var g = h ? ou : $s, y = s[0].length, A = s.length, C = A, R = F(A), M = 1 / 0, D = []; C--; ) {
17498
17498
  var U = s[C];
17499
- C && o && (U = Qe(U, Gt(o))), M = Tt(U.length, M), R[C] = !h && (o || y >= 120 && U.length >= 120) ? new vn(C && U) : r;
17499
+ C && o && (U = Je(U, Gt(o))), M = Tt(U.length, M), R[C] = !h && (o || y >= 120 && U.length >= 120) ? new vn(C && U) : r;
17500
17500
  }
17501
17501
  U = s[0];
17502
17502
  var G = -1, q = R[0];
@@ -17668,15 +17668,15 @@ vo.exports;
17668
17668
  return o += o < 0 ? h : 0, Ur(o, h) ? s[o] : r;
17669
17669
  }
17670
17670
  function bf(s, o, h) {
17671
- o.length ? o = Qe(o, function(A) {
17671
+ o.length ? o = Je(o, function(A) {
17672
17672
  return fe(A) ? function(C) {
17673
17673
  return yn(C, A.length === 1 ? A[0] : A);
17674
17674
  } : A;
17675
17675
  }) : o = [Dt];
17676
17676
  var g = -1;
17677
- o = Qe(o, Gt(ae()));
17677
+ o = Je(o, Gt(ae()));
17678
17678
  var y = vf(s, function(A, C, R) {
17679
- var M = Qe(o, function(D) {
17679
+ var M = Je(o, function(D) {
17680
17680
  return D(A);
17681
17681
  });
17682
17682
  return { criteria: M, index: ++g, value: A };
@@ -17704,7 +17704,7 @@ vo.exports;
17704
17704
  }
17705
17705
  function Ru(s, o, h, g) {
17706
17706
  var y = g ? h_ : jn, A = -1, C = o.length, R = s;
17707
- for (s === o && (o = Lt(o)), h && (R = Qe(s, Gt(h))); ++A < C; )
17707
+ for (s === o && (o = Lt(o)), h && (R = Je(s, Gt(h))); ++A < C; )
17708
17708
  for (var M = 0, D = o[A], U = h ? h(D) : D; (M = y(R, U, M, g)) > -1; )
17709
17709
  R !== s && Ks.call(R, M, 1), Ks.call(s, M, 1);
17710
17710
  return s;
@@ -17723,7 +17723,7 @@ vo.exports;
17723
17723
  return s + Js(rf() * (o - s + 1));
17724
17724
  }
17725
17725
  function zy(s, o, h, g) {
17726
- for (var y = -1, A = ht(Qs((o - s) / (h || 1)), 0), C = F(A); A--; )
17726
+ for (var y = -1, A = ft(Qs((o - s) / (h || 1)), 0), C = F(A); A--; )
17727
17727
  C[g ? A : ++y] = s, s += h;
17728
17728
  return C;
17729
17729
  }
@@ -17831,7 +17831,7 @@ vo.exports;
17831
17831
  if (typeof s == "string")
17832
17832
  return s;
17833
17833
  if (fe(s))
17834
- return Qe(s, zt) + "";
17834
+ return Je(s, zt) + "";
17835
17835
  if (Ht(s))
17836
17836
  return nf ? nf.call(s) : "";
17837
17837
  var o = s + "";
@@ -17959,7 +17959,7 @@ vo.exports;
17959
17959
  return s.index - o.index;
17960
17960
  }
17961
17961
  function Nf(s, o, h, g) {
17962
- for (var y = -1, A = s.length, C = h.length, R = -1, M = o.length, D = ht(A - C, 0), U = F(M + D), G = !g; ++R < M; )
17962
+ for (var y = -1, A = s.length, C = h.length, R = -1, M = o.length, D = ft(A - C, 0), U = F(M + D), G = !g; ++R < M; )
17963
17963
  U[R] = o[R];
17964
17964
  for (; ++y < C; )
17965
17965
  (G || y < A) && (U[h[y]] = s[y]);
@@ -17968,7 +17968,7 @@ vo.exports;
17968
17968
  return U;
17969
17969
  }
17970
17970
  function Lf(s, o, h, g) {
17971
- for (var y = -1, A = s.length, C = -1, R = h.length, M = -1, D = o.length, U = ht(A - R, 0), G = F(U + D), q = !g; ++y < U; )
17971
+ for (var y = -1, A = s.length, C = -1, R = h.length, M = -1, D = o.length, U = ft(A - R, 0), G = F(U + D), q = !g; ++y < U; )
17972
17972
  G[y] = s[y];
17973
17973
  for (var ee = y; ++M < D; )
17974
17974
  G[ee + M] = o[M];
@@ -18188,7 +18188,7 @@ vo.exports;
18188
18188
  }
18189
18189
  function Du(s) {
18190
18190
  return Dr(function(o) {
18191
- return o = Qe(o, Gt(ae())), ve(function(h) {
18191
+ return o = Je(o, Gt(ae())), ve(function(h) {
18192
18192
  var g = this;
18193
18193
  return s(o, function(y) {
18194
18194
  return $t(y, g, h);
@@ -18243,7 +18243,7 @@ vo.exports;
18243
18243
  return ju(s) && td(ue, ge), ue.placeholder = g, rd(ue, s, o);
18244
18244
  }
18245
18245
  function Uu(s) {
18246
- var o = ct[s];
18246
+ var o = ht[s];
18247
18247
  return function(h, g) {
18248
18248
  if (h = tr(h), g = g == null ? 0 : Tt(de(g), 292), g && tf(h)) {
18249
18249
  var y = (De(h) + "e").split("e"), A = o(y[0] + "e" + (+y[1] + g));
@@ -18266,7 +18266,7 @@ vo.exports;
18266
18266
  if (!M && typeof s != "function")
18267
18267
  throw new Kt(u);
18268
18268
  var D = g ? g.length : 0;
18269
- if (D || (o &= ~(O | N), g = y = r), C = C === r ? C : ht(de(C), 0), R = R === r ? R : de(R), D -= y ? y.length : 0, o & N) {
18269
+ if (D || (o &= ~(O | N), g = y = r), C = C === r ? C : ft(de(C), 0), R = R === r ? R : de(R), D -= y ? y.length : 0, o & N) {
18270
18270
  var U = g, G = y;
18271
18271
  g = y = r;
18272
18272
  }
@@ -18282,7 +18282,7 @@ vo.exports;
18282
18282
  C,
18283
18283
  R
18284
18284
  ];
18285
- if (q && yx(ee, q), 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 : ht(ee[9] - D, 0), !R && o & (S | I) && (o &= ~(S | I)), !o || o == w)
18285
+ if (q && yx(ee, q), 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 : ft(ee[9] - D, 0), !R && o & (S | I) && (o &= ~(S | I)), !o || o == w)
18286
18286
  var oe = tx(s, o, h);
18287
18287
  else
18288
18288
  o == S || o == I ? oe = rx(s, o, R) : (o == O || o == (w | O)) && !y.length ? oe = nx(s, o, h, g) : oe = ca.apply(r, ee);
@@ -18490,7 +18490,7 @@ vo.exports;
18490
18490
  o = Tt(o, s + C);
18491
18491
  break;
18492
18492
  case "takeRight":
18493
- s = ht(s, o - C);
18493
+ s = ft(s, o - C);
18494
18494
  break;
18495
18495
  }
18496
18496
  }
@@ -18636,8 +18636,8 @@ vo.exports;
18636
18636
  return js.call(s);
18637
18637
  }
18638
18638
  function Jf(s, o, h) {
18639
- return o = ht(o === r ? s.length - 1 : o, 0), function() {
18640
- for (var g = arguments, y = -1, A = ht(g.length - o, 0), C = F(A); ++y < A; )
18639
+ return o = ft(o === r ? s.length - 1 : o, 0), function() {
18640
+ for (var g = arguments, y = -1, A = ft(g.length - o, 0), C = F(A); ++y < A; )
18641
18641
  C[y] = g[o + y];
18642
18642
  y = -1;
18643
18643
  for (var R = F(o + 1); ++y < o; )
@@ -18724,7 +18724,7 @@ vo.exports;
18724
18724
  return o.__actions__ = Lt(s.__actions__), o.__index__ = s.__index__, o.__values__ = s.__values__, o;
18725
18725
  }
18726
18726
  function Ax(s, o, h) {
18727
- (h ? Mt(s, o, h) : o === r) ? o = 1 : o = ht(de(o), 0);
18727
+ (h ? Mt(s, o, h) : o === r) ? o = 1 : o = ft(de(o), 0);
18728
18728
  var g = s == null ? 0 : s.length;
18729
18729
  if (!g || o < 1)
18730
18730
  return [];
@@ -18779,14 +18779,14 @@ vo.exports;
18779
18779
  if (!g)
18780
18780
  return -1;
18781
18781
  var y = h == null ? 0 : de(h);
18782
- return y < 0 && (y = ht(g + y, 0)), Gs(s, ae(o, 3), y);
18782
+ return y < 0 && (y = ft(g + y, 0)), Gs(s, ae(o, 3), y);
18783
18783
  }
18784
18784
  function od(s, o, h) {
18785
18785
  var g = s == null ? 0 : s.length;
18786
18786
  if (!g)
18787
18787
  return -1;
18788
18788
  var y = g - 1;
18789
- return h !== r && (y = de(h), y = h < 0 ? ht(g + y, 0) : Tt(y, g - 1)), Gs(s, ae(o, 3), y, !0);
18789
+ return h !== r && (y = de(h), y = h < 0 ? ft(g + y, 0) : Tt(y, g - 1)), Gs(s, ae(o, 3), y, !0);
18790
18790
  }
18791
18791
  function ud(s) {
18792
18792
  var o = s == null ? 0 : s.length;
@@ -18815,20 +18815,20 @@ vo.exports;
18815
18815
  if (!g)
18816
18816
  return -1;
18817
18817
  var y = h == null ? 0 : de(h);
18818
- return y < 0 && (y = ht(g + y, 0)), jn(s, o, y);
18818
+ return y < 0 && (y = ft(g + y, 0)), jn(s, o, y);
18819
18819
  }
18820
18820
  function Ux(s) {
18821
18821
  var o = s == null ? 0 : s.length;
18822
18822
  return o ? Jt(s, 0, -1) : [];
18823
18823
  }
18824
18824
  var $x = ve(function(s) {
18825
- var o = Qe(s, Lu);
18825
+ var o = Je(s, Lu);
18826
18826
  return o.length && o[0] === s[0] ? Su(o) : [];
18827
18827
  }), Gx = ve(function(s) {
18828
- var o = er(s), h = Qe(s, Lu);
18828
+ var o = er(s), h = Je(s, Lu);
18829
18829
  return o === er(h) ? o = r : h.pop(), h.length && h[0] === s[0] ? Su(h, ae(o, 2)) : [];
18830
18830
  }), zx = ve(function(s) {
18831
- var o = er(s), h = Qe(s, Lu);
18831
+ var o = er(s), h = Je(s, Lu);
18832
18832
  return o = typeof o == "function" ? o : r, o && h.pop(), h.length && h[0] === s[0] ? Su(h, r, o) : [];
18833
18833
  });
18834
18834
  function Hx(s, o) {
@@ -18843,7 +18843,7 @@ vo.exports;
18843
18843
  if (!g)
18844
18844
  return -1;
18845
18845
  var y = g;
18846
- return h !== r && (y = de(h), y = y < 0 ? ht(g + y, 0) : Tt(y, g - 1)), o === o ? T_(s, o, y) : Gs(s, zh, y, !0);
18846
+ return h !== r && (y = de(h), y = y < 0 ? ft(g + y, 0) : Tt(y, g - 1)), o === o ? T_(s, o, y) : Gs(s, zh, y, !0);
18847
18847
  }
18848
18848
  function Xx(s, o) {
18849
18849
  return s && s.length ? xf(s, de(o)) : r;
@@ -18860,7 +18860,7 @@ vo.exports;
18860
18860
  }
18861
18861
  var Yx = Dr(function(s, o) {
18862
18862
  var h = s == null ? 0 : s.length, g = bu(s, o);
18863
- return Tf(s, Qe(o, function(y) {
18863
+ return Tf(s, Je(o, function(y) {
18864
18864
  return Ur(y, h) ? +y : y;
18865
18865
  }).sort(Ff)), g;
18866
18866
  });
@@ -18959,16 +18959,16 @@ vo.exports;
18959
18959
  var o = 0;
18960
18960
  return s = Kr(s, function(h) {
18961
18961
  if (at(h))
18962
- return o = ht(h.length, o), !0;
18962
+ return o = ft(h.length, o), !0;
18963
18963
  }), du(o, function(h) {
18964
- return Qe(s, cu(h));
18964
+ return Je(s, cu(h));
18965
18965
  });
18966
18966
  }
18967
18967
  function hd(s, o) {
18968
18968
  if (!(s && s.length))
18969
18969
  return [];
18970
18970
  var h = Ku(s);
18971
- return o == null ? h : Qe(h, function(g) {
18971
+ return o == null ? h : Je(h, function(g) {
18972
18972
  return $t(o, r, g);
18973
18973
  });
18974
18974
  }
@@ -19088,7 +19088,7 @@ vo.exports;
19088
19088
  function H1(s, o, h, g) {
19089
19089
  s = kt(s) ? s : ii(s), h = h && !g ? de(h) : 0;
19090
19090
  var y = s.length;
19091
- return h < 0 && (h = ht(y + h, 0)), Ta(s) ? h <= y && s.indexOf(o, h) > -1 : !!y && jn(s, o, h) > -1;
19091
+ return h < 0 && (h = ft(y + h, 0)), Ta(s) ? h <= y && s.indexOf(o, h) > -1 : !!y && jn(s, o, h) > -1;
19092
19092
  }
19093
19093
  var V1 = ve(function(s, o, h) {
19094
19094
  var g = -1, y = typeof o == "function", A = kt(s) ? F(s.length) : [];
@@ -19099,7 +19099,7 @@ vo.exports;
19099
19099
  kr(s, h, o);
19100
19100
  });
19101
19101
  function _a(s, o) {
19102
- var h = fe(s) ? Qe : vf;
19102
+ var h = fe(s) ? Je : vf;
19103
19103
  return h(s, ae(o, 3));
19104
19104
  }
19105
19105
  function j1(s, o, h, g) {
@@ -19203,7 +19203,7 @@ vo.exports;
19203
19203
  var g, y, A, C, R, M, D = 0, U = !1, G = !1, q = !0;
19204
19204
  if (typeof s != "function")
19205
19205
  throw new Kt(u);
19206
- o = tr(o) || 0, tt(h) && (U = !!h.leading, G = "maxWait" in h, A = G ? ht(tr(h.maxWait) || 0, o) : A, q = "trailing" in h ? !!h.trailing : q);
19206
+ o = tr(o) || 0, tt(h) && (U = !!h.leading, G = "maxWait" in h, A = G ? ft(tr(h.maxWait) || 0, o) : A, q = "trailing" in h ? !!h.trailing : q);
19207
19207
  function ee(ot) {
19208
19208
  var cr = g, zr = y;
19209
19209
  return g = y = r, D = ot, C = s.apply(zr, cr), C;
@@ -19289,7 +19289,7 @@ vo.exports;
19289
19289
  return md(2, s);
19290
19290
  }
19291
19291
  var ub = qy(function(s, o) {
19292
- o = o.length == 1 && fe(o[0]) ? Qe(o[0], Gt(ae())) : Qe(xt(o, 1), Gt(ae()));
19292
+ o = o.length == 1 && fe(o[0]) ? Je(o[0], Gt(ae())) : Je(xt(o, 1), Gt(ae()));
19293
19293
  var h = o.length;
19294
19294
  return ve(function(g) {
19295
19295
  for (var y = -1, A = Tt(g.length, h); ++y < A; )
@@ -19313,7 +19313,7 @@ vo.exports;
19313
19313
  function hb(s, o) {
19314
19314
  if (typeof s != "function")
19315
19315
  throw new Kt(u);
19316
- return o = o == null ? 0 : ht(de(o), 0), ve(function(h) {
19316
+ return o = o == null ? 0 : ft(de(o), 0), ve(function(h) {
19317
19317
  var g = h[o], y = nn(h, 0, o);
19318
19318
  return g && Zr(y, g), $t(s, this, y);
19319
19319
  });
@@ -19632,7 +19632,7 @@ vo.exports;
19632
19632
  if (s == null)
19633
19633
  return h;
19634
19634
  var g = !1;
19635
- o = Qe(o, function(A) {
19635
+ o = Je(o, function(A) {
19636
19636
  return A = rn(A, s), g || (g = A.length > 1), A;
19637
19637
  }), Tr(s, Gu(s), h), g && (h = Qt(h, c | d | m, sx));
19638
19638
  for (var y = o.length; y--; )
@@ -19648,7 +19648,7 @@ vo.exports;
19648
19648
  function Md(s, o) {
19649
19649
  if (s == null)
19650
19650
  return {};
19651
- var h = Qe(Gu(s), function(g) {
19651
+ var h = Je(Gu(s), function(g) {
19652
19652
  return [g];
19653
19653
  });
19654
19654
  return o = ae(o), wf(s, h, function(g, y) {
@@ -19905,7 +19905,7 @@ function print() { __p += __j.call(arguments, '') }
19905
19905
  });
19906
19906
  function Qw(s) {
19907
19907
  var o = s == null ? 0 : s.length, h = ae();
19908
- return s = o ? Qe(s, function(g) {
19908
+ return s = o ? Je(s, function(g) {
19909
19909
  if (typeof g[1] != "function")
19910
19910
  throw new Kt(u);
19911
19911
  return [h(g[0]), g[1]];
@@ -19976,7 +19976,7 @@ function print() { __p += __j.call(arguments, '') }
19976
19976
  return xf(o, s);
19977
19977
  });
19978
19978
  }
19979
- var lT = Du(Qe), cT = Du($h), hT = Du(lu);
19979
+ var lT = Du(Je), cT = Du($h), hT = Du(lu);
19980
19980
  function Dd(s) {
19981
19981
  return Xu(s) ? cu(Ar(s)) : Gy(s);
19982
19982
  }
@@ -20011,7 +20011,7 @@ function print() { __p += __j.call(arguments, '') }
20011
20011
  return y;
20012
20012
  }
20013
20013
  function yT(s) {
20014
- return fe(s) ? Qe(s, Ar) : Ht(s) ? [s] : Lt(id(De(s)));
20014
+ return fe(s) ? Je(s, Ar) : Ht(s) ? [s] : Lt(id(De(s)));
20015
20015
  }
20016
20016
  function xT(s) {
20017
20017
  var o = ++M_;
@@ -20060,7 +20060,7 @@ function print() { __p += __j.call(arguments, '') }
20060
20060
  T[s].placeholder = T;
20061
20061
  }), Yt(["drop", "take"], function(s, o) {
20062
20062
  Te.prototype[s] = function(h) {
20063
- h = h === r ? 1 : ht(de(h), 0);
20063
+ h = h === r ? 1 : ft(de(h), 0);
20064
20064
  var g = this.__filtered__ && !o ? new Te(this) : this.clone();
20065
20065
  return g.__filtered__ ? g.__takeCount__ = Tt(h, g.__takeCount__) : g.__views__.push({
20066
20066
  size: Tt(h, Y),
@@ -20187,11 +20187,11 @@ const RD = {
20187
20187
  blurFilter: pe,
20188
20188
  adjustmentFilter: V
20189
20189
  } = Ls(H), { blurRadius: Y = 0 } = H, ce = 0.1;
20190
- ED(E, p), dt(Je.PAUSE, () => {
20190
+ ED(E, p), lt(Qe.PAUSE, () => {
20191
20191
  v.current && (v.current.stop(), d.current.isPlaying = !1);
20192
- }), dt(Je.SEEK_END, () => {
20192
+ }), lt(Qe.SEEK_END, () => {
20193
20193
  v.current && (v.current.stop(), d.current.isPlaying = !1);
20194
- }), dt(Je.SCRUBBER_CLICKED, () => {
20194
+ }), lt(Qe.SCRUBBER_CLICKED, () => {
20195
20195
  v.current && (v.current.stop(), d.current.isPlaying = !1);
20196
20196
  }), ne.useEffect(() => {
20197
20197
  d.current && v.current && (b.current ? (v.current.stop(), d.current.isPlaying = !1, d.current.isDragging = !0) : d.current.isDragging = !1);
@@ -20595,11 +20595,11 @@ const eo = /* @__PURE__ */ Ri(e5), t5 = (t, e, r, n) => {
20595
20595
  const Z = document.createElement("video");
20596
20596
  return Z.src = m, Z.crossOrigin = "Anonymus", Z.autoplay = !1, Z.currentTime = w === 0 ? 1e-3 : w, Z;
20597
20597
  }, [m, w]);
20598
- dt(Je.PAUSE, () => {
20598
+ lt(Qe.PAUSE, () => {
20599
20599
  f.current && (f.current.pause(), p.current.isPlaying = !1);
20600
- }), dt(Je.SCRUBBER_CLICKED, () => {
20600
+ }), lt(Qe.SCRUBBER_CLICKED, () => {
20601
20601
  f.current && (f.current.pause(), p.current.isPlaying = !1);
20602
- }), dt(Je.REVERSE_MODE_END, () => {
20602
+ }), lt(Qe.REVERSE_MODE_END, () => {
20603
20603
  f.current && (f.current.pause(), p.current.isPlaying = !1);
20604
20604
  });
20605
20605
  const Re = ne.useCallback(
@@ -20779,42 +20779,55 @@ const N5 = (t) => {
20779
20779
  tl: p,
20780
20780
  totalDuration: v = 0,
20781
20781
  reverseModeRef: c
20782
- } = Rs(Pi);
20783
- dt(Je.REVERSE_MODE_END, () => {
20782
+ } = Rs(Pi), d = e < 0.2 ? "static" : "none";
20783
+ lt(Qe.COMPLETE, () => {
20784
+ i.current && (i.current.eventMode = d);
20785
+ }), lt(Qe.REVERSE_MODE_END, () => {
20784
20786
  if (p.current) {
20785
- const m = p.current.time();
20786
- m > e && m < 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));
20787
+ const _ = p.current.time();
20788
+ _ > 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"));
20787
20789
  }
20788
20790
  });
20789
- const d = () => {
20791
+ const m = () => {
20790
20792
  if (c.current && l.current && p.current) {
20791
20793
  f.current = !0;
20792
- const m = p.current.time();
20793
- m > e && m < 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));
20794
+ const _ = p.current.time();
20795
+ _ > 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));
20794
20796
  }
20795
20797
  };
20796
- return dt(Je.COMPLETE, () => {
20798
+ return lt(Qe.COMPLETE, () => {
20797
20799
  }), ne.useEffect(() => {
20798
- const m = _t.context(() => {
20800
+ const _ = _t.context(() => {
20799
20801
  if (i.current && p.current) {
20800
- const _ = _t.to(i.current, {
20802
+ const b = _t.to(i.current, {
20801
20803
  alpha: 1,
20802
20804
  duration: 0.1
20803
20805
  });
20804
20806
  l.current = _t.to(a.current, {
20805
20807
  alpha: 1,
20806
20808
  duration: Number(r) - Number(e),
20807
- onUpdate: d,
20809
+ onStart: () => {
20810
+ i.current && (i.current.alpha = 1, i.current.eventMode = "static");
20811
+ },
20812
+ onUpdate: m,
20808
20813
  onComplete: () => {
20809
- i.current && (i.current.alpha = 0);
20814
+ i.current && (i.current.alpha = 0, i.current.eventMode = "none");
20810
20815
  }
20811
- }), p.current.add([_, l.current], e);
20816
+ }), p.current.add([b, l.current], e);
20812
20817
  }
20813
20818
  });
20814
20819
  return () => {
20815
- l.current && (p.current.remove(l.current), l.current.progress(0).kill()), m.revert();
20820
+ l.current && (p.current.remove(l.current), l.current.progress(0).kill()), _.revert();
20816
20821
  };
20817
- }, [e, r, v, n]), /* @__PURE__ */ ke.jsx(Et, { ref: i, alpha: e < 0.2 ? 1 : 0, children: /* @__PURE__ */ ke.jsx(Et, { ref: u, children: /* @__PURE__ */ ke.jsx(Et, { ref: a, alpha: 1, children: t.children }) }) });
20822
+ }, [e, r, v, n]), /* @__PURE__ */ ke.jsx(
20823
+ Et,
20824
+ {
20825
+ ref: i,
20826
+ alpha: e < 0.2 ? 1 : 0,
20827
+ eventMode: e < 0.2 ? "static" : "none",
20828
+ children: /* @__PURE__ */ ke.jsx(Et, { ref: u, children: /* @__PURE__ */ ke.jsx(Et, { ref: a, alpha: 1, children: t.children }) })
20829
+ }
20830
+ );
20818
20831
  }, L5 = (t) => {
20819
20832
  const { startAt: e, endAt: r } = t, { setTotalDuration: n } = Rs(Pi);
20820
20833
  return ne.useEffect(() => {
@@ -20825,7 +20838,7 @@ var i5 = /* @__PURE__ */ ((t) => (t.FADE_IN = "FADE_IN", t.FADE_OUT = "FADE_OUT"
20825
20838
  export {
20826
20839
  i5 as Animations,
20827
20840
  s5 as BlendModes,
20828
- Je as Events,
20841
+ Qe as Events,
20829
20842
  Pi as GsapPixieContext,
20830
20843
  h5 as GsapPixieContextProvider,
20831
20844
  ID as PixiAnimatedSprite,
@@ -20839,5 +20852,5 @@ export {
20839
20852
  n5 as PixiVideoSprite,
20840
20853
  hs as emitCustomEvent,
20841
20854
  c5 as newCustomEventEmitter,
20842
- dt as useCustomEventListener
20855
+ lt as useCustomEventListener
20843
20856
  };