@oniratec/onira-react-ui 1.2.6 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -814,8 +814,8 @@ function FileUpload({
814
814
  placeholder: y = defaultPlaceholder,
815
815
  // ✅ NEW
816
816
  showPreview: q = !0,
817
- previewMode: G = "auto",
818
- maxPreviewItems: H = 4
817
+ previewMode: H = "auto",
818
+ maxPreviewItems: G = 4
819
819
  }) {
820
820
  const te = useId(), M = d ?? te, j = t ? `${M}-helper` : void 0, F = r ? `${M}-error` : void 0, Z = [j, F].filter(Boolean).join(" ") || void 0, Q = useRef(null), [ee, ie] = useState(l), [ae, le] = useState(!1), ue = n !== void 0, de = ue ? n : ee, fe = (W) => {
821
821
  const J = s ? W : W.slice(0, 1);
@@ -840,13 +840,13 @@ function FileUpload({
840
840
  fe(oe);
841
841
  }, se = useMemo(() => {
842
842
  if (!q) return [];
843
- const W = de.slice(0, H);
844
- return G === "image" || G === "auto" && W.some((oe) => isImageFile(oe)) ? W.filter((oe) => isImageFile(oe)).map((oe) => ({
843
+ const W = de.slice(0, G);
844
+ return H === "image" || H === "auto" && W.some((oe) => isImageFile(oe)) ? W.filter((oe) => isImageFile(oe)).map((oe) => ({
845
845
  key: getFileKey(oe),
846
846
  file: oe,
847
847
  url: URL.createObjectURL(oe)
848
848
  })) : [];
849
- }, [de, H, G, q]);
849
+ }, [de, G, H, q]);
850
850
  return useEffect(() => () => {
851
851
  for (const W of se) URL.revokeObjectURL(W.url);
852
852
  }, [se]), /* @__PURE__ */ jsxs("div", { className: "oniratec-file-upload", "data-disabled": i ? "true" : void 0, children: [
@@ -1209,14 +1209,14 @@ function requireLottie() {
1209
1209
  if (window.Worker && window.Blob && getWebWorker()) {
1210
1210
  var q = new Blob(["var _workerSelf = self; self.onmessage = ", y.toString()], {
1211
1211
  type: "text/javascript"
1212
- }), G = URL.createObjectURL(q);
1213
- return new Worker(G);
1212
+ }), H = URL.createObjectURL(q);
1213
+ return new Worker(H);
1214
1214
  }
1215
1215
  return r = y, s;
1216
1216
  }
1217
1217
  function l() {
1218
1218
  i || (i = n(function(q) {
1219
- function G() {
1219
+ function H() {
1220
1220
  function te(he, re) {
1221
1221
  var se, W, J = he.length, oe, ne, ce, me;
1222
1222
  for (W = 0; W < J; W += 1)
@@ -1457,7 +1457,7 @@ function requireLottie() {
1457
1457
  var ve = {};
1458
1458
  return ve.completeData = fe, ve.checkColors = ue, ve.checkChars = ae, ve.checkPathProperties = le, ve.checkShapes = de, ve.completeLayers = te, ve;
1459
1459
  }
1460
- if (a.dataManager || (a.dataManager = G()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ (function() {
1460
+ if (a.dataManager || (a.dataManager = H()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ (function() {
1461
1461
  function te(j) {
1462
1462
  var F = j.getResponseHeader("content-type");
1463
1463
  return F && j.responseType === "json" && F.indexOf("json") !== -1 || j.response && _typeof$5(j.response) === "object" ? j.response : j.response && typeof j.response == "string" ? JSON.parse(j.response) : j.responseText ? JSON.parse(j.responseText) : null;
@@ -1503,10 +1503,10 @@ function requireLottie() {
1503
1503
  });
1504
1504
  });
1505
1505
  else if (q.data.type === "complete") {
1506
- var H = q.data.animation;
1507
- a.dataManager.completeData(H), a.postMessage({
1506
+ var G = q.data.animation;
1507
+ a.dataManager.completeData(G), a.postMessage({
1508
1508
  id: q.data.id,
1509
- payload: H,
1509
+ payload: G,
1510
1510
  status: "success"
1511
1511
  });
1512
1512
  } else q.data.type === "loadData" && a.assetLoader.load(q.data.path, q.data.fullPath, function(te) {
@@ -1522,45 +1522,45 @@ function requireLottie() {
1522
1522
  });
1523
1523
  });
1524
1524
  }), i.onmessage = function(y) {
1525
- var q = y.data, G = q.id, H = t[G];
1526
- t[G] = null, q.status === "success" ? H.onComplete(q.payload) : H.onError && H.onError();
1525
+ var q = y.data, H = q.id, G = t[H];
1526
+ t[H] = null, q.status === "success" ? G.onComplete(q.payload) : G.onError && G.onError();
1527
1527
  });
1528
1528
  }
1529
1529
  function h(y, q) {
1530
1530
  e += 1;
1531
- var G = "processId_" + e;
1532
- return t[G] = {
1531
+ var H = "processId_" + e;
1532
+ return t[H] = {
1533
1533
  onComplete: y,
1534
1534
  onError: q
1535
- }, G;
1535
+ }, H;
1536
1536
  }
1537
- function d(y, q, G) {
1537
+ function d(y, q, H) {
1538
1538
  l();
1539
- var H = h(q, G);
1539
+ var G = h(q, H);
1540
1540
  i.postMessage({
1541
1541
  type: "loadAnimation",
1542
1542
  path: y,
1543
1543
  fullPath: window.location.origin + window.location.pathname,
1544
- id: H
1544
+ id: G
1545
1545
  });
1546
1546
  }
1547
- function V(y, q, G) {
1547
+ function V(y, q, H) {
1548
1548
  l();
1549
- var H = h(q, G);
1549
+ var G = h(q, H);
1550
1550
  i.postMessage({
1551
1551
  type: "loadData",
1552
1552
  path: y,
1553
1553
  fullPath: window.location.origin + window.location.pathname,
1554
- id: H
1554
+ id: G
1555
1555
  });
1556
1556
  }
1557
- function K(y, q, G) {
1557
+ function K(y, q, H) {
1558
1558
  l();
1559
- var H = h(q, G);
1559
+ var G = h(q, H);
1560
1560
  i.postMessage({
1561
1561
  type: "complete",
1562
1562
  animation: y,
1563
- id: H
1563
+ id: G
1564
1564
  });
1565
1565
  }
1566
1566
  return {
@@ -1656,10 +1656,10 @@ function requireLottie() {
1656
1656
  function q() {
1657
1657
  return this.totalImages === this.loadedAssets;
1658
1658
  }
1659
- function G() {
1659
+ function H() {
1660
1660
  return this.totalFootages === this.loadedFootagesCount;
1661
1661
  }
1662
- function H(M, j) {
1662
+ function G(M, j) {
1663
1663
  M === "svg" ? (this._elementHelper = j, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
1664
1664
  }
1665
1665
  function te() {
@@ -1670,14 +1670,14 @@ function requireLottie() {
1670
1670
  setAssetsPath: V,
1671
1671
  setPath: d,
1672
1672
  loadedImages: q,
1673
- loadedFootages: G,
1673
+ loadedFootages: H,
1674
1674
  destroy: y,
1675
1675
  getAsset: K,
1676
1676
  createImgData: n,
1677
1677
  createImageData: a,
1678
1678
  imageLoaded: t,
1679
1679
  footageLoaded: r,
1680
- setCacheType: H
1680
+ setCacheType: G
1681
1681
  }, te;
1682
1682
  })();
1683
1683
  function BaseEvent() {
@@ -2041,12 +2041,12 @@ function requireLottie() {
2041
2041
  var se = new AnimationItem();
2042
2042
  return y(se, null), se.setParams(re), se;
2043
2043
  }
2044
- function G(re, se) {
2044
+ function H(re, se) {
2045
2045
  var W;
2046
2046
  for (W = 0; W < i; W += 1)
2047
2047
  t[W].animation.setSpeed(re, se);
2048
2048
  }
2049
- function H(re, se) {
2049
+ function G(re, se) {
2050
2050
  var W;
2051
2051
  for (W = 0; W < i; W += 1)
2052
2052
  t[W].animation.setDirection(re, se);
@@ -2131,7 +2131,7 @@ function requireLottie() {
2131
2131
  for (se = 0; se < i; se += 1)
2132
2132
  t[se].animation.unmute(re);
2133
2133
  }
2134
- return e.registerAnimation = h, e.loadAnimation = q, e.setSpeed = G, e.setDirection = H, e.play = te, e.pause = F, e.stop = Q, e.togglePause = ee, e.searchAnimations = ae, e.resize = le, e.goToAndStop = Z, e.destroy = ie, e.freeze = de, e.unfreeze = fe, e.setVolume = pe, e.mute = ve, e.unmute = he, e.getRegisteredAnimations = d, e;
2134
+ return e.registerAnimation = h, e.loadAnimation = q, e.setSpeed = H, e.setDirection = G, e.play = te, e.pause = F, e.stop = Q, e.togglePause = ee, e.searchAnimations = ae, e.resize = le, e.goToAndStop = Z, e.destroy = ie, e.freeze = de, e.unfreeze = fe, e.setVolume = pe, e.mute = ve, e.unmute = he, e.getRegisteredAnimations = d, e;
2135
2135
  })(), BezierFactory = (function() {
2136
2136
  var e = {};
2137
2137
  e.getBezierEasing = r;
@@ -2156,10 +2156,10 @@ function requireLottie() {
2156
2156
  function q(j, F, Z) {
2157
2157
  return ((V(F, Z) * j + K(F, Z)) * j + y(F)) * j;
2158
2158
  }
2159
- function G(j, F, Z) {
2159
+ function H(j, F, Z) {
2160
2160
  return 3 * V(F, Z) * j * j + 2 * K(F, Z) * j + y(F);
2161
2161
  }
2162
- function H(j, F, Z, Q, ee) {
2162
+ function G(j, F, Z, Q, ee) {
2163
2163
  var ie, ae, le = 0;
2164
2164
  do
2165
2165
  ae = F + (Z - F) / 2, ie = q(ae, Q, ee) - j, ie > 0 ? Z = ae : F = ae;
@@ -2168,7 +2168,7 @@ function requireLottie() {
2168
2168
  }
2169
2169
  function te(j, F, Z, Q) {
2170
2170
  for (var ee = 0; ee < i; ++ee) {
2171
- var ie = G(F, Z, Q);
2171
+ var ie = H(F, Z, Q);
2172
2172
  if (ie === 0) return F;
2173
2173
  var ae = q(F, Z, Q) - j;
2174
2174
  F -= ae / ie;
@@ -2199,8 +2199,8 @@ function requireLottie() {
2199
2199
  for (var Z = this._p[0], Q = this._p[2], ee = this._mSampleValues, ie = 0, ae = 1, le = l - 1; ae !== le && ee[ae] <= F; ++ae)
2200
2200
  ie += h;
2201
2201
  --ae;
2202
- var ue = (F - ee[ae]) / (ee[ae + 1] - ee[ae]), de = ie + ue * h, fe = G(de, Z, Q);
2203
- return fe >= s ? te(F, de, Z, Q) : fe === 0 ? de : H(F, ie, ie + h, Z, Q);
2202
+ var ue = (F - ee[ae]) / (ee[ae + 1] - ee[ae]), de = ie + ue * h, fe = H(de, Z, Q);
2203
+ return fe >= s ? te(F, de, Z, Q) : fe === 0 ? de : G(F, ie, ie + h, Z, Q);
2204
2204
  }
2205
2205
  }, e;
2206
2206
  })(), pooling = /* @__PURE__ */ (function() {
@@ -2251,32 +2251,32 @@ function requireLottie() {
2251
2251
  })();
2252
2252
  function bezFunction() {
2253
2253
  var e = Math;
2254
- function t(y, q, G, H, te, M) {
2255
- var j = y * H + q * te + G * M - te * H - M * y - G * q;
2254
+ function t(y, q, H, G, te, M) {
2255
+ var j = y * G + q * te + H * M - te * G - M * y - H * q;
2256
2256
  return j > -1e-3 && j < 1e-3;
2257
2257
  }
2258
- function r(y, q, G, H, te, M, j, F, Z) {
2259
- if (G === 0 && M === 0 && Z === 0)
2260
- return t(y, q, H, te, j, F);
2261
- var Q = e.sqrt(e.pow(H - y, 2) + e.pow(te - q, 2) + e.pow(M - G, 2)), ee = e.sqrt(e.pow(j - y, 2) + e.pow(F - q, 2) + e.pow(Z - G, 2)), ie = e.sqrt(e.pow(j - H, 2) + e.pow(F - te, 2) + e.pow(Z - M, 2)), ae;
2258
+ function r(y, q, H, G, te, M, j, F, Z) {
2259
+ if (H === 0 && M === 0 && Z === 0)
2260
+ return t(y, q, G, te, j, F);
2261
+ var Q = e.sqrt(e.pow(G - y, 2) + e.pow(te - q, 2) + e.pow(M - H, 2)), ee = e.sqrt(e.pow(j - y, 2) + e.pow(F - q, 2) + e.pow(Z - H, 2)), ie = e.sqrt(e.pow(j - G, 2) + e.pow(F - te, 2) + e.pow(Z - M, 2)), ae;
2262
2262
  return Q > ee ? Q > ie ? ae = Q - ee - ie : ae = ie - ee - Q : ie > ee ? ae = ie - ee - Q : ae = ee - Q - ie, ae > -1e-4 && ae < 1e-4;
2263
2263
  }
2264
2264
  var i = /* @__PURE__ */ (function() {
2265
- return function(y, q, G, H) {
2265
+ return function(y, q, H, G) {
2266
2266
  var te = getDefaultCurveSegments(), M, j, F, Z, Q, ee = 0, ie, ae = [], le = [], ue = bezierLengthPool.newElement();
2267
- for (F = G.length, M = 0; M < te; M += 1) {
2267
+ for (F = H.length, M = 0; M < te; M += 1) {
2268
2268
  for (Q = M / (te - 1), ie = 0, j = 0; j < F; j += 1)
2269
- Z = bmPow(1 - Q, 3) * y[j] + 3 * bmPow(1 - Q, 2) * Q * G[j] + 3 * (1 - Q) * bmPow(Q, 2) * H[j] + bmPow(Q, 3) * q[j], ae[j] = Z, le[j] !== null && (ie += bmPow(ae[j] - le[j], 2)), le[j] = ae[j];
2269
+ Z = bmPow(1 - Q, 3) * y[j] + 3 * bmPow(1 - Q, 2) * Q * H[j] + 3 * (1 - Q) * bmPow(Q, 2) * G[j] + bmPow(Q, 3) * q[j], ae[j] = Z, le[j] !== null && (ie += bmPow(ae[j] - le[j], 2)), le[j] = ae[j];
2270
2270
  ie && (ie = bmSqrt(ie), ee += ie), ue.percents[M] = Q, ue.lengths[M] = ee;
2271
2271
  }
2272
2272
  return ue.addedLength = ee, ue;
2273
2273
  };
2274
2274
  })();
2275
2275
  function s(y) {
2276
- var q = segmentsLengthPool.newElement(), G = y.c, H = y.v, te = y.o, M = y.i, j, F = y._length, Z = q.lengths, Q = 0;
2276
+ var q = segmentsLengthPool.newElement(), H = y.c, G = y.v, te = y.o, M = y.i, j, F = y._length, Z = q.lengths, Q = 0;
2277
2277
  for (j = 0; j < F - 1; j += 1)
2278
- Z[j] = i(H[j], H[j + 1], te[j], M[j + 1]), Q += Z[j].addedLength;
2279
- return G && F && (Z[j] = i(H[j], H[0], te[j], M[0]), Q += Z[j].addedLength), q.totalLength = Q, q;
2278
+ Z[j] = i(G[j], G[j + 1], te[j], M[j + 1]), Q += Z[j].addedLength;
2279
+ return H && F && (Z[j] = i(G[j], G[0], te[j], M[0]), Q += Z[j].addedLength), q.totalLength = Q, q;
2280
2280
  }
2281
2281
  function a(y) {
2282
2282
  this.segmentLength = 0, this.points = new Array(y);
@@ -2286,15 +2286,15 @@ function requireLottie() {
2286
2286
  }
2287
2287
  var l = /* @__PURE__ */ (function() {
2288
2288
  var y = {};
2289
- return function(q, G, H, te) {
2290
- var M = (q[0] + "_" + q[1] + "_" + G[0] + "_" + G[1] + "_" + H[0] + "_" + H[1] + "_" + te[0] + "_" + te[1]).replace(/\./g, "p");
2289
+ return function(q, H, G, te) {
2290
+ var M = (q[0] + "_" + q[1] + "_" + H[0] + "_" + H[1] + "_" + G[0] + "_" + G[1] + "_" + te[0] + "_" + te[1]).replace(/\./g, "p");
2291
2291
  if (!y[M]) {
2292
2292
  var j = getDefaultCurveSegments(), F, Z, Q, ee, ie, ae = 0, le, ue, de = null;
2293
- q.length === 2 && (q[0] !== G[0] || q[1] !== G[1]) && t(q[0], q[1], G[0], G[1], q[0] + H[0], q[1] + H[1]) && t(q[0], q[1], G[0], G[1], G[0] + te[0], G[1] + te[1]) && (j = 2);
2293
+ q.length === 2 && (q[0] !== H[0] || q[1] !== H[1]) && t(q[0], q[1], H[0], H[1], q[0] + G[0], q[1] + G[1]) && t(q[0], q[1], H[0], H[1], H[0] + te[0], H[1] + te[1]) && (j = 2);
2294
2294
  var fe = new a(j);
2295
- for (Q = H.length, F = 0; F < j; F += 1) {
2295
+ for (Q = G.length, F = 0; F < j; F += 1) {
2296
2296
  for (ue = createSizedArray(Q), ie = F / (j - 1), le = 0, Z = 0; Z < Q; Z += 1)
2297
- ee = bmPow(1 - ie, 3) * q[Z] + 3 * bmPow(1 - ie, 2) * ie * (q[Z] + H[Z]) + 3 * (1 - ie) * bmPow(ie, 2) * (G[Z] + te[Z]) + bmPow(ie, 3) * G[Z], ue[Z] = ee, de !== null && (le += bmPow(ue[Z] - de[Z], 2));
2297
+ ee = bmPow(1 - ie, 3) * q[Z] + 3 * bmPow(1 - ie, 2) * ie * (q[Z] + G[Z]) + 3 * (1 - ie) * bmPow(ie, 2) * (H[Z] + te[Z]) + bmPow(ie, 3) * H[Z], ue[Z] = ee, de !== null && (le += bmPow(ue[Z] - de[Z], 2));
2298
2298
  le = bmSqrt(le), ae += le, fe.points[F] = new n(le, ue), de = ue;
2299
2299
  }
2300
2300
  fe.segmentLength = ae, y[M] = fe;
@@ -2303,29 +2303,29 @@ function requireLottie() {
2303
2303
  };
2304
2304
  })();
2305
2305
  function h(y, q) {
2306
- var G = q.percents, H = q.lengths, te = G.length, M = bmFloor((te - 1) * y), j = y * q.addedLength, F = 0;
2307
- if (M === te - 1 || M === 0 || j === H[M])
2308
- return G[M];
2309
- for (var Z = H[M] > j ? -1 : 1, Q = !0; Q; )
2310
- if (H[M] <= j && H[M + 1] > j ? (F = (j - H[M]) / (H[M + 1] - H[M]), Q = !1) : M += Z, M < 0 || M >= te - 1) {
2306
+ var H = q.percents, G = q.lengths, te = H.length, M = bmFloor((te - 1) * y), j = y * q.addedLength, F = 0;
2307
+ if (M === te - 1 || M === 0 || j === G[M])
2308
+ return H[M];
2309
+ for (var Z = G[M] > j ? -1 : 1, Q = !0; Q; )
2310
+ if (G[M] <= j && G[M + 1] > j ? (F = (j - G[M]) / (G[M + 1] - G[M]), Q = !1) : M += Z, M < 0 || M >= te - 1) {
2311
2311
  if (M === te - 1)
2312
- return G[M];
2312
+ return H[M];
2313
2313
  Q = !1;
2314
2314
  }
2315
- return G[M] + (G[M + 1] - G[M]) * F;
2315
+ return H[M] + (H[M + 1] - H[M]) * F;
2316
2316
  }
2317
- function d(y, q, G, H, te, M) {
2318
- var j = h(te, M), F = 1 - j, Z = e.round((F * F * F * y[0] + (j * F * F + F * j * F + F * F * j) * G[0] + (j * j * F + F * j * j + j * F * j) * H[0] + j * j * j * q[0]) * 1e3) / 1e3, Q = e.round((F * F * F * y[1] + (j * F * F + F * j * F + F * F * j) * G[1] + (j * j * F + F * j * j + j * F * j) * H[1] + j * j * j * q[1]) * 1e3) / 1e3;
2317
+ function d(y, q, H, G, te, M) {
2318
+ var j = h(te, M), F = 1 - j, Z = e.round((F * F * F * y[0] + (j * F * F + F * j * F + F * F * j) * H[0] + (j * j * F + F * j * j + j * F * j) * G[0] + j * j * j * q[0]) * 1e3) / 1e3, Q = e.round((F * F * F * y[1] + (j * F * F + F * j * F + F * F * j) * H[1] + (j * j * F + F * j * j + j * F * j) * G[1] + j * j * j * q[1]) * 1e3) / 1e3;
2319
2319
  return [Z, Q];
2320
2320
  }
2321
2321
  var V = createTypedArray("float32", 8);
2322
- function K(y, q, G, H, te, M, j) {
2322
+ function K(y, q, H, G, te, M, j) {
2323
2323
  te < 0 ? te = 0 : te > 1 && (te = 1);
2324
2324
  var F = h(te, j);
2325
2325
  M = M > 1 ? 1 : M;
2326
2326
  var Z = h(M, j), Q, ee = y.length, ie = 1 - F, ae = 1 - Z, le = ie * ie * ie, ue = F * ie * ie * 3, de = F * F * ie * 3, fe = F * F * F, pe = ie * ie * ae, ve = F * ie * ae + ie * F * ae + ie * ie * Z, he = F * F * ae + ie * F * Z + F * ie * Z, re = F * F * Z, se = ie * ae * ae, W = F * ae * ae + ie * Z * ae + ie * ae * Z, J = F * Z * ae + ie * Z * Z + F * ae * Z, oe = F * Z * Z, ne = ae * ae * ae, ce = Z * ae * ae + ae * Z * ae + ae * ae * Z, me = Z * Z * ae + ae * Z * Z + Z * ae * Z, ye = Z * Z * Z;
2327
2327
  for (Q = 0; Q < ee; Q += 1)
2328
- V[Q * 4] = e.round((le * y[Q] + ue * G[Q] + de * H[Q] + fe * q[Q]) * 1e3) / 1e3, V[Q * 4 + 1] = e.round((pe * y[Q] + ve * G[Q] + he * H[Q] + re * q[Q]) * 1e3) / 1e3, V[Q * 4 + 2] = e.round((se * y[Q] + W * G[Q] + J * H[Q] + oe * q[Q]) * 1e3) / 1e3, V[Q * 4 + 3] = e.round((ne * y[Q] + ce * G[Q] + me * H[Q] + ye * q[Q]) * 1e3) / 1e3;
2328
+ V[Q * 4] = e.round((le * y[Q] + ue * H[Q] + de * G[Q] + fe * q[Q]) * 1e3) / 1e3, V[Q * 4 + 1] = e.round((pe * y[Q] + ve * H[Q] + he * G[Q] + re * q[Q]) * 1e3) / 1e3, V[Q * 4 + 2] = e.round((se * y[Q] + W * H[Q] + J * G[Q] + oe * q[Q]) * 1e3) / 1e3, V[Q * 4 + 3] = e.round((ne * y[Q] + ce * H[Q] + me * G[Q] + ye * q[Q]) * 1e3) / 1e3;
2329
2329
  return V;
2330
2330
  }
2331
2331
  return {
@@ -2353,7 +2353,7 @@ function requireLottie() {
2353
2353
  a < n - 1 ? a += 1 : (s = 0, l = !1);
2354
2354
  }
2355
2355
  V = this.keyframesMetadata[a] || {};
2356
- var K, y, q, G, H, te, M = d.t - r, j = h.t - r, F;
2356
+ var K, y, q, H, G, te, M = d.t - r, j = h.t - r, F;
2357
2357
  if (h.to) {
2358
2358
  V.bezierData || (V.bezierData = bez.buildBezierData(h.s, d.s || h.e, h.to, h.ti));
2359
2359
  var Z = V.bezierData;
@@ -2364,19 +2364,19 @@ function requireLottie() {
2364
2364
  } else {
2365
2365
  V.__fnct ? te = V.__fnct : (te = BezierFactory.getBezierEasing(h.o.x, h.o.y, h.i.x, h.i.y, h.n).get, V.__fnct = te), q = te((e - j) / (M - j));
2366
2366
  var ee = Z.segmentLength * q, ie, ae = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
2367
- for (H = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, l = !0, G = Z.points.length; l; ) {
2368
- if (ae += Z.points[H].partialLength, ee === 0 || q === 0 || H === Z.points.length - 1) {
2369
- for (y = Z.points[H].point.length, K = 0; K < y; K += 1)
2370
- i[K] = Z.points[H].point[K];
2367
+ for (G = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, l = !0, H = Z.points.length; l; ) {
2368
+ if (ae += Z.points[G].partialLength, ee === 0 || q === 0 || G === Z.points.length - 1) {
2369
+ for (y = Z.points[G].point.length, K = 0; K < y; K += 1)
2370
+ i[K] = Z.points[G].point[K];
2371
2371
  break;
2372
- } else if (ee >= ae && ee < ae + Z.points[H + 1].partialLength) {
2373
- for (ie = (ee - ae) / Z.points[H + 1].partialLength, y = Z.points[H].point.length, K = 0; K < y; K += 1)
2374
- i[K] = Z.points[H].point[K] + (Z.points[H + 1].point[K] - Z.points[H].point[K]) * ie;
2372
+ } else if (ee >= ae && ee < ae + Z.points[G + 1].partialLength) {
2373
+ for (ie = (ee - ae) / Z.points[G + 1].partialLength, y = Z.points[G].point.length, K = 0; K < y; K += 1)
2374
+ i[K] = Z.points[G].point[K] + (Z.points[G + 1].point[K] - Z.points[G].point[K]) * ie;
2375
2375
  break;
2376
2376
  }
2377
- H < G - 1 ? H += 1 : l = !1;
2377
+ G < H - 1 ? G += 1 : l = !1;
2378
2378
  }
2379
- t._lastPoint = H, t._lastAddedLength = ae - Z.points[H].partialLength, t._lastKeyframeIndex = a;
2379
+ t._lastPoint = G, t._lastAddedLength = ae - Z.points[G].partialLength, t._lastKeyframeIndex = a;
2380
2380
  }
2381
2381
  } else {
2382
2382
  var le, ue, de, fe, pe;
@@ -2396,8 +2396,8 @@ function requireLottie() {
2396
2396
  return t.lastIndex = s, i;
2397
2397
  }
2398
2398
  function slerp(e, t, r) {
2399
- var i = [], s = e[0], a = e[1], n = e[2], l = e[3], h = t[0], d = t[1], V = t[2], K = t[3], y, q, G, H, te;
2400
- return q = s * h + a * d + n * V + l * K, q < 0 && (q = -q, h = -h, d = -d, V = -V, K = -K), 1 - q > 1e-6 ? (y = Math.acos(q), G = Math.sin(y), H = Math.sin((1 - r) * y) / G, te = Math.sin(r * y) / G) : (H = 1 - r, te = r), i[0] = H * s + te * h, i[1] = H * a + te * d, i[2] = H * n + te * V, i[3] = H * l + te * K, i;
2399
+ var i = [], s = e[0], a = e[1], n = e[2], l = e[3], h = t[0], d = t[1], V = t[2], K = t[3], y, q, H, G, te;
2400
+ return q = s * h + a * d + n * V + l * K, q < 0 && (q = -q, h = -h, d = -d, V = -V, K = -K), 1 - q > 1e-6 ? (y = Math.acos(q), H = Math.sin(y), G = Math.sin((1 - r) * y) / H, te = Math.sin(r * y) / H) : (G = 1 - r, te = r), i[0] = G * s + te * h, i[1] = G * a + te * d, i[2] = G * n + te * V, i[3] = G * l + te * K, i;
2401
2401
  }
2402
2402
  function quaternionToEuler(e, t) {
2403
2403
  var r = t[0], i = t[1], s = t[2], a = t[3], n = Math.atan2(2 * i * a - 2 * r * s, 1 - 2 * i * i - 2 * s * s), l = Math.asin(2 * r * i + 2 * s * a), h = Math.atan2(2 * r * a - 2 * i * s, 1 - 2 * r * r - 2 * s * s);
@@ -2759,14 +2759,14 @@ function requireLottie() {
2759
2759
  } else F === 5 ? Z = new y(M, j) : F === 6 ? Z = new V(M, j) : F === 7 && (Z = new K(M, j));
2760
2760
  return Z.k && M.addDynamicProperty(Z), Z;
2761
2761
  }
2762
- function G() {
2762
+ function H() {
2763
2763
  return l;
2764
2764
  }
2765
- function H() {
2765
+ function G() {
2766
2766
  return d;
2767
2767
  }
2768
2768
  var te = {};
2769
- return te.getShapeProp = q, te.getConstructorFunction = G, te.getKeyframedConstructorFunction = H, te;
2769
+ return te.getShapeProp = q, te.getConstructorFunction = H, te.getKeyframedConstructorFunction = G, te;
2770
2770
  })();
2771
2771
  var Matrix = /* @__PURE__ */ (function() {
2772
2772
  var e = Math.cos, t = Math.sin, r = Math.tan, i = Math.round;
@@ -2813,10 +2813,10 @@ function requireLottie() {
2813
2813
  function q(W, J, oe, ne, ce, me, ye, xe, be, Ce, Se, Ie, Ee, Pe, we, _e) {
2814
2814
  return this.props[0] = W, this.props[1] = J, this.props[2] = oe, this.props[3] = ne, this.props[4] = ce, this.props[5] = me, this.props[6] = ye, this.props[7] = xe, this.props[8] = be, this.props[9] = Ce, this.props[10] = Se, this.props[11] = Ie, this.props[12] = Ee, this.props[13] = Pe, this.props[14] = we, this.props[15] = _e, this;
2815
2815
  }
2816
- function G(W, J, oe) {
2816
+ function H(W, J, oe) {
2817
2817
  return oe = oe || 0, W !== 0 || J !== 0 || oe !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, W, J, oe, 1) : this;
2818
2818
  }
2819
- function H(W, J, oe, ne, ce, me, ye, xe, be, Ce, Se, Ie, Ee, Pe, we, _e) {
2819
+ function G(W, J, oe, ne, ce, me, ye, xe, be, Ce, Se, Ie, Ee, Pe, we, _e) {
2820
2820
  var ge = this.props;
2821
2821
  if (W === 1 && J === 0 && oe === 0 && ne === 0 && ce === 0 && me === 1 && ye === 0 && xe === 0 && be === 0 && Ce === 0 && Se === 1 && Ie === 0)
2822
2822
  return ge[12] = ge[12] * W + ge[15] * Ee, ge[13] = ge[13] * me + ge[15] * Pe, ge[14] = ge[14] * Se + ge[15] * we, ge[15] *= _e, this._identityCalculated = !1, this;
@@ -2913,7 +2913,7 @@ function requireLottie() {
2913
2913
  return "matrix(" + J + "," + oe + "," + ne + "," + ce + "," + me + "," + ye + ")";
2914
2914
  }
2915
2915
  return function() {
2916
- this.reset = s, this.rotate = a, this.rotateX = n, this.rotateY = l, this.rotateZ = h, this.skew = V, this.skewFromAxis = K, this.shear = d, this.scale = y, this.setTransform = q, this.translate = G, this.transform = H, this.multiply = te, this.applyToPoint = Q, this.applyToX = ee, this.applyToY = ie, this.applyToZ = ae, this.applyToPointArray = pe, this.applyToTriplePoints = fe, this.applyToPointStringified = ve, this.toCSS = he, this.to2dCSS = se, this.clone = F, this.cloneFromProps = Z, this.equals = j, this.inversePoints = de, this.inversePoint = ue, this.getInverseMatrix = le, this._t = this.transform, this.isIdentity = M, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
2916
+ this.reset = s, this.rotate = a, this.rotateX = n, this.rotateY = l, this.rotateZ = h, this.skew = V, this.skewFromAxis = K, this.shear = d, this.scale = y, this.setTransform = q, this.translate = H, this.transform = G, this.multiply = te, this.applyToPoint = Q, this.applyToX = ee, this.applyToY = ie, this.applyToZ = ae, this.applyToPointArray = pe, this.applyToTriplePoints = fe, this.applyToPointStringified = ve, this.toCSS = he, this.to2dCSS = se, this.clone = F, this.cloneFromProps = Z, this.equals = j, this.inversePoints = de, this.inversePoint = ue, this.getInverseMatrix = le, this._t = this.transform, this.isIdentity = M, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
2917
2917
  };
2918
2918
  })();
2919
2919
  function _typeof$3(e) {
@@ -3081,51 +3081,51 @@ function requireLottie() {
3081
3081
  for (n = 0; n < l; n += 1)
3082
3082
  this.shapes[n].pathsData.length = 0, this.shapes[n].shape._mdf = !0;
3083
3083
  } else {
3084
- var G = [], H, te;
3084
+ var H = [], G, te;
3085
3085
  for (n = 0; n < l; n += 1)
3086
- if (H = this.shapes[n], !H.shape._mdf && !this._mdf && !e && this.m !== 2)
3087
- H.shape.paths = H.localShapeCollection;
3086
+ if (G = this.shapes[n], !G.shape._mdf && !this._mdf && !e && this.m !== 2)
3087
+ G.shape.paths = G.localShapeCollection;
3088
3088
  else {
3089
- if (a = H.shape.paths, d = a._length, y = 0, !H.shape._mdf && H.pathsData.length)
3090
- y = H.totalShapeLength;
3089
+ if (a = G.shape.paths, d = a._length, y = 0, !G.shape._mdf && G.pathsData.length)
3090
+ y = G.totalShapeLength;
3091
3091
  else {
3092
- for (V = this.releasePathsData(H.pathsData), h = 0; h < d; h += 1)
3092
+ for (V = this.releasePathsData(G.pathsData), h = 0; h < d; h += 1)
3093
3093
  K = bez.getSegmentsLength(a.shapes[h]), V.push(K), y += K.totalLength;
3094
- H.totalShapeLength = y, H.pathsData = V;
3094
+ G.totalShapeLength = y, G.pathsData = V;
3095
3095
  }
3096
- q += y, H.shape._mdf = !0;
3096
+ q += y, G.shape._mdf = !0;
3097
3097
  }
3098
3098
  var M = t, j = r, F = 0, Z;
3099
3099
  for (n = l - 1; n >= 0; n -= 1)
3100
- if (H = this.shapes[n], H.shape._mdf) {
3101
- for (te = H.localShapeCollection, te.releaseShapes(), this.m === 2 && l > 1 ? (Z = this.calculateShapeEdges(t, r, H.totalShapeLength, F, q), F += H.totalShapeLength) : Z = [[M, j]], d = Z.length, h = 0; h < d; h += 1) {
3102
- M = Z[h][0], j = Z[h][1], G.length = 0, j <= 1 ? G.push({
3103
- s: H.totalShapeLength * M,
3104
- e: H.totalShapeLength * j
3105
- }) : M >= 1 ? G.push({
3106
- s: H.totalShapeLength * (M - 1),
3107
- e: H.totalShapeLength * (j - 1)
3108
- }) : (G.push({
3109
- s: H.totalShapeLength * M,
3110
- e: H.totalShapeLength
3111
- }), G.push({
3100
+ if (G = this.shapes[n], G.shape._mdf) {
3101
+ for (te = G.localShapeCollection, te.releaseShapes(), this.m === 2 && l > 1 ? (Z = this.calculateShapeEdges(t, r, G.totalShapeLength, F, q), F += G.totalShapeLength) : Z = [[M, j]], d = Z.length, h = 0; h < d; h += 1) {
3102
+ M = Z[h][0], j = Z[h][1], H.length = 0, j <= 1 ? H.push({
3103
+ s: G.totalShapeLength * M,
3104
+ e: G.totalShapeLength * j
3105
+ }) : M >= 1 ? H.push({
3106
+ s: G.totalShapeLength * (M - 1),
3107
+ e: G.totalShapeLength * (j - 1)
3108
+ }) : (H.push({
3109
+ s: G.totalShapeLength * M,
3110
+ e: G.totalShapeLength
3111
+ }), H.push({
3112
3112
  s: 0,
3113
- e: H.totalShapeLength * (j - 1)
3113
+ e: G.totalShapeLength * (j - 1)
3114
3114
  }));
3115
- var Q = this.addShapes(H, G[0]);
3116
- if (G[0].s !== G[0].e) {
3117
- if (G.length > 1) {
3118
- var ee = H.shape.paths.shapes[H.shape.paths._length - 1];
3115
+ var Q = this.addShapes(G, H[0]);
3116
+ if (H[0].s !== H[0].e) {
3117
+ if (H.length > 1) {
3118
+ var ee = G.shape.paths.shapes[G.shape.paths._length - 1];
3119
3119
  if (ee.c) {
3120
3120
  var ie = Q.pop();
3121
- this.addPaths(Q, te), Q = this.addShapes(H, G[1], ie);
3121
+ this.addPaths(Q, te), Q = this.addShapes(G, H[1], ie);
3122
3122
  } else
3123
- this.addPaths(Q, te), Q = this.addShapes(H, G[1]);
3123
+ this.addPaths(Q, te), Q = this.addShapes(G, H[1]);
3124
3124
  }
3125
3125
  this.addPaths(Q, te);
3126
3126
  }
3127
3127
  }
3128
- H.shape.paths = te;
3128
+ G.shape.paths = te;
3129
3129
  }
3130
3130
  }
3131
3131
  }, TrimModifier.prototype.addPaths = function(e, t) {
@@ -3137,8 +3137,8 @@ function requireLottie() {
3137
3137
  }, TrimModifier.prototype.addSegmentFromArray = function(e, t, r, i) {
3138
3138
  t.setXYAt(e[1], e[5], "o", r), t.setXYAt(e[2], e[6], "i", r + 1), i && t.setXYAt(e[0], e[4], "v", r), t.setXYAt(e[3], e[7], "v", r + 1);
3139
3139
  }, TrimModifier.prototype.addShapes = function(e, t, r) {
3140
- var i = e.pathsData, s = e.shape.paths.shapes, a, n = e.shape.paths._length, l, h, d = 0, V, K, y, q, G = [], H, te = !0;
3141
- for (r ? (K = r._length, H = r._length) : (r = shapePool.newElement(), K = 0, H = 0), G.push(r), a = 0; a < n; a += 1) {
3140
+ var i = e.pathsData, s = e.shape.paths.shapes, a, n = e.shape.paths._length, l, h, d = 0, V, K, y, q, H = [], G, te = !0;
3141
+ for (r ? (K = r._length, G = r._length) : (r = shapePool.newElement(), K = 0, G = 0), H.push(r), a = 0; a < n; a += 1) {
3142
3142
  for (y = i[a].lengths, r.c = s[a].c, h = s[a].c ? y.length : y.length + 1, l = 1; l < h; l += 1)
3143
3143
  if (V = y[l - 1], d + V.addedLength < t.s)
3144
3144
  d += V.addedLength, r.c = !1;
@@ -3155,11 +3155,11 @@ function requireLottie() {
3155
3155
  r.c = !1;
3156
3156
  d += V.addedLength, K += 1;
3157
3157
  }
3158
- if (r._length && (r.setXYAt(r.v[H][0], r.v[H][1], "i", H), r.setXYAt(r.v[r._length - 1][0], r.v[r._length - 1][1], "o", r._length - 1)), d > t.e)
3158
+ if (r._length && (r.setXYAt(r.v[G][0], r.v[G][1], "i", G), r.setXYAt(r.v[r._length - 1][0], r.v[r._length - 1][1], "o", r._length - 1)), d > t.e)
3159
3159
  break;
3160
- a < n - 1 && (r = shapePool.newElement(), te = !0, G.push(r), K = 0);
3160
+ a < n - 1 && (r = shapePool.newElement(), te = !0, H.push(r), K = 0);
3161
3161
  }
3162
- return G;
3162
+ return H;
3163
3163
  };
3164
3164
  function PuckerAndBloatModifier() {
3165
3165
  }
@@ -3365,22 +3365,22 @@ function requireLottie() {
3365
3365
  a += 1;
3366
3366
  }
3367
3367
  this._currentCopies = l;
3368
- var y = this.o.v, q = y % 1, G = y > 0 ? Math.floor(y) : Math.ceil(y), H = this.pMatrix.props, te = this.rMatrix.props, M = this.sMatrix.props;
3368
+ var y = this.o.v, q = y % 1, H = y > 0 ? Math.floor(y) : Math.ceil(y), G = this.pMatrix.props, te = this.rMatrix.props, M = this.sMatrix.props;
3369
3369
  this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
3370
3370
  var j = 0;
3371
3371
  if (y > 0) {
3372
- for (; j < G; )
3372
+ for (; j < H; )
3373
3373
  this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), j += 1;
3374
3374
  q && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, q, !1), j += q);
3375
3375
  } else if (y < 0) {
3376
- for (; j > G; )
3376
+ for (; j > H; )
3377
3377
  this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), j -= 1;
3378
3378
  q && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -q, !0), j -= q);
3379
3379
  }
3380
3380
  i = this.data.m === 1 ? 0 : this._currentCopies - 1, s = this.data.m === 1 ? 1 : -1, a = this._currentCopies;
3381
3381
  for (var F, Z; a; ) {
3382
3382
  if (t = this.elemsData[i].it, r = t[t.length - 1].transform.mProps.v.props, Z = r.length, t[t.length - 1].transform.mProps._mdf = !0, t[t.length - 1].transform.op._mdf = !0, t[t.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (i / (this._currentCopies - 1)), j !== 0) {
3383
- for ((i !== 0 && s === 1 || i !== this._currentCopies - 1 && s === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(te[0], te[1], te[2], te[3], te[4], te[5], te[6], te[7], te[8], te[9], te[10], te[11], te[12], te[13], te[14], te[15]), this.matrix.transform(M[0], M[1], M[2], M[3], M[4], M[5], M[6], M[7], M[8], M[9], M[10], M[11], M[12], M[13], M[14], M[15]), this.matrix.transform(H[0], H[1], H[2], H[3], H[4], H[5], H[6], H[7], H[8], H[9], H[10], H[11], H[12], H[13], H[14], H[15]), F = 0; F < Z; F += 1)
3383
+ for ((i !== 0 && s === 1 || i !== this._currentCopies - 1 && s === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(te[0], te[1], te[2], te[3], te[4], te[5], te[6], te[7], te[8], te[9], te[10], te[11], te[12], te[13], te[14], te[15]), this.matrix.transform(M[0], M[1], M[2], M[3], M[4], M[5], M[6], M[7], M[8], M[9], M[10], M[11], M[12], M[13], M[14], M[15]), this.matrix.transform(G[0], G[1], G[2], G[3], G[4], G[5], G[6], G[7], G[8], G[9], G[10], G[11], G[12], G[13], G[14], G[15]), F = 0; F < Z; F += 1)
3384
3384
  r[F] = this.matrix.props[F];
3385
3385
  this.matrix.reset();
3386
3386
  } else
@@ -3401,9 +3401,9 @@ function requireLottie() {
3401
3401
  }, RoundCornersModifier.prototype.processPath = function(e, t) {
3402
3402
  var r = shapePool.newElement();
3403
3403
  r.c = e.c;
3404
- var i, s = e._length, a, n, l, h, d, V, K = 0, y, q, G, H, te, M;
3404
+ var i, s = e._length, a, n, l, h, d, V, K = 0, y, q, H, G, te, M;
3405
3405
  for (i = 0; i < s; i += 1)
3406
- a = e.v[i], l = e.o[i], n = e.i[i], a[0] === l[0] && a[1] === l[1] && a[0] === n[0] && a[1] === n[1] ? (i === 0 || i === s - 1) && !e.c ? (r.setTripleAt(a[0], a[1], l[0], l[1], n[0], n[1], K), K += 1) : (i === 0 ? h = e.v[s - 1] : h = e.v[i - 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, te = a[0] + (h[0] - a[0]) * V, y = te, M = a[1] - (a[1] - h[1]) * V, q = M, G = y - (y - a[0]) * roundCorner, H = q - (q - a[1]) * roundCorner, r.setTripleAt(y, q, G, H, te, M, K), K += 1, i === s - 1 ? h = e.v[0] : h = e.v[i + 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, G = a[0] + (h[0] - a[0]) * V, y = G, H = a[1] + (h[1] - a[1]) * V, q = H, te = y - (y - a[0]) * roundCorner, M = q - (q - a[1]) * roundCorner, r.setTripleAt(y, q, G, H, te, M, K), K += 1) : (r.setTripleAt(e.v[i][0], e.v[i][1], e.o[i][0], e.o[i][1], e.i[i][0], e.i[i][1], K), K += 1);
3406
+ a = e.v[i], l = e.o[i], n = e.i[i], a[0] === l[0] && a[1] === l[1] && a[0] === n[0] && a[1] === n[1] ? (i === 0 || i === s - 1) && !e.c ? (r.setTripleAt(a[0], a[1], l[0], l[1], n[0], n[1], K), K += 1) : (i === 0 ? h = e.v[s - 1] : h = e.v[i - 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, te = a[0] + (h[0] - a[0]) * V, y = te, M = a[1] - (a[1] - h[1]) * V, q = M, H = y - (y - a[0]) * roundCorner, G = q - (q - a[1]) * roundCorner, r.setTripleAt(y, q, H, G, te, M, K), K += 1, i === s - 1 ? h = e.v[0] : h = e.v[i + 1], d = Math.sqrt(Math.pow(a[0] - h[0], 2) + Math.pow(a[1] - h[1], 2)), V = d ? Math.min(d / 2, t) / d : 0, H = a[0] + (h[0] - a[0]) * V, y = H, G = a[1] + (h[1] - a[1]) * V, q = G, te = y - (y - a[0]) * roundCorner, M = q - (q - a[1]) * roundCorner, r.setTripleAt(y, q, H, G, te, M, K), K += 1) : (r.setTripleAt(e.v[i][0], e.v[i][1], e.o[i][0], e.o[i][1], e.i[i][0], e.i[i][1], K), K += 1);
3407
3407
  return r;
3408
3408
  }, RoundCornersModifier.prototype.processShapes = function(e) {
3409
3409
  var t, r, i = this.shapes.length, s, a, n = this.rd.v;
@@ -3634,8 +3634,8 @@ function requireLottie() {
3634
3634
  var l = -t.tangentAngle(1), h = -r.tangentAngle(0) + Math.PI, d = lineIntersection(a, polarOffset(a, l + Math.PI / 2, 100), n, polarOffset(n, l + Math.PI / 2, 100)), V = d ? pointDistance(d, a) : pointDistance(a, n) / 2, K = polarOffset(a, l, 2 * V * roundCorner);
3635
3635
  return e.setXYAt(K[0], K[1], "o", e.length() - 1), K = polarOffset(n, h, 2 * V * roundCorner), e.setTripleAt(n[0], n[1], n[0], n[1], K[0], K[1], e.length()), n;
3636
3636
  }
3637
- var y = pointEqual(a, t.points[2]) ? t.points[0] : t.points[2], q = pointEqual(n, r.points[1]) ? r.points[3] : r.points[1], G = lineIntersection(y, a, n, q);
3638
- return G && pointDistance(G, a) < s ? (e.setTripleAt(G[0], G[1], G[0], G[1], G[0], G[1], e.length()), G) : a;
3637
+ var y = pointEqual(a, t.points[2]) ? t.points[0] : t.points[2], q = pointEqual(n, r.points[1]) ? r.points[3] : r.points[1], H = lineIntersection(y, a, n, q);
3638
+ return H && pointDistance(H, a) < s ? (e.setTripleAt(H[0], H[1], H[0], H[1], H[0], H[1], e.length()), H) : a;
3639
3639
  }
3640
3640
  function getIntersection(e, t) {
3641
3641
  var r = e.intersections(t);
@@ -3754,13 +3754,13 @@ function requireLottie() {
3754
3754
  parent: W
3755
3755
  };
3756
3756
  }
3757
- function G() {
3757
+ function H() {
3758
3758
  var re, se = this.fonts.length, W, J, oe = se;
3759
3759
  for (re = 0; re < se; re += 1)
3760
3760
  this.fonts[re].loaded ? oe -= 1 : this.fonts[re].fOrigin === "n" || this.fonts[re].origin === 0 ? this.fonts[re].loaded = !0 : (W = this.fonts[re].monoCase.node, J = this.fonts[re].monoCase.w, W.offsetWidth !== J ? (oe -= 1, this.fonts[re].loaded = !0) : (W = this.fonts[re].sansCase.node, J = this.fonts[re].sansCase.w, W.offsetWidth !== J && (oe -= 1, this.fonts[re].loaded = !0)), this.fonts[re].loaded && (this.fonts[re].sansCase.parent.parentNode.removeChild(this.fonts[re].sansCase.parent), this.fonts[re].monoCase.parent.parentNode.removeChild(this.fonts[re].monoCase.parent)));
3761
3761
  oe !== 0 && Date.now() - this.initTime < e ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
3762
3762
  }
3763
- function H(re, se) {
3763
+ function G(re, se) {
3764
3764
  var W = document.body && se ? "svg" : "canvas", J, oe = getFontProperties(re);
3765
3765
  if (W === "svg") {
3766
3766
  var ne = createNS("text");
@@ -3787,7 +3787,7 @@ function requireLottie() {
3787
3787
  }
3788
3788
  if (!document.body) {
3789
3789
  this.isLoaded = !0, re.list.forEach(function(Se) {
3790
- Se.helper = H(Se), Se.cache = {};
3790
+ Se.helper = G(Se), Se.cache = {};
3791
3791
  }), this.fonts = re.list;
3792
3792
  return;
3793
3793
  }
@@ -3816,7 +3816,7 @@ function requireLottie() {
3816
3816
  Ce.setAttribute("f-forigin", W[J].fOrigin), Ce.setAttribute("f-origin", W[J].origin), Ce.setAttribute("rel", "stylesheet"), Ce.setAttribute("href", W[J].fPath), se.appendChild(Ce);
3817
3817
  }
3818
3818
  }
3819
- W[J].helper = H(W[J], se), W[J].cache = {}, this.fonts.push(W[J]);
3819
+ W[J].helper = G(W[J], se), W[J].cache = {}, this.fonts.push(W[J]);
3820
3820
  }
3821
3821
  ne === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
3822
3822
  }
@@ -3912,7 +3912,7 @@ function requireLottie() {
3912
3912
  getCharData: j,
3913
3913
  getFontByName: Z,
3914
3914
  measureText: F,
3915
- checkLoadedFonts: G,
3915
+ checkLoadedFonts: H,
3916
3916
  setIsLoaded: pe
3917
3917
  };
3918
3918
  return ve.prototype = he, ve;
@@ -4372,7 +4372,7 @@ function requireLottie() {
4372
4372
  this.data = e, this.element = t, this.globalData = r, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
4373
4373
  var i = this.globalData.defs, s, a = this.masksProperties ? this.masksProperties.length : 0;
4374
4374
  this.viewData = createSizedArray(a), this.solidPath = "";
4375
- var n, l = this.masksProperties, h = 0, d = [], V, K, y = createElementID(), q, G, H, te, M = "clipPath", j = "clip-path";
4375
+ var n, l = this.masksProperties, h = 0, d = [], V, K, y = createElementID(), q, H, G, te, M = "clipPath", j = "clip-path";
4376
4376
  for (s = 0; s < a; s += 1)
4377
4377
  if ((l[s].mode !== "a" && l[s].mode !== "n" || l[s].inv || l[s].o.k !== 100 || l[s].o.x) && (M = "mask", j = "mask"), (l[s].mode === "s" || l[s].mode === "i") && h === 0 ? (q = createNS("rect"), q.setAttribute("fill", "#ffffff"), q.setAttribute("width", this.element.comp.data.w || 0), q.setAttribute("height", this.element.comp.data.h || 0), d.push(q)) : q = null, n = createNS("path"), l[s].mode === "n")
4378
4378
  this.viewData[s] = {
@@ -4384,10 +4384,10 @@ function requireLottie() {
4384
4384
  else {
4385
4385
  h += 1, n.setAttribute("fill", l[s].mode === "s" ? "#000000" : "#ffffff"), n.setAttribute("clip-rule", "nonzero");
4386
4386
  var F;
4387
- if (l[s].x.k !== 0 ? (M = "mask", j = "mask", te = PropertyFactory.getProp(this.element, l[s].x, 0, null, this.element), F = createElementID(), G = createNS("filter"), G.setAttribute("id", F), H = createNS("feMorphology"), H.setAttribute("operator", "erode"), H.setAttribute("in", "SourceGraphic"), H.setAttribute("radius", "0"), G.appendChild(H), i.appendChild(G), n.setAttribute("stroke", l[s].mode === "s" ? "#000000" : "#ffffff")) : (H = null, te = null), this.storedData[s] = {
4387
+ if (l[s].x.k !== 0 ? (M = "mask", j = "mask", te = PropertyFactory.getProp(this.element, l[s].x, 0, null, this.element), F = createElementID(), H = createNS("filter"), H.setAttribute("id", F), G = createNS("feMorphology"), G.setAttribute("operator", "erode"), G.setAttribute("in", "SourceGraphic"), G.setAttribute("radius", "0"), H.appendChild(G), i.appendChild(H), n.setAttribute("stroke", l[s].mode === "s" ? "#000000" : "#ffffff")) : (G = null, te = null), this.storedData[s] = {
4388
4388
  elem: n,
4389
4389
  x: te,
4390
- expan: H,
4390
+ expan: G,
4391
4391
  lastPath: "",
4392
4392
  lastOperator: "",
4393
4393
  filterId: F,
@@ -4865,7 +4865,7 @@ function requireLottie() {
4865
4865
  function a() {
4866
4866
  }
4867
4867
  function n(K, y, q) {
4868
- var G, H, te, M, j, F, Z = y.styles.length, Q = y.lvl, ee, ie, ae, le;
4868
+ var H, G, te, M, j, F, Z = y.styles.length, Q = y.lvl, ee, ie, ae, le;
4869
4869
  for (F = 0; F < Z; F += 1) {
4870
4870
  if (M = y.sh._mdf || q, y.styles[F].lvl < Q) {
4871
4871
  for (ie = t.reset(), ae = Q - y.styles[F].lvl, le = y.transformers.length - 1; !M && ae > 0; )
@@ -4875,9 +4875,9 @@ function requireLottie() {
4875
4875
  ie.multiply(y.transformers[le].mProps.v), ae -= 1, le -= 1;
4876
4876
  } else
4877
4877
  ie = e;
4878
- if (ee = y.sh.paths, H = ee._length, M) {
4879
- for (te = "", G = 0; G < H; G += 1)
4880
- j = ee.shapes[G], j && j._length && (te += buildShapeString(j, j._length, j.c, ie));
4878
+ if (ee = y.sh.paths, G = ee._length, M) {
4879
+ for (te = "", H = 0; H < G; H += 1)
4880
+ j = ee.shapes[H], j && j._length && (te += buildShapeString(j, j._length, j.c, ie));
4881
4881
  y.caches[F] = te;
4882
4882
  } else
4883
4883
  te = y.caches[F];
@@ -4885,21 +4885,21 @@ function requireLottie() {
4885
4885
  }
4886
4886
  }
4887
4887
  function l(K, y, q) {
4888
- var G = y.style;
4889
- (y.c._mdf || q) && G.pElem.setAttribute("fill", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || q) && G.pElem.setAttribute("fill-opacity", y.o.v);
4888
+ var H = y.style;
4889
+ (y.c._mdf || q) && H.pElem.setAttribute("fill", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || q) && H.pElem.setAttribute("fill-opacity", y.o.v);
4890
4890
  }
4891
4891
  function h(K, y, q) {
4892
4892
  d(K, y, q), V(K, y, q);
4893
4893
  }
4894
4894
  function d(K, y, q) {
4895
- var G = y.gf, H = y.g._hasOpacity, te = y.s.v, M = y.e.v;
4895
+ var H = y.gf, G = y.g._hasOpacity, te = y.s.v, M = y.e.v;
4896
4896
  if (y.o._mdf || q) {
4897
4897
  var j = K.ty === "gf" ? "fill-opacity" : "stroke-opacity";
4898
4898
  y.style.pElem.setAttribute(j, y.o.v);
4899
4899
  }
4900
4900
  if (y.s._mdf || q) {
4901
4901
  var F = K.t === 1 ? "x1" : "cx", Z = F === "x1" ? "y1" : "cy";
4902
- G.setAttribute(F, te[0]), G.setAttribute(Z, te[1]), H && !y.g._collapsable && (y.of.setAttribute(F, te[0]), y.of.setAttribute(Z, te[1]));
4902
+ H.setAttribute(F, te[0]), H.setAttribute(Z, te[1]), G && !y.g._collapsable && (y.of.setAttribute(F, te[0]), y.of.setAttribute(Z, te[1]));
4903
4903
  }
4904
4904
  var Q, ee, ie, ae;
4905
4905
  if (y.g._cmdf || q) {
@@ -4908,27 +4908,27 @@ function requireLottie() {
4908
4908
  for (ie = Q.length, ee = 0; ee < ie; ee += 1)
4909
4909
  ae = Q[ee], ae.setAttribute("offset", le[ee * 4] + "%"), ae.setAttribute("stop-color", "rgb(" + le[ee * 4 + 1] + "," + le[ee * 4 + 2] + "," + le[ee * 4 + 3] + ")");
4910
4910
  }
4911
- if (H && (y.g._omdf || q)) {
4911
+ if (G && (y.g._omdf || q)) {
4912
4912
  var ue = y.g.o;
4913
4913
  for (y.g._collapsable ? Q = y.cst : Q = y.ost, ie = Q.length, ee = 0; ee < ie; ee += 1)
4914
4914
  ae = Q[ee], y.g._collapsable || ae.setAttribute("offset", ue[ee * 2] + "%"), ae.setAttribute("stop-opacity", ue[ee * 2 + 1]);
4915
4915
  }
4916
4916
  if (K.t === 1)
4917
- (y.e._mdf || q) && (G.setAttribute("x2", M[0]), G.setAttribute("y2", M[1]), H && !y.g._collapsable && (y.of.setAttribute("x2", M[0]), y.of.setAttribute("y2", M[1])));
4917
+ (y.e._mdf || q) && (H.setAttribute("x2", M[0]), H.setAttribute("y2", M[1]), G && !y.g._collapsable && (y.of.setAttribute("x2", M[0]), y.of.setAttribute("y2", M[1])));
4918
4918
  else {
4919
4919
  var de;
4920
- if ((y.s._mdf || y.e._mdf || q) && (de = Math.sqrt(Math.pow(te[0] - M[0], 2) + Math.pow(te[1] - M[1], 2)), G.setAttribute("r", de), H && !y.g._collapsable && y.of.setAttribute("r", de)), y.s._mdf || y.e._mdf || y.h._mdf || y.a._mdf || q) {
4920
+ if ((y.s._mdf || y.e._mdf || q) && (de = Math.sqrt(Math.pow(te[0] - M[0], 2) + Math.pow(te[1] - M[1], 2)), H.setAttribute("r", de), G && !y.g._collapsable && y.of.setAttribute("r", de)), y.s._mdf || y.e._mdf || y.h._mdf || y.a._mdf || q) {
4921
4921
  de || (de = Math.sqrt(Math.pow(te[0] - M[0], 2) + Math.pow(te[1] - M[1], 2)));
4922
4922
  var fe = Math.atan2(M[1] - te[1], M[0] - te[0]), pe = y.h.v;
4923
4923
  pe >= 1 ? pe = 0.99 : pe <= -1 && (pe = -0.99);
4924
4924
  var ve = de * pe, he = Math.cos(fe + y.a.v) * ve + te[0], re = Math.sin(fe + y.a.v) * ve + te[1];
4925
- G.setAttribute("fx", he), G.setAttribute("fy", re), H && !y.g._collapsable && (y.of.setAttribute("fx", he), y.of.setAttribute("fy", re));
4925
+ H.setAttribute("fx", he), H.setAttribute("fy", re), G && !y.g._collapsable && (y.of.setAttribute("fx", he), y.of.setAttribute("fy", re));
4926
4926
  }
4927
4927
  }
4928
4928
  }
4929
4929
  function V(K, y, q) {
4930
- var G = y.style, H = y.d;
4931
- H && (H._mdf || q) && H.dashStr && (G.pElem.setAttribute("stroke-dasharray", H.dashStr), G.pElem.setAttribute("stroke-dashoffset", H.dashoffset[0])), y.c && (y.c._mdf || q) && G.pElem.setAttribute("stroke", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || q) && G.pElem.setAttribute("stroke-opacity", y.o.v), (y.w._mdf || q) && (G.pElem.setAttribute("stroke-width", y.w.v), G.msElem && G.msElem.setAttribute("stroke-width", y.w.v));
4930
+ var H = y.style, G = y.d;
4931
+ G && (G._mdf || q) && G.dashStr && (H.pElem.setAttribute("stroke-dasharray", G.dashStr), H.pElem.setAttribute("stroke-dashoffset", G.dashoffset[0])), y.c && (y.c._mdf || q) && H.pElem.setAttribute("stroke", "rgb(" + bmFloor(y.c.v[0]) + "," + bmFloor(y.c.v[1]) + "," + bmFloor(y.c.v[2]) + ")"), (y.o._mdf || q) && H.pElem.setAttribute("stroke-opacity", y.o.v), (y.w._mdf || q) && (H.pElem.setAttribute("stroke-width", y.w.v), H.msElem && H.msElem.setAttribute("stroke-width", y.w.v));
4932
4932
  }
4933
4933
  return r;
4934
4934
  })();
@@ -4996,7 +4996,7 @@ function requireLottie() {
4996
4996
  this.dynamicProperties[e].getValue();
4997
4997
  this.renderModifiers();
4998
4998
  }, SVGShapeElement.prototype.searchShapes = function(e, t, r, i, s, a, n) {
4999
- var l = [].concat(a), h, d = e.length - 1, V, K, y = [], q = [], G, H, te;
4999
+ var l = [].concat(a), h, d = e.length - 1, V, K, y = [], q = [], H, G, te;
5000
5000
  for (h = d; h >= 0; h -= 1) {
5001
5001
  if (te = this.searchProcessedElement(e[h]), te ? t[h] = r[te - 1] : e[h]._render = n, e[h].ty === "fl" || e[h].ty === "st" || e[h].ty === "gf" || e[h].ty === "gs" || e[h].ty === "no")
5002
5002
  te ? t[h].style.closed = e[h].hd : t[h] = this.createStyleElement(e[h], s), e[h]._render && t[h].style.pElem.parentNode !== i && i.appendChild(t[h].style.pElem), y.push(t[h].style);
@@ -5007,7 +5007,7 @@ function requireLottie() {
5007
5007
  for (K = t[h].it.length, V = 0; V < K; V += 1)
5008
5008
  t[h].prevViewData[V] = t[h].it[V];
5009
5009
  this.searchShapes(e[h].it, t[h].it, t[h].prevViewData, t[h].gr, s + 1, l, n), e[h]._render && t[h].gr.parentNode !== i && i.appendChild(t[h].gr);
5010
- } else e[h].ty === "tr" ? (te || (t[h] = this.createTransformElement(e[h], i)), G = t[h].transform, l.push(G)) : e[h].ty === "sh" || e[h].ty === "rc" || e[h].ty === "el" || e[h].ty === "sr" ? (te || (t[h] = this.createShapeElement(e[h], l, s)), this.setElementStyles(t[h])) : e[h].ty === "tm" || e[h].ty === "rd" || e[h].ty === "ms" || e[h].ty === "pb" || e[h].ty === "zz" || e[h].ty === "op" ? (te ? (H = t[h], H.closed = !1) : (H = ShapeModifiers.getModifier(e[h].ty), H.init(this, e[h]), t[h] = H, this.shapeModifiers.push(H)), q.push(H)) : e[h].ty === "rp" && (te ? (H = t[h], H.closed = !0) : (H = ShapeModifiers.getModifier(e[h].ty), t[h] = H, H.init(this, e, h, t), this.shapeModifiers.push(H), n = !1), q.push(H));
5010
+ } else e[h].ty === "tr" ? (te || (t[h] = this.createTransformElement(e[h], i)), H = t[h].transform, l.push(H)) : e[h].ty === "sh" || e[h].ty === "rc" || e[h].ty === "el" || e[h].ty === "sr" ? (te || (t[h] = this.createShapeElement(e[h], l, s)), this.setElementStyles(t[h])) : e[h].ty === "tm" || e[h].ty === "rd" || e[h].ty === "ms" || e[h].ty === "pb" || e[h].ty === "zz" || e[h].ty === "op" ? (te ? (G = t[h], G.closed = !1) : (G = ShapeModifiers.getModifier(e[h].ty), G.init(this, e[h]), t[h] = G, this.shapeModifiers.push(G)), q.push(G)) : e[h].ty === "rp" && (te ? (G = t[h], G.closed = !0) : (G = ShapeModifiers.getModifier(e[h].ty), t[h] = G, G.init(this, e, h, t), this.shapeModifiers.push(G), n = !1), q.push(G));
5011
5011
  this.addProcessedElement(e[h], h + 1);
5012
5012
  }
5013
5013
  for (d = y.length, h = 0; h < d; h += 1)
@@ -5111,21 +5111,21 @@ function requireLottie() {
5111
5111
  return t;
5112
5112
  }, TextProperty.prototype.completeTextData = function(e) {
5113
5113
  e.__complete = !0;
5114
- var t = this.elem.globalData.fontManager, r = this.data, i = [], s, a, n, l = 0, h, d = r.m.g, V = 0, K = 0, y = 0, q = [], G = 0, H = 0, te, M, j = t.getFontByName(e.f), F, Z = 0, Q = getFontProperties(j);
5114
+ var t = this.elem.globalData.fontManager, r = this.data, i = [], s, a, n, l = 0, h, d = r.m.g, V = 0, K = 0, y = 0, q = [], H = 0, G = 0, te, M, j = t.getFontByName(e.f), F, Z = 0, Q = getFontProperties(j);
5115
5115
  e.fWeight = Q.weight, e.fStyle = Q.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
5116
5116
  var ee = e.tr / 1e3 * e.finalSize, ie;
5117
5117
  if (e.sz)
5118
5118
  for (var ae = !0, le = e.sz[0], ue = e.sz[1], de, fe; ae; ) {
5119
- fe = this.buildFinalText(e.t), de = 0, G = 0, a = fe.length, ee = e.tr / 1e3 * e.finalSize;
5119
+ fe = this.buildFinalText(e.t), de = 0, H = 0, a = fe.length, ee = e.tr / 1e3 * e.finalSize;
5120
5120
  var pe = -1;
5121
5121
  for (s = 0; s < a; s += 1)
5122
- ie = fe[s].charCodeAt(0), n = !1, fe[s] === " " ? pe = s : (ie === 13 || ie === 3) && (G = 0, n = !0, de += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (F = t.getCharData(fe[s], j.fStyle, j.fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(fe[s], e.f, e.finalSize), G + Z > le && fe[s] !== " " ? (pe === -1 ? a += 1 : s = pe, de += e.finalLineHeight || e.finalSize * 1.2, fe.splice(s, pe === s ? 1 : 0, "\r"), pe = -1, G = 0) : (G += Z, G += ee);
5122
+ ie = fe[s].charCodeAt(0), n = !1, fe[s] === " " ? pe = s : (ie === 13 || ie === 3) && (H = 0, n = !0, de += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (F = t.getCharData(fe[s], j.fStyle, j.fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(fe[s], e.f, e.finalSize), H + Z > le && fe[s] !== " " ? (pe === -1 ? a += 1 : s = pe, de += e.finalLineHeight || e.finalSize * 1.2, fe.splice(s, pe === s ? 1 : 0, "\r"), pe = -1, H = 0) : (H += Z, H += ee);
5123
5123
  de += j.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && ue < de ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = fe, a = e.finalText.length, ae = !1);
5124
5124
  }
5125
- G = -ee, Z = 0;
5125
+ H = -ee, Z = 0;
5126
5126
  var ve = 0, he;
5127
5127
  for (s = 0; s < a; s += 1)
5128
- if (n = !1, he = e.finalText[s], ie = he.charCodeAt(0), ie === 13 || ie === 3 ? (ve = 0, q.push(G), H = G > H ? G : H, G = -2 * ee, h = "", n = !0, y += 1) : h = he, t.chars ? (F = t.getCharData(he, j.fStyle, t.getFontByName(e.f).fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(h, e.f, e.finalSize), he === " " ? ve += Z + ee : (G += Z + ee + ve, ve = 0), i.push({
5128
+ if (n = !1, he = e.finalText[s], ie = he.charCodeAt(0), ie === 13 || ie === 3 ? (ve = 0, q.push(H), G = H > G ? H : G, H = -2 * ee, h = "", n = !0, y += 1) : h = he, t.chars ? (F = t.getCharData(he, j.fStyle, t.getFontByName(e.f).fFamily), Z = n ? 0 : F.w * e.finalSize / 100) : Z = t.measureText(h, e.f, e.finalSize), he === " " ? ve += Z + ee : (H += Z + ee + ve, ve = 0), i.push({
5129
5129
  l: Z,
5130
5130
  an: Z,
5131
5131
  add: V,
@@ -5148,10 +5148,10 @@ function requireLottie() {
5148
5148
  }
5149
5149
  } else
5150
5150
  i[l].ind = l, i[l].extra = 0, l += 1;
5151
- if (e.l = i, H = G > H ? G : H, q.push(G), e.sz)
5151
+ if (e.l = i, G = H > G ? H : G, q.push(H), e.sz)
5152
5152
  e.boxWidth = e.sz[0], e.justifyOffset = 0;
5153
5153
  else
5154
- switch (e.boxWidth = H, e.j) {
5154
+ switch (e.boxWidth = G, e.j) {
5155
5155
  case 1:
5156
5156
  e.justifyOffset = -e.boxWidth;
5157
5157
  break;
@@ -5209,24 +5209,24 @@ function requireLottie() {
5209
5209
  this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
5210
5210
  var l = 0, h = 0, d = 1, V = 1;
5211
5211
  this.ne.v > 0 ? l = this.ne.v / 100 : h = -this.ne.v / 100, this.xe.v > 0 ? d = 1 - this.xe.v / 100 : V = 1 + this.xe.v / 100;
5212
- var K = BezierFactory.getBezierEasing(l, h, d, V).get, y = 0, q = this.finalS, G = this.finalE, H = this.data.sh;
5213
- if (H === 2)
5214
- G === q ? y = n >= G ? 1 : 0 : y = e(0, t(0.5 / (G - q) + (n - q) / (G - q), 1)), y = K(y);
5215
- else if (H === 3)
5216
- G === q ? y = n >= G ? 0 : 1 : y = 1 - e(0, t(0.5 / (G - q) + (n - q) / (G - q), 1)), y = K(y);
5217
- else if (H === 4)
5218
- G === q ? y = 0 : (y = e(0, t(0.5 / (G - q) + (n - q) / (G - q), 1)), y < 0.5 ? y *= 2 : y = 1 - 2 * (y - 0.5)), y = K(y);
5219
- else if (H === 5) {
5220
- if (G === q)
5212
+ var K = BezierFactory.getBezierEasing(l, h, d, V).get, y = 0, q = this.finalS, H = this.finalE, G = this.data.sh;
5213
+ if (G === 2)
5214
+ H === q ? y = n >= H ? 1 : 0 : y = e(0, t(0.5 / (H - q) + (n - q) / (H - q), 1)), y = K(y);
5215
+ else if (G === 3)
5216
+ H === q ? y = n >= H ? 0 : 1 : y = 1 - e(0, t(0.5 / (H - q) + (n - q) / (H - q), 1)), y = K(y);
5217
+ else if (G === 4)
5218
+ H === q ? y = 0 : (y = e(0, t(0.5 / (H - q) + (n - q) / (H - q), 1)), y < 0.5 ? y *= 2 : y = 1 - 2 * (y - 0.5)), y = K(y);
5219
+ else if (G === 5) {
5220
+ if (H === q)
5221
5221
  y = 0;
5222
5222
  else {
5223
- var te = G - q;
5224
- n = t(e(0, n + 0.5 - q), G - q);
5223
+ var te = H - q;
5224
+ n = t(e(0, n + 0.5 - q), H - q);
5225
5225
  var M = -te / 2 + n, j = te / 2;
5226
5226
  y = Math.sqrt(1 - M * M / (j * j));
5227
5227
  }
5228
5228
  y = K(y);
5229
- } else H === 6 ? (G === q ? y = 0 : (n = t(e(0, n + 0.5 - q), G - q), y = (1 + Math.cos(Math.PI + Math.PI * 2 * n / (G - q))) / 2), y = K(y)) : (n >= r(q) && (n - q < 0 ? y = e(0, t(t(G, 1) - (q - n), 1)) : y = e(0, t(G - n, 1))), y = K(y));
5229
+ } else G === 6 ? (H === q ? y = 0 : (n = t(e(0, n + 0.5 - q), H - q), y = (1 + Math.cos(Math.PI + Math.PI * 2 * n / (H - q))) / 2), y = K(y)) : (n >= r(q) && (n - q < 0 ? y = e(0, t(t(H, 1) - (q - n), 1)) : y = e(0, t(H - n, 1))), y = K(y));
5230
5230
  if (this.sm.v !== 100) {
5231
5231
  var F = this.sm.v * 0.01;
5232
5232
  F === 0 && (F = 1e-8);
@@ -5295,7 +5295,7 @@ function requireLottie() {
5295
5295
  }, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
5296
5296
  if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
5297
5297
  this._isFirstFrame = !1;
5298
- var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, a = this.mHelper, n = this._renderType, l = this.renderedLetters.length, h, d, V, K, y = e.l, q, G, H, te, M, j, F, Z, Q, ee, ie, ae, le, ue, de;
5298
+ var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, a = this.mHelper, n = this._renderType, l = this.renderedLetters.length, h, d, V, K, y = e.l, q, H, G, te, M, j, F, Z, Q, ee, ie, ae, le, ue, de;
5299
5299
  if (this._hasMaskedPath) {
5300
5300
  if (de = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
5301
5301
  var fe = de.v;
@@ -5308,15 +5308,15 @@ function requireLottie() {
5308
5308
  pe = bez.buildBezierData(fe.v[V], fe.v[V + 1], [fe.o[V][0] - fe.v[V][0], fe.o[V][1] - fe.v[V][1]], [fe.i[V + 1][0] - fe.v[V + 1][0], fe.i[V + 1][1] - fe.v[V + 1][1]]), q.tLength += pe.segmentLength, q.segments.push(pe), ae += pe.segmentLength;
5309
5309
  V = K, de.v.c && (pe = bez.buildBezierData(fe.v[V], fe.v[0], [fe.o[V][0] - fe.v[V][0], fe.o[V][1] - fe.v[V][1]], [fe.i[0][0] - fe.v[0][0], fe.i[0][1] - fe.v[0][1]]), q.tLength += pe.segmentLength, q.segments.push(pe), ae += pe.segmentLength), this._pathData.pi = q;
5310
5310
  }
5311
- if (q = this._pathData.pi, G = this._pathData.f.v, F = 0, j = 1, te = 0, M = !0, ee = q.segments, G < 0 && de.v.c)
5312
- for (q.tLength < Math.abs(G) && (G = -Math.abs(G) % q.tLength), F = ee.length - 1, Q = ee[F].points, j = Q.length - 1; G < 0; )
5313
- G += Q[j].partialLength, j -= 1, j < 0 && (F -= 1, Q = ee[F].points, j = Q.length - 1);
5314
- Q = ee[F].points, Z = Q[j - 1], H = Q[j], ie = H.partialLength;
5311
+ if (q = this._pathData.pi, H = this._pathData.f.v, F = 0, j = 1, te = 0, M = !0, ee = q.segments, H < 0 && de.v.c)
5312
+ for (q.tLength < Math.abs(H) && (H = -Math.abs(H) % q.tLength), F = ee.length - 1, Q = ee[F].points, j = Q.length - 1; H < 0; )
5313
+ H += Q[j].partialLength, j -= 1, j < 0 && (F -= 1, Q = ee[F].points, j = Q.length - 1);
5314
+ Q = ee[F].points, Z = Q[j - 1], G = Q[j], ie = G.partialLength;
5315
5315
  }
5316
5316
  K = y.length, h = 0, d = 0;
5317
5317
  var ve = e.finalSize * 1.2 * 0.714, he = !0, re, se, W, J, oe;
5318
5318
  J = i.length;
5319
- var ne, ce = -1, me, ye, xe, be = G, Ce = F, Se = j, Ie = -1, Ee, Pe, we, _e, ge, Me, De, Re, Fe = "", Le = this.defaultPropsArray, Ve;
5319
+ var ne, ce = -1, me, ye, xe, be = H, Ce = F, Se = j, Ie = -1, Ee, Pe, we, _e, ge, Me, De, Re, Fe = "", Le = this.defaultPropsArray, Ve;
5320
5320
  if (e.j === 2 || e.j === 1) {
5321
5321
  var Te = 0, je = 0, Ne = e.j === 2 ? -0.5 : -1, Ae = 0, Oe = !0;
5322
5322
  for (V = 0; V < K; V += 1)
@@ -5334,31 +5334,31 @@ function requireLottie() {
5334
5334
  }
5335
5335
  for (V = 0; V < K; V += 1) {
5336
5336
  if (a.reset(), Ee = 1, y[V].n)
5337
- h = 0, d += e.yOffset, d += he ? 1 : 0, G = be, he = !1, this._hasMaskedPath && (F = Ce, j = Se, Q = ee[F].points, Z = Q[j - 1], H = Q[j], ie = H.partialLength, te = 0), Fe = "", Re = "", Me = "", Ve = "", Le = this.defaultPropsArray;
5337
+ h = 0, d += e.yOffset, d += he ? 1 : 0, H = be, he = !1, this._hasMaskedPath && (F = Ce, j = Se, Q = ee[F].points, Z = Q[j - 1], G = Q[j], ie = G.partialLength, te = 0), Fe = "", Re = "", Me = "", Ve = "", Le = this.defaultPropsArray;
5338
5338
  else {
5339
5339
  if (this._hasMaskedPath) {
5340
5340
  if (Ie !== y[V].line) {
5341
5341
  switch (e.j) {
5342
5342
  case 1:
5343
- G += ae - e.lineWidths[y[V].line];
5343
+ H += ae - e.lineWidths[y[V].line];
5344
5344
  break;
5345
5345
  case 2:
5346
- G += (ae - e.lineWidths[y[V].line]) / 2;
5346
+ H += (ae - e.lineWidths[y[V].line]) / 2;
5347
5347
  break;
5348
5348
  }
5349
5349
  Ie = y[V].line;
5350
5350
  }
5351
- ce !== y[V].ind && (y[ce] && (G += y[ce].extra), G += y[V].an / 2, ce = y[V].ind), G += r[0] * y[V].an * 5e-3;
5351
+ ce !== y[V].ind && (y[ce] && (H += y[ce].extra), H += y[V].an / 2, ce = y[V].ind), H += r[0] * y[V].an * 5e-3;
5352
5352
  var ke = 0;
5353
5353
  for (W = 0; W < J; W += 1)
5354
5354
  re = i[W].a, re.p.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? ke += re.p.v[0] * ne[0] : ke += re.p.v[0] * ne), re.a.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? ke += re.a.v[0] * ne[0] : ke += re.a.v[0] * ne);
5355
- for (M = !0, this._pathData.a.v && (G = y[0].an * 0.5 + (ae - this._pathData.f.v - y[0].an * 0.5 - y[y.length - 1].an * 0.5) * ce / (K - 1), G += this._pathData.f.v); M; )
5356
- te + ie >= G + ke || !Q ? (le = (G + ke - te) / H.partialLength, ye = Z.point[0] + (H.point[0] - Z.point[0]) * le, xe = Z.point[1] + (H.point[1] - Z.point[1]) * le, a.translate(-r[0] * y[V].an * 5e-3, -(r[1] * ve) * 0.01), M = !1) : Q && (te += H.partialLength, j += 1, j >= Q.length && (j = 0, F += 1, ee[F] ? Q = ee[F].points : de.v.c ? (j = 0, F = 0, Q = ee[F].points) : (te -= H.partialLength, Q = null)), Q && (Z = H, H = Q[j], ie = H.partialLength));
5355
+ for (M = !0, this._pathData.a.v && (H = y[0].an * 0.5 + (ae - this._pathData.f.v - y[0].an * 0.5 - y[y.length - 1].an * 0.5) * ce / (K - 1), H += this._pathData.f.v); M; )
5356
+ te + ie >= H + ke || !Q ? (le = (H + ke - te) / G.partialLength, ye = Z.point[0] + (G.point[0] - Z.point[0]) * le, xe = Z.point[1] + (G.point[1] - Z.point[1]) * le, a.translate(-r[0] * y[V].an * 5e-3, -(r[1] * ve) * 0.01), M = !1) : Q && (te += G.partialLength, j += 1, j >= Q.length && (j = 0, F += 1, ee[F] ? Q = ee[F].points : de.v.c ? (j = 0, F = 0, Q = ee[F].points) : (te -= G.partialLength, Q = null)), Q && (Z = G, G = Q[j], ie = G.partialLength));
5357
5357
  me = y[V].an / 2 - y[V].add, a.translate(-me, 0, 0);
5358
5358
  } else
5359
5359
  me = y[V].an / 2 - y[V].add, a.translate(-me, 0, 0), a.translate(-r[0] * y[V].an * 5e-3, -r[1] * ve * 0.01, 0);
5360
5360
  for (W = 0; W < J; W += 1)
5361
- re = i[W].a, re.t.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), (h !== 0 || e.j !== 0) && (this._hasMaskedPath ? ne.length ? G += re.t.v * ne[0] : G += re.t.v * ne : ne.length ? h += re.t.v * ne[0] : h += re.t.v * ne));
5361
+ re = i[W].a, re.t.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), (h !== 0 || e.j !== 0) && (this._hasMaskedPath ? ne.length ? H += re.t.v * ne[0] : H += re.t.v * ne : ne.length ? h += re.t.v * ne[0] : h += re.t.v * ne));
5362
5362
  for (e.strokeWidthAnim && (we = e.sw || 0), e.strokeColorAnim && (e.sc ? Pe = [e.sc[0], e.sc[1], e.sc[2]] : Pe = [0, 0, 0]), e.fillColorAnim && e.fc && (_e = [e.fc[0], e.fc[1], e.fc[2]]), W = 0; W < J; W += 1)
5363
5363
  re = i[W].a, re.a.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), ne.length ? a.translate(-re.a.v[0] * ne[0], -re.a.v[1] * ne[1], re.a.v[2] * ne[2]) : a.translate(-re.a.v[0] * ne, -re.a.v[1] * ne, re.a.v[2] * ne));
5364
5364
  for (W = 0; W < J; W += 1)
@@ -5378,11 +5378,11 @@ function requireLottie() {
5378
5378
  re = i[W].a, re.p.propType && (se = i[W].s, ne = se.getMult(y[V].anIndexes[W], s.a[W].s.totalChars), this._hasMaskedPath ? ne.length ? a.translate(0, re.p.v[1] * ne[0], -re.p.v[2] * ne[1]) : a.translate(0, re.p.v[1] * ne, -re.p.v[2] * ne) : ne.length ? a.translate(re.p.v[0] * ne[0], re.p.v[1] * ne[1], -re.p.v[2] * ne[2]) : a.translate(re.p.v[0] * ne, re.p.v[1] * ne, -re.p.v[2] * ne));
5379
5379
  if (e.strokeWidthAnim && (Me = we < 0 ? 0 : we), e.strokeColorAnim && (De = "rgb(" + Math.round(Pe[0] * 255) + "," + Math.round(Pe[1] * 255) + "," + Math.round(Pe[2] * 255) + ")"), e.fillColorAnim && e.fc && (Re = "rgb(" + Math.round(_e[0] * 255) + "," + Math.round(_e[1] * 255) + "," + Math.round(_e[2] * 255) + ")"), this._hasMaskedPath) {
5380
5380
  if (a.translate(0, -e.ls), a.translate(0, r[1] * ve * 0.01 + d, 0), this._pathData.p.v) {
5381
- ue = (H.point[1] - Z.point[1]) / (H.point[0] - Z.point[0]);
5381
+ ue = (G.point[1] - Z.point[1]) / (G.point[0] - Z.point[0]);
5382
5382
  var Be = Math.atan(ue) * 180 / Math.PI;
5383
- H.point[0] < Z.point[0] && (Be += 180), a.rotate(-Be * Math.PI / 180);
5383
+ G.point[0] < Z.point[0] && (Be += 180), a.rotate(-Be * Math.PI / 180);
5384
5384
  }
5385
- a.translate(ye, xe, 0), G -= r[0] * y[V].an * 5e-3, y[V + 1] && ce !== y[V + 1].ind && (G += y[V].an / 2, G += e.tr * 1e-3 * e.finalSize);
5385
+ a.translate(ye, xe, 0), H -= r[0] * y[V].an * 5e-3, y[V + 1] && ce !== y[V + 1].ind && (H += y[V].an / 2, H += e.tr * 1e-3 * e.finalSize);
5386
5386
  } else {
5387
5387
  switch (a.translate(h, d, 0), e.ps && a.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
5388
5388
  case 1:
@@ -5471,7 +5471,7 @@ function requireLottie() {
5471
5471
  this.layerElement.setAttribute("aria-label", r.t);
5472
5472
  var n = r.l || [], l = !!this.globalData.fontManager.chars;
5473
5473
  t = n.length;
5474
- var h, d = this.mHelper, V = "", K = this.data.singleShape, y = 0, q = 0, G = !0, H = r.tr * 1e-3 * r.finalSize;
5474
+ var h, d = this.mHelper, V = "", K = this.data.singleShape, y = 0, q = 0, H = !0, G = r.tr * 1e-3 * r.finalSize;
5475
5475
  if (K && !l && !r.sz) {
5476
5476
  var te = this.textContainer, M = "start";
5477
5477
  switch (r.j) {
@@ -5485,7 +5485,7 @@ function requireLottie() {
5485
5485
  M = "start";
5486
5486
  break;
5487
5487
  }
5488
- te.setAttribute("text-anchor", M), te.setAttribute("letter-spacing", H);
5488
+ te.setAttribute("text-anchor", M), te.setAttribute("letter-spacing", G);
5489
5489
  var j = this.buildTextContents(r.finalText);
5490
5490
  for (t = j.length, q = r.ps ? r.ps[1] + r.ascent : 0, e = 0; e < t; e += 1)
5491
5491
  h = this.textSpans[e].span || createNS("tspan"), h.textContent = j[e], h.setAttribute("x", 0), h.setAttribute("y", q), h.style.display = "inherit", te.appendChild(h), this.textSpans[e] || (this.textSpans[e] = {
@@ -5510,7 +5510,7 @@ function requireLottie() {
5510
5510
  }
5511
5511
  h.style.display = "inherit";
5512
5512
  }
5513
- if (d.reset(), K && (n[e].n && (y = -H, q += r.yOffset, q += G ? 1 : 0, G = !1), this.applyTextPropertiesToMatrix(r, d, n[e].line, y, q), y += n[e].l || 0, y += H), l) {
5513
+ if (d.reset(), K && (n[e].n && (y = -G, q += r.yOffset, q += H ? 1 : 0, H = !1), this.applyTextPropertiesToMatrix(r, d, n[e].line, y, q), y += n[e].l || 0, y += G), l) {
5514
5514
  Z = this.globalData.fontManager.getCharData(r.finalText[e], i.fStyle, this.globalData.fontManager.getFontByName(r.f).fFamily);
5515
5515
  var ee;
5516
5516
  if (Z.t === 1)
@@ -6023,18 +6023,18 @@ function requireLottie() {
6023
6023
  for (t = 0; t < r; t += 1)
6024
6024
  e[t].closed = !0;
6025
6025
  }, CVShapeElement.prototype.searchShapes = function(e, t, r, i, s) {
6026
- var a, n = e.length - 1, l, h, d = [], V = [], K, y, q, G = [].concat(s);
6026
+ var a, n = e.length - 1, l, h, d = [], V = [], K, y, q, H = [].concat(s);
6027
6027
  for (a = n; a >= 0; a -= 1) {
6028
6028
  if (K = this.searchProcessedElement(e[a]), K ? t[a] = r[K - 1] : e[a]._shouldRender = i, e[a].ty === "fl" || e[a].ty === "st" || e[a].ty === "gf" || e[a].ty === "gs")
6029
- K ? t[a].style.closed = !1 : t[a] = this.createStyleElement(e[a], G), d.push(t[a].style);
6029
+ K ? t[a].style.closed = !1 : t[a] = this.createStyleElement(e[a], H), d.push(t[a].style);
6030
6030
  else if (e[a].ty === "gr") {
6031
6031
  if (!K)
6032
6032
  t[a] = this.createGroupElement(e[a]);
6033
6033
  else
6034
6034
  for (h = t[a].it.length, l = 0; l < h; l += 1)
6035
6035
  t[a].prevViewData[l] = t[a].it[l];
6036
- this.searchShapes(e[a].it, t[a].it, t[a].prevViewData, i, G);
6037
- } else e[a].ty === "tr" ? (K || (q = this.createTransformElement(e[a]), t[a] = q), G.push(t[a]), this.addTransformToStyleList(t[a])) : e[a].ty === "sh" || e[a].ty === "rc" || e[a].ty === "el" || e[a].ty === "sr" ? K || (t[a] = this.createShapeElement(e[a])) : e[a].ty === "tm" || e[a].ty === "rd" || e[a].ty === "pb" || e[a].ty === "zz" || e[a].ty === "op" ? (K ? (y = t[a], y.closed = !1) : (y = ShapeModifiers.getModifier(e[a].ty), y.init(this, e[a]), t[a] = y, this.shapeModifiers.push(y)), V.push(y)) : e[a].ty === "rp" && (K ? (y = t[a], y.closed = !0) : (y = ShapeModifiers.getModifier(e[a].ty), t[a] = y, y.init(this, e, a, t), this.shapeModifiers.push(y), i = !1), V.push(y));
6036
+ this.searchShapes(e[a].it, t[a].it, t[a].prevViewData, i, H);
6037
+ } else e[a].ty === "tr" ? (K || (q = this.createTransformElement(e[a]), t[a] = q), H.push(t[a]), this.addTransformToStyleList(t[a])) : e[a].ty === "sh" || e[a].ty === "rc" || e[a].ty === "el" || e[a].ty === "sr" ? K || (t[a] = this.createShapeElement(e[a])) : e[a].ty === "tm" || e[a].ty === "rd" || e[a].ty === "pb" || e[a].ty === "zz" || e[a].ty === "op" ? (K ? (y = t[a], y.closed = !1) : (y = ShapeModifiers.getModifier(e[a].ty), y.init(this, e[a]), t[a] = y, this.shapeModifiers.push(y)), V.push(y)) : e[a].ty === "rp" && (K ? (y = t[a], y.closed = !0) : (y = ShapeModifiers.getModifier(e[a].ty), t[a] = y, y.init(this, e, a, t), this.shapeModifiers.push(y), i = !1), V.push(y));
6038
6038
  this.addProcessedElement(e[a], a + 1);
6039
6039
  }
6040
6040
  for (this.removeTransformFromStyleList(), this.closeStyles(d), n = V.length, a = 0; a < n; a += 1)
@@ -6109,9 +6109,9 @@ function requireLottie() {
6109
6109
  var K = h * V, y = Math.cos(d + t.a.v) * K + n[0], q = Math.sin(d + t.a.v) * K + n[1];
6110
6110
  s = a.createRadialGradient(y, q, 0, n[0], n[1], h);
6111
6111
  }
6112
- var G, H = e.g.p, te = t.g.c, M = 1;
6113
- for (G = 0; G < H; G += 1)
6114
- t.g._hasOpacity && t.g._collapsable && (M = t.g.o[G * 2 + 1]), s.addColorStop(te[G * 4] / 100, "rgba(" + te[G * 4 + 1] + "," + te[G * 4 + 2] + "," + te[G * 4 + 3] + "," + M + ")");
6112
+ var H, G = e.g.p, te = t.g.c, M = 1;
6113
+ for (H = 0; H < G; H += 1)
6114
+ t.g._hasOpacity && t.g._collapsable && (M = t.g.o[H * 2 + 1]), s.addColorStop(te[H * 4] / 100, "rgba(" + te[H * 4 + 1] + "," + te[H * 4 + 2] + "," + te[H * 4 + 3] + "," + M + ")");
6115
6115
  i.grd = s;
6116
6116
  }
6117
6117
  i.coOp = t.o.v * r.opacity;
@@ -6138,15 +6138,15 @@ function requireLottie() {
6138
6138
  e.sc && (r = !0, this.values.stroke = this.buildColor(e.sc), this.values.sWidth = e.sw);
6139
6139
  var i = this.globalData.fontManager.getFontByName(e.f), s, a, n = e.l, l = this.mHelper;
6140
6140
  this.stroke = r, this.values.fValue = e.finalSize + "px " + this.globalData.fontManager.getFontByName(e.f).fFamily, a = e.finalText.length;
6141
- var h, d, V, K, y, q, G, H, te, M, j = this.data.singleShape, F = e.tr * 1e-3 * e.finalSize, Z = 0, Q = 0, ee = !0, ie = 0;
6141
+ var h, d, V, K, y, q, H, G, te, M, j = this.data.singleShape, F = e.tr * 1e-3 * e.finalSize, Z = 0, Q = 0, ee = !0, ie = 0;
6142
6142
  for (s = 0; s < a; s += 1) {
6143
- h = this.globalData.fontManager.getCharData(e.finalText[s], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d = h && h.data || {}, l.reset(), j && n[s].n && (Z = -F, Q += e.yOffset, Q += ee ? 1 : 0, ee = !1), y = d.shapes ? d.shapes[0].it : [], G = y.length, l.scale(e.finalSize / 100, e.finalSize / 100), j && this.applyTextPropertiesToMatrix(e, l, n[s].line, Z, Q), te = createSizedArray(G - 1);
6143
+ h = this.globalData.fontManager.getCharData(e.finalText[s], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d = h && h.data || {}, l.reset(), j && n[s].n && (Z = -F, Q += e.yOffset, Q += ee ? 1 : 0, ee = !1), y = d.shapes ? d.shapes[0].it : [], H = y.length, l.scale(e.finalSize / 100, e.finalSize / 100), j && this.applyTextPropertiesToMatrix(e, l, n[s].line, Z, Q), te = createSizedArray(H - 1);
6144
6144
  var ae = 0;
6145
- for (q = 0; q < G; q += 1)
6145
+ for (q = 0; q < H; q += 1)
6146
6146
  if (y[q].ty === "sh") {
6147
- for (K = y[q].ks.k.i.length, H = y[q].ks.k, M = [], V = 1; V < K; V += 1)
6148
- V === 1 && M.push(l.applyToX(H.v[0][0], H.v[0][1], 0), l.applyToY(H.v[0][0], H.v[0][1], 0)), M.push(l.applyToX(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToY(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToX(H.i[V][0], H.i[V][1], 0), l.applyToY(H.i[V][0], H.i[V][1], 0), l.applyToX(H.v[V][0], H.v[V][1], 0), l.applyToY(H.v[V][0], H.v[V][1], 0));
6149
- M.push(l.applyToX(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToY(H.o[V - 1][0], H.o[V - 1][1], 0), l.applyToX(H.i[0][0], H.i[0][1], 0), l.applyToY(H.i[0][0], H.i[0][1], 0), l.applyToX(H.v[0][0], H.v[0][1], 0), l.applyToY(H.v[0][0], H.v[0][1], 0)), te[ae] = M, ae += 1;
6147
+ for (K = y[q].ks.k.i.length, G = y[q].ks.k, M = [], V = 1; V < K; V += 1)
6148
+ V === 1 && M.push(l.applyToX(G.v[0][0], G.v[0][1], 0), l.applyToY(G.v[0][0], G.v[0][1], 0)), M.push(l.applyToX(G.o[V - 1][0], G.o[V - 1][1], 0), l.applyToY(G.o[V - 1][0], G.o[V - 1][1], 0), l.applyToX(G.i[V][0], G.i[V][1], 0), l.applyToY(G.i[V][0], G.i[V][1], 0), l.applyToX(G.v[V][0], G.v[V][1], 0), l.applyToY(G.v[V][0], G.v[V][1], 0));
6149
+ M.push(l.applyToX(G.o[V - 1][0], G.o[V - 1][1], 0), l.applyToY(G.o[V - 1][0], G.o[V - 1][1], 0), l.applyToX(G.i[0][0], G.i[0][1], 0), l.applyToY(G.i[0][0], G.i[0][1], 0), l.applyToX(G.v[0][0], G.v[0][1], 0), l.applyToY(G.v[0][0], G.v[0][1], 0)), te[ae] = M, ae += 1;
6150
6150
  }
6151
6151
  j && (Z += n[s].l, Z += F), this.textSpans[ie] ? this.textSpans[ie].elem = te : this.textSpans[ie] = {
6152
6152
  elem: te
@@ -6158,20 +6158,20 @@ function requireLottie() {
6158
6158
  e.font = this.values.fValue, this.globalData.renderer.ctxLineCap("butt"), this.globalData.renderer.ctxLineJoin("miter"), this.globalData.renderer.ctxMiterLimit(4), this.data.singleShape || this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag);
6159
6159
  var t, r, i, s, a, n, l = this.textAnimator.renderedLetters, h = this.textProperty.currentData.l;
6160
6160
  r = h.length;
6161
- var d, V = null, K = null, y = null, q, G, H = this.globalData.renderer;
6161
+ var d, V = null, K = null, y = null, q, H, G = this.globalData.renderer;
6162
6162
  for (t = 0; t < r; t += 1)
6163
6163
  if (!h[t].n) {
6164
- if (d = l[t], d && (H.save(), H.ctxTransform(d.p), H.ctxOpacity(d.o)), this.fill) {
6165
- for (d && d.fc ? V !== d.fc && (H.ctxFillStyle(d.fc), V = d.fc) : V !== this.values.fill && (V = this.values.fill, H.ctxFillStyle(this.values.fill)), q = this.textSpans[t].elem, s = q.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6166
- for (G = q[i], n = G.length, this.globalData.canvasContext.moveTo(G[0], G[1]), a = 2; a < n; a += 6)
6167
- this.globalData.canvasContext.bezierCurveTo(G[a], G[a + 1], G[a + 2], G[a + 3], G[a + 4], G[a + 5]);
6168
- this.globalData.canvasContext.closePath(), H.ctxFill();
6164
+ if (d = l[t], d && (G.save(), G.ctxTransform(d.p), G.ctxOpacity(d.o)), this.fill) {
6165
+ for (d && d.fc ? V !== d.fc && (G.ctxFillStyle(d.fc), V = d.fc) : V !== this.values.fill && (V = this.values.fill, G.ctxFillStyle(this.values.fill)), q = this.textSpans[t].elem, s = q.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6166
+ for (H = q[i], n = H.length, this.globalData.canvasContext.moveTo(H[0], H[1]), a = 2; a < n; a += 6)
6167
+ this.globalData.canvasContext.bezierCurveTo(H[a], H[a + 1], H[a + 2], H[a + 3], H[a + 4], H[a + 5]);
6168
+ this.globalData.canvasContext.closePath(), G.ctxFill();
6169
6169
  }
6170
6170
  if (this.stroke) {
6171
- for (d && d.sw ? y !== d.sw && (y = d.sw, H.ctxLineWidth(d.sw)) : y !== this.values.sWidth && (y = this.values.sWidth, H.ctxLineWidth(this.values.sWidth)), d && d.sc ? K !== d.sc && (K = d.sc, H.ctxStrokeStyle(d.sc)) : K !== this.values.stroke && (K = this.values.stroke, H.ctxStrokeStyle(this.values.stroke)), q = this.textSpans[t].elem, s = q.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6172
- for (G = q[i], n = G.length, this.globalData.canvasContext.moveTo(G[0], G[1]), a = 2; a < n; a += 6)
6173
- this.globalData.canvasContext.bezierCurveTo(G[a], G[a + 1], G[a + 2], G[a + 3], G[a + 4], G[a + 5]);
6174
- this.globalData.canvasContext.closePath(), H.ctxStroke();
6171
+ for (d && d.sw ? y !== d.sw && (y = d.sw, G.ctxLineWidth(d.sw)) : y !== this.values.sWidth && (y = this.values.sWidth, G.ctxLineWidth(this.values.sWidth)), d && d.sc ? K !== d.sc && (K = d.sc, G.ctxStrokeStyle(d.sc)) : K !== this.values.stroke && (K = this.values.stroke, G.ctxStrokeStyle(this.values.stroke)), q = this.textSpans[t].elem, s = q.length, this.globalData.canvasContext.beginPath(), i = 0; i < s; i += 1)
6172
+ for (H = q[i], n = H.length, this.globalData.canvasContext.moveTo(H[0], H[1]), a = 2; a < n; a += 6)
6173
+ this.globalData.canvasContext.bezierCurveTo(H[a], H[a + 1], H[a + 2], H[a + 3], H[a + 4], H[a + 5]);
6174
+ this.globalData.canvasContext.closePath(), G.ctxStroke();
6175
6175
  }
6176
6176
  d && this.globalData.renderer.restore();
6177
6177
  }
@@ -6570,11 +6570,11 @@ function requireLottie() {
6570
6570
  }
6571
6571
  var n, l, h = e.l;
6572
6572
  l = h.length;
6573
- var d, V, K, y = this.mHelper, q, G = "", H = 0;
6573
+ var d, V, K, y = this.mHelper, q, H = "", G = 0;
6574
6574
  for (n = 0; n < l; n += 1) {
6575
- if (this.globalData.fontManager.chars ? (this.textPaths[H] ? d = this.textPaths[H] : (d = createNS("path"), d.setAttribute("stroke-linecap", lineCapEnum[1]), d.setAttribute("stroke-linejoin", lineJoinEnum[2]), d.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[H] ? (V = this.textSpans[H], K = V.children[0]) : (V = createTag("div"), V.style.lineHeight = 0, K = createNS("svg"), K.appendChild(d), styleDiv(V)))) : this.isMasked ? d = this.textPaths[H] ? this.textPaths[H] : createNS("text") : this.textSpans[H] ? (V = this.textSpans[H], d = this.textPaths[H]) : (V = createTag("span"), styleDiv(V), d = createTag("span"), styleDiv(d), V.appendChild(d)), this.globalData.fontManager.chars) {
6575
+ if (this.globalData.fontManager.chars ? (this.textPaths[G] ? d = this.textPaths[G] : (d = createNS("path"), d.setAttribute("stroke-linecap", lineCapEnum[1]), d.setAttribute("stroke-linejoin", lineJoinEnum[2]), d.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[G] ? (V = this.textSpans[G], K = V.children[0]) : (V = createTag("div"), V.style.lineHeight = 0, K = createNS("svg"), K.appendChild(d), styleDiv(V)))) : this.isMasked ? d = this.textPaths[G] ? this.textPaths[G] : createNS("text") : this.textSpans[G] ? (V = this.textSpans[G], d = this.textPaths[G]) : (V = createTag("span"), styleDiv(V), d = createTag("span"), styleDiv(d), V.appendChild(d)), this.globalData.fontManager.chars) {
6576
6576
  var te = this.globalData.fontManager.getCharData(e.finalText[n], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), M;
6577
- if (te ? M = te.data : M = null, y.reset(), M && M.shapes && M.shapes.length && (q = M.shapes[0].it, y.scale(e.finalSize / 100, e.finalSize / 100), G = this.createPathShape(y, q), d.setAttribute("d", G)), this.isMasked)
6577
+ if (te ? M = te.data : M = null, y.reset(), M && M.shapes && M.shapes.length && (q = M.shapes[0].it, y.scale(e.finalSize / 100, e.finalSize / 100), H = this.createPathShape(y, q), d.setAttribute("d", H)), this.isMasked)
6578
6578
  this.innerElem.appendChild(d);
6579
6579
  else {
6580
6580
  if (this.innerElem.appendChild(V), M && M.shapes) {
@@ -6594,10 +6594,10 @@ function requireLottie() {
6594
6594
  var Q = d.style, ee = "translate3d(0," + -e.finalSize / 1.2 + "px,0)";
6595
6595
  Q.transform = ee, Q.webkitTransform = ee;
6596
6596
  }
6597
- this.isMasked ? this.textSpans[H] = d : this.textSpans[H] = V, this.textSpans[H].style.display = "block", this.textPaths[H] = d, H += 1;
6597
+ this.isMasked ? this.textSpans[G] = d : this.textSpans[G] = V, this.textSpans[G].style.display = "block", this.textPaths[G] = d, G += 1;
6598
6598
  }
6599
- for (; H < this.textSpans.length; )
6600
- this.textSpans[H].style.display = "none", H += 1;
6599
+ for (; G < this.textSpans.length; )
6600
+ this.textSpans[G].style.display = "none", G += 1;
6601
6601
  }, HTextElement.prototype.renderInnerContent = function() {
6602
6602
  this.validateText();
6603
6603
  var e;
@@ -6675,8 +6675,8 @@ function requireLottie() {
6675
6675
  for (t = 0; t < r; t += 1)
6676
6676
  if (K = this.comp.threeDElements[t], K.type === "3d") {
6677
6677
  if (V) {
6678
- var G = this.mat.toCSS();
6679
- q = K.container.style, q.transform = G, q.webkitTransform = G;
6678
+ var H = this.mat.toCSS();
6679
+ q = K.container.style, q.transform = H, q.webkitTransform = H;
6680
6680
  }
6681
6681
  this.pe._mdf && (y = K.perspectiveElem.style, y.perspective = this.pe.v + "px", y.webkitPerspective = this.pe.v + "px");
6682
6682
  }
@@ -6892,7 +6892,7 @@ function requireLottie() {
6892
6892
  Z = Z === !0 ? {
6893
6893
  entropy: !0
6894
6894
  } : Z || {};
6895
- var ie = te(H(Z.entropy ? [F, j(e)] : F === null ? M() : F, 3), ee), ae = new q(ee), le = function() {
6895
+ var ie = te(G(Z.entropy ? [F, j(e)] : F === null ? M() : F, 3), ee), ae = new q(ee), le = function() {
6896
6896
  for (var de = ae.g(s), fe = l, pe = 0; de < h; )
6897
6897
  de = (de + pe) * i, fe *= i, pe = ae.g(1);
6898
6898
  for (; de >= d; )
@@ -6904,8 +6904,8 @@ function requireLottie() {
6904
6904
  }, le.quick = function() {
6905
6905
  return ae.g(4) / 4294967296;
6906
6906
  }, le.double = le, te(j(ae.S), e), (Z.pass || Q || function(ue, de, fe, pe) {
6907
- return pe && (pe.S && G(pe, ae), ue.state = function() {
6908
- return G(ae, {});
6907
+ return pe && (pe.S && H(pe, ae), ue.state = function() {
6908
+ return H(ae, {});
6909
6909
  }), fe ? (t[n] = ue, de) : ue;
6910
6910
  })(le, ie, "global" in Z ? Z.global : this == t, Z.state);
6911
6911
  }
@@ -6922,15 +6922,15 @@ function requireLottie() {
6922
6922
  return ee.i = pe, ee.j = ve, fe;
6923
6923
  };
6924
6924
  }
6925
- function G(F, Z) {
6925
+ function H(F, Z) {
6926
6926
  return Z.i = F.i, Z.j = F.j, Z.S = F.S.slice(), Z;
6927
6927
  }
6928
- function H(F, Z) {
6928
+ function G(F, Z) {
6929
6929
  var Q = [], ee = _typeof$2(F), ie;
6930
6930
  if (Z && ee == "object")
6931
6931
  for (ie in F)
6932
6932
  try {
6933
- Q.push(H(F[ie], Z - 1));
6933
+ Q.push(G(F[ie], Z - 1));
6934
6934
  } catch {
6935
6935
  }
6936
6936
  return Q.length ? Q : ee == "string" ? F : F + "\0";
@@ -7519,14 +7519,14 @@ function requireLottie() {
7519
7519
  }
7520
7520
  return function(d) {
7521
7521
  var V;
7522
- function K(H) {
7523
- q.mask = new MaskManagerInterface(H, d);
7522
+ function K(G) {
7523
+ q.mask = new MaskManagerInterface(G, d);
7524
7524
  }
7525
- function y(H) {
7526
- q.effect = H;
7525
+ function y(G) {
7526
+ q.effect = G;
7527
7527
  }
7528
- function q(H) {
7529
- switch (H) {
7528
+ function q(G) {
7529
+ switch (G) {
7530
7530
  case "ADBE Root Vectors Group":
7531
7531
  case "Contents":
7532
7532
  case 2:
@@ -7549,7 +7549,7 @@ function requireLottie() {
7549
7549
  }
7550
7550
  }
7551
7551
  q.getMatrix = e, q.invertPoint = n, q.applyPoint = a, q.toWorld = r, q.toWorldVec = t, q.fromWorld = s, q.fromWorldVec = i, q.toComp = r, q.fromComp = l, q.sampleImage = h, q.sourceRectAtTime = d.sourceRectAtTime.bind(d), q._elem = d, V = TransformExpressionInterface(d.finalTransform.mProp);
7552
- var G = getDescriptor(V, "anchorPoint");
7552
+ var H = getDescriptor(V, "anchorPoint");
7553
7553
  return Object.defineProperties(q, {
7554
7554
  hasParent: {
7555
7555
  get: function() {
@@ -7565,8 +7565,8 @@ function requireLottie() {
7565
7565
  scale: getDescriptor(V, "scale"),
7566
7566
  position: getDescriptor(V, "position"),
7567
7567
  opacity: getDescriptor(V, "opacity"),
7568
- anchorPoint: G,
7569
- anchor_point: G,
7568
+ anchorPoint: H,
7569
+ anchor_point: H,
7570
7570
  transform: {
7571
7571
  get: function() {
7572
7572
  return V;
@@ -7622,10 +7622,10 @@ function requireLottie() {
7622
7622
  }
7623
7623
  function r(s, a, n, l) {
7624
7624
  function h(q) {
7625
- for (var G = s.ef, H = 0, te = G.length; H < te; ) {
7626
- if (q === G[H].nm || q === G[H].mn || q === G[H].ix)
7627
- return G[H].ty === 5 ? V[H] : V[H]();
7628
- H += 1;
7625
+ for (var H = s.ef, G = 0, te = H.length; G < te; ) {
7626
+ if (q === H[G].nm || q === H[G].mn || q === H[G].ix)
7627
+ return H[G].ty === 5 ? V[G] : V[G]();
7628
+ G += 1;
7629
7629
  }
7630
7630
  throw new Error();
7631
7631
  }
@@ -7694,13 +7694,13 @@ function requireLottie() {
7694
7694
  }), a;
7695
7695
  };
7696
7696
  })(), ShapeExpressionInterface = /* @__PURE__ */ (function() {
7697
- function e(G, H, te) {
7698
- var M = [], j, F = G ? G.length : 0;
7697
+ function e(H, G, te) {
7698
+ var M = [], j, F = H ? H.length : 0;
7699
7699
  for (j = 0; j < F; j += 1)
7700
- G[j].ty === "gr" ? M.push(r(G[j], H[j], te)) : G[j].ty === "fl" ? M.push(i(G[j], H[j], te)) : G[j].ty === "st" ? M.push(n(G[j], H[j], te)) : G[j].ty === "tm" ? M.push(l(G[j], H[j], te)) : G[j].ty === "tr" || (G[j].ty === "el" ? M.push(d(G[j], H[j], te)) : G[j].ty === "sr" ? M.push(V(G[j], H[j], te)) : G[j].ty === "sh" ? M.push(ShapePathInterface(G[j], H[j], te)) : G[j].ty === "rc" ? M.push(K(G[j], H[j], te)) : G[j].ty === "rd" ? M.push(y(G[j], H[j], te)) : G[j].ty === "rp" ? M.push(q(G[j], H[j], te)) : G[j].ty === "gf" ? M.push(s(G[j], H[j], te)) : M.push(a(G[j], H[j])));
7700
+ H[j].ty === "gr" ? M.push(r(H[j], G[j], te)) : H[j].ty === "fl" ? M.push(i(H[j], G[j], te)) : H[j].ty === "st" ? M.push(n(H[j], G[j], te)) : H[j].ty === "tm" ? M.push(l(H[j], G[j], te)) : H[j].ty === "tr" || (H[j].ty === "el" ? M.push(d(H[j], G[j], te)) : H[j].ty === "sr" ? M.push(V(H[j], G[j], te)) : H[j].ty === "sh" ? M.push(ShapePathInterface(H[j], G[j], te)) : H[j].ty === "rc" ? M.push(K(H[j], G[j], te)) : H[j].ty === "rd" ? M.push(y(H[j], G[j], te)) : H[j].ty === "rp" ? M.push(q(H[j], G[j], te)) : H[j].ty === "gf" ? M.push(s(H[j], G[j], te)) : M.push(a(H[j], G[j])));
7701
7701
  return M;
7702
7702
  }
7703
- function t(G, H, te) {
7703
+ function t(H, G, te) {
7704
7704
  var M, j = function(Q) {
7705
7705
  for (var ee = 0, ie = M.length; ee < ie; ) {
7706
7706
  if (M[ee]._name === Q || M[ee].mn === Q || M[ee].propertyIndex === Q || M[ee].ix === Q || M[ee].ind === Q)
@@ -7709,11 +7709,11 @@ function requireLottie() {
7709
7709
  }
7710
7710
  return typeof Q == "number" ? M[Q - 1] : null;
7711
7711
  };
7712
- j.propertyGroup = propertyGroupFactory(j, te), M = e(G.it, H.it, j.propertyGroup), j.numProperties = M.length;
7713
- var F = h(G.it[G.it.length - 1], H.it[H.it.length - 1], j.propertyGroup);
7714
- return j.transform = F, j.propertyIndex = G.cix, j._name = G.nm, j;
7712
+ j.propertyGroup = propertyGroupFactory(j, te), M = e(H.it, G.it, j.propertyGroup), j.numProperties = M.length;
7713
+ var F = h(H.it[H.it.length - 1], G.it[G.it.length - 1], j.propertyGroup);
7714
+ return j.transform = F, j.propertyIndex = H.cix, j._name = H.nm, j;
7715
7715
  }
7716
- function r(G, H, te) {
7716
+ function r(H, G, te) {
7717
7717
  var M = function(Q) {
7718
7718
  switch (Q) {
7719
7719
  case "ADBE Vectors Group":
@@ -7728,45 +7728,45 @@ function requireLottie() {
7728
7728
  }
7729
7729
  };
7730
7730
  M.propertyGroup = propertyGroupFactory(M, te);
7731
- var j = t(G, H, M.propertyGroup), F = h(G.it[G.it.length - 1], H.it[H.it.length - 1], M.propertyGroup);
7731
+ var j = t(H, G, M.propertyGroup), F = h(H.it[H.it.length - 1], G.it[G.it.length - 1], M.propertyGroup);
7732
7732
  return M.content = j, M.transform = F, Object.defineProperty(M, "_name", {
7733
7733
  get: function() {
7734
- return G.nm;
7734
+ return H.nm;
7735
7735
  }
7736
- }), M.numProperties = G.np, M.propertyIndex = G.ix, M.nm = G.nm, M.mn = G.mn, M;
7736
+ }), M.numProperties = H.np, M.propertyIndex = H.ix, M.nm = H.nm, M.mn = H.mn, M;
7737
7737
  }
7738
- function i(G, H, te) {
7738
+ function i(H, G, te) {
7739
7739
  function M(j) {
7740
7740
  return j === "Color" || j === "color" ? M.color : j === "Opacity" || j === "opacity" ? M.opacity : null;
7741
7741
  }
7742
7742
  return Object.defineProperties(M, {
7743
7743
  color: {
7744
- get: ExpressionPropertyInterface(H.c)
7744
+ get: ExpressionPropertyInterface(G.c)
7745
7745
  },
7746
7746
  opacity: {
7747
- get: ExpressionPropertyInterface(H.o)
7747
+ get: ExpressionPropertyInterface(G.o)
7748
7748
  },
7749
7749
  _name: {
7750
- value: G.nm
7750
+ value: H.nm
7751
7751
  },
7752
7752
  mn: {
7753
- value: G.mn
7753
+ value: H.mn
7754
7754
  }
7755
- }), H.c.setGroupProperty(PropertyInterface("Color", te)), H.o.setGroupProperty(PropertyInterface("Opacity", te)), M;
7755
+ }), G.c.setGroupProperty(PropertyInterface("Color", te)), G.o.setGroupProperty(PropertyInterface("Opacity", te)), M;
7756
7756
  }
7757
- function s(G, H, te) {
7757
+ function s(H, G, te) {
7758
7758
  function M(j) {
7759
7759
  return j === "Start Point" || j === "start point" ? M.startPoint : j === "End Point" || j === "end point" ? M.endPoint : j === "Opacity" || j === "opacity" ? M.opacity : null;
7760
7760
  }
7761
7761
  return Object.defineProperties(M, {
7762
7762
  startPoint: {
7763
- get: ExpressionPropertyInterface(H.s)
7763
+ get: ExpressionPropertyInterface(G.s)
7764
7764
  },
7765
7765
  endPoint: {
7766
- get: ExpressionPropertyInterface(H.e)
7766
+ get: ExpressionPropertyInterface(G.e)
7767
7767
  },
7768
7768
  opacity: {
7769
- get: ExpressionPropertyInterface(H.o)
7769
+ get: ExpressionPropertyInterface(G.o)
7770
7770
  },
7771
7771
  type: {
7772
7772
  get: function() {
@@ -7774,41 +7774,41 @@ function requireLottie() {
7774
7774
  }
7775
7775
  },
7776
7776
  _name: {
7777
- value: G.nm
7777
+ value: H.nm
7778
7778
  },
7779
7779
  mn: {
7780
- value: G.mn
7780
+ value: H.mn
7781
7781
  }
7782
- }), H.s.setGroupProperty(PropertyInterface("Start Point", te)), H.e.setGroupProperty(PropertyInterface("End Point", te)), H.o.setGroupProperty(PropertyInterface("Opacity", te)), M;
7782
+ }), G.s.setGroupProperty(PropertyInterface("Start Point", te)), G.e.setGroupProperty(PropertyInterface("End Point", te)), G.o.setGroupProperty(PropertyInterface("Opacity", te)), M;
7783
7783
  }
7784
7784
  function a() {
7785
- function G() {
7785
+ function H() {
7786
7786
  return null;
7787
7787
  }
7788
- return G;
7788
+ return H;
7789
7789
  }
7790
- function n(G, H, te) {
7790
+ function n(H, G, te) {
7791
7791
  var M = propertyGroupFactory(ie, te), j = propertyGroupFactory(ee, M);
7792
7792
  function F(ae) {
7793
- Object.defineProperty(ee, G.d[ae].nm, {
7794
- get: ExpressionPropertyInterface(H.d.dataProps[ae].p)
7793
+ Object.defineProperty(ee, H.d[ae].nm, {
7794
+ get: ExpressionPropertyInterface(G.d.dataProps[ae].p)
7795
7795
  });
7796
7796
  }
7797
- var Z, Q = G.d ? G.d.length : 0, ee = {};
7797
+ var Z, Q = H.d ? H.d.length : 0, ee = {};
7798
7798
  for (Z = 0; Z < Q; Z += 1)
7799
- F(Z), H.d.dataProps[Z].p.setGroupProperty(j);
7799
+ F(Z), G.d.dataProps[Z].p.setGroupProperty(j);
7800
7800
  function ie(ae) {
7801
7801
  return ae === "Color" || ae === "color" ? ie.color : ae === "Opacity" || ae === "opacity" ? ie.opacity : ae === "Stroke Width" || ae === "stroke width" ? ie.strokeWidth : null;
7802
7802
  }
7803
7803
  return Object.defineProperties(ie, {
7804
7804
  color: {
7805
- get: ExpressionPropertyInterface(H.c)
7805
+ get: ExpressionPropertyInterface(G.c)
7806
7806
  },
7807
7807
  opacity: {
7808
- get: ExpressionPropertyInterface(H.o)
7808
+ get: ExpressionPropertyInterface(G.o)
7809
7809
  },
7810
7810
  strokeWidth: {
7811
- get: ExpressionPropertyInterface(H.w)
7811
+ get: ExpressionPropertyInterface(G.w)
7812
7812
  },
7813
7813
  dash: {
7814
7814
  get: function() {
@@ -7816,72 +7816,72 @@ function requireLottie() {
7816
7816
  }
7817
7817
  },
7818
7818
  _name: {
7819
- value: G.nm
7819
+ value: H.nm
7820
7820
  },
7821
7821
  mn: {
7822
- value: G.mn
7822
+ value: H.mn
7823
7823
  }
7824
- }), H.c.setGroupProperty(PropertyInterface("Color", M)), H.o.setGroupProperty(PropertyInterface("Opacity", M)), H.w.setGroupProperty(PropertyInterface("Stroke Width", M)), ie;
7824
+ }), G.c.setGroupProperty(PropertyInterface("Color", M)), G.o.setGroupProperty(PropertyInterface("Opacity", M)), G.w.setGroupProperty(PropertyInterface("Stroke Width", M)), ie;
7825
7825
  }
7826
- function l(G, H, te) {
7826
+ function l(H, G, te) {
7827
7827
  function M(F) {
7828
- return F === G.e.ix || F === "End" || F === "end" ? M.end : F === G.s.ix ? M.start : F === G.o.ix ? M.offset : null;
7828
+ return F === H.e.ix || F === "End" || F === "end" ? M.end : F === H.s.ix ? M.start : F === H.o.ix ? M.offset : null;
7829
7829
  }
7830
7830
  var j = propertyGroupFactory(M, te);
7831
- return M.propertyIndex = G.ix, H.s.setGroupProperty(PropertyInterface("Start", j)), H.e.setGroupProperty(PropertyInterface("End", j)), H.o.setGroupProperty(PropertyInterface("Offset", j)), M.propertyIndex = G.ix, M.propertyGroup = te, Object.defineProperties(M, {
7831
+ return M.propertyIndex = H.ix, G.s.setGroupProperty(PropertyInterface("Start", j)), G.e.setGroupProperty(PropertyInterface("End", j)), G.o.setGroupProperty(PropertyInterface("Offset", j)), M.propertyIndex = H.ix, M.propertyGroup = te, Object.defineProperties(M, {
7832
7832
  start: {
7833
- get: ExpressionPropertyInterface(H.s)
7833
+ get: ExpressionPropertyInterface(G.s)
7834
7834
  },
7835
7835
  end: {
7836
- get: ExpressionPropertyInterface(H.e)
7836
+ get: ExpressionPropertyInterface(G.e)
7837
7837
  },
7838
7838
  offset: {
7839
- get: ExpressionPropertyInterface(H.o)
7839
+ get: ExpressionPropertyInterface(G.o)
7840
7840
  },
7841
7841
  _name: {
7842
- value: G.nm
7842
+ value: H.nm
7843
7843
  }
7844
- }), M.mn = G.mn, M;
7844
+ }), M.mn = H.mn, M;
7845
7845
  }
7846
- function h(G, H, te) {
7846
+ function h(H, G, te) {
7847
7847
  function M(F) {
7848
- return G.a.ix === F || F === "Anchor Point" ? M.anchorPoint : G.o.ix === F || F === "Opacity" ? M.opacity : G.p.ix === F || F === "Position" ? M.position : G.r.ix === F || F === "Rotation" || F === "ADBE Vector Rotation" ? M.rotation : G.s.ix === F || F === "Scale" ? M.scale : G.sk && G.sk.ix === F || F === "Skew" ? M.skew : G.sa && G.sa.ix === F || F === "Skew Axis" ? M.skewAxis : null;
7848
+ return H.a.ix === F || F === "Anchor Point" ? M.anchorPoint : H.o.ix === F || F === "Opacity" ? M.opacity : H.p.ix === F || F === "Position" ? M.position : H.r.ix === F || F === "Rotation" || F === "ADBE Vector Rotation" ? M.rotation : H.s.ix === F || F === "Scale" ? M.scale : H.sk && H.sk.ix === F || F === "Skew" ? M.skew : H.sa && H.sa.ix === F || F === "Skew Axis" ? M.skewAxis : null;
7849
7849
  }
7850
7850
  var j = propertyGroupFactory(M, te);
7851
- return H.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", j)), H.transform.mProps.p.setGroupProperty(PropertyInterface("Position", j)), H.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", j)), H.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", j)), H.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", j)), H.transform.mProps.sk && (H.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", j)), H.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", j))), H.transform.op.setGroupProperty(PropertyInterface("Opacity", j)), Object.defineProperties(M, {
7851
+ return G.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", j)), G.transform.mProps.p.setGroupProperty(PropertyInterface("Position", j)), G.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", j)), G.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", j)), G.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", j)), G.transform.mProps.sk && (G.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", j)), G.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", j))), G.transform.op.setGroupProperty(PropertyInterface("Opacity", j)), Object.defineProperties(M, {
7852
7852
  opacity: {
7853
- get: ExpressionPropertyInterface(H.transform.mProps.o)
7853
+ get: ExpressionPropertyInterface(G.transform.mProps.o)
7854
7854
  },
7855
7855
  position: {
7856
- get: ExpressionPropertyInterface(H.transform.mProps.p)
7856
+ get: ExpressionPropertyInterface(G.transform.mProps.p)
7857
7857
  },
7858
7858
  anchorPoint: {
7859
- get: ExpressionPropertyInterface(H.transform.mProps.a)
7859
+ get: ExpressionPropertyInterface(G.transform.mProps.a)
7860
7860
  },
7861
7861
  scale: {
7862
- get: ExpressionPropertyInterface(H.transform.mProps.s)
7862
+ get: ExpressionPropertyInterface(G.transform.mProps.s)
7863
7863
  },
7864
7864
  rotation: {
7865
- get: ExpressionPropertyInterface(H.transform.mProps.r)
7865
+ get: ExpressionPropertyInterface(G.transform.mProps.r)
7866
7866
  },
7867
7867
  skew: {
7868
- get: ExpressionPropertyInterface(H.transform.mProps.sk)
7868
+ get: ExpressionPropertyInterface(G.transform.mProps.sk)
7869
7869
  },
7870
7870
  skewAxis: {
7871
- get: ExpressionPropertyInterface(H.transform.mProps.sa)
7871
+ get: ExpressionPropertyInterface(G.transform.mProps.sa)
7872
7872
  },
7873
7873
  _name: {
7874
- value: G.nm
7874
+ value: H.nm
7875
7875
  }
7876
- }), M.ty = "tr", M.mn = G.mn, M.propertyGroup = te, M;
7876
+ }), M.ty = "tr", M.mn = H.mn, M.propertyGroup = te, M;
7877
7877
  }
7878
- function d(G, H, te) {
7878
+ function d(H, G, te) {
7879
7879
  function M(Z) {
7880
- return G.p.ix === Z ? M.position : G.s.ix === Z ? M.size : null;
7880
+ return H.p.ix === Z ? M.position : H.s.ix === Z ? M.size : null;
7881
7881
  }
7882
7882
  var j = propertyGroupFactory(M, te);
7883
- M.propertyIndex = G.ix;
7884
- var F = H.sh.ty === "tm" ? H.sh.prop : H.sh;
7883
+ M.propertyIndex = H.ix;
7884
+ var F = G.sh.ty === "tm" ? G.sh.prop : G.sh;
7885
7885
  return F.s.setGroupProperty(PropertyInterface("Size", j)), F.p.setGroupProperty(PropertyInterface("Position", j)), Object.defineProperties(M, {
7886
7886
  size: {
7887
7887
  get: ExpressionPropertyInterface(F.s)
@@ -7890,16 +7890,16 @@ function requireLottie() {
7890
7890
  get: ExpressionPropertyInterface(F.p)
7891
7891
  },
7892
7892
  _name: {
7893
- value: G.nm
7893
+ value: H.nm
7894
7894
  }
7895
- }), M.mn = G.mn, M;
7895
+ }), M.mn = H.mn, M;
7896
7896
  }
7897
- function V(G, H, te) {
7897
+ function V(H, G, te) {
7898
7898
  function M(Z) {
7899
- return G.p.ix === Z ? M.position : G.r.ix === Z ? M.rotation : G.pt.ix === Z ? M.points : G.or.ix === Z || Z === "ADBE Vector Star Outer Radius" ? M.outerRadius : G.os.ix === Z ? M.outerRoundness : G.ir && (G.ir.ix === Z || Z === "ADBE Vector Star Inner Radius") ? M.innerRadius : G.is && G.is.ix === Z ? M.innerRoundness : null;
7899
+ return H.p.ix === Z ? M.position : H.r.ix === Z ? M.rotation : H.pt.ix === Z ? M.points : H.or.ix === Z || Z === "ADBE Vector Star Outer Radius" ? M.outerRadius : H.os.ix === Z ? M.outerRoundness : H.ir && (H.ir.ix === Z || Z === "ADBE Vector Star Inner Radius") ? M.innerRadius : H.is && H.is.ix === Z ? M.innerRoundness : null;
7900
7900
  }
7901
- var j = propertyGroupFactory(M, te), F = H.sh.ty === "tm" ? H.sh.prop : H.sh;
7902
- return M.propertyIndex = G.ix, F.or.setGroupProperty(PropertyInterface("Outer Radius", j)), F.os.setGroupProperty(PropertyInterface("Outer Roundness", j)), F.pt.setGroupProperty(PropertyInterface("Points", j)), F.p.setGroupProperty(PropertyInterface("Position", j)), F.r.setGroupProperty(PropertyInterface("Rotation", j)), G.ir && (F.ir.setGroupProperty(PropertyInterface("Inner Radius", j)), F.is.setGroupProperty(PropertyInterface("Inner Roundness", j))), Object.defineProperties(M, {
7901
+ var j = propertyGroupFactory(M, te), F = G.sh.ty === "tm" ? G.sh.prop : G.sh;
7902
+ return M.propertyIndex = H.ix, F.or.setGroupProperty(PropertyInterface("Outer Radius", j)), F.os.setGroupProperty(PropertyInterface("Outer Roundness", j)), F.pt.setGroupProperty(PropertyInterface("Points", j)), F.p.setGroupProperty(PropertyInterface("Position", j)), F.r.setGroupProperty(PropertyInterface("Rotation", j)), H.ir && (F.ir.setGroupProperty(PropertyInterface("Inner Radius", j)), F.is.setGroupProperty(PropertyInterface("Inner Roundness", j))), Object.defineProperties(M, {
7903
7903
  position: {
7904
7904
  get: ExpressionPropertyInterface(F.p)
7905
7905
  },
@@ -7922,16 +7922,16 @@ function requireLottie() {
7922
7922
  get: ExpressionPropertyInterface(F.is)
7923
7923
  },
7924
7924
  _name: {
7925
- value: G.nm
7925
+ value: H.nm
7926
7926
  }
7927
- }), M.mn = G.mn, M;
7927
+ }), M.mn = H.mn, M;
7928
7928
  }
7929
- function K(G, H, te) {
7929
+ function K(H, G, te) {
7930
7930
  function M(Z) {
7931
- return G.p.ix === Z ? M.position : G.r.ix === Z ? M.roundness : G.s.ix === Z || Z === "Size" || Z === "ADBE Vector Rect Size" ? M.size : null;
7931
+ return H.p.ix === Z ? M.position : H.r.ix === Z ? M.roundness : H.s.ix === Z || Z === "Size" || Z === "ADBE Vector Rect Size" ? M.size : null;
7932
7932
  }
7933
- var j = propertyGroupFactory(M, te), F = H.sh.ty === "tm" ? H.sh.prop : H.sh;
7934
- return M.propertyIndex = G.ix, F.p.setGroupProperty(PropertyInterface("Position", j)), F.s.setGroupProperty(PropertyInterface("Size", j)), F.r.setGroupProperty(PropertyInterface("Rotation", j)), Object.defineProperties(M, {
7933
+ var j = propertyGroupFactory(M, te), F = G.sh.ty === "tm" ? G.sh.prop : G.sh;
7934
+ return M.propertyIndex = H.ix, F.p.setGroupProperty(PropertyInterface("Position", j)), F.s.setGroupProperty(PropertyInterface("Size", j)), F.r.setGroupProperty(PropertyInterface("Rotation", j)), Object.defineProperties(M, {
7935
7935
  position: {
7936
7936
  get: ExpressionPropertyInterface(F.p)
7937
7937
  },
@@ -7942,30 +7942,30 @@ function requireLottie() {
7942
7942
  get: ExpressionPropertyInterface(F.s)
7943
7943
  },
7944
7944
  _name: {
7945
- value: G.nm
7945
+ value: H.nm
7946
7946
  }
7947
- }), M.mn = G.mn, M;
7947
+ }), M.mn = H.mn, M;
7948
7948
  }
7949
- function y(G, H, te) {
7949
+ function y(H, G, te) {
7950
7950
  function M(Z) {
7951
- return G.r.ix === Z || Z === "Round Corners 1" ? M.radius : null;
7951
+ return H.r.ix === Z || Z === "Round Corners 1" ? M.radius : null;
7952
7952
  }
7953
- var j = propertyGroupFactory(M, te), F = H;
7954
- return M.propertyIndex = G.ix, F.rd.setGroupProperty(PropertyInterface("Radius", j)), Object.defineProperties(M, {
7953
+ var j = propertyGroupFactory(M, te), F = G;
7954
+ return M.propertyIndex = H.ix, F.rd.setGroupProperty(PropertyInterface("Radius", j)), Object.defineProperties(M, {
7955
7955
  radius: {
7956
7956
  get: ExpressionPropertyInterface(F.rd)
7957
7957
  },
7958
7958
  _name: {
7959
- value: G.nm
7959
+ value: H.nm
7960
7960
  }
7961
- }), M.mn = G.mn, M;
7961
+ }), M.mn = H.mn, M;
7962
7962
  }
7963
- function q(G, H, te) {
7963
+ function q(H, G, te) {
7964
7964
  function M(Z) {
7965
- return G.c.ix === Z || Z === "Copies" ? M.copies : G.o.ix === Z || Z === "Offset" ? M.offset : null;
7965
+ return H.c.ix === Z || Z === "Copies" ? M.copies : H.o.ix === Z || Z === "Offset" ? M.offset : null;
7966
7966
  }
7967
- var j = propertyGroupFactory(M, te), F = H;
7968
- return M.propertyIndex = G.ix, F.c.setGroupProperty(PropertyInterface("Copies", j)), F.o.setGroupProperty(PropertyInterface("Offset", j)), Object.defineProperties(M, {
7967
+ var j = propertyGroupFactory(M, te), F = G;
7968
+ return M.propertyIndex = H.ix, F.c.setGroupProperty(PropertyInterface("Copies", j)), F.o.setGroupProperty(PropertyInterface("Offset", j)), Object.defineProperties(M, {
7969
7969
  copies: {
7970
7970
  get: ExpressionPropertyInterface(F.c)
7971
7971
  },
@@ -7973,11 +7973,11 @@ function requireLottie() {
7973
7973
  get: ExpressionPropertyInterface(F.o)
7974
7974
  },
7975
7975
  _name: {
7976
- value: G.nm
7976
+ value: H.nm
7977
7977
  }
7978
- }), M.mn = G.mn, M;
7978
+ }), M.mn = H.mn, M;
7979
7979
  }
7980
- return function(G, H, te) {
7980
+ return function(H, G, te) {
7981
7981
  var M;
7982
7982
  function j(Z) {
7983
7983
  if (typeof Z == "number")
@@ -7992,7 +7992,7 @@ function requireLottie() {
7992
7992
  function F() {
7993
7993
  return te;
7994
7994
  }
7995
- return j.propertyGroup = propertyGroupFactory(j, F), M = e(G, H, j.propertyGroup), j.numProperties = M.length, j._name = "Contents", j;
7995
+ return j.propertyGroup = propertyGroupFactory(j, F), M = e(H, G, j.propertyGroup), j.numProperties = M.length, j._name = "Contents", j;
7996
7996
  };
7997
7997
  })(), TextExpressionInterface = /* @__PURE__ */ (function() {
7998
7998
  return function(e) {
@@ -8110,22 +8110,22 @@ function requireLottie() {
8110
8110
  };
8111
8111
  })();
8112
8112
  function addPropertyDecorator() {
8113
- function e(y, q, G) {
8113
+ function e(y, q, H) {
8114
8114
  if (!this.k || !this.keyframes)
8115
8115
  return this.pv;
8116
8116
  y = y ? y.toLowerCase() : "";
8117
- var H = this.comp.renderedFrame, te = this.keyframes, M = te[te.length - 1].t;
8118
- if (H <= M)
8117
+ var G = this.comp.renderedFrame, te = this.keyframes, M = te[te.length - 1].t;
8118
+ if (G <= M)
8119
8119
  return this.pv;
8120
8120
  var j, F;
8121
- G ? (q ? j = Math.abs(M - this.elem.comp.globalData.frameRate * q) : j = Math.max(0, M - this.elem.data.ip), F = M - j) : ((!q || q > te.length - 1) && (q = te.length - 1), F = te[te.length - 1 - q].t, j = M - F);
8121
+ H ? (q ? j = Math.abs(M - this.elem.comp.globalData.frameRate * q) : j = Math.max(0, M - this.elem.data.ip), F = M - j) : ((!q || q > te.length - 1) && (q = te.length - 1), F = te[te.length - 1 - q].t, j = M - F);
8122
8122
  var Z, Q, ee;
8123
8123
  if (y === "pingpong") {
8124
- var ie = Math.floor((H - F) / j);
8124
+ var ie = Math.floor((G - F) / j);
8125
8125
  if (ie % 2 !== 0)
8126
- return this.getValueAtTime((j - (H - F) % j + F) / this.comp.globalData.frameRate, 0);
8126
+ return this.getValueAtTime((j - (G - F) % j + F) / this.comp.globalData.frameRate, 0);
8127
8127
  } else if (y === "offset") {
8128
- var ae = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), ue = this.getValueAtTime(((H - F) % j + F) / this.comp.globalData.frameRate, 0), de = Math.floor((H - F) / j);
8128
+ var ae = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), ue = this.getValueAtTime(((G - F) % j + F) / this.comp.globalData.frameRate, 0), de = Math.floor((G - F) / j);
8129
8129
  if (this.pv.length) {
8130
8130
  for (ee = new Array(ae.length), Q = ee.length, Z = 0; Z < Q; Z += 1)
8131
8131
  ee[Z] = (le[Z] - ae[Z]) * de + ue[Z];
@@ -8136,29 +8136,29 @@ function requireLottie() {
8136
8136
  var fe = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), pe = this.getValueAtTime((M - 1e-3) / this.comp.globalData.frameRate, 0);
8137
8137
  if (this.pv.length) {
8138
8138
  for (ee = new Array(fe.length), Q = ee.length, Z = 0; Z < Q; Z += 1)
8139
- ee[Z] = fe[Z] + (fe[Z] - pe[Z]) * ((H - M) / this.comp.globalData.frameRate) / 5e-4;
8139
+ ee[Z] = fe[Z] + (fe[Z] - pe[Z]) * ((G - M) / this.comp.globalData.frameRate) / 5e-4;
8140
8140
  return ee;
8141
8141
  }
8142
- return fe + (fe - pe) * ((H - M) / 1e-3);
8142
+ return fe + (fe - pe) * ((G - M) / 1e-3);
8143
8143
  }
8144
- return this.getValueAtTime(((H - F) % j + F) / this.comp.globalData.frameRate, 0);
8144
+ return this.getValueAtTime(((G - F) % j + F) / this.comp.globalData.frameRate, 0);
8145
8145
  }
8146
- function t(y, q, G) {
8146
+ function t(y, q, H) {
8147
8147
  if (!this.k)
8148
8148
  return this.pv;
8149
8149
  y = y ? y.toLowerCase() : "";
8150
- var H = this.comp.renderedFrame, te = this.keyframes, M = te[0].t;
8151
- if (H >= M)
8150
+ var G = this.comp.renderedFrame, te = this.keyframes, M = te[0].t;
8151
+ if (G >= M)
8152
8152
  return this.pv;
8153
8153
  var j, F;
8154
- G ? (q ? j = Math.abs(this.elem.comp.globalData.frameRate * q) : j = Math.max(0, this.elem.data.op - M), F = M + j) : ((!q || q > te.length - 1) && (q = te.length - 1), F = te[q].t, j = F - M);
8154
+ H ? (q ? j = Math.abs(this.elem.comp.globalData.frameRate * q) : j = Math.max(0, this.elem.data.op - M), F = M + j) : ((!q || q > te.length - 1) && (q = te.length - 1), F = te[q].t, j = F - M);
8155
8155
  var Z, Q, ee;
8156
8156
  if (y === "pingpong") {
8157
- var ie = Math.floor((M - H) / j);
8157
+ var ie = Math.floor((M - G) / j);
8158
8158
  if (ie % 2 === 0)
8159
- return this.getValueAtTime(((M - H) % j + M) / this.comp.globalData.frameRate, 0);
8159
+ return this.getValueAtTime(((M - G) % j + M) / this.comp.globalData.frameRate, 0);
8160
8160
  } else if (y === "offset") {
8161
- var ae = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), ue = this.getValueAtTime((j - (M - H) % j + M) / this.comp.globalData.frameRate, 0), de = Math.floor((M - H) / j) + 1;
8161
+ var ae = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), le = this.getValueAtTime(F / this.comp.globalData.frameRate, 0), ue = this.getValueAtTime((j - (M - G) % j + M) / this.comp.globalData.frameRate, 0), de = Math.floor((M - G) / j) + 1;
8162
8162
  if (this.pv.length) {
8163
8163
  for (ee = new Array(ae.length), Q = ee.length, Z = 0; Z < Q; Z += 1)
8164
8164
  ee[Z] = ue[Z] - (le[Z] - ae[Z]) * de;
@@ -8169,22 +8169,22 @@ function requireLottie() {
8169
8169
  var fe = this.getValueAtTime(M / this.comp.globalData.frameRate, 0), pe = this.getValueAtTime((M + 1e-3) / this.comp.globalData.frameRate, 0);
8170
8170
  if (this.pv.length) {
8171
8171
  for (ee = new Array(fe.length), Q = ee.length, Z = 0; Z < Q; Z += 1)
8172
- ee[Z] = fe[Z] + (fe[Z] - pe[Z]) * (M - H) / 1e-3;
8172
+ ee[Z] = fe[Z] + (fe[Z] - pe[Z]) * (M - G) / 1e-3;
8173
8173
  return ee;
8174
8174
  }
8175
- return fe + (fe - pe) * (M - H) / 1e-3;
8175
+ return fe + (fe - pe) * (M - G) / 1e-3;
8176
8176
  }
8177
- return this.getValueAtTime((j - ((M - H) % j + M)) / this.comp.globalData.frameRate, 0);
8177
+ return this.getValueAtTime((j - ((M - G) % j + M)) / this.comp.globalData.frameRate, 0);
8178
8178
  }
8179
8179
  function r(y, q) {
8180
8180
  if (!this.k)
8181
8181
  return this.pv;
8182
8182
  if (y = (y || 0.4) * 0.5, q = Math.floor(q || 5), q <= 1)
8183
8183
  return this.pv;
8184
- var G = this.comp.renderedFrame / this.comp.globalData.frameRate, H = G - y, te = G + y, M = q > 1 ? (te - H) / (q - 1) : 1, j = 0, F = 0, Z;
8184
+ var H = this.comp.renderedFrame / this.comp.globalData.frameRate, G = H - y, te = H + y, M = q > 1 ? (te - G) / (q - 1) : 1, j = 0, F = 0, Z;
8185
8185
  this.pv.length ? Z = createTypedArray("float32", this.pv.length) : Z = 0;
8186
8186
  for (var Q; j < q; ) {
8187
- if (Q = this.getValueAtTime(H + j * M), this.pv.length)
8187
+ if (Q = this.getValueAtTime(G + j * M), this.pv.length)
8188
8188
  for (F = 0; F < this.pv.length; F += 1)
8189
8189
  Z[F] += Q[F];
8190
8190
  else
@@ -8204,12 +8204,12 @@ function requireLottie() {
8204
8204
  });
8205
8205
  var q = this._transformCachingAtTime.v;
8206
8206
  if (q.cloneFromProps(this.pre.props), this.appliedTransformations < 1) {
8207
- var G = this.a.getValueAtTime(y);
8208
- q.translate(-G[0] * this.a.mult, -G[1] * this.a.mult, G[2] * this.a.mult);
8207
+ var H = this.a.getValueAtTime(y);
8208
+ q.translate(-H[0] * this.a.mult, -H[1] * this.a.mult, H[2] * this.a.mult);
8209
8209
  }
8210
8210
  if (this.appliedTransformations < 2) {
8211
- var H = this.s.getValueAtTime(y);
8212
- q.scale(H[0] * this.s.mult, H[1] * this.s.mult, H[2] * this.s.mult);
8211
+ var G = this.s.getValueAtTime(y);
8212
+ q.scale(G[0] * this.s.mult, G[1] * this.s.mult, G[2] * this.s.mult);
8213
8213
  }
8214
8214
  if (this.sk && this.appliedTransformations < 3) {
8215
8215
  var te = this.sk.getValueAtTime(y), M = this.sa.getValueAtTime(y);
@@ -8239,16 +8239,16 @@ function requireLottie() {
8239
8239
  return this.v.clone(new Matrix());
8240
8240
  }
8241
8241
  var a = TransformPropertyFactory.getTransformProperty;
8242
- TransformPropertyFactory.getTransformProperty = function(y, q, G) {
8243
- var H = a(y, q, G);
8244
- return H.dynamicProperties.length ? H.getValueAtTime = i.bind(H) : H.getValueAtTime = s.bind(H), H.setGroupProperty = expressionHelpers.setGroupProperty, H;
8242
+ TransformPropertyFactory.getTransformProperty = function(y, q, H) {
8243
+ var G = a(y, q, H);
8244
+ return G.dynamicProperties.length ? G.getValueAtTime = i.bind(G) : G.getValueAtTime = s.bind(G), G.setGroupProperty = expressionHelpers.setGroupProperty, G;
8245
8245
  };
8246
8246
  var n = PropertyFactory.getProp;
8247
- PropertyFactory.getProp = function(y, q, G, H, te) {
8248
- var M = n(y, q, G, H, te);
8247
+ PropertyFactory.getProp = function(y, q, H, G, te) {
8248
+ var M = n(y, q, H, G, te);
8249
8249
  M.kf ? M.getValueAtTime = expressionHelpers.getValueAtTime.bind(M) : M.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(M), M.setGroupProperty = expressionHelpers.setGroupProperty, M.loopOut = e, M.loopIn = t, M.smooth = r, M.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(M), M.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(M), M.numKeys = q.a === 1 ? q.k.length : 0, M.propertyIndex = q.ix;
8250
8250
  var j = 0;
8251
- return G !== 0 && (j = createTypedArray("float32", q.a === 1 ? q.k[0].s.length : q.k.length)), M._cachingAtTime = {
8251
+ return H !== 0 && (j = createTypedArray("float32", q.a === 1 ? q.k[0].s.length : q.k.length)), M._cachingAtTime = {
8252
8252
  lastFrame: initialDefaultFrame,
8253
8253
  lastIndex: 0,
8254
8254
  value: j
@@ -8265,11 +8265,11 @@ function requireLottie() {
8265
8265
  function V() {
8266
8266
  }
8267
8267
  V.prototype = {
8268
- vertices: function(q, G) {
8268
+ vertices: function(q, H) {
8269
8269
  this.k && this.getValue();
8270
- var H = this.v;
8271
- G !== void 0 && (H = this.getValueAtTime(G, 0));
8272
- var te, M = H._length, j = H[q], F = H.v, Z = createSizedArray(M);
8270
+ var G = this.v;
8271
+ H !== void 0 && (G = this.getValueAtTime(H, 0));
8272
+ var te, M = G._length, j = G[q], F = G.v, Z = createSizedArray(M);
8273
8273
  for (te = 0; te < M; te += 1)
8274
8274
  q === "i" || q === "o" ? Z[te] = [j[te][0] - F[te][0], j[te][1] - F[te][1]] : Z[te] = [j[te][0], j[te][1]];
8275
8275
  return Z;
@@ -8286,41 +8286,41 @@ function requireLottie() {
8286
8286
  isClosed: function() {
8287
8287
  return this.v.c;
8288
8288
  },
8289
- pointOnPath: function(q, G) {
8290
- var H = this.v;
8291
- G !== void 0 && (H = this.getValueAtTime(G, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(H));
8289
+ pointOnPath: function(q, H) {
8290
+ var G = this.v;
8291
+ H !== void 0 && (G = this.getValueAtTime(H, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(G));
8292
8292
  for (var te = this._segmentsLength, M = te.lengths, j = te.totalLength * q, F = 0, Z = M.length, Q = 0, ee; F < Z; ) {
8293
8293
  if (Q + M[F].addedLength > j) {
8294
- var ie = F, ae = H.c && F === Z - 1 ? 0 : F + 1, le = (j - Q) / M[F].addedLength;
8295
- ee = bez.getPointInSegment(H.v[ie], H.v[ae], H.o[ie], H.i[ae], le, M[F]);
8294
+ var ie = F, ae = G.c && F === Z - 1 ? 0 : F + 1, le = (j - Q) / M[F].addedLength;
8295
+ ee = bez.getPointInSegment(G.v[ie], G.v[ae], G.o[ie], G.i[ae], le, M[F]);
8296
8296
  break;
8297
8297
  } else
8298
8298
  Q += M[F].addedLength;
8299
8299
  F += 1;
8300
8300
  }
8301
- return ee || (ee = H.c ? [H.v[0][0], H.v[0][1]] : [H.v[H._length - 1][0], H.v[H._length - 1][1]]), ee;
8301
+ return ee || (ee = G.c ? [G.v[0][0], G.v[0][1]] : [G.v[G._length - 1][0], G.v[G._length - 1][1]]), ee;
8302
8302
  },
8303
- vectorOnPath: function(q, G, H) {
8303
+ vectorOnPath: function(q, H, G) {
8304
8304
  q == 1 ? q = this.v.c : q == 0 && (q = 0.999);
8305
- var te = this.pointOnPath(q, G), M = this.pointOnPath(q + 1e-3, G), j = M[0] - te[0], F = M[1] - te[1], Z = Math.sqrt(Math.pow(j, 2) + Math.pow(F, 2));
8305
+ var te = this.pointOnPath(q, H), M = this.pointOnPath(q + 1e-3, H), j = M[0] - te[0], F = M[1] - te[1], Z = Math.sqrt(Math.pow(j, 2) + Math.pow(F, 2));
8306
8306
  if (Z === 0)
8307
8307
  return [0, 0];
8308
- var Q = H === "tangent" ? [j / Z, F / Z] : [-F / Z, j / Z];
8308
+ var Q = G === "tangent" ? [j / Z, F / Z] : [-F / Z, j / Z];
8309
8309
  return Q;
8310
8310
  },
8311
- tangentOnPath: function(q, G) {
8312
- return this.vectorOnPath(q, G, "tangent");
8311
+ tangentOnPath: function(q, H) {
8312
+ return this.vectorOnPath(q, H, "tangent");
8313
8313
  },
8314
- normalOnPath: function(q, G) {
8315
- return this.vectorOnPath(q, G, "normal");
8314
+ normalOnPath: function(q, H) {
8315
+ return this.vectorOnPath(q, H, "normal");
8316
8316
  },
8317
8317
  setGroupProperty: expressionHelpers.setGroupProperty,
8318
8318
  getValueAtTime: expressionHelpers.getStaticValueAtTime
8319
8319
  }, extendPrototype([V], h), extendPrototype([V], d), d.prototype.getValueAtTime = l, d.prototype.initiateExpression = ExpressionManager.initiateExpression;
8320
8320
  var K = ShapePropertyFactory.getShapeProp;
8321
- ShapePropertyFactory.getShapeProp = function(y, q, G, H, te) {
8322
- var M = K(y, q, G, H, te);
8323
- return M.propertyIndex = q.ix, M.lock = !1, G === 3 ? expressionHelpers.searchExpressions(y, q.pt, M) : G === 4 && expressionHelpers.searchExpressions(y, q.ks, M), M.k && y.addDynamicProperty(M), M;
8321
+ ShapePropertyFactory.getShapeProp = function(y, q, H, G, te) {
8322
+ var M = K(y, q, H, G, te);
8323
+ return M.propertyIndex = q.ix, M.lock = !1, H === 3 ? expressionHelpers.searchExpressions(y, q.pt, M) : H === 4 && expressionHelpers.searchExpressions(y, q.ks, M), M.k && y.addDynamicProperty(M), M;
8324
8324
  };
8325
8325
  }
8326
8326
  function initialize$1() {
@@ -8458,8 +8458,8 @@ function requireLottie() {
8458
8458
  }, SVGProLevelsFilter.prototype.getTableValue = function(e, t, r, i, s) {
8459
8459
  for (var a = 0, n = 256, l, h = Math.min(e, t), d = Math.max(e, t), V = Array.call(null, {
8460
8460
  length: n
8461
- }), K, y = 0, q = s - i, G = t - e; a <= 256; )
8462
- l = a / 256, l <= h ? K = G < 0 ? s : i : l >= d ? K = G < 0 ? i : s : K = i + q * Math.pow((l - e) / G, 1 / r), V[y] = K, y += 1, a += 256 / (n - 1);
8461
+ }), K, y = 0, q = s - i, H = t - e; a <= 256; )
8462
+ l = a / 256, l <= h ? K = H < 0 ? s : i : l >= d ? K = H < 0 ? i : s : K = i + q * Math.pow((l - e) / H, 1 / r), V[y] = K, y += 1, a += 256 / (n - 1);
8463
8463
  return V.join(" ");
8464
8464
  }, SVGProLevelsFilter.prototype.renderFrame = function(e) {
8465
8465
  if (e || this.filterManager._mdf) {
@@ -8671,7 +8671,7 @@ function _unsupportedIterableToArray(e, t) {
8671
8671
  }
8672
8672
  }
8673
8673
  var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function e(t, r) {
8674
- var i = t.animationData, s = t.loop, a = t.autoplay, n = t.initialSegment, l = t.onComplete, h = t.onLoopComplete, d = t.onEnterFrame, V = t.onSegmentStart, K = t.onConfigReady, y = t.onDataReady, q = t.onDataFailed, G = t.onLoadedImages, H = t.onDOMLoaded, te = t.onDestroy;
8674
+ var i = t.animationData, s = t.loop, a = t.autoplay, n = t.initialSegment, l = t.onComplete, h = t.onLoopComplete, d = t.onEnterFrame, V = t.onSegmentStart, K = t.onConfigReady, y = t.onDataReady, q = t.onDataFailed, H = t.onLoadedImages, G = t.onDOMLoaded, te = t.onDestroy;
8675
8675
  t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
8676
8676
  var M = _objectWithoutProperties(t, _excluded$1), j = useState(!1), F = _slicedToArray(j, 2), Z = F[0], Q = F[1], ee = useRef(), ie = useRef(null), ae = function() {
8677
8677
  var ce;
@@ -8758,10 +8758,10 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
8758
8758
  handler: q
8759
8759
  }, {
8760
8760
  name: "loaded_images",
8761
- handler: G
8761
+ handler: H
8762
8762
  }, {
8763
8763
  name: "DOMLoaded",
8764
- handler: H
8764
+ handler: G
8765
8765
  }, {
8766
8766
  name: "destroy",
8767
8767
  handler: te
@@ -8789,7 +8789,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
8789
8789
  });
8790
8790
  };
8791
8791
  }
8792
- }, [l, h, d, V, K, y, q, G, H, te]);
8792
+ }, [l, h, d, V, K, y, q, H, G, te]);
8793
8793
  var oe = /* @__PURE__ */ React__default.createElement("div", _objectSpread2({
8794
8794
  style: r,
8795
8795
  ref: ie
@@ -8831,24 +8831,24 @@ var useInitInteractivity = function e(t) {
8831
8831
  i.stop();
8832
8832
  var l = function() {
8833
8833
  var V = null, K = function() {
8834
- var q = getContainerVisibility(n), G = a.find(function(te) {
8834
+ var q = getContainerVisibility(n), H = a.find(function(te) {
8835
8835
  var M = te.visibility;
8836
8836
  return M && q >= M[0] && q <= M[1];
8837
8837
  });
8838
- if (G) {
8839
- if (G.type === "seek" && G.visibility && G.frames.length === 2) {
8840
- var H = G.frames[0] + Math.ceil((q - G.visibility[0]) / (G.visibility[1] - G.visibility[0]) * G.frames[1]);
8841
- i.goToAndStop(H - i.firstFrame - 1, !0);
8838
+ if (H) {
8839
+ if (H.type === "seek" && H.visibility && H.frames.length === 2) {
8840
+ var G = H.frames[0] + Math.ceil((q - H.visibility[0]) / (H.visibility[1] - H.visibility[0]) * H.frames[1]);
8841
+ i.goToAndStop(G - i.firstFrame - 1, !0);
8842
8842
  }
8843
- G.type === "loop" && (V === null || V !== G.frames || i.isPaused) && (i.playSegments(G.frames, !0), V = G.frames), G.type === "play" && i.isPaused && (i.resetSegments(!0), i.play()), G.type === "stop" && i.goToAndStop(G.frames[0] - i.firstFrame - 1, !0);
8843
+ H.type === "loop" && (V === null || V !== H.frames || i.isPaused) && (i.playSegments(H.frames, !0), V = H.frames), H.type === "play" && i.isPaused && (i.resetSegments(!0), i.play()), H.type === "stop" && i.goToAndStop(H.frames[0] - i.firstFrame - 1, !0);
8844
8844
  }
8845
8845
  };
8846
8846
  return document.addEventListener("scroll", K), function() {
8847
8847
  document.removeEventListener("scroll", K);
8848
8848
  };
8849
8849
  }, h = function() {
8850
- var V = function(G, H) {
8851
- var te = G, M = H;
8850
+ var V = function(H, G) {
8851
+ var te = H, M = G;
8852
8852
  if (te !== -1 && M !== -1) {
8853
8853
  var j = getContainerCursorPosition(n, te, M);
8854
8854
  te = j.x, M = j.y;
@@ -8864,8 +8864,8 @@ var useInitInteractivity = function e(t) {
8864
8864
  }
8865
8865
  F.type === "loop" && i.playSegments(F.frames, !0), F.type === "play" && (i.isPaused && i.resetSegments(!1), i.playSegments(F.frames)), F.type === "stop" && i.goToAndStop(F.frames[0], !0);
8866
8866
  }
8867
- }, K = function(G) {
8868
- V(G.clientX, G.clientY);
8867
+ }, K = function(H) {
8868
+ V(H.clientX, H.clientY);
8869
8869
  }, y = function() {
8870
8870
  V(-1, -1);
8871
8871
  };
@@ -8890,15 +8890,15 @@ var useInitInteractivity = function e(t) {
8890
8890
  wrapperRef: l
8891
8891
  }), n;
8892
8892
  }, _excluded = ["style", "interactivity"], Lottie = function e(t) {
8893
- var r, i, s, a = t.style, n = t.interactivity, l = _objectWithoutProperties(t, _excluded), h = useLottie(l, a), d = h.View, V = h.play, K = h.stop, y = h.pause, q = h.setSpeed, G = h.goToAndStop, H = h.goToAndPlay, te = h.setDirection, M = h.playSegments, j = h.setSubframe, F = h.getDuration, Z = h.destroy, Q = h.animationContainerRef, ee = h.animationLoaded, ie = h.animationItem;
8893
+ var r, i, s, a = t.style, n = t.interactivity, l = _objectWithoutProperties(t, _excluded), h = useLottie(l, a), d = h.View, V = h.play, K = h.stop, y = h.pause, q = h.setSpeed, H = h.goToAndStop, G = h.goToAndPlay, te = h.setDirection, M = h.playSegments, j = h.setSubframe, F = h.getDuration, Z = h.destroy, Q = h.animationContainerRef, ee = h.animationLoaded, ie = h.animationItem;
8894
8894
  return useEffect(function() {
8895
8895
  t.lottieRef && (t.lottieRef.current = {
8896
8896
  play: V,
8897
8897
  stop: K,
8898
8898
  pause: y,
8899
8899
  setSpeed: q,
8900
- goToAndPlay: H,
8901
- goToAndStop: G,
8900
+ goToAndPlay: G,
8901
+ goToAndStop: H,
8902
8902
  setDirection: te,
8903
8903
  playSegments: M,
8904
8904
  setSubframe: j,
@@ -8915,8 +8915,8 @@ var useInitInteractivity = function e(t) {
8915
8915
  stop: K,
8916
8916
  pause: y,
8917
8917
  setSpeed: q,
8918
- goToAndStop: G,
8919
- goToAndPlay: H,
8918
+ goToAndStop: H,
8919
+ goToAndPlay: G,
8920
8920
  setDirection: te,
8921
8921
  playSegments: M,
8922
8922
  setSubframe: j,
@@ -9049,7 +9049,7 @@ function DataTable({
9049
9049
  errorContent: K,
9050
9050
  isLoading: y = !1
9051
9051
  }) {
9052
- const [q, G] = useState(s), H = i !== void 0 ? i : q, te = normalizeSortState$1(H), M = useMemo(() => new Map(e.map((Q) => [Q.key, Q])), [e]), j = useMemo(() => {
9052
+ const [q, H] = useState(s), G = i !== void 0 ? i : q, te = normalizeSortState$1(G), M = useMemo(() => new Map(e.map((Q) => [Q.key, Q])), [e]), j = useMemo(() => {
9053
9053
  if (h || !r || te.length === 0) return t;
9054
9054
  const Q = [...t];
9055
9055
  return Q.sort((ee, ie) => {
@@ -9065,10 +9065,10 @@ function DataTable({
9065
9065
  return 0;
9066
9066
  }), Q;
9067
9067
  }, [t, h, te, M, r]), F = (Q) => {
9068
- i === void 0 && G(Q), a?.(Q);
9068
+ i === void 0 && H(Q), a?.(Q);
9069
9069
  }, Z = (Q, ee) => {
9070
9070
  if (!(r && (Q.sortable ?? !!(Q.sortFn || Q.sortValue)))) return;
9071
- const ae = normalizeSortState$1(H), le = ae.find((de) => de.columnId === Q.key), ue = le?.direction === "asc" ? "desc" : le?.direction === "desc" ? null : "asc";
9071
+ const ae = normalizeSortState$1(G), le = ae.find((de) => de.columnId === Q.key), ue = le?.direction === "asc" ? "desc" : le?.direction === "desc" ? null : "asc";
9072
9072
  if (l === "multi" && ee) {
9073
9073
  const de = ae.filter((fe) => fe.columnId !== Q.key);
9074
9074
  ue && de.push({ columnId: Q.key, direction: ue }), F(de.length ? de : null);
@@ -9199,8 +9199,8 @@ function AsyncSelect({
9199
9199
  emptyLabel: K = "Sin resultados",
9200
9200
  loadingLabel: y = "Buscando...",
9201
9201
  emptyActionLabel: q,
9202
- onEmptyActionClick: G,
9203
- contentClassName: H,
9202
+ onEmptyActionClick: H,
9203
+ contentClassName: G,
9204
9204
  triggerClassName: te
9205
9205
  }) {
9206
9206
  const [M, j] = React.useState(!1), [F, Z] = React.useState(""), [Q, ee] = React.useState(!1), [ie, ae] = React.useState([]), [le, ue] = React.useState(""), de = useDebouncedValue(F, l), fe = de.trim().length >= n, pe = React.useRef(null);
@@ -9266,7 +9266,7 @@ function AsyncSelect({
9266
9266
  ]
9267
9267
  }
9268
9268
  ),
9269
- M && /* @__PURE__ */ jsxs("div", { className: cn("oniratec-async-select", H), children: [
9269
+ M && /* @__PURE__ */ jsxs("div", { className: cn("oniratec-async-select", G), children: [
9270
9270
  /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__search", children: [
9271
9271
  /* @__PURE__ */ jsx(
9272
9272
  "input",
@@ -9289,12 +9289,12 @@ function AsyncSelect({
9289
9289
  fe && Q && /* @__PURE__ */ jsx("div", { className: "oniratec-async-select__hint", children: y }),
9290
9290
  fe && !Q && ie.length === 0 && /* @__PURE__ */ jsxs("div", { className: "oniratec-async-select__empty", children: [
9291
9291
  /* @__PURE__ */ jsx("span", { children: K }),
9292
- q && G && /* @__PURE__ */ jsx(
9292
+ q && H && /* @__PURE__ */ jsx(
9293
9293
  "button",
9294
9294
  {
9295
9295
  type: "button",
9296
9296
  className: "oniratec-async-select__empty-action",
9297
- onClick: G,
9297
+ onClick: H,
9298
9298
  children: q
9299
9299
  }
9300
9300
  )
@@ -9422,9 +9422,9 @@ function FiltersModal({
9422
9422
  closeLabel: d = "Cerrar",
9423
9423
  className: V
9424
9424
  }) {
9425
- const K = useId(), y = t ? `${K}-description` : void 0, q = s !== void 0, [G, H] = useState(a), te = q ? s : G, M = useCallback(
9425
+ const K = useId(), y = t ? `${K}-description` : void 0, q = s !== void 0, [H, G] = useState(a), te = q ? s : H, M = useCallback(
9426
9426
  (j) => {
9427
- q || H(j), n?.(j);
9427
+ q || G(j), n?.(j);
9428
9428
  },
9429
9429
  [q, n]
9430
9430
  );
@@ -12273,10 +12273,10 @@ function deepEqual(e, t, r = /* @__PURE__ */ new WeakSet()) {
12273
12273
  function useWatch(e) {
12274
12274
  const t = useFormContext(), { control: r = t.control, name: i, defaultValue: s, disabled: a, exact: n, compute: l } = e || {}, h = React__default.useRef(s), d = React__default.useRef(l), V = React__default.useRef(void 0), K = React__default.useRef(r), y = React__default.useRef(i);
12275
12275
  d.current = l;
12276
- const [q, G] = React__default.useState(() => {
12276
+ const [q, H] = React__default.useState(() => {
12277
12277
  const Z = r._getWatch(i, h.current);
12278
12278
  return d.current ? d.current(Z) : Z;
12279
- }), H = React__default.useCallback((Z) => {
12279
+ }), G = React__default.useCallback((Z) => {
12280
12280
  const Q = generateWatchOutput(i, r._names, Z || r._formValues, !1, h.current);
12281
12281
  return d.current ? d.current(Q) : Q;
12282
12282
  }, [r._formValues, r._names, i]), te = React__default.useCallback((Z) => {
@@ -12284,9 +12284,9 @@ function useWatch(e) {
12284
12284
  const Q = generateWatchOutput(i, r._names, Z || r._formValues, !1, h.current);
12285
12285
  if (d.current) {
12286
12286
  const ee = d.current(Q);
12287
- deepEqual(ee, V.current) || (G(ee), V.current = ee);
12287
+ deepEqual(ee, V.current) || (H(ee), V.current = ee);
12288
12288
  } else
12289
- G(Q);
12289
+ H(Q);
12290
12290
  }
12291
12291
  }, [r._formValues, r._names, a, i]);
12292
12292
  useIsomorphicLayoutEffect(() => ((K.current !== r || !deepEqual(y.current, i)) && (K.current = r, y.current = i, te()), r._subscribe({
@@ -12303,8 +12303,8 @@ function useWatch(e) {
12303
12303
  if (a)
12304
12304
  return null;
12305
12305
  const Z = !M && !deepEqual(j, i);
12306
- return M || Z ? H() : null;
12307
- }, [a, M, i, j, H]);
12306
+ return M || Z ? G() : null;
12307
+ }, [a, M, i, j, G]);
12308
12308
  return F !== null ? F : q;
12309
12309
  }
12310
12310
  function useController(e) {
@@ -12317,13 +12317,13 @@ function useController(e) {
12317
12317
  control: s,
12318
12318
  name: r,
12319
12319
  exact: l
12320
- }), y = React__default.useRef(e), q = React__default.useRef(void 0), G = React__default.useRef(s.register(r, {
12320
+ }), y = React__default.useRef(e), q = React__default.useRef(void 0), H = React__default.useRef(s.register(r, {
12321
12321
  ...e.rules,
12322
12322
  value: V,
12323
12323
  ...isBoolean(e.disabled) ? { disabled: e.disabled } : {}
12324
12324
  }));
12325
12325
  y.current = e;
12326
- const H = React__default.useMemo(() => Object.defineProperties({}, {
12326
+ const G = React__default.useMemo(() => Object.defineProperties({}, {
12327
12327
  invalid: {
12328
12328
  enumerable: !0,
12329
12329
  get: () => !!get(K.errors, r)
@@ -12344,13 +12344,13 @@ function useController(e) {
12344
12344
  enumerable: !0,
12345
12345
  get: () => get(K.errors, r)
12346
12346
  }
12347
- }), [K, r]), te = React__default.useCallback((Z) => G.current.onChange({
12347
+ }), [K, r]), te = React__default.useCallback((Z) => H.current.onChange({
12348
12348
  target: {
12349
12349
  value: getEventValue(Z),
12350
12350
  name: r
12351
12351
  },
12352
12352
  type: EVENTS.CHANGE
12353
- }), [r]), M = React__default.useCallback(() => G.current.onBlur({
12353
+ }), [r]), M = React__default.useCallback(() => H.current.onBlur({
12354
12354
  target: {
12355
12355
  value: get(s._formValues, r),
12356
12356
  name: r
@@ -12397,20 +12397,17 @@ function useController(e) {
12397
12397
  }, [i, r, s]), React__default.useMemo(() => ({
12398
12398
  field: F,
12399
12399
  formState: K,
12400
- fieldState: H
12401
- }), [F, K, H]);
12400
+ fieldState: G
12401
+ }), [F, K, G]);
12402
12402
  }
12403
12403
  const Controller = (e) => e.render(useController(e));
12404
- function FormField(e) {
12405
- return /* @__PURE__ */ jsx(Controller, { ...e });
12406
- }
12407
12404
  function FieldRenderer({
12408
12405
  form: e,
12409
12406
  field: t
12410
12407
  }) {
12411
12408
  const [r, i] = useState(!1);
12412
12409
  return /* @__PURE__ */ jsx(
12413
- FormField,
12410
+ Controller,
12414
12411
  {
12415
12412
  control: e.control,
12416
12413
  name: t.name,
@@ -12620,39 +12617,47 @@ function FormFactoryRenderer({
12620
12617
  config: e,
12621
12618
  form: t,
12622
12619
  onSubmitAction: r,
12623
- submitLabel: i,
12624
- maxWidthClass: s,
12625
- children: a
12620
+ handleErrors: i,
12621
+ submitLabel: s,
12622
+ maxWidthClass: a,
12623
+ children: n
12626
12624
  }) {
12627
- const n = t.getValues();
12628
- return /* @__PURE__ */ jsx(FormProvider, { ...t, children: /* @__PURE__ */ jsxs("form", { onSubmit: t.handleSubmit(r), className: cn("space-y-8", s), children: [
12629
- e.sections.map((l, h) => /* @__PURE__ */ jsxs(Fragment, { children: [
12630
- /* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
12631
- /* @__PURE__ */ jsx("h3", { className: "oniratec-form__section-title", children: l.title }),
12632
- /* @__PURE__ */ jsx("div", { className: "space-y-4", children: l.fields.map((d, V) => {
12633
- const K = flattenRow(d).filter((G) => !G.hidden?.(n));
12634
- if (!K.length) return null;
12635
- const y = K.reduce((G, H) => G + (H.colSpan ?? 1), 0), q = y > 1 ? cn(
12636
- "grid gap-4",
12637
- y === 2 && "grid-cols-2",
12638
- y === 3 && "grid-cols-3",
12639
- y === 4 && "grid-cols-4"
12640
- ) : "";
12641
- return /* @__PURE__ */ jsx("div", { className: q, children: K.map((G) => /* @__PURE__ */ jsx(
12642
- "div",
12643
- {
12644
- className: G.colSpan ? `col-span-${G.colSpan}` : void 0,
12645
- children: /* @__PURE__ */ jsx(FieldRenderer, { form: t, field: G })
12646
- },
12647
- G.name
12648
- )) }, V);
12649
- }) })
12650
- ] }, l.title),
12651
- h < e.sections.length - 1 && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("hr", { className: "oniratec-form__separator" }) })
12652
- ] }, `fragment-${l.title}`)),
12653
- a,
12654
- /* @__PURE__ */ jsx("div", { className: "oniratec-form__actions", children: /* @__PURE__ */ jsx(Button, { type: "submit", loading: t.formState.isSubmitting, children: i }) })
12655
- ] }) });
12625
+ const l = useWatch({ control: t.control });
12626
+ return /* @__PURE__ */ jsx(FormProvider, { ...t, children: /* @__PURE__ */ jsxs(
12627
+ "form",
12628
+ {
12629
+ onSubmit: t.handleSubmit(r, (h) => i(h)),
12630
+ className: cn("space-y-8", a),
12631
+ children: [
12632
+ e.sections.map((h, d) => /* @__PURE__ */ jsxs(Fragment, { children: [
12633
+ /* @__PURE__ */ jsxs("section", { className: "space-y-4", children: [
12634
+ /* @__PURE__ */ jsx("h3", { className: "oniratec-form__section-title", children: h.title }),
12635
+ /* @__PURE__ */ jsx("div", { className: "space-y-4", children: h.fields.map((V, K) => {
12636
+ const y = flattenRow(V).filter((G) => !G.hidden?.(l));
12637
+ if (!y.length) return null;
12638
+ const q = y.reduce((G, te) => G + (te.colSpan ?? 1), 0), H = q > 1 ? cn(
12639
+ "grid gap-4",
12640
+ q === 2 && "grid-cols-2",
12641
+ q === 3 && "grid-cols-3",
12642
+ q === 4 && "grid-cols-4"
12643
+ ) : "";
12644
+ return /* @__PURE__ */ jsx("div", { className: H, children: y.map((G) => /* @__PURE__ */ jsx(
12645
+ "div",
12646
+ {
12647
+ className: G.colSpan ? `col-span-${G.colSpan}` : void 0,
12648
+ children: /* @__PURE__ */ jsx(FieldRenderer, { form: t, field: G })
12649
+ },
12650
+ G.name
12651
+ )) }, K);
12652
+ }) })
12653
+ ] }, h.title),
12654
+ d < e.sections.length - 1 && /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("hr", { className: "oniratec-form__separator" }) })
12655
+ ] }, `fragment-${h.title}`)),
12656
+ n,
12657
+ /* @__PURE__ */ jsx("div", { className: "oniratec-form__actions", children: /* @__PURE__ */ jsx(Button, { type: "submit", loading: t.formState.isSubmitting, children: s }) })
12658
+ ]
12659
+ }
12660
+ ) });
12656
12661
  }
12657
12662
  function renderFormFactory(e) {
12658
12663
  return /* @__PURE__ */ jsx(FormFactoryRenderer, { ...e });