@ukpc-lib/react 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { r as x, R as Ia, g as Wa, e as ws, a as Ua, j as R, p as W, S as za, L as Ha, s as $a } from "../index-6ba7e1d4.js";
1
+ import { r as x, R as Ia, g as Wa, e as ws, a as Ua, j as R, p as I, S as za, L as Ha, s as $a } from "../index-6ba7e1d4.js";
2
2
  /**
3
3
  * @remix-run/router v1.14.2
4
4
  *
@@ -246,9 +246,9 @@ function Ts(e, t, n, r) {
246
246
  let l = Ka(i, a), c = s && s !== "/" && s.endsWith("/"), f = (o || s === ".") && n.endsWith("/");
247
247
  return !l.pathname.endsWith("/") && (c || f) && (l.pathname += "/"), l;
248
248
  }
249
- const As = (e) => e.join("/").replace(/\/\/+/g, "/"), Za = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Qa = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Ps = ["post", "put", "patch", "delete"];
250
- new Set(Ps);
251
- const el = ["get", ...Ps];
249
+ const Ps = (e) => e.join("/").replace(/\/\/+/g, "/"), Za = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Qa = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, As = ["post", "put", "patch", "delete"];
250
+ new Set(As);
251
+ const el = ["get", ...As];
252
252
  new Set(el);
253
253
  /**
254
254
  * React Router v6.21.3
@@ -290,7 +290,7 @@ function tl(e, t) {
290
290
  } = Os(e, {
291
291
  relative: n
292
292
  }), l = s;
293
- return r !== "/" && (l = s === "/" ? r : As([r, s])), i.createHref({
293
+ return r !== "/" && (l = s === "/" ? r : Ps([r, s])), i.createHref({
294
294
  pathname: l,
295
295
  search: a,
296
296
  hash: o
@@ -332,7 +332,7 @@ function rl() {
332
332
  return;
333
333
  }
334
334
  let u = Ts(c, JSON.parse(s), o, f.relative === "path");
335
- e == null && t !== "/" && (u.pathname = u.pathname === "/" ? t : As([t, u.pathname])), (f.replace ? r.replace : r.push)(u, f.state, f);
335
+ e == null && t !== "/" && (u.pathname = u.pathname === "/" ? t : Ps([t, u.pathname])), (f.replace ? r.replace : r.push)(u, f.state, f);
336
336
  }, [t, r, s, o, e]);
337
337
  }
338
338
  function Os(e, t) {
@@ -571,15 +571,15 @@ var wl = typeof self == "object" && self && self.Object === Object && self, Sl =
571
571
  const Ms = Sl;
572
572
  var El = Ms.Symbol;
573
573
  const It = El;
574
- var Ls = Object.prototype, Tl = Ls.hasOwnProperty, Al = Ls.toString, nt = It ? It.toStringTag : void 0;
575
- function Pl(e) {
574
+ var Ls = Object.prototype, Tl = Ls.hasOwnProperty, Pl = Ls.toString, nt = It ? It.toStringTag : void 0;
575
+ function Al(e) {
576
576
  var t = Tl.call(e, nt), n = e[nt];
577
577
  try {
578
578
  e[nt] = void 0;
579
579
  var r = !0;
580
580
  } catch {
581
581
  }
582
- var i = Al.call(e);
582
+ var i = Pl.call(e);
583
583
  return r && (t ? e[nt] = n : delete e[nt]), i;
584
584
  }
585
585
  var Cl = Object.prototype, Rl = Cl.toString;
@@ -588,7 +588,7 @@ function Ol(e) {
588
588
  }
589
589
  var Vl = "[object Null]", kl = "[object Undefined]", $r = It ? It.toStringTag : void 0;
590
590
  function Ml(e) {
591
- return e == null ? e === void 0 ? kl : Vl : $r && $r in Object(e) ? Pl(e) : Ol(e);
591
+ return e == null ? e === void 0 ? kl : Vl : $r && $r in Object(e) ? Al(e) : Ol(e);
592
592
  }
593
593
  function Ll(e) {
594
594
  return e != null && typeof e == "object";
@@ -638,19 +638,19 @@ function Mt(e, t, n) {
638
638
  throw new TypeError($l);
639
639
  t = Gr(t) || 0, Wt(n) && (f = !!n.leading, u = "maxWait" in n, o = u ? ql(Gr(n.maxWait) || 0, t) : o, h = "trailing" in n ? !!n.trailing : h);
640
640
  function d(T) {
641
- var A = r, P = i;
642
- return r = i = void 0, c = T, s = e.apply(P, A), s;
641
+ var P = r, A = i;
642
+ return r = i = void 0, c = T, s = e.apply(A, P), s;
643
643
  }
644
644
  function p(T) {
645
645
  return c = T, a = setTimeout(v, t), f ? d(T) : s;
646
646
  }
647
647
  function m(T) {
648
- var A = T - l, P = T - c, O = t - A;
649
- return u ? Gl(O, o - P) : O;
648
+ var P = T - l, A = T - c, O = t - P;
649
+ return u ? Gl(O, o - A) : O;
650
650
  }
651
651
  function g(T) {
652
- var A = T - l, P = T - c;
653
- return l === void 0 || A >= t || A < 0 || u && P >= o;
652
+ var P = T - l, A = T - c;
653
+ return l === void 0 || P >= t || P < 0 || u && A >= o;
654
654
  }
655
655
  function v() {
656
656
  var T = bn();
@@ -668,8 +668,8 @@ function Mt(e, t, n) {
668
668
  return a === void 0 ? s : w(bn());
669
669
  }
670
670
  function E() {
671
- var T = bn(), A = g(T);
672
- if (r = arguments, i = this, l = T, A) {
671
+ var T = bn(), P = g(T);
672
+ if (r = arguments, i = this, l = T, P) {
673
673
  if (a === void 0)
674
674
  return p(l);
675
675
  if (u)
@@ -767,7 +767,7 @@ var Zl = /* @__PURE__ */ Object.freeze({
767
767
  addClasses: Ns,
768
768
  removeClasses: Bs,
769
769
  classNamesToQuery: Is
770
- }), ye = js, xn = _s, Ql = Fs, ve = Ns, be = Bs, X = Is, At = (
770
+ }), ye = js, xn = _s, Ql = Fs, ve = Ns, be = Bs, G = Is, Pt = (
771
771
  /** @class */
772
772
  function() {
773
773
  function e(t, n) {
@@ -808,8 +808,8 @@ var Zl = /* @__PURE__ */ Object.freeze({
808
808
  i.preventDefault(), i.stopPropagation(), r.draggedAxis === "y" ? g = i.pageY : g = i.pageX;
809
809
  var T = g - ((h = (u = v.rect) === null || u === void 0 ? void 0 : u[r.axis[r.draggedAxis].offsetAttr]) !== null && h !== void 0 ? h : 0) - r.axis[r.draggedAxis].dragOffset;
810
810
  T = r.draggedAxis === "x" && r.isRtl ? ((p = (d = v.rect) === null || d === void 0 ? void 0 : d[r.axis[r.draggedAxis].sizeAttr]) !== null && p !== void 0 ? p : 0) - y.size - T : T;
811
- var A = T / (w - y.size), P = A * (S - E);
812
- r.draggedAxis === "x" && r.isRtl && (P = !((m = e.getRtlHelpers()) === null || m === void 0) && m.isScrollingToNegative ? -P : P), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = P;
811
+ var P = T / (w - y.size), A = P * (S - E);
812
+ r.draggedAxis === "x" && r.isRtl && (A = !((m = e.getRtlHelpers()) === null || m === void 0) && m.isScrollingToNegative ? -A : A), r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr] = A;
813
813
  }
814
814
  }, this.onEndDrag = function(i) {
815
815
  var o = xn(r.el), s = ye(r.el);
@@ -883,7 +883,7 @@ var Zl = /* @__PURE__ */ Object.freeze({
883
883
  Ds && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
884
884
  }, e.prototype.initDOM = function() {
885
885
  var t, n;
886
- this.wrapperEl = this.el.querySelector(X(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(X(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(X(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(X(this.classNames.offset)), this.maskEl = this.el.querySelector(X(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, X(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(X(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(X(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(X(this.classNames.track)).concat(X(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(X(this.classNames.track)).concat(X(this.classNames.vertical))), this.axis.x.scrollbar.el = ((t = this.axis.x.track.el) === null || t === void 0 ? void 0 : t.querySelector(X(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((n = this.axis.y.track.el) === null || n === void 0 ? void 0 : n.querySelector(X(this.classNames.scrollbar))) || null, this.options.autoHide || (ve(this.axis.x.scrollbar.el, this.classNames.visible), ve(this.axis.y.scrollbar.el, this.classNames.visible));
886
+ this.wrapperEl = this.el.querySelector(G(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(G(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(G(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(G(this.classNames.offset)), this.maskEl = this.el.querySelector(G(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, G(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(G(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(G(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(G(this.classNames.track)).concat(G(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(G(this.classNames.track)).concat(G(this.classNames.vertical))), this.axis.x.scrollbar.el = ((t = this.axis.x.track.el) === null || t === void 0 ? void 0 : t.querySelector(G(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((n = this.axis.y.track.el) === null || n === void 0 ? void 0 : n.querySelector(G(this.classNames.scrollbar))) || null, this.options.autoHide || (ve(this.axis.x.scrollbar.el, this.classNames.visible), ve(this.axis.y.scrollbar.el, this.classNames.visible));
887
887
  }, e.prototype.initListeners = function() {
888
888
  var t = this, n, r = ye(this.el);
889
889
  if (this.el.addEventListener("mouseenter", this.onMouseEnter), this.el.addEventListener("pointerdown", this.onPointerEvent, !0), this.el.addEventListener("mousemove", this.onMouseMove), this.el.addEventListener("mouseleave", this.onMouseLeave), (n = this.contentWrapperEl) === null || n === void 0 || n.addEventListener("scroll", this.onScroll), r.addEventListener("resize", this.onWindowResize), !!this.contentEl) {
@@ -1039,12 +1039,12 @@ function ec(e, t) {
1039
1039
  var Ws = x.forwardRef(function(e, t) {
1040
1040
  var n = e.children, r = e.scrollableNodeProps, i = r === void 0 ? {} : r, o = ec(e, ["children", "scrollableNodeProps"]), s = x.useRef(), a = x.useRef(), l = x.useRef(), c = {}, f = {};
1041
1041
  Object.keys(o).forEach(function(d) {
1042
- Object.prototype.hasOwnProperty.call(At.defaultOptions, d) ? c[d] = o[d] : f[d] = o[d];
1042
+ Object.prototype.hasOwnProperty.call(Pt.defaultOptions, d) ? c[d] = o[d] : f[d] = o[d];
1043
1043
  });
1044
- var u = Y(Y({}, At.defaultOptions.classNames), c.classNames), h = Y(Y({}, i), { className: "".concat(u.contentWrapper).concat(i.className ? " ".concat(i.className) : ""), tabIndex: 0, role: "region", "aria-label": c.ariaLabel || At.defaultOptions.ariaLabel });
1044
+ var u = Y(Y({}, Pt.defaultOptions.classNames), c.classNames), h = Y(Y({}, i), { className: "".concat(u.contentWrapper).concat(i.className ? " ".concat(i.className) : ""), tabIndex: 0, role: "region", "aria-label": c.ariaLabel || Pt.defaultOptions.ariaLabel });
1045
1045
  return x.useEffect(function() {
1046
1046
  var d;
1047
- return a.current = h.ref ? h.ref.current : a.current, s.current && (d = new At(s.current, Y(Y(Y({}, c), a.current && {
1047
+ return a.current = h.ref ? h.ref.current : a.current, s.current && (d = new Pt(s.current, Y(Y(Y({}, c), a.current && {
1048
1048
  scrollableNode: a.current
1049
1049
  }), l.current && {
1050
1050
  contentNode: l.current
@@ -1329,7 +1329,7 @@ const vt = [
1329
1329
  function Xs(e, { layout: t, layoutId: n }) {
1330
1330
  return _e.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Ut[e] || e === "opacity");
1331
1331
  }
1332
- const K = (e) => !!(e && e.getVelocity), pc = {
1332
+ const X = (e) => !!(e && e.getVelocity), pc = {
1333
1333
  x: "translateX",
1334
1334
  y: "translateY",
1335
1335
  z: "translateZ",
@@ -1346,14 +1346,14 @@ function gc(e, { enableHardwareAcceleration: t = !0, allowTransformNone: n = !0
1346
1346
  }
1347
1347
  return t && !e.z && (o += "translateZ(0)"), o = o.trim(), i ? o = i(e, r ? "" : o) : n && r && (o = "none"), o;
1348
1348
  }
1349
- const Ks = (e) => (t) => typeof t == "string" && t.startsWith(e), Ys = Ks("--"), Wn = Ks("var(--"), yc = /var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g, vc = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Pe = (e, t, n) => Math.min(Math.max(n, e), t), Fe = {
1349
+ const Ks = (e) => (t) => typeof t == "string" && t.startsWith(e), Ys = Ks("--"), Wn = Ks("var(--"), yc = /var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g, vc = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Ae = (e, t, n) => Math.min(Math.max(n, e), t), Fe = {
1350
1350
  test: (e) => typeof e == "number",
1351
1351
  parse: parseFloat,
1352
1352
  transform: (e) => e
1353
1353
  }, at = {
1354
1354
  ...Fe,
1355
- transform: (e) => Pe(0, 1, e)
1356
- }, Pt = {
1355
+ transform: (e) => Ae(0, 1, e)
1356
+ }, At = {
1357
1357
  ...Fe,
1358
1358
  default: 1
1359
1359
  }, lt = (e) => Math.round(e * 1e5) / 1e5, ln = /(-)?([\d]*\.?[\d])+/g, Js = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, bc = /^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
@@ -1410,10 +1410,10 @@ const xt = (e) => ({
1410
1410
  rotateX: we,
1411
1411
  rotateY: we,
1412
1412
  rotateZ: we,
1413
- scale: Pt,
1414
- scaleX: Pt,
1415
- scaleY: Pt,
1416
- scaleZ: Pt,
1413
+ scale: At,
1414
+ scaleX: At,
1415
+ scaleY: At,
1416
+ scaleZ: At,
1417
1417
  skew: we,
1418
1418
  skewX: we,
1419
1419
  skewY: we,
@@ -1467,7 +1467,7 @@ const pr = () => ({
1467
1467
  });
1468
1468
  function Qs(e, t, n) {
1469
1469
  for (const r in t)
1470
- !K(t[r]) && !Xs(r, n) && (e[r] = t[r]);
1470
+ !X(t[r]) && !Xs(r, n) && (e[r] = t[r]);
1471
1471
  }
1472
1472
  function Sc({ transformTemplate: e }, t, n) {
1473
1473
  return x.useMemo(() => {
@@ -1483,7 +1483,7 @@ function Tc(e, t, n) {
1483
1483
  const r = {}, i = Ec(e, t, n);
1484
1484
  return e.drag && e.dragListener !== !1 && (r.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (r.tabIndex = 0), r.style = i, r;
1485
1485
  }
1486
- const Ac = /* @__PURE__ */ new Set([
1486
+ const Pc = /* @__PURE__ */ new Set([
1487
1487
  "animate",
1488
1488
  "exit",
1489
1489
  "variants",
@@ -1517,14 +1517,14 @@ const Ac = /* @__PURE__ */ new Set([
1517
1517
  "viewport"
1518
1518
  ]);
1519
1519
  function zt(e) {
1520
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Ac.has(e);
1520
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Pc.has(e);
1521
1521
  }
1522
1522
  let eo = (e) => !zt(e);
1523
- function Pc(e) {
1523
+ function Ac(e) {
1524
1524
  e && (eo = (t) => t.startsWith("on") ? !zt(t) : e(t));
1525
1525
  }
1526
1526
  try {
1527
- Pc(require("@emotion/is-prop-valid").default);
1527
+ Ac(require("@emotion/is-prop-valid").default);
1528
1528
  } catch {
1529
1529
  }
1530
1530
  function Cc(e, t, n) {
@@ -1599,7 +1599,7 @@ function Lc(e = !1) {
1599
1599
  ...Cc(r, typeof n == "string", e),
1600
1600
  ...l,
1601
1601
  ref: i
1602
- }, { children: u } = r, h = x.useMemo(() => K(u) ? u.get() : u, [u]);
1602
+ }, { children: u } = r, h = x.useMemo(() => X(u) ? u.get() : u, [u]);
1603
1603
  return x.createElement(n, {
1604
1604
  ...f,
1605
1605
  children: h
@@ -1644,13 +1644,13 @@ function io(e, t, n, r) {
1644
1644
  function yr(e, t) {
1645
1645
  const { style: n } = e, r = {};
1646
1646
  for (const i in n)
1647
- (K(n[i]) || t.style && K(t.style[i]) || Xs(i, e)) && (r[i] = n[i]);
1647
+ (X(n[i]) || t.style && X(t.style[i]) || Xs(i, e)) && (r[i] = n[i]);
1648
1648
  return r;
1649
1649
  }
1650
1650
  function so(e, t) {
1651
1651
  const n = yr(e, t);
1652
1652
  for (const r in e)
1653
- if (K(e[r]) || K(t[r])) {
1653
+ if (X(e[r]) || X(t[r])) {
1654
1654
  const i = vt.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
1655
1655
  n[i] = e[r];
1656
1656
  }
@@ -1665,7 +1665,7 @@ function Dc(e) {
1665
1665
  }
1666
1666
  const Ht = (e) => Array.isArray(e), jc = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), _c = (e) => Ht(e) ? e[e.length - 1] || 0 : e;
1667
1667
  function Lt(e) {
1668
- const t = K(e) ? e.get() : e;
1668
+ const t = X(e) ? e.get() : e;
1669
1669
  return jc(t) ? t.toValue() : t;
1670
1670
  }
1671
1671
  function Fc({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }, r, i, o) {
@@ -1782,7 +1782,7 @@ function Wc(e, t) {
1782
1782
  return u[h] = (p, m = !1, g = !1) => (n || l(), d.schedule(p, m, g)), u;
1783
1783
  }, {}), cancel: (u) => Ct.forEach((h) => o[h].cancel(u)), state: i, steps: o };
1784
1784
  }
1785
- const { schedule: M, cancel: me, state: q, steps: wn } = Wc(typeof requestAnimationFrame < "u" ? requestAnimationFrame : j, !0), Uc = {
1785
+ const { schedule: M, cancel: me, state: $, steps: wn } = Wc(typeof requestAnimationFrame < "u" ? requestAnimationFrame : j, !0), Uc = {
1786
1786
  useVisualState: oo({
1787
1787
  scrapeMotionValuesFromProps: so,
1788
1788
  createRenderState: to,
@@ -2068,7 +2068,7 @@ function un(e, t, n) {
2068
2068
  return vr(r, t, n !== void 0 ? n : r.custom, iu(e), su(e));
2069
2069
  }
2070
2070
  let ou = j, br = j;
2071
- const Ae = (e) => e * 1e3, de = (e) => e / 1e3, au = {
2071
+ const Pe = (e) => e * 1e3, de = (e) => e / 1e3, au = {
2072
2072
  current: !1
2073
2073
  }, po = (e) => Array.isArray(e) && typeof e[0] == "number";
2074
2074
  function mo(e) {
@@ -2150,7 +2150,7 @@ const du = wt(0.42, 0, 1, 1), pu = wt(0, 0, 0.58, 1), bo = wt(0.42, 0, 0.58, 1),
2150
2150
  [n]: parseFloat(s),
2151
2151
  alpha: a !== void 0 ? parseFloat(a) : 1
2152
2152
  };
2153
- }, xu = (e) => Pe(0, 255, e), Tn = {
2153
+ }, xu = (e) => Ae(0, 255, e), Tn = {
2154
2154
  ...Fe,
2155
2155
  transform: (e) => Math.round(xu(e))
2156
2156
  }, je = {
@@ -2175,12 +2175,12 @@ const zn = {
2175
2175
  test: Sr("hsl", "hue"),
2176
2176
  parse: To("hue", "saturation", "lightness"),
2177
2177
  transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + le.transform(lt(t)) + ", " + le.transform(lt(n)) + ", " + lt(at.transform(r)) + ")"
2178
- }, G = {
2178
+ }, q = {
2179
2179
  test: (e) => je.test(e) || zn.test(e) || Ge.test(e),
2180
2180
  parse: (e) => je.test(e) ? je.parse(e) : Ge.test(e) ? Ge.parse(e) : zn.parse(e),
2181
2181
  transform: (e) => bt(e) ? e : e.hasOwnProperty("red") ? je.transform(e) : Ge.transform(e)
2182
2182
  }, D = (e, t, n) => -n * e + n * t + e;
2183
- function An(e, t, n) {
2183
+ function Pn(e, t, n) {
2184
2184
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
2185
2185
  }
2186
2186
  function Su({ hue: e, saturation: t, lightness: n, alpha: r }) {
@@ -2190,7 +2190,7 @@ function Su({ hue: e, saturation: t, lightness: n, alpha: r }) {
2190
2190
  i = o = s = n;
2191
2191
  else {
2192
2192
  const a = n < 0.5 ? n * (1 + t) : n + t - n * t, l = 2 * n - a;
2193
- i = An(l, a, e + 1 / 3), o = An(l, a, e), s = An(l, a, e - 1 / 3);
2193
+ i = Pn(l, a, e + 1 / 3), o = Pn(l, a, e), s = Pn(l, a, e - 1 / 3);
2194
2194
  }
2195
2195
  return {
2196
2196
  red: Math.round(i * 255),
@@ -2199,7 +2199,7 @@ function Su({ hue: e, saturation: t, lightness: n, alpha: r }) {
2199
2199
  alpha: r
2200
2200
  };
2201
2201
  }
2202
- const Pn = (e, t, n) => {
2202
+ const An = (e, t, n) => {
2203
2203
  const r = e * e;
2204
2204
  return Math.sqrt(Math.max(0, n * (t * t - r) + r));
2205
2205
  }, Eu = [zn, je, Ge], Tu = (e) => Eu.find((t) => t.test(e));
@@ -2208,15 +2208,15 @@ function oi(e) {
2208
2208
  let n = t.parse(e);
2209
2209
  return t === Ge && (n = Su(n)), n;
2210
2210
  }
2211
- const Ao = (e, t) => {
2211
+ const Po = (e, t) => {
2212
2212
  const n = oi(e), r = oi(t), i = { ...n };
2213
- return (o) => (i.red = Pn(n.red, r.red, o), i.green = Pn(n.green, r.green, o), i.blue = Pn(n.blue, r.blue, o), i.alpha = D(n.alpha, r.alpha, o), je.transform(i));
2213
+ return (o) => (i.red = An(n.red, r.red, o), i.green = An(n.green, r.green, o), i.blue = An(n.blue, r.blue, o), i.alpha = D(n.alpha, r.alpha, o), je.transform(i));
2214
2214
  };
2215
- function Au(e) {
2215
+ function Pu(e) {
2216
2216
  var t, n;
2217
2217
  return isNaN(e) && bt(e) && (((t = e.match(ln)) === null || t === void 0 ? void 0 : t.length) || 0) + (((n = e.match(Js)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
2218
2218
  }
2219
- const Po = {
2219
+ const Ao = {
2220
2220
  regex: yc,
2221
2221
  countKey: "Vars",
2222
2222
  token: "${v}",
@@ -2225,7 +2225,7 @@ const Po = {
2225
2225
  regex: Js,
2226
2226
  countKey: "Colors",
2227
2227
  token: "${c}",
2228
- parse: G.parse
2228
+ parse: q.parse
2229
2229
  }, Ro = {
2230
2230
  regex: ln,
2231
2231
  countKey: "Numbers",
@@ -2245,7 +2245,7 @@ function $t(e) {
2245
2245
  numColors: 0,
2246
2246
  numNumbers: 0
2247
2247
  };
2248
- return n.value.includes("var(--") && Cn(n, Po), Cn(n, Co), Cn(n, Ro), n;
2248
+ return n.value.includes("var(--") && Cn(n, Ao), Cn(n, Co), Cn(n, Ro), n;
2249
2249
  }
2250
2250
  function Oo(e) {
2251
2251
  return $t(e).values;
@@ -2255,23 +2255,23 @@ function Vo(e) {
2255
2255
  return (s) => {
2256
2256
  let a = i;
2257
2257
  for (let l = 0; l < o; l++)
2258
- l < r ? a = a.replace(Po.token, s[l]) : l < r + n ? a = a.replace(Co.token, G.transform(s[l])) : a = a.replace(Ro.token, lt(s[l]));
2258
+ l < r ? a = a.replace(Ao.token, s[l]) : l < r + n ? a = a.replace(Co.token, q.transform(s[l])) : a = a.replace(Ro.token, lt(s[l]));
2259
2259
  return a;
2260
2260
  };
2261
2261
  }
2262
- const Pu = (e) => typeof e == "number" ? 0 : e;
2262
+ const Au = (e) => typeof e == "number" ? 0 : e;
2263
2263
  function Cu(e) {
2264
2264
  const t = Oo(e);
2265
- return Vo(e)(t.map(Pu));
2265
+ return Vo(e)(t.map(Au));
2266
2266
  }
2267
2267
  const Ce = {
2268
- test: Au,
2268
+ test: Pu,
2269
2269
  parse: Oo,
2270
2270
  createTransformer: Vo,
2271
2271
  getAnimatableNone: Cu
2272
2272
  }, ko = (e, t) => (n) => `${n > 0 ? t : e}`;
2273
2273
  function Mo(e, t) {
2274
- return typeof e == "number" ? (n) => D(e, t, n) : G.test(e) ? Ao(e, t) : e.startsWith("var(") ? ko(e, t) : Do(e, t);
2274
+ return typeof e == "number" ? (n) => D(e, t, n) : q.test(e) ? Po(e, t) : e.startsWith("var(") ? ko(e, t) : Do(e, t);
2275
2275
  }
2276
2276
  const Lo = (e, t) => {
2277
2277
  const n = [...e], r = n.length, i = e.map((o, s) => Mo(o, t[s]));
@@ -2297,7 +2297,7 @@ const Lo = (e, t) => {
2297
2297
  return r === 0 ? 1 : (n - e) / r;
2298
2298
  }, ai = (e, t) => (n) => D(e, t, n);
2299
2299
  function Ou(e) {
2300
- return typeof e == "number" ? ai : typeof e == "string" ? G.test(e) ? Ao : Do : Array.isArray(e) ? Lo : typeof e == "object" ? Ru : ai;
2300
+ return typeof e == "number" ? ai : typeof e == "string" ? q.test(e) ? Po : Do : Array.isArray(e) ? Lo : typeof e == "object" ? Ru : ai;
2301
2301
  }
2302
2302
  function Vu(e, t, n) {
2303
2303
  const r = [], i = n || Ou(e[0]), o = e.length - 1;
@@ -2324,7 +2324,7 @@ function jo(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
2324
2324
  const u = gt(e[f], e[f + 1], c);
2325
2325
  return s[f](u);
2326
2326
  };
2327
- return n ? (c) => l(Pe(e[0], e[o - 1], c)) : l;
2327
+ return n ? (c) => l(Ae(e[0], e[o - 1], c)) : l;
2328
2328
  }
2329
2329
  function ku(e, t) {
2330
2330
  const n = e[e.length - 1];
@@ -2371,9 +2371,9 @@ function Fo(e, t, n) {
2371
2371
  const Rn = 1e-3, _u = 0.01, li = 10, Fu = 0.05, Nu = 1;
2372
2372
  function Bu({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1 }) {
2373
2373
  let i, o;
2374
- ou(e <= Ae(li));
2374
+ ou(e <= Pe(li));
2375
2375
  let s = 1 - t;
2376
- s = Pe(Fu, Nu, s), e = Pe(_u, li, de(e)), s < 1 ? (i = (c) => {
2376
+ s = Ae(Fu, Nu, s), e = Ae(_u, li, de(e)), s < 1 ? (i = (c) => {
2377
2377
  const f = c * s, u = f * e, h = f - n, d = Hn(c, s), p = Math.exp(-u);
2378
2378
  return Rn - h / d * p;
2379
2379
  }, o = (c) => {
@@ -2387,7 +2387,7 @@ function Bu({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
2387
2387
  return f * u;
2388
2388
  });
2389
2389
  const a = 5 / e, l = Wu(i, o, a);
2390
- if (e = Ae(e), isNaN(l))
2390
+ if (e = Pe(e), isNaN(l))
2391
2391
  return {
2392
2392
  stiffness: 100,
2393
2393
  damping: 10,
@@ -2466,8 +2466,8 @@ function No({ keyframes: e, restDelta: t, restSpeed: n, ...r }) {
2466
2466
  else {
2467
2467
  let E = d;
2468
2468
  y !== 0 && (p < 1 ? E = Fo(w, y, S) : E = 0);
2469
- const T = Math.abs(E) <= n, A = Math.abs(o - S) <= t;
2470
- s.done = T && A;
2469
+ const T = Math.abs(E) <= n, P = Math.abs(o - S) <= t;
2470
+ s.done = T && P;
2471
2471
  }
2472
2472
  return s.value = s.done ? o : S, s;
2473
2473
  }
@@ -2477,30 +2477,30 @@ function ui({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
2477
2477
  const u = e[0], h = {
2478
2478
  done: !1,
2479
2479
  value: u
2480
- }, d = (P) => a !== void 0 && P < a || l !== void 0 && P > l, p = (P) => a === void 0 ? l : l === void 0 || Math.abs(a - P) < Math.abs(l - P) ? a : l;
2480
+ }, d = (A) => a !== void 0 && A < a || l !== void 0 && A > l, p = (A) => a === void 0 ? l : l === void 0 || Math.abs(a - A) < Math.abs(l - A) ? a : l;
2481
2481
  let m = n * t;
2482
2482
  const g = u + m, v = s === void 0 ? g : s(g);
2483
2483
  v !== g && (m = v - u);
2484
- const w = (P) => -m * Math.exp(-P / r), y = (P) => v + w(P), S = (P) => {
2485
- const O = w(P), _ = y(P);
2486
- h.done = Math.abs(O) <= c, h.value = h.done ? v : _;
2484
+ const w = (A) => -m * Math.exp(-A / r), y = (A) => v + w(A), S = (A) => {
2485
+ const O = w(A), W = y(A);
2486
+ h.done = Math.abs(O) <= c, h.value = h.done ? v : W;
2487
2487
  };
2488
2488
  let E, T;
2489
- const A = (P) => {
2490
- d(h.value) && (E = P, T = No({
2489
+ const P = (A) => {
2490
+ d(h.value) && (E = A, T = No({
2491
2491
  keyframes: [h.value, p(h.value)],
2492
- velocity: Fo(y, P, h.value),
2492
+ velocity: Fo(y, A, h.value),
2493
2493
  damping: i,
2494
2494
  stiffness: o,
2495
2495
  restDelta: c,
2496
2496
  restSpeed: f
2497
2497
  }));
2498
2498
  };
2499
- return A(0), {
2499
+ return P(0), {
2500
2500
  calculatedDuration: null,
2501
- next: (P) => {
2501
+ next: (A) => {
2502
2502
  let O = !1;
2503
- return !T && E === void 0 && (O = !0, S(P), A(P)), E !== void 0 && P > E ? T.next(P - E) : (!O && S(P), h);
2503
+ return !T && E === void 0 && (O = !0, S(A), P(A)), E !== void 0 && A > E ? T.next(A - E) : (!O && S(A), h);
2504
2504
  }
2505
2505
  };
2506
2506
  }
@@ -2513,7 +2513,7 @@ const $u = (e) => {
2513
2513
  * If we're processing this frame we can use the
2514
2514
  * framelocked timestamp to keep things in sync.
2515
2515
  */
2516
- now: () => q.isProcessing ? q.timestamp : performance.now()
2516
+ now: () => $.isProcessing ? $.timestamp : performance.now()
2517
2517
  };
2518
2518
  }, fi = 2e4;
2519
2519
  function hi(e) {
@@ -2552,42 +2552,42 @@ function Gt({ autoplay: e = !0, delay: t = 0, driver: n = $u, keyframes: r, type
2552
2552
  keyframes: [...r].reverse(),
2553
2553
  velocity: -(h.velocity || 0)
2554
2554
  }));
2555
- let A = "idle", P = null, O = null, _ = null;
2555
+ let P = "idle", A = null, O = null, W = null;
2556
2556
  E.calculatedDuration === null && o && (E.calculatedDuration = hi(E));
2557
- const { calculatedDuration: H } = E;
2558
- let B = 1 / 0, $ = 1 / 0;
2559
- H !== null && (B = H + s, $ = B * (o + 1) - s);
2557
+ const { calculatedDuration: K } = E;
2558
+ let N = 1 / 0, H = 1 / 0;
2559
+ K !== null && (N = K + s, H = N * (o + 1) - s);
2560
2560
  let U = 0;
2561
2561
  const re = (k) => {
2562
2562
  if (O === null)
2563
2563
  return;
2564
- d > 0 && (O = Math.min(O, k)), d < 0 && (O = Math.min(k - $ / d, O)), P !== null ? U = P : U = Math.round(k - O) * d;
2565
- const Be = U - t * (d >= 0 ? 1 : -1), Ie = d >= 0 ? Be < 0 : Be > $;
2566
- U = Math.max(Be, 0), A === "finished" && P === null && (U = $);
2564
+ d > 0 && (O = Math.min(O, k)), d < 0 && (O = Math.min(k - H / d, O)), A !== null ? U = A : U = Math.round(k - O) * d;
2565
+ const Be = U - t * (d >= 0 ? 1 : -1), Ie = d >= 0 ? Be < 0 : Be > H;
2566
+ U = Math.max(Be, 0), P === "finished" && A === null && (U = H);
2567
2567
  let gn = U, Oe = E;
2568
2568
  if (o) {
2569
- const tt = Math.min(U, $) / B;
2569
+ const tt = Math.min(U, H) / N;
2570
2570
  let Ve = Math.floor(tt), te = tt % 1;
2571
- !te && tt >= 1 && (te = 1), te === 1 && Ve--, Ve = Math.min(Ve, o + 1), !!(Ve % 2) && (a === "reverse" ? (te = 1 - te, s && (te -= s / B)) : a === "mirror" && (Oe = T)), gn = Pe(0, 1, te) * B;
2571
+ !te && tt >= 1 && (te = 1), te === 1 && Ve--, Ve = Math.min(Ve, o + 1), !!(Ve % 2) && (a === "reverse" ? (te = 1 - te, s && (te -= s / N)) : a === "mirror" && (Oe = T)), gn = Ae(0, 1, te) * N;
2572
2572
  }
2573
2573
  const ue = Ie ? { done: !1, value: r[0] } : Oe.next(gn);
2574
2574
  S && (ue.value = S(ue.value));
2575
2575
  let { done: We } = ue;
2576
- !Ie && H !== null && (We = d >= 0 ? U >= $ : U <= 0);
2577
- const Ue = P === null && (A === "finished" || A === "running" && We);
2576
+ !Ie && K !== null && (We = d >= 0 ? U >= H : U <= 0);
2577
+ const Ue = A === null && (P === "finished" || P === "running" && We);
2578
2578
  return u && u(ue.value), Ue && z(), ue;
2579
- }, I = () => {
2579
+ }, B = () => {
2580
2580
  w && w.stop(), w = void 0;
2581
2581
  }, ie = () => {
2582
- A = "idle", I(), m(), v(), O = _ = null;
2582
+ P = "idle", B(), m(), v(), O = W = null;
2583
2583
  }, z = () => {
2584
- A = "finished", f && f(), I(), m();
2584
+ P = "finished", f && f(), B(), m();
2585
2585
  }, ge = () => {
2586
2586
  if (p)
2587
2587
  return;
2588
2588
  w || (w = n(re));
2589
2589
  const k = w.now();
2590
- l && l(), P !== null ? O = k - P : (!O || A === "finished") && (O = k), A === "finished" && v(), _ = O, P = null, A = "running", w.start();
2590
+ l && l(), A !== null ? O = k - A : (!O || P === "finished") && (O = k), P === "finished" && v(), W = O, A = null, P = "running", w.start();
2591
2591
  };
2592
2592
  e && ge();
2593
2593
  const Ne = {
@@ -2598,7 +2598,7 @@ function Gt({ autoplay: e = !0, delay: t = 0, driver: n = $u, keyframes: r, type
2598
2598
  return de(U);
2599
2599
  },
2600
2600
  set time(k) {
2601
- k = Ae(k), U = k, P !== null || !w || d === 0 ? P = k : O = w.now() - k / d;
2601
+ k = Pe(k), U = k, A !== null || !w || d === 0 ? A = k : O = w.now() - k / d;
2602
2602
  },
2603
2603
  get duration() {
2604
2604
  const k = E.calculatedDuration === null ? hi(E) : E.calculatedDuration;
@@ -2611,20 +2611,20 @@ function Gt({ autoplay: e = !0, delay: t = 0, driver: n = $u, keyframes: r, type
2611
2611
  k === d || !w || (d = k, Ne.time = de(U));
2612
2612
  },
2613
2613
  get state() {
2614
- return A;
2614
+ return P;
2615
2615
  },
2616
2616
  play: ge,
2617
2617
  pause: () => {
2618
- A = "paused", P = U;
2618
+ P = "paused", A = U;
2619
2619
  },
2620
2620
  stop: () => {
2621
- p = !0, A !== "idle" && (A = "idle", c && c(), ie());
2621
+ p = !0, P !== "idle" && (P = "idle", c && c(), ie());
2622
2622
  },
2623
2623
  cancel: () => {
2624
- _ !== null && re(_), ie();
2624
+ W !== null && re(W), ie();
2625
2625
  },
2626
2626
  complete: () => {
2627
- A = "finished";
2627
+ P = "finished";
2628
2628
  },
2629
2629
  sample: (k) => (O = 0, re(k))
2630
2630
  };
@@ -2696,7 +2696,7 @@ function Zu(e, t, { onUpdate: n, onComplete: r, ...i }) {
2696
2696
  return de(m.currentTime || 0);
2697
2697
  },
2698
2698
  set time(y) {
2699
- m.currentTime = Ae(y);
2699
+ m.currentTime = Pe(y);
2700
2700
  },
2701
2701
  get speed() {
2702
2702
  return m.playbackRate;
@@ -2789,17 +2789,17 @@ const lf = /([a-z-]*)\(.*?\)/g, qn = {
2789
2789
  }, cf = {
2790
2790
  ...Zs,
2791
2791
  // Color props
2792
- color: G,
2793
- backgroundColor: G,
2794
- outlineColor: G,
2795
- fill: G,
2796
- stroke: G,
2792
+ color: q,
2793
+ backgroundColor: q,
2794
+ outlineColor: q,
2795
+ fill: q,
2796
+ stroke: q,
2797
2797
  // Border props
2798
- borderColor: G,
2799
- borderTopColor: G,
2800
- borderRightColor: G,
2801
- borderBottomColor: G,
2802
- borderLeftColor: G,
2798
+ borderColor: q,
2799
+ borderTopColor: q,
2800
+ borderRightColor: q,
2801
+ borderBottomColor: q,
2802
+ borderLeftColor: q,
2803
2803
  filter: qn,
2804
2804
  WebkitFilter: qn
2805
2805
  }, Er = (e) => cf[e];
@@ -2838,10 +2838,10 @@ function Tr(e, t) {
2838
2838
  }
2839
2839
  const df = {
2840
2840
  skipAnimations: !1
2841
- }, Ar = (e, t, n, r = {}) => (i) => {
2841
+ }, Pr = (e, t, n, r = {}) => (i) => {
2842
2842
  const o = Tr(r, e) || {}, s = o.delay || r.delay || 0;
2843
2843
  let { elapsed: a = 0 } = r;
2844
- a = a - Ae(s);
2844
+ a = a - Pe(s);
2845
2845
  const l = ff(t, e, n, o), c = l[0], f = l[l.length - 1], u = $n(e, c), h = $n(e, f);
2846
2846
  let d = {
2847
2847
  keyframes: l,
@@ -2859,7 +2859,7 @@ const df = {
2859
2859
  if (hf(o) || (d = {
2860
2860
  ...d,
2861
2861
  ...sf(e, d)
2862
- }), d.duration && (d.duration = Ae(d.duration)), d.repeatDelay && (d.repeatDelay = Ae(d.repeatDelay)), !u || !h || au.current || o.type === !1 || df.skipAnimations)
2862
+ }), d.duration && (d.duration = Pe(d.duration)), d.repeatDelay && (d.repeatDelay = Pe(d.repeatDelay)), !u || !h || au.current || o.type === !1 || df.skipAnimations)
2863
2863
  return Qu(d);
2864
2864
  if (
2865
2865
  /**
@@ -2880,10 +2880,10 @@ const df = {
2880
2880
  return Gt(d);
2881
2881
  };
2882
2882
  function Xt(e) {
2883
- return !!(K(e) && e.add);
2883
+ return !!(X(e) && e.add);
2884
2884
  }
2885
2885
  const Wo = (e) => /^\-?\d*\.?\d+$/.test(e);
2886
- function Pr(e, t) {
2886
+ function Ar(e, t) {
2887
2887
  e.indexOf(t) === -1 && e.push(t);
2888
2888
  }
2889
2889
  function Cr(e, t) {
@@ -2895,7 +2895,7 @@ class Rr {
2895
2895
  this.subscriptions = [];
2896
2896
  }
2897
2897
  add(t) {
2898
- return Pr(this.subscriptions, t), () => Cr(this.subscriptions, t);
2898
+ return Ar(this.subscriptions, t), () => Cr(this.subscriptions, t);
2899
2899
  }
2900
2900
  notify(t, n, r) {
2901
2901
  const i = this.subscriptions.length;
@@ -2928,7 +2928,7 @@ class mf {
2928
2928
  constructor(t, n = {}) {
2929
2929
  this.version = "10.18.0", this.timeDelta = 0, this.lastUpdated = 0, this.canTrackVelocity = !1, this.events = {}, this.updateAndNotify = (r, i = !0) => {
2930
2930
  this.prev = this.current, this.current = r;
2931
- const { delta: o, timestamp: s } = q;
2931
+ const { delta: o, timestamp: s } = $;
2932
2932
  this.lastUpdated !== s && (this.timeDelta = o, this.lastUpdated = s, M.postRender(this.scheduleVelocityCheck)), this.prev !== this.current && this.events.change && this.events.change.notify(this.current), this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()), i && this.events.renderRequest && this.events.renderRequest.notify(this.current);
2933
2933
  }, this.scheduleVelocityCheck = () => M.postRender(this.velocityCheck), this.velocityCheck = ({ timestamp: r }) => {
2934
2934
  r !== this.lastUpdated && (this.prev = this.current, this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()));
@@ -3112,7 +3112,7 @@ function Ye(e, t) {
3112
3112
  const Uo = (e) => (t) => t.test(e), gf = {
3113
3113
  test: (e) => e === "auto",
3114
3114
  parse: (e) => e
3115
- }, zo = [Fe, C, le, we, wc, xc, gf], rt = (e) => zo.find(Uo(e)), yf = [...zo, G, Ce], vf = (e) => yf.find(Uo(e));
3115
+ }, zo = [Fe, C, le, we, wc, xc, gf], rt = (e) => zo.find(Uo(e)), yf = [...zo, q, Ce], vf = (e) => yf.find(Uo(e));
3116
3116
  function bf(e, t, n) {
3117
3117
  e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Ye(n));
3118
3118
  }
@@ -3155,7 +3155,7 @@ function Tf({ protectedKeys: e, needsAnimating: t }, n) {
3155
3155
  const r = e.hasOwnProperty(n) && t[n] !== !0;
3156
3156
  return t[n] = !1, r;
3157
3157
  }
3158
- function Af(e, t) {
3158
+ function Pf(e, t) {
3159
3159
  const n = e.get();
3160
3160
  if (Array.isArray(t)) {
3161
3161
  for (let r = 0; r < t.length; r++)
@@ -3185,10 +3185,10 @@ function Ho(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
3185
3185
  w !== null && (p.elapsed = w, p.isHandoff = !0);
3186
3186
  }
3187
3187
  }
3188
- let m = !p.isHandoff && !Af(h, d);
3188
+ let m = !p.isHandoff && !Pf(h, d);
3189
3189
  if (p.type === "spring" && (h.getVelocity() || p.velocity) && (m = !1), h.animation && (m = !1), m)
3190
3190
  continue;
3191
- h.start(Ar(u, h, d, e.shouldReduceMotion && _e.has(u) ? { type: !1 } : p));
3191
+ h.start(Pr(u, h, d, e.shouldReduceMotion && _e.has(u) ? { type: !1 } : p));
3192
3192
  const g = h.animation;
3193
3193
  Xt(l) && (l.add(u), g.then(() => l.remove(u))), c.push(g);
3194
3194
  }
@@ -3202,7 +3202,7 @@ function Gn(e, t, n = {}) {
3202
3202
  n.transitionOverride && (i = n.transitionOverride);
3203
3203
  const o = r ? () => Promise.all(Ho(e, r, n)) : () => Promise.resolve(), s = e.variantChildren && e.variantChildren.size ? (l = 0) => {
3204
3204
  const { delayChildren: c = 0, staggerChildren: f, staggerDirection: u } = i;
3205
- return Pf(e, t, c + l, f, u, n);
3205
+ return Af(e, t, c + l, f, u, n);
3206
3206
  } : () => Promise.resolve(), { when: a } = i;
3207
3207
  if (a) {
3208
3208
  const [l, c] = a === "beforeChildren" ? [o, s] : [s, o];
@@ -3210,7 +3210,7 @@ function Gn(e, t, n = {}) {
3210
3210
  } else
3211
3211
  return Promise.all([o(), s(n.delay)]);
3212
3212
  }
3213
- function Pf(e, t, n = 0, r = 0, i = 1, o) {
3213
+ function Af(e, t, n = 0, r = 0, i = 1, o) {
3214
3214
  const s = [], a = (e.variantChildren.size - 1) * r, l = i === 1 ? (c = 0) => c * r : (c = 0) => a - c * r;
3215
3215
  return Array.from(e.variantChildren).sort(Cf).forEach((c, f) => {
3216
3216
  c.notify("AnimationStart", t), s.push(Gn(c, t, {
@@ -3261,33 +3261,33 @@ function Mf(e) {
3261
3261
  for (let v = 0; v < Vf; v++) {
3262
3262
  const w = Of[v], y = n[w], S = f[w] !== void 0 ? f[w] : u[w], E = pt(S), T = w === c ? y.isActive : null;
3263
3263
  T === !1 && (m = v);
3264
- let A = S === u[w] && S !== f[w] && E;
3265
- if (A && r && e.manuallyAnimateOnMount && (A = !1), y.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
3264
+ let P = S === u[w] && S !== f[w] && E;
3265
+ if (P && r && e.manuallyAnimateOnMount && (P = !1), y.protectedKeys = { ...p }, // If it isn't active and hasn't *just* been set as inactive
3266
3266
  !y.isActive && T === null || // If we didn't and don't have any defined prop for this animation type
3267
3267
  !S && !y.prevProp || // Or if the prop doesn't define an animation
3268
3268
  on(S) || typeof S == "boolean")
3269
3269
  continue;
3270
3270
  let O = Lf(y.prevProp, S) || // If we're making this variant active, we want to always make it active
3271
- w === c && y.isActive && !A && E || // If we removed a higher-priority variant (i is in reverse order)
3272
- v > m && E, _ = !1;
3273
- const H = Array.isArray(S) ? S : [S];
3274
- let B = H.reduce(i, {});
3275
- T === !1 && (B = {});
3276
- const { prevResolvedValues: $ = {} } = y, U = {
3277
- ...$,
3278
- ...B
3279
- }, re = (I) => {
3280
- O = !0, d.has(I) && (_ = !0, d.delete(I)), y.needsAnimating[I] = !0;
3271
+ w === c && y.isActive && !P && E || // If we removed a higher-priority variant (i is in reverse order)
3272
+ v > m && E, W = !1;
3273
+ const K = Array.isArray(S) ? S : [S];
3274
+ let N = K.reduce(i, {});
3275
+ T === !1 && (N = {});
3276
+ const { prevResolvedValues: H = {} } = y, U = {
3277
+ ...H,
3278
+ ...N
3279
+ }, re = (B) => {
3280
+ O = !0, d.has(B) && (W = !0, d.delete(B)), y.needsAnimating[B] = !0;
3281
3281
  };
3282
- for (const I in U) {
3283
- const ie = B[I], z = $[I];
3284
- if (p.hasOwnProperty(I))
3282
+ for (const B in U) {
3283
+ const ie = N[B], z = H[B];
3284
+ if (p.hasOwnProperty(B))
3285
3285
  continue;
3286
3286
  let ge = !1;
3287
- Ht(ie) && Ht(z) ? ge = !ho(ie, z) : ge = ie !== z, ge ? ie !== void 0 ? re(I) : d.add(I) : ie !== void 0 && d.has(I) ? re(I) : y.protectedKeys[I] = !0;
3287
+ Ht(ie) && Ht(z) ? ge = !ho(ie, z) : ge = ie !== z, ge ? ie !== void 0 ? re(B) : d.add(B) : ie !== void 0 && d.has(B) ? re(B) : y.protectedKeys[B] = !0;
3288
3288
  }
3289
- y.prevProp = S, y.prevResolvedValues = B, y.isActive && (p = { ...p, ...B }), r && e.blockInitialAnimation && (O = !1), O && (!A || _) && h.push(...H.map((I) => ({
3290
- animation: I,
3289
+ y.prevProp = S, y.prevResolvedValues = N, y.isActive && (p = { ...p, ...N }), r && e.blockInitialAnimation && (O = !1), O && (!P || W) && h.push(...K.map((B) => ({
3290
+ animation: B,
3291
3291
  options: { type: w, ...l }
3292
3292
  })));
3293
3293
  }
@@ -3410,7 +3410,7 @@ class $o {
3410
3410
  const u = Vn(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, d = Bf(u.offset, { x: 0, y: 0 }) >= 3;
3411
3411
  if (!h && !d)
3412
3412
  return;
3413
- const { point: p } = u, { timestamp: m } = q;
3413
+ const { point: p } = u, { timestamp: m } = $;
3414
3414
  this.history.push({ ...p, timestamp: m });
3415
3415
  const { onStart: g, onMove: v } = this.handlers;
3416
3416
  h || (g && g(this.lastMoveEvent, u), this.startEvent = this.lastMoveEvent), v && v(this.lastMoveEvent, u);
@@ -3426,7 +3426,7 @@ class $o {
3426
3426
  }, !ao(t))
3427
3427
  return;
3428
3428
  this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = r, this.contextWindow = i || window;
3429
- const s = cn(t), a = On(s, this.transformPagePoint), { point: l } = a, { timestamp: c } = q;
3429
+ const s = cn(t), a = On(s, this.transformPagePoint), { point: l } = a, { timestamp: c } = $;
3430
3430
  this.history = [{ ...l, timestamp: c }];
3431
3431
  const { onSessionStart: f } = n;
3432
3432
  f && f(t, Vn(a, this.history)), this.removeListeners = Te(he(this.contextWindow, "pointermove", this.handlePointerMove), he(this.contextWindow, "pointerup", this.handlePointerUp), he(this.contextWindow, "pointercancel", this.handlePointerUp));
@@ -3463,7 +3463,7 @@ function Wf(e, t) {
3463
3463
  return { x: 0, y: 0 };
3464
3464
  let n = e.length - 1, r = null;
3465
3465
  const i = qo(e);
3466
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > Ae(t))); )
3466
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > Pe(t))); )
3467
3467
  n--;
3468
3468
  if (!r)
3469
3469
  return { x: 0, y: 0 };
@@ -3528,7 +3528,7 @@ function $f(e, t) {
3528
3528
  function qf(e, t) {
3529
3529
  let n = 0.5;
3530
3530
  const r = J(e), i = J(t);
3531
- return i > r ? n = gt(t.min, t.max - r, e.min) : r > i && (n = gt(e.min, e.max - i, t.min)), Pe(0, 1, n);
3531
+ return i > r ? n = gt(t.min, t.max - r, e.min) : r > i && (n = gt(e.min, e.max - i, t.min)), Ae(0, 1, n);
3532
3532
  }
3533
3533
  function Gf(e, t) {
3534
3534
  const n = {};
@@ -3558,7 +3558,7 @@ const Si = () => ({
3558
3558
  }), Xe = () => ({
3559
3559
  x: Si(),
3560
3560
  y: Si()
3561
- }), Ei = () => ({ min: 0, max: 0 }), F = () => ({
3561
+ }), Ei = () => ({ min: 0, max: 0 }), _ = () => ({
3562
3562
  x: Ei(),
3563
3563
  y: Ei()
3564
3564
  });
@@ -3604,11 +3604,11 @@ function Kt(e, t, n) {
3604
3604
  const r = e - n, i = t * r;
3605
3605
  return n + i;
3606
3606
  }
3607
- function Ai(e, t, n, r, i) {
3607
+ function Pi(e, t, n, r, i) {
3608
3608
  return i !== void 0 && (e = Kt(e, i, r)), Kt(e, n, r) + t;
3609
3609
  }
3610
3610
  function Jn(e, t = 0, n = 1, r, i) {
3611
- e.min = Ai(e.min, t, n, r, i), e.max = Ai(e.max, t, n, r, i);
3611
+ e.min = Pi(e.min, t, n, r, i), e.max = Pi(e.max, t, n, r, i);
3612
3612
  }
3613
3613
  function Ko(e, { x: t, y: n }) {
3614
3614
  Jn(e.x, t.translate, t.scale, t.originPoint), Jn(e.y, n.translate, n.scale, n.originPoint);
@@ -3627,9 +3627,9 @@ function Jf(e, t, n, r = !1) {
3627
3627
  y: -o.scroll.offset.y
3628
3628
  }), s && (t.x *= s.x.scale, t.y *= s.y.scale, Ko(e, s)), r && Me(o.latestValues) && Ke(e, o.latestValues));
3629
3629
  }
3630
- t.x = Pi(t.x), t.y = Pi(t.y);
3630
+ t.x = Ai(t.x), t.y = Ai(t.y);
3631
3631
  }
3632
- function Pi(e) {
3632
+ function Ai(e) {
3633
3633
  return Number.isInteger(e) || e > 1.0000000000001 || e < 0.999999999999 ? e : 1;
3634
3634
  }
3635
3635
  function Se(e, t) {
@@ -3653,7 +3653,7 @@ function eh(e, t, n) {
3653
3653
  const Jo = ({ current: e }) => e ? e.ownerDocument.defaultView : null, th = /* @__PURE__ */ new WeakMap();
3654
3654
  class nh {
3655
3655
  constructor(t) {
3656
- this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = F(), this.visualElement = t;
3656
+ this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = _(), this.visualElement = t;
3657
3657
  }
3658
3658
  start(t, { snapToCursor: n = !1 } = {}) {
3659
3659
  const { presenceContext: r } = this.visualElement;
@@ -3774,7 +3774,7 @@ class nh {
3774
3774
  }
3775
3775
  startAxisValueAnimation(t, n) {
3776
3776
  const r = this.getAxisMotionValue(t);
3777
- return r.start(Ar(t, r, 0, n));
3777
+ return r.start(Pr(t, r, 0, n));
3778
3778
  }
3779
3779
  stopAnimation() {
3780
3780
  Q((t) => this.getAxisMotionValue(t).stop());
@@ -4097,7 +4097,7 @@ class vh {
4097
4097
  this.members = [];
4098
4098
  }
4099
4099
  add(t) {
4100
- Pr(this.members, t), t.scheduleRender();
4100
+ Ar(this.members, t), t.scheduleRender();
4101
4101
  }
4102
4102
  remove(t) {
4103
4103
  if (Cr(this.members, t), t === this.prevLead && (this.prevLead = void 0), t === this.lead) {
@@ -4162,7 +4162,7 @@ class xh {
4162
4162
  this.children = [], this.isDirty = !1;
4163
4163
  }
4164
4164
  add(t) {
4165
- Pr(this.children, t), this.isDirty = !0;
4165
+ Ar(this.children, t), this.isDirty = !0;
4166
4166
  }
4167
4167
  remove(t) {
4168
4168
  Cr(this.children, t), this.isDirty = !0;
@@ -4185,11 +4185,11 @@ function Eh(e) {
4185
4185
  return e instanceof SVGElement && e.tagName !== "svg";
4186
4186
  }
4187
4187
  function Th(e, t, n) {
4188
- const r = K(e) ? e : Ye(e);
4189
- return r.start(Ar("", r, t, n)), r.animation;
4188
+ const r = X(e) ? e : Ye(e);
4189
+ return r.start(Pr("", r, t, n)), r.animation;
4190
4190
  }
4191
- const Ii = ["", "X", "Y", "Z"], Ah = { visibility: "hidden" }, Wi = 1e3;
4192
- let Ph = 0;
4191
+ const Ii = ["", "X", "Y", "Z"], Ph = { visibility: "hidden" }, Wi = 1e3;
4192
+ let Ah = 0;
4193
4193
  const Le = {
4194
4194
  type: "projectionFrame",
4195
4195
  totalNodes: 0,
@@ -4199,7 +4199,7 @@ const Le = {
4199
4199
  function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
4200
4200
  return class {
4201
4201
  constructor(s = {}, a = t == null ? void 0 : t()) {
4202
- this.id = Ph++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
4202
+ this.id = Ah++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
4203
4203
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
4204
4204
  }, this.updateProjection = () => {
4205
4205
  this.projectionUpdateScheduled = !1, Le.totalNodes = Le.resolvedTargetDeltas = Le.recalculatedProjection = 0, this.nodes.forEach(Oh), this.nodes.forEach(Dh), this.nodes.forEach(jh), this.nodes.forEach(Vh), Sh(Le);
@@ -4303,7 +4303,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4303
4303
  }
4304
4304
  this.isUpdating || this.nodes.forEach(Mh), this.isUpdating = !1, this.nodes.forEach(Lh), this.nodes.forEach(Ch), this.nodes.forEach(Rh), this.clearAllSnapshots();
4305
4305
  const a = performance.now();
4306
- q.delta = Pe(0, 1e3 / 60, a - q.timestamp), q.timestamp = a, q.isProcessing = !0, wn.update.process(q), wn.preRender.process(q), wn.render.process(q), q.isProcessing = !1;
4306
+ $.delta = Ae(0, 1e3 / 60, a - $.timestamp), $.timestamp = a, $.isProcessing = !0, wn.update.process($), wn.preRender.process($), wn.render.process($), $.isProcessing = !1;
4307
4307
  }
4308
4308
  didUpdate() {
4309
4309
  this.updateScheduled || (this.updateScheduled = !0, queueMicrotask(() => this.update()));
@@ -4332,7 +4332,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4332
4332
  for (let l = 0; l < this.path.length; l++)
4333
4333
  this.path[l].updateScroll();
4334
4334
  const s = this.layout;
4335
- this.layout = this.measure(!1), this.layoutCorrected = F(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
4335
+ this.layout = this.measure(!1), this.layoutCorrected = _(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
4336
4336
  const { visualElement: a } = this.options;
4337
4337
  a && a.notify("LayoutMeasure", this.layout.layoutBox, s ? s.layoutBox : void 0);
4338
4338
  }
@@ -4365,12 +4365,12 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4365
4365
  measurePageBox() {
4366
4366
  const { visualElement: s } = this.options;
4367
4367
  if (!s)
4368
- return F();
4368
+ return _();
4369
4369
  const a = s.measureViewportBox(), { scroll: l } = this.root;
4370
4370
  return l && (Se(a.x, l.offset.x), Se(a.y, l.offset.y)), a;
4371
4371
  }
4372
4372
  removeElementScroll(s) {
4373
- const a = F();
4373
+ const a = _();
4374
4374
  Z(a, s);
4375
4375
  for (let l = 0; l < this.path.length; l++) {
4376
4376
  const c = this.path[l], { scroll: f, options: u } = c;
@@ -4386,7 +4386,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4386
4386
  return a;
4387
4387
  }
4388
4388
  applyTransform(s, a = !1) {
4389
- const l = F();
4389
+ const l = _();
4390
4390
  Z(l, s);
4391
4391
  for (let c = 0; c < this.path.length; c++) {
4392
4392
  const f = this.path[c];
@@ -4398,14 +4398,14 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4398
4398
  return Me(this.latestValues) && Ke(l, this.latestValues), l;
4399
4399
  }
4400
4400
  removeTransform(s) {
4401
- const a = F();
4401
+ const a = _();
4402
4402
  Z(a, s);
4403
4403
  for (let l = 0; l < this.path.length; l++) {
4404
4404
  const c = this.path[l];
4405
4405
  if (!c.instance || !Me(c.latestValues))
4406
4406
  continue;
4407
4407
  Yn(c.latestValues) && c.updateSnapshot();
4408
- const f = F(), u = c.measurePageBox();
4408
+ const f = _(), u = c.measurePageBox();
4409
4409
  Z(f, u), _i(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, f);
4410
4410
  }
4411
4411
  return Me(this.latestValues) && _i(a, this.latestValues), a;
@@ -4424,7 +4424,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4424
4424
  this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
4425
4425
  }
4426
4426
  forceRelativeParentToResolveTarget() {
4427
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== q.timestamp && this.relativeParent.resolveTargetDelta(!0);
4427
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== $.timestamp && this.relativeParent.resolveTargetDelta(!0);
4428
4428
  }
4429
4429
  resolveTargetDelta(s = !1) {
4430
4430
  var a;
@@ -4435,15 +4435,15 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4435
4435
  return;
4436
4436
  const { layout: u, layoutId: h } = this.options;
4437
4437
  if (!(!this.layout || !(u || h))) {
4438
- if (this.resolvedRelativeTargetAt = q.timestamp, !this.targetDelta && !this.relativeTarget) {
4438
+ if (this.resolvedRelativeTargetAt = $.timestamp, !this.targetDelta && !this.relativeTarget) {
4439
4439
  const d = this.getClosestProjectingParent();
4440
- d && d.layout && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = F(), this.relativeTargetOrigin = F(), ut(this.relativeTargetOrigin, this.layout.layoutBox, d.layout.layoutBox), Z(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4440
+ d && d.layout && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = _(), this.relativeTargetOrigin = _(), ut(this.relativeTargetOrigin, this.layout.layoutBox, d.layout.layoutBox), Z(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4441
4441
  }
4442
4442
  if (!(!this.relativeTarget && !this.targetDelta)) {
4443
- if (this.target || (this.target = F(), this.targetWithTransforms = F()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Uf(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Z(this.target, this.layout.layoutBox), Ko(this.target, this.targetDelta)) : Z(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
4443
+ if (this.target || (this.target = _(), this.targetWithTransforms = _()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Uf(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Z(this.target, this.layout.layoutBox), Ko(this.target, this.targetDelta)) : Z(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
4444
4444
  this.attemptToResolveRelativeTarget = !1;
4445
4445
  const d = this.getClosestProjectingParent();
4446
- d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = F(), this.relativeTargetOrigin = F(), ut(this.relativeTargetOrigin, this.target, d.target), Z(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4446
+ d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = _(), this.relativeTargetOrigin = _(), ut(this.relativeTargetOrigin, this.target, d.target), Z(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
4447
4447
  }
4448
4448
  Le.resolvedTargetDeltas++;
4449
4449
  }
@@ -4460,7 +4460,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4460
4460
  var s;
4461
4461
  const a = this.getLead(), l = !!this.resumingFrom || this !== a;
4462
4462
  let c = !0;
4463
- if ((this.isProjectionDirty || !((s = this.parent) === null || s === void 0) && s.isProjectionDirty) && (c = !1), l && (this.isSharedProjectionDirty || this.isTransformDirty) && (c = !1), this.resolvedRelativeTargetAt === q.timestamp && (c = !1), c)
4463
+ if ((this.isProjectionDirty || !((s = this.parent) === null || s === void 0) && s.isProjectionDirty) && (c = !1), l && (this.isSharedProjectionDirty || this.isTransformDirty) && (c = !1), this.resolvedRelativeTargetAt === $.timestamp && (c = !1), c)
4464
4464
  return;
4465
4465
  const { layout: f, layoutId: u } = this.options;
4466
4466
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(f || u))
@@ -4493,12 +4493,12 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4493
4493
  setAnimationOrigin(s, a = !1) {
4494
4494
  const l = this.snapshot, c = l ? l.latestValues : {}, f = { ...this.latestValues }, u = Xe();
4495
4495
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
4496
- const h = F(), d = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, m = d !== p, g = this.getStack(), v = !g || g.members.length <= 1, w = !!(m && !v && this.options.crossfade === !0 && !this.path.some(Bh));
4496
+ const h = _(), d = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, m = d !== p, g = this.getStack(), v = !g || g.members.length <= 1, w = !!(m && !v && this.options.crossfade === !0 && !this.path.some(Bh));
4497
4497
  this.animationProgress = 0;
4498
4498
  let y;
4499
4499
  this.mixTargetDelta = (S) => {
4500
4500
  const E = S / 1e3;
4501
- Hi(u.x, s.x, E), Hi(u.y, s.y, E), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ut(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Nh(this.relativeTarget, this.relativeTargetOrigin, h, E), y && yh(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y = F()), Z(y, this.relativeTarget)), m && (this.animationValues = f, fh(f, c, this.latestValues, E, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = E;
4501
+ Hi(u.x, s.x, E), Hi(u.y, s.y, E), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ut(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Nh(this.relativeTarget, this.relativeTargetOrigin, h, E), y && yh(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y = _()), Z(y, this.relativeTarget)), m && (this.animationValues = f, fh(f, c, this.latestValues, E, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = E;
4502
4502
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
4503
4503
  }
4504
4504
  startAnimation(s) {
@@ -4527,7 +4527,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4527
4527
  let { targetWithTransforms: a, target: l, layout: c, latestValues: f } = s;
4528
4528
  if (!(!a || !l || !c)) {
4529
4529
  if (this !== s && this.layout && c && ia(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
4530
- l = this.target || F();
4530
+ l = this.target || _();
4531
4531
  const u = J(this.layout.layoutBox.x);
4532
4532
  l.x.min = s.target.x.min, l.x.max = l.x.min + u;
4533
4533
  const h = J(this.layout.layoutBox.y);
@@ -4594,7 +4594,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
4594
4594
  if (!this.instance || this.isSVG)
4595
4595
  return;
4596
4596
  if (!this.isVisible)
4597
- return Ah;
4597
+ return Ph;
4598
4598
  const c = {
4599
4599
  visibility: ""
4600
4600
  }, f = this.getTransformTemplate();
@@ -4660,9 +4660,9 @@ function Rh(e) {
4660
4660
  if (u && !u.resumeFrom) {
4661
4661
  const { snapshot: h, layout: d } = u;
4662
4662
  if (h && d) {
4663
- const p = F();
4663
+ const p = _();
4664
4664
  ut(p, n.layoutBox, h.layoutBox);
4665
- const m = F();
4665
+ const m = _();
4666
4666
  ut(m, r, d.layoutBox), na(p, m) || (f = !0), u.options.layoutRoot && (e.relativeTarget = m, e.relativeTargetOrigin = p, e.relativeParent = u);
4667
4667
  }
4668
4668
  }
@@ -4918,9 +4918,9 @@ function rd(e, t, n) {
4918
4918
  const { willChange: r } = t;
4919
4919
  for (const i in t) {
4920
4920
  const o = t[i], s = n[i];
4921
- if (K(o))
4921
+ if (X(o))
4922
4922
  e.addValue(i, o), Xt(r) && r.add(i);
4923
- else if (K(s))
4923
+ else if (X(s))
4924
4924
  e.addValue(i, Ye(o, { owner: e })), Xt(r) && r.remove(i);
4925
4925
  else if (s !== o)
4926
4926
  if (e.hasValue(i)) {
@@ -4954,7 +4954,7 @@ class od {
4954
4954
  const { willChange: c, ...f } = this.scrapeMotionValuesFromProps(n, {});
4955
4955
  for (const u in f) {
4956
4956
  const h = f[u];
4957
- a[u] !== void 0 && K(h) && (h.set(a[u], !1), Xt(c) && c.add(u));
4957
+ a[u] !== void 0 && X(h) && (h.set(a[u], !1), Xt(c) && c.add(u));
4958
4958
  }
4959
4959
  }
4960
4960
  /**
@@ -5034,7 +5034,7 @@ class od {
5034
5034
  * removed with a re-render to work.
5035
5035
  */
5036
5036
  measureViewportBox() {
5037
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : F();
5037
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : _();
5038
5038
  }
5039
5039
  getStaticValue(t) {
5040
5040
  return this.latestValues[t];
@@ -5161,7 +5161,7 @@ class od {
5161
5161
  if (r && i !== void 0)
5162
5162
  return i;
5163
5163
  const o = this.getBaseTargetFromProps(this.props, t);
5164
- return o !== void 0 && !K(o) ? o : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
5164
+ return o !== void 0 && !X(o) ? o : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
5165
5165
  }
5166
5166
  on(t, n) {
5167
5167
  return this.events[t] || (this.events[t] = new Rr()), this.events[t].add(n);
@@ -5222,7 +5222,7 @@ class ld extends ca {
5222
5222
  handleChildMotionValue() {
5223
5223
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
5224
5224
  const { children: t } = this.props;
5225
- K(t) && (this.childSubscription = t.on("change", (n) => {
5225
+ X(t) && (this.childSubscription = t.on("change", (n) => {
5226
5226
  this.current && (this.current.textContent = `${n}`);
5227
5227
  }));
5228
5228
  }
@@ -5245,7 +5245,7 @@ class cd extends ca {
5245
5245
  return n = ro.has(n) ? n : cr(n), t.getAttribute(n);
5246
5246
  }
5247
5247
  measureInstanceViewportBox() {
5248
- return F();
5248
+ return _();
5249
5249
  }
5250
5250
  scrapeMotionValuesFromProps(t, n) {
5251
5251
  return so(t, n);
@@ -5445,13 +5445,13 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
5445
5445
  var a;
5446
5446
  o ? He.set(t, o) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && He.set(t, s.responseXML.documentElement), Ed(t);
5447
5447
  });
5448
- }, Ad = function(t, n, r) {
5448
+ }, Pd = function(t, n, r) {
5449
5449
  ha(t, n, function(i, o) {
5450
5450
  var s;
5451
5451
  i ? r(i) : ((s = o.responseXML) === null || s === void 0 ? void 0 : s.documentElement) instanceof SVGSVGElement && r(null, o.responseXML.documentElement);
5452
5452
  });
5453
- }, Pd = 0, Cd = function() {
5454
- return ++Pd;
5453
+ }, Ad = 0, Cd = function() {
5454
+ return ++Ad;
5455
5455
  }, se = [], rs = {}, Rd = "http://www.w3.org/2000/svg", Dn = "http://www.w3.org/1999/xlink", is = function(t, n, r, i, o, s, a) {
5456
5456
  var l = t.getAttribute("data-src") || t.getAttribute("src");
5457
5457
  if (!l) {
@@ -5463,7 +5463,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
5463
5463
  return;
5464
5464
  }
5465
5465
  se.push(t), t.setAttribute("src", "");
5466
- var c = i ? Td : Ad;
5466
+ var c = i ? Td : Pd;
5467
5467
  c(l, o, function(f, u) {
5468
5468
  if (!u) {
5469
5469
  se.splice(se.indexOf(t), 1), t = null, a(f);
@@ -5498,17 +5498,17 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
5498
5498
  path: [],
5499
5499
  pattern: ["fill", "stroke"],
5500
5500
  radialGradient: ["fill", "stroke"]
5501
- }, S, E, T, A, P;
5501
+ }, S, E, T, P, A;
5502
5502
  Object.keys(y).forEach(function(z) {
5503
5503
  S = z, T = y[z], E = u.querySelectorAll(S + "[id]");
5504
5504
  for (var ge = function(Ie, gn) {
5505
- A = E[Ie].id, P = A + "-" + Cd();
5505
+ P = E[Ie].id, A = P + "-" + Cd();
5506
5506
  var Oe;
5507
5507
  Array.prototype.forEach.call(T, function(yn) {
5508
- Oe = u.querySelectorAll("[" + yn + '*="' + A + '"]');
5508
+ Oe = u.querySelectorAll("[" + yn + '*="' + P + '"]');
5509
5509
  for (var Tt = 0, Ba = Oe.length; Tt < Ba; Tt++) {
5510
5510
  var Nr = Oe[Tt].getAttribute(yn);
5511
- Nr && !Nr.match(new RegExp('url\\("?#' + A + '"?\\)')) || Oe[Tt].setAttribute(yn, "url(#" + P + ")");
5511
+ Nr && !Nr.match(new RegExp('url\\("?#' + P + '"?\\)')) || Oe[Tt].setAttribute(yn, "url(#" + A + ")");
5512
5512
  }
5513
5513
  });
5514
5514
  for (var ue = u.querySelectorAll("[*|href]"), We = [], Ue = 0, tt = ue.length; Ue < tt; Ue++) {
@@ -5516,18 +5516,18 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
5516
5516
  Ve && Ve.toString() === "#" + E[Ie].id && We.push(ue[Ue]);
5517
5517
  }
5518
5518
  for (var te = 0, Fr = We.length; te < Fr; te++)
5519
- We[te].setAttributeNS(Dn, "href", "#" + P);
5520
- E[Ie].id = P;
5519
+ We[te].setAttributeNS(Dn, "href", "#" + A);
5520
+ E[Ie].id = A;
5521
5521
  }, Ne = 0, k = E.length; Ne < k; Ne++)
5522
5522
  ge(Ne);
5523
5523
  });
5524
5524
  }
5525
5525
  u.removeAttribute("xmlns:a");
5526
- for (var O = u.querySelectorAll("script"), _ = [], H, B, $ = 0, U = O.length; $ < U; $++)
5527
- B = O[$].getAttribute("type"), (!B || B === "application/ecmascript" || B === "application/javascript" || B === "text/javascript") && (H = O[$].innerText || O[$].textContent, H && _.push(H), u.removeChild(O[$]));
5528
- if (_.length > 0 && (n === "always" || n === "once" && !rs[l])) {
5529
- for (var re = 0, I = _.length; re < I; re++)
5530
- new Function(_[re])(window);
5526
+ for (var O = u.querySelectorAll("script"), W = [], K, N, H = 0, U = O.length; H < U; H++)
5527
+ N = O[H].getAttribute("type"), (!N || N === "application/ecmascript" || N === "application/javascript" || N === "text/javascript") && (K = O[H].innerText || O[H].textContent, K && W.push(K), u.removeChild(O[H]));
5528
+ if (W.length > 0 && (n === "always" || n === "once" && !rs[l])) {
5529
+ for (var re = 0, B = W.length; re < B; re++)
5530
+ new Function(W[re])(window);
5531
5531
  rs[l] = !0;
5532
5532
  }
5533
5533
  var ie = u.querySelectorAll("style");
@@ -5582,9 +5582,9 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
5582
5582
  if (this.reactWrapper instanceof Vd(this.reactWrapper).Node) {
5583
5583
  var o = this.props, s = o.desc, a = o.evalScripts, l = o.httpRequestWithCredentials, c = o.renumerateIRIElements, f = o.src, u = o.title, h = o.useRequestCache, d = this.props.onError, p = this.props.beforeInjection, m = this.props.afterInjection, g = this.props.wrapper, v, w;
5584
5584
  g === "svg" ? (v = document.createElementNS(Vt, g), v.setAttribute("xmlns", Vt), v.setAttribute("xmlns:xlink", ss), w = document.createElementNS(Vt, g)) : (v = document.createElement(g), w = document.createElement(g)), v.appendChild(w), w.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(v);
5585
- var y = function(A) {
5585
+ var y = function(P) {
5586
5586
  if (i.removeSVG(), !i._isMounted) {
5587
- d(A);
5587
+ d(P);
5588
5588
  return;
5589
5589
  }
5590
5590
  i.setState(function() {
@@ -5593,11 +5593,11 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
5593
5593
  isLoading: !1
5594
5594
  };
5595
5595
  }, function() {
5596
- d(A);
5596
+ d(P);
5597
5597
  });
5598
- }, S = function(A, P) {
5599
- if (A) {
5600
- y(A);
5598
+ }, S = function(P, A) {
5599
+ if (P) {
5600
+ y(P);
5601
5601
  return;
5602
5602
  }
5603
5603
  i._isMounted && i.setState(function() {
@@ -5606,28 +5606,28 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
5606
5606
  };
5607
5607
  }, function() {
5608
5608
  try {
5609
- m(P);
5609
+ m(A);
5610
5610
  } catch (O) {
5611
5611
  y(O);
5612
5612
  }
5613
5613
  });
5614
- }, E = function(A) {
5615
- if (A.setAttribute("role", "img"), s) {
5616
- var P = A.querySelector(":scope > desc");
5617
- P && A.removeChild(P);
5614
+ }, E = function(P) {
5615
+ if (P.setAttribute("role", "img"), s) {
5616
+ var A = P.querySelector(":scope > desc");
5617
+ A && P.removeChild(A);
5618
5618
  var O = document.createElement("desc");
5619
- O.innerHTML = s, A.prepend(O);
5619
+ O.innerHTML = s, P.prepend(O);
5620
5620
  }
5621
5621
  if (u) {
5622
- var _ = A.querySelector(":scope > title");
5623
- _ && A.removeChild(_);
5624
- var H = document.createElement("title");
5625
- H.innerHTML = u, A.prepend(H);
5622
+ var W = P.querySelector(":scope > title");
5623
+ W && P.removeChild(W);
5624
+ var K = document.createElement("title");
5625
+ K.innerHTML = u, P.prepend(K);
5626
5626
  }
5627
5627
  try {
5628
- p(A);
5629
- } catch (B) {
5630
- y(B);
5628
+ p(P);
5629
+ } catch (N) {
5630
+ y(N);
5631
5631
  }
5632
5632
  };
5633
5633
  Od(w, {
@@ -5687,48 +5687,48 @@ Or.defaultProps = {
5687
5687
  wrapper: "div"
5688
5688
  };
5689
5689
  Or.propTypes = {
5690
- afterInjection: W.func,
5691
- beforeInjection: W.func,
5692
- desc: W.string,
5693
- evalScripts: W.oneOf(["always", "once", "never"]),
5694
- fallback: W.oneOfType([W.func, W.object, W.string]),
5695
- httpRequestWithCredentials: W.bool,
5696
- loading: W.oneOfType([W.func, W.object, W.string]),
5697
- onError: W.func,
5698
- renumerateIRIElements: W.bool,
5699
- src: W.string.isRequired,
5700
- title: W.string,
5701
- useRequestCache: W.bool,
5702
- wrapper: W.oneOf(["div", "span", "svg"])
5690
+ afterInjection: I.func,
5691
+ beforeInjection: I.func,
5692
+ desc: I.string,
5693
+ evalScripts: I.oneOf(["always", "once", "never"]),
5694
+ fallback: I.oneOfType([I.func, I.object, I.string]),
5695
+ httpRequestWithCredentials: I.bool,
5696
+ loading: I.oneOfType([I.func, I.object, I.string]),
5697
+ onError: I.func,
5698
+ renumerateIRIElements: I.bool,
5699
+ src: I.string.isRequired,
5700
+ title: I.string,
5701
+ useRequestCache: I.bool,
5702
+ wrapper: I.oneOf(["div", "span", "svg"])
5703
5703
  };
5704
5704
  function da({ item: e, level: t = 0, ...n }) {
5705
- var E;
5706
- const { isActive: r, isCollapsed: i, expanded: o, toggleExpand: s } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", f = (T, A = a) => `${T} ${A} ${l} ${c}`, u = !!((E = e.children) != null && E.length), [h, d] = x.useState(!1), p = x.useRef();
5707
- function m(T) {
5708
- var _;
5709
- const { level: A, hovered: P, parentRef: O } = T;
5710
- return !u || i && A >= 2 && !P ? null : /* @__PURE__ */ R.jsx(
5705
+ var w;
5706
+ const { isActive: r, isCollapsed: i, expanded: o, toggleExpand: s } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", f = (y, S = a) => `${y} ${S} ${l} ${c}`, u = !!((w = e.children) != null && w.length), [h, d] = x.useState(!1), p = x.useRef();
5707
+ function m(y) {
5708
+ var P;
5709
+ const { level: S, hovered: E, parentRef: T } = y;
5710
+ return !u || i && S >= 2 && !E ? null : /* @__PURE__ */ R.jsx(
5711
5711
  dd,
5712
5712
  {
5713
- parentRef: O,
5714
- onlyChild: !i || i && A < 2,
5713
+ parentRef: T,
5714
+ onlyChild: !i || i && S < 2,
5715
5715
  children: /* @__PURE__ */ R.jsx(
5716
5716
  ua.div,
5717
5717
  {
5718
- className: f("menu-item__dropdown", `level-${A}`),
5718
+ className: f("menu-item__dropdown", `level-${S}`),
5719
5719
  initial: { height: i ? "auto" : 0 },
5720
5720
  animate: {
5721
5721
  height: i || o(e.id) ? "auto" : 0
5722
5722
  },
5723
5723
  transition: { duration: 0.2 },
5724
- children: (_ = e.children) == null ? void 0 : _.map((H) => /* @__PURE__ */ x.createElement(da, { ...n, key: H.id, item: H, level: A }))
5724
+ children: (P = e.children) == null ? void 0 : P.map((A) => /* @__PURE__ */ x.createElement(da, { ...n, key: A.id, item: A, level: S }))
5725
5725
  },
5726
5726
  +i
5727
5727
  )
5728
5728
  }
5729
5729
  );
5730
5730
  }
5731
- const g = u ? "#" : e.path || "#", v = window.location.pathname.split("/")[1], w = g.split("/")[1], y = v !== w && g !== "#" ? window.location.origin + g : g, S = u ? "div" : y.includes("https") ? "a" : yl;
5731
+ const g = e.path && n.replacePath ? n.replacePath(e.path) : e.path || "#", v = u ? "div" : yl;
5732
5732
  return /* @__PURE__ */ R.jsxs(
5733
5733
  "div",
5734
5734
  {
@@ -5738,15 +5738,15 @@ function da({ item: e, level: t = 0, ...n }) {
5738
5738
  onMouseLeave: () => i && d(!1),
5739
5739
  children: [
5740
5740
  /* @__PURE__ */ R.jsxs(
5741
- S,
5741
+ v,
5742
5742
  {
5743
- ...S === "a" ? { href: y } : S === "div" ? {} : { to: y },
5743
+ ...v === "div" ? {} : { to: g },
5744
5744
  style: {
5745
5745
  paddingLeft: `${i ? "0.5rem" : `${t * 1}rem`}`
5746
5746
  },
5747
5747
  className: f("menu-item__link"),
5748
- onClick: (T) => {
5749
- u && (T.preventDefault(), i || s(e.id));
5748
+ onClick: (y) => {
5749
+ u && (y.preventDefault(), i || s(e.id));
5750
5750
  },
5751
5751
  children: [
5752
5752
  t !== 0 && /* @__PURE__ */ R.jsx(Ld, { cls: f, item: e }),
@@ -6125,12 +6125,12 @@ const mp = null;
6125
6125
  function nr(e) {
6126
6126
  return b.isPlainObject(e) || b.isArray(e);
6127
6127
  }
6128
- function Aa(e) {
6128
+ function Pa(e) {
6129
6129
  return b.endsWith(e, "[]") ? e.slice(0, -2) : e;
6130
6130
  }
6131
6131
  function cs(e, t, n) {
6132
6132
  return e ? e.concat(t).map(function(i, o) {
6133
- return i = Aa(i), !n && o ? "[" + i + "]" : i;
6133
+ return i = Pa(i), !n && o ? "[" + i + "]" : i;
6134
6134
  }).join(n ? "." : "") : t;
6135
6135
  }
6136
6136
  function gp(e) {
@@ -6167,7 +6167,7 @@ function pn(e, t, n) {
6167
6167
  if (b.endsWith(m, "{}"))
6168
6168
  m = r ? m : m.slice(0, -2), p = JSON.stringify(p);
6169
6169
  else if (b.isArray(p) && gp(p) || (b.isFileList(p) || b.endsWith(m, "[]")) && (v = b.toArray(p)))
6170
- return m = Aa(m), v.forEach(function(y, S) {
6170
+ return m = Pa(m), v.forEach(function(y, S) {
6171
6171
  !(b.isUndefined(y) || y === null) && t.append(
6172
6172
  // eslint-disable-next-line no-nested-ternary
6173
6173
  s === !0 ? cs([m], S, o) : s === null ? m : m + "[]",
@@ -6218,11 +6218,11 @@ function us(e) {
6218
6218
  function kr(e, t) {
6219
6219
  this._pairs = [], e && pn(e, this, t);
6220
6220
  }
6221
- const Pa = kr.prototype;
6222
- Pa.append = function(t, n) {
6221
+ const Aa = kr.prototype;
6222
+ Aa.append = function(t, n) {
6223
6223
  this._pairs.push([t, n]);
6224
6224
  };
6225
- Pa.toString = function(t) {
6225
+ Aa.toString = function(t) {
6226
6226
  const n = t ? function(r) {
6227
6227
  return t.call(this, r, us);
6228
6228
  } : us;
@@ -6310,14 +6310,14 @@ const fs = bp, Ra = {
6310
6310
  Blob: Sp
6311
6311
  },
6312
6312
  protocols: ["http", "https", "file", "blob", "url", "data"]
6313
- }, Oa = typeof window < "u" && typeof document < "u", Tp = ((e) => Oa && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Ap = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
6314
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Pp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6313
+ }, Oa = typeof window < "u" && typeof document < "u", Tp = ((e) => Oa && ["ReactNative", "NativeScript", "NS"].indexOf(e) < 0)(typeof navigator < "u" && navigator.product), Pp = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
6314
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Ap = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6315
6315
  __proto__: null,
6316
6316
  hasBrowserEnv: Oa,
6317
6317
  hasStandardBrowserEnv: Tp,
6318
- hasStandardBrowserWebWorkerEnv: Ap
6318
+ hasStandardBrowserWebWorkerEnv: Pp
6319
6319
  }, Symbol.toStringTag, { value: "Module" })), ae = {
6320
- ...Pp,
6320
+ ...Ap,
6321
6321
  ...Ep
6322
6322
  };
6323
6323
  function Cp(e, t) {
@@ -7259,27 +7259,27 @@ function ja(e) {
7259
7259
  return ja(Ze(e, i));
7260
7260
  }, n;
7261
7261
  }
7262
- const N = ja(Lr);
7263
- N.Axios = Ft;
7264
- N.CanceledError = Et;
7265
- N.CancelToken = Xp;
7266
- N.isCancel = ka;
7267
- N.VERSION = Da;
7268
- N.toFormData = pn;
7269
- N.AxiosError = V;
7270
- N.Cancel = N.CanceledError;
7271
- N.all = function(t) {
7262
+ const F = ja(Lr);
7263
+ F.Axios = Ft;
7264
+ F.CanceledError = Et;
7265
+ F.CancelToken = Xp;
7266
+ F.isCancel = ka;
7267
+ F.VERSION = Da;
7268
+ F.toFormData = pn;
7269
+ F.AxiosError = V;
7270
+ F.Cancel = F.CanceledError;
7271
+ F.all = function(t) {
7272
7272
  return Promise.all(t);
7273
7273
  };
7274
- N.spread = Kp;
7275
- N.isAxiosError = Yp;
7276
- N.mergeConfig = Ze;
7277
- N.AxiosHeaders = pe;
7278
- N.formToJSON = (e) => Va(b.isHTMLForm(e) ? new FormData(e) : e);
7279
- N.getAdapter = La.getAdapter;
7280
- N.HttpStatusCode = Jp;
7281
- N.default = N;
7282
- const Zp = N, Qp = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
7274
+ F.spread = Kp;
7275
+ F.isAxiosError = Yp;
7276
+ F.mergeConfig = Ze;
7277
+ F.AxiosHeaders = pe;
7278
+ F.formToJSON = (e) => Va(b.isHTMLForm(e) ? new FormData(e) : e);
7279
+ F.getAdapter = La.getAdapter;
7280
+ F.HttpStatusCode = Jp;
7281
+ F.default = F;
7282
+ const Zp = F, Qp = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
7283
7283
  `;
7284
7284
  function em() {
7285
7285
  return /* @__PURE__ */ R.jsx(
@@ -7520,9 +7520,9 @@ function dm(e) {
7520
7520
  const w = t + (n || "/global-menu-config/api/v1/menu-items/user"), y = await Zp.get(w, {
7521
7521
  withCredentials: !0
7522
7522
  }).then((E) => E.data).catch((E) => {
7523
- var T, A;
7523
+ var T, P;
7524
7524
  um(
7525
- ((A = (T = E.response) == null ? void 0 : T.data) == null ? void 0 : A.errorMessage) || "Have error when get menu items"
7525
+ ((P = (T = E.response) == null ? void 0 : T.data) == null ? void 0 : P.errorMessage) || "Have error when get menu items"
7526
7526
  );
7527
7527
  }), S = {};
7528
7528
  y.forEach((E) => {
@@ -7560,7 +7560,8 @@ function dm(e) {
7560
7560
  isActive: w,
7561
7561
  isCollapsed: s,
7562
7562
  expanded: (y) => c[y],
7563
- toggleExpand: u
7563
+ toggleExpand: u,
7564
+ replacePath: e.replacePath
7564
7565
  },
7565
7566
  v.id
7566
7567
  );
@@ -7597,7 +7598,8 @@ const mm = $a(pm, {
7597
7598
  props: {
7598
7599
  baseUrl: "string",
7599
7600
  menuPath: "string",
7600
- logout: "function"
7601
+ logout: "function",
7602
+ replacePath: "function"
7601
7603
  }
7602
7604
  // shadow: 'open',
7603
7605
  });