@ukpc-lib/react 0.14.5 → 0.14.6-sandbox.saas-9898.patch-1

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.
@@ -1964,22 +1964,22 @@ en.getAdapter = Wk.getAdapter;
1964
1964
  en.HttpStatusCode = wy;
1965
1965
  en.default = en;
1966
1966
  const {
1967
- Axios: ife,
1968
- AxiosError: sfe,
1969
- CanceledError: ofe,
1970
- isCancel: afe,
1971
- CancelToken: lfe,
1972
- VERSION: ufe,
1973
- all: cfe,
1974
- Cancel: ffe,
1975
- isAxiosError: dfe,
1976
- spread: hfe,
1977
- toFormData: pfe,
1978
- AxiosHeaders: mfe,
1979
- HttpStatusCode: gfe,
1980
- formToJSON: vfe,
1981
- getAdapter: yfe,
1982
- mergeConfig: bfe
1967
+ Axios: sfe,
1968
+ AxiosError: ofe,
1969
+ CanceledError: afe,
1970
+ isCancel: lfe,
1971
+ CancelToken: ufe,
1972
+ VERSION: cfe,
1973
+ all: ffe,
1974
+ Cancel: dfe,
1975
+ isAxiosError: hfe,
1976
+ spread: pfe,
1977
+ toFormData: mfe,
1978
+ AxiosHeaders: gfe,
1979
+ HttpStatusCode: vfe,
1980
+ formToJSON: yfe,
1981
+ getAdapter: bfe,
1982
+ mergeConfig: xfe
1983
1983
  } = en, cW = ({ color: e = "#fff" }) => /* @__PURE__ */ I.jsx(
1984
1984
  "svg",
1985
1985
  {
@@ -12368,7 +12368,7 @@ function aq({
12368
12368
  }
12369
12369
  ) }) });
12370
12370
  }
12371
- function xfe(e) {
12371
+ function wfe(e) {
12372
12372
  const { user: t, logout: n, isFetching: r } = bO();
12373
12373
  return /* @__PURE__ */ I.jsx(
12374
12374
  PP,
@@ -33923,9 +33923,21 @@ const wE = (e) => {
33923
33923
  D0.forEach((t) => {
33924
33924
  e ? t.reject(e) : t.resolve();
33925
33925
  }), D0 = [];
33926
+ }, $ie = async (e) => {
33927
+ var n;
33928
+ const t = (n = e == null ? void 0 : e.response) == null ? void 0 : n.data;
33929
+ if (t instanceof Blob)
33930
+ try {
33931
+ const r = await t.text();
33932
+ e.response.data = JSON.parse(r);
33933
+ } catch (r) {
33934
+ console.warn("Failed to parse blob error payload", r);
33935
+ }
33936
+ return e;
33926
33937
  };
33927
- function $ie(e, t) {
33938
+ async function Fie(e, t) {
33928
33939
  var s, o, l, c, d, h, p;
33940
+ e = await $ie(e);
33929
33941
  const n = e.config, r = ((o = (s = e.response) == null ? void 0 : s.data) == null ? void 0 : o.errorMessage) || ((c = (l = e.response) == null ? void 0 : l.data) == null ? void 0 : c.message), i = r === Rie.TOKEN_EXPIRED;
33930
33942
  return ((d = e.response) == null ? void 0 : d.status) === 401 && i && !n._retry ? Jv ? new Promise((y, b) => {
33931
33943
  D0.push({ resolve: y, reject: b });
@@ -33938,18 +33950,18 @@ function $ie(e, t) {
33938
33950
  qn.interceptors.response.use(
33939
33951
  (e) => e,
33940
33952
  // Success handling
33941
- async (e) => $ie(e)
33953
+ async (e) => Fie(e)
33942
33954
  // Error handling
33943
33955
  );
33944
- var Qa = [], Fie = function() {
33956
+ var Qa = [], jie = function() {
33945
33957
  return Qa.some(function(e) {
33946
33958
  return e.activeTargets.length > 0;
33947
33959
  });
33948
- }, jie = function() {
33960
+ }, Bie = function() {
33949
33961
  return Qa.some(function(e) {
33950
33962
  return e.skippedTargets.length > 0;
33951
33963
  });
33952
- }, SE = "ResizeObserver loop completed with undelivered notifications.", Bie = function() {
33964
+ }, SE = "ResizeObserver loop completed with undelivered notifications.", Vie = function() {
33953
33965
  var e;
33954
33966
  typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
33955
33967
  message: SE
@@ -33960,7 +33972,7 @@ var Qa = [], Fie = function() {
33960
33972
  })(Tf || (Tf = {}));
33961
33973
  var Za = function(e) {
33962
33974
  return Object.freeze(e);
33963
- }, Vie = /* @__PURE__ */ function() {
33975
+ }, Wie = /* @__PURE__ */ function() {
33964
33976
  function e(t, n) {
33965
33977
  this.inlineSize = t, this.blockSize = n, Za(this);
33966
33978
  }
@@ -33990,7 +34002,7 @@ var Za = function(e) {
33990
34002
  return !0;
33991
34003
  var n = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
33992
34004
  return !!(n && e instanceof n.Element);
33993
- }, Wie = function(e) {
34005
+ }, Hie = function(e) {
33994
34006
  switch (e.tagName) {
33995
34007
  case "INPUT":
33996
34008
  if (e.type !== "image")
@@ -34005,10 +34017,10 @@ var Za = function(e) {
34005
34017
  return !0;
34006
34018
  }
34007
34019
  return !1;
34008
- }, Kc = typeof window < "u" ? window : {}, gh = /* @__PURE__ */ new WeakMap(), CE = /auto|scroll/, Hie = /^tb|vertical/, Uie = /msie|trident/i.test(Kc.navigator && Kc.navigator.userAgent), ns = function(e) {
34020
+ }, Kc = typeof window < "u" ? window : {}, gh = /* @__PURE__ */ new WeakMap(), CE = /auto|scroll/, Uie = /^tb|vertical/, zie = /msie|trident/i.test(Kc.navigator && Kc.navigator.userAgent), ns = function(e) {
34009
34021
  return parseFloat(e || "0");
34010
34022
  }, su = function(e, t, n) {
34011
- return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Vie((n ? t : e) || 0, (n ? e : t) || 0);
34023
+ return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Wie((n ? t : e) || 0, (n ? e : t) || 0);
34012
34024
  }, _E = Za({
34013
34025
  devicePixelContentBoxSize: su(),
34014
34026
  borderBoxSize: su(),
@@ -34019,7 +34031,7 @@ var Za = function(e) {
34019
34031
  return gh.get(e);
34020
34032
  if (gR(e))
34021
34033
  return gh.set(e, _E), _E;
34022
- var n = getComputedStyle(e), r = qx(e) && e.ownerSVGElement && e.getBBox(), i = !Uie && n.boxSizing === "border-box", s = Hie.test(n.writingMode || ""), o = !r && CE.test(n.overflowY || ""), l = !r && CE.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, R = w + b, P = y + C, V = l ? e.offsetHeight - P - e.clientHeight : 0, F = o ? e.offsetWidth - R - e.clientWidth : 0, j = i ? D + R : 0, v = i ? _ + P : 0, z = r ? r.width : ns(n.width) - j - F, Y = r ? r.height : ns(n.height) - v - V, ne = z + D + F + R, ce = Y + _ + V + P, we = Za({
34034
+ var n = getComputedStyle(e), r = qx(e) && e.ownerSVGElement && e.getBBox(), i = !zie && n.boxSizing === "border-box", s = Uie.test(n.writingMode || ""), o = !r && CE.test(n.overflowY || ""), l = !r && CE.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, R = w + b, P = y + C, V = l ? e.offsetHeight - P - e.clientHeight : 0, F = o ? e.offsetWidth - R - e.clientWidth : 0, j = i ? D + R : 0, v = i ? _ + P : 0, z = r ? r.width : ns(n.width) - j - F, Y = r ? r.height : ns(n.height) - v - V, ne = z + D + F + R, ce = Y + _ + V + P, we = Za({
34023
34035
  devicePixelContentBoxSize: su(Math.round(z * devicePixelRatio), Math.round(Y * devicePixelRatio), s),
34024
34036
  borderBoxSize: su(ne, ce, s),
34025
34037
  contentBoxSize: su(z, Y, s),
@@ -34036,7 +34048,7 @@ var Za = function(e) {
34036
34048
  default:
34037
34049
  return s;
34038
34050
  }
34039
- }, zie = /* @__PURE__ */ function() {
34051
+ }, Yie = /* @__PURE__ */ function() {
34040
34052
  function e(t) {
34041
34053
  var n = vR(t);
34042
34054
  this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = Za([n.borderBoxSize]), this.contentBoxSize = Za([n.contentBoxSize]), this.devicePixelContentBoxSize = Za([n.devicePixelContentBoxSize]);
@@ -34048,13 +34060,13 @@ var Za = function(e) {
34048
34060
  for (var t = 0, n = e.parentNode; n; )
34049
34061
  t += 1, n = n.parentNode;
34050
34062
  return t;
34051
- }, Yie = function() {
34063
+ }, qie = function() {
34052
34064
  var e = 1 / 0, t = [];
34053
34065
  Qa.forEach(function(o) {
34054
34066
  if (o.activeTargets.length !== 0) {
34055
34067
  var l = [];
34056
34068
  o.activeTargets.forEach(function(d) {
34057
- var h = new zie(d.target), p = bR(d.target);
34069
+ var h = new Yie(d.target), p = bR(d.target);
34058
34070
  l.push(h), d.lastReportedSize = yR(d.target, d.observedBox), p < e && (e = p);
34059
34071
  }), t.push(function() {
34060
34072
  o.callback.call(o.observer, l, o.observer);
@@ -34072,32 +34084,32 @@ var Za = function(e) {
34072
34084
  i.isActive() && (bR(i.target) > e ? n.activeTargets.push(i) : n.skippedTargets.push(i));
34073
34085
  });
34074
34086
  });
34075
- }, qie = function() {
34087
+ }, Gie = function() {
34076
34088
  var e = 0;
34077
- for (EE(e); Fie(); )
34078
- e = Yie(), EE(e);
34079
- return jie() && Bie(), e > 0;
34080
- }, ey, xR = [], Gie = function() {
34089
+ for (EE(e); jie(); )
34090
+ e = qie(), EE(e);
34091
+ return Bie() && Vie(), e > 0;
34092
+ }, ey, xR = [], Kie = function() {
34081
34093
  return xR.splice(0).forEach(function(e) {
34082
34094
  return e();
34083
34095
  });
34084
- }, Kie = function(e) {
34096
+ }, Xie = function(e) {
34085
34097
  if (!ey) {
34086
34098
  var t = 0, n = document.createTextNode(""), r = { characterData: !0 };
34087
34099
  new MutationObserver(function() {
34088
- return Gie();
34100
+ return Kie();
34089
34101
  }).observe(n, r), ey = function() {
34090
34102
  n.textContent = "".concat(t ? t-- : t++);
34091
34103
  };
34092
34104
  }
34093
34105
  xR.push(e), ey();
34094
- }, Xie = function(e) {
34095
- Kie(function() {
34106
+ }, Qie = function(e) {
34107
+ Xie(function() {
34096
34108
  requestAnimationFrame(e);
34097
34109
  });
34098
- }, zh = 0, Qie = function() {
34110
+ }, zh = 0, Zie = function() {
34099
34111
  return !!zh;
34100
- }, Zie = 250, Jie = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, DE = [
34112
+ }, Jie = 250, ese = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, DE = [
34101
34113
  "resize",
34102
34114
  "load",
34103
34115
  "transitionend",
@@ -34114,7 +34126,7 @@ var Za = function(e) {
34114
34126
  "focus"
34115
34127
  ], kE = function(e) {
34116
34128
  return e === void 0 && (e = 0), Date.now() + e;
34117
- }, ty = !1, ese = function() {
34129
+ }, ty = !1, tse = function() {
34118
34130
  function e() {
34119
34131
  var t = this;
34120
34132
  this.stopped = !0, this.listener = function() {
@@ -34123,15 +34135,15 @@ var Za = function(e) {
34123
34135
  }
34124
34136
  return e.prototype.run = function(t) {
34125
34137
  var n = this;
34126
- if (t === void 0 && (t = Zie), !ty) {
34138
+ if (t === void 0 && (t = Jie), !ty) {
34127
34139
  ty = !0;
34128
34140
  var r = kE(t);
34129
- Xie(function() {
34141
+ Qie(function() {
34130
34142
  var i = !1;
34131
34143
  try {
34132
- i = qie();
34144
+ i = Gie();
34133
34145
  } finally {
34134
- if (ty = !1, t = r - kE(), !Qie())
34146
+ if (ty = !1, t = r - kE(), !Zie())
34135
34147
  return;
34136
34148
  i ? n.run(1e3) : t > 0 ? n.run(t) : n.start();
34137
34149
  }
@@ -34141,7 +34153,7 @@ var Za = function(e) {
34141
34153
  this.stop(), this.run();
34142
34154
  }, e.prototype.observe = function() {
34143
34155
  var t = this, n = function() {
34144
- return t.observer && t.observer.observe(document.body, Jie);
34156
+ return t.observer && t.observer.observe(document.body, ese);
34145
34157
  };
34146
34158
  document.body ? n() : Kc.addEventListener("DOMContentLoaded", n);
34147
34159
  }, e.prototype.start = function() {
@@ -34155,11 +34167,11 @@ var Za = function(e) {
34155
34167
  return Kc.removeEventListener(n, t.listener, !0);
34156
34168
  }), this.stopped = !0);
34157
34169
  }, e;
34158
- }(), k0 = new ese(), OE = function(e) {
34170
+ }(), k0 = new tse(), OE = function(e) {
34159
34171
  !zh && e > 0 && k0.start(), zh += e, !zh && k0.stop();
34160
- }, tse = function(e) {
34161
- return !qx(e) && !Wie(e) && getComputedStyle(e).display === "inline";
34162
- }, nse = function() {
34172
+ }, nse = function(e) {
34173
+ return !qx(e) && !Hie(e) && getComputedStyle(e).display === "inline";
34174
+ }, rse = function() {
34163
34175
  function e(t, n) {
34164
34176
  this.target = t, this.observedBox = n || Tf.CONTENT_BOX, this.lastReportedSize = {
34165
34177
  inlineSize: 0,
@@ -34168,9 +34180,9 @@ var Za = function(e) {
34168
34180
  }
34169
34181
  return e.prototype.isActive = function() {
34170
34182
  var t = yR(this.target, this.observedBox, !0);
34171
- return tse(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
34183
+ return nse(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
34172
34184
  }, e;
34173
- }(), rse = /* @__PURE__ */ function() {
34185
+ }(), ise = /* @__PURE__ */ function() {
34174
34186
  function e(t, n) {
34175
34187
  this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
34176
34188
  }
@@ -34184,11 +34196,11 @@ var Za = function(e) {
34184
34196
  function e() {
34185
34197
  }
34186
34198
  return e.connect = function(t, n) {
34187
- var r = new rse(t, n);
34199
+ var r = new ise(t, n);
34188
34200
  vh.set(t, r);
34189
34201
  }, e.observe = function(t, n, r) {
34190
34202
  var i = vh.get(t), s = i.observationTargets.length === 0;
34191
- PE(i.observationTargets, n) < 0 && (s && Qa.push(i), i.observationTargets.push(new nse(n, r && r.box)), OE(1), k0.schedule());
34203
+ PE(i.observationTargets, n) < 0 && (s && Qa.push(i), i.observationTargets.push(new rse(n, r && r.box)), OE(1), k0.schedule());
34192
34204
  }, e.unobserve = function(t, n) {
34193
34205
  var r = vh.get(t), i = PE(r.observationTargets, n), s = r.observationTargets.length === 1;
34194
34206
  i >= 0 && (s && Qa.splice(Qa.indexOf(r), 1), r.observationTargets.splice(i, 1), OE(-1));
@@ -34198,7 +34210,7 @@ var Za = function(e) {
34198
34210
  return n.unobserve(t, i.target);
34199
34211
  }), r.activeTargets.splice(0, r.activeTargets.length);
34200
34212
  }, e;
34201
- }(), ise = function() {
34213
+ }(), sse = function() {
34202
34214
  function e(t) {
34203
34215
  if (arguments.length === 0)
34204
34216
  throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
@@ -34225,7 +34237,7 @@ var Za = function(e) {
34225
34237
  }, e;
34226
34238
  }();
34227
34239
  const wR = A.createContext({});
34228
- function sse(e) {
34240
+ function ose(e) {
34229
34241
  const t = A.useRef(null);
34230
34242
  return t.current === null && (t.current = e()), t.current;
34231
34243
  }
@@ -34234,7 +34246,7 @@ const Gx = A.createContext(null), SR = A.createContext({
34234
34246
  isStatic: !1,
34235
34247
  reducedMotion: "never"
34236
34248
  });
34237
- function ose(e = !0) {
34249
+ function ase(e = !0) {
34238
34250
  const t = A.useContext(Gx);
34239
34251
  if (t === null)
34240
34252
  return [!0, null];
@@ -34245,7 +34257,7 @@ function ose(e = !0) {
34245
34257
  const o = A.useCallback(() => e && r && r(s), [s, r, e]);
34246
34258
  return !n && r ? [!1, o] : [!0];
34247
34259
  }
34248
- const Kx = typeof window < "u", ase = Kx ? A.useLayoutEffect : A.useEffect, Gr = /* @__NO_SIDE_EFFECTS__ */ (e) => e;
34260
+ const Kx = typeof window < "u", lse = Kx ? A.useLayoutEffect : A.useEffect, Gr = /* @__NO_SIDE_EFFECTS__ */ (e) => e;
34249
34261
  let TR = Gr;
34250
34262
  // @__NO_SIDE_EFFECTS__
34251
34263
  function Xx(e) {
@@ -34255,10 +34267,10 @@ function Xx(e) {
34255
34267
  const mu = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
34256
34268
  const r = t - e;
34257
34269
  return r === 0 ? 1 : (n - e) / r;
34258
- }, Ys = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, qs = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, lse = {
34270
+ }, Ys = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, qs = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, use = {
34259
34271
  useManualTiming: !1
34260
34272
  };
34261
- function use(e) {
34273
+ function cse(e) {
34262
34274
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1;
34263
34275
  const s = /* @__PURE__ */ new WeakSet();
34264
34276
  let o = {
@@ -34309,16 +34321,16 @@ const bh = [
34309
34321
  // Write
34310
34322
  "postRender"
34311
34323
  // Compute
34312
- ], cse = 40;
34324
+ ], fse = 40;
34313
34325
  function CR(e, t) {
34314
34326
  let n = !1, r = !0;
34315
34327
  const i = {
34316
34328
  delta: 0,
34317
34329
  timestamp: 0,
34318
34330
  isProcessing: !1
34319
- }, s = () => n = !0, o = bh.reduce((_, R) => (_[R] = use(s), _), {}), { read: l, resolveKeyframes: c, update: d, preRender: h, render: p, postRender: y } = o, b = () => {
34331
+ }, s = () => n = !0, o = bh.reduce((_, R) => (_[R] = cse(s), _), {}), { read: l, resolveKeyframes: c, update: d, preRender: h, render: p, postRender: y } = o, b = () => {
34320
34332
  const _ = performance.now();
34321
- n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(_ - i.timestamp, cse), 1), i.timestamp = _, i.isProcessing = !0, l.process(i), c.process(i), d.process(i), h.process(i), p.process(i), y.process(i), i.isProcessing = !1, n && t && (r = !1, e(b));
34333
+ n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(_ - i.timestamp, fse), 1), i.timestamp = _, i.isProcessing = !0, l.process(i), c.process(i), d.process(i), h.process(i), p.process(i), y.process(i), i.isProcessing = !1, n && t && (r = !1, e(b));
34322
34334
  }, C = () => {
34323
34335
  n = !0, r = !0, i.isProcessing || e(b);
34324
34336
  };
@@ -34354,14 +34366,14 @@ for (const e in ME)
34354
34366
  gu[e] = {
34355
34367
  isEnabled: (t) => ME[e].some((n) => !!t[n])
34356
34368
  };
34357
- function fse(e) {
34369
+ function dse(e) {
34358
34370
  for (const t in e)
34359
34371
  gu[t] = {
34360
34372
  ...gu[t],
34361
34373
  ...e[t]
34362
34374
  };
34363
34375
  }
34364
- const dse = /* @__PURE__ */ new Set([
34376
+ const hse = /* @__PURE__ */ new Set([
34365
34377
  "animate",
34366
34378
  "exit",
34367
34379
  "variants",
@@ -34394,24 +34406,24 @@ const dse = /* @__PURE__ */ new Set([
34394
34406
  "viewport"
34395
34407
  ]);
34396
34408
  function $p(e) {
34397
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || dse.has(e);
34409
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || hse.has(e);
34398
34410
  }
34399
34411
  let ER = (e) => !$p(e);
34400
- function hse(e) {
34412
+ function pse(e) {
34401
34413
  e && (ER = (t) => t.startsWith("on") ? !$p(t) : e(t));
34402
34414
  }
34403
34415
  try {
34404
- hse(require("@emotion/is-prop-valid").default);
34416
+ pse(require("@emotion/is-prop-valid").default);
34405
34417
  } catch {
34406
34418
  }
34407
- function pse(e, t, n) {
34419
+ function mse(e, t, n) {
34408
34420
  const r = {};
34409
34421
  for (const i in e)
34410
34422
  i === "values" && typeof e.values == "object" || (ER(i) || n === !0 && $p(i) || !t && !$p(i) || // If trying to use native HTML drag events, forward drag listeners
34411
34423
  e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]);
34412
34424
  return r;
34413
34425
  }
34414
- function mse(e) {
34426
+ function gse(e) {
34415
34427
  if (typeof Proxy > "u")
34416
34428
  return e;
34417
34429
  const t = /* @__PURE__ */ new Map(), n = (...r) => e(...r);
@@ -34446,7 +34458,7 @@ function Fm(e) {
34446
34458
  function DR(e) {
34447
34459
  return !!(Fm(e) || e.variants);
34448
34460
  }
34449
- function gse(e, t) {
34461
+ function vse(e, t) {
34450
34462
  if (Fm(e)) {
34451
34463
  const { initial: n, animate: r } = e;
34452
34464
  return {
@@ -34456,18 +34468,18 @@ function gse(e, t) {
34456
34468
  }
34457
34469
  return e.inherit !== !1 ? t : {};
34458
34470
  }
34459
- function vse(e) {
34460
- const { initial: t, animate: n } = gse(e, A.useContext(Nm));
34471
+ function yse(e) {
34472
+ const { initial: t, animate: n } = vse(e, A.useContext(Nm));
34461
34473
  return A.useMemo(() => ({ initial: t, animate: n }), [AE(t), AE(n)]);
34462
34474
  }
34463
34475
  function AE(e) {
34464
34476
  return Array.isArray(e) ? e.join(" ") : e;
34465
34477
  }
34466
- const yse = Symbol.for("motionComponentSymbol");
34478
+ const bse = Symbol.for("motionComponentSymbol");
34467
34479
  function Xl(e) {
34468
34480
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
34469
34481
  }
34470
- function bse(e, t, n) {
34482
+ function xse(e, t, n) {
34471
34483
  return A.useCallback(
34472
34484
  (r) => {
34473
34485
  r && e.onMount && e.onMount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : Xl(n) && (n.current = r));
@@ -34480,8 +34492,8 @@ function bse(e, t, n) {
34480
34492
  [t]
34481
34493
  );
34482
34494
  }
34483
- const Jx = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), xse = "framerAppearId", kR = "data-" + Jx(xse), { schedule: ew } = CR(queueMicrotask, !1), OR = A.createContext({});
34484
- function wse(e, t, n, r, i) {
34495
+ const Jx = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), wse = "framerAppearId", kR = "data-" + Jx(wse), { schedule: ew } = CR(queueMicrotask, !1), OR = A.createContext({});
34496
+ function Sse(e, t, n, r, i) {
34485
34497
  var s, o;
34486
34498
  const { visualElement: l } = A.useContext(Nm), c = A.useContext(_R), d = A.useContext(Gx), h = A.useContext(SR).reducedMotion, p = A.useRef(null);
34487
34499
  r = r || c.renderer, !p.current && r && (p.current = r(e, {
@@ -34493,13 +34505,13 @@ function wse(e, t, n, r, i) {
34493
34505
  reducedMotionConfig: h
34494
34506
  }));
34495
34507
  const y = p.current, b = A.useContext(OR);
34496
- y && !y.projection && i && (y.type === "html" || y.type === "svg") && Sse(p.current, n, i, b);
34508
+ y && !y.projection && i && (y.type === "html" || y.type === "svg") && Tse(p.current, n, i, b);
34497
34509
  const C = A.useRef(!1);
34498
34510
  A.useInsertionEffect(() => {
34499
34511
  y && C.current && y.update(n, d);
34500
34512
  });
34501
34513
  const w = n[kR], D = A.useRef(!!w && !(!((s = window.MotionHandoffIsComplete) === null || s === void 0) && s.call(window, w)) && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, w)));
34502
- return ase(() => {
34514
+ return lse(() => {
34503
34515
  y && (C.current = !0, window.MotionIsMounted = !0, y.updateFeatures(), ew.render(y.render), D.current && y.animationState && y.animationState.animateChanges());
34504
34516
  }), A.useEffect(() => {
34505
34517
  y && (!D.current && y.animationState && y.animationState.animateChanges(), D.current && (queueMicrotask(() => {
@@ -34508,7 +34520,7 @@ function wse(e, t, n, r, i) {
34508
34520
  }), D.current = !1));
34509
34521
  }), y;
34510
34522
  }
34511
- function Sse(e, t, n, r) {
34523
+ function Tse(e, t, n, r) {
34512
34524
  const { layoutId: i, layout: s, drag: o, dragConstraints: l, layoutScroll: c, layoutRoot: d } = t;
34513
34525
  e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : PR(e.parent)), e.projection.setOptions({
34514
34526
  layoutId: i,
@@ -34532,35 +34544,35 @@ function PR(e) {
34532
34544
  if (e)
34533
34545
  return e.options.allowProjection !== !1 ? e.projection : PR(e.parent);
34534
34546
  }
34535
- function Tse({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVisualState: r, Component: i }) {
34547
+ function Cse({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVisualState: r, Component: i }) {
34536
34548
  var s, o;
34537
- e && fse(e);
34549
+ e && dse(e);
34538
34550
  function l(d, h) {
34539
34551
  let p;
34540
34552
  const y = {
34541
34553
  ...A.useContext(SR),
34542
34554
  ...d,
34543
- layoutId: Cse(d)
34544
- }, { isStatic: b } = y, C = vse(d), w = r(d, b);
34555
+ layoutId: _se(d)
34556
+ }, { isStatic: b } = y, C = yse(d), w = r(d, b);
34545
34557
  if (!b && Kx) {
34546
- _se();
34547
- const D = Ese(y);
34548
- p = D.MeasureLayout, C.visualElement = wse(i, w, y, t, D.ProjectionNode);
34558
+ Ese();
34559
+ const D = Dse(y);
34560
+ p = D.MeasureLayout, C.visualElement = Sse(i, w, y, t, D.ProjectionNode);
34549
34561
  }
34550
- return I.jsxs(Nm.Provider, { value: C, children: [p && C.visualElement ? I.jsx(p, { visualElement: C.visualElement, ...y }) : null, n(i, d, bse(w, C.visualElement, h), w, b, C.visualElement)] });
34562
+ return I.jsxs(Nm.Provider, { value: C, children: [p && C.visualElement ? I.jsx(p, { visualElement: C.visualElement, ...y }) : null, n(i, d, xse(w, C.visualElement, h), w, b, C.visualElement)] });
34551
34563
  }
34552
34564
  l.displayName = `motion.${typeof i == "string" ? i : `create(${(o = (s = i.displayName) !== null && s !== void 0 ? s : i.name) !== null && o !== void 0 ? o : ""})`}`;
34553
34565
  const c = A.forwardRef(l);
34554
- return c[yse] = i, c;
34566
+ return c[bse] = i, c;
34555
34567
  }
34556
- function Cse({ layoutId: e }) {
34568
+ function _se({ layoutId: e }) {
34557
34569
  const t = A.useContext(wR).id;
34558
34570
  return t && e !== void 0 ? t + "-" + e : e;
34559
34571
  }
34560
- function _se(e, t) {
34572
+ function Ese(e, t) {
34561
34573
  A.useContext(_R).strict;
34562
34574
  }
34563
- function Ese(e) {
34575
+ function Dse(e) {
34564
34576
  const { drag: t, layout: n } = gu;
34565
34577
  if (!t && !n)
34566
34578
  return {};
@@ -34570,7 +34582,7 @@ function Ese(e) {
34570
34582
  ProjectionNode: r.ProjectionNode
34571
34583
  };
34572
34584
  }
34573
- const Dse = [
34585
+ const kse = [
34574
34586
  "animate",
34575
34587
  "circle",
34576
34588
  "defs",
@@ -34610,7 +34622,7 @@ function tw(e) {
34610
34622
  /**
34611
34623
  * If it's in our list of lowercase SVG tags, it's an SVG component
34612
34624
  */
34613
- !!(Dse.indexOf(e) > -1 || /**
34625
+ !!(kse.indexOf(e) > -1 || /**
34614
34626
  * If it contains a capital letter, it's an SVG component
34615
34627
  */
34616
34628
  /[A-Z]/u.test(e))
@@ -34634,23 +34646,23 @@ function nw(e, t, n, r) {
34634
34646
  }
34635
34647
  return t;
34636
34648
  }
34637
- const O0 = (e) => Array.isArray(e), kse = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), Ose = (e) => O0(e) ? e[e.length - 1] || 0 : e, Un = (e) => !!(e && e.getVelocity);
34649
+ const O0 = (e) => Array.isArray(e), Ose = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), Pse = (e) => O0(e) ? e[e.length - 1] || 0 : e, Un = (e) => !!(e && e.getVelocity);
34638
34650
  function Yh(e) {
34639
34651
  const t = Un(e) ? e.get() : e;
34640
- return kse(t) ? t.toValue() : t;
34652
+ return Ose(t) ? t.toValue() : t;
34641
34653
  }
34642
- function Pse({ scrapeMotionValuesFromProps: e, createRenderState: t, onUpdate: n }, r, i, s) {
34654
+ function Mse({ scrapeMotionValuesFromProps: e, createRenderState: t, onUpdate: n }, r, i, s) {
34643
34655
  const o = {
34644
- latestValues: Mse(r, i, s, e),
34656
+ latestValues: Ase(r, i, s, e),
34645
34657
  renderState: t()
34646
34658
  };
34647
34659
  return n && (o.onMount = (l) => n({ props: r, current: l, ...o }), o.onUpdate = (l) => n(l)), o;
34648
34660
  }
34649
34661
  const MR = (e) => (t, n) => {
34650
- const r = A.useContext(Nm), i = A.useContext(Gx), s = () => Pse(e, t, r, i);
34651
- return n ? s() : sse(s);
34662
+ const r = A.useContext(Nm), i = A.useContext(Gx), s = () => Mse(e, t, r, i);
34663
+ return n ? s() : ose(s);
34652
34664
  };
34653
- function Mse(e, t, n, r) {
34665
+ function Ase(e, t, n, r) {
34654
34666
  const i = {}, s = r(e, {});
34655
34667
  for (const y in s)
34656
34668
  i[y] = Yh(s[y]);
@@ -34699,7 +34711,7 @@ const Ou = [
34699
34711
  "skew",
34700
34712
  "skewX",
34701
34713
  "skewY"
34702
- ], cl = new Set(Ou), AR = (e) => (t) => typeof t == "string" && t.startsWith(e), IR = /* @__PURE__ */ AR("--"), Ase = /* @__PURE__ */ AR("var(--"), rw = (e) => Ase(e) ? Ise.test(e.split("/*")[0].trim()) : !1, Ise = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, RR = (e, t) => t && typeof e == "number" ? t.transform(e) : e, to = (e, t, n) => n > t ? t : n < e ? e : n, Pu = {
34714
+ ], cl = new Set(Ou), AR = (e) => (t) => typeof t == "string" && t.startsWith(e), IR = /* @__PURE__ */ AR("--"), Ise = /* @__PURE__ */ AR("var(--"), rw = (e) => Ise(e) ? Rse.test(e.split("/*")[0].trim()) : !1, Rse = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, RR = (e, t) => t && typeof e == "number" ? t.transform(e) : e, to = (e, t, n) => n > t ? t : n < e ? e : n, Pu = {
34703
34715
  test: (e) => typeof e == "number",
34704
34716
  parse: parseFloat,
34705
34717
  transform: (e) => e
@@ -34713,11 +34725,11 @@ const Ou = [
34713
34725
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
34714
34726
  parse: parseFloat,
34715
34727
  transform: (t) => `${t}${e}`
34716
- }), Mo = /* @__PURE__ */ zf("deg"), fs = /* @__PURE__ */ zf("%"), Ge = /* @__PURE__ */ zf("px"), Rse = /* @__PURE__ */ zf("vh"), Lse = /* @__PURE__ */ zf("vw"), RE = {
34728
+ }), Mo = /* @__PURE__ */ zf("deg"), fs = /* @__PURE__ */ zf("%"), Ge = /* @__PURE__ */ zf("px"), Lse = /* @__PURE__ */ zf("vh"), Nse = /* @__PURE__ */ zf("vw"), RE = {
34717
34729
  ...fs,
34718
34730
  parse: (e) => fs.parse(e) / 100,
34719
34731
  transform: (e) => fs.transform(e * 100)
34720
- }, Nse = {
34732
+ }, $se = {
34721
34733
  // Border props
34722
34734
  borderWidth: Ge,
34723
34735
  borderTopWidth: Ge,
@@ -34753,7 +34765,7 @@ const Ou = [
34753
34765
  // Misc
34754
34766
  backgroundPositionX: Ge,
34755
34767
  backgroundPositionY: Ge
34756
- }, $se = {
34768
+ }, Fse = {
34757
34769
  rotate: Mo,
34758
34770
  rotateX: Mo,
34759
34771
  rotateY: Mo,
@@ -34782,23 +34794,23 @@ const Ou = [
34782
34794
  ...Pu,
34783
34795
  transform: Math.round
34784
34796
  }, iw = {
34785
- ...Nse,
34786
34797
  ...$se,
34798
+ ...Fse,
34787
34799
  zIndex: LE,
34788
34800
  size: Ge,
34789
34801
  // SVG
34790
34802
  fillOpacity: _f,
34791
34803
  strokeOpacity: _f,
34792
34804
  numOctaves: LE
34793
- }, Fse = {
34805
+ }, jse = {
34794
34806
  x: "translateX",
34795
34807
  y: "translateY",
34796
34808
  z: "translateZ",
34797
34809
  transformPerspective: "perspective"
34798
- }, jse = Ou.length;
34799
- function Bse(e, t, n) {
34810
+ }, Bse = Ou.length;
34811
+ function Vse(e, t, n) {
34800
34812
  let r = "", i = !0;
34801
- for (let s = 0; s < jse; s++) {
34813
+ for (let s = 0; s < Bse; s++) {
34802
34814
  const o = Ou[s], l = e[o];
34803
34815
  if (l === void 0)
34804
34816
  continue;
@@ -34807,7 +34819,7 @@ function Bse(e, t, n) {
34807
34819
  const d = RR(l, iw[o]);
34808
34820
  if (!c) {
34809
34821
  i = !1;
34810
- const h = Fse[o] || o;
34822
+ const h = jse[o] || o;
34811
34823
  r += `${h}(${d}) `;
34812
34824
  }
34813
34825
  n && (t[o] = d);
@@ -34831,21 +34843,21 @@ function sw(e, t, n) {
34831
34843
  c.startsWith("origin") ? (l = !0, s[c] = h) : r[c] = h;
34832
34844
  }
34833
34845
  }
34834
- if (t.transform || (o || n ? r.transform = Bse(t, e.transform, n) : r.transform && (r.transform = "none")), l) {
34846
+ if (t.transform || (o || n ? r.transform = Vse(t, e.transform, n) : r.transform && (r.transform = "none")), l) {
34835
34847
  const { originX: c = "50%", originY: d = "50%", originZ: h = 0 } = s;
34836
34848
  r.transformOrigin = `${c} ${d} ${h}`;
34837
34849
  }
34838
34850
  }
34839
- const Vse = {
34851
+ const Wse = {
34840
34852
  offset: "stroke-dashoffset",
34841
34853
  array: "stroke-dasharray"
34842
- }, Wse = {
34854
+ }, Hse = {
34843
34855
  offset: "strokeDashoffset",
34844
34856
  array: "strokeDasharray"
34845
34857
  };
34846
- function Hse(e, t, n = 1, r = 0, i = !0) {
34858
+ function Use(e, t, n = 1, r = 0, i = !0) {
34847
34859
  e.pathLength = 1;
34848
- const s = i ? Vse : Wse;
34860
+ const s = i ? Wse : Hse;
34849
34861
  e[s.offset] = Ge.transform(-r);
34850
34862
  const o = Ge.transform(t), l = Ge.transform(n);
34851
34863
  e[s.array] = `${o} ${l}`;
@@ -34853,7 +34865,7 @@ function Hse(e, t, n = 1, r = 0, i = !0) {
34853
34865
  function NE(e, t, n) {
34854
34866
  return typeof e == "string" ? e : Ge.transform(t + n * e);
34855
34867
  }
34856
- function Use(e, t, n) {
34868
+ function zse(e, t, n) {
34857
34869
  const r = NE(t, e.x, e.width), i = NE(n, e.y, e.height);
34858
34870
  return `${r} ${i}`;
34859
34871
  }
@@ -34875,7 +34887,7 @@ function ow(e, {
34875
34887
  }
34876
34888
  e.attrs = e.style, e.style = {};
34877
34889
  const { attrs: y, style: b, dimensions: C } = e;
34878
- y.transform && (C && (b.transform = y.transform), delete y.transform), C && (i !== void 0 || s !== void 0 || b.transform) && (b.transformOrigin = Use(C, i !== void 0 ? i : 0.5, s !== void 0 ? s : 0.5)), t !== void 0 && (y.x = t), n !== void 0 && (y.y = n), r !== void 0 && (y.scale = r), o !== void 0 && Hse(y, o, l, c, !1);
34890
+ y.transform && (C && (b.transform = y.transform), delete y.transform), C && (i !== void 0 || s !== void 0 || b.transform) && (b.transformOrigin = zse(C, i !== void 0 ? i : 0.5, s !== void 0 ? s : 0.5)), t !== void 0 && (y.x = t), n !== void 0 && (y.y = n), r !== void 0 && (y.scale = r), o !== void 0 && Use(y, o, l, c, !1);
34879
34891
  }
34880
34892
  const aw = () => ({
34881
34893
  style: {},
@@ -34922,7 +34934,7 @@ function FR(e, t, n, r) {
34922
34934
  e.setAttribute($R.has(i) ? i : Jx(i), t.attrs[i]);
34923
34935
  }
34924
34936
  const Fp = {};
34925
- function zse(e) {
34937
+ function Yse(e) {
34926
34938
  Object.assign(Fp, e);
34927
34939
  }
34928
34940
  function jR(e, { layout: t, layoutId: n }) {
@@ -34944,7 +34956,7 @@ function BR(e, t, n) {
34944
34956
  }
34945
34957
  return r;
34946
34958
  }
34947
- function Yse(e, t) {
34959
+ function qse(e, t) {
34948
34960
  try {
34949
34961
  t.dimensions = typeof e.getBBox == "function" ? e.getBBox() : e.getBoundingClientRect();
34950
34962
  } catch {
@@ -34956,7 +34968,7 @@ function Yse(e, t) {
34956
34968
  };
34957
34969
  }
34958
34970
  }
34959
- const $E = ["x", "y", "width", "height", "cx", "cy", "r"], qse = {
34971
+ const $E = ["x", "y", "width", "height", "cx", "cy", "r"], Gse = {
34960
34972
  useVisualState: MR({
34961
34973
  scrapeMotionValuesFromProps: BR,
34962
34974
  createRenderState: LR,
@@ -34980,13 +34992,13 @@ const $E = ["x", "y", "width", "height", "cx", "cy", "r"], qse = {
34980
34992
  e[c] !== t[c] && (o = !0);
34981
34993
  }
34982
34994
  o && Bt.read(() => {
34983
- Yse(n, r), Bt.render(() => {
34995
+ qse(n, r), Bt.render(() => {
34984
34996
  ow(r, i, lw(n.tagName), e.transformTemplate), FR(n, r);
34985
34997
  });
34986
34998
  });
34987
34999
  }
34988
35000
  })
34989
- }, Gse = {
35001
+ }, Kse = {
34990
35002
  useVisualState: MR({
34991
35003
  scrapeMotionValuesFromProps: uw,
34992
35004
  createRenderState: aw
@@ -34996,21 +35008,21 @@ function VR(e, t, n) {
34996
35008
  for (const r in t)
34997
35009
  !Un(t[r]) && !jR(r, n) && (e[r] = t[r]);
34998
35010
  }
34999
- function Kse({ transformTemplate: e }, t) {
35011
+ function Xse({ transformTemplate: e }, t) {
35000
35012
  return A.useMemo(() => {
35001
35013
  const n = aw();
35002
35014
  return sw(n, t, e), Object.assign({}, n.vars, n.style);
35003
35015
  }, [t]);
35004
35016
  }
35005
- function Xse(e, t) {
35017
+ function Qse(e, t) {
35006
35018
  const n = e.style || {}, r = {};
35007
- return VR(r, n, e), Object.assign(r, Kse(e, t)), r;
35019
+ return VR(r, n, e), Object.assign(r, Xse(e, t)), r;
35008
35020
  }
35009
- function Qse(e, t) {
35010
- const n = {}, r = Xse(e, t);
35021
+ function Zse(e, t) {
35022
+ const n = {}, r = Qse(e, t);
35011
35023
  return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
35012
35024
  }
35013
- function Zse(e, t, n, r) {
35025
+ function Jse(e, t, n, r) {
35014
35026
  const i = A.useMemo(() => {
35015
35027
  const s = LR();
35016
35028
  return ow(s, t, lw(r), e.transformTemplate), {
@@ -35024,25 +35036,25 @@ function Zse(e, t, n, r) {
35024
35036
  }
35025
35037
  return i;
35026
35038
  }
35027
- function Jse(e = !1) {
35039
+ function eoe(e = !1) {
35028
35040
  return (n, r, i, { latestValues: s }, o) => {
35029
- const c = (tw(n) ? Zse : Qse)(r, s, o, n), d = pse(r, typeof n == "string", e), h = n !== A.Fragment ? { ...d, ...c, ref: i } : {}, { children: p } = r, y = A.useMemo(() => Un(p) ? p.get() : p, [p]);
35041
+ const c = (tw(n) ? Jse : Zse)(r, s, o, n), d = mse(r, typeof n == "string", e), h = n !== A.Fragment ? { ...d, ...c, ref: i } : {}, { children: p } = r, y = A.useMemo(() => Un(p) ? p.get() : p, [p]);
35030
35042
  return A.createElement(n, {
35031
35043
  ...h,
35032
35044
  children: y
35033
35045
  });
35034
35046
  };
35035
35047
  }
35036
- function eoe(e, t) {
35048
+ function toe(e, t) {
35037
35049
  return function(r, { forwardMotionProps: i } = { forwardMotionProps: !1 }) {
35038
35050
  const o = {
35039
- ...tw(r) ? qse : Gse,
35051
+ ...tw(r) ? Gse : Kse,
35040
35052
  preloadedFeatures: e,
35041
- useRender: Jse(i),
35053
+ useRender: eoe(i),
35042
35054
  createVisualElement: t,
35043
35055
  Component: r
35044
35056
  };
35045
- return Tse(o);
35057
+ return Cse(o);
35046
35058
  };
35047
35059
  }
35048
35060
  function WR(e, t) {
@@ -35060,8 +35072,8 @@ function jm(e, t, n) {
35060
35072
  const r = e.getProps();
35061
35073
  return nw(r, t, n !== void 0 ? n : r.custom, e);
35062
35074
  }
35063
- const toe = /* @__PURE__ */ Xx(() => window.ScrollTimeline !== void 0);
35064
- class noe {
35075
+ const noe = /* @__PURE__ */ Xx(() => window.ScrollTimeline !== void 0);
35076
+ class roe {
35065
35077
  constructor(t) {
35066
35078
  this.stop = () => this.runAll("stop"), this.animations = t.filter(Boolean);
35067
35079
  }
@@ -35080,7 +35092,7 @@ class noe {
35080
35092
  }
35081
35093
  attachTimeline(t, n) {
35082
35094
  const r = this.animations.map((i) => {
35083
- if (toe() && i.attachTimeline)
35095
+ if (noe() && i.attachTimeline)
35084
35096
  return i.attachTimeline(t);
35085
35097
  if (typeof n == "function")
35086
35098
  return n(i);
@@ -35131,7 +35143,7 @@ class noe {
35131
35143
  this.runAll("complete");
35132
35144
  }
35133
35145
  }
35134
- class roe extends noe {
35146
+ class ioe extends roe {
35135
35147
  then(t, n) {
35136
35148
  return Promise.all(this.animations).then(t).catch(n);
35137
35149
  }
@@ -35154,17 +35166,17 @@ function fw(e) {
35154
35166
  function FE(e, t) {
35155
35167
  e.timeline = t, e.onfinish = null;
35156
35168
  }
35157
- const dw = (e) => Array.isArray(e) && typeof e[0] == "number", ioe = {
35169
+ const dw = (e) => Array.isArray(e) && typeof e[0] == "number", soe = {
35158
35170
  linearEasing: void 0
35159
35171
  };
35160
- function soe(e, t) {
35172
+ function ooe(e, t) {
35161
35173
  const n = /* @__PURE__ */ Xx(e);
35162
35174
  return () => {
35163
35175
  var r;
35164
- return (r = ioe[t]) !== null && r !== void 0 ? r : n();
35176
+ return (r = soe[t]) !== null && r !== void 0 ? r : n();
35165
35177
  };
35166
35178
  }
35167
- const jp = /* @__PURE__ */ soe(() => {
35179
+ const jp = /* @__PURE__ */ ooe(() => {
35168
35180
  try {
35169
35181
  document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
35170
35182
  } catch {
@@ -35203,7 +35215,7 @@ const Ni = {
35203
35215
  function qR() {
35204
35216
  return Ni.x || Ni.y;
35205
35217
  }
35206
- function ooe(e, t, n) {
35218
+ function aoe(e, t, n) {
35207
35219
  var r;
35208
35220
  if (e instanceof Element)
35209
35221
  return [e];
@@ -35215,7 +35227,7 @@ function ooe(e, t, n) {
35215
35227
  return Array.from(e);
35216
35228
  }
35217
35229
  function GR(e, t) {
35218
- const n = ooe(e), r = new AbortController(), i = {
35230
+ const n = aoe(e), r = new AbortController(), i = {
35219
35231
  passive: !0,
35220
35232
  ...t,
35221
35233
  signal: r.signal
@@ -35227,7 +35239,7 @@ function jE(e) {
35227
35239
  t.pointerType === "touch" || qR() || e(t);
35228
35240
  };
35229
35241
  }
35230
- function aoe(e, t, n = {}) {
35242
+ function loe(e, t, n = {}) {
35231
35243
  const [r, i, s] = GR(e, n), o = jE((l) => {
35232
35244
  const { target: c } = l, d = t(l);
35233
35245
  if (typeof d != "function" || !c)
@@ -35241,15 +35253,15 @@ function aoe(e, t, n = {}) {
35241
35253
  l.addEventListener("pointerenter", o, i);
35242
35254
  }), s;
35243
35255
  }
35244
- const KR = (e, t) => t ? e === t ? !0 : KR(e, t.parentElement) : !1, hw = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, loe = /* @__PURE__ */ new Set([
35256
+ const KR = (e, t) => t ? e === t ? !0 : KR(e, t.parentElement) : !1, hw = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, uoe = /* @__PURE__ */ new Set([
35245
35257
  "BUTTON",
35246
35258
  "INPUT",
35247
35259
  "SELECT",
35248
35260
  "TEXTAREA",
35249
35261
  "A"
35250
35262
  ]);
35251
- function uoe(e) {
35252
- return loe.has(e.tagName) || e.tabIndex !== -1;
35263
+ function coe(e) {
35264
+ return uoe.has(e.tagName) || e.tabIndex !== -1;
35253
35265
  }
35254
35266
  const Rc = /* @__PURE__ */ new WeakSet();
35255
35267
  function BE(e) {
@@ -35260,7 +35272,7 @@ function BE(e) {
35260
35272
  function ry(e, t) {
35261
35273
  e.dispatchEvent(new PointerEvent("pointer" + t, { isPrimary: !0, bubbles: !0 }));
35262
35274
  }
35263
- const coe = (e, t) => {
35275
+ const foe = (e, t) => {
35264
35276
  const n = e.currentTarget;
35265
35277
  if (!n)
35266
35278
  return;
@@ -35278,7 +35290,7 @@ const coe = (e, t) => {
35278
35290
  function VE(e) {
35279
35291
  return hw(e) && !qR();
35280
35292
  }
35281
- function foe(e, t, n = {}) {
35293
+ function doe(e, t, n = {}) {
35282
35294
  const [r, i, s] = GR(e, n), o = (l) => {
35283
35295
  const c = l.currentTarget;
35284
35296
  if (!VE(l) || Rc.has(c))
@@ -35294,10 +35306,10 @@ function foe(e, t, n = {}) {
35294
35306
  window.addEventListener("pointerup", p, i), window.addEventListener("pointercancel", y, i);
35295
35307
  };
35296
35308
  return r.forEach((l) => {
35297
- !uoe(l) && l.getAttribute("tabindex") === null && (l.tabIndex = 0), (n.useGlobalTarget ? window : l).addEventListener("pointerdown", o, i), l.addEventListener("focus", (d) => coe(d, i), i);
35309
+ !coe(l) && l.getAttribute("tabindex") === null && (l.tabIndex = 0), (n.useGlobalTarget ? window : l).addEventListener("pointerdown", o, i), l.addEventListener("focus", (d) => foe(d, i), i);
35298
35310
  }), s;
35299
35311
  }
35300
- function doe(e) {
35312
+ function hoe(e) {
35301
35313
  return e === "x" || e === "y" ? Ni[e] ? null : (Ni[e] = !0, () => {
35302
35314
  Ni[e] = !1;
35303
35315
  }) : Ni.x || Ni.y ? null : (Ni.x = Ni.y = !0, () => {
@@ -35314,13 +35326,13 @@ const XR = /* @__PURE__ */ new Set([
35314
35326
  ...Ou
35315
35327
  ]);
35316
35328
  let qh;
35317
- function hoe() {
35329
+ function poe() {
35318
35330
  qh = void 0;
35319
35331
  }
35320
35332
  const ds = {
35321
- now: () => (qh === void 0 && ds.set(An.isProcessing || lse.useManualTiming ? An.timestamp : performance.now()), qh),
35333
+ now: () => (qh === void 0 && ds.set(An.isProcessing || use.useManualTiming ? An.timestamp : performance.now()), qh),
35322
35334
  set: (e) => {
35323
- qh = e, queueMicrotask(hoe);
35335
+ qh = e, queueMicrotask(poe);
35324
35336
  }
35325
35337
  };
35326
35338
  function pw(e, t) {
@@ -35358,8 +35370,8 @@ class gw {
35358
35370
  function QR(e, t) {
35359
35371
  return t ? e * (1e3 / t) : 0;
35360
35372
  }
35361
- const WE = 30, poe = (e) => !isNaN(parseFloat(e));
35362
- class moe {
35373
+ const WE = 30, moe = (e) => !isNaN(parseFloat(e));
35374
+ class goe {
35363
35375
  /**
35364
35376
  * @param init - The initiating value
35365
35377
  * @param config - Optional configuration options
@@ -35375,7 +35387,7 @@ class moe {
35375
35387
  }, this.hasAnimated = !1, this.setCurrent(t), this.owner = n.owner;
35376
35388
  }
35377
35389
  setCurrent(t) {
35378
- this.current = t, this.updatedAt = ds.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = poe(this.current));
35390
+ this.current = t, this.updatedAt = ds.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = moe(this.current));
35379
35391
  }
35380
35392
  setPrevFrameValue(t = this.current) {
35381
35393
  this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
@@ -35554,54 +35566,54 @@ class moe {
35554
35566
  }
35555
35567
  }
35556
35568
  function Ef(e, t) {
35557
- return new moe(e, t);
35569
+ return new goe(e, t);
35558
35570
  }
35559
- function goe(e, t, n) {
35571
+ function voe(e, t, n) {
35560
35572
  e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Ef(n));
35561
35573
  }
35562
- function voe(e, t) {
35574
+ function yoe(e, t) {
35563
35575
  const n = jm(e, t);
35564
35576
  let { transitionEnd: r = {}, transition: i = {}, ...s } = n || {};
35565
35577
  s = { ...s, ...r };
35566
35578
  for (const o in s) {
35567
- const l = Ose(s[o]);
35568
- goe(e, o, l);
35579
+ const l = Pse(s[o]);
35580
+ voe(e, o, l);
35569
35581
  }
35570
35582
  }
35571
- function yoe(e) {
35583
+ function boe(e) {
35572
35584
  return !!(Un(e) && e.add);
35573
35585
  }
35574
35586
  function A0(e, t) {
35575
35587
  const n = e.getValue("willChange");
35576
- if (yoe(n))
35588
+ if (boe(n))
35577
35589
  return n.add(t);
35578
35590
  }
35579
35591
  function ZR(e) {
35580
35592
  return e.props[kR];
35581
35593
  }
35582
- const JR = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, boe = 1e-7, xoe = 12;
35583
- function woe(e, t, n, r, i) {
35594
+ const JR = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, xoe = 1e-7, woe = 12;
35595
+ function Soe(e, t, n, r, i) {
35584
35596
  let s, o, l = 0;
35585
35597
  do
35586
35598
  o = t + (n - t) / 2, s = JR(o, r, i) - e, s > 0 ? n = o : t = o;
35587
- while (Math.abs(s) > boe && ++l < xoe);
35599
+ while (Math.abs(s) > xoe && ++l < woe);
35588
35600
  return o;
35589
35601
  }
35590
35602
  function Yf(e, t, n, r) {
35591
35603
  if (e === t && n === r)
35592
35604
  return Gr;
35593
- const i = (s) => woe(s, 0, 1, e, n);
35605
+ const i = (s) => Soe(s, 0, 1, e, n);
35594
35606
  return (s) => s === 0 || s === 1 ? s : JR(i(s), t, r);
35595
35607
  }
35596
35608
  const eL = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, tL = (e) => (t) => 1 - e(1 - t), nL = /* @__PURE__ */ Yf(0.33, 1.53, 0.69, 0.99), vw = /* @__PURE__ */ tL(nL), rL = /* @__PURE__ */ eL(vw), iL = (e) => (e *= 2) < 1 ? 0.5 * vw(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), yw = (e) => 1 - Math.sin(Math.acos(e)), sL = tL(yw), oL = eL(yw), aL = (e) => /^0[^.\s]+$/u.test(e);
35597
- function Soe(e) {
35609
+ function Toe(e) {
35598
35610
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || aL(e) : !0;
35599
35611
  }
35600
35612
  const Xc = (e) => Math.round(e * 1e5) / 1e5, bw = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
35601
- function Toe(e) {
35613
+ function Coe(e) {
35602
35614
  return e == null;
35603
35615
  }
35604
- const Coe = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, xw = (e, t) => (n) => !!(typeof n == "string" && Coe.test(n) && n.startsWith(e) || t && !Toe(n) && Object.prototype.hasOwnProperty.call(n, t)), lL = (e, t, n) => (r) => {
35616
+ const _oe = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, xw = (e, t) => (n) => !!(typeof n == "string" && _oe.test(n) && n.startsWith(e) || t && !Coe(n) && Object.prototype.hasOwnProperty.call(n, t)), lL = (e, t, n) => (r) => {
35605
35617
  if (typeof r != "string")
35606
35618
  return r;
35607
35619
  const [i, s, o, l] = r.match(bw);
@@ -35611,15 +35623,15 @@ const Coe = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\
35611
35623
  [n]: parseFloat(o),
35612
35624
  alpha: l !== void 0 ? parseFloat(l) : 1
35613
35625
  };
35614
- }, _oe = (e) => to(0, 255, e), iy = {
35626
+ }, Eoe = (e) => to(0, 255, e), iy = {
35615
35627
  ...Pu,
35616
- transform: (e) => Math.round(_oe(e))
35628
+ transform: (e) => Math.round(Eoe(e))
35617
35629
  }, Ya = {
35618
35630
  test: /* @__PURE__ */ xw("rgb", "red"),
35619
35631
  parse: /* @__PURE__ */ lL("red", "green", "blue"),
35620
35632
  transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + iy.transform(e) + ", " + iy.transform(t) + ", " + iy.transform(n) + ", " + Xc(_f.transform(r)) + ")"
35621
35633
  };
35622
- function Eoe(e) {
35634
+ function Doe(e) {
35623
35635
  let t = "", n = "", r = "", i = "";
35624
35636
  return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
35625
35637
  red: parseInt(t, 16),
@@ -35630,7 +35642,7 @@ function Eoe(e) {
35630
35642
  }
35631
35643
  const I0 = {
35632
35644
  test: /* @__PURE__ */ xw("#"),
35633
- parse: Eoe,
35645
+ parse: Doe,
35634
35646
  transform: Ya.transform
35635
35647
  }, Ql = {
35636
35648
  test: /* @__PURE__ */ xw("hsl", "hue"),
@@ -35640,12 +35652,12 @@ const I0 = {
35640
35652
  test: (e) => Ya.test(e) || I0.test(e) || Ql.test(e),
35641
35653
  parse: (e) => Ya.test(e) ? Ya.parse(e) : Ql.test(e) ? Ql.parse(e) : I0.parse(e),
35642
35654
  transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Ya.transform(e) : Ql.transform(e)
35643
- }, Doe = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
35644
- function koe(e) {
35655
+ }, koe = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
35656
+ function Ooe(e) {
35645
35657
  var t, n;
35646
- return isNaN(e) && typeof e == "string" && (((t = e.match(bw)) === null || t === void 0 ? void 0 : t.length) || 0) + (((n = e.match(Doe)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
35658
+ return isNaN(e) && typeof e == "string" && (((t = e.match(bw)) === null || t === void 0 ? void 0 : t.length) || 0) + (((n = e.match(koe)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
35647
35659
  }
35648
- const uL = "number", cL = "color", Ooe = "var", Poe = "var(", HE = "${}", Moe = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
35660
+ const uL = "number", cL = "color", Poe = "var", Moe = "var(", HE = "${}", Aoe = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
35649
35661
  function Df(e) {
35650
35662
  const t = e.toString(), n = [], r = {
35651
35663
  color: [],
@@ -35653,7 +35665,7 @@ function Df(e) {
35653
35665
  var: []
35654
35666
  }, i = [];
35655
35667
  let s = 0;
35656
- const l = t.replace(Moe, (c) => (Hn.test(c) ? (r.color.push(s), i.push(cL), n.push(Hn.parse(c))) : c.startsWith(Poe) ? (r.var.push(s), i.push(Ooe), n.push(c)) : (r.number.push(s), i.push(uL), n.push(parseFloat(c))), ++s, HE)).split(HE);
35668
+ const l = t.replace(Aoe, (c) => (Hn.test(c) ? (r.color.push(s), i.push(cL), n.push(Hn.parse(c))) : c.startsWith(Moe) ? (r.var.push(s), i.push(Poe), n.push(c)) : (r.number.push(s), i.push(uL), n.push(parseFloat(c))), ++s, HE)).split(HE);
35657
35669
  return { values: n, split: l, indexes: r, types: i };
35658
35670
  }
35659
35671
  function fL(e) {
@@ -35671,18 +35683,18 @@ function dL(e) {
35671
35683
  return s;
35672
35684
  };
35673
35685
  }
35674
- const Aoe = (e) => typeof e == "number" ? 0 : e;
35675
- function Ioe(e) {
35686
+ const Ioe = (e) => typeof e == "number" ? 0 : e;
35687
+ function Roe(e) {
35676
35688
  const t = fL(e);
35677
- return dL(e)(t.map(Aoe));
35689
+ return dL(e)(t.map(Ioe));
35678
35690
  }
35679
35691
  const Xo = {
35680
- test: koe,
35692
+ test: Ooe,
35681
35693
  parse: fL,
35682
35694
  createTransformer: dL,
35683
- getAnimatableNone: Ioe
35684
- }, Roe = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
35685
- function Loe(e) {
35695
+ getAnimatableNone: Roe
35696
+ }, Loe = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
35697
+ function Noe(e) {
35686
35698
  const [t, n] = e.slice(0, -1).split("(");
35687
35699
  if (t === "drop-shadow")
35688
35700
  return e;
@@ -35690,16 +35702,16 @@ function Loe(e) {
35690
35702
  if (!r)
35691
35703
  return e;
35692
35704
  const i = n.replace(r, "");
35693
- let s = Roe.has(t) ? 1 : 0;
35705
+ let s = Loe.has(t) ? 1 : 0;
35694
35706
  return r !== n && (s *= 100), t + "(" + s + i + ")";
35695
35707
  }
35696
- const Noe = /\b([a-z-]*)\(.*?\)/gu, R0 = {
35708
+ const $oe = /\b([a-z-]*)\(.*?\)/gu, R0 = {
35697
35709
  ...Xo,
35698
35710
  getAnimatableNone: (e) => {
35699
- const t = e.match(Noe);
35700
- return t ? t.map(Loe).join(" ") : e;
35711
+ const t = e.match($oe);
35712
+ return t ? t.map(Noe).join(" ") : e;
35701
35713
  }
35702
- }, $oe = {
35714
+ }, Foe = {
35703
35715
  ...iw,
35704
35716
  // Color props
35705
35717
  color: Hn,
@@ -35715,17 +35727,17 @@ const Noe = /\b([a-z-]*)\(.*?\)/gu, R0 = {
35715
35727
  borderLeftColor: Hn,
35716
35728
  filter: R0,
35717
35729
  WebkitFilter: R0
35718
- }, ww = (e) => $oe[e];
35730
+ }, ww = (e) => Foe[e];
35719
35731
  function hL(e, t) {
35720
35732
  let n = ww(e);
35721
35733
  return n !== R0 && (n = Xo), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
35722
35734
  }
35723
- const Foe = /* @__PURE__ */ new Set(["auto", "none", "0"]);
35724
- function joe(e, t, n) {
35735
+ const joe = /* @__PURE__ */ new Set(["auto", "none", "0"]);
35736
+ function Boe(e, t, n) {
35725
35737
  let r = 0, i;
35726
35738
  for (; r < e.length && !i; ) {
35727
35739
  const s = e[r];
35728
- typeof s == "string" && !Foe.has(s) && Df(s).values.length && (i = e[r]), r++;
35740
+ typeof s == "string" && !joe.has(s) && Df(s).values.length && (i = e[r]), r++;
35729
35741
  }
35730
35742
  if (i && n)
35731
35743
  for (const s of t)
@@ -35741,10 +35753,10 @@ const UE = (e) => e === Pu || e === Ge, zE = (e, t) => parseFloat(e.split(", ")[
35741
35753
  const s = r.match(/^matrix\((.+)\)$/u);
35742
35754
  return s ? zE(s[1], e) : 0;
35743
35755
  }
35744
- }, Boe = /* @__PURE__ */ new Set(["x", "y", "z"]), Voe = Ou.filter((e) => !Boe.has(e));
35745
- function Woe(e) {
35756
+ }, Voe = /* @__PURE__ */ new Set(["x", "y", "z"]), Woe = Ou.filter((e) => !Voe.has(e));
35757
+ function Hoe(e) {
35746
35758
  const t = [];
35747
- return Voe.forEach((n) => {
35759
+ return Woe.forEach((n) => {
35748
35760
  const r = e.getValue(n);
35749
35761
  r !== void 0 && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
35750
35762
  }), t;
@@ -35769,7 +35781,7 @@ function pL() {
35769
35781
  if (N0) {
35770
35782
  const e = Array.from(Ja).filter((r) => r.needsMeasurement), t = new Set(e.map((r) => r.element)), n = /* @__PURE__ */ new Map();
35771
35783
  t.forEach((r) => {
35772
- const i = Woe(r);
35784
+ const i = Hoe(r);
35773
35785
  i.length && (n.set(r, i), r.render());
35774
35786
  }), e.forEach((r) => r.measureInitialState()), t.forEach((r) => {
35775
35787
  r.render();
@@ -35789,7 +35801,7 @@ function mL() {
35789
35801
  e.readKeyframes(), e.needsMeasurement && (N0 = !0);
35790
35802
  });
35791
35803
  }
35792
- function Hoe() {
35804
+ function Uoe() {
35793
35805
  mL(), pL();
35794
35806
  }
35795
35807
  class Sw {
@@ -35833,19 +35845,19 @@ class Sw {
35833
35845
  this.isComplete || this.scheduleResolve();
35834
35846
  }
35835
35847
  }
35836
- const gL = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), Uoe = (
35848
+ const gL = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), zoe = (
35837
35849
  // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
35838
35850
  /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
35839
35851
  );
35840
- function zoe(e) {
35841
- const t = Uoe.exec(e);
35852
+ function Yoe(e) {
35853
+ const t = zoe.exec(e);
35842
35854
  if (!t)
35843
35855
  return [,];
35844
35856
  const [, n, r, i] = t;
35845
35857
  return [`--${n ?? r}`, i];
35846
35858
  }
35847
35859
  function vL(e, t, n = 1) {
35848
- const [r, i] = zoe(e);
35860
+ const [r, i] = Yoe(e);
35849
35861
  if (!r)
35850
35862
  return;
35851
35863
  const s = window.getComputedStyle(t).getPropertyValue(r);
@@ -35855,10 +35867,10 @@ function vL(e, t, n = 1) {
35855
35867
  }
35856
35868
  return rw(i) ? vL(i, t, n + 1) : i;
35857
35869
  }
35858
- const yL = (e) => (t) => t.test(e), Yoe = {
35870
+ const yL = (e) => (t) => t.test(e), qoe = {
35859
35871
  test: (e) => e === "auto",
35860
35872
  parse: (e) => e
35861
- }, bL = [Pu, Ge, fs, Mo, Lse, Rse, Yoe], qE = (e) => bL.find(yL(e));
35873
+ }, bL = [Pu, Ge, fs, Mo, Nse, Lse, qoe], qE = (e) => bL.find(yL(e));
35862
35874
  class xL extends Sw {
35863
35875
  constructor(t, n, r, i, s) {
35864
35876
  super(t, n, r, i, s, !0);
@@ -35890,8 +35902,8 @@ class xL extends Sw {
35890
35902
  resolveNoneKeyframes() {
35891
35903
  const { unresolvedKeyframes: t, name: n } = this, r = [];
35892
35904
  for (let i = 0; i < t.length; i++)
35893
- Soe(t[i]) && r.push(i);
35894
- r.length && joe(t, r, n);
35905
+ Toe(t[i]) && r.push(i);
35906
+ r.length && Boe(t, r, n);
35895
35907
  }
35896
35908
  measureInitialState() {
35897
35909
  const { element: t, unresolvedKeyframes: n, name: r } = this;
@@ -35917,7 +35929,7 @@ class xL extends Sw {
35917
35929
  const GE = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
35918
35930
  (Xo.test(e) || e === "0") && // And it contains numbers and/or colors
35919
35931
  !e.startsWith("url("));
35920
- function qoe(e) {
35932
+ function Goe(e) {
35921
35933
  const t = e[0];
35922
35934
  if (e.length === 1)
35923
35935
  return !0;
@@ -35925,21 +35937,21 @@ function qoe(e) {
35925
35937
  if (e[n] !== t)
35926
35938
  return !0;
35927
35939
  }
35928
- function Goe(e, t, n, r) {
35940
+ function Koe(e, t, n, r) {
35929
35941
  const i = e[0];
35930
35942
  if (i === null)
35931
35943
  return !1;
35932
35944
  if (t === "display" || t === "visibility")
35933
35945
  return !0;
35934
35946
  const s = e[e.length - 1], o = GE(i, t), l = GE(s, t);
35935
- return !o || !l ? !1 : qoe(e) || (n === "spring" || fw(n)) && r;
35947
+ return !o || !l ? !1 : Goe(e) || (n === "spring" || fw(n)) && r;
35936
35948
  }
35937
- const Koe = (e) => e !== null;
35949
+ const Xoe = (e) => e !== null;
35938
35950
  function Bm(e, { repeat: t, repeatType: n = "loop" }, r) {
35939
- const i = e.filter(Koe), s = t && n !== "loop" && t % 2 === 1 ? 0 : i.length - 1;
35951
+ const i = e.filter(Xoe), s = t && n !== "loop" && t % 2 === 1 ? 0 : i.length - 1;
35940
35952
  return !s || r === void 0 ? i[s] : r;
35941
35953
  }
35942
- const Xoe = 40;
35954
+ const Qoe = 40;
35943
35955
  class wL {
35944
35956
  constructor({ autoplay: t = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: s = 0, repeatType: o = "loop", ...l }) {
35945
35957
  this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = ds.now(), this.options = {
@@ -35963,7 +35975,7 @@ class wL {
35963
35975
  * to avoid a sudden jump into the animation.
35964
35976
  */
35965
35977
  calcStartTime() {
35966
- return this.resolvedAt ? this.resolvedAt - this.createdAt > Xoe ? this.resolvedAt : this.createdAt : this.createdAt;
35978
+ return this.resolvedAt ? this.resolvedAt - this.createdAt > Qoe ? this.resolvedAt : this.createdAt : this.createdAt;
35967
35979
  }
35968
35980
  /**
35969
35981
  * A getter for resolved data. If keyframes are not yet resolved, accessing
@@ -35971,7 +35983,7 @@ class wL {
35971
35983
  * This is a deoptimisation, but at its worst still batches read/writes.
35972
35984
  */
35973
35985
  get resolved() {
35974
- return !this._resolved && !this.hasAttemptedResolve && Hoe(), this._resolved;
35986
+ return !this._resolved && !this.hasAttemptedResolve && Uoe(), this._resolved;
35975
35987
  }
35976
35988
  /**
35977
35989
  * A method to be called when the keyframes resolver completes. This method
@@ -35981,7 +35993,7 @@ class wL {
35981
35993
  onKeyframesResolved(t, n) {
35982
35994
  this.resolvedAt = ds.now(), this.hasAttemptedResolve = !0;
35983
35995
  const { name: r, type: i, velocity: s, delay: o, onComplete: l, onUpdate: c, isGenerator: d } = this.options;
35984
- if (!d && !Goe(t, r, i, s))
35996
+ if (!d && !Koe(t, r, i, s))
35985
35997
  if (o)
35986
35998
  this.options.duration = 0;
35987
35999
  else {
@@ -36018,7 +36030,7 @@ const Qt = (e, t, n) => e + (t - e) * n;
36018
36030
  function sy(e, t, n) {
36019
36031
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
36020
36032
  }
36021
- function Qoe({ hue: e, saturation: t, lightness: n, alpha: r }) {
36033
+ function Zoe({ hue: e, saturation: t, lightness: n, alpha: r }) {
36022
36034
  e /= 360, t /= 100, n /= 100;
36023
36035
  let i = 0, s = 0, o = 0;
36024
36036
  if (!t)
@@ -36040,13 +36052,13 @@ function Bp(e, t) {
36040
36052
  const oy = (e, t, n) => {
36041
36053
  const r = e * e, i = n * (t * t - r) + r;
36042
36054
  return i < 0 ? 0 : Math.sqrt(i);
36043
- }, Zoe = [I0, Ya, Ql], Joe = (e) => Zoe.find((t) => t.test(e));
36055
+ }, Joe = [I0, Ya, Ql], eae = (e) => Joe.find((t) => t.test(e));
36044
36056
  function KE(e) {
36045
- const t = Joe(e);
36057
+ const t = eae(e);
36046
36058
  if (!t)
36047
36059
  return !1;
36048
36060
  let n = t.parse(e);
36049
- return t === Ql && (n = Qoe(n)), n;
36061
+ return t === Ql && (n = Zoe(n)), n;
36050
36062
  }
36051
36063
  const XE = (e, t) => {
36052
36064
  const n = KE(e), r = KE(t);
@@ -36054,15 +36066,15 @@ const XE = (e, t) => {
36054
36066
  return Bp(e, t);
36055
36067
  const i = { ...n };
36056
36068
  return (s) => (i.red = oy(n.red, r.red, s), i.green = oy(n.green, r.green, s), i.blue = oy(n.blue, r.blue, s), i.alpha = Qt(n.alpha, r.alpha, s), Ya.transform(i));
36057
- }, eae = (e, t) => (n) => t(e(n)), qf = (...e) => e.reduce(eae), $0 = /* @__PURE__ */ new Set(["none", "hidden"]);
36058
- function tae(e, t) {
36069
+ }, tae = (e, t) => (n) => t(e(n)), qf = (...e) => e.reduce(tae), $0 = /* @__PURE__ */ new Set(["none", "hidden"]);
36070
+ function nae(e, t) {
36059
36071
  return $0.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
36060
36072
  }
36061
- function nae(e, t) {
36073
+ function rae(e, t) {
36062
36074
  return (n) => Qt(e, t, n);
36063
36075
  }
36064
36076
  function Tw(e) {
36065
- return typeof e == "number" ? nae : typeof e == "string" ? rw(e) ? Bp : Hn.test(e) ? XE : sae : Array.isArray(e) ? SL : typeof e == "object" ? Hn.test(e) ? XE : rae : Bp;
36077
+ return typeof e == "number" ? rae : typeof e == "string" ? rw(e) ? Bp : Hn.test(e) ? XE : oae : Array.isArray(e) ? SL : typeof e == "object" ? Hn.test(e) ? XE : iae : Bp;
36066
36078
  }
36067
36079
  function SL(e, t) {
36068
36080
  const n = [...e], r = n.length, i = e.map((s, o) => Tw(s)(s, t[o]));
@@ -36072,7 +36084,7 @@ function SL(e, t) {
36072
36084
  return n;
36073
36085
  };
36074
36086
  }
36075
- function rae(e, t) {
36087
+ function iae(e, t) {
36076
36088
  const n = { ...e, ...t }, r = {};
36077
36089
  for (const i in n)
36078
36090
  e[i] !== void 0 && t[i] !== void 0 && (r[i] = Tw(e[i])(e[i], t[i]));
@@ -36082,7 +36094,7 @@ function rae(e, t) {
36082
36094
  return n;
36083
36095
  };
36084
36096
  }
36085
- function iae(e, t) {
36097
+ function sae(e, t) {
36086
36098
  var n;
36087
36099
  const r = [], i = { color: 0, var: 0, number: 0 };
36088
36100
  for (let s = 0; s < t.values.length; s++) {
@@ -36091,16 +36103,16 @@ function iae(e, t) {
36091
36103
  }
36092
36104
  return r;
36093
36105
  }
36094
- const sae = (e, t) => {
36106
+ const oae = (e, t) => {
36095
36107
  const n = Xo.createTransformer(t), r = Df(e), i = Df(t);
36096
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? $0.has(e) && !i.values.length || $0.has(t) && !r.values.length ? tae(e, t) : qf(SL(iae(r, i), i.values), n) : Bp(e, t);
36108
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? $0.has(e) && !i.values.length || $0.has(t) && !r.values.length ? nae(e, t) : qf(SL(sae(r, i), i.values), n) : Bp(e, t);
36097
36109
  };
36098
36110
  function TL(e, t, n) {
36099
36111
  return typeof e == "number" && typeof t == "number" && typeof n == "number" ? Qt(e, t, n) : Tw(e)(e, t);
36100
36112
  }
36101
- const oae = 5;
36113
+ const aae = 5;
36102
36114
  function CL(e, t, n) {
36103
- const r = Math.max(t - oae, 0);
36115
+ const r = Math.max(t - aae, 0);
36104
36116
  return QR(n - e(r), t - r);
36105
36117
  }
36106
36118
  const Jt = {
@@ -36132,7 +36144,7 @@ const Jt = {
36132
36144
  minDamping: 0.05,
36133
36145
  maxDamping: 1
36134
36146
  }, QE = 1e-3;
36135
- function aae({ duration: e = Jt.duration, bounce: t = Jt.bounce, velocity: n = Jt.velocity, mass: r = Jt.mass }) {
36147
+ function lae({ duration: e = Jt.duration, bounce: t = Jt.bounce, velocity: n = Jt.velocity, mass: r = Jt.mass }) {
36136
36148
  let i, s, o = 1 - t;
36137
36149
  o = to(Jt.minDamping, Jt.maxDamping, o), e = to(Jt.minDuration, Jt.maxDuration, /* @__PURE__ */ qs(e)), o < 1 ? (i = (d) => {
36138
36150
  const h = d * o, p = h * e, y = h - n, b = F0(d, o), C = Math.exp(-p);
@@ -36147,7 +36159,7 @@ function aae({ duration: e = Jt.duration, bounce: t = Jt.bounce, velocity: n = J
36147
36159
  const h = Math.exp(-d * e), p = (n - d) * (e * e);
36148
36160
  return h * p;
36149
36161
  });
36150
- const l = 5 / e, c = uae(i, s, l);
36162
+ const l = 5 / e, c = cae(i, s, l);
36151
36163
  if (e = /* @__PURE__ */ Ys(e), isNaN(c))
36152
36164
  return {
36153
36165
  stiffness: Jt.stiffness,
@@ -36163,21 +36175,21 @@ function aae({ duration: e = Jt.duration, bounce: t = Jt.bounce, velocity: n = J
36163
36175
  };
36164
36176
  }
36165
36177
  }
36166
- const lae = 12;
36167
- function uae(e, t, n) {
36178
+ const uae = 12;
36179
+ function cae(e, t, n) {
36168
36180
  let r = n;
36169
- for (let i = 1; i < lae; i++)
36181
+ for (let i = 1; i < uae; i++)
36170
36182
  r = r - e(r) / t(r);
36171
36183
  return r;
36172
36184
  }
36173
36185
  function F0(e, t) {
36174
36186
  return e * Math.sqrt(1 - t * t);
36175
36187
  }
36176
- const cae = ["duration", "bounce"], fae = ["stiffness", "damping", "mass"];
36188
+ const fae = ["duration", "bounce"], dae = ["stiffness", "damping", "mass"];
36177
36189
  function ZE(e, t) {
36178
36190
  return t.some((n) => e[n] !== void 0);
36179
36191
  }
36180
- function dae(e) {
36192
+ function hae(e) {
36181
36193
  let t = {
36182
36194
  velocity: Jt.velocity,
36183
36195
  stiffness: Jt.stiffness,
@@ -36186,7 +36198,7 @@ function dae(e) {
36186
36198
  isResolvedFromDuration: !1,
36187
36199
  ...e
36188
36200
  };
36189
- if (!ZE(e, fae) && ZE(e, cae))
36201
+ if (!ZE(e, dae) && ZE(e, fae))
36190
36202
  if (e.visualDuration) {
36191
36203
  const n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, s = 2 * to(0.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
36192
36204
  t = {
@@ -36196,7 +36208,7 @@ function dae(e) {
36196
36208
  damping: s
36197
36209
  };
36198
36210
  } else {
36199
- const n = aae(e);
36211
+ const n = lae(e);
36200
36212
  t = {
36201
36213
  ...t,
36202
36214
  ...n,
@@ -36212,7 +36224,7 @@ function _L(e = Jt.visualDuration, t = Jt.bounce) {
36212
36224
  bounce: t
36213
36225
  } : e;
36214
36226
  let { restSpeed: r, restDelta: i } = n;
36215
- const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], l = { done: !1, value: s }, { stiffness: c, damping: d, mass: h, duration: p, velocity: y, isResolvedFromDuration: b } = dae({
36227
+ const s = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], l = { done: !1, value: s }, { stiffness: c, damping: d, mass: h, duration: p, velocity: y, isResolvedFromDuration: b } = hae({
36216
36228
  ...n,
36217
36229
  velocity: -/* @__PURE__ */ qs(n.velocity || 0)
36218
36230
  }), C = y || 0, w = d / (2 * Math.sqrt(c * h)), D = o - s, _ = /* @__PURE__ */ qs(Math.sqrt(c / h)), R = Math.abs(D) < 5;
@@ -36286,11 +36298,11 @@ function JE({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
36286
36298
  }
36287
36299
  };
36288
36300
  }
36289
- const hae = /* @__PURE__ */ Yf(0.42, 0, 1, 1), pae = /* @__PURE__ */ Yf(0, 0, 0.58, 1), EL = /* @__PURE__ */ Yf(0.42, 0, 0.58, 1), mae = (e) => Array.isArray(e) && typeof e[0] != "number", gae = {
36301
+ const pae = /* @__PURE__ */ Yf(0.42, 0, 1, 1), mae = /* @__PURE__ */ Yf(0, 0, 0.58, 1), EL = /* @__PURE__ */ Yf(0.42, 0, 0.58, 1), gae = (e) => Array.isArray(e) && typeof e[0] != "number", vae = {
36290
36302
  linear: Gr,
36291
- easeIn: hae,
36303
+ easeIn: pae,
36292
36304
  easeInOut: EL,
36293
- easeOut: pae,
36305
+ easeOut: mae,
36294
36306
  circIn: yw,
36295
36307
  circInOut: oL,
36296
36308
  circOut: sL,
@@ -36304,10 +36316,10 @@ const hae = /* @__PURE__ */ Yf(0.42, 0, 1, 1), pae = /* @__PURE__ */ Yf(0, 0, 0.
36304
36316
  const [t, n, r, i] = e;
36305
36317
  return Yf(t, n, r, i);
36306
36318
  } else if (typeof e == "string")
36307
- return gae[e];
36319
+ return vae[e];
36308
36320
  return e;
36309
36321
  };
36310
- function vae(e, t, n) {
36322
+ function yae(e, t, n) {
36311
36323
  const r = [], i = n || TL, s = e.length - 1;
36312
36324
  for (let o = 0; o < s; o++) {
36313
36325
  let l = i(e[o], e[o + 1]);
@@ -36319,7 +36331,7 @@ function vae(e, t, n) {
36319
36331
  }
36320
36332
  return r;
36321
36333
  }
36322
- function yae(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
36334
+ function bae(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
36323
36335
  const s = e.length;
36324
36336
  if (TR(s === t.length), s === 1)
36325
36337
  return () => t[0];
@@ -36327,7 +36339,7 @@ function yae(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
36327
36339
  return () => t[1];
36328
36340
  const o = e[0] === e[1];
36329
36341
  e[0] > e[s - 1] && (e = [...e].reverse(), t = [...t].reverse());
36330
- const l = vae(t, r, i), c = l.length, d = (h) => {
36342
+ const l = yae(t, r, i), c = l.length, d = (h) => {
36331
36343
  if (o && h < e[0])
36332
36344
  return t[0];
36333
36345
  let p = 0;
@@ -36339,41 +36351,41 @@ function yae(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
36339
36351
  };
36340
36352
  return n ? (h) => d(to(e[0], e[s - 1], h)) : d;
36341
36353
  }
36342
- function bae(e, t) {
36354
+ function xae(e, t) {
36343
36355
  const n = e[e.length - 1];
36344
36356
  for (let r = 1; r <= t; r++) {
36345
36357
  const i = /* @__PURE__ */ mu(0, t, r);
36346
36358
  e.push(Qt(n, 1, i));
36347
36359
  }
36348
36360
  }
36349
- function xae(e) {
36361
+ function wae(e) {
36350
36362
  const t = [0];
36351
- return bae(t, e.length - 1), t;
36363
+ return xae(t, e.length - 1), t;
36352
36364
  }
36353
- function wae(e, t) {
36365
+ function Sae(e, t) {
36354
36366
  return e.map((n) => n * t);
36355
36367
  }
36356
- function Sae(e, t) {
36368
+ function Tae(e, t) {
36357
36369
  return e.map(() => t || EL).splice(0, e.length - 1);
36358
36370
  }
36359
36371
  function Vp({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
36360
- const i = mae(r) ? r.map(eD) : eD(r), s = {
36372
+ const i = gae(r) ? r.map(eD) : eD(r), s = {
36361
36373
  done: !1,
36362
36374
  value: t[0]
36363
- }, o = wae(
36375
+ }, o = Sae(
36364
36376
  // Only use the provided offsets if they're the correct length
36365
36377
  // TODO Maybe we should warn here if there's a length mismatch
36366
- n && n.length === t.length ? n : xae(t),
36378
+ n && n.length === t.length ? n : wae(t),
36367
36379
  e
36368
- ), l = yae(o, t, {
36369
- ease: Array.isArray(i) ? i : Sae(t, i)
36380
+ ), l = bae(o, t, {
36381
+ ease: Array.isArray(i) ? i : Tae(t, i)
36370
36382
  });
36371
36383
  return {
36372
36384
  calculatedDuration: e,
36373
36385
  next: (c) => (s.value = l(c), s.done = c >= e, s)
36374
36386
  };
36375
36387
  }
36376
- const Tae = (e) => {
36388
+ const Cae = (e) => {
36377
36389
  const t = ({ timestamp: n }) => e(n);
36378
36390
  return {
36379
36391
  start: () => Bt.update(t, !0),
@@ -36384,13 +36396,13 @@ const Tae = (e) => {
36384
36396
  */
36385
36397
  now: () => An.isProcessing ? An.timestamp : ds.now()
36386
36398
  };
36387
- }, Cae = {
36399
+ }, _ae = {
36388
36400
  decay: JE,
36389
36401
  inertia: JE,
36390
36402
  tween: Vp,
36391
36403
  keyframes: Vp,
36392
36404
  spring: _L
36393
- }, _ae = (e) => e / 100;
36405
+ }, Eae = (e) => e / 100;
36394
36406
  class Cw extends wL {
36395
36407
  constructor(t) {
36396
36408
  super(t), this.holdTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.startTime = null, this.state = "idle", this.stop = () => {
@@ -36407,9 +36419,9 @@ class Cw extends wL {
36407
36419
  super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
36408
36420
  }
36409
36421
  initPlayback(t) {
36410
- const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = this.options, l = fw(n) ? n : Cae[n] || Vp;
36422
+ const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = this.options, l = fw(n) ? n : _ae[n] || Vp;
36411
36423
  let c, d;
36412
- l !== Vp && typeof t[0] != "number" && (c = qf(_ae, TL(t[0], t[1])), t = [0, 100]);
36424
+ l !== Vp && typeof t[0] != "number" && (c = qf(Eae, TL(t[0], t[1])), t = [0, 100]);
36413
36425
  const h = l({ ...this.options, keyframes: t });
36414
36426
  s === "mirror" && (d = l({
36415
36427
  ...this.options,
@@ -36480,7 +36492,7 @@ class Cw extends wL {
36480
36492
  }
36481
36493
  if (this.isStopped)
36482
36494
  return;
36483
- const { driver: t = Tae, onPlay: n, startTime: r } = this.options;
36495
+ const { driver: t = Cae, onPlay: n, startTime: r } = this.options;
36484
36496
  this.driver || (this.driver = t((s) => this.tick(s))), n && n();
36485
36497
  const i = this.driver.now();
36486
36498
  this.holdTime !== null ? this.startTime = i - this.holdTime : this.startTime ? this.state === "finished" && (this.startTime = i) : this.startTime = r ?? this.calcStartTime(), this.state === "finished" && this.updateFinishedPromise(), this.cancelTime = this.startTime, this.holdTime = null, this.state = "running", this.driver.start();
@@ -36514,7 +36526,7 @@ class Cw extends wL {
36514
36526
  return this.startTime = 0, this.tick(t, !0);
36515
36527
  }
36516
36528
  }
36517
- const Eae = /* @__PURE__ */ new Set([
36529
+ const Dae = /* @__PURE__ */ new Set([
36518
36530
  "opacity",
36519
36531
  "clipPath",
36520
36532
  "filter",
@@ -36523,7 +36535,7 @@ const Eae = /* @__PURE__ */ new Set([
36523
36535
  // or until we implement support for linear() easing.
36524
36536
  // "background-color"
36525
36537
  ]);
36526
- function Dae(e, t, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatType: o = "loop", ease: l = "easeInOut", times: c } = {}) {
36538
+ function kae(e, t, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatType: o = "loop", ease: l = "easeInOut", times: c } = {}) {
36527
36539
  const d = { [t]: n };
36528
36540
  c && (d.offset = c);
36529
36541
  const h = YR(l, i);
@@ -36536,11 +36548,11 @@ function Dae(e, t, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatTy
36536
36548
  direction: o === "reverse" ? "alternate" : "normal"
36537
36549
  });
36538
36550
  }
36539
- const kae = /* @__PURE__ */ Xx(() => Object.hasOwnProperty.call(Element.prototype, "animate")), Wp = 10, Oae = 2e4;
36540
- function Pae(e) {
36551
+ const Oae = /* @__PURE__ */ Xx(() => Object.hasOwnProperty.call(Element.prototype, "animate")), Wp = 10, Pae = 2e4;
36552
+ function Mae(e) {
36541
36553
  return fw(e.type) || e.type === "spring" || !zR(e.ease);
36542
36554
  }
36543
- function Mae(e, t) {
36555
+ function Aae(e, t) {
36544
36556
  const n = new Cw({
36545
36557
  ...t,
36546
36558
  keyframes: e,
@@ -36551,7 +36563,7 @@ function Mae(e, t) {
36551
36563
  let r = { done: !1, value: e[0] };
36552
36564
  const i = [];
36553
36565
  let s = 0;
36554
- for (; !r.done && s < Oae; )
36566
+ for (; !r.done && s < Pae; )
36555
36567
  r = n.sample(s), i.push(r.value), s += Wp;
36556
36568
  return {
36557
36569
  times: void 0,
@@ -36565,7 +36577,7 @@ const DL = {
36565
36577
  backInOut: rL,
36566
36578
  circInOut: oL
36567
36579
  };
36568
- function Aae(e) {
36580
+ function Iae(e) {
36569
36581
  return e in DL;
36570
36582
  }
36571
36583
  class tD extends wL {
@@ -36578,11 +36590,11 @@ class tD extends wL {
36578
36590
  let { duration: r = 300, times: i, ease: s, type: o, motionValue: l, name: c, startTime: d } = this.options;
36579
36591
  if (!l.owner || !l.owner.current)
36580
36592
  return !1;
36581
- if (typeof s == "string" && jp() && Aae(s) && (s = DL[s]), Pae(this.options)) {
36582
- const { onComplete: p, onUpdate: y, motionValue: b, element: C, ...w } = this.options, D = Mae(t, w);
36593
+ if (typeof s == "string" && jp() && Iae(s) && (s = DL[s]), Mae(this.options)) {
36594
+ const { onComplete: p, onUpdate: y, motionValue: b, element: C, ...w } = this.options, D = Aae(t, w);
36583
36595
  t = D.keyframes, t.length === 1 && (t[1] = t[0]), r = D.duration, i = D.times, s = D.ease, o = "keyframes";
36584
36596
  }
36585
- const h = Dae(l.owner.current, c, t, { ...this.options, duration: r, times: i, ease: s });
36597
+ const h = kae(l.owner.current, c, t, { ...this.options, duration: r, times: i, ease: s });
36586
36598
  return h.startTime = d ?? this.calcStartTime(), this.pendingTimeline ? (FE(h, this.pendingTimeline), this.pendingTimeline = void 0) : h.onfinish = () => {
36587
36599
  const { onComplete: p } = this.options;
36588
36600
  l.set(Bm(t, this.options, n)), p && p(), this.cancel(), this.resolveFinishedPromise();
@@ -36714,32 +36726,32 @@ class tD extends wL {
36714
36726
  if (!n || !n.owner || !(n.owner.current instanceof HTMLElement))
36715
36727
  return !1;
36716
36728
  const { onUpdate: c, transformTemplate: d } = n.owner.getProps();
36717
- return kae() && r && Eae.has(r) && /**
36729
+ return Oae() && r && Dae.has(r) && /**
36718
36730
  * If we're outputting values to onUpdate then we can't use WAAPI as there's
36719
36731
  * no way to read the value from WAAPI every frame.
36720
36732
  */
36721
36733
  !c && !d && !i && s !== "mirror" && o !== 0 && l !== "inertia";
36722
36734
  }
36723
36735
  }
36724
- const Iae = {
36736
+ const Rae = {
36725
36737
  type: "spring",
36726
36738
  stiffness: 500,
36727
36739
  damping: 25,
36728
36740
  restSpeed: 10
36729
- }, Rae = (e) => ({
36741
+ }, Lae = (e) => ({
36730
36742
  type: "spring",
36731
36743
  stiffness: 550,
36732
36744
  damping: e === 0 ? 2 * Math.sqrt(550) : 30,
36733
36745
  restSpeed: 10
36734
- }), Lae = {
36746
+ }), Nae = {
36735
36747
  type: "keyframes",
36736
36748
  duration: 0.8
36737
- }, Nae = {
36749
+ }, $ae = {
36738
36750
  type: "keyframes",
36739
36751
  ease: [0.25, 0.1, 0.35, 1],
36740
36752
  duration: 0.3
36741
- }, $ae = (e, { keyframes: t }) => t.length > 2 ? Lae : cl.has(e) ? e.startsWith("scale") ? Rae(t[1]) : Iae : Nae;
36742
- function Fae({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: l, from: c, elapsed: d, ...h }) {
36753
+ }, Fae = (e, { keyframes: t }) => t.length > 2 ? Nae : cl.has(e) ? e.startsWith("scale") ? Lae(t[1]) : Rae : $ae;
36754
+ function jae({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: o, repeatDelay: l, from: c, elapsed: d, ...h }) {
36743
36755
  return !!Object.keys(h).length;
36744
36756
  }
36745
36757
  const _w = (e, t, n, r = {}, i, s) => (o) => {
@@ -36762,9 +36774,9 @@ const _w = (e, t, n, r = {}, i, s) => (o) => {
36762
36774
  motionValue: t,
36763
36775
  element: s ? void 0 : i
36764
36776
  };
36765
- Fae(l) || (h = {
36777
+ jae(l) || (h = {
36766
36778
  ...h,
36767
- ...$ae(e, h)
36779
+ ...Fae(e, h)
36768
36780
  }), h.duration && (h.duration = /* @__PURE__ */ Ys(h.duration)), h.repeatDelay && (h.repeatDelay = /* @__PURE__ */ Ys(h.repeatDelay)), h.from !== void 0 && (h.keyframes[0] = h.from);
36769
36781
  let p = !1;
36770
36782
  if ((h.type === !1 || h.duration === 0 && !h.repeatDelay) && (h.duration = 0, h.delay === 0 && (p = !0)), p && !s && t.get() !== void 0) {
@@ -36772,11 +36784,11 @@ const _w = (e, t, n, r = {}, i, s) => (o) => {
36772
36784
  if (y !== void 0)
36773
36785
  return Bt.update(() => {
36774
36786
  h.onUpdate(y), h.onComplete();
36775
- }), new roe([]);
36787
+ }), new ioe([]);
36776
36788
  }
36777
36789
  return !s && tD.supports(h) ? new tD(h) : new Cw(h);
36778
36790
  };
36779
- function jae({ protectedKeys: e, needsAnimating: t }, n) {
36791
+ function Bae({ protectedKeys: e, needsAnimating: t }, n) {
36780
36792
  const r = e.hasOwnProperty(n) && t[n] !== !0;
36781
36793
  return t[n] = !1, r;
36782
36794
  }
@@ -36787,7 +36799,7 @@ function kL(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
36787
36799
  const d = [], h = i && e.animationState && e.animationState.getState()[i];
36788
36800
  for (const p in c) {
36789
36801
  const y = e.getValue(p, (s = e.latestValues[p]) !== null && s !== void 0 ? s : null), b = c[p];
36790
- if (b === void 0 || h && jae(h, p))
36802
+ if (b === void 0 || h && Bae(h, p))
36791
36803
  continue;
36792
36804
  const C = {
36793
36805
  delay: n,
@@ -36807,7 +36819,7 @@ function kL(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
36807
36819
  }
36808
36820
  return l && Promise.all(d).then(() => {
36809
36821
  Bt.update(() => {
36810
- l && voe(e, l);
36822
+ l && yoe(e, l);
36811
36823
  });
36812
36824
  }), d;
36813
36825
  }
@@ -36818,7 +36830,7 @@ function j0(e, t, n = {}) {
36818
36830
  n.transitionOverride && (s = n.transitionOverride);
36819
36831
  const o = i ? () => Promise.all(kL(e, i, n)) : () => Promise.resolve(), l = e.variantChildren && e.variantChildren.size ? (d = 0) => {
36820
36832
  const { delayChildren: h = 0, staggerChildren: p, staggerDirection: y } = s;
36821
- return Bae(e, t, h + d, p, y, n);
36833
+ return Vae(e, t, h + d, p, y, n);
36822
36834
  } : () => Promise.resolve(), { when: c } = s;
36823
36835
  if (c) {
36824
36836
  const [d, h] = c === "beforeChildren" ? [o, l] : [l, o];
@@ -36826,19 +36838,19 @@ function j0(e, t, n = {}) {
36826
36838
  } else
36827
36839
  return Promise.all([o(), l(n.delay)]);
36828
36840
  }
36829
- function Bae(e, t, n = 0, r = 0, i = 1, s) {
36841
+ function Vae(e, t, n = 0, r = 0, i = 1, s) {
36830
36842
  const o = [], l = (e.variantChildren.size - 1) * r, c = i === 1 ? (d = 0) => d * r : (d = 0) => l - d * r;
36831
- return Array.from(e.variantChildren).sort(Vae).forEach((d, h) => {
36843
+ return Array.from(e.variantChildren).sort(Wae).forEach((d, h) => {
36832
36844
  d.notify("AnimationStart", t), o.push(j0(d, t, {
36833
36845
  ...s,
36834
36846
  delay: n + c(h)
36835
36847
  }).then(() => d.notify("AnimationComplete", t)));
36836
36848
  }), Promise.all(o);
36837
36849
  }
36838
- function Vae(e, t) {
36850
+ function Wae(e, t) {
36839
36851
  return e.sortNodePosition(t);
36840
36852
  }
36841
- function Wae(e, t, n = {}) {
36853
+ function Hae(e, t, n = {}) {
36842
36854
  e.notify("AnimationStart", t);
36843
36855
  let r;
36844
36856
  if (Array.isArray(t)) {
@@ -36854,7 +36866,7 @@ function Wae(e, t, n = {}) {
36854
36866
  e.notify("AnimationComplete", t);
36855
36867
  });
36856
36868
  }
36857
- const Hae = Zx.length;
36869
+ const Uae = Zx.length;
36858
36870
  function OL(e) {
36859
36871
  if (!e)
36860
36872
  return;
@@ -36863,18 +36875,18 @@ function OL(e) {
36863
36875
  return e.props.initial !== void 0 && (n.initial = e.props.initial), n;
36864
36876
  }
36865
36877
  const t = {};
36866
- for (let n = 0; n < Hae; n++) {
36878
+ for (let n = 0; n < Uae; n++) {
36867
36879
  const r = Zx[n], i = e.props[r];
36868
36880
  (Cf(i) || i === !1) && (t[r] = i);
36869
36881
  }
36870
36882
  return t;
36871
36883
  }
36872
- const Uae = [...Qx].reverse(), zae = Qx.length;
36873
- function Yae(e) {
36874
- return (t) => Promise.all(t.map(({ animation: n, options: r }) => Wae(e, n, r)));
36875
- }
36884
+ const zae = [...Qx].reverse(), Yae = Qx.length;
36876
36885
  function qae(e) {
36877
- let t = Yae(e), n = nD(), r = !0;
36886
+ return (t) => Promise.all(t.map(({ animation: n, options: r }) => Hae(e, n, r)));
36887
+ }
36888
+ function Gae(e) {
36889
+ let t = qae(e), n = nD(), r = !0;
36878
36890
  const i = (c) => (d, h) => {
36879
36891
  var p;
36880
36892
  const y = jm(e, h, c === "exit" ? (p = e.presenceContext) === null || p === void 0 ? void 0 : p.custom : void 0);
@@ -36890,8 +36902,8 @@ function qae(e) {
36890
36902
  function o(c) {
36891
36903
  const { props: d } = e, h = OL(e.parent) || {}, p = [], y = /* @__PURE__ */ new Set();
36892
36904
  let b = {}, C = 1 / 0;
36893
- for (let D = 0; D < zae; D++) {
36894
- const _ = Uae[D], R = n[_], P = d[_] !== void 0 ? d[_] : h[_], V = Cf(P), F = _ === c ? R.isActive : null;
36905
+ for (let D = 0; D < Yae; D++) {
36906
+ const _ = zae[D], R = n[_], P = d[_] !== void 0 ? d[_] : h[_], V = Cf(P), F = _ === c ? R.isActive : null;
36895
36907
  F === !1 && (C = D);
36896
36908
  let j = P === h[_] && P !== d[_] && V;
36897
36909
  if (j && r && e.manuallyAnimateOnMount && (j = !1), R.protectedKeys = { ...b }, // If it isn't active and hasn't *just* been set as inactive
@@ -36899,7 +36911,7 @@ function qae(e) {
36899
36911
  !P && !R.prevProp || // Or if the prop doesn't define an animation
36900
36912
  $m(P) || typeof P == "boolean")
36901
36913
  continue;
36902
- const v = Gae(R.prevProp, P);
36914
+ const v = Kae(R.prevProp, P);
36903
36915
  let z = v || // If we're making this variant active, we want to always make it active
36904
36916
  _ === c && R.isActive && !j && V || // If we removed a higher-priority variant (i is in reverse order)
36905
36917
  D > C && V, Y = !1;
@@ -36959,7 +36971,7 @@ function qae(e) {
36959
36971
  }
36960
36972
  };
36961
36973
  }
36962
- function Gae(e, t) {
36974
+ function Kae(e, t) {
36963
36975
  return typeof t == "string" ? t !== e : Array.isArray(t) ? !WR(t, e) : !1;
36964
36976
  }
36965
36977
  function Da(e = !1) {
@@ -36988,14 +37000,14 @@ class na {
36988
37000
  update() {
36989
37001
  }
36990
37002
  }
36991
- class Kae extends na {
37003
+ class Xae extends na {
36992
37004
  /**
36993
37005
  * We dynamically generate the AnimationState manager as it contains a reference
36994
37006
  * to the underlying animation library. We only want to load that if we load this,
36995
37007
  * so people can optionally code split it out using the `m` component.
36996
37008
  */
36997
37009
  constructor(t) {
36998
- super(t), t.animationState || (t.animationState = qae(t));
37010
+ super(t), t.animationState || (t.animationState = Gae(t));
36999
37011
  }
37000
37012
  updateAnimationControlsSubscription() {
37001
37013
  const { animate: t } = this.node.getProps();
@@ -37016,10 +37028,10 @@ class Kae extends na {
37016
37028
  this.node.animationState.reset(), (t = this.unmountControls) === null || t === void 0 || t.call(this);
37017
37029
  }
37018
37030
  }
37019
- let Xae = 0;
37020
- class Qae extends na {
37031
+ let Qae = 0;
37032
+ class Zae extends na {
37021
37033
  constructor() {
37022
- super(...arguments), this.id = Xae++;
37034
+ super(...arguments), this.id = Qae++;
37023
37035
  }
37024
37036
  update() {
37025
37037
  if (!this.node.presenceContext)
@@ -37037,12 +37049,12 @@ class Qae extends na {
37037
37049
  unmount() {
37038
37050
  }
37039
37051
  }
37040
- const Zae = {
37052
+ const Jae = {
37041
37053
  animation: {
37042
- Feature: Kae
37054
+ Feature: Xae
37043
37055
  },
37044
37056
  exit: {
37045
- Feature: Qae
37057
+ Feature: Zae
37046
37058
  }
37047
37059
  };
37048
37060
  function kf(e, t, n, r = { passive: !0 }) {
@@ -37056,12 +37068,12 @@ function Gf(e) {
37056
37068
  }
37057
37069
  };
37058
37070
  }
37059
- const Jae = (e) => (t) => hw(t) && e(t, Gf(t));
37071
+ const ele = (e) => (t) => hw(t) && e(t, Gf(t));
37060
37072
  function Qc(e, t, n, r) {
37061
- return kf(e, t, Jae(n), r);
37073
+ return kf(e, t, ele(n), r);
37062
37074
  }
37063
37075
  const rD = (e, t) => Math.abs(e - t);
37064
- function ele(e, t) {
37076
+ function tle(e, t) {
37065
37077
  const n = rD(e.x, t.x), r = rD(e.y, t.y);
37066
37078
  return Math.sqrt(n ** 2 + r ** 2);
37067
37079
  }
@@ -37070,7 +37082,7 @@ class PL {
37070
37082
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
37071
37083
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
37072
37084
  return;
37073
- const p = ly(this.lastMoveEventInfo, this.history), y = this.startEvent !== null, b = ele(p.offset, { x: 0, y: 0 }) >= 3;
37085
+ const p = ly(this.lastMoveEventInfo, this.history), y = this.startEvent !== null, b = tle(p.offset, { x: 0, y: 0 }) >= 3;
37074
37086
  if (!y && !b)
37075
37087
  return;
37076
37088
  const { point: C } = p, { timestamp: w } = An;
@@ -37111,17 +37123,17 @@ function ly({ point: e }, t) {
37111
37123
  return {
37112
37124
  point: e,
37113
37125
  delta: iD(e, ML(t)),
37114
- offset: iD(e, tle(t)),
37115
- velocity: nle(t, 0.1)
37126
+ offset: iD(e, nle(t)),
37127
+ velocity: rle(t, 0.1)
37116
37128
  };
37117
37129
  }
37118
- function tle(e) {
37130
+ function nle(e) {
37119
37131
  return e[0];
37120
37132
  }
37121
37133
  function ML(e) {
37122
37134
  return e[e.length - 1];
37123
37135
  }
37124
- function nle(e, t) {
37136
+ function rle(e, t) {
37125
37137
  if (e.length < 2)
37126
37138
  return { x: 0, y: 0 };
37127
37139
  let n = e.length - 1, r = null;
@@ -37139,15 +37151,15 @@ function nle(e, t) {
37139
37151
  };
37140
37152
  return o.x === 1 / 0 && (o.x = 0), o.y === 1 / 0 && (o.y = 0), o;
37141
37153
  }
37142
- const AL = 1e-4, rle = 1 - AL, ile = 1 + AL, IL = 0.01, sle = 0 - IL, ole = 0 + IL;
37154
+ const AL = 1e-4, ile = 1 - AL, sle = 1 + AL, IL = 0.01, ole = 0 - IL, ale = 0 + IL;
37143
37155
  function Qr(e) {
37144
37156
  return e.max - e.min;
37145
37157
  }
37146
- function ale(e, t, n) {
37158
+ function lle(e, t, n) {
37147
37159
  return Math.abs(e - t) <= n;
37148
37160
  }
37149
37161
  function sD(e, t, n, r = 0.5) {
37150
- e.origin = r, e.originPoint = Qt(t.min, t.max, e.origin), e.scale = Qr(n) / Qr(t), e.translate = Qt(n.min, n.max, e.origin) - e.originPoint, (e.scale >= rle && e.scale <= ile || isNaN(e.scale)) && (e.scale = 1), (e.translate >= sle && e.translate <= ole || isNaN(e.translate)) && (e.translate = 0);
37162
+ e.origin = r, e.originPoint = Qt(t.min, t.max, e.origin), e.scale = Qr(n) / Qr(t), e.translate = Qt(n.min, n.max, e.origin) - e.originPoint, (e.scale >= ile && e.scale <= sle || isNaN(e.scale)) && (e.scale = 1), (e.translate >= ole && e.translate <= ale || isNaN(e.translate)) && (e.translate = 0);
37151
37163
  }
37152
37164
  function Zc(e, t, n, r) {
37153
37165
  sD(e.x, t.x, n.x, r ? r.originX : void 0), sD(e.y, t.y, n.y, r ? r.originY : void 0);
@@ -37155,7 +37167,7 @@ function Zc(e, t, n, r) {
37155
37167
  function oD(e, t, n) {
37156
37168
  e.min = n.min + t.min, e.max = e.min + Qr(t);
37157
37169
  }
37158
- function lle(e, t, n) {
37170
+ function ule(e, t, n) {
37159
37171
  oD(e.x, t.x, n.x), oD(e.y, t.y, n.y);
37160
37172
  }
37161
37173
  function aD(e, t, n) {
@@ -37164,7 +37176,7 @@ function aD(e, t, n) {
37164
37176
  function Jc(e, t, n) {
37165
37177
  aD(e.x, t.x, n.x), aD(e.y, t.y, n.y);
37166
37178
  }
37167
- function ule(e, { min: t, max: n }, r) {
37179
+ function cle(e, { min: t, max: n }, r) {
37168
37180
  return t !== void 0 && e < t ? e = r ? Qt(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Qt(n, e, r.max) : Math.min(e, n)), e;
37169
37181
  }
37170
37182
  function lD(e, t, n) {
@@ -37173,7 +37185,7 @@ function lD(e, t, n) {
37173
37185
  max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
37174
37186
  };
37175
37187
  }
37176
- function cle(e, { top: t, left: n, bottom: r, right: i }) {
37188
+ function fle(e, { top: t, left: n, bottom: r, right: i }) {
37177
37189
  return {
37178
37190
  x: lD(e.x, n, i),
37179
37191
  y: lD(e.y, t, r)
@@ -37183,23 +37195,23 @@ function uD(e, t) {
37183
37195
  let n = t.min - e.min, r = t.max - e.max;
37184
37196
  return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r };
37185
37197
  }
37186
- function fle(e, t) {
37198
+ function dle(e, t) {
37187
37199
  return {
37188
37200
  x: uD(e.x, t.x),
37189
37201
  y: uD(e.y, t.y)
37190
37202
  };
37191
37203
  }
37192
- function dle(e, t) {
37204
+ function hle(e, t) {
37193
37205
  let n = 0.5;
37194
37206
  const r = Qr(e), i = Qr(t);
37195
37207
  return i > r ? n = /* @__PURE__ */ mu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ mu(e.min, e.max - i, t.min)), to(0, 1, n);
37196
37208
  }
37197
- function hle(e, t) {
37209
+ function ple(e, t) {
37198
37210
  const n = {};
37199
37211
  return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
37200
37212
  }
37201
37213
  const B0 = 0.35;
37202
- function ple(e = B0) {
37214
+ function mle(e = B0) {
37203
37215
  return e === !1 ? e = 0 : e === !0 && (e = B0), {
37204
37216
  x: cD(e, "left", "right"),
37205
37217
  y: cD(e, "top", "bottom")
@@ -37235,10 +37247,10 @@ function RL({ top: e, left: t, right: n, bottom: r }) {
37235
37247
  y: { min: e, max: r }
37236
37248
  };
37237
37249
  }
37238
- function mle({ x: e, y: t }) {
37250
+ function gle({ x: e, y: t }) {
37239
37251
  return { top: t.min, right: e.max, bottom: t.max, left: e.min };
37240
37252
  }
37241
- function gle(e, t) {
37253
+ function vle(e, t) {
37242
37254
  if (!t)
37243
37255
  return e;
37244
37256
  const n = t({ x: e.left, y: e.top }), r = t({ x: e.right, y: e.bottom });
@@ -37278,7 +37290,7 @@ function NL(e, { x: t, y: n }) {
37278
37290
  W0(e.x, t.translate, t.scale, t.originPoint), W0(e.y, n.translate, n.scale, n.originPoint);
37279
37291
  }
37280
37292
  const gD = 0.999999999999, vD = 1.0000000000001;
37281
- function vle(e, t, n, r = !1) {
37293
+ function yle(e, t, n, r = !1) {
37282
37294
  const i = n.length;
37283
37295
  if (!i)
37284
37296
  return;
@@ -37305,14 +37317,14 @@ function eu(e, t) {
37305
37317
  yD(e.x, t.x, t.scaleX, t.scale, t.originX), yD(e.y, t.y, t.scaleY, t.scale, t.originY);
37306
37318
  }
37307
37319
  function $L(e, t) {
37308
- return RL(gle(e.getBoundingClientRect(), t));
37320
+ return RL(vle(e.getBoundingClientRect(), t));
37309
37321
  }
37310
- function yle(e, t, n) {
37322
+ function ble(e, t, n) {
37311
37323
  const r = $L(e, n), { scroll: i } = t;
37312
37324
  return i && (Jl(r.x, i.offset.x), Jl(r.y, i.offset.y)), r;
37313
37325
  }
37314
- const FL = ({ current: e }) => e ? e.ownerDocument.defaultView : null, ble = /* @__PURE__ */ new WeakMap();
37315
- class xle {
37326
+ const FL = ({ current: e }) => e ? e.ownerDocument.defaultView : null, xle = /* @__PURE__ */ new WeakMap();
37327
+ class wle {
37316
37328
  constructor(t) {
37317
37329
  this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = sn(), this.visualElement = t;
37318
37330
  }
@@ -37325,7 +37337,7 @@ class xle {
37325
37337
  p ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Gf(h).point);
37326
37338
  }, s = (h, p) => {
37327
37339
  const { drag: y, dragPropagation: b, onDragStart: C } = this.getProps();
37328
- if (y && !b && (this.openDragLock && this.openDragLock(), this.openDragLock = doe(y), !this.openDragLock))
37340
+ if (y && !b && (this.openDragLock && this.openDragLock(), this.openDragLock = hoe(y), !this.openDragLock))
37329
37341
  return;
37330
37342
  this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), mi((D) => {
37331
37343
  let _ = this.getAxisMotionValue(D).get() || 0;
@@ -37346,7 +37358,7 @@ class xle {
37346
37358
  return;
37347
37359
  const { offset: D } = p;
37348
37360
  if (b && this.currentDirection === null) {
37349
- this.currentDirection = wle(D), this.currentDirection !== null && C && C(this.currentDirection);
37361
+ this.currentDirection = Sle(D), this.currentDirection !== null && C && C(this.currentDirection);
37350
37362
  return;
37351
37363
  }
37352
37364
  this.updateAxis("x", p.point, D), this.updateAxis("y", p.point, D), this.visualElement.render(), w && w(h, p);
@@ -37388,13 +37400,13 @@ class xle {
37388
37400
  return;
37389
37401
  const s = this.getAxisMotionValue(t);
37390
37402
  let o = this.originPoint[t] + r[t];
37391
- this.constraints && this.constraints[t] && (o = ule(o, this.constraints[t], this.elastic[t])), s.set(o);
37403
+ this.constraints && this.constraints[t] && (o = cle(o, this.constraints[t], this.elastic[t])), s.set(o);
37392
37404
  }
37393
37405
  resolveConstraints() {
37394
37406
  var t;
37395
37407
  const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, s = this.constraints;
37396
- n && Xl(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = cle(i.layoutBox, n) : this.constraints = !1, this.elastic = ple(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && mi((o) => {
37397
- this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = hle(i.layoutBox[o], this.constraints[o]));
37408
+ n && Xl(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = fle(i.layoutBox, n) : this.constraints = !1, this.elastic = mle(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && mi((o) => {
37409
+ this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = ple(i.layoutBox[o], this.constraints[o]));
37398
37410
  });
37399
37411
  }
37400
37412
  resolveRefConstraints() {
@@ -37404,10 +37416,10 @@ class xle {
37404
37416
  const r = t.current, { projection: i } = this.visualElement;
37405
37417
  if (!i || !i.layout)
37406
37418
  return !1;
37407
- const s = yle(r, i.root, this.visualElement.getTransformPagePoint());
37408
- let o = fle(i.layout.layoutBox, s);
37419
+ const s = ble(r, i.root, this.visualElement.getTransformPagePoint());
37420
+ let o = dle(i.layout.layoutBox, s);
37409
37421
  if (n) {
37410
- const l = n(mle(o));
37422
+ const l = n(gle(o));
37411
37423
  this.hasMutatedConstraints = !!l, l && (o = RL(l));
37412
37424
  }
37413
37425
  return o;
@@ -37489,7 +37501,7 @@ class xle {
37489
37501
  const l = this.getAxisMotionValue(o);
37490
37502
  if (l && this.constraints !== !1) {
37491
37503
  const c = l.get();
37492
- i[o] = dle({ min: c, max: c }, this.constraints[o]);
37504
+ i[o] = hle({ min: c, max: c }, this.constraints[o]);
37493
37505
  }
37494
37506
  });
37495
37507
  const { transformTemplate: s } = this.visualElement.getProps();
@@ -37503,7 +37515,7 @@ class xle {
37503
37515
  addListeners() {
37504
37516
  if (!this.visualElement.current)
37505
37517
  return;
37506
- ble.set(this.visualElement, this);
37518
+ xle.set(this.visualElement, this);
37507
37519
  const t = this.visualElement.current, n = Qc(t, "pointerdown", (c) => {
37508
37520
  const { drag: d, dragListener: h = !0 } = this.getProps();
37509
37521
  d && h && this.start(c);
@@ -37538,13 +37550,13 @@ class xle {
37538
37550
  function wh(e, t, n) {
37539
37551
  return (t === !0 || t === e) && (n === null || n === e);
37540
37552
  }
37541
- function wle(e, t = 10) {
37553
+ function Sle(e, t = 10) {
37542
37554
  let n = null;
37543
37555
  return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
37544
37556
  }
37545
- class Sle extends na {
37557
+ class Tle extends na {
37546
37558
  constructor(t) {
37547
- super(t), this.removeGroupControls = Gr, this.removeListeners = Gr, this.controls = new xle(t);
37559
+ super(t), this.removeGroupControls = Gr, this.removeListeners = Gr, this.controls = new wle(t);
37548
37560
  }
37549
37561
  mount() {
37550
37562
  const { dragControls: t } = this.node.getProps();
@@ -37557,7 +37569,7 @@ class Sle extends na {
37557
37569
  const bD = (e) => (t, n) => {
37558
37570
  e && Bt.postRender(() => e(t, n));
37559
37571
  };
37560
- class Tle extends na {
37572
+ class Cle extends na {
37561
37573
  constructor() {
37562
37574
  super(...arguments), this.removePointerDownListener = Gr;
37563
37575
  }
@@ -37615,7 +37627,7 @@ const Tc = {
37615
37627
  const n = xD(e, t.target.x), r = xD(e, t.target.y);
37616
37628
  return `${n}% ${r}%`;
37617
37629
  }
37618
- }, Cle = {
37630
+ }, _le = {
37619
37631
  correct: (e, { treeScale: t, projectionDelta: n }) => {
37620
37632
  const r = e, i = Xo.parse(e);
37621
37633
  if (i.length > 5)
@@ -37626,7 +37638,7 @@ const Tc = {
37626
37638
  return typeof i[2 + o] == "number" && (i[2 + o] /= d), typeof i[3 + o] == "number" && (i[3 + o] /= d), s(i);
37627
37639
  }
37628
37640
  };
37629
- class _le extends A.Component {
37641
+ class Ele extends A.Component {
37630
37642
  /**
37631
37643
  * This only mounts projection nodes for components that
37632
37644
  * need measuring, we might want to do it for all components
@@ -37634,7 +37646,7 @@ class _le extends A.Component {
37634
37646
  */
37635
37647
  componentDidMount() {
37636
37648
  const { visualElement: t, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: s } = t;
37637
- zse(Ele), s && (n.group && n.group.add(s), r && r.register && i && r.register(s), s.root.didUpdate(), s.addEventListener("animationComplete", () => {
37649
+ Yse(Dle), s && (n.group && n.group.add(s), r && r.register && i && r.register(s), s.root.didUpdate(), s.addEventListener("animationComplete", () => {
37638
37650
  this.safeToRemove();
37639
37651
  }), s.setOptions({
37640
37652
  ...s.options,
@@ -37667,10 +37679,10 @@ class _le extends A.Component {
37667
37679
  }
37668
37680
  }
37669
37681
  function jL(e) {
37670
- const [t, n] = ose(), r = A.useContext(wR);
37671
- return I.jsx(_le, { ...e, layoutGroup: r, switchLayoutGroup: A.useContext(OR), isPresent: t, safeToRemove: n });
37682
+ const [t, n] = ase(), r = A.useContext(wR);
37683
+ return I.jsx(Ele, { ...e, layoutGroup: r, switchLayoutGroup: A.useContext(OR), isPresent: t, safeToRemove: n });
37672
37684
  }
37673
- const Ele = {
37685
+ const Dle = {
37674
37686
  borderRadius: {
37675
37687
  ...Tc,
37676
37688
  applyTo: [
@@ -37684,17 +37696,17 @@ const Ele = {
37684
37696
  borderTopRightRadius: Tc,
37685
37697
  borderBottomLeftRadius: Tc,
37686
37698
  borderBottomRightRadius: Tc,
37687
- boxShadow: Cle
37699
+ boxShadow: _le
37688
37700
  };
37689
- function Dle(e, t, n) {
37701
+ function kle(e, t, n) {
37690
37702
  const r = Un(e) ? e : Ef(e);
37691
37703
  return r.start(_w("", r, t, n)), r.animation;
37692
37704
  }
37693
- function kle(e) {
37705
+ function Ole(e) {
37694
37706
  return e instanceof SVGElement && e.tagName !== "svg";
37695
37707
  }
37696
- const Ole = (e, t) => e.depth - t.depth;
37697
- class Ple {
37708
+ const Ple = (e, t) => e.depth - t.depth;
37709
+ class Mle {
37698
37710
  constructor() {
37699
37711
  this.children = [], this.isDirty = !1;
37700
37712
  }
@@ -37705,25 +37717,25 @@ class Ple {
37705
37717
  mw(this.children, t), this.isDirty = !0;
37706
37718
  }
37707
37719
  forEach(t) {
37708
- this.isDirty && this.children.sort(Ole), this.isDirty = !1, this.children.forEach(t);
37720
+ this.isDirty && this.children.sort(Ple), this.isDirty = !1, this.children.forEach(t);
37709
37721
  }
37710
37722
  }
37711
- function Mle(e, t) {
37723
+ function Ale(e, t) {
37712
37724
  const n = ds.now(), r = ({ timestamp: i }) => {
37713
37725
  const s = i - n;
37714
37726
  s >= t && (Ko(r), e(s - t));
37715
37727
  };
37716
37728
  return Bt.read(r, !0), () => Ko(r);
37717
37729
  }
37718
- const BL = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Ale = BL.length, wD = (e) => typeof e == "string" ? parseFloat(e) : e, SD = (e) => typeof e == "number" || Ge.test(e);
37719
- function Ile(e, t, n, r, i, s) {
37730
+ const BL = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Ile = BL.length, wD = (e) => typeof e == "string" ? parseFloat(e) : e, SD = (e) => typeof e == "number" || Ge.test(e);
37731
+ function Rle(e, t, n, r, i, s) {
37720
37732
  i ? (e.opacity = Qt(
37721
37733
  0,
37722
37734
  // TODO Reinstate this if only child
37723
37735
  n.opacity !== void 0 ? n.opacity : 1,
37724
- Rle(r)
37725
- ), e.opacityExit = Qt(t.opacity !== void 0 ? t.opacity : 1, 0, Lle(r))) : s && (e.opacity = Qt(t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
37726
- for (let o = 0; o < Ale; o++) {
37736
+ Lle(r)
37737
+ ), e.opacityExit = Qt(t.opacity !== void 0 ? t.opacity : 1, 0, Nle(r))) : s && (e.opacity = Qt(t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
37738
+ for (let o = 0; o < Ile; o++) {
37727
37739
  const l = `border${BL[o]}Radius`;
37728
37740
  let c = TD(t, l), d = TD(n, l);
37729
37741
  if (c === void 0 && d === void 0)
@@ -37735,7 +37747,7 @@ function Ile(e, t, n, r, i, s) {
37735
37747
  function TD(e, t) {
37736
37748
  return e[t] !== void 0 ? e[t] : e.borderRadius;
37737
37749
  }
37738
- const Rle = /* @__PURE__ */ VL(0, 0.5, sL), Lle = /* @__PURE__ */ VL(0.5, 0.95, Gr);
37750
+ const Lle = /* @__PURE__ */ VL(0, 0.5, sL), Nle = /* @__PURE__ */ VL(0.5, 0.95, Gr);
37739
37751
  function VL(e, t, n) {
37740
37752
  return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ mu(e, t, r));
37741
37753
  }
@@ -37751,18 +37763,18 @@ function _D(e, t) {
37751
37763
  function ED(e, t, n, r, i) {
37752
37764
  return e -= t, e = Hp(e, 1 / n, r), i !== void 0 && (e = Hp(e, 1 / i, r)), e;
37753
37765
  }
37754
- function Nle(e, t = 0, n = 1, r = 0.5, i, s = e, o = e) {
37766
+ function $le(e, t = 0, n = 1, r = 0.5, i, s = e, o = e) {
37755
37767
  if (fs.test(t) && (t = parseFloat(t), t = Qt(o.min, o.max, t / 100) - o.min), typeof t != "number")
37756
37768
  return;
37757
37769
  let l = Qt(s.min, s.max, r);
37758
37770
  e === s && (l -= t), e.min = ED(e.min, t, n, l, i), e.max = ED(e.max, t, n, l, i);
37759
37771
  }
37760
37772
  function DD(e, t, [n, r, i], s, o) {
37761
- Nle(e, t[n], t[r], t[i], t.scale, s, o);
37773
+ $le(e, t[n], t[r], t[i], t.scale, s, o);
37762
37774
  }
37763
- const $le = ["x", "scaleX", "originX"], Fle = ["y", "scaleY", "originY"];
37775
+ const Fle = ["x", "scaleX", "originX"], jle = ["y", "scaleY", "originY"];
37764
37776
  function kD(e, t, n, r) {
37765
- DD(e.x, t, $le, n ? n.x : void 0, r ? r.x : void 0), DD(e.y, t, Fle, n ? n.y : void 0, r ? r.y : void 0);
37777
+ DD(e.x, t, Fle, n ? n.x : void 0, r ? r.x : void 0), DD(e.y, t, jle, n ? n.y : void 0, r ? r.y : void 0);
37766
37778
  }
37767
37779
  function OD(e) {
37768
37780
  return e.translate === 0 && e.scale === 1;
@@ -37773,7 +37785,7 @@ function WL(e) {
37773
37785
  function PD(e, t) {
37774
37786
  return e.min === t.min && e.max === t.max;
37775
37787
  }
37776
- function jle(e, t) {
37788
+ function Ble(e, t) {
37777
37789
  return PD(e.x, t.x) && PD(e.y, t.y);
37778
37790
  }
37779
37791
  function MD(e, t) {
@@ -37788,7 +37800,7 @@ function AD(e) {
37788
37800
  function ID(e, t) {
37789
37801
  return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
37790
37802
  }
37791
- class Ble {
37803
+ class Vle {
37792
37804
  constructor() {
37793
37805
  this.members = [];
37794
37806
  }
@@ -37842,7 +37854,7 @@ class Ble {
37842
37854
  this.lead && this.lead.snapshot && (this.lead.snapshot = void 0);
37843
37855
  }
37844
37856
  }
37845
- function Vle(e, t, n) {
37857
+ function Wle(e, t, n) {
37846
37858
  let r = "";
37847
37859
  const i = e.x.translate / t.x, s = e.y.translate / t.y, o = (n == null ? void 0 : n.z) || 0;
37848
37860
  if ((i || s || o) && (r = `translate3d(${i}px, ${s}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
@@ -37857,8 +37869,8 @@ const Ra = {
37857
37869
  totalNodes: 0,
37858
37870
  resolvedTargetDeltas: 0,
37859
37871
  recalculatedProjection: 0
37860
- }, Lc = typeof window < "u" && window.MotionDebug !== void 0, cy = ["", "X", "Y", "Z"], Wle = { visibility: "hidden" }, RD = 1e3;
37861
- let Hle = 0;
37872
+ }, Lc = typeof window < "u" && window.MotionDebug !== void 0, cy = ["", "X", "Y", "Z"], Hle = { visibility: "hidden" }, RD = 1e3;
37873
+ let Ule = 0;
37862
37874
  function fy(e, t, n, r) {
37863
37875
  const { latestValues: i } = t;
37864
37876
  i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
@@ -37880,14 +37892,14 @@ function UL(e) {
37880
37892
  function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
37881
37893
  return class {
37882
37894
  constructor(o = {}, l = t == null ? void 0 : t()) {
37883
- this.id = Hle++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
37895
+ this.id = Ule++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
37884
37896
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
37885
37897
  }, this.updateProjection = () => {
37886
- this.projectionUpdateScheduled = !1, Lc && (Ra.totalNodes = Ra.resolvedTargetDeltas = Ra.recalculatedProjection = 0), this.nodes.forEach(Yle), this.nodes.forEach(Qle), this.nodes.forEach(Zle), this.nodes.forEach(qle), Lc && window.MotionDebug.record(Ra);
37898
+ this.projectionUpdateScheduled = !1, Lc && (Ra.totalNodes = Ra.resolvedTargetDeltas = Ra.recalculatedProjection = 0), this.nodes.forEach(qle), this.nodes.forEach(Zle), this.nodes.forEach(Jle), this.nodes.forEach(Gle), Lc && window.MotionDebug.record(Ra);
37887
37899
  }, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = o, this.root = l ? l.root || l : this, this.path = l ? [...l.path, l] : [], this.parent = l, this.depth = l ? l.depth + 1 : 0;
37888
37900
  for (let c = 0; c < this.path.length; c++)
37889
37901
  this.path[c].shouldResetTransform = !0;
37890
- this.root === this && (this.nodes = new Ple());
37902
+ this.root === this && (this.nodes = new Mle());
37891
37903
  }
37892
37904
  addEventListener(o, l) {
37893
37905
  return this.eventHandlers.has(o) || this.eventHandlers.set(o, new gw()), this.eventHandlers.get(o).add(l);
@@ -37905,13 +37917,13 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
37905
37917
  mount(o, l = this.root.hasTreeAnimated) {
37906
37918
  if (this.instance)
37907
37919
  return;
37908
- this.isSVG = kle(o), this.instance = o;
37920
+ this.isSVG = Ole(o), this.instance = o;
37909
37921
  const { layoutId: c, layout: d, visualElement: h } = this.options;
37910
37922
  if (h && !h.current && h.mount(o), this.root.nodes.add(this), this.parent && this.parent.children.add(this), l && (d || c) && (this.isLayoutDirty = !0), e) {
37911
37923
  let p;
37912
37924
  const y = () => this.root.updateBlockedByResize = !1;
37913
37925
  e(o, () => {
37914
- this.root.updateBlockedByResize = !0, p && p(), p = Mle(y, 250), Gh.hasAnimatedSinceResize && (Gh.hasAnimatedSinceResize = !1, this.nodes.forEach(ND));
37926
+ this.root.updateBlockedByResize = !0, p && p(), p = Ale(y, 250), Gh.hasAnimatedSinceResize && (Gh.hasAnimatedSinceResize = !1, this.nodes.forEach(ND));
37915
37927
  });
37916
37928
  }
37917
37929
  c && this.root.registerSharedNode(c, this), this.options.animate !== !1 && h && (c || d) && this.addEventListener("didUpdate", ({ delta: p, hasLayoutChanged: y, hasRelativeTargetChanged: b, layout: C }) => {
@@ -37919,7 +37931,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
37919
37931
  this.target = void 0, this.relativeTarget = void 0;
37920
37932
  return;
37921
37933
  }
37922
- const w = this.options.transition || h.getDefaultTransition() || rue, { onLayoutAnimationStart: D, onLayoutAnimationComplete: _ } = h.getProps(), R = !this.targetLayout || !HL(this.targetLayout, C) || b, P = !y && b;
37934
+ const w = this.options.transition || h.getDefaultTransition() || iue, { onLayoutAnimationStart: D, onLayoutAnimationComplete: _ } = h.getProps(), R = !this.targetLayout || !HL(this.targetLayout, C) || b, P = !y && b;
37923
37935
  if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || P || y && (R || !this.currentAnimation)) {
37924
37936
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(p, P);
37925
37937
  const V = {
@@ -37953,7 +37965,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
37953
37965
  }
37954
37966
  // Note: currently only running on root node
37955
37967
  startUpdate() {
37956
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Jle), this.animationId++);
37968
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(eue), this.animationId++);
37957
37969
  }
37958
37970
  getTransformTemplate() {
37959
37971
  const { visualElement: o } = this.options;
@@ -37982,7 +37994,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
37982
37994
  this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(LD);
37983
37995
  return;
37984
37996
  }
37985
- this.isUpdating || this.nodes.forEach(Kle), this.isUpdating = !1, this.nodes.forEach(Xle), this.nodes.forEach(Ule), this.nodes.forEach(zle), this.clearAllSnapshots();
37997
+ this.isUpdating || this.nodes.forEach(Xle), this.isUpdating = !1, this.nodes.forEach(Qle), this.nodes.forEach(zle), this.nodes.forEach(Yle), this.clearAllSnapshots();
37986
37998
  const l = ds.now();
37987
37999
  An.delta = to(0, 1e3 / 60, l - An.timestamp), An.timestamp = l, An.isProcessing = !0, ny.update.process(An), ny.preRender.process(An), ny.render.process(An), An.isProcessing = !1;
37988
38000
  }
@@ -37990,7 +38002,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
37990
38002
  this.updateScheduled || (this.updateScheduled = !0, ew.read(this.scheduleUpdate));
37991
38003
  }
37992
38004
  clearAllSnapshots() {
37993
- this.nodes.forEach(Gle), this.sharedNodes.forEach(eue);
38005
+ this.nodes.forEach(Kle), this.sharedNodes.forEach(tue);
37994
38006
  }
37995
38007
  scheduleUpdateProjection() {
37996
38008
  this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Bt.preRender(this.updateProjection, !1, !0));
@@ -38039,7 +38051,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38039
38051
  measure(o = !0) {
38040
38052
  const l = this.measurePageBox();
38041
38053
  let c = this.removeElementScroll(l);
38042
- return o && (c = this.removeTransform(c)), iue(c), {
38054
+ return o && (c = this.removeTransform(c)), sue(c), {
38043
38055
  animationId: this.root.animationId,
38044
38056
  measuredBox: l,
38045
38057
  layoutBox: c,
@@ -38053,7 +38065,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38053
38065
  if (!l)
38054
38066
  return sn();
38055
38067
  const c = l.measureViewportBox();
38056
- if (!(((o = this.scroll) === null || o === void 0 ? void 0 : o.wasRoot) || this.path.some(sue))) {
38068
+ if (!(((o = this.scroll) === null || o === void 0 ? void 0 : o.wasRoot) || this.path.some(oue))) {
38057
38069
  const { scroll: h } = this.root;
38058
38070
  h && (Jl(c.x, h.offset.x), Jl(c.y, h.offset.y));
38059
38071
  }
@@ -38125,7 +38137,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38125
38137
  b && b.layout && this.animationProgress !== 1 ? (this.relativeParent = b, this.forceRelativeParentToResolveTarget(), this.relativeTarget = sn(), this.relativeTargetOrigin = sn(), Jc(this.relativeTargetOrigin, this.layout.layoutBox, b.layout.layoutBox), di(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
38126
38138
  }
38127
38139
  if (!(!this.relativeTarget && !this.targetDelta)) {
38128
- if (this.target || (this.target = sn(), this.targetWithTransforms = sn()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), lle(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : di(this.target, this.layout.layoutBox), NL(this.target, this.targetDelta)) : di(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
38140
+ if (this.target || (this.target = sn(), this.targetWithTransforms = sn()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), ule(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : di(this.target, this.layout.layoutBox), NL(this.target, this.targetDelta)) : di(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
38129
38141
  this.attemptToResolveRelativeTarget = !1;
38130
38142
  const b = this.getClosestProjectingParent();
38131
38143
  b && !!b.resumingFrom == !!this.resumingFrom && !b.options.layoutScroll && b.target && this.animationProgress !== 1 ? (this.relativeParent = b, this.forceRelativeParentToResolveTarget(), this.relativeTarget = sn(), this.relativeTargetOrigin = sn(), Jc(this.relativeTargetOrigin, this.target, b.target), di(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
@@ -38152,7 +38164,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38152
38164
  return;
38153
38165
  di(this.layoutCorrected, this.layout.layoutBox);
38154
38166
  const y = this.treeScale.x, b = this.treeScale.y;
38155
- vle(this.layoutCorrected, this.treeScale, this.path, c), l.layout && !l.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (l.target = l.layout.layoutBox, l.targetWithTransforms = sn());
38167
+ yle(this.layoutCorrected, this.treeScale, this.path, c), l.layout && !l.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (l.target = l.layout.layoutBox, l.targetWithTransforms = sn());
38156
38168
  const { target: C } = l;
38157
38169
  if (!C) {
38158
38170
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
@@ -38180,17 +38192,17 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38180
38192
  setAnimationOrigin(o, l = !1) {
38181
38193
  const c = this.snapshot, d = c ? c.latestValues : {}, h = { ...this.latestValues }, p = Zl();
38182
38194
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !l;
38183
- const y = sn(), b = c ? c.source : void 0, C = this.layout ? this.layout.source : void 0, w = b !== C, D = this.getStack(), _ = !D || D.members.length <= 1, R = !!(w && !_ && this.options.crossfade === !0 && !this.path.some(nue));
38195
+ const y = sn(), b = c ? c.source : void 0, C = this.layout ? this.layout.source : void 0, w = b !== C, D = this.getStack(), _ = !D || D.members.length <= 1, R = !!(w && !_ && this.options.crossfade === !0 && !this.path.some(rue));
38184
38196
  this.animationProgress = 0;
38185
38197
  let P;
38186
38198
  this.mixTargetDelta = (V) => {
38187
38199
  const F = V / 1e3;
38188
- $D(p.x, o.x, F), $D(p.y, o.y, F), this.setTargetDelta(p), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jc(y, this.layout.layoutBox, this.relativeParent.layout.layoutBox), tue(this.relativeTarget, this.relativeTargetOrigin, y, F), P && jle(this.relativeTarget, P) && (this.isProjectionDirty = !1), P || (P = sn()), di(P, this.relativeTarget)), w && (this.animationValues = h, Ile(h, d, this.latestValues, F, R, _)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = F;
38200
+ $D(p.x, o.x, F), $D(p.y, o.y, F), this.setTargetDelta(p), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Jc(y, this.layout.layoutBox, this.relativeParent.layout.layoutBox), nue(this.relativeTarget, this.relativeTargetOrigin, y, F), P && Ble(this.relativeTarget, P) && (this.isProjectionDirty = !1), P || (P = sn()), di(P, this.relativeTarget)), w && (this.animationValues = h, Rle(h, d, this.latestValues, F, R, _)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = F;
38189
38201
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
38190
38202
  }
38191
38203
  startAnimation(o) {
38192
38204
  this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Ko(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = Bt.update(() => {
38193
- Gh.hasAnimatedSinceResize = !0, this.currentAnimation = Dle(0, RD, {
38205
+ Gh.hasAnimatedSinceResize = !0, this.currentAnimation = kle(0, RD, {
38194
38206
  ...o,
38195
38207
  onUpdate: (l) => {
38196
38208
  this.mixTargetDelta(l), o.onUpdate && o.onUpdate(l);
@@ -38224,7 +38236,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38224
38236
  }
38225
38237
  }
38226
38238
  registerSharedNode(o, l) {
38227
- this.sharedNodes.has(o) || this.sharedNodes.set(o, new Ble()), this.sharedNodes.get(o).add(l);
38239
+ this.sharedNodes.has(o) || this.sharedNodes.set(o, new Vle()), this.sharedNodes.get(o).add(l);
38228
38240
  const d = l.options.initialPromotionConfig;
38229
38241
  l.promote({
38230
38242
  transition: d ? d.transition : void 0,
@@ -38280,7 +38292,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38280
38292
  if (!this.instance || this.isSVG)
38281
38293
  return;
38282
38294
  if (!this.isVisible)
38283
- return Wle;
38295
+ return Hle;
38284
38296
  const d = {
38285
38297
  visibility: ""
38286
38298
  }, h = this.getTransformTemplate();
@@ -38292,7 +38304,7 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38292
38304
  return this.options.layoutId && (w.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, w.pointerEvents = Yh(o == null ? void 0 : o.pointerEvents) || ""), this.hasProjected && !Ia(this.latestValues) && (w.transform = h ? h({}, "") : "none", this.hasProjected = !1), w;
38293
38305
  }
38294
38306
  const y = p.animationValues || p.latestValues;
38295
- this.applyTransformsToTarget(), d.transform = Vle(this.projectionDeltaWithTransform, this.treeScale, y), h && (d.transform = h(y, d.transform));
38307
+ this.applyTransformsToTarget(), d.transform = Wle(this.projectionDeltaWithTransform, this.treeScale, y), h && (d.transform = h(y, d.transform));
38296
38308
  const { x: b, y: C } = this.projectionDelta;
38297
38309
  d.transformOrigin = `${b.origin * 100}% ${C.origin * 100}% 0`, p.animationValues ? d.opacity = p === this ? (c = (l = y.opacity) !== null && l !== void 0 ? l : this.latestValues.opacity) !== null && c !== void 0 ? c : 1 : this.preserveOpacity ? this.latestValues.opacity : y.opacityExit : d.opacity = p === this ? y.opacity !== void 0 ? y.opacity : "" : y.opacityExit !== void 0 ? y.opacityExit : 0;
38298
38310
  for (const w in Fp) {
@@ -38320,10 +38332,10 @@ function zL({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
38320
38332
  }
38321
38333
  };
38322
38334
  }
38323
- function Ule(e) {
38335
+ function zle(e) {
38324
38336
  e.updateLayout();
38325
38337
  }
38326
- function zle(e) {
38338
+ function Yle(e) {
38327
38339
  var t;
38328
38340
  const n = ((t = e.resumeFrom) === null || t === void 0 ? void 0 : t.snapshot) || e.snapshot;
38329
38341
  if (e.isLead() && e.layout && n && e.hasListeners("didUpdate")) {
@@ -38367,38 +38379,38 @@ function zle(e) {
38367
38379
  }
38368
38380
  e.options.transition = void 0;
38369
38381
  }
38370
- function Yle(e) {
38382
+ function qle(e) {
38371
38383
  Lc && Ra.totalNodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty || (e.isSharedProjectionDirty = !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty)), e.isTransformDirty || (e.isTransformDirty = e.parent.isTransformDirty));
38372
38384
  }
38373
- function qle(e) {
38385
+ function Gle(e) {
38374
38386
  e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
38375
38387
  }
38376
- function Gle(e) {
38388
+ function Kle(e) {
38377
38389
  e.clearSnapshot();
38378
38390
  }
38379
38391
  function LD(e) {
38380
38392
  e.clearMeasurements();
38381
38393
  }
38382
- function Kle(e) {
38394
+ function Xle(e) {
38383
38395
  e.isLayoutDirty = !1;
38384
38396
  }
38385
- function Xle(e) {
38397
+ function Qle(e) {
38386
38398
  const { visualElement: t } = e.options;
38387
38399
  t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
38388
38400
  }
38389
38401
  function ND(e) {
38390
38402
  e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
38391
38403
  }
38392
- function Qle(e) {
38404
+ function Zle(e) {
38393
38405
  e.resolveTargetDelta();
38394
38406
  }
38395
- function Zle(e) {
38407
+ function Jle(e) {
38396
38408
  e.calcProjection();
38397
38409
  }
38398
- function Jle(e) {
38410
+ function eue(e) {
38399
38411
  e.resetSkewAndRotation();
38400
38412
  }
38401
- function eue(e) {
38413
+ function tue(e) {
38402
38414
  e.removeLeadSnapshot();
38403
38415
  }
38404
38416
  function $D(e, t, n) {
@@ -38407,30 +38419,30 @@ function $D(e, t, n) {
38407
38419
  function FD(e, t, n, r) {
38408
38420
  e.min = Qt(t.min, n.min, r), e.max = Qt(t.max, n.max, r);
38409
38421
  }
38410
- function tue(e, t, n, r) {
38422
+ function nue(e, t, n, r) {
38411
38423
  FD(e.x, t.x, n.x, r), FD(e.y, t.y, n.y, r);
38412
38424
  }
38413
- function nue(e) {
38425
+ function rue(e) {
38414
38426
  return e.animationValues && e.animationValues.opacityExit !== void 0;
38415
38427
  }
38416
- const rue = {
38428
+ const iue = {
38417
38429
  duration: 0.45,
38418
38430
  ease: [0.4, 0, 0.1, 1]
38419
38431
  }, jD = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), BD = jD("applewebkit/") && !jD("chrome/") ? Math.round : Gr;
38420
38432
  function VD(e) {
38421
38433
  e.min = BD(e.min), e.max = BD(e.max);
38422
38434
  }
38423
- function iue(e) {
38435
+ function sue(e) {
38424
38436
  VD(e.x), VD(e.y);
38425
38437
  }
38426
38438
  function YL(e, t, n) {
38427
- return e === "position" || e === "preserve-aspect" && !ale(AD(t), AD(n), 0.2);
38439
+ return e === "position" || e === "preserve-aspect" && !lle(AD(t), AD(n), 0.2);
38428
38440
  }
38429
- function sue(e) {
38441
+ function oue(e) {
38430
38442
  var t;
38431
38443
  return e !== e.root && ((t = e.scroll) === null || t === void 0 ? void 0 : t.wasRoot);
38432
38444
  }
38433
- const oue = zL({
38445
+ const aue = zL({
38434
38446
  attachResizeListener: (e, t) => kf(e, "resize", t),
38435
38447
  measureScroll: () => ({
38436
38448
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
@@ -38446,7 +38458,7 @@ const oue = zL({
38446
38458
  }),
38447
38459
  defaultParent: () => {
38448
38460
  if (!dy.current) {
38449
- const e = new oue({});
38461
+ const e = new aue({});
38450
38462
  e.mount(window), e.setOptions({ layoutScroll: !0 }), dy.current = e;
38451
38463
  }
38452
38464
  return dy.current;
@@ -38455,12 +38467,12 @@ const oue = zL({
38455
38467
  e.style.transform = t !== void 0 ? t : "none";
38456
38468
  },
38457
38469
  checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
38458
- }), aue = {
38470
+ }), lue = {
38459
38471
  pan: {
38460
- Feature: Tle
38472
+ Feature: Cle
38461
38473
  },
38462
38474
  drag: {
38463
- Feature: Sle,
38475
+ Feature: Tle,
38464
38476
  ProjectionNode: qL,
38465
38477
  MeasureLayout: jL
38466
38478
  }
@@ -38471,15 +38483,15 @@ function WD(e, t, n) {
38471
38483
  const i = "onHover" + n, s = r[i];
38472
38484
  s && Bt.postRender(() => s(t, Gf(t)));
38473
38485
  }
38474
- class lue extends na {
38486
+ class uue extends na {
38475
38487
  mount() {
38476
38488
  const { current: t } = this.node;
38477
- t && (this.unmount = aoe(t, (n) => (WD(this.node, n, "Start"), (r) => WD(this.node, r, "End"))));
38489
+ t && (this.unmount = loe(t, (n) => (WD(this.node, n, "Start"), (r) => WD(this.node, r, "End"))));
38478
38490
  }
38479
38491
  unmount() {
38480
38492
  }
38481
38493
  }
38482
- class uue extends na {
38494
+ class cue extends na {
38483
38495
  constructor() {
38484
38496
  super(...arguments), this.isActive = !1;
38485
38497
  }
@@ -38507,37 +38519,37 @@ function HD(e, t, n) {
38507
38519
  const i = "onTap" + (n === "End" ? "" : n), s = r[i];
38508
38520
  s && Bt.postRender(() => s(t, Gf(t)));
38509
38521
  }
38510
- class cue extends na {
38522
+ class fue extends na {
38511
38523
  mount() {
38512
38524
  const { current: t } = this.node;
38513
- t && (this.unmount = foe(t, (n) => (HD(this.node, n, "Start"), (r, { success: i }) => HD(this.node, r, i ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
38525
+ t && (this.unmount = doe(t, (n) => (HD(this.node, n, "Start"), (r, { success: i }) => HD(this.node, r, i ? "End" : "Cancel")), { useGlobalTarget: this.node.props.globalTapTarget }));
38514
38526
  }
38515
38527
  unmount() {
38516
38528
  }
38517
38529
  }
38518
- const H0 = /* @__PURE__ */ new WeakMap(), hy = /* @__PURE__ */ new WeakMap(), fue = (e) => {
38530
+ const H0 = /* @__PURE__ */ new WeakMap(), hy = /* @__PURE__ */ new WeakMap(), due = (e) => {
38519
38531
  const t = H0.get(e.target);
38520
38532
  t && t(e);
38521
- }, due = (e) => {
38522
- e.forEach(fue);
38533
+ }, hue = (e) => {
38534
+ e.forEach(due);
38523
38535
  };
38524
- function hue({ root: e, ...t }) {
38536
+ function pue({ root: e, ...t }) {
38525
38537
  const n = e || document;
38526
38538
  hy.has(n) || hy.set(n, {});
38527
38539
  const r = hy.get(n), i = JSON.stringify(t);
38528
- return r[i] || (r[i] = new IntersectionObserver(due, { root: e, ...t })), r[i];
38540
+ return r[i] || (r[i] = new IntersectionObserver(hue, { root: e, ...t })), r[i];
38529
38541
  }
38530
- function pue(e, t, n) {
38531
- const r = hue(t);
38542
+ function mue(e, t, n) {
38543
+ const r = pue(t);
38532
38544
  return H0.set(e, n), r.observe(e), () => {
38533
38545
  H0.delete(e), r.unobserve(e);
38534
38546
  };
38535
38547
  }
38536
- const mue = {
38548
+ const gue = {
38537
38549
  some: 0,
38538
38550
  all: 1
38539
38551
  };
38540
- class gue extends na {
38552
+ class vue extends na {
38541
38553
  constructor() {
38542
38554
  super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
38543
38555
  }
@@ -38546,7 +38558,7 @@ class gue extends na {
38546
38558
  const { viewport: t = {} } = this.node.getProps(), { root: n, margin: r, amount: i = "some", once: s } = t, o = {
38547
38559
  root: n ? n.current : void 0,
38548
38560
  rootMargin: r,
38549
- threshold: typeof i == "number" ? i : mue[i]
38561
+ threshold: typeof i == "number" ? i : gue[i]
38550
38562
  }, l = (c) => {
38551
38563
  const { isIntersecting: d } = c;
38552
38564
  if (this.isInView === d || (this.isInView = d, s && !d && this.hasEnteredView))
@@ -38555,7 +38567,7 @@ class gue extends na {
38555
38567
  const { onViewportEnter: h, onViewportLeave: p } = this.node.getProps(), y = d ? h : p;
38556
38568
  y && y(c);
38557
38569
  };
38558
- return pue(this.node.current, o, l);
38570
+ return mue(this.node.current, o, l);
38559
38571
  }
38560
38572
  mount() {
38561
38573
  this.startObserver();
@@ -38564,34 +38576,34 @@ class gue extends na {
38564
38576
  if (typeof IntersectionObserver > "u")
38565
38577
  return;
38566
38578
  const { props: t, prevProps: n } = this.node;
38567
- ["amount", "margin", "root"].some(vue(t, n)) && this.startObserver();
38579
+ ["amount", "margin", "root"].some(yue(t, n)) && this.startObserver();
38568
38580
  }
38569
38581
  unmount() {
38570
38582
  }
38571
38583
  }
38572
- function vue({ viewport: e = {} }, { viewport: t = {} } = {}) {
38584
+ function yue({ viewport: e = {} }, { viewport: t = {} } = {}) {
38573
38585
  return (n) => e[n] !== t[n];
38574
38586
  }
38575
- const yue = {
38587
+ const bue = {
38576
38588
  inView: {
38577
- Feature: gue
38589
+ Feature: vue
38578
38590
  },
38579
38591
  tap: {
38580
- Feature: cue
38592
+ Feature: fue
38581
38593
  },
38582
38594
  focus: {
38583
- Feature: uue
38595
+ Feature: cue
38584
38596
  },
38585
38597
  hover: {
38586
- Feature: lue
38598
+ Feature: uue
38587
38599
  }
38588
- }, bue = {
38600
+ }, xue = {
38589
38601
  layout: {
38590
38602
  ProjectionNode: qL,
38591
38603
  MeasureLayout: jL
38592
38604
  }
38593
38605
  }, U0 = { current: null }, GL = { current: !1 };
38594
- function xue() {
38606
+ function wue() {
38595
38607
  if (GL.current = !0, !!Kx)
38596
38608
  if (window.matchMedia) {
38597
38609
  const e = window.matchMedia("(prefers-reduced-motion)"), t = () => U0.current = e.matches;
@@ -38599,8 +38611,8 @@ function xue() {
38599
38611
  } else
38600
38612
  U0.current = !1;
38601
38613
  }
38602
- const wue = [...bL, Hn, Xo], Sue = (e) => wue.find(yL(e)), UD = /* @__PURE__ */ new WeakMap();
38603
- function Tue(e, t, n) {
38614
+ const Sue = [...bL, Hn, Xo], Tue = (e) => Sue.find(yL(e)), UD = /* @__PURE__ */ new WeakMap();
38615
+ function Cue(e, t, n) {
38604
38616
  for (const r in t) {
38605
38617
  const i = t[r], s = n[r];
38606
38618
  if (Un(i))
@@ -38629,7 +38641,7 @@ const zD = [
38629
38641
  "LayoutAnimationStart",
38630
38642
  "LayoutAnimationComplete"
38631
38643
  ];
38632
- class Cue {
38644
+ class _ue {
38633
38645
  /**
38634
38646
  * This method takes React props and returns found MotionValues. For example, HTML
38635
38647
  * MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
@@ -38656,7 +38668,7 @@ class Cue {
38656
38668
  }
38657
38669
  }
38658
38670
  mount(t) {
38659
- this.current = t, UD.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), GL.current || xue(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : U0.current, this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
38671
+ this.current = t, UD.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), GL.current || wue(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : U0.current, this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
38660
38672
  }
38661
38673
  unmount() {
38662
38674
  UD.delete(this.current), this.projection && this.projection.unmount(), Ko(this.notifyUpdate), Ko(this.render), this.valueSubscriptions.forEach((t) => t()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
@@ -38723,7 +38735,7 @@ class Cue {
38723
38735
  const s = "on" + i, o = t[s];
38724
38736
  o && (this.propEventSubscriptions[i] = this.on(i, o));
38725
38737
  }
38726
- this.prevMotionValues = Tue(this, this.scrapeMotionValuesFromProps(t, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue(), this.onUpdate && this.onUpdate(this);
38738
+ this.prevMotionValues = Cue(this, this.scrapeMotionValuesFromProps(t, this.prevProps, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue(), this.onUpdate && this.onUpdate(this);
38727
38739
  }
38728
38740
  getProps() {
38729
38741
  return this.props;
@@ -38789,7 +38801,7 @@ class Cue {
38789
38801
  readValue(t, n) {
38790
38802
  var r;
38791
38803
  let i = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : (r = this.getBaseTargetFromProps(this.props, t)) !== null && r !== void 0 ? r : this.readValueFromInstance(this.current, t, this.options);
38792
- return i != null && (typeof i == "string" && (gL(i) || aL(i)) ? i = parseFloat(i) : !Sue(i) && Xo.test(n) && (i = hL(t, n)), this.setBaseTarget(t, Un(i) ? i.get() : i)), Un(i) ? i.get() : i;
38804
+ return i != null && (typeof i == "string" && (gL(i) || aL(i)) ? i = parseFloat(i) : !Tue(i) && Xo.test(n) && (i = hL(t, n)), this.setBaseTarget(t, Un(i) ? i.get() : i)), Un(i) ? i.get() : i;
38793
38805
  }
38794
38806
  /**
38795
38807
  * Set the base target to later animate back to. This is currently
@@ -38822,7 +38834,7 @@ class Cue {
38822
38834
  this.events[t] && this.events[t].notify(...n);
38823
38835
  }
38824
38836
  }
38825
- class KL extends Cue {
38837
+ class KL extends _ue {
38826
38838
  constructor() {
38827
38839
  super(...arguments), this.KeyframeResolver = xL;
38828
38840
  }
@@ -38843,10 +38855,10 @@ class KL extends Cue {
38843
38855
  }));
38844
38856
  }
38845
38857
  }
38846
- function _ue(e) {
38858
+ function Eue(e) {
38847
38859
  return window.getComputedStyle(e);
38848
38860
  }
38849
- class Eue extends KL {
38861
+ class Due extends KL {
38850
38862
  constructor() {
38851
38863
  super(...arguments), this.type = "html", this.renderInstance = NR;
38852
38864
  }
@@ -38855,7 +38867,7 @@ class Eue extends KL {
38855
38867
  const r = ww(n);
38856
38868
  return r && r.default || 0;
38857
38869
  } else {
38858
- const r = _ue(t), i = (IR(n) ? r.getPropertyValue(n) : r[n]) || 0;
38870
+ const r = Eue(t), i = (IR(n) ? r.getPropertyValue(n) : r[n]) || 0;
38859
38871
  return typeof i == "string" ? i.trim() : i;
38860
38872
  }
38861
38873
  }
@@ -38869,7 +38881,7 @@ class Eue extends KL {
38869
38881
  return uw(t, n, r);
38870
38882
  }
38871
38883
  }
38872
- class Due extends KL {
38884
+ class kue extends KL {
38873
38885
  constructor() {
38874
38886
  super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = sn;
38875
38887
  }
@@ -38896,14 +38908,14 @@ class Due extends KL {
38896
38908
  this.isSVGTag = lw(t.tagName), super.mount(t);
38897
38909
  }
38898
38910
  }
38899
- const kue = (e, t) => tw(e) ? new Due(t) : new Eue(t, {
38911
+ const Oue = (e, t) => tw(e) ? new kue(t) : new Due(t, {
38900
38912
  allowProjection: e !== A.Fragment
38901
- }), Oue = /* @__PURE__ */ eoe({
38902
- ...Zae,
38903
- ...yue,
38904
- ...aue,
38905
- ...bue
38906
- }, kue), Pue = /* @__PURE__ */ mse(Oue);
38913
+ }), Pue = /* @__PURE__ */ toe({
38914
+ ...Jae,
38915
+ ...bue,
38916
+ ...lue,
38917
+ ...xue
38918
+ }, Oue), Mue = /* @__PURE__ */ gse(Pue);
38907
38919
  function z0(e, t, n) {
38908
38920
  var r, i, s, o, l;
38909
38921
  t == null && (t = 100);
@@ -38923,9 +38935,9 @@ function z0(e, t, n) {
38923
38935
  }, d;
38924
38936
  }
38925
38937
  z0.debounce = z0;
38926
- var Mue = z0;
38927
- const YD = /* @__PURE__ */ yu(Mue);
38928
- function Aue(e) {
38938
+ var Aue = z0;
38939
+ const YD = /* @__PURE__ */ yu(Aue);
38940
+ function Iue(e) {
38929
38941
  let {
38930
38942
  debounce: t,
38931
38943
  scroll: n,
@@ -38979,7 +38991,7 @@ function Aue(e) {
38979
38991
  x: Y,
38980
38992
  y: ne
38981
38993
  };
38982
- c.current.element instanceof HTMLElement && i && (ce.height = c.current.element.offsetHeight, ce.width = c.current.element.offsetWidth), Object.freeze(ce), p.current && !Nue(c.current.lastBounds, ce) && l(c.current.lastBounds = ce);
38994
+ c.current.element instanceof HTMLElement && i && (ce.height = c.current.element.offsetHeight, ce.width = c.current.element.offsetWidth), Object.freeze(ce), p.current && !$ue(c.current.lastBounds, ce) && l(c.current.lastBounds = ce);
38983
38995
  };
38984
38996
  return [R, h ? YD(R, h) : R, d ? YD(R, d) : R];
38985
38997
  }, [l, i, d, h]);
@@ -38995,17 +39007,17 @@ function Aue(e) {
38995
39007
  const _ = (R) => {
38996
39008
  !R || R === c.current.element || (w(), c.current.element = R, c.current.scrollContainers = XL(R), D());
38997
39009
  };
38998
- return Rue(C, !!n), Iue(b), A.useEffect(() => {
39010
+ return Lue(C, !!n), Rue(b), A.useEffect(() => {
38999
39011
  w(), D();
39000
39012
  }, [n, C, b]), A.useEffect(() => w, []), [_, o, y];
39001
39013
  }
39002
- function Iue(e) {
39014
+ function Rue(e) {
39003
39015
  A.useEffect(() => {
39004
39016
  const t = e;
39005
39017
  return window.addEventListener("resize", t), () => void window.removeEventListener("resize", t);
39006
39018
  }, [e]);
39007
39019
  }
39008
- function Rue(e, t) {
39020
+ function Lue(e, t) {
39009
39021
  A.useEffect(() => {
39010
39022
  if (t) {
39011
39023
  const n = e;
@@ -39027,10 +39039,10 @@ function XL(e) {
39027
39039
  } = window.getComputedStyle(e);
39028
39040
  return [n, r, i].some((s) => s === "auto" || s === "scroll") && t.push(e), [...t, ...XL(e.parentElement)];
39029
39041
  }
39030
- const Lue = ["x", "y", "top", "bottom", "left", "right", "width", "height"], Nue = (e, t) => Lue.every((n) => e[n] === t[n]);
39042
+ const Nue = ["x", "y", "top", "bottom", "left", "right", "width", "height"], $ue = (e, t) => Nue.every((n) => e[n] === t[n]);
39031
39043
  var QL = (e) => {
39032
39044
  throw TypeError(e);
39033
- }, ZL = (e, t, n) => t.has(e) || QL("Cannot " + n), Qe = (e, t, n) => (ZL(e, t, "read from private field"), n ? n.call(e) : t.get(e)), hi = (e, t, n) => t.has(e) ? QL("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), La = (e, t, n, r) => (ZL(e, t, "write to private field"), t.set(e, n), n), Ao, $ue = class {
39045
+ }, ZL = (e, t, n) => t.has(e) || QL("Cannot " + n), Qe = (e, t, n) => (ZL(e, t, "read from private field"), n ? n.call(e) : t.get(e)), hi = (e, t, n) => t.has(e) ? QL("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), La = (e, t, n, r) => (ZL(e, t, "write to private field"), t.set(e, n), n), Ao, Fue = class {
39034
39046
  constructor() {
39035
39047
  hi(this, Ao), this.register = (e) => {
39036
39048
  Qe(this, Ao).push(e);
@@ -39094,7 +39106,7 @@ var jr, Nc, Br, Rs, Na, Y0, q0, G0, Kh, Xh, $c, JL = class Qh {
39094
39106
  }), !r || !r.backends || r.backends.length < 1)
39095
39107
  throw new Error(`You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)
39096
39108
  see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx`);
39097
- La(this, Nc, new $ue()), La(this, Br, {}), La(this, Rs, []);
39109
+ La(this, Nc, new Fue()), La(this, Br, {}), La(this, Rs, []);
39098
39110
  for (let i of r.backends) {
39099
39111
  let s = Qe(this, Y0).call(this, t, n, i);
39100
39112
  Qe(this, Br)[s.id] = s, Qe(this, Rs).push(s);
@@ -39103,14 +39115,14 @@ var jr, Nc, Br, Rs, Na, Y0, q0, G0, Kh, Xh, $c, JL = class Qh {
39103
39115
  }
39104
39116
  };
39105
39117
  jr = /* @__PURE__ */ new WeakMap(), Nc = /* @__PURE__ */ new WeakMap(), Br = /* @__PURE__ */ new WeakMap(), Rs = /* @__PURE__ */ new WeakMap(), Na = /* @__PURE__ */ new WeakMap(), Y0 = /* @__PURE__ */ new WeakMap(), q0 = /* @__PURE__ */ new WeakMap(), G0 = /* @__PURE__ */ new WeakMap(), Kh = /* @__PURE__ */ new WeakMap(), Xh = /* @__PURE__ */ new WeakMap(), $c = /* @__PURE__ */ new WeakMap(), JL.isSetUp = !1;
39106
- var Fue = JL, jue = (e, t, n) => new Fue(e, t, n), e2 = (e, t) => ({ event: e, check: t }), Bue = e2("touchstart", (e) => {
39118
+ var jue = JL, Bue = (e, t, n) => new jue(e, t, n), e2 = (e, t) => ({ event: e, check: t }), Vue = e2("touchstart", (e) => {
39107
39119
  let t = e;
39108
39120
  return t.touches !== null && t.touches !== void 0;
39109
- }), Vue = e2("pointerdown", (e) => e.pointerType === "mouse"), zo;
39121
+ }), Wue = e2("pointerdown", (e) => e.pointerType === "mouse"), zo;
39110
39122
  (function(e) {
39111
39123
  e.mouse = "mouse", e.touch = "touch", e.keyboard = "keyboard";
39112
39124
  })(zo || (zo = {}));
39113
- class Wue {
39125
+ class Hue {
39114
39126
  get delay() {
39115
39127
  var t;
39116
39128
  return (t = this.args.delay) !== null && t !== void 0 ? t : 0;
@@ -39173,10 +39185,10 @@ class Wue {
39173
39185
  this.args = t, this.context = n;
39174
39186
  }
39175
39187
  }
39176
- function Hue(e, t, n, r) {
39188
+ function Uue(e, t, n, r) {
39177
39189
  return Math.sqrt(Math.pow(Math.abs(n - e), 2) + Math.pow(Math.abs(r - t), 2));
39178
39190
  }
39179
- function Uue(e, t, n, r, i) {
39191
+ function zue(e, t, n, r, i) {
39180
39192
  if (!i)
39181
39193
  return !1;
39182
39194
  const s = Math.atan2(r - t, n - e) * 180 / Math.PI + 180;
@@ -39187,23 +39199,23 @@ function Uue(e, t, n, r, i) {
39187
39199
  }
39188
39200
  return !1;
39189
39201
  }
39190
- const zue = {
39202
+ const Yue = {
39191
39203
  Left: 1
39192
- }, Yue = {
39204
+ }, que = {
39193
39205
  Left: 0
39194
39206
  };
39195
39207
  function py(e) {
39196
- return e.button === void 0 || e.button === Yue.Left;
39208
+ return e.button === void 0 || e.button === que.Left;
39197
39209
  }
39198
- function que(e) {
39199
- return e.buttons === void 0 || (e.buttons & zue.Left) === 0;
39210
+ function Gue(e) {
39211
+ return e.buttons === void 0 || (e.buttons & Yue.Left) === 0;
39200
39212
  }
39201
39213
  function t2(e) {
39202
39214
  return !!e.targetTouches;
39203
39215
  }
39204
- const Gue = 1;
39205
- function Kue(e) {
39206
- const t = e.nodeType === Gue ? e : e.parentElement;
39216
+ const Kue = 1;
39217
+ function Xue(e) {
39218
+ const t = e.nodeType === Kue ? e : e.parentElement;
39207
39219
  if (!t)
39208
39220
  return;
39209
39221
  const { top: n, left: r } = t.getBoundingClientRect();
@@ -39212,14 +39224,14 @@ function Kue(e) {
39212
39224
  y: n
39213
39225
  };
39214
39226
  }
39215
- function Xue(e, t) {
39227
+ function Que(e, t) {
39216
39228
  if (e.targetTouches.length === 1)
39217
39229
  return Up(e.targetTouches[0]);
39218
39230
  if (t && e.touches.length === 1 && e.touches[0].target === t.target)
39219
39231
  return Up(e.touches[0]);
39220
39232
  }
39221
39233
  function Up(e, t) {
39222
- return t2(e) ? Xue(e, t) : {
39234
+ return t2(e) ? Que(e, t) : {
39223
39235
  x: e.clientX,
39224
39236
  y: e.clientY
39225
39237
  };
@@ -39360,7 +39372,7 @@ class ef {
39360
39372
  constructor(t, n, r) {
39361
39373
  this.getSourceClientOffset = (i) => {
39362
39374
  const s = this.sourceNodes.get(i);
39363
- return s && Kue(s);
39375
+ return s && Xue(s);
39364
39376
  }, this.handleTopMoveStartCapture = (i) => {
39365
39377
  py(i) && (this.moveStartSourceIds = []);
39366
39378
  }, this.handleMoveStart = (i) => {
@@ -39385,12 +39397,12 @@ class ef {
39385
39397
  const { moveStartSourceIds: s, dragOverTargetIds: o } = this, l = this.options.enableHoverOutsideTarget, c = Up(i, this.lastTargetTouchFallback);
39386
39398
  if (!c)
39387
39399
  return;
39388
- if (this._isScrolling || !this.monitor.isDragging() && Uue(this._mouseClientOffset.x || 0, this._mouseClientOffset.y || 0, c.x, c.y, this.options.scrollAngleRanges)) {
39400
+ if (this._isScrolling || !this.monitor.isDragging() && zue(this._mouseClientOffset.x || 0, this._mouseClientOffset.y || 0, c.x, c.y, this.options.scrollAngleRanges)) {
39389
39401
  this._isScrolling = !0;
39390
39402
  return;
39391
39403
  }
39392
39404
  if (!this.monitor.isDragging() && // eslint-disable-next-line no-prototype-builtins
39393
- this._mouseClientOffset.hasOwnProperty("x") && s && Hue(this._mouseClientOffset.x || 0, this._mouseClientOffset.y || 0, c.x, c.y) > (this.options.touchSlop ? this.options.touchSlop : 0) && (this.moveStartSourceIds = void 0, this.actions.beginDrag(s, {
39405
+ this._mouseClientOffset.hasOwnProperty("x") && s && Uue(this._mouseClientOffset.x || 0, this._mouseClientOffset.y || 0, c.x, c.y) > (this.options.touchSlop ? this.options.touchSlop : 0) && (this.moveStartSourceIds = void 0, this.actions.beginDrag(s, {
39394
39406
  clientOffset: this._mouseClientOffset,
39395
39407
  getSourceClientOffset: this.getSourceClientOffset,
39396
39408
  publishSource: !1
@@ -39440,7 +39452,7 @@ class ef {
39440
39452
  o = s.next();
39441
39453
  }
39442
39454
  }, this.handleTopMoveEndCapture = (i) => {
39443
- if (this._isScrolling = !1, this.lastTargetTouchFallback = void 0, !!que(i)) {
39455
+ if (this._isScrolling = !1, this.lastTargetTouchFallback = void 0, !!Gue(i)) {
39444
39456
  if (!this.monitor.isDragging() || this.monitor.didDrop()) {
39445
39457
  this.moveStartSourceIds = void 0;
39446
39458
  return;
@@ -39449,10 +39461,10 @@ class ef {
39449
39461
  }
39450
39462
  }, this.handleCancelOnEscape = (i) => {
39451
39463
  i.key === "Escape" && this.monitor.isDragging() && (this._mouseClientOffset = {}, this.uninstallSourceNodeRemovalObserver(), this.actions.endDrag());
39452
- }, this.options = new Wue(r, n), this.actions = t.getActions(), this.monitor = t.getMonitor(), this.sourceNodes = /* @__PURE__ */ new Map(), this.sourcePreviewNodes = /* @__PURE__ */ new Map(), this.sourcePreviewNodeOptions = /* @__PURE__ */ new Map(), this.targetNodes = /* @__PURE__ */ new Map(), this.listenerTypes = [], this._mouseClientOffset = {}, this._isScrolling = !1, this.options.enableMouseEvents && this.listenerTypes.push(zo.mouse), this.options.enableTouchEvents && this.listenerTypes.push(zo.touch), this.options.enableKeyboardEvents && this.listenerTypes.push(zo.keyboard);
39464
+ }, this.options = new Hue(r, n), this.actions = t.getActions(), this.monitor = t.getMonitor(), this.sourceNodes = /* @__PURE__ */ new Map(), this.sourcePreviewNodes = /* @__PURE__ */ new Map(), this.sourcePreviewNodeOptions = /* @__PURE__ */ new Map(), this.targetNodes = /* @__PURE__ */ new Map(), this.listenerTypes = [], this._mouseClientOffset = {}, this._isScrolling = !1, this.options.enableMouseEvents && this.listenerTypes.push(zo.mouse), this.options.enableTouchEvents && this.listenerTypes.push(zo.touch), this.options.enableKeyboardEvents && this.listenerTypes.push(zo.keyboard);
39453
39465
  }
39454
39466
  }
39455
- const Que = function(t, n = {}, r = {}) {
39467
+ const Zue = function(t, n = {}, r = {}) {
39456
39468
  return new ef(t, n, r);
39457
39469
  };
39458
39470
  var Ci = function() {
@@ -39471,11 +39483,11 @@ function ir(e, t, n) {
39471
39483
  (s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
39472
39484
  return e.concat(s || Array.prototype.slice.call(t));
39473
39485
  }
39474
- function Zue(e) {
39486
+ function Jue(e) {
39475
39487
  var t = e.isVisible, n = e.ease, r = n === void 0 ? "easeIn" : n, i = e.duration, s = e.variants, o = s === void 0 ? {
39476
39488
  open: { opacity: 1, height: "auto" },
39477
39489
  close: { opacity: 0, height: 0 }
39478
- } : s, l = e.children, c = Aue({ polyfill: ise }), d = c[0], h = c[1].height, p = A.useState(t), y = p[0], b = p[1], C = A.useState(t), w = C[0], D = C[1], _ = A.useState(!1), R = _[0], P = _[1], V = function() {
39490
+ } : s, l = e.children, c = Iue({ polyfill: sse }), d = c[0], h = c[1].height, p = A.useState(t), y = p[0], b = p[1], C = A.useState(t), w = C[0], D = C[1], _ = A.useState(!1), R = _[0], P = _[1], V = function() {
39479
39491
  P(!1), t || b(!1);
39480
39492
  };
39481
39493
  A.useEffect(function() {
@@ -39485,12 +39497,12 @@ function Zue(e) {
39485
39497
  return A.useEffect(function() {
39486
39498
  y && D(!0);
39487
39499
  }, [F]), Fe.createElement(
39488
- Pue.div,
39489
- { style: R ? { overflow: "hidden" } : void 0, onAnimationComplete: V, initial: w ? "open" : "close", animate: w ? "open" : "close", inherit: !1, variants: o, transition: { ease: r, duration: Jue(h, i) } },
39500
+ Mue.div,
39501
+ { style: R ? { overflow: "hidden" } : void 0, onAnimationComplete: V, initial: w ? "open" : "close", animate: w ? "open" : "close", inherit: !1, variants: o, transition: { ease: r, duration: ece(h, i) } },
39490
39502
  Fe.createElement("div", { ref: d }, y && l)
39491
39503
  );
39492
39504
  }
39493
- function Jue(e, t) {
39505
+ function ece(e, t) {
39494
39506
  if (t)
39495
39507
  return t;
39496
39508
  if (!e)
@@ -39498,10 +39510,10 @@ function Jue(e, t) {
39498
39510
  var n = e / 36;
39499
39511
  return Math.round((4 + 10 * Math.pow(n, 0.25) + n / 5) * 10) / 1500;
39500
39512
  }
39501
- var n2 = A.createContext({}), ece = {
39513
+ var n2 = A.createContext({}), tce = {
39502
39514
  isLock: !1
39503
- }, tce = function(e) {
39504
- var t = A.useState(ece.isLock), n = t[0], r = t[1];
39515
+ }, nce = function(e) {
39516
+ var t = A.useState(tce.isLock), n = t[0], r = t[1];
39505
39517
  return Fe.createElement(n2.Provider, { value: {
39506
39518
  isLock: n,
39507
39519
  lock: function() {
@@ -39514,7 +39526,7 @@ var n2 = A.createContext({}), ece = {
39514
39526
  }, Kf = A.createContext({}), Sh = {
39515
39527
  dropTargetId: void 0,
39516
39528
  index: void 0
39517
- }, nce = function(e) {
39529
+ }, rce = function(e) {
39518
39530
  var t = A.useState(Sh.dropTargetId), n = t[0], r = t[1], i = A.useState(Sh.index), s = i[0], o = i[1], l = function(d, h) {
39519
39531
  r(d), o(h);
39520
39532
  }, c = function() {
@@ -39526,7 +39538,7 @@ var n2 = A.createContext({}), ece = {
39526
39538
  showPlaceholder: l,
39527
39539
  hidePlaceholder: c
39528
39540
  } }, e.children);
39529
- }, rce = function(e, t) {
39541
+ }, ice = function(e, t) {
39530
39542
  return e.text > t.text ? 1 : e.text < t.text ? -1 : 0;
39531
39543
  }, _c = function(e, t) {
39532
39544
  return e.find(function(n) {
@@ -39566,7 +39578,7 @@ var n2 = A.createContext({}), ece = {
39566
39578
  });
39567
39579
  return d === void 0 || l === null ? t === i || !!(o != null && o.droppable) : o === void 0 ? d.parent !== 0 : d.parent === t || !o.droppable ? !1 : !r2(r, l, t);
39568
39580
  }
39569
- }, ice = function(e, t, n) {
39581
+ }, sce = function(e, t, n) {
39570
39582
  return e.map(function(r) {
39571
39583
  return r.id === t ? Ci(Ci({}, r), { parent: n }) : r;
39572
39584
  });
@@ -39581,37 +39593,37 @@ var n2 = A.createContext({}), ece = {
39581
39593
  }) : e.findIndex(function(i) {
39582
39594
  return i.id === r[n - 1].id;
39583
39595
  }) + 1;
39584
- }, sce = function(e, t) {
39596
+ }, oce = function(e, t) {
39585
39597
  return e.findIndex(function(n) {
39586
39598
  return n.id === t;
39587
39599
  });
39588
39600
  }, s2 = function(e, t, n, r) {
39589
- var i = sce(e, t), s = i2(e, n, r);
39601
+ var i = oce(e, t), s = i2(e, n, r);
39590
39602
  return s = s > i ? s - 1 : s, [i, s];
39591
- }, oce = function(e, t, n) {
39603
+ }, ace = function(e, t, n) {
39592
39604
  var r = t < 0 ? e.length + t : t;
39593
39605
  if (r >= 0 && r < e.length) {
39594
39606
  var i = n < 0 ? e.length + n : n, s = e.splice(t, 1)[0];
39595
39607
  e.splice(i, 0, s);
39596
39608
  }
39597
- }, ace = function(e, t, n, r) {
39609
+ }, lce = function(e, t, n, r) {
39598
39610
  var i = s2(e, t, n, r), s = i[0], o = i[1], l = ir([], e, !0);
39599
- return oce(l, s, o), l.map(function(c) {
39611
+ return ace(l, s, o), l.map(function(c) {
39600
39612
  return c.id === t ? Ci(Ci({}, c), { parent: n }) : c;
39601
39613
  });
39602
- }, lce = function(e, t) {
39614
+ }, uce = function(e, t) {
39603
39615
  var n = e.getBoundingClientRect(), r = n.top + n.height / 2;
39604
39616
  return t > r ? "down" : "up";
39605
39617
  }, K0 = function(e, t) {
39606
39618
  var n = "", r = 0;
39607
39619
  return e.forEach(function(i, s) {
39608
- var o, l = lce(i, ((o = t.getClientOffset()) === null || o === void 0 ? void 0 : o.y) || 0);
39620
+ var o, l = uce(i, ((o = t.getClientOffset()) === null || o === void 0 ? void 0 : o.y) || 0);
39609
39621
  n === "" ? n = l : n !== l && (n = l, r = s), s === e.length - 1 && l === "down" && (r = s + 1);
39610
39622
  }), r;
39611
39623
  }, GD = function(e, t, n) {
39612
39624
  var r = t.closest('[role="list"]'), i = r == null ? void 0 : r.querySelectorAll(':scope > [role="listitem"]');
39613
39625
  return i ? K0(i, n) : null;
39614
- }, uce = function(e, t, n) {
39626
+ }, cce = function(e, t, n) {
39615
39627
  var r = e.getBoundingClientRect(), i = n.dropTargetOffset, s = r.top + i, o = r.bottom - i;
39616
39628
  return t > o ? "lower" : t < s ? "upper" : "middle";
39617
39629
  }, X0 = function(e, t, n, r) {
@@ -39625,7 +39637,7 @@ var n2 = A.createContext({}), ece = {
39625
39637
  index: K0(s, n)
39626
39638
  };
39627
39639
  }
39628
- var o = n.getItem(), l = t.querySelector('[role="list"]'), c = uce(t, ((i = n.getClientOffset()) === null || i === void 0 ? void 0 : i.y) || 0, r);
39640
+ var o = n.getItem(), l = t.querySelector('[role="list"]'), c = cce(t, ((i = n.getClientOffset()) === null || i === void 0 ? void 0 : i.y) || 0, r);
39629
39641
  if (l) {
39630
39642
  if (c === "upper")
39631
39643
  if (Qo(o, e.parent, r)) {
@@ -39659,21 +39671,21 @@ var n2 = A.createContext({}), ece = {
39659
39671
  }
39660
39672
  return null;
39661
39673
  }
39662
- }, cce = function(e) {
39674
+ }, fce = function(e) {
39663
39675
  return e === void 0 && (e = {}), {
39664
39676
  backends: [
39665
39677
  {
39666
39678
  id: "html5",
39667
39679
  backend: PI,
39668
39680
  options: e.html5,
39669
- transition: Vue
39681
+ transition: Wue
39670
39682
  },
39671
39683
  {
39672
39684
  id: "touch",
39673
- backend: Que,
39685
+ backend: Zue,
39674
39686
  options: e.touch || { enableMouseEvents: !0 },
39675
39687
  preview: !0,
39676
- transition: Bue
39688
+ transition: Vue
39677
39689
  }
39678
39690
  ]
39679
39691
  };
@@ -39681,8 +39693,8 @@ var n2 = A.createContext({}), ece = {
39681
39693
  return e.some(function(n) {
39682
39694
  return n.parent === t;
39683
39695
  });
39684
- }, o2 = A.createContext({}), fce = function(e) {
39685
- var t = yce(e.tree, e.initialOpen), n = t[0], r = t[1], i = r.handleToggle, s = r.handleCloseAll, o = r.handleOpenAll, l = r.handleOpen, c = r.handleClose;
39696
+ }, o2 = A.createContext({}), dce = function(e) {
39697
+ var t = bce(e.tree, e.initialOpen), n = t[0], r = t[1], i = r.handleToggle, s = r.handleCloseAll, o = r.handleOpenAll, l = r.handleOpen, c = r.handleClose;
39686
39698
  A.useImperativeHandle(e.treeRef, function() {
39687
39699
  return {
39688
39700
  open: function(b) {
@@ -39710,10 +39722,10 @@ var n2 = A.createContext({}), ece = {
39710
39722
  }, _ = e.tree;
39711
39723
  if (_c(_, b.id) || (_ = ir(ir([], _, !0), [b], !1)), e.sort === !1) {
39712
39724
  var R = s2(_, b.id, C, w), P = R[1];
39713
- D.destinationIndex = P, D.relativeIndex = w, e.onDrop(ace(_, b.id, C, w), D);
39725
+ D.destinationIndex = P, D.relativeIndex = w, e.onDrop(lce(_, b.id, C, w), D);
39714
39726
  return;
39715
39727
  }
39716
- e.onDrop(ice(_, b.id, C), D);
39728
+ e.onDrop(sce(_, b.id, C), D);
39717
39729
  } else {
39718
39730
  var D = {
39719
39731
  dropTargetId: C,
@@ -39737,17 +39749,17 @@ var n2 = A.createContext({}), ece = {
39737
39749
  return i(b, e.onChangeOpen);
39738
39750
  } });
39739
39751
  return Fe.createElement(o2.Provider, { value: y }, e.children);
39740
- }, dce = function(e) {
39752
+ }, hce = function(e) {
39741
39753
  return Fe.createElement(
39742
- fce,
39754
+ dce,
39743
39755
  Ci({}, e),
39744
39756
  Fe.createElement(
39745
- tce,
39757
+ nce,
39746
39758
  null,
39747
- Fe.createElement(nce, null, e.children)
39759
+ Fe.createElement(rce, null, e.children)
39748
39760
  )
39749
39761
  );
39750
- }, hce = function(e) {
39762
+ }, pce = function(e) {
39751
39763
  var t = A.useContext(n2);
39752
39764
  A.useEffect(function() {
39753
39765
  if (e.current) {
@@ -39791,7 +39803,7 @@ var n2 = A.createContext({}), ece = {
39791
39803
  return l2(e);
39792
39804
  }, XD = function(e) {
39793
39805
  return l2(e);
39794
- }, pce = function(e, t) {
39806
+ }, mce = function(e, t) {
39795
39807
  var n = ra();
39796
39808
  A.useEffect(function() {
39797
39809
  var l = t.current;
@@ -39822,7 +39834,7 @@ var n2 = A.createContext({}), ece = {
39822
39834
  }
39823
39835
  }), i = r[0].isDragging, s = r[1], o = r[2];
39824
39836
  return [i, s, o];
39825
- }, mce = function(e, t, n) {
39837
+ }, gce = function(e, t, n) {
39826
39838
  var r = A.useRef(0), i = A.useRef(0), s = function() {
39827
39839
  r.current += 1, r.current === 1 && !t && (i.current = window.setTimeout(function() {
39828
39840
  return n(e);
@@ -39837,7 +39849,7 @@ var n2 = A.createContext({}), ece = {
39837
39849
  onDragLeave: o,
39838
39850
  onDrop: l
39839
39851
  };
39840
- }, gce = function(e) {
39852
+ }, vce = function(e) {
39841
39853
  var t = ra(), n = A.useContext(Kf), r = Ip({
39842
39854
  accept: ir([Vm.TREE_ITEM], t.extraAcceptTypes, !0),
39843
39855
  drop: function(c, d) {
@@ -39867,7 +39879,7 @@ var n2 = A.createContext({}), ece = {
39867
39879
  }
39868
39880
  }), i = r[0], s = i.isOver, o = i.dragSource, l = r[1];
39869
39881
  return [s, o, l];
39870
- }, vce = function(e, t) {
39882
+ }, yce = function(e, t) {
39871
39883
  var n = ra(), r = A.useContext(Kf), i = Ip({
39872
39884
  accept: ir([Vm.TREE_ITEM], n.extraAcceptTypes, !0),
39873
39885
  drop: function(d, h) {
@@ -39900,7 +39912,7 @@ var n2 = A.createContext({}), ece = {
39900
39912
  }
39901
39913
  }), s = i[0], o = s.isOver, l = s.dragSource, c = i[1];
39902
39914
  return [o, l, c];
39903
- }, yce = function(e, t) {
39915
+ }, bce = function(e, t) {
39904
39916
  var n = A.useMemo(function() {
39905
39917
  return t === !0 ? e.filter(function(p) {
39906
39918
  return Zh(e, p.id);
@@ -39949,7 +39961,7 @@ var n2 = A.createContext({}), ece = {
39949
39961
  i,
39950
39962
  { handleToggle: o, handleCloseAll: l, handleOpenAll: c, handleOpen: d, handleClose: h }
39951
39963
  ];
39952
- }, bce = function() {
39964
+ }, xce = function() {
39953
39965
  return tte(function(e) {
39954
39966
  var t = e.getItemType();
39955
39967
  return {
@@ -39963,20 +39975,20 @@ var n2 = A.createContext({}), ece = {
39963
39975
  if (!e)
39964
39976
  throw new Error("useTreeContext must be used under TreeProvider");
39965
39977
  return e;
39966
- }, xce = function(e, t) {
39978
+ }, wce = function(e, t) {
39967
39979
  var n = ra(), r = n.rootId, i = n.rootProps, s = n.classes, o = (s == null ? void 0 : s.container) || "";
39968
39980
  return t && (s != null && s.dropTarget) && (o = "".concat(o, " ").concat(s.dropTarget)), e === r && (s != null && s.root) && (o = "".concat(o, " ").concat(s.root)), e === r && (i != null && i.className) && (o = "".concat(o, " ").concat(i.className)), o = o.trim(), o;
39969
- }, wce = function(e, t, n) {
39981
+ }, Sce = function(e, t, n) {
39970
39982
  t.current ? n(t) : n(e), A.useEffect(function() {
39971
39983
  t.current ? n(t) : n(e);
39972
39984
  }, [t.current]);
39973
- }, Sce = function(e) {
39985
+ }, Tce = function(e) {
39974
39986
  var t = ra(), n = A.useContext(Kf), r = A.useRef(null), i = A.useRef(null), s = t.tree.find(function(z) {
39975
39987
  return z.id === e.id;
39976
- }), o = t.openIds, l = t.classes, c = t.enableAnimateExpand, d = o.includes(e.id), h = pce(s, r), p = h[0], y = h[1], b = h[2], C = vce(s, r), w = C[0], D = C[1], _ = C[2];
39977
- wce(r, i, y), Qo(D, e.id, t) && _(r), A.useEffect(function() {
39988
+ }), o = t.openIds, l = t.classes, c = t.enableAnimateExpand, d = o.includes(e.id), h = mce(s, r), p = h[0], y = h[1], b = h[2], C = yce(s, r), w = C[0], D = C[1], _ = C[2];
39989
+ Sce(r, i, y), Qo(D, e.id, t) && _(r), A.useEffect(function() {
39978
39990
  t.dragPreviewRender ? b(Ste(), { captureDraggingState: !0 }) : i.current && b(r);
39979
- }, [b, t.dragPreviewRender]), hce(r);
39991
+ }, [b, t.dragPreviewRender]), pce(r);
39980
39992
  var R = function() {
39981
39993
  return t.onToggle(s.id);
39982
39994
  }, P = t.listItemComponent, V = t.canDrag ? t.canDrag(e.id) : !0, F = n.dropTargetId === e.id, j = {
@@ -39995,7 +40007,7 @@ var n2 = A.createContext({}), ece = {
39995
40007
  { ref: r, className: v, role: "listitem" },
39996
40008
  t.render(s, j),
39997
40009
  c && j.hasChild && Fe.createElement(
39998
- Zue,
40010
+ Jue,
39999
40011
  { isVisible: d },
40000
40012
  Fe.createElement(Q0, { parentId: e.id, depth: e.depth + 1 })
40001
40013
  ),
@@ -40010,7 +40022,7 @@ var n2 = A.createContext({}), ece = {
40010
40022
  }, Q0 = function(e) {
40011
40023
  var t = ra(), n = A.useRef(null), r = t.tree.filter(function(w) {
40012
40024
  return w.parent === e.parentId;
40013
- }), i = r, s = typeof t.sort == "function" ? t.sort : rce;
40025
+ }), i = r, s = typeof t.sort == "function" ? t.sort : ice;
40014
40026
  if (t.insertDroppableFirst) {
40015
40027
  var o = r.filter(function(w) {
40016
40028
  return w.droppable;
@@ -40020,9 +40032,9 @@ var n2 = A.createContext({}), ece = {
40020
40032
  t.sort === !1 ? i = ir(ir([], o, !0), l, !0) : (o = o.sort(s), l = l.sort(s), i = ir(ir([], o, !0), l, !0));
40021
40033
  } else
40022
40034
  t.sort !== !1 && (i = r.sort(s));
40023
- var c = gce(n), d = c[0], h = c[1], p = c[2];
40035
+ var c = vce(n), d = c[0], h = c[1], p = c[2];
40024
40036
  e.parentId === t.rootId && Qo(h, t.rootId, t) && p(n);
40025
- var y = xce(e.parentId, d), b = t.rootProps || {}, C = t.listComponent;
40037
+ var y = wce(e.parentId, d), b = t.rootProps || {}, C = t.listComponent;
40026
40038
  return Fe.createElement(
40027
40039
  C,
40028
40040
  Ci({ ref: n, role: "list" }, b, { className: y }),
@@ -40031,12 +40043,12 @@ var n2 = A.createContext({}), ece = {
40031
40043
  Fe.Fragment,
40032
40044
  { key: w.id },
40033
40045
  Fe.createElement(QD, { depth: e.depth, listCount: i.length, dropTargetId: e.parentId, index: D }),
40034
- Fe.createElement(Sce, { id: w.id, depth: e.depth })
40046
+ Fe.createElement(Tce, { id: w.id, depth: e.depth })
40035
40047
  );
40036
40048
  }),
40037
40049
  Fe.createElement(QD, { depth: e.depth, listCount: i.length, dropTargetId: e.parentId })
40038
40050
  );
40039
- }, Tce = {
40051
+ }, Cce = {
40040
40052
  height: "100%",
40041
40053
  left: 0,
40042
40054
  pointerEvents: "none",
@@ -40044,7 +40056,7 @@ var n2 = A.createContext({}), ece = {
40044
40056
  top: 0,
40045
40057
  width: "100%",
40046
40058
  zIndex: 100
40047
- }, Cce = function(e) {
40059
+ }, _ce = function(e) {
40048
40060
  var t = e.clientOffset;
40049
40061
  if (!t)
40050
40062
  return {};
@@ -40053,24 +40065,24 @@ var n2 = A.createContext({}), ece = {
40053
40065
  pointerEvents: "none",
40054
40066
  transform: i
40055
40067
  };
40056
- }, _ce = function() {
40057
- var e = ra(), t = bce(), n = t.isDragging, r = t.clientOffset;
40068
+ }, Ece = function() {
40069
+ var e = ra(), t = xce(), n = t.isDragging, r = t.clientOffset;
40058
40070
  return !n || !r ? null : Fe.createElement(
40059
40071
  "div",
40060
- { style: Tce },
40061
- Fe.createElement("div", { style: Cce(t) }, e.dragPreviewRender && e.dragPreviewRender(t))
40072
+ { style: Cce },
40073
+ Fe.createElement("div", { style: _ce(t) }, e.dragPreviewRender && e.dragPreviewRender(t))
40062
40074
  );
40063
40075
  };
40064
- function Ece(e, t) {
40076
+ function Dce(e, t) {
40065
40077
  return Fe.createElement(
40066
- dce,
40078
+ hce,
40067
40079
  Ci({}, e, { treeRef: t }),
40068
- e.dragPreviewRender && Fe.createElement(_ce, null),
40080
+ e.dragPreviewRender && Fe.createElement(Ece, null),
40069
40081
  Fe.createElement(Q0, { parentId: e.rootId, depth: 0 })
40070
40082
  );
40071
40083
  }
40072
- var Dce = A.forwardRef(Ece);
40073
- function kce(e) {
40084
+ var kce = A.forwardRef(Dce);
40085
+ function Oce(e) {
40074
40086
  return /* @__PURE__ */ I.jsx(
40075
40087
  "svg",
40076
40088
  {
@@ -40090,7 +40102,7 @@ function kce(e) {
40090
40102
  }
40091
40103
  );
40092
40104
  }
40093
- function Oce(e) {
40105
+ function Pce(e) {
40094
40106
  const { renderChildren: t, parentRef: n, onlyChild: r } = e, [i, s] = A.useState({ top: 0, left: 0 }), o = A.useRef(null), [l, c] = A.useState("auto");
40095
40107
  return A.useLayoutEffect(() => {
40096
40108
  if (n.current && o.current) {
@@ -40135,7 +40147,7 @@ function u2({ ...e }) {
40135
40147
  }, ge = () => {
40136
40148
  C(!1);
40137
40149
  }, Te = "/global-menu-config/api/v1/menu-items/user/set-favorite", xe = t.serviceKey === "mn_poms";
40138
- e.params.depth * 20, e.params.depth, mce(
40150
+ e.params.depth * 20, e.params.depth, gce(
40139
40151
  t.id,
40140
40152
  e.params.isOpen,
40141
40153
  e.params.onToggle
@@ -40187,10 +40199,10 @@ function u2({ ...e }) {
40187
40199
  ), !s && e.toggleExpand(Ce));
40188
40200
  },
40189
40201
  children: [
40190
- /* @__PURE__ */ I.jsx(Pce, { cls: y, item: t }),
40202
+ /* @__PURE__ */ I.jsx(Mce, { cls: y, item: t }),
40191
40203
  /* @__PURE__ */ I.jsx("span", { className: y("menu-item__label"), ref: R, children: t.name }),
40192
40204
  /* @__PURE__ */ I.jsx(
40193
- Mce,
40205
+ Ace,
40194
40206
  {
40195
40207
  tooltipPosition: re ? "right" : "top",
40196
40208
  menuLevel: n,
@@ -40215,7 +40227,7 @@ function u2({ ...e }) {
40215
40227
  }
40216
40228
  ),
40217
40229
  r && /* @__PURE__ */ I.jsx("div", { className: y("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ I.jsx(
40218
- kce,
40230
+ Oce,
40219
40231
  {
40220
40232
  className: y(
40221
40233
  `menu-item__icon-arrow__icon ${e.params.isOpen ? "open" : "close"}`
@@ -40226,7 +40238,7 @@ function u2({ ...e }) {
40226
40238
  }
40227
40239
  ) }),
40228
40240
  ce && /* @__PURE__ */ I.jsx(
40229
- Oce,
40241
+ Pce,
40230
40242
  {
40231
40243
  parentRef: _,
40232
40244
  onlyChild: !s,
@@ -40261,10 +40273,10 @@ function u2({ ...e }) {
40261
40273
  }
40262
40274
  );
40263
40275
  }
40264
- function Pce({ item: e, cls: t }) {
40276
+ function Mce({ item: e, cls: t }) {
40265
40277
  return /* @__PURE__ */ I.jsx("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ I.jsx(Iie, { item: e }) });
40266
40278
  }
40267
- function Mce(e) {
40279
+ function Ace(e) {
40268
40280
  const t = {
40269
40281
  marginRight: e.hasChildren ? 10 : 0,
40270
40282
  fontSize: 18,
@@ -40309,7 +40321,7 @@ function Mce(e) {
40309
40321
  )
40310
40322
  ] });
40311
40323
  }
40312
- function Ace() {
40324
+ function Ice() {
40313
40325
  return /* @__PURE__ */ I.jsx(
40314
40326
  "svg",
40315
40327
  {
@@ -40324,7 +40336,7 @@ function Ace() {
40324
40336
  }
40325
40337
  );
40326
40338
  }
40327
- function Ice() {
40339
+ function Rce() {
40328
40340
  return /* @__PURE__ */ I.jsx(
40329
40341
  "svg",
40330
40342
  {
@@ -40339,7 +40351,7 @@ function Ice() {
40339
40351
  }
40340
40352
  );
40341
40353
  }
40342
- function Rce(e) {
40354
+ function Lce(e) {
40343
40355
  return /* @__PURE__ */ I.jsx(
40344
40356
  "svg",
40345
40357
  {
@@ -40361,7 +40373,7 @@ function Rce(e) {
40361
40373
  }
40362
40374
  );
40363
40375
  }
40364
- const Lce = ".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;text-decoration:none!important;color:inherit!important}.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__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.active{color:inherit}.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::-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.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}.backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1299}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#ddd;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}@media (min-width: 768px){.menu-item__label.level-0.collapsed{text-overflow:unset}.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__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__link.menu-item__link.collapsed.level-0{padding: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}}@media (max-width: 768px){.side-bar{position:fixed!important;top:0!important;width:70%!important;height:100vh!important;transform:translate(-100%)!important;transition:transform .3s ease-in-out!important;z-index:1300!important}.side-bar.mobile-open{transform:translate(0)!important}.side-bar__mobile-header{display:block;padding:2rem 1rem}.languageDropdown{justify-content:flex-start!important}button.MuiButtonBase-root{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:0;border:0;margin:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;-moz-appearance:none;-webkit-appearance:none;-webkit-text-decoration:none;text-decoration:none;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms;color:#000000de;height:-moz-fit-content;height:fit-content;border-radius:5px;font-family:SpecialAmpersand,TT Firs Neue Trl;padding:.6875rem 1rem;font-size:.875rem;line-height:1rem;box-shadow:none;background-color:#93d500;font-weight:400;width:100%}.custom-element{padding:1rem}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", Nce = (e) => {
40376
+ const Nce = ".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;text-decoration:none!important;color:inherit!important}.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__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.active{color:inherit}.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::-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.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}.backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1299}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#ddd;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}@media (min-width: 768px){.menu-item__label.level-0.collapsed{text-overflow:unset}.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__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__link.menu-item__link.collapsed.level-0{padding: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}}@media (max-width: 768px){.side-bar{position:fixed!important;top:0!important;width:70%!important;height:100vh!important;transform:translate(-100%)!important;transition:transform .3s ease-in-out!important;z-index:1300!important}.side-bar.mobile-open{transform:translate(0)!important}.side-bar__mobile-header{display:block;padding:2rem 1rem}.languageDropdown{justify-content:flex-start!important}button.MuiButtonBase-root{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:0;border:0;margin:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;-moz-appearance:none;-webkit-appearance:none;-webkit-text-decoration:none;text-decoration:none;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms;color:#000000de;height:-moz-fit-content;height:fit-content;border-radius:5px;font-family:SpecialAmpersand,TT Firs Neue Trl;padding:.6875rem 1rem;font-size:.875rem;line-height:1rem;box-shadow:none;background-color:#93d500;font-weight:400;width:100%}.custom-element{padding:1rem}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", $ce = (e) => {
40365
40377
  const t = e.isCollapsed ? 0 : e.depth * 16;
40366
40378
  return /* @__PURE__ */ I.jsx(
40367
40379
  "div",
@@ -40377,7 +40389,7 @@ const Lce = ".flex-col-center{display:flex;flex-direction:column;justify-content
40377
40389
  }
40378
40390
  }
40379
40391
  );
40380
- }, $ce = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", Fce = (e) => {
40392
+ }, Fce = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", jce = (e) => {
40381
40393
  const [t, n] = A.useState(() => {
40382
40394
  const r = localStorage.getItem("openingMenuIds");
40383
40395
  return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
@@ -40392,13 +40404,13 @@ function Z0(e, t = !1) {
40392
40404
  }
40393
40405
  const Jh = localStorage.getItem("isCollapsed");
40394
40406
  Z0(Jh);
40395
- function jce(e) {
40407
+ function Bce(e) {
40396
40408
  const t = new CustomEvent("favoriteMenusChange", {
40397
40409
  detail: { favoriteMenus: e }
40398
40410
  });
40399
40411
  window.dispatchEvent(t);
40400
40412
  }
40401
- function Bce(e) {
40413
+ function Vce(e) {
40402
40414
  var me, Ee;
40403
40415
  const t = dk(), { user: n } = bO(), [r, i] = A.useState([]), s = r.map((oe) => oe.data), [o, l] = A.useState(!1), [c, d] = A.useState([]), [h, p] = A.useState(
40404
40416
  Jh === null ? !0 : Jh === "true"
@@ -40428,7 +40440,7 @@ function Bce(e) {
40428
40440
  }, [y, C]), A.useEffect(() => {
40429
40441
  Z0(h, y);
40430
40442
  }, [h, y]);
40431
- const P = Uce(s, D), [V, F] = Fce({
40443
+ const P = zce(s, D), [V, F] = jce({
40432
40444
  initOpenIds: e.initOpenIds
40433
40445
  }), j = () => {
40434
40446
  var oe, be;
@@ -40512,7 +40524,7 @@ function Bce(e) {
40512
40524
  };
40513
40525
  }
40514
40526
  const Me = oe.map((Ce) => be(Ce));
40515
- jce(Me);
40527
+ Bce(Me);
40516
40528
  }, [s]);
40517
40529
  function Te(oe) {
40518
40530
  const be = oe.detail.menuItem;
@@ -40581,13 +40593,13 @@ function Bce(e) {
40581
40593
  {
40582
40594
  className: "icon-btn side-bar__toggle-btn",
40583
40595
  onClick: j,
40584
- children: h ? /* @__PURE__ */ I.jsx(Ice, {}) : /* @__PURE__ */ I.jsx(Ace, {})
40596
+ children: h ? /* @__PURE__ */ I.jsx(Rce, {}) : /* @__PURE__ */ I.jsx(Ice, {})
40585
40597
  }
40586
40598
  ) }),
40587
40599
  y && /* @__PURE__ */ I.jsxs("div", { className: ne("wrap-section side-bar__mobile-header"), children: [
40588
40600
  /* @__PURE__ */ I.jsxs("div", { className: "userContainer", children: [
40589
40601
  /* @__PURE__ */ I.jsx(
40590
- Wce,
40602
+ Hce,
40591
40603
  {
40592
40604
  primaryColor: (me = e.brandColors) == null ? void 0 : me.headerTextColor,
40593
40605
  avatarUrl: n == null ? void 0 : n.avatarUrl,
@@ -40607,7 +40619,7 @@ function Bce(e) {
40607
40619
  }
40608
40620
  )
40609
40621
  ] }),
40610
- /* @__PURE__ */ I.jsx(Vce, {})
40622
+ /* @__PURE__ */ I.jsx(Wce, {})
40611
40623
  ] }),
40612
40624
  /* @__PURE__ */ I.jsx(
40613
40625
  ib,
@@ -40621,8 +40633,8 @@ function Bce(e) {
40621
40633
  height: "100%",
40622
40634
  overflowX: "hidden"
40623
40635
  },
40624
- children: /* @__PURE__ */ I.jsx(gI, { backend: jue, options: cce(), children: /* @__PURE__ */ I.jsx(
40625
- Dce,
40636
+ children: /* @__PURE__ */ I.jsx(gI, { backend: Bue, options: fce(), children: /* @__PURE__ */ I.jsx(
40637
+ kce,
40626
40638
  {
40627
40639
  ref: R,
40628
40640
  classes: {
@@ -40699,7 +40711,7 @@ function Bce(e) {
40699
40711
  placeholderRender: (oe, { depth: be }) => {
40700
40712
  var Me;
40701
40713
  return /* @__PURE__ */ I.jsx(
40702
- Nce,
40714
+ $ce,
40703
40715
  {
40704
40716
  node: oe,
40705
40717
  depth: be,
@@ -40737,7 +40749,7 @@ function Bce(e) {
40737
40749
  z(!0);
40738
40750
  },
40739
40751
  children: [
40740
- /* @__PURE__ */ I.jsx(Rce, { className: ne("side-bar__icon-logout") }),
40752
+ /* @__PURE__ */ I.jsx(Lce, { className: ne("side-bar__icon-logout") }),
40741
40753
  /* @__PURE__ */ I.jsx("span", { className: ne("side-bar__logout-btn__text"), children: "Logout" })
40742
40754
  ]
40743
40755
  }
@@ -40755,7 +40767,7 @@ function Bce(e) {
40755
40767
  )
40756
40768
  ] });
40757
40769
  }
40758
- function Vce() {
40770
+ function Wce() {
40759
40771
  var c;
40760
40772
  const e = [
40761
40773
  {
@@ -40802,7 +40814,7 @@ function Vce() {
40802
40814
  )
40803
40815
  ] });
40804
40816
  }
40805
- function Wce({
40817
+ function Hce({
40806
40818
  avatarUrl: e,
40807
40819
  userName: t
40808
40820
  }) {
@@ -40920,14 +40932,14 @@ const ZD = {
40920
40932
  "/anpr/page/Issues/Index?status=Closed": ["/anpr/page/Issues"],
40921
40933
  "/anpr/page/Issues/Index": ["/anpr/page/Issues"]
40922
40934
  };
40923
- function Hce(e, t) {
40935
+ function Uce(e, t) {
40924
40936
  const r = e.replace(window.origin, ""), i = new URL(r, window.location.origin), s = new URL(t, window.origin), o = localStorage.getItem("latestClickMenuPath");
40925
40937
  return r && ZD[r] && ZD[r].some((l) => t.includes(l)) ? o === r ? 5 : 4 : i.pathname === s.pathname && i.search === s.search ? 3 : i.pathname === s.pathname ? 2 : s.pathname.startsWith(i.pathname) ? 1 : 0;
40926
40938
  }
40927
- function Uce(e, t) {
40939
+ function zce(e, t) {
40928
40940
  const n = e.map((o) => ({
40929
40941
  item: o,
40930
- priority: o.path ? Hce(o.path, t) : 0
40942
+ priority: o.path ? Uce(o.path, t) : 0
40931
40943
  })).filter((o) => o.priority > 0);
40932
40944
  console.log(" index.tsx ~ matchedItems:", n);
40933
40945
  const r = n.length > 0 ? n.reduce(
@@ -40950,22 +40962,22 @@ function f2(e) {
40950
40962
  path: window.location.origin + n.path
40951
40963
  } : (n.children && (n.children = f2(n.children)), n));
40952
40964
  }
40953
- function zce(e) {
40965
+ function Yce(e) {
40954
40966
  return /* @__PURE__ */ I.jsx(lI.div, { children: /* @__PURE__ */ I.jsx(
40955
40967
  eb,
40956
40968
  {
40957
- styles: [Tk, Lce, $ce, Hb],
40969
+ styles: [Tk, Nce, Fce, Hb],
40958
40970
  style: { position: "sticky", zIndex: 1300 },
40959
- children: /* @__PURE__ */ I.jsx(Bce, { ...e })
40971
+ children: /* @__PURE__ */ I.jsx(Vce, { ...e })
40960
40972
  }
40961
40973
  ) });
40962
40974
  }
40963
- function Yce(e) {
40975
+ function qce(e) {
40964
40976
  const t = { ...Dn, ...e.brandColors };
40965
- return console.log("props.brandColors", t), /* @__PURE__ */ I.jsx(fk, { children: /* @__PURE__ */ I.jsx(XW, { theme: LU({ colors: t }), children: /* @__PURE__ */ I.jsx(zce, { ...e, ssr: !0 }) }) });
40977
+ return console.log("props.brandColors", t), /* @__PURE__ */ I.jsx(fk, { children: /* @__PURE__ */ I.jsx(XW, { theme: LU({ colors: t }), children: /* @__PURE__ */ I.jsx(Yce, { ...e, ssr: !0 }) }) });
40966
40978
  }
40967
40979
  {
40968
- const e = Yp(Yce, {
40980
+ const e = Yp(qce, {
40969
40981
  props: {
40970
40982
  baseUrl: "string",
40971
40983
  menuPath: "string",
@@ -40984,10 +40996,10 @@ function Yce(e) {
40984
40996
  }
40985
40997
  export {
40986
40998
  Ete as F,
40987
- zce as G,
40999
+ Yce as G,
40988
41000
  SU as H,
40989
41001
  oq as L,
40990
- xfe as T,
41002
+ wfe as T,
40991
41003
  wU as g,
40992
41004
  MI as u
40993
41005
  };