@cliquify.me/elements-ui 9.0.15 → 9.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.es.js +544 -517
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -75,7 +75,7 @@ const wt = (t, r) => {
75
75
  color: t.color || "#000000",
76
76
  background: t.backgroundColor || "",
77
77
  borderRadius: t != null && t.borderRadius && (t != null && t.borderRadius.toString().includes("px")) ? t == null ? void 0 : t.borderRadius : ((t == null ? void 0 : t.borderRadius) || 0) + "%"
78
- }), Gt = (t, r = {}, o = {}) => {
78
+ }), zt = (t, r = {}, o = {}) => {
79
79
  const s = t.brightness !== void 0 && t.brightness !== null ? t.brightness : 100, a = t.blur !== void 0 && t.blur !== null ? t.blur : 0, c = `brightness(${s}%) blur(${a}px)`;
80
80
  return {
81
81
  pointerEvents: "auto",
@@ -150,7 +150,7 @@ const wt = (t, r) => {
150
150
  options: r,
151
151
  children: o
152
152
  }) => {
153
- var b, x, g, w;
153
+ var b, x, g, S;
154
154
  const { details: s } = t, { fps: a, isTransition: c } = r, { from: i, durationInFrames: n } = wt(
155
155
  {
156
156
  from: t.display.from,
@@ -161,10 +161,10 @@ const wt = (t, r) => {
161
161
  width: t.details.width,
162
162
  height: t.details.height
163
163
  }, e = ((b = s == null ? void 0 : s.background) == null ? void 0 : b.type) === "color" ? (x = s == null ? void 0 : s.background) == null ? void 0 : x.value : typeof (s == null ? void 0 : s.background) == "string" ? s == null ? void 0 : s.background : "transparent", p = ["template", "composition"].includes(t.type), d = ["image", "video"].includes(t.type), u = ["text", "caption"].includes(t.type);
164
- let l = Gt(s, h, { background: e });
164
+ let l = zt(s, h, { background: e });
165
165
  if (d) {
166
- const { background: M, ...S } = l;
167
- l = S;
166
+ const { background: w, ...M } = l;
167
+ l = M;
168
168
  }
169
169
  u && (delete l.boxShadow, delete l.filter);
170
170
  const v = p ? "!pointer-events-auto" : "";
@@ -234,7 +234,7 @@ const wt = (t, r) => {
234
234
  overflow: u ? "visible" : !u && l.borderRadius && l.borderRadius !== "0px" ? "hidden" : "visible",
235
235
  boxShadow: "",
236
236
  visibility: s.visibility,
237
- background: t.type === "text" ? "transparent" : t.type === "template" && ((w = (g = t.details) == null ? void 0 : g.background) == null ? void 0 : w.value) || "transparent",
237
+ background: t.type === "text" ? "transparent" : t.type === "template" && ((S = (g = t.details) == null ? void 0 : g.background) == null ? void 0 : S.value) || "transparent",
238
238
  pointerEvents: t.type === "audio" ? "none" : "auto"
239
239
  },
240
240
  children: o
@@ -326,7 +326,7 @@ const wn = /* @__PURE__ */ new Set([
326
326
  }, Ft = (t, r, o, s, a) => {
327
327
  let c = null, i = null, n = null, h = null;
328
328
  return a != null && a.isAnimationEditor || a != null && a.insideTemplate, t != null && t.in && (c = [], t.in.composition.forEach((e) => {
329
- var v, b, x, g, w;
329
+ var v, b, x, g, S;
330
330
  c.push({
331
331
  id: e.id,
332
332
  property: e.property,
@@ -340,10 +340,10 @@ const wn = /* @__PURE__ */ new Set([
340
340
  }), e.property === "translateX" || e.property === "translateY" || e.property.toLowerCase().includes("slide");
341
341
  const p = !!((v = e.details) != null && v.fade || e.fade), d = e.property === "moveScaleIn" || e.property === "moveScaleOut", u = e.property === "blurSlideV2In" || e.property === "blurSlideV2Out";
342
342
  if (d) {
343
- const M = ((b = e.details) == null ? void 0 : b.translateY) || 0;
343
+ const w = ((b = e.details) == null ? void 0 : b.translateY) || 0;
344
344
  c.push({
345
345
  property: "moveTranslateY",
346
- from: M,
346
+ from: w,
347
347
  to: 0,
348
348
  durationInFrames: e.durationInFrames,
349
349
  ease: kt(e),
@@ -352,10 +352,10 @@ const wn = /* @__PURE__ */ new Set([
352
352
  });
353
353
  }
354
354
  if (u) {
355
- const M = ((x = e.details) == null ? void 0 : x.translateX) || 0;
355
+ const w = ((x = e.details) == null ? void 0 : x.translateX) || 0;
356
356
  c.push({
357
357
  property: "translateX",
358
- from: M,
358
+ from: w,
359
359
  to: 0,
360
360
  durationInFrames: e.durationInFrames,
361
361
  ease: kt(e),
@@ -372,17 +372,17 @@ const wn = /* @__PURE__ */ new Set([
372
372
  delay: e.delay,
373
373
  persist: e.persist
374
374
  }), e.property === "spinIn" || e.property === "spinOut" || e.property === "spin" || e.property === "twistIn" || e.property === "twistOut" || !!(e.id && e.id.includes("spin"))) {
375
- const M = ((g = e.details) == null ? void 0 : g.scale) !== !1, S = e.property === "twistIn" || e.property === "twistOut";
376
- M && c.push({
375
+ const w = ((g = e.details) == null ? void 0 : g.scale) !== !1, M = e.property === "twistIn" || e.property === "twistOut";
376
+ w && c.push({
377
377
  id: `${e.id}-scale`,
378
378
  property: "scale",
379
- from: S ? 1.5 : 0,
379
+ from: M ? 1.5 : 0,
380
380
  to: 1,
381
381
  durationInFrames: e.durationInFrames,
382
382
  ease: kt(e),
383
383
  delay: e.delay,
384
384
  persist: e.persist
385
- }), ((w = e.details) == null ? void 0 : w.fade) !== !1 && c.push({
385
+ }), ((S = e.details) == null ? void 0 : S.fade) !== !1 && c.push({
386
386
  id: `${e.id}-opacity`,
387
387
  property: "opacity",
388
388
  from: 0,
@@ -394,7 +394,7 @@ const wn = /* @__PURE__ */ new Set([
394
394
  });
395
395
  }
396
396
  })), t != null && t.out && (i = [], t.out.composition.forEach((e) => {
397
- var v, b, x, g, w;
397
+ var v, b, x, g, S;
398
398
  i.push({
399
399
  id: e.id,
400
400
  property: e.property,
@@ -416,11 +416,11 @@ const wn = /* @__PURE__ */ new Set([
416
416
  });
417
417
  const d = e.property === "spinIn" || e.property === "spinOut" || e.property === "spin" || e.property === "twistIn" || e.property === "twistOut" || !!(e.id && e.id.includes("spin")), u = e.property === "moveScaleIn" || e.property === "moveScaleOut", l = e.property === "blurSlideV2In" || e.property === "blurSlideV2Out";
418
418
  if (u) {
419
- const M = ((b = e.details) == null ? void 0 : b.translateY) || 0;
419
+ const w = ((b = e.details) == null ? void 0 : b.translateY) || 0;
420
420
  i.push({
421
421
  property: "moveTranslateY",
422
422
  from: 0,
423
- to: -M,
423
+ to: -w,
424
424
  durationInFrames: e.durationInFrames,
425
425
  ease: kt(e),
426
426
  delay: e.delay,
@@ -428,11 +428,11 @@ const wn = /* @__PURE__ */ new Set([
428
428
  });
429
429
  }
430
430
  if (l) {
431
- const M = ((x = e.details) == null ? void 0 : x.translateX) || 0;
431
+ const w = ((x = e.details) == null ? void 0 : x.translateX) || 0;
432
432
  i.push({
433
433
  property: "translateX",
434
434
  from: 0,
435
- to: -M,
435
+ to: -w,
436
436
  durationInFrames: e.durationInFrames,
437
437
  ease: kt(e),
438
438
  delay: e.delay,
@@ -440,17 +440,17 @@ const wn = /* @__PURE__ */ new Set([
440
440
  });
441
441
  }
442
442
  if (d) {
443
- const M = ((g = e.details) == null ? void 0 : g.scale) !== !1, S = e.property === "twistIn" || e.property === "twistOut";
444
- M && i.push({
443
+ const w = ((g = e.details) == null ? void 0 : g.scale) !== !1, M = e.property === "twistIn" || e.property === "twistOut";
444
+ w && i.push({
445
445
  id: `${e.id}-scale`,
446
446
  property: "scale",
447
447
  from: 1,
448
- to: S ? 1.5 : 0,
448
+ to: M ? 1.5 : 0,
449
449
  durationInFrames: e.durationInFrames,
450
450
  ease: kt(e),
451
451
  delay: e.delay,
452
452
  persist: e.persist
453
- }), ((w = e.details) == null ? void 0 : w.fade) !== !1 && i.push({
453
+ }), ((S = e.details) == null ? void 0 : S.fade) !== !1 && i.push({
454
454
  id: `${e.id}-opacity`,
455
455
  property: "opacity",
456
456
  from: 1,
@@ -594,36 +594,45 @@ const wn = /* @__PURE__ */ new Set([
594
594
  textDecoration: e,
595
595
  fontStyle: p,
596
596
  fontFamily: d,
597
- textShadow: u
597
+ fontSize: u,
598
+ fontWeight: l,
599
+ letterSpacing: v,
600
+ textShadow: b
598
601
  }) => {
599
- const { start: l, end: v } = t, b = (l + r) / 1e3 * h, x = (v + r) / 1e3 * h, g = n >= b && n < x, w = n >= b, M = g ? o : w ? a : c, S = Xn.includes(i) && g ? 1.2 : 1, k = t.word.length, $ = x - b;
602
+ const { start: x, end: g } = t, S = (x + r) / 1e3 * h, w = (g + r) / 1e3 * h, M = n >= S && n < w, k = n >= S, $ = M ? o : k ? a : c, m = Xn.includes(i) && M ? 1.2 : 1, I = t.word.length, N = w - S;
600
603
  return /* @__PURE__ */ f(
601
604
  Rn,
602
605
  {
603
- isActive: g,
606
+ isActive: M,
604
607
  activeFillColor: s,
605
- scale: S,
608
+ scale: m,
606
609
  animation: i,
607
610
  textDecoration: e,
608
611
  style: {
609
612
  fontStyle: p || "normal",
610
- fontFamily: d || "inherit"
613
+ fontFamily: d || "inherit",
614
+ fontSize: u || "inherit",
615
+ fontWeight: l || "inherit",
616
+ letterSpacing: v || "inherit"
611
617
  },
612
618
  children: /* @__PURE__ */ f(
613
619
  Fn,
614
620
  {
615
- wordColor: M,
621
+ wordColor: $,
616
622
  style: {
617
623
  fontStyle: p || "normal",
618
624
  fontFamily: d || "inherit",
619
- textShadow: u || void 0
625
+ fontSize: u || "inherit",
626
+ fontWeight: l || "inherit",
627
+ letterSpacing: v || "inherit",
628
+ textShadow: b || void 0
620
629
  },
621
- children: t.word.split("").map((m, I) => {
622
- const N = $ / k, R = b + I * N, O = R + N;
623
- let P = 1, Y = !0;
624
- return Yn.includes(i) && (Y = n >= R), i === "letterTracy" && (P = C(
630
+ children: t.word.split("").map((R, O) => {
631
+ const P = N / I, Y = S + O * P, W = Y + P;
632
+ let F = 1, V = !0;
633
+ return Yn.includes(i) && (V = n >= Y), i === "letterTracy" && (F = C(
625
634
  n,
626
- [R, O],
635
+ [Y, W],
627
636
  [0, 1],
628
637
  {
629
638
  extrapolateLeft: "clamp",
@@ -633,17 +642,17 @@ const wn = /* @__PURE__ */ new Set([
633
642
  "span",
634
643
  {
635
644
  style: {
636
- opacity: P,
637
- visibility: Y ? "visible" : "hidden",
645
+ opacity: F,
646
+ visibility: V ? "visible" : "hidden",
638
647
  display: "inline",
639
648
  textDecoration: "inherit",
640
649
  color: "inherit",
641
650
  fontStyle: "inherit",
642
651
  fontFamily: "inherit"
643
652
  },
644
- children: m
653
+ children: R
645
654
  },
646
- I
655
+ O
647
656
  );
648
657
  })
649
658
  }
@@ -690,25 +699,31 @@ function mo({
690
699
  ...x.scale !== void 0 && {
691
700
  transform: `scale(${x.scale})`
692
701
  }
693
- }, w = (s || 0) - t.display.from * o / 1e3, { boxShadow: M, ...S } = Gt(a), { color: k, textShadow: $, ...m } = rr(a);
702
+ }, S = (s || 0) - t.display.from * o / 1e3, { boxShadow: w, ...M } = zt(a), { color: k, textShadow: $, ...m } = rr(a), I = {
703
+ ...M,
704
+ top: 0,
705
+ left: 0,
706
+ width: "100%",
707
+ height: "100%"
708
+ };
694
709
  return xt({
695
710
  item: t,
696
711
  options: r,
697
712
  children: /* @__PURE__ */ f(
698
713
  Ht,
699
714
  {
700
- style: S,
715
+ style: I,
701
716
  animationIn: n,
702
717
  animationOut: h,
703
- frame: w,
718
+ frame: S,
704
719
  durationInFrames: d,
705
720
  children: /* @__PURE__ */ f(
706
721
  Ut,
707
722
  {
708
723
  animationTimed: e,
709
724
  durationInFrames: d,
710
- frame: w,
711
- style: S,
725
+ frame: S,
726
+ style: I,
712
727
  children: /* @__PURE__ */ f(
713
728
  "div",
714
729
  {
@@ -716,25 +731,34 @@ function mo({
716
731
  style: {
717
732
  ...m,
718
733
  ...g,
734
+ width: "100%",
735
+ height: "100%",
736
+ top: 0,
737
+ left: 0,
719
738
  display: "block",
720
739
  textAlign: a.textAlign || "center",
721
740
  boxShadow: "none",
722
741
  textShadow: $ || "none",
723
742
  transition: "transform 0.2s ease"
724
743
  },
725
- children: u.map((I, N) => {
726
- var U;
727
- const R = a.animation === "letterEditorial", O = a.animation === "letterGaramondGlow", P = N === u.length - 1, W = (typeof a.captionGroupIndex == "number" ? a.captionGroupIndex : Math.floor((((U = t.display) == null ? void 0 : U.from) || 0) / 1e3)) % 2 === 0;
728
- let F = a.color, V = a.appearedColor || a.color, X = a.activeColor || a.color, E = a.fontStyle || "normal", _ = R ? "Georgia, serif" : void 0, z;
729
- if (R)
744
+ children: u.map((N, R) => {
745
+ var H;
746
+ const O = a.animation === "letterEditorial";
747
+ a.animation;
748
+ const P = R === u.length - 1, W = (typeof a.captionGroupIndex == "number" ? a.captionGroupIndex : Math.floor((((H = t.display) == null ? void 0 : H.from) || 0) / 1e3)) % 2 === 0;
749
+ let F = a.color, V = a.appearedColor || a.color, X = a.activeColor || a.color, E = a.fontStyle || "normal", _ = O ? "Georgia, serif" : void 0, j, U, Z, K;
750
+ if (O)
730
751
  if (W) {
731
- const L = P ? "#e9ef36" : "#ffffff";
732
- F = L, V = L, X = L, E = P ? "italic" : "normal";
752
+ const A = P ? "#e9ef36" : "#ffffff";
753
+ F = A, V = A, X = A, E = P ? "italic" : "normal";
733
754
  } else {
734
- const L = P ? "#ffffff" : "#e9ef36";
735
- F = L, V = L, X = L, E = P ? "normal" : "italic";
755
+ const A = P ? "#ffffff" : "#e9ef36";
756
+ F = A, V = A, X = A, E = P ? "normal" : "italic";
736
757
  }
737
- else O && (_ = "'EB Garamond', Garamond, serif", N % 5 === 0 ? (E = "italic", F = "#ffffff", V = "#ffffff", X = "#ffffff", z = "0 0 8px rgba(255, 255, 255, 0.9), 0 0 16px rgba(255, 255, 255, 0.7), 0 0 24px rgba(255, 255, 255, 0.5)") : (E = "normal", F = "#ffffff", V = "#ffffff", X = "#ffffff", z = "2px 2px 4px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.6)"));
758
+ else if (a.animation === "letterSilverEditorial") {
759
+ const A = P || u.length > 2 && R === 1, G = "linear-gradient(180deg, #ffffff 0%, #ffffff 32%, #85909f 54%, #b8c4d2 74%, #ffffff 100%)";
760
+ A ? (_ = "'Arial Black', Impact, 'Montserrat', 'Helvetica Neue', sans-serif", E = "italic", Z = 900, U = "1.3em", K = "-0.05em", F = G, V = G, X = G, j = "0 3px 10px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9)") : (_ = "'Helvetica Neue', Helvetica, Arial, Inter, sans-serif", E = "normal", Z = 300, U = "1em", K = "-0.03em", F = "#ffffff", V = "#ffffff", X = "#ffffff", j = "0 2px 6px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.85)");
761
+ }
738
762
  return /* @__PURE__ */ f(
739
763
  Bn,
740
764
  {
@@ -744,15 +768,18 @@ function mo({
744
768
  activeFillColor: a.activeFillColor || "transparent",
745
769
  offsetFrom: v,
746
770
  animation: a.animation || "",
747
- word: I,
771
+ word: N,
748
772
  currentFrame: r.frame || 0,
749
773
  fps: o,
750
774
  textDecoration: a.textDecoration,
751
775
  fontStyle: E,
752
776
  fontFamily: _,
753
- textShadow: z
777
+ fontSize: U,
778
+ fontWeight: Z,
779
+ letterSpacing: K,
780
+ textShadow: j
754
781
  },
755
- N
782
+ R
756
783
  );
757
784
  })
758
785
  }
@@ -777,7 +804,7 @@ const go = ({
777
804
  ), { durationInFrames: e } = wt(t.display, o), p = (s || 0) - t.display.from * o / 1e3, d = /* @__PURE__ */ f(
778
805
  Ht,
779
806
  {
780
- style: Gt(a),
807
+ style: zt(a),
781
808
  animationIn: i,
782
809
  animationOut: n,
783
810
  frame: p,
@@ -856,7 +883,7 @@ const xo = ({
856
883
  marqueeDetails: l,
857
884
  effects: v
858
885
  }) => {
859
- const b = Rt(), x = typeof o == "number" && !isNaN(o) ? o : b, g = Math.max(0, x - (s || 0)), w = Math.min(1, Math.max(0, g / (a || 1))), M = n || 300, S = h || 300, k = (l == null ? void 0 : l.direction) || "horizontal", $ = k === "static", m = Math.min(15, Math.max(1, Number((l == null ? void 0 : l.repeatX) ?? 5))), I = Math.min(15, Math.max(1, Number((l == null ? void 0 : l.repeatY) ?? 5))), N = (l == null ? void 0 : l.baseSpeed) !== void 0 ? Number(l.baseSpeed) : 2, R = (l == null ? void 0 : l.speedVariation) !== void 0 ? Number(l.speedVariation) : 0.5, O = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialBaseSpeed) !== void 0 ? Number(l.initialBaseSpeed) : N, P = l != null && l.hasInitialValue ? O + (N - O) * w : N, Y = $ ? 0 : P * 400, W = $ ? 0 : P * 400, F = (l == null ? void 0 : l.scaleFactor) !== void 0 ? Number(l.scaleFactor) : 1, V = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialScaleFactor) !== void 0 ? Number(l.initialScaleFactor) : F, X = l != null && l.hasInitialValue ? V + (F - V) * w : F, E = (l == null ? void 0 : l.lineOffset) !== void 0 ? Number(l.lineOffset) : 0.5, _ = (l == null ? void 0 : l.gapX) !== void 0 ? Number(l.gapX) : 60, z = (l == null ? void 0 : l.gapY) !== void 0 ? Number(l.gapY) : 60, U = _ / 100 * M, L = z / 100 * S, D = M, H = S, Z = D * X + U, j = H * X + L, ht = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0, Q = k === "vertical" || k === "up" || k === "down", T = k === "diagonal", nt = (m - 1) / 2, vt = (I - 1) / 2, ot = I, ut = m, it = Array.from({ length: ot }, (tt, st) => st - vt), gt = Array.from({ length: ut }, (tt, st) => st - nt), pt = (tt, st, et, at) => /* @__PURE__ */ f(
886
+ const b = Rt(), x = typeof o == "number" && !isNaN(o) ? o : b, g = Math.max(0, x - (s || 0)), S = Math.min(1, Math.max(0, g / (a || 1))), w = n || 300, M = h || 300, k = (l == null ? void 0 : l.direction) || "horizontal", $ = k === "static", m = Math.min(15, Math.max(1, Number((l == null ? void 0 : l.repeatX) ?? 5))), I = Math.min(15, Math.max(1, Number((l == null ? void 0 : l.repeatY) ?? 5))), N = (l == null ? void 0 : l.baseSpeed) !== void 0 ? Number(l.baseSpeed) : 2, R = (l == null ? void 0 : l.speedVariation) !== void 0 ? Number(l.speedVariation) : 0.5, O = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialBaseSpeed) !== void 0 ? Number(l.initialBaseSpeed) : N, P = l != null && l.hasInitialValue ? O + (N - O) * S : N, Y = $ ? 0 : P * 400, W = $ ? 0 : P * 400, F = (l == null ? void 0 : l.scaleFactor) !== void 0 ? Number(l.scaleFactor) : 1, V = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialScaleFactor) !== void 0 ? Number(l.initialScaleFactor) : F, X = l != null && l.hasInitialValue ? V + (F - V) * S : F, E = (l == null ? void 0 : l.lineOffset) !== void 0 ? Number(l.lineOffset) : 0.5, _ = (l == null ? void 0 : l.gapX) !== void 0 ? Number(l.gapX) : 60, j = (l == null ? void 0 : l.gapY) !== void 0 ? Number(l.gapY) : 60, U = _ / 100 * w, Z = j / 100 * M, K = w, H = M, A = K * X + U, G = H * X + Z, ht = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0, Q = k === "vertical" || k === "up" || k === "down", q = k === "diagonal", nt = (m - 1) / 2, vt = (I - 1) / 2, ot = I, ut = m, it = Array.from({ length: ot }, (tt, st) => st - vt), gt = Array.from({ length: ut }, (tt, st) => st - nt), pt = (tt, st, et, at) => /* @__PURE__ */ f(
860
887
  "div",
861
888
  {
862
889
  style: {
@@ -865,7 +892,7 @@ const xo = ({
865
892
  top: `calc(50% + ${et}px)`,
866
893
  transform: `translate(-50%, -50%) scale(${X})`,
867
894
  transformOrigin: "center center",
868
- width: `${D}px`,
895
+ width: `${K}px`,
869
896
  height: `${H}px`,
870
897
  borderRadius: e || 0,
871
898
  boxShadow: ht,
@@ -935,19 +962,19 @@ const xo = ({
935
962
  children: gt.map((tt, st) => {
936
963
  let et = st % 2 === 0 ? 1 : -1;
937
964
  k === "up" && (et = -1), k === "down" && (et = 1);
938
- const at = 1 + st % 2 * (R * 0.5), dt = W > 0 && et !== 0 ? et * (g * W * 0.1 * at) + tt * (j * E) : tt * (j * E), ft = W === 0 || et === 0 ? 0 : (dt % j + j) % j - j / 2;
965
+ const at = 1 + st % 2 * (R * 0.5), dt = W > 0 && et !== 0 ? et * (g * W * 0.1 * at) + tt * (G * E) : tt * (G * E), ft = W === 0 || et === 0 ? 0 : (dt % G + G) % G - G / 2;
939
966
  return it.map((bt, $t) => {
940
- const lt = tt * Z, A = bt * j + ft;
967
+ const lt = tt * A, L = bt * G + ft;
941
968
  return pt(
942
969
  `v-${st}-${$t}`,
943
970
  lt,
944
- A,
971
+ L,
945
972
  tt === 0 && bt === 0
946
973
  );
947
974
  });
948
975
  })
949
976
  }
950
- ) : T ? /* @__PURE__ */ f(
977
+ ) : q ? /* @__PURE__ */ f(
951
978
  "div",
952
979
  {
953
980
  style: {
@@ -958,14 +985,14 @@ const xo = ({
958
985
  borderRadius: e || 0
959
986
  },
960
987
  children: it.map((tt, st) => {
961
- const et = st % 2 === 0 ? 1 : -1, at = st % 2 === 0 ? 1 : -1, dt = 1 + st % 2 * (R * 0.5), ft = Y > 0 ? et * (g * Y * 0.1 * dt) + tt * (Z * E) : tt * (Z * E), bt = Y === 0 ? 0 : (ft % Z + Z) % Z - Z / 2, $t = W > 0 ? at * (g * W * 0.1 * dt) + tt * (j * E) : tt * (j * E), lt = W === 0 ? 0 : ($t % j + j) % j - j / 2;
962
- return gt.map((A, Yt) => {
963
- const Xt = A * Z + bt, Bt = tt * j + lt;
988
+ const et = st % 2 === 0 ? 1 : -1, at = st % 2 === 0 ? 1 : -1, dt = 1 + st % 2 * (R * 0.5), ft = Y > 0 ? et * (g * Y * 0.1 * dt) + tt * (A * E) : tt * (A * E), bt = Y === 0 ? 0 : (ft % A + A) % A - A / 2, $t = W > 0 ? at * (g * W * 0.1 * dt) + tt * (G * E) : tt * (G * E), lt = W === 0 ? 0 : ($t % G + G) % G - G / 2;
989
+ return gt.map((L, Yt) => {
990
+ const Xt = L * A + bt, Bt = tt * G + lt;
964
991
  return pt(
965
992
  `d-${st}-${Yt}`,
966
993
  Xt,
967
994
  Bt,
968
- A === 0 && tt === 0
995
+ L === 0 && tt === 0
969
996
  );
970
997
  });
971
998
  })
@@ -983,13 +1010,13 @@ const xo = ({
983
1010
  children: it.map((tt, st) => {
984
1011
  let et = st % 2 === 0 ? 1 : -1;
985
1012
  k === "left" && (et = -1), k === "right" && (et = 1);
986
- const at = 1 + st % 2 * (R * 0.5), dt = Y > 0 && et !== 0 ? et * (g * Y * 0.1 * at) + tt * (Z * E) : tt * (Z * E), ft = Y === 0 || et === 0 ? 0 : (dt % Z + Z) % Z - Z / 2;
1013
+ const at = 1 + st % 2 * (R * 0.5), dt = Y > 0 && et !== 0 ? et * (g * Y * 0.1 * at) + tt * (A * E) : tt * (A * E), ft = Y === 0 || et === 0 ? 0 : (dt % A + A) % A - A / 2;
987
1014
  return gt.map((bt, $t) => {
988
- const lt = bt * Z + ft, A = tt * j;
1015
+ const lt = bt * A + ft, L = tt * G;
989
1016
  return pt(
990
1017
  `h-${st}-${$t}`,
991
1018
  lt,
992
- A,
1019
+ L,
993
1020
  bt === 0 && tt === 0
994
1021
  );
995
1022
  });
@@ -1013,10 +1040,10 @@ const xo = ({
1013
1040
  echoesDetails: l,
1014
1041
  effects: v
1015
1042
  }) => {
1016
- const b = Rt(), x = typeof o == "number" && !isNaN(o) ? o : b, g = n || 300, w = h || 300, M = (l == null ? void 0 : l.keepStill) || "both", S = Number((l == null ? void 0 : l.toRepeatCount) ?? 5), k = Number((l == null ? void 0 : l.toScaleDown) ?? 0.3), $ = Number((l == null ? void 0 : l.toCenterX) ?? 0.5), m = Number((l == null ? void 0 : l.toCenterY) ?? 0.5), I = (l == null ? void 0 : l.initialRepeatCount) !== void 0 ? Number(l.initialRepeatCount) : S, N = (l == null ? void 0 : l.initialScaleDown) !== void 0 ? Number(l.initialScaleDown) : 1, R = (l == null ? void 0 : l.initialCenterX) !== void 0 ? Number(l.initialCenterX) : $, O = (l == null ? void 0 : l.initialCenterY) !== void 0 ? Number(l.initialCenterY) : m, P = Math.max(0, x - (s || 0)), Y = Math.min(1, Math.max(0, P / (a || 1)));
1043
+ const b = Rt(), x = typeof o == "number" && !isNaN(o) ? o : b, g = n || 300, S = h || 300, w = (l == null ? void 0 : l.keepStill) || "both", M = Number((l == null ? void 0 : l.toRepeatCount) ?? 5), k = Number((l == null ? void 0 : l.toScaleDown) ?? 0.3), $ = Number((l == null ? void 0 : l.toCenterX) ?? 0.5), m = Number((l == null ? void 0 : l.toCenterY) ?? 0.5), I = (l == null ? void 0 : l.initialRepeatCount) !== void 0 ? Number(l.initialRepeatCount) : M, N = (l == null ? void 0 : l.initialScaleDown) !== void 0 ? Number(l.initialScaleDown) : 1, R = (l == null ? void 0 : l.initialCenterX) !== void 0 ? Number(l.initialCenterX) : $, O = (l == null ? void 0 : l.initialCenterY) !== void 0 ? Number(l.initialCenterY) : m, P = Math.max(0, x - (s || 0)), Y = Math.min(1, Math.max(0, P / (a || 1)));
1017
1044
  let F = c + (i - c) * Y;
1018
- M === "initial" ? F = 0 : M === "final" && (F = 1);
1019
- const V = Math.max(1, Math.round(C(F, [0, 1], [I, S]))), X = C(F, [0, 1], [N, k]), E = C(F, [0, 1], [R, $]), _ = C(F, [0, 1], [O, m]), z = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0, U = Array.from({ length: V }, (L, D) => D);
1045
+ w === "initial" ? F = 0 : w === "final" && (F = 1);
1046
+ const V = Math.max(1, Math.round(C(F, [0, 1], [I, M]))), X = C(F, [0, 1], [N, k]), E = C(F, [0, 1], [R, $]), _ = C(F, [0, 1], [O, m]), j = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0, U = Array.from({ length: V }, (Z, K) => K);
1020
1047
  return /* @__PURE__ */ f(
1021
1048
  "div",
1022
1049
  {
@@ -1027,8 +1054,8 @@ const xo = ({
1027
1054
  overflow: "hidden",
1028
1055
  borderRadius: e || 0
1029
1056
  },
1030
- children: U.map((L) => {
1031
- const D = V > 1 ? L / (V - 1) : 0, H = 1 - D * (1 - Math.max(0.01, X)), Z = (E - 0.5) * g * D, j = (_ - 0.5) * w * D;
1057
+ children: U.map((Z) => {
1058
+ const K = V > 1 ? Z / (V - 1) : 0, H = 1 - K * (1 - Math.max(0.01, X)), A = (E - 0.5) * g * K, G = (_ - 0.5) * S * K;
1032
1059
  return /* @__PURE__ */ f(
1033
1060
  "div",
1034
1061
  {
@@ -1037,12 +1064,12 @@ const xo = ({
1037
1064
  left: "50%",
1038
1065
  top: "50%",
1039
1066
  width: `${g}px`,
1040
- height: `${w}px`,
1041
- transform: `translate(-50%, -50%) translate(${Z}px, ${j}px) scale(${H})`,
1067
+ height: `${S}px`,
1068
+ transform: `translate(-50%, -50%) translate(${A}px, ${G}px) scale(${H})`,
1042
1069
  transformOrigin: "center center",
1043
1070
  borderRadius: e || 0,
1044
- boxShadow: z,
1045
- zIndex: L + 1
1071
+ boxShadow: j,
1072
+ zIndex: Z + 1
1046
1073
  },
1047
1074
  children: /* @__PURE__ */ mt(
1048
1075
  "div",
@@ -1093,7 +1120,7 @@ const xo = ({
1093
1120
  }
1094
1121
  )
1095
1122
  },
1096
- `echo-${L}`
1123
+ `echo-${Z}`
1097
1124
  );
1098
1125
  })
1099
1126
  }
@@ -1115,7 +1142,7 @@ const xo = ({
1115
1142
  wiggleDetails: l,
1116
1143
  effects: v
1117
1144
  }) => {
1118
- const b = Rt(), x = typeof o == "number" && !isNaN(o) ? o : b, g = n || 300, w = h || 300, M = Number((l == null ? void 0 : l.wiggleX) ?? 20), S = Number((l == null ? void 0 : l.wiggleY) ?? 20), k = Number((l == null ? void 0 : l.speed) ?? 3), $ = Number((l == null ? void 0 : l.angle) ?? 10), m = Number((l == null ? void 0 : l.seed) ?? 1), I = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialWiggleX) !== void 0 ? Number(l.initialWiggleX) : M, N = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialWiggleY) !== void 0 ? Number(l.initialWiggleY) : S, R = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialSpeed) !== void 0 ? Number(l.initialSpeed) : k, O = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialAngle) !== void 0 ? Number(l.initialAngle) : $, P = Math.max(0, x - (s || 0)), Y = Math.min(1, Math.max(0, P / (a || 1))), W = l != null && l.hasInitialValue ? I + (M - I) * Y : M, F = l != null && l.hasInitialValue ? N + (S - N) * Y : S, V = l != null && l.hasInitialValue ? R + (k - R) * Y : k, X = l != null && l.hasInitialValue ? O + ($ - O) * Y : $, E = x * (V * 0.08), _ = m * 12.345, z = Math.sin(E + _) * Math.cos(E * 0.65 + _) * W, U = Math.cos(E * 0.85 + _) * Math.sin(E * 1.15 + _) * F, L = Math.sin(E * 0.9 + _ * 1.35) * X, D = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0;
1145
+ const b = Rt(), x = typeof o == "number" && !isNaN(o) ? o : b, g = n || 300, S = h || 300, w = Number((l == null ? void 0 : l.wiggleX) ?? 20), M = Number((l == null ? void 0 : l.wiggleY) ?? 20), k = Number((l == null ? void 0 : l.speed) ?? 3), $ = Number((l == null ? void 0 : l.angle) ?? 10), m = Number((l == null ? void 0 : l.seed) ?? 1), I = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialWiggleX) !== void 0 ? Number(l.initialWiggleX) : w, N = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialWiggleY) !== void 0 ? Number(l.initialWiggleY) : M, R = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialSpeed) !== void 0 ? Number(l.initialSpeed) : k, O = l != null && l.hasInitialValue && (l == null ? void 0 : l.initialAngle) !== void 0 ? Number(l.initialAngle) : $, P = Math.max(0, x - (s || 0)), Y = Math.min(1, Math.max(0, P / (a || 1))), W = l != null && l.hasInitialValue ? I + (w - I) * Y : w, F = l != null && l.hasInitialValue ? N + (M - N) * Y : M, V = l != null && l.hasInitialValue ? R + (k - R) * Y : k, X = l != null && l.hasInitialValue ? O + ($ - O) * Y : $, E = x * (V * 0.08), _ = m * 12.345, j = Math.sin(E + _) * Math.cos(E * 0.65 + _) * W, U = Math.cos(E * 0.85 + _) * Math.sin(E * 1.15 + _) * F, Z = Math.sin(E * 0.9 + _ * 1.35) * X, K = u ? typeof u == "string" ? u : `${u.x ?? 0}px ${u.y ?? 0}px ${u.blur ?? 0}px ${u.color ?? ""}` : void 0;
1119
1146
  return /* @__PURE__ */ f(
1120
1147
  "div",
1121
1148
  {
@@ -1130,14 +1157,14 @@ const xo = ({
1130
1157
  {
1131
1158
  style: {
1132
1159
  width: `${g}px`,
1133
- height: `${w}px`,
1160
+ height: `${S}px`,
1134
1161
  position: "absolute",
1135
1162
  left: "50%",
1136
1163
  top: "50%",
1137
- transform: `translate(-50%, -50%) translate(${z}px, ${U}px) rotate(${L}deg)`,
1164
+ transform: `translate(-50%, -50%) translate(${j}px, ${U}px) rotate(${Z}deg)`,
1138
1165
  transformOrigin: "center center",
1139
1166
  borderRadius: e || 0,
1140
- boxShadow: D,
1167
+ boxShadow: K,
1141
1168
  overflow: "hidden"
1142
1169
  },
1143
1170
  children: [
@@ -1194,13 +1221,13 @@ const xo = ({
1194
1221
  children: p,
1195
1222
  style: d = {}
1196
1223
  }) => {
1197
- const u = Rt(), l = typeof t == "number" && !isNaN(t) ? t : u, v = c || 300, b = i || 300, x = (e == null ? void 0 : e.keepStill) || "both", g = Number((e == null ? void 0 : e.toRotationX) ?? 0), w = Number((e == null ? void 0 : e.toRotationY) ?? 360), M = Number((e == null ? void 0 : e.toRotationZ) ?? 0), S = Number((e == null ? void 0 : e.toPivotX) ?? 0), k = Number((e == null ? void 0 : e.toPivotY) ?? 0), $ = Number((e == null ? void 0 : e.toPerspective) ?? 0.45), m = !!(e != null && e.hasInitialValue), I = m ? Number((e == null ? void 0 : e.initialRotationX) ?? 0) : 0, N = m ? Number((e == null ? void 0 : e.initialRotationY) ?? 0) : 0, R = m ? Number((e == null ? void 0 : e.initialRotationZ) ?? 0) : 0, O = m ? Number((e == null ? void 0 : e.initialPivotX) ?? 0) : S, P = m ? Number((e == null ? void 0 : e.initialPivotY) ?? 0) : k, Y = m ? Number((e == null ? void 0 : e.initialPerspective) ?? 0.45) : $, W = (e == null ? void 0 : e.frontFace) ?? !0, F = (e == null ? void 0 : e.backFace) ?? !0, V = Math.max(0, l - (r || 0)), X = Math.min(1, Math.max(0, V / (o || 1)));
1224
+ const u = Rt(), l = typeof t == "number" && !isNaN(t) ? t : u, v = c || 300, b = i || 300, x = (e == null ? void 0 : e.keepStill) || "both", g = Number((e == null ? void 0 : e.toRotationX) ?? 0), S = Number((e == null ? void 0 : e.toRotationY) ?? 360), w = Number((e == null ? void 0 : e.toRotationZ) ?? 0), M = Number((e == null ? void 0 : e.toPivotX) ?? 0), k = Number((e == null ? void 0 : e.toPivotY) ?? 0), $ = Number((e == null ? void 0 : e.toPerspective) ?? 0.45), m = !!(e != null && e.hasInitialValue), I = m ? Number((e == null ? void 0 : e.initialRotationX) ?? 0) : 0, N = m ? Number((e == null ? void 0 : e.initialRotationY) ?? 0) : 0, R = m ? Number((e == null ? void 0 : e.initialRotationZ) ?? 0) : 0, O = m ? Number((e == null ? void 0 : e.initialPivotX) ?? 0) : M, P = m ? Number((e == null ? void 0 : e.initialPivotY) ?? 0) : k, Y = m ? Number((e == null ? void 0 : e.initialPerspective) ?? 0.45) : $, W = (e == null ? void 0 : e.frontFace) ?? !0, F = (e == null ? void 0 : e.backFace) ?? !0, V = Math.max(0, l - (r || 0)), X = Math.min(1, Math.max(0, V / (o || 1)));
1198
1225
  let _ = s + (a - s) * X;
1199
1226
  x === "initial" ? _ = 0 : x === "final" && (_ = 1);
1200
- const z = C(_, [0, 1], [I, g]), U = C(_, [0, 1], [N, w]), L = C(_, [0, 1], [R, M]), D = C(_, [0, 1], [O, S]), H = C(_, [0, 1], [P, k]), Z = C(_, [0, 1], [Y, $]), j = Math.max(v, b), ht = Math.max(
1227
+ const j = C(_, [0, 1], [I, g]), U = C(_, [0, 1], [N, S]), Z = C(_, [0, 1], [R, w]), K = C(_, [0, 1], [O, M]), H = C(_, [0, 1], [P, k]), A = C(_, [0, 1], [Y, $]), G = Math.max(v, b), ht = Math.max(
1201
1228
  1200,
1202
- Math.round(j * 2.5 / Math.max(0.05, Z))
1203
- ), Q = z * Math.PI / 180, T = U * Math.PI / 180, nt = Math.cos(Q) * Math.cos(T), vt = nt >= 0, ot = nt < 0;
1229
+ Math.round(G * 2.5 / Math.max(0.05, A))
1230
+ ), Q = j * Math.PI / 180, q = U * Math.PI / 180, nt = Math.cos(Q) * Math.cos(q), vt = nt >= 0, ot = nt < 0;
1204
1231
  let ut = !0;
1205
1232
  vt && !W && (ut = !1), ot && !F && (ut = !1);
1206
1233
  const it = h ? typeof h == "string" ? h : `${h.x ?? 0}px ${h.y ?? 0}px ${h.blur ?? 0}px ${h.color ?? ""}` : void 0;
@@ -1221,8 +1248,8 @@ const xo = ({
1221
1248
  style: {
1222
1249
  width: "100%",
1223
1250
  height: "100%",
1224
- transformOrigin: `${50 + D}% ${50 + H}%`,
1225
- transform: `rotateX(${z}deg) rotateY(${U}deg) rotateZ(${L}deg)`,
1251
+ transformOrigin: `${50 + K}% ${50 + H}%`,
1252
+ transform: `rotateX(${j}deg) rotateY(${U}deg) rotateZ(${Z}deg)`,
1226
1253
  backfaceVisibility: F ? "visible" : "hidden",
1227
1254
  visibility: ut ? "visible" : "hidden",
1228
1255
  borderRadius: n || 0,
@@ -1251,11 +1278,11 @@ const xo = ({
1251
1278
  activeEffects: l,
1252
1279
  effects: v
1253
1280
  }) => {
1254
- const b = l == null ? void 0 : l.find((M) => M.type === "vignette"), x = (b == null ? void 0 : b.amount) ?? (b == null ? void 0 : b.intensity) ?? (b ? 0.7 : 0), g = [];
1255
- l == null || l.forEach((M) => {
1256
- M.type === "blur" && M.radius && g.push(`blur(${M.radius}px)`), M.type === "grayscale" && M.amount !== void 0 && g.push(`grayscale(${M.amount * 100}%)`), M.type === "contrast" && M.amount !== void 0 && g.push(`contrast(${M.amount * 100}%)`), M.type === "brightness" && M.amount !== void 0 && g.push(`brightness(${100 + M.amount * 100}%)`), M.type === "hue" && M.rotation !== void 0 && g.push(`hue-rotate(${M.rotation}deg)`), M.type === "saturation" && M.amount !== void 0 && g.push(`saturate(${M.amount * 100}%)`);
1281
+ const b = l == null ? void 0 : l.find((w) => w.type === "vignette"), x = (b == null ? void 0 : b.amount) ?? (b == null ? void 0 : b.intensity) ?? (b ? 0.7 : 0), g = [];
1282
+ l == null || l.forEach((w) => {
1283
+ w.type === "blur" && w.radius && g.push(`blur(${w.radius}px)`), w.type === "grayscale" && w.amount !== void 0 && g.push(`grayscale(${w.amount * 100}%)`), w.type === "contrast" && w.amount !== void 0 && g.push(`contrast(${w.amount * 100}%)`), w.type === "brightness" && w.amount !== void 0 && g.push(`brightness(${100 + w.amount * 100}%)`), w.type === "hue" && w.rotation !== void 0 && g.push(`hue-rotate(${w.rotation}deg)`), w.type === "saturation" && w.amount !== void 0 && g.push(`saturate(${w.amount * 100}%)`);
1257
1284
  });
1258
- const w = g.length > 0 ? g.join(" ") : void 0;
1285
+ const S = g.length > 0 ? g.join(" ") : void 0;
1259
1286
  return /* @__PURE__ */ f(
1260
1287
  Cr,
1261
1288
  {
@@ -1289,7 +1316,7 @@ const xo = ({
1289
1316
  height: "100%",
1290
1317
  objectFit: "cover",
1291
1318
  borderRadius: h || 0,
1292
- filter: w
1319
+ filter: S
1293
1320
  },
1294
1321
  effects: v
1295
1322
  }
@@ -1359,18 +1386,18 @@ function Mo(t, r, o, s = 0) {
1359
1386
  i[ot] = a[ot & 255], n[ot] = i[ot] % 12;
1360
1387
  const h = 1 / 3, e = 1 / 6;
1361
1388
  let p = 0, d = 0, u = 0, l = 0;
1362
- const v = (t + r + o) * h, b = Math.floor(t + v), x = Math.floor(r + v), g = Math.floor(o + v), w = (b + x + g) * e, M = b - w, S = x - w, k = g - w, $ = t - M, m = r - S, I = o - k;
1389
+ const v = (t + r + o) * h, b = Math.floor(t + v), x = Math.floor(r + v), g = Math.floor(o + v), S = (b + x + g) * e, w = b - S, M = x - S, k = g - S, $ = t - w, m = r - M, I = o - k;
1363
1390
  let N = 0, R = 0, O = 0, P = 0, Y = 0, W = 0;
1364
1391
  $ >= m ? m >= I ? (N = 1, R = 0, O = 0, P = 1, Y = 1, W = 0) : $ >= I ? (N = 1, R = 0, O = 0, P = 1, Y = 0, W = 1) : (N = 0, R = 0, O = 1, P = 1, Y = 0, W = 1) : m < I ? (N = 0, R = 0, O = 1, P = 0, Y = 1, W = 1) : $ < I ? (N = 0, R = 1, O = 0, P = 0, Y = 1, W = 1) : (N = 0, R = 1, O = 0, P = 1, Y = 1, W = 0);
1365
- const F = $ - N + e, V = m - R + e, X = I - O + e, E = $ - P + 2 * e, _ = m - Y + 2 * e, z = I - W + 2 * e, U = $ - 1 + 3 * e, L = m - 1 + 3 * e, D = I - 1 + 3 * e, H = b & 255, Z = x & 255, j = g & 255;
1392
+ const F = $ - N + e, V = m - R + e, X = I - O + e, E = $ - P + 2 * e, _ = m - Y + 2 * e, j = I - W + 2 * e, U = $ - 1 + 3 * e, Z = m - 1 + 3 * e, K = I - 1 + 3 * e, H = b & 255, A = x & 255, G = g & 255;
1366
1393
  let ht = 0.6 - $ * $ - m * m - I * I;
1367
- ht >= 0 && (ht *= ht, p = ht * ht * lr(ur[n[H + i[Z + i[j]]]], $, m, I));
1394
+ ht >= 0 && (ht *= ht, p = ht * ht * lr(ur[n[H + i[A + i[G]]]], $, m, I));
1368
1395
  let Q = 0.6 - F * F - V * V - X * X;
1369
- Q >= 0 && (Q *= Q, d = Q * Q * lr(ur[n[H + N + i[Z + R + i[j + O]]]], F, V, X));
1370
- let T = 0.6 - E * E - _ * _ - z * z;
1371
- T >= 0 && (T *= T, u = T * T * lr(ur[n[H + P + i[Z + Y + i[j + W]]]], E, _, z));
1372
- let nt = 0.6 - U * U - L * L - D * D;
1373
- nt >= 0 && (nt *= nt, l = nt * nt * lr(ur[n[H + 1 + i[Z + 1 + i[j + 1]]]], U, L, D));
1396
+ Q >= 0 && (Q *= Q, d = Q * Q * lr(ur[n[H + N + i[A + R + i[G + O]]]], F, V, X));
1397
+ let q = 0.6 - E * E - _ * _ - j * j;
1398
+ q >= 0 && (q *= q, u = q * q * lr(ur[n[H + P + i[A + Y + i[G + W]]]], E, _, j));
1399
+ let nt = 0.6 - U * U - Z * Z - K * K;
1400
+ nt >= 0 && (nt *= nt, l = nt * nt * lr(ur[n[H + 1 + i[A + 1 + i[G + 1]]]], U, Z, K));
1374
1401
  const vt = 32 * (p + d + u + l);
1375
1402
  return Math.min(1, Math.max(0, (vt + 1) / 2));
1376
1403
  }
@@ -1389,20 +1416,20 @@ const En = ({
1389
1416
  boxShadow: d,
1390
1417
  noiseTileDetails: u
1391
1418
  }) => {
1392
- const l = Rt(), v = typeof r == "number" && !isNaN(r) ? r : l, b = i || 300, x = n || 300, g = (u == null ? void 0 : u.keepStill) || "both", w = Number((u == null ? void 0 : u.toXRepetitions) ?? (u == null ? void 0 : u.xRepetitions) ?? 5), M = Number((u == null ? void 0 : u.toYRepetitions) ?? (u == null ? void 0 : u.yRepetitions) ?? 5), S = Number((u == null ? void 0 : u.toGapX) ?? (u == null ? void 0 : u.gapX) ?? 12), k = Number((u == null ? void 0 : u.toGapY) ?? (u == null ? void 0 : u.gapY) ?? 12), $ = Number((u == null ? void 0 : u.toScale) ?? (u == null ? void 0 : u.scale) ?? 1), m = Number((u == null ? void 0 : u.toNoiseScale) ?? (u == null ? void 0 : u.noiseScale) ?? 1.5), I = Number((u == null ? void 0 : u.toNoiseMoveX) ?? (u == null ? void 0 : u.noiseMoveX) ?? 0.6), N = Number((u == null ? void 0 : u.toNoiseMoveY) ?? (u == null ? void 0 : u.noiseMoveY) ?? 0.4), R = Number((u == null ? void 0 : u.toFps) ?? (u == null ? void 0 : u.fps) ?? 12), O = Number((u == null ? void 0 : u.toThreshold) ?? (u == null ? void 0 : u.threshold) ?? 0.45), P = Number((u == null ? void 0 : u.toSeedOffset) ?? (u == null ? void 0 : u.seedOffset) ?? 0), Y = !!(u != null && u.hasInitialValue), W = Y ? Number((u == null ? void 0 : u.initialXRepetitions) ?? w) : w, F = Y ? Number((u == null ? void 0 : u.initialYRepetitions) ?? M) : M, V = Y ? Number((u == null ? void 0 : u.initialGapX) ?? S) : S, X = Y ? Number((u == null ? void 0 : u.initialGapY) ?? k) : k, E = Y ? Number((u == null ? void 0 : u.initialScale) ?? $) : $, _ = Y ? Number((u == null ? void 0 : u.initialNoiseScale) ?? m) : m, z = Y ? Number((u == null ? void 0 : u.initialNoiseMoveX) ?? I) : I, U = Y ? Number((u == null ? void 0 : u.initialNoiseMoveY) ?? N) : N, L = Y ? Number((u == null ? void 0 : u.initialFps) ?? R) : R, D = Y ? Number((u == null ? void 0 : u.initialThreshold) ?? O) : O, H = Y ? Number((u == null ? void 0 : u.initialSeedOffset) ?? P) : P, Z = Math.max(0, v - (o || 0)), j = Math.min(1, Math.max(0, Z / (s || 1)));
1393
- let Q = a + (c - a) * j;
1419
+ const l = Rt(), v = typeof r == "number" && !isNaN(r) ? r : l, b = i || 300, x = n || 300, g = (u == null ? void 0 : u.keepStill) || "both", S = Number((u == null ? void 0 : u.toXRepetitions) ?? (u == null ? void 0 : u.xRepetitions) ?? 5), w = Number((u == null ? void 0 : u.toYRepetitions) ?? (u == null ? void 0 : u.yRepetitions) ?? 5), M = Number((u == null ? void 0 : u.toGapX) ?? (u == null ? void 0 : u.gapX) ?? 12), k = Number((u == null ? void 0 : u.toGapY) ?? (u == null ? void 0 : u.gapY) ?? 12), $ = Number((u == null ? void 0 : u.toScale) ?? (u == null ? void 0 : u.scale) ?? 1), m = Number((u == null ? void 0 : u.toNoiseScale) ?? (u == null ? void 0 : u.noiseScale) ?? 1.5), I = Number((u == null ? void 0 : u.toNoiseMoveX) ?? (u == null ? void 0 : u.noiseMoveX) ?? 0.6), N = Number((u == null ? void 0 : u.toNoiseMoveY) ?? (u == null ? void 0 : u.noiseMoveY) ?? 0.4), R = Number((u == null ? void 0 : u.toFps) ?? (u == null ? void 0 : u.fps) ?? 12), O = Number((u == null ? void 0 : u.toThreshold) ?? (u == null ? void 0 : u.threshold) ?? 0.45), P = Number((u == null ? void 0 : u.toSeedOffset) ?? (u == null ? void 0 : u.seedOffset) ?? 0), Y = !!(u != null && u.hasInitialValue), W = Y ? Number((u == null ? void 0 : u.initialXRepetitions) ?? S) : S, F = Y ? Number((u == null ? void 0 : u.initialYRepetitions) ?? w) : w, V = Y ? Number((u == null ? void 0 : u.initialGapX) ?? M) : M, X = Y ? Number((u == null ? void 0 : u.initialGapY) ?? k) : k, E = Y ? Number((u == null ? void 0 : u.initialScale) ?? $) : $, _ = Y ? Number((u == null ? void 0 : u.initialNoiseScale) ?? m) : m, j = Y ? Number((u == null ? void 0 : u.initialNoiseMoveX) ?? I) : I, U = Y ? Number((u == null ? void 0 : u.initialNoiseMoveY) ?? N) : N, Z = Y ? Number((u == null ? void 0 : u.initialFps) ?? R) : R, K = Y ? Number((u == null ? void 0 : u.initialThreshold) ?? O) : O, H = Y ? Number((u == null ? void 0 : u.initialSeedOffset) ?? P) : P, A = Math.max(0, v - (o || 0)), G = Math.min(1, Math.max(0, A / (s || 1)));
1420
+ let Q = a + (c - a) * G;
1394
1421
  g === "initial" ? Q = 0 : g === "final" && (Q = 1);
1395
- const T = Math.max(1, Math.round(C(Q, [0, 1], [W, w]))), nt = Math.max(1, Math.round(C(Q, [0, 1], [F, M]))), vt = C(Q, [0, 1], [V, S]), ot = C(Q, [0, 1], [X, k]), ut = C(Q, [0, 1], [E, $]), it = C(Q, [0, 1], [_, m]), gt = C(Q, [0, 1], [z, I]), pt = C(Q, [0, 1], [U, N]), tt = Math.max(1, Math.round(C(Q, [0, 1], [L, R]))), st = C(Q, [0, 1], [D, O]), et = C(Q, [0, 1], [H, P]), at = d ? typeof d == "string" ? d : `${d.x ?? 0}px ${d.y ?? 0}px ${d.blur ?? 0}px ${d.color ?? ""}` : void 0, dt = Math.floor(Z * (tt / 30)), ft = (T - 1) / 2, bt = (nt - 1) / 2, $t = [];
1422
+ const q = Math.max(1, Math.round(C(Q, [0, 1], [W, S]))), nt = Math.max(1, Math.round(C(Q, [0, 1], [F, w]))), vt = C(Q, [0, 1], [V, M]), ot = C(Q, [0, 1], [X, k]), ut = C(Q, [0, 1], [E, $]), it = C(Q, [0, 1], [_, m]), gt = C(Q, [0, 1], [j, I]), pt = C(Q, [0, 1], [U, N]), tt = Math.max(1, Math.round(C(Q, [0, 1], [Z, R]))), st = C(Q, [0, 1], [K, O]), et = C(Q, [0, 1], [H, P]), at = d ? typeof d == "string" ? d : `${d.x ?? 0}px ${d.y ?? 0}px ${d.blur ?? 0}px ${d.color ?? ""}` : void 0, dt = Math.floor(A * (tt / 30)), ft = (q - 1) / 2, bt = (nt - 1) / 2, $t = [];
1396
1423
  for (let lt = 0; lt < nt; lt++)
1397
- for (let A = 0; A < T; A++) {
1398
- const Yt = A / Math.max(1, T) * it, Xt = lt / Math.max(1, nt) * it, Bt = dt * 0.1 + et, Et = Mo(
1424
+ for (let L = 0; L < q; L++) {
1425
+ const Yt = L / Math.max(1, q) * it, Xt = lt / Math.max(1, nt) * it, Bt = dt * 0.1 + et, Et = Mo(
1399
1426
  Yt + dt * gt * 0.05,
1400
1427
  Xt + dt * pt * 0.05,
1401
1428
  Bt,
1402
1429
  et
1403
- ), _t = A === Math.floor(ft) && lt === Math.floor(bt) || Et >= st, Wt = A - ft, Zt = lt - bt, Qt = vt / 100 * b, Kt = ot / 100 * x, Jt = Wt * (b * ut + Qt), Tt = Zt * (x * ut + Kt);
1430
+ ), _t = L === Math.floor(ft) && lt === Math.floor(bt) || Et >= st, Wt = L - ft, Zt = lt - bt, Qt = vt / 100 * b, Kt = ot / 100 * x, Jt = Wt * (b * ut + Qt), Tt = Zt * (x * ut + Kt);
1404
1431
  $t.push({
1405
- col: A,
1432
+ col: L,
1406
1433
  row: lt,
1407
1434
  visible: _t,
1408
1435
  posX: Jt,
@@ -1486,7 +1513,7 @@ const En = ({
1486
1513
  }
1487
1514
  );
1488
1515
  };
1489
- function Gr(t) {
1516
+ function zr(t) {
1490
1517
  if (!t || !Array.isArray(t) || t.length === 0)
1491
1518
  return;
1492
1519
  const r = t.map((o) => {
@@ -1508,7 +1535,7 @@ function Gr(t) {
1508
1535
  }).filter((o) => o !== null);
1509
1536
  return r.length > 0 ? r : void 0;
1510
1537
  }
1511
- function zr(t, r, o = 0, s = 0) {
1538
+ function Gr(t, r, o = 0, s = 0) {
1512
1539
  var n, h, e, p;
1513
1540
  const a = [], c = /* @__PURE__ */ new Set(), i = [];
1514
1541
  if (r) {
@@ -1535,16 +1562,16 @@ function zr(t, r, o = 0, s = 0) {
1535
1562
  if (!l) return;
1536
1563
  const b = l.property;
1537
1564
  if (d.includes(b)) {
1538
- const x = l.delay ?? 0, g = Math.max(1, l.durationInFrames ?? 30), w = v === "out" ? Math.max(0, s - g - x) : x, M = w + g, S = (m) => m === "contrast" || m === "brightness" || m === "saturation" ? 100 : m === "pixelate" ? 1 : 0;
1539
- let k = !1, $ = S(b);
1540
- if (o >= w && o <= M) {
1565
+ const x = l.delay ?? 0, g = Math.max(1, l.durationInFrames ?? 30), S = v === "out" ? Math.max(0, s - g - x) : x, w = S + g, M = (m) => m === "contrast" || m === "brightness" || m === "saturation" ? 100 : m === "pixelate" ? 1 : 0;
1566
+ let k = !1, $ = M(b);
1567
+ if (o >= S && o <= w) {
1541
1568
  k = !0;
1542
1569
  const m = Math.min(
1543
1570
  1,
1544
- Math.max(0, (o - w) / g)
1545
- ), I = Number(l.from ?? S(b)), N = Number(l.to ?? S(b));
1571
+ Math.max(0, (o - S) / g)
1572
+ ), I = Number(l.from ?? M(b)), N = Number(l.to ?? M(b));
1546
1573
  $ = I + (N - I) * m;
1547
- } else o > M && l.persist === !0 && (k = !0, $ = Number(l.to ?? S(b)));
1574
+ } else o > w && l.persist === !0 && (k = !0, $ = Number(l.to ?? M(b)));
1548
1575
  if (!k) return;
1549
1576
  switch (c.add(b), b) {
1550
1577
  case "blur":
@@ -1758,20 +1785,20 @@ var vr = function(r) {
1758
1785
  };
1759
1786
  };
1760
1787
  St.readBytes = vr;
1761
- var Gn = function(r) {
1788
+ var zn = function(r) {
1762
1789
  return function(o) {
1763
1790
  return o.data.subarray(o.pos, o.pos + r);
1764
1791
  };
1765
1792
  };
1766
- St.peekBytes = Gn;
1767
- var zn = function(r) {
1793
+ St.peekBytes = zn;
1794
+ var Gn = function(r) {
1768
1795
  return function(o) {
1769
1796
  return Array.from(vr(r)(o)).map(function(s) {
1770
1797
  return String.fromCharCode(s);
1771
1798
  }).join("");
1772
1799
  };
1773
1800
  };
1774
- St.readString = zn;
1801
+ St.readString = Gn;
1775
1802
  var jn = function(r) {
1776
1803
  return function(o) {
1777
1804
  var s = vr(2)(o);
@@ -1810,15 +1837,15 @@ St.readBits = Hn;
1810
1837
  blocks: function(u) {
1811
1838
  for (var l = 0, v = [], b = u.data.length, x = 0, g = (0, o.readByte)()(u); g !== l && g; g = (0, o.readByte)()(u)) {
1812
1839
  if (u.pos + g >= b) {
1813
- var w = b - u.pos;
1814
- v.push((0, o.readBytes)(w)(u)), x += w;
1840
+ var S = b - u.pos;
1841
+ v.push((0, o.readBytes)(S)(u)), x += S;
1815
1842
  break;
1816
1843
  }
1817
1844
  v.push((0, o.readBytes)(g)(u)), x += g;
1818
1845
  }
1819
- for (var M = new Uint8Array(x), S = 0, k = 0; k < v.length; k++)
1820
- M.set(v[k], S), S += v[k].length;
1821
- return M;
1846
+ for (var w = new Uint8Array(x), M = 0, k = 0; k < v.length; k++)
1847
+ w.set(v[k], M), M += v[k].length;
1848
+ return w;
1822
1849
  }
1823
1850
  }, a = (0, r.conditional)({
1824
1851
  gce: [{
@@ -2005,9 +2032,9 @@ Object.defineProperty(gr, "__esModule", {
2005
2032
  });
2006
2033
  gr.lzw = void 0;
2007
2034
  var Zn = function(r, o, s) {
2008
- var a = 4096, c = -1, i = s, n, h, e, p, d, u, l, $, v, b, k, x, m, I, R, N, g = new Array(s), w = new Array(a), M = new Array(a), S = new Array(a + 1);
2035
+ var a = 4096, c = -1, i = s, n, h, e, p, d, u, l, $, v, b, k, x, m, I, R, N, g = new Array(s), S = new Array(a), w = new Array(a), M = new Array(a + 1);
2009
2036
  for (x = r, h = 1 << x, d = h + 1, n = h + 2, l = c, p = x + 1, e = (1 << p) - 1, v = 0; v < h; v++)
2010
- w[v] = 0, M[v] = v;
2037
+ S[v] = 0, w[v] = v;
2011
2038
  var k, $, m, I, N, R;
2012
2039
  for (k = $ = m = I = N = R = 0, b = 0; b < i; ) {
2013
2040
  if (I === 0) {
@@ -2022,14 +2049,14 @@ var Zn = function(r, o, s) {
2022
2049
  continue;
2023
2050
  }
2024
2051
  if (l == c) {
2025
- S[I++] = M[v], l = v, m = v;
2052
+ M[I++] = w[v], l = v, m = v;
2026
2053
  continue;
2027
2054
  }
2028
- for (u = v, v == n && (S[I++] = m, v = l); v > h; )
2029
- S[I++] = M[v], v = w[v];
2030
- m = M[v] & 255, S[I++] = m, n < a && (w[n] = l, M[n] = m, n++, !(n & e) && n < a && (p++, e += n)), l = u;
2055
+ for (u = v, v == n && (M[I++] = m, v = l); v > h; )
2056
+ M[I++] = w[v], v = S[v];
2057
+ m = w[v] & 255, M[I++] = m, n < a && (S[n] = l, w[n] = m, n++, !(n & e) && n < a && (p++, e += n)), l = u;
2031
2058
  }
2032
- I--, g[N++] = S[I], b++;
2059
+ I--, g[N++] = M[I], b++;
2033
2060
  }
2034
2061
  for (b = N; b < i; b++)
2035
2062
  g[b] = 0;
@@ -2167,32 +2194,32 @@ function Yo({
2167
2194
  y: 0,
2168
2195
  width: c.width,
2169
2196
  height: c.height
2170
- }, u = c.borderWidth || 0, l = c.width || 0, v = c.height || 0, b = (d.x || 0) + u, x = (d.y || 0) + u, g = l - (d.x || 0) - (d.width || l) + u, w = v - (d.y || 0) - (d.height || v) + u, M = Math.min(d.width || l, d.height || v) * ((c.borderRadius || 0) / 100), S = Math.max(0, M - u), k = `inset(
2197
+ }, u = c.borderWidth || 0, l = c.width || 0, v = c.height || 0, b = (d.x || 0) + u, x = (d.y || 0) + u, g = l - (d.x || 0) - (d.width || l) + u, S = v - (d.y || 0) - (d.height || v) + u, w = Math.min(d.width || l, d.height || v) * ((c.borderRadius || 0) / 100), M = Math.max(0, w - u), k = `inset(
2171
2198
  ${x}px
2172
2199
  ${g}px
2173
- ${w}px
2174
- ${b}px round ${S}px
2175
- )`, { durationInFrames: $ } = wt(t.display, o), m = (s || 0) - t.display.from * o / 1e3, I = Gt(c, d, {}), { WebkitTextStroke: N } = I, R = yo(c, d), O = zr(
2200
+ ${S}px
2201
+ ${b}px round ${M}px
2202
+ )`, { durationInFrames: $ } = wt(t.display, o), m = (s || 0) - t.display.from * o / 1e3, I = zt(c, d, {}), { WebkitTextStroke: N } = I, R = yo(c, d), O = Gr(
2176
2203
  c.effects,
2177
2204
  i,
2178
2205
  m,
2179
2206
  $
2180
- ), P = Gr(O), { filter: Y, overlays: W } = wo(O), F = c.width || d.width || 300, V = c.height || d.height || 300, X = ne(c.src), E = (ut = (ot = i == null ? void 0 : i.loop) == null ? void 0 : ot.composition) == null ? void 0 : ut.find(
2181
- (A) => A.property === "textGridMarqueeTextAnimationLoop" || A.property === "textGridMarquee" || A.property === "imageGridMarqueeTextAnimationLoop" || A.property === "imageGridMarquee" || A.id === "textGridMarquee" || A.id === "imageGridMarquee"
2182
- ), _ = !!(E && m >= (E.delay || 0) && m <= (E.delay || 0) + (E.durationInFrames || 60)), z = (gt = (it = i == null ? void 0 : i.loop) == null ? void 0 : it.composition) == null ? void 0 : gt.find(
2183
- (A) => A.property === "inwardEchoes" || A.id === "inwardEchoes"
2184
- ), U = !!(z && m >= (z.delay || 0) && m <= (z.delay || 0) + (z.durationInFrames || 120)), L = (tt = (pt = i == null ? void 0 : i.loop) == null ? void 0 : pt.composition) == null ? void 0 : tt.find(
2185
- (A) => A.property === "wiggle" || A.id === "wiggle"
2186
- ), D = !!(L && m >= (L.delay || 0) && m <= (L.delay || 0) + (L.durationInFrames || 120)), H = (et = (st = i == null ? void 0 : i.loop) == null ? void 0 : st.composition) == null ? void 0 : et.find(
2187
- (A) => A.property === "cardFlip" || A.id === "cardFlip"
2188
- ), Z = !!(H && m >= (H.delay || 0) && m <= (H.delay || 0) + (H.durationInFrames || 120)), j = (dt = (at = i == null ? void 0 : i.loop) == null ? void 0 : at.composition) == null ? void 0 : dt.find(
2189
- (A) => A.property === "noiseTile" || A.id === "noiseTile"
2190
- ), ht = !!(j && m >= (j.delay || 0) && m <= (j.delay || 0) + (j.durationInFrames || 120)), Q = [
2207
+ ), P = zr(O), { filter: Y, overlays: W } = wo(O), F = c.width || d.width || 300, V = c.height || d.height || 300, X = ne(c.src), E = (ut = (ot = i == null ? void 0 : i.loop) == null ? void 0 : ot.composition) == null ? void 0 : ut.find(
2208
+ (L) => L.property === "textGridMarqueeTextAnimationLoop" || L.property === "textGridMarquee" || L.property === "imageGridMarqueeTextAnimationLoop" || L.property === "imageGridMarquee" || L.id === "textGridMarquee" || L.id === "imageGridMarquee"
2209
+ ), _ = !!(E && m >= (E.delay || 0) && m <= (E.delay || 0) + (E.durationInFrames || 60)), j = (gt = (it = i == null ? void 0 : i.loop) == null ? void 0 : it.composition) == null ? void 0 : gt.find(
2210
+ (L) => L.property === "inwardEchoes" || L.id === "inwardEchoes"
2211
+ ), U = !!(j && m >= (j.delay || 0) && m <= (j.delay || 0) + (j.durationInFrames || 120)), Z = (tt = (pt = i == null ? void 0 : i.loop) == null ? void 0 : pt.composition) == null ? void 0 : tt.find(
2212
+ (L) => L.property === "wiggle" || L.id === "wiggle"
2213
+ ), K = !!(Z && m >= (Z.delay || 0) && m <= (Z.delay || 0) + (Z.durationInFrames || 120)), H = (et = (st = i == null ? void 0 : i.loop) == null ? void 0 : st.composition) == null ? void 0 : et.find(
2214
+ (L) => L.property === "cardFlip" || L.id === "cardFlip"
2215
+ ), A = !!(H && m >= (H.delay || 0) && m <= (H.delay || 0) + (H.durationInFrames || 120)), G = (dt = (at = i == null ? void 0 : i.loop) == null ? void 0 : at.composition) == null ? void 0 : dt.find(
2216
+ (L) => L.property === "noiseTile" || L.id === "noiseTile"
2217
+ ), ht = !!(G && m >= (G.delay || 0) && m <= (G.delay || 0) + (G.durationInFrames || 120)), Q = [
2191
2218
  ...((ft = i == null ? void 0 : i.in) == null ? void 0 : ft.composition) || [],
2192
2219
  ...((bt = i == null ? void 0 : i.out) == null ? void 0 : bt.composition) || [],
2193
2220
  ...(($t = i == null ? void 0 : i.timed) == null ? void 0 : $t.composition) || [],
2194
2221
  ...((lt = i == null ? void 0 : i.loop) == null ? void 0 : lt.composition) || []
2195
- ], T = () => _ ? /* @__PURE__ */ f(
2222
+ ], q = () => _ ? /* @__PURE__ */ f(
2196
2223
  xo,
2197
2224
  {
2198
2225
  src: c.src,
@@ -2215,10 +2242,10 @@ function Yo({
2215
2242
  {
2216
2243
  src: c.src,
2217
2244
  frame: m,
2218
- delay: z == null ? void 0 : z.delay,
2219
- durationInFrames: z == null ? void 0 : z.durationInFrames,
2220
- from: z == null ? void 0 : z.from,
2221
- to: z == null ? void 0 : z.to,
2245
+ delay: j == null ? void 0 : j.delay,
2246
+ durationInFrames: j == null ? void 0 : j.durationInFrames,
2247
+ from: j == null ? void 0 : j.from,
2248
+ to: j == null ? void 0 : j.to,
2222
2249
  width: F,
2223
2250
  height: V,
2224
2251
  borderRadius: R.borderRadius,
@@ -2226,17 +2253,17 @@ function Yo({
2226
2253
  borderColor: c.borderColor,
2227
2254
  boxShadow: c.boxShadow,
2228
2255
  fps: o,
2229
- echoesDetails: z == null ? void 0 : z.details
2256
+ echoesDetails: j == null ? void 0 : j.details
2230
2257
  }
2231
- ) : D ? /* @__PURE__ */ f(
2258
+ ) : K ? /* @__PURE__ */ f(
2232
2259
  So,
2233
2260
  {
2234
2261
  src: c.src,
2235
2262
  frame: m,
2236
- delay: L == null ? void 0 : L.delay,
2237
- durationInFrames: L == null ? void 0 : L.durationInFrames,
2238
- from: L == null ? void 0 : L.from,
2239
- to: L == null ? void 0 : L.to,
2263
+ delay: Z == null ? void 0 : Z.delay,
2264
+ durationInFrames: Z == null ? void 0 : Z.durationInFrames,
2265
+ from: Z == null ? void 0 : Z.from,
2266
+ to: Z == null ? void 0 : Z.to,
2240
2267
  width: F,
2241
2268
  height: V,
2242
2269
  borderRadius: R.borderRadius,
@@ -2244,9 +2271,9 @@ function Yo({
2244
2271
  borderColor: c.borderColor,
2245
2272
  boxShadow: c.boxShadow,
2246
2273
  fps: o,
2247
- wiggleDetails: L == null ? void 0 : L.details
2274
+ wiggleDetails: Z == null ? void 0 : Z.details
2248
2275
  }
2249
- ) : Z ? /* @__PURE__ */ f(
2276
+ ) : A ? /* @__PURE__ */ f(
2250
2277
  Pn,
2251
2278
  {
2252
2279
  src: c.src,
@@ -2271,10 +2298,10 @@ function Yo({
2271
2298
  {
2272
2299
  src: c.src,
2273
2300
  frame: m,
2274
- delay: j == null ? void 0 : j.delay,
2275
- durationInFrames: j == null ? void 0 : j.durationInFrames,
2276
- from: j == null ? void 0 : j.from,
2277
- to: j == null ? void 0 : j.to,
2301
+ delay: G == null ? void 0 : G.delay,
2302
+ durationInFrames: G == null ? void 0 : G.durationInFrames,
2303
+ from: G == null ? void 0 : G.from,
2304
+ to: G == null ? void 0 : G.to,
2278
2305
  width: F,
2279
2306
  height: V,
2280
2307
  borderRadius: R.borderRadius,
@@ -2282,7 +2309,7 @@ function Yo({
2282
2309
  borderColor: c.borderColor,
2283
2310
  boxShadow: c.boxShadow,
2284
2311
  fps: o,
2285
- noiseTileDetails: j == null ? void 0 : j.details
2312
+ noiseTileDetails: G == null ? void 0 : G.details
2286
2313
  }
2287
2314
  ) : X ? /* @__PURE__ */ f(
2288
2315
  ie,
@@ -2310,7 +2337,7 @@ function Yo({
2310
2337
  clipPath: u > 0 || d.x || d.y ? k : void 0
2311
2338
  }
2312
2339
  }
2313
- ), nt = _ || U || D || Z || ht, vt = /* @__PURE__ */ f(
2340
+ ), nt = _ || U || K || A || ht, vt = /* @__PURE__ */ f(
2314
2341
  Ht,
2315
2342
  {
2316
2343
  style: {
@@ -2351,7 +2378,7 @@ function Yo({
2351
2378
  height: "100%"
2352
2379
  },
2353
2380
  children: [
2354
- !_ && !U && !D && !Z && !ht && c.boxShadow && /* @__PURE__ */ f(
2381
+ !_ && !U && !K && !A && !ht && c.boxShadow && /* @__PURE__ */ f(
2355
2382
  "div",
2356
2383
  {
2357
2384
  style: {
@@ -2397,14 +2424,14 @@ function Yo({
2397
2424
  width: F,
2398
2425
  height: V,
2399
2426
  effects: P,
2400
- children: T()
2427
+ children: q()
2401
2428
  }
2402
- ) : T(),
2403
- W.map((A) => /* @__PURE__ */ f("div", { style: A.style }, A.id))
2429
+ ) : q(),
2430
+ W.map((L) => /* @__PURE__ */ f("div", { style: L.style }, L.id))
2404
2431
  ]
2405
2432
  }
2406
2433
  ),
2407
- !_ && !U && !D && !Z && !ht && !!c.borderWidth && /* @__PURE__ */ f(
2434
+ !_ && !U && !K && !A && !ht && !!c.borderWidth && /* @__PURE__ */ f(
2408
2435
  "div",
2409
2436
  {
2410
2437
  style: {
@@ -2431,14 +2458,14 @@ const Xo = ({
2431
2458
  item: t,
2432
2459
  options: r
2433
2460
  }) => {
2434
- var x, g, w, M;
2461
+ var x, g, S, w;
2435
2462
  const { fps: o, frame: s } = r, { details: a, animations: c } = t, { animationIn: i, animationOut: n, animationTimed: h } = Ft(
2436
2463
  c,
2437
2464
  t,
2438
2465
  s,
2439
2466
  o,
2440
2467
  r
2441
- ), { durationInFrames: e } = wt(t.display, o), p = (s || 0) - t.display.from * o / 1e3, d = Gt(a), u = d.borderRadius, l = a.borderWidth || 0, v = a.borderColor || "transparent", b = /* @__PURE__ */ f(
2468
+ ), { durationInFrames: e } = wt(t.display, o), p = (s || 0) - t.display.from * o / 1e3, d = zt(a), u = d.borderRadius, l = a.borderWidth || 0, v = a.borderColor || "transparent", b = /* @__PURE__ */ f(
2442
2469
  Ht,
2443
2470
  {
2444
2471
  style: {
@@ -2469,8 +2496,8 @@ const Xo = ({
2469
2496
  keyframeAnimations: [
2470
2497
  ...((x = c == null ? void 0 : c.in) == null ? void 0 : x.composition) || [],
2471
2498
  ...((g = c == null ? void 0 : c.out) == null ? void 0 : g.composition) || [],
2472
- ...((w = c == null ? void 0 : c.timed) == null ? void 0 : w.composition) || [],
2473
- ...((M = c == null ? void 0 : c.loop) == null ? void 0 : M.composition) || [],
2499
+ ...((S = c == null ? void 0 : c.timed) == null ? void 0 : S.composition) || [],
2500
+ ...((w = c == null ? void 0 : c.loop) == null ? void 0 : w.composition) || [],
2474
2501
  ...i || [],
2475
2502
  ...n || [],
2476
2503
  ...h || []
@@ -2546,8 +2573,8 @@ const Xo = ({
2546
2573
  v * 0.45,
2547
2574
  Math.max(2, v / a * 1.5)
2548
2575
  ), x >= v && (x = v * 0.5), g = (v - x) / (a - 1));
2549
- const w = p + r * g, M = o - w;
2550
- if (u === "in" && M < 0)
2576
+ const S = p + r * g, w = o - S;
2577
+ if (u === "in" && w < 0)
2551
2578
  return /* @__PURE__ */ f(
2552
2579
  "span",
2553
2580
  {
@@ -2557,7 +2584,7 @@ const Xo = ({
2557
2584
  r
2558
2585
  );
2559
2586
  if (u === "out") {
2560
- if (b && M >= 0)
2587
+ if (b && w >= 0)
2561
2588
  return /* @__PURE__ */ f(
2562
2589
  "span",
2563
2590
  {
@@ -2566,7 +2593,7 @@ const Xo = ({
2566
2593
  },
2567
2594
  r
2568
2595
  );
2569
- if (!b && M >= x)
2596
+ if (!b && w >= x)
2570
2597
  return /* @__PURE__ */ f(
2571
2598
  "span",
2572
2599
  {
@@ -2576,10 +2603,10 @@ const Xo = ({
2576
2603
  r
2577
2604
  );
2578
2605
  }
2579
- const S = b ? 1 : C(M, [0, x], [0, 1], {
2606
+ const M = b ? 1 : C(w, [0, x], [0, 1], {
2580
2607
  extrapolateLeft: "clamp",
2581
2608
  extrapolateRight: "clamp"
2582
- }), k = de(e), $ = b ? 1 : k(S), m = n + (h - n) * $;
2609
+ }), k = de(e), $ = b ? 1 : k(M), m = n + (h - n) * $;
2583
2610
  let I = {
2584
2611
  display: "inline-block",
2585
2612
  transformOrigin: "center"
@@ -2603,19 +2630,19 @@ const Xo = ({
2603
2630
  break;
2604
2631
  case "growIn": {
2605
2632
  let P;
2606
- if (S < 0.65) {
2607
- const Y = S / 0.65, W = y.out(y.cubic)(Y);
2633
+ if (M < 0.65) {
2634
+ const Y = M / 0.65, W = y.out(y.cubic)(Y);
2608
2635
  P = n + (h + 0.1 - n) * W;
2609
2636
  } else {
2610
- const Y = (S - 0.65) / 0.35, W = y.out(y.quad)(Y);
2637
+ const Y = (M - 0.65) / 0.35, W = y.out(y.quad)(Y);
2611
2638
  P = h + 0.1 - 0.1 * W;
2612
2639
  }
2613
- N.push(`scale(${P})`), I.opacity = y.out(y.quad)(S);
2640
+ N.push(`scale(${P})`), I.opacity = y.out(y.quad)(M);
2614
2641
  break;
2615
2642
  }
2616
2643
  case "growOut": {
2617
- const P = y.out(y.cubic)(S), Y = n + (h - n) * P;
2618
- N.push(`scale(${Y})`), I.opacity = 1 - y.out(y.quad)(S);
2644
+ const P = y.out(y.cubic)(M), Y = n + (h - n) * P;
2645
+ N.push(`scale(${Y})`), I.opacity = 1 - y.out(y.quad)(M);
2619
2646
  break;
2620
2647
  }
2621
2648
  case "shrinkIn": {
@@ -3523,7 +3550,7 @@ const We = ({
3523
3550
  [0, a],
3524
3551
  [0.5, 1],
3525
3552
  { extrapolateRight: "clamp" }
3526
- ), w = C(
3553
+ ), S = C(
3527
3554
  x,
3528
3555
  [0, a],
3529
3556
  [0.15, 0],
@@ -3537,7 +3564,7 @@ const We = ({
3537
3564
  position: "absolute",
3538
3565
  top: 0,
3539
3566
  left: 0,
3540
- opacity: w,
3567
+ opacity: S,
3541
3568
  transform: `scale(${g * 2})`,
3542
3569
  pointerEvents: "none"
3543
3570
  },
@@ -3655,22 +3682,22 @@ const We = ({
3655
3682
  if (!x) return [];
3656
3683
  x.font = `${v}px ${o.fontFamily || "Arial, sans-serif"}`;
3657
3684
  const g = u.split(" ");
3658
- let w = [], M = "";
3659
- return g.forEach((S) => {
3660
- const k = M ? `${M} ${S}` : S;
3661
- x.measureText(k).width > l ? (w.push(M), M = S) : M = k;
3662
- }), M && w.push(M), w;
3685
+ let S = [], w = "";
3686
+ return g.forEach((M) => {
3687
+ const k = w ? `${w} ${M}` : M;
3688
+ x.measureText(k).width > l ? (S.push(w), w = M) : w = k;
3689
+ }), w && S.push(w), S;
3663
3690
  }, i = o.width || 300, n = c(t, i, o.fontSize), h = s / a, e = 0.3, p = h / n.length, d = n.map((u, l) => {
3664
- const v = l * p * (1 - e) * 1.5, b = v + p, x = v * a, g = Math.max(b * a, h * a), w = C(r, [x, g], [0, 1], {
3691
+ const v = l * p * (1 - e) * 1.5, b = v + p, x = v * a, g = Math.max(b * a, h * a), S = C(r, [x, g], [0, 1], {
3665
3692
  easing: y.out(y.cubic),
3666
3693
  extrapolateLeft: "clamp",
3667
3694
  extrapolateRight: "clamp"
3668
- }), M = C(w, [0, 1], [-o.fontSize, 0]);
3695
+ }), w = C(S, [0, 1], [-o.fontSize, 0]);
3669
3696
  return {
3670
3697
  text: u,
3671
- progress: w,
3672
- y: M,
3673
- opacity: w
3698
+ progress: S,
3699
+ y: w,
3700
+ opacity: S
3674
3701
  };
3675
3702
  });
3676
3703
  return /* @__PURE__ */ f(
@@ -3707,7 +3734,7 @@ const We = ({
3707
3734
  ))
3708
3735
  }
3709
3736
  );
3710
- }, Ge = ({
3737
+ }, ze = ({
3711
3738
  text: t,
3712
3739
  frame: r,
3713
3740
  fps: o
@@ -3723,7 +3750,7 @@ const We = ({
3723
3750
  children: t
3724
3751
  }
3725
3752
  );
3726
- }, ze = ({
3753
+ }, Ge = ({
3727
3754
  frame: t,
3728
3755
  durationInFrames: r,
3729
3756
  text: o
@@ -3902,13 +3929,13 @@ const Ae = ({ text: t, frame: r }) => {
3902
3929
  details: i,
3903
3930
  marqueeDetails: n
3904
3931
  }) => {
3905
- const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = Math.max(0, e - (o || 0)), d = Math.min(1, Math.max(0, p / (s || 1))), u = i.width || 300, l = i.height || 100, v = (n == null ? void 0 : n.direction) || "horizontal", b = v === "static", x = Math.min(15, Math.max(1, Number((n == null ? void 0 : n.repeatX) ?? 5))), g = Math.min(15, Math.max(1, Number((n == null ? void 0 : n.repeatY) ?? 5))), w = (n == null ? void 0 : n.baseSpeed) !== void 0 ? Number(n.baseSpeed) : 2, M = (n == null ? void 0 : n.speedVariation) !== void 0 ? Number(n.speedVariation) : 0.5, S = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialBaseSpeed) !== void 0 ? Number(n.initialBaseSpeed) : w, k = n != null && n.hasInitialValue ? S + (w - S) * d : w, $ = b ? 0 : k * 400, m = b ? 0 : k * 400, I = (n == null ? void 0 : n.scaleFactor) !== void 0 ? Number(n.scaleFactor) : 1, N = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialScaleFactor) !== void 0 ? Number(n.initialScaleFactor) : I, R = n != null && n.hasInitialValue ? N + (I - N) * d : I, O = (n == null ? void 0 : n.lineOffset) !== void 0 ? Number(n.lineOffset) : 0.5, P = (n == null ? void 0 : n.gapX) !== void 0 ? Number(n.gapX) : 60, Y = (n == null ? void 0 : n.gapY) !== void 0 ? Number(n.gapY) : 60, W = P / 100 * u, F = Y / 100 * l, V = u * R + W, X = l * R + F, E = rr(i), _ = v === "vertical" || v === "up" || v === "down", z = v === "diagonal", U = (x - 1) / 2, L = (g - 1) / 2, D = g, H = x, Z = Array.from({ length: D }, (Q, T) => T - L), j = Array.from({ length: H }, (Q, T) => T - U), ht = (Q, T, nt, vt) => /* @__PURE__ */ f(
3932
+ const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = Math.max(0, e - (o || 0)), d = Math.min(1, Math.max(0, p / (s || 1))), u = i.width || 300, l = i.height || 100, v = (n == null ? void 0 : n.direction) || "horizontal", b = v === "static", x = Math.min(15, Math.max(1, Number((n == null ? void 0 : n.repeatX) ?? 5))), g = Math.min(15, Math.max(1, Number((n == null ? void 0 : n.repeatY) ?? 5))), S = (n == null ? void 0 : n.baseSpeed) !== void 0 ? Number(n.baseSpeed) : 2, w = (n == null ? void 0 : n.speedVariation) !== void 0 ? Number(n.speedVariation) : 0.5, M = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialBaseSpeed) !== void 0 ? Number(n.initialBaseSpeed) : S, k = n != null && n.hasInitialValue ? M + (S - M) * d : S, $ = b ? 0 : k * 400, m = b ? 0 : k * 400, I = (n == null ? void 0 : n.scaleFactor) !== void 0 ? Number(n.scaleFactor) : 1, N = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialScaleFactor) !== void 0 ? Number(n.initialScaleFactor) : I, R = n != null && n.hasInitialValue ? N + (I - N) * d : I, O = (n == null ? void 0 : n.lineOffset) !== void 0 ? Number(n.lineOffset) : 0.5, P = (n == null ? void 0 : n.gapX) !== void 0 ? Number(n.gapX) : 60, Y = (n == null ? void 0 : n.gapY) !== void 0 ? Number(n.gapY) : 60, W = P / 100 * u, F = Y / 100 * l, V = u * R + W, X = l * R + F, E = rr(i), _ = v === "vertical" || v === "up" || v === "down", j = v === "diagonal", U = (x - 1) / 2, Z = (g - 1) / 2, K = g, H = x, A = Array.from({ length: K }, (Q, q) => q - Z), G = Array.from({ length: H }, (Q, q) => q - U), ht = (Q, q, nt, vt) => /* @__PURE__ */ f(
3906
3933
  "span",
3907
3934
  {
3908
3935
  style: {
3909
3936
  ...E,
3910
3937
  position: "absolute",
3911
- left: `calc(50% + ${T}px)`,
3938
+ left: `calc(50% + ${q}px)`,
3912
3939
  top: `calc(50% + ${nt}px)`,
3913
3940
  transform: `translate(-50%, -50%) scale(${R})`,
3914
3941
  transformOrigin: "center center",
@@ -3928,14 +3955,14 @@ const Ae = ({ text: t, frame: r }) => {
3928
3955
  position: "relative",
3929
3956
  overflow: "visible"
3930
3957
  },
3931
- children: j.map((Q, T) => {
3932
- let nt = T % 2 === 0 ? 1 : -1;
3958
+ children: G.map((Q, q) => {
3959
+ let nt = q % 2 === 0 ? 1 : -1;
3933
3960
  v === "up" && (nt = -1), v === "down" && (nt = 1);
3934
- const vt = 1 + T % 2 * (M * 0.5), ot = m > 0 && nt !== 0 ? nt * (p * m * 0.1 * vt) + Q * (X * O) : Q * (X * O), ut = m === 0 || nt === 0 ? 0 : (ot % X + X) % X - X / 2;
3935
- return Z.map((it, gt) => {
3961
+ const vt = 1 + q % 2 * (w * 0.5), ot = m > 0 && nt !== 0 ? nt * (p * m * 0.1 * vt) + Q * (X * O) : Q * (X * O), ut = m === 0 || nt === 0 ? 0 : (ot % X + X) % X - X / 2;
3962
+ return A.map((it, gt) => {
3936
3963
  const pt = Q * V, tt = it * X + ut;
3937
3964
  return ht(
3938
- `v-${T}-${gt}`,
3965
+ `v-${q}-${gt}`,
3939
3966
  pt,
3940
3967
  tt,
3941
3968
  Q === 0 && it === 0
@@ -3943,7 +3970,7 @@ const Ae = ({ text: t, frame: r }) => {
3943
3970
  });
3944
3971
  })
3945
3972
  }
3946
- ) : z ? /* @__PURE__ */ f(
3973
+ ) : j ? /* @__PURE__ */ f(
3947
3974
  "div",
3948
3975
  {
3949
3976
  style: {
@@ -3952,12 +3979,12 @@ const Ae = ({ text: t, frame: r }) => {
3952
3979
  position: "relative",
3953
3980
  overflow: "visible"
3954
3981
  },
3955
- children: Z.map((Q, T) => {
3956
- const nt = T % 2 === 0 ? 1 : -1, vt = T % 2 === 0 ? 1 : -1, ot = 1 + T % 2 * (M * 0.5), ut = $ > 0 ? nt * (p * $ * 0.1 * ot) + Q * (V * O) : Q * (V * O), it = $ === 0 ? 0 : (ut % V + V) % V - V / 2, gt = m > 0 ? vt * (p * m * 0.1 * ot) + Q * (X * O) : Q * (X * O), pt = m === 0 ? 0 : (gt % X + X) % X - X / 2;
3957
- return j.map((tt, st) => {
3982
+ children: A.map((Q, q) => {
3983
+ const nt = q % 2 === 0 ? 1 : -1, vt = q % 2 === 0 ? 1 : -1, ot = 1 + q % 2 * (w * 0.5), ut = $ > 0 ? nt * (p * $ * 0.1 * ot) + Q * (V * O) : Q * (V * O), it = $ === 0 ? 0 : (ut % V + V) % V - V / 2, gt = m > 0 ? vt * (p * m * 0.1 * ot) + Q * (X * O) : Q * (X * O), pt = m === 0 ? 0 : (gt % X + X) % X - X / 2;
3984
+ return G.map((tt, st) => {
3958
3985
  const et = tt * V + it, at = Q * X + pt;
3959
3986
  return ht(
3960
- `d-${T}-${st}`,
3987
+ `d-${q}-${st}`,
3961
3988
  et,
3962
3989
  at,
3963
3990
  Q === 0 && tt === 0
@@ -3974,14 +4001,14 @@ const Ae = ({ text: t, frame: r }) => {
3974
4001
  position: "relative",
3975
4002
  overflow: "visible"
3976
4003
  },
3977
- children: Z.map((Q, T) => {
3978
- let nt = T % 2 === 0 ? 1 : -1;
4004
+ children: A.map((Q, q) => {
4005
+ let nt = q % 2 === 0 ? 1 : -1;
3979
4006
  v === "left" && (nt = -1), v === "right" && (nt = 1);
3980
- const vt = 1 + T % 2 * (M * 0.5), ot = $ > 0 && nt !== 0 ? nt * (p * $ * 0.1 * vt) + Q * (V * O) : Q * (V * O), ut = $ === 0 || nt === 0 ? 0 : (ot % V + V) % V - V / 2;
3981
- return j.map((it, gt) => {
4007
+ const vt = 1 + q % 2 * (w * 0.5), ot = $ > 0 && nt !== 0 ? nt * (p * $ * 0.1 * vt) + Q * (V * O) : Q * (V * O), ut = $ === 0 || nt === 0 ? 0 : (ot % V + V) % V - V / 2;
4008
+ return G.map((it, gt) => {
3982
4009
  const pt = it * V + ut, tt = Q * X;
3983
4010
  return ht(
3984
- `h-${T}-${gt}`,
4011
+ `h-${q}-${gt}`,
3985
4012
  pt,
3986
4013
  tt,
3987
4014
  Q === 0 && it === 0
@@ -4000,7 +4027,7 @@ const Ae = ({ text: t, frame: r }) => {
4000
4027
  details: i,
4001
4028
  echoesDetails: n
4002
4029
  }) => {
4003
- const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = i.width || 300, d = i.height || 100, u = (n == null ? void 0 : n.keepStill) || "both", l = Number((n == null ? void 0 : n.toRepeatCount) ?? 5), v = Number((n == null ? void 0 : n.toScaleDown) ?? 0.3), b = Number((n == null ? void 0 : n.toCenterX) ?? 0.5), x = Number((n == null ? void 0 : n.toCenterY) ?? 0.5), g = (n == null ? void 0 : n.initialRepeatCount) !== void 0 ? Number(n.initialRepeatCount) : l, w = (n == null ? void 0 : n.initialScaleDown) !== void 0 ? Number(n.initialScaleDown) : 1, M = (n == null ? void 0 : n.initialCenterX) !== void 0 ? Number(n.initialCenterX) : b, S = (n == null ? void 0 : n.initialCenterY) !== void 0 ? Number(n.initialCenterY) : x, k = Math.max(0, e - (o || 0)), $ = Math.min(1, Math.max(0, k / (s || 1)));
4030
+ const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = i.width || 300, d = i.height || 100, u = (n == null ? void 0 : n.keepStill) || "both", l = Number((n == null ? void 0 : n.toRepeatCount) ?? 5), v = Number((n == null ? void 0 : n.toScaleDown) ?? 0.3), b = Number((n == null ? void 0 : n.toCenterX) ?? 0.5), x = Number((n == null ? void 0 : n.toCenterY) ?? 0.5), g = (n == null ? void 0 : n.initialRepeatCount) !== void 0 ? Number(n.initialRepeatCount) : l, S = (n == null ? void 0 : n.initialScaleDown) !== void 0 ? Number(n.initialScaleDown) : 1, w = (n == null ? void 0 : n.initialCenterX) !== void 0 ? Number(n.initialCenterX) : b, M = (n == null ? void 0 : n.initialCenterY) !== void 0 ? Number(n.initialCenterY) : x, k = Math.max(0, e - (o || 0)), $ = Math.min(1, Math.max(0, k / (s || 1)));
4004
4031
  let I = a + (c - a) * $;
4005
4032
  u === "initial" ? I = 0 : u === "final" && (I = 1);
4006
4033
  const N = Math.max(
@@ -4009,15 +4036,15 @@ const Ae = ({ text: t, frame: r }) => {
4009
4036
  ), R = C(
4010
4037
  I,
4011
4038
  [0, 1],
4012
- [w, v]
4039
+ [S, v]
4013
4040
  ), O = C(
4014
4041
  I,
4015
4042
  [0, 1],
4016
- [M, b]
4043
+ [w, b]
4017
4044
  ), P = C(
4018
4045
  I,
4019
4046
  [0, 1],
4020
- [S, x]
4047
+ [M, x]
4021
4048
  ), Y = rr(i), W = Array.from({ length: N }, (F, V) => V);
4022
4049
  return /* @__PURE__ */ f(
4023
4050
  "div",
@@ -4062,7 +4089,7 @@ const Ae = ({ text: t, frame: r }) => {
4062
4089
  details: i,
4063
4090
  wiggleDetails: n
4064
4091
  }) => {
4065
- const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = Number((n == null ? void 0 : n.wiggleX) ?? 20), d = Number((n == null ? void 0 : n.wiggleY) ?? 20), u = Number((n == null ? void 0 : n.speed) ?? 3), l = Number((n == null ? void 0 : n.angle) ?? 10), v = Number((n == null ? void 0 : n.seed) ?? 1), b = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialWiggleX) !== void 0 ? Number(n.initialWiggleX) : p, x = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialWiggleY) !== void 0 ? Number(n.initialWiggleY) : d, g = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialSpeed) !== void 0 ? Number(n.initialSpeed) : u, w = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialAngle) !== void 0 ? Number(n.initialAngle) : l, M = Math.max(0, e - (o || 0)), S = Math.min(1, Math.max(0, M / (s || 1))), k = n != null && n.hasInitialValue ? b + (p - b) * S : p, $ = n != null && n.hasInitialValue ? x + (d - x) * S : d, m = n != null && n.hasInitialValue ? g + (u - g) * S : u, I = n != null && n.hasInitialValue ? w + (l - w) * S : l, N = e * (m * 0.08), R = v * 12.345, O = Math.sin(N + R) * Math.cos(N * 0.65 + R) * k, P = Math.cos(N * 0.85 + R) * Math.sin(N * 1.15 + R) * $, Y = Math.sin(N * 0.9 + R * 1.35) * I, W = rr(i);
4092
+ const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = Number((n == null ? void 0 : n.wiggleX) ?? 20), d = Number((n == null ? void 0 : n.wiggleY) ?? 20), u = Number((n == null ? void 0 : n.speed) ?? 3), l = Number((n == null ? void 0 : n.angle) ?? 10), v = Number((n == null ? void 0 : n.seed) ?? 1), b = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialWiggleX) !== void 0 ? Number(n.initialWiggleX) : p, x = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialWiggleY) !== void 0 ? Number(n.initialWiggleY) : d, g = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialSpeed) !== void 0 ? Number(n.initialSpeed) : u, S = n != null && n.hasInitialValue && (n == null ? void 0 : n.initialAngle) !== void 0 ? Number(n.initialAngle) : l, w = Math.max(0, e - (o || 0)), M = Math.min(1, Math.max(0, w / (s || 1))), k = n != null && n.hasInitialValue ? b + (p - b) * M : p, $ = n != null && n.hasInitialValue ? x + (d - x) * M : d, m = n != null && n.hasInitialValue ? g + (u - g) * M : u, I = n != null && n.hasInitialValue ? S + (l - S) * M : l, N = e * (m * 0.08), R = v * 12.345, O = Math.sin(N + R) * Math.cos(N * 0.65 + R) * k, P = Math.cos(N * 0.85 + R) * Math.sin(N * 1.15 + R) * $, Y = Math.sin(N * 0.9 + R * 1.35) * I, W = rr(i);
4066
4093
  return /* @__PURE__ */ f(
4067
4094
  "div",
4068
4095
  {
@@ -4125,18 +4152,18 @@ const Ae = ({ text: t, frame: r }) => {
4125
4152
  details: i,
4126
4153
  noiseTileDetails: n
4127
4154
  }) => {
4128
- const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = i.width || 300, d = i.height || 100, u = (n == null ? void 0 : n.keepStill) || "both", l = Number((n == null ? void 0 : n.toXRepetitions) ?? (n == null ? void 0 : n.xRepetitions) ?? 5), v = Number((n == null ? void 0 : n.toYRepetitions) ?? (n == null ? void 0 : n.yRepetitions) ?? 5), b = Number((n == null ? void 0 : n.toGapX) ?? (n == null ? void 0 : n.gapX) ?? 12), x = Number((n == null ? void 0 : n.toGapY) ?? (n == null ? void 0 : n.gapY) ?? 12), g = Number((n == null ? void 0 : n.toScale) ?? (n == null ? void 0 : n.scale) ?? 1), w = Number((n == null ? void 0 : n.toNoiseScale) ?? (n == null ? void 0 : n.noiseScale) ?? 1.5), M = Number((n == null ? void 0 : n.toNoiseMoveX) ?? (n == null ? void 0 : n.noiseMoveX) ?? 0.6), S = Number((n == null ? void 0 : n.toNoiseMoveY) ?? (n == null ? void 0 : n.noiseMoveY) ?? 0.4), k = Number((n == null ? void 0 : n.toFps) ?? (n == null ? void 0 : n.fps) ?? 12), $ = Number((n == null ? void 0 : n.toThreshold) ?? (n == null ? void 0 : n.threshold) ?? 0.45), m = Number((n == null ? void 0 : n.toSeedOffset) ?? (n == null ? void 0 : n.seedOffset) ?? 0), I = !!(n != null && n.hasInitialValue), N = I ? Number((n == null ? void 0 : n.initialXRepetitions) ?? l) : l, R = I ? Number((n == null ? void 0 : n.initialYRepetitions) ?? v) : v, O = I ? Number((n == null ? void 0 : n.initialGapX) ?? b) : b, P = I ? Number((n == null ? void 0 : n.initialGapY) ?? x) : x, Y = I ? Number((n == null ? void 0 : n.initialScale) ?? g) : g, W = I ? Number((n == null ? void 0 : n.initialNoiseScale) ?? w) : w, F = I ? Number((n == null ? void 0 : n.initialNoiseMoveX) ?? M) : M, V = I ? Number((n == null ? void 0 : n.initialNoiseMoveY) ?? S) : S, X = I ? Number((n == null ? void 0 : n.initialFps) ?? k) : k, E = I ? Number((n == null ? void 0 : n.initialThreshold) ?? $) : $, _ = I ? Number((n == null ? void 0 : n.initialSeedOffset) ?? m) : m, z = Math.max(0, e - (o || 0)), U = Math.min(1, Math.max(0, z / (s || 1)));
4129
- let D = a + (c - a) * U;
4130
- u === "initial" ? D = 0 : u === "final" && (D = 1);
4131
- const H = Math.max(1, Math.round(C(D, [0, 1], [N, l]))), Z = Math.max(1, Math.round(C(D, [0, 1], [R, v]))), j = C(D, [0, 1], [O, b]), ht = C(D, [0, 1], [P, x]), Q = C(D, [0, 1], [Y, g]), T = C(D, [0, 1], [W, w]), nt = C(D, [0, 1], [F, M]), vt = C(D, [0, 1], [V, S]), ot = Math.max(1, Math.round(C(D, [0, 1], [X, k]))), ut = C(D, [0, 1], [E, $]), it = C(D, [0, 1], [_, m]), gt = rr(i), pt = Math.floor(z * (ot / 30)), tt = (H - 1) / 2, st = (Z - 1) / 2, et = [];
4132
- for (let at = 0; at < Z; at++)
4155
+ const h = Rt(), e = typeof r == "number" && !isNaN(r) ? r : h, p = i.width || 300, d = i.height || 100, u = (n == null ? void 0 : n.keepStill) || "both", l = Number((n == null ? void 0 : n.toXRepetitions) ?? (n == null ? void 0 : n.xRepetitions) ?? 5), v = Number((n == null ? void 0 : n.toYRepetitions) ?? (n == null ? void 0 : n.yRepetitions) ?? 5), b = Number((n == null ? void 0 : n.toGapX) ?? (n == null ? void 0 : n.gapX) ?? 12), x = Number((n == null ? void 0 : n.toGapY) ?? (n == null ? void 0 : n.gapY) ?? 12), g = Number((n == null ? void 0 : n.toScale) ?? (n == null ? void 0 : n.scale) ?? 1), S = Number((n == null ? void 0 : n.toNoiseScale) ?? (n == null ? void 0 : n.noiseScale) ?? 1.5), w = Number((n == null ? void 0 : n.toNoiseMoveX) ?? (n == null ? void 0 : n.noiseMoveX) ?? 0.6), M = Number((n == null ? void 0 : n.toNoiseMoveY) ?? (n == null ? void 0 : n.noiseMoveY) ?? 0.4), k = Number((n == null ? void 0 : n.toFps) ?? (n == null ? void 0 : n.fps) ?? 12), $ = Number((n == null ? void 0 : n.toThreshold) ?? (n == null ? void 0 : n.threshold) ?? 0.45), m = Number((n == null ? void 0 : n.toSeedOffset) ?? (n == null ? void 0 : n.seedOffset) ?? 0), I = !!(n != null && n.hasInitialValue), N = I ? Number((n == null ? void 0 : n.initialXRepetitions) ?? l) : l, R = I ? Number((n == null ? void 0 : n.initialYRepetitions) ?? v) : v, O = I ? Number((n == null ? void 0 : n.initialGapX) ?? b) : b, P = I ? Number((n == null ? void 0 : n.initialGapY) ?? x) : x, Y = I ? Number((n == null ? void 0 : n.initialScale) ?? g) : g, W = I ? Number((n == null ? void 0 : n.initialNoiseScale) ?? S) : S, F = I ? Number((n == null ? void 0 : n.initialNoiseMoveX) ?? w) : w, V = I ? Number((n == null ? void 0 : n.initialNoiseMoveY) ?? M) : M, X = I ? Number((n == null ? void 0 : n.initialFps) ?? k) : k, E = I ? Number((n == null ? void 0 : n.initialThreshold) ?? $) : $, _ = I ? Number((n == null ? void 0 : n.initialSeedOffset) ?? m) : m, j = Math.max(0, e - (o || 0)), U = Math.min(1, Math.max(0, j / (s || 1)));
4156
+ let K = a + (c - a) * U;
4157
+ u === "initial" ? K = 0 : u === "final" && (K = 1);
4158
+ const H = Math.max(1, Math.round(C(K, [0, 1], [N, l]))), A = Math.max(1, Math.round(C(K, [0, 1], [R, v]))), G = C(K, [0, 1], [O, b]), ht = C(K, [0, 1], [P, x]), Q = C(K, [0, 1], [Y, g]), q = C(K, [0, 1], [W, S]), nt = C(K, [0, 1], [F, w]), vt = C(K, [0, 1], [V, M]), ot = Math.max(1, Math.round(C(K, [0, 1], [X, k]))), ut = C(K, [0, 1], [E, $]), it = C(K, [0, 1], [_, m]), gt = rr(i), pt = Math.floor(j * (ot / 30)), tt = (H - 1) / 2, st = (A - 1) / 2, et = [];
4159
+ for (let at = 0; at < A; at++)
4133
4160
  for (let dt = 0; dt < H; dt++) {
4134
- const ft = dt / Math.max(1, H) * T, bt = at / Math.max(1, Z) * T, $t = pt * 0.1 + it, lt = Mo(
4161
+ const ft = dt / Math.max(1, H) * q, bt = at / Math.max(1, A) * q, $t = pt * 0.1 + it, lt = Mo(
4135
4162
  ft + pt * nt * 0.05,
4136
4163
  bt + pt * vt * 0.05,
4137
4164
  $t,
4138
4165
  it
4139
- ), Yt = dt === Math.floor(tt) && at === Math.floor(st) || lt >= ut, Xt = dt - tt, Bt = at - st, Et = j / 100 * p, zt = ht / 100 * d, _t = Xt * (p * Q + Et), Wt = Bt * (d * Q + zt);
4166
+ ), Yt = dt === Math.floor(tt) && at === Math.floor(st) || lt >= ut, Xt = dt - tt, Bt = at - st, Et = G / 100 * p, Gt = ht / 100 * d, _t = Xt * (p * Q + Et), Wt = Bt * (d * Q + Gt);
4140
4167
  et.push({
4141
4168
  col: dt,
4142
4169
  row: at,
@@ -4237,29 +4264,29 @@ const Ae = ({ text: t, frame: r }) => {
4237
4264
  durationInFrames: c
4238
4265
  }) => {
4239
4266
  const i = (v, b, x) => {
4240
- const w = document.createElement("canvas").getContext("2d");
4241
- if (!w) return [];
4242
- w.font = `${x}px ${o.fontFamily || "Arial, sans-serif"}`;
4243
- const M = v.split(" ");
4244
- let S = [], k = "";
4245
- return M.forEach(($) => {
4267
+ const S = document.createElement("canvas").getContext("2d");
4268
+ if (!S) return [];
4269
+ S.font = `${x}px ${o.fontFamily || "Arial, sans-serif"}`;
4270
+ const w = v.split(" ");
4271
+ let M = [], k = "";
4272
+ return w.forEach(($) => {
4246
4273
  const m = k ? `${k} ${$}` : $;
4247
- w.measureText(m).width > b ? (S.push(k), k = $) : k = m;
4248
- }), k && S.push(k), S;
4274
+ S.measureText(m).width > b ? (M.push(k), k = $) : k = m;
4275
+ }), k && M.push(k), M;
4249
4276
  }, n = (c - s) / a, h = o.width || 300, e = i(t, h, o.fontSize), p = s / a, d = 0.5, u = p / e.length, l = e.map((v, b) => {
4250
- const x = n + b * u * (1 - d) * 1.5, g = x + u, w = x * a, M = Math.min(
4277
+ const x = n + b * u * (1 - d) * 1.5, g = x + u, S = x * a, w = Math.min(
4251
4278
  g * a,
4252
4279
  (n + p) * a
4253
- ), S = C(r, [w, M], [0, 1], {
4280
+ ), M = C(r, [S, w], [0, 1], {
4254
4281
  easing: y.in(y.cubic),
4255
4282
  extrapolateLeft: "clamp",
4256
4283
  extrapolateRight: "clamp"
4257
- }), k = C(S, [0, 1], [0, -o.fontSize]);
4284
+ }), k = C(M, [0, 1], [0, -o.fontSize]);
4258
4285
  return {
4259
4286
  text: v,
4260
- progress: S,
4287
+ progress: M,
4261
4288
  y: k,
4262
- opacity: 1 - S
4289
+ opacity: 1 - M
4263
4290
  };
4264
4291
  });
4265
4292
  return /* @__PURE__ */ f(
@@ -4403,17 +4430,17 @@ const Ae = ({ text: t, frame: r }) => {
4403
4430
  frame: b,
4404
4431
  animationTextInFrames: x,
4405
4432
  animationTextOutFrames: g,
4406
- animationTextLoopFrames: w,
4407
- animationTextTimedFrames: M = 0,
4408
- durationInFrames: S,
4433
+ animationTextLoopFrames: S,
4434
+ animationTextTimedFrames: w = 0,
4435
+ durationInFrames: M,
4409
4436
  animationFonts: k
4410
4437
  }) => {
4411
- var A, Yt, Xt, Bt, Et, zt, _t, Wt, Zt, Qt, Kt, Jt, Tt, nr;
4412
- const $ = x, m = S - g, I = o ? $ >= b : !1, N = s ? b >= m : !1, R = e && e.length > 0, O = p && p.length > 0, P = d && d.length > 0, Y = u && u.length > 0, W = ((A = e == null ? void 0 : e[0]) == null ? void 0 : A.durationInFrames) || x, F = ((Yt = e == null ? void 0 : e[0]) == null ? void 0 : Yt.delay) || 0, V = W + F, X = ((Xt = p == null ? void 0 : p[0]) == null ? void 0 : Xt.durationInFrames) || g, E = ((Bt = p == null ? void 0 : p[0]) == null ? void 0 : Bt.delay) || 0, _ = X + E, z = Math.max(0, S - _), U = ((Et = u == null ? void 0 : u[0]) == null ? void 0 : Et.delay) || 0, L = U, D = U + (((zt = u == null ? void 0 : u[0]) == null ? void 0 : zt.durationInFrames) || M), H = R && !o && (P ? b < V : b < z), Z = O && !s && b >= z, j = Y && !H && !Z && b >= L && b <= D, ht = P && !a && !H && !Z && !j, T = ((q, K, B, rt, yt, G) => {
4438
+ var L, Yt, Xt, Bt, Et, Gt, _t, Wt, Zt, Qt, Kt, Jt, Tt, nr;
4439
+ const $ = x, m = M - g, I = o ? $ >= b : !1, N = s ? b >= m : !1, R = e && e.length > 0, O = p && p.length > 0, P = d && d.length > 0, Y = u && u.length > 0, W = ((L = e == null ? void 0 : e[0]) == null ? void 0 : L.durationInFrames) || x, F = ((Yt = e == null ? void 0 : e[0]) == null ? void 0 : Yt.delay) || 0, V = W + F, X = ((Xt = p == null ? void 0 : p[0]) == null ? void 0 : Xt.durationInFrames) || g, E = ((Bt = p == null ? void 0 : p[0]) == null ? void 0 : Bt.delay) || 0, _ = X + E, j = Math.max(0, M - _), U = ((Et = u == null ? void 0 : u[0]) == null ? void 0 : Et.delay) || 0, Z = U, K = U + (((Gt = u == null ? void 0 : u[0]) == null ? void 0 : Gt.durationInFrames) || w), H = R && !o && (P ? b < V : b < j), A = O && !s && b >= j, G = Y && !H && !A && b >= Z && b <= K, ht = P && !a && !H && !A && !G, q = ((D, J, B, rt, yt, z) => {
4413
4440
  const ct = document.createElement("canvas").getContext("2d");
4414
4441
  if (!ct) return [];
4415
- ct.font = `${G} ${yt} ${B}px ${rt}`;
4416
- const jt = [], It = q.split(`
4442
+ ct.font = `${z} ${yt} ${B}px ${rt}`;
4443
+ const jt = [], It = D.split(`
4417
4444
  `);
4418
4445
  for (const or of It) {
4419
4446
  if (or.trim() === "") {
@@ -4424,7 +4451,7 @@ const Ae = ({ text: t, frame: r }) => {
4424
4451
  let At = "";
4425
4452
  for (const Sr of $r) {
4426
4453
  const Lr = At ? `${At} ${Sr}` : Sr;
4427
- ct.measureText(Lr).width > K ? (At && jt.push(At), At = Sr) : At = Lr;
4454
+ ct.measureText(Lr).width > J ? (At && jt.push(At), At = Sr) : At = Lr;
4428
4455
  }
4429
4456
  At && jt.push(At);
4430
4457
  }
@@ -4490,14 +4517,14 @@ const Ae = ({ text: t, frame: r }) => {
4490
4517
  );
4491
4518
  if (!I && !N) {
4492
4519
  if (a === "spinTextAnimationLoop")
4493
- return /* @__PURE__ */ f(Ge, { text: t, frame: b, fps: r });
4520
+ return /* @__PURE__ */ f(ze, { text: t, frame: b, fps: r });
4494
4521
  if (a === "rotate3dTextAnimationLoop")
4495
4522
  return /* @__PURE__ */ f(
4496
- ze,
4523
+ Ge,
4497
4524
  {
4498
4525
  text: t,
4499
4526
  frame: b,
4500
- durationInFrames: S
4527
+ durationInFrames: M
4501
4528
  }
4502
4529
  );
4503
4530
  if (a === "textFontChangeAnimationLoop")
@@ -4521,10 +4548,10 @@ const Ae = ({ text: t, frame: r }) => {
4521
4548
  (ct) => ct.property === "textGridMarqueeTextAnimationLoop" || ct.property === "textGridMarquee" || ct.id === "textGridMarquee"
4522
4549
  )) || (d == null ? void 0 : d.find(
4523
4550
  (ct) => ct.property === "textGridMarqueeTextAnimationLoop" || ct.property === "textGridMarquee" || ct.id === "textGridMarquee"
4524
- )), rt = (B == null ? void 0 : B.delay) || 0, yt = (B == null ? void 0 : B.durationInFrames) || (w > 0 ? w : S), G = rt + yt, J = b >= rt && b <= G;
4551
+ )), rt = (B == null ? void 0 : B.delay) || 0, yt = (B == null ? void 0 : B.durationInFrames) || (S > 0 ? S : M), z = rt + yt, T = b >= rt && b <= z;
4525
4552
  if (console.log(
4526
- `[SpecialEffect Marquee] frame: ${b.toFixed(2)}, range: [${rt}, ${G}], active: ${J}`
4527
- ), J) {
4553
+ `[SpecialEffect Marquee] frame: ${b.toFixed(2)}, range: [${rt}, ${z}], active: ${T}`
4554
+ ), T) {
4528
4555
  const ct = B == null ? void 0 : B.details;
4529
4556
  return /* @__PURE__ */ f(
4530
4557
  Ue,
@@ -4547,10 +4574,10 @@ const Ae = ({ text: t, frame: r }) => {
4547
4574
  (ct) => ct.property === "inwardEchoes" || ct.id === "inwardEchoes"
4548
4575
  )) || (d == null ? void 0 : d.find(
4549
4576
  (ct) => ct.property === "inwardEchoes" || ct.id === "inwardEchoes"
4550
- )), rt = (B == null ? void 0 : B.delay) || 0, yt = (B == null ? void 0 : B.durationInFrames) || (w > 0 ? w : S), G = rt + yt, J = b >= rt && b <= G;
4577
+ )), rt = (B == null ? void 0 : B.delay) || 0, yt = (B == null ? void 0 : B.durationInFrames) || (S > 0 ? S : M), z = rt + yt, T = b >= rt && b <= z;
4551
4578
  if (console.log(
4552
- `[SpecialEffect InwardEchoes] frame: ${b.toFixed(2)}, range: [${rt}, ${G}], active: ${J}`
4553
- ), J) {
4579
+ `[SpecialEffect InwardEchoes] frame: ${b.toFixed(2)}, range: [${rt}, ${z}], active: ${T}`
4580
+ ), T) {
4554
4581
  const ct = B == null ? void 0 : B.details;
4555
4582
  return /* @__PURE__ */ f(
4556
4583
  Ze,
@@ -4573,10 +4600,10 @@ const Ae = ({ text: t, frame: r }) => {
4573
4600
  (ct) => ct.property === "wiggle" || ct.id === "wiggle"
4574
4601
  )) || (d == null ? void 0 : d.find(
4575
4602
  (ct) => ct.property === "wiggle" || ct.id === "wiggle"
4576
- )), rt = (B == null ? void 0 : B.delay) || 0, yt = (B == null ? void 0 : B.durationInFrames) || (w > 0 ? w : S), G = rt + yt, J = b >= rt && b <= G;
4603
+ )), rt = (B == null ? void 0 : B.delay) || 0, yt = (B == null ? void 0 : B.durationInFrames) || (S > 0 ? S : M), z = rt + yt, T = b >= rt && b <= z;
4577
4604
  if (console.log(
4578
- `[SpecialEffect Wiggle] frame: ${b.toFixed(2)}, range: [${rt}, ${G}], active: ${J}`
4579
- ), J) {
4605
+ `[SpecialEffect Wiggle] frame: ${b.toFixed(2)}, range: [${rt}, ${z}], active: ${T}`
4606
+ ), T) {
4580
4607
  const ct = B == null ? void 0 : B.details;
4581
4608
  return /* @__PURE__ */ f(
4582
4609
  Qe,
@@ -4594,17 +4621,17 @@ const Ae = ({ text: t, frame: r }) => {
4594
4621
  );
4595
4622
  }
4596
4623
  }
4597
- const q = (l == null ? void 0 : l.find(
4624
+ const D = (l == null ? void 0 : l.find(
4598
4625
  (B) => B.property === "cardFlip" || B.id === "cardFlip"
4599
4626
  )) || (d == null ? void 0 : d.find(
4600
4627
  (B) => B.property === "cardFlip" || B.id === "cardFlip"
4601
4628
  ));
4602
- if (a === "cardFlip" || q) {
4603
- const B = (q == null ? void 0 : q.delay) || 0, rt = (q == null ? void 0 : q.durationInFrames) || (w > 0 ? w : S), yt = B + rt, G = b >= B && b <= yt;
4629
+ if (a === "cardFlip" || D) {
4630
+ const B = (D == null ? void 0 : D.delay) || 0, rt = (D == null ? void 0 : D.durationInFrames) || (S > 0 ? S : M), yt = B + rt, z = b >= B && b <= yt;
4604
4631
  if (console.log(
4605
- `[SpecialEffect CardFlip] frame: ${b.toFixed(2)}, range: [${B}, ${yt}], active: ${G}`
4606
- ), G) {
4607
- const J = q == null ? void 0 : q.details;
4632
+ `[SpecialEffect CardFlip] frame: ${b.toFixed(2)}, range: [${B}, ${yt}], active: ${z}`
4633
+ ), z) {
4634
+ const T = D == null ? void 0 : D.details;
4608
4635
  return /* @__PURE__ */ f(
4609
4636
  Ke,
4610
4637
  {
@@ -4612,26 +4639,26 @@ const Ae = ({ text: t, frame: r }) => {
4612
4639
  frame: b,
4613
4640
  delay: B,
4614
4641
  durationInFrames: rt,
4615
- from: q == null ? void 0 : q.from,
4616
- to: q == null ? void 0 : q.to,
4642
+ from: D == null ? void 0 : D.from,
4643
+ to: D == null ? void 0 : D.to,
4617
4644
  details: v,
4618
4645
  fps: r,
4619
- cardFlipDetails: J
4646
+ cardFlipDetails: T
4620
4647
  }
4621
4648
  );
4622
4649
  }
4623
4650
  }
4624
- const K = (l == null ? void 0 : l.find(
4651
+ const J = (l == null ? void 0 : l.find(
4625
4652
  (B) => B.property === "noiseTile" || B.id === "noiseTile"
4626
4653
  )) || (d == null ? void 0 : d.find(
4627
4654
  (B) => B.property === "noiseTile" || B.id === "noiseTile"
4628
4655
  ));
4629
- if (a === "noiseTile" || K) {
4630
- const B = (K == null ? void 0 : K.delay) || 0, rt = (K == null ? void 0 : K.durationInFrames) || (w > 0 ? w : S), yt = B + rt, G = b >= B && b <= yt;
4656
+ if (a === "noiseTile" || J) {
4657
+ const B = (J == null ? void 0 : J.delay) || 0, rt = (J == null ? void 0 : J.durationInFrames) || (S > 0 ? S : M), yt = B + rt, z = b >= B && b <= yt;
4631
4658
  if (console.log(
4632
- `[SpecialEffect NoiseTile] frame: ${b.toFixed(2)}, range: [${B}, ${yt}], active: ${G}`
4633
- ), G) {
4634
- const J = K == null ? void 0 : K.details;
4659
+ `[SpecialEffect NoiseTile] frame: ${b.toFixed(2)}, range: [${B}, ${yt}], active: ${z}`
4660
+ ), z) {
4661
+ const T = J == null ? void 0 : J.details;
4635
4662
  return /* @__PURE__ */ f(
4636
4663
  Je,
4637
4664
  {
@@ -4639,11 +4666,11 @@ const Ae = ({ text: t, frame: r }) => {
4639
4666
  frame: b,
4640
4667
  delay: B,
4641
4668
  durationInFrames: rt,
4642
- from: K == null ? void 0 : K.from,
4643
- to: K == null ? void 0 : K.to,
4669
+ from: J == null ? void 0 : J.from,
4670
+ to: J == null ? void 0 : J.to,
4644
4671
  details: v,
4645
4672
  fps: r,
4646
- noiseTileDetails: J
4673
+ noiseTileDetails: T
4647
4674
  }
4648
4675
  );
4649
4676
  }
@@ -4654,7 +4681,7 @@ const Ae = ({ text: t, frame: r }) => {
4654
4681
  Te,
4655
4682
  {
4656
4683
  frame: b,
4657
- durationInFrames: S,
4684
+ durationInFrames: M,
4658
4685
  text: t,
4659
4686
  details: v,
4660
4687
  animationDuration: g
@@ -4669,7 +4696,7 @@ const Ae = ({ text: t, frame: r }) => {
4669
4696
  details: v,
4670
4697
  animationTextOutFrames: g,
4671
4698
  fps: r,
4672
- durationInFrames: S
4699
+ durationInFrames: M
4673
4700
  }
4674
4701
  );
4675
4702
  if (s === "backgroundTextAnimationOut" && N)
@@ -4680,24 +4707,24 @@ const Ae = ({ text: t, frame: r }) => {
4680
4707
  frame: b,
4681
4708
  animationTextOutFrames: g,
4682
4709
  details: v,
4683
- durationInFrames: S,
4710
+ durationInFrames: M,
4684
4711
  fps: r
4685
4712
  }
4686
4713
  );
4687
- const nt = T.reduce(
4688
- (q, K) => q + (K === "" ? 1 : K.length),
4714
+ const nt = q.reduce(
4715
+ (D, J) => D + (J === "" ? 1 : J.length),
4689
4716
  0
4690
- ), vt = T.reduce(
4691
- (q, K) => q + (K.trim() === "" ? 0 : K.split(/\s+/).length),
4717
+ ), vt = q.reduce(
4718
+ (D, J) => D + (J.trim() === "" ? 0 : J.split(/\s+/).length),
4692
4719
  0
4693
- ), ot = T.length, ut = ts[o], it = rs[s], gt = os[a], pt = ((_t = e == null ? void 0 : e[0]) == null ? void 0 : _t.textAnimationMode) || ((Wt = p == null ? void 0 : p[0]) == null ? void 0 : Wt.textAnimationMode) || ((Zt = d == null ? void 0 : d[0]) == null ? void 0 : Zt.textAnimationMode) || ((Qt = u == null ? void 0 : u[0]) == null ? void 0 : Qt.textAnimationMode) || (o ? c : void 0) || (s ? i : void 0) || (a ? n : void 0) || c || n || "letter", tt = I ? c : N ? i : H ? e[0].textAnimationMode || pt : Z ? p[0].textAnimationMode || pt : j ? u[0].textAnimationMode || pt : ht && d[0].textAnimationMode || pt, st = H ? e : Z ? p : j ? u : ht ? d : [], et = (q, K, B, rt) => {
4694
- var yt, G, J;
4720
+ ), ot = q.length, ut = ts[o], it = rs[s], gt = os[a], pt = ((_t = e == null ? void 0 : e[0]) == null ? void 0 : _t.textAnimationMode) || ((Wt = p == null ? void 0 : p[0]) == null ? void 0 : Wt.textAnimationMode) || ((Zt = d == null ? void 0 : d[0]) == null ? void 0 : Zt.textAnimationMode) || ((Qt = u == null ? void 0 : u[0]) == null ? void 0 : Qt.textAnimationMode) || (o ? c : void 0) || (s ? i : void 0) || (a ? n : void 0) || c || n || "letter", tt = I ? c : N ? i : H ? e[0].textAnimationMode || pt : A ? p[0].textAnimationMode || pt : G ? u[0].textAnimationMode || pt : ht && d[0].textAnimationMode || pt, st = H ? e : A ? p : G ? u : ht ? d : [], et = (D, J, B, rt) => {
4721
+ var yt, z, T;
4695
4722
  if (I && ut)
4696
4723
  return /* @__PURE__ */ f(
4697
4724
  ut,
4698
4725
  {
4699
- char: q,
4700
- index: K,
4726
+ char: D,
4727
+ index: J,
4701
4728
  frame: b,
4702
4729
  textLength: B,
4703
4730
  fps: r,
@@ -4710,13 +4737,13 @@ const Ae = ({ text: t, frame: r }) => {
4710
4737
  return /* @__PURE__ */ f(
4711
4738
  it,
4712
4739
  {
4713
- char: q,
4714
- index: K,
4740
+ char: D,
4741
+ index: J,
4715
4742
  frame: b,
4716
4743
  textLength: B,
4717
4744
  fps: r,
4718
4745
  animationTextOutFrames: g,
4719
- durationInFrames: S,
4746
+ durationInFrames: M,
4720
4747
  details: v
4721
4748
  },
4722
4749
  rt
@@ -4725,23 +4752,23 @@ const Ae = ({ text: t, frame: r }) => {
4725
4752
  return /* @__PURE__ */ f(
4726
4753
  gt,
4727
4754
  {
4728
- char: q,
4729
- index: K,
4755
+ char: D,
4756
+ index: J,
4730
4757
  frame: b,
4731
4758
  textLength: B,
4732
4759
  fps: r,
4733
- animationTextLoopFrames: w,
4760
+ animationTextLoopFrames: S,
4734
4761
  details: v
4735
4762
  },
4736
4763
  rt
4737
4764
  );
4738
4765
  if (st.length > 0) {
4739
- const ct = H ? W : Z ? X : j ? ((yt = u == null ? void 0 : u[0]) == null ? void 0 : yt.durationInFrames) || M : ((G = d == null ? void 0 : d[0]) == null ? void 0 : G.durationInFrames) || w, jt = Z ? b - z : j ? b - L : b, It = st[0], or = H ? "in" : Z ? "out" : j ? "timed" : "loop";
4766
+ const ct = H ? W : A ? X : G ? ((yt = u == null ? void 0 : u[0]) == null ? void 0 : yt.durationInFrames) || w : ((z = d == null ? void 0 : d[0]) == null ? void 0 : z.durationInFrames) || S, jt = A ? b - j : G ? b - Z : b, It = st[0], or = H ? "in" : A ? "out" : G ? "timed" : "loop";
4740
4767
  return /* @__PURE__ */ f(
4741
4768
  ue,
4742
4769
  {
4743
- char: q,
4744
- index: K,
4770
+ char: D,
4771
+ index: J,
4745
4772
  frame: jt,
4746
4773
  fps: r,
4747
4774
  textLength: B,
@@ -4750,82 +4777,82 @@ const Ae = ({ text: t, frame: r }) => {
4750
4777
  from: It.from,
4751
4778
  to: It.to,
4752
4779
  easing: It.easing,
4753
- delay: Z ? 0 : It.delay,
4780
+ delay: A ? 0 : It.delay,
4754
4781
  details: v,
4755
4782
  phase: or,
4756
- fade: !!((J = It == null ? void 0 : It.details) != null && J.fade || It != null && It.fade)
4783
+ fade: !!((T = It == null ? void 0 : It.details) != null && T.fade || It != null && It.fade)
4757
4784
  },
4758
4785
  rt
4759
4786
  );
4760
4787
  }
4761
- return /* @__PURE__ */ f("span", { children: q === "" ? " " : q }, rt);
4788
+ return /* @__PURE__ */ f("span", { children: D === "" ? " " : D }, rt);
4762
4789
  };
4763
4790
  let dt = (v == null ? void 0 : v.textAlign) === "right";
4764
4791
  const ft = e && e.length > 0 ? e[0] : p && p.length > 0 ? p[0] : u && u.length > 0 ? u[0] : d && d.length > 0 ? d[0] : null, bt = ft != null && ft.order ? ft : (Kt = e == null ? void 0 : e[0]) != null && Kt.order ? e[0] : (Jt = p == null ? void 0 : p[0]) != null && Jt.order ? p[0] : (Tt = u == null ? void 0 : u[0]) != null && Tt.order ? u[0] : (nr = d == null ? void 0 : d[0]) != null && nr.order ? d[0] : null;
4765
4792
  if (bt != null && bt.order)
4766
4793
  dt = bt.order === "backward";
4767
4794
  else if (ft && ft.property === "translateX") {
4768
- const q = Number(ft.from), K = Number(ft.to);
4769
- !isNaN(q) && !isNaN(K) && (dt = q < K);
4795
+ const D = Number(ft.from), J = Number(ft.to);
4796
+ !isNaN(D) && !isNaN(J) && (dt = D < J);
4770
4797
  }
4771
4798
  if (tt === "all")
4772
- return /* @__PURE__ */ f(Nt, { children: T.map((q, K) => /* @__PURE__ */ f("div", { children: (q === "" ? [" "] : q.split("")).map(
4773
- (B, rt) => et(B, 0, 1, `${K}-${rt}`)
4774
- ) }, K)) });
4799
+ return /* @__PURE__ */ f(Nt, { children: q.map((D, J) => /* @__PURE__ */ f("div", { children: (D === "" ? [" "] : D.split("")).map(
4800
+ (B, rt) => et(B, 0, 1, `${J}-${rt}`)
4801
+ ) }, J)) });
4775
4802
  if (tt === "word") {
4776
- let q = 0;
4777
- const K = T.map((B, rt) => {
4803
+ let D = 0;
4804
+ const J = q.map((B, rt) => {
4778
4805
  if (B.trim() === "")
4779
4806
  return {
4780
4807
  rowIndex: rt,
4781
4808
  tokens: []
4782
4809
  };
4783
- const G = B.split(/(\s+)/).map((J) => /^\s+$/.test(J) ? { token: J, wordIndex: null } : { token: J, wordIndex: q++ });
4784
- return { rowIndex: rt, tokens: G };
4810
+ const z = B.split(/(\s+)/).map((T) => /^\s+$/.test(T) ? { token: T, wordIndex: null } : { token: T, wordIndex: D++ });
4811
+ return { rowIndex: rt, tokens: z };
4785
4812
  });
4786
- return /* @__PURE__ */ f(Nt, { children: K.map(({ rowIndex: B, tokens: rt }) => rt.length === 0 ? /* @__PURE__ */ f("div", { children: " " }, B) : /* @__PURE__ */ f("div", { children: rt.map(({ token: yt, wordIndex: G }, J) => {
4787
- if (G === null)
4813
+ return /* @__PURE__ */ f(Nt, { children: J.map(({ rowIndex: B, tokens: rt }) => rt.length === 0 ? /* @__PURE__ */ f("div", { children: " " }, B) : /* @__PURE__ */ f("div", { children: rt.map(({ token: yt, wordIndex: z }, T) => {
4814
+ if (z === null)
4788
4815
  return /* @__PURE__ */ f(
4789
4816
  "span",
4790
4817
  {
4791
4818
  style: { display: "inline-block" },
4792
4819
  children: yt.replace(/ /g, " ")
4793
4820
  },
4794
- `space-${B}-${J}`
4821
+ `space-${B}-${T}`
4795
4822
  );
4796
- const ct = dt ? vt - 1 - G : G;
4823
+ const ct = dt ? vt - 1 - z : z;
4797
4824
  return et(
4798
4825
  yt,
4799
4826
  ct,
4800
4827
  vt,
4801
- `word-${B}-${J}`
4828
+ `word-${B}-${T}`
4802
4829
  );
4803
4830
  }) }, B)) });
4804
4831
  }
4805
4832
  if (tt === "line")
4806
- return /* @__PURE__ */ f(Nt, { children: T.map((q, K) => {
4807
- const B = dt ? ot - 1 - K : K;
4833
+ return /* @__PURE__ */ f(Nt, { children: q.map((D, J) => {
4834
+ const B = dt ? ot - 1 - J : J;
4808
4835
  return /* @__PURE__ */ f("div", { children: et(
4809
- q === "" ? " " : q,
4836
+ D === "" ? " " : D,
4810
4837
  B,
4811
4838
  ot,
4812
- `line-${K}`
4813
- ) }, K);
4839
+ `line-${J}`
4840
+ ) }, J);
4814
4841
  }) });
4815
4842
  let $t = 0;
4816
- const lt = T.map((q) => (q === "" ? [" "] : q.split("")).map((rt) => ({
4843
+ const lt = q.map((D) => (D === "" ? [" "] : D.split("")).map((rt) => ({
4817
4844
  char: rt,
4818
4845
  globalIndex: $t++
4819
4846
  })));
4820
- return /* @__PURE__ */ f(Nt, { children: lt.map((q, K) => /* @__PURE__ */ f("div", { children: q.map(({ char: B, globalIndex: rt }) => {
4847
+ return /* @__PURE__ */ f(Nt, { children: lt.map((D, J) => /* @__PURE__ */ f("div", { children: D.map(({ char: B, globalIndex: rt }) => {
4821
4848
  const yt = dt ? nt - 1 - rt : rt;
4822
4849
  return et(
4823
4850
  B,
4824
4851
  yt,
4825
4852
  nt,
4826
- `${K}-${rt}`
4853
+ `${J}-${rt}`
4827
4854
  );
4828
- }) }, K)) });
4855
+ }) }, J)) });
4829
4856
  }, Tr = ({
4830
4857
  id: t,
4831
4858
  content: r,
@@ -4845,9 +4872,9 @@ const Ae = ({ text: t, frame: r }) => {
4845
4872
  basicCharAnimationsIn: b,
4846
4873
  basicCharAnimationsOut: x,
4847
4874
  basicCharAnimationsLoop: g,
4848
- basicCharAnimationsTimed: w,
4849
- loopComposition: M,
4850
- details: S,
4875
+ basicCharAnimationsTimed: S,
4876
+ loopComposition: w,
4877
+ details: M,
4851
4878
  animationTextInFrames: k,
4852
4879
  animationTextOutFrames: $,
4853
4880
  animationTextLoopFrames: m,
@@ -4875,12 +4902,12 @@ const Ae = ({ text: t, frame: r }) => {
4875
4902
  E.selectNodeContents(Y.current), E.collapse(!1), X == null || X.removeAllRanges(), X == null || X.addRange(E);
4876
4903
  }
4877
4904
  }, F = (X) => {
4878
- var z;
4905
+ var j;
4879
4906
  X.stopPropagation();
4880
4907
  const E = window.getSelection(), _ = Y.current;
4881
4908
  if (E != null && E.rangeCount && _) {
4882
4909
  const U = E.getRangeAt(0);
4883
- U.endOffset - U.startOffset === ((z = _.textContent) == null ? void 0 : z.length) && W();
4910
+ U.endOffset - U.startOffset === ((j = _.textContent) == null ? void 0 : j.length) && W();
4884
4911
  }
4885
4912
  }, V = (X) => {
4886
4913
  let E = "";
@@ -4903,7 +4930,7 @@ const Ae = ({ text: t, frame: r }) => {
4903
4930
  },
4904
4931
  onBlur: (X) => c(t, X.target.innerText),
4905
4932
  style: {
4906
- height: o ? "max-content" : p === "textGridMarqueeTextAnimationLoop" || p === "textGridMarquee" ? S != null && S.height ? `${S.height}px` : "100%" : "max-content",
4933
+ height: o ? "max-content" : p === "textGridMarqueeTextAnimationLoop" || p === "textGridMarquee" ? M != null && M.height ? `${M.height}px` : "100%" : "max-content",
4907
4934
  boxShadow: "none",
4908
4935
  outline: "none",
4909
4936
  ...s,
@@ -4928,11 +4955,11 @@ const Ae = ({ text: t, frame: r }) => {
4928
4955
  basicCharAnimationsIn: b,
4929
4956
  basicCharAnimationsOut: x,
4930
4957
  basicCharAnimationsLoop: g,
4931
- basicCharAnimationsTimed: w,
4932
- loopComposition: M,
4958
+ basicCharAnimationsTimed: S,
4959
+ loopComposition: w,
4933
4960
  text: r,
4934
4961
  fps: i,
4935
- details: S,
4962
+ details: M,
4936
4963
  frame: n,
4937
4964
  animationTextInFrames: k,
4938
4965
  animationTextOutFrames: $,
@@ -5455,7 +5482,7 @@ function Wo({
5455
5482
  item: t,
5456
5483
  options: r
5457
5484
  }) {
5458
- var et, at, dt, ft, bt, $t, lt, A, Yt, Xt, Bt, Et, zt, _t, Wt, Zt, Qt, Kt, Jt, Tt, nr, q, K, B, rt, yt;
5485
+ var et, at, dt, ft, bt, $t, lt, L, Yt, Xt, Bt, Et, Gt, _t, Wt, Zt, Qt, Kt, Jt, Tt, nr, D, J, B, rt, yt;
5459
5486
  const { handleTextChange: o, onTextBlur: s, fps: a, editableTextId: c, frame: i } = r, { id: n, details: h, animations: e } = t, { durationInFrames: p } = wt(t.display, a), d = [
5460
5487
  "opacity",
5461
5488
  "scale",
@@ -5484,94 +5511,94 @@ function Wo({
5484
5511
  "maskDownIn",
5485
5512
  "maskDownOut"
5486
5513
  ], u = (((et = e == null ? void 0 : e.in) == null ? void 0 : et.composition) || []).filter(
5487
- (G) => d.some((J) => G.property === J) && G.textAnimationMode && G.textAnimationMode !== "all"
5514
+ (z) => d.some((T) => z.property === T) && z.textAnimationMode && z.textAnimationMode !== "all"
5488
5515
  ), l = (((at = e == null ? void 0 : e.out) == null ? void 0 : at.composition) || []).filter(
5489
- (G) => d.some((J) => G.property === J) && G.textAnimationMode && G.textAnimationMode !== "all"
5516
+ (z) => d.some((T) => z.property === T) && z.textAnimationMode && z.textAnimationMode !== "all"
5490
5517
  ), v = (((dt = e == null ? void 0 : e.loop) == null ? void 0 : dt.composition) || []).filter(
5491
- (G) => d.some((J) => G.property === J) && G.textAnimationMode && G.textAnimationMode !== "all"
5518
+ (z) => d.some((T) => z.property === T) && z.textAnimationMode && z.textAnimationMode !== "all"
5492
5519
  ), b = (((ft = e == null ? void 0 : e.timed) == null ? void 0 : ft.composition) || []).filter(
5493
- (G) => d.some((J) => G.property === J) && G.textAnimationMode && G.textAnimationMode !== "all"
5494
- ), x = new Set(u.map((G) => G.id)), g = new Set(l.map((G) => G.id)), w = new Set(
5495
- v.map((G) => G.id)
5496
- ), M = new Set(
5497
- b.map((G) => G.id)
5498
- ), S = {
5520
+ (z) => d.some((T) => z.property === T) && z.textAnimationMode && z.textAnimationMode !== "all"
5521
+ ), x = new Set(u.map((z) => z.id)), g = new Set(l.map((z) => z.id)), S = new Set(
5522
+ v.map((z) => z.id)
5523
+ ), w = new Set(
5524
+ b.map((z) => z.id)
5525
+ ), M = {
5499
5526
  ...e,
5500
5527
  in: e != null && e.in ? {
5501
5528
  ...e.in,
5502
5529
  composition: e.in.composition.filter(
5503
- (G) => !x.has(G.id)
5530
+ (z) => !x.has(z.id)
5504
5531
  )
5505
5532
  } : void 0,
5506
5533
  out: e != null && e.out ? {
5507
5534
  ...e.out,
5508
5535
  composition: e.out.composition.filter(
5509
- (G) => !g.has(G.id)
5536
+ (z) => !g.has(z.id)
5510
5537
  )
5511
5538
  } : void 0,
5512
5539
  loop: e != null && e.loop ? {
5513
5540
  ...e.loop,
5514
5541
  composition: e.loop.composition.filter(
5515
- (G) => !w.has(G.id)
5542
+ (z) => !S.has(z.id)
5516
5543
  )
5517
5544
  } : void 0,
5518
5545
  timed: e != null && e.timed ? {
5519
5546
  ...e.timed,
5520
5547
  composition: e.timed.composition.filter(
5521
- (G) => !M.has(G.id)
5548
+ (z) => !w.has(z.id)
5522
5549
  )
5523
5550
  } : void 0
5524
5551
  }, { animationIn: k, animationOut: $, animationTimed: m } = Ft(
5525
- S,
5552
+ M,
5526
5553
  t,
5527
5554
  i,
5528
5555
  a,
5529
5556
  r
5530
5557
  ), I = (bt = e == null ? void 0 : e.in) == null ? void 0 : bt.composition.find(
5531
- (G) => !d.some((J) => G.property === J)
5558
+ (z) => !d.some((T) => z.property === T)
5532
5559
  ), N = ($t = e == null ? void 0 : e.out) == null ? void 0 : $t.composition.find(
5533
- (G) => !d.some((J) => G.property === J)
5560
+ (z) => !d.some((T) => z.property === T)
5534
5561
  ), R = (lt = e == null ? void 0 : e.loop) == null ? void 0 : lt.composition.find(
5535
- (G) => !d.some((J) => G.property === J)
5536
- ), O = (I == null ? void 0 : I.property) || "", P = (N == null ? void 0 : N.property) || "", Y = (R == null ? void 0 : R.property) || "", W = (I == null ? void 0 : I.textAnimationMode) || ((A = u[0]) == null ? void 0 : A.textAnimationMode) || (I ? "letter" : "all"), F = (N == null ? void 0 : N.textAnimationMode) || ((Yt = l[0]) == null ? void 0 : Yt.textAnimationMode) || (N ? "letter" : "all"), V = (R == null ? void 0 : R.textAnimationMode) || ((Xt = v[0]) == null ? void 0 : Xt.textAnimationMode) || (R ? "letter" : "all"), X = ((Bt = b[0]) == null ? void 0 : Bt.textAnimationMode) || "all", E = (I == null ? void 0 : I.durationInFrames) || ((zt = (Et = e == null ? void 0 : e.in) == null ? void 0 : Et.composition[0]) == null ? void 0 : zt.durationInFrames) || 0, _ = (N == null ? void 0 : N.durationInFrames) || ((Wt = (_t = e == null ? void 0 : e.out) == null ? void 0 : _t.composition[0]) == null ? void 0 : Wt.durationInFrames) || 0, z = (R == null ? void 0 : R.durationInFrames) || ((Qt = (Zt = e == null ? void 0 : e.loop) == null ? void 0 : Zt.composition[0]) == null ? void 0 : Qt.durationInFrames) || 0, U = ((Kt = b[0]) == null ? void 0 : Kt.durationInFrames) || 0, L = [];
5537
- e != null && e.loop && e.loop.composition.forEach((G) => {
5538
- var J;
5539
- (J = G.details) != null && J.fonts && L.push(...G.details.fonts);
5540
- }), e != null && e.in && e.in.composition.forEach((G) => {
5541
- var J;
5542
- (J = G.details) != null && J.fonts && L.push(...G.details.fonts);
5543
- }), e != null && e.out && e.out.composition.forEach((G) => {
5544
- var J;
5545
- (J = G.details) != null && J.fonts && L.push(...G.details.fonts);
5562
+ (z) => !d.some((T) => z.property === T)
5563
+ ), O = (I == null ? void 0 : I.property) || "", P = (N == null ? void 0 : N.property) || "", Y = (R == null ? void 0 : R.property) || "", W = (I == null ? void 0 : I.textAnimationMode) || ((L = u[0]) == null ? void 0 : L.textAnimationMode) || (I ? "letter" : "all"), F = (N == null ? void 0 : N.textAnimationMode) || ((Yt = l[0]) == null ? void 0 : Yt.textAnimationMode) || (N ? "letter" : "all"), V = (R == null ? void 0 : R.textAnimationMode) || ((Xt = v[0]) == null ? void 0 : Xt.textAnimationMode) || (R ? "letter" : "all"), X = ((Bt = b[0]) == null ? void 0 : Bt.textAnimationMode) || "all", E = (I == null ? void 0 : I.durationInFrames) || ((Gt = (Et = e == null ? void 0 : e.in) == null ? void 0 : Et.composition[0]) == null ? void 0 : Gt.durationInFrames) || 0, _ = (N == null ? void 0 : N.durationInFrames) || ((Wt = (_t = e == null ? void 0 : e.out) == null ? void 0 : _t.composition[0]) == null ? void 0 : Wt.durationInFrames) || 0, j = (R == null ? void 0 : R.durationInFrames) || ((Qt = (Zt = e == null ? void 0 : e.loop) == null ? void 0 : Zt.composition[0]) == null ? void 0 : Qt.durationInFrames) || 0, U = ((Kt = b[0]) == null ? void 0 : Kt.durationInFrames) || 0, Z = [];
5564
+ e != null && e.loop && e.loop.composition.forEach((z) => {
5565
+ var T;
5566
+ (T = z.details) != null && T.fonts && Z.push(...z.details.fonts);
5567
+ }), e != null && e.in && e.in.composition.forEach((z) => {
5568
+ var T;
5569
+ (T = z.details) != null && T.fonts && Z.push(...z.details.fonts);
5570
+ }), e != null && e.out && e.out.composition.forEach((z) => {
5571
+ var T;
5572
+ (T = z.details) != null && T.fonts && Z.push(...z.details.fonts);
5546
5573
  });
5547
- let D = h.text;
5574
+ let K = h.text;
5548
5575
  if ((Tt = (Jt = t.animations) == null ? void 0 : Jt.timed) != null && Tt.composition) {
5549
- const G = (r.frame || 0) - t.display.from * a / 1e3;
5550
- if (G >= 0) {
5551
- const J = (nr = t.animations) == null ? void 0 : nr.timed.composition;
5552
- J.forEach((ct, jt) => {
5553
- const It = J.slice(0, jt).reduce((or, $r) => or + $r.durationInFrames, 0);
5554
- G >= It && ct.text && (D = ct.text);
5576
+ const z = (r.frame || 0) - t.display.from * a / 1e3;
5577
+ if (z >= 0) {
5578
+ const T = (nr = t.animations) == null ? void 0 : nr.timed.composition;
5579
+ T.forEach((ct, jt) => {
5580
+ const It = T.slice(0, jt).reduce((or, $r) => or + $r.durationInFrames, 0);
5581
+ z >= It && ct.text && (K = ct.text);
5555
5582
  });
5556
5583
  }
5557
5584
  }
5558
- const H = (i || 0) - t.display.from * a / 1e3, Z = h || {}, { top: j, left: ht, transform: Q, position: T, boxShadow: nt, ...vt } = Z, ot = (G) => {
5559
- G.stopPropagation(), G.preventDefault(), vs(hn, {
5585
+ const H = (i || 0) - t.display.from * a / 1e3, A = h || {}, { top: G, left: ht, transform: Q, position: q, boxShadow: nt, ...vt } = A, ot = (z) => {
5586
+ z.stopPropagation(), z.preventDefault(), vs(hn, {
5560
5587
  payload: {
5561
5588
  id: n
5562
5589
  }
5563
5590
  });
5564
- }, ut = zr(
5591
+ }, ut = Gr(
5565
5592
  h.effects,
5566
5593
  t.animations,
5567
5594
  H,
5568
5595
  p
5569
- ), it = Gr(ut), gt = typeof h.width == "number" ? h.width : parseInt(String(h.width || 300), 10) || 300, pt = typeof h.height == "number" ? h.height : parseInt(String(h.height || 100), 10) || 100, tt = {
5596
+ ), it = zr(ut), gt = typeof h.width == "number" ? h.width : parseInt(String(h.width || 300), 10) || 300, pt = typeof h.height == "number" ? h.height : parseInt(String(h.height || 100), 10) || 100, tt = {
5570
5597
  key: n,
5571
5598
  id: n,
5572
5599
  fps: a,
5573
5600
  frame: H,
5574
- content: D,
5601
+ content: K,
5575
5602
  editable: c === n,
5576
5603
  onChange: o,
5577
5604
  textAnimationNameIn: O,
@@ -5585,17 +5612,17 @@ function Wo({
5585
5612
  basicCharAnimationsOut: l,
5586
5613
  basicCharAnimationsLoop: v,
5587
5614
  basicCharAnimationsTimed: b,
5588
- loopComposition: (q = e == null ? void 0 : e.loop) == null ? void 0 : q.composition,
5615
+ loopComposition: (D = e == null ? void 0 : e.loop) == null ? void 0 : D.composition,
5589
5616
  onBlur: s,
5590
5617
  onDoubleClick: ot,
5591
5618
  style: rr(h),
5592
5619
  details: h,
5593
5620
  animationTextInFrames: E,
5594
5621
  animationTextOutFrames: _,
5595
- animationTextLoopFrames: z,
5622
+ animationTextLoopFrames: j,
5596
5623
  animationTextTimedFrames: U,
5597
5624
  durationInFrames: p,
5598
- animationFonts: L
5625
+ animationFonts: Z
5599
5626
  }, st = /* @__PURE__ */ f(
5600
5627
  Ht,
5601
5628
  {
@@ -5626,7 +5653,7 @@ function Wo({
5626
5653
  {
5627
5654
  item: t,
5628
5655
  keyframeAnimations: [
5629
- ...((K = e == null ? void 0 : e.in) == null ? void 0 : K.composition) || [],
5656
+ ...((J = e == null ? void 0 : e.in) == null ? void 0 : J.composition) || [],
5630
5657
  ...((B = e == null ? void 0 : e.out) == null ? void 0 : B.composition) || [],
5631
5658
  ...((rt = e == null ? void 0 : e.timed) == null ? void 0 : rt.composition) || [],
5632
5659
  ...((yt = e == null ? void 0 : e.loop) == null ? void 0 : yt.composition) || [],
@@ -5669,33 +5696,33 @@ const Oo = ({
5669
5696
  y: 0,
5670
5697
  width: c.width,
5671
5698
  height: c.height
5672
- }, u = c.borderWidth || 0, l = c.width || d.width || 300, v = c.height || d.height || 300, b = (d.x || 0) + u, x = (d.y || 0) + u, g = l - (d.x || 0) - (d.width || l) + u, w = v - (d.y || 0) - (d.height || v) + u, M = Math.min(
5699
+ }, u = c.borderWidth || 0, l = c.width || d.width || 300, v = c.height || d.height || 300, b = (d.x || 0) + u, x = (d.y || 0) + u, g = l - (d.x || 0) - (d.width || l) + u, S = v - (d.y || 0) - (d.height || v) + u, w = Math.min(
5673
5700
  d.width || l,
5674
5701
  d.height || v
5675
- ) * ((c.borderRadius || 0) / 100), S = Math.max(0, M - u), k = `inset(
5702
+ ) * ((c.borderRadius || 0) / 100), M = Math.max(0, w - u), k = `inset(
5676
5703
  ${x}px
5677
5704
  ${g}px
5678
- ${w}px
5679
- ${b}px round ${S}px
5680
- )`, { durationInFrames: $ } = wt(t.display, o), m = (s || 0) - t.display.from * o / 1e3, I = Gt(c, d, {}), { WebkitTextStroke: N } = I, R = yo(c, d), O = zr(
5705
+ ${S}px
5706
+ ${b}px round ${M}px
5707
+ )`, { durationInFrames: $ } = wt(t.display, o), m = (s || 0) - t.display.from * o / 1e3, I = zt(c, d, {}), { WebkitTextStroke: N } = I, R = yo(c, d), O = Gr(
5681
5708
  c.effects,
5682
5709
  i,
5683
5710
  m,
5684
5711
  $
5685
- ), P = Gr(O), { filter: Y, overlays: W } = wo(O), F = (ut = (ot = i == null ? void 0 : i.loop) == null ? void 0 : ot.composition) == null ? void 0 : ut.find(
5686
- (A) => A.property === "textGridMarqueeTextAnimationLoop" || A.property === "textGridMarquee" || A.property === "imageGridMarqueeTextAnimationLoop" || A.property === "imageGridMarquee" || A.id === "textGridMarquee" || A.id === "imageGridMarquee"
5712
+ ), P = zr(O), { filter: Y, overlays: W } = wo(O), F = (ut = (ot = i == null ? void 0 : i.loop) == null ? void 0 : ot.composition) == null ? void 0 : ut.find(
5713
+ (L) => L.property === "textGridMarqueeTextAnimationLoop" || L.property === "textGridMarquee" || L.property === "imageGridMarqueeTextAnimationLoop" || L.property === "imageGridMarquee" || L.id === "textGridMarquee" || L.id === "imageGridMarquee"
5687
5714
  ), V = !!(F && m >= (F.delay || 0) && m <= (F.delay || 0) + (F.durationInFrames || 60)), X = (gt = (it = i == null ? void 0 : i.loop) == null ? void 0 : it.composition) == null ? void 0 : gt.find(
5688
- (A) => A.property === "inwardEchoes" || A.id === "inwardEchoes"
5715
+ (L) => L.property === "inwardEchoes" || L.id === "inwardEchoes"
5689
5716
  ), E = !!(X && m >= (X.delay || 0) && m <= (X.delay || 0) + (X.durationInFrames || 120)), _ = (tt = (pt = i == null ? void 0 : i.loop) == null ? void 0 : pt.composition) == null ? void 0 : tt.find(
5690
- (A) => A.property === "wiggle" || A.id === "wiggle"
5691
- ), z = !!(_ && m >= (_.delay || 0) && m <= (_.delay || 0) + (_.durationInFrames || 120)), U = (et = (st = i == null ? void 0 : i.loop) == null ? void 0 : st.composition) == null ? void 0 : et.find(
5692
- (A) => A.property === "cardFlip" || A.id === "cardFlip"
5693
- ), L = !!(U && m >= (U.delay || 0) && m <= (U.delay || 0) + (U.durationInFrames || 120)), D = [
5717
+ (L) => L.property === "wiggle" || L.id === "wiggle"
5718
+ ), j = !!(_ && m >= (_.delay || 0) && m <= (_.delay || 0) + (_.durationInFrames || 120)), U = (et = (st = i == null ? void 0 : i.loop) == null ? void 0 : st.composition) == null ? void 0 : et.find(
5719
+ (L) => L.property === "cardFlip" || L.id === "cardFlip"
5720
+ ), Z = !!(U && m >= (U.delay || 0) && m <= (U.delay || 0) + (U.durationInFrames || 120)), K = [
5694
5721
  ...((at = i == null ? void 0 : i.in) == null ? void 0 : at.composition) || [],
5695
5722
  ...((dt = i == null ? void 0 : i.out) == null ? void 0 : dt.composition) || [],
5696
5723
  ...((ft = i == null ? void 0 : i.timed) == null ? void 0 : ft.composition) || [],
5697
5724
  ...((bt = i == null ? void 0 : i.loop) == null ? void 0 : bt.composition) || []
5698
- ], H = c.width || d.width || 300, Z = c.height || d.height || 300, j = /* @__PURE__ */ f(
5725
+ ], H = c.width || d.width || 300, A = c.height || d.height || 300, G = /* @__PURE__ */ f(
5699
5726
  ar,
5700
5727
  {
5701
5728
  "data-id": t.id,
@@ -5751,7 +5778,7 @@ const Oo = ({
5751
5778
  fps: o,
5752
5779
  echoesDetails: X == null ? void 0 : X.details
5753
5780
  }
5754
- ) : z ? /* @__PURE__ */ f(
5781
+ ) : j ? /* @__PURE__ */ f(
5755
5782
  So,
5756
5783
  {
5757
5784
  src: c.src,
@@ -5770,7 +5797,7 @@ const Oo = ({
5770
5797
  fps: o,
5771
5798
  wiggleDetails: _ == null ? void 0 : _.details
5772
5799
  }
5773
- ) : L ? /* @__PURE__ */ f(
5800
+ ) : Z ? /* @__PURE__ */ f(
5774
5801
  Cr,
5775
5802
  {
5776
5803
  frame: m,
@@ -5779,15 +5806,15 @@ const Oo = ({
5779
5806
  from: U == null ? void 0 : U.from,
5780
5807
  to: U == null ? void 0 : U.to,
5781
5808
  width: H,
5782
- height: Z,
5809
+ height: A,
5783
5810
  borderRadius: R.borderRadius,
5784
5811
  boxShadow: c.boxShadow,
5785
5812
  cardFlipDetails: U == null ? void 0 : U.details,
5786
- children: j
5813
+ children: G
5787
5814
  }
5788
- ) : j, {
5815
+ ) : G, {
5789
5816
  borderWidth: Q,
5790
- borderColor: T,
5817
+ borderColor: q,
5791
5818
  ...nt
5792
5819
  } = c, vt = /* @__PURE__ */ f(
5793
5820
  Ht,
@@ -5818,7 +5845,7 @@ const Oo = ({
5818
5845
  tr,
5819
5846
  {
5820
5847
  item: t,
5821
- keyframeAnimations: D,
5848
+ keyframeAnimations: K,
5822
5849
  frame: m,
5823
5850
  durationInFrames: $,
5824
5851
  children: /* @__PURE__ */ mt(
@@ -5830,7 +5857,7 @@ const Oo = ({
5830
5857
  height: "100%"
5831
5858
  },
5832
5859
  children: [
5833
- !V && !E && !z && !L && c.boxShadow && /* @__PURE__ */ f(
5860
+ !V && !E && !j && !Z && c.boxShadow && /* @__PURE__ */ f(
5834
5861
  "div",
5835
5862
  {
5836
5863
  style: {
@@ -5874,16 +5901,16 @@ const Oo = ({
5874
5901
  Vr,
5875
5902
  {
5876
5903
  width: H,
5877
- height: Z,
5904
+ height: A,
5878
5905
  effects: P,
5879
5906
  children: ht()
5880
5907
  }
5881
5908
  ) : ht(),
5882
- W.map((A) => /* @__PURE__ */ f("div", { style: A.style }, A.id))
5909
+ W.map((L) => /* @__PURE__ */ f("div", { style: L.style }, L.id))
5883
5910
  ]
5884
5911
  }
5885
5912
  ),
5886
- !V && !E && !z && !L && !!c.borderWidth && /* @__PURE__ */ f(
5913
+ !V && !E && !j && !Z && !!c.borderWidth && /* @__PURE__ */ f(
5887
5914
  "div",
5888
5915
  {
5889
5916
  style: {
@@ -6018,10 +6045,10 @@ const ms = (t) => {
6018
6045
  const p = Or(null), d = Rt(), [u, l] = yr({ width: 400, height: 100 });
6019
6046
  cr(() => {
6020
6047
  l((g) => {
6021
- var w, M;
6048
+ var S, w;
6022
6049
  return {
6023
- width: ((w = p.current) == null ? void 0 : w.offsetWidth) ?? g.width,
6024
- height: ((M = p.current) == null ? void 0 : M.offsetHeight) ?? g.height
6050
+ width: ((S = p.current) == null ? void 0 : S.offsetWidth) ?? g.width,
6051
+ height: ((w = p.current) == null ? void 0 : w.offsetHeight) ?? g.height
6025
6052
  };
6026
6053
  });
6027
6054
  }, [d, l]);
@@ -6156,13 +6183,13 @@ const Lt = new ks(), Ns = ({
6156
6183
  }
6157
6184
  ) });
6158
6185
  };
6159
- function Go({
6186
+ function zo({
6160
6187
  item: t,
6161
6188
  options: r
6162
6189
  }) {
6163
6190
  return xt({ item: t, options: r, children: /* @__PURE__ */ f(Nt, { children: /* @__PURE__ */ f(Ns, { item: t, options: r }) }) });
6164
6191
  }
6165
- function zo({
6192
+ function Go({
6166
6193
  item: t,
6167
6194
  options: r
6168
6195
  }) {
@@ -6354,7 +6381,7 @@ const Xs = ({
6354
6381
  topRoundness: e = 0.4,
6355
6382
  bottomRoundness: p = 0.4
6356
6383
  }) => {
6357
- const d = s, u = a, l = t, v = r % (2 * s / t), b = Array.from({ length: c }).map((S, k) => {
6384
+ const d = s, u = a, l = t, v = r % (2 * s / t), b = Array.from({ length: c }).map((M, k) => {
6358
6385
  const $ = k * i;
6359
6386
  return Xs({
6360
6387
  width: d,
@@ -6362,19 +6389,19 @@ const Xs = ({
6362
6389
  offsetPixels: $ + v,
6363
6390
  amplitude: 0.5 * o
6364
6391
  });
6365
- }), x = d / l, g = e * x, w = p * x, M = (S, k) => {
6366
- const $ = S.y <= 0, m = $ ? g : w, I = $ ? w : g, N = k.x + I, R = k.y, O = S.x - m, P = S.y, Y = S.x, W = S.y;
6392
+ }), x = d / l, g = e * x, S = p * x, w = (M, k) => {
6393
+ const $ = M.y <= 0, m = $ ? g : S, I = $ ? S : g, N = k.x + I, R = k.y, O = M.x - m, P = M.y, Y = M.x, W = M.y;
6367
6394
  return `C ${N} ${R}, ${O} ${P}, ${Y} ${W}`;
6368
6395
  };
6369
- return /* @__PURE__ */ f("div", { style: { width: s, height: a }, children: /* @__PURE__ */ f("svg", { width: d, height: u, viewBox: `0 -${0.5 * u} ${d} ${u}`, children: b.map((S, k) => {
6370
- const $ = S[S.length - 1], m = Array.isArray(n) ? n[k % n.length] : n;
6396
+ return /* @__PURE__ */ f("div", { style: { width: s, height: a }, children: /* @__PURE__ */ f("svg", { width: d, height: u, viewBox: `0 -${0.5 * u} ${d} ${u}`, children: b.map((M, k) => {
6397
+ const $ = M[M.length - 1], m = Array.isArray(n) ? n[k % n.length] : n;
6371
6398
  return /* @__PURE__ */ f(
6372
6399
  "path",
6373
6400
  {
6374
- d: `M 0 0, ${S.map((I, N, R) => {
6401
+ d: `M 0 0, ${M.map((I, N, R) => {
6375
6402
  const O = N === 0 ? { x: 0, y: 0 } : R[N - 1];
6376
- return M(I, O);
6377
- }).join(",")}, ${M({ x: d, y: 0 }, $)}`,
6403
+ return w(I, O);
6404
+ }).join(",")}, ${w({ x: d, y: 0 }, $)}`,
6378
6405
  stroke: m,
6379
6406
  strokeWidth: h,
6380
6407
  fill: "none"
@@ -6471,16 +6498,16 @@ const _s = (t, r) => {
6471
6498
  } : {
6472
6499
  viewBoxVerticalShift: -0.5 * p,
6473
6500
  scaling: 0.5
6474
- }, v = 0.15 * e, b = (e - 2 * v) / (t.length - 1), x = Array.from({ length: n }).map((g, w) => {
6475
- const M = 3 * w;
6476
- return _s(t, M).map((k, $) => ({
6501
+ }, v = 0.15 * e, b = (e - 2 * v) / (t.length - 1), x = Array.from({ length: n }).map((g, S) => {
6502
+ const w = 3 * S;
6503
+ return _s(t, w).map((k, $) => ({
6477
6504
  x: v + $ * b,
6478
- y: d * p * k * (1.2 - 0.5 * cn(w * t.length + $))
6505
+ y: d * p * k * (1.2 - 0.5 * cn(S * t.length + $))
6479
6506
  }));
6480
6507
  });
6481
- return /* @__PURE__ */ f("div", { style: { width: r, height: o }, children: /* @__PURE__ */ f("svg", { width: e, height: p, viewBox: `0 ${u} ${e} ${p}`, children: x.map((g, w) => {
6482
- const M = g[g.length - 1], S = Array.isArray(c) ? c[w % c.length] : c, k = Array.isArray(s) ? s[w % s.length] : s, $ = {
6483
- stroke: S,
6508
+ return /* @__PURE__ */ f("div", { style: { width: r, height: o }, children: /* @__PURE__ */ f("svg", { width: e, height: p, viewBox: `0 ${u} ${e} ${p}`, children: x.map((g, S) => {
6509
+ const w = g[g.length - 1], M = Array.isArray(c) ? c[S % c.length] : c, k = Array.isArray(s) ? s[S % s.length] : s, $ = {
6510
+ stroke: M,
6484
6511
  strokeWidth: a,
6485
6512
  fill: k,
6486
6513
  style: {
@@ -6495,7 +6522,7 @@ const _s = (t, r) => {
6495
6522
  d: `M 0 0, ${g.map((m, I, N) => {
6496
6523
  const R = I === 0 ? { x: 0, y: 0 } : N[I - 1], O = R.x + 0.5 * b, P = R.y, Y = m.x - 0.5 * b, W = m.y, F = m.x, V = m.y;
6497
6524
  return `C ${O} ${P}, ${Y} ${W}, ${F} ${V}`;
6498
- }).join(",")}, C ${M.x + 0.5 * b} ${M.y}, ${e - 0.5 * b} 0, ${e} 0`
6525
+ }).join(",")}, C ${w.x + 0.5 * b} ${w.y}, ${e - 0.5 * b} 0, ${e} 0`
6499
6526
  }
6500
6527
  ),
6501
6528
  i !== "under" && /* @__PURE__ */ f(
@@ -6505,10 +6532,10 @@ const _s = (t, r) => {
6505
6532
  d: `M 0 0, ${g.map((m, I, N) => {
6506
6533
  const R = I === 0 ? { x: 0, y: 0 } : N[I - 1], O = R.x + 0.5 * b, P = -R.y, Y = m.x - 0.5 * b, W = -m.y, F = m.x, V = -m.y;
6507
6534
  return `C ${O} ${P}, ${Y} ${W}, ${F} ${V}`;
6508
- }).join(",")}, C ${M.x + 0.5 * b} ${-M.y}, ${e - 0.5 * b} 0, ${e} 0`
6535
+ }).join(",")}, C ${w.x + 0.5 * b} ${-w.y}, ${e - 0.5 * b} 0, ${e} 0`
6509
6536
  }
6510
6537
  )
6511
- ] }, w);
6538
+ ] }, S);
6512
6539
  }) }) });
6513
6540
  }, Vs = ({
6514
6541
  width: t,
@@ -6525,10 +6552,10 @@ const _s = (t, r) => {
6525
6552
  const p = Or(null), d = Rt(), [u, l] = yr({ width: 400, height: 100 });
6526
6553
  cr(() => {
6527
6554
  l((g) => {
6528
- var w, M;
6555
+ var S, w;
6529
6556
  return {
6530
- width: ((w = p.current) == null ? void 0 : w.offsetWidth) ?? g.width,
6531
- height: ((M = p.current) == null ? void 0 : M.offsetHeight) ?? g.height
6557
+ width: ((S = p.current) == null ? void 0 : S.offsetWidth) ?? g.width,
6558
+ height: ((w = p.current) == null ? void 0 : w.offsetHeight) ?? g.height
6532
6559
  };
6533
6560
  });
6534
6561
  }, [d, l]);
@@ -6606,7 +6633,7 @@ const Ho = ({
6606
6633
  ), { durationInFrames: e } = wt(t.display, o), p = (s || 0) - t.display.from * o / 1e3, d = /* @__PURE__ */ f(
6607
6634
  Ht,
6608
6635
  {
6609
- style: Gt(a),
6636
+ style: zt(a),
6610
6637
  animationIn: i,
6611
6638
  animationOut: n,
6612
6639
  frame: p,
@@ -6617,7 +6644,7 @@ const Ho = ({
6617
6644
  animationTimed: h,
6618
6645
  durationInFrames: e,
6619
6646
  frame: p,
6620
- style: Gt(a),
6647
+ style: zt(a),
6621
6648
  children: /* @__PURE__ */ f(
6622
6649
  tr,
6623
6650
  {
@@ -6641,7 +6668,7 @@ const Ho = ({
6641
6668
  }
6642
6669
  );
6643
6670
  return xt({ item: t, options: r, children: d });
6644
- }, Gs = () => ({
6671
+ }, zs = () => ({
6645
6672
  scale: (t) => ({ transform: `scale(${t})` }),
6646
6673
  opacity: (t) => ({ opacity: t }),
6647
6674
  translateX: (t) => ({ transform: `translateX(${t}%)` }),
@@ -6672,7 +6699,7 @@ const Ho = ({
6672
6699
  for (let a = 0; a < 6; a += 1)
6673
6700
  o.push(a * s + r);
6674
6701
  return o;
6675
- }, zs = (t, r, o, s = !1) => {
6702
+ }, Gs = (t, r, o, s = !1) => {
6676
6703
  const { from: a, to: c, ease: i } = r, n = r.durationInFrames || 30, h = Number(a), e = Number(c), p = Math.max(1, Number(n));
6677
6704
  if (isNaN(h) || isNaN(e))
6678
6705
  return h;
@@ -6735,12 +6762,12 @@ const Ho = ({
6735
6762
  const l = Number(
6736
6763
  ((h = t.details) == null ? void 0 : h.fromX) ?? t.from ?? 0
6737
6764
  ), v = Number(((e = t.details) == null ? void 0 : e.toX) ?? t.to ?? 0), b = Number(((p = t.details) == null ? void 0 : p.fromY) ?? 0), x = Number(((d = t.details) == null ? void 0 : d.toY) ?? 0), g = Number(((u = t.details) == null ? void 0 : u.scale) || 1) || 1;
6738
- let w = a;
6739
- if (w == null || Number.isNaN(w)) {
6765
+ let S = a;
6766
+ if (S == null || Number.isNaN(S)) {
6740
6767
  const F = t.details;
6741
- w = Uo((F == null ? void 0 : F.rotate) ?? (F == null ? void 0 : F.rotation) ?? (F == null ? void 0 : F.transform));
6768
+ S = Uo((F == null ? void 0 : F.rotate) ?? (F == null ? void 0 : F.rotation) ?? (F == null ? void 0 : F.transform));
6742
6769
  }
6743
- const M = t.delay || 0, S = t.durationInFrames || 30, k = s ? [o - S - M, o - M] : [M, M + S], $ = C(r, k, [l, v], {
6770
+ const w = t.delay || 0, M = t.durationInFrames || 30, k = s ? [o - M - w, o - w] : [w, w + M], $ = C(r, k, [l, v], {
6744
6771
  extrapolateLeft: "clamp",
6745
6772
  extrapolateRight: "clamp",
6746
6773
  easing: t.ease
@@ -6748,12 +6775,12 @@ const Ho = ({
6748
6775
  extrapolateLeft: "clamp",
6749
6776
  extrapolateRight: "clamp",
6750
6777
  easing: t.ease
6751
- }), I = (w || 0) * Math.PI / 180, N = Math.cos(I), R = Math.sin(I), O = $ * N + m * R, P = -$ * R + m * N, Y = O / g, W = P / g;
6778
+ }), I = (S || 0) * Math.PI / 180, N = Math.cos(I), R = Math.sin(I), O = $ * N + m * R, P = -$ * R + m * N, Y = O / g, W = P / g;
6752
6779
  return {
6753
6780
  transform: `translateX(${Y}px) translateY(${W}px)`
6754
6781
  };
6755
6782
  }
6756
- const i = zs(r, t, o, s), n = Gs();
6783
+ const i = Gs(r, t, o, s), n = zs();
6757
6784
  return (n[c] || n.default)(i);
6758
6785
  }, so = (t, r, o, s = !1, a = !1, c) => Ot.useMemo(() => {
6759
6786
  if (t.length === 0) return {};
@@ -6803,33 +6830,33 @@ const Ho = ({
6803
6830
  !0
6804
6831
  ), h = Ot.useMemo(() => {
6805
6832
  const x = Object.keys(i).length > 0, g = t == null ? void 0 : t.reduce(
6806
- (M, S) => Math.min(M, S.delay || 0),
6833
+ (w, M) => Math.min(w, M.delay || 0),
6807
6834
  1 / 0
6808
- ), w = c - (g || 0);
6809
- return x && w < 0 ? { visibility: "hidden" } : i;
6835
+ ), S = c - (g || 0);
6836
+ return x && S < 0 ? { visibility: "hidden" } : i;
6810
6837
  }, [i, c, t]), e = Ot.useMemo(() => {
6811
6838
  if (c > o)
6812
6839
  return { visibility: "hidden" };
6813
6840
  const x = Rr(r);
6814
6841
  if (!x || x.length === 0) return {};
6815
6842
  let g = 0;
6816
- x.forEach((M) => {
6817
- const S = (M.durationInFrames || 0) + (M.delay || 0);
6818
- S > g && (g = S);
6843
+ x.forEach((w) => {
6844
+ const M = (w.durationInFrames || 0) + (w.delay || 0);
6845
+ M > g && (g = M);
6819
6846
  });
6820
- const w = Math.max(0, o - g);
6821
- return c < w ? {} : n;
6847
+ const S = Math.max(0, o - g);
6848
+ return c < S ? {} : n;
6822
6849
  }, [n, c, r, o]), d = ((a == null ? void 0 : a.transform) || "").match(/rotate\((-?[\d.]+)deg\)/), u = d ? parseFloat(d[1]) : 0, l = Ot.useMemo(() => {
6823
6850
  const x = {
6824
6851
  ...h
6825
6852
  // , ...timedStyle
6826
6853
  };
6827
- return Object.entries(e).forEach(([g, w]) => {
6828
- g === "transform" ? x[g] = `${x[g] || ""} ${w || ""}`.trim() : g in x && typeof x[g] == "number" && typeof w == "number" ? x[g] = x[g] * w : x[g] = w;
6854
+ return Object.entries(e).forEach(([g, S]) => {
6855
+ g === "transform" ? x[g] = `${x[g] || ""} ${S || ""}`.trim() : g in x && typeof x[g] == "number" && typeof S == "number" ? x[g] = x[g] * S : x[g] = S;
6829
6856
  }), x;
6830
6857
  }, [h, e]), v = br(() => {
6831
- const x = l.transform || "", { translateX: g, translateY: w, scale: M, rotation: S, rotateY: k } = js(x);
6832
- return `${S} ${g} ${w} ${M} ${k}`.trim();
6858
+ const x = l.transform || "", { translateX: g, translateY: S, scale: w, rotation: M, rotateY: k } = js(x);
6859
+ return `${M} ${g} ${S} ${w} ${k}`.trim();
6833
6860
  }, [l]);
6834
6861
  let b = i;
6835
6862
  return u > 0 && b.transform && b.transform.includes("translateX") && (b = {
@@ -6952,10 +6979,10 @@ const Zo = ({
6952
6979
  a,
6953
6980
  o
6954
6981
  ), p = s == null ? void 0 : s[t.id], d = (b, x, g) => {
6955
- const w = g, M = g, S = Math.PI * 2 / (b * 2);
6982
+ const S = g, w = g, M = Math.PI * 2 / (b * 2);
6956
6983
  let k = Number.POSITIVE_INFINITY, $ = Number.NEGATIVE_INFINITY, m = Number.POSITIVE_INFINITY, I = Number.NEGATIVE_INFINITY;
6957
6984
  for (let N = 0; N < b * 2; N++) {
6958
- const R = N % 2 === 0 ? g : x, O = S * N - Math.PI / 2, P = w + R * Math.cos(O), Y = M + R * Math.sin(O);
6985
+ const R = N % 2 === 0 ? g : x, O = M * N - Math.PI / 2, P = S + R * Math.cos(O), Y = w + R * Math.sin(O);
6959
6986
  k = Math.min(k, P), $ = Math.max($, P), m = Math.min(m, Y), I = Math.max(I, Y);
6960
6987
  }
6961
6988
  return {
@@ -6969,8 +6996,8 @@ const Zo = ({
6969
6996
  c.points || 5,
6970
6997
  c.innerRadius || 0,
6971
6998
  c.outerRadius || 0
6972
- ), x = p != null && p.width ? p.width / b.width : 1, g = p != null && p.height ? p.height / b.height : 1, w = Math.max(x, g);
6973
- u = (c.outerRadius || 0) * w, l = (c.innerRadius || 0) * w;
6999
+ ), x = p != null && p.width ? p.width / b.width : 1, g = p != null && p.height ? p.height / b.height : 1, S = Math.max(x, g);
7000
+ u = (c.outerRadius || 0) * S, l = (c.innerRadius || 0) * S;
6974
7001
  }
6975
7002
  const v = /* @__PURE__ */ f(
6976
7003
  dr,
@@ -7001,14 +7028,14 @@ const Zo = ({
7001
7028
  a,
7002
7029
  o
7003
7030
  ), { durationInFrames: e } = wt(t.display, o), p = s == null ? void 0 : s[t.id], d = (v, b) => {
7004
- const x = b, g = b, w = Math.PI * 2 / v;
7005
- let M = Number.POSITIVE_INFINITY, S = Number.NEGATIVE_INFINITY, k = Number.POSITIVE_INFINITY, $ = Number.NEGATIVE_INFINITY;
7031
+ const x = b, g = b, S = Math.PI * 2 / v;
7032
+ let w = Number.POSITIVE_INFINITY, M = Number.NEGATIVE_INFINITY, k = Number.POSITIVE_INFINITY, $ = Number.NEGATIVE_INFINITY;
7006
7033
  for (let m = 0; m < v; m++) {
7007
- const I = w * m - Math.PI / 2, N = x + b * Math.cos(I), R = g + b * Math.sin(I);
7008
- M = Math.min(M, N), S = Math.max(S, N), k = Math.min(k, R), $ = Math.max($, R);
7034
+ const I = S * m - Math.PI / 2, N = x + b * Math.cos(I), R = g + b * Math.sin(I);
7035
+ w = Math.min(w, N), M = Math.max(M, N), k = Math.min(k, R), $ = Math.max($, R);
7009
7036
  }
7010
7037
  return {
7011
- width: S - M,
7038
+ width: M - w,
7012
7039
  height: $ - k
7013
7040
  };
7014
7041
  };
@@ -7213,12 +7240,12 @@ const Zo = ({
7213
7240
  const l = Number(
7214
7241
  ((h = t.details) == null ? void 0 : h.fromX) ?? t.from ?? 0
7215
7242
  ), v = Number(((e = t.details) == null ? void 0 : e.toX) ?? t.to ?? 0), b = Number(((p = t.details) == null ? void 0 : p.fromY) ?? 0), x = Number(((d = t.details) == null ? void 0 : d.toY) ?? 0), g = Number(((u = t.details) == null ? void 0 : u.scale) || 1) || 1;
7216
- let w = a;
7217
- if (w == null || Number.isNaN(w)) {
7243
+ let S = a;
7244
+ if (S == null || Number.isNaN(S)) {
7218
7245
  const F = t.details;
7219
- w = qo((F == null ? void 0 : F.rotate) ?? (F == null ? void 0 : F.rotation) ?? (F == null ? void 0 : F.transform));
7246
+ S = qo((F == null ? void 0 : F.rotate) ?? (F == null ? void 0 : F.rotation) ?? (F == null ? void 0 : F.transform));
7220
7247
  }
7221
- const M = t.delay || 0, S = t.durationInFrames || 30, k = s ? [o - S - M, o - M] : [M, M + S], $ = C(r, k, [l, v], {
7248
+ const w = t.delay || 0, M = t.durationInFrames || 30, k = s ? [o - M - w, o - w] : [w, w + M], $ = C(r, k, [l, v], {
7222
7249
  extrapolateLeft: "clamp",
7223
7250
  extrapolateRight: "clamp",
7224
7251
  easing: t.ease
@@ -7226,7 +7253,7 @@ const Zo = ({
7226
7253
  extrapolateLeft: "clamp",
7227
7254
  extrapolateRight: "clamp",
7228
7255
  easing: t.ease
7229
- }), I = (w || 0) * Math.PI / 180, N = Math.cos(I), R = Math.sin(I), O = $ * N + m * R, P = -$ * R + m * N, Y = O / g, W = P / g;
7256
+ }), I = (S || 0) * Math.PI / 180, N = Math.cos(I), R = Math.sin(I), O = $ * N + m * R, P = -$ * R + m * N, Y = O / g, W = P / g;
7230
7257
  return {
7231
7258
  transform: `translateX(${Y}px) translateY(${W}px)`
7232
7259
  };
@@ -7292,38 +7319,38 @@ const Zo = ({
7292
7319
  !0
7293
7320
  ), d = Ot.useMemo(() => {
7294
7321
  var m;
7295
- const S = Object.keys(h).length > 0, k = (m = er(t)) == null ? void 0 : m.reduce(
7322
+ const M = Object.keys(h).length > 0, k = (m = er(t)) == null ? void 0 : m.reduce(
7296
7323
  (I, N) => Math.min(I, N.delay || 0),
7297
7324
  1 / 0
7298
7325
  ), $ = a - (k || 0);
7299
- return S && $ < 0 ? { visibility: c ? "visible" : "hidden" } : h;
7326
+ return M && $ < 0 ? { visibility: c ? "visible" : "hidden" } : h;
7300
7327
  }, [h, a, t, c]), u = Ot.useMemo(() => {
7301
- const S = er(r);
7302
- if (!S || S.length === 0) return {};
7328
+ const M = er(r);
7329
+ if (!M || M.length === 0) return {};
7303
7330
  let k = 0;
7304
- S.forEach((m) => {
7331
+ M.forEach((m) => {
7305
7332
  const I = (m.durationInFrames || 0) + (m.delay || 0);
7306
7333
  I > k && (k = I);
7307
7334
  });
7308
7335
  const $ = Math.max(0, s - k);
7309
7336
  return a < $ ? {} : a > s ? { visibility: c ? "visible" : "hidden" } : e;
7310
7337
  }, [e, a, r, s, c]), l = Ot.useMemo(() => {
7311
- const S = {
7338
+ const M = {
7312
7339
  ...d,
7313
7340
  ...p
7314
7341
  };
7315
7342
  return Object.entries(u).forEach(([k, $]) => {
7316
- k === "transform" ? S[k] = `${S[k] || ""} ${$ || ""}`.trim() : k in S && typeof S[k] == "number" && typeof $ == "number" ? S[k] = S[k] * $ : S[k] = $;
7317
- }), S;
7343
+ k === "transform" ? M[k] = `${M[k] || ""} ${$ || ""}`.trim() : k in M && typeof M[k] == "number" && typeof $ == "number" ? M[k] = M[k] * $ : M[k] = $;
7344
+ }), M;
7318
7345
  }, [d, p, u]), v = br(() => {
7319
- const S = l.transform || "", { translateX: k, translateY: $, scale: m, rotation: I, rotateY: N } = Us(S);
7346
+ const M = l.transform || "", { translateX: k, translateY: $, scale: m, rotation: I, rotateY: N } = Us(M);
7320
7347
  return `${I} ${k} ${$} ${m} ${N}`.trim();
7321
7348
  }, [l]), {
7322
7349
  top: b,
7323
7350
  left: x,
7324
7351
  position: g,
7325
- transform: w,
7326
- ...M
7352
+ transform: S,
7353
+ ...w
7327
7354
  } = n || {};
7328
7355
  return /* @__PURE__ */ f(
7329
7356
  "div",
@@ -7340,7 +7367,7 @@ const Zo = ({
7340
7367
  style: {
7341
7368
  width: "100%",
7342
7369
  height: "100%",
7343
- ...M,
7370
+ ...w,
7344
7371
  ...l,
7345
7372
  overflow: "visible",
7346
7373
  transform: v,
@@ -7370,7 +7397,7 @@ function Do({
7370
7397
  options: r
7371
7398
  }) {
7372
7399
  var R, O, P, Y, W;
7373
- const { fps: o, frame: s } = r, { details: a, animations: c } = t, { width: i, height: n, strokeWidth: h, strokeBackground: e, strokeColors: p } = a, { animationIn: d, animationOut: u } = Ft(c, t), { durationInFrames: l } = wt(t.display, o), v = i, b = n, x = h, g = v, w = b, M = v, S = b, k = g + w + M + S;
7400
+ const { fps: o, frame: s } = r, { details: a, animations: c } = t, { width: i, height: n, strokeWidth: h, strokeBackground: e, strokeColors: p } = a, { animationIn: d, animationOut: u } = Ft(c, t), { durationInFrames: l } = wt(t.display, o), v = i, b = n, x = h, g = v, S = b, w = v, M = b, k = g + S + w + M;
7374
7401
  let $ = 0;
7375
7402
  if (((R = c == null ? void 0 : c.out) == null ? void 0 : R.name) === "progressSquareAnimationOut") {
7376
7403
  const F = (O = c == null ? void 0 : c.out) == null ? void 0 : O.composition[0].durationInFrames, V = Math.max(
@@ -7392,7 +7419,7 @@ function Do({
7392
7419
  const m = $ * 100 / 100 * k, I = p[0] || "#4A90E2", N = /* @__PURE__ */ f(
7393
7420
  Hs,
7394
7421
  {
7395
- style: Gt(
7422
+ style: zt(
7396
7423
  a,
7397
7424
  {},
7398
7425
  {
@@ -7451,12 +7478,12 @@ function Do({
7451
7478
  top: 0,
7452
7479
  right: 0,
7453
7480
  width: x,
7454
- height: Math.min(m - g, w),
7481
+ height: Math.min(m - g, S),
7455
7482
  backgroundColor: I
7456
7483
  }
7457
7484
  }
7458
7485
  ),
7459
- m > g + w && /* @__PURE__ */ f(
7486
+ m > g + S && /* @__PURE__ */ f(
7460
7487
  "div",
7461
7488
  {
7462
7489
  style: {
@@ -7464,15 +7491,15 @@ function Do({
7464
7491
  bottom: 0,
7465
7492
  right: 0,
7466
7493
  width: Math.min(
7467
- m - g - w,
7468
- M
7494
+ m - g - S,
7495
+ w
7469
7496
  ),
7470
7497
  height: x,
7471
7498
  backgroundColor: I
7472
7499
  }
7473
7500
  }
7474
7501
  ),
7475
- m > g + w + M && /* @__PURE__ */ f(
7502
+ m > g + S + w && /* @__PURE__ */ f(
7476
7503
  "div",
7477
7504
  {
7478
7505
  style: {
@@ -7481,8 +7508,8 @@ function Do({
7481
7508
  left: 0,
7482
7509
  width: x,
7483
7510
  height: Math.min(
7484
- m - g - w - M,
7485
- S
7511
+ m - g - S - w,
7512
+ M
7486
7513
  ),
7487
7514
  backgroundColor: I
7488
7515
  }
@@ -7559,13 +7586,13 @@ const tn = (t) => {
7559
7586
  case "progressBar":
7560
7587
  return Vo({ item: t, options: r });
7561
7588
  case "linealAudioBars":
7562
- return Go({ item: t, options: r });
7589
+ return zo({ item: t, options: r });
7563
7590
  case "waveAudioBars":
7564
7591
  return Ao({ item: t, options: r });
7565
7592
  case "hillAudioBars":
7566
7593
  return Lo({ item: t, options: r });
7567
7594
  case "progressFrame":
7568
- return zo({ item: t, options: r });
7595
+ return Go({ item: t, options: r });
7569
7596
  case "radialAudioBars":
7570
7597
  return jo({ item: t, options: r });
7571
7598
  case "progressSquare":
@@ -7591,16 +7618,16 @@ function Qs({
7591
7618
  structure: u,
7592
7619
  frame: l,
7593
7620
  mergedTrackItemsDeatilsMap: v
7594
- } = r, b = sr(e || {}), { trim: x, display: g } = t, w = n && n.some(($) => !!b[$]) ? n : Object.keys(b), M = tn({
7595
- trackItemIds: sr(w),
7621
+ } = r, b = sr(e || {}), { trim: x, display: g } = t, S = n && n.some(($) => !!b[$]) ? n : Object.keys(b), w = tn({
7622
+ trackItemIds: sr(S),
7596
7623
  transitionsMap: sr(h || {}),
7597
7624
  trackItemsMap: b || {}
7598
- }), S = (x == null ? void 0 : x.from) || 0;
7599
- w.filter(($) => !!b[$]).forEach(($) => {
7625
+ }), M = (x == null ? void 0 : x.from) || 0;
7626
+ S.filter(($) => !!b[$]).forEach(($) => {
7600
7627
  const m = b[$];
7601
- m != null && m.display && (m.display.from = m.display.from - S, m.display.to = m.display.to - S);
7628
+ m != null && m.display && (m.display.from = m.display.from - M, m.display.to = m.display.to - M);
7602
7629
  });
7603
- const k = M.map(($, m) => {
7630
+ const k = w.map(($, m) => {
7604
7631
  var R, O, P, Y;
7605
7632
  if ($.length === 1) {
7606
7633
  if (!$[0]) return null;
@@ -7608,11 +7635,11 @@ function Qs({
7608
7635
  if (!W) return null;
7609
7636
  let F = {}, V = {}, X = [];
7610
7637
  if (W.type === "template") {
7611
- const _ = u == null ? void 0 : u.find((z) => z.id === W.id);
7638
+ const _ = u == null ? void 0 : u.find((j) => j.id === W.id);
7612
7639
  X = (_ == null ? void 0 : _.items) || [];
7613
- for (const z in v)
7614
- _ != null && _.items.includes(z) && (V[z] = {
7615
- ...v[z]
7640
+ for (const j in v)
7641
+ _ != null && _.items.includes(j) && (V[j] = {
7642
+ ...v[j]
7616
7643
  });
7617
7644
  return s(W, {
7618
7645
  fps: d,
@@ -7622,7 +7649,7 @@ function Qs({
7622
7649
  itemsTemplateIds: X,
7623
7650
  itemsTemplateMap: V,
7624
7651
  transitionsTemplateMap: F,
7625
- itemStructure: u == null ? void 0 : u.find((z) => z.id === W.id),
7652
+ itemStructure: u == null ? void 0 : u.find((j) => j.id === W.id),
7626
7653
  frame: (l ?? 0) - g.from * d / 1e3,
7627
7654
  size: {
7628
7655
  width: ((O = W.details) == null ? void 0 : O.width) || 0,
@@ -7696,7 +7723,7 @@ function Ks({
7696
7723
  n,
7697
7724
  i,
7698
7725
  r
7699
- ), x = sr(c || {}), w = tn({
7726
+ ), x = sr(c || {}), S = tn({
7700
7727
  trackItemIds: sr(a || []),
7701
7728
  transitionsMap: {},
7702
7729
  trackItemsMap: x
@@ -7721,12 +7748,12 @@ function Ks({
7721
7748
  }) : null;
7722
7749
  }
7723
7750
  return null;
7724
- }), M = w && w.map((R) => R), S = (n || 0) - t.display.from * i / 1e3, k = /* @__PURE__ */ f(
7751
+ }), w = S && S.map((R) => R), M = (n || 0) - t.display.from * i / 1e3, k = /* @__PURE__ */ f(
7725
7752
  Ht,
7726
7753
  {
7727
7754
  animationIn: l,
7728
7755
  animationOut: v,
7729
- frame: S,
7756
+ frame: M,
7730
7757
  durationInFrames: u,
7731
7758
  style: {
7732
7759
  ...t.details,
@@ -7738,7 +7765,7 @@ function Ks({
7738
7765
  {
7739
7766
  animationTimed: b,
7740
7767
  durationInFrames: u,
7741
- frame: S,
7768
+ frame: M,
7742
7769
  style: {
7743
7770
  ...t.details,
7744
7771
  width: t.details.width,
@@ -7757,9 +7784,9 @@ function Ks({
7757
7784
  ...v || [],
7758
7785
  ...b || []
7759
7786
  ],
7760
- frame: S,
7787
+ frame: M,
7761
7788
  durationInFrames: u,
7762
- children: M
7789
+ children: w
7763
7790
  }
7764
7791
  )
7765
7792
  }
@@ -7788,10 +7815,10 @@ const io = {
7788
7815
  }),
7789
7816
  illustration: (t, r) => go({ item: t, options: r }),
7790
7817
  progressBar: (t, r) => Vo({ item: t, options: r }),
7791
- linealAudioBars: (t, r) => Go({ item: t, options: r }),
7818
+ linealAudioBars: (t, r) => zo({ item: t, options: r }),
7792
7819
  waveAudioBars: (t, r) => Ao({ item: t, options: r }),
7793
7820
  hillAudioBars: (t, r) => Lo({ item: t, options: r }),
7794
- progressFrame: (t, r) => zo({ item: t, options: r }),
7821
+ progressFrame: (t, r) => Go({ item: t, options: r }),
7795
7822
  radialAudioBars: (t, r) => jo({ item: t, options: r }),
7796
7823
  progressSquare: (t, r) => Do({ item: t, options: r }),
7797
7824
  composition: (t, r) => Ks({
@@ -7810,10 +7837,10 @@ export {
7810
7837
  Lo as HillAudioBars,
7811
7838
  go as Illustration,
7812
7839
  Yo as Image,
7813
- Go as LinealAudioBars,
7840
+ zo as LinealAudioBars,
7814
7841
  Jo as Polygon,
7815
7842
  Vo as ProgressBar,
7816
- zo as ProgressFrame,
7843
+ Go as ProgressFrame,
7817
7844
  Do as ProgressSquare,
7818
7845
  jo as RadialAudioBars,
7819
7846
  Ho as Rect,
@@ -7828,13 +7855,13 @@ export {
7828
7855
  Ao as WaveAudioBars,
7829
7856
  bo as calculateBorderOverlayStyles,
7830
7857
  Mn as calculateContainerFigureStyles,
7831
- Gt as calculateContainerStyles,
7858
+ zt as calculateContainerStyles,
7832
7859
  Sn as calculateCropStyles,
7833
7860
  yo as calculateMediaStyles,
7834
7861
  rr as calculateTextStyles,
7835
- zr as getAnimatedRemotionEffects,
7862
+ Gr as getAnimatedRemotionEffects,
7836
7863
  Ft as getAnimations,
7837
7864
  wo as getEffectsCssInfo,
7838
7865
  tn as groupTrackItems,
7839
- Gr as mapRemotionEffects
7866
+ zr as mapRemotionEffects
7840
7867
  };