cecomponent 1.0.83 → 1.0.84

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.
@@ -57,7 +57,7 @@ function requireReactJsxRuntime_development() {
57
57
  switch (M) {
58
58
  case p:
59
59
  return "Fragment";
60
- case y:
60
+ case g:
61
61
  return "Profiler";
62
62
  case E:
63
63
  return "StrictMode";
@@ -74,7 +74,7 @@ function requireReactJsxRuntime_development() {
74
74
  ), M.$$typeof) {
75
75
  case d:
76
76
  return "Portal";
77
- case g:
77
+ case y:
78
78
  return (M.displayName || "Context") + ".Provider";
79
79
  case _:
80
80
  return (M._context.displayName || "Context") + ".Consumer";
@@ -240,7 +240,7 @@ React keys must be passed directly to JSX without using spread:
240
240
  function m(M) {
241
241
  typeof M == "object" && M !== null && M.$$typeof === x && M._store && (M._store.validated = 1);
242
242
  }
243
- var u = React2__default, x = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), g = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), Y = Symbol.for("react.client.reference"), X = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, K = Array.isArray, ne = console.createTask ? console.createTask : function() {
243
+ var u = React2__default, x = Symbol.for("react.transitional.element"), d = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), y = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), A = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), Y = Symbol.for("react.client.reference"), X = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, K = Array.isArray, ne = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  u = {
@@ -297,24 +297,24 @@ function requireDist() {
297
297
  if (p < 2)
298
298
  return d;
299
299
  const E = (x == null ? void 0 : x.decode) || c;
300
- let y = 0;
300
+ let g = 0;
301
301
  do {
302
- const _ = u.indexOf("=", y);
302
+ const _ = u.indexOf("=", g);
303
303
  if (_ === -1)
304
304
  break;
305
- const g = u.indexOf(";", y), S = g === -1 ? p : g;
305
+ const y = u.indexOf(";", g), S = y === -1 ? p : y;
306
306
  if (_ > S) {
307
- y = u.lastIndexOf(";", _ - 1) + 1;
307
+ g = u.lastIndexOf(";", _ - 1) + 1;
308
308
  continue;
309
309
  }
310
- const C = o(u, y, _), T = l(u, _, C), A = u.slice(C, T);
310
+ const C = o(u, g, _), T = l(u, _, C), A = u.slice(C, T);
311
311
  if (d[A] === void 0) {
312
312
  let R = o(u, _ + 1, S), I = l(u, S, R);
313
313
  const Y = E(u.slice(R, I));
314
314
  d[A] = Y;
315
315
  }
316
- y = S + 1;
317
- } while (y < p);
316
+ g = S + 1;
317
+ } while (g < p);
318
318
  return d;
319
319
  }
320
320
  function o(u, x, d) {
@@ -340,39 +340,39 @@ function requireDist() {
340
340
  const E = p(x);
341
341
  if (!t.test(E))
342
342
  throw new TypeError(`argument val is invalid: ${x}`);
343
- let y = u + "=" + E;
343
+ let g = u + "=" + E;
344
344
  if (!d)
345
- return y;
345
+ return g;
346
346
  if (d.maxAge !== void 0) {
347
347
  if (!Number.isInteger(d.maxAge))
348
348
  throw new TypeError(`option maxAge is invalid: ${d.maxAge}`);
349
- y += "; Max-Age=" + d.maxAge;
349
+ g += "; Max-Age=" + d.maxAge;
350
350
  }
351
351
  if (d.domain) {
352
352
  if (!r.test(d.domain))
353
353
  throw new TypeError(`option domain is invalid: ${d.domain}`);
354
- y += "; Domain=" + d.domain;
354
+ g += "; Domain=" + d.domain;
355
355
  }
356
356
  if (d.path) {
357
357
  if (!i.test(d.path))
358
358
  throw new TypeError(`option path is invalid: ${d.path}`);
359
- y += "; Path=" + d.path;
359
+ g += "; Path=" + d.path;
360
360
  }
361
361
  if (d.expires) {
362
362
  if (!m(d.expires) || !Number.isFinite(d.expires.valueOf()))
363
363
  throw new TypeError(`option expires is invalid: ${d.expires}`);
364
- y += "; Expires=" + d.expires.toUTCString();
364
+ g += "; Expires=" + d.expires.toUTCString();
365
365
  }
366
- if (d.httpOnly && (y += "; HttpOnly"), d.secure && (y += "; Secure"), d.partitioned && (y += "; Partitioned"), d.priority)
366
+ if (d.httpOnly && (g += "; HttpOnly"), d.secure && (g += "; Secure"), d.partitioned && (g += "; Partitioned"), d.priority)
367
367
  switch (typeof d.priority == "string" ? d.priority.toLowerCase() : void 0) {
368
368
  case "low":
369
- y += "; Priority=Low";
369
+ g += "; Priority=Low";
370
370
  break;
371
371
  case "medium":
372
- y += "; Priority=Medium";
372
+ g += "; Priority=Medium";
373
373
  break;
374
374
  case "high":
375
- y += "; Priority=High";
375
+ g += "; Priority=High";
376
376
  break;
377
377
  default:
378
378
  throw new TypeError(`option priority is invalid: ${d.priority}`);
@@ -381,18 +381,18 @@ function requireDist() {
381
381
  switch (typeof d.sameSite == "string" ? d.sameSite.toLowerCase() : d.sameSite) {
382
382
  case !0:
383
383
  case "strict":
384
- y += "; SameSite=Strict";
384
+ g += "; SameSite=Strict";
385
385
  break;
386
386
  case "lax":
387
- y += "; SameSite=Lax";
387
+ g += "; SameSite=Lax";
388
388
  break;
389
389
  case "none":
390
- y += "; SameSite=None";
390
+ g += "; SameSite=None";
391
391
  break;
392
392
  default:
393
393
  throw new TypeError(`option sameSite is invalid: ${d.sameSite}`);
394
394
  }
395
- return y;
395
+ return g;
396
396
  }
397
397
  function c(u) {
398
398
  if (u.indexOf("%") === -1)
@@ -827,21 +827,21 @@ function useRoutesImpl(e, t, r, i) {
827
827
  );
828
828
  let { navigator: s } = React2.useContext(NavigationContext), { matches: n } = React2.useContext(RouteContext), a = n[n.length - 1], o = a ? a.params : {}, l = a ? a.pathname : "/", f = a ? a.pathnameBase : "/", c = a && a.route;
829
829
  {
830
- let y = c && c.path || "";
830
+ let g = c && c.path || "";
831
831
  warningOnce(
832
832
  l,
833
- !c || y.endsWith("*") || y.endsWith("*?"),
834
- `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
833
+ !c || g.endsWith("*") || g.endsWith("*?"),
834
+ `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${l}" (under <Route path="${g}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
835
835
 
836
- Please change the parent <Route path="${y}"> to <Route path="${y === "/" ? "*" : `${y}/*`}">.`
836
+ Please change the parent <Route path="${g}"> to <Route path="${g === "/" ? "*" : `${g}/*`}">.`
837
837
  );
838
838
  }
839
839
  let m = useLocation(), u;
840
840
  u = m;
841
841
  let x = u.pathname || "/", d = x;
842
842
  if (f !== "/") {
843
- let y = f.replace(/^\//, "").split("/");
844
- d = "/" + x.replace(/^\//, "").split("/").slice(y.length).join("/");
843
+ let g = f.replace(/^\//, "").split("/");
844
+ d = "/" + x.replace(/^\//, "").split("/").slice(g.length).join("/");
845
845
  }
846
846
  let p = matchRoutes(e, { pathname: d });
847
847
  return warning(
@@ -852,17 +852,17 @@ Please change the parent <Route path="${y}"> to <Route path="${y === "/" ? "*" :
852
852
  `Matched leaf route at location "${u.pathname}${u.search}${u.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
853
853
  ), _renderMatches(
854
854
  p && p.map(
855
- (y) => Object.assign({}, y, {
856
- params: Object.assign({}, o, y.params),
855
+ (g) => Object.assign({}, g, {
856
+ params: Object.assign({}, o, g.params),
857
857
  pathname: joinPaths([
858
858
  f,
859
859
  // Re-encode pathnames that were decoded inside matchRoutes
860
- s.encodeLocation ? s.encodeLocation(y.pathname).pathname : y.pathname
860
+ s.encodeLocation ? s.encodeLocation(g.pathname).pathname : g.pathname
861
861
  ]),
862
- pathnameBase: y.pathnameBase === "/" ? f : joinPaths([
862
+ pathnameBase: g.pathnameBase === "/" ? f : joinPaths([
863
863
  f,
864
864
  // Re-encode pathnames that were decoded inside matchRoutes
865
- s.encodeLocation ? s.encodeLocation(y.pathnameBase).pathname : y.pathnameBase
865
+ s.encodeLocation ? s.encodeLocation(g.pathnameBase).pathname : g.pathnameBase
866
866
  ])
867
867
  })
868
868
  ),
@@ -967,8 +967,8 @@ function _renderMatches(e, t = [], r = null, i = null) {
967
967
  "No `HydrateFallback` element provided to render during initial hydration"
968
968
  ), u = !0, d = null) : o === c && (u = !0, d = f.route.hydrateFallbackElement || null)));
969
969
  let p = t.concat(s.slice(0, c + 1)), E = () => {
970
- let y;
971
- return m ? y = x : u ? y = d : f.route.Component ? y = /* @__PURE__ */ React2.createElement(f.route.Component, null) : f.route.element ? y = f.route.element : y = l, /* @__PURE__ */ React2.createElement(
970
+ let g;
971
+ return m ? g = x : u ? g = d : f.route.Component ? g = /* @__PURE__ */ React2.createElement(f.route.Component, null) : f.route.element ? g = f.route.element : g = l, /* @__PURE__ */ React2.createElement(
972
972
  RenderedRoute,
973
973
  {
974
974
  match: f,
@@ -977,7 +977,7 @@ function _renderMatches(e, t = [], r = null, i = null) {
977
977
  matches: p,
978
978
  isDataRoute: r != null
979
979
  },
980
- children: y
980
+ children: g
981
981
  }
982
982
  );
983
983
  };
@@ -1277,8 +1277,8 @@ function usePrefetchBehavior(e, t) {
1277
1277
  let r = React2.useContext(FrameworkContext), [i, s] = React2.useState(!1), [n, a] = React2.useState(!1), { onFocus: o, onBlur: l, onMouseEnter: f, onMouseLeave: c, onTouchStart: m } = t, u = React2.useRef(null);
1278
1278
  React2.useEffect(() => {
1279
1279
  if (e === "render" && a(!0), e === "viewport") {
1280
- let p = (y) => {
1281
- y.forEach((_) => {
1280
+ let p = (g) => {
1281
+ g.forEach((_) => {
1282
1282
  a(_.isIntersecting);
1283
1283
  });
1284
1284
  }, E = new IntersectionObserver(p, { threshold: 0.5 });
@@ -1370,16 +1370,16 @@ function PrefetchPageLinksImpl({
1370
1370
  if (e === i.pathname + i.search + i.hash)
1371
1371
  return [];
1372
1372
  let d = /* @__PURE__ */ new Set(), p = !1;
1373
- if (t.forEach((y) => {
1374
- var g;
1375
- let _ = s.routes[y.route.id];
1376
- !_ || !_.hasLoader || (!f.some((S) => S.route.id === y.route.id) && y.route.id in o && ((g = n[y.route.id]) != null && g.shouldRevalidate) || _.hasClientLoader ? p = !0 : d.add(y.route.id));
1373
+ if (t.forEach((g) => {
1374
+ var y;
1375
+ let _ = s.routes[g.route.id];
1376
+ !_ || !_.hasLoader || (!f.some((S) => S.route.id === g.route.id) && g.route.id in o && ((y = n[g.route.id]) != null && y.shouldRevalidate) || _.hasClientLoader ? p = !0 : d.add(g.route.id));
1377
1377
  }), d.size === 0)
1378
1378
  return [];
1379
1379
  let E = singleFetchUrl(e, a);
1380
1380
  return p && d.size > 0 && E.searchParams.set(
1381
1381
  "_routes",
1382
- t.filter((y) => d.has(y.route.id)).map((y) => y.route.id).join(",")
1382
+ t.filter((g) => d.has(g.route.id)).map((g) => g.route.id).join(",")
1383
1383
  ), [E.pathname + E.search];
1384
1384
  }, [
1385
1385
  a,
@@ -1427,18 +1427,18 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React2.forward
1427
1427
  viewTransition: m,
1428
1428
  ...u
1429
1429
  }, x) {
1430
- let { basename: d } = React2.useContext(NavigationContext), p = typeof f == "string" && ABSOLUTE_URL_REGEX2.test(f), E, y = !1;
1430
+ let { basename: d } = React2.useContext(NavigationContext), p = typeof f == "string" && ABSOLUTE_URL_REGEX2.test(f), E, g = !1;
1431
1431
  if (typeof f == "string" && p && (E = f, isBrowser))
1432
1432
  try {
1433
1433
  let I = new URL(window.location.href), Y = f.startsWith("//") ? new URL(I.protocol + f) : new URL(f), X = stripBasename(Y.pathname, d);
1434
- Y.origin === I.origin && X != null ? f = X + Y.search + Y.hash : y = !0;
1434
+ Y.origin === I.origin && X != null ? f = X + Y.search + Y.hash : g = !0;
1435
1435
  } catch {
1436
1436
  warning(
1437
1437
  !1,
1438
1438
  `<Link to="${f}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1439
1439
  );
1440
1440
  }
1441
- let _ = useHref(f, { relative: s }), [g, S, C] = usePrefetchBehavior(
1441
+ let _ = useHref(f, { relative: s }), [y, S, C] = usePrefetchBehavior(
1442
1442
  i,
1443
1443
  u
1444
1444
  ), T = useLinkClickHandler(f, {
@@ -1460,14 +1460,14 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React2.forward
1460
1460
  ...u,
1461
1461
  ...C,
1462
1462
  href: E || _,
1463
- onClick: y || n ? t : A,
1463
+ onClick: g || n ? t : A,
1464
1464
  ref: mergeRefs(x, S),
1465
1465
  target: l,
1466
1466
  "data-discover": !p && r === "render" ? "true" : void 0
1467
1467
  }
1468
1468
  )
1469
1469
  );
1470
- return g && !p ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, R, /* @__PURE__ */ React2.createElement(PrefetchPageLinks, { page: _ })) : R;
1470
+ return y && !p ? /* @__PURE__ */ React2.createElement(React2.Fragment, null, R, /* @__PURE__ */ React2.createElement(PrefetchPageLinks, { page: _ })) : R;
1471
1471
  }
1472
1472
  );
1473
1473
  Link.displayName = "Link";
@@ -1485,10 +1485,10 @@ var NavLink = React2.forwardRef(
1485
1485
  }, c) {
1486
1486
  let m = useResolvedPath(a, { relative: f.relative }), u = useLocation(), x = React2.useContext(DataRouterStateContext), { navigator: d, basename: p } = React2.useContext(NavigationContext), E = x != null && // Conditional usage is OK here because the usage of a data router is static
1487
1487
  // eslint-disable-next-line react-hooks/rules-of-hooks
1488
- useViewTransitionState(m) && o === !0, y = d.encodeLocation ? d.encodeLocation(m).pathname : m.pathname, _ = u.pathname, g = x && x.navigation && x.navigation.location ? x.navigation.location.pathname : null;
1489
- r || (_ = _.toLowerCase(), g = g ? g.toLowerCase() : null, y = y.toLowerCase()), g && p && (g = stripBasename(g, p) || g);
1490
- const S = y !== "/" && y.endsWith("/") ? y.length - 1 : y.length;
1491
- let C = _ === y || !s && _.startsWith(y) && _.charAt(S) === "/", T = g != null && (g === y || !s && g.startsWith(y) && g.charAt(y.length) === "/"), A = {
1488
+ useViewTransitionState(m) && o === !0, g = d.encodeLocation ? d.encodeLocation(m).pathname : m.pathname, _ = u.pathname, y = x && x.navigation && x.navigation.location ? x.navigation.location.pathname : null;
1489
+ r || (_ = _.toLowerCase(), y = y ? y.toLowerCase() : null, g = g.toLowerCase()), y && p && (y = stripBasename(y, p) || y);
1490
+ const S = g !== "/" && g.endsWith("/") ? g.length - 1 : g.length;
1491
+ let C = _ === g || !s && _.startsWith(g) && _.charAt(S) === "/", T = y != null && (y === g || !s && y.startsWith(g) && y.charAt(g.length) === "/"), A = {
1492
1492
  isActive: C,
1493
1493
  isPending: T,
1494
1494
  isTransitioning: E
@@ -1532,11 +1532,11 @@ var Form = React2.forwardRef(
1532
1532
  viewTransition: m,
1533
1533
  ...u
1534
1534
  }, x) => {
1535
- let d = useSubmit(), p = useFormAction(o, { relative: f }), E = a.toLowerCase() === "get" ? "get" : "post", y = typeof o == "string" && ABSOLUTE_URL_REGEX2.test(o), _ = (g) => {
1536
- if (l && l(g), g.defaultPrevented) return;
1537
- g.preventDefault();
1538
- let S = g.nativeEvent.submitter, C = (S == null ? void 0 : S.getAttribute("formmethod")) || a;
1539
- d(S || g.currentTarget, {
1535
+ let d = useSubmit(), p = useFormAction(o, { relative: f }), E = a.toLowerCase() === "get" ? "get" : "post", g = typeof o == "string" && ABSOLUTE_URL_REGEX2.test(o), _ = (y) => {
1536
+ if (l && l(y), y.defaultPrevented) return;
1537
+ y.preventDefault();
1538
+ let S = y.nativeEvent.submitter, C = (S == null ? void 0 : S.getAttribute("formmethod")) || a;
1539
+ d(S || y.currentTarget, {
1540
1540
  fetcherKey: t,
1541
1541
  method: C,
1542
1542
  navigate: r,
@@ -1555,7 +1555,7 @@ var Form = React2.forwardRef(
1555
1555
  action: p,
1556
1556
  onSubmit: i ? l : _,
1557
1557
  ...u,
1558
- "data-discover": !y && e === "render" ? "true" : void 0
1558
+ "data-discover": !g && e === "render" ? "true" : void 0
1559
1559
  }
1560
1560
  );
1561
1561
  }
@@ -1788,7 +1788,7 @@ const Breadcrumbs = ({ items: e, maxVisible: t = 4, onItemClick: r }) => {
1788
1788
  showSearchIcon: c = !1,
1789
1789
  showDropdownIcon: m = !1
1790
1790
  }) => {
1791
- const [u, x] = useState([]), [d, p] = useState(!1), [E, y] = useState(!1), [_, g] = useState(!1), [S, C] = useState(
1791
+ const [u, x] = useState([]), [d, p] = useState(!1), [E, g] = useState(!1), [_, y] = useState(!1), [S, C] = useState(
1792
1792
  Array.isArray(i) ? i : i ? [i] : []
1793
1793
  ), T = useRef(null), A = () => /* @__PURE__ */ jsxRuntimeExports.jsx(
1794
1794
  "svg",
@@ -1831,7 +1831,7 @@ const Breadcrumbs = ({ items: e, maxVisible: t = 4, onItemClick: r }) => {
1831
1831
  x([]);
1832
1832
  return;
1833
1833
  }
1834
- y(!0), r(ne).then((q) => x(q)).finally(() => y(!1));
1834
+ g(!0), r(ne).then((q) => x(q)).finally(() => g(!1));
1835
1835
  }, [i, r]);
1836
1836
  const I = getSizeStyle$1(l || "medium"), Y = {
1837
1837
  "--input-font-size": I.fontSize,
@@ -1867,10 +1867,10 @@ const Breadcrumbs = ({ items: e, maxVisible: t = 4, onItemClick: r }) => {
1867
1867
  s(ne.target.value), p(!0);
1868
1868
  },
1869
1869
  onFocus: () => {
1870
- p(!0), g(!0);
1870
+ p(!0), y(!0);
1871
1871
  },
1872
1872
  onBlur: () => {
1873
- setTimeout(() => p(!1), 150), g(!1);
1873
+ setTimeout(() => p(!1), 150), y(!1);
1874
1874
  }
1875
1875
  }
1876
1876
  ),
@@ -2229,16 +2229,16 @@ function toFormData$1(e, t, r) {
2229
2229
  return utils$2.isArrayBuffer(d) || utils$2.isTypedArray(d) ? l && typeof Blob == "function" ? new Blob([d]) : Buffer.from(d) : d;
2230
2230
  }
2231
2231
  function c(d, p, E) {
2232
- let y = d;
2232
+ let g = d;
2233
2233
  if (d && !E && typeof d == "object") {
2234
2234
  if (utils$2.endsWith(p, "{}"))
2235
2235
  p = i ? p : p.slice(0, -2), d = JSON.stringify(d);
2236
- else if (utils$2.isArray(d) && isFlatArray(d) || (utils$2.isFileList(d) || utils$2.endsWith(p, "[]")) && (y = utils$2.toArray(d)))
2237
- return p = removeBrackets(p), y.forEach(function(g, S) {
2238
- !(utils$2.isUndefined(g) || g === null) && t.append(
2236
+ else if (utils$2.isArray(d) && isFlatArray(d) || (utils$2.isFileList(d) || utils$2.endsWith(p, "[]")) && (g = utils$2.toArray(d)))
2237
+ return p = removeBrackets(p), g.forEach(function(y, S) {
2238
+ !(utils$2.isUndefined(y) || y === null) && t.append(
2239
2239
  // eslint-disable-next-line no-nested-ternary
2240
2240
  a === !0 ? renderKey([p], S, n) : a === null ? p : p + "[]",
2241
- f(g)
2241
+ f(y)
2242
2242
  );
2243
2243
  }), !1;
2244
2244
  }
@@ -2253,14 +2253,14 @@ function toFormData$1(e, t, r) {
2253
2253
  if (!utils$2.isUndefined(d)) {
2254
2254
  if (m.indexOf(d) !== -1)
2255
2255
  throw Error("Circular reference detected in " + p.join("."));
2256
- m.push(d), utils$2.forEach(d, function(y, _) {
2257
- (!(utils$2.isUndefined(y) || y === null) && s.call(
2256
+ m.push(d), utils$2.forEach(d, function(g, _) {
2257
+ (!(utils$2.isUndefined(g) || g === null) && s.call(
2258
2258
  t,
2259
- y,
2259
+ g,
2260
2260
  utils$2.isString(_) ? _.trim() : _,
2261
2261
  p,
2262
2262
  u
2263
- )) === !0 && x(y, p ? p.concat(_) : [_]);
2263
+ )) === !0 && x(g, p ? p.concat(_) : [_]);
2264
2264
  }), m.pop();
2265
2265
  }
2266
2266
  }
@@ -2920,16 +2920,16 @@ const resolveConfig = (e) => {
2920
2920
  }
2921
2921
  let E = new XMLHttpRequest();
2922
2922
  E.open(s.method.toUpperCase(), s.url, !0), E.timeout = s.timeout;
2923
- function y() {
2923
+ function g() {
2924
2924
  if (!E)
2925
2925
  return;
2926
- const g = AxiosHeaders$1.from(
2926
+ const y = AxiosHeaders$1.from(
2927
2927
  "getAllResponseHeaders" in E && E.getAllResponseHeaders()
2928
2928
  ), C = {
2929
2929
  data: !o || o === "text" || o === "json" ? E.responseText : E.response,
2930
2930
  status: E.status,
2931
2931
  statusText: E.statusText,
2932
- headers: g,
2932
+ headers: y,
2933
2933
  config: e,
2934
2934
  request: E
2935
2935
  };
@@ -2939,8 +2939,8 @@ const resolveConfig = (e) => {
2939
2939
  i(A), p();
2940
2940
  }, C), E = null;
2941
2941
  }
2942
- "onloadend" in E ? E.onloadend = y : E.onreadystatechange = function() {
2943
- !E || E.readyState !== 4 || E.status === 0 && !(E.responseURL && E.responseURL.indexOf("file:") === 0) || setTimeout(y);
2942
+ "onloadend" in E ? E.onloadend = g : E.onreadystatechange = function() {
2943
+ !E || E.readyState !== 4 || E.status === 0 && !(E.responseURL && E.responseURL.indexOf("file:") === 0) || setTimeout(g);
2944
2944
  }, E.onabort = function() {
2945
2945
  E && (i(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, e, E)), E = null);
2946
2946
  }, E.onerror = function() {
@@ -2956,8 +2956,8 @@ const resolveConfig = (e) => {
2956
2956
  )), E = null;
2957
2957
  }, n === void 0 && a.setContentType(null), "setRequestHeader" in E && utils$2.forEach(a.toJSON(), function(S, C) {
2958
2958
  E.setRequestHeader(C, S);
2959
- }), utils$2.isUndefined(s.withCredentials) || (E.withCredentials = !!s.withCredentials), o && o !== "json" && (E.responseType = s.responseType), f && ([u, d] = progressEventReducer(f, !0), E.addEventListener("progress", u)), l && E.upload && ([m, x] = progressEventReducer(l), E.upload.addEventListener("progress", m), E.upload.addEventListener("loadend", x)), (s.cancelToken || s.signal) && (c = (g) => {
2960
- E && (i(!g || g.type ? new CanceledError$1(null, e, E) : g), E.abort(), E = null);
2959
+ }), utils$2.isUndefined(s.withCredentials) || (E.withCredentials = !!s.withCredentials), o && o !== "json" && (E.responseType = s.responseType), f && ([u, d] = progressEventReducer(f, !0), E.addEventListener("progress", u)), l && E.upload && ([m, x] = progressEventReducer(l), E.upload.addEventListener("progress", m), E.upload.addEventListener("loadend", x)), (s.cancelToken || s.signal) && (c = (y) => {
2960
+ E && (i(!y || y.type ? new CanceledError$1(null, e, E) : y), E.abort(), E = null);
2961
2961
  }, s.cancelToken && s.cancelToken.subscribe(c), s.signal && (s.signal.aborted ? c() : s.signal.addEventListener("abort", c)));
2962
2962
  const _ = parseProtocol(s.url);
2963
2963
  if (_ && platform.protocols.indexOf(_) === -1) {
@@ -3126,7 +3126,7 @@ const getBodyLength = async (e) => {
3126
3126
  }
3127
3127
  }
3128
3128
  utils$2.isString(m) || (m = m ? "include" : "omit");
3129
- const y = "credentials" in Request.prototype;
3129
+ const g = "credentials" in Request.prototype;
3130
3130
  d = new Request(t, {
3131
3131
  ...u,
3132
3132
  signal: x,
@@ -3134,11 +3134,11 @@ const getBodyLength = async (e) => {
3134
3134
  headers: c.normalize().toJSON(),
3135
3135
  body: i,
3136
3136
  duplex: "half",
3137
- credentials: y ? m : void 0
3137
+ credentials: g ? m : void 0
3138
3138
  });
3139
3139
  let _ = await fetch(d);
3140
- const g = supportsResponseStream && (f === "stream" || f === "response");
3141
- if (supportsResponseStream && (o || g && p)) {
3140
+ const y = supportsResponseStream && (f === "stream" || f === "response");
3141
+ if (supportsResponseStream && (o || y && p)) {
3142
3142
  const C = {};
3143
3143
  ["status", "statusText", "headers"].forEach((I) => {
3144
3144
  C[I] = _[I];
@@ -3156,7 +3156,7 @@ const getBodyLength = async (e) => {
3156
3156
  }
3157
3157
  f = f || "text";
3158
3158
  let S = await resolvers[utils$2.findKey(resolvers, f) || "text"](_, e);
3159
- return !g && p && p(), await new Promise((C, T) => {
3159
+ return !y && p && p(), await new Promise((C, T) => {
3160
3160
  settle(C, T, {
3161
3161
  data: S,
3162
3162
  headers: AxiosHeaders$1.from(_.headers),
@@ -3166,13 +3166,13 @@ const getBodyLength = async (e) => {
3166
3166
  request: d
3167
3167
  });
3168
3168
  });
3169
- } catch (y) {
3170
- throw p && p(), y && y.name === "TypeError" && /fetch/i.test(y.message) ? Object.assign(
3169
+ } catch (g) {
3170
+ throw p && p(), g && g.name === "TypeError" && /fetch/i.test(g.message) ? Object.assign(
3171
3171
  new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, e, d),
3172
3172
  {
3173
- cause: y.cause || y
3173
+ cause: g.cause || g
3174
3174
  }
3175
- ) : AxiosError$1.from(y, y && y.code, e, d);
3175
+ ) : AxiosError$1.from(g, g && g.code, e, d);
3176
3176
  }
3177
3177
  }), knownAdapters = {
3178
3178
  http: httpAdapter,
@@ -3739,8 +3739,8 @@ const {
3739
3739
  onKeyDown: d,
3740
3740
  id: p,
3741
3741
  ...E
3742
- }, y) => {
3743
- const [_, g] = useState(""), S = p || `ce-search-field-${Math.random().toString(36).substr(2, 9)}`, C = () => /* @__PURE__ */ jsxRuntimeExports.jsx(
3742
+ }, g) => {
3743
+ const [_, y] = useState(""), S = p || `ce-search-field-${Math.random().toString(36).substr(2, 9)}`, C = () => /* @__PURE__ */ jsxRuntimeExports.jsx(
3744
3744
  "svg",
3745
3745
  {
3746
3746
  width: "24",
@@ -3758,13 +3758,13 @@ const {
3758
3758
  )
3759
3759
  }
3760
3760
  ), T = u !== void 0 ? u : _, A = T && T.toString().length > 0, R = (W) => {
3761
- u === void 0 && g(W.target.value), x == null || x(W);
3761
+ u === void 0 && y(W.target.value), x == null || x(W);
3762
3762
  }, I = (W) => {
3763
3763
  W.key === "Enter" && t && t(T.toString()), d == null || d(W);
3764
3764
  }, Y = () => {
3765
3765
  t && t(T.toString());
3766
3766
  }, X = () => {
3767
- u === void 0 && g(""), r == null || r();
3767
+ u === void 0 && y(""), r == null || r();
3768
3768
  const W = document.getElementById(S);
3769
3769
  if (W && x) {
3770
3770
  const K = new Event("change", { bubbles: !0 });
@@ -3789,7 +3789,7 @@ const {
3789
3789
  /* @__PURE__ */ jsxRuntimeExports.jsx(
3790
3790
  "input",
3791
3791
  {
3792
- ref: y,
3792
+ ref: g,
3793
3793
  type: "text",
3794
3794
  id: S,
3795
3795
  className: `ce-search-field-input ${i ? "error" : ""} ${f} ${m || ""}`,
@@ -3843,7 +3843,7 @@ const CEDynamicSelectField = forwardRef(({
3843
3843
  value: x,
3844
3844
  ...d
3845
3845
  }, p) => {
3846
- const E = u || `ce-select-field-${Math.random().toString(36).substr(2, 9)}`, y = () => /* @__PURE__ */ jsxRuntimeExports.jsx(
3846
+ const E = u || `ce-select-field-${Math.random().toString(36).substr(2, 9)}`, g = () => /* @__PURE__ */ jsxRuntimeExports.jsx(
3847
3847
  "svg",
3848
3848
  {
3849
3849
  width: "24",
@@ -3860,7 +3860,7 @@ const CEDynamicSelectField = forwardRef(({
3860
3860
  }
3861
3861
  )
3862
3862
  }
3863
- ), _ = x && t.some((S) => S.value === x), g = n && t.length > 0 && (!x || !_);
3863
+ ), _ = x && t.some((S) => S.value === x), y = n && t.length > 0 && (!x || !_);
3864
3864
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
3865
3865
  "div",
3866
3866
  {
@@ -3885,7 +3885,7 @@ const CEDynamicSelectField = forwardRef(({
3885
3885
  value: x,
3886
3886
  ...d,
3887
3887
  children: t.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", disabled: !0 }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
3888
- g && /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", disabled: d.required, children: a }),
3888
+ y && /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", disabled: d.required, children: a }),
3889
3889
  t.map((S) => /* @__PURE__ */ jsxRuntimeExports.jsx(
3890
3890
  "option",
3891
3891
  {
@@ -3898,7 +3898,7 @@ const CEDynamicSelectField = forwardRef(({
3898
3898
  ] })
3899
3899
  }
3900
3900
  ),
3901
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ce-select-field-arrow", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntimeExports.jsx(y, {}) })
3901
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "ce-select-field-arrow", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntimeExports.jsx(g, {}) })
3902
3902
  ] }),
3903
3903
  r && i && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "ce-select-field-error-message", children: i })
3904
3904
  ]
@@ -3964,16 +3964,16 @@ const uploadWrapper = "_uploadWrapper_179oq_1", dropZone = "_dropZone_179oq_15",
3964
3964
  "text/csv"
3965
3965
  ], CEFileUploadDocument = ({ onUpload: e }) => {
3966
3966
  const t = useRef(null), [r, i] = useState([]), [s, n] = useState(null), [a, o] = useState(!1), l = (E) => {
3967
- const y = (/* @__PURE__ */ new Date()).toLocaleDateString(), _ = E.filter((C) => allowedTypes.includes(C.type)), g = E.filter(
3967
+ const g = (/* @__PURE__ */ new Date()).toLocaleDateString(), _ = E.filter((C) => allowedTypes.includes(C.type)), y = E.filter(
3968
3968
  (C) => !allowedTypes.includes(C.type)
3969
3969
  );
3970
- g.length > 0 ? n(
3971
- `Unsupported file(s): ${g.map((C) => C.name).join(", ")}`
3970
+ y.length > 0 ? n(
3971
+ `Unsupported file(s): ${y.map((C) => C.name).join(", ")}`
3972
3972
  ) : n(null);
3973
3973
  const S = _.map((C) => ({
3974
3974
  name: C.name,
3975
3975
  type: C.type,
3976
- uploadDate: y,
3976
+ uploadDate: g,
3977
3977
  file: C
3978
3978
  }));
3979
3979
  i((C) => {
@@ -3983,8 +3983,8 @@ const uploadWrapper = "_uploadWrapper_179oq_1", dropZone = "_dropZone_179oq_15",
3983
3983
  return [...C, ...A];
3984
3984
  }), e && S.length > 0 && e(S);
3985
3985
  }, f = (E) => {
3986
- const y = Array.from(E.target.files || []);
3987
- l(y), t.current && (t.current.value = "");
3986
+ const g = Array.from(E.target.files || []);
3987
+ l(g), t.current && (t.current.value = "");
3988
3988
  }, c = (E) => {
3989
3989
  E.preventDefault();
3990
3990
  }, m = (E) => {
@@ -3993,13 +3993,13 @@ const uploadWrapper = "_uploadWrapper_179oq_1", dropZone = "_dropZone_179oq_15",
3993
3993
  E.preventDefault(), o(!1);
3994
3994
  }, x = (E) => {
3995
3995
  E.preventDefault(), o(!1);
3996
- const y = Array.from(E.dataTransfer.files || []), _ = allowedTypes ? y.filter((g) => allowedTypes.includes(g.type)) : y;
3996
+ const g = Array.from(E.dataTransfer.files || []), _ = allowedTypes ? g.filter((y) => allowedTypes.includes(y.type)) : g;
3997
3997
  l(_), E.dataTransfer.clearData();
3998
3998
  }, d = (E) => {
3999
- i((y) => y.filter((_) => _.name !== E));
3999
+ i((g) => g.filter((_) => _.name !== E));
4000
4000
  }, p = (E) => {
4001
- const y = URL.createObjectURL(E.file), _ = document.createElement("a");
4002
- _.href = y, _.download = E.name, document.body.appendChild(_), _.click(), document.body.removeChild(_), URL.revokeObjectURL(y);
4001
+ const g = URL.createObjectURL(E.file), _ = document.createElement("a");
4002
+ _.href = g, _.download = E.name, document.body.appendChild(_), _.click(), document.body.removeChild(_), URL.revokeObjectURL(g);
4003
4003
  };
4004
4004
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.uploadWrapper, children: [
4005
4005
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
@@ -4046,7 +4046,7 @@ const uploadWrapper = "_uploadWrapper_179oq_1", dropZone = "_dropZone_179oq_15",
4046
4046
  /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: "Upload Date" }),
4047
4047
  /* @__PURE__ */ jsxRuntimeExports.jsx("th", { children: "Actions" })
4048
4048
  ] }) }),
4049
- /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: r.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("td", { colSpan: 4, style: { textAlign: "center" }, children: "No records to display." }) }) : r.map((E, y) => /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
4049
+ /* @__PURE__ */ jsxRuntimeExports.jsx("tbody", { children: r.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("tr", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("td", { colSpan: 4, style: { textAlign: "center" }, children: "No records to display." }) }) : r.map((E, g) => /* @__PURE__ */ jsxRuntimeExports.jsxs("tr", { children: [
4050
4050
  /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: E.name }),
4051
4051
  /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: E.type }),
4052
4052
  /* @__PURE__ */ jsxRuntimeExports.jsx("td", { children: E.uploadDate }),
@@ -4054,7 +4054,7 @@ const uploadWrapper = "_uploadWrapper_179oq_1", dropZone = "_dropZone_179oq_15",
4054
4054
  /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () => d(E.name), children: "🗑️" }),
4055
4055
  /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () => p(E), children: "⬇️" })
4056
4056
  ] })
4057
- ] }, y)) })
4057
+ ] }, g)) })
4058
4058
  ] }),
4059
4059
  /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: styles.note, children: [
4060
4060
  /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: "Note:" }),
@@ -4597,14 +4597,14 @@ function requireLottie() {
4597
4597
  for (H = B[M].pt.k.length, P = 0; P < H; P += 1)
4598
4598
  B[M].pt.k[P].s && C(B[M].pt.k[P].s[0]), B[M].pt.k[P].e && C(B[M].pt.k[P].e[0]);
4599
4599
  }
4600
- j.ty === 0 ? (j.layers = g(j.refId, L), E(j.layers, L)) : j.ty === 4 ? S(j.shapes) : j.ty === 5 && K(j);
4600
+ j.ty === 0 ? (j.layers = y(j.refId, L), E(j.layers, L)) : j.ty === 4 ? S(j.shapes) : j.ty === 5 && K(j);
4601
4601
  }
4602
4602
  }
4603
- function y(q, L) {
4603
+ function g(q, L) {
4604
4604
  if (q) {
4605
4605
  var j = 0, b = q.length;
4606
4606
  for (j = 0; j < b; j += 1)
4607
- q[j].t === 1 && (q[j].data.layers = g(q[j].data.refId, L), E(q[j].data.layers, L));
4607
+ q[j].t === 1 && (q[j].data.layers = y(q[j].data.refId, L), E(q[j].data.layers, L));
4608
4608
  }
4609
4609
  }
4610
4610
  function _(q, L) {
@@ -4615,7 +4615,7 @@ function requireLottie() {
4615
4615
  }
4616
4616
  return null;
4617
4617
  }
4618
- function g(q, L) {
4618
+ function y(q, L) {
4619
4619
  var j = _(q, L);
4620
4620
  return j ? j.layers.__used ? JSON.parse(JSON.stringify(j.layers)) : (j.layers.__used = !0, j.layers) : null;
4621
4621
  }
@@ -4816,7 +4816,7 @@ function requireLottie() {
4816
4816
  };
4817
4817
  }();
4818
4818
  function W(q) {
4819
- q.__complete || (Y(q), A(q), R(q), I(q), X(q), E(q.layers, q.assets), y(q.chars, q.assets), q.__complete = !0);
4819
+ q.__complete || (Y(q), A(q), R(q), I(q), X(q), E(q.layers, q.assets), g(q.chars, q.assets), q.__complete = !0);
4820
4820
  }
4821
4821
  function K(q) {
4822
4822
  q.t.a.length === 0 && "m" in q.t.p;
@@ -4826,10 +4826,10 @@ function requireLottie() {
4826
4826
  }
4827
4827
  if (n.dataManager || (n.dataManager = d()), n.assetLoader || (n.assetLoader = /* @__PURE__ */ function() {
4828
4828
  function E(_) {
4829
- var g = _.getResponseHeader("content-type");
4830
- return g && _.responseType === "json" && g.indexOf("json") !== -1 || _.response && _typeof$5(_.response) === "object" ? _.response : _.response && typeof _.response == "string" ? JSON.parse(_.response) : _.responseText ? JSON.parse(_.responseText) : null;
4829
+ var y = _.getResponseHeader("content-type");
4830
+ return y && _.responseType === "json" && y.indexOf("json") !== -1 || _.response && _typeof$5(_.response) === "object" ? _.response : _.response && typeof _.response == "string" ? JSON.parse(_.response) : _.responseText ? JSON.parse(_.responseText) : null;
4831
4831
  }
4832
- function y(_, g, S, C) {
4832
+ function g(_, y, S, C) {
4833
4833
  var T, A = new XMLHttpRequest();
4834
4834
  try {
4835
4835
  A.responseType = "json";
@@ -4849,12 +4849,12 @@ function requireLottie() {
4849
4849
  try {
4850
4850
  A.open(["G", "E", "T"].join(""), _, !0);
4851
4851
  } catch {
4852
- A.open(["G", "E", "T"].join(""), g + "/" + _, !0);
4852
+ A.open(["G", "E", "T"].join(""), y + "/" + _, !0);
4853
4853
  }
4854
4854
  A.send();
4855
4855
  }
4856
4856
  return {
4857
- load: y
4857
+ load: g
4858
4858
  };
4859
4859
  }()), x.data.type === "loadAnimation")
4860
4860
  n.assetLoader.load(x.data.path, x.data.fullPath, function(E) {
@@ -4937,10 +4937,10 @@ function requireLottie() {
4937
4937
  };
4938
4938
  }(), ImagePreloader = function() {
4939
4939
  var e = function() {
4940
- var y = createTag("canvas");
4941
- y.width = 1, y.height = 1;
4942
- var _ = y.getContext("2d");
4943
- return _.fillStyle = "rgba(0,0,0,0)", _.fillRect(0, 0, 1, 1), y;
4940
+ var g = createTag("canvas");
4941
+ g.width = 1, g.height = 1;
4942
+ var _ = g.getContext("2d");
4943
+ return _.fillStyle = "rgba(0,0,0,0)", _.fillRect(0, 0, 1, 1), g;
4944
4944
  }();
4945
4945
  function t() {
4946
4946
  this.loadedAssets += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
@@ -4948,70 +4948,70 @@ function requireLottie() {
4948
4948
  function r() {
4949
4949
  this.loadedFootagesCount += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
4950
4950
  }
4951
- function i(y, _, g) {
4951
+ function i(g, _, y) {
4952
4952
  var S = "";
4953
- if (y.e)
4954
- S = y.p;
4953
+ if (g.e)
4954
+ S = g.p;
4955
4955
  else if (_) {
4956
- var C = y.p;
4956
+ var C = g.p;
4957
4957
  C.indexOf("images/") !== -1 && (C = C.split("/")[1]), S = _ + C;
4958
4958
  } else
4959
- S = g, S += y.u ? y.u : "", S += y.p;
4959
+ S = y, S += g.u ? g.u : "", S += g.p;
4960
4960
  return S;
4961
4961
  }
4962
- function s(y) {
4963
- var _ = 0, g = setInterval((function() {
4964
- var S = y.getBBox();
4965
- (S.width || _ > 500) && (this._imageLoaded(), clearInterval(g)), _ += 1;
4962
+ function s(g) {
4963
+ var _ = 0, y = setInterval((function() {
4964
+ var S = g.getBBox();
4965
+ (S.width || _ > 500) && (this._imageLoaded(), clearInterval(y)), _ += 1;
4966
4966
  }).bind(this), 50);
4967
4967
  }
4968
- function n(y) {
4969
- var _ = i(y, this.assetsPath, this.path), g = createNS("image");
4970
- isSafari ? this.testImageLoaded(g) : g.addEventListener("load", this._imageLoaded, !1), g.addEventListener("error", (function() {
4968
+ function n(g) {
4969
+ var _ = i(g, this.assetsPath, this.path), y = createNS("image");
4970
+ isSafari ? this.testImageLoaded(y) : y.addEventListener("load", this._imageLoaded, !1), y.addEventListener("error", (function() {
4971
4971
  S.img = e, this._imageLoaded();
4972
- }).bind(this), !1), g.setAttributeNS("http://www.w3.org/1999/xlink", "href", _), this._elementHelper.append ? this._elementHelper.append(g) : this._elementHelper.appendChild(g);
4972
+ }).bind(this), !1), y.setAttributeNS("http://www.w3.org/1999/xlink", "href", _), this._elementHelper.append ? this._elementHelper.append(y) : this._elementHelper.appendChild(y);
4973
4973
  var S = {
4974
- img: g,
4975
- assetData: y
4974
+ img: y,
4975
+ assetData: g
4976
4976
  };
4977
4977
  return S;
4978
4978
  }
4979
- function a(y) {
4980
- var _ = i(y, this.assetsPath, this.path), g = createTag("img");
4981
- g.crossOrigin = "anonymous", g.addEventListener("load", this._imageLoaded, !1), g.addEventListener("error", (function() {
4979
+ function a(g) {
4980
+ var _ = i(g, this.assetsPath, this.path), y = createTag("img");
4981
+ y.crossOrigin = "anonymous", y.addEventListener("load", this._imageLoaded, !1), y.addEventListener("error", (function() {
4982
4982
  S.img = e, this._imageLoaded();
4983
- }).bind(this), !1), g.src = _;
4983
+ }).bind(this), !1), y.src = _;
4984
4984
  var S = {
4985
- img: g,
4986
- assetData: y
4985
+ img: y,
4986
+ assetData: g
4987
4987
  };
4988
4988
  return S;
4989
4989
  }
4990
- function o(y) {
4990
+ function o(g) {
4991
4991
  var _ = {
4992
- assetData: y
4993
- }, g = i(y, this.assetsPath, this.path);
4994
- return dataManager.loadData(g, (function(S) {
4992
+ assetData: g
4993
+ }, y = i(g, this.assetsPath, this.path);
4994
+ return dataManager.loadData(y, (function(S) {
4995
4995
  _.img = S, this._footageLoaded();
4996
4996
  }).bind(this), (function() {
4997
4997
  _.img = {}, this._footageLoaded();
4998
4998
  }).bind(this)), _;
4999
4999
  }
5000
- function l(y, _) {
5000
+ function l(g, _) {
5001
5001
  this.imagesLoadedCb = _;
5002
- var g, S = y.length;
5003
- for (g = 0; g < S; g += 1)
5004
- y[g].layers || (!y[g].t || y[g].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(y[g]))) : y[g].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(y[g]))));
5002
+ var y, S = g.length;
5003
+ for (y = 0; y < S; y += 1)
5004
+ g[y].layers || (!g[y].t || g[y].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(g[y]))) : g[y].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(g[y]))));
5005
5005
  }
5006
- function f(y) {
5007
- this.path = y || "";
5006
+ function f(g) {
5007
+ this.path = g || "";
5008
5008
  }
5009
- function c(y) {
5010
- this.assetsPath = y || "";
5009
+ function c(g) {
5010
+ this.assetsPath = g || "";
5011
5011
  }
5012
- function m(y) {
5013
- for (var _ = 0, g = this.images.length; _ < g; ) {
5014
- if (this.images[_].assetData === y)
5012
+ function m(g) {
5013
+ for (var _ = 0, y = this.images.length; _ < y; ) {
5014
+ if (this.images[_].assetData === g)
5015
5015
  return this.images[_].img;
5016
5016
  _ += 1;
5017
5017
  }
@@ -5026,8 +5026,8 @@ function requireLottie() {
5026
5026
  function d() {
5027
5027
  return this.totalFootages === this.loadedFootagesCount;
5028
5028
  }
5029
- function p(y, _) {
5030
- y === "svg" ? (this._elementHelper = _, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
5029
+ function p(g, _) {
5030
+ g === "svg" ? (this._elementHelper = _, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
5031
5031
  }
5032
5032
  function E() {
5033
5033
  this._imageLoaded = t.bind(this), this._footageLoaded = r.bind(this), this.testImageLoaded = s.bind(this), this.createFootageData = o.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
@@ -5423,16 +5423,16 @@ function requireLottie() {
5423
5423
  for (j = 0; j < i; j += 1)
5424
5424
  t[j].animation.play(L);
5425
5425
  }
5426
- function y(L) {
5426
+ function g(L) {
5427
5427
  var j = L - r, b;
5428
5428
  for (b = 0; b < i; b += 1)
5429
5429
  t[b].animation.advanceTime(j);
5430
- r = L, s && !a ? window.requestAnimationFrame(y) : n = !0;
5430
+ r = L, s && !a ? window.requestAnimationFrame(g) : n = !0;
5431
5431
  }
5432
5432
  function _(L) {
5433
- r = L, window.requestAnimationFrame(y);
5433
+ r = L, window.requestAnimationFrame(g);
5434
5434
  }
5435
- function g(L) {
5435
+ function y(L) {
5436
5436
  var j;
5437
5437
  for (j = 0; j < i; j += 1)
5438
5438
  t[j].animation.pause(L);
@@ -5498,76 +5498,76 @@ function requireLottie() {
5498
5498
  for (j = 0; j < i; j += 1)
5499
5499
  t[j].animation.unmute(L);
5500
5500
  }
5501
- return e.registerAnimation = l, e.loadAnimation = x, e.setSpeed = d, e.setDirection = p, e.play = E, e.pause = g, e.stop = C, e.togglePause = T, e.searchAnimations = R, e.resize = I, e.goToAndStop = S, e.destroy = A, e.freeze = X, e.unfreeze = W, e.setVolume = K, e.mute = ne, e.unmute = q, e.getRegisteredAnimations = f, e;
5501
+ return e.registerAnimation = l, e.loadAnimation = x, e.setSpeed = d, e.setDirection = p, e.play = E, e.pause = y, e.stop = C, e.togglePause = T, e.searchAnimations = R, e.resize = I, e.goToAndStop = S, e.destroy = A, e.freeze = X, e.unfreeze = W, e.setVolume = K, e.mute = ne, e.unmute = q, e.getRegisteredAnimations = f, e;
5502
5502
  }(), BezierFactory = function() {
5503
5503
  var e = {};
5504
5504
  e.getBezierEasing = r;
5505
5505
  var t = {};
5506
- function r(_, g, S, C, T) {
5507
- var A = T || ("bez_" + _ + "_" + g + "_" + S + "_" + C).replace(/\./g, "p");
5506
+ function r(_, y, S, C, T) {
5507
+ var A = T || ("bez_" + _ + "_" + y + "_" + S + "_" + C).replace(/\./g, "p");
5508
5508
  if (t[A])
5509
5509
  return t[A];
5510
- var R = new y([_, g, S, C]);
5510
+ var R = new g([_, y, S, C]);
5511
5511
  return t[A] = R, R;
5512
5512
  }
5513
5513
  var i = 4, s = 1e-3, n = 1e-7, a = 10, o = 11, l = 1 / (o - 1), f = typeof Float32Array == "function";
5514
- function c(_, g) {
5515
- return 1 - 3 * g + 3 * _;
5514
+ function c(_, y) {
5515
+ return 1 - 3 * y + 3 * _;
5516
5516
  }
5517
- function m(_, g) {
5518
- return 3 * g - 6 * _;
5517
+ function m(_, y) {
5518
+ return 3 * y - 6 * _;
5519
5519
  }
5520
5520
  function u(_) {
5521
5521
  return 3 * _;
5522
5522
  }
5523
- function x(_, g, S) {
5524
- return ((c(g, S) * _ + m(g, S)) * _ + u(g)) * _;
5523
+ function x(_, y, S) {
5524
+ return ((c(y, S) * _ + m(y, S)) * _ + u(y)) * _;
5525
5525
  }
5526
- function d(_, g, S) {
5527
- return 3 * c(g, S) * _ * _ + 2 * m(g, S) * _ + u(g);
5526
+ function d(_, y, S) {
5527
+ return 3 * c(y, S) * _ * _ + 2 * m(y, S) * _ + u(y);
5528
5528
  }
5529
- function p(_, g, S, C, T) {
5529
+ function p(_, y, S, C, T) {
5530
5530
  var A, R, I = 0;
5531
5531
  do
5532
- R = g + (S - g) / 2, A = x(R, C, T) - _, A > 0 ? S = R : g = R;
5532
+ R = y + (S - y) / 2, A = x(R, C, T) - _, A > 0 ? S = R : y = R;
5533
5533
  while (Math.abs(A) > n && ++I < a);
5534
5534
  return R;
5535
5535
  }
5536
- function E(_, g, S, C) {
5536
+ function E(_, y, S, C) {
5537
5537
  for (var T = 0; T < i; ++T) {
5538
- var A = d(g, S, C);
5539
- if (A === 0) return g;
5540
- var R = x(g, S, C) - _;
5541
- g -= R / A;
5538
+ var A = d(y, S, C);
5539
+ if (A === 0) return y;
5540
+ var R = x(y, S, C) - _;
5541
+ y -= R / A;
5542
5542
  }
5543
- return g;
5543
+ return y;
5544
5544
  }
5545
- function y(_) {
5545
+ function g(_) {
5546
5546
  this._p = _, this._mSampleValues = f ? new Float32Array(o) : new Array(o), this._precomputed = !1, this.get = this.get.bind(this);
5547
5547
  }
5548
- return y.prototype = {
5549
- get: function(g) {
5548
+ return g.prototype = {
5549
+ get: function(y) {
5550
5550
  var S = this._p[0], C = this._p[1], T = this._p[2], A = this._p[3];
5551
- return this._precomputed || this._precompute(), S === C && T === A ? g : g === 0 ? 0 : g === 1 ? 1 : x(this._getTForX(g), C, A);
5551
+ return this._precomputed || this._precompute(), S === C && T === A ? y : y === 0 ? 0 : y === 1 ? 1 : x(this._getTForX(y), C, A);
5552
5552
  },
5553
5553
  // Private part
5554
5554
  _precompute: function() {
5555
- var g = this._p[0], S = this._p[1], C = this._p[2], T = this._p[3];
5556
- this._precomputed = !0, (g !== S || C !== T) && this._calcSampleValues();
5555
+ var y = this._p[0], S = this._p[1], C = this._p[2], T = this._p[3];
5556
+ this._precomputed = !0, (y !== S || C !== T) && this._calcSampleValues();
5557
5557
  },
5558
5558
  _calcSampleValues: function() {
5559
- for (var g = this._p[0], S = this._p[2], C = 0; C < o; ++C)
5560
- this._mSampleValues[C] = x(C * l, g, S);
5559
+ for (var y = this._p[0], S = this._p[2], C = 0; C < o; ++C)
5560
+ this._mSampleValues[C] = x(C * l, y, S);
5561
5561
  },
5562
5562
  /**
5563
5563
  * getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
5564
5564
  */
5565
- _getTForX: function(g) {
5566
- for (var S = this._p[0], C = this._p[2], T = this._mSampleValues, A = 0, R = 1, I = o - 1; R !== I && T[R] <= g; ++R)
5565
+ _getTForX: function(y) {
5566
+ for (var S = this._p[0], C = this._p[2], T = this._mSampleValues, A = 0, R = 1, I = o - 1; R !== I && T[R] <= y; ++R)
5567
5567
  A += l;
5568
5568
  --R;
5569
- var Y = (g - T[R]) / (T[R + 1] - T[R]), X = A + Y * l, W = d(X, S, C);
5570
- return W >= s ? E(g, X, S, C) : W === 0 ? X : p(g, A, A + l, S, C);
5569
+ var Y = (y - T[R]) / (T[R + 1] - T[R]), X = A + Y * l, W = d(X, S, C);
5570
+ return W >= s ? E(y, X, S, C) : W === 0 ? X : p(y, A, A + l, S, C);
5571
5571
  }
5572
5572
  }, e;
5573
5573
  }(), pooling = /* @__PURE__ */ function() {
@@ -5618,32 +5618,32 @@ function requireLottie() {
5618
5618
  }();
5619
5619
  function bezFunction() {
5620
5620
  var e = Math;
5621
- function t(u, x, d, p, E, y) {
5622
- var _ = u * p + x * E + d * y - E * p - y * u - d * x;
5621
+ function t(u, x, d, p, E, g) {
5622
+ var _ = u * p + x * E + d * g - E * p - g * u - d * x;
5623
5623
  return _ > -1e-3 && _ < 1e-3;
5624
5624
  }
5625
- function r(u, x, d, p, E, y, _, g, S) {
5626
- if (d === 0 && y === 0 && S === 0)
5627
- return t(u, x, p, E, _, g);
5628
- var C = e.sqrt(e.pow(p - u, 2) + e.pow(E - x, 2) + e.pow(y - d, 2)), T = e.sqrt(e.pow(_ - u, 2) + e.pow(g - x, 2) + e.pow(S - d, 2)), A = e.sqrt(e.pow(_ - p, 2) + e.pow(g - E, 2) + e.pow(S - y, 2)), R;
5625
+ function r(u, x, d, p, E, g, _, y, S) {
5626
+ if (d === 0 && g === 0 && S === 0)
5627
+ return t(u, x, p, E, _, y);
5628
+ var C = e.sqrt(e.pow(p - u, 2) + e.pow(E - x, 2) + e.pow(g - d, 2)), T = e.sqrt(e.pow(_ - u, 2) + e.pow(y - x, 2) + e.pow(S - d, 2)), A = e.sqrt(e.pow(_ - p, 2) + e.pow(y - E, 2) + e.pow(S - g, 2)), R;
5629
5629
  return C > T ? C > A ? R = C - T - A : R = A - T - C : A > T ? R = A - T - C : R = T - C - A, R > -1e-4 && R < 1e-4;
5630
5630
  }
5631
5631
  var i = /* @__PURE__ */ function() {
5632
5632
  return function(u, x, d, p) {
5633
- var E = getDefaultCurveSegments(), y, _, g, S, C, T = 0, A, R = [], I = [], Y = bezierLengthPool.newElement();
5634
- for (g = d.length, y = 0; y < E; y += 1) {
5635
- for (C = y / (E - 1), A = 0, _ = 0; _ < g; _ += 1)
5633
+ var E = getDefaultCurveSegments(), g, _, y, S, C, T = 0, A, R = [], I = [], Y = bezierLengthPool.newElement();
5634
+ for (y = d.length, g = 0; g < E; g += 1) {
5635
+ for (C = g / (E - 1), A = 0, _ = 0; _ < y; _ += 1)
5636
5636
  S = bmPow(1 - C, 3) * u[_] + 3 * bmPow(1 - C, 2) * C * d[_] + 3 * (1 - C) * bmPow(C, 2) * p[_] + bmPow(C, 3) * x[_], R[_] = S, I[_] !== null && (A += bmPow(R[_] - I[_], 2)), I[_] = R[_];
5637
- A && (A = bmSqrt(A), T += A), Y.percents[y] = C, Y.lengths[y] = T;
5637
+ A && (A = bmSqrt(A), T += A), Y.percents[g] = C, Y.lengths[g] = T;
5638
5638
  }
5639
5639
  return Y.addedLength = T, Y;
5640
5640
  };
5641
5641
  }();
5642
5642
  function s(u) {
5643
- var x = segmentsLengthPool.newElement(), d = u.c, p = u.v, E = u.o, y = u.i, _, g = u._length, S = x.lengths, C = 0;
5644
- for (_ = 0; _ < g - 1; _ += 1)
5645
- S[_] = i(p[_], p[_ + 1], E[_], y[_ + 1]), C += S[_].addedLength;
5646
- return d && g && (S[_] = i(p[_], p[0], E[_], y[0]), C += S[_].addedLength), x.totalLength = C, x;
5643
+ var x = segmentsLengthPool.newElement(), d = u.c, p = u.v, E = u.o, g = u.i, _, y = u._length, S = x.lengths, C = 0;
5644
+ for (_ = 0; _ < y - 1; _ += 1)
5645
+ S[_] = i(p[_], p[_ + 1], E[_], g[_ + 1]), C += S[_].addedLength;
5646
+ return d && y && (S[_] = i(p[_], p[0], E[_], g[0]), C += S[_].addedLength), x.totalLength = C, x;
5647
5647
  }
5648
5648
  function n(u) {
5649
5649
  this.segmentLength = 0, this.points = new Array(u);
@@ -5654,43 +5654,43 @@ function requireLottie() {
5654
5654
  var o = /* @__PURE__ */ function() {
5655
5655
  var u = {};
5656
5656
  return function(x, d, p, E) {
5657
- var y = (x[0] + "_" + x[1] + "_" + d[0] + "_" + d[1] + "_" + p[0] + "_" + p[1] + "_" + E[0] + "_" + E[1]).replace(/\./g, "p");
5658
- if (!u[y]) {
5659
- var _ = getDefaultCurveSegments(), g, S, C, T, A, R = 0, I, Y, X = null;
5657
+ var g = (x[0] + "_" + x[1] + "_" + d[0] + "_" + d[1] + "_" + p[0] + "_" + p[1] + "_" + E[0] + "_" + E[1]).replace(/\./g, "p");
5658
+ if (!u[g]) {
5659
+ var _ = getDefaultCurveSegments(), y, S, C, T, A, R = 0, I, Y, X = null;
5660
5660
  x.length === 2 && (x[0] !== d[0] || x[1] !== d[1]) && t(x[0], x[1], d[0], d[1], x[0] + p[0], x[1] + p[1]) && t(x[0], x[1], d[0], d[1], d[0] + E[0], d[1] + E[1]) && (_ = 2);
5661
5661
  var W = new n(_);
5662
- for (C = p.length, g = 0; g < _; g += 1) {
5663
- for (Y = createSizedArray(C), A = g / (_ - 1), I = 0, S = 0; S < C; S += 1)
5662
+ for (C = p.length, y = 0; y < _; y += 1) {
5663
+ for (Y = createSizedArray(C), A = y / (_ - 1), I = 0, S = 0; S < C; S += 1)
5664
5664
  T = bmPow(1 - A, 3) * x[S] + 3 * bmPow(1 - A, 2) * A * (x[S] + p[S]) + 3 * (1 - A) * bmPow(A, 2) * (d[S] + E[S]) + bmPow(A, 3) * d[S], Y[S] = T, X !== null && (I += bmPow(Y[S] - X[S], 2));
5665
- I = bmSqrt(I), R += I, W.points[g] = new a(I, Y), X = Y;
5665
+ I = bmSqrt(I), R += I, W.points[y] = new a(I, Y), X = Y;
5666
5666
  }
5667
- W.segmentLength = R, u[y] = W;
5667
+ W.segmentLength = R, u[g] = W;
5668
5668
  }
5669
- return u[y];
5669
+ return u[g];
5670
5670
  };
5671
5671
  }();
5672
5672
  function l(u, x) {
5673
- var d = x.percents, p = x.lengths, E = d.length, y = bmFloor((E - 1) * u), _ = u * x.addedLength, g = 0;
5674
- if (y === E - 1 || y === 0 || _ === p[y])
5675
- return d[y];
5676
- for (var S = p[y] > _ ? -1 : 1, C = !0; C; )
5677
- if (p[y] <= _ && p[y + 1] > _ ? (g = (_ - p[y]) / (p[y + 1] - p[y]), C = !1) : y += S, y < 0 || y >= E - 1) {
5678
- if (y === E - 1)
5679
- return d[y];
5673
+ var d = x.percents, p = x.lengths, E = d.length, g = bmFloor((E - 1) * u), _ = u * x.addedLength, y = 0;
5674
+ if (g === E - 1 || g === 0 || _ === p[g])
5675
+ return d[g];
5676
+ for (var S = p[g] > _ ? -1 : 1, C = !0; C; )
5677
+ if (p[g] <= _ && p[g + 1] > _ ? (y = (_ - p[g]) / (p[g + 1] - p[g]), C = !1) : g += S, g < 0 || g >= E - 1) {
5678
+ if (g === E - 1)
5679
+ return d[g];
5680
5680
  C = !1;
5681
5681
  }
5682
- return d[y] + (d[y + 1] - d[y]) * g;
5682
+ return d[g] + (d[g + 1] - d[g]) * y;
5683
5683
  }
5684
- function f(u, x, d, p, E, y) {
5685
- var _ = l(E, y), g = 1 - _, S = e.round((g * g * g * u[0] + (_ * g * g + g * _ * g + g * g * _) * d[0] + (_ * _ * g + g * _ * _ + _ * g * _) * p[0] + _ * _ * _ * x[0]) * 1e3) / 1e3, C = e.round((g * g * g * u[1] + (_ * g * g + g * _ * g + g * g * _) * d[1] + (_ * _ * g + g * _ * _ + _ * g * _) * p[1] + _ * _ * _ * x[1]) * 1e3) / 1e3;
5684
+ function f(u, x, d, p, E, g) {
5685
+ var _ = l(E, g), y = 1 - _, S = e.round((y * y * y * u[0] + (_ * y * y + y * _ * y + y * y * _) * d[0] + (_ * _ * y + y * _ * _ + _ * y * _) * p[0] + _ * _ * _ * x[0]) * 1e3) / 1e3, C = e.round((y * y * y * u[1] + (_ * y * y + y * _ * y + y * y * _) * d[1] + (_ * _ * y + y * _ * _ + _ * y * _) * p[1] + _ * _ * _ * x[1]) * 1e3) / 1e3;
5686
5686
  return [S, C];
5687
5687
  }
5688
5688
  var c = createTypedArray("float32", 8);
5689
- function m(u, x, d, p, E, y, _) {
5689
+ function m(u, x, d, p, E, g, _) {
5690
5690
  E < 0 ? E = 0 : E > 1 && (E = 1);
5691
- var g = l(E, _);
5692
- y = y > 1 ? 1 : y;
5693
- var S = l(y, _), C, T = u.length, A = 1 - g, R = 1 - S, I = A * A * A, Y = g * A * A * 3, X = g * g * A * 3, W = g * g * g, K = A * A * R, ne = g * A * R + A * g * R + A * A * S, q = g * g * R + A * g * S + g * A * S, L = g * g * S, j = A * R * R, b = g * R * R + A * S * R + A * R * S, k = g * S * R + A * S * S + g * R * S, M = g * S * S, D = R * R * R, P = S * R * R + R * S * R + R * R * S, H = S * S * R + R * S * S + S * R * S, B = S * S * S;
5691
+ var y = l(E, _);
5692
+ g = g > 1 ? 1 : g;
5693
+ var S = l(g, _), C, T = u.length, A = 1 - y, R = 1 - S, I = A * A * A, Y = y * A * A * 3, X = y * y * A * 3, W = y * y * y, K = A * A * R, ne = y * A * R + A * y * R + A * A * S, q = y * y * R + A * y * S + y * A * S, L = y * y * S, j = A * R * R, b = y * R * R + A * S * R + A * R * S, k = y * S * R + A * S * S + y * R * S, M = y * S * S, D = R * R * R, P = S * R * R + R * S * R + R * R * S, H = S * S * R + R * S * S + S * R * S, B = S * S * S;
5694
5694
  for (C = 0; C < T; C += 1)
5695
5695
  c[C * 4] = e.round((I * u[C] + Y * d[C] + X * p[C] + W * x[C]) * 1e3) / 1e3, c[C * 4 + 1] = e.round((K * u[C] + ne * d[C] + q * p[C] + L * x[C]) * 1e3) / 1e3, c[C * 4 + 2] = e.round((j * u[C] + b * d[C] + k * p[C] + M * x[C]) * 1e3) / 1e3, c[C * 4 + 3] = e.round((D * u[C] + P * d[C] + H * p[C] + B * x[C]) * 1e3) / 1e3;
5696
5696
  return c;
@@ -5720,16 +5720,16 @@ function requireLottie() {
5720
5720
  n < a - 1 ? n += 1 : (s = 0, o = !1);
5721
5721
  }
5722
5722
  c = this.keyframesMetadata[n] || {};
5723
- var m, u, x, d, p, E, y = f.t - r, _ = l.t - r, g;
5723
+ var m, u, x, d, p, E, g = f.t - r, _ = l.t - r, y;
5724
5724
  if (l.to) {
5725
5725
  c.bezierData || (c.bezierData = bez.buildBezierData(l.s, f.s || l.e, l.to, l.ti));
5726
5726
  var S = c.bezierData;
5727
- if (e >= y || e < _) {
5728
- var C = e >= y ? S.points.length - 1 : 0;
5727
+ if (e >= g || e < _) {
5728
+ var C = e >= g ? S.points.length - 1 : 0;
5729
5729
  for (u = S.points[C].point.length, m = 0; m < u; m += 1)
5730
5730
  i[m] = S.points[C].point[m];
5731
5731
  } else {
5732
- c.__fnct ? E = c.__fnct : (E = BezierFactory.getBezierEasing(l.o.x, l.o.y, l.i.x, l.i.y, l.n).get, c.__fnct = E), x = E((e - _) / (y - _));
5732
+ c.__fnct ? E = c.__fnct : (E = BezierFactory.getBezierEasing(l.o.x, l.o.y, l.i.x, l.i.y, l.n).get, c.__fnct = E), x = E((e - _) / (g - _));
5733
5733
  var T = S.segmentLength * x, A, R = t.lastFrame < e && t._lastKeyframeIndex === n ? t._lastAddedLength : 0;
5734
5734
  for (p = t.lastFrame < e && t._lastKeyframeIndex === n ? t._lastPoint : 0, o = !0, d = S.points.length; o; ) {
5735
5735
  if (R += S.points[p].partialLength, T === 0 || x === 0 || p === S.points.length - 1) {
@@ -5747,18 +5747,18 @@ function requireLottie() {
5747
5747
  }
5748
5748
  } else {
5749
5749
  var I, Y, X, W, K;
5750
- if (a = l.s.length, g = f.s || l.e, this.sh && l.h !== 1)
5751
- if (e >= y)
5752
- i[0] = g[0], i[1] = g[1], i[2] = g[2];
5750
+ if (a = l.s.length, y = f.s || l.e, this.sh && l.h !== 1)
5751
+ if (e >= g)
5752
+ i[0] = y[0], i[1] = y[1], i[2] = y[2];
5753
5753
  else if (e <= _)
5754
5754
  i[0] = l.s[0], i[1] = l.s[1], i[2] = l.s[2];
5755
5755
  else {
5756
- var ne = createQuaternion(l.s), q = createQuaternion(g), L = (e - _) / (y - _);
5756
+ var ne = createQuaternion(l.s), q = createQuaternion(y), L = (e - _) / (g - _);
5757
5757
  quaternionToEuler(i, slerp(ne, q, L));
5758
5758
  }
5759
5759
  else
5760
5760
  for (n = 0; n < a; n += 1)
5761
- l.h !== 1 && (e >= y ? x = 1 : e < _ ? x = 0 : (l.o.x.constructor === Array ? (c.__fnct || (c.__fnct = []), c.__fnct[n] ? E = c.__fnct[n] : (I = l.o.x[n] === void 0 ? l.o.x[0] : l.o.x[n], Y = l.o.y[n] === void 0 ? l.o.y[0] : l.o.y[n], X = l.i.x[n] === void 0 ? l.i.x[0] : l.i.x[n], W = l.i.y[n] === void 0 ? l.i.y[0] : l.i.y[n], E = BezierFactory.getBezierEasing(I, Y, X, W).get, c.__fnct[n] = E)) : c.__fnct ? E = c.__fnct : (I = l.o.x, Y = l.o.y, X = l.i.x, W = l.i.y, E = BezierFactory.getBezierEasing(I, Y, X, W).get, l.keyframeMetadata = E), x = E((e - _) / (y - _)))), g = f.s || l.e, K = l.h === 1 ? l.s[n] : l.s[n] + (g[n] - l.s[n]) * x, this.propType === "multidimensional" ? i[n] = K : i = K;
5761
+ l.h !== 1 && (e >= g ? x = 1 : e < _ ? x = 0 : (l.o.x.constructor === Array ? (c.__fnct || (c.__fnct = []), c.__fnct[n] ? E = c.__fnct[n] : (I = l.o.x[n] === void 0 ? l.o.x[0] : l.o.x[n], Y = l.o.y[n] === void 0 ? l.o.y[0] : l.o.y[n], X = l.i.x[n] === void 0 ? l.i.x[0] : l.i.x[n], W = l.i.y[n] === void 0 ? l.i.y[0] : l.i.y[n], E = BezierFactory.getBezierEasing(I, Y, X, W).get, c.__fnct[n] = E)) : c.__fnct ? E = c.__fnct : (I = l.o.x, Y = l.o.y, X = l.i.x, W = l.i.y, E = BezierFactory.getBezierEasing(I, Y, X, W).get, l.keyframeMetadata = E), x = E((e - _) / (g - _)))), y = f.s || l.e, K = l.h === 1 ? l.s[n] : l.s[n] + (y[n] - l.s[n]) * x, this.propType === "multidimensional" ? i[n] = K : i = K;
5762
5762
  }
5763
5763
  return t.lastIndex = s, i;
5764
5764
  }
@@ -5978,50 +5978,50 @@ function requireLottie() {
5978
5978
  return e;
5979
5979
  }(), ShapePropertyFactory = function() {
5980
5980
  var e = -999999;
5981
- function t(y, _, g) {
5982
- var S = g.lastIndex, C, T, A, R, I, Y, X, W, K, ne = this.keyframes;
5983
- if (y < ne[0].t - this.offsetTime)
5981
+ function t(g, _, y) {
5982
+ var S = y.lastIndex, C, T, A, R, I, Y, X, W, K, ne = this.keyframes;
5983
+ if (g < ne[0].t - this.offsetTime)
5984
5984
  C = ne[0].s[0], A = !0, S = 0;
5985
- else if (y >= ne[ne.length - 1].t - this.offsetTime)
5985
+ else if (g >= ne[ne.length - 1].t - this.offsetTime)
5986
5986
  C = ne[ne.length - 1].s ? ne[ne.length - 1].s[0] : ne[ne.length - 2].e[0], A = !0;
5987
5987
  else {
5988
- for (var q = S, L = ne.length - 1, j = !0, b, k, M; j && (b = ne[q], k = ne[q + 1], !(k.t - this.offsetTime > y)); )
5988
+ for (var q = S, L = ne.length - 1, j = !0, b, k, M; j && (b = ne[q], k = ne[q + 1], !(k.t - this.offsetTime > g)); )
5989
5989
  q < L - 1 ? q += 1 : j = !1;
5990
5990
  if (M = this.keyframesMetadata[q] || {}, A = b.h === 1, S = q, !A) {
5991
- if (y >= k.t - this.offsetTime)
5991
+ if (g >= k.t - this.offsetTime)
5992
5992
  W = 1;
5993
- else if (y < b.t - this.offsetTime)
5993
+ else if (g < b.t - this.offsetTime)
5994
5994
  W = 0;
5995
5995
  else {
5996
5996
  var D;
5997
- M.__fnct ? D = M.__fnct : (D = BezierFactory.getBezierEasing(b.o.x, b.o.y, b.i.x, b.i.y).get, M.__fnct = D), W = D((y - (b.t - this.offsetTime)) / (k.t - this.offsetTime - (b.t - this.offsetTime)));
5997
+ M.__fnct ? D = M.__fnct : (D = BezierFactory.getBezierEasing(b.o.x, b.o.y, b.i.x, b.i.y).get, M.__fnct = D), W = D((g - (b.t - this.offsetTime)) / (k.t - this.offsetTime - (b.t - this.offsetTime)));
5998
5998
  }
5999
5999
  T = k.s ? k.s[0] : b.e[0];
6000
6000
  }
6001
6001
  C = b.s[0];
6002
6002
  }
6003
- for (Y = _._length, X = C.i[0].length, g.lastIndex = S, R = 0; R < Y; R += 1)
6003
+ for (Y = _._length, X = C.i[0].length, y.lastIndex = S, R = 0; R < Y; R += 1)
6004
6004
  for (I = 0; I < X; I += 1)
6005
6005
  K = A ? C.i[R][I] : C.i[R][I] + (T.i[R][I] - C.i[R][I]) * W, _.i[R][I] = K, K = A ? C.o[R][I] : C.o[R][I] + (T.o[R][I] - C.o[R][I]) * W, _.o[R][I] = K, K = A ? C.v[R][I] : C.v[R][I] + (T.v[R][I] - C.v[R][I]) * W, _.v[R][I] = K;
6006
6006
  }
6007
6007
  function r() {
6008
- var y = this.comp.renderedFrame - this.offsetTime, _ = this.keyframes[0].t - this.offsetTime, g = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, S = this._caching.lastFrame;
6009
- return S !== e && (S < _ && y < _ || S > g && y > g) || (this._caching.lastIndex = S < y ? this._caching.lastIndex : 0, this.interpolateShape(y, this.pv, this._caching)), this._caching.lastFrame = y, this.pv;
6008
+ var g = this.comp.renderedFrame - this.offsetTime, _ = this.keyframes[0].t - this.offsetTime, y = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, S = this._caching.lastFrame;
6009
+ return S !== e && (S < _ && g < _ || S > y && g > y) || (this._caching.lastIndex = S < g ? this._caching.lastIndex : 0, this.interpolateShape(g, this.pv, this._caching)), this._caching.lastFrame = g, this.pv;
6010
6010
  }
6011
6011
  function i() {
6012
6012
  this.paths = this.localShapeCollection;
6013
6013
  }
6014
- function s(y, _) {
6015
- if (y._length !== _._length || y.c !== _.c)
6014
+ function s(g, _) {
6015
+ if (g._length !== _._length || g.c !== _.c)
6016
6016
  return !1;
6017
- var g, S = y._length;
6018
- for (g = 0; g < S; g += 1)
6019
- if (y.v[g][0] !== _.v[g][0] || y.v[g][1] !== _.v[g][1] || y.o[g][0] !== _.o[g][0] || y.o[g][1] !== _.o[g][1] || y.i[g][0] !== _.i[g][0] || y.i[g][1] !== _.i[g][1])
6017
+ var y, S = g._length;
6018
+ for (y = 0; y < S; y += 1)
6019
+ if (g.v[y][0] !== _.v[y][0] || g.v[y][1] !== _.v[y][1] || g.o[y][0] !== _.o[y][0] || g.o[y][1] !== _.o[y][1] || g.i[y][0] !== _.i[y][0] || g.i[y][1] !== _.i[y][1])
6020
6020
  return !1;
6021
6021
  return !0;
6022
6022
  }
6023
- function n(y) {
6024
- s(this.v, y) || (this.v = shapePool.clone(y), this.localShapeCollection.releaseShapes(), this.localShapeCollection.addShape(this.v), this._mdf = !0, this.paths = this.localShapeCollection);
6023
+ function n(g) {
6024
+ s(this.v, g) || (this.v = shapePool.clone(g), this.localShapeCollection.releaseShapes(), this.localShapeCollection.addShape(this.v), this._mdf = !0, this.paths = this.localShapeCollection);
6025
6025
  }
6026
6026
  function a() {
6027
6027
  if (this.elem.globalData.frameId !== this.frameId) {
@@ -6034,25 +6034,25 @@ function requireLottie() {
6034
6034
  return;
6035
6035
  }
6036
6036
  this.lock = !0, this._mdf = !1;
6037
- var y;
6038
- this.kf ? y = this.pv : this.data.ks ? y = this.data.ks.k : y = this.data.pt.k;
6039
- var _, g = this.effectsSequence.length;
6040
- for (_ = 0; _ < g; _ += 1)
6041
- y = this.effectsSequence[_](y);
6042
- this.setVValue(y), this.lock = !1, this.frameId = this.elem.globalData.frameId;
6037
+ var g;
6038
+ this.kf ? g = this.pv : this.data.ks ? g = this.data.ks.k : g = this.data.pt.k;
6039
+ var _, y = this.effectsSequence.length;
6040
+ for (_ = 0; _ < y; _ += 1)
6041
+ g = this.effectsSequence[_](g);
6042
+ this.setVValue(g), this.lock = !1, this.frameId = this.elem.globalData.frameId;
6043
6043
  }
6044
6044
  }
6045
- function o(y, _, g) {
6046
- this.propType = "shape", this.comp = y.comp, this.container = y, this.elem = y, this.data = _, this.k = !1, this.kf = !1, this._mdf = !1;
6047
- var S = g === 3 ? _.pt.k : _.ks.k;
6045
+ function o(g, _, y) {
6046
+ this.propType = "shape", this.comp = g.comp, this.container = g, this.elem = g, this.data = _, this.k = !1, this.kf = !1, this._mdf = !1;
6047
+ var S = y === 3 ? _.pt.k : _.ks.k;
6048
6048
  this.v = shapePool.clone(S), this.pv = shapePool.clone(this.v), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = i, this.effectsSequence = [];
6049
6049
  }
6050
- function l(y) {
6051
- this.effectsSequence.push(y), this.container.addDynamicProperty(this);
6050
+ function l(g) {
6051
+ this.effectsSequence.push(g), this.container.addDynamicProperty(this);
6052
6052
  }
6053
6053
  o.prototype.interpolateShape = t, o.prototype.getValue = a, o.prototype.setVValue = n, o.prototype.addEffect = l;
6054
- function f(y, _, g) {
6055
- this.propType = "shape", this.comp = y.comp, this.elem = y, this.container = y, this.offsetTime = y.data.st, this.keyframes = g === 3 ? _.pt.k : _.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
6054
+ function f(g, _, y) {
6055
+ this.propType = "shape", this.comp = g.comp, this.elem = g, this.container = g, this.offsetTime = g.data.st, this.keyframes = y === 3 ? _.pt.k : _.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
6056
6056
  var S = this.keyframes[0].s[0].i.length;
6057
6057
  this.v = shapePool.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, S), this.pv = shapePool.clone(this.v), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = e, this.reset = i, this._caching = {
6058
6058
  lastFrame: e,
@@ -6061,9 +6061,9 @@ function requireLottie() {
6061
6061
  }
6062
6062
  f.prototype.getValue = a, f.prototype.interpolateShape = t, f.prototype.setVValue = n, f.prototype.addEffect = l;
6063
6063
  var c = function() {
6064
- var y = roundCorner;
6065
- function _(g, S) {
6066
- this.v = shapePool.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = S.d, this.elem = g, this.comp = g.comp, this.frameId = -1, this.initDynamicPropertyContainer(g), this.p = PropertyFactory.getProp(g, S.p, 1, 0, this), this.s = PropertyFactory.getProp(g, S.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
6064
+ var g = roundCorner;
6065
+ function _(y, S) {
6066
+ this.v = shapePool.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = S.d, this.elem = y, this.comp = y.comp, this.frameId = -1, this.initDynamicPropertyContainer(y), this.p = PropertyFactory.getProp(y, S.p, 1, 0, this), this.s = PropertyFactory.getProp(y, S.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
6067
6067
  }
6068
6068
  return _.prototype = {
6069
6069
  reset: i,
@@ -6072,59 +6072,59 @@ function requireLottie() {
6072
6072
  },
6073
6073
  convertEllToPath: function() {
6074
6074
  var S = this.p.v[0], C = this.p.v[1], T = this.s.v[0] / 2, A = this.s.v[1] / 2, R = this.d !== 3, I = this.v;
6075
- I.v[0][0] = S, I.v[0][1] = C - A, I.v[1][0] = R ? S + T : S - T, I.v[1][1] = C, I.v[2][0] = S, I.v[2][1] = C + A, I.v[3][0] = R ? S - T : S + T, I.v[3][1] = C, I.i[0][0] = R ? S - T * y : S + T * y, I.i[0][1] = C - A, I.i[1][0] = R ? S + T : S - T, I.i[1][1] = C - A * y, I.i[2][0] = R ? S + T * y : S - T * y, I.i[2][1] = C + A, I.i[3][0] = R ? S - T : S + T, I.i[3][1] = C + A * y, I.o[0][0] = R ? S + T * y : S - T * y, I.o[0][1] = C - A, I.o[1][0] = R ? S + T : S - T, I.o[1][1] = C + A * y, I.o[2][0] = R ? S - T * y : S + T * y, I.o[2][1] = C + A, I.o[3][0] = R ? S - T : S + T, I.o[3][1] = C - A * y;
6075
+ I.v[0][0] = S, I.v[0][1] = C - A, I.v[1][0] = R ? S + T : S - T, I.v[1][1] = C, I.v[2][0] = S, I.v[2][1] = C + A, I.v[3][0] = R ? S - T : S + T, I.v[3][1] = C, I.i[0][0] = R ? S - T * g : S + T * g, I.i[0][1] = C - A, I.i[1][0] = R ? S + T : S - T, I.i[1][1] = C - A * g, I.i[2][0] = R ? S + T * g : S - T * g, I.i[2][1] = C + A, I.i[3][0] = R ? S - T : S + T, I.i[3][1] = C + A * g, I.o[0][0] = R ? S + T * g : S - T * g, I.o[0][1] = C - A, I.o[1][0] = R ? S + T : S - T, I.o[1][1] = C + A * g, I.o[2][0] = R ? S - T * g : S + T * g, I.o[2][1] = C + A, I.o[3][0] = R ? S - T : S + T, I.o[3][1] = C - A * g;
6076
6076
  }
6077
6077
  }, extendPrototype([DynamicPropertyContainer], _), _;
6078
6078
  }(), m = function() {
6079
- function y(_, g) {
6080
- this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem = _, this.comp = _.comp, this.data = g, this.frameId = -1, this.d = g.d, this.initDynamicPropertyContainer(_), g.sy === 1 ? (this.ir = PropertyFactory.getProp(_, g.ir, 0, 0, this), this.is = PropertyFactory.getProp(_, g.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = PropertyFactory.getProp(_, g.pt, 0, 0, this), this.p = PropertyFactory.getProp(_, g.p, 1, 0, this), this.r = PropertyFactory.getProp(_, g.r, 0, degToRads, this), this.or = PropertyFactory.getProp(_, g.or, 0, 0, this), this.os = PropertyFactory.getProp(_, g.os, 0, 0.01, this), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
6079
+ function g(_, y) {
6080
+ this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem = _, this.comp = _.comp, this.data = y, this.frameId = -1, this.d = y.d, this.initDynamicPropertyContainer(_), y.sy === 1 ? (this.ir = PropertyFactory.getProp(_, y.ir, 0, 0, this), this.is = PropertyFactory.getProp(_, y.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = PropertyFactory.getProp(_, y.pt, 0, 0, this), this.p = PropertyFactory.getProp(_, y.p, 1, 0, this), this.r = PropertyFactory.getProp(_, y.r, 0, degToRads, this), this.or = PropertyFactory.getProp(_, y.or, 0, 0, this), this.os = PropertyFactory.getProp(_, y.os, 0, 0.01, this), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
6081
6081
  }
6082
- return y.prototype = {
6082
+ return g.prototype = {
6083
6083
  reset: i,
6084
6084
  getValue: function() {
6085
6085
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
6086
6086
  },
6087
6087
  convertStarToPath: function() {
6088
- var g = Math.floor(this.pt.v) * 2, S = Math.PI * 2 / g, C = !0, T = this.or.v, A = this.ir.v, R = this.os.v, I = this.is.v, Y = 2 * Math.PI * T / (g * 2), X = 2 * Math.PI * A / (g * 2), W, K, ne, q, L = -Math.PI / 2;
6088
+ var y = Math.floor(this.pt.v) * 2, S = Math.PI * 2 / y, C = !0, T = this.or.v, A = this.ir.v, R = this.os.v, I = this.is.v, Y = 2 * Math.PI * T / (y * 2), X = 2 * Math.PI * A / (y * 2), W, K, ne, q, L = -Math.PI / 2;
6089
6089
  L += this.r.v;
6090
6090
  var j = this.data.d === 3 ? -1 : 1;
6091
- for (this.v._length = 0, W = 0; W < g; W += 1) {
6091
+ for (this.v._length = 0, W = 0; W < y; W += 1) {
6092
6092
  K = C ? T : A, ne = C ? R : I, q = C ? Y : X;
6093
6093
  var b = K * Math.cos(L), k = K * Math.sin(L), M = b === 0 && k === 0 ? 0 : k / Math.sqrt(b * b + k * k), D = b === 0 && k === 0 ? 0 : -b / Math.sqrt(b * b + k * k);
6094
6094
  b += +this.p.v[0], k += +this.p.v[1], this.v.setTripleAt(b, k, b - M * q * ne * j, k - D * q * ne * j, b + M * q * ne * j, k + D * q * ne * j, W, !0), C = !C, L += S * j;
6095
6095
  }
6096
6096
  },
6097
6097
  convertPolygonToPath: function() {
6098
- var g = Math.floor(this.pt.v), S = Math.PI * 2 / g, C = this.or.v, T = this.os.v, A = 2 * Math.PI * C / (g * 4), R, I = -Math.PI * 0.5, Y = this.data.d === 3 ? -1 : 1;
6099
- for (I += this.r.v, this.v._length = 0, R = 0; R < g; R += 1) {
6098
+ var y = Math.floor(this.pt.v), S = Math.PI * 2 / y, C = this.or.v, T = this.os.v, A = 2 * Math.PI * C / (y * 4), R, I = -Math.PI * 0.5, Y = this.data.d === 3 ? -1 : 1;
6099
+ for (I += this.r.v, this.v._length = 0, R = 0; R < y; R += 1) {
6100
6100
  var X = C * Math.cos(I), W = C * Math.sin(I), K = X === 0 && W === 0 ? 0 : W / Math.sqrt(X * X + W * W), ne = X === 0 && W === 0 ? 0 : -X / Math.sqrt(X * X + W * W);
6101
6101
  X += +this.p.v[0], W += +this.p.v[1], this.v.setTripleAt(X, W, X - K * A * T * Y, W - ne * A * T * Y, X + K * A * T * Y, W + ne * A * T * Y, R, !0), I += S * Y;
6102
6102
  }
6103
6103
  this.paths.length = 0, this.paths[0] = this.v;
6104
6104
  }
6105
- }, extendPrototype([DynamicPropertyContainer], y), y;
6105
+ }, extendPrototype([DynamicPropertyContainer], g), g;
6106
6106
  }(), u = function() {
6107
- function y(_, g) {
6108
- this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = _, this.comp = _.comp, this.frameId = -1, this.d = g.d, this.initDynamicPropertyContainer(_), this.p = PropertyFactory.getProp(_, g.p, 1, 0, this), this.s = PropertyFactory.getProp(_, g.s, 1, 0, this), this.r = PropertyFactory.getProp(_, g.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
6107
+ function g(_, y) {
6108
+ this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = _, this.comp = _.comp, this.frameId = -1, this.d = y.d, this.initDynamicPropertyContainer(_), this.p = PropertyFactory.getProp(_, y.p, 1, 0, this), this.s = PropertyFactory.getProp(_, y.s, 1, 0, this), this.r = PropertyFactory.getProp(_, y.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
6109
6109
  }
6110
- return y.prototype = {
6110
+ return g.prototype = {
6111
6111
  convertRectToPath: function() {
6112
- var g = this.p.v[0], S = this.p.v[1], C = this.s.v[0] / 2, T = this.s.v[1] / 2, A = bmMin(C, T, this.r.v), R = A * (1 - roundCorner);
6113
- this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(g + C, S - T + A, g + C, S - T + A, g + C, S - T + R, 0, !0), this.v.setTripleAt(g + C, S + T - A, g + C, S + T - R, g + C, S + T - A, 1, !0), A !== 0 ? (this.v.setTripleAt(g + C - A, S + T, g + C - A, S + T, g + C - R, S + T, 2, !0), this.v.setTripleAt(g - C + A, S + T, g - C + R, S + T, g - C + A, S + T, 3, !0), this.v.setTripleAt(g - C, S + T - A, g - C, S + T - A, g - C, S + T - R, 4, !0), this.v.setTripleAt(g - C, S - T + A, g - C, S - T + R, g - C, S - T + A, 5, !0), this.v.setTripleAt(g - C + A, S - T, g - C + A, S - T, g - C + R, S - T, 6, !0), this.v.setTripleAt(g + C - A, S - T, g + C - R, S - T, g + C - A, S - T, 7, !0)) : (this.v.setTripleAt(g - C, S + T, g - C + R, S + T, g - C, S + T, 2), this.v.setTripleAt(g - C, S - T, g - C, S - T + R, g - C, S - T, 3))) : (this.v.setTripleAt(g + C, S - T + A, g + C, S - T + R, g + C, S - T + A, 0, !0), A !== 0 ? (this.v.setTripleAt(g + C - A, S - T, g + C - A, S - T, g + C - R, S - T, 1, !0), this.v.setTripleAt(g - C + A, S - T, g - C + R, S - T, g - C + A, S - T, 2, !0), this.v.setTripleAt(g - C, S - T + A, g - C, S - T + A, g - C, S - T + R, 3, !0), this.v.setTripleAt(g - C, S + T - A, g - C, S + T - R, g - C, S + T - A, 4, !0), this.v.setTripleAt(g - C + A, S + T, g - C + A, S + T, g - C + R, S + T, 5, !0), this.v.setTripleAt(g + C - A, S + T, g + C - R, S + T, g + C - A, S + T, 6, !0), this.v.setTripleAt(g + C, S + T - A, g + C, S + T - A, g + C, S + T - R, 7, !0)) : (this.v.setTripleAt(g - C, S - T, g - C + R, S - T, g - C, S - T, 1, !0), this.v.setTripleAt(g - C, S + T, g - C, S + T - R, g - C, S + T, 2, !0), this.v.setTripleAt(g + C, S + T, g + C - R, S + T, g + C, S + T, 3, !0)));
6112
+ var y = this.p.v[0], S = this.p.v[1], C = this.s.v[0] / 2, T = this.s.v[1] / 2, A = bmMin(C, T, this.r.v), R = A * (1 - roundCorner);
6113
+ this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(y + C, S - T + A, y + C, S - T + A, y + C, S - T + R, 0, !0), this.v.setTripleAt(y + C, S + T - A, y + C, S + T - R, y + C, S + T - A, 1, !0), A !== 0 ? (this.v.setTripleAt(y + C - A, S + T, y + C - A, S + T, y + C - R, S + T, 2, !0), this.v.setTripleAt(y - C + A, S + T, y - C + R, S + T, y - C + A, S + T, 3, !0), this.v.setTripleAt(y - C, S + T - A, y - C, S + T - A, y - C, S + T - R, 4, !0), this.v.setTripleAt(y - C, S - T + A, y - C, S - T + R, y - C, S - T + A, 5, !0), this.v.setTripleAt(y - C + A, S - T, y - C + A, S - T, y - C + R, S - T, 6, !0), this.v.setTripleAt(y + C - A, S - T, y + C - R, S - T, y + C - A, S - T, 7, !0)) : (this.v.setTripleAt(y - C, S + T, y - C + R, S + T, y - C, S + T, 2), this.v.setTripleAt(y - C, S - T, y - C, S - T + R, y - C, S - T, 3))) : (this.v.setTripleAt(y + C, S - T + A, y + C, S - T + R, y + C, S - T + A, 0, !0), A !== 0 ? (this.v.setTripleAt(y + C - A, S - T, y + C - A, S - T, y + C - R, S - T, 1, !0), this.v.setTripleAt(y - C + A, S - T, y - C + R, S - T, y - C + A, S - T, 2, !0), this.v.setTripleAt(y - C, S - T + A, y - C, S - T + A, y - C, S - T + R, 3, !0), this.v.setTripleAt(y - C, S + T - A, y - C, S + T - R, y - C, S + T - A, 4, !0), this.v.setTripleAt(y - C + A, S + T, y - C + A, S + T, y - C + R, S + T, 5, !0), this.v.setTripleAt(y + C - A, S + T, y + C - R, S + T, y + C - A, S + T, 6, !0), this.v.setTripleAt(y + C, S + T - A, y + C, S + T - A, y + C, S + T - R, 7, !0)) : (this.v.setTripleAt(y - C, S - T, y - C + R, S - T, y - C, S - T, 1, !0), this.v.setTripleAt(y - C, S + T, y - C, S + T - R, y - C, S + T, 2, !0), this.v.setTripleAt(y + C, S + T, y + C - R, S + T, y + C, S + T, 3, !0)));
6114
6114
  },
6115
6115
  getValue: function() {
6116
6116
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
6117
6117
  },
6118
6118
  reset: i
6119
- }, extendPrototype([DynamicPropertyContainer], y), y;
6119
+ }, extendPrototype([DynamicPropertyContainer], g), g;
6120
6120
  }();
6121
- function x(y, _, g) {
6121
+ function x(g, _, y) {
6122
6122
  var S;
6123
- if (g === 3 || g === 4) {
6124
- var C = g === 3 ? _.pt : _.ks, T = C.k;
6125
- T.length ? S = new f(y, _, g) : S = new o(y, _, g);
6126
- } else g === 5 ? S = new u(y, _) : g === 6 ? S = new c(y, _) : g === 7 && (S = new m(y, _));
6127
- return S.k && y.addDynamicProperty(S), S;
6123
+ if (y === 3 || y === 4) {
6124
+ var C = y === 3 ? _.pt : _.ks, T = C.k;
6125
+ T.length ? S = new f(g, _, y) : S = new o(g, _, y);
6126
+ } else y === 5 ? S = new u(g, _) : y === 6 ? S = new c(g, _) : y === 7 && (S = new m(g, _));
6127
+ return S.k && g.addDynamicProperty(S), S;
6128
6128
  }
6129
6129
  function d() {
6130
6130
  return o;
@@ -6202,7 +6202,7 @@ function requireLottie() {
6202
6202
  var k = b.props;
6203
6203
  return this.transform(k[0], k[1], k[2], k[3], k[4], k[5], k[6], k[7], k[8], k[9], k[10], k[11], k[12], k[13], k[14], k[15]);
6204
6204
  }
6205
- function y() {
6205
+ function g() {
6206
6206
  return this._identityCalculated || (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), this._identityCalculated = !0), this._identity;
6207
6207
  }
6208
6208
  function _(b) {
@@ -6213,7 +6213,7 @@ function requireLottie() {
6213
6213
  }
6214
6214
  return !0;
6215
6215
  }
6216
- function g(b) {
6216
+ function y(b) {
6217
6217
  var k;
6218
6218
  for (k = 0; k < 16; k += 1)
6219
6219
  b.props[k] = this.props[k];
@@ -6288,7 +6288,7 @@ function requireLottie() {
6288
6288
  return "matrix(" + k + "," + M + "," + D + "," + P + "," + H + "," + B + ")";
6289
6289
  }
6290
6290
  return function() {
6291
- this.reset = s, this.rotate = n, this.rotateX = a, this.rotateY = o, this.rotateZ = l, this.skew = c, this.skewFromAxis = m, this.shear = f, this.scale = u, this.setTransform = x, this.translate = d, this.transform = p, this.multiply = E, this.applyToPoint = C, this.applyToX = T, this.applyToY = A, this.applyToZ = R, this.applyToPointArray = K, this.applyToTriplePoints = W, this.applyToPointStringified = ne, this.toCSS = q, this.to2dCSS = j, this.clone = g, this.cloneFromProps = S, this.equals = _, this.inversePoints = X, this.inversePoint = Y, this.getInverseMatrix = I, this._t = this.transform, this.isIdentity = y, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
6291
+ this.reset = s, this.rotate = n, this.rotateX = a, this.rotateY = o, this.rotateZ = l, this.skew = c, this.skewFromAxis = m, this.shear = f, this.scale = u, this.setTransform = x, this.translate = d, this.transform = p, this.multiply = E, this.applyToPoint = C, this.applyToX = T, this.applyToY = A, this.applyToZ = R, this.applyToPointArray = K, this.applyToTriplePoints = W, this.applyToPointStringified = ne, this.toCSS = q, this.to2dCSS = j, this.clone = y, this.cloneFromProps = S, this.equals = _, this.inversePoints = X, this.inversePoint = Y, this.getInverseMatrix = I, this._t = this.transform, this.isIdentity = g, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
6292
6292
  };
6293
6293
  }();
6294
6294
  function _typeof$3(e) {
@@ -6470,18 +6470,18 @@ function requireLottie() {
6470
6470
  }
6471
6471
  x += u, p.shape._mdf = !0;
6472
6472
  }
6473
- var y = t, _ = r, g = 0, S;
6473
+ var g = t, _ = r, y = 0, S;
6474
6474
  for (a = o - 1; a >= 0; a -= 1)
6475
6475
  if (p = this.shapes[a], p.shape._mdf) {
6476
- for (E = p.localShapeCollection, E.releaseShapes(), this.m === 2 && o > 1 ? (S = this.calculateShapeEdges(t, r, p.totalShapeLength, g, x), g += p.totalShapeLength) : S = [[y, _]], f = S.length, l = 0; l < f; l += 1) {
6477
- y = S[l][0], _ = S[l][1], d.length = 0, _ <= 1 ? d.push({
6478
- s: p.totalShapeLength * y,
6476
+ for (E = p.localShapeCollection, E.releaseShapes(), this.m === 2 && o > 1 ? (S = this.calculateShapeEdges(t, r, p.totalShapeLength, y, x), y += p.totalShapeLength) : S = [[g, _]], f = S.length, l = 0; l < f; l += 1) {
6477
+ g = S[l][0], _ = S[l][1], d.length = 0, _ <= 1 ? d.push({
6478
+ s: p.totalShapeLength * g,
6479
6479
  e: p.totalShapeLength * _
6480
- }) : y >= 1 ? d.push({
6481
- s: p.totalShapeLength * (y - 1),
6480
+ }) : g >= 1 ? d.push({
6481
+ s: p.totalShapeLength * (g - 1),
6482
6482
  e: p.totalShapeLength * (_ - 1)
6483
6483
  }) : (d.push({
6484
- s: p.totalShapeLength * y,
6484
+ s: p.totalShapeLength * g,
6485
6485
  e: p.totalShapeLength
6486
6486
  }), d.push({
6487
6487
  s: 0,
@@ -6524,8 +6524,8 @@ function requireLottie() {
6524
6524
  t.s <= f && t.e >= f + c.addedLength ? (this.addSegment(s[n].v[o - 1], s[n].o[o - 1], s[n].i[o], s[n].v[o], r, m, E), E = !1) : (x = bez.getNewSegment(s[n].v[o - 1], s[n].v[o], s[n].o[o - 1], s[n].i[o], (t.s - f) / c.addedLength, (t.e - f) / c.addedLength, u[o - 1]), this.addSegmentFromArray(x, r, m, E), E = !1, r.c = !1), f += c.addedLength, m += 1;
6525
6525
  if (s[n].c && u.length) {
6526
6526
  if (c = u[o - 1], f <= t.e) {
6527
- var y = u[o - 1].addedLength;
6528
- t.s <= f && t.e >= f + y ? (this.addSegment(s[n].v[o - 1], s[n].o[o - 1], s[n].i[0], s[n].v[0], r, m, E), E = !1) : (x = bez.getNewSegment(s[n].v[o - 1], s[n].v[0], s[n].o[o - 1], s[n].i[0], (t.s - f) / y, (t.e - f) / y, u[o - 1]), this.addSegmentFromArray(x, r, m, E), E = !1, r.c = !1);
6527
+ var g = u[o - 1].addedLength;
6528
+ t.s <= f && t.e >= f + g ? (this.addSegment(s[n].v[o - 1], s[n].o[o - 1], s[n].i[0], s[n].v[0], r, m, E), E = !1) : (x = bez.getNewSegment(s[n].v[o - 1], s[n].v[0], s[n].o[o - 1], s[n].i[0], (t.s - f) / g, (t.e - f) / g, u[o - 1]), this.addSegmentFromArray(x, r, m, E), E = !1, r.c = !1);
6529
6529
  } else
6530
6530
  r.c = !1;
6531
6531
  f += c.addedLength, m += 1;
@@ -6740,7 +6740,7 @@ function requireLottie() {
6740
6740
  n += 1;
6741
6741
  }
6742
6742
  this._currentCopies = o;
6743
- var u = this.o.v, x = u % 1, d = u > 0 ? Math.floor(u) : Math.ceil(u), p = this.pMatrix.props, E = this.rMatrix.props, y = this.sMatrix.props;
6743
+ var u = this.o.v, x = u % 1, d = u > 0 ? Math.floor(u) : Math.ceil(u), p = this.pMatrix.props, E = this.rMatrix.props, g = this.sMatrix.props;
6744
6744
  this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
6745
6745
  var _ = 0;
6746
6746
  if (u > 0) {
@@ -6753,14 +6753,14 @@ function requireLottie() {
6753
6753
  x && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -x, !0), _ -= x);
6754
6754
  }
6755
6755
  i = this.data.m === 1 ? 0 : this._currentCopies - 1, s = this.data.m === 1 ? 1 : -1, n = this._currentCopies;
6756
- for (var g, S; n; ) {
6756
+ for (var y, S; n; ) {
6757
6757
  if (t = this.elemsData[i].it, r = t[t.length - 1].transform.mProps.v.props, S = 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)), _ !== 0) {
6758
- 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(E[0], E[1], E[2], E[3], E[4], E[5], E[6], E[7], E[8], E[9], E[10], E[11], E[12], E[13], E[14], E[15]), this.matrix.transform(y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], y[10], y[11], y[12], y[13], y[14], y[15]), this.matrix.transform(p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]), g = 0; g < S; g += 1)
6759
- r[g] = this.matrix.props[g];
6758
+ 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(E[0], E[1], E[2], E[3], E[4], E[5], E[6], E[7], E[8], E[9], E[10], E[11], E[12], E[13], E[14], E[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]), this.matrix.transform(p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9], p[10], p[11], p[12], p[13], p[14], p[15]), y = 0; y < S; y += 1)
6759
+ r[y] = this.matrix.props[y];
6760
6760
  this.matrix.reset();
6761
6761
  } else
6762
- for (this.matrix.reset(), g = 0; g < S; g += 1)
6763
- r[g] = this.matrix.props[g];
6762
+ for (this.matrix.reset(), y = 0; y < S; y += 1)
6763
+ r[y] = this.matrix.props[y];
6764
6764
  _ += 1, n -= 1, i += s;
6765
6765
  }
6766
6766
  } else
@@ -6776,9 +6776,9 @@ function requireLottie() {
6776
6776
  }, RoundCornersModifier.prototype.processPath = function(e, t) {
6777
6777
  var r = shapePool.newElement();
6778
6778
  r.c = e.c;
6779
- var i, s = e._length, n, a, o, l, f, c, m = 0, u, x, d, p, E, y;
6779
+ var i, s = e._length, n, a, o, l, f, c, m = 0, u, x, d, p, E, g;
6780
6780
  for (i = 0; i < s; i += 1)
6781
- n = e.v[i], o = e.o[i], a = e.i[i], n[0] === o[0] && n[1] === o[1] && n[0] === a[0] && n[1] === a[1] ? (i === 0 || i === s - 1) && !e.c ? (r.setTripleAt(n[0], n[1], o[0], o[1], a[0], a[1], m), m += 1) : (i === 0 ? l = e.v[s - 1] : l = e.v[i - 1], f = Math.sqrt(Math.pow(n[0] - l[0], 2) + Math.pow(n[1] - l[1], 2)), c = f ? Math.min(f / 2, t) / f : 0, E = n[0] + (l[0] - n[0]) * c, u = E, y = n[1] - (n[1] - l[1]) * c, x = y, d = u - (u - n[0]) * roundCorner, p = x - (x - n[1]) * roundCorner, r.setTripleAt(u, x, d, p, E, y, m), m += 1, i === s - 1 ? l = e.v[0] : l = e.v[i + 1], f = Math.sqrt(Math.pow(n[0] - l[0], 2) + Math.pow(n[1] - l[1], 2)), c = f ? Math.min(f / 2, t) / f : 0, d = n[0] + (l[0] - n[0]) * c, u = d, p = n[1] + (l[1] - n[1]) * c, x = p, E = u - (u - n[0]) * roundCorner, y = x - (x - n[1]) * roundCorner, r.setTripleAt(u, x, d, p, E, y, m), m += 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], m), m += 1);
6781
+ n = e.v[i], o = e.o[i], a = e.i[i], n[0] === o[0] && n[1] === o[1] && n[0] === a[0] && n[1] === a[1] ? (i === 0 || i === s - 1) && !e.c ? (r.setTripleAt(n[0], n[1], o[0], o[1], a[0], a[1], m), m += 1) : (i === 0 ? l = e.v[s - 1] : l = e.v[i - 1], f = Math.sqrt(Math.pow(n[0] - l[0], 2) + Math.pow(n[1] - l[1], 2)), c = f ? Math.min(f / 2, t) / f : 0, E = n[0] + (l[0] - n[0]) * c, u = E, g = n[1] - (n[1] - l[1]) * c, x = g, d = u - (u - n[0]) * roundCorner, p = x - (x - n[1]) * roundCorner, r.setTripleAt(u, x, d, p, E, g, m), m += 1, i === s - 1 ? l = e.v[0] : l = e.v[i + 1], f = Math.sqrt(Math.pow(n[0] - l[0], 2) + Math.pow(n[1] - l[1], 2)), c = f ? Math.min(f / 2, t) / f : 0, d = n[0] + (l[0] - n[0]) * c, u = d, p = n[1] + (l[1] - n[1]) * c, x = p, E = u - (u - n[0]) * roundCorner, g = x - (x - n[1]) * roundCorner, r.setTripleAt(u, x, d, p, E, g, m), m += 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], m), m += 1);
6782
6782
  return r;
6783
6783
  }, RoundCornersModifier.prototype.processShapes = function(e) {
6784
6784
  var t, r, i = this.shapes.length, s, n, a = this.rd.v;
@@ -7195,7 +7195,7 @@ function requireLottie() {
7195
7195
  }
7196
7196
  D === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
7197
7197
  }
7198
- function y(L) {
7198
+ function g(L) {
7199
7199
  if (L) {
7200
7200
  this.chars || (this.chars = []);
7201
7201
  var j, b = L.length, k, M = this.chars.length, D;
@@ -7214,7 +7214,7 @@ function requireLottie() {
7214
7214
  }
7215
7215
  return (typeof L == "string" && L.charCodeAt(0) !== 13 || !L) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", L, j, b)), t;
7216
7216
  }
7217
- function g(L, j, b) {
7217
+ function y(L, j, b) {
7218
7218
  var k = this.getFontByName(j), M = L;
7219
7219
  if (!k.cache[M]) {
7220
7220
  var D = k.helper;
@@ -7282,11 +7282,11 @@ function requireLottie() {
7282
7282
  };
7283
7283
  ne.isModifier = T, ne.isZeroWidthJoiner = A, ne.isFlagEmoji = Y, ne.isRegionalCode = I, ne.isCombinedCharacter = X, ne.isRegionalFlag = W, ne.isVariationSelector = R, ne.BLACK_FLAG_CODE_POINT = i;
7284
7284
  var q = {
7285
- addChars: y,
7285
+ addChars: g,
7286
7286
  addFonts: E,
7287
7287
  getCharData: _,
7288
7288
  getFontByName: S,
7289
- measureText: g,
7289
+ measureText: y,
7290
7290
  checkLoadedFonts: d,
7291
7291
  setIsLoaded: K
7292
7292
  };
@@ -7747,9 +7747,9 @@ function requireLottie() {
7747
7747
  this.data = e, this.element = t, this.globalData = r, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
7748
7748
  var i = this.globalData.defs, s, n = this.masksProperties ? this.masksProperties.length : 0;
7749
7749
  this.viewData = createSizedArray(n), this.solidPath = "";
7750
- var a, o = this.masksProperties, l = 0, f = [], c, m, u = createElementID(), x, d, p, E, y = "clipPath", _ = "clip-path";
7750
+ var a, o = this.masksProperties, l = 0, f = [], c, m, u = createElementID(), x, d, p, E, g = "clipPath", _ = "clip-path";
7751
7751
  for (s = 0; s < n; s += 1)
7752
- if ((o[s].mode !== "a" && o[s].mode !== "n" || o[s].inv || o[s].o.k !== 100 || o[s].o.x) && (y = "mask", _ = "mask"), (o[s].mode === "s" || o[s].mode === "i") && l === 0 ? (x = createNS("rect"), x.setAttribute("fill", "#ffffff"), x.setAttribute("width", this.element.comp.data.w || 0), x.setAttribute("height", this.element.comp.data.h || 0), f.push(x)) : x = null, a = createNS("path"), o[s].mode === "n")
7752
+ if ((o[s].mode !== "a" && o[s].mode !== "n" || o[s].inv || o[s].o.k !== 100 || o[s].o.x) && (g = "mask", _ = "mask"), (o[s].mode === "s" || o[s].mode === "i") && l === 0 ? (x = createNS("rect"), x.setAttribute("fill", "#ffffff"), x.setAttribute("width", this.element.comp.data.w || 0), x.setAttribute("height", this.element.comp.data.h || 0), f.push(x)) : x = null, a = createNS("path"), o[s].mode === "n")
7753
7753
  this.viewData[s] = {
7754
7754
  op: PropertyFactory.getProp(this.element, o[s].o, 0, 0.01, this.element),
7755
7755
  prop: ShapePropertyFactory.getShapeProp(this.element, o[s], 3),
@@ -7758,14 +7758,14 @@ function requireLottie() {
7758
7758
  }, i.appendChild(a);
7759
7759
  else {
7760
7760
  l += 1, a.setAttribute("fill", o[s].mode === "s" ? "#000000" : "#ffffff"), a.setAttribute("clip-rule", "nonzero");
7761
- var g;
7762
- if (o[s].x.k !== 0 ? (y = "mask", _ = "mask", E = PropertyFactory.getProp(this.element, o[s].x, 0, null, this.element), g = createElementID(), d = createNS("filter"), d.setAttribute("id", g), p = createNS("feMorphology"), p.setAttribute("operator", "erode"), p.setAttribute("in", "SourceGraphic"), p.setAttribute("radius", "0"), d.appendChild(p), i.appendChild(d), a.setAttribute("stroke", o[s].mode === "s" ? "#000000" : "#ffffff")) : (p = null, E = null), this.storedData[s] = {
7761
+ var y;
7762
+ if (o[s].x.k !== 0 ? (g = "mask", _ = "mask", E = PropertyFactory.getProp(this.element, o[s].x, 0, null, this.element), y = createElementID(), d = createNS("filter"), d.setAttribute("id", y), p = createNS("feMorphology"), p.setAttribute("operator", "erode"), p.setAttribute("in", "SourceGraphic"), p.setAttribute("radius", "0"), d.appendChild(p), i.appendChild(d), a.setAttribute("stroke", o[s].mode === "s" ? "#000000" : "#ffffff")) : (p = null, E = null), this.storedData[s] = {
7763
7763
  elem: a,
7764
7764
  x: E,
7765
7765
  expan: p,
7766
7766
  lastPath: "",
7767
7767
  lastOperator: "",
7768
- filterId: g,
7768
+ filterId: y,
7769
7769
  lastRadius: 0
7770
7770
  }, o[s].mode === "i") {
7771
7771
  m = f.length;
@@ -7784,7 +7784,7 @@ function requireLottie() {
7784
7784
  invRect: x
7785
7785
  }, this.viewData[s].prop.k || this.drawPath(o[s], this.viewData[s].prop.v, this.viewData[s]);
7786
7786
  }
7787
- for (this.maskElement = createNS(y), n = f.length, s = 0; s < n; s += 1)
7787
+ for (this.maskElement = createNS(g), n = f.length, s = 0; s < n; s += 1)
7788
7788
  this.maskElement.appendChild(f[s]);
7789
7789
  l > 0 && (this.maskElement.setAttribute("id", u), this.element.maskedElement.setAttribute(_, "url(" + getLocationHref() + "#" + u + ")"), i.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
7790
7790
  }
@@ -8240,23 +8240,23 @@ function requireLottie() {
8240
8240
  function n() {
8241
8241
  }
8242
8242
  function a(m, u, x) {
8243
- var d, p, E, y, _, g, S = u.styles.length, C = u.lvl, T, A, R, I;
8244
- for (g = 0; g < S; g += 1) {
8245
- if (y = u.sh._mdf || x, u.styles[g].lvl < C) {
8246
- for (A = t.reset(), R = C - u.styles[g].lvl, I = u.transformers.length - 1; !y && R > 0; )
8247
- y = u.transformers[I].mProps._mdf || y, R -= 1, I -= 1;
8248
- if (y)
8249
- for (R = C - u.styles[g].lvl, I = u.transformers.length - 1; R > 0; )
8243
+ var d, p, E, g, _, y, S = u.styles.length, C = u.lvl, T, A, R, I;
8244
+ for (y = 0; y < S; y += 1) {
8245
+ if (g = u.sh._mdf || x, u.styles[y].lvl < C) {
8246
+ for (A = t.reset(), R = C - u.styles[y].lvl, I = u.transformers.length - 1; !g && R > 0; )
8247
+ g = u.transformers[I].mProps._mdf || g, R -= 1, I -= 1;
8248
+ if (g)
8249
+ for (R = C - u.styles[y].lvl, I = u.transformers.length - 1; R > 0; )
8250
8250
  A.multiply(u.transformers[I].mProps.v), R -= 1, I -= 1;
8251
8251
  } else
8252
8252
  A = e;
8253
- if (T = u.sh.paths, p = T._length, y) {
8253
+ if (T = u.sh.paths, p = T._length, g) {
8254
8254
  for (E = "", d = 0; d < p; d += 1)
8255
8255
  _ = T.shapes[d], _ && _._length && (E += buildShapeString(_, _._length, _.c, A));
8256
- u.caches[g] = E;
8256
+ u.caches[y] = E;
8257
8257
  } else
8258
- E = u.caches[g];
8259
- u.styles[g].d += m.hd === !0 ? "" : E, u.styles[g]._mdf = y || u.styles[g]._mdf;
8258
+ E = u.caches[y];
8259
+ u.styles[y].d += m.hd === !0 ? "" : E, u.styles[y]._mdf = g || u.styles[y]._mdf;
8260
8260
  }
8261
8261
  }
8262
8262
  function o(m, u, x) {
@@ -8267,14 +8267,14 @@ function requireLottie() {
8267
8267
  f(m, u, x), c(m, u, x);
8268
8268
  }
8269
8269
  function f(m, u, x) {
8270
- var d = u.gf, p = u.g._hasOpacity, E = u.s.v, y = u.e.v;
8270
+ var d = u.gf, p = u.g._hasOpacity, E = u.s.v, g = u.e.v;
8271
8271
  if (u.o._mdf || x) {
8272
8272
  var _ = m.ty === "gf" ? "fill-opacity" : "stroke-opacity";
8273
8273
  u.style.pElem.setAttribute(_, u.o.v);
8274
8274
  }
8275
8275
  if (u.s._mdf || x) {
8276
- var g = m.t === 1 ? "x1" : "cx", S = g === "x1" ? "y1" : "cy";
8277
- d.setAttribute(g, E[0]), d.setAttribute(S, E[1]), p && !u.g._collapsable && (u.of.setAttribute(g, E[0]), u.of.setAttribute(S, E[1]));
8276
+ var y = m.t === 1 ? "x1" : "cx", S = y === "x1" ? "y1" : "cy";
8277
+ d.setAttribute(y, E[0]), d.setAttribute(S, E[1]), p && !u.g._collapsable && (u.of.setAttribute(y, E[0]), u.of.setAttribute(S, E[1]));
8278
8278
  }
8279
8279
  var C, T, A, R;
8280
8280
  if (u.g._cmdf || x) {
@@ -8289,12 +8289,12 @@ function requireLottie() {
8289
8289
  R = C[T], u.g._collapsable || R.setAttribute("offset", Y[T * 2] + "%"), R.setAttribute("stop-opacity", Y[T * 2 + 1]);
8290
8290
  }
8291
8291
  if (m.t === 1)
8292
- (u.e._mdf || x) && (d.setAttribute("x2", y[0]), d.setAttribute("y2", y[1]), p && !u.g._collapsable && (u.of.setAttribute("x2", y[0]), u.of.setAttribute("y2", y[1])));
8292
+ (u.e._mdf || x) && (d.setAttribute("x2", g[0]), d.setAttribute("y2", g[1]), p && !u.g._collapsable && (u.of.setAttribute("x2", g[0]), u.of.setAttribute("y2", g[1])));
8293
8293
  else {
8294
8294
  var X;
8295
- if ((u.s._mdf || u.e._mdf || x) && (X = Math.sqrt(Math.pow(E[0] - y[0], 2) + Math.pow(E[1] - y[1], 2)), d.setAttribute("r", X), p && !u.g._collapsable && u.of.setAttribute("r", X)), u.e._mdf || u.h._mdf || u.a._mdf || x) {
8296
- X || (X = Math.sqrt(Math.pow(E[0] - y[0], 2) + Math.pow(E[1] - y[1], 2)));
8297
- var W = Math.atan2(y[1] - E[1], y[0] - E[0]), K = u.h.v;
8295
+ if ((u.s._mdf || u.e._mdf || x) && (X = Math.sqrt(Math.pow(E[0] - g[0], 2) + Math.pow(E[1] - g[1], 2)), d.setAttribute("r", X), p && !u.g._collapsable && u.of.setAttribute("r", X)), u.e._mdf || u.h._mdf || u.a._mdf || x) {
8296
+ X || (X = Math.sqrt(Math.pow(E[0] - g[0], 2) + Math.pow(E[1] - g[1], 2)));
8297
+ var W = Math.atan2(g[1] - E[1], g[0] - E[0]), K = u.h.v;
8298
8298
  K >= 1 ? K = 0.99 : K <= -1 && (K = -0.99);
8299
8299
  var ne = X * K, q = Math.cos(W + u.a.v) * ne + E[0], L = Math.sin(W + u.a.v) * ne + E[1];
8300
8300
  d.setAttribute("fx", q), d.setAttribute("fy", L), p && !u.g._collapsable && (u.of.setAttribute("fx", q), u.of.setAttribute("fy", L));
@@ -8486,7 +8486,7 @@ function requireLottie() {
8486
8486
  return t;
8487
8487
  }, TextProperty.prototype.completeTextData = function(e) {
8488
8488
  e.__complete = !0;
8489
- var t = this.elem.globalData.fontManager, r = this.data, i = [], s, n, a, o = 0, l, f = r.m.g, c = 0, m = 0, u = 0, x = [], d = 0, p = 0, E, y, _ = t.getFontByName(e.f), g, S = 0, C = getFontProperties(_);
8489
+ var t = this.elem.globalData.fontManager, r = this.data, i = [], s, n, a, o = 0, l, f = r.m.g, c = 0, m = 0, u = 0, x = [], d = 0, p = 0, E, g, _ = t.getFontByName(e.f), y, S = 0, C = getFontProperties(_);
8490
8490
  e.fWeight = C.weight, e.fStyle = C.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), n = e.finalText.length, e.finalLineHeight = e.lh;
8491
8491
  var T = e.tr / 1e3 * e.finalSize, A;
8492
8492
  if (e.sz)
@@ -8494,13 +8494,13 @@ function requireLottie() {
8494
8494
  W = this.buildFinalText(e.t), X = 0, d = 0, n = W.length, T = e.tr / 1e3 * e.finalSize;
8495
8495
  var K = -1;
8496
8496
  for (s = 0; s < n; s += 1)
8497
- A = W[s].charCodeAt(0), a = !1, W[s] === " " ? K = s : (A === 13 || A === 3) && (d = 0, a = !0, X += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (g = t.getCharData(W[s], _.fStyle, _.fFamily), S = a ? 0 : g.w * e.finalSize / 100) : S = t.measureText(W[s], e.f, e.finalSize), d + S > I && W[s] !== " " ? (K === -1 ? n += 1 : s = K, X += e.finalLineHeight || e.finalSize * 1.2, W.splice(s, K === s ? 1 : 0, "\r"), K = -1, d = 0) : (d += S, d += T);
8497
+ A = W[s].charCodeAt(0), a = !1, W[s] === " " ? K = s : (A === 13 || A === 3) && (d = 0, a = !0, X += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (y = t.getCharData(W[s], _.fStyle, _.fFamily), S = a ? 0 : y.w * e.finalSize / 100) : S = t.measureText(W[s], e.f, e.finalSize), d + S > I && W[s] !== " " ? (K === -1 ? n += 1 : s = K, X += e.finalLineHeight || e.finalSize * 1.2, W.splice(s, K === s ? 1 : 0, "\r"), K = -1, d = 0) : (d += S, d += T);
8498
8498
  X += _.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && Y < X ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = W, n = e.finalText.length, R = !1);
8499
8499
  }
8500
8500
  d = -T, S = 0;
8501
8501
  var ne = 0, q;
8502
8502
  for (s = 0; s < n; s += 1)
8503
- if (a = !1, q = e.finalText[s], A = q.charCodeAt(0), A === 13 || A === 3 ? (ne = 0, x.push(d), p = d > p ? d : p, d = -2 * T, l = "", a = !0, u += 1) : l = q, t.chars ? (g = t.getCharData(q, _.fStyle, t.getFontByName(e.f).fFamily), S = a ? 0 : g.w * e.finalSize / 100) : S = t.measureText(l, e.f, e.finalSize), q === " " ? ne += S + T : (d += S + T + ne, ne = 0), i.push({
8503
+ if (a = !1, q = e.finalText[s], A = q.charCodeAt(0), A === 13 || A === 3 ? (ne = 0, x.push(d), p = d > p ? d : p, d = -2 * T, l = "", a = !0, u += 1) : l = q, t.chars ? (y = t.getCharData(q, _.fStyle, t.getFontByName(e.f).fFamily), S = a ? 0 : y.w * e.finalSize / 100) : S = t.measureText(l, e.f, e.finalSize), q === " " ? ne += S + T : (d += S + T + ne, ne = 0), i.push({
8504
8504
  l: S,
8505
8505
  an: S,
8506
8506
  add: c,
@@ -8538,9 +8538,9 @@ function requireLottie() {
8538
8538
  }
8539
8539
  e.lineWidths = x;
8540
8540
  var L = r.a, j, b;
8541
- y = L.length;
8541
+ g = L.length;
8542
8542
  var k, M, D = [];
8543
- for (E = 0; E < y; E += 1) {
8543
+ for (E = 0; E < g; E += 1) {
8544
8544
  for (j = L[E], j.a.sc && (e.strokeColorAnim = !0), j.a.sw && (e.strokeWidthAnim = !0), (j.a.fc || j.a.fh || j.a.fs || j.a.fb) && (e.fillColorAnim = !0), M = 0, k = j.s.b, s = 0; s < n; s += 1)
8545
8545
  b = i[s], b.anIndexes[E] = M, (k == 1 && b.val !== "" || k == 2 && b.val !== "" && b.val !== " " || k == 3 && (b.n || b.val == " " || s == n - 1) || k == 4 && (b.n || s == n - 1)) && (j.s.rn === 1 && D.push(M), M += 1);
8546
8546
  r.a[E].s.totalChars = M;
@@ -8597,16 +8597,16 @@ function requireLottie() {
8597
8597
  else {
8598
8598
  var E = d - x;
8599
8599
  a = t(e(0, a + 0.5 - x), d - x);
8600
- var y = -E / 2 + a, _ = E / 2;
8601
- u = Math.sqrt(1 - y * y / (_ * _));
8600
+ var g = -E / 2 + a, _ = E / 2;
8601
+ u = Math.sqrt(1 - g * g / (_ * _));
8602
8602
  }
8603
8603
  u = m(u);
8604
8604
  } else p === 6 ? (d === x ? u = 0 : (a = t(e(0, a + 0.5 - x), d - x), u = (1 + Math.cos(Math.PI + Math.PI * 2 * a / (d - x))) / 2), u = m(u)) : (a >= r(x) && (a - x < 0 ? u = e(0, t(t(d, 1) - (x - a), 1)) : u = e(0, t(d - a, 1))), u = m(u));
8605
8605
  if (this.sm.v !== 100) {
8606
- var g = this.sm.v * 0.01;
8607
- g === 0 && (g = 1e-8);
8608
- var S = 0.5 - g * 0.5;
8609
- u < S ? u = 0 : (u = (u - S) / g, u > 1 && (u = 1));
8606
+ var y = this.sm.v * 0.01;
8607
+ y === 0 && (y = 1e-8);
8608
+ var S = 0.5 - y * 0.5;
8609
+ u < S ? u = 0 : (u = (u - S) / y, u > 1 && (u = 1));
8610
8610
  }
8611
8611
  return u * this.a.v;
8612
8612
  },
@@ -8670,7 +8670,7 @@ function requireLottie() {
8670
8670
  }, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
8671
8671
  if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
8672
8672
  this._isFirstFrame = !1;
8673
- var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, n = this.mHelper, a = this._renderType, o = this.renderedLetters.length, l, f, c, m, u = e.l, x, d, p, E, y, _, g, S, C, T, A, R, I, Y, X;
8673
+ var r = this._moreOptions.alignment.v, i = this._animatorsData, s = this._textData, n = this.mHelper, a = this._renderType, o = this.renderedLetters.length, l, f, c, m, u = e.l, x, d, p, E, g, _, y, S, C, T, A, R, I, Y, X;
8674
8674
  if (this._hasMaskedPath) {
8675
8675
  if (X = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
8676
8676
  var W = X.v;
@@ -8683,15 +8683,15 @@ function requireLottie() {
8683
8683
  K = bez.buildBezierData(W.v[c], W.v[c + 1], [W.o[c][0] - W.v[c][0], W.o[c][1] - W.v[c][1]], [W.i[c + 1][0] - W.v[c + 1][0], W.i[c + 1][1] - W.v[c + 1][1]]), x.tLength += K.segmentLength, x.segments.push(K), R += K.segmentLength;
8684
8684
  c = m, X.v.c && (K = bez.buildBezierData(W.v[c], W.v[0], [W.o[c][0] - W.v[c][0], W.o[c][1] - W.v[c][1]], [W.i[0][0] - W.v[0][0], W.i[0][1] - W.v[0][1]]), x.tLength += K.segmentLength, x.segments.push(K), R += K.segmentLength), this._pathData.pi = x;
8685
8685
  }
8686
- if (x = this._pathData.pi, d = this._pathData.f.v, g = 0, _ = 1, E = 0, y = !0, T = x.segments, d < 0 && X.v.c)
8687
- for (x.tLength < Math.abs(d) && (d = -Math.abs(d) % x.tLength), g = T.length - 1, C = T[g].points, _ = C.length - 1; d < 0; )
8688
- d += C[_].partialLength, _ -= 1, _ < 0 && (g -= 1, C = T[g].points, _ = C.length - 1);
8689
- C = T[g].points, S = C[_ - 1], p = C[_], A = p.partialLength;
8686
+ if (x = this._pathData.pi, d = this._pathData.f.v, y = 0, _ = 1, E = 0, g = !0, T = x.segments, d < 0 && X.v.c)
8687
+ for (x.tLength < Math.abs(d) && (d = -Math.abs(d) % x.tLength), y = T.length - 1, C = T[y].points, _ = C.length - 1; d < 0; )
8688
+ d += C[_].partialLength, _ -= 1, _ < 0 && (y -= 1, C = T[y].points, _ = C.length - 1);
8689
+ C = T[y].points, S = C[_ - 1], p = C[_], A = p.partialLength;
8690
8690
  }
8691
8691
  m = u.length, l = 0, f = 0;
8692
8692
  var ne = e.finalSize * 1.2 * 0.714, q = !0, L, j, b, k, M;
8693
8693
  k = i.length;
8694
- var D, P = -1, H, B, z, re = d, ce = g, fe = _, pe = -1, le, Se, Ce, Te, he, je, ke, ye, Fe = "", Ie = this.defaultPropsArray, Ve;
8694
+ var D, P = -1, H, B, z, re = d, ce = y, fe = _, pe = -1, le, Se, Ce, Te, he, je, ke, ye, Fe = "", Ie = this.defaultPropsArray, Ve;
8695
8695
  if (e.j === 2 || e.j === 1) {
8696
8696
  var Pe = 0, Je = 0, $e = e.j === 2 ? -0.5 : -1, De = 0, Ke = !0;
8697
8697
  for (c = 0; c < m; c += 1)
@@ -8709,7 +8709,7 @@ function requireLottie() {
8709
8709
  }
8710
8710
  for (c = 0; c < m; c += 1) {
8711
8711
  if (n.reset(), le = 1, u[c].n)
8712
- l = 0, f += e.yOffset, f += q ? 1 : 0, d = re, q = !1, this._hasMaskedPath && (g = ce, _ = fe, C = T[g].points, S = C[_ - 1], p = C[_], A = p.partialLength, E = 0), Fe = "", ye = "", je = "", Ve = "", Ie = this.defaultPropsArray;
8712
+ l = 0, f += e.yOffset, f += q ? 1 : 0, d = re, q = !1, this._hasMaskedPath && (y = ce, _ = fe, C = T[y].points, S = C[_ - 1], p = C[_], A = p.partialLength, E = 0), Fe = "", ye = "", je = "", Ve = "", Ie = this.defaultPropsArray;
8713
8713
  else {
8714
8714
  if (this._hasMaskedPath) {
8715
8715
  if (pe !== u[c].line) {
@@ -8727,8 +8727,8 @@ function requireLottie() {
8727
8727
  var Ue = 0;
8728
8728
  for (b = 0; b < k; b += 1)
8729
8729
  L = i[b].a, L.p.propType && (j = i[b].s, D = j.getMult(u[c].anIndexes[b], s.a[b].s.totalChars), D.length ? Ue += L.p.v[0] * D[0] : Ue += L.p.v[0] * D), L.a.propType && (j = i[b].s, D = j.getMult(u[c].anIndexes[b], s.a[b].s.totalChars), D.length ? Ue += L.a.v[0] * D[0] : Ue += L.a.v[0] * D);
8730
- for (y = !0, this._pathData.a.v && (d = u[0].an * 0.5 + (R - this._pathData.f.v - u[0].an * 0.5 - u[u.length - 1].an * 0.5) * P / (m - 1), d += this._pathData.f.v); y; )
8731
- E + A >= d + Ue || !C ? (I = (d + Ue - E) / p.partialLength, B = S.point[0] + (p.point[0] - S.point[0]) * I, z = S.point[1] + (p.point[1] - S.point[1]) * I, n.translate(-r[0] * u[c].an * 5e-3, -(r[1] * ne) * 0.01), y = !1) : C && (E += p.partialLength, _ += 1, _ >= C.length && (_ = 0, g += 1, T[g] ? C = T[g].points : X.v.c ? (_ = 0, g = 0, C = T[g].points) : (E -= p.partialLength, C = null)), C && (S = p, p = C[_], A = p.partialLength));
8730
+ for (g = !0, this._pathData.a.v && (d = u[0].an * 0.5 + (R - this._pathData.f.v - u[0].an * 0.5 - u[u.length - 1].an * 0.5) * P / (m - 1), d += this._pathData.f.v); g; )
8731
+ E + A >= d + Ue || !C ? (I = (d + Ue - E) / p.partialLength, B = S.point[0] + (p.point[0] - S.point[0]) * I, z = S.point[1] + (p.point[1] - S.point[1]) * I, n.translate(-r[0] * u[c].an * 5e-3, -(r[1] * ne) * 0.01), g = !1) : C && (E += p.partialLength, _ += 1, _ >= C.length && (_ = 0, y += 1, T[y] ? C = T[y].points : X.v.c ? (_ = 0, y = 0, C = T[y].points) : (E -= p.partialLength, C = null)), C && (S = p, p = C[_], A = p.partialLength));
8732
8732
  H = u[c].an / 2 - u[c].add, n.translate(-H, 0, 0);
8733
8733
  } else
8734
8734
  H = u[c].an / 2 - u[c].add, n.translate(-H, 0, 0), n.translate(-r[0] * u[c].an * 5e-3, -r[1] * ne * 0.01, 0);
@@ -8848,19 +8848,19 @@ function requireLottie() {
8848
8848
  t = a.length;
8849
8849
  var l, f = this.mHelper, c = "", m = this.data.singleShape, u = 0, x = 0, d = !0, p = r.tr * 1e-3 * r.finalSize;
8850
8850
  if (m && !o && !r.sz) {
8851
- var E = this.textContainer, y = "start";
8851
+ var E = this.textContainer, g = "start";
8852
8852
  switch (r.j) {
8853
8853
  case 1:
8854
- y = "end";
8854
+ g = "end";
8855
8855
  break;
8856
8856
  case 2:
8857
- y = "middle";
8857
+ g = "middle";
8858
8858
  break;
8859
8859
  default:
8860
- y = "start";
8860
+ g = "start";
8861
8861
  break;
8862
8862
  }
8863
- E.setAttribute("text-anchor", y), E.setAttribute("letter-spacing", p);
8863
+ E.setAttribute("text-anchor", g), E.setAttribute("letter-spacing", p);
8864
8864
  var _ = this.buildTextContents(r.finalText);
8865
8865
  for (t = _.length, x = r.ps ? r.ps[1] + r.ascent : 0, e = 0; e < t; e += 1)
8866
8866
  l = this.textSpans[e].span || createNS("tspan"), l.textContent = _[e], l.setAttribute("x", 0), l.setAttribute("y", x), l.style.display = "inherit", E.appendChild(l), this.textSpans[e] || (this.textSpans[e] = {
@@ -8869,14 +8869,14 @@ function requireLottie() {
8869
8869
  }), this.textSpans[e].span = l, x += r.finalLineHeight;
8870
8870
  this.layerElement.appendChild(E);
8871
8871
  } else {
8872
- var g = this.textSpans.length, S;
8872
+ var y = this.textSpans.length, S;
8873
8873
  for (e = 0; e < t; e += 1) {
8874
8874
  if (this.textSpans[e] || (this.textSpans[e] = {
8875
8875
  span: null,
8876
8876
  childSpan: null,
8877
8877
  glyph: null
8878
8878
  }), !o || !m || e === 0) {
8879
- if (l = g > e ? this.textSpans[e].span : createNS(o ? "g" : "text"), g <= e) {
8879
+ if (l = y > e ? this.textSpans[e].span : createNS(o ? "g" : "text"), y <= e) {
8880
8880
  if (l.setAttribute("stroke-linecap", "butt"), l.setAttribute("stroke-linejoin", "round"), l.setAttribute("stroke-miterlimit", "4"), this.textSpans[e].span = l, o) {
8881
8881
  var C = createNS("g");
8882
8882
  l.appendChild(C), this.textSpans[e].childSpan = C;
@@ -9484,9 +9484,9 @@ function requireLottie() {
9484
9484
  var m = l * c, u = Math.cos(f + t.a.v) * m + a[0], x = Math.sin(f + t.a.v) * m + a[1];
9485
9485
  s = n.createRadialGradient(u, x, 0, a[0], a[1], l);
9486
9486
  }
9487
- var d, p = e.g.p, E = t.g.c, y = 1;
9487
+ var d, p = e.g.p, E = t.g.c, g = 1;
9488
9488
  for (d = 0; d < p; d += 1)
9489
- t.g._hasOpacity && t.g._collapsable && (y = t.g.o[d * 2 + 1]), s.addColorStop(E[d * 4] / 100, "rgba(" + E[d * 4 + 1] + "," + E[d * 4 + 2] + "," + E[d * 4 + 3] + "," + y + ")");
9489
+ t.g._hasOpacity && t.g._collapsable && (g = t.g.o[d * 2 + 1]), s.addColorStop(E[d * 4] / 100, "rgba(" + E[d * 4 + 1] + "," + E[d * 4 + 2] + "," + E[d * 4 + 3] + "," + g + ")");
9490
9490
  i.grd = s;
9491
9491
  }
9492
9492
  i.coOp = t.o.v * r.opacity;
@@ -9513,17 +9513,17 @@ function requireLottie() {
9513
9513
  e.sc && (r = !0, this.values.stroke = this.buildColor(e.sc), this.values.sWidth = e.sw);
9514
9514
  var i = this.globalData.fontManager.getFontByName(e.f), s, n, a = e.l, o = this.mHelper;
9515
9515
  this.stroke = r, this.values.fValue = e.finalSize + "px " + this.globalData.fontManager.getFontByName(e.f).fFamily, n = e.finalText.length;
9516
- var l, f, c, m, u, x, d, p, E, y, _ = this.data.singleShape, g = e.tr * 1e-3 * e.finalSize, S = 0, C = 0, T = !0, A = 0;
9516
+ var l, f, c, m, u, x, d, p, E, g, _ = this.data.singleShape, y = e.tr * 1e-3 * e.finalSize, S = 0, C = 0, T = !0, A = 0;
9517
9517
  for (s = 0; s < n; s += 1) {
9518
- l = this.globalData.fontManager.getCharData(e.finalText[s], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), f = l && l.data || {}, o.reset(), _ && a[s].n && (S = -g, C += e.yOffset, C += T ? 1 : 0, T = !1), u = f.shapes ? f.shapes[0].it : [], d = u.length, o.scale(e.finalSize / 100, e.finalSize / 100), _ && this.applyTextPropertiesToMatrix(e, o, a[s].line, S, C), E = createSizedArray(d - 1);
9518
+ l = this.globalData.fontManager.getCharData(e.finalText[s], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), f = l && l.data || {}, o.reset(), _ && a[s].n && (S = -y, C += e.yOffset, C += T ? 1 : 0, T = !1), u = f.shapes ? f.shapes[0].it : [], d = u.length, o.scale(e.finalSize / 100, e.finalSize / 100), _ && this.applyTextPropertiesToMatrix(e, o, a[s].line, S, C), E = createSizedArray(d - 1);
9519
9519
  var R = 0;
9520
9520
  for (x = 0; x < d; x += 1)
9521
9521
  if (u[x].ty === "sh") {
9522
- for (m = u[x].ks.k.i.length, p = u[x].ks.k, y = [], c = 1; c < m; c += 1)
9523
- c === 1 && y.push(o.applyToX(p.v[0][0], p.v[0][1], 0), o.applyToY(p.v[0][0], p.v[0][1], 0)), y.push(o.applyToX(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToY(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToX(p.i[c][0], p.i[c][1], 0), o.applyToY(p.i[c][0], p.i[c][1], 0), o.applyToX(p.v[c][0], p.v[c][1], 0), o.applyToY(p.v[c][0], p.v[c][1], 0));
9524
- y.push(o.applyToX(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToY(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToX(p.i[0][0], p.i[0][1], 0), o.applyToY(p.i[0][0], p.i[0][1], 0), o.applyToX(p.v[0][0], p.v[0][1], 0), o.applyToY(p.v[0][0], p.v[0][1], 0)), E[R] = y, R += 1;
9522
+ for (m = u[x].ks.k.i.length, p = u[x].ks.k, g = [], c = 1; c < m; c += 1)
9523
+ c === 1 && g.push(o.applyToX(p.v[0][0], p.v[0][1], 0), o.applyToY(p.v[0][0], p.v[0][1], 0)), g.push(o.applyToX(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToY(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToX(p.i[c][0], p.i[c][1], 0), o.applyToY(p.i[c][0], p.i[c][1], 0), o.applyToX(p.v[c][0], p.v[c][1], 0), o.applyToY(p.v[c][0], p.v[c][1], 0));
9524
+ g.push(o.applyToX(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToY(p.o[c - 1][0], p.o[c - 1][1], 0), o.applyToX(p.i[0][0], p.i[0][1], 0), o.applyToY(p.i[0][0], p.i[0][1], 0), o.applyToX(p.v[0][0], p.v[0][1], 0), o.applyToY(p.v[0][0], p.v[0][1], 0)), E[R] = g, R += 1;
9525
9525
  }
9526
- _ && (S += a[s].l, S += g), this.textSpans[A] ? this.textSpans[A].elem = E : this.textSpans[A] = {
9526
+ _ && (S += a[s].l, S += y), this.textSpans[A] ? this.textSpans[A].elem = E : this.textSpans[A] = {
9527
9527
  elem: E
9528
9528
  }, A += 1;
9529
9529
  }
@@ -9948,16 +9948,16 @@ function requireLottie() {
9948
9948
  var f, c, m, u = this.mHelper, x, d = "", p = 0;
9949
9949
  for (a = 0; a < o; a += 1) {
9950
9950
  if (this.globalData.fontManager.chars ? (this.textPaths[p] ? f = this.textPaths[p] : (f = createNS("path"), f.setAttribute("stroke-linecap", lineCapEnum[1]), f.setAttribute("stroke-linejoin", lineJoinEnum[2]), f.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[p] ? (c = this.textSpans[p], m = c.children[0]) : (c = createTag("div"), c.style.lineHeight = 0, m = createNS("svg"), m.appendChild(f), styleDiv(c)))) : this.isMasked ? f = this.textPaths[p] ? this.textPaths[p] : createNS("text") : this.textSpans[p] ? (c = this.textSpans[p], f = this.textPaths[p]) : (c = createTag("span"), styleDiv(c), f = createTag("span"), styleDiv(f), c.appendChild(f)), this.globalData.fontManager.chars) {
9951
- var E = this.globalData.fontManager.getCharData(e.finalText[a], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), y;
9952
- if (E ? y = E.data : y = null, u.reset(), y && y.shapes && y.shapes.length && (x = y.shapes[0].it, u.scale(e.finalSize / 100, e.finalSize / 100), d = this.createPathShape(u, x), f.setAttribute("d", d)), this.isMasked)
9951
+ var E = this.globalData.fontManager.getCharData(e.finalText[a], i.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), g;
9952
+ if (E ? g = E.data : g = null, u.reset(), g && g.shapes && g.shapes.length && (x = g.shapes[0].it, u.scale(e.finalSize / 100, e.finalSize / 100), d = this.createPathShape(u, x), f.setAttribute("d", d)), this.isMasked)
9953
9953
  this.innerElem.appendChild(f);
9954
9954
  else {
9955
- if (this.innerElem.appendChild(c), y && y.shapes) {
9955
+ if (this.innerElem.appendChild(c), g && g.shapes) {
9956
9956
  document.body.appendChild(m);
9957
9957
  var _ = m.getBBox();
9958
9958
  m.setAttribute("width", _.width + 2), m.setAttribute("height", _.height + 2), m.setAttribute("viewBox", _.x - 1 + " " + (_.y - 1) + " " + (_.width + 2) + " " + (_.height + 2));
9959
- var g = m.style, S = "translate(" + (_.x - 1) + "px," + (_.y - 1) + "px)";
9960
- g.transform = S, g.webkitTransform = S, l[a].yOffset = _.y - 1;
9959
+ var y = m.style, S = "translate(" + (_.x - 1) + "px," + (_.y - 1) + "px)";
9960
+ y.transform = S, y.webkitTransform = S, l[a].yOffset = _.y - 1;
9961
9961
  } else
9962
9962
  m.setAttribute("width", 1), m.setAttribute("height", 1);
9963
9963
  c.appendChild(m);
@@ -10262,12 +10262,12 @@ function requireLottie() {
10262
10262
  }
10263
10263
  function seedRandom(e, t) {
10264
10264
  var r = this, i = 256, s = 6, n = 52, a = "random", o = t.pow(i, s), l = t.pow(2, n), f = l * 2, c = i - 1, m;
10265
- function u(g, S, C) {
10265
+ function u(y, S, C) {
10266
10266
  var T = [];
10267
10267
  S = S === !0 ? {
10268
10268
  entropy: !0
10269
10269
  } : S || {};
10270
- var A = E(p(S.entropy ? [g, _(e)] : g === null ? y() : g, 3), T), R = new x(T), I = function() {
10270
+ var A = E(p(S.entropy ? [y, _(e)] : y === null ? g() : y, 3), T), R = new x(T), I = function() {
10271
10271
  for (var X = R.g(s), W = o, K = 0; X < l; )
10272
10272
  X = (X + K) * i, W *= i, K = R.g(1);
10273
10273
  for (; X >= f; )
@@ -10285,47 +10285,47 @@ function requireLottie() {
10285
10285
  })(I, A, "global" in S ? S.global : this == t, S.state);
10286
10286
  }
10287
10287
  t["seed" + a] = u;
10288
- function x(g) {
10289
- var S, C = g.length, T = this, A = 0, R = T.i = T.j = 0, I = T.S = [];
10290
- for (C || (g = [C++]); A < i; )
10288
+ function x(y) {
10289
+ var S, C = y.length, T = this, A = 0, R = T.i = T.j = 0, I = T.S = [];
10290
+ for (C || (y = [C++]); A < i; )
10291
10291
  I[A] = A++;
10292
10292
  for (A = 0; A < i; A++)
10293
- I[A] = I[R = c & R + g[A % C] + (S = I[A])], I[R] = S;
10293
+ I[A] = I[R = c & R + y[A % C] + (S = I[A])], I[R] = S;
10294
10294
  T.g = function(Y) {
10295
10295
  for (var X, W = 0, K = T.i, ne = T.j, q = T.S; Y--; )
10296
10296
  X = q[K = c & K + 1], W = W * i + q[c & (q[K] = q[ne = c & ne + X]) + (q[ne] = X)];
10297
10297
  return T.i = K, T.j = ne, W;
10298
10298
  };
10299
10299
  }
10300
- function d(g, S) {
10301
- return S.i = g.i, S.j = g.j, S.S = g.S.slice(), S;
10300
+ function d(y, S) {
10301
+ return S.i = y.i, S.j = y.j, S.S = y.S.slice(), S;
10302
10302
  }
10303
- function p(g, S) {
10304
- var C = [], T = _typeof$2(g), A;
10303
+ function p(y, S) {
10304
+ var C = [], T = _typeof$2(y), A;
10305
10305
  if (S && T == "object")
10306
- for (A in g)
10306
+ for (A in y)
10307
10307
  try {
10308
- C.push(p(g[A], S - 1));
10308
+ C.push(p(y[A], S - 1));
10309
10309
  } catch {
10310
10310
  }
10311
- return C.length ? C : T == "string" ? g : g + "\0";
10311
+ return C.length ? C : T == "string" ? y : y + "\0";
10312
10312
  }
10313
- function E(g, S) {
10314
- for (var C = g + "", T, A = 0; A < C.length; )
10313
+ function E(y, S) {
10314
+ for (var C = y + "", T, A = 0; A < C.length; )
10315
10315
  S[c & A] = c & (T ^= S[c & A] * 19) + C.charCodeAt(A++);
10316
10316
  return _(S);
10317
10317
  }
10318
- function y() {
10318
+ function g() {
10319
10319
  try {
10320
- var g = new Uint8Array(i);
10321
- return (r.crypto || r.msCrypto).getRandomValues(g), _(g);
10320
+ var y = new Uint8Array(i);
10321
+ return (r.crypto || r.msCrypto).getRandomValues(y), _(y);
10322
10322
  } catch {
10323
10323
  var S = r.navigator, C = S && S.plugins;
10324
10324
  return [+/* @__PURE__ */ new Date(), r, C, r.screen, _(e)];
10325
10325
  }
10326
10326
  }
10327
- function _(g) {
10328
- return String.fromCharCode.apply(0, g);
10327
+ function _(y) {
10328
+ return String.fromCharCode.apply(0, y);
10329
10329
  }
10330
10330
  E(t.random(), e);
10331
10331
  }
@@ -11070,51 +11070,51 @@ function requireLottie() {
11070
11070
  };
11071
11071
  }(), ShapeExpressionInterface = /* @__PURE__ */ function() {
11072
11072
  function e(d, p, E) {
11073
- var y = [], _, g = d ? d.length : 0;
11074
- for (_ = 0; _ < g; _ += 1)
11075
- d[_].ty === "gr" ? y.push(r(d[_], p[_], E)) : d[_].ty === "fl" ? y.push(i(d[_], p[_], E)) : d[_].ty === "st" ? y.push(a(d[_], p[_], E)) : d[_].ty === "tm" ? y.push(o(d[_], p[_], E)) : d[_].ty === "tr" || (d[_].ty === "el" ? y.push(f(d[_], p[_], E)) : d[_].ty === "sr" ? y.push(c(d[_], p[_], E)) : d[_].ty === "sh" ? y.push(ShapePathInterface(d[_], p[_], E)) : d[_].ty === "rc" ? y.push(m(d[_], p[_], E)) : d[_].ty === "rd" ? y.push(u(d[_], p[_], E)) : d[_].ty === "rp" ? y.push(x(d[_], p[_], E)) : d[_].ty === "gf" ? y.push(s(d[_], p[_], E)) : y.push(n(d[_], p[_])));
11076
- return y;
11073
+ var g = [], _, y = d ? d.length : 0;
11074
+ for (_ = 0; _ < y; _ += 1)
11075
+ d[_].ty === "gr" ? g.push(r(d[_], p[_], E)) : d[_].ty === "fl" ? g.push(i(d[_], p[_], E)) : d[_].ty === "st" ? g.push(a(d[_], p[_], E)) : d[_].ty === "tm" ? g.push(o(d[_], p[_], E)) : d[_].ty === "tr" || (d[_].ty === "el" ? g.push(f(d[_], p[_], E)) : d[_].ty === "sr" ? g.push(c(d[_], p[_], E)) : d[_].ty === "sh" ? g.push(ShapePathInterface(d[_], p[_], E)) : d[_].ty === "rc" ? g.push(m(d[_], p[_], E)) : d[_].ty === "rd" ? g.push(u(d[_], p[_], E)) : d[_].ty === "rp" ? g.push(x(d[_], p[_], E)) : d[_].ty === "gf" ? g.push(s(d[_], p[_], E)) : g.push(n(d[_], p[_])));
11076
+ return g;
11077
11077
  }
11078
11078
  function t(d, p, E) {
11079
- var y, _ = function(C) {
11080
- for (var T = 0, A = y.length; T < A; ) {
11081
- if (y[T]._name === C || y[T].mn === C || y[T].propertyIndex === C || y[T].ix === C || y[T].ind === C)
11082
- return y[T];
11079
+ var g, _ = function(C) {
11080
+ for (var T = 0, A = g.length; T < A; ) {
11081
+ if (g[T]._name === C || g[T].mn === C || g[T].propertyIndex === C || g[T].ix === C || g[T].ind === C)
11082
+ return g[T];
11083
11083
  T += 1;
11084
11084
  }
11085
- return typeof C == "number" ? y[C - 1] : null;
11085
+ return typeof C == "number" ? g[C - 1] : null;
11086
11086
  };
11087
- _.propertyGroup = propertyGroupFactory(_, E), y = e(d.it, p.it, _.propertyGroup), _.numProperties = y.length;
11088
- var g = l(d.it[d.it.length - 1], p.it[p.it.length - 1], _.propertyGroup);
11089
- return _.transform = g, _.propertyIndex = d.cix, _._name = d.nm, _;
11087
+ _.propertyGroup = propertyGroupFactory(_, E), g = e(d.it, p.it, _.propertyGroup), _.numProperties = g.length;
11088
+ var y = l(d.it[d.it.length - 1], p.it[p.it.length - 1], _.propertyGroup);
11089
+ return _.transform = y, _.propertyIndex = d.cix, _._name = d.nm, _;
11090
11090
  }
11091
11091
  function r(d, p, E) {
11092
- var y = function(C) {
11092
+ var g = function(C) {
11093
11093
  switch (C) {
11094
11094
  case "ADBE Vectors Group":
11095
11095
  case "Contents":
11096
11096
  case 2:
11097
- return y.content;
11097
+ return g.content;
11098
11098
  // Not necessary for now. Keeping them here in case a new case appears
11099
11099
  // case 'ADBE Vector Transform Group':
11100
11100
  // case 3:
11101
11101
  default:
11102
- return y.transform;
11102
+ return g.transform;
11103
11103
  }
11104
11104
  };
11105
- y.propertyGroup = propertyGroupFactory(y, E);
11106
- var _ = t(d, p, y.propertyGroup), g = l(d.it[d.it.length - 1], p.it[p.it.length - 1], y.propertyGroup);
11107
- return y.content = _, y.transform = g, Object.defineProperty(y, "_name", {
11105
+ g.propertyGroup = propertyGroupFactory(g, E);
11106
+ var _ = t(d, p, g.propertyGroup), y = l(d.it[d.it.length - 1], p.it[p.it.length - 1], g.propertyGroup);
11107
+ return g.content = _, g.transform = y, Object.defineProperty(g, "_name", {
11108
11108
  get: function() {
11109
11109
  return d.nm;
11110
11110
  }
11111
- }), y.numProperties = d.np, y.propertyIndex = d.ix, y.nm = d.nm, y.mn = d.mn, y;
11111
+ }), g.numProperties = d.np, g.propertyIndex = d.ix, g.nm = d.nm, g.mn = d.mn, g;
11112
11112
  }
11113
11113
  function i(d, p, E) {
11114
- function y(_) {
11115
- return _ === "Color" || _ === "color" ? y.color : _ === "Opacity" || _ === "opacity" ? y.opacity : null;
11114
+ function g(_) {
11115
+ return _ === "Color" || _ === "color" ? g.color : _ === "Opacity" || _ === "opacity" ? g.opacity : null;
11116
11116
  }
11117
- return Object.defineProperties(y, {
11117
+ return Object.defineProperties(g, {
11118
11118
  color: {
11119
11119
  get: ExpressionPropertyInterface(p.c)
11120
11120
  },
@@ -11127,13 +11127,13 @@ function requireLottie() {
11127
11127
  mn: {
11128
11128
  value: d.mn
11129
11129
  }
11130
- }), p.c.setGroupProperty(PropertyInterface("Color", E)), p.o.setGroupProperty(PropertyInterface("Opacity", E)), y;
11130
+ }), p.c.setGroupProperty(PropertyInterface("Color", E)), p.o.setGroupProperty(PropertyInterface("Opacity", E)), g;
11131
11131
  }
11132
11132
  function s(d, p, E) {
11133
- function y(_) {
11134
- return _ === "Start Point" || _ === "start point" ? y.startPoint : _ === "End Point" || _ === "end point" ? y.endPoint : _ === "Opacity" || _ === "opacity" ? y.opacity : null;
11133
+ function g(_) {
11134
+ return _ === "Start Point" || _ === "start point" ? g.startPoint : _ === "End Point" || _ === "end point" ? g.endPoint : _ === "Opacity" || _ === "opacity" ? g.opacity : null;
11135
11135
  }
11136
- return Object.defineProperties(y, {
11136
+ return Object.defineProperties(g, {
11137
11137
  startPoint: {
11138
11138
  get: ExpressionPropertyInterface(p.s)
11139
11139
  },
@@ -11154,7 +11154,7 @@ function requireLottie() {
11154
11154
  mn: {
11155
11155
  value: d.mn
11156
11156
  }
11157
- }), p.s.setGroupProperty(PropertyInterface("Start Point", E)), p.e.setGroupProperty(PropertyInterface("End Point", E)), p.o.setGroupProperty(PropertyInterface("Opacity", E)), y;
11157
+ }), p.s.setGroupProperty(PropertyInterface("Start Point", E)), p.e.setGroupProperty(PropertyInterface("End Point", E)), p.o.setGroupProperty(PropertyInterface("Opacity", E)), g;
11158
11158
  }
11159
11159
  function n() {
11160
11160
  function d() {
@@ -11163,15 +11163,15 @@ function requireLottie() {
11163
11163
  return d;
11164
11164
  }
11165
11165
  function a(d, p, E) {
11166
- var y = propertyGroupFactory(A, E), _ = propertyGroupFactory(T, y);
11167
- function g(R) {
11166
+ var g = propertyGroupFactory(A, E), _ = propertyGroupFactory(T, g);
11167
+ function y(R) {
11168
11168
  Object.defineProperty(T, d.d[R].nm, {
11169
11169
  get: ExpressionPropertyInterface(p.d.dataProps[R].p)
11170
11170
  });
11171
11171
  }
11172
11172
  var S, C = d.d ? d.d.length : 0, T = {};
11173
11173
  for (S = 0; S < C; S += 1)
11174
- g(S), p.d.dataProps[S].p.setGroupProperty(_);
11174
+ y(S), p.d.dataProps[S].p.setGroupProperty(_);
11175
11175
  function A(R) {
11176
11176
  return R === "Color" || R === "color" ? A.color : R === "Opacity" || R === "opacity" ? A.opacity : R === "Stroke Width" || R === "stroke width" ? A.strokeWidth : null;
11177
11177
  }
@@ -11196,14 +11196,14 @@ function requireLottie() {
11196
11196
  mn: {
11197
11197
  value: d.mn
11198
11198
  }
11199
- }), p.c.setGroupProperty(PropertyInterface("Color", y)), p.o.setGroupProperty(PropertyInterface("Opacity", y)), p.w.setGroupProperty(PropertyInterface("Stroke Width", y)), A;
11199
+ }), p.c.setGroupProperty(PropertyInterface("Color", g)), p.o.setGroupProperty(PropertyInterface("Opacity", g)), p.w.setGroupProperty(PropertyInterface("Stroke Width", g)), A;
11200
11200
  }
11201
11201
  function o(d, p, E) {
11202
- function y(g) {
11203
- return g === d.e.ix || g === "End" || g === "end" ? y.end : g === d.s.ix ? y.start : g === d.o.ix ? y.offset : null;
11202
+ function g(y) {
11203
+ return y === d.e.ix || y === "End" || y === "end" ? g.end : y === d.s.ix ? g.start : y === d.o.ix ? g.offset : null;
11204
11204
  }
11205
- var _ = propertyGroupFactory(y, E);
11206
- return y.propertyIndex = d.ix, p.s.setGroupProperty(PropertyInterface("Start", _)), p.e.setGroupProperty(PropertyInterface("End", _)), p.o.setGroupProperty(PropertyInterface("Offset", _)), y.propertyIndex = d.ix, y.propertyGroup = E, Object.defineProperties(y, {
11205
+ var _ = propertyGroupFactory(g, E);
11206
+ return g.propertyIndex = d.ix, p.s.setGroupProperty(PropertyInterface("Start", _)), p.e.setGroupProperty(PropertyInterface("End", _)), p.o.setGroupProperty(PropertyInterface("Offset", _)), g.propertyIndex = d.ix, g.propertyGroup = E, Object.defineProperties(g, {
11207
11207
  start: {
11208
11208
  get: ExpressionPropertyInterface(p.s)
11209
11209
  },
@@ -11216,14 +11216,14 @@ function requireLottie() {
11216
11216
  _name: {
11217
11217
  value: d.nm
11218
11218
  }
11219
- }), y.mn = d.mn, y;
11219
+ }), g.mn = d.mn, g;
11220
11220
  }
11221
11221
  function l(d, p, E) {
11222
- function y(g) {
11223
- return d.a.ix === g || g === "Anchor Point" ? y.anchorPoint : d.o.ix === g || g === "Opacity" ? y.opacity : d.p.ix === g || g === "Position" ? y.position : d.r.ix === g || g === "Rotation" || g === "ADBE Vector Rotation" ? y.rotation : d.s.ix === g || g === "Scale" ? y.scale : d.sk && d.sk.ix === g || g === "Skew" ? y.skew : d.sa && d.sa.ix === g || g === "Skew Axis" ? y.skewAxis : null;
11222
+ function g(y) {
11223
+ return d.a.ix === y || y === "Anchor Point" ? g.anchorPoint : d.o.ix === y || y === "Opacity" ? g.opacity : d.p.ix === y || y === "Position" ? g.position : d.r.ix === y || y === "Rotation" || y === "ADBE Vector Rotation" ? g.rotation : d.s.ix === y || y === "Scale" ? g.scale : d.sk && d.sk.ix === y || y === "Skew" ? g.skew : d.sa && d.sa.ix === y || y === "Skew Axis" ? g.skewAxis : null;
11224
11224
  }
11225
- var _ = propertyGroupFactory(y, E);
11226
- return p.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", _)), p.transform.mProps.p.setGroupProperty(PropertyInterface("Position", _)), p.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", _)), p.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", _)), p.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", _)), p.transform.mProps.sk && (p.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", _)), p.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", _))), p.transform.op.setGroupProperty(PropertyInterface("Opacity", _)), Object.defineProperties(y, {
11225
+ var _ = propertyGroupFactory(g, E);
11226
+ return p.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", _)), p.transform.mProps.p.setGroupProperty(PropertyInterface("Position", _)), p.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", _)), p.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", _)), p.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", _)), p.transform.mProps.sk && (p.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", _)), p.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", _))), p.transform.op.setGroupProperty(PropertyInterface("Opacity", _)), Object.defineProperties(g, {
11227
11227
  opacity: {
11228
11228
  get: ExpressionPropertyInterface(p.transform.mProps.o)
11229
11229
  },
@@ -11248,126 +11248,126 @@ function requireLottie() {
11248
11248
  _name: {
11249
11249
  value: d.nm
11250
11250
  }
11251
- }), y.ty = "tr", y.mn = d.mn, y.propertyGroup = E, y;
11251
+ }), g.ty = "tr", g.mn = d.mn, g.propertyGroup = E, g;
11252
11252
  }
11253
11253
  function f(d, p, E) {
11254
- function y(S) {
11255
- return d.p.ix === S ? y.position : d.s.ix === S ? y.size : null;
11254
+ function g(S) {
11255
+ return d.p.ix === S ? g.position : d.s.ix === S ? g.size : null;
11256
11256
  }
11257
- var _ = propertyGroupFactory(y, E);
11258
- y.propertyIndex = d.ix;
11259
- var g = p.sh.ty === "tm" ? p.sh.prop : p.sh;
11260
- return g.s.setGroupProperty(PropertyInterface("Size", _)), g.p.setGroupProperty(PropertyInterface("Position", _)), Object.defineProperties(y, {
11257
+ var _ = propertyGroupFactory(g, E);
11258
+ g.propertyIndex = d.ix;
11259
+ var y = p.sh.ty === "tm" ? p.sh.prop : p.sh;
11260
+ return y.s.setGroupProperty(PropertyInterface("Size", _)), y.p.setGroupProperty(PropertyInterface("Position", _)), Object.defineProperties(g, {
11261
11261
  size: {
11262
- get: ExpressionPropertyInterface(g.s)
11262
+ get: ExpressionPropertyInterface(y.s)
11263
11263
  },
11264
11264
  position: {
11265
- get: ExpressionPropertyInterface(g.p)
11265
+ get: ExpressionPropertyInterface(y.p)
11266
11266
  },
11267
11267
  _name: {
11268
11268
  value: d.nm
11269
11269
  }
11270
- }), y.mn = d.mn, y;
11270
+ }), g.mn = d.mn, g;
11271
11271
  }
11272
11272
  function c(d, p, E) {
11273
- function y(S) {
11274
- return d.p.ix === S ? y.position : d.r.ix === S ? y.rotation : d.pt.ix === S ? y.points : d.or.ix === S || S === "ADBE Vector Star Outer Radius" ? y.outerRadius : d.os.ix === S ? y.outerRoundness : d.ir && (d.ir.ix === S || S === "ADBE Vector Star Inner Radius") ? y.innerRadius : d.is && d.is.ix === S ? y.innerRoundness : null;
11273
+ function g(S) {
11274
+ return d.p.ix === S ? g.position : d.r.ix === S ? g.rotation : d.pt.ix === S ? g.points : d.or.ix === S || S === "ADBE Vector Star Outer Radius" ? g.outerRadius : d.os.ix === S ? g.outerRoundness : d.ir && (d.ir.ix === S || S === "ADBE Vector Star Inner Radius") ? g.innerRadius : d.is && d.is.ix === S ? g.innerRoundness : null;
11275
11275
  }
11276
- var _ = propertyGroupFactory(y, E), g = p.sh.ty === "tm" ? p.sh.prop : p.sh;
11277
- return y.propertyIndex = d.ix, g.or.setGroupProperty(PropertyInterface("Outer Radius", _)), g.os.setGroupProperty(PropertyInterface("Outer Roundness", _)), g.pt.setGroupProperty(PropertyInterface("Points", _)), g.p.setGroupProperty(PropertyInterface("Position", _)), g.r.setGroupProperty(PropertyInterface("Rotation", _)), d.ir && (g.ir.setGroupProperty(PropertyInterface("Inner Radius", _)), g.is.setGroupProperty(PropertyInterface("Inner Roundness", _))), Object.defineProperties(y, {
11276
+ var _ = propertyGroupFactory(g, E), y = p.sh.ty === "tm" ? p.sh.prop : p.sh;
11277
+ return g.propertyIndex = d.ix, y.or.setGroupProperty(PropertyInterface("Outer Radius", _)), y.os.setGroupProperty(PropertyInterface("Outer Roundness", _)), y.pt.setGroupProperty(PropertyInterface("Points", _)), y.p.setGroupProperty(PropertyInterface("Position", _)), y.r.setGroupProperty(PropertyInterface("Rotation", _)), d.ir && (y.ir.setGroupProperty(PropertyInterface("Inner Radius", _)), y.is.setGroupProperty(PropertyInterface("Inner Roundness", _))), Object.defineProperties(g, {
11278
11278
  position: {
11279
- get: ExpressionPropertyInterface(g.p)
11279
+ get: ExpressionPropertyInterface(y.p)
11280
11280
  },
11281
11281
  rotation: {
11282
- get: ExpressionPropertyInterface(g.r)
11282
+ get: ExpressionPropertyInterface(y.r)
11283
11283
  },
11284
11284
  points: {
11285
- get: ExpressionPropertyInterface(g.pt)
11285
+ get: ExpressionPropertyInterface(y.pt)
11286
11286
  },
11287
11287
  outerRadius: {
11288
- get: ExpressionPropertyInterface(g.or)
11288
+ get: ExpressionPropertyInterface(y.or)
11289
11289
  },
11290
11290
  outerRoundness: {
11291
- get: ExpressionPropertyInterface(g.os)
11291
+ get: ExpressionPropertyInterface(y.os)
11292
11292
  },
11293
11293
  innerRadius: {
11294
- get: ExpressionPropertyInterface(g.ir)
11294
+ get: ExpressionPropertyInterface(y.ir)
11295
11295
  },
11296
11296
  innerRoundness: {
11297
- get: ExpressionPropertyInterface(g.is)
11297
+ get: ExpressionPropertyInterface(y.is)
11298
11298
  },
11299
11299
  _name: {
11300
11300
  value: d.nm
11301
11301
  }
11302
- }), y.mn = d.mn, y;
11302
+ }), g.mn = d.mn, g;
11303
11303
  }
11304
11304
  function m(d, p, E) {
11305
- function y(S) {
11306
- return d.p.ix === S ? y.position : d.r.ix === S ? y.roundness : d.s.ix === S || S === "Size" || S === "ADBE Vector Rect Size" ? y.size : null;
11305
+ function g(S) {
11306
+ return d.p.ix === S ? g.position : d.r.ix === S ? g.roundness : d.s.ix === S || S === "Size" || S === "ADBE Vector Rect Size" ? g.size : null;
11307
11307
  }
11308
- var _ = propertyGroupFactory(y, E), g = p.sh.ty === "tm" ? p.sh.prop : p.sh;
11309
- return y.propertyIndex = d.ix, g.p.setGroupProperty(PropertyInterface("Position", _)), g.s.setGroupProperty(PropertyInterface("Size", _)), g.r.setGroupProperty(PropertyInterface("Rotation", _)), Object.defineProperties(y, {
11308
+ var _ = propertyGroupFactory(g, E), y = p.sh.ty === "tm" ? p.sh.prop : p.sh;
11309
+ return g.propertyIndex = d.ix, y.p.setGroupProperty(PropertyInterface("Position", _)), y.s.setGroupProperty(PropertyInterface("Size", _)), y.r.setGroupProperty(PropertyInterface("Rotation", _)), Object.defineProperties(g, {
11310
11310
  position: {
11311
- get: ExpressionPropertyInterface(g.p)
11311
+ get: ExpressionPropertyInterface(y.p)
11312
11312
  },
11313
11313
  roundness: {
11314
- get: ExpressionPropertyInterface(g.r)
11314
+ get: ExpressionPropertyInterface(y.r)
11315
11315
  },
11316
11316
  size: {
11317
- get: ExpressionPropertyInterface(g.s)
11317
+ get: ExpressionPropertyInterface(y.s)
11318
11318
  },
11319
11319
  _name: {
11320
11320
  value: d.nm
11321
11321
  }
11322
- }), y.mn = d.mn, y;
11322
+ }), g.mn = d.mn, g;
11323
11323
  }
11324
11324
  function u(d, p, E) {
11325
- function y(S) {
11326
- return d.r.ix === S || S === "Round Corners 1" ? y.radius : null;
11325
+ function g(S) {
11326
+ return d.r.ix === S || S === "Round Corners 1" ? g.radius : null;
11327
11327
  }
11328
- var _ = propertyGroupFactory(y, E), g = p;
11329
- return y.propertyIndex = d.ix, g.rd.setGroupProperty(PropertyInterface("Radius", _)), Object.defineProperties(y, {
11328
+ var _ = propertyGroupFactory(g, E), y = p;
11329
+ return g.propertyIndex = d.ix, y.rd.setGroupProperty(PropertyInterface("Radius", _)), Object.defineProperties(g, {
11330
11330
  radius: {
11331
- get: ExpressionPropertyInterface(g.rd)
11331
+ get: ExpressionPropertyInterface(y.rd)
11332
11332
  },
11333
11333
  _name: {
11334
11334
  value: d.nm
11335
11335
  }
11336
- }), y.mn = d.mn, y;
11336
+ }), g.mn = d.mn, g;
11337
11337
  }
11338
11338
  function x(d, p, E) {
11339
- function y(S) {
11340
- return d.c.ix === S || S === "Copies" ? y.copies : d.o.ix === S || S === "Offset" ? y.offset : null;
11339
+ function g(S) {
11340
+ return d.c.ix === S || S === "Copies" ? g.copies : d.o.ix === S || S === "Offset" ? g.offset : null;
11341
11341
  }
11342
- var _ = propertyGroupFactory(y, E), g = p;
11343
- return y.propertyIndex = d.ix, g.c.setGroupProperty(PropertyInterface("Copies", _)), g.o.setGroupProperty(PropertyInterface("Offset", _)), Object.defineProperties(y, {
11342
+ var _ = propertyGroupFactory(g, E), y = p;
11343
+ return g.propertyIndex = d.ix, y.c.setGroupProperty(PropertyInterface("Copies", _)), y.o.setGroupProperty(PropertyInterface("Offset", _)), Object.defineProperties(g, {
11344
11344
  copies: {
11345
- get: ExpressionPropertyInterface(g.c)
11345
+ get: ExpressionPropertyInterface(y.c)
11346
11346
  },
11347
11347
  offset: {
11348
- get: ExpressionPropertyInterface(g.o)
11348
+ get: ExpressionPropertyInterface(y.o)
11349
11349
  },
11350
11350
  _name: {
11351
11351
  value: d.nm
11352
11352
  }
11353
- }), y.mn = d.mn, y;
11353
+ }), g.mn = d.mn, g;
11354
11354
  }
11355
11355
  return function(d, p, E) {
11356
- var y;
11356
+ var g;
11357
11357
  function _(S) {
11358
11358
  if (typeof S == "number")
11359
- return S = S === void 0 ? 1 : S, S === 0 ? E : y[S - 1];
11360
- for (var C = 0, T = y.length; C < T; ) {
11361
- if (y[C]._name === S)
11362
- return y[C];
11359
+ return S = S === void 0 ? 1 : S, S === 0 ? E : g[S - 1];
11360
+ for (var C = 0, T = g.length; C < T; ) {
11361
+ if (g[C]._name === S)
11362
+ return g[C];
11363
11363
  C += 1;
11364
11364
  }
11365
11365
  return null;
11366
11366
  }
11367
- function g() {
11367
+ function y() {
11368
11368
  return E;
11369
11369
  }
11370
- return _.propertyGroup = propertyGroupFactory(_, g), y = e(d, p, _.propertyGroup), _.numProperties = y.length, _._name = "Contents", _;
11370
+ return _.propertyGroup = propertyGroupFactory(_, y), g = e(d, p, _.propertyGroup), _.numProperties = g.length, _._name = "Contents", _;
11371
11371
  };
11372
11372
  }(), TextExpressionInterface = /* @__PURE__ */ function() {
11373
11373
  return function(e) {
@@ -11494,18 +11494,18 @@ function requireLottie() {
11494
11494
  if (!this.k || !this.keyframes)
11495
11495
  return this.pv;
11496
11496
  u = u ? u.toLowerCase() : "";
11497
- var p = this.comp.renderedFrame, E = this.keyframes, y = E[E.length - 1].t;
11498
- if (p <= y)
11497
+ var p = this.comp.renderedFrame, E = this.keyframes, g = E[E.length - 1].t;
11498
+ if (p <= g)
11499
11499
  return this.pv;
11500
- var _, g;
11501
- d ? (x ? _ = Math.abs(y - this.elem.comp.globalData.frameRate * x) : _ = Math.max(0, y - this.elem.data.ip), g = y - _) : ((!x || x > E.length - 1) && (x = E.length - 1), g = E[E.length - 1 - x].t, _ = y - g);
11500
+ var _, y;
11501
+ d ? (x ? _ = Math.abs(g - this.elem.comp.globalData.frameRate * x) : _ = Math.max(0, g - this.elem.data.ip), y = g - _) : ((!x || x > E.length - 1) && (x = E.length - 1), y = E[E.length - 1 - x].t, _ = g - y);
11502
11502
  var S, C, T;
11503
11503
  if (u === "pingpong") {
11504
- var A = Math.floor((p - g) / _);
11504
+ var A = Math.floor((p - y) / _);
11505
11505
  if (A % 2 !== 0)
11506
- return this.getValueAtTime((_ - (p - g) % _ + g) / this.comp.globalData.frameRate, 0);
11506
+ return this.getValueAtTime((_ - (p - y) % _ + y) / this.comp.globalData.frameRate, 0);
11507
11507
  } else if (u === "offset") {
11508
- var R = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), I = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime(((p - g) % _ + g) / this.comp.globalData.frameRate, 0), X = Math.floor((p - g) / _);
11508
+ var R = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), I = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime(((p - y) % _ + y) / this.comp.globalData.frameRate, 0), X = Math.floor((p - y) / _);
11509
11509
  if (this.pv.length) {
11510
11510
  for (T = new Array(R.length), C = T.length, S = 0; S < C; S += 1)
11511
11511
  T[S] = (I[S] - R[S]) * X + Y[S];
@@ -11513,32 +11513,32 @@ function requireLottie() {
11513
11513
  }
11514
11514
  return (I - R) * X + Y;
11515
11515
  } else if (u === "continue") {
11516
- var W = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), K = this.getValueAtTime((y - 1e-3) / this.comp.globalData.frameRate, 0);
11516
+ var W = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), K = this.getValueAtTime((g - 1e-3) / this.comp.globalData.frameRate, 0);
11517
11517
  if (this.pv.length) {
11518
11518
  for (T = new Array(W.length), C = T.length, S = 0; S < C; S += 1)
11519
- T[S] = W[S] + (W[S] - K[S]) * ((p - y) / this.comp.globalData.frameRate) / 5e-4;
11519
+ T[S] = W[S] + (W[S] - K[S]) * ((p - g) / this.comp.globalData.frameRate) / 5e-4;
11520
11520
  return T;
11521
11521
  }
11522
- return W + (W - K) * ((p - y) / 1e-3);
11522
+ return W + (W - K) * ((p - g) / 1e-3);
11523
11523
  }
11524
- return this.getValueAtTime(((p - g) % _ + g) / this.comp.globalData.frameRate, 0);
11524
+ return this.getValueAtTime(((p - y) % _ + y) / this.comp.globalData.frameRate, 0);
11525
11525
  }
11526
11526
  function t(u, x, d) {
11527
11527
  if (!this.k)
11528
11528
  return this.pv;
11529
11529
  u = u ? u.toLowerCase() : "";
11530
- var p = this.comp.renderedFrame, E = this.keyframes, y = E[0].t;
11531
- if (p >= y)
11530
+ var p = this.comp.renderedFrame, E = this.keyframes, g = E[0].t;
11531
+ if (p >= g)
11532
11532
  return this.pv;
11533
- var _, g;
11534
- d ? (x ? _ = Math.abs(this.elem.comp.globalData.frameRate * x) : _ = Math.max(0, this.elem.data.op - y), g = y + _) : ((!x || x > E.length - 1) && (x = E.length - 1), g = E[x].t, _ = g - y);
11533
+ var _, y;
11534
+ d ? (x ? _ = Math.abs(this.elem.comp.globalData.frameRate * x) : _ = Math.max(0, this.elem.data.op - g), y = g + _) : ((!x || x > E.length - 1) && (x = E.length - 1), y = E[x].t, _ = y - g);
11535
11535
  var S, C, T;
11536
11536
  if (u === "pingpong") {
11537
- var A = Math.floor((y - p) / _);
11537
+ var A = Math.floor((g - p) / _);
11538
11538
  if (A % 2 === 0)
11539
- return this.getValueAtTime(((y - p) % _ + y) / this.comp.globalData.frameRate, 0);
11539
+ return this.getValueAtTime(((g - p) % _ + g) / this.comp.globalData.frameRate, 0);
11540
11540
  } else if (u === "offset") {
11541
- var R = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), I = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime((_ - (y - p) % _ + y) / this.comp.globalData.frameRate, 0), X = Math.floor((y - p) / _) + 1;
11541
+ var R = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), I = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime((_ - (g - p) % _ + g) / this.comp.globalData.frameRate, 0), X = Math.floor((g - p) / _) + 1;
11542
11542
  if (this.pv.length) {
11543
11543
  for (T = new Array(R.length), C = T.length, S = 0; S < C; S += 1)
11544
11544
  T[S] = Y[S] - (I[S] - R[S]) * X;
@@ -11546,34 +11546,34 @@ function requireLottie() {
11546
11546
  }
11547
11547
  return Y - (I - R) * X;
11548
11548
  } else if (u === "continue") {
11549
- var W = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), K = this.getValueAtTime((y + 1e-3) / this.comp.globalData.frameRate, 0);
11549
+ var W = this.getValueAtTime(g / this.comp.globalData.frameRate, 0), K = this.getValueAtTime((g + 1e-3) / this.comp.globalData.frameRate, 0);
11550
11550
  if (this.pv.length) {
11551
11551
  for (T = new Array(W.length), C = T.length, S = 0; S < C; S += 1)
11552
- T[S] = W[S] + (W[S] - K[S]) * (y - p) / 1e-3;
11552
+ T[S] = W[S] + (W[S] - K[S]) * (g - p) / 1e-3;
11553
11553
  return T;
11554
11554
  }
11555
- return W + (W - K) * (y - p) / 1e-3;
11555
+ return W + (W - K) * (g - p) / 1e-3;
11556
11556
  }
11557
- return this.getValueAtTime((_ - ((y - p) % _ + y)) / this.comp.globalData.frameRate, 0);
11557
+ return this.getValueAtTime((_ - ((g - p) % _ + g)) / this.comp.globalData.frameRate, 0);
11558
11558
  }
11559
11559
  function r(u, x) {
11560
11560
  if (!this.k)
11561
11561
  return this.pv;
11562
11562
  if (u = (u || 0.4) * 0.5, x = Math.floor(x || 5), x <= 1)
11563
11563
  return this.pv;
11564
- var d = this.comp.renderedFrame / this.comp.globalData.frameRate, p = d - u, E = d + u, y = x > 1 ? (E - p) / (x - 1) : 1, _ = 0, g = 0, S;
11564
+ var d = this.comp.renderedFrame / this.comp.globalData.frameRate, p = d - u, E = d + u, g = x > 1 ? (E - p) / (x - 1) : 1, _ = 0, y = 0, S;
11565
11565
  this.pv.length ? S = createTypedArray("float32", this.pv.length) : S = 0;
11566
11566
  for (var C; _ < x; ) {
11567
- if (C = this.getValueAtTime(p + _ * y), this.pv.length)
11568
- for (g = 0; g < this.pv.length; g += 1)
11569
- S[g] += C[g];
11567
+ if (C = this.getValueAtTime(p + _ * g), this.pv.length)
11568
+ for (y = 0; y < this.pv.length; y += 1)
11569
+ S[y] += C[y];
11570
11570
  else
11571
11571
  S += C;
11572
11572
  _ += 1;
11573
11573
  }
11574
11574
  if (this.pv.length)
11575
- for (g = 0; g < this.pv.length; g += 1)
11576
- S[g] /= x;
11575
+ for (y = 0; y < this.pv.length; y += 1)
11576
+ S[y] /= x;
11577
11577
  else
11578
11578
  S /= x;
11579
11579
  return S;
@@ -11592,15 +11592,15 @@ function requireLottie() {
11592
11592
  x.scale(p[0] * this.s.mult, p[1] * this.s.mult, p[2] * this.s.mult);
11593
11593
  }
11594
11594
  if (this.sk && this.appliedTransformations < 3) {
11595
- var E = this.sk.getValueAtTime(u), y = this.sa.getValueAtTime(u);
11596
- x.skewFromAxis(-E * this.sk.mult, y * this.sa.mult);
11595
+ var E = this.sk.getValueAtTime(u), g = this.sa.getValueAtTime(u);
11596
+ x.skewFromAxis(-E * this.sk.mult, g * this.sa.mult);
11597
11597
  }
11598
11598
  if (this.r && this.appliedTransformations < 4) {
11599
11599
  var _ = this.r.getValueAtTime(u);
11600
11600
  x.rotate(-_ * this.r.mult);
11601
11601
  } else if (!this.r && this.appliedTransformations < 4) {
11602
- var g = this.rz.getValueAtTime(u), S = this.ry.getValueAtTime(u), C = this.rx.getValueAtTime(u), T = this.or.getValueAtTime(u);
11603
- x.rotateZ(-g * this.rz.mult).rotateY(S * this.ry.mult).rotateX(C * this.rx.mult).rotateZ(-T[2] * this.or.mult).rotateY(T[1] * this.or.mult).rotateX(T[0] * this.or.mult);
11602
+ var y = this.rz.getValueAtTime(u), S = this.ry.getValueAtTime(u), C = this.rx.getValueAtTime(u), T = this.or.getValueAtTime(u);
11603
+ x.rotateZ(-y * this.rz.mult).rotateY(S * this.ry.mult).rotateX(C * this.rx.mult).rotateZ(-T[2] * this.or.mult).rotateY(T[1] * this.or.mult).rotateX(T[0] * this.or.mult);
11604
11604
  }
11605
11605
  if (this.data.p && this.data.p.s) {
11606
11606
  var A = this.px.getValueAtTime(u), R = this.py.getValueAtTime(u);
@@ -11625,14 +11625,14 @@ function requireLottie() {
11625
11625
  };
11626
11626
  var a = PropertyFactory.getProp;
11627
11627
  PropertyFactory.getProp = function(u, x, d, p, E) {
11628
- var y = a(u, x, d, p, E);
11629
- y.kf ? y.getValueAtTime = expressionHelpers.getValueAtTime.bind(y) : y.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(y), y.setGroupProperty = expressionHelpers.setGroupProperty, y.loopOut = e, y.loopIn = t, y.smooth = r, y.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(y), y.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(y), y.numKeys = x.a === 1 ? x.k.length : 0, y.propertyIndex = x.ix;
11628
+ var g = a(u, x, d, p, E);
11629
+ g.kf ? g.getValueAtTime = expressionHelpers.getValueAtTime.bind(g) : g.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(g), g.setGroupProperty = expressionHelpers.setGroupProperty, g.loopOut = e, g.loopIn = t, g.smooth = r, g.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(g), g.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(g), g.numKeys = x.a === 1 ? x.k.length : 0, g.propertyIndex = x.ix;
11630
11630
  var _ = 0;
11631
- return d !== 0 && (_ = createTypedArray("float32", x.a === 1 ? x.k[0].s.length : x.k.length)), y._cachingAtTime = {
11631
+ return d !== 0 && (_ = createTypedArray("float32", x.a === 1 ? x.k[0].s.length : x.k.length)), g._cachingAtTime = {
11632
11632
  lastFrame: initialDefaultFrame,
11633
11633
  lastIndex: 0,
11634
11634
  value: _
11635
- }, expressionHelpers.searchExpressions(u, x, y), y.k && E.addDynamicProperty(y), y;
11635
+ }, expressionHelpers.searchExpressions(u, x, g), g.k && E.addDynamicProperty(g), g;
11636
11636
  };
11637
11637
  function o(u) {
11638
11638
  return this._cachingAtTime || (this._cachingAtTime = {
@@ -11649,9 +11649,9 @@ function requireLottie() {
11649
11649
  this.k && this.getValue();
11650
11650
  var p = this.v;
11651
11651
  d !== void 0 && (p = this.getValueAtTime(d, 0));
11652
- var E, y = p._length, _ = p[x], g = p.v, S = createSizedArray(y);
11653
- for (E = 0; E < y; E += 1)
11654
- x === "i" || x === "o" ? S[E] = [_[E][0] - g[E][0], _[E][1] - g[E][1]] : S[E] = [_[E][0], _[E][1]];
11652
+ var E, g = p._length, _ = p[x], y = p.v, S = createSizedArray(g);
11653
+ for (E = 0; E < g; E += 1)
11654
+ x === "i" || x === "o" ? S[E] = [_[E][0] - y[E][0], _[E][1] - y[E][1]] : S[E] = [_[E][0], _[E][1]];
11655
11655
  return S;
11656
11656
  },
11657
11657
  points: function(x) {
@@ -11669,23 +11669,23 @@ function requireLottie() {
11669
11669
  pointOnPath: function(x, d) {
11670
11670
  var p = this.v;
11671
11671
  d !== void 0 && (p = this.getValueAtTime(d, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(p));
11672
- for (var E = this._segmentsLength, y = E.lengths, _ = E.totalLength * x, g = 0, S = y.length, C = 0, T; g < S; ) {
11673
- if (C + y[g].addedLength > _) {
11674
- var A = g, R = p.c && g === S - 1 ? 0 : g + 1, I = (_ - C) / y[g].addedLength;
11675
- T = bez.getPointInSegment(p.v[A], p.v[R], p.o[A], p.i[R], I, y[g]);
11672
+ for (var E = this._segmentsLength, g = E.lengths, _ = E.totalLength * x, y = 0, S = g.length, C = 0, T; y < S; ) {
11673
+ if (C + g[y].addedLength > _) {
11674
+ var A = y, R = p.c && y === S - 1 ? 0 : y + 1, I = (_ - C) / g[y].addedLength;
11675
+ T = bez.getPointInSegment(p.v[A], p.v[R], p.o[A], p.i[R], I, g[y]);
11676
11676
  break;
11677
11677
  } else
11678
- C += y[g].addedLength;
11679
- g += 1;
11678
+ C += g[y].addedLength;
11679
+ y += 1;
11680
11680
  }
11681
11681
  return T || (T = p.c ? [p.v[0][0], p.v[0][1]] : [p.v[p._length - 1][0], p.v[p._length - 1][1]]), T;
11682
11682
  },
11683
11683
  vectorOnPath: function(x, d, p) {
11684
11684
  x == 1 ? x = this.v.c : x == 0 && (x = 0.999);
11685
- var E = this.pointOnPath(x, d), y = this.pointOnPath(x + 1e-3, d), _ = y[0] - E[0], g = y[1] - E[1], S = Math.sqrt(Math.pow(_, 2) + Math.pow(g, 2));
11685
+ var E = this.pointOnPath(x, d), g = this.pointOnPath(x + 1e-3, d), _ = g[0] - E[0], y = g[1] - E[1], S = Math.sqrt(Math.pow(_, 2) + Math.pow(y, 2));
11686
11686
  if (S === 0)
11687
11687
  return [0, 0];
11688
- var C = p === "tangent" ? [_ / S, g / S] : [-g / S, _ / S];
11688
+ var C = p === "tangent" ? [_ / S, y / S] : [-y / S, _ / S];
11689
11689
  return C;
11690
11690
  },
11691
11691
  tangentOnPath: function(x, d) {
@@ -11699,8 +11699,8 @@ function requireLottie() {
11699
11699
  }, extendPrototype([c], l), extendPrototype([c], f), f.prototype.getValueAtTime = o, f.prototype.initiateExpression = ExpressionManager.initiateExpression;
11700
11700
  var m = ShapePropertyFactory.getShapeProp;
11701
11701
  ShapePropertyFactory.getShapeProp = function(u, x, d, p, E) {
11702
- var y = m(u, x, d, p, E);
11703
- return y.propertyIndex = x.ix, y.lock = !1, d === 3 ? expressionHelpers.searchExpressions(u, x.pt, y) : d === 4 && expressionHelpers.searchExpressions(u, x.ks, y), y.k && u.addDynamicProperty(y), y;
11702
+ var g = m(u, x, d, p, E);
11703
+ return g.propertyIndex = x.ix, g.lock = !1, d === 3 ? expressionHelpers.searchExpressions(u, x.pt, g) : d === 4 && expressionHelpers.searchExpressions(u, x.ks, g), g.k && u.addDynamicProperty(g), g;
11704
11704
  };
11705
11705
  }
11706
11706
  function initialize$1() {
@@ -12053,7 +12053,7 @@ function _unsupportedIterableToArray(e, t) {
12053
12053
  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) {
12054
12054
  var i = t.animationData, s = t.loop, n = t.autoplay, a = t.initialSegment, o = t.onComplete, l = t.onLoopComplete, f = t.onEnterFrame, c = t.onSegmentStart, m = t.onConfigReady, u = t.onDataReady, x = t.onDataFailed, d = t.onLoadedImages, p = t.onDOMLoaded, E = t.onDestroy;
12055
12055
  t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
12056
- var y = _objectWithoutProperties(t, _excluded$1), _ = useState(!1), g = _slicedToArray(_, 2), S = g[0], C = g[1], T = useRef(), A = useRef(null), R = function() {
12056
+ var g = _objectWithoutProperties(t, _excluded$1), _ = useState(!1), y = _slicedToArray(_, 2), S = y[0], C = y[1], T = useRef(), A = useRef(null), R = function() {
12057
12057
  var P;
12058
12058
  (P = T.current) === null || P === void 0 || P.play();
12059
12059
  }, I = function() {
@@ -12173,7 +12173,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
12173
12173
  var M = /* @__PURE__ */ React2__default.createElement("div", _objectSpread2({
12174
12174
  style: r,
12175
12175
  ref: A
12176
- }, y));
12176
+ }, g));
12177
12177
  return {
12178
12178
  View: M,
12179
12179
  play: R,
@@ -12212,8 +12212,8 @@ var useInitInteractivity = function e(t) {
12212
12212
  var o = function() {
12213
12213
  var c = null, m = function() {
12214
12214
  var x = getContainerVisibility(a), d = n.find(function(E) {
12215
- var y = E.visibility;
12216
- return y && x >= y[0] && x <= y[1];
12215
+ var g = E.visibility;
12216
+ return g && x >= g[0] && x <= g[1];
12217
12217
  });
12218
12218
  if (d) {
12219
12219
  if (d.type === "seek" && d.visibility && d.frames.length === 2) {
@@ -12229,21 +12229,21 @@ var useInitInteractivity = function e(t) {
12229
12229
  };
12230
12230
  }, l = function() {
12231
12231
  var c = function(d, p) {
12232
- var E = d, y = p;
12233
- if (E !== -1 && y !== -1) {
12234
- var _ = getContainerCursorPosition(a, E, y);
12235
- E = _.x, y = _.y;
12232
+ var E = d, g = p;
12233
+ if (E !== -1 && g !== -1) {
12234
+ var _ = getContainerCursorPosition(a, E, g);
12235
+ E = _.x, g = _.y;
12236
12236
  }
12237
- var g = n.find(function(T) {
12237
+ var y = n.find(function(T) {
12238
12238
  var A = T.position;
12239
- return A && Array.isArray(A.x) && Array.isArray(A.y) ? E >= A.x[0] && E <= A.x[1] && y >= A.y[0] && y <= A.y[1] : A && !Number.isNaN(A.x) && !Number.isNaN(A.y) ? E === A.x && y === A.y : !1;
12239
+ return A && Array.isArray(A.x) && Array.isArray(A.y) ? E >= A.x[0] && E <= A.x[1] && g >= A.y[0] && g <= A.y[1] : A && !Number.isNaN(A.x) && !Number.isNaN(A.y) ? E === A.x && g === A.y : !1;
12240
12240
  });
12241
- if (g) {
12242
- if (g.type === "seek" && g.position && Array.isArray(g.position.x) && Array.isArray(g.position.y) && g.frames.length === 2) {
12243
- var S = (E - g.position.x[0]) / (g.position.x[1] - g.position.x[0]), C = (y - g.position.y[0]) / (g.position.y[1] - g.position.y[0]);
12244
- i.playSegments(g.frames, !0), i.goToAndStop(Math.ceil((S + C) / 2 * (g.frames[1] - g.frames[0])), !0);
12241
+ if (y) {
12242
+ if (y.type === "seek" && y.position && Array.isArray(y.position.x) && Array.isArray(y.position.y) && y.frames.length === 2) {
12243
+ var S = (E - y.position.x[0]) / (y.position.x[1] - y.position.x[0]), C = (g - y.position.y[0]) / (y.position.y[1] - y.position.y[0]);
12244
+ i.playSegments(y.frames, !0), i.goToAndStop(Math.ceil((S + C) / 2 * (y.frames[1] - y.frames[0])), !0);
12245
12245
  }
12246
- g.type === "loop" && i.playSegments(g.frames, !0), g.type === "play" && (i.isPaused && i.resetSegments(!1), i.playSegments(g.frames)), g.type === "stop" && i.goToAndStop(g.frames[0], !0);
12246
+ y.type === "loop" && i.playSegments(y.frames, !0), y.type === "play" && (i.isPaused && i.resetSegments(!1), i.playSegments(y.frames)), y.type === "stop" && i.goToAndStop(y.frames[0], !0);
12247
12247
  }
12248
12248
  }, m = function(d) {
12249
12249
  c(d.clientX, d.clientY);
@@ -12271,7 +12271,7 @@ var useInitInteractivity = function e(t) {
12271
12271
  wrapperRef: o
12272
12272
  }), a;
12273
12273
  }, _excluded = ["style", "interactivity"], Lottie = function e(t) {
12274
- var r, i, s, n = t.style, a = t.interactivity, o = _objectWithoutProperties(t, _excluded), l = useLottie(o, n), f = l.View, c = l.play, m = l.stop, u = l.pause, x = l.setSpeed, d = l.goToAndStop, p = l.goToAndPlay, E = l.setDirection, y = l.playSegments, _ = l.setSubframe, g = l.getDuration, S = l.destroy, C = l.animationContainerRef, T = l.animationLoaded, A = l.animationItem;
12274
+ var r, i, s, n = t.style, a = t.interactivity, o = _objectWithoutProperties(t, _excluded), l = useLottie(o, n), f = l.View, c = l.play, m = l.stop, u = l.pause, x = l.setSpeed, d = l.goToAndStop, p = l.goToAndPlay, E = l.setDirection, g = l.playSegments, _ = l.setSubframe, y = l.getDuration, S = l.destroy, C = l.animationContainerRef, T = l.animationLoaded, A = l.animationItem;
12275
12275
  return useEffect(function() {
12276
12276
  t.lottieRef && (t.lottieRef.current = {
12277
12277
  play: c,
@@ -12281,9 +12281,9 @@ var useInitInteractivity = function e(t) {
12281
12281
  goToAndPlay: p,
12282
12282
  goToAndStop: d,
12283
12283
  setDirection: E,
12284
- playSegments: y,
12284
+ playSegments: g,
12285
12285
  setSubframe: _,
12286
- getDuration: g,
12286
+ getDuration: y,
12287
12287
  destroy: S,
12288
12288
  animationContainerRef: C,
12289
12289
  animationLoaded: T,
@@ -12299,9 +12299,9 @@ var useInitInteractivity = function e(t) {
12299
12299
  goToAndStop: d,
12300
12300
  goToAndPlay: p,
12301
12301
  setDirection: E,
12302
- playSegments: y,
12302
+ playSegments: g,
12303
12303
  setSubframe: _,
12304
- getDuration: g,
12304
+ getDuration: y,
12305
12305
  destroy: S,
12306
12306
  animationContainerRef: C,
12307
12307
  animationLoaded: T,
@@ -12437,12 +12437,12 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12437
12437
  }) => {
12438
12438
  const [x, d] = useState(!1), [p, E] = useState(!1);
12439
12439
  if (!e) return null;
12440
- const y = {
12440
+ const g = {
12441
12441
  left: "flex-start",
12442
12442
  center: "center",
12443
12443
  right: "flex-end"
12444
- }, _ = (g) => {
12445
- d(g), g && E(!1);
12444
+ }, _ = (y) => {
12445
+ d(y), y && E(!1);
12446
12446
  };
12447
12447
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dialog-overlay ${e ? "open" : ""}`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
12448
12448
  "div",
@@ -12478,18 +12478,18 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
12478
12478
  "div",
12479
12479
  {
12480
12480
  className: `dialog-actions ${u.button || ""}`,
12481
- style: { justifyContent: y[n] },
12482
- children: m.map((g, S) => /* @__PURE__ */ jsxRuntimeExports.jsx(
12481
+ style: { justifyContent: g[n] },
12482
+ children: m.map((y, S) => /* @__PURE__ */ jsxRuntimeExports.jsx(
12483
12483
  CEButton,
12484
12484
  {
12485
12485
  onClick: () => {
12486
- if (o && !x && !g.bypassCheckbox) {
12486
+ if (o && !x && !y.bypassCheckbox) {
12487
12487
  E(!0);
12488
12488
  return;
12489
12489
  }
12490
- E(!1), g.onClick();
12490
+ E(!1), y.onClick();
12491
12491
  },
12492
- children: g.text
12492
+ children: y.text
12493
12493
  },
12494
12494
  S
12495
12495
  ))
@@ -13471,7 +13471,7 @@ function eval_fmt(e, t, r, i) {
13471
13471
  s[s.length] = { t: "t", v: o }, ++a;
13472
13472
  break;
13473
13473
  }
13474
- var E = 0, y = 0, _;
13474
+ var E = 0, g = 0, _;
13475
13475
  for (a = s.length - 1, l = "t"; a >= 0; --a)
13476
13476
  switch (s[a].t) {
13477
13477
  case "h":
@@ -13479,7 +13479,7 @@ function eval_fmt(e, t, r, i) {
13479
13479
  s[a].t = u, l = "h", E < 1 && (E = 1);
13480
13480
  break;
13481
13481
  case "s":
13482
- (_ = s[a].v.match(/\.0+$/)) && (y = Math.max(y, _[0].length - 1)), E < 3 && (E = 3);
13482
+ (_ = s[a].v.match(/\.0+$/)) && (g = Math.max(g, _[0].length - 1)), E < 3 && (E = 3);
13483
13483
  /* falls through */
13484
13484
  case "d":
13485
13485
  case "y":
@@ -13505,7 +13505,7 @@ function eval_fmt(e, t, r, i) {
13505
13505
  f.u >= 0.5 && (f.u = 0, ++f.S), f.S >= 60 && (f.S = 0, ++f.M);
13506
13506
  break;
13507
13507
  }
13508
- var g = "", S;
13508
+ var y = "", S;
13509
13509
  for (a = 0; a < s.length; ++a)
13510
13510
  switch (s[a].t) {
13511
13511
  case "t":
@@ -13526,21 +13526,21 @@ function eval_fmt(e, t, r, i) {
13526
13526
  case "e":
13527
13527
  case "b":
13528
13528
  case "Z":
13529
- s[a].v = SSF_write_date(s[a].t.charCodeAt(0), s[a].v, f, y), s[a].t = "t";
13529
+ s[a].v = SSF_write_date(s[a].t.charCodeAt(0), s[a].v, f, g), s[a].t = "t";
13530
13530
  break;
13531
13531
  case "n":
13532
13532
  case "?":
13533
13533
  for (S = a + 1; s[S] != null && ((o = s[S].t) === "?" || o === "D" || (o === " " || o === "t") && s[S + 1] != null && (s[S + 1].t === "?" || s[S + 1].t === "t" && s[S + 1].v === "/") || s[a].t === "(" && (o === " " || o === "n" || o === ")") || o === "t" && (s[S].v === "/" || s[S].v === " " && s[S + 1] != null && s[S + 1].t == "?")); )
13534
13534
  s[a].v += s[S].v, s[S] = { v: "", t: ";" }, ++S;
13535
- g += s[a].v, a = S - 1;
13535
+ y += s[a].v, a = S - 1;
13536
13536
  break;
13537
13537
  case "G":
13538
13538
  s[a].t = "t", s[a].v = SSF_general(t, r);
13539
13539
  break;
13540
13540
  }
13541
13541
  var C = "", T, A;
13542
- if (g.length > 0) {
13543
- g.charCodeAt(0) == 40 ? (T = t < 0 && g.charCodeAt(0) === 45 ? -t : t, A = write_num("n", g, T)) : (T = t < 0 && i > 1 ? -t : t, A = write_num("n", g, T), T < 0 && s[0] && s[0].t == "t" && (A = A.substr(1), s[0].v = "-" + s[0].v)), S = A.length - 1;
13542
+ if (y.length > 0) {
13543
+ y.charCodeAt(0) == 40 ? (T = t < 0 && y.charCodeAt(0) === 45 ? -t : t, A = write_num("n", y, T)) : (T = t < 0 && i > 1 ? -t : t, A = write_num("n", y, T), T < 0 && s[0] && s[0].t == "t" && (A = A.substr(1), s[0].v = "-" + s[0].v)), S = A.length - 1;
13544
13544
  var R = s.length;
13545
13545
  for (a = 0; a < s.length; ++a) if (s[a] != null && s[a].t != "t" && s[a].v.indexOf(".") > -1) {
13546
13546
  R = a;
@@ -13714,13 +13714,13 @@ var CRC32 = /* @__PURE__ */ function() {
13714
13714
  for (Y = 1; Y != 16; ++Y) W[Y - 1] = typeof Int32Array < "u" ? X.subarray(Y * 256, Y * 256 + 256) : X.slice(Y * 256, Y * 256 + 256);
13715
13715
  return W;
13716
13716
  }
13717
- var s = i(r), n = s[0], a = s[1], o = s[2], l = s[3], f = s[4], c = s[5], m = s[6], u = s[7], x = s[8], d = s[9], p = s[10], E = s[11], y = s[12], _ = s[13], g = s[14];
13717
+ var s = i(r), n = s[0], a = s[1], o = s[2], l = s[3], f = s[4], c = s[5], m = s[6], u = s[7], x = s[8], d = s[9], p = s[10], E = s[11], g = s[12], _ = s[13], y = s[14];
13718
13718
  function S(A, R) {
13719
13719
  for (var I = R ^ -1, Y = 0, X = A.length; Y < X; ) I = I >>> 8 ^ r[(I ^ A.charCodeAt(Y++)) & 255];
13720
13720
  return ~I;
13721
13721
  }
13722
13722
  function C(A, R) {
13723
- for (var I = R ^ -1, Y = A.length - 15, X = 0; X < Y; ) I = g[A[X++] ^ I & 255] ^ _[A[X++] ^ I >> 8 & 255] ^ y[A[X++] ^ I >> 16 & 255] ^ E[A[X++] ^ I >>> 24] ^ p[A[X++]] ^ d[A[X++]] ^ x[A[X++]] ^ u[A[X++]] ^ m[A[X++]] ^ c[A[X++]] ^ f[A[X++]] ^ l[A[X++]] ^ o[A[X++]] ^ a[A[X++]] ^ n[A[X++]] ^ r[A[X++]];
13723
+ for (var I = R ^ -1, Y = A.length - 15, X = 0; X < Y; ) I = y[A[X++] ^ I & 255] ^ _[A[X++] ^ I >> 8 & 255] ^ g[A[X++] ^ I >> 16 & 255] ^ E[A[X++] ^ I >>> 24] ^ p[A[X++]] ^ d[A[X++]] ^ x[A[X++]] ^ u[A[X++]] ^ m[A[X++]] ^ c[A[X++]] ^ f[A[X++]] ^ l[A[X++]] ^ o[A[X++]] ^ a[A[X++]] ^ n[A[X++]] ^ r[A[X++]];
13724
13724
  for (Y += 15; X < Y; ) I = I >>> 8 ^ r[(I ^ A[X++]) & 255];
13725
13725
  return ~I;
13726
13726
  }
@@ -13829,7 +13829,7 @@ var CRC32 = /* @__PURE__ */ function() {
13829
13829
  var Ne = _(be, Q, ee, O);
13830
13830
  Ne[Q].name = "!Directory", U > 0 && ae !== K && (Ne[ae].name = "!MiniFAT"), Ne[ee[0]].name = "!FAT", Ne.fat_addrs = ee, Ne.ssz = O;
13831
13831
  var Oe = {}, We = [], it = [], ut = [];
13832
- g(Q, Ne, be, We, U, Oe, it, ae), d(it, ut, We), We.shift();
13832
+ y(Q, Ne, be, We, U, Oe, it, ae), d(it, ut, We), We.shift();
13833
13833
  var st = {
13834
13834
  FileIndex: it,
13835
13835
  FullPaths: ut
@@ -13893,7 +13893,7 @@ var CRC32 = /* @__PURE__ */ function() {
13893
13893
  E(__readInt32LE(Q, O - 4), V - 1, N, O, U);
13894
13894
  }
13895
13895
  }
13896
- function y(F, V, N, O, U) {
13896
+ function g(F, V, N, O, U) {
13897
13897
  var G = [], Q = [];
13898
13898
  U || (U = []);
13899
13899
  var ae = O - 1, Z = 0, ee = 0;
@@ -13922,7 +13922,7 @@ var CRC32 = /* @__PURE__ */ function() {
13922
13922
  }
13923
13923
  return G;
13924
13924
  }
13925
- function g(F, V, N, O, U, G, Q, ae) {
13925
+ function y(F, V, N, O, U, G, Q, ae) {
13926
13926
  for (var Z = 0, ee = O.length ? 2 : 0, ie = V[F].data, ue = 0, me = 0, _e; ue < ie.length; ue += 128) {
13927
13927
  var de = (
13928
13928
  /*::(*/
@@ -13943,7 +13943,7 @@ var CRC32 = /* @__PURE__ */ function() {
13943
13943
  }, be = de.read_shift(2) + de.read_shift(2) + de.read_shift(2) + de.read_shift(2);
13944
13944
  be !== 0 && (ve.ct = S(de, de.l - 8));
13945
13945
  var Ne = de.read_shift(2) + de.read_shift(2) + de.read_shift(2) + de.read_shift(2);
13946
- Ne !== 0 && (ve.mt = S(de, de.l - 8)), ve.start = de.read_shift(4, "i"), ve.size = de.read_shift(4, "i"), ve.size < 0 && ve.start < 0 && (ve.size = ve.type = 0, ve.start = K, ve.name = ""), ve.type === 5 ? (Z = ve.start, U > 0 && Z !== K && (V[Z].name = "!StreamData")) : ve.size >= 4096 ? (ve.storage = "fat", V[ve.start] === void 0 && (V[ve.start] = y(N, ve.start, V.fat_addrs, V.ssz)), V[ve.start].name = ve.name, ve.content = V[ve.start].data.slice(0, ve.size)) : (ve.storage = "minifat", ve.size < 0 ? ve.size = 0 : Z !== K && ve.start !== K && V[Z] && (ve.content = p(ve, V[Z].data, (V[ae] || {}).data))), ve.content && prep_blob(ve.content, 0), G[_e] = ve, Q.push(ve);
13946
+ Ne !== 0 && (ve.mt = S(de, de.l - 8)), ve.start = de.read_shift(4, "i"), ve.size = de.read_shift(4, "i"), ve.size < 0 && ve.start < 0 && (ve.size = ve.type = 0, ve.start = K, ve.name = ""), ve.type === 5 ? (Z = ve.start, U > 0 && Z !== K && (V[Z].name = "!StreamData")) : ve.size >= 4096 ? (ve.storage = "fat", V[ve.start] === void 0 && (V[ve.start] = g(N, ve.start, V.fat_addrs, V.ssz)), V[ve.start].name = ve.name, ve.content = V[ve.start].data.slice(0, ve.size)) : (ve.storage = "minifat", ve.size < 0 ? ve.size = 0 : Z !== K && ve.start !== K && V[Z] && (ve.content = p(ve, V[Z].data, (V[ae] || {}).data))), ve.content && prep_blob(ve.content, 0), G[_e] = ve, Q.push(ve);
13947
13947
  }
13948
13948
  }
13949
13949
  function S(F, V) {
@@ -16431,9 +16431,9 @@ function write_PropertySet(e, t, r) {
16431
16431
  }
16432
16432
  n.push(l), f = new_buf(8), f.write_shift(4, t ? x : 2 + o), s.push(f), a += 8 + l.length;
16433
16433
  }
16434
- var y = 8 * (n.length + 1);
16434
+ var g = 8 * (n.length + 1);
16435
16435
  for (o = 0; o < n.length; ++o)
16436
- s[o].write_shift(4, y), y += n[o].length;
16436
+ s[o].write_shift(4, g), g += n[o].length;
16437
16437
  return i.write_shift(4, a), i.write_shift(4, n.length), bconcat([i].concat(s).concat(n));
16438
16438
  }
16439
16439
  function write_PropertySetStream(e, t, r, i, s, n) {
@@ -16957,10 +16957,10 @@ var DBF = /* @__PURE__ */ function() {
16957
16957
  }
16958
16958
  var p = 0, E = 521;
16959
16959
  m == 2 && (p = c.read_shift(2)), c.l += 3, m != 2 && (p = c.read_shift(4)), p > 1048576 && (p = 1e6), m != 2 && (E = c.read_shift(2));
16960
- var y = c.read_shift(2), _ = l.codepage || 1252;
16960
+ var g = c.read_shift(2), _ = l.codepage || 1252;
16961
16961
  m != 2 && (c.l += 16, c.read_shift(1), c[c.l] !== 0 && (_ = e[c[c.l]]), c.l += 1, c.l += 2), d && (c.l += 36);
16962
- for (var g = [], S = {}, C = Math.min(c.length, m == 2 ? 521 : E - 10 - (x ? 264 : 0)), T = d ? 32 : 11; c.l < C && c[c.l] != 13; )
16963
- switch (S = {}, S.name = $cptable.utils.decode(_, c.slice(c.l, c.l + T)).replace(/[\u0000\r\n].*$/g, ""), c.l += T, S.type = String.fromCharCode(c.read_shift(1)), m != 2 && !d && (S.offset = c.read_shift(4)), S.len = c.read_shift(1), m == 2 && (S.offset = c.read_shift(2)), S.dec = c.read_shift(1), S.name.length && g.push(S), m != 2 && (c.l += d ? 13 : 14), S.type) {
16962
+ for (var y = [], S = {}, C = Math.min(c.length, m == 2 ? 521 : E - 10 - (x ? 264 : 0)), T = d ? 32 : 11; c.l < C && c[c.l] != 13; )
16963
+ switch (S = {}, S.name = $cptable.utils.decode(_, c.slice(c.l, c.l + T)).replace(/[\u0000\r\n].*$/g, ""), c.l += T, S.type = String.fromCharCode(c.read_shift(1)), m != 2 && !d && (S.offset = c.read_shift(4)), S.len = c.read_shift(1), m == 2 && (S.offset = c.read_shift(2)), S.dec = c.read_shift(1), S.name.length && y.push(S), m != 2 && (c.l += d ? 13 : 14), S.type) {
16964
16964
  case "B":
16965
16965
  (!x || S.len != 8) && l.WTF && console.log("Skipping " + S.name + ":" + S.type);
16966
16966
  break;
@@ -17001,17 +17001,17 @@ var DBF = /* @__PURE__ */ function() {
17001
17001
  if (c[c.l] !== 13 && (c.l = E - 1), c.read_shift(1) !== 13) throw new Error("DBF Terminator not found " + c.l + " " + c[c.l]);
17002
17002
  c.l = E;
17003
17003
  var A = 0, R = 0;
17004
- for (f[0] = [], R = 0; R != g.length; ++R) f[0][R] = g[R].name;
17004
+ for (f[0] = [], R = 0; R != y.length; ++R) f[0][R] = y[R].name;
17005
17005
  for (; p-- > 0; ) {
17006
17006
  if (c[c.l] === 42) {
17007
- c.l += y;
17007
+ c.l += g;
17008
17008
  continue;
17009
17009
  }
17010
- for (++c.l, f[++A] = [], R = 0, R = 0; R != g.length; ++R) {
17011
- var I = c.slice(c.l, c.l + g[R].len);
17012
- c.l += g[R].len, prep_blob(I, 0);
17010
+ for (++c.l, f[++A] = [], R = 0, R = 0; R != y.length; ++R) {
17011
+ var I = c.slice(c.l, c.l + y[R].len);
17012
+ c.l += y[R].len, prep_blob(I, 0);
17013
17013
  var Y = $cptable.utils.decode(_, I);
17014
- switch (g[R].type) {
17014
+ switch (y[R].type) {
17015
17015
  case "C":
17016
17016
  Y.trim().length && (f[A][R] = Y.replace(/\s+$/, ""));
17017
17017
  break;
@@ -17062,25 +17062,25 @@ var DBF = /* @__PURE__ */ function() {
17062
17062
  f[A][R] = -I.read_shift(-8, "f");
17063
17063
  break;
17064
17064
  case "B":
17065
- if (x && g[R].len == 8) {
17065
+ if (x && y[R].len == 8) {
17066
17066
  f[A][R] = I.read_shift(8, "f");
17067
17067
  break;
17068
17068
  }
17069
17069
  /* falls through */
17070
17070
  case "G":
17071
17071
  case "P":
17072
- I.l += g[R].len;
17072
+ I.l += y[R].len;
17073
17073
  break;
17074
17074
  case "0":
17075
- if (g[R].name === "_NullFlags") break;
17075
+ if (y[R].name === "_NullFlags") break;
17076
17076
  /* falls through */
17077
17077
  default:
17078
- throw new Error("DBF Unsupported data type " + g[R].type);
17078
+ throw new Error("DBF Unsupported data type " + y[R].type);
17079
17079
  }
17080
17080
  }
17081
17081
  }
17082
17082
  if (m != 2 && c.l < c.length && c[c.l++] != 26) throw new Error("DBF EOF Marker missing " + (c.l - 1) + " of " + c.length + " " + c[c.l - 1].toString(16));
17083
- return l && l.sheetRows && (f = f.slice(0, l.sheetRows)), l.DBF = g, f;
17083
+ return l && l.sheetRows && (f = f.slice(0, l.sheetRows)), l.DBF = y, f;
17084
17084
  }
17085
17085
  function i(o, l) {
17086
17086
  var f = l || {};
@@ -17105,14 +17105,14 @@ var DBF = /* @__PURE__ */ function() {
17105
17105
  function a(o, l) {
17106
17106
  var f = l || {};
17107
17107
  if (+f.codepage >= 0 && set_cp(+f.codepage), f.type == "string") throw new Error("Cannot write DBF to JS string");
17108
- var c = buf_array(), m = sheet_to_json(o, { header: 1, raw: !0, cellDates: !0 }), u = m[0], x = m.slice(1), d = o["!cols"] || [], p = 0, E = 0, y = 0, _ = 1;
17108
+ var c = buf_array(), m = sheet_to_json(o, { header: 1, raw: !0, cellDates: !0 }), u = m[0], x = m.slice(1), d = o["!cols"] || [], p = 0, E = 0, g = 0, _ = 1;
17109
17109
  for (p = 0; p < u.length; ++p) {
17110
17110
  if (((d[p] || {}).DBF || {}).name) {
17111
- u[p] = d[p].DBF.name, ++y;
17111
+ u[p] = d[p].DBF.name, ++g;
17112
17112
  continue;
17113
17113
  }
17114
17114
  if (u[p] != null) {
17115
- if (++y, typeof u[p] == "number" && (u[p] = u[p].toString(10)), typeof u[p] != "string") throw new Error("DBF Invalid column name " + u[p] + " |" + typeof u[p] + "|");
17115
+ if (++g, typeof u[p] == "number" && (u[p] = u[p].toString(10)), typeof u[p] != "string") throw new Error("DBF Invalid column name " + u[p] + " |" + typeof u[p] + "|");
17116
17116
  if (u.indexOf(u[p]) !== p) {
17117
17117
  for (E = 0; E < 1024; ++E)
17118
17118
  if (u.indexOf(u[p] + "_" + E) == -1) {
@@ -17122,8 +17122,8 @@ var DBF = /* @__PURE__ */ function() {
17122
17122
  }
17123
17123
  }
17124
17124
  }
17125
- var g = safe_decode_range(o["!ref"]), S = [], C = [], T = [];
17126
- for (p = 0; p <= g.e.c - g.s.c; ++p) {
17125
+ var y = safe_decode_range(o["!ref"]), S = [], C = [], T = [];
17126
+ for (p = 0; p <= y.e.c - y.s.c; ++p) {
17127
17127
  var A = "", R = "", I = 0, Y = [];
17128
17128
  for (E = 0; E < x.length; ++E)
17129
17129
  x[E][p] != null && Y.push(x[E][p]);
@@ -17154,7 +17154,7 @@ var DBF = /* @__PURE__ */ function() {
17154
17154
  I > 250 && (I = 250), R = ((d[p] || {}).DBF || {}).type, R == "C" && d[p].DBF.len > I && (I = d[p].DBF.len), A == "B" && R == "N" && (A = "N", T[p] = d[p].DBF.dec, I = d[p].DBF.len), C[p] = A == "C" || R == "N" ? I : n[A] || 0, _ += C[p], S[p] = A;
17155
17155
  }
17156
17156
  var X = c.next(32);
17157
- for (X.write_shift(4, 318902576), X.write_shift(4, x.length), X.write_shift(2, 296 + 32 * y), X.write_shift(2, _), p = 0; p < 4; ++p) X.write_shift(4, 0);
17157
+ for (X.write_shift(4, 318902576), X.write_shift(4, x.length), X.write_shift(2, 296 + 32 * g), X.write_shift(2, _), p = 0; p < 4; ++p) X.write_shift(4, 0);
17158
17158
  for (X.write_shift(4, 0 | (+t[
17159
17159
  /*::String(*/
17160
17160
  current_ansi
@@ -17179,7 +17179,7 @@ var DBF = /* @__PURE__ */ function() {
17179
17179
  break;
17180
17180
  case "N":
17181
17181
  var L = "0";
17182
- for (typeof x[p][E] == "number" && (L = x[p][E].toFixed(T[E] || 0)), y = 0; y < C[E] - L.length; ++y) q.write_shift(1, 32);
17182
+ for (typeof x[p][E] == "number" && (L = x[p][E].toFixed(T[E] || 0)), g = 0; g < C[E] - L.length; ++g) q.write_shift(1, 32);
17183
17183
  q.write_shift(1, L, "sbcs");
17184
17184
  break;
17185
17185
  case "D":
@@ -17187,7 +17187,7 @@ var DBF = /* @__PURE__ */ function() {
17187
17187
  break;
17188
17188
  case "C":
17189
17189
  var j = String(x[p][E] != null ? x[p][E] : "").slice(0, C[E]);
17190
- for (q.write_shift(1, j, "sbcs"), y = 0; y < C[E] - j.length; ++y) q.write_shift(1, 32);
17190
+ for (q.write_shift(1, j, "sbcs"), g = 0; g < C[E] - j.length; ++g) q.write_shift(1, 32);
17191
17191
  break;
17192
17192
  }
17193
17193
  }
@@ -17316,10 +17316,10 @@ var DBF = /* @__PURE__ */ function() {
17316
17316
  throw new Error("Unrecognized type " + x.type);
17317
17317
  }
17318
17318
  function n(u, x) {
17319
- var d = u.split(/[\n\r]+/), p = -1, E = -1, y = 0, _ = 0, g = [], S = [], C = null, T = {}, A = [], R = [], I = [], Y = 0, X;
17320
- for (+x.codepage >= 0 && set_cp(+x.codepage); y !== d.length; ++y) {
17319
+ var d = u.split(/[\n\r]+/), p = -1, E = -1, g = 0, _ = 0, y = [], S = [], C = null, T = {}, A = [], R = [], I = [], Y = 0, X;
17320
+ for (+x.codepage >= 0 && set_cp(+x.codepage); g !== d.length; ++g) {
17321
17321
  Y = 0;
17322
- var W = d[y].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g, i).replace(t, r), K = W.replace(/;;/g, "\0").split(";").map(function(z) {
17322
+ var W = d[g].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g, i).replace(t, r), K = W.replace(/;;/g, "\0").split(";").map(function(z) {
17323
17323
  return z.replace(/\u0000/g, ";");
17324
17324
  }), ne = K[0], q;
17325
17325
  if (W.length > 0) switch (ne) {
@@ -17351,7 +17351,7 @@ var DBF = /* @__PURE__ */ function() {
17351
17351
  E = parseInt(K[_].slice(1)) - 1, j = !0;
17352
17352
  break;
17353
17353
  case "Y":
17354
- for (p = parseInt(K[_].slice(1)) - 1, j || (E = 0), X = g.length; X <= p; ++X) g[X] = [];
17354
+ for (p = parseInt(K[_].slice(1)) - 1, j || (E = 0), X = y.length; X <= p; ++X) y[X] = [];
17355
17355
  break;
17356
17356
  case "K":
17357
17357
  q = K[_].slice(1), q.charAt(0) === '"' ? q = q.slice(1, q.length - 1) : q === "TRUE" ? q = !0 : q === "FALSE" ? q = !1 : isNaN(fuzzynum(q)) ? isNaN(fuzzydate(q).getDate()) || (q = parseDate(q)) : (q = fuzzynum(q), C !== null && fmt_is_date(C) && (q = numdate(q))), L = !0;
@@ -17359,10 +17359,10 @@ var DBF = /* @__PURE__ */ function() {
17359
17359
  case "E":
17360
17360
  k = !0;
17361
17361
  var P = rc_to_a1(K[_].slice(1), { r: p, c: E });
17362
- g[p][E] = [g[p][E], P];
17362
+ y[p][E] = [y[p][E], P];
17363
17363
  break;
17364
17364
  case "S":
17365
- b = !0, g[p][E] = [g[p][E], "S5S"];
17365
+ b = !0, y[p][E] = [y[p][E], "S5S"];
17366
17366
  break;
17367
17367
  case "G":
17368
17368
  break;
@@ -17376,11 +17376,11 @@ var DBF = /* @__PURE__ */ function() {
17376
17376
  default:
17377
17377
  if (x && x.WTF) throw new Error("SYLK bad record " + W);
17378
17378
  }
17379
- if (L && (g[p][E] && g[p][E].length == 2 ? g[p][E][0] = q : g[p][E] = q, C = null), b) {
17379
+ if (L && (y[p][E] && y[p][E].length == 2 ? y[p][E][0] = q : y[p][E] = q, C = null), b) {
17380
17380
  if (k) throw new Error("SYLK shared formula cannot have own formula");
17381
- var H = M > -1 && g[M][D];
17381
+ var H = M > -1 && y[M][D];
17382
17382
  if (!H || !H[1]) throw new Error("SYLK shared formula cannot find base");
17383
- g[p][E][1] = shift_formula_str(H[1], { r: p - M, c: E - D });
17383
+ y[p][E][1] = shift_formula_str(H[1], { r: p - M, c: E - D });
17384
17384
  }
17385
17385
  break;
17386
17386
  case "F":
@@ -17390,7 +17390,7 @@ var DBF = /* @__PURE__ */ function() {
17390
17390
  E = parseInt(K[_].slice(1)) - 1, ++B;
17391
17391
  break;
17392
17392
  case "Y":
17393
- for (p = parseInt(K[_].slice(1)) - 1, X = g.length; X <= p; ++X) g[X] = [];
17393
+ for (p = parseInt(K[_].slice(1)) - 1, X = y.length; X <= p; ++X) y[X] = [];
17394
17394
  break;
17395
17395
  case "M":
17396
17396
  Y = parseInt(K[_].slice(1)) / 20;
@@ -17432,13 +17432,13 @@ var DBF = /* @__PURE__ */ function() {
17432
17432
  if (x && x.WTF) throw new Error("SYLK bad record " + W);
17433
17433
  }
17434
17434
  }
17435
- return A.length > 0 && (T["!rows"] = A), R.length > 0 && (T["!cols"] = R), x && x.sheetRows && (g = g.slice(0, x.sheetRows)), [g, T];
17435
+ return A.length > 0 && (T["!rows"] = A), R.length > 0 && (T["!cols"] = R), x && x.sheetRows && (y = y.slice(0, x.sheetRows)), [y, T];
17436
17436
  }
17437
17437
  function a(u, x) {
17438
- var d = s(u, x), p = d[0], E = d[1], y = aoa_to_sheet(p, x);
17438
+ var d = s(u, x), p = d[0], E = d[1], g = aoa_to_sheet(p, x);
17439
17439
  return keys(E).forEach(function(_) {
17440
- y[_] = E[_];
17441
- }), y;
17440
+ g[_] = E[_];
17441
+ }), g;
17442
17442
  }
17443
17443
  function o(u, x) {
17444
17444
  return sheet_to_workbook(a(u, x), x);
@@ -17477,15 +17477,15 @@ var DBF = /* @__PURE__ */ function() {
17477
17477
  });
17478
17478
  }
17479
17479
  function m(u, x) {
17480
- var d = ["ID;PWXL;N;E"], p = [], E = safe_decode_range(u["!ref"]), y, _ = Array.isArray(u), g = `\r
17480
+ var d = ["ID;PWXL;N;E"], p = [], E = safe_decode_range(u["!ref"]), g, _ = Array.isArray(u), y = `\r
17481
17481
  `;
17482
17482
  d.push("P;PGeneral"), d.push("F;P0;DG0G8;M255"), u["!cols"] && f(d, u["!cols"]), u["!rows"] && c(d, u["!rows"]), d.push("B;Y" + (E.e.r - E.s.r + 1) + ";X" + (E.e.c - E.s.c + 1) + ";D" + [E.s.c, E.s.r, E.e.c, E.e.r].join(" "));
17483
17483
  for (var S = E.s.r; S <= E.e.r; ++S)
17484
17484
  for (var C = E.s.c; C <= E.e.c; ++C) {
17485
17485
  var T = encode_cell({ r: S, c: C });
17486
- y = _ ? (u[S] || [])[C] : u[T], !(!y || y.v == null && (!y.f || y.F)) && p.push(l(y, u, S, C));
17486
+ g = _ ? (u[S] || [])[C] : u[T], !(!g || g.v == null && (!g.f || g.F)) && p.push(l(g, u, S, C));
17487
17487
  }
17488
- return d.join(g) + g + p.join(g) + g + "E" + g;
17488
+ return d.join(y) + y + p.join(y) + y + "E" + y;
17489
17489
  }
17490
17490
  return {
17491
17491
  to_workbook: o,
@@ -17580,8 +17580,8 @@ var DBF = /* @__PURE__ */ function() {
17580
17580
  }
17581
17581
  }
17582
17582
  a(f, -1, 0, "EOD");
17583
- var y = `\r
17584
- `, _ = f.join(y);
17583
+ var g = `\r
17584
+ `, _ = f.join(g);
17585
17585
  return _;
17586
17586
  };
17587
17587
  }();
@@ -17600,17 +17600,17 @@ var DBF = /* @__PURE__ */ function() {
17600
17600
  }
17601
17601
  function r(m, u) {
17602
17602
  for (var x = m.split(`
17603
- `), d = -1, p = -1, E = 0, y = []; E !== x.length; ++E) {
17603
+ `), d = -1, p = -1, E = 0, g = []; E !== x.length; ++E) {
17604
17604
  var _ = x[E].trim().split(":");
17605
17605
  if (_[0] === "cell") {
17606
- var g = decode_cell(_[1]);
17607
- if (y.length <= g.r) for (d = y.length; d <= g.r; ++d) y[d] || (y[d] = []);
17608
- switch (d = g.r, p = g.c, _[2]) {
17606
+ var y = decode_cell(_[1]);
17607
+ if (g.length <= y.r) for (d = g.length; d <= y.r; ++d) g[d] || (g[d] = []);
17608
+ switch (d = y.r, p = y.c, _[2]) {
17609
17609
  case "t":
17610
- y[d][p] = e(_[3]);
17610
+ g[d][p] = e(_[3]);
17611
17611
  break;
17612
17612
  case "v":
17613
- y[d][p] = +_[3];
17613
+ g[d][p] = +_[3];
17614
17614
  break;
17615
17615
  case "vtf":
17616
17616
  var S = _[_.length - 1];
@@ -17618,17 +17618,17 @@ var DBF = /* @__PURE__ */ function() {
17618
17618
  case "vtc":
17619
17619
  switch (_[3]) {
17620
17620
  case "nl":
17621
- y[d][p] = !!+_[4];
17621
+ g[d][p] = !!+_[4];
17622
17622
  break;
17623
17623
  default:
17624
- y[d][p] = +_[4];
17624
+ g[d][p] = +_[4];
17625
17625
  break;
17626
17626
  }
17627
- _[2] == "vtf" && (y[d][p] = [y[d][p], S]);
17627
+ _[2] == "vtf" && (g[d][p] = [g[d][p], S]);
17628
17628
  }
17629
17629
  }
17630
17630
  }
17631
- return u && u.sheetRows && (y = y.slice(0, u.sheetRows)), y;
17631
+ return u && u.sheetRows && (g = g.slice(0, u.sheetRows)), g;
17632
17632
  }
17633
17633
  function i(m, u) {
17634
17634
  return aoa_to_sheet(r(m, u), u);
@@ -17653,9 +17653,9 @@ var DBF = /* @__PURE__ */ function() {
17653
17653
  `), l = "--SocialCalcSpreadsheetControlSave--";
17654
17654
  function f(m) {
17655
17655
  if (!m || !m["!ref"]) return "";
17656
- for (var u = [], x = [], d, p = "", E = decode_range(m["!ref"]), y = Array.isArray(m), _ = E.s.r; _ <= E.e.r; ++_)
17657
- for (var g = E.s.c; g <= E.e.c; ++g)
17658
- if (p = encode_cell({ r: _, c: g }), d = y ? (m[_] || [])[g] : m[p], !(!d || d.v == null || d.t === "z")) {
17656
+ for (var u = [], x = [], d, p = "", E = decode_range(m["!ref"]), g = Array.isArray(m), _ = E.s.r; _ <= E.e.r; ++_)
17657
+ for (var y = E.s.c; y <= E.e.c; ++y)
17658
+ if (p = encode_cell({ r: _, c: y }), d = g ? (m[_] || [])[y] : m[p], !(!d || d.v == null || d.t === "z")) {
17659
17659
  switch (x = ["cell", p, "t"], d.t) {
17660
17660
  case "s":
17661
17661
  case "str":
@@ -17696,13 +17696,13 @@ var DBF = /* @__PURE__ */ function() {
17696
17696
  var u = m || {}, x = [];
17697
17697
  if (!c || c.length === 0) return x;
17698
17698
  for (var d = c.split(/[\r\n]/), p = d.length - 1; p >= 0 && d[p].length === 0; ) --p;
17699
- for (var E = 10, y = 0, _ = 0; _ <= p; ++_)
17700
- y = d[_].indexOf(" "), y == -1 ? y = d[_].length : y++, E = Math.max(E, y);
17699
+ for (var E = 10, g = 0, _ = 0; _ <= p; ++_)
17700
+ g = d[_].indexOf(" "), g == -1 ? g = d[_].length : g++, E = Math.max(E, g);
17701
17701
  for (_ = 0; _ <= p; ++_) {
17702
17702
  x[_] = [];
17703
- var g = 0;
17704
- for (e(d[_].slice(0, E).trim(), x, _, g, u), g = 1; g <= (d[_].length - E) / 10 + 1; ++g)
17705
- e(d[_].slice(E + (g - 1) * 10, E + g * 10).trim(), x, _, g, u);
17703
+ var y = 0;
17704
+ for (e(d[_].slice(0, E).trim(), x, _, y, u), y = 1; y <= (d[_].length - E) / 10 + 1; ++y)
17705
+ e(d[_].slice(E + (y - 1) * 10, E + y * 10).trim(), x, _, y, u);
17706
17706
  }
17707
17707
  return u.sheetRows && (x = x.slice(0, u.sheetRows)), x;
17708
17708
  }
@@ -17741,12 +17741,12 @@ var DBF = /* @__PURE__ */ function() {
17741
17741
  function n(c, m) {
17742
17742
  var u = m || {}, x = "", d = u.dense ? [] : {}, p = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } };
17743
17743
  c.slice(0, 4) == "sep=" ? c.charCodeAt(5) == 13 && c.charCodeAt(6) == 10 ? (x = c.charAt(4), c = c.slice(7)) : c.charCodeAt(5) == 13 || c.charCodeAt(5) == 10 ? (x = c.charAt(4), c = c.slice(6)) : x = s(c.slice(0, 1024)) : u && u.FS ? x = u.FS : x = s(c.slice(0, 1024));
17744
- var E = 0, y = 0, _ = 0, g = 0, S = 0, C = x.charCodeAt(0), T = !1, A = 0, R = c.charCodeAt(0);
17744
+ var E = 0, g = 0, _ = 0, y = 0, S = 0, C = x.charCodeAt(0), T = !1, A = 0, R = c.charCodeAt(0);
17745
17745
  c = c.replace(/\r\n/mg, `
17746
17746
  `);
17747
17747
  var I = u.dateNF != null ? dateNF_regex(u.dateNF) : null;
17748
17748
  function Y() {
17749
- var X = c.slice(g, S), W = {};
17749
+ var X = c.slice(y, S), W = {};
17750
17750
  if (X.charAt(0) == '"' && X.charAt(X.length - 1) == '"' && (X = X.slice(1, -1).replace(/""/g, '"')), X.length === 0) W.t = "z";
17751
17751
  else if (u.raw)
17752
17752
  W.t = "s", W.v = X;
@@ -17766,8 +17766,8 @@ var DBF = /* @__PURE__ */ function() {
17766
17766
  I && X.match(I) && (X = dateNF_fix(X, u.dateNF, X.match(I) || []), K = 1), u.cellDates ? (W.t = "d", W.v = parseDate(X, K)) : (W.t = "n", W.v = datenum(parseDate(X, K))), u.cellText !== !1 && (W.w = SSF_format(W.z, W.v instanceof Date ? datenum(W.v) : W.v)), u.cellNF || delete W.z;
17767
17767
  } else
17768
17768
  W.t = "s", W.v = X;
17769
- if (W.t == "z" || (u.dense ? (d[E] || (d[E] = []), d[E][y] = W) : d[encode_cell({ c: y, r: E })] = W), g = S + 1, R = c.charCodeAt(g), p.e.c < y && (p.e.c = y), p.e.r < E && (p.e.r = E), A == C) ++y;
17770
- else if (y = 0, ++E, u.sheetRows && u.sheetRows <= E) return !0;
17769
+ if (W.t == "z" || (u.dense ? (d[E] || (d[E] = []), d[E][g] = W) : d[encode_cell({ c: g, r: E })] = W), y = S + 1, R = c.charCodeAt(y), p.e.c < g && (p.e.c = g), p.e.r < E && (p.e.r = E), A == C) ++g;
17770
+ else if (g = 0, ++E, u.sheetRows && u.sheetRows <= E) return !0;
17771
17771
  }
17772
17772
  e: for (; S < c.length; ++S) switch (A = c.charCodeAt(S)) {
17773
17773
  case 34:
@@ -17779,7 +17779,7 @@ var DBF = /* @__PURE__ */ function() {
17779
17779
  if (!T && Y()) break e;
17780
17780
  break;
17781
17781
  }
17782
- return S - g > 0 && Y(), d["!ref"] = encode_range(p), d;
17782
+ return S - y > 0 && Y(), d["!ref"] = encode_range(p), d;
17783
17783
  }
17784
17784
  function a(c, m) {
17785
17785
  return !(m && m.PRN) || m.FS || c.slice(0, 4) == "sep=" || c.indexOf(" ") >= 0 || c.indexOf(",") >= 0 || c.indexOf(";") >= 0 ? n(c, m) : aoa_to_sheet(t(c, m), m);
@@ -17812,14 +17812,14 @@ var DBF = /* @__PURE__ */ function() {
17812
17812
  }
17813
17813
  function f(c) {
17814
17814
  for (var m = [], u = safe_decode_range(c["!ref"]), x, d = Array.isArray(c), p = u.s.r; p <= u.e.r; ++p) {
17815
- for (var E = [], y = u.s.c; y <= u.e.c; ++y) {
17816
- var _ = encode_cell({ r: p, c: y });
17817
- if (x = d ? (c[p] || [])[y] : c[_], !x || x.v == null) {
17815
+ for (var E = [], g = u.s.c; g <= u.e.c; ++g) {
17816
+ var _ = encode_cell({ r: p, c: g });
17817
+ if (x = d ? (c[p] || [])[g] : c[_], !x || x.v == null) {
17818
17818
  E.push(" ");
17819
17819
  continue;
17820
17820
  }
17821
- for (var g = (x.w || (format_cell(x), x.w) || "").slice(0, 10); g.length < 10; ) g += " ";
17822
- E.push(g + (y === 0 ? " " : ""));
17821
+ for (var y = (x.w || (format_cell(x), x.w) || "").slice(0, 10); y.length < 10; ) y += " ";
17822
+ E.push(y + (g === 0 ? " " : ""));
17823
17823
  }
17824
17824
  m.push(E.join(""));
17825
17825
  }
@@ -18051,7 +18051,7 @@ var DBF = /* @__PURE__ */ function() {
18051
18051
  }
18052
18052
  return re;
18053
18053
  }
18054
- function y(P, H, B) {
18054
+ function g(P, H, B) {
18055
18055
  var z = H & 32768;
18056
18056
  return H &= -32769, H = (z ? P : 0) + (H >= 8192 ? H - 16384 : H), (z ? "" : "$") + (B ? encode_col(H) : encode_row(H));
18057
18057
  }
@@ -18065,7 +18065,7 @@ var DBF = /* @__PURE__ */ function() {
18065
18065
  83: ["MINA", 69],
18066
18066
  84: ["MAXA", 69],
18067
18067
  111: ["T", 1]
18068
- }, g = [
18068
+ }, y = [
18069
18069
  "",
18070
18070
  "",
18071
18071
  "",
@@ -18112,12 +18112,12 @@ var DBF = /* @__PURE__ */ function() {
18112
18112
  B.push(P.read_shift(8, "f"));
18113
18113
  break;
18114
18114
  case 1:
18115
- ce = y(H[0].c, P.read_shift(2), !0), re = y(H[0].r, P.read_shift(2), !1), B.push(ce + re);
18115
+ ce = g(H[0].c, P.read_shift(2), !0), re = g(H[0].r, P.read_shift(2), !1), B.push(ce + re);
18116
18116
  break;
18117
18117
  case 2:
18118
18118
  {
18119
- var Se = y(H[0].c, P.read_shift(2), !0), Ce = y(H[0].r, P.read_shift(2), !1);
18120
- ce = y(H[0].c, P.read_shift(2), !0), re = y(H[0].r, P.read_shift(2), !1), B.push(Se + Ce + ":" + ce + re);
18119
+ var Se = g(H[0].c, P.read_shift(2), !0), Ce = g(H[0].r, P.read_shift(2), !1);
18120
+ ce = g(H[0].c, P.read_shift(2), !0), re = g(H[0].r, P.read_shift(2), !1), B.push(Se + Ce + ":" + ce + re);
18121
18121
  }
18122
18122
  break;
18123
18123
  case 3:
@@ -18152,8 +18152,8 @@ var DBF = /* @__PURE__ */ function() {
18152
18152
  pe = B.pop(), fe = B.pop(), B.push(["AND", "OR"][le - 20] + "(" + fe + "," + pe + ")");
18153
18153
  break;
18154
18154
  default:
18155
- if (le < 32 && g[le])
18156
- pe = B.pop(), fe = B.pop(), B.push(fe + g[le] + pe);
18155
+ if (le < 32 && y[le])
18156
+ pe = B.pop(), fe = B.pop(), B.push(fe + y[le] + pe);
18157
18157
  else if (_[le]) {
18158
18158
  if (z = _[le][1], z == 69 && (z = P[P.l++]), z > B.length) {
18159
18159
  console.error("WK1 bad formula parse 0x" + le.toString(16) + ":|" + B.join("|") + "|");
@@ -18734,8 +18734,8 @@ var RTF = /* @__PURE__ */ function() {
18734
18734
  case "\\cell":
18735
18735
  var E = c.slice(x, u.lastIndex - d[0].length);
18736
18736
  if (E[0] == " " && (E = E.slice(1)), ++p, E.length) {
18737
- var y = { v: E, t: "s" };
18738
- Array.isArray(o) ? o[m][p] = y : o[encode_cell({ r: m, c: p })] = y;
18737
+ var g = { v: E, t: "s" };
18738
+ Array.isArray(o) ? o[m][p] = g : o[encode_cell({ r: m, c: p })] = g;
18739
18739
  }
18740
18740
  break;
18741
18741
  }
@@ -19989,9 +19989,9 @@ function stringify_formula(e, t, r, i, s) {
19989
19989
  { s: { c: 0, r: 0 } }
19990
19990
  ), o = [], l, f, c, m = 0, u = 0, x, d = "";
19991
19991
  if (!e[0] || !e[0][0]) return "";
19992
- for (var p = -1, E = "", y = 0, _ = e[0].length; y < _; ++y) {
19993
- var g = e[0][y];
19994
- switch (g[0]) {
19992
+ for (var p = -1, E = "", g = 0, _ = e[0].length; g < _; ++g) {
19993
+ var y = e[0][g];
19994
+ switch (y[0]) {
19995
19995
  case "PtgUminus":
19996
19996
  o.push("-" + o.pop());
19997
19997
  break;
@@ -20037,7 +20037,7 @@ function stringify_formula(e, t, r, i, s) {
20037
20037
  }
20038
20038
  f = f + E, p = -1;
20039
20039
  }
20040
- o.push(f + PtgBinOp[g[0]] + l);
20040
+ o.push(f + PtgBinOp[y[0]] + l);
20041
20041
  break;
20042
20042
  case "PtgIsect":
20043
20043
  l = o.pop(), f = o.pop(), o.push(f + " " + l);
@@ -20057,55 +20057,55 @@ function stringify_formula(e, t, r, i, s) {
20057
20057
  case "PtgAttrIfError":
20058
20058
  break;
20059
20059
  case "PtgRef":
20060
- c = shift_cell_xls(g[1][1], a, s), o.push(encode_cell_xls(c, n));
20060
+ c = shift_cell_xls(y[1][1], a, s), o.push(encode_cell_xls(c, n));
20061
20061
  break;
20062
20062
  case "PtgRefN":
20063
- c = r ? shift_cell_xls(g[1][1], r, s) : g[1][1], o.push(encode_cell_xls(c, n));
20063
+ c = r ? shift_cell_xls(y[1][1], r, s) : y[1][1], o.push(encode_cell_xls(c, n));
20064
20064
  break;
20065
20065
  case "PtgRef3d":
20066
20066
  m = /*::Number(*/
20067
- g[1][1], c = shift_cell_xls(g[1][2], a, s), d = get_ixti(i, m, s), o.push(d + "!" + encode_cell_xls(c, n));
20067
+ y[1][1], c = shift_cell_xls(y[1][2], a, s), d = get_ixti(i, m, s), o.push(d + "!" + encode_cell_xls(c, n));
20068
20068
  break;
20069
20069
  case "PtgFunc":
20070
20070
  /* [MS-XLS] 2.5.198.62 */
20071
20071
  case "PtgFuncVar":
20072
- var S = g[1][0], C = g[1][1];
20072
+ var S = y[1][0], C = y[1][1];
20073
20073
  S || (S = 0), S &= 127;
20074
20074
  var T = S == 0 ? [] : o.slice(-S);
20075
20075
  o.length -= S, C === "User" && (C = T.shift()), o.push(C + "(" + T.join(",") + ")");
20076
20076
  break;
20077
20077
  case "PtgBool":
20078
- o.push(g[1] ? "TRUE" : "FALSE");
20078
+ o.push(y[1] ? "TRUE" : "FALSE");
20079
20079
  break;
20080
20080
  case "PtgInt":
20081
20081
  o.push(
20082
20082
  /*::String(*/
20083
- g[1]
20083
+ y[1]
20084
20084
  /*::)*/
20085
20085
  );
20086
20086
  break;
20087
20087
  case "PtgNum":
20088
- o.push(String(g[1]));
20088
+ o.push(String(y[1]));
20089
20089
  break;
20090
20090
  case "PtgStr":
20091
- o.push('"' + g[1].replace(/"/g, '""') + '"');
20091
+ o.push('"' + y[1].replace(/"/g, '""') + '"');
20092
20092
  break;
20093
20093
  case "PtgErr":
20094
20094
  o.push(
20095
20095
  /*::String(*/
20096
- g[1]
20096
+ y[1]
20097
20097
  /*::)*/
20098
20098
  );
20099
20099
  break;
20100
20100
  case "PtgAreaN":
20101
- x = shift_range_xls(g[1][1], r ? { s: r } : a, s), o.push(encode_range_xls(x, s));
20101
+ x = shift_range_xls(y[1][1], r ? { s: r } : a, s), o.push(encode_range_xls(x, s));
20102
20102
  break;
20103
20103
  case "PtgArea":
20104
- x = shift_range_xls(g[1][1], a, s), o.push(encode_range_xls(x, s));
20104
+ x = shift_range_xls(y[1][1], a, s), o.push(encode_range_xls(x, s));
20105
20105
  break;
20106
20106
  case "PtgArea3d":
20107
20107
  m = /*::Number(*/
20108
- g[1][1], x = g[1][2], d = get_ixti(i, m, s), o.push(d + "!" + encode_range_xls(x, s));
20108
+ y[1][1], x = y[1][2], d = get_ixti(i, m, s), o.push(d + "!" + encode_range_xls(x, s));
20109
20109
  break;
20110
20110
  case "PtgAttrSum":
20111
20111
  o.push("SUM(" + o.pop() + ")");
@@ -20115,13 +20115,13 @@ function stringify_formula(e, t, r, i, s) {
20115
20115
  case "PtgAttrSemi":
20116
20116
  break;
20117
20117
  case "PtgName":
20118
- u = g[1][2];
20118
+ u = y[1][2];
20119
20119
  var A = (i.names || [])[u - 1] || (i[0] || [])[u], R = A ? A.Name : "SH33TJSNAME" + String(u);
20120
20120
  R && R.slice(0, 6) == "_xlfn." && !s.xlfn && (R = R.slice(6)), o.push(R);
20121
20121
  break;
20122
20122
  case "PtgNameX":
20123
- var I = g[1][1];
20124
- u = g[1][2];
20123
+ var I = y[1][1];
20124
+ u = y[1][2];
20125
20125
  var Y;
20126
20126
  if (s.biff <= 5)
20127
20127
  I < 0 && (I = -I), i[I] && (Y = i[I][u]);
@@ -20172,7 +20172,7 @@ function stringify_formula(e, t, r, i, s) {
20172
20172
  o.push("#REF!");
20173
20173
  break;
20174
20174
  case "PtgExp":
20175
- c = { c: g[1][1], r: g[1][0] };
20175
+ c = { c: y[1][1], r: y[1][0] };
20176
20176
  var q = { c: r.c, r: r.r };
20177
20177
  if (i.sharedf[encode_cell(c)]) {
20178
20178
  var L = i.sharedf[encode_cell(c)];
@@ -20186,7 +20186,7 @@ function stringify_formula(e, t, r, i, s) {
20186
20186
  }
20187
20187
  j || o.push(
20188
20188
  /*::String(*/
20189
- g[1]
20189
+ y[1]
20190
20190
  /*::)*/
20191
20191
  );
20192
20192
  }
@@ -20194,7 +20194,7 @@ function stringify_formula(e, t, r, i, s) {
20194
20194
  case "PtgArray":
20195
20195
  o.push("{" + stringify_array(
20196
20196
  /*::(*/
20197
- g[1]
20197
+ y[1]
20198
20198
  /*:: :any)*/
20199
20199
  ) + "}");
20200
20200
  break;
@@ -20203,7 +20203,7 @@ function stringify_formula(e, t, r, i, s) {
20203
20203
  case "PtgAttrSpace":
20204
20204
  /* [MS-XLS] 2.5.198.38 */
20205
20205
  case "PtgAttrSpaceSemi":
20206
- p = y;
20206
+ p = g;
20207
20207
  break;
20208
20208
  case "PtgTbl":
20209
20209
  break;
@@ -20219,7 +20219,7 @@ function stringify_formula(e, t, r, i, s) {
20219
20219
  o.push("#REF!");
20220
20220
  break;
20221
20221
  case "PtgList":
20222
- o.push("Table" + g[1].idx + "[#" + g[1].rt + "]");
20222
+ o.push("Table" + y[1].idx + "[#" + y[1].rt + "]");
20223
20223
  break;
20224
20224
  case "PtgMemAreaN":
20225
20225
  case "PtgMemNoMemN":
@@ -20252,30 +20252,30 @@ function stringify_formula(e, t, r, i, s) {
20252
20252
  case "PtgElfRwV":
20253
20253
  throw new Error("Unsupported ELFs");
20254
20254
  case "PtgSxName":
20255
- throw new Error("Unrecognized Formula Token: " + String(g));
20255
+ throw new Error("Unrecognized Formula Token: " + String(y));
20256
20256
  default:
20257
- throw new Error("Unrecognized Formula Token: " + String(g));
20257
+ throw new Error("Unrecognized Formula Token: " + String(y));
20258
20258
  }
20259
20259
  var b = ["PtgAttrSpace", "PtgAttrSpaceSemi", "PtgAttrGoto"];
20260
- if (s.biff != 3 && p >= 0 && b.indexOf(e[0][y][0]) == -1) {
20261
- g = e[0][p];
20260
+ if (s.biff != 3 && p >= 0 && b.indexOf(e[0][g][0]) == -1) {
20261
+ y = e[0][p];
20262
20262
  var k = !0;
20263
- switch (g[1][0]) {
20263
+ switch (y[1][0]) {
20264
20264
  /* note: some bad XLSB files omit the PtgParen */
20265
20265
  case 4:
20266
20266
  k = !1;
20267
20267
  /* falls through */
20268
20268
  case 0:
20269
- E = fill(" ", g[1][1]);
20269
+ E = fill(" ", y[1][1]);
20270
20270
  break;
20271
20271
  case 5:
20272
20272
  k = !1;
20273
20273
  /* falls through */
20274
20274
  case 1:
20275
- E = fill("\r", g[1][1]);
20275
+ E = fill("\r", y[1][1]);
20276
20276
  break;
20277
20277
  default:
20278
- if (E = "", s.WTF) throw new Error("Unexpected PtgAttrSpaceType " + g[1][0]);
20278
+ if (E = "", s.WTF) throw new Error("Unexpected PtgAttrSpaceType " + y[1][0]);
20279
20279
  }
20280
20280
  o.push((k ? E : "") + o.pop() + (k ? "" : E)), p = -1;
20281
20281
  }
@@ -21610,7 +21610,7 @@ function write_ws_xml_cell(e, t, r, i) {
21610
21610
  return e.l && r["!links"].push([t, e.l]), e.D && (l.cm = 1), writextag("c", o, l);
21611
21611
  }
21612
21612
  function write_ws_xml_data(e, t, r, i) {
21613
- var s = [], n = [], a = safe_decode_range(e["!ref"]), o = "", l, f = "", c = [], m = 0, u = 0, x = e["!rows"], d = Array.isArray(e), p = { r: f }, E, y = -1;
21613
+ var s = [], n = [], a = safe_decode_range(e["!ref"]), o = "", l, f = "", c = [], m = 0, u = 0, x = e["!rows"], d = Array.isArray(e), p = { r: f }, E, g = -1;
21614
21614
  for (u = a.s.c; u <= a.e.c; ++u) c[u] = encode_col(u);
21615
21615
  for (m = a.s.r; m <= a.e.r; ++m) {
21616
21616
  for (n = [], f = encode_row(m), u = a.s.c; u <= a.e.c; ++u) {
@@ -21618,10 +21618,10 @@ function write_ws_xml_data(e, t, r, i) {
21618
21618
  var _ = d ? (e[m] || [])[u] : e[l];
21619
21619
  _ !== void 0 && (o = write_ws_xml_cell(_, l, e, t)) != null && n.push(o);
21620
21620
  }
21621
- (n.length > 0 || x && x[m]) && (p = { r: f }, x && x[m] && (E = x[m], E.hidden && (p.hidden = 1), y = -1, E.hpx ? y = px2pt(E.hpx) : E.hpt && (y = E.hpt), y > -1 && (p.ht = y, p.customHeight = 1), E.level && (p.outlineLevel = E.level)), s[s.length] = writextag("row", n.join(""), p));
21621
+ (n.length > 0 || x && x[m]) && (p = { r: f }, x && x[m] && (E = x[m], E.hidden && (p.hidden = 1), g = -1, E.hpx ? g = px2pt(E.hpx) : E.hpt && (g = E.hpt), g > -1 && (p.ht = g, p.customHeight = 1), E.level && (p.outlineLevel = E.level)), s[s.length] = writextag("row", n.join(""), p));
21622
21622
  }
21623
21623
  if (x) for (; m < x.length; ++m)
21624
- x && x[m] && (p = { r: m + 1 }, E = x[m], E.hidden && (p.hidden = 1), y = -1, E.hpx ? y = px2pt(E.hpx) : E.hpt && (y = E.hpt), y > -1 && (p.ht = y, p.customHeight = 1), E.level && (p.outlineLevel = E.level), s[s.length] = writextag("row", "", p));
21624
+ x && x[m] && (p = { r: m + 1 }, E = x[m], E.hidden && (p.hidden = 1), g = -1, E.hpx ? g = px2pt(E.hpx) : E.hpt && (g = E.hpt), g > -1 && (p.ht = g, p.customHeight = 1), E.level && (p.outlineLevel = E.level), s[s.length] = writextag("row", "", p));
21625
21625
  return s.join("");
21626
21626
  }
21627
21627
  function write_ws_xml(e, t, r, i) {
@@ -22424,10 +22424,10 @@ function write_ws_xlml_row(e, t) {
22424
22424
  function write_ws_xlml_table(e, t, r, i) {
22425
22425
  if (!e["!ref"]) return "";
22426
22426
  var s = safe_decode_range(e["!ref"]), n = e["!merges"] || [], a = 0, o = [];
22427
- e["!cols"] && e["!cols"].forEach(function(E, y) {
22427
+ e["!cols"] && e["!cols"].forEach(function(E, g) {
22428
22428
  process_col(E);
22429
- var _ = !!E.width, g = col_obj_w(y, E), S = { "ss:Index": y + 1 };
22430
- _ && (S["ss:Width"] = width2px(g.width)), E.hidden && (S["ss:Hidden"] = "1"), o.push(writextag("Column", null, S));
22429
+ var _ = !!E.width, y = col_obj_w(g, E), S = { "ss:Index": g + 1 };
22430
+ _ && (S["ss:Width"] = width2px(y.width)), E.hidden && (S["ss:Hidden"] = "1"), o.push(writextag("Column", null, S));
22431
22431
  });
22432
22432
  for (var l = Array.isArray(e), f = s.s.r; f <= s.e.r; ++f) {
22433
22433
  for (var c = [write_ws_xlml_row(f, (e["!rows"] || [])[f])], m = s.s.c; m <= s.e.c; ++m) {
@@ -26737,8 +26737,8 @@ function write_ws_biff8(e, t, r) {
26737
26737
  m = encode_row(p);
26738
26738
  for (var E = x.s.c; E <= x.e.c; ++E) {
26739
26739
  p === x.s.r && (u[E] = encode_col(E)), c = u[E] + m;
26740
- var y = l ? (n[p] || [])[E] : n[c];
26741
- y && (write_ws_biff8_cell(i, y, p, E, t), f && y.l && n["!links"].push([c, y.l]));
26740
+ var g = l ? (n[p] || [])[E] : n[c];
26741
+ g && (write_ws_biff8_cell(i, g, p, E, t), f && g.l && n["!links"].push([c, g.l]));
26742
26742
  }
26743
26743
  }
26744
26744
  var _ = o.CodeName || o.name || s;
@@ -26794,13 +26794,13 @@ function write_biff8_global(e, t, r) {
26794
26794
  for (p = 0; p < e.SheetNames.length; ++p) d += (o ? 12 : 11) + (o ? 2 : 1) * e.SheetNames[p].length;
26795
26795
  var E = c.length + d + u.length;
26796
26796
  for (p = 0; p < e.SheetNames.length; ++p) {
26797
- var y = n[p] || {};
26798
- write_biff_rec(x, 133, write_BoundSheet8({ pos: E, hs: y.Hidden || 0, dt: 0, name: e.SheetNames[p] }, r)), E += t[p].length;
26797
+ var g = n[p] || {};
26798
+ write_biff_rec(x, 133, write_BoundSheet8({ pos: E, hs: g.Hidden || 0, dt: 0, name: e.SheetNames[p] }, r)), E += t[p].length;
26799
26799
  }
26800
26800
  var _ = x.end();
26801
26801
  if (d != _.length) throw new Error("BS8 " + d + " != " + _.length);
26802
- var g = [];
26803
- return c.length && g.push(c), _.length && g.push(_), u.length && g.push(u), bconcat(g);
26802
+ var y = [];
26803
+ return c.length && y.push(c), _.length && y.push(_), u.length && y.push(u), bconcat(y);
26804
26804
  }
26805
26805
  function write_biff8_buf(e, t) {
26806
26806
  var r = t || {}, i = [];
@@ -26872,7 +26872,7 @@ function sheet_add_dom(e, t, r) {
26872
26872
  var c = decode_range(e["!ref"]);
26873
26873
  f.s.r = Math.min(f.s.r, c.s.r), f.s.c = Math.min(f.s.c, c.s.c), f.e.r = Math.max(f.e.r, c.e.r), f.e.c = Math.max(f.e.c, c.e.c), s == -1 && (f.e.r = s = c.e.r + 1);
26874
26874
  }
26875
- var m = [], u = 0, x = e["!rows"] || (e["!rows"] = []), d = 0, p = 0, E = 0, y = 0, _ = 0, g = 0;
26875
+ var m = [], u = 0, x = e["!rows"] || (e["!rows"] = []), d = 0, p = 0, E = 0, g = 0, _ = 0, y = 0;
26876
26876
  for (e["!cols"] || (e["!cols"] = []); d < o.length && p < l; ++d) {
26877
26877
  var S = o[d];
26878
26878
  if (is_dom_element_hidden(S)) {
@@ -26880,20 +26880,20 @@ function sheet_add_dom(e, t, r) {
26880
26880
  x[p] = { hidden: !0 };
26881
26881
  }
26882
26882
  var C = S.children;
26883
- for (E = y = 0; E < C.length; ++E) {
26883
+ for (E = g = 0; E < C.length; ++E) {
26884
26884
  var T = C[E];
26885
26885
  if (!(i.display && is_dom_element_hidden(T))) {
26886
26886
  var A = T.hasAttribute("data-v") ? T.getAttribute("data-v") : T.hasAttribute("v") ? T.getAttribute("v") : htmldecode(T.innerHTML), R = T.getAttribute("data-z") || T.getAttribute("z");
26887
26887
  for (u = 0; u < m.length; ++u) {
26888
26888
  var I = m[u];
26889
- I.s.c == y + n && I.s.r < p + s && p + s <= I.e.r && (y = I.e.c + 1 - n, u = -1);
26889
+ I.s.c == g + n && I.s.r < p + s && p + s <= I.e.r && (g = I.e.c + 1 - n, u = -1);
26890
26890
  }
26891
- g = +T.getAttribute("colspan") || 1, ((_ = +T.getAttribute("rowspan") || 1) > 1 || g > 1) && m.push({ s: { r: p + s, c: y + n }, e: { r: p + s + (_ || 1) - 1, c: y + n + (g || 1) - 1 } });
26891
+ y = +T.getAttribute("colspan") || 1, ((_ = +T.getAttribute("rowspan") || 1) > 1 || y > 1) && m.push({ s: { r: p + s, c: g + n }, e: { r: p + s + (_ || 1) - 1, c: g + n + (y || 1) - 1 } });
26892
26892
  var Y = { t: "s", v: A }, X = T.getAttribute("data-t") || T.getAttribute("t") || "";
26893
26893
  A != null && (A.length == 0 ? Y.t = X || "z" : i.raw || A.trim().length == 0 || X == "s" || (A === "TRUE" ? Y = { t: "b", v: !0 } : A === "FALSE" ? Y = { t: "b", v: !1 } : isNaN(fuzzynum(A)) ? isNaN(fuzzydate(A).getDate()) || (Y = { t: "d", v: parseDate(A) }, i.cellDates || (Y = { t: "n", v: datenum(Y.v) }), Y.z = i.dateNF || table_fmt[14]) : Y = { t: "n", v: fuzzynum(A) })), Y.z === void 0 && R != null && (Y.z = R);
26894
26894
  var W = "", K = T.getElementsByTagName("A");
26895
26895
  if (K && K.length) for (var ne = 0; ne < K.length && !(K[ne].hasAttribute("href") && (W = K[ne].getAttribute("href"), W.charAt(0) != "#")); ++ne) ;
26896
- W && W.charAt(0) != "#" && (Y.l = { Target: W }), i.dense ? (e[p + s] || (e[p + s] = []), e[p + s][y + n] = Y) : e[encode_cell({ c: y + n, r: p + s })] = Y, f.e.c < y + n && (f.e.c = y + n), y += g;
26896
+ W && W.charAt(0) != "#" && (Y.l = { Target: W }), i.dense ? (e[p + s] || (e[p + s] = []), e[p + s][g + n] = Y) : e[encode_cell({ c: g + n, r: p + s })] = Y, f.e.c < g + n && (f.e.c = g + n), g += y;
26897
26897
  }
26898
26898
  }
26899
26899
  ++p;
@@ -26964,13 +26964,13 @@ var write_styles_ods = /* @__PURE__ */ function() {
26964
26964
  for (p = E[f] ? ' table:style-name="ro' + E[f].ods + '"' : "", l.push(" <table:table-row" + p + `>
26965
26965
  `), c = 0; c < m.s.c; ++c) l.push(t);
26966
26966
  for (; c <= m.e.c; ++c) {
26967
- var y = !1, _ = {}, g = "";
26967
+ var g = !1, _ = {}, y = "";
26968
26968
  for (x = 0; x != u.length; ++x)
26969
26969
  if (!(u[x].s.c > c) && !(u[x].s.r > f) && !(u[x].e.c < c) && !(u[x].e.r < f)) {
26970
- (u[x].s.c != c || u[x].s.r != f) && (y = !0), _["table:number-columns-spanned"] = u[x].e.c - u[x].s.c + 1, _["table:number-rows-spanned"] = u[x].e.r - u[x].s.r + 1;
26970
+ (u[x].s.c != c || u[x].s.r != f) && (g = !0), _["table:number-columns-spanned"] = u[x].e.c - u[x].s.c + 1, _["table:number-rows-spanned"] = u[x].e.r - u[x].s.r + 1;
26971
26971
  break;
26972
26972
  }
26973
- if (y) {
26973
+ if (g) {
26974
26974
  l.push(r);
26975
26975
  continue;
26976
26976
  }
@@ -26985,24 +26985,24 @@ var write_styles_ods = /* @__PURE__ */ function() {
26985
26985
  }
26986
26986
  switch (C.t) {
26987
26987
  case "b":
26988
- g = C.v ? "TRUE" : "FALSE", _["office:value-type"] = "boolean", _["office:boolean-value"] = C.v ? "true" : "false";
26988
+ y = C.v ? "TRUE" : "FALSE", _["office:value-type"] = "boolean", _["office:boolean-value"] = C.v ? "true" : "false";
26989
26989
  break;
26990
26990
  case "n":
26991
- g = C.w || String(C.v || 0), _["office:value-type"] = "float", _["office:value"] = C.v || 0;
26991
+ y = C.w || String(C.v || 0), _["office:value-type"] = "float", _["office:value"] = C.v || 0;
26992
26992
  break;
26993
26993
  case "s":
26994
26994
  case "str":
26995
- g = C.v == null ? "" : C.v, _["office:value-type"] = "string";
26995
+ y = C.v == null ? "" : C.v, _["office:value-type"] = "string";
26996
26996
  break;
26997
26997
  case "d":
26998
- g = C.w || parseDate(C.v).toISOString(), _["office:value-type"] = "date", _["office:date-value"] = parseDate(C.v).toISOString(), _["table:style-name"] = "ce1";
26998
+ y = C.w || parseDate(C.v).toISOString(), _["office:value-type"] = "date", _["office:date-value"] = parseDate(C.v).toISOString(), _["table:style-name"] = "ce1";
26999
26999
  break;
27000
27000
  //case 'e':
27001
27001
  default:
27002
27002
  l.push(t);
27003
27003
  continue;
27004
27004
  }
27005
- var A = e(g);
27005
+ var A = e(y);
27006
27006
  if (C.l && C.l.Target) {
27007
27007
  var R = C.l.Target;
27008
27008
  R = R.charAt(0) == "#" ? "#" + csf_to_ods_3D(R.slice(1)) : R, R.charAt(0) != "#" && !R.match(/^\w+:/) && (R = "../" + R), A = writextag("text:a", A, { "xlink:href": R.replace(/&/g, "&amp;") });
@@ -27371,21 +27371,21 @@ function write_tile_row(e, t, r) {
27371
27371
  continue;
27372
27372
  }
27373
27373
  f.setUint16(p * 2, c, !0), u.setUint16(p * 2, x, !0);
27374
- var E, y;
27374
+ var E, g;
27375
27375
  switch (typeof t[p]) {
27376
27376
  case "string":
27377
- E = write_new_storage({ t: "s", v: t[p] }, r), y = write_old_storage({ t: "s", v: t[p] }, r);
27377
+ E = write_new_storage({ t: "s", v: t[p] }, r), g = write_old_storage({ t: "s", v: t[p] }, r);
27378
27378
  break;
27379
27379
  case "number":
27380
- E = write_new_storage({ t: "n", v: t[p] }, r), y = write_old_storage({ t: "n", v: t[p] }, r);
27380
+ E = write_new_storage({ t: "n", v: t[p] }, r), g = write_old_storage({ t: "n", v: t[p] }, r);
27381
27381
  break;
27382
27382
  case "boolean":
27383
- E = write_new_storage({ t: "b", v: t[p] }, r), y = write_old_storage({ t: "b", v: t[p] }, r);
27383
+ E = write_new_storage({ t: "b", v: t[p] }, r), g = write_old_storage({ t: "b", v: t[p] }, r);
27384
27384
  break;
27385
27385
  default:
27386
27386
  throw new Error("Unsupported value " + t[p]);
27387
27387
  }
27388
- m.push(E), c += E.length, d.push(y), x += y.length, ++l;
27388
+ m.push(E), c += E.length, d.push(g), x += g.length, ++l;
27389
27389
  }
27390
27390
  for (e[2][0].data = write_varint49(l); p < e[7][0].data.length / 2; ++p)
27391
27391
  f.setUint16(p * 2, 65535, !0), u.setUint16(p * 2, 65535, !0);
@@ -27453,10 +27453,10 @@ function write_numbers_iwa(e, t) {
27453
27453
  p = u[d], p.id == E && (x = p);
27454
27454
  for (E = parse_TSP_Reference(parse_shallow(x.messages[0].data)[2][0].data), m = CFB.find(f, o[E].location), u = parse_iwa_file(decompress_iwa_file(m.content)), d = 0; d < u.length; ++d)
27455
27455
  p = u[d], p.id == E && (x = p);
27456
- var y = parse_shallow(x.messages[0].data);
27456
+ var g = parse_shallow(x.messages[0].data);
27457
27457
  {
27458
- y[6][0].data = write_varint49(i.e.r + 1), y[7][0].data = write_varint49(i.e.c + 1);
27459
- var _ = parse_TSP_Reference(y[46][0].data), g = CFB.find(f, o[_].location), S = parse_iwa_file(decompress_iwa_file(g.content));
27458
+ g[6][0].data = write_varint49(i.e.r + 1), g[7][0].data = write_varint49(i.e.c + 1);
27459
+ var _ = parse_TSP_Reference(g[46][0].data), y = CFB.find(f, o[_].location), S = parse_iwa_file(decompress_iwa_file(y.content));
27460
27460
  {
27461
27461
  for (var C = 0; C < S.length && S[C].id != _; ++C)
27462
27462
  ;
@@ -27473,12 +27473,12 @@ function write_numbers_iwa(e, t) {
27473
27473
  R = [], R[1] = R[2] = [{ type: 0, data: write_varint49(I + 726270) }], T[4].push({ type: 2, data: write_shallow(R) }), T[5].push({ type: 0, data: write_varint49(I) }), T[6].push({ type: 0, data: write_varint49(I) });
27474
27474
  S[C].messages[0].data = write_shallow(T);
27475
27475
  }
27476
- g.content = compress_iwa_file(write_iwa_file(S)), g.size = g.content.length, delete y[46];
27477
- var Y = parse_shallow(y[4][0].data);
27476
+ y.content = compress_iwa_file(write_iwa_file(S)), y.size = y.content.length, delete g[46];
27477
+ var Y = parse_shallow(g[4][0].data);
27478
27478
  {
27479
27479
  Y[7][0].data = write_varint49(i.e.r + 1);
27480
27480
  var X = parse_shallow(Y[1][0].data), W = parse_TSP_Reference(X[2][0].data);
27481
- g = CFB.find(f, o[W].location), S = parse_iwa_file(decompress_iwa_file(g.content));
27481
+ y = CFB.find(f, o[W].location), S = parse_iwa_file(decompress_iwa_file(y.content));
27482
27482
  {
27483
27483
  if (S[0].id != W)
27484
27484
  throw "Bad HeaderStorageBucket";
@@ -27489,9 +27489,9 @@ function write_numbers_iwa(e, t) {
27489
27489
  }
27490
27490
  S[0].messages[0].data = write_shallow(K);
27491
27491
  }
27492
- g.content = compress_iwa_file(write_iwa_file(S)), g.size = g.content.length;
27492
+ y.content = compress_iwa_file(write_iwa_file(S)), y.size = y.content.length;
27493
27493
  var q = parse_TSP_Reference(Y[2][0].data);
27494
- g = CFB.find(f, o[q].location), S = parse_iwa_file(decompress_iwa_file(g.content));
27494
+ y = CFB.find(f, o[q].location), S = parse_iwa_file(decompress_iwa_file(y.content));
27495
27495
  {
27496
27496
  if (S[0].id != q)
27497
27497
  throw "Bad HeaderStorageBucket";
@@ -27499,7 +27499,7 @@ function write_numbers_iwa(e, t) {
27499
27499
  ne = parse_shallow(K[2][0].data), ne[1][0].data = write_varint49(A), ne[4][0].data = write_varint49(i.e.r + 1), K[2][A] = { type: K[2][0].type, data: write_shallow(ne) };
27500
27500
  S[0].messages[0].data = write_shallow(K);
27501
27501
  }
27502
- g.content = compress_iwa_file(write_iwa_file(S)), g.size = g.content.length;
27502
+ y.content = compress_iwa_file(write_iwa_file(S)), y.size = y.content.length;
27503
27503
  var L = parse_TSP_Reference(Y[4][0].data);
27504
27504
  (function() {
27505
27505
  for (var H = CFB.find(f, o[L].location), B = parse_iwa_file(decompress_iwa_file(H.content)), z, re = 0; re < B.length; ++re) {
@@ -27550,9 +27550,9 @@ function write_numbers_iwa(e, t) {
27550
27550
  }
27551
27551
  Y[3][0].data = write_shallow(j);
27552
27552
  }
27553
- y[4][0].data = write_shallow(Y);
27553
+ g[4][0].data = write_shallow(Y);
27554
27554
  }
27555
- x.messages[0].data = write_shallow(y);
27555
+ x.messages[0].data = write_shallow(g);
27556
27556
  var D = write_iwa_file(u), P = compress_iwa_file(D);
27557
27557
  return m.content = P, m.size = m.content.length, f;
27558
27558
  }
@@ -27634,12 +27634,12 @@ function write_zip_xlsx(e, t) {
27634
27634
  if (u) {
27635
27635
  var d = u["!comments"], p = !1, E = "";
27636
27636
  if (d && d.length > 0) {
27637
- var y = !1;
27637
+ var g = !1;
27638
27638
  d.forEach(function(_) {
27639
- _[1].forEach(function(g) {
27640
- g.T == !0 && (y = !0);
27639
+ _[1].forEach(function(y) {
27640
+ y.T == !0 && (g = !0);
27641
27641
  });
27642
- }), y && (E = "xl/threadedComments/threadedComment" + o + "." + r, zip_add_file(n, E, write_tcmnt_xml(d, c, t)), s.threadedcomments.push(E), add_rels(m, -1, "../threadedComments/threadedComment" + o + "." + r, RELS.TCMNT)), E = "xl/comments" + o + "." + r, zip_add_file(n, E, write_comments_xml(d)), s.comments.push(E), add_rels(m, -1, "../comments" + o + "." + r, RELS.CMNT), p = !0;
27642
+ }), g && (E = "xl/threadedComments/threadedComment" + o + "." + r, zip_add_file(n, E, write_tcmnt_xml(d, c, t)), s.threadedcomments.push(E), add_rels(m, -1, "../threadedComments/threadedComment" + o + "." + r, RELS.TCMNT)), E = "xl/comments" + o + "." + r, zip_add_file(n, E, write_comments_xml(d)), s.comments.push(E), add_rels(m, -1, "../comments" + o + "." + r, RELS.CMNT), p = !0;
27643
27643
  }
27644
27644
  u["!legacy"] && p && zip_add_file(n, "xl/drawings/vmlDrawing" + o + ".vml", write_comments_vml(o, u["!comments"])), delete u["!comments"], delete u["!legacy"];
27645
27645
  }
@@ -27918,12 +27918,12 @@ function sheet_to_json(e, t) {
27918
27918
  l = c;
27919
27919
  }
27920
27920
  i > 0 && (s = 0);
27921
- var m = encode_row(l.s.r), u = [], x = [], d = 0, p = 0, E = Array.isArray(e), y = l.s.r, _ = 0, g = {};
27922
- E && !e[y] && (e[y] = []);
27921
+ var m = encode_row(l.s.r), u = [], x = [], d = 0, p = 0, E = Array.isArray(e), g = l.s.r, _ = 0, y = {};
27922
+ E && !e[g] && (e[g] = []);
27923
27923
  var S = f.skipHidden && e["!cols"] || [], C = f.skipHidden && e["!rows"] || [];
27924
27924
  for (_ = l.s.c; _ <= l.e.c; ++_)
27925
27925
  if (!(S[_] || {}).hidden)
27926
- switch (u[_] = encode_col(_), r = E ? e[y][_] : e[u[_] + m], i) {
27926
+ switch (u[_] = encode_col(_), r = E ? e[g][_] : e[u[_] + m], i) {
27927
27927
  case 1:
27928
27928
  n[_] = _ - l.s.c;
27929
27929
  break;
@@ -27934,18 +27934,18 @@ function sheet_to_json(e, t) {
27934
27934
  n[_] = f.header[_ - l.s.c];
27935
27935
  break;
27936
27936
  default:
27937
- if (r == null && (r = { w: "__EMPTY", t: "s" }), o = a = format_cell(r, null, f), p = g[a] || 0, !p) g[a] = 1;
27937
+ if (r == null && (r = { w: "__EMPTY", t: "s" }), o = a = format_cell(r, null, f), p = y[a] || 0, !p) y[a] = 1;
27938
27938
  else {
27939
27939
  do
27940
27940
  o = a + "_" + p++;
27941
- while (g[o]);
27942
- g[a] = p, g[o] = 1;
27941
+ while (y[o]);
27942
+ y[a] = p, y[o] = 1;
27943
27943
  }
27944
27944
  n[_] = o;
27945
27945
  }
27946
- for (y = l.s.r + s; y <= l.e.r; ++y)
27947
- if (!(C[y] || {}).hidden) {
27948
- var T = make_json_row(e, l, y, u, i, n, E, f);
27946
+ for (g = l.s.r + s; g <= l.e.r; ++g)
27947
+ if (!(C[g] || {}).hidden) {
27948
+ var T = make_json_row(e, l, g, u, i, n, E, f);
27949
27949
  (T.isempty === !1 || (i === 1 ? f.blankrows !== !1 : f.blankrows)) && (x[d++] = T.row);
27950
27950
  }
27951
27951
  return x.length = d, x;
@@ -28028,10 +28028,10 @@ function sheet_add_json(e, t, r) {
28028
28028
  a == -1 && (a = 0, c.e.r = t.length - 1 + s);
28029
28029
  var u = i.header || [], x = 0;
28030
28030
  t.forEach(function(p, E) {
28031
- keys(p).forEach(function(y) {
28032
- (x = u.indexOf(y)) == -1 && (u[x = u.length] = y);
28033
- var _ = p[y], g = "z", S = "", C = encode_cell({ c: o + x, r: a + E + s });
28034
- f = ws_get_cell_stub(n, C), _ && typeof _ == "object" && !(_ instanceof Date) ? n[C] = _ : (typeof _ == "number" ? g = "n" : typeof _ == "boolean" ? g = "b" : typeof _ == "string" ? g = "s" : _ instanceof Date ? (g = "d", i.cellDates || (g = "n", _ = datenum(_)), S = i.dateNF || table_fmt[14]) : _ === null && i.nullError && (g = "e", _ = 0), f ? (f.t = g, f.v = _, delete f.w, delete f.R, S && (f.z = S)) : n[C] = f = { t: g, v: _ }, S && (f.z = S));
28031
+ keys(p).forEach(function(g) {
28032
+ (x = u.indexOf(g)) == -1 && (u[x = u.length] = g);
28033
+ var _ = p[g], y = "z", S = "", C = encode_cell({ c: o + x, r: a + E + s });
28034
+ f = ws_get_cell_stub(n, C), _ && typeof _ == "object" && !(_ instanceof Date) ? n[C] = _ : (typeof _ == "number" ? y = "n" : typeof _ == "boolean" ? y = "b" : typeof _ == "string" ? y = "s" : _ instanceof Date ? (y = "d", i.cellDates || (y = "n", _ = datenum(_)), S = i.dateNF || table_fmt[14]) : _ === null && i.nullError && (y = "e", _ = 0), f ? (f.t = y, f.v = _, delete f.w, delete f.R, S && (f.z = S)) : n[C] = f = { t: y, v: _ }, S && (f.z = S));
28035
28035
  });
28036
28036
  }), c.e.c = Math.max(c.e.c, o + u.length - 1);
28037
28037
  var d = encode_row(a);
@@ -28271,9 +28271,9 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
28271
28271
  isCancelButtonRequired: d,
28272
28272
  isExportToExcelRequired: p,
28273
28273
  isExportAllToExcel: E,
28274
- handleEditClick: y,
28274
+ handleEditClick: g,
28275
28275
  handleAddClick: _,
28276
- handleDeleteClick: g,
28276
+ handleDeleteClick: y,
28277
28277
  handleApproveClick: S,
28278
28278
  handleReassignClick: C,
28279
28279
  handleCancelClick: T,
@@ -29169,7 +29169,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29169
29169
  width: 20,
29170
29170
  height: 20,
29171
29171
  style: { cursor: "pointer" },
29172
- onClick: y
29172
+ onClick: g
29173
29173
  }
29174
29174
  ),
29175
29175
  x && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -29213,7 +29213,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29213
29213
  width: 20,
29214
29214
  height: 20,
29215
29215
  style: { cursor: "pointer" },
29216
- onClick: g
29216
+ onClick: y
29217
29217
  }
29218
29218
  ),
29219
29219
  f && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -29703,15 +29703,15 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29703
29703
  }
29704
29704
  );
29705
29705
  }, DateRangeIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19%204.5H18V3.5C18%202.95%2017.55%202.5%2017%202.5C16.45%202.5%2016%202.95%2016%203.5V4.5H8V3.5C8%202.95%207.55%202.5%207%202.5C6.45%202.5%206%202.95%206%203.5V4.5H5C3.89%204.5%203.01%205.4%203.01%206.5L3%2020.5C3%2021.6%203.89%2022.5%205%2022.5H19C20.1%2022.5%2021%2021.6%2021%2020.5V6.5C21%205.4%2020.1%204.5%2019%204.5ZM19%2019.5C19%2020.05%2018.55%2020.5%2018%2020.5H6C5.45%2020.5%205%2020.05%205%2019.5V9.5H19V19.5ZM7%2011.5H9V13.5H7V11.5ZM11%2011.5H13V13.5H11V11.5ZM15%2011.5H17V13.5H15V11.5Z'%20fill='black'%20fill-opacity='0.54'/%3e%3c/svg%3e", WEEKDAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], CEDatePicker = ({ onChange: e, label: t = "Calendar" }) => {
29706
- const [r, i] = useState(!1), [s, n] = useState(null), [a, o] = useState(/* @__PURE__ */ new Date()), [l, f] = useState(!1), [c, m] = useState({ start: 2020, end: 2031 }), [u, x] = useState("left"), [d, p] = useState(0), E = useRef(null), [y, _] = useState(!1), [g, S] = useState(""), [C, T] = useState(""), [A, R] = useState(""), [I, Y] = useState(!0), X = () => {
29707
- i(!1), !g && !C && !A && _(!1);
29706
+ const [r, i] = useState(!1), [s, n] = useState(null), [a, o] = useState(/* @__PURE__ */ new Date()), [l, f] = useState(!1), [c, m] = useState({ start: 2020, end: 2031 }), [u, x] = useState("left"), [d, p] = useState(0), E = useRef(null), [g, _] = useState(!1), [y, S] = useState(""), [C, T] = useState(""), [A, R] = useState(""), [I, Y] = useState(!0), X = () => {
29707
+ i(!1), !y && !C && !A && _(!1);
29708
29708
  };
29709
29709
  useEscapeKey(X);
29710
29710
  const W = () => {
29711
29711
  i((M) => {
29712
29712
  if (!M) {
29713
29713
  const D = s || /* @__PURE__ */ new Date();
29714
- o(D), g || S(String(D.getMonth() + 1).padStart(2, "0")), C || T(String(D.getDate()).padStart(2, "0")), A || R(String(D.getFullYear()));
29714
+ o(D), y || S(String(D.getMonth() + 1).padStart(2, "0")), C || T(String(D.getDate()).padStart(2, "0")), A || R(String(D.getFullYear()));
29715
29715
  }
29716
29716
  return !M;
29717
29717
  });
@@ -29721,7 +29721,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29721
29721
  E.current && !E.current.contains(D.target) && X();
29722
29722
  };
29723
29723
  return document.addEventListener("mousedown", M), () => document.removeEventListener("mousedown", M);
29724
- }, [g, C, A]);
29724
+ }, [y, C, A]);
29725
29725
  const K = (M) => {
29726
29726
  const D = new Date(a.getFullYear(), a.getMonth(), M);
29727
29727
  n(D), o(D);
@@ -29776,8 +29776,8 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29776
29776
  }
29777
29777
  };
29778
29778
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dp-wrapper", ref: E, children: [
29779
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `dp-input-container ${y || r ? "focused" : ""} ${I ? "" : "invalid"}`, children: [
29780
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dp-label ${y || r || s || g || C || A ? "floating" : ""} ${I ? "" : "invalid"}`, children: t }),
29779
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `dp-input-container ${g || r ? "focused" : ""} ${I ? "" : "invalid"}`, children: [
29780
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dp-label ${g || r || s || y || C || A ? "floating" : ""} ${I ? "" : "invalid"}`, children: t }),
29781
29781
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
29782
29782
  "div",
29783
29783
  {
@@ -29789,7 +29789,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29789
29789
  /* @__PURE__ */ jsxRuntimeExports.jsx(
29790
29790
  DateInputPart,
29791
29791
  {
29792
- value: g,
29792
+ value: y,
29793
29793
  onChange: (M) => {
29794
29794
  S(M), k(M, C, A);
29795
29795
  },
@@ -29806,7 +29806,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29806
29806
  {
29807
29807
  value: C,
29808
29808
  onChange: (M) => {
29809
- T(M), k(g, M, A);
29809
+ T(M), k(y, M, A);
29810
29810
  },
29811
29811
  placeholder: "DD",
29812
29812
  max: 31,
@@ -29823,11 +29823,11 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29823
29823
  value: A,
29824
29824
  onChange: (M) => {
29825
29825
  const D = M.target.value.replace(/\D/g, "");
29826
- D.length <= 4 && (R(D), D.length === 4 && k(g, C, D));
29826
+ D.length <= 4 && (R(D), D.length === 4 && k(y, C, D));
29827
29827
  },
29828
29828
  onFocus: (M) => M.target.select(),
29829
29829
  onBlur: () => {
29830
- A.length === 4 && k(g, C, A);
29830
+ A.length === 4 && k(y, C, A);
29831
29831
  },
29832
29832
  className: "date-input-part",
29833
29833
  maxLength: 4,
@@ -29860,36 +29860,37 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29860
29860
  }, CEDateRangePicker = ({
29861
29861
  label: e = "Submitted Date",
29862
29862
  onChange: t,
29863
- size: r = "medium"
29863
+ size: r = "medium",
29864
+ style: i
29864
29865
  }) => {
29865
- const [i, s] = useState(""), [n, a] = useState(""), [o, l] = useState(!1), [f, c] = useState(""), m = () => l(!0), u = (y) => {
29866
- !y.currentTarget.value && !i && !n && l(!1);
29867
- }, x = (y, _) => {
29868
- y && _ && new Date(_) < new Date(y) ? c("End date must be after or equal to start date") : (c(""), t == null || t({ startDate: y, endDate: _ }));
29869
- }, d = (y) => {
29870
- const _ = y.target.value;
29871
- s(_), x(_, n);
29872
- }, p = (y) => {
29873
- const _ = y.target.value;
29874
- a(_), x(i, _);
29875
- }, E = getSizeStyle$1(r);
29876
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "date-range-picker", children: [
29866
+ const [s, n] = useState(""), [a, o] = useState(""), [l, f] = useState(!1), [c, m] = useState(""), u = () => f(!0), x = (_) => {
29867
+ !_.currentTarget.value && !s && !a && f(!1);
29868
+ }, d = (_, y) => {
29869
+ _ && y && new Date(y) < new Date(_) ? m("End date must be after or equal to start date") : (m(""), t == null || t({ startDate: _, endDate: y }));
29870
+ }, p = (_) => {
29871
+ const y = _.target.value;
29872
+ n(y), d(y, a);
29873
+ }, E = (_) => {
29874
+ const y = _.target.value;
29875
+ o(y), d(s, y);
29876
+ }, g = getSizeStyle$1(r);
29877
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "date-range-picker", style: i, children: [
29877
29878
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "floating-label float", children: e }),
29878
29879
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
29879
29880
  "div",
29880
29881
  {
29881
- className: `input-group ${f ? "input-error" : ""}`,
29882
- style: { padding: E.padding, fontSize: E.fontSize },
29882
+ className: `input-group ${c ? "input-error" : ""}`,
29883
+ style: { padding: g.padding, fontSize: g.fontSize },
29883
29884
  children: [
29884
29885
  /* @__PURE__ */ jsxRuntimeExports.jsx(
29885
29886
  "input",
29886
29887
  {
29887
29888
  type: "date",
29888
- value: i,
29889
- onChange: d,
29890
- onFocus: m,
29891
- onBlur: u,
29892
- style: { fontSize: E.fontSize }
29889
+ value: s,
29890
+ onChange: p,
29891
+ onFocus: u,
29892
+ onBlur: x,
29893
+ style: { fontSize: g.fontSize }
29893
29894
  }
29894
29895
  ),
29895
29896
  /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "separator", children: " - " }),
@@ -29897,17 +29898,17 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
29897
29898
  "input",
29898
29899
  {
29899
29900
  type: "date",
29900
- value: n,
29901
- onChange: p,
29902
- onFocus: m,
29903
- onBlur: u,
29904
- style: { fontSize: E.fontSize }
29901
+ value: a,
29902
+ onChange: E,
29903
+ onFocus: u,
29904
+ onBlur: x,
29905
+ style: { fontSize: g.fontSize }
29905
29906
  }
29906
29907
  )
29907
29908
  ]
29908
29909
  }
29909
29910
  ),
29910
- f && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "error-text", children: f })
29911
+ c && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "error-text", children: c })
29911
29912
  ] });
29912
29913
  }, FieldsInput = ({
29913
29914
  label: e,
@@ -30010,7 +30011,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30010
30011
  recentSearches: i = []
30011
30012
  }) => {
30012
30013
  const [s, n] = useState(!1), [a, o] = useState(""), [l, f] = useState(r), [c, m] = useState(i), u = (d, p) => {
30013
- d === "quickActions" ? f((E) => E.filter((y, _) => _ !== p)) : m((E) => E.filter((y, _) => _ !== p));
30014
+ d === "quickActions" ? f((E) => E.filter((g, _) => _ !== p)) : m((E) => E.filter((g, _) => _ !== p));
30014
30015
  }, x = () => {
30015
30016
  a.trim() !== "" && (m((d) => [a, ...d]), o(""));
30016
30017
  };
@@ -30248,7 +30249,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30248
30249
  onMenuClick: d,
30249
30250
  drawerJsonUrl: p = "",
30250
30251
  isDrawerOpen: E = !1,
30251
- onDrawerClose: y
30252
+ onDrawerClose: g
30252
30253
  }) => {
30253
30254
  const _ = () => /* @__PURE__ */ jsxRuntimeExports.jsxs(
30254
30255
  "svg",
@@ -30332,7 +30333,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30332
30333
  {
30333
30334
  jsonUrl: p,
30334
30335
  isOpen: E,
30335
- onClose: y || (() => {
30336
+ onClose: g || (() => {
30336
30337
  })
30337
30338
  }
30338
30339
  )
@@ -30384,14 +30385,14 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30384
30385
  }) => {
30385
30386
  const [d, p] = useState(!1), E = (C) => {
30386
30387
  p(!0);
30387
- }, y = (C) => {
30388
+ }, g = (C) => {
30388
30389
  p(!1);
30389
30390
  }, _ = (C) => {
30390
30391
  const T = C.target.value;
30391
30392
  i === "number" && !/^\d*$/.test(T) || i === "alphanumeric" && !/^[a-zA-Z0-9]*$/.test(T) || t(T);
30392
- }, g = getSizeStyle$1(x || "medium"), S = {
30393
- fontSize: g.fontSize,
30394
- padding: g.padding,
30393
+ }, y = getSizeStyle$1(x || "medium"), S = {
30394
+ fontSize: y.fontSize,
30395
+ padding: y.padding,
30395
30396
  ...u
30396
30397
  // if you have a style prop
30397
30398
  };
@@ -30403,14 +30404,27 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30403
30404
  children: c
30404
30405
  }
30405
30406
  ),
30406
- /* @__PURE__ */ jsxRuntimeExports.jsx(
30407
+ i === "textarea" ? /* @__PURE__ */ jsxRuntimeExports.jsx(
30408
+ "textarea",
30409
+ {
30410
+ value: e,
30411
+ onChange: _,
30412
+ onFocus: E,
30413
+ onBlur: g,
30414
+ placeholder: r || " ",
30415
+ className: "validated-input-field",
30416
+ disabled: m,
30417
+ style: S,
30418
+ rows: 4
30419
+ }
30420
+ ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
30407
30421
  "input",
30408
30422
  {
30409
30423
  type: i,
30410
30424
  value: e,
30411
30425
  onChange: _,
30412
30426
  onFocus: E,
30413
- onBlur: y,
30427
+ onBlur: g,
30414
30428
  placeholder: r || " ",
30415
30429
  className: "validated-input-field",
30416
30430
  disabled: m,
@@ -30429,22 +30443,22 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30429
30443
  style: a = {},
30430
30444
  allowClear: o = !0
30431
30445
  }) => {
30432
- const [l, f] = useState(!1), [c, m] = useState(!1), u = useRef(null), d = { ...getSizeStyle$1(n), ...a }, p = (g) => {
30446
+ const [l, f] = useState(!1), [c, m] = useState(!1), u = useRef(null), d = { ...getSizeStyle$1(n), ...a }, p = (y) => {
30433
30447
  if (i) {
30434
- const S = t.includes(g) ? t.filter((C) => C !== g) : [...t, g];
30448
+ const S = t.includes(y) ? t.filter((C) => C !== y) : [...t, y];
30435
30449
  r(S);
30436
30450
  } else
30437
- r([g]), f(!1);
30438
- }, E = () => r([]), y = e.filter((g) => t.includes(g.value)).map((g) => g.label);
30451
+ r([y]), f(!1);
30452
+ }, E = () => r([]), g = e.filter((y) => t.includes(y.value)).map((y) => y.label);
30439
30453
  useEffect(() => {
30440
- const g = (S) => {
30454
+ const y = (S) => {
30441
30455
  var C;
30442
30456
  (C = u.current) != null && C.contains(S.target) || f(!1);
30443
30457
  };
30444
- return document.addEventListener("mousedown", g), () => document.removeEventListener("mousedown", g);
30458
+ return document.addEventListener("mousedown", y), () => document.removeEventListener("mousedown", y);
30445
30459
  }, []);
30446
- const _ = (g) => {
30447
- const S = t.filter((C) => C !== g);
30460
+ const _ = (y) => {
30461
+ const S = t.filter((C) => C !== y);
30448
30462
  r(S);
30449
30463
  };
30450
30464
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -30457,32 +30471,32 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30457
30471
  "div",
30458
30472
  {
30459
30473
  className: `dropdown-input ${l ? "open" : ""}`,
30460
- onClick: () => f((g) => !g),
30474
+ onClick: () => f((y) => !y),
30461
30475
  onFocus: () => m(!0),
30462
30476
  onBlur: () => m(!1),
30463
30477
  tabIndex: 0,
30464
30478
  children: [
30465
30479
  /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "floating-placeholder", children: s }),
30466
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "selected-display", children: t.length === 0 ? "" : i ? y.map((g, S) => /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "chip", children: [
30467
- g,
30480
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "selected-display", children: t.length === 0 ? "" : i ? g.map((y, S) => /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "chip", children: [
30481
+ y,
30468
30482
  /* @__PURE__ */ jsxRuntimeExports.jsx(
30469
30483
  "span",
30470
30484
  {
30471
30485
  className: "close-icon",
30472
30486
  onClick: (C) => {
30473
30487
  var T;
30474
- C.stopPropagation(), _(((T = e.find((A) => A.label === g)) == null ? void 0 : T.value) || "");
30488
+ C.stopPropagation(), _(((T = e.find((A) => A.label === y)) == null ? void 0 : T.value) || "");
30475
30489
  },
30476
30490
  children: "×"
30477
30491
  }
30478
30492
  )
30479
- ] }, S)) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: y[0] }) }),
30493
+ ] }, S)) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: g[0] }) }),
30480
30494
  o && t.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
30481
30495
  "button",
30482
30496
  {
30483
30497
  className: "clear-button",
30484
- onClick: (g) => {
30485
- g.stopPropagation(), E();
30498
+ onClick: (y) => {
30499
+ y.stopPropagation(), E();
30486
30500
  },
30487
30501
  children: "×"
30488
30502
  }
@@ -30506,12 +30520,12 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30506
30520
  )
30507
30521
  }
30508
30522
  ) }),
30509
- l && /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "dropdown-options", children: e.map((g) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
30523
+ l && /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "dropdown-options", children: e.map((y) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
30510
30524
  "li",
30511
30525
  {
30512
- className: `dropdown-option ${t.includes(g.value) ? "selected" : ""}`,
30526
+ className: `dropdown-option ${t.includes(y.value) ? "selected" : ""}`,
30513
30527
  onClick: (S) => {
30514
- S.stopPropagation(), p(g.value);
30528
+ S.stopPropagation(), p(y.value);
30515
30529
  },
30516
30530
  children: [
30517
30531
  i && /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -30519,13 +30533,13 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30519
30533
  {
30520
30534
  type: "checkbox",
30521
30535
  readOnly: !0,
30522
- checked: t.includes(g.value)
30536
+ checked: t.includes(y.value)
30523
30537
  }
30524
30538
  ),
30525
- g.label
30539
+ y.label
30526
30540
  ]
30527
30541
  },
30528
- g.value
30542
+ y.value
30529
30543
  )) })
30530
30544
  ]
30531
30545
  }
@@ -30735,7 +30749,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30735
30749
  } catch {
30736
30750
  return !1;
30737
30751
  }
30738
- }, []), y = useCallback(() => {
30752
+ }, []), g = useCallback(() => {
30739
30753
  p({
30740
30754
  bold: E("bold"),
30741
30755
  italic: E("italic"),
@@ -30766,8 +30780,8 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30766
30780
  document.execCommand("insertHTML", !1, K);
30767
30781
  }
30768
30782
  } else T === "fontSize" || T === "fontName" ? (restoreSelection(R), document.execCommand(T, !0, A), T === "fontSize" ? m(A) : x(A)) : (restoreSelection(R), document.execCommand(T, !1, A));
30769
- f.current && (t == null || t(f.current.innerHTML)), (X = f.current) == null || X.focus(), y();
30770
- }, [t, y]), g = (T) => {
30783
+ f.current && (t == null || t(f.current.innerHTML)), (X = f.current) == null || X.focus(), g();
30784
+ }, [t, g]), y = (T) => {
30771
30785
  if (T.key === "Tab" && (T.preventDefault(), document.execCommand("insertHTML", !1, "&nbsp;&nbsp;&nbsp;&nbsp;")), T.ctrlKey || T.metaKey)
30772
30786
  switch (T.key.toLowerCase()) {
30773
30787
  case "z":
@@ -30957,11 +30971,11 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
30957
30971
  height: i === "auto" ? "auto" : "100%",
30958
30972
  ...l
30959
30973
  },
30960
- onKeyDown: g,
30961
- onKeyUp: y,
30962
- onMouseUp: y,
30974
+ onKeyDown: y,
30975
+ onKeyUp: g,
30976
+ onMouseUp: g,
30963
30977
  onInput: () => {
30964
- f.current && (t == null || t(f.current.innerHTML)), y();
30978
+ f.current && (t == null || t(f.current.innerHTML)), g();
30965
30979
  }
30966
30980
  }
30967
30981
  )
@@ -31006,7 +31020,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31006
31020
  initialTime: r = "",
31007
31021
  className: i = ""
31008
31022
  }) => {
31009
- const [s, n] = useState(!1), [a, o] = useState(r), [l, f] = useState("12"), [c, m] = useState("00"), [u, x] = useState("AM"), [d, p] = useState(!1), [E, y] = useState(""), [_, g] = useState(""), S = useRef(null), C = Array.from({ length: 12 }, (q, L) => String(L + 1).padStart(2, "0")), T = Array.from({ length: 60 }, (q, L) => String(L).padStart(2, "0")), A = (q, L) => {
31023
+ const [s, n] = useState(!1), [a, o] = useState(r), [l, f] = useState("12"), [c, m] = useState("00"), [u, x] = useState("AM"), [d, p] = useState(!1), [E, g] = useState(""), [_, y] = useState(""), S = useRef(null), C = Array.from({ length: 12 }, (q, L) => String(L + 1).padStart(2, "0")), T = Array.from({ length: 60 }, (q, L) => String(L).padStart(2, "0")), A = (q, L) => {
31010
31024
  if (!q) return "";
31011
31025
  const j = parseInt(q);
31012
31026
  return L === "hours" ? j > 12 ? "12" : j === 0 ? "01" : q.padStart(2, "0") : j > 59 ? "59" : q.padStart(2, "0");
@@ -31091,13 +31105,13 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31091
31105
  if (j <= 2) {
31092
31106
  if (E) {
31093
31107
  const b = A(E, "hours");
31094
- f(b), y(""), o(`${b}:${c} ${u}`);
31108
+ f(b), g(""), o(`${b}:${c} ${u}`);
31095
31109
  }
31096
31110
  q.currentTarget.setSelectionRange(3, 5);
31097
31111
  } else if (j >= 3 && j <= 5) {
31098
31112
  if (_) {
31099
31113
  const b = A(_, "minutes");
31100
- m(b), g(""), o(`${l}:${b} ${u}`);
31114
+ m(b), y(""), o(`${l}:${b} ${u}`);
31101
31115
  }
31102
31116
  q.currentTarget.setSelectionRange(6, 8);
31103
31117
  }
@@ -31215,7 +31229,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31215
31229
  }
31216
31230
  })();
31217
31231
  }, []);
31218
- const y = (C) => {
31232
+ const g = (C) => {
31219
31233
  if (C === "available") {
31220
31234
  const T = n.filter((R) => x.has(R.id)).sort((R, I) => {
31221
31235
  const Y = parseInt(R.id.replace(/\D/g, "")), X = parseInt(I.id.replace(/\D/g, ""));
@@ -31241,7 +31255,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31241
31255
  const I = new Set(R);
31242
31256
  return I.has(C) ? I.delete(C) : I.add(C), I;
31243
31257
  });
31244
- }, g = (C, T, A) => (R) => {
31258
+ }, y = (C, T, A) => (R) => {
31245
31259
  const I = new Set(T), Y = C.filter((X) => !X.disabled);
31246
31260
  R ? Y.forEach((X) => I.add(X.id)) : Y.forEach((X) => I.delete(X.id)), A(I);
31247
31261
  }, S = (C, T, A, R) => {
@@ -31253,7 +31267,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31253
31267
  {
31254
31268
  label: "",
31255
31269
  checked: Y,
31256
- onChange: g(C, T, A),
31270
+ onChange: y(C, T, A),
31257
31271
  disabled: K
31258
31272
  }
31259
31273
  ) }),
@@ -31289,7 +31303,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31289
31303
  CETransferButton,
31290
31304
  {
31291
31305
  label: ">>",
31292
- onClick: () => y("available"),
31306
+ onClick: () => g("available"),
31293
31307
  disabled: x.size === 0,
31294
31308
  className: s
31295
31309
  }
@@ -31298,7 +31312,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31298
31312
  CETransferButton,
31299
31313
  {
31300
31314
  label: "<<",
31301
- onClick: () => y("chosen"),
31315
+ onClick: () => g("chosen"),
31302
31316
  disabled: p.size === 0,
31303
31317
  className: s
31304
31318
  }
@@ -31306,7 +31320,27 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31306
31320
  ] }),
31307
31321
  S(o, p, E, "Chosen")
31308
31322
  ] });
31309
- }, CEChatbox = ({ buttonLabel: e, buttonIcon: t }) => {
31323
+ }, CEBadge = ({
31324
+ label: e,
31325
+ backgroundColor: t = "#e0e0e0",
31326
+ textColor: r = "#000",
31327
+ style: i
31328
+ }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
31329
+ "span",
31330
+ {
31331
+ style: {
31332
+ backgroundColor: t,
31333
+ color: r,
31334
+ padding: "4px 10px",
31335
+ borderRadius: "12px",
31336
+ fontSize: "12px",
31337
+ display: "inline-block",
31338
+ whiteSpace: "nowrap",
31339
+ ...i
31340
+ },
31341
+ children: e
31342
+ }
31343
+ ), CEChatbox = ({ buttonLabel: e, buttonIcon: t }) => {
31310
31344
  const [r, i] = useState([
31311
31345
  {
31312
31346
  id: 1,
@@ -31383,10 +31417,188 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
31383
31417
  ] })
31384
31418
  ] }, l.id)) })
31385
31419
  ] });
31420
+ }, CEStatusDropdown = ({
31421
+ options: e,
31422
+ selected: t,
31423
+ onChange: r,
31424
+ placeholder: i = "Select status...",
31425
+ size: s = "medium",
31426
+ disabled: n = !1,
31427
+ ariaLabel: a = "Status selection dropdown"
31428
+ }) => {
31429
+ const [o, l] = useState(!1), f = useRef(null), c = e.find((p) => p.value === t), m = (p) => {
31430
+ r(p), l(!1);
31431
+ };
31432
+ useEffect(() => {
31433
+ const p = (E) => {
31434
+ var g;
31435
+ (g = f.current) != null && g.contains(E.target) || l(!1);
31436
+ };
31437
+ return document.addEventListener("mousedown", p), () => document.removeEventListener("mousedown", p);
31438
+ }, []);
31439
+ const u = (p) => {
31440
+ n || (p.key === "Enter" || p.key === " " ? (p.preventDefault(), l(!o)) : p.key === "Escape" && l(!1));
31441
+ }, x = (p) => {
31442
+ if (p != null && p.statusType)
31443
+ switch (p.statusType) {
31444
+ case "in-progress":
31445
+ return "in-progress";
31446
+ case "declined":
31447
+ return "declined";
31448
+ case "withdrawn":
31449
+ return "withdrawn";
31450
+ default:
31451
+ return "";
31452
+ }
31453
+ return "";
31454
+ }, d = () => {
31455
+ if (c) {
31456
+ const p = {};
31457
+ return c.backgroundColor && (p.backgroundColor = c.backgroundColor), c.textColor && (p.color = c.textColor), p;
31458
+ }
31459
+ return {};
31460
+ };
31461
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
31462
+ "div",
31463
+ {
31464
+ className: `status-dropdown-container ${n ? "disabled" : ""} size-${s}`,
31465
+ ref: f,
31466
+ children: [
31467
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(
31468
+ "div",
31469
+ {
31470
+ className: `status-dropdown-trigger ${o ? "open" : ""} ${c ? `has-selection ${x(c)}` : ""}`,
31471
+ onClick: () => !n && l(!o),
31472
+ onKeyDown: u,
31473
+ tabIndex: n ? -1 : 0,
31474
+ role: "button",
31475
+ "aria-haspopup": "listbox",
31476
+ "aria-expanded": o ? "true" : "false",
31477
+ "aria-label": a,
31478
+ style: d(),
31479
+ children: [
31480
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "status-text", children: c ? c.label : i }),
31481
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "status-dropdown-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
31482
+ "svg",
31483
+ {
31484
+ width: "24",
31485
+ height: "24",
31486
+ viewBox: "0 0 24 24",
31487
+ fill: "none",
31488
+ xmlns: "http://www.w3.org/2000/svg",
31489
+ className: `dropdown-arrow ${o ? "rotate" : ""}`,
31490
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
31491
+ "path",
31492
+ {
31493
+ d: "M8.12021 9.79006L12.0002 13.6701L15.8802 9.79006C16.2702 9.40006 16.9002 9.40006 17.2902 9.79006C17.6802 10.1801 17.6802 10.8101 17.2902 11.2001L12.7002 15.7901C12.3102 16.1801 11.6802 16.1801 11.2902 15.7901L6.70021 11.2001C6.31021 10.8101 6.31021 10.1801 6.70021 9.79006C7.09021 9.41006 7.73021 9.40006 8.12021 9.79006Z",
31494
+ fill: "currentColor",
31495
+ fillOpacity: "0.7"
31496
+ }
31497
+ )
31498
+ }
31499
+ ) })
31500
+ ]
31501
+ }
31502
+ ),
31503
+ o && !n && /* @__PURE__ */ jsxRuntimeExports.jsx(
31504
+ "ul",
31505
+ {
31506
+ className: "status-dropdown-options",
31507
+ role: "listbox",
31508
+ "aria-label": "Status options",
31509
+ children: e.map((p) => {
31510
+ const E = {};
31511
+ return p.backgroundColor && (E.backgroundColor = p.backgroundColor), p.textColor && (E.color = p.textColor), /* @__PURE__ */ jsxRuntimeExports.jsxs(
31512
+ "li",
31513
+ {
31514
+ className: `status-dropdown-option ${t === p.value ? "selected" : ""} ${x(p)}`,
31515
+ onClick: () => m(p.value),
31516
+ role: "option",
31517
+ "aria-selected": t === p.value ? "true" : "false",
31518
+ style: E,
31519
+ children: [
31520
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "option-indicator", children: p.icon ? p.icon : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
31521
+ p.statusType === "declined" && /* @__PURE__ */ jsxRuntimeExports.jsxs(
31522
+ "svg",
31523
+ {
31524
+ width: "16",
31525
+ height: "16",
31526
+ viewBox: "0 0 24 24",
31527
+ fill: "none",
31528
+ children: [
31529
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "#ff4757" }),
31530
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
31531
+ "path",
31532
+ {
31533
+ d: "M15 9l-6 6m0-6l6 6",
31534
+ stroke: "white",
31535
+ strokeWidth: "2",
31536
+ strokeLinecap: "round"
31537
+ }
31538
+ )
31539
+ ]
31540
+ }
31541
+ ),
31542
+ p.statusType === "withdrawn" && /* @__PURE__ */ jsxRuntimeExports.jsxs(
31543
+ "svg",
31544
+ {
31545
+ width: "16",
31546
+ height: "16",
31547
+ viewBox: "0 0 24 24",
31548
+ fill: "none",
31549
+ children: [
31550
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "#ffa502" }),
31551
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
31552
+ "path",
31553
+ {
31554
+ d: "M12 8v4M12 16h.01",
31555
+ stroke: "white",
31556
+ strokeWidth: "2",
31557
+ strokeLinecap: "round"
31558
+ }
31559
+ )
31560
+ ]
31561
+ }
31562
+ ),
31563
+ p.statusType === "in-progress" && /* @__PURE__ */ jsxRuntimeExports.jsxs(
31564
+ "svg",
31565
+ {
31566
+ width: "16",
31567
+ height: "16",
31568
+ viewBox: "0 0 24 24",
31569
+ fill: "none",
31570
+ children: [
31571
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "10", fill: "#5f27cd" }),
31572
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
31573
+ "path",
31574
+ {
31575
+ d: "M8 12l2 2 4-4",
31576
+ stroke: "white",
31577
+ strokeWidth: "2",
31578
+ strokeLinecap: "round",
31579
+ strokeLinejoin: "round"
31580
+ }
31581
+ )
31582
+ ]
31583
+ }
31584
+ )
31585
+ ] }) }),
31586
+ p.label
31587
+ ]
31588
+ },
31589
+ p.value
31590
+ );
31591
+ })
31592
+ }
31593
+ )
31594
+ ]
31595
+ }
31596
+ );
31386
31597
  };
31387
31598
  export {
31388
31599
  CEAutoSuggestInput,
31389
31600
  CEAvatarMenu,
31601
+ CEBadge,
31390
31602
  Breadcrumbs as CEBreadcrumbs,
31391
31603
  CEButton,
31392
31604
  CEChatbox,
@@ -31421,6 +31633,7 @@ export {
31421
31633
  CESearchBar,
31422
31634
  CESearchButton,
31423
31635
  CESnackBar,
31636
+ CEStatusDropdown,
31424
31637
  CEStepper,
31425
31638
  CETabView,
31426
31639
  CETemplate,