reacthub-pixitweenjs 0.2.107-alpha.103 → 0.2.107-alpha.105

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
@@ -237,22 +237,22 @@ const GsapPixieContext = React.createContext({}), Events = {
237
237
  Z.current.isDragging = !0, U && U($e), emitCustomEvent(Events.TRANSFORMER_DRAG_START, { uniqueId: "timeline" });
238
238
  },
239
239
  [U]
240
- ), ke = React.useCallback(() => {
240
+ ), Oe = React.useCallback(() => {
241
241
  if (E.current === null)
242
242
  return;
243
- const $e = E.current.x, Le = E.current.y, Ge = E.current.width, He = E.current.height, We = E.current.rotation, Xe = [
243
+ const $e = E.current.x, Le = E.current.y, Ue = E.current.width, He = E.current.height, We = E.current.rotation, je = [
244
244
  E.current.scale.x,
245
245
  E.current.scale.y
246
- ], Ve = Xe[0] < 0 ? -1 : 1, ze = Xe[1] < 0 ? -1 : 1;
246
+ ], Ve = je[0] < 0 ? -1 : 1, ze = je[1] < 0 ? -1 : 1;
247
247
  B && (B({
248
248
  uniqueId: Y,
249
249
  transformation: {
250
250
  x: Math.round($e),
251
251
  y: Math.round(Le),
252
- width: Math.round(Math.max(5, Ge)),
252
+ width: Math.round(Math.max(5, Ue)),
253
253
  height: Math.round(Math.max(5, He)),
254
254
  rotation: We,
255
- scale: K ? Xe : [Ve, ze]
255
+ scale: K ? je : [Ve, ze]
256
256
  // @todo: fix this for text
257
257
  }
258
258
  }), emitCustomEvent(Events.TRANSFORMER_DRAG_END, { uniqueId: "timeline" })), Z.current.isDragging = !1;
@@ -278,7 +278,7 @@ const GsapPixieContext = React.createContext({}), Events = {
278
278
  radius: 10
279
279
  },
280
280
  transformchange: Fe,
281
- transformcommit: ke
281
+ transformcommit: Oe
282
282
  }
283
283
  );
284
284
  };
@@ -893,7 +893,7 @@ function isEmpty(C) {
893
893
  }
894
894
  var isEmpty_1 = isEmpty;
895
895
  const isEmpty$1 = /* @__PURE__ */ getDefaultExportFromCjs(isEmpty_1);
896
- var OverlayTypes = /* @__PURE__ */ ((C) => (C.NONE = "none", C.NORMAL = "normal", C.LENSFLARE = "lensflare", C.FILMSTRIP = "filmstrip", C.GRUNGE = "grunge", C.BRICKS = "bricks", C))(OverlayTypes || {});
896
+ var OverlayTypes = /* @__PURE__ */ ((C) => (C.NONE = "none", C.NORMAL = "normal", C.LENSFLARE = "lensflare", C.FILMSTRIP = "filmstrip", C.GRUNGE = "grunge", C.BRICKS = "bricks", C))(OverlayTypes || {}), Waveforms = /* @__PURE__ */ ((C) => (C.NONE = "none", C.EQUALIZER = "equalizer", C.SIRIWAVE = "siriwave", C))(Waveforms || {});
897
897
  const overlays = {
898
898
  normal: {
899
899
  src: "https://eyecastvideoeditorfiles.s3.ap-southeast-2.amazonaws.com/assets/overlays/eyecast_lensflare_overlay_50.jpg",
@@ -967,24 +967,24 @@ function arcToSegment(C, E, I, B, U, V, X, Y, K) {
967
967
  I = _abs(I), B = _abs(B);
968
968
  var _e = U % 360 * _DEG2RAD$1, xe = _cos(_e), Z = _sin(_e), J = Math.PI, Se = J * 2, Te = (C - Y) / 2, Ae = (E - K) / 2, Me = xe * Te + Z * Ae, Ee = -Z * Te + xe * Ae, we = Me * Me, Pe = Ee * Ee, Ie = we / (I * I) + Pe / (B * B);
969
969
  Ie > 1 && (I = _sqrt(Ie) * I, B = _sqrt(Ie) * B);
970
- var Fe = I * I, ke = B * B, $e = (Fe * ke - Fe * Pe - ke * we) / (Fe * Pe + ke * we);
970
+ var Fe = I * I, Oe = B * B, $e = (Fe * Oe - Fe * Pe - Oe * we) / (Fe * Pe + Oe * we);
971
971
  $e < 0 && ($e = 0);
972
- var Le = (V === X ? -1 : 1) * _sqrt($e), Ge = Le * (I * Ee / B), He = Le * -(B * Me / I), We = (C + Y) / 2, Xe = (E + K) / 2, Ve = We + (xe * Ge - Z * He), ze = Xe + (Z * Ge + xe * He), je = (Me - Ge) / I, De = (Ee - He) / B, Be = (-Me - Ge) / I, Re = (-Ee - He) / B, Oe = je * je + De * De, Ue = (De < 0 ? -1 : 1) * Math.acos(je / _sqrt(Oe)), Ne = (je * Re - De * Be < 0 ? -1 : 1) * Math.acos((je * Be + De * Re) / _sqrt(Oe * (Be * Be + Re * Re)));
973
- isNaN(Ne) && (Ne = J), !X && Ne > 0 ? Ne -= Se : X && Ne < 0 && (Ne += Se), Ue %= Se, Ne %= Se;
974
- var qe = Math.ceil(_abs(Ne) / (Se / 4)), Ye = [], Ke = Ne / qe, Qe = 4 / 3 * _sin(Ke / 2) / (1 + _cos(Ke / 2)), et = xe * I, nt = Z * I, at = Z * -B, ot = xe * B, Je;
975
- for (Je = 0; Je < qe; Je++)
976
- U = Ue + Je * Ke, Me = _cos(U), Ee = _sin(U), je = _cos(U += Ke), De = _sin(U), Ye.push(Me - Qe * Ee, Ee + Qe * Me, je + Qe * De, De - Qe * je, je, De);
977
- for (Je = 0; Je < Ye.length; Je += 2)
978
- Me = Ye[Je], Ee = Ye[Je + 1], Ye[Je] = Me * et + Ee * at + Ve, Ye[Je + 1] = Me * nt + Ee * ot + ze;
979
- return Ye[Je - 2] = Y, Ye[Je - 1] = K, Ye;
972
+ var Le = (V === X ? -1 : 1) * _sqrt($e), Ue = Le * (I * Ee / B), He = Le * -(B * Me / I), We = (C + Y) / 2, je = (E + K) / 2, Ve = We + (xe * Ue - Z * He), ze = je + (Z * Ue + xe * He), Xe = (Me - Ue) / I, De = (Ee - He) / B, Be = (-Me - Ue) / I, Re = (-Ee - He) / B, ke = Xe * Xe + De * De, Ge = (De < 0 ? -1 : 1) * Math.acos(Xe / _sqrt(ke)), Ne = (Xe * Re - De * Be < 0 ? -1 : 1) * Math.acos((Xe * Be + De * Re) / _sqrt(ke * (Be * Be + Re * Re)));
973
+ isNaN(Ne) && (Ne = J), !X && Ne > 0 ? Ne -= Se : X && Ne < 0 && (Ne += Se), Ge %= Se, Ne %= Se;
974
+ var qe = Math.ceil(_abs(Ne) / (Se / 4)), Ye = [], Ke = Ne / qe, rt = 4 / 3 * _sin(Ke / 2) / (1 + _cos(Ke / 2)), it = xe * I, Qe = Z * I, st = Z * -B, at = xe * B, Ze;
975
+ for (Ze = 0; Ze < qe; Ze++)
976
+ U = Ge + Ze * Ke, Me = _cos(U), Ee = _sin(U), Xe = _cos(U += Ke), De = _sin(U), Ye.push(Me - rt * Ee, Ee + rt * Me, Xe + rt * De, De - rt * Xe, Xe, De);
977
+ for (Ze = 0; Ze < Ye.length; Ze += 2)
978
+ Me = Ye[Ze], Ee = Ye[Ze + 1], Ye[Ze] = Me * it + Ee * st + Ve, Ye[Ze + 1] = Me * Qe + Ee * at + ze;
979
+ return Ye[Ze - 2] = Y, Ye[Ze - 1] = K, Ye;
980
980
  }
981
981
  }
982
982
  function stringToRawPath(C) {
983
- var E = (C + "").replace(_scientific, function(Ge) {
984
- var He = +Ge;
983
+ var E = (C + "").replace(_scientific, function(Ue) {
984
+ var He = +Ue;
985
985
  return He < 1e-4 && He > -1e-4 ? 0 : He;
986
- }).match(_svgPathExp) || [], I = [], B = 0, U = 0, V = 2 / 3, X = E.length, Y = 0, K = "ERROR: malformed path: " + C, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, ke, $e, Le = function(He, We, Xe, Ve) {
987
- we = (Xe - He) / 3, Pe = (Ve - We) / 3, Ae.push(He + we, We + Pe, Xe - we, Ve - Pe, Xe, Ve);
986
+ }).match(_svgPathExp) || [], I = [], B = 0, U = 0, V = 2 / 3, X = E.length, Y = 0, K = "ERROR: malformed path: " + C, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, Oe, $e, Le = function(He, We, je, Ve) {
987
+ we = (je - He) / 3, Pe = (Ve - We) / 3, Ae.push(He + we, We + Pe, je - we, Ve - Pe, je, Ve);
988
988
  };
989
989
  if (!C || !isNaN(E[0]) || isNaN(E[1]))
990
990
  return console.log(K), I;
@@ -1006,7 +1006,7 @@ function stringToRawPath(C) {
1006
1006
  else if (Se === "L" || Se === "Z")
1007
1007
  Se === "Z" && (Z = Me, J = Ee, Ae.closed = !0), (Se === "L" || _abs(B - Z) > 0.5 || _abs(U - J) > 0.5) && (Le(B, U, Z, J), Se === "L" && (_e += 2)), B = Z, U = J;
1008
1008
  else if (Se === "A") {
1009
- if (ke = E[_e + 4], $e = E[_e + 5], we = E[_e + 6], Pe = E[_e + 7], xe = 7, ke.length > 1 && (ke.length < 3 ? (Pe = we, we = $e, xe--) : (Pe = $e, we = ke.substr(2), xe -= 2), $e = ke.charAt(1), ke = ke.charAt(0)), Ie = arcToSegment(B, U, +E[_e + 1], +E[_e + 2], +E[_e + 3], +ke, +$e, (Te ? B : 0) + we * 1, (Te ? U : 0) + Pe * 1), _e += xe, Ie)
1009
+ if (Oe = E[_e + 4], $e = E[_e + 5], we = E[_e + 6], Pe = E[_e + 7], xe = 7, Oe.length > 1 && (Oe.length < 3 ? (Pe = we, we = $e, xe--) : (Pe = $e, we = Oe.substr(2), xe -= 2), $e = Oe.charAt(1), Oe = Oe.charAt(0)), Ie = arcToSegment(B, U, +E[_e + 1], +E[_e + 2], +E[_e + 3], +Oe, +$e, (Te ? B : 0) + we * 1, (Te ? U : 0) + Pe * 1), _e += xe, Ie)
1010
1010
  for (xe = 0; xe < Ie.length; xe++)
1011
1011
  Ae.push(Ie[xe]);
1012
1012
  B = Ae[Ae.length - 2], U = Ae[Ae.length - 1];
@@ -1050,7 +1050,7 @@ var gsap$1, _coreInitted, _getGSAP$1 = function() {
1050
1050
  for (K ? K = 1 / K : K = -Y, _e = 0; _e < X; _e += 2)
1051
1051
  E[_e] = (+E[_e] + U) * Y, E[_e + 1] = (+E[_e + 1] + V) * K;
1052
1052
  }, _bezierToPoints = function C(E, I, B, U, V, X, Y, K, _e, xe, Z) {
1053
- var J = (E + B) / 2, Se = (I + U) / 2, Te = (B + V) / 2, Ae = (U + X) / 2, Me = (V + Y) / 2, Ee = (X + K) / 2, we = (J + Te) / 2, Pe = (Se + Ae) / 2, Ie = (Te + Me) / 2, Fe = (Ae + Ee) / 2, ke = (we + Ie) / 2, $e = (Pe + Fe) / 2, Le = Y - E, Ge = K - I, He = Math.abs((B - Y) * Ge - (U - K) * Le), We = Math.abs((V - Y) * Ge - (X - K) * Le), Xe;
1053
+ var J = (E + B) / 2, Se = (I + U) / 2, Te = (B + V) / 2, Ae = (U + X) / 2, Me = (V + Y) / 2, Ee = (X + K) / 2, we = (J + Te) / 2, Pe = (Se + Ae) / 2, Ie = (Te + Me) / 2, Fe = (Ae + Ee) / 2, Oe = (we + Ie) / 2, $e = (Pe + Fe) / 2, Le = Y - E, Ue = K - I, He = Math.abs((B - Y) * Ue - (U - K) * Le), We = Math.abs((V - Y) * Ue - (X - K) * Le), je;
1054
1054
  return xe || (xe = [{
1055
1055
  x: E,
1056
1056
  y: I
@@ -1058,9 +1058,9 @@ var gsap$1, _coreInitted, _getGSAP$1 = function() {
1058
1058
  x: Y,
1059
1059
  y: K
1060
1060
  }], Z = 1), xe.splice(Z || xe.length - 1, 0, {
1061
- x: ke,
1061
+ x: Oe,
1062
1062
  y: $e
1063
- }), (He + We) * (He + We) > _e * (Le * Le + Ge * Ge) && (Xe = xe.length, C(E, I, J, Se, we, Pe, ke, $e, _e, xe, Z), C(ke, $e, Ie, Fe, Me, Ee, Y, K, _e, xe, Z + 1 + (xe.length - Xe))), xe;
1063
+ }), (He + We) * (He + We) > _e * (Le * Le + Ue * Ue) && (je = xe.length, C(E, I, J, Se, we, Pe, Oe, $e, _e, xe, Z), C(Oe, $e, Ie, Fe, Me, Ee, Y, K, _e, xe, Z + 1 + (xe.length - je))), xe;
1064
1064
  }, CustomEase = /* @__PURE__ */ function() {
1065
1065
  function C(I, B, U) {
1066
1066
  _coreInitted || _initCore$1(), this.id = I, this.setData(B, U);
@@ -1590,33 +1590,46 @@ function useGsapEffect() {
1590
1590
  ) };
1591
1591
  }
1592
1592
  var Animations = /* @__PURE__ */ ((C) => (C.NONE = "NONE", C.FLASH = "FLASH", C.PULSE = "PULSE", C.SHAKE = "SHAKE", C.SWING = "SWING", C.JELLO = "JELLO", C.WOOBLE = "WOOBLE", C.FADE_IN = "FADE_IN", C.FADE_OUT = "FADE_OUT", C.FADE_IN_OUT = "FADE_IN_OUT", C.SLIDE_IN_LEFT = "SLIDE_IN_LEFT", C.SLIDE_IN_RIGHT = "SLIDE_IN_RIGHT", C.SLIDE_IN_TOP = "SLIDE_IN_TOP", C.SLIDE_IN_BOTTOM = "SLIDE_IN_BOTTOM", C.SLIDE_OUT_LEFT = "SLIDE_OUT_LEFT", C.SLIDE_OUT_RIGHT = "SLIDE_OUT_RIGHT", C.SLIDE_OUT_TOP = "SLIDE_OUT_TOP", C.SLIDE_OUT_BOTTOM = "SLIDE_OUT_BOTTOM", C.ZOOM_IN = "ZOOM_IN", C.ZOOM_OUT = "ZOOM_OUT", C.ZOOM_IN_OUT = "ZOOM_IN_OUT", C.BOUNCE_IN = "BOUNCE_IN", C.BOUNCE_OUT = "BOUNCE_OUT", C.BOUNCE_IN_OUT = "BOUNCE_IN_OUT", C.BOUNCE_IN_DOWN = "BOUNCE_IN_DOWN", C.BOUNCE_IN_LEFT = "BOUNCE_IN_LEFT", C.BOUNCE_IN_RIGHT = "BOUNCE_IN_RIGHT", C.BOUNCE_IN_UP = "BOUNCE_IN_UP", C.BOUNCE_OUT_DOWN = "BOUNCE_OUT_DOWN", C.BOUNCE_OUT_LEFT = "BOUNCE_OUT_LEFT", C.BOUNCE_OUT_RIGHT = "BOUNCE_OUT_RIGHT", C.BOUNCE_OUT_UP = "BOUNCE_OUT_UP", C.FADE_IN_DOWN = "FADE_IN_DOWN", C.FADE_IN_LEFT = "FADE_IN_LEFT", C.FADE_IN_RIGHT = "FADE_IN_RIGHT", C.FADE_IN_UP = "FADE_IN_UP", C.FADE_OUT_DOWN = "FADE_OUT_DOWN", C.FADE_OUT_LEFT = "FADE_OUT_LEFT", C.FADE_OUT_RIGHT = "FADE_OUT_RIGHT", C.FADE_OUT_UP = "FADE_OUT_UP", C.ELASTIC_IN = "ELASTIC_IN", C.ELASTIC_OUT = "ELASTIC_OUT", C.ELASTIC_IN_OUT = "ELASTIC_IN_OUT", C.BACK_IN = "BACK_IN", C.BACK_OUT = "BACK_OUT", C.BACK_IN_OUT = "BACK_IN_OUT", C.CIRCULAR_IN = "CIRCULAR_IN", C.CIRCULAR_OUT = "CIRCULAR_OUT", C.CIRCULAR_IN_OUT = "CIRCULAR_IN_OUT", C.EXPO_IN = "EXPO_IN", C.EXPO_OUT = "EXPO_OUT", C.EXPO_IN_OUT = "EXPO_IN_OUT", C.SINE_IN = "SINE_IN", C.SINE_OUT = "SINE_OUT", C.SINE_IN_OUT = "SINE_IN_OUT", C.BOUNCE = "BOUNCE", C.ELASTIC = "ELASTIC", C.BACK = "BACK", C.CIRCULAR = "CIRCULAR", C.EXPO = "EXPO", C.SINE = "SINE", C))(Animations || {});
1593
- const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], AbstractContainer = React.forwardRef((C, E) => {
1593
+ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], initalTransforms = {
1594
+ x: 0,
1595
+ y: 0,
1596
+ width: 0,
1597
+ height: 0,
1598
+ anchor: 0.5,
1599
+ animation: Animations.NONE,
1600
+ maxX: 0,
1601
+ maxY: 0,
1602
+ scale: 1,
1603
+ rotation: 0,
1604
+ effect: Effects.Normal,
1605
+ overlay: OverlayTypes.NONE
1606
+ }, AbstractContainer = React.forwardRef((C, E) => {
1594
1607
  const [I, B] = React.useState(!1), [U, V] = useState(!1), [X, Y] = useState(!1), [K, _e] = useState(), xe = useDebounce(K, 300), Z = useRef(null), J = useRef(null), Se = useRef(null), Te = useRef(null), Ae = useRef(null), Me = useRef(null), { tl: Ee } = useContext(GsapPixieContext), we = useApp(), Pe = we.screen.width, Ie = we.screen.height, {
1595
1608
  uniqueId: Fe,
1596
- visible: ke,
1609
+ visible: Oe,
1597
1610
  startAt: $e,
1598
- transformation: {
1599
- x: Le,
1600
- y: Ge,
1601
- width: He,
1602
- height: We,
1603
- scale: Xe = [1, 1],
1604
- rotation: Ve = 0,
1605
- effect: ze,
1606
- overlay: je,
1607
- animation: De = Animations.NONE
1608
- },
1609
- applyTransformer: Be,
1610
- disabled: Re,
1611
- pointerdown: Oe,
1612
- pointerout: Ue,
1613
- pointerover: Ne,
1614
- isText: qe,
1615
- isDragging: Ye,
1616
- isGif: Ke,
1617
- onDoubleClick: Qe,
1618
- isTextEditMode: et
1619
- } = C, nt = useGsapEffect();
1611
+ transformation: Le = initalTransforms,
1612
+ applyTransformer: Ue,
1613
+ disabled: He,
1614
+ pointerdown: We,
1615
+ pointerout: je,
1616
+ pointerover: Ve,
1617
+ isText: ze,
1618
+ isDragging: Xe,
1619
+ isGif: De,
1620
+ onDoubleClick: Be,
1621
+ isTextEditMode: Re
1622
+ } = C, {
1623
+ x: ke = 0,
1624
+ y: Ge = 0,
1625
+ width: Ne,
1626
+ height: qe,
1627
+ scale: Ye = [1, 1],
1628
+ rotation: Ke = 0,
1629
+ effect: rt,
1630
+ overlay: it,
1631
+ animation: Qe = Animations.NONE
1632
+ } = Le, st = useGsapEffect();
1620
1633
  useCustomEventListener(Events.COMPLETE, () => {
1621
1634
  Z.current;
1622
1635
  }), React.useImperativeHandle(
@@ -1630,51 +1643,51 @@ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Abstr
1630
1643
  Z.current && B(!0);
1631
1644
  }, []), React.useEffect(() => {
1632
1645
  _e({
1633
- x: Le,
1646
+ x: ke,
1634
1647
  y: Ge,
1635
- width: He,
1636
- height: We,
1637
- animation: De,
1648
+ width: Ne,
1649
+ height: qe,
1650
+ animation: Qe,
1638
1651
  maxX: Pe,
1639
1652
  maxY: Ie
1640
1653
  });
1641
- }, [De, Le, Ge, He, We, Pe, Ie]), React.useEffect(() => {
1654
+ }, [Qe, ke, Ge, Ne, qe, Pe, Ie]), React.useEffect(() => {
1642
1655
  if (!J.current)
1643
1656
  return;
1644
- const rt = gsap$2.context(() => {
1657
+ const tt = gsap$2.context(() => {
1645
1658
  if (Ee.current && xe) {
1646
- const { x: it, y: Ze, animation: st, maxX: lt, maxY: ut } = xe || {}, ct = Ee.current.progress(), ht = nt.updateEffect(
1659
+ const { x: Je, y: ot, animation: lt, maxX: ht, maxY: ct } = xe || {}, ft = Ee.current.progress(), ut = st.updateEffect(
1647
1660
  Z.current,
1648
- st,
1661
+ lt,
1649
1662
  {
1650
1663
  immediateRender: !1,
1651
- x: it,
1652
- y: Ze,
1664
+ x: Je,
1665
+ y: ot,
1653
1666
  overwrite: !0,
1654
- maxX: lt,
1655
- maxY: ut
1667
+ maxX: ht,
1668
+ maxY: ct
1656
1669
  }
1657
1670
  );
1658
- Ae.current && (Ee.current.remove(Ae.current), Ae.current.progress(0).kill()), ct > 0.1 ? (ht.eventCallback("onComplete", () => {
1659
- ht.remove("onComplete"), Ee.current.add(ht, $e), Ae.current = ht;
1660
- }), ht.play()) : (ht.progress(1), Ee.current.add(ht, $e), Ae.current = ht);
1671
+ Ae.current && (Ee.current.remove(Ae.current), Ae.current.progress(0).kill()), ft > 0.1 ? (ut.eventCallback("onComplete", () => {
1672
+ ut.remove("onComplete"), Ee.current.add(ut, $e), Ae.current = ut;
1673
+ }), ut.play()) : (ut.progress(1), Ee.current.add(ut, $e), Ae.current = ut);
1661
1674
  } else
1662
1675
  Ae.current && Ae.current.progress(0).kill();
1663
1676
  }, J.current);
1664
1677
  return () => {
1665
- rt.revert();
1678
+ tt.revert();
1666
1679
  };
1667
1680
  }, [$e, xe]);
1668
1681
  const at = React.useCallback(() => {
1669
- Y(!0), Ne && Ne();
1670
- }, []), ot = React.useCallback(() => {
1682
+ Y(!0), Ve && Ve();
1683
+ }, []), Ze = React.useCallback(() => {
1671
1684
  V(!0);
1672
- }, []), Je = React.useCallback(
1673
- (rt) => {
1674
- C.onAnchorTransformationEnd && C.onAnchorTransformationEnd(rt), V(!1);
1685
+ }, []), et = React.useCallback(
1686
+ (tt) => {
1687
+ C.onAnchorTransformationEnd && C.onAnchorTransformationEnd(tt), V(!1);
1675
1688
  },
1676
1689
  []
1677
- ), tt = withFilters(Container$1, {
1690
+ ), nt = withFilters(Container$1, {
1678
1691
  matrix: PIXI.filters.ColorMatrixFilter
1679
1692
  });
1680
1693
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$1, { ref: J, children: [
@@ -1682,26 +1695,26 @@ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Abstr
1682
1695
  Container$1,
1683
1696
  {
1684
1697
  ref: Z,
1685
- position: [Le, Ge],
1686
- pivot: [Le, Ge],
1687
- width: He,
1688
- height: We,
1689
- scale: Xe,
1690
- rotation: Ve,
1691
- ...!Re && ke && !U && !Ye && {
1698
+ position: [ke, Ge],
1699
+ pivot: [ke, Ge],
1700
+ width: Ne,
1701
+ height: qe,
1702
+ scale: Ye,
1703
+ rotation: Ke,
1704
+ ...!He && Oe && !U && !Xe && {
1692
1705
  interactive: !0,
1693
1706
  buttonMode: !0,
1694
- pointerdown: Oe,
1695
- pointerover: Ne,
1696
- pointerout: Ue
1707
+ pointerdown: We,
1708
+ pointerover: Ve,
1709
+ pointerout: je
1697
1710
  },
1698
1711
  children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Container$1, { ref: Me, children: [
1699
- !Ke && /* @__PURE__ */ jsxRuntimeExports.jsx(
1700
- tt,
1712
+ !De && /* @__PURE__ */ jsxRuntimeExports.jsx(
1713
+ nt,
1701
1714
  {
1702
1715
  scale: 1,
1703
- apply: ({ matrix: rt }) => {
1704
- ze === Effects.BlackAndWhite ? rt.desaturate() : ze === Effects.Sepia ? rt.sepia() : ze === Effects.RetroVintage || ze === Effects.NightVision ? rt.negative() : ze === Effects.Normal && rt.reset();
1716
+ apply: ({ matrix: tt }) => {
1717
+ rt === Effects.BlackAndWhite ? tt.desaturate() : rt === Effects.Sepia ? tt.sepia() : rt === Effects.RetroVintage || rt === Effects.NightVision ? tt.negative() : rt === Effects.Normal && tt.reset();
1705
1718
  },
1706
1719
  matrix: {
1707
1720
  enabled: !0,
@@ -1711,32 +1724,32 @@ const CYAN = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Abstr
1711
1724
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: Se, children: C.children })
1712
1725
  }
1713
1726
  ),
1714
- Ke && /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: Se, children: C.children }),
1715
- !isEmpty$1(je) && je !== OverlayTypes.NONE && je !== OverlayTypes.NORMAL && /* @__PURE__ */ jsxRuntimeExports.jsx(
1727
+ De && /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: Se, children: C.children }),
1728
+ !isEmpty$1(it) && it !== OverlayTypes.NONE && it !== OverlayTypes.NORMAL && /* @__PURE__ */ jsxRuntimeExports.jsx(
1716
1729
  PixiOverlayTilingSprite,
1717
1730
  {
1718
- overlay: je,
1719
- width: He,
1720
- height: We,
1721
- x: Le,
1731
+ overlay: it,
1732
+ width: Ne,
1733
+ height: qe,
1734
+ x: ke,
1722
1735
  y: Ge
1723
1736
  }
1724
1737
  )
1725
1738
  ] })
1726
1739
  }
1727
1740
  ),
1728
- Be && ke && !et && /* @__PURE__ */ jsxRuntimeExports.jsx(
1741
+ Ue && Oe && !Re && /* @__PURE__ */ jsxRuntimeExports.jsx(
1729
1742
  PixiTransformer,
1730
1743
  {
1731
1744
  pixiTransformerRef: Te,
1732
1745
  imageRef: Z,
1733
1746
  isMounted: I,
1734
- transformCommit: Je,
1735
- transformChange: ot,
1747
+ transformCommit: et,
1748
+ transformChange: Ze,
1736
1749
  mouseoverEvent: at,
1737
1750
  uniqueId: Fe,
1738
- isText: qe,
1739
- onDoubleClick: Qe
1751
+ isText: ze,
1752
+ onDoubleClick: Be
1740
1753
  }
1741
1754
  )
1742
1755
  ] });
@@ -2221,81 +2234,81 @@ punycode$1.exports;
2221
2234
  overflow: "Overflow: input needs wider integers to process",
2222
2235
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
2223
2236
  "invalid-input": "Invalid input"
2224
- }, Ie = K - _e, Fe = Math.floor, ke = String.fromCharCode, $e;
2225
- function Le(Ue) {
2226
- throw new RangeError(Pe[Ue]);
2237
+ }, Ie = K - _e, Fe = Math.floor, Oe = String.fromCharCode, $e;
2238
+ function Le(Ge) {
2239
+ throw new RangeError(Pe[Ge]);
2227
2240
  }
2228
- function Ge(Ue, Ne) {
2229
- for (var qe = Ue.length, Ye = []; qe--; )
2230
- Ye[qe] = Ne(Ue[qe]);
2241
+ function Ue(Ge, Ne) {
2242
+ for (var qe = Ge.length, Ye = []; qe--; )
2243
+ Ye[qe] = Ne(Ge[qe]);
2231
2244
  return Ye;
2232
2245
  }
2233
- function He(Ue, Ne) {
2234
- var qe = Ue.split("@"), Ye = "";
2235
- qe.length > 1 && (Ye = qe[0] + "@", Ue = qe[1]), Ue = Ue.replace(we, ".");
2236
- var Ke = Ue.split("."), Qe = Ge(Ke, Ne).join(".");
2237
- return Ye + Qe;
2246
+ function He(Ge, Ne) {
2247
+ var qe = Ge.split("@"), Ye = "";
2248
+ qe.length > 1 && (Ye = qe[0] + "@", Ge = qe[1]), Ge = Ge.replace(we, ".");
2249
+ var Ke = Ge.split("."), rt = Ue(Ke, Ne).join(".");
2250
+ return Ye + rt;
2238
2251
  }
2239
- function We(Ue) {
2240
- for (var Ne = [], qe = 0, Ye = Ue.length, Ke, Qe; qe < Ye; )
2241
- Ke = Ue.charCodeAt(qe++), Ke >= 55296 && Ke <= 56319 && qe < Ye ? (Qe = Ue.charCodeAt(qe++), (Qe & 64512) == 56320 ? Ne.push(((Ke & 1023) << 10) + (Qe & 1023) + 65536) : (Ne.push(Ke), qe--)) : Ne.push(Ke);
2252
+ function We(Ge) {
2253
+ for (var Ne = [], qe = 0, Ye = Ge.length, Ke, rt; qe < Ye; )
2254
+ Ke = Ge.charCodeAt(qe++), Ke >= 55296 && Ke <= 56319 && qe < Ye ? (rt = Ge.charCodeAt(qe++), (rt & 64512) == 56320 ? Ne.push(((Ke & 1023) << 10) + (rt & 1023) + 65536) : (Ne.push(Ke), qe--)) : Ne.push(Ke);
2242
2255
  return Ne;
2243
2256
  }
2244
- function Xe(Ue) {
2245
- return Ge(Ue, function(Ne) {
2257
+ function je(Ge) {
2258
+ return Ue(Ge, function(Ne) {
2246
2259
  var qe = "";
2247
- return Ne > 65535 && (Ne -= 65536, qe += ke(Ne >>> 10 & 1023 | 55296), Ne = 56320 | Ne & 1023), qe += ke(Ne), qe;
2260
+ return Ne > 65535 && (Ne -= 65536, qe += Oe(Ne >>> 10 & 1023 | 55296), Ne = 56320 | Ne & 1023), qe += Oe(Ne), qe;
2248
2261
  }).join("");
2249
2262
  }
2250
- function Ve(Ue) {
2251
- return Ue - 48 < 10 ? Ue - 22 : Ue - 65 < 26 ? Ue - 65 : Ue - 97 < 26 ? Ue - 97 : K;
2263
+ function Ve(Ge) {
2264
+ return Ge - 48 < 10 ? Ge - 22 : Ge - 65 < 26 ? Ge - 65 : Ge - 97 < 26 ? Ge - 97 : K;
2252
2265
  }
2253
- function ze(Ue, Ne) {
2254
- return Ue + 22 + 75 * (Ue < 26) - ((Ne != 0) << 5);
2266
+ function ze(Ge, Ne) {
2267
+ return Ge + 22 + 75 * (Ge < 26) - ((Ne != 0) << 5);
2255
2268
  }
2256
- function je(Ue, Ne, qe) {
2269
+ function Xe(Ge, Ne, qe) {
2257
2270
  var Ye = 0;
2258
- for (Ue = qe ? Fe(Ue / J) : Ue >> 1, Ue += Fe(Ue / Ne); Ue > Ie * xe >> 1; Ye += K)
2259
- Ue = Fe(Ue / Ie);
2260
- return Fe(Ye + (Ie + 1) * Ue / (Ue + Z));
2261
- }
2262
- function De(Ue) {
2263
- var Ne = [], qe = Ue.length, Ye, Ke = 0, Qe = Te, et = Se, nt, at, ot, Je, tt, rt, it, Ze, st;
2264
- for (nt = Ue.lastIndexOf(Ae), nt < 0 && (nt = 0), at = 0; at < nt; ++at)
2265
- Ue.charCodeAt(at) >= 128 && Le("not-basic"), Ne.push(Ue.charCodeAt(at));
2266
- for (ot = nt > 0 ? nt + 1 : 0; ot < qe; ) {
2267
- for (Je = Ke, tt = 1, rt = K; ot >= qe && Le("invalid-input"), it = Ve(Ue.charCodeAt(ot++)), (it >= K || it > Fe((Y - Ke) / tt)) && Le("overflow"), Ke += it * tt, Ze = rt <= et ? _e : rt >= et + xe ? xe : rt - et, !(it < Ze); rt += K)
2268
- st = K - Ze, tt > Fe(Y / st) && Le("overflow"), tt *= st;
2269
- Ye = Ne.length + 1, et = je(Ke - Je, Ye, Je == 0), Fe(Ke / Ye) > Y - Qe && Le("overflow"), Qe += Fe(Ke / Ye), Ke %= Ye, Ne.splice(Ke++, 0, Qe);
2270
- }
2271
- return Xe(Ne);
2272
- }
2273
- function Be(Ue) {
2274
- var Ne, qe, Ye, Ke, Qe, et, nt, at, ot, Je, tt, rt = [], it, Ze, st, lt;
2275
- for (Ue = We(Ue), it = Ue.length, Ne = Te, qe = 0, Qe = Se, et = 0; et < it; ++et)
2276
- tt = Ue[et], tt < 128 && rt.push(ke(tt));
2277
- for (Ye = Ke = rt.length, Ke && rt.push(Ae); Ye < it; ) {
2278
- for (nt = Y, et = 0; et < it; ++et)
2279
- tt = Ue[et], tt >= Ne && tt < nt && (nt = tt);
2280
- for (Ze = Ye + 1, nt - Ne > Fe((Y - qe) / Ze) && Le("overflow"), qe += (nt - Ne) * Ze, Ne = nt, et = 0; et < it; ++et)
2281
- if (tt = Ue[et], tt < Ne && ++qe > Y && Le("overflow"), tt == Ne) {
2282
- for (at = qe, ot = K; Je = ot <= Qe ? _e : ot >= Qe + xe ? xe : ot - Qe, !(at < Je); ot += K)
2283
- lt = at - Je, st = K - Je, rt.push(
2284
- ke(ze(Je + lt % st, 0))
2285
- ), at = Fe(lt / st);
2286
- rt.push(ke(ze(at, 0))), Qe = je(qe, Ze, Ye == Ke), qe = 0, ++Ye;
2271
+ for (Ge = qe ? Fe(Ge / J) : Ge >> 1, Ge += Fe(Ge / Ne); Ge > Ie * xe >> 1; Ye += K)
2272
+ Ge = Fe(Ge / Ie);
2273
+ return Fe(Ye + (Ie + 1) * Ge / (Ge + Z));
2274
+ }
2275
+ function De(Ge) {
2276
+ var Ne = [], qe = Ge.length, Ye, Ke = 0, rt = Te, it = Se, Qe, st, at, Ze, et, nt, tt, Je, ot;
2277
+ for (Qe = Ge.lastIndexOf(Ae), Qe < 0 && (Qe = 0), st = 0; st < Qe; ++st)
2278
+ Ge.charCodeAt(st) >= 128 && Le("not-basic"), Ne.push(Ge.charCodeAt(st));
2279
+ for (at = Qe > 0 ? Qe + 1 : 0; at < qe; ) {
2280
+ for (Ze = Ke, et = 1, nt = K; at >= qe && Le("invalid-input"), tt = Ve(Ge.charCodeAt(at++)), (tt >= K || tt > Fe((Y - Ke) / et)) && Le("overflow"), Ke += tt * et, Je = nt <= it ? _e : nt >= it + xe ? xe : nt - it, !(tt < Je); nt += K)
2281
+ ot = K - Je, et > Fe(Y / ot) && Le("overflow"), et *= ot;
2282
+ Ye = Ne.length + 1, it = Xe(Ke - Ze, Ye, Ze == 0), Fe(Ke / Ye) > Y - rt && Le("overflow"), rt += Fe(Ke / Ye), Ke %= Ye, Ne.splice(Ke++, 0, rt);
2283
+ }
2284
+ return je(Ne);
2285
+ }
2286
+ function Be(Ge) {
2287
+ var Ne, qe, Ye, Ke, rt, it, Qe, st, at, Ze, et, nt = [], tt, Je, ot, lt;
2288
+ for (Ge = We(Ge), tt = Ge.length, Ne = Te, qe = 0, rt = Se, it = 0; it < tt; ++it)
2289
+ et = Ge[it], et < 128 && nt.push(Oe(et));
2290
+ for (Ye = Ke = nt.length, Ke && nt.push(Ae); Ye < tt; ) {
2291
+ for (Qe = Y, it = 0; it < tt; ++it)
2292
+ et = Ge[it], et >= Ne && et < Qe && (Qe = et);
2293
+ for (Je = Ye + 1, Qe - Ne > Fe((Y - qe) / Je) && Le("overflow"), qe += (Qe - Ne) * Je, Ne = Qe, it = 0; it < tt; ++it)
2294
+ if (et = Ge[it], et < Ne && ++qe > Y && Le("overflow"), et == Ne) {
2295
+ for (st = qe, at = K; Ze = at <= rt ? _e : at >= rt + xe ? xe : at - rt, !(st < Ze); at += K)
2296
+ lt = st - Ze, ot = K - Ze, nt.push(
2297
+ Oe(ze(Ze + lt % ot, 0))
2298
+ ), st = Fe(lt / ot);
2299
+ nt.push(Oe(ze(st, 0))), rt = Xe(qe, Je, Ye == Ke), qe = 0, ++Ye;
2287
2300
  }
2288
2301
  ++qe, ++Ne;
2289
2302
  }
2290
- return rt.join("");
2303
+ return nt.join("");
2291
2304
  }
2292
- function Re(Ue) {
2293
- return He(Ue, function(Ne) {
2305
+ function Re(Ge) {
2306
+ return He(Ge, function(Ne) {
2294
2307
  return Me.test(Ne) ? De(Ne.slice(4).toLowerCase()) : Ne;
2295
2308
  });
2296
2309
  }
2297
- function Oe(Ue) {
2298
- return He(Ue, function(Ne) {
2310
+ function ke(Ge) {
2311
+ return He(Ge, function(Ne) {
2299
2312
  return Ee.test(Ne) ? "xn--" + Be(Ne) : Ne;
2300
2313
  });
2301
2314
  }
@@ -2315,11 +2328,11 @@ punycode$1.exports;
2315
2328
  */
2316
2329
  ucs2: {
2317
2330
  decode: We,
2318
- encode: Xe
2331
+ encode: je
2319
2332
  },
2320
2333
  decode: De,
2321
2334
  encode: Be,
2322
- toASCII: Oe,
2335
+ toASCII: ke,
2323
2336
  toUnicode: Re
2324
2337
  }, B && U)
2325
2338
  if (C.exports == B)
@@ -2697,8 +2710,8 @@ var utilInspect = require$$0, inspectCustom = utilInspect.custom, inspectSymbol
2697
2710
  U = [];
2698
2711
  else if (indexOf(U, E) >= 0)
2699
2712
  return "[Circular]";
2700
- function J(Ve, ze, je) {
2701
- if (ze && (U = $arrSlice.call(U), U.push(ze)), je) {
2713
+ function J(Ve, ze, Xe) {
2714
+ if (ze && (U = $arrSlice.call(U), U.push(ze)), Xe) {
2702
2715
  var De = {
2703
2716
  depth: V.depth
2704
2717
  };
@@ -2742,10 +2755,10 @@ var utilInspect = require$$0, inspectCustom = utilInspect.custom, inspectSymbol
2742
2755
  }), collectionOf("Map", mapSize$1.call(E), Fe, Z);
2743
2756
  }
2744
2757
  if (isSet(E)) {
2745
- var ke = [];
2758
+ var Oe = [];
2746
2759
  return setForEach && setForEach.call(E, function(Ve) {
2747
- ke.push(J(Ve, E));
2748
- }), collectionOf("Set", setSize.call(E), ke, Z);
2760
+ Oe.push(J(Ve, E));
2761
+ }), collectionOf("Set", setSize.call(E), Oe, Z);
2749
2762
  }
2750
2763
  if (isWeakMap(E))
2751
2764
  return weakCollectionOf("WeakMap");
@@ -2762,8 +2775,8 @@ var utilInspect = require$$0, inspectCustom = utilInspect.custom, inspectSymbol
2762
2775
  if (isString(E))
2763
2776
  return markBoxed(J(String(E)));
2764
2777
  if (!isDate(E) && !isRegExp$1(E)) {
2765
- var $e = arrObjKeys(E, J), Le = gPO ? gPO(E) === Object.prototype : E instanceof Object || E.constructor === Object, Ge = E instanceof Object ? "" : "null prototype", He = !Le && toStringTag && Object(E) === E && toStringTag in E ? $slice.call(toStr(E), 8, -1) : Ge ? "Object" : "", We = Le || typeof E.constructor != "function" ? "" : E.constructor.name ? E.constructor.name + " " : "", Xe = We + (He || Ge ? "[" + $join.call($concat.call([], He || [], Ge || []), ": ") + "] " : "");
2766
- return $e.length === 0 ? Xe + "{}" : Z ? Xe + "{" + indentedJoin($e, Z) + "}" : Xe + "{ " + $join.call($e, ", ") + " }";
2778
+ var $e = arrObjKeys(E, J), Le = gPO ? gPO(E) === Object.prototype : E instanceof Object || E.constructor === Object, Ue = E instanceof Object ? "" : "null prototype", He = !Le && toStringTag && Object(E) === E && toStringTag in E ? $slice.call(toStr(E), 8, -1) : Ue ? "Object" : "", We = Le || typeof E.constructor != "function" ? "" : E.constructor.name ? E.constructor.name + " " : "", je = We + (He || Ue ? "[" + $join.call($concat.call([], He || [], Ue || []), ": ") + "] " : "");
2779
+ return $e.length === 0 ? je + "{}" : Z ? je + "{" + indentedJoin($e, Z) + "}" : je + "{ " + $join.call($e, ", ") + " }";
2767
2780
  }
2768
2781
  return String(E);
2769
2782
  };
@@ -3219,8 +3232,8 @@ var GetIntrinsic = getIntrinsic, callBound = callBound$1, inspect = objectInspec
3219
3232
  }
3220
3233
  if (isNonNullishPrimitive(Ee) || utils$1.isBuffer(Ee)) {
3221
3234
  if (Y) {
3222
- var ke = Te ? I : Y(I, defaults$1.encoder, Ae, "key", J);
3223
- return [Se(ke) + "=" + Se(Y(Ee, defaults$1.encoder, Ae, "value", J))];
3235
+ var Oe = Te ? I : Y(I, defaults$1.encoder, Ae, "key", J);
3236
+ return [Se(Oe) + "=" + Se(Y(Ee, defaults$1.encoder, Ae, "value", J))];
3224
3237
  }
3225
3238
  return [Se(I) + "=" + Se(String(Ee))];
3226
3239
  }
@@ -3233,16 +3246,16 @@ var GetIntrinsic = getIntrinsic, callBound = callBound$1, inspect = objectInspec
3233
3246
  else if (isArray$7(K))
3234
3247
  Le = K;
3235
3248
  else {
3236
- var Ge = Object.keys(Ee);
3237
- Le = _e ? Ge.sort(_e) : Ge;
3249
+ var Ue = Object.keys(Ee);
3250
+ Le = _e ? Ue.sort(_e) : Ue;
3238
3251
  }
3239
3252
  for (var He = U && isArray$7(Ee) && Ee.length === 1 ? I + "[]" : I, We = 0; We < Le.length; ++We) {
3240
- var Xe = Le[We], Ve = typeof Xe == "object" && typeof Xe.value < "u" ? Xe.value : Ee[Xe];
3253
+ var je = Le[We], Ve = typeof je == "object" && typeof je.value < "u" ? je.value : Ee[je];
3241
3254
  if (!(X && Ve === null)) {
3242
- var ze = isArray$7(Ee) ? typeof B == "function" ? B(He, Xe) : He : He + (xe ? "." + Xe : "[" + Xe + "]");
3255
+ var ze = isArray$7(Ee) ? typeof B == "function" ? B(He, je) : He : He + (xe ? "." + je : "[" + je + "]");
3243
3256
  Me.set(E, Pe);
3244
- var je = getSideChannel();
3245
- je.set(sentinel, Me), pushToArray($e, C(
3257
+ var Xe = getSideChannel();
3258
+ Xe.set(sentinel, Me), pushToArray($e, C(
3246
3259
  Ve,
3247
3260
  ze,
3248
3261
  B,
@@ -3258,7 +3271,7 @@ var GetIntrinsic = getIntrinsic, callBound = callBound$1, inspect = objectInspec
3258
3271
  Se,
3259
3272
  Te,
3260
3273
  Ae,
3261
- je
3274
+ Xe
3262
3275
  ));
3263
3276
  }
3264
3277
  }
@@ -3531,18 +3544,18 @@ Url.prototype.parse = function(C, E, I) {
3531
3544
  for (var we = this.hostname.split(/\./), Se = 0, Pe = we.length; Se < Pe; Se++) {
3532
3545
  var Ie = we[Se];
3533
3546
  if (Ie && !Ie.match(hostnamePartPattern)) {
3534
- for (var Fe = "", ke = 0, $e = Ie.length; ke < $e; ke++)
3535
- Ie.charCodeAt(ke) > 127 ? Fe += "x" : Fe += Ie[ke];
3547
+ for (var Fe = "", Oe = 0, $e = Ie.length; Oe < $e; Oe++)
3548
+ Ie.charCodeAt(Oe) > 127 ? Fe += "x" : Fe += Ie[Oe];
3536
3549
  if (!Fe.match(hostnamePartPattern)) {
3537
- var Le = we.slice(0, Se), Ge = we.slice(Se + 1), He = Ie.match(hostnamePartStart);
3538
- He && (Le.push(He[1]), Ge.unshift(He[2])), Ge.length && (Y = "/" + Ge.join(".") + Y), this.hostname = Le.join(".");
3550
+ var Le = we.slice(0, Se), Ue = we.slice(Se + 1), He = Ie.match(hostnamePartStart);
3551
+ He && (Le.push(He[1]), Ue.unshift(He[2])), Ue.length && (Y = "/" + Ue.join(".") + Y), this.hostname = Le.join(".");
3539
3552
  break;
3540
3553
  }
3541
3554
  }
3542
3555
  }
3543
3556
  this.hostname.length > hostnameMaxLen ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), Ee || (this.hostname = punycode.toASCII(this.hostname));
3544
- var We = this.port ? ":" + this.port : "", Xe = this.hostname || "";
3545
- this.host = Xe + We, this.href += this.host, Ee && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), Y[0] !== "/" && (Y = "/" + Y));
3557
+ var We = this.port ? ":" + this.port : "", je = this.hostname || "";
3558
+ this.host = je + We, this.href += this.host, Ee && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), Y[0] !== "/" && (Y = "/" + Y));
3546
3559
  }
3547
3560
  if (!unsafeProtocol[xe])
3548
3561
  for (var Se = 0, Pe = autoEscape.length; Se < Pe; Se++) {
@@ -3552,8 +3565,8 @@ Url.prototype.parse = function(C, E, I) {
3552
3565
  ze === Ve && (ze = escape(Ve)), Y = Y.split(Ve).join(ze);
3553
3566
  }
3554
3567
  }
3555
- var je = Y.indexOf("#");
3556
- je !== -1 && (this.hash = Y.substr(je), Y = Y.slice(0, je));
3568
+ var Xe = Y.indexOf("#");
3569
+ Xe !== -1 && (this.hash = Y.substr(Xe), Y = Y.slice(0, Xe));
3557
3570
  var De = Y.indexOf("?");
3558
3571
  if (De !== -1 ? (this.search = Y.substr(De), this.query = Y.substr(De + 1), E && (this.query = querystring.parse(this.query)), Y = Y.slice(0, De)) : E && (this.search = "", this.query = {}), Y && (this.pathname = Y), slashedProtocol[xe] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
3559
3572
  var We = this.pathname || "", Be = this.search || "";
@@ -3633,8 +3646,8 @@ Url.prototype.resolveObject = function(C) {
3633
3646
  }
3634
3647
  if (!we.length)
3635
3648
  return I.pathname = null, I.search ? I.path = "/" + I.search : I.path = null, I.href = I.format(), I;
3636
- for (var ke = we.slice(-1)[0], $e = (I.host || C.host || we.length > 1) && (ke === "." || ke === "..") || ke === "", Le = 0, Ge = we.length; Ge >= 0; Ge--)
3637
- ke = we[Ge], ke === "." ? we.splice(Ge, 1) : ke === ".." ? (we.splice(Ge, 1), Le++) : Le && (we.splice(Ge, 1), Le--);
3649
+ for (var Oe = we.slice(-1)[0], $e = (I.host || C.host || we.length > 1) && (Oe === "." || Oe === "..") || Oe === "", Le = 0, Ue = we.length; Ue >= 0; Ue--)
3650
+ Oe = we[Ue], Oe === "." ? we.splice(Ue, 1) : Oe === ".." ? (we.splice(Ue, 1), Le++) : Le && (we.splice(Ue, 1), Le--);
3638
3651
  if (!Me && !Ee)
3639
3652
  for (; Le--; Le)
3640
3653
  we.unshift("..");
@@ -4786,8 +4799,8 @@ class Rectangle {
4786
4799
  const J = Z * (K.y - Y.y), Se = Z * (Y.x - K.x), Te = J * B + Se * V, Ae = J * U + Se * V, Me = J * B + Se * X, Ee = J * U + Se * X;
4787
4800
  if (Math.max(Te, Ae, Me, Ee) <= J * Y.x + Se * Y.y || Math.min(Te, Ae, Me, Ee) >= J * xe.x + Se * xe.y)
4788
4801
  return !1;
4789
- const we = Z * (Y.y - _e.y), Pe = Z * (_e.x - Y.x), Ie = we * B + Pe * V, Fe = we * U + Pe * V, ke = we * B + Pe * X, $e = we * U + Pe * X;
4790
- return !(Math.max(Ie, Fe, ke, $e) <= we * Y.x + Pe * Y.y || Math.min(Ie, Fe, ke, $e) >= we * xe.x + Pe * xe.y);
4802
+ const we = Z * (Y.y - _e.y), Pe = Z * (_e.x - Y.x), Ie = we * B + Pe * V, Fe = we * U + Pe * V, Oe = we * B + Pe * X, $e = we * U + Pe * X;
4803
+ return !(Math.max(Ie, Fe, Oe, $e) <= we * Y.x + Pe * Y.y || Math.min(Ie, Fe, Oe, $e) >= we * xe.x + Pe * xe.y);
4791
4804
  }
4792
4805
  pad(E = 0, I = E) {
4793
4806
  return this.x -= E, this.y -= I, this.width += E * 2, this.height += I * 2, this;
@@ -9861,18 +9874,18 @@ v$1.parse = function() {
9861
9874
  function V() {
9862
9875
  return X("linear-gradient", C.linearGradient, K) || X("repeating-linear-gradient", C.repeatingLinearGradient, K) || X("radial-gradient", C.radialGradient, Z) || X("repeating-radial-gradient", C.repeatingRadialGradient, Z);
9863
9876
  }
9864
- function X(Be, Re, Oe) {
9865
- return Y(Re, function(Ue) {
9866
- var Ne = Oe();
9867
- return Ne && (je(C.comma) || I("Missing comma before color stops")), { type: Be, orientation: Ne, colorStops: Pe(Ie) };
9877
+ function X(Be, Re, ke) {
9878
+ return Y(Re, function(Ge) {
9879
+ var Ne = ke();
9880
+ return Ne && (Xe(C.comma) || I("Missing comma before color stops")), { type: Be, orientation: Ne, colorStops: Pe(Ie) };
9868
9881
  });
9869
9882
  }
9870
9883
  function Y(Be, Re) {
9871
- var Oe = je(Be);
9872
- if (Oe) {
9873
- je(C.startCall) || I("Missing (");
9874
- var Ue = Re(Oe);
9875
- return je(C.endCall) || I("Missing )"), Ue;
9884
+ var ke = Xe(Be);
9885
+ if (ke) {
9886
+ Xe(C.startCall) || I("Missing (");
9887
+ var Ge = Re(ke);
9888
+ return Xe(C.endCall) || I("Missing )"), Ge;
9876
9889
  }
9877
9890
  }
9878
9891
  function K() {
@@ -9885,8 +9898,8 @@ v$1.parse = function() {
9885
9898
  return ze("angular", C.angleValue, 1);
9886
9899
  }
9887
9900
  function Z() {
9888
- var Be, Re = J(), Oe;
9889
- return Re && (Be = [], Be.push(Re), Oe = E, je(C.comma) && (Re = J(), Re ? Be.push(Re) : E = Oe)), Be;
9901
+ var Be, Re = J(), ke;
9902
+ return Re && (Be = [], Be.push(Re), ke = E, Xe(C.comma) && (Re = J(), Re ? Be.push(Re) : E = ke)), Be;
9890
9903
  }
9891
9904
  function J() {
9892
9905
  var Be = Se() || Te();
@@ -9896,11 +9909,11 @@ v$1.parse = function() {
9896
9909
  var Re = Ae();
9897
9910
  if (Re) {
9898
9911
  Be = Re;
9899
- var Oe = Me();
9900
- Oe && (Be.at = Oe);
9912
+ var ke = Me();
9913
+ ke && (Be.at = ke);
9901
9914
  } else {
9902
- var Ue = Ee();
9903
- Ue && (Be = { type: "default-radial", at: Ue });
9915
+ var Ge = Ee();
9916
+ Ge && (Be = { type: "default-radial", at: Ge });
9904
9917
  }
9905
9918
  }
9906
9919
  return Be;
@@ -9931,20 +9944,20 @@ v$1.parse = function() {
9931
9944
  return { x: We(), y: We() };
9932
9945
  }
9933
9946
  function Pe(Be) {
9934
- var Re = Be(), Oe = [];
9947
+ var Re = Be(), ke = [];
9935
9948
  if (Re)
9936
- for (Oe.push(Re); je(C.comma); )
9937
- Re = Be(), Re ? Oe.push(Re) : I("One extra comma");
9938
- return Oe;
9949
+ for (ke.push(Re); Xe(C.comma); )
9950
+ Re = Be(), Re ? ke.push(Re) : I("One extra comma");
9951
+ return ke;
9939
9952
  }
9940
9953
  function Ie() {
9941
9954
  var Be = Fe();
9942
9955
  return Be || I("Expected color definition"), Be.length = We(), Be;
9943
9956
  }
9944
9957
  function Fe() {
9945
- return $e() || Ge() || Le() || ke();
9958
+ return $e() || Ue() || Le() || Oe();
9946
9959
  }
9947
- function ke() {
9960
+ function Oe() {
9948
9961
  return ze("literal", C.literalColor, 0);
9949
9962
  }
9950
9963
  function $e() {
@@ -9955,31 +9968,31 @@ v$1.parse = function() {
9955
9968
  return { type: "rgb", value: Pe(He) };
9956
9969
  });
9957
9970
  }
9958
- function Ge() {
9971
+ function Ue() {
9959
9972
  return Y(C.rgbaColor, function() {
9960
9973
  return { type: "rgba", value: Pe(He) };
9961
9974
  });
9962
9975
  }
9963
9976
  function He() {
9964
- return je(C.number)[1];
9977
+ return Xe(C.number)[1];
9965
9978
  }
9966
9979
  function We() {
9967
- return ze("%", C.percentageValue, 1) || Xe() || Ve();
9980
+ return ze("%", C.percentageValue, 1) || je() || Ve();
9968
9981
  }
9969
- function Xe() {
9982
+ function je() {
9970
9983
  return ze("position-keyword", C.positionKeywords, 1);
9971
9984
  }
9972
9985
  function Ve() {
9973
9986
  return ze("px", C.pixelValue, 1) || ze("em", C.emValue, 1);
9974
9987
  }
9975
- function ze(Be, Re, Oe) {
9976
- var Ue = je(Re);
9977
- if (Ue)
9978
- return { type: Be, value: Ue[Oe] };
9988
+ function ze(Be, Re, ke) {
9989
+ var Ge = Xe(Re);
9990
+ if (Ge)
9991
+ return { type: Be, value: Ge[ke] };
9979
9992
  }
9980
- function je(Be) {
9981
- var Re, Oe;
9982
- return Oe = /^[\n\r\t\s]+/.exec(E), Oe && De(Oe[0].length), Re = Be.exec(E), Re && De(Re[0].length), Re;
9993
+ function Xe(Be) {
9994
+ var Re, ke;
9995
+ return ke = /^[\n\r\t\s]+/.exec(E), ke && De(ke[0].length), Re = Be.exec(E), Re && De(Re[0].length), Re;
9983
9996
  }
9984
9997
  function De(Be) {
9985
9998
  E = E.substr(Be);
@@ -12173,11 +12186,11 @@ const withFiltersHook = (C) => {
12173
12186
  sharpnessFilter: Pe,
12174
12187
  hueFilter: Ie,
12175
12188
  blurFilter: Fe,
12176
- adjustmentFilter: ke,
12189
+ adjustmentFilter: Oe,
12177
12190
  vignetteFilter: $e,
12178
12191
  noiseFilter: Le
12179
12192
  // outlineFilter,
12180
- } = withFiltersHook(J), { nightVisionFilter: Ge } = withEffectsHooks();
12193
+ } = withFiltersHook(J), { nightVisionFilter: Ue } = withEffectsHooks();
12181
12194
  return React.useEffect(() => () => {
12182
12195
  console.log("PixiImageSprite unmounting");
12183
12196
  }, []), /* @__PURE__ */ jsxRuntimeExports.jsx(AbstractContainer, { ...C, ref: E, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: B, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -12196,11 +12209,11 @@ const withFiltersHook = (C) => {
12196
12209
  we,
12197
12210
  Pe,
12198
12211
  Ie,
12199
- ke,
12212
+ Oe,
12200
12213
  // conditionally add blur filter
12201
12214
  ...Ae > 0 ? [Fe] : [],
12202
12215
  // conditionally add night vision filter
12203
- ...Se === Effects.NightVision ? [Ge] : [],
12216
+ ...Se === Effects.NightVision ? [Ue] : [],
12204
12217
  // conditionally add vignette filter
12205
12218
  ...Me > 0 ? [$e] : [],
12206
12219
  // conditionally add noise filter
@@ -12358,21 +12371,21 @@ class ArcUtils {
12358
12371
  const Y = X[X.length - 2], _e = X[X.length - 1] - I, xe = Y - E, Z = U - I, J = B - E, Se = Math.abs(_e * J - xe * Z);
12359
12372
  if (Se < 1e-8 || V === 0)
12360
12373
  return (X[X.length - 2] !== E || X[X.length - 1] !== I) && X.push(E, I), null;
12361
- const Te = _e * _e + xe * xe, Ae = Z * Z + J * J, Me = _e * Z + xe * J, Ee = V * Math.sqrt(Te) / Se, we = V * Math.sqrt(Ae) / Se, Pe = Ee * Me / Te, Ie = we * Me / Ae, Fe = Ee * J + we * xe, ke = Ee * Z + we * _e, $e = xe * (we + Pe), Le = _e * (we + Pe), Ge = J * (Ee + Ie), He = Z * (Ee + Ie), We = Math.atan2(Le - ke, $e - Fe), Xe = Math.atan2(He - ke, Ge - Fe);
12374
+ const Te = _e * _e + xe * xe, Ae = Z * Z + J * J, Me = _e * Z + xe * J, Ee = V * Math.sqrt(Te) / Se, we = V * Math.sqrt(Ae) / Se, Pe = Ee * Me / Te, Ie = we * Me / Ae, Fe = Ee * J + we * xe, Oe = Ee * Z + we * _e, $e = xe * (we + Pe), Le = _e * (we + Pe), Ue = J * (Ee + Ie), He = Z * (Ee + Ie), We = Math.atan2(Le - Oe, $e - Fe), je = Math.atan2(He - Oe, Ue - Fe);
12362
12375
  return {
12363
12376
  cx: Fe + E,
12364
- cy: ke + I,
12377
+ cy: Oe + I,
12365
12378
  radius: V,
12366
12379
  startAngle: We,
12367
- endAngle: Xe,
12380
+ endAngle: je,
12368
12381
  anticlockwise: xe * Z > J * _e
12369
12382
  };
12370
12383
  }
12371
12384
  static arc(E, I, B, U, V, X, Y, K, _e) {
12372
12385
  const xe = Y - X, Z = curves._segmentsCount(Math.abs(xe) * V, Math.ceil(Math.abs(xe) / PI_2) * 40), J = xe / (Z * 2), Se = J * 2, Te = Math.cos(J), Ae = Math.sin(J), Me = Z - 1, Ee = Me % 1 / Me;
12373
12386
  for (let we = 0; we <= Me; ++we) {
12374
- const Pe = we + Ee * we, Ie = J + X + Se * Pe, Fe = Math.cos(Ie), ke = -Math.sin(Ie);
12375
- _e.push((Te * Fe + Ae * ke) * V + B, (Te * -ke + Ae * Fe) * V + U);
12387
+ const Pe = we + Ee * we, Ie = J + X + Se * Pe, Fe = Math.cos(Ie), Oe = -Math.sin(Ie);
12388
+ _e.push((Te * Fe + Ae * Oe) * V + B, (Te * -Oe + Ae * Fe) * V + U);
12376
12389
  }
12377
12390
  }
12378
12391
  }
@@ -12392,9 +12405,9 @@ class BatchPart {
12392
12405
  }
12393
12406
  class BezierUtils {
12394
12407
  static curveLength(E, I, B, U, V, X, Y, K) {
12395
- let xe = 0, Z = 0, J = 0, Se = 0, Te = 0, Ae = 0, Me = 0, Ee = 0, we = 0, Pe = 0, Ie = 0, Fe = E, ke = I;
12408
+ let xe = 0, Z = 0, J = 0, Se = 0, Te = 0, Ae = 0, Me = 0, Ee = 0, we = 0, Pe = 0, Ie = 0, Fe = E, Oe = I;
12396
12409
  for (let $e = 1; $e <= 10; ++$e)
12397
- Z = $e / 10, J = Z * Z, Se = J * Z, Te = 1 - Z, Ae = Te * Te, Me = Ae * Te, Ee = Me * E + 3 * Ae * Z * B + 3 * Te * J * V + Se * Y, we = Me * I + 3 * Ae * Z * U + 3 * Te * J * X + Se * K, Pe = Fe - Ee, Ie = ke - we, Fe = Ee, ke = we, xe += Math.sqrt(Pe * Pe + Ie * Ie);
12410
+ Z = $e / 10, J = Z * Z, Se = J * Z, Te = 1 - Z, Ae = Te * Te, Me = Ae * Te, Ee = Me * E + 3 * Ae * Z * B + 3 * Te * J * V + Se * Y, we = Me * I + 3 * Ae * Z * U + 3 * Te * J * X + Se * K, Pe = Fe - Ee, Ie = Oe - we, Fe = Ee, Oe = we, xe += Math.sqrt(Pe * Pe + Ie * Ie);
12398
12411
  return xe;
12399
12412
  }
12400
12413
  static curveTo(E, I, B, U, V, X, Y) {
@@ -12448,52 +12461,52 @@ function buildNonNativeLine(C, E) {
12448
12461
  const xe = E.points, Z = B.length / 2;
12449
12462
  let J = B.length;
12450
12463
  const Se = xe.length / 2, Te = V.width / 2, Ae = Te * Te, Me = V.miterLimit * V.miterLimit;
12451
- let Ee = B[0], we = B[1], Pe = B[2], Ie = B[3], Fe = 0, ke = 0, $e = -(we - Ie), Le = Ee - Pe, Ge = 0, He = 0, We = Math.sqrt($e * $e + Le * Le);
12464
+ let Ee = B[0], we = B[1], Pe = B[2], Ie = B[3], Fe = 0, Oe = 0, $e = -(we - Ie), Le = Ee - Pe, Ue = 0, He = 0, We = Math.sqrt($e * $e + Le * Le);
12452
12465
  $e /= We, Le /= We, $e *= Te, Le *= Te;
12453
- const Xe = V.alignment, Ve = (1 - Xe) * 2, ze = Xe * 2;
12466
+ const je = V.alignment, Ve = (1 - je) * 2, ze = je * 2;
12454
12467
  K || (V.cap === LINE_CAP.ROUND ? J += round(Ee - $e * (Ve - ze) * 0.5, we - Le * (Ve - ze) * 0.5, Ee - $e * Ve, we - Le * Ve, Ee + $e * ze, we + Le * ze, xe, !0) + 2 : V.cap === LINE_CAP.SQUARE && (J += square(Ee, we, $e, Le, Ve, ze, !0, xe))), xe.push(Ee - $e * Ve, we - Le * Ve, Ee + $e * ze, we + Le * ze);
12455
12468
  for (let Be = 1; Be < Z - 1; ++Be) {
12456
- Ee = B[(Be - 1) * 2], we = B[(Be - 1) * 2 + 1], Pe = B[Be * 2], Ie = B[Be * 2 + 1], Fe = B[(Be + 1) * 2], ke = B[(Be + 1) * 2 + 1], $e = -(we - Ie), Le = Ee - Pe, We = Math.sqrt($e * $e + Le * Le), $e /= We, Le /= We, $e *= Te, Le *= Te, Ge = -(Ie - ke), He = Pe - Fe, We = Math.sqrt(Ge * Ge + He * He), Ge /= We, He /= We, Ge *= Te, He *= Te;
12457
- const Re = Pe - Ee, Oe = we - Ie, Ue = Pe - Fe, Ne = ke - Ie, qe = Re * Ue + Oe * Ne, Ye = Oe * Ue - Ne * Re, Ke = Ye < 0;
12469
+ Ee = B[(Be - 1) * 2], we = B[(Be - 1) * 2 + 1], Pe = B[Be * 2], Ie = B[Be * 2 + 1], Fe = B[(Be + 1) * 2], Oe = B[(Be + 1) * 2 + 1], $e = -(we - Ie), Le = Ee - Pe, We = Math.sqrt($e * $e + Le * Le), $e /= We, Le /= We, $e *= Te, Le *= Te, Ue = -(Ie - Oe), He = Pe - Fe, We = Math.sqrt(Ue * Ue + He * He), Ue /= We, He /= We, Ue *= Te, He *= Te;
12470
+ const Re = Pe - Ee, ke = we - Ie, Ge = Pe - Fe, Ne = Oe - Ie, qe = Re * Ge + ke * Ne, Ye = ke * Ge - Ne * Re, Ke = Ye < 0;
12458
12471
  if (Math.abs(Ye) < 1e-3 * Math.abs(qe)) {
12459
- xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), qe >= 0 && (V.join === LINE_JOIN.ROUND ? J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ge * Ve, Ie - He * Ve, xe, !1) + 4 : J += 2, xe.push(Pe - Ge * ze, Ie - He * ze, Pe + Ge * Ve, Ie + He * Ve));
12472
+ xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), qe >= 0 && (V.join === LINE_JOIN.ROUND ? J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ue * Ve, Ie - He * Ve, xe, !1) + 4 : J += 2, xe.push(Pe - Ue * ze, Ie - He * ze, Pe + Ue * Ve, Ie + He * Ve));
12460
12473
  continue;
12461
12474
  }
12462
- const Qe = (-$e + Ee) * (-Le + Ie) - (-$e + Pe) * (-Le + we), et = (-Ge + Fe) * (-He + Ie) - (-Ge + Pe) * (-He + ke), nt = (Re * et - Ue * Qe) / Ye, at = (Ne * Qe - Oe * et) / Ye, ot = (nt - Pe) * (nt - Pe) + (at - Ie) * (at - Ie), Je = Pe + (nt - Pe) * Ve, tt = Ie + (at - Ie) * Ve, rt = Pe - (nt - Pe) * ze, it = Ie - (at - Ie) * ze, Ze = Math.min(Re * Re + Oe * Oe, Ue * Ue + Ne * Ne), st = Ke ? Ve : ze, lt = Ze + st * st * Ae, ut = ot <= lt;
12475
+ const rt = (-$e + Ee) * (-Le + Ie) - (-$e + Pe) * (-Le + we), it = (-Ue + Fe) * (-He + Ie) - (-Ue + Pe) * (-He + Oe), Qe = (Re * it - Ge * rt) / Ye, st = (Ne * rt - ke * it) / Ye, at = (Qe - Pe) * (Qe - Pe) + (st - Ie) * (st - Ie), Ze = Pe + (Qe - Pe) * Ve, et = Ie + (st - Ie) * Ve, nt = Pe - (Qe - Pe) * ze, tt = Ie - (st - Ie) * ze, Je = Math.min(Re * Re + ke * ke, Ge * Ge + Ne * Ne), ot = Ke ? Ve : ze, lt = Je + ot * ot * Ae, ht = at <= lt;
12463
12476
  let ct = V.join;
12464
- if (ct === LINE_JOIN.MITER && ot / Ae > Me && (ct = LINE_JOIN.BEVEL), ut)
12477
+ if (ct === LINE_JOIN.MITER && at / Ae > Me && (ct = LINE_JOIN.BEVEL), ht)
12465
12478
  switch (ct) {
12466
12479
  case LINE_JOIN.MITER: {
12467
- xe.push(Je, tt, rt, it);
12480
+ xe.push(Ze, et, nt, tt);
12468
12481
  break;
12469
12482
  }
12470
12483
  case LINE_JOIN.BEVEL: {
12471
- Ke ? xe.push(Je, tt, Pe + $e * ze, Ie + Le * ze, Je, tt, Pe + Ge * ze, Ie + He * ze) : xe.push(Pe - $e * Ve, Ie - Le * Ve, rt, it, Pe - Ge * Ve, Ie - He * Ve, rt, it), J += 2;
12484
+ Ke ? xe.push(Ze, et, Pe + $e * ze, Ie + Le * ze, Ze, et, Pe + Ue * ze, Ie + He * ze) : xe.push(Pe - $e * Ve, Ie - Le * Ve, nt, tt, Pe - Ue * Ve, Ie - He * Ve, nt, tt), J += 2;
12472
12485
  break;
12473
12486
  }
12474
12487
  case LINE_JOIN.ROUND: {
12475
- Ke ? (xe.push(Je, tt, Pe + $e * ze, Ie + Le * ze), J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ge * ze, Ie + He * ze, xe, !0) + 4, xe.push(Je, tt, Pe + Ge * ze, Ie + He * ze)) : (xe.push(Pe - $e * Ve, Ie - Le * Ve, rt, it), J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ge * Ve, Ie - He * Ve, xe, !1) + 4, xe.push(Pe - Ge * Ve, Ie - He * Ve, rt, it));
12488
+ Ke ? (xe.push(Ze, et, Pe + $e * ze, Ie + Le * ze), J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ue * ze, Ie + He * ze, xe, !0) + 4, xe.push(Ze, et, Pe + Ue * ze, Ie + He * ze)) : (xe.push(Pe - $e * Ve, Ie - Le * Ve, nt, tt), J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ue * Ve, Ie - He * Ve, xe, !1) + 4, xe.push(Pe - Ue * Ve, Ie - He * Ve, nt, tt));
12476
12489
  break;
12477
12490
  }
12478
12491
  }
12479
12492
  else {
12480
12493
  switch (xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), ct) {
12481
12494
  case LINE_JOIN.MITER: {
12482
- Ke ? xe.push(rt, it, rt, it) : xe.push(Je, tt, Je, tt), J += 2;
12495
+ Ke ? xe.push(nt, tt, nt, tt) : xe.push(Ze, et, Ze, et), J += 2;
12483
12496
  break;
12484
12497
  }
12485
12498
  case LINE_JOIN.ROUND: {
12486
- Ke ? J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ge * ze, Ie + He * ze, xe, !0) + 2 : J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ge * Ve, Ie - He * Ve, xe, !1) + 2;
12499
+ Ke ? J += round(Pe, Ie, Pe + $e * ze, Ie + Le * ze, Pe + Ue * ze, Ie + He * ze, xe, !0) + 2 : J += round(Pe, Ie, Pe - $e * Ve, Ie - Le * Ve, Pe - Ue * Ve, Ie - He * Ve, xe, !1) + 2;
12487
12500
  break;
12488
12501
  }
12489
12502
  }
12490
- xe.push(Pe - Ge * Ve, Ie - He * Ve, Pe + Ge * ze, Ie + He * ze), J += 2;
12503
+ xe.push(Pe - Ue * Ve, Ie - He * Ve, Pe + Ue * ze, Ie + He * ze), J += 2;
12491
12504
  }
12492
12505
  }
12493
12506
  Ee = B[(Z - 2) * 2], we = B[(Z - 2) * 2 + 1], Pe = B[(Z - 1) * 2], Ie = B[(Z - 1) * 2 + 1], $e = -(we - Ie), Le = Ee - Pe, We = Math.sqrt($e * $e + Le * Le), $e /= We, Le /= We, $e *= Te, Le *= Te, xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), K || (V.cap === LINE_CAP.ROUND ? J += round(Pe - $e * (Ve - ze) * 0.5, Ie - Le * (Ve - ze) * 0.5, Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze, xe, !1) + 2 : V.cap === LINE_CAP.SQUARE && (J += square(Pe, Ie, $e, Le, Ve, ze, !1, xe)));
12494
- const je = E.indices, De = curves.epsilon * curves.epsilon;
12507
+ const Xe = E.indices, De = curves.epsilon * curves.epsilon;
12495
12508
  for (let Be = Se; Be < J + Se - 2; ++Be)
12496
- Ee = xe[Be * 2], we = xe[Be * 2 + 1], Pe = xe[(Be + 1) * 2], Ie = xe[(Be + 1) * 2 + 1], Fe = xe[(Be + 2) * 2], ke = xe[(Be + 2) * 2 + 1], !(Math.abs(Ee * (Ie - ke) + Pe * (ke - we) + Fe * (we - Ie)) < De) && je.push(Be, Be + 1, Be + 2);
12509
+ Ee = xe[Be * 2], we = xe[Be * 2 + 1], Pe = xe[(Be + 1) * 2], Ie = xe[(Be + 1) * 2 + 1], Fe = xe[(Be + 2) * 2], Oe = xe[(Be + 2) * 2 + 1], !(Math.abs(Ee * (Ie - Oe) + Pe * (Oe - we) + Fe * (we - Ie)) < De) && Xe.push(Be, Be + 1, Be + 2);
12497
12510
  }
12498
12511
  function buildNativeLine(C, E) {
12499
12512
  let I = 0;
@@ -14296,7 +14309,7 @@ var _slicedToArray = function() {
14296
14309
  }, getArcCenter = function(E, I, B, U, V, X, Y, K, _e, xe, Z, J) {
14297
14310
  var Se = Math.pow(V, 2), Te = Math.pow(X, 2), Ae = Math.pow(Z, 2), Me = Math.pow(J, 2), Ee = Se * Te - Se * Me - Te * Ae;
14298
14311
  Ee < 0 && (Ee = 0), Ee /= Se * Me + Te * Ae, Ee = Math.sqrt(Ee) * (Y === K ? -1 : 1);
14299
- var we = Ee * V / X * J, Pe = Ee * -X / V * Z, Ie = xe * we - _e * Pe + (E + B) / 2, Fe = _e * we + xe * Pe + (I + U) / 2, ke = (Z - we) / V, $e = (J - Pe) / X, Le = (-Z - we) / V, Ge = (-J - Pe) / X, He = vectorAngle(1, 0, ke, $e), We = vectorAngle(ke, $e, Le, Ge);
14312
+ var we = Ee * V / X * J, Pe = Ee * -X / V * Z, Ie = xe * we - _e * Pe + (E + B) / 2, Fe = _e * we + xe * Pe + (I + U) / 2, Oe = (Z - we) / V, $e = (J - Pe) / X, Le = (-Z - we) / V, Ue = (-J - Pe) / X, He = vectorAngle(1, 0, Oe, $e), We = vectorAngle(Oe, $e, Le, Ue);
14300
14313
  return K === 0 && We > 0 && (We -= TAU$1), K === 1 && We < 0 && (We += TAU$1), [Ie, Fe, He, We];
14301
14314
  }, arcToBezier = function(E) {
14302
14315
  var I = E.px, B = E.py, U = E.cx, V = E.cy, X = E.rx, Y = E.ry, K = E.xAxisRotation, _e = K === void 0 ? 0 : K, xe = E.largeArcFlag, Z = xe === void 0 ? 0 : xe, J = E.sweepFlag, Se = J === void 0 ? 0 : J, Te = [];
@@ -14308,15 +14321,15 @@ var _slicedToArray = function() {
14308
14321
  X = Math.abs(X), Y = Math.abs(Y);
14309
14322
  var Pe = Math.pow(Ee, 2) / Math.pow(X, 2) + Math.pow(we, 2) / Math.pow(Y, 2);
14310
14323
  Pe > 1 && (X *= Math.sqrt(Pe), Y *= Math.sqrt(Pe));
14311
- var Ie = getArcCenter(I, B, U, V, X, Y, Z, Se, Ae, Me, Ee, we), Fe = _slicedToArray(Ie, 4), ke = Fe[0], $e = Fe[1], Le = Fe[2], Ge = Fe[3], He = Math.abs(Ge) / (TAU$1 / 4);
14324
+ var Ie = getArcCenter(I, B, U, V, X, Y, Z, Se, Ae, Me, Ee, we), Fe = _slicedToArray(Ie, 4), Oe = Fe[0], $e = Fe[1], Le = Fe[2], Ue = Fe[3], He = Math.abs(Ue) / (TAU$1 / 4);
14312
14325
  Math.abs(1 - He) < 1e-7 && (He = 1);
14313
14326
  var We = Math.max(Math.ceil(He), 1);
14314
- Ge /= We;
14315
- for (var Xe = 0; Xe < We; Xe++)
14316
- Te.push(approxUnitArc(Le, Ge)), Le += Ge;
14327
+ Ue /= We;
14328
+ for (var je = 0; je < We; je++)
14329
+ Te.push(approxUnitArc(Le, Ue)), Le += Ue;
14317
14330
  return Te.map(function(Ve) {
14318
- var ze = mapToEllipse(Ve[0], X, Y, Me, Ae, ke, $e), je = ze.x, De = ze.y, Be = mapToEllipse(Ve[1], X, Y, Me, Ae, ke, $e), Re = Be.x, Oe = Be.y, Ue = mapToEllipse(Ve[2], X, Y, Me, Ae, ke, $e), Ne = Ue.x, qe = Ue.y;
14319
- return { x1: je, y1: De, x2: Re, y2: Oe, x: Ne, y: qe };
14331
+ var ze = mapToEllipse(Ve[0], X, Y, Me, Ae, Oe, $e), Xe = ze.x, De = ze.y, Be = mapToEllipse(Ve[1], X, Y, Me, Ae, Oe, $e), Re = Be.x, ke = Be.y, Ge = mapToEllipse(Ve[2], X, Y, Me, Ae, Oe, $e), Ne = Ge.x, qe = Ge.y;
14332
+ return { x1: Xe, y1: De, x2: Re, y2: ke, x: Ne, y: qe };
14320
14333
  });
14321
14334
  };
14322
14335
  class SVG extends Graphics {
@@ -14858,8 +14871,8 @@ function unit_vector_angle(C, E, I, B) {
14858
14871
  function get_arc_center(C, E, I, B, U, V, X, Y, K, _e) {
14859
14872
  var xe = _e * (C - I) / 2 + K * (E - B) / 2, Z = -K * (C - I) / 2 + _e * (E - B) / 2, J = X * X, Se = Y * Y, Te = xe * xe, Ae = Z * Z, Me = J * Se - J * Ae - Se * Te;
14860
14873
  Me < 0 && (Me = 0), Me /= J * Ae + Se * Te, Me = Math.sqrt(Me) * (U === V ? -1 : 1);
14861
- var Ee = Me * X / Y * Z, we = Me * -Y / X * xe, Pe = _e * Ee - K * we + (C + I) / 2, Ie = K * Ee + _e * we + (E + B) / 2, Fe = (xe - Ee) / X, ke = (Z - we) / Y, $e = (-xe - Ee) / X, Le = (-Z - we) / Y, Ge = unit_vector_angle(1, 0, Fe, ke), He = unit_vector_angle(Fe, ke, $e, Le);
14862
- return V === 0 && He > 0 && (He -= TAU), V === 1 && He < 0 && (He += TAU), [Pe, Ie, Ge, He];
14874
+ var Ee = Me * X / Y * Z, we = Me * -Y / X * xe, Pe = _e * Ee - K * we + (C + I) / 2, Ie = K * Ee + _e * we + (E + B) / 2, Fe = (xe - Ee) / X, Oe = (Z - we) / Y, $e = (-xe - Ee) / X, Le = (-Z - we) / Y, Ue = unit_vector_angle(1, 0, Fe, Oe), He = unit_vector_angle(Fe, Oe, $e, Le);
14875
+ return V === 0 && He > 0 && (He -= TAU), V === 1 && He < 0 && (He += TAU), [Pe, Ie, Ue, He];
14863
14876
  }
14864
14877
  function approximate_unit_arc(C, E) {
14865
14878
  var I = 1.3333333333333333 * Math.tan(E / 4), B = Math.cos(C), U = Math.sin(C), V = Math.cos(C + E), X = Math.sin(C + E);
@@ -14879,11 +14892,11 @@ var a2c$1 = function(E, I, B, U, V, X, Y, K, _e) {
14879
14892
  for (var Ie = 0; Ie < Pe; Ie++)
14880
14893
  Me.push(approximate_unit_arc(Ee, we)), Ee += we;
14881
14894
  return Me.map(function(Fe) {
14882
- for (var ke = 0; ke < Fe.length; ke += 2) {
14883
- var $e = Fe[ke + 0], Le = Fe[ke + 1];
14895
+ for (var Oe = 0; Oe < Fe.length; Oe += 2) {
14896
+ var $e = Fe[Oe + 0], Le = Fe[Oe + 1];
14884
14897
  $e *= Y, Le *= K;
14885
- var Ge = Z * $e - xe * Le, He = xe * $e + Z * Le;
14886
- Fe[ke + 0] = Ge + Ae[0], Fe[ke + 1] = He + Ae[1];
14898
+ var Ue = Z * $e - xe * Le, He = xe * $e + Z * Le;
14899
+ Fe[Oe + 0] = Ue + Ae[0], Fe[Oe + 1] = He + Ae[1];
14887
14900
  }
14888
14901
  return Fe;
14889
14902
  });
@@ -15167,23 +15180,23 @@ const svgpath$1 = /* @__PURE__ */ getDefaultExportFromCjs(svgpath), PixiSvgPathS
15167
15180
  },
15168
15181
  pointerdown: Ie,
15169
15182
  pointerup: Fe
15170
- } = C, ke = useApp(), {
15183
+ } = C, Oe = useApp(), {
15171
15184
  temperatureFilter: $e,
15172
15185
  sharpnessFilter: Le,
15173
- hueFilter: Ge,
15186
+ hueFilter: Ue,
15174
15187
  blurFilter: He,
15175
15188
  adjustmentFilter: We,
15176
- vignetteFilter: Xe,
15189
+ vignetteFilter: je,
15177
15190
  noiseFilter: Ve
15178
- } = withFiltersHook(Pe), { blurRadius: ze = 0, vignette: je = 0, noise: De = 0 } = Pe;
15191
+ } = withFiltersHook(Pe), { blurRadius: ze = 0, vignette: Xe = 0, noise: De = 0 } = Pe;
15179
15192
  return React.useEffect(() => {
15180
15193
  const Be = svgpath$1(Y).scale(5).translate(0, 0).toString(), Re = `<svg xmlns="http://www.w3.org/2000/svg" width="${J}" height="${Se}">
15181
15194
  <path stroke="${Ee}" stroke-width="${we}" fill="${Ae || Me}" d="${Be}">
15182
15195
  </path>
15183
- </svg>`, Oe = new SVG(Re), Ue = ke.renderer.generateTexture(Oe);
15184
- return B(Ue), () => {
15196
+ </svg>`, ke = new SVG(Re), Ge = Oe.renderer.generateTexture(ke);
15197
+ return B(Ge), () => {
15185
15198
  };
15186
- }, [ke, Y, Ee, we, Ae, Me]), /* @__PURE__ */ jsxRuntimeExports.jsx(AbstractContainer, { ...C, ref: E, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: V, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: X, children: I && /* @__PURE__ */ jsxRuntimeExports.jsx(
15199
+ }, [Oe, Y, Ee, we, Ae, Me]), /* @__PURE__ */ jsxRuntimeExports.jsx(AbstractContainer, { ...C, ref: E, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: V, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: X, children: I && /* @__PURE__ */ jsxRuntimeExports.jsx(
15187
15200
  Sprite,
15188
15201
  {
15189
15202
  texture: I,
@@ -15202,12 +15215,12 @@ const svgpath$1 = /* @__PURE__ */ getDefaultExportFromCjs(svgpath), PixiSvgPathS
15202
15215
  filters: [
15203
15216
  $e,
15204
15217
  Le,
15205
- Ge,
15218
+ Ue,
15206
15219
  We,
15207
15220
  // conditionally add blur filter
15208
15221
  ...ze > 0 ? [He] : [],
15209
15222
  // conditionally add vignette filter
15210
- ...je > 0 ? [Xe] : [],
15223
+ ...Xe > 0 ? [je] : [],
15211
15224
  // conditionally add noise filter
15212
15225
  ...De > 0 ? [Ve] : []
15213
15226
  ]
@@ -15546,55 +15559,55 @@ var howler = {};
15546
15559
  if (Te && !Ee._paused)
15547
15560
  return J || Se._loadQueue("play"), Ee._id;
15548
15561
  Se._webAudio && I._autoResume();
15549
- var Pe = Math.max(0, Ee._seek > 0 ? Ee._seek : Se._sprite[Z][0] / 1e3), Ie = Math.max(0, (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3 - Pe), Fe = Ie * 1e3 / Math.abs(Ee._rate), ke = Se._sprite[Z][0] / 1e3, $e = (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3;
15562
+ var Pe = Math.max(0, Ee._seek > 0 ? Ee._seek : Se._sprite[Z][0] / 1e3), Ie = Math.max(0, (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3 - Pe), Fe = Ie * 1e3 / Math.abs(Ee._rate), Oe = Se._sprite[Z][0] / 1e3, $e = (Se._sprite[Z][0] + Se._sprite[Z][1]) / 1e3;
15550
15563
  Ee._sprite = Z, Ee._ended = !1;
15551
15564
  var Le = function() {
15552
- Ee._paused = !1, Ee._seek = Pe, Ee._start = ke, Ee._stop = $e, Ee._loop = !!(Ee._loop || Se._sprite[Z][2]);
15565
+ Ee._paused = !1, Ee._seek = Pe, Ee._start = Oe, Ee._stop = $e, Ee._loop = !!(Ee._loop || Se._sprite[Z][2]);
15553
15566
  };
15554
15567
  if (Pe >= $e) {
15555
15568
  Se._ended(Ee);
15556
15569
  return;
15557
15570
  }
15558
- var Ge = Ee._node;
15571
+ var Ue = Ee._node;
15559
15572
  if (Se._webAudio) {
15560
15573
  var He = function() {
15561
15574
  Se._playLock = !1, Le(), Se._refreshBuffer(Ee);
15562
15575
  var ze = Ee._muted || Se._muted ? 0 : Ee._volume;
15563
- Ge.gain.setValueAtTime(ze, I.ctx.currentTime), Ee._playStart = I.ctx.currentTime, typeof Ge.bufferSource.start > "u" ? Ee._loop ? Ge.bufferSource.noteGrainOn(0, Pe, 86400) : Ge.bufferSource.noteGrainOn(0, Pe, Ie) : Ee._loop ? Ge.bufferSource.start(0, Pe, 86400) : Ge.bufferSource.start(0, Pe, Ie), Fe !== 1 / 0 && (Se._endTimers[Ee._id] = setTimeout(Se._ended.bind(Se, Ee), Fe)), J || setTimeout(function() {
15576
+ Ue.gain.setValueAtTime(ze, I.ctx.currentTime), Ee._playStart = I.ctx.currentTime, typeof Ue.bufferSource.start > "u" ? Ee._loop ? Ue.bufferSource.noteGrainOn(0, Pe, 86400) : Ue.bufferSource.noteGrainOn(0, Pe, Ie) : Ee._loop ? Ue.bufferSource.start(0, Pe, 86400) : Ue.bufferSource.start(0, Pe, Ie), Fe !== 1 / 0 && (Se._endTimers[Ee._id] = setTimeout(Se._ended.bind(Se, Ee), Fe)), J || setTimeout(function() {
15564
15577
  Se._emit("play", Ee._id), Se._loadQueue();
15565
15578
  }, 0);
15566
15579
  };
15567
15580
  I.state === "running" && I.ctx.state !== "interrupted" ? He() : (Se._playLock = !0, Se.once("resume", He), Se._clearTimer(Ee._id));
15568
15581
  } else {
15569
15582
  var We = function() {
15570
- Ge.currentTime = Pe, Ge.muted = Ee._muted || Se._muted || I._muted || Ge.muted, Ge.volume = Ee._volume * I.volume(), Ge.playbackRate = Ee._rate;
15583
+ Ue.currentTime = Pe, Ue.muted = Ee._muted || Se._muted || I._muted || Ue.muted, Ue.volume = Ee._volume * I.volume(), Ue.playbackRate = Ee._rate;
15571
15584
  try {
15572
- var ze = Ge.play();
15585
+ var ze = Ue.play();
15573
15586
  if (ze && typeof Promise < "u" && (ze instanceof Promise || typeof ze.then == "function") ? (Se._playLock = !0, Le(), ze.then(function() {
15574
- Se._playLock = !1, Ge._unlocked = !0, J ? Se._loadQueue() : Se._emit("play", Ee._id);
15587
+ Se._playLock = !1, Ue._unlocked = !0, J ? Se._loadQueue() : Se._emit("play", Ee._id);
15575
15588
  }).catch(function() {
15576
15589
  Se._playLock = !1, Se._emit("playerror", Ee._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."), Ee._ended = !0, Ee._paused = !0;
15577
- })) : J || (Se._playLock = !1, Le(), Se._emit("play", Ee._id)), Ge.playbackRate = Ee._rate, Ge.paused) {
15590
+ })) : J || (Se._playLock = !1, Le(), Se._emit("play", Ee._id)), Ue.playbackRate = Ee._rate, Ue.paused) {
15578
15591
  Se._emit("playerror", Ee._id, "Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");
15579
15592
  return;
15580
15593
  }
15581
15594
  Z !== "__default" || Ee._loop ? Se._endTimers[Ee._id] = setTimeout(Se._ended.bind(Se, Ee), Fe) : (Se._endTimers[Ee._id] = function() {
15582
- Se._ended(Ee), Ge.removeEventListener("ended", Se._endTimers[Ee._id], !1);
15583
- }, Ge.addEventListener("ended", Se._endTimers[Ee._id], !1));
15584
- } catch (je) {
15585
- Se._emit("playerror", Ee._id, je);
15595
+ Se._ended(Ee), Ue.removeEventListener("ended", Se._endTimers[Ee._id], !1);
15596
+ }, Ue.addEventListener("ended", Se._endTimers[Ee._id], !1));
15597
+ } catch (Xe) {
15598
+ Se._emit("playerror", Ee._id, Xe);
15586
15599
  }
15587
15600
  };
15588
- Ge.src === "data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA" && (Ge.src = Se._src, Ge.load());
15589
- var Xe = window && window.ejecta || !Ge.readyState && I._navigator.isCocoonJS;
15590
- if (Ge.readyState >= 3 || Xe)
15601
+ Ue.src === "data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA" && (Ue.src = Se._src, Ue.load());
15602
+ var je = window && window.ejecta || !Ue.readyState && I._navigator.isCocoonJS;
15603
+ if (Ue.readyState >= 3 || je)
15591
15604
  We();
15592
15605
  else {
15593
15606
  Se._playLock = !0, Se._state = "loading";
15594
15607
  var Ve = function() {
15595
- Se._state = "loaded", We(), Ge.removeEventListener(I._canPlayEvent, Ve, !1);
15608
+ Se._state = "loaded", We(), Ue.removeEventListener(I._canPlayEvent, Ve, !1);
15596
15609
  };
15597
- Ge.addEventListener(I._canPlayEvent, Ve, !1), Se._clearTimer(Ee._id);
15610
+ Ue.addEventListener(I._canPlayEvent, Ve, !1), Se._clearTimer(Ee._id);
15598
15611
  }
15599
15612
  }
15600
15613
  return Ee._id;
@@ -15748,10 +15761,10 @@ var howler = {};
15748
15761
  * @param {Boolean} isGroup If true, set the volume on the group.
15749
15762
  */
15750
15763
  _startFadeInterval: function(Z, J, Se, Te, Ae, Me) {
15751
- var Ee = this, we = J, Pe = Se - J, Ie = Math.abs(Pe / 0.01), Fe = Math.max(4, Ie > 0 ? Te / Ie : Te), ke = Date.now();
15764
+ var Ee = this, we = J, Pe = Se - J, Ie = Math.abs(Pe / 0.01), Fe = Math.max(4, Ie > 0 ? Te / Ie : Te), Oe = Date.now();
15752
15765
  Z._fadeTo = Se, Z._interval = setInterval(function() {
15753
- var $e = (Date.now() - ke) / Te;
15754
- ke = Date.now(), we += Pe * $e, we = Math.round(we * 100) / 100, Pe < 0 ? we = Math.max(Se, we) : we = Math.min(Se, we), Ee._webAudio ? Z._volume = we : Ee.volume(we, Z._id, !0), Me && (Ee._volume = we), (Se < J && we <= Se || Se > J && we >= Se) && (clearInterval(Z._interval), Z._interval = null, Z._fadeTo = null, Ee.volume(Se, Z._id), Ee._emit("fade", Z._id));
15766
+ var $e = (Date.now() - Oe) / Te;
15767
+ Oe = Date.now(), we += Pe * $e, we = Math.round(we * 100) / 100, Pe < 0 ? we = Math.max(Se, we) : we = Math.min(Se, we), Ee._webAudio ? Z._volume = we : Ee.volume(we, Z._id, !0), Me && (Ee._volume = we), (Se < J && we <= Se || Se > J && we >= Se) && (clearInterval(Z._interval), Z._interval = null, Z._fadeTo = null, Ee.volume(Se, Z._id), Ee._emit("fade", Z._id));
15755
15768
  }, Fe);
15756
15769
  },
15757
15770
  /**
@@ -15866,8 +15879,8 @@ var howler = {};
15866
15879
  } else
15867
15880
  Pe();
15868
15881
  } else if (Z._webAudio) {
15869
- var Fe = Z.playing(Te) ? I.ctx.currentTime - Ee._playStart : 0, ke = Ee._rateSeek ? Ee._rateSeek - Ee._seek : 0;
15870
- return Ee._seek + (ke + Fe * Math.abs(Ee._rate));
15882
+ var Fe = Z.playing(Te) ? I.ctx.currentTime - Ee._playStart : 0, Oe = Ee._rateSeek ? Ee._rateSeek - Ee._seek : 0;
15883
+ return Ee._seek + (Oe + Fe * Math.abs(Ee._rate));
15871
15884
  } else
15872
15885
  return Ee._node.currentTime;
15873
15886
  return Z;
@@ -16417,8 +16430,8 @@ var howler = {};
16417
16430
  };
16418
16431
  })();
16419
16432
  })(howler);
16420
- const PixiAudioSprite = (C) => {
16421
- const E = {
16433
+ const isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsWith("data"), PixiAudioSprite = React.forwardRef((C, E) => {
16434
+ const I = {
16422
16435
  isPlaying: !1,
16423
16436
  progress: 0,
16424
16437
  speed: 1,
@@ -16427,110 +16440,222 @@ const PixiAudioSprite = (C) => {
16427
16440
  loaded: !1,
16428
16441
  size: { width: 50, height: 50 },
16429
16442
  isDragging: !1
16430
- }, [, I] = React.useState(!1), B = useRef(null), U = useRef(E), V = useRef(null), X = React.useRef(null), { tl: Y, dragModeRef: K } = useContext(GsapPixieContext), {
16431
- uniqueId: _e,
16432
- src: xe,
16433
- startAt: Z,
16434
- endAt: J,
16435
- mute: Se,
16436
- speed: Te,
16437
- audioStartAt: Ae,
16438
- audioEndAt: Me,
16439
- visible: Ee
16440
- /// waveform = false,
16441
- } = C;
16442
- useCustomEventListener(Events.PAUSE, () => {
16443
- var ke;
16444
- B.current && X.current && ((ke = X.current) == null || ke.pause(), U.current.isPlaying = !1);
16443
+ }, [, B] = React.useState(!1), [U, V] = React.useState(""), [X, Y] = React.useState({}), [K, _e] = React.useState(!1), xe = useRef(null), Z = useRef(I), J = useRef(null), Se = React.useRef(null), Te = useRef(), Ae = React.useRef(), Me = useRef(), Ee = useRef(), we = useRef(document.body), Pe = useRef(null), Ie = React.useRef(), { tl: Fe, dragModeRef: Oe } = useContext(GsapPixieContext), {
16444
+ uniqueId: $e,
16445
+ src: Le,
16446
+ startAt: Ue,
16447
+ endAt: He,
16448
+ mute: We,
16449
+ speed: je,
16450
+ audioStartAt: Ve,
16451
+ audioEndAt: ze,
16452
+ visible: Xe = !1,
16453
+ transformation: De
16454
+ } = C, {
16455
+ width: Be = 0,
16456
+ height: Re = 0,
16457
+ x: ke = 0,
16458
+ y: Ge = 0,
16459
+ waveform: Ne = Waveforms.NONE
16460
+ } = De || {};
16461
+ React.useLayoutEffect(() => (Ne !== Waveforms.NONE && (Ae.current = document.createElement("canvas"), Ae.current.setAttribute("id", `${$e}audioContainer`), Ae.current.setAttribute("width", "300"), Ae.current.setAttribute("height", "300"), we.current.appendChild(Ae.current)), () => {
16462
+ Ae.current && we.current && (we.current.removeChild(Ae.current), Ae.current = void 0);
16463
+ }), [Ne]), useCustomEventListener(Events.PAUSE, () => {
16464
+ var Qe;
16465
+ xe.current && Se.current && ((Qe = Se.current) == null || Qe.pause(), Z.current.isPlaying = !1);
16445
16466
  }), useCustomEventListener(Events.COMPLETE, () => {
16446
- Ae > 0 && X.current && X.current.seek(Ae);
16467
+ Ve > 0 && Se.current && Se.current.seek(Ve);
16447
16468
  }), useCustomEventListener(Events.SCRUBBER_CLICKED, () => {
16448
- var ke;
16449
- B.current && X.current && ((ke = X.current) == null || ke.pause(), U.current.isPlaying = !1);
16450
- }), React.useEffect(() => {
16451
- X.current && (K.current ? (X.current.pause(), U.current.isPlaying = !1, U.current.isDragging = !0) : U.current.isDragging = !1);
16452
- }, [K]);
16453
- const we = (ke, $e) => {
16454
- Y.current && Y.current.isActive() && V.current && V.current.isActive() && !K.current && X.current && (console.log("gsap on start 0020", _e, ke, $e), X.current.play(), U.current.isPlaying = !0);
16455
- }, Pe = () => {
16456
- var ke;
16457
- B.current && ((ke = X.current) == null || ke.stop(), U.current.isPlaying = !1, U.current.completed = !0);
16458
- }, Ie = (ke) => {
16459
- var Le, Ge;
16460
- const $e = ke + ((Le = V.current) == null ? void 0 : Le.time());
16461
- X.current && K.current ? (X.current.seek($e), X.current.pause(), U.current.isPlaying = !1) : B.current && !U.current.isPlaying && ((Ge = Y.current) != null && Ge.isActive()) && X.current && (X.current.seek($e), X.current.play(), U.current.isPlaying = !0);
16462
- }, Fe = () => {
16469
+ var Qe;
16470
+ xe.current && Se.current && ((Qe = Se.current) == null || Qe.pause(), Z.current.isPlaying = !1);
16471
+ });
16472
+ const qe = React.useCallback(() => {
16473
+ if (Te.current && Ae.current) {
16474
+ const Qe = Ae.current, st = Qe.getContext("2d"), at = Qe.width, Ze = Qe.height, et = Te.current, nt = et.frequencyBinCount, tt = new Uint8Array(nt), Je = at / nt * 2.5;
16475
+ let ot = 0;
16476
+ et.getByteFrequencyData(tt), st.fillStyle = "#000", st.fillRect(0, 0, at, Ze);
16477
+ for (let lt = 0; lt < nt; lt++) {
16478
+ const ht = tt[lt], ct = ht + 25 * (lt / nt), ft = 250 * (lt / nt), ut = 50;
16479
+ st.fillStyle = "rgb(" + ct + "," + ft + "," + ut + ")", st.fillRect(ot, Ze - ht, Je, ht), ot += Je + 1;
16480
+ }
16481
+ }
16482
+ }, []);
16483
+ React.useEffect(() => {
16484
+ const Qe = async (at) => {
16485
+ try {
16486
+ return await fetch(at, {
16487
+ mode: "cors",
16488
+ referrerPolicy: "no-referrer-when-downgrade"
16489
+ });
16490
+ } catch (Ze) {
16491
+ const et = Ze;
16492
+ throw (
16493
+ // Chrome
16494
+ et.message.includes("Failed to fetch") || // Safari
16495
+ et.message.includes("Load failed") || // Firefox
16496
+ et.message.includes(
16497
+ "NetworkError when attempting to fetch resource"
16498
+ ) ? new TypeError(
16499
+ `Failed to read from ${at}: ${et.message}. Does the resource support CORS?`
16500
+ ) : Ze
16501
+ );
16502
+ }
16503
+ };
16504
+ (async () => {
16505
+ if (!isEmpty$1(Le)) {
16506
+ const Ze = await (await Qe(Le)).arrayBuffer(), et = new Blob([Ze]), nt = URL.createObjectURL(et);
16507
+ if (Howler.ctx) {
16508
+ const tt = await Howler.ctx.decodeAudioData(Ze), ot = {
16509
+ channelWaveforms: new Array(tt.numberOfChannels).fill(!0).map((lt, ht) => tt.getChannelData(ht)),
16510
+ sampleRate: Howler.ctx.sampleRate,
16511
+ durationInSeconds: tt.duration,
16512
+ numberOfChannels: tt.numberOfChannels,
16513
+ resultId: String(Math.random()),
16514
+ isRemote: isRemoteAsset(Le)
16515
+ };
16516
+ Y(ot);
16517
+ }
16518
+ V(nt);
16519
+ }
16520
+ })();
16521
+ }, [
16522
+ $e,
16523
+ Le,
16524
+ Ue,
16525
+ He,
16526
+ Ve,
16527
+ ze,
16528
+ We,
16529
+ Xe,
16530
+ je,
16531
+ Le
16532
+ ]), React.useEffect(() => {
16533
+ Se.current && (Oe.current ? (Se.current.pause(), Z.current.isPlaying = !1, Z.current.isDragging = !0) : Z.current.isDragging = !1);
16534
+ }, [Oe]);
16535
+ const Ye = (Qe, st) => {
16536
+ Fe.current && Fe.current.isActive() && J.current && J.current.isActive() && !Oe.current && Se.current && (console.log("gsap on start 0020", $e, Qe, st), Se.current.play(), Z.current.isPlaying = !0);
16537
+ }, Ke = () => {
16538
+ var Qe;
16539
+ xe.current && ((Qe = Se.current) == null || Qe.stop(), Z.current.isPlaying = !1, Z.current.completed = !0);
16540
+ }, rt = (Qe) => {
16541
+ var at, Ze;
16542
+ const st = Qe + ((at = J.current) == null ? void 0 : at.time());
16543
+ Se.current && Oe.current ? (Se.current.seek(st), Se.current.pause(), Z.current.isPlaying = !1) : xe.current && !Z.current.isPlaying && ((Ze = Fe.current) != null && Ze.isActive()) && Se.current && (Se.current.seek(st), Se.current.play(), Z.current.isPlaying = !0), qe(), Ie.current && Ie.current.update();
16544
+ }, it = () => {
16463
16545
  };
16464
16546
  return useEffect(() => {
16465
- let ke = gsap$2.context(() => {
16547
+ let Qe = gsap$2.context(() => {
16466
16548
  });
16467
- if (B.current && Y.current) {
16468
- const $e = {
16469
- duration: Number(Me) - Number(Ae),
16470
- onStart: we,
16471
- onComplete: Pe,
16472
- onStartParams: [Ae, Me],
16549
+ if (xe.current && Fe.current) {
16550
+ const st = {
16551
+ duration: Number(ze) - Number(Ve),
16552
+ onStart: Ye,
16553
+ onComplete: Ke,
16554
+ onStartParams: [Ve, ze],
16473
16555
  onCompleteParams: [],
16474
- onInterrupt: Fe,
16475
- onUpdate: Ie,
16476
- onUpdateParams: [Ae, Me],
16477
- id: _e
16556
+ onInterrupt: it,
16557
+ onUpdate: rt,
16558
+ onUpdateParams: [Ve, ze],
16559
+ id: $e
16478
16560
  };
16479
- ke = gsap$2.context(() => {
16480
- V.current = gsap$2.from(
16481
- B.current,
16561
+ Qe = gsap$2.context(() => {
16562
+ J.current = gsap$2.from(
16563
+ xe.current,
16482
16564
  // @ts-ignore
16483
- $e,
16484
- Ae
16485
- ), Y.current.to(B.current, { alpha: 1, duration: 0.01 }, Z).to(B.current, { alpha: 0, duration: 0.1 }, Number(J)), Y.current.add(V.current, Z);
16565
+ st,
16566
+ Ve
16567
+ ), Fe.current.to(xe.current, { alpha: 1, duration: 0.01 }, Ue).to(xe.current, { alpha: 0, duration: 0.1 }, Number(He)), Fe.current.add(J.current, Ue);
16486
16568
  });
16487
16569
  }
16488
16570
  return () => {
16489
- V.current && (V.current.kill(), gsap$2.killTweensOf(V.current)), ke.revert();
16571
+ J.current && (J.current.kill(), gsap$2.killTweensOf(J.current)), Qe.revert();
16490
16572
  };
16491
- }, [Z, J, Ae, Me, _e]), React.useEffect(() => {
16492
- B.current && I(!0);
16493
- }, []), React.useEffect(() => (isEmpty$1(xe) || (X.current = new howler.Howl({
16494
- src: [xe],
16573
+ }, [Ue, He, Ve, ze, $e]), React.useEffect(() => (xe.current && B(!0), () => {
16574
+ console.log("unmounting audio sprite", $e), console.log("audioContainerRef.current", Se.current);
16575
+ }), []), React.useEffect(() => (Ie.current && Ie.current.update(), () => {
16576
+ }), [K]), React.useEffect(() => (isEmpty$1(U) || (Se.current = new howler.Howl({
16577
+ src: [U],
16495
16578
  // sprite: {
16496
16579
  // [uniqueId]: [audioStartAt * 1000, (audioEndAt - audioStartAt) * 1000],
16497
16580
  // },
16581
+ format: ["mp3"],
16582
+ // Specify the audio format(s) you're using
16583
+ html5: !0,
16584
+ // Use HTML5 audio
16498
16585
  autoplay: !1,
16499
16586
  loop: !1,
16500
- rate: Te || 1,
16501
- volume: !Se && Ee ? 1 : 0,
16587
+ rate: je || 1,
16588
+ /// volume: !mute && visible ? 1 : 0,
16502
16589
  onload: () => {
16503
- console.log("loaded audio sprite" + _e), U.current.loaded = !0, X.current && (Ae > 0 && X.current.seek(Ae), X.current.volume(!Se && Ee ? 1 : 0), X.current.rate(Te || 1), X.current.pause(), U.current.isPlaying = !1, U.current.completed = !1);
16590
+ if (Z.current.loaded = !0, Se.current && (Ve > 0 && Se.current.seek(Ve), Se.current.volume(!We && Xe ? 1 : 0), Se.current.rate(je || 1), Se.current.pause(), Z.current.isPlaying = !1, Z.current.completed = !1, !Te.current && Ne !== Waveforms.NONE)) {
16591
+ const Qe = Howler.ctx.createAnalyser();
16592
+ Qe.fftSize = 256;
16593
+ const st = Howler.ctx.createGain(), at = Howler.ctx.createMediaElementSource(
16594
+ // @ts-ignore
16595
+ Se.current._sounds[0]._node
16596
+ );
16597
+ if (at.connect(Qe), Qe.connect(st), st.connect(Howler.ctx.destination), Te.current = Qe, Me.current = at, Ee.current = st, Ae.current) {
16598
+ Ae.current.setAttribute("style", "display:none");
16599
+ const Ze = PIXI.Texture.from(Ae.current);
16600
+ Ie.current = Ze;
16601
+ }
16602
+ _e(!0);
16603
+ }
16504
16604
  },
16505
16605
  onend: () => {
16506
- console.log("end of playing audio sprite" + _e), U.current.isPlaying = !1, U.current.completed = !0;
16606
+ console.log("end of playing audio sprite" + $e), Z.current.isPlaying = !1, Z.current.completed = !0;
16507
16607
  },
16508
16608
  onplay: () => {
16509
- console.log("play of playing audio sprite" + _e), U.current.isPlaying = !0;
16609
+ console.log("play of playing audio sprite" + $e), Z.current.isPlaying = !0;
16510
16610
  },
16511
16611
  onpause: () => {
16512
- console.log("pause of playing audio sprite" + _e), U.current.isPlaying = !1;
16612
+ console.log("pause of playing audio sprite" + $e), Z.current.isPlaying = !1;
16513
16613
  },
16514
16614
  onstop: () => {
16515
- console.log("stop of playing audio sprite" + _e), U.current.isPlaying = !1;
16615
+ console.log("stop of playing audio sprite" + $e), Z.current.isPlaying = !1;
16516
16616
  }
16617
+ }), Howler.ctx.resume().then(() => {
16618
+ console.log("audio ctx resumed");
16517
16619
  })), () => {
16518
- X.current && X.current.unload();
16620
+ Se.current && Se.current.unload(), isEmpty$1(U) || URL.revokeObjectURL(U);
16519
16621
  }), [
16520
- _e,
16521
- xe,
16522
- Z,
16523
- J,
16524
- Ae,
16525
- Me,
16526
- Se,
16527
- Ee,
16528
- Te
16622
+ $e,
16623
+ Le,
16624
+ Ue,
16625
+ He,
16626
+ Ve,
16627
+ ze,
16628
+ We,
16629
+ Xe,
16630
+ je,
16631
+ U,
16632
+ Ne
16529
16633
  ]), React.useEffect(() => {
16530
- X.current && (console.log("running updateEffect 2002", _e, Me), X.current.volume(!Se && Ee ? 1 : 0), X.current.rate(Te || 1), U.current.isPlaying = !0);
16531
- }, [Se, Ee, Te]), // @ts-ignore
16532
- /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: B });
16533
- };
16634
+ Se.current && (console.log("running updateEffect 2002", $e, ze), Se.current.volume(!We && Xe ? 1 : 0), Se.current.rate(je || 1), Z.current.isPlaying = !0);
16635
+ }, [We, Xe, je]), // @ts-ignore
16636
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: xe, children: Ne !== Waveforms.NONE && K && Ie.current && /* @__PURE__ */ jsxRuntimeExports.jsx(
16637
+ AbstractContainer,
16638
+ {
16639
+ ...C,
16640
+ ref: E,
16641
+ ignoreTlForVideo: !0,
16642
+ isGif: !0,
16643
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
16644
+ Sprite,
16645
+ {
16646
+ texture: Ie.current,
16647
+ width: Be || 300,
16648
+ height: Re || 300,
16649
+ anchor: 0.5,
16650
+ x: ke,
16651
+ y: Ge,
16652
+ ref: Pe,
16653
+ alpha: Xe ? 1 : 0
16654
+ }
16655
+ )
16656
+ }
16657
+ ) });
16658
+ });
16534
16659
  function arrayMap$2(C, E) {
16535
16660
  for (var I = -1, B = C == null ? 0 : C.length, U = Array(B); ++I < B; )
16536
16661
  U[I] = E(C[I], I, C);
@@ -17069,17 +17194,17 @@ Object.defineProperty(lzw$1, "__esModule", {
17069
17194
  });
17070
17195
  lzw$1.lzw = void 0;
17071
17196
  var lzw = function(E, I, B) {
17072
- var U = 4096, V = -1, X = B, Y, K, _e, xe, Z, J, Se, ke, Te, Ae, Fe, Me, $e, Le, He, Ge, Ee = new Array(B), we = new Array(U), Pe = new Array(U), Ie = new Array(U + 1);
17197
+ var U = 4096, V = -1, X = B, Y, K, _e, xe, Z, J, Se, Oe, Te, Ae, Fe, Me, $e, Le, He, Ue, Ee = new Array(B), we = new Array(U), Pe = new Array(U), Ie = new Array(U + 1);
17073
17198
  for (Me = E, K = 1 << Me, Z = K + 1, Y = K + 2, Se = V, xe = Me + 1, _e = (1 << xe) - 1, Te = 0; Te < K; Te++)
17074
17199
  we[Te] = 0, Pe[Te] = Te;
17075
- var Fe, ke, $e, Le, Ge, He;
17076
- for (Fe = ke = $e = Le = Ge = He = 0, Ae = 0; Ae < X; ) {
17200
+ var Fe, Oe, $e, Le, Ue, He;
17201
+ for (Fe = Oe = $e = Le = Ue = He = 0, Ae = 0; Ae < X; ) {
17077
17202
  if (Le === 0) {
17078
- if (ke < xe) {
17079
- Fe += I[He] << ke, ke += 8, He++;
17203
+ if (Oe < xe) {
17204
+ Fe += I[He] << Oe, Oe += 8, He++;
17080
17205
  continue;
17081
17206
  }
17082
- if (Te = Fe & _e, Fe >>= xe, ke -= xe, Te > Y || Te == Z)
17207
+ if (Te = Fe & _e, Fe >>= xe, Oe -= xe, Te > Y || Te == Z)
17083
17208
  break;
17084
17209
  if (Te == K) {
17085
17210
  xe = Me + 1, _e = (1 << xe) - 1, Y = K + 2, Se = V;
@@ -17093,9 +17218,9 @@ var lzw = function(E, I, B) {
17093
17218
  Ie[Le++] = Pe[Te], Te = we[Te];
17094
17219
  $e = Pe[Te] & 255, Ie[Le++] = $e, Y < U && (we[Y] = Se, Pe[Y] = $e, Y++, !(Y & _e) && Y < U && (xe++, _e += Y)), Se = J;
17095
17220
  }
17096
- Le--, Ee[Ge++] = Ie[Le], Ae++;
17221
+ Le--, Ee[Ue++] = Ie[Le], Ae++;
17097
17222
  }
17098
- for (Ae = Ge; Ae < X; Ae++)
17223
+ for (Ae = Ue; Ae < X; Ae++)
17099
17224
  Ee[Ae] = 0;
17100
17225
  return Ee;
17101
17226
  };
@@ -17268,75 +17393,75 @@ const genearate = (C) => ({
17268
17393
  frameEndAt: Pe,
17269
17394
  loop: Ie,
17270
17395
  visible: Fe,
17271
- disabled: ke,
17272
- transformation: { width: $e = 0, height: Le = 0, x: Ge, y: He, colorCorrection: We = {} },
17273
- pointerdown: Xe
17396
+ disabled: Oe,
17397
+ transformation: { width: $e = 0, height: Le = 0, x: Ue, y: He, colorCorrection: We = {} },
17398
+ pointerdown: je
17274
17399
  } = C, { frames: Ve, delays: ze } = Z;
17275
17400
  useWorkerParser(Te, J);
17276
17401
  const {
17277
- temperatureFilter: je,
17402
+ temperatureFilter: Xe,
17278
17403
  sharpnessFilter: De,
17279
17404
  hueFilter: Be,
17280
17405
  blurFilter: Re,
17281
- adjustmentFilter: Oe,
17282
- vignetteFilter: Ue,
17406
+ adjustmentFilter: ke,
17407
+ vignetteFilter: Ge,
17283
17408
  noiseFilter: Ne
17284
- } = withFiltersHook(We), { blurRadius: qe = 0, vignette: Ye = 0, noise: Ke = 0 } = We, Qe = 0.1;
17409
+ } = withFiltersHook(We), { blurRadius: qe = 0, vignette: Ye = 0, noise: Ke = 0 } = We, rt = 0.1;
17285
17410
  React.useEffect(() => {
17286
17411
  if (!isEmpty$1(Ve)) {
17287
- const Je = map$1(Ve, (rt) => {
17288
- const { data: it, width: Ze, height: st } = rt, lt = new Uint8Array(it);
17289
- return PIXI.Texture.fromBuffer(lt, Ze, st);
17412
+ const Ze = map$1(Ve, (nt) => {
17413
+ const { data: tt, width: Je, height: ot } = nt, lt = new Uint8Array(tt);
17414
+ return PIXI.Texture.fromBuffer(lt, Je, ot);
17290
17415
  }).map(
17291
- (rt, it) => ({
17292
- texture: rt,
17293
- time: ze[it]
17416
+ (nt, tt) => ({
17417
+ texture: nt,
17418
+ time: ze[tt]
17294
17419
  })
17295
17420
  );
17296
- V(Je);
17297
- let tt = 0;
17298
- ze.forEach((rt) => {
17299
- tt += rt;
17300
- }), B(tt / 1e3), _e.current.totalDuration = tt, _e.current.totalFrames = Ve.length;
17421
+ V(Ze);
17422
+ let et = 0;
17423
+ ze.forEach((nt) => {
17424
+ et += nt;
17425
+ }), B(et / 1e3), _e.current.totalDuration = et, _e.current.totalFrames = Ve.length;
17301
17426
  }
17302
17427
  }, [Ae, Ve, ze]);
17303
- const et = () => {
17428
+ const it = () => {
17304
17429
  Y.current && (Y.current.stop(), _e.current.isPlaying = !1);
17305
- }, nt = () => {
17430
+ }, Qe = () => {
17306
17431
  if (Y.current && xe.current) {
17307
- const ot = xe.current.time();
17308
- let Je = ot === 0 ? 0 : ot / Qe;
17309
- Je = isNaN(Je) ? 0 : Je;
17310
- const tt = _e.current.totalFrames;
17311
- Je = Je > tt ? tt : Je, Je = Math.round(Je), Je >= tt ? (Y.current.gotoAndStop(0), _e.current.isPlaying = !1) : (Y.current.currentFrame = Je, _e.current.isPlaying = !0);
17432
+ const at = xe.current.time();
17433
+ let Ze = at === 0 ? 0 : at / rt;
17434
+ Ze = isNaN(Ze) ? 0 : Ze;
17435
+ const et = _e.current.totalFrames;
17436
+ Ze = Ze > et ? et : Ze, Ze = Math.round(Ze), Ze >= et ? (Y.current.gotoAndStop(0), _e.current.isPlaying = !1) : (Y.current.currentFrame = Ze, _e.current.isPlaying = !0);
17312
17437
  }
17313
- }, at = () => {
17438
+ }, st = () => {
17314
17439
  X(!0);
17315
17440
  };
17316
17441
  return useEffect(() => {
17317
- let ot = gsap$2.context(() => {
17442
+ let at = gsap$2.context(() => {
17318
17443
  });
17319
17444
  if (K.current && Se.current && I > 0) {
17320
- const Je = {
17445
+ const Ze = {
17321
17446
  duration: Number(I),
17322
- onInterrupt: et,
17323
- onUpdate: nt,
17447
+ onInterrupt: it,
17448
+ onUpdate: Qe,
17324
17449
  onUpdateParams: [we, Pe]
17325
- }, tt = Number(Ee) - Number(Me), rt = Math.max(
17450
+ }, et = Number(Ee) - Number(Me), nt = Math.max(
17326
17451
  0,
17327
- Math.floor(tt / I) - 1
17452
+ Math.floor(et / I) - 1
17328
17453
  );
17329
- xe.current && xe.current.kill(), ot = gsap$2.context(() => {
17330
- xe.current = gsap$2.timeline({ repeat: Ie ? rt : 0, repeatDelay: 0 }).from(
17454
+ xe.current && xe.current.kill(), at = gsap$2.context(() => {
17455
+ xe.current = gsap$2.timeline({ repeat: Ie ? nt : 0, repeatDelay: 0 }).from(
17331
17456
  K.current,
17332
17457
  // @ts-ignore
17333
- Je,
17458
+ Ze,
17334
17459
  we
17335
17460
  ), Se.current.add(xe.current, Me);
17336
17461
  });
17337
17462
  }
17338
17463
  return () => {
17339
- xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), ot.revert();
17464
+ xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), at.revert();
17340
17465
  };
17341
17466
  }, [
17342
17467
  Te,
@@ -17357,7 +17482,7 @@ const genearate = (C) => ({
17357
17482
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: K, children: !isEmpty$1(U) && /* @__PURE__ */ jsxRuntimeExports.jsx(
17358
17483
  PixiAnimatedSprite,
17359
17484
  {
17360
- x: Ge,
17485
+ x: Ue,
17361
17486
  y: He,
17362
17487
  width: $e,
17363
17488
  height: Le,
@@ -17365,19 +17490,19 @@ const genearate = (C) => ({
17365
17490
  alpha: Fe ? 1 : 0,
17366
17491
  loop: Ie,
17367
17492
  textures: U,
17368
- onComplete: at,
17493
+ onComplete: st,
17369
17494
  anchor: 0.5,
17370
17495
  forwardRef: Y,
17371
- ...!ke && Fe && { interactive: !0, pointerdown: Xe },
17496
+ ...!Oe && Fe && { interactive: !0, pointerdown: je },
17372
17497
  filters: [
17373
- je,
17498
+ Xe,
17374
17499
  De,
17375
17500
  Be,
17376
- Oe,
17501
+ ke,
17377
17502
  // conditionally add blur filter
17378
17503
  ...qe > 0 ? [Re] : [],
17379
17504
  // conditionally add vignette filter
17380
- ...Ye > 0 ? [Ue] : [],
17505
+ ...Ye > 0 ? [Ge] : [],
17381
17506
  // conditionally add noise filter
17382
17507
  ...Ke > 0 ? [Ne] : []
17383
17508
  ]
@@ -17403,42 +17528,42 @@ const genearate = (C) => ({
17403
17528
  fontSize: Ie = 16,
17404
17529
  fontVariant: Fe = "normal",
17405
17530
  // fill
17406
- fill: ke = "black",
17531
+ fill: Oe = "black",
17407
17532
  // stroke
17408
17533
  stroke: $e,
17409
17534
  strokeThickness: Le = 0,
17410
17535
  // drop shadow
17411
- blurRadius: Ge = 0,
17536
+ blurRadius: Ue = 0,
17412
17537
  blurEnabled: He = !1,
17413
17538
  dropShadowColor: We = null,
17414
- dropShadow: Xe = !1,
17539
+ dropShadow: je = !1,
17415
17540
  dropShadowBlur: Ve = 0,
17416
17541
  // multiline
17417
17542
  wordWrapWidth: ze = 5e7,
17418
- leading: je = 0,
17543
+ leading: Xe = 0,
17419
17544
  letterSpacing: De,
17420
17545
  colorCorrection: Be = {}
17421
17546
  } = J, {
17422
17547
  temperatureFilter: Re,
17423
- sharpnessFilter: Oe,
17424
- hueFilter: Ue,
17548
+ sharpnessFilter: ke,
17549
+ hueFilter: Ge,
17425
17550
  blurFilter: Ne,
17426
17551
  adjustmentFilter: qe
17427
17552
  } = withFiltersHook(Be), { blurRadius: Ye = 0 } = Be;
17428
17553
  React.useEffect(() => {
17429
17554
  Y.current = Number(Ie);
17430
17555
  }, [Ie]);
17431
- const Ke = ["italic", "oblique"].includes(Pe) ? Pe : void 0, Qe = ["small-caps"].includes(Fe), et = [
17556
+ const Ke = ["italic", "oblique"].includes(Pe) ? Pe : void 0, rt = ["small-caps"].includes(Fe), it = [
17432
17557
  "bold",
17433
17558
  "bolder",
17434
17559
  "lighter",
17435
17560
  "100",
17436
17561
  "200",
17437
17562
  "300"
17438
- ].includes(we) ? we : void 0, nt = Number(De) > 0 ? De : void 0, at = React.useMemo(() => new PIXI.TextStyle({
17563
+ ].includes(we) ? we : void 0, Qe = Number(De) > 0 ? De : void 0, st = React.useMemo(() => new PIXI.TextStyle({
17439
17564
  fontFamily: Ee,
17440
17565
  fontSize: Ie,
17441
- fill: ke || "white",
17566
+ fill: Oe || "white",
17442
17567
  //[color, '#00ff99'], // gradient
17443
17568
  ...$e && Le > 0 && {
17444
17569
  stroke: $e,
@@ -17447,21 +17572,21 @@ const genearate = (C) => ({
17447
17572
  ...Ke && {
17448
17573
  fontStyle: Ke
17449
17574
  },
17450
- ...Qe && {
17451
- fontVariant: Qe
17575
+ ...rt && {
17576
+ fontVariant: rt
17452
17577
  },
17453
- ...et && {
17454
- fontWeight: et
17578
+ ...it && {
17579
+ fontWeight: it
17455
17580
  },
17456
- ...nt && { letterSpacing: nt },
17581
+ ...Qe && { letterSpacing: Qe },
17457
17582
  ...He && {
17458
17583
  dropShadow: !0,
17459
- dropShadowBlur: Number(Ge),
17584
+ dropShadowBlur: Number(Ue),
17460
17585
  dropShadowColor: (We == null ? void 0 : We.toString()) || "black",
17461
17586
  dropShadowAngle: 0.5235987755982988,
17462
17587
  dropShadowDistance: 5
17463
17588
  },
17464
- ...Xe && {
17589
+ ...je && {
17465
17590
  dropShadow: !0,
17466
17591
  dropShadowBlur: Number(Ve),
17467
17592
  dropShadowColor: (We == null ? void 0 : We.toString()) || "black",
@@ -17471,25 +17596,25 @@ const genearate = (C) => ({
17471
17596
  wordWrap: !0,
17472
17597
  breakWords: !0,
17473
17598
  wordWrapWidth: ze || 500,
17474
- leading: je || 0
17599
+ leading: Xe || 0
17475
17600
  // lineHeight: lineHeight,
17476
17601
  }), [
17477
17602
  He,
17478
- Ge,
17479
- ke,
17603
+ Ue,
17604
+ Oe,
17480
17605
  Ee,
17481
17606
  Ie,
17482
17607
  Pe,
17483
- je,
17608
+ Xe,
17484
17609
  Ke,
17485
- et,
17610
+ it,
17611
+ rt,
17486
17612
  Qe,
17487
- nt,
17488
17613
  We,
17489
17614
  $e,
17490
17615
  Le,
17491
17616
  ze,
17492
- Xe,
17617
+ je,
17493
17618
  Ve
17494
17619
  ]);
17495
17620
  React.useEffect(() => {
@@ -17497,10 +17622,10 @@ const genearate = (C) => ({
17497
17622
  ...J
17498
17623
  };
17499
17624
  }, [J]);
17500
- const ot = () => {
17501
- const tt = (/* @__PURE__ */ new Date()).getTime();
17502
- tt - U.current < 300 && Te ? Te() : Se && Se(), U.current = tt;
17503
- }, Je = () => {
17625
+ const at = () => {
17626
+ const et = (/* @__PURE__ */ new Date()).getTime();
17627
+ et - U.current < 300 && Te ? Te() : Se && Se(), U.current = et;
17628
+ }, Ze = () => {
17504
17629
  !Z && Te && Te();
17505
17630
  };
17506
17631
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -17509,11 +17634,11 @@ const genearate = (C) => ({
17509
17634
  ...C,
17510
17635
  ref: E,
17511
17636
  isText: !0,
17512
- onDoubleClick: Je,
17637
+ onDoubleClick: Ze,
17513
17638
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: B, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { alpha: 1, ref: X, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17514
17639
  Text,
17515
17640
  {
17516
- style: at,
17641
+ style: st,
17517
17642
  x: Ae,
17518
17643
  y: Me,
17519
17644
  anchor: 0.5,
@@ -17522,13 +17647,13 @@ const genearate = (C) => ({
17522
17647
  ..._e && !Z && {
17523
17648
  interactive: !0,
17524
17649
  buttonMode: !0,
17525
- pointerdown: ot
17650
+ pointerdown: at
17526
17651
  },
17527
17652
  ref: V,
17528
17653
  filters: [
17529
17654
  Re,
17530
- Oe,
17531
- Ue,
17655
+ ke,
17656
+ Ge,
17532
17657
  qe,
17533
17658
  // conditionally add blur filter
17534
17659
  ...Ye > 0 ? [Ne] : []
@@ -17572,29 +17697,29 @@ function debounce(C, E, I) {
17572
17697
  if (typeof C != "function")
17573
17698
  throw new TypeError(FUNC_ERROR_TEXT);
17574
17699
  E = toNumber(E) || 0, isObject(I) && (xe = !!I.leading, Z = "maxWait" in I, V = Z ? nativeMax(toNumber(I.maxWait) || 0, E) : V, J = "trailing" in I ? !!I.trailing : J);
17575
- function Se(ke) {
17700
+ function Se(Oe) {
17576
17701
  var $e = B, Le = U;
17577
- return B = U = void 0, _e = ke, X = C.apply(Le, $e), X;
17702
+ return B = U = void 0, _e = Oe, X = C.apply(Le, $e), X;
17578
17703
  }
17579
- function Te(ke) {
17580
- return _e = ke, Y = setTimeout(Ee, E), xe ? Se(ke) : X;
17704
+ function Te(Oe) {
17705
+ return _e = Oe, Y = setTimeout(Ee, E), xe ? Se(Oe) : X;
17581
17706
  }
17582
- function Ae(ke) {
17583
- var $e = ke - K, Le = ke - _e, Ge = E - $e;
17584
- return Z ? nativeMin(Ge, V - Le) : Ge;
17707
+ function Ae(Oe) {
17708
+ var $e = Oe - K, Le = Oe - _e, Ue = E - $e;
17709
+ return Z ? nativeMin(Ue, V - Le) : Ue;
17585
17710
  }
17586
- function Me(ke) {
17587
- var $e = ke - K, Le = ke - _e;
17711
+ function Me(Oe) {
17712
+ var $e = Oe - K, Le = Oe - _e;
17588
17713
  return K === void 0 || $e >= E || $e < 0 || Z && Le >= V;
17589
17714
  }
17590
17715
  function Ee() {
17591
- var ke = now();
17592
- if (Me(ke))
17593
- return we(ke);
17594
- Y = setTimeout(Ee, Ae(ke));
17716
+ var Oe = now();
17717
+ if (Me(Oe))
17718
+ return we(Oe);
17719
+ Y = setTimeout(Ee, Ae(Oe));
17595
17720
  }
17596
- function we(ke) {
17597
- return Y = void 0, J && B ? Se(ke) : (B = U = void 0, X);
17721
+ function we(Oe) {
17722
+ return Y = void 0, J && B ? Se(Oe) : (B = U = void 0, X);
17598
17723
  }
17599
17724
  function Pe() {
17600
17725
  Y !== void 0 && clearTimeout(Y), _e = 0, B = K = U = Y = void 0;
@@ -17603,8 +17728,8 @@ function debounce(C, E, I) {
17603
17728
  return Y === void 0 ? X : we(now());
17604
17729
  }
17605
17730
  function Fe() {
17606
- var ke = now(), $e = Me(ke);
17607
- if (B = arguments, U = this, K = ke, $e) {
17731
+ var Oe = now(), $e = Me(Oe);
17732
+ if (B = arguments, U = this, K = Oe, $e) {
17608
17733
  if (Y === void 0)
17609
17734
  return Te(K);
17610
17735
  if (Z)
@@ -17659,25 +17784,25 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17659
17784
  frameEndAt: Me,
17660
17785
  visible: Ee,
17661
17786
  disabled: we,
17662
- transformation: { x: Pe, y: Ie, width: Fe, height: ke, animation: $e, colorCorrection: Le = {} },
17663
- pointerdown: Ge = () => {
17787
+ transformation: { x: Pe, y: Ie, width: Fe, height: Oe, animation: $e, colorCorrection: Le = {} },
17788
+ pointerdown: Ue = () => {
17664
17789
  },
17665
17790
  pointerout: He = () => {
17666
17791
  },
17667
17792
  pointerover: We = () => {
17668
17793
  },
17669
- fps: Xe = 0
17670
- } = C, { tl: Ve, dragModeRef: ze, isRemotion: je } = useContext(GsapPixieContext), { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(We, Ge, He, 1), { blurRadius: Oe = 0, vignette: Ue = 0, noise: Ne = 0 } = Le, {
17794
+ fps: je = 0
17795
+ } = C, { tl: Ve, dragModeRef: ze, isRemotion: Xe } = useContext(GsapPixieContext), { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(We, Ue, He, 1), { blurRadius: ke = 0, vignette: Ge = 0, noise: Ne = 0 } = Le, {
17671
17796
  temperatureFilter: qe,
17672
17797
  sharpnessFilter: Ye,
17673
17798
  hueFilter: Ke,
17674
- blurFilter: Qe,
17675
- adjustmentFilter: et,
17676
- vignetteFilter: nt,
17677
- noiseFilter: at
17678
- } = withFiltersHook(Le), ot = J || "", Je = React.useMemo(() => {
17679
- const st = document.createElement("video");
17680
- return st.src = J, st.crossOrigin = "Anonymus", st.autoplay = !1, st.currentTime = Ae === 0 ? 1e-3 : Ae, st;
17799
+ blurFilter: rt,
17800
+ adjustmentFilter: it,
17801
+ vignetteFilter: Qe,
17802
+ noiseFilter: st
17803
+ } = withFiltersHook(Le), at = J || "", Ze = React.useMemo(() => {
17804
+ const ot = document.createElement("video");
17805
+ return ot.src = J, ot.crossOrigin = "Anonymus", ot.autoplay = !1, ot.currentTime = Ae === 0 ? 1e-3 : Ae, ot;
17681
17806
  }, [J, Ae]);
17682
17807
  useCustomEventListener(Events.PAUSE, () => {
17683
17808
  Y.current && (Y.current.pause(), K.current.isPlaying = !1);
@@ -17686,41 +17811,41 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17686
17811
  }), useCustomEventListener(Events.REVERSE_MODE_END, () => {
17687
17812
  Y.current && (Y.current.pause(), K.current.isPlaying = !1);
17688
17813
  });
17689
- const tt = (st) => {
17814
+ const et = (ot) => {
17690
17815
  if (Y.current) {
17691
- if (Y.current.currentTime = Number(st), !ze.current) {
17692
- const lt = Y.current, ut = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
17693
- Ve.current && Ve.current.isActive() && _e.current && _e.current.isActive() && (ut || Y.current.play(), K.current.isPlaying = !0);
17816
+ if (Y.current.currentTime = Number(ot), !ze.current) {
17817
+ const lt = Y.current, ht = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
17818
+ Ve.current && Ve.current.isActive() && _e.current && _e.current.isActive() && (ht || Y.current.play(), K.current.isPlaying = !0);
17694
17819
  }
17695
17820
  K.current.progress = 0;
17696
17821
  }
17697
- }, rt = () => {
17822
+ }, nt = () => {
17698
17823
  if (Y.current) {
17699
- const st = Y.current;
17700
- st.currentTime > 0 && !st.paused && !st.ended && st.readyState > st.HAVE_CURRENT_DATA && Y.current.pause(), K.current.isPlaying = !1, _e.current && (K.current.progress = _e.current.progress());
17824
+ const ot = Y.current;
17825
+ ot.currentTime > 0 && !ot.paused && !ot.ended && ot.readyState > ot.HAVE_CURRENT_DATA && Y.current.pause(), K.current.isPlaying = !1, _e.current && (K.current.progress = _e.current.progress());
17701
17826
  }
17702
- }, it = () => {
17703
- }, Ze = () => {
17704
- var st, lt;
17827
+ }, tt = () => {
17828
+ }, Je = () => {
17829
+ var ot, lt;
17705
17830
  if (_e.current && (K.current.progress = _e.current.progress()), Y.current && _e.current) {
17706
- const ut = Ae + ((st = _e == null ? void 0 : _e.current) == null ? void 0 : st.time()), ct = Math.abs(
17707
- Y.current.currentTime - ut
17708
- ), ht = Y.current, ft = ht.currentTime > 0 && !ht.paused && !ht.ended && ht.readyState > ht.HAVE_CURRENT_DATA;
17709
- ze.current && U.current ? (Y.current.currentTime = ut, U.current.update(), K.current.isPlaying = !1) : (ft !== K.current.isPlaying || !ft) && K.current.progress > 0.01 && K.current.progress < 0.99 ? (lt = Ve.current) != null && lt.isActive() && _e.current && _e.current.isActive() && (ft || Y.current.play(), K.current.isPlaying = !0) : ct > 0.3 && K.current.progress > 0.01 && K.current.progress < 0.99 && (Y.current.currentTime = ut);
17831
+ const ht = Ae + ((ot = _e == null ? void 0 : _e.current) == null ? void 0 : ot.time()), ct = Math.abs(
17832
+ Y.current.currentTime - ht
17833
+ ), ft = Y.current, ut = ft.currentTime > 0 && !ft.paused && !ft.ended && ft.readyState > ft.HAVE_CURRENT_DATA;
17834
+ ze.current && U.current ? (Y.current.currentTime = ht, U.current.update(), K.current.isPlaying = !1) : (ut !== K.current.isPlaying || !ut) && K.current.progress > 0.01 && K.current.progress < 0.99 ? (lt = Ve.current) != null && lt.isActive() && _e.current && _e.current.isActive() && (ut || Y.current.play(), K.current.isPlaying = !0) : ct > 0.3 && K.current.progress > 0.01 && K.current.progress < 0.99 && (Y.current.currentTime = ht);
17710
17835
  }
17711
17836
  };
17712
17837
  return useEffect(() => {
17713
- let st = gsap$2.context(() => {
17838
+ let ot = gsap$2.context(() => {
17714
17839
  });
17715
17840
  if (X.current && Ve.current) {
17716
17841
  const lt = {
17717
17842
  duration: Number(Te) - Number(Se),
17718
- onStart: tt,
17719
- onComplete: rt,
17843
+ onStart: et,
17844
+ onComplete: nt,
17720
17845
  onStartParams: [Ae, Me],
17721
17846
  onCompleteParams: [],
17722
- onInterrupt: it,
17723
- onUpdate: Ze,
17847
+ onInterrupt: tt,
17848
+ onUpdate: Je,
17724
17849
  onUpdateParams: [Ae, Me],
17725
17850
  onPause: () => {
17726
17851
  console.log("onPause video sprite pause", xe);
@@ -17738,7 +17863,7 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17738
17863
  console.log("onKill video sprite kill", xe);
17739
17864
  }
17740
17865
  };
17741
- _e.current && (_e.current.kill(), Ve.current.remove(_e.current)), st = gsap$2.context(() => {
17866
+ _e.current && (_e.current.kill(), Ve.current.remove(_e.current)), ot = gsap$2.context(() => {
17742
17867
  _e.current = gsap$2.to(
17743
17868
  X.current,
17744
17869
  // @ts-ignore
@@ -17748,49 +17873,49 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17748
17873
  });
17749
17874
  }
17750
17875
  return () => {
17751
- _e.current && (_e.current.kill(), gsap$2.killTweensOf(_e.current)), st.revert();
17876
+ _e.current && (_e.current.kill(), gsap$2.killTweensOf(_e.current)), ot.revert();
17752
17877
  };
17753
17878
  }, [$e, Se, Te, Ae, Me, xe]), React.useEffect(() => {
17754
17879
  Y.current && (Y.current.muted = Z, K.current.isMuted = Z);
17755
- const st = setTimeout(() => {
17880
+ const ot = setTimeout(() => {
17756
17881
  Y.current && (Y.current.muted = Z, K.current.isMuted = Z);
17757
17882
  }, 1500);
17758
17883
  return () => {
17759
- clearTimeout(st);
17884
+ clearTimeout(ot);
17760
17885
  };
17761
17886
  }, [Z]), React.useEffect(() => {
17762
- const st = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, lt = function() {
17763
- Y.current && (Y.current.currentTime = st, Y.current.muted = Z);
17764
- }, ut = function() {
17887
+ const ot = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, lt = function() {
17888
+ Y.current && (Y.current.currentTime = ot, Y.current.muted = Z);
17889
+ }, ht = function() {
17765
17890
  K.current.isWaiting = !1, K.current.isStalled = !1;
17766
17891
  }, ct = function() {
17767
17892
  K.current.isWaiting = !0, K.current.isStalled = !1;
17768
- }, ht = function() {
17769
- K.current.isWaiting = !1, K.current.isStalled = !1;
17770
17893
  }, ft = function() {
17894
+ K.current.isWaiting = !1, K.current.isStalled = !1;
17895
+ }, ut = function() {
17771
17896
  K.current.isWaiting = !1, K.current.isStalled = !0;
17772
- }, dt = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, gt = Math.round((Number(Me) + Number.EPSILON) * 100) / 100, vt = `${ot}#t=${dt},${gt}`;
17773
- return PIXI.Texture.fromLoader(Je, vt, xe, {
17897
+ }, dt = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, gt = Math.round((Number(Me) + Number.EPSILON) * 100) / 100, vt = `${at}#t=${dt},${gt}`;
17898
+ return PIXI.Texture.fromLoader(Ze, vt, xe, {
17774
17899
  pixiIdPrefix: xe,
17775
17900
  resourceOptions: {
17776
17901
  autoPlay: !1,
17777
17902
  crossorigin: "Anonymus",
17778
- updateFPS: Xe ? Math.max(120, Number(Xe)) : 30
17903
+ updateFPS: je ? Math.max(120, Number(je)) : 30
17779
17904
  }
17780
17905
  }).then((pt) => {
17781
- pt && (U.current = pt, B(!0), Y.current = pt.baseTexture.resource.source, Y.current.id = xe, Y.current.addEventListener("loadedmetadata", lt), Y.current.addEventListener("ended", ut), Y.current.addEventListener("loadstart", ct), Y.current.addEventListener("canplaythrough", ht), Y.current.addEventListener("stalled", ft));
17906
+ pt && (U.current = pt, B(!0), Y.current = pt.baseTexture.resource.source, Y.current.id = xe, Y.current.addEventListener("loadedmetadata", lt), Y.current.addEventListener("ended", ht), Y.current.addEventListener("loadstart", ct), Y.current.addEventListener("canplaythrough", ft), Y.current.addEventListener("stalled", ut));
17782
17907
  }), () => {
17783
- Y.current && (Y.current.pause(), Y.current.removeEventListener("loadedmetadata", lt), Y.current.removeEventListener("ended", ut), Y.current.removeEventListener("loadstart", ct), Y.current.removeEventListener(
17908
+ Y.current && (Y.current.pause(), Y.current.removeEventListener("loadedmetadata", lt), Y.current.removeEventListener("ended", ht), Y.current.removeEventListener("loadstart", ct), Y.current.removeEventListener(
17784
17909
  "canplaythrough",
17785
- ht
17786
- ), Y.current.removeEventListener("stalled", ft));
17910
+ ft
17911
+ ), Y.current.removeEventListener("stalled", ut));
17787
17912
  };
17788
- }, [ot, xe, Ae, Me, Je]), React.useEffect(() => {
17789
- const st = setTimeout(() => {
17790
- I && U.current && _e.current && Ve.current && _e.current.progress() < 0.1 && Y.current && !_e.current.isActive() && !je && (Y.current.currentTime = Ae, U.current.update());
17913
+ }, [at, xe, Ae, Me, Ze]), React.useEffect(() => {
17914
+ const ot = setTimeout(() => {
17915
+ I && U.current && _e.current && Ve.current && _e.current.progress() < 0.1 && Y.current && !_e.current.isActive() && !Xe && (Y.current.currentTime = Ae, U.current.update());
17791
17916
  }, 30);
17792
17917
  return () => {
17793
- clearTimeout(st);
17918
+ clearTimeout(ot);
17794
17919
  };
17795
17920
  }, [I]), /* @__PURE__ */ jsxRuntimeExports.jsx(
17796
17921
  AbstractContainer,
@@ -17806,24 +17931,24 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17806
17931
  {
17807
17932
  texture: U.current,
17808
17933
  width: Fe,
17809
- height: ke,
17934
+ height: Oe,
17810
17935
  anchor: 0.5,
17811
17936
  x: Pe,
17812
17937
  y: Ie,
17813
17938
  ref: V,
17814
17939
  alpha: Ee ? 1 : 0,
17815
- ...!we && Ee && { interactive: !0, pointerdown: Ge },
17940
+ ...!we && Ee && { interactive: !0, pointerdown: Ue },
17816
17941
  filters: [
17817
17942
  qe,
17818
17943
  Ye,
17819
17944
  Ke,
17820
- et,
17945
+ it,
17821
17946
  // conditionally add blur filter
17822
- ...Oe > 0 ? [Qe] : [],
17947
+ ...ke > 0 ? [rt] : [],
17823
17948
  // conditionally add vignette filter
17824
- ...Ue > 0 ? [nt] : [],
17949
+ ...Ge > 0 ? [Qe] : [],
17825
17950
  // conditionally add noise filter
17826
- ...Ne > 0 ? [at] : []
17951
+ ...Ne > 0 ? [st] : []
17827
17952
  ]
17828
17953
  }
17829
17954
  ) })
@@ -17846,14 +17971,14 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17846
17971
  pointerover: Ae = () => {
17847
17972
  },
17848
17973
  canvasImageRef: Me
17849
- } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: ke = 0, vignette: $e = 0, noise: Le = 0 } = J, {
17850
- temperatureFilter: Ge,
17974
+ } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: Oe = 0, vignette: $e = 0, noise: Le = 0 } = J, {
17975
+ temperatureFilter: Ue,
17851
17976
  sharpnessFilter: He,
17852
17977
  hueFilter: We,
17853
- blurFilter: Xe,
17978
+ blurFilter: je,
17854
17979
  adjustmentFilter: Ve,
17855
17980
  vignetteFilter: ze,
17856
- noiseFilter: je
17981
+ noiseFilter: Xe
17857
17982
  } = withFiltersHook(J);
17858
17983
  return useTick(() => {
17859
17984
  if (U.current && U.current.texture) {
@@ -17887,16 +18012,16 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17887
18012
  alpha: X ? 1 : 0,
17888
18013
  ...!Y && X && { interactive: !0, pointerdown: Se },
17889
18014
  filters: [
17890
- Ge,
18015
+ Ue,
17891
18016
  He,
17892
18017
  We,
17893
18018
  Ve,
17894
18019
  // conditionally add blur filter
17895
- ...ke > 0 ? [Xe] : [],
18020
+ ...Oe > 0 ? [je] : [],
17896
18021
  // conditionally add vignette filter
17897
18022
  ...$e > 0 ? [ze] : [],
17898
18023
  // conditionally add noise filter
17899
- ...Le > 0 ? [je] : []
18024
+ ...Le > 0 ? [Xe] : []
17900
18025
  ]
17901
18026
  }
17902
18027
  ) })
@@ -17947,14 +18072,14 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17947
18072
  pointerover: Ae = () => {
17948
18073
  },
17949
18074
  canvasImageRef: Me
17950
- } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: ke = 0, vignette: $e = 0, noise: Le = 0 } = J, {
17951
- temperatureFilter: Ge,
18075
+ } = C, Ee = Me && (Me == null ? void 0 : Me.getCanvas()), we = useApp(), { onPointerDown: Pe, onPointerOut: Ie, onPointerOver: Fe } = useDebouncedPointerEvents(Ae, Se, Te, 1), { blurRadius: Oe = 0, vignette: $e = 0, noise: Le = 0 } = J, {
18076
+ temperatureFilter: Ue,
17952
18077
  sharpnessFilter: He,
17953
18078
  hueFilter: We,
17954
- blurFilter: Xe,
18079
+ blurFilter: je,
17955
18080
  adjustmentFilter: Ve,
17956
18081
  vignetteFilter: ze,
17957
- noiseFilter: je
18082
+ noiseFilter: Xe
17958
18083
  } = withFiltersHook(J);
17959
18084
  return useTick(() => {
17960
18085
  if (U.current && U.current.texture) {
@@ -17988,16 +18113,16 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17988
18113
  alpha: X ? 1 : 0,
17989
18114
  ...!Y && X && { interactive: !0, pointerdown: Se },
17990
18115
  filters: [
17991
- Ge,
18116
+ Ue,
17992
18117
  He,
17993
18118
  We,
17994
18119
  Ve,
17995
18120
  // conditionally add blur filter
17996
- ...ke > 0 ? [Xe] : [],
18121
+ ...Oe > 0 ? [je] : [],
17997
18122
  // conditionally add vignette filter
17998
18123
  ...$e > 0 ? [ze] : [],
17999
18124
  // conditionally add noise filter
18000
- ...Le > 0 ? [je] : []
18125
+ ...Le > 0 ? [Xe] : []
18001
18126
  ]
18002
18127
  }
18003
18128
  ) })
@@ -18301,93 +18426,93 @@ var lottie$1 = { exports: {} };
18301
18426
  function Y() {
18302
18427
  B || (B = X(function(Se) {
18303
18428
  function Te() {
18304
- function Me(je, De) {
18305
- var Be, Re, Oe = je.length, Ue, Ne, qe, Ye;
18306
- for (Re = 0; Re < Oe; Re += 1)
18307
- if (Be = je[Re], "ks" in Be && !Be.completed) {
18429
+ function Me(Xe, De) {
18430
+ var Be, Re, ke = Xe.length, Ge, Ne, qe, Ye;
18431
+ for (Re = 0; Re < ke; Re += 1)
18432
+ if (Be = Xe[Re], "ks" in Be && !Be.completed) {
18308
18433
  if (Be.completed = !0, Be.hasMask) {
18309
18434
  var Ke = Be.masksProperties;
18310
- for (Ne = Ke.length, Ue = 0; Ue < Ne; Ue += 1)
18311
- if (Ke[Ue].pt.k.i)
18312
- Fe(Ke[Ue].pt.k);
18435
+ for (Ne = Ke.length, Ge = 0; Ge < Ne; Ge += 1)
18436
+ if (Ke[Ge].pt.k.i)
18437
+ Fe(Ke[Ge].pt.k);
18313
18438
  else
18314
- for (Ye = Ke[Ue].pt.k.length, qe = 0; qe < Ye; qe += 1)
18315
- Ke[Ue].pt.k[qe].s && Fe(Ke[Ue].pt.k[qe].s[0]), Ke[Ue].pt.k[qe].e && Fe(Ke[Ue].pt.k[qe].e[0]);
18439
+ for (Ye = Ke[Ge].pt.k.length, qe = 0; qe < Ye; qe += 1)
18440
+ Ke[Ge].pt.k[qe].s && Fe(Ke[Ge].pt.k[qe].s[0]), Ke[Ge].pt.k[qe].e && Fe(Ke[Ge].pt.k[qe].e[0]);
18316
18441
  }
18317
18442
  Be.ty === 0 ? (Be.layers = Pe(Be.refId, De), Me(Be.layers, De)) : Be.ty === 4 ? Ie(Be.shapes) : Be.ty === 5 && Ve(Be);
18318
18443
  }
18319
18444
  }
18320
- function Ee(je, De) {
18321
- if (je) {
18322
- var Be = 0, Re = je.length;
18445
+ function Ee(Xe, De) {
18446
+ if (Xe) {
18447
+ var Be = 0, Re = Xe.length;
18323
18448
  for (Be = 0; Be < Re; Be += 1)
18324
- je[Be].t === 1 && (je[Be].data.layers = Pe(je[Be].data.refId, De), Me(je[Be].data.layers, De));
18449
+ Xe[Be].t === 1 && (Xe[Be].data.layers = Pe(Xe[Be].data.refId, De), Me(Xe[Be].data.layers, De));
18325
18450
  }
18326
18451
  }
18327
- function we(je, De) {
18452
+ function we(Xe, De) {
18328
18453
  for (var Be = 0, Re = De.length; Be < Re; ) {
18329
- if (De[Be].id === je)
18454
+ if (De[Be].id === Xe)
18330
18455
  return De[Be];
18331
18456
  Be += 1;
18332
18457
  }
18333
18458
  return null;
18334
18459
  }
18335
- function Pe(je, De) {
18336
- var Be = we(je, De);
18460
+ function Pe(Xe, De) {
18461
+ var Be = we(Xe, De);
18337
18462
  return Be ? Be.layers.__used ? JSON.parse(JSON.stringify(Be.layers)) : (Be.layers.__used = !0, Be.layers) : null;
18338
18463
  }
18339
- function Ie(je) {
18340
- var De, Be = je.length, Re, Oe;
18464
+ function Ie(Xe) {
18465
+ var De, Be = Xe.length, Re, ke;
18341
18466
  for (De = Be - 1; De >= 0; De -= 1)
18342
- if (je[De].ty === "sh")
18343
- if (je[De].ks.k.i)
18344
- Fe(je[De].ks.k);
18467
+ if (Xe[De].ty === "sh")
18468
+ if (Xe[De].ks.k.i)
18469
+ Fe(Xe[De].ks.k);
18345
18470
  else
18346
- for (Oe = je[De].ks.k.length, Re = 0; Re < Oe; Re += 1)
18347
- je[De].ks.k[Re].s && Fe(je[De].ks.k[Re].s[0]), je[De].ks.k[Re].e && Fe(je[De].ks.k[Re].e[0]);
18471
+ for (ke = Xe[De].ks.k.length, Re = 0; Re < ke; Re += 1)
18472
+ Xe[De].ks.k[Re].s && Fe(Xe[De].ks.k[Re].s[0]), Xe[De].ks.k[Re].e && Fe(Xe[De].ks.k[Re].e[0]);
18348
18473
  else
18349
- je[De].ty === "gr" && Ie(je[De].it);
18474
+ Xe[De].ty === "gr" && Ie(Xe[De].it);
18350
18475
  }
18351
- function Fe(je) {
18352
- var De, Be = je.i.length;
18476
+ function Fe(Xe) {
18477
+ var De, Be = Xe.i.length;
18353
18478
  for (De = 0; De < Be; De += 1)
18354
- je.i[De][0] += je.v[De][0], je.i[De][1] += je.v[De][1], je.o[De][0] += je.v[De][0], je.o[De][1] += je.v[De][1];
18479
+ Xe.i[De][0] += Xe.v[De][0], Xe.i[De][1] += Xe.v[De][1], Xe.o[De][0] += Xe.v[De][0], Xe.o[De][1] += Xe.v[De][1];
18355
18480
  }
18356
- function ke(je, De) {
18481
+ function Oe(Xe, De) {
18357
18482
  var Be = De ? De.split(".") : [100, 100, 100];
18358
- return je[0] > Be[0] ? !0 : Be[0] > je[0] ? !1 : je[1] > Be[1] ? !0 : Be[1] > je[1] ? !1 : je[2] > Be[2] ? !0 : Be[2] > je[2] ? !1 : null;
18483
+ return Xe[0] > Be[0] ? !0 : Be[0] > Xe[0] ? !1 : Xe[1] > Be[1] ? !0 : Be[1] > Xe[1] ? !1 : Xe[2] > Be[2] ? !0 : Be[2] > Xe[2] ? !1 : null;
18359
18484
  }
18360
18485
  var $e = function() {
18361
- var je = [4, 4, 14];
18486
+ var Xe = [4, 4, 14];
18362
18487
  function De(Re) {
18363
- var Oe = Re.t.d;
18488
+ var ke = Re.t.d;
18364
18489
  Re.t.d = {
18365
18490
  k: [{
18366
- s: Oe,
18491
+ s: ke,
18367
18492
  t: 0
18368
18493
  }]
18369
18494
  };
18370
18495
  }
18371
18496
  function Be(Re) {
18372
- var Oe, Ue = Re.length;
18373
- for (Oe = 0; Oe < Ue; Oe += 1)
18374
- Re[Oe].ty === 5 && De(Re[Oe]);
18497
+ var ke, Ge = Re.length;
18498
+ for (ke = 0; ke < Ge; ke += 1)
18499
+ Re[ke].ty === 5 && De(Re[ke]);
18375
18500
  }
18376
18501
  return function(Re) {
18377
- if (ke(je, Re.v) && (Be(Re.layers), Re.assets)) {
18378
- var Oe, Ue = Re.assets.length;
18379
- for (Oe = 0; Oe < Ue; Oe += 1)
18380
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18502
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18503
+ var ke, Ge = Re.assets.length;
18504
+ for (ke = 0; ke < Ge; ke += 1)
18505
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18381
18506
  }
18382
18507
  };
18383
18508
  }(), Le = function() {
18384
- var je = [4, 7, 99];
18509
+ var Xe = [4, 7, 99];
18385
18510
  return function(De) {
18386
- if (De.chars && !ke(je, De.v)) {
18511
+ if (De.chars && !Oe(Xe, De.v)) {
18387
18512
  var Be, Re = De.chars.length;
18388
18513
  for (Be = 0; Be < Re; Be += 1) {
18389
- var Oe = De.chars[Be];
18390
- Oe.data && Oe.data.shapes && (Ie(Oe.data.shapes), Oe.data.ip = 0, Oe.data.op = 99999, Oe.data.st = 0, Oe.data.sr = 1, Oe.data.ks = {
18514
+ var ke = De.chars[Be];
18515
+ ke.data && ke.data.shapes && (Ie(ke.data.shapes), ke.data.ip = 0, ke.data.op = 99999, ke.data.st = 0, ke.data.sr = 1, ke.data.ks = {
18391
18516
  p: {
18392
18517
  k: [0, 0],
18393
18518
  a: 0
@@ -18408,9 +18533,9 @@ var lottie$1 = { exports: {} };
18408
18533
  k: 100,
18409
18534
  a: 0
18410
18535
  }
18411
- }, De.chars[Be].t || (Oe.data.shapes.push({
18536
+ }, De.chars[Be].t || (ke.data.shapes.push({
18412
18537
  ty: "no"
18413
- }), Oe.data.shapes[0].it.push({
18538
+ }), ke.data.shapes[0].it.push({
18414
18539
  p: {
18415
18540
  k: [0, 0],
18416
18541
  a: 0
@@ -18444,104 +18569,104 @@ var lottie$1 = { exports: {} };
18444
18569
  }
18445
18570
  }
18446
18571
  };
18447
- }(), Ge = function() {
18448
- var je = [5, 7, 15];
18572
+ }(), Ue = function() {
18573
+ var Xe = [5, 7, 15];
18449
18574
  function De(Re) {
18450
- var Oe = Re.t.p;
18451
- typeof Oe.a == "number" && (Oe.a = {
18575
+ var ke = Re.t.p;
18576
+ typeof ke.a == "number" && (ke.a = {
18452
18577
  a: 0,
18453
- k: Oe.a
18454
- }), typeof Oe.p == "number" && (Oe.p = {
18578
+ k: ke.a
18579
+ }), typeof ke.p == "number" && (ke.p = {
18455
18580
  a: 0,
18456
- k: Oe.p
18457
- }), typeof Oe.r == "number" && (Oe.r = {
18581
+ k: ke.p
18582
+ }), typeof ke.r == "number" && (ke.r = {
18458
18583
  a: 0,
18459
- k: Oe.r
18584
+ k: ke.r
18460
18585
  });
18461
18586
  }
18462
18587
  function Be(Re) {
18463
- var Oe, Ue = Re.length;
18464
- for (Oe = 0; Oe < Ue; Oe += 1)
18465
- Re[Oe].ty === 5 && De(Re[Oe]);
18588
+ var ke, Ge = Re.length;
18589
+ for (ke = 0; ke < Ge; ke += 1)
18590
+ Re[ke].ty === 5 && De(Re[ke]);
18466
18591
  }
18467
18592
  return function(Re) {
18468
- if (ke(je, Re.v) && (Be(Re.layers), Re.assets)) {
18469
- var Oe, Ue = Re.assets.length;
18470
- for (Oe = 0; Oe < Ue; Oe += 1)
18471
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18593
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18594
+ var ke, Ge = Re.assets.length;
18595
+ for (ke = 0; ke < Ge; ke += 1)
18596
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18472
18597
  }
18473
18598
  };
18474
18599
  }(), He = function() {
18475
- var je = [4, 1, 9];
18600
+ var Xe = [4, 1, 9];
18476
18601
  function De(Re) {
18477
- var Oe, Ue = Re.length, Ne, qe;
18478
- for (Oe = 0; Oe < Ue; Oe += 1)
18479
- if (Re[Oe].ty === "gr")
18480
- De(Re[Oe].it);
18481
- else if (Re[Oe].ty === "fl" || Re[Oe].ty === "st")
18482
- if (Re[Oe].c.k && Re[Oe].c.k[0].i)
18483
- for (qe = Re[Oe].c.k.length, Ne = 0; Ne < qe; Ne += 1)
18484
- Re[Oe].c.k[Ne].s && (Re[Oe].c.k[Ne].s[0] /= 255, Re[Oe].c.k[Ne].s[1] /= 255, Re[Oe].c.k[Ne].s[2] /= 255, Re[Oe].c.k[Ne].s[3] /= 255), Re[Oe].c.k[Ne].e && (Re[Oe].c.k[Ne].e[0] /= 255, Re[Oe].c.k[Ne].e[1] /= 255, Re[Oe].c.k[Ne].e[2] /= 255, Re[Oe].c.k[Ne].e[3] /= 255);
18602
+ var ke, Ge = Re.length, Ne, qe;
18603
+ for (ke = 0; ke < Ge; ke += 1)
18604
+ if (Re[ke].ty === "gr")
18605
+ De(Re[ke].it);
18606
+ else if (Re[ke].ty === "fl" || Re[ke].ty === "st")
18607
+ if (Re[ke].c.k && Re[ke].c.k[0].i)
18608
+ for (qe = Re[ke].c.k.length, Ne = 0; Ne < qe; Ne += 1)
18609
+ Re[ke].c.k[Ne].s && (Re[ke].c.k[Ne].s[0] /= 255, Re[ke].c.k[Ne].s[1] /= 255, Re[ke].c.k[Ne].s[2] /= 255, Re[ke].c.k[Ne].s[3] /= 255), Re[ke].c.k[Ne].e && (Re[ke].c.k[Ne].e[0] /= 255, Re[ke].c.k[Ne].e[1] /= 255, Re[ke].c.k[Ne].e[2] /= 255, Re[ke].c.k[Ne].e[3] /= 255);
18485
18610
  else
18486
- Re[Oe].c.k[0] /= 255, Re[Oe].c.k[1] /= 255, Re[Oe].c.k[2] /= 255, Re[Oe].c.k[3] /= 255;
18611
+ Re[ke].c.k[0] /= 255, Re[ke].c.k[1] /= 255, Re[ke].c.k[2] /= 255, Re[ke].c.k[3] /= 255;
18487
18612
  }
18488
18613
  function Be(Re) {
18489
- var Oe, Ue = Re.length;
18490
- for (Oe = 0; Oe < Ue; Oe += 1)
18491
- Re[Oe].ty === 4 && De(Re[Oe].shapes);
18614
+ var ke, Ge = Re.length;
18615
+ for (ke = 0; ke < Ge; ke += 1)
18616
+ Re[ke].ty === 4 && De(Re[ke].shapes);
18492
18617
  }
18493
18618
  return function(Re) {
18494
- if (ke(je, Re.v) && (Be(Re.layers), Re.assets)) {
18495
- var Oe, Ue = Re.assets.length;
18496
- for (Oe = 0; Oe < Ue; Oe += 1)
18497
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18619
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18620
+ var ke, Ge = Re.assets.length;
18621
+ for (ke = 0; ke < Ge; ke += 1)
18622
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18498
18623
  }
18499
18624
  };
18500
18625
  }(), We = function() {
18501
- var je = [4, 4, 18];
18626
+ var Xe = [4, 4, 18];
18502
18627
  function De(Re) {
18503
- var Oe, Ue = Re.length, Ne, qe;
18504
- for (Oe = Ue - 1; Oe >= 0; Oe -= 1)
18505
- if (Re[Oe].ty === "sh")
18506
- if (Re[Oe].ks.k.i)
18507
- Re[Oe].ks.k.c = Re[Oe].closed;
18628
+ var ke, Ge = Re.length, Ne, qe;
18629
+ for (ke = Ge - 1; ke >= 0; ke -= 1)
18630
+ if (Re[ke].ty === "sh")
18631
+ if (Re[ke].ks.k.i)
18632
+ Re[ke].ks.k.c = Re[ke].closed;
18508
18633
  else
18509
- for (qe = Re[Oe].ks.k.length, Ne = 0; Ne < qe; Ne += 1)
18510
- Re[Oe].ks.k[Ne].s && (Re[Oe].ks.k[Ne].s[0].c = Re[Oe].closed), Re[Oe].ks.k[Ne].e && (Re[Oe].ks.k[Ne].e[0].c = Re[Oe].closed);
18634
+ for (qe = Re[ke].ks.k.length, Ne = 0; Ne < qe; Ne += 1)
18635
+ Re[ke].ks.k[Ne].s && (Re[ke].ks.k[Ne].s[0].c = Re[ke].closed), Re[ke].ks.k[Ne].e && (Re[ke].ks.k[Ne].e[0].c = Re[ke].closed);
18511
18636
  else
18512
- Re[Oe].ty === "gr" && De(Re[Oe].it);
18637
+ Re[ke].ty === "gr" && De(Re[ke].it);
18513
18638
  }
18514
18639
  function Be(Re) {
18515
- var Oe, Ue, Ne = Re.length, qe, Ye, Ke, Qe;
18516
- for (Ue = 0; Ue < Ne; Ue += 1) {
18517
- if (Oe = Re[Ue], Oe.hasMask) {
18518
- var et = Oe.masksProperties;
18519
- for (Ye = et.length, qe = 0; qe < Ye; qe += 1)
18520
- if (et[qe].pt.k.i)
18521
- et[qe].pt.k.c = et[qe].cl;
18640
+ var ke, Ge, Ne = Re.length, qe, Ye, Ke, rt;
18641
+ for (Ge = 0; Ge < Ne; Ge += 1) {
18642
+ if (ke = Re[Ge], ke.hasMask) {
18643
+ var it = ke.masksProperties;
18644
+ for (Ye = it.length, qe = 0; qe < Ye; qe += 1)
18645
+ if (it[qe].pt.k.i)
18646
+ it[qe].pt.k.c = it[qe].cl;
18522
18647
  else
18523
- for (Qe = et[qe].pt.k.length, Ke = 0; Ke < Qe; Ke += 1)
18524
- et[qe].pt.k[Ke].s && (et[qe].pt.k[Ke].s[0].c = et[qe].cl), et[qe].pt.k[Ke].e && (et[qe].pt.k[Ke].e[0].c = et[qe].cl);
18648
+ for (rt = it[qe].pt.k.length, Ke = 0; Ke < rt; Ke += 1)
18649
+ it[qe].pt.k[Ke].s && (it[qe].pt.k[Ke].s[0].c = it[qe].cl), it[qe].pt.k[Ke].e && (it[qe].pt.k[Ke].e[0].c = it[qe].cl);
18525
18650
  }
18526
- Oe.ty === 4 && De(Oe.shapes);
18651
+ ke.ty === 4 && De(ke.shapes);
18527
18652
  }
18528
18653
  }
18529
18654
  return function(Re) {
18530
- if (ke(je, Re.v) && (Be(Re.layers), Re.assets)) {
18531
- var Oe, Ue = Re.assets.length;
18532
- for (Oe = 0; Oe < Ue; Oe += 1)
18533
- Re.assets[Oe].layers && Be(Re.assets[Oe].layers);
18655
+ if (Oe(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18656
+ var ke, Ge = Re.assets.length;
18657
+ for (ke = 0; ke < Ge; ke += 1)
18658
+ Re.assets[ke].layers && Be(Re.assets[ke].layers);
18534
18659
  }
18535
18660
  };
18536
18661
  }();
18537
- function Xe(je) {
18538
- je.__complete || (He(je), $e(je), Le(je), Ge(je), We(je), Me(je.layers, je.assets), Ee(je.chars, je.assets), je.__complete = !0);
18662
+ function je(Xe) {
18663
+ Xe.__complete || (He(Xe), $e(Xe), Le(Xe), Ue(Xe), We(Xe), Me(Xe.layers, Xe.assets), Ee(Xe.chars, Xe.assets), Xe.__complete = !0);
18539
18664
  }
18540
- function Ve(je) {
18541
- je.t.a.length === 0 && "m" in je.t.p;
18665
+ function Ve(Xe) {
18666
+ Xe.t.a.length === 0 && "m" in Xe.t.p;
18542
18667
  }
18543
18668
  var ze = {};
18544
- return ze.completeData = Xe, ze.checkColors = He, ze.checkChars = Le, ze.checkPathProperties = Ge, ze.checkShapes = We, ze.completeLayers = Me, ze;
18669
+ return ze.completeData = je, ze.checkColors = He, ze.checkChars = Le, ze.checkPathProperties = Ue, ze.checkShapes = We, ze.completeLayers = Me, ze;
18545
18670
  }
18546
18671
  if (V.dataManager || (V.dataManager = Te()), V.assetLoader || (V.assetLoader = function() {
18547
18672
  function Me(we) {
@@ -18549,7 +18674,7 @@ var lottie$1 = { exports: {} };
18549
18674
  return Pe && we.responseType === "json" && Pe.indexOf("json") !== -1 || we.response && _typeof$5(we.response) === "object" ? we.response : we.response && typeof we.response == "string" ? JSON.parse(we.response) : we.responseText ? JSON.parse(we.responseText) : null;
18550
18675
  }
18551
18676
  function Ee(we, Pe, Ie, Fe) {
18552
- var ke, $e = new XMLHttpRequest();
18677
+ var Oe, $e = new XMLHttpRequest();
18553
18678
  try {
18554
18679
  $e.responseType = "json";
18555
18680
  } catch {
@@ -18557,10 +18682,10 @@ var lottie$1 = { exports: {} };
18557
18682
  $e.onreadystatechange = function() {
18558
18683
  if ($e.readyState === 4)
18559
18684
  if ($e.status === 200)
18560
- ke = Me($e), Ie(ke);
18685
+ Oe = Me($e), Ie(Oe);
18561
18686
  else
18562
18687
  try {
18563
- ke = Me($e), Ie(ke);
18688
+ Oe = Me($e), Ie(Oe);
18564
18689
  } catch (Le) {
18565
18690
  Fe && Fe(Le);
18566
18691
  }
@@ -19104,8 +19229,8 @@ var lottie$1 = { exports: {} };
19104
19229
  return E[Re].animation;
19105
19230
  Re += 1;
19106
19231
  }
19107
- var Oe = new AnimationItem();
19108
- return J(Oe, De), Oe.setData(De, Be), Oe;
19232
+ var ke = new AnimationItem();
19233
+ return J(ke, De), ke.setData(De, Be), ke;
19109
19234
  }
19110
19235
  function _e() {
19111
19236
  var De, Be = E.length, Re = [];
@@ -19159,16 +19284,16 @@ var lottie$1 = { exports: {} };
19159
19284
  E[Be].animation.pause(De);
19160
19285
  }
19161
19286
  function Ie(De, Be, Re) {
19162
- var Oe;
19163
- for (Oe = 0; Oe < B; Oe += 1)
19164
- E[Oe].animation.goToAndStop(De, Be, Re);
19287
+ var ke;
19288
+ for (ke = 0; ke < B; ke += 1)
19289
+ E[ke].animation.goToAndStop(De, Be, Re);
19165
19290
  }
19166
19291
  function Fe(De) {
19167
19292
  var Be;
19168
19293
  for (Be = 0; Be < B; Be += 1)
19169
19294
  E[Be].animation.stop(De);
19170
19295
  }
19171
- function ke(De) {
19296
+ function Oe(De) {
19172
19297
  var Be;
19173
19298
  for (Be = 0; Be < B; Be += 1)
19174
19299
  E[Be].animation.togglePause(De);
@@ -19179,9 +19304,9 @@ var lottie$1 = { exports: {} };
19179
19304
  E[Be].animation.destroy(De);
19180
19305
  }
19181
19306
  function Le(De, Be, Re) {
19182
- var Oe = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), Ue, Ne = Oe.length;
19183
- for (Ue = 0; Ue < Ne; Ue += 1)
19184
- Re && Oe[Ue].setAttribute("data-bm-type", Re), K(Oe[Ue], De);
19307
+ var ke = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), Ge, Ne = ke.length;
19308
+ for (Ge = 0; Ge < Ne; Ge += 1)
19309
+ Re && ke[Ge].setAttribute("data-bm-type", Re), K(ke[Ge], De);
19185
19310
  if (Be && Ne === 0) {
19186
19311
  Re || (Re = "svg");
19187
19312
  var qe = document.getElementsByTagName("body")[0];
@@ -19190,7 +19315,7 @@ var lottie$1 = { exports: {} };
19190
19315
  Ye.style.width = "100%", Ye.style.height = "100%", Ye.setAttribute("data-bm-type", Re), qe.appendChild(Ye), K(Ye, De);
19191
19316
  }
19192
19317
  }
19193
- function Ge() {
19318
+ function Ue() {
19194
19319
  var De;
19195
19320
  for (De = 0; De < B; De += 1)
19196
19321
  E[De].animation.resize();
@@ -19201,7 +19326,7 @@ var lottie$1 = { exports: {} };
19201
19326
  function We() {
19202
19327
  X = !0;
19203
19328
  }
19204
- function Xe() {
19329
+ function je() {
19205
19330
  X = !1, He();
19206
19331
  }
19207
19332
  function Ve(De, Be) {
@@ -19214,18 +19339,18 @@ var lottie$1 = { exports: {} };
19214
19339
  for (Be = 0; Be < B; Be += 1)
19215
19340
  E[Be].animation.mute(De);
19216
19341
  }
19217
- function je(De) {
19342
+ function Xe(De) {
19218
19343
  var Be;
19219
19344
  for (Be = 0; Be < B; Be += 1)
19220
19345
  E[Be].animation.unmute(De);
19221
19346
  }
19222
- return C.registerAnimation = K, C.loadAnimation = Se, C.setSpeed = Te, C.setDirection = Ae, C.play = Me, C.pause = Pe, C.stop = Fe, C.togglePause = ke, C.searchAnimations = Le, C.resize = Ge, C.goToAndStop = Ie, C.destroy = $e, C.freeze = We, C.unfreeze = Xe, C.setVolume = Ve, C.mute = ze, C.unmute = je, C.getRegisteredAnimations = _e, C;
19347
+ return C.registerAnimation = K, C.loadAnimation = Se, C.setSpeed = Te, C.setDirection = Ae, C.play = Me, C.pause = Pe, C.stop = Fe, C.togglePause = Oe, C.searchAnimations = Le, C.resize = Ue, C.goToAndStop = Ie, C.destroy = $e, C.freeze = We, C.unfreeze = je, C.setVolume = Ve, C.mute = ze, C.unmute = Xe, C.getRegisteredAnimations = _e, C;
19223
19348
  }(), BezierFactory = function() {
19224
19349
  var C = {};
19225
19350
  C.getBezierEasing = I;
19226
19351
  var E = {};
19227
- function I(we, Pe, Ie, Fe, ke) {
19228
- var $e = ke || ("bez_" + we + "_" + Pe + "_" + Ie + "_" + Fe).replace(/\./g, "p");
19352
+ function I(we, Pe, Ie, Fe, Oe) {
19353
+ var $e = Oe || ("bez_" + we + "_" + Pe + "_" + Ie + "_" + Fe).replace(/\./g, "p");
19229
19354
  if (E[$e])
19230
19355
  return E[$e];
19231
19356
  var Le = new Ee([we, Pe, Ie, Fe]);
@@ -19247,15 +19372,15 @@ var lottie$1 = { exports: {} };
19247
19372
  function Te(we, Pe, Ie) {
19248
19373
  return 3 * xe(Pe, Ie) * we * we + 2 * Z(Pe, Ie) * we + J(Pe);
19249
19374
  }
19250
- function Ae(we, Pe, Ie, Fe, ke) {
19251
- var $e, Le, Ge = 0;
19375
+ function Ae(we, Pe, Ie, Fe, Oe) {
19376
+ var $e, Le, Ue = 0;
19252
19377
  do
19253
- Le = Pe + (Ie - Pe) / 2, $e = Se(Le, Fe, ke) - we, $e > 0 ? Ie = Le : Pe = Le;
19254
- while (Math.abs($e) > V && ++Ge < X);
19378
+ Le = Pe + (Ie - Pe) / 2, $e = Se(Le, Fe, Oe) - we, $e > 0 ? Ie = Le : Pe = Le;
19379
+ while (Math.abs($e) > V && ++Ue < X);
19255
19380
  return Le;
19256
19381
  }
19257
19382
  function Me(we, Pe, Ie, Fe) {
19258
- for (var ke = 0; ke < B; ++ke) {
19383
+ for (var Oe = 0; Oe < B; ++Oe) {
19259
19384
  var $e = Te(Pe, Ie, Fe);
19260
19385
  if ($e === 0)
19261
19386
  return Pe;
@@ -19269,13 +19394,13 @@ var lottie$1 = { exports: {} };
19269
19394
  }
19270
19395
  return Ee.prototype = {
19271
19396
  get: function(Pe) {
19272
- var Ie = this._p[0], Fe = this._p[1], ke = this._p[2], $e = this._p[3];
19273
- return this._precomputed || this._precompute(), Ie === Fe && ke === $e ? Pe : Pe === 0 ? 0 : Pe === 1 ? 1 : Se(this._getTForX(Pe), Fe, $e);
19397
+ var Ie = this._p[0], Fe = this._p[1], Oe = this._p[2], $e = this._p[3];
19398
+ return this._precomputed || this._precompute(), Ie === Fe && Oe === $e ? Pe : Pe === 0 ? 0 : Pe === 1 ? 1 : Se(this._getTForX(Pe), Fe, $e);
19274
19399
  },
19275
19400
  // Private part
19276
19401
  _precompute: function() {
19277
- var Pe = this._p[0], Ie = this._p[1], Fe = this._p[2], ke = this._p[3];
19278
- this._precomputed = !0, (Pe !== Ie || Fe !== ke) && this._calcSampleValues();
19402
+ var Pe = this._p[0], Ie = this._p[1], Fe = this._p[2], Oe = this._p[3];
19403
+ this._precomputed = !0, (Pe !== Ie || Fe !== Oe) && this._calcSampleValues();
19279
19404
  },
19280
19405
  _calcSampleValues: function() {
19281
19406
  for (var Pe = this._p[0], Ie = this._p[2], Fe = 0; Fe < Y; ++Fe)
@@ -19285,11 +19410,11 @@ var lottie$1 = { exports: {} };
19285
19410
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
19286
19411
  */
19287
19412
  _getTForX: function(Pe) {
19288
- for (var Ie = this._p[0], Fe = this._p[2], ke = this._mSampleValues, $e = 0, Le = 1, Ge = Y - 1; Le !== Ge && ke[Le] <= Pe; ++Le)
19413
+ for (var Ie = this._p[0], Fe = this._p[2], Oe = this._mSampleValues, $e = 0, Le = 1, Ue = Y - 1; Le !== Ue && Oe[Le] <= Pe; ++Le)
19289
19414
  $e += K;
19290
19415
  --Le;
19291
- var He = (Pe - ke[Le]) / (ke[Le + 1] - ke[Le]), We = $e + He * K, Xe = Te(We, Ie, Fe);
19292
- return Xe >= U ? Me(Pe, We, Ie, Fe) : Xe === 0 ? We : Ae(Pe, $e, $e + K, Ie, Fe);
19416
+ var He = (Pe - Oe[Le]) / (Oe[Le + 1] - Oe[Le]), We = $e + He * K, je = Te(We, Ie, Fe);
19417
+ return je >= U ? Me(Pe, We, Ie, Fe) : je === 0 ? We : Ae(Pe, $e, $e + K, Ie, Fe);
19293
19418
  }
19294
19419
  }, C;
19295
19420
  }(), pooling = function() {
@@ -19347,18 +19472,18 @@ var lottie$1 = { exports: {} };
19347
19472
  function I(J, Se, Te, Ae, Me, Ee, we, Pe, Ie) {
19348
19473
  if (Te === 0 && Ee === 0 && Ie === 0)
19349
19474
  return E(J, Se, Ae, Me, we, Pe);
19350
- var Fe = C.sqrt(C.pow(Ae - J, 2) + C.pow(Me - Se, 2) + C.pow(Ee - Te, 2)), ke = C.sqrt(C.pow(we - J, 2) + C.pow(Pe - Se, 2) + C.pow(Ie - Te, 2)), $e = C.sqrt(C.pow(we - Ae, 2) + C.pow(Pe - Me, 2) + C.pow(Ie - Ee, 2)), Le;
19351
- return Fe > ke ? Fe > $e ? Le = Fe - ke - $e : Le = $e - ke - Fe : $e > ke ? Le = $e - ke - Fe : Le = ke - Fe - $e, Le > -1e-4 && Le < 1e-4;
19475
+ var Fe = C.sqrt(C.pow(Ae - J, 2) + C.pow(Me - Se, 2) + C.pow(Ee - Te, 2)), Oe = C.sqrt(C.pow(we - J, 2) + C.pow(Pe - Se, 2) + C.pow(Ie - Te, 2)), $e = C.sqrt(C.pow(we - Ae, 2) + C.pow(Pe - Me, 2) + C.pow(Ie - Ee, 2)), Le;
19476
+ return Fe > Oe ? Fe > $e ? Le = Fe - Oe - $e : Le = $e - Oe - Fe : $e > Oe ? Le = $e - Oe - Fe : Le = Oe - Fe - $e, Le > -1e-4 && Le < 1e-4;
19352
19477
  }
19353
19478
  var B = function() {
19354
19479
  return function(J, Se, Te, Ae) {
19355
- var Me = getDefaultCurveSegments(), Ee, we, Pe, Ie, Fe, ke = 0, $e, Le = [], Ge = [], He = bezierLengthPool.newElement();
19480
+ var Me = getDefaultCurveSegments(), Ee, we, Pe, Ie, Fe, Oe = 0, $e, Le = [], Ue = [], He = bezierLengthPool.newElement();
19356
19481
  for (Pe = Te.length, Ee = 0; Ee < Me; Ee += 1) {
19357
19482
  for (Fe = Ee / (Me - 1), $e = 0, we = 0; we < Pe; we += 1)
19358
- Ie = bmPow(1 - Fe, 3) * J[we] + 3 * bmPow(1 - Fe, 2) * Fe * Te[we] + 3 * (1 - Fe) * bmPow(Fe, 2) * Ae[we] + bmPow(Fe, 3) * Se[we], Le[we] = Ie, Ge[we] !== null && ($e += bmPow(Le[we] - Ge[we], 2)), Ge[we] = Le[we];
19359
- $e && ($e = bmSqrt($e), ke += $e), He.percents[Ee] = Fe, He.lengths[Ee] = ke;
19483
+ Ie = bmPow(1 - Fe, 3) * J[we] + 3 * bmPow(1 - Fe, 2) * Fe * Te[we] + 3 * (1 - Fe) * bmPow(Fe, 2) * Ae[we] + bmPow(Fe, 3) * Se[we], Le[we] = Ie, Ue[we] !== null && ($e += bmPow(Le[we] - Ue[we], 2)), Ue[we] = Le[we];
19484
+ $e && ($e = bmSqrt($e), Oe += $e), He.percents[Ee] = Fe, He.lengths[Ee] = Oe;
19360
19485
  }
19361
- return He.addedLength = ke, He;
19486
+ return He.addedLength = Oe, He;
19362
19487
  };
19363
19488
  }();
19364
19489
  function U(J) {
@@ -19378,15 +19503,15 @@ var lottie$1 = { exports: {} };
19378
19503
  return function(Se, Te, Ae, Me) {
19379
19504
  var Ee = (Se[0] + "_" + Se[1] + "_" + Te[0] + "_" + Te[1] + "_" + Ae[0] + "_" + Ae[1] + "_" + Me[0] + "_" + Me[1]).replace(/\./g, "p");
19380
19505
  if (!J[Ee]) {
19381
- var we = getDefaultCurveSegments(), Pe, Ie, Fe, ke, $e, Le = 0, Ge, He, We = null;
19506
+ var we = getDefaultCurveSegments(), Pe, Ie, Fe, Oe, $e, Le = 0, Ue, He, We = null;
19382
19507
  Se.length === 2 && (Se[0] !== Te[0] || Se[1] !== Te[1]) && E(Se[0], Se[1], Te[0], Te[1], Se[0] + Ae[0], Se[1] + Ae[1]) && E(Se[0], Se[1], Te[0], Te[1], Te[0] + Me[0], Te[1] + Me[1]) && (we = 2);
19383
- var Xe = new V(we);
19508
+ var je = new V(we);
19384
19509
  for (Fe = Ae.length, Pe = 0; Pe < we; Pe += 1) {
19385
- for (He = createSizedArray(Fe), $e = Pe / (we - 1), Ge = 0, Ie = 0; Ie < Fe; Ie += 1)
19386
- ke = bmPow(1 - $e, 3) * Se[Ie] + 3 * bmPow(1 - $e, 2) * $e * (Se[Ie] + Ae[Ie]) + 3 * (1 - $e) * bmPow($e, 2) * (Te[Ie] + Me[Ie]) + bmPow($e, 3) * Te[Ie], He[Ie] = ke, We !== null && (Ge += bmPow(He[Ie] - We[Ie], 2));
19387
- Ge = bmSqrt(Ge), Le += Ge, Xe.points[Pe] = new X(Ge, He), We = He;
19510
+ for (He = createSizedArray(Fe), $e = Pe / (we - 1), Ue = 0, Ie = 0; Ie < Fe; Ie += 1)
19511
+ Oe = bmPow(1 - $e, 3) * Se[Ie] + 3 * bmPow(1 - $e, 2) * $e * (Se[Ie] + Ae[Ie]) + 3 * (1 - $e) * bmPow($e, 2) * (Te[Ie] + Me[Ie]) + bmPow($e, 3) * Te[Ie], He[Ie] = Oe, We !== null && (Ue += bmPow(He[Ie] - We[Ie], 2));
19512
+ Ue = bmSqrt(Ue), Le += Ue, je.points[Pe] = new X(Ue, He), We = He;
19388
19513
  }
19389
- Xe.segmentLength = Le, J[Ee] = Xe;
19514
+ je.segmentLength = Le, J[Ee] = je;
19390
19515
  }
19391
19516
  return J[Ee];
19392
19517
  };
@@ -19412,9 +19537,9 @@ var lottie$1 = { exports: {} };
19412
19537
  Me < 0 ? Me = 0 : Me > 1 && (Me = 1);
19413
19538
  var Pe = K(Me, we);
19414
19539
  Ee = Ee > 1 ? 1 : Ee;
19415
- var Ie = K(Ee, we), Fe, ke = J.length, $e = 1 - Pe, Le = 1 - Ie, Ge = $e * $e * $e, He = Pe * $e * $e * 3, We = Pe * Pe * $e * 3, Xe = Pe * Pe * Pe, Ve = $e * $e * Le, ze = Pe * $e * Le + $e * Pe * Le + $e * $e * Ie, je = Pe * Pe * Le + $e * Pe * Ie + Pe * $e * Ie, De = Pe * Pe * Ie, Be = $e * Le * Le, Re = Pe * Le * Le + $e * Ie * Le + $e * Le * Ie, Oe = Pe * Ie * Le + $e * Ie * Ie + Pe * Le * Ie, Ue = Pe * Ie * Ie, Ne = Le * Le * Le, qe = Ie * Le * Le + Le * Ie * Le + Le * Le * Ie, Ye = Ie * Ie * Le + Le * Ie * Ie + Ie * Le * Ie, Ke = Ie * Ie * Ie;
19416
- for (Fe = 0; Fe < ke; Fe += 1)
19417
- xe[Fe * 4] = C.round((Ge * J[Fe] + He * Te[Fe] + We * Ae[Fe] + Xe * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 1] = C.round((Ve * J[Fe] + ze * Te[Fe] + je * Ae[Fe] + De * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 2] = C.round((Be * J[Fe] + Re * Te[Fe] + Oe * Ae[Fe] + Ue * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 3] = C.round((Ne * J[Fe] + qe * Te[Fe] + Ye * Ae[Fe] + Ke * Se[Fe]) * 1e3) / 1e3;
19540
+ var Ie = K(Ee, we), Fe, Oe = J.length, $e = 1 - Pe, Le = 1 - Ie, Ue = $e * $e * $e, He = Pe * $e * $e * 3, We = Pe * Pe * $e * 3, je = Pe * Pe * Pe, Ve = $e * $e * Le, ze = Pe * $e * Le + $e * Pe * Le + $e * $e * Ie, Xe = Pe * Pe * Le + $e * Pe * Ie + Pe * $e * Ie, De = Pe * Pe * Ie, Be = $e * Le * Le, Re = Pe * Le * Le + $e * Ie * Le + $e * Le * Ie, ke = Pe * Ie * Le + $e * Ie * Ie + Pe * Le * Ie, Ge = Pe * Ie * Ie, Ne = Le * Le * Le, qe = Ie * Le * Le + Le * Ie * Le + Le * Le * Ie, Ye = Ie * Ie * Le + Le * Ie * Ie + Ie * Le * Ie, Ke = Ie * Ie * Ie;
19541
+ for (Fe = 0; Fe < Oe; Fe += 1)
19542
+ xe[Fe * 4] = C.round((Ue * J[Fe] + He * Te[Fe] + We * Ae[Fe] + je * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 1] = C.round((Ve * J[Fe] + ze * Te[Fe] + Xe * Ae[Fe] + De * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 2] = C.round((Be * J[Fe] + Re * Te[Fe] + ke * Ae[Fe] + Ge * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 3] = C.round((Ne * J[Fe] + qe * Te[Fe] + Ye * Ae[Fe] + Ke * Se[Fe]) * 1e3) / 1e3;
19418
19543
  return xe;
19419
19544
  }
19420
19545
  return {
@@ -19452,14 +19577,14 @@ var lottie$1 = { exports: {} };
19452
19577
  B[Z] = Ie.points[Fe].point[Z];
19453
19578
  } else {
19454
19579
  xe.__fnct ? Me = xe.__fnct : (Me = BezierFactory.getBezierEasing(K.o.x, K.o.y, K.i.x, K.i.y, K.n).get, xe.__fnct = Me), Se = Me((C - we) / (Ee - we));
19455
- var ke = Ie.segmentLength * Se, $e, Le = E.lastFrame < C && E._lastKeyframeIndex === V ? E._lastAddedLength : 0;
19580
+ var Oe = Ie.segmentLength * Se, $e, Le = E.lastFrame < C && E._lastKeyframeIndex === V ? E._lastAddedLength : 0;
19456
19581
  for (Ae = E.lastFrame < C && E._lastKeyframeIndex === V ? E._lastPoint : 0, Y = !0, Te = Ie.points.length; Y; ) {
19457
- if (Le += Ie.points[Ae].partialLength, ke === 0 || Se === 0 || Ae === Ie.points.length - 1) {
19582
+ if (Le += Ie.points[Ae].partialLength, Oe === 0 || Se === 0 || Ae === Ie.points.length - 1) {
19458
19583
  for (J = Ie.points[Ae].point.length, Z = 0; Z < J; Z += 1)
19459
19584
  B[Z] = Ie.points[Ae].point[Z];
19460
19585
  break;
19461
- } else if (ke >= Le && ke < Le + Ie.points[Ae + 1].partialLength) {
19462
- for ($e = (ke - Le) / Ie.points[Ae + 1].partialLength, J = Ie.points[Ae].point.length, Z = 0; Z < J; Z += 1)
19586
+ } else if (Oe >= Le && Oe < Le + Ie.points[Ae + 1].partialLength) {
19587
+ for ($e = (Oe - Le) / Ie.points[Ae + 1].partialLength, J = Ie.points[Ae].point.length, Z = 0; Z < J; Z += 1)
19463
19588
  B[Z] = Ie.points[Ae].point[Z] + (Ie.points[Ae + 1].point[Z] - Ie.points[Ae].point[Z]) * $e;
19464
19589
  break;
19465
19590
  }
@@ -19468,19 +19593,19 @@ var lottie$1 = { exports: {} };
19468
19593
  E._lastPoint = Ae, E._lastAddedLength = Le - Ie.points[Ae].partialLength, E._lastKeyframeIndex = V;
19469
19594
  }
19470
19595
  } else {
19471
- var Ge, He, We, Xe, Ve;
19596
+ var Ue, He, We, je, Ve;
19472
19597
  if (X = K.s.length, Pe = _e.s || K.e, this.sh && K.h !== 1)
19473
19598
  if (C >= Ee)
19474
19599
  B[0] = Pe[0], B[1] = Pe[1], B[2] = Pe[2];
19475
19600
  else if (C <= we)
19476
19601
  B[0] = K.s[0], B[1] = K.s[1], B[2] = K.s[2];
19477
19602
  else {
19478
- var ze = createQuaternion(K.s), je = createQuaternion(Pe), De = (C - we) / (Ee - we);
19479
- quaternionToEuler(B, slerp(ze, je, De));
19603
+ var ze = createQuaternion(K.s), Xe = createQuaternion(Pe), De = (C - we) / (Ee - we);
19604
+ quaternionToEuler(B, slerp(ze, Xe, De));
19480
19605
  }
19481
19606
  else
19482
19607
  for (V = 0; V < X; V += 1)
19483
- K.h !== 1 && (C >= Ee ? Se = 1 : C < we ? Se = 0 : (K.o.x.constructor === Array ? (xe.__fnct || (xe.__fnct = []), xe.__fnct[V] ? Me = xe.__fnct[V] : (Ge = K.o.x[V] === void 0 ? K.o.x[0] : K.o.x[V], He = K.o.y[V] === void 0 ? K.o.y[0] : K.o.y[V], We = K.i.x[V] === void 0 ? K.i.x[0] : K.i.x[V], Xe = K.i.y[V] === void 0 ? K.i.y[0] : K.i.y[V], Me = BezierFactory.getBezierEasing(Ge, He, We, Xe).get, xe.__fnct[V] = Me)) : xe.__fnct ? Me = xe.__fnct : (Ge = K.o.x, He = K.o.y, We = K.i.x, Xe = K.i.y, Me = BezierFactory.getBezierEasing(Ge, He, We, Xe).get, K.keyframeMetadata = Me), Se = Me((C - we) / (Ee - we)))), Pe = _e.s || K.e, Ve = K.h === 1 ? K.s[V] : K.s[V] + (Pe[V] - K.s[V]) * Se, this.propType === "multidimensional" ? B[V] = Ve : B = Ve;
19608
+ K.h !== 1 && (C >= Ee ? Se = 1 : C < we ? Se = 0 : (K.o.x.constructor === Array ? (xe.__fnct || (xe.__fnct = []), xe.__fnct[V] ? Me = xe.__fnct[V] : (Ue = K.o.x[V] === void 0 ? K.o.x[0] : K.o.x[V], He = K.o.y[V] === void 0 ? K.o.y[0] : K.o.y[V], We = K.i.x[V] === void 0 ? K.i.x[0] : K.i.x[V], je = K.i.y[V] === void 0 ? K.i.y[0] : K.i.y[V], Me = BezierFactory.getBezierEasing(Ue, He, We, je).get, xe.__fnct[V] = Me)) : xe.__fnct ? Me = xe.__fnct : (Ue = K.o.x, He = K.o.y, We = K.i.x, je = K.i.y, Me = BezierFactory.getBezierEasing(Ue, He, We, je).get, K.keyframeMetadata = Me), Se = Me((C - we) / (Ee - we)))), Pe = _e.s || K.e, Ve = K.h === 1 ? K.s[V] : K.s[V] + (Pe[V] - K.s[V]) * Se, this.propType === "multidimensional" ? B[V] = Ve : B = Ve;
19484
19609
  }
19485
19610
  return E.lastIndex = U, B;
19486
19611
  }
@@ -19701,30 +19826,30 @@ var lottie$1 = { exports: {} };
19701
19826
  }(), ShapePropertyFactory = function() {
19702
19827
  var C = -999999;
19703
19828
  function E(Ee, we, Pe) {
19704
- var Ie = Pe.lastIndex, Fe, ke, $e, Le, Ge, He, We, Xe, Ve, ze = this.keyframes;
19829
+ var Ie = Pe.lastIndex, Fe, Oe, $e, Le, Ue, He, We, je, Ve, ze = this.keyframes;
19705
19830
  if (Ee < ze[0].t - this.offsetTime)
19706
19831
  Fe = ze[0].s[0], $e = !0, Ie = 0;
19707
19832
  else if (Ee >= ze[ze.length - 1].t - this.offsetTime)
19708
19833
  Fe = ze[ze.length - 1].s ? ze[ze.length - 1].s[0] : ze[ze.length - 2].e[0], $e = !0;
19709
19834
  else {
19710
- for (var je = Ie, De = ze.length - 1, Be = !0, Re, Oe, Ue; Be && (Re = ze[je], Oe = ze[je + 1], !(Oe.t - this.offsetTime > Ee)); )
19711
- je < De - 1 ? je += 1 : Be = !1;
19712
- if (Ue = this.keyframesMetadata[je] || {}, $e = Re.h === 1, Ie = je, !$e) {
19713
- if (Ee >= Oe.t - this.offsetTime)
19714
- Xe = 1;
19835
+ for (var Xe = Ie, De = ze.length - 1, Be = !0, Re, ke, Ge; Be && (Re = ze[Xe], ke = ze[Xe + 1], !(ke.t - this.offsetTime > Ee)); )
19836
+ Xe < De - 1 ? Xe += 1 : Be = !1;
19837
+ if (Ge = this.keyframesMetadata[Xe] || {}, $e = Re.h === 1, Ie = Xe, !$e) {
19838
+ if (Ee >= ke.t - this.offsetTime)
19839
+ je = 1;
19715
19840
  else if (Ee < Re.t - this.offsetTime)
19716
- Xe = 0;
19841
+ je = 0;
19717
19842
  else {
19718
19843
  var Ne;
19719
- Ue.__fnct ? Ne = Ue.__fnct : (Ne = BezierFactory.getBezierEasing(Re.o.x, Re.o.y, Re.i.x, Re.i.y).get, Ue.__fnct = Ne), Xe = Ne((Ee - (Re.t - this.offsetTime)) / (Oe.t - this.offsetTime - (Re.t - this.offsetTime)));
19844
+ Ge.__fnct ? Ne = Ge.__fnct : (Ne = BezierFactory.getBezierEasing(Re.o.x, Re.o.y, Re.i.x, Re.i.y).get, Ge.__fnct = Ne), je = Ne((Ee - (Re.t - this.offsetTime)) / (ke.t - this.offsetTime - (Re.t - this.offsetTime)));
19720
19845
  }
19721
- ke = Oe.s ? Oe.s[0] : Re.e[0];
19846
+ Oe = ke.s ? ke.s[0] : Re.e[0];
19722
19847
  }
19723
19848
  Fe = Re.s[0];
19724
19849
  }
19725
19850
  for (He = we._length, We = Fe.i[0].length, Pe.lastIndex = Ie, Le = 0; Le < He; Le += 1)
19726
- for (Ge = 0; Ge < We; Ge += 1)
19727
- Ve = $e ? Fe.i[Le][Ge] : Fe.i[Le][Ge] + (ke.i[Le][Ge] - Fe.i[Le][Ge]) * Xe, we.i[Le][Ge] = Ve, Ve = $e ? Fe.o[Le][Ge] : Fe.o[Le][Ge] + (ke.o[Le][Ge] - Fe.o[Le][Ge]) * Xe, we.o[Le][Ge] = Ve, Ve = $e ? Fe.v[Le][Ge] : Fe.v[Le][Ge] + (ke.v[Le][Ge] - Fe.v[Le][Ge]) * Xe, we.v[Le][Ge] = Ve;
19851
+ for (Ue = 0; Ue < We; Ue += 1)
19852
+ Ve = $e ? Fe.i[Le][Ue] : Fe.i[Le][Ue] + (Oe.i[Le][Ue] - Fe.i[Le][Ue]) * je, we.i[Le][Ue] = Ve, Ve = $e ? Fe.o[Le][Ue] : Fe.o[Le][Ue] + (Oe.o[Le][Ue] - Fe.o[Le][Ue]) * je, we.o[Le][Ue] = Ve, Ve = $e ? Fe.v[Le][Ue] : Fe.v[Le][Ue] + (Oe.v[Le][Ue] - Fe.v[Le][Ue]) * je, we.v[Le][Ue] = Ve;
19728
19853
  }
19729
19854
  function I() {
19730
19855
  var Ee = this.comp.renderedFrame - this.offsetTime, we = this.keyframes[0].t - this.offsetTime, Pe = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, Ie = this._caching.lastFrame;
@@ -19793,8 +19918,8 @@ var lottie$1 = { exports: {} };
19793
19918
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
19794
19919
  },
19795
19920
  convertEllToPath: function() {
19796
- var Ie = this.p.v[0], Fe = this.p.v[1], ke = this.s.v[0] / 2, $e = this.s.v[1] / 2, Le = this.d !== 3, Ge = this.v;
19797
- Ge.v[0][0] = Ie, Ge.v[0][1] = Fe - $e, Ge.v[1][0] = Le ? Ie + ke : Ie - ke, Ge.v[1][1] = Fe, Ge.v[2][0] = Ie, Ge.v[2][1] = Fe + $e, Ge.v[3][0] = Le ? Ie - ke : Ie + ke, Ge.v[3][1] = Fe, Ge.i[0][0] = Le ? Ie - ke * Ee : Ie + ke * Ee, Ge.i[0][1] = Fe - $e, Ge.i[1][0] = Le ? Ie + ke : Ie - ke, Ge.i[1][1] = Fe - $e * Ee, Ge.i[2][0] = Le ? Ie + ke * Ee : Ie - ke * Ee, Ge.i[2][1] = Fe + $e, Ge.i[3][0] = Le ? Ie - ke : Ie + ke, Ge.i[3][1] = Fe + $e * Ee, Ge.o[0][0] = Le ? Ie + ke * Ee : Ie - ke * Ee, Ge.o[0][1] = Fe - $e, Ge.o[1][0] = Le ? Ie + ke : Ie - ke, Ge.o[1][1] = Fe + $e * Ee, Ge.o[2][0] = Le ? Ie - ke * Ee : Ie + ke * Ee, Ge.o[2][1] = Fe + $e, Ge.o[3][0] = Le ? Ie - ke : Ie + ke, Ge.o[3][1] = Fe - $e * Ee;
19921
+ var Ie = this.p.v[0], Fe = this.p.v[1], Oe = this.s.v[0] / 2, $e = this.s.v[1] / 2, Le = this.d !== 3, Ue = this.v;
19922
+ Ue.v[0][0] = Ie, Ue.v[0][1] = Fe - $e, Ue.v[1][0] = Le ? Ie + Oe : Ie - Oe, Ue.v[1][1] = Fe, Ue.v[2][0] = Ie, Ue.v[2][1] = Fe + $e, Ue.v[3][0] = Le ? Ie - Oe : Ie + Oe, Ue.v[3][1] = Fe, Ue.i[0][0] = Le ? Ie - Oe * Ee : Ie + Oe * Ee, Ue.i[0][1] = Fe - $e, Ue.i[1][0] = Le ? Ie + Oe : Ie - Oe, Ue.i[1][1] = Fe - $e * Ee, Ue.i[2][0] = Le ? Ie + Oe * Ee : Ie - Oe * Ee, Ue.i[2][1] = Fe + $e, Ue.i[3][0] = Le ? Ie - Oe : Ie + Oe, Ue.i[3][1] = Fe + $e * Ee, Ue.o[0][0] = Le ? Ie + Oe * Ee : Ie - Oe * Ee, Ue.o[0][1] = Fe - $e, Ue.o[1][0] = Le ? Ie + Oe : Ie - Oe, Ue.o[1][1] = Fe + $e * Ee, Ue.o[2][0] = Le ? Ie - Oe * Ee : Ie + Oe * Ee, Ue.o[2][1] = Fe + $e, Ue.o[3][0] = Le ? Ie - Oe : Ie + Oe, Ue.o[3][1] = Fe - $e * Ee;
19798
19923
  }
19799
19924
  }, extendPrototype([DynamicPropertyContainer], we), we;
19800
19925
  }(), Z = function() {
@@ -19807,20 +19932,20 @@ var lottie$1 = { exports: {} };
19807
19932
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
19808
19933
  },
19809
19934
  convertStarToPath: function() {
19810
- var Pe = Math.floor(this.pt.v) * 2, Ie = Math.PI * 2 / Pe, Fe = !0, ke = this.or.v, $e = this.ir.v, Le = this.os.v, Ge = this.is.v, He = 2 * Math.PI * ke / (Pe * 2), We = 2 * Math.PI * $e / (Pe * 2), Xe, Ve, ze, je, De = -Math.PI / 2;
19935
+ var Pe = Math.floor(this.pt.v) * 2, Ie = Math.PI * 2 / Pe, Fe = !0, Oe = this.or.v, $e = this.ir.v, Le = this.os.v, Ue = this.is.v, He = 2 * Math.PI * Oe / (Pe * 2), We = 2 * Math.PI * $e / (Pe * 2), je, Ve, ze, Xe, De = -Math.PI / 2;
19811
19936
  De += this.r.v;
19812
19937
  var Be = this.data.d === 3 ? -1 : 1;
19813
- for (this.v._length = 0, Xe = 0; Xe < Pe; Xe += 1) {
19814
- Ve = Fe ? ke : $e, ze = Fe ? Le : Ge, je = Fe ? He : We;
19815
- var Re = Ve * Math.cos(De), Oe = Ve * Math.sin(De), Ue = Re === 0 && Oe === 0 ? 0 : Oe / Math.sqrt(Re * Re + Oe * Oe), Ne = Re === 0 && Oe === 0 ? 0 : -Re / Math.sqrt(Re * Re + Oe * Oe);
19816
- Re += +this.p.v[0], Oe += +this.p.v[1], this.v.setTripleAt(Re, Oe, Re - Ue * je * ze * Be, Oe - Ne * je * ze * Be, Re + Ue * je * ze * Be, Oe + Ne * je * ze * Be, Xe, !0), Fe = !Fe, De += Ie * Be;
19938
+ for (this.v._length = 0, je = 0; je < Pe; je += 1) {
19939
+ Ve = Fe ? Oe : $e, ze = Fe ? Le : Ue, Xe = Fe ? He : We;
19940
+ var Re = Ve * Math.cos(De), ke = Ve * Math.sin(De), Ge = Re === 0 && ke === 0 ? 0 : ke / Math.sqrt(Re * Re + ke * ke), Ne = Re === 0 && ke === 0 ? 0 : -Re / Math.sqrt(Re * Re + ke * ke);
19941
+ Re += +this.p.v[0], ke += +this.p.v[1], this.v.setTripleAt(Re, ke, Re - Ge * Xe * ze * Be, ke - Ne * Xe * ze * Be, Re + Ge * Xe * ze * Be, ke + Ne * Xe * ze * Be, je, !0), Fe = !Fe, De += Ie * Be;
19817
19942
  }
19818
19943
  },
19819
19944
  convertPolygonToPath: function() {
19820
- var Pe = Math.floor(this.pt.v), Ie = Math.PI * 2 / Pe, Fe = this.or.v, ke = this.os.v, $e = 2 * Math.PI * Fe / (Pe * 4), Le, Ge = -Math.PI * 0.5, He = this.data.d === 3 ? -1 : 1;
19821
- for (Ge += this.r.v, this.v._length = 0, Le = 0; Le < Pe; Le += 1) {
19822
- var We = Fe * Math.cos(Ge), Xe = Fe * Math.sin(Ge), Ve = We === 0 && Xe === 0 ? 0 : Xe / Math.sqrt(We * We + Xe * Xe), ze = We === 0 && Xe === 0 ? 0 : -We / Math.sqrt(We * We + Xe * Xe);
19823
- We += +this.p.v[0], Xe += +this.p.v[1], this.v.setTripleAt(We, Xe, We - Ve * $e * ke * He, Xe - ze * $e * ke * He, We + Ve * $e * ke * He, Xe + ze * $e * ke * He, Le, !0), Ge += Ie * He;
19945
+ var Pe = Math.floor(this.pt.v), Ie = Math.PI * 2 / Pe, Fe = this.or.v, Oe = this.os.v, $e = 2 * Math.PI * Fe / (Pe * 4), Le, Ue = -Math.PI * 0.5, He = this.data.d === 3 ? -1 : 1;
19946
+ for (Ue += this.r.v, this.v._length = 0, Le = 0; Le < Pe; Le += 1) {
19947
+ var We = Fe * Math.cos(Ue), je = Fe * Math.sin(Ue), Ve = We === 0 && je === 0 ? 0 : je / Math.sqrt(We * We + je * je), ze = We === 0 && je === 0 ? 0 : -We / Math.sqrt(We * We + je * je);
19948
+ We += +this.p.v[0], je += +this.p.v[1], this.v.setTripleAt(We, je, We - Ve * $e * Oe * He, je - ze * $e * Oe * He, We + Ve * $e * Oe * He, je + ze * $e * Oe * He, Le, !0), Ue += Ie * He;
19824
19949
  }
19825
19950
  this.paths.length = 0, this.paths[0] = this.v;
19826
19951
  }
@@ -19831,8 +19956,8 @@ var lottie$1 = { exports: {} };
19831
19956
  }
19832
19957
  return Ee.prototype = {
19833
19958
  convertRectToPath: function() {
19834
- var Pe = this.p.v[0], Ie = this.p.v[1], Fe = this.s.v[0] / 2, ke = this.s.v[1] / 2, $e = bmMin(Fe, ke, this.r.v), Le = $e * (1 - roundCorner);
19835
- this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(Pe + Fe, Ie - ke + $e, Pe + Fe, Ie - ke + $e, Pe + Fe, Ie - ke + Le, 0, !0), this.v.setTripleAt(Pe + Fe, Ie + ke - $e, Pe + Fe, Ie + ke - Le, Pe + Fe, Ie + ke - $e, 1, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie + ke, Pe + Fe - $e, Ie + ke, Pe + Fe - Le, Ie + ke, 2, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + ke, Pe - Fe + Le, Ie + ke, Pe - Fe + $e, Ie + ke, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + ke - $e, Pe - Fe, Ie + ke - $e, Pe - Fe, Ie + ke - Le, 4, !0), this.v.setTripleAt(Pe - Fe, Ie - ke + $e, Pe - Fe, Ie - ke + Le, Pe - Fe, Ie - ke + $e, 5, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - ke, Pe - Fe + $e, Ie - ke, Pe - Fe + Le, Ie - ke, 6, !0), this.v.setTripleAt(Pe + Fe - $e, Ie - ke, Pe + Fe - Le, Ie - ke, Pe + Fe - $e, Ie - ke, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie + ke, Pe - Fe + Le, Ie + ke, Pe - Fe, Ie + ke, 2), this.v.setTripleAt(Pe - Fe, Ie - ke, Pe - Fe, Ie - ke + Le, Pe - Fe, Ie - ke, 3))) : (this.v.setTripleAt(Pe + Fe, Ie - ke + $e, Pe + Fe, Ie - ke + Le, Pe + Fe, Ie - ke + $e, 0, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie - ke, Pe + Fe - $e, Ie - ke, Pe + Fe - Le, Ie - ke, 1, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - ke, Pe - Fe + Le, Ie - ke, Pe - Fe + $e, Ie - ke, 2, !0), this.v.setTripleAt(Pe - Fe, Ie - ke + $e, Pe - Fe, Ie - ke + $e, Pe - Fe, Ie - ke + Le, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + ke - $e, Pe - Fe, Ie + ke - Le, Pe - Fe, Ie + ke - $e, 4, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + ke, Pe - Fe + $e, Ie + ke, Pe - Fe + Le, Ie + ke, 5, !0), this.v.setTripleAt(Pe + Fe - $e, Ie + ke, Pe + Fe - Le, Ie + ke, Pe + Fe - $e, Ie + ke, 6, !0), this.v.setTripleAt(Pe + Fe, Ie + ke - $e, Pe + Fe, Ie + ke - $e, Pe + Fe, Ie + ke - Le, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie - ke, Pe - Fe + Le, Ie - ke, Pe - Fe, Ie - ke, 1, !0), this.v.setTripleAt(Pe - Fe, Ie + ke, Pe - Fe, Ie + ke - Le, Pe - Fe, Ie + ke, 2, !0), this.v.setTripleAt(Pe + Fe, Ie + ke, Pe + Fe - Le, Ie + ke, Pe + Fe, Ie + ke, 3, !0)));
19959
+ var Pe = this.p.v[0], Ie = this.p.v[1], Fe = this.s.v[0] / 2, Oe = this.s.v[1] / 2, $e = bmMin(Fe, Oe, this.r.v), Le = $e * (1 - roundCorner);
19960
+ this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(Pe + Fe, Ie - Oe + $e, Pe + Fe, Ie - Oe + $e, Pe + Fe, Ie - Oe + Le, 0, !0), this.v.setTripleAt(Pe + Fe, Ie + Oe - $e, Pe + Fe, Ie + Oe - Le, Pe + Fe, Ie + Oe - $e, 1, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie + Oe, Pe + Fe - $e, Ie + Oe, Pe + Fe - Le, Ie + Oe, 2, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + Oe, Pe - Fe + Le, Ie + Oe, Pe - Fe + $e, Ie + Oe, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + Oe - $e, Pe - Fe, Ie + Oe - $e, Pe - Fe, Ie + Oe - Le, 4, !0), this.v.setTripleAt(Pe - Fe, Ie - Oe + $e, Pe - Fe, Ie - Oe + Le, Pe - Fe, Ie - Oe + $e, 5, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - Oe, Pe - Fe + $e, Ie - Oe, Pe - Fe + Le, Ie - Oe, 6, !0), this.v.setTripleAt(Pe + Fe - $e, Ie - Oe, Pe + Fe - Le, Ie - Oe, Pe + Fe - $e, Ie - Oe, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie + Oe, Pe - Fe + Le, Ie + Oe, Pe - Fe, Ie + Oe, 2), this.v.setTripleAt(Pe - Fe, Ie - Oe, Pe - Fe, Ie - Oe + Le, Pe - Fe, Ie - Oe, 3))) : (this.v.setTripleAt(Pe + Fe, Ie - Oe + $e, Pe + Fe, Ie - Oe + Le, Pe + Fe, Ie - Oe + $e, 0, !0), $e !== 0 ? (this.v.setTripleAt(Pe + Fe - $e, Ie - Oe, Pe + Fe - $e, Ie - Oe, Pe + Fe - Le, Ie - Oe, 1, !0), this.v.setTripleAt(Pe - Fe + $e, Ie - Oe, Pe - Fe + Le, Ie - Oe, Pe - Fe + $e, Ie - Oe, 2, !0), this.v.setTripleAt(Pe - Fe, Ie - Oe + $e, Pe - Fe, Ie - Oe + $e, Pe - Fe, Ie - Oe + Le, 3, !0), this.v.setTripleAt(Pe - Fe, Ie + Oe - $e, Pe - Fe, Ie + Oe - Le, Pe - Fe, Ie + Oe - $e, 4, !0), this.v.setTripleAt(Pe - Fe + $e, Ie + Oe, Pe - Fe + $e, Ie + Oe, Pe - Fe + Le, Ie + Oe, 5, !0), this.v.setTripleAt(Pe + Fe - $e, Ie + Oe, Pe + Fe - Le, Ie + Oe, Pe + Fe - $e, Ie + Oe, 6, !0), this.v.setTripleAt(Pe + Fe, Ie + Oe - $e, Pe + Fe, Ie + Oe - $e, Pe + Fe, Ie + Oe - Le, 7, !0)) : (this.v.setTripleAt(Pe - Fe, Ie - Oe, Pe - Fe + Le, Ie - Oe, Pe - Fe, Ie - Oe, 1, !0), this.v.setTripleAt(Pe - Fe, Ie + Oe, Pe - Fe, Ie + Oe - Le, Pe - Fe, Ie + Oe, 2, !0), this.v.setTripleAt(Pe + Fe, Ie + Oe, Pe + Fe - Le, Ie + Oe, Pe + Fe, Ie + Oe, 3, !0)));
19836
19961
  },
19837
19962
  getValue: function() {
19838
19963
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
@@ -19843,8 +19968,8 @@ var lottie$1 = { exports: {} };
19843
19968
  function Se(Ee, we, Pe) {
19844
19969
  var Ie;
19845
19970
  if (Pe === 3 || Pe === 4) {
19846
- var Fe = Pe === 3 ? we.pt : we.ks, ke = Fe.k;
19847
- ke.length ? Ie = new _e(Ee, we, Pe) : Ie = new Y(Ee, we, Pe);
19971
+ var Fe = Pe === 3 ? we.pt : we.ks, Oe = Fe.k;
19972
+ Oe.length ? Ie = new _e(Ee, we, Pe) : Ie = new Y(Ee, we, Pe);
19848
19973
  } else
19849
19974
  Pe === 5 ? Ie = new J(Ee, we) : Pe === 6 ? Ie = new xe(Ee, we) : Pe === 7 && (Ie = new Z(Ee, we));
19850
19975
  return Ie.k && Ee.addDynamicProperty(Ie), Ie;
@@ -19874,144 +19999,144 @@ var lottie$1 = { exports: {} };
19874
19999
  function V(Re) {
19875
20000
  if (Re === 0)
19876
20001
  return this;
19877
- var Oe = C(Re), Ue = E(Re);
19878
- return this._t(Oe, -Ue, 0, 0, Ue, Oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
20002
+ var ke = C(Re), Ge = E(Re);
20003
+ return this._t(ke, -Ge, 0, 0, Ge, ke, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
19879
20004
  }
19880
20005
  function X(Re) {
19881
20006
  if (Re === 0)
19882
20007
  return this;
19883
- var Oe = C(Re), Ue = E(Re);
19884
- return this._t(1, 0, 0, 0, 0, Oe, -Ue, 0, 0, Ue, Oe, 0, 0, 0, 0, 1);
20008
+ var ke = C(Re), Ge = E(Re);
20009
+ return this._t(1, 0, 0, 0, 0, ke, -Ge, 0, 0, Ge, ke, 0, 0, 0, 0, 1);
19885
20010
  }
19886
20011
  function Y(Re) {
19887
20012
  if (Re === 0)
19888
20013
  return this;
19889
- var Oe = C(Re), Ue = E(Re);
19890
- return this._t(Oe, 0, Ue, 0, 0, 1, 0, 0, -Ue, 0, Oe, 0, 0, 0, 0, 1);
20014
+ var ke = C(Re), Ge = E(Re);
20015
+ return this._t(ke, 0, Ge, 0, 0, 1, 0, 0, -Ge, 0, ke, 0, 0, 0, 0, 1);
19891
20016
  }
19892
20017
  function K(Re) {
19893
20018
  if (Re === 0)
19894
20019
  return this;
19895
- var Oe = C(Re), Ue = E(Re);
19896
- return this._t(Oe, -Ue, 0, 0, Ue, Oe, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
20020
+ var ke = C(Re), Ge = E(Re);
20021
+ return this._t(ke, -Ge, 0, 0, Ge, ke, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
19897
20022
  }
19898
- function _e(Re, Oe) {
19899
- return this._t(1, Oe, Re, 1, 0, 0);
20023
+ function _e(Re, ke) {
20024
+ return this._t(1, ke, Re, 1, 0, 0);
19900
20025
  }
19901
- function xe(Re, Oe) {
19902
- return this.shear(I(Re), I(Oe));
20026
+ function xe(Re, ke) {
20027
+ return this.shear(I(Re), I(ke));
19903
20028
  }
19904
- function Z(Re, Oe) {
19905
- var Ue = C(Oe), Ne = E(Oe);
19906
- return this._t(Ue, Ne, 0, 0, -Ne, Ue, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, I(Re), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(Ue, -Ne, 0, 0, Ne, Ue, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
20029
+ function Z(Re, ke) {
20030
+ var Ge = C(ke), Ne = E(ke);
20031
+ return this._t(Ge, Ne, 0, 0, -Ne, Ge, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, I(Re), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(Ge, -Ne, 0, 0, Ne, Ge, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
19907
20032
  }
19908
- function J(Re, Oe, Ue) {
19909
- return !Ue && Ue !== 0 && (Ue = 1), Re === 1 && Oe === 1 && Ue === 1 ? this : this._t(Re, 0, 0, 0, 0, Oe, 0, 0, 0, 0, Ue, 0, 0, 0, 0, 1);
20033
+ function J(Re, ke, Ge) {
20034
+ return !Ge && Ge !== 0 && (Ge = 1), Re === 1 && ke === 1 && Ge === 1 ? this : this._t(Re, 0, 0, 0, 0, ke, 0, 0, 0, 0, Ge, 0, 0, 0, 0, 1);
19910
20035
  }
19911
- function Se(Re, Oe, Ue, Ne, qe, Ye, Ke, Qe, et, nt, at, ot, Je, tt, rt, it) {
19912
- return this.props[0] = Re, this.props[1] = Oe, this.props[2] = Ue, this.props[3] = Ne, this.props[4] = qe, this.props[5] = Ye, this.props[6] = Ke, this.props[7] = Qe, this.props[8] = et, this.props[9] = nt, this.props[10] = at, this.props[11] = ot, this.props[12] = Je, this.props[13] = tt, this.props[14] = rt, this.props[15] = it, this;
20036
+ function Se(Re, ke, Ge, Ne, qe, Ye, Ke, rt, it, Qe, st, at, Ze, et, nt, tt) {
20037
+ return this.props[0] = Re, this.props[1] = ke, this.props[2] = Ge, this.props[3] = Ne, this.props[4] = qe, this.props[5] = Ye, this.props[6] = Ke, this.props[7] = rt, this.props[8] = it, this.props[9] = Qe, this.props[10] = st, this.props[11] = at, this.props[12] = Ze, this.props[13] = et, this.props[14] = nt, this.props[15] = tt, this;
19913
20038
  }
19914
- function Te(Re, Oe, Ue) {
19915
- return Ue = Ue || 0, Re !== 0 || Oe !== 0 || Ue !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, Re, Oe, Ue, 1) : this;
20039
+ function Te(Re, ke, Ge) {
20040
+ return Ge = Ge || 0, Re !== 0 || ke !== 0 || Ge !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, Re, ke, Ge, 1) : this;
19916
20041
  }
19917
- function Ae(Re, Oe, Ue, Ne, qe, Ye, Ke, Qe, et, nt, at, ot, Je, tt, rt, it) {
19918
- var Ze = this.props;
19919
- if (Re === 1 && Oe === 0 && Ue === 0 && Ne === 0 && qe === 0 && Ye === 1 && Ke === 0 && Qe === 0 && et === 0 && nt === 0 && at === 1 && ot === 0)
19920
- return Ze[12] = Ze[12] * Re + Ze[15] * Je, Ze[13] = Ze[13] * Ye + Ze[15] * tt, Ze[14] = Ze[14] * at + Ze[15] * rt, Ze[15] *= it, this._identityCalculated = !1, this;
19921
- var st = Ze[0], lt = Ze[1], ut = Ze[2], ct = Ze[3], ht = Ze[4], ft = Ze[5], dt = Ze[6], gt = Ze[7], vt = Ze[8], pt = Ze[9], yt = Ze[10], mt = Ze[11], _t = Ze[12], xt = Ze[13], bt = Ze[14], St = Ze[15];
19922
- return Ze[0] = st * Re + lt * qe + ut * et + ct * Je, Ze[1] = st * Oe + lt * Ye + ut * nt + ct * tt, Ze[2] = st * Ue + lt * Ke + ut * at + ct * rt, Ze[3] = st * Ne + lt * Qe + ut * ot + ct * it, Ze[4] = ht * Re + ft * qe + dt * et + gt * Je, Ze[5] = ht * Oe + ft * Ye + dt * nt + gt * tt, Ze[6] = ht * Ue + ft * Ke + dt * at + gt * rt, Ze[7] = ht * Ne + ft * Qe + dt * ot + gt * it, Ze[8] = vt * Re + pt * qe + yt * et + mt * Je, Ze[9] = vt * Oe + pt * Ye + yt * nt + mt * tt, Ze[10] = vt * Ue + pt * Ke + yt * at + mt * rt, Ze[11] = vt * Ne + pt * Qe + yt * ot + mt * it, Ze[12] = _t * Re + xt * qe + bt * et + St * Je, Ze[13] = _t * Oe + xt * Ye + bt * nt + St * tt, Ze[14] = _t * Ue + xt * Ke + bt * at + St * rt, Ze[15] = _t * Ne + xt * Qe + bt * ot + St * it, this._identityCalculated = !1, this;
20042
+ function Ae(Re, ke, Ge, Ne, qe, Ye, Ke, rt, it, Qe, st, at, Ze, et, nt, tt) {
20043
+ var Je = this.props;
20044
+ if (Re === 1 && ke === 0 && Ge === 0 && Ne === 0 && qe === 0 && Ye === 1 && Ke === 0 && rt === 0 && it === 0 && Qe === 0 && st === 1 && at === 0)
20045
+ return Je[12] = Je[12] * Re + Je[15] * Ze, Je[13] = Je[13] * Ye + Je[15] * et, Je[14] = Je[14] * st + Je[15] * nt, Je[15] *= tt, this._identityCalculated = !1, this;
20046
+ var ot = Je[0], lt = Je[1], ht = Je[2], ct = Je[3], ft = Je[4], ut = Je[5], dt = Je[6], gt = Je[7], vt = Je[8], pt = Je[9], yt = Je[10], mt = Je[11], _t = Je[12], xt = Je[13], bt = Je[14], St = Je[15];
20047
+ return Je[0] = ot * Re + lt * qe + ht * it + ct * Ze, Je[1] = ot * ke + lt * Ye + ht * Qe + ct * et, Je[2] = ot * Ge + lt * Ke + ht * st + ct * nt, Je[3] = ot * Ne + lt * rt + ht * at + ct * tt, Je[4] = ft * Re + ut * qe + dt * it + gt * Ze, Je[5] = ft * ke + ut * Ye + dt * Qe + gt * et, Je[6] = ft * Ge + ut * Ke + dt * st + gt * nt, Je[7] = ft * Ne + ut * rt + dt * at + gt * tt, Je[8] = vt * Re + pt * qe + yt * it + mt * Ze, Je[9] = vt * ke + pt * Ye + yt * Qe + mt * et, Je[10] = vt * Ge + pt * Ke + yt * st + mt * nt, Je[11] = vt * Ne + pt * rt + yt * at + mt * tt, Je[12] = _t * Re + xt * qe + bt * it + St * Ze, Je[13] = _t * ke + xt * Ye + bt * Qe + St * et, Je[14] = _t * Ge + xt * Ke + bt * st + St * nt, Je[15] = _t * Ne + xt * rt + bt * at + St * tt, this._identityCalculated = !1, this;
19923
20048
  }
19924
20049
  function Me(Re) {
19925
- var Oe = Re.props;
19926
- return this.transform(Oe[0], Oe[1], Oe[2], Oe[3], Oe[4], Oe[5], Oe[6], Oe[7], Oe[8], Oe[9], Oe[10], Oe[11], Oe[12], Oe[13], Oe[14], Oe[15]);
20050
+ var ke = Re.props;
20051
+ return this.transform(ke[0], ke[1], ke[2], ke[3], ke[4], ke[5], ke[6], ke[7], ke[8], ke[9], ke[10], ke[11], ke[12], ke[13], ke[14], ke[15]);
19927
20052
  }
19928
20053
  function Ee() {
19929
20054
  return this._identityCalculated || (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), this._identityCalculated = !0), this._identity;
19930
20055
  }
19931
20056
  function we(Re) {
19932
- for (var Oe = 0; Oe < 16; ) {
19933
- if (Re.props[Oe] !== this.props[Oe])
20057
+ for (var ke = 0; ke < 16; ) {
20058
+ if (Re.props[ke] !== this.props[ke])
19934
20059
  return !1;
19935
- Oe += 1;
20060
+ ke += 1;
19936
20061
  }
19937
20062
  return !0;
19938
20063
  }
19939
20064
  function Pe(Re) {
19940
- var Oe;
19941
- for (Oe = 0; Oe < 16; Oe += 1)
19942
- Re.props[Oe] = this.props[Oe];
20065
+ var ke;
20066
+ for (ke = 0; ke < 16; ke += 1)
20067
+ Re.props[ke] = this.props[ke];
19943
20068
  return Re;
19944
20069
  }
19945
20070
  function Ie(Re) {
19946
- var Oe;
19947
- for (Oe = 0; Oe < 16; Oe += 1)
19948
- this.props[Oe] = Re[Oe];
20071
+ var ke;
20072
+ for (ke = 0; ke < 16; ke += 1)
20073
+ this.props[ke] = Re[ke];
19949
20074
  }
19950
- function Fe(Re, Oe, Ue) {
20075
+ function Fe(Re, ke, Ge) {
19951
20076
  return {
19952
- x: Re * this.props[0] + Oe * this.props[4] + Ue * this.props[8] + this.props[12],
19953
- y: Re * this.props[1] + Oe * this.props[5] + Ue * this.props[9] + this.props[13],
19954
- z: Re * this.props[2] + Oe * this.props[6] + Ue * this.props[10] + this.props[14]
20077
+ x: Re * this.props[0] + ke * this.props[4] + Ge * this.props[8] + this.props[12],
20078
+ y: Re * this.props[1] + ke * this.props[5] + Ge * this.props[9] + this.props[13],
20079
+ z: Re * this.props[2] + ke * this.props[6] + Ge * this.props[10] + this.props[14]
19955
20080
  };
19956
20081
  }
19957
- function ke(Re, Oe, Ue) {
19958
- return Re * this.props[0] + Oe * this.props[4] + Ue * this.props[8] + this.props[12];
20082
+ function Oe(Re, ke, Ge) {
20083
+ return Re * this.props[0] + ke * this.props[4] + Ge * this.props[8] + this.props[12];
19959
20084
  }
19960
- function $e(Re, Oe, Ue) {
19961
- return Re * this.props[1] + Oe * this.props[5] + Ue * this.props[9] + this.props[13];
20085
+ function $e(Re, ke, Ge) {
20086
+ return Re * this.props[1] + ke * this.props[5] + Ge * this.props[9] + this.props[13];
19962
20087
  }
19963
- function Le(Re, Oe, Ue) {
19964
- return Re * this.props[2] + Oe * this.props[6] + Ue * this.props[10] + this.props[14];
20088
+ function Le(Re, ke, Ge) {
20089
+ return Re * this.props[2] + ke * this.props[6] + Ge * this.props[10] + this.props[14];
19965
20090
  }
19966
- function Ge() {
19967
- var Re = this.props[0] * this.props[5] - this.props[1] * this.props[4], Oe = this.props[5] / Re, Ue = -this.props[1] / Re, Ne = -this.props[4] / Re, qe = this.props[0] / Re, Ye = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / Re, Ke = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / Re, Qe = new Matrix();
19968
- return Qe.props[0] = Oe, Qe.props[1] = Ue, Qe.props[4] = Ne, Qe.props[5] = qe, Qe.props[12] = Ye, Qe.props[13] = Ke, Qe;
20091
+ function Ue() {
20092
+ var Re = this.props[0] * this.props[5] - this.props[1] * this.props[4], ke = this.props[5] / Re, Ge = -this.props[1] / Re, Ne = -this.props[4] / Re, qe = this.props[0] / Re, Ye = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / Re, Ke = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / Re, rt = new Matrix();
20093
+ return rt.props[0] = ke, rt.props[1] = Ge, rt.props[4] = Ne, rt.props[5] = qe, rt.props[12] = Ye, rt.props[13] = Ke, rt;
19969
20094
  }
19970
20095
  function He(Re) {
19971
- var Oe = this.getInverseMatrix();
19972
- return Oe.applyToPointArray(Re[0], Re[1], Re[2] || 0);
20096
+ var ke = this.getInverseMatrix();
20097
+ return ke.applyToPointArray(Re[0], Re[1], Re[2] || 0);
19973
20098
  }
19974
20099
  function We(Re) {
19975
- var Oe, Ue = Re.length, Ne = [];
19976
- for (Oe = 0; Oe < Ue; Oe += 1)
19977
- Ne[Oe] = He(Re[Oe]);
20100
+ var ke, Ge = Re.length, Ne = [];
20101
+ for (ke = 0; ke < Ge; ke += 1)
20102
+ Ne[ke] = He(Re[ke]);
19978
20103
  return Ne;
19979
20104
  }
19980
- function Xe(Re, Oe, Ue) {
20105
+ function je(Re, ke, Ge) {
19981
20106
  var Ne = createTypedArray("float32", 6);
19982
20107
  if (this.isIdentity())
19983
- Ne[0] = Re[0], Ne[1] = Re[1], Ne[2] = Oe[0], Ne[3] = Oe[1], Ne[4] = Ue[0], Ne[5] = Ue[1];
20108
+ Ne[0] = Re[0], Ne[1] = Re[1], Ne[2] = ke[0], Ne[3] = ke[1], Ne[4] = Ge[0], Ne[5] = Ge[1];
19984
20109
  else {
19985
- var qe = this.props[0], Ye = this.props[1], Ke = this.props[4], Qe = this.props[5], et = this.props[12], nt = this.props[13];
19986
- Ne[0] = Re[0] * qe + Re[1] * Ke + et, Ne[1] = Re[0] * Ye + Re[1] * Qe + nt, Ne[2] = Oe[0] * qe + Oe[1] * Ke + et, Ne[3] = Oe[0] * Ye + Oe[1] * Qe + nt, Ne[4] = Ue[0] * qe + Ue[1] * Ke + et, Ne[5] = Ue[0] * Ye + Ue[1] * Qe + nt;
20110
+ var qe = this.props[0], Ye = this.props[1], Ke = this.props[4], rt = this.props[5], it = this.props[12], Qe = this.props[13];
20111
+ Ne[0] = Re[0] * qe + Re[1] * Ke + it, Ne[1] = Re[0] * Ye + Re[1] * rt + Qe, Ne[2] = ke[0] * qe + ke[1] * Ke + it, Ne[3] = ke[0] * Ye + ke[1] * rt + Qe, Ne[4] = Ge[0] * qe + Ge[1] * Ke + it, Ne[5] = Ge[0] * Ye + Ge[1] * rt + Qe;
19987
20112
  }
19988
20113
  return Ne;
19989
20114
  }
19990
- function Ve(Re, Oe, Ue) {
20115
+ function Ve(Re, ke, Ge) {
19991
20116
  var Ne;
19992
- return this.isIdentity() ? Ne = [Re, Oe, Ue] : Ne = [Re * this.props[0] + Oe * this.props[4] + Ue * this.props[8] + this.props[12], Re * this.props[1] + Oe * this.props[5] + Ue * this.props[9] + this.props[13], Re * this.props[2] + Oe * this.props[6] + Ue * this.props[10] + this.props[14]], Ne;
20117
+ return this.isIdentity() ? Ne = [Re, ke, Ge] : Ne = [Re * this.props[0] + ke * this.props[4] + Ge * this.props[8] + this.props[12], Re * this.props[1] + ke * this.props[5] + Ge * this.props[9] + this.props[13], Re * this.props[2] + ke * this.props[6] + Ge * this.props[10] + this.props[14]], Ne;
19993
20118
  }
19994
- function ze(Re, Oe) {
20119
+ function ze(Re, ke) {
19995
20120
  if (this.isIdentity())
19996
- return Re + "," + Oe;
19997
- var Ue = this.props;
19998
- return Math.round((Re * Ue[0] + Oe * Ue[4] + Ue[12]) * 100) / 100 + "," + Math.round((Re * Ue[1] + Oe * Ue[5] + Ue[13]) * 100) / 100;
20121
+ return Re + "," + ke;
20122
+ var Ge = this.props;
20123
+ return Math.round((Re * Ge[0] + ke * Ge[4] + Ge[12]) * 100) / 100 + "," + Math.round((Re * Ge[1] + ke * Ge[5] + Ge[13]) * 100) / 100;
19999
20124
  }
20000
- function je() {
20001
- for (var Re = 0, Oe = this.props, Ue = "matrix3d(", Ne = 1e4; Re < 16; )
20002
- Ue += B(Oe[Re] * Ne) / Ne, Ue += Re === 15 ? ")" : ",", Re += 1;
20003
- return Ue;
20125
+ function Xe() {
20126
+ for (var Re = 0, ke = this.props, Ge = "matrix3d(", Ne = 1e4; Re < 16; )
20127
+ Ge += B(ke[Re] * Ne) / Ne, Ge += Re === 15 ? ")" : ",", Re += 1;
20128
+ return Ge;
20004
20129
  }
20005
20130
  function De(Re) {
20006
- var Oe = 1e4;
20007
- return Re < 1e-6 && Re > 0 || Re > -1e-6 && Re < 0 ? B(Re * Oe) / Oe : Re;
20131
+ var ke = 1e4;
20132
+ return Re < 1e-6 && Re > 0 || Re > -1e-6 && Re < 0 ? B(Re * ke) / ke : Re;
20008
20133
  }
20009
20134
  function Be() {
20010
- var Re = this.props, Oe = De(Re[0]), Ue = De(Re[1]), Ne = De(Re[4]), qe = De(Re[5]), Ye = De(Re[12]), Ke = De(Re[13]);
20011
- return "matrix(" + Oe + "," + Ue + "," + Ne + "," + qe + "," + Ye + "," + Ke + ")";
20135
+ var Re = this.props, ke = De(Re[0]), Ge = De(Re[1]), Ne = De(Re[4]), qe = De(Re[5]), Ye = De(Re[12]), Ke = De(Re[13]);
20136
+ return "matrix(" + ke + "," + Ge + "," + Ne + "," + qe + "," + Ye + "," + Ke + ")";
20012
20137
  }
20013
20138
  return function() {
20014
- this.reset = U, this.rotate = V, this.rotateX = X, this.rotateY = Y, this.rotateZ = K, this.skew = xe, this.skewFromAxis = Z, this.shear = _e, this.scale = J, this.setTransform = Se, this.translate = Te, this.transform = Ae, this.multiply = Me, this.applyToPoint = Fe, this.applyToX = ke, this.applyToY = $e, this.applyToZ = Le, this.applyToPointArray = Ve, this.applyToTriplePoints = Xe, this.applyToPointStringified = ze, this.toCSS = je, this.to2dCSS = Be, this.clone = Pe, this.cloneFromProps = Ie, this.equals = we, this.inversePoints = We, this.inversePoint = He, this.getInverseMatrix = Ge, this._t = this.transform, this.isIdentity = Ee, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
20139
+ this.reset = U, this.rotate = V, this.rotateX = X, this.rotateY = Y, this.rotateZ = K, this.skew = xe, this.skewFromAxis = Z, this.shear = _e, this.scale = J, this.setTransform = Se, this.translate = Te, this.transform = Ae, this.multiply = Me, this.applyToPoint = Fe, this.applyToX = Oe, this.applyToY = $e, this.applyToZ = Le, this.applyToPointArray = Ve, this.applyToTriplePoints = je, this.applyToPointStringified = ze, this.toCSS = Xe, this.to2dCSS = Be, this.clone = Pe, this.cloneFromProps = Ie, this.equals = we, this.inversePoints = We, this.inversePoint = He, this.getInverseMatrix = Ue, this._t = this.transform, this.isIdentity = Ee, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
20015
20140
  };
20016
20141
  }();
20017
20142
  function _typeof$3(C) {
@@ -20214,8 +20339,8 @@ var lottie$1 = { exports: {} };
20214
20339
  var Fe = this.addShapes(Ae, Te[0]);
20215
20340
  if (Te[0].s !== Te[0].e) {
20216
20341
  if (Te.length > 1) {
20217
- var ke = Ae.shape.paths.shapes[Ae.shape.paths._length - 1];
20218
- if (ke.c) {
20342
+ var Oe = Ae.shape.paths.shapes[Ae.shape.paths._length - 1];
20343
+ if (Oe.c) {
20219
20344
  var $e = Fe.pop();
20220
20345
  this.addPaths(Fe, Me), Fe = this.addShapes(Ae, Te[1], $e);
20221
20346
  } else
@@ -20845,40 +20970,40 @@ var lottie$1 = { exports: {} };
20845
20970
  I = I.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);
20846
20971
  var B = 127988, U = 917631, V = 917601, X = 917626, Y = 65039, K = 8205, _e = 127462, xe = 127487, Z = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
20847
20972
  function J(De) {
20848
- var Be = De.split(","), Re, Oe = Be.length, Ue = [];
20849
- for (Re = 0; Re < Oe; Re += 1)
20850
- Be[Re] !== "sans-serif" && Be[Re] !== "monospace" && Ue.push(Be[Re]);
20851
- return Ue.join(",");
20973
+ var Be = De.split(","), Re, ke = Be.length, Ge = [];
20974
+ for (Re = 0; Re < ke; Re += 1)
20975
+ Be[Re] !== "sans-serif" && Be[Re] !== "monospace" && Ge.push(Be[Re]);
20976
+ return Ge.join(",");
20852
20977
  }
20853
20978
  function Se(De, Be) {
20854
20979
  var Re = createTag("span");
20855
20980
  Re.setAttribute("aria-hidden", !0), Re.style.fontFamily = Be;
20856
- var Oe = createTag("span");
20857
- Oe.innerText = "giItT1WQy@!-/#", Re.style.position = "absolute", Re.style.left = "-10000px", Re.style.top = "-10000px", Re.style.fontSize = "300px", Re.style.fontVariant = "normal", Re.style.fontStyle = "normal", Re.style.fontWeight = "normal", Re.style.letterSpacing = "0", Re.appendChild(Oe), document.body.appendChild(Re);
20858
- var Ue = Oe.offsetWidth;
20859
- return Oe.style.fontFamily = J(De) + ", " + Be, {
20860
- node: Oe,
20861
- w: Ue,
20981
+ var ke = createTag("span");
20982
+ ke.innerText = "giItT1WQy@!-/#", Re.style.position = "absolute", Re.style.left = "-10000px", Re.style.top = "-10000px", Re.style.fontSize = "300px", Re.style.fontVariant = "normal", Re.style.fontStyle = "normal", Re.style.fontWeight = "normal", Re.style.letterSpacing = "0", Re.appendChild(ke), document.body.appendChild(Re);
20983
+ var Ge = ke.offsetWidth;
20984
+ return ke.style.fontFamily = J(De) + ", " + Be, {
20985
+ node: ke,
20986
+ w: Ge,
20862
20987
  parent: Re
20863
20988
  };
20864
20989
  }
20865
20990
  function Te() {
20866
- var De, Be = this.fonts.length, Re, Oe, Ue = Be;
20991
+ var De, Be = this.fonts.length, Re, ke, Ge = Be;
20867
20992
  for (De = 0; De < Be; De += 1)
20868
- this.fonts[De].loaded ? Ue -= 1 : this.fonts[De].fOrigin === "n" || this.fonts[De].origin === 0 ? this.fonts[De].loaded = !0 : (Re = this.fonts[De].monoCase.node, Oe = this.fonts[De].monoCase.w, Re.offsetWidth !== Oe ? (Ue -= 1, this.fonts[De].loaded = !0) : (Re = this.fonts[De].sansCase.node, Oe = this.fonts[De].sansCase.w, Re.offsetWidth !== Oe && (Ue -= 1, this.fonts[De].loaded = !0)), this.fonts[De].loaded && (this.fonts[De].sansCase.parent.parentNode.removeChild(this.fonts[De].sansCase.parent), this.fonts[De].monoCase.parent.parentNode.removeChild(this.fonts[De].monoCase.parent)));
20869
- Ue !== 0 && Date.now() - this.initTime < C ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
20993
+ this.fonts[De].loaded ? Ge -= 1 : this.fonts[De].fOrigin === "n" || this.fonts[De].origin === 0 ? this.fonts[De].loaded = !0 : (Re = this.fonts[De].monoCase.node, ke = this.fonts[De].monoCase.w, Re.offsetWidth !== ke ? (Ge -= 1, this.fonts[De].loaded = !0) : (Re = this.fonts[De].sansCase.node, ke = this.fonts[De].sansCase.w, Re.offsetWidth !== ke && (Ge -= 1, this.fonts[De].loaded = !0)), this.fonts[De].loaded && (this.fonts[De].sansCase.parent.parentNode.removeChild(this.fonts[De].sansCase.parent), this.fonts[De].monoCase.parent.parentNode.removeChild(this.fonts[De].monoCase.parent)));
20994
+ Ge !== 0 && Date.now() - this.initTime < C ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
20870
20995
  }
20871
20996
  function Ae(De, Be) {
20872
- var Re = document.body && Be ? "svg" : "canvas", Oe, Ue = getFontProperties(De);
20997
+ var Re = document.body && Be ? "svg" : "canvas", ke, Ge = getFontProperties(De);
20873
20998
  if (Re === "svg") {
20874
20999
  var Ne = createNS("text");
20875
- Ne.style.fontSize = "100px", Ne.setAttribute("font-family", De.fFamily), Ne.setAttribute("font-style", Ue.style), Ne.setAttribute("font-weight", Ue.weight), Ne.textContent = "1", De.fClass ? (Ne.style.fontFamily = "inherit", Ne.setAttribute("class", De.fClass)) : Ne.style.fontFamily = De.fFamily, Be.appendChild(Ne), Oe = Ne;
21000
+ Ne.style.fontSize = "100px", Ne.setAttribute("font-family", De.fFamily), Ne.setAttribute("font-style", Ge.style), Ne.setAttribute("font-weight", Ge.weight), Ne.textContent = "1", De.fClass ? (Ne.style.fontFamily = "inherit", Ne.setAttribute("class", De.fClass)) : Ne.style.fontFamily = De.fFamily, Be.appendChild(Ne), ke = Ne;
20876
21001
  } else {
20877
21002
  var qe = new OffscreenCanvas(500, 500).getContext("2d");
20878
- qe.font = Ue.style + " " + Ue.weight + " 100px " + De.fFamily, Oe = qe;
21003
+ qe.font = Ge.style + " " + Ge.weight + " 100px " + De.fFamily, ke = qe;
20879
21004
  }
20880
21005
  function Ye(Ke) {
20881
- return Re === "svg" ? (Oe.textContent = Ke, Oe.getComputedTextLength()) : Oe.measureText(Ke).width;
21006
+ return Re === "svg" ? (ke.textContent = Ke, ke.getComputedTextLength()) : ke.measureText(Ke).width;
20882
21007
  }
20883
21008
  return {
20884
21009
  measureText: Ye
@@ -20894,70 +21019,70 @@ var lottie$1 = { exports: {} };
20894
21019
  return;
20895
21020
  }
20896
21021
  if (!document.body) {
20897
- this.isLoaded = !0, De.list.forEach(function(at) {
20898
- at.helper = Ae(at), at.cache = {};
21022
+ this.isLoaded = !0, De.list.forEach(function(st) {
21023
+ st.helper = Ae(st), st.cache = {};
20899
21024
  }), this.fonts = De.list;
20900
21025
  return;
20901
21026
  }
20902
- var Re = De.list, Oe, Ue = Re.length, Ne = Ue;
20903
- for (Oe = 0; Oe < Ue; Oe += 1) {
21027
+ var Re = De.list, ke, Ge = Re.length, Ne = Ge;
21028
+ for (ke = 0; ke < Ge; ke += 1) {
20904
21029
  var qe = !0, Ye, Ke;
20905
- if (Re[Oe].loaded = !1, Re[Oe].monoCase = Se(Re[Oe].fFamily, "monospace"), Re[Oe].sansCase = Se(Re[Oe].fFamily, "sans-serif"), !Re[Oe].fPath)
20906
- Re[Oe].loaded = !0, Ne -= 1;
20907
- else if (Re[Oe].fOrigin === "p" || Re[Oe].origin === 3) {
20908
- if (Ye = document.querySelectorAll('style[f-forigin="p"][f-family="' + Re[Oe].fFamily + '"], style[f-origin="3"][f-family="' + Re[Oe].fFamily + '"]'), Ye.length > 0 && (qe = !1), qe) {
20909
- var Qe = createTag("style");
20910
- Qe.setAttribute("f-forigin", Re[Oe].fOrigin), Qe.setAttribute("f-origin", Re[Oe].origin), Qe.setAttribute("f-family", Re[Oe].fFamily), Qe.type = "text/css", Qe.innerText = "@font-face {font-family: " + Re[Oe].fFamily + "; font-style: normal; src: url('" + Re[Oe].fPath + "');}", Be.appendChild(Qe);
21030
+ if (Re[ke].loaded = !1, Re[ke].monoCase = Se(Re[ke].fFamily, "monospace"), Re[ke].sansCase = Se(Re[ke].fFamily, "sans-serif"), !Re[ke].fPath)
21031
+ Re[ke].loaded = !0, Ne -= 1;
21032
+ else if (Re[ke].fOrigin === "p" || Re[ke].origin === 3) {
21033
+ if (Ye = document.querySelectorAll('style[f-forigin="p"][f-family="' + Re[ke].fFamily + '"], style[f-origin="3"][f-family="' + Re[ke].fFamily + '"]'), Ye.length > 0 && (qe = !1), qe) {
21034
+ var rt = createTag("style");
21035
+ rt.setAttribute("f-forigin", Re[ke].fOrigin), rt.setAttribute("f-origin", Re[ke].origin), rt.setAttribute("f-family", Re[ke].fFamily), rt.type = "text/css", rt.innerText = "@font-face {font-family: " + Re[ke].fFamily + "; font-style: normal; src: url('" + Re[ke].fPath + "');}", Be.appendChild(rt);
20911
21036
  }
20912
- } else if (Re[Oe].fOrigin === "g" || Re[Oe].origin === 1) {
21037
+ } else if (Re[ke].fOrigin === "g" || Re[ke].origin === 1) {
20913
21038
  for (Ye = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), Ke = 0; Ke < Ye.length; Ke += 1)
20914
- Ye[Ke].href.indexOf(Re[Oe].fPath) !== -1 && (qe = !1);
21039
+ Ye[Ke].href.indexOf(Re[ke].fPath) !== -1 && (qe = !1);
20915
21040
  if (qe) {
20916
- var et = createTag("link");
20917
- et.setAttribute("f-forigin", Re[Oe].fOrigin), et.setAttribute("f-origin", Re[Oe].origin), et.type = "text/css", et.rel = "stylesheet", et.href = Re[Oe].fPath, document.body.appendChild(et);
21041
+ var it = createTag("link");
21042
+ it.setAttribute("f-forigin", Re[ke].fOrigin), it.setAttribute("f-origin", Re[ke].origin), it.type = "text/css", it.rel = "stylesheet", it.href = Re[ke].fPath, document.body.appendChild(it);
20918
21043
  }
20919
- } else if (Re[Oe].fOrigin === "t" || Re[Oe].origin === 2) {
21044
+ } else if (Re[ke].fOrigin === "t" || Re[ke].origin === 2) {
20920
21045
  for (Ye = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Ke = 0; Ke < Ye.length; Ke += 1)
20921
- Re[Oe].fPath === Ye[Ke].src && (qe = !1);
21046
+ Re[ke].fPath === Ye[Ke].src && (qe = !1);
20922
21047
  if (qe) {
20923
- var nt = createTag("link");
20924
- nt.setAttribute("f-forigin", Re[Oe].fOrigin), nt.setAttribute("f-origin", Re[Oe].origin), nt.setAttribute("rel", "stylesheet"), nt.setAttribute("href", Re[Oe].fPath), Be.appendChild(nt);
21048
+ var Qe = createTag("link");
21049
+ Qe.setAttribute("f-forigin", Re[ke].fOrigin), Qe.setAttribute("f-origin", Re[ke].origin), Qe.setAttribute("rel", "stylesheet"), Qe.setAttribute("href", Re[ke].fPath), Be.appendChild(Qe);
20925
21050
  }
20926
21051
  }
20927
- Re[Oe].helper = Ae(Re[Oe], Be), Re[Oe].cache = {}, this.fonts.push(Re[Oe]);
21052
+ Re[ke].helper = Ae(Re[ke], Be), Re[ke].cache = {}, this.fonts.push(Re[ke]);
20928
21053
  }
20929
21054
  Ne === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
20930
21055
  }
20931
21056
  function Ee(De) {
20932
21057
  if (De) {
20933
21058
  this.chars || (this.chars = []);
20934
- var Be, Re = De.length, Oe, Ue = this.chars.length, Ne;
21059
+ var Be, Re = De.length, ke, Ge = this.chars.length, Ne;
20935
21060
  for (Be = 0; Be < Re; Be += 1) {
20936
- for (Oe = 0, Ne = !1; Oe < Ue; )
20937
- this.chars[Oe].style === De[Be].style && this.chars[Oe].fFamily === De[Be].fFamily && this.chars[Oe].ch === De[Be].ch && (Ne = !0), Oe += 1;
20938
- Ne || (this.chars.push(De[Be]), Ue += 1);
21061
+ for (ke = 0, Ne = !1; ke < Ge; )
21062
+ this.chars[ke].style === De[Be].style && this.chars[ke].fFamily === De[Be].fFamily && this.chars[ke].ch === De[Be].ch && (Ne = !0), ke += 1;
21063
+ Ne || (this.chars.push(De[Be]), Ge += 1);
20939
21064
  }
20940
21065
  }
20941
21066
  }
20942
21067
  function we(De, Be, Re) {
20943
- for (var Oe = 0, Ue = this.chars.length; Oe < Ue; ) {
20944
- if (this.chars[Oe].ch === De && this.chars[Oe].style === Be && this.chars[Oe].fFamily === Re)
20945
- return this.chars[Oe];
20946
- Oe += 1;
21068
+ for (var ke = 0, Ge = this.chars.length; ke < Ge; ) {
21069
+ if (this.chars[ke].ch === De && this.chars[ke].style === Be && this.chars[ke].fFamily === Re)
21070
+ return this.chars[ke];
21071
+ ke += 1;
20947
21072
  }
20948
21073
  return (typeof De == "string" && De.charCodeAt(0) !== 13 || !De) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", De, Be, Re)), E;
20949
21074
  }
20950
21075
  function Pe(De, Be, Re) {
20951
- var Oe = this.getFontByName(Be), Ue = De;
20952
- if (!Oe.cache[Ue]) {
20953
- var Ne = Oe.helper;
21076
+ var ke = this.getFontByName(Be), Ge = De;
21077
+ if (!ke.cache[Ge]) {
21078
+ var Ne = ke.helper;
20954
21079
  if (De === " ") {
20955
21080
  var qe = Ne.measureText("|" + De + "|"), Ye = Ne.measureText("||");
20956
- Oe.cache[Ue] = (qe - Ye) / 100;
21081
+ ke.cache[Ge] = (qe - Ye) / 100;
20957
21082
  } else
20958
- Oe.cache[Ue] = Ne.measureText(De) / 100;
21083
+ ke.cache[Ge] = Ne.measureText(De) / 100;
20959
21084
  }
20960
- return Oe.cache[Ue] * Re;
21085
+ return ke.cache[Ge] * Re;
20961
21086
  }
20962
21087
  function Ie(De) {
20963
21088
  for (var Be = 0, Re = this.fonts.length; Be < Re; ) {
@@ -20970,12 +21095,12 @@ var lottie$1 = { exports: {} };
20970
21095
  function Fe(De) {
20971
21096
  var Be = 0, Re = De.charCodeAt(0);
20972
21097
  if (Re >= 55296 && Re <= 56319) {
20973
- var Oe = De.charCodeAt(1);
20974
- Oe >= 56320 && Oe <= 57343 && (Be = (Re - 55296) * 1024 + Oe - 56320 + 65536);
21098
+ var ke = De.charCodeAt(1);
21099
+ ke >= 56320 && ke <= 57343 && (Be = (Re - 55296) * 1024 + ke - 56320 + 65536);
20975
21100
  }
20976
21101
  return Be;
20977
21102
  }
20978
- function ke(De, Be) {
21103
+ function Oe(De, Be) {
20979
21104
  var Re = De.toString(16) + Be.toString(16);
20980
21105
  return Z.indexOf(Re) !== -1;
20981
21106
  }
@@ -20985,25 +21110,25 @@ var lottie$1 = { exports: {} };
20985
21110
  function Le(De) {
20986
21111
  return De === Y;
20987
21112
  }
20988
- function Ge(De) {
21113
+ function Ue(De) {
20989
21114
  var Be = Fe(De);
20990
21115
  return Be >= _e && Be <= xe;
20991
21116
  }
20992
21117
  function He(De) {
20993
- return Ge(De.substr(0, 2)) && Ge(De.substr(2, 2));
21118
+ return Ue(De.substr(0, 2)) && Ue(De.substr(2, 2));
20994
21119
  }
20995
21120
  function We(De) {
20996
21121
  return I.indexOf(De) !== -1;
20997
21122
  }
20998
- function Xe(De, Be) {
21123
+ function je(De, Be) {
20999
21124
  var Re = Fe(De.substr(Be, 2));
21000
21125
  if (Re !== B)
21001
21126
  return !1;
21002
- var Oe = 0;
21003
- for (Be += 2; Oe < 5; ) {
21127
+ var ke = 0;
21128
+ for (Be += 2; ke < 5; ) {
21004
21129
  if (Re = Fe(De.substr(Be, 2)), Re < V || Re > X)
21005
21130
  return !1;
21006
- Oe += 1, Be += 2;
21131
+ ke += 1, Be += 2;
21007
21132
  }
21008
21133
  return Fe(De.substr(Be, 2)) === U;
21009
21134
  }
@@ -21013,8 +21138,8 @@ var lottie$1 = { exports: {} };
21013
21138
  var ze = function() {
21014
21139
  this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
21015
21140
  };
21016
- ze.isModifier = ke, ze.isZeroWidthJoiner = $e, ze.isFlagEmoji = He, ze.isRegionalCode = Ge, ze.isCombinedCharacter = We, ze.isRegionalFlag = Xe, ze.isVariationSelector = Le, ze.BLACK_FLAG_CODE_POINT = B;
21017
- var je = {
21141
+ ze.isModifier = Oe, ze.isZeroWidthJoiner = $e, ze.isFlagEmoji = He, ze.isRegionalCode = Ue, ze.isCombinedCharacter = We, ze.isRegionalFlag = je, ze.isVariationSelector = Le, ze.BLACK_FLAG_CODE_POINT = B;
21142
+ var Xe = {
21018
21143
  addChars: Ee,
21019
21144
  addFonts: Me,
21020
21145
  getCharData: we,
@@ -21023,7 +21148,7 @@ var lottie$1 = { exports: {} };
21023
21148
  checkLoadedFonts: Te,
21024
21149
  setIsLoaded: Ve
21025
21150
  };
21026
- return ze.prototype = je, ze;
21151
+ return ze.prototype = Xe, ze;
21027
21152
  }();
21028
21153
  function SlotManager(C) {
21029
21154
  this.animationData = C;
@@ -21973,19 +22098,19 @@ var lottie$1 = { exports: {} };
21973
22098
  function V() {
21974
22099
  }
21975
22100
  function X(Z, J, Se) {
21976
- var Te, Ae, Me, Ee, we, Pe, Ie = J.styles.length, Fe = J.lvl, ke, $e, Le, Ge;
22101
+ var Te, Ae, Me, Ee, we, Pe, Ie = J.styles.length, Fe = J.lvl, Oe, $e, Le, Ue;
21977
22102
  for (Pe = 0; Pe < Ie; Pe += 1) {
21978
22103
  if (Ee = J.sh._mdf || Se, J.styles[Pe].lvl < Fe) {
21979
- for ($e = E.reset(), Le = Fe - J.styles[Pe].lvl, Ge = J.transformers.length - 1; !Ee && Le > 0; )
21980
- Ee = J.transformers[Ge].mProps._mdf || Ee, Le -= 1, Ge -= 1;
22104
+ for ($e = E.reset(), Le = Fe - J.styles[Pe].lvl, Ue = J.transformers.length - 1; !Ee && Le > 0; )
22105
+ Ee = J.transformers[Ue].mProps._mdf || Ee, Le -= 1, Ue -= 1;
21981
22106
  if (Ee)
21982
- for (Le = Fe - J.styles[Pe].lvl, Ge = J.transformers.length - 1; Le > 0; )
21983
- $e.multiply(J.transformers[Ge].mProps.v), Le -= 1, Ge -= 1;
22107
+ for (Le = Fe - J.styles[Pe].lvl, Ue = J.transformers.length - 1; Le > 0; )
22108
+ $e.multiply(J.transformers[Ue].mProps.v), Le -= 1, Ue -= 1;
21984
22109
  } else
21985
22110
  $e = C;
21986
- if (ke = J.sh.paths, Ae = ke._length, Ee) {
22111
+ if (Oe = J.sh.paths, Ae = Oe._length, Ee) {
21987
22112
  for (Me = "", Te = 0; Te < Ae; Te += 1)
21988
- we = ke.shapes[Te], we && we._length && (Me += buildShapeString(we, we._length, we.c, $e));
22113
+ we = Oe.shapes[Te], we && we._length && (Me += buildShapeString(we, we._length, we.c, $e));
21989
22114
  J.caches[Pe] = Me;
21990
22115
  } else
21991
22116
  Me = J.caches[Pe];
@@ -22009,17 +22134,17 @@ var lottie$1 = { exports: {} };
22009
22134
  var Pe = Z.t === 1 ? "x1" : "cx", Ie = Pe === "x1" ? "y1" : "cy";
22010
22135
  Te.setAttribute(Pe, Me[0]), Te.setAttribute(Ie, Me[1]), Ae && !J.g._collapsable && (J.of.setAttribute(Pe, Me[0]), J.of.setAttribute(Ie, Me[1]));
22011
22136
  }
22012
- var Fe, ke, $e, Le;
22137
+ var Fe, Oe, $e, Le;
22013
22138
  if (J.g._cmdf || Se) {
22014
22139
  Fe = J.cst;
22015
- var Ge = J.g.c;
22016
- for ($e = Fe.length, ke = 0; ke < $e; ke += 1)
22017
- Le = Fe[ke], Le.setAttribute("offset", Ge[ke * 4] + "%"), Le.setAttribute("stop-color", "rgb(" + Ge[ke * 4 + 1] + "," + Ge[ke * 4 + 2] + "," + Ge[ke * 4 + 3] + ")");
22140
+ var Ue = J.g.c;
22141
+ for ($e = Fe.length, Oe = 0; Oe < $e; Oe += 1)
22142
+ Le = Fe[Oe], Le.setAttribute("offset", Ue[Oe * 4] + "%"), Le.setAttribute("stop-color", "rgb(" + Ue[Oe * 4 + 1] + "," + Ue[Oe * 4 + 2] + "," + Ue[Oe * 4 + 3] + ")");
22018
22143
  }
22019
22144
  if (Ae && (J.g._omdf || Se)) {
22020
22145
  var He = J.g.o;
22021
- for (J.g._collapsable ? Fe = J.cst : Fe = J.ost, $e = Fe.length, ke = 0; ke < $e; ke += 1)
22022
- Le = Fe[ke], J.g._collapsable || Le.setAttribute("offset", He[ke * 2] + "%"), Le.setAttribute("stop-opacity", He[ke * 2 + 1]);
22146
+ for (J.g._collapsable ? Fe = J.cst : Fe = J.ost, $e = Fe.length, Oe = 0; Oe < $e; Oe += 1)
22147
+ Le = Fe[Oe], J.g._collapsable || Le.setAttribute("offset", He[Oe * 2] + "%"), Le.setAttribute("stop-opacity", He[Oe * 2 + 1]);
22023
22148
  }
22024
22149
  if (Z.t === 1)
22025
22150
  (J.e._mdf || Se) && (Te.setAttribute("x2", Ee[0]), Te.setAttribute("y2", Ee[1]), Ae && !J.g._collapsable && (J.of.setAttribute("x2", Ee[0]), J.of.setAttribute("y2", Ee[1])));
@@ -22027,10 +22152,10 @@ var lottie$1 = { exports: {} };
22027
22152
  var We;
22028
22153
  if ((J.s._mdf || J.e._mdf || Se) && (We = Math.sqrt(Math.pow(Me[0] - Ee[0], 2) + Math.pow(Me[1] - Ee[1], 2)), Te.setAttribute("r", We), Ae && !J.g._collapsable && J.of.setAttribute("r", We)), J.e._mdf || J.h._mdf || J.a._mdf || Se) {
22029
22154
  We || (We = Math.sqrt(Math.pow(Me[0] - Ee[0], 2) + Math.pow(Me[1] - Ee[1], 2)));
22030
- var Xe = Math.atan2(Ee[1] - Me[1], Ee[0] - Me[0]), Ve = J.h.v;
22155
+ var je = Math.atan2(Ee[1] - Me[1], Ee[0] - Me[0]), Ve = J.h.v;
22031
22156
  Ve >= 1 ? Ve = 0.99 : Ve <= -1 && (Ve = -0.99);
22032
- var ze = We * Ve, je = Math.cos(Xe + J.a.v) * ze + Me[0], De = Math.sin(Xe + J.a.v) * ze + Me[1];
22033
- Te.setAttribute("fx", je), Te.setAttribute("fy", De), Ae && !J.g._collapsable && (J.of.setAttribute("fx", je), J.of.setAttribute("fy", De));
22157
+ var ze = We * Ve, Xe = Math.cos(je + J.a.v) * ze + Me[0], De = Math.sin(je + J.a.v) * ze + Me[1];
22158
+ Te.setAttribute("fx", Xe), Te.setAttribute("fy", De), Ae && !J.g._collapsable && (J.of.setAttribute("fx", Xe), J.of.setAttribute("fy", De));
22034
22159
  }
22035
22160
  }
22036
22161
  }
@@ -22223,19 +22348,19 @@ var lottie$1 = { exports: {} };
22223
22348
  C.__complete = !0;
22224
22349
  var E = this.elem.globalData.fontManager, I = this.data, B = [], U, V, X, Y = 0, K, _e = I.m.g, xe = 0, Z = 0, J = 0, Se = [], Te = 0, Ae = 0, Me, Ee, we = E.getFontByName(C.f), Pe, Ie = 0, Fe = getFontProperties(we);
22225
22350
  C.fWeight = Fe.weight, C.fStyle = Fe.style, C.finalSize = C.s, C.finalText = this.buildFinalText(C.t), V = C.finalText.length, C.finalLineHeight = C.lh;
22226
- var ke = C.tr / 1e3 * C.finalSize, $e;
22351
+ var Oe = C.tr / 1e3 * C.finalSize, $e;
22227
22352
  if (C.sz)
22228
- for (var Le = !0, Ge = C.sz[0], He = C.sz[1], We, Xe; Le; ) {
22229
- Xe = this.buildFinalText(C.t), We = 0, Te = 0, V = Xe.length, ke = C.tr / 1e3 * C.finalSize;
22353
+ for (var Le = !0, Ue = C.sz[0], He = C.sz[1], We, je; Le; ) {
22354
+ je = this.buildFinalText(C.t), We = 0, Te = 0, V = je.length, Oe = C.tr / 1e3 * C.finalSize;
22230
22355
  var Ve = -1;
22231
22356
  for (U = 0; U < V; U += 1)
22232
- $e = Xe[U].charCodeAt(0), X = !1, Xe[U] === " " ? Ve = U : ($e === 13 || $e === 3) && (Te = 0, X = !0, We += C.finalLineHeight || C.finalSize * 1.2), E.chars ? (Pe = E.getCharData(Xe[U], we.fStyle, we.fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(Xe[U], C.f, C.finalSize), Te + Ie > Ge && Xe[U] !== " " ? (Ve === -1 ? V += 1 : U = Ve, We += C.finalLineHeight || C.finalSize * 1.2, Xe.splice(U, Ve === U ? 1 : 0, "\r"), Ve = -1, Te = 0) : (Te += Ie, Te += ke);
22233
- We += we.ascent * C.finalSize / 100, this.canResize && C.finalSize > this.minimumFontSize && He < We ? (C.finalSize -= 1, C.finalLineHeight = C.finalSize * C.lh / C.s) : (C.finalText = Xe, V = C.finalText.length, Le = !1);
22357
+ $e = je[U].charCodeAt(0), X = !1, je[U] === " " ? Ve = U : ($e === 13 || $e === 3) && (Te = 0, X = !0, We += C.finalLineHeight || C.finalSize * 1.2), E.chars ? (Pe = E.getCharData(je[U], we.fStyle, we.fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(je[U], C.f, C.finalSize), Te + Ie > Ue && je[U] !== " " ? (Ve === -1 ? V += 1 : U = Ve, We += C.finalLineHeight || C.finalSize * 1.2, je.splice(U, Ve === U ? 1 : 0, "\r"), Ve = -1, Te = 0) : (Te += Ie, Te += Oe);
22358
+ We += we.ascent * C.finalSize / 100, this.canResize && C.finalSize > this.minimumFontSize && He < We ? (C.finalSize -= 1, C.finalLineHeight = C.finalSize * C.lh / C.s) : (C.finalText = je, V = C.finalText.length, Le = !1);
22234
22359
  }
22235
- Te = -ke, Ie = 0;
22236
- var ze = 0, je;
22360
+ Te = -Oe, Ie = 0;
22361
+ var ze = 0, Xe;
22237
22362
  for (U = 0; U < V; U += 1)
22238
- if (X = !1, je = C.finalText[U], $e = je.charCodeAt(0), $e === 13 || $e === 3 ? (ze = 0, Se.push(Te), Ae = Te > Ae ? Te : Ae, Te = -2 * ke, K = "", X = !0, J += 1) : K = je, E.chars ? (Pe = E.getCharData(je, we.fStyle, E.getFontByName(C.f).fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(K, C.f, C.finalSize), je === " " ? ze += Ie + ke : (Te += Ie + ke + ze, ze = 0), B.push({
22363
+ if (X = !1, Xe = C.finalText[U], $e = Xe.charCodeAt(0), $e === 13 || $e === 3 ? (ze = 0, Se.push(Te), Ae = Te > Ae ? Te : Ae, Te = -2 * Oe, K = "", X = !0, J += 1) : K = Xe, E.chars ? (Pe = E.getCharData(Xe, we.fStyle, E.getFontByName(C.f).fFamily), Ie = X ? 0 : Pe.w * C.finalSize / 100) : Ie = E.measureText(K, C.f, C.finalSize), Xe === " " ? ze += Ie + Oe : (Te += Ie + Oe + ze, ze = 0), B.push({
22239
22364
  l: Ie,
22240
22365
  an: Ie,
22241
22366
  add: xe,
@@ -22274,11 +22399,11 @@ var lottie$1 = { exports: {} };
22274
22399
  C.lineWidths = Se;
22275
22400
  var De = I.a, Be, Re;
22276
22401
  Ee = De.length;
22277
- var Oe, Ue, Ne = [];
22402
+ var ke, Ge, Ne = [];
22278
22403
  for (Me = 0; Me < Ee; Me += 1) {
22279
- for (Be = De[Me], Be.a.sc && (C.strokeColorAnim = !0), Be.a.sw && (C.strokeWidthAnim = !0), (Be.a.fc || Be.a.fh || Be.a.fs || Be.a.fb) && (C.fillColorAnim = !0), Ue = 0, Oe = Be.s.b, U = 0; U < V; U += 1)
22280
- Re = B[U], Re.anIndexes[Me] = Ue, (Oe == 1 && Re.val !== "" || Oe == 2 && Re.val !== "" && Re.val !== " " || Oe == 3 && (Re.n || Re.val == " " || U == V - 1) || Oe == 4 && (Re.n || U == V - 1)) && (Be.s.rn === 1 && Ne.push(Ue), Ue += 1);
22281
- I.a[Me].s.totalChars = Ue;
22404
+ for (Be = De[Me], Be.a.sc && (C.strokeColorAnim = !0), Be.a.sw && (C.strokeWidthAnim = !0), (Be.a.fc || Be.a.fh || Be.a.fs || Be.a.fb) && (C.fillColorAnim = !0), Ge = 0, ke = Be.s.b, U = 0; U < V; U += 1)
22405
+ Re = B[U], Re.anIndexes[Me] = Ge, (ke == 1 && Re.val !== "" || ke == 2 && Re.val !== "" && Re.val !== " " || ke == 3 && (Re.n || Re.val == " " || U == V - 1) || ke == 4 && (Re.n || U == V - 1)) && (Be.s.rn === 1 && Ne.push(Ge), Ge += 1);
22406
+ I.a[Me].s.totalChars = Ge;
22282
22407
  var qe = -1, Ye;
22283
22408
  if (Be.s.rn === 1)
22284
22409
  for (U = 0; U < V; U += 1)
@@ -22406,28 +22531,28 @@ var lottie$1 = { exports: {} };
22406
22531
  }, TextAnimatorProperty.prototype.getMeasures = function(C, E) {
22407
22532
  if (this.lettersChangedFlag = E, !(!this._mdf && !this._isFirstFrame && !E && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
22408
22533
  this._isFirstFrame = !1;
22409
- var I = this._moreOptions.alignment.v, B = this._animatorsData, U = this._textData, V = this.mHelper, X = this._renderType, Y = this.renderedLetters.length, K, _e, xe, Z, J = C.l, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, ke, $e, Le, Ge, He, We;
22534
+ var I = this._moreOptions.alignment.v, B = this._animatorsData, U = this._textData, V = this.mHelper, X = this._renderType, Y = this.renderedLetters.length, K, _e, xe, Z, J = C.l, Se, Te, Ae, Me, Ee, we, Pe, Ie, Fe, Oe, $e, Le, Ue, He, We;
22410
22535
  if (this._hasMaskedPath) {
22411
22536
  if (We = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
22412
- var Xe = We.v;
22413
- this._pathData.r.v && (Xe = Xe.reverse()), Se = {
22537
+ var je = We.v;
22538
+ this._pathData.r.v && (je = je.reverse()), Se = {
22414
22539
  tLength: 0,
22415
22540
  segments: []
22416
- }, Z = Xe._length - 1;
22541
+ }, Z = je._length - 1;
22417
22542
  var Ve;
22418
22543
  for (Le = 0, xe = 0; xe < Z; xe += 1)
22419
- Ve = bez.buildBezierData(Xe.v[xe], Xe.v[xe + 1], [Xe.o[xe][0] - Xe.v[xe][0], Xe.o[xe][1] - Xe.v[xe][1]], [Xe.i[xe + 1][0] - Xe.v[xe + 1][0], Xe.i[xe + 1][1] - Xe.v[xe + 1][1]]), Se.tLength += Ve.segmentLength, Se.segments.push(Ve), Le += Ve.segmentLength;
22420
- xe = Z, We.v.c && (Ve = bez.buildBezierData(Xe.v[xe], Xe.v[0], [Xe.o[xe][0] - Xe.v[xe][0], Xe.o[xe][1] - Xe.v[xe][1]], [Xe.i[0][0] - Xe.v[0][0], Xe.i[0][1] - Xe.v[0][1]]), Se.tLength += Ve.segmentLength, Se.segments.push(Ve), Le += Ve.segmentLength), this._pathData.pi = Se;
22544
+ Ve = bez.buildBezierData(je.v[xe], je.v[xe + 1], [je.o[xe][0] - je.v[xe][0], je.o[xe][1] - je.v[xe][1]], [je.i[xe + 1][0] - je.v[xe + 1][0], je.i[xe + 1][1] - je.v[xe + 1][1]]), Se.tLength += Ve.segmentLength, Se.segments.push(Ve), Le += Ve.segmentLength;
22545
+ xe = Z, We.v.c && (Ve = bez.buildBezierData(je.v[xe], je.v[0], [je.o[xe][0] - je.v[xe][0], je.o[xe][1] - je.v[xe][1]], [je.i[0][0] - je.v[0][0], je.i[0][1] - je.v[0][1]]), Se.tLength += Ve.segmentLength, Se.segments.push(Ve), Le += Ve.segmentLength), this._pathData.pi = Se;
22421
22546
  }
22422
- if (Se = this._pathData.pi, Te = this._pathData.f.v, Pe = 0, we = 1, Me = 0, Ee = !0, ke = Se.segments, Te < 0 && We.v.c)
22423
- for (Se.tLength < Math.abs(Te) && (Te = -Math.abs(Te) % Se.tLength), Pe = ke.length - 1, Fe = ke[Pe].points, we = Fe.length - 1; Te < 0; )
22424
- Te += Fe[we].partialLength, we -= 1, we < 0 && (Pe -= 1, Fe = ke[Pe].points, we = Fe.length - 1);
22425
- Fe = ke[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength;
22547
+ if (Se = this._pathData.pi, Te = this._pathData.f.v, Pe = 0, we = 1, Me = 0, Ee = !0, Oe = Se.segments, Te < 0 && We.v.c)
22548
+ for (Se.tLength < Math.abs(Te) && (Te = -Math.abs(Te) % Se.tLength), Pe = Oe.length - 1, Fe = Oe[Pe].points, we = Fe.length - 1; Te < 0; )
22549
+ Te += Fe[we].partialLength, we -= 1, we < 0 && (Pe -= 1, Fe = Oe[Pe].points, we = Fe.length - 1);
22550
+ Fe = Oe[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength;
22426
22551
  }
22427
22552
  Z = J.length, K = 0, _e = 0;
22428
- var ze = C.finalSize * 1.2 * 0.714, je = !0, De, Be, Re, Oe, Ue;
22429
- Oe = B.length;
22430
- var Ne, qe = -1, Ye, Ke, Qe, et = Te, nt = Pe, at = we, ot = -1, Je, tt, rt, it, Ze, st, lt, ut, ct = "", ht = this.defaultPropsArray, ft;
22553
+ var ze = C.finalSize * 1.2 * 0.714, Xe = !0, De, Be, Re, ke, Ge;
22554
+ ke = B.length;
22555
+ var Ne, qe = -1, Ye, Ke, rt, it = Te, Qe = Pe, st = we, at = -1, Ze, et, nt, tt, Je, ot, lt, ht, ct = "", ft = this.defaultPropsArray, ut;
22431
22556
  if (C.j === 2 || C.j === 1) {
22432
22557
  var dt = 0, gt = 0, vt = C.j === 2 ? -0.5 : -1, pt = 0, yt = !0;
22433
22558
  for (xe = 0; xe < Z; xe += 1)
@@ -22436,7 +22561,7 @@ var lottie$1 = { exports: {} };
22436
22561
  J[pt].animatorJustifyOffset = dt, pt += 1;
22437
22562
  dt = 0, yt = !0;
22438
22563
  } else {
22439
- for (Re = 0; Re < Oe; Re += 1)
22564
+ for (Re = 0; Re < ke; Re += 1)
22440
22565
  De = B[Re].a, De.t.propType && (yt && C.j === 2 && (gt += De.t.v * vt), Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? dt += De.t.v * Ne[0] * vt : dt += De.t.v * Ne * vt);
22441
22566
  yt = !1;
22442
22567
  }
@@ -22444,11 +22569,11 @@ var lottie$1 = { exports: {} };
22444
22569
  J[pt].animatorJustifyOffset = dt, pt += 1;
22445
22570
  }
22446
22571
  for (xe = 0; xe < Z; xe += 1) {
22447
- if (V.reset(), Je = 1, J[xe].n)
22448
- K = 0, _e += C.yOffset, _e += je ? 1 : 0, Te = et, je = !1, this._hasMaskedPath && (Pe = nt, we = at, Fe = ke[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength, Me = 0), ct = "", ut = "", st = "", ft = "", ht = this.defaultPropsArray;
22572
+ if (V.reset(), Ze = 1, J[xe].n)
22573
+ K = 0, _e += C.yOffset, _e += Xe ? 1 : 0, Te = it, Xe = !1, this._hasMaskedPath && (Pe = Qe, we = st, Fe = Oe[Pe].points, Ie = Fe[we - 1], Ae = Fe[we], $e = Ae.partialLength, Me = 0), ct = "", ht = "", ot = "", ut = "", ft = this.defaultPropsArray;
22449
22574
  else {
22450
22575
  if (this._hasMaskedPath) {
22451
- if (ot !== J[xe].line) {
22576
+ if (at !== J[xe].line) {
22452
22577
  switch (C.j) {
22453
22578
  case 1:
22454
22579
  Te += Le - C.lineWidths[J[xe].line];
@@ -22457,43 +22582,43 @@ var lottie$1 = { exports: {} };
22457
22582
  Te += (Le - C.lineWidths[J[xe].line]) / 2;
22458
22583
  break;
22459
22584
  }
22460
- ot = J[xe].line;
22585
+ at = J[xe].line;
22461
22586
  }
22462
22587
  qe !== J[xe].ind && (J[qe] && (Te += J[qe].extra), Te += J[xe].an / 2, qe = J[xe].ind), Te += I[0] * J[xe].an * 5e-3;
22463
22588
  var mt = 0;
22464
- for (Re = 0; Re < Oe; Re += 1)
22589
+ for (Re = 0; Re < ke; Re += 1)
22465
22590
  De = B[Re].a, De.p.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? mt += De.p.v[0] * Ne[0] : mt += De.p.v[0] * Ne), De.a.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? mt += De.a.v[0] * Ne[0] : mt += De.a.v[0] * Ne);
22466
22591
  for (Ee = !0, this._pathData.a.v && (Te = J[0].an * 0.5 + (Le - this._pathData.f.v - J[0].an * 0.5 - J[J.length - 1].an * 0.5) * qe / (Z - 1), Te += this._pathData.f.v); Ee; )
22467
- Me + $e >= Te + mt || !Fe ? (Ge = (Te + mt - Me) / Ae.partialLength, Ke = Ie.point[0] + (Ae.point[0] - Ie.point[0]) * Ge, Qe = Ie.point[1] + (Ae.point[1] - Ie.point[1]) * Ge, V.translate(-I[0] * J[xe].an * 5e-3, -(I[1] * ze) * 0.01), Ee = !1) : Fe && (Me += Ae.partialLength, we += 1, we >= Fe.length && (we = 0, Pe += 1, ke[Pe] ? Fe = ke[Pe].points : We.v.c ? (we = 0, Pe = 0, Fe = ke[Pe].points) : (Me -= Ae.partialLength, Fe = null)), Fe && (Ie = Ae, Ae = Fe[we], $e = Ae.partialLength));
22592
+ Me + $e >= Te + mt || !Fe ? (Ue = (Te + mt - Me) / Ae.partialLength, Ke = Ie.point[0] + (Ae.point[0] - Ie.point[0]) * Ue, rt = Ie.point[1] + (Ae.point[1] - Ie.point[1]) * Ue, V.translate(-I[0] * J[xe].an * 5e-3, -(I[1] * ze) * 0.01), Ee = !1) : Fe && (Me += Ae.partialLength, we += 1, we >= Fe.length && (we = 0, Pe += 1, Oe[Pe] ? Fe = Oe[Pe].points : We.v.c ? (we = 0, Pe = 0, Fe = Oe[Pe].points) : (Me -= Ae.partialLength, Fe = null)), Fe && (Ie = Ae, Ae = Fe[we], $e = Ae.partialLength));
22468
22593
  Ye = J[xe].an / 2 - J[xe].add, V.translate(-Ye, 0, 0);
22469
22594
  } else
22470
22595
  Ye = J[xe].an / 2 - J[xe].add, V.translate(-Ye, 0, 0), V.translate(-I[0] * J[xe].an * 5e-3, -I[1] * ze * 0.01, 0);
22471
- for (Re = 0; Re < Oe; Re += 1)
22596
+ for (Re = 0; Re < ke; Re += 1)
22472
22597
  De = B[Re].a, De.t.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), (K !== 0 || C.j !== 0) && (this._hasMaskedPath ? Ne.length ? Te += De.t.v * Ne[0] : Te += De.t.v * Ne : Ne.length ? K += De.t.v * Ne[0] : K += De.t.v * Ne));
22473
- for (C.strokeWidthAnim && (rt = C.sw || 0), C.strokeColorAnim && (C.sc ? tt = [C.sc[0], C.sc[1], C.sc[2]] : tt = [0, 0, 0]), C.fillColorAnim && C.fc && (it = [C.fc[0], C.fc[1], C.fc[2]]), Re = 0; Re < Oe; Re += 1)
22598
+ for (C.strokeWidthAnim && (nt = C.sw || 0), C.strokeColorAnim && (C.sc ? et = [C.sc[0], C.sc[1], C.sc[2]] : et = [0, 0, 0]), C.fillColorAnim && C.fc && (tt = [C.fc[0], C.fc[1], C.fc[2]]), Re = 0; Re < ke; Re += 1)
22474
22599
  De = B[Re].a, De.a.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? V.translate(-De.a.v[0] * Ne[0], -De.a.v[1] * Ne[1], De.a.v[2] * Ne[2]) : V.translate(-De.a.v[0] * Ne, -De.a.v[1] * Ne, De.a.v[2] * Ne));
22475
- for (Re = 0; Re < Oe; Re += 1)
22600
+ for (Re = 0; Re < ke; Re += 1)
22476
22601
  De = B[Re].a, De.s.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), Ne.length ? V.scale(1 + (De.s.v[0] - 1) * Ne[0], 1 + (De.s.v[1] - 1) * Ne[1], 1) : V.scale(1 + (De.s.v[0] - 1) * Ne, 1 + (De.s.v[1] - 1) * Ne, 1));
22477
- for (Re = 0; Re < Oe; Re += 1) {
22478
- if (De = B[Re].a, Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), De.sk.propType && (Ne.length ? V.skewFromAxis(-De.sk.v * Ne[0], De.sa.v * Ne[1]) : V.skewFromAxis(-De.sk.v * Ne, De.sa.v * Ne)), De.r.propType && (Ne.length ? V.rotateZ(-De.r.v * Ne[2]) : V.rotateZ(-De.r.v * Ne)), De.ry.propType && (Ne.length ? V.rotateY(De.ry.v * Ne[1]) : V.rotateY(De.ry.v * Ne)), De.rx.propType && (Ne.length ? V.rotateX(De.rx.v * Ne[0]) : V.rotateX(De.rx.v * Ne)), De.o.propType && (Ne.length ? Je += (De.o.v * Ne[0] - Je) * Ne[0] : Je += (De.o.v * Ne - Je) * Ne), C.strokeWidthAnim && De.sw.propType && (Ne.length ? rt += De.sw.v * Ne[0] : rt += De.sw.v * Ne), C.strokeColorAnim && De.sc.propType)
22479
- for (Ze = 0; Ze < 3; Ze += 1)
22480
- Ne.length ? tt[Ze] += (De.sc.v[Ze] - tt[Ze]) * Ne[0] : tt[Ze] += (De.sc.v[Ze] - tt[Ze]) * Ne;
22602
+ for (Re = 0; Re < ke; Re += 1) {
22603
+ if (De = B[Re].a, Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), De.sk.propType && (Ne.length ? V.skewFromAxis(-De.sk.v * Ne[0], De.sa.v * Ne[1]) : V.skewFromAxis(-De.sk.v * Ne, De.sa.v * Ne)), De.r.propType && (Ne.length ? V.rotateZ(-De.r.v * Ne[2]) : V.rotateZ(-De.r.v * Ne)), De.ry.propType && (Ne.length ? V.rotateY(De.ry.v * Ne[1]) : V.rotateY(De.ry.v * Ne)), De.rx.propType && (Ne.length ? V.rotateX(De.rx.v * Ne[0]) : V.rotateX(De.rx.v * Ne)), De.o.propType && (Ne.length ? Ze += (De.o.v * Ne[0] - Ze) * Ne[0] : Ze += (De.o.v * Ne - Ze) * Ne), C.strokeWidthAnim && De.sw.propType && (Ne.length ? nt += De.sw.v * Ne[0] : nt += De.sw.v * Ne), C.strokeColorAnim && De.sc.propType)
22604
+ for (Je = 0; Je < 3; Je += 1)
22605
+ Ne.length ? et[Je] += (De.sc.v[Je] - et[Je]) * Ne[0] : et[Je] += (De.sc.v[Je] - et[Je]) * Ne;
22481
22606
  if (C.fillColorAnim && C.fc) {
22482
22607
  if (De.fc.propType)
22483
- for (Ze = 0; Ze < 3; Ze += 1)
22484
- Ne.length ? it[Ze] += (De.fc.v[Ze] - it[Ze]) * Ne[0] : it[Ze] += (De.fc.v[Ze] - it[Ze]) * Ne;
22485
- De.fh.propType && (Ne.length ? it = addHueToRGB(it, De.fh.v * Ne[0]) : it = addHueToRGB(it, De.fh.v * Ne)), De.fs.propType && (Ne.length ? it = addSaturationToRGB(it, De.fs.v * Ne[0]) : it = addSaturationToRGB(it, De.fs.v * Ne)), De.fb.propType && (Ne.length ? it = addBrightnessToRGB(it, De.fb.v * Ne[0]) : it = addBrightnessToRGB(it, De.fb.v * Ne));
22608
+ for (Je = 0; Je < 3; Je += 1)
22609
+ Ne.length ? tt[Je] += (De.fc.v[Je] - tt[Je]) * Ne[0] : tt[Je] += (De.fc.v[Je] - tt[Je]) * Ne;
22610
+ De.fh.propType && (Ne.length ? tt = addHueToRGB(tt, De.fh.v * Ne[0]) : tt = addHueToRGB(tt, De.fh.v * Ne)), De.fs.propType && (Ne.length ? tt = addSaturationToRGB(tt, De.fs.v * Ne[0]) : tt = addSaturationToRGB(tt, De.fs.v * Ne)), De.fb.propType && (Ne.length ? tt = addBrightnessToRGB(tt, De.fb.v * Ne[0]) : tt = addBrightnessToRGB(tt, De.fb.v * Ne));
22486
22611
  }
22487
22612
  }
22488
- for (Re = 0; Re < Oe; Re += 1)
22613
+ for (Re = 0; Re < ke; Re += 1)
22489
22614
  De = B[Re].a, De.p.propType && (Be = B[Re].s, Ne = Be.getMult(J[xe].anIndexes[Re], U.a[Re].s.totalChars), this._hasMaskedPath ? Ne.length ? V.translate(0, De.p.v[1] * Ne[0], -De.p.v[2] * Ne[1]) : V.translate(0, De.p.v[1] * Ne, -De.p.v[2] * Ne) : Ne.length ? V.translate(De.p.v[0] * Ne[0], De.p.v[1] * Ne[1], -De.p.v[2] * Ne[2]) : V.translate(De.p.v[0] * Ne, De.p.v[1] * Ne, -De.p.v[2] * Ne));
22490
- if (C.strokeWidthAnim && (st = rt < 0 ? 0 : rt), C.strokeColorAnim && (lt = "rgb(" + Math.round(tt[0] * 255) + "," + Math.round(tt[1] * 255) + "," + Math.round(tt[2] * 255) + ")"), C.fillColorAnim && C.fc && (ut = "rgb(" + Math.round(it[0] * 255) + "," + Math.round(it[1] * 255) + "," + Math.round(it[2] * 255) + ")"), this._hasMaskedPath) {
22615
+ if (C.strokeWidthAnim && (ot = nt < 0 ? 0 : nt), C.strokeColorAnim && (lt = "rgb(" + Math.round(et[0] * 255) + "," + Math.round(et[1] * 255) + "," + Math.round(et[2] * 255) + ")"), C.fillColorAnim && C.fc && (ht = "rgb(" + Math.round(tt[0] * 255) + "," + Math.round(tt[1] * 255) + "," + Math.round(tt[2] * 255) + ")"), this._hasMaskedPath) {
22491
22616
  if (V.translate(0, -C.ls), V.translate(0, I[1] * ze * 0.01 + _e, 0), this._pathData.p.v) {
22492
22617
  He = (Ae.point[1] - Ie.point[1]) / (Ae.point[0] - Ie.point[0]);
22493
22618
  var _t = Math.atan(He) * 180 / Math.PI;
22494
22619
  Ae.point[0] < Ie.point[0] && (_t += 180), V.rotate(-_t * Math.PI / 180);
22495
22620
  }
22496
- V.translate(Ke, Qe, 0), Te -= I[0] * J[xe].an * 5e-3, J[xe + 1] && qe !== J[xe + 1].ind && (Te += J[xe].an / 2, Te += C.tr * 1e-3 * C.finalSize);
22621
+ V.translate(Ke, rt, 0), Te -= I[0] * J[xe].an * 5e-3, J[xe + 1] && qe !== J[xe + 1].ind && (Te += J[xe].an / 2, Te += C.tr * 1e-3 * C.finalSize);
22497
22622
  } else {
22498
22623
  switch (V.translate(K, _e, 0), C.ps && V.translate(C.ps[0], C.ps[1] + C.ascent, 0), C.j) {
22499
22624
  case 1:
@@ -22505,9 +22630,9 @@ var lottie$1 = { exports: {} };
22505
22630
  }
22506
22631
  V.translate(0, -C.ls), V.translate(Ye, 0, 0), V.translate(I[0] * J[xe].an * 5e-3, I[1] * ze * 0.01, 0), K += J[xe].l + C.tr * 1e-3 * C.finalSize;
22507
22632
  }
22508
- X === "html" ? ct = V.toCSS() : X === "svg" ? ct = V.to2dCSS() : ht = [V.props[0], V.props[1], V.props[2], V.props[3], V.props[4], V.props[5], V.props[6], V.props[7], V.props[8], V.props[9], V.props[10], V.props[11], V.props[12], V.props[13], V.props[14], V.props[15]], ft = Je;
22633
+ X === "html" ? ct = V.toCSS() : X === "svg" ? ct = V.to2dCSS() : ft = [V.props[0], V.props[1], V.props[2], V.props[3], V.props[4], V.props[5], V.props[6], V.props[7], V.props[8], V.props[9], V.props[10], V.props[11], V.props[12], V.props[13], V.props[14], V.props[15]], ut = Ze;
22509
22634
  }
22510
- Y <= xe ? (Ue = new LetterProps(ft, st, lt, ut, ct, ht), this.renderedLetters.push(Ue), Y += 1, this.lettersChangedFlag = !0) : (Ue = this.renderedLetters[xe], this.lettersChangedFlag = Ue.update(ft, st, lt, ut, ct, ht) || this.lettersChangedFlag);
22635
+ Y <= xe ? (Ge = new LetterProps(ut, ot, lt, ht, ct, ft), this.renderedLetters.push(Ge), Y += 1, this.lettersChangedFlag = !0) : (Ge = this.renderedLetters[xe], this.lettersChangedFlag = Ge.update(ut, ot, lt, ht, ct, ft) || this.lettersChangedFlag);
22511
22636
  }
22512
22637
  }
22513
22638
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -22623,18 +22748,18 @@ var lottie$1 = { exports: {} };
22623
22748
  }
22624
22749
  if (_e.reset(), Z && (X[C].n && (J = -Ae, Se += I.yOffset, Se += Te ? 1 : 0, Te = !1), this.applyTextPropertiesToMatrix(I, _e, X[C].line, J, Se), J += X[C].l || 0, J += Ae), Y) {
22625
22750
  Ie = this.globalData.fontManager.getCharData(I.finalText[C], B.fStyle, this.globalData.fontManager.getFontByName(I.f).fFamily);
22626
- var ke;
22751
+ var Oe;
22627
22752
  if (Ie.t === 1)
22628
- ke = new SVGCompElement(Ie.data, this.globalData, this);
22753
+ Oe = new SVGCompElement(Ie.data, this.globalData, this);
22629
22754
  else {
22630
22755
  var $e = emptyShapeData;
22631
- Ie.data && Ie.data.shapes && ($e = this.buildShapeData(Ie.data, I.finalSize)), ke = new SVGShapeElement($e, this.globalData, this);
22756
+ Ie.data && Ie.data.shapes && ($e = this.buildShapeData(Ie.data, I.finalSize)), Oe = new SVGShapeElement($e, this.globalData, this);
22632
22757
  }
22633
22758
  if (this.textSpans[C].glyph) {
22634
22759
  var Le = this.textSpans[C].glyph;
22635
22760
  this.textSpans[C].childSpan.removeChild(Le.layerElement), Le.destroy();
22636
22761
  }
22637
- this.textSpans[C].glyph = ke, ke._debug = !0, ke.prepareFrame(0), ke.renderFrame(), this.textSpans[C].childSpan.appendChild(ke.layerElement), Ie.t === 1 && this.textSpans[C].childSpan.setAttribute("transform", "scale(" + I.finalSize / 100 + "," + I.finalSize / 100 + ")");
22762
+ this.textSpans[C].glyph = Oe, Oe._debug = !0, Oe.prepareFrame(0), Oe.renderFrame(), this.textSpans[C].childSpan.appendChild(Oe.layerElement), Ie.t === 1 && this.textSpans[C].childSpan.setAttribute("transform", "scale(" + I.finalSize / 100 + "," + I.finalSize / 100 + ")");
22638
22763
  } else
22639
22764
  Z && K.setAttribute("transform", "translate(" + _e.props[12] + "," + _e.props[13] + ")"), K.textContent = X[C].val, K.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
22640
22765
  }
@@ -23250,9 +23375,9 @@ var lottie$1 = { exports: {} };
23250
23375
  C.sc && (I = !0, this.values.stroke = this.buildColor(C.sc), this.values.sWidth = C.sw);
23251
23376
  var B = this.globalData.fontManager.getFontByName(C.f), U, V, X = C.l, Y = this.mHelper;
23252
23377
  this.stroke = I, this.values.fValue = C.finalSize + "px " + this.globalData.fontManager.getFontByName(C.f).fFamily, V = C.finalText.length;
23253
- var K, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we = this.data.singleShape, Pe = C.tr * 1e-3 * C.finalSize, Ie = 0, Fe = 0, ke = !0, $e = 0;
23378
+ var K, _e, xe, Z, J, Se, Te, Ae, Me, Ee, we = this.data.singleShape, Pe = C.tr * 1e-3 * C.finalSize, Ie = 0, Fe = 0, Oe = !0, $e = 0;
23254
23379
  for (U = 0; U < V; U += 1) {
23255
- K = this.globalData.fontManager.getCharData(C.finalText[U], B.fStyle, this.globalData.fontManager.getFontByName(C.f).fFamily), _e = K && K.data || {}, Y.reset(), we && X[U].n && (Ie = -Pe, Fe += C.yOffset, Fe += ke ? 1 : 0, ke = !1), J = _e.shapes ? _e.shapes[0].it : [], Te = J.length, Y.scale(C.finalSize / 100, C.finalSize / 100), we && this.applyTextPropertiesToMatrix(C, Y, X[U].line, Ie, Fe), Me = createSizedArray(Te - 1);
23380
+ K = this.globalData.fontManager.getCharData(C.finalText[U], B.fStyle, this.globalData.fontManager.getFontByName(C.f).fFamily), _e = K && K.data || {}, Y.reset(), we && X[U].n && (Ie = -Pe, Fe += C.yOffset, Fe += Oe ? 1 : 0, Oe = !1), J = _e.shapes ? _e.shapes[0].it : [], Te = J.length, Y.scale(C.finalSize / 100, C.finalSize / 100), we && this.applyTextPropertiesToMatrix(C, Y, X[U].line, Ie, Fe), Me = createSizedArray(Te - 1);
23256
23381
  var Le = 0;
23257
23382
  for (Se = 0; Se < Te; Se += 1)
23258
23383
  if (J[Se].ty === "sh") {
@@ -23704,8 +23829,8 @@ var lottie$1 = { exports: {} };
23704
23829
  this.innerElem.appendChild(_e);
23705
23830
  else {
23706
23831
  this.innerElem.appendChild(xe);
23707
- var Fe = _e.style, ke = "translate3d(0," + -C.finalSize / 1.2 + "px,0)";
23708
- Fe.transform = ke, Fe.webkitTransform = ke;
23832
+ var Fe = _e.style, Oe = "translate3d(0," + -C.finalSize / 1.2 + "px,0)";
23833
+ Fe.transform = Oe, Fe.webkitTransform = Oe;
23709
23834
  }
23710
23835
  this.isMasked ? this.textSpans[Ae] = _e : this.textSpans[Ae] = xe, this.textSpans[Ae].style.display = "block", this.textPaths[Ae] = _e, Ae += 1;
23711
23836
  }
@@ -24001,56 +24126,56 @@ var lottie$1 = { exports: {} };
24001
24126
  function seedRandom(C, E) {
24002
24127
  var I = this, B = 256, U = 6, V = 52, X = "random", Y = E.pow(B, U), K = E.pow(2, V), _e = K * 2, xe = B - 1, Z;
24003
24128
  function J(Pe, Ie, Fe) {
24004
- var ke = [];
24129
+ var Oe = [];
24005
24130
  Ie = Ie === !0 ? {
24006
24131
  entropy: !0
24007
24132
  } : Ie || {};
24008
- var $e = Me(Ae(Ie.entropy ? [Pe, we(C)] : Pe === null ? Ee() : Pe, 3), ke), Le = new Se(ke), Ge = function() {
24009
- for (var We = Le.g(U), Xe = Y, Ve = 0; We < K; )
24010
- We = (We + Ve) * B, Xe *= B, Ve = Le.g(1);
24133
+ var $e = Me(Ae(Ie.entropy ? [Pe, we(C)] : Pe === null ? Ee() : Pe, 3), Oe), Le = new Se(Oe), Ue = function() {
24134
+ for (var We = Le.g(U), je = Y, Ve = 0; We < K; )
24135
+ We = (We + Ve) * B, je *= B, Ve = Le.g(1);
24011
24136
  for (; We >= _e; )
24012
- We /= 2, Xe /= 2, Ve >>>= 1;
24013
- return (We + Ve) / Xe;
24137
+ We /= 2, je /= 2, Ve >>>= 1;
24138
+ return (We + Ve) / je;
24014
24139
  };
24015
- return Ge.int32 = function() {
24140
+ return Ue.int32 = function() {
24016
24141
  return Le.g(4) | 0;
24017
- }, Ge.quick = function() {
24142
+ }, Ue.quick = function() {
24018
24143
  return Le.g(4) / 4294967296;
24019
- }, Ge.double = Ge, Me(we(Le.S), C), (Ie.pass || Fe || function(He, We, Xe, Ve) {
24144
+ }, Ue.double = Ue, Me(we(Le.S), C), (Ie.pass || Fe || function(He, We, je, Ve) {
24020
24145
  return Ve && (Ve.S && Te(Ve, Le), He.state = function() {
24021
24146
  return Te(Le, {});
24022
- }), Xe ? (E[X] = He, We) : He;
24023
- })(Ge, $e, "global" in Ie ? Ie.global : this == E, Ie.state);
24147
+ }), je ? (E[X] = He, We) : He;
24148
+ })(Ue, $e, "global" in Ie ? Ie.global : this == E, Ie.state);
24024
24149
  }
24025
24150
  E["seed" + X] = J;
24026
24151
  function Se(Pe) {
24027
- var Ie, Fe = Pe.length, ke = this, $e = 0, Le = ke.i = ke.j = 0, Ge = ke.S = [];
24152
+ var Ie, Fe = Pe.length, Oe = this, $e = 0, Le = Oe.i = Oe.j = 0, Ue = Oe.S = [];
24028
24153
  for (Fe || (Pe = [Fe++]); $e < B; )
24029
- Ge[$e] = $e++;
24154
+ Ue[$e] = $e++;
24030
24155
  for ($e = 0; $e < B; $e++)
24031
- Ge[$e] = Ge[Le = xe & Le + Pe[$e % Fe] + (Ie = Ge[$e])], Ge[Le] = Ie;
24032
- ke.g = function(He) {
24033
- for (var We, Xe = 0, Ve = ke.i, ze = ke.j, je = ke.S; He--; )
24034
- We = je[Ve = xe & Ve + 1], Xe = Xe * B + je[xe & (je[Ve] = je[ze = xe & ze + We]) + (je[ze] = We)];
24035
- return ke.i = Ve, ke.j = ze, Xe;
24156
+ Ue[$e] = Ue[Le = xe & Le + Pe[$e % Fe] + (Ie = Ue[$e])], Ue[Le] = Ie;
24157
+ Oe.g = function(He) {
24158
+ for (var We, je = 0, Ve = Oe.i, ze = Oe.j, Xe = Oe.S; He--; )
24159
+ We = Xe[Ve = xe & Ve + 1], je = je * B + Xe[xe & (Xe[Ve] = Xe[ze = xe & ze + We]) + (Xe[ze] = We)];
24160
+ return Oe.i = Ve, Oe.j = ze, je;
24036
24161
  };
24037
24162
  }
24038
24163
  function Te(Pe, Ie) {
24039
24164
  return Ie.i = Pe.i, Ie.j = Pe.j, Ie.S = Pe.S.slice(), Ie;
24040
24165
  }
24041
24166
  function Ae(Pe, Ie) {
24042
- var Fe = [], ke = _typeof$2(Pe), $e;
24043
- if (Ie && ke == "object")
24167
+ var Fe = [], Oe = _typeof$2(Pe), $e;
24168
+ if (Ie && Oe == "object")
24044
24169
  for ($e in Pe)
24045
24170
  try {
24046
24171
  Fe.push(Ae(Pe[$e], Ie - 1));
24047
24172
  } catch {
24048
24173
  }
24049
- return Fe.length ? Fe : ke == "string" ? Pe : Pe + "\0";
24174
+ return Fe.length ? Fe : Oe == "string" ? Pe : Pe + "\0";
24050
24175
  }
24051
24176
  function Me(Pe, Ie) {
24052
- for (var Fe = Pe + "", ke, $e = 0; $e < Fe.length; )
24053
- Ie[xe & $e] = xe & (ke ^= Ie[xe & $e] * 19) + Fe.charCodeAt($e++);
24177
+ for (var Fe = Pe + "", Oe, $e = 0; $e < Fe.length; )
24178
+ Ie[xe & $e] = xe & (Oe ^= Ie[xe & $e] * 19) + Fe.charCodeAt($e++);
24054
24179
  return we(Ie);
24055
24180
  }
24056
24181
  function Ee() {
@@ -24815,10 +24940,10 @@ var lottie$1 = { exports: {} };
24815
24940
  }
24816
24941
  function E(Te, Ae, Me) {
24817
24942
  var Ee, we = function(Fe) {
24818
- for (var ke = 0, $e = Ee.length; ke < $e; ) {
24819
- if (Ee[ke]._name === Fe || Ee[ke].mn === Fe || Ee[ke].propertyIndex === Fe || Ee[ke].ix === Fe || Ee[ke].ind === Fe)
24820
- return Ee[ke];
24821
- ke += 1;
24943
+ for (var Oe = 0, $e = Ee.length; Oe < $e; ) {
24944
+ if (Ee[Oe]._name === Fe || Ee[Oe].mn === Fe || Ee[Oe].propertyIndex === Fe || Ee[Oe].ix === Fe || Ee[Oe].ind === Fe)
24945
+ return Ee[Oe];
24946
+ Oe += 1;
24822
24947
  }
24823
24948
  return typeof Fe == "number" ? Ee[Fe - 1] : null;
24824
24949
  };
@@ -24898,13 +25023,13 @@ var lottie$1 = { exports: {} };
24898
25023
  return Te;
24899
25024
  }
24900
25025
  function X(Te, Ae, Me) {
24901
- var Ee = propertyGroupFactory($e, Me), we = propertyGroupFactory(ke, Ee);
25026
+ var Ee = propertyGroupFactory($e, Me), we = propertyGroupFactory(Oe, Ee);
24902
25027
  function Pe(Le) {
24903
- Object.defineProperty(ke, Te.d[Le].nm, {
25028
+ Object.defineProperty(Oe, Te.d[Le].nm, {
24904
25029
  get: ExpressionPropertyInterface(Ae.d.dataProps[Le].p)
24905
25030
  });
24906
25031
  }
24907
- var Ie, Fe = Te.d ? Te.d.length : 0, ke = {};
25032
+ var Ie, Fe = Te.d ? Te.d.length : 0, Oe = {};
24908
25033
  for (Ie = 0; Ie < Fe; Ie += 1)
24909
25034
  Pe(Ie), Ae.d.dataProps[Ie].p.setGroupProperty(we);
24910
25035
  function $e(Le) {
@@ -24922,7 +25047,7 @@ var lottie$1 = { exports: {} };
24922
25047
  },
24923
25048
  dash: {
24924
25049
  get: function() {
24925
- return ke;
25050
+ return Oe;
24926
25051
  }
24927
25052
  },
24928
25053
  _name: {
@@ -25092,7 +25217,7 @@ var lottie$1 = { exports: {} };
25092
25217
  function we(Ie) {
25093
25218
  if (typeof Ie == "number")
25094
25219
  return Ie = Ie === void 0 ? 1 : Ie, Ie === 0 ? Me : Ee[Ie - 1];
25095
- for (var Fe = 0, ke = Ee.length; Fe < ke; ) {
25220
+ for (var Fe = 0, Oe = Ee.length; Fe < Oe; ) {
25096
25221
  if (Ee[Fe]._name === Ie)
25097
25222
  return Ee[Fe];
25098
25223
  Fe += 1;
@@ -25234,27 +25359,27 @@ var lottie$1 = { exports: {} };
25234
25359
  return this.pv;
25235
25360
  var we, Pe;
25236
25361
  Te ? (Se ? we = Math.abs(Ee - this.elem.comp.globalData.frameRate * Se) : we = Math.max(0, Ee - this.elem.data.ip), Pe = Ee - we) : ((!Se || Se > Me.length - 1) && (Se = Me.length - 1), Pe = Me[Me.length - 1 - Se].t, we = Ee - Pe);
25237
- var Ie, Fe, ke;
25362
+ var Ie, Fe, Oe;
25238
25363
  if (J === "pingpong") {
25239
25364
  var $e = Math.floor((Ae - Pe) / we);
25240
25365
  if ($e % 2 !== 0)
25241
25366
  return this.getValueAtTime((we - (Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0);
25242
25367
  } else if (J === "offset") {
25243
- var Le = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), Ge = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), He = this.getValueAtTime(((Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0), We = Math.floor((Ae - Pe) / we);
25368
+ var Le = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), Ue = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), He = this.getValueAtTime(((Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0), We = Math.floor((Ae - Pe) / we);
25244
25369
  if (this.pv.length) {
25245
- for (ke = new Array(Le.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25246
- ke[Ie] = (Ge[Ie] - Le[Ie]) * We + He[Ie];
25247
- return ke;
25370
+ for (Oe = new Array(Le.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25371
+ Oe[Ie] = (Ue[Ie] - Le[Ie]) * We + He[Ie];
25372
+ return Oe;
25248
25373
  }
25249
- return (Ge - Le) * We + He;
25374
+ return (Ue - Le) * We + He;
25250
25375
  } else if (J === "continue") {
25251
- var Xe = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee - 1e-3) / this.comp.globalData.frameRate, 0);
25376
+ var je = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee - 1e-3) / this.comp.globalData.frameRate, 0);
25252
25377
  if (this.pv.length) {
25253
- for (ke = new Array(Xe.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25254
- ke[Ie] = Xe[Ie] + (Xe[Ie] - Ve[Ie]) * ((Ae - Ee) / this.comp.globalData.frameRate) / 5e-4;
25255
- return ke;
25378
+ for (Oe = new Array(je.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25379
+ Oe[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * ((Ae - Ee) / this.comp.globalData.frameRate) / 5e-4;
25380
+ return Oe;
25256
25381
  }
25257
- return Xe + (Xe - Ve) * ((Ae - Ee) / 1e-3);
25382
+ return je + (je - Ve) * ((Ae - Ee) / 1e-3);
25258
25383
  }
25259
25384
  return this.getValueAtTime(((Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0);
25260
25385
  }
@@ -25267,27 +25392,27 @@ var lottie$1 = { exports: {} };
25267
25392
  return this.pv;
25268
25393
  var we, Pe;
25269
25394
  Te ? (Se ? we = Math.abs(this.elem.comp.globalData.frameRate * Se) : we = Math.max(0, this.elem.data.op - Ee), Pe = Ee + we) : ((!Se || Se > Me.length - 1) && (Se = Me.length - 1), Pe = Me[Se].t, we = Pe - Ee);
25270
- var Ie, Fe, ke;
25395
+ var Ie, Fe, Oe;
25271
25396
  if (J === "pingpong") {
25272
25397
  var $e = Math.floor((Ee - Ae) / we);
25273
25398
  if ($e % 2 === 0)
25274
25399
  return this.getValueAtTime(((Ee - Ae) % we + Ee) / this.comp.globalData.frameRate, 0);
25275
25400
  } else if (J === "offset") {
25276
- var Le = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ge = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), He = this.getValueAtTime((we - (Ee - Ae) % we + Ee) / this.comp.globalData.frameRate, 0), We = Math.floor((Ee - Ae) / we) + 1;
25401
+ var Le = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ue = this.getValueAtTime(Pe / this.comp.globalData.frameRate, 0), He = this.getValueAtTime((we - (Ee - Ae) % we + Ee) / this.comp.globalData.frameRate, 0), We = Math.floor((Ee - Ae) / we) + 1;
25277
25402
  if (this.pv.length) {
25278
- for (ke = new Array(Le.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25279
- ke[Ie] = He[Ie] - (Ge[Ie] - Le[Ie]) * We;
25280
- return ke;
25403
+ for (Oe = new Array(Le.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25404
+ Oe[Ie] = He[Ie] - (Ue[Ie] - Le[Ie]) * We;
25405
+ return Oe;
25281
25406
  }
25282
- return He - (Ge - Le) * We;
25407
+ return He - (Ue - Le) * We;
25283
25408
  } else if (J === "continue") {
25284
- var Xe = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee + 1e-3) / this.comp.globalData.frameRate, 0);
25409
+ var je = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee + 1e-3) / this.comp.globalData.frameRate, 0);
25285
25410
  if (this.pv.length) {
25286
- for (ke = new Array(Xe.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25287
- ke[Ie] = Xe[Ie] + (Xe[Ie] - Ve[Ie]) * (Ee - Ae) / 1e-3;
25288
- return ke;
25411
+ for (Oe = new Array(je.length), Fe = Oe.length, Ie = 0; Ie < Fe; Ie += 1)
25412
+ Oe[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * (Ee - Ae) / 1e-3;
25413
+ return Oe;
25289
25414
  }
25290
- return Xe + (Xe - Ve) * (Ee - Ae) / 1e-3;
25415
+ return je + (je - Ve) * (Ee - Ae) / 1e-3;
25291
25416
  }
25292
25417
  return this.getValueAtTime((we - ((Ee - Ae) % we + Ee)) / this.comp.globalData.frameRate, 0);
25293
25418
  }
@@ -25334,14 +25459,14 @@ var lottie$1 = { exports: {} };
25334
25459
  var we = this.r.getValueAtTime(J);
25335
25460
  Se.rotate(-we * this.r.mult);
25336
25461
  } else if (!this.r && this.appliedTransformations < 4) {
25337
- var Pe = this.rz.getValueAtTime(J), Ie = this.ry.getValueAtTime(J), Fe = this.rx.getValueAtTime(J), ke = this.or.getValueAtTime(J);
25338
- Se.rotateZ(-Pe * this.rz.mult).rotateY(Ie * this.ry.mult).rotateX(Fe * this.rx.mult).rotateZ(-ke[2] * this.or.mult).rotateY(ke[1] * this.or.mult).rotateX(ke[0] * this.or.mult);
25462
+ var Pe = this.rz.getValueAtTime(J), Ie = this.ry.getValueAtTime(J), Fe = this.rx.getValueAtTime(J), Oe = this.or.getValueAtTime(J);
25463
+ Se.rotateZ(-Pe * this.rz.mult).rotateY(Ie * this.ry.mult).rotateX(Fe * this.rx.mult).rotateZ(-Oe[2] * this.or.mult).rotateY(Oe[1] * this.or.mult).rotateX(Oe[0] * this.or.mult);
25339
25464
  }
25340
25465
  if (this.data.p && this.data.p.s) {
25341
25466
  var $e = this.px.getValueAtTime(J), Le = this.py.getValueAtTime(J);
25342
25467
  if (this.data.p.z) {
25343
- var Ge = this.pz.getValueAtTime(J);
25344
- Se.translate($e * this.px.mult, Le * this.py.mult, -Ge * this.pz.mult);
25468
+ var Ue = this.pz.getValueAtTime(J);
25469
+ Se.translate($e * this.px.mult, Le * this.py.mult, -Ue * this.pz.mult);
25345
25470
  } else
25346
25471
  Se.translate($e * this.px.mult, Le * this.py.mult, 0);
25347
25472
  } else {
@@ -25404,16 +25529,16 @@ var lottie$1 = { exports: {} };
25404
25529
  pointOnPath: function(Se, Te) {
25405
25530
  var Ae = this.v;
25406
25531
  Te !== void 0 && (Ae = this.getValueAtTime(Te, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(Ae));
25407
- for (var Me = this._segmentsLength, Ee = Me.lengths, we = Me.totalLength * Se, Pe = 0, Ie = Ee.length, Fe = 0, ke; Pe < Ie; ) {
25532
+ for (var Me = this._segmentsLength, Ee = Me.lengths, we = Me.totalLength * Se, Pe = 0, Ie = Ee.length, Fe = 0, Oe; Pe < Ie; ) {
25408
25533
  if (Fe + Ee[Pe].addedLength > we) {
25409
- var $e = Pe, Le = Ae.c && Pe === Ie - 1 ? 0 : Pe + 1, Ge = (we - Fe) / Ee[Pe].addedLength;
25410
- ke = bez.getPointInSegment(Ae.v[$e], Ae.v[Le], Ae.o[$e], Ae.i[Le], Ge, Ee[Pe]);
25534
+ var $e = Pe, Le = Ae.c && Pe === Ie - 1 ? 0 : Pe + 1, Ue = (we - Fe) / Ee[Pe].addedLength;
25535
+ Oe = bez.getPointInSegment(Ae.v[$e], Ae.v[Le], Ae.o[$e], Ae.i[Le], Ue, Ee[Pe]);
25411
25536
  break;
25412
25537
  } else
25413
25538
  Fe += Ee[Pe].addedLength;
25414
25539
  Pe += 1;
25415
25540
  }
25416
- return ke || (ke = Ae.c ? [Ae.v[0][0], Ae.v[0][1]] : [Ae.v[Ae._length - 1][0], Ae.v[Ae._length - 1][1]]), ke;
25541
+ return Oe || (Oe = Ae.c ? [Ae.v[0][0], Ae.v[0][1]] : [Ae.v[Ae._length - 1][0], Ae.v[Ae._length - 1][1]]), Oe;
25417
25542
  },
25418
25543
  vectorOnPath: function(Se, Te, Ae) {
25419
25544
  Se == 1 ? Se = this.v.c : Se == 0 && (Se = 0.999);
@@ -25703,35 +25828,35 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25703
25828
  frameEndAt: Pe,
25704
25829
  visible: Ie,
25705
25830
  disabled: Fe,
25706
- loop: ke = !1,
25707
- transformation: { x: $e, y: Le, width: Ge, height: He, colorCorrection: We = {} },
25708
- pointerdown: Xe = () => {
25831
+ loop: Oe = !1,
25832
+ transformation: { x: $e, y: Le, width: Ue, height: He, colorCorrection: We = {} },
25833
+ pointerdown: je = () => {
25709
25834
  },
25710
25835
  pointerout: Ve = () => {
25711
25836
  },
25712
25837
  pointerover: ze = () => {
25713
25838
  }
25714
- } = C, { tl: je } = useContext(GsapPixieContext);
25839
+ } = C, { tl: Xe } = useContext(GsapPixieContext);
25715
25840
  useCustomEventListener(Events.PAUSE, () => {
25716
25841
  _e.current && _e.current.pause();
25717
25842
  });
25718
- const { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(ze, Xe, Ve, 1), { blurRadius: Oe = 0, vignette: Ue = 0, noise: Ne = 0 } = We, {
25843
+ const { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(ze, je, Ve, 1), { blurRadius: ke = 0, vignette: Ge = 0, noise: Ne = 0 } = We, {
25719
25844
  temperatureFilter: qe,
25720
25845
  sharpnessFilter: Ye,
25721
25846
  hueFilter: Ke,
25722
- blurFilter: Qe,
25723
- adjustmentFilter: et,
25724
- vignetteFilter: nt,
25725
- noiseFilter: at
25847
+ blurFilter: rt,
25848
+ adjustmentFilter: it,
25849
+ vignetteFilter: Qe,
25850
+ noiseFilter: st
25726
25851
  } = withFiltersHook(We);
25727
25852
  React.useLayoutEffect(() => {
25728
- K.current = document.createElement("canvas"), K.current.setAttribute("id", "lottieContainersvg"), K.current.setAttribute("id", `${Te}lottieContainer`), K.current.setAttribute("width", `${Ge}`), K.current.setAttribute("height", `${He}`);
25729
- const Je = Se.current;
25730
- return Je.appendChild(K.current), () => {
25731
- K.current && Je.removeChild(K.current);
25853
+ K.current = document.createElement("canvas"), K.current.setAttribute("id", "lottieContainersvg"), K.current.setAttribute("id", `${Te}lottieContainer`), K.current.setAttribute("width", `${Ue}`), K.current.setAttribute("height", `${He}`);
25854
+ const Ze = Se.current;
25855
+ return Ze.appendChild(K.current), () => {
25856
+ K.current && Ze.removeChild(K.current);
25732
25857
  };
25733
25858
  }, []), React.useEffect(() => {
25734
- async function Je() {
25859
+ async function Ze() {
25735
25860
  _e.current && _e.current.destroy(), K.current.removeAttribute("style"), _e.current = lottie.loadAnimation({
25736
25861
  container: K.current || document.getElementById("lottieroot"),
25737
25862
  renderer: "canvas",
@@ -25748,12 +25873,12 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25748
25873
  }
25749
25874
  }), _e.current.addEventListener("data_ready", () => {
25750
25875
  if (K.current && K.current.setAttribute("style", "display:none"), _e.current && _e.current.renderer.canvasContext) {
25751
- const tt = _e.current.totalFrames;
25752
- Z.current.totalFrames = tt;
25753
- const rt = _e.current.getDuration();
25754
- Z.current.totalDuration = rt;
25755
- const it = _e.current.renderer.canvasContext.canvas, Ze = PIXI.Texture.from(it);
25756
- J.current = Ze, V(!0), B(rt);
25876
+ const et = _e.current.totalFrames;
25877
+ Z.current.totalFrames = et;
25878
+ const nt = _e.current.getDuration();
25879
+ Z.current.totalDuration = nt;
25880
+ const tt = _e.current.renderer.canvasContext.canvas, Je = PIXI.Texture.from(tt);
25881
+ J.current = Je, V(!0), B(nt);
25757
25882
  }
25758
25883
  }), _e.current.addEventListener("loaded_images", () => {
25759
25884
  }), _e.current.addEventListener("complete", () => {
@@ -25761,42 +25886,42 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25761
25886
  }), _e.current.addEventListener("enterFrame", () => {
25762
25887
  }), _e.current.addEventListener("config_ready", () => {
25763
25888
  console.log("config_ready", _e.current);
25764
- }), _e.current.addEventListener("error", (tt) => {
25765
- console.log("error", tt);
25889
+ }), _e.current.addEventListener("error", (et) => {
25890
+ console.log("error", et);
25766
25891
  });
25767
25892
  }
25768
- return Je(), () => {
25893
+ return Ze(), () => {
25769
25894
  _e.current && (_e.current.removeEventListener("complete"), _e.current.removeEventListener("config_ready"), _e.current.removeEventListener("enterFrame"), _e.current.removeEventListener("loaded_images"), _e.current.removeEventListener("loopComplete"), _e.current.removeEventListener("data_ready"), _e.current.removeEventListener("error"), _e.current.destroy());
25770
25895
  };
25771
25896
  }, [Ae, Te]), React.useEffect(() => (J.current && J.current.update(), () => {
25772
25897
  }), [U]);
25773
- const ot = (Je) => {
25898
+ const at = (Ze) => {
25774
25899
  if (_e.current && X.current && xe.current) {
25775
- const rt = Je(xe.current.time()) / xe.current.duration() * Z.current.totalFrames, it = Z.current.totalFrames;
25776
- let Ze = rt;
25777
- Ze = Math.round(Math.floor(Ze)), Ze >= it ? (_e.current.goToAndStop(0, !0), J.current && J.current.update(), Z.current.isPlaying = !1) : (_e.current.goToAndStop(Ze, !0), J.current && J.current.update(), Z.current.isPlaying = !0);
25900
+ const nt = Ze(xe.current.time()) / xe.current.duration() * Z.current.totalFrames, tt = Z.current.totalFrames;
25901
+ let Je = nt;
25902
+ Je = Math.round(Math.floor(Je)), Je >= tt ? (_e.current.goToAndStop(0, !0), J.current && J.current.update(), Z.current.isPlaying = !1) : (_e.current.goToAndStop(Je, !0), J.current && J.current.update(), Z.current.isPlaying = !0);
25778
25903
  }
25779
25904
  };
25780
25905
  return React.useEffect(() => {
25781
- let Je = gsap$2.context(() => {
25906
+ let Ze = gsap$2.context(() => {
25782
25907
  });
25783
- if (Y.current && je.current && I > 0) {
25784
- const tt = Number(Ee) - Number(Me);
25785
- xe.current && (xe.current.kill(), je.current.remove(xe.current)), Je = gsap$2.context(() => {
25786
- const rt = gsap$2.utils.wrap(0, I);
25908
+ if (Y.current && Xe.current && I > 0) {
25909
+ const et = Number(Ee) - Number(Me);
25910
+ xe.current && (xe.current.kill(), Xe.current.remove(xe.current)), Ze = gsap$2.context(() => {
25911
+ const nt = gsap$2.utils.wrap(Me, I);
25787
25912
  xe.current = gsap$2.timeline({}).to(
25788
25913
  Y.current,
25789
25914
  {
25790
- duration: Number(tt),
25791
- onUpdate: ot,
25792
- onUpdateParams: [rt, we, Pe]
25915
+ duration: Number(et),
25916
+ onUpdate: at,
25917
+ onUpdateParams: [nt, we, Pe]
25793
25918
  },
25794
25919
  we
25795
- ), je.current.add(xe.current, Me);
25920
+ ), Xe.current.add(xe.current, Me);
25796
25921
  });
25797
25922
  }
25798
25923
  return () => {
25799
- xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), Je.revert();
25924
+ xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), Ze.revert();
25800
25925
  };
25801
25926
  }, [
25802
25927
  Me,
@@ -25805,7 +25930,7 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25805
25930
  Pe,
25806
25931
  Te,
25807
25932
  I,
25808
- ke
25933
+ Oe
25809
25934
  ]), /* @__PURE__ */ jsxRuntimeExports.jsx(
25810
25935
  AbstractContainer,
25811
25936
  {
@@ -25819,25 +25944,25 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25819
25944
  Sprite,
25820
25945
  {
25821
25946
  texture: J.current,
25822
- width: Ge,
25947
+ width: Ue,
25823
25948
  height: He,
25824
25949
  anchor: 0.5,
25825
25950
  x: $e,
25826
25951
  y: Le,
25827
25952
  ref: X,
25828
25953
  alpha: Ie ? 1 : 0,
25829
- ...!Fe && Ie && { interactive: !0, pointerdown: Xe },
25954
+ ...!Fe && Ie && { interactive: !0, pointerdown: je },
25830
25955
  filters: [
25831
25956
  qe,
25832
25957
  Ye,
25833
25958
  Ke,
25834
- et,
25959
+ it,
25835
25960
  // conditionally add blur filter
25836
- ...Oe > 0 ? [Qe] : [],
25961
+ ...ke > 0 ? [rt] : [],
25837
25962
  // conditionally add vignette filter
25838
- ...Ue > 0 ? [nt] : [],
25963
+ ...Ge > 0 ? [Qe] : [],
25839
25964
  // conditionally add noise filter
25840
- ...Ne > 0 ? [at] : []
25965
+ ...Ne > 0 ? [st] : []
25841
25966
  ]
25842
25967
  }
25843
25968
  ) })