@ukpc-lib/react 0.13.11-sandbox.saas-8953.patch-2 → 0.14.3-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/components/StyledDateRangePicker/index.d.ts +0 -1
  2. package/dist/components/index.cjs +2 -2
  3. package/dist/components/index.js +198 -200
  4. package/dist/{index.esm2017-DoRVthPw.cjs → index.esm2017-BG3Mafc4.cjs} +26 -26
  5. package/dist/{index.esm2017-C-4SqDxS.js → index.esm2017-DB_8NOjr.js} +627 -624
  6. package/dist/share/index.cjs +1 -1
  7. package/dist/share/index.js +1 -1
  8. package/package.json +1 -1
  9. package/web-components-bundle/access-denied/index.js +2 -3
  10. package/web-components-bundle/base-breadcrumbs/index.js +2 -2
  11. package/web-components-bundle/favorite-menu/index.js +4 -4
  12. package/web-components-bundle/global-menu/index.js +4 -4
  13. package/web-components-bundle/global-topbar/index.js +6 -6
  14. package/web-components-bundle/has-permission/index.js +3 -3
  15. package/web-components-bundle/{index-DSLDsUYV.js → index-CMDsNzwJ.js} +16 -18
  16. package/web-components-bundle/index-CufBaW-l.js +3527 -0
  17. package/web-components-bundle/{index-BU5SX9Tl.js → index-DzW7qqrH.js} +537 -537
  18. package/web-components-bundle/{index-gdo5Ukmq.js → index-P9Lr8Bgb.js} +325 -322
  19. package/web-components-bundle/page-not-found/index.js +3 -4
  20. package/web-components-bundle/{react-to-web-component-w5r1Fs9q.js → react-to-web-component-BOygDorD.js} +1535 -1527
  21. package/web-components-bundle/{react-toastify.esm-H_Xdunfj.js → react-toastify.esm-DnABvuky.js} +1 -1
  22. package/web-components-bundle/toast-config/index.js +2 -2
  23. package/web-components-bundle/toast-config-notification/index.js +2 -2
  24. package/web-components-bundle/index-BgsZrtoB.js +0 -3206
  25. package/web-components-bundle/useTranslation-Cpy1-s9v.js +0 -337
@@ -1,10 +1,10 @@
1
- import { c as Fi, g as yu, r as A, R as Le, j as L, a as Kd, b as Up, s as zp, d as fV } from "./react-to-web-component-w5r1Fs9q.js";
2
- import { t as KD, I as dV, i as hV, L as hy } from "./index-BgsZrtoB.js";
3
- import { _ as Zo, i as Jh, s as pV, a as Te, b as py, f as mV, r as my, n as Wn, t as XD, e as gV, g as QD, c as an, d as ep, h as ZD, p as Io, m as hS, j as pS, k as Sh, l as Xd, o as mS, q as vV, T as JD, u as yV, v as bV, w as xV, x as ek, y as Er, D as wV, z as tp, A as SV, B as tk, C as TV, E as tf, F as np, G as gS, H as bu, I as ol, J as vS, K as CV, L as xu, M as kf, N as or, O as _V, P as nk, Q as rk, R as qr, S as EV, U as DV, V as ik, W as sk, X as Yp, Y as Q0, Z as Ec, $ as kV, a0 as yS, a1 as OV, a2 as Qd, a3 as PV, a4 as rp, a5 as MV, a6 as AV, a7 as Dn, a8 as IV, a9 as RV, aa as LV, ab as ok, ac as ak, ad as lk } from "./index-BU5SX9Tl.js";
1
+ import { c as Fi, g as yu, r as A, R as Le, j as L, a as Kd, b as Up, s as zp, d as fV } from "./react-to-web-component-BOygDorD.js";
2
+ import { t as KD, I as dV, i as hV, L as hy } from "./index-CufBaW-l.js";
3
+ import { _ as Zo, i as Jh, s as pV, a as Te, b as py, f as mV, r as my, n as Wn, t as XD, e as gV, g as QD, c as an, d as ep, h as ZD, p as Io, m as hS, j as pS, k as Sh, l as Xd, o as mS, q as vV, T as JD, u as yV, v as bV, w as xV, x as ek, y as Er, D as wV, z as tp, A as SV, B as tk, C as TV, E as tf, F as np, G as gS, H as bu, I as ol, J as vS, K as CV, L as xu, M as kf, N as or, O as _V, P as nk, Q as rk, R as qr, S as EV, U as DV, V as ik, W as sk, X as Yp, Y as Q0, Z as Ec, $ as kV, a0 as yS, a1 as OV, a2 as Qd, a3 as PV, a4 as rp, a5 as MV, a6 as AV, a7 as Dn, a8 as IV, a9 as RV, aa as LV, ab as ok, ac as ak, ad as lk } from "./index-DzW7qqrH.js";
4
4
  import { c as $s } from "./clsx-DB4S2d7J.js";
5
5
  import { _ as bS } from "./setPrototypeOf-CP0c5ut2.js";
6
- import { S as Z0 } from "./index-DSLDsUYV.js";
7
- import { B as J0 } from "./react-toastify.esm-H_Xdunfj.js";
6
+ import { S as Z0 } from "./index-CMDsNzwJ.js";
7
+ import { B as J0 } from "./react-toastify.esm-DnABvuky.js";
8
8
  import "./toast-config/index.js";
9
9
  import "./toast-config-notification/index.js";
10
10
  function NV(e) {
@@ -2687,20 +2687,20 @@ function h5() {
2687
2687
  t.fetchFn = function() {
2688
2688
  var n, r, i, s, o, l, c = (n = t.fetchOptions) == null || (r = n.meta) == null ? void 0 : r.refetchPage, d = (i = t.fetchOptions) == null || (s = i.meta) == null ? void 0 : s.fetchMore, h = d == null ? void 0 : d.pageParam, p = (d == null ? void 0 : d.direction) === "forward", y = (d == null ? void 0 : d.direction) === "backward", b = ((o = t.state.data) == null ? void 0 : o.pages) || [], C = ((l = t.state.data) == null ? void 0 : l.pageParams) || [], w = QD(), D = w == null ? void 0 : w.signal, _ = C, I = !1, P = t.options.queryFn || function() {
2689
2689
  return Promise.reject("Missing queryFn");
2690
- }, V = function(se, me, ce, de) {
2691
- return _ = de ? [me].concat(_) : [].concat(_, [me]), de ? [ce].concat(se) : [].concat(se, [ce]);
2692
- }, $ = function(se, me, ce, de) {
2690
+ }, V = function(re, me, ce, de) {
2691
+ return _ = de ? [me].concat(_) : [].concat(_, [me]), de ? [ce].concat(re) : [].concat(re, [ce]);
2692
+ }, $ = function(re, me, ce, de) {
2693
2693
  if (I)
2694
2694
  return Promise.reject("Cancelled");
2695
- if (typeof ce > "u" && !me && se.length)
2696
- return Promise.resolve(se);
2695
+ if (typeof ce > "u" && !me && re.length)
2696
+ return Promise.resolve(re);
2697
2697
  var ae = {
2698
2698
  queryKey: t.queryKey,
2699
2699
  signal: D,
2700
2700
  pageParam: ce,
2701
2701
  meta: t.meta
2702
2702
  }, fe = P(ae), Se = Promise.resolve(fe).then(function(Ie) {
2703
- return V(se, ce, Ie, de);
2703
+ return V(re, ce, Ie, de);
2704
2704
  });
2705
2705
  if (ip(fe)) {
2706
2706
  var Ce = Se;
@@ -2714,13 +2714,13 @@ function h5() {
2714
2714
  var v = typeof h < "u", Y = v ? h : jS(t.options, b);
2715
2715
  j = $(b, v, Y);
2716
2716
  } else if (y) {
2717
- var z = typeof h < "u", re = z ? h : p5(t.options, b);
2718
- j = $(b, z, re, !0);
2717
+ var z = typeof h < "u", ie = z ? h : p5(t.options, b);
2718
+ j = $(b, z, ie, !0);
2719
2719
  } else
2720
2720
  (function() {
2721
2721
  _ = [];
2722
- var Z = typeof t.options.getNextPageParam > "u", se = c && b[0] ? c(b[0], 0, b) : !0;
2723
- j = se ? $([], Z, C[0]) : Promise.resolve(V([], C[0], b[0]));
2722
+ var Z = typeof t.options.getNextPageParam > "u", re = c && b[0] ? c(b[0], 0, b) : !0;
2723
+ j = re ? $([], Z, C[0]) : Promise.resolve(V([], C[0], b[0]));
2724
2724
  for (var me = function(ae) {
2725
2725
  j = j.then(function(fe) {
2726
2726
  var Se = c && b[ae] ? c(b[ae], ae, b) : !0;
@@ -3038,16 +3038,16 @@ var m5 = /* @__PURE__ */ function() {
3038
3038
  else
3039
3039
  j = C.data;
3040
3040
  if (typeof s.placeholderData < "u" && typeof j > "u" && (P === "loading" || P === "idle")) {
3041
- var re;
3041
+ var ie;
3042
3042
  if (c != null && c.isPlaceholderData && s.placeholderData === (h == null ? void 0 : h.placeholderData))
3043
- re = c.data;
3044
- else if (re = typeof s.placeholderData == "function" ? s.placeholderData() : s.placeholderData, s.select && typeof re < "u")
3043
+ ie = c.data;
3044
+ else if (ie = typeof s.placeholderData == "function" ? s.placeholderData() : s.placeholderData, s.select && typeof ie < "u")
3045
3045
  try {
3046
- re = s.select(re), s.structuralSharing !== !1 && (re = my(c == null ? void 0 : c.data, re)), this.selectError = null;
3046
+ ie = s.select(ie), s.structuralSharing !== !1 && (ie = my(c == null ? void 0 : c.data, ie)), this.selectError = null;
3047
3047
  } catch (ye) {
3048
3048
  ep().error(ye), this.selectError = ye;
3049
3049
  }
3050
- typeof re < "u" && (P = "success", j = re, $ = !0);
3050
+ typeof ie < "u" && (P = "success", j = ie, $ = !0);
3051
3051
  }
3052
3052
  this.selectError && (D = this.selectError, j = this.selectResult, _ = Date.now(), P = "error");
3053
3053
  var oe = {
@@ -3895,11 +3895,11 @@ function KS(e) {
3895
3895
  }
3896
3896
  if (i === Cr || (i === Tr || i === Si) && s === rf) {
3897
3897
  P = Ti;
3898
- var re = p && j === $ && $.visualViewport ? $.visualViewport.width : (
3898
+ var ie = p && j === $ && $.visualViewport ? $.visualViewport.width : (
3899
3899
  // $FlowFixMe[prop-missing]
3900
3900
  j[Y]
3901
3901
  );
3902
- b -= re - r.width, b *= c ? 1 : -1;
3902
+ b -= ie - r.width, b *= c ? 1 : -1;
3903
3903
  }
3904
3904
  }
3905
3905
  var oe = Object.assign({
@@ -4119,7 +4119,7 @@ function sf(e, t) {
4119
4119
  reference: j,
4120
4120
  element: P,
4121
4121
  placement: i
4122
- }), Y = Cy(Object.assign({}, P, v)), z = y === gc ? Y : j, re = {
4122
+ }), Y = Cy(Object.assign({}, P, v)), z = y === gc ? Y : j, ie = {
4123
4123
  top: $.top - z.top + _.top,
4124
4124
  bottom: z.bottom - $.bottom + _.bottom,
4125
4125
  left: $.left - z.left + _.left,
@@ -4127,12 +4127,12 @@ function sf(e, t) {
4127
4127
  }, oe = e.modifiersData.offset;
4128
4128
  if (y === gc && oe) {
4129
4129
  var ye = oe[i];
4130
- Object.keys(re).forEach(function(Z) {
4131
- var se = [Ti, Si].indexOf(Z) >= 0 ? 1 : -1, me = [Tr, Si].indexOf(Z) >= 0 ? "y" : "x";
4132
- re[Z] += ye[me] * se;
4130
+ Object.keys(ie).forEach(function(Z) {
4131
+ var re = [Ti, Si].indexOf(Z) >= 0 ? 1 : -1, me = [Tr, Si].indexOf(Z) >= 0 ? "y" : "x";
4132
+ ie[Z] += ye[me] * re;
4133
4133
  });
4134
4134
  }
4135
- return re;
4135
+ return ie;
4136
4136
  }
4137
4137
  function A4(e, t) {
4138
4138
  t === void 0 && (t = {});
@@ -4172,14 +4172,14 @@ function R4(e) {
4172
4172
  flipVariations: C,
4173
4173
  allowedAutoPlacements: w
4174
4174
  }) : qe);
4175
- }, []), $ = t.rects.reference, j = t.rects.popper, v = /* @__PURE__ */ new Map(), Y = !0, z = V[0], re = 0; re < V.length; re++) {
4176
- var oe = V[re], ye = us(oe), Z = cu(oe) === au, se = [Tr, Si].indexOf(ye) >= 0, me = se ? "width" : "height", ce = sf(t, {
4175
+ }, []), $ = t.rects.reference, j = t.rects.popper, v = /* @__PURE__ */ new Map(), Y = !0, z = V[0], ie = 0; ie < V.length; ie++) {
4176
+ var oe = V[ie], ye = us(oe), Z = cu(oe) === au, re = [Tr, Si].indexOf(ye) >= 0, me = re ? "width" : "height", ce = sf(t, {
4177
4177
  placement: oe,
4178
4178
  boundary: h,
4179
4179
  rootBoundary: p,
4180
4180
  altBoundary: y,
4181
4181
  padding: d
4182
- }), de = se ? Z ? Ti : Cr : Z ? Si : Tr;
4182
+ }), de = re ? Z ? Ti : Cr : Z ? Si : Tr;
4183
4183
  $[me] > j[me] && (de = Dh(de));
4184
4184
  var ae = Dh(de), fe = [];
4185
4185
  if (s && fe.push(ce[ye] <= 0), l && fe.push(ce[de] <= 0, ce[ae] <= 0), fe.every(function(je) {
@@ -4309,7 +4309,7 @@ function U4(e) {
4309
4309
  altBoundary: h
4310
4310
  }), _ = us(t.placement), I = cu(t.placement), P = !I, V = pb(_), $ = H4(V), j = t.modifiersData.popperOffsets, v = t.rects.reference, Y = t.rects.popper, z = typeof w == "function" ? w(Object.assign({}, t.rects, {
4311
4311
  placement: t.placement
4312
- })) : w, re = typeof z == "number" ? {
4312
+ })) : w, ie = typeof z == "number" ? {
4313
4313
  mainAxis: z,
4314
4314
  altAxis: z
4315
4315
  } : Object.assign({
@@ -4321,14 +4321,14 @@ function U4(e) {
4321
4321
  };
4322
4322
  if (j) {
4323
4323
  if (s) {
4324
- var Z, se = V === "y" ? Tr : Cr, me = V === "y" ? Si : Ti, ce = V === "y" ? "height" : "width", de = j[V], ae = de + D[se], fe = de - D[me], Se = b ? -Y[ce] / 2 : 0, Ce = I === au ? v[ce] : Y[ce], Ie = I === au ? -Y[ce] : -v[ce], Qe = t.elements.arrow, je = b && Qe ? hb(Qe) : {
4324
+ var Z, re = V === "y" ? Tr : Cr, me = V === "y" ? Si : Ti, ce = V === "y" ? "height" : "width", de = j[V], ae = de + D[re], fe = de - D[me], Se = b ? -Y[ce] / 2 : 0, Ce = I === au ? v[ce] : Y[ce], Ie = I === au ? -Y[ce] : -v[ce], Qe = t.elements.arrow, je = b && Qe ? hb(Qe) : {
4325
4325
  width: 0,
4326
4326
  height: 0
4327
- }, qe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : aO(), ft = qe[se], It = qe[me], dt = jc(0, v[ce], je[ce]), xt = P ? v[ce] / 2 - Se - dt - ft - re.mainAxis : Ce - dt - ft - re.mainAxis, Dt = P ? -v[ce] / 2 + Se + dt + It + re.mainAxis : Ie + dt + It + re.mainAxis, Fe = t.elements.arrow && Rf(t.elements.arrow), Tt = Fe ? V === "y" ? Fe.clientTop || 0 : Fe.clientLeft || 0 : 0, tn = (Z = oe == null ? void 0 : oe[V]) != null ? Z : 0, Rt = de + xt - tn - Tt, Ht = de + Dt - tn, ur = jc(b ? sp(ae, Rt) : ae, de, b ? Ga(fe, Ht) : fe);
4327
+ }, qe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : aO(), ft = qe[re], It = qe[me], dt = jc(0, v[ce], je[ce]), xt = P ? v[ce] / 2 - Se - dt - ft - ie.mainAxis : Ce - dt - ft - ie.mainAxis, Dt = P ? -v[ce] / 2 + Se + dt + It + ie.mainAxis : Ie + dt + It + ie.mainAxis, Fe = t.elements.arrow && Rf(t.elements.arrow), Tt = Fe ? V === "y" ? Fe.clientTop || 0 : Fe.clientLeft || 0 : 0, tn = (Z = oe == null ? void 0 : oe[V]) != null ? Z : 0, Rt = de + xt - tn - Tt, Ht = de + Dt - tn, ur = jc(b ? sp(ae, Rt) : ae, de, b ? Ga(fe, Ht) : fe);
4328
4328
  j[V] = ur, ye[V] = ur - de;
4329
4329
  }
4330
4330
  if (l) {
4331
- var pn, un = V === "x" ? Tr : Cr, oo = V === "x" ? Si : Ti, mn = j[$], cn = $ === "y" ? "height" : "width", Ut = mn + D[un], kn = mn - D[oo], cr = [Tr, Cr].indexOf(_) !== -1, Pe = (pn = oe == null ? void 0 : oe[$]) != null ? pn : 0, zt = cr ? Ut : mn - v[cn] - Y[cn] - Pe + re.altAxis, Dr = cr ? mn + v[cn] + Y[cn] - Pe - re.altAxis : kn, kr = b && cr ? p4(zt, mn, Dr) : jc(b ? zt : Ut, mn, b ? Dr : kn);
4331
+ var pn, un = V === "x" ? Tr : Cr, oo = V === "x" ? Si : Ti, mn = j[$], cn = $ === "y" ? "height" : "width", Ut = mn + D[un], kn = mn - D[oo], cr = [Tr, Cr].indexOf(_) !== -1, Pe = (pn = oe == null ? void 0 : oe[$]) != null ? pn : 0, zt = cr ? Ut : mn - v[cn] - Y[cn] - Pe + ie.altAxis, Dr = cr ? mn + v[cn] + Y[cn] - Pe - ie.altAxis : kn, kr = b && cr ? p4(zt, mn, Dr) : jc(b ? zt : Ut, mn, b ? Dr : kn);
4332
4332
  j[$] = kr, ye[$] = kr - mn;
4333
4333
  }
4334
4334
  t.modifiersData[r] = ye;
@@ -4473,8 +4473,8 @@ function eH(e) {
4473
4473
  h.rects = {
4474
4474
  reference: K4(I, Rf(P), h.options.strategy === "fixed"),
4475
4475
  popper: hb(P)
4476
- }, h.reset = !1, h.placement = h.options.placement, h.orderedModifiers.forEach(function(re) {
4477
- return h.modifiersData[re.name] = Object.assign({}, re.data);
4476
+ }, h.reset = !1, h.placement = h.options.placement, h.orderedModifiers.forEach(function(ie) {
4477
+ return h.modifiersData[ie.name] = Object.assign({}, ie.data);
4478
4478
  });
4479
4479
  for (var V = 0; V < h.orderedModifiers.length; V++) {
4480
4480
  if (h.reset === !0) {
@@ -4620,11 +4620,11 @@ const cH = (e) => {
4620
4620
  np(() => {
4621
4621
  $.current = V;
4622
4622
  }, [V]), A.useImperativeHandle(y, () => P.current, []);
4623
- const j = lH(h, o), [v, Y] = A.useState(j), [z, re] = A.useState(_y(i));
4623
+ const j = lH(h, o), [v, Y] = A.useState(j), [z, ie] = A.useState(_y(i));
4624
4624
  A.useEffect(() => {
4625
4625
  P.current && P.current.forceUpdate();
4626
4626
  }), A.useEffect(() => {
4627
- i && re(_y(i));
4627
+ i && ie(_y(i));
4628
4628
  }, [i]), np(() => {
4629
4629
  if (!z || !d)
4630
4630
  return;
@@ -4665,7 +4665,7 @@ const cH = (e) => {
4665
4665
  placement: v
4666
4666
  };
4667
4667
  w !== null && (oe.TransitionProps = w);
4668
- const ye = cH(t), Z = (r = C.root) != null ? r : "div", se = CV({
4668
+ const ye = cH(t), Z = (r = C.root) != null ? r : "div", re = CV({
4669
4669
  elementType: Z,
4670
4670
  externalSlotProps: b.root,
4671
4671
  externalForwardedProps: D,
@@ -4676,7 +4676,7 @@ const cH = (e) => {
4676
4676
  ownerState: t,
4677
4677
  className: ye.root
4678
4678
  });
4679
- return /* @__PURE__ */ L.jsx(Z, Te({}, se, {
4679
+ return /* @__PURE__ */ L.jsx(Z, Te({}, re, {
4680
4680
  children: typeof s == "function" ? s(oe) : s
4681
4681
  }));
4682
4682
  }), hH = /* @__PURE__ */ A.forwardRef(function(t, n) {
@@ -4707,8 +4707,8 @@ const cH = (e) => {
4707
4707
  if (s)
4708
4708
  v = s;
4709
4709
  else if (r) {
4710
- const re = _y(r);
4711
- v = re && uH(re) ? vS(re).body : vS(null).body;
4710
+ const ie = _y(r);
4711
+ v = ie && uH(ie) ? vS(ie).body : vS(null).body;
4712
4712
  }
4713
4713
  const Y = !h && c && (!w || P) ? "none" : void 0, z = w ? {
4714
4714
  in: h,
@@ -4860,7 +4860,7 @@ const SH = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
4860
4860
  tabIndex: $,
4861
4861
  type: j,
4862
4862
  value: v
4863
- } = t, Y = Er(t, SH), [z, re] = rk({
4863
+ } = t, Y = Er(t, SH), [z, ie] = rk({
4864
4864
  controlled: i,
4865
4865
  default: !!l,
4866
4866
  name: "SwitchBase",
@@ -4869,11 +4869,11 @@ const SH = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
4869
4869
  I && I(fe), oe && oe.onFocus && oe.onFocus(fe);
4870
4870
  }, Z = (fe) => {
4871
4871
  D && D(fe), oe && oe.onBlur && oe.onBlur(fe);
4872
- }, se = (fe) => {
4872
+ }, re = (fe) => {
4873
4873
  if (fe.nativeEvent.defaultPrevented)
4874
4874
  return;
4875
4875
  const Se = fe.target.checked;
4876
- re(Se), _ && _(fe, Se);
4876
+ ie(Se), _ && _(fe, Se);
4877
4877
  };
4878
4878
  let me = c;
4879
4879
  oe && typeof me > "u" && (me = oe.disabled);
@@ -4904,7 +4904,7 @@ const SH = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
4904
4904
  disabled: me,
4905
4905
  id: ce ? y : void 0,
4906
4906
  name: w,
4907
- onChange: se,
4907
+ onChange: re,
4908
4908
  readOnly: P,
4909
4909
  ref: C,
4910
4910
  required: V,
@@ -5352,8 +5352,8 @@ const qH = (e) => {
5352
5352
  wrap: w = "wrap",
5353
5353
  zeroMinWidth: D = !1
5354
5354
  } = s, _ = Er(s, jH), I = b || C, P = c || C, V = A.useContext(oT), $ = h ? l || 12 : V, j = {}, v = Te({}, _);
5355
- i.keys.forEach((re) => {
5356
- _[re] != null && (j[re] = _[re], delete v[re]);
5355
+ i.keys.forEach((ie) => {
5356
+ _[ie] != null && (j[ie] = _[ie], delete v[ie]);
5357
5357
  });
5358
5358
  const Y = Te({}, s, {
5359
5359
  columns: $,
@@ -5434,7 +5434,7 @@ const XH = {
5434
5434
  delay: ae,
5435
5435
  easing: fe
5436
5436
  })].join(","), c && c(me, ce);
5437
- }), re = v(d), oe = v(b), ye = v((me) => {
5437
+ }), ie = v(d), oe = v(b), ye = v((me) => {
5438
5438
  const {
5439
5439
  duration: ce,
5440
5440
  delay: de,
@@ -5455,7 +5455,7 @@ const XH = {
5455
5455
  delay: nv ? de : de || fe * 0.333,
5456
5456
  easing: ae
5457
5457
  })].join(","), me.style.opacity = 0, me.style.transform = Ey(0.75), p && p(me);
5458
- }), Z = v(y), se = (me) => {
5458
+ }), Z = v(y), re = (me) => {
5459
5459
  w === "auto" && I.start(P.current || 0, me), r && r($.current, me);
5460
5460
  };
5461
5461
  return /* @__PURE__ */ L.jsx(D, Te({
@@ -5463,12 +5463,12 @@ const XH = {
5463
5463
  in: l,
5464
5464
  nodeRef: $,
5465
5465
  onEnter: z,
5466
- onEntered: re,
5466
+ onEntered: ie,
5467
5467
  onEntering: Y,
5468
5468
  onExit: ye,
5469
5469
  onExited: Z,
5470
5470
  onExiting: oe,
5471
- addEndListener: se,
5471
+ addEndListener: re,
5472
5472
  timeout: w === "auto" ? null : w
5473
5473
  }, _, {
5474
5474
  children: (me, ce) => /* @__PURE__ */ A.cloneElement(s, Te({
@@ -5672,11 +5672,11 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
5672
5672
  arrow: v = !1,
5673
5673
  children: Y,
5674
5674
  components: z = {},
5675
- componentsProps: re = {},
5675
+ componentsProps: ie = {},
5676
5676
  describeChild: oe = !1,
5677
5677
  disableFocusListener: ye = !1,
5678
5678
  disableHoverListener: Z = !1,
5679
- disableInteractive: se = !1,
5679
+ disableInteractive: re = !1,
5680
5680
  disableTouchListener: me = !1,
5681
5681
  enterDelay: ce = 100,
5682
5682
  enterNextDelay: de = 0,
@@ -5698,7 +5698,7 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
5698
5698
  TransitionProps: tn
5699
5699
  } = j, Rt = Er(j, ZH), Ht = /* @__PURE__ */ A.isValidElement(Y) ? Y : /* @__PURE__ */ L.jsx("span", {
5700
5700
  children: Y
5701
- }), ur = ub(), pn = B5(), [un, oo] = A.useState(), [mn, cn] = A.useState(null), Ut = A.useRef(!1), kn = se || fe, cr = Ec(), Pe = Ec(), zt = Ec(), Dr = Ec(), [kr, ao] = rk({
5701
+ }), ur = ub(), pn = B5(), [un, oo] = A.useState(), [mn, cn] = A.useState(null), Ut = A.useRef(!1), kn = re || fe, cr = Ec(), Pe = Ec(), zt = Ec(), Dr = Ec(), [kr, ao] = rk({
5702
5702
  controlled: qe,
5703
5703
  default: !1,
5704
5704
  name: "Tooltip",
@@ -5800,12 +5800,12 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
5800
5800
  placement: ft,
5801
5801
  PopperComponentProp: It,
5802
5802
  touch: Ut.current
5803
- }), aa = eU(ys), la = (r = (i = Dt.popper) != null ? i : z.Popper) != null ? r : tU, hl = (s = (o = (l = Dt.transition) != null ? l : z.Transition) != null ? o : Tt) != null ? s : Dy, pl = (c = (d = Dt.tooltip) != null ? d : z.Tooltip) != null ? c : nU, ua = (h = (p = Dt.arrow) != null ? p : z.Arrow) != null ? h : rU, ml = Qd(la, Te({}, dt, (y = xt.popper) != null ? y : re.popper, {
5804
- className: $s(aa.popper, dt == null ? void 0 : dt.className, (b = (C = xt.popper) != null ? C : re.popper) == null ? void 0 : b.className)
5805
- }), ys), zi = Qd(hl, Te({}, tn, (w = xt.transition) != null ? w : re.transition), ys), gl = Qd(pl, Te({}, (D = xt.tooltip) != null ? D : re.tooltip, {
5806
- className: $s(aa.tooltip, (_ = (I = xt.tooltip) != null ? I : re.tooltip) == null ? void 0 : _.className)
5807
- }), ys), ca = Qd(ua, Te({}, (P = xt.arrow) != null ? P : re.arrow, {
5808
- className: $s(aa.arrow, (V = ($ = xt.arrow) != null ? $ : re.arrow) == null ? void 0 : V.className)
5803
+ }), aa = eU(ys), la = (r = (i = Dt.popper) != null ? i : z.Popper) != null ? r : tU, hl = (s = (o = (l = Dt.transition) != null ? l : z.Transition) != null ? o : Tt) != null ? s : Dy, pl = (c = (d = Dt.tooltip) != null ? d : z.Tooltip) != null ? c : nU, ua = (h = (p = Dt.arrow) != null ? p : z.Arrow) != null ? h : rU, ml = Qd(la, Te({}, dt, (y = xt.popper) != null ? y : ie.popper, {
5804
+ className: $s(aa.popper, dt == null ? void 0 : dt.className, (b = (C = xt.popper) != null ? C : ie.popper) == null ? void 0 : b.className)
5805
+ }), ys), zi = Qd(hl, Te({}, tn, (w = xt.transition) != null ? w : ie.transition), ys), gl = Qd(pl, Te({}, (D = xt.tooltip) != null ? D : ie.tooltip, {
5806
+ className: $s(aa.tooltip, (_ = (I = xt.tooltip) != null ? I : ie.tooltip) == null ? void 0 : _.className)
5807
+ }), ys), ca = Qd(ua, Te({}, (P = xt.arrow) != null ? P : ie.arrow, {
5808
+ className: $s(aa.arrow, (V = ($ = xt.arrow) != null ? $ : ie.arrow) == null ? void 0 : V.className)
5809
5809
  }), ys);
5810
5810
  return /* @__PURE__ */ L.jsxs(A.Fragment, {
5811
5811
  children: [/* @__PURE__ */ A.cloneElement(Ht, gn), /* @__PURE__ */ L.jsx(la, Te({
@@ -6773,14 +6773,10 @@ function yO({
6773
6773
  return /* @__PURE__ */ L.jsxs(L.Fragment, { children: [
6774
6774
  /* @__PURE__ */ L.jsx("style", { type: "text/css", children: MU }),
6775
6775
  /* @__PURE__ */ L.jsx("div", { onClick: r, className: "modal-overlay", id: "modal-wrapper", children: /* @__PURE__ */ L.jsxs("div", { className: "modal-container", children: [
6776
- /* @__PURE__ */ L.jsx("h3", { className: "modal-title", children: wn("components.logoutPage.title", {
6777
- defaultValue: "Log out"
6778
- }) }),
6776
+ /* @__PURE__ */ L.jsx("h3", { className: "modal-title", children: wn("components.logoutPage.title", { defaultValue: "Log out" }) }),
6779
6777
  /* @__PURE__ */ L.jsxs("p", { className: "text-sm", children: [
6780
6778
  " ",
6781
- wn("components.logoutPage.confirmLogOut", {
6782
- defaultValue: "Are you sure you want to log out?"
6783
- })
6779
+ wn("components.logoutPage.confirmLogOut", { defaultValue: "Are you sure you want to log out?" })
6784
6780
  ] }),
6785
6781
  /* @__PURE__ */ L.jsxs("div", { className: "modal-footer", children: [
6786
6782
  /* @__PURE__ */ L.jsx(
@@ -6788,9 +6784,7 @@ function yO({
6788
6784
  {
6789
6785
  className: "modal-button cancel-btn",
6790
6786
  onClick: t,
6791
- children: wn("commonElement.button.cancel", {
6792
- defaultValue: "Cancel"
6793
- })
6787
+ children: wn("commonElement.button.cancel", { defaultValue: "Cancel" })
6794
6788
  }
6795
6789
  ),
6796
6790
  /* @__PURE__ */ L.jsx(
@@ -6798,9 +6792,7 @@ function yO({
6798
6792
  {
6799
6793
  onClick: n,
6800
6794
  className: "text-white confirm-btn modal-button",
6801
- children: wn("commonElement.button.confirm", {
6802
- defaultValue: "Comfirm"
6803
- })
6795
+ children: wn("commonElement.button.confirm", { defaultValue: "Comfirm" })
6804
6796
  }
6805
6797
  )
6806
6798
  ] })
@@ -9491,16 +9483,16 @@ const I9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9491
9483
  if (j === 0) {
9492
9484
  if (v <= 60)
9493
9485
  return `${v} minute${v > 1 ? "s" : ""} ago`;
9494
- const re = Math.floor(v / 60);
9495
- return console.log("diffIhours", re), `${re} hour${re > 1 ? "s" : ""} ago`;
9486
+ const ie = Math.floor(v / 60);
9487
+ return console.log("diffIhours", ie), `${ie} hour${ie > 1 ? "s" : ""} ago`;
9496
9488
  }
9497
9489
  if (j === 1)
9498
9490
  return "Yesterday";
9499
9491
  if (j >= 2 && j < 7)
9500
9492
  return `${j} days ago`;
9501
9493
  if (j < 30) {
9502
- const re = Math.floor(j / 7);
9503
- return `${re} week${re > 1 ? "s" : ""} ago`;
9494
+ const ie = Math.floor(j / 7);
9495
+ return `${ie} week${ie > 1 ? "s" : ""} ago`;
9504
9496
  }
9505
9497
  return Y === 0 || Y === 1 ? "1 month ago" : Y < 12 ? `${Y} months ago` : z === 0 || z === 1 ? "1 year ago" : "Over 1 year ago";
9506
9498
  }, C = e != null && e.data ? (_ = e == null ? void 0 : e.data) == null ? void 0 : _.length : 0, w = e != null && e.contextUrl ? "a" : "p", D = (P, V) => {
@@ -9899,11 +9891,11 @@ function G9(e) {
9899
9891
  if ($.hasOwnProperty(D))
9900
9892
  j = $[D];
9901
9893
  else {
9902
- var v = n(w.props, D, w._instanceProps), Y = i(w.props, D, w._instanceProps), z = I === "horizontal" || V === "horizontal", re = I === "rtl", oe = z ? v : 0;
9894
+ var v = n(w.props, D, w._instanceProps), Y = i(w.props, D, w._instanceProps), z = I === "horizontal" || V === "horizontal", ie = I === "rtl", oe = z ? v : 0;
9903
9895
  $[D] = j = {
9904
9896
  position: "absolute",
9905
- left: re ? void 0 : oe,
9906
- right: re ? oe : void 0,
9897
+ left: ie ? void 0 : oe,
9898
+ right: ie ? oe : void 0,
9907
9899
  top: z ? 0 : v,
9908
9900
  height: z ? "100%" : Y,
9909
9901
  width: z ? Y : "100%"
@@ -10016,12 +10008,12 @@ function G9(e) {
10016
10008
  }, b.componentWillUnmount = function() {
10017
10009
  this._resetIsScrollingTimeoutId !== null && bT(this._resetIsScrollingTimeoutId);
10018
10010
  }, b.render = function() {
10019
- var w = this.props, D = w.children, _ = w.className, I = w.direction, P = w.height, V = w.innerRef, $ = w.innerElementType, j = w.innerTagName, v = w.itemCount, Y = w.itemData, z = w.itemKey, re = z === void 0 ? q9 : z, oe = w.layout, ye = w.outerElementType, Z = w.outerTagName, se = w.style, me = w.useIsScrolling, ce = w.width, de = this.state.isScrolling, ae = I === "horizontal" || oe === "horizontal", fe = ae ? this._onScrollHorizontal : this._onScrollVertical, Se = this._getRangeToRender(), Ce = Se[0], Ie = Se[1], Qe = [];
10011
+ var w = this.props, D = w.children, _ = w.className, I = w.direction, P = w.height, V = w.innerRef, $ = w.innerElementType, j = w.innerTagName, v = w.itemCount, Y = w.itemData, z = w.itemKey, ie = z === void 0 ? q9 : z, oe = w.layout, ye = w.outerElementType, Z = w.outerTagName, re = w.style, me = w.useIsScrolling, ce = w.width, de = this.state.isScrolling, ae = I === "horizontal" || oe === "horizontal", fe = ae ? this._onScrollHorizontal : this._onScrollVertical, Se = this._getRangeToRender(), Ce = Se[0], Ie = Se[1], Qe = [];
10020
10012
  if (v > 0)
10021
10013
  for (var je = Ce; je <= Ie; je++)
10022
10014
  Qe.push(A.createElement(D, {
10023
10015
  data: Y,
10024
- key: re(je, Y),
10016
+ key: ie(je, Y),
10025
10017
  index: je,
10026
10018
  isScrolling: me ? de : void 0,
10027
10019
  style: this._getItemStyle(je)
@@ -10039,7 +10031,7 @@ function G9(e) {
10039
10031
  WebkitOverflowScrolling: "touch",
10040
10032
  willChange: "transform",
10041
10033
  direction: I
10042
- }, se)
10034
+ }, re)
10043
10035
  }, A.createElement($ || j || "div", {
10044
10036
  children: Qe,
10045
10037
  ref: V,
@@ -10198,7 +10190,7 @@ const cv = 20, TT = ({
10198
10190
  j,
10199
10191
  h.length,
10200
10192
  i
10201
- ]), z = y ? h.length + 1 : h.length, re = (ae) => !y || ae < h.length, oe = async () => {
10193
+ ]), z = y ? h.length + 1 : h.length, ie = (ae) => !y || ae < h.length, oe = async () => {
10202
10194
  try {
10203
10195
  const Se = e + (t || "/notification-management/api/v1/notifications");
10204
10196
  await qn.put(Se);
@@ -10229,7 +10221,7 @@ const cv = 20, TT = ({
10229
10221
  /* @__PURE__ */ L.jsx(IV, { color: "text.first", variant: "body2", children: "Loading..." })
10230
10222
  ]
10231
10223
  }
10232
- ), se = async (ae, fe, Se) => {
10224
+ ), re = async (ae, fe, Se) => {
10233
10225
  p(i === "unread" && fe ? (Qe) => Qe.filter((je) => je.id !== ae) : (Qe) => Qe.map((je) => je.id === ae ? { ...je, isRead: fe } : je)), $((Qe) => {
10234
10226
  let je = 0;
10235
10227
  const qe = h.find((ft) => ft.id === ae);
@@ -10256,7 +10248,7 @@ const cv = 20, TT = ({
10256
10248
  }, 0), Ce;
10257
10249
  });
10258
10250
  }, de = ({ index: ae, style: fe }) => {
10259
- if (!re(ae))
10251
+ if (!ie(ae))
10260
10252
  return /* @__PURE__ */ L.jsx(Z, { style: fe });
10261
10253
  const Se = h[ae];
10262
10254
  return /* @__PURE__ */ L.jsx("div", { style: fe, children: /* @__PURE__ */ L.jsx(
@@ -10266,7 +10258,7 @@ const cv = 20, TT = ({
10266
10258
  notiPath: t,
10267
10259
  markAllAsReadState: o,
10268
10260
  brandColors: n,
10269
- onMark: se,
10261
+ onMark: re,
10270
10262
  showDetail: !!I[Se.id],
10271
10263
  onToggleDetail: () => ce(Se.id, ae)
10272
10264
  },
@@ -10290,7 +10282,7 @@ const cv = 20, TT = ({
10290
10282
  children: /* @__PURE__ */ L.jsx(
10291
10283
  V9,
10292
10284
  {
10293
- isItemLoaded: re,
10285
+ isItemLoaded: ie,
10294
10286
  itemCount: z,
10295
10287
  loadMoreItems: Y,
10296
10288
  threshold: 10,
@@ -11026,11 +11018,11 @@ function Pq(e, t, n, {
11026
11018
  ignoreLocation: d
11027
11019
  }) <= b ? Y = z : V = z, z = Math.floor((V - Y) / 2 + Y);
11028
11020
  V = z;
11029
- let re = Math.max(1, y - z + 1), oe = o ? p : Math.min(y + z, p) + h, ye = Array(oe + 2);
11021
+ let ie = Math.max(1, y - z + 1), oe = o ? p : Math.min(y + z, p) + h, ye = Array(oe + 2);
11030
11022
  ye[oe + 1] = (1 << v) - 1;
11031
- for (let se = oe; se >= re; se -= 1) {
11032
- let me = se - 1, ce = n[e.charAt(me)];
11033
- if (w && (D[me] = +!!ce), ye[se] = (ye[se + 1] << 1 | 1) & ce, v && (ye[se] |= (I[se + 1] | I[se]) << 1 | 1 | I[se + 1]), ye[se] & $ && (P = rh(t, {
11023
+ for (let re = oe; re >= ie; re -= 1) {
11024
+ let me = re - 1, ce = n[e.charAt(me)];
11025
+ if (w && (D[me] = +!!ce), ye[re] = (ye[re + 1] << 1 | 1) & ce, v && (ye[re] |= (I[re + 1] | I[re]) << 1 | 1 | I[re + 1]), ye[re] & $ && (P = rh(t, {
11034
11026
  errors: v,
11035
11027
  currentLocation: me,
11036
11028
  expectedLocation: y,
@@ -11039,7 +11031,7 @@ function Pq(e, t, n, {
11039
11031
  }), P <= b)) {
11040
11032
  if (b = P, C = me, C <= y)
11041
11033
  break;
11042
- re = Math.max(1, 2 * y - C);
11034
+ ie = Math.max(1, 2 * y - C);
11043
11035
  }
11044
11036
  }
11045
11037
  if (rh(t, {
@@ -11915,9 +11907,9 @@ function r8({
11915
11907
  ({ ...C });
11916
11908
  const v = { ...OT, ...t }, Y = new _u(e, v);
11917
11909
  Y.setCollection(e);
11918
- const [z, re] = A.useState(D), [oe, ye] = A.useState([]), [Z, se] = A.useState(-1), [me, ce] = A.useState(!1), [de, ae] = A.useState(!1), [fe, Se] = A.useState(!1), [Ce, Ie] = A.useState(!1);
11910
+ const [z, ie] = A.useState(D), [oe, ye] = A.useState([]), [Z, re] = A.useState(-1), [me, ce] = A.useState(!1), [de, ae] = A.useState(!1), [fe, Se] = A.useState(!1), [Ce, Ie] = A.useState(!1);
11919
11911
  A.useEffect(() => {
11920
- re(D);
11912
+ ie(D);
11921
11913
  const Fe = setTimeout(
11922
11914
  () => ye(It(D)),
11923
11915
  0
@@ -11952,10 +11944,10 @@ function r8({
11952
11944
  n > 0 ? Xq((Fe) => je(Fe), n) : (Fe) => je(Fe),
11953
11945
  [e]
11954
11946
  ), ft = (Fe) => {
11955
- xt(), s(Fe), re(Fe[w]), se(0);
11947
+ xt(), s(Fe), ie(Fe[w]), re(0);
11956
11948
  }, It = (Fe) => Y.search(Fe, { limit: p }).map((Tt) => ({ ...Tt.item })).slice(0, p), dt = ({ target: Fe }) => {
11957
11949
  const Tt = Fe.value;
11958
- re(Tt), qe(Tt), ae(!0), me && ce(!1);
11950
+ ie(Tt), qe(Tt), ae(!0), me && ce(!1);
11959
11951
  }, xt = () => {
11960
11952
  ye([]), ce(!0);
11961
11953
  }, Dt = ({
@@ -11964,14 +11956,14 @@ function r8({
11964
11956
  }) => {
11965
11957
  let tn = -1;
11966
11958
  const Rt = (Ht) => {
11967
- se(Ht), oe != null && oe[Ht] && i(oe[Ht]);
11959
+ re(Ht), oe != null && oe[Ht] && i(oe[Ht]);
11968
11960
  };
11969
11961
  if (Fe !== void 0)
11970
- se(Fe), oe != null && oe[Fe] && i(oe[Fe]);
11962
+ re(Fe), oe != null && oe[Fe] && i(oe[Fe]);
11971
11963
  else if (Tt)
11972
11964
  switch (Tt.key) {
11973
11965
  case "Enter":
11974
- oe.length > 0 && oe[Z] ? (Tt.preventDefault(), s(oe[Z])) : r(z, oe), se(-1), xt();
11966
+ oe.length > 0 && oe[Z] ? (Tt.preventDefault(), s(oe[Z])) : r(z, oe), re(-1), xt();
11975
11967
  break;
11976
11968
  case "ArrowUp":
11977
11969
  Tt.preventDefault(), tn = Z > -1 ? Z - 1 : oe.length - 1, Rt(tn);
@@ -12004,7 +11996,7 @@ function r8({
12004
11996
  {
12005
11997
  results: oe,
12006
11998
  onClick: ft,
12007
- setSearchString: re,
11999
+ setSearchString: ie,
12008
12000
  showIcon: d,
12009
12001
  maxResults: p,
12010
12002
  resultStringKeyName: w,
@@ -12069,7 +12061,7 @@ function TP({ classNames: e = "", ...t }) {
12069
12061
  const oe = document.querySelector("global-topbar"), Z = (oe != null ? oe.shadowRoot : document).getElementById("GlobalSearchInput");
12070
12062
  Z && Z.value.length >= 3 && (setTimeout(() => {
12071
12063
  }, 1e3), $(Z.value));
12072
- }, re = (oe) => oe.entityType === "Location" ? /* @__PURE__ */ L.jsxs(L.Fragment, { children: [
12064
+ }, ie = (oe) => oe.entityType === "Location" ? /* @__PURE__ */ L.jsxs(L.Fragment, { children: [
12073
12065
  /* @__PURE__ */ L.jsx("div", { dangerouslySetInnerHTML: { __html: oe.name } }),
12074
12066
  " ",
12075
12067
  /* @__PURE__ */ L.jsxs("div", { style: { fontSize: "0.6em" }, children: [
@@ -12123,7 +12115,7 @@ function TP({ classNames: e = "", ...t }) {
12123
12115
  autoFocus: !0,
12124
12116
  inputDebounce: 300,
12125
12117
  placeholder: "Search",
12126
- formatResult: re,
12118
+ formatResult: ie,
12127
12119
  searchOnFocus: !0,
12128
12120
  showIcon: !1,
12129
12121
  showNoResults: !1
@@ -13860,8 +13852,8 @@ function zT({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
13860
13852
  const D = p + w, _ = o === void 0 ? D : o(D);
13861
13853
  _ !== D && (w = _ - p);
13862
13854
  const I = (Y) => -w * Math.exp(-Y / r), P = (Y) => _ + I(Y), V = (Y) => {
13863
- const z = I(Y), re = P(Y);
13864
- y.done = Math.abs(z) <= d, y.value = y.done ? _ : re;
13855
+ const z = I(Y), ie = P(Y);
13856
+ y.done = Math.abs(z) <= d, y.value = y.done ? _ : ie;
13865
13857
  };
13866
13858
  let $, j;
13867
13859
  const v = (Y) => {
@@ -13930,34 +13922,34 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = tG, keyframes: r, type
13930
13922
  keyframes: [...r].reverse(),
13931
13923
  velocity: -(y.velocity || 0)
13932
13924
  }));
13933
- let v = "idle", Y = null, z = null, re = null;
13925
+ let v = "idle", Y = null, z = null, ie = null;
13934
13926
  $.calculatedDuration === null && s && ($.calculatedDuration = qT($));
13935
13927
  const { calculatedDuration: oe } = $;
13936
13928
  let ye = 1 / 0, Z = 1 / 0;
13937
13929
  oe !== null && (ye = oe + o, Z = ye * (s + 1) - o);
13938
- let se = 0;
13930
+ let re = 0;
13939
13931
  const me = (Ce) => {
13940
13932
  if (z === null)
13941
13933
  return;
13942
- b > 0 && (z = Math.min(z, Ce)), b < 0 && (z = Math.min(Ce - Z / b, z)), Y !== null ? se = Y : se = Math.round(Ce - z) * b;
13943
- const Ie = se - t * (b >= 0 ? 1 : -1), Qe = b >= 0 ? Ie < 0 : Ie > Z;
13944
- se = Math.max(Ie, 0), v === "finished" && Y === null && (se = Z);
13945
- let je = se, qe = $;
13934
+ b > 0 && (z = Math.min(z, Ce)), b < 0 && (z = Math.min(Ce - Z / b, z)), Y !== null ? re = Y : re = Math.round(Ce - z) * b;
13935
+ const Ie = re - t * (b >= 0 ? 1 : -1), Qe = b >= 0 ? Ie < 0 : Ie > Z;
13936
+ re = Math.max(Ie, 0), v === "finished" && Y === null && (re = Z);
13937
+ let je = re, qe = $;
13946
13938
  if (s) {
13947
- const xt = Math.min(se, Z) / ye;
13939
+ const xt = Math.min(re, Z) / ye;
13948
13940
  let Dt = Math.floor(xt), Fe = xt % 1;
13949
13941
  !Fe && xt >= 1 && (Fe = 1), Fe === 1 && Dt--, Dt = Math.min(Dt, s + 1), !!(Dt % 2) && (l === "reverse" ? (Fe = 1 - Fe, o && (Fe -= o / ye)) : l === "mirror" && (qe = j)), je = Yo(0, 1, Fe) * ye;
13950
13942
  }
13951
13943
  const ft = Qe ? { done: !1, value: r[0] } : qe.next(je);
13952
13944
  V && (ft.value = V(ft.value));
13953
13945
  let { done: It } = ft;
13954
- !Qe && oe !== null && (It = b >= 0 ? se >= Z : se <= 0);
13946
+ !Qe && oe !== null && (It = b >= 0 ? re >= Z : re <= 0);
13955
13947
  const dt = Y === null && (v === "finished" || v === "running" && It);
13956
13948
  return p && p(ft.value), dt && ae(), ft;
13957
13949
  }, ce = () => {
13958
13950
  I && I.stop(), I = void 0;
13959
13951
  }, de = () => {
13960
- v = "idle", ce(), w(), _(), z = re = null;
13952
+ v = "idle", ce(), w(), _(), z = ie = null;
13961
13953
  }, ae = () => {
13962
13954
  v = "finished", h && h(), ce(), w();
13963
13955
  }, fe = () => {
@@ -13965,7 +13957,7 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = tG, keyframes: r, type
13965
13957
  return;
13966
13958
  I || (I = n(me));
13967
13959
  const Ce = I.now();
13968
- c && c(), Y !== null ? z = Ce - Y : (!z || v === "finished") && (z = Ce), v === "finished" && _(), re = z, Y = null, v = "running", I.start();
13960
+ c && c(), Y !== null ? z = Ce - Y : (!z || v === "finished") && (z = Ce), v === "finished" && _(), ie = z, Y = null, v = "running", I.start();
13969
13961
  };
13970
13962
  e && fe();
13971
13963
  const Se = {
@@ -13973,10 +13965,10 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = tG, keyframes: r, type
13973
13965
  return D.then(Ce, Ie);
13974
13966
  },
13975
13967
  get time() {
13976
- return Us(se);
13968
+ return Us(re);
13977
13969
  },
13978
13970
  set time(Ce) {
13979
- Ce = Xa(Ce), se = Ce, Y !== null || !I || b === 0 ? Y = Ce : z = I.now() - Ce / b;
13971
+ Ce = Xa(Ce), re = Ce, Y !== null || !I || b === 0 ? Y = Ce : z = I.now() - Ce / b;
13980
13972
  },
13981
13973
  get duration() {
13982
13974
  const Ce = $.calculatedDuration === null ? qT($) : $.calculatedDuration;
@@ -13986,20 +13978,20 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = tG, keyframes: r, type
13986
13978
  return b;
13987
13979
  },
13988
13980
  set speed(Ce) {
13989
- Ce === b || !I || (b = Ce, Se.time = Us(se));
13981
+ Ce === b || !I || (b = Ce, Se.time = Us(re));
13990
13982
  },
13991
13983
  get state() {
13992
13984
  return v;
13993
13985
  },
13994
13986
  play: fe,
13995
13987
  pause: () => {
13996
- v = "paused", Y = se;
13988
+ v = "paused", Y = re;
13997
13989
  },
13998
13990
  stop: () => {
13999
13991
  C = !0, v !== "idle" && (v = "idle", d && d(), de());
14000
13992
  },
14001
13993
  cancel: () => {
14002
- re !== null && me(re), de();
13994
+ ie !== null && me(ie), de();
14003
13995
  },
14004
13996
  complete: () => {
14005
13997
  v = "finished";
@@ -14647,24 +14639,24 @@ function VG(e) {
14647
14639
  continue;
14648
14640
  let z = WG(P.prevProp, V) || // If we're making this variant active, we want to always make it active
14649
14641
  I === d && P.isActive && !v && $ || // If we removed a higher-priority variant (i is in reverse order)
14650
- _ > w && $, re = !1;
14642
+ _ > w && $, ie = !1;
14651
14643
  const oe = Array.isArray(V) ? V : [V];
14652
14644
  let ye = oe.reduce(i, {});
14653
14645
  j === !1 && (ye = {});
14654
- const { prevResolvedValues: Z = {} } = P, se = {
14646
+ const { prevResolvedValues: Z = {} } = P, re = {
14655
14647
  ...Z,
14656
14648
  ...ye
14657
14649
  }, me = (ce) => {
14658
- z = !0, b.has(ce) && (re = !0, b.delete(ce)), P.needsAnimating[ce] = !0;
14650
+ z = !0, b.has(ce) && (ie = !0, b.delete(ce)), P.needsAnimating[ce] = !0;
14659
14651
  };
14660
- for (const ce in se) {
14652
+ for (const ce in re) {
14661
14653
  const de = ye[ce], ae = Z[ce];
14662
14654
  if (C.hasOwnProperty(ce))
14663
14655
  continue;
14664
14656
  let fe = !1;
14665
14657
  gp(de) && gp(ae) ? fe = !XP(de, ae) : fe = de !== ae, fe ? de !== void 0 ? me(ce) : b.add(ce) : de !== void 0 && b.has(ce) ? me(ce) : P.protectedKeys[ce] = !0;
14666
14658
  }
14667
- P.prevProp = V, P.prevResolvedValues = ye, P.isActive && (C = { ...C, ...ye }), r && e.blockInitialAnimation && (z = !1), z && (!v || re) && y.push(...oe.map((ce) => ({
14659
+ P.prevProp = V, P.prevResolvedValues = ye, P.isActive && (C = { ...C, ...ye }), r && e.blockInitialAnimation && (z = !1), z && (!v || ie) && y.push(...oe.map((ce) => ({
14668
14660
  animation: ce,
14669
14661
  options: { type: I, ...c }
14670
14662
  })));
@@ -16889,11 +16881,11 @@ var Bl = /* @__PURE__ */ new Map(), QM = function(t) {
16889
16881
  });
16890
16882
  }
16891
16883
  p.removeAttribute("xmlns:a");
16892
- for (var z = p.querySelectorAll("script"), re = [], oe, ye, Z = 0, se = z.length; Z < se; Z++)
16893
- ye = z[Z].getAttribute("type"), (!ye || ye === "application/ecmascript" || ye === "application/javascript" || ye === "text/javascript") && (oe = z[Z].innerText || z[Z].textContent, oe && re.push(oe), p.removeChild(z[Z]));
16894
- if (re.length > 0 && (n === "always" || n === "once" && !FC[c])) {
16895
- for (var me = 0, ce = re.length; me < ce; me++)
16896
- new Function(re[me])(window);
16884
+ for (var z = p.querySelectorAll("script"), ie = [], oe, ye, Z = 0, re = z.length; Z < re; Z++)
16885
+ ye = z[Z].getAttribute("type"), (!ye || ye === "application/ecmascript" || ye === "application/javascript" || ye === "text/javascript") && (oe = z[Z].innerText || z[Z].textContent, oe && ie.push(oe), p.removeChild(z[Z]));
16886
+ if (ie.length > 0 && (n === "always" || n === "once" && !FC[c])) {
16887
+ for (var me = 0, ce = ie.length; me < ce; me++)
16888
+ new Function(ie[me])(window);
16897
16889
  FC[c] = !0;
16898
16890
  }
16899
16891
  var de = p.querySelectorAll("style");
@@ -16985,8 +16977,8 @@ var Bl = /* @__PURE__ */ new Map(), QM = function(t) {
16985
16977
  z.innerHTML = o, v.prepend(z);
16986
16978
  }
16987
16979
  if (p) {
16988
- var re = v.querySelector(":scope > title");
16989
- re && v.removeChild(re);
16980
+ var ie = v.querySelector(":scope > title");
16981
+ ie && v.removeChild(ie);
16990
16982
  var oe = document.createElement("title");
16991
16983
  oe.innerHTML = p, v.prepend(oe);
16992
16984
  }
@@ -17132,15 +17124,15 @@ function VX({ item: e }) {
17132
17124
  return (hu.get(BX(e)) || hu.get("text"))(e);
17133
17125
  }
17134
17126
  function JM({ ...e }) {
17135
- var re, oe, ye;
17136
- const t = e.item, n = e.level || 0, r = !!((re = e.item.children) != null && re.length), i = `level-${n}`, s = (Z, se = i) => `${Z} ${se} `, [o, l] = A.useState(!1), [c, d] = A.useState(t.isFavorite || !1), h = A.useRef(), p = A.useRef();
17127
+ var ie, oe, ye;
17128
+ const t = e.item, n = e.level || 0, r = !!((ie = e.item.children) != null && ie.length), i = `level-${n}`, s = (Z, re = i) => `${Z} ${re} `, [o, l] = A.useState(!1), [c, d] = A.useState(t.isFavorite || !1), h = A.useRef(), p = A.useRef();
17137
17129
  p != null && p.current && ((oe = p == null ? void 0 : p.current) == null ? void 0 : oe.scrollWidth) > ((ye = p == null ? void 0 : p.current) == null ? void 0 : ye.clientWidth);
17138
17130
  const y = window.location.origin, b = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, C = window.location.pathname.split("/")[1], w = b.pathname.split("/")[1], D = e.item.redirectUrl || e.ssr || !y.includes("local") && y !== b.origin || w !== C, _ = r || n === 0 ? "div" : D ? "a" : ok, I = t.redirectUrl || t.path || "#", P = n + 1, V = r && o && n > 0, $ = () => {
17139
17131
  e.isDrop || l(!0);
17140
17132
  }, j = () => {
17141
17133
  l(!1);
17142
17134
  }, v = "/global-menu-config/api/v1/menu-items/user/set-favorite", Y = y !== b.origin || e.item.redirectUrl ? "_blank" : "_self", z = Object.entries(e.brandColors || {}).reduce(
17143
- (Z, [se, me]) => (me && (Z[`--${se}`] = me), Z),
17135
+ (Z, [re, me]) => (me && (Z[`--${re}`] = me), Z),
17144
17136
  {}
17145
17137
  );
17146
17138
  return /* @__PURE__ */ L.jsxs(
@@ -17191,11 +17183,11 @@ function JM({ ...e }) {
17191
17183
  isHovered: o,
17192
17184
  isFavorite: c,
17193
17185
  onClick: (Z) => {
17194
- const se = {
17186
+ const re = {
17195
17187
  menuConfigId: t.id,
17196
17188
  isFavorite: Z
17197
17189
  }, me = e.baseUrl + v;
17198
- qn.post(me, se).then((ce) => {
17190
+ qn.post(me, re).then((ce) => {
17199
17191
  var de;
17200
17192
  d(Z), _P("Set favorite menu item successfully"), (de = e.onSetFavoriteSuccess) == null || de.call(e, e.item.id, Z);
17201
17193
  }).catch((ce) => {
@@ -17218,7 +17210,7 @@ function JM({ ...e }) {
17218
17210
  onlyChild: P < 2,
17219
17211
  dropdownLevel: n,
17220
17212
  renderChildren: ({ maxHeight: Z }) => {
17221
- var se;
17213
+ var re;
17222
17214
  return /* @__PURE__ */ L.jsx(
17223
17215
  qM.div,
17224
17216
  {
@@ -17230,7 +17222,7 @@ function JM({ ...e }) {
17230
17222
  { maxHeight: Z, overflowY: "auto", paddingRight: 3 },
17231
17223
  Z !== "auto" && !!P
17232
17224
  ),
17233
- children: (se = t.children) == null ? void 0 : se.map((me) => /* @__PURE__ */ A.createElement(
17225
+ children: (re = t.children) == null ? void 0 : re.map((me) => /* @__PURE__ */ A.createElement(
17234
17226
  JM,
17235
17227
  {
17236
17228
  ...e,
@@ -17294,7 +17286,7 @@ function HX(e) {
17294
17286
  )
17295
17287
  ] });
17296
17288
  }
17297
- const UX = '.flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{transition:all .3s;padding:0 4px}.favorite-menu{display:flex;height:56px;border-right:1px solid #ddd;background-color:#fafafa;transition:all .2s ease-in-out;width:100%}.scrollbar-hidden::-webkit-scrollbar{width:2px;background:transparent}.favorite-menu__wrap-btn-logout,.favorite-menu__btn-logout{margin:40px 0}.favorite-menu__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.favorite-menu__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px;justify-content:center;width:100%}.favorite-menu__toggle-btn{margin-top:-6px;color:#85858a}.favorite-menu__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.favorite-menu__logout-btn:hover{background-color:#919eab14}.favorite-menu__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9,.menu-item__link.active.level-10{background-color:inherit;color:inherit}.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-10:hover{background-color:#919eab14}.menu-item__link.menu-item__link.level-0{padding:0;background-color:#919eab14;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1}.menu-item__label.level-1{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.level-0,.menu-item__label.level-1{font-size:.875rem;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:8px}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.level-0{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.open{transform:rotate(0)!important}.menu-item__dropdown{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown.dropdown-favorite{width:auto;min-width:180px;max-width:350px}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown .menu-item__link{height:40px}.menu-item__dropdown .menu-item__link.level-1{height:48px}.menu-item__dropdown.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.favorite-menu__menu .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.treeFavorited{display:flex;align-items:center;margin:0 -5px}.treeFavorited li{margin:0 5px}.item.hover-on:before{content:"";position:absolute;top:0;left:0;height:100%;width:2px;background-color:var(--primary300)}.simplebar-placeholder{width:auto!important}';
17289
+ const UX = '.flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{transition:all .3s;padding:0 4px}.favorite-menu{display:flex;height:56px;border-right:1px solid #ddd;background-color:#fafafa;transition:height .3s cubic-bezier(.4,0,.2,1),background .2s,border .2s;width:100%}.favorite-menu.favorite-menu--empty{height:0!important;overflow:hidden;border-right:none;background:transparent}.scrollbar-hidden::-webkit-scrollbar{width:2px;background:transparent}.favorite-menu__wrap-btn-logout,.favorite-menu__btn-logout{margin:40px 0}.favorite-menu__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.favorite-menu__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px;justify-content:center;width:100%}.favorite-menu__toggle-btn{margin-top:-6px;color:#85858a}.favorite-menu__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.favorite-menu__logout-btn:hover{background-color:#919eab14}.favorite-menu__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9,.menu-item__link.active.level-10{background-color:inherit;color:inherit}.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-10:hover{background-color:#919eab14}.menu-item__link.menu-item__link.level-0{padding:0;background-color:#919eab14;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1}.menu-item__label.level-1{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.level-0,.menu-item__label.level-1{font-size:.875rem;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:8px}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.level-0{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.open{transform:rotate(0)!important}.menu-item__dropdown{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown.dropdown-favorite{width:auto;min-width:180px;max-width:350px}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown .menu-item__link{height:40px}.menu-item__dropdown .menu-item__link.level-1{height:48px}.menu-item__dropdown.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.favorite-menu__menu .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.treeFavorited{display:flex;align-items:center;margin:0 -5px}.treeFavorited li{margin:0 5px}.item.hover-on:before{content:"";position:absolute;top:0;left:0;height:100%;width:2px;background-color:var(--primary300)}.simplebar-placeholder{width:auto!important}';
17298
17290
  var Eu = {};
17299
17291
  /**
17300
17292
  * @license React
@@ -20161,13 +20153,13 @@ function uJ(e) {
20161
20153
  p.length > 0 && (v.adoptedStyleSheets = p), V(v);
20162
20154
  } catch (Y) {
20163
20155
  (function(z) {
20164
- var re = z.error, oe = z.styleSheets, ye = z.root;
20165
- switch (re.name) {
20156
+ var ie = z.error, oe = z.styleSheets, ye = z.root;
20157
+ switch (ie.name) {
20166
20158
  case "NotSupportedError":
20167
20159
  oe.length > 0 && (ye.adoptedStyleSheets = oe);
20168
20160
  break;
20169
20161
  default:
20170
- throw re;
20162
+ throw ie;
20171
20163
  }
20172
20164
  })({ error: Y, styleSheets: p, root: P });
20173
20165
  }
@@ -22603,24 +22595,24 @@ function Ste(e) {
22603
22595
  const v = A.useRef(null), [{ isDragging: Y }, z] = mI({
22604
22596
  type: Bv,
22605
22597
  item: () => ({ id: $.id, index: j }),
22606
- collect: (se) => ({
22607
- isDragging: se.isDragging()
22598
+ collect: (re) => ({
22599
+ isDragging: re.isDragging()
22608
22600
  })
22609
- }), [{ isOver: re, isOverCurrent: oe }, ye] = Ap(
22601
+ }), [{ isOver: ie, isOverCurrent: oe }, ye] = Ap(
22610
22602
  () => ({
22611
22603
  accept: Bv,
22612
- collect: (se) => ({
22613
- isOver: se.isOver(),
22614
- isOverCurrent: se.isOver({ shallow: !0 })
22604
+ collect: (re) => ({
22605
+ isOver: re.isOver(),
22606
+ isOverCurrent: re.isOver({ shallow: !0 })
22615
22607
  }),
22616
- drop: (se) => {
22617
- se.index !== j && (se.index < j ? (_(se.index, j - 1), se.index = j - 1) : (_(se.index, j), se.index = j));
22608
+ drop: (re) => {
22609
+ re.index !== j && (re.index < j ? (_(re.index, j - 1), re.index = j - 1) : (_(re.index, j), re.index = j));
22618
22610
  }
22619
22611
  }),
22620
22612
  []
22621
22613
  );
22622
22614
  let Z = "hover-off";
22623
- return (oe || re) && (Z = "hover-on"), z(ye(v)), /* @__PURE__ */ L.jsx(
22615
+ return (oe || ie) && (Z = "hover-on"), z(ye(v)), /* @__PURE__ */ L.jsx(
22624
22616
  "div",
22625
22617
  {
22626
22618
  ref: v,
@@ -22680,24 +22672,32 @@ function Ste(e) {
22680
22672
  }
22681
22673
  );
22682
22674
  };
22683
- return console.log("isLoading fav", w), /* @__PURE__ */ L.jsx(L.Fragment, { children: w ? /* @__PURE__ */ L.jsx(L.Fragment, {}) : n.length ? /* @__PURE__ */ L.jsx("div", { className: p("favorite-menu"), children: /* @__PURE__ */ L.jsx(
22684
- nb,
22675
+ return console.log("isLoading fav", w), /* @__PURE__ */ L.jsx(L.Fragment, { children: /* @__PURE__ */ L.jsx(
22676
+ "div",
22685
22677
  {
22686
- ref: c,
22687
- className: p("wrap-section favorite-menu__menu"),
22678
+ className: p(`favorite-menu${n.length === 0 ? " favorite-menu--empty" : ""}`),
22688
22679
  style: {
22689
- marginTop: 4,
22690
- flex: 1,
22691
- // overflow: 'auto',
22692
- height: "100%"
22693
- // overflowY: 'hidden',
22680
+ width: "100%",
22681
+ display: "flex"
22694
22682
  },
22695
- children: /* @__PURE__ */ L.jsx(uI, { backend: TI, children: /* @__PURE__ */ L.jsxs("div", { style: { display: "inline-flex" }, children: [
22696
- n.map(($, j) => /* @__PURE__ */ L.jsx(P, { item: $, index: j }, $.id)),
22697
- /* @__PURE__ */ L.jsx(V, {})
22698
- ] }) })
22683
+ children: n.length > 0 && /* @__PURE__ */ L.jsx(
22684
+ nb,
22685
+ {
22686
+ ref: c,
22687
+ className: p("wrap-section favorite-menu__menu"),
22688
+ style: {
22689
+ marginTop: 4,
22690
+ flex: 1,
22691
+ height: "100%"
22692
+ },
22693
+ children: /* @__PURE__ */ L.jsx(uI, { backend: TI, children: /* @__PURE__ */ L.jsxs("div", { style: { display: "inline-flex" }, children: [
22694
+ n.map(($, j) => /* @__PURE__ */ L.jsx(P, { item: $, index: j }, $.id)),
22695
+ /* @__PURE__ */ L.jsx(V, {})
22696
+ ] }) })
22697
+ }
22698
+ )
22699
22699
  }
22700
- ) }) : "" });
22700
+ ) });
22701
22701
  }
22702
22702
  function Tte(e = 32) {
22703
22703
  const [t, n] = A.useState(!0), [r, i] = A.useState(0), s = () => {
@@ -22759,7 +22759,7 @@ var Ip = { exports: {} };
22759
22759
  Ip.exports;
22760
22760
  (function(e, t) {
22761
22761
  (function() {
22762
- var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, h = "__lodash_placeholder__", p = 1, y = 2, b = 4, C = 1, w = 2, D = 1, _ = 2, I = 4, P = 8, V = 16, $ = 32, j = 64, v = 128, Y = 256, z = 512, re = 30, oe = "...", ye = 800, Z = 16, se = 1, me = 2, ce = 3, de = 1 / 0, ae = 9007199254740991, fe = 17976931348623157e292, Se = NaN, Ce = 4294967295, Ie = Ce - 1, Qe = Ce >>> 1, je = [
22762
+ var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, h = "__lodash_placeholder__", p = 1, y = 2, b = 4, C = 1, w = 2, D = 1, _ = 2, I = 4, P = 8, V = 16, $ = 32, j = 64, v = 128, Y = 256, z = 512, ie = 30, oe = "...", ye = 800, Z = 16, re = 1, me = 2, ce = 3, de = 1 / 0, ae = 9007199254740991, fe = 17976931348623157e292, Se = NaN, Ce = 4294967295, Ie = Ce - 1, Qe = Ce >>> 1, je = [
22763
22763
  ["ary", v],
22764
22764
  ["bind", D],
22765
22765
  ["bindKey", _],
@@ -23062,7 +23062,7 @@ Ip.exports;
23062
23062
  ;
23063
23063
  return F;
23064
23064
  }
23065
- function ie(F, G) {
23065
+ function se(F, G) {
23066
23066
  for (var q = -1, ue = F == null ? 0 : F.length; ++q < ue; )
23067
23067
  if (!G(F[q], q, F))
23068
23068
  return !1;
@@ -23415,7 +23415,7 @@ Ip.exports;
23415
23415
  if (Lr == me)
23416
23416
  Ue = tr;
23417
23417
  else if (!tr) {
23418
- if (Lr == se)
23418
+ if (Lr == re)
23419
23419
  continue e;
23420
23420
  break e;
23421
23421
  }
@@ -25329,7 +25329,7 @@ Ip.exports;
25329
25329
  Ke.call(a, m) ? ++a[m] : _s(a, m, 1);
25330
25330
  });
25331
25331
  function cF(a, u, m) {
25332
- var S = et(a) ? ie : eN;
25332
+ var S = et(a) ? se : eN;
25333
25333
  return m && er(a, u, m) && (u = n), S(a, We(u, 3));
25334
25334
  }
25335
25335
  function fF(a, u) {
@@ -26123,7 +26123,7 @@ function print() { __p += __j.call(arguments, '') }
26123
26123
  return wo(S, O).join("");
26124
26124
  }
26125
26125
  function TB(a, u) {
26126
- var m = re, S = oe;
26126
+ var m = ie, S = oe;
26127
26127
  if (Kt(u)) {
26128
26128
  var O = "separator" in u ? u.separator : O;
26129
26129
  m = "length" in u ? st(u.length) : m, S = "omission" in u ? Ir(u.omission) : S;
@@ -26248,7 +26248,7 @@ function print() { __p += __j.call(arguments, '') }
26248
26248
  return qw(u, a);
26249
26249
  });
26250
26250
  }
26251
- var FB = Tg(Oe), jB = Tg(ie), BB = Tg(Gt);
26251
+ var FB = Tg(Oe), jB = Tg(se), BB = Tg(Gt);
26252
26252
  function fS(a) {
26253
26253
  return Pg(a) ? ws(es(a)) : gN(a);
26254
26254
  }
@@ -26342,7 +26342,7 @@ function print() { __p += __j.call(arguments, '') }
26342
26342
  return this.reverse()[a](m).reverse();
26343
26343
  };
26344
26344
  }), W(["filter", "map", "takeWhile"], function(a, u) {
26345
- var m = u + 1, S = m == se || m == ce;
26345
+ var m = u + 1, S = m == re || m == ce;
26346
26346
  vt.prototype[a] = function(O) {
26347
26347
  var N = this.clone();
26348
26348
  return N.__iteratees__.push({
@@ -26637,7 +26637,7 @@ var _I = { exports: {} };
26637
26637
  function z(f, g) {
26638
26638
  return f.nodeName && f.nodeName.toLowerCase() === g.toLowerCase();
26639
26639
  }
26640
- var re = r.pop, oe = r.sort, ye = r.splice, Z = "[\\x20\\t\\r\\n\\f]", se = new RegExp(
26640
+ var ie = r.pop, oe = r.sort, ye = r.splice, Z = "[\\x20\\t\\r\\n\\f]", re = new RegExp(
26641
26641
  "^" + Z + "+|((?:^|[^\\\\])(?:\\\\.)*)" + Z + "+$",
26642
26642
  "g"
26643
26643
  );
@@ -26656,7 +26656,7 @@ var _I = { exports: {} };
26656
26656
  };
26657
26657
  var de = _, ae = l;
26658
26658
  (function() {
26659
- var f, g, x, T, E, k = ae, M, U, W, Q, ie, le = v.expando, te = 0, xe = 0, Oe = ga(), Je = ga(), Ze = ga(), vn = ga(), Gt = function(B, X) {
26659
+ var f, g, x, T, E, k = ae, M, U, W, Q, se, le = v.expando, te = 0, xe = 0, Oe = ga(), Je = ga(), Ze = ga(), vn = ga(), Gt = function(B, X) {
26660
26660
  return B === X && (E = !0), 0;
26661
26661
  }, ni = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", ri = "(?:\\\\[\\da-fA-F]{1,6}" + Z + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", ht = "\\[" + Z + "*(" + ri + ")(?:" + Z + // Operator (capture 2)
26662
26662
  "*([*^$|!~]?=)" + Z + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
@@ -26745,7 +26745,7 @@ var _I = { exports: {} };
26745
26745
  }
26746
26746
  }
26747
26747
  }
26748
- return md(B.replace(se, "$1"), X, ee, ne);
26748
+ return md(B.replace(re, "$1"), X, ee, ne);
26749
26749
  }
26750
26750
  function ga() {
26751
26751
  var B = [];
@@ -26796,14 +26796,14 @@ var _I = { exports: {} };
26796
26796
  }
26797
26797
  function Xi(B) {
26798
26798
  var X, ee = B ? B.ownerDocument || B : de;
26799
- return ee == M || ee.nodeType !== 9 || !ee.documentElement || (M = ee, U = M.documentElement, W = !v.isXMLDoc(M), ie = U.matches || U.webkitMatchesSelector || U.msMatchesSelector, U.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+
26799
+ return ee == M || ee.nodeType !== 9 || !ee.documentElement || (M = ee, U = M.documentElement, W = !v.isXMLDoc(M), se = U.matches || U.webkitMatchesSelector || U.msMatchesSelector, U.msMatchesSelector && // Support: IE 11+, Edge 17 - 18+
26800
26800
  // IE/Edge sometimes throw a "Permission denied" error when strict-comparing
26801
26801
  // two documents; shallow comparisons work.
26802
26802
  // eslint-disable-next-line eqeqeq
26803
26803
  de != M && (X = M.defaultView) && X.top !== X && X.addEventListener("unload", Xn), C.getById = mo(function(ne) {
26804
26804
  return U.appendChild(ne).id = v.expando, !M.getElementsByName || !M.getElementsByName(v.expando).length;
26805
26805
  }), C.disconnectedMatch = mo(function(ne) {
26806
- return ie.call(ne, "*");
26806
+ return se.call(ne, "*");
26807
26807
  }), C.scope = mo(function() {
26808
26808
  return M.querySelectorAll(":scope");
26809
26809
  }), C.cssHas = mo(function() {
@@ -26863,7 +26863,7 @@ var _I = { exports: {} };
26863
26863
  }, Ct.matchesSelector = function(B, X) {
26864
26864
  if (Xi(B), W && !vn[X + " "] && (!Q || !Q.test(X)))
26865
26865
  try {
26866
- var ee = ie.call(B, X);
26866
+ var ee = se.call(B, X);
26867
26867
  if (ee || C.disconnectedMatch || // As well, disconnected nodes are said to be in a document
26868
26868
  // fragment in IE 9
26869
26869
  B.document && B.document.nodeType !== 11)
@@ -26987,7 +26987,7 @@ var _I = { exports: {} };
26987
26987
  pseudos: {
26988
26988
  // Potentially complex pseudos
26989
26989
  not: Mr(function(B) {
26990
- var X = [], ee = [], ne = Zu(B.replace(se, "$1"));
26990
+ var X = [], ee = [], ne = Zu(B.replace(re, "$1"));
26991
26991
  return ne[le] ? Mr(function(F, G, q, ue) {
26992
26992
  for (var he, Me = ne(F, null, ue, []), Ae = F.length; Ae--; )
26993
26993
  (he = Me[Ae]) && (F[Ae] = !(G[Ae] = he));
@@ -27117,7 +27117,7 @@ var _I = { exports: {} };
27117
27117
  (!ee || (ne = Pt.exec(q))) && (ne && (q = q.slice(ne[0].length) || q), ue.push(F = [])), ee = !1, (ne = ha.exec(q)) && (ee = ne.shift(), F.push({
27118
27118
  value: ee,
27119
27119
  // Cast descendant combinators to space
27120
- type: ne[0].replace(se, " ")
27120
+ type: ne[0].replace(re, " ")
27121
27121
  }), q = q.slice(ee.length));
27122
27122
  for (G in g.filter)
27123
27123
  (ne = hr[G].exec(q)) && (!he[G] || (ne = he[G](ne))) && (ee = ne.shift(), F.push({
@@ -27241,7 +27241,7 @@ var _I = { exports: {} };
27241
27241
  ue > 1 && Ar(
27242
27242
  // If the preceding token was a descendant combinator, insert an implicit any-element `*`
27243
27243
  B.slice(0, ue - 1).concat({ value: B[ue - 2].type === " " ? "*" : "" })
27244
- ).replace(se, "$1"),
27244
+ ).replace(re, "$1"),
27245
27245
  ee,
27246
27246
  ue < ne && Qn(B.slice(ue, ne)),
27247
27247
  ne < F && Qn(B = B.slice(ne)),
@@ -27272,7 +27272,7 @@ var _I = { exports: {} };
27272
27272
  if (G) {
27273
27273
  if (Ve > 0)
27274
27274
  for (; lt--; )
27275
- yn[lt] || _n[lt] || (_n[lt] = re.call(he));
27275
+ yn[lt] || _n[lt] || (_n[lt] = ie.call(he));
27276
27276
  _n = Cl(_n);
27277
27277
  }
27278
27278
  k.apply(he, _n), Me && !G && _n.length > 0 && Ve + X.length > 1 && v.uniqueSort(he);
@@ -27535,23 +27535,23 @@ var _I = { exports: {} };
27535
27535
  }, Q = {
27536
27536
  // Add a callback or a collection of callbacks to the list
27537
27537
  add: function() {
27538
- return k && (x && !g && (U = k.length - 1, M.push(x)), function ie(le) {
27538
+ return k && (x && !g && (U = k.length - 1, M.push(x)), function se(le) {
27539
27539
  v.each(le, function(te, xe) {
27540
- w(xe) ? (!f.unique || !Q.has(xe)) && k.push(xe) : xe && xe.length && V(xe) !== "string" && ie(xe);
27540
+ w(xe) ? (!f.unique || !Q.has(xe)) && k.push(xe) : xe && xe.length && V(xe) !== "string" && se(xe);
27541
27541
  });
27542
27542
  }(arguments), x && !g && W()), this;
27543
27543
  },
27544
27544
  // Remove a callback from the list
27545
27545
  remove: function() {
27546
- return v.each(arguments, function(ie, le) {
27546
+ return v.each(arguments, function(se, le) {
27547
27547
  for (var te; (te = v.inArray(le, k, te)) > -1; )
27548
27548
  k.splice(te, 1), te <= U && U--;
27549
27549
  }), this;
27550
27550
  },
27551
27551
  // Check if a given callback is in the list.
27552
27552
  // If no argument is given, return whether or not list has callbacks attached.
27553
- has: function(ie) {
27554
- return ie ? v.inArray(ie, k) > -1 : k.length > 0;
27553
+ has: function(se) {
27554
+ return se ? v.inArray(se, k) > -1 : k.length > 0;
27555
27555
  },
27556
27556
  // Remove all callbacks from the list
27557
27557
  empty: function() {
@@ -27576,8 +27576,8 @@ var _I = { exports: {} };
27576
27576
  return !!E;
27577
27577
  },
27578
27578
  // Call all callbacks with the given context and arguments
27579
- fireWith: function(ie, le) {
27580
- return E || (le = le || [], le = [ie, le.slice ? le.slice() : le], M.push(le), g || W()), this;
27579
+ fireWith: function(se, le) {
27580
+ return E || (le = le || [], le = [se, le.slice ? le.slice() : le], M.push(le), g || W()), this;
27581
27581
  },
27582
27582
  // Call all the callbacks with the given arguments
27583
27583
  fire: function() {
@@ -27649,10 +27649,10 @@ var _I = { exports: {} };
27649
27649
  v.each(g, function(U, W) {
27650
27650
  var Q = w(k[W[4]]) && k[W[4]];
27651
27651
  E[W[1]](function() {
27652
- var ie = Q && Q.apply(this, arguments);
27653
- ie && w(ie.promise) ? ie.promise().progress(M.notify).done(M.resolve).fail(M.reject) : M[W[0] + "With"](
27652
+ var se = Q && Q.apply(this, arguments);
27653
+ se && w(se.promise) ? se.promise().progress(M.notify).done(M.resolve).fail(M.reject) : M[W[0] + "With"](
27654
27654
  this,
27655
- Q ? [ie] : arguments
27655
+ Q ? [se] : arguments
27656
27656
  );
27657
27657
  });
27658
27658
  }), k = null;
@@ -27660,11 +27660,11 @@ var _I = { exports: {} };
27660
27660
  },
27661
27661
  then: function(k, M, U) {
27662
27662
  var W = 0;
27663
- function Q(ie, le, te, xe) {
27663
+ function Q(se, le, te, xe) {
27664
27664
  return function() {
27665
27665
  var Oe = this, Je = arguments, Ze = function() {
27666
27666
  var Gt, ni;
27667
- if (!(ie < W)) {
27667
+ if (!(se < W)) {
27668
27668
  if (Gt = te.apply(Oe, Je), Gt === le.promise())
27669
27669
  throw new TypeError("Thenable self-resolution");
27670
27670
  ni = Gt && // Support: Promises/A+ section 2.3.4
@@ -27693,30 +27693,30 @@ var _I = { exports: {} };
27693
27693
  v.Deferred.exceptionHook && v.Deferred.exceptionHook(
27694
27694
  Gt,
27695
27695
  vn.error
27696
- ), ie + 1 >= W && (te !== tn && (Oe = void 0, Je = [Gt]), le.rejectWith(Oe, Je));
27696
+ ), se + 1 >= W && (te !== tn && (Oe = void 0, Je = [Gt]), le.rejectWith(Oe, Je));
27697
27697
  }
27698
27698
  };
27699
- ie ? vn() : (v.Deferred.getErrorHook ? vn.error = v.Deferred.getErrorHook() : v.Deferred.getStackHook && (vn.error = v.Deferred.getStackHook()), t.setTimeout(vn));
27699
+ se ? vn() : (v.Deferred.getErrorHook ? vn.error = v.Deferred.getErrorHook() : v.Deferred.getStackHook && (vn.error = v.Deferred.getStackHook()), t.setTimeout(vn));
27700
27700
  };
27701
27701
  }
27702
- return v.Deferred(function(ie) {
27702
+ return v.Deferred(function(se) {
27703
27703
  g[0][3].add(
27704
27704
  Q(
27705
27705
  0,
27706
- ie,
27706
+ se,
27707
27707
  w(U) ? U : Tt,
27708
- ie.notifyWith
27708
+ se.notifyWith
27709
27709
  )
27710
27710
  ), g[1][3].add(
27711
27711
  Q(
27712
27712
  0,
27713
- ie,
27713
+ se,
27714
27714
  w(k) ? k : Tt
27715
27715
  )
27716
27716
  ), g[2][3].add(
27717
27717
  Q(
27718
27718
  0,
27719
- ie,
27719
+ se,
27720
27720
  w(M) ? M : tn
27721
27721
  )
27722
27722
  );
@@ -27806,8 +27806,8 @@ var _I = { exports: {} };
27806
27806
  E = !0;
27807
27807
  for (U in x)
27808
27808
  un(f, g, U, x[U], !0, k, M);
27809
- } else if (T !== void 0 && (E = !0, w(T) || (M = !0), Q && (M ? (g.call(f, T), g = null) : (Q = g, g = function(ie, le, te) {
27810
- return Q.call(v(ie), te);
27809
+ } else if (T !== void 0 && (E = !0, w(T) || (M = !0), Q && (M ? (g.call(f, T), g = null) : (Q = g, g = function(se, le, te) {
27810
+ return Q.call(v(se), te);
27811
27811
  })), g))
27812
27812
  for (; U < W; U++)
27813
27813
  g(
@@ -27998,13 +27998,13 @@ var _I = { exports: {} };
27998
27998
  return T.cur();
27999
27999
  } : function() {
28000
28000
  return v.css(f, g, "");
28001
- }, W = U(), Q = x && x[3] || (v.cssNumber[g] ? "" : "px"), ie = f.nodeType && (v.cssNumber[g] || Q !== "px" && +W) && Gn.exec(v.css(f, g));
28002
- if (ie && ie[3] !== Q) {
28003
- for (W = W / 2, Q = Q || ie[3], ie = +W || 1; M--; )
28004
- v.style(f, g, ie + Q), (1 - k) * (1 - (k = U() / W || 0.5)) <= 0 && (M = 0), ie = ie / k;
28005
- ie = ie * 2, v.style(f, g, ie + Q), x = x || [];
28001
+ }, W = U(), Q = x && x[3] || (v.cssNumber[g] ? "" : "px"), se = f.nodeType && (v.cssNumber[g] || Q !== "px" && +W) && Gn.exec(v.css(f, g));
28002
+ if (se && se[3] !== Q) {
28003
+ for (W = W / 2, Q = Q || se[3], se = +W || 1; M--; )
28004
+ v.style(f, g, se + Q), (1 - k) * (1 - (k = U() / W || 0.5)) <= 0 && (M = 0), se = se / k;
28005
+ se = se * 2, v.style(f, g, se + Q), x = x || [];
28006
28006
  }
28007
- return x && (ie = +ie || +W || 0, E = x[1] ? ie + (x[1] + 1) * x[2] : +x[2], T && (T.unit = Q, T.start = ie, T.end = E)), E;
28007
+ return x && (se = +se || +W || 0, E = x[1] ? se + (x[1] + 1) * x[2] : +x[2], T && (T.unit = Q, T.start = se, T.end = E)), E;
28008
28008
  }
28009
28009
  var fl = {};
28010
28010
  function Mu(f) {
@@ -28061,14 +28061,14 @@ var _I = { exports: {} };
28061
28061
  }
28062
28062
  var Au = /<|&#?\w+;/;
28063
28063
  function uo(f, g, x, T, E) {
28064
- for (var k, M, U, W, Q, ie, le = g.createDocumentFragment(), te = [], xe = 0, Oe = f.length; xe < Oe; xe++)
28064
+ for (var k, M, U, W, Q, se, le = g.createDocumentFragment(), te = [], xe = 0, Oe = f.length; xe < Oe; xe++)
28065
28065
  if (k = f[xe], k || k === 0)
28066
28066
  if (V(k) === "object")
28067
28067
  v.merge(te, k.nodeType ? [k] : k);
28068
28068
  else if (!Au.test(k))
28069
28069
  te.push(g.createTextNode(k));
28070
28070
  else {
28071
- for (M = M || le.appendChild(g.createElement("div")), U = (sa.exec(k) || ["", ""])[1].toLowerCase(), W = On[U] || On._default, M.innerHTML = W[1] + v.htmlPrefilter(k) + W[2], ie = W[0]; ie--; )
28071
+ for (M = M || le.appendChild(g.createElement("div")), U = (sa.exec(k) || ["", ""])[1].toLowerCase(), W = On[U] || On._default, M.innerHTML = W[1] + v.htmlPrefilter(k) + W[2], se = W[0]; se--; )
28072
28072
  M = M.lastChild;
28073
28073
  v.merge(te, M.childNodes), M = le.firstChild, M.textContent = "";
28074
28074
  }
@@ -28078,7 +28078,7 @@ var _I = { exports: {} };
28078
28078
  continue;
28079
28079
  }
28080
28080
  if (Q = Kn(k), M = Cn(le.appendChild(k), "script"), Q && lo(M), x)
28081
- for (ie = 0; k = M[ie++]; )
28081
+ for (se = 0; k = M[se++]; )
28082
28082
  oa.test(k.type || "") && x.push(k);
28083
28083
  }
28084
28084
  return le;
@@ -28111,12 +28111,12 @@ var _I = { exports: {} };
28111
28111
  v.event = {
28112
28112
  global: {},
28113
28113
  add: function(f, g, x, T, E) {
28114
- var k, M, U, W, Q, ie, le, te, xe, Oe, Je, Ze = Pe.get(f);
28114
+ var k, M, U, W, Q, se, le, te, xe, Oe, Je, Ze = Pe.get(f);
28115
28115
  if (kn(f))
28116
28116
  for (x.handler && (k = x, x = k.handler, E = k.selector), E && v.find.matchesSelector(fr, E), x.guid || (x.guid = v.guid++), (W = Ze.events) || (W = Ze.events = /* @__PURE__ */ Object.create(null)), (M = Ze.handle) || (M = Ze.handle = function(vn) {
28117
28117
  return typeof v < "u" && v.event.triggered !== vn.type ? v.event.dispatch.apply(f, arguments) : void 0;
28118
28118
  }), g = (g || "").match(Dt) || [""], Q = g.length; Q--; )
28119
- U = dl.exec(g[Q]) || [], xe = Je = U[1], Oe = (U[2] || "").split(".").sort(), xe && (le = v.event.special[xe] || {}, xe = (E ? le.delegateType : le.bindType) || xe, le = v.event.special[xe] || {}, ie = v.extend({
28119
+ U = dl.exec(g[Q]) || [], xe = Je = U[1], Oe = (U[2] || "").split(".").sort(), xe && (le = v.event.special[xe] || {}, xe = (E ? le.delegateType : le.bindType) || xe, le = v.event.special[xe] || {}, se = v.extend({
28120
28120
  type: xe,
28121
28121
  origType: Je,
28122
28122
  data: T,
@@ -28125,11 +28125,11 @@ var _I = { exports: {} };
28125
28125
  selector: E,
28126
28126
  needsContext: E && v.expr.match.needsContext.test(E),
28127
28127
  namespace: Oe.join(".")
28128
- }, k), (te = W[xe]) || (te = W[xe] = [], te.delegateCount = 0, (!le.setup || le.setup.call(f, T, Oe, M) === !1) && f.addEventListener && f.addEventListener(xe, M)), le.add && (le.add.call(f, ie), ie.handler.guid || (ie.handler.guid = x.guid)), E ? te.splice(te.delegateCount++, 0, ie) : te.push(ie), v.event.global[xe] = !0);
28128
+ }, k), (te = W[xe]) || (te = W[xe] = [], te.delegateCount = 0, (!le.setup || le.setup.call(f, T, Oe, M) === !1) && f.addEventListener && f.addEventListener(xe, M)), le.add && (le.add.call(f, se), se.handler.guid || (se.handler.guid = x.guid)), E ? te.splice(te.delegateCount++, 0, se) : te.push(se), v.event.global[xe] = !0);
28129
28129
  },
28130
28130
  // Detach an event or set of events from an element
28131
28131
  remove: function(f, g, x, T, E) {
28132
- var k, M, U, W, Q, ie, le, te, xe, Oe, Je, Ze = Pe.hasData(f) && Pe.get(f);
28132
+ var k, M, U, W, Q, se, le, te, xe, Oe, Je, Ze = Pe.hasData(f) && Pe.get(f);
28133
28133
  if (!(!Ze || !(W = Ze.events))) {
28134
28134
  for (g = (g || "").match(Dt) || [""], Q = g.length; Q--; ) {
28135
28135
  if (U = dl.exec(g[Q]) || [], xe = Je = U[1], Oe = (U[2] || "").split(".").sort(), !xe) {
@@ -28138,21 +28138,21 @@ var _I = { exports: {} };
28138
28138
  continue;
28139
28139
  }
28140
28140
  for (le = v.event.special[xe] || {}, xe = (T ? le.delegateType : le.bindType) || xe, te = W[xe] || [], U = U[2] && new RegExp("(^|\\.)" + Oe.join("\\.(?:.*\\.|)") + "(\\.|$)"), M = k = te.length; k--; )
28141
- ie = te[k], (E || Je === ie.origType) && (!x || x.guid === ie.guid) && (!U || U.test(ie.namespace)) && (!T || T === ie.selector || T === "**" && ie.selector) && (te.splice(k, 1), ie.selector && te.delegateCount--, le.remove && le.remove.call(f, ie));
28141
+ se = te[k], (E || Je === se.origType) && (!x || x.guid === se.guid) && (!U || U.test(se.namespace)) && (!T || T === se.selector || T === "**" && se.selector) && (te.splice(k, 1), se.selector && te.delegateCount--, le.remove && le.remove.call(f, se));
28142
28142
  M && !te.length && ((!le.teardown || le.teardown.call(f, Oe, Ze.handle) === !1) && v.removeEvent(f, xe, Ze.handle), delete W[xe]);
28143
28143
  }
28144
28144
  v.isEmptyObject(W) && Pe.remove(f, "handle events");
28145
28145
  }
28146
28146
  },
28147
28147
  dispatch: function(f) {
28148
- var g, x, T, E, k, M, U = new Array(arguments.length), W = v.event.fix(f), Q = (Pe.get(this, "events") || /* @__PURE__ */ Object.create(null))[W.type] || [], ie = v.event.special[W.type] || {};
28148
+ var g, x, T, E, k, M, U = new Array(arguments.length), W = v.event.fix(f), Q = (Pe.get(this, "events") || /* @__PURE__ */ Object.create(null))[W.type] || [], se = v.event.special[W.type] || {};
28149
28149
  for (U[0] = W, g = 1; g < arguments.length; g++)
28150
28150
  U[g] = arguments[g];
28151
- if (W.delegateTarget = this, !(ie.preDispatch && ie.preDispatch.call(this, W) === !1)) {
28151
+ if (W.delegateTarget = this, !(se.preDispatch && se.preDispatch.call(this, W) === !1)) {
28152
28152
  for (M = v.event.handlers.call(this, W, Q), g = 0; (E = M[g++]) && !W.isPropagationStopped(); )
28153
28153
  for (W.currentTarget = E.elem, x = 0; (k = E.handlers[x++]) && !W.isImmediatePropagationStopped(); )
28154
28154
  (!W.rnamespace || k.namespace === !1 || W.rnamespace.test(k.namespace)) && (W.handleObj = k, W.data = k.data, T = ((v.event.special[k.origType] || {}).handle || k.handler).apply(E.elem, U), T !== void 0 && (W.result = T) === !1 && (W.preventDefault(), W.stopPropagation()));
28155
- return ie.postDispatch && ie.postDispatch.call(this, W), W.result;
28155
+ return se.postDispatch && se.postDispatch.call(this, W), W.result;
28156
28156
  }
28157
28157
  },
28158
28158
  handlers: function(f, g) {
@@ -28421,18 +28421,18 @@ var _I = { exports: {} };
28421
28421
  }
28422
28422
  function zi(f, g, x, T) {
28423
28423
  g = o(g);
28424
- var E, k, M, U, W, Q, ie = 0, le = f.length, te = le - 1, xe = g[0], Oe = w(xe);
28424
+ var E, k, M, U, W, Q, se = 0, le = f.length, te = le - 1, xe = g[0], Oe = w(xe);
28425
28425
  if (Oe || le > 1 && typeof xe == "string" && !C.checkClone && ys.test(xe))
28426
28426
  return f.each(function(Je) {
28427
28427
  var Ze = f.eq(Je);
28428
28428
  Oe && (g[0] = xe.call(this, Je, Ze.html())), zi(Ze, g, x, T);
28429
28429
  });
28430
28430
  if (le && (E = uo(g, f[0].ownerDocument, !1, f, T), k = E.firstChild, E.childNodes.length === 1 && (E = k), k || T)) {
28431
- for (M = v.map(Cn(E, "script"), hl), U = M.length; ie < le; ie++)
28432
- W = E, ie !== te && (W = v.clone(W, !0, !0), U && v.merge(M, Cn(W, "script"))), x.call(f[ie], W, ie);
28431
+ for (M = v.map(Cn(E, "script"), hl), U = M.length; se < le; se++)
28432
+ W = E, se !== te && (W = v.clone(W, !0, !0), U && v.merge(M, Cn(W, "script"))), x.call(f[se], W, se);
28433
28433
  if (U)
28434
- for (Q = M[M.length - 1].ownerDocument, v.map(M, pl), ie = 0; ie < U; ie++)
28435
- W = M[ie], oa.test(W.type || "") && !Pe.access(W, "globalEval") && v.contains(Q, W) && (W.src && (W.type || "").toLowerCase() !== "module" ? v._evalUrl && !W.noModule && v._evalUrl(W.src, {
28434
+ for (Q = M[M.length - 1].ownerDocument, v.map(M, pl), se = 0; se < U; se++)
28435
+ W = M[se], oa.test(W.type || "") && !Pe.access(W, "globalEval") && v.contains(Q, W) && (W.src && (W.type || "").toLowerCase() !== "module" ? v._evalUrl && !W.noModule && v._evalUrl(W.src, {
28436
28436
  nonce: W.nonce || W.getAttribute("nonce")
28437
28437
  }, Q) : P(W.textContent.replace(aa, ""), W, Q));
28438
28438
  }
@@ -28575,12 +28575,12 @@ var _I = { exports: {} };
28575
28575
  function f() {
28576
28576
  if (Q) {
28577
28577
  W.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", Q.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", fr.appendChild(W).appendChild(Q);
28578
- var ie = t.getComputedStyle(Q);
28579
- x = ie.top !== "1%", U = g(ie.marginLeft) === 12, Q.style.right = "60%", k = g(ie.right) === 36, T = g(ie.width) === 36, Q.style.position = "absolute", E = g(Q.offsetWidth / 3) === 12, fr.removeChild(W), Q = null;
28578
+ var se = t.getComputedStyle(Q);
28579
+ x = se.top !== "1%", U = g(se.marginLeft) === 12, Q.style.right = "60%", k = g(se.right) === 36, T = g(se.width) === 36, Q.style.position = "absolute", E = g(Q.offsetWidth / 3) === 12, fr.removeChild(W), Q = null;
28580
28580
  }
28581
28581
  }
28582
- function g(ie) {
28583
- return Math.round(parseFloat(ie));
28582
+ function g(se) {
28583
+ return Math.round(parseFloat(se));
28584
28584
  }
28585
28585
  var x, T, E, k, M, U, W = _.createElement("div"), Q = _.createElement("div");
28586
28586
  Q.style && (Q.style.backgroundClip = "content-box", Q.cloneNode(!0).style.backgroundClip = "", C.clearCloneStyle = Q.style.backgroundClip === "content-box", v.extend(C, {
@@ -28609,14 +28609,14 @@ var _I = { exports: {} };
28609
28609
  // Only Firefox includes border widths
28610
28610
  // in computed dimensions. (gh-4529)
28611
28611
  reliableTrDimensions: function() {
28612
- var ie, le, te, xe;
28613
- return M == null && (ie = _.createElement("table"), le = _.createElement("tr"), te = _.createElement("div"), ie.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", le.style.cssText = "box-sizing:content-box;border:1px solid", le.style.height = "1px", te.style.height = "9px", te.style.display = "block", fr.appendChild(ie).appendChild(le).appendChild(te), xe = t.getComputedStyle(le), M = parseInt(xe.height, 10) + parseInt(xe.borderTopWidth, 10) + parseInt(xe.borderBottomWidth, 10) === le.offsetHeight, fr.removeChild(ie)), M;
28612
+ var se, le, te, xe;
28613
+ return M == null && (se = _.createElement("table"), le = _.createElement("tr"), te = _.createElement("div"), se.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", le.style.cssText = "box-sizing:content-box;border:1px solid", le.style.height = "1px", te.style.height = "9px", te.style.display = "block", fr.appendChild(se).appendChild(le).appendChild(te), xe = t.getComputedStyle(le), M = parseInt(xe.height, 10) + parseInt(xe.borderTopWidth, 10) + parseInt(xe.borderBottomWidth, 10) === le.offsetHeight, fr.removeChild(se)), M;
28614
28614
  }
28615
28615
  }));
28616
28616
  })();
28617
28617
  function fa(f, g, x) {
28618
28618
  var T, E, k, M, U = nt.test(g), W = f.style;
28619
- return x = x || fn(f), x && (M = x.getPropertyValue(g) || x[g], U && M && (M = M.replace(se, "$1") || void 0), M === "" && !Kn(f) && (M = v.style(f, g)), !C.pixelBoxStyles() && ca.test(M) && vl.test(g) && (T = W.width, E = W.minWidth, k = W.maxWidth, W.minWidth = W.maxWidth = W.width = M, M = x.width, W.width = T, W.minWidth = E, W.maxWidth = k)), M !== void 0 ? (
28619
+ return x = x || fn(f), x && (M = x.getPropertyValue(g) || x[g], U && M && (M = M.replace(re, "$1") || void 0), M === "" && !Kn(f) && (M = v.style(f, g)), !C.pixelBoxStyles() && ca.test(M) && vl.test(g) && (T = W.width, E = W.minWidth, k = W.maxWidth, W.minWidth = W.maxWidth = W.width = M, M = x.width, W.width = T, W.minWidth = E, W.maxWidth = k)), M !== void 0 ? (
28620
28620
  // Support: IE <=9 - 11 only
28621
28621
  // IE returns zIndex value as an integer.
28622
28622
  M + ""
@@ -28770,16 +28770,16 @@ var _I = { exports: {} };
28770
28770
  }) : Lu(x, g, E);
28771
28771
  },
28772
28772
  set: function(x, T, E) {
28773
- var k, M = fn(x), U = !C.scrollboxSize() && M.position === "absolute", W = U || E, Q = W && v.css(x, "boxSizing", !1, M) === "border-box", ie = E ? Ru(
28773
+ var k, M = fn(x), U = !C.scrollboxSize() && M.position === "absolute", W = U || E, Q = W && v.css(x, "boxSizing", !1, M) === "border-box", se = E ? Ru(
28774
28774
  x,
28775
28775
  g,
28776
28776
  E,
28777
28777
  Q,
28778
28778
  M
28779
28779
  ) : 0;
28780
- return Q && U && (ie -= Math.ceil(
28780
+ return Q && U && (se -= Math.ceil(
28781
28781
  x["offset" + g[0].toUpperCase() + g.slice(1)] - parseFloat(M[g]) - Ru(x, g, "border", !1, M) - 0.5
28782
- )), ie && (k = Gn.exec(T)) && (k[3] || "px") !== "px" && (x.style[g] = T, T = v.css(x, g)), nd(x, T, ie);
28782
+ )), se && (k = Gn.exec(T)) && (k[3] || "px") !== "px" && (x.style[g] = T, T = v.css(x, g)), nd(x, T, se);
28783
28783
  }
28784
28784
  };
28785
28785
  }), v.cssHooks.marginLeft = da(
@@ -28881,7 +28881,7 @@ var _I = { exports: {} };
28881
28881
  return T;
28882
28882
  }
28883
28883
  function id(f, g, x) {
28884
- var T, E, k, M, U, W, Q, ie, le = "width" in g || "height" in g, te = this, xe = {}, Oe = f.style, Je = f.nodeType && Jr(f), Ze = Pe.get(f, "fxshow");
28884
+ var T, E, k, M, U, W, Q, se, le = "width" in g || "height" in g, te = this, xe = {}, Oe = f.style, Je = f.nodeType && Jr(f), Ze = Pe.get(f, "fxshow");
28885
28885
  x.queue || (M = v._queueHooks(f, "fx"), M.unqueued == null && (M.unqueued = 0, U = M.empty.fire, M.empty.fire = function() {
28886
28886
  M.unqueued || U();
28887
28887
  }), M.unqueued++, te.always(function() {
@@ -28899,9 +28899,9 @@ var _I = { exports: {} };
28899
28899
  xe[T] = Ze && Ze[T] || v.style(f, T);
28900
28900
  }
28901
28901
  if (W = !v.isEmptyObject(g), !(!W && v.isEmptyObject(xe))) {
28902
- le && f.nodeType === 1 && (x.overflow = [Oe.overflow, Oe.overflowX, Oe.overflowY], Q = Ze && Ze.display, Q == null && (Q = Pe.get(f, "display")), ie = v.css(f, "display"), ie === "none" && (Q ? ie = Q : (Di([f], !0), Q = f.style.display || Q, ie = v.css(f, "display"), Di([f]))), (ie === "inline" || ie === "inline-block" && Q != null) && v.css(f, "float") === "none" && (W || (te.done(function() {
28902
+ le && f.nodeType === 1 && (x.overflow = [Oe.overflow, Oe.overflowX, Oe.overflowY], Q = Ze && Ze.display, Q == null && (Q = Pe.get(f, "display")), se = v.css(f, "display"), se === "none" && (Q ? se = Q : (Di([f], !0), Q = f.style.display || Q, se = v.css(f, "display"), Di([f]))), (se === "inline" || se === "inline-block" && Q != null) && v.css(f, "float") === "none" && (W || (te.done(function() {
28903
28903
  Oe.display = Q;
28904
- }), Q == null && (ie = Oe.display, Q = ie === "none" ? "" : ie)), Oe.display = "inline-block")), x.overflow && (Oe.overflow = "hidden", te.always(function() {
28904
+ }), Q == null && (se = Oe.display, Q = se === "none" ? "" : se)), Oe.display = "inline-block")), x.overflow && (Oe.overflow = "hidden", te.always(function() {
28905
28905
  Oe.overflow = x.overflow[0], Oe.overflowX = x.overflow[1], Oe.overflowY = x.overflow[2];
28906
28906
  })), W = !1;
28907
28907
  for (T in xe)
@@ -28961,11 +28961,11 @@ var _I = { exports: {} };
28961
28961
  Q.tweens[te].run(1);
28962
28962
  return le ? (U.notifyWith(f, [Q, 1, 0]), U.resolveWith(f, [Q, le])) : U.rejectWith(f, [Q, le]), this;
28963
28963
  }
28964
- }), ie = Q.props;
28965
- for (Fu(ie, Q.opts.specialEasing); k < M; k++)
28966
- if (T = Or.prefilters[k].call(Q, f, ie, Q.opts), T)
28964
+ }), se = Q.props;
28965
+ for (Fu(se, Q.opts.specialEasing); k < M; k++)
28966
+ if (T = Or.prefilters[k].call(Q, f, se, Q.opts), T)
28967
28967
  return w(T.stop) && (v._queueHooks(Q.elem, Q.opts.queue).stop = T.stop.bind(T)), T;
28968
- return v.map(ie, $u, Q), w(Q.opts.start) && Q.opts.start.call(f, Q), Q.progress(Q.opts.progress).done(Q.opts.done, Q.opts.complete).fail(Q.opts.fail).always(Q.opts.always), v.fx.timer(
28968
+ return v.map(se, $u, Q), w(Q.opts.start) && Q.opts.start.call(f, Q), Q.progress(Q.opts.progress).done(Q.opts.done, Q.opts.complete).fail(Q.opts.fail).always(Q.opts.always), v.fx.timer(
28969
28969
  v.extend(W, {
28970
28970
  elem: f,
28971
28971
  anim: Q,
@@ -29316,16 +29316,16 @@ var _I = { exports: {} };
29316
29316
  };
29317
29317
  v.extend(v.event, {
29318
29318
  trigger: function(f, g, x, T) {
29319
- var E, k, M, U, W, Q, ie, le, te = [x || _], xe = p.call(f, "type") ? f.type : f, Oe = p.call(f, "namespace") ? f.namespace.split(".") : [];
29320
- if (k = le = M = x = x || _, !(x.nodeType === 3 || x.nodeType === 8) && !od.test(xe + v.event.triggered) && (xe.indexOf(".") > -1 && (Oe = xe.split("."), xe = Oe.shift(), Oe.sort()), W = xe.indexOf(":") < 0 && "on" + xe, f = f[v.expando] ? f : new v.Event(xe, typeof f == "object" && f), f.isTrigger = T ? 2 : 3, f.namespace = Oe.join("."), f.rnamespace = f.namespace ? new RegExp("(^|\\.)" + Oe.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, f.result = void 0, f.target || (f.target = x), g = g == null ? [f] : v.makeArray(g, [f]), ie = v.event.special[xe] || {}, !(!T && ie.trigger && ie.trigger.apply(x, g) === !1))) {
29321
- if (!T && !ie.noBubble && !D(x)) {
29322
- for (U = ie.delegateType || xe, od.test(U + xe) || (k = k.parentNode); k; k = k.parentNode)
29319
+ var E, k, M, U, W, Q, se, le, te = [x || _], xe = p.call(f, "type") ? f.type : f, Oe = p.call(f, "namespace") ? f.namespace.split(".") : [];
29320
+ if (k = le = M = x = x || _, !(x.nodeType === 3 || x.nodeType === 8) && !od.test(xe + v.event.triggered) && (xe.indexOf(".") > -1 && (Oe = xe.split("."), xe = Oe.shift(), Oe.sort()), W = xe.indexOf(":") < 0 && "on" + xe, f = f[v.expando] ? f : new v.Event(xe, typeof f == "object" && f), f.isTrigger = T ? 2 : 3, f.namespace = Oe.join("."), f.rnamespace = f.namespace ? new RegExp("(^|\\.)" + Oe.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, f.result = void 0, f.target || (f.target = x), g = g == null ? [f] : v.makeArray(g, [f]), se = v.event.special[xe] || {}, !(!T && se.trigger && se.trigger.apply(x, g) === !1))) {
29321
+ if (!T && !se.noBubble && !D(x)) {
29322
+ for (U = se.delegateType || xe, od.test(U + xe) || (k = k.parentNode); k; k = k.parentNode)
29323
29323
  te.push(k), M = k;
29324
29324
  M === (x.ownerDocument || _) && te.push(M.defaultView || M.parentWindow || t);
29325
29325
  }
29326
29326
  for (E = 0; (k = te[E++]) && !f.isPropagationStopped(); )
29327
- le = k, f.type = E > 1 ? U : ie.bindType || xe, Q = (Pe.get(k, "events") || /* @__PURE__ */ Object.create(null))[f.type] && Pe.get(k, "handle"), Q && Q.apply(k, g), Q = W && k[W], Q && Q.apply && kn(k) && (f.result = Q.apply(k, g), f.result === !1 && f.preventDefault());
29328
- return f.type = xe, !T && !f.isDefaultPrevented() && (!ie._default || ie._default.apply(te.pop(), g) === !1) && kn(x) && W && w(x[xe]) && !D(x) && (M = x[W], M && (x[W] = null), v.event.triggered = xe, f.isPropagationStopped() && le.addEventListener(xe, ad), x[xe](), f.isPropagationStopped() && le.removeEventListener(xe, ad), v.event.triggered = void 0, M && (x[W] = M)), f.result;
29327
+ le = k, f.type = E > 1 ? U : se.bindType || xe, Q = (Pe.get(k, "events") || /* @__PURE__ */ Object.create(null))[f.type] && Pe.get(k, "handle"), Q && Q.apply(k, g), Q = W && k[W], Q && Q.apply && kn(k) && (f.result = Q.apply(k, g), f.result === !1 && f.preventDefault());
29328
+ return f.type = xe, !T && !f.isDefaultPrevented() && (!se._default || se._default.apply(te.pop(), g) === !1) && kn(x) && W && w(x[xe]) && !D(x) && (M = x[W], M && (x[W] = null), v.event.triggered = xe, f.isPropagationStopped() && le.addEventListener(xe, ad), x[xe](), f.isPropagationStopped() && le.removeEventListener(xe, ad), v.event.triggered = void 0, M && (x[W] = M)), f.result;
29329
29329
  }
29330
29330
  },
29331
29331
  // Piggyback on a donor event to simulate a different one
@@ -29422,8 +29422,8 @@ var _I = { exports: {} };
29422
29422
  var E = {}, k = f === kt;
29423
29423
  function M(U) {
29424
29424
  var W;
29425
- return E[U] = !0, v.each(f[U] || [], function(Q, ie) {
29426
- var le = ie(g, x, T);
29425
+ return E[U] = !0, v.each(f[U] || [], function(Q, se) {
29426
+ var le = se(g, x, T);
29427
29427
  if (typeof le == "string" && !k && !E[le])
29428
29428
  return g.dataTypes.unshift(le), M(le), !1;
29429
29429
  if (k)
@@ -29464,19 +29464,19 @@ var _I = { exports: {} };
29464
29464
  return k !== W[0] && W.unshift(k), x[k];
29465
29465
  }
29466
29466
  function fd(f, g, x, T) {
29467
- var E, k, M, U, W, Q = {}, ie = f.dataTypes.slice();
29468
- if (ie[1])
29467
+ var E, k, M, U, W, Q = {}, se = f.dataTypes.slice();
29468
+ if (se[1])
29469
29469
  for (M in f.converters)
29470
29470
  Q[M.toLowerCase()] = f.converters[M];
29471
- for (k = ie.shift(); k; )
29472
- if (f.responseFields[k] && (x[f.responseFields[k]] = g), !W && T && f.dataFilter && (g = f.dataFilter(g, f.dataType)), W = k, k = ie.shift(), k) {
29471
+ for (k = se.shift(); k; )
29472
+ if (f.responseFields[k] && (x[f.responseFields[k]] = g), !W && T && f.dataFilter && (g = f.dataFilter(g, f.dataType)), W = k, k = se.shift(), k) {
29473
29473
  if (k === "*")
29474
29474
  k = W;
29475
29475
  else if (W !== "*" && W !== k) {
29476
29476
  if (M = Q[W + " " + k] || Q["* " + k], !M) {
29477
29477
  for (E in Q)
29478
29478
  if (U = E.split(" "), U[1] === k && (M = Q[W + " " + U[0]] || Q["* " + U[0]], M)) {
29479
- M === !0 ? M = Q[E] : Q[E] !== !0 && (k = U[0], ie.unshift(U[1]));
29479
+ M === !0 ? M = Q[E] : Q[E] !== !0 && (k = U[0], se.unshift(U[1]));
29480
29480
  break;
29481
29481
  }
29482
29482
  }
@@ -29576,7 +29576,7 @@ var _I = { exports: {} };
29576
29576
  // Main method
29577
29577
  ajax: function(f, g) {
29578
29578
  typeof f == "object" && (g = f, f = void 0), g = g || {};
29579
- var x, T, E, k, M, U, W, Q, ie, le, te = v.ajaxSetup({}, g), xe = te.context || te, Oe = te.context && (xe.nodeType || xe.jquery) ? v(xe) : v.event, Je = v.Deferred(), Ze = v.Callbacks("once memory"), vn = te.statusCode || {}, Gt = {}, ni = {}, ri = "canceled", ht = {
29579
+ var x, T, E, k, M, U, W, Q, se, le, te = v.ajaxSetup({}, g), xe = te.context || te, Oe = te.context && (xe.nodeType || xe.jquery) ? v(xe) : v.event, Je = v.Deferred(), Ze = v.Callbacks("once memory"), vn = te.statusCode || {}, Gt = {}, ni = {}, ri = "canceled", ht = {
29580
29580
  readyState: 0,
29581
29581
  // Builds headers hashtable if needed
29582
29582
  getResponseHeader: function(pt) {
@@ -29632,8 +29632,8 @@ var _I = { exports: {} };
29632
29632
  "Accept",
29633
29633
  te.dataTypes[0] && te.accepts[te.dataTypes[0]] ? te.accepts[te.dataTypes[0]] + (te.dataTypes[0] !== "*" ? ", " + ld + "; q=0.01" : "") : te.accepts["*"]
29634
29634
  );
29635
- for (ie in te.headers)
29636
- ht.setRequestHeader(ie, te.headers[ie]);
29635
+ for (se in te.headers)
29636
+ ht.setRequestHeader(se, te.headers[se]);
29637
29637
  if (te.beforeSend && (te.beforeSend.call(xe, ht, te) === !1 || W))
29638
29638
  return ht.abort();
29639
29639
  if (ri = "abort", Ze.add(te.complete), ht.done(te.success), ht.fail(te.error), x = cd(kt, te, g, ht), !x)
@@ -29884,8 +29884,8 @@ var _I = { exports: {} };
29884
29884
  }).length;
29885
29885
  }, v.offset = {
29886
29886
  setOffset: function(f, g, x) {
29887
- var T, E, k, M, U, W, Q, ie = v.css(f, "position"), le = v(f), te = {};
29888
- ie === "static" && (f.style.position = "relative"), U = le.offset(), k = v.css(f, "top"), W = v.css(f, "left"), Q = (ie === "absolute" || ie === "fixed") && (k + W).indexOf("auto") > -1, Q ? (T = le.position(), M = T.top, E = T.left) : (M = parseFloat(k) || 0, E = parseFloat(W) || 0), w(g) && (g = g.call(f, x, v.extend({}, U))), g.top != null && (te.top = g.top - U.top + M), g.left != null && (te.left = g.left - U.left + E), "using" in g ? g.using.call(f, te) : le.css(te);
29887
+ var T, E, k, M, U, W, Q, se = v.css(f, "position"), le = v(f), te = {};
29888
+ se === "static" && (f.style.position = "relative"), U = le.offset(), k = v.css(f, "top"), W = v.css(f, "left"), Q = (se === "absolute" || se === "fixed") && (k + W).indexOf("auto") > -1, Q ? (T = le.position(), M = T.top, E = T.left) : (M = parseFloat(k) || 0, E = parseFloat(W) || 0), w(g) && (g = g.call(f, x, v.extend({}, U))), g.top != null && (te.top = g.top - U.top + M), g.left != null && (te.left = g.left - U.left + E), "using" in g ? g.using.call(f, te) : le.css(te);
29889
29889
  }
29890
29890
  }, v.fn.extend({
29891
29891
  // offset() relates an element's border box to the document origin
@@ -29965,7 +29965,7 @@ var _I = { exports: {} };
29965
29965
  }, function(x, T) {
29966
29966
  v.fn[T] = function(E, k) {
29967
29967
  var M = arguments.length && (x || typeof E != "boolean"), U = x || (E === !0 || k === !0 ? "margin" : "border");
29968
- return un(this, function(W, Q, ie) {
29968
+ return un(this, function(W, Q, se) {
29969
29969
  var le;
29970
29970
  return D(W) ? T.indexOf("outer") === 0 ? W["inner" + f] : W.document.documentElement["client" + f] : W.nodeType === 9 ? (le = W.documentElement, Math.max(
29971
29971
  W.body["scroll" + f],
@@ -29973,12 +29973,12 @@ var _I = { exports: {} };
29973
29973
  W.body["offset" + f],
29974
29974
  le["offset" + f],
29975
29975
  le["client" + f]
29976
- )) : ie === void 0 ? (
29976
+ )) : se === void 0 ? (
29977
29977
  // Get width or height on the element, requesting but not forcing parseFloat
29978
29978
  v.css(W, Q, U)
29979
29979
  ) : (
29980
29980
  // Set width or height on the element
29981
- v.style(W, Q, ie, U)
29981
+ v.style(W, Q, se, U)
29982
29982
  );
29983
29983
  }, g, M ? E : void 0, M);
29984
29984
  };
@@ -30170,16 +30170,16 @@ const kte = /* @__PURE__ */ fV(I9);
30170
30170
  i == "left" ? this.startDate : this.endDate, this.locale.direction == "ltr";
30171
30171
  var z = '<table class="table-condensed">';
30172
30172
  z += "<thead>", z += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (z += "<th></th>"), (!v || v.isBefore(_.firstDay)) && (!this.linkedCalendars || i == "left") ? z += '<th class="prev available"><span></span></th>' : z += "<th></th>";
30173
- var re = this.locale.monthNames[_[1][1].month()] + _[1][1].format(" YYYY");
30173
+ var ie = this.locale.monthNames[_[1][1].month()] + _[1][1].format(" YYYY");
30174
30174
  if (this.showDropdowns) {
30175
- for (var oe = _[1][1].month(), ye = _[1][1].year(), Z = Y && Y.year() || this.maxYear, se = v && v.year() || this.minYear, me = ye == se, ce = ye == Z, de = '<select class="monthselect">', ae = 0; ae < 12; ae++)
30175
+ for (var oe = _[1][1].month(), ye = _[1][1].year(), Z = Y && Y.year() || this.maxYear, re = v && v.year() || this.minYear, me = ye == re, ce = ye == Z, de = '<select class="monthselect">', ae = 0; ae < 12; ae++)
30176
30176
  (!me || v && ae >= v.month()) && (!ce || Y && ae <= Y.month()) ? de += "<option value='" + ae + "'" + (ae === oe ? " selected='selected'" : "") + ">" + this.locale.monthNames[ae] + "</option>" : de += "<option value='" + ae + "'" + (ae === oe ? " selected='selected'" : "") + " disabled='disabled'>" + this.locale.monthNames[ae] + "</option>";
30177
30177
  de += "</select>";
30178
- for (var fe = '<select class="yearselect">', Se = se; Se <= Z; Se++)
30178
+ for (var fe = '<select class="yearselect">', Se = re; Se <= Z; Se++)
30179
30179
  fe += '<option value="' + Se + '"' + (Se === ye ? ' selected="selected"' : "") + ">" + Se + "</option>";
30180
- fe += "</select>", re = de + fe;
30180
+ fe += "</select>", ie = de + fe;
30181
30181
  }
30182
- if (z += '<th colspan="5" class="month">' + re + "</th>", (!Y || Y.isAfter(_.lastDay)) && (!this.linkedCalendars || i == "right" || this.singleDatePicker) ? z += '<th class="next available"><span></span></th>' : z += "<th></th>", z += "</tr>", z += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (z += '<th class="week">' + this.locale.weekLabel + "</th>"), n.each(this.locale.daysOfWeek, function(ft, It) {
30182
+ if (z += '<th colspan="5" class="month">' + ie + "</th>", (!Y || Y.isAfter(_.lastDay)) && (!this.linkedCalendars || i == "right" || this.singleDatePicker) ? z += '<th class="next available"><span></span></th>' : z += "<th></th>", z += "</tr>", z += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (z += '<th class="week">' + this.locale.weekLabel + "</th>"), n.each(this.locale.daysOfWeek, function(ft, It) {
30183
30183
  z += "<th>" + It + "</th>";
30184
30184
  }), z += "</tr>", z += "</thead>", z += "<tbody>", this.endDate == null && this.maxSpan) {
30185
30185
  var Ce = this.startDate.clone().add(this.maxSpan).endOf("day");
@@ -33925,9 +33925,9 @@ var Za = function(e) {
33925
33925
  return mh.get(e);
33926
33926
  if (uR(e))
33927
33927
  return mh.set(e, wE), wE;
33928
- var n = getComputedStyle(e), r = Ux(e) && e.ownerSVGElement && e.getBBox(), i = !Wie && n.boxSizing === "border-box", s = Vie.test(n.writingMode || ""), o = !r && xE.test(n.overflowY || ""), l = !r && xE.test(n.overflowX || ""), c = r ? 0 : ns(n.paddingTop), d = r ? 0 : ns(n.paddingRight), h = r ? 0 : ns(n.paddingBottom), p = r ? 0 : ns(n.paddingLeft), y = r ? 0 : ns(n.borderTopWidth), b = r ? 0 : ns(n.borderRightWidth), C = r ? 0 : ns(n.borderBottomWidth), w = r ? 0 : ns(n.borderLeftWidth), D = p + d, _ = c + h, I = w + b, P = y + C, V = l ? e.offsetHeight - P - e.clientHeight : 0, $ = o ? e.offsetWidth - I - e.clientWidth : 0, j = i ? D + I : 0, v = i ? _ + P : 0, Y = r ? r.width : ns(n.width) - j - $, z = r ? r.height : ns(n.height) - v - V, re = Y + D + $ + I, oe = z + _ + V + P, ye = Za({
33928
+ var n = getComputedStyle(e), r = Ux(e) && e.ownerSVGElement && e.getBBox(), i = !Wie && n.boxSizing === "border-box", s = Vie.test(n.writingMode || ""), o = !r && xE.test(n.overflowY || ""), l = !r && xE.test(n.overflowX || ""), c = r ? 0 : ns(n.paddingTop), d = r ? 0 : ns(n.paddingRight), h = r ? 0 : ns(n.paddingBottom), p = r ? 0 : ns(n.paddingLeft), y = r ? 0 : ns(n.borderTopWidth), b = r ? 0 : ns(n.borderRightWidth), C = r ? 0 : ns(n.borderBottomWidth), w = r ? 0 : ns(n.borderLeftWidth), D = p + d, _ = c + h, I = w + b, P = y + C, V = l ? e.offsetHeight - P - e.clientHeight : 0, $ = o ? e.offsetWidth - I - e.clientWidth : 0, j = i ? D + I : 0, v = i ? _ + P : 0, Y = r ? r.width : ns(n.width) - j - $, z = r ? r.height : ns(n.height) - v - V, ie = Y + D + $ + I, oe = z + _ + V + P, ye = Za({
33929
33929
  devicePixelContentBoxSize: su(Math.round(Y * devicePixelRatio), Math.round(z * devicePixelRatio), s),
33930
- borderBoxSize: su(re, oe, s),
33930
+ borderBoxSize: su(ie, oe, s),
33931
33931
  contentBoxSize: su(Y, z, s),
33932
33932
  contentRect: new lR(p, c, Y, z)
33933
33933
  });
@@ -36169,8 +36169,8 @@ function KE({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
36169
36169
  const D = p + w, _ = o === void 0 ? D : o(D);
36170
36170
  _ !== D && (w = _ - p);
36171
36171
  const I = (Y) => -w * Math.exp(-Y / r), P = (Y) => _ + I(Y), V = (Y) => {
36172
- const z = I(Y), re = P(Y);
36173
- y.done = Math.abs(z) <= d, y.value = y.done ? _ : re;
36172
+ const z = I(Y), ie = P(Y);
36173
+ y.done = Math.abs(z) <= d, y.value = y.done ? _ : ie;
36174
36174
  };
36175
36175
  let $, j;
36176
36176
  const v = (Y) => {
@@ -36352,8 +36352,8 @@ class ww extends pL {
36352
36352
  let P = this.currentTime, V = s;
36353
36353
  if (b) {
36354
36354
  const Y = Math.min(this.currentTime, h) / p;
36355
- let z = Math.floor(Y), re = Y % 1;
36356
- !re && Y >= 1 && (re = 1), re === 1 && z--, z = Math.min(z, b + 1), !!(z % 2) && (C === "reverse" ? (re = 1 - re, w && (re -= w / p)) : C === "mirror" && (V = o)), P = to(0, 1, re) * p;
36355
+ let z = Math.floor(Y), ie = Y % 1;
36356
+ !ie && Y >= 1 && (ie = 1), ie === 1 && z--, z = Math.min(z, b + 1), !!(z % 2) && (C === "reverse" ? (ie = 1 - ie, w && (ie -= w / p)) : C === "mirror" && (V = o)), P = to(0, 1, ie) * p;
36357
36357
  }
36358
36358
  const $ = I ? { done: !1, value: c[0] } : V.next(P);
36359
36359
  l && ($.value = l($.value));
@@ -36809,13 +36809,13 @@ function zae(e) {
36809
36809
  let Y = v || // If we're making this variant active, we want to always make it active
36810
36810
  _ === c && I.isActive && !j && V || // If we removed a higher-priority variant (i is in reverse order)
36811
36811
  D > C && V, z = !1;
36812
- const re = Array.isArray(P) ? P : [P];
36813
- let oe = re.reduce(i(_), {});
36812
+ const ie = Array.isArray(P) ? P : [P];
36813
+ let oe = ie.reduce(i(_), {});
36814
36814
  $ === !1 && (oe = {});
36815
36815
  const { prevResolvedValues: ye = {} } = I, Z = {
36816
36816
  ...ye,
36817
36817
  ...oe
36818
- }, se = (de) => {
36818
+ }, re = (de) => {
36819
36819
  Y = !0, y.has(de) && (z = !0, y.delete(de)), I.needsAnimating[de] = !0;
36820
36820
  const ae = e.getValue(de);
36821
36821
  ae && (ae.liveStyle = !1);
@@ -36825,9 +36825,9 @@ function zae(e) {
36825
36825
  if (b.hasOwnProperty(de))
36826
36826
  continue;
36827
36827
  let Se = !1;
36828
- k0(ae) && k0(fe) ? Se = !LR(ae, fe) : Se = ae !== fe, Se ? ae != null ? se(de) : y.add(de) : ae !== void 0 && y.has(de) ? se(de) : I.protectedKeys[de] = !0;
36828
+ k0(ae) && k0(fe) ? Se = !LR(ae, fe) : Se = ae !== fe, Se ? ae != null ? re(de) : y.add(de) : ae !== void 0 && y.has(de) ? re(de) : I.protectedKeys[de] = !0;
36829
36829
  }
36830
- I.prevProp = P, I.prevResolvedValues = oe, I.isActive && (b = { ...b, ...oe }), r && e.blockInitialAnimation && (Y = !1), Y && (!(j && v) || z) && p.push(...re.map((de) => ({
36830
+ I.prevProp = P, I.prevResolvedValues = oe, I.isActive && (b = { ...b, ...oe }), r && e.blockInitialAnimation && (Y = !1), Y && (!(j && v) || z) && p.push(...ie.map((de) => ({
36831
36831
  animation: de,
36832
36832
  options: { type: _ }
36833
36833
  })));
@@ -38874,7 +38874,7 @@ function Pue(e) {
38874
38874
  bottom: v,
38875
38875
  right: Y,
38876
38876
  x: z,
38877
- y: re
38877
+ y: ie
38878
38878
  } = c.current.element.getBoundingClientRect(), oe = {
38879
38879
  left: P,
38880
38880
  top: V,
@@ -38883,7 +38883,7 @@ function Pue(e) {
38883
38883
  bottom: v,
38884
38884
  right: Y,
38885
38885
  x: z,
38886
- y: re
38886
+ y: ie
38887
38887
  };
38888
38888
  c.current.element instanceof HTMLElement && i && (oe.height = c.current.element.offsetHeight, oe.width = c.current.element.offsetWidth), Object.freeze(oe), p.current && !Rue(c.current.lastBounds, oe) && l(c.current.lastBounds = oe);
38889
38889
  };
@@ -40036,9 +40036,9 @@ function n2({ ...e }) {
40036
40036
  }, [e.item.isFavorite]);
40037
40037
  const _ = A.useRef(), I = A.useRef();
40038
40038
  I != null && I.current && ((Ie = I == null ? void 0 : I.current) == null ? void 0 : Ie.scrollWidth) > ((Qe = I == null ? void 0 : I.current) == null ? void 0 : Qe.clientWidth);
40039
- const P = window.location.origin, V = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, $ = window.location.pathname.split("/")[1], j = V.pathname.split("/")[1], v = e.item.redirectUrl || e.ssr || !P.includes("local") && P !== V.origin || j !== $, Y = r ? "div" : !e.isInternalApp && v ? "a" : ok, z = t.redirectUrl || t.path || "#", re = n + 1, oe = r && s && b, ye = s || n === 0 ? void 0 : `${n + 0.25}rem`, Z = () => {
40039
+ const P = window.location.origin, V = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, $ = window.location.pathname.split("/")[1], j = V.pathname.split("/")[1], v = e.item.redirectUrl || e.ssr || !P.includes("local") && P !== V.origin || j !== $, Y = r ? "div" : !e.isInternalApp && v ? "a" : ok, z = t.redirectUrl || t.path || "#", ie = n + 1, oe = r && s && b, ye = s || n === 0 ? void 0 : `${n + 0.25}rem`, Z = () => {
40040
40040
  C(!0);
40041
- }, se = () => {
40041
+ }, re = () => {
40042
40042
  C(!1);
40043
40043
  }, me = "/global-menu-config/api/v1/menu-items/user/set-favorite", ce = t.serviceKey === "mn_poms";
40044
40044
  e.params.depth * 20, e.params.depth, hce(
@@ -40061,7 +40061,7 @@ function n2({ ...e }) {
40061
40061
  ...fe
40062
40062
  },
40063
40063
  onMouseOver: Z,
40064
- onMouseOut: se,
40064
+ onMouseOut: re,
40065
40065
  onDragStart: (je) => {
40066
40066
  s && n > 1 && je.preventDefault();
40067
40067
  },
@@ -40143,11 +40143,11 @@ function n2({ ...e }) {
40143
40143
  {
40144
40144
  className: y(
40145
40145
  `menu-item__dropdown ${e.params.isOpen ? "menu-item__dropdown--open" : "menu-item__dropdown--close"}`,
40146
- `level-${re}`
40146
+ `level-${ie}`
40147
40147
  ),
40148
40148
  style: GM(
40149
40149
  { maxHeight: je, overflowY: "auto", paddingRight: 3 },
40150
- je !== "auto" && !!re
40150
+ je !== "auto" && !!ie
40151
40151
  ),
40152
40152
  children: (qe = t.children) == null ? void 0 : qe.map((ft) => /* @__PURE__ */ A.createElement(
40153
40153
  n2,
@@ -40155,7 +40155,7 @@ function n2({ ...e }) {
40155
40155
  ...e,
40156
40156
  key: ft.id,
40157
40157
  item: ft,
40158
- level: re
40158
+ level: ie
40159
40159
  }
40160
40160
  ))
40161
40161
  }
@@ -40267,7 +40267,7 @@ function Ace(e) {
40267
40267
  }
40268
40268
  );
40269
40269
  }
40270
- const Ice = ".flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{position:fixed;top:64px;left:0;height:calc(100vh - 64px);max-width:18rem;display:flex;flex-direction:column;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:5px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;color:#292929}.menu-item__wrapper.collapsed.active,.menu-item__wrapper.expanded.active.parent.isClose,.menu-item__wrapper.expanded.active.child{color:var(--primary400);background-color:var(--primary200)}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link.expanded.level-0{padding:.5rem 10px}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.level-0{transition:padding .2s}.menu-item__link.menu-item__link.collapsed.level-0{padding:0}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center;color:#85858a}.menu-item__icon.collapsed.active,.menu-item__icon.expanded.active.parent.isClose,.menu-item__icon.expanded.active.child{color:inherit}.menu-item__icon.collapsed.level-0>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px;font-weight:500;font-size:.951rem}.menu-item__label.level-0.isInternalApp{font-weight:unset!important}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__icon{transition:transform .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", Rce = (e) => {
40270
+ const Ice = ".flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{position:fixed;top:64px;left:0;height:calc(100vh - 64px);max-width:18rem;display:flex;flex-direction:column;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:5px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;color:#292929}.menu-item__wrapper.collapsed.active,.menu-item__wrapper.expanded.active.parent.isClose,.menu-item__wrapper.expanded.active.child{color:var(--primary400);background-color:var(--primary200)}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link.expanded.level-0{padding:.5rem 10px}.isHome{position:sticky;top:0;background-color:#fafafa;z-index:10}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.level-0{transition:padding .2s}.menu-item__link.menu-item__link.collapsed.level-0{padding:0}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center;color:#85858a}.menu-item__icon.collapsed.active,.menu-item__icon.expanded.active.parent.isClose,.menu-item__icon.expanded.active.child{color:inherit}.menu-item__icon.collapsed.level-0>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px;font-weight:500;font-size:.951rem}.menu-item__label.level-0.isInternalApp{font-weight:unset!important}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__icon{transition:transform .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", Rce = (e) => {
40271
40271
  const t = e.isCollapsed ? 0 : e.depth * 16;
40272
40272
  return /* @__PURE__ */ L.jsx(
40273
40273
  "div",
@@ -40319,17 +40319,17 @@ function Fce(e) {
40319
40319
  const C = Bce(i, p), [w, D] = Nce({
40320
40320
  initOpenIds: e.initOpenIds
40321
40321
  }), _ = () => {
40322
- var Z, se;
40322
+ var Z, re;
40323
40323
  if (h(!d), localStorage.setItem("isCollapsed", JSON.stringify(!d)), r2(d), d)
40324
40324
  w && ((Z = b.current) == null || Z.open(w));
40325
40325
  else {
40326
40326
  const me = n.filter((ce) => ce.parent === 0).map((ce) => ce.id);
40327
- console.log("closeIds:", me), (se = b.current) == null || se.close(me);
40327
+ console.log("closeIds:", me), (re = b.current) == null || re.close(me);
40328
40328
  }
40329
40329
  }, [I, P] = A.useState(!1), V = d ? "collapsed" : "expanded", $ = (Z) => `${Z} ${V}`, j = A.useRef(null);
40330
40330
  A.useLayoutEffect(() => {
40331
40331
  (async () => {
40332
- var se, me;
40332
+ var re, me;
40333
40333
  try {
40334
40334
  const ce = e.menuPath || "/global-menu-config/api/v1/menu-items/user", de = e.baseUrl + ce, { data: ae } = await qn.get(de);
40335
40335
  let fe = ae.map((Ce) => ({
@@ -40346,7 +40346,7 @@ function Fce(e) {
40346
40346
  r(Se);
40347
40347
  } catch (ce) {
40348
40348
  console.error("Global menu", ce), jf(
40349
- ((me = (se = ce.response) == null ? void 0 : se.data) == null ? void 0 : me.errorMessage) || ce.message || "Have error when get menu items"
40349
+ ((me = (re = ce.response) == null ? void 0 : re.data) == null ? void 0 : me.errorMessage) || ce.message || "Have error when get menu items"
40350
40350
  );
40351
40351
  }
40352
40352
  })();
@@ -40361,8 +40361,8 @@ function Fce(e) {
40361
40361
  );
40362
40362
  if (!Z.ok)
40363
40363
  throw new Error("Failed to fetch favorite items");
40364
- const se = await Z.json();
40365
- c(se);
40364
+ const re = await Z.json();
40365
+ c(re);
40366
40366
  } catch (Z) {
40367
40367
  console.error("Error fetching favorite items:", Z);
40368
40368
  } finally {
@@ -40376,8 +40376,8 @@ function Fce(e) {
40376
40376
  A.useEffect(() => {
40377
40377
  z();
40378
40378
  }, [e.baseUrl, t]), A.useEffect(() => {
40379
- const Z = (se) => {
40380
- c(se.detail.favoriteMenuId);
40379
+ const Z = (re) => {
40380
+ c(re.detail.favoriteMenuId);
40381
40381
  };
40382
40382
  return window.addEventListener("favoriteOrderUpdated", Z), () => {
40383
40383
  window.removeEventListener(
@@ -40393,26 +40393,26 @@ function Fce(e) {
40393
40393
  );
40394
40394
  de && (Z = [...Z, de]);
40395
40395
  }), console.log(Z);
40396
- function se(ce) {
40396
+ function re(ce) {
40397
40397
  return i.every((de) => de.parentKey !== ce.id) ? ce : {
40398
40398
  ...ce,
40399
- children: i.filter((de) => de.parentKey === ce.id).map((de) => se(de))
40399
+ children: i.filter((de) => de.parentKey === ce.id).map((de) => re(de))
40400
40400
  };
40401
40401
  }
40402
- const me = Z.map((ce) => se(ce));
40402
+ const me = Z.map((ce) => re(ce));
40403
40403
  $ce(me);
40404
40404
  }, [i]);
40405
- function re(Z) {
40406
- const se = Z.detail.menuItem;
40405
+ function ie(Z) {
40406
+ const re = Z.detail.menuItem;
40407
40407
  r((me) => me.map(
40408
- (ce) => ce.id !== se.id ? ce : {
40408
+ (ce) => ce.id !== re.id ? ce : {
40409
40409
  ...ce,
40410
- data: se
40410
+ data: re
40411
40411
  }
40412
40412
  )), z();
40413
40413
  }
40414
- A.useEffect(() => (window.addEventListener("updateFavoriteMenu", re), () => {
40415
- window.removeEventListener("updateFavoriteMenu", re);
40414
+ A.useEffect(() => (window.addEventListener("updateFavoriteMenu", ie), () => {
40415
+ window.removeEventListener("updateFavoriteMenu", ie);
40416
40416
  }), []), A.useLayoutEffect(() => {
40417
40417
  var ce;
40418
40418
  const Z = localStorage.getItem("scrollPos");
@@ -40420,19 +40420,19 @@ function Fce(e) {
40420
40420
  const de = j.current.getScrollElement();
40421
40421
  de.scrollTop = parseInt(Z);
40422
40422
  }, 0);
40423
- const se = () => {
40423
+ const re = () => {
40424
40424
  if (j.current) {
40425
40425
  const de = j.current.getScrollElement();
40426
40426
  localStorage.setItem("scrollPos", de.scrollTop.toString());
40427
40427
  }
40428
40428
  }, me = (ce = j.current) == null ? void 0 : ce.getScrollElement();
40429
- return me == null || me.addEventListener("scroll", se), () => {
40430
- me == null || me.removeEventListener("scroll", se);
40429
+ return me == null || me.addEventListener("scroll", re), () => {
40430
+ me == null || me.removeEventListener("scroll", re);
40431
40431
  };
40432
40432
  }, [i]);
40433
40433
  function oe(Z) {
40434
40434
  o(!0);
40435
- const se = [...n];
40435
+ const re = [...n];
40436
40436
  r(Z);
40437
40437
  const me = Z.map((ce, de) => ({
40438
40438
  menuItemId: ce.id,
@@ -40442,7 +40442,7 @@ function Fce(e) {
40442
40442
  baseURL: e.baseUrl
40443
40443
  }).then(() => {
40444
40444
  }).catch((ce) => {
40445
- console.error(ce), r(se);
40445
+ console.error(ce), r(re);
40446
40446
  }).finally(() => {
40447
40447
  o(!1);
40448
40448
  });
@@ -40481,8 +40481,8 @@ function Fce(e) {
40481
40481
  draggingSource: "draggingSource",
40482
40482
  placeholder: "placeholderContainer",
40483
40483
  listItem: (Z) => {
40484
- var se;
40485
- return ((se = Z.data) == null ? void 0 : se.name) === "Home" ? "isHome" : "";
40484
+ var re;
40485
+ return ((re = Z.data) == null ? void 0 : re.name) === "Home" ? "isHome" : "";
40486
40486
  }
40487
40487
  },
40488
40488
  tree: n,
@@ -40492,7 +40492,7 @@ function Fce(e) {
40492
40492
  enableAnimateExpand: !0,
40493
40493
  dropTargetOffset: 10,
40494
40494
  onDrop: oe,
40495
- render: (Z, se) => {
40495
+ render: (Z, re) => {
40496
40496
  function me(fe) {
40497
40497
  return n.every((Se) => Se.parent !== fe.id) ? fe : {
40498
40498
  ...fe,
@@ -40524,14 +40524,14 @@ function Fce(e) {
40524
40524
  brandColors: e.brandColors,
40525
40525
  baseUrl: e.baseUrl,
40526
40526
  node: Z,
40527
- params: se,
40527
+ params: re,
40528
40528
  nodes: n,
40529
40529
  item: ce,
40530
40530
  expanded: () => !1,
40531
40531
  toggleExpand: (fe) => {
40532
40532
  var Se;
40533
- if (fe.stopPropagation(), se.isOpen)
40534
- console.log("open toggleExpand"), se.onToggle();
40533
+ if (fe.stopPropagation(), re.isOpen)
40534
+ console.log("open toggleExpand"), re.onToggle();
40535
40535
  else {
40536
40536
  console.log("close toggleExpand");
40537
40537
  const Ce = n.filter(
@@ -40543,25 +40543,28 @@ function Fce(e) {
40543
40543
  }, 0);
40544
40544
  }
40545
40545
  },
40546
- level: se.depth,
40546
+ level: re.depth,
40547
40547
  onSetFavoriteSuccess: ae
40548
40548
  }
40549
40549
  );
40550
40550
  },
40551
- placeholderRender: (Z, { depth: se }) => {
40551
+ placeholderRender: (Z, { depth: re }) => {
40552
40552
  var me;
40553
40553
  return /* @__PURE__ */ L.jsx(
40554
40554
  Rce,
40555
40555
  {
40556
40556
  node: Z,
40557
- depth: se,
40557
+ depth: re,
40558
40558
  color: (me = e.brandColors) == null ? void 0 : me.primary300,
40559
40559
  isCollapsed: d
40560
40560
  }
40561
40561
  );
40562
40562
  },
40563
- canDrag: () => !s,
40564
- canDrop: (Z, { dragSource: se, dropTargetId: me }) => (se == null ? void 0 : se.parent) === me,
40563
+ canDrag: (Z) => {
40564
+ var re;
40565
+ return !s && ((re = Z == null ? void 0 : Z.data) == null ? void 0 : re.name) !== "Home";
40566
+ },
40567
+ canDrop: (Z, { dragSource: re, dropTargetId: me }) => (re == null ? void 0 : re.parent) === me,
40565
40568
  onDragStart: (Z) => {
40566
40569
  console.log("onDragStart", Z);
40567
40570
  },