reacthub-pixitweenjs 0.2.107-alpha.104 → 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,10 +237,10 @@ 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, je = [
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
246
  ], Ve = je[0] < 0 ? -1 : 1, ze = je[1] < 0 ? -1 : 1;
@@ -249,7 +249,7 @@ const GsapPixieContext = React.createContext({}), Events = {
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
255
  scale: K ? je : [Ve, ze]
@@ -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,23 +967,23 @@ 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, je = (E + K) / 2, Ve = We + (xe * Ge - Z * He), ze = je + (Z * Ge + xe * He), Xe = (Me - Ge) / I, De = (Ee - He) / B, Be = (-Me - Ge) / I, Re = (-Ee - He) / B, Oe = Xe * Xe + De * De, Ue = (De < 0 ? -1 : 1) * Math.acos(Xe / _sqrt(Oe)), Ne = (Xe * Re - De * Be < 0 ? -1 : 1) * Math.acos((Xe * 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 Ye = Math.ceil(_abs(Ne) / (Se / 4)), qe = [], Ke = Ne / Ye, et = 4 / 3 * _sin(Ke / 2) / (1 + _cos(Ke / 2)), Je = xe * I, nt = Z * I, at = Z * -B, ot = xe * B, Qe;
975
- for (Qe = 0; Qe < Ye; Qe++)
976
- U = Ue + Qe * Ke, Me = _cos(U), Ee = _sin(U), Xe = _cos(U += Ke), De = _sin(U), qe.push(Me - et * Ee, Ee + et * Me, Xe + et * De, De - et * Xe, Xe, De);
977
- for (Qe = 0; Qe < qe.length; Qe += 2)
978
- Me = qe[Qe], Ee = qe[Qe + 1], qe[Qe] = Me * Je + Ee * at + Ve, qe[Qe + 1] = Me * nt + Ee * ot + ze;
979
- return qe[Qe - 2] = Y, qe[Qe - 1] = K, qe;
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, je, 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
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]))
@@ -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), je;
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) && (je = 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 - je))), 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: je = [1, 1],
1604
- rotation: Ve = 0,
1605
- effect: ze,
1606
- overlay: Xe,
1607
- animation: De = Animations.NONE
1608
- },
1609
- applyTransformer: Be,
1610
- disabled: Re,
1611
- pointerdown: Oe,
1612
- pointerout: Ue,
1613
- pointerover: Ne,
1614
- isText: Ye,
1615
- isDragging: qe,
1616
- isGif: Ke,
1617
- onDoubleClick: et,
1618
- isTextEditMode: Je
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
- }, []), Qe = 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: je,
1690
- rotation: Ve,
1691
- ...!Re && ke && !U && !qe && {
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(Xe) && Xe !== OverlayTypes.NONE && Xe !== 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: Xe,
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 && !Je && /* @__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: Qe,
1735
- transformChange: ot,
1747
+ transformCommit: et,
1748
+ transformChange: Ze,
1736
1749
  mouseoverEvent: at,
1737
1750
  uniqueId: Fe,
1738
- isText: Ye,
1739
- onDoubleClick: et
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]);
2227
- }
2228
- function Ge(Ue, Ne) {
2229
- for (var Ye = Ue.length, qe = []; Ye--; )
2230
- qe[Ye] = Ne(Ue[Ye]);
2231
- return qe;
2232
- }
2233
- function He(Ue, Ne) {
2234
- var Ye = Ue.split("@"), qe = "";
2235
- Ye.length > 1 && (qe = Ye[0] + "@", Ue = Ye[1]), Ue = Ue.replace(we, ".");
2236
- var Ke = Ue.split("."), et = Ge(Ke, Ne).join(".");
2237
- return qe + et;
2238
- }
2239
- function We(Ue) {
2240
- for (var Ne = [], Ye = 0, qe = Ue.length, Ke, et; Ye < qe; )
2241
- Ke = Ue.charCodeAt(Ye++), Ke >= 55296 && Ke <= 56319 && Ye < qe ? (et = Ue.charCodeAt(Ye++), (et & 64512) == 56320 ? Ne.push(((Ke & 1023) << 10) + (et & 1023) + 65536) : (Ne.push(Ke), Ye--)) : Ne.push(Ke);
2237
+ }, Ie = K - _e, Fe = Math.floor, Oe = String.fromCharCode, $e;
2238
+ function Le(Ge) {
2239
+ throw new RangeError(Pe[Ge]);
2240
+ }
2241
+ function Ue(Ge, Ne) {
2242
+ for (var qe = Ge.length, Ye = []; qe--; )
2243
+ Ye[qe] = Ne(Ge[qe]);
2244
+ return Ye;
2245
+ }
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;
2251
+ }
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 je(Ue) {
2245
- return Ge(Ue, function(Ne) {
2246
- var Ye = "";
2247
- return Ne > 65535 && (Ne -= 65536, Ye += ke(Ne >>> 10 & 1023 | 55296), Ne = 56320 | Ne & 1023), Ye += ke(Ne), Ye;
2257
+ function je(Ge) {
2258
+ return Ue(Ge, function(Ne) {
2259
+ var 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 Xe(Ue, Ne, Ye) {
2257
- var qe = 0;
2258
- for (Ue = Ye ? Fe(Ue / J) : Ue >> 1, Ue += Fe(Ue / Ne); Ue > Ie * xe >> 1; qe += K)
2259
- Ue = Fe(Ue / Ie);
2260
- return Fe(qe + (Ie + 1) * Ue / (Ue + Z));
2269
+ function Xe(Ge, Ne, qe) {
2270
+ var Ye = 0;
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));
2261
2274
  }
2262
- function De(Ue) {
2263
- var Ne = [], Ye = Ue.length, qe, Ke = 0, et = Te, Je = Se, nt, at, ot, Qe, 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 < Ye; ) {
2267
- for (Qe = Ke, tt = 1, rt = K; ot >= Ye && Le("invalid-input"), it = Ve(Ue.charCodeAt(ot++)), (it >= K || it > Fe((Y - Ke) / tt)) && Le("overflow"), Ke += it * tt, Ze = rt <= Je ? _e : rt >= Je + xe ? xe : rt - Je, !(it < Ze); rt += K)
2268
- st = K - Ze, tt > Fe(Y / st) && Le("overflow"), tt *= st;
2269
- qe = Ne.length + 1, Je = Xe(Ke - Qe, qe, Qe == 0), Fe(Ke / qe) > Y - et && Le("overflow"), et += Fe(Ke / qe), Ke %= qe, Ne.splice(Ke++, 0, et);
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);
2270
2283
  }
2271
2284
  return je(Ne);
2272
2285
  }
2273
- function Be(Ue) {
2274
- var Ne, Ye, qe, Ke, et, Je, nt, at, ot, Qe, tt, rt = [], it, Ze, st, lt;
2275
- for (Ue = We(Ue), it = Ue.length, Ne = Te, Ye = 0, et = Se, Je = 0; Je < it; ++Je)
2276
- tt = Ue[Je], tt < 128 && rt.push(ke(tt));
2277
- for (qe = Ke = rt.length, Ke && rt.push(Ae); qe < it; ) {
2278
- for (nt = Y, Je = 0; Je < it; ++Je)
2279
- tt = Ue[Je], tt >= Ne && tt < nt && (nt = tt);
2280
- for (Ze = qe + 1, nt - Ne > Fe((Y - Ye) / Ze) && Le("overflow"), Ye += (nt - Ne) * Ze, Ne = nt, Je = 0; Je < it; ++Je)
2281
- if (tt = Ue[Je], tt < Ne && ++Ye > Y && Le("overflow"), tt == Ne) {
2282
- for (at = Ye, ot = K; Qe = ot <= et ? _e : ot >= et + xe ? xe : ot - et, !(at < Qe); ot += K)
2283
- lt = at - Qe, st = K - Qe, rt.push(
2284
- ke(ze(Qe + lt % st, 0))
2285
- ), at = Fe(lt / st);
2286
- rt.push(ke(ze(at, 0))), et = Xe(Ye, Ze, qe == Ke), Ye = 0, ++qe;
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
- ++Ye, ++Ne;
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
  }
@@ -2319,7 +2332,7 @@ punycode$1.exports;
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)
@@ -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,7 +2775,7 @@ 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 + " " : "", je = We + (He || Ge ? "[" + $join.call($concat.call([], He || [], Ge || []), ": ") + "] " : "");
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 || []), ": ") + "] " : "");
2766
2779
  return $e.length === 0 ? je + "{}" : Z ? je + "{" + indentedJoin($e, Z) + "}" : je + "{ " + $join.call($e, ", ") + " }";
2767
2780
  }
2768
2781
  return String(E);
@@ -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,8 +3246,8 @@ 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
3253
  var je = Le[We], Ve = typeof je == "object" && typeof je.value < "u" ? je.value : Ee[je];
@@ -3531,11 +3544,11 @@ 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
  }
@@ -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();
9877
+ function X(Be, Re, ke) {
9878
+ return Y(Re, function(Ge) {
9879
+ var Ne = ke();
9867
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 = Xe(Be);
9872
- if (Oe) {
9884
+ var ke = Xe(Be);
9885
+ if (ke) {
9873
9886
  Xe(C.startCall) || I("Missing (");
9874
- var Ue = Re(Oe);
9875
- return Xe(C.endCall) || I("Missing )"), Ue;
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, Xe(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); Xe(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,7 +9968,7 @@ 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
  });
@@ -9972,14 +9985,14 @@ v$1.parse = function() {
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 = Xe(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
9993
  function Xe(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;
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,10 +12371,10 @@ 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), je = 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
12380
  endAngle: je,
@@ -12371,8 +12384,8 @@ class ArcUtils {
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
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, Ye = Re * Ue + Oe * Ne, qe = Oe * Ue - Ne * Re, Ke = qe < 0;
12458
- if (Math.abs(qe) < 1e-3 * Math.abs(Ye)) {
12459
- xe.push(Pe - $e * Ve, Ie - Le * Ve, Pe + $e * ze, Ie + Le * ze), Ye >= 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));
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;
12471
+ if (Math.abs(Ye) < 1e-3 * Math.abs(qe)) {
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 et = (-$e + Ee) * (-Le + Ie) - (-$e + Pe) * (-Le + we), Je = (-Ge + Fe) * (-He + Ie) - (-Ge + Pe) * (-He + ke), nt = (Re * Je - Ue * et) / qe, at = (Ne * et - Oe * Je) / qe, ot = (nt - Pe) * (nt - Pe) + (at - Ie) * (at - Ie), Qe = 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(Qe, 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(Qe, tt, Pe + $e * ze, Ie + Le * ze, Qe, 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(Qe, 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(Qe, 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(Qe, tt, Qe, 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
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) && Xe.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;
14327
+ Ue /= We;
14315
14328
  for (var je = 0; je < We; je++)
14316
- Te.push(approxUnitArc(Le, Ge)), Le += Ge;
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), Xe = 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, Ye = Ue.y;
14319
- return { x1: Xe, y1: De, x2: Re, y2: Oe, x: Ne, y: Ye };
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,10 +15180,10 @@ 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
15189
  vignetteFilter: je,
@@ -15180,10 +15193,10 @@ const svgpath$1 = /* @__PURE__ */ getDefaultExportFromCjs(svgpath), PixiSvgPathS
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,7 +15215,7 @@ 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] : [],
@@ -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));
15595
+ Se._ended(Ee), Ue.removeEventListener("ended", Se._endTimers[Ee._id], !1);
15596
+ }, Ue.addEventListener("ended", Se._endTimers[Ee._id], !1));
15584
15597
  } catch (Xe) {
15585
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 je = window && window.ejecta || !Ge.readyState && I._navigator.isCocoonJS;
15590
- if (Ge.readyState >= 3 || je)
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 isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsWith("data"), 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,130 +16440,141 @@ const isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsW
16427
16440
  loaded: !1,
16428
16441
  size: { width: 50, height: 50 },
16429
16442
  isDragging: !1
16430
- }, [, I] = React.useState(!1), [B, U] = React.useState(""), [V, X] = React.useState({}), [Y, K] = React.useState(!1), _e = useRef(null), xe = useRef(E), Z = useRef(null), J = React.useRef(null), Se = useRef(), Te = React.useRef(), Ae = useRef(), Me = useRef(), Ee = useRef(document.body), we = useRef(null), Pe = React.useRef(), { tl: Ie, dragModeRef: Fe } = useContext(GsapPixieContext), {
16431
- uniqueId: ke,
16432
- src: $e,
16433
- startAt: Le,
16434
- endAt: Ge,
16435
- mute: He,
16436
- speed: We,
16437
- audioStartAt: je,
16438
- audioEndAt: Ve,
16439
- visible: ze = !1,
16440
- waveform: Xe = !1,
16441
- width: De = 300,
16442
- height: Be = 300
16443
- } = C;
16444
- React.useLayoutEffect(() => {
16445
- Te.current = document.createElement("canvas"), Te.current.setAttribute("id", `${ke}audioContainer`), Te.current.setAttribute("width", "300"), Te.current.setAttribute("height", "300");
16446
- const qe = Ee.current;
16447
- return qe.appendChild(Te.current), () => {
16448
- Te.current && (qe.removeChild(Te.current), Te.current = void 0);
16449
- };
16450
- }, []), useCustomEventListener(Events.PAUSE, () => {
16451
- var qe;
16452
- _e.current && J.current && ((qe = J.current) == null || qe.pause(), xe.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);
16453
16466
  }), useCustomEventListener(Events.COMPLETE, () => {
16454
- je > 0 && J.current && J.current.seek(je);
16467
+ Ve > 0 && Se.current && Se.current.seek(Ve);
16455
16468
  }), useCustomEventListener(Events.SCRUBBER_CLICKED, () => {
16456
- var qe;
16457
- _e.current && J.current && ((qe = J.current) == null || qe.pause(), xe.current.isPlaying = !1);
16469
+ var Qe;
16470
+ xe.current && Se.current && ((Qe = Se.current) == null || Qe.pause(), Z.current.isPlaying = !1);
16458
16471
  });
16459
- const Re = React.useCallback(() => {
16460
- if (Se.current && Te.current) {
16461
- const qe = Te.current, Ke = qe.getContext("2d"), et = qe.width, Je = qe.height, nt = Se.current, at = nt.frequencyBinCount, ot = new Uint8Array(at), Qe = et / at * 2.5;
16462
- let tt = 0;
16463
- nt.getByteFrequencyData(ot), Ke.fillStyle = "#000", Ke.fillRect(0, 0, et, Je);
16464
- for (let rt = 0; rt < at; rt++) {
16465
- const it = ot[rt], Ze = it + 25 * (rt / at), st = 250 * (rt / at), lt = 50;
16466
- Ke.fillStyle = "rgb(" + Ze + "," + st + "," + lt + ")", Ke.fillRect(tt, Je - it, Qe, it), tt += Qe + 1;
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;
16467
16480
  }
16468
16481
  }
16469
16482
  }, []);
16470
16483
  React.useEffect(() => {
16471
- const qe = async (et) => {
16484
+ const Qe = async (at) => {
16472
16485
  try {
16473
- return await fetch(et, {
16486
+ return await fetch(at, {
16474
16487
  mode: "cors",
16475
16488
  referrerPolicy: "no-referrer-when-downgrade"
16476
16489
  });
16477
- } catch (Je) {
16478
- const nt = Je;
16490
+ } catch (Ze) {
16491
+ const et = Ze;
16479
16492
  throw (
16480
16493
  // Chrome
16481
- nt.message.includes("Failed to fetch") || // Safari
16482
- nt.message.includes("Load failed") || // Firefox
16483
- nt.message.includes(
16494
+ et.message.includes("Failed to fetch") || // Safari
16495
+ et.message.includes("Load failed") || // Firefox
16496
+ et.message.includes(
16484
16497
  "NetworkError when attempting to fetch resource"
16485
16498
  ) ? new TypeError(
16486
- `Failed to read from ${et}: ${nt.message}. Does the resource support CORS?`
16487
- ) : Je
16499
+ `Failed to read from ${at}: ${et.message}. Does the resource support CORS?`
16500
+ ) : Ze
16488
16501
  );
16489
16502
  }
16490
16503
  };
16491
16504
  (async () => {
16492
- if (!isEmpty$1($e)) {
16493
- const Je = await (await qe($e)).arrayBuffer(), nt = new Blob([Je]), at = URL.createObjectURL(nt);
16505
+ if (!isEmpty$1(Le)) {
16506
+ const Ze = await (await Qe(Le)).arrayBuffer(), et = new Blob([Ze]), nt = URL.createObjectURL(et);
16494
16507
  if (Howler.ctx) {
16495
- const ot = await Howler.ctx.decodeAudioData(Je), tt = {
16496
- channelWaveforms: new Array(ot.numberOfChannels).fill(!0).map((rt, it) => ot.getChannelData(it)),
16508
+ const tt = await Howler.ctx.decodeAudioData(Ze), ot = {
16509
+ channelWaveforms: new Array(tt.numberOfChannels).fill(!0).map((lt, ht) => tt.getChannelData(ht)),
16497
16510
  sampleRate: Howler.ctx.sampleRate,
16498
- durationInSeconds: ot.duration,
16499
- numberOfChannels: ot.numberOfChannels,
16511
+ durationInSeconds: tt.duration,
16512
+ numberOfChannels: tt.numberOfChannels,
16500
16513
  resultId: String(Math.random()),
16501
- isRemote: isRemoteAsset($e)
16514
+ isRemote: isRemoteAsset(Le)
16502
16515
  };
16503
- X(tt);
16516
+ Y(ot);
16504
16517
  }
16505
- U(at);
16518
+ V(nt);
16506
16519
  }
16507
16520
  })();
16508
- }, [$e]), React.useEffect(() => {
16509
- J.current && (Fe.current ? (J.current.pause(), xe.current.isPlaying = !1, xe.current.isDragging = !0) : xe.current.isDragging = !1);
16510
- }, [Fe]);
16511
- const Oe = (qe, Ke) => {
16512
- Ie.current && Ie.current.isActive() && Z.current && Z.current.isActive() && !Fe.current && J.current && (console.log("gsap on start 0020", ke, qe, Ke), J.current.play(), xe.current.isPlaying = !0);
16513
- }, Ue = () => {
16514
- var qe;
16515
- _e.current && ((qe = J.current) == null || qe.stop(), xe.current.isPlaying = !1, xe.current.completed = !0);
16516
- }, Ne = (qe) => {
16517
- var et, Je;
16518
- const Ke = qe + ((et = Z.current) == null ? void 0 : et.time());
16519
- J.current && Fe.current ? (J.current.seek(Ke), J.current.pause(), xe.current.isPlaying = !1) : _e.current && !xe.current.isPlaying && ((Je = Ie.current) != null && Je.isActive()) && J.current && (J.current.seek(Ke), J.current.play(), xe.current.isPlaying = !0), Re(), Pe.current && Pe.current.update();
16520
- }, Ye = () => {
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 = () => {
16521
16545
  };
16522
16546
  return useEffect(() => {
16523
- let qe = gsap$2.context(() => {
16547
+ let Qe = gsap$2.context(() => {
16524
16548
  });
16525
- if (_e.current && Ie.current) {
16526
- const Ke = {
16527
- duration: Number(Ve) - Number(je),
16528
- onStart: Oe,
16529
- onComplete: Ue,
16530
- onStartParams: [je, Ve],
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],
16531
16555
  onCompleteParams: [],
16532
- onInterrupt: Ye,
16533
- onUpdate: Ne,
16534
- onUpdateParams: [je, Ve],
16535
- id: ke
16556
+ onInterrupt: it,
16557
+ onUpdate: rt,
16558
+ onUpdateParams: [Ve, ze],
16559
+ id: $e
16536
16560
  };
16537
- qe = gsap$2.context(() => {
16538
- Z.current = gsap$2.from(
16539
- _e.current,
16561
+ Qe = gsap$2.context(() => {
16562
+ J.current = gsap$2.from(
16563
+ xe.current,
16540
16564
  // @ts-ignore
16541
- Ke,
16542
- je
16543
- ), Ie.current.to(_e.current, { alpha: 1, duration: 0.01 }, Le).to(_e.current, { alpha: 0, duration: 0.1 }, Number(Ge)), Ie.current.add(Z.current, Le);
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);
16544
16568
  });
16545
16569
  }
16546
16570
  return () => {
16547
- Z.current && (Z.current.kill(), gsap$2.killTweensOf(Z.current)), qe.revert();
16571
+ J.current && (J.current.kill(), gsap$2.killTweensOf(J.current)), Qe.revert();
16548
16572
  };
16549
- }, [Le, Ge, je, Ve, ke]), React.useEffect(() => {
16550
- _e.current && I(!0);
16551
- }, []), React.useEffect(() => (Pe.current && Pe.current.update(), () => {
16552
- }), [Y]), React.useEffect(() => (isEmpty$1(B) || (J.current = new howler.Howl({
16553
- src: [B],
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],
16554
16578
  // sprite: {
16555
16579
  // [uniqueId]: [audioStartAt * 1000, (audioEndAt - audioStartAt) * 1000],
16556
16580
  // },
@@ -16560,69 +16584,78 @@ const isRemoteAsset = (C) => !C.startsWith(window.location.origin) && !C.startsW
16560
16584
  // Use HTML5 audio
16561
16585
  autoplay: !1,
16562
16586
  loop: !1,
16563
- rate: We || 1,
16564
- volume: !He && ze ? 1 : 0,
16587
+ rate: je || 1,
16588
+ /// volume: !mute && visible ? 1 : 0,
16565
16589
  onload: () => {
16566
- if (xe.current.loaded = !0, J.current && (je > 0 && J.current.seek(je), J.current.volume(!He && ze ? 1 : 0), J.current.rate(We || 1), J.current.pause(), xe.current.isPlaying = !1, xe.current.completed = !1, !Se.current && Xe)) {
16567
- const qe = Howler.ctx.createAnalyser();
16568
- qe.fftSize = 256;
16569
- const Ke = Howler.ctx.createGain();
16570
- Ke.gain.value = 1;
16571
- const et = Howler.ctx.createMediaElementSource(
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(
16572
16594
  // @ts-ignore
16573
- J.current._sounds[0]._node
16595
+ Se.current._sounds[0]._node
16574
16596
  );
16575
- if (et.connect(qe), qe.connect(Ke), Ke.connect(Howler.ctx.destination), Se.current = qe, Ae.current = et, Me.current = Ke, Te.current) {
16576
- Te.current.setAttribute("style", "display:none");
16577
- const Je = PIXI.Texture.from(Te.current);
16578
- Pe.current = Je;
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;
16579
16601
  }
16580
- K(!0);
16602
+ _e(!0);
16581
16603
  }
16582
16604
  },
16583
16605
  onend: () => {
16584
- console.log("end of playing audio sprite" + ke), xe.current.isPlaying = !1, xe.current.completed = !0;
16606
+ console.log("end of playing audio sprite" + $e), Z.current.isPlaying = !1, Z.current.completed = !0;
16585
16607
  },
16586
16608
  onplay: () => {
16587
- console.log("play of playing audio sprite" + ke), xe.current.isPlaying = !0;
16609
+ console.log("play of playing audio sprite" + $e), Z.current.isPlaying = !0;
16588
16610
  },
16589
16611
  onpause: () => {
16590
- console.log("pause of playing audio sprite" + ke), xe.current.isPlaying = !1;
16612
+ console.log("pause of playing audio sprite" + $e), Z.current.isPlaying = !1;
16591
16613
  },
16592
16614
  onstop: () => {
16593
- console.log("stop of playing audio sprite" + ke), xe.current.isPlaying = !1;
16615
+ console.log("stop of playing audio sprite" + $e), Z.current.isPlaying = !1;
16594
16616
  }
16617
+ }), Howler.ctx.resume().then(() => {
16618
+ console.log("audio ctx resumed");
16595
16619
  })), () => {
16596
- J.current && J.current.unload(), isEmpty$1(B) || URL.revokeObjectURL(B);
16620
+ Se.current && Se.current.unload(), isEmpty$1(U) || URL.revokeObjectURL(U);
16597
16621
  }), [
16598
- ke,
16599
16622
  $e,
16600
16623
  Le,
16601
- Ge,
16602
- je,
16603
- Ve,
16624
+ Ue,
16604
16625
  He,
16626
+ Ve,
16605
16627
  ze,
16606
16628
  We,
16607
- B,
16608
- Xe
16629
+ Xe,
16630
+ je,
16631
+ U,
16632
+ Ne
16609
16633
  ]), React.useEffect(() => {
16610
- J.current && (console.log("running updateEffect 2002", ke, Ve), J.current.volume(!He && ze ? 1 : 0), J.current.rate(We || 1), xe.current.isPlaying = !0);
16611
- }, [He, ze, We]), // @ts-ignore
16612
- /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: _e, children: Xe && Y && Pe.current && /* @__PURE__ */ jsxRuntimeExports.jsx(
16613
- Sprite,
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,
16614
16638
  {
16615
- texture: Pe.current,
16616
- width: De || 300,
16617
- height: Be || 300,
16618
- anchor: 0.5,
16619
- x: 0,
16620
- y: 0,
16621
- ref: we,
16622
- alpha: ze ? 1 : 0
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
+ )
16623
16656
  }
16624
16657
  ) });
16625
- };
16658
+ });
16626
16659
  function arrayMap$2(C, E) {
16627
16660
  for (var I = -1, B = C == null ? 0 : C.length, U = Array(B); ++I < B; )
16628
16661
  U[I] = E(C[I], I, C);
@@ -17161,17 +17194,17 @@ Object.defineProperty(lzw$1, "__esModule", {
17161
17194
  });
17162
17195
  lzw$1.lzw = void 0;
17163
17196
  var lzw = function(E, I, B) {
17164
- 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);
17165
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++)
17166
17199
  we[Te] = 0, Pe[Te] = Te;
17167
- var Fe, ke, $e, Le, Ge, He;
17168
- 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; ) {
17169
17202
  if (Le === 0) {
17170
- if (ke < xe) {
17171
- Fe += I[He] << ke, ke += 8, He++;
17203
+ if (Oe < xe) {
17204
+ Fe += I[He] << Oe, Oe += 8, He++;
17172
17205
  continue;
17173
17206
  }
17174
- 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)
17175
17208
  break;
17176
17209
  if (Te == K) {
17177
17210
  xe = Me + 1, _e = (1 << xe) - 1, Y = K + 2, Se = V;
@@ -17185,9 +17218,9 @@ var lzw = function(E, I, B) {
17185
17218
  Ie[Le++] = Pe[Te], Te = we[Te];
17186
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;
17187
17220
  }
17188
- Le--, Ee[Ge++] = Ie[Le], Ae++;
17221
+ Le--, Ee[Ue++] = Ie[Le], Ae++;
17189
17222
  }
17190
- for (Ae = Ge; Ae < X; Ae++)
17223
+ for (Ae = Ue; Ae < X; Ae++)
17191
17224
  Ee[Ae] = 0;
17192
17225
  return Ee;
17193
17226
  };
@@ -17360,8 +17393,8 @@ const genearate = (C) => ({
17360
17393
  frameEndAt: Pe,
17361
17394
  loop: Ie,
17362
17395
  visible: Fe,
17363
- disabled: ke,
17364
- transformation: { width: $e = 0, height: Le = 0, x: Ge, y: He, colorCorrection: We = {} },
17396
+ disabled: Oe,
17397
+ transformation: { width: $e = 0, height: Le = 0, x: Ue, y: He, colorCorrection: We = {} },
17365
17398
  pointerdown: je
17366
17399
  } = C, { frames: Ve, delays: ze } = Z;
17367
17400
  useWorkerParser(Te, J);
@@ -17370,65 +17403,65 @@ const genearate = (C) => ({
17370
17403
  sharpnessFilter: De,
17371
17404
  hueFilter: Be,
17372
17405
  blurFilter: Re,
17373
- adjustmentFilter: Oe,
17374
- vignetteFilter: Ue,
17406
+ adjustmentFilter: ke,
17407
+ vignetteFilter: Ge,
17375
17408
  noiseFilter: Ne
17376
- } = withFiltersHook(We), { blurRadius: Ye = 0, vignette: qe = 0, noise: Ke = 0 } = We, et = 0.1;
17409
+ } = withFiltersHook(We), { blurRadius: qe = 0, vignette: Ye = 0, noise: Ke = 0 } = We, rt = 0.1;
17377
17410
  React.useEffect(() => {
17378
17411
  if (!isEmpty$1(Ve)) {
17379
- const Qe = map$1(Ve, (rt) => {
17380
- const { data: it, width: Ze, height: st } = rt, lt = new Uint8Array(it);
17381
- 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);
17382
17415
  }).map(
17383
- (rt, it) => ({
17384
- texture: rt,
17385
- time: ze[it]
17416
+ (nt, tt) => ({
17417
+ texture: nt,
17418
+ time: ze[tt]
17386
17419
  })
17387
17420
  );
17388
- V(Qe);
17389
- let tt = 0;
17390
- ze.forEach((rt) => {
17391
- tt += rt;
17392
- }), 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;
17393
17426
  }
17394
17427
  }, [Ae, Ve, ze]);
17395
- const Je = () => {
17428
+ const it = () => {
17396
17429
  Y.current && (Y.current.stop(), _e.current.isPlaying = !1);
17397
- }, nt = () => {
17430
+ }, Qe = () => {
17398
17431
  if (Y.current && xe.current) {
17399
- const ot = xe.current.time();
17400
- let Qe = ot === 0 ? 0 : ot / et;
17401
- Qe = isNaN(Qe) ? 0 : Qe;
17402
- const tt = _e.current.totalFrames;
17403
- Qe = Qe > tt ? tt : Qe, Qe = Math.round(Qe), Qe >= tt ? (Y.current.gotoAndStop(0), _e.current.isPlaying = !1) : (Y.current.currentFrame = Qe, _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);
17404
17437
  }
17405
- }, at = () => {
17438
+ }, st = () => {
17406
17439
  X(!0);
17407
17440
  };
17408
17441
  return useEffect(() => {
17409
- let ot = gsap$2.context(() => {
17442
+ let at = gsap$2.context(() => {
17410
17443
  });
17411
17444
  if (K.current && Se.current && I > 0) {
17412
- const Qe = {
17445
+ const Ze = {
17413
17446
  duration: Number(I),
17414
- onInterrupt: Je,
17415
- onUpdate: nt,
17447
+ onInterrupt: it,
17448
+ onUpdate: Qe,
17416
17449
  onUpdateParams: [we, Pe]
17417
- }, tt = Number(Ee) - Number(Me), rt = Math.max(
17450
+ }, et = Number(Ee) - Number(Me), nt = Math.max(
17418
17451
  0,
17419
- Math.floor(tt / I) - 1
17452
+ Math.floor(et / I) - 1
17420
17453
  );
17421
- xe.current && xe.current.kill(), ot = gsap$2.context(() => {
17422
- 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(
17423
17456
  K.current,
17424
17457
  // @ts-ignore
17425
- Qe,
17458
+ Ze,
17426
17459
  we
17427
17460
  ), Se.current.add(xe.current, Me);
17428
17461
  });
17429
17462
  }
17430
17463
  return () => {
17431
- 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();
17432
17465
  };
17433
17466
  }, [
17434
17467
  Te,
@@ -17449,7 +17482,7 @@ const genearate = (C) => ({
17449
17482
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: K, children: !isEmpty$1(U) && /* @__PURE__ */ jsxRuntimeExports.jsx(
17450
17483
  PixiAnimatedSprite,
17451
17484
  {
17452
- x: Ge,
17485
+ x: Ue,
17453
17486
  y: He,
17454
17487
  width: $e,
17455
17488
  height: Le,
@@ -17457,19 +17490,19 @@ const genearate = (C) => ({
17457
17490
  alpha: Fe ? 1 : 0,
17458
17491
  loop: Ie,
17459
17492
  textures: U,
17460
- onComplete: at,
17493
+ onComplete: st,
17461
17494
  anchor: 0.5,
17462
17495
  forwardRef: Y,
17463
- ...!ke && Fe && { interactive: !0, pointerdown: je },
17496
+ ...!Oe && Fe && { interactive: !0, pointerdown: je },
17464
17497
  filters: [
17465
17498
  Xe,
17466
17499
  De,
17467
17500
  Be,
17468
- Oe,
17501
+ ke,
17469
17502
  // conditionally add blur filter
17470
- ...Ye > 0 ? [Re] : [],
17503
+ ...qe > 0 ? [Re] : [],
17471
17504
  // conditionally add vignette filter
17472
- ...qe > 0 ? [Ue] : [],
17505
+ ...Ye > 0 ? [Ge] : [],
17473
17506
  // conditionally add noise filter
17474
17507
  ...Ke > 0 ? [Ne] : []
17475
17508
  ]
@@ -17495,12 +17528,12 @@ const genearate = (C) => ({
17495
17528
  fontSize: Ie = 16,
17496
17529
  fontVariant: Fe = "normal",
17497
17530
  // fill
17498
- fill: ke = "black",
17531
+ fill: Oe = "black",
17499
17532
  // stroke
17500
17533
  stroke: $e,
17501
17534
  strokeThickness: Le = 0,
17502
17535
  // drop shadow
17503
- blurRadius: Ge = 0,
17536
+ blurRadius: Ue = 0,
17504
17537
  blurEnabled: He = !1,
17505
17538
  dropShadowColor: We = null,
17506
17539
  dropShadow: je = !1,
@@ -17512,25 +17545,25 @@ const genearate = (C) => ({
17512
17545
  colorCorrection: Be = {}
17513
17546
  } = J, {
17514
17547
  temperatureFilter: Re,
17515
- sharpnessFilter: Oe,
17516
- hueFilter: Ue,
17548
+ sharpnessFilter: ke,
17549
+ hueFilter: Ge,
17517
17550
  blurFilter: Ne,
17518
- adjustmentFilter: Ye
17519
- } = withFiltersHook(Be), { blurRadius: qe = 0 } = Be;
17551
+ adjustmentFilter: qe
17552
+ } = withFiltersHook(Be), { blurRadius: Ye = 0 } = Be;
17520
17553
  React.useEffect(() => {
17521
17554
  Y.current = Number(Ie);
17522
17555
  }, [Ie]);
17523
- const Ke = ["italic", "oblique"].includes(Pe) ? Pe : void 0, et = ["small-caps"].includes(Fe), Je = [
17556
+ const Ke = ["italic", "oblique"].includes(Pe) ? Pe : void 0, rt = ["small-caps"].includes(Fe), it = [
17524
17557
  "bold",
17525
17558
  "bolder",
17526
17559
  "lighter",
17527
17560
  "100",
17528
17561
  "200",
17529
17562
  "300"
17530
- ].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({
17531
17564
  fontFamily: Ee,
17532
17565
  fontSize: Ie,
17533
- fill: ke || "white",
17566
+ fill: Oe || "white",
17534
17567
  //[color, '#00ff99'], // gradient
17535
17568
  ...$e && Le > 0 && {
17536
17569
  stroke: $e,
@@ -17539,16 +17572,16 @@ const genearate = (C) => ({
17539
17572
  ...Ke && {
17540
17573
  fontStyle: Ke
17541
17574
  },
17542
- ...et && {
17543
- fontVariant: et
17575
+ ...rt && {
17576
+ fontVariant: rt
17544
17577
  },
17545
- ...Je && {
17546
- fontWeight: Je
17578
+ ...it && {
17579
+ fontWeight: it
17547
17580
  },
17548
- ...nt && { letterSpacing: nt },
17581
+ ...Qe && { letterSpacing: Qe },
17549
17582
  ...He && {
17550
17583
  dropShadow: !0,
17551
- dropShadowBlur: Number(Ge),
17584
+ dropShadowBlur: Number(Ue),
17552
17585
  dropShadowColor: (We == null ? void 0 : We.toString()) || "black",
17553
17586
  dropShadowAngle: 0.5235987755982988,
17554
17587
  dropShadowDistance: 5
@@ -17567,16 +17600,16 @@ const genearate = (C) => ({
17567
17600
  // lineHeight: lineHeight,
17568
17601
  }), [
17569
17602
  He,
17570
- Ge,
17571
- ke,
17603
+ Ue,
17604
+ Oe,
17572
17605
  Ee,
17573
17606
  Ie,
17574
17607
  Pe,
17575
17608
  Xe,
17576
17609
  Ke,
17577
- Je,
17578
- et,
17579
- nt,
17610
+ it,
17611
+ rt,
17612
+ Qe,
17580
17613
  We,
17581
17614
  $e,
17582
17615
  Le,
@@ -17589,10 +17622,10 @@ const genearate = (C) => ({
17589
17622
  ...J
17590
17623
  };
17591
17624
  }, [J]);
17592
- const ot = () => {
17593
- const tt = (/* @__PURE__ */ new Date()).getTime();
17594
- tt - U.current < 300 && Te ? Te() : Se && Se(), U.current = tt;
17595
- }, Qe = () => {
17625
+ const at = () => {
17626
+ const et = (/* @__PURE__ */ new Date()).getTime();
17627
+ et - U.current < 300 && Te ? Te() : Se && Se(), U.current = et;
17628
+ }, Ze = () => {
17596
17629
  !Z && Te && Te();
17597
17630
  };
17598
17631
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -17601,11 +17634,11 @@ const genearate = (C) => ({
17601
17634
  ...C,
17602
17635
  ref: E,
17603
17636
  isText: !0,
17604
- onDoubleClick: Qe,
17637
+ onDoubleClick: Ze,
17605
17638
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { ref: B, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Container$1, { alpha: 1, ref: X, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
17606
17639
  Text,
17607
17640
  {
17608
- style: at,
17641
+ style: st,
17609
17642
  x: Ae,
17610
17643
  y: Me,
17611
17644
  anchor: 0.5,
@@ -17614,16 +17647,16 @@ const genearate = (C) => ({
17614
17647
  ..._e && !Z && {
17615
17648
  interactive: !0,
17616
17649
  buttonMode: !0,
17617
- pointerdown: ot
17650
+ pointerdown: at
17618
17651
  },
17619
17652
  ref: V,
17620
17653
  filters: [
17621
17654
  Re,
17622
- Oe,
17623
- Ue,
17624
- Ye,
17655
+ ke,
17656
+ Ge,
17657
+ qe,
17625
17658
  // conditionally add blur filter
17626
- ...qe > 0 ? [Ne] : []
17659
+ ...Ye > 0 ? [Ne] : []
17627
17660
  ]
17628
17661
  }
17629
17662
  ) }) })
@@ -17664,29 +17697,29 @@ function debounce(C, E, I) {
17664
17697
  if (typeof C != "function")
17665
17698
  throw new TypeError(FUNC_ERROR_TEXT);
17666
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);
17667
- function Se(ke) {
17700
+ function Se(Oe) {
17668
17701
  var $e = B, Le = U;
17669
- 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;
17670
17703
  }
17671
- function Te(ke) {
17672
- 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;
17673
17706
  }
17674
- function Ae(ke) {
17675
- var $e = ke - K, Le = ke - _e, Ge = E - $e;
17676
- 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;
17677
17710
  }
17678
- function Me(ke) {
17679
- var $e = ke - K, Le = ke - _e;
17711
+ function Me(Oe) {
17712
+ var $e = Oe - K, Le = Oe - _e;
17680
17713
  return K === void 0 || $e >= E || $e < 0 || Z && Le >= V;
17681
17714
  }
17682
17715
  function Ee() {
17683
- var ke = now();
17684
- if (Me(ke))
17685
- return we(ke);
17686
- Y = setTimeout(Ee, Ae(ke));
17716
+ var Oe = now();
17717
+ if (Me(Oe))
17718
+ return we(Oe);
17719
+ Y = setTimeout(Ee, Ae(Oe));
17687
17720
  }
17688
- function we(ke) {
17689
- 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);
17690
17723
  }
17691
17724
  function Pe() {
17692
17725
  Y !== void 0 && clearTimeout(Y), _e = 0, B = K = U = Y = void 0;
@@ -17695,8 +17728,8 @@ function debounce(C, E, I) {
17695
17728
  return Y === void 0 ? X : we(now());
17696
17729
  }
17697
17730
  function Fe() {
17698
- var ke = now(), $e = Me(ke);
17699
- if (B = arguments, U = this, K = ke, $e) {
17731
+ var Oe = now(), $e = Me(Oe);
17732
+ if (B = arguments, U = this, K = Oe, $e) {
17700
17733
  if (Y === void 0)
17701
17734
  return Te(K);
17702
17735
  if (Z)
@@ -17751,25 +17784,25 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17751
17784
  frameEndAt: Me,
17752
17785
  visible: Ee,
17753
17786
  disabled: we,
17754
- transformation: { x: Pe, y: Ie, width: Fe, height: ke, animation: $e, colorCorrection: Le = {} },
17755
- pointerdown: Ge = () => {
17787
+ transformation: { x: Pe, y: Ie, width: Fe, height: Oe, animation: $e, colorCorrection: Le = {} },
17788
+ pointerdown: Ue = () => {
17756
17789
  },
17757
17790
  pointerout: He = () => {
17758
17791
  },
17759
17792
  pointerover: We = () => {
17760
17793
  },
17761
17794
  fps: je = 0
17762
- } = C, { tl: Ve, dragModeRef: ze, isRemotion: Xe } = useContext(GsapPixieContext), { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(We, Ge, He, 1), { blurRadius: Oe = 0, vignette: Ue = 0, noise: Ne = 0 } = Le, {
17763
- temperatureFilter: Ye,
17764
- sharpnessFilter: qe,
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, {
17796
+ temperatureFilter: qe,
17797
+ sharpnessFilter: Ye,
17765
17798
  hueFilter: Ke,
17766
- blurFilter: et,
17767
- adjustmentFilter: Je,
17768
- vignetteFilter: nt,
17769
- noiseFilter: at
17770
- } = withFiltersHook(Le), ot = J || "", Qe = React.useMemo(() => {
17771
- const st = document.createElement("video");
17772
- 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;
17773
17806
  }, [J, Ae]);
17774
17807
  useCustomEventListener(Events.PAUSE, () => {
17775
17808
  Y.current && (Y.current.pause(), K.current.isPlaying = !1);
@@ -17778,41 +17811,41 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17778
17811
  }), useCustomEventListener(Events.REVERSE_MODE_END, () => {
17779
17812
  Y.current && (Y.current.pause(), K.current.isPlaying = !1);
17780
17813
  });
17781
- const tt = (st) => {
17814
+ const et = (ot) => {
17782
17815
  if (Y.current) {
17783
- if (Y.current.currentTime = Number(st), !ze.current) {
17784
- const lt = Y.current, ut = lt.currentTime > 0 && !lt.paused && !lt.ended && lt.readyState > lt.HAVE_CURRENT_DATA;
17785
- 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);
17786
17819
  }
17787
17820
  K.current.progress = 0;
17788
17821
  }
17789
- }, rt = () => {
17822
+ }, nt = () => {
17790
17823
  if (Y.current) {
17791
- const st = Y.current;
17792
- 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());
17793
17826
  }
17794
- }, it = () => {
17795
- }, Ze = () => {
17796
- var st, lt;
17827
+ }, tt = () => {
17828
+ }, Je = () => {
17829
+ var ot, lt;
17797
17830
  if (_e.current && (K.current.progress = _e.current.progress()), Y.current && _e.current) {
17798
- const ut = Ae + ((st = _e == null ? void 0 : _e.current) == null ? void 0 : st.time()), ct = Math.abs(
17799
- Y.current.currentTime - ut
17800
- ), ht = Y.current, ft = ht.currentTime > 0 && !ht.paused && !ht.ended && ht.readyState > ht.HAVE_CURRENT_DATA;
17801
- 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);
17802
17835
  }
17803
17836
  };
17804
17837
  return useEffect(() => {
17805
- let st = gsap$2.context(() => {
17838
+ let ot = gsap$2.context(() => {
17806
17839
  });
17807
17840
  if (X.current && Ve.current) {
17808
17841
  const lt = {
17809
17842
  duration: Number(Te) - Number(Se),
17810
- onStart: tt,
17811
- onComplete: rt,
17843
+ onStart: et,
17844
+ onComplete: nt,
17812
17845
  onStartParams: [Ae, Me],
17813
17846
  onCompleteParams: [],
17814
- onInterrupt: it,
17815
- onUpdate: Ze,
17847
+ onInterrupt: tt,
17848
+ onUpdate: Je,
17816
17849
  onUpdateParams: [Ae, Me],
17817
17850
  onPause: () => {
17818
17851
  console.log("onPause video sprite pause", xe);
@@ -17830,7 +17863,7 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17830
17863
  console.log("onKill video sprite kill", xe);
17831
17864
  }
17832
17865
  };
17833
- _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(() => {
17834
17867
  _e.current = gsap$2.to(
17835
17868
  X.current,
17836
17869
  // @ts-ignore
@@ -17840,29 +17873,29 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17840
17873
  });
17841
17874
  }
17842
17875
  return () => {
17843
- _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();
17844
17877
  };
17845
17878
  }, [$e, Se, Te, Ae, Me, xe]), React.useEffect(() => {
17846
17879
  Y.current && (Y.current.muted = Z, K.current.isMuted = Z);
17847
- const st = setTimeout(() => {
17880
+ const ot = setTimeout(() => {
17848
17881
  Y.current && (Y.current.muted = Z, K.current.isMuted = Z);
17849
17882
  }, 1500);
17850
17883
  return () => {
17851
- clearTimeout(st);
17884
+ clearTimeout(ot);
17852
17885
  };
17853
17886
  }, [Z]), React.useEffect(() => {
17854
- const st = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, lt = function() {
17855
- Y.current && (Y.current.currentTime = st, Y.current.muted = Z);
17856
- }, 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() {
17857
17890
  K.current.isWaiting = !1, K.current.isStalled = !1;
17858
17891
  }, ct = function() {
17859
17892
  K.current.isWaiting = !0, K.current.isStalled = !1;
17860
- }, ht = function() {
17861
- K.current.isWaiting = !1, K.current.isStalled = !1;
17862
17893
  }, ft = function() {
17894
+ K.current.isWaiting = !1, K.current.isStalled = !1;
17895
+ }, ut = function() {
17863
17896
  K.current.isWaiting = !1, K.current.isStalled = !0;
17864
- }, dt = Math.round((Number(Ae) + Number.EPSILON) * 100) / 100, gt = Math.round((Number(Me) + Number.EPSILON) * 100) / 100, vt = `${ot}#t=${dt},${gt}`;
17865
- return PIXI.Texture.fromLoader(Qe, 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, {
17866
17899
  pixiIdPrefix: xe,
17867
17900
  resourceOptions: {
17868
17901
  autoPlay: !1,
@@ -17870,19 +17903,19 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17870
17903
  updateFPS: je ? Math.max(120, Number(je)) : 30
17871
17904
  }
17872
17905
  }).then((pt) => {
17873
- 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));
17874
17907
  }), () => {
17875
- 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(
17876
17909
  "canplaythrough",
17877
- ht
17878
- ), Y.current.removeEventListener("stalled", ft));
17910
+ ft
17911
+ ), Y.current.removeEventListener("stalled", ut));
17879
17912
  };
17880
- }, [ot, xe, Ae, Me, Qe]), React.useEffect(() => {
17881
- const st = setTimeout(() => {
17913
+ }, [at, xe, Ae, Me, Ze]), React.useEffect(() => {
17914
+ const ot = setTimeout(() => {
17882
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());
17883
17916
  }, 30);
17884
17917
  return () => {
17885
- clearTimeout(st);
17918
+ clearTimeout(ot);
17886
17919
  };
17887
17920
  }, [I]), /* @__PURE__ */ jsxRuntimeExports.jsx(
17888
17921
  AbstractContainer,
@@ -17898,24 +17931,24 @@ const debounce$1 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), useDebou
17898
17931
  {
17899
17932
  texture: U.current,
17900
17933
  width: Fe,
17901
- height: ke,
17934
+ height: Oe,
17902
17935
  anchor: 0.5,
17903
17936
  x: Pe,
17904
17937
  y: Ie,
17905
17938
  ref: V,
17906
17939
  alpha: Ee ? 1 : 0,
17907
- ...!we && Ee && { interactive: !0, pointerdown: Ge },
17940
+ ...!we && Ee && { interactive: !0, pointerdown: Ue },
17908
17941
  filters: [
17909
- Ye,
17910
17942
  qe,
17943
+ Ye,
17911
17944
  Ke,
17912
- Je,
17945
+ it,
17913
17946
  // conditionally add blur filter
17914
- ...Oe > 0 ? [et] : [],
17947
+ ...ke > 0 ? [rt] : [],
17915
17948
  // conditionally add vignette filter
17916
- ...Ue > 0 ? [nt] : [],
17949
+ ...Ge > 0 ? [Qe] : [],
17917
17950
  // conditionally add noise filter
17918
- ...Ne > 0 ? [at] : []
17951
+ ...Ne > 0 ? [st] : []
17919
17952
  ]
17920
17953
  }
17921
17954
  ) })
@@ -17938,8 +17971,8 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17938
17971
  pointerover: Ae = () => {
17939
17972
  },
17940
17973
  canvasImageRef: Me
17941
- } = 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, {
17942
- 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,
17943
17976
  sharpnessFilter: He,
17944
17977
  hueFilter: We,
17945
17978
  blurFilter: je,
@@ -17979,12 +18012,12 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
17979
18012
  alpha: X ? 1 : 0,
17980
18013
  ...!Y && X && { interactive: !0, pointerdown: Se },
17981
18014
  filters: [
17982
- Ge,
18015
+ Ue,
17983
18016
  He,
17984
18017
  We,
17985
18018
  Ve,
17986
18019
  // conditionally add blur filter
17987
- ...ke > 0 ? [je] : [],
18020
+ ...Oe > 0 ? [je] : [],
17988
18021
  // conditionally add vignette filter
17989
18022
  ...$e > 0 ? [ze] : [],
17990
18023
  // conditionally add noise filter
@@ -18039,8 +18072,8 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
18039
18072
  pointerover: Ae = () => {
18040
18073
  },
18041
18074
  canvasImageRef: Me
18042
- } = 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, {
18043
- 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,
18044
18077
  sharpnessFilter: He,
18045
18078
  hueFilter: We,
18046
18079
  blurFilter: je,
@@ -18080,12 +18113,12 @@ const PixiVideoCanvasSyncSprite = React.forwardRef((C, E) => {
18080
18113
  alpha: X ? 1 : 0,
18081
18114
  ...!Y && X && { interactive: !0, pointerdown: Se },
18082
18115
  filters: [
18083
- Ge,
18116
+ Ue,
18084
18117
  He,
18085
18118
  We,
18086
18119
  Ve,
18087
18120
  // conditionally add blur filter
18088
- ...ke > 0 ? [je] : [],
18121
+ ...Oe > 0 ? [je] : [],
18089
18122
  // conditionally add vignette filter
18090
18123
  ...$e > 0 ? [ze] : [],
18091
18124
  // conditionally add noise filter
@@ -18394,17 +18427,17 @@ var lottie$1 = { exports: {} };
18394
18427
  B || (B = X(function(Se) {
18395
18428
  function Te() {
18396
18429
  function Me(Xe, De) {
18397
- var Be, Re, Oe = Xe.length, Ue, Ne, Ye, qe;
18398
- for (Re = 0; Re < Oe; Re += 1)
18430
+ var Be, Re, ke = Xe.length, Ge, Ne, qe, Ye;
18431
+ for (Re = 0; Re < ke; Re += 1)
18399
18432
  if (Be = Xe[Re], "ks" in Be && !Be.completed) {
18400
18433
  if (Be.completed = !0, Be.hasMask) {
18401
18434
  var Ke = Be.masksProperties;
18402
- for (Ne = Ke.length, Ue = 0; Ue < Ne; Ue += 1)
18403
- if (Ke[Ue].pt.k.i)
18404
- 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);
18405
18438
  else
18406
- for (qe = Ke[Ue].pt.k.length, Ye = 0; Ye < qe; Ye += 1)
18407
- Ke[Ue].pt.k[Ye].s && Fe(Ke[Ue].pt.k[Ye].s[0]), Ke[Ue].pt.k[Ye].e && Fe(Ke[Ue].pt.k[Ye].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]);
18408
18441
  }
18409
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);
18410
18443
  }
@@ -18429,13 +18462,13 @@ var lottie$1 = { exports: {} };
18429
18462
  return Be ? Be.layers.__used ? JSON.parse(JSON.stringify(Be.layers)) : (Be.layers.__used = !0, Be.layers) : null;
18430
18463
  }
18431
18464
  function Ie(Xe) {
18432
- var De, Be = Xe.length, Re, Oe;
18465
+ var De, Be = Xe.length, Re, ke;
18433
18466
  for (De = Be - 1; De >= 0; De -= 1)
18434
18467
  if (Xe[De].ty === "sh")
18435
18468
  if (Xe[De].ks.k.i)
18436
18469
  Fe(Xe[De].ks.k);
18437
18470
  else
18438
- for (Oe = Xe[De].ks.k.length, Re = 0; Re < Oe; Re += 1)
18471
+ for (ke = Xe[De].ks.k.length, Re = 0; Re < ke; Re += 1)
18439
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]);
18440
18473
  else
18441
18474
  Xe[De].ty === "gr" && Ie(Xe[De].it);
@@ -18445,41 +18478,41 @@ var lottie$1 = { exports: {} };
18445
18478
  for (De = 0; De < Be; De += 1)
18446
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];
18447
18480
  }
18448
- function ke(Xe, De) {
18481
+ function Oe(Xe, De) {
18449
18482
  var Be = De ? De.split(".") : [100, 100, 100];
18450
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;
18451
18484
  }
18452
18485
  var $e = function() {
18453
18486
  var Xe = [4, 4, 14];
18454
18487
  function De(Re) {
18455
- var Oe = Re.t.d;
18488
+ var ke = Re.t.d;
18456
18489
  Re.t.d = {
18457
18490
  k: [{
18458
- s: Oe,
18491
+ s: ke,
18459
18492
  t: 0
18460
18493
  }]
18461
18494
  };
18462
18495
  }
18463
18496
  function Be(Re) {
18464
- var Oe, Ue = Re.length;
18465
- for (Oe = 0; Oe < Ue; Oe += 1)
18466
- 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]);
18467
18500
  }
18468
18501
  return function(Re) {
18469
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18470
- var Oe, Ue = Re.assets.length;
18471
- for (Oe = 0; Oe < Ue; Oe += 1)
18472
- 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);
18473
18506
  }
18474
18507
  };
18475
18508
  }(), Le = function() {
18476
18509
  var Xe = [4, 7, 99];
18477
18510
  return function(De) {
18478
- if (De.chars && !ke(Xe, De.v)) {
18511
+ if (De.chars && !Oe(Xe, De.v)) {
18479
18512
  var Be, Re = De.chars.length;
18480
18513
  for (Be = 0; Be < Re; Be += 1) {
18481
- var Oe = De.chars[Be];
18482
- 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 = {
18483
18516
  p: {
18484
18517
  k: [0, 0],
18485
18518
  a: 0
@@ -18500,9 +18533,9 @@ var lottie$1 = { exports: {} };
18500
18533
  k: 100,
18501
18534
  a: 0
18502
18535
  }
18503
- }, De.chars[Be].t || (Oe.data.shapes.push({
18536
+ }, De.chars[Be].t || (ke.data.shapes.push({
18504
18537
  ty: "no"
18505
- }), Oe.data.shapes[0].it.push({
18538
+ }), ke.data.shapes[0].it.push({
18506
18539
  p: {
18507
18540
  k: [0, 0],
18508
18541
  a: 0
@@ -18536,104 +18569,104 @@ var lottie$1 = { exports: {} };
18536
18569
  }
18537
18570
  }
18538
18571
  };
18539
- }(), Ge = function() {
18572
+ }(), Ue = function() {
18540
18573
  var Xe = [5, 7, 15];
18541
18574
  function De(Re) {
18542
- var Oe = Re.t.p;
18543
- typeof Oe.a == "number" && (Oe.a = {
18575
+ var ke = Re.t.p;
18576
+ typeof ke.a == "number" && (ke.a = {
18544
18577
  a: 0,
18545
- k: Oe.a
18546
- }), typeof Oe.p == "number" && (Oe.p = {
18578
+ k: ke.a
18579
+ }), typeof ke.p == "number" && (ke.p = {
18547
18580
  a: 0,
18548
- k: Oe.p
18549
- }), typeof Oe.r == "number" && (Oe.r = {
18581
+ k: ke.p
18582
+ }), typeof ke.r == "number" && (ke.r = {
18550
18583
  a: 0,
18551
- k: Oe.r
18584
+ k: ke.r
18552
18585
  });
18553
18586
  }
18554
18587
  function Be(Re) {
18555
- var Oe, Ue = Re.length;
18556
- for (Oe = 0; Oe < Ue; Oe += 1)
18557
- 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]);
18558
18591
  }
18559
18592
  return function(Re) {
18560
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18561
- var Oe, Ue = Re.assets.length;
18562
- for (Oe = 0; Oe < Ue; Oe += 1)
18563
- 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);
18564
18597
  }
18565
18598
  };
18566
18599
  }(), He = function() {
18567
18600
  var Xe = [4, 1, 9];
18568
18601
  function De(Re) {
18569
- var Oe, Ue = Re.length, Ne, Ye;
18570
- for (Oe = 0; Oe < Ue; Oe += 1)
18571
- if (Re[Oe].ty === "gr")
18572
- De(Re[Oe].it);
18573
- else if (Re[Oe].ty === "fl" || Re[Oe].ty === "st")
18574
- if (Re[Oe].c.k && Re[Oe].c.k[0].i)
18575
- for (Ye = Re[Oe].c.k.length, Ne = 0; Ne < Ye; Ne += 1)
18576
- 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);
18577
18610
  else
18578
- 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;
18579
18612
  }
18580
18613
  function Be(Re) {
18581
- var Oe, Ue = Re.length;
18582
- for (Oe = 0; Oe < Ue; Oe += 1)
18583
- 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);
18584
18617
  }
18585
18618
  return function(Re) {
18586
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18587
- var Oe, Ue = Re.assets.length;
18588
- for (Oe = 0; Oe < Ue; Oe += 1)
18589
- 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);
18590
18623
  }
18591
18624
  };
18592
18625
  }(), We = function() {
18593
18626
  var Xe = [4, 4, 18];
18594
18627
  function De(Re) {
18595
- var Oe, Ue = Re.length, Ne, Ye;
18596
- for (Oe = Ue - 1; Oe >= 0; Oe -= 1)
18597
- if (Re[Oe].ty === "sh")
18598
- if (Re[Oe].ks.k.i)
18599
- 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;
18600
18633
  else
18601
- for (Ye = Re[Oe].ks.k.length, Ne = 0; Ne < Ye; Ne += 1)
18602
- 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);
18603
18636
  else
18604
- Re[Oe].ty === "gr" && De(Re[Oe].it);
18637
+ Re[ke].ty === "gr" && De(Re[ke].it);
18605
18638
  }
18606
18639
  function Be(Re) {
18607
- var Oe, Ue, Ne = Re.length, Ye, qe, Ke, et;
18608
- for (Ue = 0; Ue < Ne; Ue += 1) {
18609
- if (Oe = Re[Ue], Oe.hasMask) {
18610
- var Je = Oe.masksProperties;
18611
- for (qe = Je.length, Ye = 0; Ye < qe; Ye += 1)
18612
- if (Je[Ye].pt.k.i)
18613
- Je[Ye].pt.k.c = Je[Ye].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;
18614
18647
  else
18615
- for (et = Je[Ye].pt.k.length, Ke = 0; Ke < et; Ke += 1)
18616
- Je[Ye].pt.k[Ke].s && (Je[Ye].pt.k[Ke].s[0].c = Je[Ye].cl), Je[Ye].pt.k[Ke].e && (Je[Ye].pt.k[Ke].e[0].c = Je[Ye].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);
18617
18650
  }
18618
- Oe.ty === 4 && De(Oe.shapes);
18651
+ ke.ty === 4 && De(ke.shapes);
18619
18652
  }
18620
18653
  }
18621
18654
  return function(Re) {
18622
- if (ke(Xe, Re.v) && (Be(Re.layers), Re.assets)) {
18623
- var Oe, Ue = Re.assets.length;
18624
- for (Oe = 0; Oe < Ue; Oe += 1)
18625
- 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);
18626
18659
  }
18627
18660
  };
18628
18661
  }();
18629
18662
  function je(Xe) {
18630
- Xe.__complete || (He(Xe), $e(Xe), Le(Xe), Ge(Xe), We(Xe), Me(Xe.layers, Xe.assets), Ee(Xe.chars, Xe.assets), Xe.__complete = !0);
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);
18631
18664
  }
18632
18665
  function Ve(Xe) {
18633
18666
  Xe.t.a.length === 0 && "m" in Xe.t.p;
18634
18667
  }
18635
18668
  var ze = {};
18636
- return ze.completeData = je, 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;
18637
18670
  }
18638
18671
  if (V.dataManager || (V.dataManager = Te()), V.assetLoader || (V.assetLoader = function() {
18639
18672
  function Me(we) {
@@ -18641,7 +18674,7 @@ var lottie$1 = { exports: {} };
18641
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;
18642
18675
  }
18643
18676
  function Ee(we, Pe, Ie, Fe) {
18644
- var ke, $e = new XMLHttpRequest();
18677
+ var Oe, $e = new XMLHttpRequest();
18645
18678
  try {
18646
18679
  $e.responseType = "json";
18647
18680
  } catch {
@@ -18649,10 +18682,10 @@ var lottie$1 = { exports: {} };
18649
18682
  $e.onreadystatechange = function() {
18650
18683
  if ($e.readyState === 4)
18651
18684
  if ($e.status === 200)
18652
- ke = Me($e), Ie(ke);
18685
+ Oe = Me($e), Ie(Oe);
18653
18686
  else
18654
18687
  try {
18655
- ke = Me($e), Ie(ke);
18688
+ Oe = Me($e), Ie(Oe);
18656
18689
  } catch (Le) {
18657
18690
  Fe && Fe(Le);
18658
18691
  }
@@ -19196,8 +19229,8 @@ var lottie$1 = { exports: {} };
19196
19229
  return E[Re].animation;
19197
19230
  Re += 1;
19198
19231
  }
19199
- var Oe = new AnimationItem();
19200
- return J(Oe, De), Oe.setData(De, Be), Oe;
19232
+ var ke = new AnimationItem();
19233
+ return J(ke, De), ke.setData(De, Be), ke;
19201
19234
  }
19202
19235
  function _e() {
19203
19236
  var De, Be = E.length, Re = [];
@@ -19251,16 +19284,16 @@ var lottie$1 = { exports: {} };
19251
19284
  E[Be].animation.pause(De);
19252
19285
  }
19253
19286
  function Ie(De, Be, Re) {
19254
- var Oe;
19255
- for (Oe = 0; Oe < B; Oe += 1)
19256
- 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);
19257
19290
  }
19258
19291
  function Fe(De) {
19259
19292
  var Be;
19260
19293
  for (Be = 0; Be < B; Be += 1)
19261
19294
  E[Be].animation.stop(De);
19262
19295
  }
19263
- function ke(De) {
19296
+ function Oe(De) {
19264
19297
  var Be;
19265
19298
  for (Be = 0; Be < B; Be += 1)
19266
19299
  E[Be].animation.togglePause(De);
@@ -19271,18 +19304,18 @@ var lottie$1 = { exports: {} };
19271
19304
  E[Be].animation.destroy(De);
19272
19305
  }
19273
19306
  function Le(De, Be, Re) {
19274
- var Oe = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), Ue, Ne = Oe.length;
19275
- for (Ue = 0; Ue < Ne; Ue += 1)
19276
- 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);
19277
19310
  if (Be && Ne === 0) {
19278
19311
  Re || (Re = "svg");
19279
- var Ye = document.getElementsByTagName("body")[0];
19280
- Ye.innerText = "";
19281
- var qe = createTag("div");
19282
- qe.style.width = "100%", qe.style.height = "100%", qe.setAttribute("data-bm-type", Re), Ye.appendChild(qe), K(qe, De);
19312
+ var qe = document.getElementsByTagName("body")[0];
19313
+ qe.innerText = "";
19314
+ var Ye = createTag("div");
19315
+ Ye.style.width = "100%", Ye.style.height = "100%", Ye.setAttribute("data-bm-type", Re), qe.appendChild(Ye), K(Ye, De);
19283
19316
  }
19284
19317
  }
19285
- function Ge() {
19318
+ function Ue() {
19286
19319
  var De;
19287
19320
  for (De = 0; De < B; De += 1)
19288
19321
  E[De].animation.resize();
@@ -19311,13 +19344,13 @@ var lottie$1 = { exports: {} };
19311
19344
  for (Be = 0; Be < B; Be += 1)
19312
19345
  E[Be].animation.unmute(De);
19313
19346
  }
19314
- 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 = je, C.setVolume = Ve, C.mute = ze, C.unmute = Xe, 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;
19315
19348
  }(), BezierFactory = function() {
19316
19349
  var C = {};
19317
19350
  C.getBezierEasing = I;
19318
19351
  var E = {};
19319
- function I(we, Pe, Ie, Fe, ke) {
19320
- 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");
19321
19354
  if (E[$e])
19322
19355
  return E[$e];
19323
19356
  var Le = new Ee([we, Pe, Ie, Fe]);
@@ -19339,15 +19372,15 @@ var lottie$1 = { exports: {} };
19339
19372
  function Te(we, Pe, Ie) {
19340
19373
  return 3 * xe(Pe, Ie) * we * we + 2 * Z(Pe, Ie) * we + J(Pe);
19341
19374
  }
19342
- function Ae(we, Pe, Ie, Fe, ke) {
19343
- var $e, Le, Ge = 0;
19375
+ function Ae(we, Pe, Ie, Fe, Oe) {
19376
+ var $e, Le, Ue = 0;
19344
19377
  do
19345
- Le = Pe + (Ie - Pe) / 2, $e = Se(Le, Fe, ke) - we, $e > 0 ? Ie = Le : Pe = Le;
19346
- 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);
19347
19380
  return Le;
19348
19381
  }
19349
19382
  function Me(we, Pe, Ie, Fe) {
19350
- for (var ke = 0; ke < B; ++ke) {
19383
+ for (var Oe = 0; Oe < B; ++Oe) {
19351
19384
  var $e = Te(Pe, Ie, Fe);
19352
19385
  if ($e === 0)
19353
19386
  return Pe;
@@ -19361,13 +19394,13 @@ var lottie$1 = { exports: {} };
19361
19394
  }
19362
19395
  return Ee.prototype = {
19363
19396
  get: function(Pe) {
19364
- var Ie = this._p[0], Fe = this._p[1], ke = this._p[2], $e = this._p[3];
19365
- 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);
19366
19399
  },
19367
19400
  // Private part
19368
19401
  _precompute: function() {
19369
- var Pe = this._p[0], Ie = this._p[1], Fe = this._p[2], ke = this._p[3];
19370
- 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();
19371
19404
  },
19372
19405
  _calcSampleValues: function() {
19373
19406
  for (var Pe = this._p[0], Ie = this._p[2], Fe = 0; Fe < Y; ++Fe)
@@ -19377,10 +19410,10 @@ var lottie$1 = { exports: {} };
19377
19410
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
19378
19411
  */
19379
19412
  _getTForX: function(Pe) {
19380
- 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)
19381
19414
  $e += K;
19382
19415
  --Le;
19383
- var He = (Pe - ke[Le]) / (ke[Le + 1] - ke[Le]), We = $e + He * K, je = Te(We, Ie, Fe);
19416
+ var He = (Pe - Oe[Le]) / (Oe[Le + 1] - Oe[Le]), We = $e + He * K, je = Te(We, Ie, Fe);
19384
19417
  return je >= U ? Me(Pe, We, Ie, Fe) : je === 0 ? We : Ae(Pe, $e, $e + K, Ie, Fe);
19385
19418
  }
19386
19419
  }, C;
@@ -19439,18 +19472,18 @@ var lottie$1 = { exports: {} };
19439
19472
  function I(J, Se, Te, Ae, Me, Ee, we, Pe, Ie) {
19440
19473
  if (Te === 0 && Ee === 0 && Ie === 0)
19441
19474
  return E(J, Se, Ae, Me, we, Pe);
19442
- 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;
19443
- 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;
19444
19477
  }
19445
19478
  var B = function() {
19446
19479
  return function(J, Se, Te, Ae) {
19447
- 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();
19448
19481
  for (Pe = Te.length, Ee = 0; Ee < Me; Ee += 1) {
19449
19482
  for (Fe = Ee / (Me - 1), $e = 0, we = 0; we < Pe; we += 1)
19450
- 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];
19451
- $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;
19452
19485
  }
19453
- return He.addedLength = ke, He;
19486
+ return He.addedLength = Oe, He;
19454
19487
  };
19455
19488
  }();
19456
19489
  function U(J) {
@@ -19470,13 +19503,13 @@ var lottie$1 = { exports: {} };
19470
19503
  return function(Se, Te, Ae, Me) {
19471
19504
  var Ee = (Se[0] + "_" + Se[1] + "_" + Te[0] + "_" + Te[1] + "_" + Ae[0] + "_" + Ae[1] + "_" + Me[0] + "_" + Me[1]).replace(/\./g, "p");
19472
19505
  if (!J[Ee]) {
19473
- 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;
19474
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);
19475
19508
  var je = new V(we);
19476
19509
  for (Fe = Ae.length, Pe = 0; Pe < we; Pe += 1) {
19477
- for (He = createSizedArray(Fe), $e = Pe / (we - 1), Ge = 0, Ie = 0; Ie < Fe; Ie += 1)
19478
- 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));
19479
- Ge = bmSqrt(Ge), Le += Ge, je.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;
19480
19513
  }
19481
19514
  je.segmentLength = Le, J[Ee] = je;
19482
19515
  }
@@ -19504,9 +19537,9 @@ var lottie$1 = { exports: {} };
19504
19537
  Me < 0 ? Me = 0 : Me > 1 && (Me = 1);
19505
19538
  var Pe = K(Me, we);
19506
19539
  Ee = Ee > 1 ? 1 : Ee;
19507
- 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, 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, Oe = Pe * Ie * Le + $e * Ie * Ie + Pe * Le * Ie, Ue = Pe * Ie * Ie, Ne = Le * Le * Le, Ye = Ie * Le * Le + Le * Ie * Le + Le * Le * Ie, qe = Ie * Ie * Le + Le * Ie * Ie + Ie * Le * Ie, Ke = Ie * Ie * Ie;
19508
- for (Fe = 0; Fe < ke; Fe += 1)
19509
- xe[Fe * 4] = C.round((Ge * 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] + Oe * Ae[Fe] + Ue * Se[Fe]) * 1e3) / 1e3, xe[Fe * 4 + 3] = C.round((Ne * J[Fe] + Ye * Te[Fe] + qe * 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;
19510
19543
  return xe;
19511
19544
  }
19512
19545
  return {
@@ -19544,14 +19577,14 @@ var lottie$1 = { exports: {} };
19544
19577
  B[Z] = Ie.points[Fe].point[Z];
19545
19578
  } else {
19546
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));
19547
- 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;
19548
19581
  for (Ae = E.lastFrame < C && E._lastKeyframeIndex === V ? E._lastPoint : 0, Y = !0, Te = Ie.points.length; Y; ) {
19549
- 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) {
19550
19583
  for (J = Ie.points[Ae].point.length, Z = 0; Z < J; Z += 1)
19551
19584
  B[Z] = Ie.points[Ae].point[Z];
19552
19585
  break;
19553
- } else if (ke >= Le && ke < Le + Ie.points[Ae + 1].partialLength) {
19554
- 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)
19555
19588
  B[Z] = Ie.points[Ae].point[Z] + (Ie.points[Ae + 1].point[Z] - Ie.points[Ae].point[Z]) * $e;
19556
19589
  break;
19557
19590
  }
@@ -19560,7 +19593,7 @@ var lottie$1 = { exports: {} };
19560
19593
  E._lastPoint = Ae, E._lastAddedLength = Le - Ie.points[Ae].partialLength, E._lastKeyframeIndex = V;
19561
19594
  }
19562
19595
  } else {
19563
- var Ge, He, We, je, Ve;
19596
+ var Ue, He, We, je, Ve;
19564
19597
  if (X = K.s.length, Pe = _e.s || K.e, this.sh && K.h !== 1)
19565
19598
  if (C >= Ee)
19566
19599
  B[0] = Pe[0], B[1] = Pe[1], B[2] = Pe[2];
@@ -19572,7 +19605,7 @@ var lottie$1 = { exports: {} };
19572
19605
  }
19573
19606
  else
19574
19607
  for (V = 0; V < X; V += 1)
19575
- 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], je = K.i.y[V] === void 0 ? K.i.y[0] : K.i.y[V], Me = BezierFactory.getBezierEasing(Ge, He, We, je).get, xe.__fnct[V] = Me)) : xe.__fnct ? Me = xe.__fnct : (Ge = K.o.x, He = K.o.y, We = K.i.x, je = K.i.y, Me = BezierFactory.getBezierEasing(Ge, 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;
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;
19576
19609
  }
19577
19610
  return E.lastIndex = U, B;
19578
19611
  }
@@ -19793,30 +19826,30 @@ var lottie$1 = { exports: {} };
19793
19826
  }(), ShapePropertyFactory = function() {
19794
19827
  var C = -999999;
19795
19828
  function E(Ee, we, Pe) {
19796
- var Ie = Pe.lastIndex, Fe, ke, $e, Le, Ge, He, We, je, Ve, ze = this.keyframes;
19829
+ var Ie = Pe.lastIndex, Fe, Oe, $e, Le, Ue, He, We, je, Ve, ze = this.keyframes;
19797
19830
  if (Ee < ze[0].t - this.offsetTime)
19798
19831
  Fe = ze[0].s[0], $e = !0, Ie = 0;
19799
19832
  else if (Ee >= ze[ze.length - 1].t - this.offsetTime)
19800
19833
  Fe = ze[ze.length - 1].s ? ze[ze.length - 1].s[0] : ze[ze.length - 2].e[0], $e = !0;
19801
19834
  else {
19802
- for (var Xe = Ie, De = ze.length - 1, Be = !0, Re, Oe, Ue; Be && (Re = ze[Xe], Oe = ze[Xe + 1], !(Oe.t - this.offsetTime > Ee)); )
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)); )
19803
19836
  Xe < De - 1 ? Xe += 1 : Be = !1;
19804
- if (Ue = this.keyframesMetadata[Xe] || {}, $e = Re.h === 1, Ie = Xe, !$e) {
19805
- if (Ee >= Oe.t - this.offsetTime)
19837
+ if (Ge = this.keyframesMetadata[Xe] || {}, $e = Re.h === 1, Ie = Xe, !$e) {
19838
+ if (Ee >= ke.t - this.offsetTime)
19806
19839
  je = 1;
19807
19840
  else if (Ee < Re.t - this.offsetTime)
19808
19841
  je = 0;
19809
19842
  else {
19810
19843
  var Ne;
19811
- Ue.__fnct ? Ne = Ue.__fnct : (Ne = BezierFactory.getBezierEasing(Re.o.x, Re.o.y, Re.i.x, Re.i.y).get, Ue.__fnct = Ne), je = 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)));
19812
19845
  }
19813
- ke = Oe.s ? Oe.s[0] : Re.e[0];
19846
+ Oe = ke.s ? ke.s[0] : Re.e[0];
19814
19847
  }
19815
19848
  Fe = Re.s[0];
19816
19849
  }
19817
19850
  for (He = we._length, We = Fe.i[0].length, Pe.lastIndex = Ie, Le = 0; Le < He; Le += 1)
19818
- for (Ge = 0; Ge < We; Ge += 1)
19819
- Ve = $e ? Fe.i[Le][Ge] : Fe.i[Le][Ge] + (ke.i[Le][Ge] - Fe.i[Le][Ge]) * je, we.i[Le][Ge] = Ve, Ve = $e ? Fe.o[Le][Ge] : Fe.o[Le][Ge] + (ke.o[Le][Ge] - Fe.o[Le][Ge]) * je, we.o[Le][Ge] = Ve, Ve = $e ? Fe.v[Le][Ge] : Fe.v[Le][Ge] + (ke.v[Le][Ge] - Fe.v[Le][Ge]) * je, 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;
19820
19853
  }
19821
19854
  function I() {
19822
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;
@@ -19885,8 +19918,8 @@ var lottie$1 = { exports: {} };
19885
19918
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
19886
19919
  },
19887
19920
  convertEllToPath: function() {
19888
- 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;
19889
- 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;
19890
19923
  }
19891
19924
  }, extendPrototype([DynamicPropertyContainer], we), we;
19892
19925
  }(), Z = function() {
@@ -19899,20 +19932,20 @@ var lottie$1 = { exports: {} };
19899
19932
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
19900
19933
  },
19901
19934
  convertStarToPath: function() {
19902
- 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), je, Ve, ze, Xe, 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;
19903
19936
  De += this.r.v;
19904
19937
  var Be = this.data.d === 3 ? -1 : 1;
19905
19938
  for (this.v._length = 0, je = 0; je < Pe; je += 1) {
19906
- Ve = Fe ? ke : $e, ze = Fe ? Le : Ge, Xe = Fe ? He : We;
19907
- 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);
19908
- Re += +this.p.v[0], Oe += +this.p.v[1], this.v.setTripleAt(Re, Oe, Re - Ue * Xe * ze * Be, Oe - Ne * Xe * ze * Be, Re + Ue * Xe * ze * Be, Oe + Ne * Xe * ze * Be, je, !0), Fe = !Fe, De += Ie * Be;
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;
19909
19942
  }
19910
19943
  },
19911
19944
  convertPolygonToPath: function() {
19912
- 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;
19913
- for (Ge += this.r.v, this.v._length = 0, Le = 0; Le < Pe; Le += 1) {
19914
- var We = Fe * Math.cos(Ge), je = Fe * Math.sin(Ge), 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);
19915
- We += +this.p.v[0], je += +this.p.v[1], this.v.setTripleAt(We, je, We - Ve * $e * ke * He, je - ze * $e * ke * He, We + Ve * $e * ke * He, je + 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;
19916
19949
  }
19917
19950
  this.paths.length = 0, this.paths[0] = this.v;
19918
19951
  }
@@ -19923,8 +19956,8 @@ var lottie$1 = { exports: {} };
19923
19956
  }
19924
19957
  return Ee.prototype = {
19925
19958
  convertRectToPath: function() {
19926
- 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);
19927
- 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)));
19928
19961
  },
19929
19962
  getValue: function() {
19930
19963
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
@@ -19935,8 +19968,8 @@ var lottie$1 = { exports: {} };
19935
19968
  function Se(Ee, we, Pe) {
19936
19969
  var Ie;
19937
19970
  if (Pe === 3 || Pe === 4) {
19938
- var Fe = Pe === 3 ? we.pt : we.ks, ke = Fe.k;
19939
- 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);
19940
19973
  } else
19941
19974
  Pe === 5 ? Ie = new J(Ee, we) : Pe === 6 ? Ie = new xe(Ee, we) : Pe === 7 && (Ie = new Z(Ee, we));
19942
19975
  return Ie.k && Ee.addDynamicProperty(Ie), Ie;
@@ -19966,144 +19999,144 @@ var lottie$1 = { exports: {} };
19966
19999
  function V(Re) {
19967
20000
  if (Re === 0)
19968
20001
  return this;
19969
- var Oe = C(Re), Ue = E(Re);
19970
- 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);
19971
20004
  }
19972
20005
  function X(Re) {
19973
20006
  if (Re === 0)
19974
20007
  return this;
19975
- var Oe = C(Re), Ue = E(Re);
19976
- 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);
19977
20010
  }
19978
20011
  function Y(Re) {
19979
20012
  if (Re === 0)
19980
20013
  return this;
19981
- var Oe = C(Re), Ue = E(Re);
19982
- 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);
19983
20016
  }
19984
20017
  function K(Re) {
19985
20018
  if (Re === 0)
19986
20019
  return this;
19987
- var Oe = C(Re), Ue = E(Re);
19988
- 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);
19989
20022
  }
19990
- function _e(Re, Oe) {
19991
- return this._t(1, Oe, Re, 1, 0, 0);
20023
+ function _e(Re, ke) {
20024
+ return this._t(1, ke, Re, 1, 0, 0);
19992
20025
  }
19993
- function xe(Re, Oe) {
19994
- return this.shear(I(Re), I(Oe));
20026
+ function xe(Re, ke) {
20027
+ return this.shear(I(Re), I(ke));
19995
20028
  }
19996
- function Z(Re, Oe) {
19997
- var Ue = C(Oe), Ne = E(Oe);
19998
- 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);
19999
20032
  }
20000
- function J(Re, Oe, Ue) {
20001
- 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);
20002
20035
  }
20003
- function Se(Re, Oe, Ue, Ne, Ye, qe, Ke, et, Je, nt, at, ot, Qe, tt, rt, it) {
20004
- return this.props[0] = Re, this.props[1] = Oe, this.props[2] = Ue, this.props[3] = Ne, this.props[4] = Ye, this.props[5] = qe, this.props[6] = Ke, this.props[7] = et, this.props[8] = Je, this.props[9] = nt, this.props[10] = at, this.props[11] = ot, this.props[12] = Qe, 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;
20005
20038
  }
20006
- function Te(Re, Oe, Ue) {
20007
- 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;
20008
20041
  }
20009
- function Ae(Re, Oe, Ue, Ne, Ye, qe, Ke, et, Je, nt, at, ot, Qe, tt, rt, it) {
20010
- var Ze = this.props;
20011
- if (Re === 1 && Oe === 0 && Ue === 0 && Ne === 0 && Ye === 0 && qe === 1 && Ke === 0 && et === 0 && Je === 0 && nt === 0 && at === 1 && ot === 0)
20012
- return Ze[12] = Ze[12] * Re + Ze[15] * Qe, Ze[13] = Ze[13] * qe + Ze[15] * tt, Ze[14] = Ze[14] * at + Ze[15] * rt, Ze[15] *= it, this._identityCalculated = !1, this;
20013
- 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];
20014
- return Ze[0] = st * Re + lt * Ye + ut * Je + ct * Qe, Ze[1] = st * Oe + lt * qe + ut * nt + ct * tt, Ze[2] = st * Ue + lt * Ke + ut * at + ct * rt, Ze[3] = st * Ne + lt * et + ut * ot + ct * it, Ze[4] = ht * Re + ft * Ye + dt * Je + gt * Qe, Ze[5] = ht * Oe + ft * qe + dt * nt + gt * tt, Ze[6] = ht * Ue + ft * Ke + dt * at + gt * rt, Ze[7] = ht * Ne + ft * et + dt * ot + gt * it, Ze[8] = vt * Re + pt * Ye + yt * Je + mt * Qe, Ze[9] = vt * Oe + pt * qe + yt * nt + mt * tt, Ze[10] = vt * Ue + pt * Ke + yt * at + mt * rt, Ze[11] = vt * Ne + pt * et + yt * ot + mt * it, Ze[12] = _t * Re + xt * Ye + bt * Je + St * Qe, Ze[13] = _t * Oe + xt * qe + bt * nt + St * tt, Ze[14] = _t * Ue + xt * Ke + bt * at + St * rt, Ze[15] = _t * Ne + xt * et + 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;
20015
20048
  }
20016
20049
  function Me(Re) {
20017
- var Oe = Re.props;
20018
- 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]);
20019
20052
  }
20020
20053
  function Ee() {
20021
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;
20022
20055
  }
20023
20056
  function we(Re) {
20024
- for (var Oe = 0; Oe < 16; ) {
20025
- if (Re.props[Oe] !== this.props[Oe])
20057
+ for (var ke = 0; ke < 16; ) {
20058
+ if (Re.props[ke] !== this.props[ke])
20026
20059
  return !1;
20027
- Oe += 1;
20060
+ ke += 1;
20028
20061
  }
20029
20062
  return !0;
20030
20063
  }
20031
20064
  function Pe(Re) {
20032
- var Oe;
20033
- for (Oe = 0; Oe < 16; Oe += 1)
20034
- Re.props[Oe] = this.props[Oe];
20065
+ var ke;
20066
+ for (ke = 0; ke < 16; ke += 1)
20067
+ Re.props[ke] = this.props[ke];
20035
20068
  return Re;
20036
20069
  }
20037
20070
  function Ie(Re) {
20038
- var Oe;
20039
- for (Oe = 0; Oe < 16; Oe += 1)
20040
- this.props[Oe] = Re[Oe];
20071
+ var ke;
20072
+ for (ke = 0; ke < 16; ke += 1)
20073
+ this.props[ke] = Re[ke];
20041
20074
  }
20042
- function Fe(Re, Oe, Ue) {
20075
+ function Fe(Re, ke, Ge) {
20043
20076
  return {
20044
- x: Re * this.props[0] + Oe * this.props[4] + Ue * this.props[8] + this.props[12],
20045
- y: Re * this.props[1] + Oe * this.props[5] + Ue * this.props[9] + this.props[13],
20046
- 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]
20047
20080
  };
20048
20081
  }
20049
- function ke(Re, Oe, Ue) {
20050
- 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];
20051
20084
  }
20052
- function $e(Re, Oe, Ue) {
20053
- 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];
20054
20087
  }
20055
- function Le(Re, Oe, Ue) {
20056
- 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];
20057
20090
  }
20058
- function Ge() {
20059
- 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, Ye = this.props[0] / Re, qe = (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, et = new Matrix();
20060
- return et.props[0] = Oe, et.props[1] = Ue, et.props[4] = Ne, et.props[5] = Ye, et.props[12] = qe, et.props[13] = Ke, et;
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;
20061
20094
  }
20062
20095
  function He(Re) {
20063
- var Oe = this.getInverseMatrix();
20064
- 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);
20065
20098
  }
20066
20099
  function We(Re) {
20067
- var Oe, Ue = Re.length, Ne = [];
20068
- for (Oe = 0; Oe < Ue; Oe += 1)
20069
- 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]);
20070
20103
  return Ne;
20071
20104
  }
20072
- function je(Re, Oe, Ue) {
20105
+ function je(Re, ke, Ge) {
20073
20106
  var Ne = createTypedArray("float32", 6);
20074
20107
  if (this.isIdentity())
20075
- 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];
20076
20109
  else {
20077
- var Ye = this.props[0], qe = this.props[1], Ke = this.props[4], et = this.props[5], Je = this.props[12], nt = this.props[13];
20078
- Ne[0] = Re[0] * Ye + Re[1] * Ke + Je, Ne[1] = Re[0] * qe + Re[1] * et + nt, Ne[2] = Oe[0] * Ye + Oe[1] * Ke + Je, Ne[3] = Oe[0] * qe + Oe[1] * et + nt, Ne[4] = Ue[0] * Ye + Ue[1] * Ke + Je, Ne[5] = Ue[0] * qe + Ue[1] * et + 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;
20079
20112
  }
20080
20113
  return Ne;
20081
20114
  }
20082
- function Ve(Re, Oe, Ue) {
20115
+ function Ve(Re, ke, Ge) {
20083
20116
  var Ne;
20084
- 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;
20085
20118
  }
20086
- function ze(Re, Oe) {
20119
+ function ze(Re, ke) {
20087
20120
  if (this.isIdentity())
20088
- return Re + "," + Oe;
20089
- var Ue = this.props;
20090
- 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;
20091
20124
  }
20092
20125
  function Xe() {
20093
- for (var Re = 0, Oe = this.props, Ue = "matrix3d(", Ne = 1e4; Re < 16; )
20094
- Ue += B(Oe[Re] * Ne) / Ne, Ue += Re === 15 ? ")" : ",", Re += 1;
20095
- return Ue;
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;
20096
20129
  }
20097
20130
  function De(Re) {
20098
- var Oe = 1e4;
20099
- 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;
20100
20133
  }
20101
20134
  function Be() {
20102
- var Re = this.props, Oe = De(Re[0]), Ue = De(Re[1]), Ne = De(Re[4]), Ye = De(Re[5]), qe = De(Re[12]), Ke = De(Re[13]);
20103
- return "matrix(" + Oe + "," + Ue + "," + Ne + "," + Ye + "," + qe + "," + 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 + ")";
20104
20137
  }
20105
20138
  return function() {
20106
- 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 = 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 = 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();
20107
20140
  };
20108
20141
  }();
20109
20142
  function _typeof$3(C) {
@@ -20306,8 +20339,8 @@ var lottie$1 = { exports: {} };
20306
20339
  var Fe = this.addShapes(Ae, Te[0]);
20307
20340
  if (Te[0].s !== Te[0].e) {
20308
20341
  if (Te.length > 1) {
20309
- var ke = Ae.shape.paths.shapes[Ae.shape.paths._length - 1];
20310
- if (ke.c) {
20342
+ var Oe = Ae.shape.paths.shapes[Ae.shape.paths._length - 1];
20343
+ if (Oe.c) {
20311
20344
  var $e = Fe.pop();
20312
20345
  this.addPaths(Fe, Me), Fe = this.addShapes(Ae, Te[1], $e);
20313
20346
  } else
@@ -20937,43 +20970,43 @@ var lottie$1 = { exports: {} };
20937
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]);
20938
20971
  var B = 127988, U = 917631, V = 917601, X = 917626, Y = 65039, K = 8205, _e = 127462, xe = 127487, Z = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
20939
20972
  function J(De) {
20940
- var Be = De.split(","), Re, Oe = Be.length, Ue = [];
20941
- for (Re = 0; Re < Oe; Re += 1)
20942
- Be[Re] !== "sans-serif" && Be[Re] !== "monospace" && Ue.push(Be[Re]);
20943
- 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(",");
20944
20977
  }
20945
20978
  function Se(De, Be) {
20946
20979
  var Re = createTag("span");
20947
20980
  Re.setAttribute("aria-hidden", !0), Re.style.fontFamily = Be;
20948
- var Oe = createTag("span");
20949
- 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);
20950
- var Ue = Oe.offsetWidth;
20951
- return Oe.style.fontFamily = J(De) + ", " + Be, {
20952
- node: Oe,
20953
- 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,
20954
20987
  parent: Re
20955
20988
  };
20956
20989
  }
20957
20990
  function Te() {
20958
- var De, Be = this.fonts.length, Re, Oe, Ue = Be;
20991
+ var De, Be = this.fonts.length, Re, ke, Ge = Be;
20959
20992
  for (De = 0; De < Be; De += 1)
20960
- 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)));
20961
- 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);
20962
20995
  }
20963
20996
  function Ae(De, Be) {
20964
- var Re = document.body && Be ? "svg" : "canvas", Oe, Ue = getFontProperties(De);
20997
+ var Re = document.body && Be ? "svg" : "canvas", ke, Ge = getFontProperties(De);
20965
20998
  if (Re === "svg") {
20966
20999
  var Ne = createNS("text");
20967
- 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;
20968
21001
  } else {
20969
- var Ye = new OffscreenCanvas(500, 500).getContext("2d");
20970
- Ye.font = Ue.style + " " + Ue.weight + " 100px " + De.fFamily, Oe = Ye;
21002
+ var qe = new OffscreenCanvas(500, 500).getContext("2d");
21003
+ qe.font = Ge.style + " " + Ge.weight + " 100px " + De.fFamily, ke = qe;
20971
21004
  }
20972
- function qe(Ke) {
20973
- return Re === "svg" ? (Oe.textContent = Ke, Oe.getComputedTextLength()) : Oe.measureText(Ke).width;
21005
+ function Ye(Ke) {
21006
+ return Re === "svg" ? (ke.textContent = Ke, ke.getComputedTextLength()) : ke.measureText(Ke).width;
20974
21007
  }
20975
21008
  return {
20976
- measureText: qe
21009
+ measureText: Ye
20977
21010
  };
20978
21011
  }
20979
21012
  function Me(De, Be) {
@@ -20986,70 +21019,70 @@ var lottie$1 = { exports: {} };
20986
21019
  return;
20987
21020
  }
20988
21021
  if (!document.body) {
20989
- this.isLoaded = !0, De.list.forEach(function(at) {
20990
- at.helper = Ae(at), at.cache = {};
21022
+ this.isLoaded = !0, De.list.forEach(function(st) {
21023
+ st.helper = Ae(st), st.cache = {};
20991
21024
  }), this.fonts = De.list;
20992
21025
  return;
20993
21026
  }
20994
- var Re = De.list, Oe, Ue = Re.length, Ne = Ue;
20995
- for (Oe = 0; Oe < Ue; Oe += 1) {
20996
- var Ye = !0, qe, Ke;
20997
- 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)
20998
- Re[Oe].loaded = !0, Ne -= 1;
20999
- else if (Re[Oe].fOrigin === "p" || Re[Oe].origin === 3) {
21000
- if (qe = document.querySelectorAll('style[f-forigin="p"][f-family="' + Re[Oe].fFamily + '"], style[f-origin="3"][f-family="' + Re[Oe].fFamily + '"]'), qe.length > 0 && (Ye = !1), Ye) {
21001
- var et = createTag("style");
21002
- et.setAttribute("f-forigin", Re[Oe].fOrigin), et.setAttribute("f-origin", Re[Oe].origin), et.setAttribute("f-family", Re[Oe].fFamily), et.type = "text/css", et.innerText = "@font-face {font-family: " + Re[Oe].fFamily + "; font-style: normal; src: url('" + Re[Oe].fPath + "');}", Be.appendChild(et);
21027
+ var Re = De.list, ke, Ge = Re.length, Ne = Ge;
21028
+ for (ke = 0; ke < Ge; ke += 1) {
21029
+ var qe = !0, Ye, Ke;
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);
21003
21036
  }
21004
- } else if (Re[Oe].fOrigin === "g" || Re[Oe].origin === 1) {
21005
- for (qe = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), Ke = 0; Ke < qe.length; Ke += 1)
21006
- qe[Ke].href.indexOf(Re[Oe].fPath) !== -1 && (Ye = !1);
21007
- if (Ye) {
21008
- var Je = createTag("link");
21009
- Je.setAttribute("f-forigin", Re[Oe].fOrigin), Je.setAttribute("f-origin", Re[Oe].origin), Je.type = "text/css", Je.rel = "stylesheet", Je.href = Re[Oe].fPath, document.body.appendChild(Je);
21037
+ } else if (Re[ke].fOrigin === "g" || Re[ke].origin === 1) {
21038
+ for (Ye = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), Ke = 0; Ke < Ye.length; Ke += 1)
21039
+ Ye[Ke].href.indexOf(Re[ke].fPath) !== -1 && (qe = !1);
21040
+ if (qe) {
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);
21010
21043
  }
21011
- } else if (Re[Oe].fOrigin === "t" || Re[Oe].origin === 2) {
21012
- for (qe = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Ke = 0; Ke < qe.length; Ke += 1)
21013
- Re[Oe].fPath === qe[Ke].src && (Ye = !1);
21014
- if (Ye) {
21015
- var nt = createTag("link");
21016
- 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);
21044
+ } else if (Re[ke].fOrigin === "t" || Re[ke].origin === 2) {
21045
+ for (Ye = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), Ke = 0; Ke < Ye.length; Ke += 1)
21046
+ Re[ke].fPath === Ye[Ke].src && (qe = !1);
21047
+ if (qe) {
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);
21017
21050
  }
21018
21051
  }
21019
- 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]);
21020
21053
  }
21021
21054
  Ne === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
21022
21055
  }
21023
21056
  function Ee(De) {
21024
21057
  if (De) {
21025
21058
  this.chars || (this.chars = []);
21026
- var Be, Re = De.length, Oe, Ue = this.chars.length, Ne;
21059
+ var Be, Re = De.length, ke, Ge = this.chars.length, Ne;
21027
21060
  for (Be = 0; Be < Re; Be += 1) {
21028
- for (Oe = 0, Ne = !1; Oe < Ue; )
21029
- 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;
21030
- 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);
21031
21064
  }
21032
21065
  }
21033
21066
  }
21034
21067
  function we(De, Be, Re) {
21035
- for (var Oe = 0, Ue = this.chars.length; Oe < Ue; ) {
21036
- if (this.chars[Oe].ch === De && this.chars[Oe].style === Be && this.chars[Oe].fFamily === Re)
21037
- return this.chars[Oe];
21038
- 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;
21039
21072
  }
21040
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;
21041
21074
  }
21042
21075
  function Pe(De, Be, Re) {
21043
- var Oe = this.getFontByName(Be), Ue = De;
21044
- if (!Oe.cache[Ue]) {
21045
- var Ne = Oe.helper;
21076
+ var ke = this.getFontByName(Be), Ge = De;
21077
+ if (!ke.cache[Ge]) {
21078
+ var Ne = ke.helper;
21046
21079
  if (De === " ") {
21047
- var Ye = Ne.measureText("|" + De + "|"), qe = Ne.measureText("||");
21048
- Oe.cache[Ue] = (Ye - qe) / 100;
21080
+ var qe = Ne.measureText("|" + De + "|"), Ye = Ne.measureText("||");
21081
+ ke.cache[Ge] = (qe - Ye) / 100;
21049
21082
  } else
21050
- Oe.cache[Ue] = Ne.measureText(De) / 100;
21083
+ ke.cache[Ge] = Ne.measureText(De) / 100;
21051
21084
  }
21052
- return Oe.cache[Ue] * Re;
21085
+ return ke.cache[Ge] * Re;
21053
21086
  }
21054
21087
  function Ie(De) {
21055
21088
  for (var Be = 0, Re = this.fonts.length; Be < Re; ) {
@@ -21062,12 +21095,12 @@ var lottie$1 = { exports: {} };
21062
21095
  function Fe(De) {
21063
21096
  var Be = 0, Re = De.charCodeAt(0);
21064
21097
  if (Re >= 55296 && Re <= 56319) {
21065
- var Oe = De.charCodeAt(1);
21066
- 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);
21067
21100
  }
21068
21101
  return Be;
21069
21102
  }
21070
- function ke(De, Be) {
21103
+ function Oe(De, Be) {
21071
21104
  var Re = De.toString(16) + Be.toString(16);
21072
21105
  return Z.indexOf(Re) !== -1;
21073
21106
  }
@@ -21077,12 +21110,12 @@ var lottie$1 = { exports: {} };
21077
21110
  function Le(De) {
21078
21111
  return De === Y;
21079
21112
  }
21080
- function Ge(De) {
21113
+ function Ue(De) {
21081
21114
  var Be = Fe(De);
21082
21115
  return Be >= _e && Be <= xe;
21083
21116
  }
21084
21117
  function He(De) {
21085
- return Ge(De.substr(0, 2)) && Ge(De.substr(2, 2));
21118
+ return Ue(De.substr(0, 2)) && Ue(De.substr(2, 2));
21086
21119
  }
21087
21120
  function We(De) {
21088
21121
  return I.indexOf(De) !== -1;
@@ -21091,11 +21124,11 @@ var lottie$1 = { exports: {} };
21091
21124
  var Re = Fe(De.substr(Be, 2));
21092
21125
  if (Re !== B)
21093
21126
  return !1;
21094
- var Oe = 0;
21095
- for (Be += 2; Oe < 5; ) {
21127
+ var ke = 0;
21128
+ for (Be += 2; ke < 5; ) {
21096
21129
  if (Re = Fe(De.substr(Be, 2)), Re < V || Re > X)
21097
21130
  return !1;
21098
- Oe += 1, Be += 2;
21131
+ ke += 1, Be += 2;
21099
21132
  }
21100
21133
  return Fe(De.substr(Be, 2)) === U;
21101
21134
  }
@@ -21105,7 +21138,7 @@ var lottie$1 = { exports: {} };
21105
21138
  var ze = function() {
21106
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);
21107
21140
  };
21108
- ze.isModifier = ke, ze.isZeroWidthJoiner = $e, ze.isFlagEmoji = He, ze.isRegionalCode = Ge, ze.isCombinedCharacter = We, ze.isRegionalFlag = je, ze.isVariationSelector = Le, ze.BLACK_FLAG_CODE_POINT = B;
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;
21109
21142
  var Xe = {
21110
21143
  addChars: Ee,
21111
21144
  addFonts: Me,
@@ -22065,19 +22098,19 @@ var lottie$1 = { exports: {} };
22065
22098
  function V() {
22066
22099
  }
22067
22100
  function X(Z, J, Se) {
22068
- 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;
22069
22102
  for (Pe = 0; Pe < Ie; Pe += 1) {
22070
22103
  if (Ee = J.sh._mdf || Se, J.styles[Pe].lvl < Fe) {
22071
- for ($e = E.reset(), Le = Fe - J.styles[Pe].lvl, Ge = J.transformers.length - 1; !Ee && Le > 0; )
22072
- 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;
22073
22106
  if (Ee)
22074
- for (Le = Fe - J.styles[Pe].lvl, Ge = J.transformers.length - 1; Le > 0; )
22075
- $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;
22076
22109
  } else
22077
22110
  $e = C;
22078
- if (ke = J.sh.paths, Ae = ke._length, Ee) {
22111
+ if (Oe = J.sh.paths, Ae = Oe._length, Ee) {
22079
22112
  for (Me = "", Te = 0; Te < Ae; Te += 1)
22080
- 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));
22081
22114
  J.caches[Pe] = Me;
22082
22115
  } else
22083
22116
  Me = J.caches[Pe];
@@ -22101,17 +22134,17 @@ var lottie$1 = { exports: {} };
22101
22134
  var Pe = Z.t === 1 ? "x1" : "cx", Ie = Pe === "x1" ? "y1" : "cy";
22102
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]));
22103
22136
  }
22104
- var Fe, ke, $e, Le;
22137
+ var Fe, Oe, $e, Le;
22105
22138
  if (J.g._cmdf || Se) {
22106
22139
  Fe = J.cst;
22107
- var Ge = J.g.c;
22108
- for ($e = Fe.length, ke = 0; ke < $e; ke += 1)
22109
- 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] + ")");
22110
22143
  }
22111
22144
  if (Ae && (J.g._omdf || Se)) {
22112
22145
  var He = J.g.o;
22113
- for (J.g._collapsable ? Fe = J.cst : Fe = J.ost, $e = Fe.length, ke = 0; ke < $e; ke += 1)
22114
- 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]);
22115
22148
  }
22116
22149
  if (Z.t === 1)
22117
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])));
@@ -22315,19 +22348,19 @@ var lottie$1 = { exports: {} };
22315
22348
  C.__complete = !0;
22316
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);
22317
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;
22318
- var ke = C.tr / 1e3 * C.finalSize, $e;
22351
+ var Oe = C.tr / 1e3 * C.finalSize, $e;
22319
22352
  if (C.sz)
22320
- for (var Le = !0, Ge = C.sz[0], He = C.sz[1], We, je; Le; ) {
22321
- je = this.buildFinalText(C.t), We = 0, Te = 0, V = je.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;
22322
22355
  var Ve = -1;
22323
22356
  for (U = 0; U < V; U += 1)
22324
- $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 > Ge && 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 += ke);
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);
22325
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);
22326
22359
  }
22327
- Te = -ke, Ie = 0;
22360
+ Te = -Oe, Ie = 0;
22328
22361
  var ze = 0, Xe;
22329
22362
  for (U = 0; U < V; U += 1)
22330
- 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 * ke, 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 + 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({
22331
22364
  l: Ie,
22332
22365
  an: Ie,
22333
22366
  add: xe,
@@ -22366,15 +22399,15 @@ var lottie$1 = { exports: {} };
22366
22399
  C.lineWidths = Se;
22367
22400
  var De = I.a, Be, Re;
22368
22401
  Ee = De.length;
22369
- var Oe, Ue, Ne = [];
22402
+ var ke, Ge, Ne = [];
22370
22403
  for (Me = 0; Me < Ee; Me += 1) {
22371
- 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)
22372
- 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);
22373
- I.a[Me].s.totalChars = Ue;
22374
- var Ye = -1, qe;
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;
22407
+ var qe = -1, Ye;
22375
22408
  if (Be.s.rn === 1)
22376
22409
  for (U = 0; U < V; U += 1)
22377
- Re = B[U], Ye != Re.anIndexes[Me] && (Ye = Re.anIndexes[Me], qe = Ne.splice(Math.floor(Math.random() * Ne.length), 1)[0]), Re.anIndexes[Me] = qe;
22410
+ Re = B[U], qe != Re.anIndexes[Me] && (qe = Re.anIndexes[Me], Ye = Ne.splice(Math.floor(Math.random() * Ne.length), 1)[0]), Re.anIndexes[Me] = Ye;
22378
22411
  }
22379
22412
  C.yOffset = C.finalLineHeight || C.finalSize * 1.2, C.ls = C.ls || 0, C.ascent = we.ascent * C.finalSize / 100;
22380
22413
  }, TextProperty.prototype.updateDocumentData = function(C, E) {
@@ -22498,7 +22531,7 @@ var lottie$1 = { exports: {} };
22498
22531
  }, TextAnimatorProperty.prototype.getMeasures = function(C, E) {
22499
22532
  if (this.lettersChangedFlag = E, !(!this._mdf && !this._isFirstFrame && !E && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
22500
22533
  this._isFirstFrame = !1;
22501
- 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;
22502
22535
  if (this._hasMaskedPath) {
22503
22536
  if (We = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
22504
22537
  var je = We.v;
@@ -22511,15 +22544,15 @@ var lottie$1 = { exports: {} };
22511
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;
22512
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;
22513
22546
  }
22514
- 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)
22515
- 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; )
22516
- Te += Fe[we].partialLength, we -= 1, we < 0 && (Pe -= 1, Fe = ke[Pe].points, we = Fe.length - 1);
22517
- 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;
22518
22551
  }
22519
22552
  Z = J.length, K = 0, _e = 0;
22520
- var ze = C.finalSize * 1.2 * 0.714, Xe = !0, De, Be, Re, Oe, Ue;
22521
- Oe = B.length;
22522
- var Ne, Ye = -1, qe, Ke, et, Je = Te, nt = Pe, at = we, ot = -1, Qe, 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;
22523
22556
  if (C.j === 2 || C.j === 1) {
22524
22557
  var dt = 0, gt = 0, vt = C.j === 2 ? -0.5 : -1, pt = 0, yt = !0;
22525
22558
  for (xe = 0; xe < Z; xe += 1)
@@ -22528,7 +22561,7 @@ var lottie$1 = { exports: {} };
22528
22561
  J[pt].animatorJustifyOffset = dt, pt += 1;
22529
22562
  dt = 0, yt = !0;
22530
22563
  } else {
22531
- for (Re = 0; Re < Oe; Re += 1)
22564
+ for (Re = 0; Re < ke; Re += 1)
22532
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);
22533
22566
  yt = !1;
22534
22567
  }
@@ -22536,11 +22569,11 @@ var lottie$1 = { exports: {} };
22536
22569
  J[pt].animatorJustifyOffset = dt, pt += 1;
22537
22570
  }
22538
22571
  for (xe = 0; xe < Z; xe += 1) {
22539
- if (V.reset(), Qe = 1, J[xe].n)
22540
- K = 0, _e += C.yOffset, _e += Xe ? 1 : 0, Te = Je, Xe = !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;
22541
22574
  else {
22542
22575
  if (this._hasMaskedPath) {
22543
- if (ot !== J[xe].line) {
22576
+ if (at !== J[xe].line) {
22544
22577
  switch (C.j) {
22545
22578
  case 1:
22546
22579
  Te += Le - C.lineWidths[J[xe].line];
@@ -22549,43 +22582,43 @@ var lottie$1 = { exports: {} };
22549
22582
  Te += (Le - C.lineWidths[J[xe].line]) / 2;
22550
22583
  break;
22551
22584
  }
22552
- ot = J[xe].line;
22585
+ at = J[xe].line;
22553
22586
  }
22554
- Ye !== J[xe].ind && (J[Ye] && (Te += J[Ye].extra), Te += J[xe].an / 2, Ye = J[xe].ind), Te += I[0] * J[xe].an * 5e-3;
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;
22555
22588
  var mt = 0;
22556
- for (Re = 0; Re < Oe; Re += 1)
22589
+ for (Re = 0; Re < ke; Re += 1)
22557
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);
22558
- 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) * Ye / (Z - 1), Te += this._pathData.f.v); Ee; )
22559
- Me + $e >= Te + mt || !Fe ? (Ge = (Te + mt - Me) / Ae.partialLength, Ke = Ie.point[0] + (Ae.point[0] - Ie.point[0]) * Ge, et = 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));
22560
- qe = J[xe].an / 2 - J[xe].add, V.translate(-qe, 0, 0);
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; )
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));
22593
+ Ye = J[xe].an / 2 - J[xe].add, V.translate(-Ye, 0, 0);
22561
22594
  } else
22562
- qe = J[xe].an / 2 - J[xe].add, V.translate(-qe, 0, 0), V.translate(-I[0] * J[xe].an * 5e-3, -I[1] * ze * 0.01, 0);
22563
- for (Re = 0; Re < Oe; Re += 1)
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);
22596
+ for (Re = 0; Re < ke; Re += 1)
22564
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));
22565
- 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)
22566
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));
22567
- for (Re = 0; Re < Oe; Re += 1)
22600
+ for (Re = 0; Re < ke; Re += 1)
22568
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));
22569
- for (Re = 0; Re < Oe; Re += 1) {
22570
- 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 ? Qe += (De.o.v * Ne[0] - Qe) * Ne[0] : Qe += (De.o.v * Ne - Qe) * Ne), C.strokeWidthAnim && De.sw.propType && (Ne.length ? rt += De.sw.v * Ne[0] : rt += De.sw.v * Ne), C.strokeColorAnim && De.sc.propType)
22571
- for (Ze = 0; Ze < 3; Ze += 1)
22572
- 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;
22573
22606
  if (C.fillColorAnim && C.fc) {
22574
22607
  if (De.fc.propType)
22575
- for (Ze = 0; Ze < 3; Ze += 1)
22576
- Ne.length ? it[Ze] += (De.fc.v[Ze] - it[Ze]) * Ne[0] : it[Ze] += (De.fc.v[Ze] - it[Ze]) * Ne;
22577
- 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));
22578
22611
  }
22579
22612
  }
22580
- for (Re = 0; Re < Oe; Re += 1)
22613
+ for (Re = 0; Re < ke; Re += 1)
22581
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));
22582
- 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) {
22583
22616
  if (V.translate(0, -C.ls), V.translate(0, I[1] * ze * 0.01 + _e, 0), this._pathData.p.v) {
22584
22617
  He = (Ae.point[1] - Ie.point[1]) / (Ae.point[0] - Ie.point[0]);
22585
22618
  var _t = Math.atan(He) * 180 / Math.PI;
22586
22619
  Ae.point[0] < Ie.point[0] && (_t += 180), V.rotate(-_t * Math.PI / 180);
22587
22620
  }
22588
- V.translate(Ke, et, 0), Te -= I[0] * J[xe].an * 5e-3, J[xe + 1] && Ye !== 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);
22589
22622
  } else {
22590
22623
  switch (V.translate(K, _e, 0), C.ps && V.translate(C.ps[0], C.ps[1] + C.ascent, 0), C.j) {
22591
22624
  case 1:
@@ -22595,11 +22628,11 @@ var lottie$1 = { exports: {} };
22595
22628
  V.translate(J[xe].animatorJustifyOffset + C.justifyOffset + (C.boxWidth - C.lineWidths[J[xe].line]) / 2, 0, 0);
22596
22629
  break;
22597
22630
  }
22598
- V.translate(0, -C.ls), V.translate(qe, 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;
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;
22599
22632
  }
22600
- 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 = Qe;
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;
22601
22634
  }
22602
- 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);
22603
22636
  }
22604
22637
  }
22605
22638
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -22715,18 +22748,18 @@ var lottie$1 = { exports: {} };
22715
22748
  }
22716
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) {
22717
22750
  Ie = this.globalData.fontManager.getCharData(I.finalText[C], B.fStyle, this.globalData.fontManager.getFontByName(I.f).fFamily);
22718
- var ke;
22751
+ var Oe;
22719
22752
  if (Ie.t === 1)
22720
- ke = new SVGCompElement(Ie.data, this.globalData, this);
22753
+ Oe = new SVGCompElement(Ie.data, this.globalData, this);
22721
22754
  else {
22722
22755
  var $e = emptyShapeData;
22723
- 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);
22724
22757
  }
22725
22758
  if (this.textSpans[C].glyph) {
22726
22759
  var Le = this.textSpans[C].glyph;
22727
22760
  this.textSpans[C].childSpan.removeChild(Le.layerElement), Le.destroy();
22728
22761
  }
22729
- 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 + ")");
22730
22763
  } else
22731
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");
22732
22765
  }
@@ -23342,9 +23375,9 @@ var lottie$1 = { exports: {} };
23342
23375
  C.sc && (I = !0, this.values.stroke = this.buildColor(C.sc), this.values.sWidth = C.sw);
23343
23376
  var B = this.globalData.fontManager.getFontByName(C.f), U, V, X = C.l, Y = this.mHelper;
23344
23377
  this.stroke = I, this.values.fValue = C.finalSize + "px " + this.globalData.fontManager.getFontByName(C.f).fFamily, V = C.finalText.length;
23345
- 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;
23346
23379
  for (U = 0; U < V; U += 1) {
23347
- 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);
23348
23381
  var Le = 0;
23349
23382
  for (Se = 0; Se < Te; Se += 1)
23350
23383
  if (J[Se].ty === "sh") {
@@ -23796,8 +23829,8 @@ var lottie$1 = { exports: {} };
23796
23829
  this.innerElem.appendChild(_e);
23797
23830
  else {
23798
23831
  this.innerElem.appendChild(xe);
23799
- var Fe = _e.style, ke = "translate3d(0," + -C.finalSize / 1.2 + "px,0)";
23800
- 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;
23801
23834
  }
23802
23835
  this.isMasked ? this.textSpans[Ae] = _e : this.textSpans[Ae] = xe, this.textSpans[Ae].style.display = "block", this.textPaths[Ae] = _e, Ae += 1;
23803
23836
  }
@@ -24093,56 +24126,56 @@ var lottie$1 = { exports: {} };
24093
24126
  function seedRandom(C, E) {
24094
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;
24095
24128
  function J(Pe, Ie, Fe) {
24096
- var ke = [];
24129
+ var Oe = [];
24097
24130
  Ie = Ie === !0 ? {
24098
24131
  entropy: !0
24099
24132
  } : Ie || {};
24100
- var $e = Me(Ae(Ie.entropy ? [Pe, we(C)] : Pe === null ? Ee() : Pe, 3), ke), Le = new Se(ke), Ge = function() {
24133
+ var $e = Me(Ae(Ie.entropy ? [Pe, we(C)] : Pe === null ? Ee() : Pe, 3), Oe), Le = new Se(Oe), Ue = function() {
24101
24134
  for (var We = Le.g(U), je = Y, Ve = 0; We < K; )
24102
24135
  We = (We + Ve) * B, je *= B, Ve = Le.g(1);
24103
24136
  for (; We >= _e; )
24104
24137
  We /= 2, je /= 2, Ve >>>= 1;
24105
24138
  return (We + Ve) / je;
24106
24139
  };
24107
- return Ge.int32 = function() {
24140
+ return Ue.int32 = function() {
24108
24141
  return Le.g(4) | 0;
24109
- }, Ge.quick = function() {
24142
+ }, Ue.quick = function() {
24110
24143
  return Le.g(4) / 4294967296;
24111
- }, Ge.double = Ge, Me(we(Le.S), C), (Ie.pass || Fe || function(He, We, je, Ve) {
24144
+ }, Ue.double = Ue, Me(we(Le.S), C), (Ie.pass || Fe || function(He, We, je, Ve) {
24112
24145
  return Ve && (Ve.S && Te(Ve, Le), He.state = function() {
24113
24146
  return Te(Le, {});
24114
24147
  }), je ? (E[X] = He, We) : He;
24115
- })(Ge, $e, "global" in Ie ? Ie.global : this == E, Ie.state);
24148
+ })(Ue, $e, "global" in Ie ? Ie.global : this == E, Ie.state);
24116
24149
  }
24117
24150
  E["seed" + X] = J;
24118
24151
  function Se(Pe) {
24119
- 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 = [];
24120
24153
  for (Fe || (Pe = [Fe++]); $e < B; )
24121
- Ge[$e] = $e++;
24154
+ Ue[$e] = $e++;
24122
24155
  for ($e = 0; $e < B; $e++)
24123
- Ge[$e] = Ge[Le = xe & Le + Pe[$e % Fe] + (Ie = Ge[$e])], Ge[Le] = Ie;
24124
- ke.g = function(He) {
24125
- for (var We, je = 0, Ve = ke.i, ze = ke.j, Xe = ke.S; He--; )
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--; )
24126
24159
  We = Xe[Ve = xe & Ve + 1], je = je * B + Xe[xe & (Xe[Ve] = Xe[ze = xe & ze + We]) + (Xe[ze] = We)];
24127
- return ke.i = Ve, ke.j = ze, je;
24160
+ return Oe.i = Ve, Oe.j = ze, je;
24128
24161
  };
24129
24162
  }
24130
24163
  function Te(Pe, Ie) {
24131
24164
  return Ie.i = Pe.i, Ie.j = Pe.j, Ie.S = Pe.S.slice(), Ie;
24132
24165
  }
24133
24166
  function Ae(Pe, Ie) {
24134
- var Fe = [], ke = _typeof$2(Pe), $e;
24135
- if (Ie && ke == "object")
24167
+ var Fe = [], Oe = _typeof$2(Pe), $e;
24168
+ if (Ie && Oe == "object")
24136
24169
  for ($e in Pe)
24137
24170
  try {
24138
24171
  Fe.push(Ae(Pe[$e], Ie - 1));
24139
24172
  } catch {
24140
24173
  }
24141
- return Fe.length ? Fe : ke == "string" ? Pe : Pe + "\0";
24174
+ return Fe.length ? Fe : Oe == "string" ? Pe : Pe + "\0";
24142
24175
  }
24143
24176
  function Me(Pe, Ie) {
24144
- for (var Fe = Pe + "", ke, $e = 0; $e < Fe.length; )
24145
- 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++);
24146
24179
  return we(Ie);
24147
24180
  }
24148
24181
  function Ee() {
@@ -24907,10 +24940,10 @@ var lottie$1 = { exports: {} };
24907
24940
  }
24908
24941
  function E(Te, Ae, Me) {
24909
24942
  var Ee, we = function(Fe) {
24910
- for (var ke = 0, $e = Ee.length; ke < $e; ) {
24911
- if (Ee[ke]._name === Fe || Ee[ke].mn === Fe || Ee[ke].propertyIndex === Fe || Ee[ke].ix === Fe || Ee[ke].ind === Fe)
24912
- return Ee[ke];
24913
- 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;
24914
24947
  }
24915
24948
  return typeof Fe == "number" ? Ee[Fe - 1] : null;
24916
24949
  };
@@ -24990,13 +25023,13 @@ var lottie$1 = { exports: {} };
24990
25023
  return Te;
24991
25024
  }
24992
25025
  function X(Te, Ae, Me) {
24993
- var Ee = propertyGroupFactory($e, Me), we = propertyGroupFactory(ke, Ee);
25026
+ var Ee = propertyGroupFactory($e, Me), we = propertyGroupFactory(Oe, Ee);
24994
25027
  function Pe(Le) {
24995
- Object.defineProperty(ke, Te.d[Le].nm, {
25028
+ Object.defineProperty(Oe, Te.d[Le].nm, {
24996
25029
  get: ExpressionPropertyInterface(Ae.d.dataProps[Le].p)
24997
25030
  });
24998
25031
  }
24999
- var Ie, Fe = Te.d ? Te.d.length : 0, ke = {};
25032
+ var Ie, Fe = Te.d ? Te.d.length : 0, Oe = {};
25000
25033
  for (Ie = 0; Ie < Fe; Ie += 1)
25001
25034
  Pe(Ie), Ae.d.dataProps[Ie].p.setGroupProperty(we);
25002
25035
  function $e(Le) {
@@ -25014,7 +25047,7 @@ var lottie$1 = { exports: {} };
25014
25047
  },
25015
25048
  dash: {
25016
25049
  get: function() {
25017
- return ke;
25050
+ return Oe;
25018
25051
  }
25019
25052
  },
25020
25053
  _name: {
@@ -25184,7 +25217,7 @@ var lottie$1 = { exports: {} };
25184
25217
  function we(Ie) {
25185
25218
  if (typeof Ie == "number")
25186
25219
  return Ie = Ie === void 0 ? 1 : Ie, Ie === 0 ? Me : Ee[Ie - 1];
25187
- for (var Fe = 0, ke = Ee.length; Fe < ke; ) {
25220
+ for (var Fe = 0, Oe = Ee.length; Fe < Oe; ) {
25188
25221
  if (Ee[Fe]._name === Ie)
25189
25222
  return Ee[Fe];
25190
25223
  Fe += 1;
@@ -25326,25 +25359,25 @@ var lottie$1 = { exports: {} };
25326
25359
  return this.pv;
25327
25360
  var we, Pe;
25328
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);
25329
- var Ie, Fe, ke;
25362
+ var Ie, Fe, Oe;
25330
25363
  if (J === "pingpong") {
25331
25364
  var $e = Math.floor((Ae - Pe) / we);
25332
25365
  if ($e % 2 !== 0)
25333
25366
  return this.getValueAtTime((we - (Ae - Pe) % we + Pe) / this.comp.globalData.frameRate, 0);
25334
25367
  } else if (J === "offset") {
25335
- 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);
25336
25369
  if (this.pv.length) {
25337
- for (ke = new Array(Le.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25338
- ke[Ie] = (Ge[Ie] - Le[Ie]) * We + He[Ie];
25339
- 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;
25340
25373
  }
25341
- return (Ge - Le) * We + He;
25374
+ return (Ue - Le) * We + He;
25342
25375
  } else if (J === "continue") {
25343
25376
  var je = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee - 1e-3) / this.comp.globalData.frameRate, 0);
25344
25377
  if (this.pv.length) {
25345
- for (ke = new Array(je.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25346
- ke[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * ((Ae - Ee) / this.comp.globalData.frameRate) / 5e-4;
25347
- 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;
25348
25381
  }
25349
25382
  return je + (je - Ve) * ((Ae - Ee) / 1e-3);
25350
25383
  }
@@ -25359,25 +25392,25 @@ var lottie$1 = { exports: {} };
25359
25392
  return this.pv;
25360
25393
  var we, Pe;
25361
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);
25362
- var Ie, Fe, ke;
25395
+ var Ie, Fe, Oe;
25363
25396
  if (J === "pingpong") {
25364
25397
  var $e = Math.floor((Ee - Ae) / we);
25365
25398
  if ($e % 2 === 0)
25366
25399
  return this.getValueAtTime(((Ee - Ae) % we + Ee) / this.comp.globalData.frameRate, 0);
25367
25400
  } else if (J === "offset") {
25368
- 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;
25369
25402
  if (this.pv.length) {
25370
- for (ke = new Array(Le.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25371
- ke[Ie] = He[Ie] - (Ge[Ie] - Le[Ie]) * We;
25372
- 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;
25373
25406
  }
25374
- return He - (Ge - Le) * We;
25407
+ return He - (Ue - Le) * We;
25375
25408
  } else if (J === "continue") {
25376
25409
  var je = this.getValueAtTime(Ee / this.comp.globalData.frameRate, 0), Ve = this.getValueAtTime((Ee + 1e-3) / this.comp.globalData.frameRate, 0);
25377
25410
  if (this.pv.length) {
25378
- for (ke = new Array(je.length), Fe = ke.length, Ie = 0; Ie < Fe; Ie += 1)
25379
- ke[Ie] = je[Ie] + (je[Ie] - Ve[Ie]) * (Ee - Ae) / 1e-3;
25380
- 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;
25381
25414
  }
25382
25415
  return je + (je - Ve) * (Ee - Ae) / 1e-3;
25383
25416
  }
@@ -25426,14 +25459,14 @@ var lottie$1 = { exports: {} };
25426
25459
  var we = this.r.getValueAtTime(J);
25427
25460
  Se.rotate(-we * this.r.mult);
25428
25461
  } else if (!this.r && this.appliedTransformations < 4) {
25429
- var Pe = this.rz.getValueAtTime(J), Ie = this.ry.getValueAtTime(J), Fe = this.rx.getValueAtTime(J), ke = this.or.getValueAtTime(J);
25430
- 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);
25431
25464
  }
25432
25465
  if (this.data.p && this.data.p.s) {
25433
25466
  var $e = this.px.getValueAtTime(J), Le = this.py.getValueAtTime(J);
25434
25467
  if (this.data.p.z) {
25435
- var Ge = this.pz.getValueAtTime(J);
25436
- 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);
25437
25470
  } else
25438
25471
  Se.translate($e * this.px.mult, Le * this.py.mult, 0);
25439
25472
  } else {
@@ -25496,16 +25529,16 @@ var lottie$1 = { exports: {} };
25496
25529
  pointOnPath: function(Se, Te) {
25497
25530
  var Ae = this.v;
25498
25531
  Te !== void 0 && (Ae = this.getValueAtTime(Te, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(Ae));
25499
- 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; ) {
25500
25533
  if (Fe + Ee[Pe].addedLength > we) {
25501
- var $e = Pe, Le = Ae.c && Pe === Ie - 1 ? 0 : Pe + 1, Ge = (we - Fe) / Ee[Pe].addedLength;
25502
- 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]);
25503
25536
  break;
25504
25537
  } else
25505
25538
  Fe += Ee[Pe].addedLength;
25506
25539
  Pe += 1;
25507
25540
  }
25508
- 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;
25509
25542
  },
25510
25543
  vectorOnPath: function(Se, Te, Ae) {
25511
25544
  Se == 1 ? Se = this.v.c : Se == 0 && (Se = 0.999);
@@ -25795,8 +25828,8 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25795
25828
  frameEndAt: Pe,
25796
25829
  visible: Ie,
25797
25830
  disabled: Fe,
25798
- loop: ke = !1,
25799
- transformation: { x: $e, y: Le, width: Ge, height: He, colorCorrection: We = {} },
25831
+ loop: Oe = !1,
25832
+ transformation: { x: $e, y: Le, width: Ue, height: He, colorCorrection: We = {} },
25800
25833
  pointerdown: je = () => {
25801
25834
  },
25802
25835
  pointerout: Ve = () => {
@@ -25807,23 +25840,23 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25807
25840
  useCustomEventListener(Events.PAUSE, () => {
25808
25841
  _e.current && _e.current.pause();
25809
25842
  });
25810
- const { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(ze, je, Ve, 1), { blurRadius: Oe = 0, vignette: Ue = 0, noise: Ne = 0 } = We, {
25811
- temperatureFilter: Ye,
25812
- sharpnessFilter: qe,
25843
+ const { onPointerDown: De, onPointerOut: Be, onPointerOver: Re } = useDebouncedPointerEvents(ze, je, Ve, 1), { blurRadius: ke = 0, vignette: Ge = 0, noise: Ne = 0 } = We, {
25844
+ temperatureFilter: qe,
25845
+ sharpnessFilter: Ye,
25813
25846
  hueFilter: Ke,
25814
- blurFilter: et,
25815
- adjustmentFilter: Je,
25816
- vignetteFilter: nt,
25817
- noiseFilter: at
25847
+ blurFilter: rt,
25848
+ adjustmentFilter: it,
25849
+ vignetteFilter: Qe,
25850
+ noiseFilter: st
25818
25851
  } = withFiltersHook(We);
25819
25852
  React.useLayoutEffect(() => {
25820
- 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}`);
25821
- const Qe = Se.current;
25822
- return Qe.appendChild(K.current), () => {
25823
- K.current && Qe.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);
25824
25857
  };
25825
25858
  }, []), React.useEffect(() => {
25826
- async function Qe() {
25859
+ async function Ze() {
25827
25860
  _e.current && _e.current.destroy(), K.current.removeAttribute("style"), _e.current = lottie.loadAnimation({
25828
25861
  container: K.current || document.getElementById("lottieroot"),
25829
25862
  renderer: "canvas",
@@ -25840,12 +25873,12 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25840
25873
  }
25841
25874
  }), _e.current.addEventListener("data_ready", () => {
25842
25875
  if (K.current && K.current.setAttribute("style", "display:none"), _e.current && _e.current.renderer.canvasContext) {
25843
- const tt = _e.current.totalFrames;
25844
- Z.current.totalFrames = tt;
25845
- const rt = _e.current.getDuration();
25846
- Z.current.totalDuration = rt;
25847
- const it = _e.current.renderer.canvasContext.canvas, Ze = PIXI.Texture.from(it);
25848
- 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);
25849
25882
  }
25850
25883
  }), _e.current.addEventListener("loaded_images", () => {
25851
25884
  }), _e.current.addEventListener("complete", () => {
@@ -25853,42 +25886,42 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25853
25886
  }), _e.current.addEventListener("enterFrame", () => {
25854
25887
  }), _e.current.addEventListener("config_ready", () => {
25855
25888
  console.log("config_ready", _e.current);
25856
- }), _e.current.addEventListener("error", (tt) => {
25857
- console.log("error", tt);
25889
+ }), _e.current.addEventListener("error", (et) => {
25890
+ console.log("error", et);
25858
25891
  });
25859
25892
  }
25860
- return Qe(), () => {
25893
+ return Ze(), () => {
25861
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());
25862
25895
  };
25863
25896
  }, [Ae, Te]), React.useEffect(() => (J.current && J.current.update(), () => {
25864
25897
  }), [U]);
25865
- const ot = (Qe) => {
25898
+ const at = (Ze) => {
25866
25899
  if (_e.current && X.current && xe.current) {
25867
- const rt = Qe(xe.current.time()) / xe.current.duration() * Z.current.totalFrames, it = Z.current.totalFrames;
25868
- let Ze = rt;
25869
- 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);
25870
25903
  }
25871
25904
  };
25872
25905
  return React.useEffect(() => {
25873
- let Qe = gsap$2.context(() => {
25906
+ let Ze = gsap$2.context(() => {
25874
25907
  });
25875
25908
  if (Y.current && Xe.current && I > 0) {
25876
- const tt = Number(Ee) - Number(Me);
25877
- xe.current && (xe.current.kill(), Xe.current.remove(xe.current)), Qe = gsap$2.context(() => {
25878
- const rt = gsap$2.utils.wrap(Me, I);
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);
25879
25912
  xe.current = gsap$2.timeline({}).to(
25880
25913
  Y.current,
25881
25914
  {
25882
- duration: Number(tt),
25883
- onUpdate: ot,
25884
- onUpdateParams: [rt, we, Pe]
25915
+ duration: Number(et),
25916
+ onUpdate: at,
25917
+ onUpdateParams: [nt, we, Pe]
25885
25918
  },
25886
25919
  we
25887
25920
  ), Xe.current.add(xe.current, Me);
25888
25921
  });
25889
25922
  }
25890
25923
  return () => {
25891
- xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), Qe.revert();
25924
+ xe.current && (xe.current.kill(), gsap$2.killTweensOf(xe.current)), Ze.revert();
25892
25925
  };
25893
25926
  }, [
25894
25927
  Me,
@@ -25897,7 +25930,7 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25897
25930
  Pe,
25898
25931
  Te,
25899
25932
  I,
25900
- ke
25933
+ Oe
25901
25934
  ]), /* @__PURE__ */ jsxRuntimeExports.jsx(
25902
25935
  AbstractContainer,
25903
25936
  {
@@ -25911,7 +25944,7 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25911
25944
  Sprite,
25912
25945
  {
25913
25946
  texture: J.current,
25914
- width: Ge,
25947
+ width: Ue,
25915
25948
  height: He,
25916
25949
  anchor: 0.5,
25917
25950
  x: $e,
@@ -25920,16 +25953,16 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), initialSt
25920
25953
  alpha: Ie ? 1 : 0,
25921
25954
  ...!Fe && Ie && { interactive: !0, pointerdown: je },
25922
25955
  filters: [
25923
- Ye,
25924
25956
  qe,
25957
+ Ye,
25925
25958
  Ke,
25926
- Je,
25959
+ it,
25927
25960
  // conditionally add blur filter
25928
- ...Oe > 0 ? [et] : [],
25961
+ ...ke > 0 ? [rt] : [],
25929
25962
  // conditionally add vignette filter
25930
- ...Ue > 0 ? [nt] : [],
25963
+ ...Ge > 0 ? [Qe] : [],
25931
25964
  // conditionally add noise filter
25932
- ...Ne > 0 ? [at] : []
25965
+ ...Ne > 0 ? [st] : []
25933
25966
  ]
25934
25967
  }
25935
25968
  ) })